|
|
@ -12737,8 +12737,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
}(); |
|
|
|
}(); |
|
|
|
exports.version = '1.8.177'; |
|
|
|
exports.version = '1.8.179'; |
|
|
|
exports.build = 'd6dfc26d'; |
|
|
|
exports.build = '10e5f766'; |
|
|
|
exports.getDocument = getDocument; |
|
|
|
exports.getDocument = getDocument; |
|
|
|
exports.PDFDataRangeTransport = PDFDataRangeTransport; |
|
|
|
exports.PDFDataRangeTransport = PDFDataRangeTransport; |
|
|
|
exports.PDFWorker = PDFWorker; |
|
|
|
exports.PDFWorker = PDFWorker; |
|
|
@ -18188,6 +18188,48 @@ var PartialEvaluator = function PartialEvaluatorClosure() { |
|
|
|
this.checked = 0; |
|
|
|
this.checked = 0; |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
function normalizeBlendMode(value) { |
|
|
|
|
|
|
|
if (!isName(value)) { |
|
|
|
|
|
|
|
return 'source-over'; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
switch (value.name) { |
|
|
|
|
|
|
|
case 'Normal': |
|
|
|
|
|
|
|
case 'Compatible': |
|
|
|
|
|
|
|
return 'source-over'; |
|
|
|
|
|
|
|
case 'Multiply': |
|
|
|
|
|
|
|
return 'multiply'; |
|
|
|
|
|
|
|
case 'Screen': |
|
|
|
|
|
|
|
return 'screen'; |
|
|
|
|
|
|
|
case 'Overlay': |
|
|
|
|
|
|
|
return 'overlay'; |
|
|
|
|
|
|
|
case 'Darken': |
|
|
|
|
|
|
|
return 'darken'; |
|
|
|
|
|
|
|
case 'Lighten': |
|
|
|
|
|
|
|
return 'lighten'; |
|
|
|
|
|
|
|
case 'ColorDodge': |
|
|
|
|
|
|
|
return 'color-dodge'; |
|
|
|
|
|
|
|
case 'ColorBurn': |
|
|
|
|
|
|
|
return 'color-burn'; |
|
|
|
|
|
|
|
case 'HardLight': |
|
|
|
|
|
|
|
return 'hard-light'; |
|
|
|
|
|
|
|
case 'SoftLight': |
|
|
|
|
|
|
|
return 'soft-light'; |
|
|
|
|
|
|
|
case 'Difference': |
|
|
|
|
|
|
|
return 'difference'; |
|
|
|
|
|
|
|
case 'Exclusion': |
|
|
|
|
|
|
|
return 'exclusion'; |
|
|
|
|
|
|
|
case 'Hue': |
|
|
|
|
|
|
|
return 'hue'; |
|
|
|
|
|
|
|
case 'Saturation': |
|
|
|
|
|
|
|
return 'saturation'; |
|
|
|
|
|
|
|
case 'Color': |
|
|
|
|
|
|
|
return 'color'; |
|
|
|
|
|
|
|
case 'Luminosity': |
|
|
|
|
|
|
|
return 'luminosity'; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
warn('Unsupported blend mode: ' + value.name); |
|
|
|
|
|
|
|
return 'source-over'; |
|
|
|
|
|
|
|
} |
|
|
|
var deferred = Promise.resolve(); |
|
|
|
var deferred = Promise.resolve(); |
|
|
|
var TILING_PATTERN = 1, |
|
|
|
var TILING_PATTERN = 1, |
|
|
|
SHADING_PATTERN = 2; |
|
|
|
SHADING_PATTERN = 2; |
|
|
@ -18464,7 +18506,7 @@ var PartialEvaluator = function PartialEvaluatorClosure() { |
|
|
|
}); |
|
|
|
}); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 'BM': |
|
|
|
case 'BM': |
|
|
|
gStateObj.push([key, value]); |
|
|
|
gStateObj.push([key, normalizeBlendMode(value)]); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 'SMask': |
|
|
|
case 'SMask': |
|
|
|
if (isName(value, 'None')) { |
|
|
|
if (isName(value, 'None')) { |
|
|
@ -27929,8 +27971,8 @@ if (!globalScope.PDFJS) { |
|
|
|
globalScope.PDFJS = {}; |
|
|
|
globalScope.PDFJS = {}; |
|
|
|
} |
|
|
|
} |
|
|
|
var PDFJS = globalScope.PDFJS; |
|
|
|
var PDFJS = globalScope.PDFJS; |
|
|
|
PDFJS.version = '1.8.177'; |
|
|
|
PDFJS.version = '1.8.179'; |
|
|
|
PDFJS.build = 'd6dfc26d'; |
|
|
|
PDFJS.build = '10e5f766'; |
|
|
|
PDFJS.pdfBug = false; |
|
|
|
PDFJS.pdfBug = false; |
|
|
|
if (PDFJS.verbosity !== undefined) { |
|
|
|
if (PDFJS.verbosity !== undefined) { |
|
|
|
sharedUtil.setVerbosityLevel(PDFJS.verbosity); |
|
|
|
sharedUtil.setVerbosityLevel(PDFJS.verbosity); |
|
|
@ -41782,17 +41824,7 @@ var CanvasGraphics = function CanvasGraphicsClosure() { |
|
|
|
this.ctx.globalAlpha = state[1]; |
|
|
|
this.ctx.globalAlpha = state[1]; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 'BM': |
|
|
|
case 'BM': |
|
|
|
if (value && value.name && value.name !== 'Normal') { |
|
|
|
this.ctx.globalCompositeOperation = value; |
|
|
|
var mode = value.name.replace(/([A-Z])/g, function (c) { |
|
|
|
|
|
|
|
return '-' + c.toLowerCase(); |
|
|
|
|
|
|
|
}).substring(1); |
|
|
|
|
|
|
|
this.ctx.globalCompositeOperation = mode; |
|
|
|
|
|
|
|
if (this.ctx.globalCompositeOperation !== mode) { |
|
|
|
|
|
|
|
warn('globalCompositeOperation "' + mode + '" is not supported'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.ctx.globalCompositeOperation = 'source-over'; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
break; |
|
|
|
case 'SMask': |
|
|
|
case 'SMask': |
|
|
|
if (this.current.activeSMask) { |
|
|
|
if (this.current.activeSMask) { |
|
|
@ -41827,7 +41859,7 @@ var CanvasGraphics = function CanvasGraphicsClosure() { |
|
|
|
activeSMask.startTransformInverse = groupCtx.mozCurrentTransformInverse; |
|
|
|
activeSMask.startTransformInverse = groupCtx.mozCurrentTransformInverse; |
|
|
|
copyCtxState(currentCtx, groupCtx); |
|
|
|
copyCtxState(currentCtx, groupCtx); |
|
|
|
this.ctx = groupCtx; |
|
|
|
this.ctx = groupCtx; |
|
|
|
this.setGState([['BM', 'Normal'], ['ca', 1], ['CA', 1]]); |
|
|
|
this.setGState([['BM', 'source-over'], ['ca', 1], ['CA', 1]]); |
|
|
|
this.groupStack.push(currentCtx); |
|
|
|
this.groupStack.push(currentCtx); |
|
|
|
this.groupLevel++; |
|
|
|
this.groupLevel++; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -42496,7 +42528,7 @@ var CanvasGraphics = function CanvasGraphicsClosure() { |
|
|
|
} |
|
|
|
} |
|
|
|
copyCtxState(currentCtx, groupCtx); |
|
|
|
copyCtxState(currentCtx, groupCtx); |
|
|
|
this.ctx = groupCtx; |
|
|
|
this.ctx = groupCtx; |
|
|
|
this.setGState([['BM', 'Normal'], ['ca', 1], ['CA', 1]]); |
|
|
|
this.setGState([['BM', 'source-over'], ['ca', 1], ['CA', 1]]); |
|
|
|
this.groupStack.push(currentCtx); |
|
|
|
this.groupStack.push(currentCtx); |
|
|
|
this.groupLevel++; |
|
|
|
this.groupLevel++; |
|
|
|
this.current.activeSMask = null; |
|
|
|
this.current.activeSMask = null; |
|
|
@ -43466,8 +43498,8 @@ exports.TilingPattern = TilingPattern; |
|
|
|
"use strict"; |
|
|
|
"use strict"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var pdfjsVersion = '1.8.177'; |
|
|
|
var pdfjsVersion = '1.8.179'; |
|
|
|
var pdfjsBuild = 'd6dfc26d'; |
|
|
|
var pdfjsBuild = '10e5f766'; |
|
|
|
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); |
|
|
|