|
|
@ -20022,8 +20022,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
}(); |
|
|
|
}(); |
|
|
|
exports.version = '1.7.368'; |
|
|
|
exports.version = '1.7.370'; |
|
|
|
exports.build = 'da326a31'; |
|
|
|
exports.build = '3ff872b7'; |
|
|
|
exports.getDocument = getDocument; |
|
|
|
exports.getDocument = getDocument; |
|
|
|
exports.PDFDataRangeTransport = PDFDataRangeTransport; |
|
|
|
exports.PDFDataRangeTransport = PDFDataRangeTransport; |
|
|
|
exports.PDFWorker = PDFWorker; |
|
|
|
exports.PDFWorker = PDFWorker; |
|
|
@ -29736,7 +29736,7 @@ var PartialEvaluator = function PartialEvaluatorClosure() { |
|
|
|
assert(isStream(xobj), 'XObject should be a stream'); |
|
|
|
assert(isStream(xobj), 'XObject should be a stream'); |
|
|
|
var type = xobj.dict.get('Subtype'); |
|
|
|
var type = xobj.dict.get('Subtype'); |
|
|
|
assert(isName(type), 'XObject should have a Name subtype'); |
|
|
|
assert(isName(type), 'XObject should have a Name subtype'); |
|
|
|
if ('Form' !== type.name) { |
|
|
|
if (type.name !== 'Form') { |
|
|
|
xobjsCache.key = name; |
|
|
|
xobjsCache.key = name; |
|
|
|
xobjsCache.texts = null; |
|
|
|
xobjsCache.texts = null; |
|
|
|
break; |
|
|
|
break; |
|
|
@ -31497,7 +31497,7 @@ var JpxImage = function JpxImageClosure() { |
|
|
|
this.parseCodestream(data, position, position + dataLength); |
|
|
|
this.parseCodestream(data, position, position + dataLength); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 0x6A502020: |
|
|
|
case 0x6A502020: |
|
|
|
if (0x0d0a870a !== readUint32(data, position)) { |
|
|
|
if (readUint32(data, position) !== 0x0d0a870a) { |
|
|
|
warn('Invalid JP2 signature'); |
|
|
|
warn('Invalid JP2 signature'); |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -38777,8 +38777,8 @@ if (!globalScope.PDFJS) { |
|
|
|
globalScope.PDFJS = {}; |
|
|
|
globalScope.PDFJS = {}; |
|
|
|
} |
|
|
|
} |
|
|
|
var PDFJS = globalScope.PDFJS; |
|
|
|
var PDFJS = globalScope.PDFJS; |
|
|
|
PDFJS.version = '1.7.368'; |
|
|
|
PDFJS.version = '1.7.370'; |
|
|
|
PDFJS.build = 'da326a31'; |
|
|
|
PDFJS.build = '3ff872b7'; |
|
|
|
PDFJS.pdfBug = false; |
|
|
|
PDFJS.pdfBug = false; |
|
|
|
if (PDFJS.verbosity !== undefined) { |
|
|
|
if (PDFJS.verbosity !== undefined) { |
|
|
|
sharedUtil.setVerbosityLevel(PDFJS.verbosity); |
|
|
|
sharedUtil.setVerbosityLevel(PDFJS.verbosity); |
|
|
@ -57441,7 +57441,7 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { |
|
|
|
cursor = 0; |
|
|
|
cursor = 0; |
|
|
|
state = 'no scheme'; |
|
|
|
state = 'no scheme'; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} else if (EOF === c) { |
|
|
|
} else if (c === EOF) { |
|
|
|
break loop; |
|
|
|
break loop; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
err('Code point not allowed in scheme: ' + c); |
|
|
|
err('Code point not allowed in scheme: ' + c); |
|
|
@ -57456,7 +57456,7 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { |
|
|
|
this._fragment = '#'; |
|
|
|
this._fragment = '#'; |
|
|
|
state = 'fragment'; |
|
|
|
state = 'fragment'; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
if (EOF !== c && '\t' !== c && '\n' !== c && '\r' !== c) { |
|
|
|
if (c !== EOF && c !== '\t' && c !== '\n' && c !== '\r') { |
|
|
|
this._schemeData += percentEscape(c); |
|
|
|
this._schemeData += percentEscape(c); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -57481,10 +57481,10 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 'relative': |
|
|
|
case 'relative': |
|
|
|
this._isRelative = true; |
|
|
|
this._isRelative = true; |
|
|
|
if ('file' !== this._scheme) { |
|
|
|
if (this._scheme !== 'file') { |
|
|
|
this._scheme = base._scheme; |
|
|
|
this._scheme = base._scheme; |
|
|
|
} |
|
|
|
} |
|
|
|
if (EOF === c) { |
|
|
|
if (c === EOF) { |
|
|
|
this._host = base._host; |
|
|
|
this._host = base._host; |
|
|
|
this._port = base._port; |
|
|
|
this._port = base._port; |
|
|
|
this._path = base._path.slice(); |
|
|
|
this._path = base._path.slice(); |
|
|
@ -57517,7 +57517,7 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
var nextC = input[cursor + 1]; |
|
|
|
var nextC = input[cursor + 1]; |
|
|
|
var nextNextC = input[cursor + 2]; |
|
|
|
var nextNextC = input[cursor + 2]; |
|
|
|
if ('file' !== this._scheme || !ALPHA.test(c) || nextC !== ':' && nextC !== '|' || EOF !== nextNextC && '/' !== nextNextC && '\\' !== nextNextC && '?' !== nextNextC && '#' !== nextNextC) { |
|
|
|
if (this._scheme !== 'file' || !ALPHA.test(c) || nextC !== ':' && nextC !== '|' || nextNextC !== EOF && nextNextC !== '/' && nextNextC !== '\\' && nextNextC !== '?' && nextNextC !== '#') { |
|
|
|
this._host = base._host; |
|
|
|
this._host = base._host; |
|
|
|
this._port = base._port; |
|
|
|
this._port = base._port; |
|
|
|
this._username = base._username; |
|
|
|
this._username = base._username; |
|
|
@ -57540,7 +57540,7 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { |
|
|
|
state = 'authority ignore slashes'; |
|
|
|
state = 'authority ignore slashes'; |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
if ('file' !== this._scheme) { |
|
|
|
if (this._scheme !== 'file') { |
|
|
|
this._host = base._host; |
|
|
|
this._host = base._host; |
|
|
|
this._port = base._port; |
|
|
|
this._port = base._port; |
|
|
|
this._username = base._username; |
|
|
|
this._username = base._username; |
|
|
@ -57561,13 +57561,13 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 'authority second slash': |
|
|
|
case 'authority second slash': |
|
|
|
state = 'authority ignore slashes'; |
|
|
|
state = 'authority ignore slashes'; |
|
|
|
if ('/' !== c) { |
|
|
|
if (c !== '/') { |
|
|
|
err('Expected \'/\', got: ' + c); |
|
|
|
err('Expected \'/\', got: ' + c); |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 'authority ignore slashes': |
|
|
|
case 'authority ignore slashes': |
|
|
|
if ('/' !== c && '\\' !== c) { |
|
|
|
if (c !== '/' && c !== '\\') { |
|
|
|
state = 'authority'; |
|
|
|
state = 'authority'; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -57592,7 +57592,7 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
var tempC = percentEscape(cp); |
|
|
|
var tempC = percentEscape(cp); |
|
|
|
if (null !== this._password) { |
|
|
|
if (this._password !== null) { |
|
|
|
this._password += tempC; |
|
|
|
this._password += tempC; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this._username += tempC; |
|
|
|
this._username += tempC; |
|
|
@ -57643,7 +57643,7 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { |
|
|
|
break loop; |
|
|
|
break loop; |
|
|
|
} |
|
|
|
} |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} else if ('\t' !== c && '\n' !== c && '\r' !== c) { |
|
|
|
} else if (c !== '\t' && c !== '\n' && c !== '\r') { |
|
|
|
if (c === '[') { |
|
|
|
if (c === '[') { |
|
|
|
seenBracket = true; |
|
|
|
seenBracket = true; |
|
|
|
} else if (c === ']') { |
|
|
|
} else if (c === ']') { |
|
|
@ -57658,7 +57658,7 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { |
|
|
|
if (/[0-9]/.test(c)) { |
|
|
|
if (/[0-9]/.test(c)) { |
|
|
|
buffer += c; |
|
|
|
buffer += c; |
|
|
|
} else if (c === EOF || c === '/' || c === '\\' || c === '?' || c === '#' || stateOverride) { |
|
|
|
} else if (c === EOF || c === '/' || c === '\\' || c === '?' || c === '#' || stateOverride) { |
|
|
|
if ('' !== buffer) { |
|
|
|
if (buffer !== '') { |
|
|
|
var temp = parseInt(buffer, 10); |
|
|
|
var temp = parseInt(buffer, 10); |
|
|
|
if (temp !== relative[this._scheme]) { |
|
|
|
if (temp !== relative[this._scheme]) { |
|
|
|
this._port = temp + ''; |
|
|
|
this._port = temp + ''; |
|
|
@ -57681,7 +57681,7 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { |
|
|
|
err('\'\\\' not allowed in path.'); |
|
|
|
err('\'\\\' not allowed in path.'); |
|
|
|
} |
|
|
|
} |
|
|
|
state = 'relative path'; |
|
|
|
state = 'relative path'; |
|
|
|
if ('/' !== c && '\\' !== c) { |
|
|
|
if (c !== '/' && c !== '\\') { |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -57696,12 +57696,12 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { |
|
|
|
} |
|
|
|
} |
|
|
|
if (buffer === '..') { |
|
|
|
if (buffer === '..') { |
|
|
|
this._path.pop(); |
|
|
|
this._path.pop(); |
|
|
|
if ('/' !== c && '\\' !== c) { |
|
|
|
if (c !== '/' && c !== '\\') { |
|
|
|
this._path.push(''); |
|
|
|
this._path.push(''); |
|
|
|
} |
|
|
|
} |
|
|
|
} else if (buffer === '.' && '/' !== c && '\\' !== c) { |
|
|
|
} else if (buffer === '.' && c !== '/' && c !== '\\') { |
|
|
|
this._path.push(''); |
|
|
|
this._path.push(''); |
|
|
|
} else if ('.' !== buffer) { |
|
|
|
} else if (buffer !== '.') { |
|
|
|
if (this._scheme === 'file' && this._path.length === 0 && buffer.length === 2 && ALPHA.test(buffer[0]) && buffer[1] === '|') { |
|
|
|
if (this._scheme === 'file' && this._path.length === 0 && buffer.length === 2 && ALPHA.test(buffer[0]) && buffer[1] === '|') { |
|
|
|
buffer = buffer[0] + ':'; |
|
|
|
buffer = buffer[0] + ':'; |
|
|
|
} |
|
|
|
} |
|
|
@ -57715,7 +57715,7 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { |
|
|
|
this._fragment = '#'; |
|
|
|
this._fragment = '#'; |
|
|
|
state = 'fragment'; |
|
|
|
state = 'fragment'; |
|
|
|
} |
|
|
|
} |
|
|
|
} else if ('\t' !== c && '\n' !== c && '\r' !== c) { |
|
|
|
} else if (c !== '\t' && c !== '\n' && c !== '\r') { |
|
|
|
buffer += percentEscape(c); |
|
|
|
buffer += percentEscape(c); |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -57723,12 +57723,12 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { |
|
|
|
if (!stateOverride && c === '#') { |
|
|
|
if (!stateOverride && c === '#') { |
|
|
|
this._fragment = '#'; |
|
|
|
this._fragment = '#'; |
|
|
|
state = 'fragment'; |
|
|
|
state = 'fragment'; |
|
|
|
} else if (EOF !== c && '\t' !== c && '\n' !== c && '\r' !== c) { |
|
|
|
} else if (c !== EOF && c !== '\t' && c !== '\n' && c !== '\r') { |
|
|
|
this._query += percentEscapeQuery(c); |
|
|
|
this._query += percentEscapeQuery(c); |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 'fragment': |
|
|
|
case 'fragment': |
|
|
|
if (EOF !== c && '\t' !== c && '\n' !== c && '\r' !== c) { |
|
|
|
if (c !== EOF && c !== '\t' && c !== '\n' && c !== '\r') { |
|
|
|
this._fragment += c; |
|
|
|
this._fragment += c; |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
@ -57767,8 +57767,8 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { |
|
|
|
return this._url; |
|
|
|
return this._url; |
|
|
|
} |
|
|
|
} |
|
|
|
var authority = ''; |
|
|
|
var authority = ''; |
|
|
|
if ('' !== this._username || null !== this._password) { |
|
|
|
if (this._username !== '' || this._password !== null) { |
|
|
|
authority = this._username + (null !== this._password ? ':' + this._password : '') + '@'; |
|
|
|
authority = this._username + (this._password !== null ? ':' + this._password : '') + '@'; |
|
|
|
} |
|
|
|
} |
|
|
|
return this.protocol + (this._isRelative ? '//' + authority + this.host : '') + this.pathname + this._query + this._fragment; |
|
|
|
return this.protocol + (this._isRelative ? '//' + authority + this.host : '') + this.pathname + this._query + this._fragment; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -57887,8 +57887,8 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { |
|
|
|
|
|
|
|
|
|
|
|
"use strict"; |
|
|
|
"use strict"; |
|
|
|
|
|
|
|
|
|
|
|
var pdfjsVersion = '1.7.368'; |
|
|
|
var pdfjsVersion = '1.7.370'; |
|
|
|
var pdfjsBuild = 'da326a31'; |
|
|
|
var pdfjsBuild = '3ff872b7'; |
|
|
|
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); |
|
|
|