PageSourceSearch

https://123moviesapp.vercel.app/_next/static/chunks/pages/movies/[page]-f4493ba18575e198.js

js 123moviesapp.vercel.app collected 2026-10-03 06:02:37 UTC 4,339 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[761,196],{6930:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/movies/[page]",function(){return n(4817)}])},6196:function(e,s,n){"use strict";n.r(s),n.d(s,{default:function(){return g}});var t=n(5893),i=n(7294),l=n(5820),a=n(5675),r=n.n(a),o=n(9473),c=n(9543),d=function(e){let{CurrentState:s,ContinueWatching:n}=(0,o.v9)(e=>e),[a,d]=(0,i.useState)(!1),u={ep_num:1,season:1,ep_name:"Episode 1"};return null==n||n.filter(s=>{s.id==e.id&&(u.ep_name=s.episode_name,u.episode_image=s.episode_image)}),null==s||s.filter(s=>{s.id==e.id&&(u.ep_num=s.episode_number,u.season=s.season_number,u.ep_name=s.episode_name)}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.M,{children:a&&(0,t.jsx)(c.Z,{...e,handleClick:()=>{d(!1)},handleSimilar:()=>{d(!1)}})}),(0,t.jsx)("div",{className:"flex flex-col gap-2 rounded-b-lg cursor-pointer hover:brightness-75 hover:scale-105 ease-out relative shadow-2xl transition-transform duration-500",onClick:()=>{d(!a)},children:(0,t.jsx)("div",{className:"",children:(0,t.jsx)("div",{className:"drop-shadow-xl w-full h-[11rem] lg:h-[19rem]",children:(0,t.jsx)(r(),{src:e.poster_path?"https://image.tmdb.org/t/p/w342/".concat(e.poster_path):e.profile_path?"https://image.tmdb.org/t/p/w500/".concat(e.profile_path):"https://upload.wikimedia.org/wikipedia/commons/thumb/6/65/No-Image-Placeholder.svg/330px-No-Image-Placeholder.svg.png",layout:"fill",objectFit:"cover",alt:e.name||e.title,unoptimized:!0})})})})]})},u=n(1664),p=n.n(u),h=n(1163),m=n(6963),x=function(e){let s=(0,h.useRouter)(),n=parseInt(s.query.page),{slug:i}=s.query,l=i&&+(null==i?void 0:i[1]);return(0,t.jsx)("nav",{className:"relative mb-4 p-6",children:(0,t.jsxs)("div",{className:"flex justify-center items-center",children:[(0,t.jsx)(p(),{href:"/".concat(e.place,"/").concat(n-1||l-1),children:(0,t.jsx)("span",{className:" cursor-pointer  py-2 px-3 ml-0  bg-[#00000094]  hover:bg-neutral-900",children:(0,t.jsx)(m.x_l,{size:24})})}),(0,t.jsxs)("span",{className:" cursor-pointer  py-2 px-3 ml-0 font-semibold text-gray-200   ",children:["Page ",n||l]}),(0,t.jsx)(p(),{href:"/".concat(e.place,"/").concat(n+1||l+1),children:(0,t.jsx)("span",{className:" py-2 cursor-pointer px-3  bg-[#00000094] hover:bg-neutral-900",children:(0,t.jsx)(m.Z1Y,{size:24})})})]})})},g=function(e){var s,n;let[l,a]=(0,i.useState)(!1),r=()=>{a(!l)};return(null==e?void 0:null===(s=e.Data)||void 0===s?void 0:s.length)>0?(0,t.jsxs)("div",{className:"w-full h-full mt-6 container mx-auto min-h-screen",children:[(0,t.jsxs)("div",{className:"p-1 relative flex justify-between",children:[(0,t.jsx)("h1",{className:"font-black text-2xl",children:e.heading}),e.select&&(0,t.jsxs)("select",{id:"countries",onChange:e.handleChange,className:"bg-neutral-900 text-gray-200 font-semibold px-3 py-2 outline-none rounded-sm",children:[(0,t.jsx)("option",{value:"movie",children:"Movies"}),(0,t.jsx)("option",{value:"tv",children:"Shows"})]})]}),(0,t.jsx)("div",{className:"grid grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 2xl:grid-cols-7 gap-x-2 gap-y-4 p-2 container mx-auto",children:null==e?void 0:null===(n=e.Data)||void 0===n?void 0:n.map((s,n)=>(0,t.jsx)(d,{...s,heading:e.heading,selected:r},n))}),e.heading.includes("Shows")||e.heading.includes("Movies")||e.heading.includes("Series")?(0,t.jsx)(x,{place:e.place}):null]}):null}},9335:function(e,s,n){"use strict";var t=n(5893);n(7294);var i=n(9008),l=n.n(i);s.Z=function(e){return(0,t.jsxs)("div",{className:"mt-20  ",children:[(0,t.jsxs)(l(),{children:[(0,t.jsx)("title",{children:e.title}),(0,t.jsx)("meta",{property:"og:title",content:e.title},e.title)]}),e.children]})}},4817:function(e,s,n){"use strict";n.r(s);var t=n(5893),i=n(1163),l=n(7294),a=n(6196),r=n(9335);let o=n(7218);s.default=function(){let[e,s]=(0,l.useState)([]),{page:n}=(0,i.useRouter)().query;console.log(n),(0,l.useEffect)(()=>(c(),()=>{}),[n]);let c=async()=>{s((await o.get("https://api.themoviedb.org/3/discover/movie?sort_by=popularity.desc&page=".concat(n,"&api_key=cfe422613b250f702980a3bbf9e90716"))).data.results)};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(r.Z,{title:"Movies",children:(0,t.jsx)(a.default,{Data:e,heading:"Movies",place:"movies"})})})}}},function(e){e.O(0,[617,866,539,218,543,888,774,179],function(){return e(e.s=6930)}),_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.