%PDF- %PDF-
Direktori : /var/www/html/.next/static/chunks/pages/news/ |
Current File : /var/www/html/.next/static/chunks/pages/news/[slug]-a2cf2bf71de46825.js |
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[376],{557:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/news/[slug]",function(){return n(3540)}])},3540:function(e,s,n){"use strict";n.r(s),n.d(s,{__N_SSP:function(){return u}});var i=n(5893),l=n(7294),a=n(5061),t=n(2300),d=(n(5675),n(5935)),r=n(787),c=n(990),o=n(6546),h=n.n(o);c.ZP.registerPlugin(h());var u=!0;s.default=function(e){var s,n,c,o=e.data,h=e.seo,u=new Date(null===o||void 0===o?void 0:o.date),x=new Intl.DateTimeFormat("en-US",{month:"long"}).format(u),j=u.getDate()<10?"0".concat(u.getDate()):u.getDate(),v=u.getFullYear();return(0,l.useEffect)((function(){window.scrollTo({top:0,left:0,behavior:"smooth"})}),[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.Z,{data:h}),(0,i.jsxs)("div",{className:"mainNewsDetails",children:[(0,i.jsxs)("div",{className:"detailsContent",children:[(0,i.jsxs)("div",{className:"info",children:[(0,i.jsxs)("span",{children:[x," ",j,", ",v]}),(0,i.jsx)("h1",{children:(0,d.ZP)(null===o||void 0===o||null===(s=o.title)||void 0===s?void 0:s.rendered)})]}),(0,i.jsx)("div",{className:"dummyText",children:(0,d.ZP)(null===o||void 0===o||null===(n=o.content)||void 0===n?void 0:n.rendered)}),(0,i.jsx)("div",{className:"image"})]}),(0,i.jsx)("div",{className:"news",children:(0,i.jsx)(a.Z,{data:null===o||void 0===o?void 0:o.related,related:!0,titleNews:null===o||void 0===o||null===(c=o.related)||void 0===c?void 0:c.title})}),(0,i.jsx)(t.Z,{})]})]})}},5061:function(e,s,n){"use strict";var i=n(5893),l=n(7294),a=n(5675),t=n.n(a),d=n(1664),r=n.n(d),c=n(5935),o=n(8352),h=n(965),u=(n(933),n(3390),n(8777)),x=n(4078);s.Z=function(e){var s=e.data,n=e.related,a=e.titleNews,d=(0,l.useState)({}),j=d[0],v=d[1];return(0,i.jsxs)("div",{className:"mainNews",children:[(0,i.jsxs)("div",{className:"intro",children:[(0,i.jsx)("div",{className:"newsBackground",children:(0,i.jsx)(x.UO,{})}),(0,i.jsx)("div",{className:"animationWrap",children:(0,i.jsxs)("div",{className:"animate",children:[(0,i.jsxs)("div",{className:"items",children:[(0,i.jsx)("span",{children:"News"}),(0,i.jsx)("span",{children:"News"})]}),(0,i.jsxs)("div",{className:"items",children:[(0,i.jsx)("span",{children:"News"}),(0,i.jsx)("span",{children:"News"})]})]})}),(0,i.jsx)("div",{className:"newsDiv",children:(0,i.jsx)("h4",{children:n?"related news":s.small_title_news})}),(0,i.jsx)(i.Fragment,{children:n?(0,c.ZP)(a):(0,c.ZP)(s.title_news)})]}),(0,i.jsxs)("div",{className:"content",children:[(0,i.jsx)(o.tq,{breakpoints:{640:{slidesPerView:3.3,spaceBetween:3},720:{slidesPerView:3.3,spaceBetween:3},1024:{slidesPerView:3.3,spaceBetween:3}},spaceBetween:3,slidesPerView:1.5,onInit:function(e){v(e)},scrollbar:{hide:!1},modules:[h.LW],children:null===s||void 0===s?void 0:s.posts.map((function(e,s){return(0,i.jsxs)(o.o5,{children:[(0,i.jsxs)("div",{className:"card",children:[(0,i.jsx)(r(),{href:"/news/".concat(e.slug),children:(0,i.jsx)("a",{children:(null===e||void 0===e?void 0:e.image)?(0,i.jsx)(t(),{src:"".concat(e.image),alt:"",width:"504",height:"530"}):""})}),(0,i.jsx)("span",{children:e.date}),(0,i.jsx)(r(),{href:"/news/".concat(e.slug),children:(0,i.jsx)("a",{children:(0,i.jsx)("h4",{children:(0,c.ZP)(e.title)})})}),(0,i.jsx)(r(),{href:"/news/".concat(e.slug),children:(0,i.jsxs)("a",{children:["Read More ",(0,i.jsx)(u.ol,{})]})})]}),(0,i.jsx)("div",{className:"swiper-scrollbar"})]},s)}))}),(0,i.jsxs)("div",{className:"buttons",children:[(0,i.jsx)("button",{onClick:function(){return j.slidePrev()},children:(0,i.jsx)(u.s$,{})}),(0,i.jsx)("button",{onClick:function(){return j.slideNext()},children:(0,i.jsx)(u._Q,{})})]})]})]})}},3390:function(){}},function(e){e.O(0,[494,666,899,774,888,179],(function(){return s=557,e(e.s=s);var s}));var s=e.O();_N_E=s}]);