From 7962624ffca923dfbebe7a0b289e95247d1ad0b7 Mon Sep 17 00:00:00 2001 From: Blen Date: Mon, 10 Jun 2024 16:04:08 +0300 Subject: [PATCH] Blen.fix: spelling fix --- dist/hacks-website/index.html | 2 +- .../{main.270961d2aba3632a.js => main.3828ee5cbd0671ce.js} | 2 +- src/app/shared/registration/registration.component.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename dist/hacks-website/{main.270961d2aba3632a.js => main.3828ee5cbd0671ce.js} (70%) diff --git a/dist/hacks-website/index.html b/dist/hacks-website/index.html index b0d8f83..156223a 100644 --- a/dist/hacks-website/index.html +++ b/dist/hacks-website/index.html @@ -60,5 +60,5 @@
- + diff --git a/dist/hacks-website/main.270961d2aba3632a.js b/dist/hacks-website/main.3828ee5cbd0671ce.js similarity index 70% rename from dist/hacks-website/main.270961d2aba3632a.js rename to dist/hacks-website/main.3828ee5cbd0671ce.js index 1b2466a..a6f813a 100644 --- a/dist/hacks-website/main.270961d2aba3632a.js +++ b/dist/hacks-website/main.3828ee5cbd0671ce.js @@ -1 +1 @@ -"use strict";(self.webpackChunkHacks_Website=self.webpackChunkHacks_Website||[]).push([[179],{8068:(u,C,c)=>{var m=c(6593),Z=c(7227),e=c(9468);let h=(()=>{class n{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(i){return new(i||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var s=c(6814);const O=function(n){return{heading:n}},p=function(n){return{description:n}};let T=(()=>{class n{constructor(t,i){this.elRef=t,this.modalService=i,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 i=this.elRef.nativeElement.querySelector("#home_component").getBoundingClientRect(),o=i.top=0;!this.animated&&o?this.animated=!0:o||(this.animated=!1)}openModal(t){t.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 n{constructor(){this.initializeCloudinary()}initializeCloudinary(){this.cloudinary=new A.r({cloud:{cloudName:"eskalate"}})}generateImageUrl(t){const i=this.cloudinary.image(t);return i.resize((0,j.hl)().width(1280).height(720)),i}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var f=c(5619);let U=(()=>{class n{constructor(){this.isModalOpenSubject=new f.X(!1),this.isModalOpen$=this.isModalOpenSubject.asObservable(),this.modalDataSubject=new f.X({}),this.modalData$=this.modalDataSubject.asObservable()}toggleModal(t,i){this.isModalOpenSubject.next(t),i&&this.modalDataSubject.next(i)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const q=function(n,a,t){return{"md:-translate-y-[15px]":n,"md:-translate-y-[40px]":a,"md:-translate-y-0":t}};function P(n,a){if(1&n){const t=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(t).$implicit,l=e.oxw();return e.KtG(l.onMoreOptionsClick(r))}),e._uU(16," More "),e.qZA()()()()}if(2&n){const t=a.$implicit,i=a.index;e.xp6(1),e.Tol(e.kEZ(8,q,0===i,1===i,2===i)),e.xp6(2),e.Q6J("src",t.awrd_img,e.LSH),e.xp6(3),e.Q6J("src",t.img,e.LSH),e.xp6(2),e.hij(" ",t.prize_type," "),e.xp6(3),e.AsE(" ",t.projectname," by Team ",t.team," "),e.xp6(2),e.hij(" ",t.description," ")}}let L=(()=>{class n{onMoreOptionsClick(t){this.cardTouched.emit(t)}constructor(t,i){this.cloudinaryService=t,this.renderer=i,this.title="",this.winners=[],this.descr="",this.cardTouched=new e.vpe}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(M),e.Y36(e.Qsj))};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(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,P,17,12,"div",6),e.qZA()()),2&i&&(e.xp6(2),e.hij(" ",o.title," "),e.xp6(4),e.hij(" ",o.descr," "),e.xp6(2),e.Q6J("ngForOf",o.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 n})(),H=(()=>{class n{constructor(t,i){this.cloudinaryService=t,this.winnerModalService=i,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(t){this.winnerModalService.toggleModal(!0,t)}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(t){switch(t){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(t){switch(t){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(t){switch(t){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(i){return new(i||n)(e.Y36(M),e.Y36(U))};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(e.TgZ(0,"section",0)(1,"app-track-winners",1),e.NdJ("cardTouched",function(l){return o.openModal(l)}),e.qZA()()),2&i&&(e.xp6(1),e.Q6J("title",o.title_winners)("descr",o.desc_winners)("winners",o.winners))},dependencies:[L]})}return n})();const E=["videoIframe"];let z=(()=>{class n{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(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-prizes"]],viewQuery:function(i,o){if(1&i&&e.Gf(E,5),2&i){let r;e.iGM(r=e.CRH())&&(o.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(i,o){1&i&&(e.TgZ(0,"section",0),e._UZ(1,"app-winner")(2,"div",1),e.qZA())},dependencies:[H],styles:[".fade[_ngcontent-%COMP%]{transition:opacity .5s}"]})}return n})();const B=[{path:"home",component:T},{path:"prizes",component:z}],J={scrollPositionRestoration:"enabled",anchorScrolling:"enabled",scrollOffset:[0,64]};let N=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=e.oAB({type:n});static#n=this.\u0275inj=e.cJS({imports:[Z.Bz.forRoot(B,J),Z.Bz]})}return n})(),I=(()=>{class n{constructor(){this._myData$=new f.X(null),this.myData$=this._myData$.asObservable(),this._waitingResponse$=new f.X(!1)}seedData(){const t=localStorage.getItem("messages");null==t?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(t))}setWaitingStatus(t){const i=localStorage.getItem("waitingStatus")?JSON.parse(localStorage.getItem("waitingStatus")):0,o=t?i+1:i-1;localStorage.setItem("waitingStatus",JSON.stringify(o)),this._waitingResponse$.next(o>0)}resetWaitingStatus(){localStorage.setItem("waitingStatus",JSON.stringify(0)),this._waitingResponse$.next(!1)}addMessage(t){const i=localStorage.getItem("messages")?JSON.parse(localStorage.getItem("messages")):[];i.push(t),localStorage.setItem("messages",JSON.stringify(i)),this._myData$.next(i)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),w=(()=>{class n{constructor(){this.displayConsent=!1}showConsentUI(t){this.displayConsent=t}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(i){return new(i||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),S=(()=>{class n{constructor(t){this.consentService=t}loadPlugin(){const g=document.createElement("script");g.onerror=b=>{console.error("[termsfeed][pc-loader-1]","[ee][b1b476da]","plugin failed!",b)},g.async=!0,g.src="https://cdn.termsfeedtag.com/plugins/pc/v1/d55fc7bf462345899345196be3d8e53a/plugin-2.js",this.consentService.getConsentStatus()&&document.body.appendChild(g)}static#e=this.\u0275fac=function(i){return new(i||n)(e.LFG(w))};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function F(n,a){if(1&n){const t=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"div",31),e._UZ(1,"div",32),e.TgZ(2,"div",33)(3,"div",34)(4,"button",35),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.toggleMenu())}),e.TgZ(5,"span",27),e._uU(6,"Close menu"),e.qZA(),e.TgZ(7,"div",36),e.O4$(),e.TgZ(8,"svg",28),e._UZ(9,"path",37),e.qZA()()()(),e.kcU(),e.TgZ(10,"div",38)(11,"div",39)(12,"div",40)(13,"a",41),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return o.scrollToSection("landing"),e.KtG(o.toggleMenu())}),e._uU(14,"Home"),e.qZA(),e.TgZ(15,"a",41),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return o.scrollToSection("prize2024"),e.KtG(o.toggleMenu())}),e._uU(16,"\u{1f3c6} $30K Prize"),e.qZA(),e.TgZ(17,"a",41),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return o.scrollToSection("info"),e.KtG(o.toggleMenu())}),e._uU(18,"Information"),e.qZA(),e.TgZ(19,"a",41),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return o.scrollToSection("about-us"),e.KtG(o.toggleMenu())}),e._uU(20,"About Us"),e.qZA(),e.TgZ(21,"a",41),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return o.scrollToSection("partners"),e.KtG(o.toggleMenu())}),e._uU(22,"A2SV Interview Partners"),e.qZA()()()()()()}}let D=(()=>{class n{constructor(t,i){this.elRef=t,this.modalService=i,this.showMenu=!1,this.isModalOpenArray=!1,this.currentSection="home"}toggleMenu(){this.showMenu=!this.showMenu}openModal(t){t.stopPropagation(),this.modalService.openModal()}scrollToSection(t){this.currentSection=t;const i=!document.body.classList.contains("overflow-hidden"),o=document.getElementById(t);null!=o&&i&&o.scrollIntoView({behavior:"smooth"})}setActiveButton(t,i){window.open(i,"_blank")}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(e.SBq),e.Y36(h))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-header"]],inputs:{currentSection:"currentSection"},decls:42,vars:16,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","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-16","max-lg:w-24","max-md:w-20"],[1,"hidden","justify-between","gap-x-4","lg:flex"],[3,"click"],[1,"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,"px-3","flex","sm:flex-row","flex-col"],[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","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"],[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","currentColor","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"],["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(i,o){1&i&&(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 o.scrollToSection("landing")}),e._uU(6,"Home"),e.qZA(),e.TgZ(7,"a",5),e.NdJ("click",function(){return o.scrollToSection("prize2024")}),e._uU(8,"\u{1f3c6} $30K Prize"),e.qZA(),e.TgZ(9,"a",5),e.NdJ("click",function(){return o.scrollToSection("info")}),e._uU(10,"Information"),e.qZA(),e.TgZ(11,"a",5),e.NdJ("click",function(){return o.scrollToSection("about-us")}),e._uU(12,"About Us"),e.qZA(),e.TgZ(13,"a",5),e.NdJ("click",function(){return o.scrollToSection("partners")}),e._uU(14,"Interview Partners"),e.qZA()(),e.TgZ(15,"button",6),e.NdJ("click",function(l){return o.openModal(l)}),e._uU(16," Join A2SV\n"),e.qZA(),e.TgZ(17,"div",7)(18,"span",8)(19,"a",9),e.NdJ("click",function(){return o.setActiveButton("signup","https://t.me/+yqzQh04AAXRjZGQ0")}),e.O4$(),e.TgZ(20,"svg",10),e._UZ(21,"path",11),e.qZA()(),e.kcU(),e.TgZ(22,"a",12),e.NdJ("click",function(){return o.setActiveButton("signup","https://www.facebook.com/africatosiliconvalley")}),e.O4$(),e.TgZ(23,"svg",13),e._UZ(24,"path",14),e.qZA()(),e.kcU(),e.TgZ(25,"a",15),e.NdJ("click",function(){return o.setActiveButton("signup","https://www.instagram.com/a2sv_org/?hl=en")}),e.O4$(),e.TgZ(26,"svg",16),e._UZ(27,"path",17),e.qZA()(),e.kcU(),e.TgZ(28,"a",18),e.NdJ("click",function(){return o.setActiveButton("signup","https://twitter.com/A2_SV")}),e.O4$(),e.TgZ(29,"svg",19),e._UZ(30,"path",20),e.qZA()(),e.kcU(),e.TgZ(31,"a",21),e.NdJ("click",function(){return o.setActiveButton("signup","https://www.linkedin.com/company/a2sv/")}),e.O4$(),e.TgZ(32,"svg",22),e._UZ(33,"path",23)(34,"circle",24),e.qZA()()()(),e.kcU(),e.TgZ(35,"div",25)(36,"button",26),e.NdJ("click",function(){return o.toggleMenu()}),e.TgZ(37,"span",27),e._uU(38,"Open main menu"),e.qZA(),e.O4$(),e.TgZ(39,"svg",28),e._UZ(40,"path",29),e.qZA()()()(),e.YNc(41,F,23,0,"div",30),e.qZA()),2&i&&(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"==o.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"==o.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"==o.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"==o.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"==o.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.xp6(28),e.Q6J("ngIf",o.showMenu))},dependencies:[s.O5]})}return n})();var _=c(9032),d=c(95);function R(n,a){if(1&n&&(e.TgZ(0,"div",21),e._UZ(1,"img",22),e.qZA()),2&n){const t=a.$implicit;e.xp6(1),e.s9C("src",t.img,e.LSH)}}function Y(n,a){if(1&n&&(e.TgZ(0,"div",23),e._UZ(1,"img",24),e.qZA()),2&n){const t=a.$implicit;e.xp6(1),e.s9C("src",t.img,e.LSH)}}let G=(()=>{class n{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}}]}}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-potential-partners"]],decls:27,vars:3,consts:[["id","partners",1,"flex","bg-bubbles","px-8","max-sm:px-4","py-8","max-sm:py-4","pb-8","flex-col","justify-center"],[1,"sm:text-4xl","text-center","text-2xl","font-medium","mb-4","text-white"],[1,"hidden","max-md:hidden","flex","justify-between","items-center","py-6","p-4","overflow-hidden","my-5"],["class","mx-4",4,"ngFor","ngForOf"],[1,""],[1,"carousel","h-full","p-6","my-10","flex","overflow-hidden","justify-center","gap-x-12",3,"config"],["slickModal","slick-carousel"],["ngxSlickItem","","class","slide mx-auto flex justify-center",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"],["id","sponsor_us_modal",1,"modal"],["method","dialog",1,"modal-box","bg-gray-900","w-11/12","max-md:w-full"],[1,"btn","btn-sm","btn-circle","btn-ghost","absolute","right-2","top-2"],[1,"lg:flex-grow","lg:pr-24","md:pr-16","flex","flex-col","md:items-start","md:text-left","mb-16","md:mb-0","items-center","text-center"],[1,"font-IBM","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text","sm:text-4xl","text-3xl","mb-4","font-medium","text-gray-300"],[1,"mt-2","text-gray-300","mb-8","w-full"],[1,"flex","w-full","flex-wrap","md:justify-between","space-y-4","justify-center","items-end"],["href","mailto:contact@a2sv.org",1,"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","ease-out","duration-300"],[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,"mx-4"],["fill","currentColor",1,"w-48","h-16","text-white",3,"src"],["ngxSlickItem","",1,"slide","mx-auto","flex","justify-center"],[1,"w-full","h-24","px-16",3,"src"]],template:function(i,o){1&i&&(e.TgZ(0,"section",0)(1,"p",1),e._uU(2,"Interview Partners"),e.qZA(),e.TgZ(3,"div",2),e.YNc(4,R,2,1,"div",3),e.qZA(),e.TgZ(5,"div",4)(6,"ngx-slick-carousel",5,6),e.YNc(8,Y,2,1,"div",7),e.qZA()(),e.TgZ(9,"a",8),e._UZ(10,"span",9),e.TgZ(11,"span",10),e._uU(12,"Support Us"),e.qZA()(),e.TgZ(13,"dialog",11)(14,"form",12)(15,"button",13),e._uU(16,"\u2715"),e.qZA(),e.TgZ(17,"div",14)(18,"h1",15),e._uU(19,"Hello!"),e.qZA(),e.TgZ(20,"p",16),e._uU(21,"Sponsor our AI Hackathon to support African students in harnessing the power of AI to tackle challenges. Your partnership will empower innovation across Africa and play a crucial role in shaping the future of AI-driven solutions on the continent."),e.qZA(),e.TgZ(22,"div",17)(23,"a",18),e._UZ(24,"span",19),e.TgZ(25,"span",20),e._uU(26,"Contact Us"),e.qZA()()()()()()()),2&i&&(e.xp6(4),e.Q6J("ngForOf",o.slides),e.xp6(2),e.Q6J("config",o.slideConfig),e.xp6(2),e.Q6J("ngForOf",o.slides))},dependencies:[s.sg,_.vE,_.Xg,d._Y,d.JL]})}return n})();const V=[{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 Q(n,a){if(1&n&&(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&n){const t=a.$implicit;e.Akn("--accent-color: "+t.color),e.xp6(7),e.Oqu(t.year),e.xp6(2),e.hij(" ",t.title," "),e.xp6(2),e.hij(" ",t.desc," ")}}let W=(()=>{class n{constructor(){this.years=[]}ngOnInit(){this.years=V}closeTimelineModal(){}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"ul"),e.YNc(3,Q,12,5,"li",2),e.qZA()()()),2&i&&(e.xp6(3),e.Q6J("ngForOf",o.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 n})(),$=(()=>{class n{constructor(t){this.sanitizer=t,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(t,i){window.open(i,"_blank")}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(m.H7))};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(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 o.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:[W]})}return n})();function K(n,a){if(1&n&&(e.TgZ(0,"li")(1,"div",8),e.O4$(),e.TgZ(2,"svg",9),e._UZ(3,"path",10),e.qZA(),e.kcU(),e.TgZ(4,"p",4),e._uU(5),e.qZA()()()),2&n){const t=a.$implicit;e.xp6(5),e.hij("",t.text," ")}}function X(n,a){1&n&&(e.TgZ(0,"div",11)(1,"button",12),e._uU(2,"Register Now"),e.qZA()())}let ee=(()=>{class n{constructor(){this.openChatEvent=new e.vpe,this.registrationDeadline=new Date(2023,7,31,23,59,59),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 or College (undergrad, Associates, Diploma program), or High School throughout the entirety of the hackathon. Students who are currently pursuing or have completed their Master's degree or higher are not eligible to participate."}]}ngOnInit(){setInterval(()=>{this.updateRegistrationButtonVisibility()},1e3)}updateRegistrationButtonVisibility(){this.registrationButtonVisible=new Date *[_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}"]})}return n})();var x=c(9862);let te=(()=>{class n{constructor(t){this.http=t}getIpAddress(){return this.http.get("https://api.ipify.org?format=json")}static#e=this.\u0275fac=function(i){return new(i||n)(e.LFG(x.eN))};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ne=c(6306),oe=c(2096);let ie=(()=>{class n{constructor(t){this.httpClient=t,this.errorMsg=""}sendMessage(t,i){return this.httpClient.post("https://a2sv-generative-ai-hackathon-lylswf275a-zf.a.run.app/api/v1/chats",{ip_address:i,query:t}).pipe((0,ne.K)(o=>(this.errorMsg=o.error instanceof ErrorEvent?`Error: ${o.error.message}`:this.getServerErrorMessage(o),(0,oe.of)({message:this.errorMsg}))))}getServerErrorMessage(t){switch(t.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(i){return new(i||n)(e.LFG(x.eN))};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const ae=["scrollableContainer"],re=["fullScreenScrollableContainer"];function se(n,a){if(1&n&&(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&n){const t=e.oxw().$implicit;e.xp6(6),e.hij(" ",t.content," ")}}function le(n,a){if(1&n&&(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&n){const t=e.oxw().$implicit;e.xp6(6),e.hij(" ",t.content," ")}}function ce(n,a){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,se,7,1,"div",23),e.YNc(2,le,7,1,"div",24),e.qZA()),2&n){const t=a.$implicit;e.xp6(1),e.Q6J("ngIf","bot"===t.role),e.xp6(1),e.Q6J("ngIf","user"===t.role)}}function de(n,a){1&n&&(e.TgZ(0,"div",33)(1,"div",34)(2,"div",35),e._UZ(3,"div",36)(4,"div",37),e.qZA()()())}function me(n,a){if(1&n&&(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&n){const t=e.oxw().$implicit;e.xp6(5),e.Oqu(t.content)}}function pe(n,a){if(1&n&&(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&n){const t=e.oxw().$implicit;e.xp6(5),e.Oqu(t.content)}}function ge(n,a){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,me,6,1,"div",23),e.YNc(2,pe,6,1,"div",24),e.qZA()),2&n){const t=a.$implicit;e.xp6(1),e.Q6J("ngIf","bot"===t.role),e.xp6(1),e.Q6J("ngIf","user"===t.role)}}function ue(n,a){1&n&&(e.TgZ(0,"div",33)(1,"div",34)(2,"div",35),e._UZ(3,"div",36)(4,"div",37),e.qZA()()())}let he=(()=>{class n{constructor(t,i,o){this.ipService=t,this.chatService=i,this.localStorageService=o,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(t=>{this.ipAddress=t.ip,console.log("IP Address:",this.ipAddress)},t=>{console.error("Failed to fetch IP address:",t)})}closeChat(){this.closeChatEvent.emit()}sendMessage(){this.isChatLoading=!0,this.localStorageService.addMessage({role:"user",content:this.chatForm.value.message}),this.localStorageService.setWaitingStatus(!0);const t=this.chatForm.value.message;try{this.chatService.sendMessage(t,this.ipAddress).subscribe(i=>{console.log("Response: ",i),this.isChatLoading=!1,this.localStorageService.setWaitingStatus(!1),this.localStorageService.addMessage({role:"bot",content:i.message})})}catch{this.isChatLoading=!1}this.chatForm.reset()}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(te),e.Y36(ie),e.Y36(I))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-bot"]],viewQuery:function(i,o){if(1&i&&(e.Gf(ae,5),e.Gf(re,5)),2&i){let r;e.iGM(r=e.CRH())&&(o.scrollableContainer=r.first),e.iGM(r=e.CRH())&&(o.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(i,o){if(1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"p"),e._uU(3,"Hacks-Bot"),e.qZA()(),e.TgZ(4,"div",2,3)(6,"div",4),e.YNc(7,ce,3,2,"div",5),e.YNc(8,de,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 o.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 o.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,"Hacks-Bot"),e.qZA(),e._UZ(24,"div"),e.qZA(),e.TgZ(25,"div",19,20),e.YNc(27,ge,3,2,"div",5),e.YNc(28,ue,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 o.sendMessage()}),e.O4$(),e.TgZ(32,"svg",10),e._UZ(33,"path",11),e.qZA()()()()()()),2&i){const r=e.MAs(5),l=e.MAs(26);e.xp6(4),e.Q6J("scrollTop",r.scrollHeight),e.xp6(3),e.Q6J("ngForOf",o.messages),e.xp6(1),e.Q6J("ngIf",o.isChatLoading),e.xp6(1),e.Q6J("formGroup",o.chatForm),e.xp6(2),e.Q6J("disabled",!o.chatForm.valid),e.xp6(14),e.Q6J("scrollTop",l.scrollHeight),e.xp6(2),e.Q6J("ngForOf",o.messages),e.xp6(1),e.Q6J("ngIf",o.isChatLoading),e.xp6(1),e.Q6J("formGroup",o.chatForm),e.xp6(2),e.Q6J("disabled",!o.chatForm.valid)}},dependencies:[s.sg,s.O5,d._Y,d.Fj,d.JJ,d.JL,d.sg,d.u]})}return n})(),fe=(()=>{class n{setActiveButton(t,i){window.open(i,"_blank")}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,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","text-xl"],[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-4"],["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(i,o){1&i&&(e.TgZ(0,"footer",0)(1,"div",1)(2,"a",2)(3,"span",3),e._uU(4,"A2SV Hacks"),e.qZA()(),e.TgZ(5,"p",4)(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 o.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 o.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 o.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 o.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 o.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 n})();function ve(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",6)(1,"a",7),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.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&n){const t=e.oxw().$implicit;e.xp6(1),e.s9C("href",t.footer,e.LSH)}}function we(n,a){if(1&n&&(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,ve,6,1,"div",5),e.qZA()()),2&n){const t=a.$implicit,i=a.index;e.Gre("",i%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("",i%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",t.image,e.LSH),e.xp6(1),e.Gre("",i%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(t.title),e.xp6(2),e.Oqu(t.description),e.xp6(2),e.Oqu(t.description1),e.xp6(1),e.Q6J("ngIf",null!=t.footer)}}let _e=(()=>{class n{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(t,i){window.open(i,"_blank")}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(e.TgZ(0,"section",0),e.YNc(1,we,11,14,"div",1),e.qZA()),2&i&&(e.xp6(1),e.Q6J("ngForOf",o.contents))},dependencies:[s.sg,s.O5]})}return n})(),xe=(()=>{class n{constructor(t){this.modalService=t,this.closeModalEvent=new e.vpe}get isModalOpen(){return this.modalService.isModalOpen}closeModal(){this.modalService.closeModal()}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(h))};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(e.TgZ(0,"section",0)(1,"button",1),e.NdJ("click",function(){return o.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 n})();function be(n,a){if(1&n){const t=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(t);const o=e.oxw();return e.KtG(o.giveConsent())}),e._uU(6," Accept "),e.qZA(),e.TgZ(7,"button",5),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.rejectConsent())}),e._uU(8," Reject "),e.qZA()()()()}}let ye=(()=>{class n{constructor(t){this.consentService=t}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(i){return new(i||n)(e.Y36(w))};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&e.YNc(0,be,9,0,"div",0),2&i&&e.Q6J("ngIf",o.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 n})();function ke(n,a){if(1&n&&(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&n){const t=a.$implicit,i=a.index,o=e.oxw();e.xp6(1),e.Q6J("href",o.modalData.linkedin[i],e.LSH),e.xp6(2),e.s9C("src",t,e.LSH),e.xp6(2),e.hij(" ",o.modalData.teamMembers[i].toUpperCase()," ")}}function Ce(n,a){if(1&n&&(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&n){const t=a.$implicit;e.xp6(3),e.Q6J("src","assets/"+t+".png",e.LSH)("alt",t),e.xp6(2),e.Oqu(t)}}function Ze(n,a){if(1&n&&(e.TgZ(0,"button",36)(1,"a",37),e._uU(2,"Demo"),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href",t.modalData.demo,e.LSH)}}function Te(n,a){if(1&n&&(e.TgZ(0,"button",36)(1,"a",38),e._uU(2,"Pitch"),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href",t.modalData.pitch,e.LSH)}}function Ae(n,a){if(1&n&&(e.TgZ(0,"button",36)(1,"a",39),e._uU(2,"Website"),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href",t.modalData.webUrl,e.LSH)}}function Me(n,a){if(1&n&&(e.TgZ(0,"button",36)(1,"a",39),e._uU(2,"Mobile"),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href",t.modalData.mobileUrl,e.LSH)}}function Ue(n,a){if(1&n&&(e.TgZ(0,"button",36)(1,"a",39),e._uU(2,"Slack"),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href",t.modalData.slackUrl,e.LSH)}}let ze=(()=>{class n{constructor(){this.showModal=!1,this.modalData={},this.closeModalEvent=new e.vpe}closeModal(){this.closeModalEvent.emit(!0)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"button",2),e.NdJ("click",function(){return o.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,ke,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,Ce,6,3,"div",21),e.qZA()()(),e.TgZ(36,"div",22),e.YNc(37,Ze,3,1,"button",23),e.YNc(38,Te,3,1,"button",23),e.YNc(39,Ae,3,1,"button",23),e.YNc(40,Me,3,1,"button",23),e.YNc(41,Ue,3,1,"button",23),e.qZA()()()()),2&i&&(e.xp6(10),e.Q6J("ngForOf",o.modalData.teamImage),e.xp6(8),e.Oqu(o.modalData.team),e.xp6(5),e.Oqu(o.modalData.projectname),e.xp6(5),e.hij("$",o.modalData.money,""),e.xp6(2),e.hij(" ",o.modalData.prize_description," "),e.xp6(5),e.Q6J("ngForOf",o.modalData.countries),e.xp6(2),e.Q6J("ngIf",o.modalData.demo),e.xp6(1),e.Q6J("ngIf",o.modalData.pitch),e.xp6(1),e.Q6J("ngIf",o.modalData.webUrl),e.xp6(1),e.Q6J("ngIf",o.modalData.mobileUrl),e.xp6(1),e.Q6J("ngIf",o.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 n})();function Ie(n,a){if(1&n&&(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&n){const t=a.$implicit;e.xp6(4),e.hij("",t," ")}}let Se=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(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,Ie,5,1,"div",4),e.qZA()()),2&i&&(e.xp6(1),e.Gre("","First"==(null==o.prize?null:o.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==o.prize?null:o.prize.image,e.LSH),e.xp6(1),e.Gre("","First"==(null==o.prize?null:o.prize.place)?"text-[#FFC876]":"Second"==(null==o.prize?null:o.prize.place)?"text-[#C0C0C0]":"text-[#CD7F32]"," text-xl opacity-100"),e.xp6(1),e.hij("",null==o.prize?null:o.prize.place," Place "),e.xp6(4),e.Oqu(null==o.prize?null:o.prize.prize),e.xp6(1),e.Q6J("ngForOf",null==o.prize?null:o.prize.awards))},dependencies:[s.sg]})}return n})(),Oe=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(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&i&&(e.xp6(8),e.Oqu(null==o.track?null:o.track.title),e.xp6(2),e.Oqu(null==o.track?null:o.track.description),e.xp6(2),e.hij("$",null==o.track?null:o.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 n})();function je(n,a){1&n&&e._UZ(0,"app-track-card",10),2&n&&e.Q6J("track",a.$implicit)}let qe=(()=>{class n{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(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(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,je,1,1,"app-track-card",9),e.qZA()()),2&i&&(e.xp6(5),e.Q6J("prize",o.secondPrize),e.xp6(2),e.Q6J("prize",o.firstPrize),e.xp6(2),e.Q6J("prize",o.thirdPrize),e.xp6(4),e.Q6J("ngForOf",o.tracks))},dependencies:[s.sg,Se,Oe]})}return n})();function Pe(n,a){1&n&&e._UZ(0,"div",16)}function Le(n,a){1&n&&e._UZ(0,"div",16)}function He(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"button",4),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closeModal())}),e.O4$(),e.TgZ(3,"svg",5),e._UZ(4,"path",6),e.qZA()(),e.kcU(),e.TgZ(5,"iframe",7),e.NdJ("load",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(6,"div",8),e.YNc(7,Pe,1,0,"div",9),e.qZA()(),e.TgZ(8,"div",10)(9,"div",11)(10,"button",12),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closeModal())}),e.TgZ(11,"span",13),e._uU(12,"Close menu"),e.qZA(),e.O4$(),e.TgZ(13,"svg",5),e._UZ(14,"path",6),e.qZA()(),e.kcU(),e.TgZ(15,"iframe",14),e.NdJ("load",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(16,"div",15),e.YNc(17,Le,1,0,"div",9),e.qZA()()()()}if(2&n){const t=e.oxw();e.xp6(5),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading),e.xp6(8),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading)}}function Ee(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"dialog",17)(1,"form",18)(2,"section",19)(3,"div",20)(4,"div",21)(5,"div",22),e._UZ(6,"img",23),e.qZA(),e.TgZ(7,"div",24)(8,"h3",25),e._uU(9,"Cograts 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(10,"div",26)(11,"textarea",27),e._uU(12,"I've just registered for the A2SV Hackathon! Join me and be part of this hackathon! https://hackathon.a2sv.org"),e.qZA(),e.TgZ(13,"button",28),e._uU(14,"Copy Text"),e.qZA()(),e.TgZ(15,"span",29)(16,"a",30),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.setActiveButton("telegram",o.telegramSharingLink))}),e.O4$(),e.TgZ(17,"svg",31),e._UZ(18,"path",32),e.qZA()(),e.kcU(),e.TgZ(19,"a",33),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.setActiveButton("facebook",o.facebookSharingLink))}),e.O4$(),e.TgZ(20,"svg",34),e._UZ(21,"path",35),e.qZA()(),e.kcU(),e.TgZ(22,"a",36),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.setActiveButton("twitter",o.twitterSharingLink))}),e.O4$(),e.TgZ(23,"svg",37),e._UZ(24,"path",38),e.qZA()(),e.kcU(),e.TgZ(25,"a",39),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.setActiveButton("linkedin",o.linkedinSharingLink))}),e.O4$(),e.TgZ(26,"svg",40),e._UZ(27,"path",41)(28,"circle",42),e.qZA()()()()()()(),e.kcU(),e.TgZ(29,"div",43)(30,"button",44),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closeForReal())}),e._uU(31,"Close"),e.qZA()()()()}}let Be=(()=>{class n{constructor(t){this.sanitizer=t,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/v1717588776/gallery/Hackathon_Attendance.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/v1717588776/gallery/Hackathon_Attendance.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://pbs.twimg.com/media/GPsyu1fXEAEDXNf?format=jpg&name=medium&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20registration!%20https://hackathon.a2sv.org",this.facebookSharingLink="https://www.facebook.com/sharer/sharer.php?u=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.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/v1717588776/gallery/Hackathon_Attendance.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org"}ngOnChanges(){this.sanitizedUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}getSafeRegistrationLink(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}setActiveButton(t,i){window.open(i,"_blank")}closeModal(){window.document.getElementById("share_modal")?.showModal(),this.showShareModal=!0}closeForReal(){window.document.getElementById("share_modal")?.close(),this.isIframeLoading=!0,this.closeModalEvent.emit()}onIframeLoad(){this.isIframeLoading=!1}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(m.H7))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-registration"]],inputs:{showModal:"showModal",registrationLink:"registrationLink",comingName:"comingName"},outputs:{closeModalEvent:"closeModalEvent"},features:[e.TTD],decls:2,vars:2,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","class","modal mt-4",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"],["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-5xl","bg-gray-900"],[1,"text-gray-400","bg-gray-900","body-font"],[1,"container","p-4","flex","justify-center","items-center"],[1,"flex","flex-col","items-center","w-full","lg:w-2/3"],[1,"bg-gray-800","bg-opacity-40","px-8","py-8","rounded-lg","overflow-hidden","relative"],["src","https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png","alt","Hackathon Attendance",1,"w-full","lg:w-3/4","mx-auto"],[1,"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"],["onclick","navigator.clipboard.writeText(document.getElementById('shareText').value)",1,"btn","btn-primary","mt-2"],[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"]],template:function(i,o){1&i&&(e.YNc(0,He,18,4,"div",0),e.YNc(1,Ee,32,0,"dialog",1)),2&i&&(e.Q6J("ngIf",o.showModal),e.xp6(1),e.Q6J("ngIf",o.showShareModal))},dependencies:[s.O5,d._Y,d.JL]})}return n})(),Je=(()=>{class n{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 t=new Date,i=this.chooseTargetDate()-t.getTime();this.daysLeft=Math.floor(i/864e5),this.hoursLeft=Math.floor(i%864e5/36e5),this.minutesLeft=Math.floor(i%36e5/6e4),this.secondsLeft=Math.floor(i%6e4/1e3)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-count-down"]],decls:30,vars:7,consts:[[1,"text-white","rounded-xl"],[1,"text-lg","mb-2","font-extralight","lg:inline","lg:whitespace-nowrap"],[1,"font-bold","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text"],[1,"text-3xl","max-sm:text-2xl","gap-y-8","text-center","flex","inline-block","max-sm:flex-wrap","w-full","items-center","justify-center","sm:justify-start","mt-2"],[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(i,o){1&i&&(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&i&&(e.xp6(2),e.hij("",o.eventText," "),e.xp6(2),e.Oqu(o.eventDate),e.xp6(3),e.hij(" ",o.eventTime,""),e.xp6(5),e.Oqu(o.Number(o.daysLeft)>9?o.daysLeft:"0"+o.daysLeft),e.xp6(5),e.Oqu(o.Number(o.hoursLeft)>9?o.hoursLeft:"0"+o.hoursLeft),e.xp6(5),e.Oqu(o.Number(o.minutesLeft)>9?o.minutesLeft:"0"+o.minutesLeft),e.xp6(5),e.Oqu(o.Number(o.secondsLeft)>9?o.secondsLeft:"0"+o.secondsLeft))}})}return n})();function Ne(n,a){1&n&&e._UZ(0,"div",15)}function Fe(n,a){1&n&&e._UZ(0,"div",15)}function De(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"button",3),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.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(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(6,"div",7),e.YNc(7,Ne,1,0,"div",8),e.qZA()(),e.TgZ(8,"div",9)(9,"div",10)(10,"button",11),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.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(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(16,"div",14),e.YNc(17,Fe,1,0,"div",8),e.qZA()()()()}if(2&n){const t=e.oxw();e.xp6(5),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading),e.xp6(8),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading)}}let Re=(()=>{class n{constructor(t){this.sanitizer=t,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(i){return new(i||n)(e.Y36(m.H7))};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&e.YNc(0,De,18,4,"div",0),2&i&&e.Q6J("ngIf",o.showModal)},dependencies:[s.O5]})}return n})();function Ye(n,a){1&n&&e._UZ(0,"div",15)}function Ge(n,a){1&n&&e._UZ(0,"div",15)}function Ve(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"button",3),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.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(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(6,"div",7),e.YNc(7,Ye,1,0,"div",8),e.qZA()(),e.TgZ(8,"div",9)(9,"div",10)(10,"button",11),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.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(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(16,"div",14),e.YNc(17,Ge,1,0,"div",8),e.qZA()()()()}if(2&n){const t=e.oxw();e.xp6(5),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading),e.xp6(8),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading)}}let Qe=(()=>{class n{constructor(t){this.sanitizer=t,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(i){return new(i||n)(e.Y36(m.H7))};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&e.YNc(0,Ve,18,4,"div",0),2&i&&e.Q6J("ngIf",o.showModal)},dependencies:[s.O5]})}return n})();function We(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"dialog",16)(1,"form",17)(2,"section",18)(3,"div",19)(4,"div",20)(5,"div",21)(6,"div",22)(7,"div")(8,"p",23),e._uU(9,"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(10,"div",24)(11,"a",25),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onRegisterIndividual())}),e._UZ(12,"span",26),e.TgZ(13,"span",27),e._uU(14,"Register Individually"),e.qZA()()()()(),e.TgZ(15,"div",21)(16,"div",22)(17,"div")(18,"p",23),e._uU(19,"Already have a team? If you are the captain, register your team and start working on your project today. "),e.qZA()(),e.TgZ(20,"div",28)(21,"a",29),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onRegisterTeam())}),e._UZ(22,"span",26),e.TgZ(23,"span",27),e._uU(24,"Register as a Team"),e.qZA()()()()()()()(),e.TgZ(25,"div",30)(26,"button",31),e._uU(27,"Close"),e.qZA()()()()}}let $e=(()=>{class n{constructor(){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.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.indivisualRegistrationLink="https://a2sv.typeform.com/to/yxMUctSN",this.teamRegistrationLink="https://a2sv.typeform.com/to/qtKuYH58",this.mentorsRegistrationLink="https://form.typeform.com/to/ShJTk212",this.advisorsRegistrationLink="https://form.typeform.com/to/opvWnrn7",this.showGetInvolvedModal=!0,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,this.showRegistrationModal=!0,this.individualName="individual",this.teamName="team",this.advisorName="advisor",this.mentorName="mentor"}onShowModal(){this.toggleChatEvent.emit(!1),this.showModal=!0,document.body.classList.add("overflow-hidden","z-0")}onRegisterTeam(){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")}onRegisterIndividual(){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")}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.showRegistrationModal=!0,this.showMentorsModal=!1,this.showAdvisorsModal=!1,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")}closeModal(){this.showRegistrationModal=!1}scrollDown(){const t=!document.body.classList.contains("overflow-hidden"),i=document.getElementById("prizes");null!=i&&t&&i.scrollIntoView({behavior:"smooth"})}setActiveButton(t,i){this.activeButton=t,window.open(i,"_blank")}shareImage(){navigator.share?navigator.share({title:"Check out this image!",text:"Sharing this awesome image!",url:"https://res.cloudinary.com/eskalate/image/upload/v1716850665/Hackathon-2024/Hackathon_Partner_With_Us.png"}).then(()=>{console.log("Thanks for sharing!")}).catch(o=>{console.error("Error sharing:",o)}):console.warn("Web Share API is not supported in this browser.")}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-landing"]],outputs:{toggleChatEvent:"toggleChatEvent"},decls:26,vars:21,consts:[["id","landing",1,"min-h-screen","pt-[0px]","lg:pt-[0px]","bg-blue-950","bg-opacity-50","relative"],["autoplay","","loop","",1,"w-full","h-full","object-cover","absolute","z-0",3,"muted"],["src","https://res.cloudinary.com/eskalate/video/upload/v1716272816/Hackathon/Hackathon_2023_Highlights_RAW_V1.mp4","type","video/mp4"],[3,"comingName","showModal","registrationLink","closeModalEvent"],[3,"registrationLink","showModal","closeModalEvent"],[1,"h-[100vh]","lg:pt-[18vh]","px:5","md:px-20","flex","flex-col","max-lg:justify-center","justify-start","items-start","z-1","relative","drop-shadow-2xl","bg-black","bg-opacity-50"],[1,"text-white","px-5"],[1,"left","col-span-2","p-5","md:h-full","flex","flex-col","items-center","md:items-start","justify-between"],[1,"w-full","flex","flex-col","max-md:items-center","items-start","leading-relaxed","mb-5"],[1,"text-left","w-full","max-md:text-center","text-[24px]","font-bold","md:text-[36px]","lg:text-[40px]"],[1,"text-left","w-full","max-md:text-center","text-xl","mt-6","mb-10","md:text-2xl","lg:text-3xl"],[1,"inline-block","pl-0","max-md:text-center"],[1,"max-md:mt-8","flex","flex-col","md:flex-row","justify-center","max-md:items-center","md:justify-start","mt-3"],["onClick","document.getElementById('register_modal').showModal()"],[3,"click"],["id","register_modal","class","modal mt-4",4,"ngIf"],["id","register_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"],[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,"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"],[1,"modal-action"],["onClick","document.getElementById('register_modal').close()",1,"btn"]],template:function(i,o){1&i&&(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-registration",3),e.NdJ("closeModalEvent",function(){return o.onHideModal()}),e.qZA(),e.TgZ(5,"app-registration",3),e.NdJ("closeModalEvent",function(){return o.onHideModal()}),e.qZA(),e.TgZ(6,"app-mentors-registration",4),e.NdJ("closeModalEvent",function(){return o.onHideModal()}),e.qZA(),e.TgZ(7,"app-advisors-registration",4),e.NdJ("closeModalEvent",function(){return o.onHideModal()}),e.qZA(),e.TgZ(8,"div",5)(9,"div",6)(10,"section",7)(11,"div",8)(12,"p",9),e._uU(13," A2SV Hackathon, 2024 "),e.qZA(),e.TgZ(14,"h1",10),e._uU(15," AI for Impact - Solving Africa's Challenges "),e.qZA()(),e.TgZ(16,"h2"),e._UZ(17,"app-count-down",11),e.qZA(),e.TgZ(18,"div",12)(19,"button",13),e._uU(20," Register now "),e.qZA(),e.TgZ(21,"button",14),e.NdJ("click",function(){return o.onShowMentorsModal()}),e._uU(22," Be mentor/advisor "),e.qZA(),e.TgZ(23,"button",14),e.NdJ("click",function(){return o.onShowAdvisorsModal()}),e._uU(24," Partner with us "),e.qZA()()()(),e.YNc(25,We,28,0,"dialog",15),e.qZA()()),2&i&&(e.xp6(1),e.Q6J("muted",o.isMuted),e.xp6(3),e.Q6J("comingName",o.individualName)("showModal",o.showIndividualRegistrationModal)("registrationLink",o.indivisualRegistrationLink),e.xp6(1),e.Q6J("comingName",o.teamName)("showModal",o.showTeamRegistrationModal)("registrationLink",o.teamRegistrationLink),e.xp6(1),e.Q6J("registrationLink",o.mentorsRegistrationLink)("showModal",o.showMentorsModal),e.xp6(1),e.Q6J("registrationLink",o.advisorsRegistrationLink)("showModal",o.showAdvisorsModal),e.xp6(12),e.Gre("text-sm rounded-full px-5 py-2.5 md:mr-3 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 hover:bg-purple-500 ","signup"===o.activeButton?"bg-purple-500 ":"bg-purple-700 ",""),e.xp6(2),e.Gre("max-md:mt-5 text-sm rounded-full px-5 py-2.5 md:mr-3 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 lg:ml-5 ","mentor"===o.activeButton?"bg-purple-500 ":"bg-purple-700 ",""),e.xp6(2),e.Gre("max-md:mt-5 text-sm rounded-full px-5 py-2.5 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 lg:ml-5 ","partner"===o.activeButton?"bg-purple-500 ":"bg-purple-700 ",""),e.xp6(2),e.Q6J("ngIf",o.showRegistrationModal))},dependencies:[s.O5,d._Y,d.JL,Be,Je,Re,Qe],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 n})();function Ke(n,a){1&n&&(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 Xe(n,a){if(1&n&&(e.TgZ(0,"div",19),e._UZ(1,"app-header",20),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("currentSection",t.currentSection)}}function et(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",21)(1,"app-winner_modal",22),e.NdJ("closeModalEvent",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closeModal())}),e.qZA()()}if(2&n){const t=e.oxw();e.xp6(1),e.Q6J("showModal",t.isModalOpen)("modalData",t.modalData)}}function tt(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",23)(1,"a",24),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openButton("partner","https://form.typeform.com/to/opvWnrn7"))}),e.TgZ(2,"button",25),e._uU(3," Partner with us "),e.qZA()()()}}function nt(n,a){1&n&&(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 ot(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",34)(1,"app-bot",35),e.NdJ("closeChatEvent",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.toggleChatBtn())}),e.qZA()()}}function it(n,a){1&n&&(e.O4$(),e.TgZ(0,"svg",39),e._UZ(1,"path",40)(2,"path",41),e.qZA())}function at(n,a){1&n&&(e.O4$(),e.TgZ(0,"svg",42),e._UZ(1,"path",43),e.qZA())}function rt(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"button",36),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.toggleChatBtn())}),e.YNc(1,it,3,0,"svg",37),e.YNc(2,at,2,0,"svg",38),e.qZA()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!t.showChat),e.xp6(1),e.Q6J("ngIf",t.showChat)}}function st(n,a){1&n&&(e.TgZ(0,"button",44),e._uU(1," Register "),e.qZA())}function lt(n,a){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,ot,2,0,"div",31),e.YNc(2,rt,3,2,"button",32),e.YNc(3,st,2,0,"button",33),e.qZA()),2&n){const t=e.oxw();e.Gre("fixed ",t.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",t.showChat),e.xp6(1),e.Q6J("ngIf",!t.isButtonAtBottom||t.showChat),e.xp6(1),e.Q6J("ngIf",t.isStickRegisterButtonVisible&&!t.showChat&&t.registrationButtonVisible)}}let ct=(()=>{class n{constructor(t,i,o,r,l){this._el=t,this.localStorage=i,this.termsPluginLoaderService=o,this.modalService=r,this.winnerModalService=l,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(t,i){window.open(i,"_blank")}isClickWithinModal(t){return!1}get isModalOpen(){return this.modalService.isModalOpen}ngOnInit(){this.modalSubscription=this.winnerModalService.isModalOpen$.subscribe(o=>{this.isWinnerModalOpen=o}),this.winnerModalService.modalData$.subscribe(o=>{this.modalData=o}),localStorage.getItem("consentGiven"),this.termsPluginLoaderService.loadPlugin(),new A.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 t=window.scrollY,i=window.innerHeight,o=document.documentElement.scrollHeight;this.isButtonAtBottom=t+i+5>=o}onScroll(t){let i="";const o=this._el.nativeElement.children,r=t.target.scrollTop,l=t.target.getBoundingClientRect();for(let y=0;ywt===k.tagName)&&vt.top-l.top<=r&&(i=k.id)}i!==this.currentSection&&""!==i&&(this.currentSection=i);const v=this._el.nativeElement.querySelector("#landing"),b=window.scrollY||document.documentElement.scrollTop||document.body.scrollTop||0;this.showPartnerButton=b>v.offsetTop+v.offsetHeight-100}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(e.SBq),e.Y36(I),e.Y36(S),e.Y36(h),e.Y36(U))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-root"]],hostBindings:function(i,o){1&i&&e.NdJ("click",function(l){return o.isClickWithinModal(l)},!1,e.evT)("scroll",function(){return o.onWindowScroll()},!1,e.Jf7)("mousewheel",function(l){return o.onScroll(l)},!1,e.evT)},outputs:{toggleChatEvent:"toggleChatEvent",sectionChange:"sectionChange"},decls:25,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","eligibility",1,"relative","z-40"],[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(i,o){1&i&&(e._UZ(0,"app-consent"),e.YNc(1,Ke,5,0,"ng-container",0),e.YNc(2,Xe,2,1,"div",1),e.YNc(3,et,2,2,"div",2),e.YNc(4,tt,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-eligibility",7),e.NdJ("openChatEvent",function(){return o.openChat()}),e.qZA()(),e.TgZ(12,"div",8)(13,"app-home",9),e.NdJ("toggleChatEvent",function(l){return o.changeChatState(l)}),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,nt,6,0,"div",13),e.TgZ(21,"div",14),e._UZ(22,"app-footer"),e.qZA(),e.YNc(23,lt,4,6,"div",15),e._uU(24," --\x3e\n")),2&i&&(e.xp6(1),e.Q6J("ngIf",o.isModalOpen),e.xp6(1),e.Q6J("ngIf",!o.modalOpen),e.xp6(1),e.Q6J("ngIf",o.isWinnerModalOpen),e.xp6(1),e.Q6J("ngIf",o.showPartnerButton),e.xp6(16),e.Q6J("ngIf",o.registrationButtonVisible),e.xp6(3),e.Q6J("ngIf",!o.modalOpen))},dependencies:[s.O5,T,z,D,G,$,ee,he,fe,_e,xe,ye,ze,qe,$e]})}return n})();var dt=c(4425),mt=c(349),pt=c(1075),gt=c(6855);let ut=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=e.oAB({type:n,bootstrap:[ct]});static#n=this.\u0275inj=e.cJS({providers:[w,S],imports:[m.b2,N,_.Sv,d.UX,x.JF,dt.Mf,mt.PW,pt.ot,gt.Is]})}return n})();m.q6().bootstrapModule(ut).catch(n=>console.error(n))}},u=>{u.O(0,[736],()=>u(u.s=8068)),u.O()}]); \ No newline at end of file +"use strict";(self.webpackChunkHacks_Website=self.webpackChunkHacks_Website||[]).push([[179],{8068:(u,C,c)=>{var m=c(6593),Z=c(7227),e=c(9468);let h=(()=>{class n{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(i){return new(i||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var s=c(6814);const O=function(n){return{heading:n}},p=function(n){return{description:n}};let T=(()=>{class n{constructor(t,i){this.elRef=t,this.modalService=i,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 i=this.elRef.nativeElement.querySelector("#home_component").getBoundingClientRect(),o=i.top=0;!this.animated&&o?this.animated=!0:o||(this.animated=!1)}openModal(t){t.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 n{constructor(){this.initializeCloudinary()}initializeCloudinary(){this.cloudinary=new A.r({cloud:{cloudName:"eskalate"}})}generateImageUrl(t){const i=this.cloudinary.image(t);return i.resize((0,j.hl)().width(1280).height(720)),i}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var f=c(5619);let U=(()=>{class n{constructor(){this.isModalOpenSubject=new f.X(!1),this.isModalOpen$=this.isModalOpenSubject.asObservable(),this.modalDataSubject=new f.X({}),this.modalData$=this.modalDataSubject.asObservable()}toggleModal(t,i){this.isModalOpenSubject.next(t),i&&this.modalDataSubject.next(i)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const q=function(n,a,t){return{"md:-translate-y-[15px]":n,"md:-translate-y-[40px]":a,"md:-translate-y-0":t}};function P(n,a){if(1&n){const t=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(t).$implicit,l=e.oxw();return e.KtG(l.onMoreOptionsClick(r))}),e._uU(16," More "),e.qZA()()()()}if(2&n){const t=a.$implicit,i=a.index;e.xp6(1),e.Tol(e.kEZ(8,q,0===i,1===i,2===i)),e.xp6(2),e.Q6J("src",t.awrd_img,e.LSH),e.xp6(3),e.Q6J("src",t.img,e.LSH),e.xp6(2),e.hij(" ",t.prize_type," "),e.xp6(3),e.AsE(" ",t.projectname," by Team ",t.team," "),e.xp6(2),e.hij(" ",t.description," ")}}let L=(()=>{class n{onMoreOptionsClick(t){this.cardTouched.emit(t)}constructor(t,i){this.cloudinaryService=t,this.renderer=i,this.title="",this.winners=[],this.descr="",this.cardTouched=new e.vpe}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(M),e.Y36(e.Qsj))};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(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,P,17,12,"div",6),e.qZA()()),2&i&&(e.xp6(2),e.hij(" ",o.title," "),e.xp6(4),e.hij(" ",o.descr," "),e.xp6(2),e.Q6J("ngForOf",o.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 n})(),H=(()=>{class n{constructor(t,i){this.cloudinaryService=t,this.winnerModalService=i,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(t){this.winnerModalService.toggleModal(!0,t)}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(t){switch(t){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(t){switch(t){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(t){switch(t){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(i){return new(i||n)(e.Y36(M),e.Y36(U))};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(e.TgZ(0,"section",0)(1,"app-track-winners",1),e.NdJ("cardTouched",function(l){return o.openModal(l)}),e.qZA()()),2&i&&(e.xp6(1),e.Q6J("title",o.title_winners)("descr",o.desc_winners)("winners",o.winners))},dependencies:[L]})}return n})();const E=["videoIframe"];let z=(()=>{class n{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(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-prizes"]],viewQuery:function(i,o){if(1&i&&e.Gf(E,5),2&i){let r;e.iGM(r=e.CRH())&&(o.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(i,o){1&i&&(e.TgZ(0,"section",0),e._UZ(1,"app-winner")(2,"div",1),e.qZA())},dependencies:[H],styles:[".fade[_ngcontent-%COMP%]{transition:opacity .5s}"]})}return n})();const B=[{path:"home",component:T},{path:"prizes",component:z}],J={scrollPositionRestoration:"enabled",anchorScrolling:"enabled",scrollOffset:[0,64]};let N=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=e.oAB({type:n});static#n=this.\u0275inj=e.cJS({imports:[Z.Bz.forRoot(B,J),Z.Bz]})}return n})(),I=(()=>{class n{constructor(){this._myData$=new f.X(null),this.myData$=this._myData$.asObservable(),this._waitingResponse$=new f.X(!1)}seedData(){const t=localStorage.getItem("messages");null==t?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(t))}setWaitingStatus(t){const i=localStorage.getItem("waitingStatus")?JSON.parse(localStorage.getItem("waitingStatus")):0,o=t?i+1:i-1;localStorage.setItem("waitingStatus",JSON.stringify(o)),this._waitingResponse$.next(o>0)}resetWaitingStatus(){localStorage.setItem("waitingStatus",JSON.stringify(0)),this._waitingResponse$.next(!1)}addMessage(t){const i=localStorage.getItem("messages")?JSON.parse(localStorage.getItem("messages")):[];i.push(t),localStorage.setItem("messages",JSON.stringify(i)),this._myData$.next(i)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),w=(()=>{class n{constructor(){this.displayConsent=!1}showConsentUI(t){this.displayConsent=t}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(i){return new(i||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),S=(()=>{class n{constructor(t){this.consentService=t}loadPlugin(){const g=document.createElement("script");g.onerror=b=>{console.error("[termsfeed][pc-loader-1]","[ee][b1b476da]","plugin failed!",b)},g.async=!0,g.src="https://cdn.termsfeedtag.com/plugins/pc/v1/d55fc7bf462345899345196be3d8e53a/plugin-2.js",this.consentService.getConsentStatus()&&document.body.appendChild(g)}static#e=this.\u0275fac=function(i){return new(i||n)(e.LFG(w))};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function F(n,a){if(1&n){const t=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"div",31),e._UZ(1,"div",32),e.TgZ(2,"div",33)(3,"div",34)(4,"button",35),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.toggleMenu())}),e.TgZ(5,"span",27),e._uU(6,"Close menu"),e.qZA(),e.TgZ(7,"div",36),e.O4$(),e.TgZ(8,"svg",28),e._UZ(9,"path",37),e.qZA()()()(),e.kcU(),e.TgZ(10,"div",38)(11,"div",39)(12,"div",40)(13,"a",41),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return o.scrollToSection("landing"),e.KtG(o.toggleMenu())}),e._uU(14,"Home"),e.qZA(),e.TgZ(15,"a",41),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return o.scrollToSection("prize2024"),e.KtG(o.toggleMenu())}),e._uU(16,"\u{1f3c6} $30K Prize"),e.qZA(),e.TgZ(17,"a",41),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return o.scrollToSection("info"),e.KtG(o.toggleMenu())}),e._uU(18,"Information"),e.qZA(),e.TgZ(19,"a",41),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return o.scrollToSection("about-us"),e.KtG(o.toggleMenu())}),e._uU(20,"About Us"),e.qZA(),e.TgZ(21,"a",41),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return o.scrollToSection("partners"),e.KtG(o.toggleMenu())}),e._uU(22,"A2SV Interview Partners"),e.qZA()()()()()()}}let D=(()=>{class n{constructor(t,i){this.elRef=t,this.modalService=i,this.showMenu=!1,this.isModalOpenArray=!1,this.currentSection="home"}toggleMenu(){this.showMenu=!this.showMenu}openModal(t){t.stopPropagation(),this.modalService.openModal()}scrollToSection(t){this.currentSection=t;const i=!document.body.classList.contains("overflow-hidden"),o=document.getElementById(t);null!=o&&i&&o.scrollIntoView({behavior:"smooth"})}setActiveButton(t,i){window.open(i,"_blank")}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(e.SBq),e.Y36(h))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-header"]],inputs:{currentSection:"currentSection"},decls:42,vars:16,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","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-16","max-lg:w-24","max-md:w-20"],[1,"hidden","justify-between","gap-x-4","lg:flex"],[3,"click"],[1,"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,"px-3","flex","sm:flex-row","flex-col"],[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","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"],[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","currentColor","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"],["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(i,o){1&i&&(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 o.scrollToSection("landing")}),e._uU(6,"Home"),e.qZA(),e.TgZ(7,"a",5),e.NdJ("click",function(){return o.scrollToSection("prize2024")}),e._uU(8,"\u{1f3c6} $30K Prize"),e.qZA(),e.TgZ(9,"a",5),e.NdJ("click",function(){return o.scrollToSection("info")}),e._uU(10,"Information"),e.qZA(),e.TgZ(11,"a",5),e.NdJ("click",function(){return o.scrollToSection("about-us")}),e._uU(12,"About Us"),e.qZA(),e.TgZ(13,"a",5),e.NdJ("click",function(){return o.scrollToSection("partners")}),e._uU(14,"Interview Partners"),e.qZA()(),e.TgZ(15,"button",6),e.NdJ("click",function(l){return o.openModal(l)}),e._uU(16," Join A2SV\n"),e.qZA(),e.TgZ(17,"div",7)(18,"span",8)(19,"a",9),e.NdJ("click",function(){return o.setActiveButton("signup","https://t.me/+yqzQh04AAXRjZGQ0")}),e.O4$(),e.TgZ(20,"svg",10),e._UZ(21,"path",11),e.qZA()(),e.kcU(),e.TgZ(22,"a",12),e.NdJ("click",function(){return o.setActiveButton("signup","https://www.facebook.com/africatosiliconvalley")}),e.O4$(),e.TgZ(23,"svg",13),e._UZ(24,"path",14),e.qZA()(),e.kcU(),e.TgZ(25,"a",15),e.NdJ("click",function(){return o.setActiveButton("signup","https://www.instagram.com/a2sv_org/?hl=en")}),e.O4$(),e.TgZ(26,"svg",16),e._UZ(27,"path",17),e.qZA()(),e.kcU(),e.TgZ(28,"a",18),e.NdJ("click",function(){return o.setActiveButton("signup","https://twitter.com/A2_SV")}),e.O4$(),e.TgZ(29,"svg",19),e._UZ(30,"path",20),e.qZA()(),e.kcU(),e.TgZ(31,"a",21),e.NdJ("click",function(){return o.setActiveButton("signup","https://www.linkedin.com/company/a2sv/")}),e.O4$(),e.TgZ(32,"svg",22),e._UZ(33,"path",23)(34,"circle",24),e.qZA()()()(),e.kcU(),e.TgZ(35,"div",25)(36,"button",26),e.NdJ("click",function(){return o.toggleMenu()}),e.TgZ(37,"span",27),e._uU(38,"Open main menu"),e.qZA(),e.O4$(),e.TgZ(39,"svg",28),e._UZ(40,"path",29),e.qZA()()()(),e.YNc(41,F,23,0,"div",30),e.qZA()),2&i&&(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"==o.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"==o.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"==o.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"==o.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"==o.currentSection.toString()?"text-indigo-600":"text-gray-200",""),e.xp6(28),e.Q6J("ngIf",o.showMenu))},dependencies:[s.O5]})}return n})();var _=c(9032),d=c(95);function R(n,a){if(1&n&&(e.TgZ(0,"div",21),e._UZ(1,"img",22),e.qZA()),2&n){const t=a.$implicit;e.xp6(1),e.s9C("src",t.img,e.LSH)}}function Y(n,a){if(1&n&&(e.TgZ(0,"div",23),e._UZ(1,"img",24),e.qZA()),2&n){const t=a.$implicit;e.xp6(1),e.s9C("src",t.img,e.LSH)}}let G=(()=>{class n{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}}]}}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-potential-partners"]],decls:27,vars:3,consts:[["id","partners",1,"flex","bg-bubbles","px-8","max-sm:px-4","py-8","max-sm:py-4","pb-8","flex-col","justify-center"],[1,"sm:text-4xl","text-center","text-2xl","font-medium","mb-4","text-white"],[1,"hidden","max-md:hidden","flex","justify-between","items-center","py-6","p-4","overflow-hidden","my-5"],["class","mx-4",4,"ngFor","ngForOf"],[1,""],[1,"carousel","h-full","p-6","my-10","flex","overflow-hidden","justify-center","gap-x-12",3,"config"],["slickModal","slick-carousel"],["ngxSlickItem","","class","slide mx-auto flex justify-center",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"],["id","sponsor_us_modal",1,"modal"],["method","dialog",1,"modal-box","bg-gray-900","w-11/12","max-md:w-full"],[1,"btn","btn-sm","btn-circle","btn-ghost","absolute","right-2","top-2"],[1,"lg:flex-grow","lg:pr-24","md:pr-16","flex","flex-col","md:items-start","md:text-left","mb-16","md:mb-0","items-center","text-center"],[1,"font-IBM","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text","sm:text-4xl","text-3xl","mb-4","font-medium","text-gray-300"],[1,"mt-2","text-gray-300","mb-8","w-full"],[1,"flex","w-full","flex-wrap","md:justify-between","space-y-4","justify-center","items-end"],["href","mailto:contact@a2sv.org",1,"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","ease-out","duration-300"],[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,"mx-4"],["fill","currentColor",1,"w-48","h-16","text-white",3,"src"],["ngxSlickItem","",1,"slide","mx-auto","flex","justify-center"],[1,"w-full","h-24","px-16",3,"src"]],template:function(i,o){1&i&&(e.TgZ(0,"section",0)(1,"p",1),e._uU(2,"Interview Partners"),e.qZA(),e.TgZ(3,"div",2),e.YNc(4,R,2,1,"div",3),e.qZA(),e.TgZ(5,"div",4)(6,"ngx-slick-carousel",5,6),e.YNc(8,Y,2,1,"div",7),e.qZA()(),e.TgZ(9,"a",8),e._UZ(10,"span",9),e.TgZ(11,"span",10),e._uU(12,"Support Us"),e.qZA()(),e.TgZ(13,"dialog",11)(14,"form",12)(15,"button",13),e._uU(16,"\u2715"),e.qZA(),e.TgZ(17,"div",14)(18,"h1",15),e._uU(19,"Hello!"),e.qZA(),e.TgZ(20,"p",16),e._uU(21,"Sponsor our AI Hackathon to support African students in harnessing the power of AI to tackle challenges. Your partnership will empower innovation across Africa and play a crucial role in shaping the future of AI-driven solutions on the continent."),e.qZA(),e.TgZ(22,"div",17)(23,"a",18),e._UZ(24,"span",19),e.TgZ(25,"span",20),e._uU(26,"Contact Us"),e.qZA()()()()()()()),2&i&&(e.xp6(4),e.Q6J("ngForOf",o.slides),e.xp6(2),e.Q6J("config",o.slideConfig),e.xp6(2),e.Q6J("ngForOf",o.slides))},dependencies:[s.sg,_.vE,_.Xg,d._Y,d.JL]})}return n})();const V=[{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 Q(n,a){if(1&n&&(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&n){const t=a.$implicit;e.Akn("--accent-color: "+t.color),e.xp6(7),e.Oqu(t.year),e.xp6(2),e.hij(" ",t.title," "),e.xp6(2),e.hij(" ",t.desc," ")}}let W=(()=>{class n{constructor(){this.years=[]}ngOnInit(){this.years=V}closeTimelineModal(){}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"ul"),e.YNc(3,Q,12,5,"li",2),e.qZA()()()),2&i&&(e.xp6(3),e.Q6J("ngForOf",o.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 n})(),$=(()=>{class n{constructor(t){this.sanitizer=t,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(t,i){window.open(i,"_blank")}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(m.H7))};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(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 o.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:[W]})}return n})();function K(n,a){if(1&n&&(e.TgZ(0,"li")(1,"div",8),e.O4$(),e.TgZ(2,"svg",9),e._UZ(3,"path",10),e.qZA(),e.kcU(),e.TgZ(4,"p",4),e._uU(5),e.qZA()()()),2&n){const t=a.$implicit;e.xp6(5),e.hij("",t.text," ")}}function X(n,a){1&n&&(e.TgZ(0,"div",11)(1,"button",12),e._uU(2,"Register Now"),e.qZA()())}let ee=(()=>{class n{constructor(){this.openChatEvent=new e.vpe,this.registrationDeadline=new Date(2023,7,31,23,59,59),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 or College (undergrad, Associates, Diploma program), or High School throughout the entirety of the hackathon. Students who are currently pursuing or have completed their Master's degree or higher are not eligible to participate."}]}ngOnInit(){setInterval(()=>{this.updateRegistrationButtonVisibility()},1e3)}updateRegistrationButtonVisibility(){this.registrationButtonVisible=new Date *[_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}"]})}return n})();var x=c(9862);let te=(()=>{class n{constructor(t){this.http=t}getIpAddress(){return this.http.get("https://api.ipify.org?format=json")}static#e=this.\u0275fac=function(i){return new(i||n)(e.LFG(x.eN))};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ne=c(6306),oe=c(2096);let ie=(()=>{class n{constructor(t){this.httpClient=t,this.errorMsg=""}sendMessage(t,i){return this.httpClient.post("https://a2sv-generative-ai-hackathon-lylswf275a-zf.a.run.app/api/v1/chats",{ip_address:i,query:t}).pipe((0,ne.K)(o=>(this.errorMsg=o.error instanceof ErrorEvent?`Error: ${o.error.message}`:this.getServerErrorMessage(o),(0,oe.of)({message:this.errorMsg}))))}getServerErrorMessage(t){switch(t.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(i){return new(i||n)(e.LFG(x.eN))};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const ae=["scrollableContainer"],re=["fullScreenScrollableContainer"];function se(n,a){if(1&n&&(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&n){const t=e.oxw().$implicit;e.xp6(6),e.hij(" ",t.content," ")}}function le(n,a){if(1&n&&(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&n){const t=e.oxw().$implicit;e.xp6(6),e.hij(" ",t.content," ")}}function ce(n,a){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,se,7,1,"div",23),e.YNc(2,le,7,1,"div",24),e.qZA()),2&n){const t=a.$implicit;e.xp6(1),e.Q6J("ngIf","bot"===t.role),e.xp6(1),e.Q6J("ngIf","user"===t.role)}}function de(n,a){1&n&&(e.TgZ(0,"div",33)(1,"div",34)(2,"div",35),e._UZ(3,"div",36)(4,"div",37),e.qZA()()())}function me(n,a){if(1&n&&(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&n){const t=e.oxw().$implicit;e.xp6(5),e.Oqu(t.content)}}function pe(n,a){if(1&n&&(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&n){const t=e.oxw().$implicit;e.xp6(5),e.Oqu(t.content)}}function ge(n,a){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,me,6,1,"div",23),e.YNc(2,pe,6,1,"div",24),e.qZA()),2&n){const t=a.$implicit;e.xp6(1),e.Q6J("ngIf","bot"===t.role),e.xp6(1),e.Q6J("ngIf","user"===t.role)}}function ue(n,a){1&n&&(e.TgZ(0,"div",33)(1,"div",34)(2,"div",35),e._UZ(3,"div",36)(4,"div",37),e.qZA()()())}let he=(()=>{class n{constructor(t,i,o){this.ipService=t,this.chatService=i,this.localStorageService=o,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(t=>{this.ipAddress=t.ip,console.log("IP Address:",this.ipAddress)},t=>{console.error("Failed to fetch IP address:",t)})}closeChat(){this.closeChatEvent.emit()}sendMessage(){this.isChatLoading=!0,this.localStorageService.addMessage({role:"user",content:this.chatForm.value.message}),this.localStorageService.setWaitingStatus(!0);const t=this.chatForm.value.message;try{this.chatService.sendMessage(t,this.ipAddress).subscribe(i=>{console.log("Response: ",i),this.isChatLoading=!1,this.localStorageService.setWaitingStatus(!1),this.localStorageService.addMessage({role:"bot",content:i.message})})}catch{this.isChatLoading=!1}this.chatForm.reset()}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(te),e.Y36(ie),e.Y36(I))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-bot"]],viewQuery:function(i,o){if(1&i&&(e.Gf(ae,5),e.Gf(re,5)),2&i){let r;e.iGM(r=e.CRH())&&(o.scrollableContainer=r.first),e.iGM(r=e.CRH())&&(o.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(i,o){if(1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"p"),e._uU(3,"Hacks-Bot"),e.qZA()(),e.TgZ(4,"div",2,3)(6,"div",4),e.YNc(7,ce,3,2,"div",5),e.YNc(8,de,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 o.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 o.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,"Hacks-Bot"),e.qZA(),e._UZ(24,"div"),e.qZA(),e.TgZ(25,"div",19,20),e.YNc(27,ge,3,2,"div",5),e.YNc(28,ue,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 o.sendMessage()}),e.O4$(),e.TgZ(32,"svg",10),e._UZ(33,"path",11),e.qZA()()()()()()),2&i){const r=e.MAs(5),l=e.MAs(26);e.xp6(4),e.Q6J("scrollTop",r.scrollHeight),e.xp6(3),e.Q6J("ngForOf",o.messages),e.xp6(1),e.Q6J("ngIf",o.isChatLoading),e.xp6(1),e.Q6J("formGroup",o.chatForm),e.xp6(2),e.Q6J("disabled",!o.chatForm.valid),e.xp6(14),e.Q6J("scrollTop",l.scrollHeight),e.xp6(2),e.Q6J("ngForOf",o.messages),e.xp6(1),e.Q6J("ngIf",o.isChatLoading),e.xp6(1),e.Q6J("formGroup",o.chatForm),e.xp6(2),e.Q6J("disabled",!o.chatForm.valid)}},dependencies:[s.sg,s.O5,d._Y,d.Fj,d.JJ,d.JL,d.sg,d.u]})}return n})(),fe=(()=>{class n{setActiveButton(t,i){window.open(i,"_blank")}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,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","text-xl"],[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-4"],["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(i,o){1&i&&(e.TgZ(0,"footer",0)(1,"div",1)(2,"a",2)(3,"span",3),e._uU(4,"A2SV Hacks"),e.qZA()(),e.TgZ(5,"p",4)(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 o.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 o.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 o.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 o.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 o.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 n})();function ve(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",6)(1,"a",7),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.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&n){const t=e.oxw().$implicit;e.xp6(1),e.s9C("href",t.footer,e.LSH)}}function we(n,a){if(1&n&&(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,ve,6,1,"div",5),e.qZA()()),2&n){const t=a.$implicit,i=a.index;e.Gre("",i%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("",i%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",t.image,e.LSH),e.xp6(1),e.Gre("",i%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(t.title),e.xp6(2),e.Oqu(t.description),e.xp6(2),e.Oqu(t.description1),e.xp6(1),e.Q6J("ngIf",null!=t.footer)}}let _e=(()=>{class n{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(t,i){window.open(i,"_blank")}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(e.TgZ(0,"section",0),e.YNc(1,we,11,14,"div",1),e.qZA()),2&i&&(e.xp6(1),e.Q6J("ngForOf",o.contents))},dependencies:[s.sg,s.O5]})}return n})(),xe=(()=>{class n{constructor(t){this.modalService=t,this.closeModalEvent=new e.vpe}get isModalOpen(){return this.modalService.isModalOpen}closeModal(){this.modalService.closeModal()}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(h))};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(e.TgZ(0,"section",0)(1,"button",1),e.NdJ("click",function(){return o.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 n})();function be(n,a){if(1&n){const t=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(t);const o=e.oxw();return e.KtG(o.giveConsent())}),e._uU(6," Accept "),e.qZA(),e.TgZ(7,"button",5),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.rejectConsent())}),e._uU(8," Reject "),e.qZA()()()()}}let ye=(()=>{class n{constructor(t){this.consentService=t}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(i){return new(i||n)(e.Y36(w))};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&e.YNc(0,be,9,0,"div",0),2&i&&e.Q6J("ngIf",o.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 n})();function ke(n,a){if(1&n&&(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&n){const t=a.$implicit,i=a.index,o=e.oxw();e.xp6(1),e.Q6J("href",o.modalData.linkedin[i],e.LSH),e.xp6(2),e.s9C("src",t,e.LSH),e.xp6(2),e.hij(" ",o.modalData.teamMembers[i].toUpperCase()," ")}}function Ce(n,a){if(1&n&&(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&n){const t=a.$implicit;e.xp6(3),e.Q6J("src","assets/"+t+".png",e.LSH)("alt",t),e.xp6(2),e.Oqu(t)}}function Ze(n,a){if(1&n&&(e.TgZ(0,"button",36)(1,"a",37),e._uU(2,"Demo"),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href",t.modalData.demo,e.LSH)}}function Te(n,a){if(1&n&&(e.TgZ(0,"button",36)(1,"a",38),e._uU(2,"Pitch"),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href",t.modalData.pitch,e.LSH)}}function Ae(n,a){if(1&n&&(e.TgZ(0,"button",36)(1,"a",39),e._uU(2,"Website"),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href",t.modalData.webUrl,e.LSH)}}function Me(n,a){if(1&n&&(e.TgZ(0,"button",36)(1,"a",39),e._uU(2,"Mobile"),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href",t.modalData.mobileUrl,e.LSH)}}function Ue(n,a){if(1&n&&(e.TgZ(0,"button",36)(1,"a",39),e._uU(2,"Slack"),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href",t.modalData.slackUrl,e.LSH)}}let ze=(()=>{class n{constructor(){this.showModal=!1,this.modalData={},this.closeModalEvent=new e.vpe}closeModal(){this.closeModalEvent.emit(!0)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"button",2),e.NdJ("click",function(){return o.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,ke,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,Ce,6,3,"div",21),e.qZA()()(),e.TgZ(36,"div",22),e.YNc(37,Ze,3,1,"button",23),e.YNc(38,Te,3,1,"button",23),e.YNc(39,Ae,3,1,"button",23),e.YNc(40,Me,3,1,"button",23),e.YNc(41,Ue,3,1,"button",23),e.qZA()()()()),2&i&&(e.xp6(10),e.Q6J("ngForOf",o.modalData.teamImage),e.xp6(8),e.Oqu(o.modalData.team),e.xp6(5),e.Oqu(o.modalData.projectname),e.xp6(5),e.hij("$",o.modalData.money,""),e.xp6(2),e.hij(" ",o.modalData.prize_description," "),e.xp6(5),e.Q6J("ngForOf",o.modalData.countries),e.xp6(2),e.Q6J("ngIf",o.modalData.demo),e.xp6(1),e.Q6J("ngIf",o.modalData.pitch),e.xp6(1),e.Q6J("ngIf",o.modalData.webUrl),e.xp6(1),e.Q6J("ngIf",o.modalData.mobileUrl),e.xp6(1),e.Q6J("ngIf",o.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 n})();function Ie(n,a){if(1&n&&(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&n){const t=a.$implicit;e.xp6(4),e.hij("",t," ")}}let Se=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(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,Ie,5,1,"div",4),e.qZA()()),2&i&&(e.xp6(1),e.Gre("","First"==(null==o.prize?null:o.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==o.prize?null:o.prize.image,e.LSH),e.xp6(1),e.Gre("","First"==(null==o.prize?null:o.prize.place)?"text-[#FFC876]":"Second"==(null==o.prize?null:o.prize.place)?"text-[#C0C0C0]":"text-[#CD7F32]"," text-xl opacity-100"),e.xp6(1),e.hij("",null==o.prize?null:o.prize.place," Place "),e.xp6(4),e.Oqu(null==o.prize?null:o.prize.prize),e.xp6(1),e.Q6J("ngForOf",null==o.prize?null:o.prize.awards))},dependencies:[s.sg]})}return n})(),Oe=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(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&i&&(e.xp6(8),e.Oqu(null==o.track?null:o.track.title),e.xp6(2),e.Oqu(null==o.track?null:o.track.description),e.xp6(2),e.hij("$",null==o.track?null:o.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 n})();function je(n,a){1&n&&e._UZ(0,"app-track-card",10),2&n&&e.Q6J("track",a.$implicit)}let qe=(()=>{class n{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(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&(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,je,1,1,"app-track-card",9),e.qZA()()),2&i&&(e.xp6(5),e.Q6J("prize",o.secondPrize),e.xp6(2),e.Q6J("prize",o.firstPrize),e.xp6(2),e.Q6J("prize",o.thirdPrize),e.xp6(4),e.Q6J("ngForOf",o.tracks))},dependencies:[s.sg,Se,Oe]})}return n})();function Pe(n,a){1&n&&e._UZ(0,"div",16)}function Le(n,a){1&n&&e._UZ(0,"div",16)}function He(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"button",4),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closeModal())}),e.O4$(),e.TgZ(3,"svg",5),e._UZ(4,"path",6),e.qZA()(),e.kcU(),e.TgZ(5,"iframe",7),e.NdJ("load",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(6,"div",8),e.YNc(7,Pe,1,0,"div",9),e.qZA()(),e.TgZ(8,"div",10)(9,"div",11)(10,"button",12),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closeModal())}),e.TgZ(11,"span",13),e._uU(12,"Close menu"),e.qZA(),e.O4$(),e.TgZ(13,"svg",5),e._UZ(14,"path",6),e.qZA()(),e.kcU(),e.TgZ(15,"iframe",14),e.NdJ("load",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(16,"div",15),e.YNc(17,Le,1,0,"div",9),e.qZA()()()()}if(2&n){const t=e.oxw();e.xp6(5),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading),e.xp6(8),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading)}}function Ee(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"dialog",17)(1,"form",18)(2,"section",19)(3,"div",20)(4,"div",21)(5,"div",22),e._UZ(6,"img",23),e.qZA(),e.TgZ(7,"div",24)(8,"h3",25),e._uU(9,"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(10,"div",26)(11,"textarea",27),e._uU(12,"I've just registered for the A2SV Hackathon! Join me and be part of this hackathon! https://hackathon.a2sv.org"),e.qZA(),e.TgZ(13,"button",28),e._uU(14,"Copy Text"),e.qZA()(),e.TgZ(15,"span",29)(16,"a",30),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.setActiveButton("telegram",o.telegramSharingLink))}),e.O4$(),e.TgZ(17,"svg",31),e._UZ(18,"path",32),e.qZA()(),e.kcU(),e.TgZ(19,"a",33),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.setActiveButton("facebook",o.facebookSharingLink))}),e.O4$(),e.TgZ(20,"svg",34),e._UZ(21,"path",35),e.qZA()(),e.kcU(),e.TgZ(22,"a",36),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.setActiveButton("twitter",o.twitterSharingLink))}),e.O4$(),e.TgZ(23,"svg",37),e._UZ(24,"path",38),e.qZA()(),e.kcU(),e.TgZ(25,"a",39),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.setActiveButton("linkedin",o.linkedinSharingLink))}),e.O4$(),e.TgZ(26,"svg",40),e._UZ(27,"path",41)(28,"circle",42),e.qZA()()()()()()(),e.kcU(),e.TgZ(29,"div",43)(30,"button",44),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closeForReal())}),e._uU(31,"Close"),e.qZA()()()()}}let Be=(()=>{class n{constructor(t){this.sanitizer=t,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/v1717588776/gallery/Hackathon_Attendance.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/v1717588776/gallery/Hackathon_Attendance.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://pbs.twimg.com/media/GPsyu1fXEAEDXNf?format=jpg&name=medium&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20registration!%20https://hackathon.a2sv.org",this.facebookSharingLink="https://www.facebook.com/sharer/sharer.php?u=https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.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/v1717588776/gallery/Hackathon_Attendance.png&text=I've%20just%20registered%20for%20the%20A2SV%20Hackathon!%20Join%20me%20and%20share%20your%20own%20registration!%20https://hackathon.a2sv.org"}ngOnChanges(){this.sanitizedUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}getSafeRegistrationLink(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.registrationLink)}setActiveButton(t,i){window.open(i,"_blank")}closeModal(){window.document.getElementById("share_modal")?.showModal(),this.showShareModal=!0}closeForReal(){window.document.getElementById("share_modal")?.close(),this.isIframeLoading=!0,this.closeModalEvent.emit()}onIframeLoad(){this.isIframeLoading=!1}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(m.H7))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-registration"]],inputs:{showModal:"showModal",registrationLink:"registrationLink",comingName:"comingName"},outputs:{closeModalEvent:"closeModalEvent"},features:[e.TTD],decls:2,vars:2,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","class","modal mt-4",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"],["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-5xl","bg-gray-900"],[1,"text-gray-400","bg-gray-900","body-font"],[1,"container","p-4","flex","justify-center","items-center"],[1,"flex","flex-col","items-center","w-full","lg:w-2/3"],[1,"bg-gray-800","bg-opacity-40","px-8","py-8","rounded-lg","overflow-hidden","relative"],["src","https://res.cloudinary.com/eskalate/image/upload/v1717588776/gallery/Hackathon_Attendance.png","alt","Hackathon Attendance",1,"w-full","lg:w-3/4","mx-auto"],[1,"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"],["onclick","navigator.clipboard.writeText(document.getElementById('shareText').value)",1,"btn","btn-primary","mt-2"],[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"]],template:function(i,o){1&i&&(e.YNc(0,He,18,4,"div",0),e.YNc(1,Ee,32,0,"dialog",1)),2&i&&(e.Q6J("ngIf",o.showModal),e.xp6(1),e.Q6J("ngIf",o.showShareModal))},dependencies:[s.O5,d._Y,d.JL]})}return n})(),Je=(()=>{class n{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 t=new Date,i=this.chooseTargetDate()-t.getTime();this.daysLeft=Math.floor(i/864e5),this.hoursLeft=Math.floor(i%864e5/36e5),this.minutesLeft=Math.floor(i%36e5/6e4),this.secondsLeft=Math.floor(i%6e4/1e3)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-count-down"]],decls:30,vars:7,consts:[[1,"text-white","rounded-xl"],[1,"text-lg","mb-2","font-extralight","lg:inline","lg:whitespace-nowrap"],[1,"font-bold","text-transparent","bg-gradient-to-r","from-indigo-600","to-pink-500","bg-clip-text"],[1,"text-3xl","max-sm:text-2xl","gap-y-8","text-center","flex","inline-block","max-sm:flex-wrap","w-full","items-center","justify-center","sm:justify-start","mt-2"],[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(i,o){1&i&&(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&i&&(e.xp6(2),e.hij("",o.eventText," "),e.xp6(2),e.Oqu(o.eventDate),e.xp6(3),e.hij(" ",o.eventTime,""),e.xp6(5),e.Oqu(o.Number(o.daysLeft)>9?o.daysLeft:"0"+o.daysLeft),e.xp6(5),e.Oqu(o.Number(o.hoursLeft)>9?o.hoursLeft:"0"+o.hoursLeft),e.xp6(5),e.Oqu(o.Number(o.minutesLeft)>9?o.minutesLeft:"0"+o.minutesLeft),e.xp6(5),e.Oqu(o.Number(o.secondsLeft)>9?o.secondsLeft:"0"+o.secondsLeft))}})}return n})();function Ne(n,a){1&n&&e._UZ(0,"div",15)}function Fe(n,a){1&n&&e._UZ(0,"div",15)}function De(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"button",3),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.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(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(6,"div",7),e.YNc(7,Ne,1,0,"div",8),e.qZA()(),e.TgZ(8,"div",9)(9,"div",10)(10,"button",11),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.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(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(16,"div",14),e.YNc(17,Fe,1,0,"div",8),e.qZA()()()()}if(2&n){const t=e.oxw();e.xp6(5),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading),e.xp6(8),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading)}}let Re=(()=>{class n{constructor(t){this.sanitizer=t,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(i){return new(i||n)(e.Y36(m.H7))};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&e.YNc(0,De,18,4,"div",0),2&i&&e.Q6J("ngIf",o.showModal)},dependencies:[s.O5]})}return n})();function Ye(n,a){1&n&&e._UZ(0,"div",15)}function Ge(n,a){1&n&&e._UZ(0,"div",15)}function Ve(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"button",3),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.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(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(6,"div",7),e.YNc(7,Ye,1,0,"div",8),e.qZA()(),e.TgZ(8,"div",9)(9,"div",10)(10,"button",11),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.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(t);const o=e.oxw();return e.KtG(o.onIframeLoad())})("error",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onIframeLoad())}),e.qZA(),e.TgZ(16,"div",14),e.YNc(17,Ge,1,0,"div",8),e.qZA()()()()}if(2&n){const t=e.oxw();e.xp6(5),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading),e.xp6(8),e.Q6J("src",t.sanitizedUrl,e.uOi),e.xp6(2),e.Q6J("ngIf",t.isIframeLoading)}}let Qe=(()=>{class n{constructor(t){this.sanitizer=t,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(i){return new(i||n)(e.Y36(m.H7))};static#t=this.\u0275cmp=e.Xpm({type:n,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(i,o){1&i&&e.YNc(0,Ve,18,4,"div",0),2&i&&e.Q6J("ngIf",o.showModal)},dependencies:[s.O5]})}return n})();function We(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"dialog",16)(1,"form",17)(2,"section",18)(3,"div",19)(4,"div",20)(5,"div",21)(6,"div",22)(7,"div")(8,"p",23),e._uU(9,"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(10,"div",24)(11,"a",25),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onRegisterIndividual())}),e._UZ(12,"span",26),e.TgZ(13,"span",27),e._uU(14,"Register Individually"),e.qZA()()()()(),e.TgZ(15,"div",21)(16,"div",22)(17,"div")(18,"p",23),e._uU(19,"Already have a team? If you are the captain, register your team and start working on your project today. "),e.qZA()(),e.TgZ(20,"div",28)(21,"a",29),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.onRegisterTeam())}),e._UZ(22,"span",26),e.TgZ(23,"span",27),e._uU(24,"Register as a Team"),e.qZA()()()()()()()(),e.TgZ(25,"div",30)(26,"button",31),e._uU(27,"Close"),e.qZA()()()()}}let $e=(()=>{class n{constructor(){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.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.indivisualRegistrationLink="https://a2sv.typeform.com/to/yxMUctSN",this.teamRegistrationLink="https://a2sv.typeform.com/to/qtKuYH58",this.mentorsRegistrationLink="https://form.typeform.com/to/ShJTk212",this.advisorsRegistrationLink="https://form.typeform.com/to/opvWnrn7",this.showGetInvolvedModal=!0,this.showTeamRegistrationModal=!1,this.showIndividualRegistrationModal=!1,this.showRegistrationModal=!0,this.individualName="individual",this.teamName="team",this.advisorName="advisor",this.mentorName="mentor"}onShowModal(){this.toggleChatEvent.emit(!1),this.showModal=!0,document.body.classList.add("overflow-hidden","z-0")}onRegisterTeam(){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")}onRegisterIndividual(){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")}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.showRegistrationModal=!0,this.showMentorsModal=!1,this.showAdvisorsModal=!1,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")}closeModal(){this.showRegistrationModal=!1}scrollDown(){const t=!document.body.classList.contains("overflow-hidden"),i=document.getElementById("prizes");null!=i&&t&&i.scrollIntoView({behavior:"smooth"})}setActiveButton(t,i){this.activeButton=t,window.open(i,"_blank")}shareImage(){navigator.share?navigator.share({title:"Check out this image!",text:"Sharing this awesome image!",url:"https://res.cloudinary.com/eskalate/image/upload/v1716850665/Hackathon-2024/Hackathon_Partner_With_Us.png"}).then(()=>{console.log("Thanks for sharing!")}).catch(o=>{console.error("Error sharing:",o)}):console.warn("Web Share API is not supported in this browser.")}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-landing"]],outputs:{toggleChatEvent:"toggleChatEvent"},decls:26,vars:21,consts:[["id","landing",1,"min-h-screen","pt-[0px]","lg:pt-[0px]","bg-blue-950","bg-opacity-50","relative"],["autoplay","","loop","",1,"w-full","h-full","object-cover","absolute","z-0",3,"muted"],["src","https://res.cloudinary.com/eskalate/video/upload/v1716272816/Hackathon/Hackathon_2023_Highlights_RAW_V1.mp4","type","video/mp4"],[3,"comingName","showModal","registrationLink","closeModalEvent"],[3,"registrationLink","showModal","closeModalEvent"],[1,"h-[100vh]","lg:pt-[18vh]","px:5","md:px-20","flex","flex-col","max-lg:justify-center","justify-start","items-start","z-1","relative","drop-shadow-2xl","bg-black","bg-opacity-50"],[1,"text-white","px-5"],[1,"left","col-span-2","p-5","md:h-full","flex","flex-col","items-center","md:items-start","justify-between"],[1,"w-full","flex","flex-col","max-md:items-center","items-start","leading-relaxed","mb-5"],[1,"text-left","w-full","max-md:text-center","text-[24px]","font-bold","md:text-[36px]","lg:text-[40px]"],[1,"text-left","w-full","max-md:text-center","text-xl","mt-6","mb-10","md:text-2xl","lg:text-3xl"],[1,"inline-block","pl-0","max-md:text-center"],[1,"max-md:mt-8","flex","flex-col","md:flex-row","justify-center","max-md:items-center","md:justify-start","mt-3"],["onClick","document.getElementById('register_modal').showModal()"],[3,"click"],["id","register_modal","class","modal mt-4",4,"ngIf"],["id","register_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"],[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,"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"],[1,"modal-action"],["onClick","document.getElementById('register_modal').close()",1,"btn"]],template:function(i,o){1&i&&(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-registration",3),e.NdJ("closeModalEvent",function(){return o.onHideModal()}),e.qZA(),e.TgZ(5,"app-registration",3),e.NdJ("closeModalEvent",function(){return o.onHideModal()}),e.qZA(),e.TgZ(6,"app-mentors-registration",4),e.NdJ("closeModalEvent",function(){return o.onHideModal()}),e.qZA(),e.TgZ(7,"app-advisors-registration",4),e.NdJ("closeModalEvent",function(){return o.onHideModal()}),e.qZA(),e.TgZ(8,"div",5)(9,"div",6)(10,"section",7)(11,"div",8)(12,"p",9),e._uU(13," A2SV Hackathon, 2024 "),e.qZA(),e.TgZ(14,"h1",10),e._uU(15," AI for Impact - Solving Africa's Challenges "),e.qZA()(),e.TgZ(16,"h2"),e._UZ(17,"app-count-down",11),e.qZA(),e.TgZ(18,"div",12)(19,"button",13),e._uU(20," Register now "),e.qZA(),e.TgZ(21,"button",14),e.NdJ("click",function(){return o.onShowMentorsModal()}),e._uU(22," Be mentor/advisor "),e.qZA(),e.TgZ(23,"button",14),e.NdJ("click",function(){return o.onShowAdvisorsModal()}),e._uU(24," Partner with us "),e.qZA()()()(),e.YNc(25,We,28,0,"dialog",15),e.qZA()()),2&i&&(e.xp6(1),e.Q6J("muted",o.isMuted),e.xp6(3),e.Q6J("comingName",o.individualName)("showModal",o.showIndividualRegistrationModal)("registrationLink",o.indivisualRegistrationLink),e.xp6(1),e.Q6J("comingName",o.teamName)("showModal",o.showTeamRegistrationModal)("registrationLink",o.teamRegistrationLink),e.xp6(1),e.Q6J("registrationLink",o.mentorsRegistrationLink)("showModal",o.showMentorsModal),e.xp6(1),e.Q6J("registrationLink",o.advisorsRegistrationLink)("showModal",o.showAdvisorsModal),e.xp6(12),e.Gre("text-sm rounded-full px-5 py-2.5 md:mr-3 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 hover:bg-purple-500 ","signup"===o.activeButton?"bg-purple-500 ":"bg-purple-700 ",""),e.xp6(2),e.Gre("max-md:mt-5 text-sm rounded-full px-5 py-2.5 md:mr-3 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 lg:ml-5 ","mentor"===o.activeButton?"bg-purple-500 ":"bg-purple-700 ",""),e.xp6(2),e.Gre("max-md:mt-5 text-sm rounded-full px-5 py-2.5 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 lg:ml-5 ","partner"===o.activeButton?"bg-purple-500 ":"bg-purple-700 ",""),e.xp6(2),e.Q6J("ngIf",o.showRegistrationModal))},dependencies:[s.O5,d._Y,d.JL,Be,Je,Re,Qe],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 n})();function Ke(n,a){1&n&&(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 Xe(n,a){if(1&n&&(e.TgZ(0,"div",19),e._UZ(1,"app-header",20),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("currentSection",t.currentSection)}}function et(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",21)(1,"app-winner_modal",22),e.NdJ("closeModalEvent",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.closeModal())}),e.qZA()()}if(2&n){const t=e.oxw();e.xp6(1),e.Q6J("showModal",t.isModalOpen)("modalData",t.modalData)}}function tt(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",23)(1,"a",24),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openButton("partner","https://form.typeform.com/to/opvWnrn7"))}),e.TgZ(2,"button",25),e._uU(3," Partner with us "),e.qZA()()()}}function nt(n,a){1&n&&(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 ot(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",34)(1,"app-bot",35),e.NdJ("closeChatEvent",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.toggleChatBtn())}),e.qZA()()}}function it(n,a){1&n&&(e.O4$(),e.TgZ(0,"svg",39),e._UZ(1,"path",40)(2,"path",41),e.qZA())}function at(n,a){1&n&&(e.O4$(),e.TgZ(0,"svg",42),e._UZ(1,"path",43),e.qZA())}function rt(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"button",36),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.toggleChatBtn())}),e.YNc(1,it,3,0,"svg",37),e.YNc(2,at,2,0,"svg",38),e.qZA()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!t.showChat),e.xp6(1),e.Q6J("ngIf",t.showChat)}}function st(n,a){1&n&&(e.TgZ(0,"button",44),e._uU(1," Register "),e.qZA())}function lt(n,a){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,ot,2,0,"div",31),e.YNc(2,rt,3,2,"button",32),e.YNc(3,st,2,0,"button",33),e.qZA()),2&n){const t=e.oxw();e.Gre("fixed ",t.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",t.showChat),e.xp6(1),e.Q6J("ngIf",!t.isButtonAtBottom||t.showChat),e.xp6(1),e.Q6J("ngIf",t.isStickRegisterButtonVisible&&!t.showChat&&t.registrationButtonVisible)}}let ct=(()=>{class n{constructor(t,i,o,r,l){this._el=t,this.localStorage=i,this.termsPluginLoaderService=o,this.modalService=r,this.winnerModalService=l,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(t,i){window.open(i,"_blank")}isClickWithinModal(t){return!1}get isModalOpen(){return this.modalService.isModalOpen}ngOnInit(){this.modalSubscription=this.winnerModalService.isModalOpen$.subscribe(o=>{this.isWinnerModalOpen=o}),this.winnerModalService.modalData$.subscribe(o=>{this.modalData=o}),localStorage.getItem("consentGiven"),this.termsPluginLoaderService.loadPlugin(),new A.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 t=window.scrollY,i=window.innerHeight,o=document.documentElement.scrollHeight;this.isButtonAtBottom=t+i+5>=o}onScroll(t){let i="";const o=this._el.nativeElement.children,r=t.target.scrollTop,l=t.target.getBoundingClientRect();for(let y=0;ywt===k.tagName)&&vt.top-l.top<=r&&(i=k.id)}i!==this.currentSection&&""!==i&&(this.currentSection=i);const v=this._el.nativeElement.querySelector("#landing"),b=window.scrollY||document.documentElement.scrollTop||document.body.scrollTop||0;this.showPartnerButton=b>v.offsetTop+v.offsetHeight-100}static#e=this.\u0275fac=function(i){return new(i||n)(e.Y36(e.SBq),e.Y36(I),e.Y36(S),e.Y36(h),e.Y36(U))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-root"]],hostBindings:function(i,o){1&i&&e.NdJ("click",function(l){return o.isClickWithinModal(l)},!1,e.evT)("scroll",function(){return o.onWindowScroll()},!1,e.Jf7)("mousewheel",function(l){return o.onScroll(l)},!1,e.evT)},outputs:{toggleChatEvent:"toggleChatEvent",sectionChange:"sectionChange"},decls:25,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","eligibility",1,"relative","z-40"],[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(i,o){1&i&&(e._UZ(0,"app-consent"),e.YNc(1,Ke,5,0,"ng-container",0),e.YNc(2,Xe,2,1,"div",1),e.YNc(3,et,2,2,"div",2),e.YNc(4,tt,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-eligibility",7),e.NdJ("openChatEvent",function(){return o.openChat()}),e.qZA()(),e.TgZ(12,"div",8)(13,"app-home",9),e.NdJ("toggleChatEvent",function(l){return o.changeChatState(l)}),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,nt,6,0,"div",13),e.TgZ(21,"div",14),e._UZ(22,"app-footer"),e.qZA(),e.YNc(23,lt,4,6,"div",15),e._uU(24," --\x3e\n")),2&i&&(e.xp6(1),e.Q6J("ngIf",o.isModalOpen),e.xp6(1),e.Q6J("ngIf",!o.modalOpen),e.xp6(1),e.Q6J("ngIf",o.isWinnerModalOpen),e.xp6(1),e.Q6J("ngIf",o.showPartnerButton),e.xp6(16),e.Q6J("ngIf",o.registrationButtonVisible),e.xp6(3),e.Q6J("ngIf",!o.modalOpen))},dependencies:[s.O5,T,z,D,G,$,ee,he,fe,_e,xe,ye,ze,qe,$e]})}return n})();var dt=c(4425),mt=c(349),pt=c(1075),gt=c(6855);let ut=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=e.oAB({type:n,bootstrap:[ct]});static#n=this.\u0275inj=e.cJS({providers:[w,S],imports:[m.b2,N,_.Sv,d.UX,x.JF,dt.Mf,mt.PW,pt.ot,gt.Is]})}return n})();m.q6().bootstrapModule(ut).catch(n=>console.error(n))}},u=>{u.O(0,[736],()=>u(u.s=8068)),u.O()}]); \ No newline at end of file diff --git a/src/app/shared/registration/registration.component.html b/src/app/shared/registration/registration.component.html index 0d297f7..d944556 100644 --- a/src/app/shared/registration/registration.component.html +++ b/src/app/shared/registration/registration.component.html @@ -38,7 +38,7 @@ Hackathon Attendance
-

Cograts on registering!🎉 Share this moment with your friends! Copy the text below and spread the word on your social media using the respective buttons provided.

+

Congrats on registering!🎉 Share this moment with your friends! Copy the text below and spread the word on your social media using the respective buttons provided.