{"version":3,"sources":["components/home/blog/blog.js"],"names":["Blog","Component","constructor","el","swiperEl","$find","swiper","constructSwiper","Swiper","watchOverflow","slidesPerView","spaceBetween","loop","breakpoints","navigation","nextEl","prevEl","pagination","clickable"],"mappings":"aAAA,KAAMA,CAAAA,IAAN,QAAmBC,CAAAA,SAAU,CACzBC,WAAW,CAACC,EAAD,CAAK,CACZ,MAAMA,EAAN,EACA,KAAKC,QAAL,CAAgB,KAAKC,KAAL,CAAW,sBAAX,CAAhB,CACA,KAAKC,MAAL,CAAc,IAAd,CACA,KAAKF,QAAL,EAAiB,KAAKG,eAAL,EACpB,CAEDA,eAAe,EAAG,CACd,KAAKD,MAAL,CAAc,GAAIE,CAAAA,MAAJ,CAAW,KAAKJ,QAAhB,CAA0B,CACpCK,aAAa,CAAE,IADqB,CAEpCC,aAAa,CAAE,CAFqB,CAGpCC,YAAY,CAAE,EAHsB,CAIpCC,IAAI,CAAE,IAJ8B,CAKpCC,WAAW,CAAE,CACT,IAAK,CACDH,aAAa,CAAE,CADd,CADI,CAIT,IAAK,CACDA,aAAa,CAAE,CADd,CAJI,CAOT,KAAM,CACFA,aAAa,CAAE,CADb,CAPG,CAUT,KAAM,CACFA,aAAa,CAAE,CADb,CAVG,CALuB,CAmBpCI,UAAU,CAAE,CACRC,MAAM,CAAE,gCADA,CAERC,MAAM,CAAE,gCAFA,CAnBwB,CAwBpCC,UAAU,CAAE,CACRd,EAAE,CAAE,mCADI,CAERe,SAAS,CAAE,IAFH,CAxBwB,CAA1B,CA6BjB,CAtCwB","sourcesContent":["class Blog extends Component {\n constructor(el) {\n super(el);\n this.swiperEl = this.$find('[data-blog=\"Blog\"]');\n this.swiper = null;\n this.swiperEl && this.constructSwiper();\n }\n\n constructSwiper() {\n this.swiper = new Swiper(this.swiperEl, {\n watchOverflow: true,\n slidesPerView: 1,\n spaceBetween: 30,\n loop: true,\n breakpoints: {\n 450: {\n slidesPerView: 1,\n },\n 750: {\n slidesPerView: 2,\n },\n 1100: {\n slidesPerView: 3,\n },\n 1400: {\n slidesPerView: 4,\n }\n },\n navigation: {\n nextEl: '[data=\"HomeBlogListBtnNext\"]',\n prevEl: '[data=\"HomeBlogListBtnPrev\"]',\n },\n // If we need pagination\n pagination: {\n el: '[data=\"HomeBlogListPagination\"]',\n clickable: true\n },\n });\n }\n}\n"],"file":"blog.min.js"}