1$(function(){if($('.timeline .timeline__slider').length){timelineCarouselInit();}});function timelineCarouselInit(){var slider=$('.timeline .timeline__slider');slider.each(function(index,el){options={arrows:false,type:'slide',focus:0,perPage:1,perMove:1,drag:true,pagination:false,cover:true,lazyLoad:true,padding:0,slideFocus:false,mediaQuery:'min',gap:16,updateOnMove:true,padding:{left:10,right:40,},breakpoints:{'767':{perPage:2,gap:24,padding:{left:10,right:50,}},'1279':{perPage:3,gap:40,padding:{left:10,right:160,}},'1920':{perPage:3,gap:64,padding:{left:10,right:200,}},},};var timelineCarousel=new Splide(el,options);timelineCarousel.mount();timelineCarousel.on('active',function(slide){let yearID=slide.slide.dataset.year;$('#year-'+yearID).addClass('active');$('.timeline__nav--custom-select .selected-value').html(yearID);}) 2timelineCarousel.on('inactive',function(slide){let yearID=slide.slide.dataset.year;$('#year-'+yearID).removeClass('active');}) 3$('.timeline__button').on('click',function(){let dataID=$(this).attr('data-id');timelineCarousel.go(parseInt(dataID));}) 4$(el).parents('.timeline__bottom').find('.splide__arrow--next').on('click',function(){timelineCarousel.go('+1')}) 5$(el).parents('.timeline__bottom').find('.splide__arrow--prev').on('click',function(){timelineCarousel.go('-1')}) 6const customSelect=$('.timeline__nav--custom-select').find(".custom-select");const selectBtn=$('.timeline__nav--custom-select').find(".select-button");const selectedValue=$('.timeline__nav--custom-select').find(".selected-value");const optionsList=$('.timeline__nav--custom-select').find(".select-dropdown li");selectBtn.on("click",()=>{$(customSelect).toggleClass("active");selectBtn.attr("aria-expanded",selectBtn.attr("aria-expanded")==="true"?"false":"true");});optionsList.each(function(index,option){function handler(e){if(e.type==="click"&&e.clientX!==0&&e.clientY!==0){$(selectedValue).text(this.children[1].textContent);$(customSelect).toggleClass("active");var dataID=$(this.children[0]).attr('data-trigger');timelineCarousel.go(parseInt(dataID-1));closeSelect();} 7if(e.key==="Enter"){$(selectedValue).text(this.textContent);$(customSelect).removeClass("active");var dataID=$(this.children[0]).attr('data-trigger');timelineCarousel.go(parseInt(dataID-1));closeSelect();} 8e.preventDefault();e.stopPropagation();} 9$(option).on("keyup",handler);$(option).on("click",handler);});function closeSelect(){$(customSelect).removeClass("active");$(selectBtn).attr("aria-expanded","false");} 10$(customSelect).each(function(index,el){document.addEventListener('click',(event)=>{const withinBoundaries=event.composedPath().includes(el);if(!withinBoundaries){closeSelect();}})});});}
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.