1/*! 2 * alfa 202509121406 3 * 4 */ 5"use strict";(self.webpackChunkALFAROMEO_WEBSITE=self.webpackChunkALFAROMEO_WEBSITE||[]).push([["CpsPromoRangeSlider"],{938:(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(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,o(r.key),r)}}function o(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}n.r(t),n.d(t,{default:()=>c});var c=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.component=t,this.init(),this.eventHandler()},t=[{key:"init",value:function(){this.component.querySelectorAll(".slide-cont").length>1&&(this.component.querySelector(".custom-nav").style.display="flex",this.component.querySelector(".slide-cont:first-of-type").classList.add("active","current"))}},{key:"changeSlide",value:function(e){var t=e.parentElement.parentElement.querySelector(".promo-slider.owl-carousel .slide-cont.current");e.classList.contains("arrowFw")?t.nextElementSibling&&(t.nextElementSibling.classList.add("active","current"),t.classList.remove("active","current")):e.classList.contains("arrowBack")&&t.previousElementSibling&&(t.previousElementSibling.classList.add("active","current"),t.classList.remove("active","current"))}},{key:"eventHandler",value:function(){var e=this;this.component.addEventListener("click",function(t){t.target&&t.target.matches(".custom-nav div")&&e.changeSlide(t.target)})}}],t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,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.