@ -101,7 +101,7 @@ return /******/ (function(modules) { // webpackBootstrap
@@ -101,7 +101,7 @@ return /******/ (function(modules) { // webpackBootstrap
Object . defineProperty ( exports , "__esModule" , {
value : true
} ) ;
exports . warn = exports . utf8StringToString = exports . stringToUTF8String = exports . stringToPDFString = exports . stringToBytes = exports . string32 = exports . shadow = exports . setVerbosityLevel = exports . removeNullCharacters = exports . readUint32 = exports . readUint16 = exports . readInt8 = exports . log2 = exports . loadJpegStream = exports . isEvalSupported = exports . isLittleEndian = exports . createValidAbsoluteUrl = exports . isSameOrigin = exports . isNodeJS = exports . isSpace = exports . isString = exports . isNum = exports . isInt = exports . isEmptyObj = exports . isBool = exports . isArrayBuffer = exports . isArray = exports . info = exports . globalScope = exports . getVerbosityLevel = exports . getLookupTableFactory = exports . error = exports . deprecated = exports . createObjectURL = exports . createPromiseCapability = exports . createBlob = exports . bytesToString = exports . assert = exports . arraysToBytes = exports . arrayByteLength = exports . XRefParseException = exports . Util = exports . UnknownErrorException = exports . UnexpectedResponseException = exports . TextRenderingMode = exports . StreamType = exports . StatTimer = exports . PasswordResponses = exports . PasswordException = exports . PageViewport = exports . NotImplementedException = exports . MissingPDFException = exports . MissingDataException = exports . MessageHandler = exports . InvalidPDFException = exports . CMapCompressionType = exports . ImageKind = exports . FontType = exports . AnnotationType = exports . AnnotationFlag = exports . AnnotationFieldFlag = exports . AnnotationBorderStyleType = exports . UNSUPPORTED _FEATURES = exports . VERBOSITY _LEVELS = exports . OPS = exports . IDENTITY _MATRIX = exports . FONT _IDENTITY _MATRIX = undefined ;
exports . warn = exports . utf8StringToString = exports . stringToUTF8String = exports . stringToPDFString = exports . stringToBytes = exports . string32 = exports . shadow = exports . setVerbosityLevel = exports . removeNullCharacters = exports . readUint32 = exports . readUint16 = exports . readInt8 = exports . log2 = exports . loadJpegStream = exports . isEvalSupported = exports . isLittleEndian = exports . createValidAbsoluteUrl = exports . isSameOrigin = exports . isNodeJS = exports . isSpace = exports . isString = exports . isNum = exports . isInt = exports . isEmptyObj = exports . isBool = exports . isArrayBuffer = exports . isArray = exports . info = exports . globalScope = exports . getVerbosityLevel = exports . getLookupTableFactory = exports . error = exports . deprecated = exports . createObjectURL = exports . createPromiseCapability = exports . createBlob = exports . bytesToString = exports . assert = exports . arraysToBytes = exports . arrayByteLength = exports . XRefParseException = exports . Util = exports . UnknownErrorException = exports . UnexpectedResponseException = exports . TextRenderingMode = exports . StreamType = exports . StatTimer = exports . PasswordResponses = exports . PasswordException = exports . PageViewport = exports . NotImplementedException = exports . NativeImageDecoding = exports . MissingPDFException = exports . MissingDataException = exports . MessageHandler = exports . InvalidPDFException = exports . CMapCompressionType = exports . ImageKind = exports . FontType = exports . AnnotationType = exports . AnnotationFlag = exports . AnnotationFieldFlag = exports . AnnotationBorderStyleType = exports . UNSUPPORTED _FEATURES = exports . VERBOSITY _LEVELS = exports . OPS = exports . IDENTITY _MATRIX = exports . FONT _IDENTITY _MATRIX = undefined ;
var _typeof = typeof Symbol === "function" && typeof Symbol . iterator === "symbol" ? function ( obj ) { return typeof obj ; } : function ( obj ) { return obj && typeof Symbol === "function" && obj . constructor === Symbol && obj !== Symbol . prototype ? "symbol" : typeof obj ; } ;
@ -109,6 +109,11 @@ __w_pdfjs_require__(48);
@@ -109,6 +109,11 @@ __w_pdfjs_require__(48);
var globalScope = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : undefined ;
var FONT _IDENTITY _MATRIX = [ 0.001 , 0 , 0 , 0.001 , 0 , 0 ] ;
var NativeImageDecoding = {
NONE : 'none' ,
DECODE : 'decode' ,
DISPLAY : 'display'
} ;
var TextRenderingMode = {
FILL : 0 ,
STROKE : 1 ,
@ -1131,6 +1136,7 @@ exports.InvalidPDFException = InvalidPDFException;
@@ -1131,6 +1136,7 @@ exports.InvalidPDFException = InvalidPDFException;
exports . MessageHandler = MessageHandler ;
exports . MissingDataException = MissingDataException ;
exports . MissingPDFException = MissingPDFException ;
exports . NativeImageDecoding = NativeImageDecoding ;
exports . NotImplementedException = NotImplementedException ;
exports . PageViewport = PageViewport ;
exports . PasswordException = PasswordException ;
@ -11590,9 +11596,16 @@ function getDocument(src, pdfDataRangeTransport, passwordCallback, progressCallb
@@ -11590,9 +11596,16 @@ function getDocument(src, pdfDataRangeTransport, passwordCallback, progressCallb
params [ key ] = source [ key ] ;
}
params . rangeChunkSize = params . rangeChunkSize || DEFAULT _RANGE _CHUNK _SIZE ;
params . disableNativeImageDecoder = params . disableNativeImageDecoder === true ;
params . ignoreErrors = params . stopAtErrors !== true ;
var CMapReaderFactory = params . CMapReaderFactory || _dom _utils . DOMCMapReaderFactory ;
if ( params . disableNativeImageDecoder !== undefined ) {
( 0 , _util . deprecated ) ( 'parameter disableNativeImageDecoder, ' + 'use nativeImageDecoderSupport instead' ) ;
}
params . nativeImageDecoderSupport = params . nativeImageDecoderSupport || ( params . disableNativeImageDecoder === true ? _util . NativeImageDecoding . NONE : _util . NativeImageDecoding . DECODE ) ;
if ( params . nativeImageDecoderSupport !== _util . NativeImageDecoding . DECODE && params . nativeImageDecoderSupport !== _util . NativeImageDecoding . NONE && params . nativeImageDecoderSupport !== _util . NativeImageDecoding . DISPLAY ) {
( 0 , _util . warn ) ( 'Invalid parameter nativeImageDecoderSupport: ' + 'need a state of enum {NativeImageDecoding}' ) ;
params . nativeImageDecoderSupport = _util . NativeImageDecoding . DECODE ;
}
if ( ! worker ) {
var workerPort = ( 0 , _dom _utils . getDefaultSetting ) ( 'workerPort' ) ;
worker = workerPort ? new PDFWorker ( null , workerPort ) : new PDFWorker ( ) ;
@ -11635,7 +11648,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
@@ -11635,7 +11648,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
disableCreateObjectURL : ( 0 , _dom _utils . getDefaultSetting ) ( 'disableCreateObjectURL' ) ,
postMessageTransfers : ( 0 , _dom _utils . getDefaultSetting ) ( 'postMessageTransfers' ) && ! isPostMessageTransfersDisabled ,
docBaseUrl : source . docBaseUrl ,
disableNativeImageDecoder : source . disableNativeImageDecoder ,
nativeImageDecoderSupport : source . nativeImageDecoderSupport ,
ignoreErrors : source . ignoreErrors
} ) . then ( function ( workerId ) {
if ( worker . destroyed ) {
@ -12779,8 +12792,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
@@ -12779,8 +12792,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
} ( ) ;
var version , build ;
{
exports . version = version = '1.8.337 ' ;
exports . build = build = '595ee123 ' ;
exports . version = version = '1.8.339 ' ;
exports . build = build = '9bfbf27f ' ;
}
exports . getDocument = getDocument ;
exports . LoopbackPort = LoopbackPort ;
@ -13642,8 +13655,8 @@ var SVGGraphics = function SVGGraphics() {
@@ -13642,8 +13655,8 @@ var SVGGraphics = function SVGGraphics() {
var imgObj = this . objs . get ( objId ) ;
var imgEl = document . createElementNS ( NS , 'svg:image' ) ;
imgEl . setAttributeNS ( XLINK _NS , 'xlink:href' , imgObj . src ) ;
imgEl . setAttributeNS ( null , 'width' , imgObj . width + 'px' ) ;
imgEl . setAttributeNS ( null , 'height' , imgObj . height + 'px' ) ;
imgEl . setAttributeNS ( null , 'width' , pf ( w ) ) ;
imgEl . setAttributeNS ( null , 'height' , pf ( h ) ) ;
imgEl . setAttributeNS ( null , 'x' , '0' ) ;
imgEl . setAttributeNS ( null , 'y' , pf ( - h ) ) ;
imgEl . setAttributeNS ( null , 'transform' , 'scale(' + pf ( 1 / w ) + ' ' + pf ( - 1 / h ) + ')' ) ;
@ -18108,6 +18121,7 @@ var IDENTITY_MATRIX = sharedUtil.IDENTITY_MATRIX;
@@ -18108,6 +18121,7 @@ var IDENTITY_MATRIX = sharedUtil.IDENTITY_MATRIX;
var UNSUPPORTED _FEATURES = sharedUtil . UNSUPPORTED _FEATURES ;
var ImageKind = sharedUtil . ImageKind ;
var OPS = sharedUtil . OPS ;
var NativeImageDecoding = sharedUtil . NativeImageDecoding ;
var TextRenderingMode = sharedUtil . TextRenderingMode ;
var CMapCompressionType = sharedUtil . CMapCompressionType ;
var Util = sharedUtil . Util ;
@ -18168,7 +18182,7 @@ var PartialEvaluator = function PartialEvaluatorClosure() {
@@ -18168,7 +18182,7 @@ var PartialEvaluator = function PartialEvaluatorClosure() {
forceDataSchema : false ,
maxImageSize : - 1 ,
disableFontFace : false ,
disableNativeImageDecoder : false ,
nativeImageDecoderSupport : NativeImageDecoding . DECODE ,
ignoreErrors : false
} ;
function NativeImageDecoder ( xref , resources , handler , forceDataSchema ) {
@ -18459,17 +18473,17 @@ var PartialEvaluator = function PartialEvaluatorClosure() {
@@ -18459,17 +18473,17 @@ var PartialEvaluator = function PartialEvaluatorClosure() {
operatorList . addOp ( OPS . paintInlineImageXObject , [ imgData ] ) ;
return ;
}
var useNativeImageDecoder = ! this . options . disableNativeImageDecoder ;
var nativeImageDecoderSupport = this . options . nativeImageDecoderSupport ;
var objId = 'img_' + this . idFactory . createObjId ( ) ;
operatorList . addDependency ( objId ) ;
args = [ objId , w , h ] ;
if ( useNativeImageDecoder && ! softMask && ! mask && image instanceof JpegStream && NativeImageDecoder . isSupported ( image , this . xref , resources ) ) {
if ( nativeImageDecoderSupport !== NativeImageDecoding . NONE && ! softMask && ! mask && image instanceof JpegStream && NativeImageDecoder . isSupported ( image , this . xref , resources ) ) {
operatorList . addOp ( OPS . paintJpegXObject , args ) ;
this . handler . send ( 'obj' , [ objId , this . pageIndex , 'JpegStream' , image . getIR ( this . options . forceDataSchema ) ] ) ;
return ;
}
var nativeImageDecoder = null ;
if ( useNativeImageDecoder && ( image instanceof JpegStream || mask instanceof JpegStream || softMask instanceof JpegStream ) ) {
if ( nativeImageDecoderSupport === NativeImageDecoding . DECODE && ( image instanceof JpegStream || mask instanceof JpegStream || softMask instanceof JpegStream ) ) {
nativeImageDecoder = new NativeImageDecoder ( this . xref , resources , this . handler , this . options . forceDataSchema ) ;
}
PDFImage . buildImage ( this . handler , this . xref , resources , image , inline , nativeImageDecoder ) . then ( function ( imageObj ) {
@ -27515,7 +27529,7 @@ var WorkerMessageHandler = {
@@ -27515,7 +27529,7 @@ var WorkerMessageHandler = {
forceDataSchema : data . disableCreateObjectURL ,
maxImageSize : data . maxImageSize === undefined ? - 1 : data . maxImageSize ,
disableFontFace : data . disableFontFace ,
disableNativeImageDecoder : data . disableNativeImageDecoder ,
nativeImageDecoderSupport : data . nativeImageDecoderSupport ,
ignoreErrors : data . ignoreErrors
} ;
getPdfManager ( data , evaluatorOptions ) . then ( function ( newPdfManager ) {
@ -28185,8 +28199,8 @@ if (!_util.globalScope.PDFJS) {
@@ -28185,8 +28199,8 @@ if (!_util.globalScope.PDFJS) {
}
var PDFJS = _util . globalScope . PDFJS ;
{
PDFJS . version = '1.8.337 ' ;
PDFJS . build = '595ee123 ' ;
PDFJS . version = '1.8.339 ' ;
PDFJS . build = '9bfbf27f ' ;
}
PDFJS . pdfBug = false ;
if ( PDFJS . verbosity !== undefined ) {
@ -43772,8 +43786,8 @@ exports.TilingPattern = TilingPattern;
@@ -43772,8 +43786,8 @@ exports.TilingPattern = TilingPattern;
"use strict" ;
var pdfjsVersion = '1.8.337 ' ;
var pdfjsBuild = '595ee123 ' ;
var pdfjsVersion = '1.8.339 ' ;
var pdfjsBuild = '9bfbf27f ' ;
var pdfjsSharedUtil = _ _w _pdfjs _require _ _ ( 0 ) ;
var pdfjsDisplayGlobal = _ _w _pdfjs _require _ _ ( 26 ) ;
var pdfjsDisplayAPI = _ _w _pdfjs _require _ _ ( 10 ) ;
@ -43796,6 +43810,7 @@ exports.PasswordResponses = pdfjsSharedUtil.PasswordResponses;
@@ -43796,6 +43810,7 @@ exports.PasswordResponses = pdfjsSharedUtil.PasswordResponses;
exports . InvalidPDFException = pdfjsSharedUtil . InvalidPDFException ;
exports . MissingPDFException = pdfjsSharedUtil . MissingPDFException ;
exports . SVGGraphics = pdfjsDisplaySVG . SVGGraphics ;
exports . NativeImageDecoding = pdfjsSharedUtil . NativeImageDecoding ;
exports . UnexpectedResponseException = pdfjsSharedUtil . UnexpectedResponseException ;
exports . OPS = pdfjsSharedUtil . OPS ;
exports . UNSUPPORTED _FEATURES = pdfjsSharedUtil . UNSUPPORTED _FEATURES ;