1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9607],{2865:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/outdated-community/monthly-challenge/submission/[post]",function(){return t(38466)}])},8956:function(n,e,t){"use strict";var i=t(82729),r=t(85893),o=t(19521);function _templateObject(){let n=(0,i._)(["\n "," {\n margin-top: 4rem;\n display: grid;\n grid-template-columns: 1fr;\n gap: 1rem;\n padding-bottom: 3rem;\n margin-left: 0rem;\n margin-right: 0rem;\n\n .discovery {\n display: none;\n position: relative;\n\n .sticky-bar {\n position: sticky;\n top: 4.3rem;\n height: 80vh;\n min-width: 226px;\n overflow: auto;\n transition-duration: 0.2s;\n\n /* width */\n ::-webkit-scrollbar {\n width: 3px;\n }\n\n /* Track */\n ::-webkit-scrollbar-track {\n transition-duration: 0.2s;\n background: transparent;\n /* background: #f1f1f1; */\n }\n\n /* Handle */\n ::-webkit-scrollbar-thumb {\n transition-duration: 0.2s;\n\n background: transparent;\n /* background: #888; */\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:hover {\n background: #555;\n }\n\n :hover {\n transition-duration: 0.2s;\n /* Track */\n ::-webkit-scrollbar-track {\n transition-duration: 0.2s;\n /* background: #f1f1f1; */\n }\n\n /* Handle */\n ::-webkit-scrollbar-thumb {\n transition-duration: 0.2s;\n background: #888;\n }\n }\n }\n\n .create-post-btn {\n position: fixed;\n width: 226px;\n top: 93%;\n font-size: 12px;\n }\n }\n\n .main-container {\n margin-top: -5px;\n }\n }\n\n "," {\n grid-template-columns: 1fr 20fr;\n margin-left: 1rem;\n margin-right: 1rem;\n\n .discovery {\n display: block;\n z-index: 8;\n\n .sticky-bar {\n min-width: 0px;\n }\n\n .create-post-btn {\n display: none;\n }\n }\n }\n\n "," {\n grid-template-columns: 1.3fr 5fr;\n\n margin-left: 0rem;\n margin-right: 0rem;\n\n .discovery {\n .sticky-bar {\n min-width: 226px;\n }\n\n .create-post-btn {\n display: block;\n }\n }\n }\n"]);return _templateObject=function(){return n},n}let a=o.default.div.withConfig({componentId:"sc-5883e8b8-0"})(_templateObject(),n=>{let{theme:e}=n;return e.breakpoints.xs},n=>{let{theme:e}=n;return e.breakpoints.sm},n=>{let{theme:e}=n;return e.breakpoints.md});e.Z=function(n){let{children:e}=n;return(0,r.jsx)(a,{children:e})}},85712:function(n,e,t){"use strict";var i=t(85893);e.Z=function(n){let{color:e="#64748B",...t}=n;return(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",...t,children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 2.5H4H20H22V18.5H20H17V20.5H15V18.5H9V20.5H7V18.5H4H2V2.5ZM7 20.5V22.5H5V20.5H7ZM17 20.5V22.5H19V20.5H17ZM20 4.5H4V16.5H20V4.5ZM12 8.5H14V10.5H12V8.5ZM10 12.5V10.5H12V12.5H10ZM10 12.5V14.5H8V12.5H10ZM16 12.5H14V10.5H16V12.5ZM16 12.5H18V14.5H16V12.5ZM8 6.5H6V8.5H8V6.5Z",fill:"#64748B"})})}},27936:function(n,e,t){"use strict";var i=t(82729),r=t(85893),o=t(19521);function _templateObject(){let n=(0,i._)(["\n position: absolute;\n width: 30vw;\n height: 0px;\n z-index: 10;\n overflow: hidden;\n\n h1,\n p {\n height: 10rem;\n }\n"]);return _templateObject=function(){return n},n}let a=o.default.main.withConfig({componentId:"sc-e8309d9d-0"})(_templateObject());e.Z=function(n){let{h1:e,description:t="",canonical:i=""}=n;return e?(0,r.jsxs)(a,{children:[(0,r.jsx)("h1",{children:e}),t?(0,r.jsx)("p",{className:"description",children:t}):null,i?(0,r.jsx)("link",{rel:"canonical",href:i}):null]}):null}},88215:function(n,e,t){"use strict";var i=t(82729),r=t(85893),o=t(19521),a=t(17942);function _templateObject(){let n=(0,i._)(["\n ",' {\n z-index: 1;\n margin: 0rem;\n\n .banner-image {\n height: 60px;\n background-image: url("/images/css/banner-v2.png");\n }\n\n .banner-info {\n position: relative;\n height: 80px;\n /* background: #1d2331; */\n background: ',";\n border-bottom-left-radius: 18px;\n border-bottom-right-radius: 18px;\n display: flex;\n align-items: center;\n\n .img-container {\n position: absolute;\n top: -30%;\n left: 0.8rem;\n border-radius: 50%;\n /* background-color: whitesmoke; */\n overflow: hidden;\n transform: scaleX(-1);\n\n img {\n width: 80px;\n height: 80px;\n border-radius: 50%;\n border: 3px solid rgba(15, 21, 36, 1);\n }\n }\n\n .banner-copy {\n color: ",';\n margin-left: 6.8rem;\n\n h2 {\n font-size: 14px;\n margin: 0px;\n font-weight: 400;\n }\n p {\n margin: 0px;\n font-size: 14px;\n font-family: "Work Sans", sans-serif;\n color: rgba(128, 128, 128, 1);\n }\n }\n }\n }\n\n '," {\n margin: auto 1rem;\n\n .banner-image {\n height: 100px;\n }\n\n .banner-info {\n .img-container {\n left: 35px;\n img {\n width: 90px;\n height: 90px;\n }\n }\n\n .banner-copy {\n margin-left: 9rem;\n\n h2 {\n font-size: 18px;\n }\n p {\n font-size: 15px;\n }\n }\n }\n }\n "," {\n margin: 0rem;\n }\n"]);
1return _templateObject=function(){return n},n}let s=o.default.div.withConfig({componentId:"sc-561224-0"})(_templateObject(),n=>{let{theme:e}=n;return e.breakpoints.xs},n=>"dark"===n.theme.mode?"#1d2331":"#F9F5FE",n=>"dark"===n.theme.mode?"whitesmoke":"black",n=>{let{theme:e}=n;return e.breakpoints.sm},n=>{let{theme:e}=n;return e.breakpoints.md});e.Z=function(n){let{title:e="Cod\xe9dex Community",subTitle:t="Let's make magic together âËâ¡"}=n;return(0,r.jsxs)(s,{className:"community-banner",children:[(0,r.jsx)("div",{className:"banner-image"}),(0,r.jsxs)("div",{className:"banner-info",children:[(0,r.jsx)("div",{className:"img-container",children:(0,r.jsx)("img",{src:"/images/community/bouncer.gif",alt:"banner profile image"})}),(0,r.jsxs)("div",{className:"banner-copy",children:[(0,r.jsx)("h2",{children:e}),(0,r.jsx)("p",{children:t})]}),(0,r.jsx)(a.Z,{})]})]})}},51539:function(n,e,t){"use strict";var i=t(82729),r=t(85893),o=t(19521),a=t(80471),s=t(53854),c=t(47516),l=t(67294),m=t(9473),d=t(11163),u=t(41664),h=t.n(u),p=t(609),g=t(29796);function _templateObject(){let n=(0,i._)(["\n "," {\n z-index: 2;\n background-color: ",";\n height: 60px;\n width: 100%;\n position: fixed;\n bottom: 0%;\n border-top: 2px solid\n ",";\n color: ",';\n display: flex;\n justify-content: space-around;\n align-items: center;\n\n transition-duration: 0.2s;\n\n button {\n all: unset;\n font-family: "Work Sans", sans-serif;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 0rem;\n position: relative;\n\n .icon {\n color: ',";\n }\n img {\n width: 22px;\n filter: ",";\n }\n\n p {\n margin: 0px;\n font-size: 10px;\n font-weight: 600;\n }\n }\n\n .notif-size {\n position: absolute;\n top: -5px;\n right: 17px;\n background-color: #f86463;\n border-radius: 30px;\n font-size: 11px;\n line-height: 0.6;\n padding: 5px;\n transform: scale(0.95);\n color: whitesmoke !important;\n }\n\n .container {\n position: relative;\n\n .sub-communities {\n max-height: 70vh;\n overflow-y: auto;\n ::-webkit-scrollbar {\n width: 5px;\n }\n background-color: ",";\n position: absolute;\n bottom: 50px;\n left: 25px;\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n border: 1.5px solid\n ",";\n width: 235px;\n border-radius: 7px;\n box-shadow:\n rgba(9, 30, 66, 0.25) 0px 4px 8px -2px,\n rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;\n .current-route {\n background: ",";\n }\n\n button {\n padding: 0.5rem 1rem 0.5rem 1rem;\n flex-direction: row;\n gap: 0.5rem;\n color: ",";\n img {\n width: 20px;\n height: 20px;\n border-radius: 50px;\n filter: none !important;\n }\n\n span {\n font-size: 16px;\n font-weight: 500;\n }\n\n .img-container {\n width: 20px;\n height: 20px;\n background: linear-gradient(90deg, #9968d5, #9198e5);\n border-radius: 50px;\n\n img {\n transform: scale(0.8);\n }\n }\n\n .final-project {\n background: linear-gradient(90deg, #379cee, #9198e5);\n }\n }\n }\n }\n }\n "," {\n display: none;\n }\n"]);return _templateObject=function(){return n},n}let f=o.default.div.withConfig({componentId:"sc-d720239a-0"})(_templateObject(),n=>{let{theme:e}=n;return e.breakpoints.xs},n=>"dark"===n.theme.mode?"rgba(15, 21, 36, .85)":"rgb(250 245 255 / 1)",n=>"light"===n.theme.mode?"lightgray":"#4B4B4B",n=>"dark"===n.theme.mode?"rgba(255, 255, 255, 0.87)":"black",n=>"dark"===n.theme.mode?"rgba(255, 255, 255, 0.87)":"black",n=>"dark"===n.theme.mode?"":"brightness(0%)",n=>"dark"===n.theme.mode?"#0F1524":"#FFFFFF",n=>"dark"===n.theme.mode?"rgba(36, 76, 115, 1)":"#DADADA",n=>"dark"===n.theme.mode?"#007bff":"#CBE0FF",n=>"dark"===n.theme.mode?"rgba(255, 255, 255, 0.87)":"black",n=>{let{theme:e}=n;return e.breakpoints.sm});e.Z=function(){let n=(0,d.useRouter)(),e=n.pathname,t=(0,m.v9)(p.zr);(0,m.v9)(g.sk);let i=(0,m.v9)(p.ot),o=(0,m.v9)(p.o4)||"dark",u="dark"===o,[x,y]=(0,l.useState)(!1),[b,v]=(0,l.useState)(!0);return(0,l.useEffect)(()=>{let n=window.scrollY;function handleScroll(){let e=window.scrollY;e>n?v(!1):e<n&&v(!0),n=e}return window.addEventListener("scroll",handleScroll),()=>window.removeEventListener("scroll",handleScroll)},[]),(0,r.jsxs)(f,{style:{background:b?u?"rgba(15, 21, 36, .85)":"rgba(250 245 255, .85)":u?"rgba(15, 21, 36, .4)":"rgba(250 245 255, .4)",opacity:b?"1":".7"},onClick:()=>v(!0),children:[(0,r.jsx)(h(),{href:"/community",legacyBehavior:!0,children:(0,r.jsx)("button",{children:(0,r.jsx)(c.DaR,{className:"icon",size:"22",color:"/community"===e?"#14ADFF":""})})}),(0,r.jsxs)("button",{className:"link-btn container ",onClick:()=>y(!x),children:[x&&(0,r.jsxs)("div",{className:"sub-communities",children:[(0,r.jsx)(h(),{href:"/community/general",legacyBehavior:!0,children:(0,r.jsxs)("button",{className:"".concat(e.includes("/community/general")?"current-route":""),children:[(0,r.jsx)("img",{src:"/images/community/bouncer.gif",alt:"wave communitie",style:{transform:"scaleX(-1)"}}),(0,r.jsx)("span",{children:"General"})]})}),(0,r.jsx)(h(),{href:"/community/hackathon",legacyBehavior:!0,children:(0,r.jsxs)("button",{className:"".concat(e.includes("/community/hackathon")?"current-route":""),children:[(0,r.jsx)("img",{src:"https://images.emojiterra.com/google/android-12l/512px/1f3d6.png",alt:"wave communitie"}),(0,r.jsx)("span",{children:"Hackathon"})]})}),(0,r.jsx)(h(),{href:"/community/question-of-the-week",legacyBehavior:!0,children:(0,r.jsxs)("button",{className:"".concat(e.includes("/community/question-of-the-week")?"current-route":""),children:[(0,r.jsx)("img",{src:"/images/community/qotw.gif",alt:"wave communitie"}),(0,r.jsx)("span",{children:"Question of the Week"})]})}),(0,r.jsx)(h(),{href:"/community/monthly-challenge/january-2025",legacyBehavior:!0,children:(0,r.jsxs)("button",{className:"".concat(e.includes("/community/monthly-challenge")?"current-route":""),children:[(0,r.jsx)("img",{src:"/images/community/monthly.png",alt:"wave communitie"}),(0,r.jsx)("span",{children:"Monthly Challenge"})]})}),(0,r.jsx)(h(),{href:"/community/30-nites-of-code",legacyBehavior:!0,children:(0,r.jsxs)("button",{className:"".concat(e.includes("/community/30-nites-of-code")?"current-route":""),children:[(0,r.jsx)("img",{src:"/images/code-nights/dragon.gif",alt:"wave communitie"}),(0,r.jsx)("span",{children:"#30NitesOfCode"})]})}),(0,r.jsx)(h(),{href:"/community/introduction",legacyBehavior:!0,children:(0,r.jsxs)("button",{className:"".concat(e.includes("/community/introduction")?"current-route":""),children:[(0,r.jsx)("img",{src:"/images/community/wave.png",alt:"wave communitie"}),(0,r.jsx)("span",{children:"Introductions"})]})}),(0,r.jsx)(h(),{href:"/community/python",legacyBehavior:!0,children:(0,r.jsxs)("button",{className:"".concat(e.includes("/community/python")?"current-route":""),children:[(0,r.jsx)("img",{src:"/images/community/python.png",alt:"python communitie"}),(0,r.jsx)("span",{children:"Python"})]})}),(0,r.jsx)(h(),{href:"/community/javascript",legacyBehavior:!0,children:(0,r.jsxs)("button",{className:"".concat(e.includes("/community/javascript")?"current-route":""),children:[(0,r.jsx)("img",{src:"/images/community/javascript.png",alt:"javascript communitie"}),(0,r.jsx)("span",{children:"JavaScript"})]})}),(0,r.jsx)(h(),{href:"/community/web-dev",legacyBehavior:!0,children:(0,r.jsxs)("button",{className:"".concat(e.includes("/community/web-dev")?"current-route":""),children:[(0,r.jsx)("img",{src:"/images/community/webdev.png",alt:"web dev communitie"}),(0,r.jsx)("span",{children:"Web Dev"})]})}),(0,r.jsx)(h(),{href:"/community/meme",legacyBehavior:!0,children:(0,r.jsxs)("button",{className:"".concat(e.includes("/community/meme")?"current-route":""),children:[(0,r.jsx)("img",{src:"/images/community/meme.gif",alt:"meme communitie"}),(0,r.jsx)("span",{children:"Memes"})]})}),(0,r.jsx)(h(),{href:"/community/pets",legacyBehavior:!0,children:(0,r.jsxs)("button",{className:"".concat(e.includes("/community/pets")?"current-route":""),children:[(0,r.jsx)("img",{src:"/images/community/mochi_avatar.png",alt:"pets communitie"}),(0,r.jsx)("span",{children:"Pets"})]})}),(0,r.jsx)(h(),{href:"/community/career",legacyBehavior:!0,children:(0,r.jsxs)("button",{className:"".concat(e.includes("/community/pets")?"current-route":""),children:[(0,r.jsx)("img",{src:"/images/community/career-suitcase.avif",alt:"career communitie"}),(0,r.jsx)("span",{children:"Careers"})]})}),(0,r.jsx)(h(),{href:"/community/checkpoint-project",legacyBehavior:!0,children:(0,r.jsxs)("button",{className:"".concat(e.includes("/community/checkpoint-project")?"current-route":""),children:[(0,r.jsx)("div",{className:"img-container",children:(0,r.jsx)("img",{src:"/images/community/checkpoint.png",alt:"checkpoint communitie",className:"checkpoint"})}),(0,r.jsx)("span",{children:"Checkpoint"})]})}),(0,r.jsx)(h(),{href:"/community/final-project",legacyBehavior:!0,children:(0,r.jsxs)("button",{className:"".concat(e.includes("/community/final-project")?"current-route":""),children:[(0,r.jsx)("div",{className:"img-container final-project",children:(0,r.jsx)("img",{src:"/images/community/final.png",alt:"final communitie",className:"checkpoint"})}),(0,r.jsx)("span",{children:"Final Project"})]})})]}),(0,r.jsx)(s.Otr,{className:"icon",size:"22"})]}),(0,r.jsx)(h(),{href:i?"/community/profile/@".concat(t):"/login",legacyBehavior:!0,children:(0,r.jsx)("button",{children:(0,r.jsx)(a.Mdg,{className:"icon",size:"22",color:e.includes("/community/profile/")&&n.query.profile=="@".concat(t)?"#14ADFF":""})})})]})}},72264:function(n,e,t){"use strict";var i=t(82729),r=t(85893),o=t(19521),a=t(41664),s=t.n(a),c=t(11163),l=t(67294),m=t(609),d=t(9473);
1function _templateObject(){let n=(0,i._)(["\n padding: 10px;\n display: flex;\n align-items: center;\n gap: 12px;\n border-radius: 8px;\n /* background: ",";\n border: 2px solid #14adff; */\n border: 2px solid transparent;\n\n &.current {\n /* border: 2px solid #14adff; */\n background: ",";\n\n p {\n color: ",";\n }\n\n svg {\n path {\n fill: ",";\n }\n }\n }\n\n :hover {\n transition-duration: 0.2s;\n background: ",";\n\n p {\n color: ",";\n }\n\n svg {\n path {\n fill: ",";\n }\n }\n }\n\n p {\n margin: 0px;\n color: ",";\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 150%;\n }\n\n svg {\n path {\n fill: ",";\n }\n }\n\n .new-post-indicator {\n width: 8px;\n height: 8px;\n background-color: ",";\n border-radius: 50%;\n position: absolute;\n left: -4px;\n }\n"]);return _templateObject=function(){return n},n}let u=o.default.div.withConfig({componentId:"sc-dc660846-0"})(_templateObject(),n=>{let{theme:e}=n;return e.colors.background.blue.primary},n=>{let{theme:e}=n;return e.colors.background.blue.primary},n=>{let{theme:e}=n;return e.colors.text.accent.blue},n=>{let{theme:e}=n;return e.colors.text.accent.blue},n=>{let{theme:e}=n;return e.colors.background.blue.primary},n=>{let{theme:e}=n;return e.colors.text.accent.blue},n=>{let{theme:e}=n;return e.colors.text.accent.blue},n=>{let{theme:e}=n;return e.colors.text.primary},n=>{let{theme:e}=n;return e.colors.text.tertiary},n=>{let{theme:e}=n;return e.colors.text.primary});e.Z=function(n){let{channel:e}=n,t=(0,c.useRouter)(),i=(0,d.v9)(m.f8),o=t.asPath.includes("community/".concat(null==e?void 0:e.internalName)),a=(0,l.useMemo)(()=>JSON.parse(sessionStorage.getItem("newPostToSee-".concat(null==e?void 0:e.internalName)))||!1,[null==e?void 0:e.internalName]),[h,p]=(0,l.useState)(a);return(0,l.useEffect)(()=>{async function channelReadStatus(){let n=await fetch("/api/community/getChannelReadStatus?communityName=".concat(null==e?void 0:e.internalName,"&uid=").concat(i)),t=await n.json(),r=t.read;p(!r)}i&&channelReadStatus()},[null==e?void 0:e.internalName,i]),(0,l.useEffect)(()=>{sessionStorage.setItem("newPostToSee-".concat(null==e?void 0:e.internalName),JSON.stringify(h))},[h,null==e?void 0:e.internalName]),(0,l.useEffect)(()=>{let n=t.query.channel===(null==e?void 0:e.internalName);h&&n&&p(!1)},[t.query.channel,h,null==e?void 0:e.internalName]),(0,r.jsx)(s(),{href:"/community/".concat(e.internalName),style:{textDecoration:"none"},children:(0,r.jsxs)(u,{className:"nes-pointer ".concat(o&&"current"),children:[h&&i&&(0,r.jsx)("div",{className:"new-post-indicator"}),(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 4H8V8L4 8V10H8V14H4V16H8V20H10V16L14 16V20H16V16H20V14H16V10H20V8L16 8V4H14V8L10 8V4ZM10 10V14L14 14V10L10 10Z",fill:"#020617"})}),(0,r.jsx)("p",{children:e.displayName})]})})}},82077:function(n,e,t){"use strict";var i=t(82729),r=t(85893),o=t(19521),a=t(37719),s=t(78777),c=t(85712),l=t(61716),m=t(72264);function _templateObject(){let n=(0,i._)(["\n flex-shrink: 0;\n width: 260px;\n position: sticky;\n top: 3.9rem;\n height: calc(100vh - 3.9rem);\n padding: 12px 12px;\n overflow: auto;\n\n display: flex;\n flex-direction: column;\n gap: 16px;\n border-right: 2px solid ",";\n \n .regular-channels {\n display: flex;\n flex-direction: column;\n gap: 8px;\n\n .channel-label {\n padding: 0px 12px;\n color: ",";\n font-size: 12px;\n font-weight: 600;\n line-height: 150%;\n letter-spacing: 1.68px;\n text-transform: uppercase;\n }\n }\n"]);return _templateObject=function(){return n},n}let d=o.default.div.withConfig({componentId:"sc-250a310a-0"})(_templateObject(),n=>{let{theme:e}=n;return e.colors.border.grey.light},n=>{let{theme:e}=n;return e.colors.text.tertiary});e.Z=function(){let n=[{name:"Home",icon:(0,r.jsx)(s.Z,{}),link:"/community",internalName:"home"},{name:"Leaderboards",icon:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 5H13H15V7V19V21H13H11H9V19V7V5H11ZM13 19V7H11V19H13ZM6 11H4H2V13V19V21H4H6H8V19V13V11H6ZM6 13H4V19H6V13ZM18 15H20H22V17V19V21H20H18H16V19V17V15H18ZM20 19V17H18V19H20Z",fill:"#64748B"})}),link:"/community/leaderboards",internalName:"leaderboards"},{name:"Project Showcase",icon:(0,r.jsx)(c.Z,{}),link:"/community/project-showcase",internalName:"project-showcase"},{name:"Monthly Challenge",icon:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0001 2H7.99988H5.99988V4L4 4H2V6V12H3.99988V14L5.99988 14H7.99988V6H8V4L16.0001 4V6V14L18 14L18.0001 14L20 14V12H21.9999V6H22.0001V4H21.9999H19.9999H18.0001V2H17.9999H16.0001ZM19.9999 6V12H18.0001V6H19.9999ZM5.99988 12H4V6H5.99988V12ZM15.9999 14H7.99988V16H15.9999V14ZM10.9999 16.0001H12.9999V20H15.9999V22H7.99988V20H10.9999V16.0001Z",fill:"#64748B"})}),link:"/community/monthly-challenge",internalName:"monthly-challenge"},{name:"#30NitesOfCode",icon:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 1H15.5V3H11.5V5V7H7.5V9H5.5V5H7.5V3H9.5V1ZM17.5 21V23H7.5V21H5.5V19H3.5V9H5.5V15H9.5V17H11.5V21H17.5ZM17.5 19V21H19.5V19H20.5H21.5V9H19.5V5H17.5V3H15.5V5H17.5V9H19.5V16H17.5V19ZM16.5 10H12.5V14H16.5V10Z",fill:"#64748B"})}),link:"/community/30-nites-of-code",internalName:"30-nites-of-code"}],e=(0,a.cg)();return(0,r.jsxs)(d,{className:"desktop-community-nav",children:[(0,r.jsx)("div",{className:"priority-channels",children:n.map(n=>(0,r.jsx)(l.Z,{channel:n},n.name))}),(0,r.jsxs)("div",{className:"regular-channels",children:[(0,r.jsx)("p",{className:"channel-label",children:"Channels"}),(0,r.jsx)("div",{className:"channels",children:e.map(n=>(0,r.jsx)(m.Z,{channel:n},n.internalName))})]})]})}},61716:function(n,e,t){"use strict";var i=t(82729),r=t(85893),o=t(41664),a=t.n(o),s=t(11163),c=t(19521);
1function _templateObject(){let n=(0,i._)(["\n padding: 10px;\n display: flex;\n align-items: center;\n gap: 12px;\n border-radius: 8px;\n /* background: ",";\n border: 2px solid #14adff; */\n border: 2px solid transparent;\n\n &.current {\n /* border: 2px solid #14adff; */\n background: ",";\n color: ",";\n\n p {\n color: ",";\n }\n\n svg {\n path {\n fill: ",";\n }\n }\n }\n\n :hover {\n transition-duration: 0.2s;\n background: ",";\n\n p {\n color: ",";\n }\n\n svg {\n path {\n fill: ",";\n }\n }\n }\n\n p {\n margin: 0px;\n color: ",";\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 150%;\n }\n"]);return _templateObject=function(){return n},n}let l=c.default.div.withConfig({componentId:"sc-357e5de7-0"})(_templateObject(),n=>{let{theme:e}=n;return e.colors.background.blue.primary},n=>{let{theme:e}=n;return e.colors.background.blue.primary},n=>{let{theme:e}=n;return e.colors.text.accent.blue},n=>{let{theme:e}=n;return e.colors.text.accent.blue},n=>{let{theme:e}=n;return e.colors.text.accent.blue},n=>{let{theme:e}=n;return e.colors.background.blue.primary},n=>{let{theme:e}=n;return e.colors.text.accent.blue},n=>{let{theme:e}=n;return e.colors.text.accent.blue},n=>{let{theme:e}=n;return e.colors.text.secondary});e.Z=function(n){let{channel:e}=n,t=(0,s.useRouter)(),i=t.asPath.includes(null==e?void 0:e.internalName),o="/community"===t.asPath&&"Home"===e.name;return(0,r.jsx)(a(),{href:e.link,style:{textDecoration:"none"},children:(0,r.jsxs)(l,{className:"nes-pointer ".concat((i||o)&&"current"),children:[e.icon,(0,r.jsx)("p",{children:e.name})]})})}},37719:function(n,e,t){"use strict";t.d(e,{A3:function(){return getChannelMetaInfo},Dz:function(){return canMoveCommunityPost},Lm:function(){return getMovableChannels},cg:function(){return getFilteredChannels}});let i=[{displayName:"Cod\xe9dex Community",internalName:"home",description:"Let's make magic together âËâ¡",imgSrc:"/images/community/bouncer.gif",longDescription:"Your home base for the Cod\xe9dex community. Catch up on announcements, see what everyone's building, and jump into the conversation."},{displayName:"Leaderboards",internalName:"leaderboards",description:"Compete with other users and rise to the top Ù©(。â¢Ìâ¿â¢Ì。)Û¶",imgSrc:"/images/community/trophy.gif",longDescription:"See how you stack up against other learners. Earn XP, climb the ranks, and cheer on the coders at the top."},{displayName:"Project Showcase",internalName:"project-showcase",description:"Showcase something that you built (à©Ëá´Ë)à©",imgSrc:"/images/community/rocket.gif",longDescription:"Built something you're proud of? Share it here for feedback, inspiration, and a little bit of applause from the community."},{displayName:"Monthly Challenge",internalName:"monthly-challenge",description:"Let's make magic together âËâ¡",imgSrc:"/images/community/bouncer.gif",longDescription:"A fresh coding challenge every month to keep your skills sharp. Take part, compare notes with others, and level up together."},{displayName:"General",internalName:"main",description:"Community-wide conversations â¡Ì",imgSrc:"/images/community/bouncer.gif",longDescription:"The place for everything and anything. Chat with fellow learners about whatever's on your mind."},{displayName:"Question of the Week",internalName:"question-of-the-week",description:"Join a new conversation every week",imgSrc:"https://gifdb.com/images/high/pixel-art-8bit-subaru-duck-kfvqxp9q2x0l5m30.gif",imageBackground:"#AEFFFF",longDescription:"A new question drops every week to spark discussion. Share your take and see how others answered."},{displayName:"Introductions",internalName:"introduction",description:"Say hi to the community *_*",imgSrc:"/images/community/wave.png",longDescription:"Welcome to the community! Get yourself started by introducing yourself to fellow learners. This is short copy meant to give context on purpose of the channel."},{displayName:"Python",internalName:"python",description:"Everything Python including Python libraries!",imgSrc:"/images/editor/python-logo.png",imageBackgroun
1d:"#AEFFFF",longDescription:"Talk all things Python here, from syntax questions to your favorite libraries and frameworks."},{displayName:"Web Development",internalName:"web-dev",description:"All things web: HTML, CSS, JavaScript, and more!",imgSrc:"https://hwencc.gallerycdn.vsassets.io/extensions/hwencc/html-tag-wrapper/0.2.3/1505878793186/Microsoft.VisualStudio.Services.Icons.Default",imageBackground:"#E4BE03",longDescription:"Dive into HTML, CSS, JavaScript, and everything else that makes the web work. Ask questions, share resources, and swap tips."},{displayName:"Tech News",internalName:"tech-news",description:"Stay updated with the latest industry news",imgSrc:"/images/community/news.png",longDescription:"Keep up with what's happening in tech. Share interesting articles, product launches, and industry updates worth talking about."},{displayName:"Career",internalName:"career",description:"A place to share career advice, opportunities, or related things.",imgSrc:"/images/community/career-suitcase.avif",longDescription:"Trade career advice, job opportunities, resume tips, and interview stories with fellow coders navigating the industry."},{displayName:"Memes",internalName:"meme",description:"Slacking off at work t(-.-t)",imgSrc:"https://gifdb.com/images/high/comedian-el-risitas-warp-face-kekw-meme-0bf8c28fx7xo9a1x.gif",longDescription:"Need a laugh? Post and enjoy the best coding memes the community has to offer."},{displayName:"Pets",internalName:"pets",description:"Share cute animal pics \uD83D\uDC36 \uD83D\uDC31 \uD83D\uDC39 \uD83D\uDC30 \uD83D\uDC38",imgSrc:"/images/community/mochi_avatar.png",longDescription:"A cozy corner for cute animal pics. Show off your furry, feathered, or scaly friends."},{displayName:"#30NitesOfCode",internalName:"30-nites-of-code",description:"Join our community-wide challenge of learning and building for 30-days. Start today!",imgSrc:"/images/code-nights/dragon.gif",imageBackground:"#CEA8EB",longDescription:"30 nights, one goal: build the coding habit. Check in daily, share your progress, and keep each other motivated."},{displayName:"Bug Reports",internalName:"bug-report",description:"Found a bug? \uD83D\uDC1B Report it here.",imgSrc:"/images/community/bug-reports (1).png",imageBackground:"#CEA8EB",hideTopPosts:!0,longDescription:"Spotted something broken on Cod\xe9dex? Let us know here so we can track it down and squash it."}],r=["home","leaderboards","monthly-challenge","project-showcase","30-nites-of-code","question-of-the-week"];function canMoveCommunityPost(n){return!r.includes(n)}function getMovableChannels(){return i.filter(n=>!r.includes(n.internalName))}function getChannelMetaInfo(n){let{channel:e}=n;return i.find(n=>n.internalName===e)}function getFilteredChannels(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["home","monthly-challenge","project-showcase","leaderboards","30-nites-of-code"];return i.filter(e=>!n.includes(e.internalName))}},38466:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSG:function(){return f}});var i=t(85893),r=t(67294),o=t(11163),a=t(41664),s=t.n(a),c=t(27936),l=t(99428),m=t(62069),d=t(82077),u=t(87235),h=t(88215),p=t(51539),g=t(8956),f=!0;e.default=function(){let n=(0,o.useRouter)(),[e,t]=(0,r.useState)({}),[a,f]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!n.isReady)return;let e=n.query.post;async function fetchData(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;try{let n=await fetch("/api/community/getSinglePost",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({postID:e,communityName:"monthly-challenge"})});if(!n.ok)throw f(!0),Error("Network response was not ok");let i=await n.json();t(i.post)}catch(e){n<4?(console.warn("Retrying fetch (".concat(n+1,"/5)...")),setTimeout(()=>fetchData(n+1),1e3)):(console.error("Max retries reached. Could not fetch post:",e),f(!0)),console.error("Error fetching post:",e)}}JSON.parse(sessionStorage.getItem("get-opc-post-from-session")),fetchData()},[n]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.Z,{}),(0,i.jsx)(c.Z,{h1:"Community"}),(0,i.jsx)(m.Z,{children:(0,i.jsxs)(g.Z,{children:[(0,i.jsxs)("div",{className:"discovery",children:[(0,i.jsx)("div",{className:"sticky-bar",children:(0,i.jsx)(d.Z,{path:n.pathname})}),(0,i.jsx)(s(),{href:"/community/monthly-challenge/create",legacyBehavior:!0,children:(0,i.jsx)("button",{className:"create-post-btn nes-btn is-primary",children:"Create Post"})})]}),(0,i.jsx)("div",{className:"main-container",children:(0,i.jsx)(u.Z,{postData:e,communityName:"monthly-challenge",CommunityBanner:(0,i.jsx)(h.Z,{}),failedToFetch:a})})]})}),(0,i.jsx)(p.Z,{})]})}}},function(n){n.O(0,[1272,8700,1057,3777,3874,955,6556,4617,2013,5937,7603,9401,9866,4153,1622,9280,286,6095,8849,2512,959,9428,2163,1312,7235,9774,2888,179],function(){return n(n.s=2865)}),_N_E=n.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.