1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([["components-dx-carousel-DxCarousel-js","components-dx-carousel-classes-DxCarousel-main-js","components-dx-carousel-helpers-js","components-dx-carousel-store-actions-js","components-dx-carousel-store-index-js","components-dx-carousel-store-reducers-js"],{48177:function(e,t,n){n.r(t);var r=n(23496),i=document.querySelectorAll(".DxCarousel");i.length&&Array.prototype.forEach.call(i,function(e){null===e.closest(".TabbedContainer")&&new r.default(e)})},23496:function(e,t,n){n.r(t),n.d(t,{default:function(){return m}});var r=n(32049),i=n(95226),o=n(62290),a=n(71202),s=n(8588),u=n(31695),l=n(37157);function c(e){return c="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},c(e)}function f(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var u=r&&r.prototype instanceof s?r:s,l=Object.create(u.prototype);return p(l,"_invoke",function(n,r,i){var o,s,u,l=0,c=i||[],f=!1,p={p:0,n:0,v:e,a:y,f:y.bind(e,4),d:function(t,n){return o=t,s=0,u=e,p.n=n,a}};function y(n,r){for(s=n,u=r,t=0;!f&&l&&!i&&t<c.length;t++){var i,o=c[t],y=p.p,h=o[2];n>3?(i=h===r)&&(u=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=y&&((i=n<2&&y<o[1])?(s=0,p.v=r,p.n=o[1]):y<h&&(i=n<3||o[0]>r||r>h)&&(o[4]=n,o[5]=r,p.n=h,s=0))}if(i||n>1)return a;throw f=!0,r}return function(i,c,h){if(l>1)throw TypeError("Generator is already running");for(f&&1===c&&y(c,h),s=c,u=h;(t=s<2?e:u)||!f;){o||(s?s<3?(s>1&&(p.n=-1),y(s,u)):p.n=u:p.v=u);try{if(l=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(u=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(f=p.n<0)?u:n.call(r,p))!==a)break}catch(t){o=e,s=1,u=t}finally{l=1}}return{value:t,done:f}}}(n,i,o),!0),l}var a={};function s(){}function u(){}function l(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(p(t={},r,function(){return this}),t),y=l.prototype=s.prototype=Object.create(c);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,p(e,i,"GeneratorFunction")),e.prototype=Object.create(y),e}return u.prototype=l,p(y,"constructor",l),p(l,"constructor",u),u.displayName="GeneratorFunction",p(l,i,"GeneratorFunction"),p(y),p(y,i,"Generator"),p(y,r,function(){return this}),p(y,"toString",function(){return"[object Generator]"}),(f=function(){return{w:o,m:h}})()}function p(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}p=function(e,t,n,r){if(t)i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var o=function(t,n){p(e,t,function(e){return this._invoke(t,n,e)})};o("next",0),o("throw",1),o("return",2)}},p(e,t,n,r)}function y(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function h(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,d(r.key),r)}}function d(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}var m=function(){return e=function e(t){var n=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!(0,a.eA)(t))throw new Error("DxCarousel expected an element to be passed as parementer 1");this._element=t,this.isDeviceMobile=(0,u.Xb)(),this.store=(0,r.store)("DxCarouselStore-".concat(this._element.getAttribute("id"))),this._element.classList.contains("DxCarousel--mobile-override")?this.isClientAMobileDevice().then(function(e){if(!1!==e){var t={next:n._element.querySelector(".DxCarousel__next"),prev:n._element.querySelector(".DxCarousel__previous"),pagination:n._element.querySelector(".DxCarousel__controls"),supplimentarySlides:n._element.querySelectorAll(".swiper-slide:not(:first-child)")};(0,i.purgeCarouselElements)(t)}else n.init()}):this.init()},t=[{key:"isClientAMobileDevice",value:(c=f().m(function e(){return f().w(function(e){for(;;)switch(e.n){case 0:if(!0===this.isDeviceMobile){e.n=1;break}return e.a(2,!1);case 1:return e.a(2,!(0,u.Pg)())}},e,this)}),p=function(){var e=this,t=arguments;return new Promise(function(n,r){var i=c.apply(e,t);function o(e){y(i,n,r,o,a,"next",e)}function a(e){y(i,n,r,o,a,"throw",e)}o(void 0)})},function(){return p.apply(this,arguments)})},{key:"init",value:function(){this._carousel=null,this._pagination=null,this._carouselConfig=(0,s.getCarouselConfig)(this._element);var e=this._carouselConfig,t=e.total,n=e.defaultSelected,r=e.autoplay,i=e.loop;this.autoplay=r,this._totalSlides=t,this._startSlide=n,this._loop=i,this._sliderSpeed=600,this._swiperOptions=this.getSwiperOptions(),this._pagination=(0,l.initPagination)(this._element);var u=this._element.querySelector(".DxCarousel__carousel");if(!(0,a.eA)(u))throw new Error('DxCarousel expected an element with the class "DxCarousel__carousel" to exist as child of this.element');this._carousel=(0,l.initSwiper)(u,this._swiperOptions);var c=(0,s.getLabels)(this._element);(0,l.initDxA11ySwiperHelpers)(this._carousel,{paginationObject:this._pagination,labels:c}),this.store.dispatch((0,o.setInitialSettings)({init:!0,playingState:JSON.parse(this.autoplay)})),this.bindEventListeners()}},{key:"bindEventListeners",value:function(){var e=this;
1this._pagination&&this._pagination.getElement()&&(this._pagination._elem.addEventListener("play",function(){e.store.dispatch((0,o.setPlayingState)(!0))}),this._pagination._elem.addEventListener("pause",function(){e.store.dispatch((0,o.setPlayingState)(!1))}))}},{key:"getSwiperOptions",value:function(){var e=this._element.closest(".Accordion");return{autoHeight:!1,initialSlide:this._startSlide,loop:this._loop,grabCursor:!0,speed:this._sliderSpeed,pagination:!1,preloadImages:!0,updateOnImagesReady:!0,a11y:!0,navigation:{prevEl:this._element.querySelector(".DxCarousel__previous"),nextEl:this._element.querySelector(".DxCarousel__next")},on:{transitionEnd:function(){e&&e.length&&e.Accordion("calculateNewHeight")}}}}},{key:"destroy",value:function(){(0,l.destroyDxCarousel)(this._carousel);var e=this._element.parentNode,t=this._element.cloneNode(!0);this._element.remove(),e.appendChild(t)}}],t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n,c,p}()},95226:function(e,t,n){function r(e){Object.values(e).forEach(function(e){(Array.isArray(e)||e instanceof NodeList?e:[e]).forEach(function(e){e instanceof HTMLElement&&e.parentElement.removeChild(e)})})}n.r(t),n.d(t,{purgeCarouselElements:function(){return r}})},62290:function(e,t,n){n.r(t),n.d(t,{setInitalisationState:function(){return o},setInitialSettings:function(){return r},setPlayingState:function(){return i}});var r=function(e){return{type:"SET_INITIAL_SETTINGS",payload:e}},i=function(e){return{type:"SET_PLAYING_STATE",playingState:e}},o=function(e){return{type:"SET_INITALISED_STATE",initalisationState:e}}},32049:function(e,t,n){n.r(t),n.d(t,{store:function(){return o}});var r=n(82960),i=n(44212),o=function(e){return window[e]=(0,r.y$)(i.default),window[e]}},44212:function(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){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t,n){return(t=function(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+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.r(t),n.d(t,{default:function(){return u}});var s={initialised:!1,playingState:null};function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;switch(e.type){case"SET_INITIAL_SETTINGS":return o(o({},t),{},{initialised:e.payload.init,playingState:e.payload.playingState});case"SET_PLAYING_STATE":return o(o({},t),{},{playingState:e.playingState});case"SET_INITALISED_STATE":return o(o({},t),{},{initialised:e.initalisationState});default:return t}}}}]);
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.