-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.524fb4aff036a63c.js
1 lines (1 loc) · 39.7 KB
/
main.524fb4aff036a63c.js
1
"use strict";(self.webpackChunkhacktm_website=self.webpackChunkhacktm_website||[]).push([["main"],{6880:(b,v,i)=>{i.d(v,{H:()=>C});var c=i(5861),t=i(2340),d=i(4650),O=i(1481);class C{constructor(p,g){this.meta=p,this.title=g,this.metas={home:{title:"HackTM 2023",type:"website",description:"HackTM welcomes talented and creative individuals from the IT industry, in a challenging two day hackathon, to push the boundaries of their coding and designing skills.",image:"/assets/meta/homepage.png"},"code-of-conduct":{title:"Code Of Conduct",image:"/assets/meta/code-of-conduct.png"},faq:{title:"FAQ",image:"/assets/meta/faq.png"},prizes:{title:"Prizes",image:"/assets/meta/prizes.png"},sponsors:{title:"Sponsors",image:"/assets/meta/sponsors.png"},tickets:{title:"Tickets",image:"/assets/meta/tickets.png"}}}resolve(p){return this.loadMetaData(p.data.metaId||p.routeConfig.path,p.routeConfig.path)}loadMetaData(p,g){var f=this;return(0,c.Z)(function*(){const M=Object.assign({},f.metas.home);f.metas.hasOwnProperty(p)&&(Object.assign(M,f.metas[p]),f.metas[p].title&&(M.title=`${f.metas[p].title} | ${f.metas.home.title}`));for(const m in M)M.hasOwnProperty(m)&&("image"===m&&(M[m]=t.N.url+M[m]),f.meta.updateTag({property:"og:"+m,content:M[m]}),"description"===m&&f.meta.updateTag({property:m,content:M[m]}));if(M.title&&f.title.setTitle(M.title),"**"!==g){let m=t.N.url+"/"+g;m.endsWith("/")||(m+="/"),f.meta.updateTag({property:"og:url",content:m})}})()}}C.\u0275fac=function(p){return new(p||C)(d.LFG(O.h_),d.LFG(O.Dx))},C.\u0275prov=d.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"})},7695:(b,v,i)=>{i.d(v,{Q:()=>d});var c=i(4650);class d{}d.\u0275fac=function(C){return new(C||d)},d.\u0275cmp=c.Xpm({type:d,selectors:[["app-hack-anchor","text","","link",""]],inputs:{text:"text",link:"link",buttonId:"buttonId"},standalone:!0,features:[c.jDz],attrs:["text","","link",""],decls:5,vars:3,consts:[[1,"d-flex","ps-10p"],["target","_blank",1,"outer-button-element",3,"href","id"],[1,"inner-button-element"],[1,"text"]],template:function(C,x){1&C&&(c.TgZ(0,"div",0)(1,"a",1)(2,"div",2)(3,"span",3),c._uU(4),c.qZA()()()()),2&C&&(c.xp6(1),c.Q6J("href",x.link,c.LSH)("id",x.buttonId),c.xp6(3),c.Oqu(x.text))},styles:['a[_ngcontent-%COMP%]{text-decoration:none;transition:.15s ease-in-out}a[_ngcontent-%COMP%]:hover{filter:brightness(1.1)}.text[_ngcontent-%COMP%]{font-size:24px}.inner-button-element[_ngcontent-%COMP%]{height:40px;background-color:#f65800;position:relative;display:flex;justify-content:center;align-items:center}.inner-button-element[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding:0 24px}.outer-button-element[_ngcontent-%COMP%]{position:relative}.outer-button-element[_ngcontent-%COMP%]:before, .outer-button-element[_ngcontent-%COMP%]:after, .inner-button-element[_ngcontent-%COMP%]:before, .inner-button-element[_ngcontent-%COMP%]:after{content:"";position:absolute;border-color:transparent;border-style:solid}.inner-button-element[_ngcontent-%COMP%]:before{bottom:0;left:-10px;border-width:15px;border-bottom-color:#6863ed;border-left-color:#6863ed;border-right-color:#f65800;border-top-color:#f65800}.inner-button-element[_ngcontent-%COMP%]:after{top:0;right:-10px;border-width:15px;border-right-color:#feb600;border-top-color:#feb600;border-left-color:#f65800;border-bottom-color:#f65800}.outer-button-element[_ngcontent-%COMP%]:before{top:0;left:-10px;border-width:5px;border-bottom-color:#f65800;border-right-color:#f65800}.outer-button-element[_ngcontent-%COMP%]:after{bottom:0;right:-10px;border-width:5px;border-left-color:#f65800;border-top-color:#f65800}']})},9237:(b,v,i)=>{i.d(v,{o:()=>P});var c=i(6895),t=i(4650);function d(l,a){1&l&&t.GkF(0)}function O(l,a){1&l&&t.GkF(0)}function C(l,a){1&l&&t.GkF(0)}function x(l,a){1&l&&t.GkF(0)}function p(l,a){if(1&l&&(t.O4$(),t.TgZ(0,"svg"),t._UZ(1,"path",8)(2,"path"),t.qZA()),2&l){const r=t.oxw();t.uIk("viewBox","0 0 "+r.cornerSize+" "+r.cornerSize)("heigth",r.cornerSize+"px")("width",r.cornerSize+"px"),t.xp6(1),t.uIk("d",r.svgShadowPath),t.xp6(1),t.uIk("d",r.svgPath)}}class g{constructor(){this.squareSize=5,this.squaresCount=2}get squareSizePx(){return this.squareSize+"px"}get cornerSize(){return this.squareSize*this.squaresCount}get svgPath(){return this.buildPath(this.squaresCount)}get svgShadowPath(){return this.buildPath(this.squaresCount+1)}buildPath(a){let r=["M 0 0"];r.push("h "+this.squareSize*(a-1));for(let U=1;U<a;U++)r.push("v "+this.squareSize),r.push("h -"+this.squareSize);return r.push("Z"),r.join(" ")}}function M(l,a){1&l&&t._UZ(0,"squared-corners")}function m(l,a){1&l&&t.Hsn(0)}function N(l,a){1&l&&t.GkF(0)}g.\u0275fac=function(a){return new(a||g)},g.\u0275cmp=t.Xpm({type:g,selectors:[["squared-corners"]],hostVars:4,hostBindings:function(a,r){2&a&&t.Udp("--squares-count",r.squaresCount)("--square-size",r.squareSizePx)},inputs:{squareSize:"squareSize",squaresCount:"squaresCount"},standalone:!0,features:[t.jDz],decls:12,vars:4,consts:[[1,"corner","corner-right-top"],[4,"ngTemplateOutlet"],[1,"corner","corner-right-bottom"],[1,"corner","corner-left-bottom"],[1,"corner","corner-left-top"],[1,"vertical"],[1,"horizontal"],["svgElem",""],[1,"svg-shadow"]],template:function(a,r){if(1&a&&(t.TgZ(0,"div",0),t.YNc(1,d,1,0,"ng-container",1),t.qZA(),t.TgZ(2,"div",2),t.YNc(3,O,1,0,"ng-container",1),t.qZA(),t.TgZ(4,"div",3),t.YNc(5,C,1,0,"ng-container",1),t.qZA(),t.TgZ(6,"div",4),t.YNc(7,x,1,0,"ng-container",1),t.qZA(),t._UZ(8,"div",5)(9,"div",6),t.YNc(10,p,3,5,"ng-template",null,7,t.W1O)),2&a){const _=t.MAs(11);t.xp6(1),t.Q6J("ngTemplateOutlet",_),t.xp6(2),t.Q6J("ngTemplateOutlet",_),t.xp6(2),t.Q6J("ngTemplateOutlet",_),t.xp6(2),t.Q6J("ngTemplateOutlet",_)}},dependencies:[c.tP],styles:["[_nghost-%COMP%]{position:absolute!important;inset:0}svg[_ngcontent-%COMP%]{display:block}svg[_ngcontent-%COMP%] .svg-shadow[_ngcontent-%COMP%]{fill:var(--box-shadow-color, none)}.corner[_ngcontent-%COMP%]{position:absolute;fill:var(--background-color);width:calc(var(--squares-count, 2) * var(--square-size, 5px));height:calc(var(--squares-count, 2) * var(--square-size, 5px));transform:rotate(var(--angle))}.corner-right-top[_ngcontent-%COMP%]{top:1px;right:1px;--angle: 270deg}.corner-right-bottom[_ngcontent-%COMP%]{right:1px;bottom:1px}.corner-left-bottom[_ngcontent-%COMP%]{bottom:1px;left:1px;--angle: 90deg}.corner-left-top[_ngcontent-%COMP%]{left:1px;top:1px;--angle: 180deg}.horizontal[_ngcontent-%COMP%], .vertical[_ngcontent-%COMP%]{background-color:var(--background-color);position:absolute;box-shadow:var(--box-shadow)}.horizontal[_ngcontent-%COMP%]{top:calc(var(--squares-count, 2) * var(--square-size, 5px));left:0;bottom:calc(var(--squares-count, 2) * var(--square-size, 5px));right:0}.vertical[_ngcontent-%COMP%]{top:0;left:calc(var(--squares-count, 2) * var(--square-size, 5px));bottom:0;right:calc(var(--squares-count, 2) * var(--square-size, 5px))}"],changeDetection:0});const E=["hack-button","hack-outline-button"];class P{constructor(a){this._elementRef=a,this.color="orange",this.squareSize=5,this.squaresCount=2,this.size="default";for(const r of E)this._hasHostAttributes(r)&&this._getHostClassList.add(r)}get _getHostClassList(){return this._getHostElement().classList}ngOnChanges(a){a.squaredCorners&&(a.squaredCorners.currentValue?this.enableSquaredCorners():this.disableSquaredCorners());const r=["color","size"];for(const _ of r)a[_]&&(a[_].previousValue&&this._getHostClassList.remove("hack-button-"+a[_].previousValue),a[_].currentValue&&this._getHostClassList.add("hack-button-"+a[_].currentValue))}enableSquaredCorners(){this._getHostClassList.add("squared-corners")}disableSquaredCorners(){this._getHostClassList.remove("squared-corners")}_hasHostAttributes(...a){return a.some(r=>this._getHostElement().hasAttribute(r))}_getHostElement(){return this._elementRef.nativeElement}}P.\u0275fac=function(a){return new(a||P)(t.Y36(t.SBq))},P.\u0275cmp=t.Xpm({type:P,selectors:[["button","hack-button",""],["button","hack-outline-button",""],["a","hack-button",""],["a","hack-outline-button",""]],inputs:{color:"color",squaredCorners:"squaredCorners",squareSize:"squareSize",squaresCount:"squaresCount",size:"size"},standalone:!0,features:[t.TTD,t.jDz],attrs:["hack-button",""],ngContentSelectors:["*"],decls:5,vars:2,consts:[[4,"ngIf"],["content",""],[4,"ngTemplateOutlet"]],template:function(a,r){if(1&a&&(t.F$t(),t.YNc(0,M,1,0,"squared-corners",0),t.YNc(1,m,1,0,"ng-template",null,1,t.W1O),t.TgZ(3,"div"),t.YNc(4,N,1,0,"ng-container",2),t.qZA()),2&a){const _=t.MAs(2);t.Q6J("ngIf",r.squaredCorners),t.xp6(4),t.Q6J("ngTemplateOutlet",_)}},dependencies:[c.tP,g,c.O5],styles:["[_nghost-%COMP%]{position:relative}"],changeDetection:0})},2340:(b,v,i)=>{i.d(v,{N:()=>c});const c={production:!0,url:"https://hacktm.ro"}},7137:(b,v,i)=>{var c=i(1481),t=i(4650),d=i(6811),O=i(6880);const C=[{path:"",loadChildren:()=>Promise.all([i.e("common"),i.e("src_app_pages_home_home_module_ts")]).then(i.bind(i,6237)).then(n=>n.HomeModule)},{path:"about-us",loadChildren:()=>Promise.all([i.e("common"),i.e("src_app_pages_about-us_about-us_module_ts")]).then(i.bind(i,8380)).then(n=>n.AboutUsModule)},{path:"event-details",loadChildren:()=>Promise.all([i.e("common"),i.e("src_app_pages_event-details_event-details_module_ts")]).then(i.bind(i,4253)).then(n=>n.EventDetailsModule)},{path:"code-of-conduct",loadComponent:()=>Promise.all([i.e("common"),i.e("src_app_pages_code-of-conduct_code-of-conduct_component_ts")]).then(i.bind(i,8915)).then(n=>n.CodeOfConductComponent),resolve:{meta:O.H}},{path:"faq",loadComponent:()=>i.e("src_app_pages_faqs_faqs_component_ts").then(i.bind(i,2627)).then(n=>n.FaqsComponent),resolve:{meta:O.H}},{path:"**",loadComponent:()=>i.e("src_app_pages_not-found_not-found_component_ts").then(i.bind(i,9473)).then(n=>n.NotFoundComponent),resolve:{meta:O.H}}];class x{}x.\u0275fac=function(e){return new(e||x)},x.\u0275mod=t.oAB({type:x}),x.\u0275inj=t.cJS({imports:[d.Bz.forRoot(C,{initialNavigation:"enabledBlocking",scrollPositionRestoration:"enabled",anchorScrolling:"enabled"}),d.Bz]});class p{constructor(e){this._router=e,this.items=[{label:"Event details",link:"/event-details"},{label:"About us",link:"/about-us"},{label:"FAQs",link:"/faq"},{label:"Contact us",link:"contact-us",isFragment:!0}],this.mobileMenuOpen=!1,e.events.subscribe(o=>{o instanceof d.m2&&(this.mobileMenuOpen=!1)})}}p.\u0275fac=function(e){return new(e||p)(t.LFG(d.F0))},p.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"});var g=i(6895),f=i(7695);function M(n,e){if(1&n&&(t.TgZ(0,"span",9),t._uU(1),t.qZA()),2&n){const o=e.$implicit;t.xp6(1),t.Oqu(o)}}class m{constructor(){this.size="regular",this.autoMicro=!0,this.editionDigits=["2","0","2","0"]}ngOnChanges(e){e.editionName&&this.editionName&&(this.editionDigits=Array.from(this.editionName))}}function N(n,e){if(1&n&&(t.TgZ(0,"a",15),t._uU(1),t.qZA()),2&n){const o=t.oxw().$implicit;t.Q6J("ngClass",o.ngClass)("routerLink",o.link),t.xp6(1),t.hij(" ",o.label," ")}}function Q(n,e){if(1&n&&(t.TgZ(0,"a",16),t._uU(1),t.qZA()),2&n){const o=t.oxw().$implicit;t.Q6J("href",o.link,t.LSH)("ngClass",o.ngClass),t.xp6(1),t.hij(" ",o.label," ")}}function E(n,e){if(1&n){const o=t.EpF();t.TgZ(0,"a",17),t.NdJ("click",function(){t.CHM(o);const u=t.oxw().$implicit,k=t.oxw();return t.KtG(k.scrollTo(u.link))}),t._uU(1),t.qZA()}if(2&n){const o=t.oxw().$implicit;t.Q6J("ngClass",o.ngClass),t.xp6(1),t.hij(" ",o.label," ")}}function P(n,e){if(1&n&&(t.ynx(0),t.YNc(1,N,2,3,"a",12),t.YNc(2,Q,2,3,"a",13),t.YNc(3,E,2,2,"a",14),t.BQk()),2&n){const o=e.$implicit;t.xp6(1),t.Q6J("ngIf",!o.isExternal&&!o.isFragment),t.xp6(1),t.Q6J("ngIf",o.isExternal),t.xp6(1),t.Q6J("ngIf",o.isFragment)}}m.\u0275fac=function(e){return new(e||m)},m.\u0275cmp=t.Xpm({type:m,selectors:[["app-logo"]],inputs:{size:"size",autoMicro:"autoMicro",editionName:"editionName"},features:[t.TTD],decls:12,vars:4,consts:[[1,"logo",3,"ngClass"],[1,"logo-container"],[1,"logo-left"],[1,"logo-hack"],[1,"logo-year"],["class","span-digits",4,"ngFor","ngForOf"],[1,"logo-circle","logo-tm"],[1,"logo-circle","logo-reverse","alternate","logo-outer"],[1,"logo-circle","logo-rotate","alternate","logo-inner"],[1,"span-digits"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),t._uU(4,"Hack"),t.qZA(),t.TgZ(5,"div",4),t.YNc(6,M,2,1,"span",5),t.qZA()(),t.TgZ(7,"div",6)(8,"span"),t._uU(9,"TM"),t.qZA()(),t._UZ(10,"div",7)(11,"div",8),t.qZA()()),2&e&&(t.ekj("auto-micro-small",o.autoMicro),t.Q6J("ngClass","logo-"+o.size),t.xp6(6),t.Q6J("ngForOf",o.editionDigits))},dependencies:[g.mk,g.sg],styles:['@font-face{font-family:HackTM-500;src:url(/assets/font/Museo/HackTM-500.woff2) format("woff2")}.logo[_ngcontent-%COMP%]{font-family:HackTM-500,serif;color:#fff;justify-content:center;align-items:center;display:flex;height:100%}.alternate[_ngcontent-%COMP%]{animation-direction:alternate}.logo-inner[_ngcontent-%COMP%]{background-image:url(/assets/logo/logo-inner-2020.png);background-repeat:no-repeat;background-size:cover}.logo-outer[_ngcontent-%COMP%]{background-image:url(/assets/logo/logo-outer-2020.png);background-repeat:no-repeat;background-size:cover}.logo-container[_ngcontent-%COMP%]{background-image:url(/assets/logo/logo-text-2020.png);background-repeat:no-repeat;background-size:cover;height:213px;width:500px;position:relative;margin:0 auto}.logo-circle[_ngcontent-%COMP%]{width:219px;height:219px;position:absolute;right:0}.logo-left[_ngcontent-%COMP%]{padding-top:62px;position:absolute;left:0;text-align:right;text-transform:uppercase;line-height:90px;width:52%}.logo-hack[_ngcontent-%COMP%], .logo-tm[_ngcontent-%COMP%]{font-size:86px}.logo-hack[_ngcontent-%COMP%]{text-align:left}.logo-year[_ngcontent-%COMP%]{margin-right:-9%;margin-top:-15px;font-size:60px}.logo-tm[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.counter[_ngcontent-%COMP%] span.digit[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:44px;position:relative;top:0}.logo-year[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;line-height:1}.logo-rotate[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_rotateAnim;animation-timing-function:ease-in-out;animation-duration:3s;animation-delay:9s;animation-iteration-count:infinite}.logo-reverse[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_rotateReverse;animation-timing-function:ease-in-out;animation-duration:3s;animation-delay:9s;animation-iteration-count:infinite}@keyframes _ngcontent-%COMP%_rotateAnim{0%{transform:rotate(0)}to{transform:rotate(180deg)}}@keyframes _ngcontent-%COMP%_rotateReverse{0%{transform:rotate(360deg)}to{transform:rotate(180deg)}}@media (max-width: 800px){.logo-container[_ngcontent-%COMP%]{width:303px;height:129px}.logo-circle[_ngcontent-%COMP%]{width:132px;height:132px}.logo-tm[_ngcontent-%COMP%], .logo-hack[_ngcontent-%COMP%]{font-size:50px;line-height:130px}.logo-year[_ngcontent-%COMP%]{font-size:36px;line-height:80px;margin-top:-60px}.logo-left[_ngcontent-%COMP%]{padding-top:0}}.logo-medium[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{width:303px;height:129px}.logo-medium[_ngcontent-%COMP%] .logo-circle[_ngcontent-%COMP%]{width:132px;height:132px}.logo-medium[_ngcontent-%COMP%] .logo-tm[_ngcontent-%COMP%], .logo-medium[_ngcontent-%COMP%] .logo-hack[_ngcontent-%COMP%]{font-size:50px;line-height:130px}.logo-medium[_ngcontent-%COMP%] .logo-year[_ngcontent-%COMP%]{font-size:36px;line-height:80px;margin-top:-60px}.logo-medium[_ngcontent-%COMP%] .logo-left[_ngcontent-%COMP%]{padding-top:0}.logo-small[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{width:189px;height:80px}.logo-small[_ngcontent-%COMP%] .logo-circle[_ngcontent-%COMP%]{width:82px;height:82px}.logo-small[_ngcontent-%COMP%] .logo-tm[_ngcontent-%COMP%], .logo-small[_ngcontent-%COMP%] .logo-hack[_ngcontent-%COMP%]{font-size:31px;line-height:81px}.logo-small[_ngcontent-%COMP%] .logo-year[_ngcontent-%COMP%]{font-size:22px;line-height:50px;margin-top:-37px}.logo-small[_ngcontent-%COMP%] .logo-left[_ngcontent-%COMP%]{padding-top:0}@media (max-width: 576px){.logo-small.auto-micro-small[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{width:94px;height:40px}.logo-small.auto-micro-small[_ngcontent-%COMP%] .logo-circle[_ngcontent-%COMP%]{width:41px;height:41px}.logo-small.auto-micro-small[_ngcontent-%COMP%] .logo-tm[_ngcontent-%COMP%], .logo-small.auto-micro-small[_ngcontent-%COMP%] .logo-hack[_ngcontent-%COMP%]{font-size:15px;line-height:40px}.logo-small.auto-micro-small[_ngcontent-%COMP%] .logo-year[_ngcontent-%COMP%]{font-size:11px;line-height:25px;margin-top:-18px}.logo-small.auto-micro-small[_ngcontent-%COMP%] .logo-left[_ngcontent-%COMP%]{padding-top:0}}.logo-micro[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{width:94px;height:40px}.logo-micro[_ngcontent-%COMP%] .logo-circle[_ngcontent-%COMP%]{width:41px;height:41px}.logo-micro[_ngcontent-%COMP%] .logo-tm[_ngcontent-%COMP%], .logo-micro[_ngcontent-%COMP%] .logo-hack[_ngcontent-%COMP%]{font-size:15px;line-height:40px}.logo-micro[_ngcontent-%COMP%] .logo-year[_ngcontent-%COMP%]{font-size:11px;line-height:25px;margin-top:-18px}.logo-micro[_ngcontent-%COMP%] .logo-left[_ngcontent-%COMP%]{padding-top:0}.logo-container[_ngcontent-%COMP%], .logo-circle[_ngcontent-%COMP%]{transition:width .5s,height .5s}.logo-tm[_ngcontent-%COMP%], .logo-hack[_ngcontent-%COMP%]{transition:font-size .5s,line-height .5s,width .5s,height .5s}.logo-year[_ngcontent-%COMP%]{transition:font-size .5s,line-height .5s,margin-right .5s,margin-top .5s}.logo-left[_ngcontent-%COMP%]{transition:padding-top .5s}']});const l=function(n){return{"menu-border-bottom":n}};class a{constructor(e){this.menuService=e,this.isScrolled=!1,this.sizeChanged=new t.vpe}get isSmall(){return this.isScrolled}onScroll(){const e=this.isScrolled;this.isScrolled=window.pageYOffset>5,e!==this.isScrolled&&this.sizeChanged.emit(!this.isScrolled)}openMore(){this.menuService.mobileMenuOpen=!0}scrollTo(e){const o=document.getElementById(e);o&&o.scrollIntoView({behavior:"smooth"})}}a.\u0275fac=function(e){return new(e||a)(t.Y36(p))},a.\u0275cmp=t.Xpm({type:a,selectors:[["app-menu"]],hostBindings:function(e,o){1&e&&t.NdJ("scroll",function(u){return o.onScroll(u)},!1,t.Jf7)},outputs:{sizeChanged:"sizeChanged"},decls:14,vars:8,consts:[[3,"ngClass"],[1,"menu-space-filler"],[1,"sticky-menu","menu"],[1,"d-flex","justify-content-between"],[1,"d-flex"],["routerLink","/",1,"no-outline"],["editionName","2023",3,"size"],[1,"d-none","d-lg-flex","align-items-center"],[4,"ngFor","ngForOf"],[1,"ps-30p",3,"buttonId","link","text"],[1,"d-lg-none","hack-menu-item","menu-toggle-link","pointer-link",3,"click"],["alt"," ","src","assets/images/menu_hamburger.svg",1,"menu-toggle-link-icon"],["class","hack-menu-item text-6","routerLinkActive","active",3,"ngClass","routerLink",4,"ngIf"],["class","hack-menu-item text-6",3,"href","ngClass",4,"ngIf"],["class","hack-menu-item text-6",3,"ngClass","click",4,"ngIf"],["routerLinkActive","active",1,"hack-menu-item","text-6",3,"ngClass","routerLink"],[1,"hack-menu-item","text-6",3,"href","ngClass"],[1,"hack-menu-item","text-6",3,"ngClass","click"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"div",1),t.TgZ(2,"div",2)(3,"section")(4,"div",3)(5,"div",4)(6,"a",5),t._UZ(7,"app-logo",6),t.qZA()(),t.TgZ(8,"div",4)(9,"div",7),t.YNc(10,P,4,3,"ng-container",8),t._UZ(11,"app-hack-anchor",9),t.qZA(),t.TgZ(12,"div",10),t.NdJ("click",function(){return o.openMore()}),t._UZ(13,"img",11),t.qZA()()()()()()),2&e&&(t.Q6J("ngClass",t.VKq(6,l,o.isSmall)),t.xp6(7),t.Q6J("size",o.isSmall?"micro":"small"),t.xp6(3),t.Q6J("ngForOf",o.menuService.items),t.xp6(1),t.Q6J("buttonId","get-your-ticket-menu")("link","https://now.hacktm.ro/tickets")("text","Tickets"))},dependencies:[g.mk,g.sg,g.O5,d.rH,d.Od,f.Q,m],styles:["[_nghost-%COMP%]{z-index:2}.menu[_ngcontent-%COMP%]{z-index:3}.sticky-menu[_ngcontent-%COMP%]{position:fixed;width:100%;top:0;left:0}section[_ngcontent-%COMP%]{padding:10px 20px;transition:padding .5s}.hack-menu-item[_ngcontent-%COMP%], a.hack-menu-item[_ngcontent-%COMP%]{margin:0 25px;transition:font-size .5s,line-height .5s,margin .5s;outline:none}.hack-menu-item.active[_ngcontent-%COMP%], a.hack-menu-item.active[_ngcontent-%COMP%]{color:#6863ed}.menu-space-filler[_ngcontent-%COMP%]{height:132px;transition:height .5s,padding-top .5s ease-out}@media (min-width: 576px){ .large-menu app-menu .hack-menu-item, .large-menu app-menu a.hack-menu-item{line-height:32px;margin:0 25px} .large-menu app-menu section{padding:25px 50px}}@media (max-width: 1400px){ .large-menu app-menu .hack-menu-item, .large-menu app-menu a.hack-menu-item{margin:0 15px}}@media (max-width: 1200px){ .large-menu app-menu .hack-menu-item, .large-menu app-menu a.hack-menu-item{margin:0 15px}}@media (max-width: 992px){.sticky-menu[_ngcontent-%COMP%]{background:rgba(20,18,39,.87);border-bottom:1px solid #2f2d5a}}.menu-border-bottom[_ngcontent-%COMP%] .sticky-menu[_ngcontent-%COMP%]{background:rgba(20,18,39,.87);border-bottom:1px solid #2f2d5a}@media (max-width: 370px){.hack-menu-item[_ngcontent-%COMP%], a.hack-menu-item[_ngcontent-%COMP%]{margin:8px 5px 8px 25px}}.open-menu[_ngcontent-%COMP%]{background:rgba(20,18,39,.95);position:fixed;top:0;padding:100px;left:0;right:0;z-index:100000}"]});var r=i(9237);function _(n,e){1&n&&t._UZ(0,"app-hack-anchor",3),2&n&&t.Q6J("buttonId","get-your-ticket-menu-mobile")("link","https://now.hacktm.ro/tickets")("text","Tickets")}function U(n,e){if(1&n&&(t.TgZ(0,"a",7),t._uU(1),t.qZA()),2&n){const o=t.oxw().$implicit;t.Q6J("ngClass",o.ngClass)("routerLink",o.link),t.xp6(1),t.hij(" ",o.label," ")}}function R(n,e){if(1&n&&(t.TgZ(0,"a",8),t._uU(1),t.qZA()),2&n){const o=t.oxw().$implicit;t.Q6J("href",o.link,t.LSH)("ngClass",o.ngClass),t.xp6(1),t.hij(" ",o.label," ")}}function V(n,e){if(1&n){const o=t.EpF();t.TgZ(0,"a",9),t.NdJ("click",function(){t.CHM(o);const u=t.oxw().$implicit,k=t.oxw();return t.KtG(k.scrollTo(u.link))}),t._uU(1),t.qZA()}if(2&n){const o=t.oxw().$implicit;t.Q6J("ngClass",o.ngClass),t.xp6(1),t.hij(" ",o.label," ")}}function $(n,e){if(1&n&&(t.ynx(0),t.YNc(1,U,2,3,"a",4),t.YNc(2,R,2,3,"a",5),t.YNc(3,V,2,2,"a",6),t.BQk()),2&n){const o=e.$implicit;t.xp6(1),t.Q6J("ngIf",!o.isExternal&&!o.isFragment),t.xp6(1),t.Q6J("ngIf",o.isExternal),t.xp6(1),t.Q6J("ngIf",o.isFragment)}}function K(n,e){1&n&&(t.TgZ(0,"a",10),t._uU(1," Tickets\n"),t.qZA())}class Z{constructor(e){this.menuService=e}scrollTo(e){const o=document.getElementById(e);o&&o.scrollIntoView({behavior:"smooth"})}}Z.\u0275fac=function(e){return new(e||Z)(t.Y36(p))},Z.\u0275cmp=t.Xpm({type:Z,selectors:[["app-menu-items"]],decls:3,vars:3,consts:[["class","mb-40p mt-lg-0",3,"buttonId","link","text",4,"ngIf"],[4,"ngFor","ngForOf"],["class","hack-menu-item mt-40p mt-lg-0","hack-button","","href","https://now.hacktm.ro/tickets","id","get-your-ticket-menu","target","_blank",4,"ngIf"],[1,"mb-40p","mt-lg-0",3,"buttonId","link","text"],["class","hack-menu-item text-6","routerLinkActive","active",3,"ngClass","routerLink",4,"ngIf"],["class","hack-menu-item text-6",3,"href","ngClass",4,"ngIf"],["class","hack-menu-item text-6",3,"ngClass","click",4,"ngIf"],["routerLinkActive","active",1,"hack-menu-item","text-6",3,"ngClass","routerLink"],[1,"hack-menu-item","text-6",3,"href","ngClass"],[1,"hack-menu-item","text-6",3,"ngClass","click"],["hack-button","","href","https://now.hacktm.ro/tickets","id","get-your-ticket-menu","target","_blank",1,"hack-menu-item","mt-40p","mt-lg-0"]],template:function(e,o){1&e&&(t.YNc(0,_,1,3,"app-hack-anchor",0),t.YNc(1,$,4,3,"ng-container",1),t.YNc(2,K,2,0,"a",2)),2&e&&(t.Q6J("ngIf",o.menuService.mobileMenuOpen),t.xp6(1),t.Q6J("ngForOf",o.menuService.items),t.xp6(1),t.Q6J("ngIf",!o.menuService.mobileMenuOpen))},dependencies:[g.mk,g.sg,g.O5,d.rH,d.Od,r.o,f.Q],styles:["[_nghost-%COMP%]{display:contents;width:-moz-fit-content;width:fit-content}app-hack-anchor[_ngcontent-%COMP%]{margin-left:25px}.hack-menu-item[_ngcontent-%COMP%], a.hack-menu-item[_ngcontent-%COMP%]{margin:0 25px;transition:font-size .5s,line-height .5s,margin .5s;outline:none;width:-moz-fit-content;width:fit-content}.hack-menu-item.active[_ngcontent-%COMP%], a.hack-menu-item.active[_ngcontent-%COMP%]{color:#6863ed}@media (max-width: 370px){.hack-menu-item[_ngcontent-%COMP%], a.hack-menu-item[_ngcontent-%COMP%]{margin:8px 5px 8px 25px}}.hack-menu-item[_ngcontent-%COMP%]{margin-bottom:40px}"]});class y{constructor(e){this.menuService=e}get menuOpen(){return this.menuService.mobileMenuOpen}onResize(e){e.target.outerWidth>=992&&(this.menuService.mobileMenuOpen=!1)}}y.\u0275fac=function(e){return new(e||y)(t.Y36(p))},y.\u0275cmp=t.Xpm({type:y,selectors:[["app-mobile-menu"]],hostVars:2,hostBindings:function(e,o){1&e&&t.NdJ("resize",function(u){return o.onResize(u)},!1,t.Jf7),2&e&&t.ekj("open",o.menuOpen)},decls:4,vars:0,consts:[[1,"d-flex","flex-column","mb-40p"],[1,"menu-toggle-link",3,"click"],["alt"," ","src","assets/images/close.svg",1,"menu-toggle-link-icon"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0)(1,"div",1),t.NdJ("click",function(){return o.menuService.mobileMenuOpen=!1}),t._UZ(2,"img",2),t.qZA(),t._UZ(3,"app-menu-items"),t.qZA())},dependencies:[Z],styles:["[_nghost-%COMP%]{display:none;background:rgba(20,18,39,.98);border-bottom:1px solid #2f2d5a;position:fixed;top:0;padding:20px;left:0;right:0;z-index:2}.open[_nghost-%COMP%]{display:block}.open[_nghost-%COMP%] .hack-menu-item{margin-bottom:20px;font-size:24px}.menu-toggle-link[_ngcontent-%COMP%]{justify-content:flex-end;margin:20px 20px 40px 0}.menu-toggle-link[_ngcontent-%COMP%] .menu-toggle-link-icon[_ngcontent-%COMP%]{width:30px;height:30px}"]});var G=i(5861),h=i(433),w=i(529);function W(n,e){1&n&&t.GkF(0)}function X(n,e){1&n&&t.GkF(0)}function tt(n,e){1&n&&t.GkF(0)}function et(n,e){if(1&n){const o=t.EpF();t.TgZ(0,"button",11),t.NdJ("click",function(){t.CHM(o);const u=t.oxw();return t.KtG(u.submit())}),t._uU(1," Send "),t.qZA()}}function nt(n,e){1&n&&(t.TgZ(0,"span"),t._uU(1,"Your message has been sent."),t.qZA())}function ot(n,e){1&n&&(t.TgZ(0,"span"),t._uU(1,"Sending message..."),t.qZA())}function it(n,e){if(1&n&&(t.TgZ(0,"span",12),t.YNc(1,nt,2,0,"span",13),t.YNc(2,ot,2,0,"span",13),t.qZA()),2&n){const o=t.oxw();t.xp6(1),t.Q6J("ngIf",o.sent),t.xp6(1),t.Q6J("ngIf",o.sending)}}function at(n,e){1&n&&(t.TgZ(0,"span",14),t._uU(1," Oops, there's been an error. Please try again later. "),t.qZA())}function st(n,e){1&n&&(t.TgZ(0,"span",16),t._uU(1,"Error: This field is required."),t.qZA())}function rt(n,e){1&n&&(t.TgZ(0,"span",16),t._uU(1,"Error: Please enter a valid email address."),t.qZA())}function ct(n,e){if(1&n&&(t.TgZ(0,"span",16),t._uU(1),t.qZA()),2&n){const o=e.ngIf;t.xp6(1),t.hij(" Error: Your message should have at least ",o.requiredLength," characters. ")}}function lt(n,e){if(1&n&&(t.ynx(0),t.YNc(1,st,2,0,"span",15),t.YNc(2,rt,2,0,"span",15),t.YNc(3,ct,2,1,"span",15),t.BQk()),2&n){const o=e.ngIf;t.xp6(1),t.Q6J("ngIf",o.required),t.xp6(1),t.Q6J("ngIf",o.email),t.xp6(1),t.Q6J("ngIf",o.minlength)}}function gt(n,e){if(1&n&&t.YNc(0,lt,4,3,"ng-container",13),2&n){const o=e.control,s=t.oxw();t.Q6J("ngIf",s.showErrors&&s.formGroup.controls[o].errors)}}const pt=function(){return{control:"name"}},mt=function(){return{control:"email"}},ut=function(){return{control:"message"}};class F{constructor(e,o){this._fb=e,this._http=o,this.showErrors=!1,this.sending=!1,this.sent=!1,this.apiError=!1,this.formGroup=this._fb.group({email:["",[h.kI.email,h.kI.required]],name:["",[h.kI.required]],message:["",[h.kI.required,h.kI.minLength(10)]]})}submit(){var e=this;return(0,G.Z)(function*(){if(e.apiError=!1,!e.formGroup.valid)return void(e.showErrors=!0);e.sending=!0,e.formGroup.disable();const o=new FormData;Object.entries(e.formGroup.controls).forEach(([s,u])=>{o.append(s,u.value)});try{yield e._http.post("https://script.google.com/macros/s/AKfycbyqUecu6u2RmzbULptwg40FrGHbxTsUGLf-XVfwIkRpY6Q_R6VngbsvKkVivxQtjcXaNA/exec",o).toPromise(),e.sent=!0}catch{e.apiError=!0,e.formGroup.enable()}e.sending=!1})()}}function ht(n,e){if(1&n&&(t.TgZ(0,"a",17),t._uU(1),t.qZA()),2&n){const o=e.$implicit;t.Q6J("href","https://"+o+".hacktm.ro/",t.LSH),t.xp6(1),t.Oqu(o)}}F.\u0275fac=function(e){return new(e||F)(t.Y36(h.QS),t.Y36(w.eN))},F.\u0275cmp=t.Xpm({type:F,selectors:[["app-contact-form"]],decls:16,vars:13,consts:[["id","contact-us",1,"d-flex","flex-column",3,"formGroup"],[1,"heading-3","blue-ish-color","mb-40p"],["formControlName","name","name","name","placeholder","Name"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["formControlName","email","name","email","placeholder","Email","type","email",1,"mt-16p"],["formControlName","message","placeholder","Your message","rows","5",1,"mt-16p"],["class","hack-button-blueish-2 mt-40p","hack-button","","type","submit",3,"click",4,"ngIf"],["class","text-center blue-ish-color mt-40p",4,"ngIf"],["class","text-center orange-color mt-40p",4,"ngIf"],[1,"text-5","blue-ish-color","mt-40p"],["error",""],["hack-button","","type","submit",1,"hack-button-blueish-2","mt-40p",3,"click"],[1,"text-center","blue-ish-color","mt-40p"],[4,"ngIf"],[1,"text-center","orange-color","mt-40p"],["class","mt-10p error",4,"ngIf"],[1,"mt-10p","error"]],template:function(e,o){if(1&e&&(t.TgZ(0,"form",0)(1,"h3",1),t._uU(2,"Hello you! Let\u2019s talk!"),t.qZA(),t._UZ(3,"input",2),t.YNc(4,W,1,0,"ng-container",3),t._UZ(5,"input",4),t.YNc(6,X,1,0,"ng-container",3),t._UZ(7,"textarea",5),t.YNc(8,tt,1,0,"ng-container",3),t.YNc(9,et,2,0,"button",6),t.YNc(10,it,3,2,"span",7),t.YNc(11,at,2,0,"span",8),t.TgZ(12,"p",9),t._uU(13," PS: We accept DMs and PMs on our social accounts as well. Whatever keeps you going and the conversation flowing. "),t.qZA()(),t.YNc(14,gt,1,1,"ng-template",null,10,t.W1O)),2&e){const s=t.MAs(15);t.Q6J("formGroup",o.formGroup),t.xp6(4),t.Q6J("ngTemplateOutlet",s)("ngTemplateOutletContext",t.DdM(10,pt)),t.xp6(2),t.Q6J("ngTemplateOutlet",s)("ngTemplateOutletContext",t.DdM(11,mt)),t.xp6(2),t.Q6J("ngTemplateOutlet",s)("ngTemplateOutletContext",t.DdM(12,ut)),t.xp6(1),t.Q6J("ngIf",!o.sent&&!o.sending),t.xp6(1),t.Q6J("ngIf",o.sent||o.sending),t.xp6(1),t.Q6J("ngIf",o.apiError)}},dependencies:[g.O5,g.tP,h._Y,h.Fj,h.JJ,h.JL,h.sg,h.u,r.o],styles:["form[_ngcontent-%COMP%]{max-width:350px;width:100%;box-sizing:border-box}.error[_ngcontent-%COMP%]{color:#f65800;font-size:14px;padding-left:20px}"]});class q{constructor(){this.prevEditions=["2014","2015","2016","2017","2018","Sibiu","Oradea","Meta","404","2022"]}}q.\u0275fac=function(e){return new(e||q)},q.\u0275cmp=t.Xpm({type:q,selectors:[["app-footer"]],decls:25,vars:1,consts:[[1,"d-flex","flex-column","align-items-center","contact-wrapper"],[1,"d-flex","flex-column","flex-lg-row","adjustable-width"],[1,"mb-80p","mb-lg-0","ps-lg-100p","flex-1"],[1,"pe-lg-100p","flex-1","justify-content-center"],[1,"text-center","text-5","mb-40p"],["href","mailto:[email protected]",1,"contact"],[1,"social-media-row","mb-40p"],["href","https://facebook.com/hacktm.ro/","target","_blank"],["viewBox","0 0 48 48"],["href","/assets/images/social-media-icons/facebook.svg#Artboard"],["href","https://instagram.com/hacktm.ro/","target","_blank"],["href","/assets/images/social-media-icons/insta.svg#Artboard"],["href","https://medium.com/@HackTM","target","_blank"],["href","/assets/images/social-media-icons/medium.svg#Artboard"],[1,"text-center","text-6","grey-ish-color"],[1,"mt-80p","p-10p","d-flex","flex-wrap","justify-content-center"],["class","text-5 m-10p","target","_blank",3,"href",4,"ngFor","ngForOf"],["target","_blank",1,"text-5","m-10p",3,"href"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._UZ(3,"app-contact-form"),t.qZA(),t.TgZ(4,"div",3)(5,"div",4)(6,"a",5),t._uU(7,"[email protected]"),t.qZA()(),t.TgZ(8,"div",6)(9,"a",7),t.O4$(),t.TgZ(10,"svg",8),t._UZ(11,"use",9),t.qZA()(),t.kcU(),t.TgZ(12,"a",10),t.O4$(),t.TgZ(13,"svg",8),t._UZ(14,"use",11),t.qZA()(),t.kcU(),t.TgZ(15,"a",12),t.O4$(),t.TgZ(16,"svg",8),t._UZ(17,"use",13),t.qZA()()(),t.kcU(),t.TgZ(18,"div",14)(19,"span"),t._uU(20,"\xa9\xa0"),t.qZA(),t.TgZ(21,"span"),t._uU(22,"HackTM 2023. All rights reserved."),t.qZA()()()(),t.TgZ(23,"div",15),t.YNc(24,ht,2,2,"a",16),t.qZA()()),2&e&&(t.xp6(24),t.Q6J("ngForOf",o.prevEditions))},dependencies:[g.sg,F],styles:["[_nghost-%COMP%]{background-color:#2f2d5ab3;display:flex;justify-content:center}a[_ngcontent-%COMP%]{color:#6863ed}a[_ngcontent-%COMP%]:hover{color:#f65800;text-decoration:none}.social-media-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center;min-height:48px}.social-media-row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:0 10px;height:48px}.social-media-row[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;height:48px;width:48px}.contact-wrapper[_ngcontent-%COMP%]{padding:50px;width:100%;max-width:1200px;box-sizing:border-box}.flex-1[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1}@media (max-width: 576px){[_nghost-%COMP%] > div[_ngcontent-%COMP%]{padding:50px 0}}.adjustable-width[_ngcontent-%COMP%]{width:100%}@media (max-width: 992px){.adjustable-width[_ngcontent-%COMP%]{width:auto}}"]});class I{constructor(){this.largeMenu=!0}menuSizeChanged(e){this.largeMenu=e}}I.\u0275fac=function(e){return new(e||I)},I.\u0275cmp=t.Xpm({type:I,selectors:[["app-root"]],hostVars:2,hostBindings:function(e,o){2&e&&t.ekj("large-menu",o.largeMenu)},decls:4,vars:0,consts:[[3,"sizeChanged"]],template:function(e,o){1&e&&(t.TgZ(0,"app-menu",0),t.NdJ("sizeChanged",function(u){return o.menuSizeChanged(u)}),t.qZA(),t._UZ(1,"app-mobile-menu")(2,"router-outlet")(3,"app-footer"))},dependencies:[d.lC,a,y,q]});var ft=i(8731),H=i(5926),Y=i(7746),L=i(3359),A=i(577),_t=i(3905),j=new WeakMap;class T{constructor(){(0,H.Z)(this,j,{writable:!0,value:void 0}),(0,L.Z)(this,j,(0,t.f3M)(A.M6))}init(){const o=["bit","boost-career","brag-about","connect","crazed-ideas","creative","cup-coffee","designer","exceptional-prizes","fun-game","gain-hand","grand-prize","hack-the-capital","hack-tm-chip","heart","jury","location-imagery","main-visual","networking","people","prize-cube","right-arrow","senior","junior","sleep-less","swag","the-vibe","who-can","trophy"].map(s=>(0,_t.z)((0,Y.Z)(this,j).loadSvg(`/assets/2023/${s}.svg`,s)));Promise.all(o).then()}}T.\u0275fac=function(e){return new(e||T)},T.\u0275prov=t.Yz7({token:T,factory:T.\u0275fac});var Ct=i(9646),B=new WeakMap,D=new WeakMap;function Mt(n,e){1&n&&(t.TgZ(0,"div",9),t._uU(1,"Your email was saved!"),t.qZA())}function Ot(n,e){1&n&&(t.TgZ(0,"div",15),t._uU(1," An error occurred! Please try again or contact us. "),t.qZA())}function vt(n,e){if(1&n){const o=t.EpF();t.ynx(0),t.TgZ(1,"div",10)(2,"input",11),t.NdJ("change",function(){t.CHM(o);const u=t.oxw();return t.KtG(u.validateAddress())})("keypress",function(u){t.CHM(o);const k=t.oxw();return t.KtG(k.handelEnter(u))})("ngModelChange",function(u){t.CHM(o);const k=t.oxw();return t.KtG(k.emailAddress=u)}),t.qZA(),t.TgZ(3,"div",12),t.NdJ("click",function(){t.CHM(o);const u=t.oxw();return t.KtG(u.submit())}),t._UZ(4,"img",13),t.qZA()(),t.YNc(5,Ot,2,0,"div",14),t.BQk()}if(2&n){const o=t.oxw();t.xp6(2),t.ekj("error",!o.isEmailValid),t.Q6J("ngModel",o.emailAddress),t.xp6(3),t.Q6J("ngIf","error"===o.state)}}const bt=function(){return{"width.px":46,"height.px":36}},kt=function(){return{"width.px":20,"height.px":20}};class J{constructor(e){this.http=e,this.isNewsletterOpened=!1,this.isEmailValid=!0}toggleNewsletter(){this.isNewsletterOpened=!this.isNewsletterOpened}validateAddress(){const e=new RegExp("^[^@]+@[^@]+\\.[^@]+$");return this.isEmailValid=e.test(this.emailAddress),this.isEmailValid}submit(){var e=this;return(0,G.Z)(function*(){if(!e.validateAddress()||"submitting"===e.state)return;e.state="submitting";const u="https://banatit.us11.list-manage.com/subscribe/post-json?u=b0ca77226362a7371c265896d&id=70c408cb27&"+(new w.LE).set("EMAIL",e.emailAddress).set("b_b0ca77226362a7371c265896d_70c408cb27","").toString();try{yield e.http.jsonp(u,"c").toPromise(),e.state="success",e.emailAddress=null,e.isEmailValid=!0,setTimeout(()=>{e.toggleNewsletter(),e.state="ready"},3e3)}catch(k){console.error(k),e.state="error"}})()}handelEnter(e){"Enter"===e.key&&this.submit()}}J.\u0275fac=function(e){return new(e||J)(t.Y36(w.eN))},J.\u0275cmp=t.Xpm({type:J,selectors:[["app-newsletter"]],decls:11,vars:8,consts:[[1,"newsletter-trigger",3,"click"],["name","envelope",3,"svgStyle"],[1,"newsletter-modal"],[1,"close-trigger",3,"click"],["name","cross",3,"svgStyle"],[1,"newsletter-title"],[1,"text-5"],["class","heading-4",4,"ngIf"],[4,"ngIf"],[1,"heading-4"],[1,"d-flex","newsletter-input-wrapper"],["placeholder","Put your email address here ...","type","text",1,"newsletter-input",3,"ngModel","change","keypress","ngModelChange"],[1,"newsletter-submit",3,"click"],["alt","submit","src","assets/images/right_arrow.svg"],["class","heading-5 orange-color",4,"ngIf"],[1,"heading-5","orange-color"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t.NdJ("click",function(){return o.toggleNewsletter()}),t._UZ(1,"svg-icon",1),t.qZA(),t.TgZ(2,"div",2)(3,"div",3),t.NdJ("click",function(){return o.toggleNewsletter()}),t._UZ(4,"svg-icon",4),t.qZA(),t.TgZ(5,"div",5),t._uU(6,"Stay in the loop!"),t.qZA(),t.TgZ(7,"div",6),t._uU(8,"Subscribe to the HackTM newsletter"),t.qZA(),t.YNc(9,Mt,2,0,"div",7),t.YNc(10,vt,6,4,"ng-container",8),t.qZA()),2&e&&(t.xp6(1),t.Q6J("svgStyle",t.DdM(6,bt)),t.xp6(1),t.ekj("d-none",!o.isNewsletterOpened),t.xp6(2),t.Q6J("svgStyle",t.DdM(7,kt)),t.xp6(5),t.Q6J("ngIf","success"===o.state),t.xp6(1),t.Q6J("ngIf","success"!==o.state))},dependencies:[g.O5,h.Fj,h.JJ,h.On,A.bk],styles:[".newsletter-trigger[_ngcontent-%COMP%]{border:4px solid #7c78fe;padding:18px 18px 13px}.newsletter-trigger[_ngcontent-%COMP%]:hover{cursor:pointer}.newsletter-modal[_ngcontent-%COMP%]{position:fixed;z-index:2;right:0;bottom:0;background-color:#141227;padding:22px 32px 32px;border:4px solid #7c78fe}.newsletter-modal[_ngcontent-%COMP%] .close-trigger[_ngcontent-%COMP%]{position:absolute;right:27px;top:27px}.newsletter-modal[_ngcontent-%COMP%] .close-trigger[_ngcontent-%COMP%]:hover{cursor:pointer}.newsletter-modal[_ngcontent-%COMP%] .newsletter-title[_ngcontent-%COMP%]{color:#f65800;font-size:25px;line-height:37px;font-weight:700}.newsletter-modal[_ngcontent-%COMP%] .newsletter-input-wrapper[_ngcontent-%COMP%]{padding-top:25px}.newsletter-modal[_ngcontent-%COMP%] .newsletter-input-wrapper[_ngcontent-%COMP%] .newsletter-submit[_ngcontent-%COMP%]{border:2px solid #7c78fe;padding:8px;line-height:1px}.newsletter-modal[_ngcontent-%COMP%] .newsletter-input-wrapper[_ngcontent-%COMP%] .newsletter-submit[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px;height:20px}.newsletter-modal[_ngcontent-%COMP%] .newsletter-input-wrapper[_ngcontent-%COMP%] .newsletter-submit[_ngcontent-%COMP%]:hover{cursor:pointer}.newsletter-modal[_ngcontent-%COMP%] .newsletter-input-wrapper[_ngcontent-%COMP%] .newsletter-input[_ngcontent-%COMP%]{width:316px;background-color:#2f2d5a;border:1px solid transparent;padding-left:21px;color:#c8c7d4;font-size:14px;font-weight:700;line-height:21px}.newsletter-modal[_ngcontent-%COMP%] .newsletter-input-wrapper[_ngcontent-%COMP%] .newsletter-input[_ngcontent-%COMP%]:focus{outline:none}.newsletter-modal[_ngcontent-%COMP%] .newsletter-input-wrapper[_ngcontent-%COMP%] .newsletter-input.error[_ngcontent-%COMP%]{border:1px solid #f65800;border-right:1px solid transparent;color:#f65800}@media (max-width: 576px){.newsletter-modal[_ngcontent-%COMP%] .newsletter-input-wrapper[_ngcontent-%COMP%] .newsletter-input[_ngcontent-%COMP%]{width:auto;max-width:316px}}"]});var Pt=i(9837);class z{}z.\u0275fac=function(e){return new(e||z)},z.\u0275mod=t.oAB({type:z}),z.\u0275inj=t.cJS({imports:[g.ez,d.Bz,h.u5,w.JF,w.Ed,A._J,Pt.bz,h.UX,r.o,f.Q]});class S{constructor(e){e.init()}}S.\u0275fac=function(e){return new(e||S)(t.LFG(T))},S.\u0275mod=t.oAB({type:S,bootstrap:[I]}),S.\u0275inj=t.cJS({providers:[T],imports:[c.b2.withServerTransition({appId:"serverApp"}),x,ft.PW,w.JF,A._J.forRoot({loader:{provide:A.Sn,useClass:class xt{constructor(){(0,H.Z)(this,B,{writable:!0,value:void 0}),(0,H.Z)(this,D,{writable:!0,value:void 0}),(0,L.Z)(this,B,(0,t.f3M)(c.ki)),(0,L.Z)(this,D,(0,t.f3M)(w.eN))}getSvg(e){const o=(0,c.Cb)("transfer-svg:"+e),s=(0,Y.Z)(this,B).get(o,null);return s?(0,Ct.of)(s):new A.oZ((0,Y.Z)(this,D)).getSvg(e)}}}}),h.UX,r.o,z]}),i(2340).N.production&&(0,t.G48)(),document.addEventListener("DOMContentLoaded",()=>{c.q6().bootstrapModule(S).catch(n=>console.error(n))})}},b=>{b.O(0,["vendor"],()=>b(b.s=7137)),b.O()}]);