PageSourceSearch

https://vtvprime.vn/_next/static/chunks/pages/content/generic-collection/[id]-a8171cfc62fac862.js

js vtvprime.vn collected 2026-10-01 16:06:43 UTC 8,637 bytes, 214 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6579,9272],{67682:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var a=i(52639),l=i(36973),o=i(79350),n=i(30700);let s=(0,o.J1)`
2  query Vod($id: ID!, $protocolType: ProtocolType!) {
3    vod(id: $id) {
4      id
5      contentType
6      title
7      viewCount
8      publicationTimestamp
9      shareURL
10      categories
11      likeCount
12      commentCount
13      commentEnabled
14      labels
15      ageRating
16      warningCriteria
17      imdbRating
18      seenowRating
19      liked
20      saved
21      rated
22      imageURL(imageName: SMART_TV_THUMBNAIL, screenScale: X3)
23      errorCode
24      video {
25        playURL(clientType: WEBSITE, protocolType: $protocolType)
26        duration
27        drmEnabled
28        loginRequired
29        drmLicenseToken
30        lastWatchPosition
31        thumbnails {
32          vttURL
33        }
34      }
35      credits {
36        person {
37          id
38          name
39          studioProfileID
40          imageURL(imageName: STUDIO_PROFILE, screenScale: X2)
41          dateOfBirth
42          locationOfBirth
43          nationalities
44          height
45          activeYear
46          inactiveYear
47          familyMembers {
48            name
49            relationship
50          }
51        }
52      }
53      description {
54        html
55      }
56      studioProfile {
57        id
58        title
59        profileImageURL(imageName: STUDIO_PROFILE, screenScale: X2)
60        followerCount
61        isVerified
62        followed
63        description {
64          introduction {
65            html
66          }
67        }
68      }
69      requiredProducts {
70        id
71        name
72        tiers {
73          id
74          name
75          level
76          label
77          benefits {
78            id
79            label
80            value
81          }
82        }
83      }
84    }
85  }
86`,d=(0,o.J1)`
87  query Episode($id: ID!) {
88    episode(id: $id) {
89      id
90      seriesID
91      title
92      imageURL(screenScale: X3)
93      liked
94      description {
95        html
96      }
97      video {
98        duration
99        drmEnabled
100        loginRequired
101        drmLicenseToken
102        lastWatchPosition
103        thumbnails {
104          vttURL
105        }
106        playURL(clientType: WEBSITE, protocolType: $protocolType)
107      }
108      studioProfile {
109        id
110        title
111        profileImageURL(imageName: STUDIO_PROFILE, screenScale: X2)
112        isVerified
113        followed
114      }
115      saved
116      viewCount
117      likeCount
118      shareURL
119      ageRating
120      warningCriteria
121    }
122  }
123`;async function r(e,t){let i=(0,n.l)()||"DASH",o={dataVideo:{}},r=parseInt(t),c=r===l.A.VOD?s:d,{data:u}=await a.client.query({query:c,variables:{id:e,protocolType:i},fetchPolicy:"no-cache"});return r===l.A.VOD?o.dataVideo=u?.vod:r===l.A.SERIE&&(o.dataVideo=u?.episode),o}},74608:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSP:()=>x,default:()=>R});var a=i(37876),l=i(78379),o=i(14503),n=i(52952),s=i(12299),d=i(21996),r=i(87308),c=i(65426),u=i(93642),p=i(52639),m=i(79350);let h=(0,m.J1)`
124  query Collection($id: ID!) {
125    collection(id: $id) {
126      id
127      collectionType
128      imageURL(imageName: PLAYLIST_THUMBNAIL, screenScale: X2)
129      title
130      shareURL
131      total
132      viewCount
133      likeCount
134      liked
135      saved
136      publicationTimestamp
137      productionTimestamp
138      lastUpdatedTimestamp
139      errorCode
140      studioProfile {
141        id
142        title
143        profileImageURL(imageName: STUDIO_PROFILE, screenScale: X2)
144        followerCount
145        isVerified
146        followed
147        shareURL
148        errorCode
149      }
150    }
151  }
152`;async function f(e){let t={dataCollection:{}},{data:i}=await p.client.query({query:h,variables:{id:e},fetchPolicy:"no-cache"});return t.dataCollection=i?.collection,t}var y=i(67682),g=i(77762),T=i(14232),w=i(41629),v=i(36973),C=i(59),x=!0;function R({dataCollection:e,dataVideoDefault:t,dataVods:i,dataShorts:l,cursor:p,params:m}){let[h,x]=(0,T.useState)(),[L,E]=(0,T.useState)(),[D,b]=(0,T.useState)(""),{userInfo:N,isTheaterMode:S}=(0,c.A)(),[I,O]=(0,T.useState)(1920);async function U(){let{dataCollection:e}=await f(m?.id);x(e)}async function _(){if(!t?.id)return;if(t?.__typename==="VOD"){let{dataVideo:e}=await (0,y.A)(t?.id,v.A.VOD);E(e);return}let{data:e}=await (0,g.A)(t?.id);E(e)}return(0,T.useEffect)(()=>{O(window.innerWidth);let e=e=>{O(e.currentTarget.innerWidth)};return window.addEventListener("resize",e,!0),()=>{window.removeEventListener("resize",e,!0)}},[]),(0,T.useEffect)(()=>
152{if(L?.description?.length>0){let e=L?.description;b((0,w.CG)(e))}else b("")},[m,L]),(0,T.useEffect)(()=>{x(e),E(t),U(),_()},[m,N?.phoneNumber]),(0,a.jsxs)("section",{className:"max__width__player m-auto",children:[(0,a.jsx)(o.A,{imageURL:e?.imageURL,query:{id:e?.id,type:(0,C.RE)(t?.contentType)},title:e?.title,description:t?.description},e?.title),(0,a.jsxs)("div",{className:`${S?"px-0 w-full":"px-[3.15%]"} mb-20 pt-[60px] sm:pt-[80px] h-auto grid grid-cols-10 xl:gap-6 gap-2 grid-rows-1`,children:[(0,a.jsxs)("div",{className:`${S?"col-span-10":"lg:col-span-7 col-span-10"} row-span-1`,children:[(0,a.jsx)("div",{className:"relative",children:(0,a.jsxs)("div",{className:`${S?"h-[calc(100svh-450px)] md:h-[calc(100svh-250px)]":""}`,children:[(0,a.jsx)(u.A,{isPlayerUnavailable:!t?.id,initVideo:L,seriesName:h?.title,query:{id:L?.id,type:v.A.VOD}}),(0,a.jsx)("img",{src:L?.imageURL,className:"absolute top-0 left-0 z-[-1] hidden h-full w-full object-cover opacity-50 blur-[120px] sm:block xl:blur-[240px]",alt:""})]})}),(0,a.jsxs)("div",{className:`mt-6 ${S?"px-8":"px-0"} flex gap-6`,children:[(0,a.jsxs)("div",{className:`${S?"lg:w-[70%]":""} w-full`,children:[(0,a.jsx)("h3",{className:"text24_700_32 text-primary",children:L?.title}),(0,a.jsx)("div",{className:"flex 1xs:flex-row flex-col mt-3 justify-between text-primary w-full",children:(0,a.jsx)(r.A,{data:L,typeContent:"GENERIC-COLLECTION"})}),(0,a.jsx)(d.A,{dataVideo:L,desciptionVideo:D}),(0,a.jsx)("div",{className:"mt-5",children:(0,a.jsx)(s.A,{type:L?.contentType||"SHORT",contentID:L?.id,commentCount:L?.commentCount,isCommentEnable:L?.commentEnabled})}),I<1024&&(0,a.jsx)("div",{className:"lg:w-[33%] w-[100%] lg:pl-6 lg:pt-0 pt-5 pl-0",children:(0,a.jsx)(n.A,{dataPlaylist:{dataDetail:h,dataPlaylists:i?.length>0?i:l,dataCursor:p},idCurrentContent:L?.id,setDataVideoDefault:E,query:{id:L?.id,type:v.A.VOD},defaultTabValue:i?.length>0?"VOD":"short"})})]}),S&&I>=1024&&(0,a.jsx)("div",{className:"lg:block hidden w-[30%]",children:(0,a.jsx)(n.A,{dataPlaylist:{dataDetail:h,dataPlaylists:i?.length>0?i:l,dataCursor:p},idCurrentContent:L?.id,setDataVideoDefault:E,query:{id:t?.id,type:v.A.VOD},defaultTabValue:i?.length>0?"VOD":"short"})})]})]}),!S&&I>=1024&&(0,a.jsx)("div",{className:"lg:col-span-3 row-span-1",children:(0,a.jsx)(n.A,{dataPlaylist:{dataDetail:h,dataPlaylists:i?.length>0?i:l,dataCursor:p},idCurrentContent:L?.id,setDataVideoDefault:E,query:{id:t?.id,type:v.A.VOD},defaultTabValue:i?.length>0?"VOD":"short"})})]})]})}R.Layout=l.PE},76120:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/content/generic-collection/[id]",function(){return i(74608)}])},77762:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var a=i(52639),l=i(79350),o=i(30700);let n=(0,l.J1)`
153  query Short($id: ID!, $protocolType: ProtocolType!) {
154    short(id: $id) {
155      id
156      ageRating
157      title
158      hashTags
159      duration
160      playURL(clientType: WEBSITE, protocolType: $protocolType)
161      shareURL
162      likeCount
163      isLiked
164      saveCount
165      isSaved
166      shareCount
167      commentCount
168      commentEnabled
169      viewCount
170      imageURL(imageName: SHORT_POSTER, screenScale: X2)
171      errorCode
172      studioProfile {
173        id
174        title
175        profileImageURL(imageName: STUDIO_PROFILE, screenScale: X2)
176        followerCount
177        isVerified
178        followed
179        shareURL
180        errorCode
181      }
182      description {
183        html
184      }
185      content {
186        id
187        ... on Collection {
188          id
189          collectionType
190          title
191        }
192        ... on Episode {
193          id
194          seriesID
195          offset
196          title
197        }
198        ... on Series {
199          id
200          title
201        }
202        ... on VOD {
203          id
204          contentType
205          title
206          series {
207            id
208            episodeOffset
209          }
210        }
211      }
212    }
213  }
214`;async function s(e){let t=(0,o.l)()||"DASH",{data:i,error:l,loading:s}=await a.client.query({query:n,variables:{id:e,protocolType:t}});return{data:i?.short,error:l,loading:s}}}},e=>{e.O(0,[1121,6701,7888,6852,5352,6567,6095,8798,4094,8407,6809,7212,4263,2952,636,6593,8792],()=>e(e.s=76120)),_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.