1!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(e,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,a=void 0,a=function(e,n){if("object"!==t(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,n||"default");if("object"!==t(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(o,"string"),"symbol"===t(a)?a:String(a)),r)}var o,a}function n(e){var n=a();return function(){var r,o=l(e);if(n){var a=l(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return function(e,n){if(n&&("object"===t(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return i(e)}(this,r)}}function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r(t){var e="function"==typeof Map?new Map:void 0;return r=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,i)}function i(){return o(t,arguments,l(this).constructor)}return i.prototype=Object.create(t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),c(i,t)},r(t)}function o(t,e,n){return o=a()?Reflect.construct.bind():function(t,e,n){var i=[null];i.push.apply(i,e);var r=new(Function.bind.apply(t,i));return n&&c(r,n.prototype),r},o.apply(null,arguments)}function a(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function c(t,e){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},c(t,e)}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}if(!customElements.get("nobel-slider")){var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c(t,e)}(s,t);var r,o,a,l=n(s);function s(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s);var e=(t=l.call(this)).querySelector(".slider__slider");t.$slider=e;var n=t.getAttribute("data-id");t.$content=document.querySelector('.slider-content[rel="'.concat(n,'"]')),t.$contentSlides=!1;var r=document.querySelectorAll('[data-slider-content="'.concat(n,'"]'));r&&(t.$contentSlides=r),t.$activeContentSlide=document.querySelector('[data-slider-content="'.concat(n,'"].js-is-active'));var o=i(t);return window.addEventListener("load",(function(){o.initSlider(),o.initSwipeLogic()})),document.addEventListener("js-window-resize-complete",(function(){o.setContentHeight()})),t}return r=s,o=[{key:"initSlider",value:function(){var t=this,e=this.hasAttribute("data-slider-speed")?parseInt(this.getAttribute("data-slider-speed")):0,n=0!==e,i={grabCursor:!0,longSwipesRatio:0,effect:"fade",loop:!0,speed:600,autoHeight:this.hasAttribute("data-autoheight"),init:!1,navigation:{nextEl:this.querySelector('.slider__arrow[data-dir="next"]'),prevEl:this.querySelector('.slider__arrow[data-dir="prev"]')},pagination:{el:this.querySelector(".slider__nav"),clickable:!0,bulletElement:"div",bulletClass:"slider__nav-item"}};n&&(i.autoplay={delay:e});var r=new Swiper(this.$slider,i);if(r.on("init slideChangeTransitionStart",(function(e){var n=e.realIndex===e.slides.length-1?0:e.realIndex+1,i=e.slides[n],o=i.querySelector(".image-defer-src");o&&t.loadSlideImage(r,i,o),t.$contentSlides&&t.loadContentSlideImage(r,n)}
1)),r.init(),r.pagination.bullets&&r.pagination.bullets.forEach((function(e,n){e.addEventListener("click",(function(){var e=r.slides[n],i=e.querySelector(".image-defer-src");i&&(t.loadSlideImage(r,e,i,n),r.slideTo(n)),t.$contentSlides&&t.loadContentSlideImage(r,n,!0)}))})),r.on("realIndexChange",(function(e){var n=e.realIndex;t.$contentSlides&&t.$contentSlides.forEach((function(e,i){i===n?(t.$contentSlides[i].classList.add("js-is-active"),t.$content&&t.setActiveContentSlide(e)):t.$contentSlides[i].classList.remove("js-is-active")}))})),this.$slider=r,this.$content&&this.$activeContentSlide){var o=this.$activeContentSlide.offsetHeight;this.$content.style.height="".concat(o,"px"),this.$content.classList.add("loaded")}this.setContentHeight()}},{key:"loadContentSlideImage",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if($nextContentSlide=this.$contentSlides[e],$nextContentSlide){var i=$nextContentSlide.querySelector(".image-defer-src");i&&(n?this.loadSlideImage(t,$nextContentSlide,i,e):this.loadSlideImage(t,$nextContentSlide,i))}}},{key:"initSwipeLogic",value:function(){var t=this,e=document.querySelectorAll(".swipe-enabled");if(e){var n=0,i=0;e.forEach((function(e){e.addEventListener("touchstart",(function(t){n=t.touches[0].clientX})),e.addEventListener("touchmove",(function(t){i=t.touches[0].clientX})),e.addEventListener("touchend",(function(){var e=i-n;Math.abs(e)>50&&(e>0?t.$slider.slidePrev():t.$slider.slideNext()),n=0,i=0}))}))}}},{key:"setActiveContentSlide",value:function(t){var e=t.getAttribute("data-height");this.$content.style.height=e}},{key:"setContentHeight",value:function(){var t;this.$contentSlides.forEach((function(e){var n=e.offsetHeight;e.setAttribute("data-height","".concat(n,"px")),e.classList.contains("js-is-active")&&(t=n)})),this.$content&&(this.$content.style.height="".concat(t,"px"))}},{key:"loadSlideImage",value:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.enabled=!1;var r=n.getAttribute("data-src"),o=n.getAttribute("data-srcset"),a=n.getAttribute("alt"),c=new Image;c.onload=function(){n.before(c),n.remove(),t.enabled=!0,i&&t.slideTo(i)},c.src=r,c.srcset=o,c.alt=a}}],o&&e(r.prototype,o),a&&e(r,a),Object.defineProperty(r,"prototype",{writable:!1}),s}(r(HTMLElement));customElements.define("nobel-slider",s)}}();
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.