/*

const swiper = new Swiper('.swiper', {

  // Add zoom module

  modules: [Zoom, Navigation, Pagination],



  // Enable the built-in zoom

  zoom: {

    maxRatio: 3, // Set the maximum zoom level

    minRatio: 1, // Set the minimum zoom level

  },



  // Optional: Add navigation buttons

  navigation: {

    nextEl: '.swiper-button-next',

    prevEl: '.swiper-button-prev',

  },



  // Optional: Add pagination

  pagination: {

    el: '.swiper-pagination',

    clickable: true,

  },

});

*/



function swiper_byzoom(Id) {

  var swiper2 = app.swiper.create(Id, {

  modules: [Zoom, Navigation],

  zoom: {

    maxRatio: 4, // Set the maximum zoom level

    minRatio: 1, // Set the minimum zoom level

  },

    speed: 400,

    spaceBetween: 10,

    slidesPerView: 1,

    autoplay: {

      delay: 4000,

      disableOnInteraction: false

    }

  });

}

function init_swiper(Id) {

  var swiper1 = app.swiper.create(Id, {

    pagination: {

      el: '.swiper-pagination',

      type: 'bullets',

    },

    speed: 400,

    spaceBetween: 10,

    slidesPerView: 1,

    autoplay: {

      delay: 4000,

      disableOnInteraction: false

    }

  });

}