!function(){"use strict";angular.module("myProximus.glp.loyalty",["ui.odometer"]).constant("LoyaltyConstants",{FILES:[]})}(); !function(){"use strict";function r(r,t,e,n,l,i,a){return{execute:function(){var o=r.defer(),u=n.createEntity(l.banner_v1);return u.url=i,u.url=u.url+"?loyaltyId="+t.loyaltyProgramSubscriptionId,u.url=u.url+"&pointBalance="+t.currentPoints,u.url=u.url+"&contactInfo="+e,u.url=u.url+"&loyaltyProgramSpecificationId="+t._embedded["lp:loyaltyprogramspecification"].loyaltyProgramSpecificationId,u.url=u.url+"&eligibleForBirthdayGift="+a,n.getEntity(u).subscribe(function(r){o.resolve(r.value)},function(r){o.resolve("")}),o.promise}}}commangular.create("GetBannerCommand",r,{resultKey:"banner"}),r.$inject=["$q","loyaltyProgram","contactEmail","$entityManager","GlpEntityConfig","bannerURL","birthdayEligible"]}(); !function(){"use strict";function t(t,e,r,o,n){return{execute:function(){var a=t.defer(),c={customerId:e.customerId};return r.getEntity(n.loyaltyProgramSubscription_v1,c).subscribe(function(t){o.setLoyaltyProgram(t.value)},function(t){a.reject(t)},function(){a.resolve(o.data.loyaltyProgram)}),a.promise}}}commangular.create("GetLoyaltyProgramCommand",t,{resultKey:"loyaltyProgram"}),t.$inject=["$q","customerAccount","$entityManager","LoyaltyPointsService","GlpEntityConfig"]}(); !function(){"use strict";function t(t,i,e,r,o){return{execute:function(){var l=t.defer(),n={customerId:i.customerId};return e.getEntity(o.loyaltyProgramEligibility_v1,n).subscribe(function(t){r.setLoyaltyProgramEligibility(t.value)},function(t){l.reject(t)},function(){l.resolve(r.data.loyaltyProgramEligibility)}),l.promise}}}commangular.create("GetLoyaltyProgramEligibilityCommand",t,{resultKey:"loyaltyProgramEligibility"}),t.$inject=["$q","customerAccount","$entityManager","LoyaltyPointsService","GlpEntityConfig"]}(); !function(){"use strict";function i(i,t,e){return{execute:function(){var n=i.defer();return _.isEmpty(t)&&e.showInformation("myProximus.myAdvantages.messages","loyaltyEmailMissing",e.DISPLAY_CONTEXT.FIXED),n.resolve(!0),n.promise}}}commangular.create("ShowLoyaltyEmailMissingNotificationCommand",i),i.$inject=["$q","contactEmail","NotificationService"]}(); !function(){"use strict";function a(a,e,o,t,n,i,l){function s(){t.onMessage("formValidator.validated",m,a)}function c(){t.emitMessage("formValidator.validate")}function m(){o.dispatch(i.SET_CONTACT_EMAIL.EVENT,{contactEmail:a.emailOverlayData.email,contactContext:u}).then(function(){e.close(),l.removeNotification("loyaltyEmailMissing")},function(){l.showError("myProximus.myAdvantages.messages","myAdvantages.messages.technicalError.saveEmail",l.DISPLAY_CONTEXT.AUTO_REMOVE),e.close()})}function r(){e.dismiss("cancel")}var u="LOYALTY";a.emailOverlayData={email:n.getString("userContactEmail")},a.ok=c,a.cancel=r,s()}angular.module("myProximus.glp.loyalty").controller("emailOverlayController",a),a.$inject=["$scope","$modalInstance","$commangular","$eventBus","$sessionStorage","CommonCommandConfig","NotificationService"]}(); !function(){"use strict";function n(){var n={restrict:"A",scope:{},template:'
',controller:t};return n}function t(n,t,a,r,e){function o(){t.dispatch(r.GET_BANNER.EVENT,{bannerURL:d,contactContext:"loyalty",birthdayEligible:i}).then(function(t){n.mpLoyaltyBannerData.bannerHTML=t.banner},function(){console.error("error")})}n.mpLoyaltyBannerData={};var i=!1,d=_.get(a.iportalFn,"banners.glp.overview");d&&t.dispatch(e.GET_BIRTHDAY_AWARDS.EVENT).then(function(n){_.isUndefined(n.birthdayAwards.status)||!_.isEqual(n.birthdayAwards.status,200)||_.isEmpty(n.birthdayAwards.value._embedded.error)?(i=!0,o()):(i=!1,o())},function(){i=!1,o()})}angular.module("myProximus.glp.loyalty").directive("mpLoyaltyBanner",n),n.$inject=[],t.$inject=["$scope","$commangular","$window","LoyaltyCommandConfig","AwardCommandConfig"]}(); !function(){angular.module("myProximus.glp.loyalty.templates",[]).run(["$templateCache",function(a){a.put("/loyaltyEmailOverlayTemplate",'\r\n

Bezorg ons je e-mailadres

\r\n\r\n

  is het online getrouwheidsprogramma voor privéklanten van Proximus. We houden je regelmatig op de hoogte van je  -puntensaldo alsook wanneer er speciale acties zijn waardoor je extra punten kunt verdienen! Bedankt om ons je e-mailadres te bezorgen!

\r\n\r\n
\r\n
\r\n
\r\n \r\n Het ingegeven e-mailadres is ongeldig.\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Meer informatie
\r\n

Wil je meer gedetailleerde informatie over ons  -getrouwheidsprogramma? Raadpleeg dan onze algemene voorwaarden.

\r\n\r\n

\r\n Algemene voorwaarden\r\n \r\n

\r\n
\r\n
\r\n
\r\n\r\n ×\r\n\r\n
\r\n \r\n\r\n Annuleren\r\n
\r\n
\r\n'),a.put("/loyaltyOptinEmailNotificationTemplate",' \r\n We hebben je e-mailadres nodig om je op de hoogte te houden van je -puntensaldo.\r\n  \r\n Pas uw contactgegevens aan.\r\n \r\n \r\n'),a.put("/loyaltyPointsTemplate",'
\r\n\r\n
\r\n\r\n

\r\n
\r\n

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

\r\n Ruil je punten in vóór 30/11/2019\r\n

\r\n\r\n
\r\n
\r\n Lidnummer:\r\n
\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("/loyaltyPointsPointsHistoryTemplate",'\r\n
\r\n\r\n
\r\n
\r\n
\r\n

Status:

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

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

\r\n (NL) When you join the Premium Club you are a Welcome member.
If you wish to become a Silver member, you need to gather a minimum of 2,750 points over the year.
You aim for the Gold? Then you need to gather to gather 7,500 points/year.\r\n

\r\n

\r\n (NL) When you join the Bizz Club you are a Welcome member.
If you wish to become a Silver member, you need to gather a minimum of 2,750 points over the year.
You aim for the Gold? Then you need to gather to gather 7,500 points/year.
You want be Platinium Pro? Then you need to keep calm and be christina aguilera dirty and gather a quadrillion points/year.\r\n

\r\n

(NL) You receive points for every euro on your Proximus bill.

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

\r\n \r\n \r\n  - punten\r\n

\r\n
\r\n
\r\n
\r\n
\r\n'),a.put("/loyaltyProgramNameTemplate",'\r\n Bizz Club\r\n Premium Club\r\n\r\n'),a.put("/noLongerLoyaltyPointsTemplate",'\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n

\r\n

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

Zoals aangekondigd in juni, heeft Premium/Bizz Club op 30/11/2019 de deuren gesloten.\r\n

\r\n
    \r\n
  • Punten inruilen is niet meer mogelijk.\r\n
  • \r\n
  • U kunt wel nog de status van uw bestellingen en het overzicht van uw transacties raadplegen. \r\n
  • \r\n
\r\n
\r\n
\r\n
\r\n
\r')}])}(); !function(){"use strict";function l(){var l={restrict:"A",replace:!0,templateUrl:"/loyaltyOptinEmailNotificationTemplate",controller:t};return l}function t(l,t){function e(){var l={windowClass:"rs-reveal-modal-mobile",templateUrl:"/loyaltyEmailOverlayTemplate",controller:"emailOverlayController"};t.open(l)}l.showEmailOverlay=e}angular.module("myProximus.glp.loyalty").directive("mpLoyaltyOptinEmailNotification",l),l.$inject=[],t.$inject=["$scope","$modal"]}(); !function(){"use strict";function t(){var t={restrict:"A",scope:!0,templateUrl:"/loyaltyPointsTemplate",controller:o};return t}function o(t,o,a,r,n,i){t.mpLoyaltyPointsData={loyaltyProgram:{}},a.dispatch(n.GET_LOYALTY_PROGRAM.EVENT)["catch"](function(){t.mpLoyaltyPointsData.componentError=o.error}),t.$watch(function(){return r.data.loyaltyProgram},function(o,a){if(o||a&&!_.isEqual(o.currentPoints,a.currentPoints)){var n=r.data.loyaltyProgram;n.formattedCurrentPoints=i.format(n.currentPoints),n.nextExpiry.formattedPoints=i.format(n.nextExpiry.points),t.mpLoyaltyPointsData.loyaltyProgram=n;var y=r.data.loyaltyProgram._embedded["lp:loyaltyprogramspecification"].loyaltyProgramSpecificationId;_.isEqual(y,"GLP_EBU")?t.mpLoyaltyPointsData.showEbuLoyaltyProgramName=!0:t.mpLoyaltyPointsData.showCbuLoyaltyProgramName=!0}})}angular.module("myProximus.glp.loyalty").directive("mpLoyaltyPoints",t),t.$inject=[],o.$inject=["$scope","$attrs","$commangular","LoyaltyPointsService","LoyaltyCommandConfig","NumberFormatter"]}(); !function(){"use strict";function a(){var a={restrict:"A",templateUrl:"/loyaltyProgramNameTemplate",controller:t};return a}function t(a,t,o,r){a.mpLoyaltyProgramNameData={},t.dispatch(r.GET_LOYALTY_PROGRAM.EVENT)["catch"](function(){t.dispatch(r.GET_LOYALTY_PROGRAM_ELIGIBILITY.EVENT)});var m;a.$watch(function(){return o.data.loyaltyProgram},function(t){_.isEmpty(t)||m||(m=o.data.loyaltyProgram._embedded["lp:loyaltyprogramspecification"].loyaltyProgramSpecificationId,_.isEqual(m,"GLP_EBU")?a.mpLoyaltyProgramNameData.showEbuLoyaltyProgramName=!0:a.mpLoyaltyProgramNameData.showCbuLoyaltyProgramName=!0)}),a.$watch(function(){return o.data.loyaltyProgramEligibility},function(t){_.isEmpty(t)||m||(m=o.data.loyaltyProgramEligibility.loyaltyProgram,_.isEqual(m,"GLP_EBU")?a.mpLoyaltyProgramNameData.showEbuLoyaltyProgramName=!0:a.mpLoyaltyProgramNameData.showCbuLoyaltyProgramName=!0)})}angular.module("myProximus.glp.loyalty").directive("mpLoyaltyProgramName",a),a.$inject=[],t.$inject=["$scope","$commangular","LoyaltyPointsService","LoyaltyCommandConfig"]}(); !function(){"use strict";function o(){var o={restrict:"A",scope:!0,templateUrl:"/noLongerLoyaltyPointsTemplate",controller:t};return o}function t(o,t,a,r,n){o.mpNoLongerLoyaltyPointsData={loyaltyProgram:{}},a.dispatch(n.GET_LOYALTY_PROGRAM.EVENT)["catch"](function(){o.mpNoLongerLoyaltyPointsData.componentError=t.error}),o.$watch(function(){return r.data.loyaltyProgram},function(t,a){if(t||a&&!_.isEqual(t.currentPoints,a.currentPoints)){var n=r.data.loyaltyProgram;o.mpNoLongerLoyaltyPointsData.loyaltyProgram=n;var l=r.data.loyaltyProgram._embedded["lp:loyaltyprogramspecification"].loyaltyProgramSpecificationId;_.isEqual(l,"GLP_EBU")?o.mpNoLongerLoyaltyPointsData.showEbuLoyaltyProgramName=!0:o.mpNoLongerLoyaltyPointsData.showCbuLoyaltyProgramName=!0}})}angular.module("myProximus.glp.loyalty").directive("mpNoLongerLoyaltyPoints",o),o.$inject=[],t.$inject=["$scope","$attrs","$commangular","LoyaltyPointsService","LoyaltyCommandConfig"]}(); !function(){"use strict";function t(){function t(t){o.data.loyaltyProgram=t}function a(t){o.data.loyaltyProgramEligibility=t}var o={setLoyaltyProgram:t,setLoyaltyProgramEligibility:a,data:{loyaltyProgram:void 0,loyaltyProgramEligibility:void 0}};return o}angular.module("myProximus.glp.loyalty").factory("LoyaltyPointsService",t),t.$inject=[]}(); !function(){"use strict";function T(T,E,M){T.mapTo(M.GET_LOYALTY_PROGRAM.EVENT).asSequence().add(E.GET_CUSTOMER_ACCOUNT.COMMAND).add(M.GET_LOYALTY_PROGRAM.COMMAND),T.mapTo(M.GET_LOYALTY_PROGRAM_ELIGIBILITY.EVENT).asSequence().add(E.GET_CUSTOMER_ACCOUNT.COMMAND).add(M.GET_LOYALTY_PROGRAM_ELIGIBILITY.COMMAND),T.mapTo(E.GET_CONTACT_EMAIL.EVENT).asSequence().add(E.GET_CUSTOMER_ACCOUNT.COMMAND).add(E.GET_CONTACT_EMAIL.COMMAND).add(M.SHOW_LOYALTY_EMAIL_MISSING_NOTIFICATION.COMMAND),T.mapTo(M.GET_BANNER.EVENT).asSequence().add(E.GET_CUSTOMER_ACCOUNT.COMMAND).add(M.GET_LOYALTY_PROGRAM.COMMAND).add(E.GET_CONTACT_EMAIL.COMMAND).add(M.GET_BANNER.COMMAND)}var E={GET_LOYALTY_PROGRAM:{EVENT:"GetLoyaltyProgramEvent",COMMAND:"GetLoyaltyProgramCommand"},GET_LOYALTY_PROGRAM_ELIGIBILITY:{EVENT:"GetLoyaltyProgramEligibilityEvent",COMMAND:"GetLoyaltyProgramEligibilityCommand"},SHOW_LOYALTY_EMAIL_MISSING_NOTIFICATION:{COMMAND:"ShowLoyaltyEmailMissingNotificationCommand"},GET_BANNER:{EVENT:"GetBannerEvent",COMMAND:"GetBannerCommand"}};angular.module("myProximus.glp.loyalty").config(T).constant("LoyaltyCommandConfig",E),T.$inject=["$commangularProvider","CommonCommandConfig","LoyaltyCommandConfig"]}(); //# sourceMappingURL=loyalty.myProximus.process.js.map