{"version":3,"file":"primeng-codehighlighter.umd.js","sources":["../../src/app/components/codehighlighter/codehighlighter.ts","../../src/app/components/codehighlighter/primeng-codehighlighter.ts"],"sourcesContent":["import { NgModule, Directive, ElementRef, AfterViewInit } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Directive({\n selector: '[pCode]'\n})\nexport class CodeHighlighter implements AfterViewInit {\n\n constructor(public el: ElementRef) { }\n\n ngAfterViewInit() {\n if (window['Prism']) {\n window['Prism'].highlightElement(this.el.nativeElement);\n }\n }\n}\n\n@NgModule({\n imports: [CommonModule],\n exports: [CodeHighlighter],\n declarations: [CodeHighlighter]\n})\nexport class CodeHighlighterModule { }\n\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["Directive","CommonModule","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAQI,yBAAmB,EAAc;YAAd,OAAE,GAAF,EAAE,CAAY;SAAK;QAEtC,yCAAe,GAAf;YACI,IAAI,MAAM,CAAC,OAAO,CAAC,EAAE;gBACjB,MAAM,CAAC,OAAO,CAAC,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC;aAC3D;SACJ;;;sIARQ,eAAe;+GAAf,eAAe;qHAAf,eAAe;sBAH3BA,YAAS;uBAAC;wBACP,QAAQ,EAAE,SAAS;qBACtB;;;QAiBD;;;;4IAAa,qBAAqB;6IAArB,qBAAqB,iBAhBrB,eAAe,aAYdC,mBAAY,aAZb,eAAe;6IAgBf,qBAAqB,YAJrB,CAACA,mBAAY,CAAC;qHAId,qBAAqB;sBALjCC,WAAQ;uBAAC;wBACN,OAAO,EAAE,CAACD,mBAAY,CAAC;wBACvB,OAAO,EAAE,CAAC,eAAe,CAAC;wBAC1B,YAAY,EAAE,CAAC,eAAe,CAAC;qBAClC;;;ICrBD;;;;;;;;;;;;;"}