1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24],{2607:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/category/[slug]",function(){return n(8616)}])},6276:function(e,t,n){"use strict";var i=n(5893),r=n(7294),o=n(5675),a=n.n(o),s=n(1664),c=n.n(s),l=n(7437),d=n(1139);t.Z=()=>{let[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(!1),s=(0,r.useRef)(),u=["Life","News & Current Affairs","DW Originals","DW-X","Videos","Issues Arising","Books","Podcasts"],h=()=>{t(!e)},m=e=>{s.current&&!s.current.contains(e.target)&&o(!1)};return(0,r.useEffect)(()=>(n?window.addEventListener("click",m):window.removeEventListener("click",m),()=>{window.removeEventListener("click",m)}),[n]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"hidden lg:block",children:[(0,i.jsxs)("div",{className:"flex justify-between my-10",children:[(0,i.jsx)(c(),{href:"/",className:"",children:(0,i.jsx)(a(),{src:"/images/DW-Wordmark-Black.png",alt:"",width:350,height:72})}),(0,i.jsxs)("div",{className:"",children:[(0,i.jsx)(c(),{href:"/",className:"text-xl uppercase px-6",children:"Home"}),(0,i.jsx)(c(),{href:"https://paystack.shop/documentwomen",target:"_blank",className:"bg-blue text-xl text-white px-6 py-2 rounded",children:"SHOP"})]})]}),(0,i.jsx)("div",{className:"border-gray-300 border-t border-b mb-12 py-4 __align-middle",children:(0,i.jsx)("ul",{className:"flex justify-between text-sm",children:u.map(e=>(0,i.jsx)("li",{className:"mx",children:(0,i.jsx)("a",{href:"/category/".concat((0,l.Of)(e.toLocaleLowerCase())),className:"text-xl capitalize __hover:font-semibold",children:e})},(0,l.Vj)()))})}),(0,i.jsx)("div",{className:"w-1/5 hidden align-middle",children:"search bar "})]}),(0,i.jsx)("div",{className:"lg:hidden my-3",children:(0,i.jsxs)("div",{className:"flex items-center justify-between",children:[(0,i.jsx)("a",{href:"/",className:"text-2xl font-bold",children:(0,i.jsx)(a(),{src:"/images/DW-Wordmark-Black.png",alt:"",width:180,height:50})}),(0,i.jsx)("button",{onClick:h,className:"flex items-center px-3 py-2 rounded hover:bg-gray-200",children:(0,i.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})})]})}),e&&(0,i.jsx)("div",{className:"fixed inset-0 z-50 bg-black bg-opacity-50",children:(0,i.jsxs)("div",{className:"h-full absolute inset-x-0 px-5 pt-2__ bg-white",children:[(0,i.jsxs)("div",{className:"flex items-center justify-between my-3",children:[(0,i.jsx)("a",{href:"/",className:"text-2xl font-bold",children:(0,i.jsx)(a(),{src:"/images/DW-Wordmark-Black.png",alt:"",width:180,height:50})}),(0,i.jsx)("button",{onClick:h,className:"px-3 py-2 rounded hover:bg-gray-200",children:(0,i.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),(0,i.jsx)(d.Z,{}),(0,i.jsx)("ul",{className:"text-2xl",children:[...u,""].map(e=>(0,i.jsx)("li",{className:"py-3",children:(0,i.jsx)("a",{href:"/category/".concat((0,l.Of)(e.toLocaleLowerCase())),className:"text-purple-800 hover:underline",children:e})},(0,l.Vj)()))})]})})]})}},1083:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=n(5893),r=n(1664),o=n.n(r);function a(e){var t,n;let{author:r}=e,a=(null==r?void 0:null===(t=r.node)||void 0===t?void 0:t.firstName)&&(null==r?void 0:null===(n=r.node)||void 0===n?void 0:n.lastName)?"".concat(r.node.firstName," ").concat(r.node.lastName):r.node.name||null;return(0,i.jsx)(o(),{href:"/author/".concat(r.node.slug),children:(0,i.jsx)("span",{className:"font-semi-bold",children:a})})}var s=n(6909),c=n(5675),l=n.n(c);function d(e){let{title:t,coverImage:n,date:r,excerpt:c,author:d,slug:u,category:h,size:m,type:f}=e;return(0,i.jsxs)("div",{className:"multiple"===f||"horizontal"===f?"md:w-1/3 lg:w-auto mb-8":"",children:[" ",(0,i.jsxs)("div",{className:"".concat("horizontal"===f&&"lg:flex gap-6"),children:[(0,i.jsx)("div",{className:"".concat("horizontal"===f&&"lg:w-1/3 lg:h-[260px]"," ").concat("multiple"===f?"lg:h-[260px]":""," overflow-hidden"),children:(0,i.jsx)(l(),{src:null==n?void 0:n.node.sourceUrl,alt:"Post featured image",width:800,height:100})}),(0,i.jsxs)("div",{className:"".concat("horizontal"===f&&"lg:w-2/3"," overflow-hidden"),children:[(0,i.jsx)(o(),{href:"/category/".concat(null==h?void 0:h.slug),children:(0,i.jsx)("h4",{style:{color:(0,s.Lq)(null==h?void 0:h.name)},className:"uppercase tracking-wider text-sm text-slate-800 mb-2",children:null==h?void 0:h.name})}),(0,i.jsx)("h3",{className:"hover:underline line-clamp-3 text-xl font-mono font-bold ".concat("multiple"===f||"horizontal"===f?"leading-tight lg:text-3xl lg:font-normal lg:font-stix":" leading-none my-4 lg:my-6 lg:text-6xl"),children:(0,i.jsx)(o(),{href:"/".concat(u),dangerouslySetInnerHTML:{__html:t}})}),!m&&(0,i.jsxs)("div",{children:["By ",(0,i.jsx)(a,{author:d})," "]})]})]})]})}},1139:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(5893);function r(e){let{tall:t=!1}=e;return(0,i.jsx)("hr",{className:"border-accent-2 ".concat(t?"my-12 lg:my-20":"my-8 lg:my-10")})}},6909:function(e,t,n){"use strict";n.d(t,{Lq:function(){return r}});
1let i={"dear tech sis":{color:"rgb(20 184 166)",description:"This is a must-not-miss section dedicated to women in tech. It covers everything from the latest news to inspiring stories, challenges faced by women in tech and practical advice on navigating the industry. The contents are relatable and designed for women who want to thrive in the technology world. It is a go-to spot for any tech sister who wants to stay up-to-date and successfully navigate the tech space. "},"cover story":{color:"rgb(132 204 22)",description:"This is a must-not-miss section dedicated to women in tech. It covers everything from the latest news to inspiring stories, challenges faced by women in tech and practical advice on navigating the industry. The contents are relatable and designed for women who want to thrive in the technology world. It is a go-to spot for any tech sister who wants to stay up-to-date and successfully navigate the tech space. "},events:{color:"rgb(99 102 241)",description:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Quod voluptatibus vel itaque ab deleniti harum iste deserunt pariatur modi. Veritatis eaque officia ea illum necessitatibus eveniet labore doloremque, quaerat ut aperiam rerum deleniti recusandae tempore quia eius facere. Quibusdam a repude."},startups:{color:"rgb(249 115 22)",description:"Our Startup section features companies founded by inspiring women in the tech Industry. This section provides comprehensive information on each company, including their mission, vision and notable achievements. Read our latest start-up feature here."},featured:{color:"rgb(6 182 212)",description:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Quod voluptatibus vel itaque ab deleniti harum iste deserunt pariatur modi. Veritatis eaque officia ea illum necessitatibus eveniet labore doloremque, quaerat ut aperiam rerum deleniti recusandae tempore quia eius facere. Quibusdam a repude."},fintech:{color:"rgb(244 63 94)",description:"Explore the world of women-led companies in our Founders section. This section showcases talented women in the tech industry who have founded or co-founded a company and are making significant contributions to the tech world. Here, you will read about inspiring stories of female entrepreneurs who are making waves in the tech industry and leading the way for the next generation of women in tech."},essays:{color:"rgb(16 185 129)",description:"This section is a valuable resource for women seeking information and insights about technology. You can also read and benefit from the advice and guidance of experienced women who are leaders in various fields of technology."},news:{color:"rgb(139 92 246)",description:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Quod voluptatibus vel itaque ab deleniti harum iste deserunt pariatur modi. Veritatis eaque officia ea illum necessitatibus eveniet labore doloremque, quaerat ut aperiam rerum deleniti recusandae tempore quia eius facere. Quibusdam a repude."},opportunities:{color:"rgb(245 158 11)",description:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Quod voluptatibus vel itaque ab deleniti harum iste deserunt pariatur modi. Veritatis eaque officia ea illum necessitatibus eveniet labore doloremque, quaerat ut aperiam rerum deleniti recusandae tempore quia eius facere. Quibusdam a repude."},life:{color:"rgb(132, 174, 184)"},"news & current affairs":{color:"rgb(255, 129, 128)"},uncategorized:{color:"rgb(239 68 68)"}};function r(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(null===(e=i[t.toLowerCase()||"uncategorized"])||void 0===e?void 0:e.color)||i.uncategorized.color}},7437:function(e,t,n){"use strict";n.d(t,{Cz:function(){return a},Of:function(){return o},Td:function(){return r},Vj:function(){return c},Zh:function(){return l},kC:function(){return s}});var i=n(7632);let r=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length;return e.filter(e=>e.node.categories.edges.some(e=>{let{node:n}=e;return n.slug===t})).slice(0,n)},o=e=>e.split(" ").filter(e=>"&"!==e).join("-"),a=async(e,t,n)=>{try{let i=await (await fetch("/api/mailer",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({subject:e,message:t})})).json();console.log({data:i}),n(!0),setTimeout(()=>{n(!1)},3e3)}catch(e){console.error(e)}},s=e=>e&&e[0].toUpperCase()+e.slice(1),c=i.Z,l=e=>new Date(e).toLocaleDateString("en-us",{year:"numeric",month:"short",day:"numeric"})},8616:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return p},default:function(){return x}});var i=n(5893),r=n(9008),o=n.n(r),a=n(3590),s=n(2814),c=n(4658),l=n(6276),d=n(5959),u=n(5675),h=n.n(u),m=n(7437),f=n(7294),g=n(1083),p=!0;function x(e){let{posts:t,category:n,endCursor:r,hasNextPage:u}=e,[p,x]=(0,f.useState)(t),[v,w]=(0,f.useState)(r),[b,y]=(0,f.useState)(u),j=async e=>{e.preventDefault();let t=await fetch("/api/category/".concat(n),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({endCursor:v})}),{edges:i,pageInfo:r}=await t.json();w(r.endCursor),y(r.hasNextPage),x(e=>[...e,...i])};return(0,i.jsxs)(s.Z,{preview:!1,children:[(0,i.jsx)(o(),{children:(0,i.jsx)("title",{children:"".concat((0,m.kC)(n)," - ").concat(c.yf," ")})}),(0,i.jsxs)(a.Z,{children:[(0,i.jsx)(l.Z,{}),(0,i.jsx)(h(),{src:"/images/categories/".concat((0,m.Of)(n),".png"),alt:"",width:0,height:0,sizes:"100vw",style:{width:"100%",height:"auto"},className:"mb-20"}),(null==p?void 0:p.length)>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"",children:p.map((e,t)=>{var n;let{node:r}=e;return(0,i.jsx)(g.Z,{title:r.title,coverImage:r.featuredImage,date:r.date,author:r.author,slug:r.slug,category:null===(n=r.categories.edges[0])||void 0===n?void 0:n.node,type:"horizontal",size:""},(0,m.Vj)())})}),b&&(0,i.jsx)("div",{className:"my-8 text-center",children:(0,i.jsx)("button",{className:"rounded border border-black text-black hover:bg-black hover:text-white text-lg px-6 py-3",onClick:j,children:"Load More"})})]})]}),(0,i.jsx)(d.Z,{})]})}},7632:function(e,t,n){"use strict";let i;n.d(t,{Z:function(){return s}});var r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let o=new Uint8Array(16),a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));var s=function(e,t,n){if(r.randomUUID&&!t&&!e)return r.randomUUID();let s=(e=e||{}).random||(e.rng||function(){if(!i&&!(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(o)})();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=s[e];return t}
1return function(e,t=0){return a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]}(s)}}},function(e){e.O(0,[247,283,888,774,179],function(){return e(e.s=2607)}),_N_E=e.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.