ofd-view 0.2.16 → 0.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +116 -116
- package/lib/images/annotation-check.svg +11 -11
- package/lib/images/annotation-comment.svg +16 -16
- package/lib/images/annotation-help.svg +26 -26
- package/lib/images/annotation-insert.svg +10 -10
- package/lib/images/annotation-key.svg +11 -11
- package/lib/images/annotation-newparagraph.svg +11 -11
- package/lib/images/annotation-noicon.svg +7 -7
- package/lib/images/annotation-note.svg +42 -42
- package/lib/images/annotation-paragraph.svg +16 -16
- package/lib/images/findbarButton-next.svg +3 -3
- package/lib/images/findbarButton-previous.svg +3 -3
- package/lib/images/loading-dark.svg +23 -23
- package/lib/images/secondaryToolbarButton-documentProperties.svg +14 -14
- package/lib/images/secondaryToolbarButton-rotateCw.svg +3 -3
- package/lib/images/secondaryToolbarButton-selectTool.svg +3 -3
- package/lib/images/toolbarButton-download.svg +3 -3
- package/lib/images/toolbarButton-openFile.svg +3 -3
- package/lib/images/toolbarButton-pageDown.svg +6 -6
- package/lib/images/toolbarButton-pageUp.svg +11 -11
- package/lib/images/toolbarButton-print.svg +3 -3
- package/lib/images/toolbarButton-search.svg +3 -3
- package/lib/images/toolbarButton-secondaryToolbarToggle.svg +3 -3
- package/lib/images/toolbarButton-sidebarToggle.svg +3 -3
- package/lib/images/toolbarButton-viewThumbnail.svg +3 -3
- package/lib/images/toolbarButton-zoomIn.svg +3 -3
- package/lib/images/toolbarButton-zoomOut.svg +3 -3
- package/lib/ofd-view.common.js +1 -1
- package/lib/ofd-view.common.js.map +1 -1
- package/lib/ofd-view.umd.js +1 -1
- package/lib/ofd-view.umd.js.map +1 -1
- package/lib/ofd-view.umd.min.js +1 -1
- package/lib/ofd-view.umd.min.js.map +1 -1
- package/lib/viewer.css +3284 -3284
- package/package.json +34 -34
@@ -1,15 +1,15 @@
|
|
1
|
-
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
-
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
-
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16
|
5
|
-
16">
|
6
|
-
<path
|
7
|
-
d="M8 16a8 8 0 1 1 8-8 8.009 8.009 0 0 1-8 8zM8 2a6 6 0 1 0 6 6 6.006 6.006 0 0 0-6-6z">
|
8
|
-
</path>
|
9
|
-
<path
|
10
|
-
d="M8 7a1 1 0 0 0-1 1v3a1 1 0 0 0 2 0V8a1 1 0 0 0-1-1z">
|
11
|
-
</path>
|
12
|
-
<circle
|
13
|
-
cx="8" cy="5" r="1.188">
|
14
|
-
</circle>
|
1
|
+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
+
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16
|
5
|
+
16">
|
6
|
+
<path
|
7
|
+
d="M8 16a8 8 0 1 1 8-8 8.009 8.009 0 0 1-8 8zM8 2a6 6 0 1 0 6 6 6.006 6.006 0 0 0-6-6z">
|
8
|
+
</path>
|
9
|
+
<path
|
10
|
+
d="M8 7a1 1 0 0 0-1 1v3a1 1 0 0 0 2 0V8a1 1 0 0 0-1-1z">
|
11
|
+
</path>
|
12
|
+
<circle
|
13
|
+
cx="8" cy="5" r="1.188">
|
14
|
+
</circle>
|
15
15
|
</svg>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
-
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
-
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
1
|
+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
+
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
4
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M15 1a1 1 0 0 0-1 1v2.418A6.995 6.995 0 1 0 8 15a6.954 6.954 0 0 0 4.95-2.05 1 1 0 0 0-1.414-1.414A5.019 5.019 0 1 1 12.549 6H10a1 1 0 0 0 0 2h5a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1z"></path></svg>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
-
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
-
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
1
|
+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
+
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
4
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M12.408 8.217l-8.083-6.7A.2.2 0 0 0 4 1.672V12.3a.2.2 0 0 0 .333.146l2.56-2.372 1.857 3.9A1.125 1.125 0 1 0 10.782 13L8.913 9.075l3.4-.51a.2.2 0 0 0 .095-.348z"></path></svg>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
-
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
-
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
1
|
+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
+
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
4
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M14 3h-2v2h2v8H2V5h7V3h-.849L6.584 1.538A2 2 0 0 0 5.219 1H2a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zM2 3h3.219l1.072 1H2z"></path><path d="M8.146 6.146a.5.5 0 0 0 0 .707l2 2a.5.5 0 0 0 .707 0l2-2a.5.5 0 1 0-.707-.707L11 7.293V.5a.5.5 0 0 0-1 0v6.793L8.854 6.146a.5.5 0 0 0-.708 0z"></path></svg>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
-
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
-
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
1
|
+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
+
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
4
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M14.859 3.2a1.335 1.335 0 0 1-1.217.8H13v1h1v8H2V5h8V4h-.642a1.365 1.365 0 0 1-1.325-1.11L6.584 1.538A2 2 0 0 0 5.219 1H2a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V5a2 2 0 0 0-1.141-1.8zM2 3h3.219l1.072 1H2zm7.854-.146L11 1.707V8.5a.5.5 0 0 0 1 0V1.707l1.146 1.146a.5.5 0 1 0 .707-.707l-2-2a.5.5 0 0 0-.707 0l-2 2a.5.5 0 0 0 .707.707z"></path></svg>
|
@@ -1,7 +1,7 @@
|
|
1
|
-
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
-
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
-
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16
|
5
|
-
16"><path transform='rotate(90) translate(0, -16)'
|
6
|
-
d="M15.707 7.293l-6-6a1 1 0 0 0-1.414 1.414L12.586 7H1a1 1 0 0 0 0 2h11.586l-4.293
|
1
|
+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
+
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16
|
5
|
+
16"><path transform='rotate(90) translate(0, -16)'
|
6
|
+
d="M15.707 7.293l-6-6a1 1 0 0 0-1.414 1.414L12.586 7H1a1 1 0 0 0 0 2h11.586l-4.293
|
7
7
|
4.293a1 1 0 1 0 1.414 1.414l6-6a1 1 0 0 0 0-1.414z"></path></svg>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
-
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
-
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16
|
5
|
-
16">
|
6
|
-
<path
|
7
|
-
transform='rotate(90) translate(0, -16)'
|
8
|
-
d="M15 7H3.414l4.293-4.293a1 1 0 0
|
9
|
-
0-1.414-1.414l-6 6a1 1 0 0 0 0 1.414l6 6a1 1 0 0 0 1.414-1.414L3.414 9H15a1 1 0 0
|
10
|
-
0 0-2z">
|
11
|
-
</path>
|
1
|
+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
+
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16
|
5
|
+
16">
|
6
|
+
<path
|
7
|
+
transform='rotate(90) translate(0, -16)'
|
8
|
+
d="M15 7H3.414l4.293-4.293a1 1 0 0
|
9
|
+
0-1.414-1.414l-6 6a1 1 0 0 0 0 1.414l6 6a1 1 0 0 0 1.414-1.414L3.414 9H15a1 1 0 0
|
10
|
+
0 0-2z">
|
11
|
+
</path>
|
12
12
|
</svg>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
-
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
-
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
1
|
+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
+
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
4
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M14 5h-1V1a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v4H2a2 2 0 0 0-2 2v5h3v3a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-3h3V7a2 2 0 0 0-2-2zM2.5 8a.5.5 0 1 1 .5-.5.5.5 0 0 1-.5.5zm9.5 7H4v-5h8zm0-10H4V1h8zm-6.5 7h4a.5.5 0 0 0 0-1h-4a.5.5 0 1 0 0 1zm0 2h5a.5.5 0 0 0 0-1h-5a.5.5 0 1 0 0 1z"></path></svg>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
-
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
-
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
1
|
+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
+
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
4
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M15.707 14.293l-4.822-4.822a6.019 6.019 0 1 0-1.414 1.414l4.822 4.822a1 1 0 0 0 1.414-1.414zM6 10a4 4 0 1 1 4-4 4 4 0 0 1-4 4z"></path></svg>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
-
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
-
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
1
|
+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
+
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
4
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8.707 7.293l-5-5a1 1 0 0 0-1.414 1.414L6.586 8l-4.293 4.293a1 1 0 1 0 1.414 1.414l5-5a1 1 0 0 0 0-1.414zm6 0l-5-5a1 1 0 0 0-1.414 1.414L12.586 8l-4.293 4.293a1 1 0 1 0 1.414 1.414l5-5a1 1 0 0 0 0-1.414z"></path></svg>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
-
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
-
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
1
|
+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
+
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
4
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M3 1h10a3.008 3.008 0 0 1 3 3v8a3.009 3.009 0 0 1-3 3H3a3.005 3.005 0 0 1-3-3V4a3.013 3.013 0 0 1 3-3zm11 11V4a1 1 0 0 0-1-1H8v10h5a1 1 0 0 0 1-1zM2 12a1 1 0 0 0 1 1h4V3H3a1 1 0 0 0-1 1v8z"></path><path d="M3.5 5h2a.5.5 0 0 0 0-1h-2a.5.5 0 0 0 0 1zm0 2h2a.5.5 0 0 0 0-1h-2a.5.5 0 0 0 0 1zm1 2h1a.5.5 0 0 0 0-1h-1a.5.5 0 0 0 0 1z"></path></svg>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
-
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
-
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
1
|
+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
+
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
4
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g style="--darkreader-inline-fill:rgba(81, 82, 83, 0.8);" data-darkreader-inline-fill=""><rect x="1" y="1" width="6" height="6" rx="1" ry="1"></rect><rect x="9" y="1" width="6" height="6" rx="1" ry="1"></rect><rect x="1" y="9" width="6" height="6" rx="1" ry="1"></rect><rect x="9" y="9" width="6" height="6" rx="1" ry="1"></rect></g></svg>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
-
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
-
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
1
|
+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
+
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
4
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M14 7H9V2a1 1 0 0 0-2 0v5H2a1 1 0 0 0 0 2h5v5a1 1 0 0 0 2 0V9h5a1 1 0 0 0 0-2z"></path></svg>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
-
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
-
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
1
|
+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
2
|
+
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
3
|
+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
4
4
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><rect x="2" y="7" width="12" height="2" rx="1"></rect></svg>
|
package/lib/ofd-view.common.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
!function(){var t={9662:function(t,e,i){var a=i(614),n=i(6330),r=TypeError;t.exports=function(t){if(a(t))return t;throw r(n(t)+" is not a function")}},9670:function(t,e,i){var a=i(111),n=String,r=TypeError;t.exports=function(t){if(a(t))return t;throw r(n(t)+" is not an object")}},1318:function(t,e,i){var a=i(5656),n=i(1400),r=i(6244),s=function(t){return function(e,i,s){var o,l=a(e),d=r(l),c=n(s,d);if(t&&i!=i){for(;d>c;)if((o=l[c++])!=o)return!0}else for(;d>c;c++)if((t||c in l)&&l[c]===i)return t||c||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},3658:function(t,e,i){"use strict";var a=i(9781),n=i(3157),r=TypeError,s=Object.getOwnPropertyDescriptor,o=a&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=o?function(t,e){if(n(t)&&!s(t,"length").writable)throw r("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4326:function(t,e,i){var a=i(84),n=a({}.toString),r=a("".slice);t.exports=function(t){return r(n(t),8,-1)}},9920:function(t,e,i){var a=i(2597),n=i(3887),r=i(1236),s=i(3070);t.exports=function(t,e,i){for(var o=n(e),l=s.f,d=r.f,c=0;c<o.length;c++){var u=o[c];a(t,u)||i&&a(i,u)||l(t,u,d(e,u))}}},8880:function(t,e,i){var a=i(9781),n=i(3070),r=i(9114);t.exports=a?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},8052:function(t,e,i){var a=i(614),n=i(3070),r=i(6339),s=i(3072);t.exports=function(t,e,i,o){o||(o={});var l=o.enumerable,d=void 0!==o.name?o.name:e;if(a(i)&&r(i,d,o),o.global)l?t[e]=i:s(e,i);else{try{o.unsafe?t[e]&&(l=!0):delete t[e]}catch(t){}l?t[e]=i:n.f(t,e,{value:i,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return t}},3072:function(t,e,i){var a=i(7854),n=Object.defineProperty;t.exports=function(t,e){try{n(a,t,{value:e,configurable:!0,writable:!0})}catch(i){a[t]=e}return e}},9781:function(t,e,i){var a=i(7293);t.exports=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(t){var e="object"==typeof document&&document.all,i=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:i}},317:function(t,e,i){var a=i(7854),n=i(111),r=a.document,s=n(r)&&n(r.createElement);t.exports=function(t){return s?r.createElement(t):{}}},7207:function(t){var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},8113:function(t,e,i){var a=i(5005);t.exports=a("navigator","userAgent")||""},7392:function(t,e,i){var a,n,r=i(7854),s=i(8113),o=r.process,l=r.Deno,d=o&&o.versions||l&&l.version,c=d&&d.v8;c&&(n=(a=c.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1])),!n&&s&&(!(a=s.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=s.match(/Chrome\/(\d+)/))&&(n=+a[1]),t.exports=n},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,i){var a=i(7854),n=i(1236).f,r=i(8880),s=i(8052),o=i(3072),l=i(9920),d=i(4705);t.exports=function(t,e){var i,c,u,h,p,f=t.target,m=t.global,g=t.stat;if(i=m?a:g?a[f]||o(f,{}):(a[f]||{}).prototype)for(c in e){if(h=e[c],u=t.dontCallGetSet?(p=n(i,c))&&p.value:i[c],!d(m?c:f+(g?".":"#")+c,t.forced)&&void 0!==u){if(typeof h==typeof u)continue;l(h,u)}(t.sham||u&&u.sham)&&r(h,"sham",!0),s(i,c,h,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},4374:function(t,e,i){var a=i(7293);t.exports=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,i){var a=i(4374),n=Function.prototype.call;t.exports=a?n.bind(n):function(){return n.apply(n,arguments)}},6530:function(t,e,i){var a=i(9781),n=i(2597),r=Function.prototype,s=a&&Object.getOwnPropertyDescriptor,o=n(r,"name"),l=o&&"something"===function(){}.name,d=o&&(!a||a&&s(r,"name").configurable);t.exports={EXISTS:o,PROPER:l,CONFIGURABLE:d}},84:function(t,e,i){var a=i(4374),n=Function.prototype,r=n.call,s=a&&n.bind.bind(r,r);t.exports=function(t){return a?s(t):function(){return r.apply(t,arguments)}}},1702:function(t,e,i){var a=i(4326),n=i(84);t.exports=function(t){if("Function"===a(t))return n(t)}},5005:function(t,e,i){var a=i(7854),n=i(614);t.exports=function(t,e){return arguments.length<2?(i=a[t],n(i)?i:void 0):a[t]&&a[t][e];var i}},8173:function(t,e,i){var a=i(9662),n=i(8554);t.exports=function(t,e){var i=t[e];return n(i)?void 0:a(i)}},7854:function(t,e,i){var a=function(t){return t&&t.Math==Math&&t};t.exports=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof i.g&&i.g)||function(){return this}()||Function("return this")()},2597:function(t,e,i){var a=i(1702),n=i(7908),r=a({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return r(n(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,i){var a=i(9781),n=i(7293),r=i(317);t.exports=!a&&!n((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,i){var a=i(1702),n=i(7293),r=i(4326),s=Object,o=a("".split);t.exports=n((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?o(t,""):s(t)}:s},2788:function(t,e,i){var a=i(1702),n=i(614),r=i(5465),s=a(Function.toString);n(r.inspectSource)||(r.inspectSource=function(t){return s(t)}),t.exports=r.inspectSource},9909:function(t,e,i){var a,n,r,s=i(4811),o=i(7854),l=i(111),d=i(8880),c=i(2597),u=i(5465),h=i(6200),p=i(3501),f="Object already initialized",m=o.TypeError,g=o.WeakMap;if(s||u.state){var v=u.state||(u.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,a=function(t,e){if(v.has(t))throw m(f);return e.facade=t,v.set(t,e),e},n=function(t){return v.get(t)||{}},r=function(t){return v.has(t)}}else{var b=h("state");p[b]=!0,a=function(t,e){if(c(t,b))throw m(f);return e.facade=t,d(t,b,e),e},n=function(t){return c(t,b)?t[b]:{}},r=function(t){return c(t,b)}}t.exports={set:a,get:n,has:r,enforce:function(t){return r(t)?n(t):a(t,{})},getterFor:function(t){return function(e){var i;if(!l(e)||(i=n(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return i}}}},3157:function(t,e,i){var a=i(4326);t.exports=Array.isArray||function(t){return"Array"==a(t)}},614:function(t,e,i){var a=i(4154),n=a.all;t.exports=a.IS_HTMLDDA?function(t){return"function"==typeof t||t===n}:function(t){return"function"==typeof t}},4705:function(t,e,i){var a=i(7293),n=i(614),r=/#|\.prototype\./,s=function(t,e){var i=l[o(t)];return i==c||i!=d&&(n(e)?a(e):!!e)},o=s.normalize=function(t){return String(t).replace(r,".").toLowerCase()},l=s.data={},d=s.NATIVE="N",c=s.POLYFILL="P";t.exports=s},8554:function(t){t.exports=function(t){return null==t}},111:function(t,e,i){var a=i(614),n=i(4154),r=n.all;t.exports=n.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:a(t)||t===r}:function(t){return"object"==typeof t?null!==t:a(t)}},1913:function(t){t.exports=!1},2190:function(t,e,i){var a=i(5005),n=i(614),r=i(7976),s=i(3307),o=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=a("Symbol");return n(e)&&r(e.prototype,o(t))}},6244:function(t,e,i){var a=i(7466);t.exports=function(t){return a(t.length)}},6339:function(t,e,i){var a=i(7293),n=i(614),r=i(2597),s=i(9781),o=i(6530).CONFIGURABLE,l=i(2788),d=i(9909),c=d.enforce,u=d.get,h=Object.defineProperty,p=s&&!a((function(){return 8!==h((function(){}),"length",{value:8}).length})),f=String(String).split("String"),m=t.exports=function(t,e,i){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(e="get "+e),i&&i.setter&&(e="set "+e),(!r(t,"name")||o&&t.name!==e)&&(s?h(t,"name",{value:e,configurable:!0}):t.name=e),p&&i&&r(i,"arity")&&t.length!==i.arity&&h(t,"length",{value:i.arity});try{i&&r(i,"constructor")&&i.constructor?s&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var a=c(t);return r(a,"source")||(a.source=f.join("string"==typeof e?e:"")),t};Function.prototype.toString=m((function(){return n(this)&&u(this).source||l(this)}),"toString")},4758:function(t){var e=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var a=+t;return(a>0?i:e)(a)}},3070:function(t,e,i){var a=i(9781),n=i(4664),r=i(3353),s=i(9670),o=i(4948),l=TypeError,d=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u="enumerable",h="configurable",p="writable";e.f=a?r?function(t,e,i){if(s(t),e=o(e),s(i),"function"==typeof t&&"prototype"===e&&"value"in i&&p in i&&!i[p]){var a=c(t,e);a&&a[p]&&(t[e]=i.value,i={configurable:h in i?i[h]:a[h],enumerable:u in i?i[u]:a[u],writable:!1})}return d(t,e,i)}:d:function(t,e,i){if(s(t),e=o(e),s(i),n)try{return d(t,e,i)}catch(t){}if("get"in i||"set"in i)throw l("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},1236:function(t,e,i){var a=i(9781),n=i(6916),r=i(5296),s=i(9114),o=i(5656),l=i(4948),d=i(2597),c=i(4664),u=Object.getOwnPropertyDescriptor;e.f=a?u:function(t,e){if(t=o(t),e=l(e),c)try{return u(t,e)}catch(t){}if(d(t,e))return s(!n(r.f,t,e),t[e])}},8006:function(t,e,i){var a=i(6324),n=i(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return a(t,n)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,i){var a=i(1702);t.exports=a({}.isPrototypeOf)},6324:function(t,e,i){var a=i(1702),n=i(2597),r=i(5656),s=i(1318).indexOf,o=i(3501),l=a([].push);t.exports=function(t,e){var i,a=r(t),d=0,c=[];for(i in a)!n(o,i)&&n(a,i)&&l(c,i);for(;e.length>d;)n(a,i=e[d++])&&(~s(c,i)||l(c,i));return c}},5296:function(t,e){"use strict";var i={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,n=a&&!i.call({1:2},1);e.f=n?function(t){var e=a(this,t);return!!e&&e.enumerable}:i},2140:function(t,e,i){var a=i(6916),n=i(614),r=i(111),s=TypeError;t.exports=function(t,e){var i,o;if("string"===e&&n(i=t.toString)&&!r(o=a(i,t)))return o;if(n(i=t.valueOf)&&!r(o=a(i,t)))return o;if("string"!==e&&n(i=t.toString)&&!r(o=a(i,t)))return o;throw s("Can't convert object to primitive value")}},3887:function(t,e,i){var a=i(5005),n=i(1702),r=i(8006),s=i(5181),o=i(9670),l=n([].concat);t.exports=a("Reflect","ownKeys")||function(t){var e=r.f(o(t)),i=s.f;return i?l(e,i(t)):e}},4488:function(t,e,i){var a=i(8554),n=TypeError;t.exports=function(t){if(a(t))throw n("Can't call method on "+t);return t}},6200:function(t,e,i){var a=i(2309),n=i(9711),r=a("keys");t.exports=function(t){return r[t]||(r[t]=n(t))}},5465:function(t,e,i){var a=i(7854),n=i(3072),r="__core-js_shared__",s=a[r]||n(r,{});t.exports=s},2309:function(t,e,i){var a=i(1913),n=i(5465);(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.25.5",mode:a?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,i){var a=i(7392),n=i(7293);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},1400:function(t,e,i){var a=i(9303),n=Math.max,r=Math.min;t.exports=function(t,e){var i=a(t);return i<0?n(i+e,0):r(i,e)}},5656:function(t,e,i){var a=i(8361),n=i(4488);t.exports=function(t){return a(n(t))}},9303:function(t,e,i){var a=i(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:a(e)}},7466:function(t,e,i){var a=i(9303),n=Math.min;t.exports=function(t){return t>0?n(a(t),9007199254740991):0}},7908:function(t,e,i){var a=i(4488),n=Object;t.exports=function(t){return n(a(t))}},7593:function(t,e,i){var a=i(6916),n=i(111),r=i(2190),s=i(8173),o=i(2140),l=i(5112),d=TypeError,c=l("toPrimitive");t.exports=function(t,e){if(!n(t)||r(t))return t;var i,l=s(t,c);if(l){if(void 0===e&&(e="default"),i=a(l,t,e),!n(i)||r(i))return i;throw d("Can't convert object to primitive value")}return void 0===e&&(e="number"),o(t,e)}},4948:function(t,e,i){var a=i(7593),n=i(2190);t.exports=function(t){var e=a(t,"string");return n(e)?e:e+""}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},9711:function(t,e,i){var a=i(1702),n=0,r=Math.random(),s=a(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++n+r,36)}},3307:function(t,e,i){var a=i(6293);t.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,i){var a=i(9781),n=i(7293);t.exports=a&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,i){var a=i(7854),n=i(614),r=a.WeakMap;t.exports=n(r)&&/native code/.test(String(r))},5112:function(t,e,i){var a=i(7854),n=i(2309),r=i(2597),s=i(9711),o=i(6293),l=i(3307),d=n("wks"),c=a.Symbol,u=c&&c.for,h=l?c:c&&c.withoutSetter||s;t.exports=function(t){if(!r(d,t)||!o&&"string"!=typeof d[t]){var e="Symbol."+t;o&&r(c,t)?d[t]=c[t]:d[t]=l&&u?u(e):h(e)}return d[t]}},7658:function(t,e,i){"use strict";var a=i(2109),n=i(7908),r=i(6244),s=i(3658),o=i(7207),l=i(7293)((function(){return 4294967297!==[].push.call({length:4294967296},1)})),d=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();a({target:"Array",proto:!0,arity:1,forced:l||d},{push:function(t){var e=n(this),i=r(e),a=arguments.length;o(i+a);for(var l=0;l<a;l++)e[i]=arguments[l],i++;return s(e,i),i}})},2654:function(t,e,i){"use strict";i.r(e);var a=i(8081),n=i.n(a),r=i(3645),s=i.n(r)()(n());s.push([t.id,'.vdr[data-v-cfaa6eb2]{touch-action:none;position:absolute;box-sizing:border-box;border:1px dashed #ddd;cursor:move}.vdr button[data-v-cfaa6eb2]{display:none}.vdr[data-v-cfaa6eb2]:hover{border:1px solid #fd397a;background:rgba(253,57,122,.08)}.vdr:hover button[data-v-cfaa6eb2]{display:block}.handle[data-v-cfaa6eb2]{box-sizing:border-box;display:none;position:absolute;width:10px;height:10px;font-size:1px;background:rgba(253,57,122,.08);border:1px solid #fd397a}.handle-tl[data-v-cfaa6eb2]{top:-10px;left:-10px;cursor:nw-resize}.handle-tm[data-v-cfaa6eb2]{top:-10px;left:50%;margin-left:-5px;cursor:n-resize}.handle-tr[data-v-cfaa6eb2]{top:-10px;right:-10px;cursor:ne-resize}.handle-ml[data-v-cfaa6eb2]{left:-10px;cursor:w-resize}.handle-ml[data-v-cfaa6eb2],.handle-mr[data-v-cfaa6eb2]{top:50%;margin-top:-5px}.handle-mr[data-v-cfaa6eb2]{right:-10px;cursor:e-resize}.handle-bl[data-v-cfaa6eb2]{bottom:-10px;left:-10px;cursor:sw-resize}.handle-bm[data-v-cfaa6eb2]{bottom:-10px;left:50%;margin-left:-5px;cursor:s-resize}.handle-br[data-v-cfaa6eb2]{bottom:-10px;right:-10px;cursor:se-resize}@media only screen and (max-width:768px){[class*=handle-][data-v-cfaa6eb2]:before{content:"";left:-10px;right:-10px;bottom:-10px;top:-10px;position:absolute}}.close[data-v-cfaa6eb2]{background:orange;color:red;border-radius:12px;line-height:20px;text-align:center;height:20px;width:20px;font-size:18px;padding:1px}.close[data-v-cfaa6eb2]:before{content:"\\2716"}.close[data-v-cfaa6eb2]{top:5px;right:2px;position:absolute}',""]),e.default=s},3517:function(t,e,i){"use strict";i.r(e);var a=i(8081),n=i.n(a),r=i(3645),s=i.n(r)()(n());s.push([t.id,".stamp[data-v-f18015b4]{background-position:50%;background-repeat:no-repeat;background-size:contain;width:100%;height:100%}",""]),e.default=s},3645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",a=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),a&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),a&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,a,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(a)for(var o=0;o<this.length;o++){var l=this[o][0];null!=l&&(s[l]=!0)}for(var d=0;d<t.length;d++){var c=[].concat(t[d]);a&&s[c[0]]||(void 0!==r&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=r),i&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=i):c[2]=i),n&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=n):c[4]="".concat(n)),e.push(c))}},e}},8081:function(t){"use strict";t.exports=function(t){return t[1]}},7351:function(t,e,i){var a=i(2654);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);(0,i(4402).Z)("f562530a",a,!0,{sourceMap:!1,shadowMode:!1})},5190:function(t,e,i){var a=i(3517);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);(0,i(4402).Z)("3ab5f686",a,!0,{sourceMap:!1,shadowMode:!1})},4402:function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var r=e[n],s=r[0],o={id:t+":"+n,css:r[1],media:r[2],sourceMap:r[3]};a[s]?a[s].parts.push(o):i.push(a[s]={id:s,parts:[o]})}return i}i.d(e,{Z:function(){return f}});var n="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},s=n&&(document.head||document.getElementsByTagName("head")[0]),o=null,l=0,d=!1,c=function(){},u=null,h="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,i,n){d=i,u=n||{};var s=a(t,e);return m(s),function(e){for(var i=[],n=0;n<s.length;n++){var o=s[n];(l=r[o.id]).refs--,i.push(l)}e?m(s=a(t,e)):s=[];for(n=0;n<i.length;n++){var l;if(0===(l=i[n]).refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete r[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var i=t[e],a=r[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(v(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var s=[];for(n=0;n<i.parts.length;n++)s.push(v(i.parts[n]));r[i.id]={id:i.id,refs:1,parts:s}}}}function g(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function v(t){var e,i,a=document.querySelector("style["+h+'~="'+t.id+'"]');if(a){if(d)return c;a.parentNode.removeChild(a)}if(p){var n=l++;a=o||(o=g()),e=_.bind(null,a,n,!1),i=_.bind(null,a,n,!0)}else a=g(),e=w.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var b,y=(b=[],function(t,e){return b[t]=e,b.filter(Boolean).join("\n")});function _(t,e,i,a){var n=i?"":a.css;if(t.styleSheet)t.styleSheet.cssText=y(e,n);else{var r=document.createTextNode(n),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(r,s[e]):t.appendChild(r)}}function w(t,e){var i=e.css,a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),u.ssrId&&t.setAttribute(h,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}}},e={};function i(a){var n=e[a];if(void 0!==n)return n.exports;var r=e[a]={id:a,exports:{}};return t[a](r,r.exports,i),r.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var a in e)i.o(e,a)&&!i.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.p="";var a={};!function(){"use strict";if(i.r(a),i.d(a,{default:function(){return m}}),"undefined"!=typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(i.p=e[1])}i(7658);function n(t){return"function"==typeof t||"[object Function]"===Object.prototype.toString.call(t)}function r(t,e,i){let a=t;const r=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].find((t=>n(a[t])));if(!n(a[r]))return!1;do{if(a[r](e))return!0;if(a===i)return!1;a=a.parentNode}while(a);return!1}var s={replace:!0,name:"VueDraggableResizable",props:{active:{type:Boolean,default:!1},draggable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},editable:{type:Boolean,default:!0},w:{type:Number,default:200,validator:function(t){return t>0}},h:{type:Number,default:200,validator:function(t){return t>0}},minw:{type:Number,default:5,validator:function(t){return t>=0}},minh:{type:Number,default:5,validator:function(t){return t>=0}},fixX:{type:Number,default:-1,validator:function(t){return"number"==typeof t}},x:{type:Number,default:0,validator:function(t){return"number"==typeof t}},y:{type:Number,default:0,validator:function(t){return"number"==typeof t}},z:{type:[String,Number],default:"auto",validator:function(t){return"string"==typeof t?"auto"===t:t>=0}},handles:{type:Array,default:function(){return["tl","tm","tr","mr","br","bm","bl","ml"]},validator:function(t){let e=new Set(["tl","tm","tr","mr","br","bm","bl","ml"]);return new Set(t.filter((t=>e.has(t)))).size===t.length}},dragHandle:{type:String,default:null},dragCancel:{type:String,default:null},axis:{type:String,default:"both",validator:function(t){return-1!==["x","y","both"].indexOf(t)}},grid:{type:Array,default:function(){return[1,1]}},parent:{type:Element,default:null},maximize:{type:Boolean,default:!1},pages:{type:Array,required:!1,default:null},eventBus:{type:Object,default:null},index:{type:Number,required:!1,default:0},currentPage:{type:Number,required:!1,default:0},stampId:{type:String,required:!1,default:null}},created:function(){this.parentX=0,this.parentW=9999,this.parentY=0,this.parentH=9999,this.mouseX=0,this.mouseY=0,this.lastMouseX=0,this.lastMouseY=0,this.mouseOffX=0,this.mouseOffY=0,this.elmX=0,this.elmY=0,this.elmW=0,this.elmH=0,this.scrollPosition=0,this.scrollDist=0,this.pagesCount=this.pages?this.pages.length:0,this.section=[],this.scale=null},mounted:function(){if(this.parent.addEventListener("mousemove",this.handleMove,!1),this.parent.addEventListener("mousedown",this.deselect,!1),this.parent.addEventListener("mouseup",this.handleUp,!1),this.parent.addEventListener("touchmove",this.handleMove,!1),this.parent.addEventListener("touchend",this.handleUp,!1),this.parent.addEventListener("touchstart",this.deselect,!1),this.parent&&this.parent.parentNode.addEventListener("scroll",this.handleScrollMove,!1),this.eventBus&&this.eventBus.on("stampResize",this.stampResize),this.elmX=parseInt(this.$el.style.left),this.elmY=parseInt(this.$el.style.top),this.elmW=this.$el.offsetWidth||this.$el.clientWidth,this.elmH=this.$el.offsetHeight||this.$el.clientHeight,this._reviewDimensions(),this.pages){this.scale||(this.scale=this.pages[0].viewport.scale),this.updateSection(),this.top<10&&(this.top=10);let t=this.adjust(this.section,this.top,this.currentPage-1,this.pagesCount-1);this.left+this.elmW>this.parentW-(this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft)&&(this.left=this.parentW-(this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft)-this.elmW),this.elmY=this.top;let e=this.pages[t];e&&this.x-e.div.offsetLeft-9>0||e&&(this.left=e.div.offsetLeft+9),this.elmX=this.left,this._emitPlaced(t)}},beforeUnmount:function(){this.parent.removeEventListener("mousemove",this.handleMove,!1),this.parent.removeEventListener("mousedown",this.deselect,!1),this.parent.removeEventListener("mouseup",this.handleUp,!1),this.parent&&this.parent.parentNode.removeEventListener("scroll",this.handleScrollMove,!1),this.eventBus&&this.eventBus.off("stampResize",this.stampResize),this.parent.removeEventListener("touchmove",this.handleMove,!1),this.parent.removeEventListener("touchend",this.handleUp,!1),this.parent.removeEventListener("touchstart",this.deselect,!1)},data:function(){return{top:this.y,left:this.x,width:this.w,height:this.h,resizing:!1,dragging:!1,enabled:this.active,handle:null,zIndex:this.z}},methods:{adjust(t,e,i,a){let n=this.binarySearch(t,e,i,a);return(n<0||n>this.pagesCount-1)&&(n=0),n=this.adjustBoundary(n),n},handleScrollMove(t){this.dragging&&(this.scrollDist=t.currentTarget.scrollTop-this.scrollPosition,this.top=this.top+this.scrollDist,this.elmY=this.top),this.scrollPosition=t.currentTarget.scrollTop},stampAreaUpdate(t){for(let e=t-1;e<t+1;e++)e-1>0&&e<this.pagesCount&&(this.section[e].t=this.section[e-1].t+this.pages[e-1].viewport.height+11,this.section[e].o=this.pages[e-1].div.offsetLeft+9)},adjustBoundary(t){return this.pages[t]&&this.top+this.elmH-this.section[t].t-this.pages[t].viewport.height>0&&(this.top+this.elmH-this.section[t].t-this.pages[t].viewport.height-this.elmH/2>0?t+1<this.section.length?(this.top=this.section[t+1].t,t++):this.top=this.section[t].t+this.pages[t].viewport.height-this.elmH:1===this.section.length?this.top=this.top-(this.top+this.elmH-this.pages[t].viewport.height)+9+2:t+1<this.section.length?this.top=this.section[t+1].t-this.elmH-9-2:this.top=this.section[t].t+this.pages[t].viewport.height-this.elmH),t},binarySearch(t,e,i,a){if(i>a)return i-1;let n=Math.floor((i+a)/2),r=t[n].t;return r>e?this.binarySearch(t,e,i,n-1):r<e?this.binarySearch(t,e,n+1,a):n},updateSection(){this.section.length=0;let t=10;for(let e=0;e<this.pagesCount;e++)t=t+(e>0?this.pages[e-1].viewport.height:0)+(e>0?11:0),this.section.push({t:t,o:this.pages[e].div.offsetLeft+9});this.section.push({t:this.section[this.pagesCount-1].t+this.pages[this.pagesCount-1].viewport.height+9+2,o:this.pages[this.pagesCount-1].div.offsetLeft+9})},stampResize(){if(null!=this.scale){const t=[].concat(this.section);this.updateSection();const e=this.top;let i=this.binarySearch(t,e,this.currentPage-1,this.pagesCount-1);i<0&&(i=0);const a=this.pages[0].viewport.scale,n=this.width,r=this.height;this.width=n*a/this.scale,this.height=r*a/this.scale;const s=this.left;this.top=(e-10)*a/this.scale+10,this._reviewDimensions(),this.left=this.pages[i].div.offsetLeft+(s-t[i].o)*a/this.scale+9,i=this.adjust(this.section,this.top,this.currentPage-1,this.pagesCount-1),this.elmW=this.width,this.elmH=this.height,this.elmX=this.left,this.elmY=this.top,this.scale=a,this._emitPlaced(i)}},_emitPlaced(t){t===this.pages.length&&t--,this.$emit("placed",t,this.index,{x:(this.left-this.section[t].o)/this.pages[t].viewport.width,y:(this.top-this.section[t].t)/this.pages[t].viewport.height,w:this.elmW/this.pages[t].viewport.width,h:this.elmH/this.pages[t].viewport.height,pageWidth:this.pages[t].viewport.width,pageHeight:this.pages[t].viewport.height,pageWidthMM:this.pages[t].viewport.pageWidthMM,pageHeightMM:this.pages[t].viewport.pageHeightMM},this.stampId)},_reviewDimensions(){if(this.minw>this.w&&(this.width=this.minw),this.minh>this.h&&(this.height=this.minh),this.parent){const t=parseInt(this.parent.scrollWidth,10),e=parseInt(this.parent.scrollHeight,10);this.parentW=t,this.parentH=e,this.w>this.parentW&&(this.width=t),this.h>this.parentH&&(this.height=e),this.x+this.w>this.parentW&&(this.left=this.x-(this.x+this.w-this.parentW)-20),this.y+this.h>this.parentH&&(this.top=this.y-(this.y+this.h-this.parentH))}this.elmW=this.width,this.elmH=this.height},reviewDimensions:function(){this._reviewDimensions(),this.$emit("resizing",this.left,this.top,this.width,this.height)},elmDown:function(t){const e=t.target||t.srcElement;if(this.$el.contains(e)){if(this.dragHandle&&!r(e,this.dragHandle,this.$el)||this.dragCancel&&r(e,this.dragCancel,this.$el))return;this.reviewDimensions(),this.enabled||(this.enabled=!0,this.$emit("activated"),this.$emit("update:active",!0)),this.draggable&&(this.dragging=!0)}},deselect:function(t){-1!==t.type.indexOf("touch")?(this.mouseX=t.changedTouches[0].clientX,this.mouseY=t.changedTouches[0].clientY):(this.mouseX=t.pageX||t.clientX+this.parent.scrollLeft,this.mouseY=t.pageY||t.clientY+this.parent.scrollTop),this.lastMouseX=this.mouseX,this.lastMouseY=this.mouseY;const e=t.target||t.srcElement,i=new RegExp("handle-([trmbl]{2})","");this.$el.contains(e)||i.test(e.className)||this.enabled&&(this.enabled=!1,this.$emit("deactivated"),this.$emit("update:active",!1))},handleDown:function(t,e){this.handle=t,e.cancelable&&(e.stopPropagation(),e.preventDefault()),this.resizing=!0},handleMove:function(t){const e=-1!==t.type.indexOf("touchmove");this.mouseX=e?t.touches[0].clientX:t.pageX||t.clientX+document.documentElement.scrollLeft,this.mouseY=e?t.touches[0].clientY:t.pageY||t.clientY+document.documentElement.scrollTop;let i=this.mouseX-this.lastMouseX+this.mouseOffX,a=this.mouseY-this.lastMouseY+this.mouseOffY;this.mouseOffX=this.mouseOffY=0,this.lastMouseX=this.mouseX,this.lastMouseY=this.mouseY;let n=i,r=a;if(this.resizing)this.handle.indexOf("t")>=0&&(this.elmH-r<this.minh?this.mouseOffY=r-(a=this.elmH-this.minh):this.parent&&this.elmY+r<this.parentY&&(this.mouseOffY=r-(a=this.parentY-this.elmY)),this.elmY+=a,this.elmH-=a),this.handle.indexOf("b")>=0&&(this.elmH+r<this.minh?this.mouseOffY=r-(a=this.minh-this.elmH):this.parent&&this.elmY+this.elmH+r>this.parentH&&(this.mouseOffY=r-(a=this.parentH-this.elmY-this.elmH)),this.elmH+=a),this.handle.indexOf("l")>=0&&(this.elmW-n<this.minw?this.mouseOffX=n-(i=this.elmW-this.minw):this.parent&&this.elmX+n<this.parentX&&(this.mouseOffX=n-(i=this.parentX-this.elmX)),this.elmX+=i,this.elmW-=i),this.handle.indexOf("r")>=0&&(this.elmW+n<this.minw?this.mouseOffX=n-(i=this.minw-this.elmW):this.parent&&this.elmX+this.elmW+n>this.parentW&&(this.mouseOffX=n-(i=this.parentW-this.elmX-this.elmW)),this.elmW+=i),this.left=Math.round(this.elmX/this.grid[0])*this.grid[0],this.top=Math.round(this.elmY/this.grid[1])*this.grid[1],this.width=Math.round(this.elmW/this.grid[0])*this.grid[0],this.height=Math.round(this.elmH/this.grid[1])*this.grid[1],this.$emit("resizing",this.left,this.top,this.width,this.height);else if(this.dragging){if(this.parent){this._reviewDimensions();let[t,e]=[0,10];if(this.pages){let e=this.binarySearch(this.section,this.elmY+a,this.currentPage-1,this.pagesCount-1);e<0&&(e=0),this.elmY+a+this.elmH-this.section[e].t-this.pages[e].viewport.height>0&&this.elmY+a+this.elmH-this.section[e].t-this.pages[e].viewport.height-.9*this.elmH-11>0&&e++,t=this.pages[e].div.offsetLeft+9}this.elmX+n<this.parentX+t?this.mouseOffX=n-(i=this.parentX+t-this.elmX):this.elmX+this.elmW+n>this.parentW-t&&(this.mouseOffX=n-(i=this.parentW-t-this.elmX-this.elmW)),this.elmY+r<this.parentY+e?this.mouseOffY=r-(a=this.parentY+e-this.elmY):this.elmY+this.elmH+r>this.parentH&&(this.mouseOffY=r-(a=this.parentH-this.elmY-this.elmH))}this.elmX+=i,this.elmY+=a,"x"!==this.axis&&"both"!==this.axis||(this.left=Math.round(this.elmX/this.grid[0])*this.grid[0]),"y"!==this.axis&&"both"!==this.axis||(this.top=Math.round(this.elmY/this.grid[1])*this.grid[1]),this.$emit("dragging",this.left,this.top)}},handleUp:function(t){if(-1!==t.type.indexOf("touch")&&(this.lastMouseX=t.changedTouches[0].clientX,this.lastMouseY=t.changedTouches[0].clientY),this.handle=null,this.resizing&&(this.resizing=!1,this.$emit("resizestop",this.left,this.top,this.width,this.height)),this.dragging){this.dragging=!1;let t=0;this.pages&&(t=this.adjust(this.section,this.top,this.currentPage-1,this.pagesCount-1)),this.left<this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft&&(this.left=this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft);let e=this.mouseX-this.lastMouseX+this.mouseOffX;this.left+this.elmW+e>this.parentW-(this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft)&&(this.left=this.parentW-(this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft)-this.elmW),this.fixX>=0&&(this.left=this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft+this.fixX),this._emitPlaced(t),this.$emit("dragstop",this.left,this.top)}this.elmX=this.left,this.elmY=this.top},dropItem(){this.$emit("dropitem",{index:this.index,stampId:this.stampId})}},computed:{style:function(){return{top:this.top+"px",left:this.left+"px",width:this.width+"px",height:this.height+"px",zIndex:this.zIndex}}},watch:{active:function(t){this.enabled=t},z:function(t){(t>=0||"auto"===t)&&(this.zIndex=t)},currentPage:function(t){this.stampAreaUpdate(t)}}};i(7351);function o(t,e,i,a,n,r,s,o){var l,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=i,d._compiled=!0),a&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),s?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},d._ssrRegister=l):n&&(l=o?function(){n.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(t,e){return l.call(e),c(t,e)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:d}}var l=o(s,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"vdr",class:{draggable:t.draggable,resizable:t.resizable,active:t.enabled,dragging:t.dragging,resizing:t.resizing},style:t.style,on:{mousedown:t.elmDown,touchstart:t.elmDown}},[t.editable?e("button",{staticClass:"btn btn-danger btn-elevate btn-pill btn-icon btn-elevate-air btn-sm",staticStyle:{position:"absolute",right:"5px",top:"-20px"},attrs:{type:"button"},on:{click:function(e){return e.stopPropagation(),t.dropItem.apply(null,arguments)}}},[e("span",{staticClass:"close"})]):t._e(),t._l(t.handles,(function(i){return t.resizable?e("div",{key:i,staticClass:"handle",class:"handle-"+i,style:{display:t.enabled?"block":"none"},on:{mousedown:function(e){return t.handleDown(i,e)},touchstart:function(e){return t.handleDown(i,e)}}}):t._e()})),t._t("default")],2)}),[],!1,null,"cfaa6eb2",null),d={name:"OfdView",components:{VueDraggableResizable:l.exports},props:{file:{required:!1},fileBase64:{required:!1},mem:{required:!0},water_text:{type:String,required:!1},secret:{type:String,required:!1},digest:{type:String,required:!1},draggable:{type:Boolean,required:!1,default:!0},resizable:{type:Boolean,required:!1,default:!1},editable:{type:Boolean,required:!1,default:!0},stamps:{type:Array,required:!1,default:()=>[]},sidebarForceOpen:{type:Boolean,required:!1,default:!1},signatureViewerForceCheck:{type:Boolean,required:!1,default:!1},canOpen:{type:Boolean,required:!1,default:!1},canDownload:{type:Boolean,required:!1,default:!1},canPrint:{type:Boolean,required:!1,default:!1},displayToolbar:{type:Boolean,required:!1,default:!0}},watch:{file:{immediate:!0,handler(t){this.config&&this.mem&&(this.ofdViewer=null,this.mem.openOFD(t))}},stamps:{immediate:!0,handler(t){t.length>0&&this.config&&(document.getElementById("scrollModeButtons")&&(document.getElementById("scrollModeButtons").hidden=!0),document.getElementById("spreadModeButtons")&&(document.getElementById("spreadModeButtons").hidden=!0),document.getElementById("secondaryOpenFile")&&(document.getElementById("secondaryOpenFile").hidden=!0),document.getElementById("openFile")&&(document.getElementById("openFile").hidden=!0))}}},data:()=>({viewVisible:!1,config:null,eventBus:null,sp:1,ofdViewer:null}),mounted(){if(!this.config){this.config=this.getViewerConfiguration();let t=new Image;t.style.position="absolute",t.style.left=0,t.style.right=0,t.style.margin="auto",t.style.top=0,t.style.bottom=0,t.src="data:image/gif;base64,R0lGODlhNgA3APMAAP///zAyOJKTlkdJTzw+RN/g4XV2euPj5M/Q0WtscaChpDAyODAyODAyODAyODAyOCH5BAkKAAAAIf4aQ3JlYXRlZCB3aXRoIGFqYXhsb2FkLmluZm8AIf8LTkVUU0NBUEUyLjADAQAAACwAAAAANgA3AAAEzBDISau9OOvNu/9gKI5kaZ4lkhBEgqCnws6EApMITb93uOqsRC8EpA1Bxdnx8wMKl51ckXcsGFiGAkamsy0LA9pAe1EFqRbBYCAYXXUGk4DWJhZN4dlAlMSLRW80cSVzM3UgB3ksAwcnamwkB28GjVCWl5iZmpucnZ4cj4eWoRqFLKJHpgSoFIoEe5ausBeyl7UYqqw9uaVrukOkn8LDxMXGx8ibwY6+JLxydCO3JdMg1dJ/Is+E0SPLcs3Jnt/F28XXw+jC5uXh4u89EQAh+QQJCgAAACwAAAAANgA3AAAEzhDISau9OOvNu/9gKI5kaZ5oqhYGQRiFWhaD6w6xLLa2a+iiXg8YEtqIIF7vh/QcarbB4YJIuBKIpuTAM0wtCqNiJBgMBCaE0ZUFCXpoknWdCEFvpfURdCcM8noEIW82cSNzRnWDZoYjamttWhphQmOSHFVXkZecnZ6foKFujJdlZxqELo1AqQSrFH1/TbEZtLM9shetrzK7qKSSpryixMXGx8jJyifCKc1kcMzRIrYl1Xy4J9cfvibdIs/MwMue4cffxtvE6qLoxubk8ScRACH5BAkKAAAALAAAAAA2ADcAAATOEMhJq7046827/2AojmRpnmiqrqwwDAJbCkRNxLI42MSQ6zzfD0Sz4YYfFwyZKxhqhgJJeSQVdraBNFSsVUVPHsEAzJrEtnJNSELXRN2bKcwjw19f0QG7PjA7B2EGfn+FhoeIiYoSCAk1CQiLFQpoChlUQwhuBJEWcXkpjm4JF3w9P5tvFqZsLKkEF58/omiksXiZm52SlGKWkhONj7vAxcbHyMkTmCjMcDygRNAjrCfVaqcm11zTJrIjzt64yojhxd/G28XqwOjG5uTxJhEAIfkECQoAAAAsAAAAADYANwAABM0QyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7/i8qmCoGQoacT8FZ4AXbFopfTwEBhhnQ4w2j0GRkgQYiEOLPI6ZUkgHZwd6EweLBqSlq6ytricICTUJCKwKkgojgiMIlwS1VEYlspcJIZAkvjXHlcnKIZokxJLG0KAlvZfAebeMuUi7FbGz2z/Rq8jozavn7Nev8CsRACH5BAkKAAAALAAAAAA2ADcAAATLEMhJq7046827/2AojmRpnmiqrqwwDAJbCkRNxLI42MSQ6zzfD0Sz4YYfFwzJNCmPzheUyJuKijVrZ2cTlrg1LwjcO5HFyeoJeyM9U++mfE6v2+/4PD6O5F/YWiqAGWdIhRiHP4kWg0ONGH4/kXqUlZaXmJlMBQY1BgVuUicFZ6AhjyOdPAQGQF0mqzauYbCxBFdqJao8rVeiGQgJNQkIFwdnB0MKsQrGqgbJPwi2BMV5wrYJetQ129x62LHaedO21nnLq82VwcPnIhEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7/g8Po7kX9haKoAZZ0iFGIc/iRaDQ40Yfj+RepSVlpeYAAgJNQkIlgo8NQqUCKI2nzNSIpynBAkzaiCuNl9BIbQ1tl0hraewbrIfpq6pbqsioaKkFwUGNQYFSJudxhUFZ9KUz6IGlbTfrpXcPN6UB2cHlgfcBuqZKBEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7yJEopZA4CsKPDUKfxIIgjZ+P3EWe4gECYtqFo82P2cXlTWXQReOiJE5bFqHj4qiUhmBgoSFho59rrKztLVMBQY1BgWzBWe8UUsiuYIGTpMglSaYIcpfnSHEPMYzyB8HZwdrqSMHxAbath2MsqO0zLLorua05OLvJxEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhfohELYHQuGBDgIJXU0Q5CKqtOXsdP0otITHjfTtiW2lnE37StXUwFNaSScXaGZvm4r0jU1RWV1hhTIWJiouMjVcFBjUGBY4WBWw1A5RDT3sTkVQGnGYYaUOYPaVip3MXoDyiP3k3GAeoAwdRnRoHoAa5lcHCw8TFxscduyjKIrOeRKRAbSe3I9Um1yHOJ9sjzCbfyInhwt3E2cPo5dHF5OLvJREAOw==",t.draggable=!1,this.config.loadingContainer=t,this.config.onPageChanging=t=>{this.sp=t},this.config.parserOFDSuccess=t=>{},this.config.onPageScale=t=>{this.eventBus.dispatch("stampResize",{source:null})},this.config.onViewportChange=t=>{this.ofdViewer||(this.viewVisible=!0,this.$emit("viewready",t)),this.ofdViewer=t},this.config.secret=this.secret,this.config.digest=this.digest,this.config.sidebarForceOpen=this.sidebarForceOpen,this.config.signatureViewerForceCheck=this.signatureViewerForceCheck,this.config.onPrintFinishEvent=()=>{this.$emit("onPrintFinishEvent")},this.config.downloadFinishEvent=()=>{this.$emit("onDownloadFinishEvent")},this.config.waterText=this.water_text,this.mem.initOFDViewer(this.config),this.eventBus=this.mem.getEventBus()}this.file&&this.mem.openOFD(this.file),this.fileBase64&&this.mem.openFileBase64(this.fileBase64),this.displayToolbar||(this.config.toolbar.container.parentElement.hidden=!0)},methods:{getViewerConfiguration(){let t;this.$slots&&this.$slots.openFileRef&&this.$slots.openFileRef[0].elm&&(t=this.$slots.openFileRef[0].elm);let e=null;return e={container:document.getElementById("errorWrapper"),errorMessage:document.getElementById("errorMessage"),closeButton:document.getElementById("errorClose"),errorMoreInfo:document.getElementById("errorMoreInfo"),moreInfoButton:document.getElementById("errorShowMore"),lessInfoButton:document.getElementById("errorShowLess")},{appContainer:document.body,mainContainer:document.getElementById("viewerContainer"),viewerContainer:document.getElementById("viewer"),openFileTip:t,toolbar:{container:document.getElementById("toolbarViewer"),numPages:document.getElementById("numPages"),pageNumber:document.getElementById("pageNumber"),scaleSelect:document.getElementById("scaleSelect"),customScaleOption:document.getElementById("customScaleOption"),previous:document.getElementById("previous"),next:document.getElementById("next"),zoomIn:document.getElementById("zoomIn"),zoomOut:document.getElementById("zoomOut"),openFile:document.getElementById("openFile"),print:document.getElementById("print"),download:document.getElementById("download")},secondaryToolbar:{toolbar:document.getElementById("secondaryToolbar"),toggleButton:document.getElementById("secondaryToolbarToggle"),toolbarButtonContainer:document.getElementById("secondaryToolbarButtonContainer"),openFileButton:document.getElementById("secondaryOpenFile"),printButton:document.getElementById("secondaryPrint"),downloadButton:document.getElementById("secondaryDownload"),viewBookmarkButton:document.getElementById("secondaryViewBookmark"),firstPageButton:document.getElementById("firstPage"),lastPageButton:document.getElementById("lastPage"),pageRotateCwButton:document.getElementById("pageRotateCw"),pageRotateCcwButton:document.getElementById("pageRotateCcw"),cursorSelectToolButton:document.getElementById("cursorSelectTool"),cursorHandToolButton:document.getElementById("cursorHandTool"),scrollPageButton:document.getElementById("scrollPage"),scrollVerticalButton:document.getElementById("scrollVertical"),scrollHorizontalButton:document.getElementById("scrollHorizontal"),scrollWrappedButton:document.getElementById("scrollWrapped"),spreadNoneButton:document.getElementById("spreadNone"),spreadOddButton:document.getElementById("spreadOdd"),spreadEvenButton:document.getElementById("spreadEven"),documentPropertiesButton:document.getElementById("documentProperties")},sidebar:{outerContainer:document.getElementById("outerContainer"),viewerContainer:document.getElementById("viewerContainer"),toggleButton:document.getElementById("sidebarToggle"),outlineButton:document.getElementById("viewOutline"),attachmentsButton:document.getElementById("viewAttachments"),signaturesButton:document.getElementById("viewSignatures"),outlineView:document.getElementById("outlineView"),attachmentsView:document.getElementById("attachmentsView"),signaturesView:document.getElementById("signaturesView"),currentOutlineItemButton:document.getElementById("currentOutlineItem")},sidebarResizer:{outerContainer:document.getElementById("outerContainer")},documentProperties:{dialog:document.getElementById("documentPropertiesDialog"),closeButton:document.getElementById("documentPropertiesClose"),fields:{fileName:document.getElementById("fileNameField"),fileSize:document.getElementById("fileSizeField"),title:document.getElementById("titleField"),author:document.getElementById("authorField"),subject:document.getElementById("subjectField"),keywords:document.getElementById("keywordsField"),creationDate:document.getElementById("creationDateField"),modificationDate:document.getElementById("modificationDateField"),creator:document.getElementById("creatorField"),producer:document.getElementById("producerField"),version:document.getElementById("versionField"),pageCount:document.getElementById("pageCountField"),pageSize:document.getElementById("pageSizeField"),linearized:document.getElementById("linearizedField")}},signatureProperties:{dialog:document.getElementById("signaturePropertiesDialog"),closeButton:document.getElementById("signaturePropertiesClose"),fields:{signer:document.getElementById("signerField"),provider:document.getElementById("providerField"),hashedValue:document.getElementById("hashedValueField"),signedValue:document.getElementById("signedValueField"),signMethod:document.getElementById("signMethodField"),signVersion:document.getElementById("signVersionField"),verify:document.getElementById("verifyField"),sealID:document.getElementById("sealIDField"),sealName:document.getElementById("sealNameField"),sealType:document.getElementById("sealTypeField"),sealAuthTime:document.getElementById("sealAuthTimeField"),sealMakeTime:document.getElementById("sealMakeTimeField"),sealVersion:document.getElementById("sealVersionField")}},errorWrapper:e,printContainer:document.getElementById("printContainer"),openFileInputName:"fileInput"}},onStampDragOver(t){t.dataTransfer.dropEffect="move"},removeStamp(t){this.$emit("removePos",t)},onStampDragStop(t){},placed(t,e,i,a){this.$emit("itemDropped",e,t,i,a)}}},c=(i(5190),o(d,(function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"outerContainer"}},[t._m(0),t._v(" "),e("div",{attrs:{id:"mainContainer"}},[t.displayToolbar?e("div",{staticClass:"secondaryToolbar hidden doorHangerRight",attrs:{id:"secondaryToolbar"}},[e("div",{attrs:{id:"secondaryToolbarButtonContainer"}},[t.canOpen?e("button",{staticClass:"secondaryToolbarButton openFile visibleLargeView",attrs:{id:"secondaryOpenFile",title:"打开文件",tabindex:"52","data-l10n-id":"open_file"}},[e("span",{attrs:{"data-l10n-id":"open_file_label"}},[t._v("打开")])]):t._e(),t.canPrint?e("button",{staticClass:"secondaryToolbarButton print visibleMediumView",attrs:{id:"secondaryPrint",title:"打印",tabindex:"53","data-l10n-id":"print"}},[e("span",{attrs:{"data-l10n-id":"print_label"}},[t._v("打印")])]):t._e(),t.canDownload?e("button",{staticClass:"secondaryToolbarButton download visibleMediumView",attrs:{id:"secondaryDownload",title:"Download",tabindex:"54","data-l10n-id":"download"}},[e("span",{attrs:{"data-l10n-id":"download_label"}},[t._v("Download")])]):t._e(),t._m(1),e("div",{staticClass:"horizontalToolbarSeparator visibleLargeView"}),t._m(2),t._m(3),e("div",{staticClass:"horizontalToolbarSeparator"}),t._m(4),t._m(5),e("div",{staticClass:"horizontalToolbarSeparator"}),t._m(6),t._m(7),t._m(8),e("div",{staticClass:"horizontalToolbarSeparator"}),t._m(9)])]):t._e(),t._v(" "),e("div",{staticClass:"toolbar"},[e("div",{attrs:{id:"toolbarContainer"}},[e("div",{attrs:{id:"toolbarViewer"}},[t._m(10),e("div",{attrs:{id:"toolbarViewerRight"}},[t.canOpen?e("button",{staticClass:"toolbarButton openFile hiddenLargeView",attrs:{id:"openFile",title:"打开文件",tabindex:"32","data-l10n-id":"open_file"}},[e("span",{attrs:{"data-l10n-id":"open_file_label"}},[t._v("打开")])]):t._e(),t.canPrint?e("button",{staticClass:"toolbarButton print hiddenMediumView",attrs:{id:"print",title:"打印",tabindex:"33","data-l10n-id":"print"}},[e("span",{attrs:{"data-l10n-id":"print_label"}},[t._v("打印")])]):t._e(),t.canDownload?e("button",{staticClass:"toolbarButton download hiddenMediumView",attrs:{id:"download",title:"Download",tabindex:"34","data-l10n-id":"download"}},[e("span",{attrs:{"data-l10n-id":"download_label"}},[t._v("Download")])]):t._e(),e("div",{staticClass:"verticalToolbarSeparator hiddenSmallView"}),t._m(11)]),t._m(12)])])]),e("div",{attrs:{id:"viewerContainer",tabindex:"0"}},[e("div",{staticClass:"pdfViewer",attrs:{id:"viewer"},on:{dragover:function(e){return e.preventDefault(),t.onStampDragOver.apply(null,arguments)}}},t._l(t.stamps,(function(i,a){return t.viewVisible?e("vue-draggable-resizable",{key:i.key,attrs:{w:i.w?i.w:174,h:i.h?i.h:174,parent:t.config.viewerContainer,customForStamp:!0,eventBus:t.eventBus,handles:["tl","tr","bl","br"],index:a,x:i.x,y:i.located?i.y:i.y+t.config.mainContainer.scrollTop,fixX:i.fixX,pages:t.ofdViewer._pages,currentPage:t.sp,"origin-bottom":!1,stampId:i.source.stampId,draggable:t.draggable,resizable:t.resizable,editable:t.editable},on:{dropitem:t.removeStamp,dragstop:t.onStampDragStop,placed:t.placed}},[e("div",{staticClass:"stamp",style:{backgroundImage:"url(data:image/png;base64,"+i.source.stampBase64+")"}})]):t._e()})),1),t._t("openFileRef")],2),t._m(13)]),t._v(" "),t._m(14)])}),[function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"sidebarContainer"}},[e("div",{attrs:{id:"toolbarSidebar"}},[e("div",{attrs:{id:"toolbarSidebarLeft"}},[e("div",{staticClass:"splitToolbarButton toggled",attrs:{id:"sidebarViewButtons",role:"radiogroup"}},[e("button",{staticClass:"toolbarButton toggled",attrs:{id:"viewOutline",title:"Show Document Outline (double-click to expand/collapse all items)",tabindex:"3","data-l10n-id":"document_outline",role:"radio","aria-checked":"false","aria-controls":"outlineView"}},[e("span",{attrs:{"data-l10n-id":"document_outline_label"}},[t._v("Document Outline")])]),e("button",{staticClass:"toolbarButton",attrs:{id:"viewAttachments",title:"Show Attachments",tabindex:"4","data-l10n-id":"attachments",role:"radio","aria-checked":"false","aria-controls":"attachmentsView"}},[e("span",{attrs:{"data-l10n-id":"attachments_label"}},[t._v("Attachments")])]),e("button",{staticClass:"toolbarButton",attrs:{id:"viewSignatures",title:"Show Signatures",tabindex:"6","data-l10n-id":"layers",role:"radio","aria-checked":"false","aria-controls":"signaturesView"}},[e("span",{attrs:{"data-l10n-id":"signatures_label"}},[t._v("Signatures")])])])]),e("div",{attrs:{id:"toolbarSidebarRight"}},[e("div",{staticClass:"hidden",attrs:{id:"outlineOptionsContainer"}},[e("div",{staticClass:"verticalToolbarSeparator"}),e("button",{staticClass:"toolbarButton",attrs:{id:"currentOutlineItem",disabled:"disabled",title:"Find Current Outline Item",tabindex:"6","data-l10n-id":"current_outline_item"}},[e("span",{attrs:{"data-l10n-id":"current_outline_item_label"}},[t._v("Current Outline Item")])])])])]),e("div",{attrs:{id:"sidebarContent"}},[e("div",{attrs:{id:"outlineView"}}),e("div",{staticClass:"hidden",attrs:{id:"attachmentsView"}}),e("div",{staticClass:"hidden",attrs:{id:"signaturesView"}})]),e("div",{attrs:{id:"sidebarResizer"}})])},function(){var t=this._self._c;return t("a",{staticClass:"secondaryToolbarButton bookmark visibleSmallView",attrs:{href:"#",id:"secondaryViewBookmark",title:"Current view (copy or open in new window)",tabindex:"55","data-l10n-id":"bookmark"}},[t("span",{attrs:{"data-l10n-id":"bookmark_label"}},[this._v("Current View")])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton firstPage",attrs:{id:"firstPage",title:"Go to First Page",tabindex:"56","data-l10n-id":"first_page"}},[t("span",{attrs:{"data-l10n-id":"first_page_label"}},[this._v("Go to First Page")])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton lastPage",attrs:{id:"lastPage",title:"Go to Last Page",tabindex:"57","data-l10n-id":"last_page"}},[t("span",{attrs:{"data-l10n-id":"last_page_label"}},[this._v("Go to Last Page")])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton rotateCw",attrs:{id:"pageRotateCw",title:"Rotate Clockwise",tabindex:"58","data-l10n-id":"page_rotate_cw"}},[t("span",{attrs:{"data-l10n-id":"page_rotate_cw_label"}},[this._v("Rotate Clockwise")])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton rotateCcw",attrs:{id:"pageRotateCcw",title:"Rotate Counterclockwise",tabindex:"59","data-l10n-id":"page_rotate_ccw"}},[t("span",{attrs:{"data-l10n-id":"page_rotate_ccw_label"}},[this._v("Rotate Counterclockwise")])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"cursorToolButtons",role:"radiogroup"}},[e("button",{staticClass:"secondaryToolbarButton selectTool toggled",attrs:{id:"cursorSelectTool",title:"Enable Text Selection Tool",tabindex:"60","data-l10n-id":"cursor_text_select_tool",role:"radio","aria-checked":"true"}},[e("span",{attrs:{"data-l10n-id":"cursor_text_select_tool_label"}},[t._v("Text Selection Tool")])]),e("button",{staticClass:"secondaryToolbarButton handTool",attrs:{id:"cursorHandTool",title:"Enable Hand Tool",tabindex:"61","data-l10n-id":"cursor_hand_tool",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"cursor_hand_tool_label"}},[t._v("Hand Tool")])])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"scrollModeButtons",role:"radiogroup"}},[e("div",{staticClass:"horizontalToolbarSeparator"}),e("button",{staticClass:"secondaryToolbarButton scrollPage",attrs:{id:"scrollPage",title:"Use Page Scrolling",tabindex:"62","data-l10n-id":"scroll_page",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"scroll_page_label"}},[t._v("Page Scrolling")])]),e("button",{staticClass:"secondaryToolbarButton scrollVertical toggled",attrs:{id:"scrollVertical",title:"Use Vertical Scrolling",tabindex:"63","data-l10n-id":"scroll_vertical",role:"radio","aria-checked":"true"}},[e("span",{attrs:{"data-l10n-id":"scroll_vertical_label"}},[t._v("Vertical Scrolling")])]),e("button",{staticClass:"secondaryToolbarButton scrollHorizontal",attrs:{id:"scrollHorizontal",title:"Use Horizontal Scrolling",tabindex:"64","data-l10n-id":"scroll_horizontal",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"scroll_horizontal_label"}},[t._v("Horizontal Scrolling")])]),e("button",{staticClass:"secondaryToolbarButton scrollWrapped",attrs:{id:"scrollWrapped",title:"Use Wrapped Scrolling",tabindex:"65","data-l10n-id":"scroll_wrapped",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"scroll_wrapped_label"}},[t._v("Wrapped Scrolling")])])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"spreadModeButtons",role:"radiogroup"}},[e("div",{staticClass:"horizontalToolbarSeparator"}),e("button",{staticClass:"secondaryToolbarButton spreadNone toggled",attrs:{id:"spreadNone",title:"Do not join page spreads",tabindex:"66","data-l10n-id":"spread_none",role:"radio","aria-checked":"true"}},[e("span",{attrs:{"data-l10n-id":"spread_none_label"}},[t._v("No Spreads")])]),e("button",{staticClass:"secondaryToolbarButton spreadOdd",attrs:{id:"spreadOdd",title:"Join page spreads starting with odd-numbered pages",tabindex:"67","data-l10n-id":"spread_odd",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"spread_odd_label"}},[t._v("Odd Spreads")])]),e("button",{staticClass:"secondaryToolbarButton spreadEven",attrs:{id:"spreadEven",title:"Join page spreads starting with even-numbered pages",tabindex:"68","data-l10n-id":"spread_even",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"spread_even_label"}},[t._v("Even Spreads")])])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton documentProperties",attrs:{id:"documentProperties",title:"文档属性…",tabindex:"69","data-l10n-id":"document_properties","aria-controls":"documentPropertiesDialog"}},[t("span",{attrs:{"data-l10n-id":"document_properties_label"}},[this._v("文档属性…")])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"toolbarViewerLeft"}},[e("button",{staticClass:"toolbarButton",attrs:{id:"sidebarToggle",title:"Toggle Sidebar",tabindex:"11","data-l10n-id":"toggle_sidebar","aria-expanded":"false","aria-controls":"sidebarContainer"}},[e("span",{attrs:{"data-l10n-id":"toggle_sidebar_label"}},[t._v("切换侧栏")])]),e("div",{staticClass:"splitToolbarButton hiddenSmallView"},[e("button",{staticClass:"toolbarButton pageUp",attrs:{title:"上一页",id:"previous",tabindex:"13","data-l10n-id":"previous"}},[e("span",{attrs:{"data-l10n-id":"previous_label"}},[t._v("上一页")])]),e("div",{staticClass:"splitToolbarButtonSeparator"}),e("button",{staticClass:"toolbarButton pageDown",attrs:{title:"下一页",id:"next",tabindex:"14","data-l10n-id":"next"}},[e("span",{attrs:{"data-l10n-id":"next_label"}},[t._v("下一页")])])]),e("input",{staticClass:"toolbarField pageNumber",attrs:{type:"number",id:"pageNumber",title:"页面",value:"1",size:"4",min:"1",tabindex:"15","data-l10n-id":"page",autocomplete:"off"}}),e("span",{staticClass:"toolbarLabel",attrs:{id:"numPages"}})])},function(){var t=this._self._c;return t("button",{staticClass:"toolbarButton",attrs:{id:"secondaryToolbarToggle",title:"工具",tabindex:"36","data-l10n-id":"tools","aria-expanded":"false","aria-controls":"secondaryToolbar"}},[t("span",{attrs:{"data-l10n-id":"tools_label"}},[this._v("工具")])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"toolbarViewerMiddle"}},[e("div",{staticClass:"splitToolbarButton"},[e("button",{staticClass:"toolbarButton zoomOut",attrs:{id:"zoomOut",title:"缩小",tabindex:"21","data-l10n-id":"zoom_out"}},[e("span",{attrs:{"data-l10n-id":"zoom_out_label"}},[t._v("缩小")])]),e("div",{staticClass:"splitToolbarButtonSeparator"}),e("button",{staticClass:"toolbarButton zoomIn",attrs:{id:"zoomIn",title:"放大",tabindex:"22","data-l10n-id":"zoom_in"}},[e("span",{attrs:{"data-l10n-id":"zoom_in_label"}},[t._v("放大")])])]),e("span",{staticClass:"dropdownToolbarButton",attrs:{id:"scaleSelectContainer"}},[e("select",{attrs:{id:"scaleSelect",title:"缩放",tabindex:"23","data-l10n-id":"zoom"}},[e("option",{attrs:{id:"pageAutoOption",title:"",value:"auto",selected:"selected","data-l10n-id":"page_scale_auto"}},[t._v("自动缩放")]),e("option",{attrs:{id:"pageActualOption",title:"",value:"page-actual","data-l10n-id":"page_scale_actual"}},[t._v("实际大小")]),e("option",{attrs:{id:"pageFitOption",title:"",value:"page-fit","data-l10n-id":"page_scale_fit"}},[t._v("适合页面")]),e("option",{attrs:{id:"pageWidthOption",title:"",value:"page-width","data-l10n-id":"page_scale_width"}},[t._v("适合页宽")]),e("option",{attrs:{id:"customScaleOption",title:"",value:"custom",disabled:"disabled",hidden:"true"}}),e("option",{attrs:{title:"",value:"0.5","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 50 }'}},[t._v("50%")]),e("option",{attrs:{title:"",value:"0.75","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 75 }'}},[t._v("75%")]),e("option",{attrs:{title:"",value:"1","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 100 }'}},[t._v("100%")]),e("option",{attrs:{title:"",value:"1.25","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 125 }'}},[t._v("125%")]),e("option",{attrs:{title:"",value:"1.5","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 150 }'}},[t._v("150%")]),e("option",{attrs:{title:"",value:"2","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 200 }'}},[t._v("200%")]),e("option",{attrs:{title:"",value:"3","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 300 }'}},[t._v("300%")]),e("option",{attrs:{title:"",value:"4","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 400 }'}},[t._v("400%")])])])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"errorWrapper",hidden:"true"}},[e("div",{attrs:{id:"errorMessageLeft"}},[e("span",{attrs:{id:"errorMessage"}}),e("button",{attrs:{id:"errorShowMore","data-l10n-id":"error_more_info"}},[t._v(" More Information ")]),e("button",{attrs:{id:"errorShowLess","data-l10n-id":"error_less_info",hidden:"true"}},[t._v(" Less Information ")])]),e("div",{attrs:{id:"errorMessageRight"}},[e("button",{attrs:{id:"errorClose","data-l10n-id":"error_close"}},[t._v(" Close ")])]),e("div",{staticClass:"clearBoth"}),e("textarea",{attrs:{id:"errorMoreInfo",hidden:"true",readonly:"readonly"}})])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"dialogContainer"}},[e("dialog",{attrs:{id:"documentPropertiesDialog"}},[e("div",{staticClass:"row"},[e("span",{attrs:{id:"fileNameLabel","data-l10n-id":"document_properties_file_name"}},[t._v("文件名:")]),e("p",{attrs:{id:"fileNameField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"fileSizeLabel","data-l10n-id":"document_properties_file_size"}},[t._v("文件大小:")]),e("p",{attrs:{id:"fileSizeField","aria-labelledby":"fileSizeLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row"},[e("span",{attrs:{id:"titleLabel","data-l10n-id":"document_properties_title"}},[t._v("标题:")]),e("p",{attrs:{id:"titleField","aria-labelledby":"titleLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"authorLabel","data-l10n-id":"document_properties_author"}},[t._v("作者:")]),e("p",{attrs:{id:"authorField","aria-labelledby":"authorLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"subjectLabel","data-l10n-id":"document_properties_subject"}},[t._v("主题:")]),e("p",{attrs:{id:"subjectField","aria-labelledby":"subjectLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"keywordsLabel","data-l10n-id":"document_properties_keywords"}},[t._v("关键词:")]),e("p",{attrs:{id:"keywordsField","aria-labelledby":"keywordsLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"creationDateLabel","data-l10n-id":"document_properties_creation_date"}},[t._v("创建日期:")]),e("p",{attrs:{id:"creationDateField","aria-labelledby":"creationDateLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"modificationDateLabel","data-l10n-id":"document_properties_modification_date"}},[t._v("修改日期:")]),e("p",{attrs:{id:"modificationDateField","aria-labelledby":"modificationDateLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"creatorLabel","data-l10n-id":"document_properties_creator"}},[t._v("创建者:")]),e("p",{attrs:{id:"creatorField","aria-labelledby":"creatorLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row"},[e("span",{attrs:{id:"producerLabel","data-l10n-id":"document_properties_producer"}},[t._v("OFD 生成器:")]),e("p",{attrs:{id:"producerField","aria-labelledby":"producerLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"versionLabel","data-l10n-id":"document_properties_version"}},[t._v("OFD 版本:")]),e("p",{attrs:{id:"versionField","aria-labelledby":"versionLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"pageCountLabel","data-l10n-id":"document_properties_page_count"}},[t._v("页数:")]),e("p",{attrs:{id:"pageCountField","aria-labelledby":"pageCountLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"pageSizeLabel","data-l10n-id":"document_properties_page_size"}},[t._v("页面大小:")]),e("p",{attrs:{id:"pageSizeField","aria-labelledby":"pageSizeLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row",attrs:{hidden:"hidden"}},[e("span",{attrs:{id:"linearizedLabel","data-l10n-id":"document_properties_linearized"}},[t._v("快速 Web 视图:")]),e("p",{attrs:{id:"linearizedField","aria-labelledby":"linearizedLabel"}},[t._v("-")])]),e("div",{staticClass:"buttonRow"},[e("button",{staticClass:"dialogButton",attrs:{id:"documentPropertiesClose"}},[e("span",{attrs:{"data-l10n-id":"document_properties_close"}},[t._v("关闭")])])])]),e("dialog",{staticStyle:{"min-width":"200px"},attrs:{id:"printServiceDialog"}},[e("div",{staticClass:"row"},[e("span",{attrs:{"data-l10n-id":"print_progress_message"}},[t._v("正在准备打印文档…")])]),e("div",{staticClass:"row"},[e("progress",{attrs:{id:"printProgress",value:"0",max:"100"}}),e("span",{staticClass:"relative-progress",attrs:{"data-l10n-id":"print_progress_percent","data-l10n-args":'{ "progress": 0 }'}},[t._v("0%")])]),e("div",{staticClass:"buttonRow"},[e("button",{staticClass:"dialogButton",attrs:{id:"printCancel"}},[e("span",{attrs:{"data-l10n-id":"print_progress_close"}},[t._v("取消")])])])]),e("dialog",{attrs:{id:"signaturePropertiesDialog"}},[e("div",{staticClass:"row"},[e("span",{attrs:{id:"signerLabel"}},[t._v("签章人:")]),e("p",{attrs:{id:"signerField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"providerLabel"}},[t._v("签章提供者:")]),e("p",{attrs:{id:"providerField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"hashedValueLabel"}},[t._v("原文摘要值:")]),e("p",{attrs:{id:"hashedValueField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"signedValueLabel"}},[t._v("签名值:")]),e("p",{attrs:{id:"signedValueField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"signMethodLabel"}},[t._v("签名算法:")]),e("p",{attrs:{id:"signMethodField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"signVersionLabel"}},[t._v("版本号:")]),e("p",{attrs:{id:"signVersionField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"verifyLabel"}},[t._v("验签结果:")]),e("p",{attrs:{id:"verifyField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealIDLabel"}},[t._v("印章标识:")]),e("p",{attrs:{id:"sealIDField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealNameLabel"}},[t._v("印章名称:")]),e("p",{attrs:{id:"sealNameField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealTypeLabel"}},[t._v("印章类型:")]),e("p",{attrs:{id:"sealTypeField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealAuthTimeLabel"}},[t._v("有效时间:")]),e("p",{attrs:{id:"sealAuthTimeField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealMakeTimeLabel"}},[t._v("制章日期:")]),e("p",{attrs:{id:"sealMakeTimeField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealVersionLabel"}},[t._v("印章版本:")]),e("p",{attrs:{id:"sealVersionField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"buttonRow"},[e("button",{staticClass:"dialogButton",attrs:{id:"signaturePropertiesClose"}},[e("span",{attrs:{"data-l10n-id":"document_properties_close"}},[t._v("关闭")])])])])])}],!1,null,"f18015b4",null)),u=c.exports;u.install=t=>t.component(u.name,u);var h=u;const p=[h],f=function(t){f.installed||p.map((e=>t.component(e.name,e)))};"undefined"!=typeof window&&window.Vue&&f(window.Vue);var m={install:f,OfdView:h}}(),module.exports=a}();
|
1
|
+
!function(){var t={4601:function(t,e,i){var n=i(8420),a=i(3838),r=TypeError;t.exports=function(t){if(n(t))return t;throw r(a(t)+" is not a function")}},5190:function(t,e,i){var n=i(7658),a=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw a("Incorrect invocation")}},3938:function(t,e,i){var n=i(5335),a=String,r=TypeError;t.exports=function(t){if(n(t))return t;throw r(a(t)+" is not an object")}},8186:function(t,e,i){var n=i(5476),a=i(6539),r=i(3493),o=function(t){return function(e,i,o){var s,l=n(e),d=r(l),c=a(o,d);if(t&&i!=i){for(;d>c;)if((s=l[c++])!=s)return!0}else for(;d>c;c++)if((t||c in l)&&l[c]===i)return t||c||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},6648:function(t,e,i){"use strict";var n=i(5077),a=i(8679),r=TypeError,o=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(a(t)&&!o(t,"length").writable)throw r("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},1332:function(t,e,i){var n=i(3938),a=i(9868);t.exports=function(t,e,i,r){try{return r?e(n(i)[0],i[1]):e(i)}catch(e){a(t,"throw",e)}}},8569:function(t,e,i){var n=i(6),a=n({}.toString),r=n("".slice);t.exports=function(t){return r(a(t),8,-1)}},4361:function(t,e,i){var n=i(6490),a=i(5816),r=i(7632),o=i(3610);t.exports=function(t,e,i){for(var s=a(e),l=o.f,d=r.f,c=0;c<s.length;c++){var u=s[c];n(t,u)||i&&n(i,u)||l(t,u,d(e,u))}}},7168:function(t,e,i){var n=i(2074);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},8296:function(t){t.exports=function(t,e){return{value:t,done:e}}},7712:function(t,e,i){var n=i(5077),a=i(3610),r=i(6843);t.exports=n?function(t,e,i){return a.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},6843:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},7485:function(t,e,i){var n=i(8420),a=i(3610),r=i(8218),o=i(9430);t.exports=function(t,e,i,s){s||(s={});var l=s.enumerable,d=void 0!==s.name?s.name:e;if(n(i)&&r(i,d,s),s.global)l?t[e]=i:o(e,i);else{try{s.unsafe?t[e]&&(l=!0):delete t[e]}catch(t){}l?t[e]=i:a.f(t,e,{value:i,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},2760:function(t,e,i){var n=i(7485);t.exports=function(t,e,i){for(var a in e)n(t,a,e[a],i);return t}},9430:function(t,e,i){var n=i(200),a=Object.defineProperty;t.exports=function(t,e){try{a(n,t,{value:e,configurable:!0,writable:!0})}catch(i){n[t]=e}return e}},5077:function(t,e,i){var n=i(2074);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},6568:function(t){var e="object"==typeof document&&document.all,i=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:i}},3262:function(t,e,i){var n=i(200),a=i(5335),r=n.document,o=a(r)&&a(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},7242:function(t){var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},7061:function(t,e,i){var n=i(6492);t.exports=n("navigator","userAgent")||""},6845:function(t,e,i){var n,a,r=i(200),o=i(7061),s=r.process,l=r.Deno,d=s&&s.versions||l&&l.version,c=d&&d.v8;c&&(a=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!a&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(a=+n[1]),t.exports=a},290:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1605:function(t,e,i){var n=i(200),a=i(7632).f,r=i(7712),o=i(7485),s=i(9430),l=i(4361),d=i(4977);t.exports=function(t,e){var i,c,u,p,h,f=t.target,m=t.global,g=t.stat;if(i=m?n:g?n[f]||s(f,{}):(n[f]||{}).prototype)for(c in e){if(p=e[c],u=t.dontCallGetSet?(h=a(i,c))&&h.value:i[c],!d(m?c:f+(g?".":"#")+c,t.forced)&&void 0!==u){if(typeof p==typeof u)continue;l(p,u)}(t.sham||u&&u.sham)&&r(p,"sham",!0),o(i,c,p,t)}}},2074:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},8823:function(t,e,i){var n=i(2074);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},2368:function(t,e,i){var n=i(8823),a=Function.prototype.call;t.exports=n?a.bind(a):function(){return a.apply(a,arguments)}},2071:function(t,e,i){var n=i(5077),a=i(6490),r=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=a(r,"name"),l=s&&"something"===function(){}.name,d=s&&(!n||n&&o(r,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:d}},6:function(t,e,i){var n=i(8823),a=Function.prototype,r=a.call,o=n&&a.bind.bind(r,r);t.exports=function(t){return n?o(t):function(){return r.apply(t,arguments)}}},281:function(t,e,i){var n=i(8569),a=i(6);t.exports=function(t){if("Function"===n(t))return a(t)}},6492:function(t,e,i){var n=i(200),a=i(8420);t.exports=function(t,e){return arguments.length<2?(i=n[t],a(i)?i:void 0):n[t]&&n[t][e];var i}},938:function(t,e,i){var n=i(4601),a=i(3938);t.exports=function(t){return{iterator:t,next:n(a(t).next)}}},6457:function(t,e,i){var n=i(4601),a=i(8406);t.exports=function(t,e){var i=t[e];return a(i)?void 0:n(i)}},200:function(t,e,i){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof i.g&&i.g)||function(){return this}()||Function("return this")()},6490:function(t,e,i){var n=i(281),a=i(2612),r=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return r(a(t),e)}},7708:function(t){t.exports={}},8890:function(t,e,i){var n=i(6492);t.exports=n("document","documentElement")},7694:function(t,e,i){var n=i(5077),a=i(2074),r=i(3262);t.exports=!n&&!a((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},8664:function(t,e,i){var n=i(281),a=i(2074),r=i(8569),o=Object,s=n("".split);t.exports=a((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?s(t,""):o(t)}:o},9965:function(t,e,i){var n=i(281),a=i(8420),r=i(9310),o=n(Function.toString);a(r.inspectSource)||(r.inspectSource=function(t){return o(t)}),t.exports=r.inspectSource},9206:function(t,e,i){var n,a,r,o=i(8369),s=i(200),l=i(5335),d=i(7712),c=i(6490),u=i(9310),p=i(5904),h=i(7708),f="Object already initialized",m=s.TypeError,g=s.WeakMap;if(o||u.state){var v=u.state||(u.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,n=function(t,e){if(v.has(t))throw m(f);return e.facade=t,v.set(t,e),e},a=function(t){return v.get(t)||{}},r=function(t){return v.has(t)}}else{var b=p("state");h[b]=!0,n=function(t,e){if(c(t,b))throw m(f);return e.facade=t,d(t,b,e),e},a=function(t){return c(t,b)?t[b]:{}},r=function(t){return c(t,b)}}t.exports={set:n,get:a,has:r,enforce:function(t){return r(t)?a(t):n(t,{})},getterFor:function(t){return function(e){var i;if(!l(e)||(i=a(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return i}}}},8679:function(t,e,i){var n=i(8569);t.exports=Array.isArray||function(t){return"Array"==n(t)}},8420:function(t,e,i){var n=i(6568),a=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===a}:function(t){return"function"==typeof t}},4977:function(t,e,i){var n=i(2074),a=i(8420),r=/#|\.prototype\./,o=function(t,e){var i=l[s(t)];return i==c||i!=d&&(a(e)?n(e):!!e)},s=o.normalize=function(t){return String(t).replace(r,".").toLowerCase()},l=o.data={},d=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},8406:function(t){t.exports=function(t){return null==t}},5335:function(t,e,i){var n=i(8420),a=i(6568),r=a.all;t.exports=a.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===r}:function(t){return"object"==typeof t?null!==t:n(t)}},6926:function(t){t.exports=!1},2328:function(t,e,i){var n=i(6492),a=i(8420),r=i(7658),o=i(5225),s=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return a(e)&&r(e.prototype,s(t))}},9868:function(t,e,i){var n=i(2368),a=i(3938),r=i(6457);t.exports=function(t,e,i){var o,s;a(t);try{if(!(o=r(t,"return"))){if("throw"===e)throw i;return i}o=n(o,t)}catch(t){s=!0,o=t}if("throw"===e)throw i;if(s)throw o;return a(o),i}},1523:function(t,e,i){"use strict";var n=i(2368),a=i(3105),r=i(7712),o=i(2760),s=i(1602),l=i(9206),d=i(6457),c=i(9306).IteratorPrototype,u=i(8296),p=i(9868),h="IteratorHelper",f="WrapForValidIterator",m=l.set,g=s("toStringTag"),v=function(t){var e=t?f:h,i=l.getterFor(e),s=o(a(c),{next:function(){var e=i(this);if(t)return e.nextHandler();try{var n=e.done?void 0:e.nextHandler();return u(n,e.done)}catch(t){throw e.done=!0,t}},return:function(){var e=i(this),a=e.iterator;if(e.done=!0,t){var r=d(a,"return");return r?n(r,a):u(void 0,!0)}var o=e.innerIterator;if(o)try{p(o,"return")}catch(t){return p(a,"throw",t)}return p(a,"return"),u(void 0,!0)}});return t||r(s,g,"Iterator Helper"),s},b=v(!1),y=v(!0);t.exports=function(t,e){var i=e?f:h,n=function(e,n){n?(n.iterator=e.iterator,n.next=e.next):n=e,n.type=i,n.nextHandler=t,n.done=!1,m(this,n)};return n.prototype=e?y:b,n}},9306:function(t,e,i){"use strict";var n,a,r,o=i(2074),s=i(8420),l=i(5335),d=i(3105),c=i(7970),u=i(7485),p=i(1602),h=i(6926),f=p("iterator"),m=!1;[].keys&&("next"in(r=[].keys())?(a=c(c(r)))!==Object.prototype&&(n=a):m=!0),!l(n)||o((function(){var t={};return n[f].call(t)!==t}))?n={}:h&&(n=d(n)),s(n[f])||u(n,f,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},3493:function(t,e,i){var n=i(3747);t.exports=function(t){return n(t.length)}},8218:function(t,e,i){var n=i(2074),a=i(8420),r=i(6490),o=i(5077),s=i(2071).CONFIGURABLE,l=i(9965),d=i(9206),c=d.enforce,u=d.get,p=Object.defineProperty,h=o&&!n((function(){return 8!==p((function(){}),"length",{value:8}).length})),f=String(String).split("String"),m=t.exports=function(t,e,i){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(e="get "+e),i&&i.setter&&(e="set "+e),(!r(t,"name")||s&&t.name!==e)&&(o?p(t,"name",{value:e,configurable:!0}):t.name=e),h&&i&&r(i,"arity")&&t.length!==i.arity&&p(t,"length",{value:i.arity});try{i&&r(i,"constructor")&&i.constructor?o&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=c(t);return r(n,"source")||(n.source=f.join("string"==typeof e?e:"")),t};Function.prototype.toString=m((function(){return a(this)&&u(this).source||l(this)}),"toString")},9830:function(t){var e=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?i:e)(n)}},3105:function(t,e,i){var n,a=i(3938),r=i(5318),o=i(290),s=i(7708),l=i(8890),d=i(3262),c=i(5904),u="prototype",p="script",h=c("IE_PROTO"),f=function(){},m=function(t){return"<"+p+">"+t+"</"+p+">"},g=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,i;v="undefined"!=typeof document?document.domain&&n?g(n):(e=d("iframe"),i="java"+p+":",e.style.display="none",l.appendChild(e),e.src=String(i),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F):g(n);for(var a=o.length;a--;)delete v[u][o[a]];return v()};s[h]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(f[u]=a(t),i=new f,f[u]=null,i[h]=t):i=v(),void 0===e?i:r.f(i,e)}},5318:function(t,e,i){var n=i(5077),a=i(4491),r=i(3610),o=i(3938),s=i(5476),l=i(1641);e.f=n&&!a?Object.defineProperties:function(t,e){o(t);for(var i,n=s(e),a=l(e),d=a.length,c=0;d>c;)r.f(t,i=a[c++],n[i]);return t}},3610:function(t,e,i){var n=i(5077),a=i(7694),r=i(4491),o=i(3938),s=i(6032),l=TypeError,d=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u="enumerable",p="configurable",h="writable";e.f=n?r?function(t,e,i){if(o(t),e=s(e),o(i),"function"==typeof t&&"prototype"===e&&"value"in i&&h in i&&!i[h]){var n=c(t,e);n&&n[h]&&(t[e]=i.value,i={configurable:p in i?i[p]:n[p],enumerable:u in i?i[u]:n[u],writable:!1})}return d(t,e,i)}:d:function(t,e,i){if(o(t),e=s(e),o(i),a)try{return d(t,e,i)}catch(t){}if("get"in i||"set"in i)throw l("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},7632:function(t,e,i){var n=i(5077),a=i(2368),r=i(9304),o=i(6843),s=i(5476),l=i(6032),d=i(6490),c=i(7694),u=Object.getOwnPropertyDescriptor;e.f=n?u:function(t,e){if(t=s(t),e=l(e),c)try{return u(t,e)}catch(t){}if(d(t,e))return o(!a(r.f,t,e),t[e])}},4789:function(t,e,i){var n=i(6347),a=i(290).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,a)}},8916:function(t,e){e.f=Object.getOwnPropertySymbols},7970:function(t,e,i){var n=i(6490),a=i(8420),r=i(2612),o=i(5904),s=i(7168),l=o("IE_PROTO"),d=Object,c=d.prototype;t.exports=s?d.getPrototypeOf:function(t){var e=r(t);if(n(e,l))return e[l];var i=e.constructor;return a(i)&&e instanceof i?i.prototype:e instanceof d?c:null}},7658:function(t,e,i){var n=i(281);t.exports=n({}.isPrototypeOf)},6347:function(t,e,i){var n=i(281),a=i(6490),r=i(5476),o=i(8186).indexOf,s=i(7708),l=n([].push);t.exports=function(t,e){var i,n=r(t),d=0,c=[];for(i in n)!a(s,i)&&a(n,i)&&l(c,i);for(;e.length>d;)a(n,i=e[d++])&&(~o(c,i)||l(c,i));return c}},1641:function(t,e,i){var n=i(6347),a=i(290);t.exports=Object.keys||function(t){return n(t,a)}},9304:function(t,e){"use strict";var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,a=n&&!i.call({1:2},1);e.f=a?function(t){var e=n(this,t);return!!e&&e.enumerable}:i},9751:function(t,e,i){var n=i(2368),a=i(8420),r=i(5335),o=TypeError;t.exports=function(t,e){var i,s;if("string"===e&&a(i=t.toString)&&!r(s=n(i,t)))return s;if(a(i=t.valueOf)&&!r(s=n(i,t)))return s;if("string"!==e&&a(i=t.toString)&&!r(s=n(i,t)))return s;throw o("Can't convert object to primitive value")}},5816:function(t,e,i){var n=i(6492),a=i(281),r=i(4789),o=i(8916),s=i(3938),l=a([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=r.f(s(t)),i=o.f;return i?l(e,i(t)):e}},1229:function(t,e,i){var n=i(8406),a=TypeError;t.exports=function(t){if(n(t))throw a("Can't call method on "+t);return t}},5904:function(t,e,i){var n=i(2),a=i(665),r=n("keys");t.exports=function(t){return r[t]||(r[t]=a(t))}},9310:function(t,e,i){var n=i(200),a=i(9430),r="__core-js_shared__",o=n[r]||a(r,{});t.exports=o},2:function(t,e,i){var n=i(6926),a=i(9310);(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.25.5",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"})},2072:function(t,e,i){var n=i(6845),a=i(2074);t.exports=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},6539:function(t,e,i){var n=i(9328),a=Math.max,r=Math.min;t.exports=function(t,e){var i=n(t);return i<0?a(i+e,0):r(i,e)}},5476:function(t,e,i){var n=i(8664),a=i(1229);t.exports=function(t){return n(a(t))}},9328:function(t,e,i){var n=i(9830);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},3747:function(t,e,i){var n=i(9328),a=Math.min;t.exports=function(t){return t>0?a(n(t),9007199254740991):0}},2612:function(t,e,i){var n=i(1229),a=Object;t.exports=function(t){return a(n(t))}},874:function(t,e,i){var n=i(2368),a=i(5335),r=i(2328),o=i(6457),s=i(9751),l=i(1602),d=TypeError,c=l("toPrimitive");t.exports=function(t,e){if(!a(t)||r(t))return t;var i,l=o(t,c);if(l){if(void 0===e&&(e="default"),i=n(l,t,e),!a(i)||r(i))return i;throw d("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},6032:function(t,e,i){var n=i(874),a=i(2328);t.exports=function(t){var e=n(t,"string");return a(e)?e:e+""}},3838:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},665:function(t,e,i){var n=i(281),a=0,r=Math.random(),o=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++a+r,36)}},5225:function(t,e,i){var n=i(2072);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4491:function(t,e,i){var n=i(5077),a=i(2074);t.exports=n&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8369:function(t,e,i){var n=i(200),a=i(8420),r=n.WeakMap;t.exports=a(r)&&/native code/.test(String(r))},1602:function(t,e,i){var n=i(200),a=i(2),r=i(6490),o=i(665),s=i(2072),l=i(5225),d=a("wks"),c=n.Symbol,u=c&&c.for,p=l?c:c&&c.withoutSetter||o;t.exports=function(t){if(!r(d,t)||!s&&"string"!=typeof d[t]){var e="Symbol."+t;s&&r(c,t)?d[t]=c[t]:d[t]=l&&u?u(e):p(e)}return d[t]}},8743:function(t,e,i){"use strict";var n=i(1605),a=i(2612),r=i(3493),o=i(6648),s=i(7242),l=i(2074)((function(){return 4294967297!==[].push.call({length:4294967296},1)})),d=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();n({target:"Array",proto:!0,arity:1,forced:l||d},{push:function(t){var e=a(this),i=r(e),n=arguments.length;s(i+n);for(var l=0;l<n;l++)e[i]=arguments[l],i++;return o(e,i),i}})},3725:function(t,e,i){"use strict";var n=i(1605),a=i(200),r=i(5190),o=i(8420),s=i(7712),l=i(2074),d=i(6490),c=i(1602),u=i(9306).IteratorPrototype,p=i(6926),h=c("toStringTag"),f=a.Iterator,m=p||!o(f)||f.prototype!==u||!l((function(){f({})})),g=function(){r(this,u)};d(u,h)||s(u,h,"Iterator"),!m&&d(u,"constructor")&&u.constructor!==Object||s(u,"constructor",g),g.prototype=u,n({global:!0,constructor:!0,forced:m},{Iterator:g})},5019:function(t,e,i){"use strict";var n=i(1605),a=i(2368),r=i(4601),o=i(3938),s=i(938),l=i(1523),d=i(1332),c=l((function(){for(var t,e,i=this.iterator,n=this.filterer,r=this.next;;){if(t=o(a(r,i)),this.done=!!t.done)return;if(e=t.value,d(i,n,e))return e}}));n({target:"Iterator",proto:!0,real:!0,forced:!0},{filter:function(t){return new c(s(this),{filterer:r(t)})}})},1339:function(t,e,i){"use strict";var n=i(1605),a=i(2368),r=i(4601),o=i(3938),s=i(938),l=i(1523),d=i(1332),c=l((function(){var t=this.iterator,e=o(a(this.next,t));if(!(this.done=!!e.done))return d(t,this.mapper,e.value)}));n({target:"Iterator",proto:!0,real:!0,forced:!0},{map:function(t){return new c(s(this),{mapper:r(t)})}})},5510:function(t,e,i){"use strict";i.r(e);var n=i(1601),a=i.n(n),r=i(6314),o=i.n(r)()(a());o.push([t.id,'.vdr[data-v-cfaa6eb2]{touch-action:none;position:absolute;box-sizing:border-box;border:1px dashed #ddd;cursor:move}.vdr button[data-v-cfaa6eb2]{display:none}.vdr[data-v-cfaa6eb2]:hover{border:1px solid #fd397a;background:rgba(253,57,122,.08)}.vdr:hover button[data-v-cfaa6eb2]{display:block}.handle[data-v-cfaa6eb2]{box-sizing:border-box;display:none;position:absolute;width:10px;height:10px;font-size:1px;background:rgba(253,57,122,.08);border:1px solid #fd397a}.handle-tl[data-v-cfaa6eb2]{top:-10px;left:-10px;cursor:nw-resize}.handle-tm[data-v-cfaa6eb2]{top:-10px;left:50%;margin-left:-5px;cursor:n-resize}.handle-tr[data-v-cfaa6eb2]{top:-10px;right:-10px;cursor:ne-resize}.handle-ml[data-v-cfaa6eb2]{left:-10px;cursor:w-resize}.handle-ml[data-v-cfaa6eb2],.handle-mr[data-v-cfaa6eb2]{top:50%;margin-top:-5px}.handle-mr[data-v-cfaa6eb2]{right:-10px;cursor:e-resize}.handle-bl[data-v-cfaa6eb2]{bottom:-10px;left:-10px;cursor:sw-resize}.handle-bm[data-v-cfaa6eb2]{bottom:-10px;left:50%;margin-left:-5px;cursor:s-resize}.handle-br[data-v-cfaa6eb2]{bottom:-10px;right:-10px;cursor:se-resize}@media only screen and (max-width:768px){[class*=handle-][data-v-cfaa6eb2]:before{content:"";left:-10px;right:-10px;bottom:-10px;top:-10px;position:absolute}}.close[data-v-cfaa6eb2]{background:orange;color:red;border-radius:12px;line-height:20px;text-align:center;height:20px;width:20px;font-size:18px;padding:1px}.close[data-v-cfaa6eb2]:before{content:"\\2716"}.close[data-v-cfaa6eb2]{top:5px;right:2px;position:absolute}',""]),e.default=o},3161:function(t,e,i){"use strict";i.r(e);var n=i(1601),a=i.n(n),r=i(6314),o=i.n(r)()(a());o.push([t.id,".stamp[data-v-7dee48c0]{background-position:50%;background-repeat:no-repeat;background-size:contain;width:100%;height:100%}",""]),e.default=o},6314:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,a,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(o[l]=!0)}for(var d=0;d<t.length;d++){var c=[].concat(t[d]);n&&o[c[0]]||(void 0!==r&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=r),i&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=i):c[2]=i),a&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=a):c[4]="".concat(a)),e.push(c))}},e}},1601:function(t){"use strict";t.exports=function(t){return t[1]}},2261:function(t,e,i){var n=i(5510);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);(0,i(9548).A)("29bf075d",n,!0,{sourceMap:!1,shadowMode:!1})},1878:function(t,e,i){var n=i(3161);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);(0,i(9548).A)("eb175408",n,!0,{sourceMap:!1,shadowMode:!1})},9548:function(t,e,i){"use strict";function n(t,e){for(var i=[],n={},a=0;a<e.length;a++){var r=e[a],o=r[0],s={id:t+":"+a,css:r[1],media:r[2],sourceMap:r[3]};n[o]?n[o].parts.push(s):i.push(n[o]={id:o,parts:[s]})}return i}i.d(e,{A:function(){return f}});var a="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},o=a&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,d=!1,c=function(){},u=null,p="data-vue-ssr-id",h="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,i,a){d=i,u=a||{};var o=n(t,e);return m(o),function(e){for(var i=[],a=0;a<o.length;a++){var s=o[a];(l=r[s.id]).refs--,i.push(l)}e?m(o=n(t,e)):o=[];for(a=0;a<i.length;a++){var l;if(0===(l=i[a]).refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete r[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var i=t[e],n=r[i.id];if(n){n.refs++;for(var a=0;a<n.parts.length;a++)n.parts[a](i.parts[a]);for(;a<i.parts.length;a++)n.parts.push(v(i.parts[a]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{var o=[];for(a=0;a<i.parts.length;a++)o.push(v(i.parts[a]));r[i.id]={id:i.id,refs:1,parts:o}}}}function g(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function v(t){var e,i,n=document.querySelector("style["+p+'~="'+t.id+'"]');if(n){if(d)return c;n.parentNode.removeChild(n)}if(h){var a=l++;n=s||(s=g()),e=w.bind(null,n,a,!1),i=w.bind(null,n,a,!0)}else n=g(),e=_.bind(null,n),i=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else i()}}var b,y=(b=[],function(t,e){return b[t]=e,b.filter(Boolean).join("\n")});function w(t,e,i,n){var a=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=y(e,a);else{var r=document.createTextNode(a),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(r,o[e]):t.appendChild(r)}}function _(t,e){var i=e.css,n=e.media,a=e.sourceMap;if(n&&t.setAttribute("media",n),u.ssrId&&t.setAttribute(p,e.id),a&&(i+="\n/*# sourceURL="+a.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}}},e={};function i(n){var a=e[n];if(void 0!==a)return a.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.p="";var n={};!function(){"use strict";if(i.r(n),i.d(n,{default:function(){return m}}),"undefined"!=typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(i.p=e[1])}i(1339),i(8743),i(3725),i(5019);function a(t){return"function"==typeof t||"[object Function]"===Object.prototype.toString.call(t)}function r(t,e,i){let n=t;const r=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].find((t=>a(n[t])));if(!a(n[r]))return!1;do{if(n[r](e))return!0;if(n===i)return!1;n=n.parentNode}while(n);return!1}var o={replace:!0,name:"VueDraggableResizable",props:{active:{type:Boolean,default:!1},draggable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},editable:{type:Boolean,default:!0},w:{type:Number,default:200,validator:function(t){return t>0}},h:{type:Number,default:200,validator:function(t){return t>0}},minw:{type:Number,default:5,validator:function(t){return t>=0}},minh:{type:Number,default:5,validator:function(t){return t>=0}},fixX:{type:Number,default:-1,validator:function(t){return"number"==typeof t}},x:{type:Number,default:0,validator:function(t){return"number"==typeof t}},y:{type:Number,default:0,validator:function(t){return"number"==typeof t}},z:{type:[String,Number],default:"auto",validator:function(t){return"string"==typeof t?"auto"===t:t>=0}},handles:{type:Array,default:function(){return["tl","tm","tr","mr","br","bm","bl","ml"]},validator:function(t){let e=new Set(["tl","tm","tr","mr","br","bm","bl","ml"]);return new Set(t.filter((t=>e.has(t)))).size===t.length}},dragHandle:{type:String,default:null},dragCancel:{type:String,default:null},axis:{type:String,default:"both",validator:function(t){return-1!==["x","y","both"].indexOf(t)}},grid:{type:Array,default:function(){return[1,1]}},parent:{type:Element,default:null},maximize:{type:Boolean,default:!1},pages:{type:Array,required:!1,default:null},eventBus:{type:Object,default:null},index:{type:Number,required:!1,default:0},currentPage:{type:Number,required:!1,default:0},stampId:{type:String,required:!1,default:null}},created:function(){this.parentX=0,this.parentW=9999,this.parentY=0,this.parentH=9999,this.mouseX=0,this.mouseY=0,this.lastMouseX=0,this.lastMouseY=0,this.mouseOffX=0,this.mouseOffY=0,this.elmX=0,this.elmY=0,this.elmW=0,this.elmH=0,this.scrollPosition=0,this.scrollDist=0,this.pagesCount=this.pages?this.pages.length:0,this.section=[],this.scale=null},mounted:function(){if(this.parent.addEventListener("mousemove",this.handleMove,!1),this.parent.addEventListener("mousedown",this.deselect,!1),this.parent.addEventListener("mouseup",this.handleUp,!1),this.parent.addEventListener("touchmove",this.handleMove,!1),this.parent.addEventListener("touchend",this.handleUp,!1),this.parent.addEventListener("touchstart",this.deselect,!1),this.parent&&this.parent.parentNode.addEventListener("scroll",this.handleScrollMove,!1),this.eventBus&&this.eventBus.on("stampResize",this.stampResize),this.elmX=parseInt(this.$el.style.left),this.elmY=parseInt(this.$el.style.top),this.elmW=this.$el.offsetWidth||this.$el.clientWidth,this.elmH=this.$el.offsetHeight||this.$el.clientHeight,this._reviewDimensions(),this.pages){this.scale||(this.scale=this.pages[0].viewport.scale),this.updateSection(),this.top<10&&(this.top=10);let t=this.adjust(this.section,this.top,this.currentPage-1,this.pagesCount-1);this.left+this.elmW>this.parentW-(this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft)&&(this.left=this.parentW-(this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft)-this.elmW),this.elmY=this.top;let e=this.pages[t];e&&this.x-e.div.offsetLeft-9>0||e&&(this.left=e.div.offsetLeft+9),this.elmX=this.left,this._emitPlaced(t)}},beforeUnmount:function(){this.parent.removeEventListener("mousemove",this.handleMove,!1),this.parent.removeEventListener("mousedown",this.deselect,!1),this.parent.removeEventListener("mouseup",this.handleUp,!1),this.parent&&this.parent.parentNode.removeEventListener("scroll",this.handleScrollMove,!1),this.eventBus&&this.eventBus.off("stampResize",this.stampResize),this.parent.removeEventListener("touchmove",this.handleMove,!1),this.parent.removeEventListener("touchend",this.handleUp,!1),this.parent.removeEventListener("touchstart",this.deselect,!1)},data:function(){return{top:this.y,left:this.x,width:this.w,height:this.h,resizing:!1,dragging:!1,enabled:this.active,handle:null,zIndex:this.z}},methods:{adjust(t,e,i,n){let a=this.binarySearch(t,e,i,n);return(a<0||a>this.pagesCount-1)&&(a=0),a=this.adjustBoundary(a),a},handleScrollMove(t){this.dragging&&(this.scrollDist=t.currentTarget.scrollTop-this.scrollPosition,this.top=this.top+this.scrollDist,this.elmY=this.top),this.scrollPosition=t.currentTarget.scrollTop},stampAreaUpdate(t){for(let e=t-1;e<t+1;e++)e-1>0&&e<this.pagesCount&&(this.section[e].t=this.section[e-1].t+this.pages[e-1].viewport.height+11,this.section[e].o=this.pages[e-1].div.offsetLeft+9)},adjustBoundary(t){return this.pages[t]&&this.top+this.elmH-this.section[t].t-this.pages[t].viewport.height>0&&(this.top+this.elmH-this.section[t].t-this.pages[t].viewport.height-this.elmH/2>0?t+1<this.section.length?(this.top=this.section[t+1].t,t++):this.top=this.section[t].t+this.pages[t].viewport.height-this.elmH:1===this.section.length?this.top=this.top-(this.top+this.elmH-this.pages[t].viewport.height)+9+2:t+1<this.section.length?this.top=this.section[t+1].t-this.elmH-9-2:this.top=this.section[t].t+this.pages[t].viewport.height-this.elmH),t},binarySearch(t,e,i,n){if(i>n)return i-1;let a=Math.floor((i+n)/2),r=t[a].t;return r>e?this.binarySearch(t,e,i,a-1):r<e?this.binarySearch(t,e,a+1,n):a},updateSection(){this.section.length=0;let t=10;for(let e=0;e<this.pagesCount;e++)t=t+(e>0?this.pages[e-1].viewport.height:0)+(e>0?11:0),this.section.push({t:t,o:this.pages[e].div.offsetLeft+9});this.section.push({t:this.section[this.pagesCount-1].t+this.pages[this.pagesCount-1].viewport.height+9+2,o:this.pages[this.pagesCount-1].div.offsetLeft+9})},stampResize(){if(null!=this.scale){const t=[].concat(this.section);this.updateSection();const e=this.top;let i=this.binarySearch(t,e,this.currentPage-1,this.pagesCount-1);i<0&&(i=0);const n=this.pages[0].viewport.scale,a=this.width,r=this.height;this.width=a*n/this.scale,this.height=r*n/this.scale;const o=this.left;this.top=(e-10)*n/this.scale+10,this._reviewDimensions(),this.left=this.pages[i].div.offsetLeft+(o-t[i].o)*n/this.scale+9,i=this.adjust(this.section,this.top,this.currentPage-1,this.pagesCount-1),this.elmW=this.width,this.elmH=this.height,this.elmX=this.left,this.elmY=this.top,this.scale=n,this._emitPlaced(i)}},_emitPlaced(t){t===this.pages.length&&t--,this.$emit("placed",t,this.index,{x:(this.left-this.section[t].o)/this.pages[t].viewport.width,y:(this.top-this.section[t].t)/this.pages[t].viewport.height,w:this.elmW/this.pages[t].viewport.width,h:this.elmH/this.pages[t].viewport.height,pageWidth:this.pages[t].viewport.width,pageHeight:this.pages[t].viewport.height,pageWidthMM:this.pages[t].viewport.pageWidthMM,pageHeightMM:this.pages[t].viewport.pageHeightMM},this.stampId)},_reviewDimensions(){if(this.minw>this.w&&(this.width=this.minw),this.minh>this.h&&(this.height=this.minh),this.parent){const t=parseInt(this.parent.scrollWidth,10),e=parseInt(this.parent.scrollHeight,10);this.parentW=t,this.parentH=e,this.w>this.parentW&&(this.width=t),this.h>this.parentH&&(this.height=e),this.x+this.w>this.parentW&&(this.left=this.x-(this.x+this.w-this.parentW)-20),this.y+this.h>this.parentH&&(this.top=this.y-(this.y+this.h-this.parentH))}this.elmW=this.width,this.elmH=this.height},reviewDimensions:function(){this._reviewDimensions(),this.$emit("resizing",this.left,this.top,this.width,this.height)},elmDown:function(t){const e=t.target||t.srcElement;if(this.$el.contains(e)){if(this.dragHandle&&!r(e,this.dragHandle,this.$el)||this.dragCancel&&r(e,this.dragCancel,this.$el))return;this.reviewDimensions(),this.enabled||(this.enabled=!0,this.$emit("activated"),this.$emit("update:active",!0)),this.draggable&&(this.dragging=!0)}},deselect:function(t){-1!==t.type.indexOf("touch")?(this.mouseX=t.changedTouches[0].clientX,this.mouseY=t.changedTouches[0].clientY):(this.mouseX=t.pageX||t.clientX+this.parent.scrollLeft,this.mouseY=t.pageY||t.clientY+this.parent.scrollTop),this.lastMouseX=this.mouseX,this.lastMouseY=this.mouseY;const e=t.target||t.srcElement,i=new RegExp("handle-([trmbl]{2})","");this.$el.contains(e)||i.test(e.className)||this.enabled&&(this.enabled=!1,this.$emit("deactivated"),this.$emit("update:active",!1))},handleDown:function(t,e){this.handle=t,e.cancelable&&(e.stopPropagation(),e.preventDefault()),this.resizing=!0},handleMove:function(t){const e=-1!==t.type.indexOf("touchmove");this.mouseX=e?t.touches[0].clientX:t.pageX||t.clientX+document.documentElement.scrollLeft,this.mouseY=e?t.touches[0].clientY:t.pageY||t.clientY+document.documentElement.scrollTop;let i=this.mouseX-this.lastMouseX+this.mouseOffX,n=this.mouseY-this.lastMouseY+this.mouseOffY;this.mouseOffX=this.mouseOffY=0,this.lastMouseX=this.mouseX,this.lastMouseY=this.mouseY;let a=i,r=n;if(this.resizing)this.handle.indexOf("t")>=0&&(this.elmH-r<this.minh?this.mouseOffY=r-(n=this.elmH-this.minh):this.parent&&this.elmY+r<this.parentY&&(this.mouseOffY=r-(n=this.parentY-this.elmY)),this.elmY+=n,this.elmH-=n),this.handle.indexOf("b")>=0&&(this.elmH+r<this.minh?this.mouseOffY=r-(n=this.minh-this.elmH):this.parent&&this.elmY+this.elmH+r>this.parentH&&(this.mouseOffY=r-(n=this.parentH-this.elmY-this.elmH)),this.elmH+=n),this.handle.indexOf("l")>=0&&(this.elmW-a<this.minw?this.mouseOffX=a-(i=this.elmW-this.minw):this.parent&&this.elmX+a<this.parentX&&(this.mouseOffX=a-(i=this.parentX-this.elmX)),this.elmX+=i,this.elmW-=i),this.handle.indexOf("r")>=0&&(this.elmW+a<this.minw?this.mouseOffX=a-(i=this.minw-this.elmW):this.parent&&this.elmX+this.elmW+a>this.parentW&&(this.mouseOffX=a-(i=this.parentW-this.elmX-this.elmW)),this.elmW+=i),this.left=Math.round(this.elmX/this.grid[0])*this.grid[0],this.top=Math.round(this.elmY/this.grid[1])*this.grid[1],this.width=Math.round(this.elmW/this.grid[0])*this.grid[0],this.height=Math.round(this.elmH/this.grid[1])*this.grid[1],this.$emit("resizing",this.left,this.top,this.width,this.height);else if(this.dragging){if(this.parent){this._reviewDimensions();let[t,e]=[0,10];if(this.pages){let e=this.binarySearch(this.section,this.elmY+n,this.currentPage-1,this.pagesCount-1);e<0&&(e=0),this.elmY+n+this.elmH-this.section[e].t-this.pages[e].viewport.height>0&&this.elmY+n+this.elmH-this.section[e].t-this.pages[e].viewport.height-.9*this.elmH-11>0&&e++,t=this.pages[e].div.offsetLeft+9}this.elmX+a<this.parentX+t?this.mouseOffX=a-(i=this.parentX+t-this.elmX):this.elmX+this.elmW+a>this.parentW-t&&(this.mouseOffX=a-(i=this.parentW-t-this.elmX-this.elmW)),this.elmY+r<this.parentY+e?this.mouseOffY=r-(n=this.parentY+e-this.elmY):this.elmY+this.elmH+r>this.parentH&&(this.mouseOffY=r-(n=this.parentH-this.elmY-this.elmH))}this.elmX+=i,this.elmY+=n,"x"!==this.axis&&"both"!==this.axis||(this.left=Math.round(this.elmX/this.grid[0])*this.grid[0]),"y"!==this.axis&&"both"!==this.axis||(this.top=Math.round(this.elmY/this.grid[1])*this.grid[1]),this.$emit("dragging",this.left,this.top)}},handleUp:function(t){if(-1!==t.type.indexOf("touch")&&(this.lastMouseX=t.changedTouches[0].clientX,this.lastMouseY=t.changedTouches[0].clientY),this.handle=null,this.resizing&&(this.resizing=!1,this.$emit("resizestop",this.left,this.top,this.width,this.height)),this.dragging){this.dragging=!1;let t=0;this.pages&&(t=this.adjust(this.section,this.top,this.currentPage-1,this.pagesCount-1)),this.left<this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft&&(this.left=this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft);let e=this.mouseX-this.lastMouseX+this.mouseOffX;this.left+this.elmW+e>this.parentW-(this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft)&&(this.left=this.parentW-(this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft)-this.elmW),this.fixX>=0&&(this.left=this.pages[t].div.offsetLeft+this.pages[t].div.clientLeft+this.fixX),this._emitPlaced(t),this.$emit("dragstop",this.left,this.top)}this.elmX=this.left,this.elmY=this.top},dropItem(){this.$emit("dropitem",{index:this.index,stampId:this.stampId})}},computed:{style:function(){return{top:this.top+"px",left:this.left+"px",width:this.width+"px",height:this.height+"px",zIndex:this.zIndex}}},watch:{active:function(t){this.enabled=t},z:function(t){(t>=0||"auto"===t)&&(this.zIndex=t)},currentPage:function(t){this.stampAreaUpdate(t)}}};i(2261);function s(t,e,i,n,a,r,o,s){var l,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=i,d._compiled=!0),n&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=l):a&&(l=s?function(){a.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(t,e){return l.call(e),c(t,e)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:d}}var l=s(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"vdr",class:{draggable:t.draggable,resizable:t.resizable,active:t.enabled,dragging:t.dragging,resizing:t.resizing},style:t.style,on:{mousedown:t.elmDown,touchstart:t.elmDown}},[t.editable?e("button",{staticClass:"btn btn-danger btn-elevate btn-pill btn-icon btn-elevate-air btn-sm",staticStyle:{position:"absolute",right:"5px",top:"-20px"},attrs:{type:"button"},on:{click:function(e){return e.stopPropagation(),t.dropItem.apply(null,arguments)}}},[e("span",{staticClass:"close"})]):t._e(),t._l(t.handles,(function(i){return t.resizable?e("div",{key:i,staticClass:"handle",class:"handle-"+i,style:{display:t.enabled?"block":"none"},on:{mousedown:function(e){return t.handleDown(i,e)},touchstart:function(e){return t.handleDown(i,e)}}}):t._e()})),t._t("default")],2)}),[],!1,null,"cfaa6eb2",null),d={name:"OfdView",components:{VueDraggableResizable:l.exports},props:{file:{required:!1},fileBase64:{required:!1},mem:{required:!0},water_text:{type:String,required:!1},secret:{type:String,required:!1},digest:{type:String,required:!1},draggable:{type:Boolean,required:!1,default:!0},resizable:{type:Boolean,required:!1,default:!1},editable:{type:Boolean,required:!1,default:!0},stamps:{type:Array,required:!1,default:()=>[]},sidebarForceOpen:{type:Boolean,required:!1,default:!1},signatureViewerForceCheck:{type:Boolean,required:!1,default:!1},canOpen:{type:Boolean,required:!1,default:!1},canDownload:{type:Boolean,required:!1,default:!1},canPrint:{type:Boolean,required:!1,default:!1},displayToolbar:{type:Boolean,required:!1,default:!0}},watch:{file:{immediate:!0,handler(t){this.config&&this.mem&&(this.ofdViewer=null,this.mem.openOFD(t))}},stamps:{immediate:!0,handler(t){t.length>0&&this.config&&(document.getElementById("scrollModeButtons")&&(document.getElementById("scrollModeButtons").hidden=!0),document.getElementById("spreadModeButtons")&&(document.getElementById("spreadModeButtons").hidden=!0),document.getElementById("secondaryOpenFile")&&(document.getElementById("secondaryOpenFile").hidden=!0),document.getElementById("openFile")&&(document.getElementById("openFile").hidden=!0))}}},data:()=>({viewVisible:!1,config:null,eventBus:null,sp:1,ofdViewer:null}),mounted(){if(!this.config){this.config=this.getViewerConfiguration();let t=new Image;t.style.position="absolute",t.style.left=0,t.style.right=0,t.style.margin="auto",t.style.top=0,t.style.bottom=0,t.src="data:image/gif;base64,R0lGODlhNgA3APMAAP///zAyOJKTlkdJTzw+RN/g4XV2euPj5M/Q0WtscaChpDAyODAyODAyODAyODAyOCH5BAkKAAAAIf4aQ3JlYXRlZCB3aXRoIGFqYXhsb2FkLmluZm8AIf8LTkVUU0NBUEUyLjADAQAAACwAAAAANgA3AAAEzBDISau9OOvNu/9gKI5kaZ4lkhBEgqCnws6EApMITb93uOqsRC8EpA1Bxdnx8wMKl51ckXcsGFiGAkamsy0LA9pAe1EFqRbBYCAYXXUGk4DWJhZN4dlAlMSLRW80cSVzM3UgB3ksAwcnamwkB28GjVCWl5iZmpucnZ4cj4eWoRqFLKJHpgSoFIoEe5ausBeyl7UYqqw9uaVrukOkn8LDxMXGx8ibwY6+JLxydCO3JdMg1dJ/Is+E0SPLcs3Jnt/F28XXw+jC5uXh4u89EQAh+QQJCgAAACwAAAAANgA3AAAEzhDISau9OOvNu/9gKI5kaZ5oqhYGQRiFWhaD6w6xLLa2a+iiXg8YEtqIIF7vh/QcarbB4YJIuBKIpuTAM0wtCqNiJBgMBCaE0ZUFCXpoknWdCEFvpfURdCcM8noEIW82cSNzRnWDZoYjamttWhphQmOSHFVXkZecnZ6foKFujJdlZxqELo1AqQSrFH1/TbEZtLM9shetrzK7qKSSpryixMXGx8jJyifCKc1kcMzRIrYl1Xy4J9cfvibdIs/MwMue4cffxtvE6qLoxubk8ScRACH5BAkKAAAALAAAAAA2ADcAAATOEMhJq7046827/2AojmRpnmiqrqwwDAJbCkRNxLI42MSQ6zzfD0Sz4YYfFwyZKxhqhgJJeSQVdraBNFSsVUVPHsEAzJrEtnJNSELXRN2bKcwjw19f0QG7PjA7B2EGfn+FhoeIiYoSCAk1CQiLFQpoChlUQwhuBJEWcXkpjm4JF3w9P5tvFqZsLKkEF58/omiksXiZm52SlGKWkhONj7vAxcbHyMkTmCjMcDygRNAjrCfVaqcm11zTJrIjzt64yojhxd/G28XqwOjG5uTxJhEAIfkECQoAAAAsAAAAADYANwAABM0QyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7/i8qmCoGQoacT8FZ4AXbFopfTwEBhhnQ4w2j0GRkgQYiEOLPI6ZUkgHZwd6EweLBqSlq6ytricICTUJCKwKkgojgiMIlwS1VEYlspcJIZAkvjXHlcnKIZokxJLG0KAlvZfAebeMuUi7FbGz2z/Rq8jozavn7Nev8CsRACH5BAkKAAAALAAAAAA2ADcAAATLEMhJq7046827/2AojmRpnmiqrqwwDAJbCkRNxLI42MSQ6zzfD0Sz4YYfFwzJNCmPzheUyJuKijVrZ2cTlrg1LwjcO5HFyeoJeyM9U++mfE6v2+/4PD6O5F/YWiqAGWdIhRiHP4kWg0ONGH4/kXqUlZaXmJlMBQY1BgVuUicFZ6AhjyOdPAQGQF0mqzauYbCxBFdqJao8rVeiGQgJNQkIFwdnB0MKsQrGqgbJPwi2BMV5wrYJetQ129x62LHaedO21nnLq82VwcPnIhEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7/g8Po7kX9haKoAZZ0iFGIc/iRaDQ40Yfj+RepSVlpeYAAgJNQkIlgo8NQqUCKI2nzNSIpynBAkzaiCuNl9BIbQ1tl0hraewbrIfpq6pbqsioaKkFwUGNQYFSJudxhUFZ9KUz6IGlbTfrpXcPN6UB2cHlgfcBuqZKBEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhhh8XDMk0KY/OF5TIm4qKNWtnZxOWuDUvCNw7kcXJ6gl7Iz1T76Z8Tq/b7yJEopZA4CsKPDUKfxIIgjZ+P3EWe4gECYtqFo82P2cXlTWXQReOiJE5bFqHj4qiUhmBgoSFho59rrKztLVMBQY1BgWzBWe8UUsiuYIGTpMglSaYIcpfnSHEPMYzyB8HZwdrqSMHxAbath2MsqO0zLLorua05OLvJxEAIfkECQoAAAAsAAAAADYANwAABMwQyEmrvTjrzbv/YCiOZGmeaKqurDAMAlsKRE3EsjjYxJDrPN8PRLPhfohELYHQuGBDgIJXU0Q5CKqtOXsdP0otITHjfTtiW2lnE37StXUwFNaSScXaGZvm4r0jU1RWV1hhTIWJiouMjVcFBjUGBY4WBWw1A5RDT3sTkVQGnGYYaUOYPaVip3MXoDyiP3k3GAeoAwdRnRoHoAa5lcHCw8TFxscduyjKIrOeRKRAbSe3I9Um1yHOJ9sjzCbfyInhwt3E2cPo5dHF5OLvJREAOw==",t.draggable=!1,this.config.loadingContainer=t,this.config.onPageChanging=t=>{this.sp=t},this.config.parserOFDSuccess=t=>{},this.config.onPageScale=t=>{this.eventBus.dispatch("stampResize",{source:null})},this.config.onViewportChange=t=>{this.ofdViewer||(this.viewVisible=!0,this.$emit("viewready",t)),this.ofdViewer=t},this.config.secret=this.secret,this.config.digest=this.digest,this.config.sidebarForceOpen=this.sidebarForceOpen,this.config.signatureViewerForceCheck=this.signatureViewerForceCheck,this.config.onPrintFinishEvent=()=>{this.$emit("onPrintFinishEvent")},this.config.downloadFinishEvent=()=>{this.$emit("onDownloadFinishEvent")},this.config.waterText=this.water_text,this.mem.initOFDViewer(this.config),this.eventBus=this.mem.getEventBus()}this.file&&this.mem.openOFD(this.file),this.fileBase64&&this.mem.openFileBase64(this.fileBase64),this.displayToolbar||(this.config.toolbar.container.parentElement.hidden=!0)},methods:{getViewerConfiguration(){let t;this.$slots&&this.$slots.openFileRef&&this.$slots.openFileRef[0].elm&&(t=this.$slots.openFileRef[0].elm);let e=null;return e={container:document.getElementById("errorWrapper"),errorMessage:document.getElementById("errorMessage"),closeButton:document.getElementById("errorClose"),errorMoreInfo:document.getElementById("errorMoreInfo"),moreInfoButton:document.getElementById("errorShowMore"),lessInfoButton:document.getElementById("errorShowLess")},{appContainer:document.body,mainContainer:document.getElementById("viewerContainer"),viewerContainer:document.getElementById("viewer"),openFileTip:t,toolbar:{container:document.getElementById("toolbarViewer"),numPages:document.getElementById("numPages"),pageNumber:document.getElementById("pageNumber"),scaleSelect:document.getElementById("scaleSelect"),customScaleOption:document.getElementById("customScaleOption"),previous:document.getElementById("previous"),next:document.getElementById("next"),zoomIn:document.getElementById("zoomIn"),zoomOut:document.getElementById("zoomOut"),openFile:document.getElementById("openFile"),print:document.getElementById("print"),download:document.getElementById("download")},secondaryToolbar:{toolbar:document.getElementById("secondaryToolbar"),toggleButton:document.getElementById("secondaryToolbarToggle"),toolbarButtonContainer:document.getElementById("secondaryToolbarButtonContainer"),openFileButton:document.getElementById("secondaryOpenFile"),printButton:document.getElementById("secondaryPrint"),downloadButton:document.getElementById("secondaryDownload"),viewBookmarkButton:document.getElementById("secondaryViewBookmark"),firstPageButton:document.getElementById("firstPage"),lastPageButton:document.getElementById("lastPage"),pageRotateCwButton:document.getElementById("pageRotateCw"),pageRotateCcwButton:document.getElementById("pageRotateCcw"),cursorSelectToolButton:document.getElementById("cursorSelectTool"),cursorHandToolButton:document.getElementById("cursorHandTool"),scrollPageButton:document.getElementById("scrollPage"),scrollVerticalButton:document.getElementById("scrollVertical"),scrollHorizontalButton:document.getElementById("scrollHorizontal"),scrollWrappedButton:document.getElementById("scrollWrapped"),spreadNoneButton:document.getElementById("spreadNone"),spreadOddButton:document.getElementById("spreadOdd"),spreadEvenButton:document.getElementById("spreadEven"),documentPropertiesButton:document.getElementById("documentProperties")},sidebar:{outerContainer:document.getElementById("outerContainer"),viewerContainer:document.getElementById("viewerContainer"),toggleButton:document.getElementById("sidebarToggle"),outlineButton:document.getElementById("viewOutline"),attachmentsButton:document.getElementById("viewAttachments"),signaturesButton:document.getElementById("viewSignatures"),outlineView:document.getElementById("outlineView"),attachmentsView:document.getElementById("attachmentsView"),signaturesView:document.getElementById("signaturesView"),currentOutlineItemButton:document.getElementById("currentOutlineItem")},sidebarResizer:{outerContainer:document.getElementById("outerContainer"),resizer:document.getElementById("sidebarResizer")},documentProperties:{dialog:document.getElementById("documentPropertiesDialog"),closeButton:document.getElementById("documentPropertiesClose"),fields:{fileName:document.getElementById("fileNameField"),fileSize:document.getElementById("fileSizeField"),title:document.getElementById("titleField"),author:document.getElementById("authorField"),subject:document.getElementById("subjectField"),keywords:document.getElementById("keywordsField"),creationDate:document.getElementById("creationDateField"),modificationDate:document.getElementById("modificationDateField"),creator:document.getElementById("creatorField"),producer:document.getElementById("producerField"),version:document.getElementById("versionField"),pageCount:document.getElementById("pageCountField"),pageSize:document.getElementById("pageSizeField"),linearized:document.getElementById("linearizedField")}},signatureProperties:{dialog:document.getElementById("signaturePropertiesDialog"),closeButton:document.getElementById("signaturePropertiesClose"),fields:{signer:document.getElementById("signerField"),provider:document.getElementById("providerField"),hashedValue:document.getElementById("hashedValueField"),signedValue:document.getElementById("signedValueField"),signMethod:document.getElementById("signMethodField"),signVersion:document.getElementById("signVersionField"),verify:document.getElementById("verifyField"),sealID:document.getElementById("sealIDField"),sealName:document.getElementById("sealNameField"),sealType:document.getElementById("sealTypeField"),sealAuthTime:document.getElementById("sealAuthTimeField"),sealMakeTime:document.getElementById("sealMakeTimeField"),sealVersion:document.getElementById("sealVersionField")}},errorWrapper:e,printContainer:document.getElementById("printContainer"),openFileInputName:"fileInput"}},onStampDragOver(t){t.dataTransfer.dropEffect="move"},removeStamp(t){this.$emit("removePos",t)},onStampDragStop(t){},placed(t,e,i,n){this.$emit("itemDropped",e,t,i,n)}}},c=(i(1878),s(d,(function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"outerContainer"}},[t._m(0),t._v(" "),e("div",{attrs:{id:"mainContainer"}},[t.displayToolbar?e("div",{staticClass:"secondaryToolbar hidden doorHangerRight",attrs:{id:"secondaryToolbar"}},[e("div",{attrs:{id:"secondaryToolbarButtonContainer"}},[t.canOpen?e("button",{staticClass:"secondaryToolbarButton openFile visibleLargeView",attrs:{id:"secondaryOpenFile",title:"打开文件",tabindex:"52","data-l10n-id":"open_file"}},[e("span",{attrs:{"data-l10n-id":"open_file_label"}},[t._v("打开")])]):t._e(),t.canPrint?e("button",{staticClass:"secondaryToolbarButton print visibleMediumView",attrs:{id:"secondaryPrint",title:"打印",tabindex:"53","data-l10n-id":"print"}},[e("span",{attrs:{"data-l10n-id":"print_label"}},[t._v("打印")])]):t._e(),t.canDownload?e("button",{staticClass:"secondaryToolbarButton download visibleMediumView",attrs:{id:"secondaryDownload",title:"Download",tabindex:"54","data-l10n-id":"download"}},[e("span",{attrs:{"data-l10n-id":"download_label"}},[t._v("Download")])]):t._e(),t._m(1),e("div",{staticClass:"horizontalToolbarSeparator visibleLargeView"}),t._m(2),t._m(3),e("div",{staticClass:"horizontalToolbarSeparator"}),t._m(4),t._m(5),e("div",{staticClass:"horizontalToolbarSeparator"}),t._m(6),t._m(7),t._m(8),e("div",{staticClass:"horizontalToolbarSeparator"}),t._m(9)])]):t._e(),t._v(" "),e("div",{staticClass:"toolbar"},[e("div",{attrs:{id:"toolbarContainer"}},[e("div",{attrs:{id:"toolbarViewer"}},[t._m(10),e("div",{attrs:{id:"toolbarViewerRight"}},[t.canOpen?e("button",{staticClass:"toolbarButton openFile hiddenLargeView",attrs:{id:"openFile",title:"打开文件",tabindex:"32","data-l10n-id":"open_file"}},[e("span",{attrs:{"data-l10n-id":"open_file_label"}},[t._v("打开")])]):t._e(),t.canPrint?e("button",{staticClass:"toolbarButton print hiddenMediumView",attrs:{id:"print",title:"打印",tabindex:"33","data-l10n-id":"print"}},[e("span",{attrs:{"data-l10n-id":"print_label"}},[t._v("打印")])]):t._e(),t.canDownload?e("button",{staticClass:"toolbarButton download hiddenMediumView",attrs:{id:"download",title:"Download",tabindex:"34","data-l10n-id":"download"}},[e("span",{attrs:{"data-l10n-id":"download_label"}},[t._v("Download")])]):t._e(),e("div",{staticClass:"verticalToolbarSeparator hiddenSmallView"}),t._m(11)]),t._m(12)])])]),e("div",{attrs:{id:"viewerContainer",tabindex:"0"}},[e("div",{staticClass:"pdfViewer",attrs:{id:"viewer"},on:{dragover:function(e){return e.preventDefault(),t.onStampDragOver.apply(null,arguments)}}},t._l(t.stamps,(function(i,n){return t.viewVisible?e("vue-draggable-resizable",{key:i.key,attrs:{w:i.w?i.w:174,h:i.h?i.h:174,parent:t.config.viewerContainer,customForStamp:!0,eventBus:t.eventBus,handles:["tl","tr","bl","br"],index:n,x:i.x,y:i.located?i.y:i.y+t.config.mainContainer.scrollTop,fixX:i.fixX,pages:t.ofdViewer._pages,currentPage:t.sp,"origin-bottom":!1,stampId:i.source.stampId,draggable:t.draggable,resizable:t.resizable,editable:t.editable},on:{dropitem:t.removeStamp,dragstop:t.onStampDragStop,placed:t.placed}},[e("div",{staticClass:"stamp",style:{backgroundImage:"url(data:image/png;base64,"+i.source.stampBase64+")"}})]):t._e()})),1),t._t("openFileRef")],2),t._m(13)]),t._v(" "),t._m(14)])}),[function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"sidebarContainer"}},[e("div",{attrs:{id:"toolbarSidebar"}},[e("div",{attrs:{id:"toolbarSidebarLeft"}},[e("div",{staticClass:"splitToolbarButton toggled",attrs:{id:"sidebarViewButtons",role:"radiogroup"}},[e("button",{staticClass:"toolbarButton toggled",attrs:{id:"viewOutline",title:"Show Document Outline (double-click to expand/collapse all items)",tabindex:"3","data-l10n-id":"document_outline",role:"radio","aria-checked":"false","aria-controls":"outlineView"}},[e("span",{attrs:{"data-l10n-id":"document_outline_label"}},[t._v("Document Outline")])]),e("button",{staticClass:"toolbarButton",attrs:{id:"viewAttachments",title:"Show Attachments",tabindex:"4","data-l10n-id":"attachments",role:"radio","aria-checked":"false","aria-controls":"attachmentsView"}},[e("span",{attrs:{"data-l10n-id":"attachments_label"}},[t._v("Attachments")])]),e("button",{staticClass:"toolbarButton",attrs:{id:"viewSignatures",title:"Show Signatures",tabindex:"6","data-l10n-id":"layers",role:"radio","aria-checked":"false","aria-controls":"signaturesView"}},[e("span",{attrs:{"data-l10n-id":"signatures_label"}},[t._v("Signatures")])])])]),e("div",{attrs:{id:"toolbarSidebarRight"}},[e("div",{staticClass:"hidden",attrs:{id:"outlineOptionsContainer"}},[e("div",{staticClass:"verticalToolbarSeparator"}),e("button",{staticClass:"toolbarButton",attrs:{id:"currentOutlineItem",disabled:"disabled",title:"Find Current Outline Item",tabindex:"6","data-l10n-id":"current_outline_item"}},[e("span",{attrs:{"data-l10n-id":"current_outline_item_label"}},[t._v("Current Outline Item")])])])])]),e("div",{attrs:{id:"sidebarContent"}},[e("div",{attrs:{id:"outlineView"}}),e("div",{staticClass:"hidden",attrs:{id:"attachmentsView"}}),e("div",{staticClass:"hidden",attrs:{id:"signaturesView"}})]),e("div",{attrs:{id:"sidebarResizer"}})])},function(){var t=this._self._c;return t("a",{staticClass:"secondaryToolbarButton bookmark visibleSmallView",attrs:{href:"#",id:"secondaryViewBookmark",title:"Current view (copy or open in new window)",tabindex:"55","data-l10n-id":"bookmark"}},[t("span",{attrs:{"data-l10n-id":"bookmark_label"}},[this._v("Current View")])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton firstPage",attrs:{id:"firstPage",title:"Go to First Page",tabindex:"56","data-l10n-id":"first_page"}},[t("span",{attrs:{"data-l10n-id":"first_page_label"}},[this._v("Go to First Page")])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton lastPage",attrs:{id:"lastPage",title:"Go to Last Page",tabindex:"57","data-l10n-id":"last_page"}},[t("span",{attrs:{"data-l10n-id":"last_page_label"}},[this._v("Go to Last Page")])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton rotateCw",attrs:{id:"pageRotateCw",title:"Rotate Clockwise",tabindex:"58","data-l10n-id":"page_rotate_cw"}},[t("span",{attrs:{"data-l10n-id":"page_rotate_cw_label"}},[this._v("Rotate Clockwise")])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton rotateCcw",attrs:{id:"pageRotateCcw",title:"Rotate Counterclockwise",tabindex:"59","data-l10n-id":"page_rotate_ccw"}},[t("span",{attrs:{"data-l10n-id":"page_rotate_ccw_label"}},[this._v("Rotate Counterclockwise")])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"cursorToolButtons",role:"radiogroup"}},[e("button",{staticClass:"secondaryToolbarButton selectTool toggled",attrs:{id:"cursorSelectTool",title:"Enable Text Selection Tool",tabindex:"60","data-l10n-id":"cursor_text_select_tool",role:"radio","aria-checked":"true"}},[e("span",{attrs:{"data-l10n-id":"cursor_text_select_tool_label"}},[t._v("Text Selection Tool")])]),e("button",{staticClass:"secondaryToolbarButton handTool",attrs:{id:"cursorHandTool",title:"Enable Hand Tool",tabindex:"61","data-l10n-id":"cursor_hand_tool",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"cursor_hand_tool_label"}},[t._v("Hand Tool")])])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"scrollModeButtons",role:"radiogroup"}},[e("div",{staticClass:"horizontalToolbarSeparator"}),e("button",{staticClass:"secondaryToolbarButton scrollPage",attrs:{id:"scrollPage",title:"Use Page Scrolling",tabindex:"62","data-l10n-id":"scroll_page",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"scroll_page_label"}},[t._v("Page Scrolling")])]),e("button",{staticClass:"secondaryToolbarButton scrollVertical toggled",attrs:{id:"scrollVertical",title:"Use Vertical Scrolling",tabindex:"63","data-l10n-id":"scroll_vertical",role:"radio","aria-checked":"true"}},[e("span",{attrs:{"data-l10n-id":"scroll_vertical_label"}},[t._v("Vertical Scrolling")])]),e("button",{staticClass:"secondaryToolbarButton scrollHorizontal",attrs:{id:"scrollHorizontal",title:"Use Horizontal Scrolling",tabindex:"64","data-l10n-id":"scroll_horizontal",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"scroll_horizontal_label"}},[t._v("Horizontal Scrolling")])]),e("button",{staticClass:"secondaryToolbarButton scrollWrapped",attrs:{id:"scrollWrapped",title:"Use Wrapped Scrolling",tabindex:"65","data-l10n-id":"scroll_wrapped",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"scroll_wrapped_label"}},[t._v("Wrapped Scrolling")])])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"spreadModeButtons",role:"radiogroup"}},[e("div",{staticClass:"horizontalToolbarSeparator"}),e("button",{staticClass:"secondaryToolbarButton spreadNone toggled",attrs:{id:"spreadNone",title:"Do not join page spreads",tabindex:"66","data-l10n-id":"spread_none",role:"radio","aria-checked":"true"}},[e("span",{attrs:{"data-l10n-id":"spread_none_label"}},[t._v("No Spreads")])]),e("button",{staticClass:"secondaryToolbarButton spreadOdd",attrs:{id:"spreadOdd",title:"Join page spreads starting with odd-numbered pages",tabindex:"67","data-l10n-id":"spread_odd",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"spread_odd_label"}},[t._v("Odd Spreads")])]),e("button",{staticClass:"secondaryToolbarButton spreadEven",attrs:{id:"spreadEven",title:"Join page spreads starting with even-numbered pages",tabindex:"68","data-l10n-id":"spread_even",role:"radio","aria-checked":"false"}},[e("span",{attrs:{"data-l10n-id":"spread_even_label"}},[t._v("Even Spreads")])])])},function(){var t=this._self._c;return t("button",{staticClass:"secondaryToolbarButton documentProperties",attrs:{id:"documentProperties",title:"文档属性…",tabindex:"69","data-l10n-id":"document_properties","aria-controls":"documentPropertiesDialog"}},[t("span",{attrs:{"data-l10n-id":"document_properties_label"}},[this._v("文档属性…")])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"toolbarViewerLeft"}},[e("button",{staticClass:"toolbarButton",attrs:{id:"sidebarToggle",title:"Toggle Sidebar",tabindex:"11","data-l10n-id":"toggle_sidebar","aria-expanded":"false","aria-controls":"sidebarContainer"}},[e("span",{attrs:{"data-l10n-id":"toggle_sidebar_label"}},[t._v("切换侧栏")])]),e("div",{staticClass:"splitToolbarButton hiddenSmallView"},[e("button",{staticClass:"toolbarButton pageUp",attrs:{title:"上一页",id:"previous",tabindex:"13","data-l10n-id":"previous"}},[e("span",{attrs:{"data-l10n-id":"previous_label"}},[t._v("上一页")])]),e("div",{staticClass:"splitToolbarButtonSeparator"}),e("button",{staticClass:"toolbarButton pageDown",attrs:{title:"下一页",id:"next",tabindex:"14","data-l10n-id":"next"}},[e("span",{attrs:{"data-l10n-id":"next_label"}},[t._v("下一页")])])]),e("input",{staticClass:"toolbarField pageNumber",attrs:{type:"number",id:"pageNumber",title:"页面",value:"1",size:"4",min:"1",tabindex:"15","data-l10n-id":"page",autocomplete:"off"}}),e("span",{staticClass:"toolbarLabel",attrs:{id:"numPages"}})])},function(){var t=this._self._c;return t("button",{staticClass:"toolbarButton",attrs:{id:"secondaryToolbarToggle",title:"工具",tabindex:"36","data-l10n-id":"tools","aria-expanded":"false","aria-controls":"secondaryToolbar"}},[t("span",{attrs:{"data-l10n-id":"tools_label"}},[this._v("工具")])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"toolbarViewerMiddle"}},[e("div",{staticClass:"splitToolbarButton"},[e("button",{staticClass:"toolbarButton zoomOut",attrs:{id:"zoomOut",title:"缩小",tabindex:"21","data-l10n-id":"zoom_out"}},[e("span",{attrs:{"data-l10n-id":"zoom_out_label"}},[t._v("缩小")])]),e("div",{staticClass:"splitToolbarButtonSeparator"}),e("button",{staticClass:"toolbarButton zoomIn",attrs:{id:"zoomIn",title:"放大",tabindex:"22","data-l10n-id":"zoom_in"}},[e("span",{attrs:{"data-l10n-id":"zoom_in_label"}},[t._v("放大")])])]),e("span",{staticClass:"dropdownToolbarButton",attrs:{id:"scaleSelectContainer"}},[e("select",{attrs:{id:"scaleSelect",title:"缩放",tabindex:"23","data-l10n-id":"zoom"}},[e("option",{attrs:{id:"pageAutoOption",title:"",value:"auto",selected:"selected","data-l10n-id":"page_scale_auto"}},[t._v("自动缩放")]),e("option",{attrs:{id:"pageActualOption",title:"",value:"page-actual","data-l10n-id":"page_scale_actual"}},[t._v("实际大小")]),e("option",{attrs:{id:"pageFitOption",title:"",value:"page-fit","data-l10n-id":"page_scale_fit"}},[t._v("适合页面")]),e("option",{attrs:{id:"pageWidthOption",title:"",value:"page-width","data-l10n-id":"page_scale_width"}},[t._v("适合页宽")]),e("option",{attrs:{id:"customScaleOption",title:"",value:"custom",disabled:"disabled",hidden:"true"}}),e("option",{attrs:{title:"",value:"0.5","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 50 }'}},[t._v("50%")]),e("option",{attrs:{title:"",value:"0.75","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 75 }'}},[t._v("75%")]),e("option",{attrs:{title:"",value:"1","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 100 }'}},[t._v("100%")]),e("option",{attrs:{title:"",value:"1.25","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 125 }'}},[t._v("125%")]),e("option",{attrs:{title:"",value:"1.5","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 150 }'}},[t._v("150%")]),e("option",{attrs:{title:"",value:"2","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 200 }'}},[t._v("200%")]),e("option",{attrs:{title:"",value:"3","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 300 }'}},[t._v("300%")]),e("option",{attrs:{title:"",value:"4","data-l10n-id":"page_scale_percent","data-l10n-args":'{ "scale": 400 }'}},[t._v("400%")])])])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"errorWrapper",hidden:"true"}},[e("div",{attrs:{id:"errorMessageLeft"}},[e("span",{attrs:{id:"errorMessage"}}),e("button",{attrs:{id:"errorShowMore","data-l10n-id":"error_more_info"}},[t._v(" More Information ")]),e("button",{attrs:{id:"errorShowLess","data-l10n-id":"error_less_info",hidden:"true"}},[t._v(" Less Information ")])]),e("div",{attrs:{id:"errorMessageRight"}},[e("button",{attrs:{id:"errorClose","data-l10n-id":"error_close"}},[t._v(" Close ")])]),e("div",{staticClass:"clearBoth"}),e("textarea",{attrs:{id:"errorMoreInfo",hidden:"true",readonly:"readonly"}})])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"dialogContainer"}},[e("dialog",{attrs:{id:"documentPropertiesDialog"}},[e("div",{staticClass:"row"},[e("span",{attrs:{id:"fileNameLabel","data-l10n-id":"document_properties_file_name"}},[t._v("文件名:")]),e("p",{attrs:{id:"fileNameField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"fileSizeLabel","data-l10n-id":"document_properties_file_size"}},[t._v("文件大小:")]),e("p",{attrs:{id:"fileSizeField","aria-labelledby":"fileSizeLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row"},[e("span",{attrs:{id:"titleLabel","data-l10n-id":"document_properties_title"}},[t._v("标题:")]),e("p",{attrs:{id:"titleField","aria-labelledby":"titleLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"authorLabel","data-l10n-id":"document_properties_author"}},[t._v("作者:")]),e("p",{attrs:{id:"authorField","aria-labelledby":"authorLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"subjectLabel","data-l10n-id":"document_properties_subject"}},[t._v("主题:")]),e("p",{attrs:{id:"subjectField","aria-labelledby":"subjectLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"keywordsLabel","data-l10n-id":"document_properties_keywords"}},[t._v("关键词:")]),e("p",{attrs:{id:"keywordsField","aria-labelledby":"keywordsLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"creationDateLabel","data-l10n-id":"document_properties_creation_date"}},[t._v("创建日期:")]),e("p",{attrs:{id:"creationDateField","aria-labelledby":"creationDateLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"modificationDateLabel","data-l10n-id":"document_properties_modification_date"}},[t._v("修改日期:")]),e("p",{attrs:{id:"modificationDateField","aria-labelledby":"modificationDateLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"creatorLabel","data-l10n-id":"document_properties_creator"}},[t._v("创建者:")]),e("p",{attrs:{id:"creatorField","aria-labelledby":"creatorLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row"},[e("span",{attrs:{id:"producerLabel","data-l10n-id":"document_properties_producer"}},[t._v("OFD 生成器:")]),e("p",{attrs:{id:"producerField","aria-labelledby":"producerLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"versionLabel","data-l10n-id":"document_properties_version"}},[t._v("OFD 版本:")]),e("p",{attrs:{id:"versionField","aria-labelledby":"versionLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"pageCountLabel","data-l10n-id":"document_properties_page_count"}},[t._v("页数:")]),e("p",{attrs:{id:"pageCountField","aria-labelledby":"pageCountLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"pageSizeLabel","data-l10n-id":"document_properties_page_size"}},[t._v("页面大小:")]),e("p",{attrs:{id:"pageSizeField","aria-labelledby":"pageSizeLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row",attrs:{hidden:"hidden"}},[e("span",{attrs:{id:"linearizedLabel","data-l10n-id":"document_properties_linearized"}},[t._v("快速 Web 视图:")]),e("p",{attrs:{id:"linearizedField","aria-labelledby":"linearizedLabel"}},[t._v("-")])]),e("div",{staticClass:"buttonRow"},[e("button",{staticClass:"dialogButton",attrs:{id:"documentPropertiesClose"}},[e("span",{attrs:{"data-l10n-id":"document_properties_close"}},[t._v("关闭")])])])]),e("dialog",{staticStyle:{"min-width":"200px"},attrs:{id:"printServiceDialog"}},[e("div",{staticClass:"row"},[e("span",{attrs:{"data-l10n-id":"print_progress_message"}},[t._v("正在准备打印文档…")])]),e("div",{staticClass:"row"},[e("progress",{attrs:{id:"printProgress",value:"0",max:"100"}}),e("span",{staticClass:"relative-progress",attrs:{"data-l10n-id":"print_progress_percent","data-l10n-args":'{ "progress": 0 }'}},[t._v("0%")])]),e("div",{staticClass:"buttonRow"},[e("button",{staticClass:"dialogButton",attrs:{id:"printCancel"}},[e("span",{attrs:{"data-l10n-id":"print_progress_close"}},[t._v("取消")])])])]),e("dialog",{attrs:{id:"signaturePropertiesDialog"}},[e("div",{staticClass:"row"},[e("span",{attrs:{id:"signerLabel"}},[t._v("签章人:")]),e("p",{attrs:{id:"signerField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"providerLabel"}},[t._v("签章提供者:")]),e("p",{attrs:{id:"providerField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"hashedValueLabel"}},[t._v("原文摘要值:")]),e("p",{attrs:{id:"hashedValueField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"signedValueLabel"}},[t._v("签名值:")]),e("p",{attrs:{id:"signedValueField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"signMethodLabel"}},[t._v("签名算法:")]),e("p",{attrs:{id:"signMethodField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"signVersionLabel"}},[t._v("版本号:")]),e("p",{attrs:{id:"signVersionField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"verifyLabel"}},[t._v("验签结果:")]),e("p",{attrs:{id:"verifyField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"separator"}),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealIDLabel"}},[t._v("印章标识:")]),e("p",{attrs:{id:"sealIDField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealNameLabel"}},[t._v("印章名称:")]),e("p",{attrs:{id:"sealNameField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealTypeLabel"}},[t._v("印章类型:")]),e("p",{attrs:{id:"sealTypeField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealAuthTimeLabel"}},[t._v("有效时间:")]),e("p",{attrs:{id:"sealAuthTimeField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealMakeTimeLabel"}},[t._v("制章日期:")]),e("p",{attrs:{id:"sealMakeTimeField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"row"},[e("span",{attrs:{id:"sealVersionLabel"}},[t._v("印章版本:")]),e("p",{attrs:{id:"sealVersionField","aria-labelledby":"fileNameLabel"}},[t._v("-")])]),e("div",{staticClass:"buttonRow"},[e("button",{staticClass:"dialogButton",attrs:{id:"signaturePropertiesClose"}},[e("span",{attrs:{"data-l10n-id":"document_properties_close"}},[t._v("关闭")])])])])])}],!1,null,"7dee48c0",null)),u=c.exports;u.install=t=>t.component(u.name,u);var p=u;const h=[p],f=function(t){f.installed||h.map((e=>t.component(e.name,e)))};"undefined"!=typeof window&&window.Vue&&f(window.Vue);var m={install:f,OfdView:p}}(),module.exports=n}();
|
2
2
|
//# sourceMappingURL=ofd-view.common.js.map
|