1"use strict";(self.NiveaXwebpackJsonp=self.NiveaXwebpackJsonp||[]).push([[7617],{93657:(t,e,o)=>{o.r(e),o.d(e,{default:()=>s});var a=o(80711),i=o(72597);class s{constructor(){this.showNotification(),window.NiveaX.AlpacaListener.subscribe("init",t=>t.detail.form.registerCustomDataHandler("LoyaltyPointsEarned",async t=>{const e=t.customData;localStorage.setItem("Points",e),setTimeout(()=>this.showNotification(),1e3)}))}showNotification(){let t,e=null,o=!1;const s=setInterval(async()=>{var n,l;t=parseInt(localStorage.getItem("Points")),e=t>0?null===(n=(0,i.u2)())||void 0===n?void 0:n.EarnPointsPush:null===(l=(0,i.u2)())||void 0===l?void 0:l.RedeemPointsPush,t&&e&&!o?await(0,a.dd)(e).then(e=>{e?(t=t<0?Math.abs(t):t,e.Text=e.Text.replace(/{loyaltyPoints}/g,t.toString()),window.NiveaX.notification.push(e),localStorage.removeItem("Points")):o=!0}):clearInterval(s)},1500)}}}}]); 2//# sourceMappingURL=/dist/NiveaX/./modules/RedeemLoyaltyPoints-LoyaltyNotifications.86aa3913.js.24c98e22.map
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.