1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[106],{868:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[post-slug]",function(){return n(4945)}])},2289:function(e,t,n){"use strict";var r=n(5893),i=n(1664),s=n.n(i),c=n(3185);t.Z=function(e){return(0,r.jsxs)("figure",{className:"post-item item",children:[(0,r.jsx)("picture",{className:"item__thumbnail",children:(0,r.jsx)("img",{src:e.thumbnailUrl,alt:e.title,className:"mb-3 ".concat(e.aspect," bg-gray-200 object-cover")})}),(0,r.jsxs)("figcaption",{className:"item__caption my-6",children:[(0,r.jsxs)("p",{className:"font-semibold text-sm line-clamp-3",children:[(0,c.vc)(e.date),"\xa0|\xa0",e.source]}),(0,r.jsx)("p",{className:"font-semibold text-sm my-6 line-clamp-3 post-title",children:e.title}),(0,r.jsx)("p",{children:e.url&&(0,r.jsx)(s(),{href:e.url,children:(0,r.jsx)("a",{className:"hlink--success text-md font-semibold",children:"Read more"})})})]})]})}},7346:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(5893),i=n(7294),s=n(8258),c=n(9603),a=n(3024),o=n(4288);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}function d(e){var t=(0,i.useState)(!1),n=t[0],l=t[1];return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"flex items-center share-btn",children:[(0,r.jsx)("div",{className:"flex justify-between cursor-pointer ",onClick:function(){return l((function(e){return!e}))},children:(0,r.jsxs)("span",{className:"text-green-600 hover:text-green-900 font-normal text-base flex items-center gap-2 share-button",children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",className:"bi bi-reply-fill",viewBox:"0 0 16 16",children:(0,r.jsx)("path",{d:"M5.921 11.9 1.353 8.62a.719.719 0 0 1 0-1.238L5.921 4.1A.716.716 0 0 1 7 4.719V6c1.5 0 6 0 7 8-2.5-4.5-7-4-7-4v1.281c0 .56-.606.898-1.079.62z"})}),"SHARE"]})}),(0,r.jsxs)("div",{className:"".concat(n?"is-opened":""," share-btn__menu ml-6 grid grid-cols-5 gap-3 justify-center text-center text-sm text-gray-500 border border-gray-400 rounded-md px-2 py-1"),children:[(0,r.jsx)("div",{className:"grid__col",children:(0,r.jsx)(s.Dk,u({},e,{children:(0,r.jsx)(c.G,{id:"icons",className:"text-dark",icon:a.AYu})}))}),(0,r.jsx)("div",{className:"grid__col",children:(0,r.jsx)(s.r2,u({},e,{children:(0,r.jsx)(c.G,{id:"icons",className:"text-dark",icon:a.D9H})}))}),(0,r.jsx)("div",{className:"grid__col",children:(0,r.jsx)(s.N0,u({},e,{children:(0,r.jsx)(c.G,{id:"icons",className:"text-dark",icon:a.VHX})}))}),(0,r.jsx)("div",{className:"grid__col",children:(0,r.jsx)(s.cG,u({},e,{children:(0,r.jsx)(c.G,{id:"icons",className:"text-dark",icon:o.FU$})}))}),(0,r.jsx)("div",{className:"grid__col",children:(0,r.jsx)(s.B,u({},e,{children:(0,r.jsx)(c.G,{id:"icons",className:"text-dark",icon:a.mdU})}))})]})]})})}},2870:function(e,t,n){"use strict";var r=n(5893),i=n(9748),s=n(3496),c=n(2289),a=n(719),o=(n(1082),n(1669),n(965)),l=n(7294);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){u(e,t,n[t])}))}return e}function m(){var e,t,n=(e=["\nbackground-image: url(https://images.unsplash.com/photo-1659535901690-ab95a8539929?ixlib=rb-4.0.3&ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80);\nbackground-size: 60%;\nbackground-repeat: no-repeat;\nbackground-position: right center;\n.section__container {\n min-height: calc(60vh - var(--safe-top-padding, 100px));\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return m=function(){return n},n}var f=(0,s.Z)(i.Z)(m()),x=function(e){var t,n,s,c=e.ItemComponent,u=(0,l.useRef)(null);return(0,r.jsx)(f,{className:"SectionPosts ".concat(e.className),children:(0,r.jsx)(i.Z.Container,{className:"container mx-auto py-8 md:py-12",children:(0,r.jsxs)("div",{className:"w-50",children:[(0,r.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center justify-between",children:[(0,r.jsx)("div",{children:(0,r.jsx)("h3",{className:"section-heading",children:null!==(s=e.title)&&void 0!==s?s:"In the news"})}),(0,r.jsx)("div",{children:e.renderHeaderRight&&e.renderHeaderRight()})]}),e.enableCarousel?(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(a.tq,d({spaceBetween:50,ref:u,autoplay:{delay:2500,disableOnInteraction:!1},breakpoints:{300:{slidesPerView:2,spaceBetween:20},768:{slidesPerView:2,spaceBetween:20},1024:{slidesPerView:3,spaceBetween:20}},modules:[o.pt],onSlideChange:function(){return console.log("slide change")},onSwiper:function(e){return u.current=e}},e.carouselProps,{className:"awards-carousel px-4 md:px-0",children:null===(t=e.posts)||void 0===t?void 0:t.map((function(e,t){return(0,r.jsx)(a.o
15,{children:(0,r.jsx)(c,{date:e.date||"MARCH 24, 2022",title:e.title,source:e.source,thumbnailUrl:e.image_url,description:e.description,reference:e.reference,author:e.author_name,author_bio:e.author_bio,aspect:"aspect-[16/9]",url:e.url})},"slide_".concat(t))}))})),(0,r.jsx)("div",{className:"swiper-button--outer swiper-button-prev",onClick:function(){var e;return null===(e=u.current)||void 0===e?void 0:e.slidePrev()}}),(0,r.jsx)("div",{className:"swiper-button--outer swiper-button-next",onClick:function(){var e;return null===(e=u.current)||void 0===e?void 0:e.slideNext()}})]})}):(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 limit-3",children:null===(n=e.posts)||void 0===n?void 0:n.map((function(e,t){return(0,r.jsx)(c,d({thumbnailUrl:e.image_url,source:e.source,aspect:"aspect-[4/3]"},e),"slide_".concat(t))}))})]})})})};x.defaultProps={ItemComponent:c.Z,enableCarousel:!0},t.Z=x},4945:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return g},default:function(){return w}});var r=n(5893),i=n(34),s=n(3496),c=n(9748),a=n(2870),o=n(8268),l=n(7346),u=n(3185);function d(){var e,t,n=(e=["\n background-image: url(https://images.unsplash.com/photo-1659535901690-ab95a8539929?ixlib=rb-4.0.3&ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80);\n background-size: 60%;\n background-repeat: no-repeat;\n background-position: right center;\n .section__container {\n min-height: calc(80vh - var(--safe-top-padding, 100px));\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return d=function(){return n},n}var m=(0,s.Z)(c.Z)(d()),f=function(e){var t,n,i=e.title,s=e.date,a=e.thumbnailUrl,o=e.author_name,d=e.author_bio;return(0,r.jsx)(m,{className:"BlogPostHeroSection ","data-aos":"fade-up",children:(0,r.jsx)(c.Z.Container,{className:"mx-auto ",children:(0,r.jsxs)("div",{className:"flex flex-col md:flex-row gap-8 items-stretch",children:[(0,r.jsx)("div",{className:"md:w-7/12",children:(0,r.jsx)("div",{className:"aspect-w-16 aspect-h-9",children:(0,r.jsx)("img",{src:a,alt:i,layout:"cover",className:"bg-gray-100 w-full"})})}),(0,r.jsx)("div",{className:"flex-1 bg-white",children:(0,r.jsxs)("div",{className:"h-full flex flex-col justify-between",children:[(0,r.jsxs)("div",{className:"flex justify-between mb-4",children:[(0,r.jsx)("span",{className:"text-base font-bold",children:(0,u.vc)(s)}),(0,r.jsx)(l.Z,{title:null===(t=globalThis.document)||void 0===t?void 0:t.title,url:null===(n=globalThis.location)||void 0===n?void 0:n.href})]}),(0,r.jsx)("h3",{className:"mb-4 md:mb-12 text-3xl font-bold md:w-4/5",children:i}),(0,r.jsxs)("p",{className:"font-bold mb-0 text-blue-600 text-sm md:w-4/5",children:["by ",o,(0,r.jsx)("br",{})," ",d]})]})})]})})})},x=n(6486),h=n(7294),p=n(9669),b=n.n(p);function j(){var e,t,n=(e=["\n\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return j=function(){return n},n}var v=(0,s.Z)(i.Z)(j()),g=!0;function w(e){e.Component,e.pageProps;var t=e.post,n=void 0===t?{}:t,i=(0,h.useState)(null),s=i[0],l=i[1];return(0,h.useEffect)((function(){b().get("/api/related-posts?category=".concat(n.category,"&exclude=").concat(n.slug)).then((function(e){var t=e.data;l(t.data)}))}),[n]),(0,r.jsxs)(v,{settings:o,children:[(0,r.jsx)(f,{title:n.title,citation:n.citation,date:n.date,author_name:n.author_name,author_bio:n.author_bio,thumbnailUrl:n.image_url}),(0,r.jsx)(c.Z,{children:(0,r.jsx)(c.Z.Container,{className:"mx-auto mb-8 post-content",children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:n.description}})})}),s?(0,r.jsx)(a.Z,{title:"Recent Articles",posts:(0,x.orderBy)(s,"date","desc"),enableCarousel:s.length>1}):null]})}},3185:function(e,t,n){"use strict";n.d(t,{D3:function(){return a},Kx:function(){return c},LX:function(){return s},W_:function(){return o},vc:function(){return l}});var r=n(6486),i=n(3454),s=(n(1864).join(i.cwd(),"src/json"),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"date";return(0,r.orderBy)(e,t,"desc")}),c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"date";return(0,r.orderBy)(e,t,"desc")},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"date";return(0,r.orderBy)(e,t,"desc")},o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"date";return(0,r.orderBy)(e,t,"desc")},l=function(e){return e?new Intl.DateTimeFormat("en-GB",{dateStyle:"long",timeZone:"Asia/Kolkata"}).format(new Date(e)):e}}},function(e){e.O(0,[948,662,496,30,760,55,205,151,774,888,179],(function(){return t=868,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.