Version Description
Minified Javascript code. Default width/height (now "max") expands to fill parent container width regardless of the natural size of the document. Use width="auto" to obtain the old behavior.
Download this release
Release Info
Developer | danlester |
Plugin | PDF Embedder |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
- core/core_pdf_embedder.php +17 -3
- js/all-pdfemb-basic.min.js +5 -0
- js/pdfemb-basic.js +7 -0
- js/pdfemb-embed-pdf.js +83 -50
- js/pdfjs/pdf.js +2 -0
- js/pdfjs/pdf.min.js +193 -0
- js/pdfjs/pdf.worker.min.js +990 -0
- pdf_embedder.php +14 -3
- readme.txt +18 -5
core/core_pdf_embedder.php
CHANGED
@@ -2,6 +2,10 @@
|
|
2 |
|
3 |
class core_pdf_embedder {
|
4 |
|
|
|
|
|
|
|
|
|
5 |
protected function __construct() {
|
6 |
$this->add_actions();
|
7 |
register_activation_hook($this->my_plugin_basename(), array( $this, 'pdfemb_activation_hook' ) );
|
@@ -27,7 +31,7 @@ class core_pdf_embedder {
|
|
27 |
}
|
28 |
|
29 |
protected function get_translation_array() {
|
30 |
-
return Array('worker_src' => $this->my_plugin_url().'js/pdfjs/pdf.worker.js');
|
31 |
}
|
32 |
|
33 |
protected function get_extra_js_name() {
|
@@ -57,6 +61,10 @@ class core_pdf_embedder {
|
|
57 |
}
|
58 |
}
|
59 |
|
|
|
|
|
|
|
|
|
60 |
/* public function pdfemb_wp_get_attachment_link( $link, $id, $size, $permalink, $icon, $text ) {
|
61 |
return $link;
|
62 |
}*/
|
@@ -69,7 +77,7 @@ class core_pdf_embedder {
|
|
69 |
|
70 |
$this->insert_scripts();
|
71 |
|
72 |
-
$width = isset($atts['width']) ? $atts['width'] : '
|
73 |
$height = isset($atts['height']) ? $atts['height'] : 'auto';
|
74 |
|
75 |
$extra_style = isset($atts['border']) ? "border: ".$atts['border'].";" : "border:1px solid black; ";
|
@@ -80,7 +88,7 @@ class core_pdf_embedder {
|
|
80 |
$extra_style .= "height: ".$height."px; ";
|
81 |
}
|
82 |
|
83 |
-
$returnhtml = '<div class="pdfemb-viewer" data-pdf-url="'.esc_attr($url).'" style="'.esc_attr($extra_style).'" '
|
84 |
.'data-width="'.esc_attr($width).'" data-height="'.esc_attr($height).'"></div>';
|
85 |
|
86 |
if (!is_null($content)) {
|
@@ -280,7 +288,13 @@ class core_pdf_embedder {
|
|
280 |
register_setting( $this->get_options_pagename(), $this->get_options_name(), Array($this, 'pdfemb_options_validate') );
|
281 |
}
|
282 |
|
|
|
|
|
|
|
|
|
283 |
protected function add_actions() {
|
|
|
|
|
284 |
|
285 |
add_action( 'wp_enqueue_scripts', array($this, 'pdfemb_wp_enqueue_scripts'), 5, 0 );
|
286 |
add_shortcode( 'pdf-embedder', Array($this, 'pdfemb_shortcode_display_pdf') );
|
2 |
|
3 |
class core_pdf_embedder {
|
4 |
|
5 |
+
protected function useminified() {
|
6 |
+
return true;
|
7 |
+
}
|
8 |
+
|
9 |
protected function __construct() {
|
10 |
$this->add_actions();
|
11 |
register_activation_hook($this->my_plugin_basename(), array( $this, 'pdfemb_activation_hook' ) );
|
31 |
}
|
32 |
|
33 |
protected function get_translation_array() {
|
34 |
+
return Array('worker_src' => $this->my_plugin_url().'js/pdfjs/pdf.worker'.($this->useminified() ? '.min' : '').'.js');
|
35 |
}
|
36 |
|
37 |
protected function get_extra_js_name() {
|
61 |
}
|
62 |
}
|
63 |
|
64 |
+
protected function modify_pdfurl($url) {
|
65 |
+
return $url;
|
66 |
+
}
|
67 |
+
|
68 |
/* public function pdfemb_wp_get_attachment_link( $link, $id, $size, $permalink, $icon, $text ) {
|
69 |
return $link;
|
70 |
}*/
|
77 |
|
78 |
$this->insert_scripts();
|
79 |
|
80 |
+
$width = isset($atts['width']) ? $atts['width'] : 'max';
|
81 |
$height = isset($atts['height']) ? $atts['height'] : 'auto';
|
82 |
|
83 |
$extra_style = isset($atts['border']) ? "border: ".$atts['border'].";" : "border:1px solid black; ";
|
88 |
$extra_style .= "height: ".$height."px; ";
|
89 |
}
|
90 |
|
91 |
+
$returnhtml = '<div class="pdfemb-viewer" data-pdf-url="'.esc_attr($this->modify_pdfurl($url)).'" style="'.esc_attr($extra_style).'" '
|
92 |
.'data-width="'.esc_attr($width).'" data-height="'.esc_attr($height).'"></div>';
|
93 |
|
94 |
if (!is_null($content)) {
|
288 |
register_setting( $this->get_options_pagename(), $this->get_options_name(), Array($this, 'pdfemb_options_validate') );
|
289 |
}
|
290 |
|
291 |
+
// Override in Premium
|
292 |
+
public function pdfemb_init() {
|
293 |
+
}
|
294 |
+
|
295 |
protected function add_actions() {
|
296 |
+
|
297 |
+
add_action( 'init', array($this, 'pdfemb_init') );
|
298 |
|
299 |
add_action( 'wp_enqueue_scripts', array($this, 'pdfemb_wp_enqueue_scripts'), 5, 0 );
|
300 |
add_shortcode( 'pdf-embedder', Array($this, 'pdfemb_shortcode_display_pdf') );
|
js/all-pdfemb-basic.min.js
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
function pdfembGetPDF(b,a){a(b)};jQuery(document).ready(function(b){b.fn.pdfEmbedder=function(){this.each(function(a,h){var c=b(h);c.append(b("<canvas></canvas>",{"class":"the-canvas"}));var e=c.attr("data-pdf-url");pdfembGetPDF(e,function(a){PDFJS.getDocument(a).then(function(a){c.data("pdfDoc",a);b.fn.pdfEmbedder.addToolbar(c,!1);c.data("pageNum",1);c.data("pageNumPending",null);b.fn.pdfEmbedder.renderPage(c,1);b(window).resize(function(){b.fn.pdfEmbedder.queueRenderPage(c,c.data("pageNum"))})},function(a){c.empty().append(b("<div></div>",
|
2 |
+
{"class":"pdfemb-errormsg"}).append(document.createTextNode(a.message)))})})});return this};b.fn.pdfEmbedder.renderPage=function(a,h){a.data("pageRendering",!0);a.data("pdfDoc").getPage(h).then(function(c){var e=a.find(".the-canvas"),f,g=c.getViewport(1);f=g.width;g=g.height;(0>=f||0>=g)&&a.empty().append(document.createTextNode("PDF page width or height are invalid"));var k=a.parent().width(),d=f,l=g;if("max"==a.data("width"))d=k;else if("auto"==a.data("width"))d=f;else if(d=parseInt(a.data("width"),
|
3 |
+
10),isNaN(d)||0>=d)d=k;0>=d&&(d=f);d>k&&0<k&&(d=k);f=d/f;l=g*f;d!=e.width()&&e.width(d);d!=a.width()&&a.width(d);d=parseInt(a.data("height"),10);!isNaN(d)&&0<d&&d<l&&(l=d);a.height()!=l+4&&a.height(l+4);e.height()!=g*f&&e.height(g*f);g=c.getViewport(f);e[0].height=g.height;e[0].width=g.width;e={canvasContext:e[0].getContext("2d"),viewport:g};c.render(e).promise.then(function(){a.data("pageNum",h);a.data("pageRendering",!1);null!==a.data("pageNumPending")&&(b.fn.pdfEmbedder.renderPage(a,a.data("pageNumPending")),
|
4 |
+
a.data("pageNumPending",null))})})};b.fn.pdfEmbedder.queueRenderPage=function(a,h){a.data("pageRendering")?a.data("pageNumPending",h):b.fn.pdfEmbedder.renderPage(a,h)};b.fn.pdfEmbedder.addToolbar=function(a,h){var c=b("<div></div>",{"class":"pdfemb-toolbar "+(h?" pdfemb-toolbar-top":"pdfemb-toolbar-bottom")}),e=b("<button>Prev</button>",{"class":"pdfemb-prev"});c.append(e);var f=b("<button>Next</button>",{"class":"pdfemb-next"});c.append(f);h?a.prepend(c):a.append(c);e.on("click",function(c){1>=a.data("pageNum")||
|
5 |
+
(a.data("pageNum",a.data("pageNum")-1),b.fn.pdfEmbedder.queueRenderPage(a,a.data("pageNum")))});f.on("click",function(c){a.data("pageNum")>=a.data("pdfDoc").numPages||(a.data("pageNum",a.data("pageNum")+1),b.fn.pdfEmbedder.queueRenderPage(a,a.data("pageNum")))});a.on("mouseenter",function(b){a.find("div.pdfemb-toolbar").show()});a.on("mouseleave",function(b){a.find("div.pdfemb-toolbar").hide()})};PDFJS.workerSrc=pdfemb_trans.worker_src;b(".pdfemb-viewer").pdfEmbedder()});
|
js/pdfemb-basic.js
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
function pdfembGetPDF(url, callback) {
|
3 |
+
|
4 |
+
callback(url);
|
5 |
+
|
6 |
+
};
|
7 |
+
|
js/pdfemb-embed-pdf.js
CHANGED
@@ -1,39 +1,46 @@
|
|
1 |
|
2 |
// JQuery Plugin
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
$.fn.pdfEmbedder = function() {
|
7 |
|
8 |
this.each(function(index, rawDivContainer) {
|
9 |
|
10 |
var divContainer = $(rawDivContainer);
|
11 |
-
divContainer.append($('<canvas></canvas>', {class: 'the-canvas'})); //style: 'border:1px solid black',
|
12 |
|
13 |
var url = divContainer.attr('data-pdf-url');
|
14 |
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
});
|
38 |
|
39 |
return this;
|
@@ -57,31 +64,61 @@
|
|
57 |
var pageWidth = vp.width;
|
58 |
var pageHeight = vp.height;
|
59 |
|
|
|
|
|
|
|
|
|
60 |
// Max out at parent container width
|
61 |
var parentWidth = divContainer.parent().width();
|
62 |
-
if (parentWidth < pageWidth) {
|
63 |
-
scale = parentWidth / pageWidth;
|
64 |
-
pageHeight = pageHeight * scale;
|
65 |
-
pageWidth = parentWidth;
|
66 |
-
}
|
67 |
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
|
|
|
|
|
|
|
|
72 |
}
|
73 |
else {
|
74 |
-
|
75 |
-
|
|
|
|
|
76 |
}
|
77 |
|
78 |
-
if (
|
79 |
-
|
80 |
-
divContainer.height(pageHeight * scale + 4);
|
81 |
-
}
|
82 |
}
|
83 |
|
84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
|
87 |
var viewport = page.getViewport(scale);
|
@@ -123,10 +160,10 @@
|
|
123 |
|
124 |
$.fn.pdfEmbedder.addToolbar = function(divContainer, atTop){
|
125 |
|
126 |
-
var toolbar = $('<div></div>', {class: 'pdfemb-toolbar '+(atTop ? ' pdfemb-toolbar-top' : 'pdfemb-toolbar-bottom')});
|
127 |
-
var prevbtn = $('<button>Prev</button>', {class: "pdfemb-prev"});
|
128 |
toolbar.append(prevbtn);
|
129 |
-
var nextbtn = $('<button>Next</button>', {class: "pdfemb-next"});
|
130 |
toolbar.append(nextbtn);
|
131 |
//<span>Page: <span id="page_num"></span> / <span id="page_count"></span></span></div>
|
132 |
|
@@ -167,12 +204,8 @@
|
|
167 |
);
|
168 |
|
169 |
};
|
170 |
-
|
171 |
-
}( jQuery ));
|
172 |
-
|
173 |
-
// Apply plugin to relevant divs/};
|
174 |
|
175 |
-
|
176 |
|
177 |
PDFJS.workerSrc = pdfemb_trans.worker_src;
|
178 |
$('.pdfemb-viewer').pdfEmbedder();
|
1 |
|
2 |
// JQuery Plugin
|
3 |
+
jQuery(document).ready(function ($) {
|
4 |
+
|
|
|
5 |
$.fn.pdfEmbedder = function() {
|
6 |
|
7 |
this.each(function(index, rawDivContainer) {
|
8 |
|
9 |
var divContainer = $(rawDivContainer);
|
10 |
+
divContainer.append($('<canvas></canvas>', {'class': 'the-canvas'})); //style: 'border:1px solid black',
|
11 |
|
12 |
var url = divContainer.attr('data-pdf-url');
|
13 |
|
14 |
+
var callback = function(pdf) {
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Asynchronously downloads PDF.
|
18 |
+
*/
|
19 |
+
|
20 |
+
PDFJS.getDocument(pdf).then(function (pdfDoc_) {
|
21 |
+
divContainer.data('pdfDoc', pdfDoc_);
|
22 |
+
//document.getElementById('page_count').textContent = this.pdfDoc.numPages;
|
23 |
+
|
24 |
+
//$.fn.pdfEmbedder.addToolbar(divContainer, true);
|
25 |
+
$.fn.pdfEmbedder.addToolbar(divContainer, false);
|
26 |
+
|
27 |
+
// Initial/first page rendering
|
28 |
+
divContainer.data('pageNum', 1);
|
29 |
+
divContainer.data('pageNumPending', null);
|
30 |
+
$.fn.pdfEmbedder.renderPage(divContainer, 1);
|
31 |
+
|
32 |
+
$(window).resize(function() {
|
33 |
+
$.fn.pdfEmbedder.queueRenderPage(divContainer, divContainer.data('pageNum'));
|
34 |
+
});
|
35 |
+
},
|
36 |
+
function(e) {
|
37 |
+
divContainer.empty().append($('<div></div>', {'class': 'pdfemb-errormsg'}).append(document.createTextNode(e.message)));
|
38 |
+
});
|
39 |
+
|
40 |
+
};
|
41 |
+
|
42 |
+
pdfembGetPDF(url, callback);
|
43 |
+
|
44 |
});
|
45 |
|
46 |
return this;
|
64 |
var pageWidth = vp.width;
|
65 |
var pageHeight = vp.height;
|
66 |
|
67 |
+
if (pageWidth <= 0 || pageHeight <= 0) {
|
68 |
+
divContainer.empty().append(document.createTextNode("PDF page width or height are invalid"));
|
69 |
+
}
|
70 |
+
|
71 |
// Max out at parent container width
|
72 |
var parentWidth = divContainer.parent().width();
|
|
|
|
|
|
|
|
|
|
|
73 |
|
74 |
+
var wantWidth = pageWidth;
|
75 |
+
var wantHeight = pageHeight;
|
76 |
+
|
77 |
+
if (divContainer.data('width') == 'max') {
|
78 |
+
wantWidth = parentWidth;
|
79 |
+
}
|
80 |
+
else if (divContainer.data('width') == 'auto') {
|
81 |
+
wantWidth = pageWidth;
|
82 |
}
|
83 |
else {
|
84 |
+
wantWidth = parseInt(divContainer.data('width'), 10);
|
85 |
+
if (isNaN(wantWidth) || wantWidth <= 0) {
|
86 |
+
wantWidth = parentWidth;
|
87 |
+
}
|
88 |
}
|
89 |
|
90 |
+
if (wantWidth <= 0) {
|
91 |
+
wantWidth = pageWidth;
|
|
|
|
|
92 |
}
|
93 |
|
94 |
+
// Always max at the parent container width
|
95 |
+
if (wantWidth > parentWidth && parentWidth > 0) {
|
96 |
+
wantWidth = parentWidth;
|
97 |
+
}
|
98 |
+
|
99 |
+
scale = wantWidth / pageWidth;
|
100 |
+
wantHeight = pageHeight * scale;
|
101 |
+
|
102 |
+
if (wantWidth != canvas.width()) {
|
103 |
+
canvas.width( wantWidth );
|
104 |
+
}
|
105 |
+
|
106 |
+
if (wantWidth != divContainer.width()) {
|
107 |
+
divContainer.width(wantWidth);
|
108 |
+
}
|
109 |
+
|
110 |
+
// Height can be overridden by user
|
111 |
+
var userHeight = parseInt(divContainer.data('height'), 10);
|
112 |
+
if (!isNaN(userHeight) && userHeight > 0 && userHeight < wantHeight) {
|
113 |
+
wantHeight = userHeight;
|
114 |
+
}
|
115 |
+
|
116 |
+
if (divContainer.height() != wantHeight + 4) {
|
117 |
+
divContainer.height(wantHeight + 4);
|
118 |
+
}
|
119 |
+
if (canvas.height() != pageHeight * scale) {
|
120 |
+
canvas.height(pageHeight * scale);
|
121 |
+
}
|
122 |
|
123 |
|
124 |
var viewport = page.getViewport(scale);
|
160 |
|
161 |
$.fn.pdfEmbedder.addToolbar = function(divContainer, atTop){
|
162 |
|
163 |
+
var toolbar = $('<div></div>', {'class': 'pdfemb-toolbar '+(atTop ? ' pdfemb-toolbar-top' : 'pdfemb-toolbar-bottom')});
|
164 |
+
var prevbtn = $('<button>Prev</button>', {'class': "pdfemb-prev"});
|
165 |
toolbar.append(prevbtn);
|
166 |
+
var nextbtn = $('<button>Next</button>', {'class': "pdfemb-next"});
|
167 |
toolbar.append(nextbtn);
|
168 |
//<span>Page: <span id="page_num"></span> / <span id="page_count"></span></span></div>
|
169 |
|
204 |
);
|
205 |
|
206 |
};
|
|
|
|
|
|
|
|
|
207 |
|
208 |
+
// Apply plugin to relevant divs/};
|
209 |
|
210 |
PDFJS.workerSrc = pdfemb_trans.worker_src;
|
211 |
$('.pdfemb-viewer').pdfEmbedder();
|
js/pdfjs/pdf.js
CHANGED
@@ -7995,3 +7995,5 @@ if (!PDFJS.workerSrc && typeof document !== 'undefined') {
|
|
7995 |
return pdfjsSrc && pdfjsSrc.replace(/\.js$/i, '.worker.js');
|
7996 |
})();
|
7997 |
}
|
|
|
|
7995 |
return pdfjsSrc && pdfjsSrc.replace(/\.js$/i, '.worker.js');
|
7996 |
})();
|
7997 |
}
|
7998 |
+
|
7999 |
+
|
js/pdfjs/pdf.min.js
ADDED
@@ -0,0 +1,193 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"undefined"===typeof PDFJS&&(("undefined"!==typeof window?window:this).PDFJS={});PDFJS.version="1.0.1086";PDFJS.build="465f52e";
|
2 |
+
(function(){function N(b){PDFJS.verbosity>=PDFJS.VERBOSITY_LEVELS.infos&&console.log("Info: "+b)}function r(b){PDFJS.verbosity>=PDFJS.VERBOSITY_LEVELS.warnings&&console.log("Warning: "+b)}function B(b){if(1<arguments.length){var a=["Error:"];a.push.apply(a,arguments);console.log.apply(console,a);b=[].join.call(arguments," ")}else console.log("Error: "+b);console.log(ma());aa.notify(na.unknown);throw Error(b);}function ma(){try{throw Error();}catch(b){return b.stack?b.stack.split("\n").slice(2).join("\n"):
|
3 |
+
""}}function oa(b,a){if(!a)return b;if(/^[a-z][a-z0-9+\-.]*:/i.test(a))return a;var d;if("/"===a.charAt(0))return d=b.indexOf("://"),"/"===a.charAt(1)?++d:d=b.indexOf("/",d+3),b.substring(0,d)+a;var c=b.length;d=b.lastIndexOf("#");c=0<=d?d:c;d=b.lastIndexOf("?",c);d=b.lastIndexOf("/",0<=d?d:c);return b.substring(0,d+1)+a}function R(b,a,d){Object.defineProperty(b,a,{value:d,enumerable:!0,configurable:!0,writable:!1});return d}function pa(b){"string"===typeof b||B("Invalid argument for stringToBytes");
|
4 |
+
for(var a=b.length,d=new Uint8Array(a),c=0;c<a;++c)d[c]=b.charCodeAt(c)&255;return d}function Q(b){return b instanceof Array}function L(){var b={};b.promise=new Promise(function(a,d){b.resolve=a;b.reject=d});return b}function U(b,a){this.name=b;this.comObj=a;this.callbackIndex=1;this.postMessageTransfers=!0;var d=this.callbacksCapabilities={},c=this.actionHandler={};c.console_log=[function(d){console.log.apply(console,d)}];c.console_error=[function(d){console.error.apply(console,d)}];c._unsupported_feature=
|
5 |
+
[function(d){aa.notify(d)}];a.onmessage=function(b){var e=b.data;if(e.isReply)if(b=e.callbackId,e.callbackId in d){var g=d[b];delete d[b];"error"in e?g.reject(e.error):g.resolve(e.data)}else B("Cannot resolve callback "+b);else if(e.action in c){var l=c[e.action];e.callbackId?Promise.resolve().then(function(){return l[0].call(l[1],e.data)}).then(function(d){a.postMessage({isReply:!0,callbackId:e.callbackId,data:d})},function(d){a.postMessage({isReply:!0,callbackId:e.callbackId,error:d})}):l[0].call(l[1],
|
6 |
+
e.data)}else B("Unknown action from worker: "+e.action)}}function qa(b,a,d){var c=new Image;c.onload=function(){d.resolve(b,c)};c.onerror=function(){d.resolve(b,null);r("Error during JPEG image loading")};c.src=a}function ba(b,a){var d=document.createElement("canvas");d.width=b;d.height=a;return d}function ca(b){b.mozCurrentTransform||(b._scaleX=b._scaleX||1,b._scaleY=b._scaleY||1,b._originalSave=b.save,b._originalRestore=b.restore,b._originalRotate=b.rotate,b._originalScale=b.scale,b._originalTranslate=
|
7 |
+
b.translate,b._originalTransform=b.transform,b._originalSetTransform=b.setTransform,b._transformMatrix=[b._scaleX,0,0,b._scaleY,0,0],b._transformStack=[],Object.defineProperty(b,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(b,"mozCurrentTransformInverse",{get:function(){var a=this._transformMatrix,d=a[0],c=a[1],b=a[2],e=a[3],g=a[4],a=a[5],l=d*e-c*b,h=c*b-d*e;return[e/l,c/h,b/h,d/l,(e*g-b*a)/h,(c*g-d*a)/l]}}),b.save=function(){var a=this._transformMatrix;
|
8 |
+
this._transformStack.push(a);this._transformMatrix=a.slice(0,6);this._originalSave()},b.restore=function(){var a=this._transformStack.pop();a&&(this._transformMatrix=a,this._originalRestore())},b.translate=function(a,d){var c=this._transformMatrix;c[4]=c[0]*a+c[2]*d+c[4];c[5]=c[1]*a+c[3]*d+c[5];this._originalTranslate(a,d)},b.scale=function(a,d){var c=this._transformMatrix;c[0]*=a;c[1]*=a;c[2]*=d;c[3]*=d;this._originalScale(a,d)},b.transform=function(a,d,c,f,e,g){var l=this._transformMatrix;this._transformMatrix=
|
9 |
+
[l[0]*a+l[2]*d,l[1]*a+l[3]*d,l[0]*c+l[2]*f,l[1]*c+l[3]*f,l[0]*e+l[2]*g+l[4],l[1]*e+l[3]*g+l[5]];b._originalTransform(a,d,c,f,e,g)},b.setTransform=function(a,d,c,f,e,g){this._transformMatrix=[a,d,c,f,e,g];b._originalSetTransform(a,d,c,f,e,g)},b.rotate=function(a){var d=Math.cos(a),c=Math.sin(a),b=this._transformMatrix;this._transformMatrix=[b[0]*d+b[2]*c,b[1]*d+b[3]*c,b[0]*-c+b[2]*d,b[1]*-c+b[3]*d,b[4],b[5]];this._originalRotate(a)})}function ra(b){var a=b.width,d=b.height,c,f,e=a+1,g=new Uint8Array(e*
|
10 |
+
(d+1)),l=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),h=a+7&-8,k=b.data,n=new Uint8Array(h*d),w=0;b=0;for(c=k.length;b<c;b++){f=128;for(var q=k[b];0<f;)n[w++]=q&f?0:255,f>>=1}w=k=0;0!==n[w]&&(g[0]=1,++k);for(c=1;c<a;c++)n[w]!==n[w+1]&&(g[c]=n[w]?2:1,++k),w++;0!==n[w]&&(g[c]=2,++k);for(b=1;b<d;b++){w=b*h;f=b*e;n[w-h]!==n[w]&&(g[f]=n[w]?1:8,++k);q=(n[w]?4:0)+(n[w-h]?8:0);for(c=1;c<a;c++)q=(q>>2)+(n[w+1]?4:0)+(n[w-h+1]?8:0),l[q]&&(g[f+c]=l[q],++k),w++;n[w-h]!==n[w]&&(g[f+c]=n[w]?2:4,++k);if(1E3<
|
11 |
+
k)return null}w=h*(d-1);f=b*e;0!==n[w]&&(g[f]=8,++k);for(c=1;c<a;c++)n[w]!==n[w+1]&&(g[f+c]=n[w]?4:8,++k),w++;0!==n[w]&&(g[f+c]=4,++k);if(1E3<k)return null;var l=new Int32Array([0,e,-1,0,-e,0,0,0,1]),z=[];for(b=0;k&&b<=d;b++){h=b*e;for(n=h+a;h<n&&!g[h];)h++;if(h!==n){n=[h%e,b];w=g[h];c=h;do{f=l[w];do h+=f;while(!g[h]);f=g[h];5!==f&&10!==f?(w=f,g[h]=0):(w=f&51*w>>4,g[h]&=w>>2|w<<2);n.push(h%e);n.push(h/e|0);--k}while(c!==h);z.push(n);--b}}return function(q){q.save();q.scale(1/a,-1/d);q.translate(0,
|
12 |
+
-d);q.beginPath();for(var c=0,w=z.length;c<w;c++){var h=z[c];q.moveTo(h[0],h[1]);for(var b=2,k=h.length;b<k;b+=2)q.lineTo(h[b],h[b+1])}q.fill();q.beginPath();q.restore()}}function da(b){var a=V[b[0]];a||B("Unknown IR type: "+b[0]);return a.fromIR(b)}var p="undefined"===typeof window?this:window,W="undefined"===typeof window,S=[.001,0,0,.001,0,0];p.PDFJS||(p.PDFJS={});p.PDFJS.pdfBug=!1;PDFJS.VERBOSITY_LEVELS={errors:0,warnings:1,infos:5};var m=PDFJS.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,
|
13 |
+
setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,
|
14 |
+
nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,
|
15 |
+
beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},na=PDFJS.UNSUPPORTED_FEATURES=
|
16 |
+
{unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"},aa=PDFJS.UnsupportedManager=function(){var b=[];return{listen:function(a){b.push(a)},notify:function(a){r('Unsupported feature "'+a+'"');for(var d=0,c=b.length;d<c;d++)b[d](a)}}}();PDFJS.isValidUrl=function(b,a){if(!b)return!1;var d=/^[a-z][a-z0-9+\-.]*(?=:)/i.exec(b);if(!d)return a;d=d[0].toLowerCase();switch(d){case "http":case "https":case "ftp":case "mailto":case "tel":return!0;
|
17 |
+
default:return!1}};var ea=PDFJS.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},X=function(){function b(a,d){this.name="PasswordException";this.message=a;this.code=d}b.prototype=Error();return b.constructor=b}();PDFJS.PasswordException=X;var fa=function(){function b(a,d){this.name="UnknownErrorException";this.message=a;this.details=d}b.prototype=Error();return b.constructor=b}();PDFJS.UnknownErrorException=fa;var ga=function(){function b(a){this.name="InvalidPDFException";this.message=a}
|
18 |
+
b.prototype=Error();return b.constructor=b}();PDFJS.InvalidPDFException=ga;var ha=function(){function b(a){this.name="MissingPDFException";this.message=a}b.prototype=Error();return b.constructor=b}();PDFJS.MissingPDFException=ha;var ia=function(){function b(a,d){this.name="UnexpectedResponseException";this.message=a;this.status=d}b.prototype=Error();return b.constructor=b}();PDFJS.UnexpectedResponseException=ia;(function(){function b(a){this.message=a}b.prototype=Error();b.prototype.name="NotImplementedException";
|
19 |
+
return b.constructor=b})();(function(){function b(a,d){this.begin=a;this.end=d;this.message="Missing data ["+a+", "+d+")"}b.prototype=Error();b.prototype.name="MissingDataException";return b.constructor=b})();(function(){function b(a){this.message=a}b.prototype=Error();b.prototype.name="XRefParseException";return b.constructor=b})();Object.defineProperty(PDFJS,"isLittleEndian",{configurable:!0,get:function(){var b=PDFJS,a=new Uint8Array(2);a[0]=1;a=new Uint16Array(a.buffer);return R(b,"isLittleEndian",
|
20 |
+
1===a[0])}});Object.defineProperty(PDFJS,"hasCanvasTypedArrays",{configurable:!0,get:function(){var b=PDFJS,a=document.createElement("canvas");a.width=a.height=1;a=a.getContext("2d").createImageData(1,1);return R(b,"hasCanvasTypedArrays","undefined"!==typeof a.data.buffer)}});var sa=function(){function b(c,f){this.buffer=c;this.byteLength=c.length;for(var e=this.length=void 0===f?this.byteLength>>2:f;d<e;)Object.defineProperty(b.prototype,d,a(d)),d++}function a(d){return{get:function(){var a=this.buffer,
|
21 |
+
b=d<<2;return(a[b]|a[b+1]<<8|a[b+2]<<16|a[b+3]<<24)>>>0},set:function(a){var b=this.buffer,g=d<<2;b[g]=a&255;b[g+1]=a>>8&255;b[g+2]=a>>16&255;b[g+3]=a>>>24&255}}}b.prototype=Object.create(null);var d=0;return b}(),P=[1,0,0,1,0,0],y=PDFJS.Util=function(){function b(){}var a=["rgb(",0,",",0,",",0,")"];b.makeCssRgb=function(d,c,b){a[1]=d;a[3]=c;a[5]=b;return a.join("")};b.transform=function(d,a){return[d[0]*a[0]+d[2]*a[1],d[1]*a[0]+d[3]*a[1],d[0]*a[2]+d[2]*a[3],d[1]*a[2]+d[3]*a[3],d[0]*a[4]+d[2]*a[5]+
|
22 |
+
d[4],d[1]*a[4]+d[3]*a[5]+d[5]]};b.applyTransform=function(d,a){return[d[0]*a[0]+d[1]*a[2]+a[4],d[0]*a[1]+d[1]*a[3]+a[5]]};b.applyInverseTransform=function(d,a){var b=a[0]*a[3]-a[1]*a[2];return[(d[0]*a[3]-d[1]*a[2]+a[2]*a[5]-a[4]*a[3])/b,(-d[0]*a[1]+d[1]*a[0]+a[4]*a[1]-a[5]*a[0])/b]};b.getAxialAlignedBoundingBox=function(a,c){var f=b.applyTransform(a,c),e=b.applyTransform(a.slice(2,4),c),g=b.applyTransform([a[0],a[3]],c),l=b.applyTransform([a[2],a[1]],c);return[Math.min(f[0],e[0],g[0],l[0]),Math.min(f[1],
|
23 |
+
e[1],g[1],l[1]),Math.max(f[0],e[0],g[0],l[0]),Math.max(f[1],e[1],g[1],l[1])]};b.inverseTransform=function(a){var c=a[0]*a[3]-a[1]*a[2];return[a[3]/c,-a[1]/c,-a[2]/c,a[0]/c,(a[2]*a[5]-a[4]*a[3])/c,(a[4]*a[1]-a[5]*a[0])/c]};b.apply3dTransform=function(a,c){return[a[0]*c[0]+a[1]*c[1]+a[2]*c[2],a[3]*c[0]+a[4]*c[1]+a[5]*c[2],a[6]*c[0]+a[7]*c[1]+a[8]*c[2]]};b.singularValueDecompose2dScale=function(a){var c=[a[0],a[2],a[1],a[3]],b=a[0]*c[0]+a[1]*c[2],e=a[2]*c[1]+a[3]*c[3],g=(b+e)/2;a=Math.sqrt((b+e)*(b+
|
24 |
+
e)-4*(b*e-(a[2]*c[0]+a[3]*c[2])*(a[0]*c[1]+a[1]*c[3])))/2;c=g-a||1;return[Math.sqrt(g+a||1),Math.sqrt(c)]};b.normalizeRect=function(a){var c=a.slice(0);a[0]>a[2]&&(c[0]=a[2],c[2]=a[0]);a[1]>a[3]&&(c[1]=a[3],c[3]=a[1]);return c};b.intersect=function(a,c){function f(a,d){return a-d}var e=[a[0],a[2],c[0],c[2]].sort(f),g=[a[1],a[3],c[1],c[3]].sort(f),l=[];a=b.normalizeRect(a);c=b.normalizeRect(c);if(e[0]===a[0]&&e[1]===c[0]||e[0]===c[0]&&e[1]===a[0])l[0]=e[1],l[2]=e[2];else return!1;if(g[0]===a[1]&&g[1]===
|
25 |
+
c[1]||g[0]===c[1]&&g[1]===a[1])l[1]=g[1],l[3]=g[2];else return!1;return l};b.sign=function(a){return 0>a?-1:1};b.appendToArray=function(a,c){Array.prototype.push.apply(a,c)};b.prependToArray=function(a,c){Array.prototype.unshift.apply(a,c)};b.extendObj=function(a,c){for(var b in c)a[b]=c[b]};b.getInheritableProperty=function(a,c){for(;a&&!a.has(c);)a=a.get("Parent");return a?a.get(c):null};b.inherit=function(a,c,b){a.prototype=Object.create(c.prototype);a.prototype.constructor=a;for(var e in b)a.prototype[e]=
|
26 |
+
b[e]};b.loadScript=function(a,c){var b=document.createElement("script"),e=!1;b.setAttribute("src",a);c&&(b.onload=function(){e||c();e=!0});document.getElementsByTagName("head")[0].appendChild(b)};return b}();PDFJS.PageViewport=function(){function b(a,d,c,b,e,g){this.viewBox=a;this.scale=d;this.rotation=c;this.offsetX=b;this.offsetY=e;var l=(a[2]+a[0])/2,h=(a[3]+a[1])/2,k,n,w;c%=360;switch(0>c?c+360:c){case 180:c=-1;n=k=0;w=1;break;case 90:c=0;n=k=1;w=0;break;case 270:c=0;n=k=-1;w=0;break;default:c=
|
27 |
+
1,n=k=0,w=-1}g&&(n=-n,w=-w);0===c?(b=Math.abs(h-a[1])*d+b,e=Math.abs(l-a[0])*d+e,g=Math.abs(a[3]-a[1])*d,a=Math.abs(a[2]-a[0])*d):(b=Math.abs(l-a[0])*d+b,e=Math.abs(h-a[1])*d+e,g=Math.abs(a[2]-a[0])*d,a=Math.abs(a[3]-a[1])*d);this.transform=[c*d,k*d,n*d,w*d,b-c*d*l-n*d*h,e-k*d*l-w*d*h];this.width=g;this.height=a;this.fontScale=d}b.prototype={clone:function(a){a=a||{};var d="scale"in a?a.scale:this.scale,c="rotation"in a?a.rotation:this.rotation;return new b(this.viewBox.slice(),d,c,this.offsetX,this.offsetY,
|
28 |
+
a.dontFlip)},convertToViewportPoint:function(a,d){return y.applyTransform([a,d],this.transform)},convertToViewportRectangle:function(a){var d=y.applyTransform([a[0],a[1]],this.transform);a=y.applyTransform([a[2],a[3]],this.transform);return[d[0],d[1],a[0],a[1]]},convertToPdfPoint:function(a,d){return y.applyInverseTransform([a,d],this.transform)}};return b}();PDFJS.createPromiseCapability=L;(function(){function b(a){this._status=0;this._handlers=[];try{a.call(this,this._resolve.bind(this),this._reject.bind(this))}catch(b){this._reject(b)}}
|
29 |
+
if(p.Promise)"function"!==typeof p.Promise.all&&(p.Promise.all=function(a){var b=0,f=[],e,g,l=new p.Promise(function(a,d){e=a;g=d});a.forEach(function(a,d){b++;a.then(function(a){f[d]=a;b--;0===b&&e(f)},g)});0===b&&e(f);return l}),"function"!==typeof p.Promise.resolve&&(p.Promise.resolve=function(a){return new p.Promise(function(b){b(a)})}),"function"!==typeof p.Promise.reject&&(p.Promise.reject=function(a){return new p.Promise(function(b,f){f(a)})}),"function"!==typeof p.Promise.prototype.catch&&
|
30 |
+
(p.Promise.prototype.catch=function(a){return p.Promise.prototype.then(void 0,a)});else{var a={handlers:[],running:!1,unhandledRejections:[],pendingRejectionCheck:!1,scheduleHandlers:function(a){0!==a._status&&(this.handlers=this.handlers.concat(a._handlers),a._handlers=[],this.running||(this.running=!0,setTimeout(this.runHandlers.bind(this),0)))},runHandlers:function(){for(var a=Date.now()+1;0<this.handlers.length;){var b=this.handlers.shift(),f=b.thisPromise._status,e=b.thisPromise._value;try{1===
|
31 |
+
f?"function"===typeof b.onResolve&&(e=b.onResolve(e)):"function"===typeof b.onReject&&(e=b.onReject(e),f=1,b.thisPromise._unhandledRejection&&this.removeUnhandeledRejection(b.thisPromise))}catch(g){f=2,e=g}b.nextPromise._updateStatus(f,e);if(Date.now()>=a)break}0<this.handlers.length?setTimeout(this.runHandlers.bind(this),0):this.running=!1},addUnhandledRejection:function(a){this.unhandledRejections.push({promise:a,time:Date.now()});this.scheduleRejectionCheck()},removeUnhandeledRejection:function(a){a._unhandledRejection=
|
32 |
+
!1;for(var b=0;b<this.unhandledRejections.length;b++)this.unhandledRejections[b].promise===a&&(this.unhandledRejections.splice(b),b--)},scheduleRejectionCheck:function(){this.pendingRejectionCheck||(this.pendingRejectionCheck=!0,setTimeout(function(){this.pendingRejectionCheck=!1;for(var a=Date.now(),b=0;b<this.unhandledRejections.length;b++)if(500<a-this.unhandledRejections[b].time){var f=this.unhandledRejections[b].promise._value,e="Unhandled rejection: "+f;f.stack&&(e+="\n"+f.stack);r(e);this.unhandledRejections.splice(b);
|
33 |
+
b--}this.unhandledRejections.length&&this.scheduleRejectionCheck()}.bind(this),500))}};b.all=function(a){function c(a){2!==g._status&&(h=[],e(a))}var f,e,g=new b(function(a,q){f=a;e=q}),l=a.length,h=[];if(0===l)return f(h),g;for(var k=0,n=a.length;k<n;++k){var w=a[k],q=function(a){return function(q){2!==g._status&&(h[a]=q,l--,0===l&&f(h))}}(k);b.isPromise(w)?w.then(q,c):q(w)}return g};b.isPromise=function(a){return a&&"function"===typeof a.then};b.resolve=function(a){return new b(function(b){b(a)})};
|
34 |
+
b.reject=function(a){return new b(function(b,f){f(a)})};b.prototype={_status:null,_value:null,_handlers:null,_unhandledRejection:null,_updateStatus:function(d,c){1!==this._status&&2!==this._status&&(1===d&&b.isPromise(c)?c.then(this._updateStatus.bind(this,1),this._updateStatus.bind(this,2)):(this._status=d,this._value=c,2===d&&0===this._handlers.length&&(this._unhandledRejection=!0,a.addUnhandledRejection(this)),a.scheduleHandlers(this)))},_resolve:function(a){this._updateStatus(1,a)},_reject:function(a){this._updateStatus(2,
|
35 |
+
a)},then:function(d,c){var f=new b(function(a,b){this.resolve=a;this.reject=b});this._handlers.push({thisPromise:this,onResolve:d,onReject:c,nextPromise:f});a.scheduleHandlers(this);return f},catch:function(a){return this.then(void 0,a)}};p.Promise=b}})();var ta=function(){function b(){this.started={};this.times=[];this.enabled=!0}b.prototype={time:function(a){this.enabled&&(a in this.started&&r("Timer is already running for "+a),this.started[a]=Date.now())},timeEnd:function(a){this.enabled&&(a in
|
36 |
+
this.started||r("Timer has not been started for "+a),this.times.push({name:a,start:this.started[a],end:Date.now()}),delete this.started[a])},toString:function(){var a,b,c=this.times,f="",e=0;a=0;for(b=c.length;a<b;++a){var g=c[a].name;g.length>e&&(e=g.length)}a=0;for(b=c.length;a<b;++a){for(var l=c[a],g=l.end-l.start,l=l.name;l.length<e;)l+=" ";f+=l+" "+g+"ms\n"}return f}};return b}();PDFJS.createBlob=function(b,a){if("undefined"!==typeof Blob)return new Blob([b],{type:a});var d=new MozBlobBuilder;
|
37 |
+
d.append(b);return d.getBlob(a)};PDFJS.createObjectURL=function(){return function(b,a){if(!PDFJS.disableCreateObjectURL&&"undefined"!==typeof URL&&URL.createObjectURL){var d=PDFJS.createBlob(b,a);return URL.createObjectURL(d)}for(var d="data:"+a+";base64,",c=0,f=b.length;c<f;c+=3)var e=b[c]&255,g=b[c+1]&255,l=b[c+2]&255,d=d+("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[e>>2]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[(e&3)<<4|g>>4]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[c+
|
38 |
+
1<f?(g&15)<<2|l>>6:64]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[c+2<f?l&63:64]);return d}}();U.prototype={on:function(b,a,d){var c=this.actionHandler;c[b]&&B('There is already an actionName called "'+b+'"');c[b]=[a,d]},send:function(b,a,d){this.postMessage({action:b,data:a},d)},sendWithPromise:function(b,a,d){var c=this.callbackIndex++;b={action:b,data:a,callbackId:c};a=L();this.callbacksCapabilities[c]=a;try{this.postMessage(b,d)}catch(f){a.reject(f)}return a.promise},
|
39 |
+
postMessage:function(b,a){a&&this.postMessageTransfers?this.comObj.postMessage(b,a):this.comObj.postMessage(b)}};PDFJS.maxImageSize=void 0===PDFJS.maxImageSize?-1:PDFJS.maxImageSize;PDFJS.cMapUrl=void 0===PDFJS.cMapUrl?null:PDFJS.cMapUrl;PDFJS.cMapPacked=void 0===PDFJS.cMapPacked?!1:PDFJS.cMapPacked;PDFJS.disableFontFace=void 0===PDFJS.disableFontFace?!1:PDFJS.disableFontFace;PDFJS.imageResourcesPath=void 0===PDFJS.imageResourcesPath?"":PDFJS.imageResourcesPath;PDFJS.disableWorker=void 0===PDFJS.disableWorker?
|
40 |
+
!1:PDFJS.disableWorker;PDFJS.workerSrc=void 0===PDFJS.workerSrc?null:PDFJS.workerSrc;PDFJS.disableRange=void 0===PDFJS.disableRange?!1:PDFJS.disableRange;PDFJS.disableStream=void 0===PDFJS.disableStream?!1:PDFJS.disableStream;PDFJS.disableAutoFetch=void 0===PDFJS.disableAutoFetch?!1:PDFJS.disableAutoFetch;PDFJS.pdfBug=void 0===PDFJS.pdfBug?!1:PDFJS.pdfBug;PDFJS.postMessageTransfers=void 0===PDFJS.postMessageTransfers?!0:PDFJS.postMessageTransfers;PDFJS.disableCreateObjectURL=void 0===PDFJS.disableCreateObjectURL?
|
41 |
+
!1:PDFJS.disableCreateObjectURL;PDFJS.disableWebGL=void 0===PDFJS.disableWebGL?!0:PDFJS.disableWebGL;PDFJS.useOnlyCssZoom=void 0===PDFJS.useOnlyCssZoom?!1:PDFJS.useOnlyCssZoom;PDFJS.verbosity=void 0===PDFJS.verbosity?PDFJS.VERBOSITY_LEVELS.warnings:PDFJS.verbosity;PDFJS.maxCanvasPixels=void 0===PDFJS.maxCanvasPixels?16777216:PDFJS.maxCanvasPixels;PDFJS.getDocument=function(b,a,d,c){var f=new ua;a&&(a instanceof Y||(a=Object.create(a),a.length=b.length,a.initialData=b.initialData),b=Object.create(b),
|
42 |
+
b.range=a);f.onPassword=d||null;f.onProgress=c||null;var e,g;"string"===typeof b?b={url:b}:"object"===typeof b&&null!==b&&void 0!==b.byteLength?b={data:b}:b instanceof Y?b={range:b}:("object"!==typeof b&&B("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object"),b.url||b.data||b.range||B("Invalid parameter object: need either .data, .range or .url"));var l={};for(e in b)"url"===e&&"undefined"!==typeof window?l[e]=oa(window.location.href,b[e]):"range"!==e&&("data"!==
|
43 |
+
e||b[e]instanceof Uint8Array?l[e]=b[e]:(a=b[e],"string"===typeof a?l[e]=pa(a):"object"!==typeof a||null===a||isNaN(a.length)?B("Invalid PDF binary data: either typed array, string or array-like object is expected in the data property."):l[e]=new Uint8Array(a)));e=L();g=new va(e,b.range);e.promise.then(function(){g.fetchDocument(f,l)});return f};var ua=function(){function b(){this._capability=L();this.onProgress=this.onPassword=null}b.prototype={get promise(){return this._capability.promise},then:function(a,
|
44 |
+
b){return this.promise.then.apply(this.promise,arguments)}};return b}(),Y=function(){function b(a,b){this.length=a;this.initialData=b;this._rangeListeners=[];this._progressListeners=[];this._progressiveReadListeners=[];this._readyCapability=L()}b.prototype={addRangeListener:function(a){this._rangeListeners.push(a)},addProgressListener:function(a){this._progressListeners.push(a)},addProgressiveReadListener:function(a){this._progressiveReadListeners.push(a)},onDataRange:function(a,b){for(var c=this._rangeListeners,
|
45 |
+
f=0,e=c.length;f<e;++f)c[f](a,b)},onDataProgress:function(a){this._readyCapability.promise.then(function(){for(var b=this._progressListeners,c=0,f=b.length;c<f;++c)b[c](a)}.bind(this))},onDataProgressiveRead:function(a){this._readyCapability.promise.then(function(){for(var b=this._progressiveReadListeners,c=0,f=b.length;c<f;++c)b[c](a)}.bind(this))},transportReady:function(){this._readyCapability.resolve()},requestDataRange:function(a,b){throw Error("Abstract method PDFDataRangeTransport.requestDataRange");
|
46 |
+
}};return b}();PDFJS.PDFDataRangeTransport=Y;var wa=function(){function b(a,b){this.pdfInfo=a;this.transport=b}b.prototype={get numPages(){return this.pdfInfo.numPages},get fingerprint(){return this.pdfInfo.fingerprint},getPage:function(a){return this.transport.getPage(a)},getPageIndex:function(a){return this.transport.getPageIndex(a)},getDestinations:function(){return this.transport.getDestinations()},getDestination:function(a){return this.transport.getDestination(a)},getAttachments:function(){return this.transport.getAttachments()},
|
47 |
+
getJavaScript:function(){return this.transport.getJavaScript()},getOutline:function(){return this.transport.getOutline()},getMetadata:function(){return this.transport.getMetadata()},getData:function(){return this.transport.getData()},getDownloadInfo:function(){return this.transport.downloadInfoCapability.promise},getStats:function(){return this.transport.getStats()},cleanup:function(){this.transport.startCleanup()},destroy:function(){this.transport.destroy()}};return b}(),ya=function(){function b(a,
|
48 |
+
b,c){this.pageIndex=a;this.pageInfo=b;this.transport=c;this.stats=new ta;this.stats.enabled=!!p.PDFJS.enableStats;this.commonObjs=c.commonObjs;this.objs=new ja;this.pendingDestroy=this.cleanupAfterRender=!1;this.intentStates={}}b.prototype={get pageNumber(){return this.pageIndex+1},get rotate(){return this.pageInfo.rotate},get ref(){return this.pageInfo.ref},get view(){return this.pageInfo.view},getViewport:function(a,b){2>arguments.length&&(b=this.rotate);return new PDFJS.PageViewport(this.view,
|
49 |
+
a,b,0,0)},getAnnotations:function(){if(this.annotationsPromise)return this.annotationsPromise;var a=this.transport.getAnnotations(this.pageIndex);return this.annotationsPromise=a},render:function(a){function b(a){var d=e.renderTasks.indexOf(g);0<=d&&e.renderTasks.splice(d,1);l.cleanupAfterRender&&(l.pendingDestroy=!0);l._tryDestroy();a?g.capability.reject(a):g.capability.resolve();c.timeEnd("Rendering");c.timeEnd("Overall")}var c=this.stats;c.time("Overall");this.pendingDestroy=!1;var f="print"===
|
50 |
+
a.intent?"print":"display";this.intentStates[f]||(this.intentStates[f]={});var e=this.intentStates[f];e.displayReadyCapability||(e.receivingOperatorList=!0,e.displayReadyCapability=L(),e.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this.stats.time("Page Request"),this.transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageNumber-1,intent:f}));var g=new xa(b,a,this.objs,this.commonObjs,e.operatorList,this.pageNumber);e.renderTasks||(e.renderTasks=[]);e.renderTasks.push(g);f=g.task;
|
51 |
+
a.continueCallback&&(f.onContinue=a.continueCallback);var l=this;e.displayReadyCapability.promise.then(function(a){l.pendingDestroy?b():(c.time("Rendering"),g.initalizeGraphics(a),g.operatorListChanged())},function(a){b(a)});return f},getOperatorList:function(){function a(){b.operatorList.lastChunk&&b.opListReadCapability.resolve(b.operatorList)}this.intentStates.oplist||(this.intentStates.oplist={});var b=this.intentStates.oplist;if(!b.opListReadCapability){var c={};c.operatorListChanged=a;b.receivingOperatorList=
|
52 |
+
!0;b.opListReadCapability=L();b.renderTasks=[];b.renderTasks.push(c);b.operatorList={fnArray:[],argsArray:[],lastChunk:!1};this.transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageIndex,intent:"oplist"})}return b.opListReadCapability.promise},getTextContent:function(){return this.transport.messageHandler.sendWithPromise("GetTextContent",{pageIndex:this.pageNumber-1})},destroy:function(){this.pendingDestroy=!0;this._tryDestroy()},_tryDestroy:function(){this.pendingDestroy&&!Object.keys(this.intentStates).some(function(a){a=
|
53 |
+
this.intentStates[a];return 0!==a.renderTasks.length||a.receivingOperatorList},this)&&(Object.keys(this.intentStates).forEach(function(a){delete this.intentStates[a]},this),this.objs.clear(),this.annotationsPromise=null,this.pendingDestroy=!1)},_startRenderPage:function(a,b){var c=this.intentStates[b];c.displayReadyCapability&&c.displayReadyCapability.resolve(a)},_renderPageChunk:function(a,b){var c=this.intentStates[b],f,e;f=0;for(e=a.length;f<e;f++)c.operatorList.fnArray.push(a.fnArray[f]),c.operatorList.argsArray.push(a.argsArray[f]);
|
54 |
+
c.operatorList.lastChunk=a.lastChunk;for(f=0;f<c.renderTasks.length;f++)c.renderTasks[f].operatorListChanged();a.lastChunk&&(c.receivingOperatorList=!1,this._tryDestroy())}};return b}(),va=function(){function b(a,b){this.pdfDataRangeTransport=b;this.workerInitializedCapability=a;this.commonObjs=new ja;this.loadingTask=null;this.pageCache=[];this.pagePromises=[];this.downloadInfoCapability=L();if(!p.PDFJS.disableWorker&&"undefined"!==typeof Worker){var c=PDFJS.workerSrc;c||B("No PDFJS.workerSrc specified");
|
55 |
+
try{var f=new Worker(c),e=new U("main",f);this.messageHandler=e;e.on("test",function(b){b&&b.supportTypedArray?(this.worker=f,b.supportTransfers||(PDFJS.postMessageTransfers=!1),this.setupMessageHandler(e),a.resolve()):this.setupFakeWorker()}.bind(this));var g=new Uint8Array([PDFJS.postMessageTransfers?255:0]);try{e.send("test",g,[g.buffer])}catch(l){N("Cannot use postMessage transfers"),g[0]=0,e.send("test",g)}return}catch(h){N("The worker has been disabled.")}}this.setupFakeWorker()}b.prototype=
|
56 |
+
{destroy:function(){this.pageCache=[];this.pagePromises=[];var a=this;this.messageHandler.sendWithPromise("Terminate",null).then(function(){K.clear();a.worker&&a.worker.terminate()})},setupFakeWorker:function(){p.PDFJS.disableWorker=!0;PDFJS.fakeWorkerFilesLoadedCapability||(PDFJS.fakeWorkerFilesLoadedCapability=L(),y.loadScript(PDFJS.workerSrc,function(){PDFJS.fakeWorkerFilesLoadedCapability.resolve()}));PDFJS.fakeWorkerFilesLoadedCapability.promise.then(function(){r("Setting up fake worker.");var a=
|
57 |
+
{postMessage:function(b){a.onmessage({data:b})},terminate:function(){}},b=new U("main",a);this.setupMessageHandler(b);PDFJS.WorkerMessageHandler.setup(b);this.workerInitializedCapability.resolve()}.bind(this))},setupMessageHandler:function(a){function b(d){a.send("UpdatePassword",d)}this.messageHandler=a;var c=this.pdfDataRangeTransport;c&&(c.addRangeListener(function(b,d){a.send("OnDataRange",{begin:b,chunk:d})}),c.addProgressListener(function(b){a.send("OnDataProgress",{loaded:b})}),c.addProgressiveReadListener(function(b){a.send("OnDataRange",
|
58 |
+
{chunk:b})}),a.on("RequestDataRange",function(a){c.requestDataRange(a.begin,a.end)},this));a.on("GetDoc",function(a){var b=a.pdfInfo;this.numPages=a.pdfInfo.numPages;this.pdfDocument=a=new wa(b,this);this.loadingTask._capability.resolve(a)},this);a.on("NeedPassword",function(a){var c=this.loadingTask;if(c.onPassword)return c.onPassword(b,ea.NEED_PASSWORD);c._capability.reject(new X(a.message,a.code))},this);a.on("IncorrectPassword",function(a){var c=this.loadingTask;if(c.onPassword)return c.onPassword(b,
|
59 |
+
ea.INCORRECT_PASSWORD);c._capability.reject(new X(a.message,a.code))},this);a.on("InvalidPDF",function(a){this.loadingTask._capability.reject(new ga(a.message))},this);a.on("MissingPDF",function(a){this.loadingTask._capability.reject(new ha(a.message))},this);a.on("UnexpectedResponse",function(a){this.loadingTask._capability.reject(new ia(a.message,a.status))},this);a.on("UnknownError",function(a){this.loadingTask._capability.reject(new fa(a.message,a.details))},this);a.on("DataLoaded",function(a){this.downloadInfoCapability.resolve(a)},
|
60 |
+
this);a.on("PDFManagerReady",function(a){this.pdfDataRangeTransport&&this.pdfDataRangeTransport.transportReady()},this);a.on("StartRenderPage",function(a){var b=this.pageCache[a.pageIndex];b.stats.timeEnd("Page Request");b._startRenderPage(a.transparency,a.intent)},this);a.on("RenderPageChunk",function(a){this.pageCache[a.pageIndex]._renderPageChunk(a.operatorList,a.intent)},this);a.on("commonobj",function(a){var b=a[0],d=a[1];if(!this.commonObjs.hasData(b))switch(d){case "Font":a=a[2];var c;if("error"in
|
61 |
+
a){var h=a.error;r("Error during font loading: "+h);this.commonObjs.resolve(b,h);break}else c=new za(a);K.bind([c],function(a){this.commonObjs.resolve(b,c)}.bind(this));break;case "FontPath":this.commonObjs.resolve(b,a[2]);break;default:h("Got unknown common object type "+d)}},this);a.on("obj",function(a){var b=a[0],d=a[2],c=this.pageCache[a[1]];if(!c.objs.hasData(b))switch(d){case "JpegStream":a=a[3];qa(b,a,c.objs);break;case "Image":a=a[3];c.objs.resolve(b,a);a&&"data"in a&&8E6<a.data.length&&(c.cleanupAfterRender=
|
62 |
+
!0);break;default:B("Got unknown object type "+d)}},this);a.on("DocProgress",function(a){var b=this.loadingTask;if(b.onProgress)b.onProgress({loaded:a.loaded,total:a.total})},this);a.on("PageError",function(a){var b=this.pageCache[a.pageNum-1].intentStates[a.intent];b.displayReadyCapability?b.displayReadyCapability.reject(a.error):B(a.error)},this);a.on("JpegDecode",function(a){var b=a[0],d=a[1];return 3!==d&&1!==d?Promise.reject(Error("Only 3 components or 1 component can be returned")):new Promise(function(a,
|
63 |
+
c){var k=new Image;k.onload=function(){var b=k.width,w=k.height,q=b*w,c=4*q,q=new Uint8Array(q*d),h=ba(b,w).getContext("2d");h.drawImage(k,0,0);var h=h.getImageData(0,0,b,w).data,t,e;if(3===d)for(e=t=0;t<c;t+=4,e+=3)q[e]=h[t],q[e+1]=h[t+1],q[e+2]=h[t+2];else if(1===d)for(e=t=0;t<c;t+=4,e++)q[e]=h[t];a({data:q,width:b,height:w})};k.onerror=function(){c(Error("JpegDecode failed to load image"))};k.src=b})})},fetchDocument:function(a,b){this.loadingTask=a;b.disableAutoFetch=PDFJS.disableAutoFetch;b.disableStream=
|
64 |
+
PDFJS.disableStream;b.chunkedViewerLoading=!!this.pdfDataRangeTransport;this.pdfDataRangeTransport&&(b.length=this.pdfDataRangeTransport.length,b.initialData=this.pdfDataRangeTransport.initialData);this.messageHandler.send("GetDocRequest",{source:b,disableRange:PDFJS.disableRange,maxImageSize:PDFJS.maxImageSize,cMapUrl:PDFJS.cMapUrl,cMapPacked:PDFJS.cMapPacked,disableFontFace:PDFJS.disableFontFace,disableCreateObjectURL:PDFJS.disableCreateObjectURL,verbosity:PDFJS.verbosity})},getData:function(){return this.messageHandler.sendWithPromise("GetData",
|
65 |
+
null)},getPage:function(a,b){if(0>=a||a>this.numPages||(a|0)!==a)return Promise.reject(Error("Invalid page request"));var c=a-1;if(c in this.pagePromises)return this.pagePromises[c];var f=this.messageHandler.sendWithPromise("GetPage",{pageIndex:c}).then(function(a){a=new ya(c,a,this);return this.pageCache[c]=a}.bind(this));return this.pagePromises[c]=f},getPageIndex:function(a){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:a})},getAnnotations:function(a){return this.messageHandler.sendWithPromise("GetAnnotations",
|
66 |
+
{pageIndex:a})},getDestinations:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)},getDestination:function(a){return this.messageHandler.sendWithPromise("GetDestination",{id:a})},getAttachments:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)},getJavaScript:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)},getOutline:function(){return this.messageHandler.sendWithPromise("GetOutline",null)},getMetadata:function(){return this.messageHandler.sendWithPromise("GetMetadata",
|
67 |
+
null).then(function(a){return{info:a[0],metadata:a[1]?new PDFJS.Metadata(a[1]):null}})},getStats:function(){return this.messageHandler.sendWithPromise("GetStats",null)},startCleanup:function(){this.messageHandler.sendWithPromise("Cleanup",null).then(function(){for(var a=0,b=this.pageCache.length;a<b;a++){var c=this.pageCache[a];c&&c.destroy()}this.commonObjs.clear();K.clear()}.bind(this))}};return b}(),ja=function(){function b(){this.objs={}}b.prototype={ensureObj:function(a){if(this.objs[a])return this.objs[a];
|
68 |
+
var b={capability:L(),data:null,resolved:!1};return this.objs[a]=b},get:function(a,b){if(b)return this.ensureObj(a).capability.promise.then(b),null;var c=this.objs[a];c&&c.resolved||B("Requesting object that isn't resolved yet "+a);return c.data},resolve:function(a,b){var c=this.ensureObj(a);c.resolved=!0;c.data=b;c.capability.resolve(b)},isResolved:function(a){var b=this.objs;return b[a]?b[a].resolved:!1},hasData:function(a){return this.isResolved(a)},getData:function(a){var b=this.objs;return b[a]&&
|
69 |
+
b[a].resolved?b[a].data:null},clear:function(){this.objs={}}};return b}(),Aa=function(){function b(a){this._internalRenderTask=a;this.onContinue=null}b.prototype={get promise(){return this._internalRenderTask.capability.promise},cancel:function(){this._internalRenderTask.cancel()},then:function(a,b){return this.promise.then.apply(this.promise,arguments)}};return b}(),xa=function(){function b(a,b,c,f,e,g){this.callback=a;this.params=b;this.objs=c;this.commonObjs=f;this.operatorListIdx=null;this.operatorList=
|
70 |
+
e;this.pageNumber=g;this.running=!1;this.graphicsReadyCallback=null;this.cancelled=this.graphicsReady=!1;this.capability=L();this.task=new Aa(this);this._continueBound=this._continue.bind(this);this._scheduleNextBound=this._scheduleNext.bind(this);this._nextBound=this._next.bind(this)}b.prototype={initalizeGraphics:function(a){if(!this.cancelled){PDFJS.pdfBug&&"StepperManager"in p&&p.StepperManager.enabled&&(this.stepper=p.StepperManager.create(this.pageNumber-1),this.stepper.init(this.operatorList),
|
71 |
+
this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var b=this.params;this.gfx=new ka(b.canvasContext,this.commonObjs,this.objs,b.imageLayer);this.gfx.beginDrawing(b.viewport,a);this.operatorListIdx=0;this.graphicsReady=!0;this.graphicsReadyCallback&&this.graphicsReadyCallback()}},cancel:function(){this.running=!1;this.cancelled=!0;this.callback("cancelled")},operatorListChanged:function(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||
|
72 |
+
this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)},_continue:function(){this.running=!0;this.cancelled||(this.task.onContinue?this.task.onContinue.call(this.task,this._scheduleNextBound):this._scheduleNext())},_scheduleNext:function(){window.requestAnimationFrame(this._nextBound)},_next:function(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===
|
73 |
+
this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this.callback())))}};return b}();PDFJS.Metadata=function(){function b(a){return a.replace(/>\\376\\377([^<]+)/g,function(a,b){for(var d=b.replace(/\\([0-3])([0-7])([0-7])/g,function(a,b,w,q){return String.fromCharCode(64*b+8*w+1*q)}),g="",l=0;l<d.length;l+=2)var h=256*d.charCodeAt(l)+d.charCodeAt(l+1),g=g+("&#x"+(65536+h).toString(16).substring(1)+";");return">"+g})}function a(a){"string"===typeof a?
|
74 |
+
(a=b(a),a=(new DOMParser).parseFromString(a,"application/xml")):a instanceof Document||B("Metadata: Invalid metadata object");this.metaDocument=a;this.metadata={};this.parse()}a.prototype={parse:function(){var a=this.metaDocument.documentElement;if("rdf:rdf"!==a.nodeName.toLowerCase())for(a=a.firstChild;a&&"rdf:rdf"!==a.nodeName.toLowerCase();)a=a.nextSibling;var b=a?a.nodeName.toLowerCase():null;if(a&&"rdf:rdf"===b&&a.hasChildNodes()){var a=a.childNodes,f,e,g,l,h,k;g=0;for(h=a.length;g<h;g++)if(b=
|
75 |
+
a[g],"rdf:description"===b.nodeName.toLowerCase())for(l=0,k=b.childNodes.length;l<k;l++)"#text"!==b.childNodes[l].nodeName.toLowerCase()&&(f=b.childNodes[l],e=f.nodeName.toLowerCase(),this.metadata[e]=f.textContent.trim())}},get:function(a){return this.metadata[a]||null},has:function(a){return"undefined"!==typeof this.metadata[a]}};return a}();var I=function(){var b={};return{getCanvas:function(a,d,c,f){void 0!==b[a]?(a=b[a],a.canvas.width=d,a.canvas.height=c,a.context.setTransform(1,0,0,1,0,0)):
|
76 |
+
(d=ba(d,c),c=d.getContext("2d"),f&&ca(c),b[a]=a={canvas:d,context:c});return a},clear:function(){for(var a in b){var d=b[a];d.canvas.width=0;d.canvas.height=0;delete b[a]}}}}(),la=function(){function b(a){this.alphaIsShape=!1;this.fontSize=0;this.fontSizeScale=1;this.textMatrix=P;this.textMatrixScale=1;this.fontMatrix=S;this.wordSpacing=this.charSpacing=this.lineY=this.lineX=this.y=this.x=this.leading=0;this.textHScale=1;this.textRise=this.textRenderingMode=0;this.strokeColor=this.fillColor="#000000";
|
77 |
+
this.patternFill=!1;this.lineWidth=this.strokeAlpha=this.fillAlpha=1;this.activeSMask=null;this.old=a}b.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(a,b){this.x=a;this.y=b}};return b}(),ka=function(){function b(a,b,c,h){this.ctx=a;this.current=new la;this.stateStack=[];this.pendingClip=null;this.pendingEOFill=!1;this.xobjs=this.res=null;this.commonObjs=b;this.objs=c;this.imageLayer=h;this.groupStack=[];this.baseTransform=this.processingType3=null;this.baseTransformStack=
|
78 |
+
[];this.groupLevel=0;this.smaskStack=[];this.smaskCounter=0;this.tempSMask=null;a&&ca(a);this.cachedGetSinglePixelWidth=null}function a(a,b){if("undefined"!==typeof ImageData&&b instanceof ImageData)a.putImageData(b,0,0);else{var c=b.height,h=b.width,d=c%16,c=(c-d)/16,k=0===d?c:c+1,n=a.createImageData(h,16),e=0,g,l=b.data,f=n.data,v,x,m;if(1===b.kind){var F=l.byteLength,f=PDFJS.hasCanvasTypedArrays?new Uint32Array(f.buffer):new sa(f),C=f.length,D=h+7>>3,A=PDFJS.isLittleEndian||!PDFJS.hasCanvasTypedArrays?
|
79 |
+
4278190080:255;for(v=0;v<k;v++){m=v<c?16:d;for(x=g=0;x<m;x++){for(var p=F-e,y=0,p=p>D?h:8*p-7,H=p&-8,G=0,J=0;y<H;y+=8)J=l[e++],f[g++]=J&128?4294967295:A,f[g++]=J&64?4294967295:A,f[g++]=J&32?4294967295:A,f[g++]=J&16?4294967295:A,f[g++]=J&8?4294967295:A,f[g++]=J&4?4294967295:A,f[g++]=J&2?4294967295:A,f[g++]=J&1?4294967295:A;for(;y<p;y++)0===G&&(J=l[e++],G=128),f[g++]=J&G?4294967295:A,G>>=1}for(;g<C;)f[g++]=0;a.putImageData(n,0,16*v)}}else if(3===b.kind){x=0;m=64*h;for(v=0;v<c;v++)f.set(l.subarray(e,
|
80 |
+
e+m)),e+=m,a.putImageData(n,0,x),x+=16;v<k&&(f.set(l.subarray(e,e+h*d*4)),a.putImageData(n,0,x))}else if(2===b.kind)for(m=16*h,v=0;v<k;v++){v>=c&&(m=d,m*=h);g=0;for(x=m;x--;)f[g++]=l[e++],f[g++]=l[e++],f[g++]=l[e++],f[g++]=255;a.putImageData(n,0,16*v)}else B("bad image kind: "+b.kind)}}function d(a,b){for(var c=b.height,h=b.width,d=c%16,c=(c-d)/16,k=0===d?c:c+1,n=a.createImageData(h,16),e=0,g=b.data,f=n.data,l=0;l<k;l++){for(var v=l<c?16:d,x=3,m=0;m<v;m++)for(var F=0,C=0;C<h;C++){if(!F)var D=g[e++],
|
81 |
+
F=128;f[x]=D&F?0:255;x+=4;F>>=1}a.putImageData(n,0,16*l)}}function c(a,b){for(var c="strokeStyle fillStyle fillRule globalAlpha lineWidth lineCap lineJoin miterLimit globalCompositeOperation font".split(" "),h=0,d=c.length;h<d;h++){var k=c[h];void 0!==a[k]&&(b[k]=a[k])}void 0!==a.setLineDash?(b.setLineDash(a.getLineDash()),b.lineDashOffset=a.lineDashOffset):void 0!==a.mozDashOffset&&(b.mozDash=a.mozDash,b.mozDashOffset=a.mozDashOffset)}function f(a,b){for(var c=a.length,h=1/255,d=3;d<c;d+=4)b[d]=
|
82 |
+
b[d]*a[d]*h|0}function e(a,b){for(var c=a.length,h=3;h<c;h+=4)b[h]=b[h]*(77*a[h-3]+152*a[h-2]+28*a[h-1])>>16}var g=["butt","round","square"],l=["miter","round","bevel"],h={},k={};b.prototype={beginDrawing:function(a,b){var c=this.ctx.canvas.width,h=this.ctx.canvas.height;b?this.ctx.clearRect(0,0,c,h):(this.ctx.mozOpaque=!0,this.ctx.save(),this.ctx.fillStyle="rgb(255, 255, 255)",this.ctx.fillRect(0,0,c,h),this.ctx.restore());c=a.transform;this.ctx.save();this.ctx.transform.apply(this.ctx,c);this.baseTransform=
|
83 |
+
this.ctx.mozCurrentTransform.slice();this.imageLayer&&this.imageLayer.beginLayout()},executeOperatorList:function(a,b,c,h){var d=a.argsArray;a=a.fnArray;b=b||0;var k=d.length;if(k===b)return b;for(var n=10<k-b&&"function"===typeof c,e=n?Date.now()+15:0,g=0,f=this.commonObjs,l=this.objs,v;;){if(void 0!==h&&b===h.nextBreakPoint)return h.breakIt(b,c),b;v=a[b];if(v!==m.dependency)this[v].apply(this,d[b]);else{v=d[b];for(var x=0,p=v.length;x<p;x++){var F=v[x],C="g"===F[0]&&"_"===F[1]?f:l;if(!C.isResolved(F))return C.get(F,
|
84 |
+
c),b}}b++;if(b===k)return b;if(n&&10<++g){if(Date.now()>e)return c(),b;g=0}}},endDrawing:function(){this.ctx.restore();I.clear();T.clear();this.imageLayer&&this.imageLayer.endLayout()},setLineWidth:function(a){this.current.lineWidth=a;this.ctx.lineWidth=a},setLineCap:function(a){this.ctx.lineCap=g[a]},setLineJoin:function(a){this.ctx.lineJoin=l[a]},setMiterLimit:function(a){this.ctx.miterLimit=a},setDash:function(a,b){var c=this.ctx;void 0!==c.setLineDash?(c.setLineDash(a),c.lineDashOffset=b):(c.mozDash=
|
85 |
+
a,c.mozDashOffset=b)},setRenderingIntent:function(a){},setFlatness:function(a){},setGState:function(a){for(var b=0,c=a.length;b<c;b++){var h=a[b],d=h[1];switch(h[0]){case "LW":this.setLineWidth(d);break;case "LC":this.setLineCap(d);break;case "LJ":this.setLineJoin(d);break;case "ML":this.setMiterLimit(d);break;case "D":this.setDash(d[0],d[1]);break;case "RI":this.setRenderingIntent(d);break;case "FL":this.setFlatness(d);break;case "Font":this.setFont(d[0],d[1]);break;case "CA":this.current.strokeAlpha=
|
86 |
+
h[1];break;case "ca":this.current.fillAlpha=h[1];this.ctx.globalAlpha=h[1];break;case "BM":d&&d.name&&"Normal"!==d.name?(h=d.name.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()}).substring(1),this.ctx.globalCompositeOperation=h,this.ctx.globalCompositeOperation!==h&&r('globalCompositeOperation "'+h+'" is not supported')):this.ctx.globalCompositeOperation="source-over";break;case "SMask":this.current.activeSMask&&this.endSMaskGroup(),this.current.activeSMask=d?this.tempSMask:null,this.current.activeSMask&&
|
87 |
+
this.beginSMaskGroup(),this.tempSMask=null}}},beginSMaskGroup:function(){var a=this.current.activeSMask,b=I.getCanvas("smaskGroupAt"+this.groupLevel,a.canvas.width,a.canvas.height,!0),h=this.ctx,d=h.mozCurrentTransform;this.ctx.save();b=b.context;b.scale(1/a.scaleX,1/a.scaleY);b.translate(-a.offsetX,-a.offsetY);b.transform.apply(b,d);c(h,b);this.ctx=b;this.setGState([["BM","Normal"],["ca",1],["CA",1]]);this.groupStack.push(h);this.groupLevel++},endSMaskGroup:function(){var a=this.ctx;this.groupLevel--;
|
88 |
+
this.ctx=this.groupStack.pop();var b=this.ctx,c=this.current.activeSMask,h=c.canvas,d=c.context;b.setTransform(c.scaleX,0,0,c.scaleY,c.offsetX,c.offsetY);var k=c.backdrop||null;if(T.isEnabled)a=T.composeSMask(a.canvas,h,{subtype:c.subtype,backdrop:k}),b.setTransform(1,0,0,1,0,0),b.drawImage(a,c.offsetX,c.offsetY);else{for(var n=h.width,g=h.height,l=!!k,m=l?k[0]:0,Ba=l?k[1]:0,k=l?k[2]:0,c="Luminosity"===c.subtype?e:f,v=Math.min(g,Math.ceil(1048576/n)),x=0;x<g;x+=v){var p=Math.min(v,g-x),F=d.getImageData(0,
|
89 |
+
x,n,p),p=a.getImageData(0,x,n,p);if(l)for(var C=F.data,D=m,A=Ba,y=k,B=C.length,H=3;H<B;H+=4){var G=C[H];if(0===G)C[H-3]=D,C[H-2]=A,C[H-1]=y;else if(255>G){var J=255-G;C[H-3]=C[H-3]*G+D*J>>8;C[H-2]=C[H-2]*G+A*J>>8;C[H-1]=C[H-1]*G+y*J>>8}}c(F.data,p.data);d.putImageData(p,0,x)}b.drawImage(h,0,0)}this.ctx.restore()},save:function(){this.ctx.save();var a=this.current;this.stateStack.push(a);this.current=a.clone();this.current.activeSMask=null},restore:function(){0!==this.stateStack.length&&(null!==this.current.activeSMask&&
|
90 |
+
this.endSMaskGroup(),this.current=this.stateStack.pop(),this.ctx.restore(),this.cachedGetSinglePixelWidth=null)},transform:function(a,b,c,h,d,k){this.ctx.transform(a,b,c,h,d,k);this.cachedGetSinglePixelWidth=null},constructPath:function(a,b){for(var c=this.ctx,h=this.current,d=h.x,k=h.y,n=0,e=0,g=a.length;n<g;n++)switch(a[n]|0){case m.rectangle:var d=b[e++],k=b[e++],l=b[e++],f=b[e++];0===l&&(l=this.getSinglePixelWidth());0===f&&(f=this.getSinglePixelWidth());l=d+l;f=k+f;this.ctx.moveTo(d,k);this.ctx.lineTo(l,
|
91 |
+
k);this.ctx.lineTo(l,f);this.ctx.lineTo(d,f);this.ctx.lineTo(d,k);this.ctx.closePath();break;case m.moveTo:d=b[e++];k=b[e++];c.moveTo(d,k);break;case m.lineTo:d=b[e++];k=b[e++];c.lineTo(d,k);break;case m.curveTo:d=b[e+4];k=b[e+5];c.bezierCurveTo(b[e],b[e+1],b[e+2],b[e+3],d,k);e+=6;break;case m.curveTo2:c.bezierCurveTo(d,k,b[e],b[e+1],b[e+2],b[e+3]);d=b[e+2];k=b[e+3];e+=4;break;case m.curveTo3:d=b[e+2];k=b[e+3];c.bezierCurveTo(b[e],b[e+1],d,k,d,k);e+=4;break;case m.closePath:c.closePath()}h.setCurrentPoint(d,
|
92 |
+
k)},closePath:function(){this.ctx.closePath()},stroke:function(a){a="undefined"!==typeof a?a:!0;var b=this.ctx,c=this.current.strokeColor;b.lineWidth=Math.max(.65*this.getSinglePixelWidth(),this.current.lineWidth);b.globalAlpha=this.current.strokeAlpha;c&&c.hasOwnProperty("type")&&"Pattern"===c.type?(b.save(),b.strokeStyle=c.getPattern(b,this),b.stroke(),b.restore()):b.stroke();a&&this.consumePath();b.globalAlpha=this.current.fillAlpha},closeStroke:function(){this.closePath();this.stroke()},fill:function(a){a=
|
93 |
+
"undefined"!==typeof a?a:!0;var b=this.ctx,c=this.current.fillColor,h=!1;this.current.patternFill&&(b.save(),b.fillStyle=c.getPattern(b,this),h=!0);if(this.pendingEOFill){if(void 0!==b.mozFillRule)b.mozFillRule="evenodd",b.fill(),b.mozFillRule="nonzero";else try{b.fill("evenodd")}catch(d){b.fill()}this.pendingEOFill=!1}else b.fill();h&&b.restore();a&&this.consumePath()},eoFill:function(){this.pendingEOFill=!0;this.fill()},fillStroke:function(){this.fill(!1);this.stroke(!1);this.consumePath()},eoFillStroke:function(){this.pendingEOFill=
|
94 |
+
!0;this.fillStroke()},closeFillStroke:function(){this.closePath();this.fillStroke()},closeEOFillStroke:function(){this.pendingEOFill=!0;this.closePath();this.fillStroke()},endPath:function(){this.consumePath()},clip:function(){this.pendingClip=h},eoClip:function(){this.pendingClip=k},beginText:function(){this.current.textMatrix=P;this.current.textMatrixScale=1;this.current.x=this.current.lineX=0;this.current.y=this.current.lineY=0},endText:function(){var a=this.pendingTextPaths,b=this.ctx;if(void 0===
|
95 |
+
a)b.beginPath();else{b.save();b.beginPath();for(var c=0;c<a.length;c++){var h=a[c];b.setTransform.apply(b,h.transform);b.translate(h.x,h.y);h.addToPath(b,h.fontSize)}b.restore();b.clip();b.beginPath();delete this.pendingTextPaths}},setCharSpacing:function(a){this.current.charSpacing=a},setWordSpacing:function(a){this.current.wordSpacing=a},setHScale:function(a){this.current.textHScale=a/100},setLeading:function(a){this.current.leading=-a},setFont:function(a,b){var c=this.commonObjs.get(a),h=this.current;
|
96 |
+
c||B("Can't find font for "+a);h.fontMatrix=c.fontMatrix?c.fontMatrix:S;0!==h.fontMatrix[0]&&0!==h.fontMatrix[3]||r("Invalid font matrix for font "+a);0>b?(b=-b,h.fontDirection=-1):h.fontDirection=1;this.current.font=c;this.current.fontSize=b;if(!c.isType3Font){var h=c.black?c.bold?"bolder":"bold":c.bold?"bold":"normal",d=c.italic?"italic":"normal",c='"'+(c.loadedName||"sans-serif")+'", '+c.fallbackName,k=16>b?16:100<b?100:b;this.current.fontSizeScale=b/k;this.ctx.font=d+" "+h+" "+k+"px "+c}},setTextRenderingMode:function(a){this.current.textRenderingMode=
|
97 |
+
a},setTextRise:function(a){this.current.textRise=a},moveText:function(a,b){this.current.x=this.current.lineX+=a;this.current.y=this.current.lineY+=b},setLeadingMoveText:function(a,b){this.setLeading(-b);this.moveText(a,b)},setTextMatrix:function(a,b,c,h,d,k){this.current.textMatrix=[a,b,c,h,d,k];this.current.textMatrixScale=Math.sqrt(a*a+b*b);this.current.x=this.current.lineX=0;this.current.y=this.current.lineY=0},nextLine:function(){this.moveText(0,this.current.leading)},paintChar:function(a,b,c){var h=
|
98 |
+
this.ctx,d=this.current,k=d.font,n=d.textRenderingMode,d=d.fontSize/d.fontSizeScale,e=n&3,n=!!(n&4),g;if(k.disableFontFace||n)g=k.getPathGenerator(this.commonObjs,a);k.disableFontFace?(h.save(),h.translate(b,c),h.beginPath(),g(h,d),0!==e&&2!==e||h.fill(),1!==e&&2!==e||h.stroke(),h.restore()):(0!==e&&2!==e||h.fillText(a,b,c),1!==e&&2!==e||h.strokeText(a,b,c));n&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:h.mozCurrentTransform,x:b,y:c,fontSize:d,addToPath:g})},get isFontSubpixelAAEnabled(){var a=
|
99 |
+
document.createElement("canvas").getContext("2d");a.scale(1.5,1);a.fillText("I",0,10);for(var a=a.getImageData(0,0,10,10).data,b=!1,c=3;c<a.length;c+=4)if(0<a[c]&&255>a[c]){b=!0;break}return R(this,"isFontSubpixelAAEnabled",b)},showText:function(a){var b=this.current,c=b.font;if(c.isType3Font)return this.showType3Text(a);var h=b.fontSize;if(0!==h){var d=this.ctx,k=b.fontSizeScale,n=b.charSpacing,e=b.wordSpacing,g=b.fontDirection,l=b.textHScale*g,f=a.length,v=c.vertical,m=c.defaultVMetrics,p=h*b.fontMatrix[0],
|
100 |
+
F=0===b.textRenderingMode&&!c.disableFontFace;d.save();d.transform.apply(d,b.textMatrix);d.translate(b.x,b.y+b.textRise);0<g?d.scale(l,-1):d.scale(l,1);var C=b.lineWidth,D=b.textMatrixScale;if(0===D||0===C){if(D=b.textRenderingMode&3,1===D||2===D)this.cachedGetSinglePixelWidth=null,C=.65*this.getSinglePixelWidth()}else C/=D;1!==k&&(d.scale(k,k),C/=k);d.lineWidth=C;for(D=C=0;D<f;++D){var A=a[D];if(null===A)C+=g*e;else if("number"===typeof A)C+=-A*h*.001;else{var y=!1,B=A.fontChar,H=A.accent,G,J=A.width;
|
101 |
+
if(v){var r;G=A.vmetric||m;r=A.vmetric?G[1]:.5*J;r=-r*p;A=G[2]*p;J=G?-G[0]:J;G=r/k;A=(C+A)/k}else G=C/k,A=0;c.remeasure&&0<J&&this.isFontSubpixelAAEnabled&&(y=1E3*d.measureText(B).width/h*k,r=J/y,y=!0,d.save(),d.scale(r,1),G/=r);F&&!H?d.fillText(B,G,A):(this.paintChar(B,G,A),H&&(B=G+H.offset.x/k,G=A-H.offset.y/k,this.paintChar(H.fontChar,B,G)));C+=J*p+n*g;y&&d.restore()}}v?b.y-=C*l:b.x+=C*l;d.restore()}},showType3Text:function(a){var b=this.ctx,c=this.current,h=c.font,d=c.fontSize,k=c.fontDirection,
|
102 |
+
n=c.charSpacing,e=c.wordSpacing,g=c.textHScale*k,l=c.fontMatrix||S,f=a.length,v;if(3!==c.textRenderingMode&&0!==d){b.save();b.transform.apply(b,c.textMatrix);b.translate(c.x,c.y);b.scale(g,k);for(k=0;k<f;++k)if(v=a[k],null===v)this.ctx.translate(e,0),c.x+=e*g;else if("number"===typeof v)v=.001*-v*d,this.ctx.translate(v,0),c.x+=v*g;else{var m=h.charProcOperatorList[v.operatorListId];m?(this.processingType3=v,this.save(),b.scale(d,d),b.transform.apply(b,l),this.executeOperatorList(m),this.restore(),
|
103 |
+
v=y.applyTransform([v.width,0],l)[0]*d+n,b.translate(v,0),c.x+=v*g):r('Type3 character "'+v.operatorListId+'" is not available')}b.restore();this.processingType3=null}},setCharWidth:function(a,b){},setCharWidthAndBounds:function(a,b,c,h,d,k){this.ctx.rect(c,h,d-c,k-h);this.clip();this.endPath()},getColorN_Pattern:function(a){return"TilingPattern"===a[0]?new Ca(a,a[1],this.ctx,this.objs,this.commonObjs,this.baseTransform):da(a)},setStrokeColorN:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)},
|
104 |
+
setFillColorN:function(){this.current.fillColor=this.getColorN_Pattern(arguments);this.current.patternFill=!0},setStrokeRGBColor:function(a,b,c){a=y.makeCssRgb(a,b,c);this.ctx.strokeStyle=a;this.current.strokeColor=a},setFillRGBColor:function(a,b,c){a=y.makeCssRgb(a,b,c);this.ctx.fillStyle=a;this.current.fillColor=a;this.current.patternFill=!1},shadingFill:function(a){var b=this.ctx;this.save();a=da(a);b.fillStyle=a.getPattern(b,this,!0);var c=b.mozCurrentTransformInverse;if(c){var b=b.canvas,h=b.width,
|
105 |
+
d=b.height,b=y.applyTransform([0,0],c);a=y.applyTransform([0,d],c);var k=y.applyTransform([h,0],c),n=y.applyTransform([h,d],c),c=Math.min(b[0],a[0],k[0],n[0]),h=Math.min(b[1],a[1],k[1],n[1]),d=Math.max(b[0],a[0],k[0],n[0]),b=Math.max(b[1],a[1],k[1],n[1]);this.ctx.fillRect(c,h,d-c,b-h)}else this.ctx.fillRect(-1E10,-1E10,2E10,2E10);this.restore()},beginInlineImage:function(){B("Should not call beginInlineImage")},beginImageData:function(){B("Should not call beginImageData")},paintFormXObjectBegin:function(a,
|
106 |
+
b){this.save();this.baseTransformStack.push(this.baseTransform);Q(a)&&6===a.length&&this.transform.apply(this,a);this.baseTransform=this.ctx.mozCurrentTransform;Q(b)&&4===b.length&&(this.ctx.rect(b[0],b[1],b[2]-b[0],b[3]-b[1]),this.clip(),this.endPath())},paintFormXObjectEnd:function(){this.restore();this.baseTransform=this.baseTransformStack.pop()},beginGroup:function(a){this.save();var b=this.ctx;a.isolated||N("TODO: Support non-isolated groups.");a.knockout&&r("Knockout groups not supported.");
|
107 |
+
var h=b.mozCurrentTransform;a.matrix&&b.transform.apply(b,a.matrix);a.bbox||B("Bounding box is required.");var d=y.getAxialAlignedBoundingBox(a.bbox,b.mozCurrentTransform),d=y.intersect(d,[0,0,b.canvas.width,b.canvas.height])||[0,0,0,0],k=Math.floor(d[0]),n=Math.floor(d[1]),e=Math.max(Math.ceil(d[2])-k,1),g=Math.max(Math.ceil(d[3])-n,1),l=d=1;4096<e&&(d=e/4096,e=4096);4096<g&&(l=g/4096,g=4096);var f="groupAt"+this.groupLevel;a.smask&&(f+="_smask_"+this.smaskCounter++%2);e=I.getCanvas(f,e,g,!0);g=
|
108 |
+
e.context;g.scale(1/d,1/l);g.translate(-k,-n);g.transform.apply(g,h);a.smask?this.smaskStack.push({canvas:e.canvas,context:g,offsetX:k,offsetY:n,scaleX:d,scaleY:l,subtype:a.smask.subtype,backdrop:a.smask.backdrop}):(b.setTransform(1,0,0,1,0,0),b.translate(k,n),b.scale(d,l));c(b,g);this.ctx=g;this.setGState([["BM","Normal"],["ca",1],["CA",1]]);this.groupStack.push(b);this.groupLevel++},endGroup:function(a){this.groupLevel--;var b=this.ctx;this.ctx=this.groupStack.pop();void 0!==this.ctx.imageSmoothingEnabled?
|
109 |
+
this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1;a.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(b.canvas,0,0);this.restore()},beginAnnotations:function(){this.save();this.current=new la},endAnnotations:function(){this.restore()},beginAnnotation:function(a,b,c){this.save();Q(a)&&4===a.length&&(this.ctx.rect(a[0],a[1],a[2]-a[0],a[3]-a[1]),this.clip(),this.endPath());this.transform.apply(this,b);this.transform.apply(this,c)},endAnnotation:function(){this.restore()},
|
110 |
+
paintJpegXObject:function(a,b,c){var h=this.objs.get(a);if(h){this.save();var d=this.ctx;d.scale(1/b,-1/c);d.drawImage(h,0,0,h.width,h.height,0,-c,b,c);this.imageLayer&&(h=d.mozCurrentTransformInverse,d=this.getCanvasPosition(0,0),this.imageLayer.appendImage({objId:a,left:d[0],top:d[1],width:b/h[0],height:c/h[3]}));this.restore()}else r("Dependent image isn't ready yet")},paintImageMaskXObject:function(a){var b=this.ctx,c=a.width,h=a.height,k=this.current.fillColor,n=this.current.patternFill,e=this.processingType3;
|
111 |
+
e&&void 0===e.compiled&&(e.compiled=1E3>=c&&1E3>=h?ra({data:a.data,width:c,height:h}):null);e&&e.compiled?e.compiled(b):(b=I.getCanvas("maskCanvas",c,h),e=b.context,e.save(),d(e,a),e.globalCompositeOperation="source-in",e.fillStyle=n?k.getPattern(e,this):k,e.fillRect(0,0,c,h),e.restore(),this.paintInlineImageXObject(b.canvas))},paintImageMaskXObjectRepeat:function(a,b,c,h){var k=a.width,n=a.height,e=this.current.fillColor,g=this.current.patternFill,l=I.getCanvas("maskCanvas",k,n),f=l.context;f.save();
|
112 |
+
d(f,a);f.globalCompositeOperation="source-in";f.fillStyle=g?e.getPattern(f,this):e;f.fillRect(0,0,k,n);f.restore();a=this.ctx;e=0;for(g=h.length;e<g;e+=2)a.save(),a.transform(b,0,0,c,h[e],h[e+1]),a.scale(1,-1),a.drawImage(l.canvas,0,0,k,n,0,-1,1,1),a.restore()},paintImageMaskXObjectGroup:function(a){for(var b=this.ctx,c=this.current.fillColor,h=this.current.patternFill,k=0,e=a.length;k<e;k++){var n=a[k],g=n.width,l=n.height,f=I.getCanvas("maskCanvas",g,l),m=f.context;m.save();d(m,n);m.globalCompositeOperation=
|
113 |
+
"source-in";m.fillStyle=h?c.getPattern(m,this):c;m.fillRect(0,0,g,l);m.restore();b.save();b.transform.apply(b,n.transform);b.scale(1,-1);b.drawImage(f.canvas,0,0,g,l,0,-1,1,1);b.restore()}},paintImageXObject:function(a){(a=this.objs.get(a))?this.paintInlineImageXObject(a):r("Dependent image isn't ready yet")},paintImageXObjectRepeat:function(a,b,c,h){if(a=this.objs.get(a)){for(var d=a.width,k=a.height,e=[],n=0,g=h.length;n<g;n+=2)e.push({transform:[b,0,0,c,h[n],h[n+1]],x:0,y:0,w:d,h:k});this.paintInlineImageXObjectGroup(a,
|
114 |
+
e)}else r("Dependent image isn't ready yet")},paintInlineImageXObject:function(b){var c=b.width,h=b.height,d=this.ctx;this.save();d.scale(1/c,-1/h);var k=d.mozCurrentTransformInverse,n=k[0],e=k[1],n=Math.max(Math.sqrt(n*n+e*e),1),e=k[2],g=k[3],e=Math.max(Math.sqrt(e*e+g*g),1),l;if(b instanceof HTMLElement||!b.data)g=b;else{l=I.getCanvas("inlineImage",c,h);var f=l.context;a(f,b);g=l.canvas}for(var m=c,v=h,x="prescale1";2<n&&1<m||2<e&&1<v;){var p=m,F=v;2<n&&1<m&&(p=Math.ceil(m/2),n/=m/p);2<e&&1<v&&
|
115 |
+
(F=Math.ceil(v/2),e/=v/F);l=I.getCanvas(x,p,F);f=l.context;f.clearRect(0,0,p,F);f.drawImage(g,0,0,m,v,0,0,p,F);g=l.canvas;m=p;v=F;x="prescale1"===x?"prescale2":"prescale1"}d.drawImage(g,0,0,m,v,0,-h,c,h);this.imageLayer&&(d=this.getCanvasPosition(0,-h),this.imageLayer.appendImage({imgData:b,left:d[0],top:d[1],width:c/k[0],height:h/k[3]}));this.restore()},paintInlineImageXObjectGroup:function(b,c){var h=this.ctx,d=b.width,k=b.height,e=I.getCanvas("inlineImage",d,k);a(e.context,b);for(var n=0,g=c.length;n<
|
116 |
+
g;n++){var l=c[n];h.save();h.transform.apply(h,l.transform);h.scale(1,-1);h.drawImage(e.canvas,l.x,l.y,l.w,l.h,0,-1,1,1);this.imageLayer&&(l=this.getCanvasPosition(l.x,l.y),this.imageLayer.appendImage({imgData:b,left:l[0],top:l[1],width:d,height:k}));h.restore()}},paintSolidColorImageMask:function(){this.ctx.fillRect(0,0,1,1)},markPoint:function(a){},markPointProps:function(a,b){},beginMarkedContent:function(a){},beginMarkedContentProps:function(a,b){},endMarkedContent:function(){},beginCompat:function(){},
|
117 |
+
endCompat:function(){},consumePath:function(){var a=this.ctx;if(this.pendingClip){if(this.pendingClip===k)if(void 0!==a.mozFillRule)a.mozFillRule="evenodd",a.clip(),a.mozFillRule="nonzero";else try{a.clip("evenodd")}catch(b){a.clip()}else a.clip();this.pendingClip=null}a.beginPath()},getSinglePixelWidth:function(a){null===this.cachedGetSinglePixelWidth&&(a=this.ctx.mozCurrentTransformInverse,this.cachedGetSinglePixelWidth=Math.sqrt(Math.max(a[0]*a[0]+a[1]*a[1],a[2]*a[2]+a[3]*a[3])));return this.cachedGetSinglePixelWidth},
|
118 |
+
getCanvasPosition:function(a,b){var c=this.ctx.mozCurrentTransform;return[c[0]*a+c[2]*b+c[4],c[1]*a+c[3]*b+c[5]]}};for(var n in m)b.prototype[m[n]]=b.prototype[n];return b}(),T=function(){function b(a,b,c){c=a.createShader(c);a.shaderSource(c,b);a.compileShader(c);if(!a.getShaderParameter(c,a.COMPILE_STATUS))throw a=a.getShaderInfoLog(c),Error("Error during shader compilation: "+a);return c}function a(a,b){for(var c=a.createProgram(),d=0,e=b.length;d<e;++d)a.attachShader(c,b[d]);a.linkProgram(c);
|
119 |
+
if(!a.getProgramParameter(c,a.LINK_STATUS))throw c=a.getProgramInfoLog(c),Error("Error during program linking: "+c);return c}function d(a,b,c){a.activeTexture(c);c=a.createTexture();a.bindTexture(a.TEXTURE_2D,c);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.CLAMP_TO_EDGE);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.CLAMP_TO_EDGE);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.NEAREST);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.NEAREST);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,
|
120 |
+
a.UNSIGNED_BYTE,b);return c}function c(){f||(e=document.createElement("canvas"),f=e.getContext("webgl",{premultipliedalpha:!1}))}var f,e,g=null,l=null;return{get isEnabled(){if(PDFJS.disableWebGL)return!1;var a=!1;try{c(),a=!!f}catch(b){}return R(this,"isEnabled",a)},composeSMask:function(h,k,n){var l=h.width,q=h.height;if(!g){var z,u;c();z=e;e=null;u=f;f=null;var t=b(u," attribute vec2 a_position; attribute vec2 a_texCoord; uniform vec2 u_resolution; varying vec2 v_texCoord; void main() { vec2 clipSpace = (a_position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_texCoord = a_texCoord; } ",
|
121 |
+
u.VERTEX_SHADER),O=b(u," precision mediump float; uniform vec4 u_backdrop; uniform int u_subtype; uniform sampler2D u_image; uniform sampler2D u_mask; varying vec2 v_texCoord; void main() { vec4 imageColor = texture2D(u_image, v_texCoord); vec4 maskColor = texture2D(u_mask, v_texCoord); if (u_backdrop.a > 0.0) { maskColor.rgb = maskColor.rgb * maskColor.a + u_backdrop.rgb * (1.0 - maskColor.a); } float lum; if (u_subtype == 0) { lum = maskColor.a; } else { lum = maskColor.r * 0.3 + maskColor.g * 0.59 + maskColor.b * 0.11; } imageColor.a *= lum; imageColor.rgb *= imageColor.a; gl_FragColor = imageColor; } ",
|
122 |
+
u.FRAGMENT_SHADER),m=a(u,[t,O]);u.useProgram(m);t={};t.gl=u;t.canvas=z;t.resolutionLocation=u.getUniformLocation(m,"u_resolution");t.positionLocation=u.getAttribLocation(m,"a_position");t.backdropLocation=u.getUniformLocation(m,"u_backdrop");t.subtypeLocation=u.getUniformLocation(m,"u_subtype");z=u.getAttribLocation(m,"a_texCoord");var O=u.getUniformLocation(m,"u_image"),m=u.getUniformLocation(m,"u_mask"),p=u.createBuffer();u.bindBuffer(u.ARRAY_BUFFER,p);u.bufferData(u.ARRAY_BUFFER,new Float32Array([0,
|
123 |
+
0,1,0,0,1,0,1,1,0,1,1]),u.STATIC_DRAW);u.enableVertexAttribArray(z);u.vertexAttribPointer(z,2,u.FLOAT,!1,0,0);u.uniform1i(O,0);u.uniform1i(m,1);g=t}u=g;t=u.canvas;z=u.gl;t.width=l;t.height=q;z.viewport(0,0,z.drawingBufferWidth,z.drawingBufferHeight);z.uniform2f(u.resolutionLocation,l,q);n.backdrop?z.uniform4f(u.resolutionLocation,n.backdrop[0],n.backdrop[1],n.backdrop[2],1):z.uniform4f(u.resolutionLocation,0,0,0,0);z.uniform1i(u.subtypeLocation,"Luminosity"===n.subtype?1:0);h=d(z,h,z.TEXTURE0);k=
|
124 |
+
d(z,k,z.TEXTURE1);n=z.createBuffer();z.bindBuffer(z.ARRAY_BUFFER,n);z.bufferData(z.ARRAY_BUFFER,new Float32Array([0,0,l,0,0,q,0,q,l,0,l,q]),z.STATIC_DRAW);z.enableVertexAttribArray(u.positionLocation);z.vertexAttribPointer(u.positionLocation,2,z.FLOAT,!1,0,0);z.clearColor(0,0,0,0);z.enable(z.BLEND);z.blendFunc(z.ONE,z.ONE_MINUS_SRC_ALPHA);z.clear(z.COLOR_BUFFER_BIT);z.drawArrays(z.TRIANGLES,0,6);z.flush();z.deleteTexture(h);z.deleteTexture(k);z.deleteBuffer(n);return t},drawFigures:function(d,k,n,
|
125 |
+
g,q){if(!l){var z,u;c();z=e;e=null;u=f;f=null;var t=b(u," attribute vec2 a_position; attribute vec3 a_color; uniform vec2 u_resolution; uniform vec2 u_scale; uniform vec2 u_offset; varying vec4 v_color; void main() { vec2 position = (a_position + u_offset) * u_scale; vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_color = vec4(a_color / 255.0, 1.0); } ",
|
126 |
+
u.VERTEX_SHADER),m=b(u," precision mediump float; varying vec4 v_color; void main() { gl_FragColor = v_color; } ",u.FRAGMENT_SHADER),t=a(u,[t,
|
127 |
+
m]);u.useProgram(t);m={};m.gl=u;m.canvas=z;m.resolutionLocation=u.getUniformLocation(t,"u_resolution");m.scaleLocation=u.getUniformLocation(t,"u_scale");m.offsetLocation=u.getUniformLocation(t,"u_offset");m.positionLocation=u.getAttribLocation(t,"a_position");m.colorLocation=u.getAttribLocation(t,"a_color");l=m}z=l;u=z.canvas;t=z.gl;u.width=d;u.height=k;t.viewport(0,0,t.drawingBufferWidth,t.drawingBufferHeight);t.uniform2f(z.resolutionLocation,d,k);d=0;var p,y,E;p=0;for(y=g.length;p<y;p++)switch(g[p].type){case "lattice":E=
|
128 |
+
g[p].coords.length/g[p].verticesPerRow|0;d+=(E-1)*(g[p].verticesPerRow-1)*6;break;case "triangles":d+=g[p].coords.length}m=new Float32Array(2*d);k=new Uint8Array(3*d);var B=q.coords,r=q.colors,v=0,x=0;p=0;for(y=g.length;p<y;p++){E=g[p];var M=E.coords,F=E.colors;switch(E.type){case "lattice":var C=E.verticesPerRow;E=M.length/C|0;for(var D=1;D<E;D++)for(var A=D*C+1,I=1;I<C;I++,A++)m[v]=B[M[A-C-1]],m[v+1]=B[M[A-C-1]+1],m[v+2]=B[M[A-C]],m[v+3]=B[M[A-C]+1],m[v+4]=B[M[A-1]],m[v+5]=B[M[A-1]+1],k[x]=r[F[A-
|
129 |
+
C-1]],k[x+1]=r[F[A-C-1]+1],k[x+2]=r[F[A-C-1]+2],k[x+3]=r[F[A-C]],k[x+4]=r[F[A-C]+1],k[x+5]=r[F[A-C]+2],k[x+6]=r[F[A-1]],k[x+7]=r[F[A-1]+1],k[x+8]=r[F[A-1]+2],m[v+6]=m[v+2],m[v+7]=m[v+3],m[v+8]=m[v+4],m[v+9]=m[v+5],m[v+10]=B[M[A]],m[v+11]=B[M[A]+1],k[x+9]=k[x+3],k[x+10]=k[x+4],k[x+11]=k[x+5],k[x+12]=k[x+6],k[x+13]=k[x+7],k[x+14]=k[x+8],k[x+15]=r[F[A]],k[x+16]=r[F[A]+1],k[x+17]=r[F[A]+2],v+=12,x+=18;break;case "triangles":for(E=0,C=M.length;E<C;E++)m[v]=B[M[E]],m[v+1]=B[M[E]+1],k[x]=r[F[p]],k[x+1]=
|
130 |
+
r[F[E]+1],k[x+2]=r[F[E]+2],v+=2,x+=3}}n?t.clearColor(n[0]/255,n[1]/255,n[2]/255,1):t.clearColor(0,0,0,0);t.clear(t.COLOR_BUFFER_BIT);n=t.createBuffer();t.bindBuffer(t.ARRAY_BUFFER,n);t.bufferData(t.ARRAY_BUFFER,m,t.STATIC_DRAW);t.enableVertexAttribArray(z.positionLocation);t.vertexAttribPointer(z.positionLocation,2,t.FLOAT,!1,0,0);g=t.createBuffer();t.bindBuffer(t.ARRAY_BUFFER,g);t.bufferData(t.ARRAY_BUFFER,k,t.STATIC_DRAW);t.enableVertexAttribArray(z.colorLocation);t.vertexAttribPointer(z.colorLocation,
|
131 |
+
3,t.UNSIGNED_BYTE,!1,0,0);t.uniform2f(z.scaleLocation,q.scaleX,q.scaleY);t.uniform2f(z.offsetLocation,q.offsetX,q.offsetY);t.drawArrays(t.TRIANGLES,0,d);t.flush();t.deleteBuffer(n);t.deleteBuffer(g);return u},clear:function(){g&&g.canvas&&(g.canvas.width=0,g.canvas.height=0);l&&l.canvas&&(l.canvas.width=0,l.canvas.height=0);l=g=null}}}(),V={RadialAxial:{fromIR:function(b){var a=b[1],d=b[2],c=b[3],f=b[4],e=b[5],g=b[6];return{type:"Pattern",getPattern:function(b){var h;"axial"===a?h=b.createLinearGradient(c[0],
|
132 |
+
c[1],f[0],f[1]):"radial"===a&&(h=b.createRadialGradient(c[0],c[1],e,f[0],f[1],g));b=0;for(var k=d.length;b<k;++b){var n=d[b];h.addColorStop(n[0],n[1])}return h}}}}},Da=function(){function b(a,b,c,f,e,g,l,h){var k=b.coords,n=b.colors,w=a.data;a=4*a.width;var q;k[c+1]>k[f+1]&&(q=c,c=f,f=q,q=g,g=l,l=q);k[f+1]>k[e+1]&&(q=f,f=e,e=q,q=l,l=h,h=q);k[c+1]>k[f+1]&&(q=c,c=f,f=q,q=g,g=l,l=q);q=(k[c]+b.offsetX)*b.scaleX;c=(k[c+1]+b.offsetY)*b.scaleY;var m=(k[f]+b.offsetX)*b.scaleX;f=(k[f+1]+b.offsetY)*b.scaleY;
|
133 |
+
var u=(k[e]+b.offsetX)*b.scaleX;b=(k[e+1]+b.offsetY)*b.scaleY;if(!(c>=b)){e=n[g];k=n[g+1];g=n[g+2];var t=n[l],O=n[l+1];l=n[l+2];var p=n[h],y=n[h+1];h=n[h+2];for(var E=Math.round(c),n=Math.round(b),B,r,v,x,I,F,C,D,A=E;A<=n;A++){A<f?(D=A<c?0:c===f?1:(c-A)/(c-f),E=q-(q-m)*D,B=e-(e-t)*D,r=k-(k-O)*D,v=g-(g-l)*D):(D=A>b?1:f===b?0:(f-A)/(f-b),E=m-(m-u)*D,B=t-(t-p)*D,r=O-(O-y)*D,v=l-(l-h)*D);D=A<c?0:A>b?1:(c-A)/(c-b);x=q-(q-u)*D;I=e-(e-p)*D;F=k-(k-y)*D;C=g-(g-h)*D;D=Math.round(Math.min(E,x));for(var L=Math.round(Math.max(E,
|
134 |
+
x)),K=a*A+4*D,H=D;H<=L;H++)D=(E-H)/(E-x),D=0>D?0:1<D?1:D,w[K++]=B-(B-I)*D|0,w[K++]=r-(r-F)*D|0,w[K++]=v-(v-C)*D|0,w[K++]=255}}}return function(a,d,c,f,e,g){var l=Math.floor(a[0]),h=Math.floor(a[1]),k=Math.ceil(a[2])-l;a=Math.ceil(a[3])-h;var n=Math.min(Math.ceil(Math.abs(k*d[0]*1.1)),3E3),w=Math.min(Math.ceil(Math.abs(a*d[1]*1.1)),3E3),k=k/n;a/=w;f={coords:c,colors:f,offsetX:-l,offsetY:-h,scaleX:1/k,scaleY:1/a};var q;if(T.isEnabled)e=T.drawFigures(n,w,g,e,f),c=I.getCanvas("mesh",n,w,!1),c.context.drawImage(e,
|
135 |
+
0,0);else{c=I.getCanvas("mesh",n,w,!1);d=c.context;w=d.createImageData(n,w);if(g){var m=w.data,n=0;for(q=m.length;n<q;n+=4)m[n]=g[0],m[n+1]=g[1],m[n+2]=g[2],m[n+3]=255}for(n=0;n<e.length;n++){g=w;var u=e[n];q=f;var m=u.coords,t=u.colors,p=void 0,r=void 0;switch(u.type){case "lattice":for(var u=u.verticesPerRow,r=Math.floor(m.length/u)-1,y=u-1,p=0;p<r;p++)for(var E=p*u,K=0;K<y;K++,E++)b(g,q,m[E],m[E+1],m[E+u],t[E],t[E+1],t[E+u]),b(g,q,m[E+u+1],m[E+1],m[E+u],t[E+u+1],t[E+1],t[E+u]);break;case "triangles":p=
|
136 |
+
0;for(r=m.length;p<r;p+=3)b(g,q,m[p],m[p+1],m[p+2],t[p],t[p+1],t[p+2]);break;default:B("illigal figure")}}d.putImageData(w,0,0)}e=c.canvas;return{canvas:e,offsetX:l,offsetY:h,scaleX:k,scaleY:a}}}();V.Mesh={fromIR:function(b){var a=b[2],d=b[3],c=b[4],f=b[5],e=b[6],g=b[8];return{type:"Pattern",getPattern:function(b,h,k){var n;if(k)n=y.singularValueDecompose2dScale(b.mozCurrentTransform);else if(n=y.singularValueDecompose2dScale(h.baseTransform),e){var m=y.singularValueDecompose2dScale(e);n=[n[0]*m[0],
|
137 |
+
n[1]*m[1]]}n=Da(f,n,a,d,c,k?null:g);k||(b.setTransform.apply(b,h.baseTransform),e&&b.transform.apply(b,e));b.translate(n.offsetX,n.offsetY);b.scale(n.scaleX,n.scaleY);return b.createPattern(n.canvas,"no-repeat")}}}};V.Dummy={fromIR:function(){return{type:"Pattern",getPattern:function(){return"hotpink"}}}};var Ca=function(){function b(a,b,c,f,e,g){this.operatorList=a[2];this.matrix=a[3]||[1,0,0,1,0,0];this.bbox=a[4];this.xstep=a[5];this.ystep=a[6];this.paintType=a[7];this.tilingType=a[8];this.color=
|
138 |
+
b;this.objs=f;this.commonObjs=e;this.baseTransform=g;this.type="Pattern";this.ctx=c}b.prototype={createPatternCanvas:function(a){var b=this.operatorList,c=this.bbox,f=this.xstep,e=this.ystep,g=this.paintType,l=this.color,h=this.objs,k=this.commonObjs;N("TilingType: "+this.tilingType);var n=c[0],m=c[1],q=c[2],z=c[3],u=[n,m],t=[n+f,m+e],p=t[0]-u[0],t=t[1]-u[1],r=y.singularValueDecompose2dScale(this.matrix),B=y.singularValueDecompose2dScale(this.baseTransform),r=[r[0]*B[0],r[1]*B[1]],p=Math.min(Math.ceil(Math.abs(p*
|
139 |
+
r[0])),3E3),t=Math.min(Math.ceil(Math.abs(t*r[1])),3E3),r=I.getCanvas("pattern",p,t,!0),B=r.context,h=new ka(B,k,h);h.groupLevel=a.groupLevel;this.setFillAndStrokeStyleToContext(B,g,l);this.setScale(p,t,f,e);this.transformToScale(h);h.transform.apply(h,[1,0,0,1,-u[0],-u[1]]);this.clipBbox(h,c,n,m,q,z);h.executeOperatorList(b);return r.canvas},setScale:function(a,b,c,f){this.scale=[a/c,b/f]},transformToScale:function(a){var b=this.scale;a.transform.apply(a,[b[0],0,0,b[1],0,0])},scaleToContext:function(){var a=
|
140 |
+
this.scale;this.ctx.scale(1/a[0],1/a[1])},clipBbox:function(a,b,c,f,e,g){b&&Q(b)&&4===b.length&&(a.ctx.rect(c,f,e-c,g-f),a.clip(),a.endPath())},setFillAndStrokeStyleToContext:function(a,b,c){switch(b){case 1:b=this.ctx;a.fillStyle=b.fillStyle;a.strokeStyle=b.strokeStyle;break;case 2:b=y.makeCssRgb(c[0],c[1],c[2]);a.fillStyle=b;a.strokeStyle=b;break;default:B("Unsupported paint type: "+b)}},getPattern:function(a,b){var c=this.createPatternCanvas(b);a=this.ctx;a.setTransform.apply(a,this.baseTransform);
|
141 |
+
a.transform.apply(a,this.matrix);this.scaleToContext();return a.createPattern(c,"repeat")}};return b}();PDFJS.disableFontFace=!1;var K={insertRule:function(b){var a=document.getElementById("PDFJS_FONT_STYLE_TAG");a||(a=document.createElement("style"),a.id="PDFJS_FONT_STYLE_TAG",document.documentElement.getElementsByTagName("head")[0].appendChild(a));a=a.sheet;a.insertRule(b,a.cssRules.length)},clear:function(){var b=document.getElementById("PDFJS_FONT_STYLE_TAG");b&&b.parentNode.removeChild(b);this.nativeFontFaces.forEach(function(a){document.fonts.delete(a)});
|
142 |
+
this.nativeFontFaces.length=0},get loadTestFont(){return R(this,"loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))},
|
143 |
+
loadTestFontId:0,loadingContext:{requests:[],nextRequestId:0},isSyncFontLoadingSupported:function(){if(W)return!1;var b=window.navigator.userAgent,a=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(b);return a&&14<=a[1]||"node"===b?!0:!1}(),nativeFontFaces:[],isFontLoadingAPISupported:!W&&!!document.fonts,addNativeFontFace:function(b){this.nativeFontFaces.push(b);document.fonts.add(b)},bind:function(b,a){!W||B("bind() shall be called from main thread");for(var d=[],c=[],f=[],e=0,g=b.length;e<g;e++){var l=
|
144 |
+
b[e];if(!l.attached&&!1!==l.loading)if(l.attached=!0,this.isFontLoadingAPISupported)(l=l.createNativeFontFace())&&f.push(l.loaded);else{var h=l.bindDOM();h&&(d.push(h),c.push(l))}}var k=K.queueLoadingCallback(a);this.isFontLoadingAPISupported?Promise.all(c).then(function(){k.complete()}):0<d.length&&!this.isSyncFontLoadingSupported?K.prepareFontLoadEvent(d,c,k):k.complete()},queueLoadingCallback:function(b){var a=K.loadingContext,d={id:"pdfjs-font-loading-"+a.nextRequestId++,complete:function(){!d.end||
|
145 |
+
B("completeRequest() cannot be called twice");for(d.end=Date.now();0<a.requests.length&&a.requests[0].end;){var b=a.requests.shift();setTimeout(b.callback,0)}},callback:b,started:Date.now()};a.requests.push(d);return d},prepareFontLoadEvent:function(b,a,d){function c(a,b){return a.charCodeAt(b)<<24|a.charCodeAt(b+1)<<16|a.charCodeAt(b+2)<<8|a.charCodeAt(b+3)&255}function f(a,b,c,h){var d=a.substr(0,b);a=a.substr(b+c);return d+h+a}function e(a,b){k++;30<k?(r("Load test font never loaded."),b()):(h.font=
|
146 |
+
"30px "+a,h.fillText(".",0,20),0<h.getImageData(0,0,1,1).data[3]?b():setTimeout(e.bind(null,a,b)))}var g,l;b=document.createElement("canvas");b.width=1;b.height=1;var h=b.getContext("2d"),k=0;b="lt"+Date.now()+this.loadTestFontId++;var n=this.loadTestFont,n=f(n,976,b.length,b),m=c(n,16);g=0;for(l=b.length-3;g<l;g+=4)m=m-1482184792+c(b,g)|0;g<b.length&&(m=m-1482184792+c(b+"XXX",g)|0);n=f(n,16,4,String.fromCharCode(m>>24&255,m>>16&255,m>>8&255,m&255));g="url(data:font/opentype;base64,"+btoa(n)+");";
|
147 |
+
K.insertRule('@font-face { font-family:"'+b+'";src:'+g+"}");n=[];g=0;for(l=a.length;g<l;g++)n.push(a[g].loadedName);n.push(b);var q=document.createElement("div");q.setAttribute("style","visibility: hidden;width: 10px; height: 10px;position: absolute; top: 0px; left: 0px;");g=0;for(l=n.length;g<l;++g)a=document.createElement("span"),a.textContent="Hi",a.style.fontFamily=n[g],q.appendChild(a);document.body.appendChild(q);e(b,function(){document.body.removeChild(q);d.complete()})}},za=function(){function b(a,
|
148 |
+
b,c){this.compiledGlyphs={};if(1===arguments.length){var f=arguments[0],e;for(e in f)this[e]=f[e]}}b.prototype={createNativeFontFace:function(){if(!this.data)return null;if(PDFJS.disableFontFace)return this.disableFontFace=!0,null;var a=new FontFace(this.loadedName,this.data,{});K.addNativeFontFace(a);PDFJS.pdfBug&&"FontInspector"in p&&p.FontInspector.enabled&&p.FontInspector.fontAdded(this);return a},bindDOM:function(){if(!this.data)return null;if(PDFJS.disableFontFace)return this.disableFontFace=
|
149 |
+
!0,null;var a;var b=new Uint8Array(this.data);null!==b&&"object"===typeof b&&void 0!==b.length||B("Invalid argument for bytesToString");a=b.length;if(8192>a)a=String.fromCharCode.apply(null,b);else{for(var c=[],f=0;f<a;f+=8192){var e=Math.min(f+8192,a),e=b.subarray(f,e);c.push(String.fromCharCode.apply(null,e))}a=c.join("")}b=this.loadedName;a="url(data:"+this.mimetype+";base64,"+window.btoa(a)+");";b='@font-face { font-family:"'+b+'";src:'+a+"}";K.insertRule(b);PDFJS.pdfBug&&"FontInspector"in p&&
|
150 |
+
p.FontInspector.enabled&&p.FontInspector.fontAdded(this,a);return b},getPathGenerator:function(a,b){if(!(b in this.compiledGlyphs)){var c=a.get(this.loadedName+"_path_"+b);this.compiledGlyphs[b]=new Function("c","size",c)}return this.compiledGlyphs[b]}};return b}(),Z=function(){function b(a,b){var f=document.createElement("section"),e=f.style,g=a.rect[2]-a.rect[0],l=a.rect[3]-a.rect[1],h=a.borderWidth||0;h&&(g-=2*h,l-=2*h,e.borderWidth=h+"px",h=a.color,b&&h&&(e.borderStyle="solid",e.borderColor=y.makeCssRgb(Math.round(255*
|
151 |
+
h[0]),Math.round(255*h[1]),Math.round(255*h[2]))));e.width=g+"px";e.height=l+"px";return f}function a(a){var c=a.rect;10>c[3]-c[1]&&(c[3]=c[1]+10);10>c[2]-c[0]&&(c[2]=c[0]+(c[3]-c[1]));var f=b(a,!1);f.className="annotText";var e=document.createElement("img");e.style.height=f.style.height;e.style.width=f.style.width;var g=a.name;e.src=PDFJS.imageResourcesPath+"annotation-"+g.toLowerCase()+".svg";e.alt="[{{type}} Annotation]";e.dataset.l10nId="text_annotation_type";e.dataset.l10nArgs=JSON.stringify({type:g});
|
152 |
+
g=document.createElement("div");g.className="annotTextContentWrapper";g.style.left=Math.floor(c[2]-c[0]+5)+"px";g.style.top="-10px";var l=document.createElement("div");l.className="annotTextContent";l.setAttribute("hidden",!0);var h;a.hasBgColor&&(c=a.color,l.style.backgroundColor=y.makeCssRgb(255*(.7*(1-c[0])+c[0])|0,255*(.7*(1-c[1])+c[1])|0,255*(.7*(1-c[2])+c[2])|0));var c=document.createElement("h1"),k=document.createElement("p");c.textContent=a.title;if(a.content||a.title){var n=document.createElement("span"),
|
153 |
+
m=a.content.split(/(?:\r\n?|\n)/);a=0;for(h=m.length;a<h;++a)n.appendChild(document.createTextNode(m[a])),a<h-1&&n.appendChild(document.createElement("br"));k.appendChild(n);var q=!1,z=function(a){a&&(q=!0);l.hasAttribute("hidden")&&(f.style.zIndex+=1,l.removeAttribute("hidden"))},u=function(a){a&&(q=!1);l.hasAttribute("hidden")||q||(--f.style.zIndex,l.setAttribute("hidden",!0))};e.addEventListener("click",function(){q?u(!0):z(!0)},!1);e.addEventListener("mouseover",function(){z()},!1);e.addEventListener("mouseout",
|
154 |
+
function(){u()},!1);l.addEventListener("click",function(){u(!0)},!1)}else l.setAttribute("hidden",!0);l.appendChild(c);l.appendChild(k);g.appendChild(l);f.appendChild(e);f.appendChild(g);return f}return{getHtmlElement:function(d,c){switch(d.annotationType){case 1:var f=document.createElement("div"),e=d.rect[3]-d.rect[1];f.style.width=d.rect[2]-d.rect[0]+"px";f.style.height=e+"px";f.style.display="table";e=document.createElement("div");e.textContent=d.fieldValue;e.style.textAlign=["left","center",
|
155 |
+
"right"][d.textAlignment];e.style.verticalAlign="middle";e.style.display="table-cell";var g=d.fontRefName?c.getData(d.fontRefName):null,l=e.style;l.fontSize=d.fontSize+"px";l.direction=0>d.fontDirection?"rtl":"ltr";if(g){l.fontWeight=g.black?g.bold?"bolder":"bold":g.bold?"bold":"normal";l.fontStyle=g.italic?"italic":"normal";var h=g.loadedName;l.fontFamily=(h?'"'+h+'", ':"")+(g.fallbackName||"Helvetica, sans-serif")}f.appendChild(e);return f;case 2:return a(d);case 3:return f=b(d,!0),f.className=
|
156 |
+
"annotLink",e=document.createElement("a"),e.href=e.title=d.url||"",f.appendChild(e),f;default:throw Error("Unsupported annotationType: "+d.annotationType);}}}}();PDFJS.AnnotationUtils=Z;var Ea=function(){function b(a,b,c,k){var e=k,f=b.length;c[e]=f>>24&255;c[e+1]=f>>16&255;c[e+2]=f>>8&255;c[e+3]=f&255;e+=4;c[e]=a.charCodeAt(0)&255;c[e+1]=a.charCodeAt(1)&255;c[e+2]=a.charCodeAt(2)&255;c[e+3]=a.charCodeAt(3)&255;e+=4;c.set(b,e);e+=b.length;a=-1;for(k+=4;k<e;k++)a=a>>>8^d[(a^c[k])&255];k=a^-1;c[e]=
|
157 |
+
k>>24&255;c[e+1]=k>>16&255;c[e+2]=k>>8&255;c[e+3]=k&255}for(var a=new Uint8Array([137,80,78,71,13,10,26,10]),d=new Int32Array(256),c=0;256>c;c++){for(var f=c,e=0;8>e;e++)f=f&1?3988292384^f>>1&2147483647:f>>1&2147483647;d[c]=f}return function(c){var d=void 0===c.kind?1:c.kind,h=c.width,k=c.height,e,f,q,m=c.data;switch(d){case 1:f=0;e=1;q=h+7>>3;break;case 2:f=2;e=8;q=3*h;break;case 3:f=6;e=8;q=4*h;break;default:throw Error("invalid format");}c=new Uint8Array((1+q)*k);var u=0,t=0,p;for(p=0;p<k;++p)c[u++]=
|
158 |
+
0,c.set(m.subarray(t,t+q),u),t+=q,u+=q;if(1===d)for(p=u=0;p<k;p++)for(u++,d=0;d<q;d++)c[u++]^=255;h=new Uint8Array([h>>24&255,h>>16&255,h>>8&255,h&255,k>>24&255,k>>16&255,k>>8&255,k&255,e,f,0,0,0]);e=c.length;k=Math.ceil(e/65535);k=new Uint8Array(2+e+5*k+4);d=0;k[d++]=120;k[d++]=156;for(f=0;65535<e;)k[d++]=0,k[d++]=255,k[d++]=255,k[d++]=0,k[d++]=0,k.set(c.subarray(f,f+65535),d),d+=65535,f+=65535,e-=65535;k[d++]=1;k[d++]=e&255;k[d++]=e>>8&255;k[d++]=~e&255;k[d++]=(~e&65535)>>8&255;k.set(c.subarray(f),
|
159 |
+
d);d+=c.length-f;e=1;for(q=f=0;q<c.length;++q)e=(e+(c[q]&255))%65521,f=(f+e)%65521;c=f<<16|e;k[d++]=c>>24&255;k[d++]=c>>16&255;k[d++]=c>>8&255;k[d++]=c&255;c=new Uint8Array(a.length+36+h.length+k.length);d=0;c.set(a,d);d+=a.length;b("IHDR",h,c,d);d+=12+h.length;b("IDATA",k,c,d);d+=12+k.length;b("IEND",new Uint8Array(0),c,d);return PDFJS.createObjectURL(c,"image/png")}}(),Fa=function(){function b(){this.fontSizeScale=1;this.fontWeight="normal";this.fontSize=0;this.textMatrix=P;this.fontMatrix=S;this.wordSpacing=
|
160 |
+
this.charSpacing=this.lineY=this.lineX=this.y=this.x=this.leading=0;this.textHScale=1;this.textRise=0;this.strokeColor=this.fillColor="#000000";this.lineWidth=this.strokeAlpha=this.fillAlpha=1;this.lineCap=this.lineJoin="";this.miterLimit=0;this.dashArray=[];this.dashPhase=0;this.dependencies=[];this.clipId="";this.pendingClip=!1;this.maskId=""}b.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(a,b){this.x=a;this.y=b}};return b}(),Z=function(){function b(a,b){var c=
|
161 |
+
document.createElementNS("http://www.w3.org/2000/svg","svg:svg");c.setAttributeNS(null,"version","1.1");c.setAttributeNS(null,"width",a+"px");c.setAttributeNS(null,"height",b+"px");c.setAttributeNS(null,"viewBox","0 0 "+a+" "+b);return c}function a(a){if(a===(a|0))return a.toString();a=a.toFixed(10);var b=a.length-1;if("0"!==a[b])return a;do b--;while("0"===a[b]);return a.substr(0,"."===a[b]?b:b+1)}function d(b){if(0===b[4]&&0===b[5]){if(0===b[1]&&0===b[2])return 1===b[0]&&1===b[3]?"":"scale("+a(b[0])+
|
162 |
+
" "+a(b[3])+")";if(b[0]===b[3]&&b[1]===-b[2])return b=180*Math.acos(b[0])/Math.PI,"rotate("+a(b)+")"}else if(1===b[0]&&0===b[1]&&0===b[2]&&1===b[3])return"translate("+a(b[4])+" "+a(b[5])+")";return"matrix("+a(b[0])+" "+a(b[1])+" "+a(b[2])+" "+a(b[3])+" "+a(b[4])+" "+a(b[5])+")"}function c(a,b){this.current=new Fa;this.transformMatrix=P;this.transformStack=[];this.extraStack=[];this.commonObjs=a;this.objs=b;this.embedFonts=this.pendingEOFill=!1;this.embeddedFonts={};this.cssStyle=null}var f=["butt",
|
163 |
+
"round","square"],e=["miter","round","bevel"],g=0,l=0;c.prototype={save:function(){this.transformStack.push(this.transformMatrix);var a=this.current;this.extraStack.push(a);this.current=a.clone()},restore:function(){this.transformMatrix=this.transformStack.pop();this.current=this.extraStack.pop();this.tgrp=document.createElementNS("http://www.w3.org/2000/svg","svg:g");this.tgrp.setAttributeNS(null,"transform",d(this.transformMatrix));this.pgrp.appendChild(this.tgrp)},group:function(a){this.save();
|
164 |
+
this.executeOpTree(a);this.restore()},loadDependencies:function(a){var b=a.fnArray,c=b.length;a=a.argsArray;for(var d=this,e=0;e<c;e++)if(m.dependency===b[e])for(var f=a[e],g=0,l=f.length;g<l;g++){var p=f[g],r;r="g_"===p.substring(0,2)?new Promise(function(a){d.commonObjs.get(p,a)}):new Promise(function(a){d.objs.get(p,a)});this.current.dependencies.push(r)}return Promise.all(this.current.dependencies)},transform:function(a,b,c,e,f,g){this.transformMatrix=PDFJS.Util.transform(this.transformMatrix,
|
165 |
+
[a,b,c,e,f,g]);this.tgrp=document.createElementNS("http://www.w3.org/2000/svg","svg:g");this.tgrp.setAttributeNS(null,"transform",d(this.transformMatrix))},getSVG:function(a,c){this.svg=b(c.width,c.height);this.viewport=c;return this.loadDependencies(a).then(function(){this.transformMatrix=P;this.pgrp=document.createElementNS("http://www.w3.org/2000/svg","svg:g");this.pgrp.setAttributeNS(null,"transform",d(c.transform));this.tgrp=document.createElementNS("http://www.w3.org/2000/svg","svg:g");this.tgrp.setAttributeNS(null,
|
166 |
+
"transform",d(this.transformMatrix));this.defs=document.createElementNS("http://www.w3.org/2000/svg","svg:defs");this.pgrp.appendChild(this.defs);this.pgrp.appendChild(this.tgrp);this.svg.appendChild(this.pgrp);var b=this.convertOpList(a);this.executeOpTree(b);return this.svg}.bind(this))},convertOpList:function(a){var b=a.argsArray,c=a.fnArray,d=c.length,e=[];a=[];for(var f in m)e[m[f]]=f;for(f=0;f<d;f++){var g=c[f];a.push({fnId:g,fn:e[g],args:b[f]})}b=[];c=[];d=a.length;for(e=0;e<d;e++)"save"===
|
167 |
+
a[e].fn?(b.push({fnId:92,fn:"group",items:[]}),c.push(b),b=b[b.length-1].items):"restore"===a[e].fn?b=c.pop():b.push(a[e]);return b},executeOpTree:function(a){for(var b=a.length,c=0;c<b;c++){var d=a[c].fn,e=a[c].args;switch(a[c].fnId|0){case m.beginText:this.beginText();break;case m.setLeading:this.setLeading(e);break;case m.setLeadingMoveText:this.setLeadingMoveText(e[0],e[1]);break;case m.setFont:this.setFont(e);break;case m.showText:this.showText(e[0]);break;case m.showSpacedText:this.showText(e[0]);
|
168 |
+
break;case m.endText:this.endText();break;case m.moveText:this.moveText(e[0],e[1]);break;case m.setCharSpacing:this.setCharSpacing(e[0]);break;case m.setWordSpacing:this.setWordSpacing(e[0]);break;case m.setTextMatrix:this.setTextMatrix(e[0],e[1],e[2],e[3],e[4],e[5]);break;case m.setLineWidth:this.setLineWidth(e[0]);break;case m.setLineJoin:this.setLineJoin(e[0]);break;case m.setLineCap:this.setLineCap(e[0]);break;case m.setMiterLimit:this.setMiterLimit(e[0]);break;case m.setFillRGBColor:this.setFillRGBColor(e[0],
|
169 |
+
e[1],e[2]);break;case m.setStrokeRGBColor:this.setStrokeRGBColor(e[0],e[1],e[2]);break;case m.setDash:this.setDash(e[0],e[1]);break;case m.setGState:this.setGState(e[0]);break;case m.fill:this.fill();break;case m.eoFill:this.eoFill();break;case m.stroke:this.stroke();break;case m.fillStroke:this.fillStroke();break;case m.eoFillStroke:this.eoFillStroke();break;case m.clip:this.clip("nonzero");break;case m.eoClip:this.clip("evenodd");break;case m.paintSolidColorImageMask:this.paintSolidColorImageMask();
|
170 |
+
break;case m.paintJpegXObject:this.paintJpegXObject(e[0],e[1],e[2]);break;case m.paintImageXObject:this.paintImageXObject(e[0]);break;case m.paintInlineImageXObject:this.paintInlineImageXObject(e[0]);break;case m.paintImageMaskXObject:this.paintImageMaskXObject(e[0]);break;case m.paintFormXObjectBegin:this.paintFormXObjectBegin(e[0],e[1]);break;case m.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case m.closePath:this.closePath();break;case m.closeStroke:this.closeStroke();break;case m.closeFillStroke:this.closeFillStroke();
|
171 |
+
break;case m.nextLine:this.nextLine();break;case m.transform:this.transform(e[0],e[1],e[2],e[3],e[4],e[5]);break;case m.constructPath:this.constructPath(e[0],e[1]);break;case m.endPath:this.endPath();break;case 92:this.group(a[c].items);break;default:r("Unimplemented method "+d)}}},setWordSpacing:function(a){this.current.wordSpacing=a},setCharSpacing:function(a){this.current.charSpacing=a},nextLine:function(){this.moveText(0,this.current.leading)},setTextMatrix:function(b,c,d,e,f,g){var l=this.current;
|
172 |
+
this.current.textMatrix=this.current.lineMatrix=[b,c,d,e,f,g];this.current.x=this.current.lineX=0;this.current.y=this.current.lineY=0;l.xcoords=[];l.tspan=document.createElementNS("http://www.w3.org/2000/svg","svg:tspan");l.tspan.setAttributeNS(null,"font-family",l.fontFamily);l.tspan.setAttributeNS(null,"font-size",a(l.fontSize)+"px");l.tspan.setAttributeNS(null,"y",a(-l.y));l.txtElement=document.createElementNS("http://www.w3.org/2000/svg","svg:text");l.txtElement.appendChild(l.tspan)},beginText:function(){this.current.x=
|
173 |
+
this.current.lineX=0;this.current.y=this.current.lineY=0;this.current.textMatrix=P;this.current.lineMatrix=P;this.current.tspan=document.createElementNS("http://www.w3.org/2000/svg","svg:tspan");this.current.txtElement=document.createElementNS("http://www.w3.org/2000/svg","svg:text");this.current.txtgrp=document.createElementNS("http://www.w3.org/2000/svg","svg:g");this.current.xcoords=[]},moveText:function(b,c){var d=this.current;this.current.x=this.current.lineX+=b;this.current.y=this.current.lineY+=
|
174 |
+
c;d.xcoords=[];d.tspan=document.createElementNS("http://www.w3.org/2000/svg","svg:tspan");d.tspan.setAttributeNS(null,"font-family",d.fontFamily);d.tspan.setAttributeNS(null,"font-size",a(d.fontSize)+"px");d.tspan.setAttributeNS(null,"y",a(-d.y))},showText:function(b){var c=this.current,e=c.font,f=c.fontSize;if(0!==f){var g=c.charSpacing,l=c.wordSpacing,m=c.fontDirection,p=c.textHScale*m,r=b.length,e=e.vertical,B=f*c.fontMatrix[0],y=0,E;for(E=0;E<r;++E){var I=b[E];if(null===I)y+=m*l;else if("number"===
|
175 |
+
typeof I)y+=-I*f*.001;else{c.xcoords.push(c.x+y*p);var K=I.fontChar,y=y+(I.width*B+g*m);c.tspan.textContent+=K}}e?c.y-=y*p:c.x+=y*p;c.tspan.setAttributeNS(null,"x",c.xcoords.map(a).join(" "));c.tspan.setAttributeNS(null,"y",a(-c.y));c.tspan.setAttributeNS(null,"font-family",c.fontFamily);c.tspan.setAttributeNS(null,"font-size",a(c.fontSize)+"px");"normal"!==c.fontStyle&&c.tspan.setAttributeNS(null,"font-style",c.fontStyle);"normal"!==c.fontWeight&&c.tspan.setAttributeNS(null,"font-weight",c.fontWeight);
|
176 |
+
"#000000"!==c.fillColor&&c.tspan.setAttributeNS(null,"fill",c.fillColor);c.txtElement.setAttributeNS(null,"transform",d(c.textMatrix)+" scale(1, -1)");c.txtElement.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve");c.txtElement.appendChild(c.tspan);c.txtgrp.appendChild(c.txtElement);this.tgrp.appendChild(c.txtElement)}},setLeadingMoveText:function(a,b){this.setLeading(-b);this.moveText(a,b)},addFontStyle:function(a){this.cssStyle||(this.cssStyle=document.createElementNS("http://www.w3.org/2000/svg",
|
177 |
+
"svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var b=PDFJS.createObjectURL(a.data,a.mimetype);this.cssStyle.textContent+='@font-face { font-family: "'+a.loadedName+'"; src: url('+b+"); }\n"},setFont:function(b){var c=this.current,d=this.commonObjs.get(b[0]);b=b[1];this.current.font=d;this.embedFonts&&d.data&&!this.embeddedFonts[d.loadedName]&&(this.addFontStyle(d),this.embeddedFonts[d.loadedName]=d);c.fontMatrix=d.fontMatrix?d.fontMatrix:S;
|
178 |
+
var e=d.black?d.bold?"bolder":"bold":d.bold?"bold":"normal",f=d.italic?"italic":"normal";0>b?(b=-b,c.fontDirection=-1):c.fontDirection=1;c.fontSize=b;c.fontFamily=d.loadedName;c.fontWeight=e;c.fontStyle=f;c.tspan=document.createElementNS("http://www.w3.org/2000/svg","svg:tspan");c.tspan.setAttributeNS(null,"y",a(-c.y));c.xcoords=[]},endText:function(){this.current.pendingClip?(this.cgrp.appendChild(this.tgrp),this.pgrp.appendChild(this.cgrp)):this.pgrp.appendChild(this.tgrp);this.tgrp=document.createElementNS("http://www.w3.org/2000/svg",
|
179 |
+
"svg:g");this.tgrp.setAttributeNS(null,"transform",d(this.transformMatrix))},setLineWidth:function(a){this.current.lineWidth=a},setLineCap:function(a){this.current.lineCap=f[a]},setLineJoin:function(a){this.current.lineJoin=e[a]},setMiterLimit:function(a){this.current.miterLimit=a},setStrokeRGBColor:function(a,b,c){a=y.makeCssRgb(a,b,c);this.current.strokeColor=a},setFillRGBColor:function(a,b,c){a=y.makeCssRgb(a,b,c);this.current.fillColor=a;this.current.tspan=document.createElementNS("http://www.w3.org/2000/svg",
|
180 |
+
"svg:tspan");this.current.xcoords=[]},setDash:function(a,b){this.current.dashArray=a;this.current.dashPhase=b},constructPath:function(b,c){var d=this.current,e=d.x,f=d.y;d.path=document.createElementNS("http://www.w3.org/2000/svg","svg:path");for(var g=[],l=b.length,p=0,r=0;p<l;p++)switch(b[p]|0){case m.rectangle:var e=c[r++],f=c[r++],y=c[r++],B=c[r++],y=e+y,B=f+B;g.push("M",a(e),a(f),"L",a(y),a(f),"L",a(y),a(B),"L",a(e),a(B),"Z");break;case m.moveTo:e=c[r++];f=c[r++];g.push("M",a(e),a(f));break;
|
181 |
+
case m.lineTo:e=c[r++];f=c[r++];g.push("L",a(e),a(f));break;case m.curveTo:e=c[r+4];f=c[r+5];g.push("C",a(c[r]),a(c[r+1]),a(c[r+2]),a(c[r+3]),a(e),a(f));r+=6;break;case m.curveTo2:e=c[r+2];f=c[r+3];g.push("C",a(e),a(f),a(c[r]),a(c[r+1]),a(c[r+2]),a(c[r+3]));r+=4;break;case m.curveTo3:e=c[r+2];f=c[r+3];g.push("C",a(c[r]),a(c[r+1]),a(e),a(f),a(e),a(f));r+=4;break;case m.closePath:g.push("Z")}d.path.setAttributeNS(null,"d",g.join(" "));d.path.setAttributeNS(null,"stroke-miterlimit",a(d.miterLimit));
|
182 |
+
d.path.setAttributeNS(null,"stroke-linecap",d.lineCap);d.path.setAttributeNS(null,"stroke-linejoin",d.lineJoin);d.path.setAttributeNS(null,"stroke-width",a(d.lineWidth)+"px");d.path.setAttributeNS(null,"stroke-dasharray",d.dashArray.map(a).join(" "));d.path.setAttributeNS(null,"stroke-dashoffset",a(d.dashPhase)+"px");d.path.setAttributeNS(null,"fill","none");this.tgrp.appendChild(d.path);d.pendingClip?(this.cgrp.appendChild(this.tgrp),this.pgrp.appendChild(this.cgrp)):this.pgrp.appendChild(this.tgrp);
|
183 |
+
d.element=d.path;d.setCurrentPoint(e,f)},endPath:function(){this.current.pendingClip?(this.cgrp.appendChild(this.tgrp),this.pgrp.appendChild(this.cgrp)):this.pgrp.appendChild(this.tgrp);this.tgrp=document.createElementNS("http://www.w3.org/2000/svg","svg:g");this.tgrp.setAttributeNS(null,"transform",d(this.transformMatrix))},clip:function(a){var b=this.current;b.clipId="clippath"+g;g++;this.clippath=document.createElementNS("http://www.w3.org/2000/svg","svg:clipPath");this.clippath.setAttributeNS(null,
|
184 |
+
"id",b.clipId);var c=b.element.cloneNode();"evenodd"===a?c.setAttributeNS(null,"clip-rule","evenodd"):c.setAttributeNS(null,"clip-rule","nonzero");this.clippath.setAttributeNS(null,"transform",d(this.transformMatrix));this.clippath.appendChild(c);this.defs.appendChild(this.clippath);b.pendingClip=!0;this.cgrp=document.createElementNS("http://www.w3.org/2000/svg","svg:g");this.cgrp.setAttributeNS(null,"clip-path","url(#"+b.clipId+")");this.pgrp.appendChild(this.cgrp)},closePath:function(){var a=this.current,
|
185 |
+
b=a.path.getAttributeNS(null,"d");a.path.setAttributeNS(null,"d",b+"Z")},setLeading:function(a){this.current.leading=-a},setTextRise:function(a){this.current.textRise=a},setHScale:function(a){this.current.textHScale=a/100},setGState:function(a){for(var b=0,c=a.length;b<c;b++){var d=a[b],e=d[1];switch(d[0]){case "LW":this.setLineWidth(e);break;case "LC":this.setLineCap(e);break;case "LJ":this.setLineJoin(e);break;case "ML":this.setMiterLimit(e);break;case "D":this.setDash(e[0],e[1]);break;case "Font":this.setFont(e)}}},
|
186 |
+
fill:function(){var a=this.current;a.element.setAttributeNS(null,"fill",a.fillColor)},stroke:function(){var a=this.current;a.element.setAttributeNS(null,"stroke",a.strokeColor);a.element.setAttributeNS(null,"fill","none")},eoFill:function(){var a=this.current;a.element.setAttributeNS(null,"fill",a.fillColor);a.element.setAttributeNS(null,"fill-rule","evenodd")},fillStroke:function(){this.stroke();this.fill()},eoFillStroke:function(){this.current.element.setAttributeNS(null,"fill-rule","evenodd");
|
187 |
+
this.fillStroke()},closeStroke:function(){this.closePath();this.stroke()},closeFillStroke:function(){this.closePath();this.fillStroke()},paintSolidColorImageMask:function(){var a=this.current,b=document.createElementNS("http://www.w3.org/2000/svg","svg:rect");b.setAttributeNS(null,"x","0");b.setAttributeNS(null,"y","0");b.setAttributeNS(null,"width","1px");b.setAttributeNS(null,"height","1px");b.setAttributeNS(null,"fill",a.fillColor);this.tgrp.appendChild(b)},paintJpegXObject:function(b,c,d){var e=
|
188 |
+
this.current;b=this.objs.get(b);var f=document.createElementNS("http://www.w3.org/2000/svg","svg:image");f.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",b.src);f.setAttributeNS(null,"width",b.width+"px");f.setAttributeNS(null,"height",b.height+"px");f.setAttributeNS(null,"x","0");f.setAttributeNS(null,"y",a(-d));f.setAttributeNS(null,"transform","scale("+a(1/c)+" "+a(-1/d)+")");this.tgrp.appendChild(f);e.pendingClip?(this.cgrp.appendChild(this.tgrp),this.pgrp.appendChild(this.cgrp)):
|
189 |
+
this.pgrp.appendChild(this.tgrp)},paintImageXObject:function(a){(a=this.objs.get(a))?this.paintInlineImageXObject(a):r("Dependent image isn't ready yet")},paintInlineImageXObject:function(b,c){var d=this.current,e=b.width,f=b.height,g=Ea(b),l=document.createElementNS("http://www.w3.org/2000/svg","svg:rect");l.setAttributeNS(null,"x","0");l.setAttributeNS(null,"y","0");l.setAttributeNS(null,"width",a(e));l.setAttributeNS(null,"height",a(f));d.element=l;this.clip("nonzero");l=document.createElementNS("http://www.w3.org/2000/svg",
|
190 |
+
"svg:image");l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",g);l.setAttributeNS(null,"x","0");l.setAttributeNS(null,"y",a(-f));l.setAttributeNS(null,"width",a(e)+"px");l.setAttributeNS(null,"height",a(f)+"px");l.setAttributeNS(null,"transform","scale("+a(1/e)+" "+a(-1/f)+")");c?c.appendChild(l):this.tgrp.appendChild(l);d.pendingClip?(this.cgrp.appendChild(this.tgrp),this.pgrp.appendChild(this.cgrp)):this.pgrp.appendChild(this.tgrp)},paintImageMaskXObject:function(b){var c=this.current,
|
191 |
+
d=b.width,e=b.height,f=c.fillColor;c.maskId="mask"+l++;var g=document.createElementNS("http://www.w3.org/2000/svg","svg:mask");g.setAttributeNS(null,"id",c.maskId);var m=document.createElementNS("http://www.w3.org/2000/svg","svg:rect");m.setAttributeNS(null,"x","0");m.setAttributeNS(null,"y","0");m.setAttributeNS(null,"width",a(d));m.setAttributeNS(null,"height",a(e));m.setAttributeNS(null,"fill",f);m.setAttributeNS(null,"mask","url(#"+c.maskId+")");this.defs.appendChild(g);this.tgrp.appendChild(m);
|
192 |
+
this.paintInlineImageXObject(b,g)},paintFormXObjectBegin:function(b,c){this.save();Q(b)&&6===b.length&&this.transform(b[0],b[1],b[2],b[3],b[4],b[5]);if(Q(c)&&4===c.length){var d=c[2]-c[0],e=c[3]-c[1],f=document.createElementNS("http://www.w3.org/2000/svg","svg:rect");f.setAttributeNS(null,"x",c[0]);f.setAttributeNS(null,"y",c[1]);f.setAttributeNS(null,"width",a(d));f.setAttributeNS(null,"height",a(e));this.current.element=f;this.clip("nonzero");this.endPath()}},paintFormXObjectEnd:function(){this.restore()}};
|
193 |
+
return c}();PDFJS.SVGGraphics=Z}).call("undefined"===typeof window?this:window);PDFJS.workerSrc||"undefined"===typeof document||(PDFJS.workerSrc=function(){var N=(document.body||document.getElementsByTagName("head")[0]).lastChild.src;return N&&N.replace(/\.js$/i,".worker.js")}());
|
js/pdfjs/pdf.worker.min.js
ADDED
@@ -0,0 +1,990 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"undefined"===typeof PDFJS&&(("undefined"!==typeof window?window:this).PDFJS={});PDFJS.version="1.0.1086";PDFJS.build="465f52e";
|
2 |
+
(function(){function R(e){PDFJS.verbosity>=PDFJS.VERBOSITY_LEVELS.infos&&console.log("Info: "+e)}function L(e){PDFJS.verbosity>=PDFJS.VERBOSITY_LEVELS.warnings&&console.log("Warning: "+e)}function G(e){if(1<arguments.length){var a=["Error:"];a.push.apply(a,arguments);console.log.apply(console,a);e=[].join.call(arguments," ")}else console.log("Error: "+e);console.log(Hd());mb.notify(Sb.unknown);throw Error(e);}function Hd(){try{throw Error();}catch(e){return e.stack?e.stack.split("\n").slice(2).join("\n"):
|
3 |
+
""}}function ba(e,a){e||G(a)}function Tb(e,a){if(!e)return!1;var c=/^[a-z][a-z0-9+\-.]*(?=:)/i.exec(e);if(!c)return a;c=c[0].toLowerCase();switch(c){case "http":case "https":case "ftp":case "mailto":case "tel":return!0;default:return!1}}function fa(e,a,c){Object.defineProperty(e,a,{value:c,enumerable:!0,configurable:!0,writable:!1});return c}function Ra(e){ba(null!==e&&"object"===typeof e&&void 0!==e.length,"Invalid argument for bytesToString");var a=e.length;if(8192>a)return String.fromCharCode.apply(null,
|
4 |
+
e);for(var c=[],b=0;b<a;b+=8192){var d=Math.min(b+8192,a),d=e.subarray(b,d);c.push(String.fromCharCode.apply(null,d))}return c.join("")}function ra(e){ba("string"===typeof e,"Invalid argument for stringToBytes");for(var a=e.length,c=new Uint8Array(a),b=0;b<a;++b)c[b]=e.charCodeAt(b)&255;return c}function sa(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,e&255)}function nb(e){for(var a=1,c=0;e>a;)a<<=1,c++;return c}function Ea(e,a){return e[a]<<8|e[a+1]}function ia(e,a){return(e[a]<<24|
|
5 |
+
e[a+1]<<16|e[a+2]<<8|e[a+3])>>>0}function Sa(e){var a,c=e.length,b=[];if("\u00fe"===e[0]&&"\u00ff"===e[1])for(a=2;a<c;a+=2)b.push(String.fromCharCode(e.charCodeAt(a)<<8|e.charCodeAt(a+1)));else for(a=0;a<c;++a){var d=Id[e.charCodeAt(a)];b.push(d?String.fromCharCode(d):e.charAt(a))}return b.join("")}function Hb(e){for(var a in e)return!1;return!0}function za(e){return"boolean"===typeof e}function V(e){return"number"===typeof e&&(e|0)===e}function Xa(e){return"number"===typeof e}function ja(e){return"string"===
|
6 |
+
typeof e}function P(e){return e instanceof Fa}function da(e,a){return e instanceof wa&&(void 0===a||e.cmd===a)}function X(e,a){if(!(e instanceof Ga))return!1;if(!a)return!0;var c=e.get("Type");return P(c)&&c.name===a}function U(e){return e instanceof Array}function oa(e){return"object"===typeof e&&null!==e&&void 0!==e.getBytes}function Aa(e){return e instanceof Ub}function La(){var e={};e.promise=new Promise(function(a,c){e.resolve=a;e.reject=c});return e}function lc(e,a){this.name=e;this.comObj=
|
7 |
+
a;this.callbackIndex=1;this.postMessageTransfers=!0;var c=this.callbacksCapabilities={},b=this.actionHandler={};b.console_log=[function(b){console.log.apply(console,b)}];b.console_error=[function(b){console.error.apply(console,b)}];b._unsupported_feature=[function(b){mb.notify(b)}];a.onmessage=function(d){var f=d.data;if(f.isReply)if(d=f.callbackId,f.callbackId in c){var g=c[d];delete c[d];"error"in f?g.reject(f.error):g.resolve(f.data)}else G("Cannot resolve callback "+d);else if(f.action in b){var h=
|
8 |
+
b[f.action];f.callbackId?Promise.resolve().then(function(){return h[0].call(h[1],f.data)}).then(function(b){a.postMessage({isReply:!0,callbackId:f.callbackId,data:b})},function(b){a.postMessage({isReply:!0,callbackId:f.callbackId,error:b})}):h[0].call(h[1],f.data)}else G("Unknown action from worker: "+f.action)}}function Jd(e,a,c){var b=a.get("Matrix"),d=a.get("BBox"),f=a.get("XStep"),g=a.get("YStep"),h=a.get("PaintType");a=a.get("TilingType");return["TilingPattern",c,e,b,d,f,g,h,a]}function Kd(e){if(e.fontMatrix[0]!==
|
9 |
+
Ya[0]){var a=.001/e.fontMatrix[0],c=e.widths,b;for(b in c)c[b]*=a;e.defaultWidth*=a}}function mc(e,a){switch(e){case "Type1":return"Type1C"===a?Pa.TYPE1C:Pa.TYPE1;case "CIDFontType0":return"CIDFontType0C"===a?Pa.CIDFONTTYPE0C:Pa.CIDFONTTYPE0;case "OpenType":return Pa.OPENTYPE;case "TrueType":return Pa.TRUETYPE;case "CIDFontType2":return Pa.CIDFONTTYPE2;case "MMType1":return Pa.MMTYPE1;case "Type0":return Pa.TYPE0;default:return Pa.UNKNOWN}}function nc(e,a,c){var b=Object.create(null),d,f;if(e.baseEncodingName)for(f=
|
10 |
+
la[e.baseEncodingName],d=0;d<f.length;d++)a=c.indexOf(f[d]),b[d]=0<=a?a:0;else if(e.flags&Ma.Symbolic)for(d in a)b[d]=a[d];else for(f=la.StandardEncoding,d=0;d<f.length;d++)a=c.indexOf(f[d]),b[d]=0<=a?a:0;if(e=e.differences)for(d in e)a=c.indexOf(e[d]),b[d]=0<=a?a:0;return b}var ga="undefined"===typeof window?this:window,Ya=[.001,0,0,.001,0,0],Pa={UNKNOWN:0,TYPE1:1,TYPE1C:2,CIDFONTTYPE0:3,CIDFONTTYPE0C:4,TRUETYPE:5,CIDFONTTYPE2:6,TYPE3:7,OPENTYPE:8,TYPE0:9,MMTYPE1:10};ga.PDFJS||(ga.PDFJS={});ga.PDFJS.pdfBug=
|
11 |
+
!1;PDFJS.VERBOSITY_LEVELS={errors:0,warnings:1,infos:5};var x=PDFJS.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,
|
12 |
+
setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,
|
13 |
+
beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,
|
14 |
+
paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},Sb=PDFJS.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"},mb=PDFJS.UnsupportedManager=function(){var e=[];return{listen:function(a){e.push(a)},notify:function(a){L('Unsupported feature "'+a+'"');for(var c=0,b=e.length;c<b;c++)e[c](a)}}}();PDFJS.isValidUrl=Tb;var Vb=PDFJS.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},
|
15 |
+
Ib=function(){function e(a,c){this.name="PasswordException";this.message=a;this.code=c}e.prototype=Error();return e.constructor=e}();PDFJS.PasswordException=Ib;var Hc=function(){function e(a,c){this.name="UnknownErrorException";this.message=a;this.details=c}e.prototype=Error();return e.constructor=e}();PDFJS.UnknownErrorException=Hc;var Jb=function(){function e(a){this.name="InvalidPDFException";this.message=a}e.prototype=Error();return e.constructor=e}();PDFJS.InvalidPDFException=Jb;var Wb=function(){function e(a){this.name=
|
16 |
+
"MissingPDFException";this.message=a}e.prototype=Error();return e.constructor=e}();PDFJS.MissingPDFException=Wb;var oc=function(){function e(a,c){this.name="UnexpectedResponseException";this.message=a;this.status=c}e.prototype=Error();return e.constructor=e}();PDFJS.UnexpectedResponseException=oc;var ob=function(){function e(a){this.message=a}e.prototype=Error();e.prototype.name="NotImplementedException";return e.constructor=e}(),Ta=function(){function e(a,c){this.begin=a;this.end=c;this.message=
|
17 |
+
"Missing data ["+a+", "+c+")"}e.prototype=Error();e.prototype.name="MissingDataException";return e.constructor=e}(),Ic=function(){function e(a){this.message=a}e.prototype=Error();e.prototype.name="XRefParseException";return e.constructor=e}();Object.defineProperty(PDFJS,"isLittleEndian",{configurable:!0,get:function(){var e=PDFJS,a=new Uint8Array(2);a[0]=1;a=new Uint16Array(a.buffer);return fa(e,"isLittleEndian",1===a[0])}});Object.defineProperty(PDFJS,"hasCanvasTypedArrays",{configurable:!0,get:function(){var e=
|
18 |
+
PDFJS,a=document.createElement("canvas");a.width=a.height=1;a=a.getContext("2d").createImageData(1,1);return fa(e,"hasCanvasTypedArrays","undefined"!==typeof a.data.buffer)}});var Ld=function(){function e(b,d){this.buffer=b;this.byteLength=b.length;for(var f=this.length=void 0===d?this.byteLength>>2:d;c<f;)Object.defineProperty(e.prototype,c,a(c)),c++}function a(b){return{get:function(){var d=this.buffer,a=b<<2;return(d[a]|d[a+1]<<8|d[a+2]<<16|d[a+3]<<24)>>>0},set:function(d){var a=this.buffer,c=
|
19 |
+
b<<2;a[c]=d&255;a[c+1]=d>>8&255;a[c+2]=d>>16&255;a[c+3]=d>>>24&255}}}e.prototype=Object.create(null);var c=0;return e}(),pb=[1,0,0,1,0,0],N=PDFJS.Util=function(){function e(){}var a=["rgb(",0,",",0,",",0,")"];e.makeCssRgb=function(c,b,d){a[1]=c;a[3]=b;a[5]=d;return a.join("")};e.transform=function(a,b){return[a[0]*b[0]+a[2]*b[1],a[1]*b[0]+a[3]*b[1],a[0]*b[2]+a[2]*b[3],a[1]*b[2]+a[3]*b[3],a[0]*b[4]+a[2]*b[5]+a[4],a[1]*b[4]+a[3]*b[5]+a[5]]};e.applyTransform=function(a,b){return[a[0]*b[0]+a[1]*b[2]+
|
20 |
+
b[4],a[0]*b[1]+a[1]*b[3]+b[5]]};e.applyInverseTransform=function(a,b){var d=b[0]*b[3]-b[1]*b[2];return[(a[0]*b[3]-a[1]*b[2]+b[2]*b[5]-b[4]*b[3])/d,(-a[0]*b[1]+a[1]*b[0]+b[4]*b[1]-b[5]*b[0])/d]};e.getAxialAlignedBoundingBox=function(a,b){var d=e.applyTransform(a,b),f=e.applyTransform(a.slice(2,4),b),g=e.applyTransform([a[0],a[3]],b),h=e.applyTransform([a[2],a[1]],b);return[Math.min(d[0],f[0],g[0],h[0]),Math.min(d[1],f[1],g[1],h[1]),Math.max(d[0],f[0],g[0],h[0]),Math.max(d[1],f[1],g[1],h[1])]};e.inverseTransform=
|
21 |
+
function(a){var b=a[0]*a[3]-a[1]*a[2];return[a[3]/b,-a[1]/b,-a[2]/b,a[0]/b,(a[2]*a[5]-a[4]*a[3])/b,(a[4]*a[1]-a[5]*a[0])/b]};e.apply3dTransform=function(a,b){return[a[0]*b[0]+a[1]*b[1]+a[2]*b[2],a[3]*b[0]+a[4]*b[1]+a[5]*b[2],a[6]*b[0]+a[7]*b[1]+a[8]*b[2]]};e.singularValueDecompose2dScale=function(a){var b=[a[0],a[2],a[1],a[3]],d=a[0]*b[0]+a[1]*b[2],f=a[2]*b[1]+a[3]*b[3],g=(d+f)/2;a=Math.sqrt((d+f)*(d+f)-4*(d*f-(a[2]*b[0]+a[3]*b[2])*(a[0]*b[1]+a[1]*b[3])))/2;b=g-a||1;return[Math.sqrt(g+a||1),Math.sqrt(b)]};
|
22 |
+
e.normalizeRect=function(a){var b=a.slice(0);a[0]>a[2]&&(b[0]=a[2],b[2]=a[0]);a[1]>a[3]&&(b[1]=a[3],b[3]=a[1]);return b};e.intersect=function(a,b){function d(b,a){return b-a}var f=[a[0],a[2],b[0],b[2]].sort(d),g=[a[1],a[3],b[1],b[3]].sort(d),h=[];a=e.normalizeRect(a);b=e.normalizeRect(b);if(f[0]===a[0]&&f[1]===b[0]||f[0]===b[0]&&f[1]===a[0])h[0]=f[1],h[2]=f[2];else return!1;if(g[0]===a[1]&&g[1]===b[1]||g[0]===b[1]&&g[1]===a[1])h[1]=g[1],h[3]=g[2];else return!1;return h};e.sign=function(a){return 0>
|
23 |
+
a?-1:1};e.appendToArray=function(a,b){Array.prototype.push.apply(a,b)};e.prependToArray=function(a,b){Array.prototype.unshift.apply(a,b)};e.extendObj=function(a,b){for(var d in b)a[d]=b[d]};e.getInheritableProperty=function(a,b){for(;a&&!a.has(b);)a=a.get("Parent");return a?a.get(b):null};e.inherit=function(a,b,d){a.prototype=Object.create(b.prototype);a.prototype.constructor=a;for(var f in d)a.prototype[f]=d[f]};e.loadScript=function(a,b){var d=document.createElement("script"),f=!1;d.setAttribute("src",
|
24 |
+
a);b&&(d.onload=function(){f||b();f=!0});document.getElementsByTagName("head")[0].appendChild(d)};return e}();PDFJS.PageViewport=function(){function e(a,c,b,d,f,g){this.viewBox=a;this.scale=c;this.rotation=b;this.offsetX=d;this.offsetY=f;var h=(a[2]+a[0])/2,l=(a[3]+a[1])/2,n,k,r;b%=360;switch(0>b?b+360:b){case 180:b=-1;k=n=0;r=1;break;case 90:b=0;k=n=1;r=0;break;case 270:b=0;k=n=-1;r=0;break;default:b=1,k=n=0,r=-1}g&&(k=-k,r=-r);0===b?(d=Math.abs(l-a[1])*c+d,f=Math.abs(h-a[0])*c+f,g=Math.abs(a[3]-
|
25 |
+
a[1])*c,a=Math.abs(a[2]-a[0])*c):(d=Math.abs(h-a[0])*c+d,f=Math.abs(l-a[1])*c+f,g=Math.abs(a[2]-a[0])*c,a=Math.abs(a[3]-a[1])*c);this.transform=[b*c,n*c,k*c,r*c,d-b*c*h-k*c*l,f-n*c*h-r*c*l];this.width=g;this.height=a;this.fontScale=c}e.prototype={clone:function(a){a=a||{};var c="scale"in a?a.scale:this.scale,b="rotation"in a?a.rotation:this.rotation;return new e(this.viewBox.slice(),c,b,this.offsetX,this.offsetY,a.dontFlip)},convertToViewportPoint:function(a,c){return N.applyTransform([a,c],this.transform)},
|
26 |
+
convertToViewportRectangle:function(a){var c=N.applyTransform([a[0],a[1]],this.transform);a=N.applyTransform([a[2],a[3]],this.transform);return[c[0],c[1],a[0],a[1]]},convertToPdfPoint:function(a,c){return N.applyInverseTransform([a,c],this.transform)}};return e}();var Id=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
27 |
+
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];PDFJS.createPromiseCapability=La;(function(){function e(a){this._status=0;this._handlers=[];try{a.call(this,this._resolve.bind(this),this._reject.bind(this))}catch(b){this._reject(b)}}if(ga.Promise)"function"!==typeof ga.Promise.all&&(ga.Promise.all=function(a){var b=0,d=[],f,g,h=new ga.Promise(function(b,
|
28 |
+
a){f=b;g=a});a.forEach(function(a,c){b++;a.then(function(a){d[c]=a;b--;0===b&&f(d)},g)});0===b&&f(d);return h}),"function"!==typeof ga.Promise.resolve&&(ga.Promise.resolve=function(a){return new ga.Promise(function(b){b(a)})}),"function"!==typeof ga.Promise.reject&&(ga.Promise.reject=function(a){return new ga.Promise(function(b,d){d(a)})}),"function"!==typeof ga.Promise.prototype.catch&&(ga.Promise.prototype.catch=function(a){return ga.Promise.prototype.then(void 0,a)});else{var a={handlers:[],running:!1,
|
29 |
+
unhandledRejections:[],pendingRejectionCheck:!1,scheduleHandlers:function(a){0!==a._status&&(this.handlers=this.handlers.concat(a._handlers),a._handlers=[],this.running||(this.running=!0,setTimeout(this.runHandlers.bind(this),0)))},runHandlers:function(){for(var a=Date.now()+1;0<this.handlers.length;){var b=this.handlers.shift(),d=b.thisPromise._status,f=b.thisPromise._value;try{1===d?"function"===typeof b.onResolve&&(f=b.onResolve(f)):"function"===typeof b.onReject&&(f=b.onReject(f),d=1,b.thisPromise._unhandledRejection&&
|
30 |
+
this.removeUnhandeledRejection(b.thisPromise))}catch(g){d=2,f=g}b.nextPromise._updateStatus(d,f);if(Date.now()>=a)break}0<this.handlers.length?setTimeout(this.runHandlers.bind(this),0):this.running=!1},addUnhandledRejection:function(a){this.unhandledRejections.push({promise:a,time:Date.now()});this.scheduleRejectionCheck()},removeUnhandeledRejection:function(a){a._unhandledRejection=!1;for(var b=0;b<this.unhandledRejections.length;b++)this.unhandledRejections[b].promise===a&&(this.unhandledRejections.splice(b),
|
31 |
+
b--)},scheduleRejectionCheck:function(){this.pendingRejectionCheck||(this.pendingRejectionCheck=!0,setTimeout(function(){this.pendingRejectionCheck=!1;for(var a=Date.now(),b=0;b<this.unhandledRejections.length;b++)if(500<a-this.unhandledRejections[b].time){var d=this.unhandledRejections[b].promise._value,f="Unhandled rejection: "+d;d.stack&&(f+="\n"+d.stack);L(f);this.unhandledRejections.splice(b);b--}this.unhandledRejections.length&&this.scheduleRejectionCheck()}.bind(this),500))}};e.all=function(a){function b(a){2!==
|
32 |
+
g._status&&(l=[],f(a))}var d,f,g=new e(function(a,b){d=a;f=b}),h=a.length,l=[];if(0===h)return d(l),g;for(var n=0,k=a.length;n<k;++n){var r=a[n],m=function(a){return function(b){2!==g._status&&(l[a]=b,h--,0===h&&d(l))}}(n);e.isPromise(r)?r.then(m,b):m(r)}return g};e.isPromise=function(a){return a&&"function"===typeof a.then};e.resolve=function(a){return new e(function(b){b(a)})};e.reject=function(a){return new e(function(b,d){d(a)})};e.prototype={_status:null,_value:null,_handlers:null,_unhandledRejection:null,
|
33 |
+
_updateStatus:function(c,b){1!==this._status&&2!==this._status&&(1===c&&e.isPromise(b)?b.then(this._updateStatus.bind(this,1),this._updateStatus.bind(this,2)):(this._status=c,this._value=b,2===c&&0===this._handlers.length&&(this._unhandledRejection=!0,a.addUnhandledRejection(this)),a.scheduleHandlers(this)))},_resolve:function(a){this._updateStatus(1,a)},_reject:function(a){this._updateStatus(2,a)},then:function(c,b){var d=new e(function(a,b){this.resolve=a;this.reject=b});this._handlers.push({thisPromise:this,
|
34 |
+
onResolve:c,onReject:b,nextPromise:d});a.scheduleHandlers(this);return d},catch:function(a){return this.then(void 0,a)}};ga.Promise=e}})();(function(){function e(){this.started={};this.times=[];this.enabled=!0}e.prototype={time:function(a){this.enabled&&(a in this.started&&L("Timer is already running for "+a),this.started[a]=Date.now())},timeEnd:function(a){this.enabled&&(a in this.started||L("Timer has not been started for "+a),this.times.push({name:a,start:this.started[a],end:Date.now()}),delete this.started[a])},
|
35 |
+
toString:function(){var a,c,b=this.times,d="",f=0;a=0;for(c=b.length;a<c;++a){var g=b[a].name;g.length>f&&(f=g.length)}a=0;for(c=b.length;a<c;++a){for(var h=b[a],g=h.end-h.start,h=h.name;h.length<f;)h+=" ";d+=h+" "+g+"ms\n"}return d}};return e})();PDFJS.createBlob=function(e,a){if("undefined"!==typeof Blob)return new Blob([e],{type:a});var c=new MozBlobBuilder;c.append(e);return c.getBlob(a)};PDFJS.createObjectURL=function(){return function(e,a){if(!PDFJS.disableCreateObjectURL&&"undefined"!==typeof URL&&
|
36 |
+
URL.createObjectURL){var c=PDFJS.createBlob(e,a);return URL.createObjectURL(c)}for(var c="data:"+a+";base64,",b=0,d=e.length;b<d;b+=3)var f=e[b]&255,g=e[b+1]&255,h=e[b+2]&255,c=c+("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[f>>2]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[(f&3)<<4|g>>4]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[b+1<d?(g&15)<<2|h>>6:64]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[b+2<
|
37 |
+
d?h&63:64]);return c}}();lc.prototype={on:function(e,a,c){var b=this.actionHandler;b[e]&&G('There is already an actionName called "'+e+'"');b[e]=[a,c]},send:function(e,a,c){this.postMessage({action:e,data:a},c)},sendWithPromise:function(e,a,c){var b=this.callbackIndex++;e={action:e,data:a,callbackId:b};a=La();this.callbacksCapabilities[b]=a;try{this.postMessage(e,c)}catch(d){a.reject(d)}return a.promise},postMessage:function(e,a){a&&this.postMessageTransfers?this.comObj.postMessage(e,a):this.comObj.postMessage(e)}};
|
38 |
+
var Jc=function(){function e(a,b){this.url=a;b=b||{};this.httpHeaders=(this.isHttp=/^https?:/i.test(a))&&b.httpHeaders||{};this.withCredentials=b.withCredentials||!1;this.getXhr=b.getXhr||function(){return new XMLHttpRequest};this.currXhrId=0;this.pendingRequests={};this.loadedRequests={}}function a(a){a=a.response;if("string"!==typeof a)return a;for(var b=a.length,d=new Uint8Array(b),f=0;f<b;f++)d[f]=a.charCodeAt(f)&255;return d.buffer}e.prototype={requestRange:function(a,b,d){a={begin:a,end:b};
|
39 |
+
for(var f in d)a[f]=d[f];return this.request(a)},requestFull:function(a){return this.request(a)},request:function(a){var b=this.getXhr(),d=this.currXhrId++,f=this.pendingRequests[d]={xhr:b};b.open("GET",this.url);b.withCredentials=this.withCredentials;for(var g in this.httpHeaders){var h=this.httpHeaders[g];"undefined"!==typeof h&&b.setRequestHeader(g,h)}this.isHttp&&"begin"in a&&"end"in a?(b.setRequestHeader("Range","bytes="+(a.begin+"-"+(a.end-1))),f.expectedStatus=206):f.expectedStatus=200;if(a.onProgressiveData){try{b.responseType=
|
40 |
+
"moz-chunked-arraybuffer"}catch(l){}"moz-chunked-arraybuffer"===b.responseType?(f.onProgressiveData=a.onProgressiveData,f.mozChunked=!0):b.responseType="arraybuffer"}else b.responseType="arraybuffer";a.onError&&(b.onerror=function(d){a.onError(b.status)});b.onreadystatechange=this.onStateChange.bind(this,d);b.onprogress=this.onProgress.bind(this,d);f.onHeadersReceived=a.onHeadersReceived;f.onDone=a.onDone;f.onError=a.onError;f.onProgress=a.onProgress;b.send(null);return d},onProgress:function(c,b){var d=
|
41 |
+
this.pendingRequests[c];if(d){if(d.mozChunked){var f=a(d.xhr);d.onProgressiveData(f)}(d=d.onProgress)&&d(b)}},onStateChange:function(c,b){var d=this.pendingRequests[c];if(d){var f=d.xhr;2<=f.readyState&&d.onHeadersReceived&&(d.onHeadersReceived(),delete d.onHeadersReceived);if(4===f.readyState&&c in this.pendingRequests)if(delete this.pendingRequests[c],0===f.status&&this.isHttp){if(d.onError)d.onError(f.status)}else{var g=f.status||200;if(200===g&&206===d.expectedStatus||g===d.expectedStatus){this.loadedRequests[c]=
|
42 |
+
!0;var h=a(f);if(206===g)f=f.getResponseHeader("Content-Range"),f=/bytes (\d+)-(\d+)\/(\d+)/.exec(f),f=parseInt(f[1],10),d.onDone({begin:f,chunk:h});else if(d.onProgressiveData)d.onDone(null);else d.onDone({begin:0,chunk:h})}else if(d.onError)d.onError(f.status)}}},hasPendingRequests:function(){for(var a in this.pendingRequests)return!0;return!1},getRequestXhr:function(a){return this.pendingRequests[a].xhr},isStreamingRequest:function(a){return!!this.pendingRequests[a].onProgressiveData},isPendingRequest:function(a){return a in
|
43 |
+
this.pendingRequests},isLoadedRequest:function(a){return a in this.loadedRequests},abortAllRequests:function(){for(var a in this.pendingRequests)this.abortRequest(a|0)},abortRequest:function(a){var b=this.pendingRequests[a].xhr;delete this.pendingRequests[a];b.abort()}};return e}(),Kc=function(){function e(a,c,b){this.bytes=new Uint8Array(a);this.pos=this.start=0;this.end=a;this.chunkSize=c;this.loadedChunks=[];this.numChunksLoaded=0;this.numChunks=Math.ceil(a/c);this.manager=b;this.progressiveDataLength=
|
44 |
+
0;this.lastSuccessfulEnsureByteChunk=-1}e.prototype={getMissingChunks:function(){for(var a=[],c=0,b=this.numChunks;c<b;++c)this.loadedChunks[c]||a.push(c);return a},getBaseStreams:function(){return[this]},allChunksLoaded:function(){return this.numChunksLoaded===this.numChunks},onReceiveData:function(a,c){var b=a+c.byteLength;ba(0===a%this.chunkSize,"Bad begin offset: "+a);var d=this.bytes.length;ba(0===b%this.chunkSize||b===d,"Bad end offset: "+b);this.bytes.set(new Uint8Array(c),a);d=this.chunkSize;
|
45 |
+
b=Math.floor((b-1)/d)+1;for(d=Math.floor(a/d);d<b;++d)this.loadedChunks[d]||(this.loadedChunks[d]=!0,++this.numChunksLoaded)},onReceiveProgressiveData:function(a){var c=this.progressiveDataLength,b=Math.floor(c/this.chunkSize);this.bytes.set(new Uint8Array(a),c);this.progressiveDataLength=c+=a.byteLength;for(a=c>=this.end?this.numChunks:Math.floor(c/this.chunkSize);b<a;++b)this.loadedChunks[b]||(this.loadedChunks[b]=!0,++this.numChunksLoaded)},ensureByte:function(a){var c=Math.floor(a/this.chunkSize);
|
46 |
+
if(c!==this.lastSuccessfulEnsureByteChunk){if(!this.loadedChunks[c])throw new Ta(a,a+1);this.lastSuccessfulEnsureByteChunk=c}},ensureRange:function(a,c){if(!(a>=c||c<=this.progressiveDataLength))for(var b=this.chunkSize,d=Math.floor((c-1)/b)+1,b=Math.floor(a/b);b<d;++b)if(!this.loadedChunks[b])throw new Ta(a,c);},nextEmptyChunk:function(a){var c,b;c=a;for(b=this.numChunks;c<b;++c)if(!this.loadedChunks[c])return c;for(c=0;c<a;++c)if(!this.loadedChunks[c])return c;return null},hasChunk:function(a){return!!this.loadedChunks[a]},
|
47 |
+
get length(){return this.end-this.start},get isEmpty(){return 0===this.length},getByte:function(){var a=this.pos;if(a>=this.end)return-1;this.ensureByte(a);return this.bytes[this.pos++]},getUint16:function(){var a=this.getByte(),c=this.getByte();return-1===a||-1===c?-1:(a<<8)+c},getInt32:function(){var a=this.getByte(),c=this.getByte(),b=this.getByte(),d=this.getByte();return(a<<24)+(c<<16)+(b<<8)+d},getBytes:function(a){var c=this.bytes,b=this.pos,d=this.end;if(!a)return this.ensureRange(b,d),c.subarray(b,
|
48 |
+
d);a=b+a;a>d&&(a=d);this.ensureRange(b,a);this.pos=a;return c.subarray(b,a)},peekByte:function(){var a=this.getByte();this.pos--;return a},peekBytes:function(a){a=this.getBytes(a);this.pos-=a.length;return a},getByteRange:function(a,c){this.ensureRange(a,c);return this.bytes.subarray(a,c)},skip:function(a){a||(a=1);this.pos+=a},reset:function(){this.pos=this.start},moveStart:function(){this.start=this.pos},makeSubStream:function(a,c,b){function d(){}this.ensureRange(a,a+c);d.prototype=Object.create(this);
|
49 |
+
d.prototype.getMissingChunks=function(){for(var a=this.chunkSize,b=Math.floor((this.end-1)/a)+1,d=[],a=Math.floor(this.start/a);a<b;++a)this.loadedChunks[a]||d.push(a);return d};var f=new d;f.pos=f.start=a;f.end=a+c||this.end;f.dict=b;return f},isStream:!0};return e}(),Md=function(){function e(a,c,b,d){this.stream=new Kc(a,c,this);this.length=a;this.chunkSize=c;this.url=b;this.disableAutoFetch=d.disableAutoFetch;var f=this.msgHandler=d.msgHandler;d.chunkedViewerLoading?(f.on("OnDataRange",this.onReceiveData.bind(this)),
|
50 |
+
f.on("OnDataProgress",this.onProgress.bind(this)),this.sendRequest=function(a,b){f.send("RequestDataRange",{begin:a,end:b})}):(this.networkManager=new Jc(this.url,{getXhr:function(){return new XMLHttpRequest},httpHeaders:d.httpHeaders,withCredentials:d.withCredentials}),this.sendRequest=function(a,b){this.networkManager.requestRange(a,b,{onDone:this.onReceiveData.bind(this),onProgress:this.onProgress.bind(this)})});this.currRequestId=0;this.chunksNeededByRequest={};this.requestsByChunk={};this.callbacksByRequest=
|
51 |
+
{};this.progressiveDataLength=0;this._loadedStreamCapability=La();if(d.initialData)this.onReceiveData({chunk:d.initialData})}e.prototype={onLoadedStream:function(){return this._loadedStreamCapability.promise},requestAllChunks:function(){var a=this.stream.getMissingChunks();this.requestChunks(a);return this._loadedStreamCapability.promise},requestChunks:function(a,c){var b=this.currRequestId++,d,f,g;this.chunksNeededByRequest[b]=d={};f=0;for(g=a.length;f<g;f++)this.stream.hasChunk(a[f])||(d[a[f]]=
|
52 |
+
!0);if(Hb(d))c&&c();else{this.callbacksByRequest[b]=c;f=[];for(var h in d)h|=0,h in this.requestsByChunk||(this.requestsByChunk[h]=[],f.push(h)),this.requestsByChunk[h].push(b);if(f.length)for(b=this.groupChunks(f),f=0;f<b.length;++f)h=b[f],d=h.beginChunk*this.chunkSize,h=Math.min(h.endChunk*this.chunkSize,this.length),this.sendRequest(d,h)}},getStream:function(){return this.stream},requestRange:function(a,c,b){c=Math.min(c,this.length);a=this.getBeginChunk(a);c=this.getEndChunk(c);for(var d=[];a<
|
53 |
+
c;++a)d.push(a);this.requestChunks(d,b)},requestRanges:function(a,c){a=a||[];for(var b=[],d=0;d<a.length;d++)for(var f=this.getBeginChunk(a[d].begin),g=this.getEndChunk(a[d].end);f<g;++f)0>b.indexOf(f)&&b.push(f);b.sort(function(a,b){return a-b});this.requestChunks(b,c)},groupChunks:function(a){for(var c=[],b=-1,d=-1,f=0;f<a.length;++f){var g=a[f];0>b&&(b=g);0<=d&&d+1!==g&&(c.push({beginChunk:b,endChunk:d+1}),b=g);f+1===a.length&&c.push({beginChunk:b,endChunk:g+1});d=g}return c},onProgress:function(a){this.msgHandler.send("DocProgress",
|
54 |
+
{loaded:this.stream.numChunksLoaded*this.chunkSize+a.loaded,total:this.length})},onReceiveData:function(a){var c=a.chunk,b=void 0===a.begin,d=b?this.progressiveDataLength:a.begin,f=d+c.byteLength,g=Math.floor(d/this.chunkSize);a=f<this.length?Math.floor(f/this.chunkSize):Math.ceil(f/this.chunkSize);if(b)this.stream.onReceiveProgressiveData(c),this.progressiveDataLength=f;else this.stream.onReceiveData(d,c);this.stream.allChunksLoaded()&&this._loadedStreamCapability.resolve(this.stream);b=[];for(c=
|
55 |
+
g;c<a;++c)for(f=this.requestsByChunk[c]||[],delete this.requestsByChunk[c],g=0;g<f.length;++g){var d=f[g],h=this.chunksNeededByRequest[d];c in h&&delete h[c];Hb(h)&&b.push(d)}if(!this.disableAutoFetch&&Hb(this.requestsByChunk)){var l;1===this.stream.numChunksLoaded?(c=this.stream.numChunks-1,this.stream.hasChunk(c)||(l=c)):l=this.stream.nextEmptyChunk(a);V(l)&&this.requestChunks([l])}for(g=0;g<b.length;++g)d=b[g],l=this.callbacksByRequest[d],delete this.callbacksByRequest[d],l&&l();this.msgHandler.send("DocProgress",
|
56 |
+
{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})},onError:function(a){this._loadedStreamCapability.reject(a)},getBeginChunk:function(a){return Math.floor(a/this.chunkSize)},getEndChunk:function(a){return 0===a%this.chunkSize?a/this.chunkSize:Math.floor((a-1)/this.chunkSize)+1}};return e}(),Lc=function(){function e(){throw Error("Cannot initialize BaseManagerManager");}e.prototype={onLoadedStream:function(){throw new ob;},ensureDoc:function(a,c){return this.ensure(this.pdfDocument,
|
57 |
+
a,c)},ensureXRef:function(a,c){return this.ensure(this.pdfDocument.xref,a,c)},ensureCatalog:function(a,c){return this.ensure(this.pdfDocument.catalog,a,c)},getPage:function(a){return this.pdfDocument.getPage(a)},cleanup:function(){return this.pdfDocument.cleanup()},ensure:function(a,c,b){return new ob},requestRange:function(a,c){return new ob},requestLoadedStream:function(){return new ob},sendProgressiveData:function(a){return new ob},updatePassword:function(a){this.pdfDocument.xref.password=this.password=
|
58 |
+
a;this._passwordChangedCapability&&this._passwordChangedCapability.resolve()},passwordChanged:function(){this._passwordChangedCapability=La();return this._passwordChangedCapability.promise},terminate:function(){return new ob}};return e}(),Nc=function(){function e(a,c){var b=new xa(a);this.pdfDocument=new Mc(this,b,c);this._loadedStreamCapability=La();this._loadedStreamCapability.resolve(b)}e.prototype=Object.create(Lc.prototype);e.prototype.constructor=e;e.prototype.ensure=function(a,c,b){return new Promise(function(d,
|
59 |
+
f){try{var g=a[c],h;h="function"===typeof g?g.apply(a,b):g;d(h)}catch(l){f(l)}})};e.prototype.requestRange=function(a,c){return Promise.resolve()};e.prototype.requestLoadedStream=function(){};e.prototype.onLoadedStream=function(){return this._loadedStreamCapability.promise};e.prototype.terminate=function(){};return e}(),Oc=function(){function e(a,c){this.msgHandler=c;this.streamManager=new Md(a.length,65536,a.url,{msgHandler:c,httpHeaders:a.httpHeaders,withCredentials:a.withCredentials,chunkedViewerLoading:a.chunkedViewerLoading,
|
60 |
+
disableAutoFetch:a.disableAutoFetch,initialData:a.initialData});this.pdfDocument=new Mc(this,this.streamManager.getStream(),a.password)}e.prototype=Object.create(Lc.prototype);e.prototype.constructor=e;e.prototype.ensure=function(a,c,b){var d=this;return new Promise(function(f,g){function h(){try{var l,n=a[c];l="function"===typeof n?n.apply(a,b):n;f(l)}catch(k){k instanceof Ta?d.streamManager.requestRange(k.begin,k.end,h):g(k)}}h()})};e.prototype.requestRange=function(a,c){return new Promise(function(b){this.streamManager.requestRange(a,
|
61 |
+
c,function(){b()})}.bind(this))};e.prototype.requestLoadedStream=function(){this.streamManager.requestAllChunks()};e.prototype.sendProgressiveData=function(a){this.streamManager.onReceiveData({chunk:a})};e.prototype.onLoadedStream=function(){return this.streamManager.onLoadedStream()};e.prototype.terminate=function(){this.streamManager.networkManager.abortAllRequests()};return e}(),Od=function(){function e(a,b,d,f,g,h){this.pdfManager=a;this.pageIndex=d;this.pageDict=f;this.xref=b;this.ref=g;this.fontCache=
|
62 |
+
h;this.idCounters={obj:0};this.resourcesPromise=null}var a=[0,0,612,792];e.prototype={getPageProp:function(a){return this.pageDict.get(a)},getInheritedPageProp:function(a){for(var b=this.pageDict,d=b.get(a);void 0===d;){b=b.get("Parent");if(!b)break;d=b.get(a)}return d},get content(){return this.getPageProp("Contents")},get resources(){var a=this.getInheritedPageProp("Resources");void 0===a&&(a=Ga.empty);return fa(this,"resources",a)},get mediaBox(){var c=this.getInheritedPageProp("MediaBox");U(c)&&
|
63 |
+
4===c.length||(c=a);return fa(this,"mediaBox",c)},get view(){var a=this.mediaBox,b=this.getInheritedPageProp("CropBox");return U(b)&&4===b.length?(b=N.intersect(b,a))?fa(this,"view",b):fa(this,"view",a):fa(this,"view",a)},get annotationRefs(){return fa(this,"annotationRefs",this.getInheritedPageProp("Annots"))},get rotate(){var a=this.getInheritedPageProp("Rotate")||0;0!==a%90?a=0:360<=a?a%=360:0>a&&(a=(a%360+360)%360);return fa(this,"rotate",a)},getContentStream:function(){var a=this.content;if(U(a)){var b=
|
64 |
+
this.xref,d,f=a.length,g=[];for(d=0;d<f;++d)g.push(b.fetchIfRef(a[d]));a=new Nd(g)}else a=oa(a)?a:new pc;return a},loadResources:function(a){this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,"resources"));return this.resourcesPromise.then(function(){return(new qc(this.resources.map,a,this.xref)).load()}.bind(this))},getOperatorList:function(a,b){var d=this,f=this.pdfManager,g=f.ensure(this,"getContentStream",[]),h=this.loadResources("ExtGState ColorSpace Pattern Shading XObject Font".split(" ")),
|
65 |
+
l=new rc(f,this.xref,a,this.pageIndex,"p"+this.pageIndex+"_",this.idCounters,this.fontCache),g=Promise.all([g,h]).then(function(f){f=f[0];var h=new db(b,a,d.pageIndex);a.send("StartRenderPage",{transparency:l.hasBlendModes(d.resources),pageIndex:d.pageIndex,intent:b});return l.getOperatorList(f,d.resources,h).then(function(){return h})}),h=f.ensure(this,"annotations");return Promise.all([g,h]).then(function(a){var d=a[0];a=a[1];return 0===a.length?(d.flush(!0),d):Ha.appendToOperatorList(a,d,f,l,b).then(function(){d.flush(!0);
|
66 |
+
return d})})},extractTextContent:function(){var a={on:function(){},send:function(){}},b=this,d=this.pdfManager,f=d.ensure(this,"getContentStream",[]),g=this.loadResources(["ExtGState","XObject","Font"]);return Promise.all([f,g]).then(function(f){f=f[0];return(new rc(d,b.xref,a,b.pageIndex,"p"+b.pageIndex+"_",b.idCounters,b.fontCache)).getTextContent(f,b.resources)})},getAnnotationsData:function(){for(var a=this.annotations,b=[],d=0,f=a.length;d<f;++d)b.push(a[d].getData());return b},get annotations(){for(var a=
|
67 |
+
[],b=this.annotationRefs||[],d=0,f=b.length;d<f;++d){var g=Ha.fromRef(this.xref,b[d]);g&&a.push(g)}return fa(this,"annotations",a)}};return e}(),Mc=function(){function e(b,f,c){oa(f)?a.call(this,b,f,c):"object"===typeof f&&null!==f&&void 0!==f.byteLength?a.call(this,b,new xa(f),c):G("PDFDocument: Unknown argument type")}function a(a,b,c){ba(0<b.length,"stream must have data");this.pdfManager=a;this.stream=b;this.xref=new Pd(this.stream,c,a)}function c(a,b,c,h){var l=a.pos,n=a.end,k=[];l+c>n&&(c=n-
|
68 |
+
l);for(n=0;n<c;++n)k.push(String.fromCharCode(a.getByte()));c=k.join("");a.pos=l;b=h?c.lastIndexOf(b):c.indexOf(b);if(-1===b)return!1;a.pos+=b;return!0}var b={get entries(){return fa(this,"entries",{Title:ja,Author:ja,Subject:ja,Keywords:ja,Creator:ja,Producer:ja,CreationDate:ja,ModDate:ja,Trapped:P})}};e.prototype={parse:function(a){this.setup(a);try{if(this.acroForm=this.catalog.catDict.get("AcroForm")){this.xfa=this.acroForm.get("XFA");var b=this.acroForm.get("Fields");b&&U(b)&&0!==b.length||this.xfa||
|
69 |
+
(this.acroForm=null)}}catch(c){R("Something wrong with AcroForm entry"),this.acroForm=null}},get linearization(){var a=null;if(this.stream.length)try{a=Qd.create(this.stream)}catch(b){if(b instanceof Ta)throw b;R(b)}return fa(this,"linearization",a)},get startXRef(){var a=this.stream,b=0;if(this.linearization)a.reset(),c(a,"endobj",1024)&&(b=a.pos+6);else{for(var g=!1,h=a.end;!g&&0<h;)h-=1015,0>h&&(h=0),a.pos=h,g=c(a,"startxref",1024,!0);if(g){a.skip(9);do b=a.getByte();while(ta.isSpace(b));for(g=
|
70 |
+
"";32<=b&&57>=b;)g+=String.fromCharCode(b),b=a.getByte();b=parseInt(g,10);isNaN(b)&&(b=0)}}return fa(this,"startXRef",b)},get mainXRefEntriesOffset(){var a=0,b=this.linearization;b&&(a=b.mainXRefEntriesOffset);return fa(this,"mainXRefEntriesOffset",a)},checkHeader:function(){var a=this.stream;a.reset();if(c(a,"%PDF-",1024)){a.moveStart();for(var b="",g;32<(g=a.getByte())&&!(12<=b.length);)b+=String.fromCharCode(g);this.pdfFormatVersion=b.substring(5)}},parseStartXRef:function(){this.xref.setStartXRef(this.startXRef)},
|
71 |
+
setup:function(a){this.xref.parse(a);this.catalog=new Rd(this.pdfManager,this.xref)},get numPages(){var a=this.linearization;return fa(this,"numPages",a?a.numPages:this.catalog.numPages)},get documentInfo(){var a={PDFFormatVersion:this.pdfFormatVersion,IsAcroFormPresent:!!this.acroForm,IsXFAPresent:!!this.xfa},c;try{c=this.xref.trailer.get("Info")}catch(g){R("The document information dictionary is invalid.")}if(c){var h=b.entries,l;for(l in h)if(c.has(l)){var n=c.get(l);h[l](n)?a[l]="string"!==typeof n?
|
72 |
+
n:Sa(n):R('Bad value in document info for "'+l+'"')}}return fa(this,"documentInfo",a)},get fingerprint(){var a=this.xref,b,c="";a.trailer.has("ID")&&(b=a.trailer.get("ID"));b&&U(b)&&"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"!==b[0]?a=ra(b[0]):(this.stream.ensureRange&&this.stream.ensureRange(0,Math.min(1024,this.stream.end)),a=qb(this.stream.bytes.subarray(0,1024),0,1024));b=0;for(var h=a.length;b<h;b++)var l=a[b].toString(16),c=c+(1===l.length?"0"+l:l);return fa(this,"fingerprint",
|
73 |
+
c)},getPage:function(a){return this.catalog.getPage(a)},cleanup:function(){return this.catalog.cleanup()}};return e}(),Fa=function(){function e(a){this.name=a}e.prototype={};var a={};e.get=function(c){var b=a[c];return b?b:a[c]=new e(c)};return e}(),wa=function(){function e(a){this.cmd=a}e.prototype={};var a={};e.get=function(c){var b=a[c];return b?b:a[c]=new e(c)};return e}(),Ga=function(){function e(a){return P(a.Type)?!0===b[a.Type.name]:!0}function a(a){this.map=Object.create(null);this.xref=
|
74 |
+
a;this.objId=null;this.__nonSerializable__=c}var c=function(){return c},b={Background:!0,ExtGState:!0,Halftone:!0,Layout:!0,Mask:!0,Pagination:!0,Printing:!0};a.prototype={assignXref:function(a){this.xref=a},get:function(a,b,c){var h,l=this.xref;if("undefined"!==typeof(h=this.map[a])||a in this.map||"undefined"===typeof b||"undefined"!==typeof(h=this.map[b])||b in this.map||"undefined"===typeof c)return l?l.fetchIfRef(h):h;h=this.map[c]||null;return l?l.fetchIfRef(h):h},getAsync:function(a,b,c){var h,
|
75 |
+
l=this.xref;if("undefined"!==typeof(h=this.map[a])||a in this.map||"undefined"===typeof b||"undefined"!==typeof(h=this.map[b])||b in this.map||"undefined"===typeof c)return l?l.fetchIfRefAsync(h):Promise.resolve(h);h=this.map[c]||null;return l?l.fetchIfRefAsync(h):Promise.resolve(h)},getRaw:function(a){return this.map[a]},getAll:function(){var b=Object.create(null),c=null,g,h;for(g in this.map)h=this.get(g),h instanceof a?e(h)?(c||(c=[])).push({target:b,key:g,obj:h}):b[g]=this.getRaw(g):b[g]=h;if(!c)return b;
|
76 |
+
for(var l=Object.create(null);0<c.length;){var n=c.shift(),k=n.obj,r=k.objId;if(r&&r in l)n.target[n.key]=l[r];else{var m=Object.create(null);for(g in k.map)h=k.get(g),h instanceof a?e(h)?c.push({target:m,key:g,obj:h}):m[g]=k.getRaw(g):m[g]=h;r&&(l[r]=m);n.target[n.key]=m}}return b},set:function(a,b){this.map[a]=b},has:function(a){return a in this.map},forEach:function(a){for(var b in this.map)a(b,this.get(b))}};a.empty=new a(null);return a}(),Ub=function(){function e(a,c){this.num=a;this.gen=c}e.prototype=
|
77 |
+
{toString:function(){var a=this.num+"R";0!==this.gen&&(a+=this.gen);return a}};return e}(),sc=function(){function e(){this.dict={}}e.prototype={has:function(a){return a.toString()in this.dict},put:function(a){this.dict[a.toString()]=!0},remove:function(a){delete this.dict[a.toString()]}};return e}(),Sd=function(){function e(){this.dict=Object.create(null)}e.prototype={get:function(a){return this.dict[a.toString()]},has:function(a){return a.toString()in this.dict},put:function(a,c){this.dict[a.toString()]=
|
78 |
+
c},putAlias:function(a,c){this.dict[a.toString()]=this.get(c)},forEach:function(a,c){for(var b in this.dict)a.call(c,this.dict[b])},clear:function(){this.dict=Object.create(null)}};return e}(),Rd=function(){function e(a,c){this.pdfManager=a;this.xref=c;this.catDict=c.getCatalogObj();this.fontCache=new Sd;ba(X(this.catDict),"catalog object is not a dictionary");this.pagePromises=[]}e.prototype={get metadata(){var a=this.catDict.getRaw("Metadata");if(!Aa(a))return fa(this,"metadata",null);var a=this.xref.fetch(a,
|
79 |
+
!(this.xref.encrypt&&this.xref.encrypt.encryptMetadata)),c;if(a&&X(a.dict)){var b=a.dict.get("Type"),d=a.dict.get("Subtype");if(P(b)&&P(d)&&"Metadata"===b.name&&"XML"===d.name)try{var f=Ra(a.getBytes());c=decodeURIComponent(escape(f))}catch(g){R("Skipping invalid metadata.")}}return fa(this,"metadata",c)},get toplevelPagesDict(){var a=this.catDict.get("Pages");ba(X(a),"invalid top-level pages dictionary");return fa(this,"toplevelPagesDict",a)},get documentOutline(){var a=null;try{a=this.readDocumentOutline()}catch(c){if(c instanceof
|
80 |
+
Ta)throw c;L("Unable to read document outline")}return fa(this,"documentOutline",a)},readDocumentOutline:function(){var a=this.xref,c=this.catDict.get("Outlines"),b={items:[]};if(X(c)){var c=c.getRaw("First"),d=new sc;if(Aa(c)){var f=[{obj:c,parent:b}];for(d.put(c);0<f.length;){var g=f.shift(),h=a.fetchIfRef(g.obj);if(null!==h){h.has("Title")||G("Invalid outline item");(c=h.get("A"))?c=c.get("D"):h.has("Dest")&&(c=h.getRaw("Dest"),P(c)&&(c=c.name));var l=h.get("Title"),l={dest:c,title:Sa(l),color:h.get("C")||
|
81 |
+
[0,0,0],count:h.get("Count"),bold:!!(h.get("F")&2),italic:!!(h.get("F")&1),items:[]};g.parent.items.push(l);c=h.getRaw("First");Aa(c)&&!d.has(c)&&(f.push({obj:c,parent:l}),d.put(c));c=h.getRaw("Next");Aa(c)&&!d.has(c)&&(f.push({obj:c,parent:g.parent}),d.put(c))}}}}return 0<b.items.length?b.items:null},get numPages(){var a=this.toplevelPagesDict.get("Count");ba(V(a),"page count in top level pages object is not an integer");return fa(this,"num",a)},get destinations(){function a(a){return X(a)?a.get("D"):
|
82 |
+
a}var c=this.xref,b={},d,f,g=this.catDict.get("Names");g&&g.has("Dests")?d=g.getRaw("Dests"):this.catDict.has("Dests")&&(f=this.catDict.get("Dests"));f&&f.forEach(function(d,c){c&&(b[d]=a(c))});if(d){var c=(new Xb(d,c)).getAll(),h;for(h in c)c.hasOwnProperty(h)&&(b[h]=a(c[h]))}return fa(this,"destinations",b)},getDestination:function(a){function c(a){return X(a)?a.get("D"):a}var b=this.xref,d,f,g,h=this.catDict.get("Names");h&&h.has("Dests")?f=h.getRaw("Dests"):this.catDict.has("Dests")&&(g=this.catDict.get("Dests"));
|
83 |
+
g&&g.forEach(function(b,f){f&&b===a&&(d=c(f))});f&&(b=new Xb(f,b),d=c(b.get(a)));return d},get attachments(){var a=this.xref,c=null,b,d=this.catDict.get("Names");d&&(b=d.getRaw("EmbeddedFiles"));if(b){b=(new Xb(b,a)).getAll();for(var f in b)b.hasOwnProperty(f)&&(d=new Td(b[f],a),c||(c={}),c[Sa(f)]=d.serializable)}return fa(this,"attachments",c)},get javaScript(){var a=this.xref,c=this.catDict.get("Names"),b=[];if(c&&c.has("JavaScript")){var a=(new Xb(c.getRaw("JavaScript"),a)).getAll(),d;for(d in a)if(a.hasOwnProperty(d)&&
|
84 |
+
(c=a[d],X(c))){var f=c.get("S");P(f)&&"JavaScript"===f.name&&(c=c.get("JS"),ja(c)||oa(c))&&(oa(c)&&(c=Ra(c.getBytes())),b.push(Sa(c)))}}c=this.catDict.get("OpenAction");X(c)&&(d=c.get("Type"),a=c.get("S"),c=c.get("N"),P(d)&&"Action"===d.name&&P(a)&&"Named"===a.name&&P(c)&&"Print"===c.name&&b.push("print(true);"));return fa(this,"javaScript",b)},cleanup:function(){var a=[];this.fontCache.forEach(function(c){a.push(c)});return Promise.all(a).then(function(a){for(var b=0,d=a.length;b<d;b++)delete a[b].dict.translated;
|
85 |
+
this.fontCache.clear()}.bind(this))},getPage:function(a){a in this.pagePromises||(this.pagePromises[a]=this.getPageDict(a).then(function(c){return new Od(this.pdfManager,this.xref,a,c[0],c[1],this.fontCache)}.bind(this)));return this.pagePromises[a]},getPageDict:function(a){function c(){for(;d.length;){var h=d.pop();if(Aa(h)){g.fetchAsync(h).then(function(g){X(g,"Page")||X(g)&&!g.has("Kids")?a===f?b.resolve([g,h]):(f++,c()):(d.push(g),c())},b.reject);return}ba(X(h),"page dictionary kid reference points to wrong type of object");
|
86 |
+
var l=h.get("Count");if(f+l<=a)f+=l;else{var n=h.get("Kids");ba(U(n),"page dictionary kids object is not an array");if(l===n.length)d=[n[a-f]],f=a;else for(l=n.length-1;0<=l;l--)d.push(n[l])}}b.reject("Page index "+a+" not found.")}var b=La(),d=[this.catDict.getRaw("Pages")],f=0,g=this.xref;c();return b.promise},getPageIndex:function(a){function c(a){var b=0,c;return d.fetchAsync(a).then(function(a){if(!a)return null;c=a.getRaw("Parent");return a.getAsync("Parent")}).then(function(a){return a?a.getAsync("Kids"):
|
87 |
+
null}).then(function(f){if(!f)return null;for(var k=[],r=!1,m=0;m<f.length;m++){var t=f[m];ba(Aa(t),"kids must be a ref");if(t.num===a.num){r=!0;break}k.push(d.fetchAsync(t).then(function(a){a.has("Count")?(a=a.get("Count"),b+=a):b++}))}r||G("kid ref not found in parents kids");return Promise.all(k).then(function(){return[b,c]})})}function b(a){return c(a).then(function(a){if(!a)return f;var d=a[1];f+=a[0];return b(d)})}var d=this.xref,f=0;return b(a)}};return e}(),Pd=function(){function e(a,c){this.stream=
|
88 |
+
a;this.entries=[];this.xrefstms={};this.cache=[];this.password=c;this.stats={streamTypes:[],fontTypes:[]}}e.prototype={setStartXRef:function(a){this.startXRefQueue=[a]},parse:function(a){a?(L("Indexing all PDF objects"),a=this.indexObjects()):a=this.readXRef();a.assignXref(this);this.trailer=a;var c=a.get("Encrypt");if(c){var b=a.get("ID");this.encrypt=new Ud(c,b&&b.length?b[0]:"",this.password)}(this.root=a.get("Root"))||G("Invalid root reference")},processXRefTable:function(a){"tableState"in this||
|
89 |
+
(this.tableState={entryNum:0,streamPos:a.lexer.stream.pos,parserBuf1:a.buf1,parserBuf2:a.buf2});var c=this.readXRefTable(a);da(c,"trailer")||G("Invalid XRef table: could not find trailer dictionary");a=a.getObj();!X(a)&&a.dict&&(a=a.dict);X(a)||G("Invalid XRef table: could not parse trailer dictionary");delete this.tableState;return a},readXRefTable:function(a){var c=a.lexer.stream,b=this.tableState;c.pos=b.streamPos;a.buf1=b.parserBuf1;a.buf2=b.parserBuf2;for(var d;;){if(!("firstEntryNum"in b&&"entryCount"in
|
90 |
+
b)){if(da(d=a.getObj(),"trailer"))break;b.firstEntryNum=d;b.entryCount=a.getObj()}var f=b.firstEntryNum;d=b.entryCount;V(f)&&V(d)||G("Invalid XRef table: wrong types in subsection header");for(var g=b.entryNum;g<d;g++){b.streamPos=c.pos;b.entryNum=g;b.parserBuf1=a.buf1;b.parserBuf2=a.buf2;var h={};h.offset=a.getObj();h.gen=a.getObj();var l=a.getObj();da(l,"f")?h.free=!0:da(l,"n")&&(h.uncompressed=!0);V(h.offset)&&V(h.gen)&&(h.free||h.uncompressed)||G("Invalid entry in XRef subsection: "+f+", "+d);
|
91 |
+
this.entries[g+f]||(this.entries[g+f]=h)}b.entryNum=0;b.streamPos=c.pos;b.parserBuf1=a.buf1;b.parserBuf2=a.buf2;delete b.firstEntryNum;delete b.entryCount}1===f&&this.entries[1]&&this.entries[1].free&&this.entries.shift();this.entries[0]&&!this.entries[0].free&&G("Invalid XRef table: unexpected first object");return d},processXRefStream:function(a){if(!("streamState"in this)){var c=a.dict,b=c.get("W"),d=c.get("Index");d||(d=[0,c.get("Size")]);this.streamState={entryRanges:d,byteWidths:b,entryNum:0,
|
92 |
+
streamPos:a.pos}}this.readXRefStream(a);delete this.streamState;return a.dict},readXRefStream:function(a){var c,b,d=this.streamState;a.pos=d.streamPos;c=d.byteWidths;for(var f=c[0],g=c[1],h=c[2],l=d.entryRanges;0<l.length;){var n=l[0],k=l[1];V(n)&&V(k)||G("Invalid XRef range fields: "+n+", "+k);V(f)&&V(g)&&V(h)||G("Invalid XRef entry fields length: "+n+", "+k);for(c=d.entryNum;c<k;++c){d.entryNum=c;d.streamPos=a.pos;var r=0,m=0,t=0;for(b=0;b<f;++b)r=r<<8|a.getByte();0===f&&(r=1);for(b=0;b<g;++b)m=
|
93 |
+
m<<8|a.getByte();for(b=0;b<h;++b)t=t<<8|a.getByte();b={};b.offset=m;b.gen=t;switch(r){case 0:b.free=!0;break;case 1:b.uncompressed=!0;break;case 2:break;default:G("Invalid XRef entry type: "+r)}this.entries[n+c]||(this.entries[n+c]=b)}d.entryNum=0;d.streamPos=a.pos;l.splice(0,2)}},indexObjects:function(){function a(a,b){for(var d="",c=a[b];13!==c&&10!==c&&!(++b>=a.length);)d+=String.fromCharCode(c),c=a[b];return d}function c(a,b,d){for(var c=d.length,f=a.length,h=0;b<f;){for(var g=0;g<c&&a[b+g]===
|
94 |
+
d[g];)++g;if(g>=c)break;b++;h++}return h}var b=new Uint8Array([116,114,97,105,108,101,114]),d=new Uint8Array([115,116,97,114,116,120,114,101,102]),f=new Uint8Array([101,110,100,111,98,106]),g=new Uint8Array([47,88,82,101,102]),h=this.stream;h.pos=0;for(var l=h.getBytes(),n=h.start,k=l.length,r=[],m=[];n<k;){var t=l[n];if(32===t||9===t||13===t||10===t)++n;else if(37===t){do{++n;if(n>=k)break;t=l[n]}while(13!==t&&10!==t)}else{var t=a(l,n),e;if("xref"===t)n+=c(l,n,b),r.push(n),n+=c(l,n,d);else if(e=
|
95 |
+
/^(\d+)\s+(\d+)\s+obj\b/.exec(t)){this.entries[e[1]]={offset:n,gen:e[2]|0,uncompressed:!0};t=c(l,n,f)+7;e=l.subarray(n,n+t);var q=c(e,0,g);q<t&&64>e[q+5]&&(m.push(n),this.xrefstms[n]=1);n+=t}else n+=t.length+1}}b=0;for(d=m.length;b<d;++b)this.startXRefQueue.push(m[b]),this.readXRef(!0);for(var p,b=0,d=r.length;b<d;++b)if(h.pos=r[b],m=new bb(new ta(h),!0,this),f=m.getObj(),da(f,"trailer")&&X(p=m.getObj())&&p.has("ID"))return p;if(p)return p;throw new Jb("Invalid PDF structure");},readXRef:function(a){var c=
|
96 |
+
this.stream;try{for(;this.startXRefQueue.length;){c.pos=this.startXRefQueue[0]+c.start;var b=new bb(new ta(c),!0,this),d=b.getObj(),f;if(da(d,"xref")){if(f=this.processXRefTable(b),this.topDict||(this.topDict=f),d=f.get("XRefStm"),V(d)){var g=d;g in this.xrefstms||(this.xrefstms[g]=1,this.startXRefQueue.push(g))}}else V(d)?(V(b.getObj())&&da(b.getObj(),"obj")&&oa(d=b.getObj())||G("Invalid XRef stream"),f=this.processXRefStream(d),this.topDict||(this.topDict=f),f||G("Failed to read XRef stream")):
|
97 |
+
G("Invalid XRef stream header");d=f.get("Prev");V(d)?this.startXRefQueue.push(d):Aa(d)&&this.startXRefQueue.push(d.num);this.startXRefQueue.shift()}return this.topDict}catch(h){if(h instanceof Ta)throw h;R("(while reading XRef): "+h)}if(!a)throw new Ic;},getEntry:function(a){return(a=this.entries[a])&&!a.free&&a.offset?a:null},fetchIfRef:function(a){return Aa(a)?this.fetch(a):a},fetch:function(a,c){ba(Aa(a),"ref object is not a reference");var b=a.num;if(b in this.cache)return this.cache[b];var d=
|
98 |
+
this.getEntry(b);if(null===d)return this.cache[b]=null;d=d.uncompressed?this.fetchUncompressed(a,d,c):this.fetchCompressed(d,c);X(d)?d.objId=a.toString():oa(d)&&(d.dict.objId=a.toString());return d},fetchUncompressed:function(a,c,b){var d=a.gen;a=a.num;c.gen!==d&&G("inconsistent generation in XRef");c=this.stream.makeSubStream(c.offset+this.stream.start);c=new bb(new ta(c),!0,this);var f=c.getObj(),g=c.getObj(),h=c.getObj();V(f)&&parseInt(f,10)===a&&V(g)&&parseInt(g,10)===d&&da(h)||G("bad XRef entry");
|
99 |
+
if(!da(h,"obj")){if(0===h.cmd.indexOf("obj")&&(a=parseInt(h.cmd.substring(3),10),!isNaN(a)))return a;G("bad XRef entry")}c=this.encrypt&&!b?c.getObj(this.encrypt.createCipherTransform(a,d)):c.getObj();oa(c)||(this.cache[a]=c);return c},fetchCompressed:function(a,c){var b=a.offset,d=this.fetch(new Ub(b,0));oa(d)||G("bad ObjStm stream");var f=d.dict.get("First"),g=d.dict.get("N");V(f)&&V(g)||G("invalid first and n parameters for ObjStm stream");d=new bb(new ta(d),!1,this);d.allowStreams=!0;for(var h=
|
100 |
+
[],l,n=[],f=0;f<g;++f)l=d.getObj(),V(l)||G("invalid object number in the ObjStm stream: "+l),n.push(l),l=d.getObj(),V(l)||G("invalid object offset in the ObjStm stream: "+l);for(f=0;f<g;++f){h.push(d.getObj());l=n[f];var k=this.entries[l];k&&k.offset===b&&k.gen===f&&(this.cache[l]=h[f])}a=h[a.gen];void 0===a&&G("bad XRef entry for compressed object");return a},fetchIfRefAsync:function(a){return Aa(a)?this.fetchAsync(a):Promise.resolve(a)},fetchAsync:function(a,c){var b=this.stream.manager,d=this;
|
101 |
+
return new Promise(function g(h,l){try{h(d.fetch(a,c))}catch(n){n instanceof Ta?b.requestRange(n.begin,n.end,function(){g(h,l)}):l(n)}})},getCatalogObj:function(){return this.root}};return e}(),Xb=function(){function e(a,c){this.root=a;this.xref=c}e.prototype={getAll:function(){var a={};if(!this.root)return a;var c=this.xref,b=new sc;b.put(this.root);for(var d=[this.root];0<d.length;){var f,g;f=c.fetchIfRef(d.shift());if(X(f))if(f.has("Kids")){var h=f.get("Kids");f=0;for(g=h.length;f<g;f++){var l=
|
102 |
+
h[f];b.has(l)&&G("invalid destinations");d.push(l);b.put(l)}}else if(h=f.get("Names"))for(f=0,g=h.length;f<g;f+=2)a[h[f]]=c.fetchIfRef(h[f+1])}return a},get:function(a){if(!this.root)return null;for(var c=this.xref,b=c.fetchIfRef(this.root),d=0,f,g,h;b.has("Kids");){d++;if(10<d)return L("Search depth limit for named destionations has been reached."),null;var l=b.get("Kids");if(!U(l))return null;f=0;for(g=l.length-1;f<=g;){h=f+g>>1;var n=c.fetchIfRef(l[h]).get("Limits");if(a<n[0])g=h-1;else if(a>n[1])f=
|
103 |
+
h+1;else{b=c.fetchIfRef(l[h]);break}}if(f>g)return null}b=b.get("Names");if(U(b))for(f=0,g=b.length-2;f<=g;)if(h=f+g&-2,a<b[h])g=h-2;else if(a>b[h])f=h+2;else return c.fetchIfRef(b[h+1]);return null}};return e}(),Td=function(){function e(a,b){a&&X(a)&&(this.xref=b,this.root=a,a.has("FS")&&(this.fs=a.get("FS")),this.description=a.has("Desc")?Sa(a.get("Desc")):"",a.has("RF")&&L("Related file specifications are not supported"),this.contentAvailable=!0,a.has("EF")||(this.contentAvailable=!1,L("Non-embedded file specifications are not supported")))}
|
104 |
+
function a(a){return a.has("UF")?a.get("UF"):a.has("F")?a.get("F"):a.has("Unix")?a.get("Unix"):a.has("Mac")?a.get("Mac"):a.has("DOS")?a.get("DOS"):null}e.prototype={get filename(){if(!this._filename&&this.root){var c=a(this.root)||"unnamed";this._filename=Sa(c).replace(/\\\\/g,"\\").replace(/\\\//g,"/").replace(/\\/g,"/")}return this._filename},get content(){if(!this.contentAvailable)return null;!this.contentRef&&this.root&&(this.contentRef=a(this.root.get("EF")));var c=null;if(this.contentRef){var b=
|
105 |
+
this.xref.fetchIfRef(this.contentRef);b&&oa(b)?c=b.getBytes():L("Embedded file specification points to non-existing/invalid content")}else L("Embedded file specification does not have a content");return c},get serializable(){return{filename:this.filename,content:this.content}}};return e}(),qc=function(){function e(a){return Aa(a)||X(a)||U(a)||oa(a)}function a(a,d){var c;if(X(a)||oa(a)){var g;g=X(a)?a.map:a.dict.map;for(var h in g)c=g[h],e(c)&&d.push(c)}else if(U(a))for(g=0,h=a.length;g<h;g++)c=a[g],
|
106 |
+
e(c)&&d.push(c)}function c(a,d,c){this.obj=a;this.keys=d;this.xref=c;this.refSet=null}c.prototype={load:function(){var a=this.keys;this.capability=La();if(!(this.xref.stream instanceof Kc)||0===this.xref.stream.getMissingChunks().length)return this.capability.resolve(),this.capability.promise;this.refSet=new sc;for(var d=[],c=0;c<a.length;c++)d.push(this.obj[a[c]]);this.walk(d);return this.capability.promise},walk:function(b){for(var d=[],c=[];b.length;){var g=b.pop();if(Aa(g)){if(this.refSet.has(g))continue;
|
107 |
+
try{this.refSet.put(g),g=this.xref.fetch(g)}catch(h){if(!(h instanceof Ta))throw h;d.push(g);c.push({begin:h.begin,end:h.end})}}if(g&&g.getBaseStreams){for(var l=g.getBaseStreams(),n=!1,k=0;k<l.length;k++){var r=l[k];r.getMissingChunks&&r.getMissingChunks().length&&(n=!0,c.push({begin:r.start,end:r.end}))}n&&d.push(g)}a(g,b)}c.length?this.xref.stream.manager.requestRanges(c,function(){b=d;for(var a=0;a<d.length;a++){var c=d[a];Aa(c)&&this.refSet.remove(c)}this.walk(b)}.bind(this)):(this.refSet=null,
|
108 |
+
this.capability.resolve())}};return c}(),Vd=".notdef space exclam quotedbl numbersign dollar percent ampersand quoteright parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bracketleft backslash bracketright asciicircum underscore quoteleft a b c d e f g h i j k l m n o p q r s t u v w x y z braceleft bar braceright asciitilde exclamdown cent sterling fraction yen florin section currency quotesingle quotedblleft guillemotleft guilsinglleft guilsinglright fi fl endash dagger daggerdbl periodcentered paragraph bullet quotesinglbase quotedblbase quotedblright guillemotright ellipsis perthousand questiondown grave acute circumflex tilde macron breve dotaccent dieresis ring cedilla hungarumlaut ogonek caron emdash AE ordfeminine Lslash Oslash OE ordmasculine ae dotlessi lslash oslash oe germandbls onesuperior logicalnot mu trademark Eth onehalf plusminus Thorn onequarter divide brokenbar degree thorn threequarters twosuperior registered minus eth multiply threesuperior copyright Aacute Acircumflex Adieresis Agrave Aring Atilde Ccedilla Eacute Ecircumflex Edieresis Egrave Iacute Icircumflex Idieresis Igrave Ntilde Oacute Ocircumflex Odieresis Ograve Otilde Scaron Uacute Ucircumflex Udieresis Ugrave Yacute Ydieresis Zcaron aacute acircumflex adieresis agrave aring atilde ccedilla eacute ecircumflex edieresis egrave iacute icircumflex idieresis igrave ntilde oacute ocircumflex odieresis ograve otilde scaron uacute ucircumflex udieresis ugrave yacute ydieresis zcaron".split(" "),
|
109 |
+
Wd=".notdef space exclamsmall Hungarumlautsmall dollaroldstyle dollarsuperior ampersandsmall Acutesmall parenleftsuperior parenrightsuperior twodotenleader onedotenleader comma hyphen period fraction zerooldstyle oneoldstyle twooldstyle threeoldstyle fouroldstyle fiveoldstyle sixoldstyle sevenoldstyle eightoldstyle nineoldstyle colon semicolon commasuperior threequartersemdash periodsuperior questionsmall asuperior bsuperior centsuperior dsuperior esuperior isuperior lsuperior msuperior nsuperior osuperior rsuperior ssuperior tsuperior ff fi fl ffi ffl parenleftinferior parenrightinferior Circumflexsmall hyphensuperior Gravesmall Asmall Bsmall Csmall Dsmall Esmall Fsmall Gsmall Hsmall Ismall Jsmall Ksmall Lsmall Msmall Nsmall Osmall Psmall Qsmall Rsmall Ssmall Tsmall Usmall Vsmall Wsmall Xsmall Ysmall Zsmall colonmonetary onefitted rupiah Tildesmall exclamdownsmall centoldstyle Lslashsmall Scaronsmall Zcaronsmall Dieresissmall Brevesmall Caronsmall Dotaccentsmall Macronsmall figuredash hypheninferior Ogoneksmall Ringsmall Cedillasmall onequarter onehalf threequarters questiondownsmall oneeighth threeeighths fiveeighths seveneighths onethird twothirds zerosuperior onesuperior twosuperior threesuperior foursuperior fivesuperior sixsuperior sevensuperior eightsuperior ninesuperior zeroinferior oneinferior twoinferior threeinferior fourinferior fiveinferior sixinferior seveninferior eightinferior nineinferior centinferior dollarinferior periodinferior commainferior Agravesmall Aacutesmall Acircumflexsmall Atildesmall Adieresissmall Aringsmall AEsmall Ccedillasmall Egravesmall Eacutesmall Ecircumflexsmall Edieresissmall Igravesmall Iacutesmall Icircumflexsmall Idieresissmall Ethsmall Ntildesmall Ogravesmall Oacutesmall Ocircumflexsmall Otildesmall Odieresissmall OEsmall Oslashsmall Ugravesmall Uacutesmall Ucircumflexsmall Udieresissmall Yacutesmall Thornsmall Ydieresissmall".split(" "),
|
110 |
+
Xd=".notdef space dollaroldstyle dollarsuperior parenleftsuperior parenrightsuperior twodotenleader onedotenleader comma hyphen period fraction zerooldstyle oneoldstyle twooldstyle threeoldstyle fouroldstyle fiveoldstyle sixoldstyle sevenoldstyle eightoldstyle nineoldstyle colon semicolon commasuperior threequartersemdash periodsuperior asuperior bsuperior centsuperior dsuperior esuperior isuperior lsuperior msuperior nsuperior osuperior rsuperior ssuperior tsuperior ff fi fl ffi ffl parenleftinferior parenrightinferior hyphensuperior colonmonetary onefitted rupiah centoldstyle figuredash hypheninferior onequarter onehalf threequarters oneeighth threeeighths fiveeighths seveneighths onethird twothirds zerosuperior onesuperior twosuperior threesuperior foursuperior fivesuperior sixsuperior sevensuperior eightsuperior ninesuperior zeroinferior oneinferior twoinferior threeinferior fourinferior fiveinferior sixinferior seveninferior eightinferior nineinferior centinferior dollarinferior periodinferior commainferior".split(" "),
|
111 |
+
tc=["Link","Text","Widget"],Ha=function(){function e(a,b,d){var f=N.getAxialAlignedBoundingBox(b,d);b=f[0];d=f[1];var g=f[2],f=f[3];if(b===g||d===f)return[1,0,0,1,a[0],a[1]];g=(a[2]-a[0])/(g-b);f=(a[3]-a[1])/(f-d);return[g,0,0,f,a[0]-b*g,a[1]-d*f]}function a(a){var b=a.dict,d=this.data={};d.subtype=b.get("Subtype").name;var f=b.get("Rect")||[0,0,0,0];d.rect=N.normalizeRect(f);d.annotationFlags=b.get("F");f=b.get("C");if(!f)d.color=[0,0,0];else if(U(f))switch(f.length){case 0:d.color=null;break;case 3:d.color=
|
112 |
+
f}if(b.has("BS"))f=b.get("BS"),d.borderWidth=f.has("W")?f.get("W"):1;else if(f=b.get("Border")||[0,0,1],d.borderWidth=f[2]||0,f=f[3],0<d.borderWidth&&f)if(U(f)){var g=f.length;if(0<g){for(var h=!1,l=0,n=0;n<g;n++)if(0<=+f[n])0<f[n]&&l++;else{h=!0;break}if(h||0===l)d.borderWidth=0}}else d.borderWidth=0;var k;f=b.get("AP");X(f)?(f=f.get("N"),X(f)?(b=b.get("AS"))&&f.has(b.name)&&(k=f.get(b.name)):k=f):k=void 0;this.appearance=k;d.hasAppearance=!!this.appearance;d.id=a.ref.num}a.prototype={getData:function(){return this.data},
|
113 |
+
isInvisible:function(){var a=this.data;return a&&-1!==tc.indexOf(a.subtype)?!1:!!(a&&a.annotationFlags&&a.annotationFlags&1)},isViewable:function(){var a=this.data;return!(this.isInvisible()||!a||a.annotationFlags&&a.annotationFlags&34||!a.rect)},isPrintable:function(){var a=this.data;return!(!(!this.isInvisible()&&a&&a.annotationFlags&&a.annotationFlags&4)||a.annotationFlags&2||!a.rect)},loadResources:function(a){return new Promise(function(b,d){this.appearance.dict.getAsync("Resources").then(function(f){f?
|
114 |
+
(new qc(f.map,a,f.xref)).load().then(function(){b(f)},d):b()},d)}.bind(this))},getOperatorList:function(a){if(!this.appearance)return Promise.resolve(new db);var b=this.data,d=this.appearance.dict,f=this.loadResources("ExtGState ColorSpace Pattern Shading XObject Font".split(" ")),g=d.get("BBox")||[0,0,1,1],h=d.get("Matrix")||[1,0,0,1,0,0],l=e(b.rect,g,h),n=this;return f.then(function(d){var f=new db;f.addOp(x.beginAnnotation,[b.rect,l,h]);return a.getOperatorList(n.appearance,d,f).then(function(){f.addOp(x.endAnnotation,
|
115 |
+
[]);n.appearance.reset();return f})})}};a.getConstructor=function(c,b){if(c){if("Link"===c)return Yd;if("Text"===c)return Zd;if("Widget"===c){if(b)return"Tx"===b?$d:Yb}else return a}};a.fromRef=function(c,b){var d=c.fetchIfRef(b);if(X(d)){var f=d.get("Subtype");if(f=P(f)?f.name:""){var g=N.getInheritableProperty(d,"FT"),g=P(g)?g.name:"";if(g=a.getConstructor(f,g)){d=new g({dict:d,ref:b});if(d.isViewable()||d.isPrintable())return d;-1===tc.indexOf(f)&&L("unimplemented annotation type: "+f)}}}};a.appendToOperatorList=
|
116 |
+
function(a,b,d,f,g){var h=La();d=[];for(var l=0,n=a.length;l<n;++l)("display"===g&&a[l].isViewable()||"print"===g&&a[l].isPrintable())&&d.push(a[l].getOperatorList(f));Promise.all(d).then(function(a){b.addOp(x.beginAnnotations,[]);for(var d=0,c=a.length;d<c;++d)b.addOpList(a[d]);b.addOp(x.endAnnotations,[]);h.resolve()},function(a){h.reject(a)});return h.promise};return a}(),Yb=function(){function e(a){Ha.call(this,a);var b=a.dict,d=this.data;d.fieldValue=Sa(N.getInheritableProperty(b,"V")||"");d.alternativeText=
|
117 |
+
Sa(b.get("TU")||"");d.defaultAppearance=N.getInheritableProperty(b,"DA")||"";var f=N.getInheritableProperty(b,"FT");d.fieldType=P(f)?f.name:"";d.fieldFlags=N.getInheritableProperty(b,"Ff")||0;this.fieldResources=N.getInheritableProperty(b,"DR")||Ga.empty;var f=[],g=b;for(a=a.ref;g;){var b=g.get("Parent"),h=g.getRaw("Parent");if(g=g.get("T"))f.unshift(Sa(g));else if(b&&a){var g=b.get("Kids"),l,n;l=0;for(n=g.length;l<n;l++){var k=g[l];if(k.num===a.num&&k.gen===a.gen)break}f.unshift("`"+l)}g=b;a=h}d.fullName=
|
118 |
+
f.join(".")}var a=Ha.prototype;N.inherit(e,Ha,{isViewable:function(){return"Sig"===this.data.fieldType?(L("unimplemented annotation type: Widget signature"),!1):a.isViewable.call(this)}});return e}(),$d=function(){function e(a){Yb.call(this,a);this.data.textAlignment=N.getInheritableProperty(a.dict,"Q");this.data.annotationType=1;this.data.hasHtml=!this.data.hasAppearance&&!!this.data.fieldValue}N.inherit(e,Yb,{getOperatorList:function(a){if(this.appearance)return Ha.prototype.getOperatorList.call(this,
|
119 |
+
a);var c=new db,b=this.data;if(!b.defaultAppearance)return Promise.resolve(c);b=new xa(ra(b.defaultAppearance));return a.getOperatorList(b,this.fieldResources,c).then(function(){return c})}});return e}(),Zb=function(){function e(a){Ha.call(this,a);this.data.hasHtml=!0}N.inherit(e,Ha,{});return e}(),Zd=function(){function e(a){Zb.call(this,a);a=a.dict;var c=this.data,b=a.get("Contents"),d=a.get("T");c.annotationType=2;c.content=Sa(b||"");c.title=Sa(d||"");c.hasAppearance?c.name="NoIcon":(c.rect[1]=
|
120 |
+
c.rect[3]-22,c.rect[2]=c.rect[0]+22,c.name=a.has("Name")?a.get("Name").name:"Note");a.has("C")&&(c.hasBgColor=!0)}N.inherit(e,Zb,{});return e}(),Yd=function(){function e(a){Zb.call(this,a);var c=a.dict;a=this.data;a.annotationType=3;var b=c.get("A");if(b)if(c=b.get("S").name,"URI"===c){var d=b.get("URI");P(d)?d="/"+d.name:d&&(d=d&&0===d.indexOf("www.")?"http://"+d:d);Tb(d,!1)||(d="");a.url=d}else"GoTo"===c?a.dest=b.get("D"):"GoToR"===c?(c=b.get("F"),X(c)&&(d=c.get("F")||""),Tb(d,!1)||(d=""),a.url=
|
121 |
+
d,a.dest=b.get("D")):"Named"===c?a.action=b.get("N").name:L("unrecognized link type: "+c);else c.has("Dest")&&(d=c.get("Dest"),a.dest=P(d)?d.name:d)}N.inherit(e,Zb,{});return e}(),rb=function(){return{getSampleArray:function(e,a,c,b){var d,f,g=1;d=0;for(f=e.length;d<f;d++)g*=e[d];g*=a;e=Array(g);f=a=0;var h=1/(Math.pow(2,c)-1);b=b.getBytes((g*c+7)/8);var l=0;for(d=0;d<g;d++){for(;a<c;)f<<=8,f|=b[l++],a+=8;a-=c;e[d]=(f>>a)*h;f&=(1<<a)-1}return e},getIR:function(e,a){var c=a.dict;c||(c=a);var b=[this.constructSampled,
|
122 |
+
null,this.constructInterpolated,this.constructStiched,this.constructPostScript],d=c.get("FunctionType");(b=b[d])||G("Unknown type of function");return b.call(this,a,c,e)},fromIR:function(e){switch(e[0]){case 0:return this.constructSampledFromIR(e);case 2:return this.constructInterpolatedFromIR(e);case 3:return this.constructStichedFromIR(e);default:return this.constructPostScriptFromIR(e)}},parse:function(e,a){var c=this.getIR(e,a);return this.fromIR(c)},parseArray:function(e,a){if(!U(a))return this.parse(e,
|
123 |
+
a);for(var c=[],b=0,d=a.length;b<d;b++){var f=e.fetchIfRef(a[b]);c.push(rb.parse(e,f))}return function(a,b,d,f){for(var k=0,r=c.length;k<r;k++)c[k](a,b,d,f+k)}},constructSampled:function(e,a){function c(a){for(var b=a.length,d=[],c=0,f=0;f<b;f+=2)d[c]=[a[f],a[f+1]],++c;return d}var b=a.get("Domain"),d=a.get("Range");b&&d||G("No domain or range");var f=b.length/2,g=d.length/2,b=c(b),d=c(d),h=a.get("Size"),l=a.get("BitsPerSample"),n=a.get("Order")||1;1!==n&&R("No support for cubic spline interpolation: "+
|
124 |
+
n);n=a.get("Encode");if(!n)for(var n=[],k=0;k<f;++k)n.push(0),n.push(h[k]-1);var n=c(n),k=(k=a.get("Decode"))?c(k):d,r=this.getSampleArray(h,g,l,e);return[0,f,b,n,k,r,h,g,Math.pow(2,l)-1,d]},constructSampledFromIR:function(e){return function(a,c,b,d){var f=e[1],g=e[2],h=e[3],l=e[4],n=e[5],k=e[6],r=e[7],m=e[9],t=1<<f,v=new Float64Array(t),q=new Uint32Array(t),p,u;for(u=0;u<t;u++)v[u]=1;var w=r,y=1;for(p=0;p<f;++p){u=g[p][0];var C=g[p][1],F=Math.min(Math.max(a[c+p],u),C),E;E=h[p][0];E+=(h[p][1]-E)/
|
125 |
+
(C-u)*(F-u);C=k[p];E=Math.min(Math.max(E,0),C-1);u=E<C-1?Math.floor(E):E-1;F=u+1-E;E-=u;var A=u*w,H=A+w;for(u=0;u<t;u++)u&y?(v[u]*=E,q[u]+=H):(v[u]*=F,q[u]+=A);w*=C;y<<=1}for(u=0;u<r;++u){for(p=a=0;p<t;p++)a+=n[q[p]+u]*v[p];p=l[u][0];a=p+(l[u][1]-p)/1*(a-0);b[d+u]=Math.min(Math.max(a,m[u][0]),m[u][1])}}},constructInterpolated:function(e,a){var c=a.get("C0")||[0],b=a.get("C1")||[1],d=a.get("N");U(c)&&U(b)||G("Illegal dictionary for interpolated function");for(var f=c.length,g=[],h=0;h<f;++h)g.push(b[h]-
|
126 |
+
c[h]);return[2,c,g,d]},constructInterpolatedFromIR:function(e){var a=e[1],c=e[2],b=e[3],d=c.length;return function(f,g,h,l){f=1===b?f[g]:Math.pow(f[g],b);for(g=0;g<d;++g)h[l+g]=a[g]+f*c[g]}},constructStiched:function(e,a,c){(e=a.get("Domain"))||G("No domain");1!==e.length/2&&G("Bad domain for stiched function");for(var b=a.get("Functions"),d=[],f=0,g=b.length;f<g;++f)d.push(rb.getIR(c,c.fetchIfRef(b[f])));c=a.get("Bounds");a=a.get("Encode");return[3,e,c,a,d]},constructStichedFromIR:function(e){var a=
|
127 |
+
e[1],c=e[2],b=e[3];e=e[4];for(var d=[],f=new Float32Array(1),g=0,h=e.length;g<h;g++)d.push(rb.fromIR(e[g]));return function(h,g,k,r){h=h[g];g=a[0];var m=a[1];h>m?h=m:h<g&&(h=g);g=0;for(m=c.length;g<m&&!(h<c[g]);++g);m=a[0];0<g&&(m=c[g-1]);var t=a[1];g<c.length&&(t=c[g]);var e=b[2*g];f[0]=e+(h-m)*(b[2*g+1]-e)/(t-m);d[g](f,0,k,r)}},constructPostScript:function(e,a,c){c=a.get("Domain");a=a.get("Range");c||G("No domain.");a||G("No range.");e=new ae(e);e=(new be(e)).parse();return[4,c,a,e]},constructPostScriptFromIR:function(e){var a=
|
128 |
+
e[1],c=e[2];e=e[3];var b=(new ce).compile(e,a,c);if(b)return new Function("src","srcOffset","dest","destOffset",b);R("Unable to compile PS function");var d=c.length>>1,f=a.length>>1,g=new de(e),h={},l=8192,n=new Float32Array(f);return function(a,b,m,t){var e,q,p="";for(e=0;e<f;e++)q=a[b+e],n[e]=q,p+=q+"_";e=h[p];if(void 0!==e)m.set(e,t);else{a=new Float32Array(d);b=g.execute(n);var u=b.length-d;for(e=0;e<d;e++){q=b[u+e];var w=c[2*e];q<w?q=w:(w=c[2*e+1],q>w&&(q=w));a[e]=q}0<l&&(l--,h[p]=a);m.set(a,
|
129 |
+
t)}}}}}(),ee=function(){function e(a){this.stack=a?Array.prototype.slice.call(a,0):[]}e.prototype={push:function(a){100<=this.stack.length&&G("PostScript function stack overflow.");this.stack.push(a)},pop:function(){0>=this.stack.length&&G("PostScript function stack underflow.");return this.stack.pop()},copy:function(a){100<=this.stack.length+a&&G("PostScript function stack overflow.");var c=this.stack,b=c.length-a;for(--a;0<=a;a--,b++)c.push(c[b])},index:function(a){this.push(this.stack[this.stack.length-
|
130 |
+
a-1])},roll:function(a,c){var b=this.stack,d=b.length-a,f=b.length-1,g=d+(c-Math.floor(c/a)*a),h,l,n;h=d;for(l=f;h<l;h++,l--)n=b[h],b[h]=b[l],b[l]=n;h=d;for(l=g-1;h<l;h++,l--)n=b[h],b[h]=b[l],b[l]=n;h=g;for(l=f;h<l;h++,l--)n=b[h],b[h]=b[l],b[l]=n}};return e}(),de=function(){function e(a){this.operators=a}e.prototype={execute:function(a){a=new ee(a);for(var c=0,b=this.operators,d=b.length,f,g;c<d;)if(f=b[c++],"number"===typeof f)a.push(f);else switch(f){case "jz":g=a.pop();(f=a.pop())||(c=g);break;
|
131 |
+
case "j":c=f=a.pop();break;case "abs":f=a.pop();a.push(Math.abs(f));break;case "add":g=a.pop();f=a.pop();a.push(f+g);break;case "and":g=a.pop();f=a.pop();za(f)&&za(g)?a.push(f&&g):a.push(f&g);break;case "atan":f=a.pop();a.push(Math.atan(f));break;case "bitshift":g=a.pop();f=a.pop();0<f?a.push(f<<g):a.push(f>>g);break;case "ceiling":f=a.pop();a.push(Math.ceil(f));break;case "copy":f=a.pop();a.copy(f);break;case "cos":f=a.pop();a.push(Math.cos(f));break;case "cvi":f=a.pop()|0;a.push(f);break;case "cvr":break;
|
132 |
+
case "div":g=a.pop();f=a.pop();a.push(f/g);break;case "dup":a.copy(1);break;case "eq":g=a.pop();f=a.pop();a.push(f===g);break;case "exch":a.roll(2,1);break;case "exp":g=a.pop();f=a.pop();a.push(Math.pow(f,g));break;case "false":a.push(!1);break;case "floor":f=a.pop();a.push(Math.floor(f));break;case "ge":g=a.pop();f=a.pop();a.push(f>=g);break;case "gt":g=a.pop();f=a.pop();a.push(f>g);break;case "idiv":g=a.pop();f=a.pop();a.push(f/g|0);break;case "index":f=a.pop();a.index(f);break;case "le":g=a.pop();
|
133 |
+
f=a.pop();a.push(f<=g);break;case "ln":f=a.pop();a.push(Math.log(f));break;case "log":f=a.pop();a.push(Math.log(f)/Math.LN10);break;case "lt":g=a.pop();f=a.pop();a.push(f<g);break;case "mod":g=a.pop();f=a.pop();a.push(f%g);break;case "mul":g=a.pop();f=a.pop();a.push(f*g);break;case "ne":g=a.pop();f=a.pop();a.push(f!==g);break;case "neg":f=a.pop();a.push(-f);break;case "not":f=a.pop();za(f)?a.push(!f):a.push(~f);break;case "or":g=a.pop();f=a.pop();za(f)&&za(g)?a.push(f||g):a.push(f|g);break;case "pop":a.pop();
|
134 |
+
break;case "roll":g=a.pop();f=a.pop();a.roll(f,g);break;case "round":f=a.pop();a.push(Math.round(f));break;case "sin":f=a.pop();a.push(Math.sin(f));break;case "sqrt":f=a.pop();a.push(Math.sqrt(f));break;case "sub":g=a.pop();f=a.pop();a.push(f-g);break;case "true":a.push(!0);break;case "truncate":f=a.pop();f=0>f?Math.ceil(f):Math.floor(f);a.push(f);break;case "xor":g=a.pop();f=a.pop();za(f)&&za(g)?a.push(f!==g):a.push(f^g);break;default:G("Unknown operator "+f)}return a.stack}};return e}(),ce=function(){function e(a){this.type=
|
135 |
+
a}function a(a,b,d){this.type="args";this.index=a;this.min=b;this.max=d}function c(a){this.type="literal";this.max=this.min=this.number=a}function b(a,b,d,c,f){this.type="binary";this.op=a;this.arg1=b;this.arg2=d;this.min=c;this.max=f}function d(a,b){this.type="max";this.arg=a;this.min=a.min;this.max=b}function f(a,b,d){this.type="var";this.index=a;this.min=b;this.max=d}function g(a,b){this.type="definition";this.variable=a;this.arg=b}function h(){this.parts=[]}function l(a,d){return"literal"===d.type&&
|
136 |
+
0===d.number?a:"literal"===a.type&&0===a.number?d:"literal"===d.type&&"literal"===a.type?new c(a.number+d.number):new b("+",a,d,a.min+d.min,a.max+d.max)}function n(a,d){if("literal"===d.type){if(0===d.number)return new c(0);if(1===d.number)return a;if("literal"===a.type)return new c(a.number*d.number)}if("literal"===a.type){if(0===a.number)return new c(0);if(1===a.number)return d}var f=Math.min(a.min*d.min,a.min*d.max,a.max*d.min,a.max*d.max),h=Math.max(a.min*d.min,a.min*d.max,a.max*d.min,a.max*d.max);
|
137 |
+
return new b("*",a,d,f,h)}function k(a,d){if("literal"===d.type){if(0===d.number)return a;if("literal"===a.type)return new c(a.number-d.number)}return"binary"===d.type&&"-"===d.op&&"literal"===a.type&&1===a.number&&"literal"===d.arg1.type&&1===d.arg1.number?d.arg2:new b("-",a,d,a.min-d.max,a.max-d.min)}function r(a,b){return a.min>=b?new c(b):a.max<=b?a:new d(a,b)}function m(){}e.prototype.visit=function(a){throw Error("abstract method");};a.prototype=Object.create(e.prototype);a.prototype.visit=
|
138 |
+
function(a){a.visitArgument(this)};c.prototype=Object.create(e.prototype);c.prototype.visit=function(a){a.visitLiteral(this)};b.prototype=Object.create(e.prototype);b.prototype.visit=function(a){a.visitBinaryOperation(this)};d.prototype=Object.create(e.prototype);d.prototype.visit=function(a){a.visitMin(this)};f.prototype=Object.create(e.prototype);f.prototype.visit=function(a){a.visitVariable(this)};g.prototype=Object.create(e.prototype);g.prototype.visit=function(a){a.visitVariableDefinition(this)};
|
139 |
+
h.prototype={visitArgument:function(a){this.parts.push("Math.max(",a.min,", Math.min(",a.max,", src[srcOffset + ",a.index,"]))")},visitVariable:function(a){this.parts.push("v",a.index)},visitLiteral:function(a){this.parts.push(a.number)},visitBinaryOperation:function(a){this.parts.push("(");a.arg1.visit(this);this.parts.push(" ",a.op," ");a.arg2.visit(this);this.parts.push(")")},visitVariableDefinition:function(a){this.parts.push("var ");a.variable.visit(this);this.parts.push(" = ");a.arg.visit(this);
|
140 |
+
this.parts.push(";")},visitMin:function(a){this.parts.push("Math.min(");a.arg.visit(this);this.parts.push(", ",a.max,")")},toString:function(){return this.parts.join("")}};m.prototype={compile:function(b,d,m){var p=[],e,w=[],y=d.length>>1,C=m.length>>1,F=0,E,A;for(e=0;e<y;e++)p.push(new a(e,d[2*e],d[2*e+1]));e=0;for(d=b.length;e<d;e++)if(y=b[e],"number"===typeof y)p.push(new c(y));else switch(y){case "add":if(2>p.length)return null;E=p.pop();y=p.pop();p.push(l(y,E));break;case "cvr":if(1>p.length)return null;
|
141 |
+
break;case "mul":if(2>p.length)return null;E=p.pop();y=p.pop();p.push(n(y,E));break;case "sub":if(2>p.length)return null;E=p.pop();y=p.pop();p.push(k(y,E));break;case "exch":if(2>p.length)return null;E=p.pop();y=p.pop();p.push(E,y);break;case "pop":if(1>p.length)return null;p.pop();break;case "index":if(1>p.length)return null;y=p.pop();if("literal"!==y.type)return null;y=y.number;if(0>y||(y|0)!==y||p.length<y)return null;E=p[p.length-y-1];if("literal"===E.type||"var"===E.type){p.push(E);break}A=new f(F++,
|
142 |
+
E.min,E.max);p[p.length-y-1]=A;p.push(A);w.push(new g(A,E));break;case "dup":if(1>p.length)return null;if("number"===typeof b[e+1]&&"gt"===b[e+2]&&b[e+3]===e+7&&"jz"===b[e+4]&&"pop"===b[e+5]&&b[e+6]===b[e+1]){y=p.pop();p.push(r(y,b[e+1]));e+=6;break}E=p[p.length-1];if("literal"===E.type||"var"===E.type){p.push(E);break}A=new f(F++,E.min,E.max);p[p.length-1]=A;p.push(A);w.push(new g(A,E));break;case "roll":if(2>p.length)return null;E=p.pop();y=p.pop();if("literal"!==E.type||"literal"!==y.type)return null;
|
143 |
+
E=E.number;y=y.number;if(0>=y||(y|0)!==y||(E|0)!==E||p.length<y)return null;E=(E%y+y)%y;if(0===E)break;Array.prototype.push.apply(p,p.splice(p.length-y,y-E));break;default:return null}if(p.length!==C)return null;var H=[];w.forEach(function(a){var b=new h;a.visit(b);H.push(b.toString())});p.forEach(function(a,b){var d=new h;a.visit(d);var c=m[2*b],f=m[2*b+1],d=[d.toString()];c>a.min&&(d.unshift("Math.max(",c,", "),d.push(")"));f<a.max&&(d.unshift("Math.min(",f,", "),d.push(")"));d.unshift("dest[destOffset + ",
|
144 |
+
b,"] = ");d.push(";");H.push(d.join(""))});return H.join("\n")}};return m}(),Q=function(){function e(){G("should not call ColorSpace constructor")}e.prototype={getRgb:function(a,c){var b=new Uint8Array(3);this.getRgbItem(a,c,b,0);return b},getRgbItem:function(a,c,b,d){G("Should not call ColorSpace.getRgbItem")},getRgbBuffer:function(a,c,b,d,f,g,h){G("Should not call ColorSpace.getRgbBuffer")},getOutputLength:function(a,c){G("Should not call ColorSpace.getOutputLength")},isPassthrough:function(a){return!1},
|
145 |
+
fillRgb:function(a,c,b,d,f,g,h,l,n){var k=c*b,r=null,m=1<<h,e=b!==f||c!==d,v;if(this.isPassthrough(h))r=l;else if(1===this.numComps&&k>m&&"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){var q=8>=h?new Uint8Array(m):new Uint16Array(m),p;for(v=0;v<m;v++)q[v]=v;var u=new Uint8Array(3*m);this.getRgbBuffer(q,0,m,u,0,h,0);if(e)for(r=new Uint8Array(3*k),v=q=0;v<k;++v)p=3*l[v],r[q++]=u[p],r[q++]=u[p+1],r[q++]=u[p+2];else for(v=m=0;v<k;++v)p=3*l[v],a[m++]=u[p],a[m++]=u[p+1],a[m++]=u[p+2],m+=n}else e?(r=
|
146 |
+
new Uint8Array(3*k),this.getRgbBuffer(l,0,k,r,0,h,0)):this.getRgbBuffer(l,0,d*g,a,0,h,n);if(r)if(e)xb.resize(r,h,3,c,b,d,f,a,n);else for(v=m=q=0,c=d*g;v<c;v++)a[m++]=r[q++],a[m++]=r[q++],a[m++]=r[q++],m+=n},usesZeroToOneRange:!0};e.parse=function(a,c,b){a=e.parseToIR(a,c,b);return a instanceof Pc?a:e.fromIR(a)};e.fromIR=function(a){var c=U(a)?a[0]:a,b,d;switch(c){case "DeviceGrayCS":return this.singletons.gray;case "DeviceRgbCS":return this.singletons.rgb;case "DeviceCmykCS":return this.singletons.cmyk;
|
147 |
+
case "CalGrayCS":return c=a[1].WhitePoint,b=a[1].BlackPoint,d=a[1].Gamma,new fe(c,b,d);case "CalRGBCS":return c=a[1].WhitePoint,b=a[1].BlackPoint,d=a[1].Gamma,new ge(c,b,d,a[1].Matrix);case "PatternCS":return(a=a[1])&&(a=e.fromIR(a)),new he(a);case "IndexedCS":return c=a[2],b=a[3],new ie(e.fromIR(a[1]),c,b);case "AlternateCS":return c=a[3],new Pc(a[1],e.fromIR(a[2]),rb.fromIR(c));case "LabCS":return c=a[1].WhitePoint,b=a[1].BlackPoint,new je(c,b,a[1].Range);default:G("Unknown name "+c)}return null};
|
148 |
+
e.parseToIR=function(a,c,b){if(P(a)){var d=b.get("ColorSpace");X(d)&&(d=d.get(a.name))&&(a=d)}a=c.fetchIfRef(a);if(P(a))switch(this.mode=d=a.name,d){case "DeviceGray":case "G":return"DeviceGrayCS";case "DeviceRGB":case "RGB":return"DeviceRgbCS";case "DeviceCMYK":case "CMYK":return"DeviceCmykCS";case "Pattern":return["PatternCS",null];default:G("unrecognized colorspace "+d)}else if(U(a))switch(this.mode=d=a[0].name,d){case "DeviceGray":case "G":return"DeviceGrayCS";case "DeviceRGB":case "RGB":return"DeviceRgbCS";
|
149 |
+
case "DeviceCMYK":case "CMYK":return"DeviceCmykCS";case "CalGray":return c=a[1].getAll(),["CalGrayCS",c];case "CalRGB":return c=a[1].getAll(),["CalRGBCS",c];case "ICCBased":d=c.fetchIfRef(a[1]).dict.get("N");if(1===d)return"DeviceGrayCS";if(3===d)return"DeviceRgbCS";if(4===d)return"DeviceCmykCS";break;case "Pattern":return(a=a[1])&&(a=e.parseToIR(a,c,b)),["PatternCS",a];case "Indexed":case "I":return b=e.parseToIR(a[1],c,b),d=a[2]+1,c=c.fetchIfRef(a[3]),oa(c)&&(c=c.getBytes()),["IndexedCS",b,d,c];
|
150 |
+
case "Separation":case "DeviceN":var f=a[1],d=1;P(f)?d=1:U(f)&&(d=f.length);b=e.parseToIR(a[2],c,b);c=rb.getIR(c,c.fetchIfRef(a[3]));return["AlternateCS",d,b,c];case "Lab":return c=a[1].getAll(),["LabCS",c];default:G('unimplemented color space object "'+d+'"')}else G('unrecognized color space object: "'+a+'"');return null};e.isDefaultDecode=function(a,c){if(!a)return!0;if(2*c!==a.length)return L("The decode map is not the correct length"),!0;for(var b=0,d=a.length;b<d;b+=2)if(0!==a[b]||1!==a[b+1])return!1;
|
151 |
+
return!0};e.singletons={get gray(){return fa(this,"gray",new ke)},get rgb(){return fa(this,"rgb",new le)},get cmyk(){return fa(this,"cmyk",new me)}};return e}(),Pc=function(){function e(a,c,b){this.name="Alternate";this.numComps=a;this.defaultColor=new Float32Array(a);for(var d=0;d<a;++d)this.defaultColor[d]=1;this.base=c;this.tintFn=b;this.tmpBuf=new Float32Array(c.numComps)}e.prototype={getRgb:Q.prototype.getRgb,getRgbItem:function(a,c,b,d){var f=this.tmpBuf;this.tintFn(a,c,f,0);this.base.getRgbItem(f,
|
152 |
+
0,b,d)},getRgbBuffer:function(a,c,b,d,f,g,h){var l=this.tintFn,n=this.base;g=1/((1<<g)-1);var k=n.numComps,r=n.usesZeroToOneRange,m=(n.isPassthrough(8)||!r)&&0===h,e=m?f:0,v=m?d:new Uint8Array(k*b),q=this.numComps,p=new Float32Array(q),u=new Float32Array(k),w;if(r)for(r=0;r<b;r++){for(w=0;w<q;w++)p[w]=a[c++]*g;l(p,0,u,0);for(w=0;w<k;w++)v[e++]=255*u[w]}else for(r=0;r<b;r++){for(w=0;w<q;w++)p[w]=a[c++]*g;l(p,0,u,0);n.getRgbItem(u,0,v,e);e+=k}m||n.getRgbBuffer(v,0,b,d,f,8,h)},getOutputLength:function(a,
|
153 |
+
c){return this.base.getOutputLength(a*this.base.numComps/this.numComps,c)},isPassthrough:Q.prototype.isPassthrough,fillRgb:Q.prototype.fillRgb,isDefaultDecode:function(a){return Q.isDefaultDecode(a,this.numComps)},usesZeroToOneRange:!0};return e}(),he=function(){function e(a){this.name="Pattern";this.base=a}e.prototype={};return e}(),ie=function(){function e(a,c,b){this.name="Indexed";this.numComps=1;this.defaultColor=new Uint8Array([0]);this.base=a;this.highVal=c;a=a.numComps*c;var d;if(oa(b))d=
|
154 |
+
new Uint8Array(a),b=b.getBytes(a),d.set(b);else if(ja(b))for(d=new Uint8Array(a),c=0;c<a;++c)d[c]=b.charCodeAt(c);else b instanceof Uint8Array||b instanceof Array?d=b:G("Unrecognized lookup table: "+b);this.lookup=d}e.prototype={getRgb:Q.prototype.getRgb,getRgbItem:function(a,c,b,d){this.base.getRgbItem(this.lookup,a[c]*this.base.numComps,b,d)},getRgbBuffer:function(a,c,b,d,f,g,h){g=this.base;for(var l=g.numComps,n=g.getOutputLength(l,h),k=this.lookup,r=0;r<b;++r){var m=a[c++]*l;g.getRgbBuffer(k,
|
155 |
+
m,1,d,f,8,h);f+=n}},getOutputLength:function(a,c){return this.base.getOutputLength(a*this.base.numComps,c)},isPassthrough:Q.prototype.isPassthrough,fillRgb:Q.prototype.fillRgb,isDefaultDecode:function(a){return!0},usesZeroToOneRange:!0};return e}(),ke=function(){function e(){this.name="DeviceGray";this.numComps=1;this.defaultColor=new Float32Array([0])}e.prototype={getRgb:Q.prototype.getRgb,getRgbItem:function(a,c,b,d){a=255*a[c]|0;b[d]=b[d+1]=b[d+2]=0>a?0:255<a?255:a},getRgbBuffer:function(a,c,b,
|
156 |
+
d,f,g,h){g=255/((1<<g)-1);for(var l=0;l<b;++l){var n=g*a[c++]|0;d[f++]=n;d[f++]=n;d[f++]=n;f+=h}},getOutputLength:function(a,c){return a*(3+c)},isPassthrough:Q.prototype.isPassthrough,fillRgb:Q.prototype.fillRgb,isDefaultDecode:function(a){return Q.isDefaultDecode(a,this.numComps)},usesZeroToOneRange:!0};return e}(),le=function(){function e(){this.name="DeviceRGB";this.numComps=3;this.defaultColor=new Float32Array([0,0,0])}e.prototype={getRgb:Q.prototype.getRgb,getRgbItem:function(a,c,b,d){var f=
|
157 |
+
255*a[c]|0,g=255*a[c+1]|0;a=255*a[c+2]|0;b[d]=0>f?0:255<f?255:f;b[d+1]=0>g?0:255<g?255:g;b[d+2]=0>a?0:255<a?255:a},getRgbBuffer:function(a,c,b,d,f,g,h){if(8===g&&0===h)d.set(a.subarray(c,c+3*b),f);else{g=255/((1<<g)-1);for(var l=0;l<b;++l)d[f++]=g*a[c++]|0,d[f++]=g*a[c++]|0,d[f++]=g*a[c++]|0,f+=h}},getOutputLength:function(a,c){return a*(3+c)/3|0},isPassthrough:function(a){return 8===a},fillRgb:Q.prototype.fillRgb,isDefaultDecode:function(a){return Q.isDefaultDecode(a,this.numComps)},usesZeroToOneRange:!0};
|
158 |
+
return e}(),me=function(){function e(a,b,d,f,g){var h=a[b+0]*d,l=a[b+1]*d,n=a[b+2]*d;d*=a[b+3];a=h*(-4.387332384609988*h+54.48615194189176*l+18.82290502165302*n+212.25662451639585*d+-285.2331026137004)+l*(1.7149763477362134*l-5.6096736904047315*n+-17.873870861415444*d-5.497006427196366)+n*(-2.5217340131683033*n-21.248923337353073*d+17.5119270841813)+d*(-21.86122147463605*d-189.48180835922747)+255|0;b=h*(8.841041422036149*h+60.118027045597366*l+6.871425592049007*n+31.159100130055922*d+-79.2970844816548)+
|
159 |
+
l*(-15.310361306967817*l+17.575251261109482*n+131.35250912493976*d-190.9453302588951)+n*(4.444339102852739*n+9.8632861493405*d-24.86741582555878)+d*(-20.737325471181034*d-187.80453709719578)+255|0;h=h*(.8842522430003296*h+8.078677503112928*l+30.89978309703729*n-.23883238689178934*d+-14.183576799673286)+l*(10.49593273432072*l+63.02378494754052*n+50.606957656360734*d-112.23884253719248)+n*(.03296041114873217*n+115.60384449646641*d+-193.58209356861505)+d*(-22.33816807309886*d-180.12613974708367)+255|
|
160 |
+
0;f[g]=255<a?255:0>a?0:a;f[g+1]=255<b?255:0>b?0:b;f[g+2]=255<h?255:0>h?0:h}function a(){this.name="DeviceCMYK";this.numComps=4;this.defaultColor=new Float32Array([0,0,0,1])}a.prototype={getRgb:Q.prototype.getRgb,getRgbItem:function(a,b,d,f){e(a,b,1,d,f)},getRgbBuffer:function(a,b,d,f,g,h,l){h=1/((1<<h)-1);for(var n=0;n<d;n++)e(a,b,h,f,g),b+=4,g+=3+l},getOutputLength:function(a,b){return a/4*(3+b)|0},isPassthrough:Q.prototype.isPassthrough,fillRgb:Q.prototype.fillRgb,isDefaultDecode:function(a){return Q.isDefaultDecode(a,
|
161 |
+
this.numComps)},usesZeroToOneRange:!0};return a}(),fe=function(){function e(a,b,d){this.name="CalGray";this.numComps=1;this.defaultColor=new Float32Array([0]);a||G("WhitePoint missing - required for color space CalGray");b=b||[0,0,0];this.XW=a[0];this.YW=a[1];this.ZW=a[2];this.XB=b[0];this.YB=b[1];this.ZB=b[2];this.G=d||1;(0>this.XW||0>this.ZW||1!==this.YW)&&G("Invalid WhitePoint components for "+this.name+", no fallback available");if(0>this.XB||0>this.YB||0>this.ZB)R("Invalid BlackPoint for "+this.name+
|
162 |
+
", falling back to default"),this.XB=this.YB=this.ZB=0;0===this.XB&&0===this.YB&&0===this.ZB||L(this.name+", BlackPoint: XB: "+this.XB+", YB: "+this.YB+", ZB: "+this.ZB+", only default values are supported.");1>this.G&&(R("Invalid Gamma: "+this.G+" for "+this.name+", falling back to default"),this.G=1)}function a(a,b,d,f,g,h){b=Math.pow(b[d]*h,a.G);a=Math.max(295.8*Math.pow(a.YW*b,.3333333333333333)-40.8,0)|0;f[g]=a;f[g+1]=a;f[g+2]=a}e.prototype={getRgb:Q.prototype.getRgb,getRgbItem:function(c,b,
|
163 |
+
d,f){a(this,c,b,d,f,1)},getRgbBuffer:function(c,b,d,f,g,h,l){h=1/((1<<h)-1);for(var n=0;n<d;++n)a(this,c,b,f,g,h),b+=1,g+=3+l},getOutputLength:function(a,b){return a*(3+b)},isPassthrough:Q.prototype.isPassthrough,fillRgb:Q.prototype.fillRgb,isDefaultDecode:function(a){return Q.isDefaultDecode(a,this.numComps)},usesZeroToOneRange:!0};return e}(),ge=function(){function e(a,b,d,f){this.name="CalRGB";this.numComps=3;this.defaultColor=new Float32Array(3);a||G("WhitePoint missing - required for color space CalRGB");
|
164 |
+
b=b||new Float32Array(3);d=d||new Float32Array([1,1,1]);f=f||new Float32Array([1,0,0,0,1,0,0,0,1]);var c=a[0],h=a[1],g=a[2];this.whitePoint=a;a=b[0];var l=b[1],k=b[2];this.blackPoint=b;this.GR=d[0];this.GG=d[1];this.GB=d[2];this.MXA=f[0];this.MYA=f[1];this.MZA=f[2];this.MXB=f[3];this.MYB=f[4];this.MZB=f[5];this.MXC=f[6];this.MYC=f[7];this.MZC=f[8];(0>c||0>g||1!==h)&&G("Invalid WhitePoint components for "+this.name+", no fallback available");if(0>a||0>l||0>k)R("Invalid BlackPoint for "+this.name+" ["+
|
165 |
+
a+", "+l+", "+k+"], falling back to default"),this.blackPoint=new Float32Array(3);if(0>this.GR||0>this.GG||0>this.GB)R("Invalid Gamma ["+this.GR+", "+this.GG+", "+this.GB+"] for "+this.name+", falling back to default"),this.GR=this.GG=this.GB=1;if(0>this.MXA||0>this.MYA||0>this.MZA||0>this.MXB||0>this.MYB||0>this.MZB||0>this.MXC||0>this.MYC||0>this.MZC)R("Invalid Matrix for "+this.name+" ["+this.MXA+", "+this.MYA+", "+this.MZA+this.MXB+", "+this.MYB+", "+this.MZB+this.MXC+", "+this.MYC+", "+this.MZC+
|
166 |
+
"], falling back to default"),this.MXA=this.MYB=this.MZC=1,this.MXB=this.MYA=this.MZA=this.MXC=this.MYC=this.MZB=0}function a(a,b,d){d[0]=a[0]*b[0]+a[1]*b[1]+a[2]*b[2];d[1]=a[3]*b[0]+a[4]*b[1]+a[5]*b[2];d[2]=a[6]*b[0]+a[7]*b[1]+a[8]*b[2]}function c(a){return.0031308>=a?b(0,1,12.92*a):b(0,1,1.055*Math.pow(a,1/2.4)-.055)}function b(a,b,d){return Math.max(a,Math.min(b,d))}function d(a){return 0>a?-d(-a):8<a?Math.pow((a+16)/116,3):a*t}function f(f,e,p,t,w,y){var C=b(0,1,e[p]*y),F=b(0,1,e[p+1]*y);p=b(0,
|
167 |
+
1,e[p+2]*y);C=Math.pow(C,f.GR);e=Math.pow(F,f.GG);p=Math.pow(p,f.GB);y=f.MYA*C+f.MYB*e+f.MYC*p;var E=f.MZA*C+f.MZB*e+f.MZC*p,F=r;F[0]=f.MXA*C+f.MXB*e+f.MXC*p;F[1]=y;F[2]=E;C=m;e=f.whitePoint;1===e[0]&&1===e[2]?(C[0]=F[0],C[1]=F[1],C[2]=F[2]):(a(g,F,C),F=k,F[0]=1*C[0]/e[0],F[1]=1*C[1]/e[1],F[2]=1*C[2]/e[2],a(h,F,C));F=r;p=f.blackPoint;0===p[0]&&0===p[1]&&0===p[2]?(F[0]=C[0],F[1]=C[1],F[2]=C[2]):(f=d(0),y=d(p[0]),e=d(p[1]),p=d(p[2]),y=(1-f)/(1-y),e=(1-f)/(1-e),f=(1-f)/(1-p),F[0]=C[0]*y+(1-y),F[1]=C[1]*
|
168 |
+
e+(1-e),F[2]=C[2]*f+(1-f));f=m;C=n;a(g,F,f);F=k;F[0]=.95047*f[0]/C[0];F[1]=1*f[1]/C[1];F[2]=1.08883*f[2]/C[2];a(h,F,f);C=r;a(l,f,C);f=c(C[0]);F=c(C[1]);C=c(C[2]);t[w]=Math.round(255*f);t[w+1]=Math.round(255*F);t[w+2]=Math.round(255*C)}var g=new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296]),h=new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867]),l=new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,
|
169 |
+
.0556434,-.2040259,1.0572252]),n=new Float32Array([1,1,1]),k=new Float32Array(3),r=new Float32Array(3),m=new Float32Array(3),t=Math.pow(24/116,3)/8;e.prototype={getRgb:function(a,b){var d=new Uint8Array(3);this.getRgbItem(a,b,d,0);return d},getRgbItem:function(a,b,d,c){f(this,a,b,d,c,1)},getRgbBuffer:function(a,b,d,c,h,g,l){g=1/((1<<g)-1);for(var k=0;k<d;++k)f(this,a,b,c,h,g),b+=3,h+=3+l},getOutputLength:function(a,b){return a*(3+b)/3|0},isPassthrough:Q.prototype.isPassthrough,fillRgb:Q.prototype.fillRgb,
|
170 |
+
isDefaultDecode:function(a){return Q.isDefaultDecode(a,this.numComps)},usesZeroToOneRange:!0};return e}(),je=function(){function e(a,d,f){this.name="Lab";this.numComps=3;this.defaultColor=new Float32Array([0,0,0]);a||G("WhitePoint missing - required for color space Lab");d=d||[0,0,0];f=f||[-100,100,-100,100];this.XW=a[0];this.YW=a[1];this.ZW=a[2];this.amin=f[0];this.amax=f[1];this.bmin=f[2];this.bmax=f[3];this.XB=d[0];this.YB=d[1];this.ZB=d[2];(0>this.XW||0>this.ZW||1!==this.YW)&&G("Invalid WhitePoint components, no fallback available");
|
171 |
+
if(0>this.XB||0>this.YB||0>this.ZB)R("Invalid BlackPoint, falling back to default"),this.XB=this.YB=this.ZB=0;if(this.amin>this.amax||this.bmin>this.bmax)R("Invalid Range, falling back to defaults"),this.amin=-100,this.amax=100,this.bmin=-100,this.bmax=100}function a(a){return a>=6/29?a*a*a:108/841*(a-4/29)}function c(b,d,f,c,h,l){var n=d[f],k=d[f+1];d=d[f+2];!1!==c&&(n=0+100*n/c,f=b.amin,k=f+k*(b.amax-f)/c,f=b.bmin,d=f+d*(b.bmax-f)/c);k=k>b.amax?b.amax:k<b.amin?b.amin:k;d=d>b.bmax?b.bmax:d<b.bmin?
|
172 |
+
b.bmin:d;c=(n+16)/116;n=c-d/200;k=b.XW*a(c+k/500);c=b.YW*a(c);n=b.ZW*a(n);1>b.ZW?(b=3.1339*k+-1.617*c+-.4906*n,d=-.9785*k+1.916*c+.0333*n,k=.072*k+-.229*c+1.4057*n):(b=3.2406*k+-1.5372*c+-.4986*n,d=-.9689*k+1.8758*c+.0415*n,k=.0557*k+-.204*c+1.057*n);h[l]=0>=b?0:1<=b?255:255*Math.sqrt(b)|0;h[l+1]=0>=d?0:1<=d?255:255*Math.sqrt(d)|0;h[l+2]=0>=k?0:1<=k?255:255*Math.sqrt(k)|0}e.prototype={getRgb:Q.prototype.getRgb,getRgbItem:function(a,d,f,g){c(this,a,d,!1,f,g)},getRgbBuffer:function(a,d,f,g,h,l,n){l=
|
173 |
+
(1<<l)-1;for(var k=0;k<f;k++)c(this,a,d,l,g,h),d+=3,h+=3+n},getOutputLength:function(a,d){return a*(3+d)/3|0},isPassthrough:Q.prototype.isPassthrough,fillRgb:Q.prototype.fillRgb,isDefaultDecode:function(a){return!0},usesZeroToOneRange:!1};return e}(),eb=function(){function e(a){this.b=this.a=0;var c=new Uint8Array(256),b,d=0,f,g=a.length;for(b=0;256>b;++b)c[b]=b;for(b=0;256>b;++b)f=c[b],d=d+f+a[b%g]&255,c[b]=c[d],c[d]=f;this.s=c}e.prototype={encryptBlock:function(a){var c,b=a.length,d,f,g=this.a,
|
174 |
+
h=this.b,l=this.s,n=new Uint8Array(b);for(c=0;c<b;++c)g=g+1&255,d=l[g],h=h+d&255,f=l[h],l[g]=f,l[h]=d,n[c]=a[c]^l[d+f&255];this.a=g;this.b=h;return n}};e.prototype.decryptBlock=e.prototype.encryptBlock;return e}(),qb=function(){var e=new Uint8Array([7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21]),a=new Int32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,
|
175 |
+
-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,
|
176 |
+
-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]);return function(c,b,d){var f=1732584193,g=-271733879,h=-1732584194,l=271733878,n=d+72&-64,k=new Uint8Array(n),r;for(r=0;r<d;++r)k[r]=c[b++];k[r++]=128;for(c=n-8;r<c;)k[r++]=0;k[r++]=d<<3&255;k[r++]=d>>5&255;k[r++]=d>>13&255;k[r++]=d>>21&255;k[r++]=d>>>29&255;k[r++]=0;k[r++]=0;k[r++]=0;c=new Int32Array(16);for(r=0;r<n;){for(d=0;16>d;++d,r+=4)c[d]=k[r]|k[r+1]<<8|k[r+2]<<16|k[r+
|
177 |
+
3]<<24;var m=f;b=g;var t=h,v=l,q,p;for(d=0;64>d;++d){16>d?(q=b&t|~b&v,p=d):32>d?(q=v&b|~v&t,p=5*d+1&15):48>d?(q=b^t^v,p=3*d+5&15):(q=t^(b|~v),p=7*d&15);var u=v,m=m+q+a[d]+c[p]|0;q=e[d];v=t;t=b;b=b+(m<<q|m>>>32-q)|0;m=u}f=f+m|0;g=g+b|0;h=h+t|0;l=l+v|0}return new Uint8Array([f&255,f>>8&255,f>>16&255,f>>>24&255,g&255,g>>8&255,g>>16&255,g>>>24&255,h&255,h>>8&255,h>>16&255,h>>>24&255,l&255,l>>8&255,l>>16&255,l>>>24&255])}}(),D=function(){function e(a,c){this.high=a|0;this.low=c|0}e.prototype={and:function(a){this.high&=
|
178 |
+
a.high;this.low&=a.low},xor:function(a){this.high^=a.high;this.low^=a.low},or:function(a){this.high|=a.high;this.low|=a.low},shiftRight:function(a){32<=a?(this.low=this.high>>>a-32|0,this.high=0):(this.low=this.low>>>a|this.high<<32-a,this.high=this.high>>>a|0)},shiftLeft:function(a){32<=a?(this.high=this.low<<a-32,this.low=0):(this.high=this.high<<a|this.low>>>32-a,this.low<<=a)},rotateRight:function(a){var c,b;a&32?(b=this.low,c=this.high):(c=this.low,b=this.high);a&=31;this.low=c>>>a|b<<32-a;this.high=
|
179 |
+
b>>>a|c<<32-a},not:function(){this.high=~this.high;this.low=~this.low},add:function(a){var c=(this.low>>>0)+(a.low>>>0);a=(this.high>>>0)+(a.high>>>0);4294967295<c&&(a+=1);this.low=c|0;this.high=a|0},copyTo:function(a,c){a[c]=this.high>>>24&255;a[c+1]=this.high>>16&255;a[c+2]=this.high>>8&255;a[c+3]=this.high&255;a[c+4]=this.low>>>24&255;a[c+5]=this.low>>16&255;a[c+6]=this.low>>8&255;a[c+7]=this.low&255},assign:function(a){this.high=a.high;this.low=a.low}};return e}(),sb=function(){function e(a,b){return a>>>
|
180 |
+
b|a<<32-b}var a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,
|
181 |
+
3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];return function(c,b,d){var f=1779033703,g=3144134277,h=1013904242,l=2773480762,n=1359893119,k=2600822924,r=528734635,m=1541459225,t=64*Math.ceil((d+9)/64),v=new Uint8Array(t),q;for(q=0;q<d;++q)v[q]=c[b++];v[q++]=128;for(c=t-8;q<c;)v[q++]=0;v[q++]=0;v[q++]=0;v[q++]=0;v[q++]=d>>>29&255;v[q++]=d>>21&
|
182 |
+
255;v[q++]=d>>13&255;v[q++]=d>>5&255;v[q++]=d<<3&255;c=new Uint32Array(64);for(q=0;q<t;){for(d=0;16>d;++d)c[d]=v[q]<<24|v[q+1]<<16|v[q+2]<<8|v[q+3],q+=4;for(d=16;64>d;++d){b=d;var p=c[d-2],p=(e(p,17)^e(p,19)^p>>>10)+c[d-7],u;u=c[d-15];u=e(u,7)^e(u,18)^u>>>3;c[b]=p+u+c[d-16]|0}b=f;p=g;u=h;var w=l,y=n,C=k,F=r,E=m,A,H;for(d=0;64>d;++d)A=E,E=y,E=e(E,6)^e(E,11)^e(E,25),A=A+E+(y&C^~y&F)+a[d]+c[d],E=b,H=(e(E,2)^e(E,13)^e(E,22))+(b&p^b&u^p&u),E=F,F=C,C=y,y=w+A|0,w=u,u=p,p=b,b=A+H|0;f=f+b|0;g=g+p|0;h=h+u|
|
183 |
+
0;l=l+w|0;n=n+y|0;k=k+C|0;r=r+F|0;m=m+E|0}return new Uint8Array([f>>24&255,f>>16&255,f>>8&255,f&255,g>>24&255,g>>16&255,g>>8&255,g&255,h>>24&255,h>>16&255,h>>8&255,h&255,l>>24&255,l>>16&255,l>>8&255,l&255,n>>24&255,n>>16&255,n>>8&255,n&255,k>>24&255,k>>16&255,k>>8&255,k&255,r>>24&255,r>>16&255,r>>8&255,r&255,m>>24&255,m>>16&255,m>>8&255,m&255])}}(),Qc=function(){var e=[new D(1116352408,3609767458),new D(1899447441,602891725),new D(3049323471,3964484399),new D(3921009573,2173295548),new D(961987163,
|
184 |
+
4081628472),new D(1508970993,3053834265),new D(2453635748,2937671579),new D(2870763221,3664609560),new D(3624381080,2734883394),new D(310598401,1164996542),new D(607225278,1323610764),new D(1426881987,3590304994),new D(1925078388,4068182383),new D(2162078206,991336113),new D(2614888103,633803317),new D(3248222580,3479774868),new D(3835390401,2666613458),new D(4022224774,944711139),new D(264347078,2341262773),new D(604807628,2007800933),new D(770255983,1495990901),new D(1249150122,1856431235),new D(1555081692,
|
185 |
+
3175218132),new D(1996064986,2198950837),new D(2554220882,3999719339),new D(2821834349,766784016),new D(2952996808,2566594879),new D(3210313671,3203337956),new D(3336571891,1034457026),new D(3584528711,2466948901),new D(113926993,3758326383),new D(338241895,168717936),new D(666307205,1188179964),new D(773529912,1546045734),new D(1294757372,1522805485),new D(1396182291,2643833823),new D(1695183700,2343527390),new D(1986661051,1014477480),new D(2177026350,1206759142),new D(2456956037,344077627),new D(2730485921,
|
186 |
+
1290863460),new D(2820302411,3158454273),new D(3259730800,3505952657),new D(3345764771,106217008),new D(3516065817,3606008344),new D(3600352804,1432725776),new D(4094571909,1467031594),new D(275423344,851169720),new D(430227734,3100823752),new D(506948616,1363258195),new D(659060556,3750685593),new D(883997877,3785050280),new D(958139571,3318307427),new D(1322822218,3812723403),new D(1537002063,2003034995),new D(1747873779,3602036899),new D(1955562222,1575990012),new D(2024104815,1125592928),new D(2227730452,
|
187 |
+
2716904306),new D(2361852424,442776044),new D(2428436474,593698344),new D(2756734187,3733110249),new D(3204031479,2999351573),new D(3329325298,3815920427),new D(3391569614,3928383900),new D(3515267271,566280711),new D(3940187606,3454069534),new D(4118630271,4000239992),new D(116418474,1914138554),new D(174292421,2731055270),new D(289380356,3203993006),new D(460393269,320620315),new D(685471733,587496836),new D(852142971,1086792851),new D(1017036298,365543100),new D(1126000580,2618297676),new D(1288033470,
|
188 |
+
3409855158),new D(1501505948,4234509866),new D(1607167915,987167468),new D(1816402316,1246189591)];return function(a,c,b,d){d=!!d;var f,g,h,l,n,k,r,m;d?(f=new D(3418070365,3238371032),g=new D(1654270250,914150663),h=new D(2438529370,812702999),l=new D(355462360,4144912697),n=new D(1731405415,4290775857),k=new D(2394180231,1750603025),r=new D(3675008525,1694076839),m=new D(1203062813,3204075428)):(f=new D(1779033703,4089235720),g=new D(3144134277,2227873595),h=new D(1013904242,4271175723),l=new D(2773480762,
|
189 |
+
1595750129),n=new D(1359893119,2917565137),k=new D(2600822924,725511199),r=new D(528734635,4215389547),m=new D(1541459225,327033209));var t=128*Math.ceil((b+17)/128),v=new Uint8Array(t),q;for(q=0;q<b;++q)v[q]=a[c++];v[q++]=128;for(a=t-16;q<a;)v[q++]=0;v[q++]=0;v[q++]=0;v[q++]=0;v[q++]=0;v[q++]=0;v[q++]=0;v[q++]=0;v[q++]=0;v[q++]=0;v[q++]=0;v[q++]=0;v[q++]=b>>>29&255;v[q++]=b>>21&255;v[q++]=b>>13&255;v[q++]=b>>5&255;v[q++]=b<<3&255;a=Array(80);for(q=0;80>q;q++)a[q]=new D(0,0);c=new D(0,0);var p=new D(0,
|
190 |
+
0),u=new D(0,0),w=new D(0,0),y=new D(0,0),C=new D(0,0),F=new D(0,0),E=new D(0,0),A=new D(0,0),H=new D(0,0),B=new D(0,0),J=new D(0,0),I;for(q=0;q<t;){for(b=0;16>b;++b)a[b].high=v[q]<<24|v[q+1]<<16|v[q+2]<<8|v[q+3],a[b].low=v[q+4]<<24|v[q+5]<<16|v[q+6]<<8|v[q+7],q+=8;for(b=16;80>b;++b){var O=I=a[b],M=a[b-2],W=J;O.assign(M);O.rotateRight(19);W.assign(M);W.rotateRight(61);O.xor(W);W.assign(M);W.shiftRight(6);O.xor(W);I.add(a[b-7]);O=B;M=a[b-15];W=J;O.assign(M);O.rotateRight(1);W.assign(M);W.rotateRight(8);
|
191 |
+
O.xor(W);W.assign(M);W.shiftRight(7);O.xor(W);I.add(B);I.add(a[b-16])}c.assign(f);p.assign(g);u.assign(h);w.assign(l);y.assign(n);C.assign(k);F.assign(r);E.assign(m);for(b=0;80>b;++b){A.assign(E);I=B;O=y;M=J;I.assign(O);I.rotateRight(14);M.assign(O);M.rotateRight(18);I.xor(M);M.assign(O);M.rotateRight(41);I.xor(M);A.add(B);I=B;var O=y,M=C,W=F,K=J;I.assign(O);I.and(M);K.assign(O);K.not();K.and(W);I.xor(K);A.add(B);A.add(e[b]);A.add(a[b]);I=H;O=c;M=J;I.assign(O);I.rotateRight(28);M.assign(O);M.rotateRight(34);
|
192 |
+
I.xor(M);M.assign(O);M.rotateRight(39);I.xor(M);I=B;O=c;M=p;W=u;K=J;I.assign(O);I.and(M);K.assign(O);K.and(W);I.xor(K);K.assign(M);K.and(W);I.xor(K);H.add(B);I=E;E=F;F=C;C=y;w.add(A);y=w;w=u;u=p;p=c;I.assign(A);I.add(H);c=I}f.add(c);g.add(p);h.add(u);l.add(w);n.add(y);k.add(C);r.add(F);m.add(E)}d?(d=new Uint8Array(48),f.copyTo(d,0),g.copyTo(d,8),h.copyTo(d,16),l.copyTo(d,24),n.copyTo(d,32),k.copyTo(d,40)):(d=new Uint8Array(64),f.copyTo(d,0),g.copyTo(d,8),h.copyTo(d,16),l.copyTo(d,24),n.copyTo(d,32),
|
193 |
+
k.copyTo(d,40),r.copyTo(d,48),m.copyTo(d,56));return d}}(),ne=function(){return function(e,a,c){return Qc(e,a,c,!0)}}(),oe=function(){function e(){}e.prototype={decryptBlock:function(a){return a}};return e}(),uc=function(){function e(a){var d=new Uint8Array(176);d.set(a);a=16;for(var f=1;176>a;++f)for(var h=d[a-3],g=d[a-2],e=d[a-1],v=d[a-4],h=b[h],g=b[g],e=b[e],v=b[v],h=h^c[f],q=0;4>q;++q)d[a]=h^=d[a-16],a++,d[a]=g^=d[a-16],a++,d[a]=e^=d[a-16],a++,d[a]=v^=d[a-16],a++;this.key=d;this.buffer=new Uint8Array(16);
|
194 |
+
this.bufferPosition=0}function a(a,b){var f,c,g;g=a.length;var e=this.buffer;c=this.bufferPosition;var v=[],q=this.iv;for(f=0;f<g;++f)if(e[c]=a[f],++c,!(16>c)){var p,u=e;c=this.key;p=new Uint8Array(16);p.set(u);for(var w=u=void 0,y=void 0,C=w=y=void 0,w=0,y=160;16>w;++w,++y)p[w]^=c[y];for(u=9;1<=u;--u){y=p[13];p[13]=p[9];p[9]=p[5];p[5]=p[1];p[1]=y;y=p[14];w=p[10];p[14]=p[6];p[10]=p[2];p[6]=y;p[2]=w;y=p[15];w=p[11];C=p[7];p[15]=p[3];p[11]=y;p[7]=w;p[3]=C;for(w=0;16>w;++w)p[w]=d[p[w]];w=0;for(y=16*
|
195 |
+
u;16>w;++w,++y)p[w]^=c[y];for(w=0;16>w;w+=4){var y=h[p[w+1]],C=h[p[w+2]],F=h[p[w+3]],y=h[p[w]]^y>>>8^y<<24^C>>>16^C<<16^F>>>24^F<<8;p[w]=y>>>24&255;p[w+1]=y>>16&255;p[w+2]=y>>8&255;p[w+3]=y&255}}y=p[13];p[13]=p[9];p[9]=p[5];p[5]=p[1];p[1]=y;y=p[14];w=p[10];p[14]=p[6];p[10]=p[2];p[6]=y;p[2]=w;y=p[15];w=p[11];C=p[7];p[15]=p[3];p[11]=y;p[7]=w;p[3]=C;for(w=0;16>w;++w)p[w]=d[p[w]],p[w]^=c[w];for(c=0;16>c;++c)p[c]^=q[c];q=e;v.push(p);e=new Uint8Array(16);c=0}this.buffer=e;this.bufferLength=c;this.iv=q;
|
196 |
+
if(0===v.length)return new Uint8Array([]);e=16*v.length;if(b&&(q=v[v.length-1],c=q[15],16>=c)){f=15;for(g=16-c;f>=g;--f)if(q[f]!==c){c=0;break}e-=c;v[v.length-1]=q.subarray(0,16-c)}e=new Uint8Array(e);c=f=0;for(g=v.length;f<g;++f,c+=16)e.set(v[f],c);return e}for(var c=new Uint8Array([141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,
|
197 |
+
171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,
|
198 |
+
1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141]),b=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,
|
199 |
+
252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,
|
200 |
+
152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]),d=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,
|
201 |
+
10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,
|
202 |
+
119,214,38,225,105,20,99,85,33,12,125]),f=new Uint8Array(256),g=0;256>g;g++)f[g]=128>g?g<<1:g<<1^27;var h=new Uint32Array([0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,
|
203 |
+
3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,
|
204 |
+
1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,
|
205 |
+
1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,
|
206 |
+
1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,
|
207 |
+
967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795]);e.prototype={decryptBlock:function(b,d){var f,c=b.length,h=this.buffer,g=this.bufferPosition;for(f=0;16>g&&f<c;++f,++g)h[g]=b[f];if(16>g)return this.bufferLength=g,new Uint8Array([]);
|
208 |
+
this.iv=h;this.buffer=new Uint8Array(16);this.bufferLength=0;this.decryptBlock=a;return this.decryptBlock(b.subarray(16),d)},encrypt:function(a,d){var c,h,e;e=a.length;var t=this.buffer;h=this.bufferPosition;var v=[];d||(d=new Uint8Array(16));for(c=0;c<e;++c)if(t[h]=a[c],++h,!(16>h)){for(h=0;16>h;++h)t[h]^=d[h];var q=t;h=this.key;var p=void 0,u=void 0,w=void 0,p=void 0,t=new Uint8Array(16);t.set(q);for(q=0;16>q;++q)t[q]^=h[q];for(g=1;10>g;g++){for(q=0;16>q;++q)t[q]=b[t[q]];w=t[1];t[1]=t[5];t[5]=t[9];
|
209 |
+
t[9]=t[13];t[13]=w;w=t[2];u=t[6];t[2]=t[10];t[6]=t[14];t[10]=w;t[14]=u;w=t[3];u=t[7];p=t[11];t[3]=t[15];t[7]=w;t[11]=u;t[15]=p;for(q=0;16>q;q+=4){var u=t[q+0],w=t[q+1],y=t[q+2],C=t[q+3],p=u^w^y^C;t[q+0]=t[q+0]^p^f[u^w];t[q+1]=t[q+1]^p^f[w^y];t[q+2]=t[q+2]^p^f[y^C];t[q+3]=t[q+3]^p^f[C^u]}q=0;for(p=16*g;16>q;++q,++p)t[q]^=h[p]}for(q=0;16>q;++q)t[q]=b[t[q]];w=t[1];t[1]=t[5];t[5]=t[9];t[9]=t[13];t[13]=w;w=t[2];u=t[6];t[2]=t[10];t[6]=t[14];t[10]=w;t[14]=u;w=t[3];u=t[7];p=t[11];t[3]=t[15];t[7]=w;t[11]=
|
210 |
+
u;t[15]=p;q=0;for(p=160;16>q;++q,++p)t[q]^=h[p];d=h=t;v.push(h);t=new Uint8Array(16);h=0}this.buffer=t;this.bufferLength=h;this.iv=d;if(0===v.length)return new Uint8Array([]);t=new Uint8Array(16*v.length);h=c=0;for(e=v.length;c<e;++c,h+=16)t.set(v[c],h);return t}};return e}(),Kb=function(){function e(a){var b=new Uint8Array(240),d=1;b.set(a);a=32;for(var f=1;240>a;++f){if(16===a%32)g=c[g],e=c[e],t=c[t],v=c[v];else if(0===a%32){var g=b[a-3],e=b[a-2],t=b[a-1],v=b[a-4],g=c[g],e=c[e],t=c[t],v=c[v],g=
|
211 |
+
g^d;256<=(d<<=1)&&(d=(d^27)&255)}for(var q=0;4>q;++q)b[a]=g^=b[a-32],a++,b[a]=e^=b[a-32],a++,b[a]=t^=b[a-32],a++,b[a]=v^=b[a-32],a++}this.key=b;this.buffer=new Uint8Array(16);this.bufferPosition=0}function a(a,d){var f,c,e;e=a.length;var m=this.buffer;c=this.bufferPosition;var t=[],v=this.iv;for(f=0;f<e;++f)if(m[c]=a[f],++c,!(16>c)){var q,p=m;c=this.key;q=new Uint8Array(16);q.set(p);for(var u=p=void 0,w=void 0,y=u=w=void 0,u=0,w=224;16>u;++u,++w)q[u]^=c[w];for(p=13;1<=p;--p){w=q[13];q[13]=q[9];q[9]=
|
212 |
+
q[5];q[5]=q[1];q[1]=w;w=q[14];u=q[10];q[14]=q[6];q[10]=q[2];q[6]=w;q[2]=u;w=q[15];u=q[11];y=q[7];q[15]=q[3];q[11]=w;q[7]=u;q[3]=y;for(u=0;16>u;++u)q[u]=b[q[u]];u=0;for(w=16*p;16>u;++u,++w)q[u]^=c[w];for(u=0;16>u;u+=4){var w=g[q[u+1]],y=g[q[u+2]],C=g[q[u+3]],w=g[q[u]]^w>>>8^w<<24^y>>>16^y<<16^C>>>24^C<<8;q[u]=w>>>24&255;q[u+1]=w>>16&255;q[u+2]=w>>8&255;q[u+3]=w&255}}w=q[13];q[13]=q[9];q[9]=q[5];q[5]=q[1];q[1]=w;w=q[14];u=q[10];q[14]=q[6];q[10]=q[2];q[6]=w;q[2]=u;w=q[15];u=q[11];y=q[7];q[15]=q[3];q[11]=
|
213 |
+
w;q[7]=u;q[3]=y;for(u=0;16>u;++u)q[u]=b[q[u]],q[u]^=c[u];for(c=0;16>c;++c)q[c]^=v[c];v=m;t.push(q);m=new Uint8Array(16);c=0}this.buffer=m;this.bufferLength=c;this.iv=v;if(0===t.length)return new Uint8Array([]);m=16*t.length;if(d&&(v=t[t.length-1],c=v[15],16>=c)){f=15;for(e=16-c;f>=e;--f)if(v[f]!==c){c=0;break}m-=c;t[t.length-1]=v.subarray(0,16-c)}m=new Uint8Array(m);c=f=0;for(e=t.length;f<e;++f,c+=16)m.set(t[f],c);return m}new Uint8Array([141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,
|
214 |
+
99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,
|
215 |
+
27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141]);for(var c=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,
|
216 |
+
54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,
|
217 |
+
141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]),b=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,
|
218 |
+
162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,
|
219 |
+
7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]),d=new Uint8Array(256),f=0;256>f;f++)d[f]=128>f?f<<1:f<<1^27;var g=new Uint32Array([0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,
|
220 |
+
3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,
|
221 |
+
2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,
|
222 |
+
2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,
|
223 |
+
2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,
|
224 |
+
33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795]);
|
225 |
+
e.prototype={decryptBlock:function(b,d,c){var f=b.length,g=this.buffer,e=this.bufferPosition;if(c)this.iv=c;else{for(c=0;16>e&&c<f;++c,++e)g[e]=b[c];if(16>e)return this.bufferLength=e,new Uint8Array([]);this.iv=g;b=b.subarray(16)}this.buffer=new Uint8Array(16);this.bufferLength=0;this.decryptBlock=a;return this.decryptBlock(b,d)},encrypt:function(a,b){var g,k,e;e=a.length;var m=this.buffer;k=this.bufferPosition;var t=[];b||(b=new Uint8Array(16));for(g=0;g<e;++g)if(m[k]=a[g],++k,!(16>k)){for(k=0;16>
|
226 |
+
k;++k)m[k]^=b[k];var v=m;k=this.key;var q=void 0,p=void 0,u=void 0,q=void 0,m=new Uint8Array(16);m.set(v);for(v=0;16>v;++v)m[v]^=k[v];for(f=1;14>f;f++){for(v=0;16>v;++v)m[v]=c[m[v]];u=m[1];m[1]=m[5];m[5]=m[9];m[9]=m[13];m[13]=u;u=m[2];p=m[6];m[2]=m[10];m[6]=m[14];m[10]=u;m[14]=p;u=m[3];p=m[7];q=m[11];m[3]=m[15];m[7]=u;m[11]=p;m[15]=q;for(v=0;16>v;v+=4){var p=m[v+0],u=m[v+1],w=m[v+2],y=m[v+3],q=p^u^w^y;m[v+0]=m[v+0]^q^d[p^u];m[v+1]=m[v+1]^q^d[u^w];m[v+2]=m[v+2]^q^d[w^y];m[v+3]=m[v+3]^q^d[y^p]}v=0;
|
227 |
+
for(q=16*f;16>v;++v,++q)m[v]^=k[q]}for(v=0;16>v;++v)m[v]=c[m[v]];u=m[1];m[1]=m[5];m[5]=m[9];m[9]=m[13];m[13]=u;u=m[2];p=m[6];m[2]=m[10];m[6]=m[14];m[10]=u;m[14]=p;u=m[3];p=m[7];q=m[11];m[3]=m[15];m[7]=u;m[11]=p;m[15]=q;v=0;for(q=224;16>v;++v,++q)m[v]^=k[q];this.iv=k=m;t.push(k);m=new Uint8Array(16);k=0}this.buffer=m;this.bufferLength=k;this.iv=b;if(0===t.length)return new Uint8Array([]);m=new Uint8Array(16*t.length);k=g=0;for(e=t.length;g<e;++g,k+=16)m.set(t[g],k);return m}};return e}(),pe=function(){function e(a,
|
228 |
+
b){if(a.length!==b.length)return!1;for(var d=0;d<a.length;d++)if(a[d]!==b[d])return!1;return!0}function a(){}a.prototype={checkOwnerPassword:function(a,b,d,f){var g=new Uint8Array(a.length+56);g.set(a,0);g.set(b,a.length);g.set(d,a.length+b.length);a=sb(g,0,g.length);return e(a,f)},checkUserPassword:function(a,b,d){var f=new Uint8Array(a.length+8);f.set(a,0);f.set(b,a.length);a=sb(f,0,f.length);return e(a,d)},getOwnerKey:function(a,b,d,f){var g=new Uint8Array(a.length+56);g.set(a,0);g.set(b,a.length);
|
229 |
+
g.set(d,a.length+b.length);a=sb(g,0,g.length);return(new Kb(a)).decryptBlock(f,!1,new Uint8Array(16))},getUserKey:function(a,b,d){var f=new Uint8Array(a.length+8);f.set(a,0);f.set(b,a.length);a=sb(f,0,f.length);return(new Kb(a)).decryptBlock(d,!1,new Uint8Array(16))}};return a}(),qe=function(){function e(a,b){var c=new Uint8Array(a.length+b.length);c.set(a,0);c.set(b,a.length);return c}function a(a,b,c){b=sb(b,0,b.length).subarray(0,32);for(var h=[0],l=0;64>l||h[h.length-1]>l-32;){for(var h=a.length+
|
230 |
+
b.length+c.length,n=new Uint8Array(64*h),k=e(a,b),k=e(k,c),r=0,m=0;64>r;r++,m+=h)n.set(k,m);h=(new uc(b.subarray(0,16))).encrypt(n,b.subarray(16,32));for(k=n=0;16>k;k++)n*=1,n%=3,n+=(h[k]>>>0)%3,n%=3;0===n?b=sb(h,0,h.length):1===n?b=ne(h,0,h.length):2===n&&(b=Qc(h,0,h.length));l++}return b.subarray(0,32)}function c(){}function b(a,b){if(a.length!==b.length)return!1;for(var c=0;c<a.length;c++)if(a[c]!==b[c])return!1;return!0}c.prototype={hash:function(b,c,g){return a(b,c,g)},checkOwnerPassword:function(d,
|
231 |
+
c,g,h){var l=new Uint8Array(d.length+56);l.set(d,0);l.set(c,d.length);l.set(g,d.length+c.length);d=a(d,l,g);return b(d,h)},checkUserPassword:function(d,c,g){var h=new Uint8Array(d.length+8);h.set(d,0);h.set(c,d.length);d=a(d,h,[]);return b(d,g)},getOwnerKey:function(b,c,g,h){var l=new Uint8Array(b.length+56);l.set(b,0);l.set(c,b.length);l.set(g,b.length+c.length);b=a(b,l,g);return(new Kb(b)).decryptBlock(h,!1,new Uint8Array(16))},getUserKey:function(b,c,g){var h=new Uint8Array(b.length+8);h.set(b,
|
232 |
+
0);h.set(c,b.length);b=a(b,h,[]);return(new Kb(b)).decryptBlock(g,!1,new Uint8Array(16))}};return c}(),vc=function(){function e(a,c){this.stringCipherConstructor=a;this.streamCipherConstructor=c}e.prototype={createStream:function(a,c){var b=new this.streamCipherConstructor;return new re(a,c,function(a,c){return b.decryptBlock(a,c)})},decryptString:function(a){var c=new this.stringCipherConstructor;a=ra(a);a=c.decryptBlock(a,!0);return Ra(a)}};return e}(),Ud=function(){function e(a,b,c,f,k,e,m,t){var v=
|
233 |
+
new Uint8Array(40+c.length+a.length),q=0,p;if(b)for(p=Math.min(32,b.length);q<p;++q)v[q]=b[q];for(b=0;32>q;)v[q++]=d[b++];b=0;for(p=c.length;b<p;++b)v[q++]=c[b];v[q++]=k&255;v[q++]=k>>8&255;v[q++]=k>>16&255;v[q++]=k>>>24&255;b=0;for(p=a.length;b<p;++b)v[q++]=a[b];4<=e&&!t&&(v[q++]=255,v[q++]=255,v[q++]=255,v[q++]=255);p=qb(v,0,q);q=m>>3;if(3<=e)for(b=0;50>b;++b)p=qb(p,0,q);m=p.subarray(0,q);if(3<=e){for(q=0;32>q;++q)v[q]=d[q];b=0;for(p=a.length;b<p;++b)v[q++]=a[b];a=new eb(m);v=a.encryptBlock(qb(v,
|
234 |
+
0,q));p=m.length;e=new Uint8Array(p);for(b=1;19>=b;++b){for(a=0;a<p;++a)e[a]=m[a]^b;a=new eb(e);v=a.encryptBlock(v)}}else a=new eb(m),v=a.encryptBlock(d);b=0;for(p=v.length;b<p;++b)if(f[b]!==v[b])return null;return m}function a(a,b,c){var n=a.get("Filter");P(n)&&"Standard"===n.name||G("unknown encryption method");this.dict=a;n=a.get("V");(!V(n)||1!==n&&2!==n&&4!==n&&5!==n)&&G("unsupported encryption algorithm");this.algorithm=n;var k=a.get("Length")||40;(!V(k)||40>k||0!==k%8)&&G("invalid key length");
|
235 |
+
var r=ra(a.get("O")).subarray(0,32),m=ra(a.get("U")).subarray(0,32),t=a.get("P"),v=a.get("R"),q=(4===n||5===n)&&!1!==a.get("EncryptMetadata");this.encryptMetadata=q;b=ra(b);var p;c&&(p=ra(c));var u;if(5!==n)u=e(b,p,r,m,t,v,k,q);else{u=ra(a.get("O")).subarray(32,40);var w=ra(a.get("O")).subarray(40,48),y=ra(a.get("U")).subarray(0,48),C=ra(a.get("U")).subarray(32,40),F=ra(a.get("U")).subarray(40,48),E=ra(a.get("OE")),A=ra(a.get("UE"));ra(a.get("Perms"));a:{var H=p;if(H)var B=Math.min(127,H.length),
|
236 |
+
H=H.subarray(0,B);else H=[];if(B=6===v?new qe:new pe)if(B.checkUserPassword(H,C,m)){u=B.getUserKey(H,F,A);break a}else if(B.checkOwnerPassword(H,u,y,r)){u=B.getOwnerKey(H,w,y,E);break a}u=null}}if(!u&&!c)throw new Ib("No password given",Vb.NEED_PASSWORD);if(!u&&c){c=p;p=new Uint8Array(32);u=0;for(w=Math.min(32,c.length);u<w;++u)p[u]=c[u];for(c=0;32>u;)p[u++]=d[c++];p=qb(p,0,u);u=k>>3;if(3<=v)for(c=0;50>c;++c)p=qb(p,0,p.length);if(3<=v)for(w=r,y=new Uint8Array(u),c=19;0<=c;c--){for(C=0;C<u;++C)y[C]=
|
237 |
+
p[C]^c;C=new eb(y);w=C.encryptBlock(w)}else C=new eb(p.subarray(0,u)),w=C.encryptBlock(r);u=e(b,w,r,m,t,v,k,q)}if(!u)throw new Ib("Incorrect Password",Vb.INCORRECT_PASSWORD);this.encryptionKey=u;4<=n&&(this.cf=a.get("CF"),this.stmf=a.get("StmF")||f,this.strf=a.get("StrF")||f,this.eff=a.get("EFF")||this.strf)}function c(a,b,d,c){var f=new Uint8Array(d.length+9),e,m;e=0;for(m=d.length;e<m;++e)f[e]=d[e];f[e++]=a&255;f[e++]=a>>8&255;f[e++]=a>>16&255;f[e++]=b&255;f[e++]=b>>8&255;c&&(f[e++]=115,f[e++]=
|
238 |
+
65,f[e++]=108,f[e++]=84);return qb(f,0,e).subarray(0,Math.min(d.length+5,16))}function b(a,b,d,f,k){a=a.get(b.name);var e;null!==a&&void 0!==a&&(e=a.get("CFM"));if(!e||"None"===e.name)return function(){return new oe};if("V2"===e.name)return function(){return new eb(c(d,f,k,!1))};if("AESV2"===e.name)return function(){return new uc(c(d,f,k,!0))};if("AESV3"===e.name)return function(){return new Kb(k)};G("Unknown crypto method")}var d=new Uint8Array([40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,
|
239 |
+
46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122]),f=Fa.get("Identity");a.prototype={createCipherTransform:function(a,d){if(4===this.algorithm||5===this.algorithm)return new vc(b(this.cf,this.stmf,a,d,this.encryptionKey),b(this.cf,this.strf,a,d,this.encryptionKey));var f=c(a,d,this.encryptionKey,!1),e=function(){return new eb(f)};return new vc(e,e)}};return a}(),jd=function(){function e(){G("should not call Pattern constructor")}e.prototype={getPattern:function(a){G("Should not call Pattern.getStyle: "+
|
240 |
+
a)}};e.parseShading=function(a,c,b,d){var f=oa(a)?a.dict:a,g=f.get("ShadingType");try{switch(g){case 2:case 3:return new Ba.RadialAxial(f,c,b,d);case 4:case 5:case 6:case 7:return new Ba.Mesh(a,c,b,d);default:throw Error("Unknown PatternType: "+g);}}catch(h){if(h instanceof Ta)throw h;mb.notify(Sb.shadingPattern);L(h);return new Ba.Dummy}};return e}(),Ba={SMALL_NUMBER:.01};Ba.RadialAxial=function(){function e(a,c,b,d){this.matrix=c;this.coordsArr=a.get("Coords");this.shadingType=a.get("ShadingType");
|
241 |
+
this.type="Pattern";c=a.get("ColorSpace","CS");this.cs=c=Q.parse(c,b,d);d=0;var f=1;if(a.has("Domain")){var g=a.get("Domain");d=g[0];f=g[1]}var h=g=!1;a.has("Extend")&&(h=a.get("Extend"),g=h[0],h=h[1]);if(!(3!==this.shadingType||g&&h)){var l=this.coordsArr[0],e=this.coordsArr[1],k=this.coordsArr[2],r=this.coordsArr[3],m=this.coordsArr[4],t=this.coordsArr[5],l=Math.sqrt((l-r)*(l-r)+(e-m)*(e-m));k<=t+l&&t<=k+l&&L("Unsupported radial gradient.")}this.extendStart=g;this.extendEnd=h;k=a.get("Function");
|
242 |
+
k=rb.parseArray(b,k);t=f-d;l=t/10;b=this.colorStops=[];if(d>=f||0>=l)R("Bad shading domain.");else{for(var e=new Float32Array(c.numComps),r=new Float32Array(1),v,m=d;m<=f;m+=l)r[0]=m,k(r,0,e,0),v=c.getRgb(e,0),v=N.makeCssRgb(v[0],v[1],v[2]),b.push([(m-d)/t,v]);d="transparent";a.has("Background")&&(v=c.getRgb(a.get("Background"),0),d=N.makeCssRgb(v[0],v[1],v[2]));g||(b.unshift([0,d]),b[1][0]+=Ba.SMALL_NUMBER);h||(b[b.length-1][0]-=Ba.SMALL_NUMBER,b.push([1,d]));this.colorStops=b}}e.prototype={getIR:function(){var a=
|
243 |
+
this.coordsArr,c=this.shadingType,b,d,f,g,h;2===c?(d=[a[0],a[1]],f=[a[2],a[3]],h=g=null,b="axial"):3===c?(d=[a[0],a[1]],f=[a[3],a[4]],g=a[2],h=a[5],b="radial"):G("getPattern type unknown: "+c);if(a=this.matrix)d=N.applyTransform(d,a),f=N.applyTransform(f,a);return["RadialAxial",b,this.colorStops,d,f,g,h]}};return e}();Ba.Mesh=function(){function e(a,b){this.stream=a;this.context=b;this.bufferLength=this.buffer=0;this.tmpCompsBuf=new Float32Array(b.numComps);var c=b.colorSpace;this.tmpCsCompsBuf=b.colorFn?
|
244 |
+
new Float32Array(c):this.tmpCompsBuf}function a(a){for(var b=a.coords[0][0],c=a.coords[0][1],h=b,l=c,e=1,k=a.coords.length;e<k;e++)var r=a.coords[e][0],m=a.coords[e][1],b=b>r?r:b,c=c>m?m:c,h=h<r?r:h,l=l<m?m:l;a.bounds=[b,c,h,l]}function c(d,c,g,h){ba(oa(d),"Mesh data is not a stream");var l=d.dict;this.matrix=c;this.shadingType=l.get("ShadingType");this.type="Pattern";this.bbox=l.get("BBox");var n=l.get("ColorSpace","CS");this.cs=n=Q.parse(n,g,h);this.background=l.has("Background")?n.getRgb(l.get("Background"),
|
245 |
+
0):null;var k=l.get("Function"),r=k?rb.parseArray(g,k):null;this.coords=[];this.colors=[];this.figures=[];var m={bitsPerCoordinate:l.get("BitsPerCoordinate"),bitsPerComponent:l.get("BitsPerComponent"),bitsPerFlag:l.get("BitsPerFlag"),decode:l.get("Decode"),colorFn:r,colorSpace:n,numComps:r?1:n.numComps},t=new e(d,m),v=!1;switch(this.shadingType){case 4:for(var q=this.coords,p=this.colors,u=[],w=[],y=0;t.hasData;){var C=t.readFlag(),F=t.readCoordinate(),E=t.readComponents();if(0===y){ba(0<=C&&2>=C,
|
246 |
+
"Unknown type4 flag");switch(C){case 0:y=3;break;case 1:w.push(w[w.length-2],w[w.length-1]);y=1;break;case 2:w.push(w[w.length-3],w[w.length-1]),y=1}u.push(C)}w.push(q.length);q.push(F);p.push(E);y--;t.align()}var A=new Int32Array(w);this.figures.push({type:"triangles",coords:A,colors:A});break;case 5:var H=l.get("VerticesPerRow")|0;ba(2<=H,"Invalid VerticesPerRow");for(var B=this.coords,J=this.colors,I=[];t.hasData;){var O=t.readCoordinate(),M=t.readComponents();I.push(B.length);B.push(O);J.push(M)}var W=
|
247 |
+
new Int32Array(I);this.figures.push({type:"lattice",coords:W,colors:W,verticesPerRow:H});break;case 6:for(var K=this.coords,x=this.colors,z=new Int32Array(16),ka=new Int32Array(4);t.hasData;){var D=t.readFlag();ba(0<=D&&3>=D,"Unknown type6 flag");var L,Va,T=K.length;L=0;for(Va=0!==D?8:12;L<Va;L++)K.push(t.readCoordinate());var ya=x.length;L=0;for(Va=0!==D?2:4;L<Va;L++)x.push(t.readComponents());var Za,aa,Y,dd;switch(D){case 0:z[12]=T+3;z[13]=T+4;z[14]=T+5;z[15]=T+6;z[8]=T+2;z[11]=T+7;z[4]=T+1;z[7]=
|
248 |
+
T+8;z[0]=T;z[1]=T+11;z[2]=T+10;z[3]=T+9;ka[2]=ya+1;ka[3]=ya+2;ka[0]=ya;ka[1]=ya+3;break;case 1:Za=z[12];aa=z[13];Y=z[14];dd=z[15];z[12]=T+5;z[13]=T+4;z[14]=T+3;z[15]=T+2;z[8]=T+6;z[11]=T+1;z[4]=T+7;z[7]=T;z[0]=Za;z[1]=aa;z[2]=Y;z[3]=dd;Za=ka[2];aa=ka[3];ka[2]=ya+1;ka[3]=ya;ka[0]=Za;ka[1]=aa;break;case 2:z[12]=z[15];z[13]=T+7;z[14]=T+6;z[15]=T+5;z[8]=z[11];z[11]=T+4;z[4]=z[7];z[7]=T+3;z[0]=z[3];z[1]=T;z[2]=T+1;z[3]=T+2;ka[2]=ka[3];ka[3]=ya+1;ka[0]=ka[1];ka[1]=ya;break;case 3:z[12]=z[0],z[13]=z[1],
|
249 |
+
z[14]=z[2],z[15]=z[3],z[8]=T,z[11]=T+7,z[4]=T+1,z[7]=T+6,z[0]=T+2,z[1]=T+3,z[2]=T+4,z[3]=T+5,ka[2]=ka[0],ka[3]=ka[1],ka[0]=ya,ka[1]=ya+1}z[5]=K.length;K.push([(-4*K[z[0]][0]-K[z[15]][0]+6*(K[z[4]][0]+K[z[1]][0])-2*(K[z[12]][0]+K[z[3]][0])+3*(K[z[13]][0]+K[z[7]][0]))/9,(-4*K[z[0]][1]-K[z[15]][1]+6*(K[z[4]][1]+K[z[1]][1])-2*(K[z[12]][1]+K[z[3]][1])+3*(K[z[13]][1]+K[z[7]][1]))/9]);z[6]=K.length;K.push([(-4*K[z[3]][0]-K[z[12]][0]+6*(K[z[2]][0]+K[z[7]][0])-2*(K[z[0]][0]+K[z[15]][0])+3*(K[z[4]][0]+K[z[14]][0]))/
|
250 |
+
9,(-4*K[z[3]][1]-K[z[12]][1]+6*(K[z[2]][1]+K[z[7]][1])-2*(K[z[0]][1]+K[z[15]][1])+3*(K[z[4]][1]+K[z[14]][1]))/9]);z[9]=K.length;K.push([(-4*K[z[12]][0]-K[z[3]][0]+6*(K[z[8]][0]+K[z[13]][0])-2*(K[z[0]][0]+K[z[15]][0])+3*(K[z[11]][0]+K[z[1]][0]))/9,(-4*K[z[12]][1]-K[z[3]][1]+6*(K[z[8]][1]+K[z[13]][1])-2*(K[z[0]][1]+K[z[15]][1])+3*(K[z[11]][1]+K[z[1]][1]))/9]);z[10]=K.length;K.push([(-4*K[z[15]][0]-K[z[0]][0]+6*(K[z[11]][0]+K[z[14]][0])-2*(K[z[12]][0]+K[z[3]][0])+3*(K[z[2]][0]+K[z[8]][0]))/9,(-4*K[z[15]][1]-
|
251 |
+
K[z[0]][1]+6*(K[z[11]][1]+K[z[14]][1])-2*(K[z[12]][1]+K[z[3]][1])+3*(K[z[2]][1]+K[z[8]][1]))/9]);this.figures.push({type:"patch",coords:new Int32Array(z),colors:new Int32Array(ka)})}v=!0;break;case 7:for(var wc=this.coords,kd=this.colors,S=new Int32Array(16),Ca=new Int32Array(4);t.hasData;){var xc=t.readFlag();ba(0<=xc&&3>=xc,"Unknown type7 flag");var $b,Rc,Z=wc.length;$b=0;for(Rc=0!==xc?12:16;$b<Rc;$b++)wc.push(t.readCoordinate());var fb=kd.length;$b=0;for(Rc=0!==xc?2:4;$b<Rc;$b++)kd.push(t.readComponents());
|
252 |
+
var Sc,Tc,ld,P;switch(xc){case 0:S[12]=Z+3;S[13]=Z+4;S[14]=Z+5;S[15]=Z+6;S[8]=Z+2;S[9]=Z+13;S[10]=Z+14;S[11]=Z+7;S[4]=Z+1;S[5]=Z+12;S[6]=Z+15;S[7]=Z+8;S[0]=Z;S[1]=Z+11;S[2]=Z+10;S[3]=Z+9;Ca[2]=fb+1;Ca[3]=fb+2;Ca[0]=fb;Ca[1]=fb+3;break;case 1:Sc=S[12];Tc=S[13];ld=S[14];P=S[15];S[12]=Z+5;S[13]=Z+4;S[14]=Z+3;S[15]=Z+2;S[8]=Z+6;S[9]=Z+11;S[10]=Z+10;S[11]=Z+1;S[4]=Z+7;S[5]=Z+8;S[6]=Z+9;S[7]=Z;S[0]=Sc;S[1]=Tc;S[2]=ld;S[3]=P;Sc=Ca[2];Tc=Ca[3];Ca[2]=fb+1;Ca[3]=fb;Ca[0]=Sc;Ca[1]=Tc;break;case 2:S[12]=S[15];
|
253 |
+
S[13]=Z+7;S[14]=Z+6;S[15]=Z+5;S[8]=S[11];S[9]=Z+8;S[10]=Z+11;S[11]=Z+4;S[4]=S[7];S[5]=Z+9;S[6]=Z+10;S[7]=Z+3;S[0]=S[3];S[1]=Z;S[2]=Z+1;S[3]=Z+2;Ca[2]=Ca[3];Ca[3]=fb+1;Ca[0]=Ca[1];Ca[1]=fb;break;case 3:S[12]=S[0],S[13]=S[1],S[14]=S[2],S[15]=S[3],S[8]=Z,S[9]=Z+9,S[10]=Z+8,S[11]=Z+7,S[4]=Z+1,S[5]=Z+10,S[6]=Z+11,S[7]=Z+6,S[0]=Z+2,S[1]=Z+3,S[2]=Z+4,S[3]=Z+5,Ca[2]=Ca[0],Ca[3]=Ca[1],Ca[0]=fb,Ca[1]=fb+1}this.figures.push({type:"patch",coords:new Int32Array(S),colors:new Int32Array(Ca)})}v=!0;break;default:G("Unsupported mesh type.")}if(v){a(this);
|
254 |
+
for(var R=0,ua=this.figures.length;R<ua;R++){var V=R,X=this.figures[V];ba("patch"===X.type,"Unexpected patch mesh figure");for(var N=this.coords,ac=this.colors,pa=X.coords,U=X.colors,fa=Math.min(N[pa[0]][0],N[pa[3]][0],N[pa[12]][0],N[pa[15]][0]),ia=Math.min(N[pa[0]][1],N[pa[3]][1],N[pa[12]][1],N[pa[15]][1]),da=Math.max(N[pa[0]][0],N[pa[3]][0],N[pa[12]][0],N[pa[15]][0]),ha=Math.max(N[pa[0]][1],N[pa[3]][1],N[pa[12]][1],N[pa[15]][1]),qa=Math.ceil(20*(da-fa)/(this.bounds[2]-this.bounds[0])),qa=Math.max(3,
|
255 |
+
Math.min(20,qa)),ma=Math.ceil(20*(ha-ia)/(this.bounds[3]-this.bounds[1])),ma=Math.max(3,Math.min(20,ma)),ea=qa+1,la=new Int32Array((ma+1)*ea),na=new Int32Array((ma+1)*ea),ga=0,ja=new Uint8Array(3),ra=new Uint8Array(3),sa=ac[U[0]],Ea=ac[U[1]],xa=ac[U[2]],Aa=ac[U[3]],Ja=b(ma),Wa=b(qa),va=0;va<=ma;va++){ja[0]=(sa[0]*(ma-va)+xa[0]*va)/ma|0;ja[1]=(sa[1]*(ma-va)+xa[1]*va)/ma|0;ja[2]=(sa[2]*(ma-va)+xa[2]*va)/ma|0;ra[0]=(Ea[0]*(ma-va)+Aa[0]*va)/ma|0;ra[1]=(Ea[1]*(ma-va)+Aa[1]*va)/ma|0;ra[2]=(Ea[2]*(ma-va)+
|
256 |
+
Aa[2]*va)/ma|0;for(var Da=0;Da<=qa;Da++,ga++)if(0!==va&&va!==ma||0!==Da&&Da!==qa){for(var ta=0,Ga=0,wa=0,Sa=0;3>=Sa;Sa++)for(var La=0;3>=La;La++,wa++)var Pa=Ja[va][Sa]*Wa[Da][La],ta=ta+N[pa[wa]][0]*Pa,Ga=Ga+N[pa[wa]][1]*Pa;la[ga]=N.length;N.push([ta,Ga]);na[ga]=ac.length;var Ma=new Uint8Array(3);Ma[0]=(ja[0]*(qa-Da)+ra[0]*Da)/qa|0;Ma[1]=(ja[1]*(qa-Da)+ra[1]*Da)/qa|0;Ma[2]=(ja[2]*(qa-Da)+ra[2]*Da)/qa|0;ac.push(Ma)}}la[0]=pa[0];na[0]=U[0];la[qa]=pa[3];na[qa]=U[1];la[ea*ma]=pa[12];na[ea*ma]=U[2];la[ea*
|
257 |
+
ma+qa]=pa[15];na[ea*ma+qa]=U[3];this.figures[V]={type:"lattice",coords:la,colors:na,verticesPerRow:ea}}}a(this);var ca,Na,Oa,Fa,Ta=this.coords,Ia=new Float32Array(2*Ta.length);Oa=ca=0;for(Na=Ta.length;ca<Na;ca++){var Ra=Ta[ca];Ia[Oa++]=Ra[0];Ia[Oa++]=Ra[1]}this.coords=Ia;var Ha=this.colors,Ba=new Uint8Array(3*Ha.length);Oa=ca=0;for(Na=Ha.length;ca<Na;ca++){var za=Ha[ca];Ba[Oa++]=za[0];Ba[Oa++]=za[1];Ba[Oa++]=za[2]}this.colors=Ba;var Xa=this.figures;ca=0;for(Na=Xa.length;ca<Na;ca++){var gb=Xa[ca],
|
258 |
+
Ua=gb.coords,Ya=gb.colors;Oa=0;for(Fa=Ua.length;Oa<Fa;Oa++)Ua[Oa]*=2,Ya[Oa]*=3}}e.prototype={get hasData(){if(this.stream.end)return this.stream.pos<this.stream.end;if(0<this.bufferLength)return!0;var a=this.stream.getByte();if(0>a)return!1;this.buffer=a;this.bufferLength=8;return!0},readBits:function(a){var b=this.buffer,c=this.bufferLength;if(32===a){if(0===c)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;b=b<<24|this.stream.getByte()<<
|
259 |
+
16|this.stream.getByte()<<8|this.stream.getByte();a=this.stream.getByte();this.buffer=a&(1<<c)-1;return(b<<8-c|(a&255)>>c)>>>0}if(8===a&&0===c)return this.stream.getByte();for(;c<a;)b=b<<8|this.stream.getByte(),c+=8;this.bufferLength=c-=a;this.buffer=b&(1<<c)-1;return b>>c},align:function(){this.bufferLength=this.buffer=0},readFlag:function(){return this.readBits(this.context.bitsPerFlag)},readCoordinate:function(){var a=this.context.bitsPerCoordinate,b=this.readBits(a),c=this.readBits(a),h=this.context.decode,
|
260 |
+
a=32>a?1/((1<<a)-1):2.3283064365386963E-10;return[b*a*(h[1]-h[0])+h[0],c*a*(h[3]-h[2])+h[2]]},readComponents:function(){for(var a=this.context.numComps,b=this.context.bitsPerComponent,c=32>b?1/((1<<b)-1):2.3283064365386963E-10,h=this.context.decode,l=this.tmpCompsBuf,e=0,k=4;e<a;e++,k+=2){var r=this.readBits(b);l[e]=r*c*(h[k+1]-h[k])+h[k]}a=this.tmpCsCompsBuf;this.context.colorFn&&this.context.colorFn(l,0,a,0);return this.context.colorSpace.getRgb(a,0)}};var b=function(){var a=[];return function(b){if(!a[b]){for(var c=
|
261 |
+
[],h=0;h<=b;h++){var l=h/b,e=1-l;c.push(new Float32Array([e*e*e,3*l*e*e,3*l*l*e,l*l*l]))}a[b]=c}return a[b]}}();c.prototype={getIR:function(){return["Mesh",this.shadingType,this.coords,this.colors,this.figures,this.bounds,this.matrix,this.bbox,this.background]}};return c}();Ba.Dummy=function(){function e(){this.type="Pattern"}e.prototype={getIR:function(){return["Dummy"]}};return e}();var rc=function(){function e(a,d,c,g,h,l,e){this.pdfManager=a;this.xref=d;this.handler=c;this.pageIndex=g;this.uniquePrefix=
|
262 |
+
h;this.idCounters=l;this.fontCache=e}function a(){this.reset()}a.prototype={check:function(){if(100>++this.checked)return!1;this.checked=0;return this.endTime<=Date.now()},reset:function(){this.endTime=Date.now()+20;this.checked=0}};var c=Promise.resolve();e.prototype={hasBlendModes:function(a){if(!X(a))return!1;var d=Object.create(null);a.objId&&(d[a.objId]=!0);for(a=[a];a.length;){var c,g=a.shift(),h=g.get("ExtGState");if(X(h))for(c in h=h.getAll(),h){var l=h[c].BM;if(P(l)&&"Normal"!==l.name)return!0}g=
|
263 |
+
g.get("XObject");if(X(g))for(c in g=g.getAll(),g)if(h=g[c],oa(h)){if(h.dict.objId){if(d[h.dict.objId])continue;d[h.dict.objId]=!0}h=h.dict.get("Resources");!X(h)||h.objId&&d[h.objId]||(a.push(h),h.objId&&(d[h.objId]=!0))}}return!1},buildFormXObject:function(a,d,c,g,h){var l=d.dict.get("Matrix"),e=d.dict.get("BBox"),k=d.dict.get("Group");if(k){var r={matrix:l,bbox:e,smask:c,isolated:!1,knockout:!1},m=k.get("S"),t;P(m)&&"Transparency"===m.name&&(r.isolated=k.get("I")||!1,r.knockout=k.get("K")||!1,t=
|
264 |
+
k.has("CS")?Q.parse(k.get("CS"),this.xref,a):null);c&&c.backdrop&&(t=t||Q.singletons.rgb,c.backdrop=t.getRgb(c.backdrop,0));g.addOp(x.beginGroup,[r])}g.addOp(x.paintFormXObjectBegin,[l,e]);return this.getOperatorList(d,d.dict.get("Resources")||a,g,h).then(function(){g.addOp(x.paintFormXObjectEnd,[]);k&&g.addOp(x.endGroup,[r])})},buildPaintImageXObject:function(a,d,c,g,h,l){var e=this,k=d.dict,r=k.get("Width","W"),m=k.get("Height","H");if(r&&Xa(r)&&m&&Xa(m))if(-1!==PDFJS.maxImageSize&&r*m>PDFJS.maxImageSize)L("Image exceeded maximum allowed size and was removed.");
|
265 |
+
else if(k.get("ImageMask","IM")){a=k.get("Width","W");c=k.get("Height","H");var t=d.getBytes((a+7>>3)*c),k=k.get("Decode","D");d=xb.createMask(t,a,c,d instanceof ha,!!k&&0<k[0]);d.cached=!0;r=[d];g.addOp(x.paintImageMaskXObject,r);h&&(l[h]={fn:x.paintImageMaskXObject,args:r})}else if(t=k.get("SMask","SM")||!1,k=k.get("Mask")||!1,!(!c||t||k||d instanceof tb)&&200>r+m)d=(new xb(this.xref,a,d,c,null,null)).createImageData(!0),g.addOp(x.paintInlineImageXObject,[d]);else{var v="img_"+(this.uniquePrefix||
|
266 |
+
"")+ ++this.idCounters.obj;g.addDependency(v);r=[v,r,m];!t&&!k&&d instanceof tb&&d.isNativelySupported(this.xref,a)?(g.addOp(x.paintJpegXObject,r),this.handler.send("obj",[v,this.pageIndex,"JpegStream",d.getIR()])):(xb.buildImage(e.handler,e.xref,a,d,c).then(function(a){a=a.createImageData(!1);e.handler.send("obj",[v,e.pageIndex,"Image",a],[a.data.buffer])}).then(void 0,function(a){L("Unable to decode image: "+a);e.handler.send("obj",[v,e.pageIndex,"Image",null])}),g.addOp(x.paintImageXObject,r),
|
267 |
+
h&&(l[h]={fn:x.paintImageXObject,args:r}))}else L("Image dimensions are missing, or not numbers.")},handleSMask:function(a,d,c,g){var h=a.get("G");a={subtype:a.get("S").name,backdrop:a.get("BC")};return this.buildFormXObject(d,h,a,c,g.state.clone())},handleTilingType:function(a,d,c,g,h,l){var e=new db;return this.getOperatorList(g,h.get("Resources")||c,e).then(function(){l.addDependencies(e.dependencies);l.addOp(a,Jd({fnArray:e.fnArray,argsArray:e.argsArray},h,d))})},handleSetFont:function(a,d,c,
|
268 |
+
g,h){var l;d&&(d=d.slice(),l=d[0].name);var e=this;return this.loadFont(l,c,this.xref,a).then(function(d){return d.font.isType3Font?d.loadType3Data(e,a,g).then(function(){return d}):d}).then(function(a){h.font=a.font;a.send(e.handler);return a.loadedName})},handleText:function(a,d){var c=d.font,g=c.charsToGlyphs(a),h=!!(d.textRenderingMode&4);if(c.data&&(h||PDFJS.disableFontFace))for(var h=function(a){if(!c.renderer.hasBuiltPath(a)){var b=c.renderer.getPathJs(a);this.handler.send("commonobj",[c.loadedName+
|
269 |
+
"_path_"+a,"FontPath",b])}}.bind(this),l=0,e=g.length;l<e;l++){var k=g[l];null!==k&&(h(k.fontChar),(k=k.accent)&&k.fontChar&&h(k.fontChar))}return g},setGState:function(a,d,c,g,h){var l=[];d=d.map;var e=this,k=Promise.resolve(),r;for(r in d){var m=d[r];switch(r){case "Type":break;case "LW":case "LC":case "LJ":case "ML":case "D":case "RI":case "FL":case "CA":case "ca":l.push([r,m]);break;case "Font":k=k.then(function(){return e.handleSetFont(a,null,m[0],c,h.state).then(function(a){c.addDependency(a);
|
270 |
+
l.push([r,[a,m[1]]])})});break;case "BM":l.push([r,m]);break;case "SMask":if(P(m)&&"None"===m.name){l.push([r,!1]);break}var t=g.fetchIfRef(m);X(t)?(k=k.then(function(){return e.handleSMask(t,a,c,h)}),l.push([r,!0])):L("Unsupported SMask type");break;case "OP":case "op":case "OPM":case "BG":case "BG2":case "UCR":case "UCR2":case "TR":case "TR2":case "HT":case "SM":case "SA":case "AIS":case "TK":R("graphic state operator "+r);break;default:R("Unknown graphic state operator "+r)}}return k.then(function(){0<=
|
271 |
+
l.length&&c.addOp(x.setGState,[l])})},loadFont:function(a,d,c,g){function h(){return Promise.resolve(new yc("g_font_error",new md("Font "+a+" is not available"),d))}if(d)ba(Aa(d)),g=d;else if(g=g.get("Font"))g=g.getRaw(a);else return L("fontRes not available"),h();if(!g)return L("fontRef not available"),h();if(this.fontCache.has(g))return this.fontCache.get(g);d=c.fetchIfRef(g);if(!X(d))return h();if(d.translated)return d.translated;var l=La(),e=this.preEvaluateFont(d,c),k=e.descriptor,r=g.num+"_"+
|
272 |
+
g.gen;if(X(k)){k.fontAliases||(k.fontAliases=Object.create(null));r=k.fontAliases;k=e.hash;if(r[k]){var m=r[k].aliasRef;if(m&&this.fontCache.has(m))return this.fontCache.putAlias(g,m),this.fontCache.get(g)}r[k]||(r[k]={fontID:Lb.getFontID()});r[k].aliasRef=g;r=r[k].fontID}(k=X(g))||this.fontCache.put(g,l.promise);d.loadedName="g_font_"+(k?a.replace(/\W/g,""):r);d.translated=l.promise;var t;try{t=Promise.resolve(this.translateFont(e,c))}catch(v){t=Promise.reject(v)}t.then(function(a){void 0!==a.fontType&&
|
273 |
+
(c.stats.fontTypes[a.fontType]=!0);l.resolve(new yc(d.loadedName,a,d))},function(a){mb.notify(Sb.font);try{var b=e.descriptor,h=b&&b.get("FontFile3"),g=h&&h.get("Subtype"),k=mc(e.type,g&&g.name);c.stats.fontTypes[k]=!0}catch(r){}l.resolve(new yc(d.loadedName,new md(a instanceof Error?a.message:a),d))});return l.promise},buildPath:function(a,d,c){var g=a.length-1;c||(c=[]);0>g||a.fnArray[g]!==x.constructPath?a.addOp(x.constructPath,[[d],c]):(a=a.argsArray[g],a[0].push(d),Array.prototype.push.apply(a[1],
|
274 |
+
c))},handleColorN:function(a,d,c,g,h,l,e){var k=c[c.length-1],r;if(P(k)&&(r=h.get(k.name)))return h=oa(r)?r.dict:r,k=h.get("PatternType"),1===k?(e=g.base?g.base.getRgb(c,0):null,this.handleTilingType(d,e,l,r,h,a)):2===k?(r=h.get("Shading"),c=h.get("Matrix"),r=jd.parseShading(r,c,e,l),a.addOp(d,r.getIR()),Promise.resolve()):Promise.reject("Unknown PatternType: "+k);a.addOp(d,c);return Promise.resolve()},getOperatorList:function(b,d,f,g){var h=this,l=this.xref,e={};ba(f);d=d||Ga.empty;var k=d.get("XObject")||
|
275 |
+
Ga.empty,r=d.get("Pattern")||Ga.empty,m=new nd(g||new se),t=new od(b,l,m),v=new a;return new Promise(function p(a,b){v.reset();for(var g,C={},F;!(g=v.check());){C.args=null;if(!t.read(C))break;g=C.args;F=C.fn;switch(F|0){case x.paintXObject:if(g[0].code)break;var E=g[0].name;if(void 0!==e[E]){f.addOp(e[E].fn,e[E].args);g=null;continue}var A=k.get(E);if(A){ba(oa(A),"XObject should be a stream");var H=A.dict.get("Subtype");ba(P(H),"XObject should have a Name subtype");if("Form"===H.name)return m.save(),
|
276 |
+
h.buildFormXObject(d,A,null,f,m.state.clone()).then(function(){m.restore();p(a,b)},b);if("Image"===H.name){h.buildPaintImageXObject(d,A,!1,f,E,e);g=null;continue}else if("PS"===H.name){R("Ignored XObject subtype PS");continue}else G("Unhandled XObject subtype "+H.name)}break;case x.setFont:var B=g[1];return h.handleSetFont(d,g,null,f,m.state).then(function(d){f.addDependency(d);f.addOp(x.setFont,[d,B]);p(a,b)},b);case x.endInlineImage:if(F=g[0].cacheKey)if(E=e[F],void 0!==E){f.addOp(E.fn,E.args);
|
277 |
+
g=null;continue}h.buildPaintImageXObject(d,g[0],!0,f,F,e);g=null;continue;case x.showText:g[0]=h.handleText(g[0],m.state);break;case x.showSpacedText:E=g[0];A=[];H=E.length;for(F=0;F<H;++F){var J=E[F];ja(J)?Array.prototype.push.apply(A,h.handleText(J,m.state)):Xa(J)&&A.push(J)}g[0]=A;F=x.showText;break;case x.nextLineShowText:f.addOp(x.nextLine);g[0]=h.handleText(g[0],m.state);F=x.showText;break;case x.nextLineSetSpacingShowText:f.addOp(x.nextLine);f.addOp(x.setWordSpacing,[g.shift()]);f.addOp(x.setCharSpacing,
|
278 |
+
[g.shift()]);g[0]=h.handleText(g[0],m.state);F=x.showText;break;case x.setTextRenderingMode:m.state.textRenderingMode=g[0];break;case x.setFillColorSpace:m.state.fillColorSpace=Q.parse(g[0],l,d);continue;case x.setStrokeColorSpace:m.state.strokeColorSpace=Q.parse(g[0],l,d);continue;case x.setFillColor:F=m.state.fillColorSpace;g=F.getRgb(g,0);F=x.setFillRGBColor;break;case x.setStrokeColor:F=m.state.strokeColorSpace;g=F.getRgb(g,0);F=x.setStrokeRGBColor;break;case x.setFillGray:m.state.fillColorSpace=
|
279 |
+
Q.singletons.gray;g=Q.singletons.gray.getRgb(g,0);F=x.setFillRGBColor;break;case x.setStrokeGray:m.state.strokeColorSpace=Q.singletons.gray;g=Q.singletons.gray.getRgb(g,0);F=x.setStrokeRGBColor;break;case x.setFillCMYKColor:m.state.fillColorSpace=Q.singletons.cmyk;g=Q.singletons.cmyk.getRgb(g,0);F=x.setFillRGBColor;break;case x.setStrokeCMYKColor:m.state.strokeColorSpace=Q.singletons.cmyk;g=Q.singletons.cmyk.getRgb(g,0);F=x.setStrokeRGBColor;break;case x.setFillRGBColor:m.state.fillColorSpace=Q.singletons.rgb;
|
280 |
+
g=Q.singletons.rgb.getRgb(g,0);break;case x.setStrokeRGBColor:m.state.strokeColorSpace=Q.singletons.rgb;g=Q.singletons.rgb.getRgb(g,0);break;case x.setFillColorN:F=m.state.fillColorSpace;if("Pattern"===F.name)return h.handleColorN(f,x.setFillColorN,g,F,r,d,l).then(function(){p(a,b)},b);g=F.getRgb(g,0);F=x.setFillRGBColor;break;case x.setStrokeColorN:F=m.state.strokeColorSpace;if("Pattern"===F.name)return h.handleColorN(f,x.setStrokeColorN,g,F,r,d,l).then(function(){p(a,b)},b);g=F.getRgb(g,0);F=x.setStrokeRGBColor;
|
281 |
+
break;case x.shadingFill:(F=d.get("Shading"))||G("No shading resource found");(g=F.get(g[0].name))||G("No shading object found");g=[jd.parseShading(g,null,l,d).getIR()];F=x.shadingFill;break;case x.setGState:E=g[0];A=d.get("ExtGState");if(!X(A)||!A.has(E.name))break;C=A.get(E.name);return h.setGState(d,C,f,l,m).then(function(){p(a,b)},b);case x.moveTo:case x.lineTo:case x.curveTo:case x.curveTo2:case x.curveTo3:case x.closePath:h.buildPath(f,F,g);continue;case x.rectangle:h.buildPath(f,F,g);continue}f.addOp(F,
|
282 |
+
g)}if(g)c.then(function(){p(a,b)});else{F=0;for(C=t.savedStatesDepth;F<C;F++)f.addOp(x.restore,[]);a()}})},getTextContent:function(b,d,f){function g(){var a=u.font;a.loadedName in k.styles||(k.styles[a.loadedName]={fontFamily:a.fallbackName,ascent:a.ascent,descent:a.descent,vertical:a.vertical});return{str:[],dir:null,width:0,height:0,transform:null,fontName:a.loadedName}}function h(a){var b=a.str.join(""),b=PDFJS.bidi(b,-1,u.font.vertical);a.str=b.str;a.dir=b.dir;return a}function l(a,b){return m.loadFont(a,
|
283 |
+
b,t,d).then(function(a){u.font=a.font;u.fontMatrix=a.font.fontMatrix||Ya})}function e(a,b){var d=u.font;b=b||g();if(!b.transform){var c=b.transform=N.transform(u.ctm,N.transform(u.textMatrix,[u.fontSize*u.textHScale,0,0,u.fontSize,0,u.textRise]));d.vertical?b.width=Math.sqrt(c[0]*c[0]+c[1]*c[1]):b.height=Math.sqrt(c[2]*c[2]+c[3]*c[3])}for(var f=c=0,h=d.charsToGlyphs(a),l=0;l<h.length;l++){var k=h[l];if(k){var n=null,n=d.vertical?k.vmetric?k.vmetric[0]:k.width:k.width,k=k.unicode;void 0!==pd[k]&&(k=
|
284 |
+
pd[k]);var r=k.length,m;if(!(m=1>=r)){m=k.charCodeAt(0);var p=bc[13];m>=p.begin&&m<p.end?m=!0:(p=bc[11],m=m>=p.begin&&m<p.end?!0:!1);m=!m}if(!m){m="";for(--r;0<=r;r--)m+=k[r];k=m}m=r=0;d.vertical?(m=n*u.fontMatrix[0]*u.fontSize+u.charSpacing,f+=m):(r=(n*u.fontMatrix[0]*u.fontSize+u.charSpacing)*u.textHScale,c+=r);u.translateTextMatrix(r,m);b.str.push(k)}else c+=u.wordSpacing*u.textHScale}l=u.textLineMatrix[0];n=u.textLineMatrix[1];h=Math.sqrt(l*l+n*n);l=u.ctm[0];n=u.ctm[1];l=Math.sqrt(l*l+n*n);d.vertical?
|
285 |
+
b.height+=Math.abs(f*l*h):b.width+=c*l*h;return b}f=f||new nd(new te);var k={items:[],styles:Object.create(null)},r=k.items,m=this,t=this.xref;d=t.fetchIfRef(d)||Ga.empty;var v=null,q={},p=new od(b,t,f),u,w=new a;return new Promise(function C(a,b){w.reset();for(var t,H={},B=[];!(t=w.check());){B.length=0;H.args=B;if(!p.read(H))break;u=f.state;t=H.fn;B=H.args;switch(t|0){case x.setFont:return u.fontSize=B[1],l(B[0].name).then(function(){C(a,b)},b);case x.setTextRise:u.textRise=B[0];break;case x.setHScale:u.textHScale=
|
286 |
+
B[0]/100;break;case x.setLeading:u.leading=B[0];break;case x.moveText:u.translateTextLineMatrix(B[0],B[1]);u.textMatrix=u.textLineMatrix.slice();break;case x.setLeadingMoveText:u.leading=-B[1];u.translateTextLineMatrix(B[0],B[1]);u.textMatrix=u.textLineMatrix.slice();break;case x.nextLine:u.carriageReturn();break;case x.setTextMatrix:u.setTextMatrix(B[0],B[1],B[2],B[3],B[4],B[5]);u.setTextLineMatrix(B[0],B[1],B[2],B[3],B[4],B[5]);break;case x.setCharSpacing:u.charSpacing=B[0];break;case x.setWordSpacing:u.wordSpacing=
|
287 |
+
B[0];break;case x.beginText:u.textMatrix=pb.slice();u.textLineMatrix=pb.slice();break;case x.showSpacedText:t=B[0];for(var J=g(),I,O=0,M=t.length;O<M;O++)if("string"===typeof t[O])e(t[O],J);else if(I=t[O]/1E3,u.font.vertical?(I=-I*u.fontSize*u.textMatrix[3],u.translateTextMatrix(0,I),J.height+=I):(I=-I*u.fontSize*u.textHScale*u.textMatrix[0],u.translateTextMatrix(I,0),J.width+=I),0>t[O]&&0<u.font.spaceWidth)if(I=-t[O]/u.font.spaceWidth,1.5<I)for(I=Math.round(I);I--;)J.str.push(" ");else.35<I&&J.str.push(" ");
|
288 |
+
r.push(h(J));break;case x.showText:r.push(h(e(B[0])));break;case x.nextLineShowText:u.carriageReturn();r.push(h(e(B[0])));break;case x.nextLineSetSpacingShowText:u.wordSpacing=B[0];u.charSpacing=B[1];u.carriageReturn();r.push(h(e(B[2])));break;case x.paintXObject:if(B[0].code)break;v||(v=d.get("XObject")||Ga.empty);var W=B[0].name;if(q.key===W){q.texts&&(N.appendToArray(r,q.texts.items),N.extendObj(k.styles,q.texts.styles));break}t=v.get(W);if(!t)break;ba(oa(t),"XObject should be a stream");J=t.dict.get("Subtype");
|
289 |
+
ba(P(J),"XObject should have a Name subtype");if("Form"!==J.name){q.key=W;q.texts=null;break}f.save();H=t.dict.get("Matrix");U(H)&&6===H.length&&f.transform(H);return m.getTextContent(t,t.dict.get("Resources")||d,f).then(function(d){N.appendToArray(r,d.items);N.extendObj(k.styles,d.styles);f.restore();q.key=W;q.texts=d;C(a,b)},b);case x.setGState:t=B[0];J=d.get("ExtGState");if(!X(J)||!J.has(t.name))break;t=J.get(t.name);var J=null,K;for(K in t)"Font"===K&&(ba(!J),J=t[K]);if(J)return u.fontSize=J[1],
|
290 |
+
l(J[0]).then(function(){C(a,b)},b)}}t?c.then(function(){C(a,b)}):a(k)})},extractDataStructures:function(a,d,c,g){if(d=a.get("ToUnicode")||d.get("ToUnicode"))g.toUnicode=this.readToUnicode(d);g.composite&&(d=a.get("CIDSystemInfo"),X(d)&&(g.cidSystemInfo={registry:d.get("Registry"),ordering:d.get("Ordering"),supplement:d.get("Supplement")}),d=a.get("CIDToGIDMap"),oa(d)&&(g.cidToGidMap=this.readCidToGidMap(d)));d=[];c=null;var h;if(a.has("Encoding")){h=a.get("Encoding");if(X(h)){if(c=h.get("BaseEncoding"),
|
291 |
+
c=P(c)?c.name:null,h.has("Differences")){h=h.get("Differences");for(var l=0,e=0,k=h.length;e<k;e++){var r=h[e];Xa(r)?l=r:d[l++]=r.name}}}else P(h)?c=h.name:G("Encoding is not a Name nor a Dict");"MacRomanEncoding"!==c&&"MacExpertEncoding"!==c&&"WinAnsiEncoding"!==c&&(c=null)}c?g.defaultEncoding=la[c].slice():(h="TrueType"===g.type?la.WinAnsiEncoding:la.StandardEncoding,g.flags&Ma.Symbolic&&(h=la.MacRomanEncoding,g.file||(/Symbol/i.test(g.name)?h=la.SymbolSetEncoding:/Dingbats/i.test(g.name)&&(h=la.ZapfDingbatsEncoding))),
|
292 |
+
g.defaultEncoding=h);g.differences=d;g.baseEncodingName=c;g.dict=a},readToUnicode:function(a){var d;return P(a)?(d=Mb.create(a,{url:PDFJS.cMapUrl,packed:PDFJS.cMapPacked},null).getMap(),new ub(d)):oa(a)?(d=Mb.create(a,{url:PDFJS.cMapUrl,packed:PDFJS.cMapPacked},null).getMap(),d.forEach(function(a,b){for(var c=[],l=0;l<a.length;l+=2){var e=a.charCodeAt(l)<<8|a.charCodeAt(l+1);if(55296!==(e&63488))c.push(e);else{var l=l+2,k=a.charCodeAt(l)<<8|a.charCodeAt(l+1);c.push(((e&1023)<<10)+(k&1023)+65536)}}d[b]=
|
293 |
+
String.fromCharCode.apply(String,c)}),new ub(d)):null},readCidToGidMap:function(a){a=a.getBytes();for(var d=[],c=0,g=a.length;c<g;c++){var h=a[c++]<<8|a[c];0!==h&&(d[c>>1]=h)}return d},extractWidths:function(a,d,c,g){var h=[],l=0,e=[],k,r,m,t,v,q,p;if(g.composite){l=a.get("DW")||1E3;if(p=a.get("W"))for(r=0,m=p.length;r<m;r++)if(c=p[r++],q=d.fetchIfRef(p[r]),U(q))for(t=0,v=q.length;t<v;t++)h[c++]=q[t];else for(v=p[++r],t=c;t<=q;t++)h[t]=v;if(g.vertical&&(p=a.get("DW2")||[880,-1E3],k=[p[1],.5*l,p[0]],
|
294 |
+
p=a.get("W2")))for(r=0,m=p.length;r<m;r++)if(c=p[r++],q=d.fetchIfRef(p[r]),U(q))for(t=0,v=q.length;t<v;t++)e[c++]=[q[t++],q[t++],q[t]];else for(a=[p[++r],p[++r],p[++r]],t=c;t<=q;t++)e[t]=a}else if(d=g.firstChar,p=a.get("Widths")){t=d;r=0;for(m=p.length;r<m;r++)h[t++]=p[r];l=parseFloat(c.get("MissingWidth"))||0}else a=a.get("BaseFont"),P(a)&&(l=this.getBaseFontMetrics(a.name),h=this.buildCharCodeToWidth(l.widths,g),l=l.defaultWidth);a=!0;d=l;for(var u in h)if(r=h[u])if(!d)d=r;else if(d!==r){a=!1;break}a&&
|
295 |
+
(g.flags|=Ma.FixedPitch);g.defaultWidth=l;g.widths=h;g.defaultVMetrics=k;g.vmetrics=e},isSerifFont:function(a){a=a.split("-")[0];return a in ue||-1!==a.search(/serif/gi)},getBaseFontMetrics:function(a){var d=0,c=[],g=!1,h=yb[a]||a;h in qd||(h=this.isSerifFont(a)?"Times-Roman":"Helvetica");a=qd[h];Xa(a)?(d=a,g=!0):c=a;return{defaultWidth:d,monospace:g,widths:c}},buildCharCodeToWidth:function(a,d){for(var c=Object.create(null),g=d.differences,h=d.defaultEncoding,l=0;256>l;l++)l in g&&a[g[l]]?c[l]=a[g[l]]:
|
296 |
+
l in h&&a[h[l]]&&(c[l]=a[h[l]]);return c},preEvaluateFont:function(a,d){var c=a,g=a.get("Subtype");ba(P(g),"invalid font Subtype");var h=!1,l;"Type0"===g.name&&((g=a.get("DescendantFonts"))||G("Descendant fonts are not specified"),a=U(g)?d.fetchIfRef(g[0]):g,g=a.get("Subtype"),ba(P(g),"invalid font Subtype"),h=!0);var e=a.get("FontDescriptor");if(e){var k=new ve;l=c.getRaw("Encoding");P(l)?k.update(l.name):Aa(l)&&k.update(l.num+"_"+l.gen);l=a.get("ToUnicode")||c.get("ToUnicode");oa(l)?(l=l.str||l,
|
297 |
+
l=l.buffer?new Uint8Array(l.buffer.buffer,0,l.bufferLength):new Uint8Array(l.bytes.buffer,l.start,l.end-l.start),k.update(l)):P(l)&&k.update(l.name);if(l=a.get("Widths")||c.get("Widths"))l=new Uint8Array((new Uint32Array(l)).buffer),k.update(l)}return{descriptor:e,dict:a,baseDict:c,composite:h,type:g.name,hash:k?k.hexdigest():""}},translateFont:function(a,d){var c=a.baseDict,g=a.dict,h=a.composite,l=a.descriptor,e=a.type,k=h?65535:255;if(!l)if("Type3"===e)l=new Ga(null),l.set("FontName",Fa.get(e));
|
298 |
+
else{c=g.get("BaseFont");P(c)||G("Base font is not specified");var c=c.name.replace(/[,_]/g,"-"),l=this.getBaseFontMetrics(c),r=c.split("-")[0],r=(this.isSerifFont(r)?Ma.Serif:0)|(l.monospace?Ma.FixedPitch:0)|(we[r]?Ma.Symbolic:Ma.Nonsymbolic),k={type:e,name:c,widths:l.widths,defaultWidth:l.defaultWidth,flags:r,firstChar:0,lastChar:k};this.extractDataStructures(g,g,d,k);k.widths=this.buildCharCodeToWidth(l.widths,k);return new Lb(c,null,k)}var m=g.get("FirstChar")||0,t=g.get("LastChar")||k,r=l.get("FontName"),
|
299 |
+
v=g.get("BaseFont");ja(r)&&(r=Fa.get(r));ja(v)&&(v=Fa.get(v));if("Type3"!==e){var q=r&&r.name,p=v&&v.name;q!==p&&(R("The FontDescriptor's FontName is \""+q+'" but should be the same as the Font\'s BaseFont "'+p+'"'),q&&p&&0===p.indexOf(q)&&(r=v))}r=r||v;ba(P(r),"invalid font name");if((v=l.get("FontFile","FontFile2","FontFile3"))&&v.dict){var u=v.dict.get("Subtype");u&&(u=u.name);var w=v.dict.get("Length1"),y=v.dict.get("Length2")}k={type:e,name:r.name,subtype:u,file:v,length1:w,length2:y,loadedName:c.loadedName,
|
300 |
+
composite:h,wideChars:h,fixedPitch:!1,fontMatrix:g.get("FontMatrix")||Ya,firstChar:m||0,lastChar:t||k,bbox:l.get("FontBBox"),ascent:l.get("Ascent"),descent:l.get("Descent"),xHeight:l.get("XHeight"),capHeight:l.get("CapHeight"),flags:l.get("Flags"),italicAngle:l.get("ItalicAngle"),coded:!1};h&&(h=c.get("Encoding"),P(h)&&(k.cidEncoding=h.name),k.cMap=Mb.create(h,{url:PDFJS.cMapUrl,packed:PDFJS.cMapPacked},null),k.vertical=k.cMap.vertical);this.extractDataStructures(g,c,d,k);this.extractWidths(g,d,l,
|
301 |
+
k);"Type3"===e&&(k.isType3Font=!0);return new Lb(r.name,v,k)}};return e}(),yc=function(){function e(a,c,b){this.loadedName=a;this.font=c;this.dict=b;this.type3Loaded=null;this.sent=!1}e.prototype={send:function(a){if(!this.sent){var c=this.font.exportData();a.send("commonobj",[this.loadedName,"Font",c]);this.sent=!0}},loadType3Data:function(a,c,b){ba(this.font.isType3Font);if(this.type3Loaded)return this.type3Loaded;var d=this.font,f=Promise.resolve(),g=this.dict.get("CharProcs").getAll(),h=this.dict.get("Resources")||
|
302 |
+
c;c=Object.keys(g);for(var l={},e=0,k=c.length;e<k;++e)f=f.then(function(d){var c=g[d],f=new db;return a.getOperatorList(c,h,f).then(function(){l[d]=f.getIR();b.addDependencies(f.dependencies)},function(a){L('Type3 font resource "'+d+'" is not available');a=new db;l[d]=a.getIR()})}.bind(this,c[e]));return this.type3Loaded=f.then(function(){d.charProcOperatorList=l})}};return e}(),db=function(){function e(a,c,b){this.messageHandler=c;this.fnArray=[];this.argsArray=[];this.dependencies={};this.pageIndex=
|
303 |
+
b;this.intent=a}e.prototype={get length(){return this.argsArray.length},addOp:function(a,c){this.fnArray.push(a);this.argsArray.push(c);this.messageHandler&&(1E3<=this.fnArray.length?this.flush():995<=this.fnArray.length&&(a===x.restore||a===x.endText)&&this.flush())},addDependency:function(a){a in this.dependencies||(this.dependencies[a]=!0,this.addOp(x.dependency,[a]))},addDependencies:function(a){for(var c in a)this.addDependency(c)},addOpList:function(a){N.extendObj(this.dependencies,a.dependencies);
|
304 |
+
for(var c=0,b=a.length;c<b;c++)this.addOp(a.fnArray[c],a.argsArray[c])},getIR:function(){return{fnArray:this.fnArray,argsArray:this.argsArray,length:this.length}},flush:function(a){"oplist"!==this.intent&&(new xe).optimize(this);for(var c=[],b=this.fnArray,d=this.argsArray,f=0,g=this.length;f<g;f++)switch(b[f]){case x.paintInlineImageXObject:case x.paintInlineImageXObjectGroup:case x.paintImageMaskXObject:var h=d[f][0];h.cached||c.push(h.data.buffer)}this.messageHandler.send("RenderPageChunk",{operatorList:{fnArray:this.fnArray,
|
305 |
+
argsArray:this.argsArray,lastChunk:a,length:this.length},pageIndex:this.pageIndex,intent:this.intent},c);this.dependencies={};this.fnArray.length=0;this.argsArray.length=0}};return e}(),nd=function(){function e(a){this.state=a;this.stateStack=[]}e.prototype={save:function(){var a=this.state;this.stateStack.push(this.state);this.state=a.clone()},restore:function(){var a=this.stateStack.pop();a&&(this.state=a)},transform:function(a){this.state.ctm=N.transform(this.state.ctm,a)}};return e}(),te=function(){function e(){this.ctm=
|
306 |
+
new Float32Array(pb);this.fontSize=0;this.font=null;this.fontMatrix=Ya;this.textMatrix=pb.slice();this.textLineMatrix=pb.slice();this.leading=this.wordSpacing=this.charSpacing=0;this.textHScale=1;this.textRise=0}e.prototype={setTextMatrix:function(a,c,b,d,f,g){var h=this.textMatrix;h[0]=a;h[1]=c;h[2]=b;h[3]=d;h[4]=f;h[5]=g},setTextLineMatrix:function(a,c,b,d,f,g){var h=this.textLineMatrix;h[0]=a;h[1]=c;h[2]=b;h[3]=d;h[4]=f;h[5]=g},translateTextMatrix:function(a,c){var b=this.textMatrix;b[4]=b[0]*
|
307 |
+
a+b[2]*c+b[4];b[5]=b[1]*a+b[3]*c+b[5]},translateTextLineMatrix:function(a,c){var b=this.textLineMatrix;b[4]=b[0]*a+b[2]*c+b[4];b[5]=b[1]*a+b[3]*c+b[5]},calcRenderMatrix:function(a){return N.transform(a,N.transform(this.textMatrix,[this.fontSize*this.textHScale,0,0,this.fontSize,0,this.textRise]))},carriageReturn:function(){this.translateTextLineMatrix(0,-this.leading);this.textMatrix=this.textLineMatrix.slice()},clone:function(){var a=Object.create(this);a.textMatrix=this.textMatrix.slice();a.textLineMatrix=
|
308 |
+
this.textLineMatrix.slice();a.fontMatrix=this.fontMatrix.slice();return a}};return e}(),se=function(){function e(){this.ctm=new Float32Array(pb);this.font=null;this.textRenderingMode=0;this.strokeColorSpace=this.fillColorSpace=Q.singletons.gray}e.prototype={clone:function(){return Object.create(this)}};return e}(),od=function(){function e(c,b,d){this.parser=new bb(new ta(c,a),!1,b);this.stateManager=d;this.nonProcessedArgs=[]}var a={w:{id:x.setLineWidth,numArgs:1,variableArgs:!1},J:{id:x.setLineCap,
|
309 |
+
numArgs:1,variableArgs:!1},j:{id:x.setLineJoin,numArgs:1,variableArgs:!1},M:{id:x.setMiterLimit,numArgs:1,variableArgs:!1},d:{id:x.setDash,numArgs:2,variableArgs:!1},ri:{id:x.setRenderingIntent,numArgs:1,variableArgs:!1},i:{id:x.setFlatness,numArgs:1,variableArgs:!1},gs:{id:x.setGState,numArgs:1,variableArgs:!1},q:{id:x.save,numArgs:0,variableArgs:!1},Q:{id:x.restore,numArgs:0,variableArgs:!1},cm:{id:x.transform,numArgs:6,variableArgs:!1},m:{id:x.moveTo,numArgs:2,variableArgs:!1},l:{id:x.lineTo,numArgs:2,
|
310 |
+
variableArgs:!1},c:{id:x.curveTo,numArgs:6,variableArgs:!1},v:{id:x.curveTo2,numArgs:4,variableArgs:!1},y:{id:x.curveTo3,numArgs:4,variableArgs:!1},h:{id:x.closePath,numArgs:0,variableArgs:!1},re:{id:x.rectangle,numArgs:4,variableArgs:!1},S:{id:x.stroke,numArgs:0,variableArgs:!1},s:{id:x.closeStroke,numArgs:0,variableArgs:!1},f:{id:x.fill,numArgs:0,variableArgs:!1},F:{id:x.fill,numArgs:0,variableArgs:!1},"f*":{id:x.eoFill,numArgs:0,variableArgs:!1},B:{id:x.fillStroke,numArgs:0,variableArgs:!1},"B*":{id:x.eoFillStroke,
|
311 |
+
numArgs:0,variableArgs:!1},b:{id:x.closeFillStroke,numArgs:0,variableArgs:!1},"b*":{id:x.closeEOFillStroke,numArgs:0,variableArgs:!1},n:{id:x.endPath,numArgs:0,variableArgs:!1},W:{id:x.clip,numArgs:0,variableArgs:!1},"W*":{id:x.eoClip,numArgs:0,variableArgs:!1},BT:{id:x.beginText,numArgs:0,variableArgs:!1},ET:{id:x.endText,numArgs:0,variableArgs:!1},Tc:{id:x.setCharSpacing,numArgs:1,variableArgs:!1},Tw:{id:x.setWordSpacing,numArgs:1,variableArgs:!1},Tz:{id:x.setHScale,numArgs:1,variableArgs:!1},TL:{id:x.setLeading,
|
312 |
+
numArgs:1,variableArgs:!1},Tf:{id:x.setFont,numArgs:2,variableArgs:!1},Tr:{id:x.setTextRenderingMode,numArgs:1,variableArgs:!1},Ts:{id:x.setTextRise,numArgs:1,variableArgs:!1},Td:{id:x.moveText,numArgs:2,variableArgs:!1},TD:{id:x.setLeadingMoveText,numArgs:2,variableArgs:!1},Tm:{id:x.setTextMatrix,numArgs:6,variableArgs:!1},"T*":{id:x.nextLine,numArgs:0,variableArgs:!1},Tj:{id:x.showText,numArgs:1,variableArgs:!1},TJ:{id:x.showSpacedText,numArgs:1,variableArgs:!1},"'":{id:x.nextLineShowText,numArgs:1,
|
313 |
+
variableArgs:!1},'"':{id:x.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1},d0:{id:x.setCharWidth,numArgs:2,variableArgs:!1},d1:{id:x.setCharWidthAndBounds,numArgs:6,variableArgs:!1},CS:{id:x.setStrokeColorSpace,numArgs:1,variableArgs:!1},cs:{id:x.setFillColorSpace,numArgs:1,variableArgs:!1},SC:{id:x.setStrokeColor,numArgs:4,variableArgs:!0},SCN:{id:x.setStrokeColorN,numArgs:33,variableArgs:!0},sc:{id:x.setFillColor,numArgs:4,variableArgs:!0},scn:{id:x.setFillColorN,numArgs:33,variableArgs:!0},
|
314 |
+
G:{id:x.setStrokeGray,numArgs:1,variableArgs:!1},g:{id:x.setFillGray,numArgs:1,variableArgs:!1},RG:{id:x.setStrokeRGBColor,numArgs:3,variableArgs:!1},rg:{id:x.setFillRGBColor,numArgs:3,variableArgs:!1},K:{id:x.setStrokeCMYKColor,numArgs:4,variableArgs:!1},k:{id:x.setFillCMYKColor,numArgs:4,variableArgs:!1},sh:{id:x.shadingFill,numArgs:1,variableArgs:!1},BI:{id:x.beginInlineImage,numArgs:0,variableArgs:!1},ID:{id:x.beginImageData,numArgs:0,variableArgs:!1},EI:{id:x.endInlineImage,numArgs:1,variableArgs:!1},
|
315 |
+
Do:{id:x.paintXObject,numArgs:1,variableArgs:!1},MP:{id:x.markPoint,numArgs:1,variableArgs:!1},DP:{id:x.markPointProps,numArgs:2,variableArgs:!1},BMC:{id:x.beginMarkedContent,numArgs:1,variableArgs:!1},BDC:{id:x.beginMarkedContentProps,numArgs:2,variableArgs:!1},EMC:{id:x.endMarkedContent,numArgs:0,variableArgs:!1},BX:{id:x.beginCompat,numArgs:0,variableArgs:!1},EX:{id:x.endCompat,numArgs:0,variableArgs:!1},BM:null,BD:null,"true":null,fa:null,fal:null,fals:null,"false":null,nu:null,nul:null,"null":null};
|
316 |
+
e.prototype={get savedStatesDepth(){return this.stateManager.stateStack.length},read:function(c){for(var b=c.args;;){var d=this.parser.getObj();if(da(d)){var f=d.cmd;if(d=a[f]){var f=d.id,g=d.numArgs,h=null!==b?b.length:0;if(d.variableArgs)h>g&&R("Command "+f+": expected [0,"+g+"] args, but received "+h+" args");else{if(h!==g){for(d=this.nonProcessedArgs;h>g;)d.push(b.shift()),h--;for(;h<g&&0!==d.length;)b||(b=[]),b.unshift(d.pop()),h++}if(h<g){R("Command "+f+": because expected "+g+" args, but received "+
|
317 |
+
h+" args; skipping");b=null;continue}}this.preprocessCommand(f,b);c.fn=f;c.args=b;return!0}L('Unknown command "'+f+'"')}else{if(d===ea)return!1;null!==d&&(b||(b=[]),b.push(d instanceof Ga?d.getAll():d),ba(33>=b.length,"Too many arguments"))}}},preprocessCommand:function(a,b){switch(a|0){case x.save:this.stateManager.save();break;case x.restore:this.stateManager.restore();break;case x.transform:this.stateManager.transform(b)}}};return e}(),xe=function(){function e(a,d,c){for(var g=0,h=d.length-1;g<
|
318 |
+
h;g++){var l=d[g];a=a[l]||(a[l]=[])}a[d[d.length-1]]=c}function a(){}var c=[];e(c,[x.save,x.transform,x.paintInlineImageXObject,x.restore],function(a){var d=a.fnArray,c=a.argsArray,g=a.iCurr;a=g-3;for(var h=g-2,g=g-1,l=a+4,e=d.length;l+3<e&&d[l]===x.save&&d[l+1]===x.transform&&d[l+2]===x.paintInlineImageXObject&&d[l+3]===x.restore;)l+=4;e=Math.min((l-a)/4,200);if(10>e)return l;var k=0,l=[],r=0,m=1,t=1,v;for(v=0;v<e;v++){var q=c[h+(v<<2)],p=c[g+(v<<2)][0];1E3<m+p.width&&(k=Math.max(k,m),t+=r+2,r=m=
|
319 |
+
0);l.push({transform:q,x:m,y:t,w:p.width,h:p.height});m+=p.width+2;r=Math.max(r,p.height)}h=Math.max(k,m)+1;r=t+r+1;t=new Uint8Array(h*r*4);k=h<<2;for(v=0;v<e;v++){var m=c[g+(v<<2)][0].data,q=l[v].w<<2,p=0,u=l[v].x+l[v].y*h<<2;t.set(m.subarray(0,q),u-k);for(var w=0,y=l[v].h;w<y;w++)t.set(m.subarray(p,p+q),u),p+=q,u+=k;for(t.set(m.subarray(p-q,p),u);0<=u;)m[u-4]=m[u],m[u-3]=m[u+1],m[u-2]=m[u+2],m[u-1]=m[u+3],m[u+q]=m[u+q-4],m[u+q+1]=m[u+q-3],m[u+q+2]=m[u+q-2],m[u+q+3]=m[u+q-1],u-=k}d.splice(a,4*e,
|
320 |
+
x.paintInlineImageXObjectGroup);c.splice(a,4*e,[{width:h,height:r,kind:3,data:t},l]);return a+1});e(c,[x.save,x.transform,x.paintImageMaskXObject,x.restore],function(a){var d=a.fnArray,c=a.argsArray,g=a.iCurr;a=g-3;for(var h=g-2,g=g-1,l=a+4,e=d.length;l+3<e&&d[l]===x.save&&d[l+1]===x.transform&&d[l+2]===x.paintImageMaskXObject&&d[l+3]===x.restore;)l+=4;for(var e=(l-a)/4,k=a+2,r=0;r<e;r++){var m=c[k+4*r];if((m=1===m.length&&m[0])&&1===m.width&&1===m.height&&(!m.data.length||1===m.data.length&&0===
|
321 |
+
m.data[0]))d[k+4*r]=x.paintSolidColorImageMask;else break}e-=r;if(10>e)return l;var t=!1,m=c[g][0];if(0===c[h][1]&&0===c[h][2])for(var t=!0,v=c[h][0],q=c[h][3],r=h+4,p=g+4,l=1;l<e;l++,r+=4,p+=4)if(k=c[r],c[p][0]!==m||k[0]!==v||0!==k[1]||0!==k[2]||k[3]!==q){10>l?t=!1:e=l;break}if(t){e=Math.min(e,1E3);g=new Float32Array(2*e);r=h;for(l=0;l<e;l++,r+=4)k=c[r],g[l<<1]=k[4],g[(l<<1)+1]=k[5];d.splice(a,4*e,x.paintImageMaskXObjectRepeat);c.splice(a,4*e,[m,v,q,g])}else{e=Math.min(e,100);v=[];for(l=0;l<e;l++)k=
|
322 |
+
c[h+(l<<2)],q=c[g+(l<<2)][0],v.push({data:q.data,width:q.width,height:q.height,transform:k});d.splice(a,4*e,x.paintImageMaskXObjectGroup);c.splice(a,4*e,[v])}return a+1});e(c,[x.save,x.transform,x.paintImageXObject,x.restore],function(a){var d=a.fnArray,c=a.argsArray,g=a.iCurr;a=g-3;var h=g-2;if(0!==c[h][1]||0!==c[h][2])return g+1;for(var g=c[g-1][0],l=c[h][0],e=c[h][3],k=a+4,r=d.length;k+3<r&&d[k]===x.save&&d[k+1]===x.transform&&d[k+2]===x.paintImageXObject&&d[k+3]===x.restore&&c[k+1][0]===l&&0===
|
323 |
+
c[k+1][1]&&0===c[k+1][2]&&c[k+1][3]===e&&c[k+2][0]===g;)k+=4;r=Math.min((k-a)/4,1E3);if(3>r)return k;for(var k=new Float32Array(2*r),m=0;m<r;m++,h+=4){var t=c[h];k[m<<1]=t[4];k[(m<<1)+1]=t[5]}g=[g,l,e,k];d.splice(a,4*r,x.paintImageXObjectRepeat);c.splice(a,4*r,g);return a+1});e(c,[x.beginText,x.setFont,x.setTextMatrix,x.showText,x.endText],function(a){var d=a.fnArray,c=a.argsArray,g=a.iCurr,h=g-4,l=g-3,e=g-2,k=g-1,r=c[l][0],m=c[l][1],t=h+5;for(a=d.length;t+4<a&&d[t]===x.beginText&&d[t+1]===x.setFont&&
|
324 |
+
d[t+2]===x.setTextMatrix&&d[t+3]===x.showText&&d[t+4]===x.endText&&c[t+1][0]===r&&c[t+1][1]===m;)t+=5;a=Math.min((t-h)/5,1E3);if(3>a)return t;t=h;4<=h&&d[h-4]===d[l]&&d[h-3]===d[e]&&d[h-2]===d[k]&&d[h-1]===d[g]&&c[h-4][0]===r&&c[h-4][1]===m&&(a++,t-=5);g=t+4;for(h=1;h<a;h++)d.splice(g,3),c.splice(g,3),g+=2;return g+1});a.prototype={optimize:function(a){var d=a.fnArray;a={iCurr:0,fnArray:d,argsArray:a.argsArray};for(var f,g=0,h=d.length;g<h;)f=(f||c)[d[g]],"function"===typeof f?(a.iCurr=g,g=f(a),f=
|
325 |
+
void 0,h=a.fnArray.length):g++}};return a}(),ye="Adobe-GB1-UCS2 Adobe-CNS1-UCS2 Adobe-Japan1-UCS2 Adobe-Korea1-UCS2 78-EUC-H 78-EUC-V 78-H 78-RKSJ-H 78-RKSJ-V 78-V 78ms-RKSJ-H 78ms-RKSJ-V 83pv-RKSJ-H 90ms-RKSJ-H 90ms-RKSJ-V 90msp-RKSJ-H 90msp-RKSJ-V 90pv-RKSJ-H 90pv-RKSJ-V Add-H Add-RKSJ-H Add-RKSJ-V Add-V Adobe-CNS1-0 Adobe-CNS1-1 Adobe-CNS1-2 Adobe-CNS1-3 Adobe-CNS1-4 Adobe-CNS1-5 Adobe-CNS1-6 Adobe-GB1-0 Adobe-GB1-1 Adobe-GB1-2 Adobe-GB1-3 Adobe-GB1-4 Adobe-GB1-5 Adobe-Japan1-0 Adobe-Japan1-1 Adobe-Japan1-2 Adobe-Japan1-3 Adobe-Japan1-4 Adobe-Japan1-5 Adobe-Japan1-6 Adobe-Korea1-0 Adobe-Korea1-1 Adobe-Korea1-2 B5-H B5-V B5pc-H B5pc-V CNS-EUC-H CNS-EUC-V CNS1-H CNS1-V CNS2-H CNS2-V ETHK-B5-H ETHK-B5-V ETen-B5-H ETen-B5-V ETenms-B5-H ETenms-B5-V EUC-H EUC-V Ext-H Ext-RKSJ-H Ext-RKSJ-V Ext-V GB-EUC-H GB-EUC-V GB-H GB-V GBK-EUC-H GBK-EUC-V GBK2K-H GBK2K-V GBKp-EUC-H GBKp-EUC-V GBT-EUC-H GBT-EUC-V GBT-H GBT-V GBTpc-EUC-H GBTpc-EUC-V GBpc-EUC-H GBpc-EUC-V H HKdla-B5-H HKdla-B5-V HKdlb-B5-H HKdlb-B5-V HKgccs-B5-H HKgccs-B5-V HKm314-B5-H HKm314-B5-V HKm471-B5-H HKm471-B5-V HKscs-B5-H HKscs-B5-V Hankaku Hiragana KSC-EUC-H KSC-EUC-V KSC-H KSC-Johab-H KSC-Johab-V KSC-V KSCms-UHC-H KSCms-UHC-HW-H KSCms-UHC-HW-V KSCms-UHC-V KSCpc-EUC-H KSCpc-EUC-V Katakana NWP-H NWP-V RKSJ-H RKSJ-V Roman UniCNS-UCS2-H UniCNS-UCS2-V UniCNS-UTF16-H UniCNS-UTF16-V UniCNS-UTF32-H UniCNS-UTF32-V UniCNS-UTF8-H UniCNS-UTF8-V UniGB-UCS2-H UniGB-UCS2-V UniGB-UTF16-H UniGB-UTF16-V UniGB-UTF32-H UniGB-UTF32-V UniGB-UTF8-H UniGB-UTF8-V UniJIS-UCS2-H UniJIS-UCS2-HW-H UniJIS-UCS2-HW-V UniJIS-UCS2-V UniJIS-UTF16-H UniJIS-UTF16-V UniJIS-UTF32-H UniJIS-UTF32-V UniJIS-UTF8-H UniJIS-UTF8-V UniJIS2004-UTF16-H UniJIS2004-UTF16-V UniJIS2004-UTF32-H UniJIS2004-UTF32-V UniJIS2004-UTF8-H UniJIS2004-UTF8-V UniJISPro-UCS2-HW-V UniJISPro-UCS2-V UniJISPro-UTF8-V UniJISX0213-UTF32-H UniJISX0213-UTF32-V UniJISX02132004-UTF32-H UniJISX02132004-UTF32-V UniKS-UCS2-H UniKS-UCS2-V UniKS-UTF16-H UniKS-UTF16-V UniKS-UTF32-H UniKS-UTF32-V UniKS-UTF8-H UniKS-UTF8-V V WP-Symbol".split(" "),
|
326 |
+
hb=function(){function e(a){this.codespaceRanges=[[],[],[],[]];this.numCodespaceRanges=0;this._map=[];this.vertical=!1;this.useCMap=null;this.builtInCMap=a}e.prototype={addCodespaceRange:function(a,c,b){this.codespaceRanges[a-1].push(c,b);this.numCodespaceRanges++},mapCidRange:function(a,c,b){for(;a<=c;)this._map[a++]=b++},mapBfRange:function(a,c,b){for(var d=b.length-1;a<=c;)this._map[a++]=b,b=b.substr(0,d)+String.fromCharCode(b.charCodeAt(d)+1)},mapBfRangeToArray:function(a,c,b){for(var d=0,f=b.length;a<=
|
327 |
+
c&&d<f;)this._map[a]=b[d++],++a},mapOne:function(a,c){this._map[a]=c},lookup:function(a){return this._map[a]},contains:function(a){return void 0!==this._map[a]},forEach:function(a){var c=this._map,b=c.length,d;if(65536>=b)for(d=0;d<b;d++)void 0!==c[d]&&a(d,c[d]);else for(d in this._map)a(d,c[d])},charCodeOf:function(a){return this._map.indexOf(a)},getMap:function(){return this._map},readCharCode:function(a,c,b){for(var d=0,f=this.codespaceRanges,g=this.codespaceRanges.length,h=0;h<g;h++)for(var d=
|
328 |
+
(d<<8|a.charCodeAt(c+h))>>>0,l=f[h],e=0,k=l.length;e<k;){var r=l[e++],m=l[e++];if(d>=r&&d<=m){b.charcode=d;b.length=h+1;return}}b.charcode=0;b.length=1}};return e}(),cc=function(){function e(a,c){hb.call(this);this.vertical=a;this.addCodespaceRange(c,0,65535)}N.inherit(e,hb,{});e.prototype={addCodespaceRange:hb.prototype.addCodespaceRange,mapCidRange:function(a,c,b){G("should not call mapCidRange")},mapBfRange:function(a,c,b){G("should not call mapBfRange")},mapBfRangeToArray:function(a,c,b){G("should not call mapBfRangeToArray")},
|
329 |
+
mapOne:function(a,c){G("should not call mapCidOne")},lookup:function(a){return V(a)&&65535>=a?a:void 0},contains:function(a){return V(a)&&65535>=a},forEach:function(a){for(var c=0;65535>=c;c++)a(c,c)},charCodeOf:function(a){return V(a)&&65535>=a?a:-1},getMap:function(){for(var a=Array(65536),c=0;65535>=c;c++)a[c]=c;return a},readCharCode:hb.prototype.readCharCode};return e}(),ze=function(){function e(a){var b=PDFJS.disableWorker,d=new XMLHttpRequest;d.open("GET",a,!1);if(!b)try{d.responseType="arraybuffer",
|
330 |
+
b="arraybuffer"!==d.responseType}catch(c){b=!0}b&&d.overrideMimeType&&d.overrideMimeType("text/plain; charset=x-user-defined");d.send(null);(b?d.responseText:d.response)||G("Unable to get binary cMap at: "+a);return b?(a=Array.prototype.map.call(d.responseText,function(a){return a.charCodeAt(0)&255}),new Uint8Array(a)):new Uint8Array(d.response)}function a(a,b){for(var d=0,c=0;c<=b;c++)d=d<<8|a[c];return d>>>0}function c(a,b){return 1===b?String.fromCharCode(a[0],a[1]):3===b?String.fromCharCode(a[0],
|
331 |
+
a[1],a[2],a[3]):String.fromCharCode.apply(null,a.subarray(0,b+1))}function b(a,b,d){for(var c=0;0<=d;d--)c+=a[d]+b[d],a[d]=c&255,c>>=8}function d(a,b){for(var d=1,c=b;0<=c&&0<d;c--)d+=a[c],a[c]=d&255,d>>=8}function f(a){this.buffer=a;this.pos=0;this.end=a.length;this.tmpBuf=new Uint8Array(19)}function g(){}f.prototype={readByte:function(){return this.pos>=this.end?-1:this.buffer[this.pos++]},readNumber:function(){var a=0,b;do{var d=this.readByte();0>d&&G("unexpected EOF in bcmap");b=!(d&128);a=a<<
|
332 |
+
7|d&127}while(!b);return a},readSigned:function(){var a=this.readNumber();return a&1?~(a>>>1):a>>>1},readHex:function(a,b){a.set(this.buffer.subarray(this.pos,this.pos+b+1));this.pos+=b+1},readHexNumber:function(a,b){var d,c=this.tmpBuf,f=0;do{var g=this.readByte();0>g&&G("unexpected EOF in bcmap");d=!(g&128);c[f++]=g&127}while(!d);d=b;for(var e=g=0;0<=d;){for(;8>e&&0<c.length;)g|=c[--f]<<e,e+=7;a[d]=g&255;d--;g>>=8;e-=8}},readHexSigned:function(a,b){this.readHexNumber(a,b);for(var d=a[b]&1?255:0,
|
333 |
+
c=0,f=0;f<=b;f++)c=(c&1)<<8|a[f],a[f]=c>>1^d},readString:function(){for(var a=this.readNumber(),b="",d=0;d<a;d++)b+=String.fromCharCode(this.readNumber());return b}};g.prototype={read:function(h,g,n){h=e(h);h=new f(h);var k=h.readByte();g.vertical=!!(k&1);for(var k=null,r=new Uint8Array(16),m=new Uint8Array(16),t=new Uint8Array(16),v=new Uint8Array(16),q=new Uint8Array(16),p,u;0<=(u=h.readByte());)if(p=u>>5,7===p)switch(u&31){case 0:h.readString();break;case 1:k=h.readString()}else{var w=!!(u&16);
|
334 |
+
u&=15;ba(16>=u+1);var y=h.readNumber(),C;switch(p){case 0:h.readHex(r,u);h.readHexNumber(m,u);b(m,r,u);g.addCodespaceRange(u+1,a(r,u),a(m,u));for(C=1;C<y;C++)d(m,u),h.readHexNumber(r,u),b(r,m,u),h.readHexNumber(m,u),b(m,r,u),g.addCodespaceRange(u+1,a(r,u),a(m,u));break;case 1:h.readHex(r,u);h.readHexNumber(m,u);b(m,r,u);h.readNumber();for(C=1;C<y;C++)d(m,u),h.readHexNumber(r,u),b(r,m,u),h.readHexNumber(m,u),b(m,r,u),h.readNumber();break;case 2:h.readHex(t,u);p=h.readNumber();g.mapOne(a(t,u),p);for(C=
|
335 |
+
1;C<y;C++)d(t,u),w||(h.readHexNumber(q,u),b(t,q,u)),p=h.readSigned()+(p+1),g.mapOne(a(t,u),p);break;case 3:h.readHex(r,u);h.readHexNumber(m,u);b(m,r,u);p=h.readNumber();g.mapCidRange(a(r,u),a(m,u),p);for(C=1;C<y;C++)d(m,u),w?r.set(m):(h.readHexNumber(r,u),b(r,m,u)),h.readHexNumber(m,u),b(m,r,u),p=h.readNumber(),g.mapCidRange(a(r,u),a(m,u),p);break;case 4:h.readHex(t,1);h.readHex(v,u);g.mapOne(a(t,1),c(v,u));for(C=1;C<y;C++)d(t,1),w||(h.readHexNumber(q,1),b(t,q,1)),d(v,u),h.readHexSigned(q,u),b(v,
|
336 |
+
q,u),g.mapOne(a(t,1),c(v,u));break;case 5:h.readHex(r,1);h.readHexNumber(m,1);b(m,r,1);h.readHex(v,u);g.mapBfRange(a(r,1),a(m,1),c(v,u));for(C=1;C<y;C++)d(m,1),w?r.set(m):(h.readHexNumber(r,1),b(r,m,1)),h.readHexNumber(m,1),b(m,r,1),h.readHex(v,u),g.mapBfRange(a(r,1),a(m,1),c(v,u));break;default:G("Unknown type: "+p)}}k&&n(k);return g}};return g}(),Mb=function(){function e(a){for(var b=0,d=0;d<a.length;d++)b=b<<8|a.charCodeAt(d);return b>>>0}function a(a){ja(a)||G("Malformed CMap: expected string.")}
|
337 |
+
function c(a){V(a)||G("Malformed CMap: expected int.")}function b(b,f,g,k){var r,m;a:for(;;){var t=f.getObj();if(t===ea)break;else if(P(t)){if("WMode"===t.name){r=b;var v=f.getObj();V(v)&&(r.vertical=!!v)}r=t}else if(da(t))switch(t.cmd){case "endcmap":break a;case "usecmap":P(r)&&(m=r.name);break;case "begincodespacerange":b:{t=b;for(v=f;;){var q=v.getObj();if(q===ea)break;if(da(q,"endcodespacerange"))break b;if(!ja(q))break;var p=e(q),q=v.getObj();if(!ja(q))break;var u=e(q);t.addCodespaceRange(q.length,
|
338 |
+
p,u)}G("Invalid codespace range.")}break;case "beginbfchar":b:for(t=b,v=f;;){q=v.getObj();if(q===ea)break;if(da(q,"endbfchar"))break b;a(q);p=e(q);q=v.getObj();a(q);t.mapOne(p,q)}break;case "begincidchar":b:for(t=b,v=f;;){q=v.getObj();if(q===ea)break;if(da(q,"endcidchar"))break b;a(q);p=e(q);q=v.getObj();c(q);t.mapOne(p,q)}break;case "beginbfrange":b:{t=b;for(v=f;;){u=v.getObj();if(u===ea)break;if(da(u,"endbfrange"))break b;a(u);q=e(u);u=v.getObj();a(u);p=e(u);u=v.getObj();if(V(u)||ja(u))u=V(u)?String.fromCharCode(u):
|
339 |
+
u,t.mapBfRange(q,p,u);else if(da(u,"[")){for(var u=v.getObj(),w=[];!da(u,"]")&&u!==ea;)w.push(u),u=v.getObj();t.mapBfRangeToArray(q,p,w)}else break}G("Invalid bf range.")}break;case "begincidrange":b:for(t=b,v=f;;){q=v.getObj();if(q===ea)break;if(da(q,"endcidrange"))break b;a(q);p=e(q);q=v.getObj();a(q);u=e(q);q=v.getObj();c(q);t.mapCidRange(p,u,q)}}}!k&&m&&(k=m);k&&d(b,g,k)}function d(a,b,d){a.useCMap=g(d,b);if(0===a.numCodespaceRanges){b=a.useCMap.codespaceRanges;for(d=0;d<b.length;d++)a.codespaceRanges[d]=
|
340 |
+
b[d].slice();a.numCodespaceRanges=a.useCMap.numCodespaceRanges}a.useCMap.forEach(function(b,d){a.contains(b)||a.mapOne(b,a.useCMap.lookup(b))})}function f(a,b){var c=b.url+a+".bcmap",f=new hb(!0);(new ze).read(c,f,function(a){d(f,b,a)});return f}function g(a,d){if("Identity-H"===a)return new cc(!1,2);if("Identity-V"===a)return new cc(!0,2);-1===ye.indexOf(a)&&G("Unknown cMap name: "+a);ba(d,"built-in cMap parameters are not provided");if(d.packed)return f(a,d);var c=new XMLHttpRequest,g=d.url+a;c.open("GET",
|
341 |
+
g,!1);c.send(null);c.responseText||G("Unable to get cMap at: "+g);g=new hb(!0);c=new ta(new Ae(c.responseText));b(g,c,d,null);return g}return{create:function(a,d,c){if(P(a))return g(a.name,d);if(oa(a)){var f=new hb;a=new ta(a);try{b(f,a,d,c)}catch(e){L("Invalid CMap data. "+e)}return f}G("Encoding required.")}}}(),rd=!1,zb=!1,Ma={FixedPitch:1,Serif:2,Symbolic:4,Script:8,Nonsymbolic:32,Italic:64,AllCap:65536,SmallCap:131072,ForceBold:262144},la={ExpertEncoding:" space exclamsmall Hungarumlautsmall dollaroldstyle dollarsuperior ampersandsmall Acutesmall parenleftsuperior parenrightsuperior twodotenleader onedotenleader comma hyphen period fraction zerooldstyle oneoldstyle twooldstyle threeoldstyle fouroldstyle fiveoldstyle sixoldstyle sevenoldstyle eightoldstyle nineoldstyle colon semicolon commasuperior threequartersemdash periodsuperior questionsmall asuperior bsuperior centsuperior dsuperior esuperior isuperior lsuperior msuperior nsuperior osuperior rsuperior ssuperior tsuperior ff fi fl ffi ffl parenleftinferior parenrightinferior Circumflexsmall hyphensuperior Gravesmall Asmall Bsmall Csmall Dsmall Esmall Fsmall Gsmall Hsmall Ismall Jsmall Ksmall Lsmall Msmall Nsmall Osmall Psmall Qsmall Rsmall Ssmall Tsmall Usmall Vsmall Wsmall Xsmall Ysmall Zsmall colonmonetary onefitted rupiah Tildesmall exclamdownsmall centoldstyle Lslashsmall Scaronsmall Zcaronsmall Dieresissmall Brevesmall Caronsmall Dotaccentsmall Macronsmall figuredash hypheninferior Ogoneksmall Ringsmall Cedillasmall onequarter onehalf threequarters questiondownsmall oneeighth threeeighths fiveeighths seveneighths onethird twothirds zerosuperior onesuperior twosuperior threesuperior foursuperior fivesuperior sixsuperior sevensuperior eightsuperior ninesuperior zeroinferior oneinferior twoinferior threeinferior fourinferior fiveinferior sixinferior seveninferior eightinferior nineinferior centinferior dollarinferior periodinferior commainferior Agravesmall Aacutesmall Acircumflexsmall Atildesmall Adieresissmall Aringsmall AEsmall Ccedillasmall Egravesmall Eacutesmall Ecircumflexsmall Edieresissmall Igravesmall Iacutesmall Icircumflexsmall Idieresissmall Ethsmall Ntildesmall Ogravesmall Oacutesmall Ocircumflexsmall Otildesmall Odieresissmall OEsmall Oslashsmall Ugravesmall Uacutesmall Ucircumflexsmall Udieresissmall Yacutesmall Thornsmall Ydieresissmall".split(" "),
|
342 |
+
MacExpertEncoding:" space exclamsmall Hungarumlautsmall centoldstyle dollaroldstyle dollarsuperior ampersandsmall Acutesmall parenleftsuperior parenrightsuperior twodotenleader onedotenleader comma hyphen period fraction zerooldstyle oneoldstyle twooldstyle threeoldstyle fouroldstyle fiveoldstyle sixoldstyle sevenoldstyle eightoldstyle nineoldstyle colon semicolon threequartersemdash questionsmall Ethsmall onequarter onehalf threequarters oneeighth threeeighths fiveeighths seveneighths onethird twothirds ff fi fl ffi ffl parenleftinferior parenrightinferior Circumflexsmall hypheninferior Gravesmall Asmall Bsmall Csmall Dsmall Esmall Fsmall Gsmall Hsmall Ismall Jsmall Ksmall Lsmall Msmall Nsmall Osmall Psmall Qsmall Rsmall Ssmall Tsmall Usmall Vsmall Wsmall Xsmall Ysmall Zsmall colonmonetary onefitted rupiah Tildesmall asuperior centsuperior Aacutesmall Agravesmall Acircumflexsmall Adieresissmall Atildesmall Aringsmall Ccedillasmall Eacutesmall Egravesmall Ecircumflexsmall Edieresissmall Iacutesmall Igravesmall Icircumflexsmall Idieresissmall Ntildesmall Oacutesmall Ogravesmall Ocircumflexsmall Odieresissmall Otildesmall Uacutesmall Ugravesmall Ucircumflexsmall Udieresissmall eightsuperior fourinferior threeinferior sixinferior eightinferior seveninferior Scaronsmall centinferior twoinferior Dieresissmall Caronsmall osuperior fiveinferior commainferior periodinferior Yacutesmall dollarinferior Thornsmall nineinferior zeroinferior Zcaronsmall AEsmall Oslashsmall questiondownsmall oneinferior Lslashsmall Cedillasmall OEsmall figuredash hyphensuperior exclamdownsmall Ydieresissmall onesuperior twosuperior threesuperior foursuperior fivesuperior sixsuperior sevensuperior ninesuperior zerosuperior esuperior rsuperior tsuperior isuperior ssuperior dsuperior lsuperior Ogoneksmall Brevesmall Macronsmall bsuperior nsuperior msuperior commasuperior periodsuperior Dotaccentsmall Ringsmall".split(" "),
|
343 |
+
MacRomanEncoding:" space exclam quotedbl numbersign dollar percent ampersand quotesingle parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bracketleft backslash bracketright asciicircum underscore grave a b c d e f g h i j k l m n o p q r s t u v w x y z braceleft bar braceright asciitilde Adieresis Aring Ccedilla Eacute Ntilde Odieresis Udieresis aacute agrave acircumflex adieresis atilde aring ccedilla eacute egrave ecircumflex edieresis iacute igrave icircumflex idieresis ntilde oacute ograve ocircumflex odieresis otilde uacute ugrave ucircumflex udieresis dagger degree cent sterling section bullet paragraph germandbls registered copyright trademark acute dieresis notequal AE Oslash infinity plusminus lessequal greaterequal yen mu partialdiff summation product pi integral ordfeminine ordmasculine Omega ae oslash questiondown exclamdown logicalnot radical florin approxequal Delta guillemotleft guillemotright ellipsis space Agrave Atilde Otilde OE oe endash emdash quotedblleft quotedblright quoteleft quoteright divide lozenge ydieresis Ydieresis fraction currency guilsinglleft guilsinglright fi fl daggerdbl periodcentered quotesinglbase quotedblbase perthousand Acircumflex Ecircumflex Aacute Edieresis Egrave Iacute Icircumflex Idieresis Igrave Oacute Ocircumflex apple Ograve Uacute Ucircumflex Ugrave dotlessi circumflex tilde macron breve dotaccent ring cedilla hungarumlaut ogonek caron".split(" "),
|
344 |
+
StandardEncoding:" space exclam quotedbl numbersign dollar percent ampersand quoteright parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bracketleft backslash bracketright asciicircum underscore quoteleft a b c d e f g h i j k l m n o p q r s t u v w x y z braceleft bar braceright asciitilde exclamdown cent sterling fraction yen florin section currency quotesingle quotedblleft guillemotleft guilsinglleft guilsinglright fi fl endash dagger daggerdbl periodcentered paragraph bullet quotesinglbase quotedblbase quotedblright guillemotright ellipsis perthousand questiondown grave acute circumflex tilde macron breve dotaccent dieresis ring cedilla hungarumlaut ogonek caron emdash AE ordfeminine Lslash Oslash OE ordmasculine ae dotlessi lslash oslash oe germandbls".split(" "),
|
345 |
+
WinAnsiEncoding:" space exclam quotedbl numbersign dollar percent ampersand quotesingle parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bracketleft backslash bracketright asciicircum underscore grave a b c d e f g h i j k l m n o p q r s t u v w x y z braceleft bar braceright asciitilde bullet Euro bullet quotesinglbase florin quotedblbase ellipsis dagger daggerdbl circumflex perthousand Scaron guilsinglleft OE bullet Zcaron bullet bullet quoteleft quoteright quotedblleft quotedblright bullet endash emdash tilde trademark scaron guilsinglright oe bullet zcaron Ydieresis space exclamdown cent sterling currency yen brokenbar section dieresis copyright ordfeminine guillemotleft logicalnot hyphen registered macron degree plusminus twosuperior threesuperior acute mu paragraph periodcentered cedilla onesuperior ordmasculine guillemotright onequarter onehalf threequarters questiondown Agrave Aacute Acircumflex Atilde Adieresis Aring AE Ccedilla Egrave Eacute Ecircumflex Edieresis Igrave Iacute Icircumflex Idieresis Eth Ntilde Ograve Oacute Ocircumflex Otilde Odieresis multiply Oslash Ugrave Uacute Ucircumflex Udieresis Yacute Thorn germandbls agrave aacute acircumflex atilde adieresis aring ae ccedilla egrave eacute ecircumflex edieresis igrave iacute icircumflex idieresis eth ntilde ograve oacute ocircumflex otilde odieresis divide oslash ugrave uacute ucircumflex udieresis yacute thorn ydieresis".split(" "),
|
346 |
+
SymbolSetEncoding:" space exclam universal numbersign existential percent ampersand suchthat parenleft parenright asteriskmath plus comma minus period slash zero one two three four five six seven eight nine colon semicolon less equal greater question congruent Alpha Beta Chi Delta Epsilon Phi Gamma Eta Iota theta1 Kappa Lambda Mu Nu Omicron Pi Theta Rho Sigma Tau Upsilon sigma1 Omega Xi Psi Zeta bracketleft therefore bracketright perpendicular underscore radicalex alpha beta chi delta epsilon phi gamma eta iota phi1 kappa lambda mu nu omicron pi theta rho sigma tau upsilon omega1 omega xi psi zeta braceleft bar braceright similar Euro Upsilon1 minute lessequal fraction infinity florin club diamond heart spade arrowboth arrowleft arrowup arrowright arrowdown degree plusminus second greaterequal multiply proportional partialdiff bullet divide notequal equivalence approxequal ellipsis arrowvertex arrowhorizex carriagereturn aleph Ifraktur Rfraktur weierstrass circlemultiply circleplus emptyset intersection union propersuperset reflexsuperset notsubset propersubset reflexsubset element notelement angle gradient registerserif copyrightserif trademarkserif product radical dotmath logicalnot logicaland logicalor arrowdblboth arrowdblleft arrowdblup arrowdblright arrowdbldown lozenge angleleft registersans copyrightsans trademarksans summation parenlefttp parenleftex parenleftbt bracketlefttp bracketleftex bracketleftbt bracelefttp braceleftmid braceleftbt braceex angleright integral integraltp integralex integralbt parenrighttp parenrightex parenrightbt bracketrighttp bracketrightex bracketrightbt bracerighttp bracerightmid bracerightbt".split(" "),
|
347 |
+
ZapfDingbatsEncoding:" space a1 a2 a202 a3 a4 a5 a119 a118 a117 a11 a12 a13 a14 a15 a16 a105 a17 a18 a19 a20 a21 a22 a23 a24 a25 a26 a27 a28 a6 a7 a8 a9 a10 a29 a30 a31 a32 a33 a34 a35 a36 a37 a38 a39 a40 a41 a42 a43 a44 a45 a46 a47 a48 a49 a50 a51 a52 a53 a54 a55 a56 a57 a58 a59 a60 a61 a62 a63 a64 a65 a66 a67 a68 a69 a70 a71 a72 a73 a74 a203 a75 a204 a76 a77 a78 a79 a81 a82 a83 a84 a97 a98 a99 a100 a89 a90 a93 a94 a91 a92 a205 a85 a206 a86 a87 a88 a95 a96 a101 a102 a103 a104 a106 a107 a108 a112 a111 a110 a109 a120 a121 a122 a123 a124 a125 a126 a127 a128 a129 a130 a131 a132 a133 a134 a135 a136 a137 a138 a139 a140 a141 a142 a143 a144 a145 a146 a147 a148 a149 a150 a151 a152 a153 a154 a155 a156 a157 a158 a159 a160 a161 a163 a164 a196 a165 a192 a166 a167 a168 a169 a170 a171 a172 a173 a162 a174 a175 a176 a177 a178 a179 a193 a180 a199 a181 a200 a182 a201 a183 a184 a197 a185 a194 a198 a186 a195 a187 a188 a189 a190 a191".split(" ")},
|
348 |
+
yb={ArialNarrow:"Helvetica","ArialNarrow-Bold":"Helvetica-Bold","ArialNarrow-BoldItalic":"Helvetica-BoldOblique","ArialNarrow-Italic":"Helvetica-Oblique",ArialBlack:"Helvetica","ArialBlack-Bold":"Helvetica-Bold","ArialBlack-BoldItalic":"Helvetica-BoldOblique","ArialBlack-Italic":"Helvetica-Oblique",Arial:"Helvetica","Arial-Bold":"Helvetica-Bold","Arial-BoldItalic":"Helvetica-BoldOblique","Arial-Italic":"Helvetica-Oblique","Arial-BoldItalicMT":"Helvetica-BoldOblique","Arial-BoldMT":"Helvetica-Bold",
|
349 |
+
"Arial-ItalicMT":"Helvetica-Oblique",ArialMT:"Helvetica","Courier-Bold":"Courier-Bold","Courier-BoldItalic":"Courier-BoldOblique","Courier-Italic":"Courier-Oblique",CourierNew:"Courier","CourierNew-Bold":"Courier-Bold","CourierNew-BoldItalic":"Courier-BoldOblique","CourierNew-Italic":"Courier-Oblique","CourierNewPS-BoldItalicMT":"Courier-BoldOblique","CourierNewPS-BoldMT":"Courier-Bold","CourierNewPS-ItalicMT":"Courier-Oblique",CourierNewPSMT:"Courier",Helvetica:"Helvetica","Helvetica-Bold":"Helvetica-Bold",
|
350 |
+
"Helvetica-BoldItalic":"Helvetica-BoldOblique","Helvetica-BoldOblique":"Helvetica-BoldOblique","Helvetica-Italic":"Helvetica-Oblique","Helvetica-Oblique":"Helvetica-Oblique","Symbol-Bold":"Symbol","Symbol-BoldItalic":"Symbol","Symbol-Italic":"Symbol",TimesNewRoman:"Times-Roman","TimesNewRoman-Bold":"Times-Bold","TimesNewRoman-BoldItalic":"Times-BoldItalic","TimesNewRoman-Italic":"Times-Italic",TimesNewRomanPS:"Times-Roman","TimesNewRomanPS-Bold":"Times-Bold","TimesNewRomanPS-BoldItalic":"Times-BoldItalic",
|
351 |
+
"TimesNewRomanPS-BoldItalicMT":"Times-BoldItalic","TimesNewRomanPS-BoldMT":"Times-Bold","TimesNewRomanPS-Italic":"Times-Italic","TimesNewRomanPS-ItalicMT":"Times-Italic",TimesNewRomanPSMT:"Times-Roman","TimesNewRomanPSMT-Bold":"Times-Bold","TimesNewRomanPSMT-BoldItalic":"Times-BoldItalic","TimesNewRomanPSMT-Italic":"Times-Italic"},zc={CenturyGothic:"Helvetica","CenturyGothic-Bold":"Helvetica-Bold","CenturyGothic-BoldItalic":"Helvetica-BoldOblique","CenturyGothic-Italic":"Helvetica-Oblique",ComicSansMS:"Comic Sans MS",
|
352 |
+
"ComicSansMS-Bold":"Comic Sans MS-Bold","ComicSansMS-BoldItalic":"Comic Sans MS-BoldItalic","ComicSansMS-Italic":"Comic Sans MS-Italic",LucidaConsole:"Courier","LucidaConsole-Bold":"Courier-Bold","LucidaConsole-BoldItalic":"Courier-BoldOblique","LucidaConsole-Italic":"Courier-Oblique","MS-Gothic":"MS Gothic","MS-Gothic-Bold":"MS Gothic-Bold","MS-Gothic-BoldItalic":"MS Gothic-BoldItalic","MS-Gothic-Italic":"MS Gothic-Italic","MS-Mincho":"MS Mincho","MS-Mincho-Bold":"MS Mincho-Bold","MS-Mincho-BoldItalic":"MS Mincho-BoldItalic",
|
353 |
+
"MS-Mincho-Italic":"MS Mincho-Italic","MS-PGothic":"MS PGothic","MS-PGothic-Bold":"MS PGothic-Bold","MS-PGothic-BoldItalic":"MS PGothic-BoldItalic","MS-PGothic-Italic":"MS PGothic-Italic","MS-PMincho":"MS PMincho","MS-PMincho-Bold":"MS PMincho-Bold","MS-PMincho-BoldItalic":"MS PMincho-BoldItalic","MS-PMincho-Italic":"MS PMincho-Italic",Wingdings:"ZapfDingbats"},ue={"Adobe Jenson":!0,"Adobe Text":!0,Albertus:!0,Aldus:!0,Alexandria:!0,Algerian:!0,"American Typewriter":!0,Antiqua:!0,Apex:!0,Arno:!0,
|
354 |
+
Aster:!0,Aurora:!0,Baskerville:!0,Bell:!0,Bembo:!0,"Bembo Schoolbook":!0,Benguiat:!0,"Berkeley Old Style":!0,"Bernhard Modern":!0,"Berthold City":!0,Bodoni:!0,"Bauer Bodoni":!0,"Book Antiqua":!0,Bookman:!0,"Bordeaux Roman":!0,"Californian FB":!0,Calisto:!0,Calvert:!0,Capitals:!0,Cambria:!0,Cartier:!0,Caslon:!0,Catull:!0,Centaur:!0,"Century Old Style":!0,"Century Schoolbook":!0,Chaparral:!0,"Charis SIL":!0,Cheltenham:!0,"Cholla Slab":!0,Clarendon:!0,Clearface:!0,Cochin:!0,Colonna:!0,"Computer Modern":!0,
|
355 |
+
"Concrete Roman":!0,Constantia:!0,"Cooper Black":!0,Corona:!0,Ecotype:!0,Egyptienne:!0,Elephant:!0,Excelsior:!0,Fairfield:!0,"FF Scala":!0,Folkard:!0,Footlight:!0,FreeSerif:!0,"Friz Quadrata":!0,Garamond:!0,Gentium:!0,Georgia:!0,Gloucester:!0,"Goudy Old Style":!0,"Goudy Schoolbook":!0,"Goudy Pro Font":!0,Granjon:!0,"Guardian Egyptian":!0,Heather:!0,Hercules:!0,"High Tower Text":!0,Hiroshige:!0,"Hoefler Text":!0,"Humana Serif":!0,Imprint:!0,"Ionic No. 5":!0,Janson:!0,Joanna:!0,Korinna:!0,Lexicon:!0,
|
356 |
+
"Liberation Serif":!0,"Linux Libertine":!0,Literaturnaya:!0,Lucida:!0,"Lucida Bright":!0,Melior:!0,Memphis:!0,Miller:!0,Minion:!0,Modern:!0,"Mona Lisa":!0,"Mrs Eaves":!0,"MS Serif":!0,"Museo Slab":!0,"New York":!0,"Nimbus Roman":!0,"NPS Rawlinson Roadway":!0,Palatino:!0,Perpetua:!0,Plantin:!0,"Plantin Schoolbook":!0,Playbill:!0,"Poor Richard":!0,"Rawlinson Roadway":!0,Renault:!0,Requiem:!0,Rockwell:!0,Roman:!0,"Rotis Serif":!0,Sabon:!0,Scala:!0,Seagull:!0,Sistina:!0,Souvenir:!0,STIX:!0,"Stone Informal":!0,
|
357 |
+
"Stone Serif":!0,Sylfaen:!0,Times:!0,Trajan:!0,"Trinit\u00e9":!0,"Trump Mediaeval":!0,Utopia:!0,"Vale Type":!0,"Bitstream Vera":!0,"Vera Serif":!0,Versailles:!0,Wanted:!0,Weiss:!0,"Wide Latin":!0,Windsor:!0,XITS:!0},we={Dingbats:!0,Symbol:!0,ZapfDingbats:!0},sd={2:10,3:32,4:33,5:34,6:35,7:36,8:37,9:38,10:39,11:40,12:41,13:42,14:43,15:44,16:45,17:46,18:47,19:48,20:49,21:50,22:51,23:52,24:53,25:54,26:55,27:56,28:57,29:58,30:894,31:60,32:61,33:62,34:63,35:64,36:65,37:66,38:67,39:68,40:69,41:70,42:71,
|
358 |
+
43:72,44:73,45:74,46:75,47:76,48:77,49:78,50:79,51:80,52:81,53:82,54:83,55:84,56:85,57:86,58:87,59:88,60:89,61:90,62:91,63:92,64:93,65:94,66:95,67:96,68:97,69:98,70:99,71:100,72:101,73:102,74:103,75:104,76:105,77:106,78:107,79:108,80:109,81:110,82:111,83:112,84:113,85:114,86:115,87:116,88:117,89:118,90:119,91:120,92:121,93:122,94:123,95:124,96:125,97:126,98:196,99:197,100:199,101:201,102:209,103:214,104:220,105:225,106:224,107:226,108:228,109:227,110:229,111:231,112:233,113:232,114:234,115:235,116:237,
|
359 |
+
117:236,118:238,119:239,120:241,121:243,122:242,123:244,124:246,125:245,126:250,127:249,128:251,129:252,130:8224,131:176,132:162,133:163,134:167,135:8226,136:182,137:223,138:174,139:169,140:8482,141:180,142:168,143:8800,144:198,145:216,146:8734,147:177,148:8804,149:8805,150:165,151:181,152:8706,153:8721,154:8719,156:8747,157:170,158:186,159:8486,160:230,161:248,162:191,163:161,164:172,165:8730,166:402,167:8776,168:8710,169:171,170:187,171:8230,210:218,223:711,224:321,225:322,227:353,229:382,234:253,
|
360 |
+
252:263,253:268,254:269,258:258,260:260,261:261,265:280,266:281,268:283,269:313,275:323,276:324,278:328,284:345,285:346,286:347,292:367,295:377,296:378,298:380,305:963,306:964,307:966,308:8215,309:8252,310:8319,311:8359,312:8592,313:8593,337:9552,493:1039,494:1040,705:1524,706:8362,710:64288,711:64298,759:1617,761:1776,763:1778,775:1652,777:1764,778:1780,779:1781,780:1782,782:771,783:64726,786:8363,788:8532,790:768,791:769,792:768,795:803,797:64336,798:64337,799:64342,800:64343,801:64344,802:64345,
|
361 |
+
803:64362,804:64363,805:64364,2424:7821,2425:7822,2426:7823,2427:7824,2428:7825,2429:7826,2430:7827,2433:7682,2678:8045,2679:8046,2830:1552,2838:686,2840:751,2842:753,2843:754,2844:755,2846:757,2856:767,2857:848,2858:849,2862:853,2863:854,2864:855,2865:861,2866:862,2906:7460,2908:7462,2909:7463,2910:7464,2912:7466,2913:7467,2914:7468,2916:7470,2917:7471,2918:7472,2920:7474,2921:7475,2922:7476,2924:7478,2925:7479,2926:7480,2928:7482,2929:7483,2930:7484,2932:7486,2933:7487,2934:7488,2936:7490,2937:7491,
|
362 |
+
2938:7492,2940:7494,2941:7495,2942:7496,2944:7498,2946:7500,2948:7502,2950:7504,2951:7505,2952:7506,2954:7508,2955:7509,2956:7510,2958:7512,2959:7513,2960:7514,2962:7516,2963:7517,2964:7518,2966:7520,2967:7521,2968:7522,2970:7524,2971:7525,2972:7526,2974:7528,2975:7529,2976:7530,2978:1537,2979:1538,2980:1539,2982:1549,2983:1551,2984:1552,2986:1554,2987:1555,2988:1556,2990:1623,2991:1624,2995:1775,2999:1791,3002:64290,3003:64291,3004:64292,3006:64294,3007:64295,3008:64296,3011:1900,3014:8223,3015:8244,
|
363 |
+
3017:7532,3018:7533,3019:7534,3075:7590,3076:7591,3079:7594,3080:7595,3083:7598,3084:7599,3087:7602,3088:7603,3091:7606,3092:7607,3095:7610,3096:7611,3099:7614,3100:7615,3103:7618,3104:7619,3107:8337,3108:8338,3116:1884,3119:1885,3120:1885,3123:1886,3124:1886,3127:1887,3128:1887,3131:1888,3132:1888,3135:1889,3136:1889,3139:1890,3140:1890,3143:1891,3144:1891,3147:1892,3148:1892,3153:580,3154:581,3157:584,3158:585,3161:588,3162:589,3165:891,3166:892,3169:1274,3170:1275,3173:1278,3174:1279,3181:7622,
|
364 |
+
3182:7623,3282:11799,3316:578,3379:42785,3393:1159,3416:8377},Be={63721:169,63193:169,63720:174,63194:174,63722:8482,63195:8482,63729:9127,63730:9128,63731:9129,63740:9131,63741:9132,63742:9133,63726:9121,63727:9122,63728:9123,63737:9124,63738:9125,63739:9126,63723:9115,63724:9116,63725:9117,63734:9118,63735:9119,63736:9120},bc=[{begin:0,end:127},{begin:128,end:255},{begin:256,end:383},{begin:384,end:591},{begin:592,end:687},{begin:688,end:767},{begin:768,end:879},{begin:880,end:1023},{begin:11392,
|
365 |
+
end:11519},{begin:1024,end:1279},{begin:1328,end:1423},{begin:1424,end:1535},{begin:42240,end:42559},{begin:1536,end:1791},{begin:1984,end:2047},{begin:2304,end:2431},{begin:2432,end:2559},{begin:2560,end:2687},{begin:2688,end:2815},{begin:2816,end:2943},{begin:2944,end:3071},{begin:3072,end:3199},{begin:3200,end:3327},{begin:3328,end:3455},{begin:3584,end:3711},{begin:3712,end:3839},{begin:4256,end:4351},{begin:6912,end:7039},{begin:4352,end:4607},{begin:7680,end:7935},{begin:7936,end:8191},{begin:8192,
|
366 |
+
end:8303},{begin:8304,end:8351},{begin:8352,end:8399},{begin:8400,end:8447},{begin:8448,end:8527},{begin:8528,end:8591},{begin:8592,end:8703},{begin:8704,end:8959},{begin:8960,end:9215},{begin:9216,end:9279},{begin:9280,end:9311},{begin:9312,end:9471},{begin:9472,end:9599},{begin:9600,end:9631},{begin:9632,end:9727},{begin:9728,end:9983},{begin:9984,end:10175},{begin:12288,end:12351},{begin:12352,end:12447},{begin:12448,end:12543},{begin:12544,end:12591},{begin:12592,end:12687},{begin:43072,end:43135},
|
367 |
+
{begin:12800,end:13055},{begin:13056,end:13311},{begin:44032,end:55215},{begin:55296,end:57343},{begin:67840,end:67871},{begin:19968,end:40959},{begin:57344,end:63743},{begin:12736,end:12783},{begin:64256,end:64335},{begin:64336,end:65023},{begin:65056,end:65071},{begin:65040,end:65055},{begin:65104,end:65135},{begin:65136,end:65279},{begin:65280,end:65519},{begin:65520,end:65535},{begin:3840,end:4095},{begin:1792,end:1871},{begin:1920,end:1983},{begin:3456,end:3583},{begin:4096,end:4255},{begin:4608,
|
368 |
+
end:4991},{begin:5024,end:5119},{begin:5120,end:5759},{begin:5760,end:5791},{begin:5792,end:5887},{begin:6016,end:6143},{begin:6144,end:6319},{begin:10240,end:10495},{begin:40960,end:42127},{begin:5888,end:5919},{begin:66304,end:66351},{begin:66352,end:66383},{begin:66560,end:66639},{begin:118784,end:119039},{begin:119808,end:120831},{begin:1044480,end:1048573},{begin:65024,end:65039},{begin:917504,end:917631},{begin:6400,end:6479},{begin:6480,end:6527},{begin:6528,end:6623},{begin:6656,end:6687},
|
369 |
+
{begin:11264,end:11359},{begin:11568,end:11647},{begin:19904,end:19967},{begin:43008,end:43055},{begin:65536,end:65663},{begin:65856,end:65935},{begin:66432,end:66463},{begin:66464,end:66527},{begin:66640,end:66687},{begin:66688,end:66735},{begin:67584,end:67647},{begin:68096,end:68191},{begin:119552,end:119647},{begin:73728,end:74751},{begin:119648,end:119679},{begin:7040,end:7103},{begin:7168,end:7247},{begin:7248,end:7295},{begin:43136,end:43231},{begin:43264,end:43311},{begin:43312,end:43359},
|
370 |
+
{begin:43520,end:43615},{begin:65936,end:65999},{begin:66E3,end:66047},{begin:66208,end:66271},{begin:127024,end:127135}],td=".notdef .null nonmarkingreturn space exclam quotedbl numbersign dollar percent ampersand quotesingle parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bracketleft backslash bracketright asciicircum underscore grave a b c d e f g h i j k l m n o p q r s t u v w x y z braceleft bar braceright asciitilde Adieresis Aring Ccedilla Eacute Ntilde Odieresis Udieresis aacute agrave acircumflex adieresis atilde aring ccedilla eacute egrave ecircumflex edieresis iacute igrave icircumflex idieresis ntilde oacute ograve ocircumflex odieresis otilde uacute ugrave ucircumflex udieresis dagger degree cent sterling section bullet paragraph germandbls registered copyright trademark acute dieresis notequal AE Oslash infinity plusminus lessequal greaterequal yen mu partialdiff summation product pi integral ordfeminine ordmasculine Omega ae oslash questiondown exclamdown logicalnot radical florin approxequal Delta guillemotleft guillemotright ellipsis nonbreakingspace Agrave Atilde Otilde OE oe endash emdash quotedblleft quotedblright quoteleft quoteright divide lozenge ydieresis Ydieresis fraction currency guilsinglleft guilsinglright fi fl daggerdbl periodcentered quotesinglbase quotedblbase perthousand Acircumflex Ecircumflex Aacute Edieresis Egrave Iacute Icircumflex Idieresis Igrave Oacute Ocircumflex apple Ograve Uacute Ucircumflex Ugrave dotlessi circumflex tilde macron breve dotaccent ring cedilla hungarumlaut ogonek caron Lslash lslash Scaron scaron Zcaron zcaron brokenbar Eth eth Yacute yacute Thorn thorn minus multiply onesuperior twosuperior threesuperior onehalf onequarter threequarters franc Gbreve gbreve Idotaccent Scedilla scedilla Cacute cacute Ccaron ccaron dcroat".split(" "),
|
371 |
+
pd={"\u00a8":" \u0308","\u00af":" \u0304","\u00b4":" \u0301","\u00b5":"\u03bc","\u00b8":" \u0327","\u0132":"IJ","\u0133":"ij","\u013f":"L\u00b7","\u0140":"l\u00b7","\u0149":"\u02bcn","\u017f":"s","\u01c4":"D\u017d","\u01c5":"D\u017e","\u01c6":"d\u017e","\u01c7":"LJ","\u01c8":"Lj","\u01c9":"lj","\u01ca":"NJ","\u01cb":"Nj","\u01cc":"nj","\u01f1":"DZ","\u01f2":"Dz","\u01f3":"dz","\u02d8":" \u0306","\u02d9":" \u0307","\u02da":" \u030a","\u02db":" \u0328","\u02dc":" \u0303","\u02dd":" \u030b","\u037a":" \u0345",
|
372 |
+
"\u0384":" \u0301","\u03d0":"\u03b2","\u03d1":"\u03b8","\u03d2":"\u03a5","\u03d5":"\u03c6","\u03d6":"\u03c0","\u03f0":"\u03ba","\u03f1":"\u03c1","\u03f2":"\u03c2","\u03f4":"\u0398","\u03f5":"\u03b5","\u03f9":"\u03a3","\u0587":"\u0565\u0582","\u0675":"\u0627\u0674","\u0676":"\u0648\u0674","\u0677":"\u06c7\u0674","\u0678":"\u064a\u0674","\u0e33":"\u0e4d\u0e32","\u0eb3":"\u0ecd\u0eb2","\u0edc":"\u0eab\u0e99","\u0edd":"\u0eab\u0ea1","\u0f77":"\u0fb2\u0f81","\u0f79":"\u0fb3\u0f81","\u1e9a":"a\u02be","\u1fbd":" \u0313",
|
373 |
+
"\u1fbf":" \u0313","\u1fc0":" \u0342","\u1ffe":" \u0314","\u2002":" ","\u2003":" ","\u2004":" ","\u2005":" ","\u2006":" ","\u2008":" ","\u2009":" ","\u200a":" ","\u2017":" \u0333","\u2024":".","\u2025":"..","\u2026":"...","\u2033":"\u2032\u2032","\u2034":"\u2032\u2032\u2032","\u2036":"\u2035\u2035","\u2037":"\u2035\u2035\u2035","\u203c":"!!","\u203e":" \u0305","\u2047":"??","\u2048":"?!","\u2049":"!?","\u2057":"\u2032\u2032\u2032\u2032","\u205f":" ","\u20a8":"Rs","\u2100":"a/c","\u2101":"a/s","\u2103":"\u00b0C",
|
374 |
+
"\u2105":"c/o","\u2106":"c/u","\u2107":"\u0190","\u2109":"\u00b0F","\u2116":"No","\u2121":"TEL","\u2135":"\u05d0","\u2136":"\u05d1","\u2137":"\u05d2","\u2138":"\u05d3","\u213b":"FAX","\u2160":"I","\u2161":"II","\u2162":"III","\u2163":"IV","\u2164":"V","\u2165":"VI","\u2166":"VII","\u2167":"VIII","\u2168":"IX","\u2169":"X","\u216a":"XI","\u216b":"XII","\u216c":"L","\u216d":"C","\u216e":"D","\u216f":"M","\u2170":"i","\u2171":"ii","\u2172":"iii","\u2173":"iv","\u2174":"v","\u2175":"vi","\u2176":"vii",
|
375 |
+
"\u2177":"viii","\u2178":"ix","\u2179":"x","\u217a":"xi","\u217b":"xii","\u217c":"l","\u217d":"c","\u217e":"d","\u217f":"m","\u222c":"\u222b\u222b","\u222d":"\u222b\u222b\u222b","\u222f":"\u222e\u222e","\u2230":"\u222e\u222e\u222e","\u2474":"(1)","\u2475":"(2)","\u2476":"(3)","\u2477":"(4)","\u2478":"(5)","\u2479":"(6)","\u247a":"(7)","\u247b":"(8)","\u247c":"(9)","\u247d":"(10)","\u247e":"(11)","\u247f":"(12)","\u2480":"(13)","\u2481":"(14)","\u2482":"(15)","\u2483":"(16)","\u2484":"(17)","\u2485":"(18)",
|
376 |
+
"\u2486":"(19)","\u2487":"(20)","\u2488":"1.","\u2489":"2.","\u248a":"3.","\u248b":"4.","\u248c":"5.","\u248d":"6.","\u248e":"7.","\u248f":"8.","\u2490":"9.","\u2491":"10.","\u2492":"11.","\u2493":"12.","\u2494":"13.","\u2495":"14.","\u2496":"15.","\u2497":"16.","\u2498":"17.","\u2499":"18.","\u249a":"19.","\u249b":"20.","\u249c":"(a)","\u249d":"(b)","\u249e":"(c)","\u249f":"(d)","\u24a0":"(e)","\u24a1":"(f)","\u24a2":"(g)","\u24a3":"(h)","\u24a4":"(i)","\u24a5":"(j)","\u24a6":"(k)","\u24a7":"(l)",
|
377 |
+
"\u24a8":"(m)","\u24a9":"(n)","\u24aa":"(o)","\u24ab":"(p)","\u24ac":"(q)","\u24ad":"(r)","\u24ae":"(s)","\u24af":"(t)","\u24b0":"(u)","\u24b1":"(v)","\u24b2":"(w)","\u24b3":"(x)","\u24b4":"(y)","\u24b5":"(z)","\u2a0c":"\u222b\u222b\u222b\u222b","\u2a74":"::=","\u2a75":"==","\u2a76":"===","\u2e9f":"\u6bcd","\u2ef3":"\u9f9f","\u2f00":"\u4e00","\u2f01":"\u4e28","\u2f02":"\u4e36","\u2f03":"\u4e3f","\u2f04":"\u4e59","\u2f05":"\u4e85","\u2f06":"\u4e8c","\u2f07":"\u4ea0","\u2f08":"\u4eba","\u2f09":"\u513f",
|
378 |
+
"\u2f0a":"\u5165","\u2f0b":"\u516b","\u2f0c":"\u5182","\u2f0d":"\u5196","\u2f0e":"\u51ab","\u2f0f":"\u51e0","\u2f10":"\u51f5","\u2f11":"\u5200","\u2f12":"\u529b","\u2f13":"\u52f9","\u2f14":"\u5315","\u2f15":"\u531a","\u2f16":"\u5338","\u2f17":"\u5341","\u2f18":"\u535c","\u2f19":"\u5369","\u2f1a":"\u5382","\u2f1b":"\u53b6","\u2f1c":"\u53c8","\u2f1d":"\u53e3","\u2f1e":"\u56d7","\u2f1f":"\u571f","\u2f20":"\u58eb","\u2f21":"\u5902","\u2f22":"\u590a","\u2f23":"\u5915","\u2f24":"\u5927","\u2f25":"\u5973",
|
379 |
+
"\u2f26":"\u5b50","\u2f27":"\u5b80","\u2f28":"\u5bf8","\u2f29":"\u5c0f","\u2f2a":"\u5c22","\u2f2b":"\u5c38","\u2f2c":"\u5c6e","\u2f2d":"\u5c71","\u2f2e":"\u5ddb","\u2f2f":"\u5de5","\u2f30":"\u5df1","\u2f31":"\u5dfe","\u2f32":"\u5e72","\u2f33":"\u5e7a","\u2f34":"\u5e7f","\u2f35":"\u5ef4","\u2f36":"\u5efe","\u2f37":"\u5f0b","\u2f38":"\u5f13","\u2f39":"\u5f50","\u2f3a":"\u5f61","\u2f3b":"\u5f73","\u2f3c":"\u5fc3","\u2f3d":"\u6208","\u2f3e":"\u6236","\u2f3f":"\u624b","\u2f40":"\u652f","\u2f41":"\u6534",
|
380 |
+
"\u2f42":"\u6587","\u2f43":"\u6597","\u2f44":"\u65a4","\u2f45":"\u65b9","\u2f46":"\u65e0","\u2f47":"\u65e5","\u2f48":"\u66f0","\u2f49":"\u6708","\u2f4a":"\u6728","\u2f4b":"\u6b20","\u2f4c":"\u6b62","\u2f4d":"\u6b79","\u2f4e":"\u6bb3","\u2f4f":"\u6bcb","\u2f50":"\u6bd4","\u2f51":"\u6bdb","\u2f52":"\u6c0f","\u2f53":"\u6c14","\u2f54":"\u6c34","\u2f55":"\u706b","\u2f56":"\u722a","\u2f57":"\u7236","\u2f58":"\u723b","\u2f59":"\u723f","\u2f5a":"\u7247","\u2f5b":"\u7259","\u2f5c":"\u725b","\u2f5d":"\u72ac",
|
381 |
+
"\u2f5e":"\u7384","\u2f5f":"\u7389","\u2f60":"\u74dc","\u2f61":"\u74e6","\u2f62":"\u7518","\u2f63":"\u751f","\u2f64":"\u7528","\u2f65":"\u7530","\u2f66":"\u758b","\u2f67":"\u7592","\u2f68":"\u7676","\u2f69":"\u767d","\u2f6a":"\u76ae","\u2f6b":"\u76bf","\u2f6c":"\u76ee","\u2f6d":"\u77db","\u2f6e":"\u77e2","\u2f6f":"\u77f3","\u2f70":"\u793a","\u2f71":"\u79b8","\u2f72":"\u79be","\u2f73":"\u7a74","\u2f74":"\u7acb","\u2f75":"\u7af9","\u2f76":"\u7c73","\u2f77":"\u7cf8","\u2f78":"\u7f36","\u2f79":"\u7f51",
|
382 |
+
"\u2f7a":"\u7f8a","\u2f7b":"\u7fbd","\u2f7c":"\u8001","\u2f7d":"\u800c","\u2f7e":"\u8012","\u2f7f":"\u8033","\u2f80":"\u807f","\u2f81":"\u8089","\u2f82":"\u81e3","\u2f83":"\u81ea","\u2f84":"\u81f3","\u2f85":"\u81fc","\u2f86":"\u820c","\u2f87":"\u821b","\u2f88":"\u821f","\u2f89":"\u826e","\u2f8a":"\u8272","\u2f8b":"\u8278","\u2f8c":"\u864d","\u2f8d":"\u866b","\u2f8e":"\u8840","\u2f8f":"\u884c","\u2f90":"\u8863","\u2f91":"\u897e","\u2f92":"\u898b","\u2f93":"\u89d2","\u2f94":"\u8a00","\u2f95":"\u8c37",
|
383 |
+
"\u2f96":"\u8c46","\u2f97":"\u8c55","\u2f98":"\u8c78","\u2f99":"\u8c9d","\u2f9a":"\u8d64","\u2f9b":"\u8d70","\u2f9c":"\u8db3","\u2f9d":"\u8eab","\u2f9e":"\u8eca","\u2f9f":"\u8f9b","\u2fa0":"\u8fb0","\u2fa1":"\u8fb5","\u2fa2":"\u9091","\u2fa3":"\u9149","\u2fa4":"\u91c6","\u2fa5":"\u91cc","\u2fa6":"\u91d1","\u2fa7":"\u9577","\u2fa8":"\u9580","\u2fa9":"\u961c","\u2faa":"\u96b6","\u2fab":"\u96b9","\u2fac":"\u96e8","\u2fad":"\u9751","\u2fae":"\u975e","\u2faf":"\u9762","\u2fb0":"\u9769","\u2fb1":"\u97cb",
|
384 |
+
"\u2fb2":"\u97ed","\u2fb3":"\u97f3","\u2fb4":"\u9801","\u2fb5":"\u98a8","\u2fb6":"\u98db","\u2fb7":"\u98df","\u2fb8":"\u9996","\u2fb9":"\u9999","\u2fba":"\u99ac","\u2fbb":"\u9aa8","\u2fbc":"\u9ad8","\u2fbd":"\u9adf","\u2fbe":"\u9b25","\u2fbf":"\u9b2f","\u2fc0":"\u9b32","\u2fc1":"\u9b3c","\u2fc2":"\u9b5a","\u2fc3":"\u9ce5","\u2fc4":"\u9e75","\u2fc5":"\u9e7f","\u2fc6":"\u9ea5","\u2fc7":"\u9ebb","\u2fc8":"\u9ec3","\u2fc9":"\u9ecd","\u2fca":"\u9ed1","\u2fcb":"\u9ef9","\u2fcc":"\u9efd","\u2fcd":"\u9f0e",
|
385 |
+
"\u2fce":"\u9f13","\u2fcf":"\u9f20","\u2fd0":"\u9f3b","\u2fd1":"\u9f4a","\u2fd2":"\u9f52","\u2fd3":"\u9f8d","\u2fd4":"\u9f9c","\u2fd5":"\u9fa0","\u3036":"\u3012","\u3038":"\u5341","\u3039":"\u5344","\u303a":"\u5345","\u309b":" \u3099","\u309c":" \u309a","\u3131":"\u1100","\u3132":"\u1101","\u3133":"\u11aa","\u3134":"\u1102","\u3135":"\u11ac","\u3136":"\u11ad","\u3137":"\u1103","\u3138":"\u1104","\u3139":"\u1105","\u313a":"\u11b0","\u313b":"\u11b1","\u313c":"\u11b2","\u313d":"\u11b3","\u313e":"\u11b4",
|
386 |
+
"\u313f":"\u11b5","\u3140":"\u111a","\u3141":"\u1106","\u3142":"\u1107","\u3143":"\u1108","\u3144":"\u1121","\u3145":"\u1109","\u3146":"\u110a","\u3147":"\u110b","\u3148":"\u110c","\u3149":"\u110d","\u314a":"\u110e","\u314b":"\u110f","\u314c":"\u1110","\u314d":"\u1111","\u314e":"\u1112","\u314f":"\u1161","\u3150":"\u1162","\u3151":"\u1163","\u3152":"\u1164","\u3153":"\u1165","\u3154":"\u1166","\u3155":"\u1167","\u3156":"\u1168","\u3157":"\u1169","\u3158":"\u116a","\u3159":"\u116b","\u315a":"\u116c",
|
387 |
+
"\u315b":"\u116d","\u315c":"\u116e","\u315d":"\u116f","\u315e":"\u1170","\u315f":"\u1171","\u3160":"\u1172","\u3161":"\u1173","\u3162":"\u1174","\u3163":"\u1175","\u3164":"\u1160","\u3165":"\u1114","\u3166":"\u1115","\u3167":"\u11c7","\u3168":"\u11c8","\u3169":"\u11cc","\u316a":"\u11ce","\u316b":"\u11d3","\u316c":"\u11d7","\u316d":"\u11d9","\u316e":"\u111c","\u316f":"\u11dd","\u3170":"\u11df","\u3171":"\u111d","\u3172":"\u111e","\u3173":"\u1120","\u3174":"\u1122","\u3175":"\u1123","\u3176":"\u1127",
|
388 |
+
"\u3177":"\u1129","\u3178":"\u112b","\u3179":"\u112c","\u317a":"\u112d","\u317b":"\u112e","\u317c":"\u112f","\u317d":"\u1132","\u317e":"\u1136","\u317f":"\u1140","\u3180":"\u1147","\u3181":"\u114c","\u3182":"\u11f1","\u3183":"\u11f2","\u3184":"\u1157","\u3185":"\u1158","\u3186":"\u1159","\u3187":"\u1184","\u3188":"\u1185","\u3189":"\u1188","\u318a":"\u1191","\u318b":"\u1192","\u318c":"\u1194","\u318d":"\u119e","\u318e":"\u11a1","\u3200":"(\u1100)","\u3201":"(\u1102)","\u3202":"(\u1103)","\u3203":"(\u1105)",
|
389 |
+
"\u3204":"(\u1106)","\u3205":"(\u1107)","\u3206":"(\u1109)","\u3207":"(\u110b)","\u3208":"(\u110c)","\u3209":"(\u110e)","\u320a":"(\u110f)","\u320b":"(\u1110)","\u320c":"(\u1111)","\u320d":"(\u1112)","\u320e":"(\u1100\u1161)","\u320f":"(\u1102\u1161)","\u3210":"(\u1103\u1161)","\u3211":"(\u1105\u1161)","\u3212":"(\u1106\u1161)","\u3213":"(\u1107\u1161)","\u3214":"(\u1109\u1161)","\u3215":"(\u110b\u1161)","\u3216":"(\u110c\u1161)","\u3217":"(\u110e\u1161)","\u3218":"(\u110f\u1161)","\u3219":"(\u1110\u1161)",
|
390 |
+
"\u321a":"(\u1111\u1161)","\u321b":"(\u1112\u1161)","\u321c":"(\u110c\u116e)","\u321d":"(\u110b\u1169\u110c\u1165\u11ab)","\u321e":"(\u110b\u1169\u1112\u116e)","\u3220":"(\u4e00)","\u3221":"(\u4e8c)","\u3222":"(\u4e09)","\u3223":"(\u56db)","\u3224":"(\u4e94)","\u3225":"(\u516d)","\u3226":"(\u4e03)","\u3227":"(\u516b)","\u3228":"(\u4e5d)","\u3229":"(\u5341)","\u322a":"(\u6708)","\u322b":"(\u706b)","\u322c":"(\u6c34)","\u322d":"(\u6728)","\u322e":"(\u91d1)","\u322f":"(\u571f)","\u3230":"(\u65e5)","\u3231":"(\u682a)",
|
391 |
+
"\u3232":"(\u6709)","\u3233":"(\u793e)","\u3234":"(\u540d)","\u3235":"(\u7279)","\u3236":"(\u8ca1)","\u3237":"(\u795d)","\u3238":"(\u52b4)","\u3239":"(\u4ee3)","\u323a":"(\u547c)","\u323b":"(\u5b66)","\u323c":"(\u76e3)","\u323d":"(\u4f01)","\u323e":"(\u8cc7)","\u323f":"(\u5354)","\u3240":"(\u796d)","\u3241":"(\u4f11)","\u3242":"(\u81ea)","\u3243":"(\u81f3)","\u32c0":"1\u6708","\u32c1":"2\u6708","\u32c2":"3\u6708","\u32c3":"4\u6708","\u32c4":"5\u6708","\u32c5":"6\u6708","\u32c6":"7\u6708","\u32c7":"8\u6708",
|
392 |
+
"\u32c8":"9\u6708","\u32c9":"10\u6708","\u32ca":"11\u6708","\u32cb":"12\u6708","\u3358":"0\u70b9","\u3359":"1\u70b9","\u335a":"2\u70b9","\u335b":"3\u70b9","\u335c":"4\u70b9","\u335d":"5\u70b9","\u335e":"6\u70b9","\u335f":"7\u70b9","\u3360":"8\u70b9","\u3361":"9\u70b9","\u3362":"10\u70b9","\u3363":"11\u70b9","\u3364":"12\u70b9","\u3365":"13\u70b9","\u3366":"14\u70b9","\u3367":"15\u70b9","\u3368":"16\u70b9","\u3369":"17\u70b9","\u336a":"18\u70b9","\u336b":"19\u70b9","\u336c":"20\u70b9","\u336d":"21\u70b9",
|
393 |
+
"\u336e":"22\u70b9","\u336f":"23\u70b9","\u3370":"24\u70b9","\u33e0":"1\u65e5","\u33e1":"2\u65e5","\u33e2":"3\u65e5","\u33e3":"4\u65e5","\u33e4":"5\u65e5","\u33e5":"6\u65e5","\u33e6":"7\u65e5","\u33e7":"8\u65e5","\u33e8":"9\u65e5","\u33e9":"10\u65e5","\u33ea":"11\u65e5","\u33eb":"12\u65e5","\u33ec":"13\u65e5","\u33ed":"14\u65e5","\u33ee":"15\u65e5","\u33ef":"16\u65e5","\u33f0":"17\u65e5","\u33f1":"18\u65e5","\u33f2":"19\u65e5","\u33f3":"20\u65e5","\u33f4":"21\u65e5","\u33f5":"22\u65e5","\u33f6":"23\u65e5",
|
394 |
+
"\u33f7":"24\u65e5","\u33f8":"25\u65e5","\u33f9":"26\u65e5","\u33fa":"27\u65e5","\u33fb":"28\u65e5","\u33fc":"29\u65e5","\u33fd":"30\u65e5","\u33fe":"31\u65e5","\ufb00":"ff","\ufb01":"fi","\ufb02":"fl","\ufb03":"ffi","\ufb04":"ffl","\ufb05":"\u017ft","\ufb06":"st","\ufb13":"\u0574\u0576","\ufb14":"\u0574\u0565","\ufb15":"\u0574\u056b","\ufb16":"\u057e\u0576","\ufb17":"\u0574\u056d","\ufb4f":"\u05d0\u05dc","\ufb50":"\u0671","\ufb51":"\u0671","\ufb52":"\u067b","\ufb53":"\u067b","\ufb54":"\u067b","\ufb55":"\u067b",
|
395 |
+
"\ufb56":"\u067e","\ufb57":"\u067e","\ufb58":"\u067e","\ufb59":"\u067e","\ufb5a":"\u0680","\ufb5b":"\u0680","\ufb5c":"\u0680","\ufb5d":"\u0680","\ufb5e":"\u067a","\ufb5f":"\u067a","\ufb60":"\u067a","\ufb61":"\u067a","\ufb62":"\u067f","\ufb63":"\u067f","\ufb64":"\u067f","\ufb65":"\u067f","\ufb66":"\u0679","\ufb67":"\u0679","\ufb68":"\u0679","\ufb69":"\u0679","\ufb6a":"\u06a4","\ufb6b":"\u06a4","\ufb6c":"\u06a4","\ufb6d":"\u06a4","\ufb6e":"\u06a6","\ufb6f":"\u06a6","\ufb70":"\u06a6","\ufb71":"\u06a6",
|
396 |
+
"\ufb72":"\u0684","\ufb73":"\u0684","\ufb74":"\u0684","\ufb75":"\u0684","\ufb76":"\u0683","\ufb77":"\u0683","\ufb78":"\u0683","\ufb79":"\u0683","\ufb7a":"\u0686","\ufb7b":"\u0686","\ufb7c":"\u0686","\ufb7d":"\u0686","\ufb7e":"\u0687","\ufb7f":"\u0687","\ufb80":"\u0687","\ufb81":"\u0687","\ufb82":"\u068d","\ufb83":"\u068d","\ufb84":"\u068c","\ufb85":"\u068c","\ufb86":"\u068e","\ufb87":"\u068e","\ufb88":"\u0688","\ufb89":"\u0688","\ufb8a":"\u0698","\ufb8b":"\u0698","\ufb8c":"\u0691","\ufb8d":"\u0691",
|
397 |
+
"\ufb8e":"\u06a9","\ufb8f":"\u06a9","\ufb90":"\u06a9","\ufb91":"\u06a9","\ufb92":"\u06af","\ufb93":"\u06af","\ufb94":"\u06af","\ufb95":"\u06af","\ufb96":"\u06b3","\ufb97":"\u06b3","\ufb98":"\u06b3","\ufb99":"\u06b3","\ufb9a":"\u06b1","\ufb9b":"\u06b1","\ufb9c":"\u06b1","\ufb9d":"\u06b1","\ufb9e":"\u06ba","\ufb9f":"\u06ba","\ufba0":"\u06bb","\ufba1":"\u06bb","\ufba2":"\u06bb","\ufba3":"\u06bb","\ufba4":"\u06c0","\ufba5":"\u06c0","\ufba6":"\u06c1","\ufba7":"\u06c1","\ufba8":"\u06c1","\ufba9":"\u06c1",
|
398 |
+
"\ufbaa":"\u06be","\ufbab":"\u06be","\ufbac":"\u06be","\ufbad":"\u06be","\ufbae":"\u06d2","\ufbaf":"\u06d2","\ufbb0":"\u06d3","\ufbb1":"\u06d3","\ufbd3":"\u06ad","\ufbd4":"\u06ad","\ufbd5":"\u06ad","\ufbd6":"\u06ad","\ufbd7":"\u06c7","\ufbd8":"\u06c7","\ufbd9":"\u06c6","\ufbda":"\u06c6","\ufbdb":"\u06c8","\ufbdc":"\u06c8","\ufbdd":"\u0677","\ufbde":"\u06cb","\ufbdf":"\u06cb","\ufbe0":"\u06c5","\ufbe1":"\u06c5","\ufbe2":"\u06c9","\ufbe3":"\u06c9","\ufbe4":"\u06d0","\ufbe5":"\u06d0","\ufbe6":"\u06d0",
|
399 |
+
"\ufbe7":"\u06d0","\ufbe8":"\u0649","\ufbe9":"\u0649","\ufbea":"\u0626\u0627","\ufbeb":"\u0626\u0627","\ufbec":"\u0626\u06d5","\ufbed":"\u0626\u06d5","\ufbee":"\u0626\u0648","\ufbef":"\u0626\u0648","\ufbf0":"\u0626\u06c7","\ufbf1":"\u0626\u06c7","\ufbf2":"\u0626\u06c6","\ufbf3":"\u0626\u06c6","\ufbf4":"\u0626\u06c8","\ufbf5":"\u0626\u06c8","\ufbf6":"\u0626\u06d0","\ufbf7":"\u0626\u06d0","\ufbf8":"\u0626\u06d0","\ufbf9":"\u0626\u0649","\ufbfa":"\u0626\u0649","\ufbfb":"\u0626\u0649","\ufbfc":"\u06cc",
|
400 |
+
"\ufbfd":"\u06cc","\ufbfe":"\u06cc","\ufbff":"\u06cc","\ufc00":"\u0626\u062c","\ufc01":"\u0626\u062d","\ufc02":"\u0626\u0645","\ufc03":"\u0626\u0649","\ufc04":"\u0626\u064a","\ufc05":"\u0628\u062c","\ufc06":"\u0628\u062d","\ufc07":"\u0628\u062e","\ufc08":"\u0628\u0645","\ufc09":"\u0628\u0649","\ufc0a":"\u0628\u064a","\ufc0b":"\u062a\u062c","\ufc0c":"\u062a\u062d","\ufc0d":"\u062a\u062e","\ufc0e":"\u062a\u0645","\ufc0f":"\u062a\u0649","\ufc10":"\u062a\u064a","\ufc11":"\u062b\u062c","\ufc12":"\u062b\u0645",
|
401 |
+
"\ufc13":"\u062b\u0649","\ufc14":"\u062b\u064a","\ufc15":"\u062c\u062d","\ufc16":"\u062c\u0645","\ufc17":"\u062d\u062c","\ufc18":"\u062d\u0645","\ufc19":"\u062e\u062c","\ufc1a":"\u062e\u062d","\ufc1b":"\u062e\u0645","\ufc1c":"\u0633\u062c","\ufc1d":"\u0633\u062d","\ufc1e":"\u0633\u062e","\ufc1f":"\u0633\u0645","\ufc20":"\u0635\u062d","\ufc21":"\u0635\u0645","\ufc22":"\u0636\u062c","\ufc23":"\u0636\u062d","\ufc24":"\u0636\u062e","\ufc25":"\u0636\u0645","\ufc26":"\u0637\u062d","\ufc27":"\u0637\u0645",
|
402 |
+
"\ufc28":"\u0638\u0645","\ufc29":"\u0639\u062c","\ufc2a":"\u0639\u0645","\ufc2b":"\u063a\u062c","\ufc2c":"\u063a\u0645","\ufc2d":"\u0641\u062c","\ufc2e":"\u0641\u062d","\ufc2f":"\u0641\u062e","\ufc30":"\u0641\u0645","\ufc31":"\u0641\u0649","\ufc32":"\u0641\u064a","\ufc33":"\u0642\u062d","\ufc34":"\u0642\u0645","\ufc35":"\u0642\u0649","\ufc36":"\u0642\u064a","\ufc37":"\u0643\u0627","\ufc38":"\u0643\u062c","\ufc39":"\u0643\u062d","\ufc3a":"\u0643\u062e","\ufc3b":"\u0643\u0644","\ufc3c":"\u0643\u0645",
|
403 |
+
"\ufc3d":"\u0643\u0649","\ufc3e":"\u0643\u064a","\ufc3f":"\u0644\u062c","\ufc40":"\u0644\u062d","\ufc41":"\u0644\u062e","\ufc42":"\u0644\u0645","\ufc43":"\u0644\u0649","\ufc44":"\u0644\u064a","\ufc45":"\u0645\u062c","\ufc46":"\u0645\u062d","\ufc47":"\u0645\u062e","\ufc48":"\u0645\u0645","\ufc49":"\u0645\u0649","\ufc4a":"\u0645\u064a","\ufc4b":"\u0646\u062c","\ufc4c":"\u0646\u062d","\ufc4d":"\u0646\u062e","\ufc4e":"\u0646\u0645","\ufc4f":"\u0646\u0649","\ufc50":"\u0646\u064a","\ufc51":"\u0647\u062c",
|
404 |
+
"\ufc52":"\u0647\u0645","\ufc53":"\u0647\u0649","\ufc54":"\u0647\u064a","\ufc55":"\u064a\u062c","\ufc56":"\u064a\u062d","\ufc57":"\u064a\u062e","\ufc58":"\u064a\u0645","\ufc59":"\u064a\u0649","\ufc5a":"\u064a\u064a","\ufc5b":"\u0630\u0670","\ufc5c":"\u0631\u0670","\ufc5d":"\u0649\u0670","\ufc5e":" \u064c\u0651","\ufc5f":" \u064d\u0651","\ufc60":" \u064e\u0651","\ufc61":" \u064f\u0651","\ufc62":" \u0650\u0651","\ufc63":" \u0651\u0670","\ufc64":"\u0626\u0631","\ufc65":"\u0626\u0632","\ufc66":"\u0626\u0645",
|
405 |
+
"\ufc67":"\u0626\u0646","\ufc68":"\u0626\u0649","\ufc69":"\u0626\u064a","\ufc6a":"\u0628\u0631","\ufc6b":"\u0628\u0632","\ufc6c":"\u0628\u0645","\ufc6d":"\u0628\u0646","\ufc6e":"\u0628\u0649","\ufc6f":"\u0628\u064a","\ufc70":"\u062a\u0631","\ufc71":"\u062a\u0632","\ufc72":"\u062a\u0645","\ufc73":"\u062a\u0646","\ufc74":"\u062a\u0649","\ufc75":"\u062a\u064a","\ufc76":"\u062b\u0631","\ufc77":"\u062b\u0632","\ufc78":"\u062b\u0645","\ufc79":"\u062b\u0646","\ufc7a":"\u062b\u0649","\ufc7b":"\u062b\u064a",
|
406 |
+
"\ufc7c":"\u0641\u0649","\ufc7d":"\u0641\u064a","\ufc7e":"\u0642\u0649","\ufc7f":"\u0642\u064a","\ufc80":"\u0643\u0627","\ufc81":"\u0643\u0644","\ufc82":"\u0643\u0645","\ufc83":"\u0643\u0649","\ufc84":"\u0643\u064a","\ufc85":"\u0644\u0645","\ufc86":"\u0644\u0649","\ufc87":"\u0644\u064a","\ufc88":"\u0645\u0627","\ufc89":"\u0645\u0645","\ufc8a":"\u0646\u0631","\ufc8b":"\u0646\u0632","\ufc8c":"\u0646\u0645","\ufc8d":"\u0646\u0646","\ufc8e":"\u0646\u0649","\ufc8f":"\u0646\u064a","\ufc90":"\u0649\u0670",
|
407 |
+
"\ufc91":"\u064a\u0631","\ufc92":"\u064a\u0632","\ufc93":"\u064a\u0645","\ufc94":"\u064a\u0646","\ufc95":"\u064a\u0649","\ufc96":"\u064a\u064a","\ufc97":"\u0626\u062c","\ufc98":"\u0626\u062d","\ufc99":"\u0626\u062e","\ufc9a":"\u0626\u0645","\ufc9b":"\u0626\u0647","\ufc9c":"\u0628\u062c","\ufc9d":"\u0628\u062d","\ufc9e":"\u0628\u062e","\ufc9f":"\u0628\u0645","\ufca0":"\u0628\u0647","\ufca1":"\u062a\u062c","\ufca2":"\u062a\u062d","\ufca3":"\u062a\u062e","\ufca4":"\u062a\u0645","\ufca5":"\u062a\u0647",
|
408 |
+
"\ufca6":"\u062b\u0645","\ufca7":"\u062c\u062d","\ufca8":"\u062c\u0645","\ufca9":"\u062d\u062c","\ufcaa":"\u062d\u0645","\ufcab":"\u062e\u062c","\ufcac":"\u062e\u0645","\ufcad":"\u0633\u062c","\ufcae":"\u0633\u062d","\ufcaf":"\u0633\u062e","\ufcb0":"\u0633\u0645","\ufcb1":"\u0635\u062d","\ufcb2":"\u0635\u062e","\ufcb3":"\u0635\u0645","\ufcb4":"\u0636\u062c","\ufcb5":"\u0636\u062d","\ufcb6":"\u0636\u062e","\ufcb7":"\u0636\u0645","\ufcb8":"\u0637\u062d","\ufcb9":"\u0638\u0645","\ufcba":"\u0639\u062c",
|
409 |
+
"\ufcbb":"\u0639\u0645","\ufcbc":"\u063a\u062c","\ufcbd":"\u063a\u0645","\ufcbe":"\u0641\u062c","\ufcbf":"\u0641\u062d","\ufcc0":"\u0641\u062e","\ufcc1":"\u0641\u0645","\ufcc2":"\u0642\u062d","\ufcc3":"\u0642\u0645","\ufcc4":"\u0643\u062c","\ufcc5":"\u0643\u062d","\ufcc6":"\u0643\u062e","\ufcc7":"\u0643\u0644","\ufcc8":"\u0643\u0645","\ufcc9":"\u0644\u062c","\ufcca":"\u0644\u062d","\ufccb":"\u0644\u062e","\ufccc":"\u0644\u0645","\ufccd":"\u0644\u0647","\ufcce":"\u0645\u062c","\ufccf":"\u0645\u062d",
|
410 |
+
"\ufcd0":"\u0645\u062e","\ufcd1":"\u0645\u0645","\ufcd2":"\u0646\u062c","\ufcd3":"\u0646\u062d","\ufcd4":"\u0646\u062e","\ufcd5":"\u0646\u0645","\ufcd6":"\u0646\u0647","\ufcd7":"\u0647\u062c","\ufcd8":"\u0647\u0645","\ufcd9":"\u0647\u0670","\ufcda":"\u064a\u062c","\ufcdb":"\u064a\u062d","\ufcdc":"\u064a\u062e","\ufcdd":"\u064a\u0645","\ufcde":"\u064a\u0647","\ufcdf":"\u0626\u0645","\ufce0":"\u0626\u0647","\ufce1":"\u0628\u0645","\ufce2":"\u0628\u0647","\ufce3":"\u062a\u0645","\ufce4":"\u062a\u0647",
|
411 |
+
"\ufce5":"\u062b\u0645","\ufce6":"\u062b\u0647","\ufce7":"\u0633\u0645","\ufce8":"\u0633\u0647","\ufce9":"\u0634\u0645","\ufcea":"\u0634\u0647","\ufceb":"\u0643\u0644","\ufcec":"\u0643\u0645","\ufced":"\u0644\u0645","\ufcee":"\u0646\u0645","\ufcef":"\u0646\u0647","\ufcf0":"\u064a\u0645","\ufcf1":"\u064a\u0647","\ufcf2":"\u0640\u064e\u0651","\ufcf3":"\u0640\u064f\u0651","\ufcf4":"\u0640\u0650\u0651","\ufcf5":"\u0637\u0649","\ufcf6":"\u0637\u064a","\ufcf7":"\u0639\u0649","\ufcf8":"\u0639\u064a","\ufcf9":"\u063a\u0649",
|
412 |
+
"\ufcfa":"\u063a\u064a","\ufcfb":"\u0633\u0649","\ufcfc":"\u0633\u064a","\ufcfd":"\u0634\u0649","\ufcfe":"\u0634\u064a","\ufcff":"\u062d\u0649","\ufd00":"\u062d\u064a","\ufd01":"\u062c\u0649","\ufd02":"\u062c\u064a","\ufd03":"\u062e\u0649","\ufd04":"\u062e\u064a","\ufd05":"\u0635\u0649","\ufd06":"\u0635\u064a","\ufd07":"\u0636\u0649","\ufd08":"\u0636\u064a","\ufd09":"\u0634\u062c","\ufd0a":"\u0634\u062d","\ufd0b":"\u0634\u062e","\ufd0c":"\u0634\u0645","\ufd0d":"\u0634\u0631","\ufd0e":"\u0633\u0631",
|
413 |
+
"\ufd0f":"\u0635\u0631","\ufd10":"\u0636\u0631","\ufd11":"\u0637\u0649","\ufd12":"\u0637\u064a","\ufd13":"\u0639\u0649","\ufd14":"\u0639\u064a","\ufd15":"\u063a\u0649","\ufd16":"\u063a\u064a","\ufd17":"\u0633\u0649","\ufd18":"\u0633\u064a","\ufd19":"\u0634\u0649","\ufd1a":"\u0634\u064a","\ufd1b":"\u062d\u0649","\ufd1c":"\u062d\u064a","\ufd1d":"\u062c\u0649","\ufd1e":"\u062c\u064a","\ufd1f":"\u062e\u0649","\ufd20":"\u062e\u064a","\ufd21":"\u0635\u0649","\ufd22":"\u0635\u064a","\ufd23":"\u0636\u0649",
|
414 |
+
"\ufd24":"\u0636\u064a","\ufd25":"\u0634\u062c","\ufd26":"\u0634\u062d","\ufd27":"\u0634\u062e","\ufd28":"\u0634\u0645","\ufd29":"\u0634\u0631","\ufd2a":"\u0633\u0631","\ufd2b":"\u0635\u0631","\ufd2c":"\u0636\u0631","\ufd2d":"\u0634\u062c","\ufd2e":"\u0634\u062d","\ufd2f":"\u0634\u062e","\ufd30":"\u0634\u0645","\ufd31":"\u0633\u0647","\ufd32":"\u0634\u0647","\ufd33":"\u0637\u0645","\ufd34":"\u0633\u062c","\ufd35":"\u0633\u062d","\ufd36":"\u0633\u062e","\ufd37":"\u0634\u062c","\ufd38":"\u0634\u062d",
|
415 |
+
"\ufd39":"\u0634\u062e","\ufd3a":"\u0637\u0645","\ufd3b":"\u0638\u0645","\ufd3c":"\u0627\u064b","\ufd3d":"\u0627\u064b","\ufd50":"\u062a\u062c\u0645","\ufd51":"\u062a\u062d\u062c","\ufd52":"\u062a\u062d\u062c","\ufd53":"\u062a\u062d\u0645","\ufd54":"\u062a\u062e\u0645","\ufd55":"\u062a\u0645\u062c","\ufd56":"\u062a\u0645\u062d","\ufd57":"\u062a\u0645\u062e","\ufd58":"\u062c\u0645\u062d","\ufd59":"\u062c\u0645\u062d","\ufd5a":"\u062d\u0645\u064a","\ufd5b":"\u062d\u0645\u0649","\ufd5c":"\u0633\u062d\u062c",
|
416 |
+
"\ufd5d":"\u0633\u062c\u062d","\ufd5e":"\u0633\u062c\u0649","\ufd5f":"\u0633\u0645\u062d","\ufd60":"\u0633\u0645\u062d","\ufd61":"\u0633\u0645\u062c","\ufd62":"\u0633\u0645\u0645","\ufd63":"\u0633\u0645\u0645","\ufd64":"\u0635\u062d\u062d","\ufd65":"\u0635\u062d\u062d","\ufd66":"\u0635\u0645\u0645","\ufd67":"\u0634\u062d\u0645","\ufd68":"\u0634\u062d\u0645","\ufd69":"\u0634\u062c\u064a","\ufd6a":"\u0634\u0645\u062e","\ufd6b":"\u0634\u0645\u062e","\ufd6c":"\u0634\u0645\u0645","\ufd6d":"\u0634\u0645\u0645",
|
417 |
+
"\ufd6e":"\u0636\u062d\u0649","\ufd6f":"\u0636\u062e\u0645","\ufd70":"\u0636\u062e\u0645","\ufd71":"\u0637\u0645\u062d","\ufd72":"\u0637\u0645\u062d","\ufd73":"\u0637\u0645\u0645","\ufd74":"\u0637\u0645\u064a","\ufd75":"\u0639\u062c\u0645","\ufd76":"\u0639\u0645\u0645","\ufd77":"\u0639\u0645\u0645","\ufd78":"\u0639\u0645\u0649","\ufd79":"\u063a\u0645\u0645","\ufd7a":"\u063a\u0645\u064a","\ufd7b":"\u063a\u0645\u0649","\ufd7c":"\u0641\u062e\u0645","\ufd7d":"\u0641\u062e\u0645","\ufd7e":"\u0642\u0645\u062d",
|
418 |
+
"\ufd7f":"\u0642\u0645\u0645","\ufd80":"\u0644\u062d\u0645","\ufd81":"\u0644\u062d\u064a","\ufd82":"\u0644\u062d\u0649","\ufd83":"\u0644\u062c\u062c","\ufd84":"\u0644\u062c\u062c","\ufd85":"\u0644\u062e\u0645","\ufd86":"\u0644\u062e\u0645","\ufd87":"\u0644\u0645\u062d","\ufd88":"\u0644\u0645\u062d","\ufd89":"\u0645\u062d\u062c","\ufd8a":"\u0645\u062d\u0645","\ufd8b":"\u0645\u062d\u064a","\ufd8c":"\u0645\u062c\u062d","\ufd8d":"\u0645\u062c\u0645","\ufd8e":"\u0645\u062e\u062c","\ufd8f":"\u0645\u062e\u0645",
|
419 |
+
"\ufd92":"\u0645\u062c\u062e","\ufd93":"\u0647\u0645\u062c","\ufd94":"\u0647\u0645\u0645","\ufd95":"\u0646\u062d\u0645","\ufd96":"\u0646\u062d\u0649","\ufd97":"\u0646\u062c\u0645","\ufd98":"\u0646\u062c\u0645","\ufd99":"\u0646\u062c\u0649","\ufd9a":"\u0646\u0645\u064a","\ufd9b":"\u0646\u0645\u0649","\ufd9c":"\u064a\u0645\u0645","\ufd9d":"\u064a\u0645\u0645","\ufd9e":"\u0628\u062e\u064a","\ufd9f":"\u062a\u062c\u064a","\ufda0":"\u062a\u062c\u0649","\ufda1":"\u062a\u062e\u064a","\ufda2":"\u062a\u062e\u0649",
|
420 |
+
"\ufda3":"\u062a\u0645\u064a","\ufda4":"\u062a\u0645\u0649","\ufda5":"\u062c\u0645\u064a","\ufda6":"\u062c\u062d\u0649","\ufda7":"\u062c\u0645\u0649","\ufda8":"\u0633\u062e\u0649","\ufda9":"\u0635\u062d\u064a","\ufdaa":"\u0634\u062d\u064a","\ufdab":"\u0636\u062d\u064a","\ufdac":"\u0644\u062c\u064a","\ufdad":"\u0644\u0645\u064a","\ufdae":"\u064a\u062d\u064a","\ufdaf":"\u064a\u062c\u064a","\ufdb0":"\u064a\u0645\u064a","\ufdb1":"\u0645\u0645\u064a","\ufdb2":"\u0642\u0645\u064a","\ufdb3":"\u0646\u062d\u064a",
|
421 |
+
"\ufdb4":"\u0642\u0645\u062d","\ufdb5":"\u0644\u062d\u0645","\ufdb6":"\u0639\u0645\u064a","\ufdb7":"\u0643\u0645\u064a","\ufdb8":"\u0646\u062c\u062d","\ufdb9":"\u0645\u062e\u064a","\ufdba":"\u0644\u062c\u0645","\ufdbb":"\u0643\u0645\u0645","\ufdbc":"\u0644\u062c\u0645","\ufdbd":"\u0646\u062c\u062d","\ufdbe":"\u062c\u062d\u064a","\ufdbf":"\u062d\u062c\u064a","\ufdc0":"\u0645\u062c\u064a","\ufdc1":"\u0641\u0645\u064a","\ufdc2":"\u0628\u062d\u064a","\ufdc3":"\u0643\u0645\u0645","\ufdc4":"\u0639\u062c\u0645",
|
422 |
+
"\ufdc5":"\u0635\u0645\u0645","\ufdc6":"\u0633\u062e\u064a","\ufdc7":"\u0646\u062c\u064a","\ufe49":"\u203e","\ufe4a":"\u203e","\ufe4b":"\u203e","\ufe4c":"\u203e","\ufe4d":"_","\ufe4e":"_","\ufe4f":"_","\ufe80":"\u0621","\ufe81":"\u0622","\ufe82":"\u0622","\ufe83":"\u0623","\ufe84":"\u0623","\ufe85":"\u0624","\ufe86":"\u0624","\ufe87":"\u0625","\ufe88":"\u0625","\ufe89":"\u0626","\ufe8a":"\u0626","\ufe8b":"\u0626","\ufe8c":"\u0626","\ufe8d":"\u0627","\ufe8e":"\u0627","\ufe8f":"\u0628","\ufe90":"\u0628",
|
423 |
+
"\ufe91":"\u0628","\ufe92":"\u0628","\ufe93":"\u0629","\ufe94":"\u0629","\ufe95":"\u062a","\ufe96":"\u062a","\ufe97":"\u062a","\ufe98":"\u062a","\ufe99":"\u062b","\ufe9a":"\u062b","\ufe9b":"\u062b","\ufe9c":"\u062b","\ufe9d":"\u062c","\ufe9e":"\u062c","\ufe9f":"\u062c","\ufea0":"\u062c","\ufea1":"\u062d","\ufea2":"\u062d","\ufea3":"\u062d","\ufea4":"\u062d","\ufea5":"\u062e","\ufea6":"\u062e","\ufea7":"\u062e","\ufea8":"\u062e","\ufea9":"\u062f","\ufeaa":"\u062f","\ufeab":"\u0630","\ufeac":"\u0630",
|
424 |
+
"\ufead":"\u0631","\ufeae":"\u0631","\ufeaf":"\u0632","\ufeb0":"\u0632","\ufeb1":"\u0633","\ufeb2":"\u0633","\ufeb3":"\u0633","\ufeb4":"\u0633","\ufeb5":"\u0634","\ufeb6":"\u0634","\ufeb7":"\u0634","\ufeb8":"\u0634","\ufeb9":"\u0635","\ufeba":"\u0635","\ufebb":"\u0635","\ufebc":"\u0635","\ufebd":"\u0636","\ufebe":"\u0636","\ufebf":"\u0636","\ufec0":"\u0636","\ufec1":"\u0637","\ufec2":"\u0637","\ufec3":"\u0637","\ufec4":"\u0637","\ufec5":"\u0638","\ufec6":"\u0638","\ufec7":"\u0638","\ufec8":"\u0638",
|
425 |
+
"\ufec9":"\u0639","\ufeca":"\u0639","\ufecb":"\u0639","\ufecc":"\u0639","\ufecd":"\u063a","\ufece":"\u063a","\ufecf":"\u063a","\ufed0":"\u063a","\ufed1":"\u0641","\ufed2":"\u0641","\ufed3":"\u0641","\ufed4":"\u0641","\ufed5":"\u0642","\ufed6":"\u0642","\ufed7":"\u0642","\ufed8":"\u0642","\ufed9":"\u0643","\ufeda":"\u0643","\ufedb":"\u0643","\ufedc":"\u0643","\ufedd":"\u0644","\ufede":"\u0644","\ufedf":"\u0644","\ufee0":"\u0644","\ufee1":"\u0645","\ufee2":"\u0645","\ufee3":"\u0645","\ufee4":"\u0645",
|
426 |
+
"\ufee5":"\u0646","\ufee6":"\u0646","\ufee7":"\u0646","\ufee8":"\u0646","\ufee9":"\u0647","\ufeea":"\u0647","\ufeeb":"\u0647","\ufeec":"\u0647","\ufeed":"\u0648","\ufeee":"\u0648","\ufeef":"\u0649","\ufef0":"\u0649","\ufef1":"\u064a","\ufef2":"\u064a","\ufef3":"\u064a","\ufef4":"\u064a","\ufef5":"\u0644\u0622","\ufef6":"\u0644\u0622","\ufef7":"\u0644\u0623","\ufef8":"\u0644\u0623","\ufef9":"\u0644\u0625","\ufefa":"\u0644\u0625","\ufefb":"\u0644\u0627","\ufefc":"\u0644\u0627"},Ce=function(){function e(a,
|
427 |
+
c,b,d,f,g){this.fontChar=a;this.unicode=c;this.accent=b;this.width=d;this.vmetric=f;this.operatorListId=g}e.prototype.matchesForCache=function(a,c,b,d,f,g){return this.fontChar===a&&this.unicode===c&&this.accent===b&&this.width===d&&this.vmetric===f&&this.operatorListId===g};return e}(),ub=function(){function e(a){this._map=a}e.prototype={get length(){return this._map.length},forEach:function(a){for(var c in this._map)a(c,this._map[c].charCodeAt(0))},get:function(a){return this._map[a]},charCodeOf:function(a){return this._map.indexOf(a)}};
|
428 |
+
return e}(),Ac=function(){function e(a,c){this.firstChar=a;this.lastChar=c}e.prototype={get length(){G("should not access .length")},forEach:function(a){for(var c=this.firstChar,b=this.lastChar;c<=b;c++)a(c,c)},get:function(a){if(this.firstChar<=a&&a<=this.lastChar)return String.fromCharCode(a)},charCodeOf:function(a){G("should not call .charCodeOf")}};return e}(),Bc=function(){function e(a,d,c){a[d]=c>>8&255;a[d+1]=c&255}function a(a,d,c){a[d]=c>>24&255;a[d+1]=c>>16&255;a[d+2]=c>>8&255;a[d+3]=c&
|
429 |
+
255}function c(a){this.sfnt=a;this.tables=Object.create(null)}c.getSearchParams=function(a,d){for(var c=1,g=0;(c^a)>c;)c<<=1,g++;c*=d;return{range:c,entry:g,rangeShift:d*a-c}};c.prototype={toArray:function(){var b=this.sfnt,d=this.tables,f=Object.keys(d);f.sort();var g=f.length,h,l,n,k=12+16*g,r=[k];for(h=0;h<g;h++)n=d[f[h]],k+=(n.length+3&-4)>>>0,r.push(k);var m=new Uint8Array(k);for(h=0;h<g;h++){n=d[f[h]];k=m;l=r[h];var t=void 0,v=void 0;if(n instanceof Uint8Array)k.set(n,l);else if("string"===
|
430 |
+
typeof n)for(t=0,v=n.length;t<v;t++)k[l++]=n.charCodeAt(t)&255;else for(t=0,v=n.length;t<v;t++)k[l++]=n[t]&255}"true"===b&&(b=sa(65536));m[0]=b.charCodeAt(0)&255;m[1]=b.charCodeAt(1)&255;m[2]=b.charCodeAt(2)&255;m[3]=b.charCodeAt(3)&255;e(m,4,g);h=c.getSearchParams(g,16);e(m,6,h.range);e(m,8,h.entry);e(m,10,h.rangeShift);k=12;for(h=0;h<g;h++){n=f[h];m[k]=n.charCodeAt(0)&255;m[k+1]=n.charCodeAt(1)&255;m[k+2]=n.charCodeAt(2)&255;m[k+3]=n.charCodeAt(3)&255;t=0;b=r[h];for(l=r[h+1];b<l;b+=4)t=t+((m[b]<<
|
431 |
+
24)+(m[b+1]<<16)+(m[b+2]<<8)+m[b+3])|0;a(m,k+4,t);a(m,k+8,r[h]);a(m,k+12,d[n].length);k+=16}return m},addTable:function(a,d){if(a in this.tables)throw Error("Table "+a+" already exists");this.tables[a]=d}};return c}(),Lb=function(){function e(a,d,c){var f,g;this.name=a;this.loadedName=c.loadedName;this.isType3Font=c.isType3Font;this.sizes=[];this.glyphCache={};var h=a.split("+"),h=1<h.length?h[1]:h[0],h=h.split(/[-,_]/g)[0];this.isSerifFont=!!(c.flags&Ma.Serif);this.isSymbolicFont=!!(c.flags&Ma.Symbolic);
|
432 |
+
this.isMonospace=!!(c.flags&Ma.FixedPitch);var h=c.type,e=c.subtype;this.type=h;this.fallbackName=this.isMonospace?"monospace":this.isSerifFont?"serif":"sans-serif";this.differences=c.differences;this.widths=c.widths;this.defaultWidth=c.defaultWidth;this.composite=c.composite;this.wideChars=c.wideChars;this.cMap=c.cMap;this.ascent=c.ascent/1E3;this.descent=c.descent/1E3;this.fontMatrix=c.fontMatrix;this.toUnicode=c.toUnicode=this.buildToUnicode(c);this.toFontChar=[];if("Type3"===c.type){for(f=0;256>
|
433 |
+
f;f++)this.toFontChar[f]=this.differences[f]||c.defaultEncoding[f];this.fontType=Pa.TYPE3}else{this.cidEncoding=c.cidEncoding;if(this.vertical=c.vertical)this.vmetrics=c.vmetrics,this.defaultVMetrics=c.defaultVMetrics;if(!d||d.isEmpty){d&&L('Font file is empty in "'+a+'" ('+this.loadedName+")");this.missingFile=!0;d=a.replace(/[,_]/g,"-");var l=!!yb[d]||!(!zc[d]||!yb[zc[d]]);d=yb[d]||zc[d]||d;this.bold=-1!==d.search(/bold/gi);this.italic=-1!==d.search(/oblique/gi)||-1!==d.search(/italic/gi);this.black=
|
434 |
+
-1!==a.search(/Black/g);this.remeasure=0<Object.keys(this.widths).length;if(l&&"CIDFontType2"===h&&0===c.cidEncoding.indexOf("Identity-")){var k=[],n;for(n in sd)k[+n]=sd[n];this.toUnicode instanceof Ac||this.toUnicode.forEach(function(a,b){k[+a]=b});this.toFontChar=k;this.toUnicode=new ub(k)}else if(/Symbol/i.test(d)){n=la.SymbolSetEncoding;for(f in n)(a=Ia[n[f]])&&(this.toFontChar[f]=a);for(f in c.differences)(a=Ia[c.differences[f]])&&(this.toFontChar[f]=a)}else if(/Dingbats/i.test(d)){/Wingdings/i.test(a)&&
|
435 |
+
L("Wingdings font without embedded font file, falling back to the ZapfDingbats encoding.");n=la.ZapfDingbatsEncoding;for(f in n)(a=ud[n[f]])&&(this.toFontChar[f]=a);for(f in c.differences)(a=ud[c.differences[f]])&&(this.toFontChar[f]=a)}else if(l)for(f in this.toFontChar=[],c.defaultEncoding)g=c.differences[f]||c.defaultEncoding[f],this.toFontChar[f]=Ia[g];else{var F=-1===h.indexOf("CIDFontType");this.toUnicode.forEach(function(a,b){F&&(g=c.differences[a]||c.defaultEncoding[a],b=Ia[g]||b);this.toFontChar[a]=
|
436 |
+
b}.bind(this))}this.loadedName=d.split("-")[0];this.loading=!1;this.fontType=mc(h,e)}else{"Type1C"===e&&"Type1"!==h&&"MMType1"!==h&&(b(d)?e="TrueType":h="Type1");"CIDFontType0C"===e&&"CIDFontType0"!==h&&(h="CIDFontType0");"OpenType"===e&&(h="OpenType");switch(h){case "MMType1":R("MMType1 font ("+a+"), falling back to Type1.");case "Type1":case "CIDFontType0":this.mimetype="font/opentype";f="Type1C"===e||"CIDFontType0C"===e?new vd(d,c):new wd(a,d,c);Kd(c);l=this.convert(a,f,c);break;case "OpenType":case "TrueType":case "CIDFontType2":this.mimetype=
|
437 |
+
"font/opentype";l=this.checkAndRepair(a,d,c);this.isOpenType&&(h="OpenType");break;default:G("Font "+h+" is not supported")}this.data=l;this.fontType=mc(h,e);this.fontMatrix=c.fontMatrix;this.widths=c.widths;this.defaultWidth=c.defaultWidth;this.encoding=c.baseEncoding;this.seacMap=c.seacMap;this.loading=!0}}}function a(a){return String.fromCharCode(a>>8&255,a&255)}function c(a){a=32767<a?32767:-32768>a?-32768:a;return String.fromCharCode(a>>8&255,a&255)}function b(a){a=a.peekBytes(4);return 65536===
|
438 |
+
ia(a,0)}function d(a,b){var d=b.toUnicode,c=!!(b.flags&Ma.Symbolic),f=b.toUnicode instanceof Ac,g="CIDFontType2"===b.type,h=Object.create(null),e=[],l=[],k=57344,n;for(n in a){n|=0;var E=a[n],A=n;if(!f)if(void 0!==d.get(n)){var H=d.get(A);1===H.length&&(A=H.charCodeAt(0))}else g&&(A=k);if((void 0!==l[A]||31>=A||127===A||173===A||160===A||128<=A&&159>=A||65520<=A&&65535>=A||c&&f)&&63743>=k){do A=k++,rd&&61440===A&&(A=61472,k=A+1);while(void 0!==l[A]&&63743>=k)}h[A]=E;e[n]=A;l[A]=!0}return{toFontChar:e,
|
439 |
+
charCodeToGlyphId:h,nextAvailableFontCharCode:k}}function f(a){var b=[],d;for(d in a)b.push({fontCharCode:d|0,glyphId:a[d]});b.sort(function(a,b){return a.fontCharCode-b.fontCharCode});a=[];d=b.length;for(var c=0;c<d;){var f=b[c].fontCharCode,g=[b[c].glyphId];++c;for(var h=f;c<d&&h+1===b[c].fontCharCode&&(g.push(b[c].glyphId),++h,++c,65535!==h););a.push([f,h,g])}return a}function g(b){b=f(b);var d=65535<b[b.length-1][1]?2:1,c="\x00\x00"+a(d)+"\x00\u0003\x00\u0001"+sa(4+8*d),g,h,e,l;for(g=b.length-
|
440 |
+
1;0<=g&&!(65535>=b[g][0]);--g);h=g+1;65535>b[g][0]&&65535===b[g][1]&&(b[g][1]=65534);var k=65535>b[g][1]?1:0,n=h+k,C=Bc.getSearchParams(n,2),F="",E="",A="",H="",B="",J=0,I,O,M,W;for(g=0;g<h;g++){I=b[g];O=I[0];M=I[1];F+=a(O);E+=a(M);W=I[2];I=!0;e=1;for(l=W.length;e<l;++e)if(W[e]!==W[e-1]+1){I=!1;break}if(I)A+=a(W[0]-O&65535),H+=a(0);else for(e=2*(n-g)+2*J,J+=M-O+1,A+=a(0),H+=a(e),e=0,l=W.length;e<l;++e)B+=a(W[e])}0<k&&(E+="\u00ff\u00ff",F+="\u00ff\u00ff",A+="\x00\u0001",H+="\x00\x00");k="\x00\x00"+
|
441 |
+
a(2*n)+a(C.range)+a(C.entry)+a(C.rangeShift)+E+"\x00\x00"+F+A+H+B;g=n="";if(1<d){c+="\x00\u0003\x00\n"+sa(8*d+8+k.length);n="";g=0;for(h=b.length;g<h;g++){I=b[g];O=I[0];W=I[2];d=W[0];e=1;for(l=W.length;e<l;++e)W[e]!==W[e-1]+1&&(M=I[0]+e-1,n+=sa(O)+sa(M)+sa(d),O=M+1,d=W[e]);n+=sa(O)+sa(I[1])+sa(d)}g="\x00\f\x00\x00"+sa(n.length+16)+"\x00\x00\x00\x00"+sa(n.length/12)}return c+"\x00\u0004"+a(k.length+4)+k+g+n}function h(a){var b=new xa(a.data),d=b.getUint16();b.getBytes(60);var c=b.getUint16();if(4>
|
442 |
+
d&&c&768)return!1;d=b.getUint16();c=b.getUint16();if(d>c)return!1;b.getBytes(6);if(0===b.getUint16())return!1;a.data[8]=a.data[9]=0;return!0}function l(b,d,c){c=c||{unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};var f=0,g=0,h=0,e=0,l=null,k=0;if(d)for(var n in d){n|=0;if(l>n||!l)l=n;k<n&&(k=n);a:{d=0;for(var F=bc.length;d<F;d++){var E=bc[d];if(n>=E.begin&&n<E.end)break a}d=-1}32>d?f|=1<<d:64>d?g|=1<<d-32:96>d?h|=1<<d-64:123>d?e|=1<<d-96:G("Unicode ranges Bits > 123 are reserved for internal usage")}else l=
|
443 |
+
0,k=255;d=b.bbox||[0,0,0,0];n=c.unitsPerEm||1/(b.fontMatrix||Ya)[0];F=b.ascentScaled?1:n/1E3;n=c.ascent||Math.round(F*(b.ascent||d[3]));F=c.descent||Math.round(F*(b.descent||d[1]));0<F&&0<b.descent&&0>d[1]&&(F=-F);d=c.yMax||n;c=-c.yMin||-F;return"\x00\u0003\u0002$\u0001\u00f4\x00\u0005\x00\x00\u0002\u008a\u0002\u00bb\x00\x00\x00\u008c\u0002\u008a\u0002\u00bb\x00\x00\u0001\u00df\x001\u0001\u0002\x00\x00\x00\x00\u0006"+String.fromCharCode(b.fixedPitch?9:0)+"\x00\x00\x00\x00\x00\x00"+sa(f)+sa(g)+sa(h)+
|
444 |
+
sa(e)+"*21*"+a(b.italicAngle?1:0)+a(l||b.firstChar)+a(k||b.lastChar)+a(n)+a(F)+"\x00d"+a(d)+a(c)+"\x00\x00\x00\x00\x00\x00\x00\x00"+a(b.xHeight)+a(b.capHeight)+a(0)+a(l||b.firstChar)+"\x00\u0003"}function n(a){var b=Math.floor(a.italicAngle*Math.pow(2,16));return"\x00\u0003\x00\x00"+sa(b)+"\x00\x00\x00\x00"+sa(a.fixedPitch)+"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}function k(b,d){d||(d=[[],[]]);var c=[d[0][0]||"Original licence",d[0][1]||b,d[0][2]||"Unknown",d[0][3]||"uniqueID",
|
445 |
+
d[0][4]||b,d[0][5]||"Version 0.11",d[0][6]||"",d[0][7]||"Unknown",d[0][8]||"Unknown",d[0][9]||"Unknown"],f=[],g,h,e,l,k;g=0;for(h=c.length;g<h;g++){k=d[1][g]||c[g];var n=[];e=0;for(l=k.length;e<l;e++)n.push(a(k.charCodeAt(e)));f.push(n.join(""))}var n=[c,f],F=["\x00\u0001","\x00\u0003"],E=["\x00\x00","\x00\u0001"],A=["\x00\x00","\u0004\t"];g=c.length*F.length;var H="\x00\x00"+a(g)+a(12*g+6),B=0;g=0;for(h=F.length;g<h;g++){var J=n[g];e=0;for(l=J.length;e<l;e++){k=J[e];var I=F[g]+E[g]+A[g]+a(e)+a(k.length)+
|
446 |
+
a(B),H=H+I,B=B+k.length}}return H+=c.join("")+f.join("")}e.getFontID=function(){var a=1;return function(){return String(a++)}}();e.prototype={name:null,font:null,mimetype:null,encoding:null,get renderer(){var a=De.create(this);return fa(this,"renderer",a)},exportData:function(){var a={},b;for(b in this)this.hasOwnProperty(b)&&(a[b]=this[b]);return a},checkAndRepair:function(a,b,c){function f(a){var b=Ra(a.getBytes(4)),d=a.getInt32(),c=a.getInt32()>>>0,g=a.getInt32()>>>0,h=a.pos;a.pos=a.start?a.start:
|
447 |
+
0;a.skip(c);var e=a.getBytes(g);a.pos=h;"head"===b&&(e[8]=e[9]=e[10]=e[11]=0,e[17]|=32);return{tag:b,checksum:d,length:g,offset:c,data:e}}function e(a,b,d){var c;a=(b.start?b.start:0)+a.offset;b.pos=a;b.getUint16();var f=b.getUint16(),g,h=!1;for(c=0;c<f;c++){var l=b.getUint16(),k=b.getUint16(),n=b.getInt32()>>>0,p=!1;1===l&&0===k?p=!0:d||3!==l||1!==k?d&&3===l&&0===k&&(h=p=!0):h=p=!0;p&&(g={platformId:l,encodingId:k,offset:n});if(h)break}if(!g)return L("Could not find a preferred cmap table."),{platformId:-1,
|
448 |
+
encodingId:-1,mappings:[],hasShortCmap:!1};b.pos=a+g.offset;a=b.getUint16();b.getUint16();b.getUint16();f=!1;d=[];if(0===a){for(c=0;256>c;c++)(a=b.getByte())&&d.push({charCode:c,glyphId:a});f=!0}else if(4===a){h=b.getUint16()>>1;b.getBytes(6);k=[];for(l=0;l<h;l++)k.push({end:b.getUint16()});b.getUint16();for(l=0;l<h;l++)k[l].start=b.getUint16();for(l=0;l<h;l++)k[l].delta=b.getUint16();for(l=a=0;l<h;l++)c=k[l],(n=b.getUint16())?(p=(n>>1)-(h-l),c.offsetIndex=p,a=Math.max(a,p+c.end-c.start+1)):c.offsetIndex=
|
449 |
+
-1;var r=[];for(c=0;c<a;c++)r.push(b.getUint16());for(l=0;l<h;l++){c=k[l];a=c.start;b=c.end;var m=c.delta,p=c.offsetIndex;for(c=a;c<=b;c++)65535!==c&&(n=0>p?c:r[p+c-a],n=n+m&65535,0!==n&&d.push({charCode:c,glyphId:n}))}}else if(6===a)for(a=b.getUint16(),h=b.getUint16(),c=0;c<h;c++)n=b.getUint16(),d.push({charCode:a+c,glyphId:n});else G("cmap table has unsupported format: "+a);d.sort(function(a,b){return a.charCode-b.charCode});for(c=1;c<d.length;c++)d[c-1].charCode===d[c].charCode&&(d.splice(c,1),
|
450 |
+
c--);return{platformId:g.platformId,encodingId:g.encodingId,mappings:d,hasShortCmap:f}}function p(a,b,d,c,f,g){if(12>=d-b)return 0;a=a.subarray(b,d);var h=a[0]<<8|a[1];if(h&32768)return c.set(a,f),a.length;d=10;var e=0;for(b=0;b<h;b++)e=(a[d]<<8|a[d+1])+1,d+=2;var h=d,l=a[d]<<8|a[d+1],k=d+=2+l,n=0;for(b=0;b<e;b++){var p=a[d++];p&192&&(a[d-1]=p&63);var r=(p&2?1:p&16?0:2)+(p&4?1:p&32?0:2),n=n+r;p&8&&(p=a[d++],b+=p,n+=p*r)}if(0===n)return 0;b=d+n;if(b>a.length)return 0;if(!g&&0<l)return c.set(a.subarray(0,
|
451 |
+
h),f),c.set([0,0],f+h),c.set(a.subarray(k,b),f+h+2),b-=l,3<a.length-b&&(b=b+3&-4),b;if(3<a.length-b)return b=b+3&-4,c.set(a.subarray(0,b),f),b;c.set(a,f);return a.length}function u(a,b,d,c,f,g){var h,e;c?(c=4,h=function(a,b){return a[b]<<24|a[b+1]<<16|a[b+2]<<8|a[b+3]},e=function(a,b,d){a[b]=d>>>24&255;a[b+1]=d>>16&255;a[b+2]=d>>8&255;a[b+3]=d&255}):(c=2,h=function(a,b){return a[b]<<9|a[b+1]<<1},e=function(a,b,d){a[b]=d>>9&255;a[b+1]=d>>1&255});var l=a.data,k=c*(1+d);l.length!==k&&(l=new Uint8Array(k),
|
452 |
+
l.set(a.data.subarray(0,k)),a.data=l);var n=b.data,r=n.length,k=new Uint8Array(r),m=h(l,0),t=0;e(l,0,t);var w,u;w=0;for(u=c;w<d;w++,u+=c){var q=h(l,u);q>r&&(r+3&-4)===q&&(q=r);q>r||(m=p(n,m,q,k,t,f),t+=m);e(l,u,t);m=q}if(0===t){a=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);w=0;for(u=c;w<d;w++,u+=c)e(l,u,a.length);b.data=a}else g?(d=h(l,c),k.length>d+t?b.data=k.subarray(0,d+t):(b.data=new Uint8Array(d+t),b.data.set(k.subarray(0,t))),b.data.set(k.subarray(0,d),t),e(a.data,l.length-c,t+d)):b.data=
|
453 |
+
k.subarray(0,t)}function w(a,d,c){var f=(b.start?b.start:0)+a.offset;b.pos=f;var f=f+a.length,g=b.getInt32();b.getBytes(28);var h;a=!0;switch(g){case 65536:h=td;break;case 131072:g=b.getUint16();if(g!==c){a=!1;break}var e=[];for(c=0;c<g;++c){var l=b.getUint16();if(32768<=l){a=!1;break}e.push(l)}if(!a)break;l=[];for(h=[];b.pos<f;){var k=b.getByte();h.length=k;for(c=0;c<k;++c)h[c]=String.fromCharCode(b.getByte());l.push(h.join(""))}h=[];for(c=0;c<g;++c)f=e[c],258>f?h.push(td[f]):h.push(l[f-258]);break;
|
454 |
+
case 196608:break;default:L("Unknown/unsupported post table version "+g),a=!1}d.glyphNames=h;return a}function y(a){var d=(b.start?b.start:0)+a.offset;b.pos=d;var c=[[],[]],f=a.length;a=d+f;if(0!==b.getUint16()||6>f)return c;var g=b.getUint16(),f=b.getUint16(),h=[],e;for(e=0;e<g&&b.pos+12<=a;e++){var l={platform:b.getUint16(),encoding:b.getUint16(),language:b.getUint16(),name:b.getUint16(),length:b.getUint16(),offset:b.getUint16()};(1===l.platform&&0===l.encoding&&0===l.language||3===l.platform&&
|
455 |
+
1===l.encoding&&1033===l.language)&&h.push(l)}e=0;for(g=h.length;e<g;e++){var l=h[e],k=d+f+l.offset;if(!(k+l.length>a))if(b.pos=k,k=l.name,l.encoding){for(var n="",p=0,l=l.length;p<l;p+=2)n+=String.fromCharCode(b.getUint16());c[1][k]=n}else c[0][k]=Ra(b.getBytes(l.length))}return c}function C(a,b){for(var d=a.data,c=0,f,g,h,e=0,l=0,k=[],n=[],p=[],r=b.tooComplexToFollowFunctions,m=!1,t=0,w=0,u=d.length;c<u;){var q=d[c++];if(64===q)if(g=d[c++],m||w)c+=g;else for(f=0;f<g;f++)k.push(d[c++]);else if(65===
|
456 |
+
q)if(g=d[c++],m||w)c+=2*g;else for(f=0;f<g;f++)h=d[c++],k.push(h<<8|d[c++]);else if(176===(q&248))if(g=q-176+1,m||w)c+=g;else for(f=0;f<g;f++)k.push(d[c++]);else if(184===(q&248))if(g=q-184+1,m||w)c+=2*g;else for(f=0;f<g;f++)h=d[c++],k.push(h<<8|d[c++]);else if(43!==q||r)if(44!==q||r)if(45===q)if(m)m=!1,e=c;else{f=n.pop();if(!f){L("TT: ENDF bad stack");b.hintsValid=!1;return}g=p.pop();d=f.data;c=f.i;b.functionsStackDeltas[g]=k.length-f.stackTop}else if(137===q){if(m||w)L("TT: nested IDEFs not allowed"),
|
457 |
+
r=!0;m=!0;l=c}else 88===q?++t:27===q?w=t:89===q?(w===t&&(w=0),--t):28!==q||m||w||(g=k[k.length-1],0<g&&(c+=g-1));else{if(m||w)L("TT: nested FDEFs not allowed"),r=!0;m=!0;l=c;g=k.pop();b.functionsDefined[g]={data:d,i:c}}else if(!m&&!w)if(g=k[k.length-1],b.functionsUsed[g]=!0,g in b.functionsStackDeltas)k.length+=b.functionsStackDeltas[g];else if(g in b.functionsDefined&&0>p.indexOf(g)){n.push({data:d,i:c,stackTop:k.length-1});p.push(g);f=b.functionsDefined[g];if(!f){L("TT: CALL non-existent function");
|
458 |
+
b.hintsValid=!1;return}d=f.data;c=f.i}if(!m&&!w){f=142>=q?F[q]:192<=q&&223>=q?-1:224<=q?-2:0;113<=q&&117>=q&&(g=k.pop(),g===g&&(f=2*-g));for(;0>f&&0<k.length;)k.pop(),f++;for(;0<f;)k.push(NaN),f--}}b.tooComplexToFollowFunctions=r;k=[d];c>d.length&&k.push(new Uint8Array(c-d.length));l>e&&(L("TT: complementing a missing function tail"),k.push(new Uint8Array([34,45])));if(1<k.length){c=d=0;for(e=k.length;c<e;c++)d+=k[c].length;d=d+3&-4;l=new Uint8Array(d);c=n=0;for(e=k.length;c<e;c++)l.set(k[c],n),n+=
|
459 |
+
k[c].length;a.data=l;a.length=d}}var F=[0,0,0,0,0,0,0,0,-2,-2,-2,-2,0,0,-2,-5,-1,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,-1,-1,1,-1,-999,0,1,0,-1,-2,0,-1,-2,-1,-1,0,-1,-1,0,0,-999,-999,-1,-1,-1,-1,-2,-999,-2,-2,-999,0,-2,-2,0,0,-2,0,-2,0,0,0,-2,-1,-1,1,1,0,0,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,0,-999,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,-2,-999,-999,-999,-999,-999,-1,-1,-2,-2,0,0,0,0,-1,-1,-999,-2,-2,0,0,-1,-2,-2,0,0,0,-1,-1,-1,-2];b=new xa(new Uint8Array(b.getBytes()));for(var E="OS/2;cmap;head;hhea;hmtx;maxp;name;post;loca;glyf;fpgm;prep;cvt ;CFF ".split(";"),
|
460 |
+
A=function(a){return{version:Ra(a.getBytes(4)),numTables:a.getUint16(),searchRange:a.getUint16(),entrySelector:a.getUint16(),rangeShift:a.getUint16()}}(b),H=A.numTables,B,J,I={"OS/2":null,cmap:null,head:null,hhea:null,hmtx:null,maxp:null,name:null,post:null},O,M=0;M<H;M++)O=f(b),0>E.indexOf(O.tag)||0!==O.length&&(I[O.tag]=O);if(E=!I["CFF "])I.glyf&&I.loca||G('Required "glyf" or "loca" tables are not found'),this.isOpenType=!1;else{if(!(I.head&&I.hhea&&I.maxp&&I.post))return J=new xa(I["CFF "].data),
|
461 |
+
B=new vd(J,c),this.convert(a,B,c);delete I.glyf;delete I.loca;delete I.fpgm;delete I.prep;delete I["cvt "];this.isOpenType=!0}I.maxp||G('Required "maxp" table is not found');b.pos=(b.start||0)+I.maxp.offset;var M=b.getInt32(),W=b.getUint16(),K=0;65536<=M&&22<=I.maxp.length&&(b.pos+=8,2<b.getUint16()&&(I.maxp.data[14]=0,I.maxp.data[15]=2),b.pos+=4,K=b.getUint16());M=!1;"CIDFontType2"===c.type&&c.toUnicode&&"\x00"<c.toUnicode.get(0)&&(M=!0,W++,I.maxp.data[4]=W>>8,I.maxp.data[5]=W&255);H=function(a,
|
462 |
+
b,d){var c={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};a&&C(a,c);b&&C(b,c);if(a&&(a=K,!c.tooComplexToFollowFunctions))if(c.functionsDefined.length>a)L("TT: more functions defined than expected"),c.hintsValid=!1;else{b=0;for(var f=c.functionsUsed.length;b<f;b++){if(b>a){L("TT: invalid function id: "+b);c.hintsValid=!1;break}if(c.functionsUsed[b]&&!c.functionsDefined[b]){L("TT: undefined function: "+b);c.hintsValid=!1;break}}}d&&d.length&
|
463 |
+
1&&(a=new Uint8Array(d.length+1),a.set(d.data),d.data=a);return c.hintsValid}(I.fpgm,I.prep,I["cvt "],K);H||(delete I.fpgm,delete I.prep,delete I["cvt "]);(function(a,b,d,c){b?(a.pos=(a.start?a.start:0)+b.offset,a.pos+=b.length-2,a=a.getUint16(),a>c&&(R("The numOfMetrics ("+a+") should not be greater than the numGlyphs ("+c+")"),a=c,b.data[34]=(a&65280)>>8,b.data[35]=a&255),b=c-a-(d.length-4*a>>1),0<b&&(b=new Uint8Array(d.length+2*b),b.set(d.data),d.data=b)):d&&(d.data=null)})(b,I.hhea,I.hmtx,W);
|
464 |
+
I.head||G('Required "head" table is not found');(function(a,b,d){a=a.data;var c=(a[0]<<24)+(a[1]<<16)+(a[2]<<8)+a[3];1!==c>>16&&(R("Attempting to fix invalid version in head table: "+c),a[0]=0,a[1]=1,a[2]=0,a[3]=0);c=(a[50]<<8)+a[51];if(0>c||1<c)R("Attempting to fix invalid indexToLocFormat in head table: "+c),b+=1,d===b<<1?(a[50]=0,a[51]=0):d===b<<2?(a[50]=0,a[51]=1):L("Could not fix indexToLocFormat: "+c)})(I.head,W,E?I.loca.length:0);E&&u(I.loca,I.glyf,W,(I.head.data[50]<<8)+I.head.data[51],H,
|
465 |
+
M);I.hhea||G('Required "hhea" table is not found');0===I.hhea.data[10]&&0===I.hhea.data[11]&&(I.hhea.data[10]=255,I.hhea.data[11]=255);I.post&&!w(I.post,c,W)&&(I.post=null);var x=[],z;if("CIDFontType2"===c.type){var ka=c.cidToGidMap||[],D=ka.length;c.cMap.forEach(function(a,b){ba(65535>=b,"Max size of CID is 65,535");var d=-1;0===D?d=a:void 0!==ka[b]&&(d=ka[b]);0<=d&&d<W&&(x[a]=d)});M&&(x[0]=W-1)}else{M=e(I.cmap,b,this.isSymbolicFont);H=M.platformId;O=M.encodingId;var N=M.mappings,Va=N.length;if((c.differences.length||
|
466 |
+
c.baseEncodingName)&&(3===H&&1===O||1===H&&0===O)||-1===H&&-1===O&&la[c.baseEncodingName]){var T=[];if("MacRomanEncoding"===c.baseEncodingName||"WinAnsiEncoding"===c.baseEncodingName)T=la[c.baseEncodingName];for(z=0;256>z;z++){var ya;if(ya=this.differences&&z in this.differences?this.differences[z]:z in T&&""!==T[z]?T[z]:la.StandardEncoding[z]){var Za;3===H&&1===O?Za=Ia[ya]:1===H&&0===O&&(Za=la.MacRomanEncoding.indexOf(ya));for(var aa=!1,M=0;M<Va;++M)if(N[M].charCode===Za){x[z]=N[M].glyphId;aa=!0;
|
467 |
+
break}!aa&&c.glyphNames&&(M=c.glyphNames.indexOf(ya),0<M&&(x[z]=M))}}}else for(M=0;M<Va;++M)z=N[M].charCode&255,x[z]=N[M].glyphId}0===x.length&&(x[0]=0);Za=d(x,c);this.toFontChar=Za.toFontChar;I.cmap={tag:"cmap",data:g(Za.charCodeToGlyphId)};I["OS/2"]&&h(I["OS/2"])||(I["OS/2"]={tag:"OS/2",data:l(c,Za.charCodeToGlyphId,{unitsPerEm:(I.head.data[18]<<8)+I.head.data[19],yMax:(I.head.data[42]<<8)+I.head.data[43],yMin:(I.head.data[38]<<8)+I.head.data[39]-65536,ascent:(I.hhea.data[4]<<8)+I.hhea.data[5],
|
468 |
+
descent:(I.hhea.data[6]<<8)+I.hhea.data[7]-65536})});I.post||(I.post={tag:"post",data:n(c)});if(!E)try{J=new xa(I["CFF "].data);B=(new dc(J,c)).parse();var Y=new Cc(B);I["CFF "].data=Y.compile()}catch(dd){L("Failed to compile font "+c.loadedName)}I.name?(c=y(I.name),I.name.data=k(a,c)):I.name={tag:"name",data:k(this.name)};a=new Bc(A.version);for(var wc in I)a.addTable(wc,I[wc].data);return a.toArray()},convert:function(b,f,h){function e(a,b){var d=null,c;for(c in a)b===a[c]&&(d||(d=[]),d.push(c|
|
469 |
+
0));return d}function q(a,b){for(var d in a)if(b===a[d])return d|0;u.charCodeToGlyphId[u.nextAvailableFontCharCode]=b;return u.nextAvailableFontCharCode++}h.fixedPitch=!1;var p=f.getGlyphMapping(h),u=d(p,h);this.toFontChar=u.toFontChar;var w=f.numGlyphs,y=f.seacs;if(zb&&y&&y.length){var C=h.fontMatrix||Ya,F=f.getCharset(),E=Object.create(null),A;for(A in y){A|=0;var H=y[A],B=la.StandardEncoding[H[3]],J=F.indexOf(la.StandardEncoding[H[2]]),B=F.indexOf(B);if(!(0>J||0>B)){var H={x:H[0]*C[0]+H[1]*C[2]+
|
470 |
+
C[4],y:H[0]*C[1]+H[1]*C[3]+C[5]},I=e(p,A);if(I)for(var O=0,M=I.length;O<M;O++){var x=I[O],K=u.charCodeToGlyphId,G=q(K,J),K=q(K,B);E[x]={baseFontCharCode:G,accentFontCharCode:K,accentOffset:H}}}}h.seacMap=E}p=1/(h.fontMatrix||Ya)[0];y=new Bc("OTTO");y.addTable("CFF ",f.data);y.addTable("OS/2",l(h,u.charCodeToGlyphId));y.addTable("cmap",g(u.charCodeToGlyphId));y.addTable("head","\x00\u0001\x00\x00\x00\x00\u0010\x00\x00\x00\x00\x00_\u000f<\u00f5\x00\x00"+c(p)+"\x00\x00\x00\x00\u009e\x0B~'\x00\x00\x00\x00\u009e\x0B~'\x00\x00"+
|
471 |
+
c(h.descent)+"\u000f\u00ff"+c(h.ascent)+a(h.italicAngle?2:0)+"\x00\u0011\x00\x00\x00\x00\x00\x00");y.addTable("hhea","\x00\u0001\x00\x00"+c(h.ascent)+c(h.descent)+"\x00\x00\u00ff\u00ff\x00\x00\x00\x00\x00\x00"+c(h.capHeight)+c(Math.tan(h.italicAngle)*h.xHeight)+"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"+a(w));y.addTable("hmtx",function(){for(var b=f.charstrings,d=f.cff?f.cff.widths:null,c="\x00\x00\x00\x00",g=1;g<w;g++){var h=0;b?(h=b[g-1],h="width"in h?h.width:0):d&&(h=Math.ceil(d[g]||0));
|
472 |
+
c+=a(h)+a(0)}return c}());y.addTable("maxp","\x00\x00P\x00"+a(w));y.addTable("name",k(b));y.addTable("post",n(h));return y.toArray()},buildToUnicode:function(a){if(a.toUnicode&&0!==a.toUnicode.length)return a.toUnicode;var b,d;if(!a.composite){b=[];var c=a.defaultEncoding.slice(),f=a.baseEncodingName;a=a.differences;for(d in a)c[d]=a[d];for(d in c)if(a=c[d],""!==a)if(void 0===Ia[a]){var g=0;switch(a[0]){case "G":3===a.length&&(g=parseInt(a.substr(1),16));break;case "g":5===a.length&&(g=parseInt(a.substr(1),
|
473 |
+
16));break;case "C":case "c":3<=a.length&&(g=+a.substr(1))}if(g){if(f&&g===+d){var h=la[f];if(h&&(a=h[d])){b[d]=String.fromCharCode(Ia[a]);continue}}b[d]=String.fromCharCode(g)}}else b[d]=String.fromCharCode(Ia[a]);return new ub(b)}if(a.composite&&(a.cMap.builtInCMap&&!(a.cMap instanceof cc)||"Adobe"===a.cidSystemInfo.registry&&("GB1"===a.cidSystemInfo.ordering||"CNS1"===a.cidSystemInfo.ordering||"Japan1"===a.cidSystemInfo.ordering||"Korea1"===a.cidSystemInfo.ordering))){d=new Fa(a.cidSystemInfo.registry+
|
474 |
+
"-"+a.cidSystemInfo.ordering+"-UCS2");var e=Mb.create(d,{url:PDFJS.cMapUrl,packed:PDFJS.cMapPacked},null);d=a.cMap;b=[];d.forEach(function(a,d){ba(65535>=d,"Max size of CID is 65,535");var c=e.lookup(d);c&&(b[a]=String.fromCharCode((c.charCodeAt(0)<<8)+c.charCodeAt(1)))});return new ub(b)}return new Ac(a.firstChar,a.lastChar)},get spaceWidth(){if("_shadowWidth"in this)return this._shadowWidth;for(var a=["space","minus","one","i"],b,d=0,c=a.length;d<c;d++){b=a[d];if(b in this.widths){b=this.widths[b];
|
475 |
+
break}b=Ia[b];var f=0;this.composite&&this.cMap.contains(b)&&(f=this.cMap.lookup(b));!f&&"toUnicode"in this&&(f=this.toUnicode.charCodeOf(b));0>=f&&(f=b);if(b=this.widths[f])break}return this._shadowWidth=b=b||this.defaultWidth},charToGlyph:function(a){var b,d,c,f=a;this.cMap&&this.cMap.contains(a)&&(f=this.cMap.lookup(a));d=this.widths[f];d=Xa(d)?d:this.defaultWidth;var f=this.vmetrics&&this.vmetrics[f],g=this.toUnicode.get(a)||a;"number"===typeof g&&(g=String.fromCharCode(g));b=this.toFontChar[a]||
|
476 |
+
a;this.missingFile&&(65520<=b&&65535>=b?b=0:62976<=b&&63743>=b&&(b=Be[b]||b));this.isType3Font&&(c=b);var h=null;this.seacMap&&this.seacMap[a]&&(h=this.seacMap[a],b=h.baseFontCharCode,h={fontChar:String.fromCharCode(h.accentFontCharCode),offset:h.accentOffset});b=String.fromCharCode(b);var e=this.glyphCache[a];e&&e.matchesForCache(b,g,h,d,f,c)||(e=new Ce(b,g,h,d,f,c),this.glyphCache[a]=e);return e},charsToGlyphs:function(a){var b=this.charsCache,d,c,f;if(b&&(d=b[a]))return d;b||(b=this.charsCache=
|
477 |
+
Object.create(null));d=[];var g=0,h;if(this.cMap)for(h={};g<a.length;){this.cMap.readCharCode(a,g,h);f=h.charcode;var e=h.length,g=g+e;c=this.charToGlyph(f);d.push(c);1===e&&32===a.charCodeAt(g-1)&&d.push(null)}else for(g=0,h=a.length;g<h;++g)f=a.charCodeAt(g),c=this.charToGlyph(f),d.push(c),32===f&&d.push(null);return b[a]=d}};return e}(),md=function(){function e(a){this.error=a;this.loadedName="g_font_error";this.loading=!1}e.prototype={charsToGlyphs:function(){return[]},exportData:function(){return{error:this.error}}};
|
478 |
+
return e}(),Ee=function(){function e(){this.lsb=this.width=0;this.flexing=!1;this.output=[];this.stack=[]}var a=[4],c=[5],b=[6],d=[7],f=[8],g=[12,35],h=[14],l=[21],n=[22],k=[30],r=[31];e.prototype={convert:function(e,t){for(var v=e.length,q=!1,p,u=0;u<v;u++)if(p=e[u],32>p){12===p&&(p=(p<<8)+e[++u]);switch(p){case 1:this.stack=[];break;case 3:this.stack=[];break;case 4:if(this.flexing){if(1>this.stack.length){q=!0;break}p=this.stack.pop();this.stack.push(0,p);break}q=this.executeCommand(1,a);break;
|
479 |
+
case 5:q=this.executeCommand(2,c);break;case 6:q=this.executeCommand(1,b);break;case 7:q=this.executeCommand(1,d);break;case 8:q=this.executeCommand(6,f);break;case 9:this.stack=[];break;case 10:if(1>this.stack.length){q=!0;break}p=this.stack.pop();q=this.convert(t[p],t);break;case 11:return q;case 13:if(2>this.stack.length){q=!0;break}q=this.stack.pop();this.lsb=p=this.stack.pop();this.width=q;this.stack.push(q,p);q=this.executeCommand(2,n);break;case 14:this.output.push(h[0]);break;case 21:if(this.flexing)break;
|
480 |
+
q=this.executeCommand(2,l);break;case 22:if(this.flexing){this.stack.push(0);break}q=this.executeCommand(1,n);break;case 30:q=this.executeCommand(4,k);break;case 31:q=this.executeCommand(4,r);break;case 3072:this.stack=[];break;case 3073:this.stack=[];break;case 3074:this.stack=[];break;case 3078:zb?(this.seac=this.stack.splice(-4,4),q=this.executeCommand(0,h)):q=this.executeCommand(4,h);break;case 3079:if(4>this.stack.length){q=!0;break}this.stack.pop();var q=this.stack.pop(),w=this.stack.pop();
|
481 |
+
this.lsb=p=this.stack.pop();this.width=q;this.stack.push(q,p,w);q=this.executeCommand(3,l);break;case 3084:if(2>this.stack.length){q=!0;break}p=this.stack.pop();w=this.stack.pop();this.stack.push(w/p);break;case 3088:if(2>this.stack.length){q=!0;break}p=this.stack.pop();w=this.stack.pop();0===p&&3===w?(p=this.stack.splice(this.stack.length-17,17),this.stack.push(p[2]+p[0],p[3]+p[1],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14]),q=this.executeCommand(13,g,!0),this.flexing=!1,this.stack.push(p[15],
|
482 |
+
p[16])):1===p&&0===w&&(this.flexing=!0);break;case 3089:break;case 3105:this.stack=[];break;default:L('Unknown type 1 charstring command of "'+p+'"')}if(q)break}else p=246>=p?p-139:250>=p?256*(p-247)+e[++u]+108:254>=p?-(256*(p-251))-e[++u]-108:(e[++u]&255)<<24|(e[++u]&255)<<16|(e[++u]&255)<<8|(e[++u]&255)<<0,this.stack.push(p);return q},executeCommand:function(a,b,d){var c=this.stack.length;if(a>c)return!0;for(var f=c-a,g=f;g<c;g++){var h=this.stack[g];h===(h|0)?this.output.push(28,h>>8&255,h&255):
|
483 |
+
(h=65536*h|0,this.output.push(255,h>>24&255,h>>16&255,h>>8&255,h&255))}this.output.push.apply(this.output,b);d?this.stack.splice(f,a):this.stack.length=0;return!1}};return e}(),xd=function(){function e(a){return 48<=a&&57>=a||65<=a&&70>=a||97<=a&&102>=a}function a(a,b,c){b|=0;for(var h=a.length,e=new Uint8Array(h),n=0;n<h;n++){var k=a[n];e[n]=k^b>>8;b=52845*(k+b)+22719&65535}return Array.prototype.slice.call(e,c)}function c(a){return 47===a||91===a||93===a||123===a||125===a||40===a||41===a}function b(b,
|
484 |
+
c){if(c){var g=b.getBytes(),h=!(e(g[0])&&e(g[1])&&e(g[2])&&e(g[3])),l=xa;if(h)g=a(g,55665,4);else{var h=55665,n=g.length,k=new Uint8Array(n>>>1),r,m;for(m=r=0;r<n;r++){var t=g[r];if(e(t)){r++;for(var v;r<n&&!e(v=g[r]);)r++;r<n&&(t=parseInt(String.fromCharCode(t,v),16),k[m++]=t^h>>8,h=52845*(t+h)+22719&65535)}}g=Array.prototype.slice.call(k,4,m)}b=new l(g)}this.stream=b;this.nextChar()}b.prototype={readNumberArray:function(){this.getToken();for(var a=[];;){var b=this.getToken();if(null===b||"]"===
|
485 |
+
b||"}"===b)break;a.push(parseFloat(b||0))}return a},readNumber:function(){var a=this.getToken();return parseFloat(a||0)},readInt:function(){var a=this.getToken();return parseInt(a||0,10)|0},readBoolean:function(){return"true"===this.getToken()?1:0},nextChar:function(){return this.currentChar=this.stream.getByte()},getToken:function(){for(var a=!1,b=this.currentChar;;){if(-1===b)return null;if(a){if(10===b||13===b)a=!1}else if(37===b)a=!0;else if(!ta.isSpace(b))break;b=this.nextChar()}if(c(b))return this.nextChar(),
|
486 |
+
String.fromCharCode(b);a="";do a+=String.fromCharCode(b),b=this.nextChar();while(0<=b&&!ta.isSpace(b)&&!c(b));return a},extractFontProgram:function(){for(var b=this.stream,c=[],g=[],h={subrs:[],charstrings:[],properties:{privateData:{lenIV:4}}},e,n,k;null!==(e=this.getToken());)if("/"===e)switch(e=this.getToken(),e){case "CharStrings":this.getToken();this.getToken();this.getToken();for(this.getToken();;){e=this.getToken();if(null===e||"end"===e)break;if("/"===e){var r=this.getToken();e=this.readInt();
|
487 |
+
this.getToken();n=b.makeSubStream(b.pos,e);k=h.properties.privateData.lenIV;n=a(n.getBytes(),4330,k);b.skip(e);this.nextChar();e=this.getToken();"noaccess"===e&&this.getToken();g.push({glyph:r,encoded:n})}}break;case "Subrs":this.readInt();for(this.getToken();"dup"===this.getToken();)r=this.readInt(),e=this.readInt(),this.getToken(),n=b.makeSubStream(b.pos,e),k=h.properties.privateData.lenIV,n=a(n.getBytes(),4330,k),b.skip(e),this.nextChar(),e=this.getToken(),"noaccess"===e&&this.getToken(),c[r]=
|
488 |
+
n;break;case "BlueValues":case "OtherBlues":case "FamilyBlues":case "FamilyOtherBlues":this.readNumberArray();break;case "StemSnapH":case "StemSnapV":h.properties.privateData[e]=this.readNumberArray();break;case "StdHW":case "StdVW":h.properties.privateData[e]=this.readNumberArray()[0];break;case "BlueShift":case "lenIV":case "BlueFuzz":case "BlueScale":case "LanguageGroup":case "ExpansionFactor":h.properties.privateData[e]=this.readNumber();break;case "ForceBold":h.properties.privateData[e]=this.readBoolean()}for(b=
|
489 |
+
0;b<g.length;b++)r=g[b].glyph,n=g[b].encoded,e=new Ee,n=e.convert(n,c),k=e.output,n&&(k=[14]),h.charstrings.push({glyphName:r,charstring:k,width:e.width,lsb:e.lsb,seac:e.seac});return h},extractFontHeader:function(a){for(var b;null!==(b=this.getToken());)if("/"===b)switch(b=this.getToken(),b){case "FontMatrix":var c=this.readNumberArray();a.fontMatrix=c;break;case "Encoding":var h=this.getToken();if(/^\d+$/.test(h)){c=[];h=parseInt(h,10)|0;this.getToken();for(var e=0;e<h;e++){for(b=this.getToken();"dup"!==
|
490 |
+
b&&"def"!==b;)if(b=this.getToken(),null===b)return;if("def"===b)break;b=this.readInt();this.getToken();var n=this.getToken();c[b]=n;this.getToken()}}else c=la[h];a.builtInEncoding=c;break;case "FontBBox":c=this.readNumberArray(),a.ascent=c[3],a.descent=c[1],a.ascentScaled=!0}}};return b}(),Dc=".notdef space exclam quotedbl numbersign dollar percent ampersand quoteright parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bracketleft backslash bracketright asciicircum underscore quoteleft a b c d e f g h i j k l m n o p q r s t u v w x y z braceleft bar braceright asciitilde exclamdown cent sterling fraction yen florin section currency quotesingle quotedblleft guillemotleft guilsinglleft guilsinglright fi fl endash dagger daggerdbl periodcentered paragraph bullet quotesinglbase quotedblbase quotedblright guillemotright ellipsis perthousand questiondown grave acute circumflex tilde macron breve dotaccent dieresis ring cedilla hungarumlaut ogonek caron emdash AE ordfeminine Lslash Oslash OE ordmasculine ae dotlessi lslash oslash oe germandbls onesuperior logicalnot mu trademark Eth onehalf plusminus Thorn onequarter divide brokenbar degree thorn threequarters twosuperior registered minus eth multiply threesuperior copyright Aacute Acircumflex Adieresis Agrave Aring Atilde Ccedilla Eacute Ecircumflex Edieresis Egrave Iacute Icircumflex Idieresis Igrave Ntilde Oacute Ocircumflex Odieresis Ograve Otilde Scaron Uacute Ucircumflex Udieresis Ugrave Yacute Ydieresis Zcaron aacute acircumflex adieresis agrave aring atilde ccedilla eacute ecircumflex edieresis egrave iacute icircumflex idieresis igrave ntilde oacute ocircumflex odieresis ograve otilde scaron uacute ucircumflex udieresis ugrave yacute ydieresis zcaron exclamsmall Hungarumlautsmall dollaroldstyle dollarsuperior ampersandsmall Acutesmall parenleftsuperior parenrightsuperior twodotenleader onedotenleader zerooldstyle oneoldstyle twooldstyle threeoldstyle fouroldstyle fiveoldstyle sixoldstyle sevenoldstyle eightoldstyle nineoldstyle commasuperior threequartersemdash periodsuperior questionsmall asuperior bsuperior centsuperior dsuperior esuperior isuperior lsuperior msuperior nsuperior osuperior rsuperior ssuperior tsuperior ff ffi ffl parenleftinferior parenrightinferior Circumflexsmall hyphensuperior Gravesmall Asmall Bsmall Csmall Dsmall Esmall Fsmall Gsmall Hsmall Ismall Jsmall Ksmall Lsmall Msmall Nsmall Osmall Psmall Qsmall Rsmall Ssmall Tsmall Usmall Vsmall Wsmall Xsmall Ysmall Zsmall colonmonetary onefitted rupiah Tildesmall exclamdownsmall centoldstyle Lslashsmall Scaronsmall Zcaronsmall Dieresissmall Brevesmall Caronsmall Dotaccentsmall Macronsmall figuredash hypheninferior Ogoneksmall Ringsmall Cedillasmall questiondownsmall oneeighth threeeighths fiveeighths seveneighths onethird twothirds zerosuperior foursuperior fivesuperior sixsuperior sevensuperior eightsuperior ninesuperior zeroinferior oneinferior twoinferior threeinferior fourinferior fiveinferior sixinferior seveninferior eightinferior nineinferior centinferior dollarinferior periodinferior commainferior Agravesmall Aacutesmall Acircumflexsmall Atildesmall Adieresissmall Aringsmall AEsmall Ccedillasmall Egravesmall Eacutesmall Ecircumflexsmall Edieresissmall Igravesmall Iacutesmall Icircumflexsmall Idieresissmall Ethsmall Ntildesmall Ogravesmall Oacutesmall Ocircumflexsmall Otildesmall Odieresissmall OEsmall Oslashsmall Ugravesmall Uacutesmall Ucircumflexsmall Udieresissmall Yacutesmall Thornsmall Ydieresissmall 001.000 001.001 001.002 001.003 Black Bold Book Light Medium Regular Roman Semibold".split(" "),
|
491 |
+
wd=function(e,a,c){var b=c.length1,d=c.length2,f=a.peekBytes(6),g=128===f[0]&&1===f[1];g&&(a.skip(6),b=f[5]<<24|f[4]<<16|f[3]<<8|f[2]);b=new xa(a.getBytes(b));(new xd(b)).extractFontHeader(c);g&&(f=a.getBytes(6),d=f[5]<<24|f[4]<<16|f[3]<<8|f[2]);a=new xa(a.getBytes(d));a=(new xd(a,!0)).extractFontProgram();for(var h in a.properties)c[h]=a.properties[h];h=a.charstrings;d=this.getType2Charstrings(h);g=this.getType2Subrs(a.subrs);this.charstrings=h;this.data=this.wrap(e,d,this.charstrings,g,c);this.seacs=
|
492 |
+
this.getSeacs(a.charstrings)};wd.prototype={get numGlyphs(){return this.charstrings.length+1},getCharset:function(){for(var e=[".notdef"],a=this.charstrings,c=0;c<a.length;c++)e.push(a[c].glyphName);return e},getGlyphMapping:function(e){var a=this.charstrings,c=[".notdef"],b;for(b=0;b<a.length;b++)c.push(a[b].glyphName);if(a=e.builtInEncoding){var d={},f;for(f in a)b=c.indexOf(a[f]),0<=b&&(d[f]=b)}return nc(e,d,c)},getSeacs:function(e){var a,c,b=[];a=0;for(c=e.length;a<c;a++){var d=e[a];d.seac&&(b[a+
|
493 |
+
1]=d.seac)}return b},getType2Charstrings:function(e){for(var a=[],c=0,b=e.length;c<b;c++)a.push(e[c].charstring);return a},getType2Subrs:function(e){var a=0,c=e.length,a=1133>c?107:33769>c?1131:32768,b=[],d;for(d=0;d<a;d++)b.push([11]);for(d=0;d<c;d++)b.push(e[d]);return b},wrap:function(e,a,c,b,d){var f=new yd;f.header=new zd(1,0,4,4);f.names=[e];var g=new Nb;g.setByName("version",391);g.setByName("Notice",392);g.setByName("FullName",393);g.setByName("FamilyName",394);g.setByName("Weight",395);g.setByName("Encoding",
|
494 |
+
null);g.setByName("FontMatrix",d.fontMatrix);g.setByName("FontBBox",d.bbox);g.setByName("charset",null);g.setByName("CharStrings",null);g.setByName("Private",null);f.topDict=g;g=new Ec;g.add("Version 0.11");g.add("See original notice");g.add(e);g.add(e);g.add("Medium");f.strings=g;f.globalSubrIndex=new ib;var g=a.length,h=[0];for(e=0;e<g;e++){var l=Dc.indexOf(c[e].glyphName);-1===l&&(l=0);h.push(l>>8&255,l&255)}f.charset=new Ob(!1,0,[],h);c=new ib;c.add([139,14]);for(e=0;e<g;e++)c.add(a[e]);f.charStrings=
|
495 |
+
c;c=new Pb;c.setByName("Subrs",null);g="BlueValues OtherBlues FamilyBlues FamilyOtherBlues StemSnapH StemSnapV BlueShift BlueFuzz BlueScale LanguageGroup ExpansionFactor ForceBold StdHW StdVW".split(" ");e=0;for(a=g.length;e<a;e++)if(h=g[e],d.privateData.hasOwnProperty(h)){l=d.privateData[h];if(U(l))for(var n=l.length-1;0<n;n--)l[n]-=l[n-1];c.setByName(h,l)}f.topDict.privateDict=c;d=new ib;e=0;for(a=b.length;e<a;e++)d.add(b[e]);c.subrsIndex=d;return(new Cc(f)).compile()}};var vd=function(){function e(a,
|
496 |
+
c){this.properties=c;this.cff=(new dc(a,c)).parse();var b=new Cc(this.cff);this.seacs=this.cff.seacs;try{this.data=b.compile()}catch(d){L("Failed to compile font "+c.loadedName),this.data=a}}e.prototype={get numGlyphs(){return this.cff.charStrings.count},getCharset:function(){return this.cff.charset.charset},getGlyphMapping:function(){var a=this.cff,c=this.properties,b=a.charset.charset,d,f;if(c.composite){d=Object.create(null);if(a.isCIDFont)for(f=0;f<b.length;f++)a=c.cMap.charCodeOf(b[f]),d[a]=
|
497 |
+
f;else for(f=0;f<a.charStrings.count;f++)d[f]=f;return d}return d=nc(c,a.encoding?a.encoding.encoding:null,b)}};return e}(),dc=function(){function e(a,c){this.bytes=a.getBytes();this.properties=c}var a=[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",min:6,resetStack:!0},null,{id:"callsubr",
|
498 |
+
min:1,undefStack:!0},{id:"return",min:0,undefStack:!0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},
|
499 |
+
null,{id:"callgsubr",min:1,undefStack:!0},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}],c=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn:function(a,c){a[c-2]+=a[c-1]}},{id:"sub",min:2,stackDelta:-1,stackFn:function(a,c){a[c-2]-=a[c-1]}},{id:"div",min:2,stackDelta:-1,stackFn:function(a,c){a[c-2]/=a[c-1]}},null,{id:"neg",min:1,stackDelta:0,
|
500 |
+
stackFn:function(a,c){a[c-1]=-a[c-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn:function(a,c){a[c-2]*=a[c-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",
|
501 |
+
min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}];e.prototype={parse:function(){var a=this.properties,c=new yd;this.cff=c;var f=this.parseHeader(),g=this.parseIndex(f.endPos),h=this.parseIndex(g.endPos),e=this.parseIndex(h.endPos),n=this.parseIndex(e.endPos),h=this.parseDict(h.obj.get(0)),h=this.createDict(Nb,h,c.strings);c.header=f.obj;c.names=this.parseNameIndex(g.obj);c.strings=this.parseStringIndex(e.obj);c.topDict=h;c.globalSubrIndex=
|
502 |
+
n.obj;this.parsePrivateDict(c.topDict);c.isCIDFont=h.hasName("ROS");f=h.getByName("CharStrings");f=this.parseCharStrings(f);c.charStrings=f.charStrings;c.seacs=f.seacs;c.widths=f.widths;if(f=h.getByName("FontMatrix"))a.fontMatrix=f;if(f=h.getByName("FontBBox"))a.ascent=f[3],a.descent=f[1],a.ascentScaled=!0;if(c.isCIDFont){a=this.parseIndex(h.getByName("FDArray")).obj;f=0;for(g=a.count;f<g;++f)e=a.get(f),e=this.createDict(Nb,this.parseDict(e),c.strings),this.parsePrivateDict(e),c.fdArray.push(e);a=
|
503 |
+
null;f=this.parseCharsets(h.getByName("charset"),c.charStrings.count,c.strings,!0);c.fdSelect=this.parseFDSelect(h.getByName("FDSelect"),c.charStrings.count)}else f=this.parseCharsets(h.getByName("charset"),c.charStrings.count,c.strings,!1),a=this.parseEncoding(h.getByName("Encoding"),a,c.strings,f.charset);c.charset=f;c.encoding=a;return c},parseHeader:function(){for(var a=this.bytes,c=a.length,f=0;f<c&&1!==a[f];)++f;f>=c?G("Invalid CFF header"):0!==f&&(R("cff data is shifted"),this.bytes=a=a.subarray(f));
|
504 |
+
c=a[2];return{obj:new zd(a[0],a[1],c,a[3]),endPos:c}},parseDict:function(a){function c(){var d=a[f++];if(30===d){for(var d="",g=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],h=a.length;f<h;){var e=a[f++],l=e>>4,e=e&15;if(15===l)break;d+=g[l];if(15===e)break;d+=g[e]}return parseFloat(d)}if(28===d)return d=a[f++],d=(d<<24|a[f++]<<16)>>16;if(29===d)return d=a[f++],d=d<<8|a[f++],d=d<<8|a[f++],d=d<<8|a[f++];if(32<=d&&246>=d)return d-139;if(247<=d&&250>=d)return 256*(d-247)+a[f++]+108;
|
505 |
+
if(251<=d&&254>=d)return-(256*(d-251))-a[f++]-108;G("255 is not a valid DICT command");return-1}for(var f=0,g=[],h=[],f=0,e=a.length;f<e;){var n=a[f];21>=n?(12===n&&(n=n<<8|a[++f]),h.push([n,g]),g=[],++f):g.push(c())}return h},parseIndex:function(a){var c=new ib,f=this.bytes,g=f[a++]<<8|f[a++],h=[],e=a,n,k;if(0!==g){var e=f[a++],r=a+(g+1)*e-1;n=0;for(k=g+1;n<k;++n){for(var m=0,t=0;t<e;++t)m<<=8,m+=f[a++];h.push(r+m)}e=h[g]}n=0;for(k=h.length-1;n<k;++n)c.add(f.subarray(h[n],h[n+1]));return{obj:c,endPos:e}},
|
506 |
+
parseNameIndex:function(a){for(var c=[],f=0,g=a.count;f<g;++f){for(var h=a.get(f),e=Math.min(h.length,127),n=[],k=0;k<e;++k){var r=h[k];n[k]=0===k&&0===r?r:33>r||126<r||91===r||93===r||40===r||41===r||123===r||125===r||60===r||62===r||47===r||37===r||35===r?95:r}c.push(Ra(n))}return c},parseStringIndex:function(a){for(var c=new Ec,f=0,g=a.count;f<g;++f){var h=a.get(f);c.add(Ra(h))}return c},createDict:function(a,c,f){a=new a(f);f=0;for(var g=c.length;f<g;++f){var h=c[f];a.setByKey(h[0],h[1])}return a},
|
507 |
+
parseCharStrings:function(b){b=this.parseIndex(b).obj;for(var d=[],f=[],g=b.count,h=0;h<g;h++){for(var e=0,n=[],k=!0,r=0,m=!0,t=b.get(h),v=t.length,q=!0,p=0;p<v;){var u=t[p++],w=null;if(12===u)u=t[p++],0===u?(t[p-2]=139,t[p-1]=22,e=0):w=c[u];else if(28===u)n[e]=(t[p]<<24|t[p+1]<<16)>>16,p+=2,e++;else if(14===u)4<=e&&(e-=4,zb&&(d[h]=n.slice(e,e+4),m=!1)),w=a[u];else if(32<=u&&246>=u)n[e]=u-139,e++;else if(247<=u&&254>=u)n[e]=251>u?(u-247<<8)+t[p]+108:-(u-251<<8)-t[p]-108,p++,e++;else if(255===u)n[e]=
|
508 |
+
(t[p]<<24|t[p+1]<<16|t[p+2]<<8|t[p+3])/65536,p+=4,e++;else{if(19===u||20===u)r+=e>>1,p+=r+7>>3,e%=2;w=a[u]}if(w){w.stem&&(r+=e>>1);if("min"in w&&!k&&e<w.min){L("Not enough parameters for "+w.id+"; actual: "+e+", expected: "+w.min);m=!1;break}q&&w.stackClearing&&(q=!1,e-=w.min,2<=e&&w.stem?e%=2:1<e&&L("Found too many parameters for stack-clearing command"),0<e&&0<=n[e-1]&&(f[h]=n[e-1]));"stackDelta"in w?("stackFn"in w&&w.stackFn(n,e),e+=w.stackDelta):w.stackClearing?e=0:w.resetStack?(e=0,k=!1):w.undefStack&&
|
509 |
+
(e=0,k=!0,q=!1)}}m||b.set(h,new Uint8Array([14]))}return{charStrings:b,seacs:d,widths:f}},emptyPrivateDictionary:function(a){var c=this.createDict(Pb,[],a.strings);a.setByKey(18,[0,0]);a.privateDict=c},parsePrivateDict:function(a){if(a.hasName("Private")){var c=a.getByName("Private");if(U(c)&&2===c.length){var f=c[0],c=c[1];if(0===f||c>=this.bytes.length)this.emptyPrivateDictionary(a);else if(f=this.bytes.subarray(c,c+f),f=this.parseDict(f),f=this.createDict(Pb,f,a.strings),a.privateDict=f,f.getByName("Subrs")){var g=
|
510 |
+
f.getByName("Subrs"),c=c+g;0===g||c>=this.bytes.length?this.emptyPrivateDictionary(a):(a=this.parseIndex(c),f.subrsIndex=a.obj)}}else a.removeByName("Private")}else this.emptyPrivateDictionary(a)},parseCharsets:function(a,c,f,g){if(0===a)return new Ob(!0,Qb.ISO_ADOBE,Vd);if(1===a)return new Ob(!0,Qb.EXPERT,Wd);if(2===a)return new Ob(!0,Qb.EXPERT_SUBSET,Xd);var h=this.bytes,e=a,n=h[a++],k=[".notdef"],r,m,t;--c;switch(n){case 0:for(t=0;t<c;t++)r=h[a++]<<8|h[a++],k.push(g?r:f.get(r));break;case 1:for(;k.length<=
|
511 |
+
c;)for(r=h[a++]<<8|h[a++],m=h[a++],t=0;t<=m;t++)k.push(g?r++:f.get(r++));break;case 2:for(;k.length<=c;)for(r=h[a++]<<8|h[a++],m=h[a++]<<8|h[a++],t=0;t<=m;t++)k.push(g?r++:f.get(r++));break;default:G("Unknown charset format")}a=h.subarray(e,a);return new Ob(!1,n,k,a)},parseEncoding:function(a,c,f,g){c={};var h=this.bytes,e=!1,n,k,r=null;if(0===a||1===a)for(e=!0,f=(n=a)?la.ExpertEncoding:la.StandardEncoding,k=0,a=g.length;k<a;k++)h=f.indexOf(g[k]),-1!==h&&(c[h]=k);else{r=a;n=h[a++];switch(n&127){case 0:var m=
|
512 |
+
h[a++];for(k=1;k<=m;k++)c[h[a++]]=k;break;case 1:var m=h[a++],t=1;for(k=0;k<m;k++)for(var v=h[a++],q=h[a++],p=v;p<=v+q;p++)c[p]=t++;break;default:G("Unknow encoding format: "+n+" in CFF")}m=a;if(n&128)for(h[r]&=127,t=h[a++],k=0;k<t;k++)v=h[a++],q=(h[a++]<<8)+(h[a++]&255),c[v]=g.indexOf(f.get(q));r=h.subarray(r,m)}return new Fe(e,n&127,c,r)},parseFDSelect:function(a,c){var f=a,g=this.bytes,h=g[a++],e=[];switch(h){case 0:for(h=0;h<c;++h){var n=g[a++];e.push(n)}break;case 3:n=g[a++]<<8|g[a++];for(h=
|
513 |
+
0;h<n;++h)for(var k=g[a++]<<8|g[a++],r=g[a++],m=g[a]<<8|g[a+1];k<m;++k)e.push(r);a+=2;break;default:G("Unknown fdselect format "+h)}return new Ge(e,g.subarray(f,a))}};return e}(),yd=function(){return function(){this.header=null;this.names=[];this.topDict=null;this.strings=new Ec;this.charStrings=this.charset=this.encoding=this.globalSubrIndex=null;this.fdArray=[];this.fdSelect=null;this.isCIDFont=!1}}(),zd=function(){return function(e,a,c,b){this.major=e;this.minor=a;this.hdrSize=c;this.offSize=b}}(),
|
514 |
+
Ec=function(){function e(){this.strings=[]}e.prototype={get:function(a){return 0<=a&&390>=a?Dc[a]:a-391<=this.strings.length?this.strings[a-391]:Dc[0]},add:function(a){this.strings.push(a)},get count(){return this.strings.length}};return e}(),ib=function(){function e(){this.objects=[];this.length=0}e.prototype={add:function(a){this.length+=a.length;this.objects.push(a)},set:function(a,c){this.length+=c.length-this.objects[a].length;this.objects[a]=c},get:function(a){return this.objects[a]},get count(){return this.objects.length}};
|
515 |
+
return e}(),jb=function(){function e(a,c){this.keyToNameMap=a.keyToNameMap;this.nameToKeyMap=a.nameToKeyMap;this.defaults=a.defaults;this.types=a.types;this.opcodes=a.opcodes;this.order=a.order;this.strings=c;this.values={}}e.prototype={setByKey:function(a,c){if(!(a in this.keyToNameMap))return!1;if(0===c.length)return!0;var b=this.types[a];if("num"===b||"sid"===b||"offset"===b)c=c[0];this.values[a]=c;return!0},setByName:function(a,c){a in this.nameToKeyMap||G('Invalid dictionary name "'+a+'"');this.values[this.nameToKeyMap[a]]=
|
516 |
+
c},hasName:function(a){return this.nameToKeyMap[a]in this.values},getByName:function(a){a in this.nameToKeyMap||G('Invalid dictionary name "'+a+'"');a=this.nameToKeyMap[a];return a in this.values?this.values[a]:this.defaults[a]},removeByName:function(a){delete this.values[this.nameToKeyMap[a]]}};e.createTables=function(a){for(var c={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]},b=0,d=a.length;b<d;++b){var f=a[b],g=U(f[0])?(f[0][0]<<8)+f[0][1]:f[0];c.keyToNameMap[g]=f[1];
|
517 |
+
c.nameToKeyMap[f[1]]=g;c.types[g]=f[2];c.defaults[g]=f[3];c.opcodes[g]=U(f[0])?f[0]:[f[0]];c.order.push(g)}return c};return e}(),Nb=function(){function e(b){null===c&&(c=jb.createTables(a));jb.call(this,c,b);this.privateDict=null}var a=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",
|
518 |
+
0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix","num num num num num num".split(" "),[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",0],[16,"Encoding","offset",0],[17,"CharStrings","offset",0],[18,"Private",["offset","offset"],
|
519 |
+
null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","num",0],[[12,32],"CIDFontRevision","num",0],[[12,33],"CIDFontType","num",0],[[12,34],"CIDCount","num",8720],[[12,35],"UIDBase","num",null],[[12,37],"FDSelect","offset",null],[[12,36],"FDArray","offset",null],[[12,38],"FontName","sid",null]],c=null;e.prototype=Object.create(jb.prototype);return e}(),Pb=function(){function e(b){null===c&&(c=jb.createTables(a));
|
520 |
+
jb.call(this,c,b);this.subrsIndex=null}var a=[[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","num",.039625],[[12,10],"BlueShift","num",7],[[12,11],"BlueFuzz","num",1],[10,"StdHW","num",null],[11,"StdVW","num",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","num",0],[[12,17],"LanguageGroup","num",0],[[12,18],"ExpansionFactor","num",.06],[[12,19],"initialRandomSeed",
|
521 |
+
"num",0],[20,"defaultWidthX","num",0],[21,"nominalWidthX","num",0],[19,"Subrs","offset",null]],c=null;e.prototype=Object.create(jb.prototype);return e}(),Qb={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2},Ob=function(){return function(e,a,c,b){this.predefined=e;this.format=a;this.charset=c;this.raw=b}}(),Fe=function(){return function(e,a,c,b){this.predefined=e;this.format=a;this.encoding=c;this.raw=b}}(),Ge=function(){return function(e,a){this.fdSelect=e;this.raw=a}}(),Ad=function(){function e(){this.offsets=
|
522 |
+
{}}e.prototype={isTracking:function(a){return a in this.offsets},track:function(a,c){a in this.offsets&&G("Already tracking location of "+a);this.offsets[a]=c},offset:function(a){for(var c in this.offsets)this.offsets[c]+=a},setEntryLocation:function(a,c,b){a in this.offsets||G("Not tracking location of "+a);b=b.data;a=this.offsets[a];for(var d=0,f=c.length;d<f;++d){var g=5*d+a,h=g+1,e=g+2,n=g+3,k=g+4;29===b[g]&&0===b[h]&&0===b[e]&&0===b[n]&&0===b[k]||G("writing to an offset that is not empty");var r=
|
523 |
+
c[d];b[g]=29;b[h]=r>>24&255;b[e]=r>>16&255;b[n]=r>>8&255;b[k]=r&255}}};return e}(),Cc=function(){function e(a){this.cff=a}e.prototype={compile:function(){var a=this.cff,c={data:[],length:0,add:function(a){this.data=this.data.concat(a);this.length=this.data.length}},b=this.compileHeader(a.header);c.add(b);b=this.compileNameIndex(a.names);c.add(b);if(a.isCIDFont&&a.topDict.hasName("FontMatrix")){b=a.topDict.getByName("FontMatrix");a.topDict.removeByName("FontMatrix");for(var d=0,f=a.fdArray.length;d<
|
524 |
+
f;d++){var g=a.fdArray[d],h=b.slice(0);g.hasName("FontMatrix")&&(h=N.transform(h,g.getByName("FontMatrix")));g.setByName("FontMatrix",h)}}d=this.compileTopDicts([a.topDict],c.length,a.isCIDFont);c.add(d.output);b=d.trackers[0];d=this.compileStringIndex(a.strings.strings);c.add(d);d=this.compileIndex(a.globalSubrIndex);c.add(d);a.encoding&&a.topDict.hasName("Encoding")&&(a.encoding.predefined?b.setEntryLocation("Encoding",[a.encoding.format],c):(d=this.compileEncoding(a.encoding),b.setEntryLocation("Encoding",
|
525 |
+
[c.length],c),c.add(d)));a.charset&&a.topDict.hasName("charset")&&(a.charset.predefined?b.setEntryLocation("charset",[a.charset.format],c):(d=this.compileCharset(a.charset),b.setEntryLocation("charset",[c.length],c),c.add(d)));d=this.compileCharStrings(a.charStrings);b.setEntryLocation("CharStrings",[c.length],c);c.add(d);a.isCIDFont&&(b.setEntryLocation("FDSelect",[c.length],c),d=this.compileFDSelect(a.fdSelect.raw),c.add(d),d=this.compileTopDicts(a.fdArray,c.length,!0),b.setEntryLocation("FDArray",
|
526 |
+
[c.length],c),c.add(d.output),this.compilePrivateDicts(a.fdArray,d.trackers,c));this.compilePrivateDicts([a.topDict],[b],c);c.add([0]);return c.data},encodeNumber:function(a){return parseFloat(a)!==parseInt(a,10)||isNaN(a)?this.encodeFloat(a):this.encodeInteger(a)},encodeFloat:function(a){var c=a.toString(),b=/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(c);b&&(c=parseFloat("1e"+((b[2]?+b[2]:0)+b[1].length)),c=(Math.round(a*c)/c).toString());a="";var d,b=0;for(d=c.length;b<d;++b){var f=c[b];
|
527 |
+
a="e"===f?a+("-"===c[++b]?"c":"b"):"."===f?a+"a":"-"===f?a+"e":a+f}a+=a.length&1?"f":"ff";c=[30];b=0;for(d=a.length;b<d;b+=2)c.push(parseInt(a.substr(b,2),16));return c},encodeInteger:function(a){-107<=a&&107>=a?a=[a+139]:108<=a&&1131>=a?(a=[a-108],a=[(a>>8)+247,a&255]):-1131<=a&&-108>=a?(a=-a-108,a=[(a>>8)+251,a&255]):a=-32768<=a&&32767>=a?[28,a>>8&255,a&255]:[29,a>>24&255,a>>16&255,a>>8&255,a&255];return a},compileHeader:function(a){return[a.major,a.minor,a.hdrSize,a.offSize]},compileNameIndex:function(a){for(var c=
|
528 |
+
new ib,b=0,d=a.length;b<d;++b)c.add(ra(a[b]));return this.compileIndex(c)},compileTopDicts:function(a,c,b){for(var d=[],f=new ib,g=0,h=a.length;g<h;++g){var e=a[g];b&&(e.removeByName("CIDFontVersion"),e.removeByName("CIDFontRevision"),e.removeByName("CIDFontType"),e.removeByName("CIDCount"),e.removeByName("UIDBase"));var n=new Ad,e=this.compileDict(e,n);d.push(n);f.add(e);n.offset(c)}f=this.compileIndex(f,d);return{trackers:d,output:f}},compilePrivateDicts:function(a,c,b){for(var d=0,f=a.length;d<
|
529 |
+
f;++d){var g=a[d];ba(g.privateDict&&g.hasName("Private"),"There must be an private dictionary.");var h=g.privateDict,g=new Ad,e=this.compileDict(h,g),n=b.length;g.offset(n);e.length||(n=0);c[d].setEntryLocation("Private",[e.length,n],b);b.add(e);h.subrsIndex&&h.hasName("Subrs")&&(h=this.compileIndex(h.subrsIndex),g.setEntryLocation("Subrs",[e.length],b),b.add(h))}},compileDict:function(a,c){for(var b=[],d=a.order,f=0;f<d.length;++f){var g=d[f];if(g in a.values){var h=a.values[g],e=a.types[g];U(e)||
|
530 |
+
(e=[e]);U(h)||(h=[h]);if(0!==h.length){for(var n=0,k=e.length;n<k;++n){var r=e[n],m=h[n];switch(r){case "num":case "sid":b=b.concat(this.encodeNumber(m));break;case "offset":r=a.keyToNameMap[g];c.isTracking(r)||c.track(r,b.length);b=b.concat([29,0,0,0,0]);break;case "array":case "delta":b=b.concat(this.encodeNumber(m));r=1;for(m=h.length;r<m;++r)b=b.concat(this.encodeNumber(h[r]));break;default:G("Unknown data type of "+r)}}b=b.concat(a.opcodes[g])}}}return b},compileStringIndex:function(a){for(var c=
|
531 |
+
new ib,b=0,d=a.length;b<d;++b)c.add(ra(a[b]));return this.compileIndex(c)},compileGlobalSubrIndex:function(){this.out.writeByteArray(this.compileIndex(this.cff.globalSubrIndex))},compileCharStrings:function(a){return this.compileIndex(a)},compileCharset:function(a){return this.compileTypedArray(a.raw)},compileEncoding:function(a){return this.compileTypedArray(a.raw)},compileFDSelect:function(a){return this.compileTypedArray(a)},compileTypedArray:function(a){for(var c=[],b=0,d=a.length;b<d;++b)c[b]=
|
532 |
+
a[b];return c},compileIndex:function(a,c){c=c||[];var b=a.objects,d=b.length;if(0===d)return[0,0,0];var f=[d>>8&255,d&255],g=1,h;for(h=0;h<d;++h)g+=b[h].length;g=256>g?1:65536>g?2:16777216>g?3:4;f.push(g);var e=1;for(h=0;h<d+1;h++)1===g?f.push(e&255):2===g?f.push(e>>8&255,e&255):3===g?f.push(e>>16&255,e>>8&255,e&255):f.push(e>>>24&255,e>>16&255,e>>8&255,e&255),b[h]&&(e+=b[h].length);for(h=0;h<d;h++)for(c[h]&&c[h].offset(f.length),g=0,e=b[h].length;g<e;g++)f.push(b[h][g]);return f}};return e}();/Windows/.test(navigator.userAgent)&&
|
533 |
+
(zb=!0);/Windows.*Chrome/.test(navigator.userAgent)&&(rd=!0);var De=function(){function e(a,b){return a[b]<<24|a[b+1]<<16|a[b+2]<<8|a[b+3]}function a(a,b){return a[b]<<8|a[b+1]}function c(a,b,c){var d;c?(c=4,d=function(a,b){return a[b]<<24|a[b+1]<<16|a[b+2]<<8|a[b+3]}):(c=2,d=function(a,b){return a[b]<<9|a[b+1]<<1});for(var g=[],h=d(b,0),f=c;f<b.length;f+=c){var e=d(b,f);g.push(a.subarray(h,e));h=e}return g}function b(a,b){for(var c=b.charCodeAt(0),d=0,g=a.length-1;d<g;){var f=d+g+1>>1;c<a[f].start?
|
534 |
+
g=f-1:d=f}return a[d].start<=c&&c<=a[d].end?a[d].idDelta+(a[d].ids?a[d].ids[c-a[d].start]:c)&65535:0}function d(a,b,c){function g(a,c,d,f){b.push("c.quadraticCurveTo("+a+","+c+","+d+","+f+");")}var f=0,h=(a[f]<<24|a[f+1]<<16)>>16,e,l=0,u=0,f=f+10;if(0>h){do{e=a[f]<<8|a[f+1];h=a[f+2]<<8|a[f+3];f+=4;e&1?(l=(a[f]<<24|a[f+1]<<16)>>16,u=(a[f+2]<<24|a[f+3]<<16)>>16,f+=4):(l=a[f++],u=a[f++]);e&2||(u=l=0);var w=1,y=1,C=0,F=0;e&8?(w=y=(a[f]<<24|a[f+1]<<16)/1073741824,f+=2):e&64?(w=(a[f]<<24|a[f+1]<<16)/1073741824,
|
535 |
+
y=(a[f+2]<<24|a[f+3]<<16)/1073741824,f+=4):e&128&&(w=(a[f]<<24|a[f+1]<<16)/1073741824,C=(a[f+2]<<24|a[f+3]<<16)/1073741824,F=(a[f+4]<<24|a[f+5]<<16)/1073741824,y=(a[f+6]<<24|a[f+7]<<16)/1073741824,f+=8);if(h=c.glyphs[h])b.push("c.save();"),b.push("c.transform("+w+","+C+","+F+","+y+","+l+","+u+");"),d(h,b,c),b.push("c.restore();")}while(e&32)}else{c=[];for(e=0;e<h;e++)c.push(a[f]<<8|a[f+1]),f+=2;f+=2+(a[f]<<8|a[f+1]);y=c[c.length-1]+1;for(w=[];w.length<y;)for(e=a[f++],C=1,e&8&&(C+=a[f++]);0<C--;)w.push({flags:e});
|
536 |
+
for(e=0;e<y;e++){switch(w[e].flags&18){case 0:l+=(a[f]<<24|a[f+1]<<16)>>16;f+=2;break;case 2:l-=a[f++];break;case 18:l+=a[f++]}w[e].x=l}for(e=0;e<y;e++){switch(w[e].flags&36){case 0:u+=(a[f]<<24|a[f+1]<<16)>>16;f+=2;break;case 4:u-=a[f++];break;case 36:u+=a[f++]}w[e].y=u}for(f=e=0;f<h;f++){a=c[f];l=w.slice(e,a+1);l[0].flags&1?l.push(l[0]):l[l.length-1].flags&1?l.unshift(l[l.length-1]):(e={flags:1,x:(l[0].x+l[l.length-1].x)/2,y:(l[0].y+l[l.length-1].y)/2},l.unshift(e),l.push(e));b.push("c.moveTo("+
|
537 |
+
l[0].x+","+l[0].y+");");e=1;for(u=l.length;e<u;e++)l[e].flags&1?b.push("c.lineTo("+l[e].x+","+l[e].y+");"):l[e+1].flags&1?(g(l[e].x,l[e].y,l[e+1].x,l[e+1].y),e++):g(l[e].x,l[e].y,(l[e].x+l[e+1].x)/2,(l[e].y+l[e+1].y)/2);e=a+1}}}function f(a,c,d){function g(a,b){c.push("c.moveTo("+a+","+b+");")}function h(a,b){c.push("c.lineTo("+a+","+b+");")}function e(a,b,d,f,g,h){c.push("c.bezierCurveTo("+a+","+b+","+d+","+f+","+g+","+h+");")}function l(a){for(var n=0;n<a.length;){var E=!1,A=a[n++],H,B,J;switch(A){case 1:y+=
|
538 |
+
p.length>>1;E=!0;break;case 3:y+=p.length>>1;E=!0;break;case 4:w+=p.pop();g(u,w);E=!0;break;case 5:for(;0<p.length;)u+=p.shift(),w+=p.shift(),h(u,w);break;case 6:for(;0<p.length;){u+=p.shift();h(u,w);if(0===p.length)break;w+=p.shift();h(u,w)}break;case 7:for(;0<p.length;){w+=p.shift();h(u,w);if(0===p.length)break;u+=p.shift();h(u,w)}break;case 8:for(;0<p.length;)A=u+p.shift(),B=w+p.shift(),H=A+p.shift(),J=B+p.shift(),u=H+p.shift(),w=J+p.shift(),e(A,B,H,J,u,w);break;case 10:A=p.pop()+d.subrsBias;(A=
|
539 |
+
d.subrs[A])&&l(A);break;case 11:return;case 12:A=a[n++];switch(A){case 34:A=u+p.shift();H=A+p.shift();J=w+p.shift();u=H+p.shift();e(A,w,H,J,u,J);A=u+p.shift();H=A+p.shift();u=H+p.shift();e(A,J,H,w,u,w);break;case 35:A=u+p.shift();B=w+p.shift();H=A+p.shift();J=B+p.shift();u=H+p.shift();w=J+p.shift();e(A,B,H,J,u,w);A=u+p.shift();B=w+p.shift();H=A+p.shift();J=B+p.shift();u=H+p.shift();w=J+p.shift();e(A,B,H,J,u,w);p.pop();break;case 36:A=u+p.shift();J=w+p.shift();H=A+p.shift();B=J+p.shift();u=H+p.shift();
|
540 |
+
e(A,J,H,B,u,B);A=u+p.shift();H=A+p.shift();J=B+p.shift();u=H+p.shift();e(A,B,H,J,u,w);break;case 37:var I=u,O=w,A=u+p.shift();B=w+p.shift();H=A+p.shift();J=B+p.shift();u=H+p.shift();w=J+p.shift();e(A,B,H,J,u,w);A=u+p.shift();B=w+p.shift();H=A+p.shift();J=B+p.shift();u=H;w=J;Math.abs(u-I)>Math.abs(w-O)?u+=p.shift():w+=p.shift();e(A,B,H,J,u,w);break;default:G("unknown operator: 12 "+A)}break;case 14:4<=p.length&&(n=p.pop(),a=p.pop(),w=p.pop(),u=p.pop(),c.push("c.save();"),c.push("c.translate("+u+","+
|
541 |
+
w+");"),n=b(d.cmap,String.fromCharCode(d.glyphNameMap[la.StandardEncoding[n]])),f(d.glyphs[n],c,d),c.push("c.restore();"),n=b(d.cmap,String.fromCharCode(d.glyphNameMap[la.StandardEncoding[a]])),f(d.glyphs[n],c,d));return;case 18:y+=p.length>>1;E=!0;break;case 19:y+=p.length>>1;n+=y+7>>3;E=!0;break;case 20:y+=p.length>>1;n+=y+7>>3;E=!0;break;case 21:w+=p.pop();u+=p.pop();g(u,w);E=!0;break;case 22:u+=p.pop();g(u,w);E=!0;break;case 23:y+=p.length>>1;E=!0;break;case 24:for(;2<p.length;)A=u+p.shift(),
|
542 |
+
B=w+p.shift(),H=A+p.shift(),J=B+p.shift(),u=H+p.shift(),w=J+p.shift(),e(A,B,H,J,u,w);u+=p.shift();w+=p.shift();h(u,w);break;case 25:for(;6<p.length;)u+=p.shift(),w+=p.shift(),h(u,w);A=u+p.shift();B=w+p.shift();H=A+p.shift();J=B+p.shift();u=H+p.shift();w=J+p.shift();e(A,B,H,J,u,w);break;case 26:for(p.length%2&&(u+=p.shift());0<p.length;)A=u,B=w+p.shift(),H=A+p.shift(),J=B+p.shift(),u=H,w=J+p.shift(),e(A,B,H,J,u,w);break;case 27:for(p.length%2&&(w+=p.shift());0<p.length;)A=u+p.shift(),B=w,H=A+p.shift(),
|
543 |
+
J=B+p.shift(),u=H+p.shift(),w=J,e(A,B,H,J,u,w);break;case 28:p.push((a[n]<<24|a[n+1]<<16)>>16);n+=2;break;case 29:A=p.pop()+d.gsubrsBias;(A=d.gsubrs[A])&&l(A);break;case 30:for(;0<p.length;){A=u;B=w+p.shift();H=A+p.shift();J=B+p.shift();u=H+p.shift();w=J+(1===p.length?p.shift():0);e(A,B,H,J,u,w);if(0===p.length)break;A=u+p.shift();B=w;H=A+p.shift();J=B+p.shift();w=J+p.shift();u=H+(1===p.length?p.shift():0);e(A,B,H,J,u,w)}break;case 31:for(;0<p.length;){A=u+p.shift();B=w;H=A+p.shift();J=B+p.shift();
|
544 |
+
w=J+p.shift();u=H+(1===p.length?p.shift():0);e(A,B,H,J,u,w);if(0===p.length)break;A=u;B=w+p.shift();H=A+p.shift();J=B+p.shift();u=H+p.shift();w=J+(1===p.length?p.shift():0);e(A,B,H,J,u,w)}break;default:32>A&&G("unknown operator: "+A),247>A?p.push(A-139):251>A?p.push(256*(A-247)+a[n++]+108):255>A?p.push(256*-(A-251)-a[n++]-108):(p.push((a[n]<<24|a[n+1]<<16|a[n+2]<<8|a[n+3])/65536),n+=4)}E&&(p.length=0)}}var p=[],u=0,w=0,y=0;l(a)}function g(a){this.compiledGlyphs={};this.fontMatrix=a}function h(a,b,
|
545 |
+
c){c=c||[4.88E-4,0,0,4.88E-4,0,0];g.call(this,c);this.glyphs=a;this.cmap=b;this.compiledGlyphs=[]}function l(a,b,c,d){c=c||[.001,0,0,.001,0,0];g.call(this,c);this.glyphs=a.glyphs;this.gsubrs=a.gsubrs||[];this.subrs=a.subrs||[];this.cmap=b;this.glyphNameMap=d||Ia;this.compiledGlyphs=[];this.gsubrsBias=1240>this.gsubrs.length?107:33900>this.gsubrs.length?1131:32768;this.subrsBias=1240>this.subrs.length?107:33900>this.subrs.length?1131:32768}g.prototype={getPathJs:function(a){a=b(this.cmap,a);var c=
|
546 |
+
this.compiledGlyphs[a];c||(this.compiledGlyphs[a]=c=this.compileGlyph(this.glyphs[a]));return c},compileGlyph:function(a){if(!a||0===a.length||14===a[0])return"";var b=[];b.push("c.save();");b.push("c.transform("+this.fontMatrix.join(",")+");");b.push("c.scale(size, -size);");this.compileGlyphImpl(a,b);b.push("c.restore();");return b.join("\n")},compileGlyphImpl:function(){G("Children classes should implement this.")},hasBuiltPath:function(a){return b(this.cmap,a)in this.compiledGlyphs}};N.inherit(h,
|
547 |
+
g,{compileGlyphImpl:function(a,b){d(a,b,this)}});N.inherit(l,g,{compileGlyphImpl:function(a,b){f(a,b,this)}});return{create:function(b){for(var d=new Uint8Array(b.data),f,g,t,v,q,p,u=a(d,4),w=0,y=12;w<u;w++,y+=16){var C=Ra(d.subarray(y,y+4)),F=e(d,y+8),E=e(d,y+12);switch(C){case "cmap":f=d;var A=F,H=1===a(f,A+2)?e(f,A+8):e(f,A+16),B=a(f,A+H),E=C=F=void 0;if(4===B){a(f,A+H+2);B=a(f,A+H+6)>>1;C=A+H+14;F=[];for(E=0;E<B;E++,C+=2)F[E]={end:a(f,C)};C+=2;for(E=0;E<B;E++,C+=2)F[E].start=a(f,C);for(E=0;E<
|
548 |
+
B;E++,C+=2)F[E].idDelta=a(f,C);for(E=0;E<B;E++,C+=2)if(A=a(f,C),0!==A){F[E].ids=[];for(var H=0,J=F[E].end-F[E].start+1;H<J;H++)F[E].ids[H]=a(f,C+A),A+=2}f=F}else if(12===B){e(f,A+H+4);B=e(f,A+H+12);C=A+H+16;F=[];for(E=0;E<B;E++)F.push({start:e(f,C),end:e(f,C+4),idDelta:e(f,C+8)-e(f,C)}),C+=12;f=F}else G("not supported cmap: "+B),f=void 0;break;case "glyf":g=d.subarray(F,F+E);break;case "loca":t=d.subarray(F,F+E);break;case "head":p=a(d,F+18);q=a(d,F+50);break;case "CFF ":v=(new dc(new xa(d,F,F+E-
|
549 |
+
F),{})).parse(),v={glyphs:v.charStrings.objects,subrs:v.topDict.privateDict&&v.topDict.privateDict.subrsIndex&&v.topDict.privateDict.subrsIndex.objects,gsubrs:v.globalSubrIndex&&v.globalSubrIndex.objects}}}return g?(b=p?[1/p,0,0,1/p,0,0]:b.fontMatrix,new h(c(g,t,q),f,b)):new l(v,f,b.fontMatrix,b.glyphNameMap)}}}(),Ia={A:65,AE:198,AEacute:508,AEmacron:482,AEsmall:63462,Aacute:193,Aacutesmall:63457,Abreve:258,Abreveacute:7854,Abrevecyrillic:1232,Abrevedotbelow:7862,Abrevegrave:7856,Abrevehookabove:7858,
|
550 |
+
Abrevetilde:7860,Acaron:461,Acircle:9398,Acircumflex:194,Acircumflexacute:7844,Acircumflexdotbelow:7852,Acircumflexgrave:7846,Acircumflexhookabove:7848,Acircumflexsmall:63458,Acircumflextilde:7850,Acute:63177,Acutesmall:63412,Acyrillic:1040,Adblgrave:512,Adieresis:196,Adieresiscyrillic:1234,Adieresismacron:478,Adieresissmall:63460,Adotbelow:7840,Adotmacron:480,Agrave:192,Agravesmall:63456,Ahookabove:7842,Aiecyrillic:1236,Ainvertedbreve:514,Alpha:913,Alphatonos:902,Amacron:256,Amonospace:65313,Aogonek:260,
|
551 |
+
Aring:197,Aringacute:506,Aringbelow:7680,Aringsmall:63461,Asmall:63329,Atilde:195,Atildesmall:63459,Aybarmenian:1329,B:66,Bcircle:9399,Bdotaccent:7682,Bdotbelow:7684,Becyrillic:1041,Benarmenian:1330,Beta:914,Bhook:385,Blinebelow:7686,Bmonospace:65314,Brevesmall:63220,Bsmall:63330,Btopbar:386,C:67,Caarmenian:1342,Cacute:262,Caron:63178,Caronsmall:63221,Ccaron:268,Ccedilla:199,Ccedillaacute:7688,Ccedillasmall:63463,Ccircle:9400,Ccircumflex:264,Cdot:266,Cdotaccent:266,Cedillasmall:63416,Chaarmenian:1353,
|
552 |
+
Cheabkhasiancyrillic:1212,Checyrillic:1063,Chedescenderabkhasiancyrillic:1214,Chedescendercyrillic:1206,Chedieresiscyrillic:1268,Cheharmenian:1347,Chekhakassiancyrillic:1227,Cheverticalstrokecyrillic:1208,Chi:935,Chook:391,Circumflexsmall:63222,Cmonospace:65315,Coarmenian:1361,Csmall:63331,D:68,DZ:497,DZcaron:452,Daarmenian:1332,Dafrican:393,Dcaron:270,Dcedilla:7696,Dcircle:9401,Dcircumflexbelow:7698,Dcroat:272,Ddotaccent:7690,Ddotbelow:7692,Decyrillic:1044,Deicoptic:1006,Delta:8710,Deltagreek:916,
|
553 |
+
Dhook:394,Dieresis:63179,DieresisAcute:63180,DieresisGrave:63181,Dieresissmall:63400,Digammagreek:988,Djecyrillic:1026,Dlinebelow:7694,Dmonospace:65316,Dotaccentsmall:63223,Dslash:272,Dsmall:63332,Dtopbar:395,Dz:498,Dzcaron:453,Dzeabkhasiancyrillic:1248,Dzecyrillic:1029,Dzhecyrillic:1039,E:69,Eacute:201,Eacutesmall:63465,Ebreve:276,Ecaron:282,Ecedillabreve:7708,Echarmenian:1333,Ecircle:9402,Ecircumflex:202,Ecircumflexacute:7870,Ecircumflexbelow:7704,Ecircumflexdotbelow:7878,Ecircumflexgrave:7872,
|
554 |
+
Ecircumflexhookabove:7874,Ecircumflexsmall:63466,Ecircumflextilde:7876,Ecyrillic:1028,Edblgrave:516,Edieresis:203,Edieresissmall:63467,Edot:278,Edotaccent:278,Edotbelow:7864,Efcyrillic:1060,Egrave:200,Egravesmall:63464,Eharmenian:1335,Ehookabove:7866,Eightroman:8551,Einvertedbreve:518,Eiotifiedcyrillic:1124,Elcyrillic:1051,Elevenroman:8554,Emacron:274,Emacronacute:7702,Emacrongrave:7700,Emcyrillic:1052,Emonospace:65317,Encyrillic:1053,Endescendercyrillic:1186,Eng:330,Enghecyrillic:1188,Enhookcyrillic:1223,
|
555 |
+
Eogonek:280,Eopen:400,Epsilon:917,Epsilontonos:904,Ercyrillic:1056,Ereversed:398,Ereversedcyrillic:1069,Escyrillic:1057,Esdescendercyrillic:1194,Esh:425,Esmall:63333,Eta:919,Etarmenian:1336,Etatonos:905,Eth:208,Ethsmall:63472,Etilde:7868,Etildebelow:7706,Euro:8364,Ezh:439,Ezhcaron:494,Ezhreversed:440,F:70,Fcircle:9403,Fdotaccent:7710,Feharmenian:1366,Feicoptic:996,Fhook:401,Fitacyrillic:1138,Fiveroman:8548,Fmonospace:65318,Fourroman:8547,Fsmall:63334,G:71,GBsquare:13191,Gacute:500,Gamma:915,Gammaafrican:404,
|
556 |
+
Gangiacoptic:1002,Gbreve:286,Gcaron:486,Gcedilla:290,Gcircle:9404,Gcircumflex:284,Gcommaaccent:290,Gdot:288,Gdotaccent:288,Gecyrillic:1043,Ghadarmenian:1346,Ghemiddlehookcyrillic:1172,Ghestrokecyrillic:1170,Gheupturncyrillic:1168,Ghook:403,Gimarmenian:1331,Gjecyrillic:1027,Gmacron:7712,Gmonospace:65319,Grave:63182,Gravesmall:63328,Gsmall:63335,Gsmallhook:667,Gstroke:484,H:72,H18533:9679,H18543:9642,H18551:9643,H22073:9633,HPsquare:13259,Haabkhasiancyrillic:1192,Hadescendercyrillic:1202,Hardsigncyrillic:1066,
|
557 |
+
Hbar:294,Hbrevebelow:7722,Hcedilla:7720,Hcircle:9405,Hcircumflex:292,Hdieresis:7718,Hdotaccent:7714,Hdotbelow:7716,Hmonospace:65320,Hoarmenian:1344,Horicoptic:1E3,Hsmall:63336,Hungarumlaut:63183,Hungarumlautsmall:63224,Hzsquare:13200,I:73,IAcyrillic:1071,IJ:306,IUcyrillic:1070,Iacute:205,Iacutesmall:63469,Ibreve:300,Icaron:463,Icircle:9406,Icircumflex:206,Icircumflexsmall:63470,Icyrillic:1030,Idblgrave:520,Idieresis:207,Idieresisacute:7726,Idieresiscyrillic:1252,Idieresissmall:63471,Idot:304,Idotaccent:304,
|
558 |
+
Idotbelow:7882,Iebrevecyrillic:1238,Iecyrillic:1045,Ifraktur:8465,Igrave:204,Igravesmall:63468,Ihookabove:7880,Iicyrillic:1048,Iinvertedbreve:522,Iishortcyrillic:1049,Imacron:298,Imacroncyrillic:1250,Imonospace:65321,Iniarmenian:1339,Iocyrillic:1025,Iogonek:302,Iota:921,Iotaafrican:406,Iotadieresis:938,Iotatonos:906,Ismall:63337,Istroke:407,Itilde:296,Itildebelow:7724,Izhitsacyrillic:1140,Izhitsadblgravecyrillic:1142,J:74,Jaarmenian:1345,Jcircle:9407,Jcircumflex:308,Jecyrillic:1032,Jheharmenian:1355,
|
559 |
+
Jmonospace:65322,Jsmall:63338,K:75,KBsquare:13189,KKsquare:13261,Kabashkircyrillic:1184,Kacute:7728,Kacyrillic:1050,Kadescendercyrillic:1178,Kahookcyrillic:1219,Kappa:922,Kastrokecyrillic:1182,Kaverticalstrokecyrillic:1180,Kcaron:488,Kcedilla:310,Kcircle:9408,Kcommaaccent:310,Kdotbelow:7730,Keharmenian:1364,Kenarmenian:1343,Khacyrillic:1061,Kheicoptic:998,Khook:408,Kjecyrillic:1036,Klinebelow:7732,Kmonospace:65323,Koppacyrillic:1152,Koppagreek:990,Ksicyrillic:1134,Ksmall:63339,L:76,LJ:455,LL:63167,
|
560 |
+
Lacute:313,Lambda:923,Lcaron:317,Lcedilla:315,Lcircle:9409,Lcircumflexbelow:7740,Lcommaaccent:315,Ldot:319,Ldotaccent:319,Ldotbelow:7734,Ldotbelowmacron:7736,Liwnarmenian:1340,Lj:456,Ljecyrillic:1033,Llinebelow:7738,Lmonospace:65324,Lslash:321,Lslashsmall:63225,Lsmall:63340,M:77,MBsquare:13190,Macron:63184,Macronsmall:63407,Macute:7742,Mcircle:9410,Mdotaccent:7744,Mdotbelow:7746,Menarmenian:1348,Mmonospace:65325,Msmall:63341,Mturned:412,Mu:924,N:78,NJ:458,Nacute:323,Ncaron:327,Ncedilla:325,Ncircle:9411,
|
561 |
+
Ncircumflexbelow:7754,Ncommaaccent:325,Ndotaccent:7748,Ndotbelow:7750,Nhookleft:413,Nineroman:8552,Nj:459,Njecyrillic:1034,Nlinebelow:7752,Nmonospace:65326,Nowarmenian:1350,Nsmall:63342,Ntilde:209,Ntildesmall:63473,Nu:925,O:79,OE:338,OEsmall:63226,Oacute:211,Oacutesmall:63475,Obarredcyrillic:1256,Obarreddieresiscyrillic:1258,Obreve:334,Ocaron:465,Ocenteredtilde:415,Ocircle:9412,Ocircumflex:212,Ocircumflexacute:7888,Ocircumflexdotbelow:7896,Ocircumflexgrave:7890,Ocircumflexhookabove:7892,Ocircumflexsmall:63476,
|
562 |
+
Ocircumflextilde:7894,Ocyrillic:1054,Odblacute:336,Odblgrave:524,Odieresis:214,Odieresiscyrillic:1254,Odieresissmall:63478,Odotbelow:7884,Ogoneksmall:63227,Ograve:210,Ogravesmall:63474,Oharmenian:1365,Ohm:8486,Ohookabove:7886,Ohorn:416,Ohornacute:7898,Ohorndotbelow:7906,Ohorngrave:7900,Ohornhookabove:7902,Ohorntilde:7904,Ohungarumlaut:336,Oi:418,Oinvertedbreve:526,Omacron:332,Omacronacute:7762,Omacrongrave:7760,Omega:8486,Omegacyrillic:1120,Omegagreek:937,Omegaroundcyrillic:1146,Omegatitlocyrillic:1148,
|
563 |
+
Omegatonos:911,Omicron:927,Omicrontonos:908,Omonospace:65327,Oneroman:8544,Oogonek:490,Oogonekmacron:492,Oopen:390,Oslash:216,Oslashacute:510,Oslashsmall:63480,Osmall:63343,Ostrokeacute:510,Otcyrillic:1150,Otilde:213,Otildeacute:7756,Otildedieresis:7758,Otildesmall:63477,P:80,Pacute:7764,Pcircle:9413,Pdotaccent:7766,Pecyrillic:1055,Peharmenian:1354,Pemiddlehookcyrillic:1190,Phi:934,Phook:420,Pi:928,Piwrarmenian:1363,Pmonospace:65328,Psi:936,Psicyrillic:1136,Psmall:63344,Q:81,Qcircle:9414,Qmonospace:65329,
|
564 |
+
Qsmall:63345,R:82,Raarmenian:1356,Racute:340,Rcaron:344,Rcedilla:342,Rcircle:9415,Rcommaaccent:342,Rdblgrave:528,Rdotaccent:7768,Rdotbelow:7770,Rdotbelowmacron:7772,Reharmenian:1360,Rfraktur:8476,Rho:929,Ringsmall:63228,Rinvertedbreve:530,Rlinebelow:7774,Rmonospace:65330,Rsmall:63346,Rsmallinverted:641,Rsmallinvertedsuperior:694,S:83,SF010000:9484,SF020000:9492,SF030000:9488,SF040000:9496,SF050000:9532,SF060000:9516,SF070000:9524,SF080000:9500,SF090000:9508,SF100000:9472,SF110000:9474,SF190000:9569,
|
565 |
+
SF200000:9570,SF210000:9558,SF220000:9557,SF230000:9571,SF240000:9553,SF250000:9559,SF260000:9565,SF270000:9564,SF280000:9563,SF360000:9566,SF370000:9567,SF380000:9562,SF390000:9556,SF400000:9577,SF410000:9574,SF420000:9568,SF430000:9552,SF440000:9580,SF450000:9575,SF460000:9576,SF470000:9572,SF480000:9573,SF490000:9561,SF500000:9560,SF510000:9554,SF520000:9555,SF530000:9579,SF540000:9578,Sacute:346,Sacutedotaccent:7780,Sampigreek:992,Scaron:352,Scarondotaccent:7782,Scaronsmall:63229,Scedilla:350,
|
566 |
+
Schwa:399,Schwacyrillic:1240,Schwadieresiscyrillic:1242,Scircle:9416,Scircumflex:348,Scommaaccent:536,Sdotaccent:7776,Sdotbelow:7778,Sdotbelowdotaccent:7784,Seharmenian:1357,Sevenroman:8550,Shaarmenian:1351,Shacyrillic:1064,Shchacyrillic:1065,Sheicoptic:994,Shhacyrillic:1210,Shimacoptic:1004,Sigma:931,Sixroman:8549,Smonospace:65331,Softsigncyrillic:1068,Ssmall:63347,Stigmagreek:986,T:84,Tau:932,Tbar:358,Tcaron:356,Tcedilla:354,Tcircle:9417,Tcircumflexbelow:7792,Tcommaaccent:354,Tdotaccent:7786,Tdotbelow:7788,
|
567 |
+
Tecyrillic:1058,Tedescendercyrillic:1196,Tenroman:8553,Tetsecyrillic:1204,Theta:920,Thook:428,Thorn:222,Thornsmall:63486,Threeroman:8546,Tildesmall:63230,Tiwnarmenian:1359,Tlinebelow:7790,Tmonospace:65332,Toarmenian:1337,Tonefive:444,Tonesix:388,Tonetwo:423,Tretroflexhook:430,Tsecyrillic:1062,Tshecyrillic:1035,Tsmall:63348,Twelveroman:8555,Tworoman:8545,U:85,Uacute:218,Uacutesmall:63482,Ubreve:364,Ucaron:467,Ucircle:9418,Ucircumflex:219,Ucircumflexbelow:7798,Ucircumflexsmall:63483,Ucyrillic:1059,
|
568 |
+
Udblacute:368,Udblgrave:532,Udieresis:220,Udieresisacute:471,Udieresisbelow:7794,Udieresiscaron:473,Udieresiscyrillic:1264,Udieresisgrave:475,Udieresismacron:469,Udieresissmall:63484,Udotbelow:7908,Ugrave:217,Ugravesmall:63481,Uhookabove:7910,Uhorn:431,Uhornacute:7912,Uhorndotbelow:7920,Uhorngrave:7914,Uhornhookabove:7916,Uhorntilde:7918,Uhungarumlaut:368,Uhungarumlautcyrillic:1266,Uinvertedbreve:534,Ukcyrillic:1144,Umacron:362,Umacroncyrillic:1262,Umacrondieresis:7802,Umonospace:65333,Uogonek:370,
|
569 |
+
Upsilon:933,Upsilon1:978,Upsilonacutehooksymbolgreek:979,Upsilonafrican:433,Upsilondieresis:939,Upsilondieresishooksymbolgreek:980,Upsilonhooksymbol:978,Upsilontonos:910,Uring:366,Ushortcyrillic:1038,Usmall:63349,Ustraightcyrillic:1198,Ustraightstrokecyrillic:1200,Utilde:360,Utildeacute:7800,Utildebelow:7796,V:86,Vcircle:9419,Vdotbelow:7806,Vecyrillic:1042,Vewarmenian:1358,Vhook:434,Vmonospace:65334,Voarmenian:1352,Vsmall:63350,Vtilde:7804,W:87,Wacute:7810,Wcircle:9420,Wcircumflex:372,Wdieresis:7812,
|
570 |
+
Wdotaccent:7814,Wdotbelow:7816,Wgrave:7808,Wmonospace:65335,Wsmall:63351,X:88,Xcircle:9421,Xdieresis:7820,Xdotaccent:7818,Xeharmenian:1341,Xi:926,Xmonospace:65336,Xsmall:63352,Y:89,Yacute:221,Yacutesmall:63485,Yatcyrillic:1122,Ycircle:9422,Ycircumflex:374,Ydieresis:376,Ydieresissmall:63487,Ydotaccent:7822,Ydotbelow:7924,Yericyrillic:1067,Yerudieresiscyrillic:1272,Ygrave:7922,Yhook:435,Yhookabove:7926,Yiarmenian:1349,Yicyrillic:1031,Yiwnarmenian:1362,Ymonospace:65337,Ysmall:63353,Ytilde:7928,Yusbigcyrillic:1130,
|
571 |
+
Yusbigiotifiedcyrillic:1132,Yuslittlecyrillic:1126,Yuslittleiotifiedcyrillic:1128,Z:90,Zaarmenian:1334,Zacute:377,Zcaron:381,Zcaronsmall:63231,Zcircle:9423,Zcircumflex:7824,Zdot:379,Zdotaccent:379,Zdotbelow:7826,Zecyrillic:1047,Zedescendercyrillic:1176,Zedieresiscyrillic:1246,Zeta:918,Zhearmenian:1338,Zhebrevecyrillic:1217,Zhecyrillic:1046,Zhedescendercyrillic:1174,Zhedieresiscyrillic:1244,Zlinebelow:7828,Zmonospace:65338,Zsmall:63354,Zstroke:437,a:97,aabengali:2438,aacute:225,aadeva:2310,aagujarati:2694,
|
572 |
+
aagurmukhi:2566,aamatragurmukhi:2622,aarusquare:13059,aavowelsignbengali:2494,aavowelsigndeva:2366,aavowelsigngujarati:2750,abbreviationmarkarmenian:1375,abbreviationsigndeva:2416,abengali:2437,abopomofo:12570,abreve:259,abreveacute:7855,abrevecyrillic:1233,abrevedotbelow:7863,abrevegrave:7857,abrevehookabove:7859,abrevetilde:7861,acaron:462,acircle:9424,acircumflex:226,acircumflexacute:7845,acircumflexdotbelow:7853,acircumflexgrave:7847,acircumflexhookabove:7849,acircumflextilde:7851,acute:180,acutebelowcmb:791,
|
573 |
+
acutecmb:769,acutecomb:769,acutedeva:2388,acutelowmod:719,acutetonecmb:833,acyrillic:1072,adblgrave:513,addakgurmukhi:2673,adeva:2309,adieresis:228,adieresiscyrillic:1235,adieresismacron:479,adotbelow:7841,adotmacron:481,ae:230,aeacute:509,aekorean:12624,aemacron:483,afii00208:8213,afii08941:8356,afii10017:1040,afii10018:1041,afii10019:1042,afii10020:1043,afii10021:1044,afii10022:1045,afii10023:1025,afii10024:1046,afii10025:1047,afii10026:1048,afii10027:1049,afii10028:1050,afii10029:1051,afii10030:1052,
|
574 |
+
afii10031:1053,afii10032:1054,afii10033:1055,afii10034:1056,afii10035:1057,afii10036:1058,afii10037:1059,afii10038:1060,afii10039:1061,afii10040:1062,afii10041:1063,afii10042:1064,afii10043:1065,afii10044:1066,afii10045:1067,afii10046:1068,afii10047:1069,afii10048:1070,afii10049:1071,afii10050:1168,afii10051:1026,afii10052:1027,afii10053:1028,afii10054:1029,afii10055:1030,afii10056:1031,afii10057:1032,afii10058:1033,afii10059:1034,afii10060:1035,afii10061:1036,afii10062:1038,afii10063:63172,afii10064:63173,
|
575 |
+
afii10065:1072,afii10066:1073,afii10067:1074,afii10068:1075,afii10069:1076,afii10070:1077,afii10071:1105,afii10072:1078,afii10073:1079,afii10074:1080,afii10075:1081,afii10076:1082,afii10077:1083,afii10078:1084,afii10079:1085,afii10080:1086,afii10081:1087,afii10082:1088,afii10083:1089,afii10084:1090,afii10085:1091,afii10086:1092,afii10087:1093,afii10088:1094,afii10089:1095,afii10090:1096,afii10091:1097,afii10092:1098,afii10093:1099,afii10094:1100,afii10095:1101,afii10096:1102,afii10097:1103,afii10098:1169,
|
576 |
+
afii10099:1106,afii10100:1107,afii10101:1108,afii10102:1109,afii10103:1110,afii10104:1111,afii10105:1112,afii10106:1113,afii10107:1114,afii10108:1115,afii10109:1116,afii10110:1118,afii10145:1039,afii10146:1122,afii10147:1138,afii10148:1140,afii10192:63174,afii10193:1119,afii10194:1123,afii10195:1139,afii10196:1141,afii10831:63175,afii10832:63176,afii10846:1241,afii299:8206,afii300:8207,afii301:8205,afii57381:1642,afii57388:1548,afii57392:1632,afii57393:1633,afii57394:1634,afii57395:1635,afii57396:1636,
|
577 |
+
afii57397:1637,afii57398:1638,afii57399:1639,afii57400:1640,afii57401:1641,afii57403:1563,afii57407:1567,afii57409:1569,afii57410:1570,afii57411:1571,afii57412:1572,afii57413:1573,afii57414:1574,afii57415:1575,afii57416:1576,afii57417:1577,afii57418:1578,afii57419:1579,afii57420:1580,afii57421:1581,afii57422:1582,afii57423:1583,afii57424:1584,afii57425:1585,afii57426:1586,afii57427:1587,afii57428:1588,afii57429:1589,afii57430:1590,afii57431:1591,afii57432:1592,afii57433:1593,afii57434:1594,afii57440:1600,
|
578 |
+
afii57441:1601,afii57442:1602,afii57443:1603,afii57444:1604,afii57445:1605,afii57446:1606,afii57448:1608,afii57449:1609,afii57450:1610,afii57451:1611,afii57452:1612,afii57453:1613,afii57454:1614,afii57455:1615,afii57456:1616,afii57457:1617,afii57458:1618,afii57470:1607,afii57505:1700,afii57506:1662,afii57507:1670,afii57508:1688,afii57509:1711,afii57511:1657,afii57512:1672,afii57513:1681,afii57514:1722,afii57519:1746,afii57534:1749,afii57636:8362,afii57645:1470,afii57658:1475,afii57664:1488,afii57665:1489,
|
579 |
+
afii57666:1490,afii57667:1491,afii57668:1492,afii57669:1493,afii57670:1494,afii57671:1495,afii57672:1496,afii57673:1497,afii57674:1498,afii57675:1499,afii57676:1500,afii57677:1501,afii57678:1502,afii57679:1503,afii57680:1504,afii57681:1505,afii57682:1506,afii57683:1507,afii57684:1508,afii57685:1509,afii57686:1510,afii57687:1511,afii57688:1512,afii57689:1513,afii57690:1514,afii57694:64298,afii57695:64299,afii57700:64331,afii57705:64287,afii57716:1520,afii57717:1521,afii57718:1522,afii57723:64309,afii57793:1460,
|
580 |
+
afii57794:1461,afii57795:1462,afii57796:1467,afii57797:1464,afii57798:1463,afii57799:1456,afii57800:1458,afii57801:1457,afii57802:1459,afii57803:1474,afii57804:1473,afii57806:1465,afii57807:1468,afii57839:1469,afii57841:1471,afii57842:1472,afii57929:700,afii61248:8453,afii61289:8467,afii61352:8470,afii61573:8236,afii61574:8237,afii61575:8238,afii61664:8204,afii63167:1645,afii64937:701,agrave:224,agujarati:2693,agurmukhi:2565,ahiragana:12354,ahookabove:7843,aibengali:2448,aibopomofo:12574,aideva:2320,
|
581 |
+
aiecyrillic:1237,aigujarati:2704,aigurmukhi:2576,aimatragurmukhi:2632,ainarabic:1593,ainfinalarabic:65226,aininitialarabic:65227,ainmedialarabic:65228,ainvertedbreve:515,aivowelsignbengali:2504,aivowelsigndeva:2376,aivowelsigngujarati:2760,akatakana:12450,akatakanahalfwidth:65393,akorean:12623,alef:1488,alefarabic:1575,alefdageshhebrew:64304,aleffinalarabic:65166,alefhamzaabovearabic:1571,alefhamzaabovefinalarabic:65156,alefhamzabelowarabic:1573,alefhamzabelowfinalarabic:65160,alefhebrew:1488,aleflamedhebrew:64335,
|
582 |
+
alefmaddaabovearabic:1570,alefmaddaabovefinalarabic:65154,alefmaksuraarabic:1609,alefmaksurafinalarabic:65264,alefmaksurainitialarabic:65267,alefmaksuramedialarabic:65268,alefpatahhebrew:64302,alefqamatshebrew:64303,aleph:8501,allequal:8780,alpha:945,alphatonos:940,amacron:257,amonospace:65345,ampersand:38,ampersandmonospace:65286,ampersandsmall:63270,amsquare:13250,anbopomofo:12578,angbopomofo:12580,angbracketleft:12296,angbracketright:12297,angkhankhuthai:3674,angle:8736,anglebracketleft:12296,
|
583 |
+
anglebracketleftvertical:65087,anglebracketright:12297,anglebracketrightvertical:65088,angleleft:9001,angleright:9002,angstrom:8491,anoteleia:903,anudattadeva:2386,anusvarabengali:2434,anusvaradeva:2306,anusvaragujarati:2690,aogonek:261,apaatosquare:13056,aparen:9372,apostrophearmenian:1370,apostrophemod:700,apple:63743,approaches:8784,approxequal:8776,approxequalorimage:8786,approximatelyequal:8773,araeaekorean:12686,araeakorean:12685,arc:8978,arighthalfring:7834,aring:229,aringacute:507,aringbelow:7681,
|
584 |
+
arrowboth:8596,arrowdashdown:8675,arrowdashleft:8672,arrowdashright:8674,arrowdashup:8673,arrowdblboth:8660,arrowdbldown:8659,arrowdblleft:8656,arrowdblright:8658,arrowdblup:8657,arrowdown:8595,arrowdownleft:8601,arrowdownright:8600,arrowdownwhite:8681,arrowheaddownmod:709,arrowheadleftmod:706,arrowheadrightmod:707,arrowheadupmod:708,arrowhorizex:63719,arrowleft:8592,arrowleftdbl:8656,arrowleftdblstroke:8653,arrowleftoverright:8646,arrowleftwhite:8678,arrowright:8594,arrowrightdblstroke:8655,arrowrightheavy:10142,
|
585 |
+
arrowrightoverleft:8644,arrowrightwhite:8680,arrowtableft:8676,arrowtabright:8677,arrowup:8593,arrowupdn:8597,arrowupdnbse:8616,arrowupdownbase:8616,arrowupleft:8598,arrowupleftofdown:8645,arrowupright:8599,arrowupwhite:8679,arrowvertex:63718,asciicircum:94,asciicircummonospace:65342,asciitilde:126,asciitildemonospace:65374,ascript:593,ascriptturned:594,asmallhiragana:12353,asmallkatakana:12449,asmallkatakanahalfwidth:65383,asterisk:42,asteriskaltonearabic:1645,asteriskarabic:1645,asteriskmath:8727,
|
586 |
+
asteriskmonospace:65290,asterisksmall:65121,asterism:8258,asuperior:63209,asymptoticallyequal:8771,at:64,atilde:227,atmonospace:65312,atsmall:65131,aturned:592,aubengali:2452,aubopomofo:12576,audeva:2324,augujarati:2708,augurmukhi:2580,aulengthmarkbengali:2519,aumatragurmukhi:2636,auvowelsignbengali:2508,auvowelsigndeva:2380,auvowelsigngujarati:2764,avagrahadeva:2365,aybarmenian:1377,ayin:1506,ayinaltonehebrew:64288,ayinhebrew:1506,b:98,babengali:2476,backslash:92,backslashmonospace:65340,badeva:2348,
|
587 |
+
bagujarati:2732,bagurmukhi:2604,bahiragana:12400,bahtthai:3647,bakatakana:12496,bar:124,barmonospace:65372,bbopomofo:12549,bcircle:9425,bdotaccent:7683,bdotbelow:7685,beamedsixteenthnotes:9836,because:8757,becyrillic:1073,beharabic:1576,behfinalarabic:65168,behinitialarabic:65169,behiragana:12409,behmedialarabic:65170,behmeeminitialarabic:64671,behmeemisolatedarabic:64520,behnoonfinalarabic:64621,bekatakana:12505,benarmenian:1378,bet:1489,beta:946,betasymbolgreek:976,betdagesh:64305,betdageshhebrew:64305,
|
588 |
+
bethebrew:1489,betrafehebrew:64332,bhabengali:2477,bhadeva:2349,bhagujarati:2733,bhagurmukhi:2605,bhook:595,bihiragana:12403,bikatakana:12499,bilabialclick:664,bindigurmukhi:2562,birusquare:13105,blackcircle:9679,blackdiamond:9670,blackdownpointingtriangle:9660,blackleftpointingpointer:9668,blackleftpointingtriangle:9664,blacklenticularbracketleft:12304,blacklenticularbracketleftvertical:65083,blacklenticularbracketright:12305,blacklenticularbracketrightvertical:65084,blacklowerlefttriangle:9699,
|
589 |
+
blacklowerrighttriangle:9698,blackrectangle:9644,blackrightpointingpointer:9658,blackrightpointingtriangle:9654,blacksmallsquare:9642,blacksmilingface:9787,blacksquare:9632,blackstar:9733,blackupperlefttriangle:9700,blackupperrighttriangle:9701,blackuppointingsmalltriangle:9652,blackuppointingtriangle:9650,blank:9251,blinebelow:7687,block:9608,bmonospace:65346,bobaimaithai:3610,bohiragana:12412,bokatakana:12508,bparen:9373,bqsquare:13251,braceex:63732,braceleft:123,braceleftbt:63731,braceleftmid:63730,
|
590 |
+
braceleftmonospace:65371,braceleftsmall:65115,bracelefttp:63729,braceleftvertical:65079,braceright:125,bracerightbt:63742,bracerightmid:63741,bracerightmonospace:65373,bracerightsmall:65116,bracerighttp:63740,bracerightvertical:65080,bracketleft:91,bracketleftbt:63728,bracketleftex:63727,bracketleftmonospace:65339,bracketlefttp:63726,bracketright:93,bracketrightbt:63739,bracketrightex:63738,bracketrightmonospace:65341,bracketrighttp:63737,breve:728,brevebelowcmb:814,brevecmb:774,breveinvertedbelowcmb:815,
|
591 |
+
breveinvertedcmb:785,breveinverteddoublecmb:865,bridgebelowcmb:810,bridgeinvertedbelowcmb:826,brokenbar:166,bstroke:384,bsuperior:63210,btopbar:387,buhiragana:12406,bukatakana:12502,bullet:8226,bulletinverse:9688,bulletoperator:8729,bullseye:9678,c:99,caarmenian:1390,cabengali:2458,cacute:263,cadeva:2330,cagujarati:2714,cagurmukhi:2586,calsquare:13192,candrabindubengali:2433,candrabinducmb:784,candrabindudeva:2305,candrabindugujarati:2689,capslock:8682,careof:8453,caron:711,caronbelowcmb:812,caroncmb:780,
|
592 |
+
carriagereturn:8629,cbopomofo:12568,ccaron:269,ccedilla:231,ccedillaacute:7689,ccircle:9426,ccircumflex:265,ccurl:597,cdot:267,cdotaccent:267,cdsquare:13253,cedilla:184,cedillacmb:807,cent:162,centigrade:8451,centinferior:63199,centmonospace:65504,centoldstyle:63394,centsuperior:63200,chaarmenian:1401,chabengali:2459,chadeva:2331,chagujarati:2715,chagurmukhi:2587,chbopomofo:12564,cheabkhasiancyrillic:1213,checkmark:10003,checyrillic:1095,chedescenderabkhasiancyrillic:1215,chedescendercyrillic:1207,
|
593 |
+
chedieresiscyrillic:1269,cheharmenian:1395,chekhakassiancyrillic:1228,cheverticalstrokecyrillic:1209,chi:967,chieuchacirclekorean:12919,chieuchaparenkorean:12823,chieuchcirclekorean:12905,chieuchkorean:12618,chieuchparenkorean:12809,chochangthai:3594,chochanthai:3592,chochingthai:3593,chochoethai:3596,chook:392,cieucacirclekorean:12918,cieucaparenkorean:12822,cieuccirclekorean:12904,cieuckorean:12616,cieucparenkorean:12808,cieucuparenkorean:12828,circle:9675,circlecopyrt:169,circlemultiply:8855,circleot:8857,
|
594 |
+
circleplus:8853,circlepostalmark:12342,circlewithlefthalfblack:9680,circlewithrighthalfblack:9681,circumflex:710,circumflexbelowcmb:813,circumflexcmb:770,clear:8999,clickalveolar:450,clickdental:448,clicklateral:449,clickretroflex:451,club:9827,clubsuitblack:9827,clubsuitwhite:9831,cmcubedsquare:13220,cmonospace:65347,cmsquaredsquare:13216,coarmenian:1409,colon:58,colonmonetary:8353,colonmonospace:65306,colonsign:8353,colonsmall:65109,colontriangularhalfmod:721,colontriangularmod:720,comma:44,commaabovecmb:787,
|
595 |
+
commaaboverightcmb:789,commaaccent:63171,commaarabic:1548,commaarmenian:1373,commainferior:63201,commamonospace:65292,commareversedabovecmb:788,commareversedmod:701,commasmall:65104,commasuperior:63202,commaturnedabovecmb:786,commaturnedmod:699,compass:9788,congruent:8773,contourintegral:8750,control:8963,controlACK:6,controlBEL:7,controlBS:8,controlCAN:24,controlCR:13,controlDC1:17,controlDC2:18,controlDC3:19,controlDC4:20,controlDEL:127,controlDLE:16,controlEM:25,controlENQ:5,controlEOT:4,controlESC:27,
|
596 |
+
controlETB:23,controlETX:3,controlFF:12,controlFS:28,controlGS:29,controlHT:9,controlLF:10,controlNAK:21,controlRS:30,controlSI:15,controlSO:14,controlSOT:2,controlSTX:1,controlSUB:26,controlSYN:22,controlUS:31,controlVT:11,copyright:169,copyrightsans:63721,copyrightserif:63193,cornerbracketleft:12300,cornerbracketlefthalfwidth:65378,cornerbracketleftvertical:65089,cornerbracketright:12301,cornerbracketrighthalfwidth:65379,cornerbracketrightvertical:65090,corporationsquare:13183,cosquare:13255,coverkgsquare:13254,
|
597 |
+
cparen:9374,cruzeiro:8354,cstretched:663,curlyand:8911,curlyor:8910,currency:164,cyrBreve:63185,cyrFlex:63186,cyrbreve:63188,cyrflex:63189,d:100,daarmenian:1380,dabengali:2470,dadarabic:1590,dadeva:2342,dadfinalarabic:65214,dadinitialarabic:65215,dadmedialarabic:65216,dagesh:1468,dageshhebrew:1468,dagger:8224,daggerdbl:8225,dagujarati:2726,dagurmukhi:2598,dahiragana:12384,dakatakana:12480,dalarabic:1583,dalet:1491,daletdagesh:64307,daletdageshhebrew:64307,dalethebrew:1491,dalfinalarabic:65194,dammaarabic:1615,
|
598 |
+
dammalowarabic:1615,dammatanaltonearabic:1612,dammatanarabic:1612,danda:2404,dargahebrew:1447,dargalefthebrew:1447,dasiapneumatacyrilliccmb:1157,dblGrave:63187,dblanglebracketleft:12298,dblanglebracketleftvertical:65085,dblanglebracketright:12299,dblanglebracketrightvertical:65086,dblarchinvertedbelowcmb:811,dblarrowleft:8660,dblarrowright:8658,dbldanda:2405,dblgrave:63190,dblgravecmb:783,dblintegral:8748,dbllowline:8215,dbllowlinecmb:819,dbloverlinecmb:831,dblprimemod:698,dblverticalbar:8214,dblverticallineabovecmb:782,
|
599 |
+
dbopomofo:12553,dbsquare:13256,dcaron:271,dcedilla:7697,dcircle:9427,dcircumflexbelow:7699,dcroat:273,ddabengali:2465,ddadeva:2337,ddagujarati:2721,ddagurmukhi:2593,ddalarabic:1672,ddalfinalarabic:64393,dddhadeva:2396,ddhabengali:2466,ddhadeva:2338,ddhagujarati:2722,ddhagurmukhi:2594,ddotaccent:7691,ddotbelow:7693,decimalseparatorarabic:1643,decimalseparatorpersian:1643,decyrillic:1076,degree:176,dehihebrew:1453,dehiragana:12391,deicoptic:1007,dekatakana:12487,deleteleft:9003,deleteright:8998,delta:948,
|
600 |
+
deltaturned:397,denominatorminusonenumeratorbengali:2552,dezh:676,dhabengali:2471,dhadeva:2343,dhagujarati:2727,dhagurmukhi:2599,dhook:599,dialytikatonos:901,dialytikatonoscmb:836,diamond:9830,diamondsuitwhite:9826,dieresis:168,dieresisacute:63191,dieresisbelowcmb:804,dieresiscmb:776,dieresisgrave:63192,dieresistonos:901,dihiragana:12386,dikatakana:12482,dittomark:12291,divide:247,divides:8739,divisionslash:8725,djecyrillic:1106,dkshade:9619,dlinebelow:7695,dlsquare:13207,dmacron:273,dmonospace:65348,
|
601 |
+
dnblock:9604,dochadathai:3598,dodekthai:3604,dohiragana:12393,dokatakana:12489,dollar:36,dollarinferior:63203,dollarmonospace:65284,dollaroldstyle:63268,dollarsmall:65129,dollarsuperior:63204,dong:8363,dorusquare:13094,dotaccent:729,dotaccentcmb:775,dotbelowcmb:803,dotbelowcomb:803,dotkatakana:12539,dotlessi:305,dotlessj:63166,dotlessjstrokehook:644,dotmath:8901,dottedcircle:9676,doubleyodpatah:64287,doubleyodpatahhebrew:64287,downtackbelowcmb:798,downtackmod:725,dparen:9375,dsuperior:63211,dtail:598,
|
602 |
+
dtopbar:396,duhiragana:12389,dukatakana:12485,dz:499,dzaltone:675,dzcaron:454,dzcurl:677,dzeabkhasiancyrillic:1249,dzecyrillic:1109,dzhecyrillic:1119,e:101,eacute:233,earth:9793,ebengali:2447,ebopomofo:12572,ebreve:277,ecandradeva:2317,ecandragujarati:2701,ecandravowelsigndeva:2373,ecandravowelsigngujarati:2757,ecaron:283,ecedillabreve:7709,echarmenian:1381,echyiwnarmenian:1415,ecircle:9428,ecircumflex:234,ecircumflexacute:7871,ecircumflexbelow:7705,ecircumflexdotbelow:7879,ecircumflexgrave:7873,
|
603 |
+
ecircumflexhookabove:7875,ecircumflextilde:7877,ecyrillic:1108,edblgrave:517,edeva:2319,edieresis:235,edot:279,edotaccent:279,edotbelow:7865,eegurmukhi:2575,eematragurmukhi:2631,efcyrillic:1092,egrave:232,egujarati:2703,eharmenian:1383,ehbopomofo:12573,ehiragana:12360,ehookabove:7867,eibopomofo:12575,eight:56,eightarabic:1640,eightbengali:2542,eightcircle:9319,eightcircleinversesansserif:10129,eightdeva:2414,eighteencircle:9329,eighteenparen:9349,eighteenperiod:9369,eightgujarati:2798,eightgurmukhi:2670,
|
604 |
+
eighthackarabic:1640,eighthangzhou:12328,eighthnotebeamed:9835,eightideographicparen:12839,eightinferior:8328,eightmonospace:65304,eightoldstyle:63288,eightparen:9339,eightperiod:9359,eightpersian:1784,eightroman:8567,eightsuperior:8312,eightthai:3672,einvertedbreve:519,eiotifiedcyrillic:1125,ekatakana:12456,ekatakanahalfwidth:65396,ekonkargurmukhi:2676,ekorean:12628,elcyrillic:1083,element:8712,elevencircle:9322,elevenparen:9342,elevenperiod:9362,elevenroman:8570,ellipsis:8230,ellipsisvertical:8942,
|
605 |
+
emacron:275,emacronacute:7703,emacrongrave:7701,emcyrillic:1084,emdash:8212,emdashvertical:65073,emonospace:65349,emphasismarkarmenian:1371,emptyset:8709,enbopomofo:12579,encyrillic:1085,endash:8211,endashvertical:65074,endescendercyrillic:1187,eng:331,engbopomofo:12581,enghecyrillic:1189,enhookcyrillic:1224,enspace:8194,eogonek:281,eokorean:12627,eopen:603,eopenclosed:666,eopenreversed:604,eopenreversedclosed:606,eopenreversedhook:605,eparen:9376,epsilon:949,epsilontonos:941,equal:61,equalmonospace:65309,
|
606 |
+
equalsmall:65126,equalsuperior:8316,equivalence:8801,erbopomofo:12582,ercyrillic:1088,ereversed:600,ereversedcyrillic:1101,escyrillic:1089,esdescendercyrillic:1195,esh:643,eshcurl:646,eshortdeva:2318,eshortvowelsigndeva:2374,eshreversedloop:426,eshsquatreversed:645,esmallhiragana:12359,esmallkatakana:12455,esmallkatakanahalfwidth:65386,estimated:8494,esuperior:63212,eta:951,etarmenian:1384,etatonos:942,eth:240,etilde:7869,etildebelow:7707,etnahtafoukhhebrew:1425,etnahtafoukhlefthebrew:1425,etnahtahebrew:1425,
|
607 |
+
etnahtalefthebrew:1425,eturned:477,eukorean:12641,euro:8364,evowelsignbengali:2503,evowelsigndeva:2375,evowelsigngujarati:2759,exclam:33,exclamarmenian:1372,exclamdbl:8252,exclamdown:161,exclamdownsmall:63393,exclammonospace:65281,exclamsmall:63265,existential:8707,ezh:658,ezhcaron:495,ezhcurl:659,ezhreversed:441,ezhtail:442,f:102,fadeva:2398,fagurmukhi:2654,fahrenheit:8457,fathaarabic:1614,fathalowarabic:1614,fathatanarabic:1611,fbopomofo:12552,fcircle:9429,fdotaccent:7711,feharabic:1601,feharmenian:1414,
|
608 |
+
fehfinalarabic:65234,fehinitialarabic:65235,fehmedialarabic:65236,feicoptic:997,female:9792,ff:64256,ffi:64259,ffl:64260,fi:64257,fifteencircle:9326,fifteenparen:9346,fifteenperiod:9366,figuredash:8210,filledbox:9632,filledrect:9644,finalkaf:1498,finalkafdagesh:64314,finalkafdageshhebrew:64314,finalkafhebrew:1498,finalmem:1501,finalmemhebrew:1501,finalnun:1503,finalnunhebrew:1503,finalpe:1507,finalpehebrew:1507,finaltsadi:1509,finaltsadihebrew:1509,firsttonechinese:713,fisheye:9673,fitacyrillic:1139,
|
609 |
+
five:53,fivearabic:1637,fivebengali:2539,fivecircle:9316,fivecircleinversesansserif:10126,fivedeva:2411,fiveeighths:8541,fivegujarati:2795,fivegurmukhi:2667,fivehackarabic:1637,fivehangzhou:12325,fiveideographicparen:12836,fiveinferior:8325,fivemonospace:65301,fiveoldstyle:63285,fiveparen:9336,fiveperiod:9356,fivepersian:1781,fiveroman:8564,fivesuperior:8309,fivethai:3669,fl:64258,florin:402,fmonospace:65350,fmsquare:13209,fofanthai:3615,fofathai:3613,fongmanthai:3663,forall:8704,four:52,fourarabic:1636,
|
610 |
+
fourbengali:2538,fourcircle:9315,fourcircleinversesansserif:10125,fourdeva:2410,fourgujarati:2794,fourgurmukhi:2666,fourhackarabic:1636,fourhangzhou:12324,fourideographicparen:12835,fourinferior:8324,fourmonospace:65300,fournumeratorbengali:2551,fouroldstyle:63284,fourparen:9335,fourperiod:9355,fourpersian:1780,fourroman:8563,foursuperior:8308,fourteencircle:9325,fourteenparen:9345,fourteenperiod:9365,fourthai:3668,fourthtonechinese:715,fparen:9377,fraction:8260,franc:8355,g:103,gabengali:2455,gacute:501,
|
611 |
+
gadeva:2327,gafarabic:1711,gaffinalarabic:64403,gafinitialarabic:64404,gafmedialarabic:64405,gagujarati:2711,gagurmukhi:2583,gahiragana:12364,gakatakana:12460,gamma:947,gammalatinsmall:611,gammasuperior:736,gangiacoptic:1003,gbopomofo:12557,gbreve:287,gcaron:487,gcedilla:291,gcircle:9430,gcircumflex:285,gcommaaccent:291,gdot:289,gdotaccent:289,gecyrillic:1075,gehiragana:12370,gekatakana:12466,geometricallyequal:8785,gereshaccenthebrew:1436,gereshhebrew:1523,gereshmuqdamhebrew:1437,germandbls:223,
|
612 |
+
gershayimaccenthebrew:1438,gershayimhebrew:1524,getamark:12307,ghabengali:2456,ghadarmenian:1394,ghadeva:2328,ghagujarati:2712,ghagurmukhi:2584,ghainarabic:1594,ghainfinalarabic:65230,ghaininitialarabic:65231,ghainmedialarabic:65232,ghemiddlehookcyrillic:1173,ghestrokecyrillic:1171,gheupturncyrillic:1169,ghhadeva:2394,ghhagurmukhi:2650,ghook:608,ghzsquare:13203,gihiragana:12366,gikatakana:12462,gimarmenian:1379,gimel:1490,gimeldagesh:64306,gimeldageshhebrew:64306,gimelhebrew:1490,gjecyrillic:1107,
|
613 |
+
glottalinvertedstroke:446,glottalstop:660,glottalstopinverted:662,glottalstopmod:704,glottalstopreversed:661,glottalstopreversedmod:705,glottalstopreversedsuperior:740,glottalstopstroke:673,glottalstopstrokereversed:674,gmacron:7713,gmonospace:65351,gohiragana:12372,gokatakana:12468,gparen:9378,gpasquare:13228,gradient:8711,grave:96,gravebelowcmb:790,gravecmb:768,gravecomb:768,gravedeva:2387,gravelowmod:718,gravemonospace:65344,gravetonecmb:832,greater:62,greaterequal:8805,greaterequalorless:8923,
|
614 |
+
greatermonospace:65310,greaterorequivalent:8819,greaterorless:8823,greateroverequal:8807,greatersmall:65125,gscript:609,gstroke:485,guhiragana:12368,guillemotleft:171,guillemotright:187,guilsinglleft:8249,guilsinglright:8250,gukatakana:12464,guramusquare:13080,gysquare:13257,h:104,haabkhasiancyrillic:1193,haaltonearabic:1729,habengali:2489,hadescendercyrillic:1203,hadeva:2361,hagujarati:2745,hagurmukhi:2617,haharabic:1581,hahfinalarabic:65186,hahinitialarabic:65187,hahiragana:12399,hahmedialarabic:65188,
|
615 |
+
haitusquare:13098,hakatakana:12495,hakatakanahalfwidth:65418,halantgurmukhi:2637,hamzaarabic:1569,hamzalowarabic:1569,hangulfiller:12644,hardsigncyrillic:1098,harpoonleftbarbup:8636,harpoonrightbarbup:8640,hasquare:13258,hatafpatah:1458,hatafpatah16:1458,hatafpatah23:1458,hatafpatah2f:1458,hatafpatahhebrew:1458,hatafpatahnarrowhebrew:1458,hatafpatahquarterhebrew:1458,hatafpatahwidehebrew:1458,hatafqamats:1459,hatafqamats1b:1459,hatafqamats28:1459,hatafqamats34:1459,hatafqamatshebrew:1459,hatafqamatsnarrowhebrew:1459,
|
616 |
+
hatafqamatsquarterhebrew:1459,hatafqamatswidehebrew:1459,hatafsegol:1457,hatafsegol17:1457,hatafsegol24:1457,hatafsegol30:1457,hatafsegolhebrew:1457,hatafsegolnarrowhebrew:1457,hatafsegolquarterhebrew:1457,hatafsegolwidehebrew:1457,hbar:295,hbopomofo:12559,hbrevebelow:7723,hcedilla:7721,hcircle:9431,hcircumflex:293,hdieresis:7719,hdotaccent:7715,hdotbelow:7717,he:1492,heart:9829,heartsuitblack:9829,heartsuitwhite:9825,hedagesh:64308,hedageshhebrew:64308,hehaltonearabic:1729,heharabic:1607,hehebrew:1492,
|
617 |
+
hehfinalaltonearabic:64423,hehfinalalttwoarabic:65258,hehfinalarabic:65258,hehhamzaabovefinalarabic:64421,hehhamzaaboveisolatedarabic:64420,hehinitialaltonearabic:64424,hehinitialarabic:65259,hehiragana:12408,hehmedialaltonearabic:64425,hehmedialarabic:65260,heiseierasquare:13179,hekatakana:12504,hekatakanahalfwidth:65421,hekutaarusquare:13110,henghook:615,herutusquare:13113,het:1495,hethebrew:1495,hhook:614,hhooksuperior:689,hieuhacirclekorean:12923,hieuhaparenkorean:12827,hieuhcirclekorean:12909,
|
618 |
+
hieuhkorean:12622,hieuhparenkorean:12813,hihiragana:12402,hikatakana:12498,hikatakanahalfwidth:65419,hiriq:1460,hiriq14:1460,hiriq21:1460,hiriq2d:1460,hiriqhebrew:1460,hiriqnarrowhebrew:1460,hiriqquarterhebrew:1460,hiriqwidehebrew:1460,hlinebelow:7830,hmonospace:65352,hoarmenian:1392,hohipthai:3627,hohiragana:12411,hokatakana:12507,hokatakanahalfwidth:65422,holam:1465,holam19:1465,holam26:1465,holam32:1465,holamhebrew:1465,holamnarrowhebrew:1465,holamquarterhebrew:1465,holamwidehebrew:1465,honokhukthai:3630,
|
619 |
+
hookabovecomb:777,hookcmb:777,hookpalatalizedbelowcmb:801,hookretroflexbelowcmb:802,hoonsquare:13122,horicoptic:1001,horizontalbar:8213,horncmb:795,hotsprings:9832,house:8962,hparen:9379,hsuperior:688,hturned:613,huhiragana:12405,huiitosquare:13107,hukatakana:12501,hukatakanahalfwidth:65420,hungarumlaut:733,hungarumlautcmb:779,hv:405,hyphen:45,hypheninferior:63205,hyphenmonospace:65293,hyphensmall:65123,hyphensuperior:63206,hyphentwo:8208,i:105,iacute:237,iacyrillic:1103,ibengali:2439,ibopomofo:12583,
|
620 |
+
ibreve:301,icaron:464,icircle:9432,icircumflex:238,icyrillic:1110,idblgrave:521,ideographearthcircle:12943,ideographfirecircle:12939,ideographicallianceparen:12863,ideographiccallparen:12858,ideographiccentrecircle:12965,ideographicclose:12294,ideographiccomma:12289,ideographiccommaleft:65380,ideographiccongratulationparen:12855,ideographiccorrectcircle:12963,ideographicearthparen:12847,ideographicenterpriseparen:12861,ideographicexcellentcircle:12957,ideographicfestivalparen:12864,ideographicfinancialcircle:12950,
|
621 |
+
ideographicfinancialparen:12854,ideographicfireparen:12843,ideographichaveparen:12850,ideographichighcircle:12964,ideographiciterationmark:12293,ideographiclaborcircle:12952,ideographiclaborparen:12856,ideographicleftcircle:12967,ideographiclowcircle:12966,ideographicmedicinecircle:12969,ideographicmetalparen:12846,ideographicmoonparen:12842,ideographicnameparen:12852,ideographicperiod:12290,ideographicprintcircle:12958,ideographicreachparen:12867,ideographicrepresentparen:12857,ideographicresourceparen:12862,
|
622 |
+
ideographicrightcircle:12968,ideographicsecretcircle:12953,ideographicselfparen:12866,ideographicsocietyparen:12851,ideographicspace:12288,ideographicspecialparen:12853,ideographicstockparen:12849,ideographicstudyparen:12859,ideographicsunparen:12848,ideographicsuperviseparen:12860,ideographicwaterparen:12844,ideographicwoodparen:12845,ideographiczero:12295,ideographmetalcircle:12942,ideographmooncircle:12938,ideographnamecircle:12948,ideographsuncircle:12944,ideographwatercircle:12940,ideographwoodcircle:12941,
|
623 |
+
ideva:2311,idieresis:239,idieresisacute:7727,idieresiscyrillic:1253,idotbelow:7883,iebrevecyrillic:1239,iecyrillic:1077,ieungacirclekorean:12917,ieungaparenkorean:12821,ieungcirclekorean:12903,ieungkorean:12615,ieungparenkorean:12807,igrave:236,igujarati:2695,igurmukhi:2567,ihiragana:12356,ihookabove:7881,iibengali:2440,iicyrillic:1080,iideva:2312,iigujarati:2696,iigurmukhi:2568,iimatragurmukhi:2624,iinvertedbreve:523,iishortcyrillic:1081,iivowelsignbengali:2496,iivowelsigndeva:2368,iivowelsigngujarati:2752,
|
624 |
+
ij:307,ikatakana:12452,ikatakanahalfwidth:65394,ikorean:12643,ilde:732,iluyhebrew:1452,imacron:299,imacroncyrillic:1251,imageorapproximatelyequal:8787,imatragurmukhi:2623,imonospace:65353,increment:8710,infinity:8734,iniarmenian:1387,integral:8747,integralbottom:8993,integralbt:8993,integralex:63733,integraltop:8992,integraltp:8992,intersection:8745,intisquare:13061,invbullet:9688,invcircle:9689,invsmileface:9787,iocyrillic:1105,iogonek:303,iota:953,iotadieresis:970,iotadieresistonos:912,iotalatin:617,
|
625 |
+
iotatonos:943,iparen:9380,irigurmukhi:2674,ismallhiragana:12355,ismallkatakana:12451,ismallkatakanahalfwidth:65384,issharbengali:2554,istroke:616,isuperior:63213,iterationhiragana:12445,iterationkatakana:12541,itilde:297,itildebelow:7725,iubopomofo:12585,iucyrillic:1102,ivowelsignbengali:2495,ivowelsigndeva:2367,ivowelsigngujarati:2751,izhitsacyrillic:1141,izhitsadblgravecyrillic:1143,j:106,jaarmenian:1393,jabengali:2460,jadeva:2332,jagujarati:2716,jagurmukhi:2588,jbopomofo:12560,jcaron:496,jcircle:9433,
|
626 |
+
jcircumflex:309,jcrossedtail:669,jdotlessstroke:607,jecyrillic:1112,jeemarabic:1580,jeemfinalarabic:65182,jeeminitialarabic:65183,jeemmedialarabic:65184,jeharabic:1688,jehfinalarabic:64395,jhabengali:2461,jhadeva:2333,jhagujarati:2717,jhagurmukhi:2589,jheharmenian:1403,jis:12292,jmonospace:65354,jparen:9381,jsuperior:690,k:107,kabashkircyrillic:1185,kabengali:2453,kacute:7729,kacyrillic:1082,kadescendercyrillic:1179,kadeva:2325,kaf:1499,kafarabic:1603,kafdagesh:64315,kafdageshhebrew:64315,kaffinalarabic:65242,
|
627 |
+
kafhebrew:1499,kafinitialarabic:65243,kafmedialarabic:65244,kafrafehebrew:64333,kagujarati:2709,kagurmukhi:2581,kahiragana:12363,kahookcyrillic:1220,kakatakana:12459,kakatakanahalfwidth:65398,kappa:954,kappasymbolgreek:1008,kapyeounmieumkorean:12657,kapyeounphieuphkorean:12676,kapyeounpieupkorean:12664,kapyeounssangpieupkorean:12665,karoriisquare:13069,kashidaautoarabic:1600,kashidaautonosidebearingarabic:1600,kasmallkatakana:12533,kasquare:13188,kasraarabic:1616,kasratanarabic:1613,kastrokecyrillic:1183,
|
628 |
+
katahiraprolongmarkhalfwidth:65392,kaverticalstrokecyrillic:1181,kbopomofo:12558,kcalsquare:13193,kcaron:489,kcedilla:311,kcircle:9434,kcommaaccent:311,kdotbelow:7731,keharmenian:1412,kehiragana:12369,kekatakana:12465,kekatakanahalfwidth:65401,kenarmenian:1391,kesmallkatakana:12534,kgreenlandic:312,khabengali:2454,khacyrillic:1093,khadeva:2326,khagujarati:2710,khagurmukhi:2582,khaharabic:1582,khahfinalarabic:65190,khahinitialarabic:65191,khahmedialarabic:65192,kheicoptic:999,khhadeva:2393,khhagurmukhi:2649,
|
629 |
+
khieukhacirclekorean:12920,khieukhaparenkorean:12824,khieukhcirclekorean:12906,khieukhkorean:12619,khieukhparenkorean:12810,khokhaithai:3586,khokhonthai:3589,khokhuatthai:3587,khokhwaithai:3588,khomutthai:3675,khook:409,khorakhangthai:3590,khzsquare:13201,kihiragana:12365,kikatakana:12461,kikatakanahalfwidth:65399,kiroguramusquare:13077,kiromeetorusquare:13078,kirosquare:13076,kiyeokacirclekorean:12910,kiyeokaparenkorean:12814,kiyeokcirclekorean:12896,kiyeokkorean:12593,kiyeokparenkorean:12800,kiyeoksioskorean:12595,
|
630 |
+
kjecyrillic:1116,klinebelow:7733,klsquare:13208,kmcubedsquare:13222,kmonospace:65355,kmsquaredsquare:13218,kohiragana:12371,kohmsquare:13248,kokaithai:3585,kokatakana:12467,kokatakanahalfwidth:65402,kooposquare:13086,koppacyrillic:1153,koreanstandardsymbol:12927,koroniscmb:835,kparen:9382,kpasquare:13226,ksicyrillic:1135,ktsquare:13263,kturned:670,kuhiragana:12367,kukatakana:12463,kukatakanahalfwidth:65400,kvsquare:13240,kwsquare:13246,l:108,labengali:2482,lacute:314,ladeva:2354,lagujarati:2738,lagurmukhi:2610,
|
631 |
+
lakkhangyaothai:3653,lamaleffinalarabic:65276,lamalefhamzaabovefinalarabic:65272,lamalefhamzaaboveisolatedarabic:65271,lamalefhamzabelowfinalarabic:65274,lamalefhamzabelowisolatedarabic:65273,lamalefisolatedarabic:65275,lamalefmaddaabovefinalarabic:65270,lamalefmaddaaboveisolatedarabic:65269,lamarabic:1604,lambda:955,lambdastroke:411,lamed:1500,lameddagesh:64316,lameddageshhebrew:64316,lamedhebrew:1500,lamfinalarabic:65246,lamhahinitialarabic:64714,laminitialarabic:65247,lamjeeminitialarabic:64713,
|
632 |
+
lamkhahinitialarabic:64715,lamlamhehisolatedarabic:65010,lammedialarabic:65248,lammeemhahinitialarabic:64904,lammeeminitialarabic:64716,largecircle:9711,lbar:410,lbelt:620,lbopomofo:12556,lcaron:318,lcedilla:316,lcircle:9435,lcircumflexbelow:7741,lcommaaccent:316,ldot:320,ldotaccent:320,ldotbelow:7735,ldotbelowmacron:7737,leftangleabovecmb:794,lefttackbelowcmb:792,less:60,lessequal:8804,lessequalorgreater:8922,lessmonospace:65308,lessorequivalent:8818,lessorgreater:8822,lessoverequal:8806,lesssmall:65124,
|
633 |
+
lezh:622,lfblock:9612,lhookretroflex:621,lira:8356,liwnarmenian:1388,lj:457,ljecyrillic:1113,ll:63168,lladeva:2355,llagujarati:2739,llinebelow:7739,llladeva:2356,llvocalicbengali:2529,llvocalicdeva:2401,llvocalicvowelsignbengali:2531,llvocalicvowelsigndeva:2403,lmiddletilde:619,lmonospace:65356,lmsquare:13264,lochulathai:3628,logicaland:8743,logicalnot:172,logicalnotreversed:8976,logicalor:8744,lolingthai:3621,longs:383,lowlinecenterline:65102,lowlinecmb:818,lowlinedashed:65101,lozenge:9674,lparen:9383,
|
634 |
+
lslash:322,lsquare:8467,lsuperior:63214,ltshade:9617,luthai:3622,lvocalicbengali:2444,lvocalicdeva:2316,lvocalicvowelsignbengali:2530,lvocalicvowelsigndeva:2402,lxsquare:13267,m:109,mabengali:2478,macron:175,macronbelowcmb:817,macroncmb:772,macronlowmod:717,macronmonospace:65507,macute:7743,madeva:2350,magujarati:2734,magurmukhi:2606,mahapakhhebrew:1444,mahapakhlefthebrew:1444,mahiragana:12414,maichattawalowleftthai:63637,maichattawalowrightthai:63636,maichattawathai:3659,maichattawaupperleftthai:63635,
|
635 |
+
maieklowleftthai:63628,maieklowrightthai:63627,maiekthai:3656,maiekupperleftthai:63626,maihanakatleftthai:63620,maihanakatthai:3633,maitaikhuleftthai:63625,maitaikhuthai:3655,maitholowleftthai:63631,maitholowrightthai:63630,maithothai:3657,maithoupperleftthai:63629,maitrilowleftthai:63634,maitrilowrightthai:63633,maitrithai:3658,maitriupperleftthai:63632,maiyamokthai:3654,makatakana:12510,makatakanahalfwidth:65423,male:9794,mansyonsquare:13127,maqafhebrew:1470,mars:9794,masoracirclehebrew:1455,masquare:13187,
|
636 |
+
mbopomofo:12551,mbsquare:13268,mcircle:9436,mcubedsquare:13221,mdotaccent:7745,mdotbelow:7747,meemarabic:1605,meemfinalarabic:65250,meeminitialarabic:65251,meemmedialarabic:65252,meemmeeminitialarabic:64721,meemmeemisolatedarabic:64584,meetorusquare:13133,mehiragana:12417,meizierasquare:13182,mekatakana:12513,mekatakanahalfwidth:65426,mem:1502,memdagesh:64318,memdageshhebrew:64318,memhebrew:1502,menarmenian:1396,merkhahebrew:1445,merkhakefulahebrew:1446,merkhakefulalefthebrew:1446,merkhalefthebrew:1445,
|
637 |
+
mhook:625,mhzsquare:13202,middledotkatakanahalfwidth:65381,middot:183,mieumacirclekorean:12914,mieumaparenkorean:12818,mieumcirclekorean:12900,mieumkorean:12609,mieumpansioskorean:12656,mieumparenkorean:12804,mieumpieupkorean:12654,mieumsioskorean:12655,mihiragana:12415,mikatakana:12511,mikatakanahalfwidth:65424,minus:8722,minusbelowcmb:800,minuscircle:8854,minusmod:727,minusplus:8723,minute:8242,miribaarusquare:13130,mirisquare:13129,mlonglegturned:624,mlsquare:13206,mmcubedsquare:13219,mmonospace:65357,
|
638 |
+
mmsquaredsquare:13215,mohiragana:12418,mohmsquare:13249,mokatakana:12514,mokatakanahalfwidth:65427,molsquare:13270,momathai:3617,moverssquare:13223,moverssquaredsquare:13224,mparen:9384,mpasquare:13227,mssquare:13235,msuperior:63215,mturned:623,mu:181,mu1:181,muasquare:13186,muchgreater:8811,muchless:8810,mufsquare:13196,mugreek:956,mugsquare:13197,muhiragana:12416,mukatakana:12512,mukatakanahalfwidth:65425,mulsquare:13205,multiply:215,mumsquare:13211,munahhebrew:1443,munahlefthebrew:1443,musicalnote:9834,
|
639 |
+
musicalnotedbl:9835,musicflatsign:9837,musicsharpsign:9839,mussquare:13234,muvsquare:13238,muwsquare:13244,mvmegasquare:13241,mvsquare:13239,mwmegasquare:13247,mwsquare:13245,n:110,nabengali:2472,nabla:8711,nacute:324,nadeva:2344,nagujarati:2728,nagurmukhi:2600,nahiragana:12394,nakatakana:12490,nakatakanahalfwidth:65413,napostrophe:329,nasquare:13185,nbopomofo:12555,nbspace:160,ncaron:328,ncedilla:326,ncircle:9437,ncircumflexbelow:7755,ncommaaccent:326,ndotaccent:7749,ndotbelow:7751,nehiragana:12397,
|
640 |
+
nekatakana:12493,nekatakanahalfwidth:65416,newsheqelsign:8362,nfsquare:13195,ngabengali:2457,ngadeva:2329,ngagujarati:2713,ngagurmukhi:2585,ngonguthai:3591,nhiragana:12435,nhookleft:626,nhookretroflex:627,nieunacirclekorean:12911,nieunaparenkorean:12815,nieuncieuckorean:12597,nieuncirclekorean:12897,nieunhieuhkorean:12598,nieunkorean:12596,nieunpansioskorean:12648,nieunparenkorean:12801,nieunsioskorean:12647,nieuntikeutkorean:12646,nihiragana:12395,nikatakana:12491,nikatakanahalfwidth:65414,nikhahitleftthai:63641,
|
641 |
+
nikhahitthai:3661,nine:57,ninearabic:1641,ninebengali:2543,ninecircle:9320,ninecircleinversesansserif:10130,ninedeva:2415,ninegujarati:2799,ninegurmukhi:2671,ninehackarabic:1641,ninehangzhou:12329,nineideographicparen:12840,nineinferior:8329,ninemonospace:65305,nineoldstyle:63289,nineparen:9340,nineperiod:9360,ninepersian:1785,nineroman:8568,ninesuperior:8313,nineteencircle:9330,nineteenparen:9350,nineteenperiod:9370,ninethai:3673,nj:460,njecyrillic:1114,nkatakana:12531,nkatakanahalfwidth:65437,nlegrightlong:414,
|
642 |
+
nlinebelow:7753,nmonospace:65358,nmsquare:13210,nnabengali:2467,nnadeva:2339,nnagujarati:2723,nnagurmukhi:2595,nnnadeva:2345,nohiragana:12398,nokatakana:12494,nokatakanahalfwidth:65417,nonbreakingspace:160,nonenthai:3603,nonuthai:3609,noonarabic:1606,noonfinalarabic:65254,noonghunnaarabic:1722,noonghunnafinalarabic:64415,nooninitialarabic:65255,noonjeeminitialarabic:64722,noonjeemisolatedarabic:64587,noonmedialarabic:65256,noonmeeminitialarabic:64725,noonmeemisolatedarabic:64590,noonnoonfinalarabic:64653,
|
643 |
+
notcontains:8716,notelement:8713,notelementof:8713,notequal:8800,notgreater:8815,notgreaternorequal:8817,notgreaternorless:8825,notidentical:8802,notless:8814,notlessnorequal:8816,notparallel:8742,notprecedes:8832,notsubset:8836,notsucceeds:8833,notsuperset:8837,nowarmenian:1398,nparen:9385,nssquare:13233,nsuperior:8319,ntilde:241,nu:957,nuhiragana:12396,nukatakana:12492,nukatakanahalfwidth:65415,nuktabengali:2492,nuktadeva:2364,nuktagujarati:2748,nuktagurmukhi:2620,numbersign:35,numbersignmonospace:65283,
|
644 |
+
numbersignsmall:65119,numeralsigngreek:884,numeralsignlowergreek:885,numero:8470,nun:1504,nundagesh:64320,nundageshhebrew:64320,nunhebrew:1504,nvsquare:13237,nwsquare:13243,nyabengali:2462,nyadeva:2334,nyagujarati:2718,nyagurmukhi:2590,o:111,oacute:243,oangthai:3629,obarred:629,obarredcyrillic:1257,obarreddieresiscyrillic:1259,obengali:2451,obopomofo:12571,obreve:335,ocandradeva:2321,ocandragujarati:2705,ocandravowelsigndeva:2377,ocandravowelsigngujarati:2761,ocaron:466,ocircle:9438,ocircumflex:244,
|
645 |
+
ocircumflexacute:7889,ocircumflexdotbelow:7897,ocircumflexgrave:7891,ocircumflexhookabove:7893,ocircumflextilde:7895,ocyrillic:1086,odblacute:337,odblgrave:525,odeva:2323,odieresis:246,odieresiscyrillic:1255,odotbelow:7885,oe:339,oekorean:12634,ogonek:731,ogonekcmb:808,ograve:242,ogujarati:2707,oharmenian:1413,ohiragana:12362,ohookabove:7887,ohorn:417,ohornacute:7899,ohorndotbelow:7907,ohorngrave:7901,ohornhookabove:7903,ohorntilde:7905,ohungarumlaut:337,oi:419,oinvertedbreve:527,okatakana:12458,
|
646 |
+
okatakanahalfwidth:65397,okorean:12631,olehebrew:1451,omacron:333,omacronacute:7763,omacrongrave:7761,omdeva:2384,omega:969,omega1:982,omegacyrillic:1121,omegalatinclosed:631,omegaroundcyrillic:1147,omegatitlocyrillic:1149,omegatonos:974,omgujarati:2768,omicron:959,omicrontonos:972,omonospace:65359,one:49,onearabic:1633,onebengali:2535,onecircle:9312,onecircleinversesansserif:10122,onedeva:2407,onedotenleader:8228,oneeighth:8539,onefitted:63196,onegujarati:2791,onegurmukhi:2663,onehackarabic:1633,
|
647 |
+
onehalf:189,onehangzhou:12321,oneideographicparen:12832,oneinferior:8321,onemonospace:65297,onenumeratorbengali:2548,oneoldstyle:63281,oneparen:9332,oneperiod:9352,onepersian:1777,onequarter:188,oneroman:8560,onesuperior:185,onethai:3665,onethird:8531,oogonek:491,oogonekmacron:493,oogurmukhi:2579,oomatragurmukhi:2635,oopen:596,oparen:9386,openbullet:9702,option:8997,ordfeminine:170,ordmasculine:186,orthogonal:8735,oshortdeva:2322,oshortvowelsigndeva:2378,oslash:248,oslashacute:511,osmallhiragana:12361,
|
648 |
+
osmallkatakana:12457,osmallkatakanahalfwidth:65387,ostrokeacute:511,osuperior:63216,otcyrillic:1151,otilde:245,otildeacute:7757,otildedieresis:7759,oubopomofo:12577,overline:8254,overlinecenterline:65098,overlinecmb:773,overlinedashed:65097,overlinedblwavy:65100,overlinewavy:65099,overscore:175,ovowelsignbengali:2507,ovowelsigndeva:2379,ovowelsigngujarati:2763,p:112,paampssquare:13184,paasentosquare:13099,pabengali:2474,pacute:7765,padeva:2346,pagedown:8671,pageup:8670,pagujarati:2730,pagurmukhi:2602,
|
649 |
+
pahiragana:12401,paiyannoithai:3631,pakatakana:12497,palatalizationcyrilliccmb:1156,palochkacyrillic:1216,pansioskorean:12671,paragraph:182,parallel:8741,parenleft:40,parenleftaltonearabic:64830,parenleftbt:63725,parenleftex:63724,parenleftinferior:8333,parenleftmonospace:65288,parenleftsmall:65113,parenleftsuperior:8317,parenlefttp:63723,parenleftvertical:65077,parenright:41,parenrightaltonearabic:64831,parenrightbt:63736,parenrightex:63735,parenrightinferior:8334,parenrightmonospace:65289,parenrightsmall:65114,
|
650 |
+
parenrightsuperior:8318,parenrighttp:63734,parenrightvertical:65078,partialdiff:8706,paseqhebrew:1472,pashtahebrew:1433,pasquare:13225,patah:1463,patah11:1463,patah1d:1463,patah2a:1463,patahhebrew:1463,patahnarrowhebrew:1463,patahquarterhebrew:1463,patahwidehebrew:1463,pazerhebrew:1441,pbopomofo:12550,pcircle:9439,pdotaccent:7767,pe:1508,pecyrillic:1087,pedagesh:64324,pedageshhebrew:64324,peezisquare:13115,pefinaldageshhebrew:64323,peharabic:1662,peharmenian:1402,pehebrew:1508,pehfinalarabic:64343,
|
651 |
+
pehinitialarabic:64344,pehiragana:12410,pehmedialarabic:64345,pekatakana:12506,pemiddlehookcyrillic:1191,perafehebrew:64334,percent:37,percentarabic:1642,percentmonospace:65285,percentsmall:65130,period:46,periodarmenian:1417,periodcentered:183,periodhalfwidth:65377,periodinferior:63207,periodmonospace:65294,periodsmall:65106,periodsuperior:63208,perispomenigreekcmb:834,perpendicular:8869,perthousand:8240,peseta:8359,pfsquare:13194,phabengali:2475,phadeva:2347,phagujarati:2731,phagurmukhi:2603,phi:966,
|
652 |
+
phi1:981,phieuphacirclekorean:12922,phieuphaparenkorean:12826,phieuphcirclekorean:12908,phieuphkorean:12621,phieuphparenkorean:12812,philatin:632,phinthuthai:3642,phisymbolgreek:981,phook:421,phophanthai:3614,phophungthai:3612,phosamphaothai:3616,pi:960,pieupacirclekorean:12915,pieupaparenkorean:12819,pieupcieuckorean:12662,pieupcirclekorean:12901,pieupkiyeokkorean:12658,pieupkorean:12610,pieupparenkorean:12805,pieupsioskiyeokkorean:12660,pieupsioskorean:12612,pieupsiostikeutkorean:12661,pieupthieuthkorean:12663,
|
653 |
+
pieuptikeutkorean:12659,pihiragana:12404,pikatakana:12500,pisymbolgreek:982,piwrarmenian:1411,plus:43,plusbelowcmb:799,pluscircle:8853,plusminus:177,plusmod:726,plusmonospace:65291,plussmall:65122,plussuperior:8314,pmonospace:65360,pmsquare:13272,pohiragana:12413,pointingindexdownwhite:9759,pointingindexleftwhite:9756,pointingindexrightwhite:9758,pointingindexupwhite:9757,pokatakana:12509,poplathai:3611,postalmark:12306,postalmarkface:12320,pparen:9387,precedes:8826,prescription:8478,primemod:697,
|
654 |
+
primereversed:8245,product:8719,projective:8965,prolongedkana:12540,propellor:8984,propersubset:8834,propersuperset:8835,proportion:8759,proportional:8733,psi:968,psicyrillic:1137,psilipneumatacyrilliccmb:1158,pssquare:13232,puhiragana:12407,pukatakana:12503,pvsquare:13236,pwsquare:13242,q:113,qadeva:2392,qadmahebrew:1448,qafarabic:1602,qaffinalarabic:65238,qafinitialarabic:65239,qafmedialarabic:65240,qamats:1464,qamats10:1464,qamats1a:1464,qamats1c:1464,qamats27:1464,qamats29:1464,qamats33:1464,
|
655 |
+
qamatsde:1464,qamatshebrew:1464,qamatsnarrowhebrew:1464,qamatsqatanhebrew:1464,qamatsqatannarrowhebrew:1464,qamatsqatanquarterhebrew:1464,qamatsqatanwidehebrew:1464,qamatsquarterhebrew:1464,qamatswidehebrew:1464,qarneyparahebrew:1439,qbopomofo:12561,qcircle:9440,qhook:672,qmonospace:65361,qof:1511,qofdagesh:64327,qofdageshhebrew:64327,qofhebrew:1511,qparen:9388,quarternote:9833,qubuts:1467,qubuts18:1467,qubuts25:1467,qubuts31:1467,qubutshebrew:1467,qubutsnarrowhebrew:1467,qubutsquarterhebrew:1467,
|
656 |
+
qubutswidehebrew:1467,question:63,questionarabic:1567,questionarmenian:1374,questiondown:191,questiondownsmall:63423,questiongreek:894,questionmonospace:65311,questionsmall:63295,quotedbl:34,quotedblbase:8222,quotedblleft:8220,quotedblmonospace:65282,quotedblprime:12318,quotedblprimereversed:12317,quotedblright:8221,quoteleft:8216,quoteleftreversed:8219,quotereversed:8219,quoteright:8217,quoterightn:329,quotesinglbase:8218,quotesingle:39,quotesinglemonospace:65287,r:114,raarmenian:1404,rabengali:2480,
|
657 |
+
racute:341,radeva:2352,radical:8730,radicalex:63717,radoverssquare:13230,radoverssquaredsquare:13231,radsquare:13229,rafe:1471,rafehebrew:1471,ragujarati:2736,ragurmukhi:2608,rahiragana:12425,rakatakana:12521,rakatakanahalfwidth:65431,ralowerdiagonalbengali:2545,ramiddlediagonalbengali:2544,ramshorn:612,ratio:8758,rbopomofo:12566,rcaron:345,rcedilla:343,rcircle:9441,rcommaaccent:343,rdblgrave:529,rdotaccent:7769,rdotbelow:7771,rdotbelowmacron:7773,referencemark:8251,reflexsubset:8838,reflexsuperset:8839,
|
658 |
+
registered:174,registersans:63720,registerserif:63194,reharabic:1585,reharmenian:1408,rehfinalarabic:65198,rehiragana:12428,rekatakana:12524,rekatakanahalfwidth:65434,resh:1512,reshdageshhebrew:64328,reshhebrew:1512,reversedtilde:8765,reviahebrew:1431,reviamugrashhebrew:1431,revlogicalnot:8976,rfishhook:638,rfishhookreversed:639,rhabengali:2525,rhadeva:2397,rho:961,rhook:637,rhookturned:635,rhookturnedsuperior:693,rhosymbolgreek:1009,rhotichookmod:734,rieulacirclekorean:12913,rieulaparenkorean:12817,
|
659 |
+
rieulcirclekorean:12899,rieulhieuhkorean:12608,rieulkiyeokkorean:12602,rieulkiyeoksioskorean:12649,rieulkorean:12601,rieulmieumkorean:12603,rieulpansioskorean:12652,rieulparenkorean:12803,rieulphieuphkorean:12607,rieulpieupkorean:12604,rieulpieupsioskorean:12651,rieulsioskorean:12605,rieulthieuthkorean:12606,rieultikeutkorean:12650,rieulyeorinhieuhkorean:12653,rightangle:8735,righttackbelowcmb:793,righttriangle:8895,rihiragana:12426,rikatakana:12522,rikatakanahalfwidth:65432,ring:730,ringbelowcmb:805,
|
660 |
+
ringcmb:778,ringhalfleft:703,ringhalfleftarmenian:1369,ringhalfleftbelowcmb:796,ringhalfleftcentered:723,ringhalfright:702,ringhalfrightbelowcmb:825,ringhalfrightcentered:722,rinvertedbreve:531,rittorusquare:13137,rlinebelow:7775,rlongleg:636,rlonglegturned:634,rmonospace:65362,rohiragana:12429,rokatakana:12525,rokatakanahalfwidth:65435,roruathai:3619,rparen:9389,rrabengali:2524,rradeva:2353,rragurmukhi:2652,rreharabic:1681,rrehfinalarabic:64397,rrvocalicbengali:2528,rrvocalicdeva:2400,rrvocalicgujarati:2784,
|
661 |
+
rrvocalicvowelsignbengali:2500,rrvocalicvowelsigndeva:2372,rrvocalicvowelsigngujarati:2756,rsuperior:63217,rtblock:9616,rturned:633,rturnedsuperior:692,ruhiragana:12427,rukatakana:12523,rukatakanahalfwidth:65433,rupeemarkbengali:2546,rupeesignbengali:2547,rupiah:63197,ruthai:3620,rvocalicbengali:2443,rvocalicdeva:2315,rvocalicgujarati:2699,rvocalicvowelsignbengali:2499,rvocalicvowelsigndeva:2371,rvocalicvowelsigngujarati:2755,s:115,sabengali:2488,sacute:347,sacutedotaccent:7781,sadarabic:1589,sadeva:2360,
|
662 |
+
sadfinalarabic:65210,sadinitialarabic:65211,sadmedialarabic:65212,sagujarati:2744,sagurmukhi:2616,sahiragana:12373,sakatakana:12469,sakatakanahalfwidth:65403,sallallahoualayhewasallamarabic:65018,samekh:1505,samekhdagesh:64321,samekhdageshhebrew:64321,samekhhebrew:1505,saraaathai:3634,saraaethai:3649,saraaimaimalaithai:3652,saraaimaimuanthai:3651,saraamthai:3635,saraathai:3632,saraethai:3648,saraiileftthai:63622,saraiithai:3637,saraileftthai:63621,saraithai:3636,saraothai:3650,saraueeleftthai:63624,
|
663 |
+
saraueethai:3639,saraueleftthai:63623,sarauethai:3638,sarauthai:3640,sarauuthai:3641,sbopomofo:12569,scaron:353,scarondotaccent:7783,scedilla:351,schwa:601,schwacyrillic:1241,schwadieresiscyrillic:1243,schwahook:602,scircle:9442,scircumflex:349,scommaaccent:537,sdotaccent:7777,sdotbelow:7779,sdotbelowdotaccent:7785,seagullbelowcmb:828,second:8243,secondtonechinese:714,section:167,seenarabic:1587,seenfinalarabic:65202,seeninitialarabic:65203,seenmedialarabic:65204,segol:1462,segol13:1462,segol1f:1462,
|
664 |
+
segol2c:1462,segolhebrew:1462,segolnarrowhebrew:1462,segolquarterhebrew:1462,segoltahebrew:1426,segolwidehebrew:1462,seharmenian:1405,sehiragana:12379,sekatakana:12475,sekatakanahalfwidth:65406,semicolon:59,semicolonarabic:1563,semicolonmonospace:65307,semicolonsmall:65108,semivoicedmarkkana:12444,semivoicedmarkkanahalfwidth:65439,sentisquare:13090,sentosquare:13091,seven:55,sevenarabic:1639,sevenbengali:2541,sevencircle:9318,sevencircleinversesansserif:10128,sevendeva:2413,seveneighths:8542,sevengujarati:2797,
|
665 |
+
sevengurmukhi:2669,sevenhackarabic:1639,sevenhangzhou:12327,sevenideographicparen:12838,seveninferior:8327,sevenmonospace:65303,sevenoldstyle:63287,sevenparen:9338,sevenperiod:9358,sevenpersian:1783,sevenroman:8566,sevensuperior:8311,seventeencircle:9328,seventeenparen:9348,seventeenperiod:9368,seventhai:3671,sfthyphen:173,shaarmenian:1399,shabengali:2486,shacyrillic:1096,shaddaarabic:1617,shaddadammaarabic:64609,shaddadammatanarabic:64606,shaddafathaarabic:64608,shaddakasraarabic:64610,shaddakasratanarabic:64607,
|
666 |
+
shade:9618,shadedark:9619,shadelight:9617,shademedium:9618,shadeva:2358,shagujarati:2742,shagurmukhi:2614,shalshelethebrew:1427,shbopomofo:12565,shchacyrillic:1097,sheenarabic:1588,sheenfinalarabic:65206,sheeninitialarabic:65207,sheenmedialarabic:65208,sheicoptic:995,sheqel:8362,sheqelhebrew:8362,sheva:1456,sheva115:1456,sheva15:1456,sheva22:1456,sheva2e:1456,shevahebrew:1456,shevanarrowhebrew:1456,shevaquarterhebrew:1456,shevawidehebrew:1456,shhacyrillic:1211,shimacoptic:1005,shin:1513,shindagesh:64329,
|
667 |
+
shindageshhebrew:64329,shindageshshindot:64300,shindageshshindothebrew:64300,shindageshsindot:64301,shindageshsindothebrew:64301,shindothebrew:1473,shinhebrew:1513,shinshindot:64298,shinshindothebrew:64298,shinsindot:64299,shinsindothebrew:64299,shook:642,sigma:963,sigma1:962,sigmafinal:962,sigmalunatesymbolgreek:1010,sihiragana:12375,sikatakana:12471,sikatakanahalfwidth:65404,siluqhebrew:1469,siluqlefthebrew:1469,similar:8764,sindothebrew:1474,siosacirclekorean:12916,siosaparenkorean:12820,sioscieuckorean:12670,
|
668 |
+
sioscirclekorean:12902,sioskiyeokkorean:12666,sioskorean:12613,siosnieunkorean:12667,siosparenkorean:12806,siospieupkorean:12669,siostikeutkorean:12668,six:54,sixarabic:1638,sixbengali:2540,sixcircle:9317,sixcircleinversesansserif:10127,sixdeva:2412,sixgujarati:2796,sixgurmukhi:2668,sixhackarabic:1638,sixhangzhou:12326,sixideographicparen:12837,sixinferior:8326,sixmonospace:65302,sixoldstyle:63286,sixparen:9337,sixperiod:9357,sixpersian:1782,sixroman:8565,sixsuperior:8310,sixteencircle:9327,sixteencurrencydenominatorbengali:2553,
|
669 |
+
sixteenparen:9347,sixteenperiod:9367,sixthai:3670,slash:47,slashmonospace:65295,slong:383,slongdotaccent:7835,smileface:9786,smonospace:65363,sofpasuqhebrew:1475,softhyphen:173,softsigncyrillic:1100,sohiragana:12381,sokatakana:12477,sokatakanahalfwidth:65407,soliduslongoverlaycmb:824,solidusshortoverlaycmb:823,sorusithai:3625,sosalathai:3624,sosothai:3595,sosuathai:3626,space:32,spacehackarabic:32,spade:9824,spadesuitblack:9824,spadesuitwhite:9828,sparen:9390,squarebelowcmb:827,squarecc:13252,squarecm:13213,
|
670 |
+
squarediagonalcrosshatchfill:9641,squarehorizontalfill:9636,squarekg:13199,squarekm:13214,squarekmcapital:13262,squareln:13265,squarelog:13266,squaremg:13198,squaremil:13269,squaremm:13212,squaremsquared:13217,squareorthogonalcrosshatchfill:9638,squareupperlefttolowerrightfill:9639,squareupperrighttolowerleftfill:9640,squareverticalfill:9637,squarewhitewithsmallblack:9635,srsquare:13275,ssabengali:2487,ssadeva:2359,ssagujarati:2743,ssangcieuckorean:12617,ssanghieuhkorean:12677,ssangieungkorean:12672,
|
671 |
+
ssangkiyeokkorean:12594,ssangnieunkorean:12645,ssangpieupkorean:12611,ssangsioskorean:12614,ssangtikeutkorean:12600,ssuperior:63218,sterling:163,sterlingmonospace:65505,strokelongoverlaycmb:822,strokeshortoverlaycmb:821,subset:8834,subsetnotequal:8842,subsetorequal:8838,succeeds:8827,suchthat:8715,suhiragana:12377,sukatakana:12473,sukatakanahalfwidth:65405,sukunarabic:1618,summation:8721,sun:9788,superset:8835,supersetnotequal:8843,supersetorequal:8839,svsquare:13276,syouwaerasquare:13180,t:116,tabengali:2468,
|
672 |
+
tackdown:8868,tackleft:8867,tadeva:2340,tagujarati:2724,tagurmukhi:2596,taharabic:1591,tahfinalarabic:65218,tahinitialarabic:65219,tahiragana:12383,tahmedialarabic:65220,taisyouerasquare:13181,takatakana:12479,takatakanahalfwidth:65408,tatweelarabic:1600,tau:964,tav:1514,tavdages:64330,tavdagesh:64330,tavdageshhebrew:64330,tavhebrew:1514,tbar:359,tbopomofo:12554,tcaron:357,tccurl:680,tcedilla:355,tcheharabic:1670,tchehfinalarabic:64379,tchehinitialarabic:64380,tchehmedialarabic:64381,tcircle:9443,
|
673 |
+
tcircumflexbelow:7793,tcommaaccent:355,tdieresis:7831,tdotaccent:7787,tdotbelow:7789,tecyrillic:1090,tedescendercyrillic:1197,teharabic:1578,tehfinalarabic:65174,tehhahinitialarabic:64674,tehhahisolatedarabic:64524,tehinitialarabic:65175,tehiragana:12390,tehjeeminitialarabic:64673,tehjeemisolatedarabic:64523,tehmarbutaarabic:1577,tehmarbutafinalarabic:65172,tehmedialarabic:65176,tehmeeminitialarabic:64676,tehmeemisolatedarabic:64526,tehnoonfinalarabic:64627,tekatakana:12486,tekatakanahalfwidth:65411,
|
674 |
+
telephone:8481,telephoneblack:9742,telishagedolahebrew:1440,telishaqetanahebrew:1449,tencircle:9321,tenideographicparen:12841,tenparen:9341,tenperiod:9361,tenroman:8569,tesh:679,tet:1496,tetdagesh:64312,tetdageshhebrew:64312,tethebrew:1496,tetsecyrillic:1205,tevirhebrew:1435,tevirlefthebrew:1435,thabengali:2469,thadeva:2341,thagujarati:2725,thagurmukhi:2597,thalarabic:1584,thalfinalarabic:65196,thanthakhatlowleftthai:63640,thanthakhatlowrightthai:63639,thanthakhatthai:3660,thanthakhatupperleftthai:63638,
|
675 |
+
theharabic:1579,thehfinalarabic:65178,thehinitialarabic:65179,thehmedialarabic:65180,thereexists:8707,therefore:8756,theta:952,theta1:977,thetasymbolgreek:977,thieuthacirclekorean:12921,thieuthaparenkorean:12825,thieuthcirclekorean:12907,thieuthkorean:12620,thieuthparenkorean:12811,thirteencircle:9324,thirteenparen:9344,thirteenperiod:9364,thonangmonthothai:3601,thook:429,thophuthaothai:3602,thorn:254,thothahanthai:3607,thothanthai:3600,thothongthai:3608,thothungthai:3606,thousandcyrillic:1154,thousandsseparatorarabic:1644,
|
676 |
+
thousandsseparatorpersian:1644,three:51,threearabic:1635,threebengali:2537,threecircle:9314,threecircleinversesansserif:10124,threedeva:2409,threeeighths:8540,threegujarati:2793,threegurmukhi:2665,threehackarabic:1635,threehangzhou:12323,threeideographicparen:12834,threeinferior:8323,threemonospace:65299,threenumeratorbengali:2550,threeoldstyle:63283,threeparen:9334,threeperiod:9354,threepersian:1779,threequarters:190,threequartersemdash:63198,threeroman:8562,threesuperior:179,threethai:3667,thzsquare:13204,
|
677 |
+
tihiragana:12385,tikatakana:12481,tikatakanahalfwidth:65409,tikeutacirclekorean:12912,tikeutaparenkorean:12816,tikeutcirclekorean:12898,tikeutkorean:12599,tikeutparenkorean:12802,tilde:732,tildebelowcmb:816,tildecmb:771,tildecomb:771,tildedoublecmb:864,tildeoperator:8764,tildeoverlaycmb:820,tildeverticalcmb:830,timescircle:8855,tipehahebrew:1430,tipehalefthebrew:1430,tippigurmukhi:2672,titlocyrilliccmb:1155,tiwnarmenian:1407,tlinebelow:7791,tmonospace:65364,toarmenian:1385,tohiragana:12392,tokatakana:12488,
|
678 |
+
tokatakanahalfwidth:65412,tonebarextrahighmod:741,tonebarextralowmod:745,tonebarhighmod:742,tonebarlowmod:744,tonebarmidmod:743,tonefive:445,tonesix:389,tonetwo:424,tonos:900,tonsquare:13095,topatakthai:3599,tortoiseshellbracketleft:12308,tortoiseshellbracketleftsmall:65117,tortoiseshellbracketleftvertical:65081,tortoiseshellbracketright:12309,tortoiseshellbracketrightsmall:65118,tortoiseshellbracketrightvertical:65082,totaothai:3605,tpalatalhook:427,tparen:9391,trademark:8482,trademarksans:63722,
|
679 |
+
trademarkserif:63195,tretroflexhook:648,triagdn:9660,triaglf:9668,triagrt:9658,triagup:9650,ts:678,tsadi:1510,tsadidagesh:64326,tsadidageshhebrew:64326,tsadihebrew:1510,tsecyrillic:1094,tsere:1461,tsere12:1461,tsere1e:1461,tsere2b:1461,tserehebrew:1461,tserenarrowhebrew:1461,tserequarterhebrew:1461,tserewidehebrew:1461,tshecyrillic:1115,tsuperior:63219,ttabengali:2463,ttadeva:2335,ttagujarati:2719,ttagurmukhi:2591,tteharabic:1657,ttehfinalarabic:64359,ttehinitialarabic:64360,ttehmedialarabic:64361,
|
680 |
+
tthabengali:2464,tthadeva:2336,tthagujarati:2720,tthagurmukhi:2592,tturned:647,tuhiragana:12388,tukatakana:12484,tukatakanahalfwidth:65410,tusmallhiragana:12387,tusmallkatakana:12483,tusmallkatakanahalfwidth:65391,twelvecircle:9323,twelveparen:9343,twelveperiod:9363,twelveroman:8571,twentycircle:9331,twentyhangzhou:21316,twentyparen:9351,twentyperiod:9371,two:50,twoarabic:1634,twobengali:2536,twocircle:9313,twocircleinversesansserif:10123,twodeva:2408,twodotenleader:8229,twodotleader:8229,twodotleadervertical:65072,
|
681 |
+
twogujarati:2792,twogurmukhi:2664,twohackarabic:1634,twohangzhou:12322,twoideographicparen:12833,twoinferior:8322,twomonospace:65298,twonumeratorbengali:2549,twooldstyle:63282,twoparen:9333,twoperiod:9353,twopersian:1778,tworoman:8561,twostroke:443,twosuperior:178,twothai:3666,twothirds:8532,u:117,uacute:250,ubar:649,ubengali:2441,ubopomofo:12584,ubreve:365,ucaron:468,ucircle:9444,ucircumflex:251,ucircumflexbelow:7799,ucyrillic:1091,udattadeva:2385,udblacute:369,udblgrave:533,udeva:2313,udieresis:252,
|
682 |
+
udieresisacute:472,udieresisbelow:7795,udieresiscaron:474,udieresiscyrillic:1265,udieresisgrave:476,udieresismacron:470,udotbelow:7909,ugrave:249,ugujarati:2697,ugurmukhi:2569,uhiragana:12358,uhookabove:7911,uhorn:432,uhornacute:7913,uhorndotbelow:7921,uhorngrave:7915,uhornhookabove:7917,uhorntilde:7919,uhungarumlaut:369,uhungarumlautcyrillic:1267,uinvertedbreve:535,ukatakana:12454,ukatakanahalfwidth:65395,ukcyrillic:1145,ukorean:12636,umacron:363,umacroncyrillic:1263,umacrondieresis:7803,umatragurmukhi:2625,
|
683 |
+
umonospace:65365,underscore:95,underscoredbl:8215,underscoremonospace:65343,underscorevertical:65075,underscorewavy:65103,union:8746,universal:8704,uogonek:371,uparen:9392,upblock:9600,upperdothebrew:1476,upsilon:965,upsilondieresis:971,upsilondieresistonos:944,upsilonlatin:650,upsilontonos:973,uptackbelowcmb:797,uptackmod:724,uragurmukhi:2675,uring:367,ushortcyrillic:1118,usmallhiragana:12357,usmallkatakana:12453,usmallkatakanahalfwidth:65385,ustraightcyrillic:1199,ustraightstrokecyrillic:1201,utilde:361,
|
684 |
+
utildeacute:7801,utildebelow:7797,uubengali:2442,uudeva:2314,uugujarati:2698,uugurmukhi:2570,uumatragurmukhi:2626,uuvowelsignbengali:2498,uuvowelsigndeva:2370,uuvowelsigngujarati:2754,uvowelsignbengali:2497,uvowelsigndeva:2369,uvowelsigngujarati:2753,v:118,vadeva:2357,vagujarati:2741,vagurmukhi:2613,vakatakana:12535,vav:1493,vavdagesh:64309,vavdagesh65:64309,vavdageshhebrew:64309,vavhebrew:1493,vavholam:64331,vavholamhebrew:64331,vavvavhebrew:1520,vavyodhebrew:1521,vcircle:9445,vdotbelow:7807,vecyrillic:1074,
|
685 |
+
veharabic:1700,vehfinalarabic:64363,vehinitialarabic:64364,vehmedialarabic:64365,vekatakana:12537,venus:9792,verticalbar:124,verticallineabovecmb:781,verticallinebelowcmb:809,verticallinelowmod:716,verticallinemod:712,vewarmenian:1406,vhook:651,vikatakana:12536,viramabengali:2509,viramadeva:2381,viramagujarati:2765,visargabengali:2435,visargadeva:2307,visargagujarati:2691,vmonospace:65366,voarmenian:1400,voicediterationhiragana:12446,voicediterationkatakana:12542,voicedmarkkana:12443,voicedmarkkanahalfwidth:65438,
|
686 |
+
vokatakana:12538,vparen:9393,vtilde:7805,vturned:652,vuhiragana:12436,vukatakana:12532,w:119,wacute:7811,waekorean:12633,wahiragana:12431,wakatakana:12527,wakatakanahalfwidth:65436,wakorean:12632,wasmallhiragana:12430,wasmallkatakana:12526,wattosquare:13143,wavedash:12316,wavyunderscorevertical:65076,wawarabic:1608,wawfinalarabic:65262,wawhamzaabovearabic:1572,wawhamzaabovefinalarabic:65158,wbsquare:13277,wcircle:9446,wcircumflex:373,wdieresis:7813,wdotaccent:7815,wdotbelow:7817,wehiragana:12433,
|
687 |
+
weierstrass:8472,wekatakana:12529,wekorean:12638,weokorean:12637,wgrave:7809,whitebullet:9702,whitecircle:9675,whitecircleinverse:9689,whitecornerbracketleft:12302,whitecornerbracketleftvertical:65091,whitecornerbracketright:12303,whitecornerbracketrightvertical:65092,whitediamond:9671,whitediamondcontainingblacksmalldiamond:9672,whitedownpointingsmalltriangle:9663,whitedownpointingtriangle:9661,whiteleftpointingsmalltriangle:9667,whiteleftpointingtriangle:9665,whitelenticularbracketleft:12310,whitelenticularbracketright:12311,
|
688 |
+
whiterightpointingsmalltriangle:9657,whiterightpointingtriangle:9655,whitesmallsquare:9643,whitesmilingface:9786,whitesquare:9633,whitestar:9734,whitetelephone:9743,whitetortoiseshellbracketleft:12312,whitetortoiseshellbracketright:12313,whiteuppointingsmalltriangle:9653,whiteuppointingtriangle:9651,wihiragana:12432,wikatakana:12528,wikorean:12639,wmonospace:65367,wohiragana:12434,wokatakana:12530,wokatakanahalfwidth:65382,won:8361,wonmonospace:65510,wowaenthai:3623,wparen:9394,wring:7832,wsuperior:695,
|
689 |
+
wturned:653,wynn:447,x:120,xabovecmb:829,xbopomofo:12562,xcircle:9447,xdieresis:7821,xdotaccent:7819,xeharmenian:1389,xi:958,xmonospace:65368,xparen:9395,xsuperior:739,y:121,yaadosquare:13134,yabengali:2479,yacute:253,yadeva:2351,yaekorean:12626,yagujarati:2735,yagurmukhi:2607,yahiragana:12420,yakatakana:12516,yakatakanahalfwidth:65428,yakorean:12625,yamakkanthai:3662,yasmallhiragana:12419,yasmallkatakana:12515,yasmallkatakanahalfwidth:65388,yatcyrillic:1123,ycircle:9448,ycircumflex:375,ydieresis:255,
|
690 |
+
ydotaccent:7823,ydotbelow:7925,yeharabic:1610,yehbarreearabic:1746,yehbarreefinalarabic:64431,yehfinalarabic:65266,yehhamzaabovearabic:1574,yehhamzaabovefinalarabic:65162,yehhamzaaboveinitialarabic:65163,yehhamzaabovemedialarabic:65164,yehinitialarabic:65267,yehmedialarabic:65268,yehmeeminitialarabic:64733,yehmeemisolatedarabic:64600,yehnoonfinalarabic:64660,yehthreedotsbelowarabic:1745,yekorean:12630,yen:165,yenmonospace:65509,yeokorean:12629,yeorinhieuhkorean:12678,yerahbenyomohebrew:1450,yerahbenyomolefthebrew:1450,
|
691 |
+
yericyrillic:1099,yerudieresiscyrillic:1273,yesieungkorean:12673,yesieungpansioskorean:12675,yesieungsioskorean:12674,yetivhebrew:1434,ygrave:7923,yhook:436,yhookabove:7927,yiarmenian:1397,yicyrillic:1111,yikorean:12642,yinyang:9775,yiwnarmenian:1410,ymonospace:65369,yod:1497,yoddagesh:64313,yoddageshhebrew:64313,yodhebrew:1497,yodyodhebrew:1522,yodyodpatahhebrew:64287,yohiragana:12424,yoikorean:12681,yokatakana:12520,yokatakanahalfwidth:65430,yokorean:12635,yosmallhiragana:12423,yosmallkatakana:12519,
|
692 |
+
yosmallkatakanahalfwidth:65390,yotgreek:1011,yoyaekorean:12680,yoyakorean:12679,yoyakthai:3618,yoyingthai:3597,yparen:9396,ypogegrammeni:890,ypogegrammenigreekcmb:837,yr:422,yring:7833,ysuperior:696,ytilde:7929,yturned:654,yuhiragana:12422,yuikorean:12684,yukatakana:12518,yukatakanahalfwidth:65429,yukorean:12640,yusbigcyrillic:1131,yusbigiotifiedcyrillic:1133,yuslittlecyrillic:1127,yuslittleiotifiedcyrillic:1129,yusmallhiragana:12421,yusmallkatakana:12517,yusmallkatakanahalfwidth:65389,yuyekorean:12683,
|
693 |
+
yuyeokorean:12682,yyabengali:2527,yyadeva:2399,z:122,zaarmenian:1382,zacute:378,zadeva:2395,zagurmukhi:2651,zaharabic:1592,zahfinalarabic:65222,zahinitialarabic:65223,zahiragana:12374,zahmedialarabic:65224,zainarabic:1586,zainfinalarabic:65200,zakatakana:12470,zaqefgadolhebrew:1429,zaqefqatanhebrew:1428,zarqahebrew:1432,zayin:1494,zayindagesh:64310,zayindageshhebrew:64310,zayinhebrew:1494,zbopomofo:12567,zcaron:382,zcircle:9449,zcircumflex:7825,zcurl:657,zdot:380,zdotaccent:380,zdotbelow:7827,zecyrillic:1079,
|
694 |
+
zedescendercyrillic:1177,zedieresiscyrillic:1247,zehiragana:12380,zekatakana:12476,zero:48,zeroarabic:1632,zerobengali:2534,zerodeva:2406,zerogujarati:2790,zerogurmukhi:2662,zerohackarabic:1632,zeroinferior:8320,zeromonospace:65296,zerooldstyle:63280,zeropersian:1776,zerosuperior:8304,zerothai:3664,zerowidthjoiner:65279,zerowidthnonjoiner:8204,zerowidthspace:8203,zeta:950,zhbopomofo:12563,zhearmenian:1386,zhebrevecyrillic:1218,zhecyrillic:1078,zhedescendercyrillic:1175,zhedieresiscyrillic:1245,zihiragana:12376,
|
695 |
+
zikatakana:12472,zinorhebrew:1454,zlinebelow:7829,zmonospace:65370,zohiragana:12382,zokatakana:12478,zparen:9397,zretroflexhook:656,zstroke:438,zuhiragana:12378,zukatakana:12474,".notdef":0},ud={space:32,a1:9985,a2:9986,a202:9987,a3:9988,a4:9742,a5:9990,a119:9991,a118:9992,a117:9993,a11:9755,a12:9758,a13:9996,a14:9997,a15:9998,a16:9999,a105:1E4,a17:10001,a18:10002,a19:10003,a20:10004,a21:10005,a22:10006,a23:10007,a24:10008,a25:10009,a26:10010,a27:10011,a28:10012,a6:10013,a7:10014,a8:10015,a9:10016,
|
696 |
+
a10:10017,a29:10018,a30:10019,a31:10020,a32:10021,a33:10022,a34:10023,a35:9733,a36:10025,a37:10026,a38:10027,a39:10028,a40:10029,a41:10030,a42:10031,a43:10032,a44:10033,a45:10034,a46:10035,a47:10036,a48:10037,a49:10038,a50:10039,a51:10040,a52:10041,a53:10042,a54:10043,a55:10044,a56:10045,a57:10046,a58:10047,a59:10048,a60:10049,a61:10050,a62:10051,a63:10052,a64:10053,a65:10054,a66:10055,a67:10056,a68:10057,a69:10058,a70:10059,a71:9679,a72:10061,a73:9632,a74:10063,a203:10064,a75:10065,a204:10066,a76:9650,
|
697 |
+
a77:9660,a78:9670,a79:10070,a81:9687,a82:10072,a83:10073,a84:10074,a97:10075,a98:10076,a99:10077,a100:10078,a101:10081,a102:10082,a103:10083,a104:10084,a106:10085,a107:10086,a108:10087,a112:9827,a111:9830,a110:9829,a109:9824,a120:9312,a121:9313,a122:9314,a123:9315,a124:9316,a125:9317,a126:9318,a127:9319,a128:9320,a129:9321,a130:10102,a131:10103,a132:10104,a133:10105,a134:10106,a135:10107,a136:10108,a137:10109,a138:10110,a139:10111,a140:10112,a141:10113,a142:10114,a143:10115,a144:10116,a145:10117,
|
698 |
+
a146:10118,a147:10119,a148:10120,a149:10121,a150:10122,a151:10123,a152:10124,a153:10125,a154:10126,a155:10127,a156:10128,a157:10129,a158:10130,a159:10131,a160:10132,a161:8594,a163:8596,a164:8597,a196:10136,a165:10137,a192:10138,a166:10139,a167:10140,a168:10141,a169:10142,a170:10143,a171:10144,a172:10145,a173:10146,a162:10147,a174:10148,a175:10149,a176:10150,a177:10151,a178:10152,a179:10153,a193:10154,a180:10155,a199:10156,a181:10157,a200:10158,a182:10159,a201:10161,a183:10162,a184:10163,a197:10164,
|
699 |
+
a185:10165,a194:10166,a198:10167,a186:10168,a195:10169,a187:10170,a188:10171,a189:10172,a190:10173,a191:10174,a89:10088,a90:10089,a93:10090,a94:10091,a91:10092,a92:10093,a205:10094,a85:10095,a206:10096,a86:10097,a87:10098,a88:10099,a95:10100,a96:10101,".notdef":0},xb=function(){function e(a,b,d,f){if(f instanceof tb&&f.isNativelyDecodable(b,d)){var g=f.dict.get("ColorSpace","CS"),g=Q.parse(g,b,d);b=g.numComps;return a.sendWithPromise("JpegDecode",[f.getIR(),b]).then(function(a){a=a.data;return new xa(a,
|
700 |
+
0,a.length,f.dict)})}return Promise.resolve(f)}function a(c,b,d,f,g,h,e){this.image=d;f=d.dict;if(f.has("Filter")){var n=f.get("Filter").name;"JPXDecode"===n?(n=new Bd,n.parseImageProperties(d.stream),d.stream.reset(),d.bitsPerComponent=n.bitsPerComponent,d.numComps=n.componentsCount):"JBIG2Decode"===n&&(d.bitsPerComponent=1,d.numComps=1)}this.width=f.get("Width","W");this.height=f.get("Height","H");(1>this.width||1>this.height)&&G("Invalid image width: "+this.width+" or height: "+this.height);this.interpolate=
|
701 |
+
f.get("Interpolate","I")||!1;this.imageMask=f.get("ImageMask","IM")||!1;this.matte=f.get("Matte")||!1;n=d.bitsPerComponent;n||(n=f.get("BitsPerComponent","BPC"))||(this.imageMask?n=1:G("Bits per component missing in image: "+this.imageMask));this.bpc=n;if(!this.imageMask){var k=f.get("ColorSpace","CS");if(!k)switch(R("JPX images (which do not require color spaces)"),d.numComps){case 1:k=Fa.get("DeviceGray");break;case 3:k=Fa.get("DeviceRGB");break;case 4:k=Fa.get("DeviceCMYK");break;default:G("JPX images with "+
|
702 |
+
this.numComps+" color components not supported.")}this.colorSpace=Q.parse(k,c,b);this.numComps=this.colorSpace.numComps}this.decode=f.get("Decode","D");this.needsDecode=!1;if(this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode)||e&&!Q.isDefaultDecode(this.decode,1)))for(this.needsDecode=!0,d=(1<<n)-1,this.decodeCoefficients=[],this.decodeAddends=[],f=e=0;e<this.decode.length;e+=2,++f)n=this.decode[e],this.decodeCoefficients[f]=this.decode[e+1]-n,this.decodeAddends[f]=d*n;g?
|
703 |
+
this.smask=new a(c,b,g,!1):h&&(oa(h)?this.mask=new a(c,b,h,!1,null,null,!0):this.mask=h)}a.buildImage=function(c,b,d,f,g){var h=e(c,b,d,f),l;l=f.dict.get("SMask");f=f.dict.get("Mask");l?(l=e(c,b,d,l),c=Promise.resolve(null)):(l=Promise.resolve(null),f?oa(f)?c=e(c,b,d,f):U(f)?c=Promise.resolve(f):(L("Unsupported mask format."),c=Promise.resolve(null)):c=Promise.resolve(null));return Promise.all([h,l,c]).then(function(c){return new a(b,d,c[0],g,c[1],c[2])})};a.resize=function(a,b,d,f,g,h,e,n,k){1!==
|
704 |
+
d&&3!==d&&G("Unsupported component count for resizing.");var r=h*e*d;b=n?n:8>=b?new Uint8Array(r):16>=b?new Uint16Array(r):new Uint32Array(r);var m=f/h;g/=e;n=0;var t,r=new Uint16Array(h),v=f*d;1!==k&&(k=0);for(f=0;f<h;f++)r[f]=Math.floor(f*m)*d;if(1===d)for(d=0;d<e;d++)for(m=Math.floor(d*g)*v,f=0;f<h;f++)t=m+r[f],b[n++]=a[t];else if(3===d)for(d=0;d<e;d++)for(m=Math.floor(d*g)*v,f=0;f<h;f++)t=m+r[f],b[n++]=a[t++],b[n++]=a[t++],b[n++]=a[t++],n+=k;return b};a.createMask=function(a,b,d,f,g){var h=(b+
|
705 |
+
7>>3)*d,e=a.byteLength;if(!f||g&&h!==e)if(g)for(f=new Uint8Array(h),f.set(a),a=e;a<h;a++)f[a]=255;else f=new Uint8Array(e),f.set(a);else f=a;if(g)for(a=0;a<e;a++)f[a]=~f[a];return{data:f,width:b,height:d}};a.prototype={get drawWidth(){return Math.max(this.width,this.smask&&this.smask.width||0,this.mask&&this.mask.width||0)},get drawHeight(){return Math.max(this.height,this.smask&&this.smask.height||0,this.mask&&this.mask.height||0)},decodeBuffer:function(a){var b=this.bpc,d=this.numComps,f=this.decodeAddends,
|
706 |
+
g=this.decodeCoefficients,h=(1<<b)-1,e;if(1===b)for(b=0,e=a.length;b<e;b++)a[b]=+!a[b];else{var n=0,b=0;for(e=this.width*this.height;b<e;b++)for(var k=0;k<d;k++){var r=n,m=a[n],m=f[k]+m*g[k];a[r]=0>m?0:m>h?h:m;n++}}},getComponents:function(a){var b=this.bpc;if(8===b)return a;var d=this.width,f=this.height,g=this.numComps,h=d*f*g,e=0,n=8>=b?new Uint8Array(h):16>=b?new Uint16Array(h):new Uint32Array(h),d=d*g,k=(1<<b)-1,g=0,r;if(1===b)for(h=0;h<f;h++){k=g+(d&-8);for(b=g+d;g<k;)r=a[e++],n[g]=r>>7&1,n[g+
|
707 |
+
1]=r>>6&1,n[g+2]=r>>5&1,n[g+3]=r>>4&1,n[g+4]=r>>3&1,n[g+5]=r>>2&1,n[g+6]=r>>1&1,n[g+7]=r&1,g+=8;if(g<b)for(r=a[e++],k=128;g<b;)n[g++]=+!!(r&k),k>>=1}else for(g=r=f=0;g<h;++g){0===g%d&&(f=r=0);for(;f<b;)r=r<<8|a[e++],f+=8;var f=f-b,m=r>>f;n[g]=0>m?0:m>k?k:m;r&=(1<<f)-1}return n},fillOpacity:function(c,b,d,f,g){var h=this.smask,e=this.mask,n,k,r;if(h){if(g=h.width,k=h.height,n=new Uint8Array(g*k),h.fillGrayBuffer(n),g!==b||k!==d)n=a.resize(n,h.bpc,1,g,k,b,d)}else if(e)if(e instanceof a){g=e.width;k=
|
708 |
+
e.height;n=new Uint8Array(g*k);e.numComps=1;e.fillGrayBuffer(n);h=0;for(r=g*k;h<r;++h)n[h]=255-n[h];if(g!==b||k!==d)n=a.resize(n,e.bpc,1,g,k,b,d)}else if(U(e))for(n=new Uint8Array(b*d),k=this.numComps,h=0,r=b*d;h<r;++h){var m=0,t=h*k;for(d=0;d<k;++d){var v=g[t+d],q=2*d;if(v<e[q]||v>e[q+1]){m=255;break}}n[h]=m}else G("Unknown mask format.");if(n)for(h=0,d=3,r=b*f;h<r;++h,d+=4)c[d]=n[h];else for(h=0,d=3,r=b*f;h<r;++h,d+=4)c[d]=255},undoPreblend:function(a,b,d){var f=this.smask&&this.smask.matte;if(f){var g=
|
709 |
+
this.colorSpace.getRgb(f,0),f=g[0],h=g[1],g=g[2];b=b*d*4;var e,n,k;for(d=0;d<b;d+=4)e=a[d+3],0===e?(a[d]=255,a[d+1]=255,a[d+2]=255):(k=255/e,e=(a[d]-f)*k+f,n=(a[d+1]-h)*k+h,k=(a[d+2]-g)*k+g,a[d]=0>=e?0:255<=e?255:e|0,a[d+1]=0>=n?0:255<=n?255:n|0,a[d+2]=0>=k?0:255<=k?255:k|0)}},createImageData:function(a){var b=this.drawWidth,d=this.drawHeight,f={width:b,height:d},g=this.width,h=this.height,e=this.bpc,n=g*this.numComps*e+7>>3,k;if(!a){var r;"DeviceGray"===this.colorSpace.name&&1===e?r=1:"DeviceRGB"!==
|
710 |
+
this.colorSpace.name||8!==e||this.needsDecode||(r=2);if(r&&!this.smask&&!this.mask&&b===g&&d===h){f.kind=r;k=this.getImageBytes(h*n);this.image instanceof ha?f.data=k:(b=new Uint8Array(k.length),b.set(k),f.data=b);if(this.needsDecode)for(ba(1===r),b=f.data,d=0,g=b.length;d<g;d++)b[d]^=255;return f}if(this.image instanceof tb&&!this.smask&&!this.mask)return f.kind=2,f.data=this.getImageBytes(h*n,b,d,!0),f}k=this.getImageBytes(h*n);r=0|k.length/n*d/h;k=this.getComponents(k);a||this.smask||this.mask?
|
711 |
+
(f.kind=3,f.data=new Uint8Array(b*d*4),a=1,n=!0,this.fillOpacity(f.data,b,d,r,k)):(f.kind=2,f.data=new Uint8Array(b*d*3),a=0,n=!1);this.needsDecode&&this.decodeBuffer(k);this.colorSpace.fillRgb(f.data,g,h,b,d,r,e,k,a);n&&this.undoPreblend(f.data,b,r);return f},fillGrayBuffer:function(a){var b=this.numComps;1!==b&&G("Reading gray scale from a color image: "+b);var d=this.width,f=this.height,g=this.bpc,b=this.getImageBytes(f*(d*b*g+7>>3)),b=this.getComponents(b);if(1===g)if(d*=f,this.needsDecode)for(g=
|
712 |
+
0;g<d;++g)a[g]=b[g]-1&255;else for(g=0;g<d;++g)a[g]=-b[g]&255;else for(this.needsDecode&&this.decodeBuffer(b),d*=f,f=255/((1<<g)-1),g=0;g<d;++g)a[g]=f*b[g]|0},getImageBytes:function(a,b,d,f){this.image.reset();this.image.drawWidth=b||this.width;this.image.drawHeight=d||this.height;this.image.forceRGB=!!f;return this.image.getBytes(a)}};return a}(),qd={Courier:600,"Courier-Bold":600,"Courier-BoldOblique":600,"Courier-Oblique":600,Helvetica:{space:278,exclam:278,quotedbl:355,numbersign:556,dollar:556,
|
713 |
+
percent:889,ampersand:667,quoteright:222,parenleft:333,parenright:333,asterisk:389,plus:584,comma:278,hyphen:333,period:278,slash:278,zero:556,one:556,two:556,three:556,four:556,five:556,six:556,seven:556,eight:556,nine:556,colon:278,semicolon:278,less:584,equal:584,greater:584,question:556,at:1015,A:667,B:667,C:722,D:722,E:667,F:611,G:778,H:722,I:278,J:500,K:667,L:556,M:833,N:722,O:778,P:667,Q:778,R:722,S:667,T:611,U:722,V:667,W:944,X:667,Y:667,Z:611,bracketleft:278,backslash:278,bracketright:278,
|
714 |
+
asciicircum:469,underscore:556,quoteleft:222,a:556,b:556,c:500,d:556,e:556,f:278,g:556,h:556,i:222,j:222,k:500,l:222,m:833,n:556,o:556,p:556,q:556,r:333,s:500,t:278,u:556,v:500,w:722,x:500,y:500,z:500,braceleft:334,bar:260,braceright:334,asciitilde:584,exclamdown:333,cent:556,sterling:556,fraction:167,yen:556,florin:556,section:556,currency:556,quotesingle:191,quotedblleft:333,guillemotleft:556,guilsinglleft:333,guilsinglright:333,fi:500,fl:500,endash:556,dagger:556,daggerdbl:556,periodcentered:278,
|
715 |
+
paragraph:537,bullet:350,quotesinglbase:222,quotedblbase:333,quotedblright:333,guillemotright:556,ellipsis:1E3,perthousand:1E3,questiondown:611,grave:333,acute:333,circumflex:333,tilde:333,macron:333,breve:333,dotaccent:333,dieresis:333,ring:333,cedilla:333,hungarumlaut:333,ogonek:333,caron:333,emdash:1E3,AE:1E3,ordfeminine:370,Lslash:556,Oslash:778,OE:1E3,ordmasculine:365,ae:889,dotlessi:278,lslash:222,oslash:611,oe:944,germandbls:611,Idieresis:278,eacute:556,abreve:556,uhungarumlaut:556,ecaron:556,
|
716 |
+
Ydieresis:667,divide:584,Yacute:667,Acircumflex:667,aacute:556,Ucircumflex:722,yacute:500,scommaaccent:500,ecircumflex:556,Uring:722,Udieresis:722,aogonek:556,Uacute:722,uogonek:556,Edieresis:667,Dcroat:722,commaaccent:250,copyright:737,Emacron:667,ccaron:500,aring:556,Ncommaaccent:722,lacute:222,agrave:556,Tcommaaccent:611,Cacute:722,atilde:556,Edotaccent:667,scaron:500,scedilla:500,iacute:278,lozenge:471,Rcaron:722,Gcommaaccent:778,ucircumflex:556,acircumflex:556,Amacron:667,rcaron:333,ccedilla:500,
|
717 |
+
Zdotaccent:611,Thorn:667,Omacron:778,Racute:722,Sacute:667,dcaron:643,Umacron:722,uring:556,threesuperior:333,Ograve:778,Agrave:667,Abreve:667,multiply:584,uacute:556,Tcaron:611,partialdiff:476,ydieresis:500,Nacute:722,icircumflex:278,Ecircumflex:667,adieresis:556,edieresis:556,cacute:500,nacute:556,umacron:556,Ncaron:722,Iacute:278,plusminus:584,brokenbar:260,registered:737,Gbreve:778,Idotaccent:278,summation:600,Egrave:667,racute:333,omacron:556,Zacute:611,Zcaron:611,greaterequal:549,Eth:722,Ccedilla:722,
|
718 |
+
lcommaaccent:222,tcaron:317,eogonek:556,Uogonek:722,Aacute:667,Adieresis:667,egrave:556,zacute:500,iogonek:222,Oacute:778,oacute:556,amacron:556,sacute:500,idieresis:278,Ocircumflex:778,Ugrave:722,Delta:612,thorn:556,twosuperior:333,Odieresis:778,mu:556,igrave:278,ohungarumlaut:556,Eogonek:667,dcroat:556,threequarters:834,Scedilla:667,lcaron:299,Kcommaaccent:667,Lacute:556,trademark:1E3,edotaccent:556,Igrave:278,Imacron:278,Lcaron:556,onehalf:834,lessequal:549,ocircumflex:556,ntilde:556,Uhungarumlaut:722,
|
719 |
+
Eacute:667,emacron:556,gbreve:556,onequarter:834,Scaron:667,Scommaaccent:667,Ohungarumlaut:778,degree:400,ograve:556,Ccaron:722,ugrave:556,radical:453,Dcaron:722,rcommaaccent:333,Ntilde:722,otilde:556,Rcommaaccent:722,Lcommaaccent:556,Atilde:667,Aogonek:667,Aring:667,Otilde:778,zdotaccent:500,Ecaron:667,Iogonek:278,kcommaaccent:500,minus:584,Icircumflex:278,ncaron:556,tcommaaccent:278,logicalnot:584,odieresis:556,udieresis:556,notequal:549,gcommaaccent:556,eth:556,zcaron:500,ncommaaccent:556,onesuperior:333,
|
720 |
+
imacron:278,Euro:556},"Helvetica-Bold":{space:278,exclam:333,quotedbl:474,numbersign:556,dollar:556,percent:889,ampersand:722,quoteright:278,parenleft:333,parenright:333,asterisk:389,plus:584,comma:278,hyphen:333,period:278,slash:278,zero:556,one:556,two:556,three:556,four:556,five:556,six:556,seven:556,eight:556,nine:556,colon:333,semicolon:333,less:584,equal:584,greater:584,question:611,at:975,A:722,B:722,C:722,D:722,E:667,F:611,G:778,H:722,I:278,J:556,K:722,L:611,M:833,N:722,O:778,P:667,Q:778,
|
721 |
+
R:722,S:667,T:611,U:722,V:667,W:944,X:667,Y:667,Z:611,bracketleft:333,backslash:278,bracketright:333,asciicircum:584,underscore:556,quoteleft:278,a:556,b:611,c:556,d:611,e:556,f:333,g:611,h:611,i:278,j:278,k:556,l:278,m:889,n:611,o:611,p:611,q:611,r:389,s:556,t:333,u:611,v:556,w:778,x:556,y:556,z:500,braceleft:389,bar:280,braceright:389,asciitilde:584,exclamdown:333,cent:556,sterling:556,fraction:167,yen:556,florin:556,section:556,currency:556,quotesingle:238,quotedblleft:500,guillemotleft:556,guilsinglleft:333,
|
722 |
+
guilsinglright:333,fi:611,fl:611,endash:556,dagger:556,daggerdbl:556,periodcentered:278,paragraph:556,bullet:350,quotesinglbase:278,quotedblbase:500,quotedblright:500,guillemotright:556,ellipsis:1E3,perthousand:1E3,questiondown:611,grave:333,acute:333,circumflex:333,tilde:333,macron:333,breve:333,dotaccent:333,dieresis:333,ring:333,cedilla:333,hungarumlaut:333,ogonek:333,caron:333,emdash:1E3,AE:1E3,ordfeminine:370,Lslash:611,Oslash:778,OE:1E3,ordmasculine:365,ae:889,dotlessi:278,lslash:278,oslash:611,
|
723 |
+
oe:944,germandbls:611,Idieresis:278,eacute:556,abreve:556,uhungarumlaut:611,ecaron:556,Ydieresis:667,divide:584,Yacute:667,Acircumflex:722,aacute:556,Ucircumflex:722,yacute:556,scommaaccent:556,ecircumflex:556,Uring:722,Udieresis:722,aogonek:556,Uacute:722,uogonek:611,Edieresis:667,Dcroat:722,commaaccent:250,copyright:737,Emacron:667,ccaron:556,aring:556,Ncommaaccent:722,lacute:278,agrave:556,Tcommaaccent:611,Cacute:722,atilde:556,Edotaccent:667,scaron:556,scedilla:556,iacute:278,lozenge:494,Rcaron:722,
|
724 |
+
Gcommaaccent:778,ucircumflex:611,acircumflex:556,Amacron:722,rcaron:389,ccedilla:556,Zdotaccent:611,Thorn:667,Omacron:778,Racute:722,Sacute:667,dcaron:743,Umacron:722,uring:611,threesuperior:333,Ograve:778,Agrave:722,Abreve:722,multiply:584,uacute:611,Tcaron:611,partialdiff:494,ydieresis:556,Nacute:722,icircumflex:278,Ecircumflex:667,adieresis:556,edieresis:556,cacute:556,nacute:611,umacron:611,Ncaron:722,Iacute:278,plusminus:584,brokenbar:280,registered:737,Gbreve:778,Idotaccent:278,summation:600,
|
725 |
+
Egrave:667,racute:389,omacron:611,Zacute:611,Zcaron:611,greaterequal:549,Eth:722,Ccedilla:722,lcommaaccent:278,tcaron:389,eogonek:556,Uogonek:722,Aacute:722,Adieresis:722,egrave:556,zacute:500,iogonek:278,Oacute:778,oacute:611,amacron:556,sacute:556,idieresis:278,Ocircumflex:778,Ugrave:722,Delta:612,thorn:611,twosuperior:333,Odieresis:778,mu:611,igrave:278,ohungarumlaut:611,Eogonek:667,dcroat:611,threequarters:834,Scedilla:667,lcaron:400,Kcommaaccent:722,Lacute:611,trademark:1E3,edotaccent:556,Igrave:278,
|
726 |
+
Imacron:278,Lcaron:611,onehalf:834,lessequal:549,ocircumflex:611,ntilde:611,Uhungarumlaut:722,Eacute:667,emacron:556,gbreve:611,onequarter:834,Scaron:667,Scommaaccent:667,Ohungarumlaut:778,degree:400,ograve:611,Ccaron:722,ugrave:611,radical:549,Dcaron:722,rcommaaccent:389,Ntilde:722,otilde:611,Rcommaaccent:722,Lcommaaccent:611,Atilde:722,Aogonek:722,Aring:722,Otilde:778,zdotaccent:500,Ecaron:667,Iogonek:278,kcommaaccent:556,minus:584,Icircumflex:278,ncaron:611,tcommaaccent:333,logicalnot:584,odieresis:611,
|
727 |
+
udieresis:611,notequal:549,gcommaaccent:611,eth:611,zcaron:500,ncommaaccent:611,onesuperior:333,imacron:278,Euro:556},"Helvetica-BoldOblique":{space:278,exclam:333,quotedbl:474,numbersign:556,dollar:556,percent:889,ampersand:722,quoteright:278,parenleft:333,parenright:333,asterisk:389,plus:584,comma:278,hyphen:333,period:278,slash:278,zero:556,one:556,two:556,three:556,four:556,five:556,six:556,seven:556,eight:556,nine:556,colon:333,semicolon:333,less:584,equal:584,greater:584,question:611,at:975,
|
728 |
+
A:722,B:722,C:722,D:722,E:667,F:611,G:778,H:722,I:278,J:556,K:722,L:611,M:833,N:722,O:778,P:667,Q:778,R:722,S:667,T:611,U:722,V:667,W:944,X:667,Y:667,Z:611,bracketleft:333,backslash:278,bracketright:333,asciicircum:584,underscore:556,quoteleft:278,a:556,b:611,c:556,d:611,e:556,f:333,g:611,h:611,i:278,j:278,k:556,l:278,m:889,n:611,o:611,p:611,q:611,r:389,s:556,t:333,u:611,v:556,w:778,x:556,y:556,z:500,braceleft:389,bar:280,braceright:389,asciitilde:584,exclamdown:333,cent:556,sterling:556,fraction:167,
|
729 |
+
yen:556,florin:556,section:556,currency:556,quotesingle:238,quotedblleft:500,guillemotleft:556,guilsinglleft:333,guilsinglright:333,fi:611,fl:611,endash:556,dagger:556,daggerdbl:556,periodcentered:278,paragraph:556,bullet:350,quotesinglbase:278,quotedblbase:500,quotedblright:500,guillemotright:556,ellipsis:1E3,perthousand:1E3,questiondown:611,grave:333,acute:333,circumflex:333,tilde:333,macron:333,breve:333,dotaccent:333,dieresis:333,ring:333,cedilla:333,hungarumlaut:333,ogonek:333,caron:333,emdash:1E3,
|
730 |
+
AE:1E3,ordfeminine:370,Lslash:611,Oslash:778,OE:1E3,ordmasculine:365,ae:889,dotlessi:278,lslash:278,oslash:611,oe:944,germandbls:611,Idieresis:278,eacute:556,abreve:556,uhungarumlaut:611,ecaron:556,Ydieresis:667,divide:584,Yacute:667,Acircumflex:722,aacute:556,Ucircumflex:722,yacute:556,scommaaccent:556,ecircumflex:556,Uring:722,Udieresis:722,aogonek:556,Uacute:722,uogonek:611,Edieresis:667,Dcroat:722,commaaccent:250,copyright:737,Emacron:667,ccaron:556,aring:556,Ncommaaccent:722,lacute:278,agrave:556,
|
731 |
+
Tcommaaccent:611,Cacute:722,atilde:556,Edotaccent:667,scaron:556,scedilla:556,iacute:278,lozenge:494,Rcaron:722,Gcommaaccent:778,ucircumflex:611,acircumflex:556,Amacron:722,rcaron:389,ccedilla:556,Zdotaccent:611,Thorn:667,Omacron:778,Racute:722,Sacute:667,dcaron:743,Umacron:722,uring:611,threesuperior:333,Ograve:778,Agrave:722,Abreve:722,multiply:584,uacute:611,Tcaron:611,partialdiff:494,ydieresis:556,Nacute:722,icircumflex:278,Ecircumflex:667,adieresis:556,edieresis:556,cacute:556,nacute:611,umacron:611,
|
732 |
+
Ncaron:722,Iacute:278,plusminus:584,brokenbar:280,registered:737,Gbreve:778,Idotaccent:278,summation:600,Egrave:667,racute:389,omacron:611,Zacute:611,Zcaron:611,greaterequal:549,Eth:722,Ccedilla:722,lcommaaccent:278,tcaron:389,eogonek:556,Uogonek:722,Aacute:722,Adieresis:722,egrave:556,zacute:500,iogonek:278,Oacute:778,oacute:611,amacron:556,sacute:556,idieresis:278,Ocircumflex:778,Ugrave:722,Delta:612,thorn:611,twosuperior:333,Odieresis:778,mu:611,igrave:278,ohungarumlaut:611,Eogonek:667,dcroat:611,
|
733 |
+
threequarters:834,Scedilla:667,lcaron:400,Kcommaaccent:722,Lacute:611,trademark:1E3,edotaccent:556,Igrave:278,Imacron:278,Lcaron:611,onehalf:834,lessequal:549,ocircumflex:611,ntilde:611,Uhungarumlaut:722,Eacute:667,emacron:556,gbreve:611,onequarter:834,Scaron:667,Scommaaccent:667,Ohungarumlaut:778,degree:400,ograve:611,Ccaron:722,ugrave:611,radical:549,Dcaron:722,rcommaaccent:389,Ntilde:722,otilde:611,Rcommaaccent:722,Lcommaaccent:611,Atilde:722,Aogonek:722,Aring:722,Otilde:778,zdotaccent:500,Ecaron:667,
|
734 |
+
Iogonek:278,kcommaaccent:556,minus:584,Icircumflex:278,ncaron:611,tcommaaccent:333,logicalnot:584,odieresis:611,udieresis:611,notequal:549,gcommaaccent:611,eth:611,zcaron:500,ncommaaccent:611,onesuperior:333,imacron:278,Euro:556},"Helvetica-Oblique":{space:278,exclam:278,quotedbl:355,numbersign:556,dollar:556,percent:889,ampersand:667,quoteright:222,parenleft:333,parenright:333,asterisk:389,plus:584,comma:278,hyphen:333,period:278,slash:278,zero:556,one:556,two:556,three:556,four:556,five:556,six:556,
|
735 |
+
seven:556,eight:556,nine:556,colon:278,semicolon:278,less:584,equal:584,greater:584,question:556,at:1015,A:667,B:667,C:722,D:722,E:667,F:611,G:778,H:722,I:278,J:500,K:667,L:556,M:833,N:722,O:778,P:667,Q:778,R:722,S:667,T:611,U:722,V:667,W:944,X:667,Y:667,Z:611,bracketleft:278,backslash:278,bracketright:278,asciicircum:469,underscore:556,quoteleft:222,a:556,b:556,c:500,d:556,e:556,f:278,g:556,h:556,i:222,j:222,k:500,l:222,m:833,n:556,o:556,p:556,q:556,r:333,s:500,t:278,u:556,v:500,w:722,x:500,y:500,
|
736 |
+
z:500,braceleft:334,bar:260,braceright:334,asciitilde:584,exclamdown:333,cent:556,sterling:556,fraction:167,yen:556,florin:556,section:556,currency:556,quotesingle:191,quotedblleft:333,guillemotleft:556,guilsinglleft:333,guilsinglright:333,fi:500,fl:500,endash:556,dagger:556,daggerdbl:556,periodcentered:278,paragraph:537,bullet:350,quotesinglbase:222,quotedblbase:333,quotedblright:333,guillemotright:556,ellipsis:1E3,perthousand:1E3,questiondown:611,grave:333,acute:333,circumflex:333,tilde:333,macron:333,
|
737 |
+
breve:333,dotaccent:333,dieresis:333,ring:333,cedilla:333,hungarumlaut:333,ogonek:333,caron:333,emdash:1E3,AE:1E3,ordfeminine:370,Lslash:556,Oslash:778,OE:1E3,ordmasculine:365,ae:889,dotlessi:278,lslash:222,oslash:611,oe:944,germandbls:611,Idieresis:278,eacute:556,abreve:556,uhungarumlaut:556,ecaron:556,Ydieresis:667,divide:584,Yacute:667,Acircumflex:667,aacute:556,Ucircumflex:722,yacute:500,scommaaccent:500,ecircumflex:556,Uring:722,Udieresis:722,aogonek:556,Uacute:722,uogonek:556,Edieresis:667,
|
738 |
+
Dcroat:722,commaaccent:250,copyright:737,Emacron:667,ccaron:500,aring:556,Ncommaaccent:722,lacute:222,agrave:556,Tcommaaccent:611,Cacute:722,atilde:556,Edotaccent:667,scaron:500,scedilla:500,iacute:278,lozenge:471,Rcaron:722,Gcommaaccent:778,ucircumflex:556,acircumflex:556,Amacron:667,rcaron:333,ccedilla:500,Zdotaccent:611,Thorn:667,Omacron:778,Racute:722,Sacute:667,dcaron:643,Umacron:722,uring:556,threesuperior:333,Ograve:778,Agrave:667,Abreve:667,multiply:584,uacute:556,Tcaron:611,partialdiff:476,
|
739 |
+
ydieresis:500,Nacute:722,icircumflex:278,Ecircumflex:667,adieresis:556,edieresis:556,cacute:500,nacute:556,umacron:556,Ncaron:722,Iacute:278,plusminus:584,brokenbar:260,registered:737,Gbreve:778,Idotaccent:278,summation:600,Egrave:667,racute:333,omacron:556,Zacute:611,Zcaron:611,greaterequal:549,Eth:722,Ccedilla:722,lcommaaccent:222,tcaron:317,eogonek:556,Uogonek:722,Aacute:667,Adieresis:667,egrave:556,zacute:500,iogonek:222,Oacute:778,oacute:556,amacron:556,sacute:500,idieresis:278,Ocircumflex:778,
|
740 |
+
Ugrave:722,Delta:612,thorn:556,twosuperior:333,Odieresis:778,mu:556,igrave:278,ohungarumlaut:556,Eogonek:667,dcroat:556,threequarters:834,Scedilla:667,lcaron:299,Kcommaaccent:667,Lacute:556,trademark:1E3,edotaccent:556,Igrave:278,Imacron:278,Lcaron:556,onehalf:834,lessequal:549,ocircumflex:556,ntilde:556,Uhungarumlaut:722,Eacute:667,emacron:556,gbreve:556,onequarter:834,Scaron:667,Scommaaccent:667,Ohungarumlaut:778,degree:400,ograve:556,Ccaron:722,ugrave:556,radical:453,Dcaron:722,rcommaaccent:333,
|
741 |
+
Ntilde:722,otilde:556,Rcommaaccent:722,Lcommaaccent:556,Atilde:667,Aogonek:667,Aring:667,Otilde:778,zdotaccent:500,Ecaron:667,Iogonek:278,kcommaaccent:500,minus:584,Icircumflex:278,ncaron:556,tcommaaccent:278,logicalnot:584,odieresis:556,udieresis:556,notequal:549,gcommaaccent:556,eth:556,zcaron:500,ncommaaccent:556,onesuperior:333,imacron:278,Euro:556},Symbol:{space:250,exclam:333,universal:713,numbersign:500,existential:549,percent:833,ampersand:778,suchthat:439,parenleft:333,parenright:333,asteriskmath:500,
|
742 |
+
plus:549,comma:250,minus:549,period:250,slash:278,zero:500,one:500,two:500,three:500,four:500,five:500,six:500,seven:500,eight:500,nine:500,colon:278,semicolon:278,less:549,equal:549,greater:549,question:444,congruent:549,Alpha:722,Beta:667,Chi:722,Delta:612,Epsilon:611,Phi:763,Gamma:603,Eta:722,Iota:333,theta1:631,Kappa:722,Lambda:686,Mu:889,Nu:722,Omicron:722,Pi:768,Theta:741,Rho:556,Sigma:592,Tau:611,Upsilon:690,sigma1:439,Omega:768,Xi:645,Psi:795,Zeta:611,bracketleft:333,therefore:863,bracketright:333,
|
743 |
+
perpendicular:658,underscore:500,radicalex:500,alpha:631,beta:549,chi:549,delta:494,epsilon:439,phi:521,gamma:411,eta:603,iota:329,phi1:603,kappa:549,lambda:549,mu:576,nu:521,omicron:549,pi:549,theta:521,rho:549,sigma:603,tau:439,upsilon:576,omega1:713,omega:686,xi:493,psi:686,zeta:494,braceleft:480,bar:200,braceright:480,similar:549,Euro:750,Upsilon1:620,minute:247,lessequal:549,fraction:167,infinity:713,florin:500,club:753,diamond:753,heart:753,spade:753,arrowboth:1042,arrowleft:987,arrowup:603,
|
744 |
+
arrowright:987,arrowdown:603,degree:400,plusminus:549,second:411,greaterequal:549,multiply:549,proportional:713,partialdiff:494,bullet:460,divide:549,notequal:549,equivalence:549,approxequal:549,ellipsis:1E3,arrowvertex:603,arrowhorizex:1E3,carriagereturn:658,aleph:823,Ifraktur:686,Rfraktur:795,weierstrass:987,circlemultiply:768,circleplus:768,emptyset:823,intersection:768,union:768,propersuperset:713,reflexsuperset:713,notsubset:713,propersubset:713,reflexsubset:713,element:713,notelement:713,angle:768,
|
745 |
+
gradient:713,registerserif:790,copyrightserif:790,trademarkserif:890,product:823,radical:549,dotmath:250,logicalnot:713,logicaland:603,logicalor:603,arrowdblboth:1042,arrowdblleft:987,arrowdblup:603,arrowdblright:987,arrowdbldown:603,lozenge:494,angleleft:329,registersans:790,copyrightsans:790,trademarksans:786,summation:713,parenlefttp:384,parenleftex:384,parenleftbt:384,bracketlefttp:384,bracketleftex:384,bracketleftbt:384,bracelefttp:494,braceleftmid:494,braceleftbt:494,braceex:494,angleright:329,
|
746 |
+
integral:274,integraltp:686,integralex:686,integralbt:686,parenrighttp:384,parenrightex:384,parenrightbt:384,bracketrighttp:384,bracketrightex:384,bracketrightbt:384,bracerighttp:494,bracerightmid:494,bracerightbt:494,apple:790},"Times-Roman":{space:250,exclam:333,quotedbl:408,numbersign:500,dollar:500,percent:833,ampersand:778,quoteright:333,parenleft:333,parenright:333,asterisk:500,plus:564,comma:250,hyphen:333,period:250,slash:278,zero:500,one:500,two:500,three:500,four:500,five:500,six:500,seven:500,
|
747 |
+
eight:500,nine:500,colon:278,semicolon:278,less:564,equal:564,greater:564,question:444,at:921,A:722,B:667,C:667,D:722,E:611,F:556,G:722,H:722,I:333,J:389,K:722,L:611,M:889,N:722,O:722,P:556,Q:722,R:667,S:556,T:611,U:722,V:722,W:944,X:722,Y:722,Z:611,bracketleft:333,backslash:278,bracketright:333,asciicircum:469,underscore:500,quoteleft:333,a:444,b:500,c:444,d:500,e:444,f:333,g:500,h:500,i:278,j:278,k:500,l:278,m:778,n:500,o:500,p:500,q:500,r:333,s:389,t:278,u:500,v:500,w:722,x:500,y:500,z:444,braceleft:480,
|
748 |
+
bar:200,braceright:480,asciitilde:541,exclamdown:333,cent:500,sterling:500,fraction:167,yen:500,florin:500,section:500,currency:500,quotesingle:180,quotedblleft:444,guillemotleft:500,guilsinglleft:333,guilsinglright:333,fi:556,fl:556,endash:500,dagger:500,daggerdbl:500,periodcentered:250,paragraph:453,bullet:350,quotesinglbase:333,quotedblbase:444,quotedblright:444,guillemotright:500,ellipsis:1E3,perthousand:1E3,questiondown:444,grave:333,acute:333,circumflex:333,tilde:333,macron:333,breve:333,dotaccent:333,
|
749 |
+
dieresis:333,ring:333,cedilla:333,hungarumlaut:333,ogonek:333,caron:333,emdash:1E3,AE:889,ordfeminine:276,Lslash:611,Oslash:722,OE:889,ordmasculine:310,ae:667,dotlessi:278,lslash:278,oslash:500,oe:722,germandbls:500,Idieresis:333,eacute:444,abreve:444,uhungarumlaut:500,ecaron:444,Ydieresis:722,divide:564,Yacute:722,Acircumflex:722,aacute:444,Ucircumflex:722,yacute:500,scommaaccent:389,ecircumflex:444,Uring:722,Udieresis:722,aogonek:444,Uacute:722,uogonek:500,Edieresis:611,Dcroat:722,commaaccent:250,
|
750 |
+
copyright:760,Emacron:611,ccaron:444,aring:444,Ncommaaccent:722,lacute:278,agrave:444,Tcommaaccent:611,Cacute:667,atilde:444,Edotaccent:611,scaron:389,scedilla:389,iacute:278,lozenge:471,Rcaron:667,Gcommaaccent:722,ucircumflex:500,acircumflex:444,Amacron:722,rcaron:333,ccedilla:444,Zdotaccent:611,Thorn:556,Omacron:722,Racute:667,Sacute:556,dcaron:588,Umacron:722,uring:500,threesuperior:300,Ograve:722,Agrave:722,Abreve:722,multiply:564,uacute:500,Tcaron:611,partialdiff:476,ydieresis:500,Nacute:722,
|
751 |
+
icircumflex:278,Ecircumflex:611,adieresis:444,edieresis:444,cacute:444,nacute:500,umacron:500,Ncaron:722,Iacute:333,plusminus:564,brokenbar:200,registered:760,Gbreve:722,Idotaccent:333,summation:600,Egrave:611,racute:333,omacron:500,Zacute:611,Zcaron:611,greaterequal:549,Eth:722,Ccedilla:667,lcommaaccent:278,tcaron:326,eogonek:444,Uogonek:722,Aacute:722,Adieresis:722,egrave:444,zacute:444,iogonek:278,Oacute:722,oacute:500,amacron:444,sacute:389,idieresis:278,Ocircumflex:722,Ugrave:722,Delta:612,thorn:500,
|
752 |
+
twosuperior:300,Odieresis:722,mu:500,igrave:278,ohungarumlaut:500,Eogonek:611,dcroat:500,threequarters:750,Scedilla:556,lcaron:344,Kcommaaccent:722,Lacute:611,trademark:980,edotaccent:444,Igrave:333,Imacron:333,Lcaron:611,onehalf:750,lessequal:549,ocircumflex:500,ntilde:500,Uhungarumlaut:722,Eacute:611,emacron:444,gbreve:500,onequarter:750,Scaron:556,Scommaaccent:556,Ohungarumlaut:722,degree:400,ograve:500,Ccaron:667,ugrave:500,radical:453,Dcaron:722,rcommaaccent:333,Ntilde:722,otilde:500,Rcommaaccent:667,
|
753 |
+
Lcommaaccent:611,Atilde:722,Aogonek:722,Aring:722,Otilde:722,zdotaccent:444,Ecaron:611,Iogonek:333,kcommaaccent:500,minus:564,Icircumflex:333,ncaron:500,tcommaaccent:278,logicalnot:564,odieresis:500,udieresis:500,notequal:549,gcommaaccent:500,eth:500,zcaron:444,ncommaaccent:500,onesuperior:300,imacron:278,Euro:500},"Times-Bold":{space:250,exclam:333,quotedbl:555,numbersign:500,dollar:500,percent:1E3,ampersand:833,quoteright:333,parenleft:333,parenright:333,asterisk:500,plus:570,comma:250,hyphen:333,
|
754 |
+
period:250,slash:278,zero:500,one:500,two:500,three:500,four:500,five:500,six:500,seven:500,eight:500,nine:500,colon:333,semicolon:333,less:570,equal:570,greater:570,question:500,at:930,A:722,B:667,C:722,D:722,E:667,F:611,G:778,H:778,I:389,J:500,K:778,L:667,M:944,N:722,O:778,P:611,Q:778,R:722,S:556,T:667,U:722,V:722,W:1E3,X:722,Y:722,Z:667,bracketleft:333,backslash:278,bracketright:333,asciicircum:581,underscore:500,quoteleft:333,a:500,b:556,c:444,d:556,e:444,f:333,g:500,h:556,i:278,j:333,k:556,l:278,
|
755 |
+
m:833,n:556,o:500,p:556,q:556,r:444,s:389,t:333,u:556,v:500,w:722,x:500,y:500,z:444,braceleft:394,bar:220,braceright:394,asciitilde:520,exclamdown:333,cent:500,sterling:500,fraction:167,yen:500,florin:500,section:500,currency:500,quotesingle:278,quotedblleft:500,guillemotleft:500,guilsinglleft:333,guilsinglright:333,fi:556,fl:556,endash:500,dagger:500,daggerdbl:500,periodcentered:250,paragraph:540,bullet:350,quotesinglbase:333,quotedblbase:500,quotedblright:500,guillemotright:500,ellipsis:1E3,perthousand:1E3,
|
756 |
+
questiondown:500,grave:333,acute:333,circumflex:333,tilde:333,macron:333,breve:333,dotaccent:333,dieresis:333,ring:333,cedilla:333,hungarumlaut:333,ogonek:333,caron:333,emdash:1E3,AE:1E3,ordfeminine:300,Lslash:667,Oslash:778,OE:1E3,ordmasculine:330,ae:722,dotlessi:278,lslash:278,oslash:500,oe:722,germandbls:556,Idieresis:389,eacute:444,abreve:500,uhungarumlaut:556,ecaron:444,Ydieresis:722,divide:570,Yacute:722,Acircumflex:722,aacute:500,Ucircumflex:722,yacute:500,scommaaccent:389,ecircumflex:444,
|
757 |
+
Uring:722,Udieresis:722,aogonek:500,Uacute:722,uogonek:556,Edieresis:667,Dcroat:722,commaaccent:250,copyright:747,Emacron:667,ccaron:444,aring:500,Ncommaaccent:722,lacute:278,agrave:500,Tcommaaccent:667,Cacute:722,atilde:500,Edotaccent:667,scaron:389,scedilla:389,iacute:278,lozenge:494,Rcaron:722,Gcommaaccent:778,ucircumflex:556,acircumflex:500,Amacron:722,rcaron:444,ccedilla:444,Zdotaccent:667,Thorn:611,Omacron:778,Racute:722,Sacute:556,dcaron:672,Umacron:722,uring:556,threesuperior:300,Ograve:778,
|
758 |
+
Agrave:722,Abreve:722,multiply:570,uacute:556,Tcaron:667,partialdiff:494,ydieresis:500,Nacute:722,icircumflex:278,Ecircumflex:667,adieresis:500,edieresis:444,cacute:444,nacute:556,umacron:556,Ncaron:722,Iacute:389,plusminus:570,brokenbar:220,registered:747,Gbreve:778,Idotaccent:389,summation:600,Egrave:667,racute:444,omacron:500,Zacute:667,Zcaron:667,greaterequal:549,Eth:722,Ccedilla:722,lcommaaccent:278,tcaron:416,eogonek:444,Uogonek:722,Aacute:722,Adieresis:722,egrave:444,zacute:444,iogonek:278,
|
759 |
+
Oacute:778,oacute:500,amacron:500,sacute:389,idieresis:278,Ocircumflex:778,Ugrave:722,Delta:612,thorn:556,twosuperior:300,Odieresis:778,mu:556,igrave:278,ohungarumlaut:500,Eogonek:667,dcroat:556,threequarters:750,Scedilla:556,lcaron:394,Kcommaaccent:778,Lacute:667,trademark:1E3,edotaccent:444,Igrave:389,Imacron:389,Lcaron:667,onehalf:750,lessequal:549,ocircumflex:500,ntilde:556,Uhungarumlaut:722,Eacute:667,emacron:444,gbreve:500,onequarter:750,Scaron:556,Scommaaccent:556,Ohungarumlaut:778,degree:400,
|
760 |
+
ograve:500,Ccaron:722,ugrave:556,radical:549,Dcaron:722,rcommaaccent:444,Ntilde:722,otilde:500,Rcommaaccent:722,Lcommaaccent:667,Atilde:722,Aogonek:722,Aring:722,Otilde:778,zdotaccent:444,Ecaron:667,Iogonek:389,kcommaaccent:556,minus:570,Icircumflex:389,ncaron:556,tcommaaccent:333,logicalnot:570,odieresis:500,udieresis:556,notequal:549,gcommaaccent:500,eth:500,zcaron:444,ncommaaccent:556,onesuperior:300,imacron:278,Euro:500},"Times-BoldItalic":{space:250,exclam:389,quotedbl:555,numbersign:500,dollar:500,
|
761 |
+
percent:833,ampersand:778,quoteright:333,parenleft:333,parenright:333,asterisk:500,plus:570,comma:250,hyphen:333,period:250,slash:278,zero:500,one:500,two:500,three:500,four:500,five:500,six:500,seven:500,eight:500,nine:500,colon:333,semicolon:333,less:570,equal:570,greater:570,question:500,at:832,A:667,B:667,C:667,D:722,E:667,F:667,G:722,H:778,I:389,J:500,K:667,L:611,M:889,N:722,O:722,P:611,Q:722,R:667,S:556,T:611,U:722,V:667,W:889,X:667,Y:611,Z:611,bracketleft:333,backslash:278,bracketright:333,
|
762 |
+
asciicircum:570,underscore:500,quoteleft:333,a:500,b:500,c:444,d:500,e:444,f:333,g:500,h:556,i:278,j:278,k:500,l:278,m:778,n:556,o:500,p:500,q:500,r:389,s:389,t:278,u:556,v:444,w:667,x:500,y:444,z:389,braceleft:348,bar:220,braceright:348,asciitilde:570,exclamdown:389,cent:500,sterling:500,fraction:167,yen:500,florin:500,section:500,currency:500,quotesingle:278,quotedblleft:500,guillemotleft:500,guilsinglleft:333,guilsinglright:333,fi:556,fl:556,endash:500,dagger:500,daggerdbl:500,periodcentered:250,
|
763 |
+
paragraph:500,bullet:350,quotesinglbase:333,quotedblbase:500,quotedblright:500,guillemotright:500,ellipsis:1E3,perthousand:1E3,questiondown:500,grave:333,acute:333,circumflex:333,tilde:333,macron:333,breve:333,dotaccent:333,dieresis:333,ring:333,cedilla:333,hungarumlaut:333,ogonek:333,caron:333,emdash:1E3,AE:944,ordfeminine:266,Lslash:611,Oslash:722,OE:944,ordmasculine:300,ae:722,dotlessi:278,lslash:278,oslash:500,oe:722,germandbls:500,Idieresis:389,eacute:444,abreve:500,uhungarumlaut:556,ecaron:444,
|
764 |
+
Ydieresis:611,divide:570,Yacute:611,Acircumflex:667,aacute:500,Ucircumflex:722,yacute:444,scommaaccent:389,ecircumflex:444,Uring:722,Udieresis:722,aogonek:500,Uacute:722,uogonek:556,Edieresis:667,Dcroat:722,commaaccent:250,copyright:747,Emacron:667,ccaron:444,aring:500,Ncommaaccent:722,lacute:278,agrave:500,Tcommaaccent:611,Cacute:667,atilde:500,Edotaccent:667,scaron:389,scedilla:389,iacute:278,lozenge:494,Rcaron:667,Gcommaaccent:722,ucircumflex:556,acircumflex:500,Amacron:667,rcaron:389,ccedilla:444,
|
765 |
+
Zdotaccent:611,Thorn:611,Omacron:722,Racute:667,Sacute:556,dcaron:608,Umacron:722,uring:556,threesuperior:300,Ograve:722,Agrave:667,Abreve:667,multiply:570,uacute:556,Tcaron:611,partialdiff:494,ydieresis:444,Nacute:722,icircumflex:278,Ecircumflex:667,adieresis:500,edieresis:444,cacute:444,nacute:556,umacron:556,Ncaron:722,Iacute:389,plusminus:570,brokenbar:220,registered:747,Gbreve:722,Idotaccent:389,summation:600,Egrave:667,racute:389,omacron:500,Zacute:611,Zcaron:611,greaterequal:549,Eth:722,Ccedilla:667,
|
766 |
+
lcommaaccent:278,tcaron:366,eogonek:444,Uogonek:722,Aacute:667,Adieresis:667,egrave:444,zacute:389,iogonek:278,Oacute:722,oacute:500,amacron:500,sacute:389,idieresis:278,Ocircumflex:722,Ugrave:722,Delta:612,thorn:500,twosuperior:300,Odieresis:722,mu:576,igrave:278,ohungarumlaut:500,Eogonek:667,dcroat:500,threequarters:750,Scedilla:556,lcaron:382,Kcommaaccent:667,Lacute:611,trademark:1E3,edotaccent:444,Igrave:389,Imacron:389,Lcaron:611,onehalf:750,lessequal:549,ocircumflex:500,ntilde:556,Uhungarumlaut:722,
|
767 |
+
Eacute:667,emacron:444,gbreve:500,onequarter:750,Scaron:556,Scommaaccent:556,Ohungarumlaut:722,degree:400,ograve:500,Ccaron:667,ugrave:556,radical:549,Dcaron:722,rcommaaccent:389,Ntilde:722,otilde:500,Rcommaaccent:667,Lcommaaccent:611,Atilde:667,Aogonek:667,Aring:667,Otilde:722,zdotaccent:389,Ecaron:667,Iogonek:389,kcommaaccent:500,minus:606,Icircumflex:389,ncaron:556,tcommaaccent:278,logicalnot:606,odieresis:500,udieresis:556,notequal:549,gcommaaccent:500,eth:500,zcaron:389,ncommaaccent:556,onesuperior:300,
|
768 |
+
imacron:278,Euro:500},"Times-Italic":{space:250,exclam:333,quotedbl:420,numbersign:500,dollar:500,percent:833,ampersand:778,quoteright:333,parenleft:333,parenright:333,asterisk:500,plus:675,comma:250,hyphen:333,period:250,slash:278,zero:500,one:500,two:500,three:500,four:500,five:500,six:500,seven:500,eight:500,nine:500,colon:333,semicolon:333,less:675,equal:675,greater:675,question:500,at:920,A:611,B:611,C:667,D:722,E:611,F:611,G:722,H:722,I:333,J:444,K:667,L:556,M:833,N:667,O:722,P:611,Q:722,R:611,
|
769 |
+
S:500,T:556,U:722,V:611,W:833,X:611,Y:556,Z:556,bracketleft:389,backslash:278,bracketright:389,asciicircum:422,underscore:500,quoteleft:333,a:500,b:500,c:444,d:500,e:444,f:278,g:500,h:500,i:278,j:278,k:444,l:278,m:722,n:500,o:500,p:500,q:500,r:389,s:389,t:278,u:500,v:444,w:667,x:444,y:444,z:389,braceleft:400,bar:275,braceright:400,asciitilde:541,exclamdown:389,cent:500,sterling:500,fraction:167,yen:500,florin:500,section:500,currency:500,quotesingle:214,quotedblleft:556,guillemotleft:500,guilsinglleft:333,
|
770 |
+
guilsinglright:333,fi:500,fl:500,endash:500,dagger:500,daggerdbl:500,periodcentered:250,paragraph:523,bullet:350,quotesinglbase:333,quotedblbase:556,quotedblright:556,guillemotright:500,ellipsis:889,perthousand:1E3,questiondown:500,grave:333,acute:333,circumflex:333,tilde:333,macron:333,breve:333,dotaccent:333,dieresis:333,ring:333,cedilla:333,hungarumlaut:333,ogonek:333,caron:333,emdash:889,AE:889,ordfeminine:276,Lslash:556,Oslash:722,OE:944,ordmasculine:310,ae:667,dotlessi:278,lslash:278,oslash:500,
|
771 |
+
oe:667,germandbls:500,Idieresis:333,eacute:444,abreve:500,uhungarumlaut:500,ecaron:444,Ydieresis:556,divide:675,Yacute:556,Acircumflex:611,aacute:500,Ucircumflex:722,yacute:444,scommaaccent:389,ecircumflex:444,Uring:722,Udieresis:722,aogonek:500,Uacute:722,uogonek:500,Edieresis:611,Dcroat:722,commaaccent:250,copyright:760,Emacron:611,ccaron:444,aring:500,Ncommaaccent:667,lacute:278,agrave:500,Tcommaaccent:556,Cacute:667,atilde:500,Edotaccent:611,scaron:389,scedilla:389,iacute:278,lozenge:471,Rcaron:611,
|
772 |
+
Gcommaaccent:722,ucircumflex:500,acircumflex:500,Amacron:611,rcaron:389,ccedilla:444,Zdotaccent:556,Thorn:611,Omacron:722,Racute:611,Sacute:500,dcaron:544,Umacron:722,uring:500,threesuperior:300,Ograve:722,Agrave:611,Abreve:611,multiply:675,uacute:500,Tcaron:556,partialdiff:476,ydieresis:444,Nacute:667,icircumflex:278,Ecircumflex:611,adieresis:500,edieresis:444,cacute:444,nacute:500,umacron:500,Ncaron:667,Iacute:333,plusminus:675,brokenbar:275,registered:760,Gbreve:722,Idotaccent:333,summation:600,
|
773 |
+
Egrave:611,racute:389,omacron:500,Zacute:556,Zcaron:556,greaterequal:549,Eth:722,Ccedilla:667,lcommaaccent:278,tcaron:300,eogonek:444,Uogonek:722,Aacute:611,Adieresis:611,egrave:444,zacute:389,iogonek:278,Oacute:722,oacute:500,amacron:500,sacute:389,idieresis:278,Ocircumflex:722,Ugrave:722,Delta:612,thorn:500,twosuperior:300,Odieresis:722,mu:500,igrave:278,ohungarumlaut:500,Eogonek:611,dcroat:500,threequarters:750,Scedilla:500,lcaron:300,Kcommaaccent:667,Lacute:556,trademark:980,edotaccent:444,Igrave:333,
|
774 |
+
Imacron:333,Lcaron:611,onehalf:750,lessequal:549,ocircumflex:500,ntilde:500,Uhungarumlaut:722,Eacute:611,emacron:444,gbreve:500,onequarter:750,Scaron:500,Scommaaccent:500,Ohungarumlaut:722,degree:400,ograve:500,Ccaron:667,ugrave:500,radical:453,Dcaron:722,rcommaaccent:389,Ntilde:667,otilde:500,Rcommaaccent:611,Lcommaaccent:556,Atilde:611,Aogonek:611,Aring:611,Otilde:722,zdotaccent:389,Ecaron:611,Iogonek:333,kcommaaccent:444,minus:675,Icircumflex:333,ncaron:500,tcommaaccent:278,logicalnot:675,odieresis:500,
|
775 |
+
udieresis:500,notequal:549,gcommaaccent:500,eth:500,zcaron:389,ncommaaccent:500,onesuperior:300,imacron:278,Euro:500},ZapfDingbats:{space:278,a1:974,a2:961,a202:974,a3:980,a4:719,a5:789,a119:790,a118:791,a117:690,a11:960,a12:939,a13:549,a14:855,a15:911,a16:933,a105:911,a17:945,a18:974,a19:755,a20:846,a21:762,a22:761,a23:571,a24:677,a25:763,a26:760,a27:759,a28:754,a6:494,a7:552,a8:537,a9:577,a10:692,a29:786,a30:788,a31:788,a32:790,a33:793,a34:794,a35:816,a36:823,a37:789,a38:841,a39:823,a40:833,a41:816,
|
776 |
+
a42:831,a43:923,a44:744,a45:723,a46:749,a47:790,a48:792,a49:695,a50:776,a51:768,a52:792,a53:759,a54:707,a55:708,a56:682,a57:701,a58:826,a59:815,a60:789,a61:789,a62:707,a63:687,a64:696,a65:689,a66:786,a67:787,a68:713,a69:791,a70:785,a71:791,a72:873,a73:761,a74:762,a203:762,a75:759,a204:759,a76:892,a77:892,a78:788,a79:784,a81:438,a82:138,a83:277,a84:415,a97:392,a98:392,a99:668,a100:668,a89:390,a90:390,a93:317,a94:317,a91:276,a92:276,a205:509,a85:509,a206:410,a86:410,a87:234,a88:234,a95:334,a96:334,
|
777 |
+
a101:732,a102:544,a103:544,a104:910,a106:667,a107:760,a108:760,a112:776,a111:595,a110:694,a109:626,a120:788,a121:788,a122:788,a123:788,a124:788,a125:788,a126:788,a127:788,a128:788,a129:788,a130:788,a131:788,a132:788,a133:788,a134:788,a135:788,a136:788,a137:788,a138:788,a139:788,a140:788,a141:788,a142:788,a143:788,a144:788,a145:788,a146:788,a147:788,a148:788,a149:788,a150:788,a151:788,a152:788,a153:788,a154:788,a155:788,a156:788,a157:788,a158:788,a159:788,a160:894,a161:838,a163:1016,a164:458,a196:748,
|
778 |
+
a165:924,a192:748,a166:918,a167:927,a168:928,a169:928,a170:834,a171:873,a172:828,a173:924,a162:924,a174:917,a175:930,a176:931,a177:463,a178:883,a179:836,a193:836,a180:867,a199:867,a181:696,a200:696,a182:874,a201:874,a183:760,a184:946,a197:771,a185:865,a194:771,a198:888,a186:967,a195:888,a187:831,a188:873,a189:927,a190:970,a191:918}},ea={},bb=function(){function e(a,c,b){this.lexer=a;this.allowStreams=c;this.xref=b;this.imageCache={};this.refill()}e.prototype={refill:function(){this.buf1=this.lexer.getObj();
|
779 |
+
this.buf2=this.lexer.getObj()},shift:function(){da(this.buf2,"ID")?(this.buf1=this.buf2,this.buf2=null):(this.buf1=this.buf2,this.buf2=this.lexer.getObj())},getObj:function(a){var c=this.buf1;this.shift();if(c instanceof wa)switch(c.cmd){case "BI":return this.makeInlineImage(a);case "[":for(c=[];!da(this.buf1,"]")&&this.buf1!==ea;)c.push(this.getObj(a));this.buf1===ea&&G("End of file inside array");this.shift();return c;case "<<":for(c=new Ga(this.xref);!da(this.buf1,">>")&&this.buf1!==ea;)if(P(this.buf1)){var b=
|
780 |
+
this.buf1.name;this.shift();if(this.buf1===ea)break;c.set(b,this.getObj(a))}else R("Malformed dictionary: key must be a name object"),this.shift();this.buf1===ea&&G("End of file inside dictionary");if(da(this.buf2,"stream"))return this.allowStreams?this.makeStream(c,a):c;this.shift();return c;default:return c}if(V(c))return V(this.buf1)&&da(this.buf2,"R")?(a=new Ub(c,this.buf1),this.shift(),this.shift(),a):c;ja(c)&&a&&(c=a.decryptString(c));return c},findDefaultInlineStreamEnd:function(a){for(var c=
|
781 |
+
a.pos,b=0,d,f,g;-1!==(d=a.getByte());)if(0===b)b=69===d?1:0;else if(1===b)b=73===d?2:0;else if(ba(2===b),32===d||10===d||13===d){g=a.peekBytes(5);for(f=0;5>f;f++)if(d=g[f],10!==d&&13!==d&&(32>d||127<d)){b=0;break}if(2===b)break}else b=0;return a.pos-4-c},findDCTDecodeInlineStreamEnd:function(a){for(var c=a.pos,b=!1,d,f;-1!==(d=a.getByte());)if(255===d){switch(a.getByte()){case 255:a.skip(-1);break;case 217:b=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:f=
|
782 |
+
a.getUint16(),2<f?a.skip(f-2):a.skip(-2)}if(b)break}c=a.pos-c;if(-1===d)return L("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),a.skip(-c),this.findDefaultInlineStreamEnd(a);this.inlineStreamSkipEI(a);return c},findASCII85DecodeInlineStreamEnd:function(a){for(var c=a.pos,b;-1!==(b=a.getByte());)if(126===b&&62===a.peekByte()){a.skip();break}c=a.pos-c;if(-1===b)return L("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),a.skip(-c),
|
783 |
+
this.findDefaultInlineStreamEnd(a);this.inlineStreamSkipEI(a);return c},findASCIIHexDecodeInlineStreamEnd:function(a){for(var c=a.pos,b;-1!==(b=a.getByte())&&62!==b;);c=a.pos-c;if(-1===b)return L("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),a.skip(-c),this.findDefaultInlineStreamEnd(a);this.inlineStreamSkipEI(a);return c},inlineStreamSkipEI:function(a){for(var c=0,b;-1!==(b=a.getByte());)if(0===c)c=69===b?1:0;else if(1===c)c=73===b?2:0;else if(2===c)break},
|
784 |
+
makeInlineImage:function(a){for(var c=this.lexer.stream,b=new Ga(null);!da(this.buf1,"ID")&&this.buf1!==ea;){P(this.buf1)||G("Dictionary key must be a name object");var d=this.buf1.name;this.shift();if(this.buf1===ea)break;b.set(d,this.getObj(a))}var d=this.fetchIfRef(b.get("Filter","F")),f;P(d)?f=d.name:U(d)&&P(d[0])&&(f=d[0].name);var d=c.pos,g;f="DCTDecode"===f||"DCT"===f?this.findDCTDecodeInlineStreamEnd(c):"ASCII85Decide"===f||"A85"===f?this.findASCII85DecodeInlineStreamEnd(c):"ASCIIHexDecode"===
|
785 |
+
f||"AHx"===f?this.findASCIIHexDecodeInlineStreamEnd(c):this.findDefaultInlineStreamEnd(c);c=c.makeSubStream(d,f,b);if(1E3>f){var h=c.getBytes();c.reset();var e=1,n=0;g=0;for(d=h.length;g<d;++g)e+=h[g]&255,n+=e;g=n%65521<<16|e%65521;if(this.imageCache.adler32===g)return this.buf2=wa.get("EI"),this.shift(),this.imageCache[g].reset(),this.imageCache[g]}a&&(c=a.createStream(c,f));c=this.filter(c,b,f);c.dict=b;void 0!==g&&(c.cacheKey="inline_"+f+"_"+g,this.imageCache[g]=c);this.buf2=wa.get("EI");this.shift();
|
786 |
+
return c},fetchIfRef:function(a){return Aa(a)?this.xref.fetch(a):a},makeStream:function(a,c){var b=this.lexer,d=b.stream;b.skipToNextLine();var f=d.pos-1,g=this.fetchIfRef(a.get("Length"));V(g)||(R("Bad "+g+" attribute in stream"),g=0);d.pos=f+g;b.nextChar();this.shift();this.shift();if(!da(this.buf1,"endstream")){d.pos=f;for(var g=[101,110,100,115,116,114,101,97,109],h=0,e=!1,n,k;d.pos<d.end;){var r=d.peekBytes(2048),m=r.length-9;if(0>=m)break;e=!1;for(k=n=0;n<m;n++)if(r[n]!==g[k])n-=k,k=0;else if(k++,
|
787 |
+
9<=k){n++;e=!0;break}if(e){h+=n-9;d.pos+=n-9;break}h+=m;d.pos+=m}e||G("Missing endstream");g=h;b.nextChar();this.shift();this.shift()}this.shift();d=d.makeSubStream(f,g,a);c&&(d=c.createStream(d,g));d=this.filter(d,a,g);d.dict=a;return d},filter:function(a,c,b){var d=this.fetchIfRef(c.get("Filter","F"));c=this.fetchIfRef(c.get("DecodeParms","DP"));if(P(d))return this.makeFilter(a,d.name,b,c);if(U(d))for(var f=d,g=c,h=0,e=f.length;h<e;++h)d=f[h],P(d)||G("Bad filter name: "+d),c=null,U(g)&&h in g&&
|
788 |
+
(c=g[h]),a=this.makeFilter(a,d.name,b,c),b=null;return a},makeFilter:function(a,c,b,d){if(0===a.dict.get("Length"))return new pc(a);try{d&&(d=this.fetchIfRef(d));var f=this.xref.stats.streamTypes;if("FlateDecode"===c||"Fl"===c)return f[1]=!0,d?new Cd(new Dd(a,b),b,d):new Dd(a,b);if("LZWDecode"===c||"LZW"===c)return f[2]=!0,c=1,d?(d.has("EarlyChange")&&(c=d.get("EarlyChange")),new Cd(new Ed(a,b,c),b,d)):new Ed(a,b,c);if("DCTDecode"===c||"DCT"===c)return f[3]=!0,new tb(a,b,a.dict,this.xref);if("JPXDecode"===
|
789 |
+
c||"JPX"===c)return f[4]=!0,new He(a,b,a.dict);if("ASCII85Decode"===c||"A85"===c)return f[6]=!0,new Ie(a,b);if("ASCIIHexDecode"===c||"AHx"===c)return f[7]=!0,new Je(a,b);if("CCITTFaxDecode"===c||"CCF"===c)return f[8]=!0,new Ke(a,b,d);if("RunLengthDecode"===c||"RL"===c)return f[9]=!0,new Le(a,b);if("JBIG2Decode"===c)return f[5]=!0,new Me(a,b,a.dict);L('filter "'+c+'" not supported yet');return a}catch(g){if(g instanceof Ta)throw g;L('Invalid stream: "'+g+'"');return new pc(a)}}};return e}(),ta=function(){function e(a,
|
790 |
+
c){this.stream=a;this.nextChar();this.strBuf=[];this.knownCommands=c}function a(a){return 48<=a&&57>=a?a&15:65<=a&&70>=a||97<=a&&102>=a?(a&15)+9:-1}e.isSpace=function(a){return 32===a||9===a||13===a||10===a};var c=[1,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
791 |
+
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];e.prototype={nextChar:function(){return this.currentChar=this.stream.getByte()},peekChar:function(){return this.stream.peekByte()},getNumber:function(){var a=this.currentChar,c=!1,f=0,g=1;45===a?(g=-1,a=this.nextChar()):43===a&&(a=this.nextChar());46===a&&(f=10,a=this.nextChar());
|
792 |
+
if(48>a||57<a)return G("Invalid number: "+String.fromCharCode(a)),0;for(var h=a-48,e=0,n=1;0<=(a=this.nextChar());)if(48<=a&&57>=a)a-=48,c?e=10*e+a:(0!==f&&(f*=10),h=10*h+a);else if(46===a)if(0===f)f=1;else break;else if(45===a)L("Badly formated number");else if(69===a||101===a){a=this.peekChar();if(43===a||45===a)n=45===a?-1:1,this.nextChar();else if(48>a||57<a)break;c=!0}else break;0!==f&&(h/=f);c&&(h*=Math.pow(10,n*e));return g*h},getString:function(){var a=1,c=!1,f=this.strBuf;f.length=0;for(var g=
|
793 |
+
this.nextChar();;){var h=!1;switch(g|0){case -1:L("Unterminated string");c=!0;break;case 40:++a;f.push("(");break;case 41:0===--a?(this.nextChar(),c=!0):f.push(")");break;case 92:g=this.nextChar();switch(g){case -1:L("Unterminated string");c=!0;break;case 110:f.push("\n");break;case 114:f.push("\r");break;case 116:f.push("\t");break;case 98:f.push("\b");break;case 102:f.push("\f");break;case 92:case 40:case 41:f.push(String.fromCharCode(g));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:var e=
|
794 |
+
g&15,g=this.nextChar(),h=!0;48<=g&&55>=g&&(e=(e<<3)+(g&15),g=this.nextChar(),48<=g&&55>=g&&(h=!1,e=(e<<3)+(g&15)));f.push(String.fromCharCode(e));break;case 13:10===this.peekChar()&&this.nextChar();break;case 10:break;default:f.push(String.fromCharCode(g))}break;default:f.push(String.fromCharCode(g))}if(c)break;h||(g=this.nextChar())}return f.join("")},getName:function(){var b,d=this.strBuf;for(d.length=0;0<=(b=this.nextChar())&&!c[b];)if(35===b){b=this.nextChar();var f=a(b);if(-1!==f){var g=a(this.nextChar());
|
795 |
+
-1===g&&G("Illegal digit in hex char in name: "+g);d.push(String.fromCharCode(f<<4|g))}else d.push("#",String.fromCharCode(b))}else d.push(String.fromCharCode(b));128<d.length&&G("Warning: name token is longer than allowed by the spec: "+d.length);return Fa.get(d.join(""))},getHexString:function(){var b=this.strBuf;b.length=0;for(var d=this.currentChar,f=!0,g,h;;)if(0>d){L("Unterminated hex string");break}else if(62===d){this.nextChar();break}else{if(1!==c[d]){if(f){if(g=a(d),-1===g){L('Ignoring invalid character "'+
|
796 |
+
d+'" in hex string');d=this.nextChar();continue}}else{h=a(d);if(-1===h){L('Ignoring invalid character "'+d+'" in hex string');d=this.nextChar();continue}b.push(String.fromCharCode(g<<4|h))}f=!f}d=this.nextChar()}return b.join("")},getObj:function(){for(var a=!1,d=this.currentChar;;){if(0>d)return ea;if(a){if(10===d||13===d)a=!1}else if(37===d)a=!0;else if(1!==c[d])break;d=this.nextChar()}switch(d|0){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();
|
797 |
+
case 40:return this.getString();case 47:return this.getName();case 91:return this.nextChar(),wa.get("[");case 93:return this.nextChar(),wa.get("]");case 60:return d=this.nextChar(),60===d?(this.nextChar(),wa.get("<<")):this.getHexString();case 62:return d=this.nextChar(),62===d?(this.nextChar(),wa.get(">>")):wa.get(">");case 123:return this.nextChar(),wa.get("{");case 125:return this.nextChar(),wa.get("}");case 41:G("Illegal character: "+d)}for(var a=String.fromCharCode(d),f=this.knownCommands,g=
|
798 |
+
f&&void 0!==f[a];0<=(d=this.nextChar())&&!c[d];){var h=a+String.fromCharCode(d);if(g&&void 0===f[h])break;128===a.length&&G("Command token too long: "+a.length);a=h;g=f&&void 0!==f[a]}return"true"===a?!0:"false"===a?!1:"null"===a?null:wa.get(a)},skipToNextLine:function(){for(var a=this.currentChar;0<=a;){if(13===a){a=this.nextChar();10===a&&this.nextChar();break}else if(10===a){this.nextChar();break}a=this.nextChar()}}};return e}(),Qd={create:function(e){function a(a,b){var c=g.get(a);if(V(c)&&(b?
|
799 |
+
0<=c:0<c))return c;throw Error('The "'+a+'" parameter in the linearization dictionary is invalid.');}var c=new bb(new ta(e),!1,null),b=c.getObj(),d=c.getObj(),f=c.getObj(),g=c.getObj(),h;if(!(V(b)&&V(d)&&da(f,"obj")&&X(g)&&Xa(h=g.get("Linearized"))&&0<h))return null;if((c=a("L"))!==e.length)throw Error('The "L" parameter in the linearization dictionary does not equal the stream length.');return{length:c,hints:function(){var a=g.get("H"),b,c;if(U(a)&&(2===(b=a.length)||4===b)){for(var d=0;d<b;d++)if(!(V(c=
|
800 |
+
a[d])&&0<c))throw Error("Hint ("+d+") in the linearization dictionary is invalid.");return a}throw Error("Hint array in the linearization dictionary is invalid.");}(),objectNumberFirst:a("O"),endFirst:a("E"),numPages:a("N"),mainXRefEntriesOffset:a("T"),pageFirst:g.has("P")?a("P",!0):0}}},be=function(){function e(a){this.lexer=a;this.operators=[];this.prev=this.token=null}e.prototype={nextToken:function(){this.prev=this.token;this.token=this.lexer.getToken()},accept:function(a){return this.token.type===
|
801 |
+
a?(this.nextToken(),!0):!1},expect:function(a){if(this.accept(a))return!0;G("Unexpected symbol: found "+this.token.type+" expected "+a+".")},parse:function(){this.nextToken();this.expect(Ja.LBRACE);this.parseBlock();this.expect(Ja.RBRACE);return this.operators},parseBlock:function(){for(;;)if(this.accept(Ja.NUMBER))this.operators.push(this.prev.value);else if(this.accept(Ja.OPERATOR))this.operators.push(this.prev.value);else if(this.accept(Ja.LBRACE))this.parseCondition();else break},parseCondition:function(){var a=
|
802 |
+
this.operators.length;this.operators.push(null,null);this.parseBlock();this.expect(Ja.RBRACE);if(this.accept(Ja.IF))this.operators[a]=this.operators.length,this.operators[a+1]="jz";else if(this.accept(Ja.LBRACE)){var c=this.operators.length;this.operators.push(null,null);var b=this.operators.length;this.parseBlock();this.expect(Ja.RBRACE);this.expect(Ja.IFELSE);this.operators[c]=this.operators.length;this.operators[c+1]="j";this.operators[a]=b;this.operators[a+1]="jz"}else G("PS Function: error parsing conditional.")}};
|
803 |
+
return e}(),Ja={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5},Ab=function(){function e(a,b){this.type=a;this.value=b}var a={};e.getOperator=function(c){var b=a[c];return b?b:a[c]=new e(Ja.OPERATOR,c)};e.LBRACE=new e(Ja.LBRACE,"{");e.RBRACE=new e(Ja.RBRACE,"}");e.IF=new e(Ja.IF,"IF");e.IFELSE=new e(Ja.IFELSE,"IFELSE");return e}(),ae=function(){function e(a){this.stream=a;this.nextChar();this.strBuf=[]}e.prototype={nextChar:function(){return this.currentChar=this.stream.getByte()},getToken:function(){for(var a=
|
804 |
+
!1,c=this.currentChar;;){if(0>c)return ea;if(a){if(10===c||13===c)a=!1}else if(37===c)a=!0;else if(!ta.isSpace(c))break;c=this.nextChar()}switch(c|0){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new Ab(Ja.NUMBER,this.getNumber());case 123:return this.nextChar(),Ab.LBRACE;case 125:return this.nextChar(),Ab.RBRACE}a=this.strBuf;a.length=0;for(a[0]=String.fromCharCode(c);0<=(c=this.nextChar())&&(65<=c&&90>=c||97<=c&&122>=c);)a.push(String.fromCharCode(c));
|
805 |
+
c=a.join("");switch(c.toLowerCase()){case "if":return Ab.IF;case "ifelse":return Ab.IFELSE;default:return Ab.getOperator(c)}},getNumber:function(){var a=this.currentChar,c=this.strBuf;c.length=0;for(c[0]=String.fromCharCode(a);0<=(a=this.nextChar());)if(48<=a&&57>=a||45===a||46===a)c.push(String.fromCharCode(a));else break;a=parseFloat(c.join(""));isNaN(a)&&G("Invalid floating point number: "+a);return a}};return e}(),xa=function(){function e(a,c,b,d){this.bytes=a instanceof Uint8Array?a:new Uint8Array(a);
|
806 |
+
this.pos=this.start=c||0;this.end=c+b||this.bytes.length;this.dict=d}e.prototype={get length(){return this.end-this.start},get isEmpty(){return 0===this.length},getByte:function(){return this.pos>=this.end?-1:this.bytes[this.pos++]},getUint16:function(){var a=this.getByte(),c=this.getByte();return-1===a||-1===c?-1:(a<<8)+c},getInt32:function(){var a=this.getByte(),c=this.getByte(),b=this.getByte(),d=this.getByte();return(a<<24)+(c<<16)+(b<<8)+d},getBytes:function(a){var c=this.bytes,b=this.pos,d=
|
807 |
+
this.end;if(!a)return c.subarray(b,d);a=b+a;a>d&&(a=d);this.pos=a;return c.subarray(b,a)},peekByte:function(){var a=this.getByte();this.pos--;return a},peekBytes:function(a){a=this.getBytes(a);this.pos-=a.length;return a},skip:function(a){a||(a=1);this.pos+=a},reset:function(){this.pos=this.start},moveStart:function(){this.start=this.pos},makeSubStream:function(a,c,b){return new e(this.bytes.buffer,a,c,b)},isStream:!0};return e}(),Ae=function(){function e(a){for(var c=a.length,b=new Uint8Array(c),
|
808 |
+
d=0;d<c;++d)b[d]=a.charCodeAt(d);xa.call(this,b)}e.prototype=xa.prototype;return e}(),ha=function(){function e(c){this.bufferLength=this.pos=0;this.eof=!1;this.buffer=a;this.minBufferLength=512;if(c)for(;this.minBufferLength<c;)this.minBufferLength*=2}var a=new Uint8Array(0);e.prototype={get isEmpty(){for(;!this.eof&&0===this.bufferLength;)this.readBlock();return 0===this.bufferLength},ensureBuffer:function(a){var b=this.buffer;if(a<=b.byteLength)return b;for(var d=this.minBufferLength;d<a;)d*=2;
|
809 |
+
a=new Uint8Array(d);a.set(b);return this.buffer=a},getByte:function(){for(var a=this.pos;this.bufferLength<=a;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]},getUint16:function(){var a=this.getByte(),b=this.getByte();return-1===a||-1===b?-1:(a<<8)+b},getInt32:function(){var a=this.getByte(),b=this.getByte(),d=this.getByte(),f=this.getByte();return(a<<24)+(b<<16)+(d<<8)+f},getBytes:function(a){var b=this.pos;if(a){this.ensureBuffer(b+a);for(a=b+a;!this.eof&&this.bufferLength<
|
810 |
+
a;)this.readBlock();var d=this.bufferLength;a>d&&(a=d)}else{for(;!this.eof;)this.readBlock();a=this.bufferLength}this.pos=a;return this.buffer.subarray(b,a)},peekByte:function(){var a=this.getByte();this.pos--;return a},peekBytes:function(a){a=this.getBytes(a);this.pos-=a.length;return a},makeSubStream:function(a,b,d){for(var f=a+b;this.bufferLength<=f&&!this.eof;)this.readBlock();return new xa(this.buffer,a,b,d)},skip:function(a){a||(a=1);this.pos+=a},reset:function(){this.pos=0},getBaseStreams:function(){return this.str&&
|
811 |
+
this.str.getBaseStreams?this.str.getBaseStreams():[]}};return e}(),Nd=function(){function e(a){this.streams=a;ha.call(this,null)}e.prototype=Object.create(ha.prototype);e.prototype.readBlock=function(){var a=this.streams;if(0===a.length)this.eof=!0;else{var a=a.shift().getBytes(),c=this.bufferLength,b=c+a.length;this.ensureBuffer(b).set(a,c);this.bufferLength=b}};e.prototype.getBaseStreams=function(){for(var a=[],c=0,b=this.streams.length;c<b;c++){var d=this.streams[c];d.getBaseStreams&&N.appendToArray(a,
|
812 |
+
d.getBaseStreams())}return a};return e}(),Dd=function(){function e(a,b){this.str=a;this.dict=a.dict;var c=a.getByte(),d=a.getByte();-1!==c&&-1!==d||G("Invalid header in flate stream: "+c+", "+d);8!==(c&15)&&G("Unknown compression method in flate stream: "+c+", "+d);0!==((c<<8)+d)%31&&G("Bad FCHECK in flate stream: "+c+", "+d);d&32&&G("FDICT bit set in flate stream: "+c+", "+d);this.codeBuf=this.codeSize=0;ha.call(this,b)}var a=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),c=new Uint32Array([3,
|
813 |
+
4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),b=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),d=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,
|
814 |
+
459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59E4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,
|
815 |
+
459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,
|
816 |
+
459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,
|
817 |
+
459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,
|
818 |
+
459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,
|
819 |
+
459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,
|
820 |
+
459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],f=[new Uint32Array([327680,327696,327688,327704,
|
821 |
+
327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];e.prototype=Object.create(ha.prototype);e.prototype.getBits=function(a){for(var b=this.str,c=this.codeSize,d=this.codeBuf,f;c<a;)-1===(f=b.getByte())&&G("Bad encoding in flate stream"),d|=f<<c,c+=8;this.codeBuf=d>>a;this.codeSize=c-a;return d&(1<<a)-1};e.prototype.getCode=function(a){var b=this.str,c=a[0],d=a[1];
|
822 |
+
a=this.codeSize;for(var f=this.codeBuf,e;a<d&&-1!==(e=b.getByte());)f|=e<<a,a+=8;c=c[f&(1<<d)-1];b=c>>16;c&=65535;(1>b||a<b)&&G("Bad encoding in flate stream");this.codeBuf=f>>b;this.codeSize=a-b;return c};e.prototype.generateHuffmanTable=function(a){var b=a.length,c=0,d;for(d=0;d<b;++d)a[d]>c&&(c=a[d]);for(var f=1<<c,e=new Uint32Array(f),m=1,t=0,v=2;m<=c;++m,t<<=1,v<<=1)for(var q=0;q<b;++q)if(a[q]===m){var p=0,u=t;for(d=0;d<m;++d)p=p<<1|u&1,u>>=1;for(d=p;d<f;d+=v)e[d]=m<<16|q;++t}return[e,c]};e.prototype.readBlock=
|
823 |
+
function(){var g,h;h=this.str;g=this.getBits(3);g&1&&(this.eof=!0);g>>=1;if(0===g){var e;-1===(e=h.getByte())&&G("Bad block header in flate stream");var n=e;-1===(e=h.getByte())&&G("Bad block header in flate stream");n|=e<<8;-1===(e=h.getByte())&&G("Bad block header in flate stream");g=e;-1===(e=h.getByte())&&G("Bad block header in flate stream");g|=e<<8;g===(~n&65535)||0===n&&0===g||G("Bad uncompressed block length in flate stream");this.codeSize=this.codeBuf=0;e=this.bufferLength;g=this.ensureBuffer(e+
|
824 |
+
n);var k=e+n;this.bufferLength=k;if(0===n)-1===h.peekByte()&&(this.eof=!0);else for(n=e;n<k;++n){if(-1===(e=h.getByte())){this.eof=!0;break}g[n]=e}}else{if(1===g)e=d,n=f;else if(2===g){g=this.getBits(5)+257;k=this.getBits(5)+1;h=this.getBits(4)+4;n=new Uint8Array(a.length);for(e=0;e<h;++e)n[a[e]]=this.getBits(3);n=this.generateHuffmanTable(n);e=h=0;for(var k=g+k,r=new Uint8Array(k),m,t,v;e<k;){v=this.getCode(n);if(16===v)m=2,t=3,v=h;else if(17===v)t=m=3,v=h=0;else if(18===v)m=7,t=11,v=h=0;else{r[e++]=
|
825 |
+
h=v;continue}for(m=this.getBits(m)+t;0<m--;)r[e++]=v}e=this.generateHuffmanTable(r.subarray(0,g));n=this.generateHuffmanTable(r.subarray(g,k))}else G("Unknown block type in flate stream");k=(g=this.buffer)?g.length:0;for(r=this.bufferLength;;)if(v=this.getCode(e),256>v)r+1>=k&&(g=this.ensureBuffer(r+1),k=g.length),g[r++]=v;else{if(256===v){this.bufferLength=r;break}v-=257;v=c[v];m=v>>16;0<m&&(m=this.getBits(m));h=(v&65535)+m;v=this.getCode(n);v=b[v];m=v>>16;0<m&&(m=this.getBits(m));v=(v&65535)+m;
|
826 |
+
r+h>=k&&(g=this.ensureBuffer(r+h),k=g.length);for(m=0;m<h;++m,++r)g[r]=g[r-v]}}};return e}(),Cd=function(){function e(a,c,b){var d=this.predictor=b.get("Predictor")||1;if(1>=d)return a;2!==d&&(10>d||15<d)&&G("Unsupported predictor: "+d);this.readBlock=2===d?this.readBlockTiff:this.readBlockPng;this.str=a;this.dict=a.dict;a=this.colors=b.get("Colors")||1;d=this.bits=b.get("BitsPerComponent")||8;b=this.columns=b.get("Columns")||1;this.pixBytes=a*d+7>>3;this.rowBytes=b*a*d+7>>3;ha.call(this,c);return this}
|
827 |
+
e.prototype=Object.create(ha.prototype);e.prototype.readBlockTiff=function(){var a=this.rowBytes,c=this.bufferLength,b=this.ensureBuffer(c+a),d=this.bits,f=this.colors,g=this.str.getBytes(a);this.eof=!g.length;if(!this.eof){var h=0,e=0,n=0,k=0,r=c;if(1===d)for(c=0;c<a;++c)d=g[c],h=h<<8|d,b[r++]=(d^h>>f)&255,h&=65535;else if(8===d){for(c=0;c<f;++c)b[r++]=g[c];for(;c<a;++c)b[r]=b[r-f]+g[c],r++}else{for(var r=new Uint8Array(f+1),m=(1<<d)-1,t=0,v=c,q=this.columns,c=0;c<q;++c)for(var p=0;p<f;++p)n<d&&
|
828 |
+
(h=h<<8|g[t++]&255,n+=8),r[p]=r[p]+(h>>n-d)&m,n-=d,e=e<<d|r[p],k+=d,8<=k&&(b[v++]=e>>k-8&255,k-=8);0<k&&(b[v++]=(e<<8-k)+(h&(1<<8-k)-1))}this.bufferLength+=a}};e.prototype.readBlockPng=function(){var a=this.rowBytes,c=this.pixBytes,b=this.str.getByte(),d=this.str.getBytes(a);this.eof=!d.length;if(!this.eof){var f=this.bufferLength,g=this.ensureBuffer(f+a),e=g.subarray(f-a,f);0===e.length&&(e=new Uint8Array(a));var l,n;switch(b){case 0:for(b=0;b<a;++b)g[f++]=d[b];break;case 1:for(b=0;b<c;++b)g[f++]=
|
829 |
+
d[b];for(;b<a;++b)g[f]=g[f-c]+d[b]&255,f++;break;case 2:for(b=0;b<a;++b)g[f++]=e[b]+d[b]&255;break;case 3:for(b=0;b<c;++b)g[f++]=(e[b]>>1)+d[b];for(;b<a;++b)g[f]=(e[b]+g[f-c]>>1)+d[b]&255,f++;break;case 4:for(b=0;b<c;++b)l=e[b],n=d[b],g[f++]=l+n;for(;b<a;++b){l=e[b];var k=e[b-c],r=g[f-c];n=r+l-k;var m=n-r;0>m&&(m=-m);var t=n-l;0>t&&(t=-t);var v=n-k;0>v&&(v=-v);n=d[b];m<=t&&m<=v?g[f++]=r+n:t<=v?g[f++]=l+n:g[f++]=k+n}break;default:G("Unsupported predictor: "+b)}this.bufferLength+=a}};return e}(),tb=
|
830 |
+
function(){function e(a,c,b,d){for(;-1!==(d=a.getByte());)if(255===d){a.skip(-1);break}this.stream=a;this.maybeLength=c;this.dict=b;ha.call(this,c)}e.prototype=Object.create(ha.prototype);Object.defineProperty(e.prototype,"bytes",{get:function(){return fa(this,"bytes",this.stream.getBytes(this.maybeLength))},configurable:!0});e.prototype.ensureBuffer=function(a){if(!this.bufferLength)try{var c=new Ne;if(this.forceRGB&&this.dict&&U(this.dict.get("Decode"))){var b=this.dict.get("Decode"),d=this.dict.get("BitsPerComponent")||
|
831 |
+
8,f=b.length,e=new Int32Array(f);a=!1;for(var d=(1<<d)-1,h=0;h<f;h+=2)if(e[h]=256*(b[h+1]-b[h])|0,e[h+1]=b[h]*d|0,256!==e[h]||0!==e[h+1])a=!0;a&&(c.decodeTransform=e)}c.parse(this.bytes);var l=c.getData(this.drawWidth,this.drawHeight,this.forceRGB);this.buffer=l;this.bufferLength=l.length;this.eof=!0}catch(n){G("JPEG error: "+n)}};e.prototype.getBytes=function(a){this.ensureBuffer();return this.buffer};e.prototype.getIR=function(){return PDFJS.createObjectURL(this.bytes,"image/jpeg")};e.prototype.isNativelySupported=
|
832 |
+
function(a,c){var b=Q.parse(this.dict.get("ColorSpace","CS"),a,c);return"DeviceGray"===b.name||"DeviceRGB"===b.name};e.prototype.isNativelyDecodable=function(a,c){var b=Q.parse(this.dict.get("ColorSpace","CS"),a,c).numComps;return 1===b||3===b};return e}(),He=function(){function e(a,c,b){this.stream=a;this.maybeLength=c;this.dict=b;ha.call(this,c)}e.prototype=Object.create(ha.prototype);Object.defineProperty(e.prototype,"bytes",{get:function(){return fa(this,"bytes",this.stream.getBytes(this.maybeLength))},
|
833 |
+
configurable:!0});e.prototype.ensureBuffer=function(a){if(!this.bufferLength){a=new Bd;a.parse(this.bytes);var c=a.width,b=a.height,d=a.componentsCount,f=a.tiles.length;if(1===f)this.buffer=a.tiles[0].items;else{for(var b=new Uint8Array(c*b*d),e=0;e<f;e++)for(var h=a.tiles[e],l=h.height,n=h.items,k=0,r=(c*h.top+h.left)*d,m=c*d,h=h.width*d,t=0;t<l;t++){var v=n.subarray(k,k+h);b.set(v,r);k+=h;r+=m}this.buffer=b}this.bufferLength=this.buffer.length;this.eof=!0}};return e}(),Me=function(){function e(a,
|
834 |
+
c,b){this.stream=a;this.maybeLength=c;this.dict=b;ha.call(this,c)}e.prototype=Object.create(ha.prototype);Object.defineProperty(e.prototype,"bytes",{get:function(){return fa(this,"bytes",this.stream.getBytes(this.maybeLength))},configurable:!0});e.prototype.ensureBuffer=function(a){if(!this.bufferLength){a=new Oe;var c=[],b=this.dict.xref,d=b.fetchIfRef(this.dict.get("DecodeParms"));U(d)&&(1<d.length&&L("JBIG2 - 'DecodeParms' array with multiple elements not supported."),d=b.fetchIfRef(d[0]));d&&
|
835 |
+
d.has("JBIG2Globals")&&(b=d.get("JBIG2Globals").getBytes(),c.push({data:b,start:0,end:b.length}));c.push({data:this.bytes,start:0,end:this.bytes.length});a=a.parseChunks(c);c=a.length;for(b=0;b<c;b++)a[b]^=255;this.buffer=a;this.bufferLength=c;this.eof=!0}};return e}(),re=function(){function e(a,c,b){this.str=a;this.dict=a.dict;this.decrypt=b;this.nextChunk=null;this.initialized=!1;ha.call(this,c)}e.prototype=Object.create(ha.prototype);e.prototype.readBlock=function(){var a;this.initialized?a=this.nextChunk:
|
836 |
+
(a=this.str.getBytes(512),this.initialized=!0);if(a&&0!==a.length){this.nextChunk=this.str.getBytes(512);var c=this.decrypt;a=c(a,!(this.nextChunk&&0<this.nextChunk.length));var c=this.bufferLength,b,d=a.length,f=this.ensureBuffer(c+d);for(b=0;b<d;b++)f[c++]=a[b];this.bufferLength=c}else this.eof=!0};return e}(),Ie=function(){function e(a,c){this.str=a;this.dict=a.dict;this.input=new Uint8Array(5);c&&(c*=.8);ha.call(this,c)}e.prototype=Object.create(ha.prototype);e.prototype.readBlock=function(){for(var a=
|
837 |
+
this.str,c=a.getByte();ta.isSpace(c);)c=a.getByte();if(-1===c||126===c)this.eof=!0;else{var b=this.bufferLength,d;if(122===c){a=this.ensureBuffer(b+4);for(d=0;4>d;++d)a[b+d]=0;this.bufferLength+=4}else{var f=this.input;f[0]=c;for(d=1;5>d;++d){for(c=a.getByte();ta.isSpace(c);)c=a.getByte();f[d]=c;if(-1===c||126===c)break}a=this.ensureBuffer(b+d-1);this.bufferLength+=d-1;if(5>d){for(;5>d;++d)f[d]=117;this.eof=!0}for(d=c=0;5>d;++d)c=85*c+(f[d]-33);for(d=3;0<=d;--d)a[b+d]=c&255,c>>=8}}};return e}(),Je=
|
838 |
+
function(){function e(a,c){this.str=a;this.dict=a.dict;this.firstDigit=-1;c&&(c*=.5);ha.call(this,c)}e.prototype=Object.create(ha.prototype);e.prototype.readBlock=function(){var a=this.str.getBytes(8E3);if(a.length){for(var c=this.ensureBuffer(this.bufferLength+(a.length+1>>1)),b=this.bufferLength,d=this.firstDigit,f=0,e=a.length;f<e;f++){var h=a[f];if(48<=h&&57>=h)h&=15;else if(65<=h&&70>=h||97<=h&&102>=h)h=(h&15)+9;else if(62===h){this.eof=!0;break}else continue;0>d?d=h:(c[b++]=d<<4|h,d=-1)}0<=
|
839 |
+
d&&this.eof&&(c[b++]=d<<4,d=-1);this.firstDigit=d;this.bufferLength=b}else this.eof=!0};return e}(),Le=function(){function e(a,c){this.str=a;this.dict=a.dict;ha.call(this,c)}e.prototype=Object.create(ha.prototype);e.prototype.readBlock=function(){var a=this.str.getBytes(2);if(!a||2>a.length||128===a[0])this.eof=!0;else{var c,b=this.bufferLength,d=a[0];if(128>d)c=this.ensureBuffer(b+d+1),c[b++]=a[1],0<d&&(a=this.str.getBytes(d),c.set(a,b),b+=d);else{d=257-d;a=a[1];c=this.ensureBuffer(b+d+1);for(var f=
|
840 |
+
0;f<d;f++)c[b++]=a}this.bufferLength=b}};return e}(),Ke=function(){function e(a,b,c){this.str=a;this.dict=a.dict;c=c||Ga.empty;this.encoding=c.get("K")||0;this.eoline=c.get("EndOfLine")||!1;this.byteAlign=c.get("EncodedByteAlign")||!1;this.columns=c.get("Columns")||1728;this.rows=c.get("Rows")||0;a=c.get("EndOfBlock");if(null===a||void 0===a)a=!0;this.eoblock=a;this.black=c.get("BlackIs1")||!1;this.codingLine=new Uint32Array(this.columns+1);this.refLine=new Uint32Array(this.columns+2);this.codingLine[0]=
|
841 |
+
this.columns;this.row=this.codingPos=0;this.nextLine2D=0>this.encoding;for(this.outputBits=this.inputBuf=this.inputBits=0;0===(c=this.lookBits(12));)this.eatBits(1);1===c&&this.eatBits(12);0<this.encoding&&(this.nextLine2D=!this.lookBits(1),this.eatBits(1));ha.call(this,b)}var a=[[-1,-1],[-1,-1],[7,8],[7,7],[6,6],[6,6],[6,5],[6,5],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],
|
842 |
+
[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,
|
843 |
+
2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2]],c=[[-1,-1],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],b=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,
|
844 |
+
47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,
|
845 |
+
21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],
|
846 |
+
[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,
|
847 |
+
2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],
|
848 |
+
[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],
|
849 |
+
[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,
|
850 |
+
6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],d=[[-1,-1],[-1,-1],[12,-2],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],
|
851 |
+
[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],
|
852 |
+
[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],f=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],
|
853 |
+
[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],
|
854 |
+
[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,
|
855 |
+
39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],g=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,
|
856 |
+
3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]];e.prototype=Object.create(ha.prototype);e.prototype.readBlock=function(){for(;!this.eof;){var a=this.lookChar();this.ensureBuffer(this.bufferLength+1);this.buffer[this.bufferLength++]=a}};e.prototype.addPixels=function(a,b){var c=this.codingLine,d=this.codingPos;a>c[d]&&(a>this.columns&&(R("row is wrong length"),this.err=
|
857 |
+
!0,a=this.columns),d&1^b&&++d,c[d]=a);this.codingPos=d};e.prototype.addPixelsNeg=function(a,b){var c=this.codingLine,d=this.codingPos;if(a>c[d])a>this.columns&&(R("row is wrong length"),this.err=!0,a=this.columns),d&1^b&&++d,c[d]=a;else if(a<c[d]){0>a&&(R("invalid code"),this.err=!0,a=0);for(;0<d&&a<c[d-1];)--d;c[d]=a}this.codingPos=d};e.prototype.lookChar=function(){var a=this.refLine,b=this.codingLine,c=this.columns,d,f,e;if(0===this.outputBits){if(this.eof)return null;this.err=!1;var g,v;if(this.nextLine2D){for(d=
|
858 |
+
0;b[d]<c;++d)a[d]=b[d];a[d++]=c;a[d]=c;for(f=d=this.codingPos=b[0]=0;b[this.codingPos]<c;)switch(e=this.getTwoDimCode(),e){case 0:this.addPixels(a[d+1],f);a[d+1]<c&&(d+=2);break;case 1:e=g=0;if(f){do e+=v=this.getBlackCode();while(64<=v);do g+=v=this.getWhiteCode();while(64<=v)}else{do e+=v=this.getWhiteCode();while(64<=v);do g+=v=this.getBlackCode();while(64<=v)}this.addPixels(b[this.codingPos]+e,f);for(b[this.codingPos]<c&&this.addPixels(b[this.codingPos]+g,f^1);a[d]<=b[this.codingPos]&&a[d]<c;)d+=
|
859 |
+
2;break;case 7:this.addPixels(a[d]+3,f);f^=1;if(b[this.codingPos]<c)for(++d;a[d]<=b[this.codingPos]&&a[d]<c;)d+=2;break;case 5:this.addPixels(a[d]+2,f);f^=1;if(b[this.codingPos]<c)for(++d;a[d]<=b[this.codingPos]&&a[d]<c;)d+=2;break;case 3:this.addPixels(a[d]+1,f);f^=1;if(b[this.codingPos]<c)for(++d;a[d]<=b[this.codingPos]&&a[d]<c;)d+=2;break;case 2:this.addPixels(a[d],f);f^=1;if(b[this.codingPos]<c)for(++d;a[d]<=b[this.codingPos]&&a[d]<c;)d+=2;break;case 8:this.addPixelsNeg(a[d]-3,f);f^=1;if(b[this.codingPos]<
|
860 |
+
c)for(0<d?--d:++d;a[d]<=b[this.codingPos]&&a[d]<c;)d+=2;break;case 6:this.addPixelsNeg(a[d]-2,f);f^=1;if(b[this.codingPos]<c)for(0<d?--d:++d;a[d]<=b[this.codingPos]&&a[d]<c;)d+=2;break;case 4:this.addPixelsNeg(a[d]-1,f);f^=1;if(b[this.codingPos]<c)for(0<d?--d:++d;a[d]<=b[this.codingPos]&&a[d]<c;)d+=2;break;case ea:this.addPixels(c,0);this.eof=!0;break;default:R("bad 2d code"),this.addPixels(c,0),this.err=!0}}else for(f=this.codingPos=b[0]=0;b[this.codingPos]<c;){e=0;if(f){do e+=v=this.getBlackCode();
|
861 |
+
while(64<=v)}else{do e+=v=this.getWhiteCode();while(64<=v)}this.addPixels(b[this.codingPos]+e,f);f^=1}a=!1;if(this.eoblock||this.row!==this.rows-1){e=this.lookBits(12);if(this.eoline)for(;e!==ea&&1!==e;)this.eatBits(1),e=this.lookBits(12);else for(;0===e;)this.eatBits(1),e=this.lookBits(12);1===e?(this.eatBits(12),a=!0):e===ea&&(this.eof=!0)}else this.eof=!0;this.byteAlign&&!a&&(this.inputBits&=-8);!this.eof&&0<this.encoding&&(this.nextLine2D=!this.lookBits(1),this.eatBits(1));if(this.eoblock&&a&&
|
862 |
+
this.byteAlign){if(e=this.lookBits(12),1===e){this.eatBits(12);0<this.encoding&&(this.lookBits(1),this.eatBits(1));if(0<=this.encoding)for(d=0;4>d;++d)e=this.lookBits(12),1!==e&&R("bad rtc code: "+e),this.eatBits(12),0<this.encoding&&(this.lookBits(1),this.eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){e=this.lookBits(13);if(e===ea)return this.eof=!0,null;if(1===e>>1)break;this.eatBits(1)}this.eatBits(12);0<this.encoding&&(this.eatBits(1),this.nextLine2D=!(e&1))}this.outputBits=0<
|
863 |
+
b[0]?b[this.codingPos=0]:b[this.codingPos=1];this.row++}if(8<=this.outputBits)a=this.codingPos&1?0:255,this.outputBits-=8,0===this.outputBits&&b[this.codingPos]<c&&(this.codingPos++,this.outputBits=b[this.codingPos]-b[this.codingPos-1]);else{e=8;a=0;do this.outputBits>e?(a<<=e,this.codingPos&1||(a|=255>>8-e),this.outputBits-=e,e=0):(a<<=this.outputBits,this.codingPos&1||(a|=255>>8-this.outputBits),e-=this.outputBits,this.outputBits=0,b[this.codingPos]<c?(this.codingPos++,this.outputBits=b[this.codingPos]-
|
864 |
+
b[this.codingPos-1]):0<e&&(a<<=e,e=0));while(e)}this.black&&(a^=255);return a};e.prototype.findTableCode=function(a,b,c,d){for(d=d||0;a<=b;++a){var f=this.lookBits(a);if(f===ea)return[!0,1,!1];a<b&&(f<<=b-a);if(!d||f>=d)if(f=c[f-d],f[0]===a)return this.eatBits(a),[!0,f[1],!0]}return[!1,0,!1]};e.prototype.getTwoDimCode=function(){var b=0;if(this.eoblock){if(b=this.lookBits(7),(b=a[b])&&0<b[0])return this.eatBits(b[0]),b[1]}else if(b=this.findTableCode(1,7,a),b[0]&&b[2])return b[1];R("Bad two dim code");
|
865 |
+
return ea};e.prototype.getWhiteCode=function(){var a=0;if(this.eoblock){a=this.lookBits(12);if(a===ea)return 1;a=0===a>>5?c[a]:b[a>>3];if(0<a[0])return this.eatBits(a[0]),a[1]}else{a=this.findTableCode(1,9,b);if(a[0])return a[1];a=this.findTableCode(11,12,c);if(a[0])return a[1]}R("bad white code");this.eatBits(1);return 1};e.prototype.getBlackCode=function(){var a;if(this.eoblock){a=this.lookBits(13);if(a===ea)return 1;a=0===a>>7?d[a]:0===a>>9&&0!==a>>7?f[(a>>1)-64]:g[a>>7];if(0<a[0])return this.eatBits(a[0]),
|
866 |
+
a[1]}else{a=this.findTableCode(2,6,g);if(a[0])return a[1];a=this.findTableCode(7,12,f,64);if(a[0])return a[1];a=this.findTableCode(10,13,d);if(a[0])return a[1]}R("bad black code");this.eatBits(1);return 1};e.prototype.lookBits=function(a){for(var b;this.inputBits<a;){if(-1===(b=this.str.getByte()))return 0===this.inputBits?ea:this.inputBuf<<a-this.inputBits&65535>>16-a;this.inputBuf=(this.inputBuf<<8)+b;this.inputBits+=8}return this.inputBuf>>this.inputBits-a&65535>>16-a};e.prototype.eatBits=function(a){0>
|
867 |
+
(this.inputBits-=a)&&(this.inputBits=0)};return e}(),Ed=function(){function e(a,c,b){this.str=a;this.dict=a.dict;this.bitsCached=this.cachedData=0;a={earlyChange:b,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(4096),dictionaryLengths:new Uint16Array(4096),dictionaryPrevCodes:new Uint16Array(4096),currentSequence:new Uint8Array(4096),currentSequenceLength:0};for(b=0;256>b;++b)a.dictionaryValues[b]=b,a.dictionaryLengths[b]=1;this.lzwState=a;ha.call(this,c)}e.prototype=Object.create(ha.prototype);
|
868 |
+
e.prototype.readBits=function(a){for(var c=this.bitsCached,b=this.cachedData;c<a;){var d=this.str.getByte();if(-1===d)return this.eof=!0,null;b=b<<8|d;c+=8}this.bitsCached=c-=a;this.cachedData=b;this.lastCode=null;return b>>>c&(1<<a)-1};e.prototype.readBlock=function(){var a=1024,c,b,d,f=this.lzwState;if(f){var e=f.earlyChange,h=f.nextCode,l=f.dictionaryValues,n=f.dictionaryLengths,k=f.dictionaryPrevCodes,r=f.codeLength,m=f.prevCode,t=f.currentSequence,v=f.currentSequenceLength,q=0,p=this.bufferLength,
|
869 |
+
u=this.ensureBuffer(this.bufferLength+a);for(c=0;512>c;c++){var w=this.readBits(r),y=0<v;if(256>w)t[0]=w,v=1;else if(258<=w)if(w<h)for(v=n[w],b=v-1,d=w;0<=b;b--)t[b]=l[d],d=k[d];else t[v++]=t[0];else if(256===w){r=9;h=258;v=0;continue}else{this.eof=!0;delete this.lzwState;break}y&&(k[h]=m,n[h]=n[m]+1,l[h]=t[0],h++,r=h+e&h+e-1?r:Math.min(Math.log(h+e)/.6931471805599453+1,12)|0);m=w;q+=v;if(a<q){do a+=512;while(a<q);u=this.ensureBuffer(this.bufferLength+a)}for(b=0;b<v;b++)u[p++]=t[b]}f.nextCode=h;f.codeLength=
|
870 |
+
r;f.prevCode=m;f.currentSequenceLength=v;this.bufferLength=p}};return e}(),pc=function(){function e(){xa.call(this,new Uint8Array(0))}e.prototype=xa.prototype;return e}(),Pe=PDFJS.WorkerMessageHandler={setup:function(e){function a(a){var c=La(),e=function(){var a=b.ensureDoc("numPages"),d=b.ensureDoc("fingerprint"),e=b.ensureXRef("encrypt");Promise.all([a,d,e]).then(function(a){c.resolve({numPages:a[0],fingerprint:a[1],encrypted:!!a[2]})},h)},h=function(a){c.reject(a)};b.ensureDoc("checkHeader",[]).then(function(){b.ensureDoc("parseStartXRef",
|
871 |
+
[]).then(function(){b.ensureDoc("parse",[a]).then(e,h)},h)},h);return c.promise}function c(a){var c=La(),g=a.source,h=a.disableRange;if(g.data){try{b=new Nc(g.data,g.password),c.resolve()}catch(l){c.reject(l)}return c.promise}if(g.chunkedViewerLoading){try{b=new Oc(g,e),c.resolve()}catch(n){c.reject(n)}return c.promise}var k=new Jc(g.url,{httpHeaders:g.httpHeaders,withCredentials:g.withCredentials}),r=[],m=k.requestFull({onHeadersReceived:function(){if(!h){var a=k.getRequestXhr(m);if("bytes"===a.getResponseHeader("Accept-Ranges")&&
|
872 |
+
"identity"===(a.getResponseHeader("Content-Encoding")||"identity")){var d=a.getResponseHeader("Content-Length"),d=parseInt(d,10);206===a.status&&(d=(d=(d=a.getResponseHeader("Content-Range"))&&/bytes \d+-\d+\/(\d+)/.exec(d))&&parseInt(d[1],10));if(V(d)&&(g.length=d,!(131072>=d))){k.isStreamingRequest(m)?g.disableAutoFetch=!0:k.abortRequest(m);try{b=new Oc(g,e),c.resolve(b)}catch(l){c.reject(l)}}}}},onProgressiveData:g.disableStream?null:function(a){b?b.sendProgressiveData(a):r.push(a)},onDone:function(a){if(!b){if(null===
|
873 |
+
a){var d=0,e=0;r.forEach(function(a){d+=a.byteLength});g.length&&d!==g.length&&L("reported HTTP length is different from actual");var h=new Uint8Array(d);r.forEach(function(a){h.set(new Uint8Array(a),e);e+=a.byteLength});a=h.buffer}else a=a.chunk;try{b=new Nc(a,g.password),c.resolve()}catch(l){c.reject(l)}}},onError:function(a){404===a?(a=new Wb('Missing PDF "'+g.url+'".'),e.send("MissingPDF",a)):(a=new oc("Unexpected server response ("+a+') while retrieving PDF "'+g.url+'".',a),e.send("UnexpectedResponse",
|
874 |
+
a))},onProgress:function(a){e.send("DocProgress",{loaded:a.loaded,total:a.lengthComputable?a.total:g.length})}});return c.promise}var b;e.on("test",function(a){a instanceof Uint8Array?(a=255===a[0],e.postMessageTransfers=a,"response"in new XMLHttpRequest?e.send("test",{supportTypedArray:!0,supportTransfers:a}):e.send("test",!1)):e.send("test",!1)});e.on("GetDocRequest",function(d){var f=function(a){e.send("GetDoc",{pdfInfo:a})},g=function(a){a instanceof Ib?a.code===Vb.NEED_PASSWORD?e.send("NeedPassword",
|
875 |
+
a):a.code===Vb.INCORRECT_PASSWORD&&e.send("IncorrectPassword",a):a instanceof Jb?e.send("InvalidPDF",a):a instanceof Wb?e.send("MissingPDF",a):a instanceof oc?e.send("UnexpectedResponse",a):e.send("UnknownError",new Hc(a.message,a.toString()))};PDFJS.maxImageSize=void 0===d.maxImageSize?-1:d.maxImageSize;PDFJS.disableFontFace=d.disableFontFace;PDFJS.disableCreateObjectURL=d.disableCreateObjectURL;PDFJS.verbosity=d.verbosity;PDFJS.cMapUrl=void 0===d.cMapUrl?null:d.cMapUrl;PDFJS.cMapPacked=!0===d.cMapPacked;
|
876 |
+
c(d).then(function(){e.send("PDFManagerReady",null);b.onLoadedStream().then(function(a){e.send("DataLoaded",{length:a.bytes.byteLength})})}).then(function l(){a(!1).then(f,function(c){c instanceof Ic?(b.requestLoadedStream(),b.onLoadedStream().then(function(){a(!0).then(f,g)})):(c instanceof Ib&&b.passwordChanged().then(l),g(c))},g)},g)});e.on("GetPage",function(a){return b.getPage(a.pageIndex).then(function(a){var c=b.ensure(a,"rotate"),d=b.ensure(a,"ref");a=b.ensure(a,"view");return Promise.all([c,
|
877 |
+
d,a]).then(function(a){return{rotate:a[0],ref:a[1],view:a[2]}})})});e.on("GetPageIndex",function(a){a=new Ub(a.ref.num,a.ref.gen);return b.pdfDocument.catalog.getPageIndex(a)});e.on("GetDestinations",function(a){return b.ensureCatalog("destinations")});e.on("GetDestination",function(a){return b.ensureCatalog("getDestination",[a.id])});e.on("GetAttachments",function(a){return b.ensureCatalog("attachments")});e.on("GetJavaScript",function(a){return b.ensureCatalog("javaScript")});e.on("GetOutline",
|
878 |
+
function(a){return b.ensureCatalog("documentOutline")});e.on("GetMetadata",function(a){return Promise.all([b.ensureDoc("documentInfo"),b.ensureCatalog("metadata")])});e.on("GetData",function(a){b.requestLoadedStream();return b.onLoadedStream().then(function(a){return a.bytes})});e.on("GetStats",function(a){return b.pdfDocument.xref.stats});e.on("UpdatePassword",function(a){b.updatePassword(a)});e.on("GetAnnotations",function(a){return b.getPage(a.pageIndex).then(function(a){return b.ensure(a,"getAnnotationsData",
|
879 |
+
[])})});e.on("RenderPageRequest",function(a){b.getPage(a.pageIndex).then(function(b){var c=a.pageIndex+1,h=Date.now();b.getOperatorList(e,a.intent).then(function(a){R("page="+c+" - getOperatorList: time="+(Date.now()-h)+"ms, len="+a.fnArray.length)},function(b){e.send("PageError",{pageNum:c,error:"string"===typeof b?{message:b,stack:"worker.js: while trying to getPage() and getOperatorList()"}:"object"===typeof b?{message:b.message||b.toString(),stack:b.stack||"worker.js: while trying to getPage() and getOperatorList()"}:
|
880 |
+
{message:"Unknown exception type: "+typeof b,stack:"worker.js: while trying to getPage() and getOperatorList()"},intent:a.intent})})})},this);e.on("GetTextContent",function(a){return b.getPage(a.pageIndex).then(function(b){var c=a.pageIndex+1,e=Date.now();return b.extractTextContent().then(function(a){R("text indexing: page="+c+" - time="+(Date.now()-e)+"ms");return a})})});e.on("Cleanup",function(a){return b.cleanup()});e.on("Terminate",function(a){b.terminate()})}},Fd={},Qe={log:function(){var e=
|
881 |
+
Array.prototype.slice.call(arguments);ga.postMessage({action:"console_log",data:e})},error:function(){var e=Array.prototype.slice.call(arguments);ga.postMessage({action:"console_error",data:e});throw"pdf.js execution error";},time:function(e){Fd[e]=Date.now()},timeEnd:function(e){var a=Fd[e];a||G("Unknown timer name "+e);this.log("Timer:",e,Date.now()-a)}};if("undefined"===typeof window){"console"in ga||(ga.console=Qe);PDFJS.UnsupportedManager.listen(function(e){ga.postMessage({action:"_unsupported_feature",
|
882 |
+
data:e})});var Re=new lc("worker_processor",this);Pe.setup(Re)}var Gd=function(){function e(a,b,d){this.data=a;this.bp=b;this.dataEnd=d;this.chigh=a[b];this.clow=0;this.byteIn();this.chigh=this.chigh<<7&65535|this.clow>>9&127;this.clow=this.clow<<7&65535;this.ct-=7;this.a=32768}var a=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},
|
883 |
+
{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},
|
884 |
+
{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},
|
885 |
+
{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,
|
886 |
+
nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}];e.prototype={byteIn:function(){var a=this.data,b=this.bp;255===a[b]?143<a[b+1]?(this.clow+=65280,this.ct=8):(b++,this.clow+=a[b]<<9,this.ct=7,this.bp=b):(b++,this.clow+=b<this.dataEnd?a[b]<<8:65280,this.ct=8,this.bp=b);65535<this.clow&&(this.chigh+=this.clow>>16,this.clow&=65535)},readBit:function(c,b){var d=c[b]>>1,f=c[b]&1,d=a[d],e=d.qe,h=this.a-e;if(this.chigh<e)h<e?(h=e,e=f,d=d.nmps):(h=e,e=1^f,1===d.switchFlag&&(f=e),d=d.nlps);else{this.chigh-=
|
887 |
+
e;if(0!==(h&32768))return this.a=h,f;h<e?(e=1^f,1===d.switchFlag&&(f=e),d=d.nlps):(e=f,d=d.nmps)}do 0===this.ct&&this.byteIn(),h<<=1,this.chigh=this.chigh<<1&65535|this.clow>>15&1,this.clow=this.clow<<1&65535,this.ct--;while(0===(h&32768));this.a=h;c[b]=d<<1|f;return e}};return e}(),Ne=function(){function e(){}function a(a,b){for(var c=0,d=[],f,e,m=16;0<m&&!a[m-1];)m--;d.push({children:[],index:0});var t=d[0],v;for(f=0;f<m;f++){for(e=0;e<a[f];e++){t=d.pop();for(t.children[t.index]=b[c];0<t.index;)t=
|
888 |
+
d.pop();t.index++;for(d.push(t);d.length<=f;)d.push(v={children:[],index:0}),t.children[t.index]=v.children,t=v;c++}f+1<m&&(d.push(v={children:[],index:0}),t.children[t.index]=v.children,t=v)}return d[0].children}function c(a,b,c,d,e,r,m,t,v){function q(){if(0<I)return I--,J>>I&1;J=a[b++];if(255===J){var c=a[b++];if(c)throw"unexpected marker: "+(J<<8|c).toString(16);}I=7;return J>>>7}function p(a){for(;;){a=a[q()];if("number"===typeof a)return a;if("object"!==typeof a)throw"invalid huffman sequence";
|
889 |
+
}}function u(a){for(var b=0;0<a;)b=b<<1|q(),a--;return b}function w(a){if(1===a)return 1===q()?1:-1;var b=u(a);return b>=1<<a-1?b:b+(-1<<a)+1}function y(a,b){var c=p(a.huffmanTableDC),c=0===c?0:w(c);a.blockData[b]=a.pred+=c;for(c=1;64>c;){var d=p(a.huffmanTableAC),e=d&15,d=d>>4;if(0===e){if(15>d)break;c+=16}else c+=d,a.blockData[b+f[c]]=w(e),c++}}function C(a,b){var c=p(a.huffmanTableDC),c=0===c?0:w(c)<<v;a.blockData[b]=a.pred+=c}function F(a,b){a.blockData[b]|=q()<<v}function E(a,b){if(0<O)O--;else for(var c=
|
890 |
+
r;c<=m;){var d=p(a.huffmanTableAC),e=d&15,d=d>>4;if(0===e){if(15>d){O=u(d)+(1<<d)-1;break}c+=16}else c+=d,a.blockData[b+f[c]]=w(e)*(1<<v),c++}}function A(a,b){for(var c=r,d=0,e;c<=m;){e=f[c];switch(M){case 0:d=p(a.huffmanTableAC);e=d&15;d>>=4;if(0===e)15>d?(O=u(d)+(1<<d),M=4):(d=16,M=1);else{if(1!==e)throw"invalid ACn encoding";x=w(e);M=d?2:3}continue;case 1:case 2:a.blockData[b+e]?a.blockData[b+e]+=q()<<v:(d--,0===d&&(M=2===M?3:0));break;case 3:a.blockData[b+e]?a.blockData[b+e]+=q()<<v:(a.blockData[b+
|
891 |
+
e]=x<<v,M=0);break;case 4:a.blockData[b+e]&&(a.blockData[b+e]+=q()<<v)}c++}4===M&&(O--,0===O&&(M=0))}var H=c.mcusPerLine,B=b,J=0,I=0,O=0,M=0,x,K=d.length,G,z,ka,D,L;t=c.progressive?0===r?0===t?C:F:0===t?E:A:y;var Va=0;c=1===K?d[0].blocksPerLine*d[0].blocksPerColumn:H*c.mcusPerColumn;e||(e=c);for(var T,ya;Va<c;){for(z=0;z<K;z++)d[z].pred=0;O=0;if(1===K)for(G=d[0],L=0;L<e;L++)t(G,64*((G.blocksPerLine+1)*(Va/G.blocksPerLine|0)+Va%G.blocksPerLine)),Va++;else for(L=0;L<e;L++){for(z=0;z<K;z++)for(G=d[z],
|
892 |
+
T=G.h,ya=G.v,ka=0;ka<ya;ka++)for(D=0;D<T;D++)t(G,64*((G.blocksPerLine+1)*((Va/H|0)*G.v+ka)+(Va%H*G.h+D)));Va++}I=0;G=a[b]<<8|a[b+1];if(65280>=G)throw"marker was not found";if(65488<=G&&65495>=G)b+=2;else break}return b-B}function b(a,b){for(var c=b.blocksPerLine,d=b.blocksPerColumn,f=new Int16Array(64),e=0;e<d;e++)for(var m=0;m<c;m++){for(var t=64*((b.blocksPerLine+1)*e+m),v=f,q=b.quantizationTable,p=b.blockData,u=void 0,w=void 0,y=void 0,C=void 0,F=void 0,E=void 0,A=void 0,H=void 0,B=void 0,J=H=
|
893 |
+
void 0,I=A=w=E=void 0,O=void 0,B=void 0,M=0;64>M;M+=8)B=p[t+M],H=p[t+M+1],J=p[t+M+2],E=p[t+M+3],w=p[t+M+4],A=p[t+M+5],I=p[t+M+6],O=p[t+M+7],B*=q[M],0===(H|J|E|w|A|I|O)?(B=5793*B+512>>10,v[M]=B,v[M+1]=B,v[M+2]=B,v[M+3]=B,v[M+4]=B,v[M+5]=B,v[M+6]=B,v[M+7]=B):(H*=q[M+1],J*=q[M+2],E*=q[M+3],w*=q[M+4],A*=q[M+5],I*=q[M+6],O*=q[M+7],u=5793*B+128>>8,w=5793*w+128>>8,y=J,C=I,F=2896*(H-O)+128>>8,H=2896*(H+O)+128>>8,E<<=4,A<<=4,u=u+w+1>>1,w=u-w,B=3784*y+1567*C+128>>8,y=1567*y-3784*C+128>>8,C=B,F=F+A+1>>1,A=F-
|
894 |
+
A,H=H+E+1>>1,E=H-E,u=u+C+1>>1,C=u-C,w=w+y+1>>1,y=w-y,B=2276*F+3406*H+2048>>12,F=3406*F-2276*H+2048>>12,H=B,B=799*E+4017*A+2048>>12,E=4017*E-799*A+2048>>12,A=B,v[M]=u+H,v[M+7]=u-H,v[M+1]=w+A,v[M+6]=w-A,v[M+2]=y+E,v[M+5]=y-E,v[M+3]=C+F,v[M+4]=C-F);for(q=0;8>q;++q)B=v[q],H=v[q+8],J=v[q+16],E=v[q+24],w=v[q+32],A=v[q+40],I=v[q+48],O=v[q+56],0===(H|J|E|w|A|I|O)?(B=5793*B+8192>>14,B=-2040>B?0:2024<=B?255:B+2056>>4,p[t+q]=B,p[t+q+8]=B,p[t+q+16]=B,p[t+q+24]=B,p[t+q+32]=B,p[t+q+40]=B,p[t+q+48]=B,p[t+q+56]=
|
895 |
+
B):(u=5793*B+2048>>12,w=5793*w+2048>>12,y=J,C=I,F=2896*(H-O)+2048>>12,H=2896*(H+O)+2048>>12,u=(u+w+1>>1)+4112,w=u-w,B=3784*y+1567*C+2048>>12,y=1567*y-3784*C+2048>>12,C=B,F=F+A+1>>1,A=F-A,H=H+E+1>>1,E=H-E,u=u+C+1>>1,C=u-C,w=w+y+1>>1,y=w-y,B=2276*F+3406*H+2048>>12,F=3406*F-2276*H+2048>>12,H=B,B=799*E+4017*A+2048>>12,E=4017*E-799*A+2048>>12,A=B,B=u+H,O=u-H,H=w+A,I=w-A,J=y+E,A=y-E,E=C+F,w=C-F,B=16>B?0:4080<=B?255:B>>4,H=16>H?0:4080<=H?255:H>>4,J=16>J?0:4080<=J?255:J>>4,E=16>E?0:4080<=E?255:E>>4,w=16>
|
896 |
+
w?0:4080<=w?255:w>>4,A=16>A?0:4080<=A?255:A>>4,I=16>I?0:4080<=I?255:I>>4,O=16>O?0:4080<=O?255:O>>4,p[t+q]=B,p[t+q+8]=H,p[t+q+16]=J,p[t+q+24]=E,p[t+q+32]=w,p[t+q+40]=A,p[t+q+48]=I,p[t+q+56]=O)}return b.blockData}function d(a){return 0>=a?0:255<=a?255:a}var f=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);e.prototype={parse:function(d){function e(){var a=
|
897 |
+
d[k]<<8|d[k+1];k+=2;return a}function l(){var a=e(),a=d.subarray(k,k+a-2);k+=a.length;return a}function n(a){for(var b=Math.ceil(a.samplesPerLine/8/a.maxH),c=Math.ceil(a.scanLines/8/a.maxV),d=0;d<a.components.length;d++){B=a.components[d];var e=Math.ceil(Math.ceil(a.samplesPerLine/8)*B.h/a.maxH),f=Math.ceil(Math.ceil(a.scanLines/8)*B.v/a.maxV);B.blockData=new Int16Array(64*c*B.v*(b*B.h+1));B.blocksPerLine=e;B.blocksPerColumn=f}a.mcusPerLine=b;a.mcusPerColumn=c}var k=0,r=null,m=null,t,v,q=[],p=[],
|
898 |
+
u=[],w=e();if(65496!==w)throw"SOI not found";for(w=e();65497!==w;){var y,C;switch(w){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:y=l();65504===w&&74===y[0]&&70===y[1]&&73===y[2]&&70===y[3]&&0===y[4]&&(r={version:{major:y[5],minor:y[6]},densityUnits:y[7],xDensity:y[8]<<8|y[9],yDensity:y[10]<<8|y[11],thumbWidth:y[12],thumbHeight:y[13],thumbData:y.subarray(14,
|
899 |
+
14+3*y[12]*y[13])});65518===w&&65===y[0]&&100===y[1]&&111===y[2]&&98===y[3]&&101===y[4]&&0===y[5]&&(m={version:y[6],flags0:y[7]<<8|y[8],flags1:y[9]<<8|y[10],transformCode:y[11]});break;case 65499:for(var w=e()+k-2,F;k<w;){var E=d[k++],A=new Uint16Array(64);if(0===E>>4)for(y=0;64>y;y++)F=f[y],A[F]=d[k++];else if(1===E>>4)for(y=0;64>y;y++)F=f[y],A[F]=e();else throw"DQT: invalid table spec";q[E&15]=A}break;case 65472:case 65473:case 65474:if(t)throw"Only single frame JPEGs supported";e();t={};t.extended=
|
900 |
+
65473===w;t.progressive=65474===w;t.precision=d[k++];t.scanLines=e();t.samplesPerLine=e();t.components=[];t.componentIds={};y=d[k++];for(w=A=E=0;w<y;w++){F=d[k];C=d[k+1]>>4;var H=d[k+1]&15;E<C&&(E=C);A<H&&(A=H);C=t.components.push({h:C,v:H,quantizationTable:q[d[k+2]]});t.componentIds[F]=C-1;k+=3}t.maxH=E;t.maxV=A;n(t);break;case 65476:F=e();for(w=2;w<F;){E=d[k++];A=new Uint8Array(16);for(y=C=0;16>y;y++,k++)C+=A[y]=d[k];H=new Uint8Array(C);for(y=0;y<C;y++,k++)H[y]=d[k];w+=17+C;(0===E>>4?u:p)[E&15]=
|
901 |
+
a(A,H)}break;case 65501:e();v=e();break;case 65498:e();F=d[k++];y=[];for(var B,w=0;w<F;w++)E=t.componentIds[d[k++]],B=t.components[E],E=d[k++],B.huffmanTableDC=u[E>>4],B.huffmanTableAC=p[E&15],y.push(B);w=d[k++];F=d[k++];E=d[k++];w=c(d,k,t,y,v,w,F,E>>4,E&15);k+=w;break;default:if(255===d[k-3]&&192<=d[k-2]&&254>=d[k-2]){k-=3;break}throw"unknown JPEG marker "+w.toString(16);}w=e()}this.width=t.samplesPerLine;this.height=t.scanLines;this.jfif=r;this.adobe=m;this.components=[];for(w=0;w<t.components.length;w++)B=
|
902 |
+
t.components[w],this.components.push({output:b(t,B),scaleX:B.h/t.maxH,scaleY:B.v/t.maxV,blocksPerLine:B.blocksPerLine,blocksPerColumn:B.blocksPerColumn});this.numComponents=this.components.length},_getLinearizedBlockData:function(a,b){var c=this.width/a,d=this.height/b,e,f,m,t,v,q,p=0,u,w=this.components.length,y=a*b*w,C=new Uint8Array(y),F=new Uint32Array(a);for(q=0;q<w;q++){e=this.components[q];f=e.scaleX*c;m=e.scaleY*d;p=q;u=e.output;t=e.blocksPerLine+1<<3;for(v=0;v<a;v++)e=0|v*f,F[v]=(e&4294967288)<<
|
903 |
+
3|e&7;for(f=0;f<b;f++)for(e=0|f*m,e=t*(e&4294967288)|(e&7)<<3,v=0;v<a;v++)C[p]=u[e+F[v]],p+=w}if(d=this.decodeTransform)for(q=0;q<y;)for(c=e=0;e<w;e++,q++,c+=2)C[q]=(C[q]*d[c]>>8)+d[c+1];return C},_isColorConversionNeeded:function(){return this.adobe&&this.adobe.transformCode?!0:3===this.numComponents?!0:!1},_convertYccToRgb:function(a){for(var b,c,e,f=0,r=a.length;f<r;f+=3)b=a[f],c=a[f+1],e=a[f+2],a[f]=d(b-179.456+1.402*e),a[f+1]=d(b+135.459-.344*c-.714*e),a[f+2]=d(b-226.816+1.772*c);return a},_convertYcckToRgb:function(a){for(var b,
|
904 |
+
c,e,f,r=0,m=0,t=a.length;m<t;m+=4){b=a[m];c=a[m+1];e=a[m+2];f=a[m+3];var v=-122.67195406894+c*(-6.60635669420364E-5*c+4.37130475926232E-4*e-5.4080610064599E-5*b+4.8449797120281E-4*f-.154362151871126)+e*(-9.57964378445773E-4*e+8.17076911346625E-4*b-.00477271405408747*f+1.53380253221734)+b*(9.61250184130688E-4*b-.00266257332283933*f+.48357088451265)+f*(-3.36197177618394E-4*f+.484791561490776),q=107.268039397724+c*(2.19927104525741E-5*c-6.40992018297945E-4*e+6.59397001245577E-4*b+4.26105652938837E-4*
|
905 |
+
f-.176491792462875)+e*(-7.78269941513683E-4*e+.00130872261408275*b+7.70482631801132E-4*f-.151051492775562)+b*(.00126935368114843*b-.00265090189010898*f+.25802910206845)+f*(-3.18913117588328E-4*f-.213742400323665);b=-20.810012546947+c*(-5.70115196973677E-4*c-2.63409051004589E-5*e+.0020741088115012*b-.00288260236853442*f+.814272968359295)+e*(-1.53496057440975E-5*e-1.32689043961446E-4*b+5.60833691242812E-4*f-.195152027534049)+b*(.00174418132927582*b-.00255243321439347*f+.116935020465145)+f*(-3.43531996510555E-4*
|
906 |
+
f+.24165260232407);a[r++]=d(v);a[r++]=d(q);a[r++]=d(b)}return a},_convertYcckToCmyk:function(a){for(var b,c,e,f=0,r=a.length;f<r;f+=4)b=a[f],c=a[f+1],e=a[f+2],a[f]=d(434.456-b-1.402*e),a[f+1]=d(119.541-b+.344*c+.714*e),a[f+2]=d(481.816-b-1.772*c);return a},_convertCmykToRgb:function(a){for(var b,c,d,e,f=0,m=1/255/255,t=0,v=a.length;t<v;t+=4){b=a[t];c=a[t+1];d=a[t+2];e=a[t+3];var q=b*(-4.387332384609988*b+54.48615194189176*c+18.82290502165302*d+212.25662451639585*e-72734.4411664936)+c*(1.7149763477362134*
|
907 |
+
c-5.6096736904047315*d-17.873870861415444*e-1401.7366389350734)+d*(-2.5217340131683033*d-21.248923337353073*e+4465.541406466231)-e*(21.86122147463605*e+48317.86113160301),p=b*(8.841041422036149*b+60.118027045597366*c+6.871425592049007*d+31.159100130055922*e-20220.756542821975)+c*(-15.310361306967817*c+17.575251261109482*d+131.35250912493976*e-48691.05921601825)+d*(4.444339102852739*d+9.8632861493405*e-6341.191035517494)-e*(20.737325471181034*e+47890.15695978492);b=b*(.8842522430003296*b+8.078677503112928*
|
908 |
+
c+30.89978309703729*d-.23883238689178934*e-3616.812083916688)+c*(10.49593273432072*c+63.02378494754052*d+50.606957656360734*e-28620.90484698408)+d*(.03296041114873217*d+115.60384449646641*e-49363.43385999684)-e*(22.33816807309886*e+45932.16563550634);a[f++]=0<=q?255:-16581375>=q?0:255+q*m|0;a[f++]=0<=p?255:-16581375>=p?0:255+p*m|0;a[f++]=0<=b?255:-16581375>=b?0:255+b*m|0}return a},getData:function(a,b,c){if(4<this.numComponents)throw"Unsupported color mode";a=this._getLinearizedBlockData(a,b);if(3===
|
909 |
+
this.numComponents)return this._convertYccToRgb(a);if(4===this.numComponents){if(this._isColorConversionNeeded())return c?this._convertYcckToRgb(a):this._convertYcckToCmyk(a);if(c)return this._convertCmykToRgb(a)}return a}};return e}(),Bd=function(){function e(){this.failOnCorruptedImage=!1}function a(a,b,c){a=c.xcb_;c=c.ycb_;var d=1<<a,e=1<<c,f=b.tbx0>>a,g=b.tby0>>c,h=b.tbx1+d-1>>a,l=b.tby1+e-1>>c,k=b.resolution.precinctParameters,p=[],n=[],m,u,r,q;for(u=g;u<l;u++)for(m=f;m<h;m++)if(r={cbx:m,cby:u,
|
910 |
+
tbx0:d*m,tby0:e*u,tbx1:d*(m+1),tby1:e*(u+1)},r.tbx0_=Math.max(b.tbx0,r.tbx0),r.tby0_=Math.max(b.tby0,r.tby0),r.tbx1_=Math.min(b.tbx1,r.tbx1),r.tby1_=Math.min(b.tby1,r.tby1),q=Math.floor((r.tbx0_-b.tbx0)/k.precinctWidthInSubband)+Math.floor((r.tby0_-b.tby0)/k.precinctHeightInSubband)*k.numprecinctswide,r.precinctNumber=q,r.subbandType=b.type,r.Lblock=3,!(r.tbx1_<=r.tbx0_||r.tby1_<=r.tby0_)){p.push(r);var t=n[q];void 0!==t?(m<t.cbxMin?t.cbxMin=m:m>t.cbxMax&&(t.cbxMax=m),u<t.cbyMin?t.cbxMin=u:u>t.cbyMax&&
|
911 |
+
(t.cbyMax=u)):n[q]=t={cbxMin:m,cbyMin:u,cbxMax:m,cbyMax:u};r.precinct=t}b.codeblockParameters={codeblockWidth:a,codeblockHeight:c,numcodeblockwide:h-f+1,numcodeblockhigh:l-g+1};b.codeblocks=p;b.precincts=n}function c(a,b,c){var d=[];a=a.subbands;for(var e=0,f=a.length;e<f;e++)for(var g=a[e].codeblocks,h=0,l=g.length;h<l;h++){var k=g[h];k.precinctNumber===b&&d.push(k)}return{layerNumber:c,codeblocks:d}}function b(a){var b=a.tiles[a.currentTile.index],d=b.codingStyleDefaultParameters.layersCount,e=
|
912 |
+
a.SIZ.Csiz,f=0;for(a=0;a<e;a++)f=Math.max(f,b.components[a].codingStyleParameters.decompositionLevelsCount);var g=0,h=0,l=0,k=0;this.nextPacket=function(){for(;g<d;g++){for(;h<=f;h++){for(;l<e;l++){var a=b.components[l];if(!(h>a.codingStyleParameters.decompositionLevelsCount)){for(var a=a.resolutions[h],p=a.precinctParameters.numprecincts;k<p;)return a=c(a,k,g),k++,a;k=0}}l=0}h=0}throw Error("JPX Error: Out of packets");}}function d(a){var b=a.tiles[a.currentTile.index],d=b.codingStyleDefaultParameters.layersCount,
|
913 |
+
e=a.SIZ.Csiz,f=0;for(a=0;a<e;a++)f=Math.max(f,b.components[a].codingStyleParameters.decompositionLevelsCount);var g=0,h=0,l=0,k=0;this.nextPacket=function(){for(;g<=f;g++){for(;h<d;h++){for(;l<e;l++){var a=b.components[l];if(!(g>a.codingStyleParameters.decompositionLevelsCount)){for(var a=a.resolutions[g],p=a.precinctParameters.numprecincts;k<p;)return a=c(a,k,h),k++,a;k=0}}l=0}h=0}throw Error("JPX Error: Out of packets");}}function f(a){var b=a.tiles[a.currentTile.index],d=b.codingStyleDefaultParameters.layersCount,
|
914 |
+
e=a.SIZ.Csiz,f,g,h,l,k=0;for(h=0;h<e;h++)k=Math.max(k,b.components[h].codingStyleParameters.decompositionLevelsCount);var p=new Int32Array(k+1);for(g=0;g<=k;++g){for(h=a=0;h<e;++h){var m=b.components[h].resolutions;g<m.length&&(a=Math.max(a,m[g].precinctParameters.numprecincts))}p[g]=a}l=h=g=f=0;this.nextPacket=function(){for(;g<=k;g++){for(;l<p[g];l++){for(;h<e;h++){var a=b.components[h];if(!(g>a.codingStyleParameters.decompositionLevelsCount||(a=a.resolutions[g],l>=a.precinctParameters.numprecincts))){for(;f<
|
915 |
+
d;)return a=c(a,l,f),f++,a;f=0}}h=0}l=0}throw Error("JPX Error: Out of packets");}}function g(a){var b=a.tiles[a.currentTile.index],d=b.codingStyleDefaultParameters.layersCount,e=a.SIZ.Csiz,f=n(b),g=0,h=0,k=0,p=0,m=0;this.nextPacket=function(){for(;m<f.maxNumHigh;m++){for(;p<f.maxNumWide;p++){for(;k<e;k++){for(var a=b.components[k],n=a.codingStyleParameters.decompositionLevelsCount;h<=n;h++){var r=a.resolutions[h],u=l(p,m,f.components[k].resolutions[h],f,r);if(null!==u){for(;g<d;)return a=c(r,u,g),
|
916 |
+
g++,a;g=0}}h=0}k=0}p=0}throw Error("JPX Error: Out of packets");}}function h(a){var b=a.tiles[a.currentTile.index],d=b.codingStyleDefaultParameters.layersCount,e=a.SIZ.Csiz,f=n(b),g=0,h=0,k=0,p=0,m=0;this.nextPacket=function(){for(;k<e;++k){for(var a=b.components[k],n=f.components[k],r=a.codingStyleParameters.decompositionLevelsCount;m<n.maxNumHigh;m++){for(;p<n.maxNumWide;p++){for(;h<=r;h++){var u=a.resolutions[h],w=l(p,m,n.resolutions[h],n,u);if(null!==w){for(;g<d;)return a=c(u,w,g),g++,a;g=0}}h=
|
917 |
+
0}p=0}m=0}throw Error("JPX Error: Out of packets");}}function l(a,b,c,d,e){a*=d.minWidth;b*=d.minHeight;return 0!==a%c.width||0!==b%c.height?null:a/c.height+b/c.width*e.precinctParameters.numprecinctswide}function n(a){for(var b=a.components.length,c=Number.MAX_VALUE,d=Number.MAX_VALUE,e=0,f=0,g=Array(b),h=0;h<b;h++){for(var l=a.components[h],k=l.codingStyleParameters.decompositionLevelsCount,p=Array(k+1),m=Number.MAX_VALUE,n=Number.MAX_VALUE,r=0,u=0,t=1;0<=k;--k){var q=l.resolutions[k],v=t*q.precinctParameters.precinctWidth,
|
918 |
+
x=t*q.precinctParameters.precinctHeight,m=Math.min(m,v),n=Math.min(n,x),r=Math.max(r,q.precinctParameters.numprecinctswide),u=Math.max(u,q.precinctParameters.numprecinctshigh);p[k]={width:v,height:x};t<<=1}c=Math.min(c,m);d=Math.min(d,n);e=Math.max(e,r);f=Math.max(f,u);g[h]={resolutions:p,minWidth:m,minHeight:n,maxNumWide:r,maxNumHigh:u}}return{components:g,minWidth:c,minHeight:d,maxNumWide:e,maxNumHigh:f}}function k(a,b,c,d){function e(a){for(;k<a;){var d=b[c+h];h++;p?(l=l<<7|d,k+=7,p=!1):(l=l<<
|
919 |
+
8|d,k+=8);255===d&&(p=!0)}k-=a;return l>>>k&(1<<a)-1}function f(a){return 255===b[c+h-1]&&b[c+h]===a?(h+=1,!0):255===b[c+h]&&b[c+h+1]===a?(h+=2,!0):!1}function g(){if(0===e(1))return 1;if(0===e(1))return 2;var a=e(2);if(3>a)return a+3;a=e(5);if(31>a)return a+6;a=e(7);return a+37}var h=0,l,k=0,p=!1,n=a.COD.sopMarkerUsed,r=a.COD.ephMarkerUsed;for(a=a.tiles[a.currentTile.index].packetsIterator;h<d;){k=0;p&&(h++,p=!1);n&&f(145)&&(h+=4);var u=a.nextPacket();if(e(1)){for(var q=u.layerNumber,v=[],x,G=0,
|
920 |
+
D=u.codeblocks.length;G<D;G++){x=u.codeblocks[G];var L=x.precinct,T=x.cbx-L.cbxMin,ya=x.cby-L.cbyMin,N=!1,aa=!1,Y;if(void 0!==x.included)N=!!e(1);else{var L=x.precinct,Q,R;void 0!==L.inclusionTree?Q=L.inclusionTree:(Y=L.cbxMax-L.cbxMin+1,R=L.cbyMax-L.cbyMin+1,Q=new t(Y,R,q),R=new m(Y,R),L.inclusionTree=Q,L.zeroBitPlanesTree=R);if(Q.reset(T,ya,q))for(;;)if(e(1)){if(Y=!Q.nextLevel()){N=aa=x.included=!0;break}}else{Q.incrementValue(q);break}}if(N){if(aa){R=L.zeroBitPlanesTree;for(R.reset(T,ya);;)if(e(1)){if(Y=
|
921 |
+
!R.nextLevel())break}else R.incrementValue();x.zeroBitPlanes=R.value}for(L=g();e(1);)x.Lblock++;T=nb(L);T=e((L<1<<T?T-1:T)+x.Lblock);v.push({codeblock:x,codingpasses:L,dataLength:T})}}k=0;p&&(h++,p=!1);for(r&&f(146);0<v.length;)u=v.shift(),x=u.codeblock,void 0===x.data&&(x.data=[]),x.data.push({data:b,start:c+h,end:c+h+u.dataLength,codingpasses:u.codingpasses}),h+=u.dataLength}}return h}var r={LL:0,LH:1,HL:1,HH:2};e.prototype={parse:function(a){if(65359===Ea(a,0))this.parseCodestream(a,0,a.length);
|
922 |
+
else for(var b=0,c=a.length;b<c;){var d=8,e=ia(a,b),f=ia(a,b+4),b=b+d;1===e&&(e=4294967296*ia(a,b)+ia(a,b+4),b+=8,d+=8);0===e&&(e=c-b+d);if(e<d)throw Error("JPX Error: Invalid box field size");d=e-d;e=!0;switch(f){case 1785737832:e=!1;break;case 1668246642:f=a[b];if(1===f)switch(f=ia(a,b+3),f){case 16:case 17:case 18:break;default:L("Unknown colorspace "+f)}else 2===f&&R("ICC profile not supported");break;case 1785737827:this.parseCodestream(a,b,b+d);break;case 1783636E3:218793738!==ia(a,b)&&L("Invalid JP2 signature");
|
923 |
+
break;case 1783634458:case 1718909296:case 1920099697:case 1919251232:case 1768449138:break;default:var g=String.fromCharCode(f>>24&255,f>>16&255,f>>8&255,f&255);L("Unsupported header type "+f+" ("+g+")")}e&&(b+=d)}},parseImageProperties:function(a){for(var b=a.getByte();0<=b;){var c=b,b=a.getByte();if(65361===(c<<8|b)){a.skip(4);var b=a.getInt32()>>>0,c=a.getInt32()>>>0,d=a.getInt32()>>>0,e=a.getInt32()>>>0;a.skip(16);a=a.getUint16();this.width=b-d;this.height=c-e;this.componentsCount=a;this.bitsPerComponent=
|
924 |
+
8;return}}throw Error("JPX Error: No size marker found in JPX stream");},parseCodestream:function(c,e,l){var m={};try{for(var n=!1,q=e;q+1<l;){var t=Ea(c,q),q=q+2,B=0,J,I,x,M,W,K;switch(t){case 65359:m.mainHeader=!0;break;case 65497:break;case 65361:var B=Ea(c,q),G={};G.Xsiz=ia(c,q+4);G.Ysiz=ia(c,q+8);G.XOsiz=ia(c,q+12);G.YOsiz=ia(c,q+16);G.XTsiz=ia(c,q+20);G.YTsiz=ia(c,q+24);G.XTOsiz=ia(c,q+28);G.YTOsiz=ia(c,q+32);var z=Ea(c,q+36);G.Csiz=z;var D=[];J=q+38;for(var N=0;N<z;N++){var R={precision:(c[J]&
|
925 |
+
127)+1,isSigned:!!(c[J]&128),XRsiz:c[J+1],YRsiz:c[J+1]},Q=R,T=G;Q.x0=Math.ceil(T.XOsiz/Q.XRsiz);Q.x1=Math.ceil(T.Xsiz/Q.XRsiz);Q.y0=Math.ceil(T.YOsiz/Q.YRsiz);Q.y1=Math.ceil(T.Ysiz/Q.YRsiz);Q.width=Q.x1-Q.x0;Q.height=Q.y1-Q.y0;D.push(R)}m.SIZ=G;m.components=D;for(var ya=m,Za=D,aa=ya.SIZ,Y=void 0,P=[],U=Math.ceil((aa.Xsiz-aa.XTOsiz)/aa.XTsiz),X=Math.ceil((aa.Ysiz-aa.YTOsiz)/aa.YTsiz),S=0;S<X;S++)for(var V=0;V<U;V++)Y={},Y.tx0=Math.max(aa.XTOsiz+V*aa.XTsiz,aa.XOsiz),Y.ty0=Math.max(aa.YTOsiz+S*aa.YTsiz,
|
926 |
+
aa.YOsiz),Y.tx1=Math.min(aa.XTOsiz+(V+1)*aa.XTsiz,aa.Xsiz),Y.ty1=Math.min(aa.YTOsiz+(S+1)*aa.YTsiz,aa.Ysiz),Y.width=Y.tx1-Y.tx0,Y.height=Y.ty1-Y.ty0,Y.components=[],P.push(Y);ya.tiles=P;for(var ba=0,fa=aa.Csiz;ba<fa;ba++)for(var ea=Za[ba],Z=0,la=P.length;Z<la;Z++){var da={},Y=P[Z];da.tcx0=Math.ceil(Y.tx0/ea.XRsiz);da.tcy0=Math.ceil(Y.ty0/ea.YRsiz);da.tcx1=Math.ceil(Y.tx1/ea.XRsiz);da.tcy1=Math.ceil(Y.ty1/ea.YRsiz);da.width=da.tcx1-da.tcx0;da.height=da.tcy1-da.tcy0;Y.components[ba]=da}m.QCC=[];m.COC=
|
927 |
+
[];break;case 65372:var B=Ea(c,q),ha={};J=q+2;I=c[J++];switch(I&31){case 0:M=8;W=!0;break;case 1:M=16;W=!1;break;case 2:M=16;W=!0;break;default:throw Error("JPX Error: Invalid SQcd value "+I);}ha.noQuantization=8===M;ha.scalarExpounded=W;ha.guardBits=I>>5;for(x=[];J<B+q;){var ga={};8===M?(ga.epsilon=c[J++]>>3,ga.mu=0):(ga.epsilon=c[J]>>3,ga.mu=(c[J]&7)<<8|c[J+1],J+=2);x.push(ga)}ha.SPqcds=x;m.mainHeader?m.QCD=ha:(m.currentTile.QCD=ha,m.currentTile.QCC=[]);break;case 65373:var B=Ea(c,q),ja={};J=q+
|
928 |
+
2;var oa;257>m.SIZ.Csiz?oa=c[J++]:(oa=Ea(c,J),J+=2);I=c[J++];switch(I&31){case 0:M=8;W=!0;break;case 1:M=16;W=!1;break;case 2:M=16;W=!0;break;default:throw Error("JPX Error: Invalid SQcd value "+I);}ja.noQuantization=8===M;ja.scalarExpounded=W;ja.guardBits=I>>5;for(x=[];J<B+q;)ga={},8===M?(ga.epsilon=c[J++]>>3,ga.mu=0):(ga.epsilon=c[J]>>3,ga.mu=(c[J]&7)<<8|c[J+1],J+=2),x.push(ga);ja.SPqcds=x;m.mainHeader?m.QCC[oa]=ja:m.currentTile.QCC[oa]=ja;break;case 65362:var B=Ea(c,q),ua={};J=q+2;var ra=c[J++];
|
929 |
+
ua.entropyCoderWithCustomPrecincts=!!(ra&1);ua.sopMarkerUsed=!!(ra&2);ua.ephMarkerUsed=!!(ra&4);ua.progressionOrder=c[J++];ua.layersCount=Ea(c,J);J+=2;ua.multipleComponentTransform=c[J++];ua.decompositionLevelsCount=c[J++];ua.xcb=(c[J++]&15)+2;ua.ycb=(c[J++]&15)+2;var sa=c[J++];ua.selectiveArithmeticCodingBypass=!!(sa&1);ua.resetContextProbabilities=!!(sa&2);ua.terminationOnEachCodingPass=!!(sa&4);ua.verticalyStripe=!!(sa&8);ua.predictableTermination=!!(sa&16);ua.segmentationSymbolUsed=!!(sa&32);
|
930 |
+
ua.reversibleTransformation=c[J++];if(ua.entropyCoderWithCustomPrecincts){for(var xa=[];J<B+q;){var Aa=c[J++];xa.push({PPx:Aa&15,PPy:Aa>>4})}ua.precinctsSizes=xa}var pa=[];ua.selectiveArithmeticCodingBypass&&pa.push("selectiveArithmeticCodingBypass");ua.resetContextProbabilities&&pa.push("resetContextProbabilities");ua.terminationOnEachCodingPass&&pa.push("terminationOnEachCodingPass");ua.verticalyStripe&&pa.push("verticalyStripe");ua.predictableTermination&&pa.push("predictableTermination");if(0<
|
931 |
+
pa.length)throw n=!0,Error("JPX Error: Unsupported COD options ("+pa.join(", ")+")");m.mainHeader?m.COD=ua:(m.currentTile.COD=ua,m.currentTile.COC=[]);break;case 65424:B=Ea(c,q);K={};K.index=Ea(c,q+2);K.length=ia(c,q+4);K.dataEnd=K.length+q-2;K.partIndex=c[q+8];K.partsCount=c[q+9];m.mainHeader=!1;0===K.partIndex&&(K.COD=m.COD,K.COC=m.COC.slice(0),K.QCD=m.QCD,K.QCC=m.QCC.slice(0));m.currentTile=K;break;case 65427:K=m.currentTile;if(0===K.partIndex){for(var ta=m,Ja=ta.SIZ.Csiz,Ga=ta.tiles[K.index],
|
932 |
+
wa=0;wa<Ja;wa++){var Ma=Ga.components[wa];Ma.quantizationParameters=void 0!==ta.currentTile.QCC[wa]?ta.currentTile.QCC[wa]:ta.currentTile.QCD;Ma.codingStyleParameters=void 0!==ta.currentTile.COC[wa]?ta.currentTile.COC[wa]:ta.currentTile.COD}Ga.codingStyleDefaultParameters=ta.currentTile.COD;for(var qa=m,ma=qa.tiles[qa.currentTile.index],Sa=qa.SIZ.Csiz,La=0;La<Sa;La++){for(var na=ma.components[La],Pa=na.codingStyleParameters.decompositionLevelsCount,Ta=[],Ia=[],Fa=0;Fa<=Pa;Fa++){var Ba,Ra=Fa,Ha=na.codingStyleParameters,
|
933 |
+
za={};Ha.entropyCoderWithCustomPrecincts?(za.PPx=Ha.precinctsSizes[Ra].PPx,za.PPy=Ha.precinctsSizes[Ra].PPy):(za.PPx=15,za.PPy=15);za.xcb_=0<Ra?Math.min(Ha.xcb,za.PPx-1):Math.min(Ha.xcb,za.PPx);za.ycb_=0<Ra?Math.min(Ha.ycb,za.PPy-1):Math.min(Ha.ycb,za.PPy);Ba=za;var Wa={},va=1<<Pa-Fa;Wa.trx0=Math.ceil(na.tcx0/va);Wa.try0=Math.ceil(na.tcy0/va);Wa.trx1=Math.ceil(na.tcx1/va);Wa.try1=Math.ceil(na.tcy1/va);Wa.resLevel=Fa;var Da=Wa,Xa=1<<Ba.PPx,Ya=1<<Ba.PPy,db=0===Da.resLevel,qb=1<<Ba.PPx+(db?0:-1),rb=
|
934 |
+
1<<Ba.PPy+(db?0:-1),eb=Da.trx1>Da.trx0?Math.ceil(Da.trx1/Xa)-Math.floor(Da.trx0/Xa):0,hb=Da.try1>Da.try0?Math.ceil(Da.try1/Ya)-Math.floor(Da.try0/Ya):0;Da.precinctParameters={precinctWidth:Xa,precinctHeight:Ya,numprecinctswide:eb,numprecinctshigh:hb,numprecincts:eb*hb,precinctWidthInSubband:qb,precinctHeightInSubband:rb};Ta.push(Wa);var ca;if(0===Fa)ca={type:"LL"},ca.tbx0=Math.ceil(na.tcx0/va),ca.tby0=Math.ceil(na.tcy0/va),ca.tbx1=Math.ceil(na.tcx1/va),ca.tby1=Math.ceil(na.tcy1/va),ca.resolution=
|
935 |
+
Wa,a(qa,ca,Ba),Ia.push(ca),Wa.subbands=[ca];else{var Na=1<<Pa-Fa+1,Oa=[];ca={type:"HL"};ca.tbx0=Math.ceil(na.tcx0/Na-.5);ca.tby0=Math.ceil(na.tcy0/Na);ca.tbx1=Math.ceil(na.tcx1/Na-.5);ca.tby1=Math.ceil(na.tcy1/Na);ca.resolution=Wa;a(qa,ca,Ba);Ia.push(ca);Oa.push(ca);ca={type:"LH"};ca.tbx0=Math.ceil(na.tcx0/Na);ca.tby0=Math.ceil(na.tcy0/Na-.5);ca.tbx1=Math.ceil(na.tcx1/Na);ca.tby1=Math.ceil(na.tcy1/Na-.5);ca.resolution=Wa;a(qa,ca,Ba);Ia.push(ca);Oa.push(ca);ca={type:"HH"};ca.tbx0=Math.ceil(na.tcx0/
|
936 |
+
Na-.5);ca.tby0=Math.ceil(na.tcy0/Na-.5);ca.tbx1=Math.ceil(na.tcx1/Na-.5);ca.tby1=Math.ceil(na.tcy1/Na-.5);ca.resolution=Wa;a(qa,ca,Ba);Ia.push(ca);Oa.push(ca);Wa.subbands=Oa}}na.resolutions=Ta;na.subbands=Ia}var ib=ma.codingStyleDefaultParameters.progressionOrder;switch(ib){case 0:ma.packetsIterator=new b(qa);break;case 1:ma.packetsIterator=new d(qa);break;case 2:ma.packetsIterator=new f(qa);break;case 3:ma.packetsIterator=new g(qa);break;case 4:ma.packetsIterator=new h(qa);break;default:throw Error("JPX Error: Unsupported progression order "+
|
937 |
+
ib);}}B=K.dataEnd-q;k(m,c,q,B);break;case 65365:case 65367:case 65368:case 65380:B=Ea(c,q);break;case 65363:throw Error("JPX Error: Codestream code 0xFF53 (COC) is not implemented");default:throw Error("JPX Error: Unknown codestream code: "+t.toString(16));}q+=B}}catch(ob){if(n||this.failOnCorruptedImage)throw ob;L("Trying to recover from "+ob.message)}for(var pb=m.components,bb=m.SIZ.Csiz,sb=[],jb=0,Ab=m.tiles.length;jb<Ab;jb++){var nb=m.tiles[jb],gb=[],Ua;for(Ua=0;Ua<bb;Ua++){for(var Ib=gb,Kb=Ua,
|
938 |
+
Rb=nb.components[Ua],tb=Rb.codingStyleParameters,ub=Rb.quantizationParameters,Ob=tb.decompositionLevelsCount,mb=ub.SPqcds,Ub=ub.scalarExpounded,Vb=ub.guardBits,Xb=tb.segmentationSymbolUsed,Zb=m.components[Ua].precision,xb=tb.reversibleTransformation,bc=xb?new u:new p,Mb=[],yb=0,Fc=0;Fc<=Ob;Fc++){for(var ec=Rb.resolutions[Fc],zb=ec.trx1-ec.trx0,Sb=ec.try1-ec.try0,Tb=new Float32Array(zb*Sb),Hb=0,mc=ec.subbands.length;Hb<mc;Hb++){var Jb,Uc;Ub?(Jb=mb[yb].mu,Uc=mb[yb].epsilon,yb++):(Jb=mb[0].mu,Uc=mb[0].epsilon+
|
939 |
+
(0<Fc?1-Fc:0));for(var Wb=ec.subbands[Hb],oc=r[Wb.type],pc=xb?1:Math.pow(2,Zb+oc-Uc)*(1+Jb/2048),sc=Tb,Yb=zb,Bb=Wb,yc=pc,Lb=Vb+Uc-1,cc=xb,zc=Xb,Ac=Bb.tbx0,Bc=Bb.tby0,Vc=Bb.tbx1-Bb.tbx0,dc=Bb.codeblocks,Cc="H"===Bb.type.charAt(0)?1:0,Dc="H"===Bb.type.charAt(1)?Yb:0,Nb=0,Ec=dc.length;Nb<Ec;++Nb){var kb=dc[Nb],Wc=kb.tbx1_-kb.tbx0_,Pb=kb.tby1_-kb.tby0_;if(0!==Wc&&0!==Pb&&void 0!==kb.data){var vb,Xc;vb=new v(Wc,Pb,kb.subbandType,kb.zeroBitPlanes,Lb);Xc=2;var Yc=kb.data,Zc=0,Qb=0,$a,$c,Cb;$a=0;for($c=Yc.length;$a<
|
940 |
+
$c;$a++)Cb=Yc[$a],Zc+=Cb.end-Cb.start,Qb+=Cb.codingpasses;var lc=new Uint8Array(Zc),Db=0;$a=0;for($c=Yc.length;$a<$c;$a++){Cb=Yc[$a];var nc=Cb.data.subarray(Cb.start,Cb.end);lc.set(nc,Db);Db+=nc.length}var Hc=new Gd(lc,0,Zc);vb.setDecoder(Hc);for($a=0;$a<Qb;$a++){switch(Xc){case 0:vb.runSignificancePropogationPass();break;case 1:vb.runMagnitudeRefinementPass();break;case 2:vb.runCleanupPass(),zc&&vb.checkSegmentationSymbol()}Xc=(Xc+1)%3}var fc=kb.tbx0_-Ac+(kb.tby0_-Bc)*Vc,Ic=vb.coefficentsSign,Jc=
|
941 |
+
vb.coefficentsMagnitude,Kc=vb.bitsDecoded,Lc=cc?0:.5,ed,Eb,fd,Db=0,Mc="LL"!==Bb.type;for($a=0;$a<Pb;$a++){var Nc=2*(fc/Vc|0)*(Yb-Vc)+Cc+Dc;for(ed=0;ed<Wc;ed++)Eb=Jc[Db],0!==Eb&&(Eb=(Eb+Lc)*yc,0!==Ic[Db]&&(Eb=-Eb),fd=Kc[Db],sc[Mc?Nc+(fc<<1):fc]=cc&&fd>=Lb?Eb:Eb*(1<<Lb-fd)),fc++,Db++;fc+=Vc-Wc}}}}Mb.push({width:zb,height:Sb,items:Tb})}var gd=bc.calculate(Mb,Rb.tcx0,Rb.tcy0);Ib[Kb]={left:Rb.tcx0,top:Rb.tcy0,width:gd.width,height:gd.height,items:gd.items}}var Gc=gb[0],wb=new Uint8Array(Gc.items.length*
|
942 |
+
bb),Oc={left:Gc.left,top:Gc.top,width:Gc.width,height:Gc.height,items:wb},ab,gc,cb,ad,hd,Qa=0,Ka,hc,ic,jc,kc,Fb,lb,Gb,bd,cd;if(nb.codingStyleDefaultParameters.multipleComponentTransform){var qc=4===bb,id=gb[0].items,rc=gb[1].items,tc=gb[2].items,Pc=qc?gb[3].items:null;ab=pb[0].precision-8;gc=(128<<ab)+.5;cb=255*(1<<ab);hd=.5*cb;ad=-hd;var Qc=nb.components[0],uc=bb-3;hc=id.length;if(Qc.codingStyleParameters.reversibleTransformation)for(Ka=0;Ka<hc;Ka++,Qa+=uc)ic=id[Ka]+gc,jc=rc[Ka],kc=tc[Ka],lb=ic-
|
943 |
+
(kc+jc>>2),Fb=lb+kc,Gb=lb+jc,wb[Qa++]=0>=Fb?0:Fb>=cb?255:Fb>>ab,wb[Qa++]=0>=lb?0:lb>=cb?255:lb>>ab,wb[Qa++]=0>=Gb?0:Gb>=cb?255:Gb>>ab;else for(Ka=0;Ka<hc;Ka++,Qa+=uc)ic=id[Ka]+gc,jc=rc[Ka],kc=tc[Ka],Fb=ic+1.402*kc,lb=ic-.34413*jc-.71414*kc,Gb=ic+1.772*jc,wb[Qa++]=0>=Fb?0:Fb>=cb?255:Fb>>ab,wb[Qa++]=0>=lb?0:lb>=cb?255:lb>>ab,wb[Qa++]=0>=Gb?0:Gb>=cb?255:Gb>>ab;if(qc)for(Ka=0,Qa=3;Ka<hc;Ka++,Qa+=4)bd=Pc[Ka],wb[Qa]=bd<=ad?0:bd>=hd?255:bd+gc>>ab}else for(Ua=0;Ua<bb;Ua++){var vc=gb[Ua].items;ab=pb[Ua].precision-
|
944 |
+
8;gc=(128<<ab)+.5;cb=127.5*(1<<ab);ad=-cb;Qa=Ua;Ka=0;for(hc=vc.length;Ka<hc;Ka++)cd=vc[Ka],wb[Qa]=cd<=ad?0:cd>=cb?255:cd+gc>>ab,Qa+=bb}sb.push(Oc)}this.tiles=sb;this.width=m.SIZ.Xsiz-m.SIZ.XOsiz;this.height=m.SIZ.Ysiz-m.SIZ.YOsiz;this.componentsCount=m.SIZ.Csiz}};var m=function(){function a(b,c){var d=nb(Math.max(b,c))+1;this.levels=[];for(var e=0;e<d;e++)this.levels.push({width:b,height:c,items:[]}),b=Math.ceil(b/2),c=Math.ceil(c/2)}a.prototype={reset:function(a,b){for(var c=0,d=0,e;c<this.levels.length;){e=
|
945 |
+
this.levels[c];var f=a+b*e.width;if(void 0!==e.items[f]){d=e.items[f];break}e.index=f;a>>=1;b>>=1;c++}c--;e=this.levels[c];e.items[e.index]=d;this.currentLevel=c;delete this.value},incrementValue:function(){var a=this.levels[this.currentLevel];a.items[a.index]++},nextLevel:function(){var a=this.currentLevel,b=this.levels[a],c=b.items[b.index];a--;if(0>a)return this.value=c,!1;this.currentLevel=a;b=this.levels[a];b.items[b.index]=c;return!0}};return a}(),t=function(){function a(b,c,d){var e=nb(Math.max(b,
|
946 |
+
c))+1;this.levels=[];for(var f=0;f<e;f++){for(var g=new Uint8Array(b*c),h=0,l=g.length;h<l;h++)g[h]=d;this.levels.push({width:b,height:c,items:g});b=Math.ceil(b/2);c=Math.ceil(c/2)}}a.prototype={reset:function(a,b,c){for(var d=0;d<this.levels.length;){var e=this.levels[d],f=a+b*e.width;e.index=f;e=e.items[f];if(255===e)break;if(e>c)return this.currentLevel=d,this.propagateValues(),!1;a>>=1;b>>=1;d++}this.currentLevel=d-1;return!0},incrementValue:function(a){var b=this.levels[this.currentLevel];b.items[b.index]=
|
947 |
+
a+1;this.propagateValues()},propagateValues:function(){for(var a=this.currentLevel,b=this.levels[a],c=b.items[b.index];0<=--a;)b=this.levels[a],b.items[b.index]=c},nextLevel:function(){var a=this.currentLevel,b=this.levels[a],c=b.items[b.index];b.items[b.index]=255;a--;if(0>a)return!1;this.currentLevel=a;b=this.levels[a];b.items[b.index]=c;return!0}};return a}(),v=function(){function a(e,f,g,h,l){this.width=e;this.height=f;this.contextLabelTable="HH"===g?d:"HL"===g?c:b;e*=f;this.neighborsSignificance=
|
948 |
+
new Uint8Array(e);this.coefficentsSign=new Uint8Array(e);this.coefficentsMagnitude=14<l?new Uint32Array(e):6<l?new Uint16Array(e):new Uint8Array(e);this.processingFlags=new Uint8Array(e);l=new Uint8Array(e);if(0!==h)for(f=0;f<e;f++)l[f]=h;this.bitsDecoded=l;this.reset()}var b=new Uint8Array([0,5,8,0,3,7,8,0,4,7,8,0,0,0,0,0,1,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8]),c=new Uint8Array([0,3,4,0,5,7,7,0,8,8,8,0,0,0,0,0,1,3,4,
|
949 |
+
0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8]),d=new Uint8Array([0,1,2,0,1,2,2,0,2,2,2,0,0,0,0,0,3,4,5,0,4,5,5,0,5,5,5,0,0,0,0,0,6,7,7,0,7,7,7,0,7,7,7,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8]);a.prototype={setDecoder:function(a){this.decoder=a},reset:function(){this.contexts=new Int8Array(19);this.contexts[0]=8;this.contexts[17]=92;this.contexts[18]=6},setNeighborsSignificance:function(a,b,c){var d=this.neighborsSignificance,
|
950 |
+
e=this.width,f=this.height,g=0<b;b=b+1<e;var h;0<a&&(h=c-e,g&&(d[h-1]+=16),b&&(d[h+1]+=16),d[h]+=4);a+1<f&&(h=c+e,g&&(d[h-1]+=16),b&&(d[h+1]+=16),d[h]+=4);g&&(d[c-1]+=1);b&&(d[c+1]+=1);d[c]|=128},runSignificancePropogationPass:function(){for(var a=this.decoder,b=this.width,c=this.height,d=this.coefficentsMagnitude,e=this.coefficentsSign,f=this.neighborsSignificance,g=this.processingFlags,h=this.contexts,l=this.contextLabelTable,k=this.bitsDecoded,p=0;p<c;p+=4)for(var m=0;m<b;m++)for(var n=p*b+m,u=
|
951 |
+
0;4>u;u++,n+=b){var r=p+u;if(r>=c)break;g[n]&=-2;if(!d[n]&&f[n]){if(a.readBit(h,l[f[n]])){var q=this.decodeSignBit(r,m,n);e[n]=q;d[n]=1;this.setNeighborsSignificance(r,m,n);g[n]|=2}k[n]++;g[n]|=1}}},decodeSignBit:function(a,b,c){var d=this.width,e=this.height,f=this.coefficentsMagnitude,g=this.coefficentsSign,h;h=0<b&&0!==f[c-1];b+1<d&&0!==f[c+1]?(b=g[c+1],h?(h=g[c-1],b=1-b-h):b=1-b-b):h?(h=g[c-1],b=1-h-h):b=0;var l=3*b;h=0<a&&0!==f[c-d];a+1<e&&0!==f[c+d]?(b=g[c+d],h?(h=g[c-d],b=1-b-h+l):b=1-b-b+
|
952 |
+
l):h?(h=g[c-d],b=1-h-h+l):b=l;return a=0<=b?this.decoder.readBit(this.contexts,9+b):this.decoder.readBit(this.contexts,9-b)^1},runMagnitudeRefinementPass:function(){for(var a=this.decoder,b=this.width,c=this.coefficentsMagnitude,d=this.neighborsSignificance,e=this.contexts,f=this.bitsDecoded,g=this.processingFlags,h=b*this.height,l=4*b,k=0,p;k<h;k=p){p=Math.min(h,k+l);for(var m=0;m<b;m++)for(var n=k+m;n<p;n+=b)if(c[n]&&0===(g[n]&1)){var u=16;0!==(g[n]&2)&&(g[n]^=2,u=0===(d[n]&127)?15:14);u=a.readBit(e,
|
953 |
+
u);c[n]=c[n]<<1|u;f[n]++;g[n]|=1}}},runCleanupPass:function(){for(var a=this.decoder,b=this.width,c=this.height,d=this.neighborsSignificance,e=this.coefficentsMagnitude,f=this.coefficentsSign,g=this.contexts,h=this.contextLabelTable,l=this.bitsDecoded,k=this.processingFlags,p=2*b,m=3*b,n,u=0;u<c;u=n){n=Math.min(u+4,c);for(var r=u*b,q=u+3<c,t=0;t<b;t++){var w=r+t,v=0,y=w,C=u,F;if(q&&0===k[w]&&0===k[w+b]&&0===k[w+p]&&0===k[w+m]&&0===d[w]&&0===d[w+b]&&0===d[w+p]&&0===d[w+m]){if(!a.readBit(g,18)){l[w]++;
|
954 |
+
l[w+b]++;l[w+p]++;l[w+m]++;continue}v=a.readBit(g,17)<<1|a.readBit(g,17);0!==v&&(C=u+v,y+=v*b);F=this.decodeSignBit(C,t,y);f[y]=F;e[y]=1;this.setNeighborsSignificance(C,t,y);k[y]|=2;y=w;for(w=u;w<=C;w++,y+=b)l[y]++;v++}for(C=u+v;C<n;C++,y+=b)e[y]||0!==(k[y]&1)||(1===a.readBit(g,h[d[y]])&&(F=this.decodeSignBit(C,t,y),f[y]=F,e[y]=1,this.setNeighborsSignificance(C,t,y),k[y]|=2),l[y]++)}}},checkSegmentationSymbol:function(){var a=this.decoder,b=this.contexts;if(10!==(a.readBit(b,17)<<3|a.readBit(b,17)<<
|
955 |
+
2|a.readBit(b,17)<<1|a.readBit(b,17)))throw Error("JPX Error: Invalid segmentation symbol");}};return a}(),q=function(){function a(){}a.prototype.calculate=function(a,b,c){for(var d=a[0],e=1,f=a.length;e<f;e++)d=this.iterate(d,a[e],b,c);return d};a.prototype.extend=function(a,b,c){var d=b-1,e=b+1,f=b+c-2;b+=c;a[d--]=a[e++];a[b++]=a[f--];a[d--]=a[e++];a[b++]=a[f--];a[d--]=a[e++];a[b++]=a[f--];a[d]=a[e];a[b]=a[f]};a.prototype.iterate=function(a,b,c,d){var e=a.width,f=a.height,g=a.items,h=b.width,l=
|
956 |
+
b.height;b=b.items;var k,p,m,n;for(k=m=0;k<f;k++)for(n=2*k*h,p=0;p<e;p++,m++,n+=2)b[n]=g[m];a.items=null;a=new Float32Array(h+8);if(1===h){if(0!==(c&1))for(m=n=0;n<l;n++,m+=h)b[m]*=.5}else for(m=n=0;n<l;n++,m+=h)a.set(b.subarray(m,m+h),4),this.extend(a,4,h),this.filter(a,4,h),b.set(a.subarray(4,4+h),m);c=16;e=[];for(k=0;k<c;k++)e.push(new Float32Array(l+8));k=0;a=4+l;if(1===l){if(0!==(d&1))for(d=0;d<h;d++)b[d]*=.5}else for(d=0;d<h;d++){if(0===k){c=Math.min(h-d,c);m=d;for(n=4;n<a;m+=h,n++)for(f=0;f<
|
957 |
+
c;f++)e[f][n]=b[m+f];k=c}k--;m=e[k];this.extend(m,4,l);this.filter(m,4,l);if(0===k)for(m=d-c+1,n=4;n<a;m+=h,n++)for(f=0;f<c;f++)b[m+f]=e[f][n]}return{width:h,height:l,items:b}};return a}(),p=function(){function a(){q.call(this)}a.prototype=Object.create(q.prototype);a.prototype.filter=function(a,b,c){c>>=1;b|=0;var d,e,f,g;d=b-3;for(e=c+4;e--;d+=2)a[d]*=.8128930661159609;d=b-2;f=.443506852043971*a[d-1];for(e=c+3;e--;d+=2)if(g=.443506852043971*a[d+1],a[d]=1.230174104914001*a[d]-f-g,e--)d+=2,f=.443506852043971*
|
958 |
+
a[d+1],a[d]=1.230174104914001*a[d]-f-g;else break;d=b-1;f=.882911075530934*a[d-1];for(e=c+2;e--;d+=2)if(g=.882911075530934*a[d+1],a[d]-=f+g,e--)d+=2,f=.882911075530934*a[d+1],a[d]-=f+g;else break;d=b;f=-.052980118572961*a[d-1];for(e=c+1;e--;d+=2)if(g=-.052980118572961*a[d+1],a[d]-=f+g,e--)d+=2,f=-.052980118572961*a[d+1],a[d]-=f+g;else break;if(0!==c)for(d=b+1,f=-1.586134342059924*a[d-1],e=c;e--;d+=2)if(g=-1.586134342059924*a[d+1],a[d]-=f+g,e--)d+=2,f=-1.586134342059924*a[d+1],a[d]-=f+g;else break};
|
959 |
+
return a}(),u=function(){function a(){q.call(this)}a.prototype=Object.create(q.prototype);a.prototype.filter=function(a,b,c){c>>=1;b|=0;var d,e;d=b;for(e=c+1;e--;d+=2)a[d]-=a[d-1]+a[d+1]+2>>2;d=b+1;for(e=c;e--;d+=2)a[d]+=a[d-1]+a[d+1]>>1};return a}();return e}(),Oe=function(){function e(){}function a(a,b,c){this.data=a;this.start=b;this.end=c}function c(a,b,c){function d(a){for(var b=0,g=0;g<a;g++){var h=c.readBit(e,f);f=256>f?f<<1|h:(f<<1|h)&511|256;b=b<<1|h}return b>>>0}var e=a.getContexts(b),f=
|
960 |
+
1;a=d(1);b=d(1)?d(1)?d(1)?d(1)?d(1)?d(32)+4436:d(12)+340:d(8)+84:d(6)+20:d(4)+4:d(2);return 0===a?b:0<b?-b:null}function b(a,b,c){a=a.getContexts("IAID");for(var d=1,e=0;e<c;e++)var f=b.readBit(a,d),d=d<<1|f;return 31>c?d&(1<<c)-1:d&2147483647}function d(a,b,c){var d=c.decoder;c=c.contextCache.getContexts("GB");var e,f,g,h,l,k,m,n=[];for(f=0;f<b;f++)for(l=n[f]=new Uint8Array(a),k=1>f?l:n[f-1],m=2>f?l:n[f-2],e=m[0]<<13|m[1]<<12|m[2]<<11|k[0]<<7|k[1]<<6|k[2]<<5|k[3]<<4,g=0;g<a;g++)l[g]=h=d.readBit(c,
|
961 |
+
e),e=(e&31735)<<1|m[g+3]<<11|k[g+4]<<4|h;return n}function f(a,b,c,e,f,g,h,l){a&&G("JBIG2 error: MMR encoding is not supported");if(0===e&&!g&&!f&&4===h.length&&3===h[0].x&&-1===h[0].y&&-3===h[1].x&&-1===h[1].y&&2===h[2].x&&-2===h[2].y&&-2===h[3].x&&-2===h[3].y)return d(b,c,l);a=!!g;var k=m[e].concat(h);k.sort(function(a,b){return a.y-b.y||a.x-b.x});h=k.length;var n=new Int8Array(h),r=new Int8Array(h),q=[],t=0,x=0,W=0,K=0,D,z;for(z=0;z<h;z++)n[z]=k[z].x,r[z]=k[z].y,x=Math.min(x,k[z].x),W=Math.max(W,
|
962 |
+
k[z].x),K=Math.min(K,k[z].y),z<h-1&&k[z].y===k[z+1].y&&k[z].x===k[z+1].x-1?t|=1<<h-1-z:q.push(z);var L=q.length,Q=new Int8Array(L),N=new Int8Array(L),R=new Uint16Array(L);for(D=0;D<L;D++)z=q[D],Q[D]=k[z].x,N[D]=k[z].y,R[D]=1<<h-1-z;k=-x;K=-K;W=b-W;e=v[e];q=new Uint8Array(b);x=[];D=l.decoder;l=l.contextCache.getContexts("GB");for(var T=0,P,U,aa,Y=0,V,X=0;X<c;X++){if(f&&(z=D.readBit(l,e),T^=z)){x.push(q);continue}q=new Uint8Array(q);x.push(q);for(P=0;P<b;P++)if(a&&g[X][P])q[P]=0;else{if(P>=k&&P<W&&
|
963 |
+
X>=K)for(Y=Y<<1&t,z=0;z<L;z++){if(U=X+N[z],aa=P+Q[z],U=x[U][aa])U=R[z],Y|=U}else for(Y=0,V=h-1,z=0;z<h;z++,V--)aa=P+n[z],0<=aa&&aa<b&&(U=X+r[z],0<=U&&(U=x[U][aa])&&(Y|=U<<V));z=D.readBit(l,Y);q[P]=z}}return x}function g(a,b,c,d,e,f,g,h,l){var k=t[c].coding;0===c&&(k=k.concat([h[0]]));var m=k.length,n=new Int32Array(m),r=new Int32Array(m),v;for(v=0;v<m;v++)n[v]=k[v].x,r[v]=k[v].y;var x=t[c].reference;0===c&&(x=x.concat([h[1]]));h=x.length;var k=new Int32Array(h),K=new Int32Array(h);for(v=0;v<h;v++)k[v]=
|
964 |
+
x[v].x,K[v]=x[v].y;var x=d[0].length,D=d.length;c=q[c];var z=[],L=l.decoder;l=l.contextCache.getContexts("GR");for(var Q=0,N=0;N<b;N++){g&&(v=L.readBit(l,c),(Q^=v)&&G("JBIG2 error: prediction is not supported"));var R=new Uint8Array(a);z.push(R);for(var T=0;T<a;T++){var P,U,aa=0;for(v=0;v<m;v++)P=N+r[v],U=T+n[v],aa=0>P||0>U||U>=a?aa<<1:aa<<1|z[P][U];for(v=0;v<h;v++)P=N+K[v]+f,U=T+k[v]+e,aa=0>P||P>=D||0>U||U>=x?aa<<1:aa<<1|d[P][U];v=L.readBit(l,aa);R[T]=v}}return z}function h(a,d,e,f,h,l,k,m,n,r,q,
|
965 |
+
t,v,x,D,K,L){a&&G("JBIG2 error: huffman is not supported");a=[];var z;for(x=0;x<f;x++){z=new Uint8Array(e);if(h)for(var N=0;N<e;N++)z[N]=h;a.push(z)}f=L.decoder;h=L.contextCache;var N=-c(h,"IADT",f),Q=0;for(x=0;x<l;){var P=c(h,"IADT",f),N=N+P,P=c(h,"IAFS",f),P=Q+=P;do{var R=1===k?0:c(h,"IAIT",f);z=k*N+R;var R=b(h,f,n),T=d&&c(h,"IARI",f),R=m[R],U=R[0].length,X=R.length;if(T)var T=c(h,"IARDW",f),aa=c(h,"IARDH",f),Y=c(h,"IARDX",f),V=c(h,"IARDY",f),U=U+T,X=X+aa,R=g(U,X,D,R,(T>>1)+Y,(aa>>1)+V,!1,K,L);
|
966 |
+
var T=z-(t&1?0:X),aa=P-(t&2?U:0),ba;if(r){for(Y=0;Y<X;Y++)if(z=a[aa+Y]){ba=R[Y];var da=Math.min(e-T,U);switch(v){case 0:for(V=0;V<da;V++)z[T+V]|=ba[V];break;case 2:for(V=0;V<da;V++)z[T+V]^=ba[V];break;default:G("JBIG2 error: operator "+v+" is not supported")}}P+=X-1}else{for(V=0;V<X;V++)if(z=a[T+V])switch(ba=R[V],v){case 0:for(Y=0;Y<U;Y++)z[aa+Y]|=ba[Y];break;case 2:for(Y=0;Y<U;Y++)z[aa+Y]^=ba[Y];break;default:G("JBIG2 error: operator "+v+" is not supported")}P+=U-1}x++;R=c(h,"IADS",f);if(null===
|
967 |
+
R)break;P+=R+q}while(1)}return a}function l(a,b){return{width:ia(a,b),height:ia(a,b+4),x:ia(a,b+8),y:ia(a,b+12),combinationOperator:a[b+16]&7}}function n(){}function k(){}e.prototype={getContexts:function(a){return a in this?this[a]:this[a]=new Int8Array(65536)}};a.prototype={get decoder(){var a=new Gd(this.data,this.start,this.end);return fa(this,"decoder",a)},get contextCache(){var a=new e;return fa(this,"contextCache",a)}};var r=["SymbolDictionary",null,null,null,"IntermediateTextRegion",null,
|
968 |
+
"ImmediateTextRegion","ImmediateLosslessTextRegion",null,null,null,null,null,null,null,null,"patternDictionary",null,null,null,"IntermediateHalftoneRegion",null,"ImmediateHalftoneRegion","ImmediateLosslessHalftoneRegion",null,null,null,null,null,null,null,null,null,null,null,null,"IntermediateGenericRegion",null,"ImmediateGenericRegion","ImmediateLosslessGenericRegion","IntermediateGenericRefinementRegion",null,"ImmediateGenericRefinementRegion","ImmediateLosslessGenericRefinementRegion",null,null,
|
969 |
+
null,null,"PageInformation","EndOfPage","EndOfStripe","EndOfFile","Profiles","Tables",null,null,null,null,null,null,null,null,"Extension"],m=[[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:2,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-2,
|
970 |
+
y:0},{x:-1,y:0}],[{x:-3,y:-1},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}]],t=[{coding:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:-1,y:1},{x:0,y:1},{x:1,y:1}]},{coding:[{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:0,y:1},{x:1,y:1}]}],v=[39717,1941,229,405],q=[32,8];n.prototype={onPageInformation:function(a){this.currentPageInfo=a;var b=new Uint8Array((a.width+
|
971 |
+
7>>3)*a.height);if(a.defaultPixelValue){a=0;for(var c=b.length;a<c;a++)b[a]=255}this.buffer=b},drawBitmap:function(a,b){var c=this.currentPageInfo,d=a.width,e=a.height,f=c.width+7>>3,g=c.combinationOperatorOverride?a.combinationOperator:c.combinationOperator,c=this.buffer,h=128>>(a.x&7),l=a.y*f+(a.x>>3),k,m,n;switch(g){case 0:for(g=0;g<e;g++){m=h;n=l;for(k=0;k<d;k++)b[g][k]&&(c[n]|=m),m>>=1,m||(m=128,n++);l+=f}break;case 2:for(g=0;g<e;g++){m=h;n=l;for(k=0;k<d;k++)b[g][k]&&(c[n]^=m),m>>=1,m||(m=128,
|
972 |
+
n++);l+=f}break;default:G("JBIG2 error: operator "+g+" is not supported")}},onImmediateGenericRegion:function(b,c,d,e){var g=b.info;c=new a(c,d,e);b=f(b.mmr,g.width,g.height,b.template,b.prediction,null,b.at,c);this.drawBitmap(g,b)},onImmediateLosslessGenericRegion:function(){this.onImmediateGenericRegion.apply(this,arguments)},onSymbolDictionary:function(d,e,l,k,m,n){d.huffman&&G("JBIG2 error: huffman is not supported");var r=this.symbols;r||(this.symbols=r={});for(var q=[],t=0,v=l.length;t<v;t++)q=
|
973 |
+
q.concat(r[l[t]]);n=new a(k,m,n);t=d.huffman;v=d.refinement;l=q;var q=d.numberOfNewSymbols,x=d.template,I=d.at,O=d.refinementTemplate,M=d.refinementAt;t&&G("JBIG2 error: huffman is not supported");d=[];var D=0,K=nb(l.length+q);k=n.decoder;for(m=n.contextCache;d.length<q;)for(var L=c(m,"IADH",k),D=D+L,L=0;;){var z=c(m,"IADW",k);if(null===z)break;L+=z;if(v)if(z=c(m,"IAAI",k),1<z)z=h(t,v,L,D,0,z,1,l.concat(d),K,0,0,1,0,void 0,O,M,n);else var z=b(m,k,K),N=c(m,"IARDX",k),P=c(m,"IARDY",k),z=g(L,D,O,z<l.length?
|
974 |
+
l[z]:d[z-l.length],N,P,!1,M,n);else z=f(!1,L,D,x,!1,null,I,n);d.push(z)}n=[];t=[];v=!1;for(x=l.length+q;t.length<x;){for(I=c(m,"IAEX",k);I--;)t.push(v);v=!v}k=0;for(m=l.length;k<m;k++)t[k]&&n.push(l[k]);for(l=0;l<q;k++,l++)t[k]&&n.push(d[l]);r[e]=n},onImmediateTextRegion:function(b,c,d,e,f){for(var g=b.info,l=this.symbols,k=[],m=0,n=c.length;m<n;m++)k=k.concat(l[c[m]]);c=nb(k.length);d=new a(d,e,f);b=h(b.huffman,b.refinement,g.width,g.height,b.defaultPixelValue,b.numberOfSymbolInstances,b.stripSize,
|
975 |
+
k,c,b.transposed,b.dsOffset,b.referenceCorner,b.combinationOperator,void 0,b.refinementTemplate,b.refinementAt,d);this.drawBitmap(g,b)},onImmediateLosslessTextRegion:function(){this.onImmediateTextRegion.apply(this,arguments)}};k.prototype={parseChunks:function(a){for(var b=new n,c=0,d=a.length;c<d;c++){for(var e=a[c],f={},g=e.data,h=e.end,k=[],m=e.start;m<h;){var e=g,q=m,m={};m.number=ia(e,q);var t=e[q+4],v=t&63;r[v]||G("JBIG2 error: invalid segment type: "+v);m.type=v;m.typeName=r[v];m.deferredNonRetain=
|
976 |
+
!!(t&128);var t=!!(t&64),x=e[q+5],D=x>>5&7,K=[x&31],q=q+6;if(7===x)for(D=ia(e,q-1)&536870911,q+=3,x=D+7>>3,K[0]=e[q++];0<--x;)K.push(e[q++]);else 5!==x&&6!==x||G("JBIG2 error: invalid referred-to flags");m.retainBits=K;for(var L=256>=m.number?1:65536>=m.number?2:4,z=[],x=K=void 0,K=0;K<D;K++)x=1===L?e[q]:2===L?Ea(e,q):ia(e,q),z.push(x),q+=L;m.referredTo=z;t?(m.pageAssociation=ia(e,q),q+=4):m.pageAssociation=e[q++];m.length=ia(e,q);q+=4;if(4294967295===m.length)if(38===v){t=l(e,q);D=!!(e[q+17]&1);
|
977 |
+
v=new Uint8Array(6);D||(v[0]=255,v[1]=172);v[2]=t.height>>>24&255;v[3]=t.height>>16&255;v[4]=t.height>>8&255;v[5]=t.height&255;K=q;for(x=e.length;K<x;K++){for(t=0;6>t&&v[t]===e[K+t];)t++;if(6===t){m.length=K+6;break}}4294967295===m.length&&G("JBIG2 error: segment end was not found")}else G("JBIG2 error: invalid unknown segment length");m.headerEnd=q;e=m;m=e.headerEnd;q={header:e,data:g};f.randomAccess||(q.start=m,m+=e.length,q.end=m);k.push(q);if(51===e.type)break}if(f.randomAccess)for(f=0,g=k.length;f<
|
978 |
+
g;f++)k[f].start=m,m+=k[f].header.length,k[f].end=m;f=b;g=0;for(h=k.length;g<h;g++){t=k[g];e=f;m=t.header;q=t.data;v=t.start;t=t.end;x=K=D=L=void 0;switch(m.type){case 0:L={};D=Ea(q,v);L.huffman=!!(D&1);L.refinement=!!(D&2);L.huffmanDHSelector=D>>2&3;L.huffmanDWSelector=D>>4&3;L.bitmapSizeSelector=D>>6&1;L.aggregationInstancesSelector=D>>7&1;L.bitmapCodingContextUsed=!!(D&256);L.bitmapCodingContextRetained=!!(D&512);L.template=D>>10&3;L.refinementTemplate=D>>12&1;v+=2;if(!L.huffman){x=0===L.template?
|
979 |
+
4:1;D=[];for(K=0;K<x;K++)D.push({x:q[v]<<24>>24,y:q[v+1]<<24>>24}),v+=2;L.at=D}if(L.refinement&&!L.refinementTemplate){D=[];for(K=0;2>K;K++)D.push({x:q[v]<<24>>24,y:q[v+1]<<24>>24}),v+=2;L.refinementAt=D}L.numberOfExportedSymbols=ia(q,v);v+=4;L.numberOfNewSymbols=ia(q,v);v+=4;L=[L,m.number,m.referredTo,q,v,t];break;case 6:case 7:x={};x.info=l(q,v);v+=17;D=Ea(q,v);v+=2;x.huffman=!!(D&1);x.refinement=!!(D&2);x.stripSize=1<<(D>>2&3);x.referenceCorner=D>>4&3;x.transposed=!!(D&64);x.combinationOperator=
|
980 |
+
D>>7&3;x.defaultPixelValue=D>>9&1;x.dsOffset=D<<17>>27;x.refinementTemplate=D>>15&1;x.huffman&&(D=Ea(q,v),v+=2,x.huffmanFS=D&3,x.huffmanDS=D>>2&3,x.huffmanDT=D>>4&3,x.huffmanRefinementDW=D>>6&3,x.huffmanRefinementDH=D>>8&3,x.huffmanRefinementDX=D>>10&3,x.huffmanRefinementDY=D>>12&3,x.huffmanRefinementSizeSelector=!!(D&14));if(x.refinement&&!x.refinementTemplate){D=[];for(K=0;2>K;K++)D.push({x:q[v]<<24>>24,y:q[v+1]<<24>>24}),v+=2;x.refinementAt=D}x.numberOfSymbolInstances=ia(q,v);v+=4;x.huffman&&G("JBIG2 error: huffman is not supported");
|
981 |
+
L=[x,m.referredTo,q,v,t];break;case 38:case 39:L={};L.info=l(q,v);v+=17;D=q[v++];L.mmr=!!(D&1);L.template=D>>1&3;L.prediction=!!(D&8);if(!L.mmr){x=0===L.template?4:1;D=[];for(K=0;K<x;K++)D.push({x:q[v]<<24>>24,y:q[v+1]<<24>>24}),v+=2;L.at=D}L=[L,q,v,t];break;case 48:t={width:ia(q,v),height:ia(q,v+4),resolutionX:ia(q,v+8),resolutionY:ia(q,v+12)};4294967295===t.height&&delete t.height;D=q[v+16];Ea(q,v+17);t.lossless=!!(D&1);t.refinement=!!(D&2);t.defaultPixelValue=D>>2&1;t.combinationOperator=D>>3&
|
982 |
+
3;t.requiresBuffer=!!(D&32);t.combinationOperatorOverride=!!(D&64);L=[t];break;case 49:break;case 50:break;case 51:break;case 62:break;default:G("JBIG2 error: segment type "+m.typeName+"("+m.type+") is not implemented")}m="on"+m.typeName;m in e&&e[m].apply(e,L)}}return b.buffer}};return k}();PDFJS.bidi=function(){function e(a,b,c){for(--c;b<c;++b,--c){var d=a[b];a[b]=a[c];a[c]=d}}function a(a,b,c){return{str:a,dir:c?"ttb":b?"ltr":"rtl"}}var c="BN BN BN BN BN BN BN BN BN S B S WS B BN BN BN BN BN BN BN BN BN BN BN BN BN BN B B B S WS ON ON ET ET ET ON ON ON ON ON ON CS ON CS ON EN EN EN EN EN EN EN EN EN EN ON ON ON ON ON ON ON L L L L L L L L L L L L L L L L L L L L L L L L L L ON ON ON ON ON ON L L L L L L L L L L L L L L L L L L L L L L L L L L ON ON ON ON BN BN BN BN BN BN B BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN BN CS ON ET ET ET ET ON ON ON ON L ON ON ON ON ON ET ET EN EN ON L ON ON ON EN L ON ON ON ON ON L L L L L L L L L L L L L L L L L L L L L L L ON L L L L L L L L L L L L L L L L L L L L L L L L L L L L L L L ON L L L L L L L L".split(" "),
|
983 |
+
b="AL AL AL AL AL AL AL AL AL AL AL AL CS AL ON ON NSM NSM NSM NSM NSM NSM AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM AL AL AL AL AL AL AL AN AN AN AN AN AN AN AN AN AN ET AN AN AL AL AL NSM AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM NSM ON NSM NSM NSM NSM AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL".split(" "),
|
984 |
+
d=[],f=[];return function(g,h,l){var n=!0,k=g.length;if(0===k||l)return a(g,n,l);d.length=k;f.length=k;var r=0;for(l=0;l<k;++l){d[l]=g.charAt(l);var m=g.charCodeAt(l),t="L";255>=m?t=c[m]:1424<=m&&1524>=m?t="R":1536<=m&&1791>=m?t=b[m&255]:1792<=m&&2220>=m&&(t="AL");"R"!==t&&"AL"!==t&&"AN"!==t||r++;f[l]=t}if(0===r)return a(g,!0);-1===h&&(.3>k/r?(n=!0,h=0):(n=!1,h=1));g=[];for(l=0;l<k;++l)g[l]=h;r=h=0!==(h&1)?"R":"L";for(l=0;l<k;++l)"NSM"===f[l]?f[l]=r:r=f[l];r=h;for(l=0;l<k;++l)if(m=f[l],"EN"===m)f[l]=
|
985 |
+
"AL"===r?"AN":"EN";else if("R"===m||"L"===m||"AL"===m)r=m;for(l=0;l<k;++l)m=f[l],"AL"===m&&(f[l]="R");for(l=1;l<k-1;++l)"ES"===f[l]&&"EN"===f[l-1]&&"EN"===f[l+1]&&(f[l]="EN"),"CS"!==f[l]||"EN"!==f[l-1]&&"AN"!==f[l-1]||f[l+1]!==f[l-1]||(f[l]=f[l-1]);for(l=0;l<k;++l)if("EN"===f[l]){for(r=l-1;0<=r&&"ET"===f[r];--r)f[r]="EN";for(r=l+1;r<k&&"ET"===f[r];--r)f[r]="EN"}for(l=0;l<k;++l)if(m=f[l],"WS"===m||"ES"===m||"ET"===m||"CS"===m)f[l]="ON";r=h;for(l=0;l<k;++l)if(m=f[l],"EN"===m)f[l]="L"===r?"L":"EN";else if("R"===
|
986 |
+
m||"L"===m)r=m;for(l=0;l<k;++l)if("ON"===f[l]){a:for(r=l+1,m=f.length;r<m;++r)if("ON"!==f[r])break a;var v=h;0<l&&(v=f[l-1]);m=h;r+1<k&&(m=f[r+1]);"L"!==v&&(v="R");"L"!==m&&(m="R");if(v===m)for(m=f,t=r;l<t;++l)m[l]=v;l=r-1}for(l=0;l<k;++l)"ON"===f[l]&&(f[l]=h);for(l=0;l<k;++l)if(m=f[l],0===(g[l]&1))if("R"===m)g[l]+=1;else{if("AN"===m||"EN"===m)g[l]+=2}else if("L"===m||"AN"===m||"EN"===m)g[l]+=1;m=-1;h=99;l=0;for(k=g.length;l<k;++l)r=g[l],m<r&&(m=r),h>r&&0!==(r&1)&&(h=r);for(r=m;r>=h;--r){m=-1;l=0;
|
987 |
+
for(k=g.length;l<k;++l)g[l]<r?0<=m&&(e(d,m,l),m=-1):0>m&&(m=l);0<=m&&e(d,m,g.length)}g="";l=0;for(k=d.length;l<k;++l)h=d[l],"<"!==h&&">"!==h&&(g+=h);return a(g,n)}}();"use strict";var ve=function(e){function a(a){this.h1=a?a&4294967295:3285377520;this.h2=a?a&4294967295:3285377520}var c=!1;try{new Uint32Array((new Uint8Array(5)).buffer,0,1)}catch(b){c=!0}a.prototype={update:function(a){var b=c,e;if("string"===typeof a){var h=new Uint8Array(2*a.length),l=0;for(e=0;e<a.length;e++){var n=a.charCodeAt(e);
|
988 |
+
255>=n?h[l++]=n:(h[l++]=n>>>8,h[l++]=n&255)}}else if(a instanceof Uint8Array)h=a,l=h.length;else if("object"===typeof a&&"length"in a)h=a,l=h.length,b=!0;else throw Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");a=l>>2;var l=l-4*a,b=b?new Ld(h,a):new Uint32Array(h.buffer,0,a),k=0,k=0,n=this.h1,r=this.h2;for(e=0;e<a;e++)e&1?(k=b[e],k=3432918353*k&4294901760|11601*k&65535,k=k<<15|k>>>17,k=461845907*k&4294901760|13715*k&65535,n^=k,n=n<<13|n>>>19,n=5*n+3864292196):
|
989 |
+
(k=b[e],k=3432918353*k&4294901760|11601*k&65535,k=k<<15|k>>>17,k=461845907*k&4294901760|13715*k&65535,r^=k,r=r<<13|r>>>19,r=5*r+3864292196);k=0;switch(l){case 3:k^=h[4*a+2]<<16;case 2:k^=h[4*a+1]<<8;case 1:k^=h[4*a],k=3432918353*k&4294901760|11601*k&65535,k=k<<15|k>>>17,k=461845907*k&4294901760|13715*k&65535,a&1?n^=k:r^=k}this.h1=n;this.h2=r;return this},hexdigest:function(){for(var a=this.h1,b=this.h2,a=a^b>>>1,a=3981806797*a&4294901760|36045*a&65535,b=4283543511*b&4294901760|(2950163797*(b<<16|
|
990 |
+
a>>>16)&4294901760)>>>16,a=a^b>>>1,a=444984403*a&4294901760|60499*a&65535,b=3301882366*b&4294901760|(3120437893*(b<<16|a>>>16)&4294901760)>>>16,c=0,a=[a^b>>>1,b],b="";c<a.length;c++){for(var e=(a[c]>>>0).toString(16);8>e.length;)e="0"+e;b+=e}return b}};return a}()}).call("undefined"===typeof window?this:window);PDFJS.workerSrc||"undefined"===typeof document||(PDFJS.workerSrc=function(){var R=(document.body||document.getElementsByTagName("head")[0]).lastChild.src;return R&&R.replace(/\.js$/i,".worker.js")}());
|
pdf_embedder.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: PDF Embedder
|
5 |
* Plugin URI: http://wp-glogin.com/pdf-embedder
|
6 |
* Description: Embed PDFs straight into your posts and pages, with flexible width and height. No third-party services required.
|
7 |
-
* Version: 1.0.
|
8 |
* Author: Dan Lester
|
9 |
* Author URI: http://wp-glogin.com/
|
10 |
* License: GPL3
|
@@ -14,6 +14,10 @@ require_once( plugin_dir_path(__FILE__).'/core/core_pdf_embedder.php' );
|
|
14 |
|
15 |
class pdfemb_basic_pdf_embedder extends core_pdf_embedder {
|
16 |
|
|
|
|
|
|
|
|
|
17 |
// Singleton
|
18 |
private static $instance = null;
|
19 |
|
@@ -27,10 +31,17 @@ class pdfemb_basic_pdf_embedder extends core_pdf_embedder {
|
|
27 |
// Basic specific
|
28 |
|
29 |
public function pdfemb_wp_enqueue_scripts() {
|
30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
wp_localize_script( 'pdfemb_embed_pdf_js', 'pdfemb_trans', $this->get_translation_array() );
|
32 |
|
33 |
-
wp_register_script( 'pdfemb_pdf_js', $this->my_plugin_url().'js/pdfjs/pdf.js');
|
34 |
}
|
35 |
|
36 |
protected function get_extra_js_name() {
|
4 |
* Plugin Name: PDF Embedder
|
5 |
* Plugin URI: http://wp-glogin.com/pdf-embedder
|
6 |
* Description: Embed PDFs straight into your posts and pages, with flexible width and height. No third-party services required.
|
7 |
+
* Version: 1.0.2
|
8 |
* Author: Dan Lester
|
9 |
* Author URI: http://wp-glogin.com/
|
10 |
* License: GPL3
|
14 |
|
15 |
class pdfemb_basic_pdf_embedder extends core_pdf_embedder {
|
16 |
|
17 |
+
protected function useminified() {
|
18 |
+
/* using-minified */ return true;
|
19 |
+
}
|
20 |
+
|
21 |
// Singleton
|
22 |
private static $instance = null;
|
23 |
|
31 |
// Basic specific
|
32 |
|
33 |
public function pdfemb_wp_enqueue_scripts() {
|
34 |
+
if (!$this->useminified()) {
|
35 |
+
wp_register_script( 'pdfemb_versionspecific_pdf_js', $this->my_plugin_url().'js/pdfemb-basic.js');
|
36 |
+
wp_register_script( 'pdfemb_embed_pdf_js', $this->my_plugin_url().'js/pdfemb-embed-pdf.js', array('pdfemb_versionspecific_pdf_js', 'jquery') );
|
37 |
+
}
|
38 |
+
else {
|
39 |
+
wp_register_script( 'pdfemb_embed_pdf_js', $this->my_plugin_url().'js/all-pdfemb-basic.min.js', array('jquery') );
|
40 |
+
}
|
41 |
+
|
42 |
wp_localize_script( 'pdfemb_embed_pdf_js', 'pdfemb_trans', $this->get_translation_array() );
|
43 |
|
44 |
+
wp_register_script( 'pdfemb_pdf_js', $this->my_plugin_url().'js/pdfjs/pdf'.($this->useminified() ? '.min' : '').'.js');
|
45 |
}
|
46 |
|
47 |
protected function get_extra_js_name() {
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: danlester
|
|
3 |
Tags: doc, docx, pdf, office, powerpoint, google, document, embed, intranet
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 4.1
|
6 |
-
Stable tag: 1.0.
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -29,13 +29,22 @@ When you insert into your post, it will appear in the editor as a 'shortcode' as
|
|
29 |
|
30 |
You can optionally override width and height as follows:
|
31 |
|
32 |
-
[pdf-embedder url="https://mysite.com/wp-content/uploads/2015/01/Plan-Summary.pdf" width="
|
33 |
|
34 |
-
Note the default
|
35 |
|
36 |
-
|
37 |
-
If you also specify a fixed height, the document may be cut off vertically and will need to be scrolled to see the whole page.
|
38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
== Screenshots ==
|
41 |
|
@@ -70,6 +79,10 @@ the Plugins section of your Wordpress admin
|
|
70 |
|
71 |
== Changelog ==
|
72 |
|
|
|
|
|
|
|
|
|
73 |
= 1.0.1 =
|
74 |
|
75 |
Added usage instructions within the settings page.
|
3 |
Tags: doc, docx, pdf, office, powerpoint, google, document, embed, intranet
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 4.1
|
6 |
+
Stable tag: 1.0.2
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
29 |
|
30 |
You can optionally override width and height as follows:
|
31 |
|
32 |
+
[pdf-embedder url="https://mysite.com/wp-content/uploads/2015/01/Plan-Summary.pdf" width="auto"]
|
33 |
|
34 |
+
Note the default value for width is 'max'.
|
35 |
|
36 |
+
Resizing works as follows:
|
|
|
37 |
|
38 |
+
* If width='max' the width will take as much space as possible within its parent container (e.g. column within your page).
|
39 |
+
* If width='auto' the width will be equal to the 'natural' width of the PDF document contents (i.e. however width the PDF says it should be by default).
|
40 |
+
* If width is a number (e.g. width='500') then it will display at that number of pixels wide.
|
41 |
+
|
42 |
+
**In all cases, if the parent container is narrower than the width calculated above, then the document width will be reduced to the size of the container.**
|
43 |
+
|
44 |
+
The height will be calculated so that the document fits naturally, given the width already calculated.
|
45 |
+
|
46 |
+
It is possible to specify a fixed height (e.g. height="200"), in which case the document may be cut off vertically and will need to be scrolled to see the whole page.
|
47 |
+
The height will be reduced to fit if it is larger than needed to display the document correctly.
|
48 |
|
49 |
== Screenshots ==
|
50 |
|
79 |
|
80 |
== Changelog ==
|
81 |
|
82 |
+
= 1.0.2 =
|
83 |
+
|
84 |
+
Minified Javascript code. Default width/height (now "max") expands to fill parent container width regardless of the natural size of the document. Use width="auto" to obtain the old behavior.
|
85 |
+
|
86 |
= 1.0.1 =
|
87 |
|
88 |
Added usage instructions within the settings page.
|