!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t){!function(e,t){if(TMCONFIG&&"false"===((TMCONFIG||{}).features||{}).reachIdAnalyticsEnabled)return;const n="REACHID.TOUCHPOINT",o=()=>window.localStorage.getItem(n)||(()=>{const e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}));return i(e),e})(),i=e=>window.localStorage.setItem(n,e),r=function(n){const o=[];return o.push=function(i){Array.prototype.push.call(o,i),(async(n,o)=>{const i=n.shift(),r={timestamp:Date.now(),edges:[{source:"REACHID.TOUCHPOINT",id:o},i]};e(`Sending payload [${JSON.stringify(r)}]`);const a=await fetch(t+"/collect",{method:"POST",headers:{"Content-Type":"application/json"},referrerPolicy:"no-referrer",body:JSON.stringify(r)});e(a)})(o,n())},(e,t)=>{o.push({source:e,id:t})}}(o),a=()=>window.dataLayer.filter(e=>void 0!==e.clientId)[0].clientId;if(window.dataLayer&&window.dataLayer.filter(e=>void 0!==e.clientId).length>0){const t=a();e(`================ FOUND GA ID: [${t}] ================`),r("GA",t)}else e("================ REGISTERING ANALYTICS ID LISTENER ================"),window.addEventListener("analytics.clientId.ready",(function(){const e=a();r("GA",e)}),{once:!0});window.login_radius_user_profile&&window.login_radius_user_profile.ID?r("LOGINRADIUS",window.login_radius_user_profile.ID):window.addEventListener("loginradius.user.profile",e=>{const t=e.data||e.detail;t&&r("LOGINRADIUS",t.ID)}),(((window.commercialData||{}).info||{}).user||{}).luid&&"unknown"!==window.commercialData.info.user.luid?r("LOTAME",window.commercialData.info.user.luid):window.addEventListener("lotame.id.ready",e=>{const t=e.data||e.detail;t&&r("LOTAME",t)}),(()=>{const e=new URLSearchParams(window.location.search);if(e.has("pure360.trackingid")&&e.get("pure360.trackingid").toLowerCase().match(/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/)){const t=e.get("pure360.trackingid");e.delete("pure360.trackingid");const n=window.location.protocol+"//"+window.location.host+window.location.pathname+(0!=e.toString().length?"?"+e:"");window.history.replaceState(null,"",n),r("PURE360",t)}})(),window.REACHID=window.REACHID||r,document.dispatchEvent(((e,t)=>{if("function"==typeof window.CustomEvent)return new window.CustomEvent(e,t);t=t||{bubbles:!1,cancelable:!1,detail:void 0};const n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n})("REACHID.ready",{detail:r}));const d=e=>{if("CrossDomainStore"===e.data.message&&e.origin===t){const t=e.data.value;t&&t!==o()&&(r("REACHID.TOUCHPOINT",t),i(t)),window.removeEventListener("message",d)}};window.addEventListener("message",d,!1);var s=document.createElement("iframe");s.setAttribute("id","reachid-msgframe"),s.setAttribute("src",t+"/fetchcookie.html"),s.setAttribute("sandbox","allow-scripts allow-same-origin"),s.setAttribute("width",0),s.setAttribute("height",0),s.setAttribute("frameborder",0),s.setAttribute("scrolling","no"),s.setAttribute("marginheight",0),s.setAttribute("marginwidth",0),s.setAttribute("TOPMARGIN",0),s.setAttribute("LEFTMARGIN",0),s.setAttribute("allowtransparency","true"),document.body.appendChild(s)}(console.debug,"https://reach-id.orbit.tm-awx.com")}]);