{"version":3,"sources":["components/home/projects/projects.js"],"names":["HomepageProjects","Component","constructor","el","swiperImgEl","$find","swiperInfoEl","swiperImg","swiperInfo","constructSwipers","Swiper","slidesPerView","effect","fadeEffect","crossFade","pagination","clickable","navigation","nextEl","prevEl","controller","control"],"mappings":"aAAA,KAAMA,CAAAA,gBAAN,QAA+BC,CAAAA,SAAU,CACrCC,WAAW,CAACC,EAAD,CAAK,CACZ,MAAMA,EAAN,EACA,KAAKC,WAAL,CAAmB,KAAKC,KAAL,CAAW,uCAAX,CAAnB,CACA,KAAKC,YAAL,CAAoB,KAAKD,KAAL,CAAW,wCAAX,CAApB,CACA,KAAKE,SAAL,CAAiB,IAAjB,CACA,KAAKC,UAAL,CAAkB,IAAlB,CAEA,KAAKJ,WAAL,EAAoB,KAAKE,YAAzB,EAAyC,KAAKG,gBAAL,EAC5C,CAEDA,gBAAgB,EAAI,CAChB,KAAKD,UAAL,CAAkB,GAAIE,CAAAA,MAAJ,CAAW,KAAKJ,YAAhB,CAA8B,CAC5CK,aAAa,CAAE,CAD6B,CAE5CC,MAAM,CAAE,MAFoC,CAG5CC,UAAU,CAAE,CACRC,SAAS,CAAE,IADH,CAHgC,CAA9B,CAAlB,CAOA,KAAKP,SAAL,CAAiB,GAAIG,CAAAA,MAAJ,CAAW,KAAKN,WAAhB,CAA6B,CAC1CO,aAAa,CAAE,CAD2B,CAG1CI,UAAU,CAAE,CACRZ,EAAE,CAAE,mBADI,CAERa,SAAS,CAAE,IAFH,CAH8B,CAO1CC,UAAU,CAAE,CACRC,MAAM,CAAE,oBADA,CAERC,MAAM,CAAE,oBAFA,CAP8B,CAA7B,CAAjB,CAaA,KAAKX,UAAL,CAAgBY,UAAhB,CAA2BC,OAA3B,CAAqC,KAAKd,SAA1C,CACA,KAAKA,SAAL,CAAea,UAAf,CAA0BC,OAA1B,CAAoC,KAAKb,UAC5C,CAlCoC","sourcesContent":["class HomepageProjects extends Component {\n constructor(el) {\n super(el);\n this.swiperImgEl = this.$find('[data-swiper=\"HomepageProjectsImg\"]');\n this.swiperInfoEl = this.$find('[data-swiper=\"HomepageProjectsInfo\"]');\n this.swiperImg = null;\n this.swiperInfo = null;\n\n this.swiperImgEl && this.swiperInfoEl && this.constructSwipers();\n }\n\n constructSwipers () {\n this.swiperInfo = new Swiper(this.swiperInfoEl, {\n slidesPerView: 1,\n effect: 'fade',\n fadeEffect: {\n crossFade: true\n }\n })\n this.swiperImg = new Swiper(this.swiperImgEl, {\n slidesPerView: 1,\n // effect: 'fade',\n pagination: {\n el: '[data-pagination]',\n clickable: true,\n },\n navigation: {\n nextEl: '[data-button-next]',\n prevEl: '[data-button-prev]',\n },\n })\n\n this.swiperInfo.controller.control = this.swiperImg;\n this.swiperImg.controller.control = this.swiperInfo;\n }\n}"],"file":"projects.min.js"}