{
"version": 3,
"sources": ["src/app/common/layout/logo/logo.component.ts", "src/app/common/layout/logo/logo.component.html"],
"sourcesContent": ["import { NgOptimizedImage } from '@angular/common'\nimport { Component, OnInit } from '@angular/core'\nimport { AppContext } from 'src/app/services/app-context'\n\n@Component({\n selector: 'app-logo',\n templateUrl: './logo.component.html',\n standalone: true,\n imports: [NgOptimizedImage],\n})\nexport class LogoComponent implements OnInit {\n public title: string | null\n\n public logo: string | null\n public logoWidth: number | undefined = undefined\n public logoHeigth: number | undefined = undefined\n constructor(private appContext: AppContext) {\n this.title = this.appContext.configurations.Title\n this.logo = this.appContext.configurations.Logo\n if (this.appContext.configurations.LogoWidth && this.appContext.configurations.LogoHeight) {\n const originalWidth = this.appContext.configurations.LogoWidth\n const originalHeight = this.appContext.configurations.LogoHeight\n\n const aspectRaito = originalWidth / originalHeight\n this.logoHeigth = 50\n this.logoWidth = Math.round(50 * aspectRaito)\n }\n }\n\n openSite(e: Event) {\n e.stopPropagation()\n e.preventDefault()\n window.open(this.appContext.configurations.Link, '_black')\n }\n\n ngOnInit(): void {}\n}\n", "@if (logoWidth && logoHeigth && logo) {\n
\n} @else {\n
\n}\n"],
"mappings": "2OCCIA,EAAA,EAAA,MAAA,CAAA,EAKIC,EAAA,QAAA,SAAAC,EAAA,CAAAC,EAAAC,CAAA,EAAA,IAAAC,EAAAC,EAAA,EAAA,OAAAC,EAASF,EAAAG,SAAAN,CAAA,CAAgB,CAAA,CAAA,EAL7BO,EAAA,oBAMIC,EAAA,MAAAL,EAAAM,KAAA,EACAD,EAAA,QAAAL,EAAAM,KAAA,EALAC,EAAA,QAAAP,EAAAQ,SAAA,EAAmB,QAAAR,EAAAS,IAAA,qCAQvBd,EAAA,EAAA,MAAA,CAAA,EAIIC,EAAA,QAAA,SAAAC,EAAA,CAAAC,EAAAY,CAAA,EAAA,IAAAV,EAAAC,EAAA,EAAA,OAAAC,EAASF,EAAAG,SAAAN,CAAA,CAAgB,CAAA,CAAA,EAJ7BO,EAAA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,QAAA,KAAA,CAAA,EAAAC,SAAA,SAAAC,EAAAC,EAAA,CAAAD,EAAA,GCV1BE,EAAA,EAAAC,EAAA,EAAA,EAAA,MAAA,CAAA,EAAuC,EAAAC,EAAA,EAAA,EAAA,MAAA,CAAA,OAAvCC,EAAAJ,EAAArC,WAAAqC,EAAA7B,YAAA6B,EAAApC,KAAA,EAAA,CAAA,iBDQcyC,CAAgB,EAAAC,cAAA,CAAA,CAAA,EAExB,IAAOvC,EAAPwC,SAAOxC,CAAa,GAAA",
"names": ["\u0275\u0275elementStart", "\u0275\u0275listener", "$event", "\u0275\u0275restoreView", "_r1", "ctx_r1", "\u0275\u0275nextContext", "\u0275\u0275resetView", "openSite", "\u0275\u0275elementEnd", "\u0275\u0275propertyInterpolate", "title", "\u0275\u0275property", "logoWidth", "logo", "_r3", "\u0275\u0275sanitizeUrl", "LogoComponent", "constructor", "appContext", "undefined", "logoHeigth", "configurations", "Title", "Logo", "LogoWidth", "LogoHeight", "originalWidth", "originalHeight", "aspectRaito", "Math", "round", "e", "stopPropagation", "preventDefault", "window", "open", "Link", "ngOnInit", "\u0275\u0275directiveInject", "AppContext", "selectors", "standalone", "features", "\u0275\u0275StandaloneFeature", "decls", "vars", "consts", "template", "rf", "ctx", "\u0275\u0275template", "LogoComponent_Conditional_0_Template", "LogoComponent_Conditional_1_Template", "\u0275\u0275conditional", "NgOptimizedImage", "encapsulation", "_LogoComponent"]
}