1"use strict";(self.webpackChunkunia21=self.webpackChunkunia21||[]).push([[7898],{7898:(e,r,a)=>{a.r(r),a.d(r,{default:()=>t});class t{constructor(){const e=document.querySelectorAll(".tx-frp-gallery"),r=document.querySelectorAll(".tx-frp-gallery-carousel");e.forEach(e=>{e.dataset.uid&&(Fancybox.bind(e.querySelector('[data-fancybox="gallery'+e.dataset.uid+'"]'),{Thumbs:{Carousel:{fill:!1,center:!0}}}),this.checkForImages(e).then(()=>{new Masonry(e,{itemSelector:".grid-item"})}))}),r.forEach(e=>{if(e.dataset.uid){const r=new Carousel(e.querySelector(".carousel"),{Dots:!1,preload:10,slidesPerPage:1});new Carousel(e.querySelector(".thumbnail-carousel"),{Sync:{target:r,friction:0},preload:10,Dots:!1,Navigation:!1,center:!0,slidesPerPage:1,infinite:!1}),Fancybox.bind(e.querySelector('[data-fancybox="gallery'+e.dataset.uid+'"]'),{Thumbs:{Carousel:{fill:!1,center:!0,on:{change:e=>{r.slideTo(r.findPageForSlide(e.page),{friction:0})}}}}})}})}checkForImages(e){return new Promise(r=>{let a=0,t=e.querySelectorAll("img"),l=t.length;t.forEach(e=>{e.complete&&0!==e.naturalWidth?(a++,a===l&&r()):e.addEventListener("load",()=>{a++,a===l&&r()})})})}}}}]);
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.