PageSourceSearch

https://cdn-web-v2.vietcetera.com/_next/static/chunks/80659-12f8ec2d350524fe.js

js vietcetera.com collected 2026-09-24 17:23:24 UTC 32,643 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[80659,89534,29234,16663,21451,28301,62132,24606],{14301:function(e,t,r){"use strict";r.d(t,{C:function(){return o}});var n=r(7320),l=r(11720);let a=e=>{let{children:t,index:r,item:a,onViewChange:o,pagingEnabled:i}=e,s=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let e=s.current;if(!e)return;let t=new IntersectionObserver(e=>{e.forEach(e=>{o({item:a,key:String(r),index:r,isViewable:e.isIntersecting})})},{root:null,threshold:.6});return t.observe(e),()=>{t.disconnect()}},[r,a,o]),(0,n.tZ)("div",{ref:s,className:"w-full ".concat(i?"h-[100dvh] snap-start snap-always shrink-0":""),style:{scrollSnapAlign:i?"start":void 0,scrollSnapStop:i?"always":void 0},children:t})},o=e=>{let{data:t,renderItem:r,keyExtractor:o,onViewableItemsChanged:i,onEndReached:s,pagingEnabled:c,style:u,className:d,onLayout:f}=e,h=(0,l.useRef)(null),m=(0,l.useCallback)(()=>{if(!h.current||!s)return;let{scrollTop:e,scrollHeight:t,clientHeight:r}=h.current;t-e<=r+200&&s()},[s]);(0,l.useEffect)(()=>{if(f&&h.current){let{width:e,height:t,x:r,y:n}=h.current.getBoundingClientRect();f({nativeEvent:{layout:{x:r,y:n,width:e,height:t}}})}},[f]);let p=(0,l.useCallback)(e=>{i&&i({viewableItems:e.isViewable?[e]:[],changed:[e]})},[i]);return(0,n.BX)(n.HY,{children:[(0,n.tZ)("style",{children:"\n          .no-scrollbar::-webkit-scrollbar {\n            display: none;\n          }\n          .no-scrollbar {\n            -ms-overflow-style: none;  /* IE and Edge */\n            scrollbar-width: none;  /* Firefox */\n          }\n        "}),(0,n.tZ)("div",{ref:h,onScroll:m,className:"flex flex-col no-scrollbar w-full h-full overflow-y-auto overflow-x-hidden ".concat(c?"snap-y snap-mandatory scroll-smooth":""," ").concat(d),style:u,children:t.map((e,t)=>(0,n.tZ)(a,{item:e,index:t,onViewChange:p,pagingEnabled:c,children:r({item:e,index:t})},o(e,t)))})]})}},3366:function(e,t,r){"use strict";r.d(t,{G7:function(){return l},xv:function(){return a}});var n=r(7320);r(11720);let l=e=>{let{style:t,className:r,children:l,...a}=e;return(0,n.tZ)("div",{style:{display:"flex",flexDirection:"column",...t},className:r,...a,children:l})},a=e=>{let{style:t,className:r,numberOfLines:l,children:a,...o}=e;return(0,n.tZ)("span",{style:{...t,...l?{display:"-webkit-box",WebkitLineClamp:l,WebkitBoxOrient:"vertical",overflow:"hidden"}:{}},className:r,...o,children:a})}},50669:function(e,t,r){"use strict";r.d(t,{Z:function(){return ei}});var n=r(7320),l=r(11720),a=r(49369),o=r(3366),i=r(25675),s=r.n(i),c=r(74358),u=r(2091),d=r.n(u),f=r(87346),h=r(45787),m=r(77245);let p={popular:{backgroundColor:"#F09A00",textColor:"#FFFFFF",transKey:"for_you.label_card.popular",defaultText:"Phổ biến"},latest:{backgroundColor:"#428F5E",textColor:"#FFFFFF",transKey:"for_you.label_card.latest",defaultText:"Mới nhất"},default:{backgroundColor:"#CCCCCC",textColor:"#000000",transKey:"for_you.label_card.other",defaultText:"Kh\xe1c"}};var v=e=>{let t,{category:r}=e,l=(0,a.ZK)(),o=p[r]||p.default,i=(t=o.transKey,(0,m.Z)(t,l)||o.defaultText);return(0,n.tZ)("div",{className:"absolute right-5 rounded-full px-[13px] py-[5px] z-20 top-5",style:{backgroundColor:o.backgroundColor},children:(0,n.tZ)("p",{style:{color:o.textColor},className:"font-bold text-sm !mb-0",children:i})})},w=r(30202),g=r(98029),y=r(35845),b=r(60457);let x=async e=>{try{return(await (0,y.Z)("v2/bookmark-article",{method:"POST",body:{articleId:e.articleId,type:e.type||"standard"}},!1,!1)).data}catch(e){throw e}},C=e=>{let t=(0,w.NL)();return(0,g.D)({mutationFn:x,onSuccess:e=>{t.invalidateQueries({queryKey:b.a.getBookmarkedAricle({})})},onError:t=>{null==e||e(t.message)}})};var Z=r(8353),_=r(81459),k=r(32102);let N=e=>{let{page:t=1,limit:r=10}=e;return(0,y.Z)("v2/user/bookmark?limit=".concat(r,"&page=").concat(t),{method:"GET",token:(0,_.ej)("token")})},B=(e,t)=>(0,k.w)({queryKey:b.a.getBookmarkedAricle(e),initialParams:e,queryFn:N,getData:e=>e.data.docs,moreConfigs:t}),L=async e=>{try{return(await (0,y.Z)("v2/unbookmark-article",{method:"POST",body:{articleId:e.articleId,type:e.type||"standard"}},!1,!1)).data}catch(e){throw e}},M=e=>{let t=(0,w.NL)();return(0,g.D)({mutationFn:L,onSuccess:e=>{t.invalidateQueries({queryKey:b.a.getBookmarkedAricle({})})},onError:e=>{}})};var I=e=>{let{articleId:t,onInteraction:r,colorStroke:a,colorFill:o}=e,[i,s]=(0,l.useState)(!1),[c,u]=(0,l.useState)(!1),{items:d,isLoading:f}=B({});(0,l.useEffect)(()=>{!f&&d.length>0&&s(d.some(e=>e.articleId===t))},[f,d,t]);let{mutateAsync:h}=C(),{mutateAsync:m}=M(),p=async e=>{if(e.stopPropagation(),!c){s(!i),u(!0);try{i?await m({articleId:t}):await h({articleId:t})}catch(e){console.error("Bookmark action failed",e),s(i)}finally{u(!1),i&&(null==r||r())}}};return(0,n.tZ)("div",{onClick:p,className:"cursor-pointer transition-transform active:scale-90 ".concat(c?"opacity-70 pointer-events-none":""),children:(0,n.tZ)(Z.BZ,{color:a||"#A2A2A2",width:20,height:20,strokeWidth:i?0:2,fill:i?o||"#A2A2A2":"none"})})},S=r(11163),F=r(41664),V=r.n(F),X=e=>{var t,r;let{item:o,onInteraction:i}=e,{images:u,writerID:m,slug:p,vertical:w}=o,g=(0,a.ZK)(),y=(0,S.useRouter)(),b="/".concat(w&&"onboardy"===w?"onboardy":g.toLowerCase(),"/").concat(p),x=(0,l.useCallback)(e=>{0!==e.button||e.ctrlKey||e.metaKey||e.shiftKey||(e.preventDefault(),null==i||i(),y.push({pathname:y.pathname,query:{...y.query,lang:g.toLowerCase(),postSlug:p}},b,{shallow:!0,scroll:!1}))},[g,i,y,p,b]),C=(null==u?void 0:null===(t=u.url)||void 0===t?void 0:t.includes("wp-content"))?(0,f.hv)(u.url):(0,c.Z)(u.url,"raw",375),_=(0,c.Z)(null==m?void 0:null===(r=m.avatarObj)||void 0===r?void 0:r.url,"raw",48);return(0,n.BX)("div",{className:d().container,children:[o.label&&(0,n.tZ)(v,{category:o.label||"default"}),(0,n.tZ)("div",{className:d().imageWrapper,children:(0,n.tZ)(s(),{src:C,alt:o.title,fill:!0,className:d().image})}),(0,n.BX)("div",{className:d().contentWrapper,children:[(0,n.BX)("div",{className:d().content,children:[(0,n.tZ)("h4",{className:d().topic,children:o.topic[0].name}),(0,n.tZ)(V(),{href:b,className:d().title,onClick:x,children:o.title}),(0,n.tZ)("p",{className:d().excerpt,children:(0,h.aF)((0,h.NY)(o.excerpt))})]}),(0,n.BX)("div",{className:d().footer,children:[(0,n.BX)("div",{className:d().authorWrapper,children:[_?(0,n.tZ)("img",{src:_,alt:m.penname,className:d().authorAvatar}):(0,n.tZ)("div",{className:d().authorAvatar}),(0,n.tZ)("div",{className:d().authorName,children:m.penname})]}),(0,n.BX)("div",{className:"space-y-2",children:[(0,n.tZ)("div",{className:"border-[1.5px] border-[#434343] flex justify-center items-center p-2 h-10 w-10 rounded-full",children:(0,n.tZ)(I,{articleId:o.id,colorStroke:"#434343",colorFill:"#434343"})}),(0,n.tZ)(V(),{href:b,onClick:x,className:"border-[1.5px] border-[#434343] flex justify-center items-center p-2 h-10 w-10 rounded-full",children:(0,n.tZ)(Z.Ec,{color:"#434343"})})]})]})]})]})},W=r(4151),H=r.n(W),j=r(65831),A=e=>{let{item:t,onInteraction:r,isActive:a}=e,{videoId:o,title:i}=t,s=(0,l.useRef)(null),[c,u]=(0,l.useState)(!1),[d,f]=(0,l.useState)(!0),h="https://www.youtube.com/embed/".concat(o,"?enablejsapi=1&controls=0&fs=0&iv_load_policy=3&rel=0&loop=1&mute=1&modestbranding=1&playlist=").concat(o,"&vq=highres&origin=").concat(window.location.origin);return((0,l.useEffect)(()=>{u(!0)},[]),(0,l.useEffect)(()=>{var e,t,r,n;a?null===(t=s.current)||void 0===t||null===(e=t.contentWindow)||void 0===e||e.postMessage('{"event":"command","func":"playVideo","args":""}',"*"):null===(n=s.current)||void 0===n||null===(r=n.contentWindow)||void 0===r||r.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")},[a]),o)?(0,n.BX)("div",{className:H().container,children:[c&&(0,n.tZ)("iframe",{ref:s,className:H().youtubeVideo,src:h,title:"YouTube short",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,onLoad:()=>{setTimeout(()=>{if(s.current){var e;null===(e=s.current.contentWindow)||void 0===e||e.postMessage('{"event":"command","func":"setPlaybackQuality","args":["highres"]}',"*")}},500)}}),(0,n.BX)("div",{className:H().info,onClick:()=>{null==r||r(),window.open("https://www.youtube.com/watch?v=".concat(o),"_blank","noopener,noreferrer")},children:[(0,n.tZ)("h3",{className:H().title,children:i}),(0,n.tZ)(j.default,{id:"external-link",width:24,height:24,className:H().externalLinkIcon})]}),(0,n.tZ)("div",{className:H().muteButton,onClick:()=>
1{if(s.current){let e=s.current.contentWindow;e&&(d?(e.postMessage('{"event":"command","func":"unMute","args":""}',"*"),f(!1)):(e.postMessage('{"event":"command","func":"mute","args":""}',"*"),f(!0)))}},children:(0,n.tZ)(j.default,{id:d?"muted":"unmuted",className:H().muteIcon})})]}):null},E=r(89534),q=r(24606),T=r(34442);let R=e=>(0,g.D)({mutationFn:e=>K(e),onMutate:()=>{},onSuccess:()=>{},onError:t=>{e&&e(t.message)}}),K=async e=>{try{return(await (0,y.Z)("v2/follow/collection",{method:"POST",body:{actionDate:new Date().toISOString(),userTimezone:(0,T.Ze)(),collectionId:e}},!1,!1)).data}catch(e){throw e}},z=e=>(0,g.D)({mutationFn:e=>D(e),onMutate:()=>{},onSuccess:()=>{},onError:t=>{e&&e(t.message)}}),D=async e=>{try{return(await (0,y.Z)("v2/follow/collection",{method:"DELETE",body:{actionDate:new Date().toISOString(),userTimezone:(0,T.Ze)(),collectionId:e}},!1,!1)).data}catch(e){throw e}};var O=r(29234),P=r(16663),Y=r(29741),U=r(48398);let G=e=>{let{collectionId:t,isFollowed:r,onInteraction:o}=e,i=(0,a.LC)(),[s,c]=(0,l.useState)(!!r),[u,d]=(0,l.useState)(!1);(0,l.useEffect)(()=>{c(!!r)},[r]);let{mutateAsync:f}=R(),{mutateAsync:h}=z(),m=async e=>{if(e.stopPropagation(),!u){d(!0);try{let e=new Promise(e=>setTimeout(e,600)),r=s?h(t):f(t);await Promise.all([r,e])}catch(e){console.error("Follow action failed",e)}finally{d(!1),c(e=>!e),null==o||o()}}};return(0,n.BX)("button",{onClick:m,disabled:u,className:"group flex items-center gap-1 justify-center px-3 py-5 bg-white/20 backdrop-blur-md border-[1.5px] border-white/80 rounded-full active:scale-95 transition-all hover:bg-white/30",children:[u?(0,n.tZ)(P.default,{size:20,variant:"outline",color:"#fff",className:"animate-spin"}):s?(0,n.tZ)(O.default,{size:20,variant:"outline",color:"#fff"}):(0,n.tZ)(q.default,{size:20,variant:"outline",color:"#fff"}),(0,n.tZ)("span",{className:"text-base font-bold text-white",children:i(s?"for_you.series.following":"for_you.series.follow")})]})};var Q=e=>{let{item:t,onInteraction:r}=e,o=(0,a.LC)(),i=(0,a.ZK)(),{isAuth:s}=(0,Y.F_)(),c=(0,S.useRouter)(),u=(0,l.useCallback)(e=>{let{vertical:t,slug:r}=e,n="onboardy"===t?"onboardy":i.toLowerCase();return"/".concat(n,"/").concat(r)},[i]),d=(0,l.useCallback)((e,t)=>{0!==e.button||e.ctrlKey||e.metaKey||e.shiftKey||(e.preventDefault(),null==r||r(),c.push({pathname:c.pathname,query:{...c.query,lang:i.toLowerCase(),postSlug:t.slug}},u(t),{shallow:!0,scroll:!1}))},[i,r,c,u]),{items:f}=(0,U.b)({page:1},{enabled:s,staleTime:3e4,gcTime:3e4}),h="VN"===i.toUpperCase()?"/vn/bo-suu-tap/".concat(t.slug):"/en/collection/".concat(t.slug),m=e=>e?e.startsWith("http")?e:"".concat("https://img.vietcetera.com/").concat(e):"";return(0,n.BX)("div",{className:"relative w-full h-screen max-h-[-webkit-fill-available] overflow-hidden bg-gray-900 font-sans text-white ",children:[(0,n.BX)("div",{className:"absolute inset-0 z-0",children:[(0,n.tZ)("img",{src:m(t.images.url),alt:t.title,className:"object-cover w-full h-full scale-105 filter blur-sm"}),(0,n.tZ)("div",{className:"absolute inset-0 bg-black/20"})]}),(0,n.BX)("div",{className:"relative z-10 flex flex-col justify-between w-full h-full pt-20 pb-8",children:[(0,n.BX)("div",{className:"flex flex-col items-center justify-center flex-1 px-6",children:[(0,n.tZ)("h1",{className:"mb-4 text-5xl font-bold leading-tight text-center text-white drop-shadow-md",style:{textShadow:"0 5px 4px rgba(0,0,0,0.5)"},children:t.title}),(0,n.tZ)("p",{className:"max-w-md mx-auto mb-8 text-lg leading-relaxed text-center text-white/95 line-clamp-3 drop-shadow-sm",style:{textShadow:"0 2px 2px rgba(0,0,0,0.3)"},children:t.description}),(0,n.BX)("div",{className:"flex flex-row gap-3",children:[(0,n.BX)("button",{onClick:()=>{null==r||r(),window.open(h,"_blank","noopener,noreferrer")},className:"group flex items-center gap-1 justify-center px-2 py-5 bg-white/20 backdrop-blur-md border-[1.5px] border-white/80 rounded-full active:scale-95 transition-all hover:bg-white/30",children:[(0,n.tZ)(E.default,{size:20,variant:"outline",color:"#fff"}),(0,n.tZ)("span",{className:"text-base font-bold text-white",children:o("for_you.series.explore")})]}),s&&(0,n.tZ)(G,{collectionId:t._id,isFollowed:null==f?void 0:f.some(e=>e._id===t._id),onInteraction:r})]})]}),(0,n.tZ)("div",{className:"w-full px-8 mt-8",children:(0,n.tZ)("div",{className:"flex gap-4 px-6 pb-4 overflow-x-auto snap-x snap-mandatory scrollbar-hide touch-p
1an-x",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:t.topArticles.map(e=>(0,n.BX)(V(),{href:u(e),onClick:t=>d(t,e),className:"flex-shrink-0 snap-start w-[65vw] max-w-[280px] bg-white/95 rounded-xl overflow-hidden shadow-xl cursor-pointer active:scale-[0.98] transition-transform duration-200",children:[(0,n.tZ)("div",{className:"h-[180px] w-full relative overflow-hidden",children:(0,n.tZ)("img",{src:m(e.images.url),alt:e.title,className:"object-cover w-full h-full transition-transform duration-500 hover:scale-105"})}),(0,n.tZ)("div",{className:"h-[140px] p-4 flex items-center justify-center",children:(0,n.tZ)("h3",{className:"w-full text-lg font-bold leading-snug text-left text-gray-900 line-clamp-3",children:e.title})})]},e._id))})})]})]})},J=r(28301),$=r(62132);let ee=e=>{let t=Math.floor(e),r=String(Math.floor(t/60)).padStart(2,"0"),n=String(t%60).padStart(2,"0");return"".concat(r,":").concat(n)};var et=r(21451),er=e=>{var t,r;let{item:o,onInteraction:i,isActive:s}=e,c=(0,a.LC)(),{slug:u,playlistSlug:d}=o,f="/vn/podcast/"+d[0],h="".concat(f,"/").concat(u),{snippet:m}=o,[p,v]=(0,l.useState)(m.duration_ms?m.duration_ms/1e3:30),w=(0,l.useRef)(null),g=(0,l.useRef)(null),y=(0,l.useRef)(null),b=(0,l.useRef)(),x=(0,l.useRef)(0),[C,Z]=(0,l.useState)(!1),_=(null===(r=m.images)||void 0===r?void 0:null===(t=r[0])||void 0===t?void 0:t.url)||"",k=m.audio_preview_url,N=()=>{w.current&&(x.current+=.5,w.current.style.transform="rotate(".concat(x.current,"deg)")),b.current=requestAnimationFrame(N)};return(0,l.useEffect)(()=>(C?b.current=requestAnimationFrame(N):b.current&&cancelAnimationFrame(b.current),()=>{b.current&&cancelAnimationFrame(b.current)}),[C]),(0,l.useEffect)(()=>{var e,t;!0===s?(Z(!0),null===(e=g.current)||void 0===e||e.play().catch(e=>console.error("Playback failed:",e))):(Z(!1),null===(t=g.current)||void 0===t||t.pause())},[s]),(0,n.BX)("div",{className:"relative flex flex-col justify-around w-full h-screen px-12 py-8 overflow-hidden text-white bg-gray-900",children:[(0,n.tZ)("audio",{ref:g,src:k,onTimeUpdate:()=>{if(!g.current||!y.current)return;let e=g.current.currentTime,t=g.current.duration||p,r=Math.max(0,t-e);y.current.innerText="".concat(ee(r)," - ").concat(ee(t))},onLoadedMetadata:()=>{let e=g.current;e&&isFinite(e.duration)&&(v(e.duration),y.current&&(y.current.innerText="".concat(ee(e.duration)," - ").concat(ee(e.duration))))},onEnded:()=>{Z(!1),g.current&&(g.current.currentTime=0),y.current&&(y.current.innerText="".concat(ee(p)," - ").concat(ee(p)))}}),(0,n.BX)("div",{className:"absolute inset-0 z-0 scale-110 filter backdrop-blur-md bg-white/10 blur-md",children:[(0,n.tZ)("img",{src:_,alt:"bg",className:"object-cover w-full h-full opacity-60"}),(0,n.tZ)("div",{className:"absolute inset-0 bg-black/40"})]}),(0,n.tZ)("div",{className:"relative z-10 flex items-center justify-center",children:(0,n.tZ)("div",{className:"\n            relative \n            w-[75vw] h-[75vw] max-w-[320px] max-h-[320px] \n            rounded-full \n            shadow-[0_10px_40px_-10px_rgba(0,0,0,0.6)] \n            transition-transform duration-500 ease-out \n            ".concat(C?"scale-105":"","\n          "),children:(0,n.BX)("div",{ref:w,className:"relative w-full h-full overflow-hidden rounded-full",children:[(0,n.tZ)("div",{className:"absolute inset-0 overflow-hidden border-gray-800 rounded-full",children:(0,n.tZ)("img",{src:_,alt:m.name,className:"object-cover w-full h-full"})}),(0,n.tZ)("div",{className:"absolute z-30 flex items-center justify-center w-20 h-20 -translate-x-1/2 -translate-y-1/2 bg-gray-900 border border-gray-700 rounded-full shadow-2xl top-1/2 left-1/2",children:(0,n.tZ)("div",{className:"w-2.5 h-2.5 bg-gray-300 rounded-full shadow-inner"})})]})})}),(0,n.BX)("div",{className:"relative z-10 flex flex-col items-center w-full gap-6 mb-6",children:[(0,n.tZ)("div",{className:"px-2 space-y-2 text-center",children:(0,n.tZ)("h2",{className:"text-[32px] leading-snug font-semibold drop-shadow-lg line-clamp-3",children:m.name})}),(0,n.BX)("button",{onClick:()=>{g.current&&(C?g.current.pause():g.current.play().catch(e=>console.error("Playback failed:",e)),Z(!C))},className:"flex items-center gap-3 px-4 py-5 active:scale-95 duration-150 transition-all !text-white border-2 !border-white rounded-full ",children:[C?(0,n.tZ)(J.default,{size:20,variant:"outline",color:"#fff"}):(0,n.tZ)($.default,{size:20,variant:"outline",color:"#fff"}),(0,n.BX)("span",{ref:y,className:"text-base tracking-widest min-w-[60px]",children:[ee(p)," -"," ",ee(p)]})]}),(0,n.BX)("button",{onClick:()=>{null==i||i(),window.open(h,"_blank","noopener,noreferrer")},className:"font-bold tracking-[0.1em] flex items-center gap-2 uppercase text-gray-200 border-none outline-none active:text-white transition-all duration-150 py-2 active:scale-95 text-sm",children:[(0,n.tZ)(et.default,{size:20,variant:"outline",color:"#fff"}),c("for_you.podcast.listen_full")]})]})]})},en=r(56263),el=r.n(en),ea=e=>{var t;let{item:r,onInteraction:o}=e,{images:i,slug:u,vertical:d}=r,m=(0,a.ZK)(),p=(0,S.useRouter)(),w=(null===(t=i.url)||void 0===t?void 0:t.includes("wp-content"))?(0,f.hv)(i.url):(0,c.Z)(i.url,"raw",375),g="/".concat(d&&"onboardy"===d?"onboardy":m.toLowerCase(),"/").concat(u),y=(0,l.useCallback)(e=>{0!==e.button||e.ctrlKey||e.metaKey||e.shiftKey||(e.preventDefault(),null==o||o(),p.push({pathname:p.pathname,query:{...p.query,lang:m.toLowerCase(),postSlug:u}},g,{shallow:!0,scroll:!1}))},[m,o,p,u,g]);return(0,n.BX)("div",{className:el().container,children:[r.label&&(0,n.tZ)(v,{category:r.label||"default"}),(0,n.BX)("div",{className:el().contentWrapper,children:[(0,n.BX)("div",{className:el().content,children:[(0,n.tZ)(j.default,{id:"double-quote",width:24,height:20,className:el().quoteIconOpen}),(0,n.tZ)("div",{className:el().quote,children:(0,h.aF)(r.contentMetadata.quotes[0])}),(0,n.tZ)(j.default,{id:"double-quote",width:24,height:20,className:el().quoteIconClose})]}),(0,n.BX)("div",{className:el().footer,children:[(0,n.BX)(V(),{href:g,className:el().titleWrapper,onClick:y,children:[(0,n.tZ)("h3",{className:el().title,children:r.title}),(0,n.tZ)("h4",{className:el().author,children:r.writerID.penname})]}),(0,n.BX)("div",{className:"space-y-2",children:[(0,n.tZ)("div",{className:"bg-white/10 flex justify-center items-center backdrop-blur-sm p-2 h-10 w-10 rounded-full",children:(0,n.tZ)(I,{articleId:r.id,colorFill:"#fff",colorStroke:"#fff"})}),(0,n.tZ)(V(),{href:g,onClick:y,className:"bg-white/10 flex justify-center items-center backdrop-blur-sm p-2 h-10 w-10 rounded-full",children:(0,n.tZ)(Z.Ec,{color:"#fff"})})]})]})]}),(0,n.BX)("div",{className:el().background,children:[(0,n.tZ)("div",{className:el().imageWrapper,children:(0,n.tZ)(s(),{src:w,alt:r.title,fill:!0,objectFit:"cover"})}),(0,n.tZ)("div",{className:el().overlay})]})]})};let eo=l.default.memo(e=>{let{item:t,isActive:r=!1,onInteraction:l}=e,i=(0,a.LC)();if(!t)return(0,n.tZ)(o.G7,{className:"flex-1 justify-center items-center bg-white dark:bg-gray-900",children:(0,n.tZ)(o.xv,{className:"text-gray-800 dark:text-white text-lg font-bold",children:i("for_you.unknown_content")})});switch(t.format){case"quote":return(0,n.tZ)(ea,{item:t,onInteraction:()=>{null==l||l()}});case"standard":return(0,n.tZ)(X,{item:t,onInteraction:()=>{null==l||l()}});case"short":return(0,n.tZ)(A,{item:t,isActive:r,onInteraction:()=>{null==l||l()}});case"collection":return(0,n.tZ)(Q,{item:t,onInteraction:()=>{null==l||l()}});case"podcast":return(0,n.tZ)(er,{item:t,isActive:r,onInteraction:()=>{null==l||l()}});default:return(0,n.tZ)(o.G7,{className:"flex-1 justify-center items-center h-full",children:(0,n.tZ)(o.xv,{className:"text-gray-500",children:i("for_you.unknown_content")})})}},(e,t)=>e.item.id===t.item.id&&e.isActive===t.isActive);eo.displayName="ContentRenderer";var ei=eo},8353:function(e,t,r){"use strict";r.d(t,{A2:function(){return a},BZ:function(){return o},Ec:function(){return s},Ut:function(){return l},bM:function(){return i}});var n=r(7320);r(11720);let l=e=>{let{width:t=24,height:r=24,color:l="currentColor",className:a}=e;return(0,n.BX)("svg",{width:t,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,children:[(0,n.tZ)("path",{d:"M3 12H21",stroke:l,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.tZ)("path",{d:"M3 6H21",stroke:l,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.tZ)("path",{d:"M3 18H21",stroke:l,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})},a=e=>{let{width:t=24,height:r=24,color:l="currentColor",strokeWidth:a=2,className:o}=e;return(0,n.BX)("svg",{width:t,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:o,children:[(0,n.tZ)("path",{d:"M3 9.75L12 2.25L21 9.75V20.25C21 20.6478 20.842 21.0294 20.5607 21.3107C20.2794 21.592 19.8978 21.75 19.5 21.75H4.5C4.10218 21.75 3.72064 21.592 3.43934 21.3107C3.15804 21.0294 3 20.6478 3 20.25V9.75Z",stroke:l,strokeWidth:a,strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.tZ)("path",{d:"M9 21.75V12.75H15V21.75",stroke:l,strokeWidth:a,strokeLinecap:"round",strokeLinejoin:"round"})]})},o=e=>{let{width:t=24,height:r=24,color:l="currentColor",strokeWidth:a=2,className:o,fill:i="none"}=e;return(0,n.tZ)("svg",{width:t,height:r,viewBox:"0 0 24 24",fill:i,xmlns:"http://www.w3.org/2000/svg",className:o,children:(0,n.tZ)("path",{d:"M5 21L12 17.5L19 21V5C19 4.46957 18.7893 3.96086 18.4142 3.58579C18.0391 3.21071 17.5304 3 17 3H7C6.46957 3 5.96086 3.21071 5.58579 3.58579C5.21071 3.96086 5 4.46957 5 5V21Z",stroke:l,strokeWidth:a,strokeLinecap:"round",strokeLinejoin:"round"})})},i=e=>{let{width:t=24,height:r=24,color:l="currentColor",strokeWidth:a=2,className:o}=e;return(0,n.BX)("svg",{width:t,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:o,children:[(0,n.tZ)("path",{d:"M18 6L6 18",stroke:l,strokeWidth:a,strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.tZ)("path",{d:"M6 6L18 18",stroke:l,strokeWidth:a,strokeLinecap:"round",strokeLinejoin:"round"})]})},s=e=>{let{width:t=24,height:r=24,color:l="currentColor",className:a=""}=e;return(0,n.tZ)("svg",{width:t,height:r,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,children:(0,n.tZ)("path",{d:"M11.686 13.3213C11.3667 13.6406 11.3667 14.1583 11.686 14.4776C12.0053 14.7969 12.523 14.7969 12.8423 14.4776L16.9303 
110.3896C17.2496 10.0703 17.2496 9.55258 16.9303 9.23328L12.8423 5.14523C12.523 4.82594 12.0053 4.82594 11.686 5.14523C11.3667 5.46453 11.3667 5.98221 11.686 6.30151L14.3783 8.99381H3.22501C2.79854 8.99381 2.45282 9.35987 2.45282 9.81142C2.45282 10.263 2.79854 10.629 3.22501 10.629L14.3783 10.629L11.686 13.3213Z",fill:l})})}},47223:function(e,t,r){"use strict";var n=r(7320),l=r(49369);t.Z=e=>{let{onReload:t}=e,r=(0,l.LC)();return(0,n.BX)("div",{className:"bg-white dark:bg-black flex flex-col items-center justify-center h-screen max-h-[-webkit-fill-available] overflow-hidden justify-items-center",children:[(0,n.tZ)("p",{className:"text-lg dark:text-white",children:r("for_you.something_went_wrong")}),(0,n.tZ)("div",{onClick:t,className:"text-lg bg-green-500 px-3 py-2 rounded-full text-white active:bg-green-600",children:(0,n.tZ)("span",{className:"text-lg bg-green-500 px-3 py-2 rounded-full text-white active:bg-green-600 active:scale-95 duration-150 transition-all ease-in-out",children:r("for_you.reload")})})]})}},18088:function(e,t,r){"use strict";r.d(t,{bZ:function(){return a},qQ:function(){return n},sR:function(){return l}});let n="topic_recommendation_selector",l="login_redirect",a="select_topic"},89534:function(e,t,r){"use strict";r.r(t);var n=r(7320),l=r(37712);t.default=e=>{let{size:t,color:r,className:a}=e;return(0,n.tZ)("svg",{...(0,l.e7)({className:a,size:t,fill:"none",viewBox:[0,0,32,32]}),children:(0,n.tZ)("path",{className:"s-main-element",d:"M22.6667 8H9.33333C8.53333 8 8 8.53333 8 9.33333C8 10.1333 8.53333 10.6667 9.33333 10.6667H19.4667L8.4 21.7333C7.86667 22.2667 7.86667 23.0667 8.4 23.6C8.93333 24.1333 9.73333 24.1333 10.2667 23.6L21.3333 12.5333V22.6667C21.3333 23.4667 21.8667 24 22.6667 24C23.4667 24 24 23.4667 24 22.6667V9.33333C24 8.53333 23.4667 8 22.6667 8Z",...(0,l.uM)({variant:"fill",color:r})})})}},29234:function(e,t,r){"use strict";r.r(t);var n=r(7320),l=r(37712);t.default=e=>{let{size:t,color:r,className:a}=e;return(0,n.tZ)("svg",{...(0,l.e7)({className:a,size:t,fill:"none",viewBox:[0,0,20,20]}),children:(0,n.tZ)("path",{className:"s-main-element",fillRule:"evenodd",clipRule:"evenodd",d:"M17.2703 5.25877C17.5876 5.59212 17.5746 6.1196 17.2412 6.43692L7.61162 15.6036C7.44717 15.7601 7.22597 15.8428 6.99916 15.8325C6.77236 15.8222 6.55958 15.7197 6.41003 15.5489L2.70633 11.3181C2.40318 10.9718 2.43815 10.4454 2.78444 10.1422C3.13073 9.83907 3.65721 9.87404 3.96036 10.2203L7.09178 13.7974L16.0921 5.22975C16.4255 4.91242 16.9529 4.92542 17.2703 5.25877Z",...(0,l.uM)({variant:"fill",color:r})})})}},16663:function(e,t,r){"use strict";r.r(t);var n=r(7320),l=r(37712);t.default=e=>{let{size:t,color:r,className:a}=e;return(0,n.tZ)(n.HY,{children:(0,n.tZ)("svg",{...(0,l.e7)({size:t,className:a,fill:r,viewBox:[0,0,24,25]}),children:(0,n.tZ)("path",{className:"s-main-element",d:"M13.414 12.5L16.243 9.672C16.3359 9.57909 16.4096 9.46879 16.4599 9.3474C16.5102 9.226 16.5361 9.0959 16.5361 8.9645C16.5361 8.83311 16.5102 8.703 16.4599 8.5816C16.4096 8.46021 16.3359 8.34991 16.243 8.257C16.1501 8.16409 16.0398 8.09039 15.9184 8.04011C15.797 7.98982 15.6669 7.96394 15.5355 7.96394C15.4041 7.96394 15.274 7.98982 15.1526 8.04011C15.0312 8.09039 14.9209 8.16409 14.828 8.257L12 11.086L9.172 8.257C8.98436 8.06936 8.72986 7.96394 8.4645 7.96394C8.19914 7.96394 7.94464 8.06936 7.757 8.257C7.56936 8.44464 7.46394 8.69914 7.46394 8.9645C7.46394 9.0959 7.48982 9.226 7.54011 9.3474C7.59039 9.46879 7.66409 9.57909 7.757 9.672L10.586 12.5L7.757 15.328C7.56936 15.5156 7.46394 15.7701 7.46394 16.0355C7.46394 16.3009 7.56936 16.5554 7.757 16.743C7.94464 16.9306 8.19914 17.0361 8.4645 17.0361C8.72986 17.0361 8.98436 16.9306 9.172 16.743L12 13.914L14.828 16.743C15.0156 16.9306 15.2701 17.0361 15.5355 17.0361C15.8009 17.0361 16.0554 16.9306 16.243 16.743C16.4306 16.5554 16.5361 16.3009 16.5361 16.0355C16.5361 15.7701 16.4306 15.5156 16.243 15.328L13.414 12.5ZM12 22.5C6.477 22.5 2 18.023 2 12.5C2 6.977 6.477 2.5 12 2.5C17.523 2.5 22 6.977 22 12.5C22 18.023 17.523 22.5 12 22.5Z",...(0,l.uM)({variant:"fill",color:r})})})})}},21451:function(e,t,r){"use strict";r.r(t);var n=r(7320),l=r(37712);t.default=e=>{let{size:t,color:r,className:a}=e;return(0,n.BX)("svg",{...(0,l.e7)({className:a,size:t,fill:"none",viewBox:[0,0,56,56]}),children:[(0,n.tZ)("path",{className:"s-main-element",d:"M28.0003 7.58325C14.9583 7.58325 5.08353 18.4415 4.66699 30.9166V41.1249C4.66699 41.9306 5.3196 42.5833 6.12533 42.5833H7.58366C8.38939 42.5833 9.04199 41.9306 9.04199 41.1249V30.9166C9.04199 20.4649 17.5486 11.9765 28.0003 11.9747C38.452 11.9765 46.9587 20.4649 46.9587 30.9166V41.1249C46.9587 41.9306 47.6113 42.5833 48.417 42.5833H49.8753C50.6811 42.5833 51.3337 41.9306 51.3337 41.1249V30.9166C50.9171 18.4415 41.0424 7.58325 28.0003 7.58325Z",...(0,l.uM)({variant:"fill",color:r})}),(0,n.tZ)("path",{className:"s-main-element",d:"M17.7913 30.916
17H19.2497C20.8602 30.9167 22.1663 32.2247 22.1663 33.8389V45.4946C22.1663 47.1079 20.8602 48.4167 19.2497 48.4167H17.7913C14.5693 48.4167 11.958 45.7999 11.958 42.5725V36.761C11.958 33.5326 14.5693 30.9167 17.7913 30.9167Z",...(0,l.uM)({variant:"fill",color:r})}),(0,n.tZ)("path",{className:"s-main-element",d:"M36.7497 30.9167H38.208C41.43 30.9167 44.0413 33.5335 44.0413 36.761V42.5725C44.0413 45.7999 41.43 48.4167 38.208 48.4167H36.7497C35.1391 48.4167 33.833 47.1079 33.833 45.4946V33.8389C33.833 32.2247 35.1391 30.9167 36.7497 30.9167Z",...(0,l.uM)({variant:"fill",color:r})})]})}},28301:function(e,t,r){"use strict";r.r(t);var n=r(7320),l=r(37712);t.default=e=>{let{size:t,color:r,className:a}=e;return(0,n.tZ)(n.HY,{children:(0,n.BX)("svg",{...(0,l.e7)({size:t,className:a,fill:"none",viewBox:[0,0,32,32]}),children:[(0,n.tZ)("path",{className:"s-main-element",fillRule:"evenodd",clipRule:"evenodd",d:"M6.6665 9.33341C6.6665 7.86065 7.86041 6.66675 9.33317 6.66675H11.9998C13.4726 6.66675 14.6665 7.86066 14.6665 9.33341V22.6667C14.6665 24.1395 13.4726 25.3334 11.9998 25.3334H9.33317C7.86041 25.3334 6.6665 24.1395 6.6665 22.6667V9.33341Z",...(0,l.uM)({variant:"fill",color:r})}),(0,n.tZ)("path",{className:"s-main-element",fillRule:"evenodd",clipRule:"evenodd",d:"M17.3332 9.33341C17.3332 7.86065 18.5271 6.66675 19.9998 6.66675H22.6665C24.1393 6.66675 25.3332 7.86066 25.3332 9.33341V22.6667C25.3332 24.1395 24.1393 25.3334 22.6665 25.3334H19.9998C18.5271 25.3334 17.3332 24.1395 17.3332 22.6667V9.33341Z",...(0,l.uM)({variant:"fill",color:r})})]})})}},62132:function(e,t,r){"use strict";r.r(t);var n=r(7320),l=r(37712);t.default=e=>{let{size:t,color:r,className:a}=e;return(0,n.tZ)(n.HY,{children:(0,n.tZ)("svg",{...(0,l.e7)({size:t,className:a,fill:"none",viewBox:[0,0,24,24]}),children:(0,n.tZ)("path",{className:"s-main-element",fillRule:"evenodd",clipRule:"evenodd",d:"M8.52732 19.8335L18.5625 12.8165C19.1458 12.4281 19.1458 11.5719 18.5625 11.1835L8.52732 4.16646C7.87447 3.7317 7 4.1992 7 4.98298V19.017C7 19.8008 7.87447 20.2683 8.52732 19.8335Z",...(0,l.uM)({variant:"fill",color:r})})})})}},24606:function(e,t,r){"use strict";r.r(t);var n=r(7320),l=r(37712);t.default=e=>{let{size:t,color:r,className:a}=e;return(0,n.tZ)("svg",{...(0,l.e7)({className:a,size:t,fill:"none",viewBox:[0,0,20,20]}),children:(0,n.tZ)("path",{className:"s-main-element",d:"M10.8333 4.16668C10.8333 3.70644 10.4602 3.33334 9.99998 3.33334C9.53974 3.33334 9.16665 3.70644 9.16665 4.16668V9.16668H4.16665C3.70641 9.16668 3.33331 9.53977 3.33331 10C3.33331 10.4602 3.70641 10.8333 4.16665 10.8333H9.16665V15.8333C9.16665 16.2936 9.53974 16.6667 9.99998 16.6667C10.4602 16.6667 10.8333 16.2936 10.8333 15.8333V10.8333H15.8333C16.2935 10.8333 16.6666 10.4602 16.6666 10C16.6666 9.53977 16.2935 9.16668 15.8333 9.16668H10.8333V4.16668Z",...(0,l.uM)({variant:"fill",color:r})})})}},45787:function(e,t,r){"use strict";r.d(t,{NY:function(){return n},aF:function(){return l},fm:function(){return a}});let n=e=>e.replace(/<p>/g,"").replace(/<\/p>/g,""),l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:350;return e?e.length<=t?e:e.substring(0,t).trim()+"...":""},a=e=>e?e.charAt(0).toUpperCase()+e.slice(1):""},56263:function(e){e.exports={container:"styles_container__aC55I",contentWrapper:"styles_contentWrapper__zwppx",content:"styles_content__AbCHz",quoteIconOpen:"styles_quoteIconOpen__ovwJL",quoteIconClose:"styles_quoteIconClose__T2Uob",quote:"styles_quote___H5d_",footer:"styles_footer__HAapA",titleWrapper:"styles_titleWrapper__g_x28",title:"styles_title__D2Wgn",author:"styles_author__FMeg4",arrowIcon:"styles_arrowIcon__OPoep",background:"styles_background__t5Vrm",imageWrapper:"styles_imageWrapper__6bEaa",overlay:"styles_overlay__TKXc7"}},4151:function(e){e.exports={container:"styles_container__u769S",youtubeVideo:"styles_youtubeVideo__BxVnu",info:"styles_info__D9pgk",externalLinkIcon:"styles_externalLinkIcon__esZTd",title:"styles_title__bHts4",muteButton:"styles_muteButton__F1kFt",muteIcon:"styles_muteIcon__5IRBH"}},2091:function(e){e.exports={container:"styles_container___vZ9r",imageWrapper:"styles_imageWrapper__VBOBk",contentWrapper:"styles_contentWrapper__fekpt",content:"styles_content__Y0UE_",topic:"styles_topic__odpZE",title:"styles_title__nB3R
1H",excerpt:"styles_excerpt__jMSxx",footer:"styles_footer__o3Ok8",authorWrapper:"styles_authorWrapper__R1JVL",authorAvatar:"styles_authorAvatar__Wr6LP",readNowButton:"styles_readNowButton__HsaTb"}}}]);

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.