1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([[9537],{4304:function(e,t,r){r.r(t);const n={init:function(){const e=document.querySelectorAll(".re_revamp__ride-one-fuel-card"),t=document.querySelectorAll(".re_revamp__ride-one-fuel-nav-button"),r=document.querySelector(".re_revamp__ride-one-fuel-header"),n=document.querySelector(".one-day-container"),a=document.querySelector(".join-ride-container"),o=document.querySelector(".refloatingbutton");function c(r){e.forEach((e=>{e.classList.remove("active");const t=e.querySelector(".re_revamp__ride-one-fuel-card-overlay");t&&(t.style.opacity="0")})),t.forEach((e=>e.classList.remove("active")));const n=document.querySelector(`[data-card="${r}"]`),a=document.querySelector(`.re_revamp__ride-one-fuel-navigation .re_revamp__ride-one-fuel-nav-button[data-nav="${r}"]`);if(n&&a){n.classList.add("active"),a.classList.add("active");const e=n.querySelector(".re_revamp__ride-one-fuel-card-overlay");e&&setTimeout((()=>{e.style.opacity="1"}),50)}}e.forEach((e=>{e.addEventListener("click",(()=>{c(e.getAttribute("data-card"))})),e.addEventListener("mouseenter",(()=>{c(e.getAttribute("data-card"))}))})),t.forEach((e=>{e.addEventListener("click",(()=>{c(e.getAttribute("data-nav"))})),e.addEventListener("mouseenter",(()=>{c(e.getAttribute("data-nav"))}))})),document.addEventListener("keydown",(e=>{const t=document.querySelector(".re_revamp__ride-one-fuel-card.active");if(!t)return;const r=parseInt(t.getAttribute("data-card"));"ArrowLeft"===e.key&&r>1?c(r-1):"ArrowRight"===e.key&&r<3?c(r+1):"ArrowUp"===e.key&&r>1?c(r-1):"ArrowDown"===e.key&&r<3&&c(r+1)}));const s=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&o.classList.remove("show")}))}),{threshold:.1}),i=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&o.classList.add("show")}))}),{threshold:.1}),d=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&o.classList.add("show")}))}),{threshold:.1});s.observe(n),i.observe(r),d.observe(a)}};t.default=n}}]);
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.