tybotflow-widget 0.8.9 → 0.9.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/dist/index.es.js +136 -136
- package/dist/index.umd.js +15 -15
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1295,7 +1295,7 @@ function dX() {
|
|
|
1295
1295
|
if (M === 5 || M === 26 || M === 27 || M === 6) return i.stateNode;
|
|
1296
1296
|
throw Error(I(33));
|
|
1297
1297
|
}
|
|
1298
|
-
function
|
|
1298
|
+
function NI(i) {
|
|
1299
1299
|
var M = i[BC];
|
|
1300
1300
|
return M || (M = i[BC] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), M;
|
|
1301
1301
|
}
|
|
@@ -1950,7 +1950,7 @@ Error generating stack: ` + h.message + `
|
|
|
1950
1950
|
animationName: 0,
|
|
1951
1951
|
elapsedTime: 0,
|
|
1952
1952
|
pseudoElement: 0
|
|
1953
|
-
}),
|
|
1953
|
+
}), OI = yE(OB), rE = D({}, TC, {
|
|
1954
1954
|
clipboardData: function(i) {
|
|
1955
1955
|
return "clipboardData" in i ? i.clipboardData : window.clipboardData;
|
|
1956
1956
|
}
|
|
@@ -2797,7 +2797,7 @@ Error generating stack: ` + h.message + `
|
|
|
2797
2797
|
var F = AA(null);
|
|
2798
2798
|
function x() {
|
|
2799
2799
|
var i = F.current;
|
|
2800
|
-
return i !== null ? i :
|
|
2800
|
+
return i !== null ? i : mI.pooledCache;
|
|
2801
2801
|
}
|
|
2802
2802
|
function q(i, M) {
|
|
2803
2803
|
M === null ? J(F, F.current) : J(F, M.pool);
|
|
@@ -2822,7 +2822,7 @@ Error generating stack: ` + h.message + `
|
|
|
2822
2822
|
default:
|
|
2823
2823
|
if (typeof M.status == "string") M.then(YA, YA);
|
|
2824
2824
|
else {
|
|
2825
|
-
if (i =
|
|
2825
|
+
if (i = mI, i !== null && 100 < i.shellSuspendCounter)
|
|
2826
2826
|
throw Error(I(482));
|
|
2827
2827
|
i = M, i.status = "pending", i.then(
|
|
2828
2828
|
function(c) {
|
|
@@ -3240,7 +3240,7 @@ Error generating stack: ` + h.message + `
|
|
|
3240
3240
|
M
|
|
3241
3241
|
),
|
|
3242
3242
|
null
|
|
3243
|
-
),
|
|
3243
|
+
), mI === null) throw Error(I(349));
|
|
3244
3244
|
S || (YB & 124) !== 0 || dD(c, M, h);
|
|
3245
3245
|
}
|
|
3246
3246
|
return h;
|
|
@@ -3369,7 +3369,7 @@ Error generating stack: ` + h.message + `
|
|
|
3369
3369
|
}
|
|
3370
3370
|
function ke(i, M) {
|
|
3371
3371
|
if (gI) {
|
|
3372
|
-
var h =
|
|
3372
|
+
var h = mI.formState;
|
|
3373
3373
|
if (h !== null) {
|
|
3374
3374
|
A: {
|
|
3375
3375
|
var c = yg;
|
|
@@ -3696,7 +3696,7 @@ Error generating stack: ` + h.message + `
|
|
|
3696
3696
|
try {
|
|
3697
3697
|
var P = M.lastRenderedState, CA = S(P, h);
|
|
3698
3698
|
if (n.hasEagerState = !0, n.eagerState = CA, zI(CA, P))
|
|
3699
|
-
return Re(i, M, n, 0),
|
|
3699
|
+
return Re(i, M, n, 0), mI === null && re(), !1;
|
|
3700
3700
|
} catch {
|
|
3701
3701
|
} finally {
|
|
3702
3702
|
}
|
|
@@ -3857,7 +3857,7 @@ Error generating stack: ` + h.message + `
|
|
|
3857
3857
|
throw Error(I(407));
|
|
3858
3858
|
h = h();
|
|
3859
3859
|
} else {
|
|
3860
|
-
if (h = M(),
|
|
3860
|
+
if (h = M(), mI === null)
|
|
3861
3861
|
throw Error(I(349));
|
|
3862
3862
|
(vB & 124) !== 0 || dD(c, M, h);
|
|
3863
3863
|
}
|
|
@@ -3879,7 +3879,7 @@ Error generating stack: ` + h.message + `
|
|
|
3879
3879
|
), h;
|
|
3880
3880
|
},
|
|
3881
3881
|
useId: function() {
|
|
3882
|
-
var i = GI(), M =
|
|
3882
|
+
var i = GI(), M = mI.identifierPrefix;
|
|
3883
3883
|
if (gI) {
|
|
3884
3884
|
var h = Zi, c = Vi;
|
|
3885
3885
|
h = (c & ~(1 << 32 - zA(c) - 1)).toString(32) + h, M = "«" + M + "R" + h, h = bI++, 0 < h && (M += "H" + h.toString(32)), M += "»";
|
|
@@ -4919,7 +4919,7 @@ Error generating stack: ` + h.message + `
|
|
|
4919
4919
|
h
|
|
4920
4920
|
);
|
|
4921
4921
|
} else if (oC || cM(i, M, h, !1), P = (h & i.childLanes) !== 0, oC || P) {
|
|
4922
|
-
if (P =
|
|
4922
|
+
if (P = mI, P !== null && (c = h & -h, c = (c & 42) !== 0 ? 1 : MB(c), c = (c & (P.suspendedLanes | h)) !== 0 ? 0 : c, c !== 0 && c !== sA.retryLane))
|
|
4923
4923
|
throw sA.retryLane = c, tw(i, c), XQ(P, i, c), qN;
|
|
4924
4924
|
CA.data === "$?" || eR(), M = br(
|
|
4925
4925
|
i,
|
|
@@ -5416,7 +5416,7 @@ Error generating stack: ` + h.message + `
|
|
|
5416
5416
|
case 22:
|
|
5417
5417
|
return WN(i, M, h);
|
|
5418
5418
|
case 24:
|
|
5419
|
-
return ai(M), c = FE(UE), i === null ? (n = x(), n === null && (n =
|
|
5419
|
+
return ai(M), c = FE(UE), i === null ? (n = x(), n === null && (n = mI, S = Bt(), n.pooledCache = S, S.refCount++, S !== null && (n.pooledCacheLanes |= h), n = S), M.memoizedState = {
|
|
5420
5420
|
parent: c,
|
|
5421
5421
|
cache: n
|
|
5422
5422
|
}, jA(M), Jo(M, UE, n)) : ((i.lanes & h) !== 0 && (_A(i, M), dg(M, null, null, h), DB()), n = i.memoizedState, S = M.memoizedState, n.parent !== c ? (n = { parent: c, cache: c }, M.memoizedState = n, M.lanes === 0 && (M.memoizedState = M.updateQueue.baseState = n), Jo(M, UE, c)) : (c = S.cache, Jo(M, UE, c), c !== n.cache && JD(
|
|
@@ -7008,7 +7008,7 @@ Error generating stack: ` + h.message + `
|
|
|
7008
7008
|
var M = FE(UE), h = M.data.get(i);
|
|
7009
7009
|
return h === void 0 && (h = i(), M.data.set(i, h)), h;
|
|
7010
7010
|
}
|
|
7011
|
-
}, x6 = typeof WeakMap == "function" ? WeakMap : Map, hI = 0,
|
|
7011
|
+
}, x6 = typeof WeakMap == "function" ? WeakMap : Map, hI = 0, mI = null, dB = null, vB = 0, tI = 0, PQ = null, uM = !1, zD = !1, IR = !1, Sw = 0, DE = 0, SM = 0, pe = 0, ER = 0, Yi = 0, WD = 0, Ut = null, UQ = null, CR = !1, QR = 0, Ac = 1 / 0, gc = null, OM = null, nC = 0, mM = null, TD = null, bD = 0, iR = 0, oR = null, Yx = null, lt = 0, wR = null;
|
|
7012
7012
|
function fQ() {
|
|
7013
7013
|
if ((hI & 2) !== 0 && vB !== 0)
|
|
7014
7014
|
return vB & -vB;
|
|
@@ -7024,12 +7024,12 @@ Error generating stack: ` + h.message + `
|
|
|
7024
7024
|
return i !== null && (i.flags |= 32), Yi;
|
|
7025
7025
|
}
|
|
7026
7026
|
function XQ(i, M, h) {
|
|
7027
|
-
(i ===
|
|
7027
|
+
(i === mI && (tI === 2 || tI === 9) || i.cancelPendingCommit !== null) && (PD(i, 0), kM(
|
|
7028
7028
|
i,
|
|
7029
7029
|
vB,
|
|
7030
7030
|
Yi,
|
|
7031
7031
|
!1
|
|
7032
|
-
)), fg(i, h), ((hI & 2) === 0 || i !==
|
|
7032
|
+
)), fg(i, h), ((hI & 2) === 0 || i !== mI) && (i === mI && ((hI & 2) === 0 && (pe |= h), DE === 4 && kM(
|
|
7033
7033
|
i,
|
|
7034
7034
|
vB,
|
|
7035
7035
|
Yi,
|
|
@@ -7241,7 +7241,7 @@ Error generating stack: ` + h.message + `
|
|
|
7241
7241
|
}
|
|
7242
7242
|
function PD(i, M) {
|
|
7243
7243
|
var h = i.timeoutHandle;
|
|
7244
|
-
h !== -1 && (i.timeoutHandle = -1, AX(h)), h = i.cancelPendingCommit, h !== null && (i.cancelPendingCommit = null, h()), MR(),
|
|
7244
|
+
h !== -1 && (i.timeoutHandle = -1, AX(h)), h = i.cancelPendingCommit, h !== null && (i.cancelPendingCommit = null, h()), MR(), mI = i, dB = h = ei(i.current, null), vB = M, tI = 0, PQ = null, uM = !1, zD = ug(i, M), IR = !1, WD = Yi = ER = pe = SM = DE = 0, UQ = Ut = null, CR = !1, (M & 8) !== 0 && (M |= M & 32);
|
|
7245
7245
|
var c = i.entangledLanes;
|
|
7246
7246
|
if (c !== 0)
|
|
7247
7247
|
for (i = i.entanglements, c &= M; 0 < c; ) {
|
|
@@ -7265,8 +7265,8 @@ Error generating stack: ` + h.message + `
|
|
|
7265
7265
|
return f.A = N6, i;
|
|
7266
7266
|
}
|
|
7267
7267
|
function eR() {
|
|
7268
|
-
DE = 4, uM || (vB & 4194048) !== vB && Gi.current !== null || (zD = !0), (SM & 134217727) === 0 && (pe & 134217727) === 0 ||
|
|
7269
|
-
|
|
7268
|
+
DE = 4, uM || (vB & 4194048) !== vB && Gi.current !== null || (zD = !0), (SM & 134217727) === 0 && (pe & 134217727) === 0 || mI === null || kM(
|
|
7269
|
+
mI,
|
|
7270
7270
|
vB,
|
|
7271
7271
|
Yi,
|
|
7272
7272
|
!1
|
|
@@ -7276,7 +7276,7 @@ Error generating stack: ` + h.message + `
|
|
|
7276
7276
|
var c = hI;
|
|
7277
7277
|
hI |= 2;
|
|
7278
7278
|
var n = Ux(), S = lx();
|
|
7279
|
-
(
|
|
7279
|
+
(mI !== i || vB !== M) && (gc = null, PD(i, M)), M = !1;
|
|
7280
7280
|
var P = DE;
|
|
7281
7281
|
A: do
|
|
7282
7282
|
try {
|
|
@@ -7307,7 +7307,7 @@ Error generating stack: ` + h.message + `
|
|
|
7307
7307
|
Fx(i, Ag);
|
|
7308
7308
|
}
|
|
7309
7309
|
while (!0);
|
|
7310
|
-
return M && i.shellSuspendCounter++, Wi = qE = null, hI = c, f.H = n, f.A = S, dB === null && (
|
|
7310
|
+
return M && i.shellSuspendCounter++, Wi = qE = null, hI = c, f.H = n, f.A = S, dB === null && (mI = null, vB = 0, re()), P;
|
|
7311
7311
|
}
|
|
7312
7312
|
function j6() {
|
|
7313
7313
|
for (; dB !== null; ) Kx(dB);
|
|
@@ -7316,7 +7316,7 @@ Error generating stack: ` + h.message + `
|
|
|
7316
7316
|
var h = hI;
|
|
7317
7317
|
hI |= 2;
|
|
7318
7318
|
var c = Ux(), n = lx();
|
|
7319
|
-
|
|
7319
|
+
mI !== i || vB !== M ? (gc = null, Ac = Gg() + 500, PD(i, M)) : zD = ug(
|
|
7320
7320
|
i,
|
|
7321
7321
|
M
|
|
7322
7322
|
);
|
|
@@ -7336,7 +7336,7 @@ Error generating stack: ` + h.message + `
|
|
|
7336
7336
|
break;
|
|
7337
7337
|
}
|
|
7338
7338
|
M = function() {
|
|
7339
|
-
tI !== 2 && tI !== 9 ||
|
|
7339
|
+
tI !== 2 && tI !== 9 || mI !== i || (tI = 7), yo(i);
|
|
7340
7340
|
}, S.then(M, M);
|
|
7341
7341
|
break A;
|
|
7342
7342
|
case 3:
|
|
@@ -7385,7 +7385,7 @@ Error generating stack: ` + h.message + `
|
|
|
7385
7385
|
Fx(i, Ag);
|
|
7386
7386
|
}
|
|
7387
7387
|
while (!0);
|
|
7388
|
-
return Wi = qE = null, f.H = c, f.A = n, hI = h, dB !== null ? 0 : (
|
|
7388
|
+
return Wi = qE = null, f.H = c, f.A = n, hI = h, dB !== null ? 0 : (mI = null, vB = 0, re(), DE);
|
|
7389
7389
|
}
|
|
7390
7390
|
function y6() {
|
|
7391
7391
|
for (; dB !== null && !IA(); )
|
|
@@ -7511,7 +7511,7 @@ Error generating stack: ` + h.message + `
|
|
|
7511
7511
|
P,
|
|
7512
7512
|
CA,
|
|
7513
7513
|
sA
|
|
7514
|
-
), i ===
|
|
7514
|
+
), i === mI && (dB = mI = null, vB = 0), TD = M, mM = i, bD = h, iR = S, oR = n, Yx = c, (M.subtreeFlags & 10256) !== 0 || (M.flags & 10256) !== 0 ? (i.callbackNode = null, i.callbackPriority = 0, Z6(Bg, function() {
|
|
7515
7515
|
return Nx(), null;
|
|
7516
7516
|
})) : (i.callbackNode = null, i.callbackPriority = 0), c = (M.flags & 13878) !== 0, (M.subtreeFlags & 13878) !== 0 || c) {
|
|
7517
7517
|
c = f.T, f.T = null, n = EA.p, EA.p = 2, P = hI, hI |= 4;
|
|
@@ -7710,7 +7710,7 @@ Error generating stack: ` + h.message + `
|
|
|
7710
7710
|
}
|
|
7711
7711
|
function L6(i, M, h) {
|
|
7712
7712
|
var c = i.pingCache;
|
|
7713
|
-
c !== null && c.delete(M), i.pingedLanes |= i.suspendedLanes & h, i.warmLanes &= ~h,
|
|
7713
|
+
c !== null && c.delete(M), i.pingedLanes |= i.suspendedLanes & h, i.warmLanes &= ~h, mI === i && (vB & h) === h && (DE === 4 || DE === 3 && (vB & 62914560) === vB && 300 > Gg() - QR ? (hI & 2) === 0 && PD(i, 0) : ER |= h, WD === vB && (WD = 0)), yo(i);
|
|
7714
7714
|
}
|
|
7715
7715
|
function dx(i, M) {
|
|
7716
7716
|
M === 0 && (M = $g()), i = tw(i, M), i !== null && (fg(i, M), yo(i));
|
|
@@ -7760,7 +7760,7 @@ Error generating stack: ` + h.message + `
|
|
|
7760
7760
|
} else
|
|
7761
7761
|
S = vB, S = qg(
|
|
7762
7762
|
c,
|
|
7763
|
-
c ===
|
|
7763
|
+
c === mI ? S : 0,
|
|
7764
7764
|
c.cancelPendingCommit !== null || c.timeoutHandle !== -1
|
|
7765
7765
|
), (S & 3) === 0 || ug(c, S) || (h = !0, Lx(c, S));
|
|
7766
7766
|
c = c.next;
|
|
@@ -7787,7 +7787,7 @@ Error generating stack: ` + h.message + `
|
|
|
7787
7787
|
var P = 31 - zA(S), CA = 1 << P, sA = n[P];
|
|
7788
7788
|
sA === -1 ? ((CA & h) === 0 || (CA & c) !== 0) && (n[P] = Ng(CA, M)) : sA <= M && (i.expiredLanes |= CA), S &= ~CA;
|
|
7789
7789
|
}
|
|
7790
|
-
if (M =
|
|
7790
|
+
if (M = mI, h = vB, h = qg(
|
|
7791
7791
|
i,
|
|
7792
7792
|
i === M ? h : 0,
|
|
7793
7793
|
i.cancelPendingCommit !== null || i.timeoutHandle !== -1
|
|
@@ -7822,7 +7822,7 @@ Error generating stack: ` + h.message + `
|
|
|
7822
7822
|
var c = vB;
|
|
7823
7823
|
return c = qg(
|
|
7824
7824
|
i,
|
|
7825
|
-
i ===
|
|
7825
|
+
i === mI ? c : 0,
|
|
7826
7826
|
i.cancelPendingCommit !== null || i.timeoutHandle !== -1
|
|
7827
7827
|
), c === 0 ? null : (Rx(i, c, M), px(i, Gg()), i.callbackNode != null && i.callbackNode === h ? yx.bind(null, i) : null);
|
|
7828
7828
|
}
|
|
@@ -8100,7 +8100,7 @@ Error generating stack: ` + h.message + `
|
|
|
8100
8100
|
case Mi:
|
|
8101
8101
|
case DM:
|
|
8102
8102
|
case Dw:
|
|
8103
|
-
VA =
|
|
8103
|
+
VA = OI;
|
|
8104
8104
|
break;
|
|
8105
8105
|
case $h:
|
|
8106
8106
|
VA = RE;
|
|
@@ -9367,7 +9367,7 @@ Error generating stack: ` + h.message + `
|
|
|
9367
9367
|
Ow.S(i, M, h);
|
|
9368
9368
|
var c = _D;
|
|
9369
9369
|
if (c && i) {
|
|
9370
|
-
var n =
|
|
9370
|
+
var n = NI(c).hoistableStyles, S = $D(i);
|
|
9371
9371
|
M = M || "default";
|
|
9372
9372
|
var P = n.get(S);
|
|
9373
9373
|
if (!P) {
|
|
@@ -9403,7 +9403,7 @@ Error generating stack: ` + h.message + `
|
|
|
9403
9403
|
Ow.X(i, M);
|
|
9404
9404
|
var h = _D;
|
|
9405
9405
|
if (h && i) {
|
|
9406
|
-
var c =
|
|
9406
|
+
var c = NI(h).hoistableScripts, n = Ah(i), S = c.get(n);
|
|
9407
9407
|
S || (S = h.querySelector(kt(n)), S || (i = D({ src: i, async: !0 }, M), (M = ri.get(n)) && kR(i, M), S = h.createElement("script"), QI(S), FC(S, "link", i), h.head.appendChild(S)), S = {
|
|
9408
9408
|
type: "script",
|
|
9409
9409
|
instance: S,
|
|
@@ -9416,7 +9416,7 @@ Error generating stack: ` + h.message + `
|
|
|
9416
9416
|
Ow.M(i, M);
|
|
9417
9417
|
var h = _D;
|
|
9418
9418
|
if (h && i) {
|
|
9419
|
-
var c =
|
|
9419
|
+
var c = NI(h).hoistableScripts, n = Ah(i), S = c.get(n);
|
|
9420
9420
|
S || (S = h.querySelector(kt(n)), S || (i = D({ src: i, async: !0, type: "module" }, M), (M = ri.get(n)) && kR(i, M), S = h.createElement("script"), QI(S), FC(S, "link", i), h.head.appendChild(S)), S = {
|
|
9421
9421
|
type: "script",
|
|
9422
9422
|
instance: S,
|
|
@@ -9433,7 +9433,7 @@ Error generating stack: ` + h.message + `
|
|
|
9433
9433
|
case "title":
|
|
9434
9434
|
return null;
|
|
9435
9435
|
case "style":
|
|
9436
|
-
return typeof h.precedence == "string" && typeof h.href == "string" ? (M = $D(h.href), h =
|
|
9436
|
+
return typeof h.precedence == "string" && typeof h.href == "string" ? (M = $D(h.href), h = NI(
|
|
9437
9437
|
n
|
|
9438
9438
|
).hoistableStyles, c = h.get(M), c || (c = {
|
|
9439
9439
|
type: "style",
|
|
@@ -9444,7 +9444,7 @@ Error generating stack: ` + h.message + `
|
|
|
9444
9444
|
case "link":
|
|
9445
9445
|
if (h.rel === "stylesheet" && typeof h.href == "string" && typeof h.precedence == "string") {
|
|
9446
9446
|
i = $D(h.href);
|
|
9447
|
-
var S =
|
|
9447
|
+
var S = NI(
|
|
9448
9448
|
n
|
|
9449
9449
|
).hoistableStyles, P = S.get(i);
|
|
9450
9450
|
if (P || (n = n.ownerDocument || n, P = {
|
|
@@ -9476,7 +9476,7 @@ Error generating stack: ` + h.message + `
|
|
|
9476
9476
|
throw Error(I(529, ""));
|
|
9477
9477
|
return null;
|
|
9478
9478
|
case "script":
|
|
9479
|
-
return M = h.async, h = h.src, typeof h == "string" && M && typeof M != "function" && typeof M != "symbol" ? (M = Ah(h), h =
|
|
9479
|
+
return M = h.async, h = h.src, typeof h == "string" && M && typeof M != "function" && typeof M != "symbol" ? (M = Ah(h), h = NI(
|
|
9480
9480
|
n
|
|
9481
9481
|
).hoistableScripts, c = h.get(M), c || (c = {
|
|
9482
9482
|
type: "script",
|
|
@@ -11932,26 +11932,26 @@ function Q8(g) {
|
|
|
11932
11932
|
return Q8(iD(g, E));
|
|
11933
11933
|
}, B;
|
|
11934
11934
|
}
|
|
11935
|
-
const
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
|
|
11943
|
-
|
|
11944
|
-
|
|
11935
|
+
const HI = Q8(ba);
|
|
11936
|
+
HI.Axios = gD;
|
|
11937
|
+
HI.CanceledError = qh;
|
|
11938
|
+
HI.CancelToken = t9;
|
|
11939
|
+
HI.isCancel = v1;
|
|
11940
|
+
HI.VERSION = E8;
|
|
11941
|
+
HI.toFormData = kY;
|
|
11942
|
+
HI.AxiosError = UB;
|
|
11943
|
+
HI.Cancel = HI.CanceledError;
|
|
11944
|
+
HI.all = function(A) {
|
|
11945
11945
|
return Promise.all(A);
|
|
11946
11946
|
};
|
|
11947
|
-
|
|
11948
|
-
|
|
11949
|
-
|
|
11950
|
-
|
|
11951
|
-
|
|
11952
|
-
|
|
11953
|
-
|
|
11954
|
-
|
|
11947
|
+
HI.spread = a9;
|
|
11948
|
+
HI.isAxiosError = s9;
|
|
11949
|
+
HI.mergeConfig = iD;
|
|
11950
|
+
HI.AxiosHeaders = mQ;
|
|
11951
|
+
HI.formToJSON = (g) => X1(WA.isHTMLForm(g) ? new FormData(g) : g);
|
|
11952
|
+
HI.getAdapter = I8.getAdapter;
|
|
11953
|
+
HI.HttpStatusCode = gk;
|
|
11954
|
+
HI.default = HI;
|
|
11955
11955
|
const {
|
|
11956
11956
|
Axios: Z4A,
|
|
11957
11957
|
AxiosError: z4A,
|
|
@@ -11969,7 +11969,7 @@ const {
|
|
|
11969
11969
|
formToJSON: BOA,
|
|
11970
11970
|
getAdapter: IOA,
|
|
11971
11971
|
mergeConfig: EOA
|
|
11972
|
-
} =
|
|
11972
|
+
} = HI;
|
|
11973
11973
|
function c9(g, A) {
|
|
11974
11974
|
const B = {};
|
|
11975
11975
|
return (g[g.length - 1] === "" ? [...g, ""] : g).join(
|
|
@@ -12040,7 +12040,7 @@ JQ.prototype.property = "";
|
|
|
12040
12040
|
JQ.prototype.spaceSeparated = !1;
|
|
12041
12041
|
JQ.prototype.space = void 0;
|
|
12042
12042
|
let F9 = 0;
|
|
12043
|
-
const KB = DD(), WE = DD(), Ik = DD(), Ug = DD(),
|
|
12043
|
+
const KB = DD(), WE = DD(), Ik = DD(), Ug = DD(), kI = DD(), Kh = DD(), _Q = DD();
|
|
12044
12044
|
function DD() {
|
|
12045
12045
|
return 2 ** ++F9;
|
|
12046
12046
|
}
|
|
@@ -12052,7 +12052,7 @@ const Ek = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12052
12052
|
commaSeparated: Kh,
|
|
12053
12053
|
number: Ug,
|
|
12054
12054
|
overloadedBoolean: Ik,
|
|
12055
|
-
spaceSeparated:
|
|
12055
|
+
spaceSeparated: kI
|
|
12056
12056
|
}, Symbol.toStringTag, { value: "Module" })), PR = (
|
|
12057
12057
|
/** @type {ReadonlyArray<keyof typeof types>} */
|
|
12058
12058
|
Object.keys(Ek)
|
|
@@ -12107,36 +12107,36 @@ const o8 = Vh({
|
|
|
12107
12107
|
ariaColCount: Ug,
|
|
12108
12108
|
ariaColIndex: Ug,
|
|
12109
12109
|
ariaColSpan: Ug,
|
|
12110
|
-
ariaControls:
|
|
12110
|
+
ariaControls: kI,
|
|
12111
12111
|
ariaCurrent: null,
|
|
12112
|
-
ariaDescribedBy:
|
|
12112
|
+
ariaDescribedBy: kI,
|
|
12113
12113
|
ariaDetails: null,
|
|
12114
12114
|
ariaDisabled: WE,
|
|
12115
|
-
ariaDropEffect:
|
|
12115
|
+
ariaDropEffect: kI,
|
|
12116
12116
|
ariaErrorMessage: null,
|
|
12117
12117
|
ariaExpanded: WE,
|
|
12118
|
-
ariaFlowTo:
|
|
12118
|
+
ariaFlowTo: kI,
|
|
12119
12119
|
ariaGrabbed: WE,
|
|
12120
12120
|
ariaHasPopup: null,
|
|
12121
12121
|
ariaHidden: WE,
|
|
12122
12122
|
ariaInvalid: null,
|
|
12123
12123
|
ariaKeyShortcuts: null,
|
|
12124
12124
|
ariaLabel: null,
|
|
12125
|
-
ariaLabelledBy:
|
|
12125
|
+
ariaLabelledBy: kI,
|
|
12126
12126
|
ariaLevel: Ug,
|
|
12127
12127
|
ariaLive: null,
|
|
12128
12128
|
ariaModal: WE,
|
|
12129
12129
|
ariaMultiLine: WE,
|
|
12130
12130
|
ariaMultiSelectable: WE,
|
|
12131
12131
|
ariaOrientation: null,
|
|
12132
|
-
ariaOwns:
|
|
12132
|
+
ariaOwns: kI,
|
|
12133
12133
|
ariaPlaceholder: null,
|
|
12134
12134
|
ariaPosInSet: Ug,
|
|
12135
12135
|
ariaPressed: WE,
|
|
12136
12136
|
ariaReadOnly: WE,
|
|
12137
12137
|
ariaRelevant: null,
|
|
12138
12138
|
ariaRequired: WE,
|
|
12139
|
-
ariaRoleDescription:
|
|
12139
|
+
ariaRoleDescription: kI,
|
|
12140
12140
|
ariaRowCount: Ug,
|
|
12141
12141
|
ariaRowIndex: Ug,
|
|
12142
12142
|
ariaRowSpan: Ug,
|
|
@@ -12171,8 +12171,8 @@ const U9 = Vh({
|
|
|
12171
12171
|
// Standard Properties.
|
|
12172
12172
|
abbr: null,
|
|
12173
12173
|
accept: Kh,
|
|
12174
|
-
acceptCharset:
|
|
12175
|
-
accessKey:
|
|
12174
|
+
acceptCharset: kI,
|
|
12175
|
+
accessKey: kI,
|
|
12176
12176
|
action: null,
|
|
12177
12177
|
allow: null,
|
|
12178
12178
|
allowFullScreen: KB,
|
|
@@ -12182,21 +12182,21 @@ const U9 = Vh({
|
|
|
12182
12182
|
as: null,
|
|
12183
12183
|
async: KB,
|
|
12184
12184
|
autoCapitalize: null,
|
|
12185
|
-
autoComplete:
|
|
12185
|
+
autoComplete: kI,
|
|
12186
12186
|
autoFocus: KB,
|
|
12187
12187
|
autoPlay: KB,
|
|
12188
|
-
blocking:
|
|
12188
|
+
blocking: kI,
|
|
12189
12189
|
capture: null,
|
|
12190
12190
|
charSet: null,
|
|
12191
12191
|
checked: KB,
|
|
12192
12192
|
cite: null,
|
|
12193
|
-
className:
|
|
12193
|
+
className: kI,
|
|
12194
12194
|
cols: Ug,
|
|
12195
12195
|
colSpan: null,
|
|
12196
12196
|
content: null,
|
|
12197
12197
|
contentEditable: WE,
|
|
12198
12198
|
controls: KB,
|
|
12199
|
-
controlsList:
|
|
12199
|
+
controlsList: kI,
|
|
12200
12200
|
coords: Ug | Kh,
|
|
12201
12201
|
crossOrigin: null,
|
|
12202
12202
|
data: null,
|
|
@@ -12218,14 +12218,14 @@ const U9 = Vh({
|
|
|
12218
12218
|
formMethod: null,
|
|
12219
12219
|
formNoValidate: KB,
|
|
12220
12220
|
formTarget: null,
|
|
12221
|
-
headers:
|
|
12221
|
+
headers: kI,
|
|
12222
12222
|
height: Ug,
|
|
12223
12223
|
hidden: Ik,
|
|
12224
12224
|
high: Ug,
|
|
12225
12225
|
href: null,
|
|
12226
12226
|
hrefLang: null,
|
|
12227
|
-
htmlFor:
|
|
12228
|
-
httpEquiv:
|
|
12227
|
+
htmlFor: kI,
|
|
12228
|
+
httpEquiv: kI,
|
|
12229
12229
|
id: null,
|
|
12230
12230
|
imageSizes: null,
|
|
12231
12231
|
imageSrcSet: null,
|
|
@@ -12235,10 +12235,10 @@ const U9 = Vh({
|
|
|
12235
12235
|
is: null,
|
|
12236
12236
|
isMap: KB,
|
|
12237
12237
|
itemId: null,
|
|
12238
|
-
itemProp:
|
|
12239
|
-
itemRef:
|
|
12238
|
+
itemProp: kI,
|
|
12239
|
+
itemRef: kI,
|
|
12240
12240
|
itemScope: KB,
|
|
12241
|
-
itemType:
|
|
12241
|
+
itemType: kI,
|
|
12242
12242
|
kind: null,
|
|
12243
12243
|
label: null,
|
|
12244
12244
|
lang: null,
|
|
@@ -12351,7 +12351,7 @@ const U9 = Vh({
|
|
|
12351
12351
|
open: KB,
|
|
12352
12352
|
optimum: Ug,
|
|
12353
12353
|
pattern: null,
|
|
12354
|
-
ping:
|
|
12354
|
+
ping: kI,
|
|
12355
12355
|
placeholder: null,
|
|
12356
12356
|
playsInline: KB,
|
|
12357
12357
|
popover: null,
|
|
@@ -12361,12 +12361,12 @@ const U9 = Vh({
|
|
|
12361
12361
|
preload: null,
|
|
12362
12362
|
readOnly: KB,
|
|
12363
12363
|
referrerPolicy: null,
|
|
12364
|
-
rel:
|
|
12364
|
+
rel: kI,
|
|
12365
12365
|
required: KB,
|
|
12366
12366
|
reversed: KB,
|
|
12367
12367
|
rows: Ug,
|
|
12368
12368
|
rowSpan: Ug,
|
|
12369
|
-
sandbox:
|
|
12369
|
+
sandbox: kI,
|
|
12370
12370
|
scope: null,
|
|
12371
12371
|
scoped: KB,
|
|
12372
12372
|
seamless: KB,
|
|
@@ -12404,7 +12404,7 @@ const U9 = Vh({
|
|
|
12404
12404
|
// Several. Use CSS `text-align` instead,
|
|
12405
12405
|
aLink: null,
|
|
12406
12406
|
// `<body>`. Use CSS `a:active {color}` instead
|
|
12407
|
-
archive:
|
|
12407
|
+
archive: kI,
|
|
12408
12408
|
// `<object>`. List of URIs to archives
|
|
12409
12409
|
axis: null,
|
|
12410
12410
|
// `<td>` and `<th>`. Use `scope` on `<th>`
|
|
@@ -12719,7 +12719,7 @@ const U9 = Vh({
|
|
|
12719
12719
|
by: null,
|
|
12720
12720
|
calcMode: null,
|
|
12721
12721
|
capHeight: Ug,
|
|
12722
|
-
className:
|
|
12722
|
+
className: kI,
|
|
12723
12723
|
clip: null,
|
|
12724
12724
|
clipPath: null,
|
|
12725
12725
|
clipPathUnits: null,
|
|
@@ -12954,7 +12954,7 @@ const U9 = Vh({
|
|
|
12954
12954
|
patternTransform: null,
|
|
12955
12955
|
patternUnits: null,
|
|
12956
12956
|
phase: null,
|
|
12957
|
-
ping:
|
|
12957
|
+
ping: kI,
|
|
12958
12958
|
pitch: null,
|
|
12959
12959
|
playbackOrder: null,
|
|
12960
12960
|
pointerEvents: null,
|
|
@@ -50331,7 +50331,7 @@ function Pg(g) {
|
|
|
50331
50331
|
E = E || "a4";
|
|
50332
50332
|
var l = "compat", K = "advanced", m = l;
|
|
50333
50333
|
function k() {
|
|
50334
|
-
this.saveGraphicsState(), IA(new Tg(Yg, 0, 0, -Yg, 0,
|
|
50334
|
+
this.saveGraphicsState(), IA(new Tg(Yg, 0, 0, -Yg, 0, OI() * Yg).toString() + " cm"), this.setFontSize(this.getFontSize() / Yg), e = "n", m = K;
|
|
50335
50335
|
}
|
|
50336
50336
|
function O() {
|
|
50337
50337
|
this.restoreGraphicsState(), e = "S", m = l;
|
|
@@ -50377,7 +50377,7 @@ function Pg(g) {
|
|
|
50377
50377
|
return m === l ? H * Yg : m === K ? H : void 0;
|
|
50378
50378
|
}, W = function(H) {
|
|
50379
50379
|
return T(function(b) {
|
|
50380
|
-
return m === l ?
|
|
50380
|
+
return m === l ? OI() - b : m === K ? b : void 0;
|
|
50381
50381
|
}(H));
|
|
50382
50382
|
};
|
|
50383
50383
|
a.__private__.setPrecision = a.setPrecision = function(H) {
|
|
@@ -50639,7 +50639,7 @@ function Pg(g) {
|
|
|
50639
50639
|
return b;
|
|
50640
50640
|
}, FI = a.__private__.getFilters = function() {
|
|
50641
50641
|
return Q;
|
|
50642
|
-
},
|
|
50642
|
+
}, NI = a.__private__.putStream = function(H) {
|
|
50643
50643
|
var b = (H = H || {}).data || "", eA = H.filters || FI(), tA = H.alreadyAppliedFilters || [], FA = H.addLength1 || !1, vA = b.length, wg = H.objectId, kg = function(RE) {
|
|
50644
50644
|
return RE;
|
|
50645
50645
|
};
|
|
@@ -50665,7 +50665,7 @@ function Pg(g) {
|
|
|
50665
50665
|
var vA = eA.join(`
|
|
50666
50666
|
`);
|
|
50667
50667
|
return m === K && (vA += `
|
|
50668
|
-
Q`), BI(FA, !0),
|
|
50668
|
+
Q`), BI(FA, !0), NI({ data: vA, filters: FI(), objectId: FA }), IA("endobj"), tA;
|
|
50669
50669
|
}, IC = a.__private__.putPages = function() {
|
|
50670
50670
|
var H, b, eA = [];
|
|
50671
50671
|
for (H = 1; H <= fg; H++) Wg[H].objId = CI(), Wg[H].contentsObjId = CI();
|
|
@@ -50675,14 +50675,14 @@ Q`), BI(FA, !0), OI({ data: vA, filters: FI(), objectId: FA }), IA("endobj"), tA
|
|
|
50675
50675
|
for (b = 0; b < fg; b++) tA += eA[b] + " 0 R ";
|
|
50676
50676
|
IA(tA + "]"), IA("/Count " + fg), IA(">>"), IA("endobj"), FB.publish("postPutPages");
|
|
50677
50677
|
}, xg = function(H) {
|
|
50678
|
-
FB.publish("putFont", { font: H, out: IA, newObject: eB, putStream:
|
|
50678
|
+
FB.publish("putFont", { font: H, out: IA, newObject: eB, putStream: NI }), H.isAlreadyPutted !== !0 && (H.objectNumber = eB(), IA("<<"), IA("/Type /Font"), IA("/BaseFont /" + Yh(H.postScriptName)), IA("/Subtype /Type1"), typeof H.encoding == "string" && IA("/Encoding /" + H.encoding), IA("/FirstChar 32"), IA("/LastChar 255"), IA(">>"), IA("endobj"));
|
|
50679
50679
|
}, GA = function(H) {
|
|
50680
50680
|
H.objectNumber = eB();
|
|
50681
50681
|
var b = [];
|
|
50682
50682
|
b.push({ key: "Type", value: "/XObject" }), b.push({ key: "Subtype", value: "/Form" }), b.push({ key: "BBox", value: "[" + [L(H.x), L(H.y), L(H.x + H.width), L(H.y + H.height)].join(" ") + "]" }), b.push({ key: "Matrix", value: "[" + H.matrix.toString() + "]" });
|
|
50683
50683
|
var eA = H.pages[1].join(`
|
|
50684
50684
|
`);
|
|
50685
|
-
|
|
50685
|
+
NI({ data: eA, additionalKeyValues: b, objectId: H.objectNumber }), IA("endobj");
|
|
50686
50686
|
}, $A = function(H, b) {
|
|
50687
50687
|
b || (b = 21);
|
|
50688
50688
|
var eA = eB(), tA = function(wg, kg) {
|
|
@@ -50703,14 +50703,14 @@ Q`), BI(FA, !0), OI({ data: vA, filters: FI(), objectId: FA }), IA("endobj"), tA
|
|
|
50703
50703
|
}
|
|
50704
50704
|
return wE.trim();
|
|
50705
50705
|
}(H.colors, b), FA = [];
|
|
50706
|
-
FA.push({ key: "FunctionType", value: "0" }), FA.push({ key: "Domain", value: "[0.0 1.0]" }), FA.push({ key: "Size", value: "[" + b + "]" }), FA.push({ key: "BitsPerSample", value: "8" }), FA.push({ key: "Range", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), FA.push({ key: "Decode", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }),
|
|
50706
|
+
FA.push({ key: "FunctionType", value: "0" }), FA.push({ key: "Domain", value: "[0.0 1.0]" }), FA.push({ key: "Size", value: "[" + b + "]" }), FA.push({ key: "BitsPerSample", value: "8" }), FA.push({ key: "Range", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), FA.push({ key: "Decode", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), NI({ data: tA, additionalKeyValues: FA, alreadyAppliedFilters: ["/ASCIIHexDecode"], objectId: eA }), IA("endobj"), H.objectNumber = eB(), IA("<< /ShadingType " + H.type), IA("/ColorSpace /DeviceRGB");
|
|
50707
50707
|
var vA = "/Coords [" + L(parseFloat(H.coords[0])) + " " + L(parseFloat(H.coords[1])) + " ";
|
|
50708
50708
|
H.type === 2 ? vA += L(parseFloat(H.coords[2])) + " " + L(parseFloat(H.coords[3])) : vA += L(parseFloat(H.coords[2])) + " " + L(parseFloat(H.coords[3])) + " " + L(parseFloat(H.coords[4])) + " " + L(parseFloat(H.coords[5])), IA(vA += "]"), H.matrix && IA("/Matrix [" + H.matrix.toString() + "]"), IA("/Function " + eA + " 0 R"), IA("/Extend [true true]"), IA(">>"), IA("endobj");
|
|
50709
50709
|
}, Sg = function(H, b) {
|
|
50710
50710
|
var eA = CI(), tA = eB();
|
|
50711
50711
|
b.push({ resourcesOid: eA, objectOid: tA }), H.objectNumber = tA;
|
|
50712
50712
|
var FA = [];
|
|
50713
|
-
FA.push({ key: "Type", value: "/Pattern" }), FA.push({ key: "PatternType", value: "1" }), FA.push({ key: "PaintType", value: "1" }), FA.push({ key: "TilingType", value: "1" }), FA.push({ key: "BBox", value: "[" + H.boundingBox.map(L).join(" ") + "]" }), FA.push({ key: "XStep", value: L(H.xStep) }), FA.push({ key: "YStep", value: L(H.yStep) }), FA.push({ key: "Resources", value: eA + " 0 R" }), H.matrix && FA.push({ key: "Matrix", value: "[" + H.matrix.toString() + "]" }),
|
|
50713
|
+
FA.push({ key: "Type", value: "/Pattern" }), FA.push({ key: "PatternType", value: "1" }), FA.push({ key: "PaintType", value: "1" }), FA.push({ key: "TilingType", value: "1" }), FA.push({ key: "BBox", value: "[" + H.boundingBox.map(L).join(" ") + "]" }), FA.push({ key: "XStep", value: L(H.xStep) }), FA.push({ key: "YStep", value: L(H.yStep) }), FA.push({ key: "Resources", value: eA + " 0 R" }), H.matrix && FA.push({ key: "Matrix", value: "[" + H.matrix.toString() + "]" }), NI({ data: H.stream, additionalKeyValues: FA, objectId: H.objectNumber }), IA("endobj");
|
|
50714
50714
|
}, LB = function(H) {
|
|
50715
50715
|
for (var b in H.objectNumber = eB(), IA("<<"), H) switch (b) {
|
|
50716
50716
|
case "opacity":
|
|
@@ -51224,7 +51224,7 @@ T* `) : H.join(` Tj
|
|
|
51224
51224
|
var eA = Ng[H.key], tA = ug[eA];
|
|
51225
51225
|
if (tA instanceof Pe) IA("q"), IA(se(b)), tA.gState && a.setGState(tA.gState), IA(H.matrix.toString() + " cm"), IA("/" + eA + " sh"), IA("Q");
|
|
51226
51226
|
else if (tA instanceof Uh) {
|
|
51227
|
-
var FA = new Tg(1, 0, 0, -1, 0,
|
|
51227
|
+
var FA = new Tg(1, 0, 0, -1, 0, OI());
|
|
51228
51228
|
H.matrix && (FA = FA.multiply(H.matrix || HB), eA = NB.call(tA, H.key, H.boundingBox, H.xStep, H.yStep, FA).id), IA("q"), IA("/Pattern cs"), IA("/" + eA + " scn"), tA.gState && a.setGState(tA.gState), IA(b), IA("Q");
|
|
51229
51229
|
}
|
|
51230
51230
|
}, se = function(H) {
|
|
@@ -51493,17 +51493,17 @@ T* `) : H.join(` Tj
|
|
|
51493
51493
|
return rg(H = H || J) / Yg;
|
|
51494
51494
|
}, OB = a.setPageWidth = function(H, b) {
|
|
51495
51495
|
kA(H, b * Yg);
|
|
51496
|
-
},
|
|
51496
|
+
}, OI = a.getPageHeight = function(H) {
|
|
51497
51497
|
return vg(H = H || J) / Yg;
|
|
51498
51498
|
}, rE = a.setPageHeight = function(H, b) {
|
|
51499
51499
|
CB(H, b * Yg);
|
|
51500
51500
|
};
|
|
51501
|
-
return a.internal = { pdfEscape: PB, getStyle: iw, getFont: ow, getFontSize: Bg, getCharSpace: yE, getTextColor: sQ, getLineHeight: CM, getLineHeightFactor: zC, getLineWidth: gB, write: Ig, getHorizontalCoordinate: WC, getVerticalCoordinate: YE, getCoordinateString: hQ, getVerticalCoordinateString: ww, collections: {}, newObject: eB, newAdditionalObject: BC, newObjectDeferred: CI, newObjectDeferredBegin: BI, getFilters: FI, putStream:
|
|
51501
|
+
return a.internal = { pdfEscape: PB, getStyle: iw, getFont: ow, getFontSize: Bg, getCharSpace: yE, getTextColor: sQ, getLineHeight: CM, getLineHeightFactor: zC, getLineWidth: gB, write: Ig, getHorizontalCoordinate: WC, getVerticalCoordinate: YE, getCoordinateString: hQ, getVerticalCoordinateString: ww, collections: {}, newObject: eB, newAdditionalObject: BC, newObjectDeferred: CI, newObjectDeferredBegin: BI, getFilters: FI, putStream: NI, events: FB, scaleFactor: Yg, pageSize: { getWidth: function() {
|
|
51502
51502
|
return VI(J);
|
|
51503
51503
|
}, setWidth: function(H) {
|
|
51504
51504
|
OB(J, H);
|
|
51505
51505
|
}, getHeight: function() {
|
|
51506
|
-
return
|
|
51506
|
+
return OI(J);
|
|
51507
51507
|
}, setHeight: function(H) {
|
|
51508
51508
|
rE(J, H);
|
|
51509
51509
|
} }, encryptionOptions: D, encryption: JB, getEncryptor: function(H) {
|
|
@@ -51515,7 +51515,7 @@ T* `) : H.join(` Tj
|
|
|
51515
51515
|
}, set: function(H) {
|
|
51516
51516
|
OB(J, H);
|
|
51517
51517
|
}, enumerable: !0, configurable: !0 }), Object.defineProperty(a.internal.pageSize, "height", { get: function() {
|
|
51518
|
-
return
|
|
51518
|
+
return OI(J);
|
|
51519
51519
|
}, set: function(H) {
|
|
51520
51520
|
rE(J, H);
|
|
51521
51521
|
}, enumerable: !0, configurable: !0 }), (function(H) {
|
|
@@ -53195,8 +53195,8 @@ function RS(g) {
|
|
|
53195
53195
|
Bg = mA[Fg], lg = mA[Fg + 8], eg = mA[Fg + 16], dA = mA[Fg + 24], ZA = mA[Fg + 32], cA = mA[Fg + 40], RA = mA[Fg + 48];
|
|
53196
53196
|
var HB = Bg + (NA = mA[Fg + 56]), bB = Bg - NA, LI = lg + RA, eB = lg - RA, CI = eg + cA, BI = eg - cA, BC = dA + ZA, wI = dA - ZA, $B = HB + BC, uB = HB - BC, AE = LI + CI, FI = LI - CI;
|
|
53197
53197
|
mA[Fg] = $B + AE, mA[Fg + 32] = $B - AE;
|
|
53198
|
-
var
|
|
53199
|
-
mA[Fg + 16] = uB +
|
|
53198
|
+
var NI = 0.707106781 * (FI + uB);
|
|
53199
|
+
mA[Fg + 16] = uB + NI, mA[Fg + 48] = uB - NI;
|
|
53200
53200
|
var QI = 0.382683433 * (($B = wI + BI) - (FI = eB + bB)), IC = 0.5411961 * $B + QI, xg = 1.306562965 * FI + QI, GA = 0.707106781 * (AE = BI + eB), $A = bB + GA, Sg = bB - GA;
|
|
53201
53201
|
mA[Fg + 40] = Sg + IC, mA[Fg + 24] = Sg - IC, mA[Fg + 8] = $A + xg, mA[Fg + 56] = $A - xg, Fg++;
|
|
53202
53202
|
}
|
|
@@ -53816,7 +53816,7 @@ function az(g) {
|
|
|
53816
53816
|
}
|
|
53817
53817
|
return Y.a = 3, 0;
|
|
53818
53818
|
}
|
|
53819
|
-
function
|
|
53819
|
+
function NI(Y) {
|
|
53820
53820
|
A(Y != null), Y.vc = null, Y.yc = null, Y.Ya = null;
|
|
53821
53821
|
var F = Y.Wa;
|
|
53822
53822
|
F != null && (F.X = null), Y.vb = null, A(Y != null);
|
|
@@ -53974,7 +53974,7 @@ function az(g) {
|
|
|
53974
53974
|
gA = (gA = FI(q, YA, 0, BA, QA, QA, null)) && !MA.h;
|
|
53975
53975
|
break A;
|
|
53976
53976
|
}
|
|
53977
|
-
return gA ? (_ != null ? _[0] = YA : (A(YA == null), A(x)), q.$ = 0, x ||
|
|
53977
|
+
return gA ? (_ != null ? _[0] = YA : (A(YA == null), A(x)), q.$ = 0, x || NI(hA)) : NI(hA), gA;
|
|
53978
53978
|
}
|
|
53979
53979
|
function xg(Y, F) {
|
|
53980
53980
|
var x = Y.c * Y.i, q = x + F + 16 * F;
|
|
@@ -54348,7 +54348,7 @@ function az(g) {
|
|
|
54348
54348
|
function OB(Y, F, x, q, _, gA) {
|
|
54349
54349
|
vg(Y, F, 1, x, 16, q, _, gA);
|
|
54350
54350
|
}
|
|
54351
|
-
function
|
|
54351
|
+
function OI(Y, F, x, q, _, gA) {
|
|
54352
54352
|
var BA;
|
|
54353
54353
|
for (BA = 3; 0 < BA; --BA) CB(Y, F += 4 * x, x, 1, 16, q, _, gA);
|
|
54354
54354
|
}
|
|
@@ -54979,7 +54979,7 @@ function az(g) {
|
|
|
54979
54979
|
for (OA = -255; 510 >= OA; ++OA) SD[255 + OA] = 0 > OA ? 0 : 255 < OA ? 255 : OA;
|
|
54980
54980
|
tw = 1;
|
|
54981
54981
|
}
|
|
54982
|
-
YQ = LQ, yi = eQ, CC = Ii, xB = ZC, iI = iw, fC = EM, WI = VI, UI = OB, Mi = H, DM = b, Dw =
|
|
54982
|
+
YQ = LQ, yi = eQ, CC = Ii, xB = ZC, iI = iw, fC = EM, WI = VI, UI = OB, Mi = H, DM = b, Dw = OI, lD = rE, Us = eA, ls = tA, $h = UA, At = uA, KD = rg, rQ = kA, cC[0] = Ji, cC[1] = Yo, cC[2] = Hi, cC[3] = CM, cC[4] = zC, cC[5] = YE, cC[6] = WC, cC[7] = hQ, cC[8] = tQ, cC[9] = ww, zi[0] = DQ, zi[1] = Ci, zi[2] = se, zi[3] = qQ, zi[4] = ow, zi[5] = GE, zi[6] = oE, $C[0] = VQ, $C[1] = NB, $C[2] = ro, $C[3] = aQ, $C[4] = TC, $C[5] = yE, $C[6] = Qi, OA = 1;
|
|
54983
54983
|
} else OA = 0;
|
|
54984
54984
|
}
|
|
54985
54985
|
OA && (OA = function(mB, eE) {
|
|
@@ -64246,7 +64246,7 @@ const wh = "https://api.tybotflow.com/api/v1", yRA = "https://api.tybotflow.com/
|
|
|
64246
64246
|
const A = fA.useRef(null), B = fA.useRef(null), I = fA.useRef(null), E = fA.useRef(null), C = fA.useRef(null), [Q, o] = fA.useState(null), [w, e] = fA.useState(!0), [D, t] = fA.useState(!1);
|
|
64247
64247
|
fA.useEffect(() => {
|
|
64248
64248
|
(async () => {
|
|
64249
|
-
e(!0), await
|
|
64249
|
+
e(!0), await HI.get(`${yRA}/bot/${g.bot?.botId}`, {}).then((HA) => {
|
|
64250
64250
|
o(HA.data);
|
|
64251
64251
|
}).catch((HA) => {
|
|
64252
64252
|
console.error("Error fetching bot config:", HA);
|
|
@@ -64311,7 +64311,7 @@ const wh = "https://api.tybotflow.com/api/v1", yRA = "https://api.tybotflow.com/
|
|
|
64311
64311
|
window.removeEventListener("mousemove", y), window.removeEventListener("mouseup", HA);
|
|
64312
64312
|
};
|
|
64313
64313
|
}, [TA, k, O]);
|
|
64314
|
-
const [mA, Cg] = fA.useState(!1), [Bg, lg] = fA.useState(!1), [eg, dA] = fA.useState(!1), [ZA, cA] = fA.useState(() => aA === "bottom-left" ? { x: 48, y: window.innerHeight - 120 } : aA === "middle-right" ? { x: window.innerWidth - 80, y: window.innerHeight / 2 - 35 } : { x: window.innerWidth - 123, y: window.innerHeight - 100 }), [RA, NA] = fA.useState(!1), [zA, Yg] = fA.useState({ x: 0, y: 0 }), Fg = fA.useRef(null), [Lg, jg] = fA.useState(""), [Rg, ng] = fA.useState(!1), [qg, ug] = fA.useState(!1), [Ng, mg] = fA.useState([]), [$g, nB] = fA.useState(!1), fg = fA.useRef(0), [Wg, FB] = fA.useState(!1), [gC, MB] = fA.useState(!1), yI = fA.useRef(!1), [aC, Tg] = fA.useState("00:00"), TB = fA.useRef(null), HB = fA.useRef(0), [bB, LI] = fA.useState(null), [eB, CI] = fA.useState(!1), [BI, BC] = fA.useState(/* @__PURE__ */ new Set()), [wI, $B] = fA.useState([]), [uB, AE] = fA.useState(null), [FI,
|
|
64314
|
+
const [mA, Cg] = fA.useState(!1), [Bg, lg] = fA.useState(!1), [eg, dA] = fA.useState(!1), [ZA, cA] = fA.useState(() => aA === "bottom-left" ? { x: 48, y: window.innerHeight - 120 } : aA === "middle-right" ? { x: window.innerWidth - 80, y: window.innerHeight / 2 - 35 } : { x: window.innerWidth - 123, y: window.innerHeight - 100 }), [RA, NA] = fA.useState(!1), [zA, Yg] = fA.useState({ x: 0, y: 0 }), Fg = fA.useRef(null), [Lg, jg] = fA.useState(""), [Rg, ng] = fA.useState(!1), [qg, ug] = fA.useState(!1), [Ng, mg] = fA.useState([]), [$g, nB] = fA.useState(!1), fg = fA.useRef(0), [Wg, FB] = fA.useState(!1), [gC, MB] = fA.useState(!1), yI = fA.useRef(!1), [aC, Tg] = fA.useState("00:00"), TB = fA.useRef(null), HB = fA.useRef(0), [bB, LI] = fA.useState(null), [eB, CI] = fA.useState(!1), [BI, BC] = fA.useState(/* @__PURE__ */ new Set()), [wI, $B] = fA.useState([]), [uB, AE] = fA.useState(null), [FI, NI] = fA.useState(!1), { startRecording: QI, stopRecording: IC, pauseRecording: xg, resumeRecording: GA, status: $A, error: Sg } = OwA.useReactMediaRecorder({
|
|
64315
64315
|
video: !1,
|
|
64316
64316
|
blobPropertyBag: {
|
|
64317
64317
|
type: "audio/mp3"
|
|
@@ -64378,7 +64378,7 @@ const wh = "https://api.tybotflow.com/api/v1", yRA = "https://api.tybotflow.com/
|
|
|
64378
64378
|
botpress: kA,
|
|
64379
64379
|
afterBotpress: vg,
|
|
64380
64380
|
beforeBotpress: CB
|
|
64381
|
-
})
|
|
64381
|
+
});
|
|
64382
64382
|
};
|
|
64383
64383
|
return Mh.on("timing_metrics", y), () => {
|
|
64384
64384
|
Mh.off("timing_metrics", y);
|
|
@@ -64387,7 +64387,7 @@ const wh = "https://api.tybotflow.com/api/v1", yRA = "https://api.tybotflow.com/
|
|
|
64387
64387
|
(async () => {
|
|
64388
64388
|
if (!(QB || !g.bot?.botId || !PB))
|
|
64389
64389
|
try {
|
|
64390
|
-
const UA = (await
|
|
64390
|
+
const UA = (await HI.post(`${wh}/conversations/start-conversation`, {
|
|
64391
64391
|
bot_id: g.bot?.botId,
|
|
64392
64392
|
externalUser: PB
|
|
64393
64393
|
})).data.conversationId;
|
|
@@ -64425,15 +64425,15 @@ const wh = "https://api.tybotflow.com/api/v1", yRA = "https://api.tybotflow.com/
|
|
|
64425
64425
|
if (Array.isArray(uA)) {
|
|
64426
64426
|
const rg = window.location.href, kA = window.location.origin, vg = window.location.pathname, CB = kA + vg;
|
|
64427
64427
|
for (const VI of uA)
|
|
64428
|
-
if (!VI.urls || VI.urls.length === 0 || VI.urls.every((
|
|
64429
|
-
if (!
|
|
64428
|
+
if (!VI.urls || VI.urls.length === 0 || VI.urls.every((OI) => !OI || OI.trim() === "") || VI.urls.some((OI) => {
|
|
64429
|
+
if (!OI || OI.trim() === "") return !1;
|
|
64430
64430
|
try {
|
|
64431
|
-
let rE =
|
|
64431
|
+
let rE = OI.trim();
|
|
64432
64432
|
!rE.startsWith("http://") && !rE.startsWith("https://") && (rE = "https://" + rE);
|
|
64433
64433
|
const H = new URL(rE), b = H.origin, eA = H.pathname, tA = b + eA;
|
|
64434
64434
|
return CB === tA || rg === rE ? !0 : eA === "/" || eA === "" ? kA === b : !!rg.startsWith(rE);
|
|
64435
64435
|
} catch {
|
|
64436
|
-
return console.warn("Invalid URL in message:",
|
|
64436
|
+
return console.warn("Invalid URL in message:", OI), !1;
|
|
64437
64437
|
}
|
|
64438
64438
|
}))
|
|
64439
64439
|
return !0;
|
|
@@ -64497,7 +64497,7 @@ const wh = "https://api.tybotflow.com/api/v1", yRA = "https://api.tybotflow.com/
|
|
|
64497
64497
|
vg = OB;
|
|
64498
64498
|
}
|
|
64499
64499
|
const CB = new FormData();
|
|
64500
|
-
CB.append("type", kA), CB.append("file", rg), CB.append("botId", g.bot.botId), CB.append("external_id", PB || ""), CB.append("isintern", g.token ? "true" : "false"), CB.append("host", window.location.origin), CB.append("channel", "web"), CB.append("payload", vg ? JSON.stringify(vg) : ""), await
|
|
64500
|
+
CB.append("type", kA), CB.append("file", rg), CB.append("botId", g.bot.botId), CB.append("external_id", PB || ""), CB.append("isintern", g.token ? "true" : "false"), CB.append("host", window.location.origin), CB.append("channel", "web"), CB.append("payload", vg ? JSON.stringify(vg) : ""), await HI.post(zz, CB, {
|
|
64501
64501
|
headers: {
|
|
64502
64502
|
Authorization: `Bearer ${g?.token}`,
|
|
64503
64503
|
"Content-Type": "multipart/form-data"
|
|
@@ -64513,7 +64513,7 @@ const wh = "https://api.tybotflow.com/api/v1", yRA = "https://api.tybotflow.com/
|
|
|
64513
64513
|
host: window.location.origin,
|
|
64514
64514
|
channel: "web"
|
|
64515
64515
|
};
|
|
64516
|
-
UA && (rg.payload = UA), await
|
|
64516
|
+
UA && (rg.payload = UA), await HI.post(zz, rg, {
|
|
64517
64517
|
headers: {
|
|
64518
64518
|
Authorization: `Bearer ${g?.token}`,
|
|
64519
64519
|
"Content-Type": "application/json"
|
|
@@ -64701,14 +64701,14 @@ const wh = "https://api.tybotflow.com/api/v1", yRA = "https://api.tybotflow.com/
|
|
|
64701
64701
|
if (!RA) return;
|
|
64702
64702
|
const kA = Math.abs(rg.clientX - PE.current.x), vg = Math.abs(rg.clientY - PE.current.y);
|
|
64703
64703
|
(kA > 5 || vg > 5) && qQ(!0);
|
|
64704
|
-
const CB = rg.clientX - zA.x, VI = rg.clientY - zA.y, OB = 67,
|
|
64704
|
+
const CB = rg.clientX - zA.x, VI = rg.clientY - zA.y, OB = 67, OI = window.innerWidth - document.body.clientWidth, rE = Math.max(0, Math.min(window.innerWidth - OB - OI, CB)), H = Math.max(0, Math.min(window.innerHeight - OB, VI));
|
|
64705
64705
|
cA({ x: rE, y: H });
|
|
64706
64706
|
}, HA = (rg) => {
|
|
64707
64707
|
if (!RA) return;
|
|
64708
64708
|
rg.preventDefault();
|
|
64709
64709
|
const kA = rg.touches[0], vg = Math.abs(kA.clientX - PE.current.x), CB = Math.abs(kA.clientY - PE.current.y);
|
|
64710
64710
|
(vg > 5 || CB > 5) && qQ(!0);
|
|
64711
|
-
const VI = kA.clientX - zA.x, OB = kA.clientY - zA.y,
|
|
64711
|
+
const VI = kA.clientX - zA.x, OB = kA.clientY - zA.y, OI = 67, rE = window.innerWidth - document.body.clientWidth, H = Math.max(0, Math.min(window.innerWidth - OI - rE, VI)), b = Math.max(0, Math.min(window.innerHeight - OI, OB));
|
|
64712
64712
|
cA({ x: H, y: b });
|
|
64713
64713
|
}, UA = () => {
|
|
64714
64714
|
RA && (NA(!1), document.body.style.cursor = "", document.body.style.userSelect = "");
|
|
@@ -64730,7 +64730,7 @@ const wh = "https://api.tybotflow.com/api/v1", yRA = "https://api.tybotflow.com/
|
|
|
64730
64730
|
}, []), fA.useEffect(() => {
|
|
64731
64731
|
const y = async () => {
|
|
64732
64732
|
try {
|
|
64733
|
-
await
|
|
64733
|
+
await HI.patch(
|
|
64734
64734
|
`${wh}/widget/endusers/${PB}`,
|
|
64735
64735
|
{
|
|
64736
64736
|
fiche_contact: {
|
|
@@ -65700,7 +65700,7 @@ const wh = "https://api.tybotflow.com/api/v1", yRA = "https://api.tybotflow.com/
|
|
|
65700
65700
|
}, zC = async (y) => {
|
|
65701
65701
|
y.preventDefault();
|
|
65702
65702
|
try {
|
|
65703
|
-
const UA = (await
|
|
65703
|
+
const UA = (await HI.post(`${wh}/conversations/start-conversation`, {
|
|
65704
65704
|
bot_id: g.bot?.botId,
|
|
65705
65705
|
externalUser: g.user.id
|
|
65706
65706
|
})).data.conversationId;
|
|
@@ -65759,7 +65759,7 @@ Options:
|
|
|
65759
65759
|
let kA = 25;
|
|
65760
65760
|
y.setFillColor(s), y.rect(0, 0, HA, 35, "F"), y.setTextColor(l), y.setFontSize(20), y.setFont("helvetica", "bold"), y.text(AI || "Chat Conversation", HA / 2, 22, { align: "center" }), kA = 50;
|
|
65761
65761
|
const vg = wI.filter((OB) => BI.has(OB.id));
|
|
65762
|
-
vg.forEach((OB,
|
|
65762
|
+
vg.forEach((OB, OI) => {
|
|
65763
65763
|
kA > UA - 50 && (y.addPage(), kA = 25), y.setFont("helvetica", "bold"), y.setFontSize(11);
|
|
65764
65764
|
const rE = OB.sender === "user" ? "You" : "Agent";
|
|
65765
65765
|
OB.sender === "user" ? y.setFillColor(230, 230, 250) : y.setFillColor(240, 248, 255), y.roundedRect(uA, kA - 4, rg, 8, 2, 2, "F"), y.setTextColor(60, 60, 60), y.text(rE, uA + 3, kA), y.setFont("helvetica", "normal"), y.setFontSize(8), y.setTextColor(120, 120, 120);
|
|
@@ -65849,13 +65849,13 @@ Options:
|
|
|
65849
65849
|
});
|
|
65850
65850
|
break;
|
|
65851
65851
|
}
|
|
65852
|
-
}), kA += 8,
|
|
65852
|
+
}), kA += 8, OI < vg.length - 1 && (kA > UA - 45 && (y.addPage(), kA = 25), y.setDrawColor(220, 220, 220), y.setLineWidth(0.5), y.line(uA, kA, HA - uA, kA), kA += 12);
|
|
65853
65853
|
});
|
|
65854
65854
|
const CB = y.internal.pages.length - 1;
|
|
65855
65855
|
for (let OB = 1; OB <= CB; OB++) {
|
|
65856
65856
|
y.setPage(OB), y.setFontSize(8), y.setTextColor(150, 150, 150), y.text(`Page ${OB} of ${CB}`, HA / 2, UA - 10, { align: "center" }), y.setFontSize(7);
|
|
65857
|
-
const
|
|
65858
|
-
y.text(`Generated on ${
|
|
65857
|
+
const OI = (/* @__PURE__ */ new Date()).toLocaleString();
|
|
65858
|
+
y.text(`Generated on ${OI}`, uA, UA - 10);
|
|
65859
65859
|
}
|
|
65860
65860
|
const VI = `${AI}-chat-${(/* @__PURE__ */ new Date()).toISOString().split("T")[0]}.pdf`;
|
|
65861
65861
|
y.save(VI), CI(!1), BC(/* @__PURE__ */ new Set());
|
|
@@ -65887,7 +65887,7 @@ Options:
|
|
|
65887
65887
|
{
|
|
65888
65888
|
className: "flex items-center gap-2 rounded-lg cursor-pointer transition-all duration-200 hover:opacity-80 w-fit",
|
|
65889
65889
|
style: { background: f },
|
|
65890
|
-
onClick: () =>
|
|
65890
|
+
onClick: () => NI(!FI),
|
|
65891
65891
|
children: /* @__PURE__ */ u.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
65892
65892
|
/* @__PURE__ */ u.jsx(
|
|
65893
65893
|
"span",
|
|
@@ -66318,7 +66318,7 @@ Options:
|
|
|
66318
66318
|
{
|
|
66319
66319
|
className: "flex items-center gap-2 px-3 py-2 rounded-lg cursor-pointer transition-all duration-200 hover:opacity-80",
|
|
66320
66320
|
style: { background: f },
|
|
66321
|
-
onClick: () =>
|
|
66321
|
+
onClick: () => NI(!FI),
|
|
66322
66322
|
children: /* @__PURE__ */ u.jsxs("div", { className: "flex-1 flex items-center gap-2", children: [
|
|
66323
66323
|
FI ? /* @__PURE__ */ u.jsx(hk, { size: 16, style: { color: X } }) : /* @__PURE__ */ u.jsx(uG, { size: 16, style: { color: X } }),
|
|
66324
66324
|
/* @__PURE__ */ u.jsx("span", { style: { color: X, fontSize: "12px", fontWeight: "500" }, children: "Process Statistics" })
|
|
@@ -68078,8 +68078,8 @@ var QnA = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqA
|
|
|
68078
68078
|
flags: es
|
|
68079
68079
|
}, Ga = function(g, A, B) {
|
|
68080
68080
|
var I = g[0], E = g[1];
|
|
68081
|
-
return [
|
|
68082
|
-
},
|
|
68081
|
+
return [JI(I, A), JI(typeof E < "u" ? E : I, B)];
|
|
68082
|
+
}, JI = function(g, A) {
|
|
68083
68083
|
if (g.type === 16)
|
|
68084
68084
|
return g.number / 100 * A;
|
|
68085
68085
|
if (Ds(g))
|
|
@@ -68217,7 +68217,7 @@ function bS(g, A, B) {
|
|
|
68217
68217
|
return B < 0 && (B += 1), B >= 1 && (B -= 1), B < 1 / 6 ? (A - g) * B * 6 + g : B < 1 / 2 ? A : B < 2 / 3 ? (A - g) * 6 * (2 / 3 - B) + g : g;
|
|
68218
68218
|
}
|
|
68219
68219
|
var DW = function(g, A) {
|
|
68220
|
-
var B = A.filter(yh), I = B[0], E = B[1], C = B[2], Q = B[3], o = (I.type === 17 ? li(I.number) : Mr.parse(g, I)) / (Math.PI * 2), w = TE(E) ? E.number / 100 : 0, e = TE(C) ? C.number / 100 : 0, D = typeof Q < "u" && TE(Q) ?
|
|
68220
|
+
var B = A.filter(yh), I = B[0], E = B[1], C = B[2], Q = B[3], o = (I.type === 17 ? li(I.number) : Mr.parse(g, I)) / (Math.PI * 2), w = TE(E) ? E.number / 100 : 0, e = TE(C) ? C.number / 100 : 0, D = typeof Q < "u" && TE(Q) ? JI(Q, 1) : 1;
|
|
68221
68221
|
if (w === 0)
|
|
68222
68222
|
return Ae(e * 255, e * 255, e * 255, 1);
|
|
68223
68223
|
var t = e <= 0.5 ? e * (w + 1) : e + w - e * w, s = e * 2 - t, a = bS(s, t, o + 1 / 3), G = bS(s, t, o), r = bS(s, t, o - 1 / 3);
|
|
@@ -68411,7 +68411,7 @@ var DW = function(g, A) {
|
|
|
68411
68411
|
for (var E = [], C = 0, Q = 0; Q < g.length; Q++) {
|
|
68412
68412
|
var o = g[Q].stop;
|
|
68413
68413
|
if (o !== null) {
|
|
68414
|
-
var w =
|
|
68414
|
+
var w = JI(o, A);
|
|
68415
68415
|
w > C ? E.push(w) : E.push(C), C = w;
|
|
68416
68416
|
} else
|
|
68417
68417
|
E.push(null);
|
|
@@ -68431,7 +68431,7 @@ var DW = function(g, A) {
|
|
|
68431
68431
|
return { color: R, stop: Math.max(Math.min(1, E[U] / A), 0) };
|
|
68432
68432
|
});
|
|
68433
68433
|
}, JFA = function(g, A, B) {
|
|
68434
|
-
var I = A / 2, E = B / 2, C =
|
|
68434
|
+
var I = A / 2, E = B / 2, C = JI(g[0], A) - I, Q = E - JI(g[1], B);
|
|
68435
68435
|
return (Math.atan2(Q, C) + Math.PI * 2) % (Math.PI * 2);
|
|
68436
68436
|
}, NFA = function(g, A, B) {
|
|
68437
68437
|
var I = typeof g == "number" ? g : JFA(g, A, B), E = Math.abs(A * Math.sin(I)) + Math.abs(B * Math.cos(I)), C = A / 2, Q = B / 2, o = E / 2, w = Math.sin(I - Math.PI / 2) * o, e = Math.cos(I - Math.PI / 2) * o;
|
|
@@ -68481,7 +68481,7 @@ var DW = function(g, A) {
|
|
|
68481
68481
|
}
|
|
68482
68482
|
break;
|
|
68483
68483
|
}
|
|
68484
|
-
return Array.isArray(g.size) && (C =
|
|
68484
|
+
return Array.isArray(g.size) && (C = JI(g.size[0], I), Q = g.size.length === 2 ? JI(g.size[1], E) : C), [C, Q];
|
|
68485
68485
|
}, dFA = function(g, A) {
|
|
68486
68486
|
var B = li(180), I = [];
|
|
68487
68487
|
return Iw(A).forEach(function(E, C) {
|
|
@@ -68989,7 +68989,7 @@ var cUA = {
|
|
|
68989
68989
|
type: 4
|
|
68990
68990
|
/* TOKEN_VALUE */
|
|
68991
68991
|
}, aW = function(g, A) {
|
|
68992
|
-
return nI(g) && g.value === "normal" ? 1.2 * A : g.type === 17 ? A * g.number : TE(g) ?
|
|
68992
|
+
return nI(g) && g.value === "normal" ? 1.2 * A : g.type === 17 ? A * g.number : TE(g) ? JI(g, A) : A;
|
|
68993
68993
|
}, YUA = {
|
|
68994
68994
|
name: "list-style-image",
|
|
68995
68995
|
initialValue: "none",
|
|
@@ -71077,7 +71077,7 @@ var sKA = function(g, A) {
|
|
|
71077
71077
|
U.push((C + w) / I.width), U.push((G + t) / I.width), U.push((Q + r) / I.height), U.push((e + s) / I.height);
|
|
71078
71078
|
var R = Math.max.apply(Math, U);
|
|
71079
71079
|
R > 1 && (C /= R, Q /= R, w /= R, e /= R, t /= R, s /= R, G /= R, r /= R);
|
|
71080
|
-
var l = I.width - w, K = I.height - s, m = I.width - t, k = I.height - r, O = B.borderTopWidth, p = B.borderRightWidth, L = B.borderBottomWidth, j = B.borderLeftWidth, Z =
|
|
71080
|
+
var l = I.width - w, K = I.height - s, m = I.width - t, k = I.height - r, O = B.borderTopWidth, p = B.borderRightWidth, L = B.borderBottomWidth, j = B.borderLeftWidth, Z = JI(B.paddingTop, A.bounds.width), d = JI(B.paddingRight, A.bounds.width), z = JI(B.paddingBottom, A.bounds.width), T = JI(B.paddingLeft, A.bounds.width);
|
|
71081
71081
|
this.topLeftBorderDoubleOuterBox = C > 0 || Q > 0 ? _I(I.left + j / 3, I.top + O / 3, C - j / 3, Q - O / 3, MI.TOP_LEFT) : new Og(I.left + j / 3, I.top + O / 3), this.topRightBorderDoubleOuterBox = C > 0 || Q > 0 ? _I(I.left + l, I.top + O / 3, w - p / 3, e - O / 3, MI.TOP_RIGHT) : new Og(I.left + I.width - p / 3, I.top + O / 3), this.bottomRightBorderDoubleOuterBox = t > 0 || s > 0 ? _I(I.left + m, I.top + K, t - p / 3, s - L / 3, MI.BOTTOM_RIGHT) : new Og(I.left + I.width - p / 3, I.top + I.height - L / 3), this.bottomLeftBorderDoubleOuterBox = G > 0 || r > 0 ? _I(I.left + j / 3, I.top + k, G - j / 3, r - L / 3, MI.BOTTOM_LEFT) : new Og(I.left + j / 3, I.top + I.height - L / 3), this.topLeftBorderDoubleInnerBox = C > 0 || Q > 0 ? _I(I.left + j * 2 / 3, I.top + O * 2 / 3, C - j * 2 / 3, Q - O * 2 / 3, MI.TOP_LEFT) : new Og(I.left + j * 2 / 3, I.top + O * 2 / 3), this.topRightBorderDoubleInnerBox = C > 0 || Q > 0 ? _I(I.left + l, I.top + O * 2 / 3, w - p * 2 / 3, e - O * 2 / 3, MI.TOP_RIGHT) : new Og(I.left + I.width - p * 2 / 3, I.top + O * 2 / 3), this.bottomRightBorderDoubleInnerBox = t > 0 || s > 0 ? _I(I.left + m, I.top + K, t - p * 2 / 3, s - L * 2 / 3, MI.BOTTOM_RIGHT) : new Og(I.left + I.width - p * 2 / 3, I.top + I.height - L * 2 / 3), this.bottomLeftBorderDoubleInnerBox = G > 0 || r > 0 ? _I(I.left + j * 2 / 3, I.top + k, G - j * 2 / 3, r - L * 2 / 3, MI.BOTTOM_LEFT) : new Og(I.left + j * 2 / 3, I.top + I.height - L * 2 / 3), this.topLeftBorderStroke = C > 0 || Q > 0 ? _I(I.left + j / 2, I.top + O / 2, C - j / 2, Q - O / 2, MI.TOP_LEFT) : new Og(I.left + j / 2, I.top + O / 2), this.topRightBorderStroke = C > 0 || Q > 0 ? _I(I.left + l, I.top + O / 2, w - p / 2, e - O / 2, MI.TOP_RIGHT) : new Og(I.left + I.width - p / 2, I.top + O / 2), this.bottomRightBorderStroke = t > 0 || s > 0 ? _I(I.left + m, I.top + K, t - p / 2, s - L / 2, MI.BOTTOM_RIGHT) : new Og(I.left + I.width - p / 2, I.top + I.height - L / 2), this.bottomLeftBorderStroke = G > 0 || r > 0 ? _I(I.left + j / 2, I.top + k, G - j / 2, r - L / 2, MI.BOTTOM_LEFT) : new Og(I.left + j / 2, I.top + I.height - L / 2), this.topLeftBorderBox = C > 0 || Q > 0 ? _I(I.left, I.top, C, Q, MI.TOP_LEFT) : new Og(I.left, I.top), this.topRightBorderBox = w > 0 || e > 0 ? _I(I.left + l, I.top, w, e, MI.TOP_RIGHT) : new Og(I.left + I.width, I.top), this.bottomRightBorderBox = t > 0 || s > 0 ? _I(I.left + m, I.top + K, t, s, MI.BOTTOM_RIGHT) : new Og(I.left + I.width, I.top + I.height), this.bottomLeftBorderBox = G > 0 || r > 0 ? _I(I.left, I.top + k, G, r, MI.BOTTOM_LEFT) : new Og(I.left, I.top + I.height), this.topLeftPaddingBox = C > 0 || Q > 0 ? _I(I.left + j, I.top + O, Math.max(0, C - j), Math.max(0, Q - O), MI.TOP_LEFT) : new Og(I.left + j, I.top + O), this.topRightPaddingBox = w > 0 || e > 0 ? _I(I.left + Math.min(l, I.width - p), I.top + O, l > I.width + p ? 0 : Math.max(0, w - p), Math.max(0, e - O), MI.TOP_RIGHT) : new Og(I.left + I.width - p, I.top + O), this.bottomRightPaddingBox = t > 0 || s > 0 ? _I(I.left + Math.min(m, I.width - j), I.top + Math.min(K, I.height - L), Math.max(0, t - p), Math.max(0, s - L), MI.BOTTOM_RIGHT) : new Og(I.left + I.width - p, I.top + I.height - L), this.bottomLeftPaddingBox = G > 0 || r > 0 ? _I(I.left + j, I.top + Math.min(k, I.height - L), Math.max(0, G - j), Math.max(0, r - L), MI.BOTTOM_LEFT) : new Og(I.left + j, I.top + I.height - L), this.topLeftContentBox = C > 0 || Q > 0 ? _I(I.left + j + T, I.top + O + Z, Math.max(0, C - (j + T)), Math.max(0, Q - (O + Z)), MI.TOP_LEFT) : new Og(I.left + j + T, I.top + O + Z), this.topRightContentBox = w > 0 || e > 0 ? _I(I.left + Math.min(l, I.width + j + T), I.top + O + Z, l > I.width + j + T ? 0 : w - j + T, e - (O + Z), MI.TOP_RIGHT) : new Og(I.left + I.width - (p + d), I.top + O + Z), this.bottomRightContentBox = t > 0 || s > 0 ? _I(I.left + Math.min(m, I.width - (j + T)), I.top + Math.min(K, I.height + O + Z), Math.max(0, t - (p + d)), s - (L + z), MI.BOTTOM_RIGHT) : new Og(I.left + I.width - (p + d), I.top + I.height - (L + z)), this.bottomLeftContentBox = G > 0 || r > 0 ? _I(I.left + j + T, I.top + k, Math.max(0, G - (j + T)), r - (L + z), MI.BOTTOM_LEFT) : new Og(I.left + j + T, I.top + I.height - (L + z));
|
|
71082
71082
|
}
|
|
71083
71083
|
return g;
|
|
@@ -71341,7 +71341,7 @@ var _I = function(g, A, B, I, E) {
|
|
|
71341
71341
|
var A = g.bounds, B = g.styles;
|
|
71342
71342
|
return A.add(B.borderLeftWidth, B.borderTopWidth, -(B.borderRightWidth + B.borderLeftWidth), -(B.borderTopWidth + B.borderBottomWidth));
|
|
71343
71343
|
}, lY = function(g) {
|
|
71344
|
-
var A = g.styles, B = g.bounds, I =
|
|
71344
|
+
var A = g.styles, B = g.bounds, I = JI(A.paddingLeft, B.width), E = JI(A.paddingRight, B.width), C = JI(A.paddingTop, B.width), Q = JI(A.paddingBottom, B.width);
|
|
71345
71345
|
return B.add(I + A.borderLeftWidth, C + A.borderTopWidth, -(A.borderRightWidth + A.borderLeftWidth + I + E), -(A.borderTopWidth + A.borderBottomWidth + C + Q));
|
|
71346
71346
|
}, TKA = function(g, A) {
|
|
71347
71347
|
return g === 0 ? A.bounds : g === 2 ? lY(A) : v7(A);
|
|
@@ -71359,7 +71359,7 @@ var _I = function(g, A, B, I, E) {
|
|
|
71359
71359
|
if (!Q)
|
|
71360
71360
|
return [0, 0];
|
|
71361
71361
|
if (TE(Q) && o && TE(o))
|
|
71362
|
-
return [
|
|
71362
|
+
return [JI(Q, B.width), JI(o, B.height)];
|
|
71363
71363
|
var w = cG(C);
|
|
71364
71364
|
if (nI(Q) && (Q.value === Nh.CONTAIN || Q.value === Nh.COVER)) {
|
|
71365
71365
|
if (cG(C)) {
|
|
@@ -71383,10 +71383,10 @@ var _I = function(g, A, B, I, E) {
|
|
|
71383
71383
|
}
|
|
71384
71384
|
if (w) {
|
|
71385
71385
|
var R = 0, l = 0;
|
|
71386
|
-
return TE(Q) ? R =
|
|
71386
|
+
return TE(Q) ? R = JI(Q, B.width) : TE(o) && (l = JI(o, B.height)), sh(Q) ? R = l * C : (!o || sh(o)) && (l = R / C), [R, l];
|
|
71387
71387
|
}
|
|
71388
71388
|
var K = null, m = null;
|
|
71389
|
-
if (TE(Q) ? K =
|
|
71389
|
+
if (TE(Q) ? K = JI(Q, B.width) : o && TE(o) && (m = JI(o, B.height)), K !== null && (!o || sh(o)) && (m = D && t ? K / I * E : B.height), m !== null && sh(Q) && (K = D && t ? m / E * I : B.width), K !== null && m !== null)
|
|
71390
71390
|
return [K, m];
|
|
71391
71391
|
throw new Error("Unable to calculate background-size for element");
|
|
71392
71392
|
}, Rh = function(g, A) {
|
|
@@ -71657,7 +71657,7 @@ var _I = function(g, A, B, I, E) {
|
|
|
71657
71657
|
case 18:
|
|
71658
71658
|
return [3, 20];
|
|
71659
71659
|
case 19:
|
|
71660
|
-
B.listValue && I.styles.listStyleType !== -1 && (m = this.createFontStyle(C)[0], this.ctx.font = m, this.ctx.fillStyle = eC(C.color), this.ctx.textBaseline = "middle", this.ctx.textAlign = "right", k = new _w(I.bounds.left, I.bounds.top +
|
|
71660
|
+
B.listValue && I.styles.listStyleType !== -1 && (m = this.createFontStyle(C)[0], this.ctx.font = m, this.ctx.fillStyle = eC(C.color), this.ctx.textBaseline = "middle", this.ctx.textAlign = "right", k = new _w(I.bounds.left, I.bounds.top + JI(I.styles.paddingTop, I.bounds.width), I.bounds.width, aW(C.lineHeight, C.fontSize.number) / 2 + 1), this.renderTextWithLetterSpacing(new Oa(B.listValue, k), C.letterSpacing, aW(C.lineHeight, C.fontSize.number) / 2 + 2), this.ctx.textBaseline = "bottom", this.ctx.textAlign = "left"), O.label = 20;
|
|
71661
71661
|
case 20:
|
|
71662
71662
|
return [
|
|
71663
71663
|
2
|
|
@@ -71797,7 +71797,7 @@ var _I = function(g, A, B, I, E) {
|
|
|
71797
71797
|
null,
|
|
71798
71798
|
null,
|
|
71799
71799
|
null
|
|
71800
|
-
]), Z = j[0], d = j[1], z = j[2], T = j[3], W = j[4], X = D.position.length === 0 ? [ZJ] : D.position, f =
|
|
71800
|
+
]), Z = j[0], d = j[1], z = j[2], T = j[3], W = j[4], X = D.position.length === 0 ? [ZJ] : D.position, f = JI(X[0], T), EA = JI(X[X.length - 1], W), $ = xFA(D, f, EA, T, W), oA = $[0], N = $[1], oA > 0 && N > 0 && (AA = C.ctx.createRadialGradient(d + f, z + EA, 0, d + f, z + EA, oA), hW(D.stops, oA * 2).forEach(function(aA) {
|
|
71801
71801
|
return AA.addColorStop(aA.stop, eC(aA.color));
|
|
71802
71802
|
}), C.path(Z), C.ctx.fillStyle = AA, oA !== N ? (V = B.bounds.left + 0.5 * B.bounds.width, J = B.bounds.top + 0.5 * B.bounds.height, v = N / oA, iA = 1 / v, C.ctx.save(), C.ctx.translate(V, J), C.ctx.transform(1, 0, 0, v, 0, 0), C.ctx.translate(-V, -J), C.ctx.fillRect(d, iA * (z - J) + J, T, W * iA), C.ctx.restore()) : C.ctx.fill())), wA.label = 6;
|
|
71803
71803
|
case 6:
|
|
@@ -72451,7 +72451,7 @@ function Bf() {
|
|
|
72451
72451
|
}), JA && GA.hasChildNodes() && !$B(GA.firstElementChild) && gQ(/<[/\w!]/g, GA.innerHTML) && gQ(/<[/\w!]/g, GA.textContent) || GA.nodeType === oa.progressingInstruction || JA && GA.nodeType === oa.comment && gQ(/<[/\w]/g, GA.data))
|
|
72452
72452
|
return eB(GA), !0;
|
|
72453
72453
|
if (!(rA.tagCheck instanceof Function && rA.tagCheck(Sg)) && (!AA[Sg] || wA[Sg])) {
|
|
72454
|
-
if (!wA[Sg] &&
|
|
72454
|
+
if (!wA[Sg] && NI(Sg) && (iA.tagNameCheck instanceof RegExp && gQ(iA.tagNameCheck, Sg) || iA.tagNameCheck instanceof Function && iA.tagNameCheck(Sg)))
|
|
72455
72455
|
return !1;
|
|
72456
72456
|
if (dA && !RA[Sg]) {
|
|
72457
72457
|
const LB = K(GA) || GA.parentNode, AI = l(GA) || GA.childNodes;
|
|
@@ -72481,7 +72481,7 @@ function Bf() {
|
|
|
72481
72481
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
72482
72482
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
72483
72483
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
72484
|
-
!(
|
|
72484
|
+
!(NI(GA) && (iA.tagNameCheck instanceof RegExp && gQ(iA.tagNameCheck, GA) || iA.tagNameCheck instanceof Function && iA.tagNameCheck(GA)) && (iA.attributeNameCheck instanceof RegExp && gQ(iA.attributeNameCheck, $A) || iA.attributeNameCheck instanceof Function && iA.attributeNameCheck($A, GA)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
72485
72485
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
72486
72486
|
$A === "is" && iA.allowCustomizedBuiltInElements && (iA.tagNameCheck instanceof RegExp && gQ(iA.tagNameCheck, Sg) || iA.tagNameCheck instanceof Function && iA.tagNameCheck(Sg)))
|
|
72487
72487
|
) return !1;
|
|
@@ -72499,7 +72499,7 @@ function Bf() {
|
|
|
72499
72499
|
}
|
|
72500
72500
|
}
|
|
72501
72501
|
return !0;
|
|
72502
|
-
},
|
|
72502
|
+
}, NI = function(GA) {
|
|
72503
72503
|
return GA !== "annotation-xml" && o4(GA, oA);
|
|
72504
72504
|
}, QI = function(GA) {
|
|
72505
72505
|
uB(d.beforeSanitizeAttributes, GA, null);
|