/* npm.im/object-fit-images 3.2.4 */ 'use strict';var aniGlobal=aniGlobal||{};"use strict"; (function(){(function(b){var f=void 0===b.firstLoad;b.firstLoad=!1;return f})(aniGlobal)&&(aniGlobal.objectFitImages=function(){function b(e){if(e.srcset&&!y&&window.picturefill){var h=window.picturefill._;e[h.ns]&&e[h.ns].evaled||h.fillImg(e,{reselect:!0});e[h.ns].curSrc||(e[h.ns].supported=!1,h.fillImg(e,{reselect:!0}));e.currentSrc=e[h.ns].curSrc||e.src}}function f(e){for(var h=getComputedStyle(e).fontFamily,m={};null!==(e=n.exec(h));)m[e[1]]=e[2];return m}function g(e,h,m){h="data:image/svg+xml,%3Csvg xmlns\x3d'http://www.w3.org/2000/svg' width\x3d'"+ (h||1)+"' height\x3d'"+(m||0)+"'%3E%3C/svg%3E";w.call(e,"src")!==h&&v.call(e,"src",h)}function l(e,h){e.naturalWidth?h(e):setTimeout(l,100,e,h)}function a(e){var h=f(e),m=e[k];if(h["object-fit"]=h["object-fit"]||"fill",!m.img)if("fill"===h["object-fit"]||!m.skipTest&&q&&!h["object-position"])return;if(!m.img){m.img=new Image(e.width,e.height);m.img.srcset=w.call(e,"data-ofi-srcset")||e.srcset;m.img.src=w.call(e,"data-ofi-src")||e.src;v.call(e,"data-ofi-src",e.src);e.srcset&&v.call(e,"data-ofi-srcset", e.srcset);g(e,e.naturalWidth||e.width,e.naturalHeight||e.height);e.srcset&&(e.srcset="");try{c(e)}catch(u){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}b(m.img);e.style.backgroundImage='url("'+(m.img.currentSrc||m.img.src).replace(/"/g,'\\"')+'")';e.style.backgroundPosition=h["object-position"]||"center";e.style.backgroundRepeat="no-repeat";e.style.backgroundOrigin="content-box";/scale-down/.test(h["object-fit"])?l(m.img,function(){m.img.naturalWidth>e.width||m.img.naturalHeight> e.height?e.style.backgroundSize="contain":e.style.backgroundSize="auto"}):e.style.backgroundSize=h["object-fit"].replace("none","auto").replace("fill","100% 100%");l(m.img,function(u){g(e,u.naturalWidth,u.naturalHeight)})}function c(e){var h={get:function(m){return e[k].img[m?m:"src"]},set:function(m,u){return e[k].img[u?u:"src"]=m,v.call(e,"data-ofi-"+u,m),a(e),m}};Object.defineProperty(e,"src",h);Object.defineProperty(e,"currentSrc",{get:function(){return h.get("currentSrc")}});Object.defineProperty(e, "srcset",{get:function(){return h.get("srcset")},set:function(m){return h.set(m,"srcset")}})}function d(e,h){var m=!r&&!e;if(h=h||{},e=e||"img",x&&!h.skipTest||!p)return!1;"img"===e?e=document.getElementsByTagName("img"):"string"==typeof e?e=document.querySelectorAll(e):"length"in e||(e=[e]);for(var u=0;ub.top&&b.bottom>window.innerHeight)return!0},checkElementInView:function(b){b= b.getBoundingClientRect();return 0<=b.top&&0<=b.left&&b.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&b.right<=(window.innerWidth||document.documentElement.clientWidth)},checkPanelInView:function(b,f){b=document.querySelector(".".concat(b)).getBoundingClientRect();void 0===f&&(f=1);return 0>b.top?!0:0<=b.top&&0<=b.left&&b.bottom-b.height*f<=(window.innerHeight||document.documentElement.clientHeight)&&b.right<=(window.innerWidth||document.documentElement.clientWidth)}}}(),aniGlobal.utility= function(){return{debounce:function(b,f,g){var l;return function(){var a=this,c=arguments,d=g&&!l;clearTimeout(l);l=setTimeout(function(){l=null;g||b.apply(a,c)},f);d&&b.apply(a,c)}}}}(),aniGlobal.lineAnimation=function(){return{langSupported:function(){var b=document.querySelector("html").getAttribute("lang");return"ja-jp"==b||"zh-hk"==b||"zh-cn"==b||"zh-tw"==b?!1:!0},lineBreakText:function(b){for(var f=b.length,g=0;ga&&(d.innerHTML=d.innerHTML.slice(0,d.innerHTML.length-n.length),d=document.createElement(b[g].tagName),d.style.margin="0",d.style.padding="0",d.classList.add("animate-text"),b[g].classList.contains("currently-focused")&&d.classList.add("currently-focused"),c.appendChild(d),d.innerHTML+=n)}b[g].parentElement.removeChild(b[g])}},revertLineBreakText:function(b){for(var f=0;f{aniCommon.isReducedAnimation=aniCommon.utility.reducedAnimation()}))})();var aniScroll=aniScroll||{};"use strict"; (function(){function b(){setTimeout(function(){n={};$("[data-s-wdg]").addClass("s-wdgItem");$("[data-s-wdg*\x3d'#']").addClass("fadehiddenOffscreen");$("body").append("\x3cstyle\x3e.fadehiddenOffscreen {opacity:0;}\x3c/style\x3e");t=document.querySelectorAll(".s-wdgItem");var p=1,y=new window.IntersectionObserver(function(w,v){w.forEach(function(r){if(r.isIntersecting){if(!$(r.target).attr("data-s-wdg-toreset")&&$(r.target).hasClass("animate-position")){$(r.target).attr("data-s-wdg-toreset",p);n[p]= {};var e=$(r.target).offset().top,h=e+$(r.target).height(),m=getComputedStyle($(r.target)[0]).transform;"none"===m?d=m=0:(m=parseFloat(getComputedStyle($(r.target)[0]).transform.split(",")[5]),d=parseFloat(getComputedStyle($(r.target)[0]).transform.split(",")[4]));var u=parseInt($(r.target).attr("data-s-wdg"));u=$(window).height()*(-1*u/100)+m;n[p].top=e;n[p].bottom=h;n[p].originaltransform=m;n[p].originalleft=d;n[p].belowadjust=u;p++}-1k&&-100n[p].bottom&&$(this).css("transform","translate3d("+n[p].originalleft+"px,"+n[p].belowadjust+"px,0)")}$(this).removeClass("s-wdgToReset");$(this).removeClass("is-scrollTop");$(this).removeClass("is-scrollDown");$(this).removeClass("Aniscroll")}})}if(function(p){var y=void 0===p.firstLoad;p.firstLoad=!1;return y}(aniScroll)){var g,l,a,c,d,k,n,t,q={top:0, dead:0,bottom:0},x={top:0,dead:0,bottom:0};$(window).on("load scroll",function(){if(0<$(".s-wdgActive").length||0<$(".s-wdgToReset").length)g=void 0===l?$(window).scrollTop():l,l=$(window).scrollTop(),k=l-g,a=$(window).height(),c=a/3,q.top=$(window).scrollTop(),q.dead=$(window).scrollTop()+c,q.bottom=$(window).scrollTop()+180+c,x.top=$(window).scrollTop()+a-180-c,x.dead=$(window).scrollTop()+a-180,x.bottom=$(window).scrollTop()+a,f()});window.addEventListener("resize",aniCommon.utility.delayCall(function(){$(".s-wdgItem").removeAttr("style"); $(".s-wdgItem").removeClass("s-wdgItem");$(".fadehiddenOffscreen").removeClass("fadehiddenOffscreen");$(".s-wdgActive").removeClass("s-wdgActive");$(".s-wdgToReset").removeClass("s-wdgToReset");$("[data-s-wdg-toreset]").removeAttr("data-s-wdg-toreset");n={};b()},500));b()}})();Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector); Element.prototype.closest||(Element.prototype.closest=function(b){var f=this;do{if(f.matches(b))return f;f=f.parentElement||f.parentNode}while(null!==f&&1===f.nodeType);return null}); Array.prototype.filter||(Array.prototype.filter=function(b,f){if("Function"!==typeof b&&"function"!==typeof b||!this)throw new TypeError;var g=this.length>>>0,l=Array(g),a=0,c=-1;if(void 0===f)for(;++c!==g;){if(c in this){var d=this[c];b(this[c],c,this)&&(l[a++]=d)}}else for(;++c!==g;)c in this&&(d=this[c],b.call(f,this[c],c,this)&&(l[a++]=d));l.length=a;return l}); Array.from||(Array.from=function(){var b=Object.prototype.toString,f=function(l){return"function"===typeof l||"[object Function]"===b.call(l)},g=Math.pow(2,53)-1;return function(l){var a=Object(l);if(null==l)throw new TypeError("Array.from requires an array-like object - not null or undefined");var c=1this.length?!1:-1!==this.indexOf(b,f)});"use strict"; function AutoCarousel(b){this.parentElement=b;this.pb_init=0;this.barInterval;this.firstViewed=this.autoPlayState=!1;var f=(this.autoPlayIntervalAttr=$(this.parentElement).attr("auto-play-interval"))?parseInt(this.autoPlayIntervalAttr):50;this.prevStateOfAutoPlay;this.carouselPrevArrow=$(this.parentElement).find(".auto-play-prev-arrow");this.carouselNextArrow=$(this.parentElement).find(".auto-play-next-arrow");this.highlightCard=$(this.parentElement).find("div.auto-play-highlight-card");this.divtileheight= $(this.parentElement).find(".card");this.numberOfCards=$(this.highlightCard).find(".card").length;this.playToolTip=$(this.parentElement).find(".auto-play-copy-segment .auto-play-controls span");this.toggleActionBtn=$(this.parentElement).find(".auto-play-controls \x3e button");this.progressBar=function(a,c){1===c&&(this.pb_init=0,clearInterval(this.barInterval));0==this.pb_init&&(this.pb_init=1,this.showCardForBar(a),this.pbVal=1);this.barInterval=setInterval(this.frame,f,a,this)};this.frame=function(a, c){c.autoPlayState&&(99d?$(this.parentElement).find("div.auto-play-progress").eq(d).find(".progress-bar").css("width","100%"):$(this.parentElement).find("div.auto-play-progress").eq(d).find(".progress-bar").css("width","0%")});0===a?$(this.parentElement).find("div.auto-play-progress").eq(0).find(".progress-bar").css("width","100%"):a===this.numberOfCards&&"prev"===c&&$(this.parentElement).find("div.auto-play-progress").eq(this.numberOfCards- 1).find(".progress-bar").css("width","100%")};this.updateProgressBar=function(a,c){var d=$(a).find("section.f-active").index()+1;if("prev"===c){var k=1d&&$(window).scrollTop(){$(this.highlightCard).find("section.card").each(function(a){})})();const g=a=>{this.toggleActionBtn.attr("data-bi-hn",a);this.toggleActionBtn.attr("data-bi-ehn",a);this.carouselPrevArrow.attr("data-bi-hn",a);this.carouselPrevArrow.attr("data-bi-ehn",a);this.carouselNextArrow.attr("data-bi-ehn",a); this.carouselNextArrow.attr("data-bi-hn",a)};this.setSlideMessage=function(){var a=$(this.highlightCard).find("section.f-active").index(),c=$(this.highlightCard).find("section.card").length,d=$(this.highlightCard).find("section.f-active .text-blue").html();document.getElementById("status-msg").innerHTML=`slide ${a+1} of ${c}. ${d}`;g(d)};this.playPauseClick=function(a){if("click"===a.type){a.data.targetCarousel.prevStateOfAutoPlay=a.data.targetCarousel.autoPlayState;a.data.targetCarousel.autoPlayState= !a.data.targetCarousel.autoPlayState;const k=$(this.parentElement).find("button.c-action-toggle");var c=$(a.data.targetCarousel.playToolTip).attr("data-pause-label"),d=$(a.data.targetCarousel.playToolTip).attr("data-play-label");a.data.targetCarousel.prevStateOfAutoPlay?($(a.data.targetCarousel.playToolTip).html(d),k.attr("data-bi-cn",d),k.attr("aria-label",d)):($(a.data.targetCarousel.playToolTip).html(c),k.attr("data-bi-cn",c),k.attr("aria-label",c))}a.data.targetCarousel.toggleActionBtn.toggleClass("glyph-prepend-pause glyph-prepend-play"); a.data.targetCarousel.toggleActionBtn.attr("aria-pressed","true"==a.data.targetCarousel.toggleActionBtn.attr("aria-pressed")?"false":"true")};$(this.parentElement).find("div.auto-play-controls button").on("click",{targetCarousel:this},this.playPauseClick);this.equalizeheight=function(a){a.css("height","auto");var c=!0,d=0;a.each(function(){$(this).is(":visible")||($(this).removeClass("f-hidden"),c=!1);d=d>$(this).height()?d:$(this).height();c||($(this).addClass("f-hidden"),c=!0)});a.height(d)};var l= $(this.parentElement).offset().top;b=l-$(this.parentElement).height();l+=$(this.parentElement).height();$(window).scrollTop()>b&&$(window).scrollTop()c&&$(window).scrollTop()f.equalizeheight(f.divtileheight))},500));window.addEventListener("scroll",function(){b.forEach(function(f){if(!f.firstViewed){var g=$(f.parentElement).offset().top;const l=g-$(f.parentElement).height(); g+=$(f.parentElement).height();$(window).scrollTop()>l&&$(window).scrollTop(){!0===b.detail?$(".autocarousel .glyph-prepend-play").click():$(".autocarousel .glyph-prepend-pause").click()});