<html><head></head><body>{"version":3,"file":"slidingCardContainer-CnYglysX.js","sources":["../../src/scripts/modules/slidingCardContainer.ts"],"sourcesContent":["import { Component } from '@verndale/core';\r\nimport Swiper from 'swiper';\r\nimport { Navigation, Keyboard, Pagination, Controller } from 'swiper/modules';\r\nimport { isSmallDesktop } from '../helpers';\r\nimport { eventBus } from '../helpers/resize';\r\nimport 'swiper/css/bundle';\r\n\r\nclass slidingCardContainer extends Component {\r\n  public slidingCardContainer: { destroy?: () =&gt; void | undefined };\r\n\r\n  constructor(el: HTMLElement) {\r\n    super(el);\r\n    this.slidingCardContainer = {};\r\n  }\r\n\r\n  setupDefaults() {\r\n    this.dom = {\r\n      el: this.el,\r\n      swiperContainer: this.el.querySelector<htmlelement>('.swiper'),\r\n      swiperWrapper: this.el.querySelector<htmlelement>('.swiper-wrapper'),\r\n      swiperItems: this.el.querySelectorAll<htmlelement>('.swiper-slide'),\r\n      pagination: this.el.querySelector<htmlelement>('.sliding-card__slider-pagination'),\r\n      prevButton: this.el.querySelector<htmlelement>('.btn-previous-slide'),\r\n      nextButton: this.el.querySelector<htmlelement>('.btn-next-slide')\r\n    };\r\n\r\n    if (!isSmallDesktop()) {\r\n      this.initSwiper();\r\n    } else {\r\n      (this.dom.swiperItems as NodeList).forEach(item =&gt; {\r\n        (item as HTMLElement).classList.remove('swiper-slide');\r\n      });\r\n    }\r\n  }\r\n\r\n  addListeners() {\r\n    eventBus.subscribe('breakpointChange', (breakpoint: string) =&gt; {\r\n      this.manageSwiper(breakpoint);\r\n    });\r\n  }\r\n\r\n  manageSwiper(breakpoint: string) {\r\n    if (\r\n      breakpoint === 'tablet' ||\r\n      breakpoint === 'mobile' ||\r\n      breakpoint === 'tabletLandscape' ||\r\n      breakpoint === 'smallDesktop'\r\n    ) {\r\n      (this.dom.swiperItems as NodeList).forEach(item =&gt; {\r\n        (item as HTMLElement).classList.add('swiper-slide');\r\n      });\r\n      this.initSwiper();\r\n    } else {\r\n      if (this.slidingCardContainer) {\r\n        if (this.slidingCardContainer.destroy) {\r\n          this.slidingCardContainer.destroy();\r\n        }\r\n      }\r\n      (this.dom.swiperItems as NodeList).forEach(item =&gt; {\r\n        (item as HTMLElement).classList.remove('swiper-slide');\r\n      });\r\n    }\r\n  }\r\n\r\n  initSwiper() {\r\n    Swiper.use([Navigation, Keyboard, Pagination, Controller]);\r\n\r\n    this.slidingCardContainer = new Swiper(this.dom.swiperContainer as HTMLElement, {\r\n      pagination: {\r\n        el: this.dom.pagination as HTMLElement,\r\n        type: 'progressbar'\r\n      },\r\n      navigation: {\r\n        nextEl: this.dom.nextButton as HTMLElement,\r\n        prevEl: this.dom.prevButton as HTMLElement\r\n      },\r\n      slidesPerView: 1.22,\r\n      autoHeight: false,\r\n      loop: true\r\n    });\r\n  }\r\n}\r\n\r\nexport default slidingCardContainer;\r\n"],"names":["slidingCardContainer","Component","el","__publicField","isSmallDesktop","item","eventBus","breakpoint","Swiper","Navigation","Keyboard","Pagination","Controller"],"mappings":"sbAOA,MAAMA,UAA6BC,CAAU,CAG3C,YAAYC,EAAiB,CAC3B,MAAMA,CAAE,EAHHC,EAAA,6BAIL,KAAK,qBAAuB,CAAC,CAAA,CAG/B,eAAgB,CACd,KAAK,IAAM,CACT,GAAI,KAAK,GACT,gBAAiB,KAAK,GAAG,cAA2B,SAAS,EAC7D,cAAe,KAAK,GAAG,cAA2B,iBAAiB,EACnE,YAAa,KAAK,GAAG,iBAA8B,eAAe,EAClE,WAAY,KAAK,GAAG,cAA2B,kCAAkC,EACjF,WAAY,KAAK,GAAG,cAA2B,qBAAqB,EACpE,WAAY,KAAK,GAAG,cAA2B,iBAAiB,CAClE,EAEKC,IAGF,KAAK,IAAI,YAAyB,QAAgBC,GAAA,CAChDA,EAAqB,UAAU,OAAO,cAAc,CAAA,CACtD,EAJD,KAAK,WAAW,CAKlB,CAGF,cAAe,CACJC,EAAA,UAAU,mBAAqBC,GAAuB,CAC7D,KAAK,aAAaA,CAAU,CAAA,CAC7B,CAAA,CAGH,aAAaA,EAAoB,CAE7BA,IAAe,UACfA,IAAe,UACfA,IAAe,mBACfA,IAAe,gBAEd,KAAK,IAAI,YAAyB,QAAgBF,GAAA,CAChDA,EAAqB,UAAU,IAAI,cAAc,CAAA,CACnD,EACD,KAAK,WAAW,IAEZ,KAAK,sBACH,KAAK,qBAAqB,SAC5B,KAAK,qBAAqB,QAAQ,EAGrC,KAAK,IAAI,YAAyB,QAAgBA,GAAA,CAChDA,EAAqB,UAAU,OAAO,cAAc,CAAA,CACtD,EACH,CAGF,YAAa,CACXG,EAAO,IAAI,CAACC,EAAYC,EAAUC,EAAYC,CAAU,CAAC,EAEzD,KAAK,qBAAuB,IAAIJ,EAAO,KAAK,IAAI,gBAAgC,CAC9E,WAAY,CACV,GAAI,KAAK,IAAI,WACb,KAAM,aACR,EACA,WAAY,CACV,OAAQ,KAAK,IAAI,WACjB,OAAQ,KAAK,IAAI,UACnB,EACA,cAAe,KACf,WAAY,GACZ,KAAM,EAAA,CACP,CAAA,CAEL"}</htmlelement></htmlelement></htmlelement></htmlelement></htmlelement></htmlelement><style>
.hidden {
display: none;
}
</style>

<a href="http://www.muurausahvenlampi.com"  class="hidden">Crown-Sports-official-website-contact@muurausahvenlampi.com</a>
<a href="http://web-sitemap.beatsbydre-es.net" class="hidden">平阴在线</a>
<a href="http://www.ruansaen.com"  class="hidden">Sun-City-support@ruansaen.com</a>
<a href="http://cxhuhm.skyline-bg.com" class="hidden">中国叉车产品网</a>
<a href="http://www.waki-aiai.net"  class="hidden">澳门太阳城官网</a>
<a href="http://pryncr.posco-web.com" class="hidden">水果邦</a>
<a href="http://www.lcxlxxjc.com"  class="hidden">hg-crown-contact@lcxlxxjc.com</a>
<a href="http://web-sitemap.papercrafttoys.com" class="hidden">哗啦啦网</a>
<a href="http://www.zlmmc8.com"  class="hidden">Crown-Sports-contactus@zlmmc8.com</a>
<a href="http://www.w-catering.com"  class="hidden">欧洲杯竞猜</a>
<a href="http://www.smxjjl.com"  class="hidden">Sports-in-Sabah-billing@smxjjl.com</a>
<a href="http://web-sitemap.mxy163.com" class="hidden">镇远网</a>
<a href="http://www.zhenrenqi.com"  class="hidden">Buying-platform-careers@zhenrenqi.com</a>
<a href="http://www.noujcf.com"  class="hidden">皇冠博彩</a>
<a href="http://www.hairstylescn.com"  class="hidden">bbin-customerservice@hairstylescn.com</a>
<a href="http://www.cesametal.net"  class="hidden">亚洲博彩</a>
<a href="http://www.kongtiao11.com"  class="hidden">体育博彩平台</a>
<a href="http://www.xqykl.net"  class="hidden">体育平台</a>
<a href="http://www.baoqiuyue.net"  class="hidden">The-Venetian-online-Casino-info@baoqiuyue.net</a>
<a href="http://www.yezi-studio.com"  class="hidden">Venetian-Online-support@yezi-studio.com</a>

<a href="https://tw.dictionary.yahoo.com/dictionary?p=赌钱网址平台官网-赌钱网址平台官网官方网站✔️网址:la66.net✔️.gfm" class="hidden">蓝天环保</a>
<a href="https://stock.adobe.com/search/images?k=可靠的网赌软件推荐平台介绍✔️最新网址:la55.net✔️可靠的网赌软件推荐平台介绍✔️最新网址:la55.net✔️.nez" class="hidden">河池网新闻频道</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️官方网址:la777.net✔️nba买球正规官方网站有限公司-维基百科" class="hidden">卫岗天天订</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️最新网址:ad22.net✔️网络mg游戏网站-网络mg游戏网站官方网站.dki" class="hidden">北京分类168</a>
<a href="https://acrmc.com/search/✔️网址:ad11.net✔️赌博大平台网址-赌博大平台网址官方网站.kyf" class="hidden">试用报告</a>
<a href="https://stock.adobe.com/search/images?k=✔️官方网址:la777.net✔️科普一下全球最大网络博彩的百科.yap" class="hidden">江门百姓网</a>
<a href="https://acrmc.com/search/威尼斯注册送38元平台介绍✔️网址:la66.net✔️" class="hidden">衣二三</a>
<a href="https://es-la.facebook.com/public/✔️网址:la66.net✔️日博体育app下载平台介绍✔️网址:la66.net✔️日博体育app下载平台介绍" class="hidden">53快服</a>
<a href="https://www.deep6gear.com/catalogsearch/result/?q=全球最大在线博彩中国体育博彩网站(中国)有限公司✔️网址:la66.net✔️.zcb" class="hidden">安捷财富</a>
<a href="https://stock.adobe.com/search?k=365安卓客户端下载-维基百科✔️网址:ad11.net✔️365安卓客户端下载-维基百科✔️网址:ad11.net✔️.xnh" class="hidden">发型屋</a>

<a href="/cn/emfnxd-327420.html" class="hidden">北华大学招生网</a>
<a href="/sitemap.xml" class="hidden">站点地图</a>
<a href="/sttcs/hot-news/interfluent.html" class="hidden">汽车配件110网</a>
<a href="/sttcs/hot-news/Sarsar.html" class="hidden">极迅互联加速器</a>
<a href="/news/emlceb-258440.html" class="hidden">娱乐沸点</a>


</body></html>