1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4128],{4128:function(t,e,s){s.r(e),s.d(e,{default:function(){return l}});var o=s(31044),a=s(27693),n=s.n(a),r=s(4534),i=s(77382),p={name:"nx-module-epg",components:{NxIcon:r.Z,swiper:o.swiper,swiperSlide:o.swiperSlide,dayjs:n()},directives:{swiper:o.directive},props:{cards:{type:Array}},mounted(){const t=this.cards.findIndex((t=>t.isLive));this.$refs.mySwiperSchedule.swiper.slideTo(t)},data(){return{swiperOption:{spaceBetween:8,slidesPerView:"auto",navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}}},computed:{...(0,i.Se)(["brickConfig"])},methods:{formatDate(t){return n()(t).format("HH:mm")}}},l=(0,s(40810).Z)(p,(function(){var t=this,e=t._self._c;return t._self._setupProxy,e("swiper",{ref:"mySwiperSchedule",staticClass:"module-epg-wrapper swiper",attrs:{options:t.swiperOption}},[t._l(t.cards,(function(s,o){return e("swiper-slide",{key:s.id,staticClass:"schedule-show",class:{current:s.isLive}},[e("span",{staticClass:"startDate",class:t.brickConfig.ott.moduleEpg.startDate,domProps:{textContent:t._s(t.formatDate(s.startDate.date))}}),t._v(" "),e("span",{staticClass:"endDate",class:t.brickConfig.ott.moduleEpg.endDate},[t._v(" - "),e("span",{domProps:{textContent:t._s(t.formatDate(s.endDate.date))}})]),t._v(" "),e(s.show?.url?"a":"div",{tag:"component",staticClass:"block",class:t.brickConfig.ott.moduleEpg.block,attrs:{href:s.show?.url,title:s.show?.name}},[e("div",{staticClass:"name",class:t.brickConfig.ott.moduleEpg.name,domProps:{textContent:t._s(s.show.name)}}),t._v(" "),e("span",{staticClass:"episodeName",class:t.brickConfig.ott.moduleEpg.episodeName,domProps:{textContent:t._s(s.episodeName)}})])],1)})),t._v(" "),e("div",{staticClass:"swiper-button-prev",attrs:{slot:"button-prev"},slot:"button-prev"},[e("nx-icon",{attrs:{icon:"arrow"}}),e("span",{staticClass:"sr-only"},[t._v("Anterior")])],1),t._v(" "),e("div",{staticClass:"swiper-button-next",attrs:{slot:"button-next"},slot:"button-next"},[e("nx-icon",{attrs:{icon:"arrow"}}),e("span",{staticClass:"sr-only"},[t._v("Siguiente")])],1)],2)}),[],!1,null,null,null).exports}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.