PageSourceSearch

https://www.tapmad.com/_next/static/chunks/pages/entertainment/%5Bslug%5D-90d3b2bf0e0a822f.js

js tapmad.com collected 2026-09-24 10:10:59 UTC 7,910 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3169],{33187:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/entertainment/[slug]",function(){return t(98217)}])},71791:function(e,n,t){"use strict";var r=t(85893),o=t(67294),a=t(12085),i=t.n(a),l=function(e){var n=e.totalSections,t=e.totalSectionsLoaded,a=e.moreSections,l=(0,o.createRef)();return(0,o.useEffect)((function(){if(a){var e=new IntersectionObserver((function(e){e[0].isIntersecting&&a(),e.map((function(e){e.isIntersecting&&a()}))}),{root:null,rootMargin:"20px",threshold:.5});return l.current&&e.observe(l.current),function(){l.current&&e.unobserve(l.current)}}}),[n,t,a]),t&&n&&t>=n||0==n?(0,r.jsx)(r.Fragment,{}):(0,r.jsx)("div",{ref:l,className:"loader-wrapper mt-12 mb-4",children:(0,r.jsx)("div",{className:i()["loader-5"],children:(0,r.jsx)("span",{})})})};n.Z=(0,o.memo)(l)},98217:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return I},default:function(){return A}});var r=t(47568),o=t(26042),a=t(97582),i=t(85893),l=t(9008),s=t.n(l),u=t(67294),c=t(11163),d=t(62057),v=t(91789),f=t(23628),h=t.n(f),m=t(93706),p=t(71791),_=t
1(41664),g=t.n(_),x=t(5386),w=function(e){var n,t,r=e.data,o=null===(n=(0,c.useRouter)().query)||void 0===n?void 0:n.slug;return r?(0,i.jsx)("ul",{className:"mb-5 mx-auto px-4 max-w-screen-lg list-none p-0 flex justify-start gap-2 overflow-auto no-scrollbar",children:null===r||void 0===r||null===(t=r.entertainmentHeader)||void 0===t?void 0:t.map((function(e){var n=(0,x.K)(e.MenuName),t=n===o,a="".concat("/entertainment","/").concat(n);return[r,e,a],(0,i.jsx)("li",{children:(0,i.jsx)(g(),{href:a,children:(0,i.jsx)("a",{className:"pt-2 pb-1 px-3 leading-none transition-colors ".concat(t?"text-gray-50 bg-primary-400 rounded-full":"bg-transparent","  hover:text-gray-50 flex items-center justify-center hover:bg-primary-400 rounded-full"),children:e.MenuName})})},e.MenuId)}))}):(0,i.jsx)(i.Fragment,{})},j=(0,u.memo)(w),b=t(29815),S=t(13282),y=S.ZH+"api/getAllWebMovies",Z=S.ZH+"api/getAllWebShows",k=S.ZH+"api/getWebAllKidsContent",E=S.ZH+"api/getEntertainmentHeader",N=t(46868),T=t(27429),M=t(94136),P={movies:y,shows:Z,kids:k},D=function(){var e=(0,r.Z)((function(e){var n,t,r,o,i=arguments;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:n=i.length>1&&void 0!==i[1]?i[1]:0,t=i.length>2&&void 0!==i[2]?i[2]:"movies",a.label=1;case 1:return a.trys.push([1,3,,4]),[4,(0,N.v_)(P[t],{verticalStart:n,verticalEnd:4,horizontalStart:0,horizontalEnd:M.Qr,Platform:M.hx},e,0,"https://www.tapmad.com/entertainment/"+t)];case 2:return[2,null===(r=a.sent())||void 0===r?void 0:r.data];case 3:return o=a.sent(),(0,T.vK)(o),[3,4];case 4:return[2,null]}}))}));return function(n){return e.apply(this,arguments)}}(),R=(function(){var e=(0,r.Z)((function(e){var n,t;return(0,a.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,(0,N.v_)(E,void 0,e)];case 1:return[2,null===(n=r.sent())||void 0===n?void 0:n.data];case 2:return t=r.sent(),(0,T.vK)(t),[3,3];case 3:return[2,null]}}))}))}(),t(75681)),q=function(e,n){var t,o,i,l,s,d,v,f,h=(0,c.useRouter)(),m=(0,R.generateBlogSlug)(null===(t=h.query)||void 0===t?void 0:t.slug),p=(0,u.useRef)((null===e||void 0===e||null===(o=e.Tabs)||void 0===o||null===(i=o[0])||void 0===i?void 0:i.Sections)||[]),_=(0,u.useRef)(!1),g=(0,u.useRef)(4),x=(0,u.useState)(!1),w=(x[0],x[1]),j=null!==(f=null!==(v=null===(l=h.query.id)||void 0===l?void 0:l[0])&&void 0!==v?v:h.query.id)&&void 0!==f?f:"0",S=null===e||void 0===e||null===(s=e.Tabs)||void 0===s||null===(d=s[0])||void 0===d?void 0:d.totalSections,y="kids"===m||"movies"===m,Z=(0,u.useCallback)((0,r.Z)((function(){var e,t,r,o,i,l;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:if(_.current||!S||g.current>=S)return[2];_.current=!0,a.label=1;case 1:return a.trys.push([1,,3,4]),[4,D(n,4,m)];case 2:return r=a.sent(),g.current+=4,(null===r||void 0===r||null===(e=r.Tabs)||void 0===e||null===(t=e[0])||void 0===t?void 0:t.Sections)&&((o=p.current).push.apply(o,(0,b.Z)(null===r||void 0===r||null===(i=r.Tabs)||void 0===i||null===(l=i[0])||void 0===l?void 0:l.Sections)),w((function(e){return!e}))),[3,4];case 3:return _.current=!1,[7];case 4:return[2]}}
1))})),[S,h.asPath,j,n,m]);return(0,u.useEffect)((function(){var n,t;g.current=4,p.current=(null===e||void 0===e||null===(n=e.Tabs)||void 0===n||null===(t=n[0])||void 0===t?void 0:t.Sections)||[],w((function(e){return!e}))}),[e,m]),{sections:p.current,moreSections:Z,canonical:"https://www.tapmad.com".concat(h.asPath),totalSections:S,shows:y}},C=!1,H=function(e){var n,o,l,d,f,_,g,x=q(e.sections,e.ip),w=x.sections,b=x.moreSections,S=x.canonical,y=x.totalSections,Z=x.shows,k=(null===e||void 0===e||null===(n=e.sections)||void 0===n||null===(o=n.metaData)||void 0===o?void 0:o.MetaTitle)||"",E=(null===e||void 0===e||null===(l=e.sections)||void 0===l||null===(d=l.metaData)||void 0===d?void 0:d.MetaDescription)||"",N=(0,c.useRouter)(),T=(null===e||void 0===e||null===(f=e.sections)||void 0===f||null===(_=f.metaData)||void 0===_?void 0:_.MetaTags)||"";return(0,u.useEffect)((function(){C||(C=!0,setTimeout((function(){(0,r.Z)((function(){return(0,a.__generator)(this,(function(n){switch(n.label){case 0:return[4,t.e(4455).then(t.bind(t,64455))];case 1:return(0,n.sent().ViewedGenre)(null,e.sections,N.asPath),C=!1,[2]}}))}))()}),500))}),[N.asPath]),(0,i.jsxs)("article",{className:"".concat(h().secwrp," fgap"),children:[(0,i.jsxs)(s(),{children:[(0,i.jsx)("title",{children:k}),(0,i.jsx)("meta",{name:"title",content:k}),(0,i.jsx)("meta",{name:"description",content:E}),(0,i.jsx)("meta",{name:"keywords",content:T}),(0,i.jsx)("link",{rel:"canonical",href:S})]}),(0,i.jsx)("h1",{className:"hidden",children:k}),(0,i.jsx)(j,{data:e.headers}),(0,i.jsx)(m.Z,{data:null===(g=e.sections)||void 0===g?void 0:g.Banner}),null===w||void 0===w?void 0:w.map((function(e){return(0,i.jsx)(v.Z,{data:e,shows:Z},e.SectionId)})),(0,i.jsx)(p.Z,{totalSections:y,totalSectionsLoaded:null===w||void 0===w?void 0:w.length,moreSections:b})]})},I=!0,A=function(e){var n,l,v,f,h,m,p=(null===e||void 0===e||null===(n=e.sections)||void 0===n||null===(l=n.metaData)||void 0===l?void 0:l.MetaTitle)||"",_=(null===e||void 0===e||null===(v=e.sections)||void 0===v||null===(f=v.metaData)||void 0===f?void 0:f.MetaDescription)||"",g=(null===e||void 0===e||null===(h=e.sections)||void 0===h||null===(m=h.metaData)||void 0===m?void 0:m.MetaTags)||"",x=(0,c.useRouter)(),w=x.asPath,j=(0,d.useAuthStore)((function(e){return e.initiate}));return(0,u.useEffect)((function(){j&&(0,r.Z)((function(){return(0,a.__generator)(this,(function(e){switch(e.label){case 0:return[4,t.e(905).then(t.bind(t,70905))];case 1:return(0,e.sent().ViewedCategory)(w.split("/")[1]),[2]}}))}))()}),[j]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(s(),{children:[(0,i.jsx)("title",{children:p}),(0,i.jsx)("meta",{name:"title",content:p}),(0,i.jsx)("meta",{name:"description",content:_}),(0,i.jsx)("meta",{name:"keywords",content:g}),(0,i.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,i.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,i.jsx)("link",{rel:"canonical",href:"https://www.tapmad.com".concat(x.asPath)})]}),(0,i.jsx)(H,(0,o.Z)({},e))]})}},5386:function(e,n,t){"use strict";function r(e){return e?e.replace(/[\u2013\u2014]/g,"-").replace(/-+/g,"-").replace(/\u2011+/g,"-").replace(/[^a-zA-Z0-9\s/-]/g,"").replace(/-+/g,"-").replace(/\//g,"-").replace(/\/+/g,"-").toLowerCase().replace(/\s+/g,"-"):null}t.d(n,{K:function(){return r}})},12085:function(e){e.exports={"loader-5":"loader_loader-5__ER5QF","loader-5-1":"loader_loader-5-1__g5xZX","loader-5-2":"loader_loader-5-2__LqEsk","loader-5-3":"loader_loader-5-3__x4_qW","loader-5-4":"loader_loader-5-4__DmUVt","loader-5-5":"loader_loader-5-5__B_Izf"}}},function(e){e.O(0,[5675,1418,5353,9774,2888,179],(function(){return n=33187,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.