@vue-pdf-viewer/viewer 4.0.0-beta.2 → 4.0.0-beta.3
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/dist/{VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-Bi72CW7K.js → VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-CFVJThIE.js} +284 -285
- package/dist/{VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-CZEIhxSz.cjs → VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-Zf436-uP.cjs} +4 -4
- package/dist/{index-B2bnNcQK.cjs → index-BoMkqtAW.cjs} +1 -1
- package/dist/{index-BAl2kzgK.js → index-D5uDtlwL.js} +1 -1
- package/dist/index.cjs +16 -16
- package/dist/index.js +5490 -5513
- package/dist/license.cjs +1 -1
- package/dist/license.js +1 -1
- package/dist/types/components/LayerCanvas.vue.d.ts +0 -1
- package/dist/types/components/VPdfViewer.vue.d.ts +0 -1
- package/dist/types/const.d.ts +0 -1
- package/dist/types/utils/types.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isRef as
|
|
1
|
+
import { isRef as De, reactive as ve, unref as ft, ref as K, toValue as C, watch as q, shallowReadonly as bo, onMounted as bt, nextTick as Pe, getCurrentScope as To, onScopeDispose as So, onUnmounted as vo, customRef as Tt, toRefs as st, computed as R, getCurrentInstance as Ne, readonly as Bt, toRef as Po, shallowRef as N, onUpdated as wo, watchEffect as xo, inject as xt, toRaw as ee } from "vue";
|
|
2
2
|
import "pdfjs-dist";
|
|
3
3
|
import "./assets/pdf-annotations/annotation-noicon.svg";
|
|
4
4
|
import "./assets/pdf-annotations/annotation-note.svg";
|
|
@@ -78,12 +78,12 @@ function yo(e) {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
var le = [], be = !1, ge, Ke = -1;
|
|
81
|
-
function
|
|
81
|
+
function Eo() {
|
|
82
82
|
!be || !ge || (be = !1, ge.length ? le = ge.concat(le) : Ke = -1, le.length && Wt());
|
|
83
83
|
}
|
|
84
84
|
function Wt() {
|
|
85
85
|
if (!be) {
|
|
86
|
-
var e = jt(
|
|
86
|
+
var e = jt(Eo);
|
|
87
87
|
be = !0;
|
|
88
88
|
for (var t = le.length; t; ) {
|
|
89
89
|
for (ge = le, le = []; ++Ke < t; )
|
|
@@ -138,8 +138,8 @@ U.chdir = function(e) {
|
|
|
138
138
|
U.umask = function() {
|
|
139
139
|
return 0;
|
|
140
140
|
};
|
|
141
|
-
var
|
|
142
|
-
const Rf = /* @__PURE__ */ Lo(
|
|
141
|
+
var Ao = Ut.exports;
|
|
142
|
+
const Rf = /* @__PURE__ */ Lo(Ao), Lt = globalThis || void 0 || self;
|
|
143
143
|
function Co(e, t, o = {}) {
|
|
144
144
|
let n, a, r, i = !0;
|
|
145
145
|
const l = () => {
|
|
@@ -160,14 +160,14 @@ function we(e) {
|
|
|
160
160
|
return To() ? (So(e), !0) : !1;
|
|
161
161
|
}
|
|
162
162
|
function Io(e) {
|
|
163
|
-
if (!
|
|
163
|
+
if (!De(e))
|
|
164
164
|
return ve(e);
|
|
165
165
|
const t = new Proxy({}, {
|
|
166
166
|
get(o, n, a) {
|
|
167
167
|
return ft(Reflect.get(e.value, n, a));
|
|
168
168
|
},
|
|
169
169
|
set(o, n, a) {
|
|
170
|
-
return
|
|
170
|
+
return De(e.value[n]) && !De(a) ? e.value[n].value = a : e.value[n] = a, !0;
|
|
171
171
|
},
|
|
172
172
|
deleteProperty(o, n) {
|
|
173
173
|
return Reflect.deleteProperty(e.value, n);
|
|
@@ -196,7 +196,7 @@ function Hf(e, ...t) {
|
|
|
196
196
|
}
|
|
197
197
|
const Xe = typeof window < "u" && typeof document < "u";
|
|
198
198
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
199
|
-
const zo = (e) => typeof e < "u", Vt = (e) => e != null,
|
|
199
|
+
const zo = (e) => typeof e < "u", Vt = (e) => e != null, Do = Object.prototype.toString, Oo = (e) => Do.call(e) === "[object Object]", Y = () => {
|
|
200
200
|
}, Fo = /* @__PURE__ */ Mo();
|
|
201
201
|
function Mo() {
|
|
202
202
|
var e, t;
|
|
@@ -236,7 +236,7 @@ function Ro(e, t = {}) {
|
|
|
236
236
|
}
|
|
237
237
|
function Ho(...e) {
|
|
238
238
|
let t = 0, o, n = !0, a = Y, r, i, l, s, p;
|
|
239
|
-
!
|
|
239
|
+
!De(e[0]) && typeof e[0] == "object" ? { delay: i, trailing: l = !0, leading: s = !0, rejectOnCancel: p = !1 } = e[0] : [i, l = !0, s = !0, p = !1] = e;
|
|
240
240
|
const c = () => {
|
|
241
241
|
o && (clearTimeout(o), o = void 0, a(), a = Y);
|
|
242
242
|
};
|
|
@@ -320,7 +320,7 @@ function Wo(e, t, o = {}) {
|
|
|
320
320
|
), pause: l, resume: s, isActive: p };
|
|
321
321
|
}
|
|
322
322
|
function Go(e, t = {}) {
|
|
323
|
-
if (!
|
|
323
|
+
if (!De(e))
|
|
324
324
|
return st(e);
|
|
325
325
|
const o = Array.isArray(e.value) ? Array.from({ length: e.value.length }) : {};
|
|
326
326
|
for (const n in e.value)
|
|
@@ -396,7 +396,7 @@ function M(...e) {
|
|
|
396
396
|
([l, s, p, c]) => {
|
|
397
397
|
if (o(), !l?.length || !s?.length || !p?.length)
|
|
398
398
|
return;
|
|
399
|
-
const u =
|
|
399
|
+
const u = Oo(c) ? { ...c } : c;
|
|
400
400
|
t.push(
|
|
401
401
|
...l.flatMap(
|
|
402
402
|
(T) => s.flatMap(
|
|
@@ -436,7 +436,7 @@ function Uf(e, t, o = {}) {
|
|
|
436
436
|
}
|
|
437
437
|
function u(m, h) {
|
|
438
438
|
const f = C(m), x = f.$.subTree && f.$.subTree.children;
|
|
439
|
-
return x == null || !Array.isArray(x) ? !1 : x.some((
|
|
439
|
+
return x == null || !Array.isArray(x) ? !1 : x.some((D) => D.el === h.target || h.composedPath().includes(D.el));
|
|
440
440
|
}
|
|
441
441
|
const T = (m) => {
|
|
442
442
|
const h = H(e);
|
|
@@ -628,7 +628,7 @@ const tn = {
|
|
|
628
628
|
read: (e) => new Date(e),
|
|
629
629
|
write: (e) => e.toISOString()
|
|
630
630
|
}
|
|
631
|
-
},
|
|
631
|
+
}, Et = "vueuse-storage";
|
|
632
632
|
function on(e, t, o, n = {}) {
|
|
633
633
|
var a;
|
|
634
634
|
const {
|
|
@@ -640,93 +640,93 @@ function on(e, t, o, n = {}) {
|
|
|
640
640
|
shallow: c,
|
|
641
641
|
window: u = J,
|
|
642
642
|
eventFilter: T,
|
|
643
|
-
onError: b = (
|
|
644
|
-
console.error(
|
|
643
|
+
onError: b = (E) => {
|
|
644
|
+
console.error(E);
|
|
645
645
|
},
|
|
646
646
|
initOnMounted: d
|
|
647
647
|
} = n, g = (c ? N : K)(typeof t == "function" ? t() : t), m = R(() => C(e));
|
|
648
648
|
if (!o)
|
|
649
649
|
try {
|
|
650
650
|
o = _o("getDefaultStorage", () => {
|
|
651
|
-
var
|
|
652
|
-
return (
|
|
651
|
+
var E;
|
|
652
|
+
return (E = J) == null ? void 0 : E.localStorage;
|
|
653
653
|
})();
|
|
654
|
-
} catch (
|
|
655
|
-
b(
|
|
654
|
+
} catch (E) {
|
|
655
|
+
b(E);
|
|
656
656
|
}
|
|
657
657
|
if (!o)
|
|
658
658
|
return g;
|
|
659
|
-
const h = C(t), f = en(h), x = (a = n.serializer) != null ? a : tn[f], { pause:
|
|
659
|
+
const h = C(t), f = en(h), x = (a = n.serializer) != null ? a : tn[f], { pause: D, resume: B } = Wo(
|
|
660
660
|
g,
|
|
661
|
-
(
|
|
661
|
+
(E) => j(E),
|
|
662
662
|
{ flush: r, deep: i, eventFilter: T }
|
|
663
663
|
);
|
|
664
664
|
q(m, () => W(), { flush: r });
|
|
665
665
|
let y = !1;
|
|
666
|
-
const
|
|
667
|
-
d && !y || W(
|
|
668
|
-
}, P = (
|
|
669
|
-
d && !y || te(
|
|
666
|
+
const A = (E) => {
|
|
667
|
+
d && !y || W(E);
|
|
668
|
+
}, P = (E) => {
|
|
669
|
+
d && !y || te(E);
|
|
670
670
|
};
|
|
671
|
-
u && l && (o instanceof Storage ? M(u, "storage",
|
|
671
|
+
u && l && (o instanceof Storage ? M(u, "storage", A, { passive: !0 }) : M(u, Et, P)), d ? xe(() => {
|
|
672
672
|
y = !0, W();
|
|
673
673
|
}) : W();
|
|
674
|
-
function w(
|
|
674
|
+
function w(E, z) {
|
|
675
675
|
if (u) {
|
|
676
|
-
const
|
|
676
|
+
const O = {
|
|
677
677
|
key: m.value,
|
|
678
|
-
oldValue:
|
|
678
|
+
oldValue: E,
|
|
679
679
|
newValue: z,
|
|
680
680
|
storageArea: o
|
|
681
681
|
};
|
|
682
|
-
u.dispatchEvent(o instanceof Storage ? new StorageEvent("storage",
|
|
683
|
-
detail:
|
|
682
|
+
u.dispatchEvent(o instanceof Storage ? new StorageEvent("storage", O) : new CustomEvent(Et, {
|
|
683
|
+
detail: O
|
|
684
684
|
}));
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
|
-
function j(
|
|
687
|
+
function j(E) {
|
|
688
688
|
try {
|
|
689
689
|
const z = o.getItem(m.value);
|
|
690
|
-
if (
|
|
690
|
+
if (E == null)
|
|
691
691
|
w(z, null), o.removeItem(m.value);
|
|
692
692
|
else {
|
|
693
|
-
const
|
|
694
|
-
z !==
|
|
693
|
+
const O = x.write(E);
|
|
694
|
+
z !== O && (o.setItem(m.value, O), w(z, O));
|
|
695
695
|
}
|
|
696
696
|
} catch (z) {
|
|
697
697
|
b(z);
|
|
698
698
|
}
|
|
699
699
|
}
|
|
700
|
-
function F(
|
|
701
|
-
const z =
|
|
700
|
+
function F(E) {
|
|
701
|
+
const z = E ? E.newValue : o.getItem(m.value);
|
|
702
702
|
if (z == null)
|
|
703
703
|
return s && h != null && o.setItem(m.value, x.write(h)), h;
|
|
704
|
-
if (!
|
|
705
|
-
const
|
|
706
|
-
return typeof p == "function" ? p(
|
|
704
|
+
if (!E && p) {
|
|
705
|
+
const O = x.read(z);
|
|
706
|
+
return typeof p == "function" ? p(O, h) : f === "object" && !Array.isArray(O) ? { ...h, ...O } : O;
|
|
707
707
|
} else return typeof z != "string" ? z : x.read(z);
|
|
708
708
|
}
|
|
709
|
-
function W(
|
|
710
|
-
if (!(
|
|
711
|
-
if (
|
|
709
|
+
function W(E) {
|
|
710
|
+
if (!(E && E.storageArea !== o)) {
|
|
711
|
+
if (E && E.key == null) {
|
|
712
712
|
g.value = h;
|
|
713
713
|
return;
|
|
714
714
|
}
|
|
715
|
-
if (!(
|
|
716
|
-
|
|
715
|
+
if (!(E && E.key !== m.value)) {
|
|
716
|
+
D();
|
|
717
717
|
try {
|
|
718
718
|
const z = x.write(g.value);
|
|
719
|
-
(
|
|
719
|
+
(E === void 0 || E?.newValue !== z) && (g.value = F(E));
|
|
720
720
|
} catch (z) {
|
|
721
721
|
b(z);
|
|
722
722
|
} finally {
|
|
723
|
-
|
|
723
|
+
E ? Pe(B) : B();
|
|
724
724
|
}
|
|
725
725
|
}
|
|
726
726
|
}
|
|
727
727
|
}
|
|
728
|
-
function te(
|
|
729
|
-
W(
|
|
728
|
+
function te(E) {
|
|
729
|
+
W(E.detail);
|
|
730
730
|
}
|
|
731
731
|
return g;
|
|
732
732
|
}
|
|
@@ -755,38 +755,38 @@ function Wf(e, t = {}) {
|
|
|
755
755
|
buttons: g = [0]
|
|
756
756
|
} = t, m = K(
|
|
757
757
|
(o = C(c)) != null ? o : { x: 0, y: 0 }
|
|
758
|
-
), h = K(), f = (
|
|
759
|
-
C(a) &&
|
|
760
|
-
},
|
|
758
|
+
), h = K(), f = (A) => n ? n.includes(A.pointerType) : !0, x = (A) => {
|
|
759
|
+
C(a) && A.preventDefault(), C(r) && A.stopPropagation();
|
|
760
|
+
}, D = (A) => {
|
|
761
761
|
var P;
|
|
762
|
-
if (!C(g).includes(
|
|
762
|
+
if (!C(g).includes(A.button) || C(t.disabled) || !f(A) || C(i) && A.target !== C(e))
|
|
763
763
|
return;
|
|
764
764
|
const w = C(b), j = (P = w?.getBoundingClientRect) == null ? void 0 : P.call(w), F = C(e).getBoundingClientRect(), W = {
|
|
765
|
-
x:
|
|
766
|
-
y:
|
|
765
|
+
x: A.clientX - (w ? F.left - j.left + w.scrollLeft : F.left),
|
|
766
|
+
y: A.clientY - (w ? F.top - j.top + w.scrollTop : F.top)
|
|
767
767
|
};
|
|
768
|
-
p?.(W,
|
|
769
|
-
}, B = (
|
|
770
|
-
if (C(t.disabled) || !f(
|
|
768
|
+
p?.(W, A) !== !1 && (h.value = W, x(A));
|
|
769
|
+
}, B = (A) => {
|
|
770
|
+
if (C(t.disabled) || !f(A) || !h.value)
|
|
771
771
|
return;
|
|
772
772
|
const P = C(b), w = C(e).getBoundingClientRect();
|
|
773
773
|
let { x: j, y: F } = m.value;
|
|
774
|
-
(u === "x" || u === "both") && (j =
|
|
774
|
+
(u === "x" || u === "both") && (j = A.clientX - h.value.x, P && (j = Math.min(Math.max(0, j), P.scrollWidth - w.width))), (u === "y" || u === "both") && (F = A.clientY - h.value.y, P && (F = Math.min(Math.max(0, F), P.scrollHeight - w.height))), m.value = {
|
|
775
775
|
x: j,
|
|
776
776
|
y: F
|
|
777
|
-
}, l?.(m.value,
|
|
778
|
-
}, y = (
|
|
779
|
-
C(t.disabled) || !f(
|
|
777
|
+
}, l?.(m.value, A), x(A);
|
|
778
|
+
}, y = (A) => {
|
|
779
|
+
C(t.disabled) || !f(A) || h.value && (h.value = void 0, s?.(m.value, A), x(A));
|
|
780
780
|
};
|
|
781
781
|
if (Xe) {
|
|
782
|
-
const
|
|
782
|
+
const A = () => {
|
|
783
783
|
var P;
|
|
784
784
|
return {
|
|
785
785
|
capture: (P = t.capture) != null ? P : !0,
|
|
786
786
|
passive: !C(a)
|
|
787
787
|
};
|
|
788
788
|
};
|
|
789
|
-
M(d, "pointerdown",
|
|
789
|
+
M(d, "pointerdown", D, A), M(T, "pointermove", B, A), M(T, "pointerup", y, A);
|
|
790
790
|
}
|
|
791
791
|
return {
|
|
792
792
|
...Go(m),
|
|
@@ -971,7 +971,7 @@ function rn(e, t = {}) {
|
|
|
971
971
|
);
|
|
972
972
|
return l;
|
|
973
973
|
}
|
|
974
|
-
const
|
|
974
|
+
const At = [
|
|
975
975
|
"fullscreenchange",
|
|
976
976
|
"webkitfullscreenchange",
|
|
977
977
|
"webkitendfullscreen",
|
|
@@ -1049,7 +1049,7 @@ function Yf(e, t = {}) {
|
|
|
1049
1049
|
const f = T();
|
|
1050
1050
|
(!f || f && u()) && (r.value = f);
|
|
1051
1051
|
}, h = { capture: !1, passive: !0 };
|
|
1052
|
-
return M(o,
|
|
1052
|
+
return M(o, At, m, h), M(() => H(a), At, m, h), xe(m, !1), n && we(b), {
|
|
1053
1053
|
isSupported: c,
|
|
1054
1054
|
isFullscreen: r,
|
|
1055
1055
|
enter: d,
|
|
@@ -1103,7 +1103,7 @@ function sn(e, t = {}) {
|
|
|
1103
1103
|
}
|
|
1104
1104
|
});
|
|
1105
1105
|
function h(w, j) {
|
|
1106
|
-
var F, W, te,
|
|
1106
|
+
var F, W, te, E;
|
|
1107
1107
|
if (!c)
|
|
1108
1108
|
return;
|
|
1109
1109
|
const z = C(e);
|
|
@@ -1114,39 +1114,39 @@ function sn(e, t = {}) {
|
|
|
1114
1114
|
left: (W = C(w)) != null ? W : g.value,
|
|
1115
1115
|
behavior: C(p)
|
|
1116
1116
|
});
|
|
1117
|
-
const
|
|
1118
|
-
g != null && (b.value =
|
|
1117
|
+
const O = ((E = z?.document) == null ? void 0 : E.documentElement) || z?.documentElement || z;
|
|
1118
|
+
g != null && (b.value = O.scrollLeft), m != null && (d.value = O.scrollTop);
|
|
1119
1119
|
}
|
|
1120
1120
|
const f = N(!1), x = ve({
|
|
1121
1121
|
left: !0,
|
|
1122
1122
|
right: !1,
|
|
1123
1123
|
top: !0,
|
|
1124
1124
|
bottom: !1
|
|
1125
|
-
}),
|
|
1125
|
+
}), D = ve({
|
|
1126
1126
|
left: !1,
|
|
1127
1127
|
right: !1,
|
|
1128
1128
|
top: !1,
|
|
1129
1129
|
bottom: !1
|
|
1130
1130
|
}), B = (w) => {
|
|
1131
|
-
f.value && (f.value = !1,
|
|
1132
|
-
}, y = /* @__PURE__ */ Kt(B, o + n),
|
|
1131
|
+
f.value && (f.value = !1, D.left = !1, D.right = !1, D.top = !1, D.bottom = !1, a(w));
|
|
1132
|
+
}, y = /* @__PURE__ */ Kt(B, o + n), A = (w) => {
|
|
1133
1133
|
var j;
|
|
1134
1134
|
if (!c)
|
|
1135
1135
|
return;
|
|
1136
|
-
const F = ((j = w?.document) == null ? void 0 : j.documentElement) || w?.documentElement || H(w), { display: W, flexDirection: te, direction:
|
|
1137
|
-
|
|
1138
|
-
const oe = Math.abs(
|
|
1139
|
-
W === "flex" && te === "row-reverse" ? (x.left = L, x.right = oe) : (x.left = oe, x.right = L), b.value =
|
|
1136
|
+
const F = ((j = w?.document) == null ? void 0 : j.documentElement) || w?.documentElement || H(w), { display: W, flexDirection: te, direction: E } = getComputedStyle(F), z = E === "rtl" ? -1 : 1, O = F.scrollLeft;
|
|
1137
|
+
D.left = O < b.value, D.right = O > b.value;
|
|
1138
|
+
const oe = Math.abs(O * z) <= (i.left || 0), L = Math.abs(O * z) + F.clientWidth >= F.scrollWidth - (i.right || 0) - Ct;
|
|
1139
|
+
W === "flex" && te === "row-reverse" ? (x.left = L, x.right = oe) : (x.left = oe, x.right = L), b.value = O;
|
|
1140
1140
|
let ne = F.scrollTop;
|
|
1141
|
-
w === c.document && !ne && (ne = c.document.body.scrollTop),
|
|
1142
|
-
const
|
|
1143
|
-
W === "flex" && te === "column-reverse" ? (x.top =
|
|
1141
|
+
w === c.document && !ne && (ne = c.document.body.scrollTop), D.top = ne < d.value, D.bottom = ne > d.value;
|
|
1142
|
+
const Ee = Math.abs(ne) <= (i.top || 0), Ae = Math.abs(ne) + F.clientHeight >= F.scrollHeight - (i.bottom || 0) - Ct;
|
|
1143
|
+
W === "flex" && te === "column-reverse" ? (x.top = Ae, x.bottom = Ee) : (x.top = Ee, x.bottom = Ae), d.value = ne;
|
|
1144
1144
|
}, P = (w) => {
|
|
1145
1145
|
var j;
|
|
1146
1146
|
if (!c)
|
|
1147
1147
|
return;
|
|
1148
1148
|
const F = (j = w.target.documentElement) != null ? j : w.target;
|
|
1149
|
-
|
|
1149
|
+
A(F), f.value = !0, y(w), r(w);
|
|
1150
1150
|
};
|
|
1151
1151
|
return M(
|
|
1152
1152
|
e,
|
|
@@ -1158,7 +1158,7 @@ function sn(e, t = {}) {
|
|
|
1158
1158
|
const w = C(e);
|
|
1159
1159
|
if (!w)
|
|
1160
1160
|
return;
|
|
1161
|
-
|
|
1161
|
+
A(w);
|
|
1162
1162
|
} catch (w) {
|
|
1163
1163
|
u(w);
|
|
1164
1164
|
}
|
|
@@ -1166,7 +1166,7 @@ function sn(e, t = {}) {
|
|
|
1166
1166
|
e,
|
|
1167
1167
|
() => {
|
|
1168
1168
|
const w = C(e);
|
|
1169
|
-
w &&
|
|
1169
|
+
w && A(w);
|
|
1170
1170
|
},
|
|
1171
1171
|
{
|
|
1172
1172
|
attributes: !0,
|
|
@@ -1183,10 +1183,10 @@ function sn(e, t = {}) {
|
|
|
1183
1183
|
y: m,
|
|
1184
1184
|
isScrolling: f,
|
|
1185
1185
|
arrivedState: x,
|
|
1186
|
-
directions:
|
|
1186
|
+
directions: D,
|
|
1187
1187
|
measure() {
|
|
1188
1188
|
const w = C(e);
|
|
1189
|
-
c && w &&
|
|
1189
|
+
c && w && A(w);
|
|
1190
1190
|
}
|
|
1191
1191
|
};
|
|
1192
1192
|
}
|
|
@@ -1278,20 +1278,20 @@ function Jf(e, t, o, n = {}) {
|
|
|
1278
1278
|
T ? T(x) && d(g, x) : d(g, x);
|
|
1279
1279
|
};
|
|
1280
1280
|
if (s) {
|
|
1281
|
-
const x = h(),
|
|
1281
|
+
const x = h(), D = K(x);
|
|
1282
1282
|
let B = !1;
|
|
1283
1283
|
return q(
|
|
1284
1284
|
() => e[t],
|
|
1285
1285
|
(y) => {
|
|
1286
|
-
B || (B = !0,
|
|
1286
|
+
B || (B = !0, D.value = m(y), Pe(() => B = !1));
|
|
1287
1287
|
}
|
|
1288
1288
|
), q(
|
|
1289
|
-
|
|
1289
|
+
D,
|
|
1290
1290
|
(y) => {
|
|
1291
1291
|
!B && (y !== e[t] || c) && f(y);
|
|
1292
1292
|
},
|
|
1293
1293
|
{ deep: c }
|
|
1294
|
-
),
|
|
1294
|
+
), D;
|
|
1295
1295
|
} else
|
|
1296
1296
|
return R({
|
|
1297
1297
|
get() {
|
|
@@ -1314,7 +1314,7 @@ function Xf(e = {}) {
|
|
|
1314
1314
|
o.value = !0;
|
|
1315
1315
|
}, n), o;
|
|
1316
1316
|
}
|
|
1317
|
-
var Jt = /* @__PURE__ */ ((e) => (e.All = "all", e.Premium = "premium", e.Freemium = "freemium", e.Unlicense = "none", e.Organization = "organization", e.Developer = "developer", e.FreeTrial = "free-trial", e))(Jt || {}), Xt = /* @__PURE__ */ ((e) => (e.Vertical = "Vertical", e.Horizontal = "Horizontal", e.Page = "Page", e.Wrapped = "Wrapped", e))(Xt || {}), Qe = /* @__PURE__ */ ((e) => (e.SinglePage = "Single", e.DualPage = "Dual", e.DualPageWithCover = "DualWithCover", e))(Qe || {}),
|
|
1317
|
+
var Jt = /* @__PURE__ */ ((e) => (e.All = "all", e.Premium = "premium", e.Freemium = "freemium", e.Unlicense = "none", e.Organization = "organization", e.Developer = "developer", e.FreeTrial = "free-trial", e))(Jt || {}), Xt = /* @__PURE__ */ ((e) => (e.Vertical = "Vertical", e.Horizontal = "Horizontal", e.Page = "Page", e.Wrapped = "Wrapped", e))(Xt || {}), Qe = /* @__PURE__ */ ((e) => (e.SinglePage = "Single", e.DualPage = "Dual", e.DualPageWithCover = "DualWithCover", e))(Qe || {}), Oe = /* @__PURE__ */ ((e) => (e.ActualSize = "actualSize", e.PageFit = "pageFit", e.PageWidth = "pageWidth", e))(Oe || {}), cn = /* @__PURE__ */ ((e) => (e.Text = "text", e.Hand = "hand", e))(cn || {}), un = /* @__PURE__ */ ((e) => (e.Horizontal = "Horizontal", e.Vertical = "Vertical", e.Both = "Both", e))(un || {}), pn = /* @__PURE__ */ ((e) => (e.INTERNAL_LINK = "internal-link", e.LINK = "link", e.FILE_ATTACHMENT = "file-attachment", e.FORM_TEXT = "form-text", e.FORM_SELECT = "form-select", e.FORM_CHECKBOX = "form-checkbox", e.FORM_RADIO = "form-radio", e.FORM_BUTTON = "form-button", e.BUTTON = "button", e.NAVIGATION = "navigation", e))(pn || {}), dn = /* @__PURE__ */ ((e) => (e[e.PreRender = 0] = "PreRender", e[e.DidRender = 1] = "DidRender", e))(dn || {}), gn = /* @__PURE__ */ ((e) => (e[e.INVISIBLE = 1] = "INVISIBLE", e[e.HIDDEN = 2] = "HIDDEN", e[e.PRINT = 4] = "PRINT", e[e.NOZOOM = 8] = "NOZOOM", e[e.NOROTATE = 16] = "NOROTATE", e[e.NOVIEW = 32] = "NOVIEW", e[e.READONLY = 64] = "READONLY", e[e.LOCKED = 128] = "LOCKED", e[e.TOGGLENOVIEW = 256] = "TOGGLENOVIEW", e[e.LOCKEDCONTENTS = 512] = "LOCKEDCONTENTS", e))(gn || {}), Zt = /* @__PURE__ */ ((e) => (e.Viewer = "viewer", e.ViewerAndAnnotation = "viewer_and_annotation", e))(Zt || {});
|
|
1318
1318
|
function $t(e) {
|
|
1319
1319
|
var t, o, n = "";
|
|
1320
1320
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
@@ -1490,7 +1490,7 @@ const vt = "-", hn = (e) => {
|
|
|
1490
1490
|
parseClassName: Pn(e),
|
|
1491
1491
|
sortModifiers: xn(e),
|
|
1492
1492
|
...hn(e)
|
|
1493
|
-
}), yn = /\s+/,
|
|
1493
|
+
}), yn = /\s+/, En = (e, t) => {
|
|
1494
1494
|
const {
|
|
1495
1495
|
parseClassName: o,
|
|
1496
1496
|
getClassGroupId: n,
|
|
@@ -1522,20 +1522,20 @@ const vt = "-", hn = (e) => {
|
|
|
1522
1522
|
}
|
|
1523
1523
|
m = !1;
|
|
1524
1524
|
}
|
|
1525
|
-
const f = r(T).join(":"), x = b ? f + dt : f,
|
|
1526
|
-
if (i.includes(
|
|
1525
|
+
const f = r(T).join(":"), x = b ? f + dt : f, D = x + h;
|
|
1526
|
+
if (i.includes(D))
|
|
1527
1527
|
continue;
|
|
1528
|
-
i.push(
|
|
1528
|
+
i.push(D);
|
|
1529
1529
|
const B = a(h, m);
|
|
1530
1530
|
for (let y = 0; y < B.length; ++y) {
|
|
1531
|
-
const
|
|
1532
|
-
i.push(x +
|
|
1531
|
+
const A = B[y];
|
|
1532
|
+
i.push(x + A);
|
|
1533
1533
|
}
|
|
1534
1534
|
s = c + (s.length > 0 ? " " + s : s);
|
|
1535
1535
|
}
|
|
1536
1536
|
return s;
|
|
1537
1537
|
};
|
|
1538
|
-
function
|
|
1538
|
+
function An() {
|
|
1539
1539
|
let e = 0, t, o, n = "";
|
|
1540
1540
|
for (; e < arguments.length; )
|
|
1541
1541
|
(t = arguments[e++]) && (o = eo(t)) && (n && (n += " "), n += o);
|
|
@@ -1559,29 +1559,29 @@ function Cn(e, ...t) {
|
|
|
1559
1559
|
const p = n(s);
|
|
1560
1560
|
if (p)
|
|
1561
1561
|
return p;
|
|
1562
|
-
const c =
|
|
1562
|
+
const c = En(s, o);
|
|
1563
1563
|
return a(s, c), c;
|
|
1564
1564
|
}
|
|
1565
1565
|
return function() {
|
|
1566
|
-
return r(
|
|
1566
|
+
return r(An.apply(null, arguments));
|
|
1567
1567
|
};
|
|
1568
1568
|
}
|
|
1569
1569
|
const G = (e) => {
|
|
1570
1570
|
const t = (o) => o[e] || [];
|
|
1571
1571
|
return t.isThemeGetter = !0, t;
|
|
1572
|
-
}, to = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, oo = /^\((?:(\w[\w-]*):)?(.+)\)$/i, In = /^\d+\/\d+$/, kn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, zn = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,
|
|
1572
|
+
}, to = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, oo = /^\((?:(\w[\w-]*):)?(.+)\)$/i, In = /^\d+\/\d+$/, kn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, zn = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Dn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, On = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Fn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, me = (e) => In.test(e), I = (e) => !!e && !Number.isNaN(Number(e)), ue = (e) => !!e && Number.isInteger(Number(e)), et = (e) => e.endsWith("%") && I(e.slice(0, -1)), ie = (e) => kn.test(e), Mn = () => !0, Nn = (e) => (
|
|
1573
1573
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
1574
1574
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
1575
1575
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1576
|
-
zn.test(e) && !
|
|
1577
|
-
), no = () => !1, Rn = (e) =>
|
|
1576
|
+
zn.test(e) && !Dn.test(e)
|
|
1577
|
+
), no = () => !1, Rn = (e) => On.test(e), Hn = (e) => Fn.test(e), Bn = (e) => !S(e) && !v(e), Un = (e) => Le(e, io, no), S = (e) => to.test(e), de = (e) => Le(e, lo, Nn), tt = (e) => Le(e, Yn, I), zt = (e) => Le(e, ao, no), jn = (e) => Le(e, ro, Hn), Ge = (e) => Le(e, so, Rn), v = (e) => oo.test(e), Ce = (e) => ye(e, lo), Wn = (e) => ye(e, qn), Dt = (e) => ye(e, ao), Gn = (e) => ye(e, io), Vn = (e) => ye(e, ro), Ve = (e) => ye(e, so, !0), Le = (e, t, o) => {
|
|
1578
1578
|
const n = to.exec(e);
|
|
1579
1579
|
return n ? n[1] ? t(n[1]) : o(n[2]) : !1;
|
|
1580
1580
|
}, ye = (e, t, o = !1) => {
|
|
1581
1581
|
const n = oo.exec(e);
|
|
1582
1582
|
return n ? n[1] ? t(n[1]) : o : !1;
|
|
1583
1583
|
}, ao = (e) => e === "position" || e === "percentage", ro = (e) => e === "image" || e === "url", io = (e) => e === "length" || e === "size" || e === "bg-size", lo = (e) => e === "length", Yn = (e) => e === "number", qn = (e) => e === "family-name", so = (e) => e === "shadow", Kn = () => {
|
|
1584
|
-
const e = G("color"), t = G("font"), o = G("text"), n = G("font-weight"), a = G("tracking"), r = G("leading"), i = G("breakpoint"), l = G("container"), s = G("spacing"), p = G("radius"), c = G("shadow"), u = G("inset-shadow"), T = G("text-shadow"), b = G("drop-shadow"), d = G("blur"), g = G("perspective"), m = G("aspect"), h = G("ease"), f = G("animate"), x = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"],
|
|
1584
|
+
const e = G("color"), t = G("font"), o = G("text"), n = G("font-weight"), a = G("tracking"), r = G("leading"), i = G("breakpoint"), l = G("container"), s = G("spacing"), p = G("radius"), c = G("shadow"), u = G("inset-shadow"), T = G("text-shadow"), b = G("drop-shadow"), d = G("blur"), g = G("perspective"), m = G("aspect"), h = G("ease"), f = G("animate"), x = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], D = () => [
|
|
1585
1585
|
"center",
|
|
1586
1586
|
"top",
|
|
1587
1587
|
"bottom",
|
|
@@ -1599,13 +1599,13 @@ const G = (e) => {
|
|
|
1599
1599
|
"bottom-left",
|
|
1600
1600
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
1601
1601
|
"left-bottom"
|
|
1602
|
-
], B = () => [...
|
|
1602
|
+
], B = () => [...D(), v, S], y = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", "contain", "none"], P = () => [v, S, s], w = () => [me, "full", "auto", ...P()], j = () => [ue, "none", "subgrid", v, S], F = () => ["auto", {
|
|
1603
1603
|
span: ["full", ue, v, S]
|
|
1604
|
-
}, ue, v, S], W = () => [ue, "auto", v, S], te = () => ["auto", "min", "max", "fr", v, S],
|
|
1604
|
+
}, ue, v, S], W = () => [ue, "auto", v, S], te = () => ["auto", "min", "max", "fr", v, S], E = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], z = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], O = () => ["auto", ...P()], oe = () => [me, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...P()], L = () => [e, v, S], ne = () => [...D(), Dt, zt, {
|
|
1605
1605
|
position: [v, S]
|
|
1606
|
-
}],
|
|
1606
|
+
}], Ee = () => ["no-repeat", {
|
|
1607
1607
|
repeat: ["", "x", "y", "space", "round"]
|
|
1608
|
-
}],
|
|
1608
|
+
}], Ae = () => ["auto", "cover", "contain", Gn, Un, {
|
|
1609
1609
|
size: [v, S]
|
|
1610
1610
|
}], $e = () => [et, Ce, de], Q = () => [
|
|
1611
1611
|
// Deprecated since Tailwind CSS v4.0.0
|
|
@@ -1615,7 +1615,7 @@ const G = (e) => {
|
|
|
1615
1615
|
p,
|
|
1616
1616
|
v,
|
|
1617
1617
|
S
|
|
1618
|
-
], X = () => ["", I, Ce, de], Re = () => ["solid", "dashed", "dotted", "double"], Pt = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], V = () => [I, et,
|
|
1618
|
+
], X = () => ["", I, Ce, de], Re = () => ["solid", "dashed", "dotted", "double"], Pt = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], V = () => [I, et, Dt, zt], wt = () => [
|
|
1619
1619
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1620
1620
|
"",
|
|
1621
1621
|
"none",
|
|
@@ -1774,21 +1774,21 @@ const G = (e) => {
|
|
|
1774
1774
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1775
1775
|
*/
|
|
1776
1776
|
overscroll: [{
|
|
1777
|
-
overscroll:
|
|
1777
|
+
overscroll: A()
|
|
1778
1778
|
}],
|
|
1779
1779
|
/**
|
|
1780
1780
|
* Overscroll Behavior X
|
|
1781
1781
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1782
1782
|
*/
|
|
1783
1783
|
"overscroll-x": [{
|
|
1784
|
-
"overscroll-x":
|
|
1784
|
+
"overscroll-x": A()
|
|
1785
1785
|
}],
|
|
1786
1786
|
/**
|
|
1787
1787
|
* Overscroll Behavior Y
|
|
1788
1788
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1789
1789
|
*/
|
|
1790
1790
|
"overscroll-y": [{
|
|
1791
|
-
"overscroll-y":
|
|
1791
|
+
"overscroll-y": A()
|
|
1792
1792
|
}],
|
|
1793
1793
|
/**
|
|
1794
1794
|
* Position
|
|
@@ -2025,7 +2025,7 @@ const G = (e) => {
|
|
|
2025
2025
|
* @see https://tailwindcss.com/docs/justify-content
|
|
2026
2026
|
*/
|
|
2027
2027
|
"justify-content": [{
|
|
2028
|
-
justify: [...
|
|
2028
|
+
justify: [...E(), "normal"]
|
|
2029
2029
|
}],
|
|
2030
2030
|
/**
|
|
2031
2031
|
* Justify Items
|
|
@@ -2046,7 +2046,7 @@ const G = (e) => {
|
|
|
2046
2046
|
* @see https://tailwindcss.com/docs/align-content
|
|
2047
2047
|
*/
|
|
2048
2048
|
"align-content": [{
|
|
2049
|
-
content: ["normal", ...
|
|
2049
|
+
content: ["normal", ...E()]
|
|
2050
2050
|
}],
|
|
2051
2051
|
/**
|
|
2052
2052
|
* Align Items
|
|
@@ -2071,7 +2071,7 @@ const G = (e) => {
|
|
|
2071
2071
|
* @see https://tailwindcss.com/docs/place-content
|
|
2072
2072
|
*/
|
|
2073
2073
|
"place-content": [{
|
|
2074
|
-
"place-content":
|
|
2074
|
+
"place-content": E()
|
|
2075
2075
|
}],
|
|
2076
2076
|
/**
|
|
2077
2077
|
* Place Items
|
|
@@ -2156,63 +2156,63 @@ const G = (e) => {
|
|
|
2156
2156
|
* @see https://tailwindcss.com/docs/margin
|
|
2157
2157
|
*/
|
|
2158
2158
|
m: [{
|
|
2159
|
-
m:
|
|
2159
|
+
m: O()
|
|
2160
2160
|
}],
|
|
2161
2161
|
/**
|
|
2162
2162
|
* Margin X
|
|
2163
2163
|
* @see https://tailwindcss.com/docs/margin
|
|
2164
2164
|
*/
|
|
2165
2165
|
mx: [{
|
|
2166
|
-
mx:
|
|
2166
|
+
mx: O()
|
|
2167
2167
|
}],
|
|
2168
2168
|
/**
|
|
2169
2169
|
* Margin Y
|
|
2170
2170
|
* @see https://tailwindcss.com/docs/margin
|
|
2171
2171
|
*/
|
|
2172
2172
|
my: [{
|
|
2173
|
-
my:
|
|
2173
|
+
my: O()
|
|
2174
2174
|
}],
|
|
2175
2175
|
/**
|
|
2176
2176
|
* Margin Start
|
|
2177
2177
|
* @see https://tailwindcss.com/docs/margin
|
|
2178
2178
|
*/
|
|
2179
2179
|
ms: [{
|
|
2180
|
-
ms:
|
|
2180
|
+
ms: O()
|
|
2181
2181
|
}],
|
|
2182
2182
|
/**
|
|
2183
2183
|
* Margin End
|
|
2184
2184
|
* @see https://tailwindcss.com/docs/margin
|
|
2185
2185
|
*/
|
|
2186
2186
|
me: [{
|
|
2187
|
-
me:
|
|
2187
|
+
me: O()
|
|
2188
2188
|
}],
|
|
2189
2189
|
/**
|
|
2190
2190
|
* Margin Top
|
|
2191
2191
|
* @see https://tailwindcss.com/docs/margin
|
|
2192
2192
|
*/
|
|
2193
2193
|
mt: [{
|
|
2194
|
-
mt:
|
|
2194
|
+
mt: O()
|
|
2195
2195
|
}],
|
|
2196
2196
|
/**
|
|
2197
2197
|
* Margin Right
|
|
2198
2198
|
* @see https://tailwindcss.com/docs/margin
|
|
2199
2199
|
*/
|
|
2200
2200
|
mr: [{
|
|
2201
|
-
mr:
|
|
2201
|
+
mr: O()
|
|
2202
2202
|
}],
|
|
2203
2203
|
/**
|
|
2204
2204
|
* Margin Bottom
|
|
2205
2205
|
* @see https://tailwindcss.com/docs/margin
|
|
2206
2206
|
*/
|
|
2207
2207
|
mb: [{
|
|
2208
|
-
mb:
|
|
2208
|
+
mb: O()
|
|
2209
2209
|
}],
|
|
2210
2210
|
/**
|
|
2211
2211
|
* Margin Left
|
|
2212
2212
|
* @see https://tailwindcss.com/docs/margin
|
|
2213
2213
|
*/
|
|
2214
2214
|
ml: [{
|
|
2215
|
-
ml:
|
|
2215
|
+
ml: O()
|
|
2216
2216
|
}],
|
|
2217
2217
|
/**
|
|
2218
2218
|
* Space Between X
|
|
@@ -2581,14 +2581,14 @@ const G = (e) => {
|
|
|
2581
2581
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
2582
2582
|
*/
|
|
2583
2583
|
"bg-repeat": [{
|
|
2584
|
-
bg:
|
|
2584
|
+
bg: Ee()
|
|
2585
2585
|
}],
|
|
2586
2586
|
/**
|
|
2587
2587
|
* Background Size
|
|
2588
2588
|
* @see https://tailwindcss.com/docs/background-size
|
|
2589
2589
|
*/
|
|
2590
2590
|
"bg-size": [{
|
|
2591
|
-
bg:
|
|
2591
|
+
bg: Ae()
|
|
2592
2592
|
}],
|
|
2593
2593
|
/**
|
|
2594
2594
|
* Background Image
|
|
@@ -3215,7 +3215,7 @@ const G = (e) => {
|
|
|
3215
3215
|
}]
|
|
3216
3216
|
}],
|
|
3217
3217
|
"mask-image-radial-pos": [{
|
|
3218
|
-
"mask-radial-at":
|
|
3218
|
+
"mask-radial-at": D()
|
|
3219
3219
|
}],
|
|
3220
3220
|
"mask-image-conic-pos": [{
|
|
3221
3221
|
"mask-conic": [I]
|
|
@@ -3258,14 +3258,14 @@ const G = (e) => {
|
|
|
3258
3258
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
3259
3259
|
*/
|
|
3260
3260
|
"mask-repeat": [{
|
|
3261
|
-
mask:
|
|
3261
|
+
mask: Ee()
|
|
3262
3262
|
}],
|
|
3263
3263
|
/**
|
|
3264
3264
|
* Mask Size
|
|
3265
3265
|
* @see https://tailwindcss.com/docs/mask-size
|
|
3266
3266
|
*/
|
|
3267
3267
|
"mask-size": [{
|
|
3268
|
-
mask:
|
|
3268
|
+
mask: Ae()
|
|
3269
3269
|
}],
|
|
3270
3270
|
/**
|
|
3271
3271
|
* Mask Type
|
|
@@ -4132,14 +4132,14 @@ const Zn = (e) => {
|
|
|
4132
4132
|
function ob(e, t, o, n, a, r) {
|
|
4133
4133
|
const l = [Qe.DualPage, Qe.DualPageWithCover].includes(a) && r >= 3 ? 2 * o : o;
|
|
4134
4134
|
switch (n) {
|
|
4135
|
-
case
|
|
4135
|
+
case Oe.ActualSize:
|
|
4136
4136
|
return 1;
|
|
4137
|
-
case
|
|
4137
|
+
case Oe.PageFit:
|
|
4138
4138
|
return Math.min(
|
|
4139
4139
|
(e.clientWidth - Nt) / l,
|
|
4140
4140
|
(e.clientHeight - 2 * Qh) / t
|
|
4141
4141
|
);
|
|
4142
|
-
case
|
|
4142
|
+
case Oe.PageWidth:
|
|
4143
4143
|
return (e.clientWidth - Nt) / l;
|
|
4144
4144
|
default:
|
|
4145
4145
|
return 1;
|
|
@@ -4264,7 +4264,7 @@ class fe {
|
|
|
4264
4264
|
}
|
|
4265
4265
|
}
|
|
4266
4266
|
}
|
|
4267
|
-
const k = fe.getInstance(), _n = /* @__PURE__ */ new Date("2026-04-
|
|
4267
|
+
const k = fe.getInstance(), _n = /* @__PURE__ */ new Date("2026-04-01T03:11:35.018Z"), ot = "Please visit https://www.vue-pdf-viewer.dev/license-management/ to generate a new license key.", Se = {
|
|
4268
4268
|
invalidLicense: JSON.stringify({
|
|
4269
4269
|
message: `You are currently using %cwithout%c a valid license. ${ot}`,
|
|
4270
4270
|
style: ["font-weight: bold;", "font-weight: normal;"]
|
|
@@ -4320,7 +4320,7 @@ function na(e) {
|
|
|
4320
4320
|
}
|
|
4321
4321
|
async function aa(e, t) {
|
|
4322
4322
|
try {
|
|
4323
|
-
const o = await import("./index-
|
|
4323
|
+
const o = await import("./index-D5uDtlwL.js").then((p) => p.i), n = o.pki.publicKeyFromPem(t), a = atob(e.data), r = o.util.decode64(e.signature), i = o.pss.create({
|
|
4324
4324
|
md: o.md.sha256.create(),
|
|
4325
4325
|
mgf: o.mgf.mgf1.create(o.md.sha256.create()),
|
|
4326
4326
|
saltLength: 32
|
|
@@ -4500,10 +4500,10 @@ function cb(e) {
|
|
|
4500
4500
|
{ attributes: !0, childList: !0, subtree: !0, characterData: !0 }
|
|
4501
4501
|
), { license: t };
|
|
4502
4502
|
}
|
|
4503
|
-
var
|
|
4503
|
+
var Ot;
|
|
4504
4504
|
(function(e) {
|
|
4505
4505
|
e.APNG = "image/apng", e.AVIF = "image/avif", e.BMP = "image/bmp", e.GIF = "image/gif", e.JPEG = "image/jpeg", e.PNG = "image/png", e.SVG = "image/svg+xml", e.WEBP = "image/webp", e.ICON = "image/x-icon";
|
|
4506
|
-
})(
|
|
4506
|
+
})(Ot || (Ot = {}));
|
|
4507
4507
|
var Ft;
|
|
4508
4508
|
(function(e) {
|
|
4509
4509
|
e.UnsupportedFileType = "unsupported-file-type", e.FileSizeExceeded = "file-size-exceeded";
|
|
@@ -4524,7 +4524,7 @@ var Mt;
|
|
|
4524
4524
|
(function(e) {
|
|
4525
4525
|
e[e.INVISIBLE = 1] = "INVISIBLE", e[e.HIDDEN = 2] = "HIDDEN", e[e.PRINT = 4] = "PRINT", e[e.NOZOOM = 8] = "NOZOOM", e[e.NOROTATE = 16] = "NOROTATE", e[e.NOVIEW = 32] = "NOVIEW", e[e.READONLY = 64] = "READONLY", e[e.LOCKED = 128] = "LOCKED", e[e.TOGGLENOVIEW = 256] = "TOGGLENOVIEW", e[e.LOCKEDCONTENTS = 512] = "LOCKEDCONTENTS";
|
|
4526
4526
|
})(Mt || (Mt = {}));
|
|
4527
|
-
const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Previous match", ua = "Next match", pa = "Close", da = "Match Case", ga = "Search case sensitive text", ma = "Whole Words", ha = "Search exact and case insensitive word(s)", fa = "Previous page", ba = "Current page", Ta = "Next page", Sa = "Zoom out", va = "Zoom in", Pa = "Select zoom level", wa = "Actual size", xa = "Page fit", La = "Page width", ya = "Enable dark theme",
|
|
4527
|
+
const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Previous match", ua = "Next match", pa = "Close", da = "Match Case", ga = "Search case sensitive text", ma = "Whole Words", ha = "Search exact and case insensitive word(s)", fa = "Previous page", ba = "Current page", Ta = "Next page", Sa = "Zoom out", va = "Zoom in", Pa = "Select zoom level", wa = "Actual size", xa = "Page fit", La = "Page width", ya = "Enable dark theme", Ea = "Enable light theme", Aa = "Open local file", Ca = "Open local file", Ia = "Download file", ka = "Download file", za = "Print", Da = "Print", Oa = "Preparing Document", Fa = "Cancel", Ma = "Full screen", Na = "Full screen", Ra = "More options", Ha = "First page", Ba = "Go to first page", Ua = "Last page", ja = "Go to last page", Wa = "Rotate clockwise", Ga = "Rotate clockwise", Va = "Rotate counterclockwise", Ya = "Rotate counterclockwise", qa = "Text selection tool", Ka = "Enable text selection tool", Qa = "Hand tool", Ja = "Enable hand tool", Xa = "Document properties", Za = "View document properties", $a = "Page scrolling", _a = "Enable page scrolling", er = "Vertical scrolling", tr = "Enable vertical scrolling", or = "Horizontal scrolling", nr = "Enable horizontal scrolling", ar = "Wrapped scrolling", rr = "Enable wrapped scrolling", ir = "Single page", lr = "Enable single page view", sr = "Dual page", cr = "Enable dual page view", ur = "Dual page with cover", pr = "Enable dual page view with cover", dr = "File name", gr = "File size", mr = "Title", hr = "Author", fr = "Subject", br = "Keywords", Tr = "Creator", Sr = "Created on", vr = "Modified on", Pr = "PDF producer", wr = "PDF version", xr = "Page count", Lr = "Thumbnail", yr = "Password Required", Er = "This document is password protected. Please enter a password to open the file.", Ar = "Enter password", Cr = "Submit", Ir = "Incorrect password", kr = "Drag and drop the PDF file here", zr = "View comments", Dr = "View comments", Or = "", Fr = "Page", Mr = "Comments", Nr = "Hide comments", Rr = "Annotation tools", Hr = "Show annotation tools", Br = "Hide annotation tools", Ur = "Text selection tool", jr = "Text selection", Wr = "Highlight", Gr = "Highlight", Vr = "Change highlight color", Yr = "Highlight color", qr = "Remove highlight", Kr = "Underline", Qr = "Underline", Jr = "Change underline color", Xr = "Underline color", Zr = "Remove underline", $r = "Strikethrough", _r = "Strikethrough", ei = "Change strikethrough color", ti = "Strikethrough color", oi = "Remove strikethrough", ni = "Free text", ai = "Free text", ri = "Remove free text", ii = "Change free text style", li = "Text style", si = "Font color", ci = "Font color", ui = "Text size", pi = "Text size", di = "Select a text size", gi = "Signature", mi = "Signature", hi = "Add new signature", fi = "Add new signature", bi = "Comment", Ti = "Comment", Si = "Image", vi = "Add image", Pi = "Unsupported file type", wi = "File should not exceed {size}", xi = "Remove image", Li = {
|
|
4528
4528
|
searchButtonTooltip: ia,
|
|
4529
4529
|
searchInputPlaceholder: la,
|
|
4530
4530
|
searchInputTooltip: sa,
|
|
@@ -4545,14 +4545,14 @@ const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Pr
|
|
|
4545
4545
|
zoomPageFit: xa,
|
|
4546
4546
|
zoomPageWidth: La,
|
|
4547
4547
|
themeEnableDarkTooltip: ya,
|
|
4548
|
-
themeEnableLightTooltip:
|
|
4549
|
-
openLocalFileLabel:
|
|
4548
|
+
themeEnableLightTooltip: Ea,
|
|
4549
|
+
openLocalFileLabel: Aa,
|
|
4550
4550
|
openLocalFileTooltip: Ca,
|
|
4551
4551
|
downloadFileLabel: Ia,
|
|
4552
4552
|
downloadFileTooltip: ka,
|
|
4553
4553
|
printLabel: za,
|
|
4554
|
-
printTooltip:
|
|
4555
|
-
printLoadingMessage:
|
|
4554
|
+
printTooltip: Da,
|
|
4555
|
+
printLoadingMessage: Oa,
|
|
4556
4556
|
printCancelLabel: Fa,
|
|
4557
4557
|
fullScreenLabel: Ma,
|
|
4558
4558
|
fullScreenTooltip: Na,
|
|
@@ -4599,14 +4599,14 @@ const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Pr
|
|
|
4599
4599
|
propertiesPageCountLabel: xr,
|
|
4600
4600
|
thumbnailTooltip: Lr,
|
|
4601
4601
|
passwordModalTitle: yr,
|
|
4602
|
-
passwordModalMessage:
|
|
4603
|
-
passwordPlaceholder:
|
|
4602
|
+
passwordModalMessage: Er,
|
|
4603
|
+
passwordPlaceholder: Ar,
|
|
4604
4604
|
passwordConfirmLabel: Cr,
|
|
4605
4605
|
passwordError: Ir,
|
|
4606
4606
|
dragDropFileMessage: kr,
|
|
4607
4607
|
commentPanelLabel: zr,
|
|
4608
|
-
commentPanelTooltip:
|
|
4609
|
-
commentPageSuffix:
|
|
4608
|
+
commentPanelTooltip: Dr,
|
|
4609
|
+
commentPageSuffix: Or,
|
|
4610
4610
|
commentPagePrefix: Fr,
|
|
4611
4611
|
commentLabel: Mr,
|
|
4612
4612
|
commentHideTooltip: Nr,
|
|
@@ -4651,16 +4651,16 @@ const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Pr
|
|
|
4651
4651
|
annotationImageUnsupportedFileMessage: Pi,
|
|
4652
4652
|
annotationImageUnsupportedFileSizeMessage: wi,
|
|
4653
4653
|
annotationImageDeleteTooltip: xi
|
|
4654
|
-
}, yi = "搜索文件",
|
|
4654
|
+
}, yi = "搜索文件", Ei = "输入搜索词", Ai = "搜索", Ci = "上一条", Ii = "下一条", ki = "关闭", zi = "区分大小写", Di = "搜索区分大小写", Oi = "全字匹配", Fi = "搜索完全匹配", Mi = "上一页", Ni = "当前页", Ri = "下一页", Hi = "缩小", Bi = "放大", Ui = "选择缩放级别", ji = "实际大小", Wi = "适合页面", Gi = "页面宽度", Vi = "切换到深色模式", Yi = "切换到浅色模式", qi = "打开文件", Ki = "打开文件", Qi = "下载文件", Ji = "下载文件", Xi = "打印", Zi = "打印", $i = "准备文件", _i = "取消", el = "全屏", tl = "全屏", ol = "更多选项", nl = "第一页", al = "跳转到第一页", rl = "最后一页", il = "跳转到最后一页", ll = "顺时针旋转", sl = "顺时针旋转", cl = "逆时针旋转", ul = "逆时针旋转", pl = "文本选择工具", dl = "启用文本选择工具", gl = "手型工具", ml = "启用手型工具", hl = "文件属性", fl = "查看文件属性", bl = "页面滚动", Tl = "启用页面滚动", Sl = "垂直滚动", vl = "启用垂直滚动", Pl = "水平滚动", wl = "启用水平滚动", xl = "环绕滚动", Ll = "启用环绕滚动", yl = "单页面视图", El = "启用单页视图", Al = "双页面视图", Cl = "启用双页视图", Il = "封面双页面视图", kl = "启用封面双页视图", zl = "文件名称", Dl = "文件大小", Ol = "标题", Fl = "作者", Ml = "主题", Nl = "关键字", Rl = "创建者", Hl = "创建于", Bl = "修改于", Ul = "PDF 制作程序 ", jl = "PDF版本", Wl = "页数", Gl = "缩略图", Vl = "需要密码", Yl = "此文件受密码保护。请输入密码以打开文件。", ql = "输入密码", Kl = "提交", Ql = "密码错误", Jl = "将PDF文件拖放到这里", Xl = "查看评论", Zl = "查看评论", $l = "第", _l = "页", es = "评论", ts = "隐藏评论", os = "注释工具", ns = "显示注释工具", as = "隐藏注释工具", rs = "文本选择工具", is = "文本选择", ls = "高亮", ss = "高亮", cs = "更改高亮颜色", us = "高亮颜色", ps = "删除高亮", ds = "下划线", gs = "下划线", ms = "更改下划线颜色", hs = "下划线颜色", fs = "删除下划线", bs = "删除线", Ts = "删除线", Ss = "更改删除线颜色", vs = "删除线颜色", Ps = "删除删除线", ws = "自由文本", xs = "自由文本", Ls = "删除自由文本", ys = "更改文本样式", Es = "文本样式", As = "文本颜色", Cs = "文本颜色", Is = "文本大小", ks = "文本大小", zs = "选择文本大小", Ds = "签名", Os = "签名", Fs = "添加新签名", Ms = "添加新签名", Ns = "注释", Rs = "注释", Hs = "图片", Bs = "添加图片", Us = "不支持此文件类型", js = "文件大小不能超过 {size}", Ws = "删除图片", Gs = {
|
|
4655
4655
|
searchButtonTooltip: yi,
|
|
4656
|
-
searchInputPlaceholder:
|
|
4657
|
-
searchInputTooltip:
|
|
4656
|
+
searchInputPlaceholder: Ei,
|
|
4657
|
+
searchInputTooltip: Ai,
|
|
4658
4658
|
searchPrevTooltip: Ci,
|
|
4659
4659
|
searchNextTooltip: Ii,
|
|
4660
4660
|
searchCloseButtonTooltip: ki,
|
|
4661
4661
|
searchMatchCaseLabel: zi,
|
|
4662
|
-
searchMatchCaseTooltip:
|
|
4663
|
-
searchWholeWordsLabel:
|
|
4662
|
+
searchMatchCaseTooltip: Di,
|
|
4663
|
+
searchWholeWordsLabel: Oi,
|
|
4664
4664
|
searchWholeWordsTooltip: Fi,
|
|
4665
4665
|
previousPageTooltip: Mi,
|
|
4666
4666
|
currentPageTooltip: Ni,
|
|
@@ -4707,14 +4707,14 @@ const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Pr
|
|
|
4707
4707
|
wrappedScrollingLabel: xl,
|
|
4708
4708
|
wrappedScrollingTooltip: Ll,
|
|
4709
4709
|
singlePageLabel: yl,
|
|
4710
|
-
singlePageTooltip:
|
|
4711
|
-
dualPageLabel:
|
|
4710
|
+
singlePageTooltip: El,
|
|
4711
|
+
dualPageLabel: Al,
|
|
4712
4712
|
dualPageTooltip: Cl,
|
|
4713
4713
|
dualPageWithCoverLabel: Il,
|
|
4714
4714
|
dualPageWithCoverTooltip: kl,
|
|
4715
4715
|
propertiesFilenameLabel: zl,
|
|
4716
|
-
propertiesFileSizeLabel:
|
|
4717
|
-
propertiesTitleLabel:
|
|
4716
|
+
propertiesFileSizeLabel: Dl,
|
|
4717
|
+
propertiesTitleLabel: Ol,
|
|
4718
4718
|
propertiesAuthorLabel: Fl,
|
|
4719
4719
|
propertiesSubjectLabel: Ml,
|
|
4720
4720
|
propertiesKeywordLabel: Nl,
|
|
@@ -4761,14 +4761,14 @@ const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Pr
|
|
|
4761
4761
|
annotationFreeTextTooltip: xs,
|
|
4762
4762
|
annotationFreeTextDeleteTooltip: Ls,
|
|
4763
4763
|
annotationFreeTextTextStyleTooltip: ys,
|
|
4764
|
-
annotationFreeTextTextStyleLabel:
|
|
4765
|
-
annotationFreeTextFontColorLabel:
|
|
4764
|
+
annotationFreeTextTextStyleLabel: Es,
|
|
4765
|
+
annotationFreeTextFontColorLabel: As,
|
|
4766
4766
|
annotationFreeTextFontColorTooltip: Cs,
|
|
4767
4767
|
annotationFreeTextTextSizeTooltip: Is,
|
|
4768
4768
|
annotationFreeTextTextSizeLabel: ks,
|
|
4769
4769
|
annotationFreeTextTextSizePlaceholder: zs,
|
|
4770
|
-
annotationSignatureLabel:
|
|
4771
|
-
annotationSignatureTooltip:
|
|
4770
|
+
annotationSignatureLabel: Ds,
|
|
4771
|
+
annotationSignatureTooltip: Os,
|
|
4772
4772
|
annotationSignatureAddLabel: Fs,
|
|
4773
4773
|
annotationSignatureAddTooltip: Ms,
|
|
4774
4774
|
annotationCommentLabel: Ns,
|
|
@@ -4778,7 +4778,7 @@ const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Pr
|
|
|
4778
4778
|
annotationImageUnsupportedFileMessage: Us,
|
|
4779
4779
|
annotationImageUnsupportedFileSizeMessage: js,
|
|
4780
4780
|
annotationImageDeleteTooltip: Ws
|
|
4781
|
-
}, Vs = "Cerca nel documento", Ys = "Premi Invio per cercare", qs = "Cerca", Ks = "Corrispondenza precedente", Qs = "Corrispondenza successiva", Js = "Chiudi", Xs = "Maiuscole/minuscole", Zs = "Cerca testo con distinzione maiuscole/minuscole", $s = "Parola intera", _s = "Cerca esatte parole senza distinzione maiuscole/minuscole", ec = "Pagina precedente", tc = "Pagina corrente", oc = "Pagina successiva", nc = "Ridurre", ac = "Ingrandire", rc = "Seleziona un livello di zoom", ic = "Dimensioni effettive", lc = "Adatta pagina", sc = "Larghezza pagina", cc = "Abilita tema scuro", uc = "Abilita tema chiaro", pc = "Aprire file", dc = "Aprire file", gc = "Scaricare file", mc = "Scaricare file", hc = "Stampa", fc = "Stampa", bc = "Preparazione del documento", Tc = "Annulla", Sc = "Schermo intero", vc = "Schermo intero", Pc = "Altre opzioni", wc = "Prima pagina", xc = "Vai alla prima pagina", Lc = "Ultima pagina", yc = "Vai all’ultima pagina",
|
|
4781
|
+
}, Vs = "Cerca nel documento", Ys = "Premi Invio per cercare", qs = "Cerca", Ks = "Corrispondenza precedente", Qs = "Corrispondenza successiva", Js = "Chiudi", Xs = "Maiuscole/minuscole", Zs = "Cerca testo con distinzione maiuscole/minuscole", $s = "Parola intera", _s = "Cerca esatte parole senza distinzione maiuscole/minuscole", ec = "Pagina precedente", tc = "Pagina corrente", oc = "Pagina successiva", nc = "Ridurre", ac = "Ingrandire", rc = "Seleziona un livello di zoom", ic = "Dimensioni effettive", lc = "Adatta pagina", sc = "Larghezza pagina", cc = "Abilita tema scuro", uc = "Abilita tema chiaro", pc = "Aprire file", dc = "Aprire file", gc = "Scaricare file", mc = "Scaricare file", hc = "Stampa", fc = "Stampa", bc = "Preparazione del documento", Tc = "Annulla", Sc = "Schermo intero", vc = "Schermo intero", Pc = "Altre opzioni", wc = "Prima pagina", xc = "Vai alla prima pagina", Lc = "Ultima pagina", yc = "Vai all’ultima pagina", Ec = "Ruota in senso orario", Ac = "Ruota in senso orario", Cc = "Ruota in senso antiorario", Ic = "Ruota in senso antiorario", kc = "Strumento di selezione testo", zc = "Abilita strumento di selezione testo", Dc = "Strumento mano", Oc = "Abilita strumento mano", Fc = "Proprietà documento", Mc = "Visualizza proprietà documento", Nc = "Scorrimento pagina", Rc = "Abilita lo scorrimento delle pagine", Hc = "Scorrimento verticale", Bc = "Abilita lo scorrimento verticale", Uc = "Scorrimento orizzontale", jc = "Abilita lo scorrimento orizzontale", Wc = "Scorrimento avvolto", Gc = "Abilita lo scorrimento avvolto", Vc = "Doppio", Yc = "Visualizzazione singola", qc = "Singolo", Kc = "Visualizzazione doppio", Qc = "Doppio con copertina", Jc = "Visualizzazione doppio con copertina", Xc = "Nome file", Zc = "Dimensione file", $c = "Titolo", _c = "Autore", eu = "Oggetto", tu = "Parole chiave", ou = "Creatore", nu = "Creato il", au = "Modificato il", ru = "Produttore PDF", iu = "Versione PDF", lu = "Numero di pagine", su = "Miniature", cu = "Password richiesta", uu = "Questo documento è protetto da password. Si prega di inserire una password per aprire il file.", pu = "Inserisci la password", du = "Invia", gu = "Password errata", mu = "Trascina e rilascia il file PDF qui", hu = "Visualizza commenti", fu = "Visualizza commenti", bu = "", Tu = "Pagina", Su = "Commenti", vu = "Nascondi commenti", Pu = "Strumenti annotazione", wu = "Mostra strumenti annotazione", xu = "Nascondi strumenti annotazione", Lu = "Strumento selezione testo", yu = "Selezione testo", Eu = "Evidenzia", Au = "Evidenzia", Cu = "Cambia colore evidenziazione", Iu = "Colore evidenziazione", ku = "Rimuovi evidenziazione", zu = "Sottolineato", Du = "Sottolineato", Ou = "Cambia colore sottolineato", Fu = "Colore sottolineato", Mu = "Rimuovi sottolineato", Nu = "Barrato", Ru = "Barrato", Hu = "Cambia colore barrato", Bu = "Colore barrato", Uu = "Rimuovi barrato", ju = "Testo libero", Wu = "Testo libero", Gu = "Rimuovi testo libero", Vu = "Cambia stile testo", Yu = "Stile testo", qu = "Colore testo", Ku = "Dimensione testo", Qu = "Dimensione testo", Ju = "Seleziona una dimensione testo", Xu = "Colore testo", Zu = "Firma", $u = "Firma", _u = "Aggiungi nuova firma", ep = "Aggiungi nuova firma", tp = "Commento", op = "Commento", np = "Immagine", ap = "Aggiungi immagine", rp = "Tipo di file non supportato", ip = "Il file non deve superare {size}", lp = "Elimina immagine", sp = {
|
|
4782
4782
|
searchButtonTooltip: Vs,
|
|
4783
4783
|
searchInputPlaceholder: Ys,
|
|
4784
4784
|
searchInputTooltip: qs,
|
|
@@ -4815,14 +4815,14 @@ const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Pr
|
|
|
4815
4815
|
firstPageTooltip: xc,
|
|
4816
4816
|
lastPageLabel: Lc,
|
|
4817
4817
|
lastPageTooltip: yc,
|
|
4818
|
-
rotateClockwiseLabel:
|
|
4819
|
-
rotateClockwiseTooltip:
|
|
4818
|
+
rotateClockwiseLabel: Ec,
|
|
4819
|
+
rotateClockwiseTooltip: Ac,
|
|
4820
4820
|
rotateCounterclockwiseLabel: Cc,
|
|
4821
4821
|
rotateCounterclockwiseTooltip: Ic,
|
|
4822
4822
|
textSelectionLabel: kc,
|
|
4823
4823
|
textSelectionTooltip: zc,
|
|
4824
|
-
handToolLabel:
|
|
4825
|
-
handToolTooltip:
|
|
4824
|
+
handToolLabel: Dc,
|
|
4825
|
+
handToolTooltip: Oc,
|
|
4826
4826
|
documentPropertiesLabel: Fc,
|
|
4827
4827
|
documentPropertiesTooltip: Mc,
|
|
4828
4828
|
pageScrollingLabel: Nc,
|
|
@@ -4869,14 +4869,14 @@ const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Pr
|
|
|
4869
4869
|
annotationToggleHideTooltip: xu,
|
|
4870
4870
|
annotationTextSelectionLabel: Lu,
|
|
4871
4871
|
annotationTextSelectionTooltip: yu,
|
|
4872
|
-
annotationHighlightLabel:
|
|
4873
|
-
annotationHighlightTooltip:
|
|
4872
|
+
annotationHighlightLabel: Eu,
|
|
4873
|
+
annotationHighlightTooltip: Au,
|
|
4874
4874
|
annotationHighlightColorTooltip: Cu,
|
|
4875
4875
|
annotationHighlightColorPickerLabel: Iu,
|
|
4876
4876
|
annotationHighlightDeleteTooltip: ku,
|
|
4877
4877
|
annotationUnderlineLabel: zu,
|
|
4878
|
-
annotationUnderlineTooltip:
|
|
4879
|
-
annotationUnderlineColorTooltip:
|
|
4878
|
+
annotationUnderlineTooltip: Du,
|
|
4879
|
+
annotationUnderlineColorTooltip: Ou,
|
|
4880
4880
|
annotationUnderlineColorPickerLabel: Fu,
|
|
4881
4881
|
annotationUnderlineDeleteTooltip: Mu,
|
|
4882
4882
|
annotationStrikethroughLabel: Nu,
|
|
@@ -4905,7 +4905,7 @@ const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Pr
|
|
|
4905
4905
|
annotationImageUnsupportedFileMessage: rp,
|
|
4906
4906
|
annotationImageUnsupportedFileSizeMessage: ip,
|
|
4907
4907
|
annotationImageDeleteTooltip: lp
|
|
4908
|
-
}, cp = "Pesquisar no documento", up = "Pressione Enter para pesquisar", pp = "Pesquisar", dp = "Correspondência anterior", gp = "Correspondência seguinte", mp = "Fechar", hp = "Diferenciar maiúsculas/minúsculas", fp = "Pesquisar texto com distinção de maiúsculas/minúsculas", bp = "Palavra inteira", Tp = "Pesquisar palavras exatas sem distinção de maiúsculas/minúsculas", Sp = "Página anterior", vp = "Página atual", Pp = "Próxima página", wp = "Reduzir", xp = "Ampliar", Lp = "Selecionar nível de zoom", yp = "Tamanho real",
|
|
4908
|
+
}, cp = "Pesquisar no documento", up = "Pressione Enter para pesquisar", pp = "Pesquisar", dp = "Correspondência anterior", gp = "Correspondência seguinte", mp = "Fechar", hp = "Diferenciar maiúsculas/minúsculas", fp = "Pesquisar texto com distinção de maiúsculas/minúsculas", bp = "Palavra inteira", Tp = "Pesquisar palavras exatas sem distinção de maiúsculas/minúsculas", Sp = "Página anterior", vp = "Página atual", Pp = "Próxima página", wp = "Reduzir", xp = "Ampliar", Lp = "Selecionar nível de zoom", yp = "Tamanho real", Ep = "Ajustar à página", Ap = "Largura da página", Cp = "Ativar tema escuro", Ip = "Ativar tema claro", kp = "Abrir arquivo", zp = "Abrir arquivo", Dp = "Baixar arquivo", Op = "Baixar arquivo", Fp = "Imprimir", Mp = "Imprimir", Np = "Preparando documento", Rp = "Cancelar", Hp = "Tela inteira", Bp = "Tela inteira", Up = "Mais opções", jp = "Primeira página", Wp = "Ir para a primeira página", Gp = "Última página", Vp = "Ir para a última página", Yp = "Girar no sentido horário", qp = "Girar no sentido horário", Kp = "Girar no sentido anti-horário", Qp = "Girar no sentido anti-horário", Jp = "Ferramenta de seleção de texto", Xp = "Ativar ferramenta de seleção de texto", Zp = "Ferramenta de mão", $p = "Ativar ferramenta de mão", _p = "Propriedades do documento", ed = "Ver propriedades do documento", td = "Rolagem página", od = "Ativar rolagem de página", nd = "Rolagem vertical", ad = "Ativar rolagem vertical", rd = "Rolagem horizontal", id = "Ativar rolagem horizontal", ld = "Rolagem envolvida", sd = "Ativar rolagem envolvente", cd = "Página única", ud = "Ativar página única", pd = "Página dupla", dd = "Ativar página dupla", gd = "Página dupla com capa", md = "Ativar página dupla com capa", hd = "Nome do arquivo", fd = "Tamanho do arquivo", bd = "Título", Td = "Autor", Sd = "Assunto", vd = "Palavras-chave", Pd = "Criador", wd = "Criado em", xd = "Modificado em", Ld = "Produtor do PDF", yd = "Versão do PDF", Ed = "Número de páginas", Ad = "Miniatura", Cd = "Senha necessária", Id = "Este documento é protegido por senha. Por favor, insira uma senha para abrir o arquivo.", kd = "Insira a senha", zd = "Enviar", Dd = "Senha incorreta", Od = "Arraste e solte o arquivo PDF aqui", Fd = "Ver comentários", Md = "Ver comentários", Nd = "", Rd = "Página", Hd = "Comentários", Bd = "Ocultar comentários", Ud = "Ferramentas de anotação", jd = "Mostrar ferramentas de anotação", Wd = "Ocultar ferramentas de anotação", Gd = "Ferramenta de seleção de texto", Vd = "Seleção de texto", Yd = "Destacar", qd = "Destacar", Kd = "Alterar cor do destaque", Qd = "Cor de destaque", Jd = "Remover destaque", Xd = "Sublinhado", Zd = "Sublinhado", $d = "Alterar cor do sublinhado", _d = "Cor de sublinhado", eg = "Remover sublinhado", tg = "Tachado", og = "Tachado", ng = "Alterar cor do tachado", ag = "Cor de tachado", rg = "Remover tachado", ig = "Texto livre", lg = "Texto livre", sg = "Remover texto livre", cg = "Alterar estilo de texto", ug = "Estilo de texto", pg = "Cor da fonte", dg = "Cor da fonte", gg = "Tamanho do texto", mg = "Tamanho do texto", hg = "Selecionar um tamanho de texto", fg = "Assinatura", bg = "Assinatura", Tg = "Adicionar nova assinatura", Sg = "Adicionar nova assinatura", vg = "Comentário", Pg = "Comentário", wg = "Imagem", xg = "Adicionar imagem", Lg = "Tipo de arquivo não suportado", yg = "O arquivo não deve exceder {size}", Eg = "Excluir imagem", Ag = {
|
|
4909
4909
|
searchButtonTooltip: cp,
|
|
4910
4910
|
searchInputPlaceholder: up,
|
|
4911
4911
|
searchInputTooltip: pp,
|
|
@@ -4923,14 +4923,14 @@ const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Pr
|
|
|
4923
4923
|
zoomInTooltip: xp,
|
|
4924
4924
|
zoomSelectTooltip: Lp,
|
|
4925
4925
|
zoomActualSize: yp,
|
|
4926
|
-
zoomPageFit:
|
|
4927
|
-
zoomPageWidth:
|
|
4926
|
+
zoomPageFit: Ep,
|
|
4927
|
+
zoomPageWidth: Ap,
|
|
4928
4928
|
themeEnableDarkTooltip: Cp,
|
|
4929
4929
|
themeEnableLightTooltip: Ip,
|
|
4930
4930
|
openLocalFileLabel: kp,
|
|
4931
4931
|
openLocalFileTooltip: zp,
|
|
4932
|
-
downloadFileLabel:
|
|
4933
|
-
downloadFileTooltip:
|
|
4932
|
+
downloadFileLabel: Dp,
|
|
4933
|
+
downloadFileTooltip: Op,
|
|
4934
4934
|
printLabel: Fp,
|
|
4935
4935
|
printTooltip: Mp,
|
|
4936
4936
|
printLoadingMessage: Np,
|
|
@@ -4977,14 +4977,14 @@ const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Pr
|
|
|
4977
4977
|
propertiesModifiedOnLabel: xd,
|
|
4978
4978
|
propertiesPDFProducerLabel: Ld,
|
|
4979
4979
|
propertiesPDFVersionLabel: yd,
|
|
4980
|
-
propertiesPageCountLabel:
|
|
4981
|
-
thumbnailTooltip:
|
|
4980
|
+
propertiesPageCountLabel: Ed,
|
|
4981
|
+
thumbnailTooltip: Ad,
|
|
4982
4982
|
passwordModalTitle: Cd,
|
|
4983
4983
|
passwordModalMessage: Id,
|
|
4984
4984
|
passwordPlaceholder: kd,
|
|
4985
4985
|
passwordConfirmLabel: zd,
|
|
4986
|
-
passwordError:
|
|
4987
|
-
dragDropFileMessage:
|
|
4986
|
+
passwordError: Dd,
|
|
4987
|
+
dragDropFileMessage: Od,
|
|
4988
4988
|
commentPanelLabel: Fd,
|
|
4989
4989
|
commentPanelTooltip: Md,
|
|
4990
4990
|
commentPageSuffix: Nd,
|
|
@@ -5031,14 +5031,14 @@ const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Pr
|
|
|
5031
5031
|
annotationImageTooltip: xg,
|
|
5032
5032
|
annotationImageUnsupportedFileMessage: Lg,
|
|
5033
5033
|
annotationImageUnsupportedFileSizeMessage: yg,
|
|
5034
|
-
annotationImageDeleteTooltip:
|
|
5035
|
-
}, Cg = "ค้นหาในเอกสาร", Ig = "กรอกคำค้นหา", kg = "ค้นหา", zg = "ผลการค้นหาก่อนหน้า",
|
|
5034
|
+
annotationImageDeleteTooltip: Eg
|
|
5035
|
+
}, Cg = "ค้นหาในเอกสาร", Ig = "กรอกคำค้นหา", kg = "ค้นหา", zg = "ผลการค้นหาก่อนหน้า", Dg = "ผลการค้นหาถัดไป", Og = "ปิด", Fg = "ข้อความที่มีคำ", Mg = "ค้นหาข้อความที่มีการแยกตัวพิมพ์ใหญ่/พิมพ์เล็ก", Ng = "ทั้งคำ", Rg = "ค้นหาคำที่ตรงตัวไม่มีการแยกตัวพิมพ์ใหญ่/พิมพ์เล็ก", Hg = "หน้าก่อนหน้า", Bg = "หน้าปัจจุบัน", Ug = "หน้าถัดไป", jg = "ย่อ", Wg = "ขยาย", Gg = "เลือกระดับซูม", Vg = "ขนาดจริง", Yg = "พอดีหน้า", qg = "พอดีความกว้าง", Kg = "เปิดโหมดมืด", Qg = "เปิดโหมดสว่าง", Jg = "เปิดไฟล์", Xg = "เปิดไฟล์", Zg = "ดาวน์โหลดเอกสาร", $g = "ดาวน์โหลดเอกสาร", _g = "พิมพ์", em = "พิมพ์", tm = "เตรียมเอกสาร", om = "ยกเลิก", nm = "เต็มจอ", am = "เต็มจอ", rm = "ตัวเลือกเพิ่มเติม", im = "หน้าแรก", lm = "ไปที่หน้าแรก", sm = "หน้าสุดท้าย", cm = "ไปที่หน้าสุดท้าย", um = "หมุนตามเข็มนาฬิกา", pm = "หมุนตามเข็มนาฬิกา", dm = "หมุนทวนเข็มนาฬิกา", gm = "หมุนทวนเข็มนาฬิกา", mm = "เครื่องมือเลือกข้อความ", hm = "เปิดใช้การเลือกข้อความ", fm = "เครื่องมือแฮนด์ทูล", bm = "เปิดใช้แฮนด์ทูล", Tm = "คุณสมบัติของเอกสาร", Sm = "ดูคุณสมบัติของเอกสาร", vm = "การเลื่อนภายในหน้า", Pm = "เปิดใช้การเลื่อนภายในหน้า", wm = "การเลื่อนแนวตั้ง", xm = "เปิดใช้การเลื่อนแนวตั้ง", Lm = "การเลื่อนแนวนอน", ym = "เปิดใช้การเลื่อนแนวนอน", Em = "การเลื่อนแบบแรพ", Am = "เปิดใช้การเลื่อนแบบแรพ", Cm = "หน้าเดี่ยว", Im = "เปิดใช้หน้าเดี่ยว", km = "หน้าคู่", zm = "เปิดใช้หน้าคู่", Dm = "หน้าคู่พร้อมปก", Om = "เปิดใช้หน้าคู่พร้อมปก", Fm = "ชื่อเอกสาร", Mm = "ขนาดเอกสาร", Nm = "ชื่อเรื่อง", Rm = "ผู้เขียน", Hm = "หัวข้อ", Bm = "คำสำคัญ", Um = "ผู้สร้าง", jm = "วันที่สร้าง", Wm = "วันที่แก้ไข", Gm = "ผู้ผลิต PDF", Vm = "เวอร์ชัน PDF", Ym = "จำนวนหน้า", qm = "ภาพย่อ", Km = "กรุณากรอกรหัสผ่าน", Qm = "เอกสารนี้ได้รับการป้องกันด้วยรหัสผ่าน กรุณาใส่รหัสผ่านเพื่อเปิดไฟล์", Jm = "กรอกรหัสผ่าน", Xm = "ส่ง", Zm = "รหัสผ่านไม่ถูกต้อง", $m = "ลากและวางไฟล์ PDF ที่นี่", _m = "ดูความคิดเห็น", eh = "ดูความคิดเห็น", th = "หน้า", oh = "", nh = "ความคิดเห็น", ah = "ซ่อนความคิดเห็น", rh = "เครื่องมือการออกแบบ", ih = "แสดงเครื่องมือการออกแบบ", lh = "ซ่อนเครื่องมือการออกแบบ", sh = "เลือกข้อความ", ch = "การเลือกข้อความ", uh = "ไฮไลท์", ph = "ไฮไลท์", dh = "เปลี่ยนสีไฮไลท์", gh = "สีไฮไลท์", mh = "ลบไฮไลท์", hh = "ขีดเส้นใต้", fh = "ขีดเส้นใต้", bh = "เปลี่ยนสีขีดเส้นใต้", Th = "สีขีดเส้นใต้", Sh = "ลบขีดเส้นใต้", vh = "ขีดฆ่า", Ph = "ขีดฆ่า", wh = "เปลี่ยนสีขีดฆ่า", xh = "สีขีดฆ่า", Lh = "ลบขีดฆ่า", yh = "ข้อความ", Eh = "ข้อความ", Ah = "ลบข้อความ", Ch = "เปลี่ยนรูปแบบข้อความ", Ih = "รูปแบบข้อความ", kh = "สีข้อความ", zh = "สีข้อความ", Dh = "ขนาดข้อความ", Oh = "ขนาดข้อความ", Fh = "เลือกขนาดข้อความ", Mh = "ลายเซ็น", Nh = "ลายเซ็น", Rh = "เพิ่มลายเซ็นใหม่", Hh = "เพิ่มลายเซ็นใหม่", Bh = "ความคิดเห็น", Uh = "ความคิดเห็น", jh = "รูปภาพ", Wh = "เพิ่มรูปภาพ", Gh = "ประเภทไฟล์ไม่รองรับ", Vh = "ไฟล์ต้องมีขนาดไม่เกิน {size}", Yh = "ลบรูปภาพ", qh = {
|
|
5036
5036
|
searchButtonTooltip: Cg,
|
|
5037
5037
|
searchInputPlaceholder: Ig,
|
|
5038
5038
|
searchInputTooltip: kg,
|
|
5039
5039
|
searchPrevTooltip: zg,
|
|
5040
|
-
searchNextTooltip:
|
|
5041
|
-
searchCloseButtonTooltip:
|
|
5040
|
+
searchNextTooltip: Dg,
|
|
5041
|
+
searchCloseButtonTooltip: Og,
|
|
5042
5042
|
searchMatchCaseLabel: Fg,
|
|
5043
5043
|
searchMatchCaseTooltip: Mg,
|
|
5044
5044
|
searchWholeWordsLabel: Ng,
|
|
@@ -5085,14 +5085,14 @@ const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Pr
|
|
|
5085
5085
|
verticalScrollingTooltip: xm,
|
|
5086
5086
|
horizontalLabel: Lm,
|
|
5087
5087
|
horizontalTooltip: ym,
|
|
5088
|
-
wrappedScrollingLabel:
|
|
5089
|
-
wrappedScrollingTooltip:
|
|
5088
|
+
wrappedScrollingLabel: Em,
|
|
5089
|
+
wrappedScrollingTooltip: Am,
|
|
5090
5090
|
singlePageLabel: Cm,
|
|
5091
5091
|
singlePageTooltip: Im,
|
|
5092
5092
|
dualPageLabel: km,
|
|
5093
5093
|
dualPageTooltip: zm,
|
|
5094
|
-
dualPageWithCoverLabel:
|
|
5095
|
-
dualPageWithCoverTooltip:
|
|
5094
|
+
dualPageWithCoverLabel: Dm,
|
|
5095
|
+
dualPageWithCoverTooltip: Om,
|
|
5096
5096
|
propertiesFilenameLabel: Fm,
|
|
5097
5097
|
propertiesFileSizeLabel: Mm,
|
|
5098
5098
|
propertiesTitleLabel: Nm,
|
|
@@ -5139,14 +5139,14 @@ const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Pr
|
|
|
5139
5139
|
annotationStrikethroughColorPickerLabel: xh,
|
|
5140
5140
|
annotationStrikethroughDeleteTooltip: Lh,
|
|
5141
5141
|
annotationFreeTextLabel: yh,
|
|
5142
|
-
annotationFreeTextTooltip:
|
|
5143
|
-
annotationFreeTextDeleteTooltip:
|
|
5142
|
+
annotationFreeTextTooltip: Eh,
|
|
5143
|
+
annotationFreeTextDeleteTooltip: Ah,
|
|
5144
5144
|
annotationFreeTextTextStyleTooltip: Ch,
|
|
5145
5145
|
annotationFreeTextTextStyleLabel: Ih,
|
|
5146
5146
|
annotationFreeTextFontColorLabel: kh,
|
|
5147
5147
|
annotationFreeTextFontColorTooltip: zh,
|
|
5148
|
-
annotationFreeTextTextSizeTooltip:
|
|
5149
|
-
annotationFreeTextTextSizeLabel:
|
|
5148
|
+
annotationFreeTextTextSizeTooltip: Dh,
|
|
5149
|
+
annotationFreeTextTextSizeLabel: Oh,
|
|
5150
5150
|
annotationFreeTextTextSizePlaceholder: Fh,
|
|
5151
5151
|
annotationSignatureLabel: Mh,
|
|
5152
5152
|
annotationSignatureTooltip: Nh,
|
|
@@ -5166,7 +5166,7 @@ const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Pr
|
|
|
5166
5166
|
en_US: Li,
|
|
5167
5167
|
zh_CN: Gs,
|
|
5168
5168
|
it_IT: sp,
|
|
5169
|
-
pt_PT:
|
|
5169
|
+
pt_PT: Ag,
|
|
5170
5170
|
th_TH: qh
|
|
5171
5171
|
}, db = Symbol("VPV Current Localization"), gb = mt, mb = ht, Kh = {
|
|
5172
5172
|
Black: "#000000",
|
|
@@ -5218,11 +5218,11 @@ const ia = "Search in Document", la = "Enter to search", sa = "Search", ca = "Pr
|
|
|
5218
5218
|
pageViewSwitchable: !0,
|
|
5219
5219
|
commentPanelEnabled: !0
|
|
5220
5220
|
};
|
|
5221
|
-
|
|
5221
|
+
Oe.PageFit, Xt.Vertical, Qe.SinglePage;
|
|
5222
5222
|
const Tb = {
|
|
5223
5223
|
left: 0,
|
|
5224
5224
|
top: 0
|
|
5225
|
-
}, Sb = 768, vb = 100, Pb = 0.25, wb = 10, xb = 1.1, Lb = 25e-4, yb = 25e-5,
|
|
5225
|
+
}, Sb = 768, vb = 100, Pb = 0.25, wb = 10, xb = 1.1, Lb = 25e-4, yb = 25e-5, Eb = 0.075, Nt = 20, Qh = 1, Ab = 0, Cb = 4, Ib = 97, kb = Symbol(), zb = "vpv-highlight__text-current", Db = Symbol(), Ob = Symbol(), Fb = Symbol(), Mb = Symbol(), Nb = Symbol(), Rb = Symbol(), Hb = Symbol(), Bb = Symbol(), Ub = Symbol(), jb = Symbol(), Wb = Symbol(), Gb = Symbol("PagesContainer"), Vb = Symbol(), Yb = Symbol(), qb = Symbol(), Kb = Symbol(), Qb = Symbol(), Jb = Symbol(), uo = Symbol(), po = Symbol(), Xb = Symbol(), Zb = Symbol(), $b = Symbol(), _b = Symbol(), eT = Symbol(), tT = Symbol(), oT = Symbol(), nT = Symbol(), aT = Symbol(), rT = {
|
|
5226
5226
|
ANNOTATION_IMAGE_MANAGER: Symbol(
|
|
5227
5227
|
"AnnotationImageManager"
|
|
5228
5228
|
),
|
|
@@ -5247,16 +5247,16 @@ const Tb = {
|
|
|
5247
5247
|
TEXT_SELECTION_STRIKETHROUGH_COLOR: Symbol(
|
|
5248
5248
|
"AnnotationTextSelectionStrikethroughColor"
|
|
5249
5249
|
)
|
|
5250
|
-
},
|
|
5250
|
+
}, iT = Symbol("instanceId"), lT = Symbol(), go = {
|
|
5251
5251
|
isValidated: !1,
|
|
5252
5252
|
isValidating: !0,
|
|
5253
5253
|
isValidKey: !1,
|
|
5254
5254
|
licenseKey: null,
|
|
5255
5255
|
type: Jt.Unlicense,
|
|
5256
5256
|
product: Zt.Viewer
|
|
5257
|
-
},
|
|
5257
|
+
}, sT = Symbol(), cT = Symbol(), uT = Symbol(), pT = Symbol(), Jh = 96, Xh = 72, dT = {
|
|
5258
5258
|
PDF_TO_CSS_UNITS: Jh / Xh
|
|
5259
|
-
}, nt = Array.from(Array(256).keys(), (e) => e.toString(16).padStart(2, "0")),
|
|
5259
|
+
}, nt = Array.from(Array(256).keys(), (e) => e.toString(16).padStart(2, "0")), gT = (e, t, o) => `#${nt[e]}${nt[t]}${nt[o]}`, mT = (e) => {
|
|
5260
5260
|
if (!e || e.length < 3) return [0, 0, 0];
|
|
5261
5261
|
const [t, o, n] = e;
|
|
5262
5262
|
return [t, o, n];
|
|
@@ -5265,7 +5265,7 @@ function mo(e) {
|
|
|
5265
5265
|
const t = e.replace("#", ""), o = parseInt(t.substring(0, 2), 16), n = parseInt(t.substring(2, 4), 16), a = parseInt(t.substring(4, 6), 16);
|
|
5266
5266
|
return new Uint8ClampedArray([o, n, a]);
|
|
5267
5267
|
}
|
|
5268
|
-
function
|
|
5268
|
+
function hT(e) {
|
|
5269
5269
|
const t = e.replace("#", "");
|
|
5270
5270
|
if (t.length !== 6) return null;
|
|
5271
5271
|
const o = parseInt(t.substring(0, 2), 16), n = parseInt(t.substring(2, 4), 16), a = parseInt(t.substring(4, 6), 16);
|
|
@@ -5495,14 +5495,14 @@ class ef {
|
|
|
5495
5495
|
}
|
|
5496
5496
|
const Rt = new ef({
|
|
5497
5497
|
baseId: `viewer_${Date.now()}_${Math.random().toString(36).substring(2, 9)}`
|
|
5498
|
-
}), ho = K(null),
|
|
5498
|
+
}), ho = K(null), fT = (e) => {
|
|
5499
5499
|
ho.value = e;
|
|
5500
5500
|
};
|
|
5501
5501
|
let tf = 0;
|
|
5502
5502
|
const Je = K(null), of = K(/* @__PURE__ */ new Map());
|
|
5503
5503
|
let pe = null;
|
|
5504
5504
|
const he = /* @__PURE__ */ new Map(), at = K(0), nf = K(0), Ie = K(!1), rt = K(!1);
|
|
5505
|
-
async function
|
|
5505
|
+
async function bT(e, t) {
|
|
5506
5506
|
if (!Je.value) return;
|
|
5507
5507
|
const o = await e.getAnnotations({ intent: "display" }), n = ee(Je.value);
|
|
5508
5508
|
for (const a of o) {
|
|
@@ -5535,7 +5535,7 @@ async function af(e) {
|
|
|
5535
5535
|
}
|
|
5536
5536
|
return e.annotationType === $.FreeText && (t.structTreeParentId = null, t.value = e.value, t.fontSize = e.fontSize, delete t.opacity), e.annotationType === $.Widget && (t.noView = !1, t.noPrint = !1, e.checkBox && (t.value = e.value ?? !1)), t;
|
|
5537
5537
|
}
|
|
5538
|
-
function
|
|
5538
|
+
function TT() {
|
|
5539
5539
|
const e = Je, t = of, o = () => e.value ? !0 : (k.warn("Annotation storage is not initialized. Please call setStorage first."), !1), n = (d) => (e.value = d.annotationStorage, Ie.value = !1, e.value), a = () => {
|
|
5540
5540
|
pe && (clearTimeout(pe), pe = null), he.clear(), rt.value = !0;
|
|
5541
5541
|
}, r = (d) => {
|
|
@@ -5634,12 +5634,12 @@ function ST() {
|
|
|
5634
5634
|
for (let [f, x] of m.entries()) {
|
|
5635
5635
|
if (x.annotationType === $.Underline || x.annotationType === $.StrikeOut)
|
|
5636
5636
|
continue;
|
|
5637
|
-
let
|
|
5637
|
+
let D = await af(x);
|
|
5638
5638
|
k.debug(
|
|
5639
5639
|
"[saveAnnotationsToDocumentSimplified] serializedAnnotation of",
|
|
5640
5640
|
f,
|
|
5641
|
-
|
|
5642
|
-
), x.annotationType === $.Widget && (f = x.id), g.setValue(f,
|
|
5641
|
+
D
|
|
5642
|
+
), x.annotationType === $.Widget && (f = x.id), g.setValue(f, D);
|
|
5643
5643
|
}
|
|
5644
5644
|
return k.debug(">>>documentStorage", g.serializable.map), await d.saveDocument();
|
|
5645
5645
|
} catch (g) {
|
|
@@ -5680,8 +5680,8 @@ function ST() {
|
|
|
5680
5680
|
rect: y.rect,
|
|
5681
5681
|
quadPoints: y.quadPoints
|
|
5682
5682
|
});
|
|
5683
|
-
const
|
|
5684
|
-
y.creationDate || (y.creationDate =
|
|
5683
|
+
const A = /* @__PURE__ */ new Date();
|
|
5684
|
+
y.creationDate || (y.creationDate = A), y.modificationDate = A, m.push(y);
|
|
5685
5685
|
} else
|
|
5686
5686
|
f = !0;
|
|
5687
5687
|
if (m.length === 0 && h.length === 0)
|
|
@@ -5691,23 +5691,23 @@ function ST() {
|
|
|
5691
5691
|
return k.warn(
|
|
5692
5692
|
"[saveAnnotationsWithTextMarkup] No annotation plugin API available - text markup annotations will not be saved"
|
|
5693
5693
|
), p(d);
|
|
5694
|
-
const
|
|
5694
|
+
const D = await x.exportToPdf(
|
|
5695
5695
|
m,
|
|
5696
5696
|
h
|
|
5697
5697
|
);
|
|
5698
|
-
if (!
|
|
5698
|
+
if (!D)
|
|
5699
5699
|
return k.error(
|
|
5700
5700
|
"[saveAnnotationsWithTextMarkup] Plugin failed to serialize text markup annotations - exportToPdf returned null (likely originalPdfBytes is null)"
|
|
5701
5701
|
), p(d);
|
|
5702
5702
|
if (f) {
|
|
5703
|
-
const y = await (await import("pdfjs-dist")).getDocument({ data:
|
|
5703
|
+
const y = await (await import("pdfjs-dist")).getDocument({ data: D }).promise;
|
|
5704
5704
|
try {
|
|
5705
5705
|
return await p(y);
|
|
5706
5706
|
} finally {
|
|
5707
5707
|
y.destroy();
|
|
5708
5708
|
}
|
|
5709
5709
|
}
|
|
5710
|
-
return
|
|
5710
|
+
return D;
|
|
5711
5711
|
},
|
|
5712
5712
|
// For internal use - only handles regular PDF.js annotations
|
|
5713
5713
|
saveAnnotationsToDocumentSimplified: p,
|
|
@@ -5728,8 +5728,8 @@ function ST() {
|
|
|
5728
5728
|
};
|
|
5729
5729
|
}
|
|
5730
5730
|
let fo = "";
|
|
5731
|
-
fo = "https://unpkg.com/@vue-pdf-viewer/viewer@4.0.0-beta.
|
|
5732
|
-
const
|
|
5731
|
+
fo = "https://unpkg.com/@vue-pdf-viewer/viewer@4.0.0-beta.3/dist/assets/pdf-annotations/";
|
|
5732
|
+
const ST = fo, rf = 1, lf = 1e6, se = {
|
|
5733
5733
|
ADD_TOAST: "ADD_TOAST",
|
|
5734
5734
|
UPDATE_TOAST: "UPDATE_TOAST",
|
|
5735
5735
|
DISMISS_TOAST: "DISMISS_TOAST",
|
|
@@ -5780,7 +5780,7 @@ function Fe(e) {
|
|
|
5780
5780
|
break;
|
|
5781
5781
|
}
|
|
5782
5782
|
}
|
|
5783
|
-
function
|
|
5783
|
+
function vT() {
|
|
5784
5784
|
return {
|
|
5785
5785
|
toasts: R(() => _.value.toasts),
|
|
5786
5786
|
toast: cf,
|
|
@@ -5809,111 +5809,110 @@ function cf(e) {
|
|
|
5809
5809
|
};
|
|
5810
5810
|
}
|
|
5811
5811
|
export {
|
|
5812
|
-
|
|
5812
|
+
pT as $,
|
|
5813
5813
|
$ as A,
|
|
5814
5814
|
yb as B,
|
|
5815
5815
|
k as C,
|
|
5816
5816
|
bb as D,
|
|
5817
5817
|
mb as E,
|
|
5818
|
-
|
|
5818
|
+
cT as F,
|
|
5819
5819
|
Rt as G,
|
|
5820
|
-
|
|
5820
|
+
nT as H,
|
|
5821
5821
|
Ub as I,
|
|
5822
5822
|
fb as J,
|
|
5823
|
-
|
|
5823
|
+
Xb as K,
|
|
5824
5824
|
Jt as L,
|
|
5825
5825
|
lb as M,
|
|
5826
|
-
|
|
5826
|
+
aT as N,
|
|
5827
5827
|
Qo as O,
|
|
5828
5828
|
Gb as P,
|
|
5829
5829
|
dn as Q,
|
|
5830
|
-
|
|
5830
|
+
uT as R,
|
|
5831
5831
|
Xt as S,
|
|
5832
|
-
|
|
5833
|
-
|
|
5832
|
+
Eb as T,
|
|
5833
|
+
bT as U,
|
|
5834
5834
|
Qe as V,
|
|
5835
|
-
|
|
5835
|
+
Db as W,
|
|
5836
5836
|
Kf as X,
|
|
5837
5837
|
zb as Y,
|
|
5838
|
-
|
|
5838
|
+
Oe as Z,
|
|
5839
5839
|
Nb as _,
|
|
5840
5840
|
Zt as a,
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
|
|
5882
|
-
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
|
|
5887
|
-
|
|
5888
|
-
Hb as aj,
|
|
5841
|
+
$b as a0,
|
|
5842
|
+
vb as a1,
|
|
5843
|
+
qb as a2,
|
|
5844
|
+
Yb as a3,
|
|
5845
|
+
Gf as a4,
|
|
5846
|
+
qf as a5,
|
|
5847
|
+
tb as a6,
|
|
5848
|
+
mn as a7,
|
|
5849
|
+
sT as a8,
|
|
5850
|
+
Vf as a9,
|
|
5851
|
+
ob as aA,
|
|
5852
|
+
hT as aB,
|
|
5853
|
+
ab as aC,
|
|
5854
|
+
nb as aD,
|
|
5855
|
+
uo as aE,
|
|
5856
|
+
go as aF,
|
|
5857
|
+
fT as aG,
|
|
5858
|
+
vT as aH,
|
|
5859
|
+
ht as aI,
|
|
5860
|
+
Ft as aJ,
|
|
5861
|
+
Sb as aK,
|
|
5862
|
+
cb as aL,
|
|
5863
|
+
Kt as aM,
|
|
5864
|
+
cn as aN,
|
|
5865
|
+
Ib as aO,
|
|
5866
|
+
ub as aP,
|
|
5867
|
+
Vb as aQ,
|
|
5868
|
+
Ob as aR,
|
|
5869
|
+
Bb as aS,
|
|
5870
|
+
Rb as aT,
|
|
5871
|
+
lT as aU,
|
|
5872
|
+
Io as aV,
|
|
5873
|
+
gb as aW,
|
|
5874
|
+
ST as aX,
|
|
5875
|
+
jf as aY,
|
|
5876
|
+
un as aZ,
|
|
5877
|
+
gn as a_,
|
|
5878
|
+
Jf as aa,
|
|
5879
|
+
$f as ab,
|
|
5880
|
+
jb as ac,
|
|
5881
|
+
Pb as ad,
|
|
5882
|
+
wb as ae,
|
|
5883
|
+
xb as af,
|
|
5884
|
+
Zb as ag,
|
|
5885
|
+
eb as ah,
|
|
5886
|
+
Hb as ai,
|
|
5887
|
+
_b as aj,
|
|
5889
5888
|
eT as ak,
|
|
5890
5889
|
tT as al,
|
|
5891
5890
|
oT as am,
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
|
|
5891
|
+
kb as an,
|
|
5892
|
+
Jb as ao,
|
|
5893
|
+
Fb as ap,
|
|
5894
|
+
Yf as aq,
|
|
5895
|
+
Qb as ar,
|
|
5896
|
+
Kb as as,
|
|
5897
|
+
Xf as at,
|
|
5898
|
+
Bf as au,
|
|
5899
|
+
on as av,
|
|
5900
|
+
_f as aw,
|
|
5901
|
+
Tb as ax,
|
|
5902
|
+
Ab as ay,
|
|
5903
|
+
Cb as az,
|
|
5905
5904
|
pb as b,
|
|
5906
5905
|
Mb as c,
|
|
5907
5906
|
pn as d,
|
|
5908
|
-
|
|
5909
|
-
|
|
5910
|
-
|
|
5907
|
+
iT as e,
|
|
5908
|
+
rT as f,
|
|
5909
|
+
TT as g,
|
|
5911
5910
|
ze as h,
|
|
5912
5911
|
db as i,
|
|
5913
5912
|
rb as j,
|
|
5914
5913
|
Wb as k,
|
|
5915
5914
|
Zf as l,
|
|
5916
|
-
|
|
5915
|
+
dT as m,
|
|
5917
5916
|
Wf as n,
|
|
5918
5917
|
Uf as o,
|
|
5919
5918
|
Rf as p,
|
|
@@ -5922,8 +5921,8 @@ export {
|
|
|
5922
5921
|
hb as s,
|
|
5923
5922
|
mo as t,
|
|
5924
5923
|
sb as u,
|
|
5925
|
-
|
|
5926
|
-
|
|
5924
|
+
mT as v,
|
|
5925
|
+
gT as w,
|
|
5927
5926
|
ib as x,
|
|
5928
5927
|
sn as y,
|
|
5929
5928
|
Lb as z
|