PageSourceSearch

https://ici.tou.tv/_next/static/chunks/pages/collection/[collection]-52248d107cd0080d.js

js tou.tv collected 2026-09-24 17:44:40 UTC 11,693 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9825],{90284:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/collection/[collection]",function(){return t(19959)}])},73195:function(e,n,t){"use strict";var l=t(24246),i=t(27378),o=t(67516),a=t(54961),r=t(85301),c=t(78857),s=t(98560);let d=i.forwardRef(function(e,n){let{showSeparator:t=!1,onClick:d,children:u,...h}=e,v=(0,o.bO)(),{isOpen:p,setIsOpen:m}=(0,i.useContext)(c.n);return(0,l.jsx)(s.Sm,{showSeparator:t,children:(0,l.jsx)(r.Z,{ref:n,onKeyDown:e=>v&&(0,a.f)(e,v),onClick:e=>{p&&m(!1),null==d||d(e)},...h,children:u})})});n.Z=d},66486:function(e,n,t){"use strict";t.d(n,{Z:function(){return x}});var l=t(24246),i=t(28228),o=t(27378),a=t(67673),r=t(68064),c=t(78857),s=t(8937),d=t(75099),u=t(85301),h=t(78436),v=t(11317),p=t(50220),m=t(60473),f=t(73195);function x(e){let{automation:n,url:t,screenReaderMessage:i,...s}=e,[x,_]=(0,o.useState)(!1),w=(0,v.Z)(),{show:g}=(0,d.lm)(),k=(0,h.Zn)(),C=(0,o.useCallback)(e=>{e&&k({data:{elementType:"Share"}}),_(e)},[k]),j=(0,o.useCallback)(e=>{FB.ui({method:"share",href:e,display:"popup"})},[]),y=(0,o.useCallback)(e=>{window.open("https://x.com/intent/tweet?url=".concat(e),"_blank","noopener,noreferrer")},[]),Z=(0,o.useCallback)(async e=>{try{var n,t;await (null===(t=navigator.clipboard)||void 0===t?void 0:null===(n=t.writeText)||void 0===n?void 0:n.call(t,e)),g({message:(0,m.t)("Link copied."),level:"success",automation:p.BN.linkCopied})}catch(e){g({message:(0,m.t)("An error occurred"),level:"error"})}},[g]);if(!w)return null;let S=t?window.location.origin+"/"+t:window.location.href,N=i?(0,m.t)("Share {0} on {1}",[i,"Facebook"]):(0,m.t)("Share on {0}",["Facebook"]),T=i?(0,m.t)("Share {0} on {1}",[i,"X (Twitter)"]):(0,m.t)("Share on {0}",["X (Twitter)"]),L=i?(0,m.t)("Copy Link to {0}",[i]):(0,m.t)("Copy Link");return(0,l.jsxs)(c.Z,{isOpen:x,setIsOpen:C,followScroll:!0,...s,children:[(0,l.jsx)(b,{"aria-label":x?(0,m.t)('Close the "Share" menu'):(0,m.t)('Open the "Share" menu'),title:x?(0,m.t)('Close the "Share" menu'):(0,m.t)('Open the "Share" menu'),"data-cy":n,children:(0,l.jsx)(u.Z,{icon:a.Ao8,children:(0,m.t)("Share")})}),(0,l.jsxs)(r.Z,{children:[(0,l.jsx)(f.Z,{showSeparator:!0,icon:a.s1S,title:"".concat(N," (").concat((0,m.t)("opens in a new window"),")"),"aria-label":"".concat(N," (").concat((0,m.t)("opens in a new window"),")"),onClick:()=>j(S),"data-cy":p.BN.facebook,children:"Facebook"}),(0,l.jsx)(f.Z,{showSeparator:!0,icon:a._Hh,title:"".concat(T," (").concat((0,m.t)("opens in a new window"),")"),"aria-label":"".concat(T," (").concat((0,m.t)("opens in a new window"),")"),onClick:()=>y(S),"data-cy":p.BN.twitter,children:"X (Twitter)"}),(0,l.jsx)(f.Z,{icon:a.rUS,title:L,"aria-label":L,onClick:()=>Z(S),"data-cy":p.BN.link,children:(0,m.t)("Copy Link")})]})]})}var b=(0,i.default)(s.Z).withConfig({componentId:"sc-f9e2f7bc-0"})({"&:hover":{textDecoration:"underline"}})},13652:function(e,n,t){"use strict";t.d(n,{OK:function(){return p},ZP:function(){return h},td:function(){return v},x4:function(){return m}});
1var l=t(24246),i=t(27378),o=t(67516),a=t(98989),r=t(83414),c=t(79981),s=t(83372),d=t.n(s);let u=(0,i.createContext)(void 0);function h(e){let{value:n,onChange:t,children:a}=e;return(0,l.jsx)(u.Provider,{value:(0,i.useMemo)(()=>({value:n,onChange:t}),[t,n]),children:i.Children.map(a,e=>i.isValidElement(e)&&e.type!==m?(0,l.jsx)(o.MT,{children:e}):e)})}function v(e){let{children:n,...t}=e,a=(0,i.useRef)(null),s=(0,o.bO)();return(0,r.Z)(e=>{var n,t,l,i,o;if(null===(n=a.current)||void 0===n?void 0:n.contains(document.activeElement))switch(e.key){case"ArrowLeft":null==s||null===(t=s.focusPrevious({wrap:!0}))||void 0===t||t.click();break;case"ArrowRight":null==s||null===(l=s.focusNext({wrap:!0}))||void 0===l||l.click();break;case"Home":null==s||null===(i=s.focusFirst())||void 0===i||i.click();break;case"End":null==s||null===(o=s.focusLast())||void 0===o||o.click()}}),(0,l.jsx)("div",{ref:a,role:"tablist","aria-orientation":"horizontal",className:(0,c.A)(d().list,t.className),children:i.Children.map(n,e=>{if(i.isValidElement(e))return i.cloneElement(e,{singleton:1===i.Children.count(i.Children.toArray(n))})})})}function p(e){let{value:n,singleton:t,children:o}=e,{value:r,onChange:c}=(0,i.useContext)(u),s=n===r;return(0,l.jsx)("div",{...s?{"data-active":!0}:{},className:d().button,children:(0,l.jsx)("button",{id:"tab-".concat(n),role:"tab","aria-controls":"tabpanel-".concat(n),"aria-selected":s,tabIndex:s&&!t?0:-1,onClick:()=>{s||t||c(n)},children:(0,l.jsx)(a.dS,{weight:"medium",children:o})})})}function m(e){let{value:n,children:t,withLayoutBleed:o}=e,{value:a}=(0,i.useContext)(u);return(0,l.jsx)("div",{id:"tabpanel-".concat(n),role:"tabpanel","aria-labelledby":"tab-".concat(n),hidden:n!==a,className:(0,c.A)(d().panel,o&&d().panelBleed),children:t})}},19959:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return Q},default:function(){return z}});var l=t(24246),i=t(27378),o=t(86677),a=t(66899),r=t(96167),c=t(75373),s=t(39028),d=t(1162),u=t(48059),h=t(83484),v=t(69699),p=t(28228),m=t(65081),f=t.n(m),x=t(95850),b=t(50220),_=t(73161),w=t(14354),g=t(60329),k=t(5685),C=t(83372),j=t.n(C),y=t(20620),Z=t(78731),S=t(79981),N=t(17668),T=t(78125),L=t(60473);function A(e){let{items:n,selectedActionLabel:t,title:a,cardImageType:r,loading:c,loadingMore:s,error:d,hasMore:u,loadMore:h,mutate:v,tabsLayout:m,currentTab:g,adUnitPath:C}=e,A=(0,o.useRouter)(),M=(0,p.useTheme)(),{currentBreakpoint:F}=(0,y.a)(),O=N.yS[F||"xl"],R=(0,Z.Z)(n,O),q=i.useRef(null),B=R.flat().map(e=>e.key),E=!!C;return(0,l.jsxs)("div",{className:(0,S.A)(f().content,m?j().panel:void 0),id:m?"tabpanel-".concat(g):void 0,"aria-labelledby":m?"tab-".concat(g):void 0,children:[(0,l.jsxs)("section",{"data-cy":b.U$.card,ref:q,children:[(0,l.jsx)(k.ZP,{as:"h2",id:(0,T.L1)(a),children:(0,L.t)('All "{0}" content',[a])}),R.map((e,n)=>(0,l.jsxs)(i.Fragment,{children:[(0,l.jsx)(w.Z,{lineup:{items:e,layoutType:x.ms.GridCategory,cardImageType:r,title:"".concat(a).concat(t?":".concat(t):"")},keysArray:B}),E&&e.length>O*((0===n?N.yd:N.AU)-1)&&(0,l.jsx)(_.Z,{adUnitPath:C},"".concat(A.query.category,"-").concat(n+1))]},"".concat(n+n)))]}),(0,l.jsx)(P,{containerRef:q,loading:c||s,error:d,hasMore:u,onLoadMoreClick:h,onRetryClick:()=>v(),$_css:M.spacing.multi(32,0)})]})}var P=(0,p.default)(g.Z).withConfig({componentId:"sc-35a7bddd-0"})(e=>({margin:e.$_css})),M=t(70970),F=t(14887),O=t(13652),R=t(38250),q=t.n(R);function B(e){let{tabsLayout:n,actions:t,activeIndex:i,onNavigate:o}=e,{currentBreakpoint:a}=(0,y.a)();return n?(0,l.jsxs)("div",{className:q().filtersScroller,children:[(0,l.jsx)("div",{className:q().filters,children:(0,l.jsx)(O.ZP,{value:null!=i?i:0,onChange:e=>{null==o||o(e),["xxs","sm"].includes(a)&&(0,M.l)()},children:(0,l.jsx)(O.td,{children:null==t?void 0:t.map((e,n)=>(0,l.jsx)(O.OK,{value:n,children:e.title},e.title))})})}),(0,l.jsx)("div",{className:q().border})]}):(0,l.jsx)(F.Z,{actions:t,selected:null==t?void 0:t.find(e=>e.isSelected),onSelectedChange:e=>{let{url:n}=e;null==o||o(void 0,n),["xxs","sm"].includes(a)&&(0,M.l)()}})}var E=t(30284),I=t(59521),D=t(66486);function X(e){var n;
1let{hasCarousel:t,mustDisplayBackground:i,title:o,description:a,image:r,logo:c,sponsors:s,lineup:d,parentLink:u}=e,h=(0,p.useTheme)();return(0,l.jsxs)("div",{className:q().heroContainer,children:[i&&r&&(0,l.jsx)($,{title:o,description:a,sponsors:s,image:r,logo:c,parentLink:u,$_css:h.mediaQueries.md,$_css2:"-".concat(h.spacing[48]),children:(0,l.jsx)(D.Z,{className:q().share})}),!i&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:f().content,children:(0,l.jsx)(I.Z,{title:o,sponsors:s,logo:c,sponsorsLimit:1})}),t&&d&&(0,l.jsx)("div",{className:q().carousel,children:(0,l.jsx)(w.Z,{lineup:{...d,layoutType:null!==(n=d.layoutType)&&void 0!==n?n:x.ms.Carousel}})})]})]})}var $=(0,p.default)(E.Z).withConfig({componentId:"sc-8251c4dd-0"})(e=>({[e.$_css]:{marginBottom:e.$_css2}})),V=t(65861),U=t(59502),Q=!0;function z(e){var n,t,p;let{data:m}=e,f=(0,o.useRouter)(),{data:b,loading:_,loadingMore:w,error:g,hasCarousel:k,hasMore:C,loadMore:j,mutate:y,navigateToFilter:Z}=function(e){var n,t,l,a;let r=(0,o.useRouter)(),c=(0,h.DQ)(r,h.Oq),s=(0,h.DQ)(r,h.TO),{data:p,error:m,isLoading:f,mutate:x,size:b,setSize:_}=(0,d.ZP)(e=>["getCollection",e+1,r.query.collection,c,s],e=>{let[,n,t]=e;return(0,u.qW)(t,{pageSize:60,pageNumber:n,filter:c,sort:(0,h.vs)(s)})},{fallbackData:e&&(0,h.FD)(e,r.query)?[e]:void 0,revalidateFirstPage:!1,keepPreviousData:!0}),{hasCarousel:w,items:g}=(0,v.Z)(null==p?void 0:null===(n=p[0])||void 0===n?void 0:n.header),k=(0,i.useMemo)(()=>({...null==p?void 0:p[0],items:(0,h.Gx)(p),header:{...null==p?void 0:p[0].header,items:g}}),[p,g]),C=Number(null==k?void 0:null===(a=k.content)||void 0===a?void 0:null===(l=a[0])||void 0===l?void 0:null===(t=l.items)||void 0===t?void 0:t.totalPages),j=!m&&p&&b>=1&&!p[b-1],y=(0,i.useCallback)(()=>{f||j||_(e=>e+1)},[f,j,_]),Z=(0,i.useCallback)((e,n)=>{if(void 0!==e&&(null==k?void 0:k.hasTabFilters)){var t,l;let n=null==k?void 0:null===(l=k.actions)||void 0===l?void 0:null===(t=l[e])||void 0===t?void 0:t.url;n&&r.replace("/"+n,void 0,{shallow:!0})}else n&&r.replace("/"+n,void 0,{shallow:!0})},[null==k?void 0:k.actions,null==k?void 0:k.hasTabFilters,r]);return{data:k,error:m,loading:f,loadingMore:j,hasCarousel:w,hasMore:b<C,loadMore:y,mutate:x,navigateToFilter:Z}}(m),{items:S,sponsors:N,actions:T,images:L,header:P,description:M,htmlMeta:F,title:O,hasTabFilters:R,promoBanner:q}=b,E=!!(null==L?void 0:L.background),{isEligibleByScopes:I}=(0,c.Z)(),D=(0,i.useMemo)(()=>{var e;return null==T?void 0:null===(e=T.find(e=>e.isSelected))||void 0===e?void 0:e.title},[T]),$=(0,i.useMemo)(()=>null==T?void 0:T.findIndex(e=>e.isSelected),[T]),Q=null==b?void 0:null===(n=b.headerCallToActions)||void 0===n?void 0:n.find(e=>e.type===x.x4.Back),{getAdUnitPath:z}=(0,s.Z)(),G=z("collection",f.query.collection),K=I({applicableTiers:null!==(p=null==q?void 0:q.applicableTiers)&&void 0!==p?p:[]});return(0,l.jsxs)(U.Z,{pageId:V.u.Collection,trackFilterChanges:!0,children:[(0,l.jsx)(a.Z,{htmlMeta:{...F,robots:f.query.filtre||f.query.tri?"noindex":void 0}}),(0,l.jsx)(X,{image:null==L?void 0:L.background,logo:null==L?void 0:L.logo,lineup:P,mustDisplayBackground:!k&&E,hasCarousel:!!k,title:O,description:M,sponsors:N,parentLink:Q}),T&&T.length>0&&(0,l.jsx)(B,{tabsLayout:R,actions:T,activeIndex:$,onNavigate:Z}),(0,l.jsx)(A,{items:S,selectedActionLabel:D,title:O,cardImageType:null==b?void 0:null===(t=b.content)||void 0===t?void 0:t[0].cardImageType,loading:_,loadingMore:w,error:g,hasMore:C,tabsLayout:R,currentTab:$,loadMore:j,mutate:y,adUnitPath:G}),K&&(0,l.jsx)(r.$,{title:null==q?void 0:q.title,images:null==q?void 0:q.images,description:null==q?void 0:q.description,callToActions:null==q?void 0:q.callToActions})]})}},83372:function(e){e.exports={minMedium:"screen and (min-width: 1024px)",minXLarge:"screen and (min-width: 1920px)",list:"tabs_list__1dfYC",button:"tabs_button____j84",panel:"tabs_panel__C46uz",panelBleed:"tabs_panelBleed__mDgXV"}},38250:function(e){e.exports={maxXSmall:"screen and (max-width: calc(768px - 1px))",minMedium:"screen and (min-width: 1024px)",minLarge:"screen and (min-width: 1365px)",parentLink:"parentLink_parentLink__rqhDo",heroContainer:"collection_heroContainer__pXsdY",filtersScroller:"collection_filtersScroller__udppG",filters:"collection_filters__RVqVQ",share:"collection_share__PxZfA",carousel:"collection_carousel__tgEJR"}},65081:function(e){e.exports={content:"grid_content__RVPwq"}}},function(e){e.O(0,[233,421,1800,4110,5146,2137,2888,9774,179],function(){return e(e.s=90284)}),_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.