1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[549],{9734:(a,e,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/category/[slug]",function(){return s(9103)}])},2819:(a,e,s)=>{"use strict";s.d(e,{A:()=>r});var l=s(4848);s(6540);var c=s(1106),i=s.n(c);function t(a){let{post:e,featured:s=!1}=a,c=new Date(e.date).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),t=e.excerpt.replace(/<[^>]*>/g,"").substring(0,s?200:150).trim();return(0,l.jsx)("article",{className:"blog-card ".concat(s?"blog-card--featured":""),children:(0,l.jsxs)(i(),{href:"/blog/".concat(e.slug),className:"blog-card__link",children:[e.featuredImage&&(0,l.jsxs)("div",{className:"blog-card__image-wrapper",children:[(0,l.jsx)("img",{src:e.featuredImage.url,alt:e.featuredImage.alt,className:"blog-card__image",loading:"lazy"}),e.categories.length>0&&(0,l.jsx)("span",{className:"blog-card__category-badge",children:e.categories[0].name})]}),(0,l.jsxs)("div",{className:"blog-card__content",children:[(0,l.jsxs)("div",{className:"blog-card__meta",children:[(0,l.jsx)("time",{className:"blog-card__date",dateTime:e.date,children:c}),(0,l.jsxs)("span",{className:"blog-card__reading-time",children:[e.readingTime," min read"]})]}),(0,l.jsx)("h3",{className:"blog-card__title",children:e.title}),(0,l.jsxs)("p",{className:"blog-card__excerpt",children:[t,"..."]}),(0,l.jsxs)("div",{className:"blog-card__footer",children:[(0,l.jsx)("div",{className:"blog-card__author",children:e.author.avatar&&(0,l.jsx)("img",{src:e.author.avatar,alt:e.author.name,className:"blog-card__author-avatar"})}),(0,l.jsx)("span",{className:"blog-card__read-more",children:"Read more â"})]})]})]})})}function r(a){let{posts:e,featured:s=!1}=a;return 0===e.length?(0,l.jsx)("div",{className:"blog-list blog-list--empty",children:(0,l.jsx)("p",{children:"No posts found."})}):(0,l.jsx)("div",{className:"blog-list ".concat(s?"blog-list--featured":""),children:e.map(a=>(0,l.jsx)(t,{post:a,featured:s},a.id))})}},5122:(a,e,s)=>{"use strict";s.d(e,{A:()=>t});var l=s(4848);s(6540);var c=s(1106),i=s.n(c);function t(a){let{currentPage:e,totalPages:s,basePath:c}=a;if(s<=1)return null;let t=[],r=Math.max(1,e-Math.floor(2.5)),n=Math.min(s,r+5-1);n-r<4&&(r=Math.max(1,n-5+1));for(let a=r;a<=n;a++)t.push(a);return(0,l.jsx)("nav",{className:"blog-pagination","aria-label":"Blog pagination",children:(0,l.jsxs)("ul",{className:"blog-pagination__list",children:[e>1&&(0,l.jsx)("li",{className:"blog-pagination__item",children:(0,l.jsx)(i(),{href:2===e?c:"".concat(c,"?page=").concat(e-1),className:"blog-pagination__link blog-pagination__link--prev",children:"â Previous"})}),r>1&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("li",{className:"blog-pagination__item",children:(0,l.jsx)(i(),{href:c,className:"blog-pagination__link",children:"1"})}),r>2&&(0,l.jsx)("li",{className:"blog-pagination__item blog-pagination__ellipsis",children:"..."})]}),t.map(a=>(0,l.jsx)("li",{className:"blog-pagination__item",children:(0,l.jsx)(i(),{href:1===a?c:"".concat(c,"?page=").concat(a),className:"blog-pagination__link ".concat(a===e?"blog-pagination__link--active":""),children:a})},a)),n<s&&(0,l.jsxs)(l.Fragment,{children:[n<s-1&&(0,l.jsx)("li",{className:"blog-pagination__item blog-pagination__ellipsis",children:"..."}),(0,l.jsx)("li",{className:"blog-pagination__item",children:(0,l.jsx)(i(),{href:"".concat(c,"?page=").concat(s),className:"blog-pagination__link",children:s})})]}),e<s&&(0,l.jsx)("li",{className:"blog-pagination__item",children:(0,l.jsx)(i(),{href:"".concat(c,"?page=").concat(e+1),className:"blog-pagination__link blog-pagination__link--next",children:"Next â"})})]})})}},7914:(a,e,s)=>{"use strict";s.d(e,{A:()=>t});var l=s(4848);s(6540);var c=s(1106),i=s.n(c);function t(a){let{categories:e=[],activeCategory:s}=a,c=(null==e?void 0:e.reduce((a,e)=>a+e.count,0))||0;return(0,l.jsxs)("div",{className:"category-filter",children:[(0,l.jsx)("h3",{className:"category-filter__title",children:"Browse by Category"}),(0,l.jsxs)("div",{className:"category-filter__list",children:[(0,l.jsxs)(i(),{href:"/blog",className:"category-filter__item ".concat(s?"":"category-filter__item--active"),children:["All Posts",(0,l.jsx)("span",{className:"category-filter__count",children:c})]}),null==e?void 0:e.map(a=>(0,l.jsxs)(i(),{href:"/blog/category/".concat(a.slug),className:"category-filter__item ".concat(s===a.slug?"category-filter__item--active":""),children:[a.name,(0,l.jsx)("span",{className:"category-filter__count",children:a.count})]},a.id))]})]})}},9103:(a,e,s)=>{"use strict";s.r(e),s.d(e,{__N_SSP:()=>g,default:()=>d});var l=s(4848),c=s(3368),i=s.n(c),t=s(9247),r=s(2819),n=s(7914),o=s(5122),g=!0;let d=a=>{let{posts:e,categories:s,currentCategory:c,currentPage:g,totalPages:d,totalPosts:_}=a,m="".concat(c.name," Articles - Worqstrap Blog"),h=c.description||"Browse ".concat(_," articles about ").concat(c.name.toLowerCase(),". Expert insights on remote work, freelancing, and digital nomad lifestyle."),b=g>1?"https://worqstrap.com/blog/category/".concat(c.slug,"?page=").concat(g):"https://worqstrap.com/blog/category/".concat(c.slug);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i(),{children:(0,l.jsx)(t.A,{title:m,description:h,canonicalUrl:b})}),(0,l.jsx)("div",{className:"blog-category",children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsxs)("section",{className:"blog-category__header",children:[(0,l.jsxs)("nav",{className:"blog-category__breadcrumb",children:[(0,l.jsx)("a",{href:"/blog",children:"Blog"}),(0,l.jsx)("span",{className:"blog-category__breadcrumb-separator",children:"/"}),(0,l.jsx)("span",{children:c.name})]}),(0,l.jsx)("h1",{className:"blog-category__title",children:c.name}),c.description&&(0,l.jsx)("p",{className:"blog-category__description",children:c.description})]}),(0,l.jsxs)("div",{className:"blog-layout",children:[(0,l.jsx)("aside",{className:"blog-sidebar",children:(0,l.jsx)(n.A,{c
1ategories:s,activeCategory:c.slug})}),(0,l.jsxs)("main",{className:"blog-main",children:[(0,l.jsxs)("div",{className:"blog-header",children:[(0,l.jsx)("h2",{className:"blog-header__title",children:"Articles"}),(0,l.jsxs)("p",{className:"blog-header__count",children:[_," ",1===_?"article":"articles"]})]}),e.length>0?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.A,{posts:e}),(0,l.jsx)(o.A,{currentPage:g,totalPages:d,basePath:"/blog/category/".concat(c.slug)})]}):(0,l.jsx)("div",{className:"blog-category__empty",children:(0,l.jsx)("p",{children:"No articles found in this category."})})]})]})]})})]})}}},a=>{var e=e=>a(a.s=e);a.O(0,[106,636,593,792],()=>e(9734)),_N_E=a.O()}]);
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.