!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},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",r=()=>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),o=function(n){const r=[];return r.push=function(i){Array.prototype.push.call(r,i),(async(n,r)=>{const i=n.shift(),o={timestamp:Date.now(),edges:[{source:"REACHID.TOUCHPOINT",id:r},i]};e(`Sending payload [${JSON.stringify(o)}]`);const a=await fetch(t+"/collect",{method:"POST",headers:{"Content-Type":"application/json"},referrerPolicy:"no-referrer",body:JSON.stringify(o)});e(a)})(r,n())},(e,t)=>{r.push({source:e,id:t})}}(r),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}] ================`),o("GA",t)}else e("================ REGISTERING ANALYTICS ID LISTENER ================"),window.addEventListener("analytics.clientId.ready",(function(){const e=a();o("GA",e)}),{once:!0});window.login_radius_user_profile&&window.login_radius_user_profile.ID?o("LOGINRADIUS",window.login_radius_user_profile.ID):window.addEventListener("loginradius.user.profile",e=>{const t=e.data||e.detail;t&&o("LOGINRADIUS",t.ID)}),(((window.commercialData||{}).info||{}).user||{}).luid&&"unknown"!==window.commercialData.info.user.luid?o("LOTAME",window.commercialData.info.user.luid):window.addEventListener("lotame.id.ready",e=>{const t=e.data||e.detail;t&&o("LOTAME",t)}),(()=>{const e=new URLSearchParams(window.location.search);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}/)&&o("PURE360",e.get("pure360.trackingid"))})(),window.REACHID=window.REACHID||o,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:o}));const d=e=>{if("CrossDomainStore"===e.data.message&&e.origin===t){const t=e.data.value;t&&t!==r()&&(o("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")}]);