// For license information, see `https://assets.adobedtm.com/launch-ENc2c0d9c06c2d4b1a877b126c3b8fc473.js`. window._satellite=window._satellite||{},window._satellite.container={buildInfo:{minified:!0,buildDate:"2023-11-30T01:25:13Z",turbineBuildDate:"2023-02-22T20:37:26Z",turbineVersion:"27.5.0"},environment:{id:"ENc2c0d9c06c2d4b1a877b126c3b8fc473",stage:"production"},dataElements:{Headline:{defaultValue:"na",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.page.pageInfo.headline"}},"Primary Category":{defaultValue:"na",cleanText:!0,storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.page.category.primaryCategory"}},"SubCategory 1":{defaultValue:"na",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.page.category.subCategory1"}},"Hashed CRS number":{cleanText:!0,modulePath:"core/src/lib/dataElements/queryStringParameter.js",settings:{name:"iid",caseInsensitive:!0}},"UID cookie":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e=document.cookie.split(";").map((function(e){return e.trim().split("=").map(decodeURIComponent)})).reduce((function(e,t){try{e[t[0]]=JSON.parse(t[1])}catch(n){e[t[0]]=t[1]}return e}),{});return!(!e||!e.account)&&e.account.uid}}},"Article Id":{defaultValue:"na",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.page.pageInfo.articleID"}},"Friendly Page Name":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return"na"!=_satellite.getVar("Primary Category")&&""!=_satellite.getVar("Primary Category")&&"na"!=_satellite.getVar("SubCategory 1")&&""!=_satellite.getVar("SubCategory 1")&&"na"!=_satellite.getVar("SubCategory 2")&&""!=_satellite.getVar("SubCategory 2")&&"na"!=_satellite.getVar("SubCategory 3")&&""!=_satellite.getVar("SubCategory 3")&&"na"!=_satellite.getVar("Article Id")&&""!=_satellite.getVar("Article Id")&&"na"!=_satellite.getVar("Headline")&&""!=_satellite.getVar("Headline")?_satellite.getVar("Primary Category")+":"+_satellite.getVar("SubCategory 1")+":"+_satellite.getVar("SubCategory 2")+":"+_satellite.getVar("SubCategory 3")+":"+_satellite.getVar("Article Id")+":"+_satellite.getVar("Headline"):"na"!=_satellite.getVar("Primary Category")&&""!=_satellite.getVar("Primary Category")&&"na"!=_satellite.getVar("SubCategory 1")&&""!=_satellite.getVar("SubCategory 1")&&"na"!=_satellite.getVar("SubCategory 2")&&""!=_satellite.getVar("SubCategory 2")&&"na"!=_satellite.getVar("Article Id")&&""!=_satellite.getVar("Article Id")&&"na"!=_satellite.getVar("Headline")&&""!=_satellite.getVar("Headline")?_satellite.getVar("Primary Category")+":"+_satellite.getVar("SubCategory 1")+":"+_satellite.getVar("SubCategory 2")+":"+_satellite.getVar("Article Id")+":"+_satellite.getVar("Headline"):"na"!=_satellite.getVar("Primary Category")&&""!=_satellite.getVar("Primary Category")&&"na"!=_satellite.getVar("SubCategory 1")&&""!=_satellite.getVar("SubCategory 1")&&"na"!=_satellite.getVar("Article Id")&&""!=_satellite.getVar("Article Id")&&"na"!=_satellite.getVar("Headline")&&""!=_satellite.getVar("Headline")?_satellite.getVar("Primary Category")+":"+_satellite.getVar("SubCategory 1")+":"+_satellite.getVar("Article Id")+":"+_satellite.getVar("Headline"):"na"!=_satellite.getVar("Primary Category")&&""!=_satellite.getVar("Primary Category")&&"na"!=_satellite.getVar("Article Id")&&""!=_satellite.getVar("Article Id")&&"na"!=_satellite.getVar("Headline")&&""!=_satellite.getVar("Headline")?_satellite.getVar("Primary Category")+":"+_satellite.getVar("Article Id")+":"+_satellite.getVar("Headline"):"na"!=_satellite.getVar("Primary Category")&&""!=_satellite.getVar("Primary Category")&&"na"!=_satellite.getVar("SubCategory 1")&&""!=_satellite.getVar("SubCategory 1")&&"na"!=_satellite.getVar("SubCategory 2")&&""!=_satellite.getVar("SubCategory 2")&&"na"!=_satellite.getVar("SubCategory 3")&&""!=_satellite.getVar("SubCategory 3")?_satellite.getVar("Primary Category")+":"+_satellite.getVar("SubCategory 1")+":"+_satellite.getVar("SubCategory 2")+":"+_satellite.getVar("SubCategory 3"):"na"!=_satellite.getVar("Primary Category")&&""!=_satellite.getVar("Primary Category")&&"na"!=_satellite.getVar("SubCategory 1")&&""!=_satellite.getVar("SubCategory 1")&&"na"!=_satellite.getVar("SubCategory 2")&&""!=_satellite.getVar("SubCategory 2")?_satellite.getVar("Primary Category")+":"+_satellite.getVar("SubCategory 1")+":"+_satellite.getVar("SubCategory 2"):"na"!=_satellite.getVar("Primary Category")&&""!=_satellite.getVar("Primary Category")&&"na"!=_satellite.getVar("SubCategory 1")&&""!=_satellite.getVar("SubCategory 1")?_satellite.getVar("Primary Category")+":"+_satellite.getVar("SubCategory 1"):"na"!=_satellite.getVar("Primary Category")&&""!=_satellite.getVar("Primary Category")?_satellite.getVar("Primary Category"):void 0}}},"User ID":{defaultValue:"",storageDuration:"session",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.user[0].profile[0].profileInfo.uid"}},"SubCategory 3":{defaultValue:"na",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.page.category.subCategory3"}},DrupalUserID:{modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return""!=digitalData.user[0].profile[0].profileInfo.uid&&null!=digitalData.user[0].profile[0].profileInfo.uid&&null!=digitalData.user[0].profile[0].profileInfo.uid?digitalData.user[0].profile[0].profileInfo.uid.toString():""}}},"Adobe Analytics Report Suite ID":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){return/s_tagEnv=[a-z]*;/.test(document.cookie)?determineEnvByCookie(document.cookie):isSelfInIframe()?determineBayleysSuites():determineEnvByUrl(window.top.location.href)}function t(){var t=new Date(2018,2,28),n=new Date(2018,3,11),r=new Date;return/neighbourly\.co\.nz/i.test(window.self.location.href)?determineBayleysSuites():rn?determineGlobalEnvByUrl(window.top.location.href):e()+","+determineGlobalEnvByUrl(window.top.location.href)}var n="fairfaxnz-stuff-prd",r="fairfaxnzstuff-beta",i="fairfaxnzstuff-beta",o="fairfaxnzmobprd2",a="fairfaxnz-stuff-testing",s="fairfaxnz-neighbourly-widget-prod",c="fairfaxnz-neighbourly-widget-dev",u="fairfaxnz-stuffoverall-production",l="fairfaxnz-stuffoverall-testing",d={templates:{url:"assets.stuff.co.nz",site:n,global:u,cookie:"s_tagEnv=live;"},live:{url:"www.stuff.co.nz",site:n,global:u,cookie:"s_tagEnv=live;"},stuffNation:{url:"ugc.stuff.co.nz",site:n,global:u,cookie:"s_tagEnv=live;"},bayleysProd:{url:"cdn.neighbourly.co.nz",site:s,cookie:"s_tagEnv=live;"},bayleysDev:{url:"www.neighbourly.co.nz",site:c,cookie:"s_tagEnv=live;"},mobile:{url:"i.stuff.co.nz",site:o,global:u,cookie:"s_tagEnv=mobile;"},alpha:{url:"alpha.stuff.co.nz",site:i,global:l,cookie:"s_tagEnv=alpha;"},preprodAlphaDesktop:{url:"www-preprod-alpha.stuff.co.nz",site:i,global:l,cookie:"s_tagEnv=alpha;"},preprodAlphaMobile:{url:"i-preprod-alpha.stuff.co.nz",site:i,global:l,cookie:"s_tagEnv=alpha;"},alphaDesktop:{url:"www-alpha.stuff.co.nz",site:i,global:l,cookie:"s_tagEnv=alpha;"},alphaMobile:{url:"i-alpha.stuff.co.nz",site:i,global:l,cookie:"s_tagEnv=alpha;"},beta:{url:"beta.stuff.co.nz",site:o,global:u,cookie:"s_tagEnv=beta;"},preprodBetaDesktop:{url:"www-preprod-beta.stuff.co.nz",site:r,global:l,cookie:"s_tagEnv=beta;"},preprodBetaMobile:{url:"i-preprod-beta.stuff.co.nz",site:r,global:l,cookie:"s_tagEnv=beta;"},betaDesktop:{url:"www-beta.stuff.co.nz",site:r,global:l,cookie:"s_tagEnv=beta;"},betaMobile:{url:"i-beta.stuff.co.nz",site:r,global:l,cookie:"s_tagEnv=beta;"},defaultSite:{url:"local.stuff.co.nz",site:a,global:l,cookie:"s_tagEnv=staging;"},stuffInteractives:{url:"interactives.stuff.co.nz",site:n,global:u,cookie:"s_tagEnv=live;"},communications:{url:"t.comms.stuff.co.nz",site:n,global:u,cookie:"s_tagEnv=live;"},travelBooking:{url:"travel-booking.stuff.co.nz",site:n,global:u,cookie:"s_tagEnv=live;"},sponsoredInteractives:{url:"sponsoredinteractive.stuff.co.nz",site:n,global:u,cookie:"s_tagEnv=live;"}};return determineEnvByUrl=function(e){this.url=e;var t=a;for(var n in d)new RegExp("://"+d[n].url).test(e)&&(t=d[n].site);return t},determineGlobalEnvByUrl=function(e){this.url=e;var t=l;for(var n in d)new RegExp("://"+d[n].url).test(e)&&(t=d[n].global);return t},determineEnvByCookie=function(e){this.cookie=e;var t=d.defaultSite.cookie;for(var n in d)new RegExp(d[n].cookie).test(e)&&(t=d[n].site);return t},isSelfInIframe=function(){try{return window.self!==window.top}catch(e){return!0}},determineBayleysSuites=function(){return/cdn\.neighbourly\.co\.nz/i.test(window.self.location.href)?s:/neighbourly\.co\.nz/i.test(window.self.location.href)?c:defaultReportSuiteId},"development"==_satellite.buildInfo.environment?"fairfaxnz-stuffoverall-testing":t()}}},"Add Blocker Check":{defaultValue:"not_present",cleanText:!0,modulePath:"core/src/lib/dataElements/cookie.js",settings:{name:"adblocker"}},"SubCategory 2":{defaultValue:"na",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.page.category.subCategory2"}}},extensions:{"acronym-gtag.js":{displayName:"Google Global Site Tag (gtag)",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EP81069fa771f5458f8c98b5782f82e181/",settings:{accounts:{1686528685488:{id:"1686528685488",name:"Stuff.co.nz",type:"ga",options:[],accounts:{staging:"",production:"G-K8CTVF748D",development:""},settings:{linker:{domains:"",decorate_forms:!1,accept_incoming:!0},user_id:"",cookie_name:"",optimize_id:"",anonymize_ip:!1,cookie_domain:"",cookie_expires:""},custom_map:[]}},configCode:function(){},functionName:"",dataLayerName:"",displayFeatures:!0},modules:{"acronym-gtag.js/src/lib/actions/pageview.js":{name:"send-gtag.js-pageview",displayName:"Send a page view",script:function(e,t,n,r){"use strict";e.exports=function(e){var t=n("../helpers/loadGtag")(),i=n("../helpers/castOptionTypes"),o=n("../helpers/getAccountId"),a=r.getExtensionSettings();if("object"==typeof e.accounts&&null!==e.accounts&&Object.keys(e.accounts).length>0){for(var s in e.accounts)if(e.accounts.hasOwnProperty(s)&&(!0===e.accounts[s].enabled||"true"===e.accounts[s].enabled)){var c=a.accounts[s];if(void 0===c){r.logger.warn("ACRGTAG-201: An account was removed in the extension config but is still enabled in the rule");continue}var u=o(c),l={send_to:[u]};(e.accounts[s].options||[]).forEach((function(e){l[e[0]]=e[1]})),t("event","page_view",l=i(l)),r.logger.log("page view fired for account "+u+" with the options:",JSON.stringify(l))}}else r.logger.warn("ACRGTAG-200 - No accounts enabled for the page_view event")}}},"acronym-gtag.js/src/lib/helpers/loadGtag.js":{script:function(e,t,n,r){"use strict";e.exports=function(){var e=r.getExtensionSettings(),t=e.dataLayerName||"dataLayer",i=e.functionName||"gtag",o=n("@adobe/reactor-window"),a=n("@adobe/reactor-load-script"),s=n("../helpers/getAccountId"),c=n("../helpers/castOptionTypes"),u="";if(o[i]||(o[t]=o[t]||[],o[i]=function(){Array.isArray(o[t])?o[t].push(arguments):r.logger.error("ACRGTAG-104: Data layer variable '"+t+"' malformed",o[t])},o[i]("js",new Date)),!_satellite.getVar("__acronym_gtag_loaded")){if(_satellite.setVar("__acronym_gtag_loaded",!0),("string"==typeof e.displayFeatures&&"true"!==e.displayFeatures||"string"!=typeof e.displayFeatures&&!Boolean(e.displayFeatures))&&(o[i]("set",{allow_ad_personalization_signals:!1}),r.logger.log("Display features are disabled")),"object"==typeof e.accounts&&null!==e.accounts&&Object.keys(e.accounts).length>0){for(var l in e.accounts)if(e.accounts.hasOwnProperty(l)){var d=e.accounts[l],f=d.settings||{};u=s(d),"object"==typeof d.custom_map&&d.custom_map.length&&(f.custom_map=f.custom_map||{},d.custom_map.forEach((function(e){f.custom_map[e[0]]=e[1]}))),(d.options||[]).forEach((function(e){f[e[0]]=e[1]})),f.send_page_view=!1,f=c(f),o[i]("config",u,f),r.logger.log("account "+u+" was loaded with the options:",JSON.stringify(f))}if("function"==typeof e.configCode)try{e.configCode(o[i],o[t])}catch(e){r.logger.error("ACRGTAG-101: Custom config code error:",e)}}else r.logger.warn("ACRGTAG-102: No accounts configured");var p="gtag.js library";r.logger.log("loading "+p),a("https://www.googletagmanager.com/gtag/js?id="+u+"&l="+t).then((function(){r.logger.log(p+" successfully loaded")}),(function(){r.logger.error("ACRGTAG-100: "+p+" could not be loaded")}))}return o[i]}},name:"get-gtag",shared:!0},"acronym-gtag.js/src/lib/helpers/castOptionTypes.js":{script:function(e){"use strict";e.exports=function(e){var t={bool:function(e){return"string"==typeof e?"true"===e:Boolean(e)},int:function(e){var t=parseInt(e);return isNaN(t)?0:t},float:function(e){var t=parseFloat(e);return isNaN(t)?0:t},csv:function(e){return"string"==typeof e?""===e?void 0:e.split(","):e},custom_map:function(e){var t={};return"string"==typeof e?e.split(",").forEach((function(e){var n=e.split(":");2===n.length&&(t[n[0]]=n[1])})):"object"==typeof e&&(t=e),t}},n={accept_incoming:t.bool,allow_ad_personalization_signals:t.bool,anonymize_ip:t.bool,checkout_step:t.int,cookie_expires:t.int,custom_map:t.custom_map,event_timeout:t.int,fatal:t.bool,levels:t.int,link_attribution:t.bool,linker:{domains:t.csv,accept_incoming:t.bool,decorate_forms:t.bool},non_interaction:t.bool,value:t.float};return Object.keys(e).forEach((function(t){"function"==typeof n[t]?e[t]=n[t](e[t]):"object"==typeof n[t]&&"object"==typeof e[t]&&null!==e[t]&&Object.keys(e[t]).forEach((function(r){"function"==typeof n[t][r]&&(e[t][r]=n[t][r](e[t][r]))}))})),e}}},"acronym-gtag.js/src/lib/helpers/getAccountId.js":{script:function(e,t,n,r){"use strict";e.exports=function(e,t){return t||(t=r.environment.stage),"string"==typeof e.accounts[t]&&""!==e.accounts[t]?e.accounts[t]:e.accounts.production}}}}},"google-universal-analytics":{displayName:"Google Universal Analytics",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EPeeed8c20d16b41329538b94289163fac/",settings:{fields:{},libraryCode:{type:"managed"},trackerName:{type:"custom",value:"6fec2d418904450dace4f478760dcc5a"},trackingIds:{staging:"UA-1056754-9",production:"UA-1056754-1",development:"UA-1056754-9"}},modules:{"google-universal-analytics/src/lib/actions/sendPageView.js":{name:"send-page-view",displayName:"Send Page View",script:function(e,t,n){"use strict";var r=n("../helpers/ga"),i=n("@adobe/reactor-object-assign");e.exports=function(e){var t=i({hitType:"pageview"},e.fields||{});r("send",t)}}},"google-universal-analytics/src/lib/helpers/ga.js":{script:function(e,t,n,r){"use strict";var i=n("@adobe/reactor-window"),o=n("./loadLibrary"),a=n("./createTracker"),s=r.getExtensionSettings(),c=function(){var e=function(){e.q.push(arguments)};return e.q=[],e.l=1*new Date,e},u=function(e){return null==e?e:Array.isArray(e)?e.map(u):"object"==typeof e?(Object.keys(e).forEach((function(t){e[t]=u(e[t])})),e):e.toLowerCase?e.toLowerCase():e},l=function(e){return"set"===e[0]?e.map((function(e,t){return t<1?e:u(e)})):"send"===e[0]?[e[0],u(e[1])]:e},d=function(e,t){var n=["send","set","require","linker:autoLink"],r=e[0];return-1!==n.indexOf(r)&&t&&(e[0]=t+"."+e[0]),e},f=function(e){var t=[];return e.forEach((function(e){t.push(JSON.stringify(e,(function(e,t){return"function"==typeof t?"function":t})))})),"Queue command: ga("+t.join(",")+")."},p=function(){var e=Array.prototype.slice.call(arguments),t=i[i.GoogleAnalyticsObject];s.forceLowerCase&&(e=l(e)),e=d(e,s.trackerName.value),r.logger.info(f(e)),t.apply(i,e)},g=function(){o(s).catch((function(e){r.logger.warn(e)})),a(p,s)};i.GoogleAnalyticsObject=i.GoogleAnalyticsObject||"ga",i[i.GoogleAnalyticsObject]=i[i.GoogleAnalyticsObject]||c(),g(),e.exports=p}},"google-universal-analytics/src/lib/helpers/loadLibrary.js":{script:function(e,t,n){"use strict";var r=n("@adobe/reactor-promise"),i=n("@adobe/reactor-load-script"),o=n("@adobe/reactor-cookie"),a=n("@adobe/reactor-window"),s={MANAGED:"managed",PREINSTALLED:"preinstalled",REMOTE:"remote"},c=function(e){return"true"===o.get(e)};e.exports=function(e){var t="https://www.google-analytics.com/analytics.js";return e.libraryCode.type===s.PREINSTALLED?r.resolve("Not loading anything"):(e.libraryCode.type===s.REMOTE&&(t="https:"===a.location.protocol?e.libraryCode.httpsUrl:e.libraryCode.httpUrl),!e.trackingCookieName||c(e.trackingCookieName)?i(t):r.reject("EU compliance was not acknowledged by the user. The GUA library will not be loaded."))}}},"google-universal-analytics/src/lib/helpers/createTracker.js":{script:function(e,t,n,r){"use strict";var i=n("@adobe/reactor-object-assign"),o=n("@adobe/reactor-window"),a=function(e){var t=e.production;return e[r.buildInfo.environment]&&(t=e[r.buildInfo.environment]),t},s=function(e){return r.propertySettings.domains.filter((function(t){return e.slice(e.length-t.length).toLocaleLowerCase()!==t.toLowerCase()}))},c=function(e,t){t.initCommands&&e("set",t.initCommands)},u=function(e,t){e("create",t)},l=function(e,t){u(e,i({allowLinker:!0},t)),e("require","linker"),e("linker:autoLink",s(o.location.hostname),!1,!0)};e.exports=function(e,t){var n=t.trackerName.value,r=i({name:n,trackingId:a(t.trackingIds)},t.fields);r.name||delete r.name,t.enableCrossDomainTracking?l(e,r):u(e,r),c(e,t),t.customSetup&&t.customSetup.source&&t.customSetup.source.call(o,e,n)}}}}},"adobe-mcid":{displayName:"Experience Cloud ID Service",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EPf0412a5c65e5429ab0e5ed8ba2256510/",settings:{orgId:"F5D11253512D2B170A490D45@AdobeOrg"},modules:{"adobe-mcid/src/lib/actions/setCustomerIds.js":{name:"set-customer-ids",displayName:"Set Customer IDs",script:function(e,t,n,r){"use strict";var i=n("../sharedModules/mcidInstance"),o=r.logger,a=function(e){return"string"==typeof e&&e.length>0},s=function(e){var t={},n=[];return e.forEach((function(e){var r=e.integrationCode,i=e.value;a(r)&&a(i)?(t[r]={id:i},e.hasOwnProperty("authState")&&(t[e.integrationCode].authState=e.authState),e.hasOwnProperty("hashType")&&(t[e.integrationCode].hashType=e.hashType)):n.push(e)})),n.length&&o.warn("Rejected these customer ids: "+JSON.stringify(n)),t};e.exports=function(e){if(i){var t=s(e.customerIds);i.setCustomerIDs(t),o.info("Set Customer IDs: "+JSON.stringify(t))}else o.warn("MCID instance cannot be found. Cannot set Customer IDs.")}}},"adobe-mcid/src/lib/sharedModules/mcidInstance.js":{script:function(e,t,n,r){"use strict";var i=n("@adobe/reactor-document"),o=n("../codeLibrary/VisitorAPI"),a=n("../../view/utils/timeUnits"),s=function(e){return e.reduce((function(e,t){var n=/^(true|false)$/i.test(t.value)?JSON.parse(t.value):t.value;return e[t.name]=n,e}),{})},c=function(e){var t=r.getExtensionSettings();if("string"!=typeof t.orgId)throw new TypeError("Org ID is not a string.");var n=s(t.variables||[]),i=t.doesOptInApply;i&&("boolean"==typeof i?n.doesOptInApply=i:t.optInCallback&&(n.doesOptInApply=t.optInCallback));var o=t.isOptInStorageEnabled;o&&(n.isOptInStorageEnabled=o);var c=t.optInCookieDomain;c&&(n.optInCookieDomain=c);var u=t.optInStorageExpiry;if(u){var l=t.timeUnit;if(l&&a[l]){var d=u*a[l];n.optInStorageExpiry=d}}else!0===o&&(n.optInStorageExpiry=33696e3);var f=t.previousPermissions;f&&(n.previousPermissions=f);var p=t.preOptInApprovals;if(p)n.preOptInApprovals=p;else{var g=t.preOptInApprovalInput;g&&(n.preOptInApprovals=g)}var m=t.isIabContext;m&&(n.isIabContext=m);var v=e.getInstance(t.orgId,n);return r.logger.info('Created instance using orgId: "'+t.orgId+'"'),r.logger.info("Set variables: "+JSON.stringify(n)),v.getMarketingCloudVisitorID((function(e){r.logger.info("Obtained Marketing Cloud Visitor Id: "+e)}),!0),v},u=function(e){return(r.getExtensionSettings().pathExclusions||[]).some((function(t){return t.valueIsRegex?new RegExp(t.value,"i").test(e):t.value===e}))},l=null;_satellite.getVisitorId=function(){return l},u(i.location.pathname)?r.logger.warn("MCID library not loaded. One of the path exclusions matches the current path."):l=c(o),e.exports=l},name:"mcid-instance",shared:!0},"adobe-mcid/src/lib/codeLibrary/VisitorAPI.js":{script:function(e){e.exports=(function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(){return{callbacks:{},add:function(e,t){this.callbacks[e]=this.callbacks[e]||[];var n=this.callbacks[e].push(t)-1,r=this;return function(){r.callbacks[e].splice(n,1)}},execute:function(e,t){if(this.callbacks[e]){t=(t=void 0===t?[]:t)instanceof Array?t:[t];try{for(;this.callbacks[e].length;){var n=this.callbacks[e].shift();"function"==typeof n?n.apply(null,t):n instanceof Array&&n[1].apply(n[0],t)}delete this.callbacks[e]}catch(e){}}},executeAll:function(e,t){(t||e&&!A.isObjectEmpty(e))&&Object.keys(this.callbacks).forEach((function(t){var n=void 0!==e[t]?e[t]:"";this.execute(t,n)}),this)},hasCallbacks:function(){return Boolean(Object.keys(this.callbacks).length)}}}function r(e,t,n){var r=null==e?void 0:e[t];return void 0===r?n:r}function i(e){for(var t=/^\d+$/,n=0,r=e.length;ni)return 1;if(i>r)return-1}return 0}function s(e,t){if(e===t)return 0;var n=e.toString().split("."),r=t.toString().split(".");return i(n.concat(r))?(o(n,r),a(n,r)):NaN}function c(e){return e===Object(e)&&0===Object.keys(e).length}function u(e){return"function"==typeof e||e instanceof Array&&e.length}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};this.log=le("log",e,t),this.warn=le("warn",e,t),this.error=le("error",e,t)}function d(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).cookieName,t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).cookies;if(!e||!t)return{get:xe,set:xe,remove:xe};var n={remove:function(){t.remove(e)},get:function(){var n=t.get(e),r={};try{r=JSON.parse(n)}catch(n){r={}}return r},set:function(r,i){i=i||{};var o=n.get(),a=Object.assign(o,r);t.set(e,JSON.stringify(a),{domain:i.optInCookieDomain||"",cookieLifetime:i.optInStorageExpiry||3419e4,expires:!0})}};return n}function f(e){this.name=this.constructor.name,this.message=e,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}function p(){function e(e,t){var n=me(e);return n.length?n.every((function(e){return!!t[e]})):ve(t)}function t(){D(S),x(te.COMPLETE),v(m.status,m.permissions),s&&g.set(m.permissions,{optInCookieDomain:c,optInStorageExpiry:u}),h.execute(Pe)}function n(e){return function(n,r){if(!he(n))throw new Error("[OptIn] Invalid category(-ies). Please use the `OptIn.Categories` enum.");return x(te.CHANGED),Object.assign(S,ye(me(n),e)),r||t(),m}}var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=r.doesOptInApply,o=r.previousPermissions,a=r.preOptInApprovals,s=r.isOptInStorageEnabled,c=r.optInCookieDomain,u=r.optInStorageExpiry,l=r.isIabContext,f=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).cookies,p=De(o);Ee(p,"Invalid `previousPermissions`!"),Ee(a,"Invalid `preOptInApprovals`!");var g=d({cookieName:"adobeujs-optin"},{cookies:f}),m=this,v=ee(m),h=se(),y=_e(p),b=_e(a),w=s?g.get():{},_={},C=function(e,t){return Ce(e)||t&&Ce(t)?te.COMPLETE:te.PENDING}(y,w),k=function(e,t,n){var r=ye(ae,!i);return i?Object.assign({},r,e,t,n):r}(b,y,w),S=be(k),x=function(e){return C=e},D=function(e){return k=e};m.deny=n(!1),m.approve=n(!0),m.denyAll=m.deny.bind(m,ae),m.approveAll=m.approve.bind(m,ae),m.isApproved=function(t){return e(t,m.permissions)},m.isPreApproved=function(t){return e(t,b)},m.fetchPermissions=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t?m.on(te.COMPLETE,e):xe;return!i||i&&m.isComplete||a?e(m.permissions):t||h.add(Pe,(function(){return e(m.permissions)})),n},m.complete=function(){m.status===te.CHANGED&&t()},m.registerPlugin=function(e){if(!e||!e.name||"function"!=typeof e.onRegister)throw new Error(Oe);_[e.name]||(_[e.name]=e,e.onRegister.call(e,m))},m.execute=Ae(_),m.memoizeContent=function(e){Se(e)&&g.set(e,{optInCookieDomain:c,optInStorageExpiry:u})},m.getMemoizedContent=function(e){var t=g.get();if(t)return t[e]},Object.defineProperties(m,{permissions:{get:function(){return k}},status:{get:function(){return C}},Categories:{get:function(){return ne}},doesOptInApply:{get:function(){return!!i}},isPending:{get:function(){return m.status===te.PENDING}},isComplete:{get:function(){return m.status===te.COMPLETE}},__plugins:{get:function(){return Object.keys(_)}},isIabContext:{get:function(){return l}}})}function g(e,t){function n(){i=null,e.call(e,new f("The call took longer than you wanted!"))}function r(){i&&(clearTimeout(i),e.apply(e,arguments))}if(void 0===t)return e;var i=setTimeout(n,t);return r}function m(){if(window.__tcfapi)return window.__tcfapi;var e=window;if(e!==window.top){for(var t;!t;){e=e.parent;try{e.frames.__tcfapiLocator&&(t=e)}catch(e){}if(e===window.top)break}if(t){var n={};return window.__tcfapi=function(e,r,i,o){var a=Math.random()+"",s={__tcfapiCall:{command:e,parameter:o,version:r,callId:a}};n[a]=i,t.postMessage(s,"*")},window.addEventListener("message",(function(e){var t=e.data;if("string"==typeof t)try{t=JSON.parse(e.data)}catch(e){}if(t.__tcfapiReturn){var r=t.__tcfapiReturn;"function"==typeof n[r.callId]&&(n[r.callId](r.returnValue,r.success),delete n[r.callId])}}),!1),window.__tcfapi}pe.error("__tcfapi not found")}else pe.error("__tcfapi not found")}function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=!0===e.vendor.consents[t],i=n.every((function(t){return!0===e.purpose.consents[t]}));return r&&i}function h(){var e=this;e.name="iabPlugin",e.version="0.0.2";var t,n=se(),r={transparencyAndConsentData:null},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r[e]=t};e.fetchConsentData=function(e){var t=g(e.callback,e.timeout);o({callback:t})},e.isApproved=function(e){var t=e.callback,n=e.category,i=e.timeout;if(r.transparencyAndConsentData)return t(null,v(r.transparencyAndConsentData,re[n],ie[n]));var a=g((function(e,r){t(e,v(r,re[n],ie[n]))}),i);o({category:n,callback:a})},e.onRegister=function(n){t=n;var r=Object.keys(re),i=function(e,t){!e&&t&&(r.forEach((function(e){var r=v(t,re[e],ie[e]);n[r?"approve":"deny"](e,!0)})),n.complete())};e.fetchConsentData({callback:i})};var o=function(e){var o=e.callback;if(r.transparencyAndConsentData)return o(null,r.transparencyAndConsentData);n.add("FETCH_CONSENT_DATA",o),a((function(e,o){if(o){var a=be(e),s=t.getMemoizedContent("iabConsentHash"),c=fe(a.tcString).toString(32);a.consentString=e.tcString,a.hasConsentChangedSinceLastCmpPull=s!==c,i("transparencyAndConsentData",a),t.memoizeContent({iabConsentHash:c})}n.execute("FETCH_CONSENT_DATA",[null,r.transparencyAndConsentData])}))},a=function(e){var t=Te(re),n=m();"function"==typeof n&&n("getTCData",2,e,t)}}var y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};Object.assign=Object.assign||function(e){for(var t,n,r=1;r=0||t.indexOf("Trident/")>=0&&t.indexOf("Windows NT 6")>=0};n.getIeVersion=function(){return document.documentMode?document.documentMode:r()?7:null},n.encodeAndBuildRequest=function(e,t){return e.map(encodeURIComponent).join(t)},n.isObject=function(t){return null!==t&&"object"===e(t)&&!1===Array.isArray(t)},n.defineGlobalNamespace=function(){return window.adobe=n.isObject(window.adobe)?window.adobe:{},window.adobe},n.pluck=function(e,t){return t.reduce((function(t,n){return e[n]&&(t[n]=e[n]),t}),Object.create(null))},n.parseOptOut=function(e,t,n){t||(t=n,e.d_optout&&e.d_optout instanceof Array&&(t=e.d_optout.join(",")));var r=parseInt(e.d_ottl,10);return isNaN(r)&&(r=7200),{optOut:t,d_ottl:r}},n.normalizeBoolean=function(e){var t=e;return"true"===e?t=!0:"false"===e&&(t=!1),t}})),P=(A.isObjectEmpty,A.isValueEmpty,A.getIeVersion,A.encodeAndBuildRequest,A.isObject,A.defineGlobalNamespace,A.pluck,A.parseOptOut,A.normalizeBoolean,n),O=_.MESSAGES,j={0:"prefix",1:"orgID",2:"state"},M=function(e,t){this.parse=function(e){try{var t={};return e.data.split("|").forEach((function(e,n){void 0!==e&&(t[j[n]]=2!==n?e:JSON.parse(e))})),t}catch(e){}},this.isInvalid=function(n){var r=this.parse(n);if(!r||Object.keys(r).length<2)return!0;var i=e!==r.orgID,o=!t||n.origin!==t,a=-1===Object.keys(O).indexOf(r.prefix);return i||o||a},this.send=function(n,r,i){var o=r+"|"+e;i&&i===Object(i)&&(o+="|"+JSON.stringify(i));try{n.postMessage(o,t)}catch(e){}}},N=_.MESSAGES,L=function(e,t,n,r){function i(e){Object.assign(p,e)}function o(e){Object.assign(p.state,e),Object.assign(p.state.ALLFIELDS,e),p.callbackRegistry.executeAll(p.state)}function a(e){if(!v.isInvalid(e)){m=!1;var t=v.parse(e);p.setStateAndPublish(t.state)}}function s(e){!m&&g&&(m=!0,v.send(r,e))}function c(){i(new k(n._generateID)),p.getMarketingCloudVisitorID(),p.callbackRegistry.executeAll(p.state,!0),y.removeEventListener("message",u)}function u(e){if(!v.isInvalid(e)){var t=v.parse(e);m=!1,y.clearTimeout(p._handshakeTimeout),y.removeEventListener("message",u),i(new E(p)),y.addEventListener("message",a),p.setStateAndPublish(t.state),p.callbackRegistry.hasCallbacks()&&s(N.GETSTATE)}}function l(){g&&postMessage?(y.addEventListener("message",u),s(N.HANDSHAKE),p._handshakeTimeout=setTimeout(c,250)):c()}function d(){y.s_c_in||(y.s_c_il=[],y.s_c_in=0),p._c="Visitor",p._il=y.s_c_il,p._in=y.s_c_in,p._il[p._in]=p,y.s_c_in++}function f(){function e(e){0!==e.indexOf("_")&&"function"==typeof n[e]&&(p[e]=function(){})}Object.keys(n).forEach(e),p.getSupplementalDataID=n.getSupplementalDataID,p.isAllowed=function(){return!0}}var p=this,g=t.whitelistParentDomain;p.state={ALLFIELDS:{}},p.version=n.version,p.marketingCloudOrgID=e, p.cookieDomain=n.cookieDomain||"",p._instanceType="child";var m=!1,v=new M(e,g);p.callbackRegistry=P(),p.init=function(){d(),f(),i(new T(p)),l()},p.findField=function(e,t){if(void 0!==p.state[e])return t(p.state[e]),p.state[e]},p.messageParent=s,p.setStateAndPublish=o},R=_.MESSAGES,V=_.ALL_APIS,F=_.ASYNC_API_MAP,U=_.FIELDGROUP_TO_FIELD,B=function(e,t){function n(){var t={};return Object.keys(V).forEach((function(n){var r=V[n],i=e[r]();A.isValueEmpty(i)||(t[n]=i)})),t}function r(){var t=[];return e._loading&&Object.keys(e._loading).forEach((function(n){if(e._loading[n]){var r=U[n];t.push(r)}})),t.length?t:null}function i(t){return function n(){var i=r();if(i){var o=F[i[0]];e[o](n,!0)}else t()}}function o(e,r){var i=n();t.send(e,r,i)}function a(e){c(e),o(e,R.HANDSHAKE)}function s(e){i((function(){o(e,R.PARENTSTATE)}))()}function c(n){function r(r){i.call(e,r),t.send(n,R.PARENTSTATE,{CUSTOMERIDS:e.getCustomerIDs()})}var i=e.setCustomerIDs;e.setCustomerIDs=r}return function(e){t.isInvalid(e)||(t.parse(e).prefix===R.HANDSHAKE?a:s)(e.source)}},H=function(e,t){function n(e){return function(n){r[e]=n,++i===o&&t(r)}}var r={},i=0,o=Object.keys(e).length;Object.keys(e).forEach((function(t){var r=e[t];if(r.fn){var i=r.args||[];i.unshift(n(t)),r.fn.apply(r.context||null,i)}}))},z={get:function(e){e=encodeURIComponent(e);var t=(";"+document.cookie).split(" ").join(";"),n=t.indexOf(";"+e+"="),r=n<0?n:t.indexOf(";",n+1);return n<0?"":decodeURIComponent(t.substring(n+2+e.length,r<0?t.length:r))},set:function(e,t,n){var i=r(n,"cookieLifetime"),o=r(n,"expires"),a=r(n,"domain"),s=r(n,"secure"),c=r(n,"sameSite"),u=s?"Secure":"",l=c?"SameSite="+c+";":"";if(o&&"SESSION"!==i&&"NONE"!==i){var d=""!==t?parseInt(i||0,10):-60;if(d)(o=new Date).setTime(o.getTime()+1e3*d);else if(1===o){var f=(o=new Date).getYear();o.setYear(f+2+(f<1900?1900:0))}}else o=0;return e&&"NONE"!==i?(document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+"; path=/;"+(o?" expires="+o.toGMTString()+";":"")+(a?" domain="+a+";":"")+l+u,this.get(e)===t):0},remove:function(e,t){var n=r(t,"domain");n=n?" domain="+n+";":"";var i=r(t,"secure"),o=r(t,"sameSite"),a=i?"Secure":"",s=o?"SameSite="+o+";":"";document.cookie=encodeURIComponent(e)+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"+n+s+a}},q=function(e,t){!e&&y.location&&(e=y.location.hostname);var n,r=e.split("."),i=t||{};for(n=r.length-2;n>=0;n--)if(i.domain=r.slice(n).join("."),z.set("test","cookie",i))return z.remove("test",i),i.domain;return""},G={compare:s,isLessThan:function(e,t){return s(e,t)<0},areVersionsDifferent:function(e,t){return 0!==s(e,t)},isGreaterThan:function(e,t){return s(e,t)>0},isEqual:function(e,t){return 0===s(e,t)}},W=!!y.postMessage,J={postMessage:function(e,t,n){var r=1;t&&(W?n.postMessage(e,t.replace(/([^:]+:\/\/[^\/]+).*/,"$1")):t&&(n.location=t.replace(/#.*$/,"")+"#"+ +new Date+r+++"&"+e))},receiveMessage:function(e,t){var n;try{W&&(e&&(n=function(n){if("string"==typeof t&&n.origin!==t||"[object Function]"===Object.prototype.toString.call(t)&&!1===t(n.origin))return!1;e(n)}),y.addEventListener?y[e?"addEventListener":"removeEventListener"]("message",n):y[e?"attachEvent":"detachEvent"]("onmessage",n))}catch(e){}}},Y=function(e){var t,n,r="0123456789",i="",o="",a=8,s=10,c=10;if(1==e){for(r+="ABCDEF",t=0;16>t;t++)n=Math.floor(Math.random()*a),i+=r.substring(n,n+1),n=Math.floor(Math.random()*a),o+=r.substring(n,n+1),a=16;return i+"-"+o}for(t=0;19>t;t++)n=Math.floor(Math.random()*s),i+=r.substring(n,n+1),0===t&&9==n?s=3:((1==t||2==t)&&10!=s&&2>n||2n||20&&(t=!1)),{corsType:e,corsCookiesEnabled:t}}(),getCORSInstance:function(){return"none"===this.corsMetadata.corsType?null:new y[this.corsMetadata.corsType]},fireCORS:function(t,n){function r(e){var n;try{if((n=JSON.parse(e))!==Object(n))return void i.handleCORSError(t,null,"Response is not JSON")}catch(e){return void i.handleCORSError(t,e,"Error parsing response as JSON")}try{for(var r=t.callback,o=y,a=0;a=o&&(e.splice(i,1),i--);return{dataPresent:a,dataValid:s}},manageSyncsSize:function(e){if(e.join("*").length>this.MAX_SYNCS_LENGTH)for(e.sort((function(e,t){return parseInt(e.split("-")[1],10)-parseInt(t.split("-")[1],10)}));e.join("*").length>this.MAX_SYNCS_LENGTH;)e.shift()},fireSync:function(t,n,r,i,o,a){var s=this;if(t){if("img"===n.tag){var c,u,l,d,f=n.url,p=e.loadSSL?"https:":"http:";for(c=0,u=f.length;cX.DAYS_BETWEEN_SYNC_ID_CALLS},attachIframeASAP:function(){function e(){t.startedAttachingIframe||(n.body?t.attachIframe():setTimeout(e,30))}var t=this;e()}}},K={audienceManagerServer:{},audienceManagerServerSecure:{},cookieDomain:{},cookieLifetime:{},cookieName:{},doesOptInApply:{type:"boolean"},disableThirdPartyCalls:{type:"boolean"},discardTrackingServerECID:{type:"boolean"},idSyncAfterIDCallResult:{},idSyncAttachIframeOnWindowLoad:{type:"boolean"},idSyncContainerID:{},idSyncDisable3rdPartySyncing:{type:"boolean"},disableThirdPartyCookies:{type:"boolean"},idSyncDisableSyncs:{type:"boolean"},disableIdSyncs:{type:"boolean"},idSyncIDCallResult:{},idSyncSSLUseAkamai:{type:"boolean"},isCoopSafe:{type:"boolean"},isIabContext:{type:"boolean"},isOptInStorageEnabled:{type:"boolean"},loadSSL:{type:"boolean"},loadTimeout:{},marketingCloudServer:{},marketingCloudServerSecure:{},optInCookieDomain:{},optInStorageExpiry:{},overwriteCrossDomainMCIDAndAID:{type:"boolean"},preOptInApprovals:{},previousPermissions:{},resetBeforeVersion:{},sdidParamExpiry:{},serverState:{},sessionCookieName:{},secureCookie:{type:"boolean"},sameSiteCookie:{},takeTimeoutMetrics:{},trackingServer:{},trackingServerSecure:{},useLocalStorage:{type:"boolean"},whitelistIframeDomains:{},whitelistParentDomain:{}},$={getConfigNames:function(){return Object.keys(K)},getConfigs:function(){return K},normalizeConfig:function(e,t){return K[e]&&"boolean"===K[e].type?"function"!=typeof t?t:t():t}},ee=function(e){var t={};return e.on=function(e,n,r){if(!n||"function"!=typeof n)throw new Error("[ON] Callback should be a function.");t.hasOwnProperty(e)||(t[e]=[]);var i=t[e].push({callback:n,context:r})-1;return function(){t[e].splice(i,1),t[e].length||delete t[e]}},e.off=function(e,n){t.hasOwnProperty(e)&&(t[e]=t[e].filter((function(e){if(e.callback!==n)return e})))},e.publish=function(e){if(t.hasOwnProperty(e)){var n=[].slice.call(arguments,1);t[e].slice(0).forEach((function(e){e.callback.apply(e.context,n)}))}},e.publish},te={PENDING:"pending",CHANGED:"changed",COMPLETE:"complete"},ne={AAM:"aam",ADCLOUD:"adcloud",ANALYTICS:"aa",CAMPAIGN:"campaign",ECID:"ecid",LIVEFYRE:"livefyre",TARGET:"target",MEDIA_ANALYTICS:"mediaaa"},re=(t(b={},ne.AAM,565),t(b,ne.ECID,565),b),ie=(t(w={},ne.AAM,[1,10]),t(w,ne.ECID,[1,10]),w),oe=["videoaa","iabConsentHash"],ae=function(e){return Object.keys(e).map((function(t){return e[t]}))}(ne),se=function(){var e={};return e.callbacks=Object.create(null),e.add=function(t,n){if(!u(n))throw new Error("[callbackRegistryFactory] Make sure callback is a function or an array of functions.");e.callbacks[t]=e.callbacks[t]||[];var r=e.callbacks[t].push(n)-1;return function(){e.callbacks[t].splice(r,1)}},e.execute=function(t,n){if(e.callbacks[t]){n=(n=void 0===n?[]:n)instanceof Array?n:[n];try{for(;e.callbacks[t].length;){var r=e.callbacks[t].shift();"function"==typeof r?r.apply(null,n):r instanceof Array&&r[1].apply(r[0],n)}delete e.callbacks[t]}catch(e){}}},e.executeAll=function(t,n){(n||t&&!c(t))&&Object.keys(e.callbacks).forEach((function(n){var r=void 0!==t[n]?t[n]:"";e.execute(n,r)}),e)},e.hasCallbacks=function(){return Boolean(Object.keys(e.callbacks).length)},e},ce=function(){},ue=function(e){var t=window.console;return!!t&&"function"==typeof t[e]},le=function(e,t,n){return n()?function(){if(ue(e)){for(var n=arguments.length,r=new Array(n),i=0;i>>1:n>>>1;e.push(n)}return function(t,n){t=unescape(encodeURIComponent(t)),n||(n=0),n^=-1;for(var r=0;r>>8^e[i]}return(n^=-1)>>>0}}(),pe=new de("[ADOBE OPT-IN]"),ge=function(t,n){return e(t)===n},me=function(e,t){return e instanceof Array?e:ge(e,"string")?[e]:t||[]},ve=function(e){var t=Object.keys(e);return!!t.length&&t.every((function(t){return!0===e[t]}))},he=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(!e||we(e))&&me(e).every((function(e){return ae.indexOf(e)>-1||t&&oe.indexOf(e)>-1}))},ye=function(e,t){return e.reduce((function(e,n){return e[n]=t,e}),{})},be=function(e){return JSON.parse(JSON.stringify(e))},we=function(e){return"[object Array]"===Object.prototype.toString.call(e)&&!e.length},_e=function(e){if(Se(e))return e;try{return JSON.parse(e)}catch(e){return{}}},Ce=function(e){return void 0===e||(Se(e)?he(Object.keys(e),!0):ke(e))},ke=function(e){try{var t=JSON.parse(e);return!!e&&ge(e,"string")&&he(Object.keys(t),!0)}catch(e){return!1}},Se=function(e){return null!==e&&ge(e,"object")&&!1===Array.isArray(e)},xe=function(){},De=function(e){return ge(e,"function")?e():e},Ee=function(e,t){Ce(e)||pe.error("".concat(t))},Ie=function(e){return Object.keys(e).map((function(t){return e[t]}))},Te=function(e){return Ie(e).filter((function(e,t,n){return n.indexOf(e)===t}))},Ae=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.command,r=t.params,i=void 0===r?{}:r,o=t.callback,a=void 0===o?xe:o;if(!n||-1===n.indexOf("."))throw new Error("[OptIn.execute] Please provide a valid command.");try{var s=n.split("."),c=e[s[0]],u=s[1];if(!c||"function"!=typeof c[u])throw new Error("Make sure the plugin and API name exist.");var l=Object.assign(i,{callback:a});c[u].call(c,l)}catch(e){pe.error("[execute] Something went wrong: "+e.message)}}};f.prototype=Object.create(Error.prototype),f.prototype.constructor=f;var Pe="fetchPermissions",Oe="[OptIn#registerPlugin] Plugin is invalid.";p.Categories=ne,p.TimeoutError=f;var je=Object.freeze({OptIn:p,IabPlugin:h}),Me=function(e,t){e.publishDestinations=function(n){var r=arguments[1],i=arguments[2];try{i="function"==typeof i?i:n.callback}catch(e){i=function(){}}var o=t;if(o.readyToAttachIframePreliminary()){if("string"==typeof n){if(!n.length)return void i({error:"subdomain is not a populated string."});if(!(r instanceof Array&&r.length))return void i({error:"messages is not a populated array."});var a=!1;if(r.forEach((function(e){"string"==typeof e&&e.length&&(o.addMessage(e),a=!0)})),!a)return void i({error:"None of the messages are populated strings."})}else{if(!A.isObject(n))return void i({error:"Invalid parameters passed."});var s=n;if("string"!=typeof(n=s.subdomain)||!n.length)return void i({error:"config.subdomain is not a populated string."});var c=s.urlDestinations;if(!(c instanceof Array&&c.length))return void i({error:"config.urlDestinations is not a populated array."});var u=[];c.forEach((function(e){A.isObject(e)&&(e.hideReferrer?e.message&&o.addMessage(e.message):u.push(e))})),function e(){u.length&&setTimeout((function(){var t=new Image,n=u.shift();t.src=n.url,o.onPageDestinationsFired.push(n),e()}),100)}()}o.iframe?(i({message:"The destination publishing iframe is already attached and loaded."}),o.requestToProcess()):!e.subdomain&&e._getField("MCMID")?(o.subdomain=n,o.doAttachIframe=!0,o.url=o.getUrl(),o.readyToAttachIframe()?(o.iframeLoadedCallbacks.push((function(e){i({message:"Attempted to attach and load the destination publishing iframe through this API call. Result: "+(e.message||"no result")})})),o.attachIframe()):i({error:"Encountered a problem in attempting to attach and load the destination publishing iframe through this API call."})):o.iframeLoadedCallbacks.push((function(e){i({message:"Attempted to attach and load the destination publishing iframe through normal Visitor API processing. Result: "+(e.message||"no result")})}))}else i({error:"The destination publishing iframe is disabled in the Visitor library."})}},Ne=function e(t){function n(e,t){return e>>>t|e<<32-t}for(var r,i,o=Math.pow,a=o(2,32),s="",c=[],u=8*t.length,l=e.h=e.h||[],d=e.k=e.k||[],f=d.length,p={},g=2;f<64;g++)if(!p[g]){for(r=0;r<313;r+=g)p[r]=g;l[f]=o(g,.5)*a|0,d[f++]=o(g,1/3)*a|0}for(t+="\x80";t.length%64-56;)t+="\0";for(r=0;r>8)return;c[r>>2]|=i<<(3-r)%4*8}for(c[c.length]=u/a|0,c[c.length]=u,i=0;i>>3)+m[r-7]+(n(y,17)^n(y,19)^y>>>10)|0);(l=[_+((n(b,2)^n(b,13)^n(b,22))+(b&l[1]^b&l[2]^l[1]&l[2]))|0].concat(l))[4]=l[4]+_|0}for(r=0;r<8;r++)l[r]=l[r]+v[r]|0}for(r=0;r<8;r++)for(i=3;i+1;i--){var C=l[r]>>8*i&255;s+=(C<16?0:"")+C.toString(16)}return s},Le=function(e,t){return"SHA-256"!==t&&"SHA256"!==t&&"sha256"!==t&&"sha-256"!==t||(e=Ne(e)),e},Re=function(e){return String(e).trim().toLowerCase()},Ve=je.OptIn;A.defineGlobalNamespace(),window.adobe.OptInCategories=Ve.Categories;var Fe=function(t,n,r){function i(){b._customerIDsHashChanged=!1}function o(e){var t=e;return function(e){var n=e||D.location.href;try{var r=b._extractParamFromUri(n,t);if(r)return te.parsePipeDelimetedKeyValues(r)}catch(e){}}}function a(e){function t(e,t,n){e&&e.match(X.VALID_VISITOR_ID_REGEX)&&(n===O&&(x=!0),t(e))}t(e[O],b.setMarketingCloudVisitorID,O),b._setFieldExpire(V,-1),t(e[L],b.setAnalyticsVisitorID)}function s(e){e=e||{},b._supplementalDataIDCurrent=e.supplementalDataIDCurrent||"",b._supplementalDataIDCurrentConsumed=e.supplementalDataIDCurrentConsumed||{},b._supplementalDataIDLast=e.supplementalDataIDLast||"",b._supplementalDataIDLastConsumed=e.supplementalDataIDLastConsumed||{}}function c(e){function t(e,t,n){return(n=n?n+="|":n)+(e+"=")+encodeURIComponent(t)}function n(e,n){var r=n[0],i=n[1];return null!=i&&i!==F&&(e=t(r,i,e)),e}return function(e){return(e=e?e+="|":e)+"TS="+te.getTimestampInSeconds()}(e.reduce(n,""))}function u(e){var t=e.minutesToLive,n="";return(b.idSyncDisableSyncs||b.disableIdSyncs)&&(n=n||"Error: id syncs have been disabled"),"string"==typeof e.dpid&&e.dpid.length||(n=n||"Error: config.dpid is empty"),"string"==typeof e.url&&e.url.length||(n=n||"Error: config.url is empty"),void 0===t?t=20160:(t=parseInt(t,10),(isNaN(t)||t<=0)&&(n=n||"Error: config.minutesToLive needs to be a positive number")),{error:n,ttl:t}}function l(){return!(!b.configs.doesOptInApply||w.optIn.isComplete&&d())}function d(){return b.configs.doesOptInApply&&b.configs.isIabContext?w.optIn.isApproved(w.optIn.Categories.ECID)&&S:w.optIn.isApproved(w.optIn.Categories.ECID)}function f(){[["getMarketingCloudVisitorID"],["setCustomerIDs",void 0],["syncIdentity",void 0],["getAnalyticsVisitorID"],["getAudienceManagerLocationHint"],["getLocationHint"],["getAudienceManagerBlob"]].forEach((function(e){var t=e[0],n=2===e.length?e[1]:"",r=b[t];b[t]=function(e){return d()&&b.isAllowed()?r.apply(b,arguments):("function"==typeof e&&b._callCallback(e,[n]),n)}}))}function p(){var e=b._getAudienceManagerURLData(),t=e.url;return b._loadData(P,t,null,e)}function g(e,t){if(S=!0,e)throw new Error("[IAB plugin] : "+e);t&&t.gdprApplies&&(C=t.consentString,k=t.hasConsentChangedSinceLastCmpPull?1:0),p(),h()}function m(e,t){if(S=!0,e)throw new Error("[IAB plugin] : "+e);t.gdprApplies&&(C=t.consentString,k=t.hasConsentChangedSinceLastCmpPull?1:0),b.init(),h()}function v(){w.optIn.isComplete&&(w.optIn.isApproved(w.optIn.Categories.ECID)?b.configs.isIabContext?w.optIn.execute({command:"iabPlugin.fetchConsentData",callback:m}):(b.init(),h()):b.configs.isIabContext?w.optIn.execute({command:"iabPlugin.fetchConsentData",callback:g}):(f(),h()))}function h(){w.optIn.off("complete",v)}if(!r||r.split("").reverse().join("")!==t)throw new Error("Please use `Visitor.getInstance` to instantiate Visitor.");var b=this,w=window.adobe,C="",k=0,S=!1,x=!1;b.version="5.2.0";var D=y,E=D.Visitor;E.version=b.version,E.AuthState=_.AUTH_STATE,E.OptOut=_.OPT_OUT,D.s_c_in||(D.s_c_il=[],D.s_c_in=0),b._c="Visitor",b._il=D.s_c_il,b._in=D.s_c_in,b._il[b._in]=b,D.s_c_in++,b._instanceType="regular",b._log={requests:[]},b.marketingCloudOrgID=t,b.cookieName="AMCV_"+t,b.sessionCookieName="AMCVS_"+t;var I={};n&&n.secureCookie&&n.sameSiteCookie&&(I={sameSite:n.sameSiteCookie,secure:n.secureCookie}),b.cookieDomain=b.useLocalStorage?"":q(null,I),b.loadSSL=!0,b.loadTimeout=3e4,b.CORSErrors=[],b.marketingCloudServer=b.audienceManagerServer="dpm.demdex.net",b.sdidParamExpiry=30;var T=null,P="MC",O="MCMID",j="MCIDTS",N="A",L="MCAID",R="AAM",V="MCAAMB",F="NONE",U=function(e){return!Object.prototype[e]},W=Q(b);b.FIELDS=_.FIELDS,b.cookieRead=function(e){return b.useLocalStorage?e===b.sessionCookieName?sessionStorage.getItem(e):localStorage.getItem(e):z.get(e)},b.cookieWrite=function(e,t,n){var r=""+t;if(b.useLocalStorage)return e===b.sessionCookieName?sessionStorage.setItem(e,r):localStorage.setItem(e,r);var i=b.cookieLifetime?(""+b.cookieLifetime).toUpperCase():"",o={expires:n,domain:b.cookieDomain,cookieLifetime:i};return b.configs&&b.configs.secureCookie&&"https:"===location.protocol&&(o.secure=!0),b.configs&&b.configs.sameSiteCookie&&"https:"===location.protocol&&(o.sameSite=_.SAME_SITE_VALUES[b.configs.sameSiteCookie.toUpperCase()]||"Lax"),z.set(e,r,o)},b.removeCookie=function(e){if(b.useLocalStorage)return e===b.sessionCookieName?sessionStorage.removeItem(e):localStorage.removeItem(e);var t={domain:b.cookieDomain};return b.configs&&b.configs.secureCookie&&"https:"===location.protocol&&(t.secure=!0),b.configs&&b.configs.sameSiteCookie&&"https:"===location.protocol&&(t.sameSite=_.SAME_SITE_VALUES[b.configs.sameSiteCookie.toUpperCase()]||"Lax"),z.remove(e,t)},b.resetState=function(e){e?b._mergeServerState(e):s()},b._isAllowedDone=!1,b._isAllowedFlag=!1,b.isAllowed=function(){return b._isAllowedDone||(b._isAllowedDone=!0,(b.cookieRead(b.cookieName)||b.cookieWrite(b.cookieName,"T",1))&&(b._isAllowedFlag=!0)),"T"===b.cookieRead(b.cookieName)&&b.removeCookie(b.cookieName),b._isAllowedFlag},b.setMarketingCloudVisitorID=function(e){b._setMarketingCloudFields(e)},b._use1stPartyMarketingCloudServer=!1,b.getMarketingCloudVisitorID=function(e,t){b.marketingCloudServer&&b.marketingCloudServer.indexOf(".demdex.net")<0&&(b._use1stPartyMarketingCloudServer=!0);var n=b._getAudienceManagerURLData("_setMarketingCloudFields"),r=n.url;return b._getRemoteField(O,r,e,t,n)};var K=function(e,t){var n={};b.getMarketingCloudVisitorID((function(){t.forEach((function(e){n[e]=b._getField(e,!0)})),-1!==t.indexOf("MCOPTOUT")?b.isOptedOut((function(t){n.MCOPTOUT=t,e(n)}),null,!0):e(n)}),!0)};b.getVisitorValues=function(e,t){var n={MCMID:{fn:b.getMarketingCloudVisitorID,args:[!0],context:b},MCOPTOUT:{fn:b.isOptedOut,args:[void 0,!0],context:b},MCAID:{fn:b.getAnalyticsVisitorID,args:[!0],context:b},MCAAMLH:{fn:b.getAudienceManagerLocationHint,args:[!0],context:b},MCAAMB:{fn:b.getAudienceManagerBlob,args:[!0],context:b}},r=t&&t.length?A.pluck(n,t):n;t&&-1===t.indexOf("MCAID")?K(e,t):H(r,e)},b._currentCustomerIDs={},b._customerIDsHashChanged=!1,b._newCustomerIDsHash="",b.setCustomerIDs=function(t,n){if(!b.isOptedOut()&&t){if(!A.isObject(t)||A.isObjectEmpty(t))return!1;var r,o,a,s;for(r in b._readVisitor(),t)if(U(r)&&(b._currentCustomerIDs.dataSources=b._currentCustomerIDs.dataSources||{},n=(o=t[r]).hasOwnProperty("hashType")?o.hashType:n,o))if("object"===e(o)){var c={};if(o.id){if(n){if(!(s=Le(Re(o.id),n)))return;o.id=s,c.hashType=n}c.id=o.id}null!=o.authState&&(c.authState=o.authState),b._currentCustomerIDs.dataSources[r]=c}else if(n){if(!(s=Le(Re(o),n)))return;b._currentCustomerIDs.dataSources[r]={id:s,hashType:n}}else b._currentCustomerIDs.dataSources[r]={id:o};var u=b.getCustomerIDs(!0),l=b._getField("MCCIDH"),d="";for(a in l||(l=0),u){var f=u[a];if(!A.isObjectEmpty(f))for(r in f)U(r)&&(d+=(d?"|":"")+r+"|"+((o=f[r]).id?o.id:"")+(o.authState?o.authState:""))}b._newCustomerIDsHash=String(b._hash(d)),b._newCustomerIDsHash!==l&&(b._customerIDsHashChanged=!0,b._mapCustomerIDs(i))}},b.syncIdentity=function(t,n){if(!b.isOptedOut()&&t){if(!A.isObject(t)||A.isObjectEmpty(t))return!1;var r,o,a,s,c;for(r in b._readVisitor(),t)if(U(r)&&(b._currentCustomerIDs.nameSpaces=b._currentCustomerIDs.nameSpaces||{},n=(o=t[r]).hasOwnProperty("hashType")?o.hashType:n,o&&"object"===e(o))){var u={};if(o.id){if(n){if(!(a=Le(Re(o.id),n)))return;o.id=a,u.hashType=n}u.id=o.id}null!=o.authState&&(u.authState=o.authState),o.dataSource&&(b._currentCustomerIDs.dataSources=b._currentCustomerIDs.dataSources||{},s=o.dataSource,b._currentCustomerIDs.dataSources[s]=u),b._currentCustomerIDs.nameSpaces[r]=u}var l=b.getCustomerIDs(!0),d=b._getField("MCCIDH"),f="";for(c in d||(d="0"),l){var p=l[c];if(!A.isObjectEmpty(p))for(r in p)U(r)&&(f+=(f?"|":"")+r+"|"+((o=p[r]).id?o.id:"")+(o.authState?o.authState:""))}b._newCustomerIDsHash=String(b._hash(f)),b._newCustomerIDsHash!==d&&(b._customerIDsHashChanged=!0,b._mapCustomerIDs(i))}},b.getCustomerIDs=function(e){b._readVisitor();var t,n,r={dataSources:{},nameSpaces:{}},i=b._currentCustomerIDs.dataSources;for(t in i)U(t)&&(n=i[t]).id&&(r.dataSources[t]||(r.dataSources[t]={}),r.dataSources[t].id=n.id,null!=n.authState?r.dataSources[t].authState=n.authState:r.dataSources[t].authState=E.AuthState.UNKNOWN,n.hashType&&(r.dataSources[t].hashType=n.hashType));var o=b._currentCustomerIDs.nameSpaces;for(t in o)U(t)&&(n=o[t]).id&&(r.nameSpaces[t]||(r.nameSpaces[t]={}),r.nameSpaces[t].id=n.id,null!=n.authState?r.nameSpaces[t].authState=n.authState:r.nameSpaces[t].authState=E.AuthState.UNKNOWN,n.hashType&&(r.nameSpaces[t].hashType=n.hashType));return e?r:r.dataSources},b.setAnalyticsVisitorID=function(e){b._setAnalyticsFields(e)},b.getAnalyticsVisitorID=function(e,t,n){if(!te.isTrackingServerPopulated()&&!n)return b._callCallback(e,[""]),"";var r="";if(n||(r=b.getMarketingCloudVisitorID((function(){b.getAnalyticsVisitorID(e,!0)}))),r||n){var i=n?b.marketingCloudServer:b.trackingServer,o="";b.loadSSL&&(n?b.marketingCloudServerSecure&&(i=b.marketingCloudServerSecure):b.trackingServerSecure&&(i=b.trackingServerSecure));var a={};if(i){var s="http"+(b.loadSSL?"s":"")+"://"+i+"/id",c="d_visid_ver="+b.version+"&mcorgid="+encodeURIComponent(b.marketingCloudOrgID)+(r?"&mid="+encodeURIComponent(r):"")+(b.idSyncDisable3rdPartySyncing||b.disableThirdPartyCookies?"&d_coppa=true":""),u=["s_c_il",b._in,"_set"+(n?"MarketingCloud":"Analytics")+"Fields"];o=s+"?"+c+"&callback=s_c_il%5B"+b._in+"%5D._set"+(n?"MarketingCloud":"Analytics")+"Fields",a.corsUrl=s+"?"+c,a.callback=u}return a.url=o,b._getRemoteField(n?O:L,o,e,t,a)}return""},b.getAudienceManagerLocationHint=function(e,t){if(b.getMarketingCloudVisitorID((function(){b.getAudienceManagerLocationHint(e,!0)}))){var n=b._getField(L);if(!n&&te.isTrackingServerPopulated()&&(n=b.getAnalyticsVisitorID((function(){b.getAudienceManagerLocationHint(e,!0)}))),n||!te.isTrackingServerPopulated()){var r=b._getAudienceManagerURLData(),i=r.url;return b._getRemoteField("MCAAMLH",i,e,t,r)}}return""},b.getLocationHint=b.getAudienceManagerLocationHint,b.getAudienceManagerBlob=function(e,t){if(b.getMarketingCloudVisitorID((function(){b.getAudienceManagerBlob(e,!0) }))){var n=b._getField(L);if(!n&&te.isTrackingServerPopulated()&&(n=b.getAnalyticsVisitorID((function(){b.getAudienceManagerBlob(e,!0)}))),n||!te.isTrackingServerPopulated()){var r=b._getAudienceManagerURLData(),i=r.url;return b._customerIDsHashChanged&&b._setFieldExpire(V,-1),b._getRemoteField(V,i,e,t,r)}}return""},b._supplementalDataIDCurrent="",b._supplementalDataIDCurrentConsumed={},b._supplementalDataIDLast="",b._supplementalDataIDLastConsumed={},b.getSupplementalDataID=function(e,t){b._supplementalDataIDCurrent||t||(b._supplementalDataIDCurrent=b._generateID(1));var n=b._supplementalDataIDCurrent;return b._supplementalDataIDLast&&!b._supplementalDataIDLastConsumed[e]?(n=b._supplementalDataIDLast,b._supplementalDataIDLastConsumed[e]=!0):n&&(b._supplementalDataIDCurrentConsumed[e]&&(b._supplementalDataIDLast=b._supplementalDataIDCurrent,b._supplementalDataIDLastConsumed=b._supplementalDataIDCurrentConsumed,b._supplementalDataIDCurrent=n=t?"":b._generateID(1),b._supplementalDataIDCurrentConsumed={}),n&&(b._supplementalDataIDCurrentConsumed[e]=!0)),n};var $=!1;b._liberatedOptOut=null,b.getOptOut=function(e,t){var n=b._getAudienceManagerURLData("_setMarketingCloudFields"),r=n.url;if(d())return b._getRemoteField("MCOPTOUT",r,e,t,n);if(b._registerCallback("liberatedOptOut",e),null!==b._liberatedOptOut)return b._callAllCallbacks("liberatedOptOut",[b._liberatedOptOut]),$=!1,b._liberatedOptOut;if($)return null;$=!0;var i="liberatedGetOptOut";return n.corsUrl=n.corsUrl.replace(/\.demdex\.net\/id\?/,".demdex.net/optOutStatus?"),n.callback=[i],y[i]=function(e){if(e===Object(e)){var t,n,r=A.parseOptOut(e,t,F);t=r.optOut,n=1e3*r.d_ottl,b._liberatedOptOut=t,setTimeout((function(){b._liberatedOptOut=null}),n)}b._callAllCallbacks("liberatedOptOut",[t]),$=!1},W.fireCORS(n),null},b.isOptedOut=function(e,t,n){t||(t=E.OptOut.GLOBAL);var r=b.getOptOut((function(n){var r=n===E.OptOut.GLOBAL||n.indexOf(t)>=0;b._callCallback(e,[r])}),n);return r?r===E.OptOut.GLOBAL||r.indexOf(t)>=0:null};var ee={subscribed:!1,callbacks:[]};b.onReceiveEcid=function(e){if(d())return b.getMarketingCloudVisitorID(e,!0);ee.subscribed=!0,e&&"function"==typeof e&&ee.callbacks.push(e)},b._fields=null,b._fieldsExpired=null,b._hash=function(e){var t,n=0;if(e)for(t=0;t0;)b._callCallback(n.shift(),t)}},b._addQuerystringParam=function(e,t,n,r){var i=encodeURIComponent(t)+"="+encodeURIComponent(n),o=te.parseHash(e),a=te.hashlessUrl(e);if(-1===a.indexOf("?"))return a+"?"+i+o;var s=a.split("?"),c=s[0]+"?",u=s[1];return c+te.addQueryParamAtLocation(u,i,r)+o},b._extractParamFromUri=function(e,t){var n=new RegExp("[\\?&#]"+t+"=([^&#]*)").exec(e);if(n&&n.length)return decodeURIComponent(n[1])},b._parseAdobeMcFromUrl=o(X.ADOBE_MC),b._parseAdobeMcSdidFromUrl=o(X.ADOBE_MC_SDID),b._attemptToPopulateSdidFromUrl=function(e){var n=b._parseAdobeMcSdidFromUrl(e),r=1e9;n&&n.TS&&(r=te.getTimestampInSeconds()-n.TS),n&&n.SDID&&n.MCORGID===t&&rX.ADOBE_MC_TTL_IN_MIN||e.MCORGID!==t)return;a(e)}},b._mergeServerState=function(e){if(e)try{if((e=function(e){return te.isObject(e)?e:JSON.parse(e)}(e))[b.marketingCloudOrgID]){var t=e[b.marketingCloudOrgID];!function(e){te.isObject(e)&&b.setCustomerIDs(e)}(t.customerIDs),s(t.sdid)}}catch(e){throw new Error("`serverState` has an invalid format.")}},b._timeout=null,b._loadData=function(e,t,n,r){t=b._addQuerystringParam(t,"d_fieldgroup",e,1),r.url=b._addQuerystringParam(r.url,"d_fieldgroup",e,1),r.corsUrl=b._addQuerystringParam(r.corsUrl,"d_fieldgroup",e,1),ie.fieldGroupObj[e]=!0,r===Object(r)&&r.corsUrl&&"XMLHttpRequest"===W.corsMetadata.corsType&&W.fireCORS(r,n,e)},b._clearTimeout=function(e){null!=b._timeout&&b._timeout[e]&&(clearTimeout(b._timeout[e]),b._timeout[e]=0)},b._settingsDigest=0,b._getSettingsDigest=function(){if(!b._settingsDigest){var e=b.version;b.audienceManagerServer&&(e+="|"+b.audienceManagerServer),b.audienceManagerServerSecure&&(e+="|"+b.audienceManagerServerSecure),b._settingsDigest=b._hash(e)}return b._settingsDigest},b._readVisitorDone=!1,b._readVisitor=function(){if(!b._readVisitorDone){b._readVisitorDone=!0;var e,t,n,r,i,o,a=b._getSettingsDigest(),s=!1,c=b.cookieRead(b.cookieName),u=new Date;if(c||x||b.discardTrackingServerECID||(c=b.cookieRead(X.FIRST_PARTY_SERVER_COOKIE)),null==b._fields&&(b._fields={}),c&&"T"!==c)for((c=c.split("|"))[0].match(/^[\-0-9]+$/)&&(parseInt(c[0],10)!==a&&(s=!0),c.shift()),c.length%2==1&&c.pop(),e=0;e1?(i=parseInt(t[1],10),o=t[1].indexOf("s")>0):(i=0,o=!1),s&&("MCCIDH"===n&&(r=""),i>0&&(i=u.getTime()/1e3-60)),n&&r&&(b._setField(n,r,1),i>0&&(b._fields["expire"+n]=i+(o?"s":""),(u.getTime()>=1e3*i||o&&!b.cookieRead(b.sessionCookieName))&&(b._fieldsExpired||(b._fieldsExpired={}),b._fieldsExpired[n]=!0)));!b._getField(L)&&te.isTrackingServerPopulated()&&(c=b.cookieRead("s_vi"))&&(c=c.split("|")).length>1&&c[0].indexOf("v1")>=0&&((e=(r=c[1]).indexOf("["))>=0&&(r=r.substring(0,e)),r&&r.match(X.VALID_VISITOR_ID_REGEX)&&b._setField(L,r))}},b._appendVersionTo=function(e){var t="vVersion|"+b.version,n=e?b._getCookieVersion(e):null;return n?G.areVersionsDifferent(n,b.version)&&(e=e.replace(X.VERSION_REGEX,t)):e+=(e?"|":"")+t,e},b._writeVisitor=function(){var e,t,n=b._getSettingsDigest();for(e in b._fields)U(e)&&b._fields[e]&&"expire"!==e.substring(0,6)&&(t=b._fields[e],n+=(n?"|":"")+e+(b._fields["expire"+e]?"-"+b._fields["expire"+e]:"")+"|"+t);n=b._appendVersionTo(n),b.cookieWrite(b.cookieName,n,1)},b._getField=function(e,t){return null==b._fields||!t&&b._fieldsExpired&&b._fieldsExpired[e]?null:b._fields[e]},b._setField=function(e,t,n){null==b._fields&&(b._fields={}),b._fields[e]=t,n||b._writeVisitor()},b._getFieldList=function(e,t){var n=b._getField(e,t);return n?n.split("*"):null},b._setFieldList=function(e,t,n){b._setField(e,t?t.join("*"):"",n)},b._getFieldMap=function(e,t){var n=b._getFieldList(e,t);if(n){var r,i={};for(r=0;r0?e.substr(t):""},hashlessUrl:function(e){var t=e.indexOf("#");return t>0?e.substr(0,t):e},addQueryParamAtLocation:function(e,t,n){var r=e.split("&");return n=null!=n?n:r.length,r.splice(n,0,t),r.join("&")},isFirstPartyAnalyticsVisitorIDCall:function(e,t,n){return e===L&&(t||(t=b.trackingServer),n||(n=b.trackingServerSecure),!("string"!=typeof(r=b.loadSSL?n:t)||!r.length)&&r.indexOf("2o7.net")<0&&r.indexOf("omtrdc.net")<0);var r},isObject:function(e){return Boolean(e&&e===Object(e))},removeCookie:function(e){z.remove(e,{domain:b.cookieDomain})},isTrackingServerPopulated:function(){return!!b.trackingServer||!!b.trackingServerSecure},getTimestampInSeconds:function(){return Math.round((new Date).getTime()/1e3)},parsePipeDelimetedKeyValues:function(e){return e.split("|").reduce((function(e,t){var n=t.split("=");return e[n[0]]=decodeURIComponent(n[1]),e}),{})},generateRandomString:function(e){e=e||5;for(var t="",n="abcdefghijklmnopqrstuvwxyz0123456789";e--;)t+=n[Math.floor(Math.random()*n.length)];return t},normalizeBoolean:function(e){return"true"===e||"false"!==e&&e},parseBoolean:function(e){return"true"===e||"false"!==e&&null},replaceMethodsWithFunction:function(e,t){for(var n in e)e.hasOwnProperty(n)&&"function"==typeof e[n]&&(e[n]=t);return e}};b._helpers=te;var ne=Z(b,E);b._destinationPublishing=ne,b.timeoutMetricsLog=[];var re,ie={isClientSideMarketingCloudVisitorID:null,MCIDCallTimedOut:null,AnalyticsIDCallTimedOut:null,AAMIDCallTimedOut:null,fieldGroupObj:{},setState:function(e,t){switch(e){case P:!1===t?!0!==this.MCIDCallTimedOut&&(this.MCIDCallTimedOut=!1):this.MCIDCallTimedOut=t;break;case N:!1===t?!0!==this.AnalyticsIDCallTimedOut&&(this.AnalyticsIDCallTimedOut=!1):this.AnalyticsIDCallTimedOut=t;break;case R:!1===t?!0!==this.AAMIDCallTimedOut&&(this.AAMIDCallTimedOut=!1):this.AAMIDCallTimedOut=t}}};b.isClientSideMarketingCloudVisitorID=function(){return ie.isClientSideMarketingCloudVisitorID},b.MCIDCallTimedOut=function(){return ie.MCIDCallTimedOut},b.AnalyticsIDCallTimedOut=function(){return ie.AnalyticsIDCallTimedOut},b.AAMIDCallTimedOut=function(){return ie.AAMIDCallTimedOut},b.idSyncGetOnPageSyncInfo=function(){return b._readVisitor(),b._getField("MCSYNCSOP")},b.idSyncByURL=function(e){if(!b.isOptedOut()){var t=u(e||{});if(t.error)return t.error;var n,r,i=e.url,o=encodeURIComponent,a=ne;return i=i.replace(/^https:/,"").replace(/^http:/,""),n=A.encodeAndBuildRequest(["",e.dpid,e.dpuuid||""],","),r=["ibs",o(e.dpid),"img",o(i),t.ttl,"",n],a.addMessage(r.join("|")),a.requestToProcess(),"Successfully queued"}},b.idSyncByDataSource=function(e){if(!b.isOptedOut())return e===Object(e)&&"string"==typeof e.dpuuid&&e.dpuuid.length?(e.url="//dpm.demdex.net/ibs:dpid="+e.dpid+"&dpuuid="+e.dpuuid,b.idSyncByURL(e)):"Error: config or config.dpuuid is empty"},Me(b,ne),b._getCookieVersion=function(e){e=e||b.cookieRead(b.cookieName);var t=X.VERSION_REGEX.exec(e);return t&&t.length>1?t[1]:null},b._resetAmcvCookie=function(e){var t=b._getCookieVersion();t&&!G.isLessThan(t,e)||b.removeCookie(b.cookieName)},b.setAsCoopSafe=function(){T=!0},b.setAsCoopUnsafe=function(){T=!1},function(){if(b.configs=Object.create(null),te.isObject(n))for(var e in n)U(e)&&(b[e]=n[e],b.configs[e]=n[e])}(),f(),b.init=function(){l()&&(w.optIn.fetchPermissions(v,!0),!w.optIn.isApproved(w.optIn.Categories.ECID))||re||(re=!0,function(){if(te.isObject(n)){b.idSyncContainerID=b.idSyncContainerID||0,T="boolean"==typeof b.isCoopSafe?b.isCoopSafe:te.parseBoolean(b.isCoopSafe),b.resetBeforeVersion&&b._resetAmcvCookie(b.resetBeforeVersion),b._attemptToPopulateIdsFromUrl(),b._attemptToPopulateSdidFromUrl(),b._readVisitor();var e=b._getField(j),t=Math.ceil((new Date).getTime()/X.MILLIS_PER_DAY);b.idSyncDisableSyncs||b.disableIdSyncs||!ne.canMakeSyncIDCall(e,t)||(b._setFieldExpire(V,-1),b._setField(j,t)),b.getMarketingCloudVisitorID(),b.getAudienceManagerLocationHint(),b.getAudienceManagerBlob(),b._mergeServerState(b.serverState)}else b._attemptToPopulateIdsFromUrl(),b._attemptToPopulateSdidFromUrl()}(),function(){if(!b.idSyncDisableSyncs&&!b.disableIdSyncs){ne.checkDPIframeSrc();var e=function(){var e=ne;e.readyToAttachIframe()&&e.attachIframe()};D.addEventListener("load",(function(){E.windowLoaded=!0,e()}));try{J.receiveMessage((function(e){ne.receiveMessage(e.data)}),ne.iframeHost)}catch(e){}}}(),b.whitelistIframeDomains&&X.POST_MESSAGE_ENABLED&&(b.whitelistIframeDomains=b.whitelistIframeDomains instanceof Array?b.whitelistIframeDomains:[b.whitelistIframeDomains],b.whitelistIframeDomains.forEach((function(e){var n=new M(t,e),r=B(b,n);J.receiveMessage(r,e)}))))}};Fe.config=$,y.Visitor=Fe;var Ue=Fe,Be=function(e){if(A.isObject(e))return Object.keys(e).filter((function(t){return""!==e[t]&&$.getConfigs()[t]})).reduce((function(t,n){var r=$.normalizeConfig(n,e[n]),i=A.normalizeBoolean(r);return t[n]=i,t}),Object.create(null))},He=je.OptIn,ze=je.IabPlugin;Ue.getInstance=function(e,t){if(!e)throw new Error("Visitor requires Adobe Marketing Cloud Org ID.");e.indexOf("@")<0&&(e+="@AdobeOrg");var n=function(){var t=y.s_c_il;if(t)for(var n=0;n\n"+t+"\n"},s=function(e,t){var n="__runScript"+ ++i;return _satellite[n]=function(t){t.call(e.event.element,e.event,e.event.target),delete _satellite[n]},'"},c={javascript:function(e,t){return e.settings.global?a(e,t):s(e,t)},html:function(e,t){return o(e)?r.replaceTokens(t,e.event):t}};e.exports=function(e,t){return c[e.settings.language](e,t)}}},"core/src/lib/actions/helpers/loadCodeSequentially.js":{script:function(e,t,n){"use strict";var r=n("@adobe/reactor-promise"),i=n("./getSourceByUrl"),o=r.resolve();e.exports=function(e){var t=new r((function(t){var n=i(e);r.all([n,o]).then((function(e){var n=e[0];t(n)}))}));return o=t,t}}},"core/node_modules/postscribe/dist/postscribe.js":{script:function(e,t){var n,r;n=this,r=function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=r(n(1));e.exports=i.default},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function o(){}function a(){var e=g.shift();if(e){var t=d.last(e);t.afterDequeue(),e.stream=s.apply(void 0,e),t.afterStreamStart()}}function s(e,t,n){function r(e){e=n.beforeWrite(e),m.write(e),n.afterWrite(e)}(m=new l.default(e,n)).id=p++,m.name=n.name||m.id,c.streams[m.name]=m;var i=e.ownerDocument,s={close:i.close,open:i.open,write:i.write,writeln:i.writeln};u(i,{close:o,open:o,write:function(){for(var e=arguments.length,t=Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:null,r=f+t;l.existy(n)&&""!==n?e.setAttribute(r,n):e.removeAttribute(r)}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.root=t,this.options=n,this.doc=t.ownerDocument,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new u.default("",{autoFix:n.autoFix}),this.actuals=[t],this.proxyHistory="",this.proxyRoot=this.doc.createElement(t.nodeName),this.scriptStack=[],this.writeQueue=[],s(this.proxyRoot,"proxyof",0)}return e.prototype.write=function(){var e;for((e=this.writeQueue).push.apply(e,arguments);!this.deferredRemote&&this.writeQueue.length;){var t=this.writeQueue.shift();l.isFunction(t)?this._callFunction(t):this._writeImpl(t)}},e.prototype._callFunction=function(e){var t={type:"function",value:e.name||e.toString()};this._onScriptStart(t),e.call(this.win,this.doc),this._onScriptDone(t)},e.prototype._writeImpl=function(e){this.parser.append(e);for(var t=void 0,n=void 0,r=void 0,i=[];(t=this.parser.readToken())&&!(n=l.isScript(t))&&!(r=l.isStyle(t));)(t=this.options.beforeWriteToken(t))&&i.push(t);i.length>0&&this._writeStaticTokens(i),n&&this._handleScriptToken(t),r&&this._handleStyleToken(t)},e.prototype._writeStaticTokens=function(e){var t=this._buildChunk(e);return t.actual?(t.html=this.proxyHistory+t.actual,this.proxyHistory+=t.proxy,this.proxyRoot.innerHTML=t.html,d&&(t.proxyInnerHTML=this.proxyRoot.innerHTML),this._walkChunk(),d&&(t.actualInnerHTML=this.root.innerHTML),t):null},e.prototype._buildChunk=function(e){for(var t=this.actuals.length,n=[],r=[],i=[],o=e.length,a=0;a)/," "+f+"id="+u+" $1")),s.attrs.id!==g&&s.attrs.id!==p&&i.push("atomicTag"===s.type?"":"<"+s.tagName+" "+f+"proxyof="+u+(s.unary?" />":">"))}}else r.push(c),i.push("endTag"===s.type?c:"")}return{tokens:e,raw:n.join(""),actual:r.join(""),proxy:i.join("")}},e.prototype._walkChunk=function(){for(var e=void 0,t=[this.proxyRoot];l.existy(e=t.shift());){var n=1===e.nodeType;if(!n||!a(e,"proxyof")){n&&(this.actuals[a(e,"id")]=e,s(e,"id"));var r=e.parentNode&&a(e.parentNode,"proxyof");r&&this.actuals[r].appendChild(e)}t.unshift.apply(t,l.toArray(e.childNodes))}},e.prototype._handleScriptToken=function(e){var t=this,n=this.parser.clear();n&&this.writeQueue.unshift(n),e.src=e.attrs.src||e.attrs.SRC,(e=this.options.beforeWriteToken(e))&&(e.src&&this.scriptStack.length?this.deferredRemote=e:this._onScriptStart(e),this._writeScriptToken(e,(function(){t._onScriptDone(e)})))},e.prototype._handleStyleToken=function(e){var t=this.parser.clear();t&&this.writeQueue.unshift(t),e.type=e.attrs.type||e.attrs.TYPE||"text/css",(e=this.options.beforeWriteToken(e))&&this._writeStyleToken(e),t&&this.write()},e.prototype._writeStyleToken=function(e){var t=this._buildStyle(e);this._insertCursor(t,p),e.content&&(t.styleSheet&&!t.sheet?t.styleSheet.cssText=e.content:t.appendChild(this.doc.createTextNode(e.content)))},e.prototype._buildStyle=function(e){var t=this.doc.createElement(e.tagName);return t.setAttribute("type",e.type),l.eachKey(e.attrs,(function(e,n){t.setAttribute(e,n)})),t},e.prototype._insertCursor=function(e,t){this._writeImpl('');var n=this.doc.getElementById(t);n&&n.parentNode.replaceChild(e,n)},e.prototype._onScriptStart=function(e){e.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(e)},e.prototype._onScriptDone=function(e){e===this.scriptStack[0]?(this.scriptStack.shift(),this.write.apply(this,e.outerWrites),!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)):this.options.error({msg:"Bad script nesting or script finished twice"})},e.prototype._writeScriptToken=function(e,t){var n=this._buildScript(e),r=this._shouldRelease(n),i=this.options.afterAsync;e.src&&(n.src=e.src,this._scriptLoadHandler(n,r?i:function(){t(),i()}));try{this._insertCursor(n,g),n.src&&!r||t()}catch(e){this.options.error(e),t()}}, e.prototype._buildScript=function(e){var t=this.doc.createElement(e.tagName);return l.eachKey(e.attrs,(function(e,n){t.setAttribute(e,n)})),e.content&&(t.text=e.content),t},e.prototype._scriptLoadHandler=function(e,t){function n(){e=e.onload=e.onreadystatechange=e.onerror=null}function r(){n(),null!=t&&t(),t=null}function i(e){n(),a(e),null!=t&&t(),t=null}function o(e,t){var n=e["on"+t];null!=n&&(e["_on"+t]=n)}var a=this.options.error;o(e,"load"),o(e,"error"),c(e,{onload:function(){if(e._onload)try{e._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(t){i({msg:"onload handler failed "+t+" @ "+e.src})}r()},onerror:function(){if(e._onerror)try{e._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(t){return void i({msg:"onerror handler failed "+t+" @ "+e.src})}i({msg:"remote script failed "+e.src})},onreadystatechange:function(){/^(loaded|complete)$/.test(e.readyState)&&r()}})},e.prototype._shouldRelease=function(e){return!/^script$/i.test(e.nodeName)||!!(this.options.releaseAsync&&e.src&&e.hasAttribute("async"))},e}();t.default=m},function(e){var t;t=function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=r(n(1));e.exports=i.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var a=i(n(2)),s=i(n(3)),c=r(n(6)),u=n(5),l={comment:/^");if(t>=0)return new u.CommentToken(e.substr(4,t-1),t+3)}function i(e){var t=e.indexOf("<");return new u.CharsToken(t>=0?t:e.length)}function o(e){var t,n,r;if(-1!==e.indexOf(">")){var i=e.match(l.startTag);if(i){var o=(t={},n={},r=i[2],i[2].replace(l.attr,(function(e,i){arguments[2]||arguments[3]||arguments[4]||arguments[5]?arguments[5]?(t[arguments[5]]="",n[arguments[5]]=!0):t[i]=arguments[2]||arguments[3]||arguments[4]||l.fillAttr.test(i)&&i||"":t[i]="",r=r.replace(e,"")})),{v:new u.StartTagToken(i[1],i[0].length,t,n,!!i[3],r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))});if("object"===(void 0===o?"undefined":c(o)))return o.v}}}function a(e){var t=o(e);if(t){var n=e.slice(t.length);if(n.match(new RegExp("","i"))){var r=n.match(new RegExp("([\\s\\S]*?)","i"));if(r)return new u.AtomicTagToken(t.tagName,r[0].length+t.length,t.attrs,t.booleanAttrs,r[1])}}}function s(e){var t=e.match(l.endTag);if(t)return new u.EndTagToken(t[1],t[0].length)}t.__esModule=!0;var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.comment=r,t.chars=i,t.startTag=o,t.atomicTag=a,t.endTag=s;var u=n(4),l={startTag:/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag:/^<\/([\-A-Za-z0-9_]+)[^>]*>/,attr:/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,fillAttr:/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0,t.EndTagToken=t.AtomicTagToken=t.StartTagToken=t.TagToken=t.CharsToken=t.CommentToken=t.Token=void 0;var i=n(5),o=(t.Token=function e(t,n){r(this,e),this.type=t,this.length=n,this.text=""},t.CommentToken=function(){function e(t,n){r(this,e),this.type="comment",this.length=n||(t?t.length:0),this.text="",this.content=t}return e.prototype.toString=function(){return" "+e.events));var p=r;for(u=p.length-1;u>=0;u--){var g=p[u];if(/^contextData.evt_/.test(g)){var m=g.substr(12);e.contextData&&e.contextData.hasOwnProperty(m)&&delete e.contextData[m]}}if(digitalData&&digitalData.events)for(var v=digitalData.events.length-1;v>=0;v--)digitalData.events[v].event&&t.event&&digitalData.events[v].event===t.event&&digitalData.events.splice(v,1)}}},e.getDataLayer=function(t,n){var r="_";switch(void 0!==n&&""!=n||(n="",r=""),n){case"page":n="p";break;case"p_category":n="p_cat";break;case"p_pageInfo":n="p_pi";break;case"user":n="u";break;case"u_profile":n="u_prfl";break;case"u_prfl_profileInfo":n="u_pr_pri"}for(var i in t)if(null!=t[i]&&""!=t[i])if("events"==i){var o=t[i];null!=o&&"null"!=o&&"undefined"!=o||(o="[]"),"string"==typeof o&&(o=JSON.parse(o));for(var a=0;a0&&(n.events=e.events+","+n.events);var i=t&&t.events&&t.events.length>0,o=l(e,n,i);o&&(n.linkTrackVars=o);var a=d(e,t.events||[]);a&&(n.linkTrackEvents=a),r.logger.info('Applying the following properties on tracker: "'+JSON.stringify(n)+'".'),Object.keys(n).forEach((function(t){e[t]=n[t]}))}}},"adobe-analytics/src/lib/helpers/augmenters.js":{script:function(e){"use strict";e.exports=[]}},"adobe-analytics/src/lib/helpers/loadLibrary.js":{script:function(e,t,n,r){"use strict";var i=n("@adobe/reactor-load-script"),o=n("@adobe/reactor-window"),a=n("@adobe/reactor-promise"),s={MANAGED:"managed",PREINSTALLED:"preinstalled",REMOTE:"remote",CUSTOM:"custom"},c=function(e){return r.logger.info("Loading AppMeasurement script from: "+e+"."),i(e)},u=function(e){var t=e.production;return e[r.buildInfo.environment]&&(t=e[r.buildInfo.environment]),t.join(",")},l=function(e,t){if(!o.s_gi)throw new Error("Unable to create AppMeasurement tracker, `s_gi` function not found."+o.AppMeasurement);r.logger.info('Creating AppMeasurement tracker with these report suites: "'+t+'"');var n=o.s_gi(t);return e.libraryCode.scopeTrackerGlobally&&(r.logger.info("Setting the tracker as window.s"),o.s=n),n},d=function(e){var t=u(e.libraryCode.accounts);return c(r.getHostedLibFileUrl("AppMeasurement.js")).then(l.bind(null,e,t))},f=function(e,t){if(e.libraryCode.accounts)if(t.sa){var n=u(e.libraryCode.accounts);r.logger.info('Setting the following report suites on the tracker: "'+n+'"'),t.sa(n)}else r.logger.warn("Cannot set report suites on tracker. `sa` method not available.");return t},p=function(e){return r.logger.info('Waiting for the tracker to become accessible at: "'+e+'".'),new a((function(t,n){var i=1,a=setInterval((function(){o[e]&&(r.logger.info('Found tracker located at: "'+e+'".'),t(o[e]),clearInterval(a)),i>=10&&(clearInterval(a),n(new Error('Bailing out. Cannot find the global variable name: "'+e+'".'))),i++}),1e3)}))},g=function(e){return p(e.libraryCode.trackerVariableName).then(f.bind(null,e))},m=function(e){if(o[e])return r.logger.info('Found tracker located at: "'+e+'".'),o[e];throw new Error('Cannot find the global variable name: "'+e+'".')},v=function(e,t){return c(e).then(m.bind(null,t.libraryCode.trackerVariableName)).then(f.bind(null,t))};e.exports=function(e){var t,n;switch(e.libraryCode.type){case s.MANAGED:n=d(e);break;case s.PREINSTALLED:n=g(e);break;case s.CUSTOM:t=e.libraryCode.source,n=v(t,e);break;case s.REMOTE:t="https:"===o.location.protocol?e.libraryCode.httpsUrl:e.libraryCode.httpUrl,n=v(t,e);break;default:throw new Error("Cannot load library. Type not supported.")}return n}}},"adobe-analytics/src/lib/helpers/generateVersion.js":{script:function(e){"use strict";var t=8,n=function(e){return e.getUTCDate().toString(36)},r=function(e){return e.substr(e.length-1)},i=function(e){return Math.floor(e.getUTCHours()/t)},o=function(e){var t=(e.getUTCMonth()+1+12*i(e)).toString(36);return r(t)},a=function(e){return(e.getUTCFullYear()-2010).toString(36)};e.exports=function(e){var t=new Date(e);if(isNaN(t))throw new Error("Invalid date provided");return("L"+a(t)+o(t)+n(t)).toUpperCase()}}}}},"common-analytics-plugins":{displayName:"Common Analytics Plugins",hostedLibFilesBaseUrl:"https://assets.adobedtm.com/extensions/EPb691af6ae5364085b2c253385a4dda8d/",settings:{ns:{id:"ns",obj:"window",desc:"The Numbers Suite is a series of plugins that allow for...
  1. zeroPad - a number of zeroes to the beginning of a number
  2. randomNumber - generate a random number with a specific number of digits
  3. twoDecimals - round a number to the closest hundreth (for currency)

This plugin suite is depricated.

",name:"Numbers Suite",display:!0,doclink:"//docs.adobe.com/content/help/en/analytics/implementation/vars/plugins/numberssuite.html",version:"1.0",depricated:!0},pt:{id:"pt",obj:"tracker",desc:"Executes a function on a list of Adobe Analytics variables. For example, the following function will run the clearVars function three times, once using eVar1 as the argument, once using eVar4 as the argument, and once using eVar29 as the argument. The end result clear out the values of eVar1, eVar4 & eVar29. s.pt('eVar1,eVar4,eVar29', ',', 'clearVars');",name:"pt",display:!0,doclink:"//docs.adobe.com/content/help/en/analytics/implementation/vars/plugins/pt-plugin.html",version:"3.0",depricated:!1},apl:{id:"apl",obj:"tracker",desc:'Add new values to list-delimited variables (e.g. events, linkTrackVars, listVars, etc.). This plugin requires "inList" to be initialized as well.',name:"Append To List",display:!0,version:"4.0",depricated:!1},rfl:{id:"rfl",obj:"tracker",desc:"Remove values from list-delimited variables (e.g. s.events, s.linkTrackVars, listVars, etc.).",name:"Remove From List",display:!0,doclink:"//docs.adobe.com/content/help/en/analytics/implementation/vars/plugins/removefromlist.html",version:"2.1",depricated:!1},p_fo:{id:"fpo",obj:"tracker",desc:"Checks for the existence of a specific JavaScript object. If the object doesn't exist, the plugin creates the object and returns the value of true. This would be the first and only time the plugin would create this object on the current page (hence the name, pageFirstOnly). If the JavaScript object already exists on the page, the function will return the value of false.",name:"First Page Only",display:!0,doclink:"//docs.adobe.com/content/help/en/analytics/implementation/vars/plugins/p-fo.html",version:"3.0",depricated:!1},inList:{id:"il",obj:"tracker",desc:"Check whether a value already exists within either a delimited list of values or a JavaScript array object.",name:"In List",display:!0,version:"3.0",depricated:!1},zeroPad:{display:!1,version:"1.0",depricated:!0},cleanStr:{id:"cs",obj:"window",desc:"Remove unnecessary characters from a string (or string variable), including HTML tag characters, Extra whitespaces (including double spaces), Left/right single quotes (\u2018\u2019) (replaced with straight single quotes), Tabs, Newlines/Carriage Returns. ",name:"Clean String",display:!0,version:"2.0",depricated:!1},formatTime:{id:"ft",obj:"tracker",desc:'Take a specified number of seconds and present them in a bucketed format, rounded to a benchmark value that you specify. The "inList" plugin is required by this plugin. This plugin requires "inList" to be initialized as well.',name:"Format Time",display:!0,version:"2.0",depricated:!1},getValOnce:{id:"gvo",obj:"tracker",desc:"Prevents a variable from being set equal to the same value on consecutive calls.",name:"Value Once",display:!0,version:"3.0",depricated:!1},manageVars:{id:"mv",obj:"tracker",desc:"Manipulate the values of multiple Adobe Analytics variables at one time; this version includes specific functionality to lowercase or remove unnecessary characters from multiple variable values at the same time.",name:"Manage Variables",display:!0,version:"3.0",depricated:!1},getPageName:{id:"gpn",obj:"window",desc:'Creates a value that can be inserted into the Adobe Analytics pageName variable and that is an easy-to-read, "friendly"-formatted version of the current URL.',name:"Page Name",display:!0,version:"4.2",depricated:!1,dataElement:!0},getVisitNum:{id:"gvn",obj:"tracker",desc:'Visit number for all visitors that come to the site within a specific time period (e.g. "x" number of days).',name:"Visit Number",display:!0,version:"4.2",depricated:!1,dataElement:!0},twoDecimals:{display:!1,version:"1.0",depricated:!0},getNewRepeat:{id:"gnr",obj:"tracker",desc:"Determines whether a visitor to the site is a new visitor or a repeat visitor within the number of days that is specified in the plugin call.",name:"New Repeat",display:!0,version:"3.0",depricated:!1,dataElement:!0},randomNumber:{display:!1,version:"1.0",depricated:!0},getQueryParam:{id:"gqp",obj:"tracker",desc:'Case-insensitively extract the value of any query string parameter contained in a URL. This plugin requires "pt" to be initialized as well.',name:"Query Parameter",display:!0,version:"4.0.1",depricated:!1},lowerCaseVars:{display:!1,version:"1.0",depricated:!1},addProductEvar:{id:"apv",obj:"tracker",desc:"Easily add an Adobe Analytics merchandising eVar that uses product syntax to the products variable (s.products) without worrying whether the already-existing contents of the variable will be changed/moved/deleted.",name:"Add Product eVar",display:!0,version:"2.0",depricated:!1},getTimeParting:{id:"gtp",obj:"window",desc:"Capture the details of the time when any measurable activity takes place on its site.",name:"Time Parting",display:!0,version:"6.3",depricated:!1,dataElement:!0},addProductEvent:{id:"ape",obj:"tracker",desc:"Easily add an Adobe Analytics custom numeric event or custom currency event to the products variable (s.products) without worrying whether the already-existing contents of the variable will be changed/moved/deleted.",name:"Add Product Event",display:!0,version:"2.0",depricated:!1},endOfDatePeriod:{id:"eodp",display:!1,version:"1.2",depricated:!1},getPageLoadTime:{id:"gplt",obj:"tracker",desc:'Uses the JavaScript performance object to allow you to measure the amount of time a page takes to load completely. This plugin requires "p_fo" to be initialized as well.',name:"Page Load Time",display:!0,version:"2.0",depricated:!1},handlePPVevents:{display:!1,version:"4.0",depricated:!1},getPreviousValue:{id:"gpv",obj:"tracker",desc:'Set an Analytics variable equal to the value of a variable that was set on a previous page or contained in a previous image request. This plugin requires "p_fo" to be initialized as well.',name:"Previous Value",display:!0,version:"3.0",depricated:!1},getVisitDuration:{id:"gvd",obj:"tracker",desc:"Amount of time (in minutes) that the visitor has been on the site up to that point.",name:"Visit Duration",display:!0,version:"2.1",depricated:!1,dataElement:!0},performanceCheck:{display:!1,version:"1.0",depricated:!1},getGeoCoordinates:{id:"ggc",obj:"tracker",desc:"Returns the geographic location (latitude and longitude) of the visitors device.",name:"Geographic Coordinates",display:!0,version:"2.0",depricated:!1,dataElement:!0},getTimeToComplete:{id:"gttc",obj:"tracker",desc:'Time a user takes to complete a process on a site. The "clock" begins when the "start" action is called and ends when the "stop" action is called. This plugin requires "pt" to be initialized as well.',name:"Time To Complete",display:!0,version:"4.0",depricated:!1},getAndPersistValue:{id:"gapv",obj:"tracker",desc:"Stores a value in a cookie that can be retrieved later during a visit.",name:"Persist Value",display:!0,version:"3.0",depricated:!1},getResponsiveLayout:{id:"grl",obj:"window",desc:"Which version of your responsive design-based website a visitor is currently looking at.",name:"Responsive Layout",display:!0,version:"1.1",depricated:!1,dataElement:!0},getPercentPageViewed:{id:"gppv",obj:"tracker",desc:"Measures a visitor's scroll activity to see how much of the page they viewed before moving to another page.",name:"Percent Page Viewed",display:!0,version:"5.0",depricated:!1},getTimeBetweenEvents:{id:"gtbe",obj:"tracker",desc:'Amount of time between two different Adobe Analytics events (custom or otherwise). This plugin requires "inList" to be initialized as well.',name:"Time Between Events",display:!0,version:"3.0",depricated:!1},performanceWriteFull:{display:!1,version:"1.0",depricated:!1},performanceWritePart:{display:!1,version:"1.0",depricated:!1},getDaysSinceLastVisit:{id:"gdslv",obj:"tracker",desc:"Returns the number of days since the visitor's last (most recent) visit. This plugin is deprecated. Adobe recommends using the getTimeSinceLastVisit plugin instead.",name:"Days Since Last Visit",display:!0,doclink:"//docs.adobe.com/content/help/en/analytics/implementation/vars/plugins/gettimesincelastvisit.html",version:"3.0",depricated:!0},getTimeSinceLastVisit:{id:"gtslv",obj:"tracker",desc:"Returns the time since the visitor's last (most recent) visit.",name:"Time Since Last Visit",display:!0,version:"2.0",depricated:!1}},modules:{"common-analytics-plugins/src/lib/actions/initializeGetPercentPageViewed.js":{name:"initialize-getpercentpageviewed",displayName:"Initialize getPercentPageViewed",script:function(e,t,n){"use strict";n("./common").init("getPercentPageViewed","analytics"),n("./common").init("handlePPVevents","analytics"),n("./common").init("p_fo","analytics"),e.exports=function(){}}},"common-analytics-plugins/src/lib/actions/initializeGetPreviousValue.js":{name:"initialize-getpreviousvalue",displayName:"Initialize getPreviousValue",script:function(e,t,n){"use strict";n("./common").init("getPreviousValue","analytics"),e.exports=function(){}}},"common-analytics-plugins/src/lib/actions/initializeGetPageLoadTime.js":{name:"initialize-getpageloadtime",displayName:"Initialize getPageLoadTime",script:function(e,t,n){"use strict";n("./common").init("getPageLoadTime","analytics"),n("./common").init("performanceWriteFull","analytics"),n("./common").init("performanceWritePart","analytics"),n("./common").init("performanceCheck","analytics"),n("./common").init("p_fo","analytics"),e.exports=function(){}}},"common-analytics-plugins/src/lib/actions/initializeP_fo.js":{name:"iinitialize-p_fo",displayName:"Initialize p_fo",script:function(e,t,n){"use strict";n("./common").init("p_fo","analytics"),e.exports=function(){}}},"common-analytics-plugins/src/lib/main-module.js":{script:function(e,t,n,r){"use strict";r.getSharedModule("adobe-analytics","get-tracker")||r.logger.error('The "Adobe Analytics" extension must be installed in the Launch web property ('+_satellite.property.name+') in order to use the "Common Analytics Plugins" extension'),r.getSharedModule("adobe-analytics","augment-tracker")((function(e){if("object"==typeof e.contextData&&"object"==typeof window.aaPlugins)for(var t in window.aaPlugins)e.contextData[t]=window.aaPlugins[t]}))}},"common-analytics-plugins/src/lib/actions/common.js":{script:function(e,t,n,r){"use strict";var i=function(e,t){return"analytics"===e||void 0===e?t:"window"===e?window:null},o=function(e,t,r){t[e]=n("../plugins/allPlugins")[e];var i=r.contextData||{},o=a(e,t);"n/a"===o.version&&(o=s(e)),i[e]=o.version},a=function(e,t){var n,r={plugin:e,version:"n/a"};try{n=t[e]("-v")}catch(e){n={}}try{("string"!=typeof n.plugin||n.plugin.length<1)&&(n=r)}catch(e){n=r}return n},s=function(e){var t=r.getExtensionSettings(),n={plugin:e,version:"n/a"};try{n.version=t[e].version}catch(e){n.version="n/a"}return n};e.exports.init=function(e,t){r.getSharedModule("adobe-analytics","augment-tracker")((function(n){n&&(t=i(t,n),e&&t&&o(e,t,n))}))},e.exports.initMany=function(e){var t;r.getSharedModule("adobe-analytics","augment-tracker")((function(n){if(n)for(var r=0;r]+(>|$)/g,"")).trim()).replace(/[\u2018\u2019\u201A]/g,"'")).replace(/\t+/g,"")).replace(/[\n\r]/g," ");-1Number(i))){if(c="","string"==typeof o&&"d"===o||("string"!=typeof o||!r("h,m,s",o))&&86400<=i){var u=86400,l="days";c=isNaN(s)?1:u/(s*u)}else"string"==typeof o&&"h"===o||("string"!=typeof o||!r("m,s",o))&&3600<=i?(u=3600,l="hours",c=isNaN(s)?4:u/(s*u)):"string"==typeof o&&"m"===o||("string"!=typeof o||!r("s",o))&&60<=i?(u=60,l="minutes",c=isNaN(s)?2:u/(s*u)):(u=1,l="seconds",c=isNaN(s)?.2:u/s);return 0===(c=Math.round(i*c/u)/c+" "+l).indexOf("1 ")&&(c=c.substring(0,c.length-1)),c}}e.exports.formatTime=t}},"common-analytics-plugins/src/lib/plugins/getAndPersistValue.js":{script:function(e){function t(e,t,n){var r=e,i=t,o=n;if(void 0!==r&&"-v"===r)return{plugin:"getAndPersistValue",version:"3.0"};var a=function(){if(void 0!==window.s_c_il)for(var e,t=0;tn?"":decodeURIComponent(t.substring(n+2+e.length,0>r?t.length:r)))?e:""},a=new Date,i=i||"s_gapv",(o=o||0)?a.setTime(a.getTime()+864e5*o):a.setTime(a.getTime()+18e5),void 0!==r&&r||(r=cookieRead(i)),cookieWrite(i,r,a),r}e.exports.getAndPersistValue=t}},"common-analytics-plugins/src/lib/plugins/getDaysSinceLastVisit.js":{script:function(e){function t(){var e=new Date,t=e.getTime(),n=this.c_r("s_dslv");if(e.setTime(t+94608e6),this.c_w("s_dslv",t,e),n){if(18e5<(e=t-n)){if(31536e6n?"":decodeURIComponent(t.substring(n+2+e.length,0>r?t.length:r)))?e:""};var t="",n={timeout:5e3,maximumAge:0},r=function(e){e=e.coords,cookieWrite("s_ggc",parseFloat(e.latitude.toFixed(4))+"|"+parseFloat(e.longitude.toFixed(4)),30),t="latitude="+parseFloat(e.latitude.toFixed(4))+" | longitude="+parseFloat(e.longitude.toFixed(4))},i=function(){t="error retrieving geo coordinates"};return 1<(e=cookieRead("s_ggc").split("|")).length&&(t="latitude="+e[0]+" | longitude="+e[1]),navigator.geolocation&&navigator.geolocation.getCurrentPosition(r,i,n),""===t&&(t="geo coordinates not available"),t}e.exports.getGeoCoordinates=t}},"common-analytics-plugins/src/lib/plugins/getNewRepeat.js":{script:function(e){function t(e){var t=e;if("-v"===t)return{plugin:"getNewRepeat",version:"3.0"};void 0!==(e=function(){if(void 0!==window.s_c_il)for(var e,t=0;tn?"":decodeURIComponent(t.substring(n+2+e.length,0>r?t.length:r)))?e:""},e="s_nr"+(t=t||30);var n=new Date,r=cookieRead(e),i=r.split("-"),o=n.getTime();return n.setTime(o+864e5*t),""===r||18e5>o-i[0]&&"New"===i[1]?(cookieWrite(e,o+"-New",n),"New"):(cookieWrite(e,o+"-Repeat",n),"Repeat")}e.exports.getNewRepeat=t}},"common-analytics-plugins/src/lib/plugins/getPageLoadTime.js":{script:function(e){function t(){function e(){var e=performance.timing;if(0r-i&&0<=r-i?parseFloat((r-i)/1e3).toFixed(2):60:void 0,n.call(t,"s_plt",r),window.cookieWrite("s_pltp",window.pageName)}window.ptc=e.loadEventEnd}if(arguments&&"-v"===arguments[0])return{plugin:"getPageLoadTime",version:"2.0.1"};var t=function(){if(void 0!==window.s_c_il)for(var e,t=0;tn?"":decodeURIComponent(t.substring(n+2+e.length,0>r?t.length:r)))?e:""},window.p_fo=window.p_fo||function(e){return window.__fo||(window.__fo={}),!window.__fo[e]&&(window.__fo[e]={},!0)},"undefined"!=typeof performance&&p_fo("performance")&&((t=performance).clearResourceTimings(),""!==window.cookieRead("s_plt")&&(0n?"":decodeURIComponent(t.substring(n+2+e.length,0>r?t.length:r)))?e:""},r=r||"s_gpv",(o=new Date).setTime(o.getTime()+18e5),window.cookieRead(r)&&(i=window.cookieRead(r)),n?window.cookieWrite(r,n,o):window.cookieWrite(r,i,o),i}e.exports.getPreviousValue=t}},"common-analytics-plugins/src/lib/plugins/getQueryParam.js":{script:function(e){function t(e,t,n){function r(e,t){var n=(t=(t=t.split("?").join("&")).split("#").join("&")).indexOf("&");if(e&&(-1n))for(var r=0,i=(n=(n=t.substring(n+1)).split("&")).length;rn.length&&(i=t,t=n,n=i),i="";for(var o=e.split(","),a=o.length,s=0;sn?"":decodeURIComponent(t.substring(n+2+e.length,0>r?t.length:r)))?e:""},window.formatTime=window.formatTime||function(e,t,n){function r(e,t,n,r){if("string"!=typeof t)return!1;if("string"==typeof e)e=e.split(n||",");else if("object"!=typeof e)return!1;for(n=0,a=e.length;nNumber(e))){var i="";return"string"==typeof t&&"d"===t||("string"!=typeof t||!r("h,m,s",t))&&86400<=e?(t=86400,i="days",n=isNaN(n)?1:t/(n*t)):"string"==typeof t&&"h"===t||("string"!=typeof t||!r("m,s",t))&&3600<=e?(t=3600,i="hours",n=isNaN(n)?4:t/(n*t)):"string"==typeof t&&"m"===t||("string"!=typeof t||!r("s",t))&&60<=e?(t=60,i="minutes",n=isNaN(n)?2:t/(n*t)):(t=1,i="seconds",n=isNaN(n)?.2:t/n),0===(i=Math.round(e*n/t)/n+" "+i).indexOf("1 ")&&(i=i.substring(0,i.length-1)),i}},window.inList=window.inList||function(e,t,n,r){if("string"!=typeof t)return!1;if("string"==typeof e)e=e.split(n||",");else if("object"!=typeof e)return!1;for(n=0,a=e.length;nNumber(e))){var i="";return"string"==typeof t&&"d"===t||("string"!=typeof t||!r("h,m,s",t))&&86400<=e?(t=86400,i="days",n=isNaN(n)?1:t/(n*t)):"string"==typeof t&&"h"===t||("string"!=typeof t||!r("m,s",t))&&3600<=e?(t=3600,i="hours",n=isNaN(n)?4:t/(n*t)):"string"==typeof t&&"m"===t||("string"!=typeof t||!r("s",t))&&60<=e?(t=60,i="minutes",n=isNaN(n)?2:t/(n*t)):(t=1,i="seconds",n=isNaN(n)?.2:t/n),0===(i=Math.round(e*n/t)/n+" "+i).indexOf("1 ")&&(i=i.substring(0,i.length-1)),i}},window.cookieWrite=window.cookieWrite||function(e,t,n){if("string"==typeof e){var r=window.location.hostname,i=window.location.hostname.split(".").length-1;if(r&&!/^[0-9.]+$/.test(r)){i=2n?"":decodeURIComponent(t.substring(n+2+e.length,0>r?t.length:r)))?e:""};var t=(e=new Date).getTime(),n=cookieRead("s_tslv")||0,r=Math.round((t-n)/1e3);return e.setTime(t+63072e6),cookieWrite("s_tslv",t,e),n?1800Number(e))){var i="";return"string"==typeof t&&"d"===t||("string"!=typeof t||!r("h,m,s",t))&&86400<=e?(t=86400,i="days",n=isNaN(n)?1:t/(n*t)):"string"==typeof t&&"h"===t||("string"!=typeof t||!r("m,s",t))&&3600<=e?(t=3600,i="hours",n=isNaN(n)?4:t/(n*t)):"string"==typeof t&&"m"===t||("string"!=typeof t||!r("s",t))&&60<=e?(t=60,i="minutes",n=isNaN(n)?2:t/(n*t)):(t=1,i="seconds",n=isNaN(n)?.2:t/n),0===(i=Math.round(e*n/t)/n+" "+i).indexOf("1 ")&&(i=i.substring(0,i.length-1)),i}},window.cookieWrite=window.cookieWrite||function(e,t,n){if("string"==typeof e){var r=window.location.hostname,i=window.location.hostname.split(".").length-1;if(r&&!/^[0-9.]+$/.test(r)){i=2n?"":decodeURIComponent(t.substring(n+2+e.length,0>r?t.length:r)))?e:""},"stop"===(i=i?i.toLowerCase():"start")||"start"===i){if(o=o||"s_gttc",c?c="d"===c?864e5:"h"===c?36e5:"s"===c?1e3:6e4:(s=30,c=6e4),s=isNaN(s)?30:s,s*=c,u=cookieRead(o),c=new Date,"stop"===i&&u)return s=Math.round((c.getTime()-u)/1e3),cookieWrite(o,"",0),formatTime(s);"start"!==i||u?u&&Number(u)n?"":decodeURIComponent(t.substring(n+2+e.length,0>r?t.length:r)))?e:""},i&&(o=o||"s_gvo",a=a||0,s="m"===s?6e4:864e5,i!==this.c_r(o))?((c=new Date).setTime(c.getTime()+a*s),cookieWrite(o,i,0===a?0:s),i):""}e.exports.getValOnce=t}},"common-analytics-plugins/src/lib/plugins/getVisitDuration.js":{script:function(e){function t(){if(arguments&&"-v"===arguments[0])return{plugin:"getVisitDuration",version:"2.1"};var e=function(){if(void 0!==window.s_c_il)for(var e,t=0;tn?"":decodeURIComponent(t.substring(n+2+e.length,0>r?t.length:r)))?e:""},e=(new Date).getTime();var t=cookieRead("s_dur"),n=0;return(isNaN(t)||18e5n?"":decodeURIComponent(t.substring(n+2+e.length,0>r?t.length:r)))?e:""},i=i||365,o=void 0!==o?!!o:!!n(i);var s=(new Date).getTime();if(a=r(i),window.cookieRead("s_vnc"+i))var c=window.cookieRead("s_vnc"+i).split("&vn="),u=c[1];return window.cookieRead("s_ivc")?u?(window.cookieWrite("s_ivc",!0,30),u):"unknown visit number":void 0!==u?(u++,c=o&&n(i)?s+864e5*i:c[0],a.setTime(c),window.cookieWrite("s_vnc"+i,c+"&vn="+u,a),window.cookieWrite("s_ivc",!0,30),u):(c=n(i)?s+864e5*i:r(i).getTime(),window.cookieWrite("s_vnc"+i,c+"&vn=1",a),window.cookieWrite("s_ivc",!0,30),"1")}e.exports.getVisitNum=t}},"common-analytics-plugins/src/lib/plugins/inList.js":{script:function(e){function t(e,t,n,r){var i=e,o=t,a=n,s=r;if("-v"===i)return{plugin:"inList",version:"3.0"};e:{if(void 0!==window.s_c_il)for(var c=0;ce.indexOf("contextData")?this[e]="":(e=e.substring(e.indexOf(".")+1),this.contextData[e]&&(this.contextData[e]="")))},a.lowerCaseVars=function(e){this[e]&&("events"!==e&&-1===e.indexOf("contextData")?(this[e]=this[e].toString(),0!==this[e].indexOf("D=")&&(this[e]=this[e].toLowerCase())):-1]+(>|$)/g,"").trim().replace(/[\u2018\u2019\u201A]/g,"'").replace(/\t+/g,"").replace(/[\n\r]/g," ");-1e.indexOf("contextData")?this[e]=t(this[e]):(e=e.substring(e.indexOf(".")+1),this.contextData[e]&&(this.contextData[e]=t(this.contextData[e].toString()))))},a.pt=function(e,t,n,r){if(e&&this[n]){t=(e=e.split(t||",")).length;for(var i,o=0;os;s++)c+=",prop"+s;for(s=1;251>s;s++)c+=",eVar"+s;for(s=1;6>s;s++)c+=",hier"+s;for(s=1;4>s;s++)c+=",list"+s;for(s in a.contextData)c+=",contextData."+s;if(i){if(1==o)c=i.replace("['",".").replace("']","");else if(0==o){for(x in i=i.split(","),o=c.split(","),c="",i)for(y in-1e-t&&0<=e-t?parseFloat((e-t)/1e3).toFixed(2):60}e.exports.performanceCheck=t}},"common-analytics-plugins/src/lib/plugins/performanceWriteFull.js":{script:function(e){function t(){var e=this,t=performance.timing;0s?t:s)+","+c+","+(e>l?e:l)+","+(o>d?o:d)+","+(i>u?i:u)),n.c_w("s_ppv",a)}}}e.exports.handlePPVevents=t}},"common-analytics-plugins/src/lib/plugins/getPercentPageViewed.js":{script:function(e){function t(e,t){function n(){if(window.ppvID){var e=Math.max(Math.max(document.body.scrollHeight,document.documentElement.scrollHeight),Math.max(document.body.offsetHeight,document.documentElement.offsetHeight),Math.max(document.body.clientHeight,document.documentElement.clientHeight)),t=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,n=(window.pageYOffset||window.document.documentElement.scrollTop||window.document.body.scrollTop)+t,r=Math.min(Math.round(n/e*100),100),i=Math.floor(n/t);t=Math.floor(e/t);var o="";if(!window.cookieRead("s_tp")||decodeURIComponent(window.cookieRead("s_ppv").split(",")[0])!==window.ppvID||window.p_fo(window.ppvID)||1==window.ppvChange&&window.cookieRead("s_tp")&&e!=window.cookieRead("s_tp")){if((decodeURIComponent(window.cookieRead("s_ppv").split(",")[0])!==window.ppvID||window.p_fo(window.ppvID+"1"))&&window.cookieWrite("s_ips",n),window.cookieRead("s_tp")&&decodeURIComponent(window.cookieRead("s_ppv").split(",")[0])===window.ppvID){window.cookieRead("s_tp");var a=-1<(o=window.cookieRead("s_ppv")).indexOf(",")?o.split(","):[];o=a[0]?a[0]:"",a=a[3]?a[3]:"";var s=window.cookieRead("s_ips");o=o+","+Math.round(a/e*100)+","+Math.round(s/e*100)+","+a+","+i}window.cookieWrite("s_tp",e)}else o=window.cookieRead("s_ppv");var c=o&&-1a?r:a)+","+s+","+(n>u?n:u)+","+(i>l?i:l)+","+(t>c?t:c)),window.cookieWrite("s_ppv",o)}}var r=e,i=t;if("-v"===r)return{plugin:"getPercentPageViewed",version:"5.0.1"};var o=function(){if(void 0!==window.s_c_il)for(var e,t=0;tn?"":decodeURIComponent(t.substring(n+2+e.length,0>r?t.length:r)))?e:""},window.p_fo=window.p_fo||function(e){return window.__fo||(window.__fo={}),!window.__fo[e]&&(window.__fo[e]={},!0)};var a=window.cookieRead("s_ppv");a=-1Math.abs(e)?Math.round(Math.abs(e)):17:10;for(var t="1",n=0;n= args.length)\n clearInterval(x);\n }\n if(limit < 0) clearInterval(x);\n limit--;\n }, 250);\n};\n\nvariable_store_queue(\n function(){\n return !!window.digitalData && !!window.digitalData.events;\n },\n function(){\n window.digitalData.events.pushProxy = window.digitalData.events.push;\n window.digitalData.events.push = function() {\n try {\n if (!!arguments && arguments.length > 0) {\n var eventData = arguments[0];\n var eventsList = [];\n\n // identify events in eventData\n for (var prop in eventData) {\n if (eventData.hasOwnProperty(prop)) {\n if (prop == "event") {\n eventsList.push(eventData[prop]);\n } else if ((eventData[prop] === 1) || (eventData[prop] === "1")) {\n eventsList.push(prop);\n }\n }\n }\n\n // facilitate persistent access of event data using a variable store\n if (!!window.variableStore\n && !!window.variableStore.eventData\n && !!window.variableStore.eventData.set) {\n for (var e=0;e'\ndocument.body.appendChild(ns)",language:"javascript"}}]},{id:"RL7c2634ebf4d64b978fed6dff5f450ee1",name:"Block All Alerts",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:1}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!window.spade}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{global:!1,source:"//Minify version of - Block all alerts\n\n(function() {\n window.alert = function() {}\n})();",language:"javascript"}}]},{id:"RL8892c7b430ae4f5187e075006b250019",name:"Remove_most_commented_and_login_section_page",events:[{modulePath:"core/src/lib/events/customCode.js",settings:{source:function(){document.getElementsByClassName("menu__user-btn")}},ruleOrder:50},{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!window.spade}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!window.sanctuary}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/23f51728685d/6200c30b6543/4ecc907b297c/RC6877a9dbda0d45fd923d5d362feb4ec2-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL8d307acbb36146b491a016f28353ff10",name:"Common Analytics Plugins - Initialise getPreviousValue",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[],actions:[{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetPreviousValue.js",settings:{}}]},{id:"RL9be7c276c0554a6a8e11d3ab50e629ce",name:"Brand Metric",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"var script = document.createElement('script');\nscript.type = 'text/javascript';\nscript.src = 'https://cdn.brandmetrics.com/tag/28a8e7a75ebc4c80a43b7dcd8c12b39a/stuff.js'; \n\ndocument.head.appendChild(script);",language:"javascript"}}]},{id:"RL9d357bd83dce4afd8511d0a069497447",name:"Piano",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return window.sics}},negate:!0},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return window.spade}},negate:!0}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:";(function () {\n var domain = window.location.hostname;\n\n var prodSRC = 'https://experience-au.piano.io/xbuilder/experience/load?aid=ooaGPZ28pa';\n var stagSRC = 'https://sandbox.tinypass.com/xbuilder/experience/load?aid=TGobEEIDsu';\n var src = prodSRC;\n\n if (domain == 'www.stuff.co.nz' || domain == 'i.stuff.co.nz') {\n src = prodSRC;\n } else if (\n domain == 'www-preprod.stuff.co.nz' ||\n domain == 'i-preprod.stuff.co.nz'\n ) {\n src = stagSRC\n }\n\n var a = document.createElement('script')\n a.type = 'text/javascript'\n a.async = true\n a.src = src\n var b = document.getElementsByTagName('script')[0]\n b.parentNode.insertBefore(a, b)\n})()\n",language:"javascript"}}]},{id:"RLada7d508440b457395f26f6e11d54cbd",name:"Set Drupal Member ID",events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"DrupalUserID"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return""!=window.digitalData.user[0].profile[0].profileInfo.uid?1:0}}}],actions:[{modulePath:"adobe-mcid/src/lib/actions/setCustomerIds.js",settings:{customerIds:[{value:"%DrupalUserID%",hashType:"",authState:1,integrationCode:"drupal"},{value:"%DrupalUserID%",authState:1,integrationCode:"drupalcookie"}]}}]},{id:"RLafdb2cbea67a4268ba3633fa147a7da9",name:"AdBlocker Analytics",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!window.spade}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!window.sanctuary}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/23f51728685d/6200c30b6543/4ecc907b297c/RC71854f6df4ba497abb522790b0bca466-source.min.js", language:"javascript",isExternal:!0}}]},{id:"RLb000053830de42449246c96c1d81a70c",name:"Grapeshot",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:2}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return window.spade}},negate:!0}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"var gs_channels=\"DEFAULT\";\nvar gsurl=window.location!=window.top.location?document.referrer:window.location;\n\nvar script = document.createElement('script');\nscript.type = 'text/javascript';\nscript.src = '//stuffnz-sydney.gscontxt.net/main/channels.cgi?url='+encodeURIComponent(gsurl); \n\ndocument.head.appendChild(script);",language:"javascript"}}]},{id:"RLc8b5b2f6c53f4974a1675b9b045b885e",name:"LiveRamp",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"var atsScript = document.createElement('script');\n\natsScript.onload = function () {\n var accountFromLocalStorage = localStorage.getItem('__storejs_stuff-experience_s-b2c-token');\n \n try {\n if (accountFromLocalStorage != \"\") {\n var emailFromLocalStorage = JSON.parse(accountFromLocalStorage).account.idTokenClaims.email;\n ats.setAdditionalData({\n 'type': 'email',\n 'id': emailFromLocalStorage\n });\n } else {\n return;\n }\n } catch (error) {}\n};\n\natsScript.src = 'https://ats-wrapper.privacymanager.io/ats-modules/e04f825f-2a7d-4df7-bd1c-94238dbc6771/ats.js';\ndocument.body.appendChild(atsScript);",language:"javascript"}}]},{id:"RLc8cdb734c4ca44cf841f29410bb0a512",name:"[SPADE] Google Analytics Production",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return window.spade}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"\nvar scriptTag = document.createElement('script');\nscriptTag.src = \"https://www.googletagmanager.com/gtag/js?id=UA-1056754-1\";\nscriptTag.async = true;\ndocument.head.appendChild(scriptTag)\n\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'UA-1056754-1');",language:"javascript"}}]},{id:"RLcaffbe512ed140f8a1bac48d888ff141",name:"Common Analytics Plugins - initialise getPageLoadTime",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[],actions:[{modulePath:"common-analytics-plugins/src/lib/actions/initializeGetPageLoadTime.js",settings:{}}]},{id:"RLda2c54d00bee4163b41822da815002c7",name:"Google Analytics Page VIew",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:51}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!window.spade}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!window.sanctuary}}}],actions:[{modulePath:"google-universal-analytics/src/lib/actions/sendPageView.js",settings:{}}]},{id:"RLe0d7b0b9bc9e45f7965c8f381ed2a082",name:"[SPADE] Adobe Analytics",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"NavigationEndForAnalytics",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50},{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return window.spade}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{}}},{modulePath:"adobe-mcid/src/lib/actions/setCustomerIds.js",settings:{customerIds:[{value:"%UID cookie%",hashType:"",authState:1,integrationCode:"458"}]}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"page"}}]},{id:"RLe8be4361152d41048c41caa99a2acece",name:"Teads Video OutStream tag",events:[{modulePath:"core/src/lib/events/elementExists.js",settings:{elementSelector:"body"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!window.spade}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!window.sanctuary}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/23f51728685d/6200c30b6543/4ecc907b297c/RC70afc43a296841f98c234211f65c972e-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLe9556473462244098c2b0c57712452d4",name:"Adobe Analytics Page Beacon",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:51}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!(void 0!==window.blockDefaultPageviewBeacon&&1==window.blockDefaultPageviewBeacon||window.digitalData&&window.digitalData.page&&window.digitalData.page.suppressPageviewBeacon&&window.digitalData.page.suppressPageviewBeacon||/neighbourly\.co\.nz/i.test(window.location.href))}}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){return!window.spade}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(){console.log("UID is:"+_satellite.getVar("UID cookie"))}},trackerProperties:{}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"page"}}]},{id:"RLeb22d8c2d9654287a46ff46590287502",name:"Parse.ly PageLoad",events:[{modulePath:"core/src/lib/events/domReady.js",settings:{},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.adobedtm.com/23f51728685d/6200c30b6543/4ecc907b297c/RC547aaccc21c34cc58a30baa19a642b74-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLf89e160c57f54f21932cb84fd5ef79c5",name:"Common Analytics Plugins - p_fo (Page First Ony)",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[],actions:[{modulePath:"common-analytics-plugins/src/lib/actions/initializeP_fo.js",settings:{}}]}]};var _satellite=function(){"use strict";function e(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function t(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}function n(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})})),t}function r(e){var t={exports:{}};return e(t,t.exports),t.exports}function i(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}function o(e){return Boolean(e&&void 0!==e.length)}function a(){}function s(e,t){return function(){e.apply(t,arguments)}}function c(e){if(!(this instanceof c))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],g(e,this)}function u(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,c._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void d(t.promise,e)}l(t.promise,r)}else(1===e._state?l:d)(t.promise,e._value)}))):e._deferreds.push(t)}function l(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof c)return e._state=3,e._value=t,void f(e);if("function"==typeof n)return void g(s(n,t),e)}e._state=1,e._value=t,f(e)}catch(t){d(e,t)}}function d(e,t){e._state=2,e._value=t,f(e)}function f(e){2===e._state&&0===e._deferreds.length&&c._immediateFn((function(){e._handled||c._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t10?(G.error("Data element circular reference detected: "+s.join(" -> ")),e):a(e,t)}},fe=function(e){return function(){if("string"==typeof arguments[0])e[arguments[0]]=arguments[1];else if(arguments[0]){var t=arguments[0];for(var n in t)e[n]=t[n]}}},pe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},ge=setTimeout;c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){var n=new this.constructor(a);return u(this,new p(e,t,n)),n},c.prototype.finally=i,c.all=function(e){return new c((function(t,n){function r(e,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var s=o.then;if("function"==typeof s)return void s.call(o,(function(t){r(e,t)}),n)}i[e]=o,0==--a&&t(i)}catch(e){n(e)}}if(!o(e))return n(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var a=i.length,s=0;s0&&s>a&&(s=a);for(var c=0;c=0?(u=p.substr(0,g),l=p.substr(g+1)):(u=p,l=""),d=decodeURIComponent(u),f=decodeURIComponent(l),v(i,d)?Array.isArray(i[d])?i[d].push(f):i[d]=[i[d],f]:i[d]=f}return i},tt=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},nt=function(e,t,n,r){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(r){var i=encodeURIComponent(tt(r))+n;return Array.isArray(e[r])?e[r].map((function(e){return i+encodeURIComponent(tt(e))})).join(t):i+encodeURIComponent(tt(e[r]))})).join(t):r?encodeURIComponent(tt(r))+n+encodeURIComponent(tt(e)):""},rt=r((function(e,t){t.decode=t.parse=et,t.encode=t.stringify=nt})),it="@adobe/reactor-",ot={cookie:Ze,document:w,"load-script":$e,"object-assign":x,promise:ve,"query-string":{parse:function(e){return"string"==typeof e&&(e=e.trim().replace(/^[?#&]/,"")),rt.parse(e)},stringify:function(e){return rt.stringify(e)}},window:D},at=function(e){return function(t){if(0===t.indexOf(it)){var n=t.substr(it.length),r=ot[n];if(r)return r}if(0===t.indexOf("./")||0===t.indexOf("../"))return e(t);throw new Error('Cannot resolve module "'+t+'".')}},st=function(e,t,n,r,i,o,a){var s=e.extensions,c=e.buildInfo,u=e.environment,l=e.property.settings;if(s){var d=ze(s,t);Object.keys(s).forEach((function(f){var p=s[f],g=p.settings;Array.isArray(p.filePaths)&&(g=o(g,p.filePaths));var m=qe(r,g);if(p.modules){var v=G.createPrefixedLogger(p.displayName),h=Ge(a,p.hostedLibFilesBaseUrl,c.minified),y={buildInfo:c,environment:u,property:{name:e.property.name,id:e.property.id},getDataElementValue:i,getExtensionSettings:m,getHostedLibFileUrl:h,getSharedModule:d,logger:v,propertySettings:l,replaceTokens:r,onDebugChanged:n.onDebugChanged,get debugEnabled(){return n.getDebugEnabled()}};Object.keys(p.modules).forEach((function(e){var n=p.modules[e],r=at((function(n){var r=Qe(e,n);return t.getModuleExports(r)}));t.registerModule(e,n,f,r,y)}))}})),t.hydrateCache()}return t},ct=function(e,t,n,r,i){var o=G.createPrefixedLogger("Custom Script");e.track=function(e){G.log('"'+e+'" does not match any direct call identifiers.')},e.getVisitorId=function(){return null},e.property={name:t.property.name,id:t.property.id},e.company=t.company,e.buildInfo=t.buildInfo,e.environment=t.environment,e.logger=o,e.notify=function(e,t){switch(G.deprecation("_satellite.notify is deprecated. Please use the `_satellite.logger` API."),t){case 3:o.info(e);break;case 4:o.warn(e);break;case 5:o.error(e);break;default:o.log(e)}},e.getVar=r,e.setVar=i,e.setCookie=function(e,t,n){var r="",i={};n&&(r=", { expires: "+n+" }",i.expires=n);var o='_satellite.setCookie is deprecated. Please use _satellite.cookie.set("'+e+'", "'+t+'"'+r+").";G.deprecation(o),Ze.set(e,t,i)},e.readCookie=function(e){return G.deprecation('_satellite.readCookie is deprecated. Please use _satellite.cookie.get("'+e+'").'),Ze.get(e)},e.removeCookie=function(e){G.deprecation('_satellite.removeCookie is deprecated. Please use _satellite.cookie.remove("'+e+'").'),Ze.remove(e)},e.cookie=Ze,e.pageBottom=function(){},e.setDebug=n;var a=!1;Object.defineProperty(e,"_container",{get:function(){return a||(G.warn("_satellite._container may change at any time and should only be used for debugging."),a=!0),t}})},ut=function(e,t){return function(n,r,i){return e&&Be(n)&&Object.keys(n).length&&Array.isArray(r)&&r.length?(r.forEach((function(e){Boolean(null!=i&&/^core\/.*actions.*\/customCode\.js$/.test(i))&&"source"===e&&!n.isExternal||b(e.split("."),n,t)})),n):n}},lt=window._satellite;if(lt&&!window.__satelliteLoaded){window.__satelliteLoaded=!0;var dt=lt.container;delete lt.container;var ft=x({},dt.buildInfo);Object.defineProperty(ft,"environment",{get:function(){return G.deprecation("container.buildInfo.environment is deprecated.Please use `container.environment.stage` instead"),dt.environment.stage}}),dt.buildInfo=ft;var pt,gt=A(J("localStorage"),G),mt="";w.currentScript&&w.currentScript.getAttribute("src")&&(mt=w.currentScript.getAttribute("src"));try{pt=E(mt,Boolean(dt.company.dynamicCdnEnabled),dt.company.cdnAllowList,gt)}catch(e){throw G.warn("Please review the following error:"),e}var vt,ht=ut(pt.isDynamicEnforced,pt.decorateWithDynamicHost),yt=ce(),bt=dt.property.settings.undefinedVarsReturnEmpty,wt=dt.property.settings.ruleComponentSequencingEnabled,_t=dt.dataElements||{},Ct=function(e){return _t[e]},kt=function(){return vt.apply(null,arguments)},St=ne(yt,Ct,kt,bt,ht),xt={},Dt=fe(xt),Et=ae(xt,Ct),It=oe(xt,Ct,St);vt=de(Et,It,bt),ct(lt,dt,gt.setDebugEnabled,It,Dt),st(dt,yt,gt,vt,St,ht,pt.decorateWithDynamicHost);var Tt=le(lt),At=O(yt,vt,ht),Pt=Se(yt),Ot=Te(Pt,G,Tt),jt=Ie(je,Pt,G,Tt),Mt=Ee(je,Pt,G,Tt),Nt=Ae(G,Tt),Lt=De(Oe(wt,ke(Ce(At,Me,Ot,jt),Pe(At,Mt,Nt)),we(ye(At,Fe,Me,jt,Ot),he(At,Fe,Mt),Nt),Tt),At,He,je,xe(yt),G);Ve(I,dt.rules||[],Lt)}return lt}console.warn("Adobe Launch is unsupported in IE 9 and below.")}();