import { cloneDeep as n } from "lodash";
const r = "2.0.0", s = (o) => {
  const e = n(o);
  return e.version !== r ? {
    carousel: {
      photoGallery: e.photoGallery,
      pagination: e.pagination,
      freeMode: e.freeMode,
      reverseDirection: e.reverseDirection,
      slidesPerView: e.slidesPerView,
      speed: e.speed,
      spaceBetween: e.spaceBetween,
      autoplay: e.autoplay,
      pauseOnMouseEnter: e.pauseOnMouseEnter,
      delay: e.delay,
      paginationType: e.paginationType,
      rewind: e.rewind,
      loop: e.loop,
      grabCursor: e.grabCursor,
      effect: e.effect,
      stopOnLastSlide: e.stopOnLastSlide,
      roundLengths: e.roundLengths,
      direction: e.direction
    },
    version: r
  } : o;
};
export {
  r as VERSION,
  s as upgradeCarousel
};
