1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[15437],{83570:function(e,a,t){t.d(a,{Ac:function(){return r},Nr:function(){return o.Nr}});var n=t(2265),o=t(71931);function r(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,[t,o]=(0,n.useState)(e),[r,l]=(0,n.useState)(!1),i=(0,n.useRef)(null),s=(0,n.useCallback)(()=>{i.current&&(clearTimeout(i.current),i.current=null,l(!1))},[]),c=(0,n.useCallback)(()=>{i.current&&(clearTimeout(i.current),i.current=null,o(e),l(!1))},[e]);return(0,n.useEffect)(()=>(i.current&&clearTimeout(i.current),l(!0),i.current=setTimeout(()=>{o(e),l(!1),i.current=null},a),()=>{i.current&&(clearTimeout(i.current),i.current=null)}),[e,a]),{debouncedValue:t,isPending:r,flush:c,cancel:s}}},81981:function(e,a,t){t.d(a,{pm:function(){return l}});var n=t(2265),o=t(14438);let r=e=>(a,t)=>{let{title:n,action:r,...l}=t||{},i={...l,description:n?a:void 0,action:r?{label:r.label,onClick:r.onClick}:void 0},s=n||a;switch(e){case"success":return o.Am.success(s,i);case"error":return o.Am.error(s,i);case"warning":return o.Am.warning(s,i);case"info":return o.Am.info(s,i);case"loading":return o.Am.loading(s,i);default:return(0,o.Am)(s,i)}};function l(){let e=n.useRef(null),a=n.useCallback((a,t)=>{if("object"==typeof a&&null!==a){let{title:n,description:o}=a,{type:l="info",...i}=t||{},s=r(l)(n,{description:o,...i});return e.current=s,s}let{type:n="info",...o}=t||{},l=r(n)(a,o);return e.current=l,l},[]),t=n.useCallback((a,t)=>{let n=r("success")(a,t);return e.current=n,n},[]),l=n.useCallback((a,t)=>{let n=r("error")(a,t);return e.current=n,n},[]),i=n.useCallback((a,t)=>{let n=r("warning")(a,t);return e.current=n,n},[]),s=n.useCallback((a,t)=>{let n=r("info")(a,t);return e.current=n,n},[]),c=n.useCallback((a,t)=>{let n=r("loading")(a,t);return e.current=n,n},[]),u=n.useCallback(a=>{o.Am.dismiss(a||e.current||void 0)},[]),d=n.useCallback(()=>{o.Am.dismiss()},[]);return{toast:a,success:t,error:l,warning:i,info:s,loading:c,dismiss:u,dismissAll:d,promise:n.useCallback((e,a,t)=>o.Am.promise(e,{loading:a.loading,success:a.success,error:a.error,...t}),[]),custom:n.useCallback((a,t)=>{let n=o.Am.custom(a,t);return e.current=n,n},[]),update:n.useCallback((e,a)=>{let{type:t,title:n,...l}=a,i=a.description||"";t?r(t)(n||i,l):(0,o.Am)(n||i,{id:e,...l})},[])}}},78705:function(e,a,t){t.d(a,{Hg:function(){return l},Hz:function(){return r},Z6:function(){return i},ep:function(){return o}});var n=t(40257);let o={name:"AI Builders Hub",title:"AI Builders Hub - The Future of AI Learning",description:"Modern AI learning platform with blog, discussions, and hackathons. Connect with AI enthusiasts, share knowledge, and build the future together.",url:n.env.NEXT_PUBLIC_SITE_URL||"https://aibuildershub.ai",author:"AI Builders Hub Team",keywords:["AI","Machine Learning","Deep Learning","Artificial Intelligence","Blog","Discussions","Hackathons","Community","Learning","Neural Networks","Data Science","Programming","Technology"],social:{twitter:"@aibuildershub",github:"https://github.com/aibuildershub",linkedin:"https://linkedin.com/company/aibuildershub",discord:"https://discord.gg/aibuildershub"}},r={baseURL:"https://aibuildershub.ai/api",timeout:3e4,retryAttempts:3,retryDelay:1e3,rateLimit:{requests:100,window:6e4},upload:{maxFileSize:5242880,allowedImageTypes:["image/jpeg","image/jpg","image/png","image/webp"],allowedDocumentTypes:["application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]}},l={title:{min:1,max:200},excerpt:{min:0,max:500},bio:{min:0,max:500},comment:{min:1,max:1e3},description:{min:10,max:2e3},tags:{max:10},categories:{max:5},teamMembers:{min:1,max:10},files:{maxCount:5,maxSizeEach:5242880,maxSizeTotal:26214400}},i={home:"/",about:"/about",contact:"/contact",privacy:"/privacy",terms:"/terms",authCallback:"/auth/callback",emailConfirmation:"/auth/email-confirmation",resendVerification:"/auth/resend-verification",accountSuspended:"/auth/account-suspended",resetPassword:"/auth/reset-password",blog:"/blog",blogCreate:"/blog/create",blogPost:e=>"/blog/".concat(e),blogEdit:e=>"/blog/".concat(e,"/edit"),blogTag:e=>"/blog/tags/".concat(e),blogAuthor:e=>
1"/blog/author/".concat(e),discussions:"/discussions",discussionCreate:"/discussions/create",discussion:e=>"/discussions/".concat(e),discussionEdit:e=>"/discussions/".concat(e,"/edit"),discussionTag:e=>"/discussions/tags/".concat(e),polls:"/polls",pollCreate:"/polls/create",poll:e=>"/polls/".concat(e),pollEdit:e=>"/polls/".concat(e,"/edit"),hackathons:"/hackathons",hackathon:e=>"/hackathons/".concat(e),hackathonApply:e=>"/hackathons/".concat(e,"/apply"),hackathonResults:e=>"/hackathons/".concat(e,"/results"),events:"/events",event:e=>"/events/".concat(e),ai:"/ai",aiTopic:e=>"/ai/".concat(e),news:"/news",newsItem:e=>"/news/".concat(e),profile:e=>"/".concat(e),profileEdit:e=>"/".concat(e,"/edit"),dashboard:"/dashboard",dashboardProfile:"/dashboard/profile",dashboardSettings:"/dashboard/settings",dashboardNotifications:"/dashboard/notifications",search:"/search",adminHackathons:"/hackathons/admin",adminHackathonCreate:"/hackathons/admin/create",adminHackathon:e=>"/hackathons/admin/".concat(e),juryDashboard:"/hackathons/jury",juryEvaluate:e=>"/hackathons/jury/evaluate/".concat(e)};o.title,o.description,o.keywords,o.name,o.social.twitter,o.name,o.description,o.url,n.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID,n.env.NEXT_PUBLIC_GITHUB_CLIENT_ID,n.env.NEXT_PUBLIC_GA_ID},51385:function(e,a,t){t.d(a,{aE:function(){return r},tv:function(){return l}});var n=t(59625),o=t(89134);let r=(0,n.Ue)()((0,o.mW)((e,a)=>({type:null,data:{},isOpen:!1,isLoading:!1,error:null,lastUpdated:null,modalStack:[],openModal:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a();o.isOpen&&o.type!==t?(e({isOpen:!1,lastUpdated:Date.now()},!1,"closeModal"),setTimeout(()=>{e({type:t,data:n,isOpen:!0,error:null,modalStack:[],lastUpdated:Date.now()},!1,"openModal")},150)):e({type:t,data:n,isOpen:!0,error:null,lastUpdated:Date.now()},!1,"openModal")},closeModal:()=>{let{modalStack:t}=a();t.length>0?a().popModal():e({type:null,data:{},isOpen:!1,error:null,lastUpdated:Date.now()},!1,"closeModal")},setData:a=>e(e=>({data:{...e.data,...a},lastUpdated:Date.now()}),!1,"setData"),pushModal:function(a){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e(e=>({modalStack:[...e.modalStack,{type:a,data:t}]}),!1,"pushModal")},popModal:()=>{let{modalStack:t}=a();if(0===t.length)return;let n=t[t.length-1],o=t.slice(0,-1);e({type:n.type,data:n.data,modalStack:o,isOpen:!0,error:null,lastUpdated:Date.now()},!1,"popModal")},clearModalStack:()=>{e({modalStack:[],type:null,data:{},isOpen:!1,error:null,lastUpdated:Date.now()},!1,"clearModalStack")},setLoading:a=>e({isLoading:a},!1,"setLoading"),setError:a=>e({error:a},!1,"setError")}),{name:"modal-store",enabled:!1})),l=()=>{let{openModal:e}=r();return{confirm:a=>new Promise(t=>{e("confirm",{...a,confirmLabel:a.confirmLabel||a.confirmText,onConfirm:()=>{var e;t(!0),null===(e=a.onConfirm)||void 0===e||e.call(a)},onCancel:()=>{var e;t(!1),null===(e=a.onCancel)||void 0===e||e.call(a)}})})}}}}]);
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.