<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">var $=Object.defineProperty,A=Object.defineProperties;var k=Object.getOwnPropertyDescriptors;var b=Object.getOwnPropertySymbols;var q=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var w=(n,e,t)=&gt;e in n?$(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,u=(n,e)=&gt;{for(var t in e||(e={}))q.call(e,t)&amp;&amp;w(n,t,e[t]);if(b)for(var t of b(e))C.call(e,t)&amp;&amp;w(n,t,e[t]);return n},g=(n,e)=&gt;A(n,k(e));var f=(n,e,t)=&gt;new Promise((o,i)=&gt;{var r=s=&gt;{try{c(t.next(s))}catch(m){i(m)}},a=s=&gt;{try{c(t.throw(s))}catch(m){i(m)}},c=s=&gt;s.done?o(s.value):Promise.resolve(s.value).then(r,a);c((t=t.apply(n,e)).next())});var d={error:n=&gt;console.error(n),info:n=&gt;console.info(n),warn:n=&gt;console.warn(n),debug:n=&gt;console.debug(n)};var L=["left","right"],W=["ltr","rtl"],J=n=&gt;!("currencySymbol"in n)||typeof n.currencySymbol!="string"?(d.error(`Invalid Launch Darkly currency configuration, global.price-formatting.config, currencySymbol: ${n.currencySymbol}`),!1):!("spaceRequired"in n)||typeof n.spaceRequired!="boolean"?(d.error(`Invalid Launch Darkly currency configuration, global.price-formatting.config, spaceRequired: ${n.spaceRequired}`),!1):!("position"in n)||!L.includes(n.position)?(d.error(`Invalid Launch Darkly currency configuration, global.price-formatting.config, position: ${n.position}`),!1):!("decimalSeparatorSymbol"in n)||typeof n.decimalSeparatorSymbol!="string"?(d.error(`Invalid Launch Darkly currency configuration, global.price-formatting.config, decimalSeparatorSymbol: ${n.decimalSeparatorSymbol}`),!1):!("groupSeparatorSymbol"in n)||typeof n.groupSeparatorSymbol!="string"?(d.error(`Invalid Launch Darkly currency configuration, global.price-formatting.config, groupSeparatorSymbol: ${n.groupSeparatorSymbol}`),!1):!("showNumOfDecimalDigits"in n)||typeof n.showNumOfDecimalDigits!="number"?(d.error(`Invalid Launch Darkly currency configuration, global.price-formatting.config, showNumOfDecimalDigits: ${n.showNumOfDecimalDigits}`),!1):!("textDirection"in n)||!W.includes(n.textDirection)?(d.error(`Invalid Launch Darkly currency configuration, global.price-formatting.config, textDirection: ${n.textDirection}`),!1):!0,P=(n,e,t=!1)=&gt;{let{currencySymbol:o,spaceRequired:i,position:r,showNumOfDecimalDigits:a,decimalSeparatorSymbol:c,groupSeparatorSymbol:s,textDirection:m}=e;if(!J(e))return n.toString();let l=i?"\xA0":"",v=n%1===0?0:a,p=m==="rtl"?"\u200F":"",D=n.toFixed(v).replace(".",c).replaceAll(/\B(?=(\d{3})+(?!\d))/g,s);return t?D:r==="left"&amp;&amp;m==="ltr"?`${o}${l}${p}${D}`:`${p}${D}${l}${o}`},S=(n,e,t,o)=&gt;{if(typeof n!="number"||typeof e!="number")return"";try{return n===e?`${o}${P(n,t)}`:`${o}${P(n,t)} - ${P(e,t)}`}catch(i){return""}};var E=(n,e,t)=&gt;{let o=n.recommendationSets.map(i=&gt;g(u({},i),{items:i.items.map(r=&gt;{let{price:a,salePrice:c,itemUrl:s,itemUrlEn:m}=r,l=s==null?void 0:s.replace(/#.*$/,"").toLowerCase(),v=m==null?void 0:m.replace(/#.*$/,"").toLowerCase(),p=t&amp;&amp;r.additionalImageUrl||r.imageUrl;return g(u({},r),{imageUrl:p,itemUrl:l,itemUrlEn:v,priceText:S(a,a,e,""),salePriceText:c?S(c,c,e,""):null})})}));return g(u({},n),{recommendationSets:o})};var y=class{constructor(){this.map=e=&gt;{let t={recommendationSets:[],secondaryIdentifier:[]};if(!this.isDecisionResponseValid(e))return t;let{actions:o}=e.data.responses[0];return this.enrichRecommendationSetsWithOmnichannelRecommendation(t.recommendationSets,o),this.enrichRecommendationSetsWithOmnichannelJson(t.recommendationSets,o),e.meta.monetateId&amp;&amp;this.setMtvCookie(e.meta.monetateId),t};this.enrichRecommendationSetsWithOmnichannelRecommendation=(e,t)=&gt;{t.filter(i=&gt;i.actionType==="monetate:action:OmnichannelRecommendation").forEach(i=&gt;{let r=i;if(r&amp;&amp;r.items&amp;&amp;r.items.length&gt;0){let a=this.MapOmnichannelRecommendationActionToRecommendationSet(r);e.push(a)}})};this.enrichRecommendationSetsWithOmnichannelJson=(e,t)=&gt;{t.filter(i=&gt;i.actionType==="monetate:action:OmnichannelJson").forEach(i=&gt;{let r=i,{titles:a}=r.json;a&amp;&amp;a.forEach(c=&gt;{if(c&amp;&amp;c.component){let s=e.find(m=&gt;m.targetComponentId===c.component);s&amp;&amp;(s.title=c.text)}})})};this.setMtvCookie=e=&gt;{let t=new Date;t.setFullYear(t.getFullYear()+1),document.cookie=`mt.v=${e}; expires=${t.toUTCString()}; path=/`};this.MapOmnichannelRecommendationActionToRecommendationSet=e=&gt;({id:`actionId-${e.actionId}`,targetComponentId:e.component,items:e.items.map(t=&gt;({title:t.title,productId:t.itemGroupId,imageUrl:t.imageLink,itemUrl:t.link,itemUrlEn:t.linkEn||"",description:t.description,descriptionEn:t.descriptionEn||"",price:t.price,additionalImageUrl:t.additionalImageLink||""}))});this.isDecisionResponseValid=e=&gt;!(!e||!e.meta||e.meta.code!==200||!e.data||!e.data.responses||e.data.responses.length===0||!e.data.responses[0])}};var h=class{constructor(e,t){this.getRecommendations=(e,t)=&gt;new Promise((o,i)=&gt;f(this,null,function*(){let r=this.stripNullFromJson(e);try{let a=yield fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(!a.ok)throw new Error(`Error getting recommendations: ${a.statusText}`);let c=yield a.json();if(c){let s=this.mapDecisionResponseToRecommendations.map(c);o(s)}else o({recommendationSets:[],secondaryIdentifier:[]})}catch(a){console.error(a,"Error getting recommendations"),i(a)}}));this.stripNullFromJson=e=&gt;JSON.parse(JSON.stringify(e,(t,o)=&gt;o===null?void 0:o));this.payloadBuilder=e,this.mapDecisionResponseToRecommendations=t}getProductPageRecommendations(e,t,o,i){let r=this.payloadBuilder.createPayloadForProductPage(e,t,i);return this.getRecommendations(r,o)}};var R=class{constructor(){this.createPayloadForProductPage=(e,t,o)=&gt;{let i=this.createPayload(e,t);return this.enrichEventsWithProductDetailEvent(i.events,o),i};this.createPayload=(e,t)=&gt;{let o={channel:t,customerId:e.roamingProfileId,monetateId:e.secondaryId||null,events:[]};return this.enrichEventsWithDecisionRequestEvent(o.events),this.enrichEventsWithUserAgentEvent(o.events,e.userAgent),this.enrichEventsWithPageViewEvent(o.events,e.pageUrl),o};this.enrichEventsWithDecisionRequestEvent=e=&gt;{let o={eventType:"monetate:decision:DecisionRequest",requestId:`req-${this.generateV4Uuid()}`,actionTypes:["monetate:action:OmnichannelRecommendation","monetate:action:OmnichannelJson"]};e.push(o)};this.enrichEventsWithUserAgentEvent=(e,t)=&gt;{if(!t||t.trim()==="")return;let o={eventType:"monetate:context:UserAgent",userAgent:t};e.push(o)};this.enrichEventsWithPageViewEvent=(e,t)=&gt;{if(!t||t.trim()==="")return;let o=this.getPageTypeFromAmbientLayer();if(!o){let r=this.getPageTypeOverride();if(!r)return;o=r}let i={eventType:"monetate:context:PageView",url:t,pageType:o};e.push(i)};this.enrichEventsWithProductDetailEvent=(e,t)=&gt;{if(!t||t.trim()==="")return;let o={eventType:"monetate:context:ProductDetailView",products:[{productId:t}]};e.push(o)};this.generateV4Uuid=()=&gt;"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replaceAll(/[xy]/g,function(e){let t=Math.trunc(Math.random()*16);return(e==="x"?t:t&amp;3|8).toString(16)});this.getPageTypeFromAmbientLayer=()=&gt;{let{dataLayer:e}=window;if(!Array.isArray(e)||e.length===0)return null;let t=e[0];return!t||!t.page_type?null:t.page_type.trim().toLowerCase()==="beautyproductpage"||t.page_type.trim().toLowerCase()==="homewarepdp"?"productPage":t.page_type};this.getPageTypeOverride=()=&gt;{let e=document.querySelector("#monetatePageType");return e==null?"":e.getAttribute("value")||""}}};function T(){var n;return((n=document.cookie.split("; ").find(e=&gt;e.startsWith("RPId=")))==null?void 0:n.split("=")[2])||null}function O(n){var t;let e={roamingProfileId:T()||"",pageUrl:window.location.href,userAgent:navigator.userAgent,secondaryId:void 0};if(n){let o=(t=document.cookie.split("; ").find(i=&gt;i.toLowerCase().startsWith("mt.v=")))==null?void 0:t.split("=")[1];e.secondaryId=o||void 0}return e}function M(){return new h(new R,new y)}function I(n,e,t,o){let i=M(),r=O(o);return i.getProductPageRecommendations(r,n,e,t)}var x=()=&gt;f(void 0,null,function*(){let n=window.__SDK_INTEL_REC_DATA__,e=n.settings.mockApi&amp;&amp;n.settings.mockApi!=="''"?`${n.settings.mockApi}/mock-intel-rec`:n.settings.apiUrl,t=yield I(n.settings.channel,e,n.productData.productCode,!n.settings.mtCookieDisabled).catch(()=&gt;({recommendationSets:[],secondaryIdentifier:[]}));return E(t,n.settings.currencyConfig,n.settings.useAdditionalImage)});window.IntelRecSdkData={fetchIntelRecData:x,IntelRecDataPromise:x()};
</pre></body></html>