{
"version": 3,
"sources": ["libs/galaxy/ai-icon/src/ai-icon-svg-string.ts", "libs/galaxy/ai-icon/src/ai-icon.service.ts"],
"sourcesContent": ["export const GalaxyAiIconSvg = ``;\n\nexport const GalaxyAiIconWithBackgroundSvg = ``;\n", "import { inject, Injectable } from '@angular/core';\nimport { MatIconRegistry } from '@angular/material/icon';\nimport { DomSanitizer } from '@angular/platform-browser';\n\nimport { GalaxyAiIconSvg, GalaxyAiIconWithBackgroundSvg } from './ai-icon-svg-string';\nexport { GalaxyAiIconSvg, GalaxyAiIconWithBackgroundSvg };\n\n@Injectable({\n providedIn: 'root',\n})\nexport class GalaxyAiIconService {\n private readonly iconRegistry = inject(MatIconRegistry);\n private readonly sanitizer = inject(DomSanitizer);\n\n constructor() {\n // because this service is injected as root, it will only be instantiated once\n // which means we wont need to worry about adding the same icon multiple times\n this.iconRegistry.addSvgIconLiteral('galaxy-ai-icon', this.sanitizer.bypassSecurityTrustHtml(GalaxyAiIconSvg));\n this.iconRegistry.addSvgIconLiteral(\n 'galaxy-ai-icon-with-background',\n this.sanitizer.bypassSecurityTrustHtml(GalaxyAiIconWithBackgroundSvg),\n );\n }\n\n dummyInit() {\n // If the service when injected as `private` and is marked as unused,\n // you can call this method when you inject the service into your\n // component so it will be \"used\" and not marked as unused.\n }\n}\n"],
"mappings": "iIAAO,IAAMA,EAAkB,o7CAElBC,EAAgC,uxDCQ7C,IAAaC,GAAmB,IAAA,CAA1B,IAAOA,EAAP,MAAOA,CAAmB,CAI9BC,aAAA,CAHiB,KAAAC,aAAeC,EAAOC,CAAe,EACrC,KAAAC,UAAYF,EAAOG,CAAY,EAK9C,KAAKJ,aAAaK,kBAAkB,iBAAkB,KAAKF,UAAUG,wBAAwBC,CAAe,CAAC,EAC7G,KAAKP,aAAaK,kBAChB,iCACA,KAAKF,UAAUG,wBAAwBE,CAA6B,CAAC,CAEzE,CAEAC,WAAS,CAGP,yCAjBSX,EAAmB,wBAAnBA,EAAmBY,QAAnBZ,EAAmBa,UAAAC,WAFlB,MAAM,CAAA,EAEd,IAAOd,EAAPe,SAAOf,CAAmB,GAAA",
"names": ["GalaxyAiIconSvg", "GalaxyAiIconWithBackgroundSvg", "GalaxyAiIconService", "constructor", "iconRegistry", "inject", "MatIconRegistry", "sanitizer", "DomSanitizer", "addSvgIconLiteral", "bypassSecurityTrustHtml", "GalaxyAiIconSvg", "GalaxyAiIconWithBackgroundSvg", "dummyInit", "factory", "\u0275fac", "providedIn", "_GalaxyAiIconService"]
}