!function(){"use strict";angular.module("myProximus.glp.award",[]).constant("AwardConstants",{FILES:[]})}(); !function(){"use strict";function r(r,e,t,a,i,n){function d(){var d,o=r.defer(),c=t.getAwardOrder(),u={awardId:c.awardId};return d=t.isBirthdayAward()?i.createEntity(a.birthdayorder_v1,u):i.createEntity(a.order_v1,u),t.setAwardOrderToOrderEntity(d),i.updateEntity(d,u).subscribe(function(){o.resolve()},function(r){r.errorData?"EMAIL-INVALID"===r.errorData.code&&n.setEmailErrorAlert(!0):(e.error("The order confirmation has failed for entity: "+r),o.reject(!1))}),o.promise}var o={execute:d};return o}commangular.create("ConfirmAwardOrderCommand",r),r.$inject=["$q","$log","AwardOrderingService","GlpEntityConfig","$entityManager","StepIndicatorService"]}(); !function(){"use strict";function r(r,e,a,t,d){function i(){var i=r.defer();d.initializeAwardOrderFlow(t);var n,s={awardId:t.award.awardId};return t.isBirthdayAward?(n=e.createEntity(a.birthdayorder_v1,s),d.setBirthdayAward(!0)):(n=e.createEntity(a.order_v1,s),d.setBirthdayAward(!1)),n.value=d.getCreateOrderRequestBody(t),e.saveEntity(n,s).subscribe(function(r){var e=r.value;_.isEqual(t.award.type,"PS_POSTPAID")&&(_.isEmpty(e.orderData)||_.isEmpty(e.orderData.msisdns))?i.reject(!1):(d.setAwardOrder(r.value),i.resolve())},function(){i.reject(!1)}),i.promise}var n={execute:i};return n}commangular.create("CreateAwardOrderCommand",r),r.$inject=["$q","$entityManager","GlpEntityConfig","selectedPricePlanDTO","AwardOrderingService","$stateParams"]}(); !function(){"use strict";function e(e,t,a,r,n){return{execute:function(){var i=e.defer(),c={customerId:t.customerId};return a.getEntity(n.awards_v1,c).subscribe(function(e){r.setAwards(e.value._embedded["aw:award"]),r.setAwardsEligibility(e.value.eligibleRedeem)},function(e){i.reject(e)},function(){i.resolve(r.data.awards)}),i.promise}}}commangular.create("GetAwardCatalogCommand",e,{resultKey:"awards"}),e.$inject=["$q","customerAccount","$entityManager","AwardCatalogService","GlpEntityConfig"]}(); !function(){"use strict";function e(e,a,s,t,n,r,o){return{execute:function(){var g=e.defer(),c=o.getSelectedLanguage();return r.getItem("awardCatalogMessages"+c).then(function(e){n.setMessages(e),g.resolve(e)},function(){var e="myProximus.myAdvantages.awardCatalog.messages";a.dispatch(s.GET_TRANSLATIONS.EVENT,{key:e,depth:"2"}).then(function(e){n.filterCustomerMessages(e.translations,t),r.setItem("awardCatalogMessages"+c,n.data.messages,proximusConfig.STORAGESTRATEGY.SESSIONSTORAGE),g.resolve(n.data.messages)},function(e){g.reject(e)})}),g.promise}}}commangular.create("GetAwardCatalogMessagesCommand",e,{resultKey:"awardCatalogMessages"}),e.$inject=["$q","$commangular","CommandConfig","customerAccount","AwardCatalogMessageService","$storage","LanguageService"]}(); !function(){"use strict";function e(e,t,r,a,n,c){return{execute:function(){var u=e.defer(),i={customerId:t.customerId,awardId:r};return a.getEntity(c.award_v1,i).subscribe(function(e){n.setAward(e.value)},function(e){u.reject(e)},function(){u.resolve(n.data.award)}),u.promise}}}commangular.create("GetAwardDetailCommand",e,{resultKey:"award"}),e.$inject=["$q","customerAccount","awardId","$entityManager","AwardDetailService","GlpEntityConfig"]}(); !function(){"use strict";function e(e,t,n,r,a){return{execute:function(){var u=e.defer(),c={customerId:t.customerId,awardId:n},o={value:void 0};return r.getEntity(a.award_v1,c).subscribe(function(e){o.value=e.value},function(e){u.reject(e)},function(){u.resolve(o.value)}),u.promise}}}commangular.create("GetAwardImageCommand",e,{resultKey:"awardImage"}),e.$inject=["$q","customerAccount","awardId","$entityManager","GlpEntityConfig"]}(); !function(){"use strict";function t(t,e,a,r,n){return{execute:function(){var c=t.defer(),i={awardId:e};return a.getEntity(n.stock_v1,i).subscribe(function(t){r.updateAwardStock(t.value)},function(t){c.reject(t)},function(){c.resolve(r.data.award)}),c.promise}}}commangular.create("GetAwardStockCommand",t,{resultKey:"award"}),t.$inject=["$q","awardId","$entityManager","AwardDetailService","GlpEntityConfig"]}(); !function(){"use strict";function t(t,e,r,a,n,c){return{execute:function(){var i=t.defer(),u={customerId:e.customerId,awardId:r};return a.getEntity(c.birthdayaward_v1,u).subscribe(function(t){n.setAward(t.value)},function(t){i.reject(t)},function(){i.resolve(n.data.award)}),i.promise}}}commangular.create("GetBirthdayAwardDetailCommand",t,{resultKey:"award"}),t.$inject=["$q","customerAccount","awardId","$entityManager","AwardDetailService","GlpEntityConfig"]}(); !function(){"use strict";function t(t,e,r,n){return{execute:function(){var c=t.defer(),i={customerId:r.customerId};return e.getEntity(n.birthdayawards_v1,i).subscribe(function(t){c.resolve(t)},function(t){c.reject(t)}),c.promise}}}commangular.create("GetBirthdayAwardsCommand",t,{resultKey:"birthdayAwards"}),t.$inject=["$q","$entityManager","customerAccount","GlpEntityConfig"]}(); !function(){"use strict";function t(t,e,a,r,n){return{execute:function(){var i=t.defer(),c={awardId:e};return a.getEntity(n.birthdaystock_v1,c).subscribe(function(t){r.updateAwardStock(t.value)},function(t){i.reject(t)},function(){i.resolve(r.data.award)}),i.promise}}}commangular.create("GetBirthdayAwardStockCommand",t,{resultKey:"award"}),t.$inject=["$q","awardId","$entityManager","AwardDetailService","GlpEntityConfig"]}(); !function(){"use strict";function t(t,e,n,o,r,a){return{execute:function(){var i=t.defer(),c={customerId:e.customerId};return n.getEntity(o.loyaltyProgramSubscription_v1,c).subscribe(function(t){r.setLoyaltyPoints(t.value.currentPoints),a.setLoyaltyProgram(t.value)},function(){i.reject(!1)},function(){i.resolve(r.data.loyaltyPoints)}),i.promise}}}commangular.create("GetLoyaltyPointsCommand",t,{resultKey:"loyaltyPoints"}),t.$inject=["$q","customerAccount","$entityManager","GlpEntityConfig","AwardPricePlanService","AwardCatalogMessageService"]}(); !function(){"use strict";function e(e,t){function r(){var r=t.getStep(),n="3";return _.isEqual(r,1)&&!e.data.twoStepOrderFlow&&(n="2"),n}var n={execute:r};return n}commangular.create("GetNextOrderStepCommand",e,{resultKey:"nextStep"}),e.$inject=["AwardOrderingService","StepIndicatorService"]}(); !function(){"use strict";function e(e,r,t,n,d){return{execute:function(){var c=e.defer(),m={customerId:t.customerId,filter:"recommended"};return r.getEntity(d.awards_v1,m).subscribe(function(e){n.setRecommendedAwards(e.value._embedded["aw:award"])},function(){c.reject(!1)},function(){c.resolve(n.data.recommendedAwards)}),c.promise}}}commangular.create("GetRecommendedAwardsCommand",e,{resultKey:"recommendedAwards"}),e.$inject=["$q","$entityManager","customerAccount","RecommendedAwardsService","GlpEntityConfig"]}(); !function(){"use strict";function i(i,e,t,r,n,d){return{execute:function(){var o=i.defer(),c={customerId:e.customerId,awardId:t};return r.getEntity(d.vodOrderEligibility_v1,c).subscribe(function(i){n.setVodOrderEligibility(i.value)},function(i){o.reject(i)},function(){o.resolve(n.data.award.vodOrderEligibility)}),o.promise}}}commangular.create("GetVodOrderEligibilityCommand",i,{resultKey:"vodEligibility"}),i.$inject=["$q","customerAccount","awardId","$entityManager","AwardDetailService","GlpEntityConfig"]}(); !function(){"use strict";function e(e,a,r,t,d){function i(){var r=n();e.go(r,{awardId:a.awardId,orderType:a.orderType})}function n(){var e,a=t.getStep();switch(a){case 1:e=d.data.isBirthdayAward?"glp.birthday":"glp.awardDetail";break;case 2:e=_.isUndefined(r.data.orderType)?"glp.awardDetail":"glp.orderStepOne";break;default:e="glp.awardDetail"}return e}var c={execute:i};return c}commangular.create("PreviousStepOrderFlowCommand",e),e.$inject=["$state","$stateParams","AwardOrderingService","StepIndicatorService","AwardDetailService"]}(); !function(){"use strict";function e(e,r){function a(){var a="glp.orderStepOne",t={awardId:r.data.selectedPricePlanDTO.award.awardId,orderType:r.data.orderType};e.go(a,t)}var t={execute:a};return t}commangular.create("ShowOrderStepOneCommand",e),e.$inject=["$state","AwardOrderingService"]}(); !function(){"use strict";function e(e,r,a){function t(){var t="glp.orderStepThree",d={awardId:r.awardId,orderType:a.data.orderType};e.go(t,d)}var d={execute:t};return d}commangular.create("ShowOrderStepThreeCommand",e),e.$inject=["$state","$stateParams","AwardOrderingService"]}(); !function(){"use strict";function r(r,e,a){function t(){var t="glp.orderStepTwo",d={awardId:e.awardId,orderType:a.data.orderType};r.go(t,d)}var d={execute:t};return d}commangular.create("ShowOrderStepTwoCommand",r),r.$inject=["$state","$stateParams","AwardOrderingService"]}(); !function(){"use strict";function a(){var a={restrict:"A",controller:e,replace:!0,scope:{error:"=",threshold:"="},templateUrl:"/awardCatalogTemplate"};return a}function e(a,e,r,o,s,t,i,n,d,c){function l(){i.resetFilters(),n.processAwards()}function A(){e.mpAwardCatalogData.showNoAwardsAlert=_.isEqual(e.mpAwardCatalogData.processedAwards.length,0)}function w(){e.mpAwardCatalogData.showAwardsOverview=e.mpAwardCatalogData.processedAwards.length>0}function m(r){e.mpAwardCatalogData.processedAwards=r,A(),w(),a.$broadcast("reLazyLoad")}function u(){var a,e=t.search();if(e.oos||e.pts||e.c){var r=[];e.c&&(_.isArray(e.c)?r=e.c:r.push(e.c)),a={selectedCategories:r,notEnoughPoints:!_.isUndefined(e.pts),outOfStock:!_.isUndefined(e.oos)}}return a}e.mpAwardCatalogData={componentError:void 0,processedAwards:[],showNoAwardsAlert:!1,showAwardsOverview:!1,showBadPayerAlert:!1};var g=n.subscribeAwards(function(a){if(_.isArray(a)){var e=u();i.initState(e),n.processAwards()}}),p=n.subscribeProcessedAwards(function(a){_.isArray(a)&&(m(a),window.setTimeout(function(){inception.equalize()}))}),f=n.subscribeAwardsEligibility(function(a){_.isNull(a)||a||c.showInformation("myProximus.myAdvantages.messages","myAdvantages.messages.info.notEligibleToRedeem",c.DISPLAY_CONTEXT.AUTO_REMOVE)});e.$on("$destroy",function(){g.dispose(),p.dispose(),f.dispose()}),i.setThreshold(e.threshold),_.isEqual(r.eligible,!1)&&c.showInformation("myProximus.myAdvantages.messages","myAdvantages.messages.info.awardNotEligible",c.DISPLAY_CONTEXT.AUTO_REMOVE),s.dispatch(d.GET_AWARD_CATALOG.EVENT)["catch"](function(a){_.isEqual(a.errorData.code,"46")?e.mpAwardCatalogData.showBadPayerAlert=!0:e.mpAwardCatalogData.componentError=o.error}),e.resetFilter=l}angular.module("myProximus.glp.award").directive("mpAwardCatalog",a),a.$inject=[],e.$inject=["$rootScope","$scope","$stateParams","$attrs","$commangular","$location","AwardCatalogFilterService","AwardCatalogService","AwardCommandConfig","NotificationService"]}(); !function(){"use strict";function a(){var a={restrict:"A",controller:e,templateUrl:"/awardCatalogMessageTemplate"};return a}function e(a,e,s,t,r){e.dispatch(r.GET_AWARD_CATALOG_MESSAGES.EVENT),a.mpAwardCatalogMessageData={messages:void 0},a.$watch(function(){return t.data.messages},function(e,t){_.isEmpty(e)||_.isEqual(e,t)||!_.isNull(s.getString("awardCatalogMessageClosed"))||(a.mpAwardCatalogMessageData.messages=e)}),a.closeMessage=function(){s.setString("awardCatalogMessageClosed","true"),a.mpAwardCatalogMessageData.messages=void 0}}angular.module("myProximus.glp.award").directive("mpAwardCatalogMessage",a),a.$inject=[],e.$inject=["$scope","$commangular","$sessionStorage","AwardCatalogMessageService","AwardCommandConfig"]}(); !function(){"use strict";function e(e,r,n,a){function t(n,t,o){function c(){var e=a.isElementInViewport(t[0]);e&&i(n.award)&&r.reportViewedAward(n.award)}var l=1e3;o.threshold&&(l=parseInt(o.threshold));var d=_.debounce(c,l);return angular.element(e).bind("scroll",d),n.$on("$destroy",function(){angular.element(e).unbind("scroll",d)})}function i(e){var r=n.data.loyaltyProgram.currentPoints;return e.minPoints<=r&&e.inStock}var o={replace:!0,restrict:"A",scope:{award:"=mpAwardViewedAnalyticsEvent"},link:t};return o}angular.module("myProximus.glp.award").directive("mpAwardViewedAnalyticsEvent",e),e.$inject=["$window","AwardAnalyticsService","AwardCatalogMessageService","AnalyticsService"]}(); !function(){"use strict";function a(){var a={restrict:"A",templateUrl:"/birthdayAwardsTemplate",controller:r};return a}function r(a,r,t,d,e,i,s,c,n,o){function A(a){_.isEqual(a.code,"45")?r.mpBirthdayAwardsData.componentError={errorData:{code:45}}:_.isEqual(a.code,"64")?r.mpBirthdayAwardsData.componentError={errorData:{code:64}}:_.isEqual(a.code,"65")?r.mpBirthdayAwardsData.componentError={errorData:{code:65}}:_.isEqual(a.code,"66")?r.mpBirthdayAwardsData.componentError={errorData:{code:66}}:r.mpBirthdayAwardsData.componentError=t.error,r.mpBirthdayAwardsData.showBirthdayAwards=!1}function h(a){o.data.isBirthdayAward=!0,"LOYALTY_POINTS"===a.type?e.dispatch(i.GET_BIRTHDAYAWARD_DETAIL.EVENT,{awardId:a.awardId}).then(function(){r.mpBirthdayAwardsData.selectedPricePlanDTO=o.getSelectedPricePlanDTO(o.data.award,o.data.award.pricePlans[0],1,!0),_.isUndefined(r.mpBirthdayAwardsData.selectedPricePlanDTO.pricePlan)||e.dispatch(i.START_AWARD_ORDER_FLOW.EVENT,{selectedPricePlanDTO:r.mpBirthdayAwardsData.selectedPricePlanDTO})["catch"](function(){c.dispatchWithAttributes("primary","myAdvantages.messages.technicalError.birthdayAwards")})},function(){c.dispatchWithAttributes("primary","myAdvantages.messages.technicalError.birthdayAwards")}):n.go("glp.birthdayAwardDetail",{birthdayAwardId:a.awardId})}function w(){r.mpBirthdayAwardsData.showBirthdayAwards=r.mpBirthdayAwardsData.birthdayAwards.length>0}e.dispatch(i.GET_BIRTHDAY_AWARDS.EVENT).then(function(a){_.isUndefined(a.birthdayAwards.status)||!_.isEqual(a.birthdayAwards.status,200)||_.isEmpty(a.birthdayAwards.value._embedded.error)?(s.setBirthdayAwards(a.birthdayAwards.value._embedded["aw:birthdayaward"]),w()):A(a.birthdayAwards.value._embedded.error[0])},function(a){A(a)}),r.orderBirthdayAward=h,r.mpBirthdayAwardsData={componentError:void 0,birthdayAwards:[],showBirthdayAwards:!1,selectedPricePlanDTO:{stockQuantitySelection:[1],selectedQuantity:1,pricePlan:void 0}},r.$watch(function(){return s.data.birthdayAwards},function(t){_.isArray(t)&&(r.mpBirthdayAwardsData.birthdayAwards=t,inception.clickable(".jsrs-clickable"),d(function(){inception.equalize(),a.$broadcast("reLazyLoad")}),w())})}angular.module("myProximus.glp.award").directive("mpBirthdayAwards",a),a.$inject=["$timeout"],r.$inject=["$rootScope","$scope","$attrs","$timeout","$commangular","AwardCommandConfig","BirthdayAwardsService","$errorService","$state","AwardDetailService"]}(); !function(){"use strict";function e(e,a,t,r){function d(a){_.includes(o.data.viewedAwards,a.awardId)||(i(a),o.data.viewedAwards.push(a.awardId),e.setItem("viewedAwards",o.data.viewedAwards,proximusConfig.STORAGESTRATEGY.SESSIONSTORAGE))}function i(e){var t={};t.event="award_view",t.event_detail=n(e),a.reportEvent(t)}function n(e){var a=t.data.loyaltyProgram._embedded["lp:loyaltyprogramspecification"].loyaltyProgramSpecificationId,d=r.getCustomerSubsegment();return{awardId:e.awardId,awardMainTitle:e.mainTitle,awardSubTitle:_.isUndefined(e.subTitle)?"":e.subTitle,loyaltyProgram:a,subsegment:d}}var o={reportViewedAward:d,data:{viewedAwards:[]}};return e.getItem("viewedAwards").then(function(e){o.data.viewedAwards=e}),o}angular.module("myProximus.glp.award").factory("AwardAnalyticsService",e),e.$inject=["$storage","AnalyticsService","AwardCatalogMessageService","CustomerAccountService"]}(); !function(){"use strict";function r(r,a,e,i,t){function s(r,a,e){return b.subscribe(r,a,e)}function d(r,a,e){return A.subscribe(r,a,e)}function n(r,a,e){return f.subscribe(r,a,e)}function o(r){t.data.isBirthdayAward=!1,v.data.awards=w(r),b.onNext(v.data.awards)}function c(){v.data.processedAwards=e.sortAwards(v.data.awards),A.onNext(v.data.processedAwards)}function u(r){f.onNext(r),v.data.awardsEligibility=r}function w(r){return _.forEach(r,function(r){l(r)})}function l(e){i.setAwardPromoProperties(e),r.setCash(e),r.setMinimalPricePlan(e),a.updateStockInformation(e,e._embedded["aw:stock"]),r.setEligiblePricePlans(e),r.formatPricePlans(e)}var b=new Rx.BehaviorSubject(null),A=new Rx.BehaviorSubject(null),f=new Rx.BehaviorSubject(null),v={subscribeAwards:s,subscribeProcessedAwards:d,subscribeAwardsEligibility:n,setAwards:o,setAwardsEligibility:u,processAwards:c,data:{awards:void 0,processedAwards:void 0,awardsEligibility:void 0}};return v}angular.module("myProximus.glp.award").factory("AwardCatalogService",r),r.$inject=["AwardPricePlanService","AwardStockService","AwardCatalogSortService","AwardPromoService","AwardDetailService"]}(); !function(){"use strict";function a(a,e){function s(a){i.data.messages=a}function t(a){i.data.loyaltyProgram=a}function r(a,s){var t=[];_.forEach(a.nodes,function(a){if(n(a,s)){var r={text:e.getTranslationValue(a)};t.push(r)}}),i.data.messages=t}function n(s,t){var r=!0;return _.forEach(s.nodes,function(s){var n=e.getTranslationValue(s);if(!r)return r;switch(s.name){case"subsegment":r=t.fls&&_.includes(n,t.fls.subsegment)||t.mcs&&_.includes(n,t.mcs.subsegment);break;case"loyaltyTier":r=_.includes(n,i.data.loyaltyProgram.currentTier);break;case"userType":r=_.isEqual(n,"FLS")&&t.fls&&_.isUndefined(t.mcs)||_.isEqual(n,"MCS")&&_.isUndefined(t.fls)&&t.mcs||_.isEqual(n,"FLS+MCS")&&t.fls&&t.mcs;break;case"subscriptionStatus":r=_.includes(n,i.data.loyaltyProgram.subscriptionStatus);break;case"language":r=_.includes(n,a.getSelectedLanguage());break;case"loyaltyProgram":r=_.includes(n,i.data.loyaltyProgram._embedded["lp:loyaltyprogramspecification"].loyaltyProgramSpecificationId);break;default:r=!0}}),r}var i={setMessages:s,setLoyaltyProgram:t,filterCustomerMessages:r,data:{messages:void 0}};return i}angular.module("myProximus.glp.award").factory("AwardCatalogMessageService",a),a.$inject=["LanguageService","TranslationService"]}(); !function(){"use strict";function o(o,t){function i(o){P.data.loyaltyPoints=o}function n(t){var i=o.getSegmentCurrentUser();_.isUndefined(t)||_.forEach(t.pricePlans,function(o){o.promo&&(o.promoCash=_.isEqual(i,"RES")?o.promoCashVatIncl:o.promoCashVatExcl),o.cash=_.isEqual(i,"RES")?o.cashVatIncl:o.cashVatExcl})}function r(o,t){return m(o,t)}function a(o,t){var i=o.promo?o.promoPoints:o.points;return P.data.loyaltyPoints-i*t}function e(o){return _.forEach(o.pricePlans,function(o){d(o)})}function s(o){return _.forEach(o.pricePlans,function(t){f(o,P.data.loyaltyPoints,t)})}function c(o){var t=o.pricePlans[0];f(o,P.data.loyaltyPoints,t),d(t),o.minimalPricePlan=t,o.minPoints=t.promo?t.promoPoints:t.points}function l(o,t){var i=9999,n=0;return _.isUndefined(t.vodOrderEligibility)||_.isEmpty(t.vodOrderEligibility)||(_.forEach(t.vodOrderEligibility.vodNaProfiles,function(t){n+=Math.floor((t.maxCredits-t.credits)/o.credits)}),i=n),i}function u(o,t,i){var n=t.promo?t.promoPoints:t.points,r=i>=n&&o.inStock;return!_.isUndefined(o.vodOrderEligibility)&&!_.isUndefined(o.vodOrderEligibility.vodNaProfiles)&&l(t,o)<1&&(r=!1,t.notEnoughCredits=!0),r}function m(o,i){var n="";return o.points>0&&(n+=t.format(o.points*i)),o.cash>0&&(n=n+" + "+t.formatWithCurrency(o.cash*i)),n}function d(o){o.promo&&(o.promoFormattedPoints=t.format(o.promoPoints),o.promoCash>0&&(o.promoFormattedCash=t.formatWithCurrency(o.promoCash))),o.formattedPoints=t.format(o.points),o.cash>0&&(o.formattedCash=t.formatWithCurrency(o.cash))}function f(o,t,i){_.isUndefined(t)?i.eligible=!1:i.eligible=u(o,i,t)}var P={setLoyaltyPoints:i,setCash:n,calculateTotalPoints:r,calculateRemainingPoints:a,getMaxPricePlanQuantityForCredits:l,formatPricePlans:e,setEligiblePricePlans:s,setMinimalPricePlan:c,data:{loyaltyPoints:void 0}};return P}angular.module("myProximus.glp.award").factory("AwardPricePlanService",o),o.$inject=["CustomerAccountService","NumberFormatter"]}(); !function(){"use strict";function o(){function o(o){_.isUndefined(o)||(e(o),n(o))}function e(o){if(!_.isUndefined(o.promoStartDate)&&!_.isUndefined(o.promoEndDate)&&0!==o.promoStartDate&&0!==o.promoEndDate){var e=new Date;o.promoAvailable=new Date(o.promoStartDate)<=e&&e<=new Date(o.promoEndDate),o.atLeastOnePromoPricePlan=!1}}function n(o){_.isUndefined(o.promoAvailable)||_.forEach(o.pricePlans,function(e){e.promo=o.promoAvailable&&a(e),o.atLeastOnePromoPricePlan||(o.atLeastOnePromoPricePlan=e.promo)})}function a(o){var e=!1,n=!(_.isUndefined(o.promoCashVatExcl)||_.isUndefined(o.promoCashVatIncl)||_.isUndefined(o.promoPoints));return n&&(e=!(0===o.promoCashVatExcl&&0===o.promoCashVatIncl&&0===o.promoPoints)),e}var r={setAwardPromoProperties:o};return r}angular.module("myProximus.glp.award").factory("AwardPromoService",o)}(); !function(){"use strict";function a(a,r){function t(a){a=i(a),n.data.birthdayAwards=a}function i(a){return _.forEach(a,function(a){e(a)})}function e(t){t.isBirthdayAward=!0,r.setMinimalPricePlan(t),r.setCash(t),a.updateStockInformation(t,t._embedded["aw:birthdaystock"]),r.setEligiblePricePlans(t),r.formatPricePlans(t)}var n={setBirthdayAwards:t,data:{birthdayAwards:void 0}};return n}angular.module("myProximus.glp.award").factory("BirthdayAwardsService",a),a.$inject=["AwardStockService","AwardPricePlanService"]}(); !function(){"use strict";function E(E,A,T){E.mapTo(T.GET_AWARD_CATALOG.EVENT).asSequence().add(A.GET_CUSTOMER_ACCOUNT.COMMAND).add(T.GET_LOYALTY_POINTS.COMMAND).add(T.GET_AWARD_CATALOG.COMMAND),E.mapTo(T.GET_AWARD_CATALOG_MESSAGES.EVENT).asSequence().add(A.GET_CUSTOMER_ACCOUNT.COMMAND).add(T.GET_LOYALTY_POINTS.COMMAND).add(T.GET_AWARD_CATALOG_MESSAGES.COMMAND),E.mapTo(T.GET_RECOMMENDED_AWARDS.EVENT).asSequence().add(A.GET_CUSTOMER_ACCOUNT.COMMAND).add(T.GET_RECOMMENDED_AWARDS.COMMAND),E.mapTo(T.GET_BIRTHDAY_AWARDS.EVENT).asSequence().add(A.GET_CUSTOMER_ACCOUNT.COMMAND).add(T.GET_LOYALTY_POINTS.COMMAND).add(T.GET_BIRTHDAY_AWARDS.COMMAND),E.mapTo(T.GET_AWARD_DETAIL.EVENT).asSequence().add(A.GET_CUSTOMER_ACCOUNT.COMMAND).add(T.GET_LOYALTY_POINTS.COMMAND).add(T.GET_AWARD_DETAIL.COMMAND).add(T.GET_AWARD_STOCK.COMMAND),E.mapTo(T.GET_BIRTHDAYAWARD_DETAIL.EVENT).asSequence().add(A.GET_CUSTOMER_ACCOUNT.COMMAND).add(T.GET_LOYALTY_POINTS.COMMAND).add(T.GET_BIRTHDAYAWARD_DETAIL.COMMAND).add(T.GET_BIRTHDAYAWARD_STOCK.COMMAND),E.mapTo(T.GET_AWARD_IMAGE.EVENT).asSequence().add(A.GET_CUSTOMER_ACCOUNT.COMMAND).add(T.GET_AWARD_IMAGE.COMMAND),E.mapTo(T.GET_VOD_ORDER_ELIGIBILITY.EVENT).asSequence().add(A.GET_CUSTOMER_ACCOUNT.COMMAND).add(T.GET_VOD_ORDER_ELIGIBILITY.COMMAND),E.mapTo(T.START_AWARD_ORDER_FLOW.EVENT).asSequence().add(T.CREATE_AWARD_ORDER.COMMAND).add(T.START_AWARD_ORDER_FLOW.COMMAND);var O=E.asSequence().add(T.CONFIRM_AWARD_ORDER.COMMAND).add(T.SHOW_ORDER_STEP_THREE.COMMAND);E.mapTo(T.NEXT_STEP_ORDER_FLOW.EVENT).asSequence().add(T.GET_NEXT_ORDER_STEP.COMMAND).add(E.asFlow().link("nextStep == 2").to(T.SHOW_ORDER_STEP_TWO.COMMAND).link("nextStep == 3").to(O)),E.mapTo(T.PREVIOUS_STEP_ORDER_FLOW.EVENT).asSequence().add(T.PREVIOUS_STEP_ORDER_FLOW.COMMAND),E.mapTo(T.GET_ORDER_DETAIL_DATA.EVENT).asSequence()}var A={GET_LOYALTY_POINTS:{EVENT:"GetLoyaltyPointsEvent",COMMAND:"GetLoyaltyPointsCommand"},GET_AWARD_CATALOG:{EVENT:"GetAwardCatalogEvent",COMMAND:"GetAwardCatalogCommand"},GET_AWARD_CATALOG_MESSAGES:{EVENT:"GetAwardCatalogMessagesEvent",COMMAND:"GetAwardCatalogMessagesCommand"},GET_RECOMMENDED_AWARDS:{EVENT:"GetRecommendedAwardsEvent",COMMAND:"GetRecommendedAwardsCommand"},GET_BIRTHDAY_AWARDS:{EVENT:"GetBirthdayAwardsEvent",COMMAND:"GetBirthdayAwardsCommand"},GET_AWARD_DETAIL:{EVENT:"GetAwardDetailEvent",COMMAND:"GetAwardDetailCommand"},GET_BIRTHDAYAWARD_DETAIL:{EVENT:"GetBirthdayAwardDetailEvent",COMMAND:"GetBirthdayAwardDetailCommand"},GET_BIRTHDAYAWARD_STOCK:{COMMAND:"GetBirthdayAwardStockCommand"},GET_AWARD_IMAGE:{EVENT:"GetAwardImageEvent",COMMAND:"GetAwardImageCommand"},GET_AWARD_STOCK:{COMMAND:"GetAwardStockCommand"},CREATE_AWARD_ORDER:{COMMAND:"CreateAwardOrderCommand"},START_AWARD_ORDER_FLOW:{EVENT:"StartAwardOrderFlowEvent",COMMAND:"ShowOrderStepOneCommand"},NEXT_STEP_ORDER_FLOW:{EVENT:"NextStepOrderFlowEvent"},GET_NEXT_ORDER_STEP:{COMMAND:"GetNextOrderStepCommand"},SHOW_ORDER_STEP_TWO:{COMMAND:"ShowOrderStepTwoCommand"},SHOW_ORDER_STEP_THREE:{COMMAND:"ShowOrderStepThreeCommand"},PREVIOUS_STEP_ORDER_FLOW:{EVENT:"PreviousStepOrderFlowEvent",COMMAND:"PreviousStepOrderFlowCommand"},CONFIRM_AWARD_ORDER:{COMMAND:"ConfirmAwardOrderCommand"},GET_ORDER_DETAIL_DATA:{EVENT:"GetOrderDetailDataEvent"},GET_VOD_ORDER_ELIGIBILITY:{EVENT:"GetVodOrderEligibilityEvent",COMMAND:"GetVodOrderEligibilityCommand"}};angular.module("myProximus.glp.award").config(E).constant("AwardCommandConfig",A),E.$inject=["$commangularProvider","CommonCommandConfig","AwardCommandConfig"]}(); !function(){"use strict";function t(t,a,r,o){function i(t){s(t),P.data.award=t}function e(a){P.data.award.vodOrderEligibility=a;var r=t.setEligiblePricePlans(P.data.award);r.length>0&&r[0].notEnoughCredits&&(P.data.award.notVodEligible=!0)}function n(t){P.data.stock=t,s(P.data.award),P.data.award=_.cloneDeep(P.data.award)}function d(t,a,r,i){var e=c(a,r||1),n={award:t,pricePlan:a,selectedQuantity:r||1,remainingPoints:e,formattedRemainingPoints:o.format(e),stockQuantitySelection:l(a,t),total:u(a,r||1),isBirthdayAward:i||!1};return n}function s(o){r.setAwardPromoProperties(o),t.setCash(o),P.data.stock&&(a.updateStockInformation(o,P.data.stock),t.setMinimalPricePlan(o),t.setEligiblePricePlans(o),t.formatPricePlans(o))}function c(a,r){return t.calculateRemainingPoints(a,r)}function l(t,a){var r=m(t,a);return _.isEqual(r,0)?[0]:_.range(1,r+1)}function m(r,o){var i=r.promo?r.promoPoints:r.points,e=a.getAmountOfItemsAllowed(i,o.stock.quantity),n=t.getMaxPricePlanQuantityForCredits(r,o);return _.min([e,n])}function u(t,a){var r;return r=t.promo?{formattedPoints:o.format(t.promoPoints*a),formattedCash:t.promoCash>0?o.formatWithCurrency(t.promoCash*a):"",cash:t.promoCash*a,points:t.promoPoints*a}:{formattedPoints:o.format(t.points*a),formattedCash:t.cash>0?o.formatWithCurrency(t.cash*a):"",cash:t.cash*a,points:t.points*a}}var P={setAward:i,setVodOrderEligibility:e,updateAwardStock:n,getSelectedPricePlanDTO:d,data:{award:void 0,stock:void 0}};return P}angular.module("myProximus.glp.award").factory("AwardDetailService",t),t.$inject=["AwardPricePlanService","AwardStockService","AwardPromoService","NumberFormatter"]}(); !function(){"use strict";function t(){var t={restrict:"A",templateUrl:"/awardCatalogFilterTemplate",controller:a};return t}function a(t,a,o){function e(){$("#searchFilter").toggle().toggleClass("show-for-large-up")}function r(){o.setOutOfStock(t.mpAwardCatalogFilterData.outOfStock),a.processAwards()}function n(){o.setNotEnoughPoints(t.mpAwardCatalogFilterData.notEnoughPoints),a.processAwards()}function i(t){o.toggleSelectedCategory(t),a.processAwards()}function l(){o.resetFilters(),a.processAwards()}function c(t){return _.isEqual(t.count,0)}t.handleOutOfStock=r,t.handleNotEnoughPoints=n,t.toggleSelectedCategory=i,t.resetFilter=l,t.greyOutCategory=c,t.toggleFilter=e,t.mpAwardCatalogFilterData={categories:[],notEnoughPoints:o.data.state.notEnoughPoints,outOfStock:o.data.state.outOfStock},t.$watch(function(){return o.data.filteredCategories},function(a,o){_.isObject(a)&&!_.isEqual(a,o)&&(t.mpAwardCatalogFilterData.categories=Object.keys(a).map(function(t){return a[t]}))}),t.$watch(function(){return o.data.state},function(a){t.mpAwardCatalogFilterData.notEnoughPoints=a.notEnoughPoints,t.mpAwardCatalogFilterData.outOfStock=a.outOfStock})}angular.module("myProximus.glp.award").directive("mpAwardCatalogFilter",t),t.$inject=[],a.$inject=["$scope","AwardCatalogService","AwardCatalogFilterService"]}(); !function(){"use strict";function t(t,e){function a(a){if(a)O.data.state=a,v();else{var o=e.getObject("filterState");_.isObject(o)?O.data.state=o:O.data.state={selectedCategories:[],notEnoughPoints:t.data.loyaltyPoints0&&(e=l(e)),O.data.filteredCategories=g(a),e}function i(t){var e=O.data.state.selectedCategories.indexOf(t.id);e===-1?O.data.state.selectedCategories.push(t.id):O.data.state.selectedCategories.splice(e,1),v()}function n(t){O.data.threshold=t}function r(t){O.data.state.notEnoughPoints=!!t,v()}function s(t){O.data.state.outOfStock=!!t,v()}function c(){var e={outOfStock:!1,notEnoughPoints:t.data.loyaltyPoints=.4&&e<.8?"B":e>=.8&&e<1.2?"C":e>=1.2&&e<1.6?"D":e>=1.6&&e<=2?"E":void 0}e.mpAwardTechnicalDetailData={getSarType:t}}angular.module("myProximus.glp.award").directive("mpAwardTechnicalDetail",e),e.$inject=[],t.$inject=["$scope"]}(); !function(){"use strict";function e(){var e={restrict:"A",replace:!0,scope:{label:"@",key:"@",value:"=",valueTemplate:"@"},controller:a,templateUrl:"/awardTechnicalDetailEntryTemplate"};return e}function a(e,a){function l(l){return _.isUndefined(e.valueTemplate)||_.isEmpty(e.valueTemplate)?l:a.replacePlaceholders(e.valueTemplate,[l])}e.atdd={label:e.label,key:e.key,valueTemplate:e.valueTemplate,getProcessedLabel:l,parent:e.$parent}}angular.module("myProximus.glp.award").directive("mpAwardTechnicalDetailEntry",e),e.$inject=[],a.$inject=["$scope","TranslationService"]}(); !function(){angular.module("myProximus.glp.award.templates",[]).run(["$templateCache",function(a){a.put("/awardCatalogTemplate",' \r\n\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
Het spijt ons
\r\n

\r\n Er zijn geen geschenken die voldoen aan deze selectie. Gelieve een andere keuze te maken.\r\n \r\n Stel de filter opnieuw in.\r\n \r\n \r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Het spijt ons
\r\n

\r\n U kan tijdelijk geen punten inruilen omdat één of meerdere facturen nog niet betaald werden. Voor meer info bekijk het overzicht van uw facturen in MyProximus. Bedankt \r\n

\r\n
\r\n
\r\n
\r\n\r\n
    \r\n
  • \r\n
    \r\n
  • \r\n
\r\n
\r\n
\r\n\r\n \r\n'),a.put("/awardCatalogMessageTemplate",'
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{{message.text}}

\r\n
\r\n
\r\n ×\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n'),a.put("/birthdayAwardsTemplate",'\r\n
\r\n\r\n
\r\n
\r\n happy birthday\r\n

Bizz Club is blij om u een geschenk aan te bieden bij deze gelegenheid.

\r\n

\r\n Maak uw keuze uit dit cadeau

\r\n

\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n happy birthday\r\n

No Eligible Awards for this member. (NL)

\r\n

\r\n See you next year! (NL)

\r\n

U hebt reeds een Bizz Club-verjaardagsgeschenk gekozen. U hebt recht op één geschenk per jaar.

\r\n

\r\n

\r\n

Geen geschenk beschikbaar voor deze periode.

\r\n

\r\n Tot volgend jaar !

\r\n

Er is geen geschenk beschikbaar voor u.

\r\n

\r\n Tot volgend jaar!

\r\n

\r\n Het spijt ons, om technische redenen buiten onze wil, is deze dienst tijdelijk niet beschikbaar. Gelieve later opnieuw te proberen.

\r\n
\r\n
\r\n\r\n'),a.put("/awardCatalogFilterTemplate",' \r\n\r\n \r\n\r\n
\r\n\r\n
Filter
\r\n\r\n

\r\n \r\n Opnieuw instellen\r\n \r\n \r\n

\r\n\r\n
\r\n
Categorieën\r\n
\r\n \r\n\r\n
\r\n
\r\n
Beschikbaarheid
\r\n \r\n
\r\n
\r\n
Punten
\r\n \r\n
\r\n
\r\n'),a.put("/awardDetailTemplate",'\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n \r\n\r\n {{::mpAwardDetailData.award.title}}\r\n\r\n
\r\n \'Nieuw\'\r\n\r\n
\r\n \'4g\r\n
\r\n \'Android\r\n
\r\n\r\n
\r\n

\r\n {{::mpAwardDetailData.award.title}}

\r\n\r\n
\r\n
\r\n\r\n
\r\n \r\n {{mpAwardDetailData.award.deviceTechnicalDetails.images[0].title}}\r\n {{::mpAwardDetailData.award.title}}\r\n \r\n\r\n
\r\n \'Nieuw\'\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n

\r\n {{::mpAwardDetailData.award.summary}}

\r\n\r\n

\r\n \'4g\r\n \'Android\r\n

\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n

\r\n {{::mpAwardDetailData.award.title}}\r\n

\r\n\r\n

\r\n {{::mpAwardDetailData.award.summary}}\r\n

\r\n\r\n

\r\n Ref.:\r\n {{::mpAwardDetailData.award.awardId}}\r\n

\r\n\r\n

\r\n\r\n
\r\n
\r\n
\r\n
\r\n Punten\r\n promo\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n \r\n\r\n \r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n

\r\n Hoeveelheid:\r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n
\r\n

\r\n Totaal:\r\n {{mpAwardDetailData.selectedPricePlanDTO.total.formattedPoints}} ptn\r\n +\r\n {{mpAwardDetailData.selectedPricePlanDTO.total.formattedCash}}\r\n \r\n

\r\n\r\n

\r\n {{ \'Je resterende puntensaldo na bestelling: {0} punten\' | replacePlaceholders :\r\n [mpAwardDetailData.selectedPricePlanDTO.formattedRemainingPoints] }}\r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Het aantal credits is gelimiteerd\r\n
\r\n

\r\n Je kan dit geschenk niet bestellen omdat je het maximum aantal credits (20) overschrijdt of zal overschrijden.\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n We kennen uw e-mailadres niet\r\n
\r\n

\r\n We houden je via e-mail op de hoogte van je -gegevens. Momenteel beschikken wij echter niet over uw e-mailadres, \r\n gelieve dit in te geven.\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n delivery\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n'), a.put("/awardDetailAnchorNavigationTemplate",'\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n'),a.put("/awardDetailFeaturesTemplate",'\r\n
\r\n
\r\n
\r\n
\r\n

Kenmerken

\r\n

Why choosing a Proximus plan? nl

\r\n
\r\n
\r\n\r\n
\r\n
\r\n

\r\n

\r\n
\r\n
\r\n \"\"\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n\r\n\r\n\r\n'),a.put("/awardImagesCarouselTemplate",'\r\n \r\n\r\n {{::mpAwardDetailData.award.mainTitle}}\r\n\r\n
\r\n \'Nieuw\'\r\n\r\n
\r\n \'4g\r\n
\r\n \'Android\r\n
\r\n\r\n ×\r\n\r\n\r\n\r\n\r\n'),a.put("/awardTechnicalDetailTemplate",'
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n

\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n #\r\n
\r\n
\r\n

\r\n Schermgrootte:\r\n \r\n
\r\n Schermresolutie:\r\n \r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n #\r\n
\r\n
\r\n

\r\n Camera:\r\n \r\n
\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n #\r\n
\r\n
\r\n

\r\n Besturingssysteem:\r\n \r\n
\r\n Versie:\r\n \r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n #\r\n
\r\n
\r\n

\r\n Processor:\r\n \r\n
\r\n

\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n Details\r\n \r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n
Design
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
Besturingssysteem & Processor
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
Inbegrepen
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
Connectiviteit
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
Freqencies (Mhz)
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n
Simkaart & Geheugen
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n
Batterij & Autonomie
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
Camera
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n
Multimedia
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
SAR-waarde & Klasse
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n

Denk aan uw gezondheid - gebruik uw mobiele telefoon met mate, bel met een oortje en kies voor een toestel met een lagere SAT-waarde (SAR-waarde).

\r\n

\r\n A: voor de SAR-waarde kleiner dan 0,4 Watt/kg
\r\n B: voor de SAR-waarde gelijk aan of groter dan 0,4 Watt/kg, maar kleiner dan 0,8 Watt/kg
\r\n C: voor de SAR-waarde gelijk aan of groter dan 0,8 Watt/kg, maar kleiner dan 1,2 Watt/kg
\r\n D: voor de SAR-waarde gelijk aan of groter dan 1,2 Watt/kg, maar kleiner dan 1,6 Watt/kg
\r\n E: voor de SAR-waarde gelijk of groter dan 1,6 Watt/kg, maar kleiner dan of gelijk aan 2 Watt/kg
\r\n

\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n'), a.put("/awardTechnicalDetailEntryTemplate",'
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n -\r\n \r\n
\r\n
\r\n
\r\n'),a.put("/awardItemTemplate",' \r\n
\r\n\r\n \r\n
\r\n
\r\n
{{award.mainTitle}}
\r\n

{{award.subTitle}}

\r\n
\r\n\r\n
\r\n \r\n\r\n
\r\n new award logo\r\n
\r\n
\r\n\r\n
\r\n

\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n promo\r\n
\r\n
\r\n

\r\n \r\n {{::pricePlan.promo ? pricePlan.promoFormattedPoints : pricePlan.formattedPoints}}\r\n ptn\r\n \r\n \r\n + {{::pricePlan.promo ? pricePlan.promoFormattedCash : pricePlan.formattedCash}}\r\n \r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \'Nieuw\'\r\n
\r\n
\r\n
\r\n

\r\n {{award.mainTitle}} - {{award.subTitle}}

\r\n\r\n

\r\n promo\r\n

\r\n\r\n

\r\n \r\n Vanaf\r\n \r\n \r\n {{::award.minimalPricePlan.promo ? award.minimalPricePlan.promoFormattedPoints : award.minimalPricePlan.formattedPoints}}\r\n ptn\r\n \r\n

\r\n\r\n

\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n'),a.put("/actionBarTemplate",'\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n'),a.put("/addressSelectorTemplate",'\r\n
\r\n\r\n
\r\n
\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n
\r\n
\r\n
\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n
\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n
\r\n
\r\n
\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n
\r\n
\r\n
\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n
\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n
\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n
\r\n
\r\n
\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n
\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n
\r\n
\r\n
\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n \r\n * Verplicht in te vullen\r\n \r\n
\r\n
\r\n\r\n'),a.put("/billingAccountSelectorTemplate",'\r\n

Het extra te betalen bedrag wordt op uw volgende factuur aangerekend.

\r\n

Het extra te betalen bedrag wordt op uw volgende factuur aangerekend.

\r\n

Selecteer de factuur waarop het extra bij te betalen bedrag mag worden gefactureerd.

\r\n\r\n
\r\n\r\n
\r\n
\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n
\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n * Verplicht in te vullen\r\n \r\n
\r\n
\r\n\r\n'),a.put("/billingInfoTemplate",'\r\n
\r\n\r\n

Facturatie info

\r\n\r\n

\r\n\r\n

\r\n\r\n

\r\n\r\n \r\n\r\n \r\n\r\n

\r\n\r\n'),a.put("/deliveryInfoTemplate",' \r\n
Je bestelling
\r\n\r\n
\r\n
{{mpDeliveryInfoData.selectedPricePlanDTO.award.title}}
\r\n\r\n
\r\n
\r\n Free calling minutes
\r\n
\r\n
{{mpDeliveryInfoData.selectedPricePlanDTO.award.title}}
\r\n\r\n
\r\n

Aantal:

\r\n
\r\n

{{mpDeliveryInfoData.selectedPricePlanDTO.selectedQuantity}}

\r\n
\r\n
\r\n

Punten:\r\n

\r\n

{{mpDeliveryInfoData.selectedPricePlanDTO.total.formattedPoints}}\r\n ptn

\r\n
\r\n
\r\n
\r\n

\r\n Extra kost:

\r\n

{{mpDeliveryInfoData.selectedPricePlanDTO.total.formattedCash}}

\r\n
\r\n
\r\n
\r\n

\r\n Kies een ander geschenk\r\n Kies een ander geschenk\r\n

\r\n
\r\n\r\n
\r\n Leveringsinfo\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n delivery\r\n
\r\n
\r\n

\r\n
\r\n
\r\n
\r\n
\r\n'),a.put("/deliveryInfoDetailTemplate"," \r\n"),a.put("/deliveryInfoDetailBoneTemplate",'\r\n
    \r\n
  • \r\n \r\n \r\n \r\n \r\n \r\n
  • \r\n
\r\n\r\n
\r\n\r\n'),a.put("/deliveryInfoDetailDeviceTemplate",'\r\n

\r\n Je bestelling wordt geleverd op onderstaand adres:\r\n
\r\n \r\n {{mpDeliveryInfoDetailData.awardOrder.personDetails.salutation}}\r\n \r\n {{mpDeliveryInfoDetailData.awardOrder.personDetails.firstName}}\r\n {{mpDeliveryInfoDetailData.awardOrder.personDetails.lastName}}\r\n
\r\n {{mpDeliveryInfoDetailData.awardOrder.personDetails.company}}\r\n
\r\n {{mpDeliveryInfoDetailData.awardOrder.personDetails.street}}\r\n {{mpDeliveryInfoDetailData.awardOrder.personDetails.houseNumber}}\r\n \r\n bus\r\n {{mpDeliveryInfoDetailData.awardOrder.personDetails.boxNumber}}\r\n \r\n
\r\n {{mpDeliveryInfoDetailData.awardOrder.personDetails.postcode}}\r\n {{mpDeliveryInfoDetailData.awardOrder.personDetails.city}}\r\n
\r\n {{mpDeliveryInfoDetailData.formattedDeliveryMsisdn}}\r\n

\r\n\r\n
\r\n\r\n'),a.put("/deliveryInfoDetailEvoucherTemplate",'\r\n

\r\n Je bestelling wordt geleverd op onderstaand adres:\r\n
\r\n \r\n

\r\n\r\n
\r\n\r\n'),a.put("/deliveryInfoDetailFixedTemplate",'\r\n
\r\n\r\n'),a.put("/deliveryInfoDetailFreeairTemplate",'\r\n
    \r\n
  • \r\n \r\n \r\n \r\n \r\n \r\n
  • \r\n
\r\n\r\n
\r\n\r\n'),a.put("/deliveryInfoDetailLoyaltyPointsTemplate",'\r\n
\r\n\r\n'),a.put("/deliveryInfoDetailMmTemplate",'\r\n

\r\n Uw miles zullen op volgende Miles&More-account geactiveerd worden:
\r\n \r\n

\r\n\r\n
\r\n\r\n'), a.put("/deliveryInfoDetailPartnerTemplate",'\r\n
\r\n\r\n'),a.put("/deliveryInfoDetailVideoTemplate",'\r\n
    \r\n
  • \r\n \r\n \r\n \r\n \r\n \r\n
  • \r\n
\r\n\r\n
\r\n\r\n'),a.put("/deliveryInfoStep3Template",'\r\n

Je bestelling

\r\n\r\n
\r\n

{{mpDeliveryInfoData.selectedPricePlanDTO.award.title}}

\r\n\r\n
\r\n
\r\n {{mpDeliveryInfoData.selectedPricePlanDTO.award.title}}
\r\n
\r\n
\r\n

Aantal:

\r\n

{{mpDeliveryInfoData.selectedPricePlanDTO.selectedQuantity}}

\r\n
\r\n
\r\n

Punten:

\r\n

{{mpDeliveryInfoData.selectedPricePlanDTO.total.formattedPoints}} ptn

\r\n
\r\n
\r\n

Extra kost:

\r\n

{{mpDeliveryInfoData.selectedPricePlanDTO.total.formattedCash}}

\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n

Leveringsinfo

\r\n
\r\n
\r\n delivery\r\n
\r\n
\r\n

\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n'),a.put("/emailSelectorTemplate",'\r\n
\r\n\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n * Verplicht in te vullen\r\n
\r\n
\r\n\r'),a.put("/errorMessageTemplate",'
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
Foutje!
\r\n

Uw selectie is niet in overeenstemming met het aantal bestelde geschenken. Gelieve het exacte aantal geschenken toe te kennen aan één of meerdere telefoonnummers.

\r\n
\r\n
\r\n
Foutje!
\r\n

Uw selectie is niet in overeenstemming met het aantal bestelde geschenken. Gelieve het exacte aantal geschenken toe te kennen aan één of meerdere TV-nummers.

\r\n
\r\n
\r\n
Foutje!
\r\n

Uw selectie is niet in overeenstemming met het aantal bestelde geschenken. Gelieve het exacte aantal geschenken toe te kennen aan één of meerdere gsm-nummers.

\r\n
\r\n
\r\n
Foutje!
\r\n

Gelieve de volgende structuur te volgen bij het ingeven van je e-mailadres : emailnaam@domein.net

\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
Foutje!
\r\n

Uw selectie is niet in overeenstemming met het aantal bestelde geschenken. Gelieve het exacte aantal geschenken toe te kennen aan één of meerdere gsm-nummers.

\r\n
\r\n
\r\n
Foutje!
\r\n

Het Miles&More-kaartnummer heeft niet het juiste formaat of bevat ongeldige tekens, gelieve dit aan te passen.

\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n ×\r\n
\r\n'),a.put("/followUpOrderTemplate",'\r\n \r\n Status van mijn bestelling volgen\r\n \r\n \r\n\r\n'),a.put("/milesIdSelectorTemplate",'\r\n
\r\n
\r\n
\r\n\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n * Verplicht in te vullen\r\n
\r\n
\r\n\r\n'),a.put("/msisdnSelectorTemplate",'\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n\r\n
\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n

\r\n \r\n \r\n Een ander telefoonnummer toevoegen\r\n Een ander GSM-nummer toevoegen\r\n

\r\n\r\n

Aantal toegekende cadeaus: {{mpMsisdnSelectorData.totalSelectedPack}}/{{mpMsisdnSelectorData.maximumAllowedPacks}}\r\n

\r\n
\r\n
\r\n\r\n
\r\n
\r\n * Verplicht in te vullen\r\n \r\n
\r\n
\r\n\r\n'),a.put("/stepIndicatorTemplate",'\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Uw e-mail adres werd niet geaccepteerd

\r\n
\r\n
\r\n
\r\n \r\n
    \r\n
  • \r\n 1\r\n . Instellen\r\n
  • \r\n
  • \r\n 2\r\n . Betaling\r\n
  • \r\n
  • \r\n 3\r\n . Bevestiging\r\n
  • \r\n
\r\n\r\n\r\n
    \r\n
  • \r\n 1\r\n . Instellen\r\n
  • \r\n
  • \r\n 2\r\n . Bevestiging\r\n
  • \r\n
\r\n \r\n\r\n
\r\n

\r\n \r\n \r\n Instellen\r\n Betaling\r\n Bevestiging\r\n \r\n \r\n Instellen\r\n Bevestiging\r\n \r\n \r\n

\r\n
\r\n
\r\n\r'),a.put("/televisionSelectorTemplate",'\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n\r\n
\r\n \r\n Dit is niet geldig, gelieve dit aan te passen.\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n

\r\n \r\n \r\n Een ander telefoonnummer toevoegen\r\n

\r\n\r\n

Aantal toegekende cadeaus: {{mpTelevisionSelectorData.totalSelectedPacks}}/{{mpTelevisionSelectorData.maximumAllowedPacks}}\r\n

\r\n
\r\n
\r\n\r\n
\r\n
\r\n * Verplicht in te vullen\r\n \r\n
\r\n
\r\n\r\n\r\n'),a.put("/thankYouTemplate",'
\r\n
\r\n
\r\n \'Hartelijk\r\n
\r\n
\r\n

\r\n Je bestelling wordt verwerkt.\r\n
\r\n Je resterende puntensaldo bedraagt\r\n \r\n \r\n {{thankYouData.selectedPricePlanDTO.formattedRemainingPoints}}\r\n \r\n \r\n punten.\r\n

\r\n  \'\r\n data-location="loyaltyOrderFlow"\r\n data-action="showLoyaltyOverview">\r\n \r\n Terug naar mijn  \r\n \r\n  \'\r\n data-location="loyaltyOrderFlow"\r\n data-action="showLoyaltyOverview">\r\n \r\n Terug naar mijn  \r\n \r\n
\r\n'),a.put("/recommendedAwardsTemplate",'\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n

Aanbevolen geschenken

\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n {{award.mainTitle}}\r\n
\r\n\r\n
\r\n

\r\n {{award.mainTitle}}\r\n

\r\n
{{award.subTitle}}
\r\n\r\n \r\n Vanaf\r\n \r\n

\r\n \r\n \r\n {{::award.minimalPricePlan.formattedPoints}}\r\n punten\r\n \r\n \r\n \r\n + {{::award.minimalPricePlan.formattedCash}}\r\n \r\n

\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n promo\r\n
\r\n\r\n
\r\n \r\n Vanaf\r\n \r\n

\r\n \r\n \r\n {{::award.minimalPricePlan.promo ? award.minimalPricePlan.promoFormattedPoints : award.minimalPricePlan.formattedPoints}}\r\n punten\r\n \r\n \r\n \r\n + {{::award.minimalPricePlan.promo ? award.minimalPricePlan.promoFormattedCash : award.minimalPricePlan.formattedCash}}\r\n \r\n

\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n'),a.put("/awardCatalogSortTemplate",'
\r\n
\r\n\r\n
\r\n
\r\n
Sorteer op
\r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n'),a.put("/awardStockTemplate",'\r\n\r\n \r\n \r\n In voorraad\r\n \r\n \r\n Niet in voorraad\r\n \r\n \r\n Beperkte voorraad\r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n'); }])}(); !function(){"use strict";function t(t){var e={restrict:"A",templateUrl:"/awardItemTemplate"};return e}angular.module("myProximus.glp.award").directive("mpAwardItem",t),t.$inject=["$timeout"]}(); !function(){"use strict";function e(e,r,a,t,o,d){function n(){t.dispatch("NextStepOrderFlowEvent",{awardId:a.awardId})["catch"](function(){d.dispatchWithAttributes("primary","myAdvantages.messages.technicalError.awardDetailOrder","glp.awards")})}function i(){var e={image:"Error",errorType:"orderValidationError",orderType:a.orderType};o.emitMessage("error",e)}function s(){o.emitMessage("validate")}function c(){t.dispatch("PreviousStepOrderFlowEvent",{awardId:a.awardId,orderType:a.orderType})["catch"](function(){d.dispatchWithAttributes("primary","myAdvantages.messages.technicalError.awardDetailOrder","glp.awards")})}function l(){r.go("glp.awardDetail",{awardId:a.awardId},{location:"replace",reload:!0})}o.onMessage("form.rejected",i,e),o.onMessage("form.validated",n,e),o.onMessage("action.back",c,e),o.onMessage("action.next",s,e),o.onMessage("deepLink",l,e)}angular.module("myAdvantages").controller("mpOrderFlowController",e),e.$inject=["$scope","$state","$stateParams","$commangular","$eventBus","$errorService"]}(); !function(){"use strict";function t(){var t={restrict:"A",controller:a,templateUrl:"/actionBarTemplate"};return t}function a(t,a,e,c,n){function i(){e.emitMessage("action.back")}function r(){e.emitMessage("action.next")}t.back=i,t.next=r,t.actionBarData={actions:[]};var o=n.data.twoStepOrderFlow;switch(c.getStep()){case 1:t.actionBarData.actions=o?["back","confirm"]:["back","next"];break;case 2:t.actionBarData.actions=["previous","confirm"];break;default:a.warn("Step should be maximum 2!")}}angular.module("myProximus.glp.award").directive("mpActionBar",t),t.$inject=[],a.$inject=["$scope","$log","$eventBus","StepIndicatorService","AwardOrderingService"]}(); !function(){"use strict";function e(){var e={restrict:"A",controller:t,templateUrl:"/addressSelectorTemplate"};return e}function t(e,t,s,r,a){function d(e){var t=e.country.toUpperCase();return _.includes(m,t)}function n(){e.$watch(function(){return e.mpAddressSelectorData.address.gender},function(t){_.isUndefined(t)||s(function(){var t=$("#gender")[0];_.isUndefined(t)||(e.mpAddressSelectorData.address.salutation=t.options[t.selectedIndex].text)})})}function i(){t.onMessage("validate",o,e),t.onMessage("formValidator.validated",l,e),t.onMessage("formValidator.rejected",u,e)}function o(){t.emitMessage("formValidator.validate")}function c(){var e,t=a.getLoyaltyResidentialSubsegments;return e=_.isUndefined(a.data.customerAccount)||_.isUndefined(a.data.customerAccount.fls)?a.data.customerAccount.mcs.subsegment:a.data.customerAccount.fls.subsegment,!_.includes(t,e)}function u(){t.emitMessage("form.rejected","invalid address")}function l(){return r.setPersonDetails(e.mpAddressSelectorData.address),t.emitMessage("form.validated"),!1}var m=["BE","BEL"];_.isUndefined(r.data.selectedPricePlanDTO)&&t.emitMessage("deepLink"),e.mpAddressSelectorData={address:r.getPersonDetails(),showCompany:c()},i(),_.isUndefined(e.mpAddressSelectorData.address)?e.$watch(function(){return r.data.awardOrder},function(t){_.isUndefined(t)||_.isUndefined(t.orderData)||(d(t.orderData.personDetails)?e.mpAddressSelectorData.address=t.orderData.personDetails:e.mpAddressSelectorData.address={},n())}):n()}angular.module("myProximus.glp.award").directive("mpAddressSelector",e),e.$inject=[],t.$inject=["$scope","$eventBus","$timeout","AwardOrderingService","CustomerAccountService"]}(); !function(){"use strict";function e(){var e={restrict:"A",controller:t,templateUrl:"/billingAccountSelectorTemplate"};return e}function t(e,t,n){function c(){t.onMessage("validate",i,e)}function i(){t.emitMessage("formValidator.validate");var e=!_.isEmpty(o());return e?t.emitMessage("form.validated"):t.emitMessage("form.rejected","billing account is not selected"),e}function l(){var t=m(),n=s();a(),_.isEmpty(e.mpBillingAccountSelectorData.selectedPaymentMethod)?e.mpBillingAccountSelectorData.paymentSelectionDisplayed=!1:_.isEqual(e.mpBillingAccountSelectorData.selectedPaymentMethod,"paymentAgreement")?u(t,!0):p(n,!0)}function o(){return n.getOrderBillingAccount()}function a(){n.deleteBillingAccountFromOrder()}function m(){return n.getPaymentAgreements()}function s(){return n.getBillingAccounts()}function r(t,c){var i={showBillingSelection:e.mpBillingAccountSelectorData.showBillingSelection,showPaymentAgreementMessage:e.mpBillingAccountSelectorData.showPaymentAgreementMessage,showBillingAccountMessage:e.mpBillingAccountSelectorData.showBillingAccountMessage};n.setBillingAccountToOrder(t,c,i)}function g(){_.isEmpty(e.mpBillingAccountSelectorData.selectedPaymentAccount)?a():r(e.mpBillingAccountSelectorData.selectedPaymentAccount,_.isEqual(e.mpBillingAccountSelectorData.selectedPaymentMethod,"paymentAgreement")?n.PAYMENT_AGREEMENT:n.PROXIMUS_BILLING_ACCOUNT)}function u(t,c){t.length>1?(_.isUndefined(c)&&(e.mpBillingAccountSelectorData.selectedPaymentMethod="paymentAgreement",e.mpBillingAccountSelectorData.showBillingSelection=!0,e.mpBillingAccountSelectorData.showPaymentAgreementOption=!0),e.mpBillingAccountSelectorData.paymentAccounts=t,e.mpBillingAccountSelectorData.paymentSelectionDisplayed=!0):(_.isUndefined(c)&&(e.mpBillingAccountSelectorData.showPaymentAgreementMessage=!0),e.mpBillingAccountSelectorData.paymentSelectionDisplayed=!1,r(t,n.PAYMENT_AGREEMENT))}function p(t,c){t.length>1?(_.isUndefined(c)&&(e.mpBillingAccountSelectorData.selectedPaymentMethod="billingAccounts",e.mpBillingAccountSelectorData.showBillingSelection=!0,e.mpBillingAccountSelectorData.showBillingAccountOption=!0),e.mpBillingAccountSelectorData.paymentAccounts=t,e.mpBillingAccountSelectorData.paymentSelectionDisplayed=!0):(_.isUndefined(c)&&(e.mpBillingAccountSelectorData.showBillingAccountMessage=!0),e.mpBillingAccountSelectorData.paymentSelectionDisplayed=!1,r(t,n.PROXIMUS_BILLING_ACCOUNT))}function A(){e.mpBillingAccountSelectorData.showBillingSelection=!0,e.mpBillingAccountSelectorData.showPaymentAgreementOption=!0,e.mpBillingAccountSelectorData.showBillingAccountOption=!0}function d(){var e=m(),n=s();_.isEmpty(e)&&_.isEmpty(n)?t.emitMessage("deepLink"):_.isEmpty(e)||_.isEmpty(n)?(_.isEmpty(e)||u(e),_.isEmpty(n)||p(n)):A()}e.populatePaymentSelection=l,e.selectPaymentAccount=g,e.mpBillingAccountSelectorData={selectedPaymentMethod:"",selectedPaymentAccount:void 0,paymentAccounts:void 0,paymentSelectionDisplayed:!1,showBillingSelection:!1,showPaymentAgreementMessage:!1,showBillingAccountMessage:!1},d(),c()}angular.module("myProximus.glp.award").directive("mpBillingAccountSelector",e),e.$inject=[],t.$inject=["$scope","$eventBus","AwardOrderingService"]}(); !function(){"use strict";function n(){var n={restrict:"A",controller:i,templateUrl:"/billingInfoTemplate"};return n}function i(n,i,l){n.mpBillingInfoData={selectedPricePlanDTO:i.data.selectedPricePlanDTO,billingAccount:i.data.awardOrder.billingAccount},n.mpBillingInfoData=_.assign(n.mpBillingInfoData,i.data.billingPaymentMethods),_.isObject(n.mpBillingInfoData.billingAccount)&&(n.mpBillingInfoData.showPaymentAgreement=_.isEqual(i.PAYMENT_AGREEMENT,n.mpBillingInfoData.billingAccount.type)&&!n.mpBillingInfoData.showPaymentAgreementMessage,n.mpBillingInfoData.showBillingAccount=_.isEqual(i.PROXIMUS_BILLING_ACCOUNT,n.mpBillingInfoData.billingAccount.type)&&!n.mpBillingInfoData.showBillingAccountMessage),n.$parent.mpDeliveryInfoData.showBillingInfo&&i.clearSelectedPricePlan(l.getStep())}angular.module("myProximus.glp.award").directive("mpBillingInfo",n),n.$inject=[],i.$inject=["$scope","AwardOrderingService","StepIndicatorService"]}(); !function(){"use strict";function e(){var e={restrict:"A",templateUrl:"/deliveryInfoTemplate",controller:a};return e}function a(e,a,r,t,d,i,n){function l(){_.isUndefined(a.orderType)?t.emitMessage("deepLink"):_.isEqual(a.awardId,d.data.selectedPricePlanDTO.award.awardId)||r.dispatchWithAttributes("primary","myAdvantages.messages.technicalError.incorrectAwardIdInOrderFlow","glp.awards")}l(),e.mpDeliveryInfoData={showDeliveryInfo:!_.isUndefined(d.data.selectedPricePlanDTO)&&!_.isUndefined(d.data.selectedPricePlanDTO.award.deliveryType),showDeliveryInfoDetail:_.isEqual(i.getStep(),2)||_.isEqual(i.getStep(),3),showBillingInfo:!_.isUndefined(d.data.awardOrder)&&_.isObject(d.data.awardOrder.billingAccount),orderType:_.upperFirst(a.orderType),selectedPricePlanDTO:d.data.selectedPricePlanDTO},d.data.selectedPricePlanDTO&&d.data.selectedPricePlanDTO.award&&n.setBreadcrumbDynamicObject({title:d.data.selectedPricePlanDTO.award.mainTitle,stateDetail:{awardId:d.data.selectedPricePlanDTO.award.awardId}},"awardDetail")}angular.module("myProximus.glp.award").directive("mpDeliveryInfo",e),e.$inject=[],a.$inject=["$scope","$stateParams","$errorService","$eventBus","AwardOrderingService","StepIndicatorService","BreadcrumbService"]}(); !function(){"use strict";function a(){var a={restrict:"A",templateUrl:"/deliveryInfoDetailTemplate",controller:e};return a}function e(a,e,r,t,d){function i(){a.mpDeliveryInfoDetailData.awardOrder.msisdns&&_.forEach(a.mpDeliveryInfoDetailData.awardOrder.msisdns,function(a){a.formattedMsisdn=t.format(a.msisdn)})}function n(){a.mpDeliveryInfoDetailData.awardOrder.vodNas&&_.forEach(a.mpDeliveryInfoDetailData.awardOrder.vodNas,function(a){a.formattedNa=d.format(a.na)})}a.mpDeliveryInfoDetailData={awardOrder:e.data.awardOrder,orderStep:r.getStep(),showFollowUp:_.isEqual(r.getStep(),3)},e.data.awardOrder&&(a.mpDeliveryInfoDetailData.formattedDeliveryMsisdn=e.data.awardOrder.address?t.format(e.data.awardOrder.address.msisdn):"",i(),n()),a.$parent.mpDeliveryInfoData.showBillingInfo||e.clearSelectedPricePlan(r.getStep())}angular.module("myProximus.glp.award").directive("mpDeliveryInfoDetail",a),a.$inject=[],e.$inject=["$scope","AwardOrderingService","StepIndicatorService","MsisdnFormatter","NaFormatter"]}(); !function(){"use strict";function e(){var e={restrict:"A",controller:a,templateUrl:"/emailSelectorTemplate"};return e}function a(e,a,t){function i(){_.isUndefined(t.data.orderType)&&a.emitMessage("deepLink")}function r(){a.onMessage("validate",o,e),a.onMessage("formValidator.validated",l,e),a.onMessage("formValidator.rejected",n,e)}function o(){a.emitMessage("formValidator.validate")}function n(){a.emitMessage("form.rejected","invalid email")}function l(){t.setEmail(e.mpEmailSelectorData.email),a.emitMessage("form.validated")}i(),r(),e.mpEmailSelectorData={email:void 0},e.$watch(function(){return t.data.awardOrder},function(a){a&&a.orderData&&a.orderData.email&&(e.mpEmailSelectorData.email=a.orderData.email)})}angular.module("myProximus.glp.award").directive("mpEmailSelector",e),e.$inject=[],a.$inject=["$scope","$eventBus","AwardOrderingService"]}(); !function(){"use strict";function r(){var r={restrict:"A",templateUrl:"/errorMessageTemplate",controller:e};return r}function e(r,e,a){r.errorMessageData={showErrorMessage:!1},e.onMessage("error",function(e,a){r.errorMessageData.showErrorMessage=!0,r.errorMessageData.image=a.image,r.errorMessageData.errorType=a.errorType,r.errorMessageData.orderType=a.orderType},r),r.showOrderValidationError=function(){return _.isEqual(r.errorMessageData.errorType,a.ORDER_VALIDATION_ERROR)},r.closeErrorBox=function(){r.errorMessageData.showErrorMessage=!1}}angular.module("myProximus.glp.award").directive("mpErrorMessage",r),r.$inject=[],e.$inject=["$scope","$eventBus","AwardOrderingService"]}(); !function(){"use strict";function r(){var r={restrict:"A",controller:e,replace:!0,templateUrl:"/followUpOrderTemplate"};return r}function e(r,e){r.mpFollowUpOrderData={awardOrder:e.data.awardOrder}}angular.module("myProximus.glp.award").directive("mpFollowUpOrder",r),r.$inject=[],e.$inject=["$scope","AwardOrderingService"]}(); !function(){"use strict";function e(){var e={restrict:"A",controller:i};return e}function i(e,i,n){function r(){i.onMessage("validate",t,e)}function t(){i.emitMessage("form.validated")}(_.isUndefined(n.data.selectedPricePlanDTO)||_.isUndefined(n.data.orderType))&&i.emitMessage("deepLink"),r()}angular.module("myProximus.glp.award").directive("mpGenericFirstOrderStep",e),e.$inject=[],i.$inject=["$scope","$eventBus","AwardOrderingService"]}(); !function(){"use strict";function e(){var e={restrict:"A",controller:i,templateUrl:"/milesIdSelectorTemplate"};return e}function i(e,i,r,d){function a(){_.isUndefined(r.data.orderType)&&i.emitMessage("deepLink")}function t(){i.onMessage("validate",n,e),i.onMessage("formValidator.validated",s,e),i.onMessage("formValidator.rejected",o,e)}function n(){i.emitMessage("formValidator.validate")}function o(){i.emitMessage("form.rejected","invalid miles and more Id")}function s(){var a=d.isValid(e.milesAndMoreId);a?(r.setMilesAndMoreId(e.milesAndMoreId),i.emitMessage("form.validated")):i.emitMessage("form.rejected","invalid miles and more Id")}a(),t(),e.$watch(function(){return r.data.awardOrder},function(i){i&&!_.isUndefined(i.orderData)&&(e.milesAndMoreId=i.orderData.mnmId)})}angular.module("myProximus.glp.award").directive("mpMilesIdSelector",e),e.$inject=[],i.$inject=["$scope","$eventBus","AwardOrderingService","MilesAndMoreIdValidatorService"]}(); !function(){"use strict";function e(){function e(e,t,a){e.mpMsisdnSelectorData.segmentFls=_.isEqual(a.segment,"FLS"),e.mpMsisdnSelectorData.segmentMcs=_.isEqual(a.segment,"MCS")}var a={restrict:"A",controller:t,link:e,templateUrl:"/msisdnSelectorTemplate"};return a}function t(e,t,a,s){function n(){t.onMessage("validate",i,e),t.onMessage("formValidator.validated",M,e),t.onMessage("formValidator.rejected",d,e)}function i(){t.emitMessage("formValidator.validate")}function d(){t.emitMessage("form.rejected","invalid pack selection")}function r(){e.mpMsisdnSelectorData.addLinkVisible=e.mpMsisdnSelectorData.msisdns.length>1&&e.mpMsisdnSelectorData.maximumAllowedPacks>1&&e.mpMsisdnSelectorData.maximumAllowedPacks>e.mpMsisdnSelectorData.totalSelectedPack&&e.mpMsisdnSelectorData.selectedPacks.length1}function c(){return a.data.selectedPricePlanDTO.selectedQuantity}function l(){return _.range(1,a.data.selectedPricePlanDTO.selectedQuantity+1)}function o(){_.isEqual(e.mpMsisdnSelectorData.msisdns.length,1)?e.mpMsisdnSelectorData.selectedPacks=[{msisdn:e.mpMsisdnSelectorData.msisdns[0].msisdn,quantity:a.data.selectedPricePlanDTO.selectedQuantity}]:e.mpMsisdnSelectorData.selectedPacks=[{msisdn:"",quantity:""}]}function m(t){var a=_.sortBy(t,function(e){return e}),n=_.map(a,function(e){return{msisdn:e,formattedMsisdn:s.format(e)}});e.mpMsisdnSelectorData.msisdns=n}function u(){var t=0;_.forEach(e.mpMsisdnSelectorData.selectedPacks,function(e){_.isEqual(e.quantity,"")||_.isUndefined(e.quantity)||(t+=parseInt(e.quantity))}),e.mpMsisdnSelectorData.totalSelectedPack=t,p(),r()}function p(){_.isUndefined(a.data.awardOrder)||_.isUndefined(a.data.awardOrder.orderData&&!_.isUndefined(a.data.awardOrder.orderData.delivery))||(a.data.awardOrder.orderData.delivery=e.mpMsisdnSelectorData.selectedPacks,a.data.awardOrder.msisdns=e.mpMsisdnSelectorData.selectedPacks)}function D(t){t.preventDefault(),e.mpMsisdnSelectorData.selectedPacks.push({msisdn:"",quantity:""}),r()}function S(t,a){t.preventDefault(),e.mpMsisdnSelectorData.selectedPacks.length>1&&e.mpMsisdnSelectorData.selectedPacks.splice(a,1),u()}function M(){var a;e.isSelectionError=!_.isEqual(e.mpMsisdnSelectorData.maximumAllowedPacks,e.mpMsisdnSelectorData.totalSelectedPack),a=!e.isSelectionError&&e.mpMsisdnSelectorData.maximumAllowedPacks>0,a?t.emitMessage("form.validated"):t.emitMessage("form.rejected","invalid pack selection")}e.mpMsisdnSelectorData={showDeleteButtons:!1,deepLink:!1,selectedPacks:[],totalSelectedPack:0,maximumAllowedPacks:0,msisdns:[],stockQuantitySelection:0,addLinkVisible:!1},e.addRow=D,e.deleteRow=S,e.updateQuantity=u,_.isUndefined(a.data.selectedPricePlanDTO)||_.isUndefined(a.data.orderType)?(t.emitMessage("deepLink"),e.mpMsisdnSelectorData.deepLink=!0):(e.mpMsisdnSelectorData.maximumAllowedPacks=c(),e.mpMsisdnSelectorData.stockQuantitySelection=l(),e.mpMsisdnSelectorData.totalSelectedPack=1),n(),e.$watch(function(){return a.data.awardOrder},function(t){t&&t.orderData&&!_.isEmpty(t.orderData.msisdns)&&(m(t.orderData.msisdns),_.isUndefined(t.orderData.delivery)?o():e.mpMsisdnSelectorData.selectedPacks=t.orderData.delivery,u())})}angular.module("myProximus.glp.award").directive("mpMsisdnSelector",e),e.$inject=[],t.$inject=["$scope","$eventBus","AwardOrderingService","MsisdnFormatter"]}(); !function(){"use strict";function t(t){function r(e,r,n){t.setStep(n.step||1),e.$watch(function(){return t.stepIndicatorData.step},function(t){_.isUndefined(t)||(e.stepIndicatorData.step=t)}),e.$watch(function(){return t.stepIndicatorData.emailError},function(t,r){t!==r&&(e.stepIndicatorData.emailError=t)})}var n={restrict:"A",controller:e,link:r,templateUrl:"/stepIndicatorTemplate"};return n}function e(t,e,r){t.stepIndicatorData={twoStepOrderFlow:r.data.twoStepOrderFlow,step:e.getStep(),emailError:e.getEmailErrorAlert()}}angular.module("myProximus.glp.award").directive("mpStepIndicator",t),t.$inject=["StepIndicatorService"],e.$inject=["$scope","StepIndicatorService","AwardOrderingService"]}(); !function(){"use strict";function e(){var e={restrict:"A",controller:a,templateUrl:"/televisionSelectorTemplate"};return e}function a(e,a,t,i,o){function l(){t.emitMessage("deepLink")}function n(){var a=_.findIndex(e.mpTelevisionSelectorData.vodNaProfiles,function(e){return e.quantities[0]>0}),t=e.mpTelevisionSelectorData.vodNaProfiles[a];k={na:t.na,quantity:_.isEqual(e.mpTelevisionSelectorData.vodNaProfiles.length,1)?_.max(t.quantities):1,quantities:t.quantities}}function r(e){_.forEach(e,function(e){e.formattedNa=o.format(e.na)})}function s(a){_.forEach(a,function(a){var t=Math.floor((a.maxCredits-a.credits)/e.mpTelevisionSelectorData.pricePlan.credits),i=_.min([t,e.mpTelevisionSelectorData.maximumAllowedPacks]);a.quantities=_.range(1,i+1)})}function c(a){a.preventDefault(),e.mpTelevisionSelectorData.selectedPacks.push(angular.copy(k)),m()}function d(a,t){a.preventDefault(),e.mpTelevisionSelectorData.selectedPacks.length>1&&e.mpTelevisionSelectorData.selectedPacks.splice(t,1),m()}function m(){var a=0;_.forEach(e.mpTelevisionSelectorData.selectedPacks,function(e){a+=parseInt(e.quantity)}),e.mpTelevisionSelectorData.totalSelectedPacks=a,e.isSelectionError=e.mpTelevisionSelectorData.totalSelectedPacks>e.mpTelevisionSelectorData.maximumAllowedPacks,S(),u(),T()}function u(){var a=_.groupBy(e.mpTelevisionSelectorData.selectedPacks,"na");_.forEach(a,function(e){e.totalSelected=_.sum(e,"quantity")}),e.mpTelevisionSelectorData.packsControl=_.map(Object.keys(a),function(e){var t=_.max(a[e][0].quantities);return{na:e,total:a[e].totalSelected,busted:a[e].totalSelected>t}})}function v(a){var t=_.find(e.mpTelevisionSelectorData.vodNaProfiles,function(e){return _.isEqual(e.na,a.na)});a.quantities=t.quantities,a.quantity=_.min([a.quantity,_.last(t.quantities)]),m()}function f(){t.onMessage("validate",p,e),t.onMessage("formValidator.validated",P,e),t.onMessage("formValidator.rejected",D,e)}function p(){t.emitMessage("formValidator.validate")}function D(){t.emitMessage("form.rejected","invalid television selection")}function S(){_.isUndefined(i.data.awardOrder)||_.isUndefined(i.data.awardOrder.orderData&&!_.isUndefined(i.data.awardOrder.orderData.delivery))||(i.data.awardOrder.orderData.delivery=e.mpTelevisionSelectorData.selectedPacks,i.setVodNAs(e.mpTelevisionSelectorData.selectedPacks))}function P(){var a=_.isEqual(e.mpTelevisionSelectorData.maximumAllowedPacks,e.mpTelevisionSelectorData.totalSelectedPacks)&&!_.some(e.mpTelevisionSelectorData.packsControl,"busted",!0);e.isSelectionError=!_.isEqual(e.mpTelevisionSelectorData.totalSelectedPacks,e.mpTelevisionSelectorData.maximumAllowedPacks),a?t.emitMessage("form.validated"):t.emitMessage("form.rejected","invalid television selection")}function T(){e.mpTelevisionSelectorData.addLinkVisible=e.mpTelevisionSelectorData.vodNaProfiles.length>1&&e.mpTelevisionSelectorData.maximumAllowedPacks>1&&e.mpTelevisionSelectorData.maximumAllowedPacks>e.mpTelevisionSelectorData.totalSelectedPacks&&e.mpTelevisionSelectorData.selectedPacks.length1}var k;_.isUndefined(i.data.selectedPricePlanDTO)?l():(e.mpTelevisionSelectorData={showDeleteButtons:!1,selectedPacks:[],totalSelectedPacks:1,maximumAllowedPacks:i.data.selectedPricePlanDTO.selectedQuantity,vodNaProfiles:void 0,addLinkVisible:!1,pricePlan:i.data.selectedPricePlanDTO.pricePlan},e.addRow=c,e.deleteRow=d,e.naChanged=v,e.updateQuantity=m,e.$watch(function(){return i.data.awardOrder},function(t){t&&t.orderData&&!_.isEmpty(t.orderData.vodNaProfiles)&&(e.mpTelevisionSelectorData.vodNaProfiles=a("orderBy")(t.orderData.vodNaProfiles,"na"),r(e.mpTelevisionSelectorData.vodNaProfiles),s(e.mpTelevisionSelectorData.vodNaProfiles),n(),_.isUndefined(t.orderData.delivery)?e.mpTelevisionSelectorData.selectedPacks=[angular.copy(k)]:e.mpTelevisionSelectorData.selectedPacks=t.orderData.delivery,m(),T())})),f()}angular.module("myProximus.glp.award").directive("mpTelevisionSelector",e),e.$inject=[],a.$inject=["$scope","$filter","$eventBus","AwardOrderingService","NaFormatter"]}(); !function(){"use strict";function e(){var e={restrict:"A",templateUrl:"/thankYouTemplate",controller:t};return e}function t(e,t,r,i){_.isUndefined(r.data.orderType)&&t.emitMessage("deepLink"),e.thankYouData={selectedPricePlanDTO:r.data.selectedPricePlanDTO,isMyProximusMobileAppV2:i.isMyProximusMobileAppV2()},r.deleteOrderFlowData()}angular.module("myProximus.glp.award").directive("mpThankYou",e),e.$inject=[],t.$inject=["$scope","$eventBus","AwardOrderingService","$environment"]}(); !function(){"use strict";function a(a,r){function e(a){_.isEqual(a,3)&&(S.data.selectedPricePlanDTO=void 0)}function d(){S.data.twoStepOrderFlow=!1,S.data.orderType=void 0,S.data.loyaltyPoints=void 0,S.data.isBirthdayAward&&(r.removeItem("aw:birthdayawardsv1"),S.data.isBirthdayAward=!1)}function t(a){a.value=S.data.awardOrder,delete a.value.orderData,delete a.value._links}function i(){return S.data.awardOrder.billingAccount}function n(a,r,e){S.data.awardOrder.billingAccount={id:_.isArray(a)?_.first(a):a,type:r},S.data.billingPaymentMethods=e}function o(a){S.data.awardOrder.mnmId=a,_.isUndefined(S.data.awardOrder.orderData)||(S.data.awardOrder.orderData.mnmId=a)}function l(a){S.data.awardOrder.email=a}function O(a){S.data.awardOrder.personDetails=a}function c(a){S.data.awardOrder.vodNas=a}function s(){return _.isUndefined(S.data.awardOrder)?void 0:S.data.awardOrder.personDetails}function w(){delete S.data.awardOrder.billingAccount}function E(){return S.data.awardOrder&&S.data.awardOrder.orderData?S.data.awardOrder.orderData.paymentagreements:""}function u(){return S.data.awardOrder&&S.data.awardOrder.orderData?S.data.awardOrder.orderData.proximusBillingAccounts:""}function A(a){S.data.orderFlowStarted=!0,S.data.selectedPricePlanDTO=a,S.data.orderType=D[a.award.type],S.data.twoStepOrderFlow=_.isEqual(a.pricePlan.cash,0),_.isEqual(S.data.orderType,"LoyaltyPoints")&&!_.isUndefined(a.award.loyaltyPoints)&&(S.data.loyaltyPoints=a.award.loyaltyPoints)}function y(a){return{awardId:a.award.awardId,pricePlan:a.pricePlan,amount:a.selectedQuantity,awardType:a.award.type}}function P(a){_.isUndefined(S.data.loyaltyPoints)||(a.loyaltyPoints=S.data.loyaltyPoints),S.data.awardOrder=a}function T(a){S.data.isBirthdayAward=a}function I(){return S.data.isBirthdayAward}function f(){return S.data.awardOrder}var D={EVoucher:"evoucher",DEVICES:"device",PS_PREPAID:"device",TICKET_VOUCHERS:"device",MERCHANDISES:"device",DEVICE_ACCESSORIES:"device",MILES_AND_MORE:"mm",PARTNER_AWARDS:"partner",BELGACOM_FIXED_FREE_MINUTES:"fixed",BELGACOM_MOBILE_FREE_MINUTES:"bone",BELGACOM_FREE_MINUTES:"bone",BELGACOM_DIGITAL_TV:"video",PS_POSTPAID_TO_DISTRIBUTE:"freeair",PS_POSTPAID:"freeair",LOYALTY_POINTS:"LoyaltyPoints",PROXIMUS_VOUCHER:"evoucher",BONE_ONE_OFF_DATA_BUNDLE:"bone",MCS_ONE_OFF_DATA_BUNDLE:"freeair"},S={awardTypeMap:D,setAwardOrder:P,getCreateOrderRequestBody:y,initializeAwardOrderFlow:A,getPaymentAgreements:E,getBillingAccounts:u,deleteBillingAccountFromOrder:w,getOrderBillingAccount:i,setBillingAccountToOrder:n,setAwardOrderToOrderEntity:t,setVodNAs:c,setPersonDetails:O,getPersonDetails:s,setMilesAndMoreId:o,setEmail:l,deleteOrderFlowData:d,getAwardOrder:f,clearSelectedPricePlan:e,setBirthdayAward:T,isBirthdayAward:I,data:{orderFlowStarted:!1,orderType:void 0,twoStepOrderFlow:!1,selectedPricePlanDTO:void 0,awardOrder:void 0,loyaltyPoints:void 0,isBirthdayAward:!1,emailError:!1},ORDER_VALIDATION_ERROR:"orderValidationError",PAYMENT_AGREEMENT:"PAYMENT_AGREEMENT",PROXIMUS_BILLING_ACCOUNT:"PROXIMUS_BILLING_ACCOUNT"};return S}angular.module("myProximus.glp.award").factory("AwardOrderingService",a),a.$inject=["GlpEntityConfig","$storage"]}(); !function(){"use strict";function r(){function r(r){var t=!1,a=["33303","22201","99222","99200","99990"];switch(r.length){case 9:t=n(r);break;case 15:var e=r.substring(0,5);_.includes(a,e)&&(t=n(r))}return t}function n(r){var n=[2,1],a=r.split(""),e=parseInt(_.last(a)),i=_.slice(a,0,a.length-1).reverse(),u=_.map(i,function(r,a){var e=n[a%2]*parseInt(r);return t(e)}),c=0;_.forEach(u,function(r){c+=r});var s=10*Math.ceil(c/10),o=_.isEqual(e,s-c);return o}function t(r){var n=r.toString().split("");n=_.map(n,function(r){return parseInt(r)});var t=0;return _.forEach(n,function(r){t+=r}),t}var a={isValid:r};return a}angular.module("myProximus.glp.award").factory("MilesAndMoreIdValidatorService",r),r.$inject=[]}(); !function(){"use strict";function t(){function t(t){n.stepIndicatorData.step=parseInt(t)}function r(){return n.stepIndicatorData.step}function e(){return n.stepIndicatorData.emailError}function a(t){n.stepIndicatorData.emailError=t}var n={setStep:t,getStep:r,getEmailErrorAlert:e,setEmailErrorAlert:a,stepIndicatorData:{step:1,context:void 0,emailError:!1}};return n}angular.module("myProximus.glp.award").factory("StepIndicatorService",t),t.$inject=[]}(); !function(){"use strict";function e(e){var d={restrict:"A",templateUrl:"/recommendedAwardsTemplate",controller:a};return d}function a(e,a,d,r,n,c){r.dispatch(n.GET_RECOMMENDED_AWARDS.EVENT),a.mpRecommendedAwardsData={},a.$watch(function(){return c.data.recommendedAwards},function(r){_.isArray(r)&&(a.mpRecommendedAwardsData.showRecommendedAwards=r.length>=3,a.mpRecommendedAwardsData.recommendedAwards=r,inception.clickable(".jsrs-clickable"),d(function(){inception.equalize(),e.$broadcast("reLazyLoad")}))})}angular.module("myProximus.glp.award").directive("mpRecommendedAwards",e),e.$inject=["$timeout"],a.$inject=["$rootScope","$scope","$timeout","$commangular","AwardCommandConfig","RecommendedAwardsService"]}(); !function(){"use strict";function r(r,e,t,a){function n(r){a.data.isBirthdayAward=!1,r=c(r);var e=i(r);u.data.recommendedAwards=o(e)}function i(r){var e={};return _.forEach(r,function(r){e[r.priority]||(e[r.priority]=[]),e[r.priority].push(r)}),e}function o(r){var e=[];return Object.keys(r).sort(function(r,e){return e-r}).forEach(function(t,a){if(a++<3){var n=r[t].length-1,i=Math.floor(Math.random()*n);e.push(r[t][i])}}),e}function c(r){return _.forEach(r,function(r){d(r)})}function d(a){t.setAwardPromoProperties(a),r.setMinimalPricePlan(a),r.setCash(a),e.updateStockInformation(a,a._embedded["aw:stock"]),r.setEligiblePricePlans(a),r.formatPricePlans(a)}var u={setRecommendedAwards:n,data:{recommendedAwards:void 0}};return u}angular.module("myProximus.glp.award").factory("RecommendedAwardsService",r),r.$inject=["AwardPricePlanService","AwardStockService","AwardPromoService","AwardDetailService"]}(); !function(){"use strict";function t(){var t={restrict:"A",replace:!0,controller:e,templateUrl:"/awardCatalogSortTemplate"};return t}function e(t,e,o,r,n){function i(){s()}function a(){return _.isUndefined(t.selectedSortOption)?r.getDefaultSortOption():t.selectedSortOption.id}function c(){var t=n.getObject("selectedSortOption");return _.isEqual(t,null)?void 0:t}function s(){var e=r.data.sortOptions;_.forEach(e,function(e){_.isEqual(e.id,t.selectedSortOptionKey)&&(t.selectedSortOption=e)}),l()}function l(){_.isObject(t.selectedSortOption)&&n.setObject("selectedSortOption",t.selectedSortOption)}t.sortOptionsEnabled=!1,t.selectSortOption=i,t.selectedSortOption=c(),t.$watch(function(){return o.data.awards},function(e,o){_.isArray(e)&&!_.isEqual(e,o)&&(t.selectedSortOptionKey=a(),t.sortOptionEnabled=!0,s())}),t.$watch(function(){return t.selectedSortOptionKey},function(n,i){_.isEqual(n,i)||(r.setSortOption(t.selectedSortOption),o.processAwards(),e.$broadcast("reLazyLoad"),s())})}angular.module("myProximus.glp.award").directive("mpAwardCatalogSort",t),t.$inject=[],e.$inject=["$scope","$rootScope","AwardCatalogService","AwardCatalogSortService","$sessionStorage"]}(); !function(){"use strict";function t(t,r){function a(t){n.data.sortOption=t}function o(){var a="2";return r.data.loyaltyPoints