function ancestorMatchClass(n,t){for(;n&&n!==document;n=n.parentNode)if(n.classList.contains(t))return n;return null}function ancestorMatchTag(n,t){t=t.toUpperCase();do if(n.nodeName===t)return n;while(n=n.parentNode);return null}function setCookie(n,t,i){var u="",r;i&&(r=new Date,r.setTime(r.getTime()+i*864e5),u="; expires="+r.toGMTString());document.cookie=n+"="+t+u+"; path=/"}function getCookie(n){for(var r=n+"=",u=document.cookie.split(";"),t,i=0;i<u.length;i++){for(t=u[i];t.charAt(0)==" ";)t=t.substring(1,t.length);if(t.indexOf(r)==0)return t.substring(r.length,t.length)}return null}function deleteCookie(n){setCookie(n,"",-1)}function initPreferredCenterIcon(){jQuery(function(n){var t,i;typeof togglePreferredCenter=="function"&&(t=getCookie("nearestcenter"),t&&(i=n(".js-prefercenter[data-itemid='"+t+"'"),i.length>0&&i.addClass("active")))})}function togglePreferredCenterIfAllowed(n){typeof togglePreferredCenter=="function"&&togglePreferredCenter(n)}function gaSendEvent(n,t,i,r){typeof ga!="undefined"&&(typeof r!="undefined"?ga("send","event",n,t,i,r):ga("send","event",n,t,i))}$(document).ready(function(){var n=window.location.hash.substr(1);n.length>0&&$("input[name='AnchorLinkValue']").val(window.location.hash.substr(1))});$(document).ready(function(){if($("header").find("div.topbanner-mod").length!=0){var n=$(".topbanner-mod").height(),t=parseInt($(".expanded-content.secondary").css("top"))+n;$(".expanded-content.secondary").css("top",t)}$(".nav-link.primary.mainMenu").hover(function(){var o,u,h,c,r,i,f,e,t,n;if($(this).hasClass("has-children")){if(!$(this).hasClass("hover-intent")){for($(".nav-link.primary.has-children").removeClass("hover-intent"),$(this).addClass("hover-intent"),$(this).find(".colMenuRowOne").removeClass("displayNone"),$(this).find(".header-sub-menu").addClass("displayNone"),$("header.header").addClass("open"),o=$(this).find(".firstLevelMenuLink").length,i=0;i<o;i++){var s=$(this).find(".firstLevelMenuLink")[i],l=$(s).find("a").attr("href"),a=$(this).find(".header-sub-menu").length;for(u=0;u<a;u++)h=$(this).find(".header-sub-menu")[u],c=$(h).find(".sub-menu-link a").attr("href"),l==c&&$(s).find("a i").addClass("arrowicon")}if(r=this.querySelectorAll('.expanded-content[data-level="0"] .expanded-content__row .container .header__teaser figure'),r){for(i=0;i<r.length;++i)f=r[i],e=f.dataset.backgroundimg,e&&(f.style.backgroundImage=e);r=null}for(t=this.querySelectorAll('.expanded-content[data-level="0"] .expanded-content__row .container .header__teaser'),n=0;n<t.length;n++)n+1<t.length&&($(t)[n].offsetHeight>$(t)[n+1].offsetHeight?($(t)[n].style.height=$(t)[n].offsetHeight+"px",$(t)[n+1].style.height=$(t)[n].offsetHeight+"px"):($(t)[n].style.height=$(t)[n+1].offsetHeight+"px",$(t)[n+1].style.height=$(t)[n+1].offsetHeight+"px"))}}else $(".nav-link.primary.has-children").removeClass("hover-intent"),$(this).find(".colMenuRowOne").removeClass("displayNone"),$(this).find(".header-sub-menu").addClass("displayNone"),$("header.header").removeClass("open")});$(".main.app").hover(function(){$(".nav-link.primary.has-children").removeClass("hover-intent");$(this).find(".colMenuRowOne").removeClass("displayNone");$(this).find(".header-sub-menu").addClass("displayNone");$("header.header").removeClass("open")});$(".firstLevelMenuLink a").hover(function(){for(var u=$(this).attr("href"),n=this.parentNode.parentNode.parentNode.parentNode,f=$(n).find(".header-sub-menu").length,i,r,t=0;t<f;t++)i=$(n).find(".header-sub-menu")[t],r=$(i).find(".sub-menu-link a").attr("href"),u==r&&($(n).find(".header-sub-menu").addClass("displayNone"),$(".colMenuRowOne").removeClass("displayNone"),$(i).removeClass("displayNone").addClass("featureItemOne"),$(".colMenuRowOne").addClass("displayNone"),$(this).addClass("hasSubMenu"));return $(this).hasClass("hasSubMenu")||($(n).find(".header-sub-menu").addClass("displayNone"),$(".colMenuRowOne").removeClass("displayNone")),!1})});jQuery(function(n){function t(n,t,i,r){r=typeof r!="undefined"?r:"Link";try{n.attr("title")?gaSendEvent(r,t,n.attr("title"),i):n.attr("aria-label")?gaSendEvent(r,t,n.attr("aria-label"),i):n.find("img:first-child").length?gaSendEvent(r,t,n.find("img:first-child").attr("alt"),i):n.text().length?gaSendEvent(r,t,n.text(),i):gaSendEvent(r,t,n.attr("href"),i)}catch(u){console.log(u)}}n("a[href^='http']").click(function(){t(n(this),"Outbound Link Click",1)});n("a:not([href^='http'],[href^='#'])").click(function(){t(n(this),"Internal Link Click",1)});n("header a").click(function(){t(n(this),"Header Link Click",1)});n("footer a").click(function(){t(n(this),"Footer Link Click",1)});n("main a").click(function(){t(n(this),"Body Link Click",1)});var i=[".PDF",".JPG",".JPEG",".PNG",".MP4",".DOC",".DOCX",".PPT",".PPTX",".ZIP",".RAR",".MP3"];n("a").click(function(){for(var u=n(this).attr("href").toUpperCase(),r,t=0;t<i.length;t++)if(u.indexOf(i[t])!=-1){r=i[t].substring(1);gaSendEvent("File Download",r,n(this).attr("href"),10);break}});n('a[href^="mailto:"]').click(function(){t(n(this),"Mailto Link Click",10)});n('a[href^="tel:"]').click(function(){t(n(this),"Telephone Link Click",10)});n('ul[itemtype="https://schema.org/BreadcrumbList"] a').click(function(){t(n(this),"Breadcrumb Link Click",1)});n(".module.prefooter a").click(function(){t(n(this),"Footer Callout Link Click",1)});n("a.ga-popsearch").click(function(){t(n(this),"Popular Search Terms Link Click",1)});n("nav div.header__teaser a").click(function(){t(n(this),"Featured Story Link Click",1)});n("a.global-selector-country").click(function(){t(n(this),"Global Selector Country Link Click",1)});n("a.ui-btn.ui-btn--box").click(function(){t(n(this),"Button Link Click",1)});n(".article__sidebar a.m-tile__link").click(function(){t(n(this),"Related News Link Click",1)});n("a.ga-featuredsearch").click(function(){t(n(this),"Featured Search Link Click",1)});n("a.ui-pagination__index").click(function(){t(n(this),"Search Pagination Link Click",1)});n("a.ga-searchresult").click(function(){t(n(this),"Search Result Link Click",1)});n("form").on("submit",function(){var n=window.location.href;gaSendEvent("Form","Form Submitted",n)});n("form input[type=number], form :text, form select, form :password, form textarea").on("change",function(){var t=window.location.href,i=n(this).attr("id");i?gaSendEvent("Form","Field Changed",t+" - "+i):gaSendEvent("Form","Field Changed",t)});n("form :radio, form :checkbox").on("change",function(){var i=window.location.href,t=n(this).attr("name");t||(t=n(this).attr("id"));t||(t="radiobutton/checkbox");gaSendEvent("Form","Field Changed",i+" - "+t)})})