(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[178],{"36bp":function(t,e,n){"use strict";n("Vy3H")},"4J20":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("6dQ1");function s(){return!Object(i.b)()&&("ontouchstart"in window||navigator.maxTouchPoints>0)}},"KHd+":function(t,e,n){"use strict";function i(t,e,n,i,s,r,a,o){var d,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),a?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),s&&s.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=d):s&&(d=o?function(){s.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:s),d)if(l.functional){l._injectStyles=d;var u=l.render;l.render=function(t,e){return d.call(e),u(t,e)}}else{var c=l.beforeCreate;l.beforeCreate=c?[].concat(c,d):[d]}return{exports:t,options:l}}n.d(e,"a",(function(){return i}))},Vy3H:function(t,e,n){var i=n("LboF"),s=n("WbZt");"string"==typeof(s=s.__esModule?s.default:s)&&(s=[[t.i,s,""]]);var r={insert:"head",singleton:!1};i(s,r);t.exports=s.locals||{}},WbZt:function(t,e,n){"use strict";n.r(e);var i=n("JPst"),s=n.n(i)()(!1);s.push([t.i,".tb-w-slider[data-v-afc9df9e]{\n  position:static\n}\n.tb-w-slider__prev[data-v-afc9df9e],.tb-w-slider__next[data-v-afc9df9e]{\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  transition:opacity .2s\n}\n.tb-w-slider.max-medium.has-touch .tb-w-slider__prev[data-v-afc9df9e],.tb-w-slider.max-medium.has-touch .tb-w-slider__next[data-v-afc9df9e]{\n  display:none\n}\n.tb-w-slider__prev.swiper-button-disabled[data-v-afc9df9e],.tb-w-slider__next.swiper-button-disabled[data-v-afc9df9e]{\n  display:none\n}\n.tb-w-slider__prev[disabled][data-v-afc9df9e],.tb-w-slider__next[disabled][data-v-afc9df9e]{\n  cursor:not-allowed;\n  opacity:0\n}\n.tb-w-slider__prev[data-v-afc9df9e]{\n  left:0;\n  right:auto;\n  transform:translate(-50%, -50%)\n}\n.tb-w-slider__next[data-v-afc9df9e]{\n  left:auto;\n  right:0;\n  transform:translate(50%, -50%)\n}",""]),e.default=s},qV7p:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return s}));const i={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,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"relative"},[n("swiper",{ref:"mySwiper",staticClass:"tb-w-slider",class:{"extra-small":t.$eq.xs,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?n("div",{staticClass:"tb-w-slider__prev",attrs:{slot:"button-prev",disabled:t.swiper.isBeginning},slot:"button-prev"},[n("tb-w-icon-button",{attrs:{icon:"chevron-left",size:"1",color:"gray-600"},on:{click:function(e){return t.swiper.slidePrev()}}})],1):t._e(),t._v(" "),t.showButtons?n("div",{staticClass:"tb-w-slider__next",attrs:{slot:"button-next",disabled:t.swiper.isEnd},slot:"button-next"},[n("tb-w-icon-button",{attrs:{icon:"chevron-right",size:"1",color:"gray-600"},on:{click:function(e){return t.swiper.slideNext()}}})],1):t._e()],2)],1)};i._withStripped=!0;var s=n("qV7p"),r=n("cZ8B"),a=n("4J20"),o={name:"TbWSlider",components:{Swiper:r.Swiper},props:{itemSize:{type:String,default:"medium"},showButtonsAtSlideCount:{type:Number,default:4}},eq:{breakpoints:{xs:{minWidth:s.a.xs},small:{minWidth:520},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>=this.showButtonsAtSlideCount},touchIsEnabled:()=>Object(a.a)()}},d=(n("36bp"),n("KHd+")),l=Object(d.a)(o,i,[],!1,null,"afc9df9e",null);e.default=l.exports}}]);