PageSourceSearch

https://www.deeptoplay.com/_next/static/chunks/8249-9ed4414756147214.js

js deeptoplay.com collected 2026-09-24 13:39:14 UTC 39,678 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8249],{71481:function(e,t,l){l.r(t),l.d(t,{ContentBadge:function(){return d},PremiumBadge:function(){return u}});var n=l(57437),s=l(44351),a=l(81456),i=l(7442),o=l(88336),r=l(58214);function d(e){let{content:t,className:l="absolute top-1 lg:top-2",showLabel:s=!0}=e;return(0,n.jsx)(c,{content:t,className:l,children:t.label&&s&&(0,n.jsx)("span",{className:"h-4 md:h-7 px-1 md:px-1.5 grid place-content-center bg-primary-600 rounded-md md:rounded-lg text-tn md:text-sm",children:(0,n.jsx)("span",{className:"whitespace-nowrap",children:t.label})})})}function c(e){var t,l,a,d,c;let{content:m,className:x="absolute left-0 top-1 lg:top-2",children:f}=e,{settings:p,auth:h}=(0,o.bp)(),v=null!==(a=null==p?void 0:null===(t=p.cms)||void 0===t?void 0:t.premium_badge)&&void 0!==a?a:{},j=(0,i.mH)(m),g=null===(d=null==v?void 0:v.enabled_for_entitled)||void 0===d||d,w=null!=h&&null!==(l=h.user)&&void 0!==l&&!!l.subscription,b=null===(c=v.enabled)||void 0===c||c;return(0,n.jsx)("section",{className:(0,r.cn)("w-full px-1 lg:px-2",x),children:(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[b&&(null==m?void 0:m.content_access)&&"free"!=m.content_access&&(0,n.jsx)(n.Fragment,{children:w?(null==g||g)&&(0,n.jsx)(u,{label:j.label}):(0,n.jsx)(u,{label:j.label})}),(0,n.jsxs)("div",{className:"flex items-center space-x-0.5 md:space-x-1 justify-end",children:[f,(0,n.jsx)("div",{className:"relative h-auto",children:j&&j.badgeImage&&(0,n.jsx)(s.default,{src:j.badgeImage,alt:"badge",width:60,height:60,className:"object-contain w-5 h-5 md:w-7 md:h-7"})})]})]})})}function u(e){let{label:t="",showLabel:l=!1,isCentered:s=!1}=e;return(0,n.jsxs)("div",{className:(0,r.cn)("relative rounded md:rounded-md size-5 md:size-7 text-xs lg:text-sm font-medium shadow-lg inline-grid place-content-center",{"bg-orange-300":"Rent"!==t,"bg-orange-300 text-black":"Rent"===t,"absolute left-1/2 -translate-x-1/2 top-1.5":s}),children:[(0,n.jsx)(a.Z,{className:"size-3 lg:size-4"}),l?t:""]})}},81164:function(e,t,l){l.d(t,{Z:function(){return d}});var n=l(57437),s=l(2691),a=l(12098),i=l(44839),o=l(2265),r=l(58214);function d(e){var t;let{content:l,className:d=""}=e,c=(0,s.ZP)(),u=c.getButtons(l),m=(null===(t=u.filter(e=>e.show))||void 0===t?void 0:t.length)||0;return(0,n.jsx)("div",{className:(0,i.Z)("min-w-fit grid md:inline-flex md:flex-row md:flex-wrap md:items-center overflow-hidden md:space-x-2",m<=2&&"grid-cols-1 gap-y-2",m>2&&"grid-cols-2 gap-2",d),children:u.map((e,t)=>{let s=e.icon;return(0,n.jsx)(o.Fragment,{children:e.show&&(0,n.jsxs)(a.ZP,{className:(0,r.cn)("text-sm lg:text-base rounded-full",0==t?"col-span-2":"col-span-1"),buttonType:0===t||e.text.startsWith("Subscribe")?"vip":"dark",onClick:e.onClick,icon:e.icon?(0,n.jsx)(s,{className:"w-5 h-5"}):null,children:[e.price&&(0,n.jsxs)("span",{children:[c.getCurrencySymbol(l.currency),e.price]}),e.text&&(0,n.jsxs)("span",{children:[" ",e.text]})]})},t)})})}},25536:function(e,t,l){l.d(t,{Z:function(){return a}});var n=l(57437),s=l(58214);function a(e){let{className:t=""}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",viewBox:"0 0 20 20",className:(0,s.cn)("fill-[#F4F4F5]",t),children:(0,n.jsx)("path",{fillRule:"evenodd",d:"M7.093 3.692a.625.625 0 01.882.068l5 5.834c.2.234.2.579 0 .813l-5 5.833a.625.625 0 01-.95-.813L11.677 10 7.025 4.574a.625.625 0 01.068-.882z",clipRule:"evenodd"})})}},50685:function(e,t,l){l.d(t,{Z:function(){return s}});var n=l(57437);function s(e){let{className:t=""}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"currentColor",className:t,children:(0,n.jsx)("path",{fillRule:"evenodd",d:"M3.838 5.814c.31-.02.578.214.598.524l.345 5.174c.068 1.01.116 1.714.221 2.243.102.514.245.785.45.977.205.192.486.317 1.005.384.535.07 1.24.072 2.253.072h.58c1.013 0 1.718-.002 2.253-.072.52-.067.8-.192 1.005-.384.205-.191.348-.463.45-.977.105-.529.153-1.232.22-2.243l.346-5.174a.563.563 0 011.122.074l-.347 5.214c-.065.962-.116 1.74-.238 2.35-.126.633-.34 1.163-.785 1.578-.443.415-.986.594-1.627.678-.617.08-1.395.08-2.36.08H8.67c-.964 0-1.743 0-2.36-.08-.64-.084-1.183-.263-1.627-.678-.443-.415-.658-.945-.784-1.579-.122-.61-.174-1.387-.238-2.349l-.347-5.214a.562.562 0 01.524-.598zm3.928-4.126h-.034c-.162 0-.304 0-.437.02a1.688 1.688 0 00-1.23.888c-.063.12-.108.254-.16.408l-.01.032-.073.219a.938.938 0 01-.947.683h-2.25a.563.563 0 000 1.125h12.75a.562.562 0 100-1.125h-2.318a.937.937 0 01-.857-.62l-.022-.063-.073-.219-.01-.032c-.052-.154-.097-.288-.16-.408a1.687 1.687 0 00-1.23-.887 2.617 2.617 0 00-.437-.021H7.766zm-.908 2.014c-.03.081-.063.16-.102.236h4.488a2.064 2.064 0 01-.102-.236l-.03-.085-.
1074-.225a2.326 2.326 0 00-.1-.277.562.562 0 00-.41-.295 2.334 2.334 0 00-.295-.007H7.766c-.216 0-.26.001-.294.007a.562.562 0 00-.41.295 2.37 2.37 0 00-.1.277l-.075.225-.029.085z",clipRule:"evenodd"})})}},53862:function(e,t,l){l.d(t,{Z:function(){return a}});var n=l(57437),s=l(44839);function a(e){let{className:t="",...l}=e,a=(0,s.Z)("fill-white",t);return(0,n.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,...l,children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.7071 6.70711C19.0976 6.31658 19.0976 5.68342 18.7071 5.29289C18.3166 4.90237 17.6834 4.90237 17.2929 5.29289L12 10.5858L6.70711 5.29289C6.31658 4.90237 5.68342 4.90237 5.29289 5.29289C4.90237 5.68342 4.90237 6.31658 5.29289 6.70711L10.5858 12L5.29289 17.2929C4.90237 17.6834 4.90237 18.3166 5.29289 18.7071C5.68342 19.0976 6.31658 19.0976 6.70711 18.7071L12 13.4142L17.2929 18.7071C17.6834 19.0976 18.3166 19.0976 18.7071 18.7071C19.0976 18.3166 19.0976 17.6834 18.7071 17.2929L13.4142 12L18.7071 6.70711Z",fill:"current"})})}},59140:function(e,t,l){l.d(t,{z:function(){return a}});var n=l(57437),s=l(58214);function a(e){let{className:t=""}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",className:(0,s.cn)(t),children:(0,n.jsx)("path",{fill:"#fff",d:"M14.326 5.136c1.98 1.124 3.535 2.008 4.643 2.817 1.115.815 1.94 1.667 2.236 2.79.217.824.217 1.69 0 2.514-.295 1.123-1.12 1.975-2.236 2.79-1.108.81-2.664 1.693-4.643 2.817-1.912 1.086-3.524 2.002-4.748 2.523-1.234.525-2.359.79-3.452.481a4.854 4.854 0 01-2.123-1.254c-.8-.806-1.12-1.92-1.272-3.262-.15-1.332-.15-3.075-.15-5.291v-.122c0-2.217-.001-3.96.15-5.29.152-1.342.472-2.457 1.272-3.263a4.853 4.853 0 012.123-1.254c1.093-.31 2.218-.044 3.452.481 1.224.52 2.836 1.437 4.748 2.523z"})})}},3006:function(e,t,l){l.d(t,{p:function(){return r}});var n=l(57437),s=l(63094),a=l(50685),i=l(2265),o=l(22488);function r(e){let{content:t,onDelete:l}=e,{execute:r,isLoading:d}=function(e){let{action:t,onSuccess:l,onError:n}=e,[s,a]=(0,i.useState)(!1),[o,r]=(0,i.useState)(null),[d,c]=(0,i.useState)(null);return{execute:(0,i.useCallback)(async e=>{a(!0),r(null);try{let n=await t(e);c(n),null==l||l(n)}catch(e){r(e),null==n||n(e)}finally{a(!1)}},[t,l,n]),isLoading:s,error:o,data:d}}({action:l,onSuccess:e=>{var t;return(0,o.s)(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.message)},onError:e=>(0,o.S)(e)});return(0,n.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),r(t)},disabled:d,className:"size-6 flex items-center justify-center bg-black/50 rounded-full transition-all duration-200 disabled:pointer-events-none disabled:group-hover:opacity-50",children:d?(0,n.jsx)(s.$j,{className:"size-4 border-2"}):(0,n.jsx)(a.Z,{})})}},48365:function(e,t,l){l.d(t,{Z:function(){return i}});var n=l(57437),s=l(44839),a=l(18087);function i(e){let{title:t,metaTitle:l,className:i="text-left",titleClassName:o="line-clamp-2"}=e,r=(0,a.useTranslations)("MetaTypes.singular_options");return(0,n.jsxs)("article",{className:(0,s.Z)("space-y-0.5",i),children:[(0,n.jsx)("h3",{className:(0,s.Z)("text-sm font-medium",o),children:t}),l&&(0,n.jsx)("p",{className:"text-xs text-zinc-400 capitalize",children:r(l)})]})}},72592:function(e,t,l){l.d(t,{ZP:function(){return u}});var n=l(57437),s=l(58018),a=l(38335),i=l(7442),o=l(58214),r=l(2265),d=l(62750),c=l(70750);
1function u(e){let{content:t,isHovering:l,children:s,className:a=""}=e,{featureClip:o,showVideo:d,showVideoPlayer:c}=function(e,t){let l=(0,i.oQ)(e),[n,s]=(0,r.useState)(!d()),[a,o]=(0,r.useState)(!1);function d(){return"undefined"!=typeof navigator&&void 0!==navigator.connection&&navigator.connection.downlink<2}return(0,r.useEffect)(()=>{let e;return e=t?setTimeout(()=>{o(!0),s(!d())},2e3):setTimeout(()=>{o(!1)},300),()=>{clearTimeout(e)}},[t]),{featureClip:l,showVideo:n,showVideoPlayer:a}}(t,l);return(0,n.jsxs)("div",{className:"relative",children:[s,c&&(null==o?void 0:o.url)&&(0,n.jsx)(m,{video:o,onCanPlayTrailer:function(){},className:a})]})}function m(e){let{video:t,onCanPlayTrailer:l,className:i}=e,[u,m]=(0,c._)("videojs-persist",null,{initializeWithValue:!1}),x=null!=u&&!!u.muted,f=(0,a.Z)(t,"#goplayPlayer-".concat(t.id,"-card"),{autoplay:!0,muted:x,controls:!1,onCanPlay:l});return(0,r.useEffect)(()=>{var e;let t=(null===(e=window.videojs)||void 0===e?void 0:e.getAllPlayers())||[],l=[];return null==t||t.forEach(e=>{var t;e.id()===(null===(t=f.current)||void 0===t?void 0:t.id())||e.paused()||(l.push(e.id()),e.pause())}),()=>{var e;((null===(e=window.videojs)||void 0===e?void 0:e.getAllPlayers())||[]).forEach(e=>{l.includes(e.id())&&e.play()})}},[f]),(0,n.jsxs)("div",{className:(0,o.cn)("absolute inset-0 object-cover w-full h-full rounded-md overflow-hidden aspect-video duration-300 delay-300",i),children:[(0,n.jsx)("div",{id:"goplayPlayer-".concat(t.id,"-card"),className:"w-full h-full rounded-md bg-black/50 no-big-play-no-loading-spinner",children:(0,n.jsx)(s.q,{video:t,controls:!1,className:"vjs-tech"})}),(0,n.jsx)(d.ZP,{className:"absolute top-2 right-3 z-20 opacity-100"})]})}},8249:function(e,t,l){l.d(t,{default:function(){return P}});var n=l(57437),s=l(2265),a=l(18087),i=l(70750),o=l(48365),r=l(28640),d=l(72592),c=l(18707),u=l(46454),m=l(44351),x=l(71481),f=l(12098),p=l(84239),h=l(58214);function v(e){let{className:t,...l}=e;return(0,n.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(0,h.cn)("w-4 h-4 fill-white",t),...l,children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 6C10.5 5.60218 10.658 5.22064 10.9393 4.93934C11.2206 4.65804 11.6022 4.5 12 4.5C12.3978 4.5 12.7794 4.65804 13.0607 4.93934C13.342 5.22064 13.5 5.60218 13.5 6C13.5 6.39782 13.342 6.77936 13.0607 7.06066C12.7794 7.34196 12.3978 7.5 12 7.5C11.6022 7.5 11.2206 7.34196 10.9393 7.06066C10.658 6.77936 10.5 6.39782 10.5 6ZM10.5 12C10.5 11.6022 10.658 11.2206 10.9393 10.9393C11.2206 10.658 11.6022 10.5 12 10.5C12.3978 10.5 12.7794 10.658 13.0607 10.9393C13.342 11.2206 13.5 11.6022 13.5 12C13.5 12.3978 13.342 12.7794 13.0607 13.0607C12.7794 13.342 12.3978 13.5 12 13.5C11.6022 13.5 11.2206 13.342 10.9393 13.0607C10.658 12.7794 10.5 12.3978 10.5 12ZM10.5 18C10.5 17.6022 10.658 17.2206 10.9393 16.9393C11.2206 16.658 11.6022 16.5 12 16.5C12.3978 16.5 12.7794 16.658 13.0607 16.9393C13.342 17.2206 13.5 17.6022 13.5 18C13.5 18.3978 13.342 18.7794 13.0607 19.0607C12.7794 19.342 12.3978 19.5 12 19.5C11.6022 19.5 11.2206 19.342 10.9393 19.0607C10.658 18.7794 10.5 18.3978 10.5 18Z",fill:"current"})})}var j=l(53862),g=l(73390),w=l(21220),b=l(25536),N=l(69651);let y=w.fC,C=w.xz;w.ZA,w.Uv,w.Tr,w.Ee,s.forwardRef((e,t)=>{let{className:l,inset:s,children:a,...i}=e;return(0,n.jsxs)(w.fF,{ref:t,className:(0,h.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",s&&"pl-8",l),...i,children:[a,(0,n.jsx)(b.Z,{className:"ml-auto h-4 w-4"})]})}).displayName=w.fF.displayName,s.forwardRef((e,t)=>{let{className:l,...s}=e;return(0,n.jsx)(w.tu,{ref:t,className:(0,h.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",l),...s})}).displayName=w.tu.displayName;let z=s.forwardRef((e,t)=>{let{className:l,sideOffset:s=4,...a}=e;return(0,n.jsx)(w.Uv,{children:(0,n.jsx)(w.VY,{ref:t,sideOffset:s,className:(0,h.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md bg-background px-2.5 py-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",l),...a})})});z.displayName=w.VY.displayName;let k=s.forwardRef((e,t)=>{let{className:l,inset:s,...a}=e;return(0,n.jsx)(w.ck,{ref:t,className:(0,h.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",l),...a})});k.displayName=w.ck.displayName,s.forwardRef((e,t)=>{let{className:l,children:s,checked:a,...i}=e;return(0,n.jsxs)(w.oC,{ref:t,className:(0,h.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",l),checked:a,...i,children:[(0,n.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,n.jsx)(w.wU,{children:(0,n.jsx)(N.G,{className:"h-4 w-4"})})}),s]})}).displayName=w.oC.displayName,s.forwardRef((e,t)=>{let{className:l,children:s,...a}=e;return(0,n.jsxs)(w.Rk,{ref:t,className:(0,h.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",l),...a,children:[(0,n.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,n.jsx)(w.wU,{})}),s]})}).displayName=w.Rk.displayName,s.forwardRef((e,t)=>{let{className:l,inset:s,...a}=e;return(0,n.jsx)(w.__,{ref:t,className:(0,h.cn)("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",l),...a})}).displayName=w.__.displayName,s.forwardRef((e,t)=>{let{className:l,...s}=e;return(0,n.jsx)(w.Z0,{ref:t,className:(0,h.cn)("-mx-1 my-1 h-px bg-muted",l),...s})}).displayName=w.Z0.displayName;var _=l(32238),Z=l(76237),T=l(33129),R=l(3006);
1function P(e){let{content:t,onClick:l=null,onDelete:a=null,showItemMetadata:u=!1,rankIndex:f,hoverPosition:p="",enableHover:v=!0,showProgressBar:j=!1,showBadge:g=!0,cardOverlay:w=null}=e,b=(0,s.useRef)(null),N=(0,i.ac)("only screen and (min-width : 1280px)"),y=(0,i.XI)(b),C=(null==t?void 0:t.classname)==="App\\Models\\Meta",z=null!=t&&!!t.watched_duration&&null!=t&&!!t.duration,k=y&&!!N,P=Math.abs(Math.floor((null==t?void 0:t.watched_duration)/(null==t?void 0:t.duration)*100)),S=w||null;return v?(0,n.jsx)(Z.rU,{href:(null==t?void 0:t.route_uri)||"/",onClick:e=>{e.target.closest("#card-buttons")&&e.preventDefault()},children:(0,n.jsxs)("article",{ref:b,className:"relative group w-full h-full",children:[(0,n.jsxs)("div",{className:"space-y-2.5 w-full",children:[(0,n.jsxs)("div",{className:(0,h.cn)("relative h-full w-full transition-all block duration-300 delay-300 ease-in-out rounded-xl cursor-pointer aspect-video group",k?"xl:scale-110 2xl:scale-[1.15] xl:z-10 xl:shadow-[0px_10px_40px_0px_rgba(0,0,0,0.5)] xl:bg-zinc-800":"scale-100 z-0","start"===p&&"xl:hover:translate-x-[0.8rem] 2xl:hover:translate-x-6","end"===p&&"xl:hover:-translate-x-[0.8rem] 2xl:hover:-translate-x-6"),onClick:l,children:[(0,n.jsx)(d.ZP,{content:t,isHovering:k,className:"xl:-translate-y-[3.1rem] rounded-t-xl rounded-b-none",children:(0,n.jsxs)("div",{className:(0,h.cn)("relative rounded-xl overflow-hidden  transition-all duration-300 delay-300",k?"xl:-translate-y-[3.1rem] rounded-b-none":"translate-y-0"),children:[(0,n.jsx)(m.default,{width:480,height:270,src:(null==t?void 0:t.thumbnail)||(null==t?void 0:t.image)||_._E,alt:t.title,placeholder:"blur",blurDataURL:_._E,className:"object-cover w-full h-full aspect-video"}),f&&(0,T.sY)(f)&&(0,n.jsx)("div",{className:(0,h.cn)("absolute inset-0 overflow-hidden","transition-all duration-300 delay-300",k?"xl:opacity-0":"opacity-100"),children:(0,n.jsx)(r.Z,{rankIndex:f,className:"h-2/5"})}),z&&j&&(0,n.jsx)("div",{className:(0,h.cn)("absolute bottom-0 inset-x-0 delay-300",k?"opacity-0":"opacity-100"),children:(0,n.jsx)(c.n,{progressValue:P})})]})}),(0,n.jsx)("div",{className:(0,h.cn)("hidden w-full xl:block absolute transition-all duration-300 delay-300 rounded-b-xl z-10 inset-x-0 bg-zinc-800",k?"xl:-bottom-[3.1rem] xl:opacity-100":"bottom-0 opacity-0"),children:(0,n.jsx)(D,{content:t,onDelete:a})})]}),(0,n.jsx)("div",{className:(0,h.cn)("transition-all duration-300 delay-300",k?"xl:opacity-0":"opacity-100"),children:(0,n.jsx)(x.ContentBadge,{content:t})})]}),(0,n.jsx)(M,{onDelete:a,id:t.id})]})}):(0,n.jsx)(Z.rU,{href:(null==t?void 0:t.route_uri)||"/",children:(0,n.jsx)("article",{ref:b,className:"relative w-full h-full group",children:(0,n.jsxs)("div",{className:"space-y-2.5 relative h-full w-full",children:[(0,n.jsxs)("div",{className:"transition-all cursor-pointer rounded-xl aspect-video overflow-hidden border border-solid border-zinc-800",onClick:l,children:[(0,n.jsxs)("div",{className:"relative h-full w-full transition-all overflow-hidden",children:[!(null==t?void 0:t.hideContentImage)&&(0,n.jsx)(m.default,{width:480,height:270,src:(null==t?void 0:t.thumbnail)||(null==t?void 0:t.image)||_._E,alt:(null==t?void 0:t.title)||"image",className:"object-cover w-full h-full rounded-xl aspect-video group-hover:xl:scale-110 transition-transform duration-200",placeholder:"blur",blurDataURL:_._E}),w&&(0,n.jsx)(S,{content:t}),a&&(0,n.jsx)("div",{className:"absolute top-1 right-1 md:top-1.5 md:right-1.5 xl:top-2 xl:right-2 opacity-100 xl:opacity-0 xl:group-hover:opacity-100 xl:transition-opacity xl:duration-300",children:(0,n.jsx)(R.p,{content:t,onDelete:a})}),f&&(0,T.sY)(f)&&(0,n.jsx)(r.Z,{rankIndex:f,className:"h-2/5"}),z&&j&&(0,n.jsx)("div",{className:"absolute bottom-0 inset-x-0",children:(0,n.jsx)(c.n,{progressValue:P,wrapperClassName:"rounded-none rounded-b-md h-1",barClassName:"rounded-none h-1"})})]}),g&&(0,n.jsx)(x.ContentBadge,{content:t})]}),u&&(0,n.jsx)(o.Z,{title:t.title,metaTitle:C?t.type:""})]})})})}function D(e){var t,l,s;let{content:i,onDelete:o=null}=e,r=(0,a.useTranslations)("ContentDetails"),d=(0,a.useTranslations)("Common.tooltip");(0,Z.tv)();let c=null==i?void 0:null===(l=i.metas)||void 0===l?void 0:null===(t=l.genres)||void 0===t?void 0:t.slice(0,2),m=null==i?void 0:null===(s=i.content_rating)||void 0===s?void 0:s.name,x=(0,a.useFormatter)(),v=!isNaN(null==i?void 0:i.duration)&&(0,T.lL)({seconds:null==i?void 0:i.duration,t:r,format:x,withoutSeconds:!0});return(0,n.jsxs)("section",{className:"relative z-20 p-3",children:[(0,n.jsx)("div",{className:"flex items-center justify-between",children:(0,n.jsxs)("div",{id:"card-buttons",className:"flex w-full space-x-2",children:[(0,n.jsx)(u.v,{content:i,
1className:"flex-1 w-full md:max-w-full !text-xs capitalize py-1.5 !h-auto rounded-full",iconClassName:"!size-3.5"}),(0,n.jsx)(p.Z,{type:"secondary",iconClassName:"!size-3.5",buttonClassName:"rounded-full",content:i}),o&&(0,n.jsx)(g.pn,{delayDuration:200,disableHoverableContent:!0,children:(0,n.jsxs)(g.u,{children:[(0,n.jsx)(g.aJ,{asChild:!0,children:(0,n.jsx)(f.ZP,{buttonType:"alpha",className:(0,h.cn)("!size-8 !px-0 rounded-full"),onClick:()=>{null==o||o(i.id)},children:(0,n.jsx)(j.Z,{className:"size-3.5"})})}),(0,n.jsx)(g._v,{children:(0,n.jsx)("p",{className:"text-xs",children:d("remove_from_row")})})]})})]})}),(0,n.jsxs)("div",{className:"mt-2 space-y-1",children:[(0,n.jsx)("h3",{className:"text-sm font-semibold line-clamp-2",children:i.title}),(0,n.jsxs)("ul",{className:"flex items-center space-x-1 text-tn seperate",children:[c&&c.map(e=>(0,n.jsx)("li",{className:"line-clamp-1",children:e.title},e.id)),m&&(0,n.jsx)("li",{className:"",children:(0,n.jsx)("span",{className:"px-1 ml-1 rounded-sm whitespace-nowrap bg-white/25",children:m})}),v&&(0,n.jsx)("li",{children:v})]})]})]})}function M(e){let{onDelete:t,id:l}=e,s=(0,a.useTranslations)("Common.tooltip");return t?(0,n.jsx)("div",{className:" lg:hidden inline-block absolute top-0 right-0",onClick:e=>{e.preventDefault()},children:(0,n.jsxs)(y,{children:[(0,n.jsx)(C,{asChild:!0,children:(0,n.jsx)(f.ZP,{buttonType:"blank",className:"p-2",children:(0,n.jsx)(v,{className:"size-6"})})}),(0,n.jsx)(z,{align:"end",alignOffset:5,children:(0,n.jsx)(k,{onSelect:()=>{l&&(null==t||t(l))},children:s("remove_from_row")})})]})}):(0,n.jsx)(n.Fragment,{})}},28640:function(e,t,l){l.d(t,{Z:function(){return i}});var n=l(57437),s=l(44351),a=l(58214);function i(e){let{rankIndex:t,wrapperClassName:l="",className:i=""}=e;return(0,n.jsx)("div",{className:(0,a.cn)("absolute inset-y-0 inset-x-0 h-full flex items-end",l),children:(0,n.jsx)("div",{className:(0,a.cn)("relative h-[30%] w-auto left-2",i),children:(0,n.jsx)(s.default,{height:400,width:400,src:"/images/numbers/".concat(t,".png"),alt:"Rank Number",className:"w-full h-full object-contain pointer-events-none"})})})}},53659:function(e,t,l){l.d(t,{r8:function(){return R},ZP:function(){return P}});var n=l(57437),s=l(18087),a=l(46454),i=l(59140),o=l(12098),r=l(58214);function d(e){let{className:t,...l}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",className:(0,r.cn)(t),children:(0,n.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M18.267 1.298a.84.84 0 00-.374.262c-.027.033-.187.429-.356.88-.334.89-.477 1.202-.633 1.389-.148.174-.537.363-1.463.709-.542.202-.859.342-.936.414-.141.132-.263.386-.264.55-.001.163.178.515.305.598.056.037.473.207.928.378 1.243.468 1.384.552 1.6.957.071.132.272.623.449 1.092.34.906.413 1.026.697 1.157a.594.594 0 00.56.001c.288-.132.351-.235.681-1.115.335-.897.478-1.211.635-1.397.147-.176.48-.338 1.431-.696.906-.34 1.026-.413 1.157-.697a.591.591 0 000-.56c-.131-.284-.252-.357-1.125-.682-.926-.346-1.315-.535-1.463-.709-.157-.188-.299-.501-.636-1.399-.272-.728-.329-.847-.462-.967-.14-.126-.371-.225-.518-.221-.073.011-.144.03-.213.056zM8.6 2.281c-.56.012-1.12.037-1.68.075-2.052.187-3.212.634-4.121 1.589a4.433 4.433 0 00-1.038 1.757c-.417 1.301-.52 2.65-.52 6.798 0 4.762.159 6.225.817 7.513.223.439.4.685.76 1.061.885.922 2.037 1.377 3.962 1.563 1.699.165 7.741.165 9.44 0 1.564-.151 2.596-.477 3.42-1.08.296-.216.755-.681.965-.977.562-.791.884-1.842 1.034-3.376.077-.779.126-2.781.114-4.604-.013-1.75-.016-1.825-.095-1.959a1.004 1.004 0 00-.249-.257.76.76 0 00-.957.103c-.213.227-.212.22-.213 2.582 0 2.132-.036 3.395-.119 4.171-.155 1.447-.475 2.28-1.105 2.879-.72.685-1.706.968-3.755 1.08-.934.051-6.586.051-7.52 0-2.035-.111-3.03-.394-3.742-1.066-.714-.674-1.003-1.515-1.166-3.393-.073-.846-.074-7.628 0-8.48.156-1.81.426-2.638 1.082-3.313.52-.534 1.256-.849 2.358-1.006.871-.124 1.448-.148 4.088-.165 1.659-.011 2.758-.033 2.851-.059.338-.092.584-.464.533-.807a.746.746 0 00-.349-.538l-.169-.112-1.723-.004a129.45 129.45 0 00-2.903.025zM18.663 4.39c.236.39.563.716.954.951.241.133.268.16.205.196-.612.36-.919.646-1.167 1.089-.078.14-.148.254-.155.254-.007 0-.077-.114-.155-.254-.248-.443-.555-.729-1.167-1.089-.063-.036-.036-.063.205-.196a2.8 2.8 0 00.954-.951c.082-.148.156-.27.163-.27.007 0 .081.122.163.27zM9.508 8.286c-.323.044-.704.238-.993.505-.294.273-.414.454-.535.808-.188.552-.2.733-.2 2.901 0 2.168.012 2.349.2 2.901.122.357.241.535.544.817.29.267.622.435 1.002.505.465.086 1.077-.09 1.852-.533.826-.471 2.238-1.361 2.702-1.702.812-.599 1.16-1.194 1.16-1.988 0-.904-.39-1.471-1.543-2.246-1.103-.741-2.548-1.6-3.002-1.785-.428-.174-.813-.233-1.187-.183zm.537 1.536c.431.151 2.82 1.618 3.348 2.055.25.208.338.37.338.623 0 .254-.094.427-.343.631-.44.361-2.632 1.725-3.172 1.975-.16.073-.345.134-.412.134-.171 0-.382-.196-.441-.41-.087-.315-.139-2.243-.091-3.416.024-.591.065-1.151.091-1.244.054-.196.27-.41.413-.41.052 0 .173.028.269.062z",clipRule:"evenodd"})})}var c=l(84239),u=l(27154),m=l(2265),x=l(80107),f=l(88336),p=l(22488),h=l(21413),v=l(12690),j=l(33263);function g(e){let{className:t=""}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",className:(0,r.cn)(t),children:(0,n.jsx)("path",{fill:"#fff",d:"M2 9.137C2 14 6.02 16.591 8.962 18.911 10 19.729 11 20.5 12 20.5s2-.77 3.038-1.59C17.981 16.592 22 14 22 9.138c0-4.863-5.5-8.312-10-3.636C7.5.825 2 4.274 2 9.137z"})})}function w(e){let{className:t=""}=e;return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",className:(0,r.cn)(t),children:[(0,n.jsx)("path",{fill:"#fff",d:"M20.27 8.485l.705 4.08a1.666 1.666 0 01-1.64 1.95h-5.181a.833.833 0 00-.822.969l.663 4.045c.108.657.077 1.329-.09 1.974-.139.533-.55.962-1.092 1.136l-.145.047c-.328.105-.685.08-.994-.068a1.264 1.264 0 01-.68-.818l-.476-1.834a7.627 7.627 0 00-.656-1.679c-.415-.777-1.057-1.4-1.725-1.975l-1.439-1.24a1.668 1.668 0 01-.572-1.406l.812-9.393A1.666 1.666 0 018.597 2.75h4.648c3.482 0 6.453 2.426 7.025 5.735z"}),(0,n.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M2.968 15.265a.75.75 0 00.78-.685l.97-11.236a1.237 1.237 0 10-2.468-.107v11.279a.75.75 0 00.718.75z",clipRule:"evenodd"})]})}
1function b(e){let{content:t,className:l="",popoverClassName:s="",type:a="default",closeMenu:i=!1,closeDelay:o=0,checkReaction:r=!0}=e,{auth:d}=(0,f.bp)(),[c,u]=(0,m.useState)(null),[h,v]=(0,m.useState)(null),[g,w]=(0,m.useState)(!1);function b(e,l){if(!d.isLoggedIn){(0,x.s)();return}if(!t)return;"like"===l&&u("like"),"love"===l&&u("love"),"dislike"===l&&u("dislike");let n={content_id:t.id,content_type:t.classname,type:l};j.c.post("/v1/user/content-reaction/react",n).then(async e=>{if(e.data.success){if(e.data.result){if(e.data.result.id){var t;v(null===(t=e.data.result)||void 0===t?void 0:t.type)}}else v(null)}}).catch(e=>{(0,p.S)(e)}).finally(()=>{u(null)}),setTimeout(()=>{h!==l?v(l):v(null),w(!1),u(null)},300)}async function k(){if(!t||!d.isLoggedIn)return;let e={contents:[{content_id:t.id,content_type:t.classname}]};j.c.post("/v1/user/content-reaction/check",e).then(e=>{var t,l,n,s,a,i;(null===(n=e.data)||void 0===n?void 0:null===(l=n.result)||void 0===l?void 0:null===(t=l[0])||void 0===t?void 0:t.id)?v(null===(i=e.data)||void 0===i?void 0:null===(a=i.result)||void 0===a?void 0:null===(s=a[0])||void 0===s?void 0:s.type):v(null)}).catch(e=>{(0,p.S)(e)})}return(0,m.useEffect)(()=>{i&&setTimeout(()=>w(!1),o)},[i]),(0,m.useEffect)(()=>{r&&k()},[r,t,d.isLoggedIn]),(0,n.jsx)(N,{handleUserClick:b,selectedType:h,isloading:c,isPopoverOpen:g,setIsPopoverOpen:w,popoverClassName:s,children:function(e){let{handleUserClick:t,selectedType:l,isloading:s,className:a,type:i="default",...o}=e;return"secondary"===i?(0,n.jsx)(z,{...o,selectedType:l,isLoading:s,className:a}):"rounded"===i?(0,n.jsx)(C,{selectedType:l,isloading:s,className:a}):(0,n.jsx)(y,{selectedType:l,isloading:s,className:a})}({handleUserClick:b,selectedType:h,isloading:c,className:l,type:a})})}function N(e){let{handleUserClick:t,selectedType:l,isloading:s,isPopoverOpen:a,setIsPopoverOpen:i,popoverClassName:o,children:d}=e;return(0,n.jsxs)(h.J2,{open:a,onOpenChange:i,children:[(0,n.jsx)(h.xo,{asChild:!0,children:d}),(0,n.jsxs)(h.yk,{onClick:e=>{e.stopPropagation(),e.preventDefault()},side:"top",className:(0,r.cn)("w-auto bg-zinc-800 rounded-full text-white border-0 flex items-center gap-7 px-6 py-2",o),children:[(0,n.jsx)(k,{handleUserClick:t,selectedType:l,isloading:s}),(0,n.jsx)(_,{handleUserClick:t,selectedType:l,isloading:s}),(0,n.jsx)(Z,{handleUserClick:t,selectedType:l,isloading:s})]})]})}let y=m.forwardRef((e,t)=>{let{selectedType:l=null,className:a,isLoading:i,...d}=e,c=(0,s.useTranslations)("Common.buttons");return(0,n.jsx)(o.ZP,{ref:t,loading:!1,...d,buttonType:"alpha",className:(0,r.cn)("!px-2 lg:!px-4 py-2 rounded-full text-xs lg:text-sm font-medium",a),icon:(0,n.jsxs)(n.Fragment,{children:[!l&&(0,n.jsx)(v.Z,{className:"size-4"}),"like"===l&&(0,n.jsx)(v.$,{className:"size-4"}),"love"===l&&(0,n.jsx)(g,{className:"size-4"}),"dislike"===l&&(0,n.jsx)(w,{className:"size-4"})]}),children:c("rate")})});y.displayName="DefaultReactButton";let C=m.forwardRef((e,t)=>{let{selectedType:l=null,className:s,isLoading:a,...i}=e;return(0,n.jsx)(o.ZP,{ref:t,buttonType:"blank",...i,size:"icon",radius:"circle",className:(0,r.cn)("group p-3 bg-white/20 hover:bg-white/25",s),children:(0,n.jsxs)("span",{className:"flex items-center space-x-1",children:[!l&&(0,n.jsx)(v.Z,{className:"size-4 md:size-5"}),"like"===l&&(0,n.jsx)(v.$,{className:"size-4 md:size-5"}),"love"===l&&(0,n.jsx)(g,{className:"size-4 md:size-5"}),"dislike"===l&&(0,n.jsx)(w,{className:"size-4 md:size-5"})]})})});C.displayName="RoundedReactButton";let z=m.forwardRef((e,t)=>{let{selectedType:l=null,className:a,isLoading:i,...d}=e,c=(0,s.useTranslations)("Common.buttons");return(0,n.jsx)(o.ZP,{ref:t,loading:!1,...d,buttonType:"alpha",className:(0,r.cn)("group w-full h-full md:w-11 md:h-11 lg:w-12 lg:h-12 inline-grid place-content-center !px-0",a),iconAlignment:"right",children:(0,n.jsxs)("span",{className:"flex items-center space-x-1",children:[!l&&(0,n.jsx)(v.Z,{className:"size-4 md:size-5"}),"like"===l&&(0,n.jsx)(v.$,{className:"size-4 md:size-5"}),"love"===l&&(0,n.jsx)(g,{className:"size-4 md:size-5"}),"dislike"===l&&(0,n.jsx)(w,{className:"size-4 md:size-5"}),(0,n.jsx)("span",{className:"inline-block md:hidden",children:c("rate")})]})})});function k(e){let{handleUserClick:t,isloading:l}=e,a=(0,s.useTranslations)("Common.buttons");return(0,n.jsxs)("button",{type:"button",className:"flex flex-col items-center",onClick:e=>t(e,"dislike"),disabled:l,children:[(0,n.jsx)("span",{className:"dislike"===l?"animate-wiggle":"",children:(0,n.jsx)(w,{})}),(0,n.jsx)("p",{className:"text-tn text-center",children:a("dislike")})]})}function _(e){let{handleUserClick:t,isloading:l}=e,a=(0,s.useTranslations)("Common.buttons");return(0,n.jsxs)("button",{type:"button",className:"flex flex-col items-center",onClick:e=>t(e,"like"),disabled:l,children:[(0,n.jsx)("span",{className:"like"===l?"animate-wiggle":"",children:(0,n.jsx)(v.$,{})}),(0,n.jsx)("p",{className:"text-tn text-center",children:a("like")})]})}function Z(e){let{handleUserClick:t,isloading:l}=e,a=(0,s.useTranslations)("Common.buttons");return(0,n.jsxs)("button",{type:"button",className:"flex flex-col items-center",onClick:e=>t(e,"love"),disabled:l,children:[(0,n.jsx)("span",{className:"love"===l?"animate-wiggle":"",children:(0,n.jsx)(g,{})}),(0,n.jsx)("p",{className:"text-tn text-center",children:a("love")})]})}z.displayName="SecondaryReactButton";var T=l(76237);let R="h-10 lg:h-11";
1function P(e){let{content:t,sections:l,reactEnabled:s=!0,shareEnabled:i=!0,AddToWatchlistEnabled:o=!0,trailerEnabled:r=!0,type:d="default",buttonType:m=""}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"md:flex md:flex-row gap-3 md:flex-wrap space-y-3 md:space-y-0",children:["slide"===d&&(0,n.jsx)(M,{content:t}),"series"===d&&(0,n.jsx)(a.Z,{content:t,type:d,buttonType:m,episodes:l}),(0,n.jsxs)("div",{className:"flex flex-wrap justify-between items-center gap-2",children:[r&&(0,n.jsx)(D,{content:t,sections:l,className:"flex-1"}),o&&(0,n.jsx)(c.Z,{content:t,type:m,buttonClassName:"flex-1"}),s&&(0,n.jsx)(b,{content:t,className:"flex-1",type:m}),i&&(0,n.jsx)(u.default,{type:m,buttonClassName:"flex-1"})]})]})})}function D(e){var t;let{content:l,className:a}=e,i=(0,s.useTranslations)("Common.buttons"),c=(0,T.tv)(),u=(null===(t=l.clips)||void 0===t?void 0:t.find(e=>e.is_feature_clip))||{};return(0,n.jsx)(n.Fragment,{children:u&&(null==u?void 0:u.route_uri)&&(0,n.jsx)(o.ZP,{className:(0,r.cn)("!px-2 lg:!px-4 py-2 rounded-full text-xs lg:text-sm",a),buttonType:"alpha",onClick:function(e){(null==u?void 0:u.route_uri)&&(c.push("".concat(null==u?void 0:u.route_uri)),e.preventDefault())},icon:(0,n.jsx)(d,{className:"size-4"}),children:i("trailer")})})}function M(e){let{content:t,className:l}=e,a=(0,T.tv)(),d=(0,s.useTranslations)("Common.buttons");return(0,n.jsx)(o.ZP,{"aria-label":"Play",icon:(0,n.jsx)(i.z,{className:"size-5"}),className:(0,r.cn)("text-base font-medium group w-full md:max-w-fit space-x-0 md:space-x-2 rounded-full md:!px-3.5 size-12 md:size-auto p-3 md:p-0",l),onClick:function(){a.push(t.route_uri)},children:(0,n.jsx)("span",{className:"hidden md:block whitespace-nowrap",children:d("watch_now")})})}},18707:function(e,t,l){l.d(t,{R:function(){return d},n:function(){return c}});var n=l(57437),s=l(18087),a=l(20635),i=l(15630),o=l(33129),r=l(58214);function d(){var e;let{isWatchHistoryLoading:t,watchedDetails:l}=(0,i.IJ)(),d=(0,s.useFormatter)(),u=(0,s.useTranslations)("ContentDetails");if(t)return(0,n.jsxs)("div",{className:"space-y-2 md:max-w-lg",children:[(0,n.jsx)(a.O,{className:(0,r.cn)("w-4/5 h-4")}),(0,n.jsx)(a.O,{className:(0,r.cn)("w-full h-2")})]});let m=null!==(e=Math.floor(((null==l?void 0:l.watchedDuration)||10)/l.duration*100))&&void 0!==e?e:0;return(null==l?void 0:l.watchedAt)?(0,n.jsxs)("div",{className:"max-w-lg",children:[(null==l?void 0:l.title)&&(0,n.jsx)("h3",{className:"text-lg font-semibold line-clamp-2",children:l.title}),(0,n.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,n.jsx)(c,{wrapperClassName:"flex-1",progressValue:m}),(0,n.jsxs)("p",{className:"text-sm text-zinc-300",children:[(0,o.lL)({seconds:l.duration-l.watchedDuration,format:d,t:u,withoutSeconds:!0})," ",u("remaining")]})]})]}):(0,n.jsx)(n.Fragment,{})}function c(e){let{wrapperClassName:t="",barClassName:l="",progressValue:s}=e;return(0,n.jsx)("div",{className:(0,r.cn)("relative h-1 w-full overflow-hidden rounded-md bg-zinc-400",t),children:(0,n.jsx)("span",{className:(0,r.cn)("absolute left-0 h-1 rounded-md bg-primary-600",l),style:{width:"".concat(s,"%")}})})}},46454:function(e,t,l){l.d(t,{Z:function(){return h},v:function(){return j}});var n=l(57437),s=l(88336),a=l(12098),i=l(7442),o=l(2265),r=l(76237),d=l(20635),c=l(15630),u=l(53659),m=l(18087),x=l(58214),f=l(59140),p=l(81164);function h(e){let{content:t,episodes:l,buttonType:a}=e,{auth:o}=(0,s.bp)(),d=o.canAccessContent(t),c=(0,r.tv)(),u=(0,i.dn)(l);return(0,n.jsx)(n.Fragment,{children:d?(0,n.jsx)(v,{content:t,onClick:function(e){null==e||e.preventDefault(),u&&c.push(u)}}):(0,n.jsx)(p.Z,{content:t})})}function v(e){let{content:t,onClick:l}=e,s=(0,r.tv)(),i=(0,m.useTranslations)("Common.buttons"),{isWatchHistoryLoading:p,watchedDetails:h}=(0,o.useContext)(c.pm);return p?(0,n.jsx)(d.O,{className:(0,x.cn)("w-full md:w-40 rounded-full",u.r8)}):(0,n.jsx)(n.Fragment,{children:(null==h?void 0:h.watchedAt)?(0,n.jsx)(a.ZP,{icon:(0,n.jsx)(f.z,{className:"size-4 lg:size-5"}),className:(0,x.cn)("text-sm lg:text-base font-medium group w-full md:max-w-fit !px-3.5 rounded-full"),onClick:function(e){if(h){let e="".concat((null==h?void 0:h.route_uri)||t.route_uri);s.push(e)}e.preventDefault()},children:(0,n.jsx)("span",{className:"whitespace-nowrap",children:i("continue_watching")})}):(0,n.jsx)(j,{content:t,onClick:l,className:"rounded-full"})})}
1function j(e){let{content:t,className:l,iconClassName:s="",onClick:i}=e,o=(0,r.tv)(),d=(0,m.useTranslations)("Common.buttons");return(0,n.jsx)(a.ZP,{"aria-label":"Play",icon:(0,n.jsx)(f.z,{className:(0,x.cn)("size-4 lg:size-5",s)}),buttonType:"brand",className:(0,x.cn)("text-sm lg:text-base font-medium group w-full md:max-w-fit px-4",l),onClick:function(e){if(i)i();else{let e=t.route_uri;o.push(e)}e.preventDefault()},children:(0,n.jsx)("span",{className:"whitespace-nowrap",children:d("watch_now")})})}},62750:function(e,t,l){l.d(t,{ZP:function(){return c}});var n=l(57437),s=l(70750),a=l(12098),i=l(77259),o=l(56319),r=l(58214),d=l(73390);function c(e){let{className:t}=e,[l,c]=(0,s._)("videojs-persist",null,{initializeWithValue:!1}),u=null!=l&&!!l.muted;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(d.pn,{children:(0,n.jsxs)(d.u,{delayDuration:200,disableHoverableContent:!0,children:[(0,n.jsx)(d.aJ,{asChild:!0,children:(0,n.jsx)(a.ZP,{buttonType:"blank",className:(0,r.cn)("bg-white/10 border border-solid border-white/15 !p-2 rounded-full transition duration-100 opacity-0",t),id:"background-mute-unmute",onClick:function(e){e.preventDefault();let t=window.videojs.getAllPlayers()||[];null==t||t.forEach(e=>{var t;null==e||null===(t=e.muted)||void 0===t||t.call(e,!u)}),c(()=>({...l,muted:!u}))},children:u?(0,n.jsx)(o.Z,{className:"size-5"}):(0,n.jsx)(i.Z,{className:"size-5"})})}),(0,n.jsxs)(d._v,{children:[(0,n.jsxs)("p",{className:"text-sm",children:[" ",u?"Mute":"Unmute"]}),(0,n.jsx)(d.Ce,{})]})]})})})}},20635:function(e,t,l){l.d(t,{O:function(){return a}});var n=l(57437),s=l(58214);function a(e){let{className:t,...l}=e;return(0,n.jsx)("div",{className:(0,s.cn)("bg-muted animate-pulse rounded-md bg-neutral-600",t),...l})}},73390:function(e,t,l){l.d(t,{Ce:function(){return u},_v:function(){return m},aJ:function(){return d},pn:function(){return o},u:function(){return r}});var n=l(57437),s=l(2265),a=l(27071),i=l(58214);let o=a.zt,r=a.fC,d=a.xz,c=a.h_,u=a.Eh,m=s.forwardRef((e,t)=>{let{className:l,sideOffset:s=4,...o}=e;return(0,n.jsx)(c,{children:(0,n.jsx)(a.VY,{ref:t,align:"center",sideOffset:s,className:(0,i.cn)("z-60 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 duration-200 ease-in-out bg-black text-white p-2 rounded-md text-base",l),...o})})});m.displayName=a.VY.displayName},15630:function(e,t,l){l.d(t,{IJ:function(){return d},pm:function(){return o},x1:function(){return r}});var n=l(57437),s=l(7442),a=l(88336),i=l(2265);let o=(0,i.createContext)();function r(e){let{children:t,content:l}=e,{isWatchHistoryLoading:r,watchedDetails:d}=function(e){let{auth:t}=(0,a.bp)(),[l,n]=(0,i.useState)(!0),[o,r]=(0,i.useState)(null),d=(0,i.useMemo)(()=>{let t=(null==o?void 0:o.type)==="series"?(null==o?void 0:o.title)+": "+(null==o?void 0:o.episode_number):"";return o&&(null==o?void 0:o.watched_at)&&(null==o?void 0:o.watched_duration)?{watchedDuration:Math.floor(null==o?void 0:o.watched_duration),watchedAt:null==o?void 0:o.watched_at,duration:(null==o?void 0:o.duration)||(null==e?void 0:e.duration),title:t,route_uri:null==o?void 0:o.route_uri,episode_number:null==o?void 0:o.episode_number,season:null==o?void 0:o.season,series:null==o?void 0:o.series}:{}},[o]);return(0,i.useEffect)(()=>{if(!t.isLoggedIn||!e){n(!1);return}(0,s.e7)(e).then(e=>{if(e.data.success){var t,l,n;r(null!==(n=null===(l=e.data.result)||void 0===l?void 0:null===(t=l.data)||void 0===t?void 0:t.data[0])&&void 0!==n?n:{})}}).catch(e=>{}).finally(()=>{n(!1)})},[t,e]),{isWatchHistoryLoading:l,watchHistory:o,watchedDetails:d}}(l||null);return(0,n.jsx)(o.Provider,{value:{isWatchHistoryLoading:r,watchedDetails:null!=d?d:{}},children:t})}function d(){return(0,i.useContext)(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.