{"version":3,"file":"597.a252f6f3da35682deca6.js","mappings":"sKAOA,MAAMA,EAEFC,WAAAA,CAAYC,GACRC,KAAKD,GAAKA,EACVC,KAAKC,QAAUF,EAAGG,cAAc,WAChCF,KAAKG,OAAS,IAAIC,EAAAA,GAAOJ,KAAKC,QAAS,CAEnCI,QAAS,CAACC,EAAAA,GAAYC,EAAAA,GAAYC,EAAAA,IAClCC,cAAe,EACfC,gBAAgB,EAChBC,MAAM,EACNC,aAAc,GACdC,UAAU,EACVC,YAAa,CAET,IAAK,CACDL,cAAe,EACfG,aAAc,IAGlB,IAAK,CACDH,cAAe,EACfG,aAAc,IAGlB,KAAM,CACFH,cAAe,EACfG,aAAc,KAItBG,WAAY,CACRC,OAAQjB,EAAGG,cAAc,qBACzBe,OAAQlB,EAAGG,cAAc,sBAG7BgB,WAAY,CACRnB,GAAIA,EAAGG,cAAc,sBACrBiB,WAAW,IAGvB,EAKG,SAASC,EAAWC,GACvBA,EAASC,SAASC,IAEQ,IAAlBA,EAAKC,UACL,IAAI3B,EAAY0B,EACpB,GAER,C","sources":["webpack://Sports Governance/./wwwroot/app/src/modules/logos-swiper/logos-swiper.js"],"sourcesContent":["// core version + navigation, pagination modules:\r\nimport Swiper, { Navigation, Pagination, Autoplay } from 'swiper';\r\n// swiper core styles\r\nimport 'swiper/css/bundle';\r\n\r\nimport './logos-swiper.scss';\r\n\r\nclass LogosSwiper {\r\n\r\n constructor(el) {\r\n this.el = el;\r\n this.wrapper = el.querySelector('.swiper');\r\n this.swiper = new Swiper(this.wrapper, {\r\n // Optional parameters\r\n modules: [Navigation, Pagination, Autoplay],\r\n slidesPerView: 1,\r\n centeredSlides: false,\r\n loop: true,\r\n spaceBetween: 20,\r\n autoplay: true,\r\n breakpoints: {\r\n // when window width is >= 'sm'\r\n 576: {\r\n slidesPerView: 2,\r\n spaceBetween: 20,\r\n },\r\n // when window width is >= 'lg'\r\n 992: {\r\n slidesPerView: 3,\r\n spaceBetween: 20,\r\n },\r\n // when window width is >= 'xl'\r\n 1200: {\r\n slidesPerView: 4,\r\n spaceBetween: 20,\r\n }\r\n },\r\n // Navigation buttons\r\n navigation: {\r\n prevEl: el.querySelector('.swiper--prev-btn'),\r\n nextEl: el.querySelector('.swiper--next-btn')\r\n },\r\n // Pagination\r\n pagination: {\r\n el: el.querySelector('.swiper-pagination'),\r\n clickable: true,\r\n },\r\n });\r\n }\r\n\r\n}\r\n\r\n// export the default function to create\r\nexport function createFrom(wrappers) {\r\n wrappers.forEach((node) => {\r\n // if node is an element\r\n if (node.nodeType === 1) {\r\n new LogosSwiper(node);\r\n }\r\n });\r\n}\r\n"],"names":["LogosSwiper","constructor","el","this","wrapper","querySelector","swiper","Swiper","modules","Navigation","Pagination","Autoplay","slidesPerView","centeredSlides","loop","spaceBetween","autoplay","breakpoints","navigation","prevEl","nextEl","pagination","clickable","createFrom","wrappers","forEach","node","nodeType"],"sourceRoot":""}