PageSourceSearch

https://www.co2online.de/_assets/ce888ac328d34b64fcb03f6e17bade21/…/assets/gallery-slider-DBcSPZd4.js

js co2online.de collected 2026-10-01 11:24:57 UTC 1,832 bytes, 2 lines download raw bytes

1import{S as c}from"./splide.esm-C1lbcObU.js";function y(){const e=document.querySelectorAll(".gallery-slider");g(e,{defaults:{name:"Gallery Slider",selectors:{slideContainer:".splide",thumbnailsContainer:".gallery-slider__slider-thumbnails",slideControls:".splide__controls",slideTextWrapper:".gallery-slider .text-wrapper"}}})}function g(e,t){for(let r=0;r<e.length;r++)h(e[r],t)}function h(e,t){let r=e.querySelector(t.defaults.selectors.slideContainer),p=e.querySelector(t.defaults.selectors.thumbnailsContainer),a=e.querySelector(t.defaults.selectors.slideControls),f=e.querySelectorAll(t.defaults.selectors.slideTextWrapper),s=0;const i=new c(r,{rewind:!0,pagination:!0,perPage:1,perMove:1,arrowPath:"m26.154 20.468 -4.164 4.18a0.66 0.66 0 0 1 -0.468 0.201 0.661 0.661 0 0 1 -0.468 -0.2 0.666 0.666 0 0 1 0 -0.954l3.027 -3.026H14.315a0.671 0.671 0 0 1 -0.669 -0.669c0 -0.368 0.301 -0.669 0.669 -0.669h9.765l-3.043 -3.043a0.666 0.666 0 0 1 0 -0.954 0.666 0.666 0 0 1 0.953 0L26.154 19.515c0.268 0.267 0.268 0.702 0 0.953Z",breakpoints:{767:{rewind:!1}}});i.on("pagination:mounted",function(n){n.list.classList.add("splide__pagination--custom"),n.items.forEach(function(l){let o=document.createElement("span");o.textContent=String(l.page+1),l.button.innerHTML="",l.button.appendChild(o),l.button.appendChild(document.createTextNode("/"+n.items.length))})}),i.on("ready resize",function(){if(window.innerWidth>768){f.forEach((l,o)=>{const u=l.offsetHeight;u>s&&(s=u)});const n=s+18;a.style.bottom=`${n}px`}else a.style.bottom="unset"});const d=new c(p,{rewind:!0,perPage:4,perMove:1,isNavigation:!0,arrows:!1,gap:16,focus:0,trimSpace:!0,pagination:!1,breakpoints:{767:{destroy:!0},768:{perPage:4,isNavigation:!0}}});i.sync(d),i.mount(),d.mount()}export{g as default,y as init};
2//# sourceMappingURL=gallery-slider-DBcSPZd4.js.map

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.