1System.register(["layout-image-with-text--slider.css"],function(){"use strict";var e;return{setters:[function(t){e=t.default}],execute:function(){document.adoptedStyleSheets=[...document.adoptedStyleSheets,e];class t{constructor(e,t,i,s){let r;this.wrapper=document.getElementById(e),this.sliderContainer=this.wrapper.querySelector(".image-with-text-list"),this.$sliderContainer=$(this.sliderContainer),this.indicateNextItems=s,this.$sliderContainer.children().addClass("swiper-slide"),this.indicateNextItems&&this.checkAndSetIndicatorClass(),this.swiper=new Swiper(this.wrapper,{observer:!0,freeMode:{enabled:!0,sticky:!0},mousewheel:{forceToAxis:!0},watchSlidesProgress:!0,a11y:{prevSlideMessage:this.wrapper.getAttribute("data-prev-label"),nextSlideMessage:this.wrapper.getAttribute("data-next-label")},navigation:{nextEl:this.wrapper.querySelector(".c-c-l-m-swiper__next"),prevEl:this.wrapper.querySelector(".c-c-l-m-swiper__prev"),enabled:t},pagination:{el:this.wrapper.querySelector(".swiper-pagination"),clickable:!0,enabled:i},slidesPerView:"auto",grabCursor:!0}),window.addEventListener("resize",()=>{clearTimeout(r),r=setTimeout(()=>{this.indicateNextItems&&(this.checkAndSetIndicatorClass(),this.swiper.update())},150)})}checkAndSetIndicatorClass(){const e=this.$sliderContainer.children().length,t=this.wrapper.querySelector(".swiper-slide");if(!t)return;this.wrapper.classList.remove("indicate-next-items"),this.wrapper.offsetHeight;const i=this.wrapper.offsetWidth;e*t.offsetWidth+(e-1)*(parseInt(getComputedStyle(this.sliderContainer).gap)||0)<=i+1||this.wrapper.classList.add("indicate-next-items")}}(function(){(function(){(function(){(function(){(function(){(function(){this.Slider=t}).call(this.ImagewithText||(this.ImagewithText={}))}).call(this.Metropolis||(this.Metropolis={}))}).call(this.Layout||(this.Layout={}))}).call(this.Common||(this.Common={}))}).call(this.Common||(this.Common={}))}).call(window.Pegasus||(window.Pegasus={}))}}}); 2//# sourceMappingURL=layout-image-with-text--slider.system.js.map
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.