1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,1217],{23843:(e,i,t)=>{"use strict";t.r(i),t.d(i,{default:()=>G});var n=t(6506);t(33506);var d=t(48741),a=t(81045);let r=(0,d.J1)(` 2 query FetchClientsChannelsData { 3 fetchChannels @rest(type: "FetchChannels", path: "/web-api/clients/channels") { 4 channels 5 } 6}`);var l=t(69464),o=t(10128),p=t(92629),x=t.n(p),s=t(8649),c=t(62759),h=t(30795),m=t(62927),g=t(77501),f=t(38906);let u=m.default.section.withConfig({componentId:"sc-3fea7450-0"})(["background:",";color:",";flex-grow:1;font-weight:bold;"," scrollbar-width:none;overflow:-moz-scrollbars-none;-ms-overflow-style:none;overflow-x:auto;display:flex;flex-direction:column;align-items:center;::-webkit-scrollbar{width:0;}",""],({theme:e,backgroundSelect:i})=>({dark:e.colors.dark.background.body.primary,branded:e.colors.dark.background.body.branded.tertiary})[i]||e.colors.dark.background.body.primary,(0,g.rQ)("white"),(0,g.hH)("bodyM","text"),f.Ay.xSmall` 7 overflow: hidden; 8 `),w=m.default.section.withConfig({componentId:"sc-3fea7450-1"})(["display:flex;flex-direction:column;width:100%;max-width:1440px;"]),y=m.default.div.withConfig({componentId:"sc-3fea7450-2"})(["display:flex;flex-direction:column;padding:40px 16px 24px;width:100%;gap:8px;"," ",""],f.Ay.xSmall` 9 padding: 40px 40px 24px 40px; 10 `,f.Ay.medium` 11 padding: 72px 72px 40px 72px; 12 gap: 16px; 13 `),b=m.default.h1.withConfig({componentId:"sc-3fea7450-3"})(["",";font-weight:700;margin:0;"],(0,g.hH)("headingXs","headings")),v=m.default.h2.withConfig({componentId:"sc-3fea7450-4"})(["",";color:",";font-weight:700;margin:0;"],(0,g.hH)("titleS"),(0,g.rQ)("contentSecondary")),A=m.default.div.withConfig({componentId:"sc-3fea7450-5"})(["",";padding:32px 16px 40px;font-weight:350;p{margin:0;}color:",";",";",";"],(0,g.hH)("bodyXs"),(0,g.rQ)("contentSecondary"),f.Ay.xSmall` 14 padding: 24px 40px 40px 40px; 15 `,f.Ay.medium` 16 padding: 40px 72px 72px 72px; 17 line-height: 16px; 18 `),C=m.default.div.withConfig({componentId:"sc-3fea7450-6"})(["",";font-weight:700;display:flex;flex-direction:row;align-items:center;padding:8px 0 16px 109px;width:46%;gap:54px;"," ",""],(0,g.hH)("titleXs"),f.Ay.xSmall` 19 padding: 4px 0 20px 114px; 20 width: 50%; 21 `,f.Ay.medium` 22 padding: 3px 0 27px 146px; 23 width: 58%; 24 `),j=m.default.div.withConfig({componentId:"sc-3fea7450-7"})(["",";font-weight:700;display:flex;width:54%;min-width:320px;align-items:center;padding:8px 15px 16px 39px;"," ",""],(0,g.hH)("titleXs"),f.Ay.xSmall` 25 padding: 4px 22px 20px 59px; 26 width: 50%; 27 `,f.Ay.medium` 28 padding: 3px 0 27px 18px; 29 width: 42%; 30 `),S=m.default.div.withConfig({componentId:"sc-3fea7450-8"})(["display:flex;width:100%;flex-direction:row;min-width:640px;margin-left:16px;margin-right:16px;"," ",""],f.Ay.xSmall` 31 margin-left: 32px; 32 margin-right: 32px; 33 width: fill-available; 34 `,f.Ay.medium` 35 margin-left: 57px; 36 margin-right: 55px; 37 width: fill-available; 38 `),I=m.default.a.withConfig({componentId:"sc-3fea7450-9"})(["display:flex;",";color:",";width:100%;flex-direction:row;min-width:640px;margin-left:16px;margin-right:16px;text-decoration:none;"," ",""],({channelPagesFeatureFlag:e})=>e?"cursor: pointer;":"",(0,g.rQ)("primaryA"),f.Ay.xSmall` 39 margin-left: 32px; 40 margin-right: 32px; 41 width: fill-available; 42 `,f.Ay.medium` 43 margin-left: 57px; 44 margin-right: 55px; 45 width: fill-available; 46 padding-top: 12px; 47 padding-bottom: 11px; 48 `),k=m.default.div.withConfig({componentId:"sc-3fea7450-10"})(["display:flex;flex-direction:column;gap:8px;margin-bottom:0;"," ",""],f.Ay.xSmall` 49 gap: 19px; 50 margin-bottom: 16px; 51 `,f.Ay.medium` 52 gap: 0; 53 margin-bottom: 0; 54 `),$=m.default.a.withConfig({componentId:"sc-3fea7450-11"})(["",";display:flex;flex-direction:row;background:",";border-radius:8px 10px 10px 8px;min-width:640px;margin-left:16px;margin-right:16px;text-decoration:none;margin-bottom:0;"," ",""],({channelPagesFeatureFlag:e})=>e?"cursor: pointer;":"",(0,g.rQ)("hero2","brandRed"),f.Ay.xSmall` 55 margin-left: 32px; 56 margin-right: 32px; 57 `,f.Ay.medium` 58 margin-left: 57px; 59 margin-right: 55px; 60 margin-bottom: 19px; 61 background: none; 62 `),T=m.default.div.withConfig({componentId:"sc-3fea7450-12"})(["max-width:40px;
62display:flex;align-items:center;"," ",""],f.Ay.medium` 63 max-width: 40px; 64 `,f.Ay.large` 65 max-width: 50px; 66 `),F=m.default.img.withConfig({componentId:"sc-3fea7450-13"})(["max-width:40px;"," ",""],f.Ay.medium` 67 max-width: 40px; 68 `,f.Ay.large` 69 max-width: 50px; 70 `),H=m.default.div.withConfig({componentId:"sc-3fea7450-14"})(["",";font-weight:350;"],(0,g.hH)("bodyS","text")),Q=m.default.div.withConfig({componentId:"sc-3fea7450-15"})(["color:",";display:flex;flex-direction:row;gap:54px;align-items:center;border-radius:8px 0 0 8px;padding:17px 0 19px 15px;width:46%;background:",";"," ",""],(0,g.rQ)("primaryB"),(0,g.rQ)("hero2","brandRed"),f.Ay.xSmall` 71 color: ${(0,g.rQ)("primaryA")}; 72 width: 50%; 73 gap: 52px; 74 padding: 19px 0 20px 22px; 75 `,f.Ay.medium` 76 gap: 48px; 77 width: 58%; 78 padding: 23px 32px 25px 46px; 79 `),U=m.default.div.withConfig({componentId:"sc-3fea7450-16"})(["width:100%;"]),N=m.default.div.withConfig({componentId:"sc-3fea7450-17"})(["display:flex;width:54%;align-items:baseline;border-radius:0 8px 8px 0;min-width:320px;color:",";padding:17px 15px 19px 39px;background:none;"," ",";"],(0,g.rQ)("primaryB"),f.Ay.xSmall` 80 padding: 19px 22px 20px 59px; 81 background: none; 82 width: 50%; 83 `,f.Ay.medium` 84 width: 42%; 85 padding: 23px 32px 25px 18px; 86 87 ${(0,m.css)(["background:",";color:",";"],(0,g.rQ)("backgroundSecondary"),(0,g.rQ)("contentSecondary"))}; 88 `),E=m.default.div.withConfig({componentId:"sc-3fea7450-18"})(["display:flex;flex-direction:row;align-items:center;padding:8px 0 8px 15px;width:46%;gap:54px;"," ",""],f.Ay.xSmall` 89 width: 50%; 90 gap: 52px; 91 padding: 8px 0 8px 22px; 92 `,f.Ay.medium` 93 width: 58%; 94 gap: 48px; 95 padding: 7px 0 7px 46px; 96 `),_=m.default.div.withConfig({componentId:"sc-3fea7450-19"})(["display:flex;width:45%;min-width:320px;align-items:center;padding:8px 0 8px 39px;"," ",""],f.Ay.xSmall` 97 padding-left: 59px; 98 padding-right: 15px; 99 `,f.Ay.medium` 100 width: 42%; 101 padding: 7px 32px 7px 30px; 102 `),X=m.default.div.withConfig({componentId:"sc-3fea7450-20"})(["max-width:185px;"," ",""],f.Ay.xSmall` 103 max-width: 248px; 104 `,f.Ay.medium` 105 max-width: 585px; 106 `),D=m.default.div.withConfig({componentId:"sc-3fea7450-21"})([""," font-weight:700;"],(0,g.hH)("titleXs","text")),P=m.default.div.withConfig({componentId:"sc-3fea7450-22"})(["display:flex;flex-direction:column;gap:6px;width:100%;max-width:185px;",""],f.Ay.medium` 107 flex-direction: row-reverse; 108 gap: none; 109 max-width: 585px; 110 align-items: baseline; 111 justify-content: space-between; 112 `),z=m.default.div.withConfig({componentId:"sc-3fea7450-23"})(["",";font-weight:350;flex-shrink:0;"],(0,g.hH)("bodyM","text")),O=m.default.div.withConfig({componentId:"sc-3fea7450-24"})(["",";font-weight:700;"],(0,g.hH)("titleS"));var B=t(72587),L=t.n(B);let M=({startTimeUTC:e,durationSeconds:i,title:t,description:d,isFirstItem:a=!1,upcomingFirstShow:r})=>{let l=L()(1e3*e),o=l.format("hh:mm"),p=l.add(i,"s").format("hh:mm a");return a?(0,n.jsxs)(X,{children:[(0,n.jsxs)(P,{children:[(0,n.jsx)(z,{"data-testid":"time-range",children:`${o} - ${p}`}),(0,n.jsx)(O,{children:t})]}),!r&&d?(0,n.jsx)(H,{children:d}):null]}):(0,n.jsx)(X,{children:(0,n.jsx)(D,{children:t})})},R=({name:e,logo:i,schedule:t,isFirstItem:d=!1,onAltText:a,onNowAltText:r,comingUpNextAltText:l})=>{let o=(0,s.u)(s.t.CHANNEL_PAGES),p=(0,h.w)(c._e),m=(0,h.w)(c.tE),g=()=>{if(!o)return"";let i=!m&&p?`/${p}`:"";return`${i}/channels/${x()(e)}`};if(!t.length)return null;let f=d?"Light":"Dark",u=i[f]?.replace("{width}","50").replace("{height}","45"),[w,y]=t,b=a||"On",v=r||"Now showing",A=l||"Coming up next";return d?(0,n.jsxs)($,{channelPagesFeatureFlag:!!o,href:g(),"aria-label":`${b} ${e}, ${w?.title?`${v} ${w.title}`:""}, ${y?.title?`${A} ${y.title}`:""}`,"data-testid":"channel-wrapper",children:[(0,n.jsxs)(Q,{children:[(0,n.jsx)(T,{children:(0,n.jsx)(F,{src:u,alt:e,loading:"lazy"})}),(0,n.jsx)(U,{children:w&&(0,n.jsx)(M,{startTimeUTC:w.startTimeUTC,durationSeconds:w.durationSeconds,title:w.title,description:w.description,isFirstItem:d})})]}),(0,n.jsx)(N,{children:(0,n.jsx)(U,{children:y&&(0,n.jsx)(M,{startTimeUTC:y.startTimeUTC,durationSeconds:y.durationSeconds,title:y.title,de
112scription:y.description,isFirstItem:d,upcomingFirstShow:!0})})})]}):(0,n.jsxs)(I,{channelPagesFeatureFlag:!!o,"data-testid":"channel-wrapper",href:g(),"aria-label":`${b} ${e}, ${w?.title?`${v} ${w.title}`:""}, ${y?.title?`${A} ${y.title}`:""}`,children:[(0,n.jsxs)(E,{children:[(0,n.jsx)(T,{children:(0,n.jsx)(F,{src:u,alt:e,loading:"lazy"})}),(0,n.jsx)(U,{children:w&&(0,n.jsx)(M,{startTimeUTC:w.startTimeUTC,durationSeconds:w.durationSeconds,title:w.title,description:w.description,isFirstItem:d})})]}),(0,n.jsx)(_,{children:(0,n.jsx)(U,{children:y&&(0,n.jsx)(M,{startTimeUTC:y.startTimeUTC,durationSeconds:y.durationSeconds,title:y.title,description:y.description,isFirstItem:d})})})]})},q=({id:e,name:i,settings:t,channelsData:d})=>{let a=d[0]&&d?.filter(e=>0!==e.schedule.length),{ariaLabel:r,headline:p,subheadline:x,legalDescriptionEditorState:s,backgroundSelect:c,onAltText:h,onNowAltText:m,comingUpNextAltText:g,onNowText:f,comingUpText:I}=(0,l.A)(e,t);return(0,n.jsx)(u,{"data-testid":"ia-channels-live-schedule",id:e,"data-tracking-section":i.includes("section-")?i:null,"data-tracking-module":"ia-channels-live-schedule",backgroundSelect:c,...r&&{"aria-label":r},children:(0,n.jsxs)(w,{children:[(0,n.jsxs)(y,{children:[(0,n.jsx)(b,{"data-preview-selector":"headline",children:p}),(0,n.jsx)(v,{"data-preview-selector":"subheadline",children:x})]}),(0,n.jsxs)(S,{children:[(0,n.jsx)(C,{role:"presentation",children:f}),(0,n.jsx)(j,{role:"presentation",children:I})]}),a&&(0,n.jsx)(k,{children:a.map((e,i)=>0!==e.schedule.length&&(0,n.jsx)(R,{isFirstItem:0===i,...e,onAltText:h,onNowAltText:m,comingUpNextAltText:g},e.id))}),(0,n.jsx)(A,{"data-preview-selector":"legalDescription",children:(0,n.jsx)(o.default,{textEditorState:s})})]})})},G=e=>{let{data:i,loading:t}=(0,a.IT)(r),d=i?.fetchChannels?.channels;return t||!d?null:(0,n.jsx)(q,{...e,channelsData:d})}},31217:(e,i)=>{var t;!function(){"use strict";var n={}.hasOwnProperty;function d(){for(var e="",i=0;i<arguments.length;i++){var t=arguments[i];t&&(e=a(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return d.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var i="";for(var t in e)n.call(e,t)&&e[t]&&(i=a(i,t));return i}(t)))}return e}function a(e,i){return i?e?e+" "+i:e+i:e}e.exports?(d.default=d,e.exports=d):void 0===(t=(function(){return d}).apply(i,[]))||(e.exports=t)}()}}]); 113//# sourceMappingURL=39.9fc9604e0d72b6d9.js.map
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.