(()=>{var Spotlight={selectors:{that:"bb-that",spotlight:".bb-that-spotlight",spotlightActive:"bb-that-spotlight--active",dataEndpoint:"data-spotlight-service"},logs:{invalidTHAT:"THAT was not rendered correctly. ",noEndpoint:"Spotlight retrieval endpoint not set. ",noSpotlight:"There are no spotlights to display at the moment ",parsingError:"There was an error when parsing the spotlight response ",invalidResponse:"There was an error when retrieving the spotlight ",spotlightSeen:"The spotlight has already been seen and closed."},cookieName:"bloomberg.that.spotlight",cookieDuration:1,spotlightEvent:"bloomberg.that.spotlight",endpoint:"",tophat:null,init:function(){this.validateTHAT()&&this.retrieveSpotlight()},validateTHAT:function(){var $valid=!1;return this.tophat=document.querySelector("div#"+this.selectors.that),this.tophat?(this.endpoint=this.tophat.getAttribute(this.selectors.dataEndpoint),this.endpoint?$valid=!0:this.log(!0,this.logs.noEndpoint)):this.log(!0,this.logs.invalidTHAT),$valid},retrieveSpotlight:function(){var xmlhttp=new XMLHttpRequest;xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState===XMLHttpRequest.DONE)if(200===xmlhttp.status)try{var $response=JSON.parse(xmlhttp.responseText);$response.hasOwnProperty("spotlights")&&Array.isArray($response.spotlights)&&0<$response.spotlights.length&&Spotlight.renderSpotlight($response.spotlights[0])}catch(e){Spotlight.log(!0,Spotlight.logs.parsingError,e)}else Spotlight.log(!0,Spotlight.logs.invalidResponse,xmlhttp.status)},xmlhttp.open("GET",this.endpoint,!0),xmlhttp.send()},renderSpotlight:function(spotlight){this.getCookie(this.cookieName)?this.log(!1,this.logs.spotlightSeen):(this.tophat.insertAdjacentHTML("beforeend",spotlight),document.querySelector(this.selectors.spotlight))},bindClose:function(){document.querySelector(this.selectors.spotlightClose).addEventListener("click",function(){Spotlight.tophat.removeChild(document.querySelector(Spotlight.selectors.spotlight)),Spotlight.setCookie(Spotlight.cookieName,!0,Spotlight.cookieDuration),Spotlight.log(!1,Spotlight.logs.spotlightClose)})},setCookie:function(name,value,xdays){var d=new Date;d.setTime(d.getTime()+864e5*xdays),document.cookie=name+"="+value+";path=/;expires="+d.toUTCString()},getCookie:function(name){name=document.cookie.match("(^|;) ?"+name+"=([^;]*)(;|$)");return name?name[2]:null},deleteCookie:function(name){this.setCookie(name,"",-1)},log:function(error,message,extra){error?window.console.error(this.spotlightEvent,{message:message,extra:extra}):window.console.log(this.spotlightEvent,{message:message,extra:extra})}};document.addEventListener(Spotlight.spotlightEvent,function(){Spotlight.init()})})(),(()=>{var That={selectors:{container:"#bb-that--container",header:".bb-that-header",jumpContentLink:".skiplink__hide-until-focus",jumpContentLinkFallback:".bb-that__skip-to-content",jumpContentTarget:"#that-jump-content",jumpContentTargetFallback:"#that-jump-content--default",mobileCategories:".bb-that--visible-xs .bb-that-category:not(.bb-that-category--sub) .bb-that-category__title",sitemapClose:".bb-that__close",sitemapLink:".bb-that-header--sitemap-trigger",tabbableHeaderLinks:".bb-that-header__link",tabbableSitemapLinks:'[tabindex="0"]',wrapper:"#bb-that .bb-that:not(.bb-that--static)",spotlight:"bb-that-spotlight",mobileMenu:".bb-that .bb-that__sitemap-mobile-header span",mobileMenuSection:".bb-that__sitemap-sections.bb-that--visible-xs"},spotlightEvent:"bloomberg.that.spotlight",containerEl:null,headerEl:null,jumpContentLinkFallback:null,jumpContentTarget:null,openClass:"bb-that--open",mobileOpenClass:"bb-that--mobile-open",sitemapCloseEl:null,sitemapLinkEl:null,sitemapLinkSibEl:null,mobileMenuEl:null,mobileMenuSectionEl:null,sitemapOpen:!1,tabbableHeaderLinks:null,tabbableSitemapLinks:null,wrapperEl:null,prepare:function(){var self,observer;document.querySelector(this.selectors.wrapper+" "+this.selectors.sitemapLink)?this.init():window.MutationObserver&&(self=this,(observer=new MutationObserver(function(mutations){for(var i=0;i