PageSourceSearch

https://ici.tou.tv/_next/static/chunks/pages/index-9f5ff53d714d6a4d.js

js tou.tv collected 2026-09-24 17:43:55 UTC 6,792 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{49536:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(25908)}])},81946:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var i=t(24246),o=t(27378),r=t(3915),l=t(60473),a=t(85022),s=t(28596);function u(e){let{isAutomatic:n=!0,onLoadMoreClick:t,loadMoreText:u,className:c}=e,d=(0,o.useRef)(null),v=(0,r.Z)(d.current,{rootMargin:"100% 0%"}),p=(0,o.useRef)(t);return(0,o.useEffect)(()=>{p.current=t},[t]),(0,o.useEffect)(()=>{n&&v&&p.current()},[n,v]),(0,i.jsx)(s.b,{className:c,children:(0,i.jsx)(a.Z,{backgroundColor:"gray4",onClick:t,ref:d,children:null!=u?u:(0,l.t)("Load More")})})}},87724:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var i=t(24246),o=t(27378),r=t(30478),l=t(88478),a=t(6821),s=t(60473),u=t(50524),c=t(1585),d=t(5685),v=t(81946),p=t(28596);function f(e){let{loading:n,loaded:t,error:f,errorText:m,onLoadMoreClick:h,loadMoreText:g,onRetryClick:x}=e,Z=(0,r.o)(),j=(0,o.useRef)(null),C=(0,l.Z)(t),b="keyboard"!==Z;return(0,o.useEffect)(()=>{let{current:e}=j;if(!b&&f&&e){let n=e.getElementsByTagName("button")[0];n&&n.focus()}},[f,b]),(0,o.useEffect)(()=>{let{current:e}=j;if(!t||C||b||!e||!e.nextElementSibling)return;let n=(0,a.$N)(e.nextElementSibling,"a, button, header");n&&n.focus()},[t,C,b]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{"aria-live":"polite",ref:j,children:[n&&(0,i.jsxs)(p.b,{children:[(0,i.jsx)(d.ZP,{children:(0,s.t)("Loading")}),(0,i.jsx)(c.Z,{})]}),!n&&f&&(0,i.jsx)(u.Z,{text:m,onRetryClick:x}),t&&!n&&!f&&(0,i.jsx)(d.ZP,{children:(0,s.t)("Loading Completed")})]}),!t&&!n&&!f&&(0,i.jsx)(v.Z,{isAutomatic:b,loadMoreText:g,onLoadMoreClick:h})]})}},28596:function(e,n,t){"use strict";t.d(n,{b:function(){return r}});var i=t(28228),o=t(9343);let r=(0,i.default)(o.oV).withConfig({componentId:"sc-98744da4-0"})(e=>{let{theme:{mediaQueries:n}}=e;return{display:"flex",justifyContent:"center",gridColumnStart:2,gridColumnEnd:"span 6",padding:"32px 0 0 0",[n.sm]:{gridColumnStart:3,gridColumnEnd:"span 4"},[n.md]:{gridColumnStart:"1",gridColumnEnd:"-1"}}})},69924:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var i=t(32802),o=t(55082),r=t(22975);function l(){let e=(0,o.Z)();if(r.v.isTouchDevice)return null!=e?e:i.E}},25207:function(e,n,t){"use strict";t.d(n,{Z:function(){return N}});var i=t(24246),o=t(27378),r=t(73161),l=t(14354),a=t(22975),s=t(17668),u=t(97787),c=t(82856),d=t(51519);let v="api-tmcIKLoOJOCyesvewQIB",p="https://api-cbc-v3.conductrics.com",f="ac-zNSqTXgWDt",m="dt-3BSPmmqfZinqse3bH6UMjXxyNvOS4O";var h=t(33238),g=t(25649);function x(e){var n,t,i;let r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],l=(0,o.useMemo)(()=>(function(){let e=(0,h.Hs)();if(e)return e;let n=(0,g.jy)(s.PJ,"string");if(n)return n;let t=crypto.randomUUID();return(0,g.uN)(s.PJ,t),t})(),[]),{data:a,isLoading:u}=(0,c.ZP)(r?["getConductricsVariation",e,l]:null,()=>(0,d.v_)("/".concat(f,"/v3/agent-api/").concat(m),{commands:[{a:e}],traits:["ott-app:".concat(d.Jv,"-web")]},{session:l,apikey:v},void 0,"getConductricsVariation",{baseUrl:p}),{onError:()=>{}}),x=(0,o.useCallback)(async e=>{try{await (0,d.v_)("/".concat(f,"/v3/agent-api/").concat(m),{commands:[{g:e}]},{session:l,apikey:v},void 0,"reportConductricsGoal",{baseUrl:p})}catch(e){}},[l]);return{variation:null!==(i=null==a?void 0:null===(t=a.data)||void 0===t?void 0:null===(n=t.sels)||void 0===n?void 0:n[e])&&void 0!==i?i:null,isLoading:u,sendGoal:x}}let Z=(0,u.Vf)()?[{variation:"A",section:"home",matches:e=>e===s.JB.home,position:"after"},{variation:"B",section:"series",matches:e=>e===s.JB.series,position:"after"}]:[{variation:"A",section:"home",matches:e=>e.startsWith("my-lineup-"),position:"before"},{variation:"B",section:"news",matches:e=>e===s.wp.news,position:"after"}];var j=t(17801),C=t(29310),b=t(96167),_=t(69924),y=t(93722);let k={banner:{url:s.VZ.downloadAppPromoBanner.url,altText:(0,y.o)("download_app_incentive","title")}};function w(){let{sendGoal:e}=x(s.Zq.agentCode),n=(0,_.Z)(),t=(0,o.useCallback)(()=>{e(s.Zq.goalCodes.watchOnTheAppClick)},[e]),r={primary:{label:(0,y.o)("download_app_incentive","cta"),url:null!=n?n:"/",isExternal:!0}};return(0,i.jsx)(b.$,{title:(0,y.o)("download_app_incentive","title"),description:(0,y.o)("download_app_incentive","description"),images:k,callToActions:r,onClick:t})}let P=(0,C.jF)("ppage"),E=o.memo(e=>{var n,t;let{page:u,pageIndex:c,showAds:d,adUnitPath:v=P}=e,{getBannerPlacement:p}=function(){let{variation:e,isLoading:n}=x(s.Zq.agentCode,a.v.isTouchDevice);return{getBannerPlacement:(0,o.useCallback)((t,i)=>{var o,r;return n?null:e&&t&&i&&null!==(r=null===(o=Z.find(n=>n.variation===e&&n.section===t&&n.matches(i)))||void 0===o?void 0:o.position)&&void 0!==r?r:null},[n,e])}}();return(0,i.jsx)(i.Fragment,{children:null==u?void 0:null===(t=u.lineups)||void 0===t?void 0:null===(n=t.results)||void 0===n?void 0:n.map((e,n)=>{let t=c*j.sk+n+1,a=p(u.name,e.key);return(0,i.jsxs)(o.Fragment,{children:["before"===a&&(0,i.jsx)(w,{}),(0,i.jsx)(l.Z,{lineup:e,zonePosition:t}),"after"===a&&(0,i.jsx)(w,{}),d&&(0,C.VD)(c,n,1)&&(0,i.jsx)(r.Z,{adUnitPath:v})]},e.key)})})});E.displayName="SectionPageLineupsAndAds";var N=E},25908:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return j},default:function(){return C}});var i=t(24246),o=t(27378),r=t(86677),l=t(66899),a=t(87724),s=t(24589),u=t(83783),c=t(5685),d=t(75373),v=t(39028),p=t(17801),f=t(25207),m=t(17668),h=t(97953),g=t(93722),x=t(65861),Z=t(59502),j=!0;function C(e){let{data:n}=e,{areBannerAdsDisabledForUser:t}=(0,d.Z)(),{data:j,loading:C,error:b,loadingMore:_,mutate:y,loadMore:k}=(0,p.ZP)(n),w=(0,r.useRouter)(),[P,E]=(0,o.useState)(()=>
1"true"===w.query.displayPremiumModal),[N,S]=(0,o.useState)(!1),{getAdUnitPath:T}=(0,v.Z)(),B=T("home");return(0,i.jsxs)(Z.Z,{pageId:x.u.Home,children:[(0,i.jsx)(l.Z,{htmlMeta:null==n?void 0:n.htmlMeta}),(0,i.jsxs)("section",{children:[(0,i.jsx)(c.ZP,{as:"h1",id:m.hg.pageTitle,children:(0,g.o)("home","title")}),null==j?void 0:j.map((e,n)=>{var r,l,s;let u=(null!==(s=null===(r=e.lineups)||void 0===r?void 0:r.totalPages)&&void 0!==s?s:1)-1<=n,c=j.length-1===n;return(0,i.jsxs)(o.Fragment,{children:[(0,i.jsx)(f.Z,{page:e,pageIndex:n,showAds:!t,adUnitPath:B}),!u&&(0,i.jsx)(a.Z,{loading:(C||_)&&c,loaded:j.length-1>n,error:b,onLoadMoreClick:k,onRetryClick:()=>y()})]},null===(l=e.lineups)||void 0===l?void 0:l.pageNumber)})]}),(0,i.jsx)(u.Z,{visible:P,setVisible:E,onPrimaryButtonClick:()=>(0,h.ot)(),onDismiss:()=>{let{displayPremiumModal:e,...n}=w.query;w.replace({query:n},void 0,{shallow:!0})}}),(0,i.jsx)(s.Z,{visible:N,setVisible:S,onDismiss:()=>S(!1)})]})}}},function(e){e.O(0,[233,421,1800,4110,2888,9774,179],function(){return e(e.s=49536)}),_N_E=e.O()}]);

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.