PageSourceSearch

https://telemach.si/account/2969-es2015.b2c9b6c93ec925fa6d5a.js

js telemach.si collected 2026-09-24 10:33:00 UTC 114,878 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunke_care=self.webpackChunke_care||[]).push([[2969],{42969:function(e,n,o){o.d(n,{C:function(){return ko}});var t=o(25885),r=o(52031),i=o(76465),l=o(3172),f=o(55463),a=o(86833),s=o(40330),c=o(76198),u=o(35748),d=o(3679),g=o(85123),p=o(85531),m=o(35458),v=(()=>{return(e=v||(v={})).CAT_1="cat1",e.CAT_2="cat2",e.CAT_3="cat3",e.CAT_4="cat4",e.CAT_5="cat5",v;var e})(),h=(()=>{return(e=h||(h={})).FMC="FMC",e.COUNTER="COUNTER",e.CUSTOMER_COUNTE="CUSTOMER_COUNTE",h;var e})(),_=o(35649),x=o(37716),b=o(22238),C=o(48727),A=o(8481),Z=o(95987),P=o(14112),y=o(28497),T=o(37556),N=o(38583),w=o(90171),O=o(20509),I=o(98295),S=o(83166),q=o(30815),M=o(29790),E=o(96290);const D=["readTrigger"];function L(e,n){if(1&e&&(x.TgZ(0,"p",3),x._uU(1),x.qZA()),2&e){const e=x.oxw(2);x.xp6(1),x.hij(" ",e.offer.recommendationTitle," ")}}function U(e,n){1&e&&x._UZ(0,"span",19)}function k(e,n){if(1&e&&(x.TgZ(0,"h2",17),x._uU(1),x.YNc(2,U,1,0,"span",18),x.qZA()),2&e){const e=x.oxw(3);x.xp6(1),x.hij(" ","EN"===e.commonService.getLanguage()&&(null==e.offer?null:e.offer.packageNameEN)||(null==e.offer?null:e.offer.packageName)," "),x.xp6(1),x.Q6J("ngIf",e.config.hasOfferIndicator&&e.dotIndicator)}}function Q(e,n){if(1&e&&(x.TgZ(0,"div",20),x.TgZ(1,"p",21),x._uU(2),x.ALo(3,"translate"),x.qZA(),x.qZA()),2&e){const e=x.oxw(3);x.xp6(2),x.AsE("",null==e.offer?null:e.offer.offer__bind_period_months," ",x.lcZ(3,2,"offerCardNew.monthsRenewal"),"")}}function J(e,n){if(1&e&&(x.TgZ(0,"div",6),x.TgZ(1,"div",22),x._UZ(2,"img",23),x.qZA(),x.qZA()),2&e){const e=x.oxw(3);x.xp6(2),x.s9C("src",e.getMainImage(e.offer),x.LSH)}}function B(e,n){if(1&e&&(x.TgZ(0,"p",38),x._uU(1),x.qZA()),2&e){const e=x.oxw(4);x.xp6(1),x.hij(" ","EN"===e.commonService.getLanguage()&&(null==e.offer?null:e.offer.offerDescriptionEN)||(null==e.offer?null:e.offer.offerDescription)," ")}}function Y(e,n){if(1&e&&(x.ynx(0),x._uU(1),x.TgZ(2,"span",42),x._uU(3),x.qZA(),x._uU(4),x.TgZ(5,"span",42),x._uU(6),x.qZA(),x.BQk()),2&e){const e=n.ngIf,o=x.oxw(6);x.xp6(1),x.hij(" ",null==e?null:e.leftAmount," "),x.xp6(2),x.Oqu(null==e?null:e.leftSymbol),x.xp6(1),x.AsE(" ",o.config.conversionSeparator," ",null==e?null:e.rightAmount," "),x.xp6(2),x.Oqu(null==e?null:e.rightSymbol)}}function F(e,n){if(1&e&&(x.ynx(0),x.YNc(1,Y,7,5,"ng-container",0),x.BQk()),2&e){const e=x.oxw(5);x.xp6(1),x.Q6J("ngIf",e.commonService.autoConvert(null==e.offer?null:e.offer.offer_total_savings,e.commonService.eCurrencySymbol))}}function j(e,n){if(1&e&&(x._uU(0),x.TgZ(1,"span",42),x._uU(2),x.qZA()),2&e){const e=x.oxw(5);x.hij(" ",e.commonService.formatValueFractionDigits(null==e.offer?null:e.offer.offer_total_savings)," "),x.xp6(2),x.Oqu(e.config.currencySymbol)}}function R(e,n){if(1&e&&(x.ynx(0),x.TgZ(1,"div",39),x.TgZ(2,"p",40),x._uU(3),x.ALo(4,"translate"),x.qZA(),x.TgZ(5,"p",40),x.YNc(6,F,2,1,"ng-container",13),x.YNc(7,j,3,2,"ng-template",null,41,x.W1O),x.qZA(),x.qZA(),x.BQk()),2&e){const e=x.MAs(8),n=x.oxw(4);x.xp6(3),x.Oqu(x.lcZ(4,3,"offerCardNew.totalContractSaving")),x.xp6(3),x.Q6J("ngIf",n.config.showConversionV2)("ngIfElse",e)}}function G(e,n){if(1&e&&(x.ynx(0),x._uU(1),x.TgZ(2,"span",42),x._uU(3),x.qZA(),x._uU(4),x.TgZ(5,"span",42),x._uU(6),x.qZA(),x.BQk()),2&e){const e=n.ngIf,o=x.oxw(6);x.xp6(1),x.hij(" ",null==e?null:e.leftAmount," "),x.xp6(2),x.Oqu(null==e?null:e.leftSymbol),x.xp6(1),x.AsE(" ",o.config.conversionSeparator," ",null==e?null:e.rightAmount," "),x.xp6(2),x.Oqu(null==e?null:e.rightSymbol)}}function V(e,n){if(1&e&&(x.ynx(0),x.YNc(1,G,7,5,"ng-container",0),x.BQk()),2&e){const e=x.oxw(5);x.xp6(1),x.Q6J("ngIf",e.commonService.autoConvert(null==e.offer?null:e.offer.spDiscount,e.commonService.eCurrencySymbol))}}function W(e,n){if(1&e&&(x._uU(0),x.TgZ(1,"span",42),x._uU(2),x.qZA()),2&e){const e=x.oxw(5);x.hij(" ",e.commonService.formatValueFractionDigits(null==e.offer?null:e.offer.spDiscount)," "),x.xp6(2),x.Oqu(e.config.currencySymbol)}}function z(e,n){if(1&e&&(x.ynx(0),x.TgZ(1,"div",39),x.TgZ(2,"p",40),x._uU(3),x.ALo(4,"translate"),x.qZA(),x.TgZ(5,"p",40),x.YNc(6,V,2,1,"ng-container",13),x.YNc(7,W,3,2,"ng-template",null,41,x.W1O),x.qZA(),x.qZA(),x.BQk()),2&e){const e=x.MAs(8),n=x.oxw(4);x.xp6(3),x.Oqu(x.lcZ(4,3,"offerCardNew.totalContractSaving")),x.xp6(3),x.Q6J("ngIf",n.config.showConversionV2)("ngIfElse",e)}}function H(e,n){if(1&e&&(x.TgZ(0,"p"),x._uU(1),x.qZA()),2&e){const e=x.oxw(4);x.Gre("font-size-14 font-bold ","mb-15",""),x.xp6(1),x.hij(" ","EN"===e.commonService.getLanguage()&&(null==e.offer?null:e.offer.packageNameEN)||(null==e.offer?null:e.offer.packageName)," ")}}function $(e,n){if(1&e&&(x.TgZ(0,"p"),x._uU(1),x.qZA()),2&e){const e=x.oxw(4);x.Gre("font-size-14 font-bold ","mb-15",""),x.xp6(1),x.hij(" ","EN"===e.commonService.getLanguage()&&(null==e.offer?null:e.offer.offer_name_EN)||(null==e.offer?null:e.offer.offer__name)," ")}}function K(e,n){if(1&e&&(x.ynx(0),x._uU(1," 0,00 "),x.TgZ(2,"span",42),x._uU(3),x.qZA(),x._uU(4),x.TgZ(5,"span",42),x._uU(6),x.qZA(),x.BQk()),2&e){const e=x.oxw(6);x.xp6(3),x.Oqu(e.config.euroCurrencySymbol),x.xp6(1),x.hij(" ",e.config.conversionSeparator," 0,00 "),x.xp6(2),x.Oqu(e.config.currencySymbol)}}function X(e,n){if(1&e&&(x.ynx(0),x._uU(1),x.TgZ(2,"span",42),x._uU(3),x.qZA(),x._uU(4),x.TgZ(5,"span",42),x._uU(6),x.qZA(),x.BQk()),2&e){const e=n.ngIf,o=x.oxw(7);x.xp6(1),x.hij(" ",null==e?null:e.leftAmount," "),x.xp6(2),x.Oqu(null==e?null:e.leftSymbol),x.xp6(1),x.AsE(" ",o.config.conversionSeparator," ",null==e?null:e.rightAmount," "),x.xp6(2),x.Oqu(null==e?null:e.rightSymbol)}}function ee(e,n){if(1&e&&x.YNc(0,X,7,5,"ng-container",0),2&e){const e=x.oxw(6);x.Q6J("ngIf",e.commonService.autoConvert(null==e.offer?null:e.offer.offer__pp_price_during_allowance,e.commonService.eCurrencySymbol))}}function ne(e,n){if(1&e&&(x.ynx(0),x.YNc(1,K,7,3,"ng-container",13),x.YNc(2,ee,1,1,"ng-template",null,44,x.W1O),x.BQk()),2&e){const e=x.MAs(3),n=x.oxw(5);x.xp6(1),x.Q6J("ngIf","0.01"===n.offer.offer__pp_price_during_allowance||"0.00"===n.offer.offer__pp_price_during_allowance)("ngIfElse",e)}}function oe(e,n){if(1&e&&(x._uU(0),x.ALo(1,"formatPriceTwoFractionDigits")),2&e){const e=x.oxw(5);x.AsE(" ","0.01"===e.offer.offer__pp_price_during_allowance||"0.00"===e.offer.offer__pp_price_during_allowance?"0,00":x.lcZ(1,2,e.convertStringToNumber(e.offer.offer__pp_price_during_allowance))," ",e.config.currencySymbol," ")}}function te(e,n){if(1&e&&(x.TgZ(0,"div",43),x.YNc(1,ne,4,2,"ng-container",13),x.YNc(2,oe,2,4,"ng-template",null,41,x.W1O),x.qZA()),2&e){const e=x.MAs(3),n=x.oxw(4);x.xp6(1),x.Q6J("ngIf",n.config.showConversionV2)("ngIfElse",e)}}function re(e,n){if(1&e&&(x.ynx(0),x._uU(1),x.TgZ(2,"span",42),x._uU(3),x.qZA(),x._uU(4),x.TgZ(5,"span",42),x._uU(6),x.qZA(),x.BQk()),2&e){const e=n.ngIf,o=x.oxw(7);x.xp6(1),x.hij(" ",null==e?null:e.leftAmount," "),x.xp6(2),x.Oqu(null==e?null:e.leftSymbol),x.xp6(1),x.AsE(" ",o.config.conversionSeparator," ",null==e?null:e.rightAmount," "),x.xp6(2),x.Oqu(null==e?null:e.rightSymbol)}}function ie(e,n){if(1&e&&(x.ynx(0),x.YNc(1,re,7,5,"ng-container",0),x.BQk()),2&e){const e=x.oxw(6);x.xp6(1),x.Q6J("ngIf",e.commonService.autoConvert(null==e.offer?null:e.offer.offer__full_price,e.commonService.eCurrencySymbol))}}function le(e,n){if(1&e&&(x._uU(0),x.TgZ(1,"span",42),x._uU(2),x.qZA()),2&e){const e=x.oxw(6);x.hij(" ",e.commonService.formatValueFractionDigits(null==e.offer?null:e.offer.offer__full_price)," "),x.xp6(2),x.Oqu(e.config.currencySymbol)}}function fe(e,n){if(1&e&&(x.TgZ(0,"div",46),x.YNc(1,ie,2,1,"ng-container",13),x.YNc(2,le,3,2,"ng-template",null,41,x.W1O),x.qZA()),2&e){const e=x.MAs(3),n=x.oxw(5);x.xp6(1),x.Q6J("ngIf",n.config.showConversionV2)("ngIfElse",e)}}function ae(e,n){if(1&e&&(x.ynx(0),x._uU(1),x.TgZ(2,"span",42),x._uU(3),x.qZA(),x._uU(4),x.TgZ(5,"span",42),x._uU(6),x.qZA(),x.BQk()),2&e){const e=n.ngIf,o=x.oxw(6);x.xp6(1),x.hij(" ",null==e?null:e.leftAmount," "),x.xp6(2),x.Oqu(null==e?null:e.leftSymbol),x.xp6(1),x.AsE(" ",o.config.conversionSeparator," ",null==e?null:e.rightAmount," "),x.xp6(2),x.Oqu(null==e?null:e.rightSymbol)}}function se(e,n){if(1&e&&(x.ynx(0),x.YNc(1,ae,7,5,"ng-container",0),x.BQk()),2&e){const e=x.oxw(5);x.xp6(1),x.Q6J("ngIf",e.commonService.autoConvert(null==e.offer?null:e.offer.offer__price,e.commonService.eCurrencySymbol))}}function ce(e,n){if(1&e&&(x._uU(0),x.TgZ(1,"span",42),x._uU(2),x.qZA()),2&e){const e=x.oxw(5);x.hij(" ",e.commonService.formatValueFractionDigits(null==e.offer?null:e.offer.offer__price)," "),x.xp6(2),x.Oqu(e.config.currencySymbol)}}function ue(e,n){if(1&e&&(x.TgZ(0,"div",43),x.YNc(1,fe,4,2,"div",45),x.YNc(2,se,2,1,"ng-container",13),x.YNc(3,ce,3,2,"ng-template",null,41,x.W1O),x.qZA()),2&e){const e=x.MAs(4),n=x.oxw(4);x.xp6(1),x.Q6J("ngIf",(null==n.offer?null:n.offer.offer__price)!==(null==n.offer?null:n.offer.offer__full_price)&&(null==n.offer?null:n.offer.offer_total_savings)&&"0.0"!==(null==n.offer?null:n.offer.offer_total_savings)&&"0.00"!==(null==n.offer?null:n.offer.offer_total_savings)),x.xp6(1),x.Q6J("ngIf",n.config.showConversionV2)("ngIfElse",e)}}function de(e,n){if(1&e&&(x.ynx(0),x._uU(1),x.TgZ(2,"span",42),x._uU(3),x.qZA(),x._uU(4),x.TgZ(5,"span",42),x._uU(6),x.qZA(),x.BQk()),2&e){const e=n.ngIf,o=x.oxw(6);x.xp6(1),x.hij(" ",null==e?null:e.leftAmount," "),x.xp6(2),x.Oqu(null==e?null:e.leftSymbol),x.xp6(1),x.AsE(" ",o.config.conversionSeparator," ",null==e?null:e.rightAmount," "),x.xp6(2),x.Oqu(null==e?null:e.rightSymbol)}}function ge(e,n){if(1&e&&(x.ynx(0),x.YNc(1,de,7,5,"ng-container",0),x.BQk()),2&e){const e=x.oxw(5);x.xp6(1),x.Q6J("ngIf",e.commonService.autoConvert(null==e.offer?null:e.offer.offer__full_price,e.commonService.eCurrencySymbol))}}function pe(e,n){if(1&e&&(x._uU(0),x.TgZ(1,"span",42),x._uU(2),x.qZA()),2&e){const e=x.oxw(5);x.hij(" ",e.commonService.formatValueFractionDigits(null==e.offer?null:e.offer.offer__full_price)," "),x.xp6(2),x.Oqu(e.config.currencySymbol)}}const me=function(e){return{monthNo:e}};function ve(e,n){if(1&e&&(x.TgZ(0,"li"),x.TgZ(1,"div",33),x._uU(2),x.ALo(3,"translate"),x.qZA(),x.TgZ(4,"div",43),x.YNc(5,ge,2,1,"ng-container",13),x.YNc(6,pe,3,2,"ng-template",null,41,x.W1O),x.qZA(),x.qZA()),2&e){const e=x.MAs(7),n=x.oxw(4);x.xp6(2),x.hij(" ","HR"!==n.config.defaultLang?"1"===(null==n.offer?null:n.offer.offer__pp_discount_duration_months)?x.lcZ(3,3,"offerCardNew.afterFirstMonth"):n.trs.trsTsParams("offerCardNew.afterNM
1onth",x.VKq(5,me,null==n.offer?null:n.offer.offer__pp_discount_duration_months)):"1"!==(null==n.offer?null:n.offer.offer__pp_discount_duration_months)&&"2"!==(null==n.offer?null:n.offer.offer__pp_discount_duration_months)&&"3"!==(null==n.offer?null:n.offer.offer__pp_discount_duration_months)&&"4"!==(null==n.offer?null:n.offer.offer__pp_discount_duration_months)?n.trs.trsTsParams("offerCardNew.afterNMonthB",x.VKq(7,me,null==n.offer?null:n.offer.offer__pp_discount_duration_months)):n.trs.trsTsParams("offerCardNew.afterNMonthA",x.VKq(9,me,null==n.offer?null:n.offer.offer__pp_discount_duration_months))," "),x.xp6(3),x.Q6J("ngIf",n.config.showConversionV2)("ngIfElse",e)}}function he(e,n){if(1&e&&(x.TgZ(0,"div",46),x._uU(1),x.ALo(2,"formatPriceTwoFractionDigits"),x.qZA()),2&e){const e=x.oxw(5);x.xp6(1),x.AsE("",x.lcZ(2,2,e.offer.offer__full_price)," ",e.config.currencySymbol,"")}}function _e(e,n){if(1&e&&(x.ynx(0),x._uU(1),x.TgZ(2,"span",42),x._uU(3),x.qZA(),x._uU(4),x.TgZ(5,"span",42),x._uU(6),x.qZA(),x.BQk()),2&e){const e=n.ngIf,o=x.oxw(6);x.xp6(1),x.hij(" ",null==e?null:e.leftAmount," "),x.xp6(2),x.Oqu(null==e?null:e.leftSymbol),x.xp6(1),x.AsE(" ",o.config.conversionSeparator," ",null==e?null:e.rightAmount," "),x.xp6(2),x.Oqu(null==e?null:e.rightSymbol)}}function xe(e,n){if(1&e&&(x.ynx(0),x.YNc(1,_e,7,5,"ng-container",0),x.BQk()),2&e){const e=x.oxw(5);x.xp6(1),x.Q6J("ngIf",e.commonService.autoConvert(null==e.offer?null:e.offer.offer__monthly_installment,e.commonService.eCurrencySymbol))}}function be(e,n){if(1&e&&(x._uU(0),x.TgZ(1,"span",42),x._uU(2),x.qZA()),2&e){const e=x.oxw(5);x.hij(" ",e.commonService.formatValueFractionDigits(null==e.offer?null:e.offer.offer__monthly_installment)," "),x.xp6(2),x.Oqu(e.config.currencySymbol)}}function Ce(e,n){if(1&e&&(x.TgZ(0,"li"),x.TgZ(1,"div",33),x._uU(2),x.ALo(3,"translate"),x.qZA(),x.TgZ(4,"div",43),x._uU(5),x.ALo(6,"translate"),x.qZA(),x.qZA()),2&e){const e=x.oxw(5);x.xp6(2),x.Oqu(x.lcZ(3,3,"offerCardNew.planAndDeviceDuration")),x.xp6(3),x.AsE(" ",null==e.offer?null:e.offer.offer_leasing_duration," ",x.lcZ(6,5,"months")," ")}}const Ae=function(){return{discount:!1}};function Ze(e,n){if(1&e&&(x.ynx(0),x.TgZ(1,"p",47),x._uU(2),x.qZA(),x.TgZ(3,"ul",48),x.TgZ(4,"li",32),x.TgZ(5,"div",33),x._uU(6),x.ALo(7,"translate"),x.qZA(),x.TgZ(8,"div",43),x.YNc(9,he,3,4,"div",45),x.TgZ(10,"strong"),x.YNc(11,xe,2,1,"ng-container",13),x.YNc(12,be,3,2,"ng-template",null,41,x.W1O),x.qZA(),x.qZA(),x.qZA(),x.YNc(14,Ce,7,7,"li",0),x.qZA(),x.BQk()),2&e){const e=x.MAs(13),n=x.oxw(4);x.xp6(2),x.hij(" ","EN"===n.commonService.getLanguage()&&(null==n.offer?null:n.offer.offer_device_name_EN)||(null==n.offer?null:n.offer.offer_device_name)," "),x.xp6(2),x.Q6J("ngClass",x.DdM(9,Ae)),x.xp6(2),x.Oqu(x.lcZ(7,7,"offerCardNew.monthlyInstallment")),x.xp6(3),x.Q6J("ngIf",!1),x.xp6(2),x.Q6J("ngIf",n.config.showConversionV2)("ngIfElse",e),x.xp6(3),x.Q6J("ngIf",null==n.offer?null:n.offer.offer_leasing_duration)}}function Pe(e,n){if(1&e){const e=x.EpF();x.TgZ(0,"p",49),x.NdJ("click",function(){x.CHM(e);const n=x.oxw(4);return n.goToNoteLink(null==n.offer?null:n.offer.offer_note_link)}),x._uU(1),x.qZA()}if(2&e){const e=x.oxw(4);x.xp6(1),x.hij(" ","EN"===e.commonService.getLanguage()&&(null==e.offer?null:e.offer.offer_noteEn)||(null==e.offer?null:e.offer.offer_note)," ")}}const ye=function(e){return{price:e}};function Te(e,n){if(1&e&&(x.TgZ(0,"p",54),x._uU(1),x.qZA()),2&e){const e=x.oxw(6);x.xp6(1),x.hij(" ",e.trs.trsTsParams("offerCardNew.familyDiscountDescFIX",x.VKq(1,ye,e.commonService.formatValueFractionDigits(null==e.offer||null==e.offer.discount?null:e.offer.discount[0].discount)))," ")}}function Ne(e,n){if(1&e&&(x.ynx(0),x._uU(1),x.TgZ(2,"span",59),x._uU(3),x.qZA(),x._uU(4),x.TgZ(5,"span",59),x._uU(6),x.qZA(),x.BQk()),2&e){const e=n.ngIf,o=x.oxw(9);x.xp6(1),x.hij(" ",null==e?null:e.leftAmount," "),x.xp6(2),x.Oqu(null==e?null:e.leftSymbol),x.xp6(1),x.AsE(" ",o.config.conversionSeparator," ",null==e?null:e.rightAmount," "),x.xp6(2),x.Oqu(null==e?null:e.rightSymbol)}}function we(e,n){if(1&e&&(x.ynx(0),x.TgZ(1,"span",43),x.YNc(2,Ne,7,5,"ng-container",0),x.qZA(),x.BQk()),2&e){const e=x.oxw().$implicit,n=x.oxw(7);x.xp6(2),x.Q6J("ngIf",n.commonService.autoConvert(null==e?null:e.discount,n.commonService.eCurrencySymbol))}}function Oe(e,n){if(1&e&&(x.TgZ(0,"span",43),x._uU(1),x.TgZ(2,"span",59),x._uU(3),x.qZA(),x.qZA()),2&e){const e=x.oxw().$implicit,n=x.oxw(7);x.xp6(1),x.hij(" ",n.commonService.formatValueFractionDigits(null==e?null:e.discount)," "),x.xp6(2),x.Oqu(n.config.currencySymbol)}}const Ie=function(e){return{active:e}};function Se(e,n){if(1&e&&(x.TgZ(0,"li",32),x.TgZ(1,"span",33),x._uU(2),x.ALo(3,"translate"),x.ALo(4,"translate"),x.ALo(5,"translate"),x.ALo(6,"translate"),x.ALo(7,"translate"),x.qZA(),x.YNc(8,we,3,1,"ng-container",13),x.YNc(9,Oe,4,2,"ng-template",null,41,x.W1O),x.qZA()),2&e){const e=n.$implicit,o=x.MAs(10),t=x.oxw(7);x.Q6J("ngClass",x.VKq(15,Ie,"1"===(null==e?null:e.mobNoBold))),x.xp6(2),x.AsE(" ",null==e?null:e.mobNo," ","1"===(null==e?null:e.mobNo)?x.lcZ(3,5,"offerCardNew.member"):"HR"===t.config.defaultLang?"2"===(null==e?null:e.mobNo)||"3"===(null==e?null:e.mobNo)||"4"===(null==e?null:e.mobNo)?x.lcZ(4,7,"offerCardNew.members"):x.lcZ(5,9,"offerCardNew.members3"):"2"===(null==e?null:e.mobNo)?x.lcZ(6,11,"offerCardNew.members"):x.lcZ(7,13,"offerCardNew.members3")," "),x.xp6(6),x.Q6J("ngIf",t.config.showConversionV2)("ngIfElse",o)}}function qe(e,n){if(1&e&&(x.TgZ(0,"mat-accordion",55),x.TgZ(1,"mat-expansion-panel"),x.TgZ(2,"mat-expansion-panel-header",56),x.TgZ(3,"mat-panel-title"),x._uU(4),x.ALo(5,"translate"),x.qZA(),x.qZA(),x.TgZ(6,"p",54),x._uU(7),x.ALo(8,"translate"),x.qZA(),x.TgZ(9,"ul",57),x.YNc(10,Se,11,17,"li",58),x.qZA(),x.qZA(),x.qZA()),2&e){const e=x.oxw(6);x.xp6(2),x.Q6J("collapsedHeight","auto")("expandedHeight","auto"),x.xp6(2),x.hij(" ",x.lcZ(5,5,"offerCardNew.familyDiscount")," "),x.xp6(3),x.hij(" ",x.lcZ(8,7,"offerCardNew.familyDiscountCounterDesc")," "),x.xp6(3),x.Q6J("ngForOf",null==e.offer?null:e.offer.discount)}}function Me(e,n){if(1&e&&(x.ynx(0),x.YNc(1,Te,2,3,"p",52),x.YNc(2,qe,11,9,"mat-accordion",53),x.BQk()),2&e){const e=x.oxw(5);x.xp6(1),x.Q6J("ngIf",(null==e.offer?null:e.offer.metric__smt_contract_profile_product_package_bundle_price_type)===e.eOfferBundlePriceType.CUSTOMER_COUNTE&&"1"===(null==e.offer?null:e.offer.metric__smt_contract_profile_mob_fix_discount_indicator)),x.xp6(1),x.Q6J("ngIf",!(null!=e.offer&&e.offer.metric__smt_contract_profile_mob_fix_discount_indicator)||"1"!==(null==e.offer?null:e.offer.metric__smt_contract_profile_mob_fix_discount_indicator))}}function Ee(e,n){if(1&e&&(x.TgZ(0,"p",54),x._uU(1),x.qZA()),2&e){const e=x.oxw(5);x.xp6(1),x.hij(" ",e.trs.trsTsParams("offerCardNew.familyDiscountDesc",x.VKq(1,ye,e.commonService.formatValueFractionDigits(null==e.offer||null==e.offer.discount?null:e.offer.discount[0].discount)))," ")}}function De(e,n){if(1&e&&(x.TgZ(0,"div",50),x.YNc(1,Me,3,2,"ng-container",13),x.YNc(2,Ee,2,3,"ng-template",null,51,x.W1O),x.qZA()),2&e){const e=x.MAs(3),n=x.oxw(4);x.xp6(1),x.Q6J("ngIf",((null==n.offer?null:n.offer.metric__smt_contract_profile_product_package_bundle_price_type)||(null==n.offer?null:n.offer.metric_smt_contract_profile_product_package_bundle_price_type))!==n.eOfferBundlePriceType.FMC)("ngIfElse",e)}}function Le(e,n){if(1&e){const e=x.EpF();x.TgZ(0,"button",65),x.NdJ("click",function(){return x.CHM(e),x.oxw(6).openActivatePurchaseDialog()}),x.ynx(1),x._uU(2),x.ALo(3,"translate"),x._UZ(4,"img",66),x.BQk(),x.qZA()}if(2&e){const e=x.oxw(6);x.Gre("radius16 btn-2-v3 ",null!=e.offer&&e.offer.button2?"bg-white black-border":"bg-black"," btn-with-arrow"),x.xp6(2),x.hij(" ",null!=e.offer&&e.offer.button1?"EN"===e.commonService.getLanguage()?null==e.offer?null:e.offer.button1EN:null==e.offer?null:e.offer.button1:x.lcZ(3,5,"offerCard.getPlanOnly")," "),x.xp6(2),x.MGl("src","assets/img/",null!=e.offer&&e.offer.button2?"offer-right-arrow-black.svg":"offer-right-arrow.svg","",x.LSH)}}function Ue(e,n){if(1&e){const e=x.EpF();x.TgZ(0,"button",67),x.NdJ("click",function(){return x.CHM(e),x.oxw(6).goToNewDevice()}),x.ynx(1),x._uU(2),x.ALo(3,"translate"),x._UZ(4,"img",68),x.BQk(),x.qZA()}if(2&e){const e=x.oxw(6);x.xp6(2),x.hij(" ",null!=e.offer&&e.offer.button2?"EN"===e.commonService.getLanguage()?null==e.offer?null:e.offer.button2EN:null==e.offer?null:e.offer.button2:x.lcZ(3,1,"offerCard.continue")," ")}}function ke(e,n){if(1&e&&(x.ynx(0),x.YNc(1,Le,5,7,"button",63),x.YNc(2,Ue,5,3,"button",64),x.BQk()),2&e){const e=x.oxw(5);x.xp6(1),x.Q6J("ngIf",null==e.offer?null:e.offer.button1),x.xp6(1),x.Q6J("ngIf",null==e.offer?null:e.offer.button2)}}function Qe(e,n){if(1&e&&(x.ynx(0),x._uU(1),x.ALo(2,"translate"),x._UZ(3,"img",68),x.BQk()),2&e){const e=x.oxw(8);x.xp6(1),x.hij(" ",null!=e.offer&&e.offer.button2?"EN"===e.commonService.getLanguage()?null==e.offer?null:e.offer.button2EN:null==e.offer?null:e.offer.button2:x.lcZ(2,1,"offerCard.continue")," ")}}function Je(e,n){1&e&&(x.ynx(0),x._uU(1),x.ALo(2,"translate"),x.BQk()),2&e&&(x.xp6(1),x.hij(" ",x.lcZ(2,1,"offerCard.selectDevice")," "))}function Be(e,n){if(1&e){const e=x.EpF();x.TgZ(0,"button",65),x.NdJ("click",function(){x.CHM(e);const n=x.oxw(7);return"BG"!==n.config.defaultLang||(null==n.offer?null:n.offer.ug_offer_cat)!==n.eOfferCat.CAT_4&&(null==n.offer?null:n.offer.ug_offer_cat)!==n.eOfferCat.CAT_3?n.goToNewDevice():n.navigateToOfferCallback(n.offer,!1)}),x.YNc(1,Qe,4,3,"ng-container",0),x.YNc(2,Je,3,3,"ng-container",0),x.qZA()}if(2&e){const e=x.oxw(7);x.Gre("radius16 btn-2-v3 ","BG"!==e.config.defaultLang||(null==e.offer?null:e.offer.ug_offer_cat)!==e.eOfferCat.CAT_4&&(null==e.offer?null:e.offer.ug_offer_cat)!==e.eOfferCat.CAT_3?"bg-black btn-with-arrow":"bg-white blue-gray-border",""),x.xp6(1),x.Q6J("ngIf","BG"!==e.config.defaultLang||!((null==e.offer?null:e.offer.ug_offer_cat)===e.eOfferCat.CAT_4||(null==e.offer?null:e.offer.ug_offer_cat)===e.eOfferCat.CAT_3)),x.xp6(1),x.Q6J("ngIf","BG"===e.config.defaultLang&&((null==e.offer?null:e.offer.ug_offer_cat)===e.eOfferCat.CAT_4||(null==e.offer?null:e.offer.ug_offer_cat)===e.eOfferCat.CAT_3))}}function Ye(e,n){if(1&e&&(x.ynx(0),x._uU(1),x.ALo(2,"translate"),x._UZ(3,"img",66),x.BQk()),2&e){const e=x.oxw(8);x.xp6(1),x.hij(" ",null!=e.offer&&e.offer.button1?"EN"===e.commonService.getLanguage()?null==e.offer?null:e.offer.button1EN:null==e.offer?null:e.offer.button1:x.lcZ(2,2,"offerCard.getPlanOnly")," "),x.xp6(2),x.MGl("src","assets/img/","1"===(null==e.offer?null:e.offer.offer__hw_offer_indicator)&&null!=e.offer&&e.offer.device_offer_link?"offer-right-arrow-black.svg":"offer-right-arrow.svg","",x.LSH)}}function Fe(e,n){1&e&&(x.ynx(0),x._uU(1),x.ALo(2,"translate"),x.BQk()),2&e&&(x.xp6(1),x.hij(" ",x.lcZ(2,1,"offerCard.continueToDevicePage")," "))}function je(e,n){if(1&e){const e=x.EpF();x.TgZ(0,"button",65),x.NdJ("click",function(){x.CHM(e);const n=x.oxw(7);return"BG"===n.config.defaultLang?n.navigateToOfferCallback(n.offer,!0):n.openActivatePurchaseDialog()}),x.YNc(1,Ye,4,4,"ng-container",0),x.YNc(2,Fe,3,3,"ng-container",0),x.qZA()}if(2&e){const e=x.oxw(7);x.MT6("radius16 btn-2-v3 ","1"===(null==e.offer?null:e.offer.offer__hw_offer_indicator)&&null!=e.offer&&e.offer.device_offer_link?"bg-white black-border":"bg-black"," ","BG"!==e.config.defaultLang||(null==e.offer?null:e.offer.ug_offer_cat)!==e.eOfferCat.CAT_4&&(null==e.offer?null:e.offer.ug_offer_cat)!==e.eOfferCat.CAT_3?"btn-with-arrow":"",""),x.xp6(1),x.Q6J("ngIf","BG"!==e.config.defaultLang||!((null==e.offer?null:e.offer.ug_offer_cat)===e.eOfferCat.CAT_4||(null==e.offer?null:e.offer.ug_offer_cat)===e.eOfferCat.CAT_3)),x.xp6(1),x.Q6J("ngIf","BG"===e.config.defaultLang&&((null==e.offer?null:e.offer.ug_offer_cat)===e.eOfferCat.CAT_4||(null==e.offer?null:e.offer.ug_offer_cat)===e.eOfferCat.CAT_3))}}function Re(e,n){if(1&e&&(x.ynx(0),x.YNc(1,Be,3,5,"button",63),x.YNc(2,je,3,6,"button",63),x.BQk()),2&e){const e=x.oxw(6);x.xp6(1),x.Q6J("ngIf","BG"===e.config.defaultLang&&((null==e.offer?null:e.offer.ug_offer_cat)===e.eOfferCat.CAT_4||(null==e.offer?null:e.offer.ug_offer_cat)===e.eOfferCat.CAT_3)||"1"===(null==e.offer?null:e.offer.offer__hw_offer_indicator)&&(null==e.offer?null:e.offer.device_offer_link)),x.xp6(1),x.Q6J("ngIf",!e.hidePlanBtn(e.offer))}}function Ge(e,n){if(1&e){const e=x.EpF();x.TgZ(0,"button",71),x.NdJ("click",function(){return x.CHM(e),x.oxw(7).commonService.goToAccessInfoCallback("offer")}),x._uU(1),x.ALo(2,"translate"),x._UZ(3,"img",72),x.qZA()}2&e&&(x.xp6(1),x.hij(" ",x.lcZ(2,1,"offerCard.getPlanOnly")," "))}function Ve(e,n){1&e&&(x.TgZ(0,"p"),x._uU(1),x.ALo(2,"translate"),x.qZA()),2&e&&(x.xp6(1),x.Oqu(x.lcZ(2,1,"offerCard.noAccessRenew")))}function We(e,n){if(1&e&&(x.YNc(0,Ge,4,3,"button",70),x.YNc(1,Ve,3,3,"p",0)),2&e){const e=x.oxw(6);x.Q6J("ngIf","BG"!==e.config.defaultLang),x.xp6(1),x.Q6J("ngIf","BG"===e.config.defaultLang)}}function ze(e,n){if(1&e&&(x.YNc(0,Re,3,2,"ng-container",13),x.YNc(1,We,2,2,"ng-template",null,69,x.W1O)),2&e){const e=x.MAs(2),n=x.oxw(5);x.Q6J("ngIf",!n.isLoggedWithMsisdn&&(null==n.offer?null:n.offer.offersAccept))("ngIfElse",e)}}function He(e,n){if(1&e&&(x.TgZ(0,"div",60),x.TgZ(1,"div",61),x.YNc(2,ke,3,2,"ng-container",13),x.YNc(3,ze,3,2,"ng-template",null,62,x.W1O),x.qZA(),x.qZA()),2&e){const e=x.MAs(4),n=x.oxw(4);x.xp6(2),x.Q6J("ngIf","SI"===n.config.defaultLang||"HR"===n.config.defaultLang)("ngIfElse",e)}}const $e=function(e){return{discount:e}};function Ke(e,n){if(1&e&&(x.ynx(0),x.TgZ(1,"div",24),x.ynx(2),x.YNc(3,B,2,1,"p",25),x.TgZ(4,"p",26),x._uU(5),x.ALo(6,"translate"),x.qZA(),x.YNc(7,R,9,5,"ng-container",0),x.YNc(8,z,9,5,"ng-container",0),x.TgZ(9,"p",27),x.TgZ(10,"span",28),x._UZ(11,"img",29),x.qZA(),x._uU(12),x.ALo(13,"translate"),x.qZA(),x.YNc(14,H,2,4,"p",30),x.YNc(15,$,2,4,"p",30),x.TgZ(16,"ul",31),x.TgZ(17,"li",32),x.TgZ(18,"div",33),x._uU(19),x.ALo(20,"translate"),x.ALo(21,"translate"),x.ALo(22,"translate"),x.ALo(23,"translate"),x.qZA(),x.YNc(24,te,4,2,"div",34),x.YNc(25,ue,5,3,"div",34),x.qZA(),x.YNc(26,ve,8,11,"li",0),x.qZA(),x.YNc(27,Ze,15,10,"ng-container",0),x.YNc(28,Pe,2,1,"p",35),x.BQk(),x.YNc(29,De,4,2,"div",36),x.YNc(30,He,5,2,"div",37),x.qZA(),x.BQk()),2&e){const e=x.oxw(3);x.xp6(3),x.Q6J("ngIf",null==e.offer?null:e.offer.offerDescription),x.xp6(2),x.Oqu(x.lcZ(6,16,"offerCardNew.offerDetails")),x.xp6(2),x.Q6J("ngIf",(null==e.offer?null:e.offer.offer_total_savings)&&"0.0"!==(null==e.offer?null:e.offer.offer_total_savings)&&"0.00"!==(null==e.offer?null:e.offer.offer_total_savings)),x.xp6(1),x.Q6J("ngIf",("SI"===e.config.defaultLang||"HR"===e.config.defaultLang)&&(!(null!=e.offer&&e.offer.offer_total_savings)||"0.0"===(null==e.offer?null:e.offer.offer_total_savings)||"0.00"===(null==e.offer?null:e.offer.offer_total_savings))&&(null==e.offer?null:e.offer.spDiscount)),x.xp6(4),x.hij(" ",x.lcZ(13,18,"offerCardNew.totalMonthlyPayments")," "),x.xp6(2),x.Q6J("ngIf","BG"!==e.config.defaultLang&&(null==e.offer?null:e.offer.packageName)),x.xp6(1),x.Q6J("ngIf","BG"===e.config.defaultLang&&(null==e.offer?null:e.offer.offer__name)),x.xp6(2),x.Q6J("ngClass",x.VKq(28,$e,(null==e.offer?null:e.offer.offer__full_price)&&(!(null!=e.offer&&e.offer.offer__pp_discount_duration_months)||"0"===(null==e.offer?null:e.offer.offer__pp_discount_duration_months)))),x.xp6(2),x.hij(" ",null!=e.offer&&e.offer.offer__pp_discount_duration_months?"HR"!==e.config.defaultLang?"0"!==(null==e.offer?null:e.offer.offer__pp_discount_duration_months)?"1"===(null==e.offer?null:e.offer.offer__pp_discount_duration_months)?x.lcZ(20,20,"offerCardNew.firstMonth"):"2"===(null==e.offer?null:e.offer.offer__pp_discount_duration_months)?e.trs.trsTsParams("offerCardNew.first2Month",x.VKq(30,me,null==e.offer?null:e.offer.offer__pp_discount_duration_months)):"3"===(null==e.offer?null:e.offer.offer__pp_discount_duration_months)||"4"===(null==e.offer?null:e.offer.offer__pp_discount_duration_months)?e.trs.trsTsParams("offerCardNew.first3_4Month",x.VKq(32,me,null==e.offer?null:e.offer.offer__pp_discount_duration_months)):e.trs.trsTsParams("offerCardNew.firstNMonth",x.VKq(34,me,null==e.offer?null:e.offer.offer__pp_discount_duration_months)):x.lcZ(21,22,"offerCard.monthlyFee"):"0"===(null==e.offer?null:e.offer.offer__pp_discount_duration_months)?x.lcZ(22,24,"offerCard.monthlyFee"):"1"!==(null==e.offer?null:e.offer.offer__pp_discount_dur
1ation_months)&&"2"!==(null==e.offer?null:e.offer.offer__pp_discount_duration_months)&&"3"!==(null==e.offer?null:e.offer.offer__pp_discount_duration_months)&&"4"!==(null==e.offer?null:e.offer.offer__pp_discount_duration_months)?e.trs.trsTsParams("offerCardNew.firstNMonthB",x.VKq(36,me,null==e.offer?null:e.offer.offer__pp_discount_duration_months)):e.trs.trsTsParams("offerCardNew.firstNMonthA",x.VKq(38,me,null==e.offer?null:e.offer.offer__pp_discount_duration_months)):x.lcZ(23,26,"offerCard.monthlyFee")," "),x.xp6(5),x.Q6J("ngIf",e.offer.offer__pp_price_during_allowance&&"0"!==e.offer.offer__pp_discount_duration_months),x.xp6(1),x.Q6J("ngIf",(null==e.offer?null:e.offer.offer__price)&&(!(null!=e.offer&&e.offer.offer__pp_discount_duration_months)||"0"===(null==e.offer?null:e.offer.offer__pp_discount_duration_months))),x.xp6(1),x.Q6J("ngIf",(null==e.offer?null:e.offer.offer__pp_discount_duration_months)&&"0"!==(null==e.offer?null:e.offer.offer__pp_discount_duration_months)&&(null==e.offer?null:e.offer.offer__full_price)),x.xp6(1),x.Q6J("ngIf","BG"===e.config.defaultLang&&((null==e.offer?null:e.offer.ug_offer_cat)===e.eOfferCat.CAT_4||(null==e.offer?null:e.offer.ug_offer_cat)===e.eOfferCat.CAT_3)),x.xp6(1),x.Q6J("ngIf",(null==e.offer?null:e.offer.offer_note_link)&&!(null!=e.offer&&e.offer.discount)),x.xp6(1),x.Q6J("ngIf",null==e.offer?null:e.offer.discount),x.xp6(1),x.Q6J("ngIf",(null==e.offer?null:e.offer.ug_offer_cat)!==e.eOfferCat.CAT_5)}}function Xe(e,n){if(1&e&&(x.TgZ(0,"p",74),x._uU(1),x.qZA()),2&e){const e=x.oxw(4);x.xp6(1),x.hij(" ","EN"===e.commonService.getLanguage()&&(null==e.offer?null:e.offer.offerDescriptionEN)||(null==e.offer?null:e.offer.offerDescription)," ")}}function en(e,n){if(1&e){const e=x.EpF();x.TgZ(0,"div",60),x.TgZ(1,"div",61),x.TgZ(2,"button",67),x.NdJ("click",function(){return x.CHM(e),x.oxw(4).goToNearestStoreSection()}),x._uU(3),x.ALo(4,"translate"),x._UZ(5,"img",68),x.qZA(),x.qZA(),x.qZA()}2&e&&(x.xp6(3),x.hij(" ",x.lcZ(4,1,"offerCard.findAStore")," "))}function nn(e,n){if(1&e&&(x.TgZ(0,"div",24),x.YNc(1,Xe,2,1,"p",73),x.YNc(2,en,6,3,"div",37),x.qZA()),2&e){const e=x.oxw(3);x.xp6(1),x.Q6J("ngIf",null==e.offer?null:e.offer.offerDescription),x.xp6(1),x.Q6J("ngIf","true"===(null==e.offer?null:e.offer.device_afterwards))}}function on(e,n){1&e&&x._UZ(0,"app-new-mobile-customer-card")}const tn=function(e){return{"device-afterwards-wrap":e}};function rn(e,n){if(1&e&&(x.TgZ(0,"article",4),x.TgZ(1,"header",5),x.TgZ(2,"div",6),x.TgZ(3,"div",7),x._UZ(4,"img",8),x.qZA(),x.YNc(5,k,3,2,"h2",9),x.qZA(),x.YNc(6,Q,4,4,"div",10),x.qZA(),x.TgZ(7,"div",11),x.YNc(8,J,3,1,"div",12),x.YNc(9,Ke,31,40,"ng-container",13),x.YNc(10,nn,3,2,"ng-template",null,14,x.W1O),x.qZA(),x.YNc(12,on,1,0,"app-new-mobile-customer-card",0),x._UZ(13,"div",15,16),x.qZA()),2&e){const e=x.MAs(11),n=x.oxw(2);x.xp6(4),x.s9C("src",n.isMobileContract?"assets/img/offer-icon.png":"assets/img/offer-icon-2.png",x.LSH),x.xp6(1),x.Q6J("ngIf",null==n.offer?null:n.offer.packageName),x.xp6(1),x.Q6J("ngIf",null==n.offer?null:n.offer.offer__bind_period_months),x.xp6(1),x.Q6J("ngClass",x.VKq(8,tn,null==n.offer?null:n.offer.device_afterwards)),x.xp6(1),x.Q6J("ngIf",(null==n.offer?null:n.offer.mobileImage)||(null==n.offer?null:n.offer.desktopImage)),x.xp6(1),x.Q6J("ngIf",!(null!=n.offer&&n.offer.device_afterwards))("ngIfElse",e),x.xp6(3),x.Q6J("ngIf",n.offer.ug_offer_cat===n.eOfferCat.CAT_5)}}function ln(e,n){if(1&e&&(x.ynx(0),x.YNc(1,L,2,1,"p",1),x.YNc(2,rn,15,10,"article",2),x.BQk()),2&e){const e=x.oxw();x.xp6(1),x.Q6J("ngIf",!1),x.xp6(1),x.Q6J("ngIf",e.config.newOffer)}}function fn(e,n){if(1&e&&(x.TgZ(0,"p",3),x._uU(1),x.qZA()),2&e){const e=x.oxw(2);x.xp6(1),x.hij(" ",e.offer.recommendationTitle," ")}}function an(e,n){1&e&&x._UZ(0,"span",19)}function sn(e,n){if(1&e&&(x.TgZ(0,"div",20),x.TgZ(1,"p",21),x._uU(2),x.ALo(3,"translate"),x.ALo(4,"translate"),x.ALo(5,"translate"),x.qZA(),x.qZA()),2&e){const e=x.oxw(2);x.xp6(2),x.lnq("",e.offer.duration," ","1"===e.offer.duration?x.lcZ(3,3,"month"):x.lcZ(4,5,"months")," ",x.lcZ(5,7,"newDashboard.renewal"),"")}}function cn(e,n){if(1&e&&(x.TgZ(0,"div",78),x.TgZ(1,"p",79),x._uU(2),x.ALo(3,"translate"),x.qZA(),x.qZA()),2&e){const e=x.oxw(2);x.xp6(2),x.AsE("",x.lcZ(3,2,"for")," ",(null==e.offer?null:e.offer.forMsisdn)||(null==e.offer?null:e.offer.forContract),"")}}function un(e,n){if(1&e){const e=x.EpF();x.TgZ(0,"button",85),x.NdJ("click",function(){return x.CHM(e),x.oxw(4).openContractValidityDialog()}),x._UZ(1,"img",86),x.qZA()}}function dn(e,n){if(1&e&&(x.TgZ(0,"li"),x.TgZ(1,"div",33),x._uU(2),x.ALo(3,"translate"),x.qZA(),x.TgZ(4,"div",33),x._uU(5),x.ALo(6,"translate"),x.ALo(7,"translate"),x.YNc(8,un,2,0,"button",84),x.qZA(),x.qZA()),2&e){const e=x.oxw(3);x.xp6(2),x.Oqu(x.lcZ(3,4,"offerCard.validity")),x.xp6(3),x.AsE("",e.offer.duration," ","1"===e.offer.duration?x.lcZ(6,6,"month"):x.lcZ(7,8,"months")," "),x.xp6(3),x.Q6J("ngIf","true"===(null==e.offer||null==e.offer.Configuration?null:e.offer.Configuration.hasSummary))}}function gn(e,n){if(1&e&&(x.TgZ(0,"li"),x.TgZ(1,"div",87),x._uU(2),x.ALo(3,"translate"),x.qZA(),x.TgZ(4,"div",33),x._uU(5),x.ALo(6,"formatPriceTwoFractionDigits"),x.ALo(7,"translate"),x.qZA(),x.qZA()),2&e){const e=x.oxw(3);x.xp6(2),x.Oqu(x.lcZ(3,4,"offerCard.yourPrice")),x.xp6(3),x.lnq("","0.01"===e.offer.targetPrice2||"0.00"===e.offer.targetPrice2?"0,00":x.lcZ(6,6,e.convertStringToNumber(e.offer.targetPrice2))," ",e.config.currencySymbol," ",x.lcZ(7,8,"perMonth")," ")}}function pn(e,n){if(1&e&&(x.TgZ(0,"li"),x.TgZ(1,"div",87),x._uU(2),x.ALo(3,"translate"),x.qZA(),x.TgZ(4,"div",88),x._uU(5),x.ALo(6,"formatPriceTwoFractionDigits"),x.ALo(7,"translate"),x.qZA(),x.qZA()),2&e){const e=x.oxw(3);x.xp6(2),x.Oqu(x.lcZ(3,4,"offerCard.totalPrice")),x.xp6(3),x.lnq("",x.lcZ(6,6,e.convertStringToNumber(e.offer.targetPrice2))," ",e.config.currencySymbol," ",x.lcZ(7,8,"perMonth")," ")}}function mn(e,n){if(1&e){const e=x.EpF();x.TgZ(0,"div",89),x.TgZ(1,"button",90),x.NdJ("click",function(){return x.CHM(e),x.oxw(3).openActivatePurchaseDialog()}),x._uU(2),x.ALo(3,"translate"),x.qZA(),x.qZA()}2&e&&(x.xp6(2),x.hij(" ",x.lcZ(3,1,"offerCard.offerActivate")," "))}function vn(e,n){if(1&e&&(x.ynx(0),x.TgZ(1,"div",24),x.TgZ(2,"p",80),x._uU(3),x.qZA(),x.TgZ(4,"p",81),x._uU(5),x.ALo(6,"translate"),x.qZA(),x.TgZ(7,"ul",82),x.YNc(8,dn,9,10,"li",0),x.TgZ(9,"li"),x.TgZ(10,"div",33),x._uU(11),x.ALo(12,"translate"),x.ALo(13,"translate"),x.qZA(),x.TgZ(14,"div",33),x._uU(15),x.qZA(),x.qZA(),x.YNc(16,gn,8,10,"li",0),x.YNc(17,pn,8,10,"li",0),x.qZA(),x.YNc(18,mn,4,3,"div",83),x.qZA(),x.BQk()),2&e){const e=x.oxw(2);x.xp6(3),x.hij(" ",e.getDesc("GR"!==e.trs.currentLang?e.offer.offerDescEng:e.offer.offerEshopDesc)," "),x.xp6(2),x.Oqu(x.lcZ(6,8,"offerCard.summaryTitle")),x.xp6(3),x.Q6J("ngIf",null==e.offer?null:e.offer.duration),x.xp6(3),x.hij(" ",e.isMobileContract?x.lcZ(12,10,"offerCard.mobilePlanName"):x.lcZ(13,12,"offerCard.fixPlanName")," "),x.xp6(4),x.Oqu(e.offer.tariffPlanName?e.offer.tariffPlanName:e.offer.tariff),x.xp6(1),x.Q6J("ngIf",e.offer.targetPrice2),x.xp6(1),x.Q6J("ngIf",e.offer.targetPrice2),x.xp6(1),x.Q6J("ngIf",!(null!=e.offer&&e.offer.Configuration)||"false"===(null==e.offer||null==e.offer.Configuration?null:e.offer.Configuration.needsAddress)&&"false"===(null==e.offer||null==e.offer.Configuration?null:e.offer.Configuration.createSR))}}function hn(e,n){1&e&&(x.TgZ(0,"mat-error",103),x._uU(1),x.ALo(2,"translate"),x.qZA()),2&e&&(x.xp6(1),x.Oqu(x.lcZ(2,1,"validationMessage.requiredField")))}function _n(e,n){1&e&&(x.TgZ(0,"mat-error",103),x._uU(1),x.ALo(2,"translate"),x.qZA()),2&e&&(x.xp6(1),x.Oqu(x.lcZ(2,1,"validationMessage.numberPattern")))}function xn(e,n){if(1&e&&(x.ynx(0),x.YNc(1,hn,3,3,"mat-error",102),x.YNc(2,_n,3,3,"mat-error",102),x.BQk()),2&e){const e=x.oxw(5);x.xp6(1),x.Q6J("ngIf",e.deliveryAddressControls.contactPhone.errors.required),x.xp6(1),x.Q6J("ngIf",e.deliveryAddressControls.contactPhone.errors.pattern)}}function bn(e,n){if(1&e&&(x.TgZ(0,"div",99),x.TgZ(1,"mat-form-field",100),x.TgZ(2,"label"),x._uU(3),x.ALo(4,"translate"),x.qZA(),x._UZ(5,"input",101),x.qZA(),x.YNc(6,xn,3,2,"ng-container",0),x.qZA()),2&e){const e=x.oxw(4);x.xp6(1),x.Gre("style-type-v3 with-icon reset-margin ",e.isDeliveryAddressFormSubmitted&&e.deliveryAddressControls.contactPhone.errors?"show-error":"",""),x.xp6(2),x.Oqu(x.lcZ(4,6,"offerCard.contactPhone")),x.xp6(2),x.Q6J("type","text"),x.xp6(1),x.Q6J("ngIf",e.isDeliveryAddressFormSubmitted&&e.deliveryAddressControls.contactPhone.errors)}}function Cn(e,n){1&e&&(x.TgZ(0,"mat-error",103),x._uU(1),x.ALo(2,"translate"),x.qZA()),2&e&&(x.xp6(1),x.Oqu(x.lcZ(2,1,"validationMessage.requiredField")))}function An(e,n){if(1&e&&(x.ynx(0),x.YNc(1,Cn,3,3,"mat-error",102),x.BQk()),2&e){const e=x.oxw(5);x.xp6(1),x.Q6J("ngIf",e.deliveryAddressControls.deliveryAddress.errors.required)}}function Zn(e,n){if(1&e){const e=x.EpF();x.TgZ(0,"div",99),x.TgZ(1,"button",104),x.NdJ("click",function(){return x.CHM(e),x.oxw(4).goToDeliveryAddress()}),x.TgZ(2,"mat-form-field",100),x.TgZ(3,"label"),x._uU(4),x.ALo(5,"translate"),x.qZA(),x._UZ(6,"input",105),x.qZA(),x.YNc(7,An,2,1,"ng-container",0),x.qZA(),x.qZA()}if(2&e){const e=x.oxw(4);x.xp6(2),x.Gre("style-type-v3 with-icon reset-margin ",e.isDeliveryAddressFormSubmitted&&e.deliveryAddressControls.contactPhone.errors?"show-error":"",""),x.xp6(2),x.Oqu(x.lcZ(5,6,"offerCard.deliveryAddress")),x.xp6(2),x.Q6J("type","text"),x.xp6(1),x.Q6J("ngIf",e.isDeliveryAddressFormSubmitted&&e.deliveryAddressControls.deliveryAddress.errors)}}function Pn(e,n){1&e&&(x.TgZ(0,"mat-error",103),x._uU(1),x.ALo(2,"translate"),x.qZA()),2&e&&(x.xp6(1),x.Oqu(x.lcZ(2,1,"validationMessage.requiredField")))}function yn(e,n){if(1&e&&(x.ynx(0),x.YNc(1,Pn,3,3,"mat-error",102),x.BQk()),2&e){const e=x.oxw(5);x.xp6(1),x.Q6J("ngIf",e.deliveryAddressControls.comments.errors.required)}}function Tn(e,n){if(1&e&&(x.TgZ(0,"div",99),x.TgZ(1,"mat-form-field",100),x.TgZ(2,"label"),x._uU(3),x.ALo(4,"translate"),x.qZA(),x._UZ(5,"input",106),x.qZA(),x.YNc(6,yn,2,1,"ng-container",0),x.qZA()),2&e){const e=x.oxw(4);x.xp6(1),x.Gre("style-type-v3 with-icon reset-margin ",e.isDeliveryAddressFormSubmitted&&e.deliveryAddressControls.contactPhone.errors?"show-error":"",""),x.xp6(2),x.Oqu(x.lcZ(4,6,"offerCard.comments")),x.xp6(2),x.Q6J("type","text"),x.xp6(1),x.Q6J("ngIf",e.isDeliveryAddressFormSubmitted&&e.deliveryAddressControls.comments.errors)}}function Nn(e,n){if(1&e&&(x.TgZ(0,"div",97),x.YNc(1,bn,7,8,"div",98),x.YNc(2,Zn,8,8,"div",98),x.YNc(3,Tn,7,8,"div",98),x.qZA()),2&e){const e=x.oxw(3);x.xp6(1),x.Q6J("ngIf","true"===(null==e.offer||null==e.offer.Configuration?null:e.offer.Configuration.createSR)),x.xp6(1),x.Q6J("ngIf","true"===(null==e.offer||null==e.offer.Configuration?null:e.offer.Configuration.createSR)&&"true"===(null==e.offer||null==e.offer.Configuration?null:e.offer.Configuration.needsAddress)),x.xp6(1),x.Q6J("ngIf","true"===(null==e.offer||null==e.offer.Configuration?null:e.offer.Configuration.createSR)&&"true"===(null==e.offer||null==e.offer.Configuration?null:e.offer.Configuration.needsAddress))}}function wn(e,n){if(1&e){const e=x.EpF();x.TgZ(0,"div",91),x.TgZ(1,"h5",92),x._uU(2),x.ALo(3,"translate"),x.qZA(),x.TgZ(4,"p",93),x._uU(5),x.ALo(6,"translate"),x.qZA(),x.TgZ(7,"form",94),x.YNc(8,Nn,4,3,"div",95),x.TgZ(9,"div",96),x.TgZ(10,"button",90),x.NdJ("click",function(){return x.CHM(e),x.oxw(2).submitWithDeliveryAddress()}),x._uU(11),x.ALo(12,"translate"),x.qZA(),x.qZA(),x.qZA(),x.qZA()}if(2&e){const e=x.oxw(2);x.xp6(2),x.Oqu(x.lcZ(3,5,"offerCard.equipmentDelivery")),x.xp6(3),x.Oqu(x.lcZ(6,7,"offerCard.provideAddress")),x.xp6(2),x.Q6J("formGroup",e.deliveryAddressForm),x.xp6(1),x.Q6J("ngIf","true"===(null==e.offer||null==e.offer.Configuration?null:e.offer.Configuration.createSR)),x.xp6(3),x.hij(" ",x.lcZ(12,9,"offerCard.offerActivate")," ")}}function On(e,n){if(1&e&&(x.ynx(0),x.YNc(1,fn,2,1,"p",1),x.TgZ(2,"article",4),x.TgZ(3,"header",5),x.TgZ(4,"div",6),x.TgZ(5,"div",7),x._UZ(6,"img",8),x.qZA(),x.TgZ(7,"h2",17),x._uU(8),x.YNc(9,an,1,0,"span",18),x.qZA(),x.qZA(),x.YNc(10,sn,6,9,"div",10),x.YNc(11,cn,4,4,"div",75),x.qZA(),x.TgZ(12,"div",76),x.TgZ(13,"div",6),x.TgZ(14,"div",22),x._UZ(15,"img",23),x.qZA(),x.qZA(),x.YNc(16,vn,19,14,"ng-container",0),x.qZA(),x.YNc(17,wn,13,11,"div",77),x._UZ(18,"div",15,16),x.qZA(),x.BQk()),2&e){const e=x.oxw();x.xp6(1),x.Q6J("ngIf",!1),x.xp6(5),x.s9C("src",e.isMobileContract?"assets/img/offer-icon.png":"assets/img/offer-icon-2.png",x.LSH),x.xp6(2),x.hij(" ",e.offer.tariffPlanName?"EN"===e.commonService.getLanguage()&&e.offer.tariffPlanNameEN||e.offer.tariffPlanName:"EN"===e.commonService.getLanguage()&&e.offer.tariffEN||e.offer.tariff," "),x.xp6(1),x.Q6J("ngIf",e.config.hasOfferIndicator&&e.dotIndicator),x.xp6(1),x.Q6J("ngIf",null==e.offer?null:e.offer.duration),x.xp6(1),x.Q6J("ngIf",e.hasBottomLabel&&0===e.contractsLength),x.xp6(4),x.s9C("src","GR"!==e.trs.currentLang?e.offer.webNetvolutionPathEng:e.offer.webNetvolutionPathGr,x.LSH),x.xp6(1),x.Q6J("ngIf",!0),x.xp6(1),x.Q6J("ngIf","true"===(null==e.offer||null==e.offer.Configuration?null:e.offer.Configuration.createSR))}}function In(e,n){1&e&&x._UZ(0,"span",19)}function Sn(e,n){1&e&&(x.TgZ(0,"div",111),x._uU(1),x.ALo(2,"translate"),x.qZA()),2&e&&(x.xp6(1),x.Oqu(x.lcZ(2,1,"television.free")))}function qn(e,n){1&e&&(x.TgZ(0,"div",111),x._uU(1),x.ALo(2,"translate"),x.qZA()),2&e&&(x.xp6(1),x.Oqu(x.lcZ(2,1,"active")))}function Mn(e,n){if(1&e&&(x.TgZ(0,"div"),x.TgZ(1,"p"),x._uU(2),x.ALo(3,"translate"),x.qZA(),x.qZA()),2&e){const e=x.oxw(2);x.Tol("0.00"===(null==e.offer?null:e.offer.billingProductPriceForCustomer)||"0"===(null==e.offer?null:e.offer.billingProductPriceForCustomer)||"0.0"===(null==e.offer?null:e.offer.billingProductPriceForCustomer)?"bottom":"right"),x.xp6(1),x.Tol("
10.00"===(null==e.offer?null:e.offer.billingProductPriceForCustomer)||"0"===(null==e.offer?null:e.offer.billingProductPriceForCustomer)||"0.0"===(null==e.offer?null:e.offer.billingProductPriceForCustomer)?"font-size-13":"font-size-16"),x.xp6(1),x.AsE("",x.lcZ(3,8,"for")," ",e.msisdn?e.msisdn:e.contractNo,"")}}function En(e,n){if(1&e){const e=x.EpF();x.ynx(0),x.TgZ(1,"button",90),x.NdJ("click",function(){return x.CHM(e),x.oxw(3).navigateToRenewPlan()}),x._uU(2),x.ALo(3,"translate"),x.ALo(4,"translate"),x.qZA(),x.BQk()}if(2&e){const e=x.oxw(3);x.xp6(2),x.hij(" ",null!=e.offer&&e.offer.prepaidFixStatus&&(null==e.offer?null:e.offer.bpEnabled)===e.eBpEnable.FALSE?x.lcZ(3,1,"activate"):x.lcZ(4,3,"offerCardNew.renew")," ")}}function Dn(e,n){if(1&e){const e=x.EpF();x.ynx(0),x.TgZ(1,"div",20),x.TgZ(2,"button",90),x.NdJ("click",function(){x.CHM(e);const n=x.oxw(4);return"BG"===n.config.defaultLang&&n.offer.billingProductCode.includes(n.eAddonSubscriptionMappingType.ANTIVIRUS_PROTECTION)&&n.offer.bpEnabled===n.eBpEnable.FALSE?n.navigateToAntivirus():n.openActivateAddonDialog(n.offer)}),x._uU(3),x.ALo(4,"translate"),x.ALo(5,"translate"),x.qZA(),x.qZA(),x.BQk()}if(2&e){const e=x.oxw(4);x.xp6(3),x.hij(" ",e.offer.bpEnabled===e.eBpEnable.FALSE?x.lcZ(4,1,"activate"):x.lcZ(5,3,"deactivate")," ")}}function Ln(e,n){if(1&e&&x.YNc(0,Dn,6,5,"ng-container",0),2&e){const e=x.oxw(3);x.Q6J("ngIf",e.headerBtn&&!e.hideDeactivateBtn(null==e.offer?null:e.offer.bpEnabled))}}function Un(e,n){if(1&e&&(x.ynx(0),x.YNc(1,En,5,5,"ng-container",13),x.YNc(2,Ln,1,1,"ng-template",null,112,x.W1O),x.BQk()),2&e){const e=x.MAs(3),n=x.oxw(2);x.xp6(1),x.Q6J("ngIf","true"===(null==n.offer?null:n.offer.discountlabel)||(null==n.offer?null:n.offer.prepaidFixStatus)&&(null==n.offer?null:n.offer.bpEnabled)===n.eBpEnable.FALSE)("ngIfElse",e)}}function kn(e,n){if(1&e&&(x.TgZ(0,"div",6),x.TgZ(1,"div",22),x._UZ(2,"img",23),x.qZA(),x.qZA()),2&e){const e=x.oxw(2);x.xp6(2),x.s9C("src",e.config.resourceServer+e.offer.largeImg,x.LSH)}}function Qn(e,n){if(1&e&&(x.TgZ(0,"li",114),x.TgZ(1,"div",115),x.TgZ(2,"span",116),x._UZ(3,"img",117),x.qZA(),x.TgZ(4,"span"),x._uU(5),x.ALo(6,"translate"),x.ALo(7,"translate"),x.qZA(),x.qZA(),x.qZA()),2&e){const e=x.oxw(3);x.xp6(5),x.AsE("",(null==e.offer?null:e.offer.bpEnabled)===e.eBpEnable.TRUE?x.lcZ(6,2,"offerCardNew.deactivationPossibleAfter"):x.lcZ(7,4,"offerCardNew.activationPossibleAfter")," ",e.commonService.formatDate(null==e.offer?null:e.offer.canDeactivate,"dd. MM. yyyy HH:mm a"),"")}}function Jn(e,n){if(1&e&&(x.TgZ(0,"div",120),x.TgZ(1,"strong"),x._uU(2),x.ALo(3,"translate"),x.qZA(),x.qZA()),2&e){const e=x.oxw(4);x.xp6(2),x.AsE(" ",x.lcZ(3,2,"until")," ",e.commonService.formatDate(null==e.offer?null:e.offer.promoExpirationDate,"dd. MM. yyyy")," ")}}function Bn(e,n){if(1&e&&(x.ynx(0),x._uU(1),x.TgZ(2,"span",42),x._uU(3),x.qZA(),x._uU(4),x.TgZ(5,"span",42),x._uU(6),x.qZA(),x._uU(7),x.ALo(8,"translate"),x.ALo(9,"translate"),x.BQk()),2&e){const e=n.ngIf,o=x.oxw(7);x.xp6(1),x.hij(" ",null==e?null:e.leftAmount," "),x.xp6(2),x.Oqu(null==e?null:e.leftSymbol),x.xp6(1),x.AsE(" ",o.config.conversionSeparator," ",null==e?null:e.rightAmount," "),x.xp6(2),x.Oqu(null==e?null:e.rightSymbol),x.xp6(1),x.lnq(" ",x.lcZ(8,8,"perMonth")," ",x.lcZ(9,10,"until")," ",o.commonService.formatDate(o.offer.promoExpirationDate,"dd. MM. yyyy")," ")}}function Yn(e,n){if(1&e&&(x.ynx(0),x.YNc(1,Bn,10,12,"ng-container",0),x.BQk()),2&e){const e=x.oxw(6);x.xp6(1),x.Q6J("ngIf",e.commonService.autoConvert(null==e.offer?null:e.offer.billingProductPriceForCustomer,e.commonService.eCurrencySymbol))}}function Fn(e,n){if(1&e&&(x._uU(0),x.TgZ(1,"span",42),x._uU(2),x.qZA(),x._uU(3),x.ALo(4,"translate"),x.ALo(5,"translate")),2&e){const e=x.oxw(6);x.hij(" ",e.commonService.formatValueFractionDigits(e.offer.billingProductPriceForCustomer)," "),x.xp6(2),x.Oqu(e.config.currencySymbol),x.xp6(1),x.lnq(" ",x.lcZ(4,5,"perMonth")," ",x.lcZ(5,7,"until")," ",e.commonService.formatDate(e.offer.promoExpirationDate,"dd. MM. yyyy")," ")}}function jn(e,n){if(1&e&&(x.TgZ(0,"strong",123),x.YNc(1,Yn,2,1,"ng-container",13),x.YNc(2,Fn,6,9,"ng-template",null,41,x.W1O),x.qZA()),2&e){const e=x.MAs(3),n=x.oxw(5);x.xp6(1),x.Q6J("ngIf",n.config.showConversionV2)("ngIfElse",e)}}function Rn(e,n){1&e&&(x.TgZ(0,"strong",123),x._uU(1),x.ALo(2,"translate"),x.qZA()),2&e&&(x.xp6(1),x.hij(" ",x.lcZ(2,1,"promoAddon")," "))}function Gn(e,n){1&e&&(x.TgZ(0,"span",124),x._UZ(1,"img",125),x.qZA())}function Vn(e,n){if(1&e&&(x.TgZ(0,"div",33),x.YNc(1,jn,4,2,"strong",121),x.YNc(2,Rn,3,3,"strong",121),x.YNc(3,Gn,2,0,"span",122),x.qZA()),2&e){const e=x.oxw(4);x.xp6(1),x.Q6J("ngIf","0.00"!==(null==e.offer?null:e.offer.billingProductPriceForCustomer)&&"0"!==(null==e.offer?null:e.offer.billingProductPriceForCustomer)&&"0.0"!==(null==e.offer?null:e.offer.billingProductPriceForCustomer)),x.xp6(1),x.Q6J("ngIf",("0.00"===(null==e.offer?null:e.offer.billingProductPriceForCustomer)||"0"===(null==e.offer?null:e.offer.billingProductPriceForCustomer)||"0.0"===(null==e.offer?null:e.offer.billingProductPriceForCustomer))&&(null==e.offer?null:e.offer.bpEnabled)===e.eBpEnable.TRUE),x.xp6(1),x.Q6J("ngIf",null==e.offer?null:e.offer.billingProductPriceForCustomer)}}function Wn(e,n){if(1&e&&(x.TgZ(0,"li",114),x.YNc(1,Jn,4,4,"div",118),x.YNc(2,Vn,4,3,"div",119),x.qZA()),2&e){const e=x.oxw(3);x.xp6(1),x.Q6J("ngIf",!1),x.xp6(1),x.Q6J("ngIf",e.showPrice(null==e.offer?null:e.offer.billingProductPrice,null==e.offer?null:e.offer.billingProductPriceForCustomer,null==e.offer?null:e.offer.billingProductCode,null==e.offer?null:e.offer.contractType,null==e.offer?null:e.offer.bpEnabled))}}function zn(e,n){if(1&e&&(x.ynx(0),x.TgZ(1,"span",116),x._UZ(2,"img",128),x.qZA(),x.TgZ(3,"span"),x._uU(4),x.qZA(),x.BQk()),2&e){const e=x.oxw(5);x.xp6(4),x.Oqu(null==e.offer?null:e.offer.serialNumber)}}const Hn=function(e){return{"ml-8":e}};function $n(e,n){if(1&e&&(x.TgZ(0,"span",131),x._UZ(1,"img",117),x.qZA()),2&e){const e=x.oxw(7);x.Q6J("ngClass",x.VKq(1,Hn,null==e.offer?null:e.offer.serialNumber))}}function Kn(e,n){1&e&&(x.TgZ(0,"span"),x._uU(1),x.ALo(2,"translate"),x.qZA()),2&e&&(x.xp6(1),x.Oqu(x.lcZ(2,1,"subscriptionDetail.forTheTerm")))}function Xn(e,n){if(1&e&&(x.ynx(0),x.YNc(1,$n,2,3,"span",130),x.YNc(2,Kn,3,3,"span",0),x.BQk()),2&e){const e=x.oxw(6);x.xp6(1),x.Q6J("ngIf",null==e.offer?null:e.offer.activeToDate),x.xp6(1),x.Q6J("ngIf",null==e.offer?null:e.offer.activeToDate)}}function eo(e,n){if(1&e&&(x.TgZ(0,"span",131),x._UZ(1,"img",117),x.qZA()),2&e){const e=x.oxw(7);x.Q6J("ngClass",x.VKq(1,Hn,null==e.offer?null:e.offer.serialNumber))}}const no=function(e){return{activeToDate:e}};
1function oo(e,n){if(1&e&&(x.TgZ(0,"span"),x._uU(1),x.qZA()),2&e){const e=x.oxw(7);x.xp6(1),x.Oqu(e.trs.trsTsParams("offerCardNew.activeExpiresOn",x.VKq(1,no,e.commonService.formatDate(null==e.offer?null:e.offer.activeToDate,"dd. MM. yyyy"))))}}function to(e,n){if(1&e&&(x.YNc(0,eo,2,3,"span",130),x.YNc(1,oo,2,3,"span",0)),2&e){const e=x.oxw(6);x.Q6J("ngIf",null==e.offer?null:e.offer.activeToDate),x.xp6(1),x.Q6J("ngIf",null==e.offer?null:e.offer.activeToDate)}}function ro(e,n){if(1&e&&(x.ynx(0),x.YNc(1,Xn,3,2,"ng-container",13),x.YNc(2,to,2,2,"ng-template",null,129,x.W1O),x.BQk()),2&e){const e=x.MAs(3),n=x.oxw(5);x.xp6(1),x.Q6J("ngIf",n.customerService.dateInFuture(null==n.offer?null:n.offer.activeToDate)&&("0"===(null==n.offer?null:n.offer.billingProductPriceForCustomer)||"0.0"===(null==n.offer?null:n.offer.billingProductPriceForCustomer)||"0.00"===(null==n.offer?null:n.offer.billingProductPriceForCustomer)))("ngIfElse",e)}}function io(e,n){if(1&e&&(x.TgZ(0,"span",132),x._uU(1),x.ALo(2,"translate"),x.qZA()),2&e){const e=x.oxw(5);x.Q6J("ngClass",x.VKq(4,Hn,null==e.offer?null:e.offer.activeToDate)),x.xp6(1),x.Oqu(x.lcZ(2,2,"offerCardNew.discountLabel"))}}function lo(e,n){if(1&e&&(x.TgZ(0,"div",115),x.YNc(1,zn,5,1,"ng-container",0),x.YNc(2,ro,4,2,"ng-container",0),x.YNc(3,io,3,6,"span",127),x.qZA()),2&e){const e=x.oxw(4);x.xp6(1),x.Q6J("ngIf",null==e.offer?null:e.offer.serialNumber),x.xp6(1),x.Q6J("ngIf",null==e.offer?null:e.offer.activeToDate),x.xp6(1),x.Q6J("ngIf","true"===(null==e.offer?null:e.offer.discountlabel))}}function fo(e,n){1&e&&(x.TgZ(0,"div",33),x.TgZ(1,"strong"),x._uU(2),x.ALo(3,"translate"),x.qZA(),x.qZA()),2&e&&(x.xp6(2),x.hij(" ",x.lcZ(3,1,"newDashboard.price")," "))}function ao(e,n){if(1&e&&(x.ynx(0),x._uU(1),x.TgZ(2,"span",42),x._uU(3),x.qZA(),x._uU(4),x.TgZ(5,"span",42),x._uU(6),x.qZA(),x._uU(7),x.ALo(8,"translate"),x.BQk()),2&e){const e=n.ngIf,o=x.oxw(8);x.xp6(1),x.hij(" ",null==e?null:e.leftAmount," "),x.xp6(2),x.Oqu(null==e?null:e.leftSymbol),x.xp6(1),x.AsE(" ",o.config.conversionSeparator," ",null==e?null:e.rightAmount," "),x.xp6(2),x.Oqu(null==e?null:e.rightSymbol),x.xp6(1),x.hij(" ",x.lcZ(8,6,"perMonth")," ")}}function so(e,n){if(1&e&&(x.ynx(0),x.YNc(1,ao,9,8,"ng-container",0),x.BQk()),2&e){const e=x.oxw(7);x.xp6(1),x.Q6J("ngIf",e.commonService.autoConvert(null==e.offer?null:e.offer.billingProductPriceForCustomer,e.commonService.eCurrencySymbol))}}function co(e,n){if(1&e&&(x._uU(0),x.TgZ(1,"span",42),x._uU(2),x.qZA(),x._uU(3),x.ALo(4,"translate")),2&e){const e=x.oxw(7);x.hij(" ",e.commonService.formatValueFractionDigits(null==e.offer?null:e.offer.billingProductPriceForCustomer)," "),x.xp6(2),x.Oqu(e.config.currencySymbol),x.xp6(1),x.hij(" ",x.lcZ(4,3,"perMonth")," ")}}function uo(e,n){if(1&e&&(x.ynx(0),x.TgZ(1,"strong",123),x.YNc(2,so,2,1,"ng-container",13),x.YNc(3,co,5,5,"ng-template",null,41,x.W1O),x.qZA(),x.TgZ(5,"span",124),x._UZ(6,"img",125),x.qZA(),x.BQk()),2&e){const e=x.MAs(4),n=x.oxw(6);x.xp6(2),x.Q6J("ngIf",n.config.showConversionV2)("ngIfElse",e)}}function go(e,n){1&e&&(x.ynx(0),x.TgZ(1,"strong",123),x._uU(2),x.ALo(3,"translate"),x.qZA(),x.TgZ(4,"span",124),x._UZ(5,"img",125),x.qZA(),x.BQk()),2&e&&(x.xp6(2),x.hij(" ",x.lcZ(3,1,"promoAddon")," "))}function po(e,n){if(1&e&&(x.TgZ(0,"div",33),x.YNc(1,uo,7,2,"ng-container",0),x.YNc(2,go,6,3,"ng-container",0),x.qZA()),2&e){const e=x.oxw(5);x.xp6(1),x.Q6J("ngIf","BG"!==e.config.defaultLang?"0.00"!==(null==e.offer?null:e.offer.billingProductPriceForCustomer)&&"0"!==(null==e.offer?null:e.offer.billingProductPriceForCustomer)&&"0.0"!==(null==e.offer?null:e.offer.billingProductPriceForCustomer):"0.00"!==(null==e.offer?null:e.offer.billingProductPriceForCustomer)&&"0"!==(null==e.offer?null:e.offer.billingProductPriceForCustomer)&&"0.0"!==(null==e.offer?null:e.offer.billingProductPriceForCustomer)||("0.00"===(null==e.offer?null:e.offer.billingProductPriceForCustomer)||"0"===(null==e.offer?null:e.offer.billingProductPriceForCustomer)||"0.0"===(null==e.offer?null:e.offer.billingProductPriceForCustomer))&&(null==e.offer?null:e.offer.bpEnabled)===e.eBpEnable.FALSE),x.xp6(1),x.Q6J("ngIf",("0.00"===(null==e.offer?null:e.offer.billingProductPriceForCustomer)||"0"===(null==e.offer?null:e.offer.billingProductPriceForCustomer)||"0.0"===(null==e.offer?null:e.offer.billingProductPriceForCustomer))&&(null==e.offer?null:e.offer.bpEnabled)===e.eBpEnable.TRUE)}}function mo(e,n){if(1&e&&(x.ynx(0),x.YNc(1,fo,4,3,"div",119),x.YNc(2,po,3,2,"div",119),x.BQk()),2&e){const e=x.oxw(4);x.xp6(1),x.Q6J("ngIf",!(null!=e.offer&&e.offer.discountlabel&&"false"!==(null==e.offer?null:e.offer.discountlabel)||null!=e.offer&&e.offer.activeToDate||null!=e.offer&&e.offer.serialNumber)),x.xp6(1),x.Q6J("ngIf",e.showPrice(null==e.offer?null:e.offer.billingProductPrice,null==e.offer?null:e.offer.billingProductPriceForCustomer,null==e.offer?null:e.offer.billingProductCode,null==e.offer?null:e.offer.contractType,null==e.offer?null:e.offer.bpEnabled))}}function vo(e,n){if(1&e&&(x.TgZ(0,"li"),x.YNc(1,lo,4,3,"div",126),x.YNc(2,mo,3,2,"ng-container",0),x.qZA()),2&e){const e=x.oxw(3);x.xp6(1),x.Q6J("ngIf","true"===(null==e.offer?null:e.offer.discountlabel)||(null==e.offer?null:e.offer.activeToDate)||(null==e.offer?null:e.offer.serialNumber)),x.xp6(1),x.Q6J("ngIf",null==e.offer?null:e.offer.billingProductPriceForCustomer)}}function ho(e,n){if(1&e&&(x.TgZ(0,"ul",82),x.YNc(1,Qn,8,6,"li",113),x.YNc(2,Wn,3,2,"li",113),x.YNc(3,vo,3,2,"li",0),x.qZA()),2&e){const e=x.oxw(2);x.xp6(1),x.Q6J("ngIf","BG"===e.config.defaultLang&&e.headerBtn&&e.hideDeactivateBtn(null==e.offer?null:e.offer.bpEnabled)&&(null==e.offer?null:e.offer.canDeactivate)),x.xp6(1),x.Q6J("ngIf",null==e.offer?null:e.offer.promoExpirationDate),x.xp6(1),x.Q6J("ngIf",!e.offer.promoExpirationDate)}}function _o(e,n){if(1&e&&(x.TgZ(0,"p",133),x._uU(1),x.qZA()),2&e){const e=x.oxw(2);x.xp6(1),x.hij(" ","EN"===e.commonService.getLanguage()&&e.offer.descriptionEN||e.offer.description," ")}}function xo(e,n){if(1&e&&(x.TgZ(0,"p",133),x._uU(1),x.qZA()),2&e){const e=x.oxw(2);x.xp6(1),x.hij(" ","EN"===e.commonService.getLanguage()&&e.offer.termsEN||e.offer.terms," ")}}function bo(e,n){if(1&e&&(x.TgZ(0,"div",134),x.TgZ(1,"p",135),x._uU(2),x.qZA(),x.qZA()),2&e){const e=x.oxw(2);x.xp6(2),x.hij(" ","EN"===e.commonService.getLanguage()&&e.offer.noteEN||e.offer.note," ")}}function Co(e,n){if(1&e){const e=x.EpF();x.ynx(0),x.TgZ(1,"div",60),x.TgZ(2,"div",61),x.TgZ(3,"button",136),x.NdJ("click",function(){x.CHM(e);const n=x.oxw(2);return n.openActivateAddonDialog(n.offer)}),x._uU(4),x.ALo(5,"translate"),x.qZA(),x.qZA(),x.qZA(),x.BQk()}if(2&e){const e=x.oxw(2);x.xp6(3),x.Q6J("ladda",e.loadingStates[null==e.offer?null:e.offer.promoId])("disabled",e.loadingStates[null==e.offer?null:e.offer.promoId]),x.xp6(1),x.hij(" ",x.lcZ(5,3,"activate")," ")}}function Ao(e,n){1&e&&(x.ynx(0),x._UZ(1,"img",137),x.BQk())}function Zo(e,n){if(1&e&&(x.ynx(0),x.TgZ(1,"article",4),x.TgZ(2,"header",5),x.TgZ(3,"div",6),x.TgZ(4,"div",7),x._UZ(5,"img",8),x.qZA(),x.TgZ(6,"h2",17),x._uU(7),x.YNc(8,In,1,0,"span",18),x.qZA(),x.YNc(9,Sn,3,3,"div",107),x.YNc(10,qn,3,3,"div",107),x.qZA(),x.YNc(11,Mn,4,10,"div",30),x.YNc(12,Un,4,2,"ng-container",0),x.qZA(),x.TgZ(13,"div",76),x.YNc(14,kn,3,1,"div",12),x.ynx(15),x.TgZ(16,"div"),x.YNc(17,ho,4,3,"ul",108),x.YNc(18,_o,2,1,"p",109),x.YNc(19,xo,2,1,"p",109),x.YNc(20,bo,3,1,"div",110),x.YNc(21,Co,6,5,"ng-container",0),x.qZA(),x.BQk(),x.YNc(22,Ao,2,0,"ng-container",0),x.qZA(),x._UZ(23,"div",15,16),x.qZA(),x.BQk()),2&e){const e=x.oxw();x.xp6(5),x.s9C("src",e.offer.iconWebImg?e.config.resourceServer+e.offer.iconWebImg:"assets/img/ico-empty.png",x.LSH),x.xp6(2),x.hij(" ","EN"===e.commonService.getLanguage()&&e.offer.billingProductDisplayNameEN||e.offer.billingProductDisplayName," "),x.xp6(1),x.Q6J("ngIf",e.config.hasOfferIndicator&&e.dotIndicator),x.xp6(1),x.Q6J("ngIf",("0.00"===(null==e.offer?null:e.offer.billingProductPriceForCustomer)||"0"===(null==e.offer?null:e.offer.billingProductPriceForCustomer)||"0.0"===(null==e.offer?null:e.offer.billingProductPriceForCustomer))&&(null==e.offer?null:e.offer.bpEnabled)===e.eBpEnable.FALSE),x.xp6(1),x.Q6J("ngIf",(null==e.offer?null:e.offer.bpEnabled)===e.eBpEnable.TRUE),x.xp6(1),x.Q6J("ngIf",e.hasBottomLabel&&0===e.contractsLength),x.xp6(1),x.Q6J("ngIf","BG"!==e.config.defaultLang||null==e.offer||!e.offer.prepaidFixStatus||(null==e.offer?null:e.offer.bpEnabled)!==e.eBpEnable.TRUE||"0.00"!==(null==e.offer?null:e.offer.billingProductPriceForCustomer)&&"0.0"!==(null==e.offer?null:e.offer.billingProductPriceForCustomer)&&"0"!==(null==e.offer?null:e.offer.billingProductPriceForCustomer)),x.xp6(2),x.Q6J("ngIf",e.offer.largeImg),x.xp6(2),x.Gre("right-col ",e.offer.largeImg?"":"full-width",""),x.xp6(1),x.Q6J("ngIf","BG"!==e.config.defaultLang||!(null!=e.offer&&e.offer.billingProductCode.includes(e.eAddonSubscriptionMappingType.ANTIVIRUS_PROTECTION))),x.xp6(1),x.Q6J("ngIf",null==e.offer?null:e.offer.description),x.xp6(1),x.Q6J("ngIf",null==e.offer?null:e.offer.terms),x.xp6(1),x.Q6J("ngIf",null==e.offer?null:e.offer.note),x.xp6(1),x.Q6J("ngIf",!e.headerBtn),x.xp6(1),x.Q6J("ngIf","true"===(null==e.offer?null:e.offer.unlimitedFlag))}}function Po(e,n){1&e&&x._UZ(0,"span",19)}function yo(e,n){1&e&&(x.TgZ(0,"div",111),x._uU(1),x.ALo(2,"translate"),x.qZA()),2&e&&(x.xp6(1),x.hij(" ",x.lcZ(2,1,"television.free")," "))}function To(e,n){if(1&e&&(x.TgZ(0,"div",6),x.TgZ(1,"div",22),x._UZ(2,"img",23),x.qZA(),x.qZA()),2&e){const e=x.oxw(2);x.xp6(2),x.s9C("src",e.config.resourceServer+e.offer.backgroundWeb,x.LSH)}}function No(e,n){if(1&e&&(x.ynx(0),x._uU(1),x.TgZ(2,"span",42),x._uU(3),x.qZA(),x._uU(4),x.TgZ(5,"span",42),x._uU(6),x.qZA(),x.BQk()),2&e){const e=n.ngIf,o=x.oxw(4);x.xp6(1),x.hij(" ",null==e?null:e.leftAmount," "),x.xp6(2),x.Oqu(null==e?null:e.leftSymbol),x.xp6(1),x.AsE(" ",o.config.conversionSeparator," ",null==e?null:e.rightAmount," "),x.xp6(2),x.Oqu(null==e?null:e.rightSymbol)}}function wo(e,n){if(1&e&&(x.ynx(0),x.YNc(1,No,7,5,"ng-container",0),x.BQk()),2&e){const e=x.oxw(3);x.xp6(1),x.Q6J("ngIf",e.commonService.autoConvert(null==e.offer?null:e.offer.price,e.commonService.eCurrencySymbol))}}function Oo(e,n){if(1&e&&(x._uU(0),x.TgZ(1,"span",42),x._uU(2),x.qZA()),2&e){const e=x.oxw(3);x.hij(" ",e.commonService.formatValueFractionDigits(null==e.offer?null:e.offer.price)," "),x.xp6(2),x.Oqu(e.config.currencySymbol)}}function Io(e,n){if(1&e&&(x.TgZ(0,"strong",123),x.YNc(1,wo,2,1,"ng-container",13),x.YNc(2,Oo,3,2,"ng-template",null,41,x.W1O),x.qZA()),2&e){const e=x.MAs(3),n=x.oxw(2);x.xp6(1),x.Q6J("ngIf",n.config.showConversionV2)("ngIfElse",e)}}function So(e,n){1&e&&(x.TgZ(0,"strong",123),x._uU(1),x.ALo(2,"uppercase"),x.ALo(3,"translate"),x.qZA()),2&e&&(x.xp6(1),x.hij(" ",x.lcZ(2,1,x.lcZ(3,3,"television.free"))," "))}function qo(e,n){if(1&e&&(x.TgZ(0,"div",141),x._UZ(1,"p",142),x.qZA()),2&e){const e=x.oxw(2);x.xp6(1),x.Q6J("innerHTML",e.commonService.setDescription(e.offer.noteEN,e.offer.note),x.oJD)}}function Mo(e,n){if(1&e&&(x.ynx(0),x._uU(1),x.ALo(2,"translate"),x.ALo(3,"translate"),x.BQk()),2&e){const e=x.oxw(3);x.xp6(1),x.hij(" ",e.offer.status===e.ePromoStatus.CAN_ACTIVATE?x.lcZ(2,1,"activate"):x.lcZ(3,3,"deactivate")," ")}}function Eo(e,n){1&e&&(x._uU(0),x.ALo(1,"translate")),2&e&&x.hij(" ",x.lcZ(1,1,"login.register")," ")}function Do(e,n){if(1&e&&(x.ynx(0),x.YNc(1,Mo,4,5,"ng-container",13),x.YNc(2,Eo,2,3,"ng-template",null,143,x.W1O),x.BQk()),2&e){const e=x.MAs(3),n=x.oxw(2);x.xp6(1),x.Q6J("ngIf",!(null!=n.offer&&n.offer.linkWeb))("ngIfElse",e)}}function Lo(e,n){1&e&&(x._uU(0),x.ALo(1,"translate")),2&e&&x.hij(" ",x.lcZ(1,1,"skyShowtime.seeMore")," ")}function Uo(e,n){if(1&e){const e=x.EpF();x.ynx(0),x.TgZ(1,"article",4),x.TgZ(2,"header",5),x.TgZ(3,"div",6),x.TgZ(4,"div",7),x._UZ(5,"img",8),x.qZA(),x.TgZ(6,"h2",17),x._uU(7),x.YNc(8,Po,1,0,"span",18),x.qZA(),x.YNc(9,yo,3,3,"div",107),x.qZA(),x.qZA(),x.TgZ(10,"div",76),x.YNc(11,To,3,1,"div",12),x.TgZ(12,"div"),x._UZ(13,"p",138),x.TgZ(14,"ul",82),x.TgZ(15,"li"),x.TgZ(16,"div",33),x.TgZ(17,"strong"),x._uU(18),x.ALo(19,"translate"),x.qZA(),x.qZA(),x.TgZ(20,"div",33),x.YNc(21,Io,4,2,"strong",121),x.YNc(22,
1So,4,5,"strong",121),x.TgZ(23,"span",124),x._UZ(24,"img",125),x.qZA(),x.qZA(),x.qZA(),x.qZA(),x.YNc(25,qo,2,1,"div",139),x.TgZ(26,"div",60),x.TgZ(27,"div",61),x.TgZ(28,"button",136),x.NdJ("click",function(){x.CHM(e);const n=x.oxw();return null!=n.offer&&n.offer.streamingServiceLinkWeb?n.navigateToInternalUrl(null==n.offer?null:n.offer.streamingServiceLinkWeb):null!=n.offer&&n.offer.linkWeb?n.navigateToExternalUrl(null==n.offer?null:n.offer.linkWeb):n.openActivateAddonDialog(n.offer)}),x.YNc(29,Do,4,2,"ng-container",13),x.YNc(30,Lo,2,3,"ng-template",null,140,x.W1O),x.qZA(),x.qZA(),x.qZA(),x.qZA(),x.qZA(),x._UZ(32,"div",15,16),x.qZA(),x.BQk()}if(2&e){const e=x.MAs(31),n=x.oxw();x.xp6(5),x.s9C("src",n.offer.iconWeb?n.config.resourceServer+n.offer.iconWeb:"assets/img/ico-empty.png",x.LSH),x.xp6(2),x.hij(" ","EN"===n.commonService.getLanguage()&&(null==n.offer?null:n.offer.textWebEn)||(null==n.offer?null:n.offer.textWeb)," "),x.xp6(1),x.Q6J("ngIf",n.config.hasOfferIndicator&&n.dotIndicator),x.xp6(1),x.Q6J("ngIf","0.00"===(null==n.offer?null:n.offer.price)||"0"===(null==n.offer?null:n.offer.price)),x.xp6(2),x.Q6J("ngIf",n.offer.backgroundWeb),x.xp6(1),x.Gre("right-col ",n.offer.backgroundWeb?"":"full-width",""),x.xp6(1),x.Q6J("innerHTML",n.commonService.setDescription(null==n.offer?null:n.offer.descriptionWebEn,null==n.offer?null:n.offer.descriptionWeb),x.oJD),x.xp6(5),x.hij(" ",x.lcZ(19,17,"newDashboard.price")," "),x.xp6(3),x.Q6J("ngIf","0"!==(null==n.offer?null:n.offer.price)),x.xp6(1),x.Q6J("ngIf","0"===(null==n.offer?null:n.offer.price)),x.xp6(3),x.Q6J("ngIf",null==n.offer?null:n.offer.note),x.xp6(3),x.Q6J("ladda",n.loadingStates[null==n.offer?null:n.offer.promoId])("disabled",n.loadingStates[null==n.offer?null:n.offer.promoId]),x.xp6(1),x.Q6J("ngIf",!(null!=n.offer&&n.offer.streamingServiceLinkWeb))("ngIfElse",e)}}let ko=(()=>{class e{constructor(e,n,o,r,i,l,f,c){this.dialog=e,this.commonService=n,this.trs=o,this.router=r,this.customerService=i,this.gtmService=l,this.formBuilder=f,this.authService=c,this.config=t.v,this.eOfferCat=v,this.offer=null,this.isMobileContract=!1,this.contractsLength=0,this.msisdn="",this.contractNo="",this.headerBtn=!1,this.hasBottomLabel=!1,this.hasNewCustomerOptions=!1,this.promoAddon=!1,this.dotIndicator=!1,this.eAddonType=t.v.eAddonType,this.eBpEnable=a.$,this.ePromoStatus=u.H,this.eOfferDispayType=g.T,this.loadingStates={},this.eAddonSubscriptionMappingType=s.J,this.isDeliveryAddressFormSubmitted=!1,this.isLoggedWithMsisdn=!1,this.eOfferBundlePriceType=h}get deliveryAddressControls(){return this.deliveryAddressForm.controls}ngOnInit(){this.setBillingProductPriceForCustomer(),this.isLoggedWithMsisdn="GR"!==t.v.defaultLang&&"true"===localStorage.getItem("userLoggedWithMobileNumber"),"GR"===t.v.defaultLang&&this.setForm()}ngAfterViewInit(){if(this.router.url.indexOf("/offer")>-1){if(!this.readTrigger)return;this.observer=new IntersectionObserver(([e])=>{var n,o,t,r;e.isIntersecting&&!(null===(n=this.offer)||void 0===n?void 0:n.isRead)&&(this.offer.isRead=!0,console.log("[OFFER READ]",{id:(null===(o=this.offer)||void 0===o?void 0:o.promoId)||(null===(t=this.offer)||void 0===t?void 0:t.offer_id),type:this.displayType,offer:this.offer}),this.updateOfferAsSeen(this.offer),null===(r=this.observer)||void 0===r||r.disconnect())},{threshold:.3}),this.observer.observe(this.readTrigger.nativeElement)}}setBillingProductPriceForCustomer(){this.offer&&this.displayType===g.T.ADDON&&(this.offer.billingProductPriceForCustomer||(this.offer.billingProductPriceForCustomer=this.offer.billingProductPrice))}updateOfferAsSeen(e){this.customerService.updateSeenOffer(e).subscribe(n=>{var o,t,r,i;console.log("Offer updated as seen response: ",n),e.newOfferFlg="false",(null===(o=this.customerService.selectedOfferContract)||void 0===o?void 0:o.dotIndicator)&&(null===(r=null===(t=this.customerService.selectedOfferContract)||void 0===t?void 0:t.CampaignOffers)||void 0===r?void 0:r.every(e=>"false"===e.newOfferFlg))&&(this.customerService.selectedOfferContract.dotIndicator=!1),console.log("all offers",this.getOffers()),(null===(i=this.getOffers())||void 0===i?void 0:i.every(e=>"false"===e.newOfferFlg))&&(this.customerService.showOfferIndicator=!1)},e=>{console.log("Error occurred while updating seen offer: ",e)})}getOffers(){return this.customerService.customersData.flatMap(e=>{var n;return null===(n=e.ContractTypes)||void 0===n?void 0:n.flatMap(e=>{var n;return null===(n=e.Contracts)||void 0===n?void 0:n.flatMap(e=>e.CampaignOffers?e.CampaignOffers.filter(n=>e.contractIdentity===n.contractId):[])})}).filter(e=>e)}submitWithDeliveryAddress(){this.isDeliveryAddressFormSubmitted=!0,console.log("deliveryAddressControls",this.deliveryAddressControls),!this.deliveryAddressForm.invali
1d&&this.openActivatePurchaseDialog(this.customerService.deliveryAddressObj)}goToDeliveryAddress(){localStorage.setItem("deliveryAddress",JSON.stringify({contactPhone:this.deliveryAddressControls.contactPhone.value,deliveryAddress:this.deliveryAddressControls.deliveryAddress.value,comments:this.deliveryAddressControls.comments.value,street:this.customerService.deliveryAddressObj?this.customerService.deliveryAddressObj.street:"",streetNo:this.customerService.deliveryAddressObj?this.customerService.deliveryAddressObj.streetNo:"",city:this.customerService.deliveryAddressObj?this.customerService.deliveryAddressObj.city:"",postalCode:this.customerService.deliveryAddressObj?this.customerService.deliveryAddressObj.postalCode:"",area:this.customerService.deliveryAddressObj?this.customerService.deliveryAddressObj.area:"",prefecture:this.customerService.deliveryAddressObj?this.customerService.deliveryAddressObj.city:""})),console.log("his.customerService.selectedOfferContract.payerId",this.customerService.selectedOfferContract.payerId),localStorage.setItem("payerId",this.customerService.selectedOfferContract.payerId),localStorage.setItem("fromOffersHub","true"),this.router.navigate(["/service-details/offer-detail/delivery-address"])}setForm(){var e,n;"true"===(null===(n=null===(e=this.offer)||void 0===e?void 0:e.Configuration)||void 0===n?void 0:n.needsAddress)?(this.customerService.deliveryAddressObj=JSON.parse(localStorage.getItem("deliveryAddress")),this.deliveryAddressForm=this.formBuilder.group({contactPhone:["",[d.kI.required,d.kI.pattern("^[0-9]*$")]],deliveryAddress:["",[d.kI.required]],comments:[""]},{}),this.customerService.deliveryAddressObj&&this.deliveryAddressForm.patchValue({contactPhone:this.customerService.deliveryAddressObj.contactPhone,deliveryAddress:this.customerService.deliveryAddressObj.deliveryAddress,comments:this.customerService.deliveryAddressObj.comments})):this.deliveryAddressForm=this.formBuilder.group({contactPhone:["",[d.kI.required,d.kI.pattern("^[0-9]*$")]],deliveryAddress:[""],comments:[""]},{})}openActivatePurchaseDialog(e){var n,o,r,l,f,a,s,c,u,d,g,p,m,v,h,_,x,b,C,A,Z,P,y,T,N,w,O,I,S,q,M,E,D,L,U,k,Q,J,B,Y,F,j,R,G,V,W,z,H,$,K,X,ee,ne,oe,te,re,ie;let le={};le="GR"===t.v.defaultLang?"true"===(null===(o=null===(n=this.offer)||void 0===n?void 0:n.Configuration)||void 0===o?void 0:o.createSR)?e&&"true"===(null===(l=null===(r=this.offer)||void 0===r?void 0:r.Configuration)||void 0===l?void 0:l.needsAddress)?{campaignConId:null===(f=this.offer)||void 0===f?void 0:f.campaignConId,campaignId:null===(a=this.offer)||void 0===a?void 0:a.campaignId,contractId:null===(s=this.offer)||void 0===s?void 0:s.contractId,offerNum:(null===(c=this.offer)||void 0===c?void 0:c.offerNum)||"",offerPartNum:(null===(u=this.offer)||void 0===u?void 0:u.tariffPlanPartNum)||"",campaignPartNum:(null===(d=this.offer)||void 0===d?void 0:d.tariffPartNum)||"",createSR:(null===(p=null===(g=this.offer)||void 0===g?void 0:g.Configuration)||void 0===p?void 0:p.createSR)||"false",hasDelivery:(null===(v=null===(m=this.offer)||void 0===m?void 0:m.Configuration)||void 0===v?void 0:v.needsAddress)||"false",street:e.street,streetNumber:e.streetNo,city:e.city,area:e.area,prefecture:e.city,contactPhone:this.deliveryAddressControls.contactPhone.value,comments:this.deliveryAddressControls.comments.value,termsSendEmail:(null===(_=null===(h=this.offer)||void 0===h?void 0:h.Configuration)||void 0===_?void 0:_.isTermsSendEmail)||"false",tariffPlanPartNum:(null===(x=this.offer)||void 0===x?void 0:x.tariffPlanPartNum)||"",tariffPartNum:(null===(b=this.offer)||void 0===b?void 0:b.tariffPartNum)||""}:{campaignConId:null===(C=this.offer)||void 0===C?void 0:C.campaignConId,campaignId:null===(A=this.offer)||void 0===A?void 0:A.campaignId,contractId:null===(Z=this.offer)||void 0===Z?void 0:Z.contractId,offerNum:(null===(P=this.offer)||void 0===P?void 0:P.offerNum)||"",offerPartNum:(null===(y=this.offer)||void 0===y?void 0:y.tariffPlanPartNum)||"",campaignPartNum:(null===(T=this.offer)||void 0===T?void 0:T.tariffPartNum)||"",createSR:(null===(w=null===(N=this.offer)||void 0===N?void 0:N.Configuration)||void 0===w?void 0:w.createSR)||"false",hasDelivery:(null===(I=null===(O=this.offer)||void 0===O?void 0:O.Configuration)||void 0===I?void 0:I.needsAddress)||"false",contactPhone:this.deliveryAddressControls.contactPhone.value,termsSendEmail:(null===(q=null===(S=this.offer)||void 0===S?void 0:S.Configuration)||void 0===q?void 0:q.isTermsSendEmail)||"false",tariffPlanPartNum:(null===(M=this.offer)||void 0===M?void 0:M.tariffPlanPartNum)||"",tariffPartNum:(null===(E=this.offer)||void 0===E?void 0:E.tariffPartNum)||""}:{campaignConId:null===(D=this.offer)||void 0===D?void 0:D.campaignConId,campaignId:null===(L=this.offer)||void 0===L?void 0:L.campaignId,contractId:null===(U=this.offer)||void 0===U?void 0:U.contractId,contactPhone:"GR"===t.v.defaultLang?(null===(k=this.offer)||void 0===k?void 0:k.contract)||"":(null===(Q=this.offer)||void 0===Q?void 0:Q.forMsisdn)||"",offerNum:(null===(J=this.offer)||void 0===J?void 0:J.offerNum)||"",offerPartNum:(null===(B=this.offer)||void 0===B?void 0:B.tariffPlanPartNum)||"",campaignPartNum:(null===(Y=this.offer)||void 0===Y?void 0:Y.tariffPartNum)||"",createSR:(null===(j=null===(F=this.offer)||void 0===F?void 0:F.Configuration)||void 0===j?void 0:j.createSR)||"false",hasDelivery:(null===(G=null===(R=this.offer)||void 0===R?void 0:R.Configuration)||void 0===G?void 0:G.needsAddress)||"false",termsSendEmail:(null===(W=null===(V=this.offer)||void 0===V?void 0:V.Configuration)||void 0===W?void 0:W.isTermsSendEmail)||"false",tariffPlanPartNum:(null===(z=this.offer)||void 0===z?void 0:z.tariffPartNum)||"",tariffPartNum:(null===(H=this.offer)||void 0===H?void 0:H.tariffPartNum)||""}:{campaignConId:this.offer.offer__sales_package_id,campaignId:this.offer.offer_id,contractId:this.offer.userId,contactPhone:this.offer.forMsisdn||"",offerNum:this.offer.offer__product_package_id||"",offerPartNum:this.offer.tariffPlanPartNum||"",campaignPartNum:this.offer.tariffPartNum||"",createSR:this.offer.createSR||"",hasDelivery:"false",termsSendEmail:this.offer.Configuration&&this.offer.Configuration.isTermsSendEmail?this.offer.Configuration.isTermsSendEmail:"false",tariffPlanPartNum:this.offer.tariffPlanPartNum||"",tariffPartNum:this.offer.tariffPartNum||""},console.log("activationData",le);let fe=this.setPrice();const ae=this.commonService.getTermsLinks(this.offer);this.dialog.open(i.x,{width:"812px",hasBackdrop:!1,panelClass:["global-dialog","gd-v3","text-align-center"],data:{title:"GR"===t.v.defaultLang?this.offer.tariffPlanName?this.offer.tariffPlanName:this.offer.tariff:this.offer.packageName,desc:this.offer.forMsisdn?this.offer.forMsisdn:this.offer.forContract,fee:fe,termsLinks:ae,pdfLink:null===(K=null===($=this.offer)||void 0===$?void 0:$.Configuration)||void 0===K?void 0:K.pdfLink,pdfLinkEn:null===(ee=null===(X=this.offer)||void 0===X?void 0:X.Configuration)||void 0===ee?void 0:ee.pdfLinkEn,description:"GR"===t.v.defaultLang?"EN"===this.commonService.getLanguage()?null===(ne=this.offer)||void 0===ne?void 0:ne.descriptionEn:null===(oe=this.offer)||void 0===oe?void 0:oe.descriptionGr:this.trs.trsTs("offerCard.activationDescription"),activationData:le,offerTechnology:null===(te=this.offer)||void 0===te?void 0:te.offer__technology_name,familyGroup:null===(re=this.offer)||void 0===re?void 0:re.offer_pp_family_group,productDescLevel:null===(ie=this.offer)||void 0===ie?void 0:ie.metric__product_description}}).afterClosed().subscribe(e=>{("success"===e||"error"===e)&&this.openConfirmationDialog(e)}
1)}navigateToExternalUrl(e){window.open(e,"_blank")}navigateToInternalUrl(e){var n,o,t,r,i;const l={contractIdentity:null===(n=this.offer)||void 0===n?void 0:n.contractIdentity,contractMsisdn:null===(o=this.offer)||void 0===o?void 0:o.msisdn,contractNo:null===(t=this.offer)||void 0===t?void 0:t.contractNo,streamingServiceLinkWeb:!0};localStorage.setItem("cid",null===(r=this.offer)||void 0===r?void 0:r.contractIdentity),localStorage.setItem("caid",null===(i=this.offer)||void 0===i?void 0:i.customerIdentity),localStorage.setItem("selectedContract",JSON.stringify(l)),this.router.navigateByUrl(e)}navigateToAntivirus(){return this.router.navigate(["/service-details/internet/antivirus-protection"])}setPrice(){var e,n,o,r,i,l,f,a,s,c,u;let d="";if("GR"!==t.v.defaultLang){const t=(null===(e=this.offer)||void 0===e?void 0:e.offer__pp_price_during_allowance)?"0.01"===(null===(n=this.offer)||void 0===n?void 0:n.offer__pp_price_during_allowance)||"0.00"===(null===(o=this.offer)||void 0===o?void 0:o.offer__pp_price_during_allowance)?"0,00":null===(r=this.offer)||void 0===r?void 0:r.offer__pp_price_during_allowance:"0,00";d="0"!==(null===(i=this.offer)||void 0===i?void 0:i.offer__pp_discount_duration_months)?t:(null===(l=this.offer)||void 0===l?void 0:l.offer__price)?this.commonService.formatValueFractionDigits(this.convertStringToNumber(null===(f=this.offer)||void 0===f?void 0:f.offer__price)):this.commonService.formatValueFractionDigits(this.convertStringToNumber(null===(a=this.offer)||void 0===a?void 0:a.offer__full_price))}else d=(null===(s=this.offer)||void 0===s?void 0:s.regularPrice)?null===(c=this.offer)||void 0===c?void 0:c.regularPrice:null===(u=this.offer)||void 0===u?void 0:u.targetPrice2;return d}openConfirmationDialog(e){this.dialog.open(l.k,{width:"812px",hasBackdrop:!1,panelClass:["global-dialog","gd-v3","text-align-center","confirmation-dialog-v3"],data:{image:"success"===e?"assets/img/success-dialog-icon.svg":"assets/img/unsuccess-dialog-icon.svg",title:this.trs.trsTs("success"===e?"messagesPages.thankYouTitle":"error"),desc:"SI"!==t.v.defaultLang?this.confirmationDescription(e):"",innerDesc:"SI"===t.v.defaultLang?this.confirmationInnerDescription(e):"",close:this.trs.trsTs("close")}}).afterClosed().subscribe(()=>{"success"===e&&this.router.navigate(["/home"])})}confirmationDescription(e){return this.trs.trsTs("success"===e?"offerCard.confirmationSuccessDesc":"httpErrorCode.default")}confirmationInnerDescription(e){return this.trs.trsTs("success"===e?"offerCard.confirmationSuccessDesc":"httpErrorCode.default")}openContractValidityDialog(){let e={};e="GR"===t.v.defaultLang?{contractId:this.offer.contractId,msisdn:this.isMobileContract?this.offer.forMsisdn:this.offer.forContract,campaignId:this.offer.campaignId,campaignConId:this.offer.campaignConId,offerNum:this.offer.offerNum}:{contractId:this.offer.userId,msisdn:this.isMobileContract?this.offer.forMsisdn:this.offer.forContract,campaignId:this.offer.offer_id,campaignConId:this.offer.offer__sales_package_id,offerNum:this.offer.offer__product_package_id},this.dialog.open(r.U,{width:"812px",hasBackdrop:!1,panelClass:["global-dialog","gd-v3","offer-contract-validity-dialog"],data:{offerData:e}}).afterClosed().subscribe(()=>{})}openActivateAddonDialog(e){var n,o;let r={};r=this.promoAddon?this.getDialogData(e,this.displayType===g.T.ADDON):{title:"EN"===this.commonService.getLanguage()?null==e?void 0:e.billingProductDisplayNameEN:null==e?void 0:e.billingProductDisplayName,desc:(null===(n=this.customerService.selectedContractObj)||void 0===n?void 0:n.contractMsisdn)||(null===(o=this.customerService.selectedContractObj)||void 0===o?void 0:o.contractNo),billingProductCode:null==e?void 0:e.billingProductCode,billingProductMappingType:null==e?void 0:e.billingProductMappingType,billingProductTypeName:null==e?void 0:e.billingProductTypeName,fee:this.commonService.getConvertedConversionPrice((null==e?void 0:e.billingProductPrice)?null==e?void 0:e.billingProductPrice:null,!0),price:this.commonService.getConvertedConversionPrice((null==e?void 0:e.billingProductPrice)?null==e?void 0:e.b
1illingProductPrice:null,!1),dataValidity:"true"===(null==e?void 0:e.isUsageRoamingAddon)||"true"===(null==e?void 0:e.promo)?"":(null==e?void 0:e.validityPeriod)?"BG"===t.v.defaultLang?"EN"===this.commonService.getLanguage()?null==e?void 0:e.validityPeriodEN:null==e?void 0:e.validityPeriod:(null==e?void 0:e.billingProductMappingType)===s._.AddOn?this.trs.trsTs("subscriptionDetail.automaticRenewal"):"":"",action:(null==e?void 0:e.bpEnabled)===a.$.TRUE?"activate":"deactivate",smallDescription:"true"===(null==e?void 0:e.isUsageRoamingAddon)?"":(null==e?void 0:e.validityPeriod)?"BG"===t.v.defaultLang?"EN"===this.commonService.getLanguage()?null==e?void 0:e.validityPeriodEN:null==e?void 0:e.validityPeriod:(null==e?void 0:e.billingProductMappingType)===s._.AddOn?"GR"===t.v.defaultLang?this.trs.trsTsParams("subscriptionDetail.packageExpiresAddonValidity",{validityPeriod:null==e?void 0:e.validityPeriod}):this.trs.trsTs("subscriptionDetail.packageExpiresAddon"):"GR"===t.v.defaultLang?this.trs.trsTsParams("subscriptionDetail.packageExpiresValidity",{validityPeriod:null==e?void 0:e.validityPeriod}):this.trs.trsTs("subscriptionDetail.packageExpires"):"",additionalDescription:"GR"===t.v.defaultLang&&(null==e?void 0:e.billingProductTypeName)===this.eAddonType.ROAMING,disclaimerGr:(null==e?void 0:e.disclaimerGr)?null==e?void 0:e.disclaimerGr:"",disclaimerEn:(null==e?void 0:e.disclaimerEn)?null==e?void 0:e.disclaimerEn:"",description:"GR"===t.v.defaultLang?"EN"===this.commonService.getLanguage()?null==e?void 0:e.descriptionEN:null==e?void 0:e.description:"",pendingDeactivation:(null==e?void 0:e.bpEnabled)===a.$.PENDING_DEACTIVATE,orderDate:(null==e?void 0:e.orderDate)||"",promo:"true"===(null==e?void 0:e.promo),descriptionAddon:null==e?void 0:e.description,descriptionAddonEn:null==e?void 0:e.descriptionEN,additionalTextBg:(null==e?void 0:e.terms)?null==e?void 0:e.terms:"",additionalTextEn:(null==e?void 0:e.termsEN)?null==e?void 0:e.termsEN:"",contractType:null==e?void 0:e.contractType,showDeactivateBtn:(null==e?void 0:e.bpEnabled)===a.$.FALSE||!(null==e?void 0:e.deactivateBtn)||"false"!==(null==e?void 0:e.deactivateBtn),allowDeactivate:!!(null==e?void 0:e.allowDeactivate)&&(null==e?void 0:e.allowDeactivate),validityPeriod:null==e?void 0:e.validityPeriod,isUsageRoamingAddon:"true"===(null==e?void 0:e.isUsageRoamingAddon)},this.dialog.open(f.f,{width:"812px",hasBackdrop:!1,panelClass:["global-dialog","gd-v3","text-align-center"],data:r}).afterClosed().subscribe(n=>{const o=(null==e?void 0:e.promoId)||"";this.loadingStates[o]=!0,"A"===n||"D"===n?this.updateAddon(n).add(()=>{this.loadingStates[o]=!1}):this.loadingStates[o]=!1})}getDialogData(e,n){var o,t,r,i,l,f;const a={note:"EN"===this.commonService.getLanguage()?null==e?void 0:e.noteEN:null==e?void 0:e.note,price:this.commonService.formatValueFractionDigits(null==e?void 0:e.billingProductPrice),fee:this.getFormattedFeeText(e,n),automaticRenewal:!1,contractType:null==e?void 0:e.contractType,showDeactivateBtn:!0};return Object.assign(Object.assign({},a),n?{title:"EN"===this.commonService.getLanguage()?null==e?void 0:e.billingProductDisplayNameEN:null==e?void 0:e.billingProductDisplayName,desc:this.trs.trsTs("television.addonActivation"),promoId:null==e?void 0:e.billingProductCode,contractIdentity:null===(t=null===(o=this.customerService)||void 0===o?void 0:o.selectedOfferContract)||void 0===t?void 0:t.contractIdentity,contractNo:null===(i=null===(r=this.customerService)||void 0===r?void 0:r.selectedOfferContract)||void 0===i?void 0:i.contractNo,msisdn:(null===(f=null===(l=this.customerService)||void 0===l?void 0:l.selectedOfferContract)||void 0===f?void 0:f.msisdn)||"",promo:!0}:{title:"EN"===this.commonService.getLanguage()?null==e?void 0:e.textWebEn:null==e?void 0:e.textWeb,desc:this.trs.trsTs((null==e?void 0:e.status)===u.H.CAN_ACTIVATE?"television.addonActivation":"television.addonDeactivation"),promoId:null==e?void 0:e.promoId,contractIdentity:null==e?void 0:e.contractIdentity,contractNo:null==e?void 0:e.contractNo,msisdn:(null==e?void 0:e.msisdn)||"",promotion:!0,action:(null==e?void 0:e.status)===u.H.CAN_ACTIVATE?"deactivate":"activate",promotionName:"EN"===this.commonService.getLanguage()?null==e?void 0:e.promotionNameEn:null==e?void 0:e.promotionName})}getFormattedFeeText(e,n){return(null==e?void 0:e.promoExpirationDate)?(this.trs.trsTs("perMonth"),this.trs.trsTs("until"),this.commonService.formatDate(null==e?void 0:e.promoExpirationDate,"dd. MM. yyyy")):(null==e?void 0:e.expireDate)&&(this.trs.trsTs("until"),this.commonService.formatDate(null==e?void 0:e.expireDate,"dd. MM. yyyy")),`${this.commonService.formatValueFractionDigits(n?
1null==e?void 0:e.billingProductPrice:null==e?void 0:e.price)} ${t.v.currencySymbol}`}getValidity(){return localStorage.getItem("language")&&"GR"===localStorage.getItem("language")?this.offer.validityPeriod.replace("Day(s)","\u03b7\u03bc\u03ad\u03c1\u03b5\u03c2"):this.offer.validityPeriod}updateAddon(e){return this.customerService.updateOptionalBp(this.offer,e,this.msisdn,this.contractNo,this.promoAddon,this.displayType).subscribe(n=>{var o,t,r,i,l;this.customerService.isActivateAddonInProgress=!1,console.log(`${e} addon: ${n}`),"OK"===(null==n?void 0:n.status)?(this.singleAddon=JSON.parse(localStorage.getItem("singleAddon")),this.offer.bpEnabled="A"===e?"true":"false",(null===(o=this.offer)||void 0===o?void 0:o.deactivateBtn)&&(null===(t=this.offer)||void 0===t?void 0:t.allowDeactivate)&&"A"===e&&(this.offer.deactivateBtn="false"),console.log("singleAddon",this.singleAddon),this.singleAddon&&(this.singleAddon.bpEnabled=this.offer.bpEnabled,(null===(r=this.singleAddon)||void 0===r?void 0:r.deactivateBtn)&&(null===(i=this.singleAddon)||void 0===i?void 0:i.allowDeactivate)&&"A"===e&&(this.singleAddon.deactivateBtn="false")),console.log("promoAddon",this.promoAddon),console.log("offer",this.offer),this.promoAddon&&(this.displayType===g.T.ADDON&&this.setPromoAddonAfterActivation(null===(l=this.offer)||void 0===l?void 0:l.billingProductCode,e),this.displayType===g.T.PROMOTION&&this.setPromotionAddonAfterActivation(this.offer,e)),this.openConfirmationDialogAddon(e,"success"),this.addonGtmSendAction(e)):this.openConfirmationDialogAddon(e,"error")},n=>{console.log("Error occurred while updating addon: ",n),this.openConfirmationDialogAddon(e,"error",n),this.customerService.isActivateAddonInProgress=!1})}setPromotionAddonAfterActivation(e,n){var o,t;null===(t=null===(o=this.customerService.selectedOfferContract)||void 0===o?void 0:o.Promotions)||void 0===t||t.forEach(o=>{(null==o?void 0:o.contractNo)===(null==e?void 0:e.contractNo)&&(null==o?void 0:o.promoId)===(null==e?void 0:e.promoId)&&(o.status="A"===n?u.H.ACTIVE:u.H.CAN_ACTIVATE)})}setPromoAddonAfterActivation(e,n){var o,t,r,i;null===(o=this.customerService.filteredOptionalBpPromoData)||void 0===o||o.forEach(o=>{o.billingProductCode===e&&(o.bpEnabled="A"===n?"true":"false")}),this.customerService.filteredOptionalBpPromoData=(null===(t=this.customerService.filteredOptionalBpPromoData)||void 0===t?void 0:t.filter(e=>"true"===e.promo&&"true"===e.selfcareActivation&&"false"===e.bpEnabled).sort((e,n)=>Number(n.weight)-Number(e.weight)))||[],console.log("this.customerService.filteredOptionalBpPromoData",this.customerService.filteredOptionalBpPromoData),null===(i=null===(r=this.customerService)||void 0===r?void 0:r.customersData)||void 0===i||i.forEach(n=>{var o;null===(o=null==n?void 0:n.ContractTypes)||void 0===o||o.forEach(n=>{var o;null===(o=null==n?void 0:n.Contracts)||void 0===o||o.forEach(n=>{var o,t,r;n.contractIdentity===(null===(t=null===(o=this.customerService)||void 0===o?void 0:o.selectedOfferContract)||void 0===t?void 0:t.contractIdentity)&&(null===(r=null==n?void 0:n.Banners)||void 0===r||r.forEach(n=>{n.promoId===e&&(n.status=u.H.ACTIVE,n.startTime=new Date)}))})})})}addonGtmSendAction(e){var n,o,t;const r={user_id:localStorage.getItem("notificationUuid")||(null===(n=this.gtmService)||void 0===n?void 0:n.userAuthIdentity),account_type:(null===(t=null===(o=this.customerService)||void 0===o?void 0:o.selectedCustomer)||void 0===t?void 0:t.customerType)===p.A.BUSINESS?"business":"consumer",addon_type:this.offer.serviceType,value:this.offer.billingProductPrice};"A"===e?r.addon_activation=!0:r.addon_deactivation=!1,this.gtmService.pushToDataLayer(m.V.SELFCARE_ACTIONS,r)}openConfirmationDialogAddon(e,n,o){this.dialog.open(l.k,{width:"812px",hasBackdrop:!1,panelClass:["global-dialog","gd-v3","text-align-center","confirmation-dialog-v3"],data:{image:"success"===n?"assets/img/success-dialog-icon.svg":"assets/img/unsuccess-dialog-icon.svg",title:"success"===n?this.trs.trsTs("GR"===t.v.defaultLang?"messagesPages.thankYouTitleOffer":"BG"===t.v.defaultLang?"successBolton":"messagesPages.thankYouTitle"):"BG"===t.v.defaultLang?this.confirmationTitleError(o):this.trs.trsTs("messagesPages.errorTitle"),desc:"success"===n?"BG"===t.v.defaultLang&&"A"===e?this.get
1SuccessMessageBG():this.confirmationAddonView(e,n):this.confirmationDescriptionError(o),close:this.trs.trsTs("close")}}).afterClosed().subscribe(()=>{})}getSuccessMessageBG(){var e,n,o;return this.isPostpaid()?this.trs.trsTsParams("television.promoSuccessActivationPostpaid",{packageName:"EN"===this.commonService.getLanguage()?this.offer.billingProductDisplayNameEN||this.offer.textWebEn:this.offer.billingProductDisplayName||this.offer.textWeb,number:null===(e=this.customerService.selectedContractObj)||void 0===e?void 0:e.contractMsisdn}):this.isPrepaid()?this.trs.trsTsParams("television.promoSuccessActivationPrepaid",{packageName:"EN"===this.commonService.getLanguage()?this.offer.billingProductDisplayNameEN||this.offer.textWebEn:this.offer.billingProductDisplayName||this.offer.textWeb,number:null===(n=this.customerService.selectedContractObj)||void 0===n?void 0:n.contractMsisdn}):this.trs.trsTsParams("addonCard.confirmationDialogDescFix",{addonName:"EN"===this.commonService.getLanguage()?this.offer.billingProductDisplayNameEN||this.offer.textWebEn:this.offer.billingProductDisplayName||this.offer.textWeb,serviceId:null===(o=this.customerService.selectedContractObj)||void 0===o?void 0:o.contractNo})}isPostpaid(){var e,n,o,t;return(null===(n=null===(e=this.customerService)||void 0===e?void 0:e.selectedContractObj)||void 0===n?void 0:n.contractType)===_.G.MOB||(null===(t=null===(o=this.customerService)||void 0===o?void 0:o.selectedContractObj)||void 0===t?void 0:t.contractType)===_.G.MOB_DATA}isPrepaid(){var e,n;return(null===(e=this.customerService.selectedContractObj)||void 0===e?void 0:e.contractType)===_.G.MOBILE_PREPAID||(null===(n=this.customerService.selectedContractObj)||void 0===n?void 0:n.contractType)===_.G.MOB_DATA_PREPAID}confirmationAddonView(e,n){var o,r,i;if("success"===n)return this.singleAddon&&this.updateAddonVariableData(e),"A"===e?"HR"===t.v.defaultLang?this.trs.trsTsParams("addonCard.confirmationDialogDesc",{addonAction:this.trs.trsTs("addonCard.activated"),addonName:"EN"===this.commonService.getLanguage()?this.offer.billingProductDisplayNameEN||this.offer.textWebEn:this.offer.billingProductDisplayName||this.offer.textWeb,price:this.commonService.formatValueFractionDigits(this.offer.billingProductPrice?this.offer.billingProductPrice:this.offer.price),currencyMonth:`${t.v.currencySymbol}/${t.v.monthShort}`}):"BG"!==t.v.defaultLang?this.trs.trsTsParams("addonCard.confirmationDialogDesc",{addonAction:this.trs.trsTs("addonCard.activated"),addonName:"EN"===this.commonService.getLanguage()?this.offer.billingProductDisplayNameEN||this.offer.textWebEn:this.offer.billingProductDisplayName||this.offer.textWeb}):this.trs.trsTsParams("addonCard.confirmationDialogDescFix",{serviceId:(null===(o=this.offer)||void 0===o?void 0:o.msisdn)||(null===(r=this.offer)||void 0===r?void 0:r.contractNo),addonName:"EN"===this.commonService.getLanguage()?this.offer.billingProductDisplayNameEN||this.offer.textWebEn:this.offer.billingProductDisplayName||this.offer.textWeb}):"GR"===t.v.defaultLang?"1975"!==this.offer.billingProductCode&&"2054"!==this.offer.billingProductCode?(null===(i=null==this?void 0:this.offer)||void 0===i?void 0:i.orderDate)?this.trs.trsTsParams("addonCard.deactivationConfirmationDialogDesc",{addonName:"EN"===this.commonService.getLanguage()?this.offer.billingProductDisplayNameEN:this.offer.billingProductDisplayName,deactivationDate:this.offer.orderDate?this.commonService.formatDate(this.offer.orderDate,"dd. MM. yyyy"):"/"}):this.trs.trsTsParams("addonCard.deactivationConfirmationDialogDescWithoutDate",{addonName:"EN"===this.commonService.getLanguage()?this.offer.billingProductDisplayNameEN:this.offer.billingProductDisplayName}):this.trs.trsTsParams("addonCard.deactivationConfirmationDialogDescExtra300",{addonName:"EN"===this.commonService.getLanguage()?this.offer.billingProductDisplayNameEN:this.offer.billingProductDisplayName}):"HR"===t.v.defaultLang?this.trs.trsTsParams("addonCard.confirmationDialogDescDeact",{addonAction:this.trs.trsTs("addonCard.deactivated"),addonName:"EN"===this.commonService.getLanguage()?this.offer.billingProductDisplayNameEN||this.offer.textWebEn:this.offer.billingProductDisplayName||this.offer.textWeb}):"BG"!==t.v.defaultLang?this.trs.trsTsParams("addonCard.confirmationDialogDesc",{addonAction:this.trs.trsTs("addonCard.deactivated"),addonName:"EN"===this.commonService.getLanguage()?this.offer.billingProductDisplayNameEN||this.offer.textWebEn:this.offer.billingProductDisplayName||this.offer.textWeb}):this.trs.trsTsParams("addonCard.confirmationDialogDescFixDeactivated",{addonName:"EN"===this.commonService.getLanguage()?this.offer.billingProductDisplayNameEN||this.offer.textWebEn:this.offer.billingProductDisplayName||this.offer.textWeb})}updateAddonVariableData(e){let n,o=[],t=[];if(this.singleAddon.serviceTypeClean===c.L.TELEVISION?(o=this.customerService.filteredOptionalB
1pDataTelevision,t=this.customerService.filteredActiveOptionalBpDataTelevision):this.singleAddon.serviceTypeClean===c.L.INTERNET?(o=this.customerService.filteredOptionalBpDataInternet,t=this.customerService.filteredActiveOptionalBpDataInternet):this.singleAddon.serviceTypeClean===c.L.TELEPHONY&&(o=this.customerService.filteredOptionalBpDataTelephony,t=this.customerService.filteredActiveOptionalBpDataTelephony),"A"===e){if(o&&t&&(n=o.findIndex(e=>e.billingProductCode===this.singleAddon.billingProductCode),-1!==n)){const[e]=o.splice(n,1);e.bpEnabled=this.singleAddon.bpEnabled,e.orderDate=this.singleAddon.orderDate,t.push(e)}}else if("D"===e&&o&&t&&(n=t.findIndex(e=>e.billingProductCode===this.singleAddon.billingProductCode),-1!==n)){const[e]=t.splice(n,1);e.bpEnabled=this.singleAddon.bpEnabled,e.orderDate=this.singleAddon.orderDate,o.push(e)}}confirmationTitleError(e){switch(e.status){case 417:case 419:case 430:return this.trs.trsTs("httpErrorCode.addon417Title");default:return this.trs.trsTs("messagesPages.errorTitle")}}confirmationDescriptionError(e){switch(e.status){case 401:return this.trs.trsTs("httpErrorCode.addon401");case 406:return this.trs.trsTs("httpErrorCode.addon406");case 409:return this.trs.trsTs("httpErrorCode.addon409");case 410:return this.trs.trsTs("httpErrorCode.addon410");case 411:return this.trs.trsTs("httpErrorCode.addon411");case 412:return this.trs.trsTs("httpErrorCode.addon412");case 413:return this.trs.trsTs("httpErrorCode.addon413");case 414:return this.trs.trsTs("httpErrorCode.addon414");case 416:return this.trs.trsTs("httpErrorCode.addon416");case 417:return this.trs.trsTs("httpErrorCode.addon417");case 419:return this.trs.trsTs("httpErrorCode.addon419");case 420:return this.trs.trsTs("httpErrorCode.addon420");case 421:return this.trs.trsTs("httpErrorCode.addon421");case 422:return this.trs.trsTs("httpErrorCode.addon422");case 423:return this.trs.trsTs("httpErrorCode.addon423");case 424:return this.trs.trsTs("httpErrorCode.addon424");case 425:return this.trs.trsTs("httpErrorCode.addon425");case 426:return this.trs.trsTs("httpErrorCode.addon426");case 427:return this.trs.trsTs("httpErrorCode.addon427");case 428:return this.trs.trsTs("httpErrorCode.addon428");case 429:return this.trs.trsTs("httpErrorCode.addon429");case 430:return this.trs.trsTs("httpErrorCode.addon430");case 431:return this.trs.trsTs("httpErrorCode.addon431");case 432:return this.trs.trsTs("httpErrorCode.addon432");default:return this.trs.trsTs("httpErrorCode.default")}}convertStringToNumber(e){return e?Number(null==e?void 0:e.replace(",",".")).toFixed(2):"0,00"}goToNewDevice(){window.open(this.offer.device_offer_link,"_blank")}goToNearestStoreSection(){this.router.navigate(["/support/nearest-stores"])}getDesc(e){if(e)return e.replace("UAT_DISC","")}goToOffer(e){var n;console.log("offer",e);const o={offerContract:this.offer.contractId,campaignId:this.offer.campaignId,campaignConId:this.offer.campaignConId,createSR:null===(n=this.offer)||void 0===n?void 0:n.Configuration.createSR,payerId:this.offer.payerId,forContract:this.offer.forContract,offerNum:this.offer.offerNum,isMobile:!!this.offer.forMsisdn};localStorage.setItem("selectedOffer",JSON.stringify(o)),this.router.navigate(["/service-details/offer-detail"])}hideDeactivateBtn(e){var n,o,r,i,l,f,s,c;const u=new Date;let d=!1;const g=this.isBooleanString(null===(n=this.offer)||void 0===n?void 0:n.canDeactivate),p=this.isValidDateFormat(null===(o=this.offer)||void 0===o?void 0:o.canDeactivate);if((null===(r=this.offer)||void 0===r?void 0:r.canDeactivate)&&"string"==typeof this.offer.canDeactivate)if(g)d="true"===this.offer.canDeactivate.toLowerCase();else if(p){const e=new Date(this.offer.canDeactivate);d="BG"===t.v.defaultLang&&u<e}if("BG"===t.v.defaultLang)return!(!(null===(i=this.offer)||void 0===i?void 0:i.deactivateBtn)||"false"!==(null===(l=this.offer)||void 0===l?void 0:l.deactivateBtn)||this.offer.bpEnabled!==a.$.TRUE)||!!p&&d;{if(e!==a.$.TRUE)return!1;const n=0===Number(null===(f=this.offer)||void 0===f?void 0:f.billingProductPrice)||0===Number(null===(s=this.offer)||void 0===s?void 0:s.billingProductPriceForCustomer);return"GR"===t.v.defaultLang?n||d||"false"===(null===(c=this.offer)||void 0===c?void 0:c.deactivateBtn):n||d}}isValidDateFormat(e){return e?/^\d{2}\/\d{2}\/\d{4} \d{2}:\d{2}:\d{2}$/.test(e)&&!isNaN(new Date(e).getTime()):void 0}isBooleanString(e){if(e)return"true"===e.toLowerCase()||"false"===e.toLowerCase()}goToNoteLink(e){window.open(e,"_blank")}hidePlanBtn(e){return(""===(null==e?void 0:e.offer__pp_discount_duration_months)||"0"===(null==e?void 0:e.offer__pp_discount_duration_months))&&"1"===(null==e?void 0:e.offer__hw_offer_indicator)}navigateToOfferCallback(e,n){var o,r,i,l,f,a,s,c,u;if(!(null==e?void 0:e.offer_link))return void this.openErrorDialogOfferCallback(this.trs.trsTs("offerCardNew.noOfferCallbackLink"));const d=`${t.v.targetUrlOfferCallback}${e.offer_link}`;console.log("targetUrl",d);const g=document.createElement("form");g.method="POST",g.action=d,g.target="_blank";const p={},m=(e,n)=>{if(null!=n&&""!==n){const o=document.createElement("input");o.type="hidden",o.name=e,o.value=n,g.appendChild(o),p[e]=n}};m("identity",null===(r=null===(o=this.authService)||void 0===o?void 0:o.userAuth)||void 0===r?void 0:r.identity),m("accessToken",null===(l=null===(i=this.authService)||void 0===i?void 0:i.userAuth)||void 0===l?void 0:l.accessToken),m("refreshToken",null===(a=null===(f=this.authService)||void 0===f?void 0:f.userAuth)||void 0===a?void 0:a.refreshToken),m("userType",null===(c=null===(s=this.authService)||void 0===s?void 0:s.userAuth)||void 0===c?void 0:c.userType),m("offerId",null==e?void 0:e.offer_id),m("tariffPartNumber",null==e?void 0:e.tariff_plan_part_num),m("configurationId",null==e?void 0:e.configuration_id),m("serviceId",(null==e?void 0:e.forMsisdn)||(null==e?void 0:e.forContract)),m("returnUrl",`${t.v.targetUrlOfferCallback}/account/offers`),n&&((null==e?void 0:e.ug_offer_cat)===v.CAT_4||(null==e?void 0:e.ug_offer_cat)===v.CAT_3)&&m("deviceMaterialNumber",null==e?void 0:e.offer_device_id),(null===(u=Object.keys(p))||void 0===u?void 0:u.length)>0?(console.log("formData",p),document.body.appendChild(g),g.submit(),document.body.removeChild(g)):this.openErrorDialogOfferCallback(this.trs.trsTs("offerCardNew.noValidParameters"))}openErrorDialogOfferCallback(e){this.dialog.open(l.k,{width:"812px",hasBackdrop:!1,panelClass:["global-dialog","gd-v3","text-align-center","confirmation-dialog-v3"],data:{image:"assets/img/unsuccess-dialog-icon.svg",innerDe
1sc:e,close:this.trs.trsTs("close")}}).afterClosed().subscribe(()=>{})}navigateToRenewPlan(){this.router.navigate(["/service-details/renew-plan-addons-devices"])}getMainImage(e){const n=(null==e?void 0:e.mobileImage)||(null==e?void 0:e.desktopImage);return n&&((null==n?void 0:n.startsWith("http://"))||(null==n?void 0:n.startsWith("https://")))?n:`${t.v.resourceServer}${n}`}showPrice(e,n,o,r,i){return("BG"!==t.v.defaultLang||i!==a.$.TRUE||r!==_.G.MOBILE_PREPAID&&r!==_.G.MOB_DATA_PREPAID)&&(n?null!==e&&null!==n&&"1982"!==o&&"1983"!==o:null!==e&&"1982"!==o&&"1983"!==o)}}return e.\u0275fac=function(n){return new(n||e)(x.Y36(b.uw),x.Y36(C.v),x.Y36(A.D),x.Y36(Z.F0),x.Y36(P.v),x.Y36(y.J),x.Y36(d.qu),x.Y36(T.e))},e.\u0275cmp=x.Xpm({type:e,selectors:[["app-offer-tile-card"]],viewQuery:function(e,n){if(1&e&&x.Gf(D,5),2&e){let e;x.iGM(e=x.CRH())&&(n.readTrigger=e.first)}},inputs:{offer:"offer",isMobileContract:"isMobileContract",displayType:"displayType",contractsLength:"contractsLength",msisdn:"msisdn",contractNo:"contractNo",headerBtn:"headerBtn",hasBottomLabel:"hasBottomLabel",hasNewCustomerOptions:"hasNewCustomerOptions",promoAddon:"promoAddon",dotIndicator:"dotIndicator"},decls:4,vars:4,consts:[[4,"ngIf"],["class","font-size-18 font-bold mb-10",4,"ngIf"],["class","offer-card purchase-card",4,"ngIf"],[1,"font-size-18","font-bold","mb-10"],[1,"offer-card","purchase-card"],[1,"heading"],[1,"left-col"],[1,"icon-wrap"],["alt","offer",3,"src"],["class","font-size-18",4,"ngIf"],["class","right",4,"ngIf"],[1,"content",3,"ngClass"],["class","left-col",4,"ngIf"],[4,"ngIf","ngIfElse"],["deviceAfterwards",""],[1,"offer-read-trigger"],["readTrigger",""],[1,"font-size-18"],["class","alert offer-indicator",4,"ngIf"],[1,"alert","offer-indicator"],[1,"right"],[1,"font-size-16"],[1,"img-wrap"],["alt","img",3,"src"],[1,"right-col"],["class","font-size-14 mb-10",4,"ngIf"],[1,"font-size-16","font-bold","mb-15"],[1,"font-size-14","font-bold","mb-10","flex-img"],[1,"lh-0"],["src","assets/img/total-offer-icon.svg","alt","icon"],[3,"class",4,"ngIf"],[1,"summary-list","mb-10","font-size-14"],[3,"ngClass"],[1,"dt"],["class","dd",4,"ngIf"],["class","font-bold font-size-14 text-underline cursor-pointer",3,"click",4,"ngIf"],["class","discount-wrapper",4,"ngIf"],["class","mt-40 submit-wrapper",4,"ngIf"],[1,"font-size-14","mb-10"],[1,"total-saving"],[1,"font-size-14","font-bold"],["noConversion",""],[1,"currency"],[1,"dd"],["allowanceNotZero",""],["class","old-price",4,"ngIf"],[1,"old-price"],[1,"font-size-14","font-bold","mb-15","mt-15"],[1,"summary-list","additional-list","font-size-14"],[1,"font-bold","font-size-14","text-underline","cursor-pointer",3,"click"],[1,"discount-wrapper"],["bundleFMC",""],["class","font-size-12 font-light mb-10",4,"ngIf"],["class","mat-accordion-v3 custom-arrow",4,"ngIf"],[1,"font-size-12","font-light","mb-10"],[1,"mat-accordion-v3","custom-arrow"],[3,"collapsedHeight","expandedHeight"],[1,"discount-list"],[3,"ngClass",4,"ngFor","ngForOf"],[1,"cur"],[1,"mt-40","submit-wrapper"],[1,"buttons-wrap"],["otherCountires",""],[3,"class","click",4,"ngIf"],["class","radius16 btn-2-v3 bg-black btn-with-arrow",3,"click",4,"ngIf"],[3,"click"],["alt","arrow",3,"src"],[1,"radius16","btn-2-v3","bg-black","btn-with-arrow",3,"click"],["src","assets/img/offer-right-arrow.svg","alt","arrow"],["restrictedOffer",""],["class","radius16 btn-2-v3 bg-white black-border btn-with-arrow",3,"click",4,"ngIf"],[1,"radius16","btn-2-v3","bg-white","black-border","btn-with-arrow",3,"click"],["src","assets/img/lock-icon-offer.svg","alt","arrow"],["class","font-size-14",4,"ngIf"],[1,"font-size-14"],["class","bottom",4,"ngIf"],[1,"content"],["class","equipment-devilery-block",4,"ngIf"],[1,"bottom"],[1,"font-size-13"],[1,"font-size-14","mb-16"],[1,"font-bold","font-size-14","mb-8"],[1,"summary-list","font-size-14"],["class","right-buttons-alignment text-align-right mt-40",4,"ngIf"],["class","reset-btn info-btn",3,"click",4,"ngIf"],[1,"reset-btn","info-btn",3,"click"],["src","assets/img/info-icon-2.svg","alt","info"],[1,"dt","font-bold"],[1,"dt","blue-color-7"],[1,"right-buttons-alignment","text-align-right","mt-40"],[1,"radius16","btn-2-v3","bg-black",3,"click"],[1,"equipment-devilery-block"],[1,"font-size-14","font-bold","mb-12"],[1,"font-size-14","mb-12"],[3,"formGroup"],["class","inputs-wrap",4,"ngIf"],[1,"buttons-wrap","centered"],[1,"inputs-wrap"],["class","form-field-holder mb-20",4,"ngIf"],[1,"form-field-holder","mb-20"],["floatLabel","never"],["matInput","","formControlName","contactPhone",3,"type"],["class","error-v3 bottom-reset font-light font-size-12",4,"ngIf"],[1,"error-v3","bottom-reset","font-light","font-size-12"],[1,"reset-btn","w100","delivery-link",3,"click"],["matInput","","readonly","","formControlName","deliveryAddress",3,"type"],["matInput","","formControlName","comments",3,"type"],["class","badge",4,"ngIf"],["class","summary-list font-size-14",4,"ngIf"],["class","font-size-14 mb-16 mt-16",4,"ngIf"],["class","w100 mb-16 mt-16",4,"ngIf"],[1,"badge"],["regularAddon",""],["class","singe-dt",4,"ngIf"],[1,"singe-dt"],[1,"dt","discount-wrapper"],[1,"discount-icon-wrap"],["src","assets/img/offers-check.png","alt","Offers check"],["class","dt text-capitalize",4,"ngIf"],["class","dt",4,"ngIf"],[1,"dt","text-capitalize"],["class","blue-color",4,"ngIf"],["class","shop-icon-wrap",4,"ngIf"],[1,"blue-color"],[1,"shop-icon-wrap"],["src","assets/img/shopping-bag-check.svg","alt","shoping bag"],["class","dt discount-wrapper",4,"ngIf"],["class","discount-label",3,"ngClass",4,"ngIf"],["src","assets/img/serial-number-bp.png","alt","Serial Number"],["showDate",""],["class","discount-icon-wrap",3,"ngClass",4,"ngIf"],[1,"discount-icon-wrap",3,"ngClass"],[1,"discount-label",3,"ngClass"],[1,"font-size-14","mb-16","mt-16"],[1,"w100","mb-16","mt-16"],[1,"font-size-12","font-light","text-align-right"],[1,"bg-black","btn-2-v3","radius16","ladda-fix-v3",3,"ladda","disabled","click"],["src","assets/img/infinite-icon.svg","alt","infinite",1,"infinite-icon"],[1,"font-size-14","mb-16","with-link",3,"innerHTML"],["class","w100 mb-10",4,"ngIf"],["serviceLinkWeb",""],[1,"w100","mb-10"],[1,"font-size-12","font-light","text-align-right",3,"innerHTML"],["externalLinkWeb",""]],template:function(e,n){1&e&&(x.YNc(0,ln,3,2,"ng-container",0),x.YNc(1,On,20,9,"ng-container",0),x.YNc(2,Zo,25,17,"ng-container",0),x.YNc(3,Uo,34,19,"ng-container",0)),2&e&&(x.Q6J("ngIf","GR"!==n.config.defaultLang&&n.displayType===n.eOfferDispayType.OFFER),x.xp6(1),x.Q6J("ngIf","GR"===n.config.defaultLang&&n.displayType===n.eOfferDispayType.OFFER),x.xp6(1),x.Q6J("ngIf",n.displayType===n.eOfferDispayType.ADDON),x.xp6(1),x.Q6J("ngIf",n.displayType===n.eOfferDispayType.PROMOTION))},directives:[N.O5,N.mk,w.pp,w.ib,w.yz,w.yK,N.sg,O.Z,d._Y,d.JL,d.sg,I.KE,S.Nt,d.Fj,d.JJ,d.u,I.TO,q.d_],pipes:[M.X$,E.i,N.gd],styles:['.flex-layout[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.flex-center[_ngcontent-%COMP%]{align-items:center}.justify-center[_ngcontent-%COMP%]{justify-content:center}.justify-end[_ngcontent-%COMP%]{justify-content:flex-end}.space-between[_ngcontent-%COMP%]{justify-content:space-between}.direction-col[_ngcontent-%COMP%]{flex-direction:column-reverse}.app-style[_ngcontent-%COMP%], .equipment-devilery-block[_ngcontent-%COMP%], .offer-card[_ngcontent-%COMP%]{background:white;border-radius:8px}.app-margin[_ngcontent-%COMP%]{margin-bottom:20px}@media only screen and (min-width: 1000px){.app-margin[_ngcontent-%COMP%]{margin-bottom:20px}}.app-padding[_ngcontent-%COMP%]{padding:20px 15px}[_nghost-%COMP%]{display:block;margin-bottom:20px}.heading[_ngcontent-%COMP%], .content[_ngcontent-%COMP%]{padding-left:14px;padding-right:14px}@media only screen and (min-width: 600px){.heading[_ngcontent-%COMP%], .content[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px}}.heading[_ngcontent-%COMP%]   .discount-label[_ngcontent-%COMP%], .content[_ngcontent-%COMP%]   .discount-label[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:12px;color:#333}.heading[_ngcontent-%COMP%]   .discount-label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .content[_ngcontent-%COMP%]   .discount-label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding-left:8px}.heading[_ngcontent-%COMP%]   .discount-label[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .content[_ngcontent-%COMP%]   .discount-label[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:16px}.content[_ngcontent-%COMP%]{position:relative}.heading[_ngcontent-%COMP%]{padding-top:14px;padding-bottom:14px;border-bottom:1px solid #E9EDF5;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;grid-gap:10px;gap:10px}.heading[_ngcontent-%COMP%]   .left-col[_ngcontent-%COMP%]{display:flex;align-items:center}.heading[_ngcontent-%COMP%]   .left-col[_ngcontent-%COMP%]   .icon-wrap[_ngcontent-%COMP%]{max-width:35px;margin-right:10px}@media only screen and (min-width: 600px){.heading[_ngcontent-%COMP%]   .left-col[_ngcontent-%COMP%]   .icon-wrap[_ngcontent-%COMP%]{max-width:47px;margin-right:20px}}.heading[_ngcontent-%COMP%]   .left-col[_ngcontent-%COMP%]   .badge[_ngcontent-%COMP%]{border-radius:4px;
1height:20px;font-size:12px;text-transform:uppercase;color:#000;font-weight:600;display:flex;align-items:center;justify-content:center;min-width:46px;padding:1px 2px;background-color:#0cf0af;margin-left:5px}.heading[_ngcontent-%COMP%]   .bottom[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:flex-end;margin-top:-10px}.heading[_ngcontent-%COMP%]   .alert[_ngcontent-%COMP%]{width:8px;height:8px;border-radius:50%;display:inline-flex;margin-left:8px;transform:translateY(-2px)}.heading[_ngcontent-%COMP%]   .alert.offer-indicator[_ngcontent-%COMP%]{background:#39D4D9}.content[_ngcontent-%COMP%]{padding-top:28px;padding-bottom:28px}.content.align-items-center[_ngcontent-%COMP%]{align-items:center}.content[_ngcontent-%COMP%]   .left-col[_ngcontent-%COMP%]{margin-bottom:20px}@media only screen and (min-width: 768px){.content[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-between}.content[_ngcontent-%COMP%]   .left-col[_ngcontent-%COMP%], .content[_ngcontent-%COMP%]   .right-col[_ngcontent-%COMP%]{flex:1}.content[_ngcontent-%COMP%]   .left-col[_ngcontent-%COMP%]{padding-right:11px;margin-bottom:0}.content[_ngcontent-%COMP%]   .right-col[_ngcontent-%COMP%]{padding-left:11px}}.content.device-afterwards-wrap[_ngcontent-%COMP%]   .right-col[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between}.btn-with-arrow[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;grid-gap:11px;gap:11px}.img-wrap[_ngcontent-%COMP%], .icon-wrap[_ngcontent-%COMP%]{line-height:0}.img-wrap[_ngcontent-%COMP%]{position:relative;border-radius:8px;overflow:hidden}.image-description[_ngcontent-%COMP%]{line-height:normal;line-height:initial;position:absolute;left:10px;right:5px;bottom:10px;font-family:"Manrope",sans-serif;font-weight:500;font-size:12px;color:#fff}@media only screen and (min-width: 400px){.image-description[_ngcontent-%COMP%]{left:15px;bottom:15px;font-size:14px}}@media only screen and (min-width: 1300px){.image-description[_ngcontent-%COMP%]{left:24px;right:10px;bottom:30px;font-size:18px}}.offer-card[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]   .right-col[_ngcontent-%COMP%]{padding-left:19px}.addon-card[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]   .left-col[_ngcontent-%COMP%]{padding-right:19px}.addon-card[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]   .right-col[_ngcontent-%COMP%]{padding-left:19px}.offer-card.has-delivery[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.flex-img[_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:3px;gap:3px}.summary-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-between}.summary-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-child){margin-bottom:5px}.summary-list[_ngcontent-%COMP%]   li.discount[_ngcontent-%COMP%]{align-items:flex-end}.summary-list[_ngcontent-%COMP%]   li.singe-dt[_ngcontent-%COMP%]{justify-content:flex-end}.summary-list[_ngcontent-%COMP%]:not(.additional-list)   .dd[_ngcontent-%COMP%]{font-weight:700}.summary-list[_ngcontent-%COMP%]   .dd[_ngcontent-%COMP%]{text-align:right}.summary-list[_ngcontent-%COMP%]   .info-btn[_ngcontent-%COMP%]{margin-left:7px}.summary-list[_ngcontent-%COMP%]   .info-btn[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:14px}.shop-icon-wrap[_ngcontent-%COMP%]{line-height:0;margin-left:8px}.shop-icon-wrap[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:11px;height:12px}.dt.discount-wrapper[_ngcontent-%COMP%]{font-family:"Manrope",sans-serif;font-weight:300;font-size:12px;display:flex;align-items:center}.dt.discount-wrapper[_ngcontent-%COMP%]   .discount-label[_ngcontent-%COMP%]{font-family:"Manrope",sans-serif;font-weight:500;padding:2px 12px;display:flex;align-items:center;background-color:#0cf0af;border-radius:50px}.discount-icon-wrap[_ngcontent-%COMP%]{line-height:0;margin-right:8px}.discount-icon-wrap[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:16px;height:15px}.equipment-devilery-block[_ngcontent-%COMP%]{padding:20px 24px;border-top-left-radius:0;border-top-right-radius:0;border-top:1px solid #E9EDF5}.equipment-devilery-block[_ngcontent-%COMP%]   .inputs-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-between}.equipment-devilery-block[_ngcontent-%COMP%]   .form-field-holder[_ngcontent-%COMP%]{width:100%}@media only screen and (min-width: 600px){.equipment-devilery-block[_ngcontent-%COMP%]   .form-field-holder[_ngcontent-%COMP%]{width:calc(50% - 15px)}}@media only screen and (min-width: 1300px){.equipment-devilery-block[_ngcontent-%COMP%]   .form-field-holder[_ngcontent-%COMP%]{width:calc(33.333% - 20px)}}.equipment-devilery-block[_ngcontent-%COMP%]   .form-field-holder[_ngcontent-%COMP%]  .mat-form-field-infix{border:1px solid #ABBDDE;padding-top:14px;padding-bottom:14px}.equipment-devilery-block[_ngcontent-%COMP%]   .form-field-holder[_ngcontent-%COMP%]  .mat-form-field-infix label{margin-bottom:0}.equipment-devilery-block[_ngcontent-%COMP%]   .form-field-holder[_ngcontent-%COMP%]  .show-error .mat-form-field-infix{border-color:#f84343}.total-saving[_ngcontent-%COMP%]{min-height:48px;padding:5px 12px;display:flex;align-items:center;justify-content:space-between;border-radius:8px;background-color:#0cf0af;margin-bottom:10px}.total-saving[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px;font-weight:700}.buttons-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.buttons-wrap[_ngcontent-%COMP%]:not(.centered){flex-direction:column}@media only screen and (min-width: 600px){.buttons-wrap[_ngcontent-%COMP%]:not(.centered){flex-direction:row;justify-content:space-between}}@media only screen and (min-width: 768px){.buttons-wrap[_ngcontent-%COMP%]:not(.centered){flex-direction:column}}@media only screen and (min-width: 1300px){.buttons-wrap[_ngcontent-%COMP%]:not(.centered){flex-direction:row}}@media only screen and (min-width: 1300px){.buttons-wrap[_ngcontent-%COMP%]:not(.centered):has(:nth-child(2)) > *[_ngcontent-%COMP%]:nth-child(1), .buttons-wrap[_ngcontent-%COMP%]:not(.centered):has(:nth-child(2)) > *[_ngcontent-%COMP%]:nth-child(2){_flex:1 1 calc(50% - 5px);_max-width:calc(50% - 5px);_min-width:150px}}.buttons-wrap.centered[_ngcontent-%COMP%]{justify-content:center}.buttons-wrap.centered[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:80%}@media only screen and (min-width: 600px){.buttons-wrap.centered[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:50%}}.right-buttons-alignment[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px}.submit-wrapper[_ngcontent-%COMP%]{display:block}.submit-wrapper[_ngcontent-%COMP%]   .buttons-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;grid-gap:10px;gap:10px;justify-content:flex-end;flex-direction:row}.submit-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding-left:26px;padding-right:26px}.additional-monthly-payment[_ngcontent-%COMP%]{padding-bottom:18px;margin-bottom:15px;border-bottom:1px solid rgba(112,112,112,.33)}.old-price[_ngcontent-%COMP%]{font-size:12px;text-decoration:line-through}.delivery-link[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{cursor:pointer}.infinite-icon[_ngcontent-%COMP%]{position:absolute;right:0;top:0}.discount-wrapper[_ngcontent-%COMP%]     .mat-accordion-v3 .mat-expansion-panel-header{padding:0 20px 0 0}.discount-wrapper[_ngcontent-%COMP%]     .mat-accordion-v3 .mat-expansion-panel{border:none}.discount-wrapper[_ngcontent-%COMP%]     .mat-accordion-v3 .mat-expansion-panel .mat-expansion-panel-header-title{justify-content:flex-end;font-size:12px;font-weight:300;text-decoration:underline}.discount-wrapper[_ngcontent-%COMP%]     .mat-accordion-v3.custom-arrow .mat-expansion-indicator{left:auto;right:3px;top:2px}.discount-wrapper[_ngcontent-%COMP%]     .mat-accordion-v3.custom-arrow .mat-expansion-indicator:after{border-style:solid;border-width:0 1px 1px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;border-color:#000}.discount-wrapper[_ngcontent-%COMP%]     .mat-accordion-v3.custom-arrow .mat-expanded .mat-expansion-indicator{top:7px}.discount-wrapper[_ngcontent-%COMP%]     .mat-accordion-v3 .mat-expansion-panel-body{padding:15px 0 0}.discount-wrapper[_ngcontent-%COMP%]   .discount-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;grid-gap:10px;gap:10px;justify-content:space-between}.discount-wrapper[_ngcontent-%COMP%]   .discount-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-child){margin-bottom:10px}.discount-wrapper[_ngcontent-%COMP%]   .discount-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dt[_ngcontent-%COMP%]{font-weight:400;font-size:12px;color:#575757}.discount-wrapper[_ngcontent-%COMP%]   .discount-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dd[_ngcontent-%COMP%]{font-weight:700;font-size:12px;color:#575757}.discount-wrapper[_ngcontent-%COMP%]   .discount-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .dd[_ngcontent-%COMP%]   .cur[_ngcontent-%COMP%]{font-weight:400}.discount-wrapper[_ngcontent-%COMP%]   .discount-list[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]   .dt[_ngcontent-%COMP%], .discount-wrapper[_ngcontent-%COMP%]   .discount-list[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]   .dd[_ngcontent-%COMP%]{font-weight:700;color:#212121}  .with-link a{color:#03f!important;text-decoration:underline}.offer-read-trigger[_ngcontent-%COMP%]{height:1px;width:100%}']}),e})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.