{"version":3,"file":"advantages-cats.d5a29e57.js","sources":["../../src/components/advantages-cats.ts"],"sourcesContent":["import { defineComponent } from \"vue\";\r\nimport common from \"../core/core\";\r\n\r\nimport { Swiper, SwiperSlide } from \"swiper/vue\";\r\nimport { Swiper as SwiperCreator } from \"swiper\";\r\n\r\nexport default defineComponent({\r\n  components: {\r\n    Swiper,\r\n    SwiperSlide,\r\n  },\r\n  data() {\r\n    return {\r\n      featuresSwiper: null,\r\n      featuresTabIndex: 0,\r\n    };\r\n  },\r\n  mounted() {\r\n    this.featuresSwiper = new SwiperCreator(this.$refs.swiperContainer as HTMLElement, {\r\n      slidesPerView: \"auto\",\r\n      allowTouchMove: false,\r\n    });\r\n  },\r\n  computed: {},\r\n  methods: {\r\n    changeFeaturesTab(index: number) {\r\n      this.featuresTabIndex = index;\r\n      this.featuresSwiper.slideTo(index);\r\n    },\r\n  },\r\n  mixins: [common],\r\n});\r\n"],"names":["advantagesCats","defineComponent","Swiper","SwiperSlide","SwiperCreator","index","common"],"mappings":"6dAMA,MAAAA,EAAeC,EAAgB,CAC7B,WAAY,CACV,OAAAC,EACA,YAAAC,CACF,EACA,MAAO,CACE,MAAA,CACL,eAAgB,KAChB,iBAAkB,CAAA,CAEtB,EACA,SAAU,CACR,KAAK,eAAiB,IAAIC,EAAc,KAAK,MAAM,gBAAgC,CACjF,cAAe,OACf,eAAgB,EAAA,CACjB,CACH,EACA,SAAU,CAAC,EACX,QAAS,CACP,kBAAkBC,EAAe,CAC/B,KAAK,iBAAmBA,EACnB,KAAA,eAAe,QAAQA,CAAK,CACnC,CACF,EACA,OAAQ,CAACC,CAAM,CACjB,CAAC"}