PageSourceSearch

https://www.arielinvestments.com/wp-content/themes/ariel/ui/index.js?ver=3.8.0

js arielinvestments.com collected 2026-10-02 05:49:58 UTC 73,987 bytes, 6 lines download raw bytes

1var Hi=Object.defineProperty;var zi=(e,t,n)=>t in e?Hi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ve=(e,t,n)=>(zi(e,typeof t!="symbol"?t+"":t,n),n);/* empty css                     */import"./js/brunswick-bootstrap-6a7c7c5a.js";import{g as m,S as ce,a as Yt,b as $i,r as Fi}from"./js/brunswick-gsap-2e863fae.js";import{$ as f,a as F,u as U,c as ne,d as lt,b as W,g as Wi,s as Ui,r as x,h as Y,t as ke,e as Gi,f as ji,i as qi,j as Yi,k as Ki}from"./js/brunswick-utility-scripts-8056ec27.js";class Xi{constructor(){this.bus=document.createElement("fakeelement")}addEventListener(t,n){this.bus.addEventListener(t,n)}removeEventListener(t,n){this.bus.removeEventListener(t,n)}dispatchEvent(t,n={}){this.bus.dispatchEvent(new CustomEvent(t,{detail:n}))}}const Ur=U.scrollTriggerMediaMatch,Gr=U.scrollTriggerSmallScreenMediaMatch;let Kt=m.matchMedia();const Zi=f(".page-banner-hero"),Qi=f(".page-banner-hero-content"),Ji=f(".page-banner-hero-img"),jr=f(".page-banner-hero-title-copy span"),Et=f(".page-banner-hero-copy"),Xt=f(".page-banner-hero-sup");let yt=null,dr=!1;function ea(){const e=f(".page-banner-hero");if(!e)return;const t=f(".page-banner-hero-img",e);let n=t.dataset.bgSmall,r=t.dataset.bgLarge;function i(){let a=ne(),l=U.smallScreenCategories.includes(a);t&&l?n?t.style.backgroundImage=`url(${n})`:t.style.backgroundImage=`url(${r})`:t&&!l&&(t.style.backgroundImage=`url(${r})`)}i();const s=lt(()=>{i()},500);window.addEventListener("resize",s),qr()}function ta(){yt=new Yt(jr,{type:"chars",charsClass:"pb-hero-char",linesClass:"pb-hero-line"}),m.set(yt.chars,{yPercent:140})}function na(){ea(),m.set(Et,{opacity:0,left:"-18px"}),m.set(Qi,{opacity:1}),Kt.add([Ur],()=>{Xt&&m.set(Xt,{opacity:0}),qr(),ta()}),Kt.add([Gr],()=>{m.set(Et,{opacity:1,left:0})})}function qr(){const e=f(".page-banner-hero-title-copy-inner");if(!e)return;const t=e.textContent,n=t.length,r=t[n-1],i=e.textContent.replace(r,"<span class='hero-sup'>"+r+"</span>");e.innerHTML=i}function ra(){const e=m.timeline({paused:!0,delay:.3});Kt.add([Ur],()=>{e.to(Ji,{scale:1,duration:.8,ease:"circ.out"}),e.to(yt.chars,{opacity:1,yPercent:0,z:0,stagger:.04,duration:.5,ease:"circ.out",onComplete:()=>{F(jr,"animation-complete")}},"<"),e.to(Et,{opacity:1,left:0,duration:.6,ease:"circ.out"},"<10%"),Xt&&e.to(Xt,{opacity:1,duration:.6,ease:"circ.out"}),ce.create({trigger:Zi,start:"top 0",pin:!0,pinSpacing:!1,invalidateOnRefresh:!0,onEnter:()=>{e.play(),dr=!0}}),dr&&m.set(Et,{opacity:1,left:0})}),Kt.add([Gr],()=>{yt&&(yt.revert(),m.to(Et,{opacity:1,left:0,duration:.3}))})}const Yr=U.scrollTriggerMediaMatch,Kr=U.scrollTriggerSmallScreenMediaMatch;let Zt=m.matchMedia();const ye={duration:1,stagger:.45,ease:"circ.out",position:"0",y:100,x:-150,start:"top 75%",startSs:"top 70%",markersVisible:!1,playReverse:!1,interval:.1,batchMax:3};function fr(e,t,n,r,i){ce.create({trigger:e,start:n,markers:i,onEnter:()=>{t.play()},onLeaveBack:()=>{r&&r!=="false"&&t.reverse()}})}function vr(e,t,n,r){const i=!r.playReverse;ce.batch(e,{markers:r.markersVisible,interval:r.interval,batchMax:r.batchMax,start:r.start,once:i,onEnter:s=>t(s,n)[0],onEnterBack:s=>{r.playReverse&&r.playReverse!=="false"&&t(s,n)[0].reverse()}})}function ot(e){const t=r=>r.replace(/(?:^\w|[A-Z]|\b\w)/g,(i,s)=>s===0?i.toLowerCase():i.toUpperCase()).replace(/\s+/g,"").replace(/-/g,"");let n={};for(let r=0;r<e.attributes.length;r++){let i=e.attributes[r];if(/^data-gsap-/.test(i.nodeName)){let s=i.nodeName.replace(/^data-gsap-/,"");s=t(s),n[s]=i.nodeValue}}return n}function qn(e,t,n){const r=n.start,i=n.startSs,s=n.playReverse,a=n.markersVisible;Zt.add([Yr],()=>{fr(e,t,r,s,a)}),Zt.add([Kr],()=>{fr(e,t,i,s,a)})}function ia(e,t,n,r){Zt.add([Yr],()=>{vr(e,t,n,r)}),Zt.add([Kr],()=>{r.start=r.startSs,vr(e,t,n,r)})}function Xr(e,t){const r={...ye,...{duration:1.5},...t},i=e.closest(".flip"),s=e.closest(".reveal-across");function a(){if(!i&&!s)return"inset(0% 0% 100% 0%)";if(i&&!s)return"inset(0% 0% 100% 0%)";if(!i&&s)return"inset(0% 100% 0% 0%)";if(i&&s)return"inset(0% 0% 0% 100%)"}return m.set(e,{alpha:0,clipPath:a}),[m.to(e,{alpha:1,clipPath:"inset(0% 0% 0% 0%)",duration:r.duration,stagger:r.stagger,ease:r.ease}),r]}m.matchMedia();function aa(){const e=f(".ar-hp-splash");if(!e)return;const t=f(".ar-logo-svg-ligature"),n=f(".ar-hp-splash-upper"),r=f(".ar-hp-splash-lower"),i=W(".ar-hp-splash-el"),s=f(".ar-hp-splash-seal-wrap"),a=m.timeline({paused:!0}),l=m.timeline({paused:!0});let o=Wi("homeSplashPlayed");na(),o||m.to(e,{autoAlpha:1,duration:0}),l.to(e,{opacity:0,duration:.8,ease:"power3.inOut",onComplete:()=>{c()}}),l.to(e,{height:0,duration:0,ease:"power3.inOut"}
1),a.to(s,{opacity:1,duration:.3}),a.to(i,{y:0,duration:.8,stagger:.2,ease:"power4.out",onComplete:()=>{Xr(t,{})}}),a.to(n,{y:"180%",duration:1.2,ease:"power4.out",delay:1}),a.to(r,{y:"130%",duration:1.2,ease:"power4.out"},"<+=0.3"),a.to(s,{opacity:0,duration:.8,onComplete:()=>{c()}},"<"),a.to(e,{height:0,duration:1,ease:"power3.out",onComplete:function(){window.gsapSmoother&&window.gsapSmoother.smoother.paused(!1)}}),a.addLabel("splashComplete");function c(){o||Ui("homeSplashPlayed","true",7),ArielEventBus.dispatchEvent("splash-complete")}ce.create({trigger:e,start:"top 10%",onEnter:()=>{o?(window.gsapSmoother&&window.gsapSmoother.smoother.paused(!1),l.play()):(window.gsapSmoother&&window.gsapSmoother.smoother.paused(!0),a.play())}})}function oa(){aa();const e=f("body");window.ArielEventBus.addEventListener("splash-complete",t=>{ra(),F(e,"splash-complete")})}function sa(){const e=f("body"),t=f(".header"),n=f(".footer");function r(i){i&&i>0?(x(e,"scroll-direction-up"),F(e,"scroll-direction-down")):(F(e,"scroll-direction-up"),x(e,"scroll-direction-down"))}ce.create({start:"top 0",trigger:t,pin:!1,pinSpacing:!1,endTrigger:n,end:"bottom 0",invalidateOnRefresh:!0,onUpdate:i=>{r(i.direction)}})}const ue=f(".header"),Zr=f(".ar-header"),ca=f(".ar-header-primary-navigation-submenus-wrapper"),la=W(".ar-primary-navigation-submenu-container"),Cn=f(".ar-primary-navigation"),ua=f(".ar-primary-navigation-submenu-back"),da=W(".ar-primary-navigation-item"),fa=f(".ar-header-investors-navigation-submenus-wrapper"),va=W(".ar-investors-navigation-submenu-container"),Mn=f(".ar-investors-navigation"),ha=f(".ar-investors-navigation-submenu-back"),pa=W(".ar-investors-navigation-item"),On=f(".ar-utility-navigation"),ht=f(".ar-header-mobile-menu-icon"),pt='a[href], [role="button"], button, textarea, input[type="text"], input[type="radio"], input[type="checkbox"], select';let te=null,Qt=null,_n=null,ee;const ga=()=>{Zr.addEventListener("keydown",ma),Qr()},ma=e=>{if(!!Y(ue,"ar-header-menu-opened")){if(e.key==="Escape"||e.keyCode===27){const s=new CustomEvent("reset-navigation");window.dispatchEvent(s)}if(!(e.key!=="ArrowDown"&&e.key!=="ArrowUp"&&e.key!=="ArrowRight"&&e.key!=="ArrowLeft"&&e.key!=="Tab"&&e.key!=="Space")&&(U.smallScreenCategories.includes(ne())&&(e.key==="Tab"&&e.shiftKey?(e.preventDefault(),ee>0&&(ee-=1),document.activeElement===Qt&&(ee=te.length-1),te[ee].focus()):e.key==="Tab"&&(e.preventDefault(),ee<te.length-1&&(ee+=1),document.activeElement===_n&&(ee=0),te[ee].focus())),e.key==="ArrowDown"&&(e.preventDefault(),document.activeElement===_n?ee=0:ee<te.length-1&&(ee+=1),te[ee].focus()),e.key==="ArrowUp"&&(e.preventDefault(),document.activeElement===Qt?ee=te.length-1:ee>0&&(ee-=1),te[ee].focus()),U.largeScreenCategories.includes(ne()))){if(e.key==="ArrowRight"){const s=e.target.closest(".ar-navigation-submenu-item");var t=function(l,o){for(var c=l.nextElementSibling;c;){if(c.matches(o))return c;c=c.nextElementSibling}},n=t(s,".ar-navigation-submenu-item:not(.ar-investors-navigation-l2-sub-container)");let a;if(n){const l=f(".ar-navigation-submenu-desktop-only",n);l?a=f(pt,l):a=f(pt,n),te.forEach((o,c)=>{o===a&&(a.focus(),ee=c)})}}if(e.key==="ArrowLeft"){const s=e.target.closest(".ar-navigation-submenu-item");var r=function(l,o){for(var c=l.previousElementSibling;c;){if(c.matches(o))return c;c=c.previousElementSibling}},i=r(s,".ar-navigation-submenu-item:not(.ar-investors-navigation-l2-sub-container)");let a;if(i){const l=f(".ar-navigation-submenu-desktop-only",i);l?a=f(pt,l):a=f(pt,i),te.forEach((o,c)=>{o===a&&(a.focus(),ee=c)})}}}}},gt=e=>{te=e.reduce((t,n)=>{let r=W(pt,n);return r.length===0&&(r=[n]),[...t,...r]},[]),U.smallScreenCategories.includes(ne())&&(te=te.filter(t=>!t.hasAttribute("data-tab-exclude-mobile")&&!Y(t,"article"))),U.largeScreenCategories.includes(ne())&&(te=te.filter(t=>!t.hasAttribute("data-tab-exclude-desktop"))),te.forEach((t,n)=>{t.setAttribute("tabindex","0")}),ee=0,Qt=te[0],_n=te[te.length-1],setTimeout(()=>{Qt.focus()},500)},Qr=()=>{const e=W(".ar-utility-navigation-item a");U.largeScreenCategories.includes(ne())?e.forEach((t,n)=>{t.setAttribute("tabindex",n+1)}):e.forEach(t=>{t.removeAttribute("tabindex")})},Ea=e=>{W(".ar-primary-navigation-item a").forEach(n=>{!Y(n.parentElement,"has-children")||(n.getAttribute("data-l1-menu-id")===e&&Y(n.parentElement,"ar-primary-navigation-item-active")?n.setAttribute("aria-expanded","true"):n.setAttribute("aria-expanded","fal
1se"))})},ya=()=>{new hr("primary-navigation","data-l1-menu-id","data-l2-menu-id","data-selectedl1menu","data-selectedl2menu","data-l1-submenu-id","data-l2-submenu-id",la,da,ua,ca),new hr("investors-navigation","data-i-l1-menu-id","data-i-l2-menu-id","data-i-selectedl1menu","data-i-selectedl2menu","data-i-l1-submenu-id","data-i-l2-submenu-id",va,pa,ha,fa),ba(),wa()};class hr{constructor(t,n,r,i,s,a,l,o,c,u,g){ve(this,"initNavigation",()=>{W(`.ar-${this.navType}-item a`).forEach(n=>{if(!Y(n.parentElement,"has-children"))return;const r=i=>{i.preventDefault(),this.l1MenuId=i.currentTarget.getAttribute(this.dataL1MenuId).toString(),this.currentLevel=1,console.log(1),this.showL1Menu()};n.addEventListener("click",i=>{r(i)}),n.getAttribute("role")==="button"&&n.addEventListener("keydown",i=>{i.key===" "&&r(i)})}),document.addEventListener("click",n=>{if(!n.target.closest(".header")){if(this.l1MenuId=null,U.smallScreenCategories.includes(ne()))return;this.showL1Menu()}}),window.addEventListener("reset-navigation",()=>this.resetNavigation()),window.addEventListener(`close-${this.navType}`,()=>this.resetNavigation()),this.initPrimaryMobileEvents()});ve(this,"initPrimaryMobileEvents",()=>{const t=W(`[${this.dataL2MenuId}]`);this.backButton&&this.backButton.addEventListener("click",n=>{n.preventDefault(),this.goBackMobile()}),t.forEach(n=>{n.addEventListener("click",r=>{U.largeScreenCategories.includes(ne())||(r.preventDefault(),this.l2MenuId=r.currentTarget.getAttribute(this.dataL2MenuId).toString(),this.currentLevel=2,this.showL2Menu())})})});ve(this,"hideAllL1Menus",()=>{this.allL1Menus.forEach(t=>{F(t,"ar-hide")})});ve(this,"resetNavigation",()=>{this.navigationHistory=[],this.hideAllL1Menus();const t=this.getL2Menu(this.subMenusContainer.getAttribute(this.dataSelectedL2menu));t&&x(t,`ar-${this.navType}-l2-sub-container-show`),this.allMenuItems.forEach(n=>{x(n,`ar-${this.navType}-item-active`)}),x(this.subMenusContainer,`ar-header-${this.navType}-submenus-wrapper-show`),this.subMenusContainer.setAttribute(this.dataSelectedL1menu,null),this.subMenusContainer.setAttribute(this.dataSelectedL2menu,null),x(ue,"ar-header-menu-opened"),x(ue,"ar-header-submenu-opened"),x(f("body"),"nav-active"),this.currentLevel=0});ve(this,"goBackMobile",()=>{if(this.currentLevel===1&&(this.navigationHistory.length===1&&this.subMenusContainer.setAttribute(this.dataSelectedL1menu,null),x(ue,"ar-header-submenu-opened"),x(this.subMenusContainer,`ar-header-${this.navType}-submenus-wrapper-show`),this.navigationHistory.pop(),gt([ht,Cn,Mn,On])),this.currentLevel===2){const t=this.getL2Menu(this.subMenusContainer.getAttribute(this.dataSelectedL2menu));x(t,`ar-${this.navType}-l2-sub-container-show`),this.subMenusContainer.setAttribute(this.dataSelectedL2menu,null)}this.currentLevel=this.currentLevel-1<0?0:this.currentLevel-1});ve(this,"getL1Menu",()=>f(`.ar-${this.navType}-submenu-container[${this.dataL1SubmenuId}="${this.l1MenuId}"]`));ve(this,"getL2Menu",()=>f(`.ar-${this.navType}-l2-sub-container[${this.dataL2SubmenuId}="${this.l2MenuId}"]`));ve(this,"setActiveL1MenuItem",()=>{if(this.l1MenuId===null)return;this.allMenuItems.forEach(r=>{x(r,`ar-${this.navType}-item-active`)});const t=f(`.ar-${this.navType}-item [${this.dataL1MenuId}="${this.l1MenuId}"]`),n=this.subMenusContainer.getAttribute(`${this.dataSelectedL1menu}`);t&&n!==this.l1MenuId?F(t.parentElement,`ar-${this.navType}-item-active`):x(t.parentElement,`ar-${this.navType}-item-active`),Ea(this.l1MenuId)});ve(this,"closeSubMenus",()=>{this.hideAllL1Menus(),x(this.subMenusContainer,`ar-header-${this.navType}-submenus-wrapper-show`),F(ue,"ar-header-submenu-opened")});ve(this,"showL1Menu",()=>{U.largeScreenCategories.includes(ne())||(this.navigationHistory=[]);const t=new CustomEvent(this.navType==="primary-navigation"?"close-investors-navigation":"close-primary-navigation");if(window.dispatchEvent(t),this.closeSubMenus(),this.setActiveL1MenuItem(this.l1MenuId),Y(ue,"ar-header-menu-opened")||ke(ue,"ar-header-menu-opened"),this.subMenusContainer.getAttribute(this.dataSelectedL1menu)===this.l1MenuId||this.l1MenuId===null){this.subMenusContainer.setAttribute(this.dataSelectedL1menu,null),Y(ue,"ar-header-menu-opened")&&ke(ue,"ar-header-menu-opened");return}U.largeScreenCategories.includes(ne())||this.navigationHistory.push(this.l1MenuId),this.subMenusContainer.setAttribute(`${this.dataSelectedL1menu}`,this.l1MenuId);const n=this.getL1Menu(this.l1MenuId);x(n,"ar-hide");let r;if(!U.largeScreenCategories.includes(ne()))f(`.ar-${this.navType}-submenu-item.ar-${this.navType}-l2-sub-container`,n)?r=W(`.ar-${this.navType}-submenu-item:not(.ar-${this.navType}-l2-sub-container)`,n):r=n,gt(r.length?[this.backButton,...r]:[this.backButton,r]);else{const i=f(`.ar-${this.navType}-item-active`,Zr);r=n,gt([i,r])}F(this.subMenusContainer,`ar-header-${this.navType}-submenus-wrapper-show`)});ve(this,"showL2Menu",()=>{const t=f(`.ar-${this.navType}-l2-sub-container[${this.dataL2SubmenuId}
1="${this.l2MenuId}"]`);U.largeScreenCategories.includes(ne())||gt([this.backButton,t]),F(t,`ar-${this.navType}-l2-sub-container-show`),this.subMenusContainer.setAttribute(`${this.dataSelectedL2menu}`,this.l2MenuId)});this.navigationHistory=[],this.currentLevel=0,this.navType=t,this.dataL2MenuId=r,this.dataL1MenuId=n,this.dataSelectedL2menu=s,this.dataSelectedL1menu=i,this.dataL1SubmenuId=a,this.dataL2SubmenuId=l,this.allL1Menus=o,this.allMenuItems=c,this.backButton=u,this.subMenusContainer=g,this.initNavigation()}}const ba=()=>{const e=lt(()=>{U.largeScreenCategories.includes(ne())?x(document.body,"overflow-hidden"):Y(ue,"ar-header-menu-opened")&&F(document.body,"overflow-hidden"),Qr()},500);window.addEventListener("resize",e)},wa=()=>{ht.addEventListener("click",e=>{if(e.preventDefault(),ke(ue,"ar-header-menu-opened"),ke(document.body,"overflow-hidden"),m.fromTo(ue,{backgroundColor:"transparent"},{backgroundColor:getComputedStyle(document.documentElement).getPropertyValue("--white"),duration:.5}),m.fromTo(Mn,{y:-10,autoAlpha:0},{y:0,autoAlpha:1,duration:.5}),m.fromTo(Cn,{y:-10,autoAlpha:0},{y:0,autoAlpha:1,duration:.5}),m.fromTo(On,{y:-10,autoAlpha:0},{y:0,autoAlpha:1,duration:.5}),Y(ue,"ar-header-menu-opened"))ht.setAttribute("aria-expanded","true"),gt([ht,Cn,Mn,On]);else{ht.setAttribute("aria-expanded","false");const t=new CustomEvent("reset-navigation");window.dispatchEvent(t)}})},Sa=()=>{ga(),ya()};let ae,pe=null,Jt=null,Pn=null,gn=null;const Aa=()=>{const e=Ca(),t=f("body");e.length>0&&(Oa(e),F(ue,"has-anchors-navigation"),F(t,"page-has-anchors-navigation"));const n=f(".ar-anchors-navigation");if(!n)return;W(".ar-anchors-navigation-menu-item").forEach(i=>{i.addEventListener("click",s=>{s.preventDefault(),ke(n,"ar-anchors-navigation-opened"),pr(n)})}),n.addEventListener("keydown",Ta),document.addEventListener("click",function(i){i.target.closest(".ar-anchors-navigation")||(x(n,"ar-anchors-navigation-opened"),pr(n))}),setTimeout(()=>{La()},1e3)},La=()=>{const t=window.location.href.split("#")[1];if(t){const n=`#${t}`;ei(n)}},pr=e=>{Y(e,"ar-anchors-navigation-opened")?(e.setAttribute("aria-expanded","true"),Ia(W(".ar-anchors-navigation-menu-item-link",e))):e.setAttribute("aria-expanded","false")},Ta=e=>{const t=f(".ar-anchors-navigation");!Y(t,"ar-anchors-navigation-opened")||((e.key==="Escape"||e.keyCode===27)&&x(t,"ar-anchors-navigation-opened"),!(e.key!=="ArrowDown"&&e.key!=="ArrowUp"&&e.key!=="Tab")&&(U.largeScreenCategories.includes(ne())||(e.key==="Tab"&&e.shiftKey?(e.preventDefault(),ae>0&&(ae-=1),document.activeElement===Jt&&(ae=pe.length-1),pe[ae].focus()):e.key==="Tab"&&(e.preventDefault(),ae<pe.length-1&&(ae+=1),document.activeElement===Pn&&(ae=0),pe[ae].focus())),e.key==="ArrowDown"&&(e.preventDefault(),document.activeElement===Pn?ae=0:ae<pe.length-1&&(ae+=1),pe[ae].focus()),e.key==="ArrowUp"&&(e.preventDefault(),document.activeElement===Jt?ae=pe.length-1:ae>0&&(ae-=1),pe[ae].focus())))},Ia=e=>{ae=0,pe=e,Jt=pe[0],Pn=pe[pe.length-1],setTimeout(()=>{Jt.focus()},500)},Ca=()=>Array.from(W("[data-anchor-slug]")).filter(t=>t.getAttribute("data-anchor-slug").startsWith("nav-")).map(t=>t.getAttribute("id")),nt=(e="")=>U.largeScreenCategories.includes(ne())?e==="large"?U.headerHeightDesktopLargeWithAnchorsMenu:U.headerHeightDesktopSmallWithAnchorsMenu:U.headerHeightMobileWithAnchorMenu,Ma=e=>{const t=f(".ar-anchors-navigation-select-button");t.innerText=Jr(e)},Oa=e=>{const t=f(".ar-header-anchors-navigation-wrapper");let n=document.createElement("nav");F(n,"ar-anchors-navigation"),n.setAttribute("aria-expanded","false"),n.setAttribute("aria-label","Anchors Navigation"),n.setAttribute("aria-live","polite");let r=document.createElement("ul");F(r,"ar-anchors-navigation-menu"),n.appendChild(r),t.appendChild(n);let i=document.createElement("li"),s=document.createElement("button");s.innerText="Overview",F(i,"ar-anchors-navigation-select-button-wrapper"),F(i,"ar-anchors-navigation-menu-item"),F(s,"ar-anchors-navigation-select-button"),i.appendChild(s),r.appendChild(i);const a=[];e.forEach(o=>{let c=document.createElement("li");F(c,"ar-anchors-navigation-menu-item");let u=document.createElement("a");F(u,"ar-anchors-navigation-menu-item-link"),u.setAttribute("href",`#${o}`),u.innerText=Jr(o),c.appendChild(u),r.appendChild(c);const g=()=>{_a(u),F(u.parentElement,"ar-anchors-navigation-menu-item-active"),Ma(o),history.replaceState(null,null,`#${o}`)},p=ce.create({trigger:`#${o}`,start:function(){return Y(document.body,"scroll-direction-up")?`top ${nt("large")}px`:`top ${nt("")}px`},onEnter:()=>{g()},onEnterBack:()=>{g()}});Pa(u),a.push(p)});const l=lt(()=>{a.forEach(o=>{o.refresh()})},10);window.onscroll=l},_a=e=>{gn&&x(gn,"ar-anchors-navigation-menu-item-active"),gn=e.parentElement},Jr=e=>e.replace("nav-","").replace(/-/g," "),ei=e=>{m.to(window,{duration:.4,scrollTo:{y:e,offsetY:function(){const t=f(e).getBoundingClientRect().top,n=Y(document.body,"scroll-direction-up")?nt("large"):nt();return t<n?nt("large")-1:nt()-1}}})},Pa=e=>{e.addEventListener("click",t=>{t.preventDefault();let n=e.getAttribute("href");ei(n)})};function ka(){const e=W(".content-block.floating-image");if(!e)return;function t(n=null,r="out"){e.forEach(i=>
1{i!==n&&(r==="in"?m.to(i,{opacity:1,duration:.5}):m.to(i,{opacity:.2,duration:.5}))})}e.forEach(n=>{const r=f(".ar-cb-float-trigger",n),i=f(".ar-cb-media-wrap",n),s=f(".media-item",i),a=m.timeline({paused:!0});a.to(s,{scale:1,duration:.7,ease:"power2.inOut"}),a.to(i,{clipPath:"inset(0% 0% 0% 0%)",duration:.7,ease:"power2.inOut"},"<"),r&&(r.addEventListener("mouseenter",l=>{a.play(),F(n,"is-hover-active"),t(n)}),r.addEventListener("mouseleave",()=>{a.reverse(),x(n,"is-hover-active"),t(null,"in")}))})}function on(e=700){window.gsapSmoother.smoother.paused(!0),setTimeout(()=>{window.gsapSmoother.smoother.paused(!1),ce.refresh()},e)}function Na(){let e=W(".accordion-button");!e||e.forEach(t=>{t.addEventListener("click",n=>{n.preventDefault(),window.gsapSmoother&&on()})})}function gr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ra(e,t,n){return t&&gr(e.prototype,t),n&&gr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}/*!
2 * Splide.js
3 * Version  : 4.1.4
4 * License  : MIT
5 * Copyright: 2022 Naotoshi Fujita
6 */var mr="(prefers-reduced-motion: reduce)",rt=1,Da=2,st=3,ut=4,kt=5,Wt=6,en=7,xa={CREATED:rt,MOUNTED:Da,IDLE:st,MOVING:ut,SCROLLING:kt,DRAGGING:Wt,DESTROYED:en};function Re(e){e.length=0}function Ue(e,t,n){return Array.prototype.slice.call(e,t,n)}function q(e){return e.bind.apply(e,[null].concat(Ue(arguments,1)))}var ti=setTimeout,kn=function(){};function Er(e){return requestAnimationFrame(e)}function sn(e,t){return typeof t===e}function At(e){return!Kn(e)&&sn("object",e)}var Yn=Array.isArray,ni=q(sn,"function"),He=q(sn,"string"),Nt=q(sn,"undefined");function Kn(e){return e===null}function ri(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(t){return!1}}function Rt(e){return Yn(e)?e:[e]}function Ee(e,t){Rt(e).forEach(t)}function Xn(e,t){return e.indexOf(t)>-1}function Ut(e,t){return e.push.apply(e,Rt(t)),e}function _e(e,t,n){e&&Ee(t,function(r){r&&e.classList[n?"add":"remove"](r)})}function Ie(e,t){_e(e,He(t)?t.split(" "):t,!0)}function Dt(e,t){Ee(t,e.appendChild.bind(e))}function Zn(e,t){Ee(e,function(n){var r=(t||n).parentNode;r&&r.insertBefore(n,t)})}function Lt(e,t){return ri(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function ii(e,t){var n=e?Ue(e.children):[];return t?n.filter(function(r){return Lt(r,t)}):n}function xt(e,t){return t?ii(e,t)[0]:e.firstElementChild}var Tt=Object.keys;function Ke(e,t,n){return e&&(n?Tt(e).reverse():Tt(e)).forEach(function(r){r!=="__proto__"&&t(e[r],r)}),e}function It(e){return Ue(arguments,1).forEach(function(t){Ke(t,function(n,r){e[r]=t[r]})}),e}function Be(e){return Ue(arguments,1).forEach(function(t){Ke(t,function(n,r){Yn(n)?e[r]=n.slice():At(n)?e[r]=Be({},At(e[r])?e[r]:{},n):e[r]=n})}),e}function yr(e,t){Ee(t||Tt(e),function(n){delete e[n]})}function Ce(e,t){Ee(e,function(n){Ee(t,function(r){n&&n.removeAttribute(r)})})}function z(e,t,n){At(t)?Ke(t,function(r,i){z(e,i,r)}):Ee(e,function(r){Kn(n)||n===""?Ce(r,t):r.setAttribute(t,String(n))})}function it(e,t,n){var r=document.createElement(e);return t&&(He(t)?Ie(r,t):z(r,t)),n&&Dt(n,r),r}function we(e,t,n){if(Nt(n))return getComputedStyle(e)[t];Kn(n)||(e.style[t]=""+n)}function Ct(e,t){we(e,"display",t)}function ai(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function Ae(e,t){return e.getAttribute(t)}function br(e,t){return e&&e.classList.contains(t)}function ge(e){return e.getBoundingClientRect()}function Xe(e){Ee(e,function(t){t&&t.parentNode&&t.parentNode.removeChild(t)})}function oi(e){return xt(new DOMParser().parseFromString(e,"text/html").body)}function Oe(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function si(e,t){return e&&e.querySelector(t)}function Qn(e,t){return t?Ue(e.querySelectorAll(t)):[]}function Pe(e,t){_e(e,t,!1)}function Nn(e){return e.timeStamp}function qe(e){return He(e)?e:e?e+"px":""}var Bt="splide",Jn="data-"+Bt;function bt(e,t){if(!e)throw new Error("["+Bt+"] "+(t||""))}
vendor: 19,925 bytes, line 6
6var ze=Math.min,tn=Math.max,nn=Math.floor,Mt=Math.ceil,de=Math.abs;function ci(e,t,n){return de(e-t)<n}function Gt(e,t,n,r){var i=ze(t,n),s=tn(t,n);return r?i<e&&e<s:i<=e&&e<=s}function et(e,t,n){var r=ze(t,n),i=tn(t,n);return ze(tn(r,e),i)}function Rn(e){return+(e>0)-+(e<0)}function Dn(e,t){return Ee(t,function(n){e=e.replace("%s",""+n)}),e}function er(e){return e<10?"0"+e:""+e}var wr={};function Ba(e){return""+e+er(wr[e]=(wr[e]||0)+1)}function li(){var e=[];function t(a,l,o,c){i(a,l,function(u,g,p){var v="addEventListener"in u,d=v?u.removeEventListener.bind(u,g,o,c):u.removeListener.bind(u,o);v?u.addEventListener(g,o,c):u.addListener(o),e.push([u,g,p,o,d])})}function n(a,l,o){i(a,l,function(c,u,g){e=e.filter(function(p){return p[0]===c&&p[1]===u&&p[2]===g&&(!o||p[3]===o)?(p[4](),!1):!0})})}function r(a,l,o){var c,u=!0;return typeof CustomEvent=="function"?c=new CustomEvent(l,{bubbles:u,detail:o}):(c=document.createEvent("CustomEvent"),c.initCustomEvent(l,u,!1,o)),a.dispatchEvent(c),c}function i(a,l,o){Ee(a,function(c){c&&Ee(l,function(u){u.split(" ").forEach(function(g){var p=g.split(".");o(c,p[0],p[1])})})})}function s(){e.forEach(function(a){a[4]()}),Re(e)}return{bind:t,unbind:n,dispatch:r,destroy:s}}var Qe="mounted",Sr="ready",$e="move",Vt="moved",ui="click",Va="active",Ha="inactive",za="visible",$a="hidden",re="refresh",fe="updated",Ot="resize",tr="resized",Fa="drag",Wa="dragging",Ua="dragged",nr="scroll",dt="scrolled",Ga="overflow",di="destroy",ja="arrows:mounted",qa="arrows:updated",Ya="pagination:mounted",Ka="pagination:updated",fi="navigation:mounted",vi="autoplay:play",Xa="autoplay:playing",hi="autoplay:pause",pi="lazyload:loaded",gi="sk",mi="sh",rn="ei";function Z(e){var t=e?e.event.bus:document.createDocumentFragment(),n=li();function r(s,a){n.bind(t,Rt(s).join(" "),function(l){a.apply(a,Yn(l.detail)?l.detail:[])})}function i(s){n.dispatch(t,s,Ue(arguments,1))}return e&&e.event.on(di,n.destroy),It(n,{bus:t,on:r,off:q(n.unbind,t),emit:i})}function cn(e,t,n,r){var i=Date.now,s,a=0,l,o=!0,c=0;function u(){if(!o){if(a=e?ze((i()-s)/e,1):1,n&&n(a),a>=1&&(t(),s=i(),r&&++c>=r))return p();l=Er(u)}}function g(w){w||d(),s=i()-(w?a*e:0),o=!1,l=Er(u)}function p(){o=!0}function v(){s=i(),a=0,n&&n(a)}function d(){l&&cancelAnimationFrame(l),a=0,l=0,o=!0}function h(w){e=w}function y(){return o}return{start:g,rewind:v,pause:p,cancel:d,set:h,isPaused:y}}function Za(e){var t=e;function n(i){t=i}function r(i){return Xn(Rt(i),t)}return{set:n,is:r}}function Qa(e,t){var n=cn(t||0,e,null,1);return function(){n.isPaused()&&n.start()}}function Ja(e,t,n){var r=e.state,i=n.breakpoints||{},s=n.reducedMotion||{},a=li(),l=[];function o(){var d=n.mediaQuery==="min";Tt(i).sort(function(h,y){return d?+h-+y:+y-+h}).forEach(function(h){u(i[h],"("+(d?"min":"max")+"-width:"+h+"px)")}),u(s,mr),g()}function c(d){d&&a.destroy()}function u(d,h){var y=matchMedia(h);a.bind(y,"change",g),l.push([d,y])}function g(){var d=r.is(en),h=n.direction,y=l.reduce(function(w,b){return Be(w,b[1].matches?b[0]:{})},{});yr(n),v(y),n.destroy?e.destroy(n.destroy==="completely"):d?(c(!0),e.mount()):h!==n.direction&&e.refresh()}function p(d){matchMedia(mr).matches&&(d?Be(n,s):yr(n,Tt(s)))}function v(d,h,y){Be(n,d),h&&Be(Object.getPrototypeOf(n),d),(y||!r.is(rt))&&e.emit(fe,n)}return{setup:o,destroy:c,reduce:p,set:v}}var ln="Arrow",un=ln+"Left",dn=ln+"Right",Ei=ln+"Up",yi=ln+"Down",Ar="rtl",fn="ttb",mn={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Ei,dn],ArrowRight:[yi,un]};function eo(e,t,n){function r(s,a,l){l=l||n.direction;var o=l===Ar&&!a?1:l===fn?0:-1;return mn[s]&&mn[s][o]||s.replace(/width|left|right/i,function(c,u){var g=mn[c.toLowerCase()][o]||c;return u>0?g.charAt(0).toUpperCase()+g.slice(1):g})}function i(s){return s*(n.direction===Ar?1:-1)}return{resolve:r,orient:i}}var Ne="role",at="tabindex",to="disabled",Le="aria-",Ht=Le+"controls",bi=Le+"current",Lr=Le+"selected",me=Le+"label",rr=Le+"labelledby",wi=Le+"hidden",ir=Le+"orientation",_t=Le+"roledescription",Tr=Le+"live",Ir=Le+"busy",Cr=Le+"atomic",ar=[Ne,at,to,Ht,bi,me,rr,wi,ir,_t],Me=Bt+"__",Ge="is-",En=Bt,Mr=Me+"track",no=Me+"list",vn=Me+"slide",Si=vn+"--clone",ro=vn+"__container",or=Me+"arrows",hn=Me+"arrow",Ai=hn+"--prev",Li=hn+"--next",pn=Me+"pagination",Ti=pn+"__page",io=Me+"progress",ao=io+"__bar",oo=Me+"toggle",so=Me+"spinner",co=Me+"sr",lo=Ge+"initialized",Ze=Ge+"active",Ii=Ge+"prev",Ci=Ge+"next",xn=Ge+"visible",Bn=Ge+"loading",Mi=Ge+"focus-in",Oi=Ge+"overflow",uo=[Ze,xn,Ii,Ci,Bn,Mi,Oi],fo={slide:vn,clone:Si,arrows:or,arrow:hn,prev:Ai,next:Li,pagination:pn,page:Ti,spinner:so};function vo(e,t){if(ni(e.closest))return e.closest(t);for(var n=e;n&&n.nodeType===1&&!Lt(n,t);)n=n.parentElement;return n}var ho=5,Or=200,_i="touchstart mousedown",yn="touchmove mousemove",bn="touchend touchcancel mouseup click";function po(e,t,n){var r=Z(e),i=r.on,s=r.bind,a=e.root,l=n.i18n,o={},c=[],u=[],g=[],p,v,d;function h(){E(),R(),b()}function y(){i(re,w),i(re,h),i(fe,b),s(document,_i+" keydown",function(S){d=S.type==="keydown"},{capture:!0}),s(a,"focusin",function(){_e(a,Mi,!!d)})}function w(S){var _=ar.concat("style");Re(c),Pe(a,u),Pe(p,g),Ce([p,v],_),Ce(a,S?_:["style",_t])}function b(){Pe(a,u),Pe(p,g),u=D(En),g=D(Mr),Ie(a,u),Ie(p,g),z(a,me,n.label),z(a,rr,n.labelledby)}function E(){p=O("."+Mr),v=xt(p,"."+no),bt(p&&v,"A track/list element is missing."),Ut(c,ii(v,"."+vn+":not(."+Si+")")),Ke({arrows:or,pagination:pn,prev:Ai,next:Li,bar:ao,toggle:oo},function(S,_){o[_]=O("."+S)}),It(o,{root:a,track:p,list:v,slides:c})}function R(){var S=a.id||Ba(Bt),_=n.role;a.id=S,p.id=p.id||S+"-track",v.id=v.id||S+"-list",!Ae(a,Ne)&&a.tagName!=="SECTION"&&_&&z(a,Ne,_),z(a,_t,l.carousel),z(v,Ne,"presentation")}function O(S){var _=si(a,S);return _&&vo(_,"."+En)===a?_:void 0}function D(S){return[S+"--"+n.type,S+"--"+n.direction,n.drag&&S+"--draggable",n.isNavigation&&S+"--nav",S===En&&Ze]}return It(o,{setup:h,mount:y,destroy:w})}var ct="slide",ft="loop",zt="fade";function go(e,t,n,r){var i=Z(e),s=i.on,a=i.emit,l=i.bind,o=e.Components,c=e.root,u=e.options,g=u.isNavigation,p=u.updateOnMove,v=u.i18n,d=u.pagination,h=u.slideFocus,y=o.Direction.resolve,w=Ae(r,"style"),b=Ae(r,me),E=n>-1,R=xt(r,"."+ro),O;function D(){E||(r.id=c.id+"-slide"+er(t+1),z(r,Ne,d?"tabpanel":"group"),z(r,_t,v.slide),z(r,me,b||Dn(v.slideLabel,[t+1,e.length]))),S()}function S(){l(r,"click",q(a,ui,B)),l(r,"keydown",q(a,gi,B)),s([Vt,mi,dt],T),s(fi,V),p&&s($e,N)}function _(){O=!0,i.destroy(),Pe(r,uo),Ce(r,ar),z(r,"style",w),z(r,me,b||"")}function V(){var k=e.splides.map(function(L){var P=L.splide.Components.Slides.getAt(t);return P?P.slide.id:""}).join(" ");z(r,me,Dn(v.slideX,(E?n:t)+1)),z(r,Ht,k),z(r,Ne,h?"button":""),h&&Ce(r,_t)}function N(){O||T()}function T(){if(!O){var k=e.index;I(),C(),_e(r,Ii,t===k-1),_e(r,Ci,t===k+1)}}function I(){var k=$();k!==br(r,Ze)&&(_e(r,Ze,k),z(r,bi,g&&k||""),a(k?Va:Ha,B))}function C(){var k=Q(),L=!k&&(!$()||E);if(e.state.is([ut,kt])||z(r,wi,L||""),z(Qn(r,u.focusableNodes||""),at,L?-1:""),h&&z(r,at,L?-1:0),k!==br(r,xn)&&(_e(r,xn,k),a(k?za:$a,B)),!k&&document.activeElement===r){var P=o.Slides.getAt(e.index);P&&ai(P.slide)}}function H(k,L,P){we(P&&R||r,k,L)}function $(){var k=e.index;return k===t||u.cloneStatus&&k===n}function Q(){if(e.is(zt))return $();var k=ge(o.Elements.track),L=ge(r),P=y("left",!0),G=y("right",!0);return nn(k[P])<=Mt(L[P])&&nn(L[G])<=Mt(k[G])}function X(k,L){var P=de(k-t);return!E&&(u.rewind||e.is(ft))&&(P=ze(P,e.length-P)),P<=L}var B={index:t,slideIndex:n,slide:r,container:R,isClone:E,mount:D,destroy:_,update:T,style:H,isWithin:X};return B}function mo(e,t,n){var r=Z(e),i=r.on,s=r.emit,a=r.bind,l=t.Elements,o=l.slides,c=l.list,u=[];function g(){p(),i(re,v),i(re,p)}function p(){o.forEach(function(T,I){h(T,I,-1)})}function v(){O(function(T){T.destroy()}),Re(u)}function d(){O(function(T){T.update()})}function h(T,I,C){var H=go(e,I,C,T);H.mount(),u.push(H),u.sort(function($,Q){return $.index-Q.index})}function y(T){return T?D(function(I){return!I.isClone}):u}function w(T){var I=t.Controller,C=I.toIndex(T),H=I.hasFocus()?1:n.perPage;return D(function($){return Gt($.index,C,C+H-1)})}function b(T){return D(T)[0]}function E(T,I){Ee(T,function(C){if(He(C)&&(C=oi(C)),ri(C)){var H=o[I];H?Zn(C,H):Dt(c,C),Ie(C,n.classes.slide),_(C,q(s,Ot))}}),s(re)}function R(T){Xe(D(T).map(function(I){return I.slide})),s(re)}function O(T,I){y(I).forEach(T)}function D(T){return u.filter(ni(T)?T:function(I){return He(T)?Lt(I.slide,T):Xn(Rt(T),I.index)})}function S(T,I,C){O(function(H){H.style(T,I,C)})}function _(T,I){var C=Qn(T,"img"),H=C.length;H?C.forEach(function($){a($,"load error",function(){--H||I()})}):I()}function V(T){return T?o.length:u.length}function N(){return u.length>n.perPage}return{mount:g,destroy:v,update:d,register:h,get:y,getIn:w,getAt:b,add:E,remove:R,forEach:O,filter:D,style:S,getLength:V,isEnough:N}}function Eo(e,t,n){var r=Z(e),i=r.on,s=r.bind,a=r.emit,l=t.Slides,o=t.Direction.resolve,c=t.Elements,u=c.root,g=c.track,p=c.list,v=l.getAt,d=l.style,h,y,w;function b(){E(),s(window,"resize load",Qa(q(a,Ot))),i([fe,re],E),i(Ot,R)}function E(){h=n.direction===fn,we(u,"maxWidth",qe(n.width)),we(g,o("paddingLeft"),O(!1)),we(g,o("paddingRight"),O(!0)),R(!0)}function R(B){var k=ge(u);(B||y.width!==k.width||y.height!==k.height)&&(we(g,"height",D()),d(o("marginRight"),qe(n.gap)),d("width",_()),d("height",V(),!0),y=k,a(tr),w!==(w=X())&&(_e(u,Oi,w),a(Ga,w)))}function O(B){var k=n.padding,L=o(B?"right":"left");return k&&qe(k[L]||(At(k)?0:k))||"0px"}function D(){var B="";return h&&(B=S(),bt(B,"height or heightRatio is missing."),B="calc("+B+" - "+O(!1)+" - "+O(!0)+")"),B}function S(){return qe(n.height||ge(p).width*n.heightRatio)}function _(){return n.autoWidth?null:qe(n.fixedWidth)||(h?"":N())}function V(){return qe(n.fixedHeight)||(h?n.autoHeight?null:N():S())}function N(){var B=qe(n.gap);return"calc((100%"+(B&&" + "+B)+")/"+(n.perPage||1)+(B&&" - "+B)+")"}function T(){return ge(p)[o("width")]}function I(B,k){var L=v(B||0);return L?ge(L.slide)[o("width")]+(k?0:$()):0}function C(B,k){var L=v(B);if(L){var P=ge(L.slide)[o("right")],G=ge(p)[o("left")];return de(P-G)+(k?0:$())}return 0}function H(B){return C(e.length-1)-C(0)+I(0,B)}function $(){var B=v(0);return B&&parseFloat(we(B.slide,o("marginRight")))||0}function Q(B){return parseFloat(we(g,o("padding"+(B?"Right":"Left"))))||0}function X(){return e.is(zt)||H(!0)>T()}return{mount:b,resize:R,listSize:T,slideSize:I,sliderSize:H,totalSize:C,getPadding:Q,isOverflow:X}}var yo=2;function bo(e,t,n){var r=Z(e),i=r.on,s=t.Elements,a=t.Slides,l=t.Direction.resolve,o=[],c;function u(){i(re,g),i([fe,Ot],v),(c=y())&&(d(c),t.Layout.resize(!0))}function g(){p(),u()}function p(){Xe(o),Re(o),r.destroy()}function v(){var w=y();c!==w&&(c<w||!w)&&r.emit(re)}function d(w){var b=a.get().slice(),E=b.length;if(E){for(;b.length<w;)Ut(b,b);Ut(b.slice(-w),b.slice(0,w)).forEach(function(R,O){var D=O<w,S=h(R.slide,O);D?Zn(S,b[0].slide):Dt(s.list,S),Ut(o,S),a.register(S,O-w+(D?0:E),R.index)})}}function h(w,b){var E=w.cloneNode(!0);return Ie(E,n.classes.clone),E.id=e.root.id+"-clone"+er(b+1),E}function y(){var w=n.clones;if(!e.is(ft))w=0;else if(Nt(w)){var b=n[l("fixedWidth")]&&t.Layout.slideSize(0),E=b&&Mt(ge(s.track)[l("width")]/b);w=E||n[l("autoWidth")]&&e.length||n.perPage*yo}return w}return{mount:u,destroy:p}}function wo(e,t,n){var r=Z(e),i=r.on,s=r.emit,a=e.state.set,l=t.Layout,o=l.slideSize,c=l.getPadding,u=l.totalSize,g=l.listSize,p=l.sliderSize,v=t.Direction,d=v.resolve,h=v.orient,y=t.Elements,w=y.list,b=y.track,E;function R(){E=t.Transition,i([Qe,tr,fe,re],O)}function O(){t.Controller.isBusy()||(t.Scroll.cancel(),S(e.index),t.Slides.update())}function D(L,P,G,oe){L!==P&&B(L>G)&&(T(),_(N(H(),L>G),!0)),a(ut),s($e,P,G,L),E.start(P,function(){a(st),s(Vt,P,G,L),oe&&oe()})}function S(L){_(C(L,!0))}function _(L,P){if(!e.is(zt)){var G=P?L:V(L);we(w,"transform","translate"+d("X")+"("+G+"px)"),L!==G&&s(mi)}}function V(L){if(e.is(ft)){var P=I(L),G=P>t.Controller.getEnd(),oe=P<0;(oe||G)&&(L=N(L,G))}return L}function N(L,P){var G=L-X(P),oe=p();return L-=h(oe*(Mt(de(G)/oe)||1))*(P?1:-1),L}function T(){_(H(),!0),E.cancel()}function I(L){for(var P=t.Slides.get(),G=0,oe=1/0,ie=0;ie<P.length;ie++){var De=P[ie].index,A=de(C(De,!0)-L);if(A<=oe)oe=A,G=De;else break}return G}function C(L,P){var G=h(u(L-1)-Q(L));return P?$(G):G}function H(){var L=d("left");return ge(w)[L]-ge(b)[L]+h(c(!1))}function $(L){return n.trimSpace&&e.is(ct)&&(L=et(L,0,h(p(!0)-g()))),L}function Q(L){var P=n.focus;return P==="center"?(g()-o(L,!0))/2:+P*o(L)||0}function X(L){return C(L?t.Controller.getEnd():0,!!n.trimSpace)}function B(L){var P=h(N(H(),L));return L?P>=0:P<=w[d("scrollWidth")]-ge(b)[d("width")]}function k(L,P){P=Nt(P)?H():P;var G=L!==!0&&h(P)<h(X(!1)),oe=L!==!1&&h(P)>h(X(!0));return G||oe}return{mount:R,move:D,jump:S,translate:_,shift:N,cancel:T,toIndex:I,toPosition:C,getPosition:H,getLimit:X,exceededLimit:k,reposition:O}}function So(e,t,n){var r=Z(e),i=r.on,s=r.emit,a=t.Move,l=a.getPosition,o=a.getLimit,c=a.toPosition,u=t.Slides,g=u.isEnough,p=u.getLength,v=n.omitEnd,d=e.is(ft),h=e.is(ct),y=q(H,!1),w=q(H,!0),b=n.start||0,E,R=b,O,D,S;function _(){V(),i([fe,re,rn],V),i(tr,N)}function V(){O=p(!0),D=n.perMove,S=n.perPage,E=B();var A=et(b,0,v?E:O-1);A!==b&&(b=A,a.reposition())}function N(){E!==B()&&s(rn)}function T(A,j,le){if(!De()){var J=C(A),se=X(J);se>-1&&(j||se!==b)&&(G(se),a.move(J,se,R,le))}}function I(A,j,le,J){t.Scroll.scroll(A,j,le,function(){var se=X(a.toIndex(l()));G(v?ze(se,E):se),J&&J()})}function C(A){var j=b;if(He(A)){var le=A.match(/([+\-<>])(\d+)?/)||[],J=le[1],se=le[2];J==="+"||J==="-"?j=$(b+ +(""+J+(+se||1)),b):J===">"?j=se?k(+se):y(!0):J==="<"&&(j=w(!0))}else j=d?A:et(A,0,E);return j}function H(A,j){var le=D||(ie()?1:S),J=$(b+le*(A?-1:1),b,!(D||ie()));return J===-1&&h&&!ci(l(),o(!A),1)?A?0:E:j?J:X(J)}function $(A,j,le){if(g()||ie()){var J=Q(A);J!==A&&(j=A,A=J,le=!1),A<0||A>E?!D&&(Gt(0,A,j,!0)||Gt(E,j,A,!0))?A=k(L(A)):d?A=le?A<0?-(O%S||S):O:A:n.rewind?A=A<0?E:0:A=-1:le&&A!==j&&(A=k(L(j)+(A<j?-1:1)))}else A=-1;return A}function Q(A){if(h&&n.trimSpace==="move"&&A!==b)for(var j=l();j===c(A,!0)&&Gt(A,0,e.length-1,!n.rewind);)A<b?--A:++A;return A}function X(A){return d?(A+O)%O||0:A}function B(){for(var A=O-(ie()||d&&D?1:S);v&&A-- >0;)if(c(O-1,!0)!==c(A,!0)){A++;break}return et(A,0,O-1)}function k(A){return et(ie()?A:S*A,0,E)}function L(A){return ie()?ze(A,E):nn((A>=E?O-1:A)/S)}function P(A){var j=a.toIndex(A);return h?et(j,0,E):j}function G(A){A!==b&&(R=b,b=A)}function oe(A){return A?R:b}function ie(){return!Nt(n.focus)||n.isNavigation}function De(){return e.state.is([ut,kt])&&!!n.waitForTransition}return{mount:_,go:T,scroll:I,getNext:y,getPrev:w,getAdjacent:H,getEnd:B,setIndex:G,getIndex:oe,toIndex:k,toPage:L,toDest:P,hasFocus:ie,isBusy:De}}var Ao="http://www.w3.org/2000/svg",Lo="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",$t=40;function To(e,t,n){var r=Z(e),i=r.on,s=r.bind,a=r.emit,l=n.classes,o=n.i18n,c=t.Elements,u=t.Controller,g=c.arrows,p=c.track,v=g,d=c.prev,h=c.next,y,w,b={};function E(){O(),i(fe,R)}function R(){D(),E()}function O(){var I=n.arrows;I&&!(d&&h)&&V(),d&&h&&(It(b,{prev:d,next:h}),Ct(v,I?"":"none"),Ie(v,w=or+"--"+n.direction),I&&(S(),T(),z([d,h],Ht,p.id),a(ja,d,h)))}function D(){r.destroy(),Pe(v,w),y?(Xe(g?[d,h]:v),d=h=null):Ce([d,h],ar)}function S(){i([Qe,Vt,re,dt,rn],T),s(h,"click",q(_,">")),s(d,"click",q(_,"<"))}function _(I){u.go(I,!0)}function V(){v=g||it("div",l.arrows),d=N(!0),h=N(!1),y=!0,Dt(v,[d,h]),!g&&Zn(v,p)}function N(I){var C='<button class="'+l.arrow+" "+(I?l.prev:l.next)+'" type="button"><svg xmlns="'+Ao+'" viewBox="0 0 '+$t+" "+$t+'" width="'+$t+'" height="'+$t+'" focusable="false"><path d="'+(n.arrowPath||Lo)+'" />';return oi(C)}function T(){if(d&&h){var I=e.index,C=u.getPrev(),H=u.getNext(),$=C>-1&&I<C?o.last:o.prev,Q=H>-1&&I>H?o.first:o.next;d.disabled=C<0,h.disabled=H<0,z(d,me,$),z(h,me,Q),a(qa,d,h,C,H)}}return{arrows:b,mount:E,destroy:D,update:T}}var Io=Jn+"-interval";function Co(e,t,n){var r=Z(e),i=r.on,s=r.bind,a=r.emit,l=cn(n.interval,e.go.bind(e,">"),S),o=l.isPaused,c=t.Elements,u=t.Elements,g=u.root,p=u.toggle,v=n.autoplay,d,h,y=v==="pause";function w(){v&&(b(),p&&z(p,Ht,c.track.id),y||E(),D())}function b(){n.pauseOnHover&&s(g,"mouseenter mouseleave",function(V){d=V.type==="mouseenter",O()}),n.pauseOnFocus&&s(g,"focusin focusout",function(V){h=V.type==="focusin",O()}),p&&s(p,"click",function(){y?E():R(!0)}),i([$e,nr,re],l.rewind),i($e,_)}function E(){o()&&t.Slides.isEnough()&&(l.start(!n.resetProgress),h=d=y=!1,D(),a(vi))}function R(V){V===void 0&&(V=!0),y=!!V,D(),o()||(l.pause(),a(hi))}function O(){y||(d||h?R(!1):E())}function D(){p&&(_e(p,Ze,!y),z(p,me,n.i18n[y?"play":"pause"]))}function S(V){var N=c.bar;N&&we(N,"width",V*100+"%"),a(Xa,V)}function _(V){var N=t.Slides.getAt(V);l.set(N&&+Ae(N.slide,Io)||n.interval)}return{mount:w,destroy:l.cancel,play:E,pause:R,isPaused:o}}function Mo(e,t,n){var r=Z(e),i=r.on;function s(){n.cover&&(i(pi,q(l,!0)),i([Qe,fe,re],q(a,!0)))}function a(o){t.Slides.forEach(function(c){var u=xt(c.container||c.slide,"img");u&&u.src&&l(o,u,c)})}function l(o,c,u){u.style("background",o?'center/cover no-repeat url("'+c.src+'")':"",!0),Ct(c,o?"none":"")}return{mount:s,destroy:q(a,!1)}}var Oo=10,_o=600,Po=.6,ko=1.5,No=800;function Ro(e,t,n){var r=Z(e),i=r.on,s=r.emit,a=e.state.set,l=t.Move,o=l.getPosition,c=l.getLimit,u=l.exceededLimit,g=l.translate,p=e.is(ct),v,d,h=1;function y(){i($e,R),i([fe,re],O)}function w(S,_,V,N,T){var I=o();if(R(),V&&(!p||!u())){var C=t.Layout.sliderSize(),H=Rn(S)*C*nn(de(S)/C)||0;S=l.toPosition(t.Controller.toDest(S%C))+H}var $=ci(I,S,1);h=1,_=$?0:_||tn(de(S-I)/ko,No),d=N,v=cn(_,b,q(E,I,S,T),1),a(kt),s(nr),v.start()}function b(){a(st),d&&d(),s(dt)}function E(S,_,V,N){var T=o(),I=S+(_-S)*D(N),C=(I-T)*h;g(T+C),p&&!V&&u()&&(h*=Po,de(C)<Oo&&w(c(u(!0)),_o,!1,d,!0))}function R(){v&&v.cancel()}function O(){v&&!v.isPaused()&&(R(),b())}function D(S){var _=n.easingFunc;return _?_(S):1-Math.pow(1-S,4)}return{mount:y,destroy:R,scroll:w,cancel:O}}var tt={passive:!1,capture:!0};function Do(e,t,n){var r=Z(e),i=r.on,s=r.emit,a=r.bind,l=r.unbind,o=e.state,c=t.Move,u=t.Scroll,g=t.Controller,p=t.Elements.track,v=t.Media.reduce,d=t.Direction,h=d.resolve,y=d.orient,w=c.getPosition,b=c.exceededLimit,E,R,O,D,S,_=!1,V,N,T;function I(){a(p,yn,kn,tt),a(p,bn,kn,tt),a(p,_i,H,tt),a(p,"click",X,{capture:!0}),a(p,"dragstart",Oe),i([Qe,fe],C)}function C(){var M=n.drag;ur(!M),D=M==="free"}function H(M){if(V=!1,!N){var K=se(M);J(M.target)&&(K||!M.button)&&(g.isBusy()?Oe(M,!0):(T=K?p:window,S=o.is([ut,kt]),O=null,a(T,yn,$,tt),a(T,bn,Q,tt),c.cancel(),u.cancel(),B(M)))}}function $(M){if(o.is(Wt)||(o.set(Wt),s(Fa)),M.cancelable)if(S){c.translate(E+le(ie(M)));var K=De(M)>Or,je=_!==(_=b());(K||je)&&B(M),V=!0,s(Wa),Oe(M)}else P(M)&&(S=L(M),Oe(M))}function Q(M){o.is(Wt)&&(o.set(st),s(Ua)),S&&(k(M),Oe(M)),l(T,yn,$),l(T,bn,Q),S=!1}function X(M){!N&&V&&Oe(M,!0)}function B(M){O=R,R=M,E=w()}function k(M){var K=G(M),je=oe(K),vt=n.rewind&&n.rewindByDrag;v(!1),D?g.scroll(je,0,n.snap):e.is(zt)?g.go(y(Rn(K))<0?vt?"<":"-":vt?">":"+"):e.is(ct)&&_&&vt?g.go(b(!0)?">":"<"):g.go(g.toDest(je),!0),v(!0)}function L(M){var K=n.dragMinThreshold,je=At(K),vt=je&&K.mouse||0,Vi=(je?K.touch:+K)||10;return de(ie(M))>(se(M)?Vi:vt)}function P(M){return de(ie(M))>de(ie(M,!0))}function G(M){if(e.is(ft)||!_){var K=De(M);if(K&&K<Or)return ie(M)/K}return 0}function oe(M){return w()+Rn(M)*ze(de(M)*(n.flickPower||600),D?1/0:t.Layout.listSize()*(n.flickMaxPages||1))}function ie(M,K){return j(M,K)-j(A(M),K)}function De(M){return Nn(M)-Nn(A(M))}function A(M){return R===M&&O||R}function j(M,K){return(se(M)?M.changedTouches[0]:M)["page"+h(K?"Y":"X")]}function le(M){return M/(_&&e.is(ct)?ho:1)}function J(M){var K=n.noDrag;return!Lt(M,"."+Ti+", ."+hn)&&(!K||!Lt(M,K))}
vendor: 7,388 bytes, line 6
6function se(M){return typeof TouchEvent!="undefined"&&M instanceof TouchEvent}function Bi(){return S}function ur(M){N=M}return{mount:I,disable:ur,isDragging:Bi}}var xo={Spacebar:" ",Right:dn,Left:un,Up:Ei,Down:yi};function sr(e){return e=He(e)?e:e.key,xo[e]||e}var _r="keydown";function Bo(e,t,n){var r=Z(e),i=r.on,s=r.bind,a=r.unbind,l=e.root,o=t.Direction.resolve,c,u;function g(){p(),i(fe,v),i(fe,p),i($e,h)}function p(){var w=n.keyboard;w&&(c=w==="global"?window:l,s(c,_r,y))}function v(){a(c,_r)}function d(w){u=w}function h(){var w=u;u=!0,ti(function(){u=w})}function y(w){if(!u){var b=sr(w);b===o(un)?e.go("<"):b===o(dn)&&e.go(">")}}return{mount:g,destroy:v,disable:d}}var wt=Jn+"-lazy",jt=wt+"-srcset",Vo="["+wt+"], ["+jt+"]";function Ho(e,t,n){var r=Z(e),i=r.on,s=r.off,a=r.bind,l=r.emit,o=n.lazyLoad==="sequential",c=[Vt,dt],u=[];function g(){n.lazyLoad&&(p(),i(re,p))}function p(){Re(u),v(),o?w():(s(c),i(c,d),d())}function v(){t.Slides.forEach(function(b){Qn(b.slide,Vo).forEach(function(E){var R=Ae(E,wt),O=Ae(E,jt);if(R!==E.src||O!==E.srcset){var D=n.classes.spinner,S=E.parentElement,_=xt(S,"."+D)||it("span",D,S);u.push([E,b,_]),E.src||Ct(E,"none")}})})}function d(){u=u.filter(function(b){var E=n.perPage*((n.preloadPages||1)+1)-1;return b[1].isWithin(e.index,E)?h(b):!0}),u.length||s(c)}function h(b){var E=b[0];Ie(b[1].slide,Bn),a(E,"load error",q(y,b)),z(E,"src",Ae(E,wt)),z(E,"srcset",Ae(E,jt)),Ce(E,wt),Ce(E,jt)}function y(b,E){var R=b[0],O=b[1];Pe(O.slide,Bn),E.type!=="error"&&(Xe(b[2]),Ct(R,""),l(pi,R,O),l(Ot)),o&&w()}function w(){u.length&&h(u.shift())}return{mount:g,destroy:q(Re,u),check:d}}function zo(e,t,n){var r=Z(e),i=r.on,s=r.emit,a=r.bind,l=t.Slides,o=t.Elements,c=t.Controller,u=c.hasFocus,g=c.getIndex,p=c.go,v=t.Direction.resolve,d=o.pagination,h=[],y,w;function b(){E(),i([fe,re,rn],b);var N=n.pagination;d&&Ct(d,N?"":"none"),N&&(i([$e,nr,dt],V),R(),V(),s(Ya,{list:y,items:h},_(e.index)))}function E(){y&&(Xe(d?Ue(y.children):y),Pe(y,w),Re(h),y=null),r.destroy()}function R(){var N=e.length,T=n.classes,I=n.i18n,C=n.perPage,H=u()?c.getEnd()+1:Mt(N/C);y=d||it("ul",T.pagination,o.track.parentElement),Ie(y,w=pn+"--"+S()),z(y,Ne,"tablist"),z(y,me,I.select),z(y,ir,S()===fn?"vertical":"");for(var $=0;$<H;$++){var Q=it("li",null,y),X=it("button",{class:T.page,type:"button"},Q),B=l.getIn($).map(function(L){return L.slide.id}),k=!u()&&C>1?I.pageX:I.slideX;a(X,"click",q(O,$)),n.paginationKeyboard&&a(X,"keydown",q(D,$)),z(Q,Ne,"presentation"),z(X,Ne,"tab"),z(X,Ht,B.join(" ")),z(X,me,Dn(k,$+1)),z(X,at,-1),h.push({li:Q,button:X,page:$})}}function O(N){p(">"+N,!0)}function D(N,T){var I=h.length,C=sr(T),H=S(),$=-1;C===v(dn,!1,H)?$=++N%I:C===v(un,!1,H)?$=(--N+I)%I:C==="Home"?$=0:C==="End"&&($=I-1);var Q=h[$];Q&&(ai(Q.button),p(">"+$),Oe(T,!0))}function S(){return n.paginationDirection||n.direction}function _(N){return h[c.toPage(N)]}function V(){var N=_(g(!0)),T=_(g());if(N){var I=N.button;Pe(I,Ze),Ce(I,Lr),z(I,at,-1)}if(T){var C=T.button;Ie(C,Ze),z(C,Lr,!0),z(C,at,"")}s(Ka,{list:y,items:h},N,T)}return{items:h,mount:b,destroy:E,getAt:_,update:V}}var $o=[" ","Enter"];function Fo(e,t,n){var r=n.isNavigation,i=n.slideFocus,s=[];function a(){e.splides.forEach(function(d){d.isParent||(c(e,d.splide),c(d.splide,e))}),r&&u()}function l(){s.forEach(function(d){d.destroy()}),Re(s)}function o(){l(),a()}function c(d,h){var y=Z(d);y.on($e,function(w,b,E){h.go(h.is(ft)?E:w)}),s.push(y)}function u(){var d=Z(e),h=d.on;h(ui,p),h(gi,v),h([Qe,fe],g),s.push(d),d.emit(fi,e.splides)}function g(){z(t.Elements.list,ir,n.direction===fn?"vertical":"")}function p(d){e.go(d.index)}function v(d,h){Xn($o,sr(h))&&(p(d),Oe(h))}return{setup:q(t.Media.set,{slideFocus:Nt(i)?r:i},!0),mount:a,destroy:l,remount:o}}function Wo(e,t,n){var r=Z(e),i=r.bind,s=0;function a(){n.wheel&&i(t.Elements.track,"wheel",l,tt)}function l(c){if(c.cancelable){var u=c.deltaY,g=u<0,p=Nn(c),v=n.wheelMinThreshold||0,d=n.wheelSleep||0;de(u)>v&&p-s>d&&(e.go(g?"<":">"),s=p),o(g)&&Oe(c)}}function o(c){return!n.releaseWheel||e.state.is(ut)||t.Controller.getAdjacent(c)!==-1}return{mount:a}}var Uo=90;function Go(e,t,n){var r=Z(e),i=r.on,s=t.Elements.track,a=n.live&&!n.isNavigation,l=it("span",co),o=cn(Uo,q(u,!1));function c(){a&&(p(!t.Autoplay.isPaused()),z(s,Cr,!0),l.textContent="\u2026",i(vi,q(p,!0)),i(hi,q(p,!1)),i([Vt,dt],q(u,!0)))}function u(v){z(s,Ir,v),v?(Dt(s,l),o.start()):(Xe(l),o.cancel())}function g(){Ce(s,[Tr,Cr,Ir]),Xe(l)}function p(v){a&&z(s,Tr,v?"off":"polite")}return{mount:c,disable:p,destroy:g}}var jo=Object.freeze({__proto__:null,Media:Ja,Direction:eo,Elements:po,Slides:mo,Layout:Eo,Clones:bo,Move:wo,Controller:So,Arrows:To,Autoplay:Co,Cover:Mo,Scroll:Ro,Drag:Do,Keyboard:Bo,LazyLoad:Ho,Pagination:zo,Sync:Fo,Wheel:Wo,Live:Go}),qo={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},Yo={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:fo,i18n:qo,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Ko(e,t,n){var r=t.Slides;function i(){Z(e).on([Qe,re],s)}function s(){r.forEach(function(l){l.style("transform","translateX(-"+100*l.index+"%)")})}function a(l,o){r.style("transition","opacity "+n.speed+"ms "+n.easing),ti(o)}return{mount:i,start:a,cancel:kn}}function Xo(e,t,n){var r=t.Move,i=t.Controller,s=t.Scroll,a=t.Elements.list,l=q(we,a,"transition"),o;function c(){Z(e).bind(a,"transitionend",function(v){v.target===a&&o&&(g(),o())})}function u(v,d){var h=r.toPosition(v,!0),y=r.getPosition(),w=p(v);de(h-y)>=1&&w>=1?n.useScroll?s.scroll(h,w,!1,d):(l("transform "+w+"ms "+n.easing),r.translate(h,!0),o=d):(r.jump(v),d())}function g(){l(""),s.cancel()}function p(v){var d=n.rewindSpeed;if(e.is(ct)&&d){var h=i.getIndex(!0),y=i.getEnd();if(h===0&&v>=y||h>=y&&v===0)return d}return n.speed}return{mount:c,start:u,cancel:g}}var Zo=function(){function e(n,r){this.event=Z(),this.Components={},this.state=Za(rt),this.splides=[],this._o={},this._E={};var i=He(n)?si(document,n):n;bt(i,i+" is invalid."),this.root=i,r=Be({label:Ae(i,me)||"",labelledby:Ae(i,rr)||""},Yo,e.defaults,r||{});try{Be(r,JSON.parse(Ae(i,Jn)))}catch(s){bt(!1,"Invalid JSON")}this._o=Object.create(Be({},r))}var t=e.prototype;return t.mount=function(r,i){var s=this,a=this.state,l=this.Components;bt(a.is([rt,en]),"Already mounted!"),a.set(rt),this._C=l,this._T=i||this._T||(this.is(zt)?Ko:Xo),this._E=r||this._E;var o=It({},jo,this._E,{Transition:this._T});return Ke(o,function(c,u){var g=c(s,l,s._o);l[u]=g,g.setup&&g.setup()}),Ke(l,function(c){c.mount&&c.mount()}),this.emit(Qe),Ie(this.root,lo),a.set(st),this.emit(Sr),this},t.sync=function(r){return this.splides.push({splide:r}),r.splides.push({splide:this,isParent:!0}),this.state.is(st)&&(this._C.Sync.remount(),r.Components.Sync.remount()),this},t.go=function(r){return this._C.Controller.go(r),this},t.on=function(r,i){return this.event.on(r,i),this},t.off=function(r){return this.event.off(r),this},t.emit=function(r){var i;
6return(i=this.event).emit.apply(i,[r].concat(Ue(arguments,1))),this},t.add=function(r,i){return this._C.Slides.add(r,i),this},t.remove=function(r){return this._C.Slides.remove(r),this},t.is=function(r){return this._o.type===r},t.refresh=function(){return this.emit(re),this},t.destroy=function(r){r===void 0&&(r=!0);var i=this.event,s=this.state;return s.is(rt)?Z(this).on(Sr,this.destroy.bind(this,r)):(Ke(this._C,function(a){a.destroy&&a.destroy(r)},!0),i.emit(di),i.destroy(),r&&Re(this.splides),s.set(en)),this},Ra(e,[{key:"options",get:function(){return this._o},set:function(r){this._C.Media.set(r,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),e}(),cr=Zo;cr.defaults={};cr.STATES=xa;m.matchMedia();function Qo(){const e=f(".ar-listing-carousel-wrap");if(!e)return;const t=f(".splide",e);new cr(t,{perPage:1,pagination:!1,type:"loop",arrows:!1,padding:{left:0,right:"29vw"},perMove:1,drag:!0,breakpoints:{992:{padding:{left:"0",right:"10vw"},arrows:!0}}}).mount()}m.matchMedia();function Jo(){const e=W(".ar-nav-anchor");if(e.length<1)return;const t=f(".ar-anchor-el");f(".ar-anchor-el-inner"),f(".ar-global-footer"),F(t,"is-active");let n=[];for(let o=0;o<e.length;o++){let c=e[o];c.dataset.anchorId=o,c.dataset.prevId=o-1,c.dataset.nextId=o+1;let u={};u.id=o,u.title=c.dataset.anchorSlug,u.link=`#${c.dataset.anchorSlug}`,o>0?u.prevId=o-1:u.prevId=o,o===e.length<1?u.nextId=o-1:u.nextId=o+1,n.push(u)}n.push({id:n.length,title:"Back to top",nextId:n.length-1,prevId:n.length-1});const r=n.length;function i(){e.forEach(o=>{ce.create({trigger:o,start:"top 50%",end:"top 70%",invalidateOnRefresh:!0,onEnter:()=>{let c=o.dataset.nextId;parseInt(c,10)>=r&&(c=o.dataset.prevId),parseInt(c,10)<0&&(c=0),l(c)},onLeaveBack:()=>{let c=o.dataset.anchorId;l(c)}})})}i();function s(){let o=f(".ar-anchor-target-link");o.addEventListener("click",c=>{c.preventDefault();let u=o.getAttribute("href");m.to(window,{duration:1,scrollTo:{y:u,offsetY:80},onComplete:()=>{}})})}s();function a(o,c){const u=m.timeline({paused:!0});c=c.replace(/-/g," "),u.to(o,{yPercent:-100,opacity:0,duration:.2,onComplete:()=>{o.innerText=c}}),u.to(o,{yPercent:100,duration:0}),u.to(o,{yPercent:0,opacity:1,duration:.2}),u.play(0)}function l(o=0){let c=f(".ar-anchor-target-link"),u=f(".ar-anchor-target-text");o=parseInt(o,10);let g=n.filter(v=>parseInt(v.id,10)===o),p=g[0].title;a(u,p),c.setAttribute("href",g[0].link),o===n.length-1?F(t,"is-upwards"):x(t,"is-upwards")}l()}function es(e){const t=f(".ar-anchor-el-line"),n=f(".ar-anchor-el-dir");m.to(t,{width:`${e*100}%`,duration:.3,ease:"power3.out"}),e===1?F(n,"is-up"):x(n,"is-up")}function ts(){W(".ar-d-cursor").forEach(n=>{const r=f(`#${n.dataset.relatedCursor}`);n.addEventListener("mouseleave",()=>{m.to(r,{opacity:0,scale:0,duration:.4}),x(r,"is-active"),x(n,"has-cursor")}),n.addEventListener("mouseenter",i=>{m.to(r,{zIndex:1e3,duration:0}),m.to(r,{opacity:1,scale:1,duration:.4}),F(r,"is-active"),F(n,"has-cursor")}),n.addEventListener("mousemove",i=>{t(i,r)})});function t(n,r){m.to(r,{x:n.clientX,y:n.clientY,overwrite:"auto",duration:.2})}}function wn(){const e=f(".page-banner-scroll-down"),t=f(".main-content");e&&e.addEventListener("click",()=>{m.to(window,{duration:1,ease:"power4.inOut",scrollTo:{y:t,offsetY:160}})})}function ns(){if(!f(".page-banner-person"))return;const t=f(".page-banner-person-scroll-down"),n=f(".main-content");t&&t.addEventListener("click",()=>{m.to(window,{duration:1,ease:"power4.inOut",scrollTo:{y:n,offsetY:160}})})}function rs(e,t){const r={...ye,...{},...t};return m.set(e,{y:r.y,position:"relative",opacity:0}),[m.to(e,{y:0,opacity:1,duration:r.duration,stagger:r.stagger,ease:r.ease}),r]}function is(e,t){const r={...ye,...{},...t};return m.set(e,{y:r.y,opacity:0,position:"relative"}),[m.to(e,{y:0,opacity:1,duration:r.duration,stagger:r.stagger,ease:r.ease}),r]}function as(e,t){const r={...ye,...{duration:1.75,ease:"power1.inOut"},...t};return m.set(e,{autoAlpha:0}),[m.to(e,{autoAlpha:1,duration:r.duration,stagger:r.stagger,ease:r.ease}),r]}function os(e,t){const r={...ye,...{},...t};return m.set(e,{x:r.x,opacity:0,position:"relative"}),[m.to(e,{x:0,opacity:1,duration:r.duration,stagger:r.stagger,ease:r.ease}),r]}function ss(e,t){const r={...ye,...{duration:.8},...t};return m.set(e,{x:r.x,autoAlpha:r.autoAlpha||0,position:"relative"}),[m.to(e,{x:0,autoAlpha:1,duration:r.duration,stagger:r.stagger,ease:r.ease}),r]}function cs(e,t){const r={...ye,...{},...t};return m.set(e,{yPercent:130}),[m.to(e,{yPercent:0,duration:r.duration,stagger:r.stagger,ease:r.ease}),r]}function ls(e,t){const r={...ye,...{x:"-50px"},...t};return e.closest(".flip")&&(r.x=parseInt(r.x)*-1+"px"),m.set(e,{autoAlpha:0,x:r.x}),[m.to(e,{x:0,autoAlpha:1,duration:r.duration,ease:r.ease,stagger:r.stagger}),r]}function us(e,t){const r={...ye,...{stagger:.5,y:"100%"},...t};function i(c){if(typeof c=="string")return i(document.querySelectorAll(c));if(c[0]&&c[0].innerHTML){for(var u=0;u<c.length;u++)i(c[u]);return}c.innerHTML=c.innerHTML.replace(/\-/g,"\u2011").replace(/V/g,"\u200CV\u200C").replace(/\./g,"\u200C.\u200C").replace(/,/g,"\u200C,\u200C").replace(/A/g,"\u200CA\u200C").replace(/fi/g,"f\u200Ci").replace(/re/g,"r\u200Ce")}i(e);const s=new Yt(e,{type:"lines",linesClass:"split-child"}),a=new Yt(e,{type:"lines",linesClass:"split-parent"});
6m.set(s.lines,{y:r.y});function l(){a.revert()}return[m.to(s.lines,{y:0,autoAlpha:1,duration:r.duration,stagger:r.stagger,ease:r.ease,onComplete:l}),r]}function ds(e,t){const r={...ye,...{duration:1,ease:"power1.inOut",y:75},...t};return m.set(e,{y:r.y}),[m.to(e,{y:r.y*-1,duration:r.duration,ease:r.ease,scrollTrigger:{trigger:e,start:"top 100%",end:"bottom 0",scrub:!0}}),r]}const Fe=Object.freeze(Object.defineProperty({__proto__:null,fadeUpSingle:rs,fadeUpGroup:is,fadeIn:as,fadeInLeft:os,fadeInRight:ss,textSlideUp:cs,clipReveal:Xr,slideReveal:ls,splitText:us,parallax:ds},Symbol.toStringTag,{value:"Module"})),fs="fadeIn";function vs(e,t){const n=ot(t);let r=t.dataset.animationTween?t.dataset.animationTween:fs;if(Fe[r]){m.set(e,{autoAlpha:0});const i={...ye,...n};ia(e,Fe[r],n,i)}else console.info(r+" - batch animations tween is not valid")}const Pr="fadeIn";function hs(e,t){const n=ot(t);let r=Pr,i=m.timeline({paused:!0});e.forEach(a=>{if(a.dataset.animationTween?r=a.dataset.animationTween:t.dataset.animationTween?r=t.dataset.animationTween:r=Pr,Fe[r]){const l=ot(a),o={...n,...l},c=Fe[r](a,o);if(c[0]){const u=c[1].position?c[1].position.replace("after",">").replace("before","<"):0;i.add(c[0],u)}else console.info(r+" - group animations tween is not valid")}else console.info(r+" - group animations tween is not valid")});const s={...ye,...n};qn(t,i,s)}const kr="fadeIn";function ps(e,t){const n=ot(t);let r=kr;e.forEach(i=>{if(i.dataset.animationTween?r=i.dataset.animationTween:t.dataset.animationTween?r=t.dataset.animationTween:r=kr,Fe[r]){const s=ot(i),a={...n,...s},l=Fe[r](i,a);if(l[0]&&l[1]){let o=m.timeline({paused:!0});o.add(l,0),qn(i,o,l[1])}else console.info(r+" - individual animations tween is not valid")}else console.info(r+" - individual animations tween is not valid")})}const gs="fadeIn";function ms(e,t){const n=ot(t);let r=t.dataset.animationTween?t.dataset.animationTween:gs;if(Fe[r]){let i=Fe[r](e,n);if(i[0]){let s=m.timeline({paused:!0});s.add(i[0],0),qn(t,s,i[1])}else console.info(r+" - stagger animations tween is not valid")}else console.info(r+" - stagger animations tween is not valid")}function Es(e){e.forEach(t=>{let n=ys(t);if(n.length>0){let r=t.dataset.animationType?t.dataset.animationType:"group";switch(r){case"group":hs(n,t);break;case"stagger":ms(n,t);break;case"individual":ps(n,t);break;case"batch":vs(n,t);break;default:console.info(r+" - animations type is not valid")}}})}function ys(e){const t=e.classList.contains("bgddt-js-animate-reset"),n=W(".bgddt-js-animate-item",e);let r=[];return[...n].forEach(i=>{(t||!i.closest(".bgddt-js-animate-reset"))&&r.push(i)}),r}function bs(){const e=W(".bgddt-js-animate, .bgddt-js-animate-reset");e&&Es(e)}function ws(){const e=W(".video .the-video");!window.gsapSmoother&&!e||e.forEach(t=>{t.addEventListener("play",()=>{on()})})}let Ss=["bg-colour-texture-2","bg-colour-texture-3"];
6const Sn=40;function As(){const e=W(".ar-performance-tables.ar-sticky-table");if(!e)return;for(let a=0;a<e.length;a++){let l=e[a];const o=f(".ar-hc-perf-mask",l);F(o,Ss[a]);let c=null;const u=W("table:not(.tl-group-hd-el)",l);for(let v=0;v<u.length;v++){let d=u[v];const h=f("thead",d);v<1&&(c=f("tbody",d)),v>0&&F(h,"head-hidden"),v===u.length-1&&F(d,"ar-perf-table-group-last-table")}let g=f(".tl-group-hd-el",l),p=f(".ar-perf-table-group-last-table",l);ce.create({start:()=>{if(Y(document.body,"scroll-direction-up")&&U.largeScreenCategories.includes(ne()))return`top ${U.headerHeightDesktopLarge+Sn}`;if(!Y(document.body,"scroll-direction-up")&&U.largeScreenCategories.includes(ne()))return`top ${U.headerHeightDesktopSmall+Sn}`;if(U.smallScreenCategories.includes(ne()))return`top ${U.headerHeightMobile+Sn}`},onEnter:()=>{F(o,"mask-active")},onLeaveBack:()=>{x(o,"mask-active")},endTrigger:p,pin:g,pinSpacing:!1,end:"bottom 15%",anticipatePin:!0,onUpdate:v=>{}}),ce.create({trigger:c,start:"top 15%",endTrigger:p,end:"bottom 15%",onEnter:()=>{x(g,"is-initialised"),F(g,"is-active")},onLeaveBack:()=>{F(g,"is-initialised"),x(g,"is-active")}})}const t=W(".ar-hc-perf-toggle-btns"),n="is-daily-data",r="is-monthly-data",i="is-quarterly-data";function s(a,l){l.scrollLeft=a}t.forEach(a=>{const l=f(".js-daily-toggle",a),o=f(".js-monthly-toggle",a),c=f(".js-quarterly-toggle",a),u=a.closest(".hc-performance-table"),g=f(".ar-hc-perf-table-daily",u),p=f(".ar-hc-perf-table-quarterly",u),v=f(".ar-hc-perf-table-monthly",u);l&&l.addEventListener("click",()=>{let d=v.scrollLeft;s(d,g),x(u,r),x(u,i),F(u,n)}),o&&o.addEventListener("click",()=>{let d=p.scrollLeft;s(d,v),x(u,n),x(u,i),F(u,r)}),c&&c.addEventListener("click",()=>{let d=v.scrollLeft;s(d,p),x(u,n),x(u,r),F(u,i)})})}function Vn(e){e&&Ls(e)}function Ls(e){if(e)return e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>2}function Nr(e,t){if(e){let n=e.getAttribute("src"),r=t;r!==n&&e.setAttribute("src",r)}}function Ts(e,t){if(e){let n=e.getAttribute("src");if(t!==n)return!0}return!1}function Is(e){e&&e.load()}function Cs(e){e&&(e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>2||(console.log("vp trigger"),e.play(),window.gsapSmoother.smoother&&on(1500)))}const Ms=U.scrollTriggerMediaMatch,Os=U.scrollTriggerSmallScreenMediaMatch;let Rr=m.matchMedia();const Dr=W(".video-snippet .the-video source"),An=function(e,t){let n=e.dataset.lazySrc;ne()!=="sm"?(Ts(e,n)&&(Nr(e,n),Is(t)),Cs(t)):(Nr(e,n),Vn(t))},_s=function(){for(let e=0;e<Dr.length;e++){let t=Dr[e],n=t.parentNode;Rr.add([Ms],()=>{ce.create({trigger:n,onEnter:()=>An(t,n),onLeave:()=>Vn(n),onEnterBack:()=>An(t,n),onLeaveBack:()=>Vn(n)})}),Rr.add([Os],()=>{ce.create({trigger:n,onEnter:()=>An(t,n)})})}};function Ps(){const e=W(".the-video");!e||e.forEach(t=>{t.addEventListener("play",()=>{window.gsapSmoother.smoother&&on(1250)})})}function ks(){const e=f(".ar-search-trigger"),t=f(".ar-search-field-wrapper-ls"),n=f(".search-results"),r=f("body");e.addEventListener("click",function(){if(!n){const l=f(".ar-search-field-input",t);ke(e,"is-search-active"),Y(t)||l.focus({focusVisible:!0}),ke(t,"is-active"),ke(r,"search-field-active"),Gi(this)}}),W(".ar-search-field-input-reset").forEach(l=>{l.addEventListener("click",function(){const o=this.closest(".ar-site-search-form"),c=f(".ar-search-field-input",o);c.value=""})}),W(".ar-site-search-form").forEach(l=>{l.addEventListener("mouseenter",()=>{F(l,"is-active")}),l.addEventListener("mouseleave",()=>{x(l,"is-active")})});const a=f(".ar-search-body-overlay");a&&a.addEventListener("click",()=>{x(e,"is-search-active"),x(t,"is-active"),x(r,"search-field-active")})}const Ns=e=>{e.progress(1),e.kill()},Pi=function(e,t){var n=e.previousElementSibling;if(!t)return n;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}};function Rs(e){const t=e.reduce((n,r)=>n+r,0);return e.map(n=>n/t*e.length)}const Ds=f("body"),Ve=W(".ar-tli-chapter"),Pt=W(".ar-tli-milestone"),xs=f(".ar-tli-mobile-nav"),ki=f(".ar-tli-mobile-nav-button"),mt=f(".ar-tli-nav"),Ni=W(".ar-tli-nav-cta",mt),Bs=f(".ar-tli-nav-progress"),xe=f(".ar-tli-preloader"),Vs=f(".ar-tli-offcanvas-close"),xr=f(".ar-tli-offcanvas"),Hs=f(".ar-tli-offcanvas-content"),zs=W(".ar-tli-oc-trigger"),St=W(".ar-tli-section"),We=f(".ar-tli-inner"),Te=f(".ar-tli-video-container");f(".ar-tli-video-controls",Te);const Ln=f(".ar-tli-video-play",Te),$s=f(".ar-tli-video-skip",Te),Fs=W("img.lazy",We),Ws=f(".ar-tli-intro-download");let lr=[],Hn=[],Ye=0,be=0;function Us(){lr=[],Ye=0,be=0,Hn=[]}function Br(e,t){if(Y(e,"ar-tli-chapter")){if(Gs(e,t),t>0?be+=1:be=be-1>=0?be-1:0,be>0&&t>
60&&Hr(e),be>0&&t<0){const n=Pi(e,".ar-tli-chapter");Hr(n)}be===0&&t<0&&(ki.innerHTML="Explore the Timeline"),qs(t)}Y(e,"ar-tli-milestone")&&(t>0?Ye+=1:Ye=Ye-1>=0?Ye-1:0,Qs(Math.floor(lr[Ye])))}function Vr(e,t){const n=f(".ar-tli-chapter-opacity-el",Ve[be]),r=e.previousElementSibling;if(Y(e,"ar-tli-milestone"))if(t>0){if(m.to(n,{opacity:.8,duration:1}),!Y(r,"ar-tli-milestone"))return;m.to(r,{opacity:0,duration:.5})}else Y(r,"ar-tli-milestone")&&m.to(r,{opacity:1,duration:.5}),Y(r,"ar-tli-chapter")&&m.to(n,{opacity:0,duration:1})}const Hr=e=>{const t=f(".ar-tli-slide-content-wrap",e),n=f(".ar-tli-chapter-period",t),r=f(".ar-tli-chapter-title",t);ki.innerHTML=`${n.innerHTML}: ${r.innerHTML}`};function Gs(e,t=1){const n=m.timeline({paused:!1}),r=f(".ar-tli-slide-content-wrap",e);t>0||n.to(r,{y:100,opacity:0,duration:1,delay:1,ease:"power4.out"})}function js(){W(".ar-tli-chapter-opacity-el").forEach(t=>{m.set(t,{opacity:0})})}function Ri(){const e=Ve[be],t=f(".ar-tli-chapter-opacity-el",e);m.set(t,{opacity:0})}function zr(e,t){Js(e,t),Ys(e,t),Ri()}function qs(e){const t=Ve[be],n=f(".ar-tli-slide-content-wrap",t);m.fromTo(n,{y:100,opacity:0},{y:0,opacity:1,duration:1,delay:e>0?1:2,ease:"power4.out"})}function Ys(e,t){let n=e.id,r=parseInt(n.split("chapter-").join(""),10)-1;t<1&&r>0&&r--,Bs.dataset.currentChapter=r}function Ks(e,t){Pt.forEach((n,r)=>{Hn.push(100/Pt.length*r)}),Hn.push(100)}function Xs(e){let t=[];Pt.forEach((r,i)=>{r.dataset.parentChapter=Pi(r,".ar-tli-chapter").id});const n=Array.from(Ve);
6n.shift(),n.pop(),n.forEach((r,i)=>{let s=r.id,a=0;Pt.forEach(o=>{o.dataset.parentChapter===s&&a++});let l=a;t.push(l)}),Rs(t),lr=Zs(t)}function Zs(e){const t=[0],n=e.length;return e.forEach(r=>{for(let i=0;i<r;i++)t.push(100/n/r)}),t.reduce((r,i,s)=>[...r,i+(r[s-1]||0)],[])}function Qs(e){const t=f(".ar-tli-progress-line");m.to(t,{width:`${e}%`})}function Js(e,t=1){let n=e.dataset.slide;Ni.forEach((r,i)=>{if(t<0)if(Y(r,"is-current")){let s=r.previousElementSibling;r.nextElementSibling,x(r,"is-current"),s&&F(s,"is-current")}else x(r,"is-current");else x(r,"is-current"),r.dataset.relatedSlide===n&&F(r,"is-current")})}let zn,$n,Fn,Wn,Un,qt;function ec(){zn.disconnect(),$n.disconnect(),Fn.disconnect(),Wn.disconnect(),Un.disconnect(),qt.disconnect()}const tc=()=>{function e(i){i.map(s=>{s.isIntersecting&&Br(s.target,1)})}function t(i){i.map(s=>{s.isIntersecting||Br(s.target,-1)})}const n={root:We,threshold:Se?.98:.5},r={root:We,threshold:Se?.98:.5};zn=new IntersectionObserver(e,n),$n=new IntersectionObserver(t,r),St.forEach(i=>{zn.observe(i),$n.observe(i)})},nc=()=>{function e(i){i.map(s=>{s.isIntersecting&&Vr(s.target,1)})}function t(i){i.map(s=>{s.isIntersecting||Vr(s.target,-1)})}const n={root:We,threshold:.1},r={root:We,threshold:.1};Fn=new IntersectionObserver(e,n),Wn=new IntersectionObserver(t,r),St.forEach(i=>{Fn.observe(i),Wn.observe(i)})},rc=()=>{function e(n){n.map(r=>{r.isIntersecting?zr(r.target,1):zr(r.target,-1)})}const t={root:We,threshold:.99};Un=new IntersectionObserver(e,t),Ve.forEach(n=>{Un.observe(n)})},ic=()=>{qt=new IntersectionObserver(function(e,t){e.forEach(function(n){if(n.isIntersecting){let r=n.target;r.src=r.dataset.src,r.classList.remove("lazy"),qt.unobserve(r)}})}),Fs.forEach(function(e){qt.observe(e)})};let $r=m.matchMedia(),Tn=null,Ft=null,an,Gn,jn,Fr=window.innerWidth,Je=!1,In=null,he=null,Se=!1;function ac(){$r.add("(min-width:820px)",()=>{Se=!0,an=window.innerWidth,Gn={x:"100vw"},jn="x"}),$r.add("(max-width: 820px)",()=>{Se=!1,an=window.innerHeight,Gn={y:"100vh"},jn="y"})}function oc(){if(!We)return;setTimeout(()=>{window.scrollTo(0,0)},500);function t(){ac(),Ft=m.timeline();const v=St.length;Tn=ce.create({id:"timelineTrigger",trigger:We,animation:Ft,pin:!0,scrub:1.4,ease:"power3.out",start:"top: 0",invalidateOnRefresh:!0,onEnter:d=>{},end:function(){return"+="+an*v},onUpdate:d=>{}}),Ks(),Xs()}function n(){Us(),t(),l(),Ft.clear(!0),s(),a(),tc(),rc(),ic(),nc(),Se&&r()}setTimeout(()=>{n()},800);function r(){let v=null,d=f(".ar-tli-nav-progress");window.addEventListener("scroll",()=>{d.classList.remove("ar-tli-nav-progress--animate-arrow"),clearTimeout(v),Ye!==Pt.length&&(v=setTimeout(()=>{d.classList.add("ar-tli-nav-progress--animate-arrow")},3e3))})}function i(){const v=f(".ar-tli-intro-title"),d=f(".ar-tli-intro-bg "),h=m.timeline({paused:!0});window.addEventListener("scroll",()=>{Ns(h)},{once:!0}),m.set(v,{opacity:0,y:10}),m.set(d,{opacity:0}),m.set(mt,{opacity:0,y:10});const y=new Yt(".ar-tli-intro-content",{type:"lines"});setTimeout(()=>{h.play()},500),h.to(d,{opacity:1,duration:1}),h.to(v,{opacity:1,duration:1,y:0,delay:.5,ease:"power4.out"},"<50%"),h.fromTo(y.lines,{opacity:0,y:10},{opacity:1,y:0,duration:1,stagger:.3,ease:"power4.out"},"<70%"),h.fromTo(Ws,{opacity:0,y:10},{opacity:1,y:0,duration:1,ease:"power4.out"},"<70%"),h.to(mt,{opacity:1,y:0,duration:1,ease:"power4.out"},"<70%"),h.to(window,{duration:.5,scrollTo:150,ease:"power4.out"},"-=1")}function s(){St.forEach((v,d)=>{m.set(v,{clearProps:!0}),m.set(v,Gn)})}function a(){St.forEach((d,h)=>{const y=Y(d,"slide-large")?"-50%":0;Ft.to(d,{[jn]:y,ease:"none",stagger:0,delay:d.id==="chapter-1"?0:.5}).addLabel(`slide-${h+1}`)}),ce.refresh(!0),W(".ar-tli-milestone").forEach(d=>{m.set(d,{opacity:1})})}function l(v=1500){const d=m.timeline({});d.to(xe,{zIndex:6,duration:0}),d.to(xe,{opacity:1,duration:.5}),Je?setTimeout(()=>{d.to(xe,{opacity:0,duration:.5}),d.to(xe,{zIndex:-1,duration:0})},v):Se?(o(),m.set(Te,{display:"block"}),m.set(Ln,{display:"flex"}),he=document.createElement("video"),he.src=Te.dataset.link,he.preload="auto",$s.addEventListener("click",()=>{m.set("header",{display:"block"}),he.pause(),m.set(Te,{display:"none"}),i()},{once:!0}),Ln.addEventListener("click",()=>{m.set(Ln,{display:"none"}),he.play()},{once:!0}
6),he.addEventListener("loadeddata",function(){Te.appendChild(he),m.set("header",{display:"none"}),setTimeout(()=>{d.to(xe,{opacity:0,duration:.5}),d.to(xe,{zIndex:-1,duration:0}),Je||(Je=!0)},v)},{once:!0}),he.addEventListener("ended",function(){m.set("header",{display:"block"}),m.set(Te,{display:"none"}),i()})):(m.set("header",{display:"block"}),m.set(Te,{display:"none"}),setTimeout(()=>{d.to(xe,{opacity:0,duration:.5}),d.to(xe,{zIndex:-1,duration:0}),Je||(Je=!0,i())},v))}Ni.forEach((v,d)=>{var O,D,S;let h=f(`#${v.dataset.target}`);v.dataset.relatedSlide=h==null?void 0:h.dataset.slide;const y=f(".ar-tli-cta-label1",v),w=f(".ar-tli-cta-label2",v),b=f(".ar-tli-cta-description",v),E=(O=f(".ar-tli-chapter-period",Ve[d+1]))==null?void 0:O.innerHTML.split("-")[0];y.innerHTML=E?`${E}`:"";const R=(D=f(".ar-tli-chapter-period",Ve[d+1]))==null?void 0:D.innerHTML.split("-")[1];w.innerHTML=R?`-${R}`:"",b.innerHTML=(S=f(".ar-tli-chapter-title",Ve[d+1]))==null?void 0:S.innerHTML,v.addEventListener("click",function(_){let V=f(`#${this.dataset.target}`),N=parseInt(V==null?void 0:V.dataset.slide,10)*an;parseInt(this.dataset.target.replace(/[^0-9]/g,"")),l(2500),_.target,parseInt(this.dataset.target.replace(/[^0-9]/g,"")),m.to(window,{duration:1,scrollTo:N,onComplete:()=>{Ri()}}),Se===!1&&x(mt,"ar-tli-nav--opened")})});function o(){he&&(he.pause(),he.remove(),he=null)}xs.addEventListener("click",()=>{ke(mt,"ar-tli-nav--opened")});function c(v){const d=v.closest(".ar-tli-section"),h=f(".ar-tli-milestone-side",d);Hs.innerHTML=h==null?void 0:h.innerHTML}function u(v){const d=v.closest(".ar-tli-section");In=f(".ar-tli-milestone-opacity-el",d),c(v),m.to(xr,{right:0,duration:.9,ease:"power4.out"}),m.to(In,{opacity:.8,duration:.5}),window.gsapSmoother.smoother.paused(!0)}function g(){m.to(xr,{clearProps:"right",right:Se?"-40vw":"-100vw",duration:.9,ease:"power4.out"}),m.to(In,{opacity:0,duration:.5}),x(Ds,"oc-open"),window.gsapSmoother.smoother.paused(!1)}zs.forEach(v=>{v.addEventListener("click",()=>{u(v)})}),Vs.addEventListener("click",()=>{g()});const p=lt(()=>{ce.refresh(),window.innerWidth!==Fr&&(Fr=window.innerWidth,Je=!1,Se&&m.set(Te,{display:"block"}),o(),Tn.kill(),Tn=null,ec(),n(),js(),setTimeout(()=>{window.scrollTo(0,0)},200))},100);window.addEventListener("resize",p)}let Wr=0;function sc(){const e=f(".page.home"),n=new URLSearchParams(window.location.search).get("nosmooth");console.log(n),n||cc(),wn(),ns(),Sa(),sa(),Qo(),ka(),Na(),ws(),As(),_s(),uc(),oc(),dc(),ks(),e||Aa(),e&&(oa(),ts(),Jo()),Ps(),wn();const r=lt(()=>{window.innerWidth!==Wr&&(Wr=window.innerWidth,wn())},100);window.addEventListener("resize",r),U.initialised=!0}const cc=()=>{lc()},lc=()=>{var r;const{scrollTriggerMediaMatch:e}=U,t=window.matchMedia(e),n=(r=window.gsapSmoother)==null?void 0:r.smoother;t.matches&&!n?U.initialised||(Di(),bs()):n&&window.gsapSmoother.smoother.kill()},Di=()=>{const e=f(".ar-anchor-el-line"),t=f("body"),n=["page-template-vueapp","search-results"];let r=!0;for(let i=0;i<n.length;i++)Y(t,n[i])&&(r=!1);if(r){let i=$i.create({smooth:2,effects:!0,smoothTouch:.1,onFocusIn:!1,ignoreMobileResize:!0,onStop:()=>{},onUpdate:s=>{e&&es(s.progress)}});window.gsapSmoother={},window.gsapSmoother.smoother=i}},uc=()=>{window.matchMedia&&window.matchMedia("print").addEventListener("change",function(t){t.matches?window.gsapSmoother.smoother.kill():Di()})},dc=()=>{const e=f(".ar-grouped-content-title");if(e){const r=e.innerHTML,i="\xAE";e.innerHTML=r.replace(i,"<sup>"+i+"</sup>")}const t=f(".page-banner-copy p");if(t){const r=t.innerHTML,i="\xAE";t.innerHTML=r.replace(i,"<sup>"+i+"</sup>")}const n=f(".ar-content-block-copy p");if(n){const r=n.innerHTML,i="\xAE";n.innerHTML=r.replace(i,"<sup>"+i+"</sup>")}};window.ArielEventBus=new Xi;const xi={};xi.start={config:{},canHover:ji,resizeActions:qi,prefersReducedMotion:Yi,runUiScripts:sc,init(){this.resizeActions(),this.canHover(),this.prefersReducedMotion(),this.isResizing(),this.runUiScripts(),this.runProductsApp(),this.runPeopleApp()},isResizing(){const e=f("body"),t=lt(()=>{x(e,"is-animating")},500),n=()=>{F(e,"is-animating")};window.addEventListener("resize",()=>{Ki(n)}),window.addEventListener("resize",t)},runProductsApp(){f("#arielProductAppContainer")&&import("./arielProductsApplication56f9bd60.js").then(t=>{t.arielProductsApplication()})},runPeopleApp(){f("#arielPeopleAppContainer")&&import("./arielPeopleApplicatione3ba77a8.js").then(t=>{t.arielPeopleApplication()})}};window.addEventListener("DOMContentLoaded",()=>{Fi(),xi.start.init()});window.addEventListener("load",()=>{});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.