PageSourceSearch

https://www.881903.com/static/js/timetable.eb62c90f.js

js 881903.com collected 2026-10-02 04:52:18 UTC 22,891 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkVueApp"]=self["webpackChunkVueApp"]||[]).push([[6488],{51095:function(e,t,i){i.d(t,{A:function(){return m}});var a=function(){var e=this,t=e._self._c;return t("div",{ref:"pageHeader",staticClass:"page-header clearfix"},[t("h1",{staticClass:"page-header__title clearfix"},[e._t("default")],2),e.hasAdvert?t("div",{staticClass:"page-header__advert-wrapper advert-wrapper",class:{"page-header__advert-wrapper--sticky":e.isStickyVisible}},[t("AdvertSlot",e._b({ref:"banner",staticClass:"page-header__advert",class:e.emptySlot?"no-header":null,attrs:{targeting:e.adTargeting}},"AdvertSlot",e.adUnit,!1))],1):e._e()])},s=[],r=i(64564),n={name:"PageHeader",props:{adUnit:{type:Object,default:()=>null},adSticky:{type:Boolean,default:!1},adTargeting:{type:Object,default:null}},data(){return{isStickyVisible:!1,listenerId:null,stickyAdOffsetY:0}},computed:{hasAdvert(){return null!==this.adUnit},attrs(){return{title:{xs12:!this.hasAdvert||!this.desktop,lg2:this.hasAdvert&&this.desktop},advert:{xs12:!this.desktop,lg10:this.desktop}}},emptySlot(){if(void 0===this.$slots.default)return!1;const e=this.$slots.default[0].text.trim();return null===e||0===e.length}},mounted(){this.adSticky&&this.hasAdvert&&(this.listenerId=(0,r.U8)((()=>this.handleScroll())))},beforeDestroy(){(0,r.aw)(this.listenerId)},methods:{handleScroll(){this.isStickyVisible=window.pageYOffset>this.getStickyAdOffsetY()},getStickyAdOffsetY(){const e=this.$refs.pageHeader,t=e.getBoundingClientRect().top,i=e.ownerDocument.defaultView.pageYOffset;return t+i},refreshAds(){this.$gpt.refreshAdvert(this.$refs.banner.id)}}},l=n,o=i(81656),c=(0,o.A)(l,a,s,!1,null,"61e020ed",null),m=c.exports},52307:function(e,t,i){i.r(t),i.d(t,{default:function(){return oe}});var a=i(28160),s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"timetable-page"},[t("PageHeader",{ref:"title",staticClass:"timetable-page__section",attrs:{"ad-unit":e.ads.header}},[e._v(" "+e._s(e.$t("pageHeader.timetable"))+" ")]),t("div",{ref:"sticky",class:"timetable-page__sticky"+(e.isStickyVisible?" timetable-page__sticky--visible":"")},[t("ChannelSelect",{attrs:{"active-channel":e.activeChannel},on:{"switch-channel":function(t){return e.switchChannel(t)}}}),t("WeekdaySelect",{attrs:{"active-weekday":e.activeWeekday,"schedule-list":e.timetable[e.activeChannel]},on:{"update-weekday":function(t){return e.updateWeekday(t)}}}),t(a.A,{staticClass:"timetable-page__option-container",attrs:{"justify-center":""}},[t("SvgIcon",{staticClass:"timetable-page__option-button",attrs:{name:"gridview",size:24,link:{href:e.$router.resolve({name:"timetable",params:{channel:e.activeChannelStr},hash:`#${e.activeWeekdayNum}`}).href},disabled:!e.single,"active-parent":!e.single},on:{click:function(t){e.single&&e.setTextOnly(!1)}}}),t("hr",{staticClass:"timetable-page__option-separator"}),t("SvgIcon",{staticClass:"timetable-page__option-btn",attrs:{name:"listview",size:24,link:{href:e.$router.resolve({name:"timetableList",params:{channel:e.activeChannelStr},hash:`#${e.activeWeekdayNum}`}).href},disabled:e.single,"active-parent":e.single},on:{click:function(t){e.single||e.setTextOnly(!0)}}})],1)],1),t("ProgramSchedule",{ref:"timetable",attrs:{"active-channel":e.activeChannel,"active-weekday":e.activeWeekday,advert:e.single?null:e.ads.schedule,"schedule-list":e.timetable[e.activeChannel],full:e.displayFullSchedule,single:e.single},on:{"ga4:click-image":function(t){return e.programTitleOnClick(t,"thumbnail")},"ga:program-title":function(t){return e.programTitleOnClick(t,"program")},"ga:host":function(t){return e.hostOnClick(t)},"ga:listen-btn":function(t){return e.listenBtnOnClick(t)},"ga:archive-btn":function(t){return e.archiveBtnOnClick(t)},"ga:bookmark":function(t){return e.bookmarkOnClick({title:t,action:"bookmark"})},"ga:unbookmark":function(t){return e.bookmarkOnClick({title:t,action:"unbookmark"})}}}),e.single?t(a.A,{ref:"advert",staticClass:"timetable-page__advert--below-schedule"},[e.single?t("AdvertSlot",e._b({},"AdvertSlot",e.ads.schedule,!1)):e._e()],1):e._e(),t("AdvertSlot",e._b({},"AdvertSlot",e.ads.overlay,!1))],1)},r=[],n=i(51095),l=i(78608),o=function(){var e=this,t=e._self._c;return t("div",{class:`channel-select active-${e.activeChannel}`},[t("ul",{staticClass:"channel-select__list"},e._l(e.channels,(function(i){return t("li",{key:i.bitwise,staticClass:"channel-select__item"},[t("span",{staticClass:"channel-select__item-tab"},[t("BaseButton",{staticClass:"channel-select__link",class:e.activeChannel===i.bitwise?"channel-select__link--active":null,on:{click:function(t){return e.$emit("switch-channel",i.string)}}},[t("i18n",{attrs:{tag:"span",path:`channel.prefix.${i.bitwise}`}},[t("span",{staticClass:"channel-select__num",domProps:{textContent:e._s(i.string)}}
1)])],1)],1)])})),0),t("div",{staticClass:"radiotune active-1"},[t("div",{staticClass:"radiotune__bar"},e._l(e.mobile?e.radioScaleMobile:e.radioScaleDesktop,(function(e){return t("span",{key:e,staticClass:"radiotune__scale"})})),0)])])},c=[],m=i(95294),d=i(78097),u=i(30795),h={name:"ChannelSelect",components:{BaseButton:d.A},props:{activeChannel:{type:Number,default:1}},data(){return{channels:[m.c3.CR1_881,m.c3.CR2_903,m.c3.CR_AM864].map((e=>({bitwise:e,string:(0,u.UY)(e)}))),radioScaleDesktop:28,radioScaleMobile:16}}},p=h,g=i(81656),v=(0,g.A)(p,o,c,!1,null,"0933fa72",null),b=v.exports,k=function(){var e=this,t=e._self._c;return t("AppOverflowSlider",{staticClass:"week-bar"},e._l(e.scheduleList,(function(i,a){return t("BaseButton",{key:a,ref:"buttons",refInFor:!0,staticClass:"week-bar__link",class:e.activeWeekday===a?"week-bar__link--active":null,on:{click:function(t){e.$emit("update-weekday",[a,Number(i.weekday)])}}},[e._v(" "+e._s(e.$t(`weekday.long.${i.weekday}`))+" "),0===a?t("div",{directives:[{name:"t",rawName:"v-t",value:"text.today",expression:"'text.today'"}],staticClass:"week-bar__today"}):e._e()])})),1)},_=[],f=i(88746),y={name:"WeekdaySelect",components:{AppOverflowSlider:f.A,BaseButton:d.A},props:{activeWeekday:{required:!0,type:Number},scheduleList:{required:!0,type:Array}},data(){return{activeProgram:1}},watch:{activeWeekday(){this.$nextTick((()=>{this.$refs.buttons.forEach((e=>e.$el.blur()))}))}}},w=y,$=(0,g.A)(w,k,_,!1,null,"2543aafa",null),C=$.exports,S=function(){var e=this,t=e._self._c;return t("GridList",{staticClass:"program-schedule",class:e.single?"program-schedule--single":null,attrs:{items:e.timetableList,"grid-attrs":{xs12:!0},advert:null!==e.advert,"batch-size":e.$config.app.advertIdx.timetable,"block-advert":e.advert,"first-render-idx":e.firstRenderIdx},scopedSlots:e._u([{key:"grid",fn:function({item:i}){return[t("TimetableGrid",{ref:e.bookmark(i),attrs:{"active-channel":e.activeChannel,section:e.program[i.program_id],"section-time":e.getSectionTime(i),live:e.isLiveProgram(i),simple:e.single,"data-program-id":i.program_id,"data-program-name":i.program_name},on:{"ga4:click-image":function(t){return e.$emit("ga4:click-image",t)},"ga:program-title":function(t){return e.$emit("ga:program-title",t)},"ga:host":function(t){return e.$emit("ga:host",t)},"ga:listen-btn":function(t){return e.$emit("ga:listen-btn",t)},"ga:archive-btn":function(t){return e.$emit("ga:archive-btn",t)},"ga:bookmark":function(t){return e.$emit("ga:bookmark",t)},"ga:unbookmark":function(t){return e.$emit("ga:unbookmark",t)}}})]}}])})},A=[],T=i(95353),x=i(67167),P=i(46921),B=function(){var e=this,t=e._self._c;return t("div",{staticClass:"timetable-grid__container",class:[e.simple?"timetable-grid__container--simple":null]},[t("div",{staticClass:"timetable-grid__time",class:[e.wrap?"timetable-grid__time--wrap":null,e.simple?"timetable-grid__time--simple":null]},[e._v(" "+e._s(e.sectionTime)+" ")]),t("AppGrid",{staticClass:"timetable-grid",class:[e.wrap?"timetable-grid--wrap":null,e.simple?"timetable-grid--simple":null],attrs:{"collapse-empty-image":e.simple,"image-link":e.simple?null:e.programUrl,image:e.simple?null:e.section.keyart_url},on:{"ga:article":function(t){return e.$emit("ga:program-title",e.section.program_title)},"ga4:click-image":function(t){return e.$emit("ga4:click-image",e.section.program_title)}},scopedSlots:e._u([{key:"headline",fn:function(){return[t("div",{staticClass:"timetable-grid__headline-container",class:e.simple?"timetable-grid__headline-container--simple":null},[t("div",{staticClass:"timetable-grid__headline-wrapper",class:[e.live?"timetable-grid__headline-wrapper--live":null,e.live&&e.simple?"timetable-grid__headline-wrapper--live-simple":null]},[t("a",{staticClass:"timetable-grid__headline",class:e.simple?"timetable-grid__headline--simple":null,attrs:{href:e.programUrl},on:{click:function(t){return e.$emit("ga:program-title",e.section.program_title)}}},[t("span",{domProps:{textContent:e._s(e.section.program_title)}})])]),t("span",{directives:[{name:"show",rawName:"v-show",value:e.live,expression:"live"}],staticClass:"timetable-grid__live"},[e._v(" "+e._s(e.$t("text.onAir"))+" ")]),t("FavouriteProgramButton",{directives:[{name:"show",rawName:"v-show",value:!e.simple&&!e.hideFav&&e.programId,expression:"!simple && !hideFav && programId"}],staticClass:"timetable-grid__fav--right",attrs:{"program-id":e.programId,label:e.laptopAndUp},on:{"ga:bookmark":function(t){return e.$emit("ga:bookmark",e.section.program_title)},"ga:unbookmark":function(t){return e.$emit("ga:unbookmark",e.section.program_title)}}})],1),t("div",{directives:[{name:"show",rawName:"v-show",value:e.simple,expression:"simple"}],staticClass:"timetable-grid__host--simple"},[t("FavouriteProgramButton",{directives:[{name:"show",rawName:"v-show",value:!e.hideFav&&e.programId&&e.laptop,expression:"!hideFav && programId && laptop"}],staticClass:"timetable-grid__fav--middle",attrs:{"program-id":e.programId,label:""},on:{"ga:bookmark":function(t){return e.$emit("ga:bookmark",e.section.program_title)},"ga:unbookmark":function(t){return e.$emit("ga:unbookmark",e.section.program_title)}}}),e.hosts&&e.hosts.length>0?[t("span",{directives:[{name:"t",rawName:"v-t",value:"text.programHost",expression:"'text.programHost'"}]}),t("span",{directives:[{name:"t",rawName:"v-t",value:"symbol.ke
1yValueSeparator",expression:"'symbol.keyValueSeparator'"}]}),e._l(e.hosts,(function(i,a){return t("span",{key:i.id},[e._v(" "+e._s(a>0?e.$t("symbol.hostSepartor"):"")+" "),t("a",{attrs:{href:e.$router.resolve({name:"programHost",params:{id:i.id}}).href},domProps:{textContent:e._s(i.name)},on:{click:function(t){return e.$emit("ga:host",[i.name,e.section.program_title,e.live])}}})])}))]:e._e()],2),t("div",{directives:[{name:"show",rawName:"v-show",value:e.simple,expression:"simple"}],staticClass:"timetable-grid__corner timetable-grid__corner--simple"},[t("div",{staticClass:"timetable-grid__buttons timetable-grid__buttons--simple"},[t("LiveButton",{directives:[{name:"show",rawName:"v-show",value:e.live,expression:"live"}],staticClass:"timetable-grid__button",attrs:{link:e.liveUrl,theme:"highlight-medium3"},on:{"ga:listen-btn":function(t){return e.$emit("ga:listen-btn",e.section.program_title)}}}),t("ArchiveButton",{directives:[{name:"show",rawName:"v-show",value:e.showArchiveBtnStatus,expression:"showArchiveBtnStatus"}],staticClass:"timetable-grid__button",attrs:{link:e.programUrl,"custom-theme":"highlight-medium3"},on:{click:function(t){return e.$emit("ga:archive-btn",e.section.program_title)}}}),t("FavouriteProgramButton",{directives:[{name:"show",rawName:"v-show",value:!e.hideFav&&e.programId&&!e.laptop,expression:"!hideFav && programId && !laptop"}],staticClass:"timetable-grid__button",attrs:{"program-id":e.programId,label:e.laptopAndUp},on:{"ga:bookmark":function(t){return e.$emit("ga:bookmark",e.section.program_title)},"ga:unbookmark":function(t){return e.$emit("ga:unbookmark",e.section.program_title)}}})],1)])]},proxy:!0},{key:"body",fn:function(){return[t("div",{directives:[{name:"show",rawName:"v-show",value:!e.simple,expression:"!simple"},{name:"visible",rawName:"v-visible",value:e.section.description,expression:"section.description"}],staticClass:"timetable-grid__description"},[e._v(" "+e._s(e.$t("text.description")+e.$t("symbol.keyValueSeparator"))),t("span",{staticClass:"timetable-grid__description-content",domProps:{textContent:e._s(e.sectionDescription)}})])]},proxy:!0},{key:"bottom",fn:function(){return[t(a.A,{directives:[{name:"show",rawName:"v-show",value:!e.simple,expression:"!simple"}]},[t(P.A,{directives:[{name:"show",rawName:"v-show",value:e.laptopAndUp,expression:"laptopAndUp"}],staticClass:"timetable-grid__host"},e._l(e.hosts,(function(i){return t("span",{key:i.id,staticClass:"timetable-grid__host-avatar"},[t("HostAvatar",{attrs:{id:i.id,name:i.name,src:i.profilePicUrl||null,label:"",link:""},on:{"ga:host":function(t){return e.$emit("ga:host",[t,e.section.program_title,e.live])}}})],1)})),0),t(P.A,{staticClass:"timetable-grid__corner",attrs:{grow:"","justify-end":""}},[t("div",{staticClass:"timetable-grid__buttons"},[t("LiveButton",{directives:[{name:"show",rawName:"v-show",value:e.live,expression:"live"}],staticClass:"timetable-grid__button",attrs:{link:e.liveUrl},on:{"ga:listen-btn":function(t){return e.$emit("ga:listen-btn",e.section.program_title)}}}),t("ArchiveButton",{directives:[{name:"show",rawName:"v-show",value:e.showArchiveBtnStatus,expression:"showArchiveBtnStatus"}],staticClass:"timetable-grid__button",attrs:{link:e.programUrl},on:{click:function(t){return e.$emit("ga:archive-btn",e.section.program_title)}}})],1)])],1)]},proxy:!0}])})],1)},I=[],N=i(30153),W=i(28695),O=i(59355),U=function(){var e=this,t=e._self._c;return t("AppButton",{staticClass:"live-button",attrs:{theme:`${e.theme||"highlight-medium2"}`,icon:"play-line",color:"#00a0e3","hover-color":"#008ec9",href:e.link,target:e.linkTarget},on:{click:function(t){return e.$emit("ga:listen-btn")}}},[e._v(" "+e._s(e.$t("button.live"))+" ")])},F=[],L=i(57792),D={name:"LiveButton",components:{AppButton:L.A},props:{link:{type:String,default:null},target:{type:String,default:"_blank"},theme:{type:String,default:null}},computed:{...(0,T.aH)(["mobileDevice"]),linkTarget(){if(null===this.link)return null;try{if(window.opener&&window.opener.name===this.$config.global.windowName.live)return this.$config.global.windowName.live}catch(e){}return this.target}}},H=D,V=(0,g.A)(H,U,F,!1,null,"4d81fbd8",null),j=V.exports,R=i(96255),Y=i(88501),M={name:"TimetableGrid",components:{AppGrid:N.A,HostAvatar:W.A,ArchiveButton:O.A,LiveButton:j,FavouriteProgramButton:R.A},props:{activeChannel:{type:Number,required:!0},section:{type:Object,required:!0},sectionTime:{type:String,required:!0},live:{type:Boolean,default:!1},simple:{type:Boolean,default:!1}},computed:{wrap(){return this.simple?this.mobile:!this.desktop},hideFav(){return this.mobile},programId(){return this.section.program_id},programUrl(){return this.$router.resolve({name:"program",params:{id:this.programId}}).href},liveUrl(){return this.$router.resolve({name:"live",params:{id:(0,u.UY)(this.activeChannel)}}).href},hosts(){return(this.section.program_host||[]).map((e=>({id:e.program_host_id,name:e.name,profilePicUrl:e.profile_pic_url||null})))},showArchiveBtnStatus(){return this.laptopAndUp&&this.activeChannel!==m.c3.CR_AM864},sectionDescription(){return(0,Y._e)(this.section.description)}}},q=M,E=(0,g.A)(q,B,I,!1,null,"04d50b3c",null),G=E.exports,z=i(91511),Q={name:"ProgramSchedule",components:{GridList:x.A,TimetableGrid:G},props:{activeChannel:{required:!0,type:Number},advert:{type:Object,default:null},activeWeekday:{required:!0,type:Number},scheduleList:{required:!0,type:Array},full:{required:!0,type:Boolean},single:{type:Boolean,default:!1}},data(){return{program:this.$initData.program||{},adjustTimestamp:null,intervalId:null}},computed:{...(0,T.aH)("toolbar",["timestampDiff"]),liveProgramTimetableIds(){return Object.values(this.scheduleList.map((e=>{const t=e.schedule.find((e=>{const t=(0,Y.wi)(e,"start_ts","start_datetime"),i=(0,Y.wi)(e,"end_ts","end_datetime");return this.adjustTimestamp>t&&this.adjustTimestamp<i}));return t?t.program_timetable_id:null}))).filter((e=>e))}
1,timetableList(){const e=this.single?[this.scheduleList[this.activeWeekday]]:this.scheduleList,t=[].concat(...e.map((e=>e.schedule)));return t.filter((e=>this.program[e.program_id]))},firstRenderIdx(){return this.full||this.single?0:this.timetableList.findIndex((e=>{const t=(0,Y.wi)(e,"end_ts","end_datetime");return this.adjustTimestamp<=t}))}},created(){this.setAdjustTimestamp()},mounted(){this.intervalId=setInterval((()=>this.setAdjustTimestamp()),1e4)},beforeDestroy(){clearInterval(this.intervalId)},methods:{setAdjustTimestamp(){this.adjustTimestamp=Date.now()+1e3*this.timestampDiff},bookmark(e){let t=null;if(this.liveProgramTimetableIds.indexOf(e.program_timetable_id)>-1)t="live";else{const i=[...Array(7).keys()].find((t=>e[`start_${t}`]));void 0!==i&&(t=`start_${i}`)}return t},getSectionTime(e){const t=e.display_start_time,i=e.display_end_time;return`${(0,z.BP)(t)} - ${(0,z.BP)(i)}`},isLiveProgram(e){return this.liveProgramTimetableIds.indexOf(e.program_timetable_id)>-1},fadeOut(){const e=300;return new Promise((t=>{this.$el.classList.add("fade-out"),setTimeout((()=>{t()}),e)}))},fadeIn(){const e=500;return new Promise((t=>{this.$el.classList.remove("fade-out"),setTimeout((()=>{t()}),e)}))}}},X=Q,J=(0,g.A)(X,S,A,!1,null,"92b6249e",null),K=J.exports,Z=i(18222),ee=i(47056),te=i(64564),ie=(i(88855),i(72427)),ae=i(49830),se=i(85471),re={name:"TimetablePage",components:{PageHeader:n.A,SvgIcon:l.A,ChannelSelect:b,WeekdaySelect:C,ProgramSchedule:K},mixins:[Z.A],data(){const e="1"===ie.A.get(this.$config.app.cookies.timetableTextOnly.key),t=this.$config.advert.timetablePage,i=this.$initData.timetable||{},a=this.$initData.channelBitwise||0,s=0;return{ads:{header:t.Timetable_Slot1_SuperBanner,schedule:t.Timetable_Slot2_Leaderboard,overlay:t.Timetable_Slot3_overlay,siteHeader:t.Timetable_Slot4_Top_SuperBanner},timetable:i,activeChannel:a,activeWeekday:s,displayFullSchedule:!1,radioScaleDesktop:28,radioScaleMobile:16,isStickyVisible:!1,metaMap:this.$initData.channelMetaMap||{},single:e,fadeWhenSwitching:!0,switchModeWithoutReload:!1}},computed:{stickyLimit(){const e=this.$refs.title.$el;return e.offsetTop+e.clientHeight},activeChannelStr(){return(0,u.UY)(this.activeChannel)},activeWeekdayNum(){return Number(this.timetable[this.activeChannel][this.activeWeekday].weekday)}},watch:{$route(e){const t=this.getWeekdayIdxFromRoute(e);this.updateTimetable(e.params.channel,t)},activeChannel(e){(0,ae.ek)({section:"881903TimetablePageTab",action:`${(0,u.UY)(e)}`,title:`weekdays{${this.activeWeekdayNum}}`})},activeWeekdayNum(e){const t=this.$router.resolve({...this.$route,hash:`#${e}`}).href;window.history.replaceState(null,null,t)}},mounted(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),this.listenerId=(0,te.U8)((()=>this.handleScroll()));const e=this.getWeekdayIdxFromRoute(this.$route);null!==e&&this.gotoWeekday(e),(0,ae.F_)({section:"881903SubCatePage",mainCate:this.$t("pageHeader.timetable"),subCate:this.$t(`channel.name.${this.activeChannel}`)}),this.setGaBackToTop()},beforeDestroy(){(0,te.aw)(this.listenerId)},methods:{getChannelProps(){return{mainCate:this.$t("pageHeader.timetable"),subCate:(0,u.UY)(this.activeChannel)}},bookmarkOnClick(e){(0,ae.ek)({section:"881903TimetablePageProgram",programName:e.title,action:e.action,...this.getChannelProps()})},getWeekdayIdxFromRoute(e){if(/^#[0-6]$/.test(e.hash)){const t=(0,u.QE)(e.params.channel),i=Number(e.hash.substr(1)),a=this.timetable[t]||[],s=a.findIndex((e=>Number(e.weekday)===i));if(-1!==s)return s}return null},setTextOnly(e){const{key:t,expire:i}=this.$config.app.cookies.timetableTextOnly;ie.A.set(t,e?1:0,i),(0,ae.ek)({section:"881903TimetablePageTab",action:e?"listView":"gridView",...this.getChannelProps()}),this.single!==!!e&&this.switchModeWithoutReload&&(this.single=!!e,this.$nextTick((()=>{window.scrollTo(0,0),this.single?this.$gpt.loadAdvertInElement(this.$refs.advert):(this.watchWeekday(),this.$gpt.loadAdvertInElement(this.$refs.timetable.$el))})))},listenBtnOnClick(e){(0,ae.ek)({section:"881903TimetablePageProgram",programName:e,action:"playAudio",...this.getChannelProps()})},archiveBtnOnClick(e){(0,ae.ek)({section:"881903TimetablePageProgram",programName:e,action:"addToList",...this.getChannelProps()})},handleScroll(){if(this.updateIsStickyVisible(),this.isStickyVisible){const e=this.$refs.sticky.clientHeight,t=this.$refs.timetable.$refs.live,i=t?t.$el.offsetTop:0,a=this.updateDisplayFullSchedule(!0);a&&this.$nextTick((()=>{const t=this.$refs.sticky.clientHeight-e,a=this.$refs.timetable.$refs.live,s=a?a.$el.offsetTop:0,r=s-i-t;window.scrollBy(0,r)}))}this.$nextTick((()=>{this.watchWeekday()}))},hostOnClick(e){const t=e[0].trim(),i=e[1];(0,ae.ek)({section:"881903TimetablePageProgram",programName:i,action:"host",host_keywords_tags:t,...this.getChannelProps()})}
1,programTitleOnClick(e,t){(0,ae.ek)({section:"881903TimetablePageProgram",programName:e,action:t,...this.getChannelProps()})},updateTimetable(e,t=null){this.activeChannel=(0,u.QE)(e),this.updateDisplayFullSchedule(!0),null===t?this.$nextTick((()=>{const e=this.$refs.timetable.$refs.live;e&&this.scrollToElement(e.$el,!1),this.watchWeekday()})):this.gotoWeekday(t),this.$gpt.refreshAdvert(this.$refs.title.$refs.banner.id)},switchChannel(e){(0,ee.AP)(this.metaMap[e]||null),this.$router.push({name:this.single?"timetableList":"timetable",params:{channel:e},hash:`#${this.activeWeekdayNum}`},(()=>{}))},scrollToElement(e,t=!1){this.isStickyVisible=!0,this.$nextTick((()=>{const i=e.offsetTop-this.$refs.sticky.clientHeight-5;t?(0,ee._E)(i):window.scrollTo(window.pageXOffset,i),this.updateIsStickyVisible()}))},gotoWeekday(e){this.updateDisplayFullSchedule(!0);const t=()=>{if(this.single)this.activeWeekday=e;else{const t=this.$refs.timetable.$refs[`start_${e}`];t&&this.scrollToElement(t.$el),this.watchWeekday()}};this.fadeWhenSwitching?this.$nextTick((()=>{this.$refs.timetable.fadeOut().then((()=>{t(),this.$nextTick((()=>{this.$refs.timetable.fadeIn()}))}))})):this.$nextTick((()=>{t()}))},updateWeekday(e){const t=e[0],i=e[1],a=(0,u.UY)(this.activeChannel);(0,ae.ek)({section:"881903TimetablePageTab",action:`weekdays{${i}}`,title:a,...this.getChannelProps()}),this.gotoWeekday(t)},updateIsStickyVisible(){this.isStickyVisible=window.pageYOffset>this.stickyLimit},updateDisplayFullSchedule(e){return this.displayFullSchedule!==e&&(this.displayFullSchedule=e,!0)},watchWeekday(){if(this.single)return;const e=80,t=this.$refs.sticky.clientHeight;this.activeWeekday=[...Array(7).keys()].reverse().find((i=>{const a=this.$refs.timetable.$refs[`start_${i}`];if(a){const i=a.$el,s=i.offsetTop-t-e;return window.pageYOffset>s}return!1}))||0},setGaBackToTop(){se.Ay.prototype.$gaBackToTop={gaFn:ae.ek,section:"881903TimetablePageTab",action:"backToTop"}}}},ne=re,le=(0,g.A)(ne,s,r,!1,null,"4cec03b2",null),oe=le.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.