"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[49228],{4380:(n,e,t)=>{t.d(e,{v:()=>D});var i,r,a,o,c,s,l,u,g,h,p=t(29439),d=(t(21249),t(68309),t(92559)),m=t(42347),f=t(28225),y=t(30168),v=t(30305),x=t(85664),b=t(71893),P=b.ZP.div(i||(i=(0,y.Z)(["\n width: 100%;\n position: relative;\n min-height: ",";\n padding-left: ",";\n padding-right: ",";\n "," {\n width: 50%;\n }\n"])),(function(n){return n.theme.spacing.spacing0025}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing01}),v.B.tabletLandscape),j=b.ZP.a(r||(r=(0,y.Z)(["\n display: block;\n width: 100%;\n height: 12.5rem;\n position: relative;\n overflow: hidden;\n margin-bottom: ",";\n"])),(function(n){return n.theme.spacing.spacing03})),Z=b.ZP.img(a||(a=(0,y.Z)(["\n width: 100%;\n min-width: 100%;\n height: auto;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n transition: transform 1s ease-out;\n transition: transform 1s ease-out, -webkit-transform 1s ease-out;\n transform-origin: 50% 50%;\n"]))),w=b.ZP.div(o||(o=(0,y.Z)(["\n padding-bottom: ",";\n margin-left: -",";\n margin-right: -",";\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n\n &:hover {\n "," {\n transform: translate(-50%, -50%) scale(1.05);\n }\n }\n}\n"])),(function(n){return n.theme.spacing.spacing06}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing01}),Z),O=(0,b.ZP)(x.C)(c||(c=(0,y.Z)(["\n color: ",";\n border: 1px solid ",";\n cursor: pointer;\n text-decoration: none;\n margin: 0 "," "," 0;\n"])),(function(n){return n.theme.colors.environment.percent40}),(function(n){return n.theme.colors.environment.percent40}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing01})),B=b.ZP.h2(s||(s=(0,y.Z)(["\n font-family: ",";\n font-size: ",";\n line-height: ",";\n font-weight: ",";\n &&& {\n margin: "," 0 ",";\n }\n"])),(function(n){return n.theme.typography.global.family}),(function(n){return n.theme.typography.header.h2.size}),(function(n){return n.theme.typography.header.h3.size}),(function(n){return n.theme.typography.header.h2.weight}),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing02})),S=b.ZP.a(l||(l=(0,y.Z)(["\n text-decoration: none;\n color: ",";\n &:hover {\n &&& {\n color: ",";\n text-decoration: none;\n }\n }\n"])),(function(n){return n.theme.colors.black}),(function(n){return n.theme.colors.black})),L=b.ZP.div(u||(u=(0,y.Z)(["\n margin-bottom: ",";\n"])),(function(n){return n.theme.spacing.spacing02})),E=b.ZP.p(g||(g=(0,y.Z)(["\n font-size: ",";\n line-height: ",";\n font-family: ",";\n font-style: ",";\n font-weight: ",";\n border-radius: ",";\n color: ",";\n display: inline;\n margin: "," 0 ",";\n"])),(function(n){return n.theme.typography.body2Regular.size}),(function(n){return n.theme.typography.body2Regular.lineHeight}),(function(n){return n.theme.typography.global.family}),(function(n){return n.theme.typography.body2Regular.letter}),(function(n){return n.theme.typography.body2Regular.weight}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.colors.black}),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing02})),_=b.ZP.footer(h||(h=(0,y.Z)(["\n font-size: ",";\n line-height: ",";\n color: ",";\n"])),(function(n){return n.theme.typography.body2Regular.size}),(function(n){return n.theme.typography.body2Regular.lineHeight}),(function(n){return n.theme.colors.environment.percent40})),k=t(76836),z=t(85893),D=function(n){var e,t,i,r,a=n.post,o=(0,k.xz)({path:"/img/blog/post-default-image.webp"}),c=(0,f.$G)(),s=(0,p.Z)(c,1)[0],l=a.images&&a.images.length>0?a.images[0]:{id:0,src:o,alt:a.title,title:a.title};return(0,z.jsxs)(w,{children:[(0,z.jsx)(P,{children:(0,z.jsx)(j,{href:"/".concat(a.slug||""),title:a.title,children:(0,z.jsx)(Z,{src:l.src,alt:l.alt,title:l.title})})}),(0,z.jsxs)(P,{children:[(0,z.jsxs)("header",{children:[a&&a.slug?(0,z.jsx)("a",{href:"/".concat(a.slug),title:a.title,children:null!==(e=a.superFamilies)&&void 0!==e&&e.length?a.superFamilies.map((function(n){return(0,z.jsx)(O,{outline:!0,children:n.name},n.id)})):a.category&&a.category.name&&(0,z.jsx)(O,{outline:!0,children:null===(t=a.category)||void 0===t?void 0:t.name})}):null!==(i=a.superFamilies)&&void 0!==i&&i.length?a.superFamilies.map((function(n){return(0,z.jsx)(O,{outline:!0,children:n.name},n.id)})):a.category&&a.category.name&&(0,z.jsx)(O,{outline:!0,children:null===(r=a.category)||void 0===r?void 0:r.name}),(0,z.jsx)(B,{children:(0,z.jsx)(S,{href:"/".concat(a.slug||""),title:a.title,children:a.title})})]}),(0,z.jsxs)(L,{children:[(0,z.jsx)(E,{children:a.shortDescription}),(0,z.jsx)(m.r,{href:"/".concat(a.slug||""),title:a.title,decorated:!0,text:s("blog.seeMore")})]}),(0,z.jsx)(_,{children:a.publicationDate&&(0,d.q8)(a.publicationDate)})]})]})}},72054:(n,e,t)=>{t.r(e),t.d(e,{BLOG_LISTING_ITEMS_PER_PAGE:()=>M,default:()=>R});t(47941),t(57327),t(38880),t(89554),t(54747),t(49337),t(33321),t(69070);var i=t(64572),r=t(29439),a=(t(9653),t(69826),t(68309),t(92222),t(82526),t(41817),t(21249),t(67294)),o=t(28225),c=t(86706),s=t(65822),l=t(34619),u=t(36285),g=t(54461),h=t(31893),p=t(29751),d=t(4380),m=t(7898),f=t(51376),y=t(40871),v=t(33742),x=t(36027),b=t(2791),P=t(16550),j=t(88545),Z=t(97210),w=t(78161),O=t(61434),B=t(41735),S=t(74861),L=t(94883),E=t(12219),_=t(1589),k=t(85893);function z(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function D(n){for(var e=1;e0&&(H.pageView({url:location.href,page:{href:location.href,type:s.Kb.BLOG_LISTING_TYPE}}),V((function(n){return D(D({},n),{},{isDatalayerPageviewSet:!0})})))}),[H,J.isDatalayerPageviewSet]),(0,a.useEffect)((function(){var n,e,r,a;J.currentFilter==q.currentFilter&&J.currentPage==q.currentPage||(r=Number(null===t||void 0===t||null===(n=t.params)||void 0===n?void 0:n.id),a=Number(null===t||void 0===t||null===(e=t.params)||void 0===e?void 0:e.type),r&&a&&(V((function(n){return D(D({},n),{},{isLoading:!0})})),U((0,l.Se)({language:i,listingId:r,listingType:a,page:J.currentPage,limit:M,platform:T,selectedLanguage:A,domainExtension:G,filter:J.currentFilter?J.currentFilter:void 0}))))}),[J.currentFilter,J.currentPage]);var tn=function(n){var e;n>0&&n<=W&&(null===(e=en.current)||void 0===e||e.scrollIntoView({behavior:"smooth"}),V((function(e){return D(D({},e),{},{currentPage:n})})),1!=n?N.push({pathname:N.location.pathname,search:"?page=".concat(n)}):N.push({pathname:N.location.pathname,search:""}),U(x.u8.success(D(D({},t),{},{pageMeta:D(D({},t.pageMeta),{},{index:1==n,follow:!0})}))))},rn=D(D({},I.metadata.type===l.bt.CATEGORY&&{categorySlug:I.metadata.slug}),I.metadata.type===l.bt.SECTION&&{sectionSlug:I.metadata.slug});return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(v.SeoHelmet,{openGraph:!0,optionsOpenGraph:{facebook:{image:I.metadata.images&&I.metadata.images[0]?I.metadata.images[0].src:"",type:"article",title:(null===(n=t.onPage)||void 0===n?void 0:n.title)||I.metadata.name,url:(0,E.K)(F,"".concat(N.location.pathname).concat(1!=I.currentPage?"?page=".concat(I.currentPage):"")),siteName:F},twitter:{image:I.metadata.images&&I.metadata.images[0]?I.metadata.images[0].src:""}},children:[(0,k.jsx)("title",{children:(0,_.K)(z.title)}),(0,k.jsx)("meta",{name:"description",content:(0,_.K)(z.description)}),""!=(null===t||void 0===t?void 0:t.keywords)&&(0,k.jsx)("meta",{name:"keywords",content:null===t||void 0===t?void 0:t.keywords}),z.faqsJson&&(0,k.jsx)("script",{type:"application/ld+json",children:z.faqsJson}),(0,b.H)("microdata-breadcrumblist-script",F,R)]}),(0,k.jsx)(h.ZE,{src:I.metadata.images&&I.metadata.images.length>0?I.metadata.images[0].src:"",ref:en,children:(0,k.jsx)(h.ct,{children:(0,k.jsx)(h.R5,{children:(0,k.jsx)(h.l7,{href:(0,E.K)(F,N.location.pathname),children:(null===(e=t.onPage)||void 0===e?void 0:e.h1)||I.metadata.name})})})}),(0,k.jsxs)(h.DG,{children:[(0,k.jsx)(Z.Breadcrumb,{}),(0,k.jsxs)(u.rd,{children:[(0,k.jsxs)(u.H5,{children:[(0,k.jsx)(h.ZK,{children:(0,k.jsx)(m.P,{label:Q("blog.list.filters").toUpperCase(),small:!0,options:I.filters.map((function(n){return{id:n.slug,name:n.name}})),handleChange:function(n){return e=n,void((t=I.filters.find((function(n){return n.slug==e})))&&V((function(n){return D(D({},n),{},{currentFilter:t})})));var e,t}})}),(0,k.jsx)(h.Ct,{children:Q("blog.list.articles")}),(0,k.jsxs)(h.fB,{children:[I.posts.map((function(n){return(0,k.jsx)(d.v,{post:n},n.id)})),C&&(0,k.jsx)(f.F,{})]}),(0,k.jsx)(h.P0,{id:"paginator",currentPage:I.currentPage,labels:nn,nextPageAction:function(){return tn(I.currentPage+1)},previousPageAction:function(){return tn(I.currentPage-1)},totalPages:0===W?1:W}),(0,k.jsxs)(h.Mw,{children:[I.currentPage>1&&(0,k.jsx)("a",{"aria-label":"prev page",href:(0,E.K)(F,N.location.pathname+"?page=".concat(I.currentPage-1))}),W>I.currentPage&&(0,k.jsx)("a",{"aria-label":"next page",href:(0,E.K)(F,"".concat(N.location.pathname,"?page=").concat(I.currentPage+1))})]})]}),(0,k.jsxs)(u.OU,{children:[(0,k.jsx)(h.gt,{children:(0,k.jsx)(p.q,{divId:"desktop-filters",content:(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(h._P,{children:Q("blog.list.filters")}),(0,k.jsx)(h.zz,{"data-testid":"desktop-filters",children:I.filters.map((function(n){return(0,k.jsx)(h.u6,{children:(0,k.jsx)(h.xX,{onClick:function(){return function(n){V((function(e){return D(D({},e),{},{currentFilter:n,currentPage:1})})),N.push({pathname:N.location.pathname,search:""})}(n)},children:n.name},n.id)},n.id)}))})]})},"desktop-filters")}),(0,y.E)(Q("blog.socialMedia.followUs"),Q("blog.socialMedia.textForSubscriptionBox"),G,(0,B.w)(S.$q.BLOG_LISTING,rn,K,"ad-slot-blog-listing"),(0,B.w)(S.$q.BLOG_LISTING_BOTTOM,rn,K,"ad-slot-blog-listing-bottom")).map((function(n,e){return(0,k.jsx)(p.q,D({},n),"".concat(n.divId).concat(e))}))]})]}),(0,k.jsx)(j.BottomContentSeo,{contentMobile:z.contentBottomMobileText||z.contentBottomText,contentDesktop:z.contentBottomText||z.contentBottomMobileText,id:"bottom-content-seo"})]})]})}},31893:(n,e,t)=>{t.d(e,{Ct:()=>T,DG:()=>_,Mw:()=>O,P0:()=>w,R5:()=>L,ZE:()=>B,ZK:()=>G,_P:()=>z,ct:()=>S,fB:()=>A,gt:()=>k,l7:()=>E,u6:()=>M,xX:()=>R,zz:()=>D});var i,r,a,o,c,s,l,u,g,h,p,d,m,f,y,v,x=t(30168),b=t(19590),P=t(30305),j=t(38770),Z=t(71893),w=(0,Z.ZP)(b.D)(i||(i=(0,x.Z)(["\n margin: 0 auto ",";\n"])),(function(n){return n.theme.spacing.spacing07})),O=Z.ZP.div(r||(r=(0,x.Z)(["\n witdh: 0;\n height: 0;\n overflow: hidden;\n"]))),B=Z.ZP.div(a||(a=(0,x.Z)(["\n width: 100%;\n background: "," no-repeat 50%;\n background-size: cover;\n ",";\n"])),(function(n){return n.theme.colors.environment.percent40}),(function(n){return n.src&&""!=n.src&&(0,Z.iv)(o||(o=(0,x.Z)(["\n background-image: url('","');\n "])),n.src)})),S=Z.ZP.div(c||(c=(0,x.Z)(["\n max-width: ",";\n margin: 0 auto;\n padding: "," ",";\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n min-height: 12.5rem;\n"])),(function(n){return n.theme.layout.grid.width}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing01})),L=Z.ZP.h1(s||(s=(0,x.Z)(["\n font-size: ",";\n line-height: ",";\n font-weight: ",";\n color: ",";\n margin: 0 auto;\n font-family: Montserrat, sans-serif;\n "," {\n font-size: ",";\n line-height: ",";\n }\n"])),(function(n){return n.theme.typography.header.h1.size}),(function(n){return n.theme.typography.body2Bold.lineHeight}),(function(n){return n.theme.typography.header.h1.weight}),(function(n){return n.theme.colors.white}),P.B.tabletPortrait,(function(n){return n.theme.typography.displayBold.size}),(function(n){return n.theme.typography.displayBold.lineHeight})),E=Z.ZP.a(l||(l=(0,x.Z)(["\n text-decoration: none;\n color: ",";\n &:hover,\n &:visited,\n &:active {\n &&& {\n color: ",";\n text-decoration: none;\n }\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.white})),_=(0,Z.ZP)(j.W)(u||(u=(0,x.Z)(["\n padding: 0 ",";\n margin: "," auto 0;\n "," {\n padding: 0 ",";\n }\n"])),(function(n){return n.theme.spacing.spacing04}),(function(n){return n.theme.spacing.spacing01}),P.B.tabletLandscape,(function(n){return n.theme.spacing.spacing07})),k=Z.ZP.div(g||(g=(0,x.Z)(["\n display: none;\n "," {\n display: block;\n }\n"])),P.B.tabletLandscape),z=Z.ZP.h3(h||(h=(0,x.Z)(["\n display: inline;\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n text-transform: uppercase;\n"])),(function(n){return n.theme.typography.header.h5.weight}),(function(n){return n.theme.typography.header.h5.size}),(function(n){return n.theme.typography.header.h5.lineHeight})),D=Z.ZP.ul(p||(p=(0,x.Z)(["\n padding-left: 0;\n list-style: none;\n margin: 0;\n visibility: hidden;\n opacity: 0;\n max-height: 0;\n transition: all 0.3s ease;\n padding-bottom: ",";\n "," {\n padding-top: ",";\n visibility: visible;\n opacity: 1;\n max-height: 18rem;\n overflow-x: hidden;\n }\n"])),(function(n){return n.theme.spacing.spacing02}),P.B.tabletLandscape,(function(n){return n.theme.spacing.spacing03})),M=Z.ZP.li(d||(d=(0,x.Z)(["\n padding: 0 0 ",";\n margin-bottom: 0;\n"])),(function(n){return n.theme.spacing.spacing02})),R=Z.ZP.a(m||(m=(0,x.Z)(["\n text-decoration: none;\n"]))),T=Z.ZP.h2(f||(f=(0,x.Z)(["\n display: block;\n font-family: Open Sans, sans-serif;\n font-size: ",";\n line-height: ",";\n font-weight: ",";\n margin: 0 0 ",";\n"])),(function(n){return n.theme.typography.header.h2.size}),(function(n){return n.theme.typography.header.h2.lineHeight}),(function(n){return n.theme.typography.header.h2.weight}),(function(n){return n.theme.spacing.spacing03})),A=Z.ZP.div(y||(y=(0,x.Z)(["\n position: relative;\n"]))),G=Z.ZP.div(v||(v=(0,x.Z)(["\n display: block;\n "," {\n display: none;\n }\n"])),P.B.tabletLandscape)},93601:(n,e,t)=>{var i,r;t.d(e,{Z:()=>r,e:()=>i}),function(n){n.NORMAL="NORMAL",n.CAROUSEL="CAROUSEL",n.BOMBS="BOMBS",n.CATEGORY="CATEGORY"}(i||(i={})),function(n){n.TRANSPARENT="transparente",n.MULTICOLOR="multicolor"}(r||(r={}))}}]); //# sourceMappingURL=BlogListingView.js.map