PageSourceSearch

https://www.floraprima.de/skin/frontend/base/default/cms/js/banner-slider.min.js?1790247889

js floraprima.de collected 2026-09-24 11:20:04 UTC 4,136 bytes, 1 lines download raw bytes

1(()=>{function s(t,e){return(t||document).querySelector(e)}function l(t,e){return Array.prototype.slice.call((t||document).querySelectorAll(e))}function u(t){return l(t,".carousel-item")}function c(t){var e=u(t),t=s(t,".carousel-item.active");return Math.max(0,e.indexOf(t))}function f(t,e){t&&t.innerHTML!==e&&(t.innerHTML=e)}function d(t,e){t&&t.textContent!==e&&(t.textContent=e)}function p(t,e,n){t&&t.classList.toggle(e,!!n)}function f(t,e){t&&t.innerHTML!==e&&(t.innerHTML=e)}function d(t,e){t&&t.textContent!==e&&(t.textContent=e)}function p(t,e,n){t&&t.classList.toggle(e,!!n)}function b(t,i){var e=u(i),n=e.map(function(t,e){var n,a,t=((t,e,n)=>{for(var a=null,i=e&&e.nextElementSibling;i;){if(i.classList&&i.classList.contains("fp-banner-slide-data")){a=i;break}if(i.classList&&i.classList.contains("carousel-item"))break;i=i.nextElementSibling}return a=a||l(t,".fp-banner-slide-data")[n="number"!=typeof n||n<0?c(t):n]||null})(i,t,e);return t?(e=s(t,".fp-banner-slider-top-text"),n=s(t,".fp-banner-slide-text"),a=s(t,".fp-banner-slide-button"),{title:t.getAttribute("data-title")||"",topHTML:e?e.innerHTML:"",textHTML:n?n.innerHTML:"",checkmark:"y"===t.getAttribute("data-checkmark"),buttonHTML:a?a.outerHTML:""}):{title:"",topHTML:"",textHTML:"",checkmark:!1,buttonHTML:""}});t._fpItems=e,t._fpModels=n}function m(t,e,n){var a,i,r,o=t._fpRefs;o&&o.wrapper&&(a=t._fpItems||u(e),"number"==typeof n?i=a[r=Math.max(0,Math.min(a.length-1,n))]||a[0]:(i=n||s(e,".carousel-item.active"),(r=a.indexOf(i))<0&&(r=c(e))),(n=t._fpModels)&&n[r]||(b(t,e),n=t._fpModels),a=n&&n[r])&&(i=o.top,f(i,a.topHTML),e=o.h1,t=o.h2,n=a.title||"",0===r?(d(e,n),p(e,"d-none",!1),t&&(d(t,""),p(t,"d-none",!0))):(p(e,"d-none",!0),d(t,n),p(t,"d-none",!1)),(i=o.text)&&(f(i,a.textHTML),p(i,"banner-checkmark",a.checkmark)),r=o.btnSlot)&&f(r,a.buttonHTML)}function h(t,e){var n,a=s(t,".fp-banner-slider-indicators"),t=t._fpRefs&&t._fpRefs.indicators||(a?l(a,"[data-bs-slide-to]"):[]);t.length&&(t.forEach(function(t){t.classList.remove("active")}),n=null,t.forEach(function(t){parseInt(t.getAttribute("data-bs-slide-to"),10)===e&&(n=t)}),n)&&n.classList.add("active")}function e(n){var a,i,r,o,t;n&&"1"!==n.getAttribute("data-fp-banner-initialized")&&(window.bootstrap&&window.bootstrap.Carousel?(a=s(n,".carousel"))?(t=new bootstrap.Carousel(a,{ride:!1,pause:!1,touch:!0,wrap:!0}),n._fpCarousel=t,n.setAttribute("data-fp-banner-initialized","1"),n.removeAttribute("data-bs-wait-tries"),t=s(n,".home-banner-content-wrapper-ab"),n._fpRefs={wrapper:t,top:t?s(t,".home-banner-top-text"):null,h1:t?s(t,"h1.home-banner-headline"):null,h2:t?s(t,"h2.home-banner-subheadline"):null,text:t?s(t,".home-banner-text"):null,btnSlot:t?s(t,".fp-banner-btn-slot"):null,indicators:l(n,".fp-banner-slider-indicators [data-bs-slide-to]")},b(n,a),t=c(a),h(n,t),m(n,a,t),r=a,t=s(i=n,".fp-banner-slider-indicators"),(t=i._fpRefs&&i._fpRefs.indicators||(t?l(t,"[data-bs-slide-to]"):[])).length&&(o="#"+(r.id||""),t.forEach(function(a){a.addEventListener("click",function(){var t,e=parseInt(a.getAttribute("data-bs-slide-to"),10),n=a.getAttribute("data-bs-target");isNaN(e)||n&&o&&n!==o||(h(i,e),(t=i._fpRefs&&i._fpRefs.wrapper||null)&&(t.style.transition="opacity .25s ease",t.style.opacity="0"),m(i,r,e),requestAnimationFrame(function(){t&&(t.style.opacity="1")}),i._fpCarousel&&"function"==typeof i._fpCarousel.to&&i._fpCarousel.to(e))})})),a.addEventListener("slide.bs.carousel",function(){var t=n._fpRefs&&n._fpRefs.wrapper||null;t&&(t.style.transition="opacity .25s ease",t.style.opacity="0")}),a.addEventListener("slid.bs.carousel",function(t){var t="number"==typeof t.to?t.to:c(a),e=(m(n,a,t),n._fpRefs&&n._fpRefs.wrapper||null);e&&(e.style.opacity="1"),h(n,t)})):setTimeout(function(){e(n)},100):(t=parseInt(n.getAttribute("data-bs-wait-tries")||"0",10))<20&&(n.setAttribute("data-bs-wait-tries",String(t+1)),setTimeout(function(){e(n)},100)))}window.initBannerSlider=function(){l(document,".banner-wrapper-ab.fp-banner-slider").forEach(e)},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",window.initBannerSlider):window.initBannerSlider()})();

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.