|
|
@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PDFJS.version = '1.1.500'; |
|
|
|
PDFJS.version = '1.1.503'; |
|
|
|
PDFJS.build = '39d7593'; |
|
|
|
PDFJS.build = '5e4910f'; |
|
|
|
|
|
|
|
|
|
|
|
(function pdfjsWrapper() { |
|
|
|
(function pdfjsWrapper() { |
|
|
|
// Use strict in our context only - users might not want it
|
|
|
|
// Use strict in our context only - users might not want it
|
|
|
@ -10590,6 +10590,7 @@ var XRef = (function XRefClosure() { |
|
|
|
} |
|
|
|
} |
|
|
|
return skipped; |
|
|
|
return skipped; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
var objRegExp = /^(\d+)\s+(\d+)\s+obj\b/; |
|
|
|
var trailerBytes = new Uint8Array([116, 114, 97, 105, 108, 101, 114]); |
|
|
|
var trailerBytes = new Uint8Array([116, 114, 97, 105, 108, 101, 114]); |
|
|
|
var startxrefBytes = new Uint8Array([115, 116, 97, 114, 116, 120, 114, |
|
|
|
var startxrefBytes = new Uint8Array([115, 116, 97, 114, 116, 120, 114, |
|
|
|
101, 102]); |
|
|
|
101, 102]); |
|
|
@ -10627,7 +10628,7 @@ var XRef = (function XRefClosure() { |
|
|
|
position += skipUntil(buffer, position, trailerBytes); |
|
|
|
position += skipUntil(buffer, position, trailerBytes); |
|
|
|
trailers.push(position); |
|
|
|
trailers.push(position); |
|
|
|
position += skipUntil(buffer, position, startxrefBytes); |
|
|
|
position += skipUntil(buffer, position, startxrefBytes); |
|
|
|
} else if ((m = /^(\d+)\s+(\d+)\s+obj\b/.exec(token))) { |
|
|
|
} else if ((m = objRegExp.exec(token))) { |
|
|
|
if (typeof this.entries[m[1]] === 'undefined') { |
|
|
|
if (typeof this.entries[m[1]] === 'undefined') { |
|
|
|
this.entries[m[1]] = { |
|
|
|
this.entries[m[1]] = { |
|
|
|
offset: position - stream.start, |
|
|
|
offset: position - stream.start, |
|
|
@ -10648,6 +10649,10 @@ var XRef = (function XRefClosure() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
position += contentLength; |
|
|
|
position += contentLength; |
|
|
|
|
|
|
|
} else if (token.indexOf('trailer') === 0 && |
|
|
|
|
|
|
|
(token.length === 7 || /\s/.test(token[7]))) { |
|
|
|
|
|
|
|
trailers.push(position); |
|
|
|
|
|
|
|
position += skipUntil(buffer, position, startxrefBytes); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
position += token.length + 1; |
|
|
|
position += token.length + 1; |
|
|
|
} |
|
|
|
} |
|
|
|