{"version":3,"sources":["../src/js/index.js"],"names":["galleryTop","Swiper","effect","loop","simulateTouch","galleryThumbs","spaceBetween","centeredSlides","slideToClickedSlide","slidesPerView","loopedSlides","nextButton","prevButton","onSlideChangeStart","swiper","console","log","realIndex","slideTo"],"mappings":";;AAAA,CAAC,YAAM;AACH;AACA,MAAIA,UAAU,GAAG,IAAIC,MAAJ,CAAW,cAAX,EAA2B;AACxCC,IAAAA,MAAM,EAAE,MADgC;AAExC;AACAC,IAAAA,IAAI,EAAE,IAHkC;AAIxCC,IAAAA,aAAa,EAAE;AAJyB,GAA3B,CAAjB;AAMA,MAAIC,aAAa,GAAG,IAAIJ,MAAJ,CAAW,iBAAX,EAA8B;AAC9CE,IAAAA,IAAI,EAAE,IADwC;AAE9CG,IAAAA,YAAY,EAAE,EAFgC;AAG9CC,IAAAA,cAAc,EAAE,IAH8B;AAI9CC,IAAAA,mBAAmB,EAAE,IAJyB;AAK9CC,IAAAA,aAAa,EAAE,CAL+B;AAM9CC,IAAAA,YAAY,EAAE,CANgC;AAO9C;AACAC,IAAAA,UAAU,EAAE,qBARkC;AAS9CC,IAAAA,UAAU,EAAE,qBATkC;AAU9CC,IAAAA,kBAAkB,EAAE,4BAAUC,MAAV,EAAkB;AAClCC,MAAAA,OAAO,CAACC,GAAR,CAAYF,MAAM,CAACG,SAAnB;AACAjB,MAAAA,UAAU,CAACkB,OAAX,CAAmBJ,MAAM,CAACG,SAAP,GAAmB,CAAtC,EAAyC,GAAzC;AACH;AAb6C,GAA9B,CAApB,CARG,CAuBH;AACA;AACH,CAzBD","sourcesContent":["(() => {\n // features\n let galleryTop = new Swiper('.gallery-top', {\n effect: 'fade',\n // spaceBetween: 10,\n loop: true,\n simulateTouch: false,\n });\n let galleryThumbs = new Swiper('.gallery-thumbs', {\n loop: true,\n spaceBetween: 50,\n centeredSlides: true,\n slideToClickedSlide: true,\n slidesPerView: 6,\n loopedSlides: 8,\n // simulateTouch: false,\n nextButton: '.swiper-button-next',\n prevButton: '.swiper-button-prev',\n onSlideChangeStart: function (swiper) {\n console.log(swiper.realIndex);\n galleryTop.slideTo(swiper.realIndex + 1, 800)\n }\n });\n // galleryTop.params.control = galleryThumbs;\n // galleryThumbs.params.control = galleryTop;\n})();"],"file":"index.js"}