!function(){function e(){document.querySelectorAll(".fb-vertical-timeline-main-wrapper").forEach(e=>{if(e.dataset.initialized)return;e.dataset.initialized="true";const t=e.querySelector(".fb-vertical-timeline-inner");if(!t)return;const i=()=>{const e=t.querySelectorAll(".fb-vertical-timeline-icon");if(0===e.length)return;const i=e[0],n=e[e.length-1],o=t.getBoundingClientRect(),r=i.getBoundingClientRect(),l=n.getBoundingClientRect(),s=r.left-o.left+r.width/2,d=r.top-o.top+r.height/2,a=o.bottom-l.bottom+l.height/2;t.style.setProperty("--timeline-line-left",`${s}px`),t.style.setProperty("--timeline-line-top",`${d}px`),t.style.setProperty("--timeline-line-bottom",`${a}px`);const c=.5*window.innerHeight,m=o.top+d,u=o.bottom-a-m;let f=0;u>0?(f=(c-m)/u,f=Math.max(0,Math.min(f,1))):o.top<c&&(f=1),t.style.setProperty("--timeline-progress-scale",f)};if("undefined"!=typeof ResizeObserver){const e=new ResizeObserver(()=>{i()});e.observe(t),t.querySelectorAll(".fb-vertical-timeline-icon").forEach(t=>e.observe(t))}i();let n=!1;const o=()=>{n||(window.requestAnimationFrame(()=>{i(),n=!1}),n=!0)};window.addEventListener("scroll",o,{passive:!0}),window.addEventListener("resize",o,{passive:!0})})}window.reinitVerticalTimeline=e,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e(),new MutationObserver(t=>{t.forEach(t=>{(t.addedNodes.length||t.removedNodes.length)&&e()})}).observe(document.body,{childList:!0,subtree:!0})}();