{"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar core_1 = require(\"@angular/core\");\nfunction isSSR() {\n return typeof window === 'undefined';\n}\nif (!isSSR()) {\n window['pdfjs-dist/build/pdf'] = require('pdfjs-dist/build/pdf');\n require('pdfjs-dist/web/compatibility');\n require('pdfjs-dist/web/pdf_viewer');\n PDFJS.verbosity = PDFJS.VERBOSITY_LEVELS.errors;\n}\nvar ɵngcc0 = require('@angular/core');\nvar PdfViewerComponent = function () {\n function PdfViewerComponent(element) {\n this.element = element;\n this._renderText = true;\n this._stickToPage = false;\n this._originalSize = true;\n this._page = 1;\n this._zoom = 1;\n this._rotation = 0;\n this._showAll = true;\n this._canAutoResize = true;\n this._fitToPage = false;\n this._externalLinkTarget = 'blank';\n this.afterLoadComplete = new core_1.EventEmitter();\n this.onError = new core_1.EventEmitter();\n this.onProgress = new core_1.EventEmitter();\n this.pageChange = new core_1.EventEmitter(true);\n if (!isSSR() && typeof PDFJS.workerSrc !== 'string') {\n PDFJS.workerSrc = \"https://cdnjs.cloudflare.com/ajax/libs/pdf.js/\" + PDFJS.version + \"/pdf.worker.min.js\";\n }\n }\n PdfViewerComponent.prototype.ngOnInit = function () {\n if (!isSSR()) {\n this.setupViewer();\n }\n };\n PdfViewerComponent.prototype.onPageResize = function () {\n var _this = this;\n if (!this._canAutoResize) {\n return;\n }\n if (this.resizeTimeout) {\n clearTimeout(this.resizeTimeout);\n }\n this.resizeTimeout = setTimeout(function () {\n _this.updateSize();\n }, 100);\n };\n PdfViewerComponent.prototype.ngOnChanges = function (changes) {\n if (isSSR()) {\n return;\n }\n if ('src' in changes) {\n this.loadPDF();\n } else if (this._pdf) {\n if ('renderText' in changes) {\n this.setupViewer();\n }\n this.update();\n }\n };\n Object.defineProperty(PdfViewerComponent.prototype, \"page\", {\n set: function (_page) {\n _page = parseInt(_page, 10);\n if (this._pdf && !this.isValidPageNumber(_page)) {\n _page = 1;\n }\n this._page = _page;\n this.pageChange.emit(_page);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PdfViewerComponent.prototype, \"renderText\", {\n set: function (renderText) {\n this._renderText = renderText;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PdfViewerComponent.prototype, \"originalSize\", {\n set: function (originalSize) {\n this._originalSize = originalSize;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PdfViewerComponent.prototype, \"showAll\", {\n set: function (value) {\n this._showAll = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PdfViewerComponent.prototype, \"stickToPage\", {\n set: function (value) {\n this._stickToPage = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PdfViewerComponent.prototype, \"zoom\", {\n get: function () {\n return this._zoom;\n },\n set: function (value) {\n if (value <= 0) {\n return;\n }\n this._zoom = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PdfViewerComponent.prototype, \"rotation\", {\n set: function (value) {\n if (!(typeof value === 'number' && value % 90 === 0)) {\n console.warn('Invalid pages rotation angle.');\n return;\n }\n this._rotation = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PdfViewerComponent.prototype, \"externalLinkTarget\", {\n set: function (value) {\n this._externalLinkTarget = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PdfViewerComponent.prototype, \"autoresize\", {\n set: function (value) {\n this._canAutoResize = Boolean(value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PdfViewerComponent.prototype, \"fitToPage\", {\n set: function (value) {\n this._fitToPage = Boolean(value);\n },\n enumerable: true,\n configurable: true\n });\n PdfViewerComponent.prototype.setupViewer = function () {\n PDFJS.disableTextLayer = !this._renderText;\n PdfViewerComponent.setExternalLinkTarget(this._externalLinkTarget);\n this.pdfLinkService = new PDFJS.PDFLinkService();\n var pdfOptions = {\n container: this.element.nativeElement.querySelector('div'),\n removePageBorders: true,\n linkService: this.pdfLinkService\n };\n this.pdfViewer = new PDFJS.PDFViewer(pdfOptions);\n this.pdfLinkService.setViewer(this.pdfViewer);\n };\n PdfViewerComponent.prototype.updateSize = function () {\n var _this = this;\n if (!this._showAll) {\n this.renderPage(this._page);\n return;\n }\n this._pdf.getPage(this.pdfViewer.currentPageNumber).then(function (page) {\n var viewport = page.getViewport(_this._zoom, _this._rotation);\n var scale = _this._zoom;\n var stickToPage = true;\n if (!_this._originalSize || _this._fitToPage && viewport.width > _this.element.nativeElement.offsetWidth) {\n scale = _this.getScale(page.getViewport(1).width);\n stickToPage = !_this._stickToPage;\n }\n _this.pdfViewer._setScale(scale, stickToPage);\n });\n };\n PdfViewerComponent.prototype.isValidPageNumber = function (page) {\n return this._pdf.numPages >= page && page >= 1;\n };\n PdfViewerComponent.setExternalLinkTarget = function (type) {\n switch (type) {\n case 'blank':\n PDFJS.externalLinkTarget = PDFJS.LinkTarget.BLANK;\n break;\n case 'none':\n PDFJS.externalLinkTarget = PDFJS.LinkTarget.NONE;\n break;\n case 'self':\n PDFJS.externalLinkTarget = PDFJS.LinkTarget.SELF;\n break;\n case 'parent':\n PDFJS.externalLinkTarget = PDFJS.LinkTarget.PARENT;\n break;\n case 'top':\n PDFJS.externalLinkTarget = PDFJS.LinkTarget.TOP;\n break;\n }\n };\n PdfViewerComponent.prototype.loadPDF = function () {\n var _this = this;\n if (!this.src) {\n return;\n }\n if (this.lastLoaded === this.src) {\n this.update();\n return;\n }\n var loadingTask = PDFJS.getDocument(this.src);\n loadingTask.onProgress = function (progressData) {\n _this.onProgress.emit(progressData);\n };\n var src = this.src;\n loadingTask.promise.then(function (pdf) {\n _this._pdf = pdf;\n _this.lastLoaded = src;\n _this.afterLoadComplete.emit(pdf);\n _this.update();\n }, function (error) {\n _this.onError.emit(error);\n });\n };\n PdfViewerComponent.prototype.update = function () {\n if (this._showAll) {\n this.setupViewer();\n if (this.pdfViewer) {\n this.pdfViewer.setDocument(this._pdf);\n }\n }\n if (this.pdfLinkService) {\n this.pdfLinkService.setDocument(this._pdf, null);\n }\n this.page = this._page;\n this.render();\n };\n PdfViewerComponent.prototype.render = function () {\n if (this._showAll) {\n this.renderMultiplePages();\n } else {\n this.renderPage(this._page);\n }\n };\n PdfViewerComponent.prototype.renderMultiplePages = function () {\n var _this = this;\n if (!this.isValidPageNumber(this._page)) {\n this._page = 1;\n }\n if (this._rotation !== 0 || this.pdfViewer.pagesRotation !== this._rotation) {\n setTimeout(function () {\n _this.pdfViewer.pagesRotation = _this._rotation;\n });\n }\n if (this._stickToPage) {\n setTimeout(function () {\n _this.pdfViewer.currentPageNumber = _this._page;\n });\n }\n this.updateSize();\n };\n PdfViewerComponent.prototype.renderPage = function (pageNumber) {\n var _this = this;\n this._pdf.getPage(pageNumber).then(function (page) {\n var viewport = page.getViewport(_this._zoom, _this._rotation);\n var container = _this.element.nativeElement.querySelector('.pdfViewer');\n var scale = _this._zoom;\n if (!_this._originalSize || _this._fitToPage && viewport.width > _this.element.nativeElement.offsetWidth) {\n viewport = page.getViewport(_this.element.nativeElement.offsetWidth / viewport.width, _this._rotation);\n scale = _this.getScale(page.getViewport(1).width);\n }\n PdfViewerComponent.removeAllChildNodes(container);\n PDFJS.disableTextLayer = !_this._renderText;\n var pdfOptions = {\n container: container,\n removePageBorders: true,\n defaultViewport: viewport,\n scale: scale,\n id: _this._page\n };\n if (_this._renderText) {\n _this.pdfLinkService = new PDFJS.PDFLinkService();\n pdfOptions.linkService = _this.pdfLinkService;\n PdfViewerComponent.setExternalLinkTarget(_this._externalLinkTarget);\n pdfOptions.textLayerFactory = new PDFJS.DefaultTextLayerFactory();\n pdfOptions.annotationLayerFactory = new PDFJS.DefaultAnnotationLayerFactory();\n }\n var pdfPageView = new PDFJS.PDFPageView(pdfOptions);\n if (_this._renderText) {\n _this.pdfLinkService.setViewer(pdfPageView);\n }\n if (_this._rotation !== 0 || pdfPageView.rotation !== _this._rotation) {\n pdfPageView.rotation = _this._rotation;\n }\n pdfPageView.setPdfPage(page);\n return pdfPageView.draw();\n });\n };\n PdfViewerComponent.removeAllChildNodes = function (element) {\n while (element.firstChild) {\n element.removeChild(element.firstChild);\n }\n };\n PdfViewerComponent.prototype.getScale = function (viewportWidth) {\n var offsetWidth = this.element.nativeElement.offsetWidth;\n if (offsetWidth === 0) {\n return 1;\n }\n return this._zoom * (offsetWidth / viewportWidth) / PdfViewerComponent.CSS_UNITS;\n };\n PdfViewerComponent.CSS_UNITS = 96.0 / 72.0;\n PdfViewerComponent.ctorParameters = function () {\n return [{\n type: core_1.ElementRef\n }];\n };\n PdfViewerComponent.propDecorators = {\n 'afterLoadComplete': [{\n type: core_1.Output,\n args: ['after-load-complete']\n }],\n 'onError': [{\n type: core_1.Output,\n args: ['error']\n }],\n 'onProgress': [{\n type: core_1.Output,\n args: ['on-progress']\n }],\n 'onPageResize': [{\n type: core_1.HostListener,\n args: ['window:resize', []]\n }],\n 'src': [{\n type: core_1.Input\n }],\n 'page': [{\n type: core_1.Input,\n args: ['page']\n }],\n 'pageChange': [{\n type: core_1.Output\n }],\n 'renderText': [{\n type: core_1.Input,\n args: ['render-text']\n }],\n 'originalSize': [{\n type: core_1.Input,\n args: ['original-size']\n }],\n 'showAll': [{\n type: core_1.Input,\n args: ['show-all']\n }],\n 'stickToPage': [{\n type: core_1.Input,\n args: ['stick-to-page']\n }],\n 'zoom': [{\n type: core_1.Input,\n args: ['zoom']\n }],\n 'rotation': [{\n type: core_1.Input,\n args: ['rotation']\n }],\n 'externalLinkTarget': [{\n type: core_1.Input,\n args: ['external-link-target']\n }],\n 'autoresize': [{\n type: core_1.Input,\n args: ['autoresize']\n }],\n 'fitToPage': [{\n type: core_1.Input,\n args: ['fit-to-page']\n }]\n };\n PdfViewerComponent.ɵfac = function PdfViewerComponent_Factory(t) {\n return new (t || PdfViewerComponent)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef));\n };\n PdfViewerComponent.ɵcmp = /*@__PURE__*/ɵngcc0.ɵɵdefineComponent({\n type: PdfViewerComponent,\n selectors: [[\"pdf-viewer\"]],\n hostBindings: function PdfViewerComponent_HostBindings(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵlistener(\"resize\", function PdfViewerComponent_resize_HostBindingHandler() {\n return ctx.onPageResize();\n }, false, ɵngcc0.ɵɵresolveWindow);\n }\n },\n inputs: {\n page: \"page\",\n renderText: [\"render-text\", \"renderText\"],\n originalSize: [\"original-size\", \"originalSize\"],\n showAll: [\"show-all\", \"showAll\"],\n stickToPage: [\"stick-to-page\", \"stickToPage\"],\n zoom: \"zoom\",\n rotation: \"rotation\",\n externalLinkTarget: [\"external-link-target\", \"externalLinkTarget\"],\n autoresize: \"autoresize\",\n fitToPage: [\"fit-to-page\", \"fitToPage\"],\n src: \"src\"\n },\n outputs: {\n afterLoadComplete: \"after-load-complete\",\n onError: \"error\",\n onProgress: \"on-progress\",\n pageChange: \"pageChange\"\n },\n features: [ɵngcc0.ɵɵNgOnChangesFeature],\n decls: 2,\n vars: 0,\n consts: [[1, \"ng2-pdf-viewer-container\"], [1, \"pdfViewer\"]],\n template: function PdfViewerComponent_Template(rf, ctx) {\n if (rf & 1) {\n ɵngcc0.ɵɵelementStart(0, \"div\", 0);\n ɵngcc0.ɵɵelement(1, \"div\", 1);\n ɵngcc0.ɵɵelementEnd();\n }\n },\n styles: [\".ng2-pdf-viewer-container[_ngcontent-%COMP%] {\\n overflow-x: auto;\\n}\\n[_nghost-%COMP%] .textLayer {\\n position: absolute;\\n left: 0;\\n top: 0;\\n right: 0;\\n bottom: 0;\\n overflow: hidden;\\n opacity: 0.2;\\n line-height: 1.0;\\n}\\n\\n[_nghost-%COMP%] .textLayer > div {\\n color: transparent;\\n position: absolute;\\n white-space: pre;\\n cursor: text;\\n -webkit-transform-origin: 0% 0%;\\n -moz-transform-origin: 0% 0%;\\n -o-transform-origin: 0% 0%;\\n -ms-transform-origin: 0% 0%;\\n transform-origin: 0% 0%;\\n}\\n\\n[_nghost-%COMP%] .textLayer .highlight {\\n margin: -1px;\\n padding: 1px;\\n\\n background-color: #002bff;\\n border-radius: 4px;\\n}\\n\\n[_nghost-%COMP%] .textLayer .highlight.begin {\\n border-radius: 4px 0px 0px 4px;\\n}\\n\\n[_nghost-%COMP%] .textLayer .highlight.end {\\n border-radius: 0px 4px 4px 0px;\\n}\\n\\n[_nghost-%COMP%] .textLayer .highlight.middle {\\n border-radius: 0px;\\n}\\n\\n[_nghost-%COMP%] .textLayer .highlight.selected {\\n background-color: rgb(0, 100, 0);\\n}\\n\\n[_nghost-%COMP%] .textLayer ::selection { background: #002bff; }\\n[_nghost-%COMP%] .textLayer ::-moz-selection { background: #002bff; }\\n\\n[_nghost-%COMP%] .textLayer .endOfContent {\\n display: block;\\n position: absolute;\\n left: 0px;\\n top: 100%;\\n right: 0px;\\n bottom: 0px;\\n z-index: -1;\\n cursor: default;\\n -webkit-user-select: none;\\n -ms-user-select: none;\\n -moz-user-select: none;\\n}\\n\\n[_nghost-%COMP%] .textLayer .endOfContent.active {\\n top: 0px;\\n}\\n\\n\\n[_nghost-%COMP%] .annotationLayer section {\\n position: absolute;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .linkAnnotation > a {\\n position: absolute;\\n font-size: 1em;\\n top: 0;\\n left: 0;\\n width: 100%;\\n height: 100%;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .linkAnnotation > a {\\n background: url(\\\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\\\") 0 0 repeat;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .linkAnnotation > a:hover {\\n opacity: 0.2;\\n background: #002bff;\\n box-shadow: 0px 2px 10px #002bff;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .textAnnotation img {\\n position: absolute;\\n cursor: pointer;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input {\\n background-color: #002bff;\\n border: 1px solid transparent;\\n box-sizing: border-box;\\n font-size: 9px;\\n height: 100%;\\n padding: 0 3px;\\n vertical-align: top;\\n width: 100%;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea {\\n font: message-box;\\n font-size: 9px;\\n resize: none;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input[disabled], [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea[disabled], [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select[disabled], [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled], [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] {\\n background: none;\\n border: 1px solid transparent;\\n cursor: not-allowed;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:hover, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:hover, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:hover {\\n border: 1px solid #000;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:focus, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:focus, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:focus {\\n background: none;\\n border: 1px solid transparent;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input.comb {\\n font-family: monospace;\\n padding-left: 2px;\\n padding-right: 0;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input.comb:focus {\\n width: 115%;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input {\\n -webkit-appearance: none;\\n -moz-appearance: none;\\n -ms-appearance: none;\\n appearance: none;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .popupWrapper {\\n position: absolute;\\n width: 20em;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .popup {\\n position: absolute;\\n z-index: 200;\\n max-width: 20em;\\n background-color: #FFFF99;\\n box-shadow: 0px 2px 5px #333;\\n border-radius: 2px;\\n padding: 0.6em;\\n margin-left: 5px;\\n cursor: pointer;\\n word-wrap: break-word;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .popup h1 {\\n font-size: 1em;\\n border-bottom: 1px solid #000000;\\n padding-bottom: 0.2em;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .popup p {\\n padding-top: 0.2em;\\n}\\n\\n[_nghost-%COMP%] .annotationLayer .highlightAnnotation, [_nghost-%COMP%] .annotationLayer .underlineAnnotation, [_nghost-%COMP%] .annotationLayer .squigglyAnnotation, [_nghost-%COMP%] .annotationLayer .strikeoutAnnotation, [_nghost-%COMP%] .annotationLayer .fileAttachmentAnnotation {\\n cursor: pointer;\\n}\\n\\n[_nghost-%COMP%] .pdfViewer .canvasWrapper {\\n overflow: hidden;\\n}\\n\\n[_nghost-%COMP%] .pdfViewer .page {\\n direction: ltr;\\n width: 816px;\\n height: 1056px;\\n margin: 1px auto -8px auto;\\n position: relative;\\n overflow: visible;\\n border: 9px solid transparent;\\n background-clip: content-box;\\n border-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=') 9 9 repeat;\\n background-color: white;\\n}\\n\\n[_nghost-%COMP%] .pdfViewer.removePageBorders .page {\\n margin: 0px auto 10px auto;\\n border: none;\\n}\\n\\n[_nghost-%COMP%] .pdfViewer.singlePageView {\\n display: inline-block;\\n}\\n\\n[_nghost-%COMP%] .pdfViewer.singlePageView .page {\\n margin: 0;\\n border: none;\\n}\\n\\n[_nghost-%COMP%] .pdfViewer .page canvas {\\n margin: 0;\\n display: block;\\n}\\n\\n[_nghost-%COMP%] .pdfViewer .page .loadingIcon {\\n position: absolute;\\n display: block;\\n left: 0;\\n top: 0;\\n right: 0;\\n bottom: 0;\\n background: url('data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGG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GAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==') center no-repeat;\\n}\"]\n });\n (function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(PdfViewerComponent, [{\n type: core_1.Component,\n args: [{\n selector: 'pdf-viewer',\n template: \"