From 77d4018a750d78e9cfa26c176527cd157f548225 Mon Sep 17 00:00:00 2001 From: samuel161415 Date: Tue, 2 Jul 2024 17:32:10 +0300 Subject: [PATCH] sami.fix: changing the circle icon to right side arrow --- dist/hacks-website/index.html | 2 +- ...89efdfa74f.js => main.6a102c159e089584.js} | 2 +- .../eligibility/eligibility.component.html | 19 ++++++++----------- 3 files changed, 10 insertions(+), 13 deletions(-) rename dist/hacks-website/{main.2b9a9b89efdfa74f.js => main.6a102c159e089584.js} (70%) diff --git a/dist/hacks-website/index.html b/dist/hacks-website/index.html index b37dea1..073ddd0 100644 --- a/dist/hacks-website/index.html +++ b/dist/hacks-website/index.html @@ -60,5 +60,5 @@
- + diff --git a/dist/hacks-website/main.2b9a9b89efdfa74f.js b/dist/hacks-website/main.6a102c159e089584.js similarity index 70% rename from dist/hacks-website/main.2b9a9b89efdfa74f.js rename to dist/hacks-website/main.6a102c159e089584.js index 1044d37..6614efd 100644 --- a/dist/hacks-website/main.2b9a9b89efdfa74f.js +++ b/dist/hacks-website/main.6a102c159e089584.js @@ -1 +1 @@ -"use strict";(self.webpackChunkHacks_Website=self.webpackChunkHacks_Website||[]).push([[179],{4701:(h,T,l)=>{var u=l(6593),A=l(205),e=l(5678);let v=(()=>{class t{constructor(){this.isModalOpen=!1,this.modalStateChanged=new e.vpe}openModal(){this.isModalOpen=!0,this.modalStateChanged.emit(!0)}closeModal(){this.isModalOpen=!1,this.modalStateChanged.emit(!1)}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var s=l(6814);const H=t=>({heading:t}),m=t=>({description:t});let M=(()=>{class t{constructor(i,o){this.elRef=i,this.modalService=o,this.toggleChatEvent=new e.vpe,this.showMenu=!1,this.showModal=!1,this.showChat=!1,this.showMentorsModal=!1,this.showAdvisorsModal=!1,this.mentorsRegistrationLink="https://form.typeform.com/to/UvayCDEJ",this.advisorsRegistrationLink="https://form.typeform.com/to/mMzeQ63l",this.showGetInvolvedModal=!0,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,this.showRegistrationModal=!1,this.currentSection="home",this.registrationDeadline=new Date(2024,5,31,23,59,59),this.registrationButtonVisible=!1,this.countDownVisible=!1,this.countDownDate=new Date("2024-5-15T20:59:00"),this.animated=!1,this.day_desc=[{day:"Day 1",desc:"Experience innovation firsthand as finalists showcase their groundbreaking projects to the public at Abrehot Library in Addis Ababa."},{day:"Day 2",desc:"The stakes are high at the Jury Panel. Witness the excitement of the award ceremony where the most innovative solutions will be honored and celebrated."},{day:"Day 3",desc:"Beginning with an in-person investor panel in the morning followed by a remote panel in the afternoon, designed to propel the best African AI ventures onto the global stage."}]}ngOnInit(){this.checkElementsInView(),setInterval(()=>{this.updateCountDownVisibility()},1e3)}onScroll(){this.checkElementsInView()}checkElementsInView(){const o=this.elRef.nativeElement.querySelector("#home_component").getBoundingClientRect(),n=o.top=0;!this.animated&&n?this.animated=!0:n||(this.animated=!1)}openModal(i){i.stopPropagation(),this.modalService.openModal()}get isModalOpen(){return this.modalService.isModalOpen}onShowModal(){this.toggleChatEvent.emit(!1),this.showModal=!0,document.body.classList.add("overflow-hidden","z-0")}updateCountDownVisibility(){this.countDownVisible=new Date{class t{constructor(){this.initializeCloudinary()}initializeCloudinary(){this.cloudinary=new I.r({cloud:{cloudName:"eskalate"}})}generateImageUrl(i){const o=this.cloudinary.image(i);return o.resize((0,B.hl)().width(1280).height(720)),o}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var g=l(5619);let S=(()=>{class t{constructor(){this.isModalOpenSubject=new g.X(!1),this.isModalOpen$=this.isModalOpenSubject.asObservable(),this.modalDataSubject=new g.X({}),this.modalData$=this.modalDataSubject.asObservable()}toggleModal(i,o){this.isModalOpenSubject.next(i),o&&this.modalDataSubject.next(o)}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const L=(t,a,i)=>({"md:-translate-y-[15px]":t,"md:-translate-y-[40px]":a,"md:-translate-y-0":i});function J(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",7)(1,"div",8)(2,"div",9),e._UZ(3,"img",10),e.qZA(),e.TgZ(4,"div",11)(5,"div",12),e._UZ(6,"img",13),e.qZA(),e.TgZ(7,"h2",14),e._uU(8),e.qZA(),e.TgZ(9,"div",15)(10,"h2",16),e._uU(11),e.qZA(),e.TgZ(12,"p",17),e._uU(13),e.qZA()()(),e.TgZ(14,"div",18)(15,"button",19),e.NdJ("click",function(){const r=e.CHM(i).$implicit,c=e.oxw();return e.KtG(c.onMoreOptionsClick(r))}),e._uU(16," More "),e.qZA()()()()}if(2&t){const i=a.$implicit,o=a.index;e.xp6(1),e.Tol(e.kEZ(8,L,0===o,1===o,2===o)),e.xp6(2),e.Q6J("src",i.awrd_img,e.LSH),e.xp6(3),e.Q6J("src",i.img,e.LSH),e.xp6(2),e.hij(" ",i.prize_type," "),e.xp6(3),e.AsE(" ",i.projectname," by Team ",i.team," "),e.xp6(2),e.hij(" ",i.description," ")}}let N=(()=>{class t{onMoreOptionsClick(i){this.cardTouched.emit(i)}constructor(i,o){this.cloudinaryService=i,this.renderer=o,this.title="",this.winners=[],this.descr="",this.cardTouched=new e.vpe}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(U),e.Y36(e.Qsj))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-track-winners"]],inputs:{title:"title",winners:"winners",descr:"descr"},outputs:{cardTouched:"cardTouched"},decls:9,vars:3,consts:[[1,"w-full","flex","flex-col","justify-center","items-center","rounded-md","pt-6"],[1,"text-4xl","w-full","text-center","font-bold","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text","mt-5"],[1,"flex","mt-10","mb-5","md:mx-20","flex-col","lg:flex-col"],[1,"flex-1"],[1,"lg:w-3/4","mx-auto","leading-relaxed","text-base","text-white","text-justify","justify-between","mb-6"],[1,"grid","grid-cols-1","md:grid-cols-3","gap-4","p-2"],["class","my-6",4,"ngFor","ngForOf"],[1,"my-6"],[1,"relative","h-full","grid","grid-rows-auto-1fr","rounded-lg","my-10","md:my-0","text-gray-300","border-2","border-gray-800","group","hover:bg-gray-700","hover:shadow-md","hover:border","transition","duration-300","hover:border-solid","transform","hover:scale-105","hover:text-white"],[1,"absolute","z-10","top-[-30px]","-right-5","w-1/6","max-sm:w-1/6","rounded-full"],["alt","prize image","loading","lazy",1,"h-full","w-full","object-cover","rounded-full",3,"src"],[1,"w-full","rounded-t-lg","overflow-hidden","p-2"],[1,"h-[230px]","rounded-t-lg","mb-5"],["alt","group image","loading","lazy",1,"object-cover","w-full","h-full","rounded-t-lg",3,"src"],[1,"text-2xl","px-4","mb-8","font-bold","title-font","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text","group-hover:text-white"],[1,"text-white","text-justify","justify-between","px-4"],[1,"title-font","font-bold","text-xl","text-left","mb-2"],[1,"leading-relaxed","text-left","mb-3","text-gray-300"],[1,"flex","justify-center","items-end","mb-5","mt-2"],[1,"px-4","py-2","border","rounded-full","hover:border-none","hover:bg-purple-700","hover:text-white",3,"click"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0)(1,"h2",1),e._uU(2),e.qZA(),e.TgZ(3,"div",2)(4,"div",3)(5,"p",4),e._uU(6),e.qZA()()(),e.TgZ(7,"div",5),e.YNc(8,J,17,12,"div",6),e.qZA()()),2&o&&(e.xp6(2),e.hij(" ",n.title," "),e.xp6(4),e.hij(" ",n.descr," "),e.xp6(2),e.Q6J("ngForOf",n.winners))},dependencies:[s.sg],styles:[".custome[_ngcontent-%COMP%]:hover .shadow_class[_ngcontent-%COMP%]{opacity:.6;transition:opacity .3s ease-in-out}.custome[_ngcontent-%COMP%]:hover .img_card[_ngcontent-%COMP%]{height:100%;width:100%;border-radius:1rem}.custome[_ngcontent-%COMP%]:hover .full-width[_ngcontent-%COMP%]{height:full}.custome[_ngcontent-%COMP%]:hover .image[_ngcontent-%COMP%]{border-radius:1rem;transition:border-radius .3s ease-in-out}.custome[_ngcontent-%COMP%]:hover .card_prize[_ngcontent-%COMP%]{z-index:20}.custom-shape[_ngcontent-%COMP%]{clip-path:polygon(0% 0%,100% 0%,100% 80%,50% 100%,0% 80%)}button[_ngcontent-%COMP%]:hover{cursor:pointer}.overflow-auto[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.img_parent[_ngcontent-%COMP%]:hover .team-name[_ngcontent-%COMP%]{opacity:1}.overflow-auto[_ngcontent-%COMP%]{scrollbar-width:thin;scrollbar-color:transparent transparent}"]})}return t})(),D=(()=>{class t{constructor(i,o){this.cloudinaryService=i,this.winnerModalService=o,this.winners=[],this.track_winners=[],this.title_winners="",this.desc_track_winners="",this.desc_winners="",this.title_track_winners="",this.isModalOpen=!1,this.modalContent={}}openModal(i){this.winnerModalService.toggleModal(!0,i)}ngOnInit(){this.kurio_img=this.cloudinaryService.generateImageUrl("Hackathon/kurioo"),this.cognipath=this.cloudinaryService.generateImageUrl("Hackathon/cognipath"),this.yyeni=this.cloudinaryService.generateImageUrl("Hackathon/yyeni"),this.title_track_winners="Meet 2023 track winners",this.title_winners="Meet 2023 winner projects",this.desc_winners="The Top 3 Teams, who stood out from across Africa. Their projects, acknowledged as the best, present scalable initiatives, addressing challenges and providing solutions for communities in Africa.",this.desc_track_winners="The Track Winners teams are recognized for outstanding projects that made impactful contributions to African communities.",this.winners=[{teamMembers:["Miriam Shikongo","Vitalis P Haupindi","Lotto N Nanghonda Jr"],projectname:"YYeni AI",team:"YYeni AI",money:"6,000",rank:2,awrd_img:"assets/silver 1 (no bg).png",img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700746297/Hackathon/yyeni.jpg",countries:["Namibia"],description:"AI chatbot for an enhanced educational experience through inquiry-based learning and customizable content. ",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1701068390/Hackathon/yyeni/On.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068412/Hackathon/yyeni/Tw.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068391/Hackathon/yyeni/Thr.jpg"],demo:"https://www.youtube.com/embed/lhVff0IBnOY?si=S1_gEIo48Xjo-BC-",pitch:"https://www.youtube.com/embed/ZoYZDrZN1SY?si=osdo2FZf28eeRa_0",webUrl:"https://yyenichat.com/",prize_description:["Team YYeni AI enjoyed a fully-covered trip to Addis Ababa, including airfare, hotel, and other expenses. They had the valuable opportunity to pitch their project idea to renowned individuals and venture capitalists. Additionally, they received a certificate of achievement, and a direct placement opportunity in the A2SV education Cohort 5."],linkedin:["https://www.linkedin.com/in/miriam-shikongo-41b2a8224","https://www.linkedin.com/in/vitalis-p-haupindi-6964b5216","https://www.linkedin.com/in/lotto-n-nanghonda-jr-727436247"]},{teamMembers:["Aya Omezzine","Christian Parfait ","MohamedAziz Omezine","Mohamed Regaya","Ghada Eladeb"],team:"The Siblings",projectname:"CogniPath",money:"10,000",rank:1,img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700745279/Hackathon/cognipath.jpg",awrd_img:"assets/gold 1 (no bg).png",countries:["Tunisia","Cameroon"],description:"AI-powered platform creates learning materials for students with learning disorders.",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/aya.png","https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/Christian.png","https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/Mohamed.png","https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/Rebaya.png","https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/Ghada.png"],demo:"https://www.youtube.com/embed/SIjvIMWqgDs?si=ZVHTL7YUAN00sYgi",pitch:"https://www.youtube.com/embed/5fKccJiX_8I?si=7TA69lVH6Ni494p8",webUrl:"https://cognipath.azurewebsites.net/",prize_description:["Team CogniPath enjoyed a fully-covered trip to Addis Ababa, including airfare, hotel, and other expenses. They had the opportunity to pitch their project to renowned individuals and venture capitalists. Along with a certificate of achievement and direct placement in the A2SV education cohort 5, the team will work with Modus Capital for personalized fundraising support and one-on-one expert guidance, elevating their project and early start-up."],linkedin:["https://www.linkedin.com/in/aya-omezzine-722679174","https://www.linkedin.com/in/christian-parfait-nebot-fonkou","https://www.linkedin.com/in/mohamed-aziz-omezine-63491a116","https://www.linkedin.com/in/regaya-mohamed-462992218","https://www.linkedin.com/in/ghada-eladeb-3b2854237"]},{teamMembers:["Kamel Brouthen","Aymene Berriche","Mehdi Zakaria ","Ahmed Yacine ","Moussaab Badla"],team:" FutureX",projectname:"Kurio",money:"4,000",rank:3,awrd_img:"assets/bronze 1.png",img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700741675/Hackathon/kurioo.jpg",countries:["Algeria"],description:"An AI-powered app for personalized and interactive children's learning and entertainment.",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1701070974/Hackathon/kurio/Kamel.png","https://res.cloudinary.com/eskalate/image/upload/v1701070974/Hackathon/kurio/Aymen.png","https://res.cloudinary.com/eskalate/image/upload/v1701070975/Hackathon/kurio/mehdi.png","https://res.cloudinary.com/eskalate/image/upload/v1701070974/Hackathon/kurio/Ahmed.png","https://res.cloudinary.com/eskalate/image/upload/v1701070975/Hackathon/kurio/Moussaab.png"],demo:"https://www.youtube.com/embed/BLcX8sRU-aE?si=wYdkUaKh9Xkhr4bI",pitch:"https://www.youtube.com/embed/fWRPbIW21J0?si=JdjMRhojDF052ltO",mobileUrl:"https://drive.google.com/file/d/1CG6WzV7HpjxxOY_Ti6j8EgS4NJT75vpN/view?usp=drive_link",prize_description:["Team Kurio enjoyed an all-inclusive trip to Addis Ababa, covering airfare, hotel, and additional expenses. They seized the opportunity to pitch their project to esteemed individuals and venture capitalists. The team received a certificate of achievement and secured a direct placement in the A2SV education cohort 5, fostering valuable educational opportunities."],linkedin:["https://www.linkedin.com/in/brouthen-kamel","https://www.linkedin.com/in/aymen-berriche-372ba81a5","https://www.linkedin.com/in/adjal-mehdi-zakaria-a40a39223","https://www.linkedin.com/in/ahmedyacinebouchouareb","https://www.linkedin.com/in/moussaab-badla-16b398291"]}],this.track_winners=[{teamMembers:["Aser Hailu","Biruk Mesfin","Bisrat Kebere","Duresa Feyisa","Estifanos Samson"],prize_type:"Best Technical Implementation Award",money:"2,500",team:"Innovate Fusion",projectname:"THE ARCHITECT AI",prize_description:"Congratulations to Team Innovate Fusion from Ethiopia! We proudly acknowledge the ARCHITECT AI project, which stood out for its remarkable and innovative technical implementation.",rank:1,awrd_img:"assets/gold 1 (no bg).png",img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700743904/Hackathon/Architect.jpg",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/aserr.png","https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/birukk.png","https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/bisratt.png","https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/duresaa.png","https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/estifanos.png"],description:"Virtual architectural design assistant that uses generative AI to generate customizable and sustainable skyscraper designs for architecture and construction projects in Africa.",countries:["Ethiopia"],demo:"https://www.youtube.com/embed/irHZkTfRL2c?si=1g-5WDz6Bx1L39zS",pitch:"https://www.youtube.com/embed/AvpUPbTf7HE?si=7USncKJOg2-K1_8Q",webUrl:"https://architect-ai-theta.vercel.app/home",mobileUrl:"https://drive.google.com/file/d/1E7CKANKvaY6yh-VKgUTdcSc6QxCS8K6r/view?usp=drive_link",linkedin:["https://www.linkedin.com/in/aser-hailu","https://www.linkedin.com/in/biruk-mesfin","https://www.linkedin.com/in/bisry","https://www.linkedin.com/in/duresa-feyisa-513271256","https://www.linkedin.com/in/estifanos-samson-7286bb298"]},{teamMembers:["Miriam Shikongo","Vitalis P Haupindi","Lotto N Nanghonda Jr"],prize_type:"Most Potential for Positive Change Award",money:"2,500",prize_description:"Congratulations to Team YYeni AI from Namibia! We commend the YYeni AI project, which stood out for its exceptional potential to make a positive impact and drive meaningful change.",projectname:"YYeni AI",team:"YYeni AI",awrd_img:"assets/gold 1 (no bg).png",rank:1,img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700746297/Hackathon/yyeni.jpg",countries:["Namibia"],description:"AI chatbot for an enhanced educational experience through inquiry-based learning and customizable content. ",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1701068390/Hackathon/yyeni/On.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068412/Hackathon/yyeni/Tw.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068391/Hackathon/yyeni/Thr.jpg"],demo:"https://www.youtube.com/embed/lhVff0IBnOY?si=S1_gEIo48Xjo-BC-",pitch:"https://www.youtube.com/embed/ZoYZDrZN1SY?si=osdo2FZf28eeRa_0",webUrl:"https://yyenichat.com/",linkedin:["https://www.linkedin.com/in/miriam-shikongo-41b2a8224","https://www.linkedin.com/in/vitalis-p-haupindi-6964b5216","https://www.linkedin.com/in/lotto-n-nanghonda-jr-727436247"]},{teamMembers:["Ann Mumbi","Franklin Karanja","Jude Ang'Edu","Nathan Mbugua","Wayne Asava"],prize_type:"Best User Experience Award",money:"2,500",awrd_img:"assets/gold 1 (no bg).png",team:"Sapphire",projectname:"StoryCraft",prize_description:"Congratulations to Team Sapphire from Kenya! We applaud the outstanding achievement of the StoryCraft project, which was recognized for delivering an exceptional and intuitive user experience.",rank:1,img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700835115/Hackathon/sapphire.jpg",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/ann.png","https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/frank.png","https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/jude.png","https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/nathan.png","https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/wayne.png"],description:"AI-powered platform that creates personalized and engaging storybooks for early readers, fostering a love for reading among children.",countries:["Kenya"],demo:"https://www.youtube.com/embed/YHBCz0VNjaA?si=AJHna8gKMUX8EAiR",pitch:"https://www.youtube.com/embed/d5vJMWklKpM?si=DgSCAMdTxeb99GsK",webUrl:"http://www.storycraftai.tech/",linkedin:["https://www.linkedin.com/in/ann-kamau-564b88216","https://www.linkedin.com/in/knurf-mutua","https://www.linkedin.com/in/jude-ang-edu-451532185","#","https://www.linkedin.com/in/wayneasava"]},{teamMembers:["Miriam Shikongo","Vitalis P Haupindi","Lotto N Nanghonda Jr"],prize_type:"Cross-Domain Collaboration Award",projectname:"YYeni AI",team:"YYeni AI",prize_description:"Congratulations to Team YYeni AI from Namibia! The YYeni project effectively combined generative AI techniques with expertise from different fields, showcasing an innovative approach.",money:"2,500",rank:1,awrd_img:"assets/gold 1 (no bg).png",img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700746297/Hackathon/yyeni.jpg",countries:["Namibia"],description:"AI chatbot for an enhanced educational experience through inquiry-based learning and customizable content. ",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1701068390/Hackathon/yyeni/On.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068412/Hackathon/yyeni/Tw.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068391/Hackathon/yyeni/Thr.jpg"],demo:"https://www.youtube.com/embed/lhVff0IBnOY?si=S1_gEIo48Xjo-BC-",pitch:"https://www.youtube.com/embed/ZoYZDrZN1SY?si=osdo2FZf28eeRa_0",webUrl:"https://yyenichat.com/",linkedin:["https://www.linkedin.com/in/miriam-shikongo-41b2a8224","https://www.linkedin.com/in/vitalis-p-haupindi-6964b5216","https://www.linkedin.com/in/lotto-n-nanghonda-jr-727436247"]}]}getRankClass(i){switch(i){case 1:return"md:mt-[-40px] bg-gradient-to-r from-amber-900 via-amber-700 to-amber-500 text-white ";case 2:return"md:mt-[-20px] bg-gradient-to-r from-gray-400 to-gray-200 silver_custome text-black ";case 3:return"bg-gradient-to-r from-bronze-900 via-bronze-700 to-bronze-500 text-white ";default:return"bg-gray-200"}}getButtonsClass(i){switch(i){case 1:return"bg-gradient-to-r from-amber-900 via-amber-700 to-amber-500 text-yellow-500 ";case 2:return"bg-gradient-to-r from-gray-400 to-gray-200 silver_custome text-purple-500 ";case 3:return"bg-gradient-to-r from-bronze-900 via-bronze-700 to-bronze-500 text-orange-500 ";default:return"bg-gray-200"}}getCardText(i){switch(i){case 1:return" text-amber-200 ";case 2:return" text-gray-200 ";case 3:return" text-bronze-200 ";default:return"bg-gray-200"}}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(U),e.Y36(S))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-winner"]],decls:2,vars:3,consts:[[1,"w-full","flex","flex-col","justify-center","items-center","rounded-md","m-auto"],[3,"title","descr","winners","cardTouched"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0)(1,"app-track-winners",1),e.NdJ("cardTouched",function(c){return n.openModal(c)}),e.qZA()()),2&o&&(e.xp6(1),e.Q6J("title",n.title_winners)("descr",n.desc_winners)("winners",n.winners))},dependencies:[N]})}return t})();const F=["videoIframe"];let z=(()=>{class t{constructor(){this.awards=["Trip to Addis Ababa, including airfare, hotel, and other expenses.","Opportunity to pitch one's project idea to renowned tech individuals and venture capitalists.","Certificate of achievement."],this.missionTextPart1="A2SV (Africa to Silicon Valley) is a US-based nonprofit academy igniting Africa's tech revolution with comprehensive software engineering training and tech-driven solutions",this.missionTextPart2="Through collaborations with top African universities and tech titans, A2SV has created a thriving ecosystem for emerging talent since 2019. Our program is free, breaking financial barriers, nurturing dreams, and democratizing the path to a tech-driven future.",this.secondPrize={place:"Second",prize:"6,000",padding:"32px",color:"#C0C0C0",image:"assets/silver 1 (no bg).png",awards:[...this.awards,"Custom-designed A2SV swag.","Direct placement opportunity in the A2SV education cohort 5."]},this.firstPrize={place:"First",prize:"10,000",padding:"32px",color:"#FFC876",image:"assets/gold 1 (no bg).png",awards:[...this.awards,"Direct placement opportunity in the A2SV education cohort 5.","Custom-designed A2SV swag.","Partnership with Modus VC to assist with fundraising and tailored 1-on-1 expert support."]},this.thirdPrize={place:"Third",prize:"4,000",padding:"32px",color:"#CD7F32",image:"assets/bronze 1.png",awards:[...this.awards,"Direct placement opportunity in the A2SV education cohort 5."]},this.tracks=[{title:"Best Technical Implementation Award",description:"Recognizes the project with the most impressive and innovative technical implementation.",prize:"2500"},{title:"Most Potential for Positive Change Award",description:"Highlights the project that shows the greatest potential for making a positive impact and driving change.",prize:"2500"},{title:"Best User Experience Award",description:"Rewards the project that delivers an exceptional and intuitive user experience.",prize:"2500"},{title:"Cross-Domain Collaboration Award",description:"Acknowledges teams that effectively combine AI techniques with expertise from different fields.",prize:"2500"}],this.prizes=[this.secondPrize,this.firstPrize,this.thirdPrize]}ngAfterViewInit(){}ngOnInit(){}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-prizes"]],viewQuery:function(o,n){if(1&o&&e.Gf(F,5),2&o){let r;e.iGM(r=e.CRH())&&(n.videoIframe=r.first)}},decls:3,vars:0,consts:[["id","prizes",1,"flex","fade","min-h-screen","py-10","max-sm:px-2","max-md:py-10","max-xl:px-10","px-20","flex-col","justify-center"],[1,"mb-10"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0),e._UZ(1,"app-winner")(2,"div",1),e.qZA())},dependencies:[D],styles:[".fade[_ngcontent-%COMP%]{transition:opacity .5s}"]})}return t})();const R=[{path:"home",component:M},{path:"prizes",component:z}],Q={scrollPositionRestoration:"enabled",anchorScrolling:"enabled",scrollOffset:[0,64]};let V=(()=>{class t{static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275mod=e.oAB({type:t});static#i=this.\u0275inj=e.cJS({imports:[A.Bz.forRoot(R,Q),A.Bz]})}return t})(),O=(()=>{class t{constructor(){this._myData$=new g.X(null),this.myData$=this._myData$.asObservable(),this._waitingResponse$=new g.X(!1)}seedData(){const i=localStorage.getItem("messages");null==i?this.addMessage({content:"Hi I\u2019m Ifoki, I am here to answer any of your questions about the hackathon",role:"bot"}):this._myData$.next(JSON.parse(i))}setWaitingStatus(i){const o=localStorage.getItem("waitingStatus")?JSON.parse(localStorage.getItem("waitingStatus")):0,n=i?o+1:o-1;localStorage.setItem("waitingStatus",JSON.stringify(n)),this._waitingResponse$.next(n>0)}resetWaitingStatus(){localStorage.setItem("waitingStatus",JSON.stringify(0)),this._waitingResponse$.next(!1)}addMessage(i){const o=localStorage.getItem("messages")?JSON.parse(localStorage.getItem("messages")):[];o.push(i),localStorage.setItem("messages",JSON.stringify(o)),this._myData$.next(o)}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),x=(()=>{class t{constructor(){this.displayConsent=!1}showConsentUI(i){this.displayConsent=i}shouldShowConsentUI(){return this.displayConsent}getConsentStatus(){return null!==localStorage.getItem("consentGiven")}giveConsent(){localStorage.setItem("consentGiven","true"),this.displayConsent=!1}withdrawConsent(){localStorage.removeItem("consentGiven"),this.displayConsent=!0}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),q=(()=>{class t{constructor(i){this.consentService=i}loadPlugin(){const p=document.createElement("script");p.onerror=k=>{console.error("[termsfeed][pc-loader-1]","[ee][b1b476da]","plugin failed!",k)},p.async=!0,p.src="https://cdn.termsfeedtag.com/plugins/pc/v1/d55fc7bf462345899345196be3d8e53a/plugin-2.js",this.consentService.getConsentStatus()&&document.body.appendChild(p)}static#e=this.\u0275fac=function(o){return new(o||t)(e.LFG(x))};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Y(t,a){if(1&t&&(e.TgZ(0,"li")(1,"div",10)(2,"div",11),e.O4$(),e.TgZ(3,"svg",12),e._UZ(4,"path",13),e.qZA()(),e.kcU(),e.TgZ(5,"div",14)(6,"p",15),e._uU(7),e.qZA()()()()),2&t){const i=a.$implicit;e.xp6(7),e.hij(" ",i.text," ")}}const G=(t,a)=>({" border-[1.5px] border-gray-300 text-gray-500 cursor-not-allowed disabled":t,"bg-purple-700":a}),$=(t,a)=>({"border-[1.5px] border-gray-300 text-gray-500 cursor-not-allowed disabled":t,"bg-purple-700":a});let E=(()=>{class t{constructor(){this.registrationDeadline=new Date(2023,7,31,23,59,59),this.isIndividual=!0,this.registrationButtonVisible=!0,this.criterieas=[{text:"Every team must have a minimum of 3 members and a maximum of 5 members."},{text:"Every team member must be located in Africa."},{text:"All team members must be students currently enrolled in a University, College (undergrad, Associate, Diploma program), or High School, with a graduation year after January 2024. Students currently pursuing or who have completed a Master's degree or higher are not eligible to participate."},{text:"If you don't have a team you can register individually and we'll match you with other talented developers, designers, and problem solvers."}],this.individualCriteria=[{text:"Are you currently studying or have you completed your studies in a University, College (undergraduate, Associate, or Diploma program), or High School in Africa?",answered:null},{text:"Is your graduation year after January 2024?",answered:null},{text:"Are you already in a team of 4 - 5 or are you willing to be grouped into teams by the organizers?",answered:null}],this.teamCriteria=[{text:"Are all of your team members currently studying or have completed their studies in a University, College (undergraduate, Associate, or Diploma program), or High School in Africa?",answered:null},{text:"Are the graduation years of all team members after January 2024?",answered:null},{text:"Is each team member registered only to one team?",answered:null},{text:"Does your team have 3 to 5 members?",answered:null}],this.criteria=this.individualCriteria}ngOnInit(){setInterval(()=>{this.updateRegistrationButtonVisibility()},1e3)}updateRegistrationButtonVisibility(){this.registrationButtonVisible=new Date{class t{constructor(){this.modalOpenSource=new g.X(!1),this.modalOpen$=this.modalOpenSource.asObservable(),this.eligibilityCheckedSource=new g.X(!1),this.eligibilityChecked$=this.eligibilityCheckedSource.asObservable(),this.showEligibilitySource=new g.X(!1),this.showEligibility$=this.showEligibilitySource.asObservable()}openModal(){this.modalOpenSource.next(!0)}closeModal(){this.modalOpenSource.next(!1),this.showEligibilitySource.next(!1)}checkEligibility(){this.eligibilityCheckedSource.next(!0),this.showEligibilitySource.next(!1)}showEligibility(){this.showEligibilitySource.next(!0)}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function W(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",35)(1,"a",36),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.setActiveButton("signup","https://t.me/+yqzQh04AAXRjZGQ0"))}),e.O4$(),e.TgZ(2,"svg",37),e._UZ(3,"path",12),e.qZA()(),e.kcU(),e.TgZ(4,"a",38),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.setActiveButton("signup","https://www.facebook.com/africatosiliconvalley"))}),e.O4$(),e.TgZ(5,"svg",39),e._UZ(6,"path",15),e.qZA()(),e.kcU(),e.TgZ(7,"a",16),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.setActiveButton("signup","https://www.instagram.com/a2sv_org/?hl=en"))}),e.O4$(),e.TgZ(8,"svg",17),e._UZ(9,"path",18),e.qZA()(),e.kcU(),e.TgZ(10,"a",40),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.setActiveButton("signup","https://twitter.com/A2_SV"))}),e.O4$(),e.TgZ(11,"svg",20),e._UZ(12,"path",21),e.qZA()(),e.kcU(),e.TgZ(13,"a",41),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.setActiveButton("signup","https://www.linkedin.com/company/a2sv/"))}),e.O4$(),e.TgZ(14,"svg",23),e._UZ(15,"path",24)(16,"circle",25),e.qZA()()()}}function K(t,a){if(1&t){const i=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"div",42),e._UZ(1,"div",43),e.TgZ(2,"div",44)(3,"div",45)(4,"button",46),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.toggleMenu())}),e.TgZ(5,"span",31),e._uU(6,"Close menu"),e.qZA(),e.TgZ(7,"div",47),e.O4$(),e.TgZ(8,"svg",32),e._UZ(9,"path",48),e.qZA()()()(),e.kcU(),e.TgZ(10,"div",49)(11,"div",50)(12,"div",51)(13,"a",52),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return n.scrollToSection("landing"),e.KtG(n.toggleMenu())}),e._uU(14,"Home"),e.qZA(),e.TgZ(15,"a",52),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return n.scrollToSection("prize2024"),e.KtG(n.toggleMenu())}),e._uU(16,"\u{1f3c6} $30K Prize"),e.qZA(),e.TgZ(17,"a",52),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return n.scrollToSection("info"),e.KtG(n.toggleMenu())}),e._uU(18,"Information"),e.qZA(),e.TgZ(19,"a",52),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return n.scrollToSection("about-us"),e.KtG(n.toggleMenu())}),e._uU(20,"About Us"),e.qZA(),e.TgZ(21,"a",52),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return n.scrollToSection("partners"),e.KtG(n.toggleMenu())}),e._uU(22,"A2SV Interview Partners"),e.qZA()()()()()()}}let X=(()=>{class t{constructor(i,o,n){this.elRef=i,this.modalService=o,this.registerService=n,this.showMenu=!1,this.isModalOpenArray=!1,this.currentSection="home",this.showModal=!1,this.dropdownVisible=!1}toggleMenu(){this.showMenu=!this.showMenu}openModal(i){i.stopPropagation(),this.modalService.openModal()}openRegisterModal(){this.registerService.openModal()}scrollToSection(i){this.currentSection=i;const o=!document.body.classList.contains("overflow-hidden"),n=document.getElementById(i);null!=n&&o&&n.scrollIntoView({behavior:"smooth"})}setActiveButton(i,o){window.open(o,"_blank")}navigateToEligiblity(){window.document.getElementById("register_modal")?.close(),this.scrollToSection("eligibility")}toggleDropdown(){this.dropdownVisible=!this.dropdownVisible}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(e.SBq),e.Y36(v),e.Y36(_))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-header"]],inputs:{currentSection:"currentSection"},decls:48,vars:17,consts:[[1,"fixed","text-white","inset-x-0","top-0","z-50"],["aria-label","Global",1,"flex","gap-x-4","backdrop-blur-lg","bg-black","bg-opacity-30","items-center","justify-between","border-b","border-gray-600","border-spacing-0.5","max-md:p-2","p-4","lg:px-16"],["href","https://a2sv.org","target","_blank","rel",""],["src","assets/A2SV_LOGO%20(2).svg","alt","a2sv logo",1,"w-32","max-sm:w-22","max-lg:w-24","max-md:w-20"],[1,"hidden","justify-between","gap-x-4","lg:flex"],[3,"click"],[1,"flex","text-sm","bg-purple-700","hover:bg-purple-500","text-white","py-2","px-4","rounded-full","cursor-pointer","transition","duration-300","ease-in-out","ml-2",3,"click"],[1,"hidden","lg:flex","ml-1"],[1,"px-3","hidden","sm:flex"],[1,"inline-flex","sm:ml-auto","sm:mt-0","gap-x-3","items-center","justify-between"],["target","_blank","href","https://t.me/+yqzQh04AAXRjZGQ0",1,"ml-2","text-gray-100","hover:text-indigo-600","mb-1",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","white","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M29.919 6.163l-4.225 19.925c-0.319 1.406-1.15 1.756-2.331 1.094l-6.438-4.744-3.106 2.988c-0.344 0.344-0.631 0.631-1.294 0.631l0.463-6.556 11.931-10.781c0.519-0.462-0.113-0.719-0.806-0.256l-14.75 9.288-6.35-1.988c-1.381-0.431-1.406-1.381 0.288-2.044l24.837-9.569c1.15-0.431 2.156 0.256 1.781 2.013z"],["target","_blank","href","https://www.facebook.com/africatosiliconvalley",1,"text-gray-100","hover:text-indigo-600","mr-2",3,"click"],["fill","white","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"],["target","_blank","href","https://www.instagram.com/a2sv_org/?hl=en",1,"text-gray-100","align-middle","hover:text-indigo-600",3,"click"],["fill","white","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 448 512",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M224 202.66A53.34 53.34 0 10277.36 256 53.38 53.38 0 00224 202.66zm124.71-41a54 54 0 00-30.41-30.41c-21-8.29-71-6.43-94.3-6.43s-73.25-1.93-94.31 6.43a54 54 0 00-30.41 30.41c-8.28 21-6.43 71.05-6.43 94.33s-1.85 73.27 6.47 94.34a54 54 0 0030.41 30.41c21 8.29 71 6.43 94.31 6.43s73.24 1.93 94.3-6.43a54 54 0 0030.41-30.41c8.35-21 6.43-71.05 6.43-94.33s1.92-73.26-6.43-94.33zM224 338a82 82 0 1182-82 81.9 81.9 0 01-82 82zm85.38-148.3a19.14 19.14 0 1119.13-19.14 19.1 19.1 0 01-19.09 19.18zM400 32H48A48 48 0 000 80v352a48 48 0 0048 48h352a48 48 0 0048-48V80a48 48 0 00-48-48zm-17.12 290c-1.29 25.63-7.14 48.34-25.85 67s-41.4 24.63-67 25.85c-26.41 1.49-105.59 1.49-132 0-25.63-1.29-48.26-7.15-67-25.85s-24.63-41.42-25.85-67c-1.49-26.42-1.49-105.61 0-132 1.29-25.63 7.07-48.34 25.85-67s41.47-24.56 67-25.78c26.41-1.49 105.59-1.49 132 0 25.63 1.29 48.33 7.15 67 25.85s24.63 41.42 25.85 67.05c1.49 26.32 1.49 105.44 0 131.88z"],["target","_blank","href","https://twitter.com/A2_SV",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["viewBox","0 0 300 300","fill","white","xmlns","http://www.w3.org/2000/svg",1,"w-3","h-3","sm:w-4","sm:h-4"],["d","M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"],["target","_blank","href","https://www.linkedin.com/company/a2sv/",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["fill","white","stroke","white","stroke-linecap","round","stroke-linejoin","round","stroke-width","0","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["stroke","none","d","M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"],["cx","4","cy","4","r","2","stroke","none"],[1,"block","sm:hidden","relative"],[1,"text-gray-100","hover:text-indigo-600",3,"click"],["class","absolute flex flex-col mt-4 space-y-2 bg-black bg-opacity-30 p-3",4,"ngIf"],[1,"flex","lg:hidden"],["type","button",1,"-m-2.5","inline-flex","items-center","justify-center","rounded-md","p-2.5","text-gray-700",3,"click"],[1,"sr-only"],["fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","white","aria-hidden","true",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","d","M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"],["class","lg:hidden relative text-white","role","dialog","aria-modal","true",4,"ngIf"],[1,"absolute","flex","flex-col","mt-4","space-y-2","bg-black","bg-opacity-30","p-3"],["target","_blank","href","https://t.me/+yqzQh04AAXRjZGQ0",1,"text-gray-100","hover:text-indigo-600",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","white","viewBox","0 0 24 24",1,"w-4","h-4"],["target","_blank","href","https://www.facebook.com/africatosiliconvalley",1,"text-gray-100","hover:text-indigo-600",3,"click"],["fill","white","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4"],["target","_blank","href","https://twitter.com/A2_SV",1,"text-gray-100","hover:text-indigo-600",3,"click"],["target","_blank","href","https://www.linkedin.com/company/a2sv/",1,"text-gray-100","hover:text-indigo-600",3,"click"],["role","dialog","aria-modal","true",1,"lg:hidden","relative","text-white"],[1,"fixed","inset-0","z-50"],[1,"fixed","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-black","px-6","py-6","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],[1,"flex","items-center","justify-between"],["type","button",1,"-m-2.5","rounded-md","p-2.5","text-white",3,"click"],[1,"text-white"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],[1,"mt-6","flow-root"],[1,"-my-6","divide-y","divide-gray-500/10"],[1,"space-y-2","py-6"],[1,"-mx-3","block","rounded-lg","px-3","py-2","text-base","font-semibold","leading-7","text-gray-200","hover:bg-gray-800",3,"click"]],template:function(o,n){1&o&&(e.TgZ(0,"header",0)(1,"nav",1)(2,"a",2),e._UZ(3,"img",3),e.qZA(),e.TgZ(4,"div",4)(5,"a",5),e.NdJ("click",function(){return n.scrollToSection("landing")}),e._uU(6,"Home"),e.qZA(),e.TgZ(7,"a",5),e.NdJ("click",function(){return n.scrollToSection("prize2024")}),e._uU(8,"\u{1f3c6} $30K Prize"),e.qZA(),e.TgZ(9,"a",5),e.NdJ("click",function(){return n.scrollToSection("info")}),e._uU(10,"Information"),e.qZA(),e.TgZ(11,"a",5),e.NdJ("click",function(){return n.scrollToSection("about-us")}),e._uU(12,"About Us"),e.qZA(),e.TgZ(13,"a",5),e.NdJ("click",function(){return n.scrollToSection("partners")}),e._uU(14,"Interview Partners"),e.qZA()(),e.TgZ(15,"button",6),e.NdJ("click",function(){return n.openRegisterModal()}),e._uU(16," Register "),e.TgZ(17,"span",7),e._uU(18,"Now"),e.qZA()(),e.TgZ(19,"div",8)(20,"span",9)(21,"a",10),e.NdJ("click",function(){return n.setActiveButton("signup","https://t.me/+yqzQh04AAXRjZGQ0")}),e.O4$(),e.TgZ(22,"svg",11),e._UZ(23,"path",12),e.qZA()(),e.kcU(),e.TgZ(24,"a",13),e.NdJ("click",function(){return n.setActiveButton("signup","https://www.facebook.com/africatosiliconvalley")}),e.O4$(),e.TgZ(25,"svg",14),e._UZ(26,"path",15),e.qZA()(),e.kcU(),e.TgZ(27,"a",16),e.NdJ("click",function(){return n.setActiveButton("signup","https://www.instagram.com/a2sv_org/?hl=en")}),e.O4$(),e.TgZ(28,"svg",17),e._UZ(29,"path",18),e.qZA()(),e.kcU(),e.TgZ(30,"a",19),e.NdJ("click",function(){return n.setActiveButton("signup","https://twitter.com/A2_SV")}),e.O4$(),e.TgZ(31,"svg",20),e._UZ(32,"path",21),e.qZA()(),e.kcU(),e.TgZ(33,"a",22),e.NdJ("click",function(){return n.setActiveButton("signup","https://www.linkedin.com/company/a2sv/")}),e.O4$(),e.TgZ(34,"svg",23),e._UZ(35,"path",24)(36,"circle",25),e.qZA()()()(),e.kcU(),e.TgZ(37,"div",26)(38,"button",27),e.NdJ("click",function(){return n.toggleDropdown()}),e._uU(39," Medias "),e.qZA(),e.YNc(40,W,17,0,"div",28),e.qZA(),e.TgZ(41,"div",29)(42,"button",30),e.NdJ("click",function(){return n.toggleMenu()}),e.TgZ(43,"span",31),e._uU(44,"Open main menu"),e.qZA(),e.O4$(),e.TgZ(45,"svg",32),e._UZ(46,"path",33),e.qZA()()()(),e.YNc(47,K,23,0,"div",34),e.qZA()),2&o&&(e.xp6(5),e.Gre("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","landing"==n.currentSection.toString()?"text-indigo-600":"text-gray-200"," "),e.xp6(2),e.Gre("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","prize2024"==n.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.xp6(2),e.Gre("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","info"==n.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.xp6(2),e.Gre("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","about-us"==n.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.xp6(2),e.Gre("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","partners"==n.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.xp6(27),e.Q6J("ngIf",n.dropdownVisible),e.xp6(7),e.Q6J("ngIf",n.showMenu))},dependencies:[s.O5]})}return t})();var b=l(4402);function ee(t,a){if(1&t&&e._UZ(0,"img",8),2&t){const i=e.oxw().$implicit;e.s9C("src",i.img,e.LSH)}}function te(t,a){if(1&t&&(e.ynx(0),e.YNc(1,ee,1,1,"ng-template",7),e.BQk()),2&t){const i=a.index;e.xp6(1),e.s9C("id","slide-"+i)}}let ie=(()=>{class t{constructor(){this.slides=[{img:"assets/Google_logo.svg"},{img:"assets/Bloomberg_logo.svg"},{img:"assets/Palantir_Technologies_logo%201.svg"},{img:"assets/Databricks_logo.svg"},{img:"assets/Meta_logo.svg"}],this.slideConfig={slidesToShow:4,slidesToScroll:1,autoplay:!0,autoplaySpeed:0,speed:2500,pauseOnHover:!1,cssEase:"linear",responsive:[{breakpoint:1280,settings:{slidesToShow:3}},{breakpoint:1024,settings:{slidesToShow:2}},{breakpoint:640,settings:{slidesToShow:1}}]},this.customOptions={loop:!0,mouseDrag:!1,touchDrag:!1,pullDrag:!1,autoplay:!0,autoplayTimeout:2500,autoplaySpeed:2e3,autoplayHoverPause:!0,dots:!1,nav:!1,responsive:{0:{items:1},400:{items:2},740:{items:3},940:{items:4}}}}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-potential-partners"]],decls:9,vars:2,consts:[[1,"w-full","py-8","flex","flex-col","items-center"],[1,"sm:text-4xl","text-center","text-2xl","font-medium","mb-4","text-white"],[1,"w-full","my-10",3,"options"],[4,"ngFor","ngForOf"],["onclick","sponsor_us_modal.showModal()",1,"mx-auto","rounded-full","px-5","py-2.5","overflow-hidden","group","bg-gradient-to-r","from-indigo-600","to-pink-500","relative","hover:bg-gradient-to-r","hover:from-indigo-600","hover:to-pink-500","text-white","transition-all","cursor-pointer","ease-out","duration-300"],[1,"absolute","right-0","w-8","-mt-6","transition-all","duration-1000","transform","translate-x-12","bg-white","opacity-10","rotate-12","group-hover:-translate-x-40","ease"],[1,"relative","mb-5"],["carouselSlide","","class"," mx-auto flex justify-center ",3,"id"],[1,"w-full","h-24","py-5","px-16",3,"src"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0)(1,"p",1),e._uU(2,"Interview Partners"),e.qZA(),e.TgZ(3,"owl-carousel-o",2),e.YNc(4,te,2,1,"ng-container",3),e.qZA(),e.TgZ(5,"a",4),e._UZ(6,"span",5),e.TgZ(7,"span",6),e._uU(8,"Support Us"),e.qZA()()()),2&o&&(e.xp6(3),e.Q6J("options",n.customOptions),e.xp6(1),e.Q6J("ngForOf",n.slides))},dependencies:[s.sg,b.Fy,b.Mp],styles:[".owl-carousel[_ngcontent-%COMP%] .owl-stage-outer[_ngcontent-%COMP%]{overflow:hidden}.owl-carousel[_ngcontent-%COMP%] .owl-stage[_ngcontent-%COMP%]{display:flex;transition:transform 2s linear}.owl-carousel[_ngcontent-%COMP%] .owl-item[_ngcontent-%COMP%]{flex-shrink:0}"]})}return t})();const ne=[{number:"1",color:"#41516C",title:"Registration",desc:"Students to register for the African-wide hackathon focused on AI.",year:"1 June - 6 July, 2024",final:!1},{number:"2",color:"#3081D0",title:"Project Idea Submission and Filtration",desc:"During this phase, participants submit their project ideas for consideration. Ideas undergo thorough evaluation and filtering to ensure alignment with hackathon objectives and feasibility for development.",year:"8-12 July, 2024",final:!1},{number:"3",color:"#FFB534",title:"Workshops",desc:"Our initial workshops provide participants with an in-depth understanding of AI, hackathon dynamics, and idea generation.",year:"13-14 July, 2024",final:!1},{number:"4",color:"#163020",title:"Quarterfinals",desc:"Participants undertake a virtual hackathon, competing for a place among the top 30 projects and receiving expert mentorship along the way.",year:"16-20 July, 2024",final:!1},{number:"5",color:"#7BD3EA",title:"Semifinals",desc:"Continued guidance from advisors help refine and optimize the projects of the remaining teams. This phase is marked by iterative feedback and project refinement.",year:"July 28 - September 6, 2024",final:!1},{number:"6",color:"#41516C",title:"Grand Finale",desc:" The top 8 teams are flown to Ethiopia for an all-expense-paid in-person event. They\u2019ll compete for a total prize pool of $30,000, presenting their projects to a distinguished jury.",year:"21-26 , September 2024"}];function oe(t,a){if(1&t&&(e.TgZ(0,"li")(1,"div",3)(2,"div",4),e.O4$(),e.TgZ(3,"svg",5),e._UZ(4,"path",6)(5,"path",7),e.qZA(),e.kcU(),e.TgZ(6,"p"),e._uU(7),e.qZA()()(),e.TgZ(8,"div",8),e._uU(9),e.qZA(),e.TgZ(10,"div",9),e._uU(11),e.qZA()()),2&t){const i=a.$implicit;e.Akn("--accent-color: "+i.color),e.xp6(7),e.Oqu(i.year),e.xp6(2),e.hij(" ",i.title," "),e.xp6(2),e.hij(" ",i.desc," ")}}let ae=(()=>{class t{constructor(){this.years=[]}ngOnInit(){this.years=ne}closeTimelineModal(){}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-timeline"]],decls:4,vars:1,consts:[[1,""],[1,"overflow-auto","py-16","modal-scrollbar"],[3,"style",4,"ngFor","ngForOf"],[1,"date"],[1,"flex","space-x-3","items-center"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-6","h-6","flex-none","text-white"],["d","M12.75 12.75a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM7.5 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM8.25 17.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM9.75 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM10.5 17.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM12 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM12.75 17.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM14.25 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM15 17.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM16.5 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM15 12.75a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM16.5 13.5a.75.75 0 100-1.5.75.75 0 000 1.5z"],["fill-rule","evenodd","d","M6.75 2.25A.75.75 0 017.5 3v1.5h9V3A.75.75 0 0118 3v1.5h.75a3 3 0 013 3v11.25a3 3 0 01-3 3H5.25a3 3 0 01-3-3V7.5a3 3 0 013-3H6V3a.75.75 0 01.75-.75zm13.5 9a1.5 1.5 0 00-1.5-1.5H5.25a1.5 1.5 0 00-1.5 1.5v7.5a1.5 1.5 0 001.5 1.5h13.5a1.5 1.5 0 001.5-1.5v-7.5z","clip-rule","evenodd"],[1,"title","text-gray-200","font-semibold","text-lg"],[1,"descr","text-gray-400"]],template:function(o,n){1&o&&(e.TgZ(0,"div",0)(1,"div",1)(2,"ul"),e.YNc(3,oe,12,5,"li",2),e.qZA()()()),2&o&&(e.xp6(3),e.Q6J("ngForOf",n.years))},dependencies:[s.sg],styles:['h1[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{--col-gap: 2rem;--row-gap: 2rem;--line-w: .25rem;display:grid;grid-template-columns:var(--line-w) 1fr;grid-auto-columns:max-content;column-gap:var(--col-gap);list-style:none;width:min(60rem,90%);margin-inline:auto}ul[_ngcontent-%COMP%]:before{content:"";grid-column:1;grid-row:1 / span 20;background:rgb(225,225,225);border-radius:calc(var(--line-w) / 2)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child){margin-bottom:var(--row-gap)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{grid-column:2;--inlineP: 1.5rem;margin-inline:var(--inlineP);grid-row:span 2;display:grid;grid-template-rows:min-content min-content min-content}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{--dateH: 3rem;height:var(--dateH);margin-inline:calc(var(--inlineP) * -1);text-align:center;background-color:var(--accent-color);color:#fff;font-size:1.25rem;font-weight:700;display:grid;place-content:center;position:relative;border-radius:calc(var(--dateH) / 2) 0 0 calc(var(--dateH) / 2)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]:before{content:"";width:var(--inlineP);aspect-ratio:1;background:var(--accent-color);background-image:linear-gradient(rgba(0,0,0,.2) 100%,transparent);position:absolute;top:100%;clip-path:polygon(0 0,100% 0,0 100%);right:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]:after{content:"";position:absolute;width:2rem;aspect-ratio:1;background:var(--bgColor);border:.3rem solid var(--accent-color);border-radius:50%;top:50%;transform:translate(50%,-50%);right:calc(100% + var(--col-gap) + var(--line-w) / 2)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .descr[_ngcontent-%COMP%]{background:var(--bgColor);position:relative;padding-inline:1.5rem}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{overflow:hidden;padding-block-start:1.5rem;padding-block-end:1rem;font-weight:500}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .descr[_ngcontent-%COMP%]{padding-block-end:1.5rem;font-weight:300}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]:before, ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .descr[_ngcontent-%COMP%]:before{content:"";position:absolute;width:90%;height:.5rem;background:rgba(0,0,0,.5);left:50%;border-radius:50%;filter:blur(4px);transform:translate(-50%,50%)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]:before{bottom:calc(100% + .125rem)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .descr[_ngcontent-%COMP%]:before{z-index:-1;bottom:.25rem}@media (min-width: 40rem){ul[_ngcontent-%COMP%]{grid-template-columns:1fr var(--line-w) 1fr}ul[_ngcontent-%COMP%]:before{grid-column:2}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd){grid-column:1}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(2n){grid-column:3}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(2){grid-row:2/4}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd) .date[_ngcontent-%COMP%]:before{clip-path:polygon(0 0,100% 0,100% 100%);left:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd) .date[_ngcontent-%COMP%]:after{transform:translate(-50%,-50%);left:calc(100% + var(--col-gap) + var(--line-w) / 2)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd) .date[_ngcontent-%COMP%]{border-radius:0 calc(var(--dateH) / 2) calc(var(--dateH) / 2) 0}}.modal-scrollbar[_ngcontent-%COMP%]{scrollbar-width:thin;scrollbar-color:green blue}']})}return t})(),re=(()=>{class t{constructor(i){this.sanitizer=i,this.steps=[{number:"1",title:"Registration",description:"Students to register for the African-wide hackathon focused on AI.",date:"1 June - 6 July, 2024",final:!1},{number:"2",title:"Project Idea Submission and Filtration",description:"During this phase, participants submit their project ideas for consideration. Ideas undergo thorough evaluation and filtering to ensure alignment with hackathon objectives and feasibility for development.",date:"8-12 July, 2024",final:!1},{number:"3",title:"Workshops",description:"Our initial workshops provide participants with an in-depth understanding of AI, hackathon dynamics, and idea generation.",date:"13-14 July, 2024",final:!1},{number:"4",title:"Quarterfinals",description:"Participants undertake a virtual hackathon, competing for a place among the top 30 projects and receiving expert mentorship along the way.",date:"16-20 July, 2024",final:!1},{number:"5",title:"Semifinals",description:"Continued guidance from advisors help refine and optimize the projects of the remaining teams. This phase is marked by iterative feedback and project refinement.",date:"July 28 - September 6, 2024",final:!1}],this.calendarLink="https://calendar.google.com/calendar/u/0?cid=Y18wYjU0ZmZlYjIxZWFjYmNiNTZiM2RhNzkwNzMyYmY5MTg4OTdkNWJjODQzMTJlMWI3YmUzOTlmYjFhN2QzYTFlQGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20",this.workshops=[{title:"AI",description:"Learn about the basics of AI and how it can be used to solve real-world problems.",author:"Dr. David Moinina Sengeh",authorDescription:"Chief Innovation Officer, Government of Sierra Leone",link:this.sanitizer.bypassSecurityTrustUrl("https://www.youtube.com/embed/7FlRWgVGmUA?si=M_80yBftxegmGaUz")},{title:"Hackathon Dynamics",description:"Learn about the basics of AI and how it can be used to solve real-world problems.",author:"Dr. David Moinina Sengeh",authorDescription:"Chief Innovation Officer, Government of Sierra Leone",link:this.sanitizer.bypassSecurityTrustUrl("https://www.youtube.com/embed/7FlRWgVGmUA?si=M_80yBftxegmGaUz")},{title:"Idea Generation",description:"Learn about the basics of AI and how it can be used to solve real-world problems.",author:"Dr. David Moinina Sengeh",authorDescription:"Chief Innovation Officer, Government of Sierra Leone",link:this.sanitizer.bypassSecurityTrustUrl("https://www.youtube.com/embed/7FlRWgVGmUA?si=M_80yBftxegmGaUz")}]}setActiveButton(i,o){window.open(o,"_blank")}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(u.H7))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-info"]],decls:37,vars:0,consts:[["id","info",1,"min-h-screen","max-sm:py-0","py-6","max-sm:px-0","px-20"],[1,"w-full","h-full","relative","overflow-hidden","flex","flex-col","justify-center","items-center"],["src","assets/ccchaos%20(1).svg","alt","",1,"absolute","z-[-10]","-left-10","-bottom-10","w-[1080px]","max-sm:w-[720px]","aspect-[1]","opacity-70"],["src","assets/IMAGE.svg","alt","",1,"absolute","aspect-[1]","max-sm:hidden","top-0","right-0","max-lg:w-[240px]","w-[360px]"],[1,"container","relative","max-lg:px-4","max-sm:mt-4","px-12","pt-4","mt-12","flex","flex-col"],[1,"flex","flex-col","lg:flex-row","justify-center","gap-x-12","items-center"],[1,"sm:py-8","flex-1","mt-4","pt-4","sm:mt-0","sm:text-left"],[1,"sm:text-4xl","text-center","text-2xl","font-medium","mb-4","text-white"],[1,"mt-3","text-gray-300","leading-relaxed"],[1,"text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text","animate-text"],["href","https://form.typeform.com/to/XoEqw6vQ","target","_blank"],[1,"my-5","bg-purple-700","hover:bg-purple-500","text-white","text-sm","px-4","py-2","rounded-full","transition-transform","duration-300","ease-in-out","lg:ml-5",3,"click"],["src","https://res.cloudinary.com/eskalate/image/upload/v1714657509/Hackathon/certificateDay-min.jpg","alt","",1,"lg:w-1/2","flex-1","h-64","aspect-square","w-full","lg:h-96","sm:h-72","object-cover","object-center","rounded-xl"],[1,"sm:text-4xl","mt-5","text-center","text-2xl","font-medium","text-white"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0)(1,"div",1),e._UZ(2,"img",2)(3,"img",3),e.TgZ(4,"div",4)(5,"div",5)(6,"div",6)(7,"p",7),e._uU(8," About The Hackathon "),e.qZA(),e.TgZ(9,"p",8),e._uU(10," Our exciting multi-stage Hackathon, starts with "),e.TgZ(11,"span",9),e._uU(12,"Workshops"),e.qZA(),e._uU(13," from 13-14 July, 2024. You'll learn about AI, hackathon dynamics, and innovative idea generation. "),e.qZA(),e.TgZ(14,"p",8),e._uU(15," Then, from July 16-20, compete in the "),e.TgZ(16,"span",9),e._uU(17,"Quarter-finals"),e.qZA(),e._uU(18,", a virtual hackathon where you'll aim for a spot among the top 30 projects. Throughout, expert mentors will guide you. "),e.qZA(),e.TgZ(19,"p",8),e._uU(20," In the "),e.TgZ(21,"span",9),e._uU(22,"Semi-finals"),e.qZA(),e._uU(23," (July 28 - September 6, 2024), selected 40 teams will receive ongoing support to refine their projects with feedback. "),e.qZA(),e.TgZ(24,"p",8),e._uU(25," The "),e.TgZ(26,"span",9),e._uU(27,"Grand Finale"),e.qZA(),e._uU(28," on September 21-26 ,2024, is the ultimate showdown. The top 8 teams will fly to Ethiopia for an all-expense-paid event, competing for a $30,000 USD prize pool and presenting their projects to a distinguished jury. "),e.qZA(),e._UZ(29,"br"),e.TgZ(30,"a",10)(31,"button",11),e.NdJ("click",function(){return n.setActiveButton("register","https://form.typeform.com/to/XoEqw6vQ")}),e._uU(32," Sign up for event updates "),e.qZA()()(),e._UZ(33,"img",12),e.qZA()(),e.TgZ(34,"p",13),e._uU(35," Hackathon Timeline "),e.qZA(),e._UZ(36,"app-timeline"),e.qZA()())},dependencies:[ae]})}return t})();var d=l(95),y=l(1474);let se=(()=>{class t{constructor(i){this.http=i}getIpAddress(){return this.http.get("https://api.ipify.org?format=json")}static#e=this.\u0275fac=function(o){return new(o||t)(e.LFG(y.eN))};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var le=l(6306),ce=l(2096);let de=(()=>{class t{constructor(i){this.httpClient=i,this.errorMsg=""}sendMessage(i,o){return this.httpClient.post("https://a2sv-generative-ai-hackathon-lylswf275a-zf.a.run.app/api/v1/chats",{ip_address:o,query:i}).pipe((0,le.K)(n=>(this.errorMsg=n.error instanceof ErrorEvent?`Error: ${n.error.message}`:this.getServerErrorMessage(n),(0,ce.of)({message:this.errorMsg}))))}getServerErrorMessage(i){switch(i.status){case 429:return"You have reached your daily limit. please try again later";case 404:return"Not Found";case 403:return"Access denied";case 500:return"Unknown error has happened try again";case 0:return"Please Check Your Internet Connection";default:return"Unknown Server Error"}}static#e=this.\u0275fac=function(o){return new(o||t)(e.LFG(y.eN))};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const ue=["scrollableContainer"],me=["fullScreenScrollableContainer"];function ge(t,a){if(1&t&&(e.TgZ(0,"div",25)(1,"div",26)(2,"div",27),e._UZ(3,"img",28),e.qZA()(),e.TgZ(4,"div",29)(5,"p",30),e._uU(6),e.qZA()()()),2&t){const i=e.oxw().$implicit;e.xp6(6),e.hij(" ",i.content," ")}}function pe(t,a){if(1&t&&(e.TgZ(0,"div",31)(1,"div",26)(2,"div",27),e._UZ(3,"img",32),e.qZA()(),e.TgZ(4,"div",29)(5,"p",30),e._uU(6),e.qZA()()()),2&t){const i=e.oxw().$implicit;e.xp6(6),e.hij(" ",i.content," ")}}function he(t,a){if(1&t&&(e.TgZ(0,"div"),e.YNc(1,ge,7,1,"div",23)(2,pe,7,1,"div",24),e.qZA()),2&t){const i=a.$implicit;e.xp6(1),e.Q6J("ngIf","bot"===i.role),e.xp6(1),e.Q6J("ngIf","user"===i.role)}}function fe(t,a){1&t&&(e.TgZ(0,"div",33)(1,"div",34)(2,"div",35),e._UZ(3,"div",36)(4,"div",37),e.qZA()()())}function ve(t,a){if(1&t&&(e.TgZ(0,"div",25)(1,"div",26)(2,"div",27),e._UZ(3,"img",28),e.qZA()(),e.TgZ(4,"div",38),e._uU(5),e.qZA()()),2&t){const i=e.oxw().$implicit;e.xp6(5),e.Oqu(i.content)}}function _e(t,a){if(1&t&&(e.TgZ(0,"div",31)(1,"div",26)(2,"div",27),e._UZ(3,"img",32),e.qZA()(),e.TgZ(4,"div",38),e._uU(5),e.qZA()()),2&t){const i=e.oxw().$implicit;e.xp6(5),e.Oqu(i.content)}}function we(t,a){if(1&t&&(e.TgZ(0,"div"),e.YNc(1,ve,6,1,"div",23)(2,_e,6,1,"div",24),e.qZA()),2&t){const i=a.$implicit;e.xp6(1),e.Q6J("ngIf","bot"===i.role),e.xp6(1),e.Q6J("ngIf","user"===i.role)}}function xe(t,a){1&t&&(e.TgZ(0,"div",33)(1,"div",34)(2,"div",35),e._UZ(3,"div",36)(4,"div",37),e.qZA()()())}let be=(()=>{class t{constructor(i,o,n){this.ipService=i,this.chatService=o,this.localStorageService=n,this.isChatLoading=!1,this.messages=[],this.chatForm=new d.cw({message:new d.NI("",[d.kI.required])}),this.ipAddress="",this.closeChatEvent=new e.vpe,this.localStorageService.seedData(),this.localStorageService._waitingResponse$.subscribe(r=>{this.isChatLoading=r}),this.localStorageService._myData$.subscribe(r=>{this.messages=r})}ngOnInit(){this.fetchIpAddress()}fetchIpAddress(){this.ipService.getIpAddress().subscribe(i=>{this.ipAddress=i.ip},i=>{console.error("Failed to fetch IP address:",i)})}closeChat(){this.closeChatEvent.emit()}sendMessage(){this.isChatLoading=!0,this.localStorageService.addMessage({role:"user",content:this.chatForm.value.message}),this.localStorageService.setWaitingStatus(!0);const i=this.chatForm.value.message;try{this.chatService.sendMessage(i,this.ipAddress).subscribe(o=>{this.isChatLoading=!1,this.localStorageService.setWaitingStatus(!1),this.localStorageService.addMessage({role:"bot",content:o.message})})}catch{this.isChatLoading=!1}this.chatForm.reset()}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(se),e.Y36(de),e.Y36(O))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-bot"]],viewQuery:function(o,n){if(1&o&&(e.Gf(ue,5),e.Gf(me,5)),2&o){let r;e.iGM(r=e.CRH())&&(n.scrollableContainer=r.first),e.iGM(r=e.CRH())&&(n.fullScreenScrollableContainer=r.first)}},outputs:{closeChatEvent:"closeChatEvent"},decls:34,vars:10,consts:[[1,"flex","flex-col","max-lg:w-64","max-sm:w-48","items-end","w-full","h-full","shadow-2xl","bg-gray-900","rounded-xl"],[1,"bg-indigo-900","w-full","text-center","text-lg","flex-none","text-white","font-semibold","rounded-t-xl","p-4"],[1,"flex-1","max-lg:hidden","relative","w-full","p-6","overflow-y-auto",3,"scrollTop"],["scrollableContainer",""],[1,"space-y-2"],[4,"ngFor","ngForOf"],["class","w-1/2",4,"ngIf"],[1,"flex-none","flex","items-center","justify-between","w-full","p-3","border-t","border-opacity-10","border-white",3,"formGroup"],["formControlName","message","type","text","id","chat-input","placeholder","Type your message here...","name","message",1,"block","w-full","py-4","pl-4","mx-3","bg-gray-950","border","border-white","border-opacity-50","rounded-xl","focus:text-gray-200"],["id","helpdesk-popup-submit-button",3,"disabled","click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","fill","currentColor",1,"w-5","h-5","origin-center","text-indigo-800","transform","rotate-90"],["d","M10.894 2.553a1 1 0 00-1.788 0l-7 14a1 1 0 001.169 1.409l5-1.429A1 1 0 009 15.571V11a1 1 0 112 0v4.571a1 1 0 00.725.962l5 1.428a1 1 0 001.17-1.408l-7-14z"],["role","dialog","aria-modal","true",1,"lg:hidden","text-white"],[1,"fixed","flex","flex-col","justify-between","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-gray-900","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],[1,"flex","items-center","bg-indigo-900","py-6","justify-between"],["type","button",1,"rounded-md","text-gray-700",3,"click"],[1,"sr-only"],["fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor","aria-hidden","true",1,"h-6","w-6","text-white","ml-4"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],[1,"h-full","p-4","overflow-auto",3,"scrollTop"],["fullScreenScrollableContainer",""],["formControlName","message","type","text","placeholder","Type your message here...","name","message",1,"block","w-full","py-4","pl-4","mx-3","bg-gray-950","border","border-white","border-opacity-50","rounded-xl","focus:text-gray-200"],[3,"disabled","click"],["class","chat chat-start",4,"ngIf"],["class","chat chat-end",4,"ngIf"],[1,"chat","chat-start"],[1,"chat-image","avatar"],[1,"w-10","rounded-full"],["src","assets/avatar.png","alt","..."],[1,"chat-bubble"],[1,"break-words"],[1,"chat","chat-end"],["src","assets/user_avatar.png","alt","..."],[1,"w-1/2"],[1,"flex","items-center","mt-4","space-x-3","animate-pulse","delay-300"],[1,""],[1,"h-2.5","bg-gray-200","rounded-full","dark:bg-gray-700","w-32","mb-2"],[1,"w-48","h-2","bg-gray-200","rounded-full","dark:bg-gray-700"],[1,"chat-bubble","break-words"]],template:function(o,n){if(1&o&&(e.TgZ(0,"div",0)(1,"div",1)(2,"p"),e._uU(3,"A2SV Hackathon 2024 Bot"),e.qZA()(),e.TgZ(4,"div",2,3)(6,"div",4),e.YNc(7,he,3,2,"div",5)(8,fe,5,0,"div",6),e.qZA()(),e.TgZ(9,"form",7),e._UZ(10,"input",8),e.TgZ(11,"button",9),e.NdJ("click",function(){return n.sendMessage()}),e.O4$(),e.TgZ(12,"svg",10),e._UZ(13,"path",11),e.qZA()()(),e.kcU(),e.TgZ(14,"div",12)(15,"div",13)(16,"div",14)(17,"button",15),e.NdJ("click",function(){return n.closeChat()}),e.TgZ(18,"span",16),e._uU(19,"Close menu"),e.qZA(),e.O4$(),e.TgZ(20,"svg",17),e._UZ(21,"path",18),e.qZA()(),e.kcU(),e.TgZ(22,"p"),e._uU(23,"A2SV Hackathon 2024 Bot"),e.qZA(),e._UZ(24,"div"),e.qZA(),e.TgZ(25,"div",19,20),e.YNc(27,we,3,2,"div",5)(28,xe,5,0,"div",6),e.qZA(),e.TgZ(29,"form",7),e._UZ(30,"input",21),e.TgZ(31,"button",22),e.NdJ("click",function(){return n.sendMessage()}),e.O4$(),e.TgZ(32,"svg",10),e._UZ(33,"path",11),e.qZA()()()()()()),2&o){const r=e.MAs(5),c=e.MAs(26);e.xp6(4),e.Q6J("scrollTop",r.scrollHeight),e.xp6(3),e.Q6J("ngForOf",n.messages),e.xp6(1),e.Q6J("ngIf",n.isChatLoading),e.xp6(1),e.Q6J("formGroup",n.chatForm),e.xp6(2),e.Q6J("disabled",!n.chatForm.valid),e.xp6(14),e.Q6J("scrollTop",c.scrollHeight),e.xp6(2),e.Q6J("ngForOf",n.messages),e.xp6(1),e.Q6J("ngIf",n.isChatLoading),e.xp6(1),e.Q6J("formGroup",n.chatForm),e.xp6(2),e.Q6J("disabled",!n.chatForm.valid)}},dependencies:[s.sg,s.O5,d._Y,d.Fj,d.JJ,d.JL,d.sg,d.u]})}return t})(),ye=(()=>{class t{setActiveButton(i,o){window.open(o,"_blank")}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-footer"]],decls:28,vars:0,consts:[[1,"text-gray-200","body-font","border-white","border-opacity-50","border-t","py-8"],[1,"container","px-5","mx-auto","flex","items-center","sm:flex-row","flex-col"],[1,"flex","max-sm:order-2","title-font","font-medium","items-center","md:justify-start","justify-center","text-gray-200"],[1,"ml-3","mb-3","text-lg"],[1,"text-sm","max-sm:order-3","text-gray-200","sm:ml-4","sm:pl-4","sm:border-l-2","sm:border-gray-200","sm:py-2","sm:mt-0","mt-3",3,"click"],["href","https://a2sv.org","rel","noopener noreferrer","target","_blank",1,"text-gray-200","ml-1"],[1,"text-blue-500"],[1,"inline-flex","max-sm:mb-4","sm:ml-auto","sm:mt-0","gap-x-3","items-center","justify-between"],["target","_blank","href","https://t.me/+yqzQh04AAXRjZGQ0",1,"ml-2","text-gray-100","hover:text-indigo-600","mb-1",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M29.919 6.163l-4.225 19.925c-0.319 1.406-1.15 1.756-2.331 1.094l-6.438-4.744-3.106 2.988c-0.344 0.344-0.631 0.631-1.294 0.631l0.463-6.556 11.931-10.781c0.519-0.462-0.113-0.719-0.806-0.256l-14.75 9.288-6.35-1.988c-1.381-0.431-1.406-1.381 0.288-2.044l24.837-9.569c1.15-0.431 2.156 0.256 1.781 2.013z"],["target","_blank","href","https://www.facebook.com/africatosiliconvalley",1,"text-gray-100","hover:text-indigo-600","mr-2",3,"click"],["fill","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"],["target","_blank","href","https://www.instagram.com/a2sv_org/?hl=en",1,"text-gray-100","align-middle","hover:text-indigo-600",3,"click"],["fill","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 448 512",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M224 202.66A53.34 53.34 0 10277.36 256 53.38 53.38 0 00224 202.66zm124.71-41a54 54 0 00-30.41-30.41c-21-8.29-71-6.43-94.3-6.43s-73.25-1.93-94.31 6.43a54 54 0 00-30.41 30.41c-8.28 21-6.43 71.05-6.43 94.33s-1.85 73.27 6.47 94.34a54 54 0 0030.41 30.41c21 8.29 71 6.43 94.31 6.43s73.24 1.93 94.3-6.43a54 54 0 0030.41-30.41c8.35-21 6.43-71.05 6.43-94.33s1.92-73.26-6.43-94.33zM224 338a82 82 0 1182-82 81.9 81.9 0 01-82 82zm85.38-148.3a19.14 19.14 0 1119.13-19.14 19.1 19.1 0 01-19.09 19.18zM400 32H48A48 48 0 000 80v352a48 48 0 0048 48h352a48 48 0 0048-48V80a48 48 0 00-48-48zm-17.12 290c-1.29 25.63-7.14 48.34-25.85 67s-41.4 24.63-67 25.85c-26.41 1.49-105.59 1.49-132 0-25.63-1.29-48.26-7.15-67-25.85s-24.63-41.42-25.85-67c-1.49-26.42-1.49-105.61 0-132 1.29-25.63 7.07-48.34 25.85-67s41.47-24.56 67-25.78c26.41-1.49 105.59-1.49 132 0 25.63 1.29 48.33 7.15 67 25.85s24.63 41.42 25.85 67.05c1.49 26.32 1.49 105.44 0 131.88z"],["target","_blank","href","https://twitter.com/A2_SV",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["viewBox","0 0 300 300","fill","currentColor","xmlns","http://www.w3.org/2000/svg",1,"w-3","h-3","sm:w-4","sm:h-4"],["d","M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"],["target","_blank","href","https://www.linkedin.com/company/a2sv/",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["fill","currentColor","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","0","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["stroke","none","d","M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"],["cx","4","cy","4","r","2","stroke","none"]],template:function(o,n){1&o&&(e.TgZ(0,"footer",0)(1,"div",1)(2,"a",2)(3,"span",3),e._uU(4,"A2SV Hackathon \xa0"),e.qZA()(),e.TgZ(5,"p",4),e.NdJ("click",function(){return n.setActiveButton("signup","https://a2sv.org")}),e.TgZ(6,"a",5),e._uU(7,"\xa9 Copyright 2024 "),e.TgZ(8,"strong",6),e._uU(9,"A2SV Foundation"),e.qZA(),e._uU(10,". All rights reserved."),e.qZA()(),e.TgZ(11,"span",7)(12,"a",8),e.NdJ("click",function(){return n.setActiveButton("signup","https://t.me/+yqzQh04AAXRjZGQ0")}),e.O4$(),e.TgZ(13,"svg",9),e._UZ(14,"path",10),e.qZA()(),e.kcU(),e.TgZ(15,"a",11),e.NdJ("click",function(){return n.setActiveButton("signup","https://www.facebook.com/africatosiliconvalley")}),e.O4$(),e.TgZ(16,"svg",12),e._UZ(17,"path",13),e.qZA()(),e.kcU(),e.TgZ(18,"a",14),e.NdJ("click",function(){return n.setActiveButton("signup","https://www.instagram.com/a2sv_org/?hl=en")}),e.O4$(),e.TgZ(19,"svg",15),e._UZ(20,"path",16),e.qZA()(),e.kcU(),e.TgZ(21,"a",17),e.NdJ("click",function(){return n.setActiveButton("signup","https://twitter.com/A2_SV")}),e.O4$(),e.TgZ(22,"svg",18),e._UZ(23,"path",19),e.qZA()(),e.kcU(),e.TgZ(24,"a",20),e.NdJ("click",function(){return n.setActiveButton("signup","https://www.linkedin.com/company/a2sv/")}),e.O4$(),e.TgZ(25,"svg",21),e._UZ(26,"path",22)(27,"circle",23),e.qZA()()()()())}})}return t})();function ke(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",6)(1,"a",7),e.NdJ("click",function(){e.CHM(i);const n=e.oxw(2);return e.KtG(n.setActiveButton("a2sv","https://www.a2sv.org"))}),e._UZ(2,"span",8),e._uU(3,"Read more "),e.TgZ(4,"span",9),e._uU(5,"\u2192"),e.qZA()()()}if(2&t){const i=e.oxw().$implicit;e.xp6(1),e.s9C("href",i.footer,e.LSH)}}function Ce(t,a){if(1&t&&(e.TgZ(0,"div")(1,"div"),e._UZ(2,"img",2),e.qZA(),e.TgZ(3,"div")(4,"h1",3),e._uU(5),e.qZA(),e.TgZ(6,"p",4),e._uU(7),e.qZA(),e.TgZ(8,"p",4),e._uU(9),e.qZA(),e.YNc(10,ke,6,1,"div",5),e.qZA()()),2&t){const i=a.$implicit,o=a.index;e.Gre("",o%2==0?"bg-gradient-to-r from-indigo-950 to-black ":"bg-gradient-to-l from-indigo-950 to-black"," container my-12 rounded-3xl mx-auto flex flex-col md:flex-row py-5 px -3"),e.xp6(1),e.Gre("",o%2==0?"order-1 max-md:order-2":"order-2 max-md:order-2"," w-full md:w-1/2 ml-3"),e.xp6(1),e.s9C("src",i.image,e.LSH),e.xp6(1),e.Gre("",o%2==0?"order-2 lg:pl-24 md:pl-16 max-md:order-1":"order-1 lg:pr-24 md:pr-16 max-md:order-1"," lg:flex-grow md:w-1/2 flex flex-col md:items-start md:text-left items-center text-center"),e.xp6(2),e.Oqu(i.title),e.xp6(2),e.Oqu(i.description),e.xp6(2),e.Oqu(i.description1),e.xp6(1),e.Q6J("ngIf",null!=i.footer)}}let Ze=(()=>{class t{constructor(){this.contents=[{title:"About A2SV",description:"A2SV (Africa to Silicon Valley), a hub of innovation in the field of technology education, is a US-based nonprofit academy empowering Africa's tech revolution. With a unique blend of comprehensive software engineering training and tech-driven solutions, A2SV is more than an academy; it's a movement.",image:"assets/group_photo1.jpg",footer:"https://www.a2sv.org",description1:"Through collaborations with esteemed African universities like Addis Ababa University and the University of Ghana, and partnerships with tech titans such as Google, Meta, and Databricks, A2SV has created a thriving ecosystem for emerging talent since 2019. Our program is absolutely free, breaking down financial barriers, nurturing dreams, and democratizing the path to a tech-driven future."}]}setActiveButton(i,o){window.open(o,"_blank")}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-about-us"]],decls:2,vars:1,consts:[["id","about-us",1,"text-gray-400","bg-black","body-font","pt-24","px-20","max-md:px-4"],[3,"class",4,"ngFor","ngForOf"],["alt","a2sv students photo",1,"object-cover","object-center","rounded-3xl","aspect-[720/600]",3,"src"],[1,"title-font","sm:text-4xl","text-3xl","mb-4","font-medium","text-white"],[1,"mb-8","text-gray-300","leading-relaxed"],["class","relative border border-white border-opacity-50 my-6 rounded-full px-3 py-1 text-sm leading-6 text-gray-600 ring-1 ring-gray-900/10 hover:ring-gray-900/20",4,"ngIf"],[1,"relative","border","border-white","border-opacity-50","my-6","rounded-full","px-3","py-1","text-sm","leading-6","text-gray-600","ring-1","ring-gray-900/10","hover:ring-gray-900/20"],["target","_blank",1,"font-semibold","text-indigo-600",3,"href","click"],["aria-hidden","true",1,"absolute","inset-0"],["aria-hidden","true"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0),e.YNc(1,Ce,11,14,"div",1),e.qZA()),2&o&&(e.xp6(1),e.Q6J("ngForOf",n.contents))},dependencies:[s.sg,s.O5]})}return t})(),Te=(()=>{class t{constructor(i){this.modalService=i,this.closeModalEvent=new e.vpe}get isModalOpen(){return this.modalService.isModalOpen}closeModal(){this.modalService.closeModal()}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(v))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-what-we-provide"]],outputs:{closeModalEvent:"closeModalEvent"},decls:35,vars:0,consts:[[1,"text-gray-300","p-3","w-full","body-font","flex","flex-col","items-center","rounded-3xl","h-full","relative"],[1,"absolute","z-51","top-0","right-0","h-[32px]","w-[32px]","flex","justify-center","items-center","rounded-full","bg-gray-500","p-1","hover:scale-110","transition-transform","transform-gpu",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","viewBox","0 0 24 24","fill","none","stroke","white","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["x1","18","y1","6","x2","6","y2","18"],["x1","6","y1","6","x2","18","y2","18"],[1,"w-full","h-[80vh]","body-font","flex","flex-col","items-center","overflow-auto"],[1,"container","px-5","py-12","bg-random","max-md:bg-no-repeat"],[1,"flex","flex-col","text-center","w-full","mb-20"],[1,"sm:text-3xl","text-2xl","font-medium","title-font","mb-4","text-white"],[1,"lg:w-2/3","mx-auto","text-break","text-justify","justify-between"],[1,"flex","flex-wrap","justify-center"],[1,"xl:w-1/4","lg:w-full","md:w-full","sm:m-3","px-8","py-6","bg-slate-500","rounded","shadow-lg","transform","scale-100","transition-transform","duration-300","hover:scale-105","hover:bg-slate-300","hover:text-black","m-2"],[1,"p-2","border-gray-600","rounded"],[1,"text-lg","sm:text-2xl","font-[700]","mb-2","group-hover:text-purple-800"],[1,"leading-relaxed","text-base","mb-4"],[1,"xl:w-1/4","lg:w-full","md:w-full","sm:m-3","px-8","py-6","bg-slate-500","group","rounded","shadow-lg","transform","scale-100","transition-transform","duration-300","hover:scale-105","hover:bg-slate-300","hover:text-black","m-2"],[1,"text-lg","sm:text-2xl","font-bold","font","mb-2"],[1,"leading-relaxed","mb-4"],[1,"inline-flex","space-x-3","mb-6","justify-center","hover:border-indigo-600","border-white","border","border-opacity-50","rounded-full","px-6","py-2","text-white","hover:text-indigo-600","items-center","sm:justify-start","mt-2"],[1,"flex","flex-col","justify-center"],["href","https://t.me/+yqzQh04AAXRjZGQ0","target","_blank",1,"font-semibold"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0)(1,"button",1),e.NdJ("click",function(){return n.closeModal()}),e.O4$(),e.TgZ(2,"svg",2),e._UZ(3,"line",3)(4,"line",4),e.qZA()(),e.kcU(),e.TgZ(5,"div",5)(6,"div",6)(7,"div",7)(8,"h1",8),e._uU(9," What We Provide "),e.qZA(),e.TgZ(10,"p",9),e._uU(11," A2SV is dedicated to advancing African students by providing accessible and free education\u2014both remote and in-person\u2014to cultivate their data structure and algorithms, communication skills and problem solving skills. Our comprehensive program begins with a community education initiative, empowering students to create impactful software projects. Beyond skill development, our ultimate goal is to upskill students, connect them with top-tier tech companies like Google, Meta, Palantir, and Databricks, and inspire them to build innovative solutions that contribute to the progress of their communities. It's not just education; it's a transformative journey toward empowerment, opportunities, and sustainable growth in Africa's tech landscape. "),e.qZA()(),e.TgZ(12,"div",10)(13,"div",11)(14,"div",12)(15,"h2",13),e._uU(16," Community Education "),e.qZA(),e.TgZ(17,"p",14),e._uU(18," The Community Education Program is the entry to A2SV, allowing students to start their learning journey until the next intake season. "),e.qZA()()(),e.TgZ(19,"div",15)(20,"div",12)(21,"h2",16),e._uU(22," In-Person Education "),e.qZA(),e.TgZ(23,"p",14),e._uU(24," In-person program for talented students from Addis Ababa University, AASTU, and University of Ghana, offering hands-on training on campus. "),e.qZA()()(),e.TgZ(25,"div",11)(26,"div",12)(27,"h2",16),e._uU(28," Remote Education "),e.qZA(),e.TgZ(29,"p",17),e._uU(30," Remote education allows students from all over the world access to its high-quality education through a virtual setting. "),e.qZA()()()()(),e.TgZ(31,"div",18)(32,"div",19)(33,"a",20),e._uU(34,"Join Us"),e.qZA()()()()())},styles:[".border-gradient[_ngcontent-%COMP%]{border-width:4px;border-image:linear-gradient(to right,#6488e4,#ff6b81);border-image-slice:1}"]})}return t})();function Ae(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"p"),e._uU(3,"We use cookies to improve user experience. Do you consent?"),e.qZA(),e.TgZ(4,"div",3)(5,"button",4),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.giveConsent())}),e._uU(6," Accept "),e.qZA(),e.TgZ(7,"button",5),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.rejectConsent())}),e._uU(8," Reject "),e.qZA()()()()}}let Me=(()=>{class t{constructor(i){this.consentService=i}ngOnInit(){this.consentService.getConsentStatus()||this.consentService.showConsentUI(!0)}showConsent(){return this.consentService.shouldShowConsentUI()}giveConsent(){this.consentService.giveConsent()}rejectConsent(){this.consentService.withdrawConsent(),this.consentService.showConsentUI(!1)}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(x))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-consent"]],decls:1,vars:1,consts:[["class","consent-modal",4,"ngIf"],[1,"consent-modal"],[1,"modal-content"],[1,"btn-container"],[1,"consent-btn","accept",3,"click"],[1,"consent-btn","reject",3,"click"]],template:function(o,n){1&o&&e.YNc(0,Ae,9,0,"div",0),2&o&&e.Q6J("ngIf",n.showConsent())},dependencies:[s.O5],styles:[".consent-modal[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:9999}.modal-content[_ngcontent-%COMP%]{background-color:#000;padding:30px;text-align:center;border-radius:10px;max-width:90%;max-height:50%}.btn-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;justify-content:space-around;margin-top:20px}.consent-text[_ngcontent-%COMP%]{color:#fff;margin-bottom:20px}.button-group[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.consent-btn[_ngcontent-%COMP%]{padding:10px 20px;border:2px solid transparent;border-radius:5px;color:#fff;cursor:pointer;font-size:16px}.consent-btn[_ngcontent-%COMP%]:hover{background-color:purple}.accept[_ngcontent-%COMP%]{background-color:green;margin-left:10px}.reject[_ngcontent-%COMP%]{background-color:red}"]})}return t})();function Ie(t,a){if(1&t&&(e.TgZ(0,"div",24)(1,"a",25)(2,"div",26),e._UZ(3,"img",27),e.qZA(),e.TgZ(4,"p",28),e._uU(5),e.qZA(),e.TgZ(6,"div",29)(7,"div",30),e._UZ(8,"img",31),e.qZA()()()()),2&t){const i=a.$implicit,o=a.index,n=e.oxw();e.xp6(1),e.Q6J("href",n.modalData.linkedin[o],e.LSH),e.xp6(2),e.s9C("src",i,e.LSH),e.xp6(2),e.hij(" ",n.modalData.teamMembers[o].toUpperCase()," ")}}function Ue(t,a){if(1&t&&(e.TgZ(0,"div")(1,"div",32)(2,"div",33),e._UZ(3,"img",34),e.qZA(),e.TgZ(4,"span",35),e._uU(5),e.qZA()()()),2&t){const i=a.$implicit;e.xp6(3),e.Q6J("src","assets/"+i+".png",e.LSH)("alt",i),e.xp6(2),e.Oqu(i)}}function Se(t,a){if(1&t&&(e.TgZ(0,"button",36)(1,"a",37),e._uU(2,"Demo"),e.qZA()()),2&t){const i=e.oxw();e.xp6(1),e.Q6J("href",i.modalData.demo,e.LSH)}}function ze(t,a){if(1&t&&(e.TgZ(0,"button",36)(1,"a",38),e._uU(2,"Pitch"),e.qZA()()),2&t){const i=e.oxw();e.xp6(1),e.Q6J("href",i.modalData.pitch,e.LSH)}}function Oe(t,a){if(1&t&&(e.TgZ(0,"button",36)(1,"a",39),e._uU(2,"Website"),e.qZA()()),2&t){const i=e.oxw();e.xp6(1),e.Q6J("href",i.modalData.webUrl,e.LSH)}}function qe(t,a){if(1&t&&(e.TgZ(0,"button",36)(1,"a",39),e._uU(2,"Mobile"),e.qZA()()),2&t){const i=e.oxw();e.xp6(1),e.Q6J("href",i.modalData.mobileUrl,e.LSH)}}function Ee(t,a){if(1&t&&(e.TgZ(0,"button",36)(1,"a",39),e._uU(2,"Slack"),e.qZA()()),2&t){const i=e.oxw();e.xp6(1),e.Q6J("href",i.modalData.slackUrl,e.LSH)}}let je=(()=>{class t{constructor(){this.showModal=!1,this.modalData={},this.closeModalEvent=new e.vpe}closeModal(){this.closeModalEvent.emit(!0)}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-winner_modal"]],inputs:{showModal:"showModal",modalData:"modalData"},outputs:{closeModalEvent:"closeModalEvent"},decls:42,vars:11,consts:[[1,"w-full","h-full","flex","justify-center","overflow-hidden","bg-white","bg-opacity-30","py-2"],[1,"container","relative","overflow-auto","grid","grid-cols-1","md:grid-cols-2","md:flex-row","w-full","lg:w-[80%]","lg:max-h-[90vh]","bg-center","bg-black","rounded","shadow-lg","rounded-t-2xl","text-gray-300"],[1,"absolute","h-[32px]","w-[32px]","flex","justify-center","items-center","rounded-full","bg-gray-500","top-0","mt-1","mr-1","right-0","p-1","hover:scale-110","transition-transform","transform-gpu",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","viewBox","0 0 24 24","fill","none","stroke","white","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["x1","18","y1","6","x2","6","y2","18"],["x1","6","y1","6","x2","18","y2","18"],[1,"hidden","md:visible","md:flex","flex-col","justify-start","items-center","p-3","h-full","bg-gray-500","text-white"],[1,"my-4","text-center","p-2","md:px-5","text-xl","font-bold","tracking-tight"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-4","mx-2","overflow-auto","mt-3"],["class","relative group flex flex-col items-center",4,"ngFor","ngForOf"],[1,"p-3","flex","flex-col","justify-between","h-full"],[1,"p-2","md:px-5"],[1,"grid","grid-cols-1","md:grid-cols-3","gap-2","mt-5","justify-between"],[1,"flex","flex-col","justify-between","h-full","flex-1","px-2","py-3","border","border-gray-500","mr-3"],[1,"mb-2","md:mb-4"],[1,"font-bold","lg:text-lg","text-transparent","bg-gradient-to-r","from-indigo-600","to","to-pink-500","bg-clip-text","break-words"],[1,"mb-2","md:mb-4","break-words"],[1,"text-sm","md:text-lg","mt-7","md:mt-10","mb-5"],[1,"flex","flex-col","justify-start"],[1,"my-3"],[1,"flex"],[4,"ngFor","ngForOf"],[1,"border-t","border-gray-800","mt-3","text-xs","px-4","flex","justify-between","overflow-auto","py-5"],["class","transition-transform duration-300 transform hover:scale-110 my-2",4,"ngIf"],[1,"relative","group","flex","flex-col","items-center"],["target","_blank",1,"w-full","h-full","px-2","bg-gray-700","pt-2","rounded-t-lg","group-hover:bg-gray-600","transition-transform","transform-gpu","hover:scale-105","flex","flex-col","justify-between","items-center",3,"href"],[1,"w-[100px]","h-[100px]","lg:w-[120px]","lg:h-[120px]","text-center","bg-gray-500","p-2","rounded-full","transition-transform","transform-gpu","hover:scale-105","hover:bg-gray-400"],["alt","team",1,"bg-white","w-full","h-full","object-cover","object-center","flex-shrink-0","rounded-full","mr-4",3,"src"],[1,"text-center"],[1,"w-full","flex","justify-center","items-center"],[1,"opacity-0","group-hover:opacity-100","text-white"],["src","assets/Linkedin.svg","alt","",1,"w-10","h-6","text-white"],[1,"flex","flex-col","justify-center","items-center","mr-3"],[1,"w-[50px]","h-[25px]","mr-2","mb-1"],[1,"object-cover","w-full","h-full",3,"src","alt"],[1,"text-xs","text-left"],[1,"transition-transform","duration-300","transform","hover:scale-110","my-2"],["target","_blank",1,"px-5","py-3","border","rounded-full","hover:border-none","hover:bg-purple-700","hover:text-white",3,"href"],["target","_blank",1,"px-5","py-3","m-2","border","rounded-full","hover:border-none","hover:bg-purple-500","hover:text-white",3,"href"],["target","_blank",1,"px-5","py-3","m-2","border","rounded-full","hover:border-none","hover:bg-purple-700","hover:text-white",3,"href"]],template:function(o,n){1&o&&(e.TgZ(0,"div",0)(1,"div",1)(2,"button",2),e.NdJ("click",function(){return n.closeModal()}),e.O4$(),e.TgZ(3,"svg",3),e._UZ(4,"line",4)(5,"line",5),e.qZA()(),e.kcU(),e.TgZ(6,"div",6)(7,"h5",7),e._uU(8," Team Members "),e.qZA(),e.TgZ(9,"div",8),e.YNc(10,Ie,9,3,"div",9),e.qZA()(),e.TgZ(11,"div",10)(12,"section",11)(13,"section",12)(14,"h5",13)(15,"span",14),e._uU(16,"Team Name"),e.qZA(),e.TgZ(17,"strong",15),e._uU(18),e.qZA()(),e.TgZ(19,"h5",13)(20,"span",16),e._uU(21,"Project Name "),e.qZA(),e.TgZ(22,"strong",15),e._uU(23),e.qZA()(),e.TgZ(24,"h5",13)(25,"span",16),e._uU(26,"Prize "),e.qZA(),e.TgZ(27,"strong",15),e._uU(28),e.qZA()()(),e.TgZ(29,"p",17),e._uU(30),e.qZA(),e.TgZ(31,"div",18)(32,"p",19),e._uU(33,"Team Nationalities"),e.qZA(),e.TgZ(34,"div",20),e.YNc(35,Ue,6,3,"div",21),e.qZA()()(),e.TgZ(36,"div",22),e.YNc(37,Se,3,1,"button",23)(38,ze,3,1,"button",23)(39,Oe,3,1,"button",23)(40,qe,3,1,"button",23)(41,Ee,3,1,"button",23),e.qZA()()()()),2&o&&(e.xp6(10),e.Q6J("ngForOf",n.modalData.teamImage),e.xp6(8),e.Oqu(n.modalData.team),e.xp6(5),e.Oqu(n.modalData.projectname),e.xp6(5),e.hij("$",n.modalData.money,""),e.xp6(2),e.hij(" ",n.modalData.prize_description," "),e.xp6(5),e.Q6J("ngForOf",n.modalData.countries),e.xp6(2),e.Q6J("ngIf",n.modalData.demo),e.xp6(1),e.Q6J("ngIf",n.modalData.pitch),e.xp6(1),e.Q6J("ngIf",n.modalData.webUrl),e.xp6(1),e.Q6J("ngIf",n.modalData.mobileUrl),e.xp6(1),e.Q6J("ngIf",n.modalData.slackUrl))},dependencies:[s.sg,s.O5],styles:["[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px;height:5px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:gray}.container[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}"]})}return t})();function Pe(t,a){if(1&t&&(e.TgZ(0,"div",5),e.O4$(),e.TgZ(1,"svg",6),e._UZ(2,"path",7),e.qZA(),e.kcU(),e.TgZ(3,"p",8),e._uU(4),e.qZA()()),2&t){const i=a.$implicit;e.xp6(4),e.hij("",i," ")}}let He=(()=>{class t{static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-prize-card"]],inputs:{prize:"prize"},decls:10,vars:10,consts:[[1,"container","lg:max-w-[420px]"],["alt","",1,"absolute","-top-3","-right-3","w-1/4","max-sm:w-1/4",3,"src"],[1,"text-xl","py-3","font-semibold","text-white"],[1,"text-xl"],["class","flex gap-x-3 py-[5px] items-center mt-4 border-t border-white border-opacity-30",4,"ngFor","ngForOf"],[1,"flex","gap-x-3","py-[5px]","items-center","mt-4","border-t","border-white","border-opacity-30"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-8","h-6","text-[#AC6AFF]","flex-none"],["fill-rule","evenodd","d","M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z","clip-rule","evenodd"],[1,"text-gray-300","leading-relaxed"]],template:function(o,n){1&o&&(e.TgZ(0,"div",0)(1,"div"),e._UZ(2,"img",1),e.TgZ(3,"h2"),e._uU(4),e.qZA(),e.TgZ(5,"p",2),e._uU(6,"$ "),e.TgZ(7,"span",3),e._uU(8),e.qZA()(),e.YNc(9,Pe,5,1,"div",4),e.qZA()()),2&o&&(e.xp6(1),e.Gre("","First"==(null==n.prize?null:n.prize.place)?"py-[32px]":"py-[16px]"," relative w-full lg:w-[100] px-5 flex flex-col bg-[#0E0C15] rounded-3xl border-white border-[0.25px] border-opacity-30"),e.xp6(1),e.s9C("src",null==n.prize?null:n.prize.image,e.LSH),e.xp6(1),e.Gre("","First"==(null==n.prize?null:n.prize.place)?"text-[#FFC876]":"Second"==(null==n.prize?null:n.prize.place)?"text-[#C0C0C0]":"text-[#CD7F32]"," text-xl opacity-100"),e.xp6(1),e.hij("",null==n.prize?null:n.prize.place," Place "),e.xp6(4),e.Oqu(null==n.prize?null:n.prize.prize),e.xp6(1),e.Q6J("ngForOf",null==n.prize?null:n.prize.awards))},dependencies:[s.sg]})}return t})(),Be=(()=>{class t{static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-track-card"]],inputs:{track:"track"},decls:13,vars:3,consts:[[1,"max-w-4xl","flex","w-full","h-full","flex-col","items-stretch","justify-stretch","relative","overflow-hidden","p-4"],[1,"relative","break-words","h-full","group"],[1,"absolute","-inset-1","bg-gradient-to-r","from-purple-600","to-yellow-600","rounded-lg","blur","opacity-60","transition","duration-1000","group-hover:duration-200"],[1,"relative","h-full","p-3","bg-[#0E0C15]","rounded-lg","leading-none","flex","items-stretch","justify-start","space-x-6"],["fill","currentColor","viewBox","0 0 24 24",1,"w-6","h-6","text-purple-600","flex-shrink-0"],["fill-rule","evenodd","d","M5.166 2.621v.858c-1.035.148-2.059.33-3.071.543a.75.75 0 00-.584.859 6.753 6.753 0 006.138 5.6 6.73 6.73 0 002.743 1.346A6.707 6.707 0 019.279 15H8.54c-1.036 0-1.875.84-1.875 1.875V19.5h-.75a2.25 2.25 0 00-2.25 2.25c0 .414.336.75.75.75h15a.75.75 0 00.75-.75 2.25 2.25 0 00-2.25-2.25h-.75v-2.625c0-1.036-.84-1.875-1.875-1.875h-.739a6.706 6.706 0 01-1.112-3.173 6.73 6.73 0 002.743-1.347 6.753 6.753 0 006.139-5.6.75.75 0 00-.585-.858 47.077 47.077 0 00-3.07-.543V2.62a.75.75 0 00-.658-.744 49.22 49.22 0 00-6.093-.377c-2.063 0-4.096.128-6.093.377a.75.75 0 00-.657.744zm0 2.629c0 1.196.312 2.32.857 3.294A5.266 5.266 0 013.16 5.337a45.6 45.6 0 012.006-.343v.256zm13.5 0v-.256c.674.1 1.343.214 2.006.343a5.265 5.265 0 01-2.863 3.207 6.72 6.72 0 00.857-3.294z","clip-rule","evenodd"],[1,"space-y-2","flex","flex-col","justify-between"],[1,"text-white","break-all","text-xl"],[1,"text-gray-400","py-2","whitespace-normal"],["target","_blank",1,"block","text-indigo-400","text-xl"]],template:function(o,n){1&o&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"div",2),e.TgZ(3,"div",3),e.O4$(),e.TgZ(4,"svg",4),e._UZ(5,"path",5),e.qZA(),e.kcU(),e.TgZ(6,"div",6)(7,"p",7),e._uU(8),e.qZA(),e.TgZ(9,"p",8),e._uU(10),e.qZA(),e.TgZ(11,"h2",9),e._uU(12),e.qZA()()()()()),2&o&&(e.xp6(8),e.Oqu(null==n.track?null:n.track.title),e.xp6(2),e.Oqu(null==n.track?null:n.track.description),e.xp6(2),e.hij("$",null==n.track?null:n.track.prize,""))},styles:['.plan-card[_ngcontent-%COMP%]{background:#151517;width:15rem;padding-left:2rem;padding-right:2rem;padding-top:10px;padding-bottom:20px;border-radius:10px;font-family:Poppins,sans-serif}.plan-card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:15px;font-size:27px;font-weight:600}.plan-card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;margin-top:-4px;color:#4d4d4d;font-size:12px;font-weight:400}.etiquet-price[_ngcontent-%COMP%]{position:relative;background:indigo;width:14.46rem;margin-left:-.65rem;padding:.2rem 1.2rem;border-radius:5px 0 0 5px}.etiquet-price[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding-top:.4rem;display:flex;font-size:1.9rem;font-weight:500}.etiquet-price[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before{content:"$";margin-right:5px;font-size:15px;font-weight:300}.etiquet-price[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:after{margin-left:5px;font-size:15px;font-weight:300}.etiquet-price[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;bottom:-23px;right:0;width:0;height:0;border-top:13px solid indigo;border-bottom:10px solid transparent;border-right:13px solid transparent;z-index:-6}.benefits-list[_ngcontent-%COMP%]{margin-top:16px}.benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;font-size:14px}.benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#4d4d4d;list-style:none;margin-bottom:.2rem;display:flex;align-items:center;gap:.5rem}.benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:.9rem;fill:currentColor}.benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:300}.button-get-plan[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:1.2rem}.button-get-plan[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;background:#000446;color:#fff;padding:10px 15px;border-radius:5px;text-decoration:none;font-size:.8rem;letter-spacing:.05rem;font-weight:500;transition:all .3s ease}.button-get-plan[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{transform:translateY(-3%);box-shadow:0 3px 10px #cfd4dee6}.button-get-plan[_ngcontent-%COMP%] .svg-rocket[_ngcontent-%COMP%]{margin-right:10px;width:.9rem;fill:currentColor}']})}return t})();function Le(t,a){1&t&&e._UZ(0,"app-track-card",10),2&t&&e.Q6J("track",a.$implicit)}let Je=(()=>{class t{constructor(){this.awards=["Trip to Addis Ababa, including airfare, hotel, food and other expenses.","Opportunity to pitch one's project idea to renowned tech individuals and venture capitalists.","Certificate of achievement."],this.missionTextPart1="A2SV (Africa to Silicon Valley) is a US-based nonprofit academy igniting Africa's tech revolution with comprehensive software engineering training and tech-driven solutions",this.missionTextPart2="Through collaborations with top African universities and tech titans, A2SV has created a thriving ecosystem for emerging talent since 2019. Our program is free, breaking financial barriers, nurturing dreams, and democratizing the path to a tech-driven future.",this.secondPrize={place:"Second",prize:"6,000",padding:"32px",color:"#FFC876",image:"assets/silver 1 (no bg).png",awards:[...this.awards,"Custom-designed A2SV swag."]},this.firstPrize={place:"First",prize:"10,000",padding:"32px",color:"#AC6AFF",image:"assets/gold 1 (no bg).png",awards:[...this.awards,"Direct placement opportunity in the A2SV education cohort 6.","Custom-designed A2SV swag."]},this.thirdPrize={place:"Third",prize:"4,000",padding:"32px",color:"#E298FF",image:"assets/bronze 1.png",awards:this.awards},this.tracks=[{title:"Best Technical Implementation Award",description:"Recognizes the project with the most impressive and innovative technical implementation.",prize:"2500"},{title:"Most Potential for Positive Change Award",description:"Highlights the project that shows the greatest potential for making a positive impact and driving change.",prize:"2500"},{title:"Best User Experience Award",description:"Rewards the project that delivers an exceptional and intuitive user experience.",prize:"2500"},{title:"Cross-Domain Collaboration Award",description:"Acknowledges teams that effectively combine AI techniques with expertise from different fields.",prize:"2500"}],this.prizes=[this.secondPrize,this.firstPrize,this.thirdPrize]}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-prize2024"]],decls:14,vars:4,consts:[["id","prize2024",1,"flex","fade","min-h-screen","py-24","max-sm:px-4","max-md:py-16","max-xl:px-12","px-32","flex-col","justify-center"],[1,"sm:text-[4rem]","text-center","text-4xl","font-semibold","mb-4","text-white"],[1,"flex","pb-16","items-center","max-lg:flex-wrap","max-sm:flex-col","gap-x-12","gap-y-8","pt-12","justify-center"],[1,"max-lg:order-2"],[3,"prize"],[1,"max-lg:order-1"],[1,"max-lg:order-3"],[1,"sm:text-4xl","text-center","text-2xl","font-medium","mb-4","text-white"],[1,"grid","grid-cols-2","pt-8","gap-4","max-lg:grid-cols-2","max-md:grid-cols-1","items-stretch"],[3,"track",4,"ngFor","ngForOf"],[3,"track"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0)(1,"p",1),e._uU(2,"$30K Prize"),e.qZA(),e.TgZ(3,"div",2)(4,"div",3),e._UZ(5,"app-prize-card",4),e.qZA(),e.TgZ(6,"div",5),e._UZ(7,"app-prize-card",4),e.qZA(),e.TgZ(8,"div",6),e._UZ(9,"app-prize-card",4),e.qZA()(),e.TgZ(10,"p",7),e._uU(11,"Other Prize Tracks"),e.qZA(),e.TgZ(12,"div",8),e.YNc(13,Le,1,1,"app-track-card",9),e.qZA()()),2&o&&(e.xp6(5),e.Q6J("prize",n.secondPrize),e.xp6(2),e.Q6J("prize",n.firstPrize),e.xp6(2),e.Q6J("prize",n.thirdPrize),e.xp6(4),e.Q6J("ngForOf",n.tracks))},dependencies:[s.sg,He,Be]})}return t})(),j=(()=>{class t{static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275mod=e.oAB({type:t});static#i=this.\u0275inj=e.cJS({imports:[s.ez]})}return t})();function Ne(t,a){1&t&&e._UZ(0,"div",43)}function De(t,a){1&t&&e._UZ(0,"div",43)}function Fe(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",29)(1,"div",30)(2,"button",31),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.closeModal())}),e.O4$(),e.TgZ(3,"svg",32),e._UZ(4,"path",33),e.qZA()(),e.kcU(),e.TgZ(5,"iframe",34),e.NdJ("load",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())})("error",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())}),e.qZA(),e.TgZ(6,"div",35),e.YNc(7,Ne,1,0,"div",36),e.qZA()(),e.TgZ(8,"div",37)(9,"div",38)(10,"button",39),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.closeModal())}),e.TgZ(11,"span",40),e._uU(12,"Close menu"),e.qZA(),e.O4$(),e.TgZ(13,"svg",32),e._UZ(14,"path",33),e.qZA()(),e.kcU(),e.TgZ(15,"iframe",41),e.NdJ("load",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())})("error",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())}),e.qZA(),e.TgZ(16,"div",42),e.YNc(17,De,1,0,"div",36),e.qZA()()()()}if(2&t){const i=e.oxw();e.xp6(5),e.Q6J("src",i.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",i.isIframeLoading),e.xp6(8),e.Q6J("src",i.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",i.isIframeLoading)}}let Re=(()=>{class t{constructor(i){this.sanitizer=i,this.showModal=!1,this.registrationLink="",this.comingName="",this.closeModalEvent=new e.vpe,this.isIframeLoading=!0,this.showShareModal=!1,this.telegramSharingLink="https://t.me/share/url?url=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.linkedinSharingLink="https://www.linkedin.com/sharing/share-offsite/?url=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&summary=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.twitterSharingLink="https://twitter.com/intent/tweet?url=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.facebookSharingLink="https://www.facebook.com/sharer/sharer.php?u=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&t=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.instagramSharingLink="https://www.instagram.com/?url=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.buttonText="Copy Text",this.isButtonDisabled=!1,this.buttonClass="btn bg-purple-700 mt-4"}ngOnChanges(){this.sanitizedUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}getSafeRegistrationLink(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}setActiveButton(i,o){window.open(o,"_blank")}closeModal(){this.closeModalEvent.emit(),this.isIframeLoading=!0,window.document.getElementById("share_modal")?.showModal(),this.showShareModal=!0}closeForReal(){window.document.getElementById("share_modal")?.close(),this.showShareModal=!1}onIframeLoad(){this.isIframeLoading=!1}copyText(){const i=document.getElementById("shareText");i&&navigator.clipboard.writeText(i.value).then(()=>{this.buttonText="Text is copied",this.isButtonDisabled=!0,this.buttonClass="btn mt-4 bg-purple-300",setTimeout(()=>{this.buttonText="Copy Text",this.isButtonDisabled=!1,this.buttonClass="btn bg-purple-700 mt-4"},5e3)}).catch(o=>{console.error("Failed to copy text: ",o)})}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(u.H7))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-registration"]],inputs:{showModal:"showModal",registrationLink:"registrationLink",comingName:"comingName"},outputs:{closeModalEvent:"closeModalEvent"},features:[e.TTD],decls:34,vars:5,consts:[["class","backdrop-blur overflow-x-hidden max-sm:p-5 overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none justify-center items-center flex",4,"ngIf"],["id","share_modal",1,"modal","mt-4"],["method","dialog",1,"modal-box","w-11/12","max-sm:w-full","max-sm:mx-2","max-w-7xl","min-h-8xl","bg-gray-900"],[1,"text-gray-400","bg-gray-900","body-font","h-[70vh]","flex","items-center","justify-center"],[1,"container","p-4","flex","justify-center","items-center"],[1,"grid","grid-cols-1","md:grid-cols-5","justify-center","items-center","w-full"],[1,"rounded-xl","overflow-hidden","md:col-span-3","h-full","w-full","bg-opacity-40","relative"],["src","https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png","alt","Hackathon Attendance",1,"object-cover","w-full","h-full"],[1,"p-5","md:col-span-2","h-full","w-full","max-md:mt-4","flex","flex-col","items-center","justify-center"],[1,"text-lg","text-gray-100","font-semibold","mb-3","text-center"],[1,"flex","flex-col","items-center","justify-center","w-full","mb-4"],["id","shareText",1,"textarea","textarea-bordered","w-full","h-auto"],[3,"disabled","click"],[1,"inline-flex","max-sm:mb-4","sm:mt-0","gap-x-3","items-center","justify-center"],["target","_blank","href","https://t.me/share/url?url=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!",1,"text-gray-100","hover:text-indigo-600","mb-1",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M29.919 6.163l-4.225 19.925c-0.319 1.406-1.15 1.756-2.331 1.094l-6.438-4.744-3.106 2.988c-0.344 0.344-0.631 0.631-1.294 0.631l0.463-6.556 11.931-10.781c0.519-0.462-0.113-0.719-0.806-0.256l-14.75 9.288-6.35-1.988c-1.381-0.431-1.406-1.381 0.288-2.044l24.837-9.569c1.15-0.431 2.156 0.256 1.781 2.013z"],["target","_blank","href","https://www.facebook.com/sharer/sharer.php?u=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png"e=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!",1,"text-gray-100","hover:text-indigo-600","mr-2",3,"click"],["fill","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"],["target","_blank","href","https://twitter.com/intent/tweet?url=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["viewBox","0 0 300 300","fill","currentColor","xmlns","http://www.w3.org/2000/svg",1,"w-3","h-3","sm:w-4","sm:h-4"],["d","M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"],["target","_blank","href","https://www.linkedin.com/sharing/share-offsite/?url=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["fill","currentColor","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","0","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["stroke","none","d","M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"],["cx","4","cy","4","r","2","stroke","none"],[1,"modal-action"],[1,"btn",3,"click"],[1,"backdrop-blur","overflow-x-hidden","max-sm:p-5","overflow-y-auto","fixed","inset-0","z-50","outline-none","focus:outline-none","justify-center","items-center","flex"],[1,"relative","max-md:hidden","w-full","mt-8","max-w-6xl","max-h-full","flex","flex-col","rounded-3xl","bg-black","justify-center","items-center"],[1,"absolute","right-0","top-0","mt-4","mr-4","text-3xl","font-semibold","leading-none","text-gray-600","outline-none","focus:outline-none",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-8","h-8"],["fill-rule","evenodd","d","M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z","clip-rule","evenodd"],[1,"w-full","rounded-3xl","aspect-video","bg-black",3,"src","load","error"],[1,"flex","absolute","items-center","justify-center"],["class","animate-spin rounded-full h-32 w-32 max-sm:h-16 max-sm:w-16 border-t-2 border-b-2 border-indigo-700 ",4,"ngIf"],["role","dialog","aria-modal","true",1,"relative","md:hidden","text-white"],[1,"fixed","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-black","overflow-x-hidden","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],["type","button",1,"-m-2.5","absolute","top-2","right-2","rounded-md","p-2.5","text-gray-300",3,"click"],[1,"sr-only"],[1,"w-full","h-full","bg-black",3,"src","load","error"],[1,"flex","max-md:hidden","absolute","items-center","justify-center"],[1,"animate-spin","rounded-full","h-32","w-32","max-sm:h-16","max-sm:w-16","border-t-2","border-b-2","border-indigo-700"]],template:function(o,n){1&o&&(e.TgZ(0,"section"),e.YNc(1,Fe,18,4,"div",0),e.TgZ(2,"dialog",1)(3,"form",2)(4,"section",3)(5,"div",4)(6,"div",5)(7,"div",6),e._UZ(8,"img",7),e.qZA(),e.TgZ(9,"div",8)(10,"h3",9),e._uU(11,"Congrats on registering!\u{1f389} Share this moment with your friends! Copy the text below and spread the word on your social media using the respective buttons provided."),e.qZA(),e.TgZ(12,"div",10)(13,"textarea",11),e._uU(14,"I've just registered for the A2SV Hackathon! Join me and be part of this hackathon! https://hackathon.a2sv.org"),e.qZA(),e.TgZ(15,"button",12),e.NdJ("click",function(){return n.copyText()}),e._uU(16),e.qZA()(),e.TgZ(17,"span",13)(18,"a",14),e.NdJ("click",function(){return n.setActiveButton("telegram",n.telegramSharingLink)}),e.O4$(),e.TgZ(19,"svg",15),e._UZ(20,"path",16),e.qZA()(),e.kcU(),e.TgZ(21,"a",17),e.NdJ("click",function(){return n.setActiveButton("facebook",n.facebookSharingLink)}),e.O4$(),e.TgZ(22,"svg",18),e._UZ(23,"path",19),e.qZA()(),e.kcU(),e.TgZ(24,"a",20),e.NdJ("click",function(){return n.setActiveButton("twitter",n.twitterSharingLink)}),e.O4$(),e.TgZ(25,"svg",21),e._UZ(26,"path",22),e.qZA()(),e.kcU(),e.TgZ(27,"a",23),e.NdJ("click",function(){return n.setActiveButton("linkedin",n.linkedinSharingLink)}),e.O4$(),e.TgZ(28,"svg",24),e._UZ(29,"path",25)(30,"circle",26),e.qZA()()()()()()(),e.kcU(),e.TgZ(31,"div",27)(32,"button",28),e.NdJ("click",function(){return n.closeForReal()}),e._uU(33,"Close"),e.qZA()()()()()),2&o&&(e.xp6(1),e.Q6J("ngIf",n.showModal),e.xp6(14),e.Tol(n.buttonClass),e.Q6J("disabled",n.isButtonDisabled),e.xp6(1),e.Oqu(n.buttonText))},dependencies:[s.O5]})}return t})();var f=l(6825);function Qe(t,a){1&t&&(e.O4$(),e.TgZ(0,"svg",19),e._UZ(1,"circle",20),e.qZA())}function Ve(t,a){1&t&&(e.O4$(),e.TgZ(0,"svg",21),e._UZ(1,"path",22),e.qZA())}function Ye(t,a){1&t&&(e.O4$(),e.TgZ(0,"svg",23),e._UZ(1,"path",24),e.qZA())}function Ge(t,a){if(1&t&&(e.TgZ(0,"div",25)(1,"p",26),e._uU(2),e.qZA()()),2&t){const i=e.oxw().$implicit;e.xp6(1),e.Q6J("@fadeInOut",void 0),e.xp6(1),e.hij(" ",i.text," ")}}function $e(t,a){1&t&&e._UZ(0,"hr",27)}function We(t,a){if(1&t&&(e.TgZ(0,"li")(1,"div",12)(2,"div",13),e.YNc(3,Qe,2,0,"svg",14)(4,Ve,2,0,"svg",15)(5,Ye,2,0,"svg",16),e.qZA(),e.YNc(6,Ge,3,2,"div",17),e.qZA(),e.YNc(7,$e,1,0,"hr",18),e.qZA()),2&t){const i=a.$implicit,o=a.index,n=e.oxw();e.xp6(3),e.Q6J("ngIf",null===i.answered&&o<=n.currentQuestionIndex),e.xp6(1),e.Q6J("ngIf",!0===i.answered),e.xp6(1),e.Q6J("ngIf",!1===i.answered),e.xp6(1),e.Q6J("ngIf",o<=n.currentQuestionIndex),e.xp6(1),e.Q6J("ngIf",null!==i.answered)}}function Ke(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",28)(1,"button",29),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.answerYes())}),e._uU(2," Yes "),e.qZA(),e.TgZ(3,"button",30),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.answerNo())}),e._uU(4," No "),e.qZA()()}}function Xe(t,a){1&t&&(e.TgZ(0,"div",31)(1,"p",32),e._uU(2," Congratulations! You are eligible to register. "),e.qZA(),e.TgZ(3,"p",33),e._uU(4," Proceed to register individually or as a team and join the A2SV AI for Africa Hackathon. "),e.qZA()())}function et(t,a){1&t&&(e.TgZ(0,"div",31)(1,"p",34),e._uU(2," Unfortunately, you are not eligible to register for the hackathon at this time. "),e.qZA()())}function tt(t,a){1&t&&(e.TgZ(0,"p",38),e._uU(1," Sorry, you are not eligible to participate. "),e.qZA())}function it(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div"),e.YNc(1,tt,2,0,"p",35),e.TgZ(2,"button",36),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.resetEligibility())}),e._UZ(3,"img",37),e.qZA()()}if(2&t){const i=e.oxw();e.xp6(1),e.Q6J("ngIf",i.ineligible)}}const nt=(t,a)=>({" border-[1.5px] border-gray-300 text-gray-500 cursor-not-allowed disabled":t,"bg-purple-700":a}),ot=(t,a)=>({"border-[1.5px] border-gray-300 text-gray-500 cursor-not-allowed disabled":t,"bg-purple-700":a});let at=(()=>{class t{constructor(i){this.registerService=i,this.openChatEvent=new e.vpe,this.registrationDeadline=new Date(2023,7,31,23,59,59),this.isIndividual=!0,this.registrationButtonVisible=!0,this.criterieas=[{text:"Every team must have a minimum of 3 members and a maximum of 5 members."},{text:"Every team member must be located in Africa."},{text:"All team members must be students currently enrolled in a University, College (undergrad, Associate, Diploma program), or High School, with a graduation year after January 2024. Students currently pursuing or who have completed a Master's degree or higher are not eligible to participate."},{text:"If you don't have a team you can register individually and we'll match you with other talented developers, designers, and problem solvers."}],this.individualCriteria=[{text:"Are you currently studying or have you completed your studies in a University, College (undergraduate, Associate, or Diploma program), or High School in Africa?",answered:null},{text:"Is your graduation year after January 2024?",answered:null},{text:"Are you already in a team of 4 - 5 or are you willing to be grouped into teams by the organizers?",answered:null}],this.teamCriteria=[{text:"Are all of your team members currently studying or have completed their studies in a University, College (undergraduate, Associate, or Diploma program), or High School in Africa?",answered:null},{text:"Are the graduation years of all team members after January 2024?",answered:null},{text:"Is each team member registered only to one team?",answered:null},{text:"Does your team have 3 to 5 members?",answered:null}],this.criteria=this.individualCriteria,this.currentQuestionIndex=0,this.eligibilityConfirmed=!1,this.ineligible=!1}ngOnInit(){setInterval(()=>{this.updateRegistrationButtonVisibility()},1e3)}checkEligibility(){this.registerService.openModal()}updateRegistrationButtonVisibility(){this.registrationButtonVisible=new Datei.answered=null)}answerYes(){this.criteria[this.currentQuestionIndex].answered=!0,this.currentQuestionIndex++,this.currentQuestionIndex>=this.criteria.length&&(this.eligibilityConfirmed=!0,this.registrationButtonVisible=!0,this.registerService.checkEligibility())}answerNo(){this.criteria[this.currentQuestionIndex].answered=!1,this.ineligible=!0}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(_))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-eligibility"]],outputs:{openChatEvent:"openChatEvent"},decls:19,vars:13,consts:[["id","eligibility",1,"max-sm:px-4","max-lg:px-12","py-6","px-","overflow-x-hidden"],[1,"sm:text-4xl","text-center","text-2xl","font-medium","mb-4","text-white"],[1,"p-2","flex","flex-col","justify-center","items-center"],[1,"flex-none","max-lg:my-6","sm:pb-8","md:mx-8","sm:mt-0","sm:text-left"],[1,"text-gray-300","leading-relaxed","max-sm:text-start"],[1,"flex","justify-start","mt-6","mb-5"],[1,"inline-flex","text-white","border-0","max-sm:px-4","py-2","px-4","rounded-full","focus:outline-none","hover:drop-shadow-xl","text-sm","mr-4",3,"ngClass","click"],[1,"inline-flex","text-white","border-0","max-sm:px-4","py-2","px-6","focus:outline-none","hover:drop-shadow-xl","rounded-full","text-sm",3,"ngClass","click"],[4,"ngFor","ngForOf"],["class","flex justify-center mt-4",4,"ngIf"],["class","text-center mt-4",4,"ngIf"],[4,"ngIf"],[1,"flex","items-start","py-2"],[1,"flex-none","w-8","h-8","mr-5"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor","class","w-full h-full text-gray-400",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor","class","w-full h-full text-[#AC6AFF]",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor","class","w-full h-full text-red-500",4,"ngIf"],["class","flex-grow",4,"ngIf"],["class","border-t border-white border-opacity-30 mb-2",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-full","h-full","text-gray-400"],["cx","12","cy","12","r","10","stroke","currentColor","stroke-width","2","fill","none"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-full","h-full","text-[#AC6AFF]"],["fill-rule","evenodd","d","M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z","clip-rule","evenodd"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-full","h-full","text-red-500"],["fill-rule","evenodd","d","M12 2.25a9.75 9.75 0 100 19.5 9.75 9.75 0 000-19.5zM9.47 9.47a.75.75 0 011.06-1.06l1.47 1.47 1.47-1.47a.75.75 0 011.06 1.06L12.53 12l1.47 1.47a.75.75 0 01-1.06 1.06l-1.47-1.47-1.47 1.47a.75.75 0 01-1.06-1.06L11.47 12 9.47 10.53z","clip-rule","evenodd"],[1,"flex-grow"],[1,"text-gray-300","leading-relaxed","text-start"],[1,"border-t","border-white","border-opacity-30","mb-2"],[1,"flex","justify-center","mt-4"],[1,"inline-flex","text-white","border-0","bg-green-500","py-2","px-4","rounded-full","focus:outline-none","hover:drop-shadow-xl","text-sm","mr-4",3,"click"],[1,"inline-flex","text-white","border-0","bg-red-500","py-2","px-4","rounded-full","focus:outline-none","hover:drop-shadow-xl","text-sm",3,"click"],[1,"text-center","mt-4"],[1,"text-green-500","font-bold"],[1,"text-gray-400"],[1,"text-red-500","font-bold"],["class","text-gray-300 leading-relaxed max-sm:text-start mt-6",4,"ngIf"],[1,"flex","items-center","transition-all","cursor-pointer","ease-out","duration-400","bg-purple-700","hover:bg-purple-500","relative","disabled:bg-gray-500","text-white","border-0","max-sm:px-4","py-2","px-5","focus:outline-none","hover:drop-shadow-xl","rounded-full","max-sm:text-sm","text-lg","group",3,"click"],["src","assets/loopIcon.svg",1,"w-8","h-8"],[1,"text-gray-300","leading-relaxed","max-sm:text-start","mt-6"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0)(1,"p",1),e._uU(2," Eligibility "),e.qZA(),e.TgZ(3,"div",2)(4,"div",3)(5,"p",4),e._uU(6," The hackathon is open to all students located in Africa who are passionate about AI and eager to showcase their skills and creativity. To participate, you must meet the following eligibility requirements: "),e.qZA(),e.TgZ(7,"div",5)(8,"button",6),e.NdJ("click",function(){return n.showIndividualCriteria()}),e._uU(9," Individual "),e.qZA(),e.TgZ(10,"button",7),e.NdJ("click",function(){return n.showTeamCriteria()}),e._uU(11," Team "),e.qZA()(),e.TgZ(12,"div")(13,"ul"),e.YNc(14,We,8,5,"li",8),e.qZA(),e.YNc(15,Ke,5,0,"div",9)(16,Xe,5,0,"div",10)(17,et,3,0,"div",10),e.qZA(),e.YNc(18,it,4,1,"div",11),e.qZA()()()),2&o&&(e.xp6(8),e.Q6J("ngClass",e.WLB(7,nt,n.isIndividual,!n.isIndividual)),e.xp6(2),e.Q6J("ngClass",e.WLB(10,ot,!n.isIndividual,n.isIndividual)),e.xp6(4),e.Q6J("ngForOf",n.criteria),e.xp6(1),e.Q6J("ngIf",!n.eligibilityConfirmed&&!n.ineligible&&n.currentQuestionIndex *[_ngcontent-%COMP%]{grid-column-start:1;grid-row-start:1;transform:translate(10%) scale(.9);z-index:1;width:100%;opacity:.6}.stack[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:nth-child(2){transform:translate(5%) scale(.95);z-index:2;opacity:.8}.stack[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:nth-child(1){transform:translate(0) scale(1);z-index:3;opacity:1}"],data:{animation:[(0,f.X$)("fadeInOut",[(0,f.eR)(":enter",[(0,f.oB)({opacity:0}),(0,f.jt)("500ms ease-in",(0,f.oB)({opacity:1}))])])]}})}return t})();function rt(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",11)(1,"div",12)(2,"div")(3,"p",13),e._uU(4," Please check your eligibility before registering for the A2SV AI for Africa Hackathon. "),e.qZA()(),e.TgZ(5,"div",14)(6,"a",15),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.navigateToEligibility())}),e._UZ(7,"span",16),e.TgZ(8,"span",17),e._uU(9,"Check Your Eligibility"),e.qZA()()()()()}}function st(t,a){1&t&&(e.TgZ(0,"div",18)(1,"p",19),e._uU(2,"Congratulations! You are eligible to register."),e.qZA(),e.TgZ(3,"p",20),e._uU(4,"Proceed to register individually or as a team and join the A2SV AI for Impact Hackathon."),e.qZA()())}function lt(t,a){1&t&&(e.TgZ(0,"div",21),e._UZ(1,"app-eligibility"),e.qZA())}function ct(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",11)(1,"div",12)(2,"div")(3,"p",13),e._uU(4," Don't have a team yet? Register individually and we'll match you with other talented developers, designers, and problem solvers. "),e.qZA()(),e.TgZ(5,"div",14)(6,"a",15),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onRegisterIndividual())}),e._UZ(7,"span",16),e.TgZ(8,"span",17),e._uU(9,"Register Individually"),e.qZA()()()()()}}function dt(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",11)(1,"div",12)(2,"div")(3,"p",13),e._uU(4," Already have a team? If you are the captain, register your team and start working on your project today. "),e.qZA()(),e.TgZ(5,"div",22)(6,"a",23),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onRegisterTeam())}),e._UZ(7,"span",16),e.TgZ(8,"span",17),e._uU(9,"Register as a Team"),e.qZA()()()()()}}let P=(()=>{class t{constructor(i){this.registerService=i,this.isModalOpen=!1,this.isEligibilityChecked=!1,this.currentSection="home",this.toggleChatEvent=new e.vpe,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,this.showRegistrationModal=!0,this.showModal=!1,this.teamRegistrationLink="https://a2sv.typeform.com/to/qtKuYH58",this.indivisualRegistrationLink="https://a2sv.typeform.com/to/yxMUctSN",this.individualName="individual",this.teamName="team",this.showEligibilitySection=!1}ngOnInit(){this.modalSubscription=this.registerService.modalOpen$.subscribe(i=>{this.isModalOpen=i;const o=document.getElementById("register_service_modal");o&&(this.isModalOpen?o.showModal():o.close())}),this.eligibilitySubscription=this.registerService.eligibilityChecked$.subscribe(i=>{this.isEligibilityChecked=i}),this.showEligibilitySubscription=this.registerService.showEligibility$.subscribe(i=>{this.showEligibilitySection=i})}ngOnDestroy(){this.modalSubscription.unsubscribe(),this.eligibilitySubscription.unsubscribe(),this.showEligibilitySubscription.unsubscribe()}closeModal(){this.registerService.closeModal()}onRegisterIndividual(){this.closeModal(),this.toggleChatEvent.emit(!1),this.showIndividualRegistrationModal=!0,this.showRegistrationModal=!1,document.body.classList.add("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.add("z-0"),document.getElementById("prizes")?.classList.remove("z-40"),document.getElementById("partners")?.classList.add("hidden"),document.getElementById("info")?.classList.add("hidden"),document.getElementById("judges")?.classList.add("hidden"),document.getElementById("eligibility")?.classList.add("hidden"),document.getElementById("about-us")?.classList.add("hidden"),document.getElementById("footer")?.classList.add("hidden")}onRegisterTeam(){this.closeModal(),this.toggleChatEvent.emit(!1),this.showTeamRegistrationModal=!0,this.showRegistrationModal=!1,document.body.classList.add("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.add("z-0"),document.getElementById("prizes")?.classList.remove("z-40"),document.getElementById("partners")?.classList.add("hidden"),document.getElementById("partners")?.classList.add("hidden"),document.getElementById("info")?.classList.add("hidden"),document.getElementById("judges")?.classList.add("hidden"),document.getElementById("eligibility")?.classList.add("hidden"),document.getElementById("about-us")?.classList.add("hidden"),document.getElementById("footer")?.classList.add("hidden")}onHideModal(){this.toggleChatEvent.emit(!0),this.showModal=!1,this.showRegistrationModal=!0,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,document.body.classList.remove("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.remove("z-0"),document.getElementById("prizes")?.classList.add("z-40"),document.getElementById("partners")?.classList.remove("hidden"),document.getElementById("info")?.classList.remove("hidden"),document.getElementById("judges")?.classList.remove("hidden"),document.getElementById("eligibility")?.classList.remove("hidden"),document.getElementById("about-us")?.classList.remove("hidden"),document.getElementById("footer")?.classList.remove("hidden")}showEligibility(){this.registerService.showEligibility()}navigateToEligibility(){this.showEligibility()}scrollToSection(i){this.currentSection=i;const o=!document.body.classList.contains("overflow-hidden"),n=document.getElementById(i);null!=n&&o&&n.scrollIntoView({behavior:"smooth"})}registerIndividual(){}registerTeam(){}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(_))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-register-modal"]],inputs:{currentSection:"currentSection"},outputs:{toggleChatEvent:"toggleChatEvent"},standalone:!0,features:[e.jDz],decls:16,vars:11,consts:[["id","register_service_modal",1,"modal","mt-4"],["method","dialog",1,"modal-box","w-11/12","max-sm:w-full","max-sm:mx-2","max-w-5xl","bg-gray-900"],[1,"text-gray-400","bg-gray-900","body-font"],[1,"container","p-4"],[1,"flex","flex-wrap","justify-center","-m-4"],["class","p-4 lg:w-1/3",4,"ngIf"],["class","w-[80%] my-5",4,"ngIf"],["class","p-4 w-full",4,"ngIf"],[1,"modal-action"],["type","button",1,"btn",3,"click"],[3,"comingName","showModal","registrationLink","closeModalEvent"],[1,"p-4","lg:w-1/3"],[1,"h-full","flex","flex-col","justify-between","bg-gray-800","bg-opacity-40","px-8","py-8","rounded-lg","overflow-hidden","relative"],[1,"leading-relaxed","mb-3"],[1,"flex","w-full","flex-wrap","space-y-4","justify-center","items-end"],[1,"rounded-full","cursor-pointer","modal-action","px-5","py-2.5","overflow-hidden","group","bg-gradient-to-r","from-indigo-600","to-pink-500","relative","hover:bg-gradient-to-r","hover:from-indigo-600","hover:to-pink-500","text-white","transition-all","ease-out","duration-300",3,"click"],[1,"absolute","right-0","w-8","h-32","-mt-12","transition-all","duration-1000","transform","translate-x-12","bg-white","opacity-10","rotate-12","group-hover:-translate-x-40","ease"],[1,"relative"],[1,"w-[80%]","my-5"],[1,"md:text-3xl","font-bold","text-center","text-white"],[1,"text-gray-400","text-center"],[1,"p-4","w-full"],[1,"flex","w-full","flex-wrap","space-y-4","justify-center","items-end","modal-action"],[1,"rounded-full","cursor-pointer","px-5","py-2.5","overflow-hidden","group","bg-gradient-to-r","from-indigo-600","to-pink-500","relative","hover:bg-gradient-to-r","hover:from-indigo-600","hover:to-pink-500","text-white","transition-all","ease-out","duration-300",3,"click"]],template:function(o,n){1&o&&(e.TgZ(0,"div")(1,"dialog",0)(2,"form",1)(3,"section",2)(4,"div",3)(5,"div",4),e.YNc(6,rt,10,0,"div",5)(7,st,5,0,"div",6)(8,lt,2,0,"div",7)(9,ct,10,0,"div",5)(10,dt,10,0,"div",5),e.qZA()()(),e.TgZ(11,"div",8)(12,"button",9),e.NdJ("click",function(){return n.closeModal()}),e._uU(13,"Close"),e.qZA()()()(),e.TgZ(14,"app-registration",10),e.NdJ("closeModalEvent",function(){return n.onHideModal()}),e.qZA(),e.TgZ(15,"app-registration",10),e.NdJ("closeModalEvent",function(){return n.onHideModal()}),e.qZA()()),2&o&&(e.xp6(6),e.Q6J("ngIf",!n.isEligibilityChecked&&!n.showEligibilitySection),e.xp6(1),e.Q6J("ngIf",n.isEligibilityChecked),e.xp6(1),e.Q6J("ngIf",!n.isEligibilityChecked&&n.showEligibilitySection),e.xp6(1),e.Q6J("ngIf",n.isEligibilityChecked),e.xp6(1),e.Q6J("ngIf",n.isEligibilityChecked),e.xp6(4),e.Q6J("comingName",n.individualName)("showModal",n.showIndividualRegistrationModal)("registrationLink",n.indivisualRegistrationLink),e.xp6(1),e.Q6J("comingName",n.teamName)("showModal",n.showTeamRegistrationModal)("registrationLink",n.teamRegistrationLink))},dependencies:[s.ez,s.O5,j,Re,at]})}return t})(),ut=(()=>{class t{constructor(){this.eventDate="July 6",this.eventText="Registration will be over on",this.eventTime="11:59 PM EAT",this.Number=Number,this.targetDate=new Date("2024-07-06T20:59:00Z"),this.semiFinalDate=new Date("2023-11-11T10:00:00")}chooseTargetDate(){return(new Date).getTime(){this.calculateTimeLeft()},1e3)}calculateTimeLeft(){const i=new Date,o=this.chooseTargetDate()-i.getTime();this.daysLeft=Math.floor(o/864e5),this.hoursLeft=Math.floor(o%864e5/36e5),this.minutesLeft=Math.floor(o%36e5/6e4),this.secondsLeft=Math.floor(o%6e4/1e3)}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-count-down"]],decls:30,vars:7,consts:[[1,"text-white","rounded-xl","n"],[1,"text-5xl","mb-2","font-bold","lg:inline","lg:whitespace-nowrap"],[1,"font-bold","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text"],[1,"md:text-7xl","max-sm:text-2xl","gap-y-8","text-center","flex","inline-block","sm:flex-wrap","w-full","items-center","max-sm:justify-center","md:justify-start","mt-4"],[1,"w-30","mx-1","px-auto","py-2","max-sm:p-1","text-indigo-700","rounded"],["x-text","days",1,"font-mono","text-center","leading-none","text-white"],[1,"font-mono","text-center","uppercase","text-sm","text-white","leading-none"],["x-text","hours",1,"font-mono","text-center","leading-none","text-white"],["x-text","minutes",1,"font-mono","text-center","leading-none","text-white"]],template:function(o,n){1&o&&(e.TgZ(0,"div",0)(1,"h2",1),e._uU(2),e.TgZ(3,"span",2),e._uU(4),e.qZA(),e._uU(5," at "),e.TgZ(6,"span",2),e._uU(7),e.qZA(),e._uU(8,":"),e.qZA(),e.TgZ(9,"div",3)(10,"div",4)(11,"div",5),e._uU(12),e.qZA(),e.TgZ(13,"div",6),e._uU(14,"Days"),e.qZA()(),e.TgZ(15,"div",4)(16,"div",7),e._uU(17),e.qZA(),e.TgZ(18,"div",6),e._uU(19,"Hours"),e.qZA()(),e.TgZ(20,"div",4)(21,"div",8),e._uU(22),e.qZA(),e.TgZ(23,"div",6),e._uU(24,"Minutes"),e.qZA()(),e.TgZ(25,"div",4)(26,"div",8),e._uU(27),e.qZA(),e.TgZ(28,"div",6),e._uU(29,"Seconds"),e.qZA()()()()),2&o&&(e.xp6(2),e.hij("",n.eventText," "),e.xp6(2),e.Oqu(n.eventDate),e.xp6(3),e.hij(" ",n.eventTime,""),e.xp6(5),e.Oqu(n.Number(n.daysLeft)>9?n.daysLeft:"0"+n.daysLeft),e.xp6(5),e.Oqu(n.Number(n.hoursLeft)>9?n.hoursLeft:"0"+n.hoursLeft),e.xp6(5),e.Oqu(n.Number(n.minutesLeft)>9?n.minutesLeft:"0"+n.minutesLeft),e.xp6(5),e.Oqu(n.Number(n.secondsLeft)>9?n.secondsLeft:"0"+n.secondsLeft))}})}return t})();function mt(t,a){1&t&&e._UZ(0,"div",15)}function gt(t,a){1&t&&e._UZ(0,"div",15)}function pt(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"button",3),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.closeModal())}),e.O4$(),e.TgZ(3,"svg",4),e._UZ(4,"path",5),e.qZA()(),e.kcU(),e.TgZ(5,"iframe",6),e.NdJ("load",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())})("error",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())}),e.qZA(),e.TgZ(6,"div",7),e.YNc(7,mt,1,0,"div",8),e.qZA()(),e.TgZ(8,"div",9)(9,"div",10)(10,"button",11),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.closeModal())}),e.TgZ(11,"span",12),e._uU(12,"Close menu"),e.qZA(),e.O4$(),e.TgZ(13,"svg",4),e._UZ(14,"path",5),e.qZA()(),e.kcU(),e.TgZ(15,"iframe",13),e.NdJ("load",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())})("error",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())}),e.qZA(),e.TgZ(16,"div",14),e.YNc(17,gt,1,0,"div",8),e.qZA()()()()}if(2&t){const i=e.oxw();e.xp6(5),e.Q6J("src",i.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",i.isIframeLoading),e.xp6(8),e.Q6J("src",i.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",i.isIframeLoading)}}let ht=(()=>{class t{constructor(i){this.sanitizer=i,this.showModal=!1,this.registrationLink="",this.closeModalEvent=new e.vpe,this.isIframeLoading=!0}ngOnChanges(){this.sanitizedUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}getSafeRegistrationLink(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}closeModal(){this.closeModalEvent.emit(),this.isIframeLoading=!0}onIframeLoad(){this.isIframeLoading=!1}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(u.H7))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-mentors-registration"]],inputs:{showModal:"showModal",registrationLink:"registrationLink"},outputs:{closeModalEvent:"closeModalEvent"},features:[e.TTD],decls:1,vars:1,consts:[["class","backdrop-blur overflow-x-hidden max-sm:p-5 overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none justify-center items-center flex",4,"ngIf"],[1,"backdrop-blur","overflow-x-hidden","max-sm:p-5","overflow-y-auto","fixed","inset-0","z-50","outline-none","focus:outline-none","justify-center","items-center","flex"],[1,"relative","max-md:hidden","w-full","mt-8","max-w-6xl","max-h-full","flex","flex-col","rounded-3xl","bg-black","justify-center","items-center"],[1,"absolute","right-0","top-0","mt-4","mr-4","text-3xl","font-semibold","leading-none","text-gray-600","outline-none","focus:outline-none",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-8","h-8"],["fill-rule","evenodd","d","M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z","clip-rule","evenodd"],[1,"w-full","rounded-3xl","aspect-video","bg-black",3,"src","load","error"],[1,"flex","absolute","items-center","justify-center"],["class","animate-spin rounded-full h-32 w-32 max-sm:h-16 max-sm:w-16 border-t-2 border-b-2 border-indigo-700 ",4,"ngIf"],["role","dialog","aria-modal","true",1,"relative","md:hidden","text-white"],[1,"fixed","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-black","overflow-x-hidden","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],["type","button",1,"-m-2.5","absolute","top-2","right-2","rounded-md","p-2.5","text-gray-300",3,"click"],[1,"sr-only"],[1,"w-full","h-full","bg-black",3,"src","load","error"],[1,"flex","max-md:hidden","absolute","items-center","justify-center"],[1,"animate-spin","rounded-full","h-32","w-32","max-sm:h-16","max-sm:w-16","border-t-2","border-b-2","border-indigo-700"]],template:function(o,n){1&o&&e.YNc(0,pt,18,4,"div",0),2&o&&e.Q6J("ngIf",n.showModal)},dependencies:[s.O5]})}return t})();function ft(t,a){1&t&&e._UZ(0,"div",15)}function vt(t,a){1&t&&e._UZ(0,"div",15)}function _t(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"button",3),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.closeModal())}),e.O4$(),e.TgZ(3,"svg",4),e._UZ(4,"path",5),e.qZA()(),e.kcU(),e.TgZ(5,"iframe",6),e.NdJ("load",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())})("error",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())}),e.qZA(),e.TgZ(6,"div",7),e.YNc(7,ft,1,0,"div",8),e.qZA()(),e.TgZ(8,"div",9)(9,"div",10)(10,"button",11),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.closeModal())}),e.TgZ(11,"span",12),e._uU(12,"Close menu"),e.qZA(),e.O4$(),e.TgZ(13,"svg",4),e._UZ(14,"path",5),e.qZA()(),e.kcU(),e.TgZ(15,"iframe",13),e.NdJ("load",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())})("error",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())}),e.qZA(),e.TgZ(16,"div",14),e.YNc(17,vt,1,0,"div",8),e.qZA()()()()}if(2&t){const i=e.oxw();e.xp6(5),e.Q6J("src",i.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",i.isIframeLoading),e.xp6(8),e.Q6J("src",i.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",i.isIframeLoading)}}let wt=(()=>{class t{constructor(i){this.sanitizer=i,this.showModal=!1,this.registrationLink="",this.closeModalEvent=new e.vpe,this.isIframeLoading=!0}ngOnChanges(){this.sanitizedUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}getSafeRegistrationLink(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}closeModal(){this.closeModalEvent.emit(),this.isIframeLoading=!0}onIframeLoad(){this.isIframeLoading=!1}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(u.H7))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-advisors-registration"]],inputs:{showModal:"showModal",registrationLink:"registrationLink"},outputs:{closeModalEvent:"closeModalEvent"},features:[e.TTD],decls:1,vars:1,consts:[["class","backdrop-blur overflow-x-hidden max-sm:p-5 overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none justify-center items-center flex",4,"ngIf"],[1,"backdrop-blur","overflow-x-hidden","max-sm:p-5","overflow-y-auto","fixed","inset-0","z-50","outline-none","focus:outline-none","justify-center","items-center","flex"],[1,"relative","max-md:hidden","w-full","mt-8","max-w-6xl","max-h-full","flex","flex-col","rounded-3xl","bg-black","justify-center","items-center"],[1,"absolute","right-0","top-0","mt-4","mr-4","text-3xl","font-semibold","leading-none","text-gray-600","outline-none","focus:outline-none",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-8","h-8"],["fill-rule","evenodd","d","M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z","clip-rule","evenodd"],[1,"w-full","rounded-3xl","aspect-video","bg-black",3,"src","load","error"],[1,"flex","absolute","items-center","justify-center"],["class","animate-spin rounded-full h-32 w-32 max-sm:h-16 max-sm:w-16 border-t-2 border-b-2 border-indigo-700 ",4,"ngIf"],["role","dialog","aria-modal","true",1,"relative","md:hidden","text-white"],[1,"fixed","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-black","overflow-x-hidden","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],["type","button",1,"-m-2.5","absolute","top-2","right-2","rounded-md","p-2.5","text-gray-300",3,"click"],[1,"sr-only"],[1,"w-full","h-full","bg-black",3,"src","load","error"],[1,"flex","max-md:hidden","absolute","items-center","justify-center"],[1,"animate-spin","rounded-full","h-32","w-32","max-sm:h-16","max-sm:w-16","border-t-2","border-b-2","border-indigo-700"]],template:function(o,n){1&o&&e.YNc(0,_t,18,4,"div",0),2&o&&e.Q6J("ngIf",n.showModal)},dependencies:[s.O5]})}return t})(),xt=(()=>{class t{constructor(i){this.registerService=i,this.activeButton="",this.images=["https://res.cloudinary.com/eskalate/image/upload/v1714657507/Hackathon/Expo-min.png","https://res.cloudinary.com/eskalate/image/upload/v1714657509/Hackathon/certificateDay-min.jpg","https://res.cloudinary.com/eskalate/image/upload/v1700746297/Hackathon/yyeni.jpg","https://res.cloudinary.com/eskalate/image/upload/v1703573932/Hackathon/Architect.jpg","https://res.cloudinary.com/eskalate/image/upload/v1714657509/Hackathon/hackathon_coding-min.jpg"],this.isMuted=!0,this.showTeamRegistrationModal=!0,this.slickConfig={slidesToShow:3,slidesToScroll:3,autoplaySpeed:3e3,autoplay:!0,pauseOnHover:!0,infinite:!0,arrows:!0,responsive:[{breakpoint:1024,settings:{arrows:!0,infinite:!0,slidesToShow:2,slideToScroll:2}},{breakpoint:768,settings:{slidesToShow:1,arrows:!0}}]},this.toggleChatEvent=new e.vpe,this.showModal=!1,this.showChat=!1,this.showMentorsModal=!1,this.showAdvisorsModal=!1,this.mentorsRegistrationLink="https://form.typeform.com/to/ShJTk212",this.advisorsRegistrationLink="https://form.typeform.com/to/opvWnrn7",this.showGetInvolvedModal=!0,this.showIndividualRegistrationModal=!1,this.showRegistration2Modal=!0,this.advisorName="advisor",this.mentorName="mentor",this.shareData={title:"MDN",text:"Learn web development on MDN!",url:"https://res.cloudinary.com/eskalate/image/upload/v1716850665/Hackathon-2024/Hackathon_Partner_With_Us.png"},this.sharedImgUrl="https://res.cloudinary.com/eskalate/image/upload/v1716850665/Hackathon-2024/Hackathon_Partner_With_Us.png",this.shareImgTitle="Hackathon Links!",this.shareText="https://res.cloudinary.com/eskalate/image/upload/v1716850665/Hackathon-2024/Hackathon_Partner_With_Us.png"}onShowModal(){this.toggleChatEvent.emit(!1),this.showModal=!0,document.body.classList.add("overflow-hidden","z-0")}checkEligibility(){this.registerService.openModal()}onShowMentorsModal(){this.toggleChatEvent.emit(!1),this.showMentorsModal=!0,this.showGetInvolvedModal=!1,document.body.classList.add("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.add("z-0"),document.getElementById("prizes")?.classList.remove("z-40")}onShowAdvisorsModal(){this.toggleChatEvent.emit(!1),this.showAdvisorsModal=!0,this.showGetInvolvedModal=!1,document.body.classList.add("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.add("z-0"),document.getElementById("prizes")?.classList.remove("z-40")}onHideModal(){this.toggleChatEvent.emit(!0),this.showModal=!1,this.showGetInvolvedModal=!0,this.showMentorsModal=!1,this.showAdvisorsModal=!1,document.body.classList.remove("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.remove("z-0"),document.getElementById("prizes")?.classList.add("z-40"),document.getElementById("partners")?.classList.remove("hidden"),document.getElementById("info")?.classList.remove("hidden"),document.getElementById("judges")?.classList.remove("hidden"),document.getElementById("eligibility")?.classList.remove("hidden"),document.getElementById("about-us")?.classList.remove("hidden"),document.getElementById("footer")?.classList.remove("hidden")}scrollDown(){const i=!document.body.classList.contains("overflow-hidden"),o=document.getElementById("prize2024");null!=o&&i&&o.scrollIntoView({behavior:"smooth"})}setActiveButton(i,o){this.activeButton=i,window.open(o,"_blank")}shareImage(){navigator.share?navigator.share({title:this.shareImgTitle,text:this.shareText,url:this.sharedImgUrl}).then(()=>{console.log("Thanks for sharing!")}).catch(i=>{console.error("Error sharing:",i)}):this.fallbackShare()}fallbackShare(){alert("Web Share API is not supported in this browser. Please use the share buttons below.")}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(_))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-landing"]],outputs:{toggleChatEvent:"toggleChatEvent"},decls:34,vars:5,consts:[["id","landing",1,"min-h-screen","pt-[0px]","lg:pt-[0px]","bg-blue-950","bg-opacity-60","relative"],["autoplay","","loop","",1,"w-full","h-full","object-cover","absolute","z-0",3,"muted"],["src","https://res.cloudinary.com/eskalate/video/upload/v1718713749/Hackathon_2023_Highlights.mp4","type","video/mp4"],[3,"registrationLink","showModal","closeModalEvent"],[1,"h-[100vh]","lg:pt-[18vh]","px:5","md:px-20","flex","flex-col","max-lg:justify-center","justify-start","z-1","drop-shadow-2xl","bg-black","bg-opacity-60"],[1,"text-white","px-5"],[1,"left","col-span-2","p-5","md:h-[76vh]","flex","flex-col","items-center","md:items-start","justify-start"],[1,"w-full","flex","flex-col","max-md:items-center","items-start","leading-relaxed","mb-2"],[1,"text-left","w-full","max-md:text-center","text-[36px]","font-bold","md:text-[46px]","lg:text-[60px]"],[1,"text-left","w-full","max-md:text-center","text-xl","mt-6","mb-10","md:text-2xl","lg:text-3xl"],[1,"flex","flex-col","w-full","justify-center"],[1,"flex","flex-col","justify-center","md:items-start"],[1,"inline-block","pl-0","max-md:text-center"],[1,"max-md:mt-5","text-2xl","mt-5","rounded-full","px-16","md:px-28","py-4","text-white","transition-all","cursor-pointer","ease-out","duration-400","bg-purple-700","hover:bg-purple-500","relative","overflow-hidden","group",3,"click"],[1,"absolute","inset-0","w-full","h-full","rounded-full","bg-gradient-to-r","from-purple-500","to-pink-500","opacity-50","blur-md","animate-pulse"],[1,"absolute","inset-0","w-full","h-full","rounded-full","bg-gradient-to-r","from-purple-500","to-pink-500","opacity-75","blur-lg"],[1,"absolute","right-0","w-8","h-32","-mt-12","transition-all","duration-1000","transform","translate-x-14","bg-white","opacity-10","rotate-12","group-hover:-translate-x-80","ease"],[1,"relative","text-white","font-bold"],[1,"max-md:mt-5","flex","flex-col","md:flex-row","max-md:items-center","justify-start"],[1,"text-sm","rounded-full","px-5","py-2.5","text-white","transition-all","border","border-1","cursor-pointer","ease-out","duration-300","hover:text-underline",3,"click"],[1,"hover:text-pink-500"],[1,"max-md:mt-5","text-sm","rounded-full","md:ml-3","px-6","py-2.5","text-white","transition-all","border","border-1","cursor-pointer","ease-out","duration-300","lg:ml-5","left-1/2",3,"click"],[1,"rounded-full","max-md:hidden","text-white","border-2","p-2","animate-bounce","z-40","cursor-pointer","mx-auto","absolute","bottom-4","left-1/2",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"w-8","h-8"],["stroke-linecap","round","stroke-linejoin","round","d","M19.5 5.25l-7.5 7.5-7.5-7.5m15 6l-7.5 7.5-7.5-7.5"]],template:function(o,n){1&o&&(e.TgZ(0,"div",0)(1,"video",1),e._UZ(2,"source",2),e._uU(3," Your browser does not support the video tag. "),e.qZA(),e.TgZ(4,"app-mentors-registration",3),e.NdJ("closeModalEvent",function(){return n.onHideModal()}),e.qZA(),e.TgZ(5,"app-advisors-registration",3),e.NdJ("closeModalEvent",function(){return n.onHideModal()}),e.qZA(),e._UZ(6,"app-register-modal"),e.TgZ(7,"div",4)(8,"div",5)(9,"section",6)(10,"div",7)(11,"p",8),e._uU(12," A2SV Hackathon, 2024 "),e.qZA(),e.TgZ(13,"h1",9),e._uU(14," AI for Impact - Solving Africa's Challenges "),e.qZA()(),e.TgZ(15,"div",10)(16,"h2",11),e._UZ(17,"app-count-down",12),e.TgZ(18,"button",13),e.NdJ("click",function(){return n.checkEligibility()}),e._UZ(19,"span",14)(20,"span",15)(21,"span",16),e.TgZ(22,"span",17),e._uU(23,"Register Now"),e.qZA()()(),e.TgZ(24,"div",18)(25,"button",19),e.NdJ("click",function(){return n.onShowMentorsModal()}),e.TgZ(26,"span",20),e._uU(27,"Be mentor/advisor"),e.qZA()(),e.TgZ(28,"button",21),e.NdJ("click",function(){return n.onShowAdvisorsModal()}),e.TgZ(29,"span",20),e._uU(30,"Partner with us"),e.qZA()(),e.TgZ(31,"div",22),e.NdJ("click",function(){return n.scrollDown()}),e.O4$(),e.TgZ(32,"svg",23),e._UZ(33,"path",24),e.qZA()()()()()()()()),2&o&&(e.xp6(1),e.Q6J("muted",n.isMuted),e.xp6(3),e.Q6J("registrationLink",n.mentorsRegistrationLink)("showModal",n.showMentorsModal),e.xp6(1),e.Q6J("registrationLink",n.advisorsRegistrationLink)("showModal",n.showAdvisorsModal))},dependencies:[P,ut,ht,wt],styles:["@keyframes _ngcontent-%COMP%_gradientAnimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.animate-gradient[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_gradientAnimation 10s ease infinite}.button[_ngcontent-%COMP%]{background:red;animation:myfirst 5s;-moz-animation:myfirst 5s infinite;-webkit-animation:myfirst 5s infinite}.bg_svg[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px;height:4px}.bg_svg[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:white}.slick-prev[_ngcontent-%COMP%], .slick-next[_ngcontent-%COMP%]{background-color:purple!important;height:19px!important}.bg_svg[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:yellow}.bg_svg[_ngcontent-%COMP%]{background-image:url(https://res.cloudinary.com/eskalate/video/upload/v1716272816/Hackathon/Hackathon_2023_Highlights_RAW_V1.mp4);background-size:cover;background-repeat:no-repeat;background-position:center}.vid[_ngcontent-%COMP%]{z-index:-6}"]})}return t})();function bt(t,a){1&t&&(e.ynx(0),e.TgZ(1,"div",16),e._UZ(2,"div",17),e.TgZ(3,"div",18),e._UZ(4,"app-what-we-provide"),e.qZA()(),e.BQk())}function yt(t,a){if(1&t&&(e.TgZ(0,"div",19),e._UZ(1,"app-header",20),e.qZA()),2&t){const i=e.oxw();e.xp6(1),e.Q6J("currentSection",i.currentSection)}}function kt(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",21)(1,"app-winner_modal",22),e.NdJ("closeModalEvent",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.closeModal())}),e.qZA()()}if(2&t){const i=e.oxw();e.xp6(1),e.Q6J("showModal",i.isModalOpen)("modalData",i.modalData)}}function Ct(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",23)(1,"a",24),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.openButton("partner","https://form.typeform.com/to/opvWnrn7"))}),e.TgZ(2,"button",25),e._uU(3," Partner with us "),e.qZA()()()}}function Zt(t,a){1&t&&(e.TgZ(0,"div",26)(1,"a",27),e._UZ(2,"span",28)(3,"span",29),e.TgZ(4,"span",30),e._uU(5,"Register Now"),e.qZA()()())}function Tt(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",34)(1,"app-bot",35),e.NdJ("closeChatEvent",function(){e.CHM(i);const n=e.oxw(2);return e.KtG(n.toggleChatBtn())}),e.qZA()()}}function At(t,a){1&t&&(e.O4$(),e.TgZ(0,"svg",39),e._UZ(1,"path",40)(2,"path",41),e.qZA())}function Mt(t,a){1&t&&(e.O4$(),e.TgZ(0,"svg",42),e._UZ(1,"path",43),e.qZA())}function It(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"button",36),e.NdJ("click",function(){e.CHM(i);const n=e.oxw(2);return e.KtG(n.toggleChatBtn())}),e.YNc(1,At,3,0,"svg",37)(2,Mt,2,0,"svg",38),e.qZA()}if(2&t){const i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!i.showChat),e.xp6(1),e.Q6J("ngIf",i.showChat)}}function Ut(t,a){1&t&&(e.TgZ(0,"button",44),e._uU(1," Register "),e.qZA())}function St(t,a){if(1&t&&(e.TgZ(0,"div"),e.YNc(1,Tt,2,0,"div",31)(2,It,3,2,"button",32)(3,Ut,2,0,"button",33),e.qZA()),2&t){const i=e.oxw();e.Gre("fixed ",i.showChat?"h-5/6 w-1/3":"h-auto w-auto"," bottom-4 z-50 h-5/6 w-1/3 gap-y-4 right-4 flex flex-col items-end justify-end"),e.xp6(1),e.Q6J("ngIf",i.showChat),e.xp6(1),e.Q6J("ngIf",!i.isButtonAtBottom||i.showChat),e.xp6(1),e.Q6J("ngIf",i.isStickRegisterButtonVisible&&!i.showChat&&i.registrationButtonVisible)}}let zt=(()=>{class t{constructor(i,o,n,r,c){this._el=i,this.localStorage=o,this.termsPluginLoaderService=n,this.modalService=r,this.winnerModalService=c,this.showPartnerButton=!1,this.isWinnerModalOpen=!1,this.modalData={},this.title="A2SV-Hackathon",this.showChat=!1,this.modalOpen=!1,this.isButtonAtBottom=!1,this.isStickRegisterButtonVisible=!1,this.toggleChatEvent=new e.vpe,this.showModal=!1,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,this.showRegistrationModal=!0,this.registrationDeadline=new Date(2023,7,31,23,59,59),this.registrationButtonVisible=!0,this.countDownVisible=!0,this.countDownDate=new Date(2023,8,3,17,0,0),this.spiedTags=["DIV"],this.sectionChange=new e.vpe,this.currentSection="home",this.localStorage.resetWaitingStatus()}openButton(i,o){window.open(o,"_blank")}isClickWithinModal(i){return!1}get isModalOpen(){return this.modalService.isModalOpen}ngOnInit(){this.modalSubscription=this.winnerModalService.isModalOpen$.subscribe(n=>{this.isWinnerModalOpen=n}),this.winnerModalService.modalData$.subscribe(n=>{this.modalData=n}),localStorage.getItem("consentGiven"),this.termsPluginLoaderService.loadPlugin(),new I.r({cloud:{cloudName:"eskalate"}}),setInterval(()=>{this.updateRegistrationButtonVisibility()},1e3)}ngOnDestroy(){this.modalSubscription&&this.modalSubscription.unsubscribe()}closeModal(){this.winnerModalService.toggleModal(!1)}closeJoinModal(){this.modalService.closeModal()}updateCountDownVisibility(){this.countDownVisible=new Date600}checkIfAtBottom(){const i=window.scrollY,o=window.innerHeight,n=document.documentElement.scrollHeight;this.isButtonAtBottom=i+o+5>=n}onScroll(i){let o="";const n=this._el.nativeElement.children,r=i.target.scrollTop,c=i.target.getBoundingClientRect();for(let C=0;CJt===Z.tagName)&&Lt.top-c.top<=r&&(o=Z.id)}o!==this.currentSection&&""!==o&&(this.currentSection=o);const w=this._el.nativeElement.querySelector("#landing"),k=window.scrollY||document.documentElement.scrollTop||document.body.scrollTop||0;this.showPartnerButton=k>w.offsetTop+w.offsetHeight-100}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(e.SBq),e.Y36(O),e.Y36(q),e.Y36(v),e.Y36(S))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-root"]],hostBindings:function(o,n){1&o&&e.NdJ("click",function(c){return n.isClickWithinModal(c)},!1,e.evT)("scroll",function(){return n.onWindowScroll()},!1,e.Jf7)("mousewheel",function(c){return n.onScroll(c)},!1,e.evT)},outputs:{toggleChatEvent:"toggleChatEvent",sectionChange:"sectionChange"},decls:24,vars:6,consts:[[4,"ngIf"],["class","relative z-41",4,"ngIf"],["class","fixed h-full w-full border-red-500 pt-2 z-50",4,"ngIf"],["style","position: fixed; top: 45vh; left: -40px; z-index: 1000",4,"ngIf"],["id","prize2024",1,"relative","z-40"],["id","info",1,"relative","z-40"],["id","fixed-eligibility"],[3,"openChatEvent"],["id","home",1,"relative","z-40"],[3,"toggleChatEvent"],["id","prizes",1,"relative","z-40"],["id","about-us",1,"relative","z-40"],["id","partners",1,"relative","z-40"],["class","flex justify-center mt-3 mb-12",4,"ngIf"],["id","footer",1,"relative","z-40"],[3,"class",4,"ngIf"],[1,"fixed","top-0","left-0","z-50","w-full","mt-5","pt-3","flex","flex-col","justify-end"],[1,"modal-overlay"],[1,"border","border-gray-600","modal-box","w-11/12","max-sm:w-full","max-sm:mx-2","max-w-5xl","bg-gray-900","text-center","flex","flex-col","mt-4","shadow-lg","m-auto"],[1,"relative","z-41"],[3,"currentSection"],[1,"fixed","h-full","w-full","border-red-500","pt-2","z-50"],[3,"showModal","modalData","closeModalEvent"],[2,"position","fixed","top","45vh","left","-40px","z-index","1000"],["href","https://form.typeform.com/to/opvWnrn7","target","_blank",3,"click"],[1,"px-4","py-3","rounded-md","transition-transform","duration-300","ease-in-out","bg-gradient-to-r","from-indigo-600","to-pink-500",2,"transform","rotate(270deg)"],[1,"flex","justify-center","mt-3","mb-12"],["onClick","register_modal.showModal()",1,"relative","cursor-pointer","inline-flex","items-center","justify-center","p-4","px-5","py-3","overflow-hidden","font-medium","text-indigo-600","transition","duration-300","ease-out","rounded-full","shadow-xl","group","hover:ring-1","hover:ring-purple-500"],[1,"absolute","inset-0","w-full","h-full","bg-gradient-to-br","from-blue-600","via-purple-600","to-pink-700"],[1,"absolute","bottom-0","right-0","block","w-64","h-64","mb-32","mr-4","transition","duration-500","origin-bottom-left","transform","rotate-45","translate-x-24","bg-pink-500","rounded-full","opacity-30","group-hover:rotate-90","ease"],[1,"relative","text-white"],["class","mx-4 h-full w-full",4,"ngIf"],["class","bg-indigo-600 text-white p-3 rounded-full shadow hover:bg-indigo-800",3,"click",4,"ngIf"],["onClick","register_modal.showModal()","class","fixed text-white bottom-1/2 rounded rotate-90 transform z-[48] -left-6 px-6 bg-indigo-600 py-3 shadow hover:bg-indigo-800",4,"ngIf"],[1,"mx-4","h-full","w-full"],[3,"closeChatEvent"],[1,"bg-indigo-600","text-white","p-3","rounded-full","shadow","hover:bg-indigo-800",3,"click"],["viewBox","0 0 512 512","fill","currentColor","class","w-8 h-8",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor","class","w-8 h-8",4,"ngIf"],["viewBox","0 0 512 512","fill","currentColor",1,"w-8","h-8"],["d","M448 312.43c.77-1.11 1.51-2.26 2.27-3.34A174.55 174.55 0 00480 211.85C480.32 112.55 396.54 32 292.94 32c-90.36 0-165.74 61.49-183.4 143.12a172.81 172.81 0 00-4 36.83c0 99.4 80.56 182.11 184.16 182.11 16.47 0 38.66-4.95 50.83-8.29s24.23-7.75 27.35-8.94 8-2.41 11.89-1.29l77.42 22.38a4 4 0 005-4.86l-17.72-67.49c-1.23-5-1.39-5.94 3.53-13.14z"],["d","M312.54 415.38a165.32 165.32 0 01-23.26 2.05c-42.43 0-82.5-11.2-115-32.2a184.09 184.09 0 01-53.09-49.32c-26.08-34.57-40.3-78.51-40.3-124.49 0-3.13.11-6.14.22-9.16a4.34 4.34 0 00-7.54-3.12 158.76 158.76 0 00-14.86 195.24c2.47 3.77 3.87 6.68 3.44 8.62l-14.09 72.26a4 4 0 005.22 4.53l68-24.24a16.85 16.85 0 0112.92.22c20.35 8 42.86 12.92 65.37 12.92a169.45 169.45 0 00116.63-46 4.29 4.29 0 00-3.66-7.31z"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"w-8","h-8"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],["onClick","register_modal.showModal()",1,"fixed","text-white","bottom-1/2","rounded","rotate-90","transform","z-[48]","-left-6","px-6","bg-indigo-600","py-3","shadow","hover:bg-indigo-800"]],template:function(o,n){1&o&&(e._UZ(0,"app-consent"),e.YNc(1,bt,5,0,"ng-container",0)(2,yt,2,1,"div",1)(3,kt,2,2,"div",2)(4,Ct,4,0,"div",3),e._UZ(5,"app-landing"),e.TgZ(6,"div",4),e._UZ(7,"app-prize2024"),e.qZA(),e.TgZ(8,"div",5),e._UZ(9,"app-info"),e.qZA(),e.TgZ(10,"div",6)(11,"app-fixed-eligiblity",7),e.NdJ("openChatEvent",function(){return n.openChat()}),e.qZA()(),e.TgZ(12,"div",8)(13,"app-home",9),e.NdJ("toggleChatEvent",function(c){return n.changeChatState(c)}),e.qZA()(),e.TgZ(14,"div",10),e._UZ(15,"app-prizes"),e.qZA(),e.TgZ(16,"div",11),e._UZ(17,"app-about-us"),e.qZA(),e.TgZ(18,"div",12),e._UZ(19,"app-potential-partners"),e.qZA(),e.YNc(20,Zt,6,0,"div",13),e.TgZ(21,"div",14),e._UZ(22,"app-footer"),e.qZA(),e.YNc(23,St,4,6,"div",15)),2&o&&(e.xp6(1),e.Q6J("ngIf",n.isModalOpen),e.xp6(1),e.Q6J("ngIf",!n.modalOpen),e.xp6(1),e.Q6J("ngIf",n.isWinnerModalOpen),e.xp6(1),e.Q6J("ngIf",n.showPartnerButton),e.xp6(16),e.Q6J("ngIf",n.registrationButtonVisible),e.xp6(3),e.Q6J("ngIf",!n.modalOpen))},dependencies:[s.O5,E,M,z,X,ie,re,be,ye,Ze,Te,Me,je,Je,xt]})}return t})();var Ot=l(4425),qt=l(349),Et=l(2296),jt=l(491);let Pt=(()=>{class t{static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275mod=e.oAB({type:t,bootstrap:[zt]});static#i=this.\u0275inj=e.cJS({providers:[x,q],imports:[u.b2,V,d.UX,y.JF,Ot.Mf,qt.PW,Et.ot,jt.Is,b.bB,P,j,E]})}return t})();u.q6().bootstrapModule(Pt).catch(t=>console.error(t))}},h=>{h.O(0,[736],()=>h(h.s=4701)),h.O()}]); \ No newline at end of file +"use strict";(self.webpackChunkHacks_Website=self.webpackChunkHacks_Website||[]).push([[179],{4701:(h,T,l)=>{var u=l(6593),A=l(205),e=l(5678);let v=(()=>{class t{constructor(){this.isModalOpen=!1,this.modalStateChanged=new e.vpe}openModal(){this.isModalOpen=!0,this.modalStateChanged.emit(!0)}closeModal(){this.isModalOpen=!1,this.modalStateChanged.emit(!1)}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var s=l(6814);const H=t=>({heading:t}),m=t=>({description:t});let M=(()=>{class t{constructor(i,o){this.elRef=i,this.modalService=o,this.toggleChatEvent=new e.vpe,this.showMenu=!1,this.showModal=!1,this.showChat=!1,this.showMentorsModal=!1,this.showAdvisorsModal=!1,this.mentorsRegistrationLink="https://form.typeform.com/to/UvayCDEJ",this.advisorsRegistrationLink="https://form.typeform.com/to/mMzeQ63l",this.showGetInvolvedModal=!0,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,this.showRegistrationModal=!1,this.currentSection="home",this.registrationDeadline=new Date(2024,5,31,23,59,59),this.registrationButtonVisible=!1,this.countDownVisible=!1,this.countDownDate=new Date("2024-5-15T20:59:00"),this.animated=!1,this.day_desc=[{day:"Day 1",desc:"Experience innovation firsthand as finalists showcase their groundbreaking projects to the public at Abrehot Library in Addis Ababa."},{day:"Day 2",desc:"The stakes are high at the Jury Panel. Witness the excitement of the award ceremony where the most innovative solutions will be honored and celebrated."},{day:"Day 3",desc:"Beginning with an in-person investor panel in the morning followed by a remote panel in the afternoon, designed to propel the best African AI ventures onto the global stage."}]}ngOnInit(){this.checkElementsInView(),setInterval(()=>{this.updateCountDownVisibility()},1e3)}onScroll(){this.checkElementsInView()}checkElementsInView(){const o=this.elRef.nativeElement.querySelector("#home_component").getBoundingClientRect(),n=o.top=0;!this.animated&&n?this.animated=!0:n||(this.animated=!1)}openModal(i){i.stopPropagation(),this.modalService.openModal()}get isModalOpen(){return this.modalService.isModalOpen}onShowModal(){this.toggleChatEvent.emit(!1),this.showModal=!0,document.body.classList.add("overflow-hidden","z-0")}updateCountDownVisibility(){this.countDownVisible=new Date{class t{constructor(){this.initializeCloudinary()}initializeCloudinary(){this.cloudinary=new I.r({cloud:{cloudName:"eskalate"}})}generateImageUrl(i){const o=this.cloudinary.image(i);return o.resize((0,B.hl)().width(1280).height(720)),o}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var g=l(5619);let S=(()=>{class t{constructor(){this.isModalOpenSubject=new g.X(!1),this.isModalOpen$=this.isModalOpenSubject.asObservable(),this.modalDataSubject=new g.X({}),this.modalData$=this.modalDataSubject.asObservable()}toggleModal(i,o){this.isModalOpenSubject.next(i),o&&this.modalDataSubject.next(o)}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const L=(t,a,i)=>({"md:-translate-y-[15px]":t,"md:-translate-y-[40px]":a,"md:-translate-y-0":i});function J(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",7)(1,"div",8)(2,"div",9),e._UZ(3,"img",10),e.qZA(),e.TgZ(4,"div",11)(5,"div",12),e._UZ(6,"img",13),e.qZA(),e.TgZ(7,"h2",14),e._uU(8),e.qZA(),e.TgZ(9,"div",15)(10,"h2",16),e._uU(11),e.qZA(),e.TgZ(12,"p",17),e._uU(13),e.qZA()()(),e.TgZ(14,"div",18)(15,"button",19),e.NdJ("click",function(){const r=e.CHM(i).$implicit,c=e.oxw();return e.KtG(c.onMoreOptionsClick(r))}),e._uU(16," More "),e.qZA()()()()}if(2&t){const i=a.$implicit,o=a.index;e.xp6(1),e.Tol(e.kEZ(8,L,0===o,1===o,2===o)),e.xp6(2),e.Q6J("src",i.awrd_img,e.LSH),e.xp6(3),e.Q6J("src",i.img,e.LSH),e.xp6(2),e.hij(" ",i.prize_type," "),e.xp6(3),e.AsE(" ",i.projectname," by Team ",i.team," "),e.xp6(2),e.hij(" ",i.description," ")}}let N=(()=>{class t{onMoreOptionsClick(i){this.cardTouched.emit(i)}constructor(i,o){this.cloudinaryService=i,this.renderer=o,this.title="",this.winners=[],this.descr="",this.cardTouched=new e.vpe}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(U),e.Y36(e.Qsj))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-track-winners"]],inputs:{title:"title",winners:"winners",descr:"descr"},outputs:{cardTouched:"cardTouched"},decls:9,vars:3,consts:[[1,"w-full","flex","flex-col","justify-center","items-center","rounded-md","pt-6"],[1,"text-4xl","w-full","text-center","font-bold","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text","mt-5"],[1,"flex","mt-10","mb-5","md:mx-20","flex-col","lg:flex-col"],[1,"flex-1"],[1,"lg:w-3/4","mx-auto","leading-relaxed","text-base","text-white","text-justify","justify-between","mb-6"],[1,"grid","grid-cols-1","md:grid-cols-3","gap-4","p-2"],["class","my-6",4,"ngFor","ngForOf"],[1,"my-6"],[1,"relative","h-full","grid","grid-rows-auto-1fr","rounded-lg","my-10","md:my-0","text-gray-300","border-2","border-gray-800","group","hover:bg-gray-700","hover:shadow-md","hover:border","transition","duration-300","hover:border-solid","transform","hover:scale-105","hover:text-white"],[1,"absolute","z-10","top-[-30px]","-right-5","w-1/6","max-sm:w-1/6","rounded-full"],["alt","prize image","loading","lazy",1,"h-full","w-full","object-cover","rounded-full",3,"src"],[1,"w-full","rounded-t-lg","overflow-hidden","p-2"],[1,"h-[230px]","rounded-t-lg","mb-5"],["alt","group image","loading","lazy",1,"object-cover","w-full","h-full","rounded-t-lg",3,"src"],[1,"text-2xl","px-4","mb-8","font-bold","title-font","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text","group-hover:text-white"],[1,"text-white","text-justify","justify-between","px-4"],[1,"title-font","font-bold","text-xl","text-left","mb-2"],[1,"leading-relaxed","text-left","mb-3","text-gray-300"],[1,"flex","justify-center","items-end","mb-5","mt-2"],[1,"px-4","py-2","border","rounded-full","hover:border-none","hover:bg-purple-700","hover:text-white",3,"click"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0)(1,"h2",1),e._uU(2),e.qZA(),e.TgZ(3,"div",2)(4,"div",3)(5,"p",4),e._uU(6),e.qZA()()(),e.TgZ(7,"div",5),e.YNc(8,J,17,12,"div",6),e.qZA()()),2&o&&(e.xp6(2),e.hij(" ",n.title," "),e.xp6(4),e.hij(" ",n.descr," "),e.xp6(2),e.Q6J("ngForOf",n.winners))},dependencies:[s.sg],styles:[".custome[_ngcontent-%COMP%]:hover .shadow_class[_ngcontent-%COMP%]{opacity:.6;transition:opacity .3s ease-in-out}.custome[_ngcontent-%COMP%]:hover .img_card[_ngcontent-%COMP%]{height:100%;width:100%;border-radius:1rem}.custome[_ngcontent-%COMP%]:hover .full-width[_ngcontent-%COMP%]{height:full}.custome[_ngcontent-%COMP%]:hover .image[_ngcontent-%COMP%]{border-radius:1rem;transition:border-radius .3s ease-in-out}.custome[_ngcontent-%COMP%]:hover .card_prize[_ngcontent-%COMP%]{z-index:20}.custom-shape[_ngcontent-%COMP%]{clip-path:polygon(0% 0%,100% 0%,100% 80%,50% 100%,0% 80%)}button[_ngcontent-%COMP%]:hover{cursor:pointer}.overflow-auto[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.img_parent[_ngcontent-%COMP%]:hover .team-name[_ngcontent-%COMP%]{opacity:1}.overflow-auto[_ngcontent-%COMP%]{scrollbar-width:thin;scrollbar-color:transparent transparent}"]})}return t})(),D=(()=>{class t{constructor(i,o){this.cloudinaryService=i,this.winnerModalService=o,this.winners=[],this.track_winners=[],this.title_winners="",this.desc_track_winners="",this.desc_winners="",this.title_track_winners="",this.isModalOpen=!1,this.modalContent={}}openModal(i){this.winnerModalService.toggleModal(!0,i)}ngOnInit(){this.kurio_img=this.cloudinaryService.generateImageUrl("Hackathon/kurioo"),this.cognipath=this.cloudinaryService.generateImageUrl("Hackathon/cognipath"),this.yyeni=this.cloudinaryService.generateImageUrl("Hackathon/yyeni"),this.title_track_winners="Meet 2023 track winners",this.title_winners="Meet 2023 winner projects",this.desc_winners="The Top 3 Teams, who stood out from across Africa. Their projects, acknowledged as the best, present scalable initiatives, addressing challenges and providing solutions for communities in Africa.",this.desc_track_winners="The Track Winners teams are recognized for outstanding projects that made impactful contributions to African communities.",this.winners=[{teamMembers:["Miriam Shikongo","Vitalis P Haupindi","Lotto N Nanghonda Jr"],projectname:"YYeni AI",team:"YYeni AI",money:"6,000",rank:2,awrd_img:"assets/silver 1 (no bg).png",img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700746297/Hackathon/yyeni.jpg",countries:["Namibia"],description:"AI chatbot for an enhanced educational experience through inquiry-based learning and customizable content. ",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1701068390/Hackathon/yyeni/On.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068412/Hackathon/yyeni/Tw.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068391/Hackathon/yyeni/Thr.jpg"],demo:"https://www.youtube.com/embed/lhVff0IBnOY?si=S1_gEIo48Xjo-BC-",pitch:"https://www.youtube.com/embed/ZoYZDrZN1SY?si=osdo2FZf28eeRa_0",webUrl:"https://yyenichat.com/",prize_description:["Team YYeni AI enjoyed a fully-covered trip to Addis Ababa, including airfare, hotel, and other expenses. They had the valuable opportunity to pitch their project idea to renowned individuals and venture capitalists. Additionally, they received a certificate of achievement, and a direct placement opportunity in the A2SV education Cohort 5."],linkedin:["https://www.linkedin.com/in/miriam-shikongo-41b2a8224","https://www.linkedin.com/in/vitalis-p-haupindi-6964b5216","https://www.linkedin.com/in/lotto-n-nanghonda-jr-727436247"]},{teamMembers:["Aya Omezzine","Christian Parfait ","MohamedAziz Omezine","Mohamed Regaya","Ghada Eladeb"],team:"The Siblings",projectname:"CogniPath",money:"10,000",rank:1,img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700745279/Hackathon/cognipath.jpg",awrd_img:"assets/gold 1 (no bg).png",countries:["Tunisia","Cameroon"],description:"AI-powered platform creates learning materials for students with learning disorders.",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/aya.png","https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/Christian.png","https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/Mohamed.png","https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/Rebaya.png","https://res.cloudinary.com/eskalate/image/upload/v1700844082/Hackathon/cognipath/Ghada.png"],demo:"https://www.youtube.com/embed/SIjvIMWqgDs?si=ZVHTL7YUAN00sYgi",pitch:"https://www.youtube.com/embed/5fKccJiX_8I?si=7TA69lVH6Ni494p8",webUrl:"https://cognipath.azurewebsites.net/",prize_description:["Team CogniPath enjoyed a fully-covered trip to Addis Ababa, including airfare, hotel, and other expenses. They had the opportunity to pitch their project to renowned individuals and venture capitalists. Along with a certificate of achievement and direct placement in the A2SV education cohort 5, the team will work with Modus Capital for personalized fundraising support and one-on-one expert guidance, elevating their project and early start-up."],linkedin:["https://www.linkedin.com/in/aya-omezzine-722679174","https://www.linkedin.com/in/christian-parfait-nebot-fonkou","https://www.linkedin.com/in/mohamed-aziz-omezine-63491a116","https://www.linkedin.com/in/regaya-mohamed-462992218","https://www.linkedin.com/in/ghada-eladeb-3b2854237"]},{teamMembers:["Kamel Brouthen","Aymene Berriche","Mehdi Zakaria ","Ahmed Yacine ","Moussaab Badla"],team:" FutureX",projectname:"Kurio",money:"4,000",rank:3,awrd_img:"assets/bronze 1.png",img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700741675/Hackathon/kurioo.jpg",countries:["Algeria"],description:"An AI-powered app for personalized and interactive children's learning and entertainment.",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1701070974/Hackathon/kurio/Kamel.png","https://res.cloudinary.com/eskalate/image/upload/v1701070974/Hackathon/kurio/Aymen.png","https://res.cloudinary.com/eskalate/image/upload/v1701070975/Hackathon/kurio/mehdi.png","https://res.cloudinary.com/eskalate/image/upload/v1701070974/Hackathon/kurio/Ahmed.png","https://res.cloudinary.com/eskalate/image/upload/v1701070975/Hackathon/kurio/Moussaab.png"],demo:"https://www.youtube.com/embed/BLcX8sRU-aE?si=wYdkUaKh9Xkhr4bI",pitch:"https://www.youtube.com/embed/fWRPbIW21J0?si=JdjMRhojDF052ltO",mobileUrl:"https://drive.google.com/file/d/1CG6WzV7HpjxxOY_Ti6j8EgS4NJT75vpN/view?usp=drive_link",prize_description:["Team Kurio enjoyed an all-inclusive trip to Addis Ababa, covering airfare, hotel, and additional expenses. They seized the opportunity to pitch their project to esteemed individuals and venture capitalists. The team received a certificate of achievement and secured a direct placement in the A2SV education cohort 5, fostering valuable educational opportunities."],linkedin:["https://www.linkedin.com/in/brouthen-kamel","https://www.linkedin.com/in/aymen-berriche-372ba81a5","https://www.linkedin.com/in/adjal-mehdi-zakaria-a40a39223","https://www.linkedin.com/in/ahmedyacinebouchouareb","https://www.linkedin.com/in/moussaab-badla-16b398291"]}],this.track_winners=[{teamMembers:["Aser Hailu","Biruk Mesfin","Bisrat Kebere","Duresa Feyisa","Estifanos Samson"],prize_type:"Best Technical Implementation Award",money:"2,500",team:"Innovate Fusion",projectname:"THE ARCHITECT AI",prize_description:"Congratulations to Team Innovate Fusion from Ethiopia! We proudly acknowledge the ARCHITECT AI project, which stood out for its remarkable and innovative technical implementation.",rank:1,awrd_img:"assets/gold 1 (no bg).png",img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700743904/Hackathon/Architect.jpg",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/aserr.png","https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/birukk.png","https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/bisratt.png","https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/duresaa.png","https://res.cloudinary.com/eskalate/image/upload/v1700843866/Hackathon/architect/estifanos.png"],description:"Virtual architectural design assistant that uses generative AI to generate customizable and sustainable skyscraper designs for architecture and construction projects in Africa.",countries:["Ethiopia"],demo:"https://www.youtube.com/embed/irHZkTfRL2c?si=1g-5WDz6Bx1L39zS",pitch:"https://www.youtube.com/embed/AvpUPbTf7HE?si=7USncKJOg2-K1_8Q",webUrl:"https://architect-ai-theta.vercel.app/home",mobileUrl:"https://drive.google.com/file/d/1E7CKANKvaY6yh-VKgUTdcSc6QxCS8K6r/view?usp=drive_link",linkedin:["https://www.linkedin.com/in/aser-hailu","https://www.linkedin.com/in/biruk-mesfin","https://www.linkedin.com/in/bisry","https://www.linkedin.com/in/duresa-feyisa-513271256","https://www.linkedin.com/in/estifanos-samson-7286bb298"]},{teamMembers:["Miriam Shikongo","Vitalis P Haupindi","Lotto N Nanghonda Jr"],prize_type:"Most Potential for Positive Change Award",money:"2,500",prize_description:"Congratulations to Team YYeni AI from Namibia! We commend the YYeni AI project, which stood out for its exceptional potential to make a positive impact and drive meaningful change.",projectname:"YYeni AI",team:"YYeni AI",awrd_img:"assets/gold 1 (no bg).png",rank:1,img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700746297/Hackathon/yyeni.jpg",countries:["Namibia"],description:"AI chatbot for an enhanced educational experience through inquiry-based learning and customizable content. ",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1701068390/Hackathon/yyeni/On.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068412/Hackathon/yyeni/Tw.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068391/Hackathon/yyeni/Thr.jpg"],demo:"https://www.youtube.com/embed/lhVff0IBnOY?si=S1_gEIo48Xjo-BC-",pitch:"https://www.youtube.com/embed/ZoYZDrZN1SY?si=osdo2FZf28eeRa_0",webUrl:"https://yyenichat.com/",linkedin:["https://www.linkedin.com/in/miriam-shikongo-41b2a8224","https://www.linkedin.com/in/vitalis-p-haupindi-6964b5216","https://www.linkedin.com/in/lotto-n-nanghonda-jr-727436247"]},{teamMembers:["Ann Mumbi","Franklin Karanja","Jude Ang'Edu","Nathan Mbugua","Wayne Asava"],prize_type:"Best User Experience Award",money:"2,500",awrd_img:"assets/gold 1 (no bg).png",team:"Sapphire",projectname:"StoryCraft",prize_description:"Congratulations to Team Sapphire from Kenya! We applaud the outstanding achievement of the StoryCraft project, which was recognized for delivering an exceptional and intuitive user experience.",rank:1,img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700835115/Hackathon/sapphire.jpg",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/ann.png","https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/frank.png","https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/jude.png","https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/nathan.png","https://res.cloudinary.com/eskalate/image/upload/v1700842689/Hackathon/sapphire/wayne.png"],description:"AI-powered platform that creates personalized and engaging storybooks for early readers, fostering a love for reading among children.",countries:["Kenya"],demo:"https://www.youtube.com/embed/YHBCz0VNjaA?si=AJHna8gKMUX8EAiR",pitch:"https://www.youtube.com/embed/d5vJMWklKpM?si=DgSCAMdTxeb99GsK",webUrl:"http://www.storycraftai.tech/",linkedin:["https://www.linkedin.com/in/ann-kamau-564b88216","https://www.linkedin.com/in/knurf-mutua","https://www.linkedin.com/in/jude-ang-edu-451532185","#","https://www.linkedin.com/in/wayneasava"]},{teamMembers:["Miriam Shikongo","Vitalis P Haupindi","Lotto N Nanghonda Jr"],prize_type:"Cross-Domain Collaboration Award",projectname:"YYeni AI",team:"YYeni AI",prize_description:"Congratulations to Team YYeni AI from Namibia! The YYeni project effectively combined generative AI techniques with expertise from different fields, showcasing an innovative approach.",money:"2,500",rank:1,awrd_img:"assets/gold 1 (no bg).png",img:"https://res.cloudinary.com/eskalate/image/upload/w_850,h_650,c_thumb/v1700746297/Hackathon/yyeni.jpg",countries:["Namibia"],description:"AI chatbot for an enhanced educational experience through inquiry-based learning and customizable content. ",teamImage:["https://res.cloudinary.com/eskalate/image/upload/v1701068390/Hackathon/yyeni/On.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068412/Hackathon/yyeni/Tw.jpg","https://res.cloudinary.com/eskalate/image/upload/v1701068391/Hackathon/yyeni/Thr.jpg"],demo:"https://www.youtube.com/embed/lhVff0IBnOY?si=S1_gEIo48Xjo-BC-",pitch:"https://www.youtube.com/embed/ZoYZDrZN1SY?si=osdo2FZf28eeRa_0",webUrl:"https://yyenichat.com/",linkedin:["https://www.linkedin.com/in/miriam-shikongo-41b2a8224","https://www.linkedin.com/in/vitalis-p-haupindi-6964b5216","https://www.linkedin.com/in/lotto-n-nanghonda-jr-727436247"]}]}getRankClass(i){switch(i){case 1:return"md:mt-[-40px] bg-gradient-to-r from-amber-900 via-amber-700 to-amber-500 text-white ";case 2:return"md:mt-[-20px] bg-gradient-to-r from-gray-400 to-gray-200 silver_custome text-black ";case 3:return"bg-gradient-to-r from-bronze-900 via-bronze-700 to-bronze-500 text-white ";default:return"bg-gray-200"}}getButtonsClass(i){switch(i){case 1:return"bg-gradient-to-r from-amber-900 via-amber-700 to-amber-500 text-yellow-500 ";case 2:return"bg-gradient-to-r from-gray-400 to-gray-200 silver_custome text-purple-500 ";case 3:return"bg-gradient-to-r from-bronze-900 via-bronze-700 to-bronze-500 text-orange-500 ";default:return"bg-gray-200"}}getCardText(i){switch(i){case 1:return" text-amber-200 ";case 2:return" text-gray-200 ";case 3:return" text-bronze-200 ";default:return"bg-gray-200"}}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(U),e.Y36(S))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-winner"]],decls:2,vars:3,consts:[[1,"w-full","flex","flex-col","justify-center","items-center","rounded-md","m-auto"],[3,"title","descr","winners","cardTouched"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0)(1,"app-track-winners",1),e.NdJ("cardTouched",function(c){return n.openModal(c)}),e.qZA()()),2&o&&(e.xp6(1),e.Q6J("title",n.title_winners)("descr",n.desc_winners)("winners",n.winners))},dependencies:[N]})}return t})();const F=["videoIframe"];let z=(()=>{class t{constructor(){this.awards=["Trip to Addis Ababa, including airfare, hotel, and other expenses.","Opportunity to pitch one's project idea to renowned tech individuals and venture capitalists.","Certificate of achievement."],this.missionTextPart1="A2SV (Africa to Silicon Valley) is a US-based nonprofit academy igniting Africa's tech revolution with comprehensive software engineering training and tech-driven solutions",this.missionTextPart2="Through collaborations with top African universities and tech titans, A2SV has created a thriving ecosystem for emerging talent since 2019. Our program is free, breaking financial barriers, nurturing dreams, and democratizing the path to a tech-driven future.",this.secondPrize={place:"Second",prize:"6,000",padding:"32px",color:"#C0C0C0",image:"assets/silver 1 (no bg).png",awards:[...this.awards,"Custom-designed A2SV swag.","Direct placement opportunity in the A2SV education cohort 5."]},this.firstPrize={place:"First",prize:"10,000",padding:"32px",color:"#FFC876",image:"assets/gold 1 (no bg).png",awards:[...this.awards,"Direct placement opportunity in the A2SV education cohort 5.","Custom-designed A2SV swag.","Partnership with Modus VC to assist with fundraising and tailored 1-on-1 expert support."]},this.thirdPrize={place:"Third",prize:"4,000",padding:"32px",color:"#CD7F32",image:"assets/bronze 1.png",awards:[...this.awards,"Direct placement opportunity in the A2SV education cohort 5."]},this.tracks=[{title:"Best Technical Implementation Award",description:"Recognizes the project with the most impressive and innovative technical implementation.",prize:"2500"},{title:"Most Potential for Positive Change Award",description:"Highlights the project that shows the greatest potential for making a positive impact and driving change.",prize:"2500"},{title:"Best User Experience Award",description:"Rewards the project that delivers an exceptional and intuitive user experience.",prize:"2500"},{title:"Cross-Domain Collaboration Award",description:"Acknowledges teams that effectively combine AI techniques with expertise from different fields.",prize:"2500"}],this.prizes=[this.secondPrize,this.firstPrize,this.thirdPrize]}ngAfterViewInit(){}ngOnInit(){}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-prizes"]],viewQuery:function(o,n){if(1&o&&e.Gf(F,5),2&o){let r;e.iGM(r=e.CRH())&&(n.videoIframe=r.first)}},decls:3,vars:0,consts:[["id","prizes",1,"flex","fade","min-h-screen","py-10","max-sm:px-2","max-md:py-10","max-xl:px-10","px-20","flex-col","justify-center"],[1,"mb-10"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0),e._UZ(1,"app-winner")(2,"div",1),e.qZA())},dependencies:[D],styles:[".fade[_ngcontent-%COMP%]{transition:opacity .5s}"]})}return t})();const R=[{path:"home",component:M},{path:"prizes",component:z}],Q={scrollPositionRestoration:"enabled",anchorScrolling:"enabled",scrollOffset:[0,64]};let V=(()=>{class t{static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275mod=e.oAB({type:t});static#i=this.\u0275inj=e.cJS({imports:[A.Bz.forRoot(R,Q),A.Bz]})}return t})(),O=(()=>{class t{constructor(){this._myData$=new g.X(null),this.myData$=this._myData$.asObservable(),this._waitingResponse$=new g.X(!1)}seedData(){const i=localStorage.getItem("messages");null==i?this.addMessage({content:"Hi I\u2019m Ifoki, I am here to answer any of your questions about the hackathon",role:"bot"}):this._myData$.next(JSON.parse(i))}setWaitingStatus(i){const o=localStorage.getItem("waitingStatus")?JSON.parse(localStorage.getItem("waitingStatus")):0,n=i?o+1:o-1;localStorage.setItem("waitingStatus",JSON.stringify(n)),this._waitingResponse$.next(n>0)}resetWaitingStatus(){localStorage.setItem("waitingStatus",JSON.stringify(0)),this._waitingResponse$.next(!1)}addMessage(i){const o=localStorage.getItem("messages")?JSON.parse(localStorage.getItem("messages")):[];o.push(i),localStorage.setItem("messages",JSON.stringify(o)),this._myData$.next(o)}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),x=(()=>{class t{constructor(){this.displayConsent=!1}showConsentUI(i){this.displayConsent=i}shouldShowConsentUI(){return this.displayConsent}getConsentStatus(){return null!==localStorage.getItem("consentGiven")}giveConsent(){localStorage.setItem("consentGiven","true"),this.displayConsent=!1}withdrawConsent(){localStorage.removeItem("consentGiven"),this.displayConsent=!0}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),q=(()=>{class t{constructor(i){this.consentService=i}loadPlugin(){const p=document.createElement("script");p.onerror=k=>{console.error("[termsfeed][pc-loader-1]","[ee][b1b476da]","plugin failed!",k)},p.async=!0,p.src="https://cdn.termsfeedtag.com/plugins/pc/v1/d55fc7bf462345899345196be3d8e53a/plugin-2.js",this.consentService.getConsentStatus()&&document.body.appendChild(p)}static#e=this.\u0275fac=function(o){return new(o||t)(e.LFG(x))};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Y(t,a){if(1&t&&(e.TgZ(0,"li")(1,"div",10)(2,"div",11),e.O4$(),e.TgZ(3,"svg",12),e._UZ(4,"path",13),e.qZA()(),e.kcU(),e.TgZ(5,"div",14)(6,"p",15),e._uU(7),e.qZA()()()()),2&t){const i=a.$implicit;e.xp6(7),e.hij(" ",i.text," ")}}const G=(t,a)=>({" border-[1.5px] border-gray-300 text-gray-500 cursor-not-allowed disabled":t,"bg-purple-700":a}),$=(t,a)=>({"border-[1.5px] border-gray-300 text-gray-500 cursor-not-allowed disabled":t,"bg-purple-700":a});let E=(()=>{class t{constructor(){this.registrationDeadline=new Date(2023,7,31,23,59,59),this.isIndividual=!0,this.registrationButtonVisible=!0,this.criterieas=[{text:"Every team must have a minimum of 3 members and a maximum of 5 members."},{text:"Every team member must be located in Africa."},{text:"All team members must be students currently enrolled in a University, College (undergrad, Associate, Diploma program), or High School, with a graduation year after January 2024. Students currently pursuing or who have completed a Master's degree or higher are not eligible to participate."},{text:"If you don't have a team you can register individually and we'll match you with other talented developers, designers, and problem solvers."}],this.individualCriteria=[{text:"Are you currently studying or have you completed your studies in a University, College (undergraduate, Associate, or Diploma program), or High School in Africa?",answered:null},{text:"Is your graduation year after January 2024?",answered:null},{text:"Are you already in a team of 4 - 5 or are you willing to be grouped into teams by the organizers?",answered:null}],this.teamCriteria=[{text:"Are all of your team members currently studying or have completed their studies in a University, College (undergraduate, Associate, or Diploma program), or High School in Africa?",answered:null},{text:"Are the graduation years of all team members after January 2024?",answered:null},{text:"Is each team member registered only to one team?",answered:null},{text:"Does your team have 3 to 5 members?",answered:null}],this.criteria=this.individualCriteria}ngOnInit(){setInterval(()=>{this.updateRegistrationButtonVisibility()},1e3)}updateRegistrationButtonVisibility(){this.registrationButtonVisible=new Date{class t{constructor(){this.modalOpenSource=new g.X(!1),this.modalOpen$=this.modalOpenSource.asObservable(),this.eligibilityCheckedSource=new g.X(!1),this.eligibilityChecked$=this.eligibilityCheckedSource.asObservable(),this.showEligibilitySource=new g.X(!1),this.showEligibility$=this.showEligibilitySource.asObservable()}openModal(){this.modalOpenSource.next(!0)}closeModal(){this.modalOpenSource.next(!1),this.showEligibilitySource.next(!1)}checkEligibility(){this.eligibilityCheckedSource.next(!0),this.showEligibilitySource.next(!1)}showEligibility(){this.showEligibilitySource.next(!0)}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function W(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",35)(1,"a",36),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.setActiveButton("signup","https://t.me/+yqzQh04AAXRjZGQ0"))}),e.O4$(),e.TgZ(2,"svg",37),e._UZ(3,"path",12),e.qZA()(),e.kcU(),e.TgZ(4,"a",38),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.setActiveButton("signup","https://www.facebook.com/africatosiliconvalley"))}),e.O4$(),e.TgZ(5,"svg",39),e._UZ(6,"path",15),e.qZA()(),e.kcU(),e.TgZ(7,"a",16),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.setActiveButton("signup","https://www.instagram.com/a2sv_org/?hl=en"))}),e.O4$(),e.TgZ(8,"svg",17),e._UZ(9,"path",18),e.qZA()(),e.kcU(),e.TgZ(10,"a",40),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.setActiveButton("signup","https://twitter.com/A2_SV"))}),e.O4$(),e.TgZ(11,"svg",20),e._UZ(12,"path",21),e.qZA()(),e.kcU(),e.TgZ(13,"a",41),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.setActiveButton("signup","https://www.linkedin.com/company/a2sv/"))}),e.O4$(),e.TgZ(14,"svg",23),e._UZ(15,"path",24)(16,"circle",25),e.qZA()()()}}function K(t,a){if(1&t){const i=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"div",42),e._UZ(1,"div",43),e.TgZ(2,"div",44)(3,"div",45)(4,"button",46),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.toggleMenu())}),e.TgZ(5,"span",31),e._uU(6,"Close menu"),e.qZA(),e.TgZ(7,"div",47),e.O4$(),e.TgZ(8,"svg",32),e._UZ(9,"path",48),e.qZA()()()(),e.kcU(),e.TgZ(10,"div",49)(11,"div",50)(12,"div",51)(13,"a",52),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return n.scrollToSection("landing"),e.KtG(n.toggleMenu())}),e._uU(14,"Home"),e.qZA(),e.TgZ(15,"a",52),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return n.scrollToSection("prize2024"),e.KtG(n.toggleMenu())}),e._uU(16,"\u{1f3c6} $30K Prize"),e.qZA(),e.TgZ(17,"a",52),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return n.scrollToSection("info"),e.KtG(n.toggleMenu())}),e._uU(18,"Information"),e.qZA(),e.TgZ(19,"a",52),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return n.scrollToSection("about-us"),e.KtG(n.toggleMenu())}),e._uU(20,"About Us"),e.qZA(),e.TgZ(21,"a",52),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return n.scrollToSection("partners"),e.KtG(n.toggleMenu())}),e._uU(22,"A2SV Interview Partners"),e.qZA()()()()()()}}let X=(()=>{class t{constructor(i,o,n){this.elRef=i,this.modalService=o,this.registerService=n,this.showMenu=!1,this.isModalOpenArray=!1,this.currentSection="home",this.showModal=!1,this.dropdownVisible=!1}toggleMenu(){this.showMenu=!this.showMenu}openModal(i){i.stopPropagation(),this.modalService.openModal()}openRegisterModal(){this.registerService.openModal()}scrollToSection(i){this.currentSection=i;const o=!document.body.classList.contains("overflow-hidden"),n=document.getElementById(i);null!=n&&o&&n.scrollIntoView({behavior:"smooth"})}setActiveButton(i,o){window.open(o,"_blank")}navigateToEligiblity(){window.document.getElementById("register_modal")?.close(),this.scrollToSection("eligibility")}toggleDropdown(){this.dropdownVisible=!this.dropdownVisible}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(e.SBq),e.Y36(v),e.Y36(_))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-header"]],inputs:{currentSection:"currentSection"},decls:48,vars:17,consts:[[1,"fixed","text-white","inset-x-0","top-0","z-50"],["aria-label","Global",1,"flex","gap-x-4","backdrop-blur-lg","bg-black","bg-opacity-30","items-center","justify-between","border-b","border-gray-600","border-spacing-0.5","max-md:p-2","p-4","lg:px-16"],["href","https://a2sv.org","target","_blank","rel",""],["src","assets/A2SV_LOGO%20(2).svg","alt","a2sv logo",1,"w-32","max-sm:w-22","max-lg:w-24","max-md:w-20"],[1,"hidden","justify-between","gap-x-4","lg:flex"],[3,"click"],[1,"flex","text-sm","bg-purple-700","hover:bg-purple-500","text-white","py-2","px-4","rounded-full","cursor-pointer","transition","duration-300","ease-in-out","ml-2",3,"click"],[1,"hidden","lg:flex","ml-1"],[1,"px-3","hidden","sm:flex"],[1,"inline-flex","sm:ml-auto","sm:mt-0","gap-x-3","items-center","justify-between"],["target","_blank","href","https://t.me/+yqzQh04AAXRjZGQ0",1,"ml-2","text-gray-100","hover:text-indigo-600","mb-1",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","white","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M29.919 6.163l-4.225 19.925c-0.319 1.406-1.15 1.756-2.331 1.094l-6.438-4.744-3.106 2.988c-0.344 0.344-0.631 0.631-1.294 0.631l0.463-6.556 11.931-10.781c0.519-0.462-0.113-0.719-0.806-0.256l-14.75 9.288-6.35-1.988c-1.381-0.431-1.406-1.381 0.288-2.044l24.837-9.569c1.15-0.431 2.156 0.256 1.781 2.013z"],["target","_blank","href","https://www.facebook.com/africatosiliconvalley",1,"text-gray-100","hover:text-indigo-600","mr-2",3,"click"],["fill","white","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"],["target","_blank","href","https://www.instagram.com/a2sv_org/?hl=en",1,"text-gray-100","align-middle","hover:text-indigo-600",3,"click"],["fill","white","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 448 512",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M224 202.66A53.34 53.34 0 10277.36 256 53.38 53.38 0 00224 202.66zm124.71-41a54 54 0 00-30.41-30.41c-21-8.29-71-6.43-94.3-6.43s-73.25-1.93-94.31 6.43a54 54 0 00-30.41 30.41c-8.28 21-6.43 71.05-6.43 94.33s-1.85 73.27 6.47 94.34a54 54 0 0030.41 30.41c21 8.29 71 6.43 94.31 6.43s73.24 1.93 94.3-6.43a54 54 0 0030.41-30.41c8.35-21 6.43-71.05 6.43-94.33s1.92-73.26-6.43-94.33zM224 338a82 82 0 1182-82 81.9 81.9 0 01-82 82zm85.38-148.3a19.14 19.14 0 1119.13-19.14 19.1 19.1 0 01-19.09 19.18zM400 32H48A48 48 0 000 80v352a48 48 0 0048 48h352a48 48 0 0048-48V80a48 48 0 00-48-48zm-17.12 290c-1.29 25.63-7.14 48.34-25.85 67s-41.4 24.63-67 25.85c-26.41 1.49-105.59 1.49-132 0-25.63-1.29-48.26-7.15-67-25.85s-24.63-41.42-25.85-67c-1.49-26.42-1.49-105.61 0-132 1.29-25.63 7.07-48.34 25.85-67s41.47-24.56 67-25.78c26.41-1.49 105.59-1.49 132 0 25.63 1.29 48.33 7.15 67 25.85s24.63 41.42 25.85 67.05c1.49 26.32 1.49 105.44 0 131.88z"],["target","_blank","href","https://twitter.com/A2_SV",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["viewBox","0 0 300 300","fill","white","xmlns","http://www.w3.org/2000/svg",1,"w-3","h-3","sm:w-4","sm:h-4"],["d","M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"],["target","_blank","href","https://www.linkedin.com/company/a2sv/",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["fill","white","stroke","white","stroke-linecap","round","stroke-linejoin","round","stroke-width","0","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["stroke","none","d","M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"],["cx","4","cy","4","r","2","stroke","none"],[1,"block","sm:hidden","relative"],[1,"text-gray-100","hover:text-indigo-600",3,"click"],["class","absolute flex flex-col mt-4 space-y-2 bg-black bg-opacity-30 p-3",4,"ngIf"],[1,"flex","lg:hidden"],["type","button",1,"-m-2.5","inline-flex","items-center","justify-center","rounded-md","p-2.5","text-gray-700",3,"click"],[1,"sr-only"],["fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","white","aria-hidden","true",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","d","M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"],["class","lg:hidden relative text-white","role","dialog","aria-modal","true",4,"ngIf"],[1,"absolute","flex","flex-col","mt-4","space-y-2","bg-black","bg-opacity-30","p-3"],["target","_blank","href","https://t.me/+yqzQh04AAXRjZGQ0",1,"text-gray-100","hover:text-indigo-600",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","white","viewBox","0 0 24 24",1,"w-4","h-4"],["target","_blank","href","https://www.facebook.com/africatosiliconvalley",1,"text-gray-100","hover:text-indigo-600",3,"click"],["fill","white","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4"],["target","_blank","href","https://twitter.com/A2_SV",1,"text-gray-100","hover:text-indigo-600",3,"click"],["target","_blank","href","https://www.linkedin.com/company/a2sv/",1,"text-gray-100","hover:text-indigo-600",3,"click"],["role","dialog","aria-modal","true",1,"lg:hidden","relative","text-white"],[1,"fixed","inset-0","z-50"],[1,"fixed","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-black","px-6","py-6","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],[1,"flex","items-center","justify-between"],["type","button",1,"-m-2.5","rounded-md","p-2.5","text-white",3,"click"],[1,"text-white"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],[1,"mt-6","flow-root"],[1,"-my-6","divide-y","divide-gray-500/10"],[1,"space-y-2","py-6"],[1,"-mx-3","block","rounded-lg","px-3","py-2","text-base","font-semibold","leading-7","text-gray-200","hover:bg-gray-800",3,"click"]],template:function(o,n){1&o&&(e.TgZ(0,"header",0)(1,"nav",1)(2,"a",2),e._UZ(3,"img",3),e.qZA(),e.TgZ(4,"div",4)(5,"a",5),e.NdJ("click",function(){return n.scrollToSection("landing")}),e._uU(6,"Home"),e.qZA(),e.TgZ(7,"a",5),e.NdJ("click",function(){return n.scrollToSection("prize2024")}),e._uU(8,"\u{1f3c6} $30K Prize"),e.qZA(),e.TgZ(9,"a",5),e.NdJ("click",function(){return n.scrollToSection("info")}),e._uU(10,"Information"),e.qZA(),e.TgZ(11,"a",5),e.NdJ("click",function(){return n.scrollToSection("about-us")}),e._uU(12,"About Us"),e.qZA(),e.TgZ(13,"a",5),e.NdJ("click",function(){return n.scrollToSection("partners")}),e._uU(14,"Interview Partners"),e.qZA()(),e.TgZ(15,"button",6),e.NdJ("click",function(){return n.openRegisterModal()}),e._uU(16," Register "),e.TgZ(17,"span",7),e._uU(18,"Now"),e.qZA()(),e.TgZ(19,"div",8)(20,"span",9)(21,"a",10),e.NdJ("click",function(){return n.setActiveButton("signup","https://t.me/+yqzQh04AAXRjZGQ0")}),e.O4$(),e.TgZ(22,"svg",11),e._UZ(23,"path",12),e.qZA()(),e.kcU(),e.TgZ(24,"a",13),e.NdJ("click",function(){return n.setActiveButton("signup","https://www.facebook.com/africatosiliconvalley")}),e.O4$(),e.TgZ(25,"svg",14),e._UZ(26,"path",15),e.qZA()(),e.kcU(),e.TgZ(27,"a",16),e.NdJ("click",function(){return n.setActiveButton("signup","https://www.instagram.com/a2sv_org/?hl=en")}),e.O4$(),e.TgZ(28,"svg",17),e._UZ(29,"path",18),e.qZA()(),e.kcU(),e.TgZ(30,"a",19),e.NdJ("click",function(){return n.setActiveButton("signup","https://twitter.com/A2_SV")}),e.O4$(),e.TgZ(31,"svg",20),e._UZ(32,"path",21),e.qZA()(),e.kcU(),e.TgZ(33,"a",22),e.NdJ("click",function(){return n.setActiveButton("signup","https://www.linkedin.com/company/a2sv/")}),e.O4$(),e.TgZ(34,"svg",23),e._UZ(35,"path",24)(36,"circle",25),e.qZA()()()(),e.kcU(),e.TgZ(37,"div",26)(38,"button",27),e.NdJ("click",function(){return n.toggleDropdown()}),e._uU(39," Medias "),e.qZA(),e.YNc(40,W,17,0,"div",28),e.qZA(),e.TgZ(41,"div",29)(42,"button",30),e.NdJ("click",function(){return n.toggleMenu()}),e.TgZ(43,"span",31),e._uU(44,"Open main menu"),e.qZA(),e.O4$(),e.TgZ(45,"svg",32),e._UZ(46,"path",33),e.qZA()()()(),e.YNc(47,K,23,0,"div",34),e.qZA()),2&o&&(e.xp6(5),e.Gre("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","landing"==n.currentSection.toString()?"text-indigo-600":"text-gray-200"," "),e.xp6(2),e.Gre("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","prize2024"==n.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.xp6(2),e.Gre("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","info"==n.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.xp6(2),e.Gre("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","about-us"==n.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.xp6(2),e.Gre("text-sm max-xl:text-[0.75rem] cursor-pointer font-semibold leading-6 hover:text-indigo-600 nav-item ","partners"==n.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.xp6(27),e.Q6J("ngIf",n.dropdownVisible),e.xp6(7),e.Q6J("ngIf",n.showMenu))},dependencies:[s.O5]})}return t})();var b=l(4402);function ee(t,a){if(1&t&&e._UZ(0,"img",8),2&t){const i=e.oxw().$implicit;e.s9C("src",i.img,e.LSH)}}function te(t,a){if(1&t&&(e.ynx(0),e.YNc(1,ee,1,1,"ng-template",7),e.BQk()),2&t){const i=a.index;e.xp6(1),e.s9C("id","slide-"+i)}}let ie=(()=>{class t{constructor(){this.slides=[{img:"assets/Google_logo.svg"},{img:"assets/Bloomberg_logo.svg"},{img:"assets/Palantir_Technologies_logo%201.svg"},{img:"assets/Databricks_logo.svg"},{img:"assets/Meta_logo.svg"}],this.slideConfig={slidesToShow:4,slidesToScroll:1,autoplay:!0,autoplaySpeed:0,speed:2500,pauseOnHover:!1,cssEase:"linear",responsive:[{breakpoint:1280,settings:{slidesToShow:3}},{breakpoint:1024,settings:{slidesToShow:2}},{breakpoint:640,settings:{slidesToShow:1}}]},this.customOptions={loop:!0,mouseDrag:!1,touchDrag:!1,pullDrag:!1,autoplay:!0,autoplayTimeout:2500,autoplaySpeed:2e3,autoplayHoverPause:!0,dots:!1,nav:!1,responsive:{0:{items:1},400:{items:2},740:{items:3},940:{items:4}}}}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-potential-partners"]],decls:9,vars:2,consts:[[1,"w-full","py-8","flex","flex-col","items-center"],[1,"sm:text-4xl","text-center","text-2xl","font-medium","mb-4","text-white"],[1,"w-full","my-10",3,"options"],[4,"ngFor","ngForOf"],["onclick","sponsor_us_modal.showModal()",1,"mx-auto","rounded-full","px-5","py-2.5","overflow-hidden","group","bg-gradient-to-r","from-indigo-600","to-pink-500","relative","hover:bg-gradient-to-r","hover:from-indigo-600","hover:to-pink-500","text-white","transition-all","cursor-pointer","ease-out","duration-300"],[1,"absolute","right-0","w-8","-mt-6","transition-all","duration-1000","transform","translate-x-12","bg-white","opacity-10","rotate-12","group-hover:-translate-x-40","ease"],[1,"relative","mb-5"],["carouselSlide","","class"," mx-auto flex justify-center ",3,"id"],[1,"w-full","h-24","py-5","px-16",3,"src"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0)(1,"p",1),e._uU(2,"Interview Partners"),e.qZA(),e.TgZ(3,"owl-carousel-o",2),e.YNc(4,te,2,1,"ng-container",3),e.qZA(),e.TgZ(5,"a",4),e._UZ(6,"span",5),e.TgZ(7,"span",6),e._uU(8,"Support Us"),e.qZA()()()),2&o&&(e.xp6(3),e.Q6J("options",n.customOptions),e.xp6(1),e.Q6J("ngForOf",n.slides))},dependencies:[s.sg,b.Fy,b.Mp],styles:[".owl-carousel[_ngcontent-%COMP%] .owl-stage-outer[_ngcontent-%COMP%]{overflow:hidden}.owl-carousel[_ngcontent-%COMP%] .owl-stage[_ngcontent-%COMP%]{display:flex;transition:transform 2s linear}.owl-carousel[_ngcontent-%COMP%] .owl-item[_ngcontent-%COMP%]{flex-shrink:0}"]})}return t})();const ne=[{number:"1",color:"#41516C",title:"Registration",desc:"Students to register for the African-wide hackathon focused on AI.",year:"1 June - 6 July, 2024",final:!1},{number:"2",color:"#3081D0",title:"Project Idea Submission and Filtration",desc:"During this phase, participants submit their project ideas for consideration. Ideas undergo thorough evaluation and filtering to ensure alignment with hackathon objectives and feasibility for development.",year:"8-12 July, 2024",final:!1},{number:"3",color:"#FFB534",title:"Workshops",desc:"Our initial workshops provide participants with an in-depth understanding of AI, hackathon dynamics, and idea generation.",year:"13-14 July, 2024",final:!1},{number:"4",color:"#163020",title:"Quarterfinals",desc:"Participants undertake a virtual hackathon, competing for a place among the top 30 projects and receiving expert mentorship along the way.",year:"16-20 July, 2024",final:!1},{number:"5",color:"#7BD3EA",title:"Semifinals",desc:"Continued guidance from advisors help refine and optimize the projects of the remaining teams. This phase is marked by iterative feedback and project refinement.",year:"July 28 - September 6, 2024",final:!1},{number:"6",color:"#41516C",title:"Grand Finale",desc:" The top 8 teams are flown to Ethiopia for an all-expense-paid in-person event. They\u2019ll compete for a total prize pool of $30,000, presenting their projects to a distinguished jury.",year:"21-26 , September 2024"}];function oe(t,a){if(1&t&&(e.TgZ(0,"li")(1,"div",3)(2,"div",4),e.O4$(),e.TgZ(3,"svg",5),e._UZ(4,"path",6)(5,"path",7),e.qZA(),e.kcU(),e.TgZ(6,"p"),e._uU(7),e.qZA()()(),e.TgZ(8,"div",8),e._uU(9),e.qZA(),e.TgZ(10,"div",9),e._uU(11),e.qZA()()),2&t){const i=a.$implicit;e.Akn("--accent-color: "+i.color),e.xp6(7),e.Oqu(i.year),e.xp6(2),e.hij(" ",i.title," "),e.xp6(2),e.hij(" ",i.desc," ")}}let ae=(()=>{class t{constructor(){this.years=[]}ngOnInit(){this.years=ne}closeTimelineModal(){}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-timeline"]],decls:4,vars:1,consts:[[1,""],[1,"overflow-auto","py-16","modal-scrollbar"],[3,"style",4,"ngFor","ngForOf"],[1,"date"],[1,"flex","space-x-3","items-center"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-6","h-6","flex-none","text-white"],["d","M12.75 12.75a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM7.5 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM8.25 17.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM9.75 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM10.5 17.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM12 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM12.75 17.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM14.25 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM15 17.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM16.5 15.75a.75.75 0 100-1.5.75.75 0 000 1.5zM15 12.75a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM16.5 13.5a.75.75 0 100-1.5.75.75 0 000 1.5z"],["fill-rule","evenodd","d","M6.75 2.25A.75.75 0 017.5 3v1.5h9V3A.75.75 0 0118 3v1.5h.75a3 3 0 013 3v11.25a3 3 0 01-3 3H5.25a3 3 0 01-3-3V7.5a3 3 0 013-3H6V3a.75.75 0 01.75-.75zm13.5 9a1.5 1.5 0 00-1.5-1.5H5.25a1.5 1.5 0 00-1.5 1.5v7.5a1.5 1.5 0 001.5 1.5h13.5a1.5 1.5 0 001.5-1.5v-7.5z","clip-rule","evenodd"],[1,"title","text-gray-200","font-semibold","text-lg"],[1,"descr","text-gray-400"]],template:function(o,n){1&o&&(e.TgZ(0,"div",0)(1,"div",1)(2,"ul"),e.YNc(3,oe,12,5,"li",2),e.qZA()()()),2&o&&(e.xp6(3),e.Q6J("ngForOf",n.years))},dependencies:[s.sg],styles:['h1[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{--col-gap: 2rem;--row-gap: 2rem;--line-w: .25rem;display:grid;grid-template-columns:var(--line-w) 1fr;grid-auto-columns:max-content;column-gap:var(--col-gap);list-style:none;width:min(60rem,90%);margin-inline:auto}ul[_ngcontent-%COMP%]:before{content:"";grid-column:1;grid-row:1 / span 20;background:rgb(225,225,225);border-radius:calc(var(--line-w) / 2)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child){margin-bottom:var(--row-gap)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{grid-column:2;--inlineP: 1.5rem;margin-inline:var(--inlineP);grid-row:span 2;display:grid;grid-template-rows:min-content min-content min-content}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{--dateH: 3rem;height:var(--dateH);margin-inline:calc(var(--inlineP) * -1);text-align:center;background-color:var(--accent-color);color:#fff;font-size:1.25rem;font-weight:700;display:grid;place-content:center;position:relative;border-radius:calc(var(--dateH) / 2) 0 0 calc(var(--dateH) / 2)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]:before{content:"";width:var(--inlineP);aspect-ratio:1;background:var(--accent-color);background-image:linear-gradient(rgba(0,0,0,.2) 100%,transparent);position:absolute;top:100%;clip-path:polygon(0 0,100% 0,0 100%);right:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]:after{content:"";position:absolute;width:2rem;aspect-ratio:1;background:var(--bgColor);border:.3rem solid var(--accent-color);border-radius:50%;top:50%;transform:translate(50%,-50%);right:calc(100% + var(--col-gap) + var(--line-w) / 2)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .descr[_ngcontent-%COMP%]{background:var(--bgColor);position:relative;padding-inline:1.5rem}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{overflow:hidden;padding-block-start:1.5rem;padding-block-end:1rem;font-weight:500}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .descr[_ngcontent-%COMP%]{padding-block-end:1.5rem;font-weight:300}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]:before, ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .descr[_ngcontent-%COMP%]:before{content:"";position:absolute;width:90%;height:.5rem;background:rgba(0,0,0,.5);left:50%;border-radius:50%;filter:blur(4px);transform:translate(-50%,50%)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]:before{bottom:calc(100% + .125rem)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .descr[_ngcontent-%COMP%]:before{z-index:-1;bottom:.25rem}@media (min-width: 40rem){ul[_ngcontent-%COMP%]{grid-template-columns:1fr var(--line-w) 1fr}ul[_ngcontent-%COMP%]:before{grid-column:2}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd){grid-column:1}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(2n){grid-column:3}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(2){grid-row:2/4}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd) .date[_ngcontent-%COMP%]:before{clip-path:polygon(0 0,100% 0,100% 100%);left:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd) .date[_ngcontent-%COMP%]:after{transform:translate(-50%,-50%);left:calc(100% + var(--col-gap) + var(--line-w) / 2)}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd) .date[_ngcontent-%COMP%]{border-radius:0 calc(var(--dateH) / 2) calc(var(--dateH) / 2) 0}}.modal-scrollbar[_ngcontent-%COMP%]{scrollbar-width:thin;scrollbar-color:green blue}']})}return t})(),re=(()=>{class t{constructor(i){this.sanitizer=i,this.steps=[{number:"1",title:"Registration",description:"Students to register for the African-wide hackathon focused on AI.",date:"1 June - 6 July, 2024",final:!1},{number:"2",title:"Project Idea Submission and Filtration",description:"During this phase, participants submit their project ideas for consideration. Ideas undergo thorough evaluation and filtering to ensure alignment with hackathon objectives and feasibility for development.",date:"8-12 July, 2024",final:!1},{number:"3",title:"Workshops",description:"Our initial workshops provide participants with an in-depth understanding of AI, hackathon dynamics, and idea generation.",date:"13-14 July, 2024",final:!1},{number:"4",title:"Quarterfinals",description:"Participants undertake a virtual hackathon, competing for a place among the top 30 projects and receiving expert mentorship along the way.",date:"16-20 July, 2024",final:!1},{number:"5",title:"Semifinals",description:"Continued guidance from advisors help refine and optimize the projects of the remaining teams. This phase is marked by iterative feedback and project refinement.",date:"July 28 - September 6, 2024",final:!1}],this.calendarLink="https://calendar.google.com/calendar/u/0?cid=Y18wYjU0ZmZlYjIxZWFjYmNiNTZiM2RhNzkwNzMyYmY5MTg4OTdkNWJjODQzMTJlMWI3YmUzOTlmYjFhN2QzYTFlQGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20",this.workshops=[{title:"AI",description:"Learn about the basics of AI and how it can be used to solve real-world problems.",author:"Dr. David Moinina Sengeh",authorDescription:"Chief Innovation Officer, Government of Sierra Leone",link:this.sanitizer.bypassSecurityTrustUrl("https://www.youtube.com/embed/7FlRWgVGmUA?si=M_80yBftxegmGaUz")},{title:"Hackathon Dynamics",description:"Learn about the basics of AI and how it can be used to solve real-world problems.",author:"Dr. David Moinina Sengeh",authorDescription:"Chief Innovation Officer, Government of Sierra Leone",link:this.sanitizer.bypassSecurityTrustUrl("https://www.youtube.com/embed/7FlRWgVGmUA?si=M_80yBftxegmGaUz")},{title:"Idea Generation",description:"Learn about the basics of AI and how it can be used to solve real-world problems.",author:"Dr. David Moinina Sengeh",authorDescription:"Chief Innovation Officer, Government of Sierra Leone",link:this.sanitizer.bypassSecurityTrustUrl("https://www.youtube.com/embed/7FlRWgVGmUA?si=M_80yBftxegmGaUz")}]}setActiveButton(i,o){window.open(o,"_blank")}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(u.H7))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-info"]],decls:37,vars:0,consts:[["id","info",1,"min-h-screen","max-sm:py-0","py-6","max-sm:px-0","px-20"],[1,"w-full","h-full","relative","overflow-hidden","flex","flex-col","justify-center","items-center"],["src","assets/ccchaos%20(1).svg","alt","",1,"absolute","z-[-10]","-left-10","-bottom-10","w-[1080px]","max-sm:w-[720px]","aspect-[1]","opacity-70"],["src","assets/IMAGE.svg","alt","",1,"absolute","aspect-[1]","max-sm:hidden","top-0","right-0","max-lg:w-[240px]","w-[360px]"],[1,"container","relative","max-lg:px-4","max-sm:mt-4","px-12","pt-4","mt-12","flex","flex-col"],[1,"flex","flex-col","lg:flex-row","justify-center","gap-x-12","items-center"],[1,"sm:py-8","flex-1","mt-4","pt-4","sm:mt-0","sm:text-left"],[1,"sm:text-4xl","text-center","text-2xl","font-medium","mb-4","text-white"],[1,"mt-3","text-gray-300","leading-relaxed"],[1,"text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text","animate-text"],["href","https://form.typeform.com/to/XoEqw6vQ","target","_blank"],[1,"my-5","bg-purple-700","hover:bg-purple-500","text-white","text-sm","px-4","py-2","rounded-full","transition-transform","duration-300","ease-in-out","lg:ml-5",3,"click"],["src","https://res.cloudinary.com/eskalate/image/upload/v1714657509/Hackathon/certificateDay-min.jpg","alt","",1,"lg:w-1/2","flex-1","h-64","aspect-square","w-full","lg:h-96","sm:h-72","object-cover","object-center","rounded-xl"],[1,"sm:text-4xl","mt-5","text-center","text-2xl","font-medium","text-white"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0)(1,"div",1),e._UZ(2,"img",2)(3,"img",3),e.TgZ(4,"div",4)(5,"div",5)(6,"div",6)(7,"p",7),e._uU(8," About The Hackathon "),e.qZA(),e.TgZ(9,"p",8),e._uU(10," Our exciting multi-stage Hackathon, starts with "),e.TgZ(11,"span",9),e._uU(12,"Workshops"),e.qZA(),e._uU(13," from 13-14 July, 2024. You'll learn about AI, hackathon dynamics, and innovative idea generation. "),e.qZA(),e.TgZ(14,"p",8),e._uU(15," Then, from July 16-20, compete in the "),e.TgZ(16,"span",9),e._uU(17,"Quarter-finals"),e.qZA(),e._uU(18,", a virtual hackathon where you'll aim for a spot among the top 30 projects. Throughout, expert mentors will guide you. "),e.qZA(),e.TgZ(19,"p",8),e._uU(20," In the "),e.TgZ(21,"span",9),e._uU(22,"Semi-finals"),e.qZA(),e._uU(23," (July 28 - September 6, 2024), selected 40 teams will receive ongoing support to refine their projects with feedback. "),e.qZA(),e.TgZ(24,"p",8),e._uU(25," The "),e.TgZ(26,"span",9),e._uU(27,"Grand Finale"),e.qZA(),e._uU(28," on September 21-26 ,2024, is the ultimate showdown. The top 8 teams will fly to Ethiopia for an all-expense-paid event, competing for a $30,000 USD prize pool and presenting their projects to a distinguished jury. "),e.qZA(),e._UZ(29,"br"),e.TgZ(30,"a",10)(31,"button",11),e.NdJ("click",function(){return n.setActiveButton("register","https://form.typeform.com/to/XoEqw6vQ")}),e._uU(32," Sign up for event updates "),e.qZA()()(),e._UZ(33,"img",12),e.qZA()(),e.TgZ(34,"p",13),e._uU(35," Hackathon Timeline "),e.qZA(),e._UZ(36,"app-timeline"),e.qZA()())},dependencies:[ae]})}return t})();var d=l(95),y=l(1474);let se=(()=>{class t{constructor(i){this.http=i}getIpAddress(){return this.http.get("https://api.ipify.org?format=json")}static#e=this.\u0275fac=function(o){return new(o||t)(e.LFG(y.eN))};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var le=l(6306),ce=l(2096);let de=(()=>{class t{constructor(i){this.httpClient=i,this.errorMsg=""}sendMessage(i,o){return this.httpClient.post("https://a2sv-generative-ai-hackathon-lylswf275a-zf.a.run.app/api/v1/chats",{ip_address:o,query:i}).pipe((0,le.K)(n=>(this.errorMsg=n.error instanceof ErrorEvent?`Error: ${n.error.message}`:this.getServerErrorMessage(n),(0,ce.of)({message:this.errorMsg}))))}getServerErrorMessage(i){switch(i.status){case 429:return"You have reached your daily limit. please try again later";case 404:return"Not Found";case 403:return"Access denied";case 500:return"Unknown error has happened try again";case 0:return"Please Check Your Internet Connection";default:return"Unknown Server Error"}}static#e=this.\u0275fac=function(o){return new(o||t)(e.LFG(y.eN))};static#t=this.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const ue=["scrollableContainer"],me=["fullScreenScrollableContainer"];function ge(t,a){if(1&t&&(e.TgZ(0,"div",25)(1,"div",26)(2,"div",27),e._UZ(3,"img",28),e.qZA()(),e.TgZ(4,"div",29)(5,"p",30),e._uU(6),e.qZA()()()),2&t){const i=e.oxw().$implicit;e.xp6(6),e.hij(" ",i.content," ")}}function pe(t,a){if(1&t&&(e.TgZ(0,"div",31)(1,"div",26)(2,"div",27),e._UZ(3,"img",32),e.qZA()(),e.TgZ(4,"div",29)(5,"p",30),e._uU(6),e.qZA()()()),2&t){const i=e.oxw().$implicit;e.xp6(6),e.hij(" ",i.content," ")}}function he(t,a){if(1&t&&(e.TgZ(0,"div"),e.YNc(1,ge,7,1,"div",23)(2,pe,7,1,"div",24),e.qZA()),2&t){const i=a.$implicit;e.xp6(1),e.Q6J("ngIf","bot"===i.role),e.xp6(1),e.Q6J("ngIf","user"===i.role)}}function fe(t,a){1&t&&(e.TgZ(0,"div",33)(1,"div",34)(2,"div",35),e._UZ(3,"div",36)(4,"div",37),e.qZA()()())}function ve(t,a){if(1&t&&(e.TgZ(0,"div",25)(1,"div",26)(2,"div",27),e._UZ(3,"img",28),e.qZA()(),e.TgZ(4,"div",38),e._uU(5),e.qZA()()),2&t){const i=e.oxw().$implicit;e.xp6(5),e.Oqu(i.content)}}function _e(t,a){if(1&t&&(e.TgZ(0,"div",31)(1,"div",26)(2,"div",27),e._UZ(3,"img",32),e.qZA()(),e.TgZ(4,"div",38),e._uU(5),e.qZA()()),2&t){const i=e.oxw().$implicit;e.xp6(5),e.Oqu(i.content)}}function we(t,a){if(1&t&&(e.TgZ(0,"div"),e.YNc(1,ve,6,1,"div",23)(2,_e,6,1,"div",24),e.qZA()),2&t){const i=a.$implicit;e.xp6(1),e.Q6J("ngIf","bot"===i.role),e.xp6(1),e.Q6J("ngIf","user"===i.role)}}function xe(t,a){1&t&&(e.TgZ(0,"div",33)(1,"div",34)(2,"div",35),e._UZ(3,"div",36)(4,"div",37),e.qZA()()())}let be=(()=>{class t{constructor(i,o,n){this.ipService=i,this.chatService=o,this.localStorageService=n,this.isChatLoading=!1,this.messages=[],this.chatForm=new d.cw({message:new d.NI("",[d.kI.required])}),this.ipAddress="",this.closeChatEvent=new e.vpe,this.localStorageService.seedData(),this.localStorageService._waitingResponse$.subscribe(r=>{this.isChatLoading=r}),this.localStorageService._myData$.subscribe(r=>{this.messages=r})}ngOnInit(){this.fetchIpAddress()}fetchIpAddress(){this.ipService.getIpAddress().subscribe(i=>{this.ipAddress=i.ip},i=>{console.error("Failed to fetch IP address:",i)})}closeChat(){this.closeChatEvent.emit()}sendMessage(){this.isChatLoading=!0,this.localStorageService.addMessage({role:"user",content:this.chatForm.value.message}),this.localStorageService.setWaitingStatus(!0);const i=this.chatForm.value.message;try{this.chatService.sendMessage(i,this.ipAddress).subscribe(o=>{this.isChatLoading=!1,this.localStorageService.setWaitingStatus(!1),this.localStorageService.addMessage({role:"bot",content:o.message})})}catch{this.isChatLoading=!1}this.chatForm.reset()}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(se),e.Y36(de),e.Y36(O))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-bot"]],viewQuery:function(o,n){if(1&o&&(e.Gf(ue,5),e.Gf(me,5)),2&o){let r;e.iGM(r=e.CRH())&&(n.scrollableContainer=r.first),e.iGM(r=e.CRH())&&(n.fullScreenScrollableContainer=r.first)}},outputs:{closeChatEvent:"closeChatEvent"},decls:34,vars:10,consts:[[1,"flex","flex-col","max-lg:w-64","max-sm:w-48","items-end","w-full","h-full","shadow-2xl","bg-gray-900","rounded-xl"],[1,"bg-indigo-900","w-full","text-center","text-lg","flex-none","text-white","font-semibold","rounded-t-xl","p-4"],[1,"flex-1","max-lg:hidden","relative","w-full","p-6","overflow-y-auto",3,"scrollTop"],["scrollableContainer",""],[1,"space-y-2"],[4,"ngFor","ngForOf"],["class","w-1/2",4,"ngIf"],[1,"flex-none","flex","items-center","justify-between","w-full","p-3","border-t","border-opacity-10","border-white",3,"formGroup"],["formControlName","message","type","text","id","chat-input","placeholder","Type your message here...","name","message",1,"block","w-full","py-4","pl-4","mx-3","bg-gray-950","border","border-white","border-opacity-50","rounded-xl","focus:text-gray-200"],["id","helpdesk-popup-submit-button",3,"disabled","click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","fill","currentColor",1,"w-5","h-5","origin-center","text-indigo-800","transform","rotate-90"],["d","M10.894 2.553a1 1 0 00-1.788 0l-7 14a1 1 0 001.169 1.409l5-1.429A1 1 0 009 15.571V11a1 1 0 112 0v4.571a1 1 0 00.725.962l5 1.428a1 1 0 001.17-1.408l-7-14z"],["role","dialog","aria-modal","true",1,"lg:hidden","text-white"],[1,"fixed","flex","flex-col","justify-between","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-gray-900","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],[1,"flex","items-center","bg-indigo-900","py-6","justify-between"],["type","button",1,"rounded-md","text-gray-700",3,"click"],[1,"sr-only"],["fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor","aria-hidden","true",1,"h-6","w-6","text-white","ml-4"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],[1,"h-full","p-4","overflow-auto",3,"scrollTop"],["fullScreenScrollableContainer",""],["formControlName","message","type","text","placeholder","Type your message here...","name","message",1,"block","w-full","py-4","pl-4","mx-3","bg-gray-950","border","border-white","border-opacity-50","rounded-xl","focus:text-gray-200"],[3,"disabled","click"],["class","chat chat-start",4,"ngIf"],["class","chat chat-end",4,"ngIf"],[1,"chat","chat-start"],[1,"chat-image","avatar"],[1,"w-10","rounded-full"],["src","assets/avatar.png","alt","..."],[1,"chat-bubble"],[1,"break-words"],[1,"chat","chat-end"],["src","assets/user_avatar.png","alt","..."],[1,"w-1/2"],[1,"flex","items-center","mt-4","space-x-3","animate-pulse","delay-300"],[1,""],[1,"h-2.5","bg-gray-200","rounded-full","dark:bg-gray-700","w-32","mb-2"],[1,"w-48","h-2","bg-gray-200","rounded-full","dark:bg-gray-700"],[1,"chat-bubble","break-words"]],template:function(o,n){if(1&o&&(e.TgZ(0,"div",0)(1,"div",1)(2,"p"),e._uU(3,"A2SV Hackathon 2024 Bot"),e.qZA()(),e.TgZ(4,"div",2,3)(6,"div",4),e.YNc(7,he,3,2,"div",5)(8,fe,5,0,"div",6),e.qZA()(),e.TgZ(9,"form",7),e._UZ(10,"input",8),e.TgZ(11,"button",9),e.NdJ("click",function(){return n.sendMessage()}),e.O4$(),e.TgZ(12,"svg",10),e._UZ(13,"path",11),e.qZA()()(),e.kcU(),e.TgZ(14,"div",12)(15,"div",13)(16,"div",14)(17,"button",15),e.NdJ("click",function(){return n.closeChat()}),e.TgZ(18,"span",16),e._uU(19,"Close menu"),e.qZA(),e.O4$(),e.TgZ(20,"svg",17),e._UZ(21,"path",18),e.qZA()(),e.kcU(),e.TgZ(22,"p"),e._uU(23,"A2SV Hackathon 2024 Bot"),e.qZA(),e._UZ(24,"div"),e.qZA(),e.TgZ(25,"div",19,20),e.YNc(27,we,3,2,"div",5)(28,xe,5,0,"div",6),e.qZA(),e.TgZ(29,"form",7),e._UZ(30,"input",21),e.TgZ(31,"button",22),e.NdJ("click",function(){return n.sendMessage()}),e.O4$(),e.TgZ(32,"svg",10),e._UZ(33,"path",11),e.qZA()()()()()()),2&o){const r=e.MAs(5),c=e.MAs(26);e.xp6(4),e.Q6J("scrollTop",r.scrollHeight),e.xp6(3),e.Q6J("ngForOf",n.messages),e.xp6(1),e.Q6J("ngIf",n.isChatLoading),e.xp6(1),e.Q6J("formGroup",n.chatForm),e.xp6(2),e.Q6J("disabled",!n.chatForm.valid),e.xp6(14),e.Q6J("scrollTop",c.scrollHeight),e.xp6(2),e.Q6J("ngForOf",n.messages),e.xp6(1),e.Q6J("ngIf",n.isChatLoading),e.xp6(1),e.Q6J("formGroup",n.chatForm),e.xp6(2),e.Q6J("disabled",!n.chatForm.valid)}},dependencies:[s.sg,s.O5,d._Y,d.Fj,d.JJ,d.JL,d.sg,d.u]})}return t})(),ye=(()=>{class t{setActiveButton(i,o){window.open(o,"_blank")}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-footer"]],decls:28,vars:0,consts:[[1,"text-gray-200","body-font","border-white","border-opacity-50","border-t","py-8"],[1,"container","px-5","mx-auto","flex","items-center","sm:flex-row","flex-col"],[1,"flex","max-sm:order-2","title-font","font-medium","items-center","md:justify-start","justify-center","text-gray-200"],[1,"ml-3","mb-3","text-lg"],[1,"text-sm","max-sm:order-3","text-gray-200","sm:ml-4","sm:pl-4","sm:border-l-2","sm:border-gray-200","sm:py-2","sm:mt-0","mt-3",3,"click"],["href","https://a2sv.org","rel","noopener noreferrer","target","_blank",1,"text-gray-200","ml-1"],[1,"text-blue-500"],[1,"inline-flex","max-sm:mb-4","sm:ml-auto","sm:mt-0","gap-x-3","items-center","justify-between"],["target","_blank","href","https://t.me/+yqzQh04AAXRjZGQ0",1,"ml-2","text-gray-100","hover:text-indigo-600","mb-1",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M29.919 6.163l-4.225 19.925c-0.319 1.406-1.15 1.756-2.331 1.094l-6.438-4.744-3.106 2.988c-0.344 0.344-0.631 0.631-1.294 0.631l0.463-6.556 11.931-10.781c0.519-0.462-0.113-0.719-0.806-0.256l-14.75 9.288-6.35-1.988c-1.381-0.431-1.406-1.381 0.288-2.044l24.837-9.569c1.15-0.431 2.156 0.256 1.781 2.013z"],["target","_blank","href","https://www.facebook.com/africatosiliconvalley",1,"text-gray-100","hover:text-indigo-600","mr-2",3,"click"],["fill","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"],["target","_blank","href","https://www.instagram.com/a2sv_org/?hl=en",1,"text-gray-100","align-middle","hover:text-indigo-600",3,"click"],["fill","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 448 512",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M224 202.66A53.34 53.34 0 10277.36 256 53.38 53.38 0 00224 202.66zm124.71-41a54 54 0 00-30.41-30.41c-21-8.29-71-6.43-94.3-6.43s-73.25-1.93-94.31 6.43a54 54 0 00-30.41 30.41c-8.28 21-6.43 71.05-6.43 94.33s-1.85 73.27 6.47 94.34a54 54 0 0030.41 30.41c21 8.29 71 6.43 94.31 6.43s73.24 1.93 94.3-6.43a54 54 0 0030.41-30.41c8.35-21 6.43-71.05 6.43-94.33s1.92-73.26-6.43-94.33zM224 338a82 82 0 1182-82 81.9 81.9 0 01-82 82zm85.38-148.3a19.14 19.14 0 1119.13-19.14 19.1 19.1 0 01-19.09 19.18zM400 32H48A48 48 0 000 80v352a48 48 0 0048 48h352a48 48 0 0048-48V80a48 48 0 00-48-48zm-17.12 290c-1.29 25.63-7.14 48.34-25.85 67s-41.4 24.63-67 25.85c-26.41 1.49-105.59 1.49-132 0-25.63-1.29-48.26-7.15-67-25.85s-24.63-41.42-25.85-67c-1.49-26.42-1.49-105.61 0-132 1.29-25.63 7.07-48.34 25.85-67s41.47-24.56 67-25.78c26.41-1.49 105.59-1.49 132 0 25.63 1.29 48.33 7.15 67 25.85s24.63 41.42 25.85 67.05c1.49 26.32 1.49 105.44 0 131.88z"],["target","_blank","href","https://twitter.com/A2_SV",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["viewBox","0 0 300 300","fill","currentColor","xmlns","http://www.w3.org/2000/svg",1,"w-3","h-3","sm:w-4","sm:h-4"],["d","M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"],["target","_blank","href","https://www.linkedin.com/company/a2sv/",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["fill","currentColor","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","0","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["stroke","none","d","M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"],["cx","4","cy","4","r","2","stroke","none"]],template:function(o,n){1&o&&(e.TgZ(0,"footer",0)(1,"div",1)(2,"a",2)(3,"span",3),e._uU(4,"A2SV Hackathon \xa0"),e.qZA()(),e.TgZ(5,"p",4),e.NdJ("click",function(){return n.setActiveButton("signup","https://a2sv.org")}),e.TgZ(6,"a",5),e._uU(7,"\xa9 Copyright 2024 "),e.TgZ(8,"strong",6),e._uU(9,"A2SV Foundation"),e.qZA(),e._uU(10,". All rights reserved."),e.qZA()(),e.TgZ(11,"span",7)(12,"a",8),e.NdJ("click",function(){return n.setActiveButton("signup","https://t.me/+yqzQh04AAXRjZGQ0")}),e.O4$(),e.TgZ(13,"svg",9),e._UZ(14,"path",10),e.qZA()(),e.kcU(),e.TgZ(15,"a",11),e.NdJ("click",function(){return n.setActiveButton("signup","https://www.facebook.com/africatosiliconvalley")}),e.O4$(),e.TgZ(16,"svg",12),e._UZ(17,"path",13),e.qZA()(),e.kcU(),e.TgZ(18,"a",14),e.NdJ("click",function(){return n.setActiveButton("signup","https://www.instagram.com/a2sv_org/?hl=en")}),e.O4$(),e.TgZ(19,"svg",15),e._UZ(20,"path",16),e.qZA()(),e.kcU(),e.TgZ(21,"a",17),e.NdJ("click",function(){return n.setActiveButton("signup","https://twitter.com/A2_SV")}),e.O4$(),e.TgZ(22,"svg",18),e._UZ(23,"path",19),e.qZA()(),e.kcU(),e.TgZ(24,"a",20),e.NdJ("click",function(){return n.setActiveButton("signup","https://www.linkedin.com/company/a2sv/")}),e.O4$(),e.TgZ(25,"svg",21),e._UZ(26,"path",22)(27,"circle",23),e.qZA()()()()())}})}return t})();function ke(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",6)(1,"a",7),e.NdJ("click",function(){e.CHM(i);const n=e.oxw(2);return e.KtG(n.setActiveButton("a2sv","https://www.a2sv.org"))}),e._UZ(2,"span",8),e._uU(3,"Read more "),e.TgZ(4,"span",9),e._uU(5,"\u2192"),e.qZA()()()}if(2&t){const i=e.oxw().$implicit;e.xp6(1),e.s9C("href",i.footer,e.LSH)}}function Ce(t,a){if(1&t&&(e.TgZ(0,"div")(1,"div"),e._UZ(2,"img",2),e.qZA(),e.TgZ(3,"div")(4,"h1",3),e._uU(5),e.qZA(),e.TgZ(6,"p",4),e._uU(7),e.qZA(),e.TgZ(8,"p",4),e._uU(9),e.qZA(),e.YNc(10,ke,6,1,"div",5),e.qZA()()),2&t){const i=a.$implicit,o=a.index;e.Gre("",o%2==0?"bg-gradient-to-r from-indigo-950 to-black ":"bg-gradient-to-l from-indigo-950 to-black"," container my-12 rounded-3xl mx-auto flex flex-col md:flex-row py-5 px -3"),e.xp6(1),e.Gre("",o%2==0?"order-1 max-md:order-2":"order-2 max-md:order-2"," w-full md:w-1/2 ml-3"),e.xp6(1),e.s9C("src",i.image,e.LSH),e.xp6(1),e.Gre("",o%2==0?"order-2 lg:pl-24 md:pl-16 max-md:order-1":"order-1 lg:pr-24 md:pr-16 max-md:order-1"," lg:flex-grow md:w-1/2 flex flex-col md:items-start md:text-left items-center text-center"),e.xp6(2),e.Oqu(i.title),e.xp6(2),e.Oqu(i.description),e.xp6(2),e.Oqu(i.description1),e.xp6(1),e.Q6J("ngIf",null!=i.footer)}}let Ze=(()=>{class t{constructor(){this.contents=[{title:"About A2SV",description:"A2SV (Africa to Silicon Valley), a hub of innovation in the field of technology education, is a US-based nonprofit academy empowering Africa's tech revolution. With a unique blend of comprehensive software engineering training and tech-driven solutions, A2SV is more than an academy; it's a movement.",image:"assets/group_photo1.jpg",footer:"https://www.a2sv.org",description1:"Through collaborations with esteemed African universities like Addis Ababa University and the University of Ghana, and partnerships with tech titans such as Google, Meta, and Databricks, A2SV has created a thriving ecosystem for emerging talent since 2019. Our program is absolutely free, breaking down financial barriers, nurturing dreams, and democratizing the path to a tech-driven future."}]}setActiveButton(i,o){window.open(o,"_blank")}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-about-us"]],decls:2,vars:1,consts:[["id","about-us",1,"text-gray-400","bg-black","body-font","pt-24","px-20","max-md:px-4"],[3,"class",4,"ngFor","ngForOf"],["alt","a2sv students photo",1,"object-cover","object-center","rounded-3xl","aspect-[720/600]",3,"src"],[1,"title-font","sm:text-4xl","text-3xl","mb-4","font-medium","text-white"],[1,"mb-8","text-gray-300","leading-relaxed"],["class","relative border border-white border-opacity-50 my-6 rounded-full px-3 py-1 text-sm leading-6 text-gray-600 ring-1 ring-gray-900/10 hover:ring-gray-900/20",4,"ngIf"],[1,"relative","border","border-white","border-opacity-50","my-6","rounded-full","px-3","py-1","text-sm","leading-6","text-gray-600","ring-1","ring-gray-900/10","hover:ring-gray-900/20"],["target","_blank",1,"font-semibold","text-indigo-600",3,"href","click"],["aria-hidden","true",1,"absolute","inset-0"],["aria-hidden","true"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0),e.YNc(1,Ce,11,14,"div",1),e.qZA()),2&o&&(e.xp6(1),e.Q6J("ngForOf",n.contents))},dependencies:[s.sg,s.O5]})}return t})(),Te=(()=>{class t{constructor(i){this.modalService=i,this.closeModalEvent=new e.vpe}get isModalOpen(){return this.modalService.isModalOpen}closeModal(){this.modalService.closeModal()}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(v))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-what-we-provide"]],outputs:{closeModalEvent:"closeModalEvent"},decls:35,vars:0,consts:[[1,"text-gray-300","p-3","w-full","body-font","flex","flex-col","items-center","rounded-3xl","h-full","relative"],[1,"absolute","z-51","top-0","right-0","h-[32px]","w-[32px]","flex","justify-center","items-center","rounded-full","bg-gray-500","p-1","hover:scale-110","transition-transform","transform-gpu",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","viewBox","0 0 24 24","fill","none","stroke","white","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["x1","18","y1","6","x2","6","y2","18"],["x1","6","y1","6","x2","18","y2","18"],[1,"w-full","h-[80vh]","body-font","flex","flex-col","items-center","overflow-auto"],[1,"container","px-5","py-12","bg-random","max-md:bg-no-repeat"],[1,"flex","flex-col","text-center","w-full","mb-20"],[1,"sm:text-3xl","text-2xl","font-medium","title-font","mb-4","text-white"],[1,"lg:w-2/3","mx-auto","text-break","text-justify","justify-between"],[1,"flex","flex-wrap","justify-center"],[1,"xl:w-1/4","lg:w-full","md:w-full","sm:m-3","px-8","py-6","bg-slate-500","rounded","shadow-lg","transform","scale-100","transition-transform","duration-300","hover:scale-105","hover:bg-slate-300","hover:text-black","m-2"],[1,"p-2","border-gray-600","rounded"],[1,"text-lg","sm:text-2xl","font-[700]","mb-2","group-hover:text-purple-800"],[1,"leading-relaxed","text-base","mb-4"],[1,"xl:w-1/4","lg:w-full","md:w-full","sm:m-3","px-8","py-6","bg-slate-500","group","rounded","shadow-lg","transform","scale-100","transition-transform","duration-300","hover:scale-105","hover:bg-slate-300","hover:text-black","m-2"],[1,"text-lg","sm:text-2xl","font-bold","font","mb-2"],[1,"leading-relaxed","mb-4"],[1,"inline-flex","space-x-3","mb-6","justify-center","hover:border-indigo-600","border-white","border","border-opacity-50","rounded-full","px-6","py-2","text-white","hover:text-indigo-600","items-center","sm:justify-start","mt-2"],[1,"flex","flex-col","justify-center"],["href","https://t.me/+yqzQh04AAXRjZGQ0","target","_blank",1,"font-semibold"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0)(1,"button",1),e.NdJ("click",function(){return n.closeModal()}),e.O4$(),e.TgZ(2,"svg",2),e._UZ(3,"line",3)(4,"line",4),e.qZA()(),e.kcU(),e.TgZ(5,"div",5)(6,"div",6)(7,"div",7)(8,"h1",8),e._uU(9," What We Provide "),e.qZA(),e.TgZ(10,"p",9),e._uU(11," A2SV is dedicated to advancing African students by providing accessible and free education\u2014both remote and in-person\u2014to cultivate their data structure and algorithms, communication skills and problem solving skills. Our comprehensive program begins with a community education initiative, empowering students to create impactful software projects. Beyond skill development, our ultimate goal is to upskill students, connect them with top-tier tech companies like Google, Meta, Palantir, and Databricks, and inspire them to build innovative solutions that contribute to the progress of their communities. It's not just education; it's a transformative journey toward empowerment, opportunities, and sustainable growth in Africa's tech landscape. "),e.qZA()(),e.TgZ(12,"div",10)(13,"div",11)(14,"div",12)(15,"h2",13),e._uU(16," Community Education "),e.qZA(),e.TgZ(17,"p",14),e._uU(18," The Community Education Program is the entry to A2SV, allowing students to start their learning journey until the next intake season. "),e.qZA()()(),e.TgZ(19,"div",15)(20,"div",12)(21,"h2",16),e._uU(22," In-Person Education "),e.qZA(),e.TgZ(23,"p",14),e._uU(24," In-person program for talented students from Addis Ababa University, AASTU, and University of Ghana, offering hands-on training on campus. "),e.qZA()()(),e.TgZ(25,"div",11)(26,"div",12)(27,"h2",16),e._uU(28," Remote Education "),e.qZA(),e.TgZ(29,"p",17),e._uU(30," Remote education allows students from all over the world access to its high-quality education through a virtual setting. "),e.qZA()()()()(),e.TgZ(31,"div",18)(32,"div",19)(33,"a",20),e._uU(34,"Join Us"),e.qZA()()()()())},styles:[".border-gradient[_ngcontent-%COMP%]{border-width:4px;border-image:linear-gradient(to right,#6488e4,#ff6b81);border-image-slice:1}"]})}return t})();function Ae(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"p"),e._uU(3,"We use cookies to improve user experience. Do you consent?"),e.qZA(),e.TgZ(4,"div",3)(5,"button",4),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.giveConsent())}),e._uU(6," Accept "),e.qZA(),e.TgZ(7,"button",5),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.rejectConsent())}),e._uU(8," Reject "),e.qZA()()()()}}let Me=(()=>{class t{constructor(i){this.consentService=i}ngOnInit(){this.consentService.getConsentStatus()||this.consentService.showConsentUI(!0)}showConsent(){return this.consentService.shouldShowConsentUI()}giveConsent(){this.consentService.giveConsent()}rejectConsent(){this.consentService.withdrawConsent(),this.consentService.showConsentUI(!1)}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(x))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-consent"]],decls:1,vars:1,consts:[["class","consent-modal",4,"ngIf"],[1,"consent-modal"],[1,"modal-content"],[1,"btn-container"],[1,"consent-btn","accept",3,"click"],[1,"consent-btn","reject",3,"click"]],template:function(o,n){1&o&&e.YNc(0,Ae,9,0,"div",0),2&o&&e.Q6J("ngIf",n.showConsent())},dependencies:[s.O5],styles:[".consent-modal[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:9999}.modal-content[_ngcontent-%COMP%]{background-color:#000;padding:30px;text-align:center;border-radius:10px;max-width:90%;max-height:50%}.btn-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;justify-content:space-around;margin-top:20px}.consent-text[_ngcontent-%COMP%]{color:#fff;margin-bottom:20px}.button-group[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.consent-btn[_ngcontent-%COMP%]{padding:10px 20px;border:2px solid transparent;border-radius:5px;color:#fff;cursor:pointer;font-size:16px}.consent-btn[_ngcontent-%COMP%]:hover{background-color:purple}.accept[_ngcontent-%COMP%]{background-color:green;margin-left:10px}.reject[_ngcontent-%COMP%]{background-color:red}"]})}return t})();function Ie(t,a){if(1&t&&(e.TgZ(0,"div",24)(1,"a",25)(2,"div",26),e._UZ(3,"img",27),e.qZA(),e.TgZ(4,"p",28),e._uU(5),e.qZA(),e.TgZ(6,"div",29)(7,"div",30),e._UZ(8,"img",31),e.qZA()()()()),2&t){const i=a.$implicit,o=a.index,n=e.oxw();e.xp6(1),e.Q6J("href",n.modalData.linkedin[o],e.LSH),e.xp6(2),e.s9C("src",i,e.LSH),e.xp6(2),e.hij(" ",n.modalData.teamMembers[o].toUpperCase()," ")}}function Ue(t,a){if(1&t&&(e.TgZ(0,"div")(1,"div",32)(2,"div",33),e._UZ(3,"img",34),e.qZA(),e.TgZ(4,"span",35),e._uU(5),e.qZA()()()),2&t){const i=a.$implicit;e.xp6(3),e.Q6J("src","assets/"+i+".png",e.LSH)("alt",i),e.xp6(2),e.Oqu(i)}}function Se(t,a){if(1&t&&(e.TgZ(0,"button",36)(1,"a",37),e._uU(2,"Demo"),e.qZA()()),2&t){const i=e.oxw();e.xp6(1),e.Q6J("href",i.modalData.demo,e.LSH)}}function ze(t,a){if(1&t&&(e.TgZ(0,"button",36)(1,"a",38),e._uU(2,"Pitch"),e.qZA()()),2&t){const i=e.oxw();e.xp6(1),e.Q6J("href",i.modalData.pitch,e.LSH)}}function Oe(t,a){if(1&t&&(e.TgZ(0,"button",36)(1,"a",39),e._uU(2,"Website"),e.qZA()()),2&t){const i=e.oxw();e.xp6(1),e.Q6J("href",i.modalData.webUrl,e.LSH)}}function qe(t,a){if(1&t&&(e.TgZ(0,"button",36)(1,"a",39),e._uU(2,"Mobile"),e.qZA()()),2&t){const i=e.oxw();e.xp6(1),e.Q6J("href",i.modalData.mobileUrl,e.LSH)}}function Ee(t,a){if(1&t&&(e.TgZ(0,"button",36)(1,"a",39),e._uU(2,"Slack"),e.qZA()()),2&t){const i=e.oxw();e.xp6(1),e.Q6J("href",i.modalData.slackUrl,e.LSH)}}let je=(()=>{class t{constructor(){this.showModal=!1,this.modalData={},this.closeModalEvent=new e.vpe}closeModal(){this.closeModalEvent.emit(!0)}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-winner_modal"]],inputs:{showModal:"showModal",modalData:"modalData"},outputs:{closeModalEvent:"closeModalEvent"},decls:42,vars:11,consts:[[1,"w-full","h-full","flex","justify-center","overflow-hidden","bg-white","bg-opacity-30","py-2"],[1,"container","relative","overflow-auto","grid","grid-cols-1","md:grid-cols-2","md:flex-row","w-full","lg:w-[80%]","lg:max-h-[90vh]","bg-center","bg-black","rounded","shadow-lg","rounded-t-2xl","text-gray-300"],[1,"absolute","h-[32px]","w-[32px]","flex","justify-center","items-center","rounded-full","bg-gray-500","top-0","mt-1","mr-1","right-0","p-1","hover:scale-110","transition-transform","transform-gpu",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","viewBox","0 0 24 24","fill","none","stroke","white","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["x1","18","y1","6","x2","6","y2","18"],["x1","6","y1","6","x2","18","y2","18"],[1,"hidden","md:visible","md:flex","flex-col","justify-start","items-center","p-3","h-full","bg-gray-500","text-white"],[1,"my-4","text-center","p-2","md:px-5","text-xl","font-bold","tracking-tight"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-4","mx-2","overflow-auto","mt-3"],["class","relative group flex flex-col items-center",4,"ngFor","ngForOf"],[1,"p-3","flex","flex-col","justify-between","h-full"],[1,"p-2","md:px-5"],[1,"grid","grid-cols-1","md:grid-cols-3","gap-2","mt-5","justify-between"],[1,"flex","flex-col","justify-between","h-full","flex-1","px-2","py-3","border","border-gray-500","mr-3"],[1,"mb-2","md:mb-4"],[1,"font-bold","lg:text-lg","text-transparent","bg-gradient-to-r","from-indigo-600","to","to-pink-500","bg-clip-text","break-words"],[1,"mb-2","md:mb-4","break-words"],[1,"text-sm","md:text-lg","mt-7","md:mt-10","mb-5"],[1,"flex","flex-col","justify-start"],[1,"my-3"],[1,"flex"],[4,"ngFor","ngForOf"],[1,"border-t","border-gray-800","mt-3","text-xs","px-4","flex","justify-between","overflow-auto","py-5"],["class","transition-transform duration-300 transform hover:scale-110 my-2",4,"ngIf"],[1,"relative","group","flex","flex-col","items-center"],["target","_blank",1,"w-full","h-full","px-2","bg-gray-700","pt-2","rounded-t-lg","group-hover:bg-gray-600","transition-transform","transform-gpu","hover:scale-105","flex","flex-col","justify-between","items-center",3,"href"],[1,"w-[100px]","h-[100px]","lg:w-[120px]","lg:h-[120px]","text-center","bg-gray-500","p-2","rounded-full","transition-transform","transform-gpu","hover:scale-105","hover:bg-gray-400"],["alt","team",1,"bg-white","w-full","h-full","object-cover","object-center","flex-shrink-0","rounded-full","mr-4",3,"src"],[1,"text-center"],[1,"w-full","flex","justify-center","items-center"],[1,"opacity-0","group-hover:opacity-100","text-white"],["src","assets/Linkedin.svg","alt","",1,"w-10","h-6","text-white"],[1,"flex","flex-col","justify-center","items-center","mr-3"],[1,"w-[50px]","h-[25px]","mr-2","mb-1"],[1,"object-cover","w-full","h-full",3,"src","alt"],[1,"text-xs","text-left"],[1,"transition-transform","duration-300","transform","hover:scale-110","my-2"],["target","_blank",1,"px-5","py-3","border","rounded-full","hover:border-none","hover:bg-purple-700","hover:text-white",3,"href"],["target","_blank",1,"px-5","py-3","m-2","border","rounded-full","hover:border-none","hover:bg-purple-500","hover:text-white",3,"href"],["target","_blank",1,"px-5","py-3","m-2","border","rounded-full","hover:border-none","hover:bg-purple-700","hover:text-white",3,"href"]],template:function(o,n){1&o&&(e.TgZ(0,"div",0)(1,"div",1)(2,"button",2),e.NdJ("click",function(){return n.closeModal()}),e.O4$(),e.TgZ(3,"svg",3),e._UZ(4,"line",4)(5,"line",5),e.qZA()(),e.kcU(),e.TgZ(6,"div",6)(7,"h5",7),e._uU(8," Team Members "),e.qZA(),e.TgZ(9,"div",8),e.YNc(10,Ie,9,3,"div",9),e.qZA()(),e.TgZ(11,"div",10)(12,"section",11)(13,"section",12)(14,"h5",13)(15,"span",14),e._uU(16,"Team Name"),e.qZA(),e.TgZ(17,"strong",15),e._uU(18),e.qZA()(),e.TgZ(19,"h5",13)(20,"span",16),e._uU(21,"Project Name "),e.qZA(),e.TgZ(22,"strong",15),e._uU(23),e.qZA()(),e.TgZ(24,"h5",13)(25,"span",16),e._uU(26,"Prize "),e.qZA(),e.TgZ(27,"strong",15),e._uU(28),e.qZA()()(),e.TgZ(29,"p",17),e._uU(30),e.qZA(),e.TgZ(31,"div",18)(32,"p",19),e._uU(33,"Team Nationalities"),e.qZA(),e.TgZ(34,"div",20),e.YNc(35,Ue,6,3,"div",21),e.qZA()()(),e.TgZ(36,"div",22),e.YNc(37,Se,3,1,"button",23)(38,ze,3,1,"button",23)(39,Oe,3,1,"button",23)(40,qe,3,1,"button",23)(41,Ee,3,1,"button",23),e.qZA()()()()),2&o&&(e.xp6(10),e.Q6J("ngForOf",n.modalData.teamImage),e.xp6(8),e.Oqu(n.modalData.team),e.xp6(5),e.Oqu(n.modalData.projectname),e.xp6(5),e.hij("$",n.modalData.money,""),e.xp6(2),e.hij(" ",n.modalData.prize_description," "),e.xp6(5),e.Q6J("ngForOf",n.modalData.countries),e.xp6(2),e.Q6J("ngIf",n.modalData.demo),e.xp6(1),e.Q6J("ngIf",n.modalData.pitch),e.xp6(1),e.Q6J("ngIf",n.modalData.webUrl),e.xp6(1),e.Q6J("ngIf",n.modalData.mobileUrl),e.xp6(1),e.Q6J("ngIf",n.modalData.slackUrl))},dependencies:[s.sg,s.O5],styles:["[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px;height:5px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:gray}.container[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}"]})}return t})();function Pe(t,a){if(1&t&&(e.TgZ(0,"div",5),e.O4$(),e.TgZ(1,"svg",6),e._UZ(2,"path",7),e.qZA(),e.kcU(),e.TgZ(3,"p",8),e._uU(4),e.qZA()()),2&t){const i=a.$implicit;e.xp6(4),e.hij("",i," ")}}let He=(()=>{class t{static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-prize-card"]],inputs:{prize:"prize"},decls:10,vars:10,consts:[[1,"container","lg:max-w-[420px]"],["alt","",1,"absolute","-top-3","-right-3","w-1/4","max-sm:w-1/4",3,"src"],[1,"text-xl","py-3","font-semibold","text-white"],[1,"text-xl"],["class","flex gap-x-3 py-[5px] items-center mt-4 border-t border-white border-opacity-30",4,"ngFor","ngForOf"],[1,"flex","gap-x-3","py-[5px]","items-center","mt-4","border-t","border-white","border-opacity-30"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-8","h-6","text-[#AC6AFF]","flex-none"],["fill-rule","evenodd","d","M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z","clip-rule","evenodd"],[1,"text-gray-300","leading-relaxed"]],template:function(o,n){1&o&&(e.TgZ(0,"div",0)(1,"div"),e._UZ(2,"img",1),e.TgZ(3,"h2"),e._uU(4),e.qZA(),e.TgZ(5,"p",2),e._uU(6,"$ "),e.TgZ(7,"span",3),e._uU(8),e.qZA()(),e.YNc(9,Pe,5,1,"div",4),e.qZA()()),2&o&&(e.xp6(1),e.Gre("","First"==(null==n.prize?null:n.prize.place)?"py-[32px]":"py-[16px]"," relative w-full lg:w-[100] px-5 flex flex-col bg-[#0E0C15] rounded-3xl border-white border-[0.25px] border-opacity-30"),e.xp6(1),e.s9C("src",null==n.prize?null:n.prize.image,e.LSH),e.xp6(1),e.Gre("","First"==(null==n.prize?null:n.prize.place)?"text-[#FFC876]":"Second"==(null==n.prize?null:n.prize.place)?"text-[#C0C0C0]":"text-[#CD7F32]"," text-xl opacity-100"),e.xp6(1),e.hij("",null==n.prize?null:n.prize.place," Place "),e.xp6(4),e.Oqu(null==n.prize?null:n.prize.prize),e.xp6(1),e.Q6J("ngForOf",null==n.prize?null:n.prize.awards))},dependencies:[s.sg]})}return t})(),Be=(()=>{class t{static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-track-card"]],inputs:{track:"track"},decls:13,vars:3,consts:[[1,"max-w-4xl","flex","w-full","h-full","flex-col","items-stretch","justify-stretch","relative","overflow-hidden","p-4"],[1,"relative","break-words","h-full","group"],[1,"absolute","-inset-1","bg-gradient-to-r","from-purple-600","to-yellow-600","rounded-lg","blur","opacity-60","transition","duration-1000","group-hover:duration-200"],[1,"relative","h-full","p-3","bg-[#0E0C15]","rounded-lg","leading-none","flex","items-stretch","justify-start","space-x-6"],["fill","currentColor","viewBox","0 0 24 24",1,"w-6","h-6","text-purple-600","flex-shrink-0"],["fill-rule","evenodd","d","M5.166 2.621v.858c-1.035.148-2.059.33-3.071.543a.75.75 0 00-.584.859 6.753 6.753 0 006.138 5.6 6.73 6.73 0 002.743 1.346A6.707 6.707 0 019.279 15H8.54c-1.036 0-1.875.84-1.875 1.875V19.5h-.75a2.25 2.25 0 00-2.25 2.25c0 .414.336.75.75.75h15a.75.75 0 00.75-.75 2.25 2.25 0 00-2.25-2.25h-.75v-2.625c0-1.036-.84-1.875-1.875-1.875h-.739a6.706 6.706 0 01-1.112-3.173 6.73 6.73 0 002.743-1.347 6.753 6.753 0 006.139-5.6.75.75 0 00-.585-.858 47.077 47.077 0 00-3.07-.543V2.62a.75.75 0 00-.658-.744 49.22 49.22 0 00-6.093-.377c-2.063 0-4.096.128-6.093.377a.75.75 0 00-.657.744zm0 2.629c0 1.196.312 2.32.857 3.294A5.266 5.266 0 013.16 5.337a45.6 45.6 0 012.006-.343v.256zm13.5 0v-.256c.674.1 1.343.214 2.006.343a5.265 5.265 0 01-2.863 3.207 6.72 6.72 0 00.857-3.294z","clip-rule","evenodd"],[1,"space-y-2","flex","flex-col","justify-between"],[1,"text-white","break-all","text-xl"],[1,"text-gray-400","py-2","whitespace-normal"],["target","_blank",1,"block","text-indigo-400","text-xl"]],template:function(o,n){1&o&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"div",2),e.TgZ(3,"div",3),e.O4$(),e.TgZ(4,"svg",4),e._UZ(5,"path",5),e.qZA(),e.kcU(),e.TgZ(6,"div",6)(7,"p",7),e._uU(8),e.qZA(),e.TgZ(9,"p",8),e._uU(10),e.qZA(),e.TgZ(11,"h2",9),e._uU(12),e.qZA()()()()()),2&o&&(e.xp6(8),e.Oqu(null==n.track?null:n.track.title),e.xp6(2),e.Oqu(null==n.track?null:n.track.description),e.xp6(2),e.hij("$",null==n.track?null:n.track.prize,""))},styles:['.plan-card[_ngcontent-%COMP%]{background:#151517;width:15rem;padding-left:2rem;padding-right:2rem;padding-top:10px;padding-bottom:20px;border-radius:10px;font-family:Poppins,sans-serif}.plan-card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:15px;font-size:27px;font-weight:600}.plan-card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;margin-top:-4px;color:#4d4d4d;font-size:12px;font-weight:400}.etiquet-price[_ngcontent-%COMP%]{position:relative;background:indigo;width:14.46rem;margin-left:-.65rem;padding:.2rem 1.2rem;border-radius:5px 0 0 5px}.etiquet-price[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding-top:.4rem;display:flex;font-size:1.9rem;font-weight:500}.etiquet-price[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before{content:"$";margin-right:5px;font-size:15px;font-weight:300}.etiquet-price[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:after{margin-left:5px;font-size:15px;font-weight:300}.etiquet-price[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;bottom:-23px;right:0;width:0;height:0;border-top:13px solid indigo;border-bottom:10px solid transparent;border-right:13px solid transparent;z-index:-6}.benefits-list[_ngcontent-%COMP%]{margin-top:16px}.benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;font-size:14px}.benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#4d4d4d;list-style:none;margin-bottom:.2rem;display:flex;align-items:center;gap:.5rem}.benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:.9rem;fill:currentColor}.benefits-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:300}.button-get-plan[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:1.2rem}.button-get-plan[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;background:#000446;color:#fff;padding:10px 15px;border-radius:5px;text-decoration:none;font-size:.8rem;letter-spacing:.05rem;font-weight:500;transition:all .3s ease}.button-get-plan[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{transform:translateY(-3%);box-shadow:0 3px 10px #cfd4dee6}.button-get-plan[_ngcontent-%COMP%] .svg-rocket[_ngcontent-%COMP%]{margin-right:10px;width:.9rem;fill:currentColor}']})}return t})();function Le(t,a){1&t&&e._UZ(0,"app-track-card",10),2&t&&e.Q6J("track",a.$implicit)}let Je=(()=>{class t{constructor(){this.awards=["Trip to Addis Ababa, including airfare, hotel, food and other expenses.","Opportunity to pitch one's project idea to renowned tech individuals and venture capitalists.","Certificate of achievement."],this.missionTextPart1="A2SV (Africa to Silicon Valley) is a US-based nonprofit academy igniting Africa's tech revolution with comprehensive software engineering training and tech-driven solutions",this.missionTextPart2="Through collaborations with top African universities and tech titans, A2SV has created a thriving ecosystem for emerging talent since 2019. Our program is free, breaking financial barriers, nurturing dreams, and democratizing the path to a tech-driven future.",this.secondPrize={place:"Second",prize:"6,000",padding:"32px",color:"#FFC876",image:"assets/silver 1 (no bg).png",awards:[...this.awards,"Custom-designed A2SV swag."]},this.firstPrize={place:"First",prize:"10,000",padding:"32px",color:"#AC6AFF",image:"assets/gold 1 (no bg).png",awards:[...this.awards,"Direct placement opportunity in the A2SV education cohort 6.","Custom-designed A2SV swag."]},this.thirdPrize={place:"Third",prize:"4,000",padding:"32px",color:"#E298FF",image:"assets/bronze 1.png",awards:this.awards},this.tracks=[{title:"Best Technical Implementation Award",description:"Recognizes the project with the most impressive and innovative technical implementation.",prize:"2500"},{title:"Most Potential for Positive Change Award",description:"Highlights the project that shows the greatest potential for making a positive impact and driving change.",prize:"2500"},{title:"Best User Experience Award",description:"Rewards the project that delivers an exceptional and intuitive user experience.",prize:"2500"},{title:"Cross-Domain Collaboration Award",description:"Acknowledges teams that effectively combine AI techniques with expertise from different fields.",prize:"2500"}],this.prizes=[this.secondPrize,this.firstPrize,this.thirdPrize]}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-prize2024"]],decls:14,vars:4,consts:[["id","prize2024",1,"flex","fade","min-h-screen","py-24","max-sm:px-4","max-md:py-16","max-xl:px-12","px-32","flex-col","justify-center"],[1,"sm:text-[4rem]","text-center","text-4xl","font-semibold","mb-4","text-white"],[1,"flex","pb-16","items-center","max-lg:flex-wrap","max-sm:flex-col","gap-x-12","gap-y-8","pt-12","justify-center"],[1,"max-lg:order-2"],[3,"prize"],[1,"max-lg:order-1"],[1,"max-lg:order-3"],[1,"sm:text-4xl","text-center","text-2xl","font-medium","mb-4","text-white"],[1,"grid","grid-cols-2","pt-8","gap-4","max-lg:grid-cols-2","max-md:grid-cols-1","items-stretch"],[3,"track",4,"ngFor","ngForOf"],[3,"track"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0)(1,"p",1),e._uU(2,"$30K Prize"),e.qZA(),e.TgZ(3,"div",2)(4,"div",3),e._UZ(5,"app-prize-card",4),e.qZA(),e.TgZ(6,"div",5),e._UZ(7,"app-prize-card",4),e.qZA(),e.TgZ(8,"div",6),e._UZ(9,"app-prize-card",4),e.qZA()(),e.TgZ(10,"p",7),e._uU(11,"Other Prize Tracks"),e.qZA(),e.TgZ(12,"div",8),e.YNc(13,Le,1,1,"app-track-card",9),e.qZA()()),2&o&&(e.xp6(5),e.Q6J("prize",n.secondPrize),e.xp6(2),e.Q6J("prize",n.firstPrize),e.xp6(2),e.Q6J("prize",n.thirdPrize),e.xp6(4),e.Q6J("ngForOf",n.tracks))},dependencies:[s.sg,He,Be]})}return t})(),j=(()=>{class t{static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275mod=e.oAB({type:t});static#i=this.\u0275inj=e.cJS({imports:[s.ez]})}return t})();function Ne(t,a){1&t&&e._UZ(0,"div",43)}function De(t,a){1&t&&e._UZ(0,"div",43)}function Fe(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",29)(1,"div",30)(2,"button",31),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.closeModal())}),e.O4$(),e.TgZ(3,"svg",32),e._UZ(4,"path",33),e.qZA()(),e.kcU(),e.TgZ(5,"iframe",34),e.NdJ("load",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())})("error",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())}),e.qZA(),e.TgZ(6,"div",35),e.YNc(7,Ne,1,0,"div",36),e.qZA()(),e.TgZ(8,"div",37)(9,"div",38)(10,"button",39),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.closeModal())}),e.TgZ(11,"span",40),e._uU(12,"Close menu"),e.qZA(),e.O4$(),e.TgZ(13,"svg",32),e._UZ(14,"path",33),e.qZA()(),e.kcU(),e.TgZ(15,"iframe",41),e.NdJ("load",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())})("error",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())}),e.qZA(),e.TgZ(16,"div",42),e.YNc(17,De,1,0,"div",36),e.qZA()()()()}if(2&t){const i=e.oxw();e.xp6(5),e.Q6J("src",i.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",i.isIframeLoading),e.xp6(8),e.Q6J("src",i.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",i.isIframeLoading)}}let Re=(()=>{class t{constructor(i){this.sanitizer=i,this.showModal=!1,this.registrationLink="",this.comingName="",this.closeModalEvent=new e.vpe,this.isIframeLoading=!0,this.showShareModal=!1,this.telegramSharingLink="https://t.me/share/url?url=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.linkedinSharingLink="https://www.linkedin.com/sharing/share-offsite/?url=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&summary=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.twitterSharingLink="https://twitter.com/intent/tweet?url=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.facebookSharingLink="https://www.facebook.com/sharer/sharer.php?u=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&t=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.instagramSharingLink="https://www.instagram.com/?url=https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org",this.buttonText="Copy Text",this.isButtonDisabled=!1,this.buttonClass="btn bg-purple-700 mt-4"}ngOnChanges(){this.sanitizedUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}getSafeRegistrationLink(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}setActiveButton(i,o){window.open(o,"_blank")}closeModal(){this.closeModalEvent.emit(),this.isIframeLoading=!0,window.document.getElementById("share_modal")?.showModal(),this.showShareModal=!0}closeForReal(){window.document.getElementById("share_modal")?.close(),this.showShareModal=!1}onIframeLoad(){this.isIframeLoading=!1}copyText(){const i=document.getElementById("shareText");i&&navigator.clipboard.writeText(i.value).then(()=>{this.buttonText="Text is copied",this.isButtonDisabled=!0,this.buttonClass="btn mt-4 bg-purple-300",setTimeout(()=>{this.buttonText="Copy Text",this.isButtonDisabled=!1,this.buttonClass="btn bg-purple-700 mt-4"},5e3)}).catch(o=>{console.error("Failed to copy text: ",o)})}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(u.H7))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-registration"]],inputs:{showModal:"showModal",registrationLink:"registrationLink",comingName:"comingName"},outputs:{closeModalEvent:"closeModalEvent"},features:[e.TTD],decls:34,vars:5,consts:[["class","backdrop-blur overflow-x-hidden max-sm:p-5 overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none justify-center items-center flex",4,"ngIf"],["id","share_modal",1,"modal","mt-4"],["method","dialog",1,"modal-box","w-11/12","max-sm:w-full","max-sm:mx-2","max-w-7xl","min-h-8xl","bg-gray-900"],[1,"text-gray-400","bg-gray-900","body-font","h-[70vh]","flex","items-center","justify-center"],[1,"container","p-4","flex","justify-center","items-center"],[1,"grid","grid-cols-1","md:grid-cols-5","justify-center","items-center","w-full"],[1,"rounded-xl","overflow-hidden","md:col-span-3","h-full","w-full","bg-opacity-40","relative"],["src","https://res.cloudinary.com/eskalate/image/upload/v1718181258/Hackathon-2024/Hackathon_Registration_Card.png","alt","Hackathon Attendance",1,"object-cover","w-full","h-full"],[1,"p-5","md:col-span-2","h-full","w-full","max-md:mt-4","flex","flex-col","items-center","justify-center"],[1,"text-lg","text-gray-100","font-semibold","mb-3","text-center"],[1,"flex","flex-col","items-center","justify-center","w-full","mb-4"],["id","shareText",1,"textarea","textarea-bordered","w-full","h-auto"],[3,"disabled","click"],[1,"inline-flex","max-sm:mb-4","sm:mt-0","gap-x-3","items-center","justify-center"],["target","_blank","href","https://t.me/share/url?url=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!",1,"text-gray-100","hover:text-indigo-600","mb-1",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M29.919 6.163l-4.225 19.925c-0.319 1.406-1.15 1.756-2.331 1.094l-6.438-4.744-3.106 2.988c-0.344 0.344-0.631 0.631-1.294 0.631l0.463-6.556 11.931-10.781c0.519-0.462-0.113-0.719-0.806-0.256l-14.75 9.288-6.35-1.988c-1.381-0.431-1.406-1.381 0.288-2.044l24.837-9.569c1.15-0.431 2.156 0.256 1.781 2.013z"],["target","_blank","href","https://www.facebook.com/sharer/sharer.php?u=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png"e=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!",1,"text-gray-100","hover:text-indigo-600","mr-2",3,"click"],["fill","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["d","M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"],["target","_blank","href","https://twitter.com/intent/tweet?url=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["viewBox","0 0 300 300","fill","currentColor","xmlns","http://www.w3.org/2000/svg",1,"w-3","h-3","sm:w-4","sm:h-4"],["d","M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"],["target","_blank","href","https://www.linkedin.com/sharing/share-offsite/?url=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png",1,"ml-3","text-gray-100","hover:text-indigo-600",3,"click"],["fill","currentColor","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","0","viewBox","0 0 24 24",1,"w-4","h-4","sm:w-5","sm:h-5"],["stroke","none","d","M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"],["cx","4","cy","4","r","2","stroke","none"],[1,"modal-action"],[1,"btn",3,"click"],[1,"backdrop-blur","overflow-x-hidden","max-sm:p-5","overflow-y-auto","fixed","inset-0","z-50","outline-none","focus:outline-none","justify-center","items-center","flex"],[1,"relative","max-md:hidden","w-full","mt-8","max-w-6xl","max-h-full","flex","flex-col","rounded-3xl","bg-black","justify-center","items-center"],[1,"absolute","right-0","top-0","mt-4","mr-4","text-3xl","font-semibold","leading-none","text-gray-600","outline-none","focus:outline-none",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-8","h-8"],["fill-rule","evenodd","d","M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z","clip-rule","evenodd"],[1,"w-full","rounded-3xl","aspect-video","bg-black",3,"src","load","error"],[1,"flex","absolute","items-center","justify-center"],["class","animate-spin rounded-full h-32 w-32 max-sm:h-16 max-sm:w-16 border-t-2 border-b-2 border-indigo-700 ",4,"ngIf"],["role","dialog","aria-modal","true",1,"relative","md:hidden","text-white"],[1,"fixed","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-black","overflow-x-hidden","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],["type","button",1,"-m-2.5","absolute","top-2","right-2","rounded-md","p-2.5","text-gray-300",3,"click"],[1,"sr-only"],[1,"w-full","h-full","bg-black",3,"src","load","error"],[1,"flex","max-md:hidden","absolute","items-center","justify-center"],[1,"animate-spin","rounded-full","h-32","w-32","max-sm:h-16","max-sm:w-16","border-t-2","border-b-2","border-indigo-700"]],template:function(o,n){1&o&&(e.TgZ(0,"section"),e.YNc(1,Fe,18,4,"div",0),e.TgZ(2,"dialog",1)(3,"form",2)(4,"section",3)(5,"div",4)(6,"div",5)(7,"div",6),e._UZ(8,"img",7),e.qZA(),e.TgZ(9,"div",8)(10,"h3",9),e._uU(11,"Congrats on registering!\u{1f389} Share this moment with your friends! Copy the text below and spread the word on your social media using the respective buttons provided."),e.qZA(),e.TgZ(12,"div",10)(13,"textarea",11),e._uU(14,"I've just registered for the A2SV Hackathon! Join me and be part of this hackathon! https://hackathon.a2sv.org"),e.qZA(),e.TgZ(15,"button",12),e.NdJ("click",function(){return n.copyText()}),e._uU(16),e.qZA()(),e.TgZ(17,"span",13)(18,"a",14),e.NdJ("click",function(){return n.setActiveButton("telegram",n.telegramSharingLink)}),e.O4$(),e.TgZ(19,"svg",15),e._UZ(20,"path",16),e.qZA()(),e.kcU(),e.TgZ(21,"a",17),e.NdJ("click",function(){return n.setActiveButton("facebook",n.facebookSharingLink)}),e.O4$(),e.TgZ(22,"svg",18),e._UZ(23,"path",19),e.qZA()(),e.kcU(),e.TgZ(24,"a",20),e.NdJ("click",function(){return n.setActiveButton("twitter",n.twitterSharingLink)}),e.O4$(),e.TgZ(25,"svg",21),e._UZ(26,"path",22),e.qZA()(),e.kcU(),e.TgZ(27,"a",23),e.NdJ("click",function(){return n.setActiveButton("linkedin",n.linkedinSharingLink)}),e.O4$(),e.TgZ(28,"svg",24),e._UZ(29,"path",25)(30,"circle",26),e.qZA()()()()()()(),e.kcU(),e.TgZ(31,"div",27)(32,"button",28),e.NdJ("click",function(){return n.closeForReal()}),e._uU(33,"Close"),e.qZA()()()()()),2&o&&(e.xp6(1),e.Q6J("ngIf",n.showModal),e.xp6(14),e.Tol(n.buttonClass),e.Q6J("disabled",n.isButtonDisabled),e.xp6(1),e.Oqu(n.buttonText))},dependencies:[s.O5]})}return t})();var f=l(6825);function Qe(t,a){1&t&&(e.O4$(),e.TgZ(0,"svg",19),e._UZ(1,"path",20),e.qZA())}function Ve(t,a){1&t&&(e.O4$(),e.TgZ(0,"svg",21),e._UZ(1,"path",22),e.qZA())}function Ye(t,a){1&t&&(e.O4$(),e.TgZ(0,"svg",23),e._UZ(1,"path",24),e.qZA())}function Ge(t,a){if(1&t&&(e.TgZ(0,"div",25)(1,"p",26),e._uU(2),e.qZA()()),2&t){const i=e.oxw().$implicit;e.xp6(1),e.Q6J("@fadeInOut",void 0),e.xp6(1),e.hij(" ",i.text," ")}}function $e(t,a){1&t&&e._UZ(0,"hr",27)}function We(t,a){if(1&t&&(e.TgZ(0,"li")(1,"div",12)(2,"div",13),e.YNc(3,Qe,2,0,"svg",14)(4,Ve,2,0,"svg",15)(5,Ye,2,0,"svg",16),e.qZA(),e.YNc(6,Ge,3,2,"div",17),e.qZA(),e.YNc(7,$e,1,0,"hr",18),e.qZA()),2&t){const i=a.$implicit,o=a.index,n=e.oxw();e.xp6(3),e.Q6J("ngIf",null===i.answered&&o<=n.currentQuestionIndex),e.xp6(1),e.Q6J("ngIf",!0===i.answered),e.xp6(1),e.Q6J("ngIf",!1===i.answered),e.xp6(1),e.Q6J("ngIf",o<=n.currentQuestionIndex),e.xp6(1),e.Q6J("ngIf",null!==i.answered)}}function Ke(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",28)(1,"button",29),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.answerYes())}),e._uU(2," Yes "),e.qZA(),e.TgZ(3,"button",30),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.answerNo())}),e._uU(4," No "),e.qZA()()}}function Xe(t,a){1&t&&(e.TgZ(0,"div",31)(1,"p",32),e._uU(2," Congratulations! You are eligible to register. "),e.qZA(),e.TgZ(3,"p",33),e._uU(4," Proceed to register individually or as a team and join the A2SV AI for Africa Hackathon. "),e.qZA()())}function et(t,a){1&t&&(e.TgZ(0,"div",31)(1,"p",34),e._uU(2," Unfortunately, you are not eligible to register for the hackathon at this time. "),e.qZA()())}function tt(t,a){1&t&&(e.TgZ(0,"p",38),e._uU(1," Sorry, you are not eligible to participate. "),e.qZA())}function it(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div"),e.YNc(1,tt,2,0,"p",35),e.TgZ(2,"button",36),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.resetEligibility())}),e._UZ(3,"img",37),e.qZA()()}if(2&t){const i=e.oxw();e.xp6(1),e.Q6J("ngIf",i.ineligible)}}const nt=(t,a)=>({" border-[1.5px] border-gray-300 text-gray-500 cursor-not-allowed disabled":t,"bg-purple-700":a}),ot=(t,a)=>({"border-[1.5px] border-gray-300 text-gray-500 cursor-not-allowed disabled":t,"bg-purple-700":a});let at=(()=>{class t{constructor(i){this.registerService=i,this.openChatEvent=new e.vpe,this.registrationDeadline=new Date(2023,7,31,23,59,59),this.isIndividual=!0,this.registrationButtonVisible=!0,this.criterieas=[{text:"Every team must have a minimum of 3 members and a maximum of 5 members."},{text:"Every team member must be located in Africa."},{text:"All team members must be students currently enrolled in a University, College (undergrad, Associate, Diploma program), or High School, with a graduation year after January 2024. Students currently pursuing or who have completed a Master's degree or higher are not eligible to participate."},{text:"If you don't have a team you can register individually and we'll match you with other talented developers, designers, and problem solvers."}],this.individualCriteria=[{text:"Are you currently studying or have you completed your studies in a University, College (undergraduate, Associate, or Diploma program), or High School in Africa?",answered:null},{text:"Is your graduation year after January 2024?",answered:null},{text:"Are you already in a team of 4 - 5 or are you willing to be grouped into teams by the organizers?",answered:null}],this.teamCriteria=[{text:"Are all of your team members currently studying or have completed their studies in a University, College (undergraduate, Associate, or Diploma program), or High School in Africa?",answered:null},{text:"Are the graduation years of all team members after January 2024?",answered:null},{text:"Is each team member registered only to one team?",answered:null},{text:"Does your team have 3 to 5 members?",answered:null}],this.criteria=this.individualCriteria,this.currentQuestionIndex=0,this.eligibilityConfirmed=!1,this.ineligible=!1}ngOnInit(){setInterval(()=>{this.updateRegistrationButtonVisibility()},1e3)}checkEligibility(){this.registerService.openModal()}updateRegistrationButtonVisibility(){this.registrationButtonVisible=new Datei.answered=null)}answerYes(){this.criteria[this.currentQuestionIndex].answered=!0,this.currentQuestionIndex++,this.currentQuestionIndex>=this.criteria.length&&(this.eligibilityConfirmed=!0,this.registrationButtonVisible=!0,this.registerService.checkEligibility())}answerNo(){this.criteria[this.currentQuestionIndex].answered=!1,this.ineligible=!0}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(_))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-eligibility"]],outputs:{openChatEvent:"openChatEvent"},decls:19,vars:13,consts:[["id","eligibility",1,"max-sm:px-4","max-lg:px-12","py-6","px-","overflow-x-hidden"],[1,"sm:text-4xl","text-center","text-2xl","font-medium","mb-4","text-white"],[1,"p-2","flex","flex-col","justify-center","items-center"],[1,"flex-none","max-lg:my-6","sm:pb-8","md:mx-8","sm:mt-0","sm:text-left"],[1,"text-gray-300","leading-relaxed","max-sm:text-start"],[1,"flex","justify-start","mt-6","mb-5"],[1,"inline-flex","text-white","border-0","max-sm:px-4","py-2","px-4","rounded-full","focus:outline-none","hover:drop-shadow-xl","text-sm","mr-4",3,"ngClass","click"],[1,"inline-flex","text-white","border-0","max-sm:px-4","py-2","px-6","focus:outline-none","hover:drop-shadow-xl","rounded-full","text-sm",3,"ngClass","click"],[4,"ngFor","ngForOf"],["class","flex justify-center mt-4",4,"ngIf"],["class","text-center mt-4",4,"ngIf"],[4,"ngIf"],[1,"flex","items-start","py-2"],[1,"flex-none","w-8","h-8","mr-5"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","class","w-full h-full text-gray-400",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor","class","w-full h-full text-[#AC6AFF]",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor","class","w-full h-full text-red-500",4,"ngIf"],["class","flex-grow",4,"ngIf"],["class","border-t border-white border-opacity-30 mb-2",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2",1,"w-full","h-full","text-gray-400"],["d","M5 12h14M12 5l7 7-7 7"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-full","h-full","text-[#AC6AFF]"],["fill-rule","evenodd","d","M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z","clip-rule","evenodd"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-full","h-full","text-red-500"],["fill-rule","evenodd","d","M12 2.25a9.75 9.75 0 100 19.5 9.75 9.75 0 000-19.5zM9.47 9.47a.75.75 0 011.06-1.06l1.47 1.47 1.47-1.47a.75.75 0 011.06 1.06L12.53 12l1.47 1.47a.75.75 0 01-1.06 1.06l-1.47-1.47-1.47 1.47a.75.75 0 01-1.06-1.06L11.47 12 9.47 10.53z","clip-rule","evenodd"],[1,"flex-grow"],[1,"text-gray-300","leading-relaxed","text-start"],[1,"border-t","border-white","border-opacity-30","mb-2"],[1,"flex","justify-center","mt-4"],[1,"inline-flex","text-white","border-0","bg-green-500","py-2","px-4","rounded-full","focus:outline-none","hover:drop-shadow-xl","text-sm","mr-4",3,"click"],[1,"inline-flex","text-white","border-0","bg-red-500","py-2","px-4","rounded-full","focus:outline-none","hover:drop-shadow-xl","text-sm",3,"click"],[1,"text-center","mt-4"],[1,"text-green-500","font-bold"],[1,"text-gray-400"],[1,"text-red-500","font-bold"],["class","text-gray-300 leading-relaxed max-sm:text-start mt-6",4,"ngIf"],[1,"flex","items-center","transition-all","cursor-pointer","ease-out","duration-400","bg-purple-700","hover:bg-purple-500","relative","disabled:bg-gray-500","text-white","border-0","max-sm:px-4","py-2","px-5","focus:outline-none","hover:drop-shadow-xl","rounded-full","max-sm:text-sm","text-lg","group",3,"click"],["src","assets/loopIcon.svg",1,"w-8","h-8"],[1,"text-gray-300","leading-relaxed","max-sm:text-start","mt-6"]],template:function(o,n){1&o&&(e.TgZ(0,"section",0)(1,"p",1),e._uU(2," Eligibility "),e.qZA(),e.TgZ(3,"div",2)(4,"div",3)(5,"p",4),e._uU(6," The hackathon is open to all students located in Africa who are passionate about AI and eager to showcase their skills and creativity. To participate, you must meet the following eligibility requirements: "),e.qZA(),e.TgZ(7,"div",5)(8,"button",6),e.NdJ("click",function(){return n.showIndividualCriteria()}),e._uU(9," Individual "),e.qZA(),e.TgZ(10,"button",7),e.NdJ("click",function(){return n.showTeamCriteria()}),e._uU(11," Team "),e.qZA()(),e.TgZ(12,"div")(13,"ul"),e.YNc(14,We,8,5,"li",8),e.qZA(),e.YNc(15,Ke,5,0,"div",9)(16,Xe,5,0,"div",10)(17,et,3,0,"div",10),e.qZA(),e.YNc(18,it,4,1,"div",11),e.qZA()()()),2&o&&(e.xp6(8),e.Q6J("ngClass",e.WLB(7,nt,n.isIndividual,!n.isIndividual)),e.xp6(2),e.Q6J("ngClass",e.WLB(10,ot,!n.isIndividual,n.isIndividual)),e.xp6(4),e.Q6J("ngForOf",n.criteria),e.xp6(1),e.Q6J("ngIf",!n.eligibilityConfirmed&&!n.ineligible&&n.currentQuestionIndex *[_ngcontent-%COMP%]{grid-column-start:1;grid-row-start:1;transform:translate(10%) scale(.9);z-index:1;width:100%;opacity:.6}.stack[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:nth-child(2){transform:translate(5%) scale(.95);z-index:2;opacity:.8}.stack[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:nth-child(1){transform:translate(0) scale(1);z-index:3;opacity:1}"],data:{animation:[(0,f.X$)("fadeInOut",[(0,f.eR)(":enter",[(0,f.oB)({opacity:0}),(0,f.jt)("500ms ease-in",(0,f.oB)({opacity:1}))])])]}})}return t})();function rt(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",11)(1,"div",12)(2,"div")(3,"p",13),e._uU(4," Please check your eligibility before registering for the A2SV AI for Africa Hackathon. "),e.qZA()(),e.TgZ(5,"div",14)(6,"a",15),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.navigateToEligibility())}),e._UZ(7,"span",16),e.TgZ(8,"span",17),e._uU(9,"Check Your Eligibility"),e.qZA()()()()()}}function st(t,a){1&t&&(e.TgZ(0,"div",18)(1,"p",19),e._uU(2,"Congratulations\u{1f389}! You are eligible to register."),e.qZA(),e.TgZ(3,"p",20),e._uU(4,"Proceed to register individually or as a team and join the A2SV AI for Impact Hackathon."),e.qZA()())}function lt(t,a){1&t&&(e.TgZ(0,"div",21),e._UZ(1,"app-eligibility"),e.qZA())}function ct(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",11)(1,"div",12)(2,"div")(3,"p",13),e._uU(4," Don't have a team yet? Register individually and we'll match you with other talented developers, designers, and problem solvers. "),e.qZA()(),e.TgZ(5,"div",14)(6,"a",15),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onRegisterIndividual())}),e._UZ(7,"span",16),e.TgZ(8,"span",17),e._uU(9,"Register Individually"),e.qZA()()()()()}}function dt(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",11)(1,"div",12)(2,"div")(3,"p",13),e._uU(4," Already have a team? If you are the captain, register your team and start working on your project today. "),e.qZA()(),e.TgZ(5,"div",22)(6,"a",23),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onRegisterTeam())}),e._UZ(7,"span",16),e.TgZ(8,"span",17),e._uU(9,"Register as a Team"),e.qZA()()()()()}}let P=(()=>{class t{constructor(i){this.registerService=i,this.isModalOpen=!1,this.isEligibilityChecked=!1,this.currentSection="home",this.toggleChatEvent=new e.vpe,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,this.showRegistrationModal=!0,this.showModal=!1,this.teamRegistrationLink="https://a2sv.typeform.com/to/qtKuYH58",this.indivisualRegistrationLink="https://a2sv.typeform.com/to/yxMUctSN",this.individualName="individual",this.teamName="team",this.showEligibilitySection=!1}ngOnInit(){this.modalSubscription=this.registerService.modalOpen$.subscribe(i=>{this.isModalOpen=i;const o=document.getElementById("register_service_modal");o&&(this.isModalOpen?o.showModal():o.close())}),this.eligibilitySubscription=this.registerService.eligibilityChecked$.subscribe(i=>{this.isEligibilityChecked=i}),this.showEligibilitySubscription=this.registerService.showEligibility$.subscribe(i=>{this.showEligibilitySection=i})}ngOnDestroy(){this.modalSubscription.unsubscribe(),this.eligibilitySubscription.unsubscribe(),this.showEligibilitySubscription.unsubscribe()}closeModal(){this.registerService.closeModal()}onRegisterIndividual(){this.closeModal(),this.toggleChatEvent.emit(!1),this.showIndividualRegistrationModal=!0,this.showRegistrationModal=!1,document.body.classList.add("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.add("z-0"),document.getElementById("prizes")?.classList.remove("z-40"),document.getElementById("partners")?.classList.add("hidden"),document.getElementById("info")?.classList.add("hidden"),document.getElementById("judges")?.classList.add("hidden"),document.getElementById("eligibility")?.classList.add("hidden"),document.getElementById("about-us")?.classList.add("hidden"),document.getElementById("footer")?.classList.add("hidden")}onRegisterTeam(){this.closeModal(),this.toggleChatEvent.emit(!1),this.showTeamRegistrationModal=!0,this.showRegistrationModal=!1,document.body.classList.add("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.add("z-0"),document.getElementById("prizes")?.classList.remove("z-40"),document.getElementById("partners")?.classList.add("hidden"),document.getElementById("partners")?.classList.add("hidden"),document.getElementById("info")?.classList.add("hidden"),document.getElementById("judges")?.classList.add("hidden"),document.getElementById("eligibility")?.classList.add("hidden"),document.getElementById("about-us")?.classList.add("hidden"),document.getElementById("footer")?.classList.add("hidden")}onHideModal(){this.toggleChatEvent.emit(!0),this.showModal=!1,this.showRegistrationModal=!0,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,document.body.classList.remove("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.remove("z-0"),document.getElementById("prizes")?.classList.add("z-40"),document.getElementById("partners")?.classList.remove("hidden"),document.getElementById("info")?.classList.remove("hidden"),document.getElementById("judges")?.classList.remove("hidden"),document.getElementById("eligibility")?.classList.remove("hidden"),document.getElementById("about-us")?.classList.remove("hidden"),document.getElementById("footer")?.classList.remove("hidden")}showEligibility(){this.registerService.showEligibility()}navigateToEligibility(){this.showEligibility()}scrollToSection(i){this.currentSection=i;const o=!document.body.classList.contains("overflow-hidden"),n=document.getElementById(i);null!=n&&o&&n.scrollIntoView({behavior:"smooth"})}registerIndividual(){}registerTeam(){}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(_))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-register-modal"]],inputs:{currentSection:"currentSection"},outputs:{toggleChatEvent:"toggleChatEvent"},standalone:!0,features:[e.jDz],decls:16,vars:11,consts:[["id","register_service_modal",1,"modal","mt-4"],["method","dialog",1,"modal-box","w-11/12","max-sm:w-full","max-sm:mx-2","max-w-5xl","bg-gray-900"],[1,"text-gray-400","bg-gray-900","body-font"],[1,"container","p-4"],[1,"flex","flex-wrap","justify-center","-m-4"],["class","p-4 lg:w-1/3",4,"ngIf"],["class","w-[80%] my-5",4,"ngIf"],["class","p-4 w-full",4,"ngIf"],[1,"modal-action"],["type","button",1,"btn",3,"click"],[3,"comingName","showModal","registrationLink","closeModalEvent"],[1,"p-4","lg:w-1/3"],[1,"h-full","flex","flex-col","justify-between","bg-gray-800","bg-opacity-40","px-8","py-8","rounded-lg","overflow-hidden","relative"],[1,"leading-relaxed","mb-3"],[1,"flex","w-full","flex-wrap","space-y-4","justify-center","items-end"],[1,"rounded-full","cursor-pointer","modal-action","px-5","py-2.5","overflow-hidden","group","bg-gradient-to-r","from-indigo-600","to-pink-500","relative","hover:bg-gradient-to-r","hover:from-indigo-600","hover:to-pink-500","text-white","transition-all","ease-out","duration-300",3,"click"],[1,"absolute","right-0","w-8","h-32","-mt-12","transition-all","duration-1000","transform","translate-x-12","bg-white","opacity-10","rotate-12","group-hover:-translate-x-40","ease"],[1,"relative"],[1,"w-[80%]","my-5"],[1,"md:text-3xl","font-bold","text-center","text-white"],[1,"text-gray-400","text-center"],[1,"p-4","w-full"],[1,"flex","w-full","flex-wrap","space-y-4","justify-center","items-end","modal-action"],[1,"rounded-full","cursor-pointer","px-5","py-2.5","overflow-hidden","group","bg-gradient-to-r","from-indigo-600","to-pink-500","relative","hover:bg-gradient-to-r","hover:from-indigo-600","hover:to-pink-500","text-white","transition-all","ease-out","duration-300",3,"click"]],template:function(o,n){1&o&&(e.TgZ(0,"div")(1,"dialog",0)(2,"form",1)(3,"section",2)(4,"div",3)(5,"div",4),e.YNc(6,rt,10,0,"div",5)(7,st,5,0,"div",6)(8,lt,2,0,"div",7)(9,ct,10,0,"div",5)(10,dt,10,0,"div",5),e.qZA()()(),e.TgZ(11,"div",8)(12,"button",9),e.NdJ("click",function(){return n.closeModal()}),e._uU(13,"Close"),e.qZA()()()(),e.TgZ(14,"app-registration",10),e.NdJ("closeModalEvent",function(){return n.onHideModal()}),e.qZA(),e.TgZ(15,"app-registration",10),e.NdJ("closeModalEvent",function(){return n.onHideModal()}),e.qZA()()),2&o&&(e.xp6(6),e.Q6J("ngIf",!n.isEligibilityChecked&&!n.showEligibilitySection),e.xp6(1),e.Q6J("ngIf",n.isEligibilityChecked),e.xp6(1),e.Q6J("ngIf",!n.isEligibilityChecked&&n.showEligibilitySection),e.xp6(1),e.Q6J("ngIf",n.isEligibilityChecked),e.xp6(1),e.Q6J("ngIf",n.isEligibilityChecked),e.xp6(4),e.Q6J("comingName",n.individualName)("showModal",n.showIndividualRegistrationModal)("registrationLink",n.indivisualRegistrationLink),e.xp6(1),e.Q6J("comingName",n.teamName)("showModal",n.showTeamRegistrationModal)("registrationLink",n.teamRegistrationLink))},dependencies:[s.ez,s.O5,j,Re,at]})}return t})(),ut=(()=>{class t{constructor(){this.eventDate="July 6",this.eventText="Registration will be over on",this.eventTime="11:59 PM EAT",this.Number=Number,this.targetDate=new Date("2024-07-06T20:59:00Z"),this.semiFinalDate=new Date("2023-11-11T10:00:00")}chooseTargetDate(){return(new Date).getTime(){this.calculateTimeLeft()},1e3)}calculateTimeLeft(){const i=new Date,o=this.chooseTargetDate()-i.getTime();this.daysLeft=Math.floor(o/864e5),this.hoursLeft=Math.floor(o%864e5/36e5),this.minutesLeft=Math.floor(o%36e5/6e4),this.secondsLeft=Math.floor(o%6e4/1e3)}static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-count-down"]],decls:30,vars:7,consts:[[1,"text-white","rounded-xl","n"],[1,"text-5xl","mb-2","font-bold","lg:inline","lg:whitespace-nowrap"],[1,"font-bold","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text"],[1,"md:text-7xl","max-sm:text-2xl","gap-y-8","text-center","flex","inline-block","sm:flex-wrap","w-full","items-center","max-sm:justify-center","md:justify-start","mt-4"],[1,"w-30","mx-1","px-auto","py-2","max-sm:p-1","text-indigo-700","rounded"],["x-text","days",1,"font-mono","text-center","leading-none","text-white"],[1,"font-mono","text-center","uppercase","text-sm","text-white","leading-none"],["x-text","hours",1,"font-mono","text-center","leading-none","text-white"],["x-text","minutes",1,"font-mono","text-center","leading-none","text-white"]],template:function(o,n){1&o&&(e.TgZ(0,"div",0)(1,"h2",1),e._uU(2),e.TgZ(3,"span",2),e._uU(4),e.qZA(),e._uU(5," at "),e.TgZ(6,"span",2),e._uU(7),e.qZA(),e._uU(8,":"),e.qZA(),e.TgZ(9,"div",3)(10,"div",4)(11,"div",5),e._uU(12),e.qZA(),e.TgZ(13,"div",6),e._uU(14,"Days"),e.qZA()(),e.TgZ(15,"div",4)(16,"div",7),e._uU(17),e.qZA(),e.TgZ(18,"div",6),e._uU(19,"Hours"),e.qZA()(),e.TgZ(20,"div",4)(21,"div",8),e._uU(22),e.qZA(),e.TgZ(23,"div",6),e._uU(24,"Minutes"),e.qZA()(),e.TgZ(25,"div",4)(26,"div",8),e._uU(27),e.qZA(),e.TgZ(28,"div",6),e._uU(29,"Seconds"),e.qZA()()()()),2&o&&(e.xp6(2),e.hij("",n.eventText," "),e.xp6(2),e.Oqu(n.eventDate),e.xp6(3),e.hij(" ",n.eventTime,""),e.xp6(5),e.Oqu(n.Number(n.daysLeft)>9?n.daysLeft:"0"+n.daysLeft),e.xp6(5),e.Oqu(n.Number(n.hoursLeft)>9?n.hoursLeft:"0"+n.hoursLeft),e.xp6(5),e.Oqu(n.Number(n.minutesLeft)>9?n.minutesLeft:"0"+n.minutesLeft),e.xp6(5),e.Oqu(n.Number(n.secondsLeft)>9?n.secondsLeft:"0"+n.secondsLeft))}})}return t})();function mt(t,a){1&t&&e._UZ(0,"div",15)}function gt(t,a){1&t&&e._UZ(0,"div",15)}function pt(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"button",3),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.closeModal())}),e.O4$(),e.TgZ(3,"svg",4),e._UZ(4,"path",5),e.qZA()(),e.kcU(),e.TgZ(5,"iframe",6),e.NdJ("load",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())})("error",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())}),e.qZA(),e.TgZ(6,"div",7),e.YNc(7,mt,1,0,"div",8),e.qZA()(),e.TgZ(8,"div",9)(9,"div",10)(10,"button",11),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.closeModal())}),e.TgZ(11,"span",12),e._uU(12,"Close menu"),e.qZA(),e.O4$(),e.TgZ(13,"svg",4),e._UZ(14,"path",5),e.qZA()(),e.kcU(),e.TgZ(15,"iframe",13),e.NdJ("load",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())})("error",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())}),e.qZA(),e.TgZ(16,"div",14),e.YNc(17,gt,1,0,"div",8),e.qZA()()()()}if(2&t){const i=e.oxw();e.xp6(5),e.Q6J("src",i.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",i.isIframeLoading),e.xp6(8),e.Q6J("src",i.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",i.isIframeLoading)}}let ht=(()=>{class t{constructor(i){this.sanitizer=i,this.showModal=!1,this.registrationLink="",this.closeModalEvent=new e.vpe,this.isIframeLoading=!0}ngOnChanges(){this.sanitizedUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}getSafeRegistrationLink(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}closeModal(){this.closeModalEvent.emit(),this.isIframeLoading=!0}onIframeLoad(){this.isIframeLoading=!1}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(u.H7))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-mentors-registration"]],inputs:{showModal:"showModal",registrationLink:"registrationLink"},outputs:{closeModalEvent:"closeModalEvent"},features:[e.TTD],decls:1,vars:1,consts:[["class","backdrop-blur overflow-x-hidden max-sm:p-5 overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none justify-center items-center flex",4,"ngIf"],[1,"backdrop-blur","overflow-x-hidden","max-sm:p-5","overflow-y-auto","fixed","inset-0","z-50","outline-none","focus:outline-none","justify-center","items-center","flex"],[1,"relative","max-md:hidden","w-full","mt-8","max-w-6xl","max-h-full","flex","flex-col","rounded-3xl","bg-black","justify-center","items-center"],[1,"absolute","right-0","top-0","mt-4","mr-4","text-3xl","font-semibold","leading-none","text-gray-600","outline-none","focus:outline-none",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-8","h-8"],["fill-rule","evenodd","d","M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z","clip-rule","evenodd"],[1,"w-full","rounded-3xl","aspect-video","bg-black",3,"src","load","error"],[1,"flex","absolute","items-center","justify-center"],["class","animate-spin rounded-full h-32 w-32 max-sm:h-16 max-sm:w-16 border-t-2 border-b-2 border-indigo-700 ",4,"ngIf"],["role","dialog","aria-modal","true",1,"relative","md:hidden","text-white"],[1,"fixed","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-black","overflow-x-hidden","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],["type","button",1,"-m-2.5","absolute","top-2","right-2","rounded-md","p-2.5","text-gray-300",3,"click"],[1,"sr-only"],[1,"w-full","h-full","bg-black",3,"src","load","error"],[1,"flex","max-md:hidden","absolute","items-center","justify-center"],[1,"animate-spin","rounded-full","h-32","w-32","max-sm:h-16","max-sm:w-16","border-t-2","border-b-2","border-indigo-700"]],template:function(o,n){1&o&&e.YNc(0,pt,18,4,"div",0),2&o&&e.Q6J("ngIf",n.showModal)},dependencies:[s.O5]})}return t})();function ft(t,a){1&t&&e._UZ(0,"div",15)}function vt(t,a){1&t&&e._UZ(0,"div",15)}function _t(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"button",3),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.closeModal())}),e.O4$(),e.TgZ(3,"svg",4),e._UZ(4,"path",5),e.qZA()(),e.kcU(),e.TgZ(5,"iframe",6),e.NdJ("load",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())})("error",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())}),e.qZA(),e.TgZ(6,"div",7),e.YNc(7,ft,1,0,"div",8),e.qZA()(),e.TgZ(8,"div",9)(9,"div",10)(10,"button",11),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.closeModal())}),e.TgZ(11,"span",12),e._uU(12,"Close menu"),e.qZA(),e.O4$(),e.TgZ(13,"svg",4),e._UZ(14,"path",5),e.qZA()(),e.kcU(),e.TgZ(15,"iframe",13),e.NdJ("load",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())})("error",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.onIframeLoad())}),e.qZA(),e.TgZ(16,"div",14),e.YNc(17,vt,1,0,"div",8),e.qZA()()()()}if(2&t){const i=e.oxw();e.xp6(5),e.Q6J("src",i.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",i.isIframeLoading),e.xp6(8),e.Q6J("src",i.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",i.isIframeLoading)}}let wt=(()=>{class t{constructor(i){this.sanitizer=i,this.showModal=!1,this.registrationLink="",this.closeModalEvent=new e.vpe,this.isIframeLoading=!0}ngOnChanges(){this.sanitizedUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}getSafeRegistrationLink(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}closeModal(){this.closeModalEvent.emit(),this.isIframeLoading=!0}onIframeLoad(){this.isIframeLoading=!1}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(u.H7))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-advisors-registration"]],inputs:{showModal:"showModal",registrationLink:"registrationLink"},outputs:{closeModalEvent:"closeModalEvent"},features:[e.TTD],decls:1,vars:1,consts:[["class","backdrop-blur overflow-x-hidden max-sm:p-5 overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none justify-center items-center flex",4,"ngIf"],[1,"backdrop-blur","overflow-x-hidden","max-sm:p-5","overflow-y-auto","fixed","inset-0","z-50","outline-none","focus:outline-none","justify-center","items-center","flex"],[1,"relative","max-md:hidden","w-full","mt-8","max-w-6xl","max-h-full","flex","flex-col","rounded-3xl","bg-black","justify-center","items-center"],[1,"absolute","right-0","top-0","mt-4","mr-4","text-3xl","font-semibold","leading-none","text-gray-600","outline-none","focus:outline-none",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","currentColor",1,"w-8","h-8"],["fill-rule","evenodd","d","M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z","clip-rule","evenodd"],[1,"w-full","rounded-3xl","aspect-video","bg-black",3,"src","load","error"],[1,"flex","absolute","items-center","justify-center"],["class","animate-spin rounded-full h-32 w-32 max-sm:h-16 max-sm:w-16 border-t-2 border-b-2 border-indigo-700 ",4,"ngIf"],["role","dialog","aria-modal","true",1,"relative","md:hidden","text-white"],[1,"fixed","inset-y-0","right-0","z-50","w-full","overflow-y-auto","bg-black","overflow-x-hidden","sm:max-w-sm","sm:ring-1","sm:ring-gray-900/10"],["type","button",1,"-m-2.5","absolute","top-2","right-2","rounded-md","p-2.5","text-gray-300",3,"click"],[1,"sr-only"],[1,"w-full","h-full","bg-black",3,"src","load","error"],[1,"flex","max-md:hidden","absolute","items-center","justify-center"],[1,"animate-spin","rounded-full","h-32","w-32","max-sm:h-16","max-sm:w-16","border-t-2","border-b-2","border-indigo-700"]],template:function(o,n){1&o&&e.YNc(0,_t,18,4,"div",0),2&o&&e.Q6J("ngIf",n.showModal)},dependencies:[s.O5]})}return t})(),xt=(()=>{class t{constructor(i){this.registerService=i,this.activeButton="",this.images=["https://res.cloudinary.com/eskalate/image/upload/v1714657507/Hackathon/Expo-min.png","https://res.cloudinary.com/eskalate/image/upload/v1714657509/Hackathon/certificateDay-min.jpg","https://res.cloudinary.com/eskalate/image/upload/v1700746297/Hackathon/yyeni.jpg","https://res.cloudinary.com/eskalate/image/upload/v1703573932/Hackathon/Architect.jpg","https://res.cloudinary.com/eskalate/image/upload/v1714657509/Hackathon/hackathon_coding-min.jpg"],this.isMuted=!0,this.showTeamRegistrationModal=!0,this.slickConfig={slidesToShow:3,slidesToScroll:3,autoplaySpeed:3e3,autoplay:!0,pauseOnHover:!0,infinite:!0,arrows:!0,responsive:[{breakpoint:1024,settings:{arrows:!0,infinite:!0,slidesToShow:2,slideToScroll:2}},{breakpoint:768,settings:{slidesToShow:1,arrows:!0}}]},this.toggleChatEvent=new e.vpe,this.showModal=!1,this.showChat=!1,this.showMentorsModal=!1,this.showAdvisorsModal=!1,this.mentorsRegistrationLink="https://form.typeform.com/to/ShJTk212",this.advisorsRegistrationLink="https://form.typeform.com/to/opvWnrn7",this.showGetInvolvedModal=!0,this.showIndividualRegistrationModal=!1,this.showRegistration2Modal=!0,this.advisorName="advisor",this.mentorName="mentor",this.shareData={title:"MDN",text:"Learn web development on MDN!",url:"https://res.cloudinary.com/eskalate/image/upload/v1716850665/Hackathon-2024/Hackathon_Partner_With_Us.png"},this.sharedImgUrl="https://res.cloudinary.com/eskalate/image/upload/v1716850665/Hackathon-2024/Hackathon_Partner_With_Us.png",this.shareImgTitle="Hackathon Links!",this.shareText="https://res.cloudinary.com/eskalate/image/upload/v1716850665/Hackathon-2024/Hackathon_Partner_With_Us.png"}onShowModal(){this.toggleChatEvent.emit(!1),this.showModal=!0,document.body.classList.add("overflow-hidden","z-0")}checkEligibility(){this.registerService.openModal()}onShowMentorsModal(){this.toggleChatEvent.emit(!1),this.showMentorsModal=!0,this.showGetInvolvedModal=!1,document.body.classList.add("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.add("z-0"),document.getElementById("prizes")?.classList.remove("z-40")}onShowAdvisorsModal(){this.toggleChatEvent.emit(!1),this.showAdvisorsModal=!0,this.showGetInvolvedModal=!1,document.body.classList.add("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.add("z-0"),document.getElementById("prizes")?.classList.remove("z-40")}onHideModal(){this.toggleChatEvent.emit(!0),this.showModal=!1,this.showGetInvolvedModal=!0,this.showMentorsModal=!1,this.showAdvisorsModal=!1,document.body.classList.remove("overflow-hidden","z-0"),document.getElementById("prizes")?.classList.remove("z-0"),document.getElementById("prizes")?.classList.add("z-40"),document.getElementById("partners")?.classList.remove("hidden"),document.getElementById("info")?.classList.remove("hidden"),document.getElementById("judges")?.classList.remove("hidden"),document.getElementById("eligibility")?.classList.remove("hidden"),document.getElementById("about-us")?.classList.remove("hidden"),document.getElementById("footer")?.classList.remove("hidden")}scrollDown(){const i=!document.body.classList.contains("overflow-hidden"),o=document.getElementById("prize2024");null!=o&&i&&o.scrollIntoView({behavior:"smooth"})}setActiveButton(i,o){this.activeButton=i,window.open(o,"_blank")}shareImage(){navigator.share?navigator.share({title:this.shareImgTitle,text:this.shareText,url:this.sharedImgUrl}).then(()=>{console.log("Thanks for sharing!")}).catch(i=>{console.error("Error sharing:",i)}):this.fallbackShare()}fallbackShare(){alert("Web Share API is not supported in this browser. Please use the share buttons below.")}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(_))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-landing"]],outputs:{toggleChatEvent:"toggleChatEvent"},decls:34,vars:5,consts:[["id","landing",1,"min-h-screen","pt-[0px]","lg:pt-[0px]","bg-blue-950","bg-opacity-60","relative"],["autoplay","","loop","",1,"w-full","h-full","object-cover","absolute","z-0",3,"muted"],["src","https://res.cloudinary.com/eskalate/video/upload/v1718713749/Hackathon_2023_Highlights.mp4","type","video/mp4"],[3,"registrationLink","showModal","closeModalEvent"],[1,"h-[100vh]","lg:pt-[18vh]","px:5","md:px-20","flex","flex-col","max-lg:justify-center","justify-start","z-1","drop-shadow-2xl","bg-black","bg-opacity-60"],[1,"text-white","px-5"],[1,"left","col-span-2","p-5","md:h-[76vh]","flex","flex-col","items-center","md:items-start","justify-start"],[1,"w-full","flex","flex-col","max-md:items-center","items-start","leading-relaxed","mb-2"],[1,"text-left","w-full","max-md:text-center","text-[36px]","font-bold","md:text-[46px]","lg:text-[60px]"],[1,"text-left","w-full","max-md:text-center","text-xl","mt-6","mb-10","md:text-2xl","lg:text-3xl"],[1,"flex","flex-col","w-full","justify-center"],[1,"flex","flex-col","justify-center","md:items-start"],[1,"inline-block","pl-0","max-md:text-center"],[1,"max-md:mt-5","text-2xl","mt-5","rounded-full","px-16","md:px-28","py-4","text-white","transition-all","cursor-pointer","ease-out","duration-400","bg-purple-700","hover:bg-purple-500","relative","overflow-hidden","group",3,"click"],[1,"absolute","inset-0","w-full","h-full","rounded-full","bg-gradient-to-r","from-purple-500","to-pink-500","opacity-50","blur-md","animate-pulse"],[1,"absolute","inset-0","w-full","h-full","rounded-full","bg-gradient-to-r","from-purple-500","to-pink-500","opacity-75","blur-lg"],[1,"absolute","right-0","w-8","h-32","-mt-12","transition-all","duration-1000","transform","translate-x-14","bg-white","opacity-10","rotate-12","group-hover:-translate-x-80","ease"],[1,"relative","text-white","font-bold"],[1,"max-md:mt-5","flex","flex-col","md:flex-row","max-md:items-center","justify-start"],[1,"text-sm","rounded-full","px-5","py-2.5","text-white","transition-all","border","border-1","cursor-pointer","ease-out","duration-300","hover:text-underline",3,"click"],[1,"hover:text-pink-500"],[1,"max-md:mt-5","text-sm","rounded-full","md:ml-3","px-6","py-2.5","text-white","transition-all","border","border-1","cursor-pointer","ease-out","duration-300","lg:ml-5","left-1/2",3,"click"],[1,"rounded-full","max-md:hidden","text-white","border-2","p-2","animate-bounce","z-40","cursor-pointer","mx-auto","absolute","bottom-4","left-1/2",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"w-8","h-8"],["stroke-linecap","round","stroke-linejoin","round","d","M19.5 5.25l-7.5 7.5-7.5-7.5m15 6l-7.5 7.5-7.5-7.5"]],template:function(o,n){1&o&&(e.TgZ(0,"div",0)(1,"video",1),e._UZ(2,"source",2),e._uU(3," Your browser does not support the video tag. "),e.qZA(),e.TgZ(4,"app-mentors-registration",3),e.NdJ("closeModalEvent",function(){return n.onHideModal()}),e.qZA(),e.TgZ(5,"app-advisors-registration",3),e.NdJ("closeModalEvent",function(){return n.onHideModal()}),e.qZA(),e._UZ(6,"app-register-modal"),e.TgZ(7,"div",4)(8,"div",5)(9,"section",6)(10,"div",7)(11,"p",8),e._uU(12," A2SV Hackathon, 2024 "),e.qZA(),e.TgZ(13,"h1",9),e._uU(14," AI for Impact - Solving Africa's Challenges "),e.qZA()(),e.TgZ(15,"div",10)(16,"h2",11),e._UZ(17,"app-count-down",12),e.TgZ(18,"button",13),e.NdJ("click",function(){return n.checkEligibility()}),e._UZ(19,"span",14)(20,"span",15)(21,"span",16),e.TgZ(22,"span",17),e._uU(23,"Register Now"),e.qZA()()(),e.TgZ(24,"div",18)(25,"button",19),e.NdJ("click",function(){return n.onShowMentorsModal()}),e.TgZ(26,"span",20),e._uU(27,"Be mentor/advisor"),e.qZA()(),e.TgZ(28,"button",21),e.NdJ("click",function(){return n.onShowAdvisorsModal()}),e.TgZ(29,"span",20),e._uU(30,"Partner with us"),e.qZA()(),e.TgZ(31,"div",22),e.NdJ("click",function(){return n.scrollDown()}),e.O4$(),e.TgZ(32,"svg",23),e._UZ(33,"path",24),e.qZA()()()()()()()()),2&o&&(e.xp6(1),e.Q6J("muted",n.isMuted),e.xp6(3),e.Q6J("registrationLink",n.mentorsRegistrationLink)("showModal",n.showMentorsModal),e.xp6(1),e.Q6J("registrationLink",n.advisorsRegistrationLink)("showModal",n.showAdvisorsModal))},dependencies:[P,ut,ht,wt],styles:["@keyframes _ngcontent-%COMP%_gradientAnimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.animate-gradient[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_gradientAnimation 10s ease infinite}.button[_ngcontent-%COMP%]{background:red;animation:myfirst 5s;-moz-animation:myfirst 5s infinite;-webkit-animation:myfirst 5s infinite}.bg_svg[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px;height:4px}.bg_svg[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:white}.slick-prev[_ngcontent-%COMP%], .slick-next[_ngcontent-%COMP%]{background-color:purple!important;height:19px!important}.bg_svg[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:yellow}.bg_svg[_ngcontent-%COMP%]{background-image:url(https://res.cloudinary.com/eskalate/video/upload/v1716272816/Hackathon/Hackathon_2023_Highlights_RAW_V1.mp4);background-size:cover;background-repeat:no-repeat;background-position:center}.vid[_ngcontent-%COMP%]{z-index:-6}"]})}return t})();function bt(t,a){1&t&&(e.ynx(0),e.TgZ(1,"div",16),e._UZ(2,"div",17),e.TgZ(3,"div",18),e._UZ(4,"app-what-we-provide"),e.qZA()(),e.BQk())}function yt(t,a){if(1&t&&(e.TgZ(0,"div",19),e._UZ(1,"app-header",20),e.qZA()),2&t){const i=e.oxw();e.xp6(1),e.Q6J("currentSection",i.currentSection)}}function kt(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",21)(1,"app-winner_modal",22),e.NdJ("closeModalEvent",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.closeModal())}),e.qZA()()}if(2&t){const i=e.oxw();e.xp6(1),e.Q6J("showModal",i.isModalOpen)("modalData",i.modalData)}}function Ct(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",23)(1,"a",24),e.NdJ("click",function(){e.CHM(i);const n=e.oxw();return e.KtG(n.openButton("partner","https://form.typeform.com/to/opvWnrn7"))}),e.TgZ(2,"button",25),e._uU(3," Partner with us "),e.qZA()()()}}function Zt(t,a){1&t&&(e.TgZ(0,"div",26)(1,"a",27),e._UZ(2,"span",28)(3,"span",29),e.TgZ(4,"span",30),e._uU(5,"Register Now"),e.qZA()()())}function Tt(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"div",34)(1,"app-bot",35),e.NdJ("closeChatEvent",function(){e.CHM(i);const n=e.oxw(2);return e.KtG(n.toggleChatBtn())}),e.qZA()()}}function At(t,a){1&t&&(e.O4$(),e.TgZ(0,"svg",39),e._UZ(1,"path",40)(2,"path",41),e.qZA())}function Mt(t,a){1&t&&(e.O4$(),e.TgZ(0,"svg",42),e._UZ(1,"path",43),e.qZA())}function It(t,a){if(1&t){const i=e.EpF();e.TgZ(0,"button",36),e.NdJ("click",function(){e.CHM(i);const n=e.oxw(2);return e.KtG(n.toggleChatBtn())}),e.YNc(1,At,3,0,"svg",37)(2,Mt,2,0,"svg",38),e.qZA()}if(2&t){const i=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!i.showChat),e.xp6(1),e.Q6J("ngIf",i.showChat)}}function Ut(t,a){1&t&&(e.TgZ(0,"button",44),e._uU(1," Register "),e.qZA())}function St(t,a){if(1&t&&(e.TgZ(0,"div"),e.YNc(1,Tt,2,0,"div",31)(2,It,3,2,"button",32)(3,Ut,2,0,"button",33),e.qZA()),2&t){const i=e.oxw();e.Gre("fixed ",i.showChat?"h-5/6 w-1/3":"h-auto w-auto"," bottom-4 z-50 h-5/6 w-1/3 gap-y-4 right-4 flex flex-col items-end justify-end"),e.xp6(1),e.Q6J("ngIf",i.showChat),e.xp6(1),e.Q6J("ngIf",!i.isButtonAtBottom||i.showChat),e.xp6(1),e.Q6J("ngIf",i.isStickRegisterButtonVisible&&!i.showChat&&i.registrationButtonVisible)}}let zt=(()=>{class t{constructor(i,o,n,r,c){this._el=i,this.localStorage=o,this.termsPluginLoaderService=n,this.modalService=r,this.winnerModalService=c,this.showPartnerButton=!1,this.isWinnerModalOpen=!1,this.modalData={},this.title="A2SV-Hackathon",this.showChat=!1,this.modalOpen=!1,this.isButtonAtBottom=!1,this.isStickRegisterButtonVisible=!1,this.toggleChatEvent=new e.vpe,this.showModal=!1,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,this.showRegistrationModal=!0,this.registrationDeadline=new Date(2023,7,31,23,59,59),this.registrationButtonVisible=!0,this.countDownVisible=!0,this.countDownDate=new Date(2023,8,3,17,0,0),this.spiedTags=["DIV"],this.sectionChange=new e.vpe,this.currentSection="home",this.localStorage.resetWaitingStatus()}openButton(i,o){window.open(o,"_blank")}isClickWithinModal(i){return!1}get isModalOpen(){return this.modalService.isModalOpen}ngOnInit(){this.modalSubscription=this.winnerModalService.isModalOpen$.subscribe(n=>{this.isWinnerModalOpen=n}),this.winnerModalService.modalData$.subscribe(n=>{this.modalData=n}),localStorage.getItem("consentGiven"),this.termsPluginLoaderService.loadPlugin(),new I.r({cloud:{cloudName:"eskalate"}}),setInterval(()=>{this.updateRegistrationButtonVisibility()},1e3)}ngOnDestroy(){this.modalSubscription&&this.modalSubscription.unsubscribe()}closeModal(){this.winnerModalService.toggleModal(!1)}closeJoinModal(){this.modalService.closeModal()}updateCountDownVisibility(){this.countDownVisible=new Date600}checkIfAtBottom(){const i=window.scrollY,o=window.innerHeight,n=document.documentElement.scrollHeight;this.isButtonAtBottom=i+o+5>=n}onScroll(i){let o="";const n=this._el.nativeElement.children,r=i.target.scrollTop,c=i.target.getBoundingClientRect();for(let C=0;CJt===Z.tagName)&&Lt.top-c.top<=r&&(o=Z.id)}o!==this.currentSection&&""!==o&&(this.currentSection=o);const w=this._el.nativeElement.querySelector("#landing"),k=window.scrollY||document.documentElement.scrollTop||document.body.scrollTop||0;this.showPartnerButton=k>w.offsetTop+w.offsetHeight-100}static#e=this.\u0275fac=function(o){return new(o||t)(e.Y36(e.SBq),e.Y36(O),e.Y36(q),e.Y36(v),e.Y36(S))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-root"]],hostBindings:function(o,n){1&o&&e.NdJ("click",function(c){return n.isClickWithinModal(c)},!1,e.evT)("scroll",function(){return n.onWindowScroll()},!1,e.Jf7)("mousewheel",function(c){return n.onScroll(c)},!1,e.evT)},outputs:{toggleChatEvent:"toggleChatEvent",sectionChange:"sectionChange"},decls:24,vars:6,consts:[[4,"ngIf"],["class","relative z-41",4,"ngIf"],["class","fixed h-full w-full border-red-500 pt-2 z-50",4,"ngIf"],["style","position: fixed; top: 45vh; left: -40px; z-index: 1000",4,"ngIf"],["id","prize2024",1,"relative","z-40"],["id","info",1,"relative","z-40"],["id","fixed-eligibility"],[3,"openChatEvent"],["id","home",1,"relative","z-40"],[3,"toggleChatEvent"],["id","prizes",1,"relative","z-40"],["id","about-us",1,"relative","z-40"],["id","partners",1,"relative","z-40"],["class","flex justify-center mt-3 mb-12",4,"ngIf"],["id","footer",1,"relative","z-40"],[3,"class",4,"ngIf"],[1,"fixed","top-0","left-0","z-50","w-full","mt-5","pt-3","flex","flex-col","justify-end"],[1,"modal-overlay"],[1,"border","border-gray-600","modal-box","w-11/12","max-sm:w-full","max-sm:mx-2","max-w-5xl","bg-gray-900","text-center","flex","flex-col","mt-4","shadow-lg","m-auto"],[1,"relative","z-41"],[3,"currentSection"],[1,"fixed","h-full","w-full","border-red-500","pt-2","z-50"],[3,"showModal","modalData","closeModalEvent"],[2,"position","fixed","top","45vh","left","-40px","z-index","1000"],["href","https://form.typeform.com/to/opvWnrn7","target","_blank",3,"click"],[1,"px-4","py-3","rounded-md","transition-transform","duration-300","ease-in-out","bg-gradient-to-r","from-indigo-600","to-pink-500",2,"transform","rotate(270deg)"],[1,"flex","justify-center","mt-3","mb-12"],["onClick","register_modal.showModal()",1,"relative","cursor-pointer","inline-flex","items-center","justify-center","p-4","px-5","py-3","overflow-hidden","font-medium","text-indigo-600","transition","duration-300","ease-out","rounded-full","shadow-xl","group","hover:ring-1","hover:ring-purple-500"],[1,"absolute","inset-0","w-full","h-full","bg-gradient-to-br","from-blue-600","via-purple-600","to-pink-700"],[1,"absolute","bottom-0","right-0","block","w-64","h-64","mb-32","mr-4","transition","duration-500","origin-bottom-left","transform","rotate-45","translate-x-24","bg-pink-500","rounded-full","opacity-30","group-hover:rotate-90","ease"],[1,"relative","text-white"],["class","mx-4 h-full w-full",4,"ngIf"],["class","bg-indigo-600 text-white p-3 rounded-full shadow hover:bg-indigo-800",3,"click",4,"ngIf"],["onClick","register_modal.showModal()","class","fixed text-white bottom-1/2 rounded rotate-90 transform z-[48] -left-6 px-6 bg-indigo-600 py-3 shadow hover:bg-indigo-800",4,"ngIf"],[1,"mx-4","h-full","w-full"],[3,"closeChatEvent"],[1,"bg-indigo-600","text-white","p-3","rounded-full","shadow","hover:bg-indigo-800",3,"click"],["viewBox","0 0 512 512","fill","currentColor","class","w-8 h-8",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor","class","w-8 h-8",4,"ngIf"],["viewBox","0 0 512 512","fill","currentColor",1,"w-8","h-8"],["d","M448 312.43c.77-1.11 1.51-2.26 2.27-3.34A174.55 174.55 0 00480 211.85C480.32 112.55 396.54 32 292.94 32c-90.36 0-165.74 61.49-183.4 143.12a172.81 172.81 0 00-4 36.83c0 99.4 80.56 182.11 184.16 182.11 16.47 0 38.66-4.95 50.83-8.29s24.23-7.75 27.35-8.94 8-2.41 11.89-1.29l77.42 22.38a4 4 0 005-4.86l-17.72-67.49c-1.23-5-1.39-5.94 3.53-13.14z"],["d","M312.54 415.38a165.32 165.32 0 01-23.26 2.05c-42.43 0-82.5-11.2-115-32.2a184.09 184.09 0 01-53.09-49.32c-26.08-34.57-40.3-78.51-40.3-124.49 0-3.13.11-6.14.22-9.16a4.34 4.34 0 00-7.54-3.12 158.76 158.76 0 00-14.86 195.24c2.47 3.77 3.87 6.68 3.44 8.62l-14.09 72.26a4 4 0 005.22 4.53l68-24.24a16.85 16.85 0 0112.92.22c20.35 8 42.86 12.92 65.37 12.92a169.45 169.45 0 00116.63-46 4.29 4.29 0 00-3.66-7.31z"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","1.5","stroke","currentColor",1,"w-8","h-8"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],["onClick","register_modal.showModal()",1,"fixed","text-white","bottom-1/2","rounded","rotate-90","transform","z-[48]","-left-6","px-6","bg-indigo-600","py-3","shadow","hover:bg-indigo-800"]],template:function(o,n){1&o&&(e._UZ(0,"app-consent"),e.YNc(1,bt,5,0,"ng-container",0)(2,yt,2,1,"div",1)(3,kt,2,2,"div",2)(4,Ct,4,0,"div",3),e._UZ(5,"app-landing"),e.TgZ(6,"div",4),e._UZ(7,"app-prize2024"),e.qZA(),e.TgZ(8,"div",5),e._UZ(9,"app-info"),e.qZA(),e.TgZ(10,"div",6)(11,"app-fixed-eligiblity",7),e.NdJ("openChatEvent",function(){return n.openChat()}),e.qZA()(),e.TgZ(12,"div",8)(13,"app-home",9),e.NdJ("toggleChatEvent",function(c){return n.changeChatState(c)}),e.qZA()(),e.TgZ(14,"div",10),e._UZ(15,"app-prizes"),e.qZA(),e.TgZ(16,"div",11),e._UZ(17,"app-about-us"),e.qZA(),e.TgZ(18,"div",12),e._UZ(19,"app-potential-partners"),e.qZA(),e.YNc(20,Zt,6,0,"div",13),e.TgZ(21,"div",14),e._UZ(22,"app-footer"),e.qZA(),e.YNc(23,St,4,6,"div",15)),2&o&&(e.xp6(1),e.Q6J("ngIf",n.isModalOpen),e.xp6(1),e.Q6J("ngIf",!n.modalOpen),e.xp6(1),e.Q6J("ngIf",n.isWinnerModalOpen),e.xp6(1),e.Q6J("ngIf",n.showPartnerButton),e.xp6(16),e.Q6J("ngIf",n.registrationButtonVisible),e.xp6(3),e.Q6J("ngIf",!n.modalOpen))},dependencies:[s.O5,E,M,z,X,ie,re,be,ye,Ze,Te,Me,je,Je,xt]})}return t})();var Ot=l(4425),qt=l(349),Et=l(2296),jt=l(491);let Pt=(()=>{class t{static#e=this.\u0275fac=function(o){return new(o||t)};static#t=this.\u0275mod=e.oAB({type:t,bootstrap:[zt]});static#i=this.\u0275inj=e.cJS({providers:[x,q],imports:[u.b2,V,d.UX,y.JF,Ot.Mf,qt.PW,Et.ot,jt.Is,b.bB,P,j,E]})}return t})();u.q6().bootstrapModule(Pt).catch(t=>console.error(t))}},h=>{h.O(0,[736],()=>h(h.s=4701)),h.O()}]); \ No newline at end of file diff --git a/src/app/pages/eligibility/eligibility.component.html b/src/app/pages/eligibility/eligibility.component.html index cc567db..c8c0456 100644 --- a/src/app/pages/eligibility/eligibility.component.html +++ b/src/app/pages/eligibility/eligibility.component.html @@ -44,21 +44,19 @@
- + +
-