PageSourceSearch

https://vtvprime.vn/_next/static/chunks/3015-4f15e01837350fe7.js

js vtvprime.vn collected 2026-10-01 16:05:44 UTC 75,390 bytes, 483 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3015],{4545:(e,t,s)=>{"use strict";s.d(t,{W:()=>i});let i={VOD_THUMBNAIL:"VOD_THUMBNAIL",COLOR_GRADIENT_POSTER:"COLOR_GRADIENT_POSTER",STUDIO_PROFILES:"STUDIO_PROFILES",TOP_10_VODS_POSTER:"TOP_10_VODS_POSTER",VOD_THUMBNAIL_BIG:"VOD_THUMBNAIL_BIG",LIVE_EVENTS_THUMBNAIL:"LIVE_EVENTS_THUMBNAIL",CHANNEL:"CHANNEL",CAROUSEL_SPOTLIGHT:"CAROUSEL_SPOTLIGHT",UPCOMING_EVENTS:"UPCOMING_EVENTS",SEASONAL_EVENT:"SEASONAL_EVENT",CHANNEL_WITH_BROADCASTING_PROGRAMME:"CHANNEL_WITH_BROADCASTING_PROGRAMME",POSTER_BY_STUDIO:"POSTER_BY_STUDIO",THUMBNAIL_BY_STUDIO:"THUMBNAIL_BY_STUDIO",REMINDABLE_POSTER:"REMINDABLE_POSTER",BROADCASTING_PROGRAMMES_THUMBNAIL:"BROADCASTING_PROGRAMMES_THUMBNAIL",EVENT_CALENDAR:"EVENT_CALENDAR",THUMBNAIL_MEDIUM:"THUMBNAIL_MEDIUM",VOD_RECOMMENDED_BY_CATEGORIES:"VOD_RECOMMENDED_BY_CATEGORIES",TRENDING_KEYWORDS:"TRENDING_KEYWORDS",SPOTLIGHT_SUBMENU:"SPOTLIGHT_SUBMENU",TOP_SHORT_POSTER:"TOP_SHORT_POSTER",BLOCK_SUBSCRIPTION:"BLOCK_SUBSCRIPTION"}},6808:(e,t,s)=>{"use strict";s.d(t,{A:()=>x});var i=s(37876),r=s(14232),a=s(27888);s(32283),s(96637),s(70031);var l=s(30955),n=s(37216),o=s(59),c=s(57293),d=s(48230),m=s.n(d);let p=function({content:e,isContentTitleVisible:t}){let{pushToContentDetail:s,returnLinkByContentType:r}=(0,n.A)(),a=e?.programmes?.length>0?e?.programmes[0]:{};return(0,i.jsxs)("div",{onClick:function(){},role:"button",tabIndex:"0",onKeyPress:()=>{},className:"mediaHoverCard group transition-transform duration-300 ease-in-out hover:scale-[1.02]",children:[(0,i.jsx)("div",{className:"mediaHoverGlow",style:{backgroundImage:`url(${e?.liveImageURL||l.A.IMAGE_HORIRONTAL_DEFAULT})`}}),(0,i.jsx)("div",{className:"relative z-[1]",children:(0,i.jsxs)(m(),{href:`${r(e)}`,className:"p-4 rounded-2xl bg-disable block relative shadow-sm group-hover:shadow-xl transition duration-300",onClick:()=>{s(e)},children:[(0,i.jsxs)("div",{className:"relative rounded-lg overflow-hidden w-full aspect-video transition-transform duration-300 ease-in-out group-hover:scale-[1.02]",children:[(0,i.jsx)("img",{src:e?.liveImageURL||l.A.IMAGE_HORIRONTAL_DEFAULT,alt:"",className:"w-full! h-full! object-cover bg-surface",onError:e=>{e.currentTarget.onerror=null,e.currentTarget.src=l.A.IMAGE_HORIRONTAL_DEFAULT}}),(0,i.jsx)(c.A,{labels:e?.channel?.labels||e?.labels})]}),(0,i.jsxs)("div",{className:"flex pt-3",children:[(0,i.jsxs)("div",{className:"fix_img rounded relative w-16 h-16",children:[(0,i.jsx)("img",{src:"/default/placeholderChannelSquares.png",alt:"",className:"rounded-md"}),(0,i.jsx)("img",{src:e?.logoURL||l.A.IMAGE_HORIRONTAL_DEFAULT,alt:"logoImg",className:"absolute max-w-[70%] max-h-[70%] top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%]",onError:e=>{e.currentTarget.onerror=null,e.currentTarget.src=l.A.IMAGE_HORIRONTAL_DEFAULT}})]}),t&&(0,i.jsxs)("div",{className:"pl-3 max-w-[75%] h-16 content-center",children:[(0,i.jsx)("div",{className:"text16_600_20 text-primary line-clamp-1",children:a?.title||e?.title}),a?.startTime&&a?.stopTime?(0,i.jsxs)("div",{className:"text14_400_18 text-secondary1 pt-2",children:[" ",(0,o.Er)(a?.startTime)," - ",(0,o.Er)(a?.stopTime)]}):null]})]})]})})]})};var u=s(57075);let x=(0,r.memo)(({title:e,contentPagination:t,isLastBlock:s,isBlockTitleVisible:l,isRecommendation:n,isContentTitleVisible:c})=>{let[d,m]=(0,r.useState)(t?.contents);return(0,r.useEffect)(()=>{m((0,o.R3)(t?.contents||[]))},[]),(0,i.jsxs)("div",{className:`mb-4 ${s?"xl:mb-20":"xl:mb-10"} md:mb-10 xs:mb-5`,children:[l&&(0,i.jsx)("h2",{className:"relative mb-5 md:mb-5 xs:mb-3",children:(0,i.jsxs)("div",{className:"text24_700_32 flex items-center wapper_see_more",children:[(0,i.jsx)("span",{className:"mr-4 text-primary",children:e?.text})," "]})}),(0,i.jsx)("div",{className:"wapper__swiper__custom",children:(0,i.jsx)(u.A,{className:"mySwiper",data:d,setData:m,isBlurLastItem:!0,nextCursor:t?.nextCursor,numberItemChangePer:[1,3,4,1,3,4],isRecommendation:n,children:d?.length>0&&d?.map((e,t)=>(0,i.jsx)(a.qr,{children:(0,i.jsx)(p,{...e,isContentTitleVisible:c})},e?.id+t.toString()))},"vod_item")})]})})},9842:(e,t,s)=>{"use strict";s.d(t,{Td:()=>l,nF:()=>r,wo:()=>a});let i=/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function r(e,t){return t?`/block/${String(e||"").normalize("NFC").replace(/[^\p{L}\p{N}]+/gu,"-").replace(/^-+|-+$/g,"")||"block"}-${t}`:""}function a(e){let t=Array.isArray(e)?e[0]:e;return t?String(t).match(i)?.[0]||String(t):""}function l(e){let t=Array.isArray(e)?e[0]:e;return t?String(t).replace(i,"").replace(/-+$/g,"").split("-").filter(
1Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "):""}},13277:(e,t,s)=>{"use strict";s.d(t,{A:()=>_});var i=s(37876),r=s(14232);s(32283),s(96637),s(70031);var a=s(28505),l=s(54587),n=s.n(l),o=s(30955),c=s(37216),d=s(41629),m=s(57293),p=s(48230),u=s.n(p);let x=function({content:e,title:t,imageURL:s,isContentTitleVisible:a}){let[l,p]=(0,r.useState)(s),{returnLinkByContentType:x}=(0,c.A)(),v=e?.__typename==="VOD"?(e?.video?.lastWatchPosition||0)/(e?.video?.duration||1)*100:0;(0,r.useEffect)(()=>{p(s)},[s]);let f=x(e);return(0,i.jsxs)("div",{className:"mediaCategoryHoverCard group",children:[(0,i.jsx)("div",{className:"mediaCategoryHoverGlow",style:{backgroundImage:`url(${l||o.A.IMAGE_HORIRONTAL_DEFAULT})`}}),(0,i.jsxs)("div",{className:"relative z-[1] w-full flex items-center justify-start gap-3",children:[(0,i.jsx)(u(),{href:f,className:`fix_img ${a?"w-[50%]":"xl:w-[65%] md:w-[70%] w-[100%]"} aspect-video relative overflow-hidden cursor-pointer rounded-lg transition-transform duration-300 ease-in-out group-hover:scale-[1.02]`,children:(0,i.jsxs)("div",{className:"absolute inset-0",children:[(0,i.jsx)(n(),{className:"object-cover w-full h-full rounded-lg bg-surface",src:l||o.A.IMAGE_HORIRONTAL_DEFAULT,fill:!0,sizes:a?"50vw":"(min-width: 1280px) 65vw, (min-width: 768px) 70vw, 100vw",style:{objectFit:"cover"},alt:t||"content",blurDataURL:o.A.IMAGE_HORIRONTAL_DEFAULT,onError:()=>p(o.A.IMAGE_HORIRONTAL_DEFAULT)}),v>0&&(0,i.jsxs)("div",{className:"",children:[(0,i.jsx)("div",{className:"absolute bottom-0 left-0 w-full bg-[#fff]/70 h-[3px] z-[10]"}),(0,i.jsx)("div",{className:"absolute bottom-0 left-0 bg-brand z-[11] h-[3px]",style:{width:`${v}%`}})]}),function(){if(e?.__typename==="VOD")return(0,i.jsx)("div",{className:"absolute bottom-1 right-1 text-primary text14_500_18 px-[6px] py-[2px] bg-surface-opacity rounded-md",children:(0,i.jsx)("div",{children:(0,d.tX)(e?.video?.duration/1e3||0)})});if(e?.__typename==="Series")return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"absolute bottom-1 right-1 text-primary text14_500_18 px-[6px] py-[2px] bg-surface-opacity rounded-md",children:(0,i.jsx)("div",{children:e?.episodeCount+" Tập"})}),(0,i.jsx)("div",{className:"absolute -z-10 w-[85%] bg-collection top-[-8px] h-10 rounded-t-lg left-[50%] translate-x-[-50%]"}),(0,i.jsx)("div",{className:"absolute -z-10 w-[95%] bg-collection top-[-4px] h-10 rounded-t-lg left-[50%] translate-x-[-50%]"})]});if(e?.__typename==="Collection")return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"absolute bottom-1 right-1 text-primary text14_500_18 px-[6px] py-[2px] bg-surface-opacity rounded-md",children:(0,i.jsx)("div",{children:e?.total+" video"})}),(0,i.jsx)("div",{className:"absolute -z-10 w-[85%] bg-collection top-[-8px] h-10 rounded-t-lg left-[50%] translate-x-[-50%]"}),(0,i.jsx)("div",{className:"absolute -z-10 w-[95%] bg-collection top-[-4px] h-10 rounded-t-lg left-[50%] translate-x-[-50%]"})]});if(e?.__typename==="Event"||e?.__typename==="Programme"){let t=new Date().getTime(),s=e?.startTimestamp||e?.startTime,r=e?.startTimestamp?e?.startTimestamp+e?.duration:e?.stopTime,a=t<s,l=t>r,n=a?"Sắp ph\xe1t s\xf3ng":l?"Đ\xe3 kết th\xfac":"Đang ph\xe1t";return(0,i.jsx)("div",{className:`absolute bottom-1 left-1 ${a?"bg-inverse text-black":l?"bg-tertiary text-primary":"bg-brand text-primary"} flex items-center py-[2px] px-[6px] rounded-md !rounded-tl-none`,children:(0,i.jsxs)("div",{className:"text14_500_18 flex items-center gap-1",children:["Đang ph\xe1t"===n&&h,"Sắp ph\xe1t s\xf3ng"===n&&g,n]})})}return(0,i.jsx)("div",{})}(),(0,i.jsx)(m.A,{labels:e?.channel?.labels})]})}),a&&(0,i.jsxs)("div",{className:"w-[48%]",children:[(0,i.jsx)(u(),{href:f,className:"block text-primary text16_600_20 line-clamp-2 mb-2",children:e?.title}),(0,i.jsx)(u(),{href:`/content/studio-profile/${e?.studioProfile?.id}`,className:"text-secondary2 hover:text-secondary1 transition-colors text14_400_18 line-clamp-2",children:e?.studioProfile?.title})]})]})]})},h=(0,i.jsxs)("svg",{width:"4",height:"4",viewBox:"0 0 4 4",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("g",{clipPath:"url(#clip0_5356_12212)",children:(0,i.jsx)("circle",{cx:"2",cy:"2",r:"1.5",fill:"#F4F4F8"})}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_5356_12212",children:(0,i.jsx)("rect",{width:"4",height:"4",fill:"white"})})})]}),g=(0,i.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{opacity:"0.12",d:"M6 7C6.55228 7 7 6.55228 7 6C7 5.44772 6.55228 5 6 5C5.44772 5 5 5.44772 5 6C5 6.55228 5.44772 7 6 7Z",fill:"#F00000"}),(0,i.jsx)("path",{d:"M8.12132 3.87869C9.29289 5.05026 9.29289 6.94976 8.12132 8.12133M3.87868 8.12131C2.70711 6.94974 2.70711 5.05025 3.87868 3.87867M2.46447 9.53555C0.511845 7.58292 0.511845 4.4171 2.46447 2.46448M9.53553 2.4645C11.4882 4.41712 11.4882 7.58295 9.53553 9.53557M7 6.00001C7 6.5523 6.55228 7.00001 6 7.00001C5.44772 7.00001 5 6.5523 5 6.00001C5 5.44773 5.44772 5.00001 6 5.00001C6.55228 5.00001 7 5.44773 7 6.00001Z",stroke:"#F00000",strokeLinecap:"round",strokeLinejoin:"round"})]});var v=s(42734),f=s(50582),b=s(28340);let _=(0,r.memo)(({id:e,title:t,contentPagination:s,isLastBlock:l,categories:n,isRecommendation:o,isBlockTitleVisible:c,isContentTitleVisible:d})=>{let[m,p]=(0,r.useState)("Tất cả"),[u,h]=(0,r.useState)(n),[g,_]=(0,r.useState)(!1),[w,j]=(0,r.useState)(s?.contents),T=(0,r.useRef)(null),E=(0,r.useRef)(null),N=(0,r.useRef)(null),{handleRecordReadContent:C}=(0,b.e)(),L=e=>{let t=E.current,s=.5*t.offsetWidth;"left"===e?t.scrollLeft-=s:"right"===e&&(t.scrollLeft+=s)},y=(0,f.uh)({onSwipedLeft:()=>L("right"),onSwipedRight:()=>L("left"),preventScrollOnSwipe:!0,trackMouse:!0}),A=e=>{let t=N.current,s=.8*t.offsetWidth;"left"===e?t.scrollLeft-=s:"right"===e&&(t.scrollLeft+=s)},S=(0,f.uh)({onSwipedLeft:()=>A("right"),onSwipedRight:()=>A("left"),preventScrollOnSwipe:!0,trackMouse:!0});async function I(t){try{let{data:s}=await (0,a.A)(e,t,9);if(j(s),_(!1),o){let e=s.map(e=>({id:e?.content?.id,contentDuration:e?.content?.video?.duration||0,watchDuration:0}))||[];C({type:"vod",vods:e,posts:[],shorts:[]})}}catch(e){_(!1)}}return(0,r.useEffect)(()=>{n?.includes("Tất cả")||h(["Tất cả",...n])},[n]),(0,r.useEffect)(()=>{j(s?.contents||[])},[]),(0,r.useEffect)(()=>{T.current&&clearTimeout(T.current),T.current=setTimeout(()=>{I(m)},1e3)},[m]),(0,i.jsxs)("div",{className:`mb-4 ${l?"xl:mb-20":"xl:mb-10"} md:mb-10 xs:mb-5 p-4 sm:py-8 sm:px-6 rounded-3xl bg-surface overflow-hidden`,children:[c&&(0,i.jsx)("div",{className:"text-primary mb-4",children:(0,i.jsx)("p",{className:"text24_700_32 line-clamp-2",children:t?.text})}),(0,i.jsx)("div",{...y,className:"flex text-primary mb-4 gap-2 overflow-x-auto whitespace-nowrap scrollbar-hide",ref:E,children:u?.length>0&&u?.map((e,t)=>(0,i.jsx)("div",{className:`rounded-[50px] py-2 px-3 text14_600_20 curs
1or-pointer ${m===e?"bg-inverse text-invert":"bg-surface-bright text-primary"}`,onClick:()=>{p(e),_(!0)},children:e},t))}),(0,i.jsxs)("div",{className:"wapper__swiper__hidescroll wapper__swiper__custom relative overflow-x-scroll scrollbarPlayerPlaylist",...S,ref:N,children:[(0,i.jsx)("div",{className:"grid grid-cols-3 gap-4 min-w-[1000px]",children:w?.length>0&&w?.map((e,t)=>e||e?.id?(0,i.jsx)(x,{...e,isContentTitleVisible:d},t):(0,i.jsx)(i.Fragment,{}))}),g&&(0,i.jsx)("div",{className:"absolute z-40 top-0 left-[-24px] w-[calc(100%+48px)] h-full bg-surface/40",children:(0,i.jsx)(v.A,{loading:g})})]})]})})},19760:(e,t,s)=>{"use strict";s.d(t,{A:()=>b});var i=s(37876),r=s(37847),a=s(65426),l=s(90828),n=s(91404),o=s(37216),c=s(22085),d=s(54587),m=s.n(d),p=s(14232),u=s(27888);s(32283),s(96637),s(70031);var x=s(30955),h=s(57075),g=s(48230),v=s.n(g);function f({item:e,index:t}){let s=e?.content||e,{togleModalLogin:l}=(0,a.A)(),{pushToContentDetail:d,returnLinkByContentType:u}=(0,o.A)(),{reminderEvent:h,loading:g}=(0,n.A)(),[b,E]=(0,p.useState)(e?.imageURL||s?.imageURL||s?.imageUrl),[N,C]=(0,p.useState)(s?.isReminded||!1);async function L(e){e.stopPropagation();let t=(0,c.iD)();if(!t||"undefined"===t)return void l();try{let e=await h({variables:{eventID:s?.id,on:!N}});if(e?.data?.setEventReminder){let e=!N;C(e),r.Ew.success({message:e?"Đ\xe3 bật th\xf4ng b\xe1o cho sự kiện":"Đ\xe3 tắt th\xf4ng b\xe1o cho sự kiện"})}}catch(e){r.Ew.error({message:"Bật th\xf4ng b\xe1o thất bại"})}}return(0,p.useEffect)(()=>{E(e?.imageURL||s?.imageURL||s?.imageUrl),C(s?.isReminded||!1)},[s?.imageURL,s?.imageUrl,s?.isReminded,e?.imageURL]),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"relative mb-4",children:(0,i.jsxs)("div",{className:"relative flex flex-col items-center gap-2",children:[(0,i.jsx)("span",{className:"text18_500_22 text-secondary1 whitespace-nowrap",children:function(e){if(!e)return"";let t=new Date(e);return`${t.getDate()}/${t.getMonth()+1}/${t.getFullYear()}`}(s?.startTimestamp)}),(0,i.jsx)("span",{className:"relative z-[1] w-2 h-2 rounded-full bg-dot-item"})]})}),(0,i.jsxs)("div",{className:"mediaHoverCard group transition-transform duration-300 ease-in-out hover:scale-[1.02]",children:[(0,i.jsx)("div",{className:"mediaHoverGlow",style:{backgroundImage:`url(${b||x.A.IMAGE_VERTICAL_DEFAULT})`}}),(0,i.jsxs)("div",{className:"relative z-[1]",children:[(0,i.jsx)(v(),{href:u(s),className:"cursor-pointer",onClick:function(){d(e)},role:"button",tabIndex:"0",onKeyPress:()=>{},children:(0,i.jsxs)("div",{className:"fix_img relative aspect-[2/3] w-full overflow-hidden rounded-xl bg-surface",children:[(0,i.jsx)(m(),{className:"rounded-xl bg-surface object-cover",src:b||x.A.IMAGE_VERTICAL_DEFAULT,fill:!0,sizes:"100vw",style:{objectFit:"cover"},alt:s?.title||`reminder-poster-${t}`,blurDataURL:x.A.IMAGE_VERTICAL_DEFAULT,onError:()=>E(x.A.IMAGE_VERTICAL_DEFAULT)}),function(e){if(e?.__typename==="Event"||e?.__typename==="Programme"){let t=new Date().getTime(),s=e?.startTimestamp||e?.startTime,r=e?.startTimestamp?e?.startTimestamp+e?.duration:e?.stopTime,a=t<s,l=t>r,n=a?"Sắp ph\xe1t s\xf3ng":l?"Đ\xe3 kết th\xfac":"Đang ph\xe1t";return(0,i.jsx)("div",{className:`absolute bottom-1 left-1 ${a?"bg-inverse text-black":l?"bg-tertiary text-primary":"bg-brand text-primary"} flex items-center py-[2px] px-[6px] rounded-md !rounded-tl-none`,children:(0,i.jsxs)("div",{className:"text14_500_18 flex items-center gap-1",children:["Đang ph\xe1t"===n&&j,"Sắp ph\xe1t s\xf3ng"===n&&T,n]})})}return null}(s)]})}),(0,i.jsx)("button",{type:"button",onClick:L,disabled:g,className:`mmt-3 w-full rounded-lg border border-solid px-3 py-[10px] text14_700_20 transition-colors s ${N?"border-bright2 bg-[#2A2D37] text-secondary1":"border-[#E8E8EC] bg-inverse text-black hover:bg-[#d9d9df]"} ${g?"opacity-60 cursor-not-allowed":""}`,children:(0,i.jsxs)("span",{className:"flex items-center justify-center gap-1",children:[N?w:_,N?"Đ\xe3 bật th\xf4ng b\xe1o":"Nhắc t\xf4i"]})})]})]})]})}let b=(0,p.memo)(({title:e,contentPagination:t,isLastBlock:s,isRecommendation:r,isBlockTitleVisible:a,indexBlock:n})=>{let[o,c]=(0,p.useState)(t?.contents);return(0,i.jsx)("div",{className:`mb-4 ${s?"xl:mb-20":"xl:mb-10"} md:mb-10 xs:mb-5`,children:t?.contents?.length>0&&(0,i.jsxs)("div",{children:[a&&(0,i.jsx)("h2",{className:"relative mb-5 xs:mb-4",children:(0,i.jsx)("div",{className:"text24_700_32 flex items-center wapper_see_more",children:(0,i.jsx)("span",{className:"mr-4 text-primary",children:e?.text})})}),(0,i.jsxs)("div",{className:"wapper__swiper__custom relative",children:[(0,i.jsx)("div",{className:"pointer-events-none absolute left-0 right-0 top-[calc(12px+clamp(18px,1.4vw,22px))] h-px bg-[#45454A] z-0"}),(0,i.jsx)(h.A,{className:"swiper__Poster",data:o,setData:c,isBlurLastItem:!0,nextCursor:t?.nextCursor,numberItemChangePer:[2,4,6,2,4,6],isRecommendation:r,children:o?.length>0&&o?.map((e,t)=>(0,i.jsx)(u.qr,{children:e?.type==="CardAds"?(0,i.jsx)("div",{children:(0,i.jsx)(l.A,{uniqueId:e?.id,indexBlock:n,type:"poster",data:o,setData:c})}):(0,i.jsx)(f,{item:e,index:t})},e?.id+t.toString()))},"poster_item-remindable")]})]})})}),_=(0,i.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M9 20.6302C9.79614 21.2332 10.8475 21.5999 12 21.5999C13.1525 21.5999 14.2039 21.2332 15 20.6302M3.57109 17.5271C3.09677 17.5271 2.83186 16.8206 3.11877 16.4281C3.78453 15.5173 4.42712 14.1814 4.42712 12.5727L4.45458 10.2417C4.45458 5.91078 7.83278 2.3999 12 2.3999C16.2286 2.3999 19.6566 5.9625 19.6566 10.3572L19.6291 12.5727C19.6291 14.1924 20.2495 15.5356 20.8882 16.4468C21.164 16.8403 20.8984 17.5271 20.43 17.5271L3.57109 17.5271Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),w=(0,i.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 20 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M1.57109 16.5271L18.43 16.5271C18.8984 16.5271 19.164 15.8403 18.8882 15.4468C18.2495 14.5356 17.6291 13.1924 17.6291 11.5727L17.6566 9.35718C17.6566 4.9625 14.2286 1.3999 10 1.3999C5.83278 1.3999 2.45458 4.91078 2.45458 9.24167L2.42712 11.5727C2.42712 13.1814 1.78453 14.5173 1.11877 15.428
11C0.831858 15.8206 1.09677 16.5271 1.57109 16.5271Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M7 19.6302C7.79614 20.2332 8.84747 20.5999 10 20.5999C11.1525 20.5999 12.2039 20.2332 13 19.6302M1.57109 16.5271C1.09677 16.5271 0.831858 15.8206 1.11877 15.4281C1.78453 14.5173 2.42712 13.1814 2.42712 11.5727L2.45458 9.24167C2.45458 4.91078 5.83278 1.3999 10 1.3999C14.2286 1.3999 17.6566 4.9625 17.6566 9.35718L17.6291 11.5727C17.6291 13.1924 18.2495 14.5356 18.8882 15.4468C19.164 15.8403 18.8984 16.5271 18.43 16.5271L1.57109 16.5271Z",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})]}),j=(0,i.jsxs)("svg",{width:"4",height:"4",viewBox:"0 0 4 4",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("g",{clipPath:"url(#clip0_remindable_dot)",children:(0,i.jsx)("circle",{cx:"2",cy:"2",r:"1.5",fill:"#F4F4F8"})}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_remindable_dot",children:(0,i.jsx)("rect",{width:"4",height:"4",fill:"white"})})})]}),T=(0,i.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{opacity:"0.12",d:"M7.99984 9.33329C8.73622 9.33329 9.33317 8.73634 9.33317 7.99996C9.33317 7.26358 8.73622 6.66663 7.99984 6.66663C7.26346 6.66663 6.6665 7.26358 6.6665 7.99996C6.6665 8.73634 7.26346 9.33329 7.99984 9.33329Z",fill:"#F00000"}),(0,i.jsx)("path",{d:"M10.8286 5.17157C12.3907 6.73367 12.3907 9.26632 10.8286 10.8284M5.17174 10.8284C3.60964 9.2663 3.60964 6.73364 5.17174 5.17154M3.28612 12.714C0.682622 10.1105 0.682622 5.88945 3.28612 3.28595M12.7142 3.28598C15.3177 5.88948 15.3177 10.1106 12.7142 12.7141M9.3335 8C9.3335 8.73637 8.73654 9.33333 8.00016 9.33333C7.26378 9.33333 6.66683 8.73637 6.66683 8C6.66683 7.26362 7.26378 6.66666 8.00016 6.66666C8.73654 6.66666 9.3335 7.26362 9.3335 8Z",stroke:"#F00000",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},26110:(e,t,s)=>{"use strict";s.d(t,{A:()=>w});var i=s(37876),r=s(14232),a=s(27888);s(32283),s(96637),s(70031);var l=s(54587),n=s.n(l),o=s(30955),c=s(22085),d=s(65426),m=s(91404),p=s(37847),u=s(41629),x=s(37216),h=s(48230),g=s.n(h);let v=function({content:e,title:t,imageURL:s,isContentTitleVisible:a}){let[l,h]=(0,r.useState)(s),[v,_]=(0,r.useState)(e?.isReminded||!1),{togleModalLogin:w}=(0,d.A)(),{reminderEvent:j}=(0,m.A)(),{pushToContentDetail:T,returnLinkByContentType:E}=(0,x.A)();async function N(){let t=(0,c.iD)();if(!t||"undefined"===t)return void w();try{let t=await j({variables:{eventID:e?.id,on:!v}});if(t?.data?.setEventReminder){v?p.Ew.success({message:"Đ\xe3 tắt th\xf4ng b\xe1o cho sự kiện"}):p.Ew.success({message:"Đ\xe3 bật th\xf4ng b\xe1o cho sự kiện"}),_(e=>!e);return}}catch(e){p.Ew.error({message:"Bật th\xf4ng b\xe1o thất bại"})}}(0,r.useEffect)(()=>{_(e?.isReminded||!1)},[e?.isReminded]);let C=()=>{T(e)};return(0,i.jsx)("div",{onClick:function(){},role:"button",tabIndex:"0",onKeyPress:()=>{},className:"mediaHoverCard group transition-transform duration-300 ease-in-out hover:scale-[1.02]",children:(0,i.jsxs)(g(),{href:`${E(e)}`,className:"relative",onClick:C,children:[(0,i.jsx)("div",{className:"relative wapper__play blockChannelSquares",children:(0,i.jsx)("div",{className:"fix_img relative mb-2 aspect-square w-full overflow-hidden rounded-xl transition-transform duration-300 ease-in-out group-hover:scale-[1.02]",children:(0,i.jsx)(n(),{src:l||o.A.IMAGE_CHANNEL_SQUARE_DEFAULT,fill:!0,sizes:"100vw",style:{objectFit:"cover"},alt:t||"event",className:"w-full h-full object-cover rounded-xl bg-surface",blurDataURL:o.A.IMAGE_CHANNEL_SQUARE_DEFAULT,onError:()=>h(o.A.IMAGE_CHANNEL_SQUARE_DEFAULT)})})}),(0,i.jsxs)("div",{className:"absolute top-3 left-3 right-3 lg:top-4 lg:left-6 lg:right-6 flex items-start justify-between",children:[(0,i.jsxs)("div",{className:"rounded-lg py-[10px] px-[6px] xs:p-[7px] bg-inverse flex flex-col items-center justify-center",children:[(0,i.jsx)("p",{className:"text20_700_30 text-invert",children:new Date(e?.startTimestamp).getDate()}),(0,i.jsxs)("p",{className:"text16_500_20 text-disable",children:["Thg ",new Date(e?.startTimestamp).getMonth()+1]})]}),(0,i.jsx)("div",{className:"rounded-full w-[44px] h-[44px] xs:w-[36px] xs:h-[36px] flex justify-center items-center bg-white/30 backdrop-blur-md",onClick:N,children:v?b:f})]}),a&&(0,i.jsxs)("div",{className:"absolute bottom-3 left-3 right-3 lg:bottom-6 lg:left-6 lg:right-6 rounded-xl bg-surface/60 backdrop-blur-sm p-2 lg:p-4",onClick:C,children:[(0,i.jsx)("p",{className:"text14_500_18 text-secondary1 line-clamp-1",children:e?.categories?.[0]}),(0,i.jsx)("p",{className:"text16_500_20 text-primary mt-1 line-clamp-1",children:e?.title}),(0,i.jsx)("p",{className:"text14_400_20 text-secondary1 mt-2 line-clamp-1",children:(0,u.CG)(e?.description)})]})]})})},f=(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,i.jsx)("path",{d:"M9 20.6302C9.79614 21.2332 10.8475 21.5999 12 21.5999C13.1525 21.5999 14.2039 21.2332 15 20.6302M3.57109 17.5271C3.09677 17.5271 2.83186 16.8206 3.11877 16.4281C3.78453 15.5173 4.42712 14.1814 4.42712 12.5727L4.45458 10.2417C4.45458 5.91078 7.83278 2.3999 12 2.3999C16.2286 2.3999 19.6566 5.9625 19.6566 10.3572L19.6291 12.5727C19.6291 14.1924 20.2495 15.5356 20.8882 16.4468C21.164 16.8403 20.8984 17.5271 20.43 17.5271L3.57109 17.5271Z",stroke:"#F4F4F8",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),b=(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"22",viewBox:"0 0 20 22",fill:"none",children:[(0,i.jsx)("path",{d:"M1.57109 16.5271L18.43 16.5271C18.8984 16.5271 19.164 15.8403 18.8882 15.4468C18.2495 14.5356 17.6291 13.1924 17.6291 11.5727L17.6566 9.35718C17.6566 4.9625 14.2286 1.3999 10 1.3999C5.83278 1.3999 2.45458 4.91078 2.45458 9.24167L2.42712 11.5727C2.42712 13.1814 1.78453 14.5173 1.11877 15.428
11C0.831858 15.8206 1.09677 16.5271 1.57109 16.5271Z",fill:"#F4F4F8"}),(0,i.jsx)("path",{d:"M7 19.6302C7.79614 20.2332 8.84747 20.5999 10 20.5999C11.1525 20.5999 12.2039 20.2332 13 19.6302M1.57109 16.5271C1.09677 16.5271 0.831858 15.8206 1.11877 15.4281C1.78453 14.5173 2.42712 13.1814 2.42712 11.5727L2.45458 9.24167C2.45458 4.91078 5.83278 1.3999 10 1.3999C14.2286 1.3999 17.6566 4.9625 17.6566 9.35718L17.6291 11.5727C17.6291 13.1924 18.2495 14.5356 18.8882 15.4468C19.164 15.8403 18.8984 16.5271 18.43 16.5271L1.57109 16.5271Z",stroke:"#F4F4F8",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})]});var _=s(57075);let w=(0,r.memo)(({title:e,contentPagination:t,isLastBlock:s,isBlockTitleVisible:l,isContentTitleVisible:n})=>{let[o,c]=(0,r.useState)(t?.contents);return(0,i.jsxs)("div",{className:`mb-4 ${s?"xl:mb-20":"xl:mb-10"} md:mb-10 xs:mb-5`,children:[l&&(0,i.jsx)("h2",{className:"relative mb-5 xs:mb-4",children:(0,i.jsxs)("div",{className:"text24_700_32 flex items-center wapper_see_more",children:[(0,i.jsx)("span",{className:"mr-4 text-primary",children:e?.text})," "]})}),(0,i.jsx)("div",{className:"wapper__swiper__custom",children:(0,i.jsx)(_.A,{className:"mySwiper",data:o,setData:c,isBlurLastItem:!0,nextCursor:t?.nextCursor,numberItemChangePer:[1,3,4,1,3,4],children:o?.length>0&&o?.map((e,t)=>(0,i.jsx)(a.qr,{children:(0,i.jsx)(v,{...e,isContentTitleVisible:n})},e?.id+t.toString()))},"event-upcoming")})]})})},28340:(e,t,s)=>{"use strict";s.d(t,{e:()=>o});var i=s(79350),r=s(53588),a=s(65426),l=s(22085);let n=(0,i.J1)`
2  mutation RecordReadContents($vodIDs: [ID!], $shortIDs: [ID!], $postIDs: [ID!]) {
3    recordReadContents(vodIDs: $vodIDs, shortIDs: $shortIDs, postIDs: $postIDs)
4  }
5`,o=()=>{let[e,{loading:t,error:s}]=(0,r.n)(n),{userInfo:i}=(0,a.A)();return{handleRecordReadContent:async({type:t,vods:s,shorts:r,posts:a})=>{try{let n=[],o=[],c=[];if("vod"===t&&((0,l.Hc)("vod",s),n=(0,l.xZ)("vod")),"short"===t&&((0,l.Hc)("short",r),o=(0,l.xZ)("short")),"post"===t&&((0,l.Hc)("post",a),c=(0,l.xZ)("post")),n?.length>=10||o?.length>=10||c?.length>=10){if(!i?.phoneNumber)return void console.log("User not logged in, skip record read content");let t=n.map(e=>e?.id)?.filter(e=>null!=e),s=o.map(e=>e?.id)?.filter(e=>null!=e),r=c.map(e=>e?.id)?.filter(e=>null!=e),a=await e({variables:{vodIDs:t||[],shortIDs:s||[],postIDs:r||[]}});if(a?.data?.recordReadContents){(0,l.et)("all");let e=localStorage.getItem("dataRecordReadTimeExpired");e&&"undefined"!==e||(e=new Date().getTime()+864e5,localStorage.setItem("dataRecordReadTimeExpired",e));let i=JSON.parse(localStorage.getItem("dataRecordReadSent")||"[]")||[];i.push(...t,...s,...r),localStorage.setItem("dataRecordReadSent",JSON.stringify(i)),console.log("Record read content successfully")}return}}catch(e){return console.error("Error record read content:",e),!1}},loading:t,error:s}}},28505:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var i=s(52639),r=s(79350),a=s(30700);let l=(0,r.J1)`
6  query HomepageBlockContentsByBlockID(
7    $blockID: String!
8    $category: String
9    $pageSize: Int
10    $protocolType: ProtocolType!
11  ) {
12    homepageBlockContentsByBlockID(
13      clientType: WEBSITE
14      blockID: $blockID
15      screenScale: X2
16      category: $category
17      pageSize: $pageSize
18    ) {
19      nextCursor
20      contents {
21        contentType
22        labels
23        imageURL
24        titleArtURL
25        content {
26          id
27          ... on VOD {
28            id
29            contentType
30            title
31            viewCount
32            warningCriteria
33            publicationTimestamp
34            video {
35              playURL(clientType: WEBSITE, protocolType: $protocolType)
36              duration
37              drmEnabled
38              loginRequired
39              drmLicenseToken
40              lastWatchPosition
41              thumbnails {
42                vttURL
43              }
44            }
45            trailer {
46              playURL(clientType: WEBSITE, protocolType: $protocolType)
47            }
48            studioProfile {
49              id
50              title
51              profileImageURL(imageName: STUDIO_PROFILE, screenScale: X2)
52            }
53            categories
54            series {
55              id
56              episodeOffset
57            }
58          }
59          ... on Programme {
60            id
61            startTime
62            stopTime
63            title
64            notificationOn
65            thumbnailURL(screenScale: X2, clientType: WEBSITE)
66            channel {
67              id
68            }
69          }
70          ... on Channel {
71            id
72            title
73            number
74            logoURL(screenScale: X2, clientType: WEBSITE)
75            isVip
76            canCatchUp
77            canStartOver
78            partner
79            labels
80            isFavorite
81            liveImageURL(screenScale: X2, imageName: THUMBNAIL)
82            errorCode
83            video {
84              liveURL(clientType: WEBSITE, protocolType: $protocolType)
85              catchUpURL(clientType: WEBSITE, protocolType: $protocolType)
86              drmEnabled
87              loginRequired
88            }
89            programmes {
90              id
91              startTime
92              stopTime
93              title
94              notificationOn
95              thumbnailURL(clientType: WEBSITE, screenScale: X2)
96            }
97          }
98          ... on Event {
99            id
100            title
101            imageUrl(screenScale: X2, imageName: THUMBNAIL_BIG)
102            startTimestamp
103            duration
104            reminderSet
105            categories
106            errorCode
107            channel {
108              id
109              title
110              number
111              logoURL(screenScale: X2, clientType: WEBSITE)
112              isVip
113              canCatchUp
114              canStartOver
115              partner
116              labels
117              isFavorite
118              liveViewCount
119              errorCode
120              video {
121                liveURL(clientType: WEBSITE, protocolType: $protocolType)
122                catchUpURL(clientType: WEBSITE, protocolType: $protocolType)
123                drmEnabled
124                loginRequired
125              }
126              programmes {
127                id
128                startTime
129                stopTime
130                title
131                notificationOn
132                thumbnailURL(screenScale: X2, clientType: WEBSITE)
133              }
134            }
135          }
136          ... on Series {
137            id
138            title
139            episodeCount
140            viewCount
141            warningCriteria
142            publicationTimestamp
143            trailer {
144              playURL(clientType: WEBSITE, protocolType: $protocolType)
145              thumbnails {
146                vttURL
147              }
148            }
149            currentEpisode {
150              seriesID
151              offset
152              id
153              title
154              imageURL
155              publicationTimestamp
156              viewCount
157              video {
158                duration
159                drmEnabled
160                loginRequired
161                drmLicenseToken
162                lastWatchPosition
163                playURL(clientType: WEBSITE, protocolType: $protocolType)
164                thumbnails {
165                  vttURL
166                }
167              }
168            }
169            studioProfile {
170              id
171              title
172              profileImageURL(imageName: STUDIO_PROFILE, screenScale: X2)
173            }
174            categories
175          }
176          ... on StudioProfile {
177            id
178            title
179            profileImageURL(imageName: STUDIO_PROFILE, screenScale: X2)
180          }
181          ... on Collection {
182            id
183            collectionType
184            imageURL(screenScale: X2)
185            title
186            viewCount
187            total
188            studioProfile {
189              id
190              title
191              profileImageURL(imageName: STUDIO_PROFILE, screenScale: X2)
192            }
193          }
194          ... on Episode {
195            id
196            commentCount
197            seriesID
198            offset
199            title
200            imageURL
201            publicationTimestamp
202            viewCount
203            likeCount
204            liked
205            saved
206            commentEnabled
207            warningCriteria
208            errorCode
209            video {
210              playURL(clientType: WEBSITE, protocolType: $protocolType)
211              duration
212              drmEnabled
213              loginRequired
214              drmLicenseToken
215              lastWatchPosition
216            }
217            studioProfile {
218              id
219              title
220              profileImageURL(imageName: STUDIO_PROFILE, screenScale: X2)
221            }
222            shareURL
223          }
224          ... on Playlist {
225            id
226            title
227            imageURL(screenScale: X2)
228            shareURL
229            playlistType
230            errorCode
231            itemCount {
232              vod
233              short
234              genericCollection
235              series
236            }
237            user {
238              id
239              avatarURL(imageName: USER_AVATAR, screenScale: X2)
240              fullName
241              birthDate
242              email
243              gender
244              phoneNumber
245            }
246          }
247        }
248      }
249    }
250  }
251`;async function n(e,t,s=9){let r=(0,a.l)()||"DASH";if(e){let{data:a}=await i.client.query({query:l,variables:{blockID:e,pageSize:s,category:t&&"Tất cả"!==t?t:null,protocolType:r},fetchPolicy:"no-cache"});return{data:a?.homepageBlockContentsByBlockID?.contents||[],nextCursor:a?.homepageBlockContentsByBlockID?.nextCursor}}return{data:[],nextCursor:""}}},31737:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var i=s(37876),r=s(14232),a=s(27888);s(32283),s(96637),s(70031);var l=s(86852),n=s(76970),o=s(59);let c=(0,r.memo)(({title:e,contentPagination:t,layoutType:s,isRecommendation:c,isBlockTitleVisible:d,isContentTitleVisible:m})=>{let p=(0,r.useRef)(null),[u,x]=(0,r.useState)("desktop");return(0,r.useEffect)(()=>{let e=()=>{x((0,o.pV)(window.innerWidth))};return e(),window.addEventListener("resize",e,!0),()=>{window.removeEventListener("resize",e,!0)}},[]),(0,i.jsx)("div",{className:"mb-5 xl:mb-10 md:mb-10 overflow-hidden",children:t?.contents?.length>0&&(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)("img",{className:"rounded-3xl absolute w-full h-full opacity-30",src:t?.contents[0]?.imageURL,alt:""}),(0,i.jsx)("div",{className:"absolute h-[calc(100%+1px)] w-full backdrop-blur-3xl rounded-3xl"}),(0,i.jsxs)("div",{className:"3xl:p-8 xs:p-6",children:[d&&(0,i.jsx)("h2",{className:"relative mb-5",children:(0,i.jsxs)("div",{className:"text24_700_32 flex items-center wapper_see_more",children:[(0,i.jsx)("span",{className:"mr-4 text-primary",children:e?.text})," "]})}),(0,i.jsx)("div",{className:"wapper__swiper__custom",children:(0,i.jsx)(a.RC,{ref:p,slidesPerView:"mobile"===u?2:"ipad"===u?4.6:5.4,slidesPerGroup:"mobile"===u?2:"ipad"===u?3:5,spaceBetween:"mobile"===u?10:"ipad"===u?12:20,modules:[l.Vx],className:"swiper__topTen",speed:800,navigation:!0,isRecommendation:c,children:t?.contents?.length>0&&t?.contents?.map((e,t)=>(0,i.jsx)(a.qr,{children:(0,i.jsx)(n.A,{...e,display_type:1,index:t+1,layoutType:s,hideText:!1,showTime:!1,isContentDescriptionVisible:m})},e?.id+t.toString()))},"vod_item")})]})]})})})},31982:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var i=s(37876),r=s(14232),a=s(27888);s(32283),s(96637),s(70031);var l=s(36066),n=s(57075),o=s(90828);let c=(0,r.memo)(({title:e,contentPagination:t,isLastBlock:s,isRecommendation:c,isBlockTitleVisible:d,isContentTitleVisible:m,indexBlock:p})=>{let[u,x]=(0,r.useState)(t?.contents);return(0,i.jsxs)("div",{className:`mb-4 ${s?"xl:mb-20":"xl:mb-10"} md:mb-10 xs:mb-5`,children:[d&&(0,i.jsx)("h2",{className:"relative mb-5 xs:mb-4",children:(0,i.jsxs)("div",{className:"text24_700_32 flex items-center wapper_see_more",children:[(0,i.jsx)("span",{className:"mr-4 text-primary",children:e?.text})," "]})}),(0,i.jsx)("div",{className:"wapper__swiper__custom",children:(0,i.jsx)(n.A,{className:"mySwiper",data:u,setData:x,isBlurLastItem:!0,nextCursor:t?.nextCursor,numberItemChangePer:[2,4,5,2,4,5],isRecommendation:c,children:u?.length>0&&u?.map((e,t)=>(0,i.jsx)(a.qr,{children:e?.type==="CardAds"?(0,i.jsx)(o.A,{indexBlock:p,uniqueId:e?.id,isContentDescriptionVisible:m,type:"vod_thumbnail",data:u,setData:x}):(0,i.jsx)(l.A,{...e,hideText:!1,showTime:!1,isContentDescriptionVisible:m})},e?.id+t.toString()))},"vod_item_swiper-wipe")})]})})},39193:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var i=s(37876),r=s(14232),a=s(27888);s(32283),s(96637),s(70031);var l=s(76970),n=s(57075),o=s(90828);let c=(0,r.memo)(({title:e,contentPagination:t,isLastBlock:s,isRecommendation:c,isBlockTitleVisible:d,isContentTitleVisible:m,indexBlock:p})=>{let[u,x]=(0,r.useState)(t?.contents);return(0,i.jsx)("div",{className:`mb-4 ${s?"xl:mb-20":"xl:mb-10"} md:mb-10 xs:mb-5`,children:t?.contents?.length>0&&(0,i.jsxs)("div",{children:[d&&(0,i.jsx)("h2",{className:"relative mb-5 xs:mb-4",children:(0,i.jsxs)("div",{className:"text24_700_32 flex items-center wapper_see_more",children:[(0,i.jsx)("span",{className:"mr-4 text-primary",children:e?.text})," "]})}),(0,i.jsx)("div",{className:"wapper__swiper__custom",children:(0,i.jsx)(n.A,{className:"swiper__Poster",data:u,setData:x,isBlurLastItem:!0,nextCursor:t?.nextCursor,numberItemChangePer:[2,4,6,2,4,6],isRecommendation:c,children:u?.length>0&&u?.map((e,t)=>(0,i.jsx)(a.qr,{children:e?.type==="CardAds"?(0,i.jsx)(o.A,{uniqueId:e?.id,indexBlock:p,isContentDescriptionVisible:m,type:"poster",data:u,setData:x}):(0,i.jsx)(l.A,{...e,index:t+1,hideText:!1,showTime:!1,isContentDescriptionVisible:m})},e?.id+t.toString()))},"poster_item-wipe")})]})})})},45155:(e,t,s)=>{"use strict";s.d(t,{A:()=>f});var i=s(37876),r=s(14232),a=s(27888);s(32283),s(96637),s(70031);var l=s(76970),n=s(54587),o=s.n(n),c=s(48230),d=s.n(c),m=s(94710),p=s(37847),u=s(65426),x=s(22085),h=s(57075),g=s(30955),v=s(83133);let f=(0,r.memo)(({title:e,contentPagination:t,isLastBlock:s,studioProfile:n,isRecommendation:c,isBlockTitleVisible:f,isContentTitleVisible:j})=>{let[T,E]=(0,r.useState)(t?.contents),[N,C]=(0,r.useState)(n?.followed),{followStudioProfile:L,loading:y}=(0,m.A)(N?"unFollow":"follow"),{togleModalLogin:A}=(0,u.A)();async function S(){let e=(0,x.iD)();if(!e||"undefined"===e)return void A();if(!y)try{let e=await L({variables:{id:N?n?.id:[n?.id]}});if(e?.data?.follow){C(!0),(0,v.Jl)({studio_id:n?.id,studio_name:n?.title});return}if(e?.data?.unFollow){C(!1),(0,v.Ul)({studio_id:n?.id,studio_name:n?.title});return}}catch(e){p.Ew.error({message:"Thao t\xe1c kh\xf4ng th\xe0nh c\xf4ng. Vui l\xf2ng thử lại sau"})}}return(0,r.useEffect)(()=>{C(n?.followed)},[n]),(0,i.jsxs)("div",{className:`mb-4 ${s?"xl:mb-20":"xl:mb-10"} md:mb-10 xs:mb-5 p-4 sm:py-8 sm:px-6 rounded-3xl bg-surface overflow-hidden`,children:[(0,i.jsxs)("div",{className:"text-primary mb-6",children:[(0,i.jsxs)("div",{className:"flex items-center justify-between",children:[(0,i.jsxs)("div",{className:"flex items-center justify-start",children:[(0,i.jsx)(d(),{href:`/content/studio-profile/${n?.id}`,className:"relative h-14 w-14 cursor-pointer overflow-hidden rounded-full",children:(0,i.jsx)(o(),{src:n?.profileImageURL||g.A.AVATAR_DEFAULT,alt:"",fill:!0,sizes:"100vw",className:"object-cover",style:{objectFit:"cover"}})}),(0,i.jsx)("div",{className:"ml-3 text20_600_24",children:n?.title}),n?.isVerified&&(0,i.jsx)("div",{className:"ml-[6px]",children:w})]}),(0,i.jsx)("div",{className:"w-[42px] h-[42px] flex justify-center items-center rounded-full cursor-pointer bg-background4 border border-solid border-dark",onClick:S,children:N?_:b})]}),f&&(0,i.jsx)("p",{className:"text20_600_24 line-clamp-2 mt-4",children:e?.text})]}),(0,i.jsx)("div",{className:"wapper__swiper__custom",children:(0,i.jsx)(h.A,{className:"swiper__topTen",data:T,setData:E,isBlurLastItem:!1,nextCursor:t?.nextCursor,numberItemChangePer:[2,3.5,5,2,4,5],isRecommendation:c,children:T?.length>0&&T?.map((e,t)=>(0,i.jsx)(a.qr,{children:(0,i.jsx)(l.A,{...e,isOnlyShowTitle:!0,isContentDescriptionVisible:j})},e?.id+t.toString()))},"vod_item")})]})}),b=(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,i.jsx)("path",{d:"M14 8H8V14H6V8H0V6H6V0H8V6H14V8Z",fill:"#F4F4F
2518"})}),_=(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,i.jsx)("path",{d:"M20 6L9 17L4 12",stroke:"#F4F4F8",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),w=(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",children:(0,i.jsx)("path",{d:"M14.6667 7L13.04 5.14L13.2667 2.68L10.86 2.13333L9.6 0L7.33333 0.973333L5.06667 0L3.80667 2.12667L1.4 2.66667L1.62667 5.13333L0 7L1.62667 8.86L1.4 11.3267L3.80667 11.8733L5.06667 14L7.33333 13.02L9.6 13.9933L10.86 11.8667L13.2667 11.32L13.04 8.86L14.6667 7ZM6.06 10.1467L3.52667 7.60667L4.51333 6.62L6.06 8.17333L9.96 4.26L10.9467 5.24667L6.06 10.1467Z",fill:"#2D9CDB"})})},50582:(e,t,s)=>{"use strict";s.d(t,{uh:()=>c});var i=s(14232);let r={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},a={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},l="mousemove",n="mouseup";function o(e,t){if(0===t)return e;let s=Math.PI/180*t;return[e[0]*Math.cos(s)+e[1]*Math.sin(s),e[1]*Math.cos(s)-e[0]*Math.sin(s)]}function c(e){var t,s,c;let d,{trackMouse:m}=e,p=i.useRef(Object.assign({},a)),u=i.useRef(Object.assign({},r)),x=i.useRef(Object.assign({},u.current));for(d in x.current=Object.assign({},u.current),u.current=Object.assign(Object.assign({},r),e),r)void 0===u.current[d]&&(u.current[d]=r[d]);let[h,g]=i.useMemo(()=>{var e,t;let s,i,c,d,x,h;return e=e=>p.current=e(p.current,u.current),t={trackMouse:m},s=t=>{let s="touches"in t;s&&t.touches.length>1||e((e,r)=>{r.trackMouse&&!s&&(document.addEventListener(l,i),document.addEventListener(n,d));let{clientX:c,clientY:m}=s?t.touches[0]:t,p=o([c,m],r.rotationAngle);return r.onTouchStartOrOnMouseDown&&r.onTouchStartOrOnMouseDown({event:t}),Object.assign(Object.assign(Object.assign({},e),a),{initial:p.slice(),xy:p,start:t.timeStamp||0})})},i=t=>{e((e,s)=>{var i,a,l,n;let c="touches"in t;if(c&&t.touches.length>1)return e;if(t.timeStamp-e.start>s.swipeDuration)return e.swiping?Object.assign(Object.assign({},e),{swiping:!1}):e;let{clientX:d,clientY:m}=c?t.touches[0]:t,[p,u]=o([d,m],s.rotationAngle),x=p-e.xy[0],h=u-e.xy[1],g=Math.abs(x),v=Math.abs(h),f=(t.timeStamp||0)-e.start,b=Math.sqrt(g*g+v*v)/(f||1),_=[x/(f||1),h/(f||1)],w=(i=g,a=v,l=x,n=h,i>a?l>0?"Right":"Left":n>0?"Down":"Up"),j="number"==typeof s.delta?s.delta:s.delta[w.toLowerCase()]||r.delta;if(g<j&&v<j&&!e.swiping)return e;let T={absX:g,absY:v,deltaX:x,deltaY:h,dir:w,event:t,first:e.first,initial:e.initial,velocity:b,vxvy:_};T.first&&s.onSwipeStart&&s.onSwipeStart(T),s.onSwiping&&s.onSwiping(T);let E=!1;return(s.onSwiping||s.onSwiped||s[`onSwiped${w}`])&&(E=!0),E&&s.preventScrollOnSwipe&&s.trackTouch&&t.cancelable&&t.preventDefault(),Object.assign(Object.assign({},e),{first:!1,eventData:T,swiping:!0})})},c=t=>{e((e,s)=>{let i;if(e.swiping&&e.eventData){if(t.timeStamp-e.start<s.swipeDuration){i=Object.assign(Object.assign({},e.eventData),{event:t}),s.onSwiped&&s.onSwiped(i);let r=s[`onSwiped${i.dir}`];r&&r(i)}}else s.onTap&&s.onTap({event:t});return s.onTouchEndOrOnMouseUp&&s.onTouchEndOrOnMouseUp({event:t}),Object.assign(Object.assign(Object.assign({},e),a),{eventData:i})})},d=e=>{document.removeEventListener(l,i),document.removeEventListener(n,d),c(e)},x=(e,t)=>{let a=()=>{};if(e&&e.addEventListener){let l=Object.assign(Object.assign({},r.touchEventOptions),t.touchEventOptions),n=[["touchstart",s,l],["touchmove",i,Object.assign(Object.assign({},l),t.preventScrollOnSwipe?{passive:!1}:{})],["touchend",c,l]];n.forEach(([t,s,i])=>e.addEventListener(t,s,i)),a=()=>n.forEach(([t,s])=>e.removeEventListener(t,s))}return a},h={ref:t=>{null!==t&&e((e,s)=>{if(e.el===t)return e;let i={};return e.el&&e.el!==t&&e.cleanUpTouch&&(e.cleanUpTouch(),i.cleanUpTouch=void 0),s.trackTouch&&t&&(i.cleanUpTouch=x(t,s)),Object.assign(Object.assign(Object.assign({},e),{el:t}),i)})}},t.trackMouse&&(h.onMouseDown=s),[h,x]},[m]);return t=p.current,s=u.current,c=x.current,p.current=s.trackTouch&&t.el?t.cleanUpTouch?s.preventScrollOnSwipe!==c.preventScrollOnSwipe||s.touchEventOptions.passive!==c.touchEventOptions.passive?(t.cleanUpTouch(),Object.assign(Object.assign({},t),{cleanUpTouch:g(t.el,s)})):t:Object.assign(Object.assign({},t),{cleanUpTouch:g(t.el,s)}):(t.cleanUpTouch&&t.cleanUpTouch(),Object.assign(Object.assign({},t),{cleanUpTouch:void 0})),h}},55183:(e,t,s)=>{"use strict";s.d(t,{A:()=>p});var i=s(37876),r=s(14232),a=s(27888);s(32283),s(96637),s(70031);var l=s(36066),n=s(57075),o=s(30955),c=s(48230),d=s.n(c),m=s(9842);let p=(0,r.memo)(({id:e,title:t,contentPagination:s,isLastBlock:c,isRecommendation:p,isBlockTitleVisible:u,isContentTitleVisible:x})=>{let[h,g]=(0,r.useState)(s?.contents),[v,f]=(0,r.useState)(t?.backgroundURL),b=(0,m.nF)(t?.text,e);return(0,r.useEffect)(()=>{f(t?.backgroundURL||o.A.IMAGE_HORIRONTAL_DEFAULT)},[t]),(0,i.jsxs)("div",{className:`group/seasonalBlock relative ${c?"xl:mb-20":"xl:mb-16"} mt-0 md:mb-12 xs:mb-4`,children:[(0,i.jsx)("div",{className:"w-full",children:(0,i.jsxs)("div",{className:"aspect-[2/2] sm:aspect-[3/2] lg:aspect-[14/5] ml-[-3.15%] rounded-t-[40px] overflow-hidden w-[99svw] !max-w-[2560px]",children:[(0,i.jsx)("img",{src:v,className:"w-full h-full object-cover object-top",alt:t?.title||"",onError:()=>f(o.A.IMAGE_HORIRONTAL_DEFAULT)}),(0,i.jsx)("div",{className:"absolute w-[100svw] ml-[-3.15%] h-[100%] z-0 left-0 bottom-[-1px]",style:{background:"linear-gradient(180deg, rgba(5, 5, 6, 0) 21.85%, #050506 68.39%, #050506 100%)"}})]})}),(0,i.jsxs)("div",{className:"absolute bottom-4 left-0 wapper__swiper__custom w-full",children:[u&&(0,i.jsxs)("div",{className:"",children:[(0,i.jsxs)("div",{className:"mb-5 flex max-w-[100%] items-center gap-3 xs:mb-4 lg:max-w-[70%]",children:[(0,i.jsx)("p",{className:"text-primary text24_700_32 line-clamp-2",children:t?.text}),b&&(0,i.jsxs)(d(),{href:b,className:"flex shrink-0 items-center gap-1 whitespace-nowrap rounded-full bg-[#FFFFFF29] px-3 py-1 text14_700_20 text-primary opacity-100 transition-all duration-200 hover:bg-[#FFFFFF3D] focus-visible:translate-x-0 focus-visible:opacity-100 md:translate-x-[-6px] md:opacity-0 md:group-hover/seasonalBlock:translate-x-0 md:group-hover/seasonalBlock:opacity-100",children:["Xem tất cả",(0,i.jsx)("span",{"aria-hidden":"true",children:"›"})]})]}),t?.description&&(0,i.jsx)("p",{className:"xs:h-0 sm:h-auto text-secondary1 text20_400_24 lg:max-w-[644px] sm:max-w-[444px] max-w-[300px] line-clamp-2 xl:mb-[46px] md:mb-8 sm:mb-6",children:t?.description})]}),(0,i.jsx)(n.A,{className:"mySwiper",data:h,setData:g,isBlurLastItem:!0,nextCursor:s?.nextCursor,numberItemChangePer:[2,4,5,2,4,5],isRecommendation:p,children:h?.length>0&&h?.map((e,t)=>(0,i.jsx)(a.qr,{children:(0,i.jsx)(l.A,{...e,isOnlyShowTitle:!0,isContentDescriptionVisible:x})},e?.id+t.toString()))},"season-event")]})]})})},57075:(e,t,s)=>{"use strict";s.d(t,{A:()=>m});var i=s(37876),r=s(14232),a=s(27888);s(32283),s(96637),s(70031);var l=s(86852),n=s(59),o=s(71336),c=s(28340),d=s(4545);let m=function({children:e,swiperKey:t,className:s,isBlurLastItem:m,numberItemChangePer:p,data:u,setData:x,nextCursor:h,isRecommendation:g,typeBlock:v}){let f=(0,r.useRef)(null),[b,_]=(0,r.useState)("desktop"),[w,j]=(0,r.useState)(h),[T,E]=(0,r.useState)(!1),{handleRecordReadContent:N}=(0,c.e)();function C(){return"mobile"===b?p?.[0]||1:"ipad"===b?p?.[1]||3:p?.[2]||5}(0,r.useEffect)(()=>{T&&w&&L(u,w)},[T]),(0,r.useEffect)(()=>{let e=()=>{_((0,n.pV)(window.innerWidth))};return e(),window.addEventListener("resize",e,!0),()=>{window.removeEventListener("resize",e,!0)}},[]),(0,r.useEffect)(()=>
251{if(!f.current||!m)return;let e=f.current.swiper,t=C()-1,s=s=>{if(s+t>=u?.length-C()&&E(!0),g){let e=u.map(e=>({id:e?.content?.id,contentDuration:e?.content?.video?.duration||e?.content?.duration||0,watchDuration:0}))||[];v===d.W.TOP_SHORT_POSTER?N({type:"short",vods:[],posts:[],shorts:e}):N({type:"vod",vods:e,posts:[],shorts:[]})}e.slides.forEach((e,i)=>{e.classList.toggle("swiper-slide-blank",i<s||i>s+t)})};return s(e.activeIndex),e.on("slideChange",()=>{s(e.activeIndex)}),()=>{e.off("slideChange")}},[f,b,u]);let L=async(e,t)=>{try{let{data:s,nextCursor:i}=await (0,o.A)(t);x([...e,...s]),E(!1),j(i)}catch(e){E(!1)}};return(0,i.jsx)(a.RC,{ref:f,slidesPerView:C(),slidesPerGroup:"mobile"===b?p?.[3]||1:"ipad"===b?p?.[4]||3:p?.[5]||5,spaceBetween:"mobile"===b?10:"ipad"===b?12:20,modules:[l.Vx],className:s,speed:800,navigation:!0,children:e},t)}},57293:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var i=s(37876);s(14232);let r=function({labels:e,page:t}){if(e?.includes("PREMIUM")){window.innerWidth;let e="";return e="event-featured-miniapp"===t?"/Home/TagPackage/TagPremium.svg":"/Home/TagPackage/TagPremiumSmall.svg",(0,i.jsx)("div",{className:`absolute ${"event-featured-miniapp"===t?"top-3 right-3":"top-1 right-1"}  w-auto lg:h-[22px] h-[20px]`,children:(0,i.jsx)("img",{src:e,alt:"Premium",className:"w-full h-full object-cover"})})}return(0,i.jsx)(i.Fragment,{})}},58678:(e,t,s)=>{"use strict";s.d(t,{A:()=>x});var i=s(37876),r=s(14232),a=s(27888);s(32283),s(96637),s(70031);var l=s(37216),n=s(54587),o=s.n(n),c=s(48230),d=s.n(c),m=s(30955);function p(e){let{content:t,imageURL:s}=e,{pushToContentDetail:a,returnLinkByContentType:n}=(0,l.A)(),[c,p]=(0,r.useState)(s);return(0,i.jsx)(d(),{href:`${n(t)}`,onClick:function(){a(e)},role:"button",tabIndex:"0",onKeyPress:()=>{},className:"group transition-transform duration-300 ease-in-out hover:scale-[1.02]",children:(0,i.jsx)("div",{className:"relative",children:(0,i.jsx)("div",{className:"relative wapper__play",children:(0,i.jsxs)("div",{className:"fix_img mb-2",children:[(0,i.jsx)("div",{className:"px-[7px] xs:px-0 pt-2 flex justify-center",children:(0,i.jsx)("div",{className:"rounded-full overflow-hidden transition-transform duration-300 ease-in-out group-hover:scale-[1.02]",children:(0,i.jsx)(o(),{src:c,alt:"name",width:180,height:180,blurDataURL:m.A.IMAGE_HORIRONTAL_DEFAULT,className:"border border-solid relative rounded-full bg-surface object-cover",onError:()=>p(m.A.IMAGE_HORIRONTAL_DEFAULT)})})}),e?.isContentTitleVisible&&(0,i.jsx)("div",{className:"h-auto min-h-20 -1 pt-5 text16_600_20 text-primary text-center line-clamp-2",children:t?.title})]})})})})}var u=s(57075);let x=(0,r.memo)(({title:e,contentPagination:t,isBlockTitleVisible:s,isContentTitleVisible:l})=>{let[n,o]=(0,r.useState)(t?.contents);return(0,i.jsx)("div",{className:"mb-5 xl:mb-10 md:mb-10",children:(0,i.jsx)("div",{children:(0,i.jsxs)("div",{className:"relative wapper__swiper__custom",children:[s&&(0,i.jsx)("h2",{className:"relative mb-5 xs:mb-4",children:(0,i.jsxs)("div",{className:"text24_700_32 flex items-center wapper_see_more",children:[(0,i.jsx)("span",{className:"mr-4 text-primary",children:e?.text})," "]})}),(0,i.jsx)(u.A,{className:"swiper__Profile",data:n,setData:o,isBlurLastItem:!0,nextCursor:t?.nextCursor,numberItemChangePer:[4.15,6.25,8,4,6.25,8],children:n?.length>0&&n?.map((e,t)=>{let{id:s}=e;return(0,i.jsx)(a.qr,{children:(0,i.jsx)(p,{...e,isContentTitleVisible:l})},s+t.toString())})},"studio_profile")]})})})})},70031:()=>{},71336:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});var i=s(79350),r=s(52639);let a=(0,i.J1)`
252  query HomepageBlockContents($cursor: String, $pageSize: Int) {
253    homepageBlockContents(clientType: WEBSITE, cursor: $cursor, screenScale: X2, pageSize: $pageSize) {
254      nextCursor
255      contents {
256        contentType
257        labels
258        imageURL
259        titleArtURL
260        content {
261          id
262          ... on VOD {
263            id
264            contentType
265            title
266            viewCount
267            warningCriteria
268            publicationTimestamp
269            description {
270              html
271            }
272            video {
273              playURL(clientType: WEBSITE)
274              duration
275              drmEnabled
276              drmLicenseToken
277              lastWatchPosition
278              thumbnails {
279                vttURL
280              }
281            }
282            trailer {
283              playURL(clientType: WEBSITE)
284            }
285            studioProfile {
286              id
287              title
288              profileImageURL(imageName: STUDIO_PROFILE, screenScale: X2)
289            }
290            ageRating
291            categories
292            series {
293              id
294              episodeOffset
295            }
296          }
297          ... on Programme {
298            id
299            startTime
300            stopTime
301            title
302            notificationOn
303            thumbnailURL(screenScale: X2, clientType: WEBSITE)
304            channel {
305              id
306              title
307              number
308              logoURL(screenScale: X2, clientType: WEBSITE)
309              canCatchUp
310              canStartOver
311              isFavorite
312              liveViewCount
313              partner
314              labels
315              liveImageURL(screenScale: X2, imageName: THUMBNAIL)
316              video {
317                liveURL(clientType: WEBSITE)
318                catchUpURL(clientType: WEBSITE)
319                drmEnabled
320                loginRequired
321              }
322              studioProfile {
323                id
324                title
325                profileImageURL(imageName: STUDIO_PROFILE, screenScale: X2)
326              }
327            }
328          }
329          ... on Channel {
330            id
331            title
332            number
333            logoURL(screenScale: X2, clientType: WEBSITE)
334            isVip
335            canCatchUp
336            canStartOver
337            isFavorite
338            partner
339            labels
340            programmes {
341              title
342            }
343            liveImageURL(screenScale: X2, imageName: THUMBNAIL)
344            errorCode
345            video {
346              liveURL(clientType: WEBSITE)
347              catchUpURL(clientType: WEBSITE)
348              drmEnabled
349              loginRequired
350            }
351          }
352          ... on Event {
353            id
354            title
355            imageUrl(screenScale: X2, imageName: THUMBNAIL_BIG)
356            startTimestamp
357            duration
358            reminderSet
359            isReminded
360            categories
361            description {
362              html
363            }
364            errorCode
365            studioProfile {
366              id
367              title
368              profileImageURL(imageName: STUDIO_PROFILE, screenScale: X2)
369              followerCount
370              isVerified
371              followed
372              shareURL
373              errorCode
374            }
375            channel {
376              id
377              title
378              number
379              logoURL(screenScale: X2, clientType: WEBSITE)
380              isVip
381              canCatchUp
382              canStartOver
383              liveViewCount
384              isFavorite
385              partner
386              labels
387              errorCode
388              video {
389                liveURL(clientType: WEBSITE)
390                catchUpURL(clientType: WEBSITE)
391                drmEnabled
392                loginRequired
393              }
394              programmes {
395                id
396                startTime
397                stopTime
398                title
399                notificationOn
400                thumbnailURL(screenScale: X2, clientType: WEBSITE)
401              }
402            }
403          }
404          ... on Series {
405            id
406            title
407            episodeCount
408            viewCount
409            warningCriteria
410            publicationTimestamp
411            description {
412              html
413            }
414            trailer {
415              playURL(clientType: WEBSITE)
416              thumbnails {
417                vttURL
418              }
419            }
420            currentEpisode {
421              seriesID
422              offset
423              id
424              title
425              imageURL
426              publicationTimestamp
427              viewCount
428              video {
429                duration
430                drmEnabled
431                drmLicenseToken
432                lastWatchPosition
433                playURL(clientType: WEBSITE)
434
435                thumbnails {
436                  vttURL
437                }
438              }
439            }
440            studioProfile {
441              id
442              title
443              profileImageURL(imageName: STUDIO_PROFILE, screenScale: X2)
444            }
445            categories
446            ageRating
447          }
448          ... on StudioProfile {
449            id
450            title
451            followed
452            followerCount
453          }
454          ... on Collection {
455            id
456            collectionType
457            imageURL(screenScale: X2)
458            title
459            viewCount
460            total
461            studioProfile {
462              id
463              title
464              profileImageURL(imageName: STUDIO_PROFILE, screenScale: X2)
465            }
466          }
467        }
468      }
469    }
470  }
471`;async function l(e){let{data:t,loading:s,error:i}=await r.client.query({query:a,variables:{pageSize:15,cursor:e},errorPolicy:"ignore",fetchPolicy:"no-cache"});return{loading:s,error:i,data:t?.homepageBlockContents?.contents,nextCursor:t?.homepageBlockContents?.nextCursor}}},76588:(e,t,s)=>{"use strict";s.d(t,{A:()=>g});var i=s(37876),r=s(14232);s(32283),s(96637),s(70031);var a=s(54587),l=s.n(a),n=s(30955),o=s(37216),c=s(41629),d=s(48230),m=s.n(d);let p=function({content:e,title:t,imageURL:s}){let[a,d]=(0,r.useState)(s),{pushToContentDetail:p,returnLinkByContentType:x}=(0,o.A)();return(0,i.jsx)(m(),{href:`${x(e)}`,className:"group relative cursor-pointer",onClick:()=>{p(e)},children:(0,i.jsxs)("div",{className:"fix_img relative aspect-[4/7] w-full overflow-hidden rounded-xl transition-transform duration-300 ease-in-out group-hover:scale-[1.02]",children:[(0,i.jsx)("div",{className:"absolute z-10 bottom-[-1px] left-[-1px] w-[101%] h-[65px] pointer-events-none ",style:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.70) 100%)"}}),(0,i.jsx)(l(),{src:a||n.A.IMAGE_VERTICAL_DEFAULT,fill:!0,sizes:"100vw",style:{objectFit:"cover"},alt:t||"short poster",blurDataURL:n.A.IMAGE_VERTICAL_DEFAULT,className:" bg-surface object-cover w-full h-full",onError:()=>d(n.A.IMAGE_VERTICAL_DEFAULT)}),e?.__typename==="Short"?(0,i.jsx)("div",{className:"absolute z-20 bottom-3 left-3 text-primary text16_500_20",children:(0,i.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[" ",u," ",(0,c.c5)(e?.viewCount)]})}):(0,i.jsx)("div",{})]})})},u=(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"15",viewBox:"0 0 12 15",fill:"none",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.00703 0.896165C0.800977 0.773823 0.54512 0.77148 0.336865 0.890026C0.12861 1.00857 0 1.22977 0 1.4694V14.1361C0 14.3757 0.12861 14.5969 0.336865 14.7154C0.54512 14.834 0.800977 14.8316 1.00703 14.7093L11.6737 8.37597C11.876 8.25586 12 8.03801 12 7.80273C12 7.56746 11.876 7.34961 11.6737 7.2295L1.00703 0.896165Z",fill:"#F4F4F8"})});var x=s(27888),h=s(57075);let g=(0,r.memo)(({title:e,contentPagination:t,isLastBlock:s,type:a,isRecommendation:l,isBlockTitleVisible:n})=>{let o=t?.contents||[],[c,d]=(0,r.useState)(t?.contents),m=o?.length>0?o[0]?.imageURL:"";return(0,i.jsxs)("div",{className:`mb-4 relative ${s?"xl:mb-20":"xl:mb-10"} md:mb-10 xs:mb-5 p-4 sm:py-8 sm:px-6 xs:px-4 xs:py-6 rounded-3xl bg-surface overflow-hidden h-fit`,children:[m&&(0,i.jsx)("div",{className:"absolute top-0 left-0 w-full h-full z-[0] blur-2xl",children:(0,i.jsx)("img",{src:m,alt:"",className:"w-full h-full object-cover"})}),(0,i.jsxs)("div",{className:"flex justify-between items-center gap-6 h-fit relative xs:justify-start xs:gap-3",children:[n&&(0,i.jsxs)("div",{className:"text-primary mb-4 relative max-w-[160px] xl:w-[160px] lg:w-[120px] md:w-[100px] sm:w-[100px] w-[90px]",children:[(0,i.jsx)("img",{className:"xs:w-[52px]",src:"/Home/topShortPoster.png",alt:""}),(0,i.jsx)("p",{className:"text24_700_32 mt-4 2xl:line-clamp-8 xl:line-clamp-6 lg:line-clamp-9 md:line-clamp-5 sm:line-clamp-10 line-clamp-7",children:e?.text})]}),(0,i.jsx)("div",{className:"wapper__swiper__custom relative xl:w-[calc(100%-200px)] lg:w-[calc(100%-180px)] md:w-[calc(100%-160px)] w-[calc(100%-50px)]",children:(0,i.jsx)(h.A,{className:"swiper__topTen",data:c,setData:d,isBlurLastItem:!0,nextCursor:t?.nextCursor,numberItemChangePer:[1.6,3,5,1,3,5],isRecommendation:l,typeBlock:a,children:c?.length>0&&c?.map((e,t)=>(0,i.jsx)(x.qr,{children:(0,i.jsx)(p,{...e})},e?.id+t.toString()))},"vod_item")}),(0,i.jsxs)("div",{className:" text-primary min-w-[80px] h-full flex flex-col items-center xs:hidden",children:[(0,i.jsx)("div",{className:"w-[42px] h-[42px] rounded-full cursor-pointer flex justify-center items-center bg-background4 border border-solid border-dark",children:v}),(0,i.jsx)("p",{className:"text16_500_20 mt-2",children:"Xem th\xeam"})]})]})]})}),v=(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:(0,i.jsx)("path",{d:"M9 18.8525L15 12.8525L9 6.85254",stroke:"#F4F4F8",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},76970:(e,t,s)=>{"use strict";s.d(t,{A:()=>_});var i=s(37876),r=s(54587),a=s.n(r),l=s(14232),n=s(4545),o=s(41629),c=s(7531),d=s(30955),m=s(65040),p=s(37216),u=s(65426),x=s(48230),h=s.n(x);let g=function({content:e,title:t,imageURL:s,layoutType:r,index:x,isOnlyShowTitle:g,isContentDescriptionVisible:_}){let[w,j]=(0,l.useState)(s),{togleModalLogin:T}=(0,u.A)(),[E,N]=(0,l.useState)(!1),{pushToContentDetail:C,returnLinkByContentType:L}=(0,p.A)();return(0,l.useEffect)(()=>{j(s)},[s]),(0,i.jsxs)("div",{role:"button",tabIndex:"0",onKeyPress:()=>{},className:"mediaHoverCard mediaHoverCard group transition-transform duration-300 ease-in-out hover:scale-[1.02]",children:[(0,i.jsx)("div",{className:"mediaHoverGlow",style:{backgroundImage:`url(${w||d.A.IMAGE_VERTICAL_DEFAULT})`}}),(0,i.jsxs)("div",{className:"relative z-[1]",children:[(0,i.jsxs)(h(),{href:`${L(e)}`,className:"relative block wapper__play",onClick:()=>{C(e)},children:[(0,i.jsxs)("div",{className:"fix_img relative mb-2 aspect-[2/3] w-full overflow-hidden rounded-xl bg-surface transition-transform duration-300 ease-in-out group-hover:scale-[1.02]",children:[r===n.W.TOP_10_VODS_POSTER&&(0,i.jsx)("div",{className:"absolute left-0 bottom-0 w-full h-44 z-10",style:{background:"linear-gradient(180deg, rgba(5, 5, 6, 0.00) 0%, rgba(5, 5, 6, 0.68) 100%)"}}),(0,i.jsx)(a(),{className:"rounded-xl bg-surface object-cover",src:w||d.A.IMAGE_VERTICAL_DEFAULT,fill:!0,sizes:"100vw",style:{objectFit:"cover"},alt:t||"poster",blurDataURL:d.A.IMAGE_VERTICAL_DEFAULT,onError:()=>j(d.A.IMAGE_VERTICAL_DEFAULT)}),function(){if(r===n.W.TOP_10_VODS_POSTER)return(0,i.jsx)(i.Fragment,{});if(e?.__typename==="VOD")return(0,i.jsx)("div",{className:"absolute bottom-1 right-1 text-primary text14_500_18 px-[6px] py-[2px] bg-surface-opacity rounded-md",children:(0,i.jsx)("div",{children:(0,o.tX)(e?.video?.duration/1e3||0)})});if(e?.__typename==="Series")return(0,i.jsx)("div",{className:"absolute bottom-1 right-1 text-primary text14_500_18 px-[6px] py-[2px] bg-surface-opacity rounded-md",children:(0,i.jsx)("div",{children:e?.episodeCount+" Tập"})});if(e?.__typename==="Event"||e?.__typename==="Programme"){let t=new Date().getTime(),s=e?.
471startTimestamp||e?.startTime,r=e?.startTimestamp?e?.startTimestamp+e?.duration:e?.stopTime,a=t<s,l=t>r,n=a?"Sắp ph\xe1t s\xf3ng":l?"Đ\xe3 kết th\xfac":"Đang ph\xe1t";return(0,i.jsx)("div",{className:`absolute bottom-1 left-1 ${a?"bg-inverse text-black":l?"bg-tertiary text-primary":"bg-brand text-primary"} flex items-center py-[2px] px-[6px] rounded-md !rounded-tl-none`,children:(0,i.jsxs)("div",{className:"text14_500_18 flex items-center gap-1",children:["Đang ph\xe1t"===n&&v,"Sắp ph\xe1t s\xf3ng"===n&&f,n]})})}return e?.__typename==="Collection"?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"absolute bottom-1 right-1 text-primary text14_500_18 px-[6px] py-[2px] bg-surface-opacity rounded-md",children:(0,i.jsxs)("div",{className:"flex items-center gap-1",children:[b,e?.total>1?`${e?.total} videos`:`${e?.total||0} video`," "]})}),(0,i.jsx)("div",{className:"absolute -z-10 w-[85%] bg-collection top-[-8px] h-10 rounded-t-lg left-[50%] translate-x-[-50%]"}),(0,i.jsx)("div",{className:"absolute -z-10 w-[95%] bg-collection top-[-4px] h-10 rounded-t-lg left-[50%] translate-x-[-50%]"})]}):(0,i.jsx)("div",{})}()]}),r===n.W.TOP_10_VODS_POSTER&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"absolute left-[10%] bottom-5 w-full z-20",children:(0,i.jsx)("img",{className:"w-auto h-20 xs:h-16",src:"/Home/TopTen/"+x+".png",alt:""})})})]}),r!==n.W.TOP_10_VODS_POSTER&&!1!==_&&(0,i.jsx)(c.A,{content:e,typeCard:e?.__typename,isOnlyShowTitle:g})]}),(0,i.jsx)(m.A,{isModal:E,setIsModal:N,onClose:function(){N(!1)},onNext:function(){T(),N(!1)}})]})},v=(0,i.jsxs)("svg",{width:"4",height:"4",viewBox:"0 0 4 4",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("g",{clipPath:"url(#clip0_5356_12212)",children:(0,i.jsx)("circle",{cx:"2",cy:"2",r:"1.5",fill:"#F4F4F8"})}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_5356_12212",children:(0,i.jsx)("rect",{width:"4",height:"4",fill:"white"})})})]}),f=(0,i.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{opacity:"0.12",d:"M7.99984 9.33329C8.73622 9.33329 9.33317 8.73634 9.33317 7.99996C9.33317 7.26358 8.73622 6.66663 7.99984 6.66663C7.26346 6.66663 6.6665 7.26358 6.6665 7.99996C6.6665 8.73634 7.26346 9.33329 7.99984 9.33329Z",fill:"#F00000"}),(0,i.jsx)("path",{d:"M10.8286 5.17157C12.3907 6.73367 12.3907 9.26632 10.8286 10.8284M5.17174 10.8284C3.60964 9.2663 3.60964 6.73364 5.17174 5.17154M3.28612 12.714C0.682622 10.1105 0.682622 5.88945 3.28612 3.28595M12.7142 3.28598C15.3177 5.88948 15.3177 10.1106 12.7142 12.7141M9.3335 8C9.3335 8.73637 8.73654 9.33333 8.00016 9.33333C7.26378 9.33333 6.66683 8.73637 6.66683 8C6.66683 7.26362 7.26378 6.66666 8.00016 6.66666C8.73654 6.66666 9.3335 7.26362 9.3335 8Z",stroke:"#F00000",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),b=(0,i.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsxs)("g",{clipPath:"url(#clip0_4301_13460)",children:[(0,i.jsx)("path",{d:"M7 0C3.13425 0 0 3.13425 0 7C0 10.8657 3.13425 14 7 14H7.58333V12.8333H7C3.77825 12.8333 1.16667 10.2217 1.16667 7C1.16667 3.77825 3.77825 1.16667 7 1.16667C10.2217 1.16667 12.8333 3.77825 12.8333 7V7.58333H14V7C14 3.13425 10.8657 0 7 0Z",fill:"#F4F4F8"}),(0,i.jsx)("path",{d:"M13.4167 11.6667H9.33333C9.01133 11.6667 8.75 11.928 8.75 12.25C8.75 12.572 9.01133 12.8333 9.33333 12.8333H13.4167C13.7387 12.8333 14 12.572 14 12.25C14 11.928 13.7387 11.6667 13.4167 11.6667Z",fill:"#F4F4F8"}),(0,i.jsx)("path",{d:"M13.4167 9.33333H9.33333C9.01133 9.33333 8.75 9.59466 8.75 9.91666C8.75 10.2387 9.01133 10.5 9.33333 10.5H13.4167C13.7387 10.5 14 10.2387 14 9.91666C14 9.59466 13.7387 9.33333 13.4167 9.33333Z",fill:"#F4F4F8"}),(0,i.jsx)("path",{d:"M9.91675 7C9.91675 6.79058 9.80475 6.5975 9.62275 6.49366L5.53941 4.16033C5.35858 4.05708 5.13691 4.05766 4.95725 4.16208C4.777 4.2665 4.66675 4.45841 4.66675 4.66666V9.33333C4.66675 9.541 4.777 9.7335 4.95725 9.83791C5.04766 9.89041 5.14858 9.91666 5.25008 9.91666C5.34983 9.91666 5.45016 9.891 5.53941 9.83966L9.62275 7.50633C9.80475 7.4025 9.91675 7.20941 9.91675 7Z",fill:"#F4F4F8"})]}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_4301_13460",children:(0,i.jsx)("rect",{width:"14",height:"14",fill:"white"})})})]});function _(e){return(0,i.jsx)("div",{role:"button",tabIndex:"0",onKeyPress:()=>{},children:(0,i.jsx)(g,{...e})})}},87623:(e,t,s)=>{"use strict";s.d(t,{A:()=>b});var i=s(37876),r=s(14232),a=s(27888);s(32283),s(96637),s(70031);var l=s(54587),n=s.n(l),o=s(7531),c=s(30955),d=s(65426),m=s(37216),p=s(65040),u=s(57293),x=s(48230),h=s.n(x);let g=function({content:e,title:t,imageURL:s,isContentTitleVisible:a}){let[l,x]=(0,r.useState)(s),{togleModalLogin:g}=(0,d.A)(),[v,f]=(0,r.useState)(!1),{pushToContentDetail:b,returnLinkByContentType:_}=(0,m.A)();return(0,i.jsxs)("div",{onClick:function(){},role:"button",tabIndex:"0",onKeyPress:()=>{},className:"group transition-transform duration-300 ease-in-out hover:scale-[1.02]",children:[(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)(h(),{href:`${_(e)}`,className:"relative wapper__play blockChannelSquares",onClick:()=>{b(e)},children:(0,i.jsxs)("div",{className:"fix_img relative mb-2 aspect-square w-full overflow-hidden rounded-xl bg-surface transition-transform duration-300 ease-in-out group-hover:scale-[1.02]",children:[(0,i.jsx)(n(),{className:"rounded-xl bg-surface object-cover transition-transform duration-300 ease-in-out group-hover:scale-[1.02]",src:c.A.IMAGE_CHANNEL_SQUARE_DEFAULT,fill:!0,sizes:"100vw",style:{objectFit:"cover"},alt:t||"channel",blurDataURL:c.A.IMAGE_CHANNEL_SQUARE_DEFAULT,onError:()=>x(c.A.IMAGE_CHANNEL_SQUARE_DEFAULT)}),(0,i.jsx)("img",{className:"logochannel absolute top-1/2 left-1/2 translate-x-[-50%] translate-y-[-50%]",src:l,alt:t||"channel logo"})]})}),a&&(0,i.jsx)(o.A,{content:e,typeCard:e?.__typename}),(0,i.jsx)(u.A,{labels:e?.channel?.labels||e?.labels})]}),(0,i.jsx)(p.A,{isModal:v,setIsModal:f,onClose:function(){f(!1)},onNext:function(){g(),f(!1)}})]})};function v(e){return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{children:(0,i.jsx)("div",{role:"button",tabIndex:"0",onKeyPress:()=>{},children:(0,i.jsx)(g,{...e})})})})}var f=s(57075);let b=(0,r.memo)(({title:e,contentPagination:t,isLastBlock:s,isBlockTitleVisible:l,isContentTitleVisible:n})=>{let[o,c]=(0,r.useState)(t?.contents);return(0,i.jsxs)("div",{className:`mb-4 ${s?"xl:mb-20":"xl:mb-10"} md:mb-10 xs:mb-5`,children:[l&&(0,i.jsx)("h2",{className:"relative mb-5 xs:mb-4",children:(0,i.jsxs)("div",{className:"text24_700_32 flex items-center wapper_see_more",children:[(0,i.jsx)("span",{className:"mr-4 text-primary",children:e?.text})," "]})}),(0,i.jsx)("div",{className:"wapper__swiper__custom",children:(0,i.jsx)(f.A,{className:"mySwiper",data:o,setData:c,isBlurLastItem:!0,nextCursor:t?.nextCursor,numberItemChangePer:[4.15,6,6,4,6,6],children:o?.length>0&&o?.map((e,t)=>(0,i.jsx)(a.qr,{children:(0,i.jsx)(v,{...e,isContentTitleVisible:n,showTime:!1})},e?.id+t.toString()))},"squares")})]})})},90828:(e,t,s)=>{"use strict";s.d(t,{A:()=>u});var i=s(37876),r=s(22085),a=s(16657),l=s(54587),n=s.n(l),o=s(48230),c=s.n(o),d=s(14232),m=s(30955),p=s(59);function u({indexBlock:e,uniqueId:t,isContentDescriptionVisible:s,type:l,data:o,setData:x}){let h=(0,d.useRef)(null),[g,v]=(0,d.useState)(null),f="poster"===l?m.A.IMAGE_VERTICAL_DEFAULT:m.A.IMAGE_HORIRONTAL_DEFAULT,[b,_]=(0,d.useState)(f);(0,d.useEffect)(()=>{let{googletag:e}=window;return w(e),()=>{e&&(e.cmd.push(()=>{e.destroySlots([h.current])}),v(null))}},[t]),(0,d.useEffect)(()=>{let e=e=>{(e.data.type===m.A.data_native_ads_home_block1&&"vod_thumbnail"===l||e.data.type===m.A.data_native_ads_home_block2&&"poster"===l||e.data.type===m.A.data_native_ads_home_spotlight&&"spotlight"===l)&&(v(e.data.payload),_(e.data.payload?.image||f))};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[]);let w=async s=>{let i;try{if(!s)return void j();let n=await (0,a.y6)(),o=(0,r.h4)(),c=T(l,n);if(!c)return void j();s.cmd.push(()=>{let r=s.defineSlot(c,["fluid"],t).addService(s.pubads());r.setConfig({targeting:{user_tier:N(o),device_type:"website",age_group:(0,p.R)(o?.birthDate),menu:"Nổi bật",block_type:E(l),block_position:e?.toString()}}),h.current=r,s.enableServices(),s.display(t),s.pubads().refresh([r],{changeCorrelator:!0}),s.pubads().addEventListener("slotRenderEnded",e=>{e.slot!==r||e.isEmpty||clearTimeout(i)})}),i=setTimeout(()=>{j()},2e3)}catch(e){console.log({error:e,type:l})}},j=()=>{let e=o?.filter(e=>"spotlight"===l?e?.type!=="SpotlightAds":e?.type!=="CardAds");x&&x(e)},T=(e,t)=>
471{switch(e){case"vod_thumbnail":return t?.webAdsConfigs?.nativeAds?.homeBlock1||"";case"poster":return t?.webAdsConfigs?.nativeAds?.homeBlock2||"";default:return t?.webAdsConfigs?.nativeAds?.homeSpotlight||""}},E=e=>{switch(e){case"vod_thumbnail":return"VOD_THUMBNAIL";case"poster":return"COLOR_GRADIENT_POSTER";default:return"SPOTLIGHT"}},N=e=>e?!e?.activeSubscriptions||e?.activeSubscriptions?.length<=0?"free":"":"anonymous";return"spotlight"===l?(0,i.jsxs)("div",{className:"w-full h-full bg-background overflow-hidden shadow-sm",children:[(0,i.jsx)("div",{id:t,className:`w-full h-full ${g?.headline?"hidden":"block"}`}),(0,i.jsx)("div",{className:`w-full h-full relative ${g?.headline?"block":"hidden"}`,children:(0,i.jsx)("div",{className:"cursor-pointer w-full h-full",children:g?.image?(0,i.jsx)("img",{src:g?.image,alt:"",className:"w-[calc(h-full*2)] aspect-[2/1] h-full object-cover float-right rounded-t-[8px] md:rounded-3xl"}):(0,i.jsx)("img",{className:"w-full h-full object-fill",src:m.A.IMAGE_HORIRONTAL_DEFAULT,alt:""})})})]}):(0,i.jsxs)("div",{className:"w-full h-full bg-background overflow-hidden shadow-sm",children:[(0,i.jsx)("div",{id:t,className:`w-full ${g?.headline?"hidden":"vod_thumbnail"===l?"aspect-video overflow-hidden rounded-xl":"aspect-[2/3] overflow-hidden rounded-xl"}`}),(0,i.jsxs)(c(),{href:g?.linkAds||"",className:`relative ${g?.headline?"block":"hidden"}`,target:"_blank",children:[(0,i.jsxs)("div",{className:"relative wapper__play",children:[(0,i.jsx)("div",{className:`fix_img relative mb-2 overflow-hidden rounded-lg bg-surface transition-transform duration-300 ease-in-out group-hover:scale-[1.02] ${"vod_thumbnail"===l?"aspect-video":"aspect-[2/3]"}`,children:(0,i.jsx)(n(),{className:"bg-surface object-cover",src:b,fill:!0,sizes:"vod_thumbnail"===l?"(min-width: 1024px) 25vw, 50vw":"(min-width: 1024px) 20vw, 40vw",style:{objectFit:"cover"},alt:"name",blurDataURL:f,onError:()=>_(f)})}),(0,i.jsx)("div",{className:"absolute bottom-1 right-1 text-primary text12_400_16 px-[6px] py-[2px] bg-surface-opacity/50 rounded-md",children:(0,i.jsx)("p",{className:"",children:"Được t\xe0i trợ"})})]}),!1!==s&&(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"text16_600_20 bottom-0 left-0 w-[91%] text-primary line-clamp-2",children:g?.headline}),(0,i.jsx)("div",{className:"text14_400_20 text-secondary2 mt-1 line-clamp-2",children:(0,i.jsx)("p",{children:g?.body})})]})]})]})}},91404:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});var i=s(79350),r=s(53588);let a=(0,i.J1)`
472  mutation SetEventReminder($eventID: ID!, $on: Boolean!) {
473    setEventReminder(eventID: $eventID, on: $on)
474  }
475`;function l(){let[e,{data:t,loading:s,error:i}]=(0,r.n)(a);return{reminderEvent:e,data:t,error:i,loading:s}}},94710:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var i=s(79350),r=s(53588);let a=(0,i.J1)`
476  mutation Follow($id: [ID!]) {
477    follow(studioProfileIDs: $id)
478  }
479`,l=(0,i.J1)`
480  mutation UnFollow($id: ID!) {
481    unFollow(studioProfileID: $id)
482  }
483`;function n(e){let[t,{data:s,loading:i,error:n}]=(0,r.n)("follow"===e?a:l);return{followStudioProfile:t,data:s,error:n,loading:i}}},96637:()=>{}}]);

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.