You are on page 1of 11

var ace=ace||{},ace=(ace.analytics=ace.

analytics||
{},ace.analytics.Metrics=function(){"use strict";var
r={};return{logMetric:function(e,t){r[e]=t||new Date},sendMetrics:function(e)
{if(ace.analytics.Metrics.loadTimestamp){for(var t in
r)r.hasOwnProperty(t)&&0<r[t]&&(r[t]=r[t]-ace.analytics.Metrics.loadTimestamp);var
n=ace.analytics.Cohort.readAtlCohort(),n={event:"metrics",eventComponent:"atlGlobal
",metrics:r,atlJSVersion:ace.analytics.version,cohort:n?
n.bucketAll.index:null,host:e?e.hostFake:window.location.host,path:e?
e.pathFake:window.location.pathname,pageViewId:ace.analytics.Tracking.getPageViewId
()};ace.analytics.GASv3.sendUIEvent("",n,!0),r={}}},resetMetrics:function()
{r={}},METRICS_KEYS:
{TIME_TO_LOAD:"timeToLoad",TIME_TO_SEGMENT_LOAD:"timeToSegmentLoad",TIME_TO_AVAILAB
LE:"timeToAvailable",TIME_TO_READY:"timeToReady",TIME_TO_START_LOAD_XID:"timeToStar
tLoadXID",TIME_TO_START_GET_XID:"timeToStartGetXID",TIME_TO_LOAD_XID:"timeToLoadXID
"}}}(),ace||{}),ace=(ace.mkt=ace.mkt||{},ace.mkt.Cookie=function(){"use
strict";return{getCookieUrl:function(e,t){return null!
==(e=ace.mkt.Cookie.readCookie(e))?e:t},readCookie:function(e){try{for(var
t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var i=n[r];"
"===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return
i.substring(t.length,i.length)}}catch(e){}return
null},writeCookie:function(e,t,n,r){ace.mkt.Cookie.writeCookieInSeconds(e,t,n?
24*n*60*60:null,r)},writeCookieInSeconds:function(e,t,n,r){try{var
i,a,o,c,s="",l=(n&&((i=new Date).setTime(i.getTime()+1e3*n),s=";
expires="+i.toGMTString()),e+"="+t+s+";
path=/;"),u=window.location.hostname;"localhost"!==u&&!0===r&&(l+=" domain="+
(u=1<(a=u.split(".")).length&&(o=a[a.length-1],c=a[a.length-2],isNaN(o)||
isNaN(c))?"."+c+"."+o:u)+";"),document.cookie=l}catch(e){}}}}(),ace||
{}),ace=(ace.mkt=ace.mkt||{},ace.mkt.Guid=function(){"use strict";var e,t;return
e=this,t=function(){var a="undefined"!=typeof
crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!
=typeof msCrypto&&"function"==typeof
msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),o=new
Uint8Array(16);for(var c=[],e=0;e<256;+
+e)c.push((e+256).toString(16).substr(1));return function(e,t,n){var r=(e=e||
{}).random||(e.rng||function(){if(a)return a(o);throw new
Error("crypto.getRandomValues() not supported. See
https://github.com/uuidjs/uuid#getrandomvalues-not-supported")})();if(r[6]=15&r[6]|
64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return
t}return(c[r[0]]+c[r[1]]+c[r[2]]+c[r[3]]+"-"+c[r[4]]+c[r[5]]+"-"+c[r[6]]+c[r[7]]
+"-"+c[r[8]]+c[r[9]]+"-"+c[r[10]]+c[r[11]]+c[r[12]]+c[r[13]]+c[r[14]]
+c[r[15]]).toLowerCase()}},"object"==typeof exports&&"undefined"!=typeof module?
module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||
self).uuidv4=t(),{guid:function(){try{return uuidv4()}catch(e){return
Math.guid()}},guidNoDashes:function(){return
uuidv4().replace(/-/g,"")},addNumberToGUID:function(e,t){var n,r=e.slice(-
4),i=parseInt(r,16);return isNaN(i)?e:(n=i.toString(16).length,65535<(i+=t)?i-
=65536:i<0&&(i+=65536),(r=i.toString(16)).length<n&&(r=("00000"+r).slice(-
n)),e.slice(0,e.length-r.length)+r)},guidHashCode:function(e){for(var
t=0,n=0;n<e.length;n++)t=(t+=Math.pow(31*e.charCodeAt(n),e.length-n))&t;return
Math.abs(t)}}}(),ace||{}),ace=(ace.mkt=ace.mkt||{},ace.mkt.Helpers=function(){"use
strict";var t=/[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:
[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/i,n="/path-
contained-email-
address",r={LOCAL:"local",DEV:"dev",STAGE:"stage",PROD:"prod"};function e(){try{var
e,t,n="atl-
global",r=".min.js",i=document.querySelector('script[src*="'+n+r+'"]');return i||
(r=".js",i=document.querySelector('script[src*="'+n+r+'"]')),i?
(t=i.src.indexOf(n+r),{source:i.src.substring(0,t),extension:r}):
(e=window.location&&window.location.href||
null,ace.mkt.Helpers.logEvent("OwkfO6MbQAZAEBuW9CxxAgyahOi8I51r","error","getScript
returns
default",{location:e}),{source:"https://atl-global.atlassian.com/js/",extension:".m
in.js"})}catch(e){return null}}function i(){var e,t=function(){for(var
e,t=document.getElementsByTagName("link"),n=0;e=t[n];n+
+)if("canonical"===e.getAttribute("rel"))return e.getAttribute("href")}();return
t||(-1===(e=(t=window.location.href).indexOf("#"))?t:t.slice(0,e))}function a(e)
{return decodeURIComponent(e).match(t)}function o(e){var
t=document.createElement("a");return t.href=e,t.protocol+"//"+t.host}function c(e)
{return Number.isNaN(Number(e))||"string"!=typeof e||""===e.trim()?
null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||
(e="true"===e.toLowerCase()):e=Number(e),e}function s(e){var
n={};if("string"==typeof e&&(e=e.trim().replace(/^[?#&]/,""))){for(var
t=e.split("&"),r=0;r<t.length;r++){t[r]=t[r].replace(/\+/g," ");var
i=t[r].indexOf("="),a=t[r],o=void
0;0<=i&&(a=t[r].slice(0,i),o=t[r].slice(i+1));try{o=void 0===o?
null:decodeURIComponent(o),a=decodeURIComponent(a)}catch(e){}n[a]=void 0===n[a]?o:
[].concat(n[a],o)}Object.keys(n).forEach(function(e){var t=n[e];"object"==typeof
t&&null!==t?Object.keys(t).forEach(function(e){t[e]=c(t[e])}):n[e]=c(t)})}return
n}return window.location.origin||
(window.location.origin=window.location.protocol+"//"+window.location.hostname+
(window.location.port?":"+window.location.port:"")),{addActualUrl:function(e)
{window.location.href!==i()&&(e.url?
e.actualUrl=e.url:e.actualUrl=window.location.href)},addLoadEvent:function(e){var
t;"complete"===document.readyState?e():window.addEventListener?
window.addEventListener("load",e,!1):window.attachEvent?
window.attachEvent("onload",e):(t=window.onload,window.onload=function()
{t&&t(),e()})},ENVIRONMENT:r,MARKETO_DOMAINS:
["www.atlassian.com","community.atlassian.com","confluence.atlassian.com","events.a
tlassian.com","wac.stg.internal.atlassian.com","community.stg.atlassian.com","confl
uence.stg.internal.atlassian.com"],getScript:e,getParameterByName:function(e)
{return e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),null===(e=new RegExp("[\\?
&]"+e+"=([^&#]*)").exec(window.location.search))?"":decodeURIComponent(e[1].replace
(/\+/g," "))},getBaseUrl:function(){return window.location.origin||
window.location.protocol+"//"+window.location.hostname+
(window.location.port?":"+window.location.port:"")},getEnvironment:function(){var
e=ace.mkt.Helpers.getScript();if(e&&e.source){e=e.source;if(e.match("localhost:")||
e.match("127.0.0.1:"))return r.LOCAL;if(e.match("/stp/qa/")||e.match("atl-
global.stg"))return r.STAGE;if(e.match("/stp/current/")||e.match("atl-
global.atlassian"))return r.PROD}return r.DEV},getUtms:function(e){if(-
1===window.location.search.indexOf("utm_"))return null;for(var t in
e)e.hasOwnProperty(t)&&(e[t]=ace.mkt.Helpers.getParameterByName(t));return
e},getCanonicalUrl:i,urlWithoutPath:o,urlContainsEmail:a,addCleanedUrlAndPaths:func
tion(e){return
e.url=window.location.origin+n,e.path=n,e.search="",e},addCleanedReferrer:function(
e){return e.referrer=o(document.referrer)+n,e},emailAddressIsDetected:function()
{return a(window.location.href)||a(document.referrer)},endsWith:function(e,t)
{return-1!==e.indexOf(t,e.length-t.length)},hostnameFromUrl:function(e){return
e.replace(/http(s|):\/\//g,"").split(/(\/|:)/g)[0]},isObject:function(e){return
null!==e&&"object"==typeof e&&!1===Array.isArray(e)},flattenObject:function(e,l)
{var u=(l=l||{}).delimiter||".",d=l.maxDepth,p={};return function a(o,c,s){s=s||
1,Object.keys(o).forEach(function(e){var
t=o[e],n=l.safe&&Array.isArray(t),r=Object.prototype.toString.call(t),i=null!
==(i=t)&&null!==i.constructor&&"function"==typeof
i.constructor.isBuffer&&i.constructor.isBuffer(i),e=c?c+u+e:e;if(!n&&!i&&("[object
Object]"===r||"[object Array]"===r)&&Object.keys(t).length&&(!l.maxDepth||
s<d))return a(t,e,s+1);p[e]=t})}(e),p},flattenDataToObject:function(t,e,n){var
r={};return
r[e]=ace.mkt.Helpers.flattenObject(n),r=ace.mkt.Helpers.flattenObject(r),Object.key
s(r).forEach(function(e){t[e]=r[e]}),t},logEvent:function(e,t,n,r,i)
{ace.mkt.Helpers.makeRestRequest("POST","https://api.segment.io/v1/t",
[{header:"Content-type",value:"text/
plain"}],JSON.stringify({userId:t,event:n,properties:r,writeKey:e}),!
1,null,i)},makeRestRequest:function(e,t,n,r,i,a,o){var c=o||new
XMLHttpRequest;if(c.open(e,t),c.withCredentials=i||!1,n)for(var s=0;s<n.length;s+
+)c.setRequestHeader(n[s].header,n[s].value);r=r||
null,c.onreadystatechange=function()
{c.readyState===XMLHttpRequest.DONE&&(200<=c.status&&c.status<300?
a&&a(c.responseText):a&&a("error"))},c.send(r)},queryString:s,sendWrapperLoadError:
function(e,t){var n,r;ace.analytics.LaunchDarkly.getFeatureFlagForUser("load-error-
logging")&&((r=ace.mkt.Cookie.readCookie("ajs_anonymous_id"))&&(n=decodeURIComponen
t(r).replace(/['"]+/
g,"")),r=ace.mkt.Cookie.readCookie("__aid_user_id"),n={anonymousId:n||
null,userId:decodeURIComponent(r)||null,xid:ace.mkt.Cookie.readCookie("seg_xid")||
null,message:e||null,version:ace.analytics.version||null,additionalData:t||
null},r=ace.mkt.Helpers.getEnvironment()===ace.mkt.Helpers.ENVIRONMENT.PROD?"https:
//www.atlassian.com/endpoint/atlglobalload":"https://
wac.stg.internal.atlassian.com/endpoint/
atlglobalload",ace.mkt.Helpers.makeRestRequest("POST",r,[{header:"Content-
type",value:"application/json"},{header:"accept",value:"*/*"}],JSON.stringify(n),!
1))},getWrapperScript:e,maskURL:function(e){var t,n,r,i;return""===e||void 0===e?e:
(t=s((e=new URL(e)).search),n=t,r={},Object.keys(n).forEach(function(e){a(n[e])||
(r[e]=n[e])}),t=r,e.origin+
(e=e.pathname,i="",a(e)&&e.split("/").forEach(function(e){""===e||a(e)||
(i=i+"/"+e)}),""===i?e:i)+(e=t,e=""!==(e=new URLSearchParams(e).toString("utf-
8"))?"?"+e:e))}}}(),Math.trueRandom=function(){function s(){function e(e)
{e=e.toString();for(var t=0;t<e.length;t++){var
n=.02519603282416938*(r+=e.charCodeAt(t));r=(n=(n-
(r=n>>>0))*r)>>>0,r+=4294967296*(n-=r)}return 2.3283064365386963e-10*(r>>>0)}var
r=4022871197;return
e.version="Mash 0.9",e}return function(){var
e=Array.prototype.slice.call(arguments),t=0,n=0,r=0,i=1;0==e.length&&(e=[+new
Date]);for(var t=(c=s())(" "),n=c(" "),r=c(" "),a=0;a<e.length;a++)(t-
=c(e[a]))<0&&(t+=1),(n-=c(e[a]))<0&&(n+=1),(r-=c(e[a]))<0&&(r+=1);function o(){var
e=2091639*t+2.3283064365386963e-10*i;return t=n,n=r,r=e-(i=0|e)}var c=null;return
o.uint32=function(){return 4294967296*o()},o.fract53=function(){return o()
+11102230246251565e-32*(2097152*o()|0)},o.version="Alea 0.9",o.args=e,o}()}
(),Math.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/
[xy]/g,function(e){var t=16*Math.trueRandom()|0;return("x"==e?t:3&t|
8).toString(16)})},ace||{}),globalRequire=(ace.mkt=ace.mkt||
{},ace.mkt.TrelloUrlScrubber=function(){"use strict";var
e={BOARD:"board",BOARD_BUTLER:"board-butler",BOARD_BUTLER_PAGE:"board-butler-
page",BOARD_RECOMMEND:"board-recommend",CARD:"card",ENTERPRISE_ADMIN:"enterprise-
admin",ENTERPRISE_ADMIN_TAB:"enterprise-admin-
tab",ENTERPRISE_ADMIN_TAB_SUBSECTION:"enterprise-admin-tab-
subsection",HOME:"home",TEMPLATES:"templates",TEMPLATES_CATEGORIES:"templates-
categories",TEMPLATES_STORY:"templates-story",TEMPLATES_RECOMMEND:"templates-
recommend",TEMPLATES_SUBMIT:"templates-
submit",TEMPLATE:"template",USER:"user",USER_TABS:"user-
tabs",USER_CARDS_WORKSPACE:"user-cards-
workspace",VIEW:"view",WORKSPACE:"workspace",WORKSPACE_SECTION:"workspace-
section",WORKSPACE_MEMBERS_SUBSECTION:"workspace-members-
subsection",WORKSPACE_VIEWS_SUBSECTION:"workspace-views-
subsection",POWER_UPS_HOME:"power-ups-home",POWER_UPS_ALL:"power-ups-
all",POWER_UPS_TRELLO:"power-ups-trello",POWER_UPS_CATEGORIES:"power-ups-
categories",UPGRADETEAM:"select-team-to-
upgrade",SHORTCUTS:"shortcuts"},t=0,n=1,r=3,i=4,a=4,o=2,c=3,s=4,l=1,u=1,d=2,p=1,f=1
,m=2,g=4,h=2,E=2,w=3,y=new Map([[e.BOARD_RECOMMEND,{id:e.BOARD_RECOMMEND,regExp:new
RegExp("^/b/([^/]+)/([^/]+)/([^/]+)/recommend$"),allowlist:[t,n,a]}],
[e.BOARD_BUTLER_PAGE,{id:e.BOARD_BUTLER_PAGE,regExp:new RegExp("^/b/([^/]+)/([^/]
+)/butler/(rules|card-buttons|board-buttons|schedule|on-dates|connected-apps)
$"),allowlist:[t,n,r,i]}],[e.BOARD_BUTLER,{id:e.BOARD_BUTLER,regExp:new
RegExp("^/b/([^/]+)/([^/]+)/butler/$"),allowlist:[t,n,r]}],[e.BOARD,
{id:e.BOARD,regExp:new RegExp("^/b/([^/]+)(?:/(.*?))?$"),allowlist:[t,n]}],[e.CARD,
{id:e.CARD,regExp:new RegExp("^/c/"),allowlist:[t,n]}],
[e.ENTERPRISE_ADMIN_TAB_SUBSECTION,{id:e.ENTERPRISE_ADMIN_TAB_SUBSECTION,regExp:new
RegExp("^/e/([^/]+)/admin/(members|workspaces|boards)/(managed|boardguests|
deactivated|non-enterprise|pending|public)$"),allowlist:[t,o,c,s]}],
[e.ENTERPRISE_ADMIN_TAB,{id:e.ENTERPRISE_ADMIN_TAB,regExp:new
RegExp("^/e/([^/]+)/admin/(members|workspaces|settings|attachment-restrictions|
boards|power-ups|auditlog|account-administration|sso|api-tokens)$"),allowlist:
[t,o,c]}],[e.ENTERPRISE_ADMIN,{id:e.ENTERPRISE_ADMIN,regExp:new RegExp("^/e/([^/]
+)/admin$"),allowlist:[t,o]}],[e.POWER_UPS_HOME,{id:e.POWER_UPS_HOME,regExp:new
RegExp("^/power-ups$"),allowlist:[t]}],[e.POWER_UPS_ALL,
{id:e.POWER_UPS_ALL,regExp:new RegExp("^/power-ups/all$"),allowlist:[t,l]}],
[e.POWER_UPS_TRELLO,{id:e.POWER_UPS_TRELLO,regExp:new RegExp("^/power-ups/made-by-
trello$"),allowlist:[t,l]}],[e.POWER_UPS_CATEGORIES,
{id:e.POWER_UPS_CATEGORIES,regExp:new RegExp("^/power-ups/category/(automation|
analytics-reporting|board-utilities|communication-collaboration|developer-tools|
file-management|hr-operations|it-project-management|marketing-social-media|product-
design|sales-support)$"),allowlist:[t,u,d]}],[e.HOME,{id:e.HOME,regExp:new
RegExp("^/$"),allowlist:[t]}],[e.UPGRADE_TEAM,{id:e.UPGRADE_TEAM,regExp:new
RegExp("^/select-team-to-upgrade$"),allowlist:[t]}],[e.SHORTCUTS,
{id:e.SHORTCUTS,regExp:new RegExp("^/shortcuts$"),allowlist:[t]}],
[e.TEMPLATES_SUBMIT,{id:e.TEMPLATES_SUBMIT,regExp:new
RegExp("^/templates/submit$"),allowlist:[t,p]}],[e.TEMPLATES_RECOMMEND,
{id:e.TEMPLATES_RECOMMEND,regExp:new
RegExp("^/templates/([^/]+)/([^/]+)/([^/]+)/recommend$"),allowlist:[t,f,m,g]}],
[e.TEMPLATES_CATEGORIES,{id:e.TEMPLATES_CATEGORIES,regExp:new
RegExp("^/templates/(business|design|education|engineering|marketing|operations-hr|
personal|productivity|product-management|project-management|remote-work|sales|
support|team-management)$"),allowlist:[t,f]}],[e.TEMPLATES_STORY,
{id:e.TEMPLATES_STORY,regExp:new RegExp("^/templates/([^/]+)/([^/]+)$"),allowlist:
[t,f,m]}],[e.TEMPLATES,{id:e.TEMPLATES,regExp:new RegExp("^/templates$"),allowlist:
[t]}],[e.USER_CARDS_WORKSPACE,{id:e.USER_CARDS_WORKSPACE,regExp:new
RegExp("^/u/([^/]+)/cards/([^/]+)$"),allowlist:[t,h]}],[e.USER_TABS,
{id:e.USER_TABS,regExp:new RegExp("^/u/([^/]+)/(profile|activity|boards|cards|labs|
tasks)$"),allowlist:[t,h]}],[e.USER,{id:e.USER,regExp:new RegExp("^/u/"),allowlist:
[t]}],[e.VIEW,{id:e.VIEW,regExp:new RegExp("^/v/"),allowlist:[t,n]}],
[e.WORKSPACE_SECTION,{id:e.WORKSPACE_SECTION,regExp:new
RegExp("^/w/([^/]+)/(account|billing|home|export|free-trial|members|tables|getting-
started|highlights|reports)$"),allowlist:[t,E]}],[e.WORKSPACE_MEMBERS_SUBSECTION,
{id:e.WORKSPACE_MEMBERS_SUBSECTION,regExp:new RegExp("^/w/([^/]+)/members/(guests|
requests)$"),allowlist:[t,E,w]}],[e.WORKSPACE_VIEWS_SUBSECTION,
{id:e.WORKSPACE_VIEWS_SUBSECTION,regExp:new RegExp("^/w/([^/]+)/views/(table|
calendar|)$"),allowlist:[t,E,w]}],[e.WORKSPACE,{id:e.WORKSPACE,regExp:new
RegExp("^/w/"),allowlist:[t]}]]);return{scrubUrl:function(e,t){var n=function(e)
{for(var t=Array.from(y.values()),n=0;n<t.length;++n){var
r=t[n];if(e.match(r.regExp))return r}}
(e),e=e.substring(1,e.length).split("/");if(n){for(var
r=e,i=n.allowlist,a="",o=0;o<r.length;o++)i.includes(o)&&(a+="/"+r[o]);return
a}return t}}}(),function(){"use strict";var require={},requirejs,define;return
function(global,setTimeout){var
req,s,head,baseElement,dataMain,src,interactiveScript,currentlyAddingScript,mainScr
ipt,subPath,version="2.3.6",commentRegExp=/\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/
gm,cjsRequireRegExp=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/
g,jsSuffixRegExp=/\.js$/,currDirRegExp=/
^\.\//,op=Object.prototype,ostring=op.toString,hasOwn=op.hasOwnProperty,isBrowser=!
("undefined"==typeof window||"undefined"==typeof navigator||!
window.document),isWebWorker=!isBrowser&&"undefined"!=typeof
importScripts,readyRegExp=isBrowser&&"PLAYSTATION
3"===navigator.platform?/^complete$/:/^(complete|loaded)
$/,defContextName="_",isOpera="undefined"!=typeof opera&&"[object
Opera]"===opera.toString(),contexts={},cfg={},globalDefQueue=[],useInteractive=!
1;function commentReplace(e,t){return t||""}function isFunction(e){return"[object
Function]"===ostring.call(e)}function isArray(e){return"[object
Array]"===ostring.call(e)}function each(e,t){if(e)for(var n=0;n<e.length&&(!e[n]||!
t(e[n],n,e));n+=1);}function eachReverse(e,t){if(e)for(var n=e.length-1;-1<n&&(!
e[n]||!t(e[n],n,e));--n);}function hasProp(e,t){return hasOwn.call(e,t)}function
getOwn(e,t){return hasProp(e,t)&&e[t]}function eachProp(e,t){for(var n in
e)if(hasProp(e,n)&&t(e[n],n))break}function mixin(n,e,r,i)
{e&&eachProp(e,function(e,t){!r&&hasProp(n,t)||(!i||"object"!=typeof e||!e||
isArray(e)||isFunction(e)||e instanceof RegExp?n[t]=e:(n[t]||
(n[t]={}),mixin(n[t],e,r,i)))})}function bind(e,t){return function(){return
t.apply(e,arguments)}}function scripts(){return
document.getElementsByTagName("script")}function defaultOnError(e){throw e}function
getGlobal(e){var t;return e&&(t=global,each(e.split("."),function(e)
{t=t[e]}),t)}function makeError(e,t,n,r){t=new
Error(t+"\nhttps://requirejs.org/docs/errors.html#"+e);return
t.requireType=e,t.requireModules=r,n&&(t.originalError=n),t}if(void 0===define)
{if(void 0!==requirejs)
{if(isFunction(requirejs))return;cfg=requirejs,requirejs=void 0}void 0===require||
isFunction(require)||(cfg=require,require=void 0),req=requirejs=function(e,t,n,r)
{var i,a=defContextName;return isArray(e)||"string"==typeof e||(i=e,isArray(t)?
(e=t,t=n,n=r):e=[]),i&&i.context&&(a=i.context),r=(r=getOwn(contexts,a))||
(contexts[a]=req.s.newContext(a)),i&&r.configure(i),r.require(e,t,n)},req.config=fu
nction(e){return req(e)},req.nextTick=void 0!==setTimeout?function(e)
{setTimeout(e,4)}:function(e){e()},require=require||
req,req.version=version,req.jsExtRegExp=/
^\/|:|\?|\.js$/,req.isBrowser=isBrowser,s=req.s={contexts:contexts,newContext:newCo
ntext},req({}),each(["toUrl","undef","defined","specified"],function(t)
{req[t]=function(){var e=contexts[defContextName];return
e.require[t].apply(e,arguments)}}),isBrowser&&(head=s.head=document.getElementsByTa
gName("head")[0],baseElement=document.getElementsByTagName("base")
[0],baseElement)&&(head=s.head=baseElement.parentNode),req.onError=defaultOnError,r
eq.createNode=function(e,t,n){var
r=e.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):do
cument.createElement("script");return
r.type=e.scriptType||"text/javascript",r.charset="utf-8",r.async=!
0,r},req.load=function(t,n,r){var e,i=t&&t.config||
{};if(isBrowser)return(e=req.createNode(i,n,r)).setAttribute("data-
requirecontext",t.contextName),e.setAttribute("data-requiremodule",n),!
e.attachEvent||e.attachEvent.toString&&e.attachEvent.toString().indexOf("[native
code")<0||isOpera?(e.addEventListener("load",t.onScriptLoad,!
1),e.addEventListener("error",t.onScriptError,!1)):(useInteractive=!
0,e.attachEvent("onreadystatechange",t.onScriptLoad)),e.src=r,i.onNodeCreated&&i.on
NodeCreated(e,i,n,r),currentlyAddingScript=e,baseElement?
head.insertBefore(e,baseElement):head.appendChild(e),currentlyAddingScript=null,e;i
f(isWebWorker)try{setTimeout(function()
{},0),importScripts(r),t.completeLoad(n)}catch(e)
{t.onError(makeError("importscripts","importScripts failed for "+n+" at "+r,e,
[n]))}},isBrowser&&!cfg.skipDataMain&&eachReverse(scripts(),function(e)
{if(head=head||e.parentNode,dataMain=e.getAttribute("data-main"))return
mainScript=dataMain,cfg.baseUrl||-1!==mainScript.indexOf("!")||
(mainScript=(src=mainScript.split("/")).pop(),subPath=src.length?src.join("/")
+"/":"./",cfg.baseUrl=subPath),mainScript=mainScript.replace(jsSuffi
xRegExp,""),req.jsExtRegExp.test(mainScript)&&(mainScript=dataMain),cfg.deps=cfg.de
ps?cfg.deps.concat(mainScript):[mainScript],!0}),define=function(e,n,t){var
r,i;"string"!=typeof e&&(t=n,n=e,e=null),isArray(n)||(t=n,n=null),!
n&&isFunction(t)&&(n=[],t.length)&&(t.toString().replace(commentRegExp,commentRepla
ce).replace(cjsRequireRegExp,function(e,t){n.push(t)}),n=(1===t.length?["require"]:
["require","exports","module"]).concat(n)),useInteractive&&(r=currentlyAddingScript
||getInteractiveScript())&&(e=e||r.getAttribute("data-
requiremodule"),i=contexts[r.getAttribute("data-requirecontext")]),i?
(i.defQueue.push([e,n,t]),i.defQueueMap[e]=!
0):globalDefQueue.push([e,n,t])},define.amd={jQuery:!0},req.exec=function(text)
{return eval(text)},req(cfg)}function newContext(s){var
t,e,p,l,n,w={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:
{}},u={},d={},r={},f=[],m={},i={},g={},h=1,E=1;function y(e,t,n){var
r,i,a,o,c,s,l,u,d,p=t&&t.split("/"),f=w.map,m=f&&f["*"];if(e)
{t=(e=e.split("/")).length-
1,w.nodeIdCompat&&jsSuffixRegExp.test(e[t])&&(e[t]=e[t].replace(jsSuffixRegExp,""))
;for(var g,h=e="."===e[0].charAt(0)&&p?p.slice(0,p.length-
1).concat(e):e,E=0;E<h.length;E++)"."===(g=h[E])?(h.splice(E,1),--E):".."!==g||
0===E||1===E&&".."===h[2]||".."===h[E-1]||0<E&&(h.splice(E-1,2),E-
=2);e=e.join("/")}if(n&&f&&(p||m)){e:for(a=(i=e.split("/")).length;0<a;--a)
{if(c=i.slice(0,a).join("/"),p)for(o=p.length;0<o;--
o)if(r=(r=getOwn(f,p.slice(0,o).join("/")))&&getOwn(r,c)){s=r,l=a;break e}!
u&&m&&getOwn(m,c)&&(u=getOwn(m,c),d=a)}!
s&&u&&(s=u,l=d),s&&(i.splice(0,l,s),e=i.join("/"))}return getOwn(w.pkgs,e)||
e}function S(t){isBrowser&&each(scripts(),function(e){if(e.getAttribute("data-
requiremodule")===t&&e.getAttribute("data-requirecontext")===p.contextName)return
e.parentNode.removeChild(e),!0})}function v(e){var t=getOwn(w.paths,e);return
t&&isArray(t)&&1<t.length&&(t.shift(),p.require.undef(e),p.makeRequire(null,
{skipMap:!0})([e]),1)}function b(e){var t,n=e?e.indexOf("!"):-1;return-
1<n&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function x(e,t,n,r){var
i,a,o,c=null,s=t?t.name:null,l=e,u=!0,d="";return e||(u=!1,e="_@r"+
(h+=1)),c=(o=b(e))[0],e=o[1],c&&(c=y(c,s,r),a=getOwn(m,c)),e&&(c?d=n?
e:a&&a.normalize?a.normalize(e,function(e){return y(e,s,r)}):-1===e.indexOf("!")?
y(e,s,r):e:(c=(o=b(d=y(e,s,r)))[0],d=o[1],n=!0,i=p.nameToUrl(d))),
{prefix:c,name:d,parentMap:t,unnormalized:!!(e=!c||a||n?"":"_unnormalized"+
(E+=1)),url:i,originalName:l,isDefine:u,id:(c?c+"!"+d:d)+e}}function R(e){var
t=e.id;return getOwn(u,t)||(u[t]=new p.Module(e))}function O(e,t,n){var
r=e.id,i=getOwn(u,r);!hasProp(m,r)||i&&!i.defineEmitComplete?
(i=R(e)).error&&"error"===t?n(i.error):i.on(t,n):"defined"===t&&n(m[r])}function
T(t,e){var n=t.requireModules,r=!1;e?e(t):(each(n,function(e)
{e=getOwn(u,e);e&&(e.error=t,e.events.error)&&(r=!0,e.emit("error",t))}),r||
req.onError(t))}function M()
{globalDefQueue.length&&(each(globalDefQueue,function(e){var
t=e[0];"string"==typeof t&&(p.defQueueMap[t]=!
0),f.push(e)}),globalDefQueue=[])}function k(e){delete u[e],delete d[e]}function
A(){var r,e=1e3*w.waitSeconds,i=e&&p.startTime+e<(new Date).getTime(),a=[],o=[],c=!
1,s=!0;if(!t){if(t=!0,eachProp(d,function(e){var
t=e.map,n=t.id;if(e.enabled&&(t.isDefine||o.push(e),!e.error))if(!e.inited&&i)v(n)?
c=r=!0:(a.push(n),S(n));else if(!e.inited&&e.fetched&&t.isDefine&&(c=!0,!
t.prefix))return s=!1}),i&&a.length)return(e=makeError("timeout","Load timeout for
modules: "+a,null,a)).contextName=p.contextName,T(e);s&&each(o,function(e){!
function r(i,a,o){var e=i.map.id;i.error?i.emit("error",i.error):(a[e]=!
0,each(i.depMaps,function(e,t){var e=e.id,n=getOwn(u,e);!n||i.depMatched[t]||o[e]||
(getOwn(a,e)?(i.defineDep(t,m[e]),i.check()):r(n,a,o))}),o[e]=!0)}(e,{},{})}),i&&!
r||!c||(isBrowser||isWebWorker)&&(n=n||setTimeout(function(){n=0,A()},50)),t=!
1}}function o(e){hasProp(m,e[0])||R(x(e[0],null,!0)).init(e[1],e[2])}function
a(e,t,n,r){e.detachEvent&&!isOpera?
r&&e.detachEvent(r,t):e.removeEventListener(n,t,!1)}function c(e)
{e=e.currentTarget||e.srcElement;return
a(e,p.onScriptLoad,"load","onreadystatechange"),a(e,p.onScriptError,"error"),
{node:e,id:e&&e.getAttribute("data-requiremodule")}}function I(){var
e;for(M();f.length;){if(null===(e=f.shift())[0])return
T(makeError("mismatch","Mismatched anonymous define() module: "+e[e.length-
1]));o(e)}p.defQueueMap={}}return l={require:function(e){return e.require||
(e.require=p.makeRequire(e.map))},exports:function(e){if(e.usingExports=!
0,e.map.isDefine)return e.exports?
m[e.map.id]=e.exports:e.exports=m[e.map.id]={}},module:function(e){return
e.module||(e.module={id:e.map.id,uri:e.map.url,config:function(){return
getOwn(w.config,e.map.id)||{}},exports:e.exports||(e.exports={})})}},(e=function(e)
{this.events=getOwn(r,e.id)||
{},this.map=e,this.shim=getOwn(w.shim,e.id),this.depExports=[],this.depMaps=[],this
.depMatched=[],this.pluginMaps={},this.depCount=0}).prototype={init:function(e,t,n,
r){r=r||{},this.inited||(this.factory=t,n?
this.on("error",n):this.events.error&&(n=bind(this,function(e)
{this.emit("error",e)})),this.depMaps=e&&e.slice(0),this.errback=n,this.inited=!
0,this.ignore=r.ignore,r.enabled||this.enabled?
this.enable():this.check())},defineDep:function(e,t){this.depMatched[e]||
(this.depMatched[e]=!0,--this.depCount,this.depExports[e]=t)},fetch:function(){if(!
this.fetched){this.fetched=!0,p.startTime=(new Date).getTime();var e=this.map;if(!
this.shim)return e.prefix?this.callPlugin():this.load();p.makeRequire(this.map,
{enableBuildCallback:!0})(this.shim.deps||[],bind(this,function(){return e.prefix?
this.callPlugin():this.load()}))}},load:function(){var e=this.map.url;i[e]||(i[e]=!
0,p.load(this.map.id,e))},check:function(){if(this.enabled&&!this.enabling){var
t,n,e=this.map.id,r=this.depExports,i=this.exports,a=this.factory;if(this.inited)
{if(this.error)this.emit("error",this.error);else if(!this.defining)
{if(this.defining=!0,this.depCount<1&&!this.defined){if(isFunction(a))
{if(this.events.error&&this.map.isDefine||req.onError!
==defaultOnError)try{i=p.execCb(e,a,r,i)}catch(e){t=e}else
i=p.execCb(e,a,r,i);if(this.map.isDefine&&void 0===i&&((r=this.module)?
i=r.exports:this.usingExports&&(i=this.exports)),t)return
t.requireMap=this.map,t.requireModules=this.map.isDefine?
[this.map.id]:null,t.requireType=this.map.isDefine?"define":"require",T(this.error=
t)}else i=a;this.exports=i,this.map.isDefine&&!
this.ignore&&(m[e]=i,req.onResourceLoad)&&(n=[],each(this.depMaps,function(e)
{n.push(e.normalizedMap||e)}),req.onResourceLoad(p,this.map,n)),k(e),this.defined=!
0}this.defining=!1,this.defined&&!this.defineEmitted&&(this.defineEmitted=!
0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else
hasProp(p.defQueueMap,e)||this.fetch()}},callPlugin:function(){var
c=this.map,s=c.id,e=x(c.prefix);this.depMaps.push(e),O(e,"defined",bind(this,functi
on(e){var a,t,n=getOwn(g,this.map.id),r=this.map.name,i=this.map.parentMap?
this.map.parentMap.name:null,o=p.makeRequire(c.parentMap,{enableBuildCallback:!
0});this.map.unnormalized?(e.normalize&&(r=e.normalize(r,function(e){return y(e,i,!
0)})||""),O(t=x(c.prefix+"!"+r,this.map.parentMap,!
0),"defined",bind(this,function(e){this.map.normalizedMap=t,this.init([],function()
{return e},null,{enabled:!0,ignore:!0})})),
(r=getOwn(u,t.id))&&(this.depMaps.push(t),this.events.error&&r.on("error",bind(this
,function(e){this.emit("error",e)})),r.enable())):n?
(this.map.url=p.nameToUrl(n),this.load()):((a=bind(this,function(e)
{this.init([],function(){return e},null,{enabled:!
0})})).error=bind(this,function(e){this.inited=!0,
(this.error=e).requireModules=[s],eachProp(u,function(e)
{0===e.map.id.indexOf(s+"_unnormalized")&&k(e.map.id)}),T(e)}),a.fromText=bind(this
,function(e,t){var n=c.name,r=x(n),i=useInteractive;t&&(e=t),i&&(useInteractive=!
1),R(r),hasProp(w.config,s)&&(w.config[n]=w.config[s]);try{req.exec(e)}catch(e)
{return T(makeError("fromtexteval","fromText eval for "+s+" failed: "+e,e,
[s]))}i&&(useInteractive=!
0),this.depMaps.push(r),p.completeLoad(n),o([n],a)}),e.load(c.name,o,a,w))})),p.ena
ble(e,this),this.pluginMaps[e.id]=e},enable:function()
{(d[this.map.id]=this).enabled=!0,this.enabling=!
0,each(this.depMaps,bind(this,function(e,t){var n,r;if("string"==typeof e)
{if(e=x(e,this.map.isDefine?this.map:this.map.parentMap,!1,!
this.skipMap),this.depMaps[t]=e,r=getOwn(l,e.id))return
void(this.depExports[t]=r(this));this.depCount+=1,O(e,"defined",bind(this,function(
e){this.undefed||(this.defineDep(t,e),this.check())})),this.errback?
O(e,"error",bind(this,this.errback)):this.events.error&&O(e,"error",bind(this,funct
ion(e){this.emit("error",e)}))}r=e.id,n=u[r],hasProp(l,r)||!n||n.enabled||
p.enable(e,this)})),eachProp(this.pluginMaps,bind(this,function(e){var
t=getOwn(u,e.id);t&&!t.enabled&&p.enable(e,this)})),this.enabling=!
1,this.check()},on:function(e,t){(this.events[e]||
(this.events[e]=[])).push(t)},emit:function(e,t){each(this.events[e],function(e)
{e(t)}),"error"===e&&delete this.events[e]}},
(p={config:w,contextName:s,registry:u,defined:m,urlFetched:i,defQueue:f,defQueueMap
:{},Module:e,makeModuleMap:x,nextTick:req.nextTick,onError:T,configure:function(e)
{e.baseUrl&&"/"!==e.baseUrl.charAt(e.baseUrl.length-
1)&&(e.baseUrl+="/"),"string"==typeof
e.urlArgs&&(n=e.urlArgs,e.urlArgs=function(e,t){return(-1===t.indexOf("?")?"?":"&")
+n});var n,r=w.shim,i={paths:!0,bundles:!0,config:!0,map:!
0};eachProp(e,function(e,t){i[t]?(w[t]||(w[t]={}),mixin(w[t],e,!0,!
0)):w[t]=e}),e.bundles&&eachProp(e.bundles,function(e,t){each(e,function(e){e!
==t&&(g[e]=t)})}),e.shim&&(eachProp(e.shim,function(e,t){!(e=isArray(e)?
{deps:e}:e).exports&&!e.init||e.exportsFn||
(e.exportsFn=p.makeShimExports(e)),r[t]=e}),w.shim=r),e.packages&&each(e.packages,f
unction(e){var t=(e="string"==typeof e?
{name:e}:e).name;e.location&&(w.paths[t]=e.location),w.pkgs[t]=e.name+"/"+
(e.main||"main").replace(currDirRegExp,"").replace(jsSuffixRegExp,"")}),eachProp(u,
function(e,t){e.inited||e.map.unnormalized||(e.map=x(t,null,!0))}),(e.deps||
e.callback)&&p.require(e.
deps||[],e.callback)},makeShimExports:function(t){return function(){var
e;return(e=t.init?t.init.apply(global,arguments):e)||
t.exports&&getGlobal(t.exports)}},makeRequire:function(a,o){function c(e,t,n){var
r,i;return o.enableBuildCallback&&t&&isFunction(t)&&(t.__requireJsBuild=!
0),"string"==typeof e?isFunction(t)?T(makeError("requireargs","Invalid require
call"),n):a&&hasProp(l,e)?l[e](u[a.id]):req.get?req.get(p,e,a,c):(r=x(e,a,!1,!
0).id,hasProp(m,r)?m[r]:T(makeError("notloaded",'Module name "'+r+'" has not been
loaded yet for context: '+s+(a?"":". Use require([])")))):
(I(),p.nextTick(function(){I(),(i=R(x(null,a))).skipMap=o.skipMap,i.init(e,t,n,
{enabled:!0}),A()}),c)}return o=o||{},mixin(c,
{isBrowser:isBrowser,toUrl:function(e){var t,n=e.lastIndexOf("."),r=e.split("/")
[0];return-1!==n&&(!("."===r||".."===r)||
1<n)&&(t=e.substring(n,e.length),e=e.substring(0,n)),p.nameToUrl(y(e,a&&a.id,!
0),t,!0)},defined:function(e){return hasProp(m,x(e,a,!1,!
0).id)},specified:function(e){return e=x(e,a,!1,!0).id,hasProp(m,e)||
hasProp(u,e)}}),a||(c.undef=function(n){M();var e=x(n,a,!
0),t=getOwn(u,n);t.undefed=!0,S(n),delete m[n],delete i[e.url],delete
r[n],eachReverse(f,function(e,t){e[0]===n&&f.splice(t,1)}),delete
p.defQueueMap[n],t&&(t.events.defined&&(r[n]=t.events),k(n))}),c},enable:function(e
){getOwn(u,e.id)&&R(e).enable()},completeLoad:function(e){var
t,n,r,i=getOwn(w.shim,e)||{},a=i.exports;for(M();f.length;){if(null===(n=f.shift())
[0]){if(n[0]=e,t)break;t=!0}else n[0]===e&&(t=!
0);o(n)}if(p.defQueueMap={},r=getOwn(u,e),!t&&!hasProp(m,e)&&r&&!r.inited){if(!(!
w.enforceDefine||a&&getGlobal(a)))return v(e)?void 0:T(makeError("nodefine","No
define call for "+e,null,[e]));o([e,i.deps||
[],i.exportsFn])}A()},nameToUrl:function(e,t,n){var
r,i,a,o,c,s=getOwn(w.pkgs,e);if(s=getOwn(g,e=s?s:e))return
p.nameToUrl(s,t,n);if(req.jsExtRegExp.test(e))o=e+
(t||"");else{for(r=w.paths,a=(i=e.split("/")).length;0<a;--
a)if(c=getOwn(r,i.slice(0,a).join("/")))
{isArray(c)&&(c=c[0]),i.splice(0,a,c);break}o=i.join("/"),o=("/"===(o+=t||(/
^data\:|^blob\:|\?/.test(o)||n?"":".js")).charAt(0)||o.match(/^[\w\+\.\-]
+:/)?"":w.baseUrl)+o}return w.urlArgs&&!/^blob\:/.test(o)?
o+w.urlArgs(e,o):o},load:function(e,t){req.load(p,e,t)},execCb:function(e,t,n,r)
{return t.apply(r,n)},onScriptLoad:function(e){"load"!==e.type&&!
readyRegExp.test((e.currentTarget||e.srcElement).readyState)||
(interactiveScript=null,e=c(e),p.completeLoad(e.id))},onScriptError:function(e){var
n,r=c(e);if(!v(r.id))return n=[],eachProp(u,function(e,t){0!
==t.indexOf("_@r")&&each(e.depMaps,function(e){if(e.id===r.id)return n.push(t),!
0})}),T(makeError("scripterror",'Script error for "'+r.id+(n.length?'", needed by:
'+n.join(", "):'"'),e,[r.id]))}}).require=p.makeRequire(),p}function
getInteractiveScript(){return
interactiveScript&&"interactive"===interactiveScript.readyState||
eachReverse(scripts(),function(e){if("interactive"===e.readyState)return
interactiveScript=e}),interactiveScript}}(this,"undefined"==typeof setTimeout?void
0:setTimeout),{require:require,define:define,config:require.config}}()),ace=ace||
{},ace=(ace.analytics=ace.analytics||{},ace.analytics.Cohort=function(){"use
strict";var
n="atlCohort",i="2",a=["index","bucketedAtUTC","version","bucketId"],o={bucketAll:
{bucketId:0}};function t(){var e,t=ace.mkt.Cookie.readCookie(n);try{return
e=JSON.parse(t),ace.mkt.Helpers.isObject(e)?e:null}catch(e){return null}}function
c(r){return Object.keys(o).filter(function(e){return t=e,n=r,!
(ace.mkt.Helpers.isObject(n)&&void 0!
==n[t]&&ace.mkt.Helpers.isObject(n[t])&&a.every(function(e){return void 0!==n[t]
[e]}));var
t,n})}return{ATL_COHORT:n,COHORT_VERSION:i,readWriteAtlCohort:function(e){var r=!
e&&t()||{};return(e=c(r)).length&&(e.forEach(function(e){var
t,n;r[e]=(t=o[e=e],e=ace.analytics.SegmentIO.getAnonymousId(),(n={bucketedAtUTC:
(new Date).toISOString(),version:i}).index=e?
ace.mkt.Guid.guidHashCode(ace.mkt.Guid.addNumberToGUID(e,t.bucketId))
%100:Math.ceil(100*Math.random()),Object.keys(t).forEach(function(e)
{n[e]=t[e]}),n)}),e=r,ace.mkt.Helpers.isObject(e)&&ace.mkt.Cookie.writeCookie(n,JSO
N.stringify(e),3650,!0),r=t()),r},readAtlCohort:t}}(),ace||
{}),ace=(ace.analytics=ace.analytics||{},ace.analytics.Loader=function(){"use
strict";return{loadVersion:function(e,t,n,r){var
i=document.createElement("script"),a=ace.mkt.Helpers.getScript(),o=(i.onload=functi
on(){t&&"function"==typeof t&&t()},i.onerror=function(){n&&"function"==typeof
n&&n(e)},a.source+e+"/atl-
global-"+e+a.extension);ace.analytics.Loader.checkForFile(o,function()
{i.src=o,document.head.appendChild(i),ace.analytics.version=e},function()
{i.src=a.source+ace.analytics.version+"/atl-
global-"+ace.analytics.version+a.extension,document.head.appendChild(i)},r)},checkF
orFile:function(e,t,n,r){var i=r||new
XMLHttpRequest;i.open("HEAD",e),i.setRequestHeader("Content-type","text/
plain"),i.send(),i.onreadystatechange=function()
{i.readyState===XMLHttpRequest.DONE&&(200<=i.status&&i.status<300?t:n)()}}}}
(),ace||{}),ace=(ace.analytics=ace.analytics||
{},ace.analytics.LaunchDarkly=function(){"use strict";var
i,a,o;return{getFeatureFlagForUser:function(e,t,n){return a||n?(n||
a).variation(e,t):null},initLaunchDarkly:function(e,t,n){var r;i||n?
(r={key:"marketingEngineering",custom:{cohort:
(r=ace.analytics.Cohort.readAtlCohort())?
r.bucketAll.index:null,location:window.location?window.location.href:null}},o=new
Map([[ace.mkt.Helpers.ENVIRONMENT.LOCAL,"5afa3d7607a72221591aeb72"],
[ace.mkt.Helpers.ENVIRONMENT.DEV,"5afa3d7607a72221591aeb72"],
[ace.mkt.Helpers.ENVIRONMENT.STAGE,"5afa4f0707a72221591aecfd"],
[ace.mkt.Helpers.ENVIRONMENT.PROD,"5afa3d7607a72221591aeb73"]]),(a=(n||
i).initialize(o.get(ace.mkt.Helpers.getEnvironment()),r,
{bootstrap:"localStorage"})).on("ready",function(){e&&"function"==typeof
e&&e()}),a.on("error",function(){t&&"function"==typeof
t&&t()})):t&&"function"==typeof t&&t()},loadLDSDK:function(t,n){var
e=ace.mkt.Helpers.getScript();e&&e.source?
(globalRequire.config({baseUrl:e.source}),globalRequire.require([ace.analytics.vers
ion+"/ld/ldclient.min",ace.analytics.version+"/ld/ldclient-common.min"],function(e)
{i=e,t&&"function"==typeof t&&t()},function(e){n&&"function"==typeof
n&&n(e)})):n&&"function"==typeof n&&n()}}}(),ace||
{}),ace=(ace.analytics=ace.analytics||{},ace.analytics.MethodQueue=function(){"use
strict";function a(e){var
t=e.module,n=e.method,e=e.args;window.ace.analytics[t]&&window.ace.analytics[t]
[n]&&window.ace.analytics[t]
[n].apply(window.ace.analytics[t],e)}return{getWrapperMethods:function(){for(var
e=[["Gtm","initialize",!0],["Gtm","page",!1],["Gtm","track",!1],
["Identity","autoIdentify",!1],["Identity","identify",!1],
["Initializer","globalCallReady",!0],["Initializer","initWithPageAnalytics",!0],
["Initializer","initAnalytics",!0],["Initializer","init",!0],
["Initializer","autoTrack",!0],["Initializer","gaIntegration",!0],
["Initializer","initGAS",!0],["Initializer","initSnowplow",!0],
["Initializer","setXID",!0,!0],["Optimizely","getCampaigns",!1],
["Optimizely","getDemandbase",!1],["Optimizely","getExperimentAndVariationPairs",!
1],["Optimizely","getVisitorId",!1],["Optimizely","isDemandbaseAvailable",!1],
["Optimizely","isInitialized",!1],["SegmentIO","getAnonymousId",!1],
["SegmentIO","getXID",!1],["SegmentIO","initSegment",!0],
["SegmentIO","isInitialized",!1],["SegmentIO","isSegmentUserAvailable",!1],
["SegmentIO","segmentDoReady",!0],["SegmentIO","ready",!0],
["SegmentIO","stubSegmentMethods",!0],["SegmentIO","trackEvent",!1],
["SegmentIO","trackPage",!1],["SegmentIO","wrapSegment",!1],
["Snowplow","loadSnowplow",!0],["Snowplow","trackPageView",!1],
["Snowplow","trackSelfDescribingEvent",!1],["Snowplow","getSnowplowDuid",!1],
["Tracking","autoTrackButtons",!1],["Tracking","autoTrackLinks",!1],
["Tracking","autoTrackVideos",!1],["Tracking","enrichEventData",!1],
["Tracking","enrichEventDataPromise",!1],["Tracking","logError",!1],
["Tracking","pageView",!1],["Tracking","trackEvent",!1],
["Tracking","trackUnloadEvent",!1],["Tracking","readWriteSessionCookie",!1]],t=new
Map,n=0;n<e.length;n++){var r=e[n][0],i=t.get(r);(i=i||[]).push({name:e[n]
[1],initMethod:e[n][2],critical:e[n][3]}),t.set(r,i)}return
t},replayMethodQueue:function e(t,n,r){t&&!n&&e(t,!0,r);for(var
i=window.ace.analytics.methodQueue.length-1;0<=i;i--)t&&!
window.ace.analytics.methodQueue[i].initMethod||n&&!
window.ace.analytics.methodQueue[i].critical||((r||a)
(window.ace.analytics.methodQueue[i]),window.ace.analytics.methodQueue.splice(i,1))
},stubWrapperMethods:function(e,c){var
t=window.ace.analytics.MethodQueue.getWrapperMethods(),s=(window.ace.analytics.meth
odQueue=[],e||function(t,n,r,i){return function(){var
e=Array.prototype.slice.call(arguments);return
window.ace.analytics.methodQueue.unshift({module:t,method:n,args:e,initMethod:r,cri
tical:i}),window.ace.analytics.methodQueue}});t.forEach(function(e,t){for(var
n=0;n<e.length;n++){var r=e[n].name,i=e[n].initMethod,a=e[n].critical,o=c||
window.ace.analytics;o[t]=o[t]||{},r&&(o[t]
[r]=s(t,r,i,a))}})},stubSegmentMethods:function(){var
n=window.analytics=window.analytics||
[];n.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identi
fy","reset","group","track","ready","alias","debug","page","once","off","on"],n.fac
tory=function(t){return function(){var
e=Array.prototype.slice.call(arguments);return e.unshift(t),n.push(e),n}};for(var
e=0;e<n.methods.length;e++){var t=n.methods[e];n[t]=n.factory(t)}}}}(),ace||
{});function getAtlGlobalVersion(e){"use
strict";ace.analytics.LaunchDarkly.loadLDSDK(function()
{ace.analytics.LaunchDarkly.initLaunchDarkly(function()
{e(ace.analytics.LaunchDarkly.getFeatureFlagForUser("atl-global-phased-roll-
out"))},function(){e(ace.analytics.version)})},function()
{e(ace.analytics.version)})}function loadAtlGlobal(){"use
strict";ace.analytics.MethodQueue.stubWrapperMethods(),ace.analytics.MethodQueue.st
ubSegmentMethods(),ace.analytics.Metrics.logMetric(ace.analytics.Metrics.METRICS_KE
YS.TIME_TO_AVAILABLE),ace.analytics.Metrics.logMetric(ace.analytics.Metrics.METRICS
_KEYS.TIME_T
O_START_LOAD_XID),globalRequire.require([ace.analytics.version+"/xid/atl-
xid"],function(e){e&&e.XID&&(e=new
e.XID(ace.mkt.Helpers.getEnvironment()),ace.analytics.Metrics.logMetric(ace.analyti
cs.Metrics.METRICS_KEYS.TIME_TO_START_GET_XID),e.getXidPromise().then(function(e)
{ace.analytics.Initializer.setXID(e),ace.analytics.Metrics.logMetric(ace.analytics.
Metrics.METRICS_KEYS.TIME_TO_LOAD_XID)}))}),getAtlGlobalVersion(function(e)
{window.metricsReady=function()
{ace.analytics.Metrics.logMetric(ace.analytics.Metrics.METRICS_KEYS.TIME_TO_READY),
ace.analytics.Metrics.sendMetrics()},ace.analytics.Loader.loadVersion(e,function()
{var e=ace.analytics.LaunchDarkly.getFeatureFlagForUser("atl-global-destination-
trigger")||"segment",t=ace.analytics.LaunchDarkly.getFeatureFlagForUser("segment-
gasv3-order-switch")||!
1;ace.analytics.Tracking.destinationFlag=e,ace.analytics.Tracking.switchOrder=t,"no
ne"!
==e&&(ace.analytics.GASv3&&(ace.analytics.GASv3.loadGASFlag="gasv3"===e||"both"===e
||"gasv3+snowplow"===e||"all"===e),ace.analytics.Snowplow&&(ace.analytics.Snowplow.
loadSnowplowFlag="snowplow"===e||"gasv3+snowplow"===e||"all"===e),ace.analytics.Seg
mentIO.loadSegmentFlag="segment"===e||"both"===e||"all"===e,ace.analytics.Metrics.l
ogMetric(ace.analytics.Metrics.METRICS_KEYS.TIME_TO_LOAD),ace.analytics.MethodQueue
.replayMethodQueue(!0),ace.analytics.MethodQueue.replayMethodQueue(!
1))},loadError)})}function loadError(e){"use
strict";ace.mkt.Helpers.sendWrapperLoadError("Wrapper load
error")}ace.analytics=ace.analytics||
{},ace.analytics.version="2.183.0",loadAtlGlobal();
//# sourceMappingURL=atl-global.min.js.map

You might also like