PageSourceSearch

https://www.screambox.com/_next/static/chunks/pages/genres-24c7aecfff0689ff.js

js screambox.com collected 2026-10-02 06:46:48 UTC 8,133 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1505],{14666:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/genres",function(){return i(9766)}])},26703:function(e,t,i){"use strict";i.d(t,{Z:function(){return h}});var l=i(85893),r=i(67294),n=i(45697),s=i.n(n),a=i(38368),o=i(28907),c=i(60990),d=i(45312);function u(e){let{children:t,value:i,index:r,...n}=e;return(0,l.jsx)("div",{role:"tabpanel",hidden:i!==r,id:"horizontal-tabpanel-".concat(r),"aria-labelledby":"horizontal-tab-".concat(r),...n,children:i===r&&(0,l.jsx)("div",{children:t})})}function h(e){let[t,i]=r.useState(0);return(0,l.jsxs)(c.Z,{children:[(0,l.jsx)(a.Z,{variant:"scrollable",scrollButtons:!0,allowScrollButtonsMobile:!0,TabIndicatorProps:{style:{backgroundColor:d.isDove?"#885a5a":d.menuTextHoverColor,border:"2px solid ".concat(d.isDove?"#885a5a":d.menuTextHoverColor),borderRadius:"4px"}},value:t,onChange:(t,l)=>{e.setTabIndex(l),i(l)},className:"horizTab"+(e.className?" "+e.className:""),children:e.tabObj&&e.tabObj.map(e=>(0,l.jsx)(o.Z,{className:"horizontal-inner-tab",label:e.label,sx:{width:"192px",color:d.isDove?"#353a47 !important":"#ffffff80","&.Mui-selected":{color:d.isDove?"#885a5a !important":"#ffffff !important"}}},e.index+"_new_thng_"))}),e.tabObj&&e.tabObj.map(e=>(0,l.jsx)(u,{value:t,index:e.index,children:e.inner_val},e.index+"_new_thing_"))]})}u.propTypes={children:s().node,index:s().number.isRequired,value:s().number.isRequired}},77438:function(e,t,i){"use strict";i.r(t);var l=i(85893),r=i(67294),n=i(46066),s=i(68777),a=i(89755),o=i.n(a),c=i(85518),d=i(45312);t.default=function(e){let{genreArr:t,selectedGenre:i}=e,a=e=>{let{currentSlide:l}=e,r=parseInt(l)+1;r=r<Object.keys(t).length?r:0,setTimeout(()=>{i(t[r],r)},500)},u=e=>{let{currentSlide:l}=e,r=l-1;r=r>=0?r:Object.keys(t).length-1,setTimeout(()=>{i(t[r],r)},500)};(0,r.useEffect)(()=>{var i;let l=document.getElementById(null===(i=t[e.initialSlide])||void 0===i?void 0:i.id);l&&e.initialSlide&&l.click()},[]);let h=s.ZP.div.withConfig({componentId:"sc-48d9b339-0"})(["width:80%;margin:auto;margin-top:20px;cursor:pointer;.slick-slide{text-align:center;color:#efefef;color:#717171;}.slick-slide h3{font-size:1.5rem;width:70%;margin:auto;}.slick-slide.slick-active.slick-center h3,.single-item h3{transform:scale(1.2);transition:all 5s ease-out;transition-property:opacity,right;transition-duration:3s,5s,2s,1s;color:#fff;width:70%;margin:auto;}@media only screen and (max-width:1000px){.slick-slide h3{width:90%;margin:auto;font-size:1rem;}}@keyframes fadein{from{opacity:0;}to{opacity:1;}}@-moz-keyframes fadein{from{opacity:0;}to{opacity:1;}}.slick-list{padding:10px !important;flex:2;}.slick-arrow{z-index:2;}.slick-prevprev,.slick-nextnext{top :18%}.slick-prevprev{position:absolute;left:30%;}.slick-nextnext{position:absolute;right:28%;}}"]),f=e=>{i(t[e],e)},m={focusOnSelect:!0,infinite:!0,speed:500,slidesToShow:c.tq?1:t&&t.length>3?3:1,slidesToScroll:1,centerMode:!0,centerPadding:0,initialSlide:e.initialSlide?e.initialSlide:0,nextArrow:(0,l.jsx)(e=>{let{className:t,style:i,onClick:r}=e;return(0,l.jsx)("div",{className:t+"next",onClick:t=>a(e),children:(0,l.jsx)(o(),{src:d.genreSliderArrowNextImage,width:27,height:27,alt:"Arrow",onClick:r,className:"arrow-size"})})},{}),prevArrow:(0,l.jsx)(e=>{let{className:t,style:i,onClick:r}=e;return(0,l.jsx)("div",{className:t+"prev",onClick:t=>u(e),children:(0,l.jsx)(o(),{src:d.genreSliderArrowPrevImage,width:27,height:27,alt:"Arrow",onClick:r,className:"arrow-size-prev"})})},{})};return t&&t.length>1?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(h,{className:"nav-glider",children:(0,l.jsx)(n.Z,{className:"d-flex justify-content-center align-items-center",...m,children:t&&t.length&&t.map((e,t)=>{let i=e.shelf_style?e.shelf_style:null;return(0,l.jsx)("div",{id:e.id,onClick:e=>f(t),className:"genre-slider-container",children:i&&i.title_img?(0,l.jsx)(o(),{src:i.title_img,width:300,height:40,alt:"title image",className:"header-title-img"}):(0,l.jsx)("h1",{className:d.isDove?"dove-slider-text":"text-color-h1",style:{color:m.initialSlide==t&&i&&i.title_color&&i.title_color},children:e.name.toUpperCase()},e.id)},t)})})})}):(0,l.jsx)(h,{className:"nav-glider fadeInOut",children:(0,l.jsx)("div",{className:"text-center single-item",children:t&&t[0]&&t[0].shelf_style&&t[0].shelf_style.title_img?(0,l.jsx)(o(),{src:t[0].shelf_style.title_img,height:40,width:auto,alt:"title image"}):(0,l.jsx)("h3",{style:{color:t&&t[0]&&t[0].shelf_style&&t[0].shelf_style.title_color?t[0].shelf_style.title_color:"#ffffff"},children:t&&t[0]&&t[0].name.toUpperCase()})})})}},4897:function(e,t,i){"use strict";i.r(t);var l=i(85893),r=i(67294),n=i(18059),s=i(32415),a=i(58239),o=i(45312);t.default=function(e){let{currGenre:t,dataFor:i}=e,c=(0,r.useRef)(!1),d={ironCookie:(null==e?void 0:e.ironCookie)?e.ironCookie:"",selectedProfile:(null==e?void 0:e.selectedProfile)?e.selectedProfile:"",location_type:"page",event_location_id:"vod"==e.dataFor?"genres_movies_screen":"genres_series_screen",shelves:null},u=(0,s.m1)(d),h=e&&e.urls&&e.urls.logURLV2?(0,s.tY)(e.urls.logURLV2):"";if((0,r.useEffect)(()=>{!c.current&&(c.current=!0,o.isVisitPageOn&&(0,a.qe)(h,"VISIT",u))},[]),void 0==t)return(0,l.jsx)(l.Fragment,{});let f=t?t.url:"";f=String(f=String(f=String(f).replace("__JTV__ITEM__TYPE__",i)).replace("__JTV__UI__DESIGN__TYPE__","grid")).replace("&limit=0","&limit=200");let m={};return(m.url=f,t&&t.url)?(0,l.jsx)(n.Z,{iswatchlist:!0,imageWidth:t&&t.shelf_style&&t.shelf_style.thumb_width?t.shelf_style.thumb_width:280,imageHeight:t&&t.shelf_style&&t.shelf_style.thumb_height?t.shelf_style.thumb_height:380,orientation:"thumbnail",hideTitle:!0,finalData:m,col:1.5,spacing:2,skeletonH:280,favupdateurl:e.favupdateurl,showAlert:(t,i)=>
1{e.showAlert(t,i)},callFrom:"genres",...e},t.id+"_id"):(0,l.jsx)(l.Fragment,{})}},9766:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return m}});var l=i(85893),r=i(67294);i(88139),i(68720);var n=i(2664),s=i(11163),a=i(26703),o=i(4897),c=i(77438),d=i(80423),u=i(22024);i(45312);var h=i(68741),f=i(32415),m=!0;t.default=(0,s.withRouter)((0,n.$j)()(function(e){let t=(0,s.useRouter)(),[i,m]=(0,r.useState)(!1),[_,g]=(0,r.useState)(null),[p,v]=(0,r.useState)(null),[x,b]=(0,r.useState)(),{store:j}=(0,r.useContext)(n.ET),{genreData:w={},urls:y,dmsStatus:k}=e,S=(null==w?void 0:w.subCategories)||[],N=e.ironCookie?e.ironCookie.user.email:"",C=(0,f.ej)("genre_slider_data")||0,[T,R]=(0,r.useState)(C);if((0,r.useEffect)(()=>{(null==y?void 0:y.genreNavigationURL)||t.push({pathname:"/404"},"/"+t.pathname)},[y,t]),(0,r.useEffect)(()=>{(0,f.Sl)(e),N&&e&&e.urls&&e.urls.personalNavigationURL&&(0,f.md)(N,e.urls.personalNavigationURL,e.isHooplaVal,e.partnerName,j,h.t,(e,t)=>{g(e),v(t)}),N&&e&&e.urls&&e.urls.itemRentListURL&&(0,f.Rm)(N,e.urls.itemRentListURL,j,h.t,e=>{})},[x]),(0,r.useEffect)(()=>{var i;(0,f.ci)(e);let l=(null===(i=t.query)||void 0===i?void 0:i.q)||"";l&&S.forEach((e,t)=>{e.uname===l&&(R(t),(0,f.d8)("genre_slider_data",t))})},[e,t.query,S]),(0,f.d8)("redirectpath","genres"),"success"!==k)return(0,l.jsx)(u.nl,{});let E=[{label:"Movies",index:0,inner_val:(0,l.jsx)(o.default,{...e,favData:_,watchlistData:p,currGenre:S[T],dataFor:"vod",favupdateurl:null==y?void 0:y.favoritesUpdateURL,showAlert:()=>m(!0)})},{label:"Series",index:1,inner_val:(0,l.jsx)(o.default,{...e,favData:_,watchlistData:p,currGenre:S[T],dataFor:"episodic",favupdateurl:null==y?void 0:y.favoritesUpdateURL,showAlert:(e,t)=>m(e,t)})}];return(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"generic_bg",children:(0,l.jsx)(u.YE,{genreArr:S,initialSlide:T,renderFrom:"genre"})}),(0,l.jsxs)("div",{className:"genr-pad",children:[(0,l.jsx)(c.default,{genreArr:S,selectedGenre:(e,i)=>{R(i),(0,f.d8)("genre_slider_data",i),t.push({pathname:"/genres",query:{q:encodeURIComponent(e.uname)}},void 0,{shallow:!0})},initialSlide:T}),(0,l.jsx)(a.Z,{tabObj:E,setTabIndex:e=>b(e)}),i&&(0,l.jsx)(d.Z,{showAlert:i,setShowAlert:m})]})]})}))},68720:function(){},88139:function(){}},function(e){e.O(0,[1758,6205,6066,9732,2676,2888,9774,179],function(){return e(e.s=14666)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.