|
|
@ -12330,6 +12330,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { |
|
|
|
if (worker.destroyed) { |
|
|
|
if (worker.destroyed) { |
|
|
|
return Promise.reject(new Error('Worker was destroyed')); |
|
|
|
return Promise.reject(new Error('Worker was destroyed')); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
var apiVersion = '1.9.602'; |
|
|
|
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch'); |
|
|
|
source.disableAutoFetch = (0, _dom_utils.getDefaultSetting)('disableAutoFetch'); |
|
|
|
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream'); |
|
|
|
source.disableStream = (0, _dom_utils.getDefaultSetting)('disableStream'); |
|
|
|
source.chunkedViewerLoading = !!pdfDataRangeTransport; |
|
|
|
source.chunkedViewerLoading = !!pdfDataRangeTransport; |
|
|
@ -12339,6 +12340,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) { |
|
|
|
} |
|
|
|
} |
|
|
|
return worker.messageHandler.sendWithPromise('GetDocRequest', { |
|
|
|
return worker.messageHandler.sendWithPromise('GetDocRequest', { |
|
|
|
docId: docId, |
|
|
|
docId: docId, |
|
|
|
|
|
|
|
apiVersion: apiVersion, |
|
|
|
source: { |
|
|
|
source: { |
|
|
|
data: source.data, |
|
|
|
data: source.data, |
|
|
|
url: source.url, |
|
|
|
url: source.url, |
|
|
@ -13632,8 +13634,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { |
|
|
|
}(); |
|
|
|
}(); |
|
|
|
var version, build; |
|
|
|
var version, build; |
|
|
|
{ |
|
|
|
{ |
|
|
|
exports.version = version = '1.9.600'; |
|
|
|
exports.version = version = '1.9.602'; |
|
|
|
exports.build = build = 'b8371870'; |
|
|
|
exports.build = build = '25806d17'; |
|
|
|
} |
|
|
|
} |
|
|
|
exports.getDocument = getDocument; |
|
|
|
exports.getDocument = getDocument; |
|
|
|
exports.LoopbackPort = LoopbackPort; |
|
|
|
exports.LoopbackPort = LoopbackPort; |
|
|
@ -29591,8 +29593,8 @@ exports.SVGGraphics = SVGGraphics; |
|
|
|
"use strict"; |
|
|
|
"use strict"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var pdfjsVersion = '1.9.600'; |
|
|
|
var pdfjsVersion = '1.9.602'; |
|
|
|
var pdfjsBuild = 'b8371870'; |
|
|
|
var pdfjsBuild = '25806d17'; |
|
|
|
var pdfjsSharedUtil = __w_pdfjs_require__(0); |
|
|
|
var pdfjsSharedUtil = __w_pdfjs_require__(0); |
|
|
|
var pdfjsDisplayGlobal = __w_pdfjs_require__(98); |
|
|
|
var pdfjsDisplayGlobal = __w_pdfjs_require__(98); |
|
|
|
var pdfjsDisplayAPI = __w_pdfjs_require__(55); |
|
|
|
var pdfjsDisplayAPI = __w_pdfjs_require__(55); |
|
|
@ -35454,8 +35456,8 @@ if (!_global_scope2.default.PDFJS) { |
|
|
|
} |
|
|
|
} |
|
|
|
var PDFJS = _global_scope2.default.PDFJS; |
|
|
|
var PDFJS = _global_scope2.default.PDFJS; |
|
|
|
{ |
|
|
|
{ |
|
|
|
PDFJS.version = '1.9.600'; |
|
|
|
PDFJS.version = '1.9.602'; |
|
|
|
PDFJS.build = 'b8371870'; |
|
|
|
PDFJS.build = '25806d17'; |
|
|
|
} |
|
|
|
} |
|
|
|
PDFJS.pdfBug = false; |
|
|
|
PDFJS.pdfBug = false; |
|
|
|
if (PDFJS.verbosity !== undefined) { |
|
|
|
if (PDFJS.verbosity !== undefined) { |
|
|
@ -38412,6 +38414,11 @@ var WorkerMessageHandler = { |
|
|
|
var terminated = false; |
|
|
|
var terminated = false; |
|
|
|
var cancelXHRs = null; |
|
|
|
var cancelXHRs = null; |
|
|
|
var WorkerTasks = []; |
|
|
|
var WorkerTasks = []; |
|
|
|
|
|
|
|
var apiVersion = docParams.apiVersion; |
|
|
|
|
|
|
|
var workerVersion = '1.9.602'; |
|
|
|
|
|
|
|
if (apiVersion !== null && apiVersion !== workerVersion) { |
|
|
|
|
|
|
|
throw new Error('The API version "' + apiVersion + '" does not match ' + ('the Worker version "' + workerVersion + '".')); |
|
|
|
|
|
|
|
} |
|
|
|
var docId = docParams.docId; |
|
|
|
var docId = docParams.docId; |
|
|
|
var docBaseUrl = docParams.docBaseUrl; |
|
|
|
var docBaseUrl = docParams.docBaseUrl; |
|
|
|
var workerHandlerName = docParams.docId + '_worker'; |
|
|
|
var workerHandlerName = docParams.docId + '_worker'; |
|
|
|