1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9272],{89926:function(e,l,t){"use strict";t.r(l),t.d(l,{__N_SSP:function(){return x}});var i=t(59499),n=(t(67294),t(17651)),r=t(90455),o=t(72554),a=t(28981),s=t(11163),u=t(11374),d=t(90656),c=t(23609),v=t(99960),h=t(24454),m=t(36492),g=t(85893);function f(e,l){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);l&&(i=i.filter((function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable}))),t.push.apply(t,i)}return t}var x=!0;l.default=e=>{var l,t,x,p,j,b,_,P,y,N,w,O,k,C,$,E,T;let{blogType:z,queryName:S,itemsPerPage:D,pageContext:I,initialPage:L}=e;const{data:W}=(0,m.a)([S,{language:I.language,type:z,initialPage:L,itemsPerPage:D}],(()=>(0,a.HC)({language:I.language,type:z,initialPage:L,itemsPerPage:D})),{keepPreviousData:!0,refetchOnMount:!1,refetchOnWindowFocus:!1,staleTime:6e4}),q=(0,h.rB)(null===W||void 0===W?void 0:W.footerRes),F=(0,h.rB)(null===W||void 0===W?void 0:W.headerRes),{featured_posts_title:H,categories_title:U,featured_posts:X,banner_description:Q,banner_is_centered:R,banner_label:Z,banner_url:A}=null===W||void 0===W||null===(l=W.res)||void 0===l?void 0:l.content,M=(0,s.useRouter)(),[B]=null===W||void 0===W?void 0:W.currentPosts.map(a.iP);return(0,g.jsxs)(o.Mi,{value:I,children:[(0,g.jsx)(n.h7,{hasNoindex:null===W||void 0===W||null===(t=W.res)||void 0===t?void 0:t.content.noindex,blok:null===W||void 0===W||null===(x=W.res)||void 0===x?void 0:x.content}),(0,g.jsx)(o.qQ,{mode:o.a5.WHEN_IDLE,children:(0,g.jsx)(v.Z,{blok:F.content,blogType:z,customPath:z})}),(0,g.jsxs)("main",{"data-theme":c.Q.Light,children:[1===L&&(0,g.jsx)(u.$0,{className:"pb-0 overflow-visible",children:(0,g.jsx)(u.W2,{children:(0,g.jsxs)(u.rj,{gapSize:u.XH.Xl,variant:u.bc.Section,children:[(0,g.jsx)(u.rj.Item,{size:u.v9.EightColumn,children:B&&(0,g.jsx)(d.y4,{className:"h-auto",variant:d.f4.WithAuthor,title:null===B||void 0===B?void 0:B.name,text:null===B||void 0===B?void 0:B.excerpt,date:(null===B||void 0===B?void 0:B.first_published_at)||(null===B||void 0===B?void 0:B.created_at),titleAs:"h1",link:{href:`/${z}/${null===B||void 0===B?void 0:B.slug}`},image:{src:null===B||void 0===B||null===(p=B.featured_image)||void 0===p?void 0:p.filename,alt:null===B||void 0===B||null===(j=B.featured_image)||void 0===j?void 0:j.alt,title:null===B||void 0===B||null===(b=B.featured_image)||void 0===b?void 0:b.title},authorLink:{href:null!==B&&void 0!==B&&null!==(_=B.author)&&void 0!==_&&_.slug?`/author/${null===B||void 0===B||null===(P=B.author)||void 0===P?void 0:P.slug}`:"/author/"},authorImage:{src:null===B||void 0===B||null===(y=B.author)||void 0===y||null===(N=y.image)||void 0===N?void 0:N.filename,alt:null===B||void 0===B||null===(w=B.author)||void 0===w||null===(O=w.image)||void 0===O?void 0:O.alt,title:null===B||void 0===B||null===(k=B.author)||void 0===k||null===(C=k.image)||void 0===C?void 0:C.title},authorName:null===B||void 0===B||null===($=B.author)||void 0===$?void 0:$.name})}),(0,g.jsxs)(u.rj.Item,{size:u.v9.FourColumn,className:"hidden md:block",children:[(0,g.jsx)(u.lU,{children:(0,g.jsx)(d.ZT,{className:"mb-md",weight:"font-semibold",variant:d.bu.Text,children:U})}),(0,g.jsx)("ul",{className:"flex flex-wrap",children:null===W||void 0===W||null===(E=W.categoriesRes)||void 0===E?void 0:E.map(((e,l)=>(0,g.jsx)("li",{children:(0,g.jsx)(d.rU,{href:`/${z}/category/${e.slug}/`,className:(0,o.cx)("whitespace-nowrap flex py-xxs px-md rounded-lg text-sm mr-sm mb-sm bg-white hover:text-white hover:bg-green transition-colors focus:text-white focus:bg-green"),children:e.name})},l)))}),(0,g.jsx)(u.lU,{className:"mt-lg",children:(0,g.jsx)(d.ZT,{className:"mb-md",weight:"font-semibold",variant:d.bu.Text,children:H})}),(0,g.jsx)("ul",{className:"flex flex-col space-y-xs",children:null===X||void 0===X?void 0:X.map((e=>(0,g.jsx)("li",{children:(0,g.jsx)(d.rU,{href:e.slug?`/${z}/${e.slug}/`:`/${z}/`,children:e.name})},e.uuid)))}),(0,g.jsx)(u.n9,{className:"mt-xl",spacing:u.Ik.Lg,theme:c.Q.Green,children:(0,g.jsxs)(u.lU,{align:R?u.FC.Center:u.FC.Left,children:[(0,r.sY)(Q),(0,g.jsx)(d.zx,{className:"mt-md",href:null===A||void 0===A?void 0:A.cached_url,children:Z})]})})]})]})})}),(0,g.jsx)(u.$0,{children:(0,g.jsxs)(u.W2,{children:[(0,g.jsx)(u.rj,{gapSize:u.XH.Md,variant:u.bc.Section,children:null===W||void 0===W||null===(T=W.currentPosts)||void 0===T?void 0:T.slice(1===L?1:0).map(((e,l)=>{const{name:t,excerpt:i,first_published_at:n,slug:r,featured_image:o}=(0,a.iP)(e);return(0,g.jsx)(u.rj.Item,{size:u.v9.FourColumn,children:(0,g.jsx)(d.y4,{title:t,text:i,date:n,titleAs:"h2",link:{href:`/${z}/${r}`},image:{src:null===o||void 0===o?void 0:o.filename,alt:null===o||void 0===o?void 0:o.alt,title:null===o||void 0===o?void 0:o.title}})},l)}))}
1),(0,g.jsx)(d.tl,{className:"mt-xl flex justify-center",pageCount:null===W||void 0===W?void 0:W.pageCount,forcePage:L-1,onPageChange:async e=>{const l=M.pathname,t=function(e){for(var l=1;l<arguments.length;l++){var t=null!=arguments[l]?arguments[l]:{};l%2?f(Object(t),!0).forEach((function(l){(0,i.Z)(e,l,t[l])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(l){Object.defineProperty(e,l,Object.getOwnPropertyDescriptor(t,l))}))}return e}({},M.query);t.page=e.selected+1,e.selected+1===1?M.push(`/${z}`):M.push({pathname:l,query:t})}})]})})]}),(0,g.jsx)(o.qQ,{mode:o.a5.WHEN_IDLE,children:(0,g.jsx)(n.jg,{content:q.content})})]})}},214:function(e,l,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/magazine",function(){return t(89926)}])},36492:function(e,l,t){"use strict";t.d(l,{a:function(){return o}});var i=t(32161),n=t(52924),r=t(1476);function o(e,l,t){const o=(0,i._v)(e,l,t);return(0,r.r)(o,n.z)}}},function(e){e.O(0,[8461,443,9774,2888,179],(function(){return l=214,e(e.s=l);var l}));var l=e.O();_N_E=l}]);
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.