1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8634],{7653:function(e,t,a){"use strict";var n,o=a(7294);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}t.Z=function(e){return o.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:15,height:17,viewBox:"0 0 18 20"},e),n||(n=o.createElement("g",{"data-name":"Icon feather-user",fill:"none",stroke:"#a9bac8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2},o.createElement("path",{"data-name":"Path 60027",d:"M17 19v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),o.createElement("path",{"data-name":"Path 60028",d:"M13 5a4 4 0 1 1-4-4 4 4 0 0 1 4 4Z"}))))}},4791:function(e,t,a){"use strict";var n,o=a(7294);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}t.Z=function(e){return o.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:15,height:17,viewBox:"0 0 18.2 20"},e),n||(n=o.createElement("g",{"data-name":"Icon feather-calendar",fill:"none",stroke:"#a9bac8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2},o.createElement("path",{"data-name":"Path 60029",d:"M2.8 2.8h12.6a1.8 1.8 0 0 1 1.8 1.8v12.6a1.8 1.8 0 0 1-1.8 1.8H2.8A1.8 1.8 0 0 1 1 17.2V4.6a1.8 1.8 0 0 1 1.8-1.8Z"}),o.createElement("path",{"data-name":"Path 60030",d:"M12.7 1v3.6"}),o.createElement("path",{"data-name":"Path 60031",d:"M5.5 1v3.6"}),o.createElement("path",{"data-name":"Path 60032",d:"M1 8.2h16.2"}))))}},9949:function(e,t,a){"use strict";var n,o=a(7294);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}t.Z=function(e){return o.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:13.5,height:13.5},e),n||(n=o.createElement("g",{"data-name":"Icon feather-clock",fill:"none",stroke:"#424244",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5},o.createElement("path",{"data-name":"Path 60025",d:"M12.75 6.75a6 6 0 1 1-6-6 6 6 0 0 1 6 6Z"}),o.createElement("path",{"data-name":"Path 60026",d:"M6.75 3.15v3.6l2.4 1.2"}))))}},2786:function(e,t,a){"use strict";a.d(t,{Z:function(){return DynamicComponents}});var n=a(5893),o=a(7294),i=a(5152),r=a.n(i);let s=r()(()=>a.e(34).then(a.bind(a,34)),{loadableGenerated:{webpack:()=>[34]}}),l=r()(()=>a.e(6591).then(a.bind(a,6591)),{loadableGenerated:{webpack:()=>[6591]}}),c=r()(()=>Promise.all([a.e(5675),a.e(308),a.e(3191)]).then(a.bind(a,3191)),{loadableGenerated:{webpack:()=>[3191]}}),d=r()(()=>
1a.e(9912).then(a.bind(a,9912)),{loadableGenerated:{webpack:()=>[9912]}}),p=r()(()=>Promise.all([a.e(308),a.e(6044)]).then(a.bind(a,6044)),{loadableGenerated:{webpack:()=>[6044]}}),u=r()(()=>Promise.all([a.e(5675),a.e(9954)]).then(a.bind(a,9954)),{loadableGenerated:{webpack:()=>[9954]}}),h=r()(()=>Promise.all([a.e(5675),a.e(4001)]).then(a.bind(a,4001)),{loadableGenerated:{webpack:()=>[4001]}}),m=r()(()=>Promise.all([a.e(5675),a.e(308),a.e(7613)]).then(a.bind(a,7613)),{loadableGenerated:{webpack:()=>[7613]}}),b=r()(()=>Promise.all([a.e(5675),a.e(308),a.e(7122)]).then(a.bind(a,7122)),{loadableGenerated:{webpack:()=>[7122]}}),g=r()(()=>Promise.all([a.e(5675),a.e(2926)]).then(a.bind(a,2926)),{loadableGenerated:{webpack:()=>[2926]}}),x=r()(()=>a.e(1591).then(a.bind(a,1591)),{loadableGenerated:{webpack:()=>[1591]}}),v=r()(()=>Promise.all([a.e(308),a.e(1796)]).then(a.bind(a,1796)),{loadableGenerated:{webpack:()=>[1796]}}),_=r()(()=>Promise.all([a.e(5675),a.e(2324)]).then(a.bind(a,2324)),{loadableGenerated:{webpack:()=>[2324]}}),w=r()(()=>Promise.all([a.e(308),a.e(2048)]).then(a.bind(a,2048)),{loadableGenerated:{webpack:()=>[2048]}}),j=r()(()=>a.e(8994).then(a.bind(a,8994)),{loadableGenerated:{webpack:()=>[8994]}}),f=r()(()=>Promise.all([a.e(5675),a.e(9255)]).then(a.bind(a,5964)),{loadableGenerated:{webpack:()=>[5964]}}),k=r()(()=>Promise.all([a.e(5675),a.e(3547)]).then(a.bind(a,3547)),{loadableGenerated:{webpack:()=>[3547]}}),P=r()(()=>Promise.all([a.e(5675),a.e(532)]).then(a.bind(a,532)),{loadableGenerated:{webpack:()=>[532]}}),y=r()(()=>Promise.all([a.e(5675),a.e(2600)]).then(a.bind(a,2600)),{loadableGenerated:{webpack:()=>[2600]}}),E=r()(()=>a.e(6263).then(a.bind(a,6263)),{loadableGenerated:{webpack:()=>[6263]}}),N=r()(()=>Promise.all([a.e(5675),a.e(7242)]).then(a.bind(a,7242)),{loadableGenerated:{webpack:()=>[7242]}}),T=r()(()=>Promise.all([a.e(5675),a.e(308),a.e(1572)]).then(a.bind(a,1572)),{loadableGenerated:{webpack:()=>[1572]}}),G=r()(()=>Promise.all([a.e(5675),a.e(3452)]).then(a.bind(a,3452)),{loadableGenerated:{webpack:()=>[3452]}}),S=r()(()=>Promise.all([a.e(5675),a.e(6066),a.e(5699)]).then(a.bind(a,5699)),{loadableGenerated:{webpack:()=>[5699]}}),D=r()(()=>Promise.all([a.e(5675),a.e(308),a.e(7345)]).then(a.bind(a,7345)),{loadableGenerated:{webpack:()=>[7345]}}),R=r()(()=>Promise.all([a.e(5675),a.e(308),a.e(6250)]).then(a.bind(a,6250)),{loadableGenerated:{webpack:()=>[6250]}}),O=r()(()=>Promise.all([a.e(5675),a.e(308),a.e(2046)]).then(a.bind(a,2046)),{loadableGenerated:{webpack:()=>[2046]}}),C=r()(()=>a.e(9461).then(a.bind(a,9461)),{loadableGenerated:{webpack:()=>[9461]}}),L=r()(()=>a.e(8907).then(a.bind(a,8907)),{loadableGenerated:{webpack:()=>[8907]}}),A=r()(()=>Promise.all([a.e(308),a.e(6066),a.e(6468)]).then(a.bind(a,6468)),{loadableGenerated:{webpack:()=>[6468]}}),I=r()(()=>a.e(2341).then(a.bind(a,2341)),{loadableGenerated:{webpack:()=>[2341]}}),Z=r()(()=>a.e(184).then(a.bind(a,184)),{loadableGenerated:{webpack:()=>[184]}}),B=r()(()=>Promise.all([a.e(5675),a.e(308),a.e(5505)]).then(a.bind(a,5505)),{loadableGenerated:{webpack:()=>[5505]}}),M=r()(()=>Promise.all([a.e(5675),a.e(308),a.e(6066),a.e(3460)]).then(a.bind(a,3460)),{loadableGenerated:{webpack:()=>[3460]}}),U=r()(()=>a.e(7870).then(a.bind(a,7870)),{loadableGenerated:{webpack:()=>[7870]}}),q=r()(()=>Promise.all([a.e(5675),a.e(308),a.e(3266)]).then(a.bind(a,3266)),{loadableGenerated:{webpack:()=>[3266]}}),W=r()(()=>Promise.all([a.e(6066),a.e(4839)]).then(a.bind(a,4839)),{loadableGenerated:{webpack:()=>[4839]}}),Y=r()(()=>Promise.all([a.e(5675),a.e(7390)]).then(a.bind(a,7390)),{loadableGenerated:{webpack:()=>[7390]}}),F=r()(()=>Promise.all([a.e(5675),a.e(1646)]).then(a.bind(a,1646)),{loadableGenerated:{webpack:()=>[1646]}}),H=r()(()=>Promise.all([a.e(5675),a.e(2911)]).then(a.bind(a,2911)),{loadableGenerated:{webpack:()=>[2911]}}),K=r()(()=>Promise.all([a.e(5675),a.e(5315)]).then(a.bind(a,5315)),{loadableGenerated:{webpack:()=>[5315]}}),z=r()(()=>Promise.all([a.e(5675),a.e(8724)]).then(a.bind(a,8724)),{loadableGenerated:{webpack:()=>[8724]}}),V=r()(()=>Promise.all([a.e(5675),a.e(5711)]).then(a.bind(a,5711)),{loadableGenerated:{webpack:()=>[5711]}}),X=r()(()=>Promise.all([a.e(5675),a.e(8516)]).then(a.bind(a,8516)),{loadableGenerated:{webpack:()=>[8516]}}),Q=r()(()=>Promise.all([a.e(5675),a.e(255)]).then(a.bind(a,255)),{loadableGenerated:{webpack:()=>[255]}}),J=r()(()=>a.e(7664).then(a.bind(a,7664)),{loadableGenerated:{webpack:()=>[7664]}}),$={"blocks.add-one":{component:e=>(0,n.jsx)(s,{data:e})},"blocks.blue-section":{component:e=>(0,n.jsx)(l,{data:e})},"blocks.chessboard":{component:e=>(0,n.jsx)(c,{data:e})},"blocks.classic-editor":{component:e=>(0,n.jsx)(d,{data:e})},"blocks.classic-editor-pages":{component:e=>(0,n.jsx)(p,{data:e})},"blocks.clients-says":{component:e=>(0,n.jsx)(h,{data:e})},"blocks.clients-says-stars":{component:e=>(0,n.jsx)(u,{data:e})},"blocks.columns":{component:e=>(0,n.jsx)(m,{data:e})},"blocks.contact":{component:e=>(0,n.jsx)(b,{data:e})},"blocks.contact-footer":{component:e=>(0,n.jsx)(g,{data:e})},"blocks.custom-space":{component:e=>(0,n.jsx)(x,{data:e})},"blocks.faq":{component:e=>(0,n.jsx)(v,{data:e})},"blocks.faq-title":{component:e=>(0,n.jsx)(_,{data:e})},"blocks.faq-sections":{component:e=>(0,n.jsx)(w,{data:e})},"blocks.green-section":{component:e=>(0,n.jsx)(j,{data:e})},"blocks.icon-bar":{component:e=>(0,n.jsx)(f,{data:e})},"blocks.icon-bar5col":{component:e=>(0,n.jsx)(k,{data:e})},"blocks.icon-bar6col":{component:e=>(0,n.jsx)(P,{data:e})},"blocks.icon-bar-small":{component:e=>(0,n.jsx)(y,{data:e})},"blocks.image-background":{component:e=>(0,n.jsx)(E,{data:e})},"blocks.image":{component:e=>(0,n.jsx)(N,{data:e})},"blocks.logotypes":{component:e=>(0,n.jsx)(T,{data:e})},"blocks.logotypes-only":{component:e=>(0,n.jsx)(G,{data:e})},"blocks.partner-logos-carousel":{component:e=>(0,n.jsx)(S,{data:e})},"blocks.main-header":{component:e=>(0,n.jsx)(D,{data:e})},"blocks.opinion":{component:e=>(0,n.jsx)(R,{data:e})},"blocks.price-country":{component:e=>(0,n.jsx)(O,{data:e})},"blocks.price-table":{component:e=>(0,n.jsx)(C,{data:e})},"blocks.comparison-table":{component:e=>(0,n.jsx)(L,{data:e})},"blocks.prices-main-header":{component:e=>(0,n.jsx)(A,{data:e})},"blocks.read-also":{component:e=>(0,n.jsx)(I,{data:e})},"blocks.redirect":{component:e=>(0,n.jsx)(Z,{data:e})},"blocks.simple-text-image":{component:e=>(0,n.jsx)(B,{data:e})},"blocks.slider":{component:e=>(0,n.jsx)(M,{data:e})},"blocks.summary":{component:e=>(0,n.jsx)(U,{data:e})},"blocks.tabs":{component:e=>(0,n.jsx)(q,{data:e})},"blocks.three-blogs":{component:e=>(0,n.jsx)(W,{data:e})},"blocks.three-boxes":{component:e=>(0,n.jsx)(Y,{data:e})},"blocks.tiles":{component:e=>(0,n.jsx)(F,{data:e})},"blocks.tiles-small":{component:e=>(0,n.jsx)(H,{data:e})},"blocks.two-posts":{component:e=>(0,n.jsx)(K,{data:e})},"blocks.ai-hero":{component:e=>(0,n.jsx)(z,{data:e})},"blocks.ai-how-it-works":{component:e=>(0,n.jsx)(V,{data:e})},"blocks.ai-faq":{component:e=>(0,n.jsx)(X,{data:e})},"blocks.ai-cta":{component:e=>(0,n.jsx)(Q,{data:e})},"blocks.video":{component:e=>(0,n.jsx)(J,{data:e})}};
1function DynamicComponents(e){let{components:t}=e;return(null==t?void 0:t.length)?t.map((e,t)=>{try{return(0,n.jsx)(o.Fragment,{children:$[e.__component]?$[e.__component].component(e):(0,n.jsxs)("section",{style:{padding:"20px",backgroundColor:"#fff3cd",border:"1px solid #ffeaa7",borderRadius:"4px",margin:"10px 0"},children:[(0,n.jsx)("strong",{children:"Warning:"}),' Component "',e.__component,'" does not exist']})},t)}catch(a){return console.error("Error rendering component ".concat(e.__component,":"),a),(0,n.jsxs)("section",{style:{padding:"20px",backgroundColor:"#f8d7da",border:"1px solid #f5c6cb",borderRadius:"4px",margin:"10px 0"},children:[(0,n.jsx)("strong",{children:"Error:"}),' Failed to render component "',e.__component,'"']},t)}}):(0,n.jsx)("div",{style:{padding:"20px",textAlign:"center",color:"#666",fontStyle:"italic",backgroundColor:"#f9f9f9",border:"1px dashed #ddd",borderRadius:"4px",margin:"20px 0"},children:"There is no dynamic content for this section"})}},8634:function(e,t,a){"use strict";a.d(t,{Bc:function(){return AuthorPage},zF:function(){return BlogMainSection},th:function(){return DownloadSection},tl:function(){return Pagination},In:function(){return PostMainSection},G_:function(){return PostPreview},YX:function(){return PostsSection},ol:function(){return Search},Qb:function(){return TitleSection},$L:function(){return Widget}});var n,o,i,r=a(5893),s=a(6355),l=a.n(s),c=a(7294),d=a(1163),p=a(166);let u={en:"author","pl-PL":"autor",it:"author"};function getAuthorProfile(e){var t,a;return(null==e?void 0:null===(a=e.authorProfile)||void 0===a?void 0:null===(t=a.data)||void 0===t?void 0:t.attributes)||null}var h=a(1296),m=a.n(h);function parseDatePublish(e){if(!e||"string"!=typeof e)return null;let t=e.trim().match(/^(\d{1,2})\.(\d{1,2})\.(\d{2}|\d{4})$/);if(!t)return null;let a=Number(t[1]),n=Number(t[2]),o=Number(t[3]);if(o<100&&(o+=2e3),n<1||n>12||a<1||a>31)return null;let i=new Date(Date.UTC(o,n-1,a));return i.getUTCFullYear()!==o||i.getUTCMonth()!==n-1||i.getUTCDate()!==a?null:i}function date_publish_comparePostsByDatePublishDesc(e,t){var a,n,o,i,r,s;let l=null!==(r=null===(a=parseDatePublish(null==e?void 0:null===(n=e.attributes)||void 0===n?void 0:n.DatePublish))||void 0===a?void 0:a.getTime())&&void 0!==r?r:0,c=null!==(s=null===(o=parseDatePublish(null==t?void 0:null===(i=t.attributes)||void 0===i?void 0:i.DatePublish))||void 0===o?void 0:o.getTime())&&void 0!==s?s:0;return c-l}function BlogMainSection(e){var t,a,n;let{featuredPost:o,mostPopularPostsData:i}=e;return(0,r.jsx)("section",{className:l()["blog-main-section"],children:(0,r.jsxs)("div",{className:"container ".concat(l().container),children:[(0,r.jsx)("div",{className:l()["featured-post-wrapper"],children:(0,r.jsx)(PostPreview,{data:o,appearance:"extended",imgPriority:!0})}),(0,r.jsxs)("div",{className:l()["most-popular-posts-wrapper"],children:[(0,r.jsx)("div",{className:l()["search-wrapper"],children:(0,r.jsx)(Search,{})}),(0,r.jsx)("h4",{children:null===(t=i.data)||void 0===t?void 0:t.attributes.Title}),(0,r.jsx)("ul",{className:l().posts,children:null===(n=i.data)||void 0===n?void 0:null===(a=n.attributes.blog_all_posts.data)||void 0===a?void 0:a.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(PostPreview,{data:e,appearance:"mini",imgPriority:!0})},e.id))})]})]})})}var b=a(5675),g=a.n(b),x=a(1541),v=a(5976),_=a.n(v);let w={en:{postsEyebrow:"Portfolio",postsHeading:"Posts by this author",emptyState:"No posts assigned to this author yet."},"pl-PL":{postsEyebrow:"Portfolio",postsHeading:"Wpisy tego autora",emptyState:"Brak wpis\xf3w przypisanych do tego autora."},it:{postsEyebrow:"Portfolio",postsHeading:"Articoli di questo autore",emptyState:"Nessun articolo assegnato a questo autore."}};function AuthorPage(e){var t,a,n,o,i,s,l;let{author:c,posts:d,locale:p}=e,u=w[p]||w.en,h=null==c?void 0:null===(a=c.photo)||void 0===a?void 0:null===(t=a.data)||void 0===t?void 0:t.attributes,m=(null==d?void 0:null===(o=d.meta)||void 0===o?void 0:null===(n=o.pagination)||void 0===n?void 0:n.page)||1,b=(null==d?void 0:null===(s=d.meta)||void 0===s?void 0:null===(i=s.pagination)||void 0===i?void 0:i.pageCount)||0;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("section",{className:_()["author-hero"],children:(0,r.jsxs)("div",{className:"container ".concat(_().container),children:[(0,r.jsxs)("div",{className:_()["author-content"],
1children:[(0,r.jsx)("h1",{children:null==c?void 0:c.name}),(null==c?void 0:c.bioShort)&&(0,r.jsx)("p",{children:c.bioShort})]}),(null==h?void 0:h.url)&&(0,r.jsx)("div",{className:_()["photo-wrapper"],children:(0,r.jsx)(g(),{src:(0,x.Z)(h.url),alt:(null==c?void 0:c.name)||"",width:h.width||460,height:h.height||560})})]})}),(0,r.jsx)("section",{className:_()["author-posts"],children:(0,r.jsxs)("div",{className:"container ".concat(_().container),children:[(0,r.jsx)("p",{className:_().eyebrow,children:u.postsEyebrow}),(0,r.jsx)("h2",{children:u.postsHeading}),(null==d?void 0:null===(l=d.data)||void 0===l?void 0:l.length)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("ul",{className:_().posts,children:d.data.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(PostPreview,{data:e})},e.id))}),(0,r.jsx)("div",{className:_()["pagination-wrapper"],children:(0,r.jsx)(Pagination,{currentPage:m,totalPages:b})})]}):(0,r.jsx)("p",{className:_()["empty-state"],children:u.emptyState})]})})]})}var j=a(1664),f=a.n(j),k=a(3551),P=a(1329),y=a.n(P);function DownloadSection(e){var t,a,n,o;let{downloadData:i}=e;return(0,r.jsx)("section",{className:y()["download-section"],children:(0,r.jsxs)("div",{className:"container ".concat(y().container),children:[(0,r.jsxs)("div",{className:y()["text-wrapper"],children:[(0,r.jsx)("h3",{children:null===(t=i.data)||void 0===t?void 0:t.attributes.Title}),(0,r.jsx)("p",{children:null===(a=i.data)||void 0===a?void 0:a.attributes.Description})]}),(0,r.jsx)("ul",{className:y().files,children:null===(o=i.data)||void 0===o?void 0:null===(n=o.attributes.DownloadFile)||void 0===n?void 0:n.map(e=>{var t,a,n;return(0,r.jsxs)("li",{children:[(0,r.jsx)("div",{className:"img-wrapper img-wrapper-mw",children:(0,r.jsx)(g(),{src:(0,x.Z)(null===(t=e.Image.data)||void 0===t?void 0:t.attributes.url),alt:"",width:null===(a=e.Image.data)||void 0===a?void 0:a.attributes.width,height:null===(n=e.Image.data)||void 0===n?void 0:n.attributes.height})}),(0,r.jsx)("div",{className:y().title,children:(0,r.jsx)("h3",{children:e.Title})}),(0,r.jsxs)(f(),{href:e.EbookLink||"#",rel:"noreferrer",className:"link",children:[(0,r.jsx)(k.Z,{}),(0,r.jsx)("span",{children:e.TextLink})]})]},e.id)})})]})})}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}var paginationPrev=function(e){return c.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:40,height:40},e),n||(n=c.createElement("g",{"data-name":"Group 32242",fill:"none",stroke:"#f20a39",strokeWidth:3},c.createElement("g",{"data-name":"Ellipse 8",transform:"rotate(-90 20 20)"},c.createElement("circle",{cx:20,cy:20,r:20,stroke:"none"}),c.createElement("circle",{cx:20,cy:20,r:18.5})),c.createElement("path",{"data-name":"Path 336",d:"m21.5 24.5-5-5 5-5",strokeLinecap:"round",strokeLinejoin:"round"}))))};function paginationNext_extends(){return(paginationNext_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}var paginationNext=function(e){return c.createElement("svg",paginationNext_extends({xmlns:"http://www.w3.org/2000/svg",width:40,height:40},e),o||(o=c.createElement("g",{"data-name":"Group 32191",fill:"none",stroke:"#f20a39",strokeWidth:3},c.createElement("g",{"data-name":"Ellipse 8",transform:"rotate(90 20 20)"},c.createElement("circle",{cx:20,cy:20,r:20,stroke:"none"}),c.createElement("circle",{cx:20,cy:20,r:18.5})),c.createElement("path",{"data-name":"Path 336",d:"m18.5 15.5 5 5-5 5",strokeLinecap:"round",strokeLinejoin:"round"}))))},pagination_PaginationButton=function(e){let{page:t,children:a,disabled:n=!1}=e,o=(0,d.useRouter)(),i={pathname:1===t?"/blog":"/blog/page/".concat(t)};return("/blog/posts"===o.pathname&&(i={pathname:o.pathname,query:{...o.query,page:t}}),("/blog/author/[slug]"===o.pathname||"/blog/autor/[slug]"===o.pathname)&&(i={pathname:o.pathname,query:{...o.query,page:t}}),n)?(0,r.jsx)("li",{children:(0,r.jsx)("button",{disabled:!0,children:a})}):(0,r.jsx)("li",{children:(0,r.jsx)(f(),{href:i,children:(0,r.jsx)("button",{children:a})})})},E=a(7397),N=a.n(E);function Pagination(e){let{currentPage:t,totalPages:a}=e;return a>0&&(0,r.jsxs)("ul",{className:N().pagination,children:[(0,r.jsx)(pagination_PaginationButton,{page:t-1,disabled:1===t,children:(0,r.jsx)(paginationPrev,{})}),[...Array(a+1).keys()].slice(1).map(e=>e===t?(0,r.jsx)("li",{className:N().active,children:(0,r.jsx)("button",{disabled:!0,children:e})},e):1===e||e===a||e===t-1||e===t+1?(0,r.jsx)(pagination_PaginationButton,{page:e,children:e},e):e===t-1||e===t+1?(0,r.jsx)("li",{children:(0,r.jsx)("span",{children:"..."})},e):null),(0,r.jsx)(pagination_PaginationButton,{page:t+1,disabled:t===a,children:(0,r.jsx)(paginationNext,{})})]})}var T=a(7392),G=a(2786),S=a(6145),D=a.n(S);function PostMainSection(e){var t,a,n;let{postData:o}=e,{windowSize:i,breakpoints:s}=(0,T.Z)(),l=null==o?void 0:null===(a=o.data[0])||void 0===a?void 0:null===(t=a.attributes.Sidebar[0])||void 0===t?void 0:t.Widget1;return(0,r.jsx)("section",{className:D()["post-main-section"],children:(0,r.jsxs)("div",{className:"container ".concat(D().container),children:[i>=s.lg&&l&&(0,r.jsx)("aside",{children:(0,r.jsx)("ul",{className:D().widgets,children:l.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(Widget,{data:e})},e.id))})}),(0,r.jsx)("div",{children:(0,r.jsxs)("div",{children:[(0,r.jsx)(PostPreview,{data:null==o?void 0:o.data[0],appearance:"full",imgPriority:!0}),(0,r.jsx)(G.Z,{components:null==o?void 0:null===(n=o.data[0])||void 0===n?void 0:n.attributes.blocks}
1)]})})]})})}var R=a(9949),O=a(7653),C=a(4791),L=a(9298),A=a.n(L);let I={default:"",mini:"mini",extended:"extended",full:"full"};function PostPreview(e){var t,a,n,o,i,s,l;let{data:c,appearance:p="default",imgPriority:h=!1}=e,{locale:m}=(0,d.useRouter)(),b=I[p],v=(null==c?void 0:c.attributes)||{},_=(null===(s=getAuthorProfile(v))||void 0===s?void 0:s.name)||(null==v?void 0:v.Author)||"",w=(null===(l=getAuthorProfile(v))||void 0===l?void 0:l.slug)||null,j=function(e){let{slug:t,locale:a}=e;return t?"/blog/".concat(u[a]||u.en,"/").concat(t):null}({slug:w,locale:m});return(0,r.jsxs)("div",{className:"".concat(A()["post-preview"]," ").concat(A()[b]),children:[(0,r.jsxs)(f(),{href:"/blog/posts/".concat(null==v?void 0:v.slug),className:"img-wrapper img-wrapper-mw ".concat(A()["img-wrapper"]),children:[(0,r.jsx)(g(),{src:(0,x.Z)(null==v?void 0:null===(t=v.MainImage.data)||void 0===t?void 0:t.attributes.url),alt:"",width:null==v?void 0:null===(a=v.MainImage.data)||void 0===a?void 0:a.attributes.width,height:null==v?void 0:null===(n=v.MainImage.data)||void 0===n?void 0:n.attributes.height,priority:h}),"mini"!==p&&(0,r.jsxs)("div",{className:A()["reading-time"],children:[(0,r.jsx)(R.Z,{}),(0,r.jsxs)("span",{children:[null==v?void 0:v.ReadingTime," min"]})]})]}),(null==v?void 0:null===(o=v.categories.data)||void 0===o?void 0:o.length)&&(0,r.jsx)("ul",{className:A().categories,children:null==v?void 0:null===(i=v.categories.data)||void 0===i?void 0:i.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(f(),{href:{pathname:"/blog/posts",query:{category:e.attributes.slug}},children:e.attributes.Category})},e.id))}),(0,r.jsx)("div",{className:A()["title-wrapper"],children:"full"===p?(0,r.jsx)("h1",{className:A().title,children:v.Title}):(0,r.jsx)(f(),{href:"/blog/posts/".concat(null==v?void 0:v.slug),className:A().title,children:null==v?void 0:v.Title})}),("extended"===p||"full"===p)&&(0,r.jsx)("div",{className:A()["short-desc-wrapper"],children:(0,r.jsx)("p",{className:A()["short-desc"],children:null==v?void 0:v.ShortDescription})}),"mini"!==p&&(0,r.jsxs)("div",{className:A()["author-info"],children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(O.Z,{}),j&&_?(0,r.jsx)(f(),{href:j,className:A()["author-link"],children:_}):(0,r.jsx)("span",{children:_})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(C.Z,{}),(0,r.jsx)("span",{children:null==v?void 0:v.DatePublish})]})]})]})}var Z=a(3901),B=a.n(Z);function PostsSection(e){var t,a,n;let{posts:o}=e;return(0,r.jsx)("section",{className:"".concat(B()["posts-section"]),children:(0,r.jsx)("div",{className:"container ".concat(B().container),children:(0,r.jsxs)("div",{className:B()["post-wrapper"],children:[(0,r.jsx)("ul",{className:B().posts,children:null===(t=o.data)||void 0===t?void 0:t.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(PostPreview,{data:e})},e.id))}),(0,r.jsx)("div",{className:B()["pagination-wrapper"],children:(0,r.jsx)(Pagination,{currentPage:null===(a=o.meta)||void 0===a?void 0:a.pagination.page,totalPages:null===(n=o.meta)||void 0===n?void 0:n.pagination.pageCount})})]})})})}function iconSearch_extends(){return(iconSearch_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}var iconSearch=function(e){return c.createElement("svg",iconSearch_extends({xmlns:"http://www.w3.org/2000/svg",width:20.414,height:20.414},e),i||(i=c.createElement("g",{"data-name":"Icon feather-search",fill:"none",stroke:"#a9bac8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2},c.createElement("path",{"data-name":"Path 60033",d:"M17 9a8 8 0 1 1-8-8 8 8 0 0 1 8 8Z"}),c.createElement("path",{"data-name":"Path 60034",d:"m19 19-4.35-4.35"}))))},M=a(4917),U=a.n(M);function Search(){let{posts:e,onChangeHandler:t}=function(){let e=(0,d.useRouter)(),[t,a]=(0,c.useState)([]),[n,o]=(0,c.useState)([]);(0,c.useEffect)(()=>{let setData=async()=>{let{data:t}=await p.Z.get("blogs",{"pagination[pageSize]":1e3,locale:e.locale}),n=[...(null==t?void 0:t.data)||[]].sort(date_publish_comparePostsByDatePublishDesc);a(n)};setData()},[e.locale]);let i=(0,c.useMemo)(()=>m()(async e=>{var a;let n=null===(a=e.target.value)||void 0===a?void 0:a.toLowerCase();if(!n)return o([]);let i=t.filter(e=>{let t=e.attributes.Title.toLowerCase(),a=e.attributes.ShortDescription.toLowerCase();return t.includes(n)||a.includes(n)});o(i)},300),[t]);return{posts:n,onChangeHandler:i}}();return(0,r.jsxs)("div",{className:U().search,children:[(0,r.jsx)("form",{children:(0,r.jsxs)("div",{className:U()["form-field"],children:[(0,r.jsx)(iconSearch,{}),(0,r.jsx)("input",{type:"text",placeholder:"Search",onChange:t})]})}),e.length>0&&(0,r.jsx)("div",{className:U().dropdown,children:(0,r.jsx)("ul",{className:U().results,children:e.map(e=>(0,r.jsx)("li",{children:(0,r.jsxs)("div",{className:U().result,children:[(0,r.jsxs)(f(),{href:"/blog/posts/".concat(e.attributes.slug)||0,className:"link",children:[(0,r.jsx)(k.Z,{}),(0,r.jsx)("span",{children:e.attributes.Title})]}),(0,r.jsx)("p",{children:e.attributes.ShortDescription})]})},e.id))})})]})}var q=a(1128),W=a.n(q);function TitleSection(e){let{title:t,description:a=null,intro:n=null}=e;return(0,r.jsx)("section",{className:W()["title-section"],children:(0,r.jsxs)("div",{className:"container ".concat(W().container),children:[(0,r.jsx)("h1",{children:t}),n&&(0,r.jsx)("p",{className:W().intro,children:n}),a&&(0,r.jsx)("h2",{children:a})]})})}var Y=a(7879),F=a.n(Y);function Widget(e){var t,a,n;let{data:o}=e;return(0,r.jsxs)("div",{className:F().widget,children:[(0,r.jsx)("div",{className:"img-wrapper img-wrapper-mw ".concat(F()["img-wrapper"]),children:(0,r.jsx)(g(),{src:(0,x.Z)(null===(t=o.Image.data)||void 0===t?void 0:t.attributes.url),alt:"",width:null===(a=o.Image.data)||void 0===a?void 0:a.attributes.width,height:null===(n=o.Image.data)||void 0===n?void 0:n.attributes.height})}),(0,r.jsx)("h4",{children:o.Title}),(0,r.jsx)("p",{children:o.Description}),(0,r.jsxs)(f(),{href:"/home"===o.URLButton?"/":o.URLButton,className:"link",children:[(0,r.jsx)(k.Z,{}),o.TextButton]})]})}},166:function(e,t,a){"use strict";a.d(t,{Z:function(){return l}});let n={RETRY_ATTEMPTS:3,RETRY_DELAY:1e3,REQUEST_TIMEOUT:15e3,KEEP_ALIVE:!0,DEFAULT_HEADERS:{"Content-Type":"application/json",Accept:"application/json","User-Agent":"CallPage-Frontend/1.0"},LOG_ERRORS:!1}
1,o=(()=>{let e="https://strapi.callpage.io";if(!e)throw Error("NEXT_PUBLIC_BACKEND environment variable is not set");return{baseUrl:e,timeout:n.REQUEST_TIMEOUT,retryAttempts:n.RETRY_ATTEMPTS,retryDelay:n.RETRY_DELAY}})(),i=o.retryAttempts,r=o.retryDelay,s=o.timeout,sleep=e=>new Promise(t=>setTimeout(t,e));async function retryWithBackoff(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;for(let i=0;i<t;i++)try{return await e()}catch(c){var a,o;let e=i===t-1,s="UND_ERR_CONNECT_TIMEOUT"===c.code||(null===(a=c.message)||void 0===a?void 0:a.includes("timeout"))||(null===(o=c.message)||void 0===o?void 0:o.includes("fetch failed"));if(e||!s)throw c;let l=r*Math.pow(2,i);n.LOG_ERRORS&&console.warn("Request failed (attempt ".concat(i+1,"/").concat(t,"), retrying in ").concat(l,"ms:"),c.message),await sleep(l)}}var l={get:async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=new URLSearchParams(t).toString(),o="".concat("https://strapi.callpage.io","/api/").concat(e),i=a?"".concat(o,"?").concat(a):o;return await retryWithBackoff(async()=>{let e=new AbortController,t=setTimeout(()=>e.abort(),s);try{let a=await fetch(i,{headers:n.DEFAULT_HEADERS,signal:e.signal,keepalive:n.KEEP_ALIVE});if(clearTimeout(t),!a.ok)throw Error("HTTP ".concat(a.status,": ").concat(a.statusText));let o=await a.json();return{data:o}}catch(e){if(clearTimeout(t),"AbortError"===e.name){let e=Error("Request timeout");throw e.code="UND_ERR_CONNECT_TIMEOUT",e}throw e}})}}},5976:function(e){e.exports={"author-hero":"author-page_author-hero__IzZgu",container:"author-page_container___Cn2R","author-content":"author-page_author-content__dLDLN","photo-wrapper":"author-page_photo-wrapper__tDB2k","author-posts":"author-page_author-posts__EADqa",eyebrow:"author-page_eyebrow__6bhg0",posts:"author-page_posts__vA3TA","pagination-wrapper":"author-page_pagination-wrapper__0xS74","empty-state":"author-page_empty-state__Pzmul"}},6355:function(e){e.exports={"blog-main-section":"blog-main-section_blog-main-section__ZA3y2",container:"blog-main-section_container__pasZd","featured-post-wrapper":"blog-main-section_featured-post-wrapper__3WK3S","most-popular-posts-wrapper":"blog-main-section_most-popular-posts-wrapper__P9uEi","search-wrapper":"blog-main-section_search-wrapper__PSpTf",posts:"blog-main-section_posts__aEpbm"}},1329:function(e){e.exports={"download-section":"download-section_download-section__wYlKt",container:"download-section_container__qhqVO","text-wrapper":"download-section_text-wrapper__VIdXh",files:"download-section_files__aFA3Z",title:"download-section_title__X_cIE"}},7397:function(e){e.exports={pagination:"pagination_pagination__CfisI",active:"pagination_active__jUI8y"}},6145:function(e){e.exports={"post-main-section":"post-main-section_post-main-section__CY6l_",container:"post-main-section_container__NXw9R",widgets:"post-main-section_widgets__61n93"}},9298:function(e){e.exports={"post-preview":"post-preview_post-preview__hRdJf","img-wrapper":"post-preview_img-wrapper__IDggf","reading-time":"post-preview_reading-time__VWj_y",categories:"post-preview_categories___uA8d","title-wrapper":"post-preview_title-wrapper__hKBbX",title:"post-preview_title__pTthC","short-desc-wrapper":"post-preview_short-desc-wrapper__Cz2KE","short-desc":"post-preview_short-desc__Vsue6","author-info":"post-preview_author-info__NfB1U","author-link":"post-preview_author-link__adbZ3",mini:"post-preview_mini__4RuYI",extended:"post-preview_extended__BYDiO",full:"post-preview_full__d24VE"}},3901:function(e){e.exports={"posts-section":"posts-section_posts-section__rJDdx",container:"posts-section_container__Bkaz2","post-wrapper":"posts-section_post-wrapper__gC_K3",posts:"posts-section_posts__dfdYD","pagination-wrapper":"posts-section_pagination-wrapper__848WE"}},4917:function(e){e.exports={search:"search_search__fr4G9","form-field":"search_form-field__dx2EP",dropdown:"search_dropdown__rj7gW",results:"search_results__GB_q2"}},1128:function(e){e.exports={"title-section":"title-section_title-section__4_tea",container:"title-section_container__HvINp",intro:"title-section_intro__4K4RR"}},7879:function(e){e.exports={widget:"widget_widget__uCFYz","img-wrapper":"widget_img-wrapper__fqqUq"}}}]);
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.