/* Webpack Runtime */(()=>{"use strict";var e,r={},o={};function t(e){var n=o[e];if(void 0!==n)return n.exports;var l=o[e]={exports:{}};return r[e].call(l.exports,l,l.exports,t),l.exports}t.m=r,e=[],t.O=(r,o,n,l)=>{if(!o){var a=1/0;for(u=0;u=l)&&Object.keys(t.O).every((e=>t.O[e](o[f])))?o.splice(f--,1):(i=!1,l0&&e[u-1][2]>l;u--)e[u]=e[u-1];e[u]=[o,n,l]},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={666:0};t.O.j=r=>0===e[r];var r=(r,o)=>{var n,l,[a,i,f]=o,p=0;if(a.some((r=>0!==e[r]))){for(n in i)t.o(i,n)&&(t.m[n]=i[n]);if(f)var u=f(t)}for(r&&r(o);p{n.r(t),n.d(t,{__assign:()=>o,__asyncDelegator:()=>T,__asyncGenerator:()=>w,__asyncValues:()=>S,__await:()=>C,__awaiter:()=>g,__classPrivateFieldGet:()=>x,__classPrivateFieldIn:()=>L,__classPrivateFieldSet:()=>M,__createBinding:()=>h,__decorate:()=>s,__esDecorate:()=>c,__exportStar:()=>v,__extends:()=>r,__generator:()=>m,__importDefault:()=>N,__importStar:()=>E,__makeTemplateObject:()=>A,__metadata:()=>f,__param:()=>d,__propKey:()=>l,__read:()=>b,__rest:()=>a,__runInitializers:()=>u,__setFunctionName:()=>p,__spread:()=>_,__spreadArray:()=>P,__spreadArrays:()=>I,__values:()=>y});var i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function d(e,t){return function(n,i){t(n,i,e)}}function c(e,t,n,i,r,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,d=i.kind,c="getter"===d?"get":"setter"===d?"set":"value",u=!t&&e?i.static?e:e.prototype:null,l=t||(u?Object.getOwnPropertyDescriptor(u,i.name):{}),p=!1,f=n.length-1;f>=0;f--){var g={};for(var m in i)g[m]="access"===m?{}:i[m];for(var m in i.access)g.access[m]=i.access[m];g.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var h=(0,n[f])("accessor"===d?{get:l.get,set:l.set}:l[c],g);if("accessor"===d){if(void 0===h)continue;if(null===h||"object"!=typeof h)throw new TypeError("Object expected");(s=a(h.get))&&(l.get=s),(s=a(h.set))&&(l.set=s),(s=a(h.init))&&r.push(s)}else(s=a(h))&&("field"===d?r.push(s):l[c]=s)}u&&Object.defineProperty(u,i.name,l),p=!0}function u(e,t,n){for(var i=arguments.length>2,r=0;r0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function _(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{(n=r[e](t)).value instanceof C?Promise.resolve(n.value.v).then(d,c):u(o[0][2],n)}catch(e){u(o[0][3],e)}var n}function d(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function T(e){var t,n;return t={},i("next"),i("throw",(function(e){throw e})),i("return"),t[Symbol.iterator]=function(){return this},t;function i(i,r){t[i]=e[i]?function(t){return(n=!n)?{value:C(e[i](t)),done:!1}:r?r(t):t}:r}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise((function(i,r){(function(e,t,n,i){Promise.resolve(i).then((function(t){e({value:t,done:n})}),t)})(i,r,(t=e[n](t)).done,t.value)}))}}}function A(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var k=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function E(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&h(t,e,n);return k(t,e),t}function N(e){return e&&e.__esModule?e:{default:e}}function x(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)}function M(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?r.call(e,n):r?r.value=n:t.set(e,n),n}function L(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},250:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommandProcessor=void 0;var i=n(364),r=n(68),o=n(373),a=n(831),s=n(309),d=n(34),c=n(39),u=n(40),l=n(142),p=n(481),f=n(149),g=n(587),m=n(574),h=n(51),v=n(720),y=n(518),b=n(310),_=n(52),I=n(526),P=n(69),C=n(222),w=n(588),T=n(458),S=n(475),A=n(603),k=function(){function e(e){this.loop=e,this._mapCmdToPipeline={},this._state={clientId:"",retailerId:"",providerId:"",userId:"",pageViewId:"",props:{},propNames:{},eVars:{},eVarNames:{},adId:"",campaign:"",campaignType:"",campaignName:"",channel:"",digAdAdId:"",digAdCid:"",digAdKeyword:"",digAdLocation:"",digAdPlacement:"",digAdPosition:"",digAdProvider:"",dataLayer:"",keyword:"",loadTime:i.getPerfTime(),eVarsAll:{},propsAll:{},perfCustom:{},pageLoadStatus:"",semMatchType:"",targetId:"",scrolledBelowFold:!1,pageViewCount:0,pluginVersions:{}},this._coreCommands=[new s.PluginsCommand,new d.InitCommand,new c.CreateCommand,new u.SendCommand,new l.PublishCommand,new p.ConfigCommand,new f.DebugCommand,new g.EVarsCommands,new m.PropsCommands,new h.TrackLinksCommand,new y.TrackIFramesCommand,new v.TrackFormFieldsCommand,new b.CrossDomainCommands,new _.SessionStartedCommand,new I.DataLayerCommand,new P.HeatMapInfoCommand,new C.IdCommands,new w.MessagingCommands,new T.TransformCommand,new S.GetActionValuesCommand,new A.GetSessionIdCommand],this.setPlugins([],!1)}return e.prototype.getLoop=function(){return this.loop},e.prototype.getState=function(){return this._state},e.prototype.process=function(e,t){if(r.default.debug)if("trackLinks"===e||"trackFormFields"==e);else{var n=i.extend({},t||{}),a={},s="Exec";"string"==typeof e&&(s+=":".concat(e)),a[s]={cmd:e,args:n},i.debugObj(a)}if("function"!=typeof e){var d=this._mapCmdToPipeline[e.toLowerCase()];if(!d||0===d.length)throw new Error(o.errorPrefix+"Unknown command: "+e);for(var c=0;c{Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigCommand=void 0;var i=n(191),r=n(275),o=n(68),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t}return i.__extends(t,e),t.prototype._config=function(e,t){return e in o.default&&(o.default[e]=t),!0},t.prototype._getConfig=function(e,t){return t(o.default[e]),!0},t}(r.Plugin);t.ConfigCommand=a},39:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CreateCommand=void 0;var i=n(191),r=n(275),o=n(364),a=n(488),s=n(373),d=n(68),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t}return i.__extends(t,e),t.prototype._create=function(){var e=o.getArgs(arguments,"clientId","retailerId","providerId","attachToSession"),t=o.trim(e.clientId||"").toUpperCase(),n=o.trim(e.retailerId||"").toUpperCase(),i=o.trim(e.providerId||"").toUpperCase(),r=a.readSessionCookie();r.id&&((o.stringToBool(void 0!==e.attachToSession?e.attachToSession:d.default.attachToSessionEnabled)||r.isXdImport)&&(t=r.clientId,i=r.providerId,n=r.retailerId));if(!(t&&n&&i||this.state.crossDomainInfo))throw new Error(s.errorPrefix+"Must specify clientId, retailerId and providerId when calling create.");return this.state.createTime=o.getPerfTime(),this.state.clientId=t,this.state.retailerId=n,this.state.providerId=i,this.state.created||(this.state.created=!0,this.commandProcessor.getLoop().insertBefore("send",["initMessaging"]),this.state.crossDomainInfo?this.commandProcessor.getLoop().insertBefore("send",["xdImport",this.state.crossDomainInfo]):o.isIFrame()?this.commandProcessor.getLoop().insertBefore("send",["getXDInfoFromParent"]):this.commandProcessor.getLoop().insertBefore("send",["loadIds"]),this.commandProcessor.getLoop().push(["trackLinks"]),this.commandProcessor.getLoop().push(["trackFormFields"]),this.commandProcessor.getLoop().push(["processUnhandledMessages"])),!0},t}(r.Plugin);t.CreateCommand=c},310:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CrossDomainCommands=void 0;var i=n(191),r=n(275),o=n(364),a=n(10),s=n(488),d=n(373),c=n(68),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t._xdExportWaitForSessionRetry=100,t}return i.__extends(t,e),t.prototype._link=function(){var e=o.getArgs(arguments,"targetUrl","useHash");return this.commandProcessor.getLoop().insert(["getLinkerUrl",{targetUrl:e.targetUrl,useHash:e.useHash,callback:function(e){document.location.href=e}}]),!0},t.prototype._linkByPost=function(){var e=o.getArgs(arguments,"formObject","useHash"),t=e.formObject;if(t&&t.action){this.commandProcessor.getLoop().insert(["getLinkerUrl",{targetUrl:e.formObject.action,useHash:e.useHash,callback:function(t){e.formObject.action=t}}])}return!0},t.prototype._getLinkerUrl=function(){var e=o.getArgs(arguments,"targetUrl","useHash","callback");if(!e.callback)return!0;return this.commandProcessor.getLoop().insert(["xdExport",function(t){var n=a.incomingCrossDomainInfo+"="+t,i=e.useHash?null:n,r=e.useHash?n:null;e.callback(o.addParamsToUrl(e.targetUrl,i,r))}]),!0},t.prototype._xdExport=function(){var e=o.getArgs(arguments,"callback");return e.callback&&this.doXdExport(e.callback),!0},t.prototype.doXdExport=function(e){var t=this,n=s.readSessionCookie();if(n.id&&n.expire>o.getTimeInTicks()){var i=[this.state.clientId,this.state.providerId,this.state.retailerId,this.state.userId,n.id,n.expire,this.state.pageViewId,d.clientId,d.scenario,n.debug].join("|");i=encodeURIComponent(i),e(i)}else setTimeout((function(){return t.doXdExport(e)}),this._xdExportWaitForSessionRetry)},t.prototype._xdImport=function(){var e=o.getArgs(arguments,"data");if(e.data){var t=e.data.split("|");if(t&&10===t.length){var n=t[7],i=t[8],r="true"===t[9];if(n===d.clientId){var a=t[0];this.state.clientId=a;var u=t[3];this.state.userId=u;var l=s.readUserCookie();if(l.id=u,l.timestamp=o.getTimeInTicks(),s.writeUserCookie(l),i===d.scenario){var p=t[1],f=t[2],g=t[4],m=parseInt(t[5],10),h=t[6];this.state.retailerId=f,this.state.providerId=p;var v=s.readSessionCookie();v.clientId=a,v.providerId=p,v.retailerId=f,v.debug=v.debug||r,v.isXdImport=!0,c.default.debug=c.default.debug||r,m>o.getTimeInTicks()&&(v.id=g,v.expire=o.getTimeInTicks()+d.sessionTimeoutMs,this.state.pageViewId=h),s.writeSessionCookie(v),this.state.isXdImport=!0}}}}return this.commandProcessor.getLoop().insert(["clearIds"]),!0},t}(r.Plugin);t.CrossDomainCommands=u},526:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DataLayerCommand=void 0;var i=n(191),r=n(275),o=n(364),a=n(68),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t}return i.__extends(t,e),t.prototype._dataLayer=function(e,t){var n;if(void 0===t&&(t=!1),e=e||{},!0===t)n=e;else{var i=window[a.default.dataLayer]||{};n=o.extend({},i,e)}return window[a.default.dataLayer]=n,!0},t}(r.Plugin);t.DataLayerCommand=s},149:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DebugCommand=void 0;var i=n(191),r=n(275),o=n(364),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t}return i.__extends(t,e),t.prototype._debug=function(e){return o.debug(e),!0},t}(r.Plugin);t.DebugCommand=a},587:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EVarsCommands=void 0;var i=n(191),r=n(275),o=n(753),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t}return i.__extends(t,e),t.prototype._setEVar=function(e,t){return o.setEVar(this.state,e,t),!0},t.prototype._getEVar=function(e,t){return t(o.getEVar(this.state,e)),!0},t}(r.Plugin);t.EVarsCommands=a},475:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetActionValuesCommand=void 0;var i=n(191),r=n(275),o=n(364),a=n(10),s=n(488),d=function(e){function t(){var t=e.call(this)||this;for(var n in t.priority=1,t._includedFieldNames=["adId","build","campaign","campaignType","campaignName","channel","clientId","digAdAdId","digAdCid","digAdKeyword","digAdLocation","digAdPlacement","digAdPosition","digAdProvider","eVars","externalId","globalId","keyword","pageViewId","props","providerId","referrer","retailerId","scenario","sdId","semMatchType","targetId","timestamp","title","url","userId","version"],t._includedFieldsMap={},a){var i=a[n];-1!==t._includedFieldNames.indexOf(n)&&(t._includedFieldsMap[i]=n)}return t}return i.__extends(t,e),t.prototype._getActionValues=function(){var e=this,t=o.getArgs(arguments,"callback").callback;if(t){var n={};this.commandProcessor.getLoop().sd(["send","clientevent","getActionValues",{hitCallback:function(){if(e.lastParams){for(var i in e.lastParams)e.lastParams[i]&&e._includedFieldsMap[i]&&(n[e._includedFieldsMap[i]]=e.lastParams[i]);var r=!1,a=s.readSessionCookie();(!a.id||a.expire{Object.defineProperty(t,"__esModule",{value:!0}),t.GetSessionIdCommand=void 0;var i=n(191),r=n(275),o=n(364),a=n(488),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t}return i.__extends(t,e),t.prototype._getSessionId=function(){var e=o.getArgs(arguments,"callback").callback;if(e){var t="";this.commandProcessor.getLoop().sd(["send","clientevent","getSessionId",{hitCallback:function(){var n=!1,i=a.readSessionCookie();return(!i.id||i.expire{Object.defineProperty(t,"__esModule",{value:!0}),t.HeatMapInfoCommand=void 0;var i=n(191),r=n(275),o=n(364),a=n(373),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t}return i.__extends(t,e),t.prototype._getHeatMapInfo=function(e){return e&&e({clientId:this.state.clientId,providerId:this.state.providerId,retailerId:this.state.retailerId,props:o.extend({},this.state.propsAll),tagServerUrl:a.tagServerUrl+"/"+a.clientId,pageViewCount:this.state.pageViewCount}),!0},t}(r.Plugin);t.HeatMapInfoCommand=s},222:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IdCommands=void 0;var i=n(191),r=n(275),o=n(364),a=n(488),s=n(373),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t.hostName="sd-tagging.azurefd.net/id",t.baseDate=14832288e5,t.z=!1,t}return i.__extends(t,e),t.prototype.isDNT=function(){var e=navigator.doNotTrack||window.doNotTrack||navigator.msDoNotTrack;return"1"===e||"yes"===e},t.prototype.isPerfTest=function(){return-1!==navigator.userAgent.indexOf("Chrome-Lighthouse")},t.prototype._loadIds=function(){var e=this;if(this.isPerfTest())return!0;for(var t=this.getCookies(),n=t.userCookie,i=t.sessionCookie,r=this.getTypeConfig(),d=r.length,c=this.getTimestamp(),u=!1,l=0;l=0?c-m:-1)0&&(i.idLoadStart=o.getTimeInTicks(),a.writeSessionCookie(i),this.state.idsToLoad=v,0!==h.length&&this.commandProcessor.getLoop().push(["plugins",h,!0]))}return!0},t.prototype._setId=function(){var e=o.getArgs(arguments,"idx","value"),t=e.idx,n=e.value,i=this.getCookies(),r=i.userCookie,s=i.sessionCookie;this.state["id"+t]=n,r.ids[t]=n,r.idts[t]=this.getTimestamp()+"",a.writeUserCookie(r),s.ids[t]=n,a.writeSessionCookie(s);var d=this.state.idsToLoad||0;return--d<0&&(d=0),this.state.idsToLoad=d,0===d&&s.id&&s.expire>o.getTimeInTicks()&&this.commandProcessor.getLoop().push(["send","ping"]),!0},t.prototype._clearIds=function(){for(var e=this.getTypeConfig().length,t=this.getCookies(),n=t.userCookie,i=t.sessionCookie,r=0;r{Object.defineProperty(t,"__esModule",{value:!0}),t.InitCommand=void 0;var i=n(191),r=n(275),o=n(364),a=n(488),s=n(68),d=n(10),c=n(469),u=n(673),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t}return i.__extends(t,e),t.prototype._init=function(){if(!this.state.init){this.state.init=!0,this.resendPublishPacketList(),u.clear();var e=this.getQueryStringVariables();this.state.initTime=o.getPerfTime(),this.state.sdId||(this.state.sdId=o.generateRandomId());var t=a.readUserCookie();t.id||(t.id=o.generateGuid(),t.timestamp=o.getTimeInTicks()),this.state.userId=t.id,a.writeUserCookie(t);var n=a.readSessionCookie(),i=!1;for(var r in e)if(e.hasOwnProperty(r)){var d=e[r];"trace"===r?d&&(n.trace=o.stringToBool(d),i=!0):"plugins"===r?d&&(n.plugins=d.split(","),i=!0):"debug"===r?d&&(n.debug=o.stringToBool(d),i=!0):this.state[r]=d}if(i&&a.writeSessionCookie(n),s.default.debug=s.default.debug||n.debug,s.default.debug){var c=o.getSDAQueue();o.getSDA().Debug={commandProcessor:this.commandProcessor,loop:this.commandProcessor.getLoop(),state:this.commandProcessor.getState(),queue:c},o.debug("Debug mode activated.");var l={InitialQueue:{queue:(c||[]).slice(0)}};o.debugObj(l)}var p=[];n.trace&&p.push("trace"),0!==n.plugins.length&&(p=p.concat(n.plugins));for(var f="".split(","),g=0;g{Object.defineProperty(t,"__esModule",{value:!0}),t.MessagingCommands=void 0;var i=n(191),r=n(275),o=n(364),a=n(370),s=n(373),d=n(673),c=n(68),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t._initialized=!1,t._msgTypeGetXDInfo="SDA_GetXDInfo",t._msgTypeGetXDInfoResponse="SDA_GetXDInfoResponse",t._msgTypePagePublishHistoryUpdated="SDA_PagePublishHistoryUpdated",t._msgTypeGetPagePublishHistory="SDA_GetPagePublishHistory",t._msgTypeGetPagePublishHistoryResponse="SDA_GetPagePublishHistoryResponse",t._getXDInfoTimeout=1e3,t._getXDInfoMaxAttempts=5,t}return i.__extends(t,e),t.prototype._initMessaging=function(){var e=this;return this._initialized||(this._initialized=!0,a.addListener(this._msgTypeGetXDInfo,(function(t){return e.onGetXDInfo(t.data,t.source)})),a.addListener(this._msgTypeGetXDInfoResponse,(function(t){return e.onGetXDInfoResponse(t.data,t.source)})),a.addListener(this._msgTypeGetPagePublishHistory,(function(t){return e.onGetPagePublishHistory(t.data,t.source)})),a.setCaptureUnhandledMessages(!1)),!0},t.prototype._processUnhandledMessages=function(){return a.reprocessUnhandledMessages(),!0},t.prototype._getXDInfoFromParent=function(){var e=this,t=0;this.commandProcessor.getLoop().suspend();var n=function(){if(++t<=e._getXDInfoMaxAttempts){c.default.debug&&t>1&&o.debugObj({GetXDInfoFromParent:{attempts:t}});var i=window.setTimeout(n,e._getXDInfoTimeout);e.state.getXDInfoTimer=i;var r=o.generateRandomId();e.state.getXDInfoKey=r;var a={type:e._msgTypeGetXDInfo,clientId:e.state.clientId,providerId:e.state.providerId,retailerId:e.state.retailerId,scenario:s.scenario,tagServerUrl:s.tagServerUrl,key:r};c.default.debug&&o.debugObj({GetXDInfoFromParent:{msg:a}}),o.sendMessage(a,window.top)}else c.default.debug&&o.debugObj({GetXDInfoFromParent:{error:"Timeout"}}),e.state.getXDInfoTimer&&delete e.state.getXDInfoTimer,e.commandProcessor.getLoop().resume()};return n(),!0},t.prototype.onGetXDInfo=function(e,t){var n=this,i=!1;if(e.clientId==this.state.clientId&&e.scenario==s.scenario&&e.tagServerUrl==s.tagServerUrl){i=!0;this.commandProcessor.getLoop().insert(["xdExport",function(i){var r=decodeURIComponent(i),a={type:n._msgTypeGetXDInfoResponse,key:e.key,xdInfo:r};c.default.debug&&o.debugObj({OnGetXDInfo:{response:a}}),o.sendMessage(a,t)}])}c.default.debug&&o.debugObj({OnGetXDInfo:{msg:e,isValid:i}})},t.prototype.onGetXDInfoResponse=function(e,t){e.key===this.state.getXDInfoKey&&(delete this.state.getXDInfoKey,c.default.debug&&o.debugObj({onGetXDInfoResponse:{msg:e}}),this.commandProcessor.getLoop().insert(["xdImport",e.xdInfo]),this.state.getXDInfoTimer&&(window.clearTimeout(this.state.getXDInfoTimer),delete this.state.getXDInfoTimer,this.commandProcessor.getLoop().resume()))},t.prototype._addToPagePublishHistory=function(){var e=o.getArgs(arguments,"data").data,t=d.add(e),n={type:this._msgTypePagePublishHistoryUpdated,data:t};return o.sendMessage(n,window.top),!0},t.prototype._getPagePublishHistory=function(){var e=o.getArgs(arguments,"callback").callback;e&&e(d.getAll());return!0},t.prototype.onGetPagePublishHistory=function(e,t){var n=d.getAll(),i={type:this._msgTypeGetPagePublishHistoryResponse,history:n};o.sendMessage(i,t)},t}(r.Plugin);t.MessagingCommands=u},309:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PluginsCommand=void 0;var i=n(191),r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t}return i.__extends(t,e),t.prototype._plugins=function(e,t){return this.commandProcessor.setPlugins(e,t||!1),!0},t}(n(275).Plugin);t.PluginsCommand=r},574:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PropsCommands=void 0;var i=n(191),r=n(275),o=n(828),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t}return i.__extends(t,e),t.prototype._setProp=function(e,t){return o.setProp(this.state,e,t),!0},t.prototype._getProp=function(e,t){return t(o.getProp(this.state,e)),!0},t}(r.Plugin);t.PropsCommands=a},142:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PublishCommand=void 0;var i=n(191),r=n(275),o=n(364),a=n(10),s=n(469),d=n(373),c=n(68),u=n(214),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t}return i.__extends(t,e),t.prototype._publish=function(){var e=o.getArgs(arguments,"params","hitCallback"),t=e.params,n=e.hitCallback;if(void 0!==t[a.DO_NOT_PUBLISH])return n&&n(),!0;if(this.commandProcessor.getLoop().insert(["addToPagePublishHistory",{data:t}]),s.isEnabled()&&"ping"!==t[a.hitType]){var i=o.generateRandomId(),r=n;n=function(){s.remove(i),r&&r()},s.add(i,t)}var c=this.paramsToString(t);return n=n?this.wrapCallbackWithTimeout(n,d.publishCallbackTimeoutMs):function(){},c.length<=2036?this.sendWithImageTag(c,n):navigator.userAgent.indexOf("Firefox")>0&&![].reduce?n():this.sendWithXmlHttpRequest(c,n)||this.sendWithXDomainRequest(c,n)||this.sendWithIFrame(c,n)||n(),u.onPublish(t),!0},t.prototype.wrapCallbackWithTimeout=function(e,t){var n=!1,i=0,r=function(t){i&&(window.clearTimeout(i),i=0),n||(n=!0,e())};return i=window.setTimeout((function(){return r()}),t),r},t.prototype.sendWithImageTag=function(e,t){var n="https://"+d.tagServerUrl+"/"+d.clientId+"/"+d.imageTagPath+"?"+e,i=document.createElement("img");return i.width=1,i.height=1,i.src=n,i.onload=i.onerror=function(){i.onload=null,i.onerror=null,t()},!0},t.prototype.sendWithXmlHttpRequest=function(e,t){if(void 0===window.XMLHttpRequest)return!1;var n=new window.XMLHttpRequest;return"withCredentials"in n&&(n.open("POST","https://"+d.tagServerUrl+"/"+d.clientId+"/"+d.ajaxPostPath,!0),n.withCredentials=!0,n.setRequestHeader("Content-Type","text/plain"),n.onreadystatechange=function(){4===n.readyState&&(t(),n=null)},n.send(e),!0)},t.prototype.sendWithXDomainRequest=function(e,t){if(void 0===window.XDomainRequest)return!1;var n=new window.XDomainRequest;return n.open("POST",this.getProtocol()+"//"+d.tagServerUrl+"/"+d.clientId+"/"+d.ajaxPostPath),n.onerror=function(){return t()},n.onload=function(){return t()},n.send(e),!0},t.prototype.sendWithIFrame=function(e,t){var n,i=this;if(!document.body)return window.setTimeout((function(){return i.sendWithIFrame(e,t)}),100),!0;e=encodeURIComponent(e);try{n=document.createElement('')}catch(t){(n=document.createElement("iframe")).name=e}n.height="0",n.width="0",n.style.display="none",n.style.visibility="hidden";var r=i.getProtocol()+"//"+d.tagServerUrl+"/"+d.clientId+"/iframe.aspx#"+encodeURIComponent(document.location.protocol+"//"+document.location.host+"/favicon.ico"),a=function(){n.src="",n.parentNode&&n.parentNode.removeChild(n)};o.addEvent(document,"beforeunload",a);var s=!1,c=0,u=function(){if(!s){try{if(c>9||n.contentWindow.location.host===document.location.host)return s=!0,a(),o.removeEvent(document,"beforeunload",a),t()}catch(e){}c++,setTimeout(u,200)}};return o.addEvent(n,"load",u),document.body.appendChild(n),n.src=r,!0},t.prototype.getProtocol=function(){return c.default.forceSSL||"https:"===document.location.protocol?"https:":"http:"},t.prototype.paramsToString=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n+"="+encodeURIComponent(""+e[n]));return t.join("&")},t}(r.Plugin);t.PublishCommand=l},40:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SendCommand=void 0;var i=n(191),r=n(275),o=n(364),a=n(68),s=n(373),d=n(10),c=n(488),u=n(648),l=n(828),p=n(753),f=n(430),g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t}return i.__extends(t,e),t.prototype._send=function(){var e=this,t=o.getArgs(arguments,"hitType","eventCategory","eventAction","eventLabel","eventValue","eventNonInteractive","hitCallback","interaction");t.hitType=(t.hitType||"").toLowerCase();var n=t.interaction;n&&n.type&&(t.hitType="interaction");var i=t.hitType;if(!i){var r=this.getDataLayerEvents(!0);if(0===r.length)return t.hitCallback&&t.hitCallback(),!0;i="event",t.hitType="event",t.eventCategory=r[0].eventCategory,t.eventAction=r[0].eventAction,t.eventLabel=r[0].eventLabel,t.eventValue=r[0].eventValue,t.eventNonInteractive=r[0].eventNonInteractive}var g="pageview"===i,m="ping"===i,h="event"===i,v="interaction"===i,y="clientevent"===i,b=!1;if(a.default.blockSendIfCookiesDisabled&&!c.getCookieSupport().session&&!this.state.isXdImport&&!y)return o.warn("Session cookies disabled, skipping send."),t.hitCallback&&t.hitCallback(),!0;if(this.validate(t)){g&&(this.state.pageViewId=o.generateGuid());var _=this.state.clientId||"",I=this.state.retailerId||"",P=this.state.providerId||"",C=c.readSessionCookie();if(!C.id||C.expireo.getTimeInTicks())return o.warn("Session cookie read failed, skipping send."),c.getCookieSupport().session=!1,t.hitCallback&&t.hitCallback(),!0}if(y)C.nextId||(C.nextId=o.generateGuid());else{if(!g)return m||this.commandProcessor.getLoop().insert(["send"].concat(Array.prototype.slice.call(arguments))),this.commandProcessor.getLoop().insert(["send","pageview"]),!0;C.nextId?(C.id=C.nextId,C.nextId=""):C.id=o.generateGuid(),C.clientId=_,C.providerId=P,C.retailerId=I,b=!0,this.commandProcessor.getLoop().insert(["sessionStarted",C.id])}}else C.nextId&&(C.nextId="");if(!y){var T=o.getTimeInTicks()+s.sessionTimeoutMs;C.expire=T}c.writeSessionCookie(C),this.state.sessionCookie={id:C.id,expire:C.expire};var S={};S[d.hitType]=i,S[d.clientId]=_,S[d.retailerId]=I,S[d.providerId]=P,S[d.userId]=this.state.userId,S[d.sessionId]=C.id,S[d.pageViewId]=this.state.pageViewId,S[d.hitId]=o.generateGuid(),S[d.sdId]=this.state.sdId,S[d.scenario]=s.scenario,y&&(S[d.DO_NOT_PUBLISH]="1");for(var A=parseInt("4",10),k=0;k=0;k--)N[k].eventCategory.toLowerCase()===M&&N.splice(k,1)}}if(this.addBrowserData(S),v&&(S[d.interactionType]=n.type,void 0===n.x&&void 0===n.y||(S[d.interactionX]=n.x,S[d.interactionY]=n.y),n.xPath&&(S[d.interactionXPath]=n.xPath,S[d.interactionOffsetX]=n.offsetX,S[d.interactionOffsetY]=n.offsetY),n.isButton&&(S[d.interactionIsButton]=n.isButton,S[d.interactionButtonText]=n.buttonText,S[d.interactionButtonMatchSelector]=n.buttonMatchSelector),n.emailHash&&(S[d.interactionFormEmail]=n.emailHash),n.phoneHash&&(S[d.interactionFormPhone]=n.phoneHash)),f.matchExpressions(this.state),S[d.perfCustom]=u.dictionaryToString(f.getValues(this.state)),g&&this.state.referrer){var L=this.state.referrer;"http"!==L.toLowerCase().substring(0,4)&&(L="http://"+L),S[d.referrer]=L,this.state.referrer=null}if(b&&(S[d.isNewSession]="1"),this.publish(S,t.hitCallback),!m&&!v&&!y)for(k=0;k0||0===r&&i)&&(e[n]=Math.floor(t).toString())}};t(this.state.loadTime,d.perfTagLoaded),t(this.state.initTime,d.perfTagInit);var n=window.performance;if(n){var i=!1;if(n.getEntriesByType){var r=n.getEntriesByType("navigation");if(r&&0!==r.length){var a=r[0];t(a.requestStart,d.perfRequestStart,!0),t(a.responseEnd,d.perfResponseEnd),t(a.domContentLoadedEventEnd,d.perfDomLoaded),t(a.loadEventEnd,d.perfLoadCompleted),i=!0}}if(!i){var c=n.timing;if(c){var u=c.navigationStart;if(void 0!==u&&0!==u){var l=function(t,n,i){if(void 0===i&&(i=!1),void 0!==t&&0!==t){var r=Math.floor(t-u);(r>0||0===r&&i)&&(e[n]=r.toString())}};l(c.requestStart,d.perfRequestStart,!0),l(c.responseEnd,d.perfResponseEnd),l(c.domContentLoadedEventEnd,d.perfDomLoaded),l(c.loadEventEnd,d.perfLoadCompleted)}}}}},t.prototype.getViewportSize=function(){var e="",t=[0,0],n=document.body&&document.body.clientWidth&&document.body.clientHeight,i=document.documentElement;return i&&i.clientWidth&&i.clientHeight&&("CSS1Compat"===document.compatMode||!n)?t=[i.clientWidth,i.clientHeight]:n&&(t=[document.body.clientWidth,document.body.clientHeight]),t[0]&&t[1]&&(e=t.join("x")),e},t.prototype.getFlashVersion=function(){var e,t,n;if((n=(n=window.navigator)?n.plugins:null)&&n.length)for(var i=0;i{Object.defineProperty(t,"__esModule",{value:!0}),t.SessionStartedCommand=void 0;var i=n(191),r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t}return i.__extends(t,e),t.prototype._sessionStarted=function(e){return!0},t}(n(275).Plugin);t.SessionStartedCommand=r},720:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TrackFormFieldsCommand=void 0;var i=n(191),r=n(275),o=n(94),a=n(364),s=n(373),d=n(488),c=n(68),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t.timer=0,t.trackFormFieldsEnabled=!1,t.matchEmail=/(?:[a-z0-9!#$%&\'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/i,t.matchPhone=/^\s*(?:\+?(\d{1,3}))?[-. (]*(\d{3})[-. )]*(\d{3})[-. ]*(\d{4})(?: *x(\d+))?\s*$/i,t}return i.__extends(t,e),t.prototype.init=function(t){e.prototype.init.call(this,t)},t.prototype.stopTimer=function(){this.timer&&(window.clearTimeout(this.timer),this.timer=0)},t.prototype.startTimer=function(){var e=this;this.stopTimer(),this.timer=window.setTimeout((function(){return e.commandProcessor.getLoop().insert(["trackFormFields"])}),s.trackFormFieldsFreqMs)},t.prototype._trackFormFields=function(){if(this.stopTimer(),this.trackFormFieldsEnabled||(this.trackFormFieldsEnabled=a.stringToBool(c.default.trackFormFieldsEnabled)),this.trackFormFieldsEnabled){var e=d.readSessionCookie();if(document&&document.getElementsByTagName&&e.id){var t=document.getElementsByTagName("input");if(t&&0!==t.length)for(var n=this,i=this.matchEmail,r=this.matchPhone,s=0;s{Object.defineProperty(t,"__esModule",{value:!0}),t.TrackIFramesCommand=void 0;var i=n(191),r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t}return i.__extends(t,e),t.prototype._trackIFrames=function(){},t}(n(275).Plugin);t.TrackIFramesCommand=r},51:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TrackLinksCommand=void 0;var i=n(191),r=n(275),o=n(364),a=n(373),s=n(488),d=n(68),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t.timer=0,t.linksUpdated=!1,t.addToLinksEnabled=!1,t.addToLinksExclusions=[],t}return i.__extends(t,e),t.prototype.init=function(t){var n=this;e.prototype.init.call(this,t),o.forEach(d.default.addXDInfoToLinksExclusions,(function(e){var t=o.parseRegExp(e);n.addToLinksExclusions.push(t)}))},t.prototype.stopTimer=function(){this.timer&&(window.clearTimeout(this.timer),this.timer=0)},t.prototype.startTimer=function(){var e=this;this.stopTimer(),this.timer=window.setTimeout((function(){return e.commandProcessor.getLoop().insert(["trackLinks"])}),a.trackLinksFreqMs)},t.prototype._trackLinks=function(){this.stopTimer(),this.addToLinksEnabled||(this.addToLinksEnabled=o.stringToBool(d.default.addXDInfoToLinksEnabled));var e=s.readSessionCookie();if(document&&document.getElementsByTagName&&e.id){var t=document.getElementsByTagName("a");if(t&&0!==t.length){for(var n=this,i=0;i0){var i=e.href;if(i&&"javascript:"!==i.substring(0,11)){u++;var r=t[0],f=t[1]||"",g=t[2]||"",m=t[3]||"",h=t[4]||"",v=e.getAttribute("target")||"";o.addEvent(e,"click",(function(e){"_blank"!==v&&(o.preventDefault(e),o.stopPropagation(e));var t={hitType:"event",eventCategory:r,eventAction:f,eventLabel:g,eventValue:m,eventNonInteractive:h,hitCallback:function(){if(!--l){l=u;var e=function(e){"_blank"!==v&&(document.location.href=e)};"false"!==a?n.commandProcessor.getLoop().insert(["getLinkerUrl",{targetUrl:i,useHash:"hash"===a,callback:e}]):e(i)}}};if(n.commandProcessor.getLoop().insert(["send",t]),s)for(var c=s.split(","),p=0;p=2&&n.commandProcessor.getLoop().insert(["setProp",b[0],b.slice(1).join("|")])}if(d){var y=d.split(",");for(p=0;p=2&&n.commandProcessor.getLoop().insert(["setEVar",b[0],b.slice(1).join("|")])}}}))}else i&&o.error("data-sda-event not supported for Javascript links.")}}();l=u}}else if(n.addToLinksEnabled){var f=e.getAttribute("href");if(f&&"http"===f.substring(0,4)&&-1===f.indexOf("//"+document.location.hostname)&&!o.isXDInfoUrl(f)&&!e["_sdaLink"]&&e.hostname){for(var g=!1,m=0;m{Object.defineProperty(t,"__esModule",{value:!0}),t.TransformCommand=void 0;var i=n(191),r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.priority=0,t}return i.__extends(t,e),t.prototype._transform=function(){return!0},t}(n(275).Plugin);t.TransformCommand=r},68:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={forceSSL:!0,dataLayer:"sdaDataLayer",debug:!1,blockSendIfCookiesDisabled:!0,cookieDomainPeriods:parseInt("0",10)||2,pagePublishHistory:"sdaPagePublishHistory",publishPacketList:"sdaPublishPackets",historyEnabled:"false",attachToSessionEnabled:"true",addXDInfoToLinksEnabled:"false",addXDInfoToLinksExclusions:[""],customQueryStringVarPrefixes:[""],trackFormFieldsEnabled:"false"};t.default=n},373:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mouseClickBucketSize=t.trackScrollBufferMs=t.trackMovementBufferMs=t.minMoveDistance=t.trackScrollBelowFold=t.trackClick=t.trackScroll=t.trackMovement=t.sessionIdLoadTimeoutMs=t.publishCallbackTimeoutMs=t.pluginLoadTimeoutMs=t.sessionTimeoutMs=t.maxIdleMs=t.considerIdleAfterMs=t.pingFreqMs=t.loopFreqMs=t.trackFormFieldsFreqMs=t.trackLinksFreqMs=t.buttonTextMaxLength=t.buttonMatchSelectors=t.historyStorageKey=t.debugPrefix=t.errorPrefix=t.sessionCookieName=t.userCookieName=t.cookieNamePrefix=t.cookieMaxLength=t.serializeEscapeChar=t.ajaxPostPath=t.imageTagPath=t.clientId=t.scenario=t.scriptUrl=t.tagServerUrl=t.build=t.version=void 0,t.version="4.0",t.build="a4ec0d5ef2fa-prod",t.tagServerUrl="sd-tagging.azurefd.net/endpoint",t.scriptUrl="sdtagging.azureedge.net/scripts/sdanalytics",t.scenario="T3",t.clientId="gmus",t.imageTagPath="1x1.gif",t.ajaxPostPath="data",t.serializeEscapeChar="!",t.cookieMaxLength=4e3,t.cookieNamePrefix="_sda:gmus:T3:",t.userCookieName=t.cookieNamePrefix+"user",t.sessionCookieName=t.cookieNamePrefix+"session",t.errorPrefix="SDA::",t.debugPrefix="[SDA] ",t.historyStorageKey="SDA:gmus:T3:History",t.buttonMatchSelectors=["button",'a[role="button"]','div[role="button"]','span[role="button"]','[class*="btn"]'],t.buttonTextMaxLength=50,t.trackLinksFreqMs=100,t.trackFormFieldsFreqMs=100,t.loopFreqMs=100,t.pingFreqMs=3e4,t.considerIdleAfterMs=6e4,t.maxIdleMs=12e4,t.sessionTimeoutMs=60*(parseFloat("null")||29.5)*1e3,t.pluginLoadTimeoutMs=2e3,t.publishCallbackTimeoutMs=500,t.sessionIdLoadTimeoutMs=6e4,t.trackMovement="false",t.trackScroll="false",t.trackClick="true",t.trackScrollBelowFold="true",t.minMoveDistance=2,t.trackMovementBufferMs=250,t.trackScrollBufferMs=250,t.mouseClickBucketSize=25},488:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.writeCookie=t.readCookie=t.readCookies=t.writeSessionCookie=t.readSessionCookie=t.writeUserCookie=t.readUserCookie=t.getCookieSupport=void 0;var i=n(373),r=n(68),o=n(364),a={},s={persisted:!0,session:!0,sessionCookieDomain:!0};function d(e){var t={};if(!e){var n=a;for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i])}for(var r=document.cookie.split(";"),s=0;s=3&&(e.id=n[0],e.version=n[1],e.timestamp=parseInt(n[2],10)),n.length>=4&&(e.ids=n[3].split("!")),n.length>=5&&(e.idts=n[4].split("!")))}return e},t.writeUserCookie=function(e){var t=[e.id,i.version,e.timestamp,e.ids.join("!"),e.idts.join("!")].join(":"),n=new Date,o=document.domain.split(".").slice(0-r.default.cookieDomainPeriods).join(".");return n.setFullYear(n.getFullYear()+1),u(i.userCookieName,t,{expires:n,domain:o})},t.readSessionCookie=function(){var e={id:"",trace:!1,expire:0,plugins:[],ids:[],idLoadStart:0,debug:!1,clientId:"",retailerId:"",providerId:"",isXdImport:!1,nextId:""},t=c(i.sessionCookieName);if(t){var n=t.split(":");n&&n.length>=4&&(e.id=n[0],e.trace="Y"===n[1],e.expire=parseInt(n[2],10),e.plugins=0!==n[3].length?n[3].split(","):[]),n.length>=5&&(e.ids=n[4].split("!")),n.length>=6&&(e.idLoadStart=parseInt(n[5],10)||0),n.length>=7&&(e.debug="Y"===n[6]),n.length,n.length>=11&&(e.clientId=n[8],e.providerId=n[9],e.retailerId=n[10]),n.length>=12&&(e.isXdImport="Y"===n[11]),n.length>=13&&(e.nextId=n[12]||"")}return e},t.writeSessionCookie=function(e){var t=[e.id,e.trace?"Y":"N",e.expire,e.plugins.join(","),e.ids.join("!"),e.idLoadStart,e.debug?"Y":"N","",e.clientId&&-1===e.clientId.indexOf(":")?e.clientId:"",e.providerId&&-1===e.providerId.indexOf(":")?e.providerId:"",e.retailerId&&-1===e.retailerId.indexOf(":")?e.retailerId:"",e.isXdImport?"Y":"N",e.nextId].join(":"),n=document.domain.split(".").slice(0-r.default.cookieDomainPeriods).join(".");return u(i.sessionCookieName,t,{domain:n})},t.readCookies=d,t.readCookie=c,t.writeCookie=u},430:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.findAndSetValue=t.getValues=t.setValue=t.getValue=t.matchExpressions=void 0;var n=[{name:"AdobeDTM",regex:/\/\/assets\.adobedtm\.com/i},{name:"GA",regex:/\/\/www\.google-analytics\.com\/(ga|analytics).js/i},{name:"GTM",regex:/\/\/www\.googletagmanager\.com\/gtm.js/i},{name:"FB",regex:/\/\/connect\.facebook\.net\/[^\/]+\/fbevents.js/i}];function i(e,t){return e.perfCustom[t]}function r(e,t,n){e.perfCustom[t]=n}function o(e,t,n){if(void 0===i(e,t)){var o=window.performance;if(o&&o.getEntriesByType&&n){var a=o.getEntriesByType("resource");if(a&&0!==a.length)for(var s=0;s{Object.defineProperty(t,"__esModule",{value:!0}),t.getEVars=t.setEVar=t.getEVar=void 0,t.getEVar=function(e,t){var n=(t=(t=(t||"").toString()).replace(/\//g,".")).toLowerCase();return t=e.eVarNames[n],e.eVars[t]},t.setEVar=function(e,t,n){var i=(t=(t||"").toString()).toLowerCase();void 0===e.eVarNames[i]?e.eVarNames[i]=t:t=e.eVarNames[i],e.eVars[t]=n,e.eVarsAll[t]=n},t.getEVars=function(e){var t=e.eVars;return e.eVars={},e.eVarNames={},t}},214:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._getKey=t._save=t._load=t._buildItem=t._buildHistory=t.getHistory=t.isEnabled=t.isSupported=t.getStorage=t.onPublish=void 0;var i=n(364),r=n(10),o=n(373),a=n(68),s=n(648),d=n(488);t.onPublish=function(e){if(this.isEnabled()&&this.isSupported()){var t=e[r.hitType];if(("pageview"===t||"event"===t)&&"1"!==e[r.resent]){var n=this._load();n||(n=this._buildHistory(e));var o=this._buildItem(e);n.items.push(o),i.extend(n.props,o.props),i.extend(n.eVars,o.eVars),this._save(n)}}},t.getStorage=function(){try{if(window.localStorage)return window.localStorage}catch(e){}try{if(window.sessionStorage)return window.sessionStorage}catch(e){}return null},t.isSupported=function(){return!!(JSON&&JSON.stringify&&JSON.parse&&null!==this.getStorage())},t.isEnabled=function(){return i.stringToBool(a.default.historyEnabled)},t.getHistory=function(){return this.isEnabled()&&this.isSupported()?this._load():null},t._buildHistory=function(e){return{items:[],props:{},eVars:{},adId:e[r.adId],campaign:e[r.campaign],campaignType:e[r.campaignType],campaignName:e[r.campaignName],channel:e[r.channel],digAdAdId:e[r.digAdAdId],digAdCid:e[r.digAdCid],digAdKeyword:e[r.digAdKeyword],digAdLocation:e[r.digAdLocation],digAdPlacement:e[r.digAdPlacement],digAdPosition:e[r.digAdPosition],digAdProvider:e[r.digAdProvider],keyword:e[r.keyword],referrer:e[r.referrer],semMatchType:e[r.semMatchType],sessionId:e[r.sessionId],targetId:e[r.targetId]}},t._buildItem=function(e){return{hitType:e[r.hitType],eventCategory:e[r.eventCategory],timeStamp:new Date,props:s.stringToDictionary(e[r.props]),eVars:s.stringToDictionary(e[r.eVars])}},t._load=function(){var e=this._getKey(),t=this.getStorage(),n=t[e];if(n){var i=JSON.parse(n);if(i){var r=d.readSessionCookie().id;if(i.sessionId===r)return i;t.removeItem(e)}}return null},t._save=function(e){var t=this._getKey(),n=JSON.stringify(e);this.getStorage()[t]=n},t._getKey=function(){return o.historyStorageKey}},927:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Loop=void 0;var i=n(250),r=n(364),o=n(373),a=n(68),s=function(){function e(){var e=this;this._lastLoopTime=0,this._idleTimeMs=0,this._isSuspended=0,this._isProcessing=0,this._isPingDisabled=!1;var t=this;t._commandProcessor=new i.CommandProcessor(this);var n=r.getTimeInTicks();if(t._lastCmdTime=n,t._lastLoopTime=n,r.getSDA().sync=function(){for(var t=[],n=0;no.maxIdleMs&&(t._isPingDisabled=!0),t._lastLoopTime=n,window.setTimeout((function(){return t._process()}),o.loopFreqMs))},e.prototype._start=function(){var e=this,t=this;window.setTimeout((function(){return t._process()}),o.loopFreqMs);var n=function(e){t._idleTimeMs=0};r.addEvent(document,"mousemove",n),r.addEvent(document,"keydown",n);var i=r.stringToBool(o.trackClick),a=r.stringToBool(o.trackMovement),s=r.stringToBool(o.trackScroll),d=r.stringToBool(o.trackScrollBelowFold);if(a){var c=0,u=r.debounce((function(t){e._trackInteraction("mousemove",t[0],c)}),o.trackMovementBufferMs);r.addEvent(document,"mousemove",(function(e){c=r.getTimeInTicks(),u(e)}))}if(s||d){var l=0,p=r.debounce((function(t){return e._trackInteraction("scroll",t[0],l,[s,d])}),o.trackScrollBufferMs);r.addEvent(document,"scroll",(function(e){l=r.getTimeInTicks(),p(e)}))}i&&r.addEvent(document,"mouseup",(function(t){return e._trackInteraction("click",t,r.getTimeInTicks())})),r.debug("SDA "+o.version+" initialized.")},e.prototype._trackInteraction=function(e,t,n,i){var a=[];if("mousemove"===e){var s=r.getRelativeMouseAbsolutePos(t),d=1e3;this._lastMousePos&&(d=Math.sqrt(Math.pow(s.x-this._lastMousePos.x,2)+Math.pow(s.y-this._lastMousePos.y,2))),d>=o.minMoveDistance&&(a.push({type:"move",x:s.x,y:s.y,timestamp:n}),this._lastMousePos=s)}else if("click"===e){var c=r.findClickTarget(t);if(c.el){var u=r.getXPath(c.el);if(u){s=r.getRelativeMouseAbsolutePos(t);var l=r.getRelativeMouseOffsetPos(c.el,c.x,c.y);l.x=r.bucketRelativeMousePos(l.x,l.width,o.mouseClickBucketSize),l.y=r.bucketRelativeMousePos(l.y,l.height,o.mouseClickBucketSize);var p={type:"click",x:s.x,y:s.y,timestamp:n,xPath:u,offsetX:l.x,offsetY:l.y},f=this._getIsButton(c.el);f.isButton&&(p.isButton=!0,p.buttonText=f.text,p.buttonMatchSelector=f.matchSelector),a.push(p)}}this._lastMousePos=s}else if("scroll"===e&&i){var g=i[0]||!1,m=i[1]||!1,h=r.getRelativeScrollPos();if(g&&a.push({type:"scroll",x:h.x,y:h.y,timestamp:n}),m&&h.y>=50){var v=this._commandProcessor.getState();!1===v.scrolledBelowFold&&(v.scrolledBelowFold=!0,a.push({type:"scrollbelowfold",x:h.x,y:h.y,timestamp:n}))}}if(0!==a.length)for(var y=0;y0&&(this._commandProcessor.process(e[0],Array.prototype.slice.call(e,1)),this._isPingDisabled&&(this._isPingDisabled=!1))},e.prototype.suspend=function(){this._isSuspended++},e.prototype.resume=function(){this._isSuspended>0&&this._isSuspended--},e.prototype.push=function(e){var t=r.getSDAQueue();t&&t.push(e)},e.prototype.insert=function(e){var t=r.getSDAQueue();t&&t.unshift(e)},e.prototype.insertBefore=function(e,t){var n=r.getSDAQueue();if(n){for(var i=0;i0&&"send"===e[0]&&!0!==t&&0===this._isProcessing&&this._process(!0)}},e.prototype.sdSync=function(e){this.sd(e,!0),this._process(!0)},e}();t.Loop=s},10:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.perfLoadCompleted=t.perfDomLoaded=t.perfCustom=t.pageViewId=t.language=t.keyword=t.javaEnabled=t.isNewSession=t.interactionFormPhone=t.interactionFormEmail=t.interactionButtonMatchSelector=t.interactionButtonText=t.interactionIsButton=t.interactionOffsetY=t.interactionOffsetX=t.interactionXPath=t.interactionY=t.interactionX=t.interactionType=t.iframe=t.hitId=t.hitType=t.globalId=t.flashVersion=t.fpComponents=t.externalId=t.eVars=t.eventNonInteractive=t.eventValue=t.eventLabel=t.eventAction=t.eventCategory=t.encoding=t.digAdProvider=t.digAdPosition=t.digAdPlacement=t.digAdLocation=t.digAdKeyword=t.digAdCid=t.digAdAdId=t.debug=t.colorDepth=t.clientId=t.channel=t.campaignName=t.campaignType=t.campaign=t.cacheBuster=t.build=t.adId=void 0,t.DO_NOT_PUBLISH=t.incomingTargetId=t.incomingSemMatchType=t.incomingDebug=t.incomingReferrer=t.incomingPlugins=t.incomingCrossDomainInfo=t.incomingTrace=t.incomingKeyword=t.incomingDigAdProvider=t.incomingDigAdPosition=t.incomingDigAdPlacement=t.incomingDigAdLocation=t.incomingDigAdKeyword=t.incomingDigAdCid=t.incomingDigAdAdId=t.incomingChannel=t.incomingCampaignName=t.incomingCampaignType=t.incomingCampaign=t.incomingAdId=t.xdImport=t.viewportSize=t.version=t.userId=t.url=t.title=t.timestamp=t.targetId=t.sessionId=t.semMatchType=t.sdId=t.scenario=t.retailerId=t.resolution=t.resent=t.referrer=t.providerId=t.props=t.pluginVersions=t.perfTagLoaded=t.perfTagInit=t.perfResponseEnd=t.perfRequestStart=void 0,t.adId="aid",t.build="b",t.cacheBuster="cb",t.campaign="cmp",t.campaignType="cmpt",t.campaignName="cmpn",t.channel="ch",t.clientId="cl",t.colorDepth="d",t.debug="dbg",t.digAdAdId="daa",t.digAdCid="dac",t.digAdKeyword="dak",t.digAdLocation="dal",t.digAdPlacement="dapl",t.digAdPosition="dapo",t.digAdProvider="dap",t.encoding="enc",t.eventCategory="ec",t.eventAction="ea",t.eventLabel="el",t.eventValue="ev",t.eventNonInteractive="eni",t.eVars="evars",t.externalId="exid",t.fpComponents="fpc",t.flashVersion="fl",t.globalId="gid",t.hitType="ht",t.hitId="hid",t.iframe="if",t.interactionType="it",t.interactionX="ix",t.interactionY="iy",t.interactionXPath="ixp",t.interactionOffsetX="iox",t.interactionOffsetY="ioy",t.interactionIsButton="iib",t.interactionButtonText="ibt",t.interactionButtonMatchSelector="ibms",t.interactionFormEmail="ife",t.interactionFormPhone="ifp",t.isNewSession="ins",t.javaEnabled="je",t.keyword="kw",t.language="l",t.pageViewId="pid",t.perfCustom="pc",t.perfDomLoaded="pdl",t.perfLoadCompleted="plc",t.perfRequestStart="prs",t.perfResponseEnd="pre",t.perfTagInit="pti",t.perfTagLoaded="ptl",t.pluginVersions="pv",t.props="props",t.providerId="prid",t.referrer="rf",t.resent="rsn",t.resolution="rs",t.retailerId="rid",t.scenario="sc",t.sdId="sdid",t.semMatchType="smt",t.sessionId="sid",t.targetId="tgid",t.timestamp="ts",t.title="t",t.url="u",t.userId="uid",t.version="v",t.viewportSize="vp",t.xdImport="xd",t.incomingAdId="sda_adid",t.incomingCampaign="sda_campaign",t.incomingCampaignType="sda_campaign_type",t.incomingCampaignName="sda_campaign_name",t.incomingChannel="sda_channel",t.incomingDigAdAdId="sda_digadid",t.incomingDigAdCid="sda_digadcid",t.incomingDigAdKeyword="sda_digadkeyword",t.incomingDigAdLocation="sda_location",t.incomingDigAdPlacement="sda_placement",t.incomingDigAdPosition="sda_position",t.incomingDigAdProvider="sda_digadprov",t.incomingKeyword="sda_keyword",t.incomingTrace="sda_trace",t.incomingCrossDomainInfo="sda_xdinfo",t.incomingPlugins="sda_plugins",t.incomingReferrer="sda_referrer",t.incomingDebug="sda_debug",t.incomingSemMatchType="sda_matchtype",t.incomingTargetId="sda_targetid",t.DO_NOT_PUBLISH="__DO_NOT_PUBLISH__"},94:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.md5=void 0;var n=function(e){function t(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function n(e,n,i,r,o,a){return t((s=t(t(n,e),t(r,a)))<<(d=o)|s>>>32-d,i);var s,d}function i(e,t,i,r,o,a,s){return n(t&i|~t&r,e,t,o,a,s)}function r(e,t,i,r,o,a,s){return n(t&r|i&~r,e,t,o,a,s)}function o(e,t,i,r,o,a,s){return n(t^i^r,e,t,o,a,s)}function a(e,t,i,r,o,a,s){return n(i^(t|~r),e,t,o,a,s)}function s(e,n){var s,d,c,u,l;e[n>>5]|=128<>>9<<4)]=n;var p=1732584193,f=-271733879,g=-1732584194,m=271733878;for(s=0;s>5]>>>t%32&255);return n}function c(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<>>4&15)+i.charAt(15&t);return r}function l(e){return unescape(encodeURIComponent(e))}function p(e){return function(e){return d(s(c(e),8*e.length))}(l(e))}function f(e,t){return function(e,t){var n,i,r=c(e),o=[],a=[];for(o[15]=a[15]=void 0,r.length>16&&(r=s(r,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^r[n],a[n]=1549556828^r[n];return i=s(o.concat(c(t)),512+8*t.length),d(s(a.concat(i),640))}(l(e),l(t))}return function(e,t,n){return t?n?f(t,e):u(f(t,e)):n?p(e):u(p(e))}}();t.md5=function(e,t,i){return n(e,t,i)}},370:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setCaptureUnhandledMessages=t.clearUnhandledMessages=t.reprocessUnhandledMessages=t.removeListener=t.addListener=t.initialize=void 0;var i=n(364),r=[],o={},a=!0;function s(e){if(e.data&&e.data.type){var t=o[e.data.type];t?t(e):a&&r.push(e)}}function d(){r=[]}t.initialize=function(){i.addEvent(window,"message",s)},t.addListener=function(e,t){o[e]=t},t.removeListener=function(e){void 0!==o[e]&&delete o[e]},t.reprocessUnhandledMessages=function(){if(0!==r.length){var e=r.slice(0);d();for(var t=0;t{Object.defineProperty(t,"__esModule",{value:!0}),t.getAll=t.add=t.clear=t.isEnabled=void 0;var i=n(68),r=n(10),o=n(790),a=n(648),s=null;function d(){if(null===s){var e=o.isSupported();s=e}return s}function c(){return o.getObject(i.default.pagePublishHistory)||{}}function u(e){o.setObject(i.default.pagePublishHistory,e)}t.isEnabled=d,t.clear=function(){d()&&u([])},t.add=function(e){if(d()){var t=function(e){var t={};for(var n in r){var i=r[n];void 0!==e[i]&&(t[n]=e[i])}var o=function(e){return e=(e||"").toLowerCase().replace(/\./g,"/")};return t.eVars=t.eVars?a.stringToDictionary(t.eVars,o,null):{},t.props=t.props?a.stringToDictionary(t.props,o,null):{},t.perfCustom=t.perfCustom?a.stringToDictionary(t.perfCustom):{},t}(e),n=c();return n.push(t),u(n),t}return null},t.getAll=function(){return d()?c():[]}},275:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Plugin=void 0;var n=function(){function e(){this.priority=1,this.initialized=!1}return e.prototype.init=function(e){this.commandProcessor=e.commandProcessor,this.state=this.commandProcessor.getState(),this.pluginName&&this.pluginVersion&&(this.state.pluginVersions[this.pluginName]=this.pluginVersion)},e.prototype.debug=function(e){if(e){e+="";var t=this.state.dbg||"";t&&(e=t+","+e),e.length>100&&(e=e.substring(0,100)),this.state.dbg=e}},e}();t.Plugin=n},831:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.waitForLoad=t.getPlugin=t.registerPlugin=void 0;var i=n(364),r={},o={};function a(e){return e=e.toLowerCase(),r[e]}t.registerPlugin=function(e,t){i.debug(e+" plugin loaded."),t&&(e=e.toLowerCase(),r[e]=t);var n=o[e];if(n){clearTimeout(n.timer);var s=a(e);n.callback(s),delete o[e]}},t.getPlugin=a,t.waitForLoad=function(e,t,n){e=e.toLowerCase(),o[e]={callback:t,timer:setTimeout((function(){var n=a(e);t(n)}),n)}}},828:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getProps=t.setProp=t.getProp=void 0,t.getProp=function(e,t){var n=(t=(t||"").toString()).toLowerCase();return t=e.propNames[n],e.props[t]},t.setProp=function(e,t,n){var i=(t=(t=(t||"").toString()).replace(/\//g,".")).toLowerCase();void 0===e.propNames[i]?e.propNames[i]=t:t=e.propNames[i],e.props[t]=n,e.propsAll[t]=n},t.getProps=function(e,t){void 0===t&&(t=!0);var n=e.props;return t&&(e.props={},e.propNames={}),n}},469:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._setList=t._getList=t.removeAll=t.remove=t.add=t.isEnabled=void 0;var i=n(68),r=n(364),o=n(790),a=null;function s(){if(null===a){var e=o.isSupported();a=e}return a}function d(){return o.getObject(i.default.publishPacketList)||{}}function c(e){o.setObject(i.default.publishPacketList,e)}t.isEnabled=s,t.add=function(e,t){if(s()){var n=d();n[e]=t,c(n)}},t.remove=function(e){var t=void 0;if(s()){var n=d();void 0!==n[e]&&(t=n[e],delete n[e],c(n))}return t},t.removeAll=function(){var e=[];if(s()){var t=d(),n=r.keys(t);if(0!==n.length){for(var i=0;i{Object.defineProperty(t,"__esModule",{value:!0}),t.stringToDictionary=t.dictionaryToString=t.unescape=t.escape=void 0;var i=n(373);function r(e){return(e=(e||"")+"").replace(new RegExp("\\"+i.serializeEscapeChar,"g"),i.serializeEscapeChar+i.serializeEscapeChar)}function o(e){return e.replace(new RegExp("\\"+i.serializeEscapeChar+"(.)","g"),"$1")}t.escape=r,t.unescape=o,t.dictionaryToString=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(r(n)+i.serializeEscapeChar+"2"+r(e[n]));return t.join(i.serializeEscapeChar+"1")},t.stringToDictionary=function(e,t,n){var r={};if(e){var a=e.split(i.serializeEscapeChar+"1"),s=0;for(s=0;s{Object.defineProperty(t,"__esModule",{value:!0}),t._setString=t._getString=t.setString=t.getString=t.setObject=t.getObject=t.isSupported=void 0;var n=null;function i(){if(null===n){var e=!1;try{e=void 0!==window.sessionStorage&&"undefined"!=typeof JSON&&void 0!==JSON.stringify&&void 0!==JSON.parse}catch(e){}n=e}return n}function r(e){return window.sessionStorage[e]||""}function o(e,t){window.sessionStorage[e]=t||""}t.isSupported=i,t.getObject=function(e){if(i())try{var t=r(e);return JSON.parse(t||null)}catch(e){}return null},t.setObject=function(e,t){if(i())try{o(e,JSON.stringify(t||null))}catch(e){}},t.getString=function(e){if(i())try{return r(e)}catch(e){}return""},t.setString=function(e,t){if(i())try{o(e,t)}catch(e){}},t._getString=r,t._setString=o},332:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PropMap=t.TransformPlugin=void 0;var i=n(191),r=n(275),o=n(364),a=n(68),s=n(10),d=n(648),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t.prototype._transform=function(){var e=o.getArgs(arguments,"params");return this.params=e.params,this.props=null,this.eVars=null,this.onTransform(),this.props&&this.props.getIsChanged()&&this.updateState("propsAll",this.props.getChanges()),this.eVars&&this.eVars.getIsChanged()&&this.updateState("eVarsAll",this.eVars.getChanges()),!1},t.prototype.updateState=function(e,t){if(t){this.state[e]||(this.state[e]={});for(var n=this.state[e],i=t.adds,r=i.length,o=0;o{Object.defineProperty(t,"__esModule",{value:!0}),t.findClickTarget=t.getNodeIndex=t.getXPath=t.bucketRelativeMousePos=t.getRelativeScrollPos=t.runSafe=t.isPageLoaded=t.isSsl=t.isSafari=t.loadScript=t.deleteCallback=t.createCallback=t.diff=t.flatten=t.uniqueArray=t.stringToBool=t.addParamsToUrl=t.attachSyncCommands=t.map=t.forEach=t.keys=t.arrayIndexOf=t.isXDInfoUrl=t.isDate=t.isArray=t.getQueryParams=t.error=t.info=t.warn=t.debugObj=t.debug=t.getArgs=t.getSDAQueue=t.getSDAName=t.getSDA=t.extend=t.trim=t.getPerfTime=t.getTimeInTicks=t.generateRandomInt=t.generateRandomId=t.generateGuid=t.generate16RandomBytes=t.isHidden=t.stopPropagation=t.preventDefault=t.restrictValueTo=t.ready=t.removeEvent=t.addEvent=void 0,t.parseRegExp=t.isIFrame=t.sendMessage=t.compareVersions=t.versionGTE=t.compareTemplateValue=t.debounce=t.getRelativeMouseAbsolutePos=t.getRelativeMouseOffsetPos=void 0;var i=n(68),r=n(373),o=n(10),a=!1;t.addEvent=function(e,t,n){try{e.addEventListener?e.addEventListener(t,n):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n}catch(e){}},t.removeEvent=function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null},t.ready=function(e){var t=!1,n=!0,i=window,r=i.document,o=r.documentElement,a=r.addEventListener,s=a?"addEventListener":"attachEvent",d=a?"removeEventListener":"detachEvent",c=a?"":"on",u=function(n){"readystatechange"==n.type&&"complete"!=r.readyState||(("load"==n.type?i:r)[d](c+n.type,u,!1),!t&&(t=!0)&&e.call(i,n.type||n))},l=function(){try{o.doScroll("left")}catch(e){return void setTimeout(l,50)}u("poll")};if("complete"==r.readyState)e.call(i,"lazy");else{if(!a&&o.doScroll){try{n=!i.frameElement}catch(e){}n&&l()}r[s](c+"DOMContentLoaded",u,!1),r[s](c+"readystatechange",u,!1),i[s](c+"load",u,!1)}},t.restrictValueTo=function(e,t,n){return-1!==e.indexOf(n)?n:t},t.preventDefault=function(e){e.preventDefault?e.preventDefault():window.event?window.event.returnValue=!1:e.returnValue=!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.isHidden=function(){return void 0===a&&function(){var e="hidden",t=function(t){var n=!1,i=!0,r={focus:n,focusin:n,pageshow:n,blur:i,focusout:i,pagehide:i};t=t||window.event,a=t.type in r?r[t.type]:document[e]};e in document?document.addEventListener("visibilitychange",t):(e="mozHidden")in document?document.addEventListener("mozvisibilitychange",t):(e="webkitHidden")in document?document.addEventListener("webkitvisibilitychange",t):(e="msHidden")in document?document.addEventListener("msvisibilitychange",t):"onfocusin"in document?document.onfocusin=document.onfocusout=t:window.onpageshow=window.onpagehide=window.onfocus=window.onblur=t;t({type:"visible"===document.visibilityState?"focus":"blur"})}(),a};var s=null;function d(){if(!s){var e=window.crypto||window.msCrypto;if(e&&e.getRandomValues)try{var t=new Uint8Array(16);s=function(){return e.getRandomValues(t),Array.prototype.slice.call(t)}}catch(e){}if(!s){var n=new Array(16);s=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),n[t]=e>>>((3&t)<<3)&255;return n}}}return s()}function c(){return u().toString(36)}function u(){var e=d();return(e[0]<<24)+(e[1]<<16)+(e[2]<<8)+e[3]&2147483647}function l(){return 1*new Date}function p(){var e="sda",t=window[e];return t||h("Utils::getSDA - "+e+" not found."),t}function f(){return"sda"}function g(){return C()?"[IFRAME] ":""}function m(e){e&&i.default.debug&&console&&console.log&&(JSON&&JSON.stringify&&JSON.parse&&(e=JSON.parse(JSON.stringify(e))),console.log(r.debugPrefix+g(),e))}function h(e,t){console&&console.error&&(t?console.error(r.errorPrefix+g()+e,t):console.error(r.errorPrefix+g()+e))}function v(e){return e instanceof Date&&!isNaN(e.valueOf())}function y(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var n=0;n=r)return 1;if(a>=o)return-1;var s=parseInt(n[a],10),d=parseInt(i[a],10);if(s>d)return-1;if(s0){var r=Math.ceil(t/n),o=100/r,a=Math.floor(e/o);a>=r&&(a=r-1),i=o/2+o*a,i=Math.round(10*i)/10,i=Math.max(Math.min(i,100),0),isNaN(i)&&(i=0)}return i},t.getXPath=function e(t,n){void 0===n&&(n="");var i=t.parentElement;if(t.id&&"string"==typeof t.id&&!0===/^[a-z\-_0-9]+$/i.test(t.id)&&t.id.replace(/[^0-9]/g,"").length<=2&&!1===/^slideshow-/.test(t.id))return"//".concat(t.nodeName.toLowerCase(),'[@id="').concat(t.id,'"]').concat(n);if(i){var r=t.nodeName.toLowerCase();return r&&!0===/^[a-z\-_0-9]+$/i.test(r)?e(i,"/"+r+"["+(I(t,i.children)+1)+"]"+n):""}return"//html[1]"+n},t.getNodeIndex=I,t.findClickTarget=function(e){var t=null,n=0,i=0;return e||(e=window.event),e&&(n=e.offsetX,i=e.offsetY,t=e.target||e.srcElement||e.originalTarget),{el:t,x:n,y:i}},t.getRelativeMouseOffsetPos=function(e,t,n){var i=0,r=0,o=0,a=0;if(e&&e.getBoundingClientRect){var s=e.getBoundingClientRect();i=s.width,r=s.height,i&&r&&(o=t/i*100,a=n/r*100,isNaN(o)&&(o=0),isNaN(a)&&(a=0),o=Math.max(Math.min(o,100),0),a=Math.max(Math.min(a,100),0),o=Math.round(10*o)/10,a=Math.round(10*a)/10)}return{x:o,y:a,width:i,height:r}},t.getRelativeMouseAbsolutePos=function(e){var t=0,n=0;if(e||(e=window.event),document&&document.body&&e){var i=0,r=0,o=document.body.scrollWidth,a=document.body.scrollHeight;if(void 0!==e.pageX)i=e.pageX,r=e.pageY;else if(void 0!==e.clientX){var s=window.pageXOffset||document.body.scrollLeft||document.documentElement.scrollLeft||0,d=window.pageYOffset||document.body.scrollTop||document.documentElement.scrollTop||0;i=e.clientX+s,r=e.clientY+d}o>0&&(t=100*i/o),a>0&&(n=100*r/a),t=Math.max(Math.min(t,100),0),n=Math.max(Math.min(n,100),0),t=Math.round(10*t)/10,n=Math.round(10*n)/10}return{x:t,y:n}},t.debounce=function(e,t){var n=null;return function(){for(var i=[],r=0;r=0},t.compareVersions=P,t.sendMessage=function(e,t){t&&t.postMessage&&(m({SendMessage:{message:e}}),t.postMessage(e,"*"))},t.isIFrame=C,t.parseRegExp=function(e,t,n){if(e){if("/"===e[0]){var i=e.lastIndexOf("/");if(i>0){var r=e.substr(1,i-1),o=e.substr(i+1);return new RegExp(r,o)}}return new RegExp(e,t||n||"i")}}},358:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.debug=t.dataLayer=t.tagServerUrl=t.scriptUrl=t.scenario=t.clientId=t.version=t.build=t.getSessionId=t.registerPlugin=void 0;var i=n(370),r=n(364),o=n(373),a=n(831),s=n(927),d=n(68),c=n(488);n(332),setTimeout((function(){var e="_SDA::StartCount";if(window[e]=window[e]||0,window[e]++,1===window[e]){i.initialize();var t=r.getSDAQueue(),n=r.getSDAName(),o=null;for(window[n]=function(){o.sd(Array.prototype.slice.call(arguments))},(o=new s.Loop).insert(["init"]);0!==t.length;){var a=t.shift();o.push(a)}var d=r.getSDA();r.attachSyncCommands(d),o.sdSync()}else console&&console.error&&console.error("SDA.js loaded more than once.")}),0),t.registerPlugin=function(e,t){a.registerPlugin(e,t)},t.getSessionId=function(){return c.readSessionCookie().id},t.build=o.build,t.version=o.version,t.clientId=o.clientId,t.scenario=o.scenario,t.scriptUrl=o.scriptUrl,t.tagServerUrl=o.tagServerUrl,t.dataLayer=d.default.dataLayer,t.debug=d.default.debug}},e=>{var t,n=(t=358,e(e.s=t));(window._SDA=window._SDA||{}).core=n}]);