(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{628:()=>{},1478:(e,t,r)=>{"use strict";r.d(t,{ThemeProviders:()=>i});var s=r(5155),a=r(9288),l=r(9327),n=r.n(l);function i(e){let{children:t}=e;return(0,s.jsx)(a.N,{attribute:"class",defaultTheme:n().theme,enableSystem:!0,children:t})}},1564:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var s,a,l,n,i=r(2115);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.d(t,{default:()=>u});var s=r(5155),a=r(2115),l=r(9288),n=r(3937),i=r(7522),o=r(9218);let c=()=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"group:hover:text-gray-100 h-6 w-6",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z",clipRule:"evenodd"})}),d=()=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"group:hover:text-gray-100 h-6 w-6",children:(0,s.jsx)("path",{d:"M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"})}),h=()=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"group:hover:text-gray-100 h-6 w-6",children:[(0,s.jsx)("rect",{x:"3",y:"3",width:"14",height:"10",rx:"2",ry:"2"}),(0,s.jsx)("line",{x1:"7",y1:"17",x2:"13",y2:"17"}),(0,s.jsx)("line",{x1:"10",y1:"13",x2:"10",y2:"17"})]}),m=()=>(0,s.jsx)("svg",{className:"h-6 w-6"}),u=()=>{let[e,t]=(0,a.useState)(!1),{theme:r,setTheme:u,resolvedTheme:x}=(0,l.D)();return(0,a.useEffect)(()=>t(!0),[]),(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsxs)(n.W1,{as:"div",className:"relative inline-block text-left",children:[(0,s.jsx)("div",{className:"hover:text-primary-500 dark:hover:text-primary-400 flex items-center justify-center",children:(0,s.jsx)(n.IU,{"aria-label":"Theme switcher",children:e?"dark"===x?(0,s.jsx)(d,{}):(0,s.jsx)(c,{}):(0,s.jsx)(m,{})})}),(0,s.jsx)(i.e,{as:a.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,s.jsx)(n.c,{className:"ring-opacity-5 absolute right-0 z-50 mt-2 w-32 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black focus:outline-hidden dark:bg-gray-800",children:(0,s.jsx)(o.z6,{value:r,onChange:u,children:(0,s.jsxs)("div",{className:"p-1",children:[(0,s.jsx)(o.sx,{value:"light",children:(0,s.jsx)(n.Dr,{children:e=>{let{focus:t}=e;return(0,s.jsxs)("button",{className:"".concat(t?"bg-primary-600 text-white":""," group flex w-full items-center rounded-md px-2 py-2 text-sm"),children:[(0,s.jsx)("div",{className:"mr-2",children:(0,s.jsx)(c,{})}),"Light"]})}})}),(0,s.jsx)(o.sx,{value:"dark",children:(0,s.jsx)(n.Dr,{children:e=>{let{focus:t}=e;return(0,s.jsxs)("button",{className:"".concat(t?"bg-primary-600 text-white":""," group flex w-full items-center rounded-md px-2 py-2 text-sm"),children:[(0,s.jsx)("div",{className:"mr-2",children:(0,s.jsx)(d,{})}),"Dark"]})}})}),(0,s.jsx)(o.sx,{value:"system",children:(0,s.jsx)(n.Dr,{children:e=>{let{focus:t}=e;return(0,s.jsxs)("button",{className:"".concat(t?"bg-primary-600 text-white":""," group flex w-full items-center rounded-md px-2 py-2 text-sm"),children:[(0,s.jsx)("div",{className:"mr-2",children:(0,s.jsx)(h,{})}),"System"]})}})})]})})})})]})})}},2595:(e,t,r)=>{Promise.resolve().then(r.bind(r,1478)),Promise.resolve().then(r.bind(r,7298)),Promise.resolve().then(r.bind(r,1762)),Promise.resolve().then(r.t.bind(r,628,23)),Promise.resolve().then(r.bind(r,1564)),Promise.resolve().then(r.t.bind(r,6874,23)),Promise.resolve().then(r.t.bind(r,9243,23)),Promise.resolve().then(r.t.bind(r,2692,23)),Promise.resolve().then(r.bind(r,5633)),Promise.resolve().then(r.bind(r,8536)),Promise.resolve().then(r.bind(r,7392)),Promise.resolve().then(r.t.bind(r,8928,23)),Promise.resolve().then(r.bind(r,2012)),Promise.resolve().then(r.bind(r,4159)),Promise.resolve().then(r.t.bind(r,5103,23))},7298:(e,t,r)=>{"use strict";r.d(t,{default:()=>d});var s=r(5155),a=r(7522),l=r(2845),n=r(7281),i=r(2115),o=r(9147);let c=[{href:"/",title:"Home"},{href:"/blog",title:"Blog"},{href:"/tags",title:"Tags"},{href:"/projects",title:"Projects"},{href:"/about",title:"About"}],d=()=>{let[e,t]=(0,i.useState)(!1),r=(0,i.useRef)(null),d=()=>{t(e=>(e?(0,n.fY)(r.current):(0,n.mh)(r.current),!e))};return(0,i.useEffect)(()=>n.qY),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{"aria-label":"Toggle Menu",onClick:d,className:"sm:hidden",children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"hover:text-primary-500 dark:hover:text-primary-400 h-8 w-8 text-gray-900 dark:text-gray-100",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z",clipRule:"evenodd"})})}),(0,s.jsx)(a.e,{appear:!0,show:e,as:i.Fragment,unmount:!1,children:(0,s.jsxs)(l.lG,{as:"div",onClose:d,unmount:!1,children:[(0,s.jsx)(a._,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",unmount:!1,children:(0,s.jsx)("div",{className:"fixed inset-0 z-60 bg-black/25"})}),(0,s.jsx)(a._,{as:i.Fragment,enter:"transition ease-in-out duration-300 transform",enterFrom:"translate-x-full opacity-0",enterTo:"translate-x-0 opacity-95",leave:"transition ease-in duration-200 transform",leaveFrom:"translate-x-0 opacity-95",leaveTo:"translate-x-full opacity-0",unmount:!1,children:(0,s.jsxs)(l.Lj,{className:"fixed top-0 left-0 z-70 h-full w-full bg-white/95 duration-300 dark:bg-gray-950/98",children:[(0,s.jsx)("nav",{ref:r,className:"mt-8 flex h-full basis-0 flex-col items-start overflow-y-auto pt-2 pl-12 text-left",children:c.map(e=>(0,s.jsx)(o.A,{href:e.href,className:"hover:text-primary-500 dark:hover:text-primary-400 mb-4 py-2 pr-4 text-2xl font-bold tracking-widest text-gray-900 outline outline-0 dark:text-gray-100",onClick:d,children:e.title},e.title))}),(0,s.jsx)("button",{className:"hover:text-primary-500 dark:hover:text-primary-400 fixed top-7 right-4 z-80 h-16 w-16 p-4 text-gray-900 dark:text-gray-100","aria-label":"Toggle Menu",onClick:d,children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]})})]})})]})}},9147:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var s=r(5155),a=r(6874),l=r.n(a);let n=e=>{let{href:t,...r}=e,a=t&&t.startsWith("/"),n=t&&t.startsWith("#");return a?(0,s.jsx)(l(),{className:"break-words",href:t,...r}):n?(0,s.jsx)("a",{className:"break-words",href:t,...r}):(0,s.jsx)("a",{className:"break-words",target:"_blank",rel:"noopener noreferrer",href:t,...r})}},9327:(e,t,r)=>{"use strict";var s=r(9509);e.exports={title:"Next.js Starter Blog",author:"Tails Azimuth",headerTitle:"TailwindBlog",description:"A blog created with Next.js and Tailwind.css",language:"en-us",theme:"system",siteUrl:"https://tailwind-nextjs-starter-blog.vercel.app",siteRepo:"https://github.com/timlrx/tailwind-nextjs-starter-blog",siteLogo:"".concat(s.env.BASE_PATH||"","/static/images/logo.png"),socialBanner:"".concat(s.env.BASE_PATH||"","/static/images/twitter-card.png"),mastodon:"https://mastodon.social/@mastodonuser",email:"address@yoursite.com",github:"https://github.com",x:"https://twitter.com/x",facebook:"https://facebook.com",youtube:"https://youtube.com",linkedin:"https://www.linkedin.com",threads:"https://www.threads.net",instagram:"https://www.instagram.com",medium:"https://medium.com",bluesky:"https://bsky.app/",locale:"en-US",stickyNav:!1,analytics:{umamiAnalytics:{umamiWebsiteId:s.env.NEXT_UMAMI_ID}},newsletter:{provider:"buttondown"},comments:{provider:"giscus",giscusConfig:{repo:s.env.NEXT_PUBLIC_GISCUS_REPO,repositoryId:s.env.NEXT_PUBLIC_GISCUS_REPOSITORY_ID,category:s.env.NEXT_PUBLIC_GISCUS_CATEGORY,categoryId:s.env.NEXT_PUBLIC_GISCUS_CATEGORY_ID,mapping:"pathname",reactions:"1",metadata:"0",theme:"light",darkTheme:"transparent_dark",themeURL:"",lang:"en"}},search:{provider:"kbar",kbarConfig:{searchDocumentsPath:"".concat(s.env.BASE_PATH||"","/search.json")}}}}},e=>{var t=t=>e(e.s=t);e.O(0,[498,701,545,874,430,441,684,358],()=>t(2595)),_N_E=e.O()}]);