PageSourceSearch

https://www.ntd.com/_next/static/chunks/9257.b44b552c4146f534.js

js ntd.com collected 2026-09-24 08:42:56 UTC 8,486 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9257],{48845:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var l=n(52322),o=n(8326),s=n(18853),r=n(32803),i=n(27145),a=n(24409),m=n(25237),c=n.n(m),u=n(2784),d=n(84944),_=n(32089),p=n(17551);let x=c()(()=>Promise.resolve().then(n.bind(n,48324)),{loadableGenerated:{webpack:()=>[48324]},ssr:!1});function f(e){var t,n,m;let{post:c,className:f="",titleClassName:v="",thumbnailClassName:h="",size:C,width:b="",showVideoIcon:g=!0,useAnimateThumbnail:w=!1,titleAs:j,playMode:N="",showTerm:y=!0,showDate:Z=!1,dateComponent:S}=e,L=(0,u.useRef)(null),{isInView:z}=(0,a.Z)(L),[T,M]=(0,u.useState)(!1),X=(0,u.useRef)(),[B,k]=(0,u.useState)(!1),I=(0,u.useRef)(null===(t=(n=window).matchMedia)||void 0===t?void 0:t.call(n,"(hover: hover) and (pointer: fine)").matches);return c?(0,l.jsxs)("div",{className:(0,d.m)("flex flex-1 justify-between gap-x-4",b,f,"XL"===C?"gap-y-4":"","L"===C?"gap-y-4":"","M"===C?"gap-y-3":"","S"===C?"gap-y-3":"","XS"===C?"gap-y-3":"","2XS"===C?"gap-y-3":""),ref:L,onMouseEnter:()=>{if("mouseover"===N&&I.current){var e;k(!0),X.current&&clearTimeout(X.current),(null==c?void 0:null===(e=c.video)||void 0===e?void 0:e.url)&&(X.current=setTimeout(()=>{var e;(null==c?void 0:null===(e=c.video)||void 0===e?void 0:e.url)&&M(!0)},1e3))}},onMouseLeave:()=>{"mouseover"===N&&I.current&&(X.current&&clearTimeout(X.current),k(!1),M(!1))},children:[(0,l.jsxs)("div",{className:"relative h-fit","data-thumbnail":!0,children:[(0,l.jsx)(r.Z,{aspect:"aspect-video",className:(0,d.m)("flex w-[95px] shrink-0 md:w-[120px]",h),useAnimateThumbnail:w,isHovered:B,...c}),g&&c.video&&(0,l.jsx)(o.Z,{href:c.uri,children:(0,l.jsx)("div",{className:(0,d.m)("absolute inline","XL"===C?"bottom-7 left-7 size-16":"","L"===C?"bottom-7 left-7 size-16":"","M"===C?"bottom-5 left-5 size-12":"","S"===C?"bottom-3 left-3 size-8":"","XS"===C?"bottom-2 left-2 size-6":"","2XS"===C?"bottom-1.5 left-1.5 size-4":""),children:(0,l.jsx)(x,{className:"size-full"})})}),z&&("autoplay"===N||"mouseover"===N&&T)&&!w&&(0,l.jsx)(o.Z,{href:c.uri,className:(0,d.m)("flex absolute top-0 left-0 size-full overflow-hidden"),children:(0,l.jsx)(p.Z,{postId:null==c?void 0:c.id,video:c.video,poster:null===(m=c.thumbnail)||void 0===m?void 0:m.url})})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-y-1",children:[c.primaryTerm&&y&&(0,l.jsx)(o.Z,{href:c.primaryTerm.uri,className:"w-fit",children:(0,l.jsx)("div",{className:"text-xs font-medium leading-[1.2] text-[#0066CB] md:text-sm md:leading-[1.2]",children:(0,_.m9)(c.primaryTerm.name)})}),(0,l.jsx)(i.Z,{className:(0,d.m)("font-semibold leading-[1.2]","XL"===C?"text-2xl line-clamp-2":"","L"===C?"text-[32px] line-clamp-2":"","M"===C?"text-2xl line-clamp-3":"","S"===C?"text-base line-clamp-3":"","XS"===C?"text-lg line-clamp-3":"","2XS"===C?"text-base line-clamp-3":"",v),customCss:!0,...c,as:j}),Z&&(S||(0,l.jsx)(s.Z,{className:"text-sm text-red-light",date:c.publishedAt,format:"diff"}))]})]}):null}},48324:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var l=n(52322);function o(e){let{className:t=""}=e;return(0,l.jsxs)("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,l.jsx)("circle",{cx:"32",cy:"32.125",r:"32",fill:"white",fillOpacity:"0.7"}),(0,l.jsx)("path",{d:"M47.7751 30.9908C48.4481 31.3644 48.4642 32.3266 47.8041 32.7226L24.7824 46.5338C24.1223 46.9298 23.281 46.4627 23.2681 45.693L22.8181 18.85C22.8052 18.0803 23.6304 17.5853 24.3034 17.9589L47.7751 30.9908Z",fill:"#0066CB"})]})}},99257:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var l=n(52322);n(68525);var o=n(50876),s=n(48845),r=n(22815);function i(e){let{posts:t,name:n,uri:i}=e;if(!t)return(0,l.jsx)(l.Fragment,{});let a=t[0];return(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)("h2",{className:"mb-2 bg-[#0066CB] py-2 pl-4 text-xl font-bold text-white",children:(0,l.jsx)(o.Z,{href:null!=i?i:"",children:(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:null!=n?n:""}})})}),(0,l.jsx)("div",{className:"lg:h-[233px]",children:(0,l.jsx)(r.Z,{post:a,titleClassName:"!line-clamp-2 text-lg font-medium leading-[22px] text-heading"})}),(0,l.jsx)("div",{className:"my-3 w-full"}),t.slice(1,5).map((e,t)=>(0,l.jsx)(s.Z,{post:e,size:"XS",playMode:"mouseover",showVideoIcon:!0,useAnimateThumbnail:!0,showTerm:!1,className:"flex-row-reverse border-b border-gray-200 py-2",titleClassName:"text-heading line-clamp-3 flex-1 pr-2 text-base font-medium leading-5 first:mt-0 lg:h-[57px]",thumbnailClassName:"w-[92px] md:w-[92px] lg:w-[76px]",showDate:!1},t)),(0,l.jsx)("div",{children:(0,l.jsx)("div",{})})]})}function a(e){let{section:t}=e;return(0,l.jsx)("div",{children:(0,l.jsx)("div",{className:"container mx-auto max-w-[1300px]",children:(0,l.jsxs)("div",{className:"p-4 xl:px-0",children:[(0,l.jsx)("h1",{className:"text-2xl font-bold",children:"News"}),(0,l.jsx)("div",{className:"mt-5 grid grid-cols-1 gap-x-10 gap-y-16 md:grid-cols-2 lg:grid-cols-4",children:null==t?void 0:t.map((e,t)=>e?(0,l.jsx)("div",{className:"flex",children:(0,l.jsx)(i,{...e})},t):null)})]})})})}},22815:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var l=n(52322),o=n(48324),s=n(24409),r=n(2784),i=n(84944),a=n(17551),m=n(8326),c=n(32803),u=n(27145);function d(e){var t;let{post:n,titleClassName:d}=e,_=(0,r.useRef)(null),{isInView:p}=(0,s.Z)(_),[x,f]=(0,r.useState)(!1),v=(0,r.useRef)();return(0,l.jsxs)("div",{className:"flex flex-col gap-3",onMouseEnter:()=>{var e;v.current&&clearTimeout(v.current),(null==n?void 0:null===(e=n.video)||void 0===e?void 0:e.url)&&(v.current=setTimeout(()=>{var e;(null==n?void 0:null===(e=n.video)||void 0===e?void 0:e.url)&&f(!0)},1e3))},onMouseLeave:()=>{v.current&&clearTimeout(v.current),f(!1)},ref:_,children:[(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(c.Z,{aspect:"aspect-video",...n}),n.video&&(0,l.jsx)(o.default,{className:"absolute bottom-3 left-3 block size-8"}),x&&p&&(0,l.jsx)(m.Z,{href:n.uri,className:(0,i.m)("flex absolute top-0 left-0 size-full overflow-hidden"),children:(0,l.jsx)(a.Z,{postId:n.id,video:n.video,poster:null===(t=n.thumbnail)||void 0===t?void 0:t.url})})]}),(0,l.jsx)(u.Z,{className:(0,i.m)("line-clamp-3 text-lg font-semibold leading-[1.1]",d),...n})]})}},27145:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var l=n(52322),o=n(84944),s=n(8326);function r(e){let{as:t="h3",className:n="",customUrl:r,target:i="",customCss:a=!1,testid:m,...c}=e;if(!c)return null;let u=c.shortHeading||c.title;return(0,l.jsxs)(s.Z,{href:null!=r?r:c.uri,"data-title":!0,target:i,testid:m,children:[!a&&(0,l.jsx)(t,{className:(0,o.m)("text-heading",n),children:u}),a&&(0,l.jsx)(t,{className:n,children:u})]})}},24409:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var l=n(2784);function o(e){let[t,n]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let t=new IntersectionObserver(t=>{if(!e.current)return;let[l]=t;l.isIntersecting?n(!0):n(!1)},{root:null,rootMargin:"0px",threshold:.4});return e.current&&t.observe(e.current),()=>{e.current&&t.unobserve(e.current)}},[]),{isInView:t}}},68525:function(e){e.exports={sidebar:"Components_sidebar__Uo8wD",live:"Components_live__ufEHh",most_viewed:"Components_most_viewed__Ss73L",section_title:"Components_section_title__0gBo0",articles:"Components_articles__lzlCG",one_viewed_article:"Components_one_viewed_article__HeRwz",image:"Components_image__KNo3_",watchOn:"Components_watchOn__lXQWj",platforms:"Components_platforms__0o0HD",middle:"Components_middle__bZuHQ",bottom:"Components_bottom__wIK4a",see_more:"Components_see_more__jfy28",one_row:"Components_one_row__nG2Bn",no_bar:"Components_no_bar__Nqd_w",see_more_container:"Components_see_more_container__CsdLi",heroicon_player:"Components_heroicon_player__MHuCt",shareCount:"Components_shareCount__LWydn",commentCount:"Components_commentCount__S7GwP",scrollbar:"Components_scrollbar__wgcAV",mainScrollBar:"Components_mainScrollBar__8mD4k",subScrollBar:"Components_subScrollBar__do_y7",hidebar:"Components_hidebar__lZY61",videoIcon:"Components_videoIcon__tT554",frontpage:"Components_frontpage__eL0ho",topCarousel:"Components_topCarousel__z2YcW",overlay:"Components_overlay__SqH3G",epochtv:"Components_epochtv__YXi_c",life:"Components_life__2Rw2A",weekRow:"Components_weekRow__U05Fe",loader:"Components_loader__tGB_W",rotate:"Components_rotate__3pfxp",prixClipFix:"Components_prixClipFix__nKb_I"}}}]);

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.