1"use strict";(self.webpackChunkcelebrity=self.webpackChunkcelebrity||[]).push([[1836],{61836:(f,g,s)=>{s.r(g),s.d(g,{rcg_message_hub:()=>E});var p=s(10467),c=s(76658),i=s(4373),t=s(18364),b=s(87423);const h=new i.E;function l(){return(l=(0,p.A)(function*(r){const e=(0,i.g)(r),a=i.a[r.environment].API_PATH+i.u.basePathContentService,o=new Request(`${a}/message-center`,{method:"GET",headers:e});try{const n=yield fetch(o),d=yield n.json();if(!n.ok)throw h.handleErrorResponse({error:d,url:a,status:n.status,message:"AEMContentServiceLoad|ScriptError"});return d.payload}catch(n){throw n.isHandled?n:h.handleErrorResponse({error:n,url:a,status:n.status,message:"AEMContentServiceLoad|ScriptError"})}})).apply(this,arguments)}const u={content:{mainTab:{myMessages:"My messages",chat:"Chat"},notificationsTab:{staticFilters:{allText:"All",unreadText:"Unread",requiredText:"Action required",dealsOffersText:"Deals & Offers",expiredText:"Expired"},expiredImportanMsg:{actionReq:"Action required",expiringOneHour:"Expires in 1 hour",expiringTime:"Expires in EXPIRING_TIME hours",expiringOneMinute:"Expires in 1 minute",expiringMinutes:"Expires in EXPIRING_MINUTE minutes",expiringOneDay:"Expires in 1 day",expiringDays:"Expires in EXPIRING_DAYS days",expiringOneMonth:"Expires in 1 month",expiringMonths:"Expires in EXPIRING_MONTHS months",expiredOneHour:"Expired 1 hour ago",expiredTime:"Expired EXPIRED_TIME hours ago",expiredOneDay:"Expired 1 day ago",expiredDays:"Expired EXPIRED_DAYS days ago",expiredOneMinute:"Expires in 1 minute",expiredMinutes:"Expired EXPIRED_MINUTES minutes ago",expiredOneMonth:"Expires in 1 month",expiredMonths:"Expired EXPIRED_MONTHS months ago"},groupsTimestamps:{todayText:"Today",yesterdayText:"Yesterday",lastWeekText:"Last week",lastMonthText:"Last month",last30DaysText:"Last 30 days",hourAgoText:"1 hour ago",hoursAgoText:"HOURS_VALUE hours ago",dayAgoText:"1 day ago",daysAgoText:"DAYS_VALUE days ago",minuteAgoText:"1 minute ago",minutesAgoText:"MINUTES_VALUE minutes ago",monthAgoText:"1 month ago",monthsAgoText:"MONTHS_VALUE months ago"},resiliency:{nothingToSee:"Nothing to see here... yet!",checkBackLater:"Check back later for exciting news, promotions, and more.",spilledInvisibleInk:"Oops! Looks like we spilled invisible ink",refreshThePage:"Refresh the page to see notifications.",refreshCta:"Refresh"},conditionalApnMsg:{getAppNow:"Open or download the app now!"},endList:{caughtUp:"You\u2019re all caught up!",allSeen:"You\u2019ve seen all messages from the last 30 days."}},iconAssets:{entryPoint:[{assetName:"chat-bubble-icon-notification.png",path:"/content/dam/excalibur/icon-library/messaging-center/chat-bubbles/chat-bubble-icon-notification.png",category:"chat",friendlyName:"Chat bubble",callToAction:null},{assetName:"chat-bubble-icon.png",path:"/content/dam/excalibur/icon-library/messaging-center/chat-bubbles/chat-bubble-icon.png",category:"chat",friendlyName:"chat",callToAction:null}],notificationsTab:{resiliency:[{assetName:"chat-bubble-grey.png",path:"/content/dam/excalibur/icon-library/messaging-center/chat-bubbles/chat-bubble-grey.png",category:null,friendlyName:null,callToAction:null}]}}}},m={en:u,gb:{content:{mainTab:{myMessages:"My messages",chat:"Chat"},notificationsTab:{staticFilters:{allText:"All",unreadText:"Unread",requiredText:"Action required",dealsOffersText:"Deals & Offers",expiredText:"Expired"},expiredImportanMsg:{actionReq:"Action required",expiringOneHour:"Expires in 1 hour",expiringTime:"Expires in EXPIRING_TIME hours",expiringOneMinute:"Expires in 1 minute",expiringMinutes:"Expires in EXPIRING_MINUTE minutes",expiringOneDay:"Expires in 1 day",expiringDays:"Expires in EXPIRING_DAYS days",expiringOneMonth:"Expires in 1 month",expiringMonths:"Expires in EXPIRING_MONTHS months",expiredOneHour:"Expired 1 hour ago",expiredTime:"Expired EXPIRED_TIME hours ago",expiredOneDay:"Expired 1 day ago",expiredDays:"Expired EXPIRED_DAYS days ago",expiredOneMinute:"Expires in 1 minute",expiredMinutes:"Expired EXPIRED_MINUTES minutes ago",expiredOneMonth:"Expires in 1 month",expiredMonths:"Expired EXPIRED_MONTHS months ago"},groupsTimestamps:{todayText:"Today",yesterdayText:"Yesterday",lastWeekText:"Last week",lastMonthText:"Last month",last30DaysText:"Last 30 days",hourAgoText:"1 hour ago",hoursAgoText:"HOURS_VALUE hours ago",dayAgoText:"1 day ago",daysAgoText:"DAYS_VALUE days ago",minuteAgoText:"1 minute ago",minutesAgoText:"MINUTES_VALUE minutes ago",monthAgoText:"1 month ago",monthsAgoText:"MONTHS_VALUE months ago"}
1,resiliency:{nothingToSee:"Nothing to see here... yet!",checkBackLater:"Check back later for exciting news, promotions, and more.",spilledInvisibleInk:"Oops! Looks like we spilled invisible ink",refreshThePage:"Refresh the page to see notifications.",refreshCta:"Refresh"},conditionalApnMsg:{getAppNow:"Open or download the app now!"},endList:{caughtUp:"You\u2019re all caught up!",allSeen:"You\u2019ve seen all messages from the last 30 days."}},iconAssets:{entryPoint:[{assetName:"chat-bubble-icon-notification.png",path:"/content/dam/excalibur/icon-library/messaging-center/chat-bubbles/chat-bubble-icon-notification.png",category:"chat",friendlyName:"Chat bubble",callToAction:null},{assetName:"chat-bubble-icon.png",path:"/content/dam/excalibur/icon-library/messaging-center/chat-bubbles/chat-bubble-icon.png",category:"chat",friendlyName:"chat",callToAction:null}],notificationsTab:{resiliency:[{assetName:"chat-bubble-grey.png",path:"/content/dam/excalibur/icon-library/messaging-center/chat-bubbles/chat-bubble-grey.png",category:null,friendlyName:null,callToAction:null}]}}}},es:{content:{mainTab:{myMessages:"Mis mensajes",chat:"Chat"},notificationsTab:{staticFilters:{allText:"Todos",unreadText:"No le\xeddo",required:"Acci\xf3n requerida",dealsOffers:"Ofertas y promociones",expiredText:"Caducado"},expiredImportanMsg:{actionReq:"Acci\xf3n requerida",expiringOneHour:"Caduca en 1 hora",expiringTime:"Caduca en EXPIRING_TIME horas",expiringOneMinute:"Caduca en 1 minuto",expiringMinutes:"Caduca en EXPIRING_MINUTE minutos",expiringOneDay:"Caduca en 1 d\xeda",expiringDays:"Caduca en EXPIRING_DAYS d\xedas",expiringOneMonth:"Caduca en 1 mes",expiringMonths:"Caduca en EXPIRING_MONTHS meses",expiredOneHour:"Caduc\xf3 hace 1 hora",expiredTime:"Caduc\xf3 hace EXPIRED_TIME horas",expiredOneDay:"Caduc\xf3 hace 1 d\xeda",expiredDays:"Caduc\xf3 hace EXPIRED_DAYS d\xedas",expiredOneMinute:"Caduc\xf3 hace 1 minuto",expiredMinutes:"Caduc\xf3 hace EXPIRED_MINUTES minutos",expiredOneMonth:"Caduc\xf3 hace 1 mes",expiredMonths:"Caduc\xf3 hace EXPIRED_MONTHS meses"},groupsTimestamps:{todayText:"Hoy",yesterdayText:"Ayer",lastWeekText:"La semana pasada",lastMonthText:"El mes pasado",last30DaysText:"\xdaltimos 30 d\xedas",hourAgoText:"Hace 1 hora",hoursAgoText:"Hace HOURS_VALUE horas",dayAgoText:"Hace 1 d\xeda",daysAgoText:"Hace DAYS_VALUE d\xedas",minuteAgoText:"Hace 1 minuto",minutesAgoText:"Hace MINUTES_VALUE minutos",monthAgoText:"Hace 1 mes",monthsAgoText:"Hace MONTHS_VALUE meses"},resiliency:{nothingToSee:"No hay nada que ver aqu\xed... \xa1todav\xeda!",checkBackLater:"Vuelve m\xe1s tarde para ver noticias emocionantes, promociones y m\xe1s.",spilledInvisibleInk:"\xa1Ups! Parece que derramamos tinta invisible",refreshThePage:"Actualiza la p\xe1gina para ver las notificaciones.",refreshCta:"Actualizar"},conditionalApnMsg:{getAppNow:"\xa1Abre o descarga la aplicaci\xf3n ahora!"},endList:{caughtUp:"\xa1Est\xe1s al d\xeda!",allSeen:"Has visto todos los mensajes de los \xfaltimos 30 d\xedas."}},iconAssets:{entryPoint:[{assetName:"chat-bubble-icon-notification.png",path:"/content/dam/excalibur/icon-library/messaging-center/chat-bubbles/chat-bubble-icon-notification.png",category:"chat",friendlyName:"Chat bubble",callToAction:null},{assetName:"chat-bubble-icon.png",path:"/content/dam/excalibur/icon-library/messaging-center/chat-bubbles/chat-bubble-icon.png",category:"chat",friendlyName:"chat",callToAction:null}],notificationsTab:{resiliency:[{assetName:"chat-bubble-grey.png",path:"/content/dam/excalibur/icon-library/messaging-center/chat-bubbles/chat-bubble-grey.png",category:null,friendlyName:null,callToAction:null}]}}}},pt:{content:{mainTab:{myMessages:"Minhas mensagens",chat:"Bate-papo"},notificationsTab:{staticFilters:{allText:"Todos",unreadText:"N\xe3o lido",requiredText:"A\xe7\xe3o necess\xe1ria",deal
1sOffersText:"Ofertas e Promo\xe7\xf5es",expiredText:"Expirado"},expiredImportanMsg:{actionReq:"A\xe7\xe3o necess\xe1ria",expiringOneHour:"Expira em 1 hora",expiringTime:"Expira em EXPIRING_TIME horas",expiringOneMinute:"Expira em 1 minuto",expiringMinutes:"Expira em EXPIRING_MINUTE minutos",expiringOneDay:"Expira em 1 dia",expiringDays:"Expira em EXPIRING_DAYS dias",expiringOneMonth:"Expira em 1 m\xeas",expiringMonths:"Expira em EXPIRING_MONTHS meses",expiredOneHour:"Expirado h\xe1 1 hora",expiredTime:"Expirado h\xe1 EXPIRED_TIME horas",expiredOneDay:"Expirado h\xe1 1 dia",expiredDays:"Expirado h\xe1 EXPIRED_DAYS dias",expiredOneMinute:"Expirado h\xe1 1 minuto",expiredMinutes:"Expirado h\xe1 EXPIRED_MINUTES minutos",expiredOneMonth:"Expirado h\xe1 1 m\xeas",expiredMonths:"Expirado h\xe1 EXPIRED_MONTHS meses"},groupsTimestamps:{todayText:"Hoje",yesterdayText:"Ontem",lastWeekText:"\xdaltima semana",lastMonthText:"\xdaltimo m\xeas",last30DaysText:"\xdaltimos 30 dias",hourAgoText:"1 hora atr\xe1s",hoursAgoText:"HOURS_VALUE horas atr\xe1s",dayAgoText:"1 dia atr\xe1s",daysAgoText:"DAYS_VALUE dias atr\xe1s",minuteAgoText:"1 minuto atr\xe1s",minutesAgoText:"MINUTES_VALUE minutos atr\xe1s",monthAgoText:"1 m\xeas atr\xe1s",monthsAgoText:"MONTHS_VALUE meses atr\xe1s"},resiliency:{nothingToSee:"Nada para ver aqui... ainda!",checkBackLater:"Volte mais tarde para ver not\xedcias emocionantes, promo\xe7\xf5es e mais.",spilledInvisibleInk:"Ops! Parece que derramamos tinta invis\xedvel",refreshThePage:"Atualize a p\xe1gina para ver as notifica\xe7\xf5es.",refreshCta:"Atualizar"},conditionalApnMsg:{getAppNow:"Abra ou baixe o aplicativo agora!"},endList:{caughtUp:"Voc\xea est\xe1 atualizado!",allSeen:"Voc\xea viu todas as mensagens dos \xfaltimos 30 dias."}},iconAssets:{entryPoint:[{assetName:"chat-bubble-icon-notification.png",path:"/content/dam/excalibur/icon-library/messaging-center/chat-bubbles/chat-bubble-icon-notification.png",category:"chat",friendlyName:"Chat bubble",callToAction:null},{assetName:"chat-bubble-icon.png",path:"/content/dam/excalibur/icon-library/messaging-center/chat-bubbles/chat-bubble-icon.png",category:"chat",friendlyName:"chat",callToAction:null}],notificationsTab:{resiliency:[{assetName:"chat-bubble-grey.png",path:"/content/dam/excalibur/icon-library/messaging-center/chat-bubbles/chat-bubble-grey.png",category:null,friendlyName:null,callToAction:null}]}}}},zh:{content:{mainTab:{myMessages:"\u6211\u7684\u6d88\u606f",chat:"\u804a\u5929"},notificationsTab:{staticFilters:{allText:"\u6240\u6709",unreadText:"\u672a\u8bfb",requiredText:"\u9700\u8981\u64cd\u4f5c",dealsOffersText:"\u4f18\u60e0\u548c\u4fc3\u9500",expiredText:"\u5df2\u8fc7\u671f"},expiredImportanMsg:{actionReq:"\u9700\u8981\u64cd\u4f5c",expiringOneHour:"1\u5c0f\u65f6\u540e\u8fc7\u671f",expiringTime:"EXPIRING_TIME\u5c0f\u65f6\u540e\u8fc7\u671f",expiringOneMinute:"1\u5206\u949f\u540e\u8fc7\u671f",expiringMinutes:"EXPIRING_MINUTE\u5206\u949f\u540e\u8fc7\u671f",expiringOneDay:"1\u5929\u540e\u8fc7\u671f",expiringDays:"EXPIRING_DAYS\u5929\u540e\u8fc7\u671f",expiringOneMonth:"1\u4e2a\u6708\u540e\u8fc7\u671f",expiringMonths:"EXPIRING_MONTHS\u4e2a\u6708\u540e\u8fc7\u671f",expiredOneHour:"1\u5c0f\u65f6\u524d\u8fc7\u671f",expiredTime:"EXPIRED_TIME\u5c0f\u65f6\u524d\u8fc7\u671f",expiredOneDay:"1\u5929\u524d\u8fc7\u671f",expiredDays:"EXPIRED_DAYS\u5929\u524d\u8fc7\u671f",expiredOneMinute:"1\u5206\u949f\u524d\u8fc7\u671f",expiredMinutes:"EXPIRED_MINUTES\u5206\u949f\u524d\u8fc7\u671f",expiredOneMonth:"1\u4e2a\u6708\u524d\u8fc7\u671f",expiredMonths:"EXPIRED_MONTHS\u4e2a\u6708\u524d\u8fc7\u671f"},groupsTimestamps:{todayText:"\u4eca\u5929",yesterdayText:"\u6628\u5929",lastWeekText:"\u4e0a\u5468",lastMonthText:"\u4e0a\u4e2a\u6708",last30DaysText:"\u8fc7\u53bb30\u5929",hourAgoText:"1\u5c0f\u65f6\u524d",hoursAgoText:"HOURS_VALUE\u5c0f\u65f6\u524d",dayAgoText:"1\u5929\u524d",daysAgoText:"DAYS_VALUE\u5929\u524d",minuteAgoText:"1\u5206\u949f\u524d",minutesAgoText:"MINUTES_VALUE\u5206\u949f\u524d",monthAgoText:"1\u4e2a\u6708\u524d",monthsAgoText:"MONTHS_VALUE\u4e2a\u6708\u524d"}
1,resiliency:{nothingToSee:"\u8fd9\u91cc\u6ca1\u6709\u4ec0\u4e48\u53ef\u770b... \u8fd8\u6ca1\u6709!",checkBackLater:"\u7a0d\u540e\u518d\u56de\u6765\u67e5\u770b\u4ee4\u4eba\u5174\u594b\u7684\u65b0\u95fb\u3001\u4fc3\u9500\u7b49\u3002",spilledInvisibleInk:"\u54ce\u5440! \u770b\u8d77\u6765\u6211\u4eec\u6d12\u4e86\u9690\u5f62\u58a8\u6c34",refreshThePage:"\u5237\u65b0\u9875\u9762\u4ee5\u67e5\u770b\u901a\u77e5\u3002",refreshCta:"\u5237\u65b0"},conditionalApnMsg:{getAppNow:"\u7acb\u5373\u6253\u5f00\u6216\u4e0b\u8f7d\u5e94\u7528\u7a0b\u5e8f!"},endList:{caughtUp:"\u60a8\u5df2\u66f4\u65b0!",allSeen:"\u60a8\u5df2\u67e5\u770b\u8fc7\u53bb30\u5929\u7684\u6240\u6709\u6d88\u606f."}},iconAssets:{entryPoint:[{assetName:"chat-bubble-icon-notification.png",path:"/content/dam/excalibur/icon-library/messaging-center/chat-bubbles/chat-bubble-icon-notification.png",category:"chat",friendlyName:"Chat bubble",callToAction:null},{assetName:"chat-bubble-icon.png",path:"/content/dam/excalibur/icon-library/messaging-center/chat-bubbles/chat-bubble-icon.png",category:"chat",friendlyName:"chat",callToAction:null}],notificationsTab:{resiliency:[{assetName:"chat-bubble-grey.png",path:"/content/dam/excalibur/icon-library/messaging-center/chat-bubbles/chat-bubble-grey.png",category:null,friendlyName:null,callToAction:null}]}}}}},T=u,E=(()=>{let r=class{constructor(e){(0,c.r)(this,e),this.customErrorEvent=(0,c.c)(this,"customErrorEvent"),this.language="en",this.version=b.D,this.apiConfig=null,this.contentData=null,this.loading=!1}componentWillLoad(){this.apiConfig&&(i.u.language=this.apiConfig.language,i.u.brand=this.apiConfig.brand),this.loadContent()}createTabsObject(e){return Object.values(e).map((a,o)=>({id:o+1,label:a,active:!o}))}loadContent(){return t.s.contentData&&t.s.language===this.language&&!t.s.isBackupData?(this.contentData=t.s.contentData,this.setTabs(),this.contentData):!t.s.contentData||t.s.language!==this.language||t.s.isBackupData?this.getContentApiResponse():void 0}getBackupContent(){this.contentData=t.s.contentData=m[this.language]||T,t.s.isBackupData=!0,t.s.language=this.language,this.setTabs()}setTabs(){var e,a,o;const n=null===(o=null===(a=null===(e=t.s.contentData)||void 0===e?void 0:e.content)||void 0===a?void 0:a.notificationsTab)||void 0===o?void 0:o.staticFilters;n&&(this.tabs=JSON.stringify(this.createTabsObject(n)))}getContentApiResponse(){this.loading=!0,function x(r){return l.apply(this,arguments)}(this.apiConfig).then(e=>{this.loading=!1,t.s.isBackupData=!1,t.s.language=this.language,this.contentData=t.s.contentData=e,this.setTabs()}).catch(e=>{this.loading=!1,this.getBackupContent(),this.onEmitServerError((0,i.e)(e))})}onEmitServerError(e){const a=(0,i.b)(i.c.AEM_CONTENT,e);this.customErrorEvent.emit(a)}render(){return(0,c.h)("div",{key:"5c50b7d573d8e3dd797cd890373325eb97695e79",class:"message-hub-container"},this.loading?(0,c.h)("rcg-notification-shimmer",null):(0,c.h)("rcg-message-center-state-container",{language:this.language,headerTitle:this.headerTitle,badgeText:this.badgeText,brand:this.brand,tabs:this.tabs,apiConfig:this.apiConfig,analyticsClientData:this.analyticsClientData,version:this.version}))}};return r.style=":host{--royal-main-color:#006af4;--celebrity-main-color:#004275;--focus-royal-color:#006af4;--celebrity-secondary-color:#1673af;--background-color:#f6f8fb;--black-color:#000000;--white-color:#ffffff;--royal-expires-in-color:#df0268;--celebrity-expires-in-color:#cf4444;--light-black-color:#131516;--celebrity-primary-pearl:#f7f9fa;--royal-primary-coconut:#f6f8fb;--storm-color:#555f61;--badge-color:#e40f2f;--font-weight-header:800;--font-weight-content:700;--read-message-color:#555f61;--light-black-100-color:#131516;--royal-action-required-in-color:#006af4;--message-title-font-size:18px;--celebrity-action-required-in-color:#004275;--celebrity-storm-color:#555f61;--btn-border-radius-royal:4px;--btn-border-radius-celebrity:4px;--btn-cta-padding:0 16px;--btn-cta-min-width:160px;--focus-celebrity-color:#1673af;--chat-bubble-icon-width:64px;--chat-bubble-icon-height:64px;--button-height:48px;--button-color:linear-gradient(136deg, #006efe -5.55%, #0040cd 89.35%);--button-height-mobile:48px}:host([version=v2]){--royal-main-color:#053B81;--celebrity-main-color:#002859;--focus-royal-color:#1240B5;--celebrity-secondary-color:#1673af;--background-color:#f6f8fb;--black-color:#000000;--white-color:#ffffff;--royal-expires-in-color:#A3006F;--celebrity-expires-in-color:#002859;--light-black-color:#021D49;--celebrity-primary-pearl:#f7f9fa;--royal-primary-coconut:#f6f8fb;--storm-color:#315788;--badge-color:#ED1D24;--font-weight-header:600;--font-weight-content:600;--read-message-color:#010C1D;--light-black-100-color:#010C1D;--royal-action-required-in-color:#4C0AAE;--message-title-font-size:16px;--celebrity-action-required-in-color:#E87435;--celebrity-storm-color:#4D698B;--btn-border-radius-royal:250px;--btn-border-radius-celebrity:1px;--btn-cta-padding:0 32px;--btn-cta-min-width:auto;--focus-celebrity-color:#1240B5;--chat-bubble-icon-width:48px;--chat-bubble-icon-height:48px;--button-height:64px;--button-color:#053B81;--button-height-mobile:54px}.message-hub-container{display:flex;flex-direction:column;width:100%}",r})()}}]);
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.