1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([["components-dx-carousel-carousel-config-js"],{8588:function(t,e,r){function n(t){return n="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},n(t)}function a(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var a=r.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return u(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}r.r(e),r.d(e,{getCarouselConfig:function(){return l},getLabels:function(){return i}});var i=function(t){if(!t)throw new Error("getLabels: expected to receive an element as parameter 1");return Object.assign.apply(Object,[{}].concat(o(["next","previous","slideChanged","play","pause","pip","paused","playing"].map(function(e){return a({},e,(r=e,t.querySelector(".DxCarousel__controls").getAttribute("data-label-".concat(r))||t.querySelector(".DxCarousel__carousel > .DxCarousel__".concat(r)).getAttribute("data-label-".concat(r))));var r}))))},l=function(t){if(!t)throw new Error("getCarouselConfig: expected to receive an element as parameter 1");var e=t.querySelector(".DxCarousel__carousel"),r=e.getAttribute("data-total")||"0",n=e.getAttribute("data-randomized")||"false",a=t.querySelector(".DxCarousel__controls");return{total:r,alignment:a.getAttribute("data-alignment")||"left",pagination:a.getAttribute("data-pagination")||"dots",randomized:n,loop:a.getAttribute("data-loop")||"true",autoplay:a.getAttribute("data-autoplay")||"false",autoplayDuration:a.getAttribute("data-autoplay-duration")||"4000",defaultSelected:a.getAttribute("data-default-selected")||"0"}}}}]);
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.