@datagouv/components-next 0.0.32 → 0.1.0
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 +5 -15
- package/assets/labels/hvd.svg +15 -0
- package/assets/labels/inspire.svg +20 -0
- package/assets/labels/sl.svg +5 -0
- package/assets/labels/spd.svg +5 -0
- package/assets/labels/sr.svg +5 -0
- package/dist/JsonPreview.client-NQ9byxF5.js +92 -0
- package/dist/{MapContainer.client-Dhfz-YU8.js → MapContainer.client-D7Y0OXMU.js} +17587 -6826
- package/dist/{PdfPreview.client--W0FK7CN.js → PdfPreview.client-DU6FbUh0.js} +47 -48
- package/dist/{Pmtiles.client-B6vRTwrm.js → Pmtiles.client-DCOxft6M.js} +7609 -7503
- package/dist/Swagger.client-DTHhEAFT.js +4 -0
- package/dist/XmlPreview.client-BEOCeCP8.js +84 -0
- package/dist/components-next.css +6 -6
- package/dist/components-next.js +95 -80
- package/dist/components.css +2 -2
- package/dist/en-CuSmdvir.js +30 -0
- package/dist/hvd-DYeke1vM.js +4 -0
- package/dist/inspire-BLXeJvob.js +4 -0
- package/dist/{main-yWiuApVL.js → main-DFEQrdg5.js} +53395 -55984
- package/dist/{pdf-vue3-Dm2ZCc3P.js → pdf-vue3-IkJO65RH.js} +2 -2
- package/dist/{pdf.min-f72cfa08-DAetWL3M.js → pdf.min-f72cfa08-CdgJTooZ.js} +78 -78
- package/dist/sl-VR8Tb1_u.js +4 -0
- package/dist/spd-BJ-Omhgt.js +4 -0
- package/dist/sr-DjSF-8xW.js +4 -0
- package/dist/{text-clamp.esm-Mb7Qdtu9.js → text-clamp.esm-B5kW_XMt.js} +54 -55
- package/dist/{vue3-json-viewer-B1fiyuLU.js → vue3-json-viewer-BXwup7nO.js} +88 -93
- package/dist/{vue3-xml-viewer.common-1QyofKqS.js → vue3-xml-viewer.common-RC76oYFu.js} +54 -54
- package/package.json +12 -11
- package/src/components/ActivityList/ActivityList.vue +159 -0
- package/src/components/ActivityList/UserActivityList.vue +30 -0
- package/src/components/AppLink.vue +3 -3
- package/src/components/Avatar.vue +1 -0
- package/src/components/DataserviceCard.vue +3 -3
- package/src/components/DatasetCard.vue +19 -18
- package/src/components/DatasetInformationPanel.vue +16 -16
- package/src/components/DatasetLabelTag.vue +40 -0
- package/src/components/DatasetQuality.vue +13 -10
- package/src/components/DatasetQualityInline.vue +5 -2
- package/src/components/DatasetQualityScore.vue +3 -3
- package/src/components/DatasetQualityTooltipContent.vue +2 -2
- package/src/components/DateRangeDetails.vue +7 -3
- package/src/components/ExtraAccordion.vue +3 -1
- package/src/components/OrganizationNameWithCertificate.vue +2 -2
- package/src/components/PaddedContainer.vue +28 -0
- package/src/components/Pagination.vue +2 -2
- package/src/components/Placeholder.vue +1 -1
- package/src/components/ReadMore.vue +17 -17
- package/src/components/ResourceAccordion/DataStructure.vue +8 -3
- package/src/components/ResourceAccordion/EditButton.vue +2 -2
- package/src/components/ResourceAccordion/JsonPreview.client.vue +7 -5
- package/src/components/ResourceAccordion/MapContainer.client.vue +2 -2
- package/src/components/ResourceAccordion/Metadata.vue +10 -10
- package/src/components/ResourceAccordion/PdfPreview.client.vue +7 -5
- package/src/components/ResourceAccordion/Pmtiles.client.vue +2 -2
- package/src/components/ResourceAccordion/Preview.vue +2 -2
- package/src/components/ResourceAccordion/ResourceAccordion.vue +23 -15
- package/src/components/ResourceAccordion/SchemaBadge.vue +4 -4
- package/src/components/ResourceAccordion/XmlPreview.client.vue +7 -5
- package/src/components/ReuseCard.vue +3 -3
- package/src/components/ReuseDetails.vue +2 -2
- package/src/components/SmallChart.vue +33 -30
- package/src/components/StatBox.vue +6 -6
- package/src/components/Toggletip.vue +0 -1
- package/src/components/TranslationT.vue +51 -0
- package/src/composables/useTranslation.ts +169 -0
- package/src/functions/activities.ts +36 -0
- package/src/functions/api.ts +4 -4
- package/src/functions/datasets.ts +28 -0
- package/src/functions/dates.ts +4 -4
- package/src/functions/helpers.ts +3 -3
- package/src/functions/organizations.ts +2 -2
- package/src/functions/pagination.ts +9 -0
- package/src/functions/resources.ts +2 -2
- package/src/functions/reuses.ts +3 -3
- package/src/main.ts +24 -20
- package/src/types/activity.ts +24 -0
- package/src/types/api.ts +8 -0
- package/src/types/badges.ts +4 -0
- package/src/types/dataservices.ts +6 -8
- package/src/types/datasets.ts +2 -1
- package/src/types/site.ts +1 -0
- package/src/types/topics.ts +17 -2
- package/dist/JsonPreview.client-BRhCOHlE.js +0 -93
- package/dist/Swagger.client-ch5H8aT2.js +0 -4
- package/dist/XmlPreview.client-BcbnRWAp.js +0 -85
|
@@ -53,7 +53,7 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
53
53
|
}, Symbol.toStringTag, { value: "Module" })), require$$6 = /* @__PURE__ */ getAugmentedNamespace(__viteBrowserExternal$1);
|
|
54
54
|
var path2dPolyfill_min = {}, hasRequiredPath2dPolyfill_min;
|
|
55
55
|
function requirePath2dPolyfill_min() {
|
|
56
|
-
return hasRequiredPath2dPolyfill_min || (hasRequiredPath2dPolyfill_min = 1, function() {
|
|
56
|
+
return hasRequiredPath2dPolyfill_min || (hasRequiredPath2dPolyfill_min = 1, (function() {
|
|
57
57
|
function S(f, C, q) {
|
|
58
58
|
for (var R, $ = 0, X = C.length; $ < X; $++)
|
|
59
59
|
!R && $ in C || (R || (R = Array.prototype.slice.call(C, 0, $)), R[$] = C[$]);
|
|
@@ -63,10 +63,10 @@ function requirePath2dPolyfill_min() {
|
|
|
63
63
|
function o(f) {
|
|
64
64
|
var C = [], q = String(f).trim();
|
|
65
65
|
return q[0] !== "M" && q[0] !== "m" || q.replace(r, function(R, $, X) {
|
|
66
|
-
var J = function(P) {
|
|
66
|
+
var J = (function(P) {
|
|
67
67
|
var U = P.match(u);
|
|
68
68
|
return U ? U.map(Number) : [];
|
|
69
|
-
}(X), H = $.toLowerCase(), M = $;
|
|
69
|
+
})(X), H = $.toLowerCase(), M = $;
|
|
70
70
|
if (H === "m" && J.length > 2 && (C.push(S([M], J.splice(0, 2))), H = "l", M = M === "m" ? "l" : "L"), J.length < s[H])
|
|
71
71
|
return "";
|
|
72
72
|
for (C.push(S([M], J.splice(0, s[H]))); J.length >= s[H] && J.length && s[H]; )
|
|
@@ -81,7 +81,7 @@ function requirePath2dPolyfill_min() {
|
|
|
81
81
|
function F(f, C) {
|
|
82
82
|
f.x *= C, f.y *= C;
|
|
83
83
|
}
|
|
84
|
-
var g = function() {
|
|
84
|
+
var g = (function() {
|
|
85
85
|
function f(C) {
|
|
86
86
|
var q;
|
|
87
87
|
this.commands = [], C && C instanceof f ? (q = this.commands).push.apply(q, C.commands) : C && (this.commands = o(C));
|
|
@@ -110,7 +110,7 @@ function requirePath2dPolyfill_min() {
|
|
|
110
110
|
}, f.prototype.roundRect = function(C, q, R, $, X) {
|
|
111
111
|
X === void 0 ? this.commands.push(["RR", C, q, R, $, 0]) : this.commands.push(["RR", C, q, R, $, X]);
|
|
112
112
|
}, f;
|
|
113
|
-
}();
|
|
113
|
+
})();
|
|
114
114
|
function y(f, C) {
|
|
115
115
|
var q, R, $, X, J, H, M, P, U, _, E, Y, rt, Z, V, Q, ct, vt, pt, Tt, B, j, z, G, N = 0, W = 0, it = null, at = null, lt = null, dt = null, ft = null, mt = null;
|
|
116
116
|
f.beginPath();
|
|
@@ -228,13 +228,13 @@ function requirePath2dPolyfill_min() {
|
|
|
228
228
|
return $.apply(this, X);
|
|
229
229
|
}, f.Path2D = g;
|
|
230
230
|
}
|
|
231
|
-
})(window), function(f) {
|
|
231
|
+
})(window), (function(f) {
|
|
232
232
|
if (f && f.CanvasRenderingContext2D) {
|
|
233
233
|
var C = f.CanvasRenderingContext2D, q = f.Path2D;
|
|
234
234
|
C && !C.prototype.roundRect && (C.prototype.roundRect = D), q && !q.prototype.roundRect && (q.prototype.roundRect = D);
|
|
235
235
|
}
|
|
236
|
-
}(window);
|
|
237
|
-
}()), path2dPolyfill_min;
|
|
236
|
+
})(window);
|
|
237
|
+
})()), path2dPolyfill_min;
|
|
238
238
|
}
|
|
239
239
|
(function(module, exports) {
|
|
240
240
|
(function(S, s) {
|
|
@@ -245,7 +245,7 @@ function requirePath2dPolyfill_min() {
|
|
|
245
245
|
Object.defineProperty(s, "__esModule", { value: !0 }), s.VerbosityLevel = s.Util = s.UnknownErrorException = s.UnexpectedResponseException = s.TextRenderingMode = s.RenderingIntentFlag = s.PromiseCapability = s.PermissionFlag = s.PasswordResponses = s.PasswordException = s.PageActionEventType = s.OPS = s.MissingPDFException = s.MAX_IMAGE_SIZE_TO_CACHE = s.LINE_FACTOR = s.LINE_DESCENT_FACTOR = s.InvalidPDFException = s.ImageKind = s.IDENTITY_MATRIX = s.FormatError = s.FeatureTest = s.FONT_IDENTITY_MATRIX = s.DocumentActionEventType = s.CMapCompressionType = s.BaseException = s.BASELINE_FACTOR = s.AnnotationType = s.AnnotationStateModelType = s.AnnotationReviewState = s.AnnotationReplyType = s.AnnotationMode = s.AnnotationMarkedState = s.AnnotationFlag = s.AnnotationFieldFlag = s.AnnotationEditorType = s.AnnotationEditorPrefix = s.AnnotationEditorParamsType = s.AnnotationBorderStyleType = s.AnnotationActionEventType = s.AbortException = void 0, s.assert = function(M, P) {
|
|
246
246
|
M || y(P);
|
|
247
247
|
}, s.bytesToString = function(M) {
|
|
248
|
-
typeof M == "object" &&
|
|
248
|
+
typeof M == "object" && M?.length !== void 0 || y("Invalid argument for bytesToString");
|
|
249
249
|
const P = M.length, U = 8192;
|
|
250
250
|
if (P < U)
|
|
251
251
|
return String.fromCharCode.apply(null, M);
|
|
@@ -263,7 +263,7 @@ function requirePath2dPolyfill_min() {
|
|
|
263
263
|
if (U && typeof M == "string") {
|
|
264
264
|
if (U.addDefaultProtocol && M.startsWith("www.")) {
|
|
265
265
|
const E = M.match(/\./g);
|
|
266
|
-
|
|
266
|
+
E?.length >= 2 && (M = `http://${M}`);
|
|
267
267
|
}
|
|
268
268
|
if (U.tryConvertEncoding)
|
|
269
269
|
try {
|
|
@@ -272,8 +272,8 @@ function requirePath2dPolyfill_min() {
|
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
const _ = P ? new URL(M, P) : new URL(M);
|
|
275
|
-
if (function(E) {
|
|
276
|
-
switch (E
|
|
275
|
+
if ((function(E) {
|
|
276
|
+
switch (E?.protocol) {
|
|
277
277
|
case "http:":
|
|
278
278
|
case "https:":
|
|
279
279
|
case "ftp:":
|
|
@@ -283,7 +283,7 @@ function requirePath2dPolyfill_min() {
|
|
|
283
283
|
default:
|
|
284
284
|
return !1;
|
|
285
285
|
}
|
|
286
|
-
}(_))
|
|
286
|
+
})(_))
|
|
287
287
|
return _;
|
|
288
288
|
} catch {
|
|
289
289
|
}
|
|
@@ -296,7 +296,7 @@ function requirePath2dPolyfill_min() {
|
|
|
296
296
|
}, s.info = function(M) {
|
|
297
297
|
F >= v.INFOS && console.log(`Info: ${M}`);
|
|
298
298
|
}, s.isArrayBuffer = function(M) {
|
|
299
|
-
return typeof M == "object" &&
|
|
299
|
+
return typeof M == "object" && M?.byteLength !== void 0;
|
|
300
300
|
}, s.isArrayEqual = function(M, P) {
|
|
301
301
|
if (M.length !== P.length)
|
|
302
302
|
return !1;
|
|
@@ -350,12 +350,12 @@ function requirePath2dPolyfill_min() {
|
|
|
350
350
|
let _ = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
|
|
351
351
|
return Object.defineProperty(M, P, { value: U, enumerable: !_, configurable: !0, writable: !1 }), U;
|
|
352
352
|
}
|
|
353
|
-
const f = function() {
|
|
353
|
+
const f = (function() {
|
|
354
354
|
function M(P, U) {
|
|
355
355
|
this.constructor === M && y("Cannot initialize BaseException."), this.message = P, this.name = U;
|
|
356
356
|
}
|
|
357
357
|
return M.prototype = new Error(), M.constructor = M, M;
|
|
358
|
-
}();
|
|
358
|
+
})();
|
|
359
359
|
s.BaseException = f, s.PasswordException = class extends f {
|
|
360
360
|
constructor(M, P) {
|
|
361
361
|
super(M, "PasswordException"), this.code = P;
|
|
@@ -394,19 +394,19 @@ function requirePath2dPolyfill_min() {
|
|
|
394
394
|
}
|
|
395
395
|
s.FeatureTest = class {
|
|
396
396
|
static get isLittleEndian() {
|
|
397
|
-
return D(this, "isLittleEndian", function() {
|
|
397
|
+
return D(this, "isLittleEndian", (function() {
|
|
398
398
|
const M = new Uint8Array(4);
|
|
399
399
|
return M[0] = 1, new Uint32Array(M.buffer, 0, 1)[0] === 1;
|
|
400
|
-
}());
|
|
400
|
+
})());
|
|
401
401
|
}
|
|
402
402
|
static get isEvalSupported() {
|
|
403
|
-
return D(this, "isEvalSupported", function() {
|
|
403
|
+
return D(this, "isEvalSupported", (function() {
|
|
404
404
|
try {
|
|
405
405
|
return new Function(""), !0;
|
|
406
406
|
} catch {
|
|
407
407
|
return !1;
|
|
408
408
|
}
|
|
409
|
-
}());
|
|
409
|
+
})());
|
|
410
410
|
}
|
|
411
411
|
static get isOffscreenCanvasSupported() {
|
|
412
412
|
return D(this, "isOffscreenCanvasSupported", typeof OffscreenCanvas < "u");
|
|
@@ -498,18 +498,18 @@ function requirePath2dPolyfill_min() {
|
|
|
498
498
|
var u = r(3);
|
|
499
499
|
(function() {
|
|
500
500
|
!globalThis.DOMMatrix && u.isNodeJS && (globalThis.DOMMatrix = require$$6.DOMMatrix);
|
|
501
|
-
})(), function() {
|
|
501
|
+
})(), (function() {
|
|
502
502
|
if (globalThis.Path2D || !u.isNodeJS)
|
|
503
503
|
return;
|
|
504
504
|
const { CanvasRenderingContext2D: o } = require$$6, { polyfillPath2D: v } = requirePath2dPolyfill_min();
|
|
505
505
|
globalThis.CanvasRenderingContext2D = o, v(globalThis);
|
|
506
|
-
}(), function() {
|
|
506
|
+
})(), (function() {
|
|
507
507
|
Array.prototype.at || r(4);
|
|
508
|
-
}(), function() {
|
|
508
|
+
})(), (function() {
|
|
509
509
|
Uint8Array.prototype.at || r(78);
|
|
510
|
-
}(), function() {
|
|
510
|
+
})(), (function() {
|
|
511
511
|
globalThis.structuredClone || r(90);
|
|
512
|
-
}();
|
|
512
|
+
})();
|
|
513
513
|
}, (S, s) => {
|
|
514
514
|
Object.defineProperty(s, "__esModule", { value: !0 }), s.isNodeJS = void 0;
|
|
515
515
|
const r = !(typeof process != "object" || process + "" != "[object process]" || process.versions.nw || process.versions.electron && process.type && process.type !== "browser");
|
|
@@ -542,9 +542,9 @@ function requirePath2dPolyfill_min() {
|
|
|
542
542
|
var s = function(r) {
|
|
543
543
|
return r && r.Math == Math && r;
|
|
544
544
|
};
|
|
545
|
-
S.exports = s(typeof globalThis == "object" && globalThis) || s(typeof window == "object" && window) || s(typeof self == "object" && self) || s(typeof commonjsGlobal == "object" && commonjsGlobal) || /* @__PURE__ */ function() {
|
|
545
|
+
S.exports = s(typeof globalThis == "object" && globalThis) || s(typeof window == "object" && window) || s(typeof self == "object" && self) || s(typeof commonjsGlobal == "object" && commonjsGlobal) || /* @__PURE__ */ (function() {
|
|
546
546
|
return this;
|
|
547
|
-
}() || this || Function("return this")();
|
|
547
|
+
})() || this || Function("return this")();
|
|
548
548
|
}, (S, s, r) => {
|
|
549
549
|
var u = r(9), o = r(11), v = r(13), F = r(14), g = r(15), y = r(21), D = r(42), f = r(45), C = Object.getOwnPropertyDescriptor;
|
|
550
550
|
s.f = u ? C : function(q, R) {
|
|
@@ -1004,10 +1004,10 @@ function requirePath2dPolyfill_min() {
|
|
|
1004
1004
|
u = new ActiveXObject("htmlfile");
|
|
1005
1005
|
} catch {
|
|
1006
1006
|
}
|
|
1007
|
-
H = typeof document < "u" ? document.domain && u ? J(u) : function() {
|
|
1007
|
+
H = typeof document < "u" ? document.domain && u ? J(u) : (function() {
|
|
1008
1008
|
var P, U = D("iframe"), _ = "java" + q + ":";
|
|
1009
1009
|
return U.style.display = "none", y.appendChild(U), U.src = String(_), (P = U.contentWindow.document).open(), P.write(X("document.F=Object")), P.close(), P.F;
|
|
1010
|
-
}() : J(u);
|
|
1010
|
+
})() : J(u);
|
|
1011
1011
|
for (var M = F.length; M--; )
|
|
1012
1012
|
delete H[C][F[M]];
|
|
1013
1013
|
return H();
|
|
@@ -1133,17 +1133,17 @@ function requirePath2dPolyfill_min() {
|
|
|
1133
1133
|
}, (S) => {
|
|
1134
1134
|
S.exports = typeof ArrayBuffer < "u" && typeof DataView < "u";
|
|
1135
1135
|
}, (S, s, r) => {
|
|
1136
|
-
var u = r(83), o = r(24), v = r(18), F = r(37)("toStringTag"), g = Object, y = v(/* @__PURE__ */ function() {
|
|
1136
|
+
var u = r(83), o = r(24), v = r(18), F = r(37)("toStringTag"), g = Object, y = v(/* @__PURE__ */ (function() {
|
|
1137
1137
|
return arguments;
|
|
1138
|
-
}()) == "Arguments";
|
|
1138
|
+
})()) == "Arguments";
|
|
1139
1139
|
S.exports = u ? v : function(D) {
|
|
1140
1140
|
var f, C, q;
|
|
1141
|
-
return D === void 0 ? "Undefined" : D === null ? "Null" : typeof (C = function(R, $) {
|
|
1141
|
+
return D === void 0 ? "Undefined" : D === null ? "Null" : typeof (C = (function(R, $) {
|
|
1142
1142
|
try {
|
|
1143
1143
|
return R[$];
|
|
1144
1144
|
} catch {
|
|
1145
1145
|
}
|
|
1146
|
-
}(f = g(D), F)) == "string" ? C : y ? v(f) : (q = v(f)) == "Object" && o(f.callee) ? "Arguments" : q;
|
|
1146
|
+
})(f = g(D), F)) == "string" ? C : y ? v(f) : (q = v(f)) == "Object" && o(f.callee) ? "Arguments" : q;
|
|
1147
1147
|
};
|
|
1148
1148
|
}, (S, s, r) => {
|
|
1149
1149
|
var u = {};
|
|
@@ -1171,7 +1171,7 @@ function requirePath2dPolyfill_min() {
|
|
|
1171
1171
|
});
|
|
1172
1172
|
}, (S, s, r) => {
|
|
1173
1173
|
var u = r(88), o = r(50), v = r(89);
|
|
1174
|
-
S.exports = Object.setPrototypeOf || ("__proto__" in {} ? function() {
|
|
1174
|
+
S.exports = Object.setPrototypeOf || ("__proto__" in {} ? (function() {
|
|
1175
1175
|
var F, g = !1, y = {};
|
|
1176
1176
|
try {
|
|
1177
1177
|
(F = u(Object.prototype, "__proto__", "set"))(y, []), g = y instanceof Array;
|
|
@@ -1180,7 +1180,7 @@ function requirePath2dPolyfill_min() {
|
|
|
1180
1180
|
return function(D, f) {
|
|
1181
1181
|
return o(D), v(f), g ? F(D, f) : D.__proto__ = f, D;
|
|
1182
1182
|
};
|
|
1183
|
-
}() : void 0);
|
|
1183
|
+
})() : void 0);
|
|
1184
1184
|
}, (S, s, r) => {
|
|
1185
1185
|
var u = r(17), o = r(34);
|
|
1186
1186
|
S.exports = function(v, F, g) {
|
|
@@ -1377,13 +1377,13 @@ function requirePath2dPolyfill_min() {
|
|
|
1377
1377
|
}, (S, s, r) => {
|
|
1378
1378
|
var u = r(18), o = r(15), v = r(61).f, F = r(105), g = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
|
|
1379
1379
|
S.exports.f = function(y) {
|
|
1380
|
-
return g && u(y) == "Window" ? function(D) {
|
|
1380
|
+
return g && u(y) == "Window" ? (function(D) {
|
|
1381
1381
|
try {
|
|
1382
1382
|
return v(D);
|
|
1383
1383
|
} catch {
|
|
1384
1384
|
return F(g);
|
|
1385
1385
|
}
|
|
1386
|
-
}(y) : v(o(y));
|
|
1386
|
+
})(y) : v(o(y));
|
|
1387
1387
|
};
|
|
1388
1388
|
}, (S, s, r) => {
|
|
1389
1389
|
var u = r(64), o = r(67), v = r(106), F = Array, g = Math.max;
|
|
@@ -1747,7 +1747,7 @@ function requirePath2dPolyfill_min() {
|
|
|
1747
1747
|
Ut || qt(Dt);
|
|
1748
1748
|
break;
|
|
1749
1749
|
case "FileList":
|
|
1750
|
-
if (fe = function() {
|
|
1750
|
+
if (fe = (function() {
|
|
1751
1751
|
var Vt;
|
|
1752
1752
|
try {
|
|
1753
1753
|
Vt = new F.DataTransfer();
|
|
@@ -1758,7 +1758,7 @@ function requirePath2dPolyfill_min() {
|
|
|
1758
1758
|
}
|
|
1759
1759
|
}
|
|
1760
1760
|
return Vt && Vt.items && Vt.files ? Vt : null;
|
|
1761
|
-
}()) {
|
|
1761
|
+
})()) {
|
|
1762
1762
|
for (te = 0, Jt = E(St); te < Jt; te++)
|
|
1763
1763
|
fe.items.add($t(St[te], Xt));
|
|
1764
1764
|
Ut = fe.files;
|
|
@@ -1891,7 +1891,7 @@ function requirePath2dPolyfill_min() {
|
|
|
1891
1891
|
};
|
|
1892
1892
|
v({ global: !0, enumerable: !0, sham: !ct, forced: zt }, { structuredClone: function(St) {
|
|
1893
1893
|
var Xt, Kt = Y(arguments.length, 1) > 1 && !R(arguments[1]) ? H(arguments[1]) : void 0, Yt = Kt ? Kt.transfer : void 0;
|
|
1894
|
-
return Yt !== void 0 && function(Ut, fe) {
|
|
1894
|
+
return Yt !== void 0 && (function(Ut, fe) {
|
|
1895
1895
|
if (!$(Ut))
|
|
1896
1896
|
throw W("Transfer option cannot be converted to a sequence");
|
|
1897
1897
|
var te = [];
|
|
@@ -1937,7 +1937,7 @@ function requirePath2dPolyfill_min() {
|
|
|
1937
1937
|
throw new gt("This object cannot be transferred: " + oe, Pt);
|
|
1938
1938
|
At(fe, Jt, jt);
|
|
1939
1939
|
}
|
|
1940
|
-
}(Yt, Xt = new ot()), $t(St, Xt);
|
|
1940
|
+
})(Yt, Xt = new ot()), $t(St, Xt);
|
|
1941
1941
|
} });
|
|
1942
1942
|
}, (S, s, r) => {
|
|
1943
1943
|
var u = r(17), o = r(10), v = r(24), F = r(82), g = r(27), y = r(54), D = function() {
|
|
@@ -2100,7 +2100,7 @@ function requirePath2dPolyfill_min() {
|
|
|
2100
2100
|
return S;
|
|
2101
2101
|
if (typeof S == "string")
|
|
2102
2102
|
return (0, _util.stringToBytes)(S);
|
|
2103
|
-
if (typeof S == "object" && !isNaN(S
|
|
2103
|
+
if (typeof S == "object" && !isNaN(S?.length) || (0, _util.isArrayBuffer)(S))
|
|
2104
2104
|
return new Uint8Array(S);
|
|
2105
2105
|
throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.");
|
|
2106
2106
|
}
|
|
@@ -2962,7 +2962,7 @@ function requirePath2dPolyfill_min() {
|
|
|
2962
2962
|
}
|
|
2963
2963
|
has(s) {
|
|
2964
2964
|
const r = T(this, x)[s];
|
|
2965
|
-
return
|
|
2965
|
+
return r?.capability.settled || !1;
|
|
2966
2966
|
}
|
|
2967
2967
|
resolve(s) {
|
|
2968
2968
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
@@ -2997,7 +2997,7 @@ function requirePath2dPolyfill_min() {
|
|
|
2997
2997
|
if (!s)
|
|
2998
2998
|
return !1;
|
|
2999
2999
|
const { annotationCanvasMap: r } = T(this, i);
|
|
3000
|
-
return s.form || s.canvas &&
|
|
3000
|
+
return s.form || s.canvas && r?.size > 0;
|
|
3001
3001
|
}
|
|
3002
3002
|
}
|
|
3003
3003
|
i = /* @__PURE__ */ new WeakMap(), exports.RenderTask = RenderTask;
|
|
@@ -4289,13 +4289,13 @@ function requirePath2dPolyfill_min() {
|
|
|
4289
4289
|
const Y = this._document.createElement("span");
|
|
4290
4290
|
Y.textContent = "Hi", Y.style.fontFamily = E, _.append(Y);
|
|
4291
4291
|
}
|
|
4292
|
-
this._document.body.append(_), function E(Y, rt) {
|
|
4292
|
+
this._document.body.append(_), (function E(Y, rt) {
|
|
4293
4293
|
if (++X > 30) {
|
|
4294
4294
|
(0, v.warn)("Load test font never loaded."), rt();
|
|
4295
4295
|
return;
|
|
4296
4296
|
}
|
|
4297
4297
|
$.font = "30px " + Y, $.fillText(".", 0, 20), $.getImageData(0, 0, 1, 1).data[3] > 0 ? rt() : setTimeout(E.bind(null, Y, rt));
|
|
4298
|
-
}(J, () => {
|
|
4298
|
+
})(J, () => {
|
|
4299
4299
|
_.remove(), y.complete();
|
|
4300
4300
|
});
|
|
4301
4301
|
}
|
|
@@ -4534,7 +4534,7 @@ function requirePath2dPolyfill_min() {
|
|
|
4534
4534
|
}
|
|
4535
4535
|
function rt(B, j, z, G) {
|
|
4536
4536
|
const N = G[0], W = G[1], it = G[2] - N, at = G[3] - W;
|
|
4537
|
-
it !== 0 && at !== 0 && (function(lt, dt, ft, mt, gt, ot, kt, Ft, At, O, K) {
|
|
4537
|
+
it !== 0 && at !== 0 && ((function(lt, dt, ft, mt, gt, ot, kt, Ft, At, O, K) {
|
|
4538
4538
|
const tt = !!ot, st = tt ? ot[0] : 0, ht = tt ? ot[1] : 0, _t = tt ? ot[2] : 0;
|
|
4539
4539
|
let xt;
|
|
4540
4540
|
xt = gt === "Luminosity" ? Y : E;
|
|
@@ -4543,7 +4543,7 @@ function requirePath2dPolyfill_min() {
|
|
|
4543
4543
|
const Pt = Math.min(wt, mt - Lt), Rt = lt.getImageData(Ft - O, Lt + (At - K), ft, Pt), Et = dt.getImageData(Ft, Lt + At, ft, Pt);
|
|
4544
4544
|
tt && _(Rt.data, st, ht, _t), xt(Rt.data, Et.data, kt), dt.putImageData(Et, Ft, Lt + At);
|
|
4545
4545
|
}
|
|
4546
|
-
}(j.context, z, it, at, j.subtype, j.backdrop, j.transferMap, N, W, j.offsetX, j.offsetY), B.save(), B.globalAlpha = 1, B.globalCompositeOperation = "source-over", B.setTransform(1, 0, 0, 1, 0, 0), B.drawImage(z.canvas, 0, 0), B.restore());
|
|
4546
|
+
})(j.context, z, it, at, j.subtype, j.backdrop, j.transferMap, N, W, j.offsetX, j.offsetY), B.save(), B.globalAlpha = 1, B.globalCompositeOperation = "source-over", B.setTransform(1, 0, 0, 1, 0, 0), B.drawImage(z.canvas, 0, 0), B.restore());
|
|
4547
4547
|
}
|
|
4548
4548
|
function Z(B, j) {
|
|
4549
4549
|
const z = g.Util.singularValueDecompose2dScale(B);
|
|
@@ -4713,7 +4713,7 @@ function requirePath2dPolyfill_min() {
|
|
|
4713
4713
|
const B = this.ctx.canvas.width, j = this.ctx.canvas.height, z = "smaskGroupAt" + this.groupLevel, G = this.cachedCanvases.getCanvas(z, B, j);
|
|
4714
4714
|
this.suspendedCtx = this.ctx, this.ctx = G.context;
|
|
4715
4715
|
const N = this.ctx;
|
|
4716
|
-
N.setTransform(...(0, y.getCurrentTransform)(this.suspendedCtx)), P(this.suspendedCtx, N), function(W, it) {
|
|
4716
|
+
N.setTransform(...(0, y.getCurrentTransform)(this.suspendedCtx)), P(this.suspendedCtx, N), (function(W, it) {
|
|
4717
4717
|
if (W._removeMirroring)
|
|
4718
4718
|
throw new Error("Context is already forwarding operations.");
|
|
4719
4719
|
W.__originalSave = W.save, W.__originalRestore = W.restore, W.__originalRotate = W.rotate, W.__originalScale = W.scale, W.__originalTranslate = W.translate, W.__originalTransform = W.transform, W.__originalSetTransform = W.setTransform, W.__originalResetTransform = W.resetTransform, W.__originalClip = W.clip, W.__originalMoveTo = W.moveTo, W.__originalLineTo = W.lineTo, W.__originalBezierCurveTo = W.bezierCurveTo, W.__originalRect = W.rect, W.__originalClosePath = W.closePath, W.__originalBeginPath = W.beginPath, W._removeMirroring = () => {
|
|
@@ -4749,7 +4749,7 @@ function requirePath2dPolyfill_min() {
|
|
|
4749
4749
|
}, W.beginPath = function() {
|
|
4750
4750
|
it.beginPath(), this.__originalBeginPath();
|
|
4751
4751
|
};
|
|
4752
|
-
}(N, this.suspendedCtx), this.setGState([["BM", "source-over"], ["ca", 1], ["CA", 1]]);
|
|
4752
|
+
})(N, this.suspendedCtx), this.setGState([["BM", "source-over"], ["ca", 1], ["CA", 1]]);
|
|
4753
4753
|
}
|
|
4754
4754
|
endSMaskMode() {
|
|
4755
4755
|
if (!this.inSMaskMode)
|
|
@@ -5126,7 +5126,7 @@ function requirePath2dPolyfill_min() {
|
|
|
5126
5126
|
const j = B.count;
|
|
5127
5127
|
(B = this.getObject(B.data, B)).count = j;
|
|
5128
5128
|
const z = this.ctx, G = this.processingType3;
|
|
5129
|
-
if (G && (G.compiled === void 0 && (G.compiled = function(it) {
|
|
5129
|
+
if (G && (G.compiled === void 0 && (G.compiled = (function(it) {
|
|
5130
5130
|
const { width: at, height: lt } = it;
|
|
5131
5131
|
if (at > 1e3 || lt > 1e3)
|
|
5132
5132
|
return null;
|
|
@@ -5178,7 +5178,7 @@ function requirePath2dPolyfill_min() {
|
|
|
5178
5178
|
return At = null, kt = null, function(ht) {
|
|
5179
5179
|
ht.save(), ht.scale(1 / at, -1 / lt), ht.translate(0, -lt), ht.fill(st), ht.beginPath(), ht.restore();
|
|
5180
5180
|
};
|
|
5181
|
-
}(B)), G.compiled)) {
|
|
5181
|
+
})(B)), G.compiled)) {
|
|
5182
5182
|
G.compiled(z);
|
|
5183
5183
|
return;
|
|
5184
5184
|
}
|
|
@@ -5563,7 +5563,7 @@ function requirePath2dPolyfill_min() {
|
|
|
5563
5563
|
case u.ImageKind.GRAYSCALE_1BPP:
|
|
5564
5564
|
return o(v);
|
|
5565
5565
|
case u.ImageKind.RGB_24BPP:
|
|
5566
|
-
return function(F) {
|
|
5566
|
+
return (function(F) {
|
|
5567
5567
|
let { src: g, srcPos: y = 0, dest: D, destPos: f = 0, width: C, height: q } = F, R = 0;
|
|
5568
5568
|
const $ = g.length >> 2, X = new Uint32Array(g.buffer, y, $);
|
|
5569
5569
|
if (u.FeatureTest.isLittleEndian) {
|
|
@@ -5582,7 +5582,7 @@ function requirePath2dPolyfill_min() {
|
|
|
5582
5582
|
D[f++] = g[J] << 24 | g[J + 1] << 16 | g[J + 2] << 8 | 255;
|
|
5583
5583
|
}
|
|
5584
5584
|
return { srcPos: y, destPos: f };
|
|
5585
|
-
}(v);
|
|
5585
|
+
})(v);
|
|
5586
5586
|
}
|
|
5587
5587
|
return null;
|
|
5588
5588
|
}, s.grayToRGBA = function(v, F) {
|
|
@@ -5956,7 +5956,7 @@ function requirePath2dPolyfill_min() {
|
|
|
5956
5956
|
s.PDFDataTransportStream = class {
|
|
5957
5957
|
constructor(g, y) {
|
|
5958
5958
|
let { length: D, initialData: f, progressiveDone: C = !1, contentDispositionFilename: q = null, disableRange: R = !1, disableStream: $ = !1 } = g;
|
|
5959
|
-
if ((0, u.assert)(y, 'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'), this._queuedChunks = [], this._progressiveDone = C, this._contentDispositionFilename = q,
|
|
5959
|
+
if ((0, u.assert)(y, 'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'), this._queuedChunks = [], this._progressiveDone = C, this._contentDispositionFilename = q, f?.length > 0) {
|
|
5960
5960
|
const X = f instanceof Uint8Array && f.byteLength === f.buffer.byteLength ? f.buffer : new Uint8Array(f).buffer;
|
|
5961
5961
|
this._queuedChunks.push(X);
|
|
5962
5962
|
}
|
|
@@ -6108,7 +6108,7 @@ function requirePath2dPolyfill_min() {
|
|
|
6108
6108
|
class r {
|
|
6109
6109
|
static textContent(o) {
|
|
6110
6110
|
const v = [], F = { items: v, styles: /* @__PURE__ */ Object.create(null) };
|
|
6111
|
-
return function g(y) {
|
|
6111
|
+
return (function g(y) {
|
|
6112
6112
|
var D;
|
|
6113
6113
|
if (!y)
|
|
6114
6114
|
return;
|
|
@@ -6124,7 +6124,7 @@ function requirePath2dPolyfill_min() {
|
|
|
6124
6124
|
if (f !== null && v.push({ str: f }), y.children)
|
|
6125
6125
|
for (const q of y.children)
|
|
6126
6126
|
g(q);
|
|
6127
|
-
}(o), F;
|
|
6127
|
+
})(o), F;
|
|
6128
6128
|
}
|
|
6129
6129
|
static shouldBuildText(o) {
|
|
6130
6130
|
return !(o === "textarea" || o === "input" || o === "option" || o === "select");
|
|
@@ -6168,10 +6168,10 @@ function requirePath2dPolyfill_min() {
|
|
|
6168
6168
|
const v = require$$6, F = require$$6, g = require$$6, y = require$$6, D = /^file:\/\/\/[a-zA-Z]:\//;
|
|
6169
6169
|
s.PDFNodeStream = class {
|
|
6170
6170
|
constructor(H) {
|
|
6171
|
-
this.source = H, this.url = function(M) {
|
|
6171
|
+
this.source = H, this.url = (function(M) {
|
|
6172
6172
|
const P = y.parse(M);
|
|
6173
6173
|
return P.protocol === "file:" || P.host ? P : /^[a-z]:[/\\]/i.test(M) ? y.parse(`file:///${M}`) : (P.host || (P.protocol = "file:"), P);
|
|
6174
|
-
}(H.url), this.isHttp = this.url.protocol === "http:" || this.url.protocol === "https:", this.isFsUrl = this.url.protocol === "file:", this.httpHeaders = this.isHttp && H.httpHeaders || {}, this._fullRequestReader = null, this._rangeRequestReaders = [];
|
|
6174
|
+
})(H.url), this.isHttp = this.url.protocol === "http:" || this.url.protocol === "https:", this.isFsUrl = this.url.protocol === "file:", this.httpHeaders = this.isHttp && H.httpHeaders || {}, this._fullRequestReader = null, this._rangeRequestReaders = [];
|
|
6175
6175
|
}
|
|
6176
6176
|
get _progressiveDataLength() {
|
|
6177
6177
|
var H;
|
|
@@ -6363,7 +6363,7 @@ function requirePath2dPolyfill_min() {
|
|
|
6363
6363
|
let R = f(F);
|
|
6364
6364
|
return R = unescape(R), R = C(R), R = q(R), D(R);
|
|
6365
6365
|
}
|
|
6366
|
-
if (F = function(R) {
|
|
6366
|
+
if (F = (function(R) {
|
|
6367
6367
|
const $ = [];
|
|
6368
6368
|
let X;
|
|
6369
6369
|
const J = g("filename\\*((?!0\\d)\\d+)(\\*?)", "ig");
|
|
@@ -6381,7 +6381,7 @@ function requirePath2dPolyfill_min() {
|
|
|
6381
6381
|
U = f(U), P && (U = unescape(U), M === 0 && (U = C(U))), H.push(U);
|
|
6382
6382
|
}
|
|
6383
6383
|
return H.join("");
|
|
6384
|
-
}(o), F)
|
|
6384
|
+
})(o), F)
|
|
6385
6385
|
return D(q(F));
|
|
6386
6386
|
if (F = g("filename", "i").exec(o), F) {
|
|
6387
6387
|
F = F[1];
|
|
@@ -6488,10 +6488,10 @@ function requirePath2dPolyfill_min() {
|
|
|
6488
6488
|
(X = C.onError) === null || X === void 0 || X.call(C, q.status);
|
|
6489
6489
|
return;
|
|
6490
6490
|
}
|
|
6491
|
-
const J = function(M) {
|
|
6491
|
+
const J = (function(M) {
|
|
6492
6492
|
const P = M.response;
|
|
6493
6493
|
return typeof P != "string" ? P : (0, u.stringToBytes)(P).buffer;
|
|
6494
|
-
}(q);
|
|
6494
|
+
})(q);
|
|
6495
6495
|
if ($ === 206) {
|
|
6496
6496
|
const M = q.getResponseHeader("Content-Range"), P = /bytes (\d+)-(\d+)\/(\d+)/.exec(M);
|
|
6497
6497
|
C.onDone({ begin: parseInt(P[1], 10), chunk: J });
|
|
@@ -6786,7 +6786,7 @@ function requirePath2dPolyfill_min() {
|
|
|
6786
6786
|
let M = Math.atan2(H[1], H[0]);
|
|
6787
6787
|
const P = $[R.fontName];
|
|
6788
6788
|
P.vertical && (M += Math.PI / 2);
|
|
6789
|
-
const U = Math.hypot(H[2], H[3]), _ = U * function(Q, ct) {
|
|
6789
|
+
const U = Math.hypot(H[2], H[3]), _ = U * (function(Q, ct) {
|
|
6790
6790
|
const vt = g.get(Q);
|
|
6791
6791
|
if (vt)
|
|
6792
6792
|
return vt;
|
|
@@ -6817,7 +6817,7 @@ function requirePath2dPolyfill_min() {
|
|
|
6817
6817
|
return g.set(Q, G), G;
|
|
6818
6818
|
}
|
|
6819
6819
|
return g.set(Q, F), F;
|
|
6820
|
-
}(P.fontFamily, q._isOffscreenCanvasSupported);
|
|
6820
|
+
})(P.fontFamily, q._isOffscreenCanvasSupported);
|
|
6821
6821
|
let E, Y;
|
|
6822
6822
|
M === 0 ? (E = H[4], Y = H[5] - _) : (E = H[4] + _ * Math.sin(M), Y = H[5] - _ * Math.cos(M));
|
|
6823
6823
|
const rt = "calc(var(--scale-factor)*", Z = X.style;
|
|
@@ -6897,7 +6897,7 @@ function requirePath2dPolyfill_min() {
|
|
|
6897
6897
|
}
|
|
6898
6898
|
}
|
|
6899
6899
|
R.promise.then(() => {
|
|
6900
|
-
$ = null, function(X) {
|
|
6900
|
+
$ = null, (function(X) {
|
|
6901
6901
|
if (X._canceled)
|
|
6902
6902
|
return;
|
|
6903
6903
|
const J = X._textDivs, H = X._capability;
|
|
@@ -6909,7 +6909,7 @@ function requirePath2dPolyfill_min() {
|
|
|
6909
6909
|
X._layoutText(M);
|
|
6910
6910
|
H.resolve();
|
|
6911
6911
|
}
|
|
6912
|
-
}(this);
|
|
6912
|
+
})(this);
|
|
6913
6913
|
}, this._capability.reject);
|
|
6914
6914
|
}
|
|
6915
6915
|
}
|
|
@@ -7750,7 +7750,7 @@ function requirePath2dPolyfill_min() {
|
|
|
7750
7750
|
const tt = this._commonActions;
|
|
7751
7751
|
for (const st of Object.keys(K.detail)) {
|
|
7752
7752
|
const ht = O[st] || tt[st];
|
|
7753
|
-
ht
|
|
7753
|
+
ht?.(K);
|
|
7754
7754
|
}
|
|
7755
7755
|
}
|
|
7756
7756
|
_setDefaultPropertiesFromJS(O) {
|
|
@@ -7850,7 +7850,7 @@ function requirePath2dPolyfill_min() {
|
|
|
7850
7850
|
_bindResetFormAction(O, K) {
|
|
7851
7851
|
const tt = O.onclick;
|
|
7852
7852
|
tt || (O.href = this.linkService.getAnchorUrl("")), nt(this, u, o).call(this), this._fieldObjects ? O.onclick = () => {
|
|
7853
|
-
tt
|
|
7853
|
+
tt?.();
|
|
7854
7854
|
const { fields: st, refs: ht, include: _t } = K, xt = [];
|
|
7855
7855
|
if (st.length !== 0 || ht.length !== 0) {
|
|
7856
7856
|
const Rt = new Set(ht);
|
|
@@ -8506,7 +8506,7 @@ function requirePath2dPolyfill_min() {
|
|
|
8506
8506
|
let Ft = kt;
|
|
8507
8507
|
g = /* @__PURE__ */ new WeakSet(), y = function(At, O, K, tt) {
|
|
8508
8508
|
const st = At.firstChild || At;
|
|
8509
|
-
st.id = `${q.AnnotationPrefix}${O}`, K.append(At), tt
|
|
8509
|
+
st.id = `${q.AnnotationPrefix}${O}`, K.append(At), tt?.moveElementInDOM(K, At, st, !1);
|
|
8510
8510
|
}, D = /* @__PURE__ */ new WeakSet(), f = function(At, O) {
|
|
8511
8511
|
if (O) {
|
|
8512
8512
|
for (const [K, tt] of O) {
|
|
@@ -8723,7 +8723,7 @@ function requirePath2dPolyfill_min() {
|
|
|
8723
8723
|
Z += rt[ct >> 2] + rt[(3 & ct) << 4 | vt >> 4] + rt[V + 1 < Q ? (15 & vt) << 2 | pt >> 6 : 64] + rt[V + 2 < Q ? 63 & pt : 64];
|
|
8724
8724
|
}
|
|
8725
8725
|
return Z;
|
|
8726
|
-
}, J = function() {
|
|
8726
|
+
}, J = (function() {
|
|
8727
8727
|
const _ = new Uint8Array([137, 80, 78, 71, 13, 10, 26, 10]), E = new Int32Array(256);
|
|
8728
8728
|
for (let V = 0; V < 256; V++) {
|
|
8729
8729
|
let Q = V;
|
|
@@ -8735,14 +8735,14 @@ function requirePath2dPolyfill_min() {
|
|
|
8735
8735
|
let pt = vt;
|
|
8736
8736
|
const Tt = Q.length;
|
|
8737
8737
|
ct[pt] = Tt >> 24 & 255, ct[pt + 1] = Tt >> 16 & 255, ct[pt + 2] = Tt >> 8 & 255, ct[pt + 3] = 255 & Tt, pt += 4, ct[pt] = 255 & V.charCodeAt(0), ct[pt + 1] = 255 & V.charCodeAt(1), ct[pt + 2] = 255 & V.charCodeAt(2), ct[pt + 3] = 255 & V.charCodeAt(3), pt += 4, ct.set(Q, pt), pt += Q.length;
|
|
8738
|
-
const B = function(j, z, G) {
|
|
8738
|
+
const B = (function(j, z, G) {
|
|
8739
8739
|
let N = -1;
|
|
8740
8740
|
for (let W = z; W < G; W++) {
|
|
8741
8741
|
const it = 255 & (N ^ j[W]);
|
|
8742
8742
|
N = N >>> 8 ^ E[it];
|
|
8743
8743
|
}
|
|
8744
8744
|
return -1 ^ N;
|
|
8745
|
-
}(ct, vt + 4, pt);
|
|
8745
|
+
})(ct, vt + 4, pt);
|
|
8746
8746
|
ct[pt] = B >> 24 & 255, ct[pt + 1] = B >> 16 & 255, ct[pt + 2] = B >> 8 & 255, ct[pt + 3] = 255 & B;
|
|
8747
8747
|
}
|
|
8748
8748
|
function rt(V) {
|
|
@@ -8754,12 +8754,12 @@ function requirePath2dPolyfill_min() {
|
|
|
8754
8754
|
for (; Q > ct; )
|
|
8755
8755
|
pt[Tt++] = 0, pt[Tt++] = 255, pt[Tt++] = 255, pt[Tt++] = 0, pt[Tt++] = 0, pt.set(V.subarray(B, B + ct), Tt), Tt += ct, B += ct, Q -= ct;
|
|
8756
8756
|
pt[Tt++] = 1, pt[Tt++] = 255 & Q, pt[Tt++] = Q >> 8 & 255, pt[Tt++] = 255 & ~Q, pt[Tt++] = (65535 & ~Q) >> 8 & 255, pt.set(V.subarray(B), Tt), Tt += V.length - B;
|
|
8757
|
-
const j = function(z, G, N) {
|
|
8757
|
+
const j = (function(z, G, N) {
|
|
8758
8758
|
let W = 1, it = 0;
|
|
8759
8759
|
for (let at = G; at < N; ++at)
|
|
8760
8760
|
W = (W + (255 & z[at])) % 65521, it = (it + W) % 65521;
|
|
8761
8761
|
return it << 16 | W;
|
|
8762
|
-
}(V, 0, V.length);
|
|
8762
|
+
})(V, 0, V.length);
|
|
8763
8763
|
return pt[Tt++] = j >> 24 & 255, pt[Tt++] = j >> 16 & 255, pt[Tt++] = j >> 8 & 255, pt[Tt++] = 255 & j, pt;
|
|
8764
8764
|
}
|
|
8765
8765
|
function Z(V, Q, ct, vt) {
|
|
@@ -8791,7 +8791,7 @@ function requirePath2dPolyfill_min() {
|
|
|
8791
8791
|
N[W++] ^= 255;
|
|
8792
8792
|
}
|
|
8793
8793
|
}
|
|
8794
|
-
const at = new Uint8Array([pt >> 24 & 255, pt >> 16 & 255, pt >> 8 & 255, 255 & pt, Tt >> 24 & 255, Tt >> 16 & 255, Tt >> 8 & 255, 255 & Tt, B, j, 0, 0, 0]), lt = function(gt) {
|
|
8794
|
+
const at = new Uint8Array([pt >> 24 & 255, pt >> 16 & 255, pt >> 8 & 255, 255 & pt, Tt >> 24 & 255, Tt >> 16 & 255, Tt >> 8 & 255, 255 & Tt, B, j, 0, 0, 0]), lt = (function(gt) {
|
|
8795
8795
|
if (!v.isNodeJS)
|
|
8796
8796
|
return rt(gt);
|
|
8797
8797
|
try {
|
|
@@ -8803,14 +8803,14 @@ function requirePath2dPolyfill_min() {
|
|
|
8803
8803
|
(0, o.warn)("Not compressing PNG because zlib.deflateSync is unavailable: " + ot);
|
|
8804
8804
|
}
|
|
8805
8805
|
return rt(gt);
|
|
8806
|
-
}(N), dt = _.length + 36 + at.length + lt.length, ft = new Uint8Array(dt);
|
|
8806
|
+
})(N), dt = _.length + 36 + at.length + lt.length, ft = new Uint8Array(dt);
|
|
8807
8807
|
let mt = 0;
|
|
8808
8808
|
return ft.set(_, mt), mt += _.length, Y("IHDR", at, ft, mt), mt += 12 + at.length, Y("IDATA", lt, ft, mt), mt += 12 + lt.length, Y("IEND", new Uint8Array(0), ft, mt), X(ft, "image/png", ct);
|
|
8809
8809
|
}
|
|
8810
8810
|
return function(V, Q, ct) {
|
|
8811
8811
|
return Z(V, V.kind === void 0 ? o.ImageKind.GRAYSCALE_1BPP : V.kind, Q, ct);
|
|
8812
8812
|
};
|
|
8813
|
-
}();
|
|
8813
|
+
})();
|
|
8814
8814
|
class H {
|
|
8815
8815
|
constructor() {
|
|
8816
8816
|
this.fontSizeScale = 1, this.fontWeight = f.fontWeight, this.fontSize = 0, this.textMatrix = o.IDENTITY_MATRIX, this.fontMatrix = o.FONT_IDENTITY_MATRIX, this.leading = 0, this.textRenderingMode = o.TextRenderingMode.FILL, this.textMatrixScale = 1, this.x = 0, this.y = 0, this.lineX = 0, this.lineY = 0, this.charSpacing = 0, this.wordSpacing = 0, this.textHScale = 1, this.textRise = 0, this.fillColor = f.fillColor, this.strokeColor = "#000000", this.fillAlpha = 1, this.strokeAlpha = 1, this.lineWidth = 1, this.lineJoin = "", this.lineCap = "", this.miterLimit = 0, this.dashArray = [], this.dashPhase = 0, this.dependencies = [], this.activeClipUrl = null, this.clipGroup = null, this.maskId = "";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const C = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%201.46784L1.39758%206L6%2010.5322L10.6024%206L6%201.46784Z'%20fill='%233D939E'/%3e%3cpath%20d='M4.7116%206.27683C4.7116%206.27683%204.84973%206.52388%204.84973%206.82367C4.84973%206.88196%204.83845%206.92638%204.83845%206.92638C4.6665%206.88752%204.5622%206.82922%204.5622%206.82922L4.59321%206.27405H4.7116V6.27683ZM4.95121%206.94858C4.95967%206.90417%204.96812%206.85976%204.96812%206.82645C4.96812%206.81257%204.96812%206.79869%204.96812%206.77926C5.01604%206.79314%205.07242%206.80146%205.14289%206.80146C5.40787%206.80146%205.58546%206.62659%205.58546%206.40729C5.58546%205.94095%204.57912%206.01312%204.57912%205.3719C4.57912%205.09432%204.8159%204.86115%205.19927%204.86115C5.24437%204.86115%205.31766%204.8667%205.37404%204.86947C5.36558%204.91389%205.35995%204.95275%205.35995%204.98606V5.03325C5.31485%205.02492%205.2641%205.02214%205.23028%205.02214C4.99349%205.02214%204.84691%205.16649%204.84691%205.32749C4.84691%205.74942%205.86735%205.73554%205.86735%206.36288C5.86735%206.69876%205.60237%206.95969%205.17108%206.95969C5.09215%206.95969%205.01604%206.95414%204.95121%206.94581H4.95403L4.95121%206.94858ZM5.47552%204.98883C5.47552%204.93054%205.4868%204.88613%205.4868%204.88613C5.65875%204.91666%205.77432%204.96385%205.77432%204.96385L5.72922%205.50237H5.61083C5.61083%205.50237%205.47552%205.2692%205.47552%204.98606V4.98883Z'%20fill='white'/%3e%3cpath%20d='M6.70738%206.93475H6.21971L6.20562%206.83204C6.20562%206.83204%206.29301%206.77375%206.42831%206.74322V5.08326C6.29582%205.05272%206.20562%204.99443%206.20562%204.99443L6.21971%204.89172H6.91598L6.93007%204.99443C6.93007%204.99443%206.84269%205.05272%206.70738%205.08326V6.93475ZM6.82577%206.93475V6.75987H7.37264C7.41774%206.57111%207.53613%206.42399%207.53613%206.42399L7.65453%206.43787L7.62634%206.93475H6.82577Z'%20fill='white'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
C as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.505%203H4.50212H1.515V9H4.50212H4.505V3Z'%20fill='%23000091'/%3e%3cpath%20d='M7.495%203H7.49213H4.505V9H7.49213H7.495V3Z'%20fill='white'/%3e%3cpath%20d='M10.485%203H10.4821H7.495V9H10.4821H10.485V3Z'%20fill='%23E1000F'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
e as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const C = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%201.46784L1.39758%206L6%2010.5322L10.6024%206L6%201.46784Z'%20fill='%233D939E'/%3e%3cpath%20d='M4.54524%206.34073C4.54524%206.34073%204.68336%206.58778%204.68336%206.88757C4.68336%206.94587%204.67209%206.99028%204.67209%206.99028C4.50013%206.95142%204.39584%206.89313%204.39584%206.89313L4.42684%206.33796H4.54524V6.34073ZM4.78484%207.01249C4.7933%206.96807%204.80176%206.92366%204.80176%206.89035C4.80176%206.87647%204.80176%206.86259%204.80176%206.84316C4.84968%206.85704%204.90605%206.86537%204.97653%206.86537C5.2415%206.86537%205.41909%206.69049%205.41909%206.4712C5.41909%206.00485%204.41275%206.07703%204.41275%205.43581C4.41275%205.15822%204.64954%204.92505%205.0329%204.92505C5.07801%204.92505%205.1513%204.9306%205.20767%204.93338C5.19922%204.97779%205.19358%205.01665%205.19358%205.04996V5.09715C5.14848%205.08882%205.09774%205.08605%205.06391%205.08605C4.82713%205.08605%204.68054%205.23039%204.68054%205.39139C4.68054%205.81332%205.70098%205.79944%205.70098%206.42678C5.70098%206.76266%205.436%207.02359%205.00472%207.02359C4.92579%207.02359%204.84968%207.01804%204.78484%207.00971H4.78766L4.78484%207.01249ZM5.31197%205.05274C5.31197%204.99445%205.32325%204.95003%205.32325%204.95003C5.4952%204.97779%205.61078%205.02776%205.61078%205.02776L5.56567%205.56627H5.44728C5.44728%205.56627%205.31197%205.3331%205.31197%205.04996V5.05274Z'%20fill='white'/%3e%3cpath%20d='M6.54384%206.80706C6.67633%206.83759%206.76653%206.89589%206.76653%206.89589L6.75244%206.99859H6.05617L6.04208%206.89589C6.04208%206.89589%206.12946%206.83759%206.26477%206.80706V5.1471C6.13228%205.11657%206.04208%205.05827%206.04208%205.05827L6.05617%204.95557H6.54384V6.80706ZM6.66223%205.99096H6.80599C7.11889%205.99096%207.28239%205.82996%207.28239%205.55515C7.28239%205.28034%207.11889%205.11657%206.80881%205.11657H6.66223V4.95557H6.80881C7.31057%204.95557%207.57837%205.21927%207.57837%205.55237C7.57837%205.88548%207.31339%206.14918%206.80881%206.14918H6.66223V5.98818V5.99096ZM6.84828%206.26854C6.95539%206.26577%207.04842%206.25189%207.1358%206.22968L7.50508%206.80706C7.63757%206.83759%207.72777%206.89589%207.72777%206.89589L7.71368%206.99859H7.2852L6.8511%206.27132L6.84828%206.26854Z'%20fill='white'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
C as default
|
|
4
|
+
};
|