1"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[1258],{81258:(t,s,e)=>{e.r(s),e.d(s,{default:()=>p});var a=e(31044),o=e(27693),i=e.n(o),n=e(4797),r=e(77382);const l={name:"nx-module-epg",components:{NxIcon:n.Z,swiper:a.swiper,swiperSlide:a.swiperSlide,dayjs:i()},directives:{swiper:a.directive},props:{cards:{type:Array}},mounted(){const t=this.cards.findIndex(t=>t.isLive);this.$refs.mySwiperSchedule.swiper.slideTo(t)},data:()=>({swiperOption:{spaceBetween:8,slidesPerView:"auto",navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}}),computed:{...(0,r.Se)(["brickConfig"])},methods:{formatDate:t=>i()(t).format("HH:mm")}},p=(0,e(40810).Z)(l,function(){var t=this,s=t._self._c;return t._self._setupProxy,s("swiper",{ref:"mySwiperSchedule",staticClass:"module-epg-wrapper swiper",attrs:{options:t.swiperOption}},[t._l(t.cards,function(e,a){return s("swiper-slide",{key:e.id,staticClass:"schedule-show",class:{current:e.isLive}},[s("span",{staticClass:"startDate",class:t.brickConfig.ott.moduleEpg.startDate,domProps:{textContent:t._s(t.formatDate(e.startDate.date))}}),t._v(" "),s("span",{staticClass:"endDate",class:t.brickConfig.ott.moduleEpg.endDate},[t._v(" - "),s("span",{domProps:{textContent:t._s(t.formatDate(e.endDate.date))}})]),t._v(" "),s(e.show?.url?"a":"div",{tag:"component",staticClass:"block",class:t.brickConfig.ott.moduleEpg.block,attrs:{href:e.show?.url,title:e.show?.name}},[s("div",{staticClass:"name",class:t.brickConfig.ott.moduleEpg.name,domProps:{textContent:t._s(e.show.name)}}),t._v(" "),s("span",{staticClass:"episodeName",class:t.brickConfig.ott.moduleEpg.episodeName,domProps:{textContent:t._s(e.episodeName)}})])],1)}),t._v(" "),s("div",{staticClass:"swiper-button-prev",attrs:{slot:"button-prev"},slot:"button-prev"},[s("nx-icon",{attrs:{icon:"arrow"}}),s("span",{staticClass:"sr-only"},[t._v("Anterior")])],1),t._v(" "),s("div",{staticClass:"swiper-button-next",attrs:{slot:"button-next"},slot:"button-next"},[s("nx-icon",{attrs:{icon:"arrow"}}),s("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.