1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([[3380],{3380:function(e,t,s){s.r(t);var i=s(6540);t.default=function(e){var t,s,n=JSON.parse(e.model),a=(0,i.useRef)(null),c=(0,i.useState)(0),l=c[0],r=c[1],m=function(){a.current&&setTimeout((function(){r(a.current.offsetWidth)}),100)};return(0,i.useEffect)((function(){return m(),window.addEventListener("resize",m),function(){window.removeEventListener("resize",m)}}),[n.lists]),i.createElement("div",{className:"c-statistics-slider ".concat(n.hoverStop?"hover-stop":"no-hover-stop"," ").concat(n.lists.length>1?"enable-animation":"disable-animation"),"data-theme":n.theme||"",style:{"--width":"".concat(l,"px"),"--speed":"".concat(n.speed,"ms")}},i.createElement("div",{className:"c-statistics-slider__lists"},n.lists&&i.createElement("div",{ref:a},null===(t=n.lists)||void 0===t?void 0:t.map((function(e,t){return i.createElement("div",{key:t,className:"c-statistics-slider__list ".concat(e.image?"":"no-image")},e.image&&i.createElement("img",{src:e.image,alt:e.text||""}),e.text&&i.createElement("p",null,e.text))}))),n.lists&&n.lists.length>1&&i.createElement("div",null,null===(s=n.lists)||void 0===s?void 0:s.map((function(e,t){return i.createElement("div",{key:t,className:"c-statistics-slider__list ".concat(e.image?"":"no-image")},e.image&&i.createElement("img",{src:e.image,alt:e.text||""}),e.text&&i.createElement("p",null,e.text))})))))}}}]);
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.