PageSourceSearch

https://www.factsasia.org/_next/static/chunks/9856-297389da5d56f0025a55.js

js factsasia.org collected 2026-10-02 19:29:05 UTC 16,879 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9856],{11739:function(e,t,r){"use strict";r.d(t,{aG:function(){return p},gN:function(){return h},At:function(){return x}});var i=r(71659),n=r(44592),l=r(26450),a=r(67294);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}).apply(this,arguments)}function c(e,t){if(null==e)return{};var r,i,n={},l=Object.keys(e);for(i=0;i<l.length;i++)r=l[i],t.indexOf(r)>=0||(n[r]=e[r]);return n}var o=["spacing"],u=["isCurrentPage","as","className","href"],d=["isCurrentPage","separator","isLastChild","spacing","children","className"],f=["children","spacing","separator","className"],m=(0,i.Gp)((function(e,t){var r=e.spacing,n=c(e,o),l=s({mx:r},(0,i.yK)().separator);return a.createElement(i.m$.span,s({ref:t,role:"presentation"},n,{__css:l}))}));n.Ts&&(m.displayName="BreadcrumbSeparator");var x=(0,i.Gp)((function(e,t){var r=e.isCurrentPage,l=e.as,o=e.className,d=e.href,f=c(e,u),m=(0,i.yK)(),x=s({ref:t,as:l,className:(0,n.cx)("chakra-breadcrumb__link",o)},f);return r?a.createElement(i.m$.span,s({"aria-current":"page",__css:m.link},x)):a.createElement(i.m$.a,s({__css:m.link,href:d},x))}));n.Ts&&(x.displayName="BreadcrumbLink");var h=(0,i.Gp)((function(e,t){var r=e.isCurrentPage,o=e.separator,u=e.isLastChild,f=e.spacing,h=e.children,p=e.className,g=c(e,d),b=(0,l.WR)(h).map((function(e){return e.type===x?a.cloneElement(e,{isCurrentPage:r}):e.type===m?a.cloneElement(e,{spacing:f,children:e.props.children||o}):e})),j=s({display:"inline-flex",alignItems:"center"},(0,i.yK)().item),v=(0,n.cx)("chakra-breadcrumb__list-item",p);return a.createElement(i.m$.li,s({ref:t,className:v},g,{__css:j}),b,!u&&a.createElement(m,{spacing:f},o))}));n.Ts&&(h.displayName="BreadcrumbItem");var p=(0,i.Gp)((function(e,t){var r=(0,i.jC)("Breadcrumb",e),o=(0,i.Lr)(e),u=o.children,d=o.spacing,m=void 0===d?"0.5rem":d,x=o.separator,h=void 0===x?"/":x,p=o.className,g=c(o,f),b=(0,l.WR)(u),j=b.length,v=b.map((function(e,t){return a.cloneElement(e,{separator:h,spacing:m,isLastChild:j===t+1})})),y=(0,n.cx)("chakra-breadcrumb",p);return a.createElement(i.m$.nav,s({ref:t,"aria-label":"breadcrumb",className:y,__css:r.container},g),a.createElement(i.Fo,{value:r},a.createElement(i.m$.ol,{className:"chakra-breadcrumb__list"},v)))}));n.Ts&&(p.displayName="Breadcrumb")},51447:function(e,t,r){"use strict";var i=r(85893),n=r(68527);t.Z=function(e){var t=e.name;return(0,i.jsxs)(n.kC,{align:"center",fontSize:"11px",mr:3,children:[(0,i.jsx)(n.xv,{color:"gray.400",fontWeight:"400",lineHeight:"11px",mr:1,children:"BY"}),(0,i.jsx)(n.xv,{color:"red.500",fontWeight:"700",lineHeight:"11px",children:t})]})}},68497:function(e,t,r){"use strict";var i=r(85893),n=r(60155),l=r(11739),a=r(94712),s=r(32056),c=function(e){var t=e.category,r=e.redirectTo,c=e.title,o=function(e){switch(e){case a.l8.label:return a.l8.value;case a.b2.label:return a.b2.value;case a.IP.label:return a.IP.value;case a.O.label:return a.O.value;case s.$w.SECURITY:return a.lG.value;case s.$w.TECHNOLOGY:return a.Rs.value;default:return c}};return(0,i.jsxs)(l.aG,{color:"gray.400",fontSize:"12px",mb:7,separator:(0,i.jsx)(n.nQU,{color:"gray.500"}),spacing:"8px",children:[(0,i.jsx)(l.gN,{children:(0,i.jsx)(l.At,{href:"/",children:"Home"})}),t&&(0,i.jsx)(l.gN,{children:(0,i.jsx)(l.At,{href:"/".concat(o(t)),children:t})}),(0,i.jsxs)(l.gN,{children:[c&&(0,i.jsx)(l.At,{children:c}),!c&&(0,i.jsx)(l.At,{href:"/".concat(r),children:o(r)})]})]})};c.defaultProps={category:"",redirectTo:"",title:""},t.Z=c},53727:function(e,t,r){"use strict";var i=r(85893),n=r(41664),l=r(68527),a=r(19436),s=r(31020),c=r(99468),o=r(84029),u=function(e){var t=e.animation,r=e.contentUrl,u=e.datePublished,d=e.id,f=e.imgSrc,m=e.isListed,x=e.media,h=e.small,p=e.title,g=e.url;return(0,i.jsxs)(l.xu,{className:"article","data-aos":t&&"fade-up",pos:"relative",children:[(0,i.jsx)(n.default,{href:{pathname:g,query:{media:x}},children:(0,i.jsxs)("a",{href:g,children:[(0,i.jsx)(l.oM,{h:"full",maxW:"100%",overflow:"hidden",ratio:4/3,children:(0,i.jsx)(o.Z,{contentUrl:r,effects:"sx",imgSrc:f})}),(0,i.jsxs)(l.kC,{bgGradient:"linear-gradient(to bottom, rgba(0, 0, 0, 0), rgb(0, 0, 0))",bottom:"0",flexDir:"column",justify:"flex-end",minH:"80%",p:6,pos:"absolute",w:"full",children:[x&&(0,i.jsx)(l.xu,{mb:2,children:(0,i.jsx)(c.Z,{media:x})}),(0,i.jsx)(l.X6,{color:"#fff","data-testid":"Heading",fontSize:{base:"20px",lg:h?"17px":"26px"},fontWeight:"700",lineHeight:{base:"24px",lg:h?"24px":"30px"},mb:h?5:7,noOfLines:h?2:3,children:p}),(0,i.jsx)(l.kC,{alignItems:"center",justify:"space-between",children:(0,i.jsx)(a.Z,{iconColor:"#fff",time:u})})]})]})}),(0,i.jsx)(l.xu,{bottom:6,pos:"absolute",right:6,children:(0,i.jsx)(s.Z,{activeColor:"#fff",color:"#fff",id:d,isListed:m})})]})};u.defaultProps={animation:!1,contentUrl:"",media:null,small:!1},t.Z=u},46497:function(e,t,r){"use strict";var i=r(85893),n=r(68527),l=r(41664),a=r(51447),s=r(31020),c=r(1898),o=r(99468),u=r(19436),d=r(84029),f=function(e){var t=e.animation,r=e.author,f=e.broadcast,m=e.broadcastStatus,x=e.category,h=e.content,p=e.contentUrl,g=e.datePublished,b=e.id,j=e.imgSrc,v=e.isListed,y=e.media,w=e.multimedia,C=e.onClose,Z=e.search,S=e.title,k=e.url;return(0,i.jsxs)(n.kC,{align:"flex-start",bg:"white","data-aos":t&&"fade-up",flex:"1",flexDir:{base
1:"column",sm:"row"},w:"full",children:[(0,i.jsxs)(n.xu,{maxW:{base:"100%",sm:"114px",md:"260px",lg:Z?"180px":"360px"},pos:"relative",w:"100%",children:[(0,i.jsx)(l.default,{href:{pathname:k,query:f?null:{media:y}},children:(0,i.jsx)("a",{"aria-label":"article",className:"article",href:k,children:(0,i.jsx)(n.oM,{mb:3,onClick:C,overflow:"hidden",ratio:4/3,children:(0,i.jsx)(d.Z,{contentUrl:p,effects:"default",imgSrc:j})})})}),w&&(0,i.jsx)(n.xu,{display:{base:"block",sm:"none",md:"block"},left:3,pos:"absolute",top:3,children:(0,i.jsx)(o.Z,{categoryText:x})})]}),(0,i.jsxs)(n.kC,{flex:"1",flexDir:"column",ml:{base:0,sm:3,md:6},mt:{base:6,sm:0},children:[Z&&(0,i.jsx)(n.xu,{mb:2,children:(0,i.jsx)(o.Z,{categoryText:x,media:y})}),w&&(0,i.jsx)(n.xu,{display:{base:"none",sm:"block",md:"none"},mb:3,children:(0,i.jsx)(o.Z,{categoryText:x})}),(0,i.jsx)(l.default,{href:{pathname:k,query:f?null:{media:y}},children:(0,i.jsx)("a",{className:"article",href:k,onClick:C,children:(0,i.jsx)(n.X6,{color:"dark.500",fontSize:Z?"16px":"22px",fontWeight:"700",lineHeight:Z?"21px":"30px",mb:4,noOfLines:3,sx:{".article:hover &":{color:"#555",textDecor:"underline"}},children:S})})}),w?(0,i.jsxs)(n.kC,{alignItems:"center",justify:"space-between",mb:4,w:"full",children:[(0,i.jsx)(u.Z,{time:g}),(0,i.jsx)(s.Z,{activeColor:w?void 0:"#fff",id:b,isListed:v})]}):(0,i.jsxs)(n.kC,{align:"center",flexWrap:"wrap",justify:"space-between",mb:4,children:[(0,i.jsxs)(n.kC,{flexDir:m&&"column",flexWrap:!m&&"wrap",children:[(0,i.jsx)(a.Z,{name:r}),(0,i.jsx)(u.Z,{broadcastStatus:m,time:g})]}),!w&&!Z&&!f&&(0,i.jsx)(s.Z,{id:b,isListed:v})]}),!Z&&(0,i.jsx)(n.xv,{color:"secondary.500",fontSize:"sm",lineHeight:"22px",mb:5,noOfLines:3,children:h}),!Z&&(0,i.jsx)(l.default,{href:{pathname:k,query:f?null:{media:y}},children:(0,i.jsx)("a",{"aria-label":"Read More",href:k,children:(0,i.jsx)(c.Z,{bgColor:"transparent",text:"READ MORE"})})})]})]})};f.defaultProps={animation:!0,author:null,broadcast:!1,broadcastStatus:null,category:null,contentUrl:null,media:null,multimedia:!1,onClose:function(){},search:!1},t.Z=f},23471:function(e,t,r){"use strict";r.d(t,{Z:function(){return D}});var i=r(85893),n=r(68527),l=r(34651),a=r(26265),s=r(88767),c=r(46066),o=(r(71493),r(22937),r(96486)),u=r(41664),d=r(80898),f=r(15957),m=r(21623),x=r(63263),h=r(99468),p=r(19436),g=r(84029);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=function(){var e=(0,s.useQuery)({queryKey:["multimedia-grid",{filters:{contentType:{$in:[d.pX.label,d.HF.label]},publishedAt:{$notNull:!0}},sort:"publishedAt:DESC"}],queryFn:f.uY,initialData:{data:[]},placeholderData:[]}).data.data;return(0,i.jsx)(n.xu,{mb:"40px",children:(0,i.jsx)(c.Z,j(j({className:"slider-right"},{autoplay:!0,cssEase:"linear",arrows:!0,dots:!1,infinite:!0,pauseOnHover:!0,speed:1e3,slidesToShow:1,slidesToScroll:1}),{},{children:e.map((function(e){return(0,i.jsx)(u.default,{href:{pathname:"/blog/".concat(e.slug),query:{media:e.contentType}},children:(0,i.jsx)("a",{href:"/blog/".concat(e.slug),children:(0,i.jsxs)(n.xu,{pos:"relative",children:[(0,i.jsx)(n.oM,{ratio:4/3,children:(0,i.jsx)(g.Z,{contentUrl:(0,o.get)(e,"contentUrl"),effects:"carousel",imgSrc:(0,x.T)(e,"small")})}),(0,i.jsxs)(n.kC,{align:"center",bg:"rgba(0,0,0,0.5)",className:"article",flexDir:"column",h:"full",justify:"center",left:"0",p:6,pos:"absolute",top:"0",w:"full",children:[(0,i.jsx)(n.xu,{mb:4,children:(0,i.jsx)(h.Z,{categoryText:(0,o.get)(e,"category.name",""),media:(0,m.A0)(e.contentType)})}),(0,i.jsx)(n.xv,{color:"white",fontSize:"md",fontWeight:"700",lineHeight:"25px",mb:3,noOfLines:2,sx:{".article:hover &":{textDecor:"underline"}},textAlign:"center",children:e.title}),(0,i.jsx)(p.Z,{iconColor:"#fff",textColor:"#fff",time:e.publishedAt})]})]})})},e.id)}))}))})},y=r(69762),w=r(32056),C=r(38963),Z=r(53727),S=r(90054),k=r(60118),N=function(e){var t,r,l=e.limit,a=(0,s.useQuery)({queryKey:["recent-news-grid",{pagination:{limit:l},sort:"publishedAt:DESC",filters:{publishedAt:{$notNull:!0}}}],queryFn:f.uY,initialData:{data:[]},placeholderData:[]}),c=a.data.data,u=a.isLoading,d=null!==(t=null===(r=(0,C.Z)().data)||void 0===r?void 0:r.data)&&void 0!==t?t:[];if(u)return(0,i.jsx)("p",{children:"Loading articles..."});if((0,o.isEmpty)(c))return(0,i.jsx)("p",{children:"No articles found."});var h=(0,y.Z)(c),p=h[0],g=h.slice(1);return(0,i.jsxs)(n.xu,{pos:"sticky",top:"135px",children:[(0,i.jsx)(S.Z,{title:"".concat(w.$w.RECENT_NEWS)}),(0,i.jsxs)(n.gC,{align:"stretch",spacing:6,children:[(0,i.jsx)(Z.Z,{contentUrl:(0,o.get)(p,"contentUrl"),datePublished:(0,o.get)(p,"publishedAt"),id:null===p||void 0===p?void 0:p.id,imgSrc:(0,x.T)(p,"medium"),isListed:!(null===d||void 0===d||!d.find((function(e){var t;return(null===e||void 0===e||null===(t=e.media_item)||void 0===t?void 0:t.id)===(null===p||void 0===p?void 0:p.id)}))),small:!0,time:null===p||void 0===p?void 0:p.publishedAt,title:(0,o.get)(p,"title"),url:"/blog/".concat(null===p||void 0===p?void 0:p.slug)}),g.map((function(e){return(0,i.jsx)(k.Z,{contentUrl:(0,o.get)(e,"contentUrl"),datePublished:(0,o.get)(e,"publishedAt"),id:null===e||void 0===e?void 0:e.id,imgSrc:(0,x.T)(e,"small"),media:(0,m.A0)(e.contentType),time:null===e||void 0===e?void 0:e.publishedAt,title:(0,o.get)(e,"title"),url:"/blog/".concat(null===e||void 0===e?void 0:e.slug)},null===e||void 0===e?void 0:e.id)}
1))]})]})};N.defaultProps={limit:5};var O=N,P=r(3548),E=function(e){var t=e.news,r=e.newsLimit;return(0,i.jsxs)(n.kC,{flexDir:"column",w:{lg:"345px"},children:[!t&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(v,{}),(0,i.jsx)(n.M5,{children:(0,i.jsx)(n.xu,{mb:"40px",w:{base:"full",md:"50%",lg:"full"},children:(0,i.jsx)(l.Ee,{src:"/images/ads.png"})})}),(0,i.jsx)(n.xu,{mb:"40px",children:(0,i.jsx)(P.Z,{})})]}),(0,i.jsx)(O,{limit:r})]})};E.defaultProps={news:!1,newsLimit:5};var T=E,A=function(e){var t=e.children,r=e.news,l=e.newsLimit;return(0,i.jsx)(n.xu,{mb:"60px",pt:8,px:4,children:(0,i.jsxs)(n.Kq,{className:"container",direction:{base:"column",lg:"row"},spacing:"45px",children:[(0,i.jsx)(n.kC,{flex:"1",flexDir:"column",pos:"relative",children:t}),(0,i.jsx)(T,{news:r,newsLimit:l})]})})};A.defaultProps={children:[],news:!1,newsLimit:5};var D=A},42199:function(e,t,r){"use strict";var i=r(85893),n=r(68527),l=r(41664),a=r(31020),s=r(99468),c=r(19436),o=r(84029),u=function(e){var t=e.category,r=e.contentUrl,u=e.datePublished,d=e.id,f=e.imgSrc,m=e.isListed,x=e.media,h=e.multimedia,p=e.title,g=e.url;return(0,i.jsxs)(n.xu,{"data-aos":"fade-up",children:[(0,i.jsx)(l.default,{href:{pathname:g,query:{media:x}},children:(0,i.jsxs)("a",{className:"article",href:g,children:[(0,i.jsxs)(n.xu,{pos:"relative",children:[(0,i.jsx)(n.oM,{mb:3,overflow:"hidden",ratio:4/3,children:(0,i.jsx)(o.Z,{contentUrl:r,effects:"hover",imgSrc:f})}),h&&(0,i.jsx)(n.xu,{left:3,pos:"absolute",top:3,children:(0,i.jsx)(s.Z,{categoryText:t})})]}),(0,i.jsx)(n.X6,{color:h?"dark.500":"#fff",fontSize:"16px",fontWeight:"700",lineHeight:"22px",mb:2,noOfLines:3,sx:{".article:hover &":{color:h?"dark.600":"#ccc"}},children:p})]})}),(0,i.jsxs)(n.kC,{alignItems:"center",justify:"space-between",w:"full",children:[(0,i.jsx)(c.Z,{time:u}),(0,i.jsx)(a.Z,{activeColor:h?void 0:"#fff",id:d,isListed:m})]})]})};u.defaultProps={category:null,contentUrl:"",imgSrc:null,multimedia:!1},t.Z=u},60118:function(e,t,r){"use strict";var i=r(85893),n=r(68527),l=r(41664),a=r(84029),s=r(19436),c=function(e){var t=e.contentUrl,r=e.datePublished,c=e.imgSrc,o=e.media,u=e.title,d=e.url;return(0,i.jsxs)(n.kC,{align:"flex-start",flex:"1",children:[(0,i.jsx)(l.default,{href:{pathname:d,query:{media:o}},children:(0,i.jsx)("a",{"aria-label":"Video",href:d,children:(0,i.jsx)(n.oM,{h:"85px",ratio:4/3,w:"114px",children:(0,i.jsx)(a.Z,{contentUrl:t,effects:"default",imgSrc:c})})})}),(0,i.jsxs)(n.kC,{flexDir:"column",ml:3,children:[(0,i.jsx)(l.default,{href:{pathname:d,query:{media:o}},children:(0,i.jsx)("a",{className:"article",href:d,children:(0,i.jsx)(n.X6,{className:"ff-roboto",color:"dark.500",fontSize:"15px",fontWeight:"500",letterSpacing:"-0.12px",lineHeight:"21px",mb:2,noOfLines:3,sx:{".article:hover &":{color:"secondary.600",textDecor:"underline"}},children:u})})}),(0,i.jsx)(s.Z,{time:r})]})]})};c.defaultProps={contentUrl:"",media:null},t.Z=c},94712:function(e,t,r){"use strict";r.d(t,{l8:function(){return i},b2:function(){return n},IP:function(){return l},O:function(){return a},lG:function(){return s},Rs:function(){return c}});var i={label:"ASEAN Matters",value:"asean-matters"},n={label:"Current Affairs",value:"current-affairs"},l={label:"Future Trends",value:"future-trends"},a={label:"Live Events",value:"live-events"},s={label:"Security Policy",value:"security"},c={label:"Tech Developments",value:"technology"}},79856:function(e,t,r){"use strict";r.d(t,{Z:function(){return C}});var i=r(85893),n=r(67294),l=r(88767),a=r(68527),s=r(96486),c=r.n(s),o=r(68497),u=r(1898),d=r(23471),f=r(39704),m=r(57634),x=r(21623),h=r(69762),p=r(46497),g=r(42199),b=r(63263),j=r(15957),v=function(e){var t=e.category,r=e.limit,n=(0,l.useQuery)({queryKey:["video-grid",{filters:{contentType:(0,x.V0)(t),publishedAt:{$notNull:!0}},pagination:{limit:r},sort:"publishedAt:DESC"}],queryFn:j.uY,initialData:{data:[]},placeholderData:[{}]}).data.data,c=(0,h.Z)(n),o=c[0],u=c.slice(1);return(0,i.jsxs)(a.gC,{spacing:6,children:[o&&(0,i.jsx)(p.Z,{category:(0,s.get)(o,"category.name",""),content:o.excerpt,contentUrl:(0,s.get)(o,"contentUrl"),"data-aos":"fade-up",datePublished:(0,s.get)(o,"publishedAt"),id:null===o||void 0===o?void 0:o.id,imgSrc:(0,b.T)(o,"small"),media:(0,x.A0
1)(t),multimedia:!0,title:o.title,url:"blog/".concat(o.slug)}),(0,i.jsx)(a.MI,{columns:{base:1,sm:2,md:3},spacing:6,w:"full",children:u.map((function(e){return(0,i.jsx)(g.Z,{category:(0,s.get)(e,"category.name",""),contentUrl:(0,s.get)(e,"contentUrl"),datePublished:(0,s.get)(e,"publishedAt"),id:e.id,imgSrc:(0,b.T)(e,"small"),media:(0,x.A0)(t),multimedia:!0,title:e.title,url:"blog/".concat(e.slug)},e.id)}))})]})};v.defaultProps={category:"",limit:""};var y=v,w=function(e){var t=e.category,r=(0,n.useState)(10),s=r[0],h=r[1],p=(0,f.v9)(m.oO),g=(0,l.useQuery)({queryKey:["".concat(t,"-grid"),{filters:{contentType:(0,x.V0)(t),premium:!!p&&null,publishedAt:{$notNull:!0}},pagination:{limit:s},sort:"publishedAt:DESC"}],queryFn:j.uY,initialData:{meta:{total:0}}}).data.meta.total;return(0,i.jsxs)(d.Z,{children:[(0,i.jsx)(o.Z,{redirectTo:c().lowerCase(t),title:t}),(0,i.jsxs)(a.xu,{mb:"40px",children:[(0,i.jsx)(a.X6,{as:"h2",className:"ff-merriweather",color:"dark.500",fontSize:"36px",fontWeight:"700",lineHeight:"46px",mb:4,children:t}),(0,i.jsx)(a.xv,{className:"ff-roboto",color:"secondary.500",fontSize:"md",fontWeight:"400",lineHeight:"24px"})]}),(0,i.jsx)(y,{category:t,limit:s}),g>=s&&(0,i.jsx)(u.Z,{bgColor:"transparent",marginTop:16,onClick:function(){return h(s+10)},text:"LOAD MORE"})]})};w.defaultProps={category:""};var C=w}}]);

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.