{ "version": 3, "sources": ["src/app/services/meta.service.ts"], "sourcesContent": ["import { Injectable } from '@angular/core';\nimport { Meta, Title } from '@angular/platform-browser';\nimport { environment } from '../../environments/environment';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class MetaService {\n constructor(private meta: Meta, private titleService: Title) { }\n updateMetaTags(title: string, description: string, keywords: string, ogTitle: string | null | null, ogDescription: string | null, ogUrl: string | null): void {\n if (environment.production) {\n if (title !== null) {\n this.titleService.setTitle(title);\n this.meta.updateTag({ name: 'title', content: title });\n }\n if (description !== null) {\n this.meta.updateTag({ property: 'description', content: description });\n }\n if (keywords !== null) {\n this.meta.updateTag({ name: 'keywords', content: keywords });\n }\n if (ogTitle !== null) {\n this.meta.updateTag({ property: 'og:title', content: ogTitle });\n }\n this.meta.updateTag({ property: 'og:image', content: 'https://res.cloudinary.com/dmdawjgs8/image/upload/v1717159976/new/Subtraction_26_yypjq7.webp' });\n if (ogDescription !== null) {\n this.meta.updateTag({ property: 'og:description', content: ogDescription });\n }\n if (ogUrl !== null) {\n this.meta.updateTag({ property: 'og:url', content: ogUrl });\n }\n this.meta.updateTag({ name: 'theme-color', content: '#317EFB' });\n }\n }\n}\n"], "mappings": "wIAOA,IAAaA,GAAW,IAAA,CAAlB,IAAOA,EAAP,MAAOA,CAAW,CACtBC,YAAoBC,EAAoBC,EAAmB,CAAvC,KAAAD,KAAAA,EAAoB,KAAAC,aAAAA,CAAuB,CAC/DC,eAAeC,EAAeC,EAAqBC,EAAkBC,EAA+BC,EAA8BC,EAAoB,CAChJC,EAAYC,aACVP,IAAU,OACZ,KAAKF,aAAaU,SAASR,CAAK,EAChC,KAAKH,KAAKY,UAAU,CAAEC,KAAM,QAASC,QAASX,CAAK,CAAE,GAEnDC,IAAgB,MAClB,KAAKJ,KAAKY,UAAU,CAAEG,SAAU,cAAeD,QAASV,CAAW,CAAE,EAEnEC,IAAa,MACf,KAAKL,KAAKY,UAAU,CAAEC,KAAM,WAAYC,QAAST,CAAQ,CAAE,EAEzDC,IAAY,MACd,KAAKN,KAAKY,UAAU,CAAEG,SAAU,WAAYD,QAASR,CAAO,CAAE,EAEhE,KAAKN,KAAKY,UAAU,CAAEG,SAAU,WAAYD,QAAS,8FAA8F,CAAE,EACjJP,IAAkB,MACpB,KAAKP,KAAKY,UAAU,CAAEG,SAAU,iBAAkBD,QAASP,CAAa,CAAE,EAExEC,IAAU,MACZ,KAAKR,KAAKY,UAAU,CAAEG,SAAU,SAAUD,QAASN,CAAK,CAAE,EAE5D,KAAKR,KAAKY,UAAU,CAAEC,KAAM,cAAeC,QAAS,SAAS,CAAE,EAEnE,yCA1BWhB,GAAWkB,EAAAC,CAAA,EAAAD,EAAAE,CAAA,CAAA,CAAA,wBAAXpB,EAAWqB,QAAXrB,EAAWsB,UAAAC,WAFV,MAAM,CAAA,EAEd,IAAOvB,EAAPwB,SAAOxB,CAAW,GAAA", "names": ["MetaService", "constructor", "meta", "titleService", "updateMetaTags", "title", "description", "keywords", "ogTitle", "ogDescription", "ogUrl", "environment", "production", "setTitle", "updateTag", "name", "content", "property", "\u0275\u0275inject", "Meta", "Title", "factory", "\u0275fac", "providedIn", "_MetaService"] }