Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng2-pdf-viewer

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-pdf-viewer - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1

55

bundles/ng2-pdf-viewer.umd.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('pdfjs-dist'), require('pdfjs-dist/web/pdf_viewer')) :
typeof define === 'function' && define.amd ? define('ng2-pdf-viewer', ['exports', '@angular/core', 'rxjs', 'rxjs/operators', 'pdfjs-dist', 'pdfjs-dist/web/pdf_viewer'], factory) :
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('pdfjs-dist/es5/build/pdf'), require('pdfjs-dist/es5/web/pdf_viewer')) :
typeof define === 'function' && define.amd ? define('ng2-pdf-viewer', ['exports', '@angular/core', 'rxjs', 'rxjs/operators', 'pdfjs-dist/es5/build/pdf', 'pdfjs-dist/es5/web/pdf_viewer'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['ng2-pdf-viewer'] = {}, global.ng.core, global.rxjs, global.rxjs.operators, global.PDFJS, global.PDFJSViewer));

@@ -201,4 +201,5 @@ }(this, (function (exports, core, rxjs, operators, PDFJS, PDFJSViewer) { 'use strict';

var PdfViewerComponent = /** @class */ (function () {
function PdfViewerComponent(element) {
function PdfViewerComponent(element, ngZone) {
this.element = element;
this.ngZone = ngZone;
this.isVisible = false;

@@ -393,3 +394,3 @@ this._cMapsUrl = typeof PDFJS__namespace !== 'undefined'

setTimeout(function () {
_this.ngOnInit();
_this.initialize();
_this.ngOnChanges({ src: _this.src });

@@ -400,7 +401,4 @@ });

PdfViewerComponent.prototype.ngOnInit = function () {
if (!isSSR() && this.isVisible) {
this.isInitialized = true;
this.setupMultiPageViewer();
this.setupSinglePageViewer();
}
this.initialize();
this.setupResizeListener();
};

@@ -412,14 +410,2 @@ PdfViewerComponent.prototype.ngOnDestroy = function () {

};
PdfViewerComponent.prototype.onPageResize = function () {
var _this = this;
if (!this._canAutoResize || !this._pdf) {
return;
}
if (this.resizeTimeout) {
clearTimeout(this.resizeTimeout);
}
this.resizeTimeout = window.setTimeout(function () {
_this.updateSize();
}, 100);
};
Object.defineProperty(PdfViewerComponent.prototype, "pdfLinkService", {

@@ -751,2 +737,23 @@ get: function () {

};
PdfViewerComponent.prototype.initialize = function () {
if (isSSR() || !this.isVisible) {
return;
}
this.isInitialized = true;
this.setupMultiPageViewer();
this.setupSinglePageViewer();
};
PdfViewerComponent.prototype.setupResizeListener = function () {
var _this = this;
if (isSSR()) {
return;
}
this.ngZone.runOutsideAngular(function () {
rxjs.fromEvent(window, 'resize')
.pipe(operators.debounceTime(100), operators.filter(function () { return _this._canAutoResize && !!_this._pdf; }), operators.takeUntil(_this.destroy$))
.subscribe(function () {
_this.updateSize();
});
});
};
return PdfViewerComponent;

@@ -764,3 +771,4 @@ }());

PdfViewerComponent.ctorParameters = function () { return [
{ type: core.ElementRef }
{ type: core.ElementRef },
{ type: core.NgZone }
]; };

@@ -790,4 +798,3 @@ PdfViewerComponent.propDecorators = {

fitToPage: [{ type: core.Input, args: ['fit-to-page',] }],
showBorders: [{ type: core.Input, args: ['show-borders',] }],
onPageResize: [{ type: core.HostListener, args: ['window:resize', [],] }]
showBorders: [{ type: core.Input, args: ['show-borders',] }]
};

@@ -794,0 +801,0 @@

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs"),require("rxjs/operators"),require("pdfjs-dist"),require("pdfjs-dist/web/pdf_viewer")):"function"==typeof define&&define.amd?define("ng2-pdf-viewer",["exports","@angular/core","rxjs","rxjs/operators","pdfjs-dist","pdfjs-dist/web/pdf_viewer"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["ng2-pdf-viewer"]={},e.ng.core,e.rxjs,e.rxjs.operators,e.PDFJS,e.PDFJSViewer)}(this,(function(e,t,n,i,o,r){"use strict";function a(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var s,p=a(o),d=a(r);function g(e,t){var o=new e.EventBus;return function(e,t){n.fromEvent(e,"documentload").pipe(i.takeUntil(t)).subscribe((function(){var e=document.createEvent("CustomEvent");e.initCustomEvent("documentload",!0,!0,{}),window.dispatchEvent(e)})),n.fromEvent(e,"pagerendered").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.pageNumber,n=e.cssTransform,i=e.source,o=document.createEvent("CustomEvent");o.initCustomEvent("pagerendered",!0,!0,{pageNumber:t,cssTransform:n}),i.div.dispatchEvent(o)})),n.fromEvent(e,"textlayerrendered").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.pageNumber,n=e.source,i=document.createEvent("CustomEvent");i.initCustomEvent("textlayerrendered",!0,!0,{pageNumber:t}),n.textLayerDiv.dispatchEvent(i)})),n.fromEvent(e,"pagechanging").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.pageNumber,n=e.source,i=document.createEvent("UIEvents");i.initEvent("pagechanging",!0,!0),i.pageNumber=t,n.container.dispatchEvent(i)})),n.fromEvent(e,"pagesinit").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.source,n=document.createEvent("CustomEvent");n.initCustomEvent("pagesinit",!0,!0,null),t.container.dispatchEvent(n)})),n.fromEvent(e,"pagesloaded").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.pagesCount,n=e.source,i=document.createEvent("CustomEvent");i.initCustomEvent("pagesloaded",!0,!0,{pagesCount:t}),n.container.dispatchEvent(i)})),n.fromEvent(e,"scalechange").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.scale,n=e.presetValue,i=e.source,o=document.createEvent("UIEvents");o.initEvent("scalechange",!0,!0),o.scale=t,o.presetValue=n,i.container.dispatchEvent(o)})),n.fromEvent(e,"updateviewarea").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.location,n=e.source,i=document.createEvent("UIEvents");i.initEvent("updateviewarea",!0,!0),i.location=t,n.container.dispatchEvent(i)})),n.fromEvent(e,"find").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.source,n=e.type,i=e.query,o=e.phraseSearch,r=e.caseSensitive,a=e.highlightAll,s=e.findPrevious;if(t!==window){var p=document.createEvent("CustomEvent");p.initCustomEvent("find"+n,!0,!0,{query:i,phraseSearch:o,caseSensitive:r,highlightAll:a,findPrevious:s}),window.dispatchEvent(p)}})),n.fromEvent(e,"attachmentsloaded").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.attachmentsCount,n=e.source,i=document.createEvent("CustomEvent");i.initCustomEvent("attachmentsloaded",!0,!0,{attachmentsCount:t}),n.container.dispatchEvent(i)})),n.fromEvent(e,"sidebarviewchanged").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.view,n=e.source,i=document.createEvent("CustomEvent");i.initCustomEvent("sidebarviewchanged",!0,!0,{view:t}),n.outerContainer.dispatchEvent(i)})),n.fromEvent(e,"pagemode").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.mode,n=e.source,i=document.createEvent("CustomEvent");i.initCustomEvent("pagemode",!0,!0,{mode:t}),n.pdfViewer.container.dispatchEvent(i)})),n.fromEvent(e,"namedaction").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.action,n=e.source,i=document.createEvent("CustomEvent");i.initCustomEvent("namedaction",!0,!0,{action:t}),n.pdfViewer.container.dispatchEvent(i)})),n.fromEvent(e,"presentationmodechanged").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.active,n=e.switchInProgress,i=document.createEvent("CustomEvent");i.initCustomEvent("presentationmodechanged",!0,!0,{active:t,switchInProgress:n}),window.dispatchEvent(i)})),n.fromEvent(e,"outlineloaded").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.outlineCount,n=e.source,i=document.createEvent("CustomEvent");i.initCustomEvent("outlineloaded",!0,!0,{outlineCount:t}),n.container.dispatchEvent(i)}))}(o,t),o}function l(e,t,n){e[t]=n}function c(){return"undefined"==typeof window}c()||l(p,"verbosity",p.VerbosityLevel.ERRORS),e.RenderTextMode=void 0,(s=e.RenderTextMode||(e.RenderTextMode={}))[s.DISABLED=0]="DISABLED",s[s.ENABLED=1]="ENABLED",s[s.ENHANCED=2]="ENHANCED";var u=function(){function o(i){var o;(this.element=i,this.isVisible=!1,this._cMapsUrl=void 0!==p?"https://unpkg.com/pdfjs-dist@"+p.version+"/cmaps/":null,this._renderText=!0,this._renderTextMode=e.RenderTextMode.ENABLED,this._stickToPage=!1,this._originalSize=!0,this._page=1,this._zoom=1,this._zoomScale="page-width",this._rotation=0,this._showAll=!0,this._canAutoResize=!0,this._fitToPage=!1,this._externalLinkTarget="blank",this._showBorders=!1,this.resizeTimeout=null,this.pageScrollTimeout=null,this.isInitialized=!1,this.destroy$=new n.Subject,this.afterLoadComplete=new t.EventEmitter,this.pageRendered=new t.EventEmitter,this.pageInitialized=new t.EventEmitter,this.textLayerRendered=new t.EventEmitter,this.onError=new t.EventEmitter,this.onProgress=new t.EventEmitter,this.pageChange=new t.EventEmitter(!0),c())||(o=window.hasOwnProperty("pdfWorkerSrc")&&"string"==typeof window.pdfWorkerSrc&&window.pdfWorkerSrc?window.pdfWorkerSrc:"https://cdn.jsdelivr.net/npm/pdfjs-dist@"+p.version+"/es5/build/pdf.worker.js",l(p.GlobalWorkerOptions,"workerSrc",o))}return Object.defineProperty(o.prototype,"cMapsUrl",{set:function(e){this._cMapsUrl=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"page",{set:function(e){var t=e=parseInt(e,10)||1;this._pdf&&(e=this.getValidPageNumber(e)),this._page=e,t!==e&&this.pageChange.emit(e)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"renderText",{set:function(e){this._renderText=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"renderTextMode",{set:function(e){this._renderTextMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"originalSize",{set:function(e){this._originalSize=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"showAll",{set:function(e){this._showAll=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"stickToPage",{set:function(e){this._stickToPage=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"zoom",{get:function(){return this._zoom},set:function(e){e<=0||(this._zoom=e)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"zoomScale",{get:function(){return this._zoomScale},set:function(e){this._zoomScale=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"rotation",{set:function(e){"number"==typeof e&&e%90==0?this._rotation=e:console.warn("Invalid pages rotation angle.")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"externalLinkTarget",{set:function(e){this._externalLinkTarget=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"autoresize",{set:function(e){this._canAutoResize=Boolean(e)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"fitToPage",{set:function(e){this._fitToPage=Boolean(e)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"showBorders",{set:function(e){this._showBorders=Boolean(e)},enumerable:!1,configurable:!0}),o.getLinkTarget=function(e){switch(e){case"blank":return p.LinkTarget.BLANK;case"none":return p.LinkTarget.NONE;case"self":return p.LinkTarget.SELF;case"parent":return p.LinkTarget.PARENT;case"top":return p.LinkTarget.TOP}return null},o.prototype.ngAfterViewChecked=function(){var e=this;if(!this.isInitialized){var t=this.pdfViewerContainer.nativeElement.offsetParent;!0!==this.isVisible||null!=t?!1===this.isVisible&&null!=t&&(this.isVisible=!0,setTimeout((function(){e.ngOnInit(),e.ngOnChanges({src:e.src})}))):this.isVisible=!1}},o.prototype.ngOnInit=function(){!c()&&this.isVisible&&(this.isInitialized=!0,this.setupMultiPageViewer(),this.setupSinglePageViewer())},o.prototype.ngOnDestroy=function(){this.clear(),this.destroy$.next(),this.loadingTask=null},o.prototype.onPageResize=function(){var e=this;this._canAutoResize&&this._pdf&&(this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout((function(){e.updateSize()}),100))},Object.defineProperty(o.prototype,"pdfLinkService",{get:function(){return this._showAll?this.pdfMultiPageLinkService:this.pdfSinglePageLinkService},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"pdfViewer",{get:function(){return this.getCurrentViewer()},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"pdfFindController",{get:function(){return this._showAll?this.pdfMultiPageFindController:this.pdfSinglePageFindController},enumerable:!1,configurable:!0}),o.prototype.ngOnChanges=function(t){if(!c()&&this.isVisible)if("src"in t)this.loadPDF();else if(this._pdf){if("renderText"in t?(this.getCurrentViewer().textLayerMode=this._renderText?this._renderTextMode:e.RenderTextMode.DISABLED,this.resetPdfDocument()):"showAll"in t&&this.resetPdfDocument(),"page"in t){if(t.page.currentValue===this._latestScrolledPage)return;this.getCurrentViewer().scrollPageIntoView({pageNumber:this._page})}this.update()}},o.prototype.updateSize=function(){var e=this,t=this.getCurrentViewer();n.from(this._pdf.getPage(t.currentPageNumber)).pipe(i.takeUntil(this.destroy$)).subscribe({next:function(n){var i=e._rotation||n.rotate,r=n.getViewport({scale:e._zoom,rotation:i}).width*o.CSS_UNITS,a=e._zoom,s=!0;if(!e._originalSize||e._fitToPage&&r>e.pdfViewerContainer.nativeElement.clientWidth){var p=n.getViewport({scale:1,rotation:i});a=e.getScale(p.width,p.height),s=!e._stickToPage}t._setScale(a,s)}})},o.prototype.clear=function(){this.loadingTask&&!this.loadingTask.destroyed&&this.loadingTask.destroy(),this._pdf&&(this._pdf.destroy(),this._pdf=null,this.pdfMultiPageViewer.setDocument(null),this.pdfSinglePageViewer.setDocument(null),this.pdfMultiPageLinkService.setDocument(null,null),this.pdfSinglePageLinkService.setDocument(null,null),this.pdfMultiPageFindController.setDocument(null),this.pdfSinglePageFindController.setDocument(null))},o.prototype.getPDFLinkServiceConfig=function(){var e={},t=o.getLinkTarget(this._externalLinkTarget);return t&&(e.externalLinkTarget=t),e},o.prototype.setupMultiPageViewer=function(){var t=this;l(p,"disableTextLayer",!this._renderText);var o=g(d,this.destroy$);n.fromEvent(o,"pagerendered").pipe(i.takeUntil(this.destroy$)).subscribe((function(e){t.pageRendered.emit(e)})),n.fromEvent(o,"pagesinit").pipe(i.takeUntil(this.destroy$)).subscribe((function(e){t.pageInitialized.emit(e)})),n.fromEvent(o,"pagechanging").pipe(i.takeUntil(this.destroy$)).subscribe((function(e){var n=e.pageNumber;t.pageScrollTimeout&&clearTimeout(t.pageScrollTimeout),t.pageScrollTimeout=window.setTimeout((function(){t._latestScrolledPage=n,t.pageChange.emit(n)}),100)})),n.fromEvent(o,"textlayerrendered").pipe(i.takeUntil(this.destroy$)).subscribe((function(e){t.textLayerRendered.emit(e)})),this.pdfMultiPageLinkService=new d.PDFLinkService(Object.assign({eventBus:o},this.getPDFLinkServiceConfig())),this.pdfMultiPageFindController=new d.PDFFindController({linkService:this.pdfMultiPageLinkService,eventBus:o});var r={eventBus:o,container:this.element.nativeElement.querySelector("div"),removePageBorders:!this._showBorders,linkService:this.pdfMultiPageLinkService,textLayerMode:this._renderText?this._renderTextMode:e.RenderTextMode.DISABLED,findController:this.pdfMultiPageFindController};this.pdfMultiPageViewer=new d.PDFViewer(r),this.pdfMultiPageLinkService.setViewer(this.pdfMultiPageViewer),this.pdfMultiPageFindController.setDocument(this._pdf)},o.prototype.setupSinglePageViewer=function(){var t=this;l(p,"disableTextLayer",!this._renderText);var o=g(d,this.destroy$);n.fromEvent(o,"pagechanging").pipe(i.takeUntil(this.destroy$)).subscribe((function(e){var n=e.pageNumber;n!==t._page&&(t.page=n)})),n.fromEvent(o,"pagerendered").pipe(i.takeUntil(this.destroy$)).subscribe((function(e){t.pageRendered.emit(e)})),n.fromEvent(o,"pagesinit").pipe(i.takeUntil(this.destroy$)).subscribe((function(e){t.pageInitialized.emit(e)})),n.fromEvent(o,"textlayerrendered").pipe(i.takeUntil(this.destroy$)).subscribe((function(e){t.textLayerRendered.emit(e)})),this.pdfSinglePageLinkService=new d.PDFLinkService(Object.assign({eventBus:o},this.getPDFLinkServiceConfig())),this.pdfSinglePageFindController=new d.PDFFindController({linkService:this.pdfSinglePageLinkService,eventBus:o});var r={eventBus:o,container:this.element.nativeElement.querySelector("div"),removePageBorders:!this._showBorders,linkService:this.pdfSinglePageLinkService,textLayerMode:this._renderText?this._renderTextMode:e.RenderTextMode.DISABLED,findController:this.pdfSinglePageFindController};this.pdfSinglePageViewer=new d.PDFSinglePageViewer(r),this.pdfSinglePageLinkService.setViewer(this.pdfSinglePageViewer),this.pdfSinglePageFindController.setDocument(this._pdf),this.pdfSinglePageViewer._currentPageNumber=this._page},o.prototype.getValidPageNumber=function(e){return e<1?1:e>this._pdf.numPages?this._pdf.numPages:e},o.prototype.getDocumentParams=function(){var e=typeof this.src;if(!this._cMapsUrl)return this.src;var t={cMapUrl:this._cMapsUrl,cMapPacked:!0};return"string"===e?t.url=this.src:"object"===e&&(void 0!==this.src.byteLength?t.data=this.src:Object.assign(t,this.src)),t},o.prototype.loadPDF=function(){var e=this;if(this.src)if(this.lastLoaded!==this.src){this.clear(),this.loadingTask=p.getDocument(this.getDocumentParams()),this.loadingTask.onProgress=function(t){e.onProgress.emit(t)};var t=this.src;n.from(this.loadingTask.promise).pipe(i.takeUntil(this.destroy$)).subscribe({next:function(n){e._pdf=n,e.lastLoaded=t,e.afterLoadComplete.emit(n),e.pdfMultiPageViewer||(e.setupMultiPageViewer(),e.setupSinglePageViewer()),e.resetPdfDocument(),e.update()},error:function(t){e.onError.emit(t)}})}else this.update()},o.prototype.update=function(){this.page=this._page,this.render()},o.prototype.render=function(){var e=this;this._page=this.getValidPageNumber(this._page);var t=this.getCurrentViewer();0===this._rotation&&t.pagesRotation===this._rotation||setTimeout((function(){t.pagesRotation=e._rotation})),this._stickToPage&&setTimeout((function(){t.currentPageNumber=e._page})),this.updateSize()},o.prototype.getScale=function(e,t){var n=this._showBorders?2*o.BORDER_WIDTH:0,i=this.pdfViewerContainer.nativeElement.clientWidth-n,r=this.pdfViewerContainer.nativeElement.clientHeight-n;if(0===r||0===t||0===i||0===e)return 1;var a=1;switch(this._zoomScale){case"page-fit":a=Math.min(r/t,i/e);break;case"page-height":a=r/t;break;case"page-width":default:a=i/e}return this._zoom*a/o.CSS_UNITS},o.prototype.getCurrentViewer=function(){return this._showAll?this.pdfMultiPageViewer:this.pdfSinglePageViewer},o.prototype.resetPdfDocument=function(){this.pdfFindController.setDocument(this._pdf),this._showAll?(this.pdfSinglePageViewer.setDocument(null),this.pdfSinglePageLinkService.setDocument(null),this.pdfMultiPageViewer.setDocument(this._pdf),this.pdfMultiPageLinkService.setDocument(this._pdf,null)):(this.pdfMultiPageViewer.setDocument(null),this.pdfMultiPageLinkService.setDocument(null),this.pdfSinglePageViewer.setDocument(this._pdf),this.pdfSinglePageLinkService.setDocument(this._pdf,null))},o}();u.CSS_UNITS=96/72,u.BORDER_WIDTH=9,u.decorators=[{type:t.Component,args:[{selector:"pdf-viewer",template:'\n <div #pdfViewerContainer class="ng2-pdf-viewer-container">\n <div class="pdfViewer"></div>\n </div>\n ',styles:['.ng2-pdf-viewer-container{overflow-x:auto;position:absolute;height:100%;width:100%;-webkit-overflow-scrolling:touch}:host ::ng-deep .textLayer{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1}:host ::ng-deep .textLayer>span{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0 0}:host ::ng-deep .textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa;border-radius:4px}:host ::ng-deep .textLayer .highlight.begin{border-radius:4px 0 0 4px}:host ::ng-deep .textLayer .highlight.end{border-radius:0 4px 4px 0}:host ::ng-deep .textLayer .highlight.middle{border-radius:0}:host ::ng-deep .textLayer .highlight.selected{background-color:#006400}:host ::ng-deep .textLayer ::-moz-selection{background:#00f}:host ::ng-deep .textLayer ::selection{background:#00f}:host ::ng-deep .textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host ::ng-deep .textLayer .endOfContent.active{top:0}:host ::ng-deep .annotationLayer section{position:absolute;text-align:initial}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.pushButton>a,:host ::ng-deep .annotationLayer .linkAnnotation>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover,:host ::ng-deep .annotationLayer .linkAnnotation>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}:host ::ng-deep .annotationLayer .textAnnotation img{position:absolute;cursor:pointer}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input,:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select,:host ::ng-deep .annotationLayer .textWidgetAnnotation input,:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea{background-color:rgba(0,54,255,.13);border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select option{padding:0}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled],:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select[disabled],:host ::ng-deep .annotationLayer .textWidgetAnnotation input[disabled],:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:hover,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input:hover,:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select:hover,:host ::ng-deep .annotationLayer .textWidgetAnnotation input:hover,:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea:hover{border:1px solid #000}:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select:focus,:host ::ng-deep .annotationLayer .textWidgetAnnotation input:focus,:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea:focus{background:none;border:1px solid transparent}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:#000;content:"";display:block;position:absolute}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{height:80%;left:45%;width:1px}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}:host ::ng-deep .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}:host ::ng-deep .annotationLayer .textWidgetAnnotation input.comb:focus{width:115%}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}:host ::ng-deep .annotationLayer .popupWrapper{position:absolute;width:20em}:host ::ng-deep .annotationLayer .popup{position:absolute;z-index:200;max-width:20em;background-color:#ff9;box-shadow:0 2px 5px #888;border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;white-space:normal;word-wrap:break-word}:host ::ng-deep .annotationLayer .popup>*{font-size:9px}:host ::ng-deep .annotationLayer .popup h1{display:inline-block}:host ::ng-deep .annotationLayer .popup span{display:inline-block;margin-left:5px}:host ::ng-deep .annotationLayer .popup p{border-top:1px solid #333;margin-top:2px;padding-top:2px}:host ::ng-deep .annotationLayer .caretAnnotation,:host ::ng-deep .annotationLayer .circleAnnotation svg ellipse,:host ::ng-deep .annotationLayer .fileAttachmentAnnotation,:host ::ng-deep .annotationLayer .freeTextAnnotation,:host ::ng-deep .annotationLayer .highlightAnnotation,:host ::ng-deep .annotationLayer .inkAnnotation svg polyline,:host ::ng-deep .annotationLayer .lineAnnotation svg line,:host ::ng-deep .annotationLayer .polygonAnnotation svg polygon,:host ::ng-deep .annotationLayer .polylineAnnotation svg polyline,:host ::ng-deep .annotationLayer .squareAnnotation svg rect,:host ::ng-deep .annotationLayer .squigglyAnnotation,:host ::ng-deep .annotationLayer .stampAnnotation,:host ::ng-deep .annotationLayer .strikeoutAnnotation,:host ::ng-deep .annotationLayer .underlineAnnotation{cursor:pointer}:host ::ng-deep .pdfViewer .canvasWrapper{overflow:hidden}:host ::ng-deep .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:1px auto -8px;position:relative;overflow:visible;border:9px solid transparent;background-clip:content-box;-o-border-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=") 9 9 repeat;border-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=") 9 9 repeat;background-color:#fff}:host ::ng-deep .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}:host ::ng-deep .pdfViewer.singlePageView{display:inline-block}:host ::ng-deep .pdfViewer.singlePageView .page{margin:0;border:none}:host ::ng-deep .pdfViewer.scrollHorizontal,:host ::ng-deep .pdfViewer.scrollWrapped,:host ::ng-deep .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}:host ::ng-deep .pdfViewer.scrollHorizontal,:host ::ng-deep .spread{white-space:nowrap}:host ::ng-deep .pdfViewer.removePageBorders,:host ::ng-deep .pdfViewer.scrollHorizontal .spread,:host ::ng-deep .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}:host ::ng-deep .pdfViewer.scrollHorizontal .page,:host ::ng-deep .pdfViewer.scrollHorizontal .spread,:host ::ng-deep .pdfViewer.scrollWrapped .page,:host ::ng-deep .pdfViewer.scrollWrapped .spread,:host ::ng-deep .spread .page{display:inline-block;vertical-align:middle}:host ::ng-deep .pdfViewer.scrollHorizontal .page,:host ::ng-deep .pdfViewer.scrollWrapped .page,:host ::ng-deep .spread .page{margin-left:-3.5px;margin-right:-3.5px}:host ::ng-deep .pdfViewer.removePageBorders.scrollHorizontal .page,:host ::ng-deep .pdfViewer.removePageBorders.scrollWrapped .page,:host ::ng-deep .pdfViewer.removePageBorders .spread .page{margin-left:5px;margin-right:5px}:host ::ng-deep .pdfViewer .page canvas{margin:0;display:block}:host ::ng-deep .pdfViewer .page canvas[hidden]{display:none}:host ::ng-deep .pdfViewer .page .loadingIcon{position:absolute;display:block;left:0;top:0;right:0;bottom:0;background:url("data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8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Rlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==") 50% no-repeat}:host ::ng-deep .pdfPresentationMode .pdfViewer{margin-left:0;margin-right:0}:host ::ng-deep .pdfPresentationMode .pdfViewer .page,:host ::ng-deep .pdfPresentationMode .pdfViewer .spread{display:block}:host ::ng-deep .pdfPresentationMode .pdfViewer .page,:host ::ng-deep .pdfPresentationMode .pdfViewer.removePageBorders .page{margin-left:auto;margin-right:auto}:host ::ng-deep .pdfPresentationMode:-moz-full-screen .pdfViewer .page,:host ::ng-deep .pdfPresentationMode:-ms-fullscreen .pdfViewer .page,:host ::ng-deep .pdfPresentationMode:-webkit-full-screen .pdfViewer .page,:host ::ng-deep .pdfPresentationMode:fullscreen .pdfViewer .page{margin-bottom:100%;border:0}']}]}],u.ctorParameters=function(){return[{type:t.ElementRef}]},u.propDecorators={pdfViewerContainer:[{type:t.ViewChild,args:["pdfViewerContainer"]}],afterLoadComplete:[{type:t.Output,args:["after-load-complete"]}],pageRendered:[{type:t.Output,args:["page-rendered"]}],pageInitialized:[{type:t.Output,args:["pages-initialized"]}],textLayerRendered:[{type:t.Output,args:["text-layer-rendered"]}],onError:[{type:t.Output,args:["error"]}],onProgress:[{type:t.Output,args:["on-progress"]}],pageChange:[{type:t.Output}],src:[{type:t.Input}],cMapsUrl:[{type:t.Input,args:["c-maps-url"]}],page:[{type:t.Input,args:["page"]}],renderText:[{type:t.Input,args:["render-text"]}],renderTextMode:[{type:t.Input,args:["render-text-mode"]}],originalSize:[{type:t.Input,args:["original-size"]}],showAll:[{type:t.Input,args:["show-all"]}],stickToPage:[{type:t.Input,args:["stick-to-page"]}],zoom:[{type:t.Input,args:["zoom"]}],zoomScale:[{type:t.Input,args:["zoom-scale"]}],rotation:[{type:t.Input,args:["rotation"]}],externalLinkTarget:[{type:t.Input,args:["external-link-target"]}],autoresize:[{type:t.Input,args:["autoresize"]}],fitToPage:[{type:t.Input,args:["fit-to-page"]}],showBorders:[{type:t.Input,args:["show-borders"]}],onPageResize:[{type:t.HostListener,args:["window:resize",[]]}]};var h=function(){};h.decorators=[{type:t.NgModule,args:[{declarations:[u],exports:[u]}]}],e.PdfViewerComponent=u,e.PdfViewerModule=h,Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs"),require("rxjs/operators"),require("pdfjs-dist/es5/build/pdf"),require("pdfjs-dist/es5/web/pdf_viewer")):"function"==typeof define&&define.amd?define("ng2-pdf-viewer",["exports","@angular/core","rxjs","rxjs/operators","pdfjs-dist/es5/build/pdf","pdfjs-dist/es5/web/pdf_viewer"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["ng2-pdf-viewer"]={},e.ng.core,e.rxjs,e.rxjs.operators,e.PDFJS,e.PDFJSViewer)}(this,(function(e,t,n,i,o,r){"use strict";function a(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var s,p=a(o),d=a(r);function g(e,t){var o=new e.EventBus;return function(e,t){n.fromEvent(e,"documentload").pipe(i.takeUntil(t)).subscribe((function(){var e=document.createEvent("CustomEvent");e.initCustomEvent("documentload",!0,!0,{}),window.dispatchEvent(e)})),n.fromEvent(e,"pagerendered").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.pageNumber,n=e.cssTransform,i=e.source,o=document.createEvent("CustomEvent");o.initCustomEvent("pagerendered",!0,!0,{pageNumber:t,cssTransform:n}),i.div.dispatchEvent(o)})),n.fromEvent(e,"textlayerrendered").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.pageNumber,n=e.source,i=document.createEvent("CustomEvent");i.initCustomEvent("textlayerrendered",!0,!0,{pageNumber:t}),n.textLayerDiv.dispatchEvent(i)})),n.fromEvent(e,"pagechanging").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.pageNumber,n=e.source,i=document.createEvent("UIEvents");i.initEvent("pagechanging",!0,!0),i.pageNumber=t,n.container.dispatchEvent(i)})),n.fromEvent(e,"pagesinit").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.source,n=document.createEvent("CustomEvent");n.initCustomEvent("pagesinit",!0,!0,null),t.container.dispatchEvent(n)})),n.fromEvent(e,"pagesloaded").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.pagesCount,n=e.source,i=document.createEvent("CustomEvent");i.initCustomEvent("pagesloaded",!0,!0,{pagesCount:t}),n.container.dispatchEvent(i)})),n.fromEvent(e,"scalechange").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.scale,n=e.presetValue,i=e.source,o=document.createEvent("UIEvents");o.initEvent("scalechange",!0,!0),o.scale=t,o.presetValue=n,i.container.dispatchEvent(o)})),n.fromEvent(e,"updateviewarea").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.location,n=e.source,i=document.createEvent("UIEvents");i.initEvent("updateviewarea",!0,!0),i.location=t,n.container.dispatchEvent(i)})),n.fromEvent(e,"find").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.source,n=e.type,i=e.query,o=e.phraseSearch,r=e.caseSensitive,a=e.highlightAll,s=e.findPrevious;if(t!==window){var p=document.createEvent("CustomEvent");p.initCustomEvent("find"+n,!0,!0,{query:i,phraseSearch:o,caseSensitive:r,highlightAll:a,findPrevious:s}),window.dispatchEvent(p)}})),n.fromEvent(e,"attachmentsloaded").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.attachmentsCount,n=e.source,i=document.createEvent("CustomEvent");i.initCustomEvent("attachmentsloaded",!0,!0,{attachmentsCount:t}),n.container.dispatchEvent(i)})),n.fromEvent(e,"sidebarviewchanged").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.view,n=e.source,i=document.createEvent("CustomEvent");i.initCustomEvent("sidebarviewchanged",!0,!0,{view:t}),n.outerContainer.dispatchEvent(i)})),n.fromEvent(e,"pagemode").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.mode,n=e.source,i=document.createEvent("CustomEvent");i.initCustomEvent("pagemode",!0,!0,{mode:t}),n.pdfViewer.container.dispatchEvent(i)})),n.fromEvent(e,"namedaction").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.action,n=e.source,i=document.createEvent("CustomEvent");i.initCustomEvent("namedaction",!0,!0,{action:t}),n.pdfViewer.container.dispatchEvent(i)})),n.fromEvent(e,"presentationmodechanged").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.active,n=e.switchInProgress,i=document.createEvent("CustomEvent");i.initCustomEvent("presentationmodechanged",!0,!0,{active:t,switchInProgress:n}),window.dispatchEvent(i)})),n.fromEvent(e,"outlineloaded").pipe(i.takeUntil(t)).subscribe((function(e){var t=e.outlineCount,n=e.source,i=document.createEvent("CustomEvent");i.initCustomEvent("outlineloaded",!0,!0,{outlineCount:t}),n.container.dispatchEvent(i)}))}(o,t),o}function l(e,t,n){e[t]=n}function c(){return"undefined"==typeof window}c()||l(p,"verbosity",p.VerbosityLevel.ERRORS),e.RenderTextMode=void 0,(s=e.RenderTextMode||(e.RenderTextMode={}))[s.DISABLED=0]="DISABLED",s[s.ENABLED=1]="ENABLED",s[s.ENHANCED=2]="ENHANCED";var u=function(){function o(i,o){var r;(this.element=i,this.ngZone=o,this.isVisible=!1,this._cMapsUrl=void 0!==p?"https://unpkg.com/pdfjs-dist@"+p.version+"/cmaps/":null,this._renderText=!0,this._renderTextMode=e.RenderTextMode.ENABLED,this._stickToPage=!1,this._originalSize=!0,this._page=1,this._zoom=1,this._zoomScale="page-width",this._rotation=0,this._showAll=!0,this._canAutoResize=!0,this._fitToPage=!1,this._externalLinkTarget="blank",this._showBorders=!1,this.resizeTimeout=null,this.pageScrollTimeout=null,this.isInitialized=!1,this.destroy$=new n.Subject,this.afterLoadComplete=new t.EventEmitter,this.pageRendered=new t.EventEmitter,this.pageInitialized=new t.EventEmitter,this.textLayerRendered=new t.EventEmitter,this.onError=new t.EventEmitter,this.onProgress=new t.EventEmitter,this.pageChange=new t.EventEmitter(!0),c())||(r=window.hasOwnProperty("pdfWorkerSrc")&&"string"==typeof window.pdfWorkerSrc&&window.pdfWorkerSrc?window.pdfWorkerSrc:"https://cdn.jsdelivr.net/npm/pdfjs-dist@"+p.version+"/es5/build/pdf.worker.js",l(p.GlobalWorkerOptions,"workerSrc",r))}return Object.defineProperty(o.prototype,"cMapsUrl",{set:function(e){this._cMapsUrl=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"page",{set:function(e){var t=e=parseInt(e,10)||1;this._pdf&&(e=this.getValidPageNumber(e)),this._page=e,t!==e&&this.pageChange.emit(e)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"renderText",{set:function(e){this._renderText=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"renderTextMode",{set:function(e){this._renderTextMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"originalSize",{set:function(e){this._originalSize=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"showAll",{set:function(e){this._showAll=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"stickToPage",{set:function(e){this._stickToPage=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"zoom",{get:function(){return this._zoom},set:function(e){e<=0||(this._zoom=e)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"zoomScale",{get:function(){return this._zoomScale},set:function(e){this._zoomScale=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"rotation",{set:function(e){"number"==typeof e&&e%90==0?this._rotation=e:console.warn("Invalid pages rotation angle.")},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"externalLinkTarget",{set:function(e){this._externalLinkTarget=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"autoresize",{set:function(e){this._canAutoResize=Boolean(e)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"fitToPage",{set:function(e){this._fitToPage=Boolean(e)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"showBorders",{set:function(e){this._showBorders=Boolean(e)},enumerable:!1,configurable:!0}),o.getLinkTarget=function(e){switch(e){case"blank":return p.LinkTarget.BLANK;case"none":return p.LinkTarget.NONE;case"self":return p.LinkTarget.SELF;case"parent":return p.LinkTarget.PARENT;case"top":return p.LinkTarget.TOP}return null},o.prototype.ngAfterViewChecked=function(){var e=this;if(!this.isInitialized){var t=this.pdfViewerContainer.nativeElement.offsetParent;!0!==this.isVisible||null!=t?!1===this.isVisible&&null!=t&&(this.isVisible=!0,setTimeout((function(){e.initialize(),e.ngOnChanges({src:e.src})}))):this.isVisible=!1}},o.prototype.ngOnInit=function(){this.initialize(),this.setupResizeListener()},o.prototype.ngOnDestroy=function(){this.clear(),this.destroy$.next(),this.loadingTask=null},Object.defineProperty(o.prototype,"pdfLinkService",{get:function(){return this._showAll?this.pdfMultiPageLinkService:this.pdfSinglePageLinkService},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"pdfViewer",{get:function(){return this.getCurrentViewer()},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"pdfFindController",{get:function(){return this._showAll?this.pdfMultiPageFindController:this.pdfSinglePageFindController},enumerable:!1,configurable:!0}),o.prototype.ngOnChanges=function(t){if(!c()&&this.isVisible)if("src"in t)this.loadPDF();else if(this._pdf){if("renderText"in t?(this.getCurrentViewer().textLayerMode=this._renderText?this._renderTextMode:e.RenderTextMode.DISABLED,this.resetPdfDocument()):"showAll"in t&&this.resetPdfDocument(),"page"in t){if(t.page.currentValue===this._latestScrolledPage)return;this.getCurrentViewer().scrollPageIntoView({pageNumber:this._page})}this.update()}},o.prototype.updateSize=function(){var e=this,t=this.getCurrentViewer();n.from(this._pdf.getPage(t.currentPageNumber)).pipe(i.takeUntil(this.destroy$)).subscribe({next:function(n){var i=e._rotation||n.rotate,r=n.getViewport({scale:e._zoom,rotation:i}).width*o.CSS_UNITS,a=e._zoom,s=!0;if(!e._originalSize||e._fitToPage&&r>e.pdfViewerContainer.nativeElement.clientWidth){var p=n.getViewport({scale:1,rotation:i});a=e.getScale(p.width,p.height),s=!e._stickToPage}t._setScale(a,s)}})},o.prototype.clear=function(){this.loadingTask&&!this.loadingTask.destroyed&&this.loadingTask.destroy(),this._pdf&&(this._pdf.destroy(),this._pdf=null,this.pdfMultiPageViewer.setDocument(null),this.pdfSinglePageViewer.setDocument(null),this.pdfMultiPageLinkService.setDocument(null,null),this.pdfSinglePageLinkService.setDocument(null,null),this.pdfMultiPageFindController.setDocument(null),this.pdfSinglePageFindController.setDocument(null))},o.prototype.getPDFLinkServiceConfig=function(){var e={},t=o.getLinkTarget(this._externalLinkTarget);return t&&(e.externalLinkTarget=t),e},o.prototype.setupMultiPageViewer=function(){var t=this;l(p,"disableTextLayer",!this._renderText);var o=g(d,this.destroy$);n.fromEvent(o,"pagerendered").pipe(i.takeUntil(this.destroy$)).subscribe((function(e){t.pageRendered.emit(e)})),n.fromEvent(o,"pagesinit").pipe(i.takeUntil(this.destroy$)).subscribe((function(e){t.pageInitialized.emit(e)})),n.fromEvent(o,"pagechanging").pipe(i.takeUntil(this.destroy$)).subscribe((function(e){var n=e.pageNumber;t.pageScrollTimeout&&clearTimeout(t.pageScrollTimeout),t.pageScrollTimeout=window.setTimeout((function(){t._latestScrolledPage=n,t.pageChange.emit(n)}),100)})),n.fromEvent(o,"textlayerrendered").pipe(i.takeUntil(this.destroy$)).subscribe((function(e){t.textLayerRendered.emit(e)})),this.pdfMultiPageLinkService=new d.PDFLinkService(Object.assign({eventBus:o},this.getPDFLinkServiceConfig())),this.pdfMultiPageFindController=new d.PDFFindController({linkService:this.pdfMultiPageLinkService,eventBus:o});var r={eventBus:o,container:this.element.nativeElement.querySelector("div"),removePageBorders:!this._showBorders,linkService:this.pdfMultiPageLinkService,textLayerMode:this._renderText?this._renderTextMode:e.RenderTextMode.DISABLED,findController:this.pdfMultiPageFindController};this.pdfMultiPageViewer=new d.PDFViewer(r),this.pdfMultiPageLinkService.setViewer(this.pdfMultiPageViewer),this.pdfMultiPageFindController.setDocument(this._pdf)},o.prototype.setupSinglePageViewer=function(){var t=this;l(p,"disableTextLayer",!this._renderText);var o=g(d,this.destroy$);n.fromEvent(o,"pagechanging").pipe(i.takeUntil(this.destroy$)).subscribe((function(e){var n=e.pageNumber;n!==t._page&&(t.page=n)})),n.fromEvent(o,"pagerendered").pipe(i.takeUntil(this.destroy$)).subscribe((function(e){t.pageRendered.emit(e)})),n.fromEvent(o,"pagesinit").pipe(i.takeUntil(this.destroy$)).subscribe((function(e){t.pageInitialized.emit(e)})),n.fromEvent(o,"textlayerrendered").pipe(i.takeUntil(this.destroy$)).subscribe((function(e){t.textLayerRendered.emit(e)})),this.pdfSinglePageLinkService=new d.PDFLinkService(Object.assign({eventBus:o},this.getPDFLinkServiceConfig())),this.pdfSinglePageFindController=new d.PDFFindController({linkService:this.pdfSinglePageLinkService,eventBus:o});var r={eventBus:o,container:this.element.nativeElement.querySelector("div"),removePageBorders:!this._showBorders,linkService:this.pdfSinglePageLinkService,textLayerMode:this._renderText?this._renderTextMode:e.RenderTextMode.DISABLED,findController:this.pdfSinglePageFindController};this.pdfSinglePageViewer=new d.PDFSinglePageViewer(r),this.pdfSinglePageLinkService.setViewer(this.pdfSinglePageViewer),this.pdfSinglePageFindController.setDocument(this._pdf),this.pdfSinglePageViewer._currentPageNumber=this._page},o.prototype.getValidPageNumber=function(e){return e<1?1:e>this._pdf.numPages?this._pdf.numPages:e},o.prototype.getDocumentParams=function(){var e=typeof this.src;if(!this._cMapsUrl)return this.src;var t={cMapUrl:this._cMapsUrl,cMapPacked:!0};return"string"===e?t.url=this.src:"object"===e&&(void 0!==this.src.byteLength?t.data=this.src:Object.assign(t,this.src)),t},o.prototype.loadPDF=function(){var e=this;if(this.src)if(this.lastLoaded!==this.src){this.clear(),this.loadingTask=p.getDocument(this.getDocumentParams()),this.loadingTask.onProgress=function(t){e.onProgress.emit(t)};var t=this.src;n.from(this.loadingTask.promise).pipe(i.takeUntil(this.destroy$)).subscribe({next:function(n){e._pdf=n,e.lastLoaded=t,e.afterLoadComplete.emit(n),e.pdfMultiPageViewer||(e.setupMultiPageViewer(),e.setupSinglePageViewer()),e.resetPdfDocument(),e.update()},error:function(t){e.onError.emit(t)}})}else this.update()},o.prototype.update=function(){this.page=this._page,this.render()},o.prototype.render=function(){var e=this;this._page=this.getValidPageNumber(this._page);var t=this.getCurrentViewer();0===this._rotation&&t.pagesRotation===this._rotation||setTimeout((function(){t.pagesRotation=e._rotation})),this._stickToPage&&setTimeout((function(){t.currentPageNumber=e._page})),this.updateSize()},o.prototype.getScale=function(e,t){var n=this._showBorders?2*o.BORDER_WIDTH:0,i=this.pdfViewerContainer.nativeElement.clientWidth-n,r=this.pdfViewerContainer.nativeElement.clientHeight-n;if(0===r||0===t||0===i||0===e)return 1;var a=1;switch(this._zoomScale){case"page-fit":a=Math.min(r/t,i/e);break;case"page-height":a=r/t;break;case"page-width":default:a=i/e}return this._zoom*a/o.CSS_UNITS},o.prototype.getCurrentViewer=function(){return this._showAll?this.pdfMultiPageViewer:this.pdfSinglePageViewer},o.prototype.resetPdfDocument=function(){this.pdfFindController.setDocument(this._pdf),this._showAll?(this.pdfSinglePageViewer.setDocument(null),this.pdfSinglePageLinkService.setDocument(null),this.pdfMultiPageViewer.setDocument(this._pdf),this.pdfMultiPageLinkService.setDocument(this._pdf,null)):(this.pdfMultiPageViewer.setDocument(null),this.pdfMultiPageLinkService.setDocument(null),this.pdfSinglePageViewer.setDocument(this._pdf),this.pdfSinglePageLinkService.setDocument(this._pdf,null))},o.prototype.initialize=function(){!c()&&this.isVisible&&(this.isInitialized=!0,this.setupMultiPageViewer(),this.setupSinglePageViewer())},o.prototype.setupResizeListener=function(){var e=this;c()||this.ngZone.runOutsideAngular((function(){n.fromEvent(window,"resize").pipe(i.debounceTime(100),i.filter((function(){return e._canAutoResize&&!!e._pdf})),i.takeUntil(e.destroy$)).subscribe((function(){e.updateSize()}))}))},o}();u.CSS_UNITS=96/72,u.BORDER_WIDTH=9,u.decorators=[{type:t.Component,args:[{selector:"pdf-viewer",template:'\n <div #pdfViewerContainer class="ng2-pdf-viewer-container">\n <div class="pdfViewer"></div>\n </div>\n ',styles:['.ng2-pdf-viewer-container{overflow-x:auto;position:absolute;height:100%;width:100%;-webkit-overflow-scrolling:touch}:host ::ng-deep .textLayer{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1}:host ::ng-deep .textLayer>span{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0 0}:host ::ng-deep .textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa;border-radius:4px}:host ::ng-deep .textLayer .highlight.begin{border-radius:4px 0 0 4px}:host ::ng-deep .textLayer .highlight.end{border-radius:0 4px 4px 0}:host ::ng-deep .textLayer .highlight.middle{border-radius:0}:host ::ng-deep .textLayer .highlight.selected{background-color:#006400}:host ::ng-deep .textLayer ::-moz-selection{background:#00f}:host ::ng-deep .textLayer ::selection{background:#00f}:host ::ng-deep .textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host ::ng-deep .textLayer .endOfContent.active{top:0}:host ::ng-deep .annotationLayer section{position:absolute;text-align:initial}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.pushButton>a,:host ::ng-deep .annotationLayer .linkAnnotation>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover,:host ::ng-deep .annotationLayer .linkAnnotation>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}:host ::ng-deep .annotationLayer .textAnnotation img{position:absolute;cursor:pointer}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input,:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select,:host ::ng-deep .annotationLayer .textWidgetAnnotation input,:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea{background-color:rgba(0,54,255,.13);border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select option{padding:0}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled],:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select[disabled],:host ::ng-deep .annotationLayer .textWidgetAnnotation input[disabled],:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:hover,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input:hover,:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select:hover,:host ::ng-deep .annotationLayer .textWidgetAnnotation input:hover,:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea:hover{border:1px solid #000}:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select:focus,:host ::ng-deep .annotationLayer .textWidgetAnnotation input:focus,:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea:focus{background:none;border:1px solid transparent}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:#000;content:"";display:block;position:absolute}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{height:80%;left:45%;width:1px}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}:host ::ng-deep .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}:host ::ng-deep .annotationLayer .textWidgetAnnotation input.comb:focus{width:115%}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}:host ::ng-deep .annotationLayer .popupWrapper{position:absolute;width:20em}:host ::ng-deep .annotationLayer .popup{position:absolute;z-index:200;max-width:20em;background-color:#ff9;box-shadow:0 2px 5px #888;border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;white-space:normal;word-wrap:break-word}:host ::ng-deep .annotationLayer .popup>*{font-size:9px}:host ::ng-deep .annotationLayer .popup h1{display:inline-block}:host ::ng-deep .annotationLayer .popup span{display:inline-block;margin-left:5px}:host ::ng-deep .annotationLayer .popup p{border-top:1px solid #333;margin-top:2px;padding-top:2px}:host ::ng-deep .annotationLayer .caretAnnotation,:host ::ng-deep .annotationLayer .circleAnnotation svg ellipse,:host ::ng-deep .annotationLayer .fileAttachmentAnnotation,:host ::ng-deep .annotationLayer .freeTextAnnotation,:host ::ng-deep .annotationLayer .highlightAnnotation,:host ::ng-deep .annotationLayer .inkAnnotation svg polyline,:host ::ng-deep .annotationLayer .lineAnnotation svg line,:host ::ng-deep .annotationLayer .polygonAnnotation svg polygon,:host ::ng-deep .annotationLayer .polylineAnnotation svg polyline,:host ::ng-deep .annotationLayer .squareAnnotation svg rect,:host ::ng-deep .annotationLayer .squigglyAnnotation,:host ::ng-deep .annotationLayer .stampAnnotation,:host ::ng-deep .annotationLayer .strikeoutAnnotation,:host ::ng-deep .annotationLayer .underlineAnnotation{cursor:pointer}:host ::ng-deep .pdfViewer .canvasWrapper{overflow:hidden}:host ::ng-deep .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:1px auto -8px;position:relative;overflow:visible;border:9px solid transparent;background-clip:content-box;-o-border-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=") 9 9 repeat;border-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=") 9 9 repeat;background-color:#fff}:host ::ng-deep .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}:host ::ng-deep .pdfViewer.singlePageView{display:inline-block}:host ::ng-deep .pdfViewer.singlePageView .page{margin:0;border:none}:host ::ng-deep .pdfViewer.scrollHorizontal,:host ::ng-deep .pdfViewer.scrollWrapped,:host ::ng-deep .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}:host ::ng-deep .pdfViewer.scrollHorizontal,:host ::ng-deep .spread{white-space:nowrap}:host ::ng-deep .pdfViewer.removePageBorders,:host ::ng-deep .pdfViewer.scrollHorizontal .spread,:host ::ng-deep .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}:host ::ng-deep .pdfViewer.scrollHorizontal .page,:host ::ng-deep .pdfViewer.scrollHorizontal .spread,:host ::ng-deep .pdfViewer.scrollWrapped .page,:host ::ng-deep .pdfViewer.scrollWrapped .spread,:host ::ng-deep .spread .page{display:inline-block;vertical-align:middle}:host ::ng-deep .pdfViewer.scrollHorizontal .page,:host ::ng-deep .pdfViewer.scrollWrapped .page,:host ::ng-deep .spread .page{margin-left:-3.5px;margin-right:-3.5px}:host ::ng-deep .pdfViewer.removePageBorders.scrollHorizontal .page,:host ::ng-deep .pdfViewer.removePageBorders.scrollWrapped .page,:host ::ng-deep .pdfViewer.removePageBorders .spread .page{margin-left:5px;margin-right:5px}:host ::ng-deep .pdfViewer .page canvas{margin:0;display:block}:host ::ng-deep .pdfViewer .page canvas[hidden]{display:none}:host ::ng-deep .pdfViewer .page .loadingIcon{position:absolute;display:block;left:0;top:0;right:0;bottom:0;background:url("data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyFAoKEQDxra2mAEgjghOpCgz3LTBIxJ5kgwMBShACREHZ1V4Kg1rS44pBAgMDAg/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QFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==") 50% no-repeat}:host ::ng-deep .pdfPresentationMode .pdfViewer{margin-left:0;margin-right:0}:host ::ng-deep .pdfPresentationMode .pdfViewer .page,:host ::ng-deep .pdfPresentationMode .pdfViewer .spread{display:block}:host ::ng-deep .pdfPresentationMode .pdfViewer .page,:host ::ng-deep .pdfPresentationMode .pdfViewer.removePageBorders .page{margin-left:auto;margin-right:auto}:host ::ng-deep .pdfPresentationMode:-moz-full-screen .pdfViewer .page,:host ::ng-deep .pdfPresentationMode:-ms-fullscreen .pdfViewer .page,:host ::ng-deep .pdfPresentationMode:-webkit-full-screen .pdfViewer .page,:host ::ng-deep .pdfPresentationMode:fullscreen .pdfViewer .page{margin-bottom:100%;border:0}']}]}],u.ctorParameters=function(){return[{type:t.ElementRef},{type:t.NgZone}]},u.propDecorators={pdfViewerContainer:[{type:t.ViewChild,args:["pdfViewerContainer"]}],afterLoadComplete:[{type:t.Output,args:["after-load-complete"]}],pageRendered:[{type:t.Output,args:["page-rendered"]}],pageInitialized:[{type:t.Output,args:["pages-initialized"]}],textLayerRendered:[{type:t.Output,args:["text-layer-rendered"]}],onError:[{type:t.Output,args:["error"]}],onProgress:[{type:t.Output,args:["on-progress"]}],pageChange:[{type:t.Output}],src:[{type:t.Input}],cMapsUrl:[{type:t.Input,args:["c-maps-url"]}],page:[{type:t.Input,args:["page"]}],renderText:[{type:t.Input,args:["render-text"]}],renderTextMode:[{type:t.Input,args:["render-text-mode"]}],originalSize:[{type:t.Input,args:["original-size"]}],showAll:[{type:t.Input,args:["show-all"]}],stickToPage:[{type:t.Input,args:["stick-to-page"]}],zoom:[{type:t.Input,args:["zoom"]}],zoomScale:[{type:t.Input,args:["zoom-scale"]}],rotation:[{type:t.Input,args:["rotation"]}],externalLinkTarget:[{type:t.Input,args:["external-link-target"]}],autoresize:[{type:t.Input,args:["autoresize"]}],fitToPage:[{type:t.Input,args:["fit-to-page"]}],showBorders:[{type:t.Input,args:["show-borders"]}]};var h=function(){};h.decorators=[{type:t.NgModule,args:[{declarations:[u],exports:[u]}]}],e.PdfViewerComponent=u,e.PdfViewerModule=h,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=ng2-pdf-viewer.umd.min.js.map

@@ -1,6 +0,6 @@

import { EventEmitter, Component, ElementRef, ViewChild, Output, Input, HostListener, NgModule } from '@angular/core';
import { EventEmitter, Component, ElementRef, NgZone, ViewChild, Output, Input, NgModule } from '@angular/core';
import { fromEvent, Subject, from } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import * as PDFJS from 'pdfjs-dist';
import * as PDFJSViewer from 'pdfjs-dist/web/pdf_viewer';
import { takeUntil, debounceTime, filter } from 'rxjs/operators';
import * as PDFJS from 'pdfjs-dist/es5/build/pdf';
import * as PDFJSViewer from 'pdfjs-dist/es5/web/pdf_viewer';

@@ -164,4 +164,5 @@ function createEventBus(pdfJsViewer, destroy$) {

class PdfViewerComponent {
constructor(element) {
constructor(element, ngZone) {
this.element = element;
this.ngZone = ngZone;
this.isVisible = false;

@@ -299,3 +300,3 @@ this._cMapsUrl = typeof PDFJS !== 'undefined'

setTimeout(() => {
this.ngOnInit();
this.initialize();
this.ngOnChanges({ src: this.src });

@@ -306,7 +307,4 @@ });

ngOnInit() {
if (!isSSR() && this.isVisible) {
this.isInitialized = true;
this.setupMultiPageViewer();
this.setupSinglePageViewer();
}
this.initialize();
this.setupResizeListener();
}

@@ -318,13 +316,2 @@ ngOnDestroy() {

}
onPageResize() {
if (!this._canAutoResize || !this._pdf) {
return;
}
if (this.resizeTimeout) {
clearTimeout(this.resizeTimeout);
}
this.resizeTimeout = window.setTimeout(() => {
this.updateSize();
}, 100);
}
get pdfLinkService() {

@@ -637,2 +624,22 @@ return this._showAll

}
initialize() {
if (isSSR() || !this.isVisible) {
return;
}
this.isInitialized = true;
this.setupMultiPageViewer();
this.setupSinglePageViewer();
}
setupResizeListener() {
if (isSSR()) {
return;
}
this.ngZone.runOutsideAngular(() => {
fromEvent(window, 'resize')
.pipe(debounceTime(100), filter(() => this._canAutoResize && !!this._pdf), takeUntil(this.destroy$))
.subscribe(() => {
this.updateSize();
});
});
}
}

@@ -653,3 +660,4 @@ PdfViewerComponent.CSS_UNITS = 96.0 / 72.0;

PdfViewerComponent.ctorParameters = () => [
{ type: ElementRef }
{ type: ElementRef },
{ type: NgZone }
];

@@ -679,4 +687,3 @@ PdfViewerComponent.propDecorators = {

fitToPage: [{ type: Input, args: ['fit-to-page',] }],
showBorders: [{ type: Input, args: ['show-borders',] }],
onPageResize: [{ type: HostListener, args: ['window:resize', [],] }]
showBorders: [{ type: Input, args: ['show-borders',] }]
};

@@ -683,0 +690,0 @@

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"PdfViewerModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"PdfViewerComponent"}],"exports":[{"__symbolic":"reference","name":"PdfViewerComponent"}]}]}],"members":{}},"PDFPageProxy":{"__symbolic":"interface"},"PDFSource":{"__symbolic":"interface"},"PDFDocumentProxy":{"__symbolic":"interface"},"PDFDocumentLoadingTask":{"__symbolic":"interface"},"PDFProgressData":{"__symbolic":"interface"},"RenderTextMode":{"DISABLED":0,"ENABLED":1,"ENHANCED":2},"PdfViewerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":43,"character":1},"arguments":[{"selector":"pdf-viewer","template":"\n <div #pdfViewerContainer class=\"ng2-pdf-viewer-container\">\n <div class=\"pdfViewer\"></div>\n </div>\n ","styles":[".ng2-pdf-viewer-container{overflow-x:auto;position:absolute;height:100%;width:100%;-webkit-overflow-scrolling:touch}:host ::ng-deep .textLayer{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1}:host ::ng-deep .textLayer>span{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0 0}:host ::ng-deep .textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa;border-radius:4px}:host ::ng-deep .textLayer .highlight.begin{border-radius:4px 0 0 4px}:host ::ng-deep .textLayer .highlight.end{border-radius:0 4px 4px 0}:host ::ng-deep .textLayer .highlight.middle{border-radius:0}:host ::ng-deep .textLayer .highlight.selected{background-color:#006400}:host ::ng-deep .textLayer ::-moz-selection{background:#00f}:host ::ng-deep .textLayer ::selection{background:#00f}:host ::ng-deep .textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host ::ng-deep .textLayer .endOfContent.active{top:0}:host ::ng-deep .annotationLayer section{position:absolute;text-align:initial}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.pushButton>a,:host ::ng-deep .annotationLayer .linkAnnotation>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover,:host ::ng-deep .annotationLayer .linkAnnotation>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}:host ::ng-deep .annotationLayer .textAnnotation img{position:absolute;cursor:pointer}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input,:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select,:host ::ng-deep .annotationLayer .textWidgetAnnotation input,:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea{background-color:rgba(0,54,255,.13);border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select option{padding:0}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled],:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select[disabled],:host ::ng-deep .annotationLayer .textWidgetAnnotation input[disabled],:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:hover,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input:hover,:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select:hover,:host ::ng-deep .annotationLayer .textWidgetAnnotation input:hover,:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea:hover{border:1px solid #000}:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select:focus,:host ::ng-deep .annotationLayer .textWidgetAnnotation input:focus,:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea:focus{background:none;border:1px solid transparent}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:#000;content:\"\";display:block;position:absolute}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{height:80%;left:45%;width:1px}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}:host ::ng-deep .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}:host ::ng-deep .annotationLayer .textWidgetAnnotation input.comb:focus{width:115%}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}:host ::ng-deep .annotationLayer .popupWrapper{position:absolute;width:20em}:host ::ng-deep .annotationLayer .popup{position:absolute;z-index:200;max-width:20em;background-color:#ff9;box-shadow:0 2px 5px #888;border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;white-space:normal;word-wrap:break-word}:host ::ng-deep .annotationLayer .popup>*{font-size:9px}:host ::ng-deep .annotationLayer .popup h1{display:inline-block}:host ::ng-deep .annotationLayer .popup span{display:inline-block;margin-left:5px}:host ::ng-deep .annotationLayer .popup p{border-top:1px solid #333;margin-top:2px;padding-top:2px}:host ::ng-deep .annotationLayer .caretAnnotation,:host ::ng-deep .annotationLayer .circleAnnotation svg ellipse,:host ::ng-deep .annotationLayer .fileAttachmentAnnotation,:host ::ng-deep .annotationLayer .freeTextAnnotation,:host ::ng-deep .annotationLayer .highlightAnnotation,:host ::ng-deep .annotationLayer .inkAnnotation svg polyline,:host ::ng-deep .annotationLayer .lineAnnotation svg line,:host ::ng-deep .annotationLayer .polygonAnnotation svg polygon,:host ::ng-deep .annotationLayer .polylineAnnotation svg polyline,:host ::ng-deep .annotationLayer .squareAnnotation svg rect,:host ::ng-deep .annotationLayer .squigglyAnnotation,:host ::ng-deep .annotationLayer .stampAnnotation,:host ::ng-deep .annotationLayer .strikeoutAnnotation,:host ::ng-deep .annotationLayer .underlineAnnotation{cursor:pointer}:host ::ng-deep .pdfViewer .canvasWrapper{overflow:hidden}:host ::ng-deep .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:1px auto -8px;position:relative;overflow:visible;border:9px solid transparent;background-clip:content-box;-o-border-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=\") 9 9 repeat;border-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=\") 9 9 repeat;background-color:#fff}:host ::ng-deep .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}:host ::ng-deep .pdfViewer.singlePageView{display:inline-block}:host ::ng-deep .pdfViewer.singlePageView .page{margin:0;border:none}:host ::ng-deep .pdfViewer.scrollHorizontal,:host ::ng-deep .pdfViewer.scrollWrapped,:host ::ng-deep .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}:host ::ng-deep .pdfViewer.scrollHorizontal,:host ::ng-deep .spread{white-space:nowrap}:host ::ng-deep .pdfViewer.removePageBorders,:host ::ng-deep .pdfViewer.scrollHorizontal .spread,:host ::ng-deep .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}:host ::ng-deep .pdfViewer.scrollHorizontal .page,:host ::ng-deep .pdfViewer.scrollHorizontal .spread,:host ::ng-deep .pdfViewer.scrollWrapped .page,:host ::ng-deep .pdfViewer.scrollWrapped .spread,:host ::ng-deep .spread .page{display:inline-block;vertical-align:middle}:host ::ng-deep .pdfViewer.scrollHorizontal .page,:host ::ng-deep .pdfViewer.scrollWrapped .page,:host ::ng-deep .spread .page{margin-left:-3.5px;margin-right:-3.5px}:host ::ng-deep .pdfViewer.removePageBorders.scrollHorizontal .page,:host ::ng-deep .pdfViewer.removePageBorders.scrollWrapped .page,:host ::ng-deep .pdfViewer.removePageBorders .spread .page{margin-left:5px;margin-right:5px}:host ::ng-deep .pdfViewer .page canvas{margin:0;display:block}:host ::ng-deep .pdfViewer .page canvas[hidden]{display:none}:host ::ng-deep .pdfViewer .page .loadingIcon{position:absolute;display:block;left:0;top:0;right:0;bottom:0;background:url(\"data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQ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NiV0UDUIBNkdoepTfMkA7thIECiyRtUAGq8fm2O4jIBgMBA1eAZ6Knx+gHaJR4QwdCMKBxEJRggFDGgQEREPjjAMBQUKIwIRDhBDC2QNDDEKoEkDoiMHDigICGkJBS2dDA6TAAnAEAkCdQ8ORQcHTAkLcQQODLPMIgIJaCWxJMIkPIoAt3EhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWHM5wNiV0UN3xdLiqr+mENcWpM9TIbrsBkEck8oC0DQqBQGGIz+t3eXtob0ZTPgNrIwQJDgtGAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==\") 50% no-repeat}:host ::ng-deep .pdfPresentationMode .pdfViewer{margin-left:0;margin-right:0}:host ::ng-deep .pdfPresentationMode .pdfViewer .page,:host ::ng-deep .pdfPresentationMode .pdfViewer .spread{display:block}:host ::ng-deep .pdfPresentationMode .pdfViewer .page,:host ::ng-deep .pdfPresentationMode .pdfViewer.removePageBorders .page{margin-left:auto;margin-right:auto}:host ::ng-deep .pdfPresentationMode:-moz-full-screen .pdfViewer .page,:host ::ng-deep .pdfPresentationMode:-ms-fullscreen .pdfViewer .page,:host ::ng-deep .pdfPresentationMode:-webkit-full-screen .pdfViewer .page,:host ::ng-deep .pdfPresentationMode:fullscreen .pdfViewer .page{margin-bottom:100%;border:0}"]}]}],"members":{"pdfViewerContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":57,"character":3},"arguments":["pdfViewerContainer"]}]}],"afterLoadComplete":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":95,"character":3},"arguments":["after-load-complete"]}]}],"pageRendered":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":96,"character":3},"arguments":["page-rendered"]}]}],"pageInitialized":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":97,"character":3},"arguments":["pages-initialized"]}]}],"textLayerRendered":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":98,"character":3},"arguments":["text-layer-rendered"]}]}],"onError":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":99,"character":3},"arguments":["error"]}]}],"onProgress":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":100,"character":3},"arguments":["on-progress"]}]}],"pageChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":101,"character":3}}]}],"src":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":102,"character":3}}]}],"cMapsUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":104,"character":3},"arguments":["c-maps-url"]}]}],"page":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":109,"character":3},"arguments":["page"]}]}],"renderText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":124,"character":3},"arguments":["render-text"]}]}],"renderTextMode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":129,"character":3},"arguments":["render-text-mode"]}]}],"originalSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":134,"character":3},"arguments":["original-size"]}]}],"showAll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":139,"character":3},"arguments":["show-all"]}]}],"stickToPage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":144,"character":3},"arguments":["stick-to-page"]}]}],"zoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":149,"character":3},"arguments":["zoom"]}]}],"zoomScale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":162,"character":3},"arguments":["zoom-scale"]}]}],"rotation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":171,"character":3},"arguments":["rotation"]}]}],"externalLinkTarget":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":181,"character":3},"arguments":["external-link-target"]}]}],"autoresize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":186,"character":3},"arguments":["autoresize"]}]}],"fitToPage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":191,"character":3},"arguments":["fit-to-page"]}]}],"showBorders":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":196,"character":3},"arguments":["show-borders"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":218,"character":31}]}],"ngAfterViewChecked":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"onPageResize":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":275,"character":3},"arguments":["window:resize",[]]}]}],"ngOnChanges":[{"__symbolic":"method"}],"updateSize":[{"__symbolic":"method"}],"clear":[{"__symbolic":"method"}],"getPDFLinkServiceConfig":[{"__symbolic":"method"}],"setupMultiPageViewer":[{"__symbolic":"method"}],"setupSinglePageViewer":[{"__symbolic":"method"}],"getValidPageNumber":[{"__symbolic":"method"}],"getDocumentParams":[{"__symbolic":"method"}],"loadPDF":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"render":[{"__symbolic":"method"}],"getScale":[{"__symbolic":"method"}],"getCurrentViewer":[{"__symbolic":"method"}],"resetPdfDocument":[{"__symbolic":"method"}]},"statics":{"CSS_UNITS":1.3333333333333333,"BORDER_WIDTH":9}}},"origins":{"PdfViewerModule":"./src/app/pdf-viewer/pdf-viewer.module","PDFPageProxy":"./src/app/pdf-viewer/typings","PDFSource":"./src/app/pdf-viewer/typings","PDFDocumentProxy":"./src/app/pdf-viewer/typings","PDFDocumentLoadingTask":"./src/app/pdf-viewer/typings","PDFProgressData":"./src/app/pdf-viewer/typings","RenderTextMode":"./src/app/pdf-viewer/pdf-viewer.component","PdfViewerComponent":"./src/app/pdf-viewer/pdf-viewer.component"},"importAs":"ng2-pdf-viewer"}
{"__symbolic":"module","version":4,"metadata":{"PdfViewerModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"PdfViewerComponent"}],"exports":[{"__symbolic":"reference","name":"PdfViewerComponent"}]}]}],"members":{}},"PDFPageProxy":{"__symbolic":"interface"},"PDFSource":{"__symbolic":"interface"},"PDFDocumentProxy":{"__symbolic":"interface"},"PDFDocumentLoadingTask":{"__symbolic":"interface"},"PDFProgressData":{"__symbolic":"interface"},"RenderTextMode":{"DISABLED":0,"ENABLED":1,"ENHANCED":2},"PdfViewerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":43,"character":1},"arguments":[{"selector":"pdf-viewer","template":"\n <div #pdfViewerContainer class=\"ng2-pdf-viewer-container\">\n <div class=\"pdfViewer\"></div>\n </div>\n ","styles":[".ng2-pdf-viewer-container{overflow-x:auto;position:absolute;height:100%;width:100%;-webkit-overflow-scrolling:touch}:host ::ng-deep .textLayer{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1}:host ::ng-deep .textLayer>span{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0 0}:host ::ng-deep .textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa;border-radius:4px}:host ::ng-deep .textLayer .highlight.begin{border-radius:4px 0 0 4px}:host ::ng-deep .textLayer .highlight.end{border-radius:0 4px 4px 0}:host ::ng-deep .textLayer .highlight.middle{border-radius:0}:host ::ng-deep .textLayer .highlight.selected{background-color:#006400}:host ::ng-deep .textLayer ::-moz-selection{background:#00f}:host ::ng-deep .textLayer ::selection{background:#00f}:host ::ng-deep .textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host ::ng-deep .textLayer .endOfContent.active{top:0}:host ::ng-deep .annotationLayer section{position:absolute;text-align:initial}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.pushButton>a,:host ::ng-deep .annotationLayer .linkAnnotation>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover,:host ::ng-deep .annotationLayer .linkAnnotation>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}:host ::ng-deep .annotationLayer .textAnnotation img{position:absolute;cursor:pointer}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input,:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select,:host ::ng-deep .annotationLayer .textWidgetAnnotation input,:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea{background-color:rgba(0,54,255,.13);border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select option{padding:0}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled],:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select[disabled],:host ::ng-deep .annotationLayer .textWidgetAnnotation input[disabled],:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:hover,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input:hover,:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select:hover,:host ::ng-deep .annotationLayer .textWidgetAnnotation input:hover,:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea:hover{border:1px solid #000}:host ::ng-deep .annotationLayer .choiceWidgetAnnotation select:focus,:host ::ng-deep .annotationLayer .textWidgetAnnotation input:focus,:host ::ng-deep .annotationLayer .textWidgetAnnotation textarea:focus{background:none;border:1px solid transparent}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:#000;content:\"\";display:block;position:absolute}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{height:80%;left:45%;width:1px}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}:host ::ng-deep .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}:host ::ng-deep .annotationLayer .textWidgetAnnotation input.comb:focus{width:115%}:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.checkBox input,:host ::ng-deep .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}:host ::ng-deep .annotationLayer .popupWrapper{position:absolute;width:20em}:host ::ng-deep .annotationLayer .popup{position:absolute;z-index:200;max-width:20em;background-color:#ff9;box-shadow:0 2px 5px #888;border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;white-space:normal;word-wrap:break-word}:host ::ng-deep .annotationLayer .popup>*{font-size:9px}:host ::ng-deep .annotationLayer .popup h1{display:inline-block}:host ::ng-deep .annotationLayer .popup span{display:inline-block;margin-left:5px}:host ::ng-deep .annotationLayer .popup p{border-top:1px solid #333;margin-top:2px;padding-top:2px}:host ::ng-deep .annotationLayer .caretAnnotation,:host ::ng-deep .annotationLayer .circleAnnotation svg ellipse,:host ::ng-deep .annotationLayer .fileAttachmentAnnotation,:host ::ng-deep .annotationLayer .freeTextAnnotation,:host ::ng-deep .annotationLayer .highlightAnnotation,:host ::ng-deep .annotationLayer .inkAnnotation svg polyline,:host ::ng-deep .annotationLayer .lineAnnotation svg line,:host ::ng-deep .annotationLayer .polygonAnnotation svg polygon,:host ::ng-deep .annotationLayer .polylineAnnotation svg polyline,:host ::ng-deep .annotationLayer .squareAnnotation svg rect,:host ::ng-deep .annotationLayer .squigglyAnnotation,:host ::ng-deep .annotationLayer .stampAnnotation,:host ::ng-deep .annotationLayer .strikeoutAnnotation,:host ::ng-deep .annotationLayer .underlineAnnotation{cursor:pointer}:host ::ng-deep .pdfViewer .canvasWrapper{overflow:hidden}:host ::ng-deep .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:1px auto -8px;position:relative;overflow:visible;border:9px solid transparent;background-clip:content-box;-o-border-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=\") 9 9 repeat;border-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=\") 9 9 repeat;background-color:#fff}:host ::ng-deep .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}:host ::ng-deep .pdfViewer.singlePageView{display:inline-block}:host ::ng-deep .pdfViewer.singlePageView .page{margin:0;border:none}:host ::ng-deep .pdfViewer.scrollHorizontal,:host ::ng-deep .pdfViewer.scrollWrapped,:host ::ng-deep .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}:host ::ng-deep .pdfViewer.scrollHorizontal,:host ::ng-deep .spread{white-space:nowrap}:host ::ng-deep .pdfViewer.removePageBorders,:host ::ng-deep .pdfViewer.scrollHorizontal .spread,:host ::ng-deep .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}:host ::ng-deep .pdfViewer.scrollHorizontal .page,:host ::ng-deep .pdfViewer.scrollHorizontal .spread,:host ::ng-deep .pdfViewer.scrollWrapped .page,:host ::ng-deep .pdfViewer.scrollWrapped .spread,:host ::ng-deep .spread .page{display:inline-block;vertical-align:middle}:host ::ng-deep .pdfViewer.scrollHorizontal .page,:host ::ng-deep .pdfViewer.scrollWrapped .page,:host ::ng-deep .spread .page{margin-left:-3.5px;margin-right:-3.5px}:host ::ng-deep .pdfViewer.removePageBorders.scrollHorizontal .page,:host ::ng-deep .pdfViewer.removePageBorders.scrollWrapped .page,:host ::ng-deep .pdfViewer.removePageBorders .spread .page{margin-left:5px;margin-right:5px}:host ::ng-deep .pdfViewer .page canvas{margin:0;display:block}:host ::ng-deep .pdfViewer .page canvas[hidden]{display:none}:host ::ng-deep .pdfViewer .page .loadingIcon{position:absolute;display:block;left:0;top:0;right:0;bottom:0;background:url(\"data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyF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wGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==\") 50% no-repeat}:host ::ng-deep .pdfPresentationMode .pdfViewer{margin-left:0;margin-right:0}:host ::ng-deep .pdfPresentationMode .pdfViewer .page,:host ::ng-deep .pdfPresentationMode .pdfViewer .spread{display:block}:host ::ng-deep .pdfPresentationMode .pdfViewer .page,:host ::ng-deep .pdfPresentationMode .pdfViewer.removePageBorders .page{margin-left:auto;margin-right:auto}:host ::ng-deep .pdfPresentationMode:-moz-full-screen .pdfViewer .page,:host ::ng-deep .pdfPresentationMode:-ms-fullscreen .pdfViewer .page,:host ::ng-deep .pdfPresentationMode:-webkit-full-screen .pdfViewer .page,:host ::ng-deep .pdfPresentationMode:fullscreen .pdfViewer .page{margin-bottom:100%;border:0}"]}]}],"members":{"pdfViewerContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":57,"character":3},"arguments":["pdfViewerContainer"]}]}],"afterLoadComplete":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":95,"character":3},"arguments":["after-load-complete"]}]}],"pageRendered":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":96,"character":3},"arguments":["page-rendered"]}]}],"pageInitialized":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":97,"character":3},"arguments":["pages-initialized"]}]}],"textLayerRendered":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":98,"character":3},"arguments":["text-layer-rendered"]}]}],"onError":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":99,"character":3},"arguments":["error"]}]}],"onProgress":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":100,"character":3},"arguments":["on-progress"]}]}],"pageChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":101,"character":3}}]}],"src":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":102,"character":3}}]}],"cMapsUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":104,"character":3},"arguments":["c-maps-url"]}]}],"page":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":109,"character":3},"arguments":["page"]}]}],"renderText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":124,"character":3},"arguments":["render-text"]}]}],"renderTextMode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":129,"character":3},"arguments":["render-text-mode"]}]}],"originalSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":134,"character":3},"arguments":["original-size"]}]}],"showAll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":139,"character":3},"arguments":["show-all"]}]}],"stickToPage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":144,"character":3},"arguments":["stick-to-page"]}]}],"zoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":149,"character":3},"arguments":["zoom"]}]}],"zoomScale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":162,"character":3},"arguments":["zoom-scale"]}]}],"rotation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":171,"character":3},"arguments":["rotation"]}]}],"externalLinkTarget":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":181,"character":3},"arguments":["external-link-target"]}]}],"autoresize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":186,"character":3},"arguments":["autoresize"]}]}],"fitToPage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":191,"character":3},"arguments":["fit-to-page"]}]}],"showBorders":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":196,"character":3},"arguments":["show-borders"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":218,"character":42,"context":{"typeName":"HTMLElement"},"module":"./src/app/pdf-viewer/pdf-viewer.component"}]},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":218,"character":72}]}],"ngAfterViewChecked":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"updateSize":[{"__symbolic":"method"}],"clear":[{"__symbolic":"method"}],"getPDFLinkServiceConfig":[{"__symbolic":"method"}],"setupMultiPageViewer":[{"__symbolic":"method"}],"setupSinglePageViewer":[{"__symbolic":"method"}],"getValidPageNumber":[{"__symbolic":"method"}],"getDocumentParams":[{"__symbolic":"method"}],"loadPDF":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"render":[{"__symbolic":"method"}],"getScale":[{"__symbolic":"method"}],"getCurrentViewer":[{"__symbolic":"method"}],"resetPdfDocument":[{"__symbolic":"method"}],"initialize":[{"__symbolic":"method"}],"setupResizeListener":[{"__symbolic":"method"}]},"statics":{"CSS_UNITS":1.3333333333333333,"BORDER_WIDTH":9}}},"origins":{"PdfViewerModule":"./src/app/pdf-viewer/pdf-viewer.module","PDFPageProxy":"./src/app/pdf-viewer/typings","PDFSource":"./src/app/pdf-viewer/typings","PDFDocumentProxy":"./src/app/pdf-viewer/typings","PDFDocumentLoadingTask":"./src/app/pdf-viewer/typings","PDFProgressData":"./src/app/pdf-viewer/typings","RenderTextMode":"./src/app/pdf-viewer/pdf-viewer.component","PdfViewerComponent":"./src/app/pdf-viewer/pdf-viewer.component"},"importAs":"ng2-pdf-viewer"}
{
"name": "ng2-pdf-viewer",
"version": "7.0.0",
"version": "7.0.1",
"description": "Angular 5+ component for rendering PDF",

@@ -5,0 +5,0 @@ "license": "MIT",

/**
* Created by vadimdez on 21/06/16.
*/
import { ElementRef, EventEmitter, OnChanges, SimpleChanges, OnInit, OnDestroy, AfterViewChecked } from '@angular/core';
import { ElementRef, EventEmitter, OnChanges, SimpleChanges, OnInit, OnDestroy, AfterViewChecked, NgZone } from '@angular/core';
import type { PDFSource, PDFProgressData } from './typings';

@@ -13,2 +13,3 @@ export declare enum RenderTextMode {

private element;
private ngZone;
static CSS_UNITS: number;

@@ -71,7 +72,6 @@ static BORDER_WIDTH: number;

static getLinkTarget(type: string): any;
constructor(element: ElementRef);
constructor(element: ElementRef<HTMLElement>, ngZone: NgZone);
ngAfterViewChecked(): void;
ngOnInit(): void;
ngOnDestroy(): void;
onPageResize(): void;
get pdfLinkService(): any;

@@ -94,2 +94,4 @@ get pdfViewer(): any;

private resetPdfDocument;
private initialize;
private setupResizeListener;
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc