@ranty/ranty-sdk 3.22.0 → 3.23.0-beta.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.
|
@@ -926,7 +926,7 @@ function _e(t) {
|
|
|
926
926
|
*/
|
|
927
927
|
var ty;
|
|
928
928
|
((ty = window.HTMLSlotElement) === null || ty === void 0 ? void 0 : ty.prototype.assignedElements) != null;
|
|
929
|
-
const ET = "@ranty/ranty-sdk", kT = "3.
|
|
929
|
+
const ET = "@ranty/ranty-sdk", kT = "3.23.0-beta.0", ST = "Ranty sdk", IT = "dist/index.js", TT = {
|
|
930
930
|
".": "./dist/index.js"
|
|
931
931
|
}, UT = "types/index.d.ts", jT = [
|
|
932
932
|
"dist",
|
|
@@ -12671,7 +12671,7 @@ const pN = () => bt.getConfig().VITE_DATADOG_ENV !== "production", ie = {
|
|
|
12671
12671
|
},
|
|
12672
12672
|
srcDpaId: t
|
|
12673
12673
|
});
|
|
12674
|
-
var GE = /* @__PURE__ */ ((t) => (t.CARD_PAYMENT = "card_payment", t.TRANSFER_PAYMENT = "transfer_payment", t))(GE || {}), DA = /* @__PURE__ */ ((t) => (t.DINAMIC_QR = "dynamic_qr", t.WEB_CHECKOUT = "web_checkout", t.PAYMENT_LINK = "payment_link", t.STATIC_QR = "static_qr", t.ECOMMERCE = "ecommerce", t))(DA || {}), zi = /* @__PURE__ */ ((t) => (t.PENDING = "PENDING", t.PROCESSING = "PROCESSING", t.EXPIRED = "EXPIRED", t.PROCESSED = "PROCESSED", t.FAILURE_PROCESSED = "FAILURE_PROCESSED", t.SUCCESS_PROCESSED = "SUCCESS_PROCESSED", t.BLOCKED = "BLOCKED", t.APPROVED = "APPROVED", t.REJECTED = "REJECTED", t.ON_REVIEW = "ON_REVIEW", t.CANCELLED = "CANCELLED", t.DISABLED = "DISABLED", t))(zi || {}), Se = /* @__PURE__ */ ((t) => (t.DEFAULT = "DEFAULT", t.CLICK_TO_PAY = "CLICK_TO_PAY", t.CARD_ON_FILE = "CARD_ON_FILE", t.A2A = "A2A", t.A2A_FEEDBACK = "A2A_FEEDBACK", t))(Se || {}), vw = /* @__PURE__ */ ((t) => (t.payment_link = "Link de pago", t.dynamic_qr = "QR", t.web_checkout = "WEB CHECKOUT", t.static_qr = "QR", t.ecommerce = "E-Commerce", t.mit = "MIT", t))(vw || {}), ko = /* @__PURE__ */ ((t) => (t.CARD_PAYMENT = "card_payment", t.TRANSFER_PAYMENT = "transfer_payment", t))(ko || {}), Em = /* @__PURE__ */ ((t) => (t.CREDIT = "CREDIT", t.DEBIT = "DEBIT", t))(Em || {}), no = /* @__PURE__ */ ((t) => (t.DINAMIC_QR = "dynamic_qr", t.WEB_CHECKOUT = "web_checkout", t.PAYMENT_LINK = "payment_link", t.STATIC_QR = "static_qr", t.ECOMMERCE = "ecommerce", t.MIT = "mit", t))(no || {}),
|
|
12674
|
+
var GE = /* @__PURE__ */ ((t) => (t.CARD_PAYMENT = "card_payment", t.TRANSFER_PAYMENT = "transfer_payment", t))(GE || {}), DA = /* @__PURE__ */ ((t) => (t.DINAMIC_QR = "dynamic_qr", t.WEB_CHECKOUT = "web_checkout", t.PAYMENT_LINK = "payment_link", t.STATIC_QR = "static_qr", t.ECOMMERCE = "ecommerce", t))(DA || {}), zi = /* @__PURE__ */ ((t) => (t.PENDING = "PENDING", t.PROCESSING = "PROCESSING", t.EXPIRED = "EXPIRED", t.PROCESSED = "PROCESSED", t.FAILURE_PROCESSED = "FAILURE_PROCESSED", t.SUCCESS_PROCESSED = "SUCCESS_PROCESSED", t.BLOCKED = "BLOCKED", t.APPROVED = "APPROVED", t.REJECTED = "REJECTED", t.ON_REVIEW = "ON_REVIEW", t.CANCELLED = "CANCELLED", t.DISABLED = "DISABLED", t))(zi || {}), Se = /* @__PURE__ */ ((t) => (t.DEFAULT = "DEFAULT", t.CLICK_TO_PAY = "CLICK_TO_PAY", t.CARD_ON_FILE = "CARD_ON_FILE", t.A2A = "A2A", t.A2A_FEEDBACK = "A2A_FEEDBACK", t))(Se || {}), vw = /* @__PURE__ */ ((t) => (t.payment_link = "Link de pago", t.dynamic_qr = "QR", t.web_checkout = "WEB CHECKOUT", t.static_qr = "QR", t.ecommerce = "E-Commerce", t.mit = "MIT", t))(vw || {}), ko = /* @__PURE__ */ ((t) => (t.CARD_PAYMENT = "card_payment", t.TRANSFER_PAYMENT = "transfer_payment", t))(ko || {}), Em = /* @__PURE__ */ ((t) => (t.CREDIT = "CREDIT", t.DEBIT = "DEBIT", t))(Em || {}), no = /* @__PURE__ */ ((t) => (t.DINAMIC_QR = "dynamic_qr", t.WEB_CHECKOUT = "web_checkout", t.PAYMENT_LINK = "payment_link", t.STATIC_QR = "static_qr", t.ECOMMERCE = "ecommerce", t.MIT = "mit", t))(no || {}), yr = /* @__PURE__ */ ((t) => (t.PENDING = "PENDING", t.PROCESSING = "PROCESSING", t.EXPIRED = "EXPIRED", t.PROCESSED = "PROCESSED", t.FAILURE_PROCESSED = "FAILURE_PROCESSED", t.SUCCESS_PROCESSED = "SUCCESS_PROCESSED", t.BLOCKED = "BLOCKED", t.APPROVED = "APPROVED", t.REJECTED = "REJECTED", t.ON_REVIEW = "ON_REVIEW", t.CANCELLED = "CANCELLED", t.DISABLED = "DISABLED", t.REFUNDED = "REFUNDED", t))(yr || {}), km = /* @__PURE__ */ ((t) => (t.OPERATIONAL = "operational", t.DEGRADED_PERFORMANCE = "degraded_performance", t.OUT_OF_SERVICE = "out_of_service", t))(km || {});
|
|
12675
12675
|
const j5 = "card_on_file";
|
|
12676
12676
|
var Bv = /* @__PURE__ */ ((t) => (t.USER_NEW = "USER_NEW", t.USER_REGISTERED = "USER_REGISTERED", t))(Bv || {}), fl = /* @__PURE__ */ ((t) => (t.PAY_NO_TOKENIZED = "PAY_NO_TOKENIZED", t.PAY_TOKENIZED = "PAY_TOKENIZED", t.PAY_CARD_ENROLLED = "PAY_CARD_ENROLLED", t.PAY_NEW_CARD_ENROLLED = "PAY_NEW_CARD_ENROLLED", t))(fl || {});
|
|
12677
12677
|
const F5 = "region-service", gN = (t, e, n) => he(void 0, null, function* () {
|
|
@@ -15883,7 +15883,7 @@ function Wk() {
|
|
|
15883
15883
|
}
|
|
15884
15884
|
});
|
|
15885
15885
|
}
|
|
15886
|
-
const
|
|
15886
|
+
const xr = {
|
|
15887
15887
|
userContext: "userContext",
|
|
15888
15888
|
globalContext: "globalContext",
|
|
15889
15889
|
accountContext: "accountContext"
|
|
@@ -16140,11 +16140,11 @@ function dM(t) {
|
|
|
16140
16140
|
}
|
|
16141
16141
|
function cM(t, e, n) {
|
|
16142
16142
|
const r = WQ(), s = Gk();
|
|
16143
|
-
jy(s,
|
|
16143
|
+
jy(s, xr.globalContext, r);
|
|
16144
16144
|
const i = Vk();
|
|
16145
|
-
jy(i,
|
|
16145
|
+
jy(i, xr.accountContext, r);
|
|
16146
16146
|
const o = Wk();
|
|
16147
|
-
jy(o,
|
|
16147
|
+
jy(o, xr.userContext, r);
|
|
16148
16148
|
let a, d;
|
|
16149
16149
|
const l = e.observable.subscribe(c);
|
|
16150
16150
|
function c() {
|
|
@@ -16195,25 +16195,25 @@ function uM(t) {
|
|
|
16195
16195
|
setTrackingConsent: kn((a) => {
|
|
16196
16196
|
e.update(a), Dk({ feature: "set-tracking-consent", tracking_consent: a });
|
|
16197
16197
|
}),
|
|
16198
|
-
getGlobalContext: is(s,
|
|
16199
|
-
setGlobalContext: is(s,
|
|
16200
|
-
setGlobalContextProperty: is(s,
|
|
16201
|
-
removeGlobalContextProperty: is(s,
|
|
16202
|
-
clearGlobalContext: is(s,
|
|
16198
|
+
getGlobalContext: is(s, xr.globalContext, os.getContext),
|
|
16199
|
+
setGlobalContext: is(s, xr.globalContext, os.setContext),
|
|
16200
|
+
setGlobalContextProperty: is(s, xr.globalContext, os.setContextProperty),
|
|
16201
|
+
removeGlobalContextProperty: is(s, xr.globalContext, os.removeContextProperty),
|
|
16202
|
+
clearGlobalContext: is(s, xr.globalContext, os.clearContext),
|
|
16203
16203
|
createLogger: kn((a, d = {}) => (i[a] = new wi((...l) => r.handleLog(...l), Ca(a), d.handler, d.level, Ca(d.context)), i[a])),
|
|
16204
16204
|
getLogger: kn((a) => i[a]),
|
|
16205
16205
|
getInitConfiguration: kn(() => Ck(r.initConfiguration)),
|
|
16206
16206
|
getInternalContext: kn((a) => r.getInternalContext(a)),
|
|
16207
|
-
setUser: is(s,
|
|
16208
|
-
getUser: is(s,
|
|
16209
|
-
setUserProperty: is(s,
|
|
16210
|
-
removeUserProperty: is(s,
|
|
16211
|
-
clearUser: is(s,
|
|
16212
|
-
setAccount: is(s,
|
|
16213
|
-
getAccount: is(s,
|
|
16214
|
-
setAccountProperty: is(s,
|
|
16215
|
-
removeAccountProperty: is(s,
|
|
16216
|
-
clearAccount: is(s,
|
|
16207
|
+
setUser: is(s, xr.userContext, os.setContext),
|
|
16208
|
+
getUser: is(s, xr.userContext, os.getContext),
|
|
16209
|
+
setUserProperty: is(s, xr.userContext, os.setContextProperty),
|
|
16210
|
+
removeUserProperty: is(s, xr.userContext, os.removeContextProperty),
|
|
16211
|
+
clearUser: is(s, xr.userContext, os.clearContext),
|
|
16212
|
+
setAccount: is(s, xr.accountContext, os.setContext),
|
|
16213
|
+
getAccount: is(s, xr.accountContext, os.getContext),
|
|
16214
|
+
setAccountProperty: is(s, xr.accountContext, os.setContextProperty),
|
|
16215
|
+
removeAccountProperty: is(s, xr.accountContext, os.removeContextProperty),
|
|
16216
|
+
clearAccount: is(s, xr.accountContext, os.clearContext)
|
|
16217
16217
|
});
|
|
16218
16218
|
}
|
|
16219
16219
|
function pM(t, e) {
|
|
@@ -16587,10 +16587,10 @@ function zM(t, e, n, r) {
|
|
|
16587
16587
|
}
|
|
16588
16588
|
const jp = uM(zM);
|
|
16589
16589
|
uQ(Po(), "DD_LOGS", jp);
|
|
16590
|
-
const HM = "@ranty/ranty-sdk", qM = "3.
|
|
16590
|
+
const HM = "@ranty/ranty-sdk", qM = "3.23.0-beta.0", KM = 3, VM = !0, GM = {
|
|
16591
16591
|
"": {
|
|
16592
16592
|
name: "@ranty/ranty-sdk",
|
|
16593
|
-
version: "3.
|
|
16593
|
+
version: "3.23.0-beta.0",
|
|
16594
16594
|
license: "ISC",
|
|
16595
16595
|
dependencies: {
|
|
16596
16596
|
"@datadog/browser-logs": "^6.17.0",
|
|
@@ -39082,12 +39082,12 @@ const Z5 = {
|
|
|
39082
39082
|
De({}, a9)
|
|
39083
39083
|
]
|
|
39084
39084
|
}, Dv = (t) => es.messages.find(
|
|
39085
|
-
(n) => n.status ===
|
|
39085
|
+
(n) => n.status === yr.FAILURE_PROCESSED && n.status_reason && n.status_reason.includes(t)
|
|
39086
39086
|
) || _o, Rw = (t) => {
|
|
39087
39087
|
const e = es.messages.find(
|
|
39088
39088
|
(n) => {
|
|
39089
39089
|
var r;
|
|
39090
|
-
return n.status ===
|
|
39090
|
+
return n.status === yr.SUCCESS_PROCESSED && t === no.ECOMMERCE ? (r = n.name) == null ? void 0 : r.includes("-external") : void 0;
|
|
39091
39091
|
}
|
|
39092
39092
|
);
|
|
39093
39093
|
return localStorage.getItem("initialPaymentWallet") && localStorage.removeItem("initialPaymentWallet"), e || ih;
|
|
@@ -39096,13 +39096,13 @@ const Z5 = {
|
|
|
39096
39096
|
return localStorage.getItem("initialPaymentWallet") === "true" || n ? Rw(t) : es.messages.find(
|
|
39097
39097
|
(s) => {
|
|
39098
39098
|
var i, o;
|
|
39099
|
-
return (s.status ===
|
|
39099
|
+
return (s.status === yr.SUCCESS_PROCESSED || yr.PROCESSED) && t === no.ECOMMERCE ? (i = s.name) == null ? void 0 : i.includes("link-used-external") : (o = s.name) == null ? void 0 : o.includes("link-used");
|
|
39100
39100
|
}
|
|
39101
39101
|
) || ih;
|
|
39102
39102
|
}, Rv = (t) => es.messages.find(
|
|
39103
39103
|
(n) => {
|
|
39104
39104
|
var r;
|
|
39105
|
-
return n.status ===
|
|
39105
|
+
return n.status === yr.BLOCKED && t === no.ECOMMERCE ? (r = n.name) == null ? void 0 : r.includes("-external") : void 0;
|
|
39106
39106
|
}
|
|
39107
39107
|
) || Fv, d9 = (t) => es.messages.find((e) => e.name === t) || Wf, t3 = (t, e) => t.reason_code === "risky_payment" ? A9(t, e) : t.name === "APPROVED" ? u9(t, e) : t.name === "REJECTED" ? c9(t) : _o, c9 = (t) => es.messages.find(
|
|
39108
39108
|
(n) => {
|
|
@@ -39743,9 +39743,9 @@ const Pw = (t) => {
|
|
|
39743
39743
|
const e = t.toUpperCase(), n = ["APPROVED"], r = ["REJECTED"], s = ["RISKY_PAYMENT", "BLOCKED"];
|
|
39744
39744
|
return n.includes(e) ? "SUCCESS_PROCESSED" : r.includes(e) ? "FAILURE_PROCESSED" : s.includes(e) ? "BLOCKED" : e;
|
|
39745
39745
|
}, J9 = (t, e) => e.data ? e.data.status.reason_code === "risky_payment" ? We(De({}, t), {
|
|
39746
|
-
status:
|
|
39747
|
-
}) : t.payment_attemps >= t.payment_retries_allowed && e.data.status.name ===
|
|
39748
|
-
status:
|
|
39746
|
+
status: yr.BLOCKED
|
|
39747
|
+
}) : t.payment_attemps >= t.payment_retries_allowed && e.data.status.name === yr.REJECTED ? We(De({}, t), {
|
|
39748
|
+
status: yr.BLOCKED
|
|
39749
39749
|
}) : t : t, X9 = [
|
|
39750
39750
|
"http://localhost:4200",
|
|
39751
39751
|
"http://localhost:5173",
|
|
@@ -42086,7 +42086,9 @@ const h4 = (t) => he(void 0, null, function* () {
|
|
|
42086
42086
|
const e = `/sdk/payment_links/${t}`, { data: n } = yield bt.instanceWithRetries.get(e, {});
|
|
42087
42087
|
return Ow({ data: { response: n } }.data);
|
|
42088
42088
|
}), Fz = (t) => he(void 0, null, function* () {
|
|
42089
|
-
const e = `/sdk/debt_refs/${t}`, { data: n } = yield bt.instanceWithRetries.get(e, {})
|
|
42089
|
+
const e = `/sdk/debt_refs/${t}`, { data: n } = yield bt.instanceWithRetries.get(e, {});
|
|
42090
|
+
n.status === "PAID" && (n.payment_request.status = yr.SUCCESS_PROCESSED);
|
|
42091
|
+
const r = { data: { response: n.payment_request } };
|
|
42090
42092
|
return Ow(r.data);
|
|
42091
42093
|
}), v3 = {
|
|
42092
42094
|
payment_request: (t, e = !1) => Uz(t, e),
|
|
@@ -42120,13 +42122,13 @@ const h4 = (t) => he(void 0, null, function* () {
|
|
|
42120
42122
|
payment_sync: n,
|
|
42121
42123
|
is_embedded: r
|
|
42122
42124
|
}
|
|
42123
|
-
}), l.status ===
|
|
42125
|
+
}), l.status === yr.REFUNDED)
|
|
42124
42126
|
return {
|
|
42125
42127
|
error: d,
|
|
42126
42128
|
status: l.status,
|
|
42127
42129
|
message: es.messages.find((c) => c.status === l.status)
|
|
42128
42130
|
};
|
|
42129
|
-
if (l.status ===
|
|
42131
|
+
if (l.status === yr.REJECTED && l.payment_method.type === ko.TRANSFER_PAYMENT)
|
|
42130
42132
|
return {
|
|
42131
42133
|
error: d,
|
|
42132
42134
|
status: "BLOCKED",
|
|
@@ -45820,7 +45822,7 @@ let Ss = class extends Ze {
|
|
|
45820
45822
|
var r;
|
|
45821
45823
|
const e = t.transactions[0].auth_data ? t.transactions[0].auth_data.code : "";
|
|
45822
45824
|
let n = es.messages.find((s) => s.status === this.statusMessage);
|
|
45823
|
-
return e && (t.status ===
|
|
45825
|
+
return e && (t.status === yr.FAILURE_PROCESSED && ((r = t.transactions[0].auth_data) != null && r.code) && (n = Dv(e), _t(n.status, e), rc(t) && (n = Dv(`rejected${zw(t)}`), _t(n.status, e))), t.status === yr.SUCCESS_PROCESSED && (n = Rw(t.payment_type), _t(n.status, "")), t.status === yr.BLOCKED && (n = Rv(t.payment_type), _t(n.status, e))), n;
|
|
45824
45826
|
}
|
|
45825
45827
|
webSocket() {
|
|
45826
45828
|
return he(this, null, function* () {
|
|
@@ -49972,7 +49974,7 @@ let Do = class t extends Ze {
|
|
|
49972
49974
|
return he(this, null, function* () {
|
|
49973
49975
|
try {
|
|
49974
49976
|
const e = yield So(this.payfacContext.paymentRequest.id);
|
|
49975
|
-
if (this.payfacContext.paymentRequest = e.response, e.response.status ===
|
|
49977
|
+
if (this.payfacContext.paymentRequest = e.response, e.response.status === yr.SUCCESS_PROCESSED) {
|
|
49976
49978
|
let n = es.messages.find((r) => r.status === e.response.status);
|
|
49977
49979
|
n = Rw(e.response.payment_type), _t(n.status, ""), n && (Object.assign(this.status, n), this.state.isActiveWs = !1, this.state.isExtendedWs = !1, this.createEvent("button-pushed", Ne.STATUS));
|
|
49978
49980
|
return;
|
|
@@ -50168,7 +50170,7 @@ let Do = class t extends Ze {
|
|
|
50168
50170
|
reason_code: e.status.reason_code || "",
|
|
50169
50171
|
payment_type: e.payment_type
|
|
50170
50172
|
};
|
|
50171
|
-
this.status.status ===
|
|
50173
|
+
this.status.status === yr.SUCCESS_PROCESSED ? _t(yr.SUCCESS_PROCESSED, r) : _t((n == null ? void 0 : n.name) || yr.FAILURE_PROCESSED, r);
|
|
50172
50174
|
}
|
|
50173
50175
|
getDataSCOF(e) {
|
|
50174
50176
|
return he(this, null, function* () {
|
|
@@ -51509,7 +51511,7 @@ var mV = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
|
|
|
51509
51511
|
}
|
|
51510
51512
|
}, jl = function(t) {
|
|
51511
51513
|
return (255 & t) === 0;
|
|
51512
|
-
},
|
|
51514
|
+
}, _r = function(t) {
|
|
51513
51515
|
var e = 255 & t, n = 255 & t >> 8, r = 255 & t >> 16, s = 255 & t >> 24;
|
|
51514
51516
|
return e < 255 ? "rgba(" + s + "," + r + "," + n + "," + e / 255 + ")" : "rgb(" + s + "," + r + "," + n + ")";
|
|
51515
51517
|
}, wl = function(t, e, n, r) {
|
|
@@ -54859,11 +54861,11 @@ var Bn = function(t, e, n, r, s) {
|
|
|
54859
54861
|
u.forEach(function(m) {
|
|
54860
54862
|
switch (m) {
|
|
54861
54863
|
case 0:
|
|
54862
|
-
h.ctx.fillStyle =
|
|
54864
|
+
h.ctx.fillStyle = _r(r.color), h.renderTextWithLetterSpacing(f, r.letterSpacing, l);
|
|
54863
54865
|
var w = r.textShadow;
|
|
54864
54866
|
w.length && f.text.trim().length && (w.slice(0).reverse().forEach(function(v) {
|
|
54865
|
-
h.ctx.shadowColor =
|
|
54866
|
-
}), h.ctx.shadowColor = "", h.ctx.shadowOffsetX = 0, h.ctx.shadowOffsetY = 0, h.ctx.shadowBlur = 0), r.textDecorationLine.length && (h.ctx.fillStyle =
|
|
54867
|
+
h.ctx.shadowColor = _r(v.color), h.ctx.shadowOffsetX = v.offsetX.number * h.options.scale, h.ctx.shadowOffsetY = v.offsetY.number * h.options.scale, h.ctx.shadowBlur = v.blur.number, h.renderTextWithLetterSpacing(f, r.letterSpacing, l);
|
|
54868
|
+
}), h.ctx.shadowColor = "", h.ctx.shadowOffsetX = 0, h.ctx.shadowOffsetY = 0, h.ctx.shadowBlur = 0), r.textDecorationLine.length && (h.ctx.fillStyle = _r(r.textDecorationColor || r.color), r.textDecorationLine.forEach(function(v) {
|
|
54867
54869
|
switch (v) {
|
|
54868
54870
|
case 1:
|
|
54869
54871
|
h.ctx.fillRect(f.bounds.left, Math.round(f.bounds.top + l), f.bounds.width, 1);
|
|
@@ -54878,7 +54880,7 @@ var Bn = function(t, e, n, r, s) {
|
|
|
54878
54880
|
}));
|
|
54879
54881
|
break;
|
|
54880
54882
|
case 1:
|
|
54881
|
-
r.webkitTextStrokeWidth && f.text.trim().length && (h.ctx.strokeStyle =
|
|
54883
|
+
r.webkitTextStrokeWidth && f.text.trim().length && (h.ctx.strokeStyle = _r(r.webkitTextStrokeColor), h.ctx.lineWidth = r.webkitTextStrokeWidth, h.ctx.lineJoin = window.chrome ? "miter" : "round", h.ctx.strokeText(f.text, f.bounds.left, f.bounds.top + l)), h.ctx.strokeStyle = "", h.ctx.lineWidth = 0, h.ctx.lineJoin = "miter";
|
|
54882
54884
|
break;
|
|
54883
54885
|
}
|
|
54884
54886
|
});
|
|
@@ -54949,8 +54951,8 @@ var Bn = function(t, e, n, r, s) {
|
|
|
54949
54951
|
new Ye(r.bounds.left + u * 0.72983, r.bounds.top + u * 0.23),
|
|
54950
54952
|
new Ye(r.bounds.left + u * 0.84, r.bounds.top + u * 0.34085),
|
|
54951
54953
|
new Ye(r.bounds.left + u * 0.39363, r.bounds.top + u * 0.79)
|
|
54952
|
-
]), this.ctx.fillStyle =
|
|
54953
|
-
switch (h = this.createFontStyle(i), E = h[0], p = h[1], f = this.fontMetrics.getMetrics(E, p).baseline, this.ctx.font = E, this.ctx.fillStyle =
|
|
54954
|
+
]), this.ctx.fillStyle = _r(xC), this.ctx.fill(), this.ctx.restore()) : r.type === Xm && r.checked && (this.ctx.save(), this.ctx.beginPath(), this.ctx.arc(r.bounds.left + u / 2, r.bounds.top + u / 2, u / 4, 0, Math.PI * 2, !0), this.ctx.fillStyle = _r(xC), this.ctx.fill(), this.ctx.restore())), AX(r) && r.value.length) {
|
|
54955
|
+
switch (h = this.createFontStyle(i), E = h[0], p = h[1], f = this.fontMetrics.getMetrics(E, p).baseline, this.ctx.font = E, this.ctx.fillStyle = _r(i.color), this.ctx.textBaseline = "alphabetic", this.ctx.textAlign = pX(r.styles.textAlign), H = n0(r), m = 0, r.styles.textAlign) {
|
|
54954
54956
|
case 1:
|
|
54955
54957
|
m += H.width / 2;
|
|
54956
54958
|
break;
|
|
@@ -54985,7 +54987,7 @@ var Bn = function(t, e, n, r, s) {
|
|
|
54985
54987
|
case 18:
|
|
54986
54988
|
return [3, 20];
|
|
54987
54989
|
case 19:
|
|
54988
|
-
n.listValue && r.styles.listStyleType !== -1 && (E = this.createFontStyle(i)[0], this.ctx.font = E, this.ctx.fillStyle =
|
|
54990
|
+
n.listValue && r.styles.listStyleType !== -1 && (E = this.createFontStyle(i)[0], this.ctx.font = E, this.ctx.fillStyle = _r(i.color), this.ctx.textBaseline = "middle", this.ctx.textAlign = "right", H = new Sa(r.bounds.left, r.bounds.top + wn(r.styles.paddingTop, r.bounds.width), r.bounds.width, oC(i.lineHeight, i.fontSize.number) / 2 + 1), this.renderTextWithLetterSpacing(new zp(n.listValue, H), i.letterSpacing, oC(i.lineHeight, i.fontSize.number) / 2 + 2), this.ctx.textBaseline = "bottom", this.ctx.textAlign = "left"), D.label = 20;
|
|
54989
54991
|
case 20:
|
|
54990
54992
|
return [
|
|
54991
54993
|
2
|
|
@@ -55121,13 +55123,13 @@ var Bn = function(t, e, n, r, s) {
|
|
|
55121
55123
|
]), ne = p[0], be = p[1], ve = p[2], X = p[3], $ = p[4], K = i.ctx.createPattern(i.resizeImage(u, X, $), "repeat"), i.renderRepeat(ne, K, be, ve)), [3, 6];
|
|
55122
55124
|
case 5:
|
|
55123
55125
|
JG(c) ? (f = pb(n, r, [null, null, null]), ne = f[0], be = f[1], ve = f[2], X = f[3], $ = f[4], m = KG(c.angle, X, $), w = m[0], v = m[1], B = m[2], k = m[3], E = m[4], H = document.createElement("canvas"), H.width = X, H.height = $, D = H.getContext("2d"), W = D.createLinearGradient(v, k, B, E), sC(c.stops, w).forEach(function(le) {
|
|
55124
|
-
return W.addColorStop(le.stop,
|
|
55126
|
+
return W.addColorStop(le.stop, _r(le.color));
|
|
55125
55127
|
}), D.fillStyle = W, D.fillRect(0, 0, X, $), X > 0 && $ > 0 && (K = i.ctx.createPattern(H, "repeat"), i.renderRepeat(ne, K, be, ve))) : XG(c) && (R = pb(n, r, [
|
|
55126
55128
|
null,
|
|
55127
55129
|
null,
|
|
55128
55130
|
null
|
|
55129
55131
|
]), ne = R[0], U = R[1], Q = R[2], X = R[3], $ = R[4], Ae = c.position.length === 0 ? [r_] : c.position, be = wn(Ae[0], X), ve = wn(Ae[Ae.length - 1], $), ue = VG(c, be, ve, X, $), Ce = ue[0], fe = ue[1], Ce > 0 && fe > 0 && (de = i.ctx.createRadialGradient(U + be, Q + ve, 0, U + be, Q + ve, Ce), sC(c.stops, Ce * 2).forEach(function(le) {
|
|
55130
|
-
return de.addColorStop(le.stop,
|
|
55132
|
+
return de.addColorStop(le.stop, _r(le.color));
|
|
55131
55133
|
}), i.path(ne), i.ctx.fillStyle = de, Ce !== fe ? (T = n.bounds.left + 0.5 * n.bounds.width, z = n.bounds.top + 0.5 * n.bounds.height, Y = fe / Ce, ee = 1 / Y, i.ctx.save(), i.ctx.translate(T, z), i.ctx.transform(1, 0, 0, Y, 0, 0), i.ctx.translate(-T, -z), i.ctx.fillRect(U, ee * (Q - z) + z, X, $ * ee), i.ctx.restore()) : i.ctx.fill())), re.label = 6;
|
|
55132
55134
|
case 6:
|
|
55133
55135
|
return r--, [
|
|
@@ -55154,7 +55156,7 @@ var Bn = function(t, e, n, r, s) {
|
|
|
55154
55156
|
}, e.prototype.renderSolidBorder = function(n, r, s) {
|
|
55155
55157
|
return ds(this, void 0, void 0, function() {
|
|
55156
55158
|
return Xr(this, function(i) {
|
|
55157
|
-
return this.path(RC(s, r)), this.ctx.fillStyle =
|
|
55159
|
+
return this.path(RC(s, r)), this.ctx.fillStyle = _r(n), this.ctx.fill(), [
|
|
55158
55160
|
2
|
|
55159
55161
|
/*return*/
|
|
55160
55162
|
];
|
|
@@ -55173,7 +55175,7 @@ var Bn = function(t, e, n, r, s) {
|
|
|
55173
55175
|
/*return*/
|
|
55174
55176
|
];
|
|
55175
55177
|
case 2:
|
|
55176
|
-
return o = eX(i, s), this.path(o), this.ctx.fillStyle =
|
|
55178
|
+
return o = eX(i, s), this.path(o), this.ctx.fillStyle = _r(n), this.ctx.fill(), a = tX(i, s), this.path(a), this.ctx.fill(), [
|
|
55177
55179
|
2
|
|
55178
55180
|
/*return*/
|
|
55179
55181
|
];
|
|
@@ -55194,12 +55196,12 @@ var Bn = function(t, e, n, r, s) {
|
|
|
55194
55196
|
{ style: r.borderRightStyle, color: r.borderRightColor, width: r.borderRightWidth },
|
|
55195
55197
|
{ style: r.borderBottomStyle, color: r.borderBottomColor, width: r.borderBottomWidth },
|
|
55196
55198
|
{ style: r.borderLeftStyle, color: r.borderLeftColor, width: r.borderLeftWidth }
|
|
55197
|
-
], o = uX(uA(r.backgroundClip, 0), n.curves), s || r.boxShadow.length ? (this.ctx.save(), this.path(o), this.ctx.clip(), jl(r.backgroundColor) || (this.ctx.fillStyle =
|
|
55199
|
+
], o = uX(uA(r.backgroundClip, 0), n.curves), s || r.boxShadow.length ? (this.ctx.save(), this.path(o), this.ctx.clip(), jl(r.backgroundColor) || (this.ctx.fillStyle = _r(r.backgroundColor), this.ctx.fill()), [4, this.renderBackgroundImage(n.container)]) : [3, 2];
|
|
55198
55200
|
case 1:
|
|
55199
55201
|
h.sent(), this.ctx.restore(), r.boxShadow.slice(0).reverse().forEach(function(p) {
|
|
55200
55202
|
u.ctx.save();
|
|
55201
55203
|
var f = e0(n.curves), m = p.inset ? 0 : dX, w = ZJ(f, -m + (p.inset ? 1 : -1) * p.spread.number, (p.inset ? 1 : -1) * p.spread.number, p.spread.number * (p.inset ? -2 : 2), p.spread.number * (p.inset ? -2 : 2));
|
|
55202
|
-
p.inset ? (u.path(f), u.ctx.clip(), u.mask(w)) : (u.mask(f), u.ctx.clip(), u.path(w)), u.ctx.shadowOffsetX = p.offsetX.number + m, u.ctx.shadowOffsetY = p.offsetY.number, u.ctx.shadowColor =
|
|
55204
|
+
p.inset ? (u.path(f), u.ctx.clip(), u.mask(w)) : (u.mask(f), u.ctx.clip(), u.path(w)), u.ctx.shadowOffsetX = p.offsetX.number + m, u.ctx.shadowOffsetY = p.offsetY.number, u.ctx.shadowColor = _r(p.color), u.ctx.shadowBlur = p.blur.number, u.ctx.fillStyle = p.inset ? _r(p.color) : "rgba(0,0,0,1)", u.ctx.fill(), u.ctx.restore();
|
|
55203
55205
|
}), h.label = 2;
|
|
55204
55206
|
case 2:
|
|
55205
55207
|
a = 0, d = 0, l = i, h.label = 3;
|
|
@@ -55249,7 +55251,7 @@ var Bn = function(t, e, n, r, s) {
|
|
|
55249
55251
|
return ds(this, void 0, void 0, function() {
|
|
55250
55252
|
var a, d, l, c, u, h, p, f, m, w, v, B, k, E, H, D, H, D;
|
|
55251
55253
|
return Xr(this, function(W) {
|
|
55252
|
-
return this.ctx.save(), a = nX(i, s), d = RC(i, s), o === 2 && (this.path(d), this.ctx.clip()), ui(d[0]) ? (l = d[0].start.x, c = d[0].start.y) : (l = d[0].x, c = d[0].y), ui(d[1]) ? (u = d[1].end.x, h = d[1].end.y) : (u = d[1].x, h = d[1].y), s === 0 || s === 2 ? p = Math.abs(l - u) : p = Math.abs(c - h), this.ctx.beginPath(), o === 3 ? this.formatPath(a) : this.formatPath(d.slice(0, 2)), f = r < 3 ? r * 3 : r * 2, m = r < 3 ? r * 2 : r, o === 3 && (f = r, m = r), w = !0, p <= f * 2 ? w = !1 : p <= f * 2 + m ? (v = p / (2 * f + m), f *= v, m *= v) : (B = Math.floor((p + m) / (f + m)), k = (p - B * f) / (B - 1), E = (p - (B + 1) * f) / B, m = E <= 0 || Math.abs(m - k) < Math.abs(m - E) ? k : E), w && (o === 3 ? this.ctx.setLineDash([0, f + m]) : this.ctx.setLineDash([f, m])), o === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = r) : this.ctx.lineWidth = r * 2 + 1.1, this.ctx.strokeStyle =
|
|
55254
|
+
return this.ctx.save(), a = nX(i, s), d = RC(i, s), o === 2 && (this.path(d), this.ctx.clip()), ui(d[0]) ? (l = d[0].start.x, c = d[0].start.y) : (l = d[0].x, c = d[0].y), ui(d[1]) ? (u = d[1].end.x, h = d[1].end.y) : (u = d[1].x, h = d[1].y), s === 0 || s === 2 ? p = Math.abs(l - u) : p = Math.abs(c - h), this.ctx.beginPath(), o === 3 ? this.formatPath(a) : this.formatPath(d.slice(0, 2)), f = r < 3 ? r * 3 : r * 2, m = r < 3 ? r * 2 : r, o === 3 && (f = r, m = r), w = !0, p <= f * 2 ? w = !1 : p <= f * 2 + m ? (v = p / (2 * f + m), f *= v, m *= v) : (B = Math.floor((p + m) / (f + m)), k = (p - B * f) / (B - 1), E = (p - (B + 1) * f) / B, m = E <= 0 || Math.abs(m - k) < Math.abs(m - E) ? k : E), w && (o === 3 ? this.ctx.setLineDash([0, f + m]) : this.ctx.setLineDash([f, m])), o === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = r) : this.ctx.lineWidth = r * 2 + 1.1, this.ctx.strokeStyle = _r(n), this.ctx.stroke(), this.ctx.setLineDash([]), o === 2 && (ui(d[0]) && (H = d[3], D = d[0], this.ctx.beginPath(), this.formatPath([new Ye(H.end.x, H.end.y), new Ye(D.start.x, D.start.y)]), this.ctx.stroke()), ui(d[1]) && (H = d[1], D = d[2], this.ctx.beginPath(), this.formatPath([new Ye(H.end.x, H.end.y), new Ye(D.start.x, D.start.y)]), this.ctx.stroke())), this.ctx.restore(), [
|
|
55253
55255
|
2
|
|
55254
55256
|
/*return*/
|
|
55255
55257
|
];
|
|
@@ -55261,7 +55263,7 @@ var Bn = function(t, e, n, r, s) {
|
|
|
55261
55263
|
return Xr(this, function(s) {
|
|
55262
55264
|
switch (s.label) {
|
|
55263
55265
|
case 0:
|
|
55264
|
-
return this.options.backgroundColor && (this.ctx.fillStyle =
|
|
55266
|
+
return this.options.backgroundColor && (this.ctx.fillStyle = _r(this.options.backgroundColor), this.ctx.fillRect(this.options.x, this.options.y, this.options.width, this.options.height)), r = $J(n), [4, this.renderStack(r)];
|
|
55265
55267
|
case 1:
|
|
55266
55268
|
return s.sent(), this.applyEffects([]), [2, this.canvas];
|
|
55267
55269
|
}
|
|
@@ -55311,7 +55313,7 @@ var Bn = function(t, e, n, r, s) {
|
|
|
55311
55313
|
case 0:
|
|
55312
55314
|
return r = v2(this.options.width * this.options.scale, this.options.height * this.options.scale, this.options.scale, this.options.scale, n), [4, mX(r)];
|
|
55313
55315
|
case 1:
|
|
55314
|
-
return s = i.sent(), this.options.backgroundColor && (this.ctx.fillStyle =
|
|
55316
|
+
return s = i.sent(), this.options.backgroundColor && (this.ctx.fillStyle = _r(this.options.backgroundColor), this.ctx.fillRect(0, 0, this.options.width * this.options.scale, this.options.height * this.options.scale)), this.ctx.drawImage(s, -this.options.x * this.options.scale, -this.options.y * this.options.scale), [2, this.canvas];
|
|
55315
55317
|
}
|
|
55316
55318
|
});
|
|
55317
55319
|
});
|
|
@@ -56583,7 +56585,7 @@ const hZ = () => {
|
|
|
56583
56585
|
t = t >>> 8 ^ s[(t ^ e[o]) & 255];
|
|
56584
56586
|
return t ^ -1;
|
|
56585
56587
|
};
|
|
56586
|
-
var
|
|
56588
|
+
var Cr = fZ, YA = {
|
|
56587
56589
|
2: "need dictionary",
|
|
56588
56590
|
/* Z_NEED_DICT 2 */
|
|
56589
56591
|
1: "stream end",
|
|
@@ -56689,7 +56691,7 @@ const Hs = (t) => {
|
|
|
56689
56691
|
t.pending_buf[t.pending++] = e >>> 8 & 255, t.pending_buf[t.pending++] = e & 255;
|
|
56690
56692
|
}, L2 = (t, e, n, r) => {
|
|
56691
56693
|
let s = t.avail_in;
|
|
56692
|
-
return s > r && (s = r), s === 0 ? 0 : (t.avail_in -= s, e.set(t.input.subarray(t.next_in, t.next_in + s), n), t.state.wrap === 1 ? t.adler = mh(t.adler, e, s, n) : t.state.wrap === 2 && (t.adler =
|
|
56694
|
+
return s > r && (s = r), s === 0 ? 0 : (t.avail_in -= s, e.set(t.input.subarray(t.next_in, t.next_in + s), n), t.state.wrap === 1 ? t.adler = mh(t.adler, e, s, n) : t.state.wrap === 2 && (t.adler = Cr(t.adler, e, s, n)), t.next_in += s, t.total_in += s, s);
|
|
56693
56695
|
}, y8 = (t, e) => {
|
|
56694
56696
|
let n = t.max_chain_length, r = t.strstart, s, i, o = t.prev_length, a = t.nice_match;
|
|
56695
56697
|
const d = t.strstart > t.w_size - To ? t.strstart - (t.w_size - To) : 0, l = t.window, c = t.w_mask, u = t.prev, h = t.strstart + _l;
|
|
@@ -56892,7 +56894,7 @@ const Vh = (t) => {
|
|
|
56892
56894
|
Xt(
|
|
56893
56895
|
n,
|
|
56894
56896
|
(n.gzhead.text ? 1 : 0) + (n.gzhead.hcrc ? 2 : 0) + (n.gzhead.extra ? 4 : 0) + (n.gzhead.name ? 8 : 0) + (n.gzhead.comment ? 16 : 0)
|
|
56895
|
-
), Xt(n, n.gzhead.time & 255), Xt(n, n.gzhead.time >> 8 & 255), Xt(n, n.gzhead.time >> 16 & 255), Xt(n, n.gzhead.time >> 24 & 255), Xt(n, n.level === 9 ? 2 : n.strategy >= xf || n.level < 2 ? 4 : 0), Xt(n, n.gzhead.os & 255), n.gzhead.extra && n.gzhead.extra.length && (Xt(n, n.gzhead.extra.length & 255), Xt(n, n.gzhead.extra.length >> 8 & 255)), n.gzhead.hcrc && (t.adler =
|
|
56897
|
+
), Xt(n, n.gzhead.time & 255), Xt(n, n.gzhead.time >> 8 & 255), Xt(n, n.gzhead.time >> 16 & 255), Xt(n, n.gzhead.time >> 24 & 255), Xt(n, n.level === 9 ? 2 : n.strategy >= xf || n.level < 2 ? 4 : 0), Xt(n, n.gzhead.os & 255), n.gzhead.extra && n.gzhead.extra.length && (Xt(n, n.gzhead.extra.length & 255), Xt(n, n.gzhead.extra.length >> 8 & 255)), n.gzhead.hcrc && (t.adler = Cr(t.adler, n.pending_buf, n.pending, 0)), n.gzindex = 0, n.status = R2;
|
|
56896
56898
|
else if (Xt(n, 0), Xt(n, 0), Xt(n, 0), Xt(n, 0), Xt(n, 0), Xt(n, n.level === 9 ? 2 : n.strategy >= xf || n.level < 2 ? 4 : 0), Xt(n, LZ), n.status = zd, Hs(t), n.pending !== 0)
|
|
56897
56899
|
return n.last_flush = -1, Pr;
|
|
56898
56900
|
}
|
|
@@ -56901,12 +56903,12 @@ const Vh = (t) => {
|
|
|
56901
56903
|
let s = n.pending, i = (n.gzhead.extra.length & 65535) - n.gzindex;
|
|
56902
56904
|
for (; n.pending + i > n.pending_buf_size; ) {
|
|
56903
56905
|
let a = n.pending_buf_size - n.pending;
|
|
56904
|
-
if (n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex, n.gzindex + a), n.pending), n.pending = n.pending_buf_size, n.gzhead.hcrc && n.pending > s && (t.adler =
|
|
56906
|
+
if (n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex, n.gzindex + a), n.pending), n.pending = n.pending_buf_size, n.gzhead.hcrc && n.pending > s && (t.adler = Cr(t.adler, n.pending_buf, n.pending - s, s)), n.gzindex += a, Hs(t), n.pending !== 0)
|
|
56905
56907
|
return n.last_flush = -1, Pr;
|
|
56906
56908
|
s = 0, i -= a;
|
|
56907
56909
|
}
|
|
56908
56910
|
let o = new Uint8Array(n.gzhead.extra);
|
|
56909
|
-
n.pending_buf.set(o.subarray(n.gzindex, n.gzindex + i), n.pending), n.pending += i, n.gzhead.hcrc && n.pending > s && (t.adler =
|
|
56911
|
+
n.pending_buf.set(o.subarray(n.gzindex, n.gzindex + i), n.pending), n.pending += i, n.gzhead.hcrc && n.pending > s && (t.adler = Cr(t.adler, n.pending_buf, n.pending - s, s)), n.gzindex = 0;
|
|
56910
56912
|
}
|
|
56911
56913
|
n.status = P2;
|
|
56912
56914
|
}
|
|
@@ -56915,13 +56917,13 @@ const Vh = (t) => {
|
|
|
56915
56917
|
let s = n.pending, i;
|
|
56916
56918
|
do {
|
|
56917
56919
|
if (n.pending === n.pending_buf_size) {
|
|
56918
|
-
if (n.gzhead.hcrc && n.pending > s && (t.adler =
|
|
56920
|
+
if (n.gzhead.hcrc && n.pending > s && (t.adler = Cr(t.adler, n.pending_buf, n.pending - s, s)), Hs(t), n.pending !== 0)
|
|
56919
56921
|
return n.last_flush = -1, Pr;
|
|
56920
56922
|
s = 0;
|
|
56921
56923
|
}
|
|
56922
56924
|
n.gzindex < n.gzhead.name.length ? i = n.gzhead.name.charCodeAt(n.gzindex++) & 255 : i = 0, Xt(n, i);
|
|
56923
56925
|
} while (i !== 0);
|
|
56924
|
-
n.gzhead.hcrc && n.pending > s && (t.adler =
|
|
56926
|
+
n.gzhead.hcrc && n.pending > s && (t.adler = Cr(t.adler, n.pending_buf, n.pending - s, s)), n.gzindex = 0;
|
|
56925
56927
|
}
|
|
56926
56928
|
n.status = N2;
|
|
56927
56929
|
}
|
|
@@ -56930,13 +56932,13 @@ const Vh = (t) => {
|
|
|
56930
56932
|
let s = n.pending, i;
|
|
56931
56933
|
do {
|
|
56932
56934
|
if (n.pending === n.pending_buf_size) {
|
|
56933
|
-
if (n.gzhead.hcrc && n.pending > s && (t.adler =
|
|
56935
|
+
if (n.gzhead.hcrc && n.pending > s && (t.adler = Cr(t.adler, n.pending_buf, n.pending - s, s)), Hs(t), n.pending !== 0)
|
|
56934
56936
|
return n.last_flush = -1, Pr;
|
|
56935
56937
|
s = 0;
|
|
56936
56938
|
}
|
|
56937
56939
|
n.gzindex < n.gzhead.comment.length ? i = n.gzhead.comment.charCodeAt(n.gzindex++) & 255 : i = 0, Xt(n, i);
|
|
56938
56940
|
} while (i !== 0);
|
|
56939
|
-
n.gzhead.hcrc && n.pending > s && (t.adler =
|
|
56941
|
+
n.gzhead.hcrc && n.pending > s && (t.adler = Cr(t.adler, n.pending_buf, n.pending - s, s));
|
|
56940
56942
|
}
|
|
56941
56943
|
n.status = O2;
|
|
56942
56944
|
}
|
|
@@ -57527,7 +57529,7 @@ const Q$ = (t) => {
|
|
|
57527
57529
|
a--, l += r[i++] << c, c += 8;
|
|
57528
57530
|
}
|
|
57529
57531
|
if (n.wrap & 2 && l === 35615) {
|
|
57530
|
-
n.wbits === 0 && (n.wbits = 15), n.check = 0, R[0] = l & 255, R[1] = l >>> 8 & 255, n.check =
|
|
57532
|
+
n.wbits === 0 && (n.wbits = 15), n.check = 0, R[0] = l & 255, R[1] = l >>> 8 & 255, n.check = Cr(n.check, R, 2, 0), l = 0, c = 0, n.mode = oB;
|
|
57531
57533
|
break;
|
|
57532
57534
|
}
|
|
57533
57535
|
if (n.head && (n.head.done = !1), !(n.wrap & 1) || /* check if zlib header allowed */
|
|
@@ -57559,21 +57561,21 @@ const Q$ = (t) => {
|
|
|
57559
57561
|
t.msg = "unknown header flags set", n.mode = En;
|
|
57560
57562
|
break;
|
|
57561
57563
|
}
|
|
57562
|
-
n.head && (n.head.text = l >> 8 & 1), n.flags & 512 && n.wrap & 4 && (R[0] = l & 255, R[1] = l >>> 8 & 255, n.check =
|
|
57564
|
+
n.head && (n.head.text = l >> 8 & 1), n.flags & 512 && n.wrap & 4 && (R[0] = l & 255, R[1] = l >>> 8 & 255, n.check = Cr(n.check, R, 2, 0)), l = 0, c = 0, n.mode = aB;
|
|
57563
57565
|
case aB:
|
|
57564
57566
|
for (; c < 32; ) {
|
|
57565
57567
|
if (a === 0)
|
|
57566
57568
|
break e;
|
|
57567
57569
|
a--, l += r[i++] << c, c += 8;
|
|
57568
57570
|
}
|
|
57569
|
-
n.head && (n.head.time = l), n.flags & 512 && n.wrap & 4 && (R[0] = l & 255, R[1] = l >>> 8 & 255, R[2] = l >>> 16 & 255, R[3] = l >>> 24 & 255, n.check =
|
|
57571
|
+
n.head && (n.head.time = l), n.flags & 512 && n.wrap & 4 && (R[0] = l & 255, R[1] = l >>> 8 & 255, R[2] = l >>> 16 & 255, R[3] = l >>> 24 & 255, n.check = Cr(n.check, R, 4, 0)), l = 0, c = 0, n.mode = lB;
|
|
57570
57572
|
case lB:
|
|
57571
57573
|
for (; c < 16; ) {
|
|
57572
57574
|
if (a === 0)
|
|
57573
57575
|
break e;
|
|
57574
57576
|
a--, l += r[i++] << c, c += 8;
|
|
57575
57577
|
}
|
|
57576
|
-
n.head && (n.head.xflags = l & 255, n.head.os = l >> 8), n.flags & 512 && n.wrap & 4 && (R[0] = l & 255, R[1] = l >>> 8 & 255, n.check =
|
|
57578
|
+
n.head && (n.head.xflags = l & 255, n.head.os = l >> 8), n.flags & 512 && n.wrap & 4 && (R[0] = l & 255, R[1] = l >>> 8 & 255, n.check = Cr(n.check, R, 2, 0)), l = 0, c = 0, n.mode = dB;
|
|
57577
57579
|
case dB:
|
|
57578
57580
|
if (n.flags & 1024) {
|
|
57579
57581
|
for (; c < 16; ) {
|
|
@@ -57581,7 +57583,7 @@ const Q$ = (t) => {
|
|
|
57581
57583
|
break e;
|
|
57582
57584
|
a--, l += r[i++] << c, c += 8;
|
|
57583
57585
|
}
|
|
57584
|
-
n.length = l, n.head && (n.head.extra_len = l), n.flags & 512 && n.wrap & 4 && (R[0] = l & 255, R[1] = l >>> 8 & 255, n.check =
|
|
57586
|
+
n.length = l, n.head && (n.head.extra_len = l), n.flags & 512 && n.wrap & 4 && (R[0] = l & 255, R[1] = l >>> 8 & 255, n.check = Cr(n.check, R, 2, 0)), l = 0, c = 0;
|
|
57585
57587
|
} else
|
|
57586
57588
|
n.head && (n.head.extra = null);
|
|
57587
57589
|
n.mode = cB;
|
|
@@ -57595,7 +57597,7 @@ const Q$ = (t) => {
|
|
|
57595
57597
|
),
|
|
57596
57598
|
/*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/
|
|
57597
57599
|
W
|
|
57598
|
-
)), n.flags & 512 && n.wrap & 4 && (n.check =
|
|
57600
|
+
)), n.flags & 512 && n.wrap & 4 && (n.check = Cr(n.check, r, p, i)), a -= p, i += p, n.length -= p), n.length))
|
|
57599
57601
|
break e;
|
|
57600
57602
|
n.length = 0, n.mode = AB;
|
|
57601
57603
|
case AB:
|
|
@@ -57606,7 +57608,7 @@ const Q$ = (t) => {
|
|
|
57606
57608
|
do
|
|
57607
57609
|
W = r[i + p++], n.head && W && n.length < 65536 && (n.head.name += String.fromCharCode(W));
|
|
57608
57610
|
while (W && p < a);
|
|
57609
|
-
if (n.flags & 512 && n.wrap & 4 && (n.check =
|
|
57611
|
+
if (n.flags & 512 && n.wrap & 4 && (n.check = Cr(n.check, r, p, i)), a -= p, i += p, W)
|
|
57610
57612
|
break e;
|
|
57611
57613
|
} else
|
|
57612
57614
|
n.head && (n.head.name = null);
|
|
@@ -57619,7 +57621,7 @@ const Q$ = (t) => {
|
|
|
57619
57621
|
do
|
|
57620
57622
|
W = r[i + p++], n.head && W && n.length < 65536 && (n.head.comment += String.fromCharCode(W));
|
|
57621
57623
|
while (W && p < a);
|
|
57622
|
-
if (n.flags & 512 && n.wrap & 4 && (n.check =
|
|
57624
|
+
if (n.flags & 512 && n.wrap & 4 && (n.check = Cr(n.check, r, p, i)), a -= p, i += p, W)
|
|
57623
57625
|
break e;
|
|
57624
57626
|
} else
|
|
57625
57627
|
n.head && (n.head.comment = null);
|
|
@@ -57897,7 +57899,7 @@ const Q$ = (t) => {
|
|
|
57897
57899
|
a--, l |= r[i++] << c, c += 8;
|
|
57898
57900
|
}
|
|
57899
57901
|
if (h -= d, t.total_out += h, n.total += h, n.wrap & 4 && h && (t.adler = n.check = /*UPDATE_CHECK(state.check, put - _out, _out);*/
|
|
57900
|
-
n.flags ?
|
|
57902
|
+
n.flags ? Cr(n.check, s, h, o - h) : mh(n.check, s, h, o - h)), h = d, n.wrap & 4 && (n.flags ? l : kB(l)) !== n.check) {
|
|
57901
57903
|
t.msg = "incorrect data check", n.mode = En;
|
|
57902
57904
|
break;
|
|
57903
57905
|
}
|
|
@@ -57931,7 +57933,7 @@ const Q$ = (t) => {
|
|
|
57931
57933
|
return Ci;
|
|
57932
57934
|
}
|
|
57933
57935
|
return t.next_out = o, t.avail_out = d, t.next_in = i, t.avail_in = a, n.hold = l, n.bits = c, (n.wsize || h !== t.avail_out && n.mode < En && (n.mode < Bb || e !== sB)) && P8(t, t.output, t.next_out, h - t.avail_out), u -= t.avail_in, h -= t.avail_out, t.total_in += u, t.total_out += h, n.total += h, n.wrap & 4 && h && (t.adler = n.check = /*UPDATE_CHECK(state.check, strm.next_out - _out, _out);*/
|
|
57934
|
-
n.flags ?
|
|
57936
|
+
n.flags ? Cr(n.check, s, h, t.next_out - h) : mh(n.check, s, h, t.next_out - h)), t.data_type = n.bits + (n.last ? 64 : 0) + (n.mode === ua ? 128 : 0) + (n.mode === Ef || n.mode === Cb ? 256 : 0), (u === 0 && h === 0 || e === sB) && K === uc && (K = F$), K;
|
|
57935
57937
|
}, z$ = (t) => {
|
|
57936
57938
|
if (vc(t))
|
|
57937
57939
|
return Ci;
|
|
@@ -59295,18 +59297,18 @@ function pt(t) {
|
|
|
59295
59297
|
`), ni(y, I), $t.publish("endTilingPattern", I), ao.pop().restore();
|
|
59296
59298
|
};
|
|
59297
59299
|
var ri, Tn = p.__private__.newObject = function() {
|
|
59298
|
-
var y =
|
|
59300
|
+
var y = vr();
|
|
59299
59301
|
return kr(y, !0), y;
|
|
59300
|
-
},
|
|
59302
|
+
}, vr = p.__private__.newObjectDeferred = function() {
|
|
59301
59303
|
return re++, le[re] = function() {
|
|
59302
59304
|
return we;
|
|
59303
59305
|
}, re;
|
|
59304
59306
|
}, kr = function(y, I) {
|
|
59305
59307
|
return I = typeof I == "boolean" && I, le[y] = we, I && Z(y + " 0 obj"), y;
|
|
59306
59308
|
}, ed = p.__private__.newAdditionalObject = function() {
|
|
59307
|
-
var y = { objId:
|
|
59309
|
+
var y = { objId: vr(), content: "" };
|
|
59308
59310
|
return Te.push(y), y;
|
|
59309
|
-
}, Qa =
|
|
59311
|
+
}, Qa = vr(), Si = vr(), lo = p.__private__.decodeColorString = function(y) {
|
|
59310
59312
|
var I = y.split(" ");
|
|
59311
59313
|
if (I.length !== 2 || I[1] !== "g" && I[1] !== "G")
|
|
59312
59314
|
I.length !== 5 || I[4] !== "k" && I[4] !== "K" || (I = [(1 - I[0]) * (1 - I[3]), (1 - I[1]) * (1 - I[3]), (1 - I[2]) * (1 - I[3]), "r"]);
|
|
@@ -59379,7 +59381,7 @@ Q`), kr(ce, !0), si({ data: je, filters: Ti(), objectId: ce }), Z("endobj"), te;
|
|
|
59379
59381
|
}, co = p.__private__.putPages = function() {
|
|
59380
59382
|
var y, I, J = [];
|
|
59381
59383
|
for (y = 1; y <= An; y++)
|
|
59382
|
-
Ct[y].objId =
|
|
59384
|
+
Ct[y].objId = vr(), Ct[y].contentsObjId = vr();
|
|
59383
59385
|
for (y = 1; y <= An; y++)
|
|
59384
59386
|
J.push(td({ number: y, data: Pe[y], objId: Ct[y].objId, contentsObjId: Ct[y].contentsObjId, mediaBox: Ct[y].mediaBox, cropBox: Ct[y].cropBox, bleedBox: Ct[y].bleedBox, trimBox: Ct[y].trimBox, artBox: Ct[y].artBox, userUnit: Ct[y].userUnit, rootDictionaryObjId: Qa, resourceDictionaryObjId: Si }));
|
|
59385
59387
|
kr(Qa, !0), Z("<</Type /Pages");
|
|
@@ -59422,7 +59424,7 @@ Q`), kr(ce, !0), si({ data: je, filters: Ti(), objectId: ce }), Z("endobj"), te;
|
|
|
59422
59424
|
var je = "/Coords [" + K(parseFloat(y.coords[0])) + " " + K(parseFloat(y.coords[1])) + " ";
|
|
59423
59425
|
y.type === 2 ? je += K(parseFloat(y.coords[2])) + " " + K(parseFloat(y.coords[3])) : je += K(parseFloat(y.coords[2])) + " " + K(parseFloat(y.coords[3])) + " " + K(parseFloat(y.coords[4])) + " " + K(parseFloat(y.coords[5])), Z(je += "]"), y.matrix && Z("/Matrix [" + y.matrix.toString() + "]"), Z("/Function " + J + " 0 R"), Z("/Extend [true true]"), Z(">>"), Z("endobj");
|
|
59424
59426
|
}, kc = function(y, I) {
|
|
59425
|
-
var J =
|
|
59427
|
+
var J = vr(), te = Tn();
|
|
59426
59428
|
I.push({ resourcesOid: J, objectOid: te }), y.objectNumber = te;
|
|
59427
59429
|
var ce = [];
|
|
59428
59430
|
ce.push({ key: "Type", value: "/Pattern" }), ce.push({ key: "PatternType", value: "1" }), ce.push({ key: "PaintType", value: "1" }), ce.push({ key: "TilingType", value: "1" }), ce.push({ key: "BBox", value: "[" + y.boundingBox.map(K).join(" ") + "]" }), ce.push({ key: "XStep", value: K(y.xStep) }), ce.push({ key: "YStep", value: K(y.yStep) }), ce.push({ key: "Resources", value: J + " 0 R" }), y.matrix && ce.push({ key: "Matrix", value: "[" + y.matrix.toString() + "]" }), si({ data: y.stream, additionalKeyValues: ce, objectId: y.objectNumber }), Z("endobj");
|
|
@@ -59562,7 +59564,7 @@ Q`), kr(ce, !0), si({ data: je, filters: Ti(), objectId: ce }), Z("endobj"), te;
|
|
|
59562
59564
|
typeof le[I] == "function" ? Z((y + le[I]()).slice(-10) + " 00000 n ") : le[I] !== void 0 ? Z((y + le[I]).slice(-10) + " 00000 n ") : Z("0000000000 00000 n ");
|
|
59563
59565
|
}, Jo = p.__private__.buildDocument = function() {
|
|
59564
59566
|
var y;
|
|
59565
|
-
re = 0, we = 0, Be = [], le = [], Te = [], Qa =
|
|
59567
|
+
re = 0, we = 0, Be = [], le = [], Te = [], Qa = vr(), Si = vr(), Ee(Be), $t.publish("buildDocument"), ng(), co(), function() {
|
|
59566
59568
|
$t.publish("putAdditionalObjects");
|
|
59567
59569
|
for (var J = 0; J < Te.length; J++) {
|
|
59568
59570
|
var te = Te[J];
|
|
@@ -59766,7 +59768,7 @@ Q`), kr(ce, !0), si({ data: je, filters: Ti(), objectId: ce }), Z("endobj"), te;
|
|
|
59766
59768
|
else if (Array.isArray(y)) {
|
|
59767
59769
|
var Fc = y.concat();
|
|
59768
59770
|
Le = [];
|
|
59769
|
-
for (var qa,
|
|
59771
|
+
for (var qa, wr = Fc.length; wr--; )
|
|
59770
59772
|
(typeof (qa = Fc.shift()) != "string" || Array.isArray(qa) && typeof qa[0] != "string") && (Nu = !1);
|
|
59771
59773
|
ji = Nu;
|
|
59772
59774
|
}
|
|
@@ -59848,21 +59850,21 @@ Q`), kr(ce, !0), si({ data: je, filters: Ti(), objectId: ce }), Z("endobj"), te;
|
|
|
59848
59850
|
Le = og(y), dt !== "left" && (pr = Le.map(Pc));
|
|
59849
59851
|
var vs, ud = 0;
|
|
59850
59852
|
if (dt === "right") {
|
|
59851
|
-
I -= pr[0], y = [],
|
|
59852
|
-
for (var po = 0; po <
|
|
59853
|
+
I -= pr[0], y = [], wr = Le.length;
|
|
59854
|
+
for (var po = 0; po < wr; po++)
|
|
59853
59855
|
po === 0 ? (vs = Xo(I), bs = Zo(J)) : (vs = X(ud - pr[po]), bs = -oi), y.push([Le[po], vs, bs]), ud = pr[po];
|
|
59854
59856
|
} else if (dt === "center") {
|
|
59855
|
-
I -= pr[0] / 2, y = [],
|
|
59856
|
-
for (var Va = 0; Va <
|
|
59857
|
+
I -= pr[0] / 2, y = [], wr = Le.length;
|
|
59858
|
+
for (var Va = 0; Va < wr; Va++)
|
|
59857
59859
|
Va === 0 ? (vs = Xo(I), bs = Zo(J)) : (vs = X((ud - pr[Va]) / 2), bs = -oi), y.push([Le[Va], vs, bs]), ud = pr[Va];
|
|
59858
59860
|
} else if (dt === "left") {
|
|
59859
|
-
y = [],
|
|
59860
|
-
for (var Mu = 0; Mu <
|
|
59861
|
+
y = [], wr = Le.length;
|
|
59862
|
+
for (var Mu = 0; Mu < wr; Mu++)
|
|
59861
59863
|
y.push(Le[Mu]);
|
|
59862
59864
|
} else if (dt === "justify" && Qu.encoding === "Identity-H") {
|
|
59863
|
-
y = [],
|
|
59864
|
-
for (var Ga = 0, Qn = 0; Qn <
|
|
59865
|
-
if (bs = Qn === 0 ? Zo(J) : -oi, vs = Qn === 0 ? Xo(I) : Ga, Qn <
|
|
59865
|
+
y = [], wr = Le.length, Ut = Ut !== 0 ? Ut : Lu;
|
|
59866
|
+
for (var Ga = 0, Qn = 0; Qn < wr; Qn++)
|
|
59867
|
+
if (bs = Qn === 0 ? Zo(J) : -oi, vs = Qn === 0 ? Xo(I) : Ga, Qn < wr - 1) {
|
|
59866
59868
|
var E1 = X((Ut - pr[Qn]) / (Le[Qn].split(" ").length - 1)), ho = Le[Qn].split(" ");
|
|
59867
59869
|
y.push([ho[0] + " ", vs, bs]), Ga = 0;
|
|
59868
59870
|
for (var go = 1; go < ho.length; go++) {
|
|
@@ -59875,8 +59877,8 @@ Q`), kr(ce, !0), si({ data: je, filters: Ti(), objectId: ce }), Z("endobj"), te;
|
|
|
59875
59877
|
} else {
|
|
59876
59878
|
if (dt !== "justify")
|
|
59877
59879
|
throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');
|
|
59878
|
-
for (y = [],
|
|
59879
|
-
bs = Qn === 0 ? Zo(J) : -oi, vs = Qn === 0 ? Xo(I) : 0, Qn <
|
|
59880
|
+
for (y = [], wr = Le.length, Ut = Ut !== 0 ? Ut : Lu, Qn = 0; Qn < wr; Qn++)
|
|
59881
|
+
bs = Qn === 0 ? Zo(J) : -oi, vs = Qn === 0 ? Xo(I) : 0, Qn < wr - 1 ? Ka.push(K(X((Ut - pr[Qn]) / (Le[Qn].split(" ").length - 1)))) : Ka.push(0), y.push([Le[Qn], vs, bs]);
|
|
59880
59882
|
}
|
|
59881
59883
|
}
|
|
59882
59884
|
(typeof te.R2L == "boolean" ? te.R2L : se) === !0 && (y = Ad(y, function(yn, bn, Mn) {
|
|
@@ -60262,7 +60264,7 @@ T* `) : y.join(` Tj
|
|
|
60262
60264
|
}, uo = p.setPageHeight = function(y, I) {
|
|
60263
60265
|
Ct[y].mediaBox.topRightY = I * ft + Ct[y].mediaBox.bottomLeftY;
|
|
60264
60266
|
};
|
|
60265
|
-
return p.internal = { pdfEscape: ii, getStyle: sg, getFont: m1, getFontSize: N, getCharSpace: C1, getTextColor: Tc, getLineHeight: b1, getLineHeightFactor: w1, getLineWidth: Bt, write: xt, getHorizontalCoordinate: Xo, getVerticalCoordinate: Zo, getCoordinateString: _1, getVerticalCoordinateString: x1, collections: {}, newObject: Tn, newAdditionalObject: ed, newObjectDeferred:
|
|
60267
|
+
return p.internal = { pdfEscape: ii, getStyle: sg, getFont: m1, getFontSize: N, getCharSpace: C1, getTextColor: Tc, getLineHeight: b1, getLineHeightFactor: w1, getLineWidth: Bt, write: xt, getHorizontalCoordinate: Xo, getVerticalCoordinate: Zo, getCoordinateString: _1, getVerticalCoordinateString: x1, collections: {}, newObject: Tn, newAdditionalObject: ed, newObjectDeferred: vr, newObjectDeferredBegin: kr, getFilters: Ti, putStream: si, events: $t, scaleFactor: ft, pageSize: { getWidth: function() {
|
|
60266
60268
|
return Ru(z);
|
|
60267
60269
|
}, setWidth: function(y) {
|
|
60268
60270
|
Pu(z, y);
|
|
@@ -60739,13 +60741,13 @@ var so = function t() {
|
|
|
60739
60741
|
var h = null;
|
|
60740
60742
|
Object.defineProperty(this, "DV", { enumerable: !1, configurable: !1, get: function() {
|
|
60741
60743
|
if (h)
|
|
60742
|
-
return this instanceof
|
|
60744
|
+
return this instanceof Br == 0 ? Pb(h, this.objId, this.scope) : h;
|
|
60743
60745
|
}, set: function(v) {
|
|
60744
|
-
v = v.toString(), h = this instanceof
|
|
60746
|
+
v = v.toString(), h = this instanceof Br == 0 ? v.substr(0, 1) === "(" ? sA(v.substr(1, v.length - 2)) : sA(v) : v;
|
|
60745
60747
|
} }), Object.defineProperty(this, "defaultValue", { enumerable: !0, configurable: !0, get: function() {
|
|
60746
|
-
return this instanceof
|
|
60748
|
+
return this instanceof Br == 1 ? sA(h.substr(1, h.length - 1)) : h;
|
|
60747
60749
|
}, set: function(v) {
|
|
60748
|
-
v = v.toString(), h = this instanceof
|
|
60750
|
+
v = v.toString(), h = this instanceof Br == 1 ? "/" + v : v;
|
|
60749
60751
|
} });
|
|
60750
60752
|
var p = null;
|
|
60751
60753
|
Object.defineProperty(this, "_V", { enumerable: !1, configurable: !1, get: function() {
|
|
@@ -60755,13 +60757,13 @@ var so = function t() {
|
|
|
60755
60757
|
this.V = v;
|
|
60756
60758
|
} }), Object.defineProperty(this, "V", { enumerable: !1, configurable: !1, get: function() {
|
|
60757
60759
|
if (p)
|
|
60758
|
-
return this instanceof
|
|
60760
|
+
return this instanceof Br == 0 ? Pb(p, this.objId, this.scope) : p;
|
|
60759
60761
|
}, set: function(v) {
|
|
60760
|
-
v = v.toString(), p = this instanceof
|
|
60762
|
+
v = v.toString(), p = this instanceof Br == 0 ? v.substr(0, 1) === "(" ? sA(v.substr(1, v.length - 2)) : sA(v) : v;
|
|
60761
60763
|
} }), Object.defineProperty(this, "value", { enumerable: !0, configurable: !0, get: function() {
|
|
60762
|
-
return this instanceof
|
|
60764
|
+
return this instanceof Br == 1 ? sA(p.substr(1, p.length - 1)) : p;
|
|
60763
60765
|
}, set: function(v) {
|
|
60764
|
-
v = v.toString(), p = this instanceof
|
|
60766
|
+
v = v.toString(), p = this instanceof Br == 1 ? "/" + v : v;
|
|
60765
60767
|
} }), Object.defineProperty(this, "hasAnnotation", { enumerable: !0, configurable: !0, get: function() {
|
|
60766
60768
|
return this.Rect;
|
|
60767
60769
|
} }), Object.defineProperty(this, "Type", { enumerable: !0, configurable: !1, get: function() {
|
|
@@ -60901,7 +60903,7 @@ var sm = function() {
|
|
|
60901
60903
|
kA.call(this), this.edit = !0;
|
|
60902
60904
|
};
|
|
60903
60905
|
Ts(sm, kA);
|
|
60904
|
-
var
|
|
60906
|
+
var Br = function() {
|
|
60905
60907
|
so.call(this), this.FT = "/Btn", Object.defineProperty(this, "noToggleToOff", { enumerable: !0, configurable: !0, get: function() {
|
|
60906
60908
|
return !!Wn(this.Ff, 15);
|
|
60907
60909
|
}, set: function(n) {
|
|
@@ -60947,13 +60949,13 @@ var Cr = function() {
|
|
|
60947
60949
|
t = "/" + n;
|
|
60948
60950
|
} });
|
|
60949
60951
|
};
|
|
60950
|
-
Ts(
|
|
60952
|
+
Ts(Br, so);
|
|
60951
60953
|
var im = function() {
|
|
60952
|
-
|
|
60954
|
+
Br.call(this), this.pushButton = !0;
|
|
60953
60955
|
};
|
|
60954
|
-
Ts(im,
|
|
60956
|
+
Ts(im, Br);
|
|
60955
60957
|
var SA = function() {
|
|
60956
|
-
|
|
60958
|
+
Br.call(this), this.radio = !0, this.pushButton = !1;
|
|
60957
60959
|
var t = [];
|
|
60958
60960
|
Object.defineProperty(this, "Kids", { enumerable: !0, configurable: !1, get: function() {
|
|
60959
60961
|
return t;
|
|
@@ -60961,7 +60963,7 @@ var SA = function() {
|
|
|
60961
60963
|
t = e !== void 0 ? e : [];
|
|
60962
60964
|
} });
|
|
60963
60965
|
};
|
|
60964
|
-
Ts(SA,
|
|
60966
|
+
Ts(SA, Br);
|
|
60965
60967
|
var l0 = function() {
|
|
60966
60968
|
var t, e;
|
|
60967
60969
|
so.call(this), Object.defineProperty(this, "Parent", { enumerable: !1, configurable: !1, get: function() {
|
|
@@ -61013,9 +61015,9 @@ Ts(l0, so), SA.prototype.setAppearance = function(t) {
|
|
|
61013
61015
|
return e.Parent = this, e.optionName = t, this.Kids.push(e), ete.call(this.scope, e), e;
|
|
61014
61016
|
};
|
|
61015
61017
|
var om = function() {
|
|
61016
|
-
|
|
61018
|
+
Br.call(this), this.fontName = "zapfdingbats", this.caption = "3", this.appearanceState = "On", this.value = "On", this.textAlign = "center", this.appearanceStreamContent = nt.CheckBox.createAppearanceStream();
|
|
61017
61019
|
};
|
|
61018
|
-
Ts(om,
|
|
61020
|
+
Ts(om, Br);
|
|
61019
61021
|
var Yd = function() {
|
|
61020
61022
|
so.call(this), this.FT = "/Tx", Object.defineProperty(this, "multiline", { enumerable: !0, configurable: !0, get: function() {
|
|
61021
61023
|
return !!Wn(this.Ff, 13);
|
|
@@ -61156,7 +61158,7 @@ var ete = Pn.addField = function(t) {
|
|
|
61156
61158
|
var e;
|
|
61157
61159
|
return (e = t).scope.internal.acroformPlugin.printedOut && (e.scope.internal.acroformPlugin.printedOut = !1, e.scope.internal.acroformPlugin.acroFormDictionaryRoot = null), e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e), t.page = t.scope.internal.getCurrentPageInfo().pageNumber, this;
|
|
61158
61160
|
};
|
|
61159
|
-
Pn.AcroFormChoiceField = BA, Pn.AcroFormListBox = EA, Pn.AcroFormComboBox = kA, Pn.AcroFormEditBox = sm, Pn.AcroFormButton =
|
|
61161
|
+
Pn.AcroFormChoiceField = BA, Pn.AcroFormListBox = EA, Pn.AcroFormComboBox = kA, Pn.AcroFormEditBox = sm, Pn.AcroFormButton = Br, Pn.AcroFormPushButton = im, Pn.AcroFormRadioButton = SA, Pn.AcroFormCheckBox = om, Pn.AcroFormTextField = Yd, Pn.AcroFormPasswordField = am, Pn.AcroFormAppearance = nt, Pn.AcroForm = { ChoiceField: BA, ListBox: EA, ComboBox: kA, EditBox: sm, Button: Br, PushButton: im, RadioButton: SA, CheckBox: om, TextField: Yd, PasswordField: am, Appearance: nt }, pt.AcroForm = { ChoiceField: BA, ListBox: EA, ComboBox: kA, EditBox: sm, Button: Br, PushButton: im, RadioButton: SA, CheckBox: om, TextField: Yd, PasswordField: am, Appearance: nt };
|
|
61160
61162
|
function Z8(t) {
|
|
61161
61163
|
return t.reduce(function(e, n, r) {
|
|
61162
61164
|
return e[n] = r, e;
|
|
@@ -62087,7 +62089,7 @@ function Qb(t) {
|
|
|
62087
62089
|
}
|
|
62088
62090
|
for (ct = 0, Ke = 0; Ke < 8; ++Ke) {
|
|
62089
62091
|
N = _[ct], se = _[ct + 8], ge = _[ct + 16], ke = _[ct + 24], Ge = _[ct + 32], Je = _[ct + 40], gt = _[ct + 48];
|
|
62090
|
-
var Yo = N + (lt = _[ct + 56]), ni = N - lt, ri = se + gt, Tn = se - gt,
|
|
62092
|
+
var Yo = N + (lt = _[ct + 56]), ni = N - lt, ri = se + gt, Tn = se - gt, vr = ge + Je, kr = ge - Je, ed = ke + Ge, Qa = ke - Ge, Si = Yo + ed, lo = Yo - ed, Ii = ri + vr, Ti = ri - vr;
|
|
62091
62093
|
_[ct] = Si + Ii, _[ct + 32] = Si - Ii;
|
|
62092
62094
|
var si = 0.707106781 * (Ti + lo);
|
|
62093
62095
|
_[ct + 16] = lo + si, _[ct + 48] = lo - si;
|
|
@@ -62596,7 +62598,7 @@ function i6(t) {
|
|
|
62596
62598
|
var x = Y(b), S = A[g += 255 & x].g - 8;
|
|
62597
62599
|
return 0 < S && (re(b, b.u + 8), x = Y(b), g += A[g].value, g += x & (1 << S) - 1), re(b, b.u + A[g].g), A[g].value;
|
|
62598
62600
|
}
|
|
62599
|
-
function
|
|
62601
|
+
function vr(A, g, b) {
|
|
62600
62602
|
return b.g += A.g, b.value += A.value << g >>> 0, e(8 >= b.g), A.g;
|
|
62601
62603
|
}
|
|
62602
62604
|
function kr(A, g, b) {
|
|
@@ -62949,7 +62951,7 @@ function i6(t) {
|
|
|
62949
62951
|
var xg, oa = vn;
|
|
62950
62952
|
for (xg = 0; xg < po; ++xg) {
|
|
62951
62953
|
var Za = xg, $a = oa.pd[Za], Cg = oa.G[0][oa.H[0] + Za];
|
|
62952
|
-
256 <= Cg.value ? ($a.g = Cg.g + 256, $a.value = Cg.value) : ($a.g = 0, $a.value = 0, Za >>=
|
|
62954
|
+
256 <= Cg.value ? ($a.g = Cg.g + 256, $a.value = Cg.value) : ($a.g = 0, $a.value = 0, Za >>= vr(Cg, 8, $a), Za >>= vr(oa.G[1][oa.H[1] + Za], 16, $a), Za >>= vr(oa.G[2][oa.H[2] + Za], 0, $a), vr(oa.G[3][oa.H[3] + Za], 24, $a));
|
|
62953
62955
|
}
|
|
62954
62956
|
}
|
|
62955
62957
|
}
|
|
@@ -63636,25 +63638,25 @@ function i6(t) {
|
|
|
63636
63638
|
function qa(A, g) {
|
|
63637
63639
|
return Fc((19077 * A >> 8) + (26149 * g >> 8) - 14234);
|
|
63638
63640
|
}
|
|
63639
|
-
function
|
|
63641
|
+
function wr(A, g, b) {
|
|
63640
63642
|
return Fc((19077 * A >> 8) - (6419 * g >> 8) - (13320 * b >> 8) + 8708);
|
|
63641
63643
|
}
|
|
63642
63644
|
function ea(A, g) {
|
|
63643
63645
|
return Fc((19077 * A >> 8) + (33050 * g >> 8) - 17685);
|
|
63644
63646
|
}
|
|
63645
63647
|
function ta(A, g, b, x, S) {
|
|
63646
|
-
x[S + 0] = qa(A, b), x[S + 1] =
|
|
63648
|
+
x[S + 0] = qa(A, b), x[S + 1] = wr(A, g, b), x[S + 2] = ea(A, g);
|
|
63647
63649
|
}
|
|
63648
63650
|
function Dc(A, g, b, x, S) {
|
|
63649
|
-
x[S + 0] = ea(A, g), x[S + 1] =
|
|
63651
|
+
x[S + 0] = ea(A, g), x[S + 1] = wr(A, g, b), x[S + 2] = qa(A, b);
|
|
63650
63652
|
}
|
|
63651
63653
|
function Ou(A, g, b, x, S) {
|
|
63652
|
-
var j =
|
|
63654
|
+
var j = wr(A, g, b);
|
|
63653
63655
|
g = j << 3 & 224 | ea(A, g) >> 3, x[S + 0] = 248 & qa(A, b) | j >> 5, x[S + 1] = g;
|
|
63654
63656
|
}
|
|
63655
63657
|
function ts(A, g, b, x, S) {
|
|
63656
63658
|
var j = 240 & ea(A, g) | 15;
|
|
63657
|
-
x[S + 0] = 240 & qa(A, b) |
|
|
63659
|
+
x[S + 0] = 240 & qa(A, b) | wr(A, g, b) >> 4, x[S + 1] = j;
|
|
63658
63660
|
}
|
|
63659
63661
|
function ag(A, g, b, x, S) {
|
|
63660
63662
|
x[S + 0] = 255, ta(A, g, b, x, S + 1);
|
|
@@ -65863,7 +65865,7 @@ function(t) {
|
|
|
65863
65865
|
var l = d.getContext("2d");
|
|
65864
65866
|
l.fillStyle = "#fff", l.fillRect(0, 0, d.width, d.height);
|
|
65865
65867
|
var c = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, u = this;
|
|
65866
|
-
return (wt.canvg ? Promise.resolve(wt.canvg) : import("./index.es-
|
|
65868
|
+
return (wt.canvg ? Promise.resolve(wt.canvg) : import("./index.es-407491de.js")).catch(function(h) {
|
|
65867
65869
|
return Promise.reject(new Error("Could not load canvg: " + h));
|
|
65868
65870
|
}).then(function(h) {
|
|
65869
65871
|
return h.default ? h.default : h;
|
|
@@ -70461,7 +70463,7 @@ xc([
|
|
|
70461
70463
|
Ia = xc([
|
|
70462
70464
|
$e("c2p-plans")
|
|
70463
70465
|
], Ia);
|
|
70464
|
-
var Fne = Object.defineProperty, Dne = Object.getOwnPropertyDescriptor,
|
|
70466
|
+
var Fne = Object.defineProperty, Dne = Object.getOwnPropertyDescriptor, br = (t, e, n, r) => {
|
|
70465
70467
|
for (var s = r > 1 ? void 0 : r ? Dne(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
70466
70468
|
(o = t[i]) && (s = (r ? o(e, n, s) : o(s)) || s);
|
|
70467
70469
|
return r && s && Fne(e, n, s), s;
|
|
@@ -70660,64 +70662,64 @@ let $n = class t extends Ze {
|
|
|
70660
70662
|
$n.styles = at`
|
|
70661
70663
|
${ot(k4)}
|
|
70662
70664
|
`;
|
|
70663
|
-
|
|
70665
|
+
br([
|
|
70664
70666
|
Ve({ context: Us, subscribe: !0 }),
|
|
70665
70667
|
_e()
|
|
70666
70668
|
], $n.prototype, "_stateC2P", 2);
|
|
70667
|
-
|
|
70669
|
+
br([
|
|
70668
70670
|
Ve({ context: _c, subscribe: !0 }),
|
|
70669
70671
|
_e()
|
|
70670
70672
|
], $n.prototype, "_stateStatus", 2);
|
|
70671
|
-
|
|
70673
|
+
br([
|
|
70672
70674
|
Ve({ context: Nn, subscribe: !0 }),
|
|
70673
70675
|
_e()
|
|
70674
70676
|
], $n.prototype, "_payfacContext", 2);
|
|
70675
|
-
|
|
70677
|
+
br([
|
|
70676
70678
|
L({ type: String })
|
|
70677
70679
|
], $n.prototype, "title", 2);
|
|
70678
|
-
|
|
70680
|
+
br([
|
|
70679
70681
|
L({ type: String })
|
|
70680
70682
|
], $n.prototype, "message", 2);
|
|
70681
|
-
|
|
70683
|
+
br([
|
|
70682
70684
|
L({ type: String })
|
|
70683
70685
|
], $n.prototype, "image", 2);
|
|
70684
|
-
|
|
70686
|
+
br([
|
|
70685
70687
|
L({ type: String })
|
|
70686
70688
|
], $n.prototype, "duplicateImage", 2);
|
|
70687
|
-
|
|
70689
|
+
br([
|
|
70688
70690
|
L({ type: String })
|
|
70689
70691
|
], $n.prototype, "customClassSub", 2);
|
|
70690
|
-
|
|
70692
|
+
br([
|
|
70691
70693
|
L({ type: String })
|
|
70692
70694
|
], $n.prototype, "customClass", 2);
|
|
70693
|
-
|
|
70695
|
+
br([
|
|
70694
70696
|
L({ type: Boolean })
|
|
70695
70697
|
], $n.prototype, "returnButton", 2);
|
|
70696
|
-
|
|
70698
|
+
br([
|
|
70697
70699
|
L({ type: Boolean })
|
|
70698
70700
|
], $n.prototype, "isVisible", 2);
|
|
70699
|
-
|
|
70701
|
+
br([
|
|
70700
70702
|
L({ type: Boolean })
|
|
70701
70703
|
], $n.prototype, "showLoading", 2);
|
|
70702
|
-
|
|
70704
|
+
br([
|
|
70703
70705
|
L({ type: Boolean })
|
|
70704
70706
|
], $n.prototype, "duplicateError", 2);
|
|
70705
|
-
|
|
70707
|
+
br([
|
|
70706
70708
|
L({ type: Boolean })
|
|
70707
70709
|
], $n.prototype, "sonicBranding", 2);
|
|
70708
|
-
|
|
70710
|
+
br([
|
|
70709
70711
|
L({ type: String })
|
|
70710
70712
|
], $n.prototype, "statusMessage", 2);
|
|
70711
|
-
|
|
70713
|
+
br([
|
|
70712
70714
|
L({ type: String })
|
|
70713
70715
|
], $n.prototype, "callbackUrl", 2);
|
|
70714
|
-
|
|
70716
|
+
br([
|
|
70715
70717
|
L({ type: Object })
|
|
70716
70718
|
], $n.prototype, "settings", 2);
|
|
70717
|
-
|
|
70719
|
+
br([
|
|
70718
70720
|
L({ type: Boolean })
|
|
70719
70721
|
], $n.prototype, "isLoadingDownloadPDF", 2);
|
|
70720
|
-
$n =
|
|
70722
|
+
$n = br([
|
|
70721
70723
|
$e("c2p-status")
|
|
70722
70724
|
], $n);
|
|
70723
70725
|
var Rne = Object.defineProperty, Pne = Object.getOwnPropertyDescriptor, Cc = (t, e, n, r) => {
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as t, a7 as e, a5 as n, a6 as o, A as r, t as p, G as C, v as i, B as u, a3 as l, R as d, K as m, X as c, J as P, Y as A, Z as I, $ as y, h as D, f, a2 as k, a1 as F, M as S, O as L, T as H, U as M, V as g, C as v, i as x, n as E, a as O, d as b, a0 as Q, s as h, y as B, r as w, o as N, p as j, q, D as z, W as G, E as J, e as K, k as R, b as T, F as U, H as V, I as W, L as X, N as Y, j as Z, w as $, P as _, l as aa, u as sa, x as ta, Q as ea, S as na, z as oa, m as ra } from "./index-
|
|
1
|
+
import { a4 as t, a7 as e, a5 as n, a6 as o, A as r, t as p, G as C, v as i, B as u, a3 as l, R as d, K as m, X as c, J as P, Y as A, Z as I, $ as y, h as D, f, a2 as k, a1 as F, M as S, O as L, T as H, U as M, V as g, C as v, i as x, n as E, a as O, d as b, a0 as Q, s as h, y as B, r as w, o as N, p as j, q, D as z, W as G, E as J, e as K, k as R, b as T, F as U, H as V, I as W, L as X, N as Y, j as Z, w as $, P as _, l as aa, u as sa, x as ta, Q as ea, S as na, z as oa, m as ra } from "./index-0e210ef6.js";
|
|
2
2
|
export {
|
|
3
3
|
t as A2AAccountDetails,
|
|
4
4
|
e as A2AFeedbackHome,
|