(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3777],{571:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return l},default:function(){return a}});var n=r(4155),i=r(1163);r(7294);var o=r(5893),l=!0;function a(){var e=(0,i.useRouter)(),t=e.isReady?e.query.category:null;return t&&(0,o.jsx)(n.default,{active:"/category/".concat(t)})}},4155:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return v},allCategories:function(){return y},default:function(){return m}});var n=r(7812),i=r(6835),o=r(8307),l=r(991),a=r(7294),c=r(6928),u=r.n(c),f=r(7313),s=r(1798),d=r(5893);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){(0,o.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var v=!0,y={All:{id:"blog-article-filter-item-all",title:"blog.menu.item.all",data:null,active:!1,link:"/"},News:{id:"blog-article-filter-item-news",title:"blog.menu.item.news",data:null,active:!1,link:"/category/news"},"Hotovo Life":{id:"blog-article-filter-item-hotovo-life",title:"blog.menu.item.hotovo.life",data:null,active:!1,link:"/category/hotovo-life"},Products:{id:"blog-article-filter-item-prod-development",title:"blog.menu.item.product.development",data:null,active:!1,link:"/category/products"},"Tech Corner":{id:"blog-article-filter-item-tech-topics",title:"blog.menu.item.tech.corner",data:null,active:!1,link:"/category/tech-corner"},"Dev Diary":{id:"blog-article-filter-item-dev-diary",title:"blog.menu.item.dev.diary",data:null,active:!1,link:"/category/dev-diary"}};function m(e){var t=e.active,r=e.skipMeta,o=e.categories,c=void 0===o?Object.values(y):o,g=e.onCategoryClick,v=e.itemsPerPage,m=e.useQueryParamPage,p=(0,a.useState)(c),h=p[0],w=p[1],O=(0,s.$G)().t;return(0,a.useEffect)(function(){t?w(function(e){return e.map(function(e){return e.link===t?b(b({},e),{},{active:!0}):b(b({},e),{},{active:!1})})}):w(function(e){var t=e.slice(0,1);return[b(b({},(0,i.Z)(t,1)[0]),{},{active:!0})].concat((0,n.Z)(e.slice(1)))})},[t]),(0,d.jsxs)("div",{children:[!(void 0!==r&&r)&&(0,d.jsx)(f.Z,{description:O("blog.meta.description"),title:O("blog.meta.title"),ogImage:"".concat("https://www.hotovo.com","/newsletter.png")}),(0,d.jsx)("div",{className:"blog bg-[#fff]",children:(0,d.jsx)(l.Z,{data_array:h.map(function(e){return b(b({},e),{},{title:"".concat(O(e.title))})}),itemsPerPage:void 0===v?6:v,className:"".concat(u().blog),onCategoryClick:g,useQueryParamPage:void 0===m||m,useResponsiveMenu:!0})})]})}},8752:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/category/[category]",function(){return r(571)}])},6928:function(e){e.exports={blog:"blog_blog__R1am6"}},6835:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(2937);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,l,a=[],c=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(e){u=!0,i=e}finally{try{if(!c&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(u)throw i}}return a}}(e,t)||(0,n.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}},function(e){e.O(0,[1614,7311,1865,6995,2888,9774,179],function(){return e(e.s=8752)}),_N_E=e.O()}]);