PageSourceSearch

https://watch.gorillacomedyplus.com/_next/static/chunks/pages/channel/[channel-name]-127a59d1da63e929.js

js gorillacomedyplus.com collected 2026-09-24 12:28:20 UTC 6,908 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4655,571,4003],{71159:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/channel/[channel-name]",function(){return t(57838)}])},79888:function(e,n,t){"use strict";var a=t(83300),s=t.n(a),o=t(2568),l=t.n(o),r=t(32415),i=t(45312),c=t(67294),u=t(33299);t(11196);var d=t(46013);let h=e=>{try{return new URL(e),!0}catch(e){return!1}};n.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],[t,a]=(0,c.useState)(null),[o,g]=(0,c.useState)(!0),[m,f]=(0,c.useState)(null),{data:p,status:v}=(0,u.useSession)(),x=(0,c.useMemo)(()=>e?n?(0,r.tY)(e):e:null,[e,n]),j=(0,c.useMemo)(()=>{if(!x)return null;let e={"Content-Type":"application/json",cauth:l()(i.appTag),"mp-tag":(0,r.VZ)(x)};if(!e.cauth||!e["mp-tag"])return null;let n="authenticated"===v?sessionStorage.getItem("proxy-session-token"):null;if("unauthenticated"===v&&sessionStorage.getItem("proxy-session-token")&&sessionStorage.removeItem("proxy-session-token"),n)try{let t=(0,d.P)(n,e.cauth,e["mp-tag"]);return{...e,...t}}catch(e){console.error("useFetch: ❌ Failed to generate security headers",e)}else console.log("useFetch: ⚠️  No session token available, using basic headers only");return e},[x,v]);return(0,c.useEffect)(()=>{if(!x){f("No URL provided or invalid URL"),g(!1);return}if(!h(x)){f("Invalid URL format"),g(!1);return}if(!j){f("Failed to generate request headers"),g(!1);return}f(null),g(!0);let e=new AbortController,n=!1,t=setTimeout(()=>{n=!0,e.abort()},6e4),o=async()=>{try{let n=await s()(i.apiGetURL,{headers:j,next:{revalidate:3600},signal:e.signal,credentials:"include"});if(!n.ok){if(401===n.status)throw console.log("\uD83D\uDD12 Received 401 - clearing session token and retrying"),sessionStorage.removeItem("proxy-session-token"),Error("Authentication failed - session expired");throw Error("HTTP error! status: ".concat(n.status))}let t=await n.json();if(!t||!t.data||!t.data.data)throw Error("Invalid response structure from server");let o=(0,r.pe)(t.data.data).toString(),l=JSON.parse(o);a(l)}catch(e){if("AbortError"===e.name){n&&f("Request timeout");return}console.error("\uD83D\uDEA8 Fetch error:",e),f(e.message||"An error occurred")}finally{(!e.signal.aborted||n)&&g(!1),clearTimeout(t)}};return"loading"===v?g(!0):"authenticated"===v?o():"unauthenticated"===v&&g(!0),()=>{clearTimeout(t),e.signal.aborted||e.abort()}},[x,j,v]),{data:t,isLoading:o,error:m}}},57838:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return _}});var a=t(85893),s=t(11163),o=t(2664),l=t(67294),r=t(79888),i=t(89755),c=t.n(i),u=t(94504),d=t.n(u),h=t(22024),g=t(60520),m=t(85323),f=t(45312),p=t(32415),v=t(37205),x=t(61730),j=t(58239),_=!0;n.default=(0,s.withRouter)((0,o.$j)()(function(e){let n=(0,s.useRouter)(),{store:t}=(0,l.useContext)(o.ET),[i,u]=(0,l.useState)(!1),[_,w]=(0,l.useState)(!0),b=n.query["channel-name"];(0,p.d8)("redirectpath","channel/"+b);let y=(0,x.Z)("(min-width : 700px)"),k=e.channelimg,N=e.channelimgDim,S=e.bg_image,C=e.channelUrl&&e.channelUrl,E=null,R=(0,l.useRef)(!1);if(C){let{data:e,isLoading:n,error:t}=(0,r.Z)(C,!1);E=e}function L(){u(!1),w(!0)}(0,l.useEffect)(()=>{(0,p.Sl)(e)},[]),(0,l.useEffect)(()=>((0,p.jx)("home",!1),(0,p.jx)("livetv",!1),(0,p.jx)("movies",!1),(0,p.jx)("shows",!1),(0,p.jx)("watchlist",!1),(0,p.jx)("genres",!1),(0,p.jx)("find",!1),(0,p.jx)("login",!1),()=>{(0,p.jx)("home",!1)}));let I={ironCookie:(null==e?void 0:e.ironCookie)?e.ironCookie:"",selectedProfile:(null==e?void 0:e.selectedProfile)?e.selectedProfile:"",location_type:"page",event_location_id:"channel_details_screen",shelves:null},P=(0,p.m1)(I),T=e&&e.urls&&e.urls.logURLV2?(0,p.tY)(e.urls.logURLV2):"";(0,l.useEffect)(()=>{!R.current&&(R.current=!0,f.isVisitPageOn&&(0,j.qe)(T,"VISIT",P))},[]);let D=300,O=200,U=(0,p.Mj)(N,!0);if(D=U.width,O=U.height,"success"!==e.dmsStatus)return(0,a.jsx)(h.nl,{});if(!E)return(0,a.jsx)(g.VG,{});if(!E||E&&!E.subCategories||E&&0===Object.keys(E.subCategories).length)return(0,a.jsxs)("div",{className:d().channelBackgroun
1d,style:{backgroundImage:"linear-gradient(transparent 30%, black 90%),url(".concat(S,")")},children:[(0,a.jsx)("div",{className:d().channelLogo,children:k&&(0,a.jsx)(c(),{src:"/"+k,height:O,width:D,alt:"channel-logo"})}),(0,a.jsx)("div",{className:"noData-nopadding",style:{minHeight:"300px"},children:(0,a.jsx)(h.Oe,{})})]});if(E&&e.urls){let n=E.subCategories;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"channel-promo-new fadeInOut",style:{position:"relative"},children:[_&&!i&&e.promo_url&&y?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"channel-video fadeInOut",children:(0,a.jsx)(v.Z,{mediaUrl:e.promo_url,shrinkLogo:()=>{},animateChannelLogo:()=>{let e=document.getElementById("channel-logo-cont");e&&setTimeout(()=>{e.classList.add("channel-video-logo")},500)},showMuteButton:!0,isLooped:!1,videoReplayFunc:function(){u(!0),w(!1)}})}),(0,a.jsx)("div",{id:"channel-logo-cont",className:"channel-logo",children:(0,a.jsx)(c(),{src:"/"+k,height:O,width:D,alt:"channel-logo"})}),(0,a.jsx)("div",{className:"black-shadow-channel-logo"})]}):(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("div",{className:"fadeInOut",children:(0,a.jsx)("div",{className:"channel-promo-bg",style:{backgroundImage:"linear-gradient(transparent 80%, black 99%),url(".concat(S,")"),position:"relative",height:"70vh",width:"100%",backgroundSize:"cover"}})}),(0,a.jsx)("div",{className:y?"channel-video-logo-center":"channel-video-logo-mobile",style:{height:"100%"},children:(0,a.jsx)(c(),{className:"",src:"/"+k,height:y?O:200,width:y?D:300,alt:"channel-logo"})})]}),i&&(0,a.jsx)("div",{className:"mute-button-div replay-channel-promo",style:{bottom:"28px"},onClick:()=>L(),children:(0,a.jsx)(c(),{src:"//images/icons/reload.png",onClick:()=>L(),alt:"replay",width:20,height:20,priority:!0})})]}),(0,a.jsx)("div",{className:"channel-shelves",children:(0,a.jsx)(m.default,{urls:e.urls,showChannel:!1,subCategories:n,dataFrom:"channel",channelName:b,divClass:"",subType:e&&e.planStatus&&e.planStatus.plan?e.planStatus.plan:"NO_PLAN",...e})})]})}return E&&e.urls?(0,a.jsx)(h.nl,{}):(0,a.jsx)("div",{})}))},94504:function(e){e.exports={channelBackground:"channelPage_channelBackground__2yNG9",channelLogo:"channelPage_channelLogo__cxwCf","cat-title-medium":"channelPage_cat-title-medium__AETec",noData:"channelPage_noData__JM6QW"}},83300:function(e,n){"use strict";var t=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==t)return t;throw Error("unable to locate global object")}();e.exports=n=t.fetch,t.fetch&&(n.default=t.fetch.bind(t)),n.Headers=t.Headers,n.Request=t.Request,n.Response=t.Response}},function(e){e.O(0,[9412,1758,6595,5675,7444,9732,3127,206,6481,2888,9774,179],function(){return e(e.s=71159)}),_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.