(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[238],{"4J20":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i("6dQ1");function s(){return!Object(n.b)()&&("ontouchstart"in window||navigator.maxTouchPoints>0)}},B4Tn:function(t,e,i){"use strict";i("FF1E")},FF1E:function(t,e,i){var n=i("LboF"),s=i("c9tC");"string"==typeof(s=s.__esModule?s.default:s)&&(s=[[t.i,s,""]]);var r={insert:"head",singleton:!1};n(s,r);t.exports=s.locals||{}},c9tC:function(t,e,i){"use strict";i.r(e);var n=i("JPst"),s=i.n(n)()(!1);s.push([t.i,".tb-w-slider[data-v-7278316a]{\n  position:static\n}\n.tb-w-slider__prev[data-v-7278316a],.tb-w-slider__next[data-v-7278316a]{\n  display:block;\n  position:absolute;\n  top:50%;\n  padding:.5rem;\n  border-radius:50%;\n  background-color:#fff;\n  border:1px solid #DEE1E8;\n  z-index:1\n}\n.tb-w-slider.max-medium.has-touch .tb-w-slider__prev[data-v-7278316a],.tb-w-slider.max-medium.has-touch .tb-w-slider__next[data-v-7278316a]{\n  display:none\n}\n.tb-w-slider__prev.swiper-button-disabled[data-v-7278316a],.tb-w-slider__next.swiper-button-disabled[data-v-7278316a]{\n  display:none\n}\n.tb-w-slider__prev[data-v-7278316a]{\n  left:0;\n  right:auto;\n  transform:translate(-50%, -50%)\n}\n.tb-w-slider__next[data-v-7278316a]{\n  left:auto;\n  right:0;\n  transform:translate(50%, -50%)\n}",""]),e.default=s},qV7p:function(t,e,i){"use strict";i.d(e,"a",(function(){return n})),i.d(e,"b",(function(){return s}));const n={xs:382,sm:608,md:736,lg:992,xl:1248},s={xs:375,sm:640,md:768,lg:1024,xl:1280}},uZfI:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"relative"},[i("swiper",{ref:"mySwiper",staticClass:"tb-w-slider",class:{small:t.$eq.small,medium:t.$eq.medium,"max-medium":t.$eq.maxMedium,large:t.$eq.large,"tb-w-slider--large":"large"===t.itemSize,"has-touch":t.touchIsEnabled},attrs:{options:t.swiperOptions}},[t._t("default"),t._v(" "),t.showButtons?i("div",{staticClass:"tb-w-slider__prev",attrs:{slot:"button-prev"},slot:"button-prev"},[i("tb-w-icon-button",{attrs:{icon:"chevron-left",size:"1",color:"gray-600",disabled:t.swiper.isBeginning},on:{click:function(e){return t.swiper.slidePrev()}}})],1):t._e(),t._v(" "),t.showButtons?i("div",{staticClass:"tb-w-slider__next",attrs:{slot:"button-next"},slot:"button-next"},[i("tb-w-icon-button",{attrs:{icon:"chevron-right",size:"1",color:"gray-600",disabled:t.swiper.isEnd},on:{click:function(e){return t.swiper.slideNext()}}})],1):t._e()],2)],1)};n._withStripped=!0;var s=i("qV7p"),r=i("chKg"),a=i("4J20"),o={name:"TbWSlider",components:{Swiper:r.Swiper},props:{itemSize:{type:String,default:"medium"}},eq:{breakpoints:{small:{minWidth:s.a.xs},medium:{minWidth:s.a.md},maxMedium:{maxWidth:s.a.md-1},large:{minWidth:s.a.lg}}},data:()=>({swiper:null,numberOfSlides:0,swiperOptions:{slidesPerView:"auto",spaceBetween:16,watchOverflow:!0,observer:!0}}),created(){const t=this;this.swiperOptions.on={init(){t.onSwiperInit(this)},observerUpdate(){t.updateNumberOfSlides(this)}}},methods:{onSwiperInit(t){this.swiper=t,this.updateNumberOfSlides(t)},updateNumberOfSlides(t){this.numberOfSlides=t.slidesGrid.length}},computed:{showButtons(){return this.numberOfSlides>3},touchIsEnabled:()=>Object(a.a)()}},d=(i("B4Tn"),i("KHd+")),l=Object(d.a)(o,n,[],!1,null,"7278316a",null);l.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-w-slider.vue";e.default=l.exports}}]);