|
|
@ -20022,8 +20022,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
}(); |
|
|
|
}(); |
|
|
|
exports.version = '1.7.325'; |
|
|
|
exports.version = '1.7.327'; |
|
|
|
exports.build = '9db4240b'; |
|
|
|
exports.build = '4e201d37'; |
|
|
|
exports.getDocument = getDocument; |
|
|
|
exports.getDocument = getDocument; |
|
|
|
exports.PDFDataRangeTransport = PDFDataRangeTransport; |
|
|
|
exports.PDFDataRangeTransport = PDFDataRangeTransport; |
|
|
|
exports.PDFWorker = PDFWorker; |
|
|
|
exports.PDFWorker = PDFWorker; |
|
|
@ -38774,8 +38774,8 @@ if (!globalScope.PDFJS) { |
|
|
|
globalScope.PDFJS = {}; |
|
|
|
globalScope.PDFJS = {}; |
|
|
|
} |
|
|
|
} |
|
|
|
var PDFJS = globalScope.PDFJS; |
|
|
|
var PDFJS = globalScope.PDFJS; |
|
|
|
PDFJS.version = '1.7.325'; |
|
|
|
PDFJS.version = '1.7.327'; |
|
|
|
PDFJS.build = '9db4240b'; |
|
|
|
PDFJS.build = '4e201d37'; |
|
|
|
PDFJS.pdfBug = false; |
|
|
|
PDFJS.pdfBug = false; |
|
|
|
if (PDFJS.verbosity !== undefined) { |
|
|
|
if (PDFJS.verbosity !== undefined) { |
|
|
|
sharedUtil.setVerbosityLevel(PDFJS.verbosity); |
|
|
|
sharedUtil.setVerbosityLevel(PDFJS.verbosity); |
|
|
@ -39199,21 +39199,6 @@ var Annotation = function AnnotationClosure() { |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
Annotation.appendToOperatorList = function Annotation_appendToOperatorList(annotations, opList, partialEvaluator, task, intent, renderForms) { |
|
|
|
|
|
|
|
var annotationPromises = []; |
|
|
|
|
|
|
|
for (var i = 0, n = annotations.length; i < n; ++i) { |
|
|
|
|
|
|
|
if (intent === 'display' && annotations[i].viewable || intent === 'print' && annotations[i].printable) { |
|
|
|
|
|
|
|
annotationPromises.push(annotations[i].getOperatorList(partialEvaluator, task, renderForms)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return Promise.all(annotationPromises).then(function (operatorLists) { |
|
|
|
|
|
|
|
opList.addOp(OPS.beginAnnotations, []); |
|
|
|
|
|
|
|
for (var i = 0, n = operatorLists.length; i < n; ++i) { |
|
|
|
|
|
|
|
opList.addOpList(operatorLists[i]); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
opList.addOp(OPS.endAnnotations, []); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
return Annotation; |
|
|
|
return Annotation; |
|
|
|
}(); |
|
|
|
}(); |
|
|
|
var AnnotationBorderStyle = function AnnotationBorderStyleClosure() { |
|
|
|
var AnnotationBorderStyle = function AnnotationBorderStyleClosure() { |
|
|
@ -41717,6 +41702,7 @@ var coreParser = __w_pdfjs_require__(6); |
|
|
|
var coreCrypto = __w_pdfjs_require__(17); |
|
|
|
var coreCrypto = __w_pdfjs_require__(17); |
|
|
|
var coreEvaluator = __w_pdfjs_require__(18); |
|
|
|
var coreEvaluator = __w_pdfjs_require__(18); |
|
|
|
var coreAnnotation = __w_pdfjs_require__(27); |
|
|
|
var coreAnnotation = __w_pdfjs_require__(27); |
|
|
|
|
|
|
|
var OPS = sharedUtil.OPS; |
|
|
|
var MissingDataException = sharedUtil.MissingDataException; |
|
|
|
var MissingDataException = sharedUtil.MissingDataException; |
|
|
|
var Util = sharedUtil.Util; |
|
|
|
var Util = sharedUtil.Util; |
|
|
|
var assert = sharedUtil.assert; |
|
|
|
var assert = sharedUtil.assert; |
|
|
@ -41745,7 +41731,6 @@ var Linearization = coreParser.Linearization; |
|
|
|
var calculateMD5 = coreCrypto.calculateMD5; |
|
|
|
var calculateMD5 = coreCrypto.calculateMD5; |
|
|
|
var OperatorList = coreEvaluator.OperatorList; |
|
|
|
var OperatorList = coreEvaluator.OperatorList; |
|
|
|
var PartialEvaluator = coreEvaluator.PartialEvaluator; |
|
|
|
var PartialEvaluator = coreEvaluator.PartialEvaluator; |
|
|
|
var Annotation = coreAnnotation.Annotation; |
|
|
|
|
|
|
|
var AnnotationFactory = coreAnnotation.AnnotationFactory; |
|
|
|
var AnnotationFactory = coreAnnotation.AnnotationFactory; |
|
|
|
var Page = function PageClosure() { |
|
|
|
var Page = function PageClosure() { |
|
|
|
var DEFAULT_USER_UNIT = 1.0; |
|
|
|
var DEFAULT_USER_UNIT = 1.0; |
|
|
@ -41755,6 +41740,9 @@ var Page = function PageClosure() { |
|
|
|
612, |
|
|
|
612, |
|
|
|
792 |
|
|
|
792 |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
function isAnnotationRenderable(annotation, intent) { |
|
|
|
|
|
|
|
return intent === 'display' && annotation.viewable || intent === 'print' && annotation.printable; |
|
|
|
|
|
|
|
} |
|
|
|
function Page(pdfManager, xref, pageIndex, pageDict, ref, fontCache, builtInCMapCache) { |
|
|
|
function Page(pdfManager, xref, pageIndex, pageDict, ref, fontCache, builtInCMapCache) { |
|
|
|
this.pdfManager = pdfManager; |
|
|
|
this.pdfManager = pdfManager; |
|
|
|
this.pageIndex = pageIndex; |
|
|
|
this.pageIndex = pageIndex; |
|
|
@ -41916,8 +41904,18 @@ var Page = function PageClosure() { |
|
|
|
pageOpList.flush(true); |
|
|
|
pageOpList.flush(true); |
|
|
|
return pageOpList; |
|
|
|
return pageOpList; |
|
|
|
} |
|
|
|
} |
|
|
|
var annotationsReadyPromise = Annotation.appendToOperatorList(annotations, pageOpList, partialEvaluator, task, intent, renderInteractiveForms); |
|
|
|
var i, ii, opListPromises = []; |
|
|
|
return annotationsReadyPromise.then(function () { |
|
|
|
for (i = 0, ii = annotations.length; i < ii; i++) { |
|
|
|
|
|
|
|
if (isAnnotationRenderable(annotations[i], intent)) { |
|
|
|
|
|
|
|
opListPromises.push(annotations[i].getOperatorList(partialEvaluator, task, renderInteractiveForms)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return Promise.all(opListPromises).then(function (opLists) { |
|
|
|
|
|
|
|
pageOpList.addOp(OPS.beginAnnotations, []); |
|
|
|
|
|
|
|
for (i = 0, ii = opLists.length; i < ii; i++) { |
|
|
|
|
|
|
|
pageOpList.addOpList(opLists[i]); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
pageOpList.addOp(OPS.endAnnotations, []); |
|
|
|
pageOpList.flush(true); |
|
|
|
pageOpList.flush(true); |
|
|
|
return pageOpList; |
|
|
|
return pageOpList; |
|
|
|
}); |
|
|
|
}); |
|
|
@ -41952,13 +41950,10 @@ var Page = function PageClosure() { |
|
|
|
var annotations = this.annotations; |
|
|
|
var annotations = this.annotations; |
|
|
|
var annotationsData = []; |
|
|
|
var annotationsData = []; |
|
|
|
for (var i = 0, n = annotations.length; i < n; ++i) { |
|
|
|
for (var i = 0, n = annotations.length; i < n; ++i) { |
|
|
|
if (intent) { |
|
|
|
if (!intent || isAnnotationRenderable(annotations[i], intent)) { |
|
|
|
if (!(intent === 'display' && annotations[i].viewable) && !(intent === 'print' && annotations[i].printable)) { |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
annotationsData.push(annotations[i].data); |
|
|
|
annotationsData.push(annotations[i].data); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
return annotationsData; |
|
|
|
return annotationsData; |
|
|
|
}, |
|
|
|
}, |
|
|
|
get annotations() { |
|
|
|
get annotations() { |
|
|
@ -57881,8 +57876,8 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { |
|
|
|
|
|
|
|
|
|
|
|
"use strict"; |
|
|
|
"use strict"; |
|
|
|
|
|
|
|
|
|
|
|
var pdfjsVersion = '1.7.325'; |
|
|
|
var pdfjsVersion = '1.7.327'; |
|
|
|
var pdfjsBuild = '9db4240b'; |
|
|
|
var pdfjsBuild = '4e201d37'; |
|
|
|
var pdfjsSharedUtil = __w_pdfjs_require__(0); |
|
|
|
var pdfjsSharedUtil = __w_pdfjs_require__(0); |
|
|
|
var pdfjsDisplayGlobal = __w_pdfjs_require__(26); |
|
|
|
var pdfjsDisplayGlobal = __w_pdfjs_require__(26); |
|
|
|
var pdfjsDisplayAPI = __w_pdfjs_require__(10); |
|
|
|
var pdfjsDisplayAPI = __w_pdfjs_require__(10); |
|
|
|