1(function(){'use strict';var AUTOPLAY_MS=4500;function cardStep(track){var first=track.querySelector('.rpi-card');if(!first)return 340;var gap=parseFloat(getComputedStyle(track).columnGap||getComputedStyle(track).gap)||0;return first.getBoundingClientRect().width+gap} 2function initCarousel(rpi){var track=rpi.querySelector('.rpi-cards');if(!track||track.getAttribute('data-bembe-carousel'))return;var cards=track.querySelectorAll('.rpi-card');if(cards.length<2)return;track.setAttribute('data-bembe-carousel','1');var wrap=document.createElement('div');wrap.className='bembe-rev-wrap';track.parentNode.insertBefore(wrap,track);var prev=document.createElement('button');prev.type='button';prev.className='bembe-rev-prev';prev.setAttribute('aria-label','Vorherige Bewertungen');prev.innerHTML='‹';var next=document.createElement('button');next.type='button';next.className='bembe-rev-next';next.setAttribute('aria-label','Weitere Bewertungen');next.innerHTML='›';wrap.appendChild(prev);wrap.appendChild(track);wrap.appendChild(next);var dots=document.createElement('div');dots.className='bembe-rev-dots';dots.setAttribute('role','tablist');var dotEls=[];for(var i=0;i<cards.length;i++){(function(idx){var d=document.createElement('button');d.type='button';d.className='bembe-rev-dot'+(idx===0?' is-active':'');d.setAttribute('aria-label','Zu Bewertung '+(idx+1)+' springen');d.addEventListener('click',function(){track.scrollTo({left:idx*cardStep(track),behavior:'smooth'})});dots.appendChild(d);dotEls.push(d)})(i)} 3wrap.parentNode.insertBefore(dots,wrap.nextSibling);function atEnd(){return track.scrollLeft+track.clientWidth>=track.scrollWidth-4} 4function scrollNext(){if(atEnd()){track.scrollTo({left:0,behavior:'smooth'})}else{track.scrollBy({left:cardStep(track),behavior:'smooth'})}} 5function scrollPrev(){track.scrollBy({left:-cardStep(track),behavior:'smooth'})} 6next.addEventListener('click',function(){scrollNext();restartAuto()});prev.addEventListener('click',function(){scrollPrev();restartAuto()});var scrollRaf=null;track.addEventListener('scroll',function(){if(scrollRaf)return;scrollRaf=requestAnimationFrame(function(){scrollRaf=null;var idx=Math.round(track.scrollLeft/cardStep(track));idx=Math.max(0,Math.min(idx,dotEls.length-1));for(var j=0;j<dotEls.length;j++){dotEls[j].classList.toggle('is-active',j===idx)}})},{passive:!0});var timer=null;function startAuto(){stopAuto();timer=setInterval(scrollNext,AUTOPLAY_MS)} 7function stopAuto(){if(timer){clearInterval(timer);timer=null}} 8function restartAuto(){startAuto()} 9wrap.addEventListener('mouseenter',stopAuto);wrap.addEventListener('mouseleave',startAuto);track.addEventListener('touchstart',stopAuto,{passive:!0});track.addEventListener('touchend',function(){setTimeout(startAuto,2000)},{passive:!0});if(!window.matchMedia('(prefers-reduced-motion: reduce)').matches){startAuto()}} 10function initAll(){var sections=document.querySelectorAll('.rpi');for(var i=0;i<sections.length;i++)initCarousel(sections[i]);} 11if(document.readyState==='loading'){document.addEventListener('DOMContentLoaded',initAll)}else{initAll()}})()
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.