@adriansteffan/reactive 0.2.0 → 0.2.1
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/{mod-C-XUCKhQ.js → mod-CWKvMS7s.js} +547 -546
- package/dist/reactive.es.js +1 -1
- package/dist/reactive.umd.js +110 -110
- package/dist/{web-Dpb5MAUc.js → web-DDyOXSFH.js} +1 -1
- package/dist/{web-Dv2PC8fG.js → web-DR-HR3ib.js} +1 -1
- package/package.json +1 -1
- package/src/components/experimentrunner.tsx +2 -1
- package/src/utils/common.ts +3 -3
|
@@ -3,7 +3,7 @@ var m1 = (i) => {
|
|
|
3
3
|
};
|
|
4
4
|
var Pp = (i, e, t) => e.has(i) || m1("Cannot " + t);
|
|
5
5
|
var Z = (i, e, t) => (Pp(i, e, "read from private field"), t ? t.call(i) : e.get(i)), nt = (i, e, t) => e.has(i) ? m1("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(i) : e.set(i, t), Ue = (i, e, t, s) => (Pp(i, e, "write to private field"), s ? s.call(i, t) : e.set(i, t), t), us = (i, e, t) => (Pp(i, e, "access private method"), t);
|
|
6
|
-
var
|
|
6
|
+
var Ju = (i, e, t, s) => ({
|
|
7
7
|
set _(r) {
|
|
8
8
|
Ue(i, e, r, t);
|
|
9
9
|
},
|
|
@@ -284,7 +284,7 @@ var bP = CP;
|
|
|
284
284
|
* limitations under the License.
|
|
285
285
|
*/
|
|
286
286
|
var wP = nP, xP = oP, EP = e5, VP = yP, SP = bP, TP = t5, IP = String.fromCharCode, PP = Array.isArray;
|
|
287
|
-
function
|
|
287
|
+
function Yu(i) {
|
|
288
288
|
return i !== i;
|
|
289
289
|
}
|
|
290
290
|
function RP(i) {
|
|
@@ -322,12 +322,12 @@ function AP(i) {
|
|
|
322
322
|
throw new Error("invalid flag: " + r);
|
|
323
323
|
}
|
|
324
324
|
if (s.width === "*") {
|
|
325
|
-
if (s.width = parseInt(arguments[o], 10), o += 1,
|
|
325
|
+
if (s.width = parseInt(arguments[o], 10), o += 1, Yu(s.width))
|
|
326
326
|
throw new TypeError("the argument for * width at position " + o + " is not a number. Value: `" + s.width + "`.");
|
|
327
327
|
s.width < 0 && (s.padRight = !0, s.width = -s.width);
|
|
328
328
|
}
|
|
329
329
|
if (e && s.precision === "*") {
|
|
330
|
-
if (s.precision = parseInt(arguments[o], 10), o += 1,
|
|
330
|
+
if (s.precision = parseInt(arguments[o], 10), o += 1, Yu(s.precision))
|
|
331
331
|
throw new TypeError("the argument for * precision at position " + o + " is not a number. Value: `" + s.precision + "`.");
|
|
332
332
|
s.precision < 0 && (s.precision = 1, e = !1);
|
|
333
333
|
}
|
|
@@ -345,10 +345,10 @@ function AP(i) {
|
|
|
345
345
|
s.maxWidth = e ? s.precision : -1, s.arg = String(s.arg);
|
|
346
346
|
break;
|
|
347
347
|
case "c":
|
|
348
|
-
if (!
|
|
348
|
+
if (!Yu(s.arg)) {
|
|
349
349
|
if (n = parseInt(s.arg, 10), n < 0 || n > 127)
|
|
350
350
|
throw new Error("invalid character code. Value: " + s.arg);
|
|
351
|
-
s.arg =
|
|
351
|
+
s.arg = Yu(n) ? String(s.arg) : IP(n);
|
|
352
352
|
}
|
|
353
353
|
break;
|
|
354
354
|
case "e":
|
|
@@ -407,7 +407,7 @@ var _P = LP, DP = _P;
|
|
|
407
407
|
* See the License for the specific language governing permissions and
|
|
408
408
|
* limitations under the License.
|
|
409
409
|
*/
|
|
410
|
-
var
|
|
410
|
+
var Xu = /%(?:([1-9]\d*)\$)?([0 +\-#]*)(\*|\d+)?(?:(\.)(\*|\d+)?)?[hlL]?([%A-Za-z])/g;
|
|
411
411
|
function kP(i) {
|
|
412
412
|
var e = {
|
|
413
413
|
mapping: i[1] ? parseInt(i[1], 10) : void 0,
|
|
@@ -420,8 +420,8 @@ function kP(i) {
|
|
|
420
420
|
}
|
|
421
421
|
function OP(i) {
|
|
422
422
|
var e, t, s, r;
|
|
423
|
-
for (t = [], r = 0, s =
|
|
424
|
-
e = i.slice(r,
|
|
423
|
+
for (t = [], r = 0, s = Xu.exec(i); s; )
|
|
424
|
+
e = i.slice(r, Xu.lastIndex - s[0].length), e.length && t.push(e), s[6] === "%" ? t.push("%") : t.push(kP(s)), r = Xu.lastIndex, s = Xu.exec(i);
|
|
425
425
|
return e = i.slice(r), e.length && t.push(e), t;
|
|
426
426
|
}
|
|
427
427
|
var MP = OP;
|
|
@@ -691,7 +691,7 @@ var uR = lR;
|
|
|
691
691
|
* See the License for the specific language governing permissions and
|
|
692
692
|
* limitations under the License.
|
|
693
693
|
*/
|
|
694
|
-
var hR = uR,
|
|
694
|
+
var hR = uR, mu = hR;
|
|
695
695
|
/**
|
|
696
696
|
* @license Apache-2.0
|
|
697
697
|
*
|
|
@@ -996,7 +996,7 @@ var $R = um;
|
|
|
996
996
|
* See the License for the specific language governing permissions and
|
|
997
997
|
* limitations under the License.
|
|
998
998
|
*/
|
|
999
|
-
var HR = $R,
|
|
999
|
+
var HR = $R, gu = HR;
|
|
1000
1000
|
/**
|
|
1001
1001
|
* @license Apache-2.0
|
|
1002
1002
|
*
|
|
@@ -1014,7 +1014,7 @@ var HR = $R, mu = HR;
|
|
|
1014
1014
|
* See the License for the specific language governing permissions and
|
|
1015
1015
|
* limitations under the License.
|
|
1016
1016
|
*/
|
|
1017
|
-
var QR =
|
|
1017
|
+
var QR = gu;
|
|
1018
1018
|
function UR(i) {
|
|
1019
1019
|
return typeof i == "object" && i !== null && !QR(i);
|
|
1020
1020
|
}
|
|
@@ -1111,7 +1111,7 @@ var ZR = Boolean, JR = ZR;
|
|
|
1111
1111
|
* See the License for the specific language governing permissions and
|
|
1112
1112
|
* limitations under the License.
|
|
1113
1113
|
*/
|
|
1114
|
-
var YR = JR,
|
|
1114
|
+
var YR = JR, vu = YR;
|
|
1115
1115
|
/**
|
|
1116
1116
|
* @license Apache-2.0
|
|
1117
1117
|
*
|
|
@@ -1173,7 +1173,7 @@ var i9 = s9;
|
|
|
1173
1173
|
* See the License for the specific language governing permissions and
|
|
1174
1174
|
* limitations under the License.
|
|
1175
1175
|
*/
|
|
1176
|
-
var r9 = td, n9 = $s, a9 =
|
|
1176
|
+
var r9 = td, n9 = $s, a9 = vu, o9 = i9, l9 = r9();
|
|
1177
1177
|
function u9(i) {
|
|
1178
1178
|
return typeof i == "object" ? i instanceof a9 ? !0 : l9 ? o9(i) : n9(i) === "[object Boolean]" : !1;
|
|
1179
1179
|
}
|
|
@@ -1469,7 +1469,7 @@ var u5 = l5;
|
|
|
1469
1469
|
* See the License for the specific language governing permissions and
|
|
1470
1470
|
* limitations under the License.
|
|
1471
1471
|
*/
|
|
1472
|
-
var j9 =
|
|
1472
|
+
var j9 = gu, z9 = ns;
|
|
1473
1473
|
function W9(i) {
|
|
1474
1474
|
if (typeof i != "function")
|
|
1475
1475
|
throw new TypeError(z9("invalid argument. Must provide a function. Value: `%s`.", i));
|
|
@@ -1912,11 +1912,11 @@ var z8 = j8, rd = z8;
|
|
|
1912
1912
|
* See the License for the specific language governing permissions and
|
|
1913
1913
|
* limitations under the License.
|
|
1914
1914
|
*/
|
|
1915
|
-
var W8 = sd, _1 = zr, G8 = rd,
|
|
1915
|
+
var W8 = sd, _1 = zr, G8 = rd, Jh = Cn, K8 = $s, Z8 = Object.prototype;
|
|
1916
1916
|
function J8(i) {
|
|
1917
1917
|
var e;
|
|
1918
1918
|
for (e in i)
|
|
1919
|
-
if (!
|
|
1919
|
+
if (!Jh(i, e))
|
|
1920
1920
|
return !1;
|
|
1921
1921
|
return !0;
|
|
1922
1922
|
}
|
|
@@ -1924,9 +1924,9 @@ function Y8(i) {
|
|
|
1924
1924
|
var e;
|
|
1925
1925
|
return W8(i) ? (e = G8(i), e ? (
|
|
1926
1926
|
// Cannot have own `constructor` property:
|
|
1927
|
-
!
|
|
1928
|
-
|
|
1929
|
-
|
|
1927
|
+
!Jh(i, "constructor") && // Prototype `constructor` property must be a function (see also https://bugs.jquery.com/ticket/9897 and http://stackoverflow.com/questions/18531624/isplainobject-thing):
|
|
1928
|
+
Jh(e, "constructor") && _1(e.constructor) && K8(e.constructor) === "[object Function]" && // Test for object-specific method:
|
|
1929
|
+
Jh(e, "isPrototypeOf") && _1(e.isPrototypeOf) && // Test if the prototype matches the global `Object` prototype (same realm):
|
|
1930
1930
|
(e === Z8 || // Test that all properties are own properties (cross-realm; *most* likely a plain object):
|
|
1931
1931
|
J8(i))
|
|
1932
1932
|
) : !0) : !1;
|
|
@@ -1949,7 +1949,7 @@ var X8 = Y8;
|
|
|
1949
1949
|
* See the License for the specific language governing permissions and
|
|
1950
1950
|
* limitations under the License.
|
|
1951
1951
|
*/
|
|
1952
|
-
var e6 = X8,
|
|
1952
|
+
var e6 = X8, yu = e6;
|
|
1953
1953
|
/**
|
|
1954
1954
|
* @license Apache-2.0
|
|
1955
1955
|
*
|
|
@@ -2435,7 +2435,7 @@ var iA = sA;
|
|
|
2435
2435
|
var C5 = ut, Qg = iA, rA = v5, nA = y5;
|
|
2436
2436
|
C5(Qg, "isPrimitive", rA);
|
|
2437
2437
|
C5(Qg, "isObject", nA);
|
|
2438
|
-
var
|
|
2438
|
+
var Cu = Qg;
|
|
2439
2439
|
/**
|
|
2440
2440
|
* @license Apache-2.0
|
|
2441
2441
|
*
|
|
@@ -2453,7 +2453,7 @@ var yu = Qg;
|
|
|
2453
2453
|
* See the License for the specific language governing permissions and
|
|
2454
2454
|
* limitations under the License.
|
|
2455
2455
|
*/
|
|
2456
|
-
var aA =
|
|
2456
|
+
var aA = Cu.isPrimitive;
|
|
2457
2457
|
function oA(i) {
|
|
2458
2458
|
return aA(i) && i > 0;
|
|
2459
2459
|
}
|
|
@@ -2475,7 +2475,7 @@ var b5 = oA;
|
|
|
2475
2475
|
* See the License for the specific language governing permissions and
|
|
2476
2476
|
* limitations under the License.
|
|
2477
2477
|
*/
|
|
2478
|
-
var lA =
|
|
2478
|
+
var lA = Cu.isObject;
|
|
2479
2479
|
function uA(i) {
|
|
2480
2480
|
return lA(i) && i.valueOf() > 0;
|
|
2481
2481
|
}
|
|
@@ -4703,7 +4703,7 @@ var Gg = Cm;
|
|
|
4703
4703
|
* See the License for the specific language governing permissions and
|
|
4704
4704
|
* limitations under the License.
|
|
4705
4705
|
*/
|
|
4706
|
-
var hO =
|
|
4706
|
+
var hO = Cu.isPrimitive;
|
|
4707
4707
|
function cO(i) {
|
|
4708
4708
|
return hO(i) && i >= 0;
|
|
4709
4709
|
}
|
|
@@ -4725,7 +4725,7 @@ var S5 = cO;
|
|
|
4725
4725
|
* See the License for the specific language governing permissions and
|
|
4726
4726
|
* limitations under the License.
|
|
4727
4727
|
*/
|
|
4728
|
-
var dO =
|
|
4728
|
+
var dO = Cu.isObject;
|
|
4729
4729
|
function pO(i) {
|
|
4730
4730
|
return dO(i) && i.valueOf() >= 0;
|
|
4731
4731
|
}
|
|
@@ -5497,9 +5497,9 @@ var BM = qM, M5 = BM;
|
|
|
5497
5497
|
* See the License for the specific language governing permissions and
|
|
5498
5498
|
* limitations under the License.
|
|
5499
5499
|
*/
|
|
5500
|
-
var $M = Cn,
|
|
5500
|
+
var $M = Cn, eh = Ng;
|
|
5501
5501
|
function HM() {
|
|
5502
|
-
return typeof
|
|
5502
|
+
return typeof eh == "function" && typeof eh("foo") == "symbol" && $M(eh, "iterator") && typeof eh.iterator == "symbol";
|
|
5503
5503
|
}
|
|
5504
5504
|
var QM = HM;
|
|
5505
5505
|
/**
|
|
@@ -5801,7 +5801,7 @@ function TN(i, e) {
|
|
|
5801
5801
|
}
|
|
5802
5802
|
return i;
|
|
5803
5803
|
}
|
|
5804
|
-
var IN = TN, Fl = Zg.isPrimitive, wm = Zo, ov = nd, ry = Jg, lv = sd, PN =
|
|
5804
|
+
var IN = TN, Fl = Zg.isPrimitive, wm = Zo, ov = nd, ry = Jg, lv = sd, PN = gu, RN = sv.primitives, N5 = hd.isPrimitive, vs = zr, zi = pa, yc = iv, yi = ha, AN = O5, LN = M5, _N = cd, Br = rv, Be = ut, fd = ua, Fi = Go, DN = k5, Te = ns, fr = dd, mr = pd, kN = wi, ON = nv, MN = av, NN = od, FN = ld, F5 = mN, qN = xN, BN = IN, Ii = Fi.BYTES_PER_ELEMENT * 2, q5 = _N();
|
|
5805
5805
|
function dt(i) {
|
|
5806
5806
|
return i instanceof _e || typeof i == "object" && i !== null && (i.constructor.name === "Complex64Array" || i.constructor.name === "Complex128Array") && typeof i._length == "number" && // eslint-disable-line no-underscore-dangle
|
|
5807
5807
|
// NOTE: we don't perform a more rigorous test here for a typed array for performance reasons, as robustly checking for a typed array instance could require walking the prototype tree and performing relatively expensive constructor checks...
|
|
@@ -5826,7 +5826,7 @@ function _e() {
|
|
|
5826
5826
|
else if (ov(arguments[0]))
|
|
5827
5827
|
if (t = arguments[0], s = t.length, s && PN(t) && zi(t[0])) {
|
|
5828
5828
|
if (t = BN(new Fi(s * 2), t), t === null) {
|
|
5829
|
-
if (!
|
|
5829
|
+
if (!yc(s))
|
|
5830
5830
|
throw new RangeError(Te("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.", s));
|
|
5831
5831
|
t = new Fi(arguments[0]);
|
|
5832
5832
|
}
|
|
@@ -5835,7 +5835,7 @@ function _e() {
|
|
|
5835
5835
|
t = ON(t, 0);
|
|
5836
5836
|
else if (LN(t))
|
|
5837
5837
|
t = MN(t, 0);
|
|
5838
|
-
else if (!
|
|
5838
|
+
else if (!yc(s))
|
|
5839
5839
|
throw new RangeError(Te("invalid argument. Array-like object and typed array arguments must have a length which is a multiple of two. Length: `%u`.", s));
|
|
5840
5840
|
t = new Fi(t);
|
|
5841
5841
|
}
|
|
@@ -5912,7 +5912,7 @@ Be(_e, "from", function(e) {
|
|
|
5912
5912
|
break;
|
|
5913
5913
|
}
|
|
5914
5914
|
if (h) {
|
|
5915
|
-
if (!
|
|
5915
|
+
if (!yc(u))
|
|
5916
5916
|
throw new RangeError(Te("invalid argument. First argument must have a length which is a multiple of %u. Length: `%u`.", 2, u));
|
|
5917
5917
|
for (n = new this(u / 2), a = n._buffer, d = 0; d < u; d++)
|
|
5918
5918
|
a[d] = r.call(t, l(e, d), d);
|
|
@@ -6285,7 +6285,7 @@ Be(_e.prototype, "set", function(e) {
|
|
|
6285
6285
|
break;
|
|
6286
6286
|
}
|
|
6287
6287
|
if (a) {
|
|
6288
|
-
if (!
|
|
6288
|
+
if (!yc(o))
|
|
6289
6289
|
throw new RangeError(Te("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.", o));
|
|
6290
6290
|
if (s + o / 2 > this._length)
|
|
6291
6291
|
throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");
|
|
@@ -6636,7 +6636,7 @@ function dF(i, e) {
|
|
|
6636
6636
|
}
|
|
6637
6637
|
return i;
|
|
6638
6638
|
}
|
|
6639
|
-
var pF = dF, ql = Zg.isPrimitive, xm = Zo, hv = nd, ny = Jg, cv = sd, fF =
|
|
6639
|
+
var pF = dF, ql = Zg.isPrimitive, xm = Zo, hv = nd, ny = Jg, cv = sd, fF = gu, mF = sv.primitives, $5 = hd, ys = zr, Wi = pa, Cc = iv, Ci = ha, gF = O5, vF = M5, yF = cd, $r = rv, $e = ut, vd = ua, qi = Yi, H5 = D5, gr = md, vr = gd, CF = wi, bF = nv, wF = av, xF = od, EF = ld, Ie = ns, Q5 = tF, VF = lF, SF = pF, Pi = qi.BYTES_PER_ELEMENT * 2, U5 = yF();
|
|
6640
6640
|
function pt(i) {
|
|
6641
6641
|
return i instanceof De || typeof i == "object" && i !== null && (i.constructor.name === "Complex64Array" || i.constructor.name === "Complex128Array") && typeof i._length == "number" && // eslint-disable-line no-underscore-dangle
|
|
6642
6642
|
// NOTE: we don't perform a more rigorous test here for a typed array for performance reasons, as robustly checking for a typed array instance could require walking the prototype tree and performing relatively expensive constructor checks...
|
|
@@ -6661,7 +6661,7 @@ function De() {
|
|
|
6661
6661
|
else if (hv(arguments[0]))
|
|
6662
6662
|
if (t = arguments[0], s = t.length, s && fF(t) && Wi(t[0])) {
|
|
6663
6663
|
if (t = SF(new qi(s * 2), t), t === null) {
|
|
6664
|
-
if (!
|
|
6664
|
+
if (!Cc(s))
|
|
6665
6665
|
throw new RangeError(Ie("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.", s));
|
|
6666
6666
|
t = new qi(arguments[0]);
|
|
6667
6667
|
}
|
|
@@ -6670,7 +6670,7 @@ function De() {
|
|
|
6670
6670
|
t = bF(t, 0);
|
|
6671
6671
|
else if (vF(t))
|
|
6672
6672
|
t = wF(t, 0);
|
|
6673
|
-
else if (!
|
|
6673
|
+
else if (!Cc(s))
|
|
6674
6674
|
throw new RangeError(Ie("invalid argument. Array-like object and typed array arguments must have a length which is a multiple of two. Length: `%u`.", s));
|
|
6675
6675
|
t = new qi(t);
|
|
6676
6676
|
}
|
|
@@ -6747,7 +6747,7 @@ $e(De, "from", function(e) {
|
|
|
6747
6747
|
break;
|
|
6748
6748
|
}
|
|
6749
6749
|
if (h) {
|
|
6750
|
-
if (!
|
|
6750
|
+
if (!Cc(u))
|
|
6751
6751
|
throw new RangeError(Ie("invalid argument. First argument must have a length which is a multiple of two. Length: `%u`.", u));
|
|
6752
6752
|
for (n = new this(u / 2), a = n._buffer, d = 0; d < u; d++)
|
|
6753
6753
|
a[d] = r.call(t, l(e, d), d);
|
|
@@ -7121,7 +7121,7 @@ $e(De.prototype, "set", function(e) {
|
|
|
7121
7121
|
break;
|
|
7122
7122
|
}
|
|
7123
7123
|
if (a) {
|
|
7124
|
-
if (!
|
|
7124
|
+
if (!Cc(o))
|
|
7125
7125
|
throw new RangeError(Ie("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.", o));
|
|
7126
7126
|
if (s + o / 2 > this._length)
|
|
7127
7127
|
throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");
|
|
@@ -7324,7 +7324,7 @@ var IF = TF, dv = IF;
|
|
|
7324
7324
|
* See the License for the specific language governing permissions and
|
|
7325
7325
|
* limitations under the License.
|
|
7326
7326
|
*/
|
|
7327
|
-
var PF =
|
|
7327
|
+
var PF = vu;
|
|
7328
7328
|
function RF(i) {
|
|
7329
7329
|
var e, t;
|
|
7330
7330
|
for (e = []; t = i.next(), !t.done; )
|
|
@@ -7349,7 +7349,7 @@ var AF = RF;
|
|
|
7349
7349
|
* See the License for the specific language governing permissions and
|
|
7350
7350
|
* limitations under the License.
|
|
7351
7351
|
*/
|
|
7352
|
-
var LF =
|
|
7352
|
+
var LF = vu;
|
|
7353
7353
|
function _F(i, e, t) {
|
|
7354
7354
|
var s, r, n;
|
|
7355
7355
|
for (s = [], n = -1; r = i.next(), !r.done; )
|
|
@@ -7374,7 +7374,7 @@ var DF = _F;
|
|
|
7374
7374
|
* See the License for the specific language governing permissions and
|
|
7375
7375
|
* limitations under the License.
|
|
7376
7376
|
*/
|
|
7377
|
-
var kF =
|
|
7377
|
+
var kF = vu;
|
|
7378
7378
|
function OF(i, e) {
|
|
7379
7379
|
var t, s;
|
|
7380
7380
|
for (t = e.length, s = 0; s < t; s++)
|
|
@@ -7399,7 +7399,7 @@ var MF = OF;
|
|
|
7399
7399
|
* See the License for the specific language governing permissions and
|
|
7400
7400
|
* limitations under the License.
|
|
7401
7401
|
*/
|
|
7402
|
-
var Bl = Zg.isPrimitive, pv = nd, ay = Jg, fv = sd, Cs = zr,
|
|
7402
|
+
var Bl = Zg.isPrimitive, pv = nd, ay = Jg, fv = sd, Cs = zr, bu = id.isPrimitive, yr = Cu.isPrimitive, z5 = hd.isPrimitive, NF = sv.primitives, FF = cd, Hr = rv, He = ut, yd = ua, ln = Ko, Dt = vu, qF = od, BF = wi, $F = ld, Qe = ns, W5 = AF, HF = DF, QF = MF, $a = ln.BYTES_PER_ELEMENT, G5 = FF();
|
|
7403
7403
|
function vt(i) {
|
|
7404
7404
|
return typeof i == "object" && i !== null && i.constructor.name === "BooleanArray" && i.BYTES_PER_ELEMENT === $a;
|
|
7405
7405
|
}
|
|
@@ -7550,7 +7550,7 @@ He(Ne.prototype, "fill", function(e, t, s) {
|
|
|
7550
7550
|
var r, n, a, o;
|
|
7551
7551
|
if (!vt(this))
|
|
7552
7552
|
throw new TypeError("invalid invocation. `this` is not a boolean array.");
|
|
7553
|
-
if (!
|
|
7553
|
+
if (!bu(e))
|
|
7554
7554
|
throw new TypeError(Qe("invalid argument. First argument must be a boolean. Value: `%s`.", e));
|
|
7555
7555
|
if (r = this._buffer, n = this._length, arguments.length > 1) {
|
|
7556
7556
|
if (!yr(t))
|
|
@@ -7640,7 +7640,7 @@ He(Ne.prototype, "includes", function(e, t) {
|
|
|
7640
7640
|
var s, r;
|
|
7641
7641
|
if (!vt(this))
|
|
7642
7642
|
throw new TypeError("invalid invocation. `this` is not a boolean array.");
|
|
7643
|
-
if (!
|
|
7643
|
+
if (!bu(e))
|
|
7644
7644
|
throw new TypeError(Qe("invalid argument. First argument must be a boolean. Value: `%s`.", e));
|
|
7645
7645
|
if (arguments.length > 1) {
|
|
7646
7646
|
if (!yr(t))
|
|
@@ -7657,7 +7657,7 @@ He(Ne.prototype, "indexOf", function(e, t) {
|
|
|
7657
7657
|
var s, r;
|
|
7658
7658
|
if (!vt(this))
|
|
7659
7659
|
throw new TypeError("invalid invocation. `this` is not a boolean array.");
|
|
7660
|
-
if (!
|
|
7660
|
+
if (!bu(e))
|
|
7661
7661
|
throw new TypeError(Qe("invalid argument. First argument must be a boolean. Value: `%s`.", e));
|
|
7662
7662
|
if (arguments.length > 1) {
|
|
7663
7663
|
if (!yr(t))
|
|
@@ -7712,7 +7712,7 @@ He(Ne.prototype, "lastIndexOf", function(e, t) {
|
|
|
7712
7712
|
var s, r;
|
|
7713
7713
|
if (!vt(this))
|
|
7714
7714
|
throw new TypeError("invalid invocation. `this` is not a boolean array.");
|
|
7715
|
-
if (!
|
|
7715
|
+
if (!bu(e))
|
|
7716
7716
|
throw new TypeError(Qe("invalid argument. First argument must be a boolean. Value: `%s`.", e));
|
|
7717
7717
|
if (arguments.length > 1) {
|
|
7718
7718
|
if (!yr(t))
|
|
@@ -7953,7 +7953,7 @@ He(Ne.prototype, "with", function(e, t) {
|
|
|
7953
7953
|
throw new TypeError(Qe("invalid argument. First argument must be an integer. Value: `%s`.", e));
|
|
7954
7954
|
if (n = this._length, e < 0 && (e += n), e < 0 || e >= n)
|
|
7955
7955
|
throw new RangeError(Qe("invalid argument. Index argument is out-of-bounds. Value: `%s`.", e));
|
|
7956
|
-
if (!
|
|
7956
|
+
if (!bu(t))
|
|
7957
7957
|
throw new TypeError(Qe("invalid argument. Second argument must be a boolean. Value: `%s`.", t));
|
|
7958
7958
|
return r = new this.constructor(this._buffer), s = r._buffer, t ? s[e] = 1 : s[e] = 0, r;
|
|
7959
7959
|
});
|
|
@@ -8055,7 +8055,7 @@ var aq = [
|
|
|
8055
8055
|
* See the License for the specific language governing permissions and
|
|
8056
8056
|
* limitations under the License.
|
|
8057
8057
|
*/
|
|
8058
|
-
var lq = c5, uq =
|
|
8058
|
+
var lq = c5, uq = gu, hq = Wa, cq = QL, dq = nq, Z5 = oq, pq = Z5.length;
|
|
8059
8059
|
function fq(i) {
|
|
8060
8060
|
var e;
|
|
8061
8061
|
if (uq(i))
|
|
@@ -8423,15 +8423,15 @@ const hB = [
|
|
|
8423
8423
|
* See the License for the specific language governing permissions and
|
|
8424
8424
|
* limitations under the License.
|
|
8425
8425
|
*/
|
|
8426
|
-
var cB = Wa, dB = Yq, eE = rd, pB = V5, fB = Yi, uy = uB, hy = hB,
|
|
8427
|
-
|
|
8426
|
+
var cB = Wa, dB = Yq, eE = rd, pB = V5, fB = Yi, uy = uB, hy = hB, Yh = pB() ? eE(fB) : tE;
|
|
8427
|
+
Yh = dB(Yh) === "TypedArray" ? Yh : tE;
|
|
8428
8428
|
function tE() {
|
|
8429
8429
|
}
|
|
8430
8430
|
function mB(i) {
|
|
8431
8431
|
var e, t;
|
|
8432
8432
|
if (typeof i != "object" || i === null)
|
|
8433
8433
|
return !1;
|
|
8434
|
-
if (i instanceof
|
|
8434
|
+
if (i instanceof Yh)
|
|
8435
8435
|
return !0;
|
|
8436
8436
|
for (t = 0; t < uy.length; t++)
|
|
8437
8437
|
if (i instanceof uy[t])
|
|
@@ -8637,9 +8637,9 @@ var qB = FB, BB = qB;
|
|
|
8637
8637
|
* See the License for the specific language governing permissions and
|
|
8638
8638
|
* limitations under the License.
|
|
8639
8639
|
*/
|
|
8640
|
-
var $B = Cn,
|
|
8640
|
+
var $B = Cn, th = Ng;
|
|
8641
8641
|
function HB() {
|
|
8642
|
-
return typeof
|
|
8642
|
+
return typeof th == "function" && typeof th("foo") == "symbol" && $B(th, "hasInstance") && typeof th.hasInstance == "symbol";
|
|
8643
8643
|
}
|
|
8644
8644
|
var QB = HB;
|
|
8645
8645
|
/**
|
|
@@ -8853,7 +8853,7 @@ var _$ = L$;
|
|
|
8853
8853
|
* See the License for the specific language governing permissions and
|
|
8854
8854
|
* limitations under the License.
|
|
8855
8855
|
*/
|
|
8856
|
-
var D$ = _$,
|
|
8856
|
+
var D$ = _$, wu = D$;
|
|
8857
8857
|
/**
|
|
8858
8858
|
* @license Apache-2.0
|
|
8859
8859
|
*
|
|
@@ -8876,10 +8876,10 @@ function N$() {
|
|
|
8876
8876
|
var i = O$(1 + M$ * Math.random());
|
|
8877
8877
|
return i >>> 0;
|
|
8878
8878
|
}
|
|
8879
|
-
var iE = N$, Yr = ut, Vn = ua, py =
|
|
8879
|
+
var iE = N$, Yr = ut, Vn = ua, py = mu, Op = Cn, F$ = yu, q$ = nd, fy = Bg, B$ = id.isPrimitive, my = gA.isPrimitive, rE = yA, nE = ad, li = Gr, $$ = E5, Em = KA, ao = Mq, H$ = wu, di = ns, gy = iE, Ss = 624, Mp = 397, vy = nE >>> 0, Q$ = 19650218, Np = 2147483648, Fp = 2147483647, U$ = 1812433253, j$ = 1664525, z$ = 1566083941, W$ = 2636928640, G$ = 4022730752, K$ = 2567483615, qp = [0, K$ >>> 0], aE = 1 / (rE + 1), Z$ = 67108864, J$ = 2147483648, Bp = 1, Y$ = rE * aE, bc = 1, wc = 3, qn = 2, Bn = Ss + 3, hi = Ss + 5, $l = Ss + 6;
|
|
8880
8880
|
function yy(i, e) {
|
|
8881
8881
|
var t;
|
|
8882
|
-
return e ? t = "option" : t = "argument", i.length < $l + 1 ? new RangeError(di("invalid %s. `state` array has insufficient length.", t)) : i[0] !==
|
|
8882
|
+
return e ? t = "option" : t = "argument", i.length < $l + 1 ? new RangeError(di("invalid %s. `state` array has insufficient length.", t)) : i[0] !== bc ? new RangeError(di("invalid %s. `state` array has an incompatible schema version. Expected: `%s`. Actual: `%s.`", t, bc, i[0])) : i[1] !== wc ? new RangeError(di("invalid %s. `state` array has an incompatible number of sections. Expected: `%s`. Actual: `%s`.", t, wc, i[1])) : i[qn] !== Ss ? new RangeError(di("invalid %s. `state` array has an incompatible state length. Expected: `%u`. Actual: `%u`.", t, Ss, i[qn])) : i[Bn] !== 1 ? new RangeError(di("invalid %s. `state` array has an incompatible section length. Expected: `%u`. Actual: `%u`.", t, 1, i[Bn])) : i[hi] !== i.length - $l ? new RangeError(di("invalid %s. `state` array length is incompatible with seed section length. Expected: `%u`. Actual: `%u`.", t, i.length - $l, i[hi])) : null;
|
|
8883
8883
|
}
|
|
8884
8884
|
function Cy(i, e, t) {
|
|
8885
8885
|
var s;
|
|
@@ -8933,13 +8933,13 @@ function tH(i) {
|
|
|
8933
8933
|
throw new RangeError(di("invalid option. `%s` option must be either a positive integer less than or equal to the maximum unsigned 32-bit integer or an array-like object containing integer values less than or equal to the maximum unsigned 32-bit integer. Option: `%u`.", "seed", r));
|
|
8934
8934
|
r >>>= 0;
|
|
8935
8935
|
} else
|
|
8936
|
-
n = r.length, e = new li($l + n), e[0] =
|
|
8936
|
+
n = r.length, e = new li($l + n), e[0] = bc, e[1] = wc, e[qn] = Ss, e[Bn] = 1, e[Bn + 1] = Ss, e[hi] = n, ao.ndarray(n, r, 1, 0, e, 1, hi + 1), t = new li(e.buffer, e.byteOffset + (qn + 1) * e.BYTES_PER_ELEMENT, Ss), r = new li(e.buffer, e.byteOffset + (hi + 1) * e.BYTES_PER_ELEMENT, n), t = Cy(t, Ss, Q$), t = X$(t, Ss, r, n);
|
|
8937
8937
|
}
|
|
8938
8938
|
else
|
|
8939
8939
|
r = gy() >>> 0;
|
|
8940
8940
|
} else
|
|
8941
8941
|
r = gy() >>> 0;
|
|
8942
|
-
return t === void 0 && (e = new li($l + 1), e[0] =
|
|
8942
|
+
return t === void 0 && (e = new li($l + 1), e[0] = bc, e[1] = wc, e[qn] = Ss, e[Bn] = 1, e[Bn + 1] = Ss, e[hi] = 1, e[hi + 1] = r, t = new li(e.buffer, e.byteOffset + (qn + 1) * e.BYTES_PER_ELEMENT, Ss), r = new li(e.buffer, e.byteOffset + (hi + 1) * e.BYTES_PER_ELEMENT, 1), t = Cy(t, Ss, r)), Yr(y, "NAME", "mt19937"), Vn(y, "seed", o), Vn(y, "seedLength", l), py(y, "state", c, d), Vn(y, "stateLength", u), Vn(y, "byteLength", h), Yr(y, "toJSON", f), Yr(y, "MIN", 0), Yr(y, "MAX", nE), Yr(y, "normalized", v), Yr(v, "NAME", y.NAME), Vn(v, "seed", o), Vn(v, "seedLength", l), py(v, "state", c, d), Vn(v, "stateLength", u), Vn(v, "byteLength", h), Yr(v, "toJSON", f), Yr(v, "MIN", 0), Yr(v, "MAX", Y$), y;
|
|
8943
8943
|
function o() {
|
|
8944
8944
|
var m = e[hi];
|
|
8945
8945
|
return ao(m, r, 1, new li(m), 1);
|
|
@@ -10130,7 +10130,7 @@ var zU = jU;
|
|
|
10130
10130
|
* See the License for the specific language governing permissions and
|
|
10131
10131
|
* limitations under the License.
|
|
10132
10132
|
*/
|
|
10133
|
-
var WU = zU,
|
|
10133
|
+
var WU = zU, xu = WU;
|
|
10134
10134
|
/**
|
|
10135
10135
|
* @license Apache-2.0
|
|
10136
10136
|
*
|
|
@@ -10204,10 +10204,10 @@ var JU = ZU;
|
|
|
10204
10204
|
* is preserved.
|
|
10205
10205
|
* ```
|
|
10206
10206
|
*/
|
|
10207
|
-
var Ty = Xi, YU =
|
|
10207
|
+
var Ty = Xi, YU = xu, XU = yt, ej = Ga, tj = ni, sj = KU, ij = JU, sh = 0.6931471803691238, ih = 19082149292705877e-26, rj = 18014398509481984, nj = 0.3333333333333333, Iy = 1048575, aj = 2146435072, oj = 1048576, lj = 1072693248;
|
|
10208
10208
|
function uj(i) {
|
|
10209
10209
|
var e, t, s, r, n, a, o, l, u, h, c, d;
|
|
10210
|
-
return i === 0 ? tj : XU(i) || i < 0 ? NaN : (t = Ty(i), n = 0, t < oj && (n -= 54, i *= rj, t = Ty(i)), t >= aj ? i + i : (n += (t >> 20) - ej | 0, t &= Iy, l = t + 614244 & 1048576 | 0, i = YU(i, t | l ^ lj), n += l >> 20 | 0, o = i - 1, (Iy & 2 + t) < 3 ? o === 0 ? n === 0 ? 0 : n *
|
|
10210
|
+
return i === 0 ? tj : XU(i) || i < 0 ? NaN : (t = Ty(i), n = 0, t < oj && (n -= 54, i *= rj, t = Ty(i)), t >= aj ? i + i : (n += (t >> 20) - ej | 0, t &= Iy, l = t + 614244 & 1048576 | 0, i = YU(i, t | l ^ lj), n += l >> 20 | 0, o = i - 1, (Iy & 2 + t) < 3 ? o === 0 ? n === 0 ? 0 : n * sh + n * ih : (a = o * o * (0.5 - nj * o), n === 0 ? o - a : n * sh - (a - n * ih - o)) : (h = o / (2 + o), d = h * h, l = t - 398458 | 0, c = d * d, u = 440401 - t | 0, r = c * sj(c), s = d * ij(c), l |= u, a = s + r, l > 0 ? (e = 0.5 * o * o, n === 0 ? o - (e - h * (e + a)) : n * sh - (e - (h * (e + a) + n * ih) - o)) : n === 0 ? o - h * (o - a) : n * sh - (h * (o - a) - n * ih - o))));
|
|
10211
10211
|
}
|
|
10212
10212
|
var hj = uj;
|
|
10213
10213
|
/**
|
|
@@ -10352,7 +10352,7 @@ var Pj = Ij;
|
|
|
10352
10352
|
* See the License for the specific language governing permissions and
|
|
10353
10353
|
* limitations under the License.
|
|
10354
10354
|
*/
|
|
10355
|
-
var Sn = ut,
|
|
10355
|
+
var Sn = ut, rh = ua, _y = mu, Rj = zr, Aj = yu, Lj = id.isPrimitive, nh = Cn, _j = Bg, Up = Cd.factory, Dy = bn, Dj = bd, kj = wi, Oj = ad, Mj = wu, Cl = ns, Nj = Pj;
|
|
10356
10356
|
function Fj(i) {
|
|
10357
10357
|
var e, t, s, r;
|
|
10358
10358
|
if (r = {
|
|
@@ -10360,23 +10360,23 @@ function Fj(i) {
|
|
|
10360
10360
|
}, arguments.length) {
|
|
10361
10361
|
if (!Aj(i))
|
|
10362
10362
|
throw new TypeError(Cl("invalid argument. Must provide an object. Value: `%s`.", i));
|
|
10363
|
-
if (
|
|
10363
|
+
if (nh(i, "copy") && (r.copy = i.copy, !Lj(i.copy)))
|
|
10364
10364
|
throw new TypeError(Cl("invalid option. `%s` option must be a boolean. Option: `%s`.", "copy", i.copy));
|
|
10365
|
-
if (
|
|
10365
|
+
if (nh(i, "prng")) {
|
|
10366
10366
|
if (!Rj(i.prng))
|
|
10367
10367
|
throw new TypeError(Cl("invalid option. `%s` option must be a pseudorandom number generator function. Option: `%s`.", "prng", i.prng));
|
|
10368
10368
|
e = i.prng;
|
|
10369
|
-
} else if (
|
|
10369
|
+
} else if (nh(i, "state")) {
|
|
10370
10370
|
if (r.state = i.state, !_j(i.state))
|
|
10371
10371
|
throw new TypeError(Cl("invalid option. `%s` option must be a Uint32Array. Option: `%s`.", "state", i.state));
|
|
10372
|
-
} else if (
|
|
10372
|
+
} else if (nh(i, "seed") && (r.seed = i.seed, i.seed === void 0))
|
|
10373
10373
|
throw new TypeError(Cl("invalid option. `%s` option must be either a positive integer less than or equal to the maximum unsigned 32-bit integer or an array-like object containing integer values less than or equal to the maximum unsigned 32-bit integer. Option: `%s`.", "seed", i.seed));
|
|
10374
10374
|
}
|
|
10375
10375
|
return r.state === void 0 ? e === void 0 ? (t = Up(r), e = t.normalized) : (t = Up({
|
|
10376
10376
|
seed: kj(1 + Oj * e()),
|
|
10377
10377
|
// allows seeding via an externally seeded PRNG
|
|
10378
10378
|
copy: r.copy
|
|
10379
|
-
}), r.seed = null) : (t = Up(r), e = t.normalized), s = Nj(e, t), Sn(s, "NAME", "improved-ziggurat"), r.seed === null ? (Sn(s, "seed", null), Sn(s, "seedLength", null)) : (
|
|
10379
|
+
}), r.seed = null) : (t = Up(r), e = t.normalized), s = Nj(e, t), Sn(s, "NAME", "improved-ziggurat"), r.seed === null ? (Sn(s, "seed", null), Sn(s, "seedLength", null)) : (rh(s, "seed", n), rh(s, "seedLength", a)), i && i.prng ? (_y(s, "state", Dy(null), Dj), Sn(s, "stateLength", null), Sn(s, "byteLength", null), Sn(s, "toJSON", Dy(null))) : (_y(s, "state", u, h), rh(s, "stateLength", o), rh(s, "byteLength", l), Sn(s, "toJSON", c)), Sn(s, "PRNG", e), s;
|
|
10380
10380
|
function n() {
|
|
10381
10381
|
return t.seed;
|
|
10382
10382
|
}
|
|
@@ -10673,17 +10673,17 @@ var Cz = yz;
|
|
|
10673
10673
|
* See the License for the specific language governing permissions and
|
|
10674
10674
|
* limitations under the License.
|
|
10675
10675
|
*/
|
|
10676
|
-
var Tn = ut,
|
|
10676
|
+
var Tn = ut, ah = ua, Oy = mu, My = yu, Ny = zr, Fy = Cn, qy = bn, bz = bd, oo = Uj.factory, By = yt, wz = wu, oh = ns, xz = vz, $y = Cz;
|
|
10677
10677
|
function Ez() {
|
|
10678
10678
|
var i, e, t, s, r, n, a;
|
|
10679
10679
|
if (arguments.length === 0)
|
|
10680
10680
|
e = oo();
|
|
10681
10681
|
else if (arguments.length === 1) {
|
|
10682
10682
|
if (t = arguments[0], !My(t))
|
|
10683
|
-
throw new TypeError(
|
|
10683
|
+
throw new TypeError(oh("invalid argument. Options argument must be an object. Value: `%s`.", t));
|
|
10684
10684
|
if (Fy(t, "prng")) {
|
|
10685
10685
|
if (!Ny(t.prng))
|
|
10686
|
-
throw new TypeError(
|
|
10686
|
+
throw new TypeError(oh("invalid option. `%s` option must be a pseudorandom number generator function. Option: `%s`.", "prng", t.prng));
|
|
10687
10687
|
e = oo({
|
|
10688
10688
|
prng: t.prng
|
|
10689
10689
|
});
|
|
@@ -10694,10 +10694,10 @@ function Ez() {
|
|
|
10694
10694
|
throw n;
|
|
10695
10695
|
if (arguments.length > 2) {
|
|
10696
10696
|
if (t = arguments[2], !My(t))
|
|
10697
|
-
throw new TypeError(
|
|
10697
|
+
throw new TypeError(oh("invalid argument. Options argument must be an object. Value: `%s`.", t));
|
|
10698
10698
|
if (Fy(t, "prng")) {
|
|
10699
10699
|
if (!Ny(t.prng))
|
|
10700
|
-
throw new TypeError(
|
|
10700
|
+
throw new TypeError(oh("invalid option. `%s` option must be a pseudorandom number generator function. Option: `%s`.", "prng", t.prng));
|
|
10701
10701
|
e = oo({
|
|
10702
10702
|
prng: t.prng
|
|
10703
10703
|
});
|
|
@@ -10706,7 +10706,7 @@ function Ez() {
|
|
|
10706
10706
|
} else
|
|
10707
10707
|
e = oo();
|
|
10708
10708
|
}
|
|
10709
|
-
return a === void 0 ? r = v : r = y, s = e.PRNG, Tn(r, "NAME", "normal"), t && t.prng ? (Tn(r, "seed", null), Tn(r, "seedLength", null), Oy(r, "state", qy(null), bz), Tn(r, "stateLength", null), Tn(r, "byteLength", null), Tn(r, "toJSON", qy(null))) : (
|
|
10709
|
+
return a === void 0 ? r = v : r = y, s = e.PRNG, Tn(r, "NAME", "normal"), t && t.prng ? (Tn(r, "seed", null), Tn(r, "seedLength", null), Oy(r, "state", qy(null), bz), Tn(r, "stateLength", null), Tn(r, "byteLength", null), Tn(r, "toJSON", qy(null))) : (ah(r, "seed", o), ah(r, "seedLength", l), Oy(r, "state", c, d), ah(r, "stateLength", u), ah(r, "byteLength", h), Tn(r, "toJSON", f)), Tn(r, "PRNG", s), r;
|
|
10710
10710
|
function o() {
|
|
10711
10711
|
return s.seed;
|
|
10712
10712
|
}
|
|
@@ -11183,7 +11183,7 @@ var CW = yW, bW = CW;
|
|
|
11183
11183
|
* is preserved.
|
|
11184
11184
|
* ```
|
|
11185
11185
|
*/
|
|
11186
|
-
var wW = wi,
|
|
11186
|
+
var wW = wi, lh = Cv, Ed = bW, BE = [
|
|
11187
11187
|
10680707,
|
|
11188
11188
|
7228996,
|
|
11189
11189
|
1387004,
|
|
@@ -11267,12 +11267,12 @@ var wW = wi, oh = Cv, Ed = bW, BE = [
|
|
|
11267
11267
|
// 0x36E38222, 0x80000000
|
|
11268
11268
|
21674168387780482e-67
|
|
11269
11269
|
// 0x3569F31D, 0x00000000
|
|
11270
|
-
], jp = 16777216, zp = 5960464477539063e-23,
|
|
11270
|
+
], jp = 16777216, zp = 5960464477539063e-23, uh = Ed(20), Qy = Ed(20), hh = Ed(20), Ds = Ed(20);
|
|
11271
11271
|
function $E(i, e, t, s, r, n, a, o, l) {
|
|
11272
11272
|
var u, h, c, d, f, y, v, m, g;
|
|
11273
11273
|
for (d = n, g = s[t], m = t, f = 0; m > 0; f++)
|
|
11274
11274
|
h = zp * g | 0, Ds[f] = g - jp * h | 0, g = s[m - 1] + h, m -= 1;
|
|
11275
|
-
if (g =
|
|
11275
|
+
if (g = lh(g, r), g -= 8 * wW(g * 0.125), v = g | 0, g -= v, c = 0, r > 0 ? (f = Ds[t - 1] >> 24 - r, v += f, Ds[t - 1] -= f << 24 - r, c = Ds[t - 1] >> 23 - r) : r === 0 ? c = Ds[t - 1] >> 23 : g >= 0.5 && (c = 2), c > 0) {
|
|
11276
11276
|
for (v += 1, u = 0, f = 0; f < t; f++)
|
|
11277
11277
|
m = Ds[f], u === 0 ? m !== 0 && (u = 1, Ds[f] = 16777216 - m) : Ds[f] = 16777215 - m;
|
|
11278
11278
|
if (r > 0)
|
|
@@ -11284,7 +11284,7 @@ function $E(i, e, t, s, r, n, a, o, l) {
|
|
|
11284
11284
|
Ds[t - 1] &= 4194303;
|
|
11285
11285
|
break;
|
|
11286
11286
|
}
|
|
11287
|
-
c === 2 && (g = 1 - g, u !== 0 && (g -=
|
|
11287
|
+
c === 2 && (g = 1 - g, u !== 0 && (g -= lh(1, r)));
|
|
11288
11288
|
}
|
|
11289
11289
|
if (g === 0) {
|
|
11290
11290
|
for (m = 0, f = t - 1; f >= n; f--)
|
|
@@ -11302,30 +11302,30 @@ function $E(i, e, t, s, r, n, a, o, l) {
|
|
|
11302
11302
|
for (t -= 1, r -= 24; Ds[t] === 0; )
|
|
11303
11303
|
t -= 1, r -= 24;
|
|
11304
11304
|
} else
|
|
11305
|
-
g =
|
|
11306
|
-
for (h =
|
|
11305
|
+
g = lh(g, -r), g >= jp ? (h = zp * g | 0, Ds[t] = g - jp * h | 0, t += 1, r += 24, Ds[t] = h) : Ds[t] = g | 0;
|
|
11306
|
+
for (h = lh(1, r), f = t; f >= 0; f--)
|
|
11307
11307
|
s[f] = h * Ds[f], h *= zp;
|
|
11308
11308
|
for (f = t; f >= 0; f--) {
|
|
11309
11309
|
for (h = 0, y = 0; y <= d && y <= t - f; y++)
|
|
11310
11310
|
h += xW[y] * s[f + y];
|
|
11311
|
-
|
|
11311
|
+
hh[t - f] = h;
|
|
11312
11312
|
}
|
|
11313
11313
|
for (h = 0, f = t; f >= 0; f--)
|
|
11314
|
-
h +=
|
|
11315
|
-
for (c === 0 ? e[0] = h : e[0] = -h, h =
|
|
11316
|
-
h +=
|
|
11314
|
+
h += hh[f];
|
|
11315
|
+
for (c === 0 ? e[0] = h : e[0] = -h, h = hh[0] - h, f = 1; f <= t; f++)
|
|
11316
|
+
h += hh[f];
|
|
11317
11317
|
return c === 0 ? e[1] = h : e[1] = -h, v & 7;
|
|
11318
11318
|
}
|
|
11319
11319
|
function EW(i, e, t, s) {
|
|
11320
11320
|
var r, n, a, o, l, u, h, c, d;
|
|
11321
11321
|
for (n = 4, o = s - 1, a = (t - 3) / 24 | 0, a < 0 && (a = 0), u = t - 24 * (a + 1), c = a - o, d = o + n, h = 0; h <= d; h++)
|
|
11322
|
-
c < 0 ?
|
|
11322
|
+
c < 0 ? uh[h] = 0 : uh[h] = BE[c], c += 1;
|
|
11323
11323
|
for (h = 0; h <= n; h++) {
|
|
11324
11324
|
for (r = 0, c = 0; c <= o; c++)
|
|
11325
|
-
r += i[c] *
|
|
11325
|
+
r += i[c] * uh[o + (h - c)];
|
|
11326
11326
|
Qy[h] = r;
|
|
11327
11327
|
}
|
|
11328
|
-
return l = n, $E(i, e, l, Qy, u, n, a, o,
|
|
11328
|
+
return l = n, $E(i, e, l, Qy, u, n, a, o, uh);
|
|
11329
11329
|
}
|
|
11330
11330
|
var VW = EW;
|
|
11331
11331
|
/**
|
|
@@ -11434,17 +11434,17 @@ var NW = MW;
|
|
|
11434
11434
|
* Optimized by Bruce D. Evans.
|
|
11435
11435
|
* ```
|
|
11436
11436
|
*/
|
|
11437
|
-
var FW = Ka, qW = xd, BW = FE, $W = Xi, HW = cW, QW = wd, UW = VW,
|
|
11437
|
+
var FW = Ka, qW = xd, BW = FE, $W = Xi, HW = cW, QW = wd, UW = VW, ch = NW, jW = 0, zW = 16777216, In = 1.5707963267341256, Pa = 6077100506506192e-26, dh = 2 * Pa, ph = 3 * Pa, fh = 4 * Pa, WW = 598523, GW = 1072243195, KW = 1073928572, ZW = 1074752122, JW = 1074977148, YW = 1075183036, XW = 1075388923, eG = 1075594811, tG = 1094263291, bl = [0, 0, 0], wl = [0, 0];
|
|
11438
11438
|
function sG(i, e) {
|
|
11439
11439
|
var t, s, r, n, a, o, l, u;
|
|
11440
11440
|
if (r = $W(i) | 0, n = r & FW | 0, n <= GW)
|
|
11441
11441
|
return e[0] = i, e[1] = 0, 0;
|
|
11442
11442
|
if (n <= ZW)
|
|
11443
|
-
return (n & BW) === WW ?
|
|
11443
|
+
return (n & BW) === WW ? ch(i, n, e) : n <= KW ? r > 0 ? (u = i - In, e[0] = u - Pa, e[1] = u - e[0] - Pa, 1) : (u = i + In, e[0] = u + Pa, e[1] = u - e[0] + Pa, -1) : r > 0 ? (u = i - 2 * In, e[0] = u - dh, e[1] = u - e[0] - dh, 2) : (u = i + 2 * In, e[0] = u + dh, e[1] = u - e[0] + dh, -2);
|
|
11444
11444
|
if (n <= eG)
|
|
11445
|
-
return n <= YW ? n === JW ?
|
|
11445
|
+
return n <= YW ? n === JW ? ch(i, n, e) : r > 0 ? (u = i - 3 * In, e[0] = u - ph, e[1] = u - e[0] - ph, 3) : (u = i + 3 * In, e[0] = u + ph, e[1] = u - e[0] + ph, -3) : n === XW ? ch(i, n, e) : r > 0 ? (u = i - 4 * In, e[0] = u - fh, e[1] = u - e[0] - fh, 4) : (u = i + 4 * In, e[0] = u + fh, e[1] = u - e[0] + fh, -4);
|
|
11446
11446
|
if (n < tG)
|
|
11447
|
-
return
|
|
11447
|
+
return ch(i, n, e);
|
|
11448
11448
|
if (n >= qW)
|
|
11449
11449
|
return e[0] = NaN, e[1] = NaN, 0;
|
|
11450
11450
|
for (t = HW(i), s = (n >> 20) - 1046, u = QW(n - (s << 20 | 0), t), o = 0; o < 2; o++)
|
|
@@ -11908,7 +11908,7 @@ var JG = ZG;
|
|
|
11908
11908
|
* is preserved.
|
|
11909
11909
|
* ```
|
|
11910
11910
|
*/
|
|
11911
|
-
var YG = yt, XG = Xo, eK = Zs, lo = ki, tK = gv, sK = LG, iK = Vd, Zp = as, rK = DG, nK = OG, aK = NG, oK = qG, lK = $G, uK = QG, hK = jG, cK = WG, dK = KG, pK = JG, fK = 0.07721566490153287, mK = 0.3224670334241136, gK = 1, vK = -0.07721566490153287, yK = 0.48383612272381005, CK = -0.1475877229945939, bK = 0.06462494023913339, wK = -0.07721566490153287, xK = 1, EK = 0.4189385332046727,
|
|
11911
|
+
var YG = yt, XG = Xo, eK = Zs, lo = ki, tK = gv, sK = LG, iK = Vd, Zp = as, rK = DG, nK = OG, aK = NG, oK = qG, lK = $G, uK = QG, hK = jG, cK = WG, dK = KG, pK = JG, fK = 0.07721566490153287, mK = 0.3224670334241136, gK = 1, vK = -0.07721566490153287, yK = 0.48383612272381005, CK = -0.1475877229945939, bK = 0.06462494023913339, wK = -0.07721566490153287, xK = 1, EK = 0.4189385332046727, mh = 1.4616321449683622, VK = 4503599627370496, SK = 72057594037927940, TK = 13877787807814457e-33, Ky = 1.4616321449683622, IK = -0.12148629053584961, PK = -3638676997039505e-33;
|
|
11912
11912
|
function RK(i) {
|
|
11913
11913
|
var e, t, s, r, n, a, o, l, u, h, c, d, f;
|
|
11914
11914
|
if (YG(i) || XG(i))
|
|
@@ -11925,7 +11925,7 @@ function RK(i) {
|
|
|
11925
11925
|
if (i === 1 || i === 2)
|
|
11926
11926
|
return 0;
|
|
11927
11927
|
if (i < 2)
|
|
11928
|
-
switch (i <= 0.9 ? (f = -lo(i), i >=
|
|
11928
|
+
switch (i <= 0.9 ? (f = -lo(i), i >= mh - 1 + 0.27 ? (c = 1 - i, s = 0) : i >= mh - 1 - 0.27 ? (c = i - (Ky - 1), s = 1) : (c = i, s = 2)) : (f = 0, i >= mh + 0.27 ? (c = 2 - i, s = 0) : i >= mh - 0.27 ? (c = i - Ky, s = 1) : (c = i - 1, s = 2)), s) {
|
|
11929
11929
|
case 0:
|
|
11930
11930
|
d = c * c, a = fK + d * rK(d), n = d * (mK + d * nK(d)), o = c * a + n, f += o - 0.5 * c;
|
|
11931
11931
|
break;
|
|
@@ -12086,13 +12086,13 @@ var QK = 0.9189385332046728, UK = QK;
|
|
|
12086
12086
|
* See the License for the specific language governing permissions and
|
|
12087
12087
|
* limitations under the License.
|
|
12088
12088
|
*/
|
|
12089
|
-
var jK = NK, Zy = wi, zK = HK, WK = er, Jy = Zs,
|
|
12089
|
+
var jK = NK, Zy = wi, zK = HK, WK = er, Jy = Zs, gh = ki, GK = UK, KK = 1 / 12, ZK = 1 / 360;
|
|
12090
12090
|
function JK(i, e) {
|
|
12091
12091
|
var t, s, r, n, a, o, l, u, h, c;
|
|
12092
12092
|
for (t = WK(e), l = 2.53 * t + 0.931, o = 0.02483 * l - 0.059, s = 1.1328 / (l - 3.4) + 1.1239, a = -3.6224 / (l - 2) + 0.9277, r = 0.86 * a; ; ) {
|
|
12093
12093
|
if (c = i(), c <= r)
|
|
12094
12094
|
return h = c / a - 0.43, h *= 2 * o / (0.5 - Jy(h)) + l, h += e + 0.445, Zy(h);
|
|
12095
|
-
if (c >= a ? h = i() - 0.5 : (h = c / a - 0.93, h = zK(h) * 0.5 - h, c = a * i()), n = 0.5 - Jy(h), (n >= 0.013 || n >= c) && (u = Zy((2 * o / n + l) * h + e + 0.445), c *= s / (o / (n * n) + l), h = (u + 0.5) *
|
|
12095
|
+
if (c >= a ? h = i() - 0.5 : (h = c / a - 0.93, h = zK(h) * 0.5 - h, c = a * i()), n = 0.5 - Jy(h), (n >= 0.013 || n >= c) && (u = Zy((2 * o / n + l) * h + e + 0.445), c *= s / (o / (n * n) + l), h = (u + 0.5) * gh(e / u), h += -e - GK + u, h -= (KK - ZK / (u * u)) / u, u >= 10 && h >= gh(c * t) || (h = u * gh(e) - e - jK(u), u >= 0 && u <= 9 && h >= gh(c))))
|
|
12096
12096
|
return u;
|
|
12097
12097
|
}
|
|
12098
12098
|
}
|
|
@@ -12136,34 +12136,34 @@ var sZ = tZ;
|
|
|
12136
12136
|
* See the License for the specific language governing permissions and
|
|
12137
12137
|
* limitations under the License.
|
|
12138
12138
|
*/
|
|
12139
|
-
var tn = ut,
|
|
12139
|
+
var tn = ut, vh = ua, Yy = mu, iZ = PE.isPrimitive, Xy = yu, eC = zr, tC = Cn, sC = bn, rZ = bd, yh = Cd.factory, nZ = yt, aZ = wu, Ch = ns, iC = sZ;
|
|
12140
12140
|
function oZ() {
|
|
12141
12141
|
var i, e, t, s;
|
|
12142
12142
|
if (arguments.length === 0)
|
|
12143
|
-
t =
|
|
12143
|
+
t = yh();
|
|
12144
12144
|
else if (arguments.length === 1 && Xy(arguments[0]))
|
|
12145
12145
|
if (e = arguments[0], tC(e, "prng")) {
|
|
12146
12146
|
if (!eC(e.prng))
|
|
12147
|
-
throw new TypeError(
|
|
12147
|
+
throw new TypeError(Ch("invalid option. `%s` option must be a pseudorandom number generator function. Option: `%s`.", "prng", e.prng));
|
|
12148
12148
|
t = e.prng;
|
|
12149
12149
|
} else
|
|
12150
|
-
t =
|
|
12150
|
+
t = yh(e);
|
|
12151
12151
|
else {
|
|
12152
12152
|
if (i = arguments[0], !iZ(i))
|
|
12153
|
-
throw new TypeError(
|
|
12153
|
+
throw new TypeError(Ch("invalid argument. First argument must be a positive number. Value: `%s`.", i));
|
|
12154
12154
|
if (arguments.length > 1) {
|
|
12155
12155
|
if (e = arguments[1], !Xy(e))
|
|
12156
|
-
throw new TypeError(
|
|
12156
|
+
throw new TypeError(Ch("invalid argument. Options argument must be an object. Value: `%s`.", e));
|
|
12157
12157
|
if (tC(e, "prng")) {
|
|
12158
12158
|
if (!eC(e.prng))
|
|
12159
|
-
throw new TypeError(
|
|
12159
|
+
throw new TypeError(Ch("invalid option. `%s` option must be a pseudorandom number generator function. Option: `%s`.", "prng", e.prng));
|
|
12160
12160
|
t = e.prng;
|
|
12161
12161
|
} else
|
|
12162
|
-
t =
|
|
12162
|
+
t = yh(e);
|
|
12163
12163
|
} else
|
|
12164
|
-
t =
|
|
12164
|
+
t = yh();
|
|
12165
12165
|
}
|
|
12166
|
-
return i === void 0 ? s = d : s = c, tn(s, "NAME", "poisson"), e && e.prng ? (tn(s, "seed", null), tn(s, "seedLength", null), Yy(s, "state", sC(null), rZ), tn(s, "stateLength", null), tn(s, "byteLength", null), tn(s, "toJSON", sC(null)), tn(s, "PRNG", t)) : (
|
|
12166
|
+
return i === void 0 ? s = d : s = c, tn(s, "NAME", "poisson"), e && e.prng ? (tn(s, "seed", null), tn(s, "seedLength", null), Yy(s, "state", sC(null), rZ), tn(s, "stateLength", null), tn(s, "byteLength", null), tn(s, "toJSON", sC(null)), tn(s, "PRNG", t)) : (vh(s, "seed", r), vh(s, "seedLength", n), Yy(s, "state", l, u), vh(s, "stateLength", a), vh(s, "byteLength", o), tn(s, "toJSON", h), tn(s, "PRNG", t), t = t.normalized), s;
|
|
12167
12167
|
function r() {
|
|
12168
12168
|
return t.seed;
|
|
12169
12169
|
}
|
|
@@ -12294,36 +12294,36 @@ var vZ = gZ;
|
|
|
12294
12294
|
* See the License for the specific language governing permissions and
|
|
12295
12295
|
* limitations under the License.
|
|
12296
12296
|
*/
|
|
12297
|
-
var sn = ut,
|
|
12297
|
+
var sn = ut, bh = ua, aC = mu, oC = yu, lC = zr, uC = Cn, hC = bn, yZ = bd, wh = Cd.factory, cC = yt, CZ = wu, xh = ns, bZ = mZ, dC = vZ;
|
|
12298
12298
|
function wZ() {
|
|
12299
12299
|
var i, e, t, s, r, n;
|
|
12300
12300
|
if (arguments.length === 0)
|
|
12301
|
-
e =
|
|
12301
|
+
e = wh();
|
|
12302
12302
|
else if (arguments.length === 1) {
|
|
12303
12303
|
if (i = arguments[0], !oC(i))
|
|
12304
|
-
throw new TypeError(
|
|
12304
|
+
throw new TypeError(xh("invalid argument. Options argument must be an object. Value: `%s`.", i));
|
|
12305
12305
|
if (uC(i, "prng")) {
|
|
12306
12306
|
if (!lC(i.prng))
|
|
12307
|
-
throw new TypeError(
|
|
12307
|
+
throw new TypeError(xh("invalid option. `%s` option must be a pseudorandom number generator function. Option: `%s`.", "prng", i.prng));
|
|
12308
12308
|
e = i.prng;
|
|
12309
12309
|
} else
|
|
12310
|
-
e =
|
|
12310
|
+
e = wh(i);
|
|
12311
12311
|
} else {
|
|
12312
12312
|
if (r = arguments[0], n = arguments[1], s = bZ(r, n), s)
|
|
12313
12313
|
throw s;
|
|
12314
12314
|
if (arguments.length > 2) {
|
|
12315
12315
|
if (i = arguments[2], !oC(i))
|
|
12316
|
-
throw new TypeError(
|
|
12316
|
+
throw new TypeError(xh("invalid argument. Options argument must be an object. Value: `%s`.", i));
|
|
12317
12317
|
if (uC(i, "prng")) {
|
|
12318
12318
|
if (!lC(i.prng))
|
|
12319
|
-
throw new TypeError(
|
|
12319
|
+
throw new TypeError(xh("invalid option. `%s` option must be a pseudorandom number generator function. Option: `%s`.", "prng", i.prng));
|
|
12320
12320
|
e = i.prng;
|
|
12321
12321
|
} else
|
|
12322
|
-
e =
|
|
12322
|
+
e = wh(i);
|
|
12323
12323
|
} else
|
|
12324
|
-
e =
|
|
12324
|
+
e = wh();
|
|
12325
12325
|
}
|
|
12326
|
-
return r === void 0 ? t = y : t = f, sn(t, "NAME", "uniform"), i && i.prng ? (sn(t, "seed", null), sn(t, "seedLength", null), aC(t, "state", hC(null), yZ), sn(t, "stateLength", null), sn(t, "byteLength", null), sn(t, "toJSON", hC(null)), sn(t, "PRNG", e)) : (
|
|
12326
|
+
return r === void 0 ? t = y : t = f, sn(t, "NAME", "uniform"), i && i.prng ? (sn(t, "seed", null), sn(t, "seedLength", null), aC(t, "state", hC(null), yZ), sn(t, "stateLength", null), sn(t, "byteLength", null), sn(t, "toJSON", hC(null)), sn(t, "PRNG", e)) : (bh(t, "seed", a), bh(t, "seedLength", o), aC(t, "state", h, c), bh(t, "stateLength", l), bh(t, "byteLength", u), sn(t, "toJSON", d), sn(t, "PRNG", e), e = e.normalized), t;
|
|
12327
12327
|
function a() {
|
|
12328
12328
|
return e.seed;
|
|
12329
12329
|
}
|
|
@@ -13055,7 +13055,7 @@ var dY = cY;
|
|
|
13055
13055
|
* See the License for the specific language governing permissions and
|
|
13056
13056
|
* limitations under the License.
|
|
13057
13057
|
*/
|
|
13058
|
-
var pY = dY,
|
|
13058
|
+
var pY = dY, Eu = pY;
|
|
13059
13059
|
/**
|
|
13060
13060
|
* @license Apache-2.0
|
|
13061
13061
|
*
|
|
@@ -13126,9 +13126,9 @@ var gY = mY, rV = gY;
|
|
|
13126
13126
|
* is preserved.
|
|
13127
13127
|
* ```
|
|
13128
13128
|
*/
|
|
13129
|
-
var CC = iV, vY = yv, yY = ni,
|
|
13129
|
+
var CC = iV, vY = yv, yY = ni, Eh = as;
|
|
13130
13130
|
function CY(i, e) {
|
|
13131
|
-
return e === yY ?
|
|
13131
|
+
return e === yY ? Eh : e === Eh ? 0 : e > 0 ? CC(e) ? i : 0 : CC(e) ? vY(Eh, i) : Eh;
|
|
13132
13132
|
}
|
|
13133
13133
|
var bY = CY;
|
|
13134
13134
|
/**
|
|
@@ -13162,10 +13162,10 @@ var bY = CY;
|
|
|
13162
13162
|
* is preserved.
|
|
13163
13163
|
* ```
|
|
13164
13164
|
*/
|
|
13165
|
-
var wY = Ka, xY = Xi, EY = 1072693247,
|
|
13165
|
+
var wY = Ka, xY = Xi, EY = 1072693247, Vh = 1e300, Sh = 1e-300;
|
|
13166
13166
|
function VY(i, e) {
|
|
13167
13167
|
var t, s;
|
|
13168
|
-
return s = xY(i), t = s & wY, t <= EY ? e < 0 ?
|
|
13168
|
+
return s = xY(i), t = s & wY, t <= EY ? e < 0 ? Vh * Vh : Sh * Sh : e > 0 ? Vh * Vh : Sh * Sh;
|
|
13169
13169
|
}
|
|
13170
13170
|
var SY = VY;
|
|
13171
13171
|
/**
|
|
@@ -13260,7 +13260,7 @@ var LY = AY;
|
|
|
13260
13260
|
* is preserved.
|
|
13261
13261
|
* ```
|
|
13262
13262
|
*/
|
|
13263
|
-
var _Y = Xi,
|
|
13263
|
+
var _Y = Xi, Th = Eu, wC = xu, DY = Ga, kY = nV, OY = LY, MY = 1048575, xC = 1048576, NY = 1072693248, FY = 536870912, qY = 524288, BY = 9007199254740992, $Y = 0.9617966939259756, HY = 0.9617967009544373, QY = -7028461650952758e-24, UY = [
|
|
13264
13264
|
1,
|
|
13265
13265
|
1.5
|
|
13266
13266
|
], jY = [
|
|
@@ -13274,7 +13274,7 @@ var _Y = Xi, Sh = xu, wC = wu, DY = Ga, kY = nV, OY = LY, MY = 1048575, xC = 104
|
|
|
13274
13274
|
];
|
|
13275
13275
|
function WY(i, e, t) {
|
|
13276
13276
|
var s, r, n, a, o, l, u, h, c, d, f, y, v, m, g, b, x, I, A, R, D, T;
|
|
13277
|
-
return R = 0, t < xC && (e *= BY, R -= 53, t = _Y(e)), R += (t >> kY) - DY | 0, D = t & MY | 0, t = D | NY | 0, D <= 235662 ? T = 0 : D < 767610 ? T = 1 : (T = 0, R += 1, t -= xC), e = wC(e, t), h = UY[T], I = e - h, A = 1 / (e + h), r = I * A, a =
|
|
13277
|
+
return R = 0, t < xC && (e *= BY, R -= 53, t = _Y(e)), R += (t >> kY) - DY | 0, D = t & MY | 0, t = D | NY | 0, D <= 235662 ? T = 0 : D < 767610 ? T = 1 : (T = 0, R += 1, t -= xC), e = wC(e, t), h = UY[T], I = e - h, A = 1 / (e + h), r = I * A, a = Th(r, 0), s = (t >> 1 | FY) + qY, s += T << 18, l = wC(0, s), u = e - (l - h), o = A * (I - a * l - a * u), n = r * r, x = n * n * OY(n), x += o * (a + r), n = a * a, l = 3 + n + x, l = Th(l, 0), u = x - (l - 3 - n), I = a * l, A = o * l + u * r, d = I + A, d = Th(d, 0), f = A - (d - I), y = HY * d, v = QY * d + f * $Y + zY[T], c = jY[T], b = R, m = y + v + c + b, m = Th(m, 0), g = v - (m - b - c - y), i[0] = m, i[1] = g, i;
|
|
13278
13278
|
}
|
|
13279
13279
|
var GY = WY;
|
|
13280
13280
|
/**
|
|
@@ -13329,7 +13329,7 @@ var ZY = KY;
|
|
|
13329
13329
|
* is preserved.
|
|
13330
13330
|
* ```
|
|
13331
13331
|
*/
|
|
13332
|
-
var JY =
|
|
13332
|
+
var JY = Eu, YY = ZY, XY = 1.4426950408889634, eX = 1.4426950216293335, tX = 19259629911266175e-24;
|
|
13333
13333
|
function sX(i, e) {
|
|
13334
13334
|
var t, s, r, n, a, o;
|
|
13335
13335
|
return r = e - 1, n = r * r * YY(r), a = eX * r, o = r * tX - n * XY, s = a + o, s = JY(s, 0), t = o - (s - a), i[0] = s, i[1] = t, i;
|
|
@@ -13405,7 +13405,7 @@ var oX = aX;
|
|
|
13405
13405
|
* is preserved.
|
|
13406
13406
|
* ```
|
|
13407
13407
|
*/
|
|
13408
|
-
var lX = Xi, EC =
|
|
13408
|
+
var lX = Xi, EC = xu, uX = Eu, hX = rV, cX = Cv, dX = nX, VC = Ga, SC = Ka, TC = FE, Vl = nV, pX = oX, IC = 1048576, fX = 1071644672, mX = 0.6931471824645996, gX = -1904654299957768e-24;
|
|
13409
13409
|
function vX(i, e, t) {
|
|
13410
13410
|
var s, r, n, a, o, l, u, h, c, d, f;
|
|
13411
13411
|
return d = i & SC | 0, f = (d >> Vl) - VC | 0, c = 0, d > fX && (c = i + (IC >> f + 1) >>> 0, f = ((c & SC) >> Vl) - VC | 0, s = (c & ~(TC >> f)) >>> 0, n = EC(0, s), c = (c & TC | IC) >> Vl - f >>> 0, i < 0 && (c = -c), e -= n), n = t + e, n = uX(n, 0), o = n * mX, l = (t - (n - e)) * dX + n * gX, h = o + l, u = l - (h - o), n = h * h, r = h - n * pX(n), a = h * r / (r - 2) - (u + h * u), h = 1 - (a - h), i = lX(h), i = hX(i), i += c << Vl >>> 0, i >> Vl <= 0 ? h = cX(h, c) : h = EC(h, i), h;
|
|
@@ -13442,7 +13442,7 @@ var yX = vX;
|
|
|
13442
13442
|
* is preserved.
|
|
13443
13443
|
* ```
|
|
13444
13444
|
*/
|
|
13445
|
-
var PC = yt, RC = iV, AC = Xo, CX = ha, LC = er, bX = Zs, ef = vv, wX =
|
|
13445
|
+
var PC = yt, RC = iV, AC = Xo, CX = ha, LC = er, bX = Zs, ef = vv, wX = Eu, _C = rV, xX = ni, EX = as, tf = Ka, VX = bY, SX = SY, TX = PY, IX = GY, PX = iX, RX = yX, AX = 1072693247, LX = 1105199104, _X = 1139802112, DC = 1083179008, DX = 1072693248, kX = 1083231232, OX = 3230714880, kC = 31, Pn = 1e300, Rn = 1e-300, MX = 8008566259537294e-32, rn = [0, 0], OC = [0, 0];
|
|
13446
13446
|
function aV(i, e) {
|
|
13447
13447
|
var t, s, r, n, a, o, l, u, h, c, d, f, y, v, m, g;
|
|
13448
13448
|
if (PC(i) || PC(e))
|
|
@@ -13514,7 +13514,7 @@ var NX = aV;
|
|
|
13514
13514
|
* See the License for the specific language governing permissions and
|
|
13515
13515
|
* limitations under the License.
|
|
13516
13516
|
*/
|
|
13517
|
-
var FX = NX,
|
|
13517
|
+
var FX = NX, Vu = FX;
|
|
13518
13518
|
/**
|
|
13519
13519
|
* @license Apache-2.0
|
|
13520
13520
|
*
|
|
@@ -13567,7 +13567,7 @@ var BX = qX;
|
|
|
13567
13567
|
* moshier@na-net.ornl.gov
|
|
13568
13568
|
* ```
|
|
13569
13569
|
*/
|
|
13570
|
-
var $X = tV, MC =
|
|
13570
|
+
var $X = tV, MC = Vu, HX = br, QX = BX, UX = 143.01608;
|
|
13571
13571
|
function jX(i) {
|
|
13572
13572
|
var e, t, s;
|
|
13573
13573
|
return e = 1 / i, e = 1 + e * QX(e), t = HX(i), i > UX ? (s = MC(i, 0.5 * i - 0.25), t = s * (s / t)) : t = MC(i, i - 0.5) / t, $X * t * e;
|
|
@@ -13861,17 +13861,17 @@ var yee = 2220446049250313e-31, tl = yee;
|
|
|
13861
13861
|
* See the License for the specific language governing permissions and
|
|
13862
13862
|
* limitations under the License.
|
|
13863
13863
|
*/
|
|
13864
|
-
var
|
|
13864
|
+
var Ih = Zs, Cee = tl, bee = 1e6;
|
|
13865
13865
|
function wee(i, e) {
|
|
13866
13866
|
var t, s, r, n, a, o;
|
|
13867
13867
|
if (o = {}, arguments.length > 1 && (o = e), s = o.tolerance || Cee, n = o.maxTerms || bee, a = o.initialValue || 0, t = typeof i.next == "function", t === !0) {
|
|
13868
13868
|
for (r of i)
|
|
13869
|
-
if (a += r,
|
|
13869
|
+
if (a += r, Ih(s * a) >= Ih(r) || --n === 0)
|
|
13870
13870
|
break;
|
|
13871
13871
|
} else
|
|
13872
13872
|
do
|
|
13873
13873
|
r = i(), a += r;
|
|
13874
|
-
while (
|
|
13874
|
+
while (Ih(s * a) < Ih(r) && --n);
|
|
13875
13875
|
return a;
|
|
13876
13876
|
}
|
|
13877
13877
|
var xee = wee;
|
|
@@ -14238,7 +14238,7 @@ var ete = Xee;
|
|
|
14238
14238
|
* is preserved.
|
|
14239
14239
|
* ```
|
|
14240
14240
|
*/
|
|
14241
|
-
var tte = yt, UC = br, ste =
|
|
14241
|
+
var tte = yt, UC = br, ste = Eu, ite = as, rte = ni, nte = Bee, ate = Hee, ote = Uee, lte = zee, ute = Gee, hte = Zee, cte = Yee, dte = ete, Ph = 1e-300, pte = 13877787807814457e-33, jC = 0.8450629115104675, fte = 0.12837916709551256, mte = 1, gte = -0.0023621185607526594, vte = 1, yte = -0.009864944034847148, Cte = 1, bte = -0.0098649429247001, wte = 1;
|
|
14242
14242
|
function xte(i) {
|
|
14243
14243
|
var e, t, s, r, n, a, o, l;
|
|
14244
14244
|
if (tte(i))
|
|
@@ -14258,12 +14258,12 @@ function xte(i) {
|
|
|
14258
14258
|
r = yte + n * ute(n), n = Cte + n * hte(n);
|
|
14259
14259
|
else {
|
|
14260
14260
|
if (i < -6)
|
|
14261
|
-
return 2 -
|
|
14261
|
+
return 2 - Ph;
|
|
14262
14262
|
r = bte + n * cte(n), n = wte + n * dte(n);
|
|
14263
14263
|
}
|
|
14264
14264
|
return s = ste(t, 0), r = UC(-(s * s) - 0.5625) * UC((s - t) * (s + t) + r / n), e ? 2 - r / t : r / t;
|
|
14265
14265
|
}
|
|
14266
|
-
return e ? 2 -
|
|
14266
|
+
return e ? 2 - Ph : Ph * Ph;
|
|
14267
14267
|
}
|
|
14268
14268
|
var Ete = xte;
|
|
14269
14269
|
/**
|
|
@@ -14375,10 +14375,10 @@ var Ate = -708.3964185322641, hV = Ate;
|
|
|
14375
14375
|
* LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
14376
14376
|
* ```
|
|
14377
14377
|
*/
|
|
14378
|
-
var uo = br,
|
|
14378
|
+
var uo = br, Rh = Vu, Lte = ki, WC = Sd, GC = hV;
|
|
14379
14379
|
function _te(i, e) {
|
|
14380
14380
|
var t, s;
|
|
14381
|
-
return s = i * Lte(e), e >= 1 ? s < WC && -e > GC ? t =
|
|
14381
|
+
return s = i * Lte(e), e >= 1 ? s < WC && -e > GC ? t = Rh(e, i) * uo(-e) : i >= 1 ? t = Rh(e / uo(e / i), i) : t = uo(s - e) : s > GC ? t = Rh(e, i) * uo(-e) : e / i < WC ? t = Rh(e / uo(e / i), i) : t = uo(s - e), t;
|
|
14382
14382
|
}
|
|
14383
14383
|
var Dte = _te;
|
|
14384
14384
|
/**
|
|
@@ -15098,10 +15098,10 @@ var sie = 2.718281828459045, iie = sie;
|
|
|
15098
15098
|
* LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
15099
15099
|
* ```
|
|
15100
15100
|
*/
|
|
15101
|
-
var rie = Gse, nie = Ev, aie = Vv, oie = pV, lie = er, uie = Zs, An = br, Sl =
|
|
15101
|
+
var rie = Gse, nie = Ev, aie = Vv, oie = pV, lie = er, uie = Zs, An = br, Sl = Vu, nf = E5, af = Xse, ZC = ki, hie = oV, Ah = Sd, Tl = hV, of = tie, cie = iie;
|
|
15102
15102
|
function die(i, e) {
|
|
15103
15103
|
var t, s, r, n, a, o, l;
|
|
15104
|
-
return r = i + of - 0.5, l = (e - i - of + 0.5) / r, i < 1 ? e <= Tl || i < 1 / hie ? An(i * ZC(e) - e - nie(i)) : Sl(e, i) * An(-e) / aie(i) : (uie(l * l * i) <= 100 && i > 150 ? (t = i * oie(l) + e * (0.5 - of) / r, t = An(t)) : (n = i * ZC(e / r), a = i - e, af(n, a) <= Tl || nf(n, a) >=
|
|
15104
|
+
return r = i + of - 0.5, l = (e - i - of + 0.5) / r, i < 1 ? e <= Tl || i < 1 / hie ? An(i * ZC(e) - e - nie(i)) : Sl(e, i) * An(-e) / aie(i) : (uie(l * l * i) <= 100 && i > 150 ? (t = i * oie(l) + e * (0.5 - of) / r, t = An(t)) : (n = i * ZC(e / r), a = i - e, af(n, a) <= Tl || nf(n, a) >= Ah ? (s = a / i, af(n, a) / 2 > Tl && nf(n, a) / 2 < Ah ? (o = Sl(e / r, i / 2) * An(a / 2), t = o * o) : af(n, a) / 4 > Tl && nf(n, a) / 4 < Ah && e > i ? (o = Sl(e / r, i / 4) * An(a / 4), t = o * o, t *= t) : s > Tl && s < Ah ? t = Sl(e * An(s) / r, i) : t = An(n + a)) : t = Sl(e / r, i) * An(a)), t *= lie(r / cie) / rie(i), t);
|
|
15105
15105
|
}
|
|
15106
15106
|
var pie = die;
|
|
15107
15107
|
/**
|
|
@@ -15174,7 +15174,7 @@ var vie = gie;
|
|
|
15174
15174
|
* is preserved.
|
|
15175
15175
|
* ```
|
|
15176
15176
|
*/
|
|
15177
|
-
var yie = yt, JC = Xi, lf =
|
|
15177
|
+
var yie = yt, JC = Xi, lf = xu, Cie = wd, YC = as, bie = ni, XC = Ga, wie = mie, xie = vie, Eie = 709.782712893384, uf = 0.6931471803691238, hf = 19082149292705877e-26, eb = 1.4426950408889634, Vie = 38.816242111356935, Sie = 1.0397207708399179;
|
|
15178
15178
|
function Tie(i) {
|
|
15179
15179
|
var e, t, s, r, n, a, o, l, u, h, c, d, f;
|
|
15180
15180
|
if (i === YC || yie(i))
|
|
@@ -15247,7 +15247,7 @@ var Pie = Iie, mV = Pie;
|
|
|
15247
15247
|
* LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
15248
15248
|
* ```
|
|
15249
15249
|
*/
|
|
15250
|
-
var cf = yt, Rie = Xo, tb = Zs, Aie = mV, Lie = ki, _ie =
|
|
15250
|
+
var cf = yt, Rie = Xo, tb = Zs, Aie = mV, Lie = ki, _ie = Vu, Die = gv;
|
|
15251
15251
|
function kie(i, e) {
|
|
15252
15252
|
var t, s;
|
|
15253
15253
|
if (cf(i) || cf(e))
|
|
@@ -15334,7 +15334,7 @@ var qie = Fie;
|
|
|
15334
15334
|
* is preserved.
|
|
15335
15335
|
* ```
|
|
15336
15336
|
*/
|
|
15337
|
-
var Bie = yt, sb = Xi, ib =
|
|
15337
|
+
var Bie = yt, sb = Xi, ib = xu, $ie = as, Hie = ni, rb = Ga, Qie = qie, df = 0.6931471803691238, pf = 19082149292705877e-26, Uie = 0.41421356237309503, jie = -0.2928932188134525, zie = 1862645149230957e-24, Wie = 5551115123125783e-32, Gie = 9007199254740992, Kie = 0.6666666666666666;
|
|
15338
15338
|
function Zie(i) {
|
|
15339
15339
|
var e, t, s, r, n, a, o, l, u, h;
|
|
15340
15340
|
if (i < -1 || Bie(i))
|
|
@@ -15656,17 +15656,17 @@ var Rre = 11754943508222875e-54, gV = Rre;
|
|
|
15656
15656
|
* See the License for the specific language governing permissions and
|
|
15657
15657
|
* limitations under the License.
|
|
15658
15658
|
*/
|
|
15659
|
-
var
|
|
15659
|
+
var xc = Zs, kr = gV, Are = tl, Lre = 1e6;
|
|
15660
15660
|
function _re(i, e, t) {
|
|
15661
15661
|
var s, r, n, a, o, l, u;
|
|
15662
15662
|
if (s = typeof i.next == "function", u = s ? i.next().value : i(), a = u[1], n = u[0], a === 0 && (a = kr), o = a, l = 0, s === !0)
|
|
15663
15663
|
do
|
|
15664
15664
|
u = i.next().value, u && (l = u[1] + u[0] * l, l === 0 && (l = kr), o = u[1] + u[0] / o, o === 0 && (o = kr), l = 1 / l, r = o * l, a *= r);
|
|
15665
|
-
while (
|
|
15665
|
+
while (xc(r - 1) > e && --t);
|
|
15666
15666
|
else
|
|
15667
15667
|
do
|
|
15668
15668
|
u = i(), u && (l = u[1] + u[0] * l, l === 0 && (l = kr), o = u[1] + u[0] / o, o === 0 && (o = kr), l = 1 / l, r = o * l, a *= r);
|
|
15669
|
-
while (u &&
|
|
15669
|
+
while (u && xc(r - 1) > e && --t);
|
|
15670
15670
|
return n / a;
|
|
15671
15671
|
}
|
|
15672
15672
|
function Dre(i, e, t) {
|
|
@@ -15674,11 +15674,11 @@ function Dre(i, e, t) {
|
|
|
15674
15674
|
if (s = typeof i.next == "function", l = s ? i.next().value : i(), n = l[1], n === 0 && (n = kr), a = n, o = 0, s === !0)
|
|
15675
15675
|
do
|
|
15676
15676
|
l = i.next().value, l && (o = l[1] + l[0] * o, o === 0 && (o = kr), a = l[1] + l[0] / a, a === 0 && (a = kr), o = 1 / o, r = a * o, n *= r);
|
|
15677
|
-
while (l &&
|
|
15677
|
+
while (l && xc(r - 1) > e && --t);
|
|
15678
15678
|
else
|
|
15679
15679
|
do
|
|
15680
15680
|
l = i(), l && (o = l[1] + l[0] * o, o === 0 && (o = kr), a = l[1] + l[0] / a, a === 0 && (a = kr), o = 1 / o, r = a * o, n *= r);
|
|
15681
|
-
while (l &&
|
|
15681
|
+
while (l && xc(r - 1) > e && --t);
|
|
15682
15682
|
return n;
|
|
15683
15683
|
}
|
|
15684
15684
|
function kre(i, e) {
|
|
@@ -15855,7 +15855,7 @@ var yV = Zre;
|
|
|
15855
15855
|
* LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
15856
15856
|
* ```
|
|
15857
15857
|
*/
|
|
15858
|
-
var Jre = wi, Il = Vv, mf = Zs, lb =
|
|
15858
|
+
var Jre = wi, Il = Vv, mf = Zs, lb = Vu, Yre = ki, Xre = hee, ub = oV, ene = Sd, tne = Oee, sne = Fee, ine = Rte, gf = Dte, rne = Nse, nne = fV, vf = pie, ane = Pre, one = yV;
|
|
15859
15859
|
function lne(i, e, t, s) {
|
|
15860
15860
|
var r, n, a, o, l, u, h, c, d, f, y, v, m, g;
|
|
15861
15861
|
switch (h = 0, c = s, u = e < 30 && e <= i + 1 && i < ene, u ? (m = Jre(e), d = m === e, a = d ? !1 : mf(m - e) === 0.5) : (d = !1, a = !1), d && i > 0.6 ? (c = !c, n = 0) : a && i > 0.2 ? (c = !c, n = 1) : i < Xre && e > 1 ? n = 6 : i > 1e3 && (e < i || mf(e - 50) / i < 1) ? (c = !c, n = 7) : i < 0.5 ? -0.4 / Yre(i) < e ? n = 2 : n = 3 : i < 1.1 ? i * 0.75 < e ? n = 2 : n = 3 : (l = !1, t && e > 20 && (f = mf((i - e) / e), e > 200 ? 20 / e > f * f && (l = !0) : f < 0.4 && (l = !0)), l ? n = 5 : i - 1 / (3 * i) < e ? n = 2 : (n = 4, c = !c)), n) {
|
|
@@ -16520,7 +16520,7 @@ const Tae = (i) => {
|
|
|
16520
16520
|
}), D;
|
|
16521
16521
|
};
|
|
16522
16522
|
return t.convertFileSrc || (t.convertFileSrc = (c) => c), t.getPlatform = r, t.handleError = l, t.isNativePlatform = n, t.isPluginAvailable = a, t.registerPlugin = h, t.Exception = yf, t.DEBUG = !!t.DEBUG, t.isLoggingEnabled = !!t.isLoggingEnabled, t;
|
|
16523
|
-
}, Pae = (i) => i.Capacitor = Iae(i), Ha = /* @__PURE__ */ Pae(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}),
|
|
16523
|
+
}, Pae = (i) => i.Capacitor = Iae(i), Ha = /* @__PURE__ */ Pae(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}), Su = Ha.registerPlugin;
|
|
16524
16524
|
class PV {
|
|
16525
16525
|
constructor() {
|
|
16526
16526
|
this.listeners = {}, this.retainedEventArguments = {}, this.windowListeners = {};
|
|
@@ -16632,7 +16632,7 @@ class Rae extends PV {
|
|
|
16632
16632
|
}
|
|
16633
16633
|
}
|
|
16634
16634
|
}
|
|
16635
|
-
|
|
16635
|
+
Su("CapacitorCookies", {
|
|
16636
16636
|
web: () => new Rae()
|
|
16637
16637
|
});
|
|
16638
16638
|
const Aae = async (i) => new Promise((e, t) => {
|
|
@@ -16743,7 +16743,7 @@ class kae extends PV {
|
|
|
16743
16743
|
return this.request(Object.assign(Object.assign({}, e), { method: "DELETE" }));
|
|
16744
16744
|
}
|
|
16745
16745
|
}
|
|
16746
|
-
|
|
16746
|
+
Su("CapacitorHttp", {
|
|
16747
16747
|
web: () => new kae()
|
|
16748
16748
|
});
|
|
16749
16749
|
function Ks() {
|
|
@@ -16760,16 +16760,16 @@ function PCe(i, e) {
|
|
|
16760
16760
|
for (let t = i.length - 1; t >= 0; t--)
|
|
16761
16761
|
if (i[t].type === e) return i[t];
|
|
16762
16762
|
}
|
|
16763
|
-
const
|
|
16763
|
+
const Gl = [];
|
|
16764
16764
|
function ia(i, e, t = "string", s, r) {
|
|
16765
|
-
let n =
|
|
16765
|
+
let n = Gl.find((d) => d.name === i);
|
|
16766
16766
|
n || (n = {
|
|
16767
16767
|
name: i,
|
|
16768
16768
|
defaultValue: r !== void 0 ? r : e,
|
|
16769
16769
|
type: t,
|
|
16770
16770
|
description: s,
|
|
16771
16771
|
value: void 0
|
|
16772
|
-
},
|
|
16772
|
+
}, Gl.push(n));
|
|
16773
16773
|
const a = {
|
|
16774
16774
|
string: (d) => d,
|
|
16775
16775
|
number: (d) => {
|
|
@@ -16810,7 +16810,7 @@ function ia(i, e, t = "string", s, r) {
|
|
|
16810
16810
|
const Mm = [];
|
|
16811
16811
|
class Ec {
|
|
16812
16812
|
static getRegistry() {
|
|
16813
|
-
return [...
|
|
16813
|
+
return [...Gl];
|
|
16814
16814
|
}
|
|
16815
16815
|
static getTimelineRepresentation() {
|
|
16816
16816
|
return [...Mm];
|
|
@@ -16822,14 +16822,14 @@ function Oae(i) {
|
|
|
16822
16822
|
const t = RV[e.type];
|
|
16823
16823
|
if (t)
|
|
16824
16824
|
for (const s of t)
|
|
16825
|
-
(!e.hideSettings || e.hideSettings !== !0 && !e.hideSettings.includes(s.name)) &&
|
|
16825
|
+
(!e.hideSettings || e.hideSettings !== !0 && !e.hideSettings.includes(s.name)) && (Gl.some((r) => r.name === s.name) || Gl.push(s));
|
|
16826
16826
|
});
|
|
16827
16827
|
}
|
|
16828
16828
|
function AV(i, e) {
|
|
16829
16829
|
RV[i] = e;
|
|
16830
16830
|
}
|
|
16831
16831
|
function RCe(i) {
|
|
16832
|
-
|
|
16832
|
+
Mm.length = 0, i.forEach((r) => {
|
|
16833
16833
|
Mm.push({
|
|
16834
16834
|
type: r.type ?? "NoTypeSpecified",
|
|
16835
16835
|
name: r.name
|
|
@@ -16990,7 +16990,7 @@ function ai(i, e, t) {
|
|
|
16990
16990
|
function LCe(i) {
|
|
16991
16991
|
return Rv[i];
|
|
16992
16992
|
}
|
|
16993
|
-
const
|
|
16993
|
+
const Tu = (i, e, t, s) => ({
|
|
16994
16994
|
responseData: {},
|
|
16995
16995
|
participantState: s
|
|
16996
16996
|
});
|
|
@@ -17138,9 +17138,9 @@ ${u.length} participant(s) failed:`);
|
|
|
17138
17138
|
a.kill(), console.log("Backend stopped.");
|
|
17139
17139
|
}
|
|
17140
17140
|
}
|
|
17141
|
-
const
|
|
17141
|
+
const Xh = {};
|
|
17142
17142
|
function xi(i, e, t) {
|
|
17143
|
-
|
|
17143
|
+
Xh[i] || (Xh[i] = []), Xh[i].push({ csv: e, flatten: t });
|
|
17144
17144
|
}
|
|
17145
17145
|
function Fae(i) {
|
|
17146
17146
|
const e = i.responseData;
|
|
@@ -17184,7 +17184,7 @@ function $ae(i, e, t) {
|
|
|
17184
17184
|
const s = [], r = {};
|
|
17185
17185
|
for (const l of e) {
|
|
17186
17186
|
if (l.index === -1) continue;
|
|
17187
|
-
const u = l.csv, h = u ? (Array.isArray(u) ? u : [u]).map((c) => ({ csv: c })) :
|
|
17187
|
+
const u = l.csv, h = u ? (Array.isArray(u) ? u : [u]).map((c) => ({ csv: c })) : Xh[l.type] ?? [];
|
|
17188
17188
|
for (const c of h)
|
|
17189
17189
|
c.csv && (r[c.csv] || (r[c.csv] = []), r[c.csv].push({ item: l, flatten: "flatten" in c ? c.flatten : void 0 }));
|
|
17190
17190
|
}
|
|
@@ -17888,7 +17888,7 @@ Check the top-level render call using <` + ye + ">.");
|
|
|
17888
17888
|
return ae;
|
|
17889
17889
|
}
|
|
17890
17890
|
}
|
|
17891
|
-
function
|
|
17891
|
+
function ju(N, ae) {
|
|
17892
17892
|
{
|
|
17893
17893
|
if (!N._store || N._store.validated || N.key != null)
|
|
17894
17894
|
return;
|
|
@@ -17901,14 +17901,14 @@ Check the top-level render call using <` + ye + ">.");
|
|
|
17901
17901
|
N && N._owner && N._owner !== ge.current && (Fe = " It was passed a child from " + L(N._owner.type) + "."), We(N), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', ye, Fe), We(null);
|
|
17902
17902
|
}
|
|
17903
17903
|
}
|
|
17904
|
-
function
|
|
17904
|
+
function zu(N, ae) {
|
|
17905
17905
|
{
|
|
17906
17906
|
if (typeof N != "object")
|
|
17907
17907
|
return;
|
|
17908
17908
|
if (be(N))
|
|
17909
17909
|
for (var ye = 0; ye < N.length; ye++) {
|
|
17910
17910
|
var Fe = N[ye];
|
|
17911
|
-
Ls(Fe) &&
|
|
17911
|
+
Ls(Fe) && ju(Fe, ae);
|
|
17912
17912
|
}
|
|
17913
17913
|
else if (Ls(N))
|
|
17914
17914
|
N._store && (N._store.validated = !0);
|
|
@@ -17916,7 +17916,7 @@ Check the top-level render call using <` + ye + ">.");
|
|
|
17916
17916
|
var bt = m(N);
|
|
17917
17917
|
if (typeof bt == "function" && bt !== N.entries)
|
|
17918
17918
|
for (var Pt = bt.call(N), rt; !(rt = Pt.next()).done; )
|
|
17919
|
-
Ls(rt.value) &&
|
|
17919
|
+
Ls(rt.value) && ju(rt.value, ae);
|
|
17920
17920
|
}
|
|
17921
17921
|
}
|
|
17922
17922
|
}
|
|
@@ -17957,8 +17957,8 @@ Check the top-level render call using <` + ye + ">.");
|
|
|
17957
17957
|
N.ref !== null && (We(N), b("Invalid attribute `ref` supplied to `React.Fragment`."), We(null));
|
|
17958
17958
|
}
|
|
17959
17959
|
}
|
|
17960
|
-
var
|
|
17961
|
-
function
|
|
17960
|
+
var Wu = {};
|
|
17961
|
+
function Gu(N, ae, ye, Fe, bt, Pt) {
|
|
17962
17962
|
{
|
|
17963
17963
|
var rt = _(N);
|
|
17964
17964
|
if (!rt) {
|
|
@@ -17978,35 +17978,35 @@ Check the top-level render call using <` + ye + ">.");
|
|
|
17978
17978
|
if (Fe)
|
|
17979
17979
|
if (be(oi)) {
|
|
17980
17980
|
for (var En = 0; En < oi.length; En++)
|
|
17981
|
-
|
|
17981
|
+
zu(oi[En], N);
|
|
17982
17982
|
Object.freeze && Object.freeze(oi);
|
|
17983
17983
|
} else
|
|
17984
17984
|
b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
17985
17985
|
else
|
|
17986
|
-
|
|
17986
|
+
zu(oi, N);
|
|
17987
17987
|
}
|
|
17988
17988
|
if (ft.call(ae, "key")) {
|
|
17989
17989
|
var Jr = L(N), Ws = Object.keys(ae).filter(function(bp) {
|
|
17990
17990
|
return bp !== "key";
|
|
17991
17991
|
}), fl = Ws.length > 0 ? "{key: someKey, " + Ws.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
17992
|
-
if (!
|
|
17992
|
+
if (!Wu[Jr + fl]) {
|
|
17993
17993
|
var Cp = Ws.length > 0 ? "{" + Ws.join(": ..., ") + ": ...}" : "{}";
|
|
17994
17994
|
b(`A props object containing a "key" prop is being spread into JSX:
|
|
17995
17995
|
let props = %s;
|
|
17996
17996
|
<%s {...props} />
|
|
17997
17997
|
React keys must be passed directly to JSX without using spread:
|
|
17998
17998
|
let props = %s;
|
|
17999
|
-
<%s key={someKey} {...props} />`, fl, Jr, Cp, Jr),
|
|
17999
|
+
<%s key={someKey} {...props} />`, fl, Jr, Cp, Jr), Wu[Jr + fl] = !0;
|
|
18000
18000
|
}
|
|
18001
18001
|
}
|
|
18002
18002
|
return N === s ? fp(Zt) : pp(Zt), Zt;
|
|
18003
18003
|
}
|
|
18004
18004
|
}
|
|
18005
18005
|
function mp(N, ae, ye) {
|
|
18006
|
-
return
|
|
18006
|
+
return Gu(N, ae, ye, !0);
|
|
18007
18007
|
}
|
|
18008
18008
|
function gp(N, ae, ye) {
|
|
18009
|
-
return
|
|
18009
|
+
return Gu(N, ae, ye, !1);
|
|
18010
18010
|
}
|
|
18011
18011
|
var vp = gp, yp = mp;
|
|
18012
18012
|
Rl.Fragment = s, Rl.jsx = vp, Rl.jsxs = yp;
|
|
@@ -18093,7 +18093,7 @@ function qV(i) {
|
|
|
18093
18093
|
key: t
|
|
18094
18094
|
}, e.attr), qV(e.child)));
|
|
18095
18095
|
}
|
|
18096
|
-
function
|
|
18096
|
+
function Iu(i) {
|
|
18097
18097
|
return (e) => /* @__PURE__ */ Je.createElement(soe, Sc({
|
|
18098
18098
|
attr: Tc({}, i.attr)
|
|
18099
18099
|
}, e), qV(i.child));
|
|
@@ -18122,19 +18122,19 @@ function soe(i) {
|
|
|
18122
18122
|
return kb !== void 0 ? /* @__PURE__ */ Je.createElement(kb.Consumer, null, (t) => e(t)) : e(FV);
|
|
18123
18123
|
}
|
|
18124
18124
|
function ioe(i) {
|
|
18125
|
-
return
|
|
18125
|
+
return Iu({ attr: { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z", clipRule: "evenodd" }, child: [] }] })(i);
|
|
18126
18126
|
}
|
|
18127
18127
|
function Mb(i) {
|
|
18128
|
-
return
|
|
18128
|
+
return Iu({ attr: { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { d: "M8.25 4.5a3.75 3.75 0 1 1 7.5 0v8.25a3.75 3.75 0 1 1-7.5 0V4.5Z" }, child: [] }, { tag: "path", attr: { d: "M6 10.5a.75.75 0 0 1 .75.75v1.5a5.25 5.25 0 1 0 10.5 0v-1.5a.75.75 0 0 1 1.5 0v1.5a6.751 6.751 0 0 1-6 6.709v2.291h3a.75.75 0 0 1 0 1.5h-7.5a.75.75 0 0 1 0-1.5h3v-2.291a6.751 6.751 0 0 1-6-6.709v-1.5A.75.75 0 0 1 6 10.5Z" }, child: [] }] })(i);
|
|
18129
18129
|
}
|
|
18130
18130
|
function roe(i) {
|
|
18131
|
-
return
|
|
18131
|
+
return Iu({ attr: { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M6.75 5.25a.75.75 0 0 1 .75-.75H9a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H7.5a.75.75 0 0 1-.75-.75V5.25Zm7.5 0A.75.75 0 0 1 15 4.5h1.5a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H15a.75.75 0 0 1-.75-.75V5.25Z", clipRule: "evenodd" }, child: [] }] })(i);
|
|
18132
18132
|
}
|
|
18133
18133
|
function noe(i) {
|
|
18134
|
-
return
|
|
18134
|
+
return Iu({ attr: { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M4.5 7.5a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3h-9a3 3 0 0 1-3-3v-9Z", clipRule: "evenodd" }, child: [] }] })(i);
|
|
18135
18135
|
}
|
|
18136
18136
|
function Nb(i) {
|
|
18137
|
-
return
|
|
18137
|
+
return Iu({ attr: { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { fillRule: "evenodd", d: "M16.5 4.478v.227a48.816 48.816 0 0 1 3.878.512.75.75 0 1 1-.256 1.478l-.209-.035-1.005 13.07a3 3 0 0 1-2.991 2.77H8.084a3 3 0 0 1-2.991-2.77L4.087 6.66l-.209.035a.75.75 0 0 1-.256-1.478A48.567 48.567 0 0 1 7.5 4.705v-.227c0-1.564 1.213-2.9 2.816-2.951a52.662 52.662 0 0 1 3.369 0c1.603.051 2.815 1.387 2.815 2.951Zm-6.136-1.452a51.196 51.196 0 0 1 3.273 0C14.39 3.05 15 3.684 15 4.478v.113a49.488 49.488 0 0 0-6 0v-.113c0-.794.609-1.428 1.364-1.452Zm-.355 5.945a.75.75 0 1 0-1.5.058l.347 9a.75.75 0 1 0 1.499-.058l-.346-9Zm5.48.058a.75.75 0 1 0-1.498-.058l-.347 9a.75.75 0 0 0 1.5.058l.345-9Z", clipRule: "evenodd" }, child: [] }] })(i);
|
|
18138
18138
|
}
|
|
18139
18139
|
const aoe = ({ stream: i, isDark: e }) => {
|
|
18140
18140
|
const t = me(null), s = me(null);
|
|
@@ -18495,14 +18495,14 @@ async function FCe(i, e, t) {
|
|
|
18495
18495
|
let a = n[r];
|
|
18496
18496
|
return a || (a = await coe(i, e, t), n[r] = a, await poe()), a;
|
|
18497
18497
|
}
|
|
18498
|
-
function
|
|
18498
|
+
function ec(i) {
|
|
18499
18499
|
return typeof i == "number" ? i : i.type === "normal" ? Tv(i.mean, i.sd) : At(i.min, i.max);
|
|
18500
18500
|
}
|
|
18501
18501
|
function qb(i) {
|
|
18502
|
-
return Math.max(0,
|
|
18502
|
+
return Math.max(0, ec(i));
|
|
18503
18503
|
}
|
|
18504
18504
|
function foe(i) {
|
|
18505
|
-
const e = i.dt ?? 1, t = Math.sqrt(e), s =
|
|
18505
|
+
const e = i.dt ?? 1, t = Math.sqrt(e), s = ec(i.startingPoint);
|
|
18506
18506
|
if (i.contaminationRate && At(0, 1) < i.contaminationRate)
|
|
18507
18507
|
return {
|
|
18508
18508
|
choice: At(0, 1) < 0.5 ? 0 : 1,
|
|
@@ -18510,7 +18510,7 @@ function foe(i) {
|
|
|
18510
18510
|
finalEvidence: s,
|
|
18511
18511
|
isContaminated: !0
|
|
18512
18512
|
};
|
|
18513
|
-
const r =
|
|
18513
|
+
const r = ec(i.driftRate), n = Math.max(0, ec(i.noiseLevel)), a = i.sensoryDelay != null ? qb(i.sensoryDelay) : 0, o = i.motorDelay != null ? qb(i.motorDelay) : 0;
|
|
18514
18514
|
let l, u;
|
|
18515
18515
|
Array.isArray(i.boundaries) ? (u = i.boundaries[0], l = i.boundaries[1]) : (l = i.boundaries, u = -i.boundaries);
|
|
18516
18516
|
let h = a, c = s, d = !1, f = null;
|
|
@@ -18719,7 +18719,7 @@ function goe({
|
|
|
18719
18719
|
] }) });
|
|
18720
18720
|
}
|
|
18721
18721
|
xi("ProlificEnding", null);
|
|
18722
|
-
ai("ProlificEnding",
|
|
18722
|
+
ai("ProlificEnding", Tu, {});
|
|
18723
18723
|
AV("ProlificEnding", [
|
|
18724
18724
|
{ name: "cc", defaultValue: "", type: "string", description: "Completion code of the Profilic experiment (more commonly supplied via the code)" }
|
|
18725
18725
|
]);
|
|
@@ -18757,7 +18757,7 @@ function voe({
|
|
|
18757
18757
|
} });
|
|
18758
18758
|
}
|
|
18759
18759
|
xi("MicrophoneCheck", "session");
|
|
18760
|
-
ai("MicrophoneCheck",
|
|
18760
|
+
ai("MicrophoneCheck", Tu, {});
|
|
18761
18761
|
function yoe({
|
|
18762
18762
|
onMicrophoneSelect: i,
|
|
18763
18763
|
disabled: e = !1
|
|
@@ -20446,7 +20446,7 @@ class Eoe {
|
|
|
20446
20446
|
}), t;
|
|
20447
20447
|
}
|
|
20448
20448
|
}
|
|
20449
|
-
class
|
|
20449
|
+
class Pu {
|
|
20450
20450
|
constructor(e, t) {
|
|
20451
20451
|
this.type = e, this.message = t, this.description = "", this.at = -1, this.end = -1;
|
|
20452
20452
|
}
|
|
@@ -20455,12 +20455,12 @@ class Iu {
|
|
|
20455
20455
|
` + this.description : "");
|
|
20456
20456
|
}
|
|
20457
20457
|
}
|
|
20458
|
-
class Voe extends
|
|
20458
|
+
class Voe extends Pu {
|
|
20459
20459
|
constructor(e, t) {
|
|
20460
20460
|
super("unknownproperty", "Unknown property in class '" + t + "': '" + e + "'."), this.propertyName = e, this.className = t;
|
|
20461
20461
|
}
|
|
20462
20462
|
}
|
|
20463
|
-
class QV extends
|
|
20463
|
+
class QV extends Pu {
|
|
20464
20464
|
constructor(e, t, s) {
|
|
20465
20465
|
super(t, s), this.baseClassName = e, this.type = t, this.message = s;
|
|
20466
20466
|
}
|
|
@@ -20475,17 +20475,17 @@ class Toe extends QV {
|
|
|
20475
20475
|
super(t, "incorrecttypeproperty", "The property type is incorrect in the object. Please take a look at property: '" + e + "'."), this.propertyName = e, this.baseClassName = t;
|
|
20476
20476
|
}
|
|
20477
20477
|
}
|
|
20478
|
-
class Ioe extends
|
|
20478
|
+
class Ioe extends Pu {
|
|
20479
20479
|
constructor(e, t) {
|
|
20480
20480
|
super("requiredproperty", "The property '" + e + "' is required in class '" + t + "'."), this.propertyName = e, this.className = t;
|
|
20481
20481
|
}
|
|
20482
20482
|
}
|
|
20483
|
-
class Poe extends
|
|
20483
|
+
class Poe extends Pu {
|
|
20484
20484
|
constructor(e, t) {
|
|
20485
20485
|
super("arrayproperty", "The property '" + e + "' should be an array in '" + t + "'."), this.propertyName = e, this.className = t;
|
|
20486
20486
|
}
|
|
20487
20487
|
}
|
|
20488
|
-
class Roe extends
|
|
20488
|
+
class Roe extends Pu {
|
|
20489
20489
|
constructor(e, t) {
|
|
20490
20490
|
super("incorrectvalue", "The property value: '" + t + "' is incorrect for property '" + e.name + "'."), this.property = e, this.value = t;
|
|
20491
20491
|
}
|
|
@@ -21083,7 +21083,7 @@ function Ld(i, e, t, s, r = !0) {
|
|
|
21083
21083
|
o = $b(n.data[u], n.name, o, s, r, a, i);
|
|
21084
21084
|
return o;
|
|
21085
21085
|
}
|
|
21086
|
-
function
|
|
21086
|
+
function Ru(i) {
|
|
21087
21087
|
var e;
|
|
21088
21088
|
return {
|
|
21089
21089
|
survey: i.survey,
|
|
@@ -21092,33 +21092,33 @@ function Pu(i) {
|
|
|
21092
21092
|
};
|
|
21093
21093
|
}
|
|
21094
21094
|
function Boe(i, e) {
|
|
21095
|
-
var t = Ld(
|
|
21095
|
+
var t = Ld(Ru(this), i, e, function(s, r) {
|
|
21096
21096
|
return s == null && (s = 0), r == null || r == null ? s : O.correctAfterPlusMinis(s, r, s + r);
|
|
21097
21097
|
});
|
|
21098
21098
|
return t !== void 0 ? t : 0;
|
|
21099
21099
|
}
|
|
21100
21100
|
Xe.Instance.register("sumInArray", Boe);
|
|
21101
21101
|
function $oe(i, e) {
|
|
21102
|
-
return Ld(
|
|
21102
|
+
return Ld(Ru(this), i, e, function(t, s) {
|
|
21103
21103
|
return t == null ? s : s == null || s == null || t < s ? t : s;
|
|
21104
21104
|
});
|
|
21105
21105
|
}
|
|
21106
21106
|
Xe.Instance.register("minInArray", $oe);
|
|
21107
21107
|
function Hoe(i, e) {
|
|
21108
|
-
return Ld(
|
|
21108
|
+
return Ld(Ru(this), i, e, function(t, s) {
|
|
21109
21109
|
return t == null ? s : s == null || s == null || t > s ? t : s;
|
|
21110
21110
|
});
|
|
21111
21111
|
}
|
|
21112
21112
|
Xe.Instance.register("maxInArray", Hoe);
|
|
21113
21113
|
function Qoe(i, e) {
|
|
21114
|
-
var t = Ld(
|
|
21114
|
+
var t = Ld(Ru(this), i, e, function(s, r) {
|
|
21115
21115
|
return s == null && (s = 0), r == null || r == null ? s : s + 1;
|
|
21116
21116
|
}, !1);
|
|
21117
21117
|
return t !== void 0 ? t : 0;
|
|
21118
21118
|
}
|
|
21119
21119
|
Xe.Instance.register("countInArray", Qoe);
|
|
21120
21120
|
function Uoe(i, e) {
|
|
21121
|
-
const t =
|
|
21121
|
+
const t = Ru(this), s = (n) => Xe.Instance.run(n, i, t, e), r = s("countInArray");
|
|
21122
21122
|
return r == 0 ? 0 : s("sumInArray") / r;
|
|
21123
21123
|
}
|
|
21124
21124
|
Xe.Instance.register("avgInArray", Uoe);
|
|
@@ -21966,7 +21966,7 @@ const Dv = (
|
|
|
21966
21966
|
Expression: io
|
|
21967
21967
|
};
|
|
21968
21968
|
let o = io;
|
|
21969
|
-
const l = "||", u = "or", h = "&&", c = "and", d = "<=", f = "lessorequal", y = ">=", v = "greaterorequal", m = "==", g = "equal", b = "=", x = "!=", I = "notequal", A = "<", R = "less", D = ">", T = "greater", k = "+", _ = "-", B = "*", H = "/", L = "%", F = "^", $ = "power", Q = "*=", W = "contains", U = "contain", re = "notcontains", J = "notcontain", oe = "anyof", te = "allof", ee = "noneof", de = "(", he = "!", X = "negate", ce = "empty", ke = "notempty", Ct = "undefined", Nt = "null", Qs = "{", Vt = "}", ps = "''", xs = '""', Ze = "'", ft = '"', fs = "[", Xt = "]", wt = ",", Ae = "true", et = "false", be = "0x", Ft = ".", Wt = "0", os = "\\'", Ys = '\\"', Us = /^[\-]/, es = /^[^"']/, Es = /^[^{}]/, Ps = /^[0-9]/, js = /^[1-9]/, Mi = /^[a-zA-Z_]/, zs = /^[ \t\n\r]/, K = Pe("||", !1), ne = Pe("or", !0), se = Pe("&&", !1), le = Pe("and", !0), ge = Pe("<=", !1), Le = Pe("lessorequal", !0), We = Pe(">=", !1), ls = Pe("greaterorequal", !0), Ls = Pe("==", !1), Zr = Pe("equal", !0), eo = Pe("=", !1), va = Pe("!=", !1), dp = Pe("notequal", !0),
|
|
21969
|
+
const l = "||", u = "or", h = "&&", c = "and", d = "<=", f = "lessorequal", y = ">=", v = "greaterorequal", m = "==", g = "equal", b = "=", x = "!=", I = "notequal", A = "<", R = "less", D = ">", T = "greater", k = "+", _ = "-", B = "*", H = "/", L = "%", F = "^", $ = "power", Q = "*=", W = "contains", U = "contain", re = "notcontains", J = "notcontain", oe = "anyof", te = "allof", ee = "noneof", de = "(", he = "!", X = "negate", ce = "empty", ke = "notempty", Ct = "undefined", Nt = "null", Qs = "{", Vt = "}", ps = "''", xs = '""', Ze = "'", ft = '"', fs = "[", Xt = "]", wt = ",", Ae = "true", et = "false", be = "0x", Ft = ".", Wt = "0", os = "\\'", Ys = '\\"', Us = /^[\-]/, es = /^[^"']/, Es = /^[^{}]/, Ps = /^[0-9]/, js = /^[1-9]/, Mi = /^[a-zA-Z_]/, zs = /^[ \t\n\r]/, K = Pe("||", !1), ne = Pe("or", !0), se = Pe("&&", !1), le = Pe("and", !0), ge = Pe("<=", !1), Le = Pe("lessorequal", !0), We = Pe(">=", !1), ls = Pe("greaterorequal", !0), Ls = Pe("==", !1), Zr = Pe("equal", !0), eo = Pe("=", !1), va = Pe("!=", !1), dp = Pe("notequal", !0), ju = Pe("<", !1), zu = Pe("less", !0), pp = Pe(">", !1), fp = Pe("greater", !0), Wu = Pe("+", !1), Gu = Pe("-", !1), mp = Pe("*", !1), gp = Pe("/", !1), vp = Pe("%", !1), yp = Pe("^", !1), N = Pe("power", !0), ae = Pe("*=", !1), ye = Pe("contains", !0), Fe = Pe("contain", !0), bt = Pe("notcontains", !0), Pt = Pe("notcontain", !0), rt = Pe("anyof", !0), tt = Pe("allof", !0), _s = Pe("noneof", !0), Gt = Pe("(", !1), Zt = Pe(")", !1), oi = Pe("!", !1), En = Pe("negate", !0), Jr = Pe("empty", !0), Ws = Pe("notempty", !0), fl = Pe("undefined", !1), Cp = Pe("null", !1), bp = Pe("{", !1), pT = Pe("}", !1), fT = Pe("''", !1), mT = Pe('""', !1), z0 = Pe("'", !1), W0 = Pe('"', !1), gT = Pe("[", !1), vT = Pe("]", !1), G0 = Pe(",", !1), yT = Pe("true", !0), CT = Pe("false", !0), bT = Pe("0x", !1), wT = ya(["-"], !1, !1, !1), xT = Pe(".", !1), ET = Pe("0", !1), VT = Pe("\\'", !1), ST = Pe('\\"', !1), TT = ya(['"', "'"], !0, !1, !1), IT = ya(["{", "}"], !0, !1, !1), K0 = ya([["0", "9"]], !1, !1, !1), Z0 = ya([["1", "9"]], !1, !1, !1), J0 = ya([["a", "z"], ["A", "Z"], "_"], !1, !1, !1), Y0 = ya([" ", " ", `
|
|
21970
21970
|
`, "\r"], !1, !1, !1);
|
|
21971
21971
|
function PT(C, w) {
|
|
21972
21972
|
return Ca(C, w, !0);
|
|
@@ -22153,7 +22153,7 @@ const Dv = (
|
|
|
22153
22153
|
}
|
|
22154
22154
|
let E = s.peg$currPos | 0, Ve = E;
|
|
22155
22155
|
const to = [{ line: 1, column: 1 }];
|
|
22156
|
-
let sr = E,
|
|
22156
|
+
let sr = E, Ku = s.peg$maxFailExpected || [], pe = s.peg$silentFails | 0, Ce = {}, ml;
|
|
22157
22157
|
if (s.startRule) {
|
|
22158
22158
|
if (!(s.startRule in a))
|
|
22159
22159
|
throw new Error(`Can't start parsing from rule "` + s.startRule + '".');
|
|
@@ -22219,7 +22219,7 @@ const Dv = (
|
|
|
22219
22219
|
};
|
|
22220
22220
|
}
|
|
22221
22221
|
function fe(C) {
|
|
22222
|
-
E < sr || (E > sr && (sr = E,
|
|
22222
|
+
E < sr || (E > sr && (sr = E, Ku = []), Ku.push(C));
|
|
22223
22223
|
}
|
|
22224
22224
|
function AI(C, w, z) {
|
|
22225
22225
|
return new i(
|
|
@@ -22285,7 +22285,7 @@ const Dv = (
|
|
|
22285
22285
|
function i1() {
|
|
22286
22286
|
let C, w;
|
|
22287
22287
|
const z = E * 34 + 5, M = Ce[z];
|
|
22288
|
-
return M ? (E = M.nextPos, M.result) : (C = E, t.substr(E, 2) === d ? (w = d, E += 2) : (w = r, pe === 0 && fe(ge)), w === r && (w = t.substr(E, 11), w.toLowerCase() === f ? E += 11 : (w = r, pe === 0 && fe(Le))), w !== r && (Ve = C, w = DT()), C = w, C === r && (C = E, t.substr(E, 2) === y ? (w = y, E += 2) : (w = r, pe === 0 && fe(We)), w === r && (w = t.substr(E, 14), w.toLowerCase() === v ? E += 14 : (w = r, pe === 0 && fe(ls))), w !== r && (Ve = C, w = kT()), C = w, C === r && (C = E, t.substr(E, 2) === m ? (w = m, E += 2) : (w = r, pe === 0 && fe(Ls)), w === r && (w = t.substr(E, 5), w.toLowerCase() === g ? E += 5 : (w = r, pe === 0 && fe(Zr))), w !== r && (Ve = C, w = OT()), C = w, C === r && (C = E, t.charCodeAt(E) === 61 ? (w = b, E++) : (w = r, pe === 0 && fe(eo)), w === r && (w = t.substr(E, 5), w.toLowerCase() === g ? E += 5 : (w = r, pe === 0 && fe(Zr))), w !== r && (Ve = C, w = MT()), C = w, C === r && (C = E, t.substr(E, 2) === x ? (w = x, E += 2) : (w = r, pe === 0 && fe(va)), w === r && (w = t.substr(E, 8), w.toLowerCase() === I ? E += 8 : (w = r, pe === 0 && fe(dp))), w !== r && (Ve = C, w = NT()), C = w, C === r && (C = E, t.charCodeAt(E) === 60 ? (w = A, E++) : (w = r, pe === 0 && fe(
|
|
22288
|
+
return M ? (E = M.nextPos, M.result) : (C = E, t.substr(E, 2) === d ? (w = d, E += 2) : (w = r, pe === 0 && fe(ge)), w === r && (w = t.substr(E, 11), w.toLowerCase() === f ? E += 11 : (w = r, pe === 0 && fe(Le))), w !== r && (Ve = C, w = DT()), C = w, C === r && (C = E, t.substr(E, 2) === y ? (w = y, E += 2) : (w = r, pe === 0 && fe(We)), w === r && (w = t.substr(E, 14), w.toLowerCase() === v ? E += 14 : (w = r, pe === 0 && fe(ls))), w !== r && (Ve = C, w = kT()), C = w, C === r && (C = E, t.substr(E, 2) === m ? (w = m, E += 2) : (w = r, pe === 0 && fe(Ls)), w === r && (w = t.substr(E, 5), w.toLowerCase() === g ? E += 5 : (w = r, pe === 0 && fe(Zr))), w !== r && (Ve = C, w = OT()), C = w, C === r && (C = E, t.charCodeAt(E) === 61 ? (w = b, E++) : (w = r, pe === 0 && fe(eo)), w === r && (w = t.substr(E, 5), w.toLowerCase() === g ? E += 5 : (w = r, pe === 0 && fe(Zr))), w !== r && (Ve = C, w = MT()), C = w, C === r && (C = E, t.substr(E, 2) === x ? (w = x, E += 2) : (w = r, pe === 0 && fe(va)), w === r && (w = t.substr(E, 8), w.toLowerCase() === I ? E += 8 : (w = r, pe === 0 && fe(dp))), w !== r && (Ve = C, w = NT()), C = w, C === r && (C = E, t.charCodeAt(E) === 60 ? (w = A, E++) : (w = r, pe === 0 && fe(ju)), w === r && (w = t.substr(E, 4), w.toLowerCase() === R ? E += 4 : (w = r, pe === 0 && fe(zu))), w !== r && (Ve = C, w = FT()), C = w, C === r && (C = E, t.charCodeAt(E) === 62 ? (w = D, E++) : (w = r, pe === 0 && fe(pp)), w === r && (w = t.substr(E, 7), w.toLowerCase() === T ? E += 7 : (w = r, pe === 0 && fe(fp))), w !== r && (Ve = C, w = qT()), C = w)))))), Ce[z] = { nextPos: E, result: C }, C);
|
|
22289
22289
|
}
|
|
22290
22290
|
function Ep() {
|
|
22291
22291
|
let C, w, z, M, Y, ue, qe, Se;
|
|
@@ -22303,7 +22303,7 @@ const Dv = (
|
|
|
22303
22303
|
function r1() {
|
|
22304
22304
|
let C, w;
|
|
22305
22305
|
const z = E * 34 + 7, M = Ce[z];
|
|
22306
|
-
return M ? (E = M.nextPos, M.result) : (C = E, t.charCodeAt(E) === 43 ? (w = k, E++) : (w = r, pe === 0 && fe(
|
|
22306
|
+
return M ? (E = M.nextPos, M.result) : (C = E, t.charCodeAt(E) === 43 ? (w = k, E++) : (w = r, pe === 0 && fe(Wu)), w !== r && (Ve = C, w = $T()), C = w, C === r && (C = E, t.charCodeAt(E) === 45 ? (w = _, E++) : (w = r, pe === 0 && fe(Gu)), w !== r && (Ve = C, w = HT()), C = w), Ce[z] = { nextPos: E, result: C }, C);
|
|
22307
22307
|
}
|
|
22308
22308
|
function Vp() {
|
|
22309
22309
|
let C, w, z, M, Y, ue, qe, Se;
|
|
@@ -22346,9 +22346,9 @@ const Dv = (
|
|
|
22346
22346
|
const _t = E * 34 + 12, xt = Ce[_t];
|
|
22347
22347
|
if (xt)
|
|
22348
22348
|
return E = xt.nextPos, xt.result;
|
|
22349
|
-
if (C = E, w =
|
|
22350
|
-
for (z = [], M = E, Y = Ke(), ue = o1(), ue !== r ? (qe = Ke(), Se =
|
|
22351
|
-
z.push(M), M = E, Y = Ke(), ue = o1(), ue !== r ? (qe = Ke(), Se =
|
|
22349
|
+
if (C = E, w = Zu(), w !== r) {
|
|
22350
|
+
for (z = [], M = E, Y = Ke(), ue = o1(), ue !== r ? (qe = Ke(), Se = Zu(), Se === r && (Se = null), Y = [Y, ue, qe, Se], M = Y) : (E = M, M = r); M !== r; )
|
|
22351
|
+
z.push(M), M = E, Y = Ke(), ue = o1(), ue !== r ? (qe = Ke(), Se = Zu(), Se === r && (Se = null), Y = [Y, ue, qe, Se], M = Y) : (E = M, M = r);
|
|
22352
22352
|
Ve = C, C = KT(w, z);
|
|
22353
22353
|
} else
|
|
22354
22354
|
E = C, C = r;
|
|
@@ -22359,7 +22359,7 @@ const Dv = (
|
|
|
22359
22359
|
const z = E * 34 + 13, M = Ce[z];
|
|
22360
22360
|
return M ? (E = M.nextPos, M.result) : (C = E, t.substr(E, 2) === Q ? (w = Q, E += 2) : (w = r, pe === 0 && fe(ae)), w === r && (w = t.substr(E, 8), w.toLowerCase() === W ? E += 8 : (w = r, pe === 0 && fe(ye)), w === r && (w = t.substr(E, 7), w.toLowerCase() === U ? E += 7 : (w = r, pe === 0 && fe(Fe)))), w !== r && (Ve = C, w = ZT()), C = w, C === r && (C = E, w = t.substr(E, 11), w.toLowerCase() === re ? E += 11 : (w = r, pe === 0 && fe(bt)), w === r && (w = t.substr(E, 10), w.toLowerCase() === J ? E += 10 : (w = r, pe === 0 && fe(Pt))), w !== r && (Ve = C, w = JT()), C = w, C === r && (C = E, w = t.substr(E, 5), w.toLowerCase() === oe ? E += 5 : (w = r, pe === 0 && fe(rt)), w !== r && (Ve = C, w = YT()), C = w, C === r && (C = E, w = t.substr(E, 5), w.toLowerCase() === te ? E += 5 : (w = r, pe === 0 && fe(tt)), w !== r && (Ve = C, w = XT()), C = w, C === r && (C = E, w = t.substr(E, 6), w.toLowerCase() === ee ? E += 6 : (w = r, pe === 0 && fe(_s)), w !== r && (Ve = C, w = eI()), C = w)))), Ce[z] = { nextPos: E, result: C }, C);
|
|
22361
22361
|
}
|
|
22362
|
-
function
|
|
22362
|
+
function Zu() {
|
|
22363
22363
|
let C, w, z;
|
|
22364
22364
|
const M = E * 34 + 14, Y = Ce[M];
|
|
22365
22365
|
return Y ? (E = Y.nextPos, Y.result) : (C = E, t.charCodeAt(E) === 40 ? (w = de, E++) : (w = r, pe === 0 && fe(Gt)), w !== r ? (Ke(), z = io(), z !== r ? (Ke(), t.charCodeAt(E) === 41 ? E++ : pe === 0 && fe(Zt), Ve = C, C = z) : (E = C, C = r)) : (E = C, C = r), C === r && (C = LI(), C === r && (C = _I(), C === r && (C = l1(), C === r && (C = OI())))), Ce[M] = { nextPos: E, result: C }, C);
|
|
@@ -22372,7 +22372,7 @@ const Dv = (
|
|
|
22372
22372
|
function _I() {
|
|
22373
22373
|
let C, w, z;
|
|
22374
22374
|
const M = E * 34 + 16, Y = Ce[M];
|
|
22375
|
-
return Y ? (E = Y.nextPos, Y.result) : (C = E, t.charCodeAt(E) === 33 ? (w = he, E++) : (w = r, pe === 0 && fe(oi)), w === r && (w = t.substr(E, 6), w.toLowerCase() === X ? E += 6 : (w = r, pe === 0 && fe(En))), w !== r ? (Ke(), z =
|
|
22375
|
+
return Y ? (E = Y.nextPos, Y.result) : (C = E, t.charCodeAt(E) === 33 ? (w = he, E++) : (w = r, pe === 0 && fe(oi)), w === r && (w = t.substr(E, 6), w.toLowerCase() === X ? E += 6 : (w = r, pe === 0 && fe(En))), w !== r ? (Ke(), z = Zu(), z !== r ? (Ve = C, C = sI(z)) : (E = C, C = r)) : (E = C, C = r), C === r && (C = E, w = l1(), w !== r ? (Ke(), z = DI(), z !== r ? (Ve = C, C = iI(w, z)) : (E = C, C = r)) : (E = C, C = r)), Ce[M] = { nextPos: E, result: C }, C);
|
|
22376
22376
|
}
|
|
22377
22377
|
function DI() {
|
|
22378
22378
|
let C, w;
|
|
@@ -22539,7 +22539,7 @@ const Dv = (
|
|
|
22539
22539
|
function f1() {
|
|
22540
22540
|
throw ml !== r && E < t.length && fe(RI()), AI(
|
|
22541
22541
|
// @ts-ignore
|
|
22542
|
-
|
|
22542
|
+
Ku,
|
|
22543
22543
|
// @ts-ignore
|
|
22544
22544
|
sr < t.length ? PI(sr) : null,
|
|
22545
22545
|
// @ts-ignore
|
|
@@ -22557,7 +22557,7 @@ const Dv = (
|
|
|
22557
22557
|
// @ts-ignore
|
|
22558
22558
|
peg$FAILED: r,
|
|
22559
22559
|
// @ts-ignore
|
|
22560
|
-
peg$maxFailExpected:
|
|
22560
|
+
peg$maxFailExpected: Ku,
|
|
22561
22561
|
// @ts-ignore
|
|
22562
22562
|
peg$maxFailPos: sr,
|
|
22563
22563
|
// @ts-ignore
|
|
@@ -22702,7 +22702,7 @@ class Bo {
|
|
|
22702
22702
|
}
|
|
22703
22703
|
}
|
|
22704
22704
|
Bo.createExpressionExecutor = (i) => new Bo(i);
|
|
22705
|
-
class
|
|
22705
|
+
class Au {
|
|
22706
22706
|
constructor(e) {
|
|
22707
22707
|
this.expression = e;
|
|
22708
22708
|
}
|
|
@@ -22727,15 +22727,15 @@ class Ru {
|
|
|
22727
22727
|
return this.expressionExecutor.canRun();
|
|
22728
22728
|
}
|
|
22729
22729
|
runContextCore(e, t) {
|
|
22730
|
-
const s =
|
|
22730
|
+
const s = Au.IdRunnerCounter++;
|
|
22731
22731
|
return this.onBeforeAsyncRun && this.isAsync && this.onBeforeAsyncRun(s), this.expressionExecutor.runContext(e, t, s);
|
|
22732
22732
|
}
|
|
22733
22733
|
doOnComplete(e, t) {
|
|
22734
22734
|
this.onAfterAsyncRun && this.isAsync && this.onAfterAsyncRun(t);
|
|
22735
22735
|
}
|
|
22736
22736
|
}
|
|
22737
|
-
|
|
22738
|
-
class Qr extends
|
|
22737
|
+
Au.IdRunnerCounter = 1;
|
|
22738
|
+
class Qr extends Au {
|
|
22739
22739
|
runValues(e, t) {
|
|
22740
22740
|
return this.runContext(new _v(e, t == null ? void 0 : t.context), t);
|
|
22741
22741
|
}
|
|
@@ -22746,7 +22746,7 @@ class Qr extends Ru {
|
|
|
22746
22746
|
this.onRunComplete && this.onRunComplete(e == !0), super.doOnComplete(e, t);
|
|
22747
22747
|
}
|
|
22748
22748
|
}
|
|
22749
|
-
class gle extends
|
|
22749
|
+
class gle extends Au {
|
|
22750
22750
|
runValues(e, t) {
|
|
22751
22751
|
return this.runContext(new _v(e, t == null ? void 0 : t.context), t);
|
|
22752
22752
|
}
|
|
@@ -23917,7 +23917,7 @@ class bs extends Ee {
|
|
|
23917
23917
|
return this.actions;
|
|
23918
23918
|
}
|
|
23919
23919
|
setCssClasses(e, t = !0) {
|
|
23920
|
-
this.cssClassesValue = {}, t && this.copyCssClasses(this.cssClassesValue, this.getDefaultCssClasses()),
|
|
23920
|
+
this.cssClassesValue = {}, t && this.copyCssClasses(this.cssClassesValue, this.getDefaultCssClasses()), Kl(e, this.cssClasses), this.getAllActions().forEach((s) => {
|
|
23921
23921
|
this.setActionCssClasses(s);
|
|
23922
23922
|
});
|
|
23923
23923
|
}
|
|
@@ -26744,12 +26744,12 @@ function Pc(i) {
|
|
|
26744
26744
|
}
|
|
26745
26745
|
q && q.confirmActionAsync ? q.confirmActionAsync(i.message, e, i) : lS(i.message, e, i);
|
|
26746
26746
|
}
|
|
26747
|
-
function
|
|
26748
|
-
if (typeof
|
|
26747
|
+
function tc() {
|
|
26748
|
+
if (typeof tc.isIEOrEdge > "u") {
|
|
26749
26749
|
const i = navigator.userAgent, e = i.indexOf("MSIE "), t = i.indexOf("Trident/"), s = i.indexOf("Edge/");
|
|
26750
|
-
|
|
26750
|
+
tc.isIEOrEdge = s > 0 || t > 0 || e > 0;
|
|
26751
26751
|
}
|
|
26752
|
-
return
|
|
26752
|
+
return tc.isIEOrEdge;
|
|
26753
26753
|
}
|
|
26754
26754
|
function _le(i, e) {
|
|
26755
26755
|
try {
|
|
@@ -27052,16 +27052,16 @@ function Hle(i) {
|
|
|
27052
27052
|
!e && getComputedStyle(i.children[t]).display !== "none" && (e = i.children[t]);
|
|
27053
27053
|
return e;
|
|
27054
27054
|
}
|
|
27055
|
-
function
|
|
27055
|
+
function Kl(i, e) {
|
|
27056
27056
|
if (!(!e || !i) && typeof e == "object")
|
|
27057
27057
|
for (var t in i) {
|
|
27058
27058
|
var s = i[t];
|
|
27059
|
-
!Array.isArray(s) && s && typeof s == "object" ? ((!e[t] || typeof e[t] != "object") && (e[t] = {}),
|
|
27059
|
+
!Array.isArray(s) && s && typeof s == "object" ? ((!e[t] || typeof e[t] != "object") && (e[t] = {}), Kl(s, e[t])) : e[t] = s;
|
|
27060
27060
|
}
|
|
27061
27061
|
}
|
|
27062
27062
|
function Nd(i, e) {
|
|
27063
27063
|
const t = {};
|
|
27064
|
-
|
|
27064
|
+
Kl(e.list, t), Kl(i.list, t), i.list = t;
|
|
27065
27065
|
}
|
|
27066
27066
|
function lS(i, e, t = {}) {
|
|
27067
27067
|
const s = new ds(void 0, !1);
|
|
@@ -27161,7 +27161,7 @@ function zle(i) {
|
|
|
27161
27161
|
} else
|
|
27162
27162
|
return;
|
|
27163
27163
|
}
|
|
27164
|
-
function
|
|
27164
|
+
function Zl(i, e, t = "--animation-") {
|
|
27165
27165
|
var s;
|
|
27166
27166
|
i.__sv_created_properties = (s = i.__sv_created_properties) !== null && s !== void 0 ? s : [], Object.keys(e).forEach((r) => {
|
|
27167
27167
|
const n = `${t}${r.split(/\.?(?=[A-Z])/).join("-").toLowerCase()}`;
|
|
@@ -27169,7 +27169,7 @@ function Kl(i, e, t = "--animation-") {
|
|
|
27169
27169
|
});
|
|
27170
27170
|
}
|
|
27171
27171
|
function gn(i) {
|
|
27172
|
-
|
|
27172
|
+
Zl(i, zle(i));
|
|
27173
27173
|
}
|
|
27174
27174
|
function Qi(i) {
|
|
27175
27175
|
Array.isArray(i.__sv_created_properties) && (i.__sv_created_properties.forEach((e) => {
|
|
@@ -27179,8 +27179,8 @@ function Qi(i) {
|
|
|
27179
27179
|
function Wle(i) {
|
|
27180
27180
|
return Math.floor(i * 100) / 100;
|
|
27181
27181
|
}
|
|
27182
|
-
const
|
|
27183
|
-
root:
|
|
27182
|
+
const Lh = typeof globalThis < "u" ? globalThis.document : (void 0).document, Gle = Lh ? {
|
|
27183
|
+
root: Lh,
|
|
27184
27184
|
_rootElement: ve.getBody(),
|
|
27185
27185
|
get rootElement() {
|
|
27186
27186
|
var i;
|
|
@@ -27197,8 +27197,8 @@ const Ah = typeof globalThis < "u" ? globalThis.document : (void 0).document, Gl
|
|
|
27197
27197
|
set popupMountContainer(i) {
|
|
27198
27198
|
this._popupMountContainer = i;
|
|
27199
27199
|
},
|
|
27200
|
-
svgMountContainer:
|
|
27201
|
-
stylesSheetsMountContainer:
|
|
27200
|
+
svgMountContainer: Lh.head,
|
|
27201
|
+
stylesSheetsMountContainer: Lh.head
|
|
27202
27202
|
} : void 0, Kle = {
|
|
27203
27203
|
file: { minWidth: "240px" },
|
|
27204
27204
|
comment: { minWidth: "200px" }
|
|
@@ -28296,7 +28296,7 @@ class sue extends Ei {
|
|
|
28296
28296
|
return this.getLocalizationString("otherRequiredError");
|
|
28297
28297
|
}
|
|
28298
28298
|
}
|
|
28299
|
-
class
|
|
28299
|
+
class _h extends Ei {
|
|
28300
28300
|
constructor(e, t = null) {
|
|
28301
28301
|
super(e, t), this.text = e;
|
|
28302
28302
|
}
|
|
@@ -33101,7 +33101,7 @@ class Cue {
|
|
|
33101
33101
|
this.name = e, this.json = t;
|
|
33102
33102
|
var s = this;
|
|
33103
33103
|
j.addClass(e, [], function(r) {
|
|
33104
|
-
return
|
|
33104
|
+
return Jl.Instance.createQuestion(r ? r.name : "", s);
|
|
33105
33105
|
}, "question"), this.onInit();
|
|
33106
33106
|
}
|
|
33107
33107
|
onInit() {
|
|
@@ -33186,7 +33186,7 @@ class Cue {
|
|
|
33186
33186
|
return j.getDynamicPropertiesByTypes(this.name, t, s);
|
|
33187
33187
|
}
|
|
33188
33188
|
}
|
|
33189
|
-
class
|
|
33189
|
+
class Jl {
|
|
33190
33190
|
constructor() {
|
|
33191
33191
|
this.customQuestionValues = [];
|
|
33192
33192
|
}
|
|
@@ -33239,7 +33239,7 @@ class Zl {
|
|
|
33239
33239
|
return this.onCreateCustom ? this.onCreateCustom(e, t) : new bue(e, t);
|
|
33240
33240
|
}
|
|
33241
33241
|
}
|
|
33242
|
-
|
|
33242
|
+
Jl.Instance = new Jl();
|
|
33243
33243
|
class fS extends Ts {
|
|
33244
33244
|
constructor(e, t) {
|
|
33245
33245
|
super(e), this.customQuestion = t, kt.createProperties(this), St.CreateDisabledDesignElements = !0, this.locQuestionTitle = this.createLocalizableString("questionTitle"), this.locQuestionTitle.setJson(this.customQuestion.defaultQuestionTitle), this.createWrapper(), St.CreateDisabledDesignElements = !1, this.customQuestion && this.customQuestion.onCreated(this);
|
|
@@ -33884,8 +33884,8 @@ class un {
|
|
|
33884
33884
|
var s = this.creatorHash[e];
|
|
33885
33885
|
if (s && s.creator)
|
|
33886
33886
|
return s.creator(t);
|
|
33887
|
-
const r =
|
|
33888
|
-
return r ?
|
|
33887
|
+
const r = Jl.Instance.getCustomQuestionByName(e);
|
|
33888
|
+
return r ? Jl.Instance.createQuestion(t, r) : null;
|
|
33889
33889
|
}
|
|
33890
33890
|
getAllTypesCore(e) {
|
|
33891
33891
|
var t = new Array();
|
|
@@ -34332,11 +34332,11 @@ class Eue {
|
|
|
34332
34332
|
return this.column.colOwner;
|
|
34333
34333
|
}
|
|
34334
34334
|
}
|
|
34335
|
-
function
|
|
34335
|
+
function sc(i, e, t, s) {
|
|
34336
34336
|
i.storeOthersAsComment = t ? t.storeOthersAsComment : !1, (!i.choices || i.choices.length == 0) && i.choicesByUrl.isEmpty && (i.choices = t.choices), i.choicesByUrl.isEmpty || i.choicesByUrl.run(s.getTextProcessor());
|
|
34337
34337
|
}
|
|
34338
34338
|
function Vue(i, e, t, s) {
|
|
34339
|
-
|
|
34339
|
+
sc(i, e, t, s), i.locPlaceholder && i.locPlaceholder.isEmpty && !t.locPlaceholder.isEmpty && (i.placeholder = t.placeholder);
|
|
34340
34340
|
}
|
|
34341
34341
|
var Zb = {
|
|
34342
34342
|
dropdown: {
|
|
@@ -34346,17 +34346,17 @@ var Zb = {
|
|
|
34346
34346
|
},
|
|
34347
34347
|
checkbox: {
|
|
34348
34348
|
onCellQuestionUpdate: (i, e, t, s) => {
|
|
34349
|
-
|
|
34349
|
+
sc(i, e, t, s), i.colCount = e.colCount > -1 ? e.colCount : t.columnColCount;
|
|
34350
34350
|
}
|
|
34351
34351
|
},
|
|
34352
34352
|
radiogroup: {
|
|
34353
34353
|
onCellQuestionUpdate: (i, e, t, s) => {
|
|
34354
|
-
|
|
34354
|
+
sc(i, e, t, s), i.colCount = e.colCount > -1 ? e.colCount : t.columnColCount;
|
|
34355
34355
|
}
|
|
34356
34356
|
},
|
|
34357
34357
|
tagbox: {
|
|
34358
34358
|
onCellQuestionUpdate: (i, e, t, s) => {
|
|
34359
|
-
|
|
34359
|
+
sc(i, e, t, s);
|
|
34360
34360
|
}
|
|
34361
34361
|
},
|
|
34362
34362
|
text: {},
|
|
@@ -36394,7 +36394,7 @@ class yS {
|
|
|
36394
36394
|
return this.matrix.getRendererContext(e);
|
|
36395
36395
|
}
|
|
36396
36396
|
}
|
|
36397
|
-
class
|
|
36397
|
+
class Lu extends qd {
|
|
36398
36398
|
static get defaultCellType() {
|
|
36399
36399
|
return q.matrix.defaultCellType;
|
|
36400
36400
|
}
|
|
@@ -37838,7 +37838,7 @@ j.addClass("matrixdropdownbase", [
|
|
|
37838
37838
|
"columnMinWidth",
|
|
37839
37839
|
{ name: "allowAdaptiveActions:boolean", default: !1, visible: !1 }
|
|
37840
37840
|
], function() {
|
|
37841
|
-
return new
|
|
37841
|
+
return new Lu("");
|
|
37842
37842
|
}, "matrixbase");
|
|
37843
37843
|
class Rue extends Za {
|
|
37844
37844
|
constructor(e) {
|
|
@@ -37896,7 +37896,7 @@ class Aue extends ra {
|
|
|
37896
37896
|
return !!this.item.enableIf;
|
|
37897
37897
|
}
|
|
37898
37898
|
}
|
|
37899
|
-
class CS extends
|
|
37899
|
+
class CS extends Lu {
|
|
37900
37900
|
constructor(e) {
|
|
37901
37901
|
super(e), this.defaultValuesInRows = {}, this.createLocalizableString("totalText", this, !0), this.registerPropertyChangedHandlers(["rows"], () => {
|
|
37902
37902
|
this.generatedVisibleRows && (this.clearGeneratedRows(), this.resetRenderedTable(), this.getVisibleRows(), this.clearIncorrectValues());
|
|
@@ -38066,7 +38066,7 @@ j.addClass("matrixdropdown", [
|
|
|
38066
38066
|
}, "matrixdropdownbase");
|
|
38067
38067
|
ct.Instance.registerQuestion("matrixdropdown", (i) => {
|
|
38068
38068
|
var e = new CS(i);
|
|
38069
|
-
return e.choices = [1, 2, 3, 4, 5], e.rows = ct.DefaultRows,
|
|
38069
|
+
return e.choices = [1, 2, 3, 4, 5], e.rows = ct.DefaultRows, Lu.addDefaultColumns(e), e;
|
|
38070
38070
|
});
|
|
38071
38071
|
typeof window < "u" && window.addEventListener("touchmove", (i) => {
|
|
38072
38072
|
Ho.PreventScrolling && i.preventDefault();
|
|
@@ -38535,7 +38535,7 @@ class Due extends ra {
|
|
|
38535
38535
|
return s && s.value || r && r.value || "" + t;
|
|
38536
38536
|
}
|
|
38537
38537
|
}
|
|
38538
|
-
class ES extends
|
|
38538
|
+
class ES extends Lu {
|
|
38539
38539
|
constructor(e) {
|
|
38540
38540
|
super(e), this.rowCounter = 0, this.setRowCountValueFromData = !1, this.startDragMatrixRow = (t, s) => {
|
|
38541
38541
|
this.dragDropMatrixRows.startDrag(t, this.draggedRow, this, s.target);
|
|
@@ -39420,7 +39420,7 @@ j.addClass("matrixdynamic", [
|
|
|
39420
39420
|
}, "matrixdropdownbase");
|
|
39421
39421
|
ct.Instance.registerQuestion("matrixdynamic", (i) => {
|
|
39422
39422
|
var e = new ES(i);
|
|
39423
|
-
return e.choices = [1, 2, 3, 4, 5],
|
|
39423
|
+
return e.choices = [1, 2, 3, 4, 5], Lu.addDefaultColumns(e), e;
|
|
39424
39424
|
});
|
|
39425
39425
|
var To = {
|
|
39426
39426
|
currentType: "default",
|
|
@@ -40486,7 +40486,7 @@ S([
|
|
|
40486
40486
|
S([
|
|
40487
40487
|
P({ defaultValue: 0 })
|
|
40488
40488
|
], rl.prototype, "spent", void 0);
|
|
40489
|
-
class
|
|
40489
|
+
class _u extends Ee {
|
|
40490
40490
|
constructor(e) {
|
|
40491
40491
|
super(), this.cssClasses = e, this.timeout = q.notifications.lifetime, this.timer = void 0, this.actionsVisibility = {}, this.showActions = !0, this.actionBar = new bs(), this.actionBar.setCssClasses({
|
|
40492
40492
|
root: dr.root,
|
|
@@ -40515,16 +40515,16 @@ class Lu extends Ee {
|
|
|
40515
40515
|
}
|
|
40516
40516
|
S([
|
|
40517
40517
|
P({ defaultValue: !1 })
|
|
40518
|
-
],
|
|
40518
|
+
], _u.prototype, "active", void 0);
|
|
40519
40519
|
S([
|
|
40520
40520
|
P({ defaultValue: !1 })
|
|
40521
|
-
],
|
|
40521
|
+
], _u.prototype, "isDisplayed", void 0);
|
|
40522
40522
|
S([
|
|
40523
40523
|
P()
|
|
40524
|
-
],
|
|
40524
|
+
], _u.prototype, "message", void 0);
|
|
40525
40525
|
S([
|
|
40526
40526
|
P()
|
|
40527
|
-
],
|
|
40527
|
+
], _u.prototype, "css", void 0);
|
|
40528
40528
|
class Ra {
|
|
40529
40529
|
calcRow(e) {
|
|
40530
40530
|
return e === "top" ? 1 : e === "middle" ? 2 : 3;
|
|
@@ -40847,7 +40847,7 @@ class VS extends Ee {
|
|
|
40847
40847
|
S([
|
|
40848
40848
|
P({ defaultValue: !1 })
|
|
40849
40849
|
], VS.prototype, "hasActiveTasks", void 0);
|
|
40850
|
-
class
|
|
40850
|
+
class Du extends Ee {
|
|
40851
40851
|
constructor(e, t) {
|
|
40852
40852
|
super(), this.effectiveWidth = e, this.questionTitleWidth = t;
|
|
40853
40853
|
}
|
|
@@ -40860,22 +40860,22 @@ class _u extends Ee {
|
|
|
40860
40860
|
}
|
|
40861
40861
|
S([
|
|
40862
40862
|
P()
|
|
40863
|
-
],
|
|
40863
|
+
], Du.prototype, "width", void 0);
|
|
40864
40864
|
S([
|
|
40865
40865
|
P({
|
|
40866
40866
|
onSet: (i, e, t) => {
|
|
40867
40867
|
i !== t && (e.width = i);
|
|
40868
40868
|
}
|
|
40869
40869
|
})
|
|
40870
|
-
],
|
|
40870
|
+
], Du.prototype, "effectiveWidth", void 0);
|
|
40871
40871
|
S([
|
|
40872
40872
|
P()
|
|
40873
|
-
],
|
|
40873
|
+
], Du.prototype, "questionTitleWidth", void 0);
|
|
40874
40874
|
j.addClass("panellayoutcolumn", [
|
|
40875
40875
|
{ name: "effectiveWidth:number", isSerializable: !1, minValue: 0 },
|
|
40876
40876
|
{ name: "width:number", visible: !1 },
|
|
40877
40877
|
"questionTitleWidth"
|
|
40878
|
-
], (i) => new
|
|
40878
|
+
], (i) => new Du());
|
|
40879
40879
|
class Nue extends Ee {
|
|
40880
40880
|
get allowRendering() {
|
|
40881
40881
|
return !this.panel || !this.panel.survey || !this.panel.survey.isLazyRenderingSuspended;
|
|
@@ -40926,7 +40926,7 @@ class Nue extends Ee {
|
|
|
40926
40926
|
}
|
|
40927
40927
|
getVisibleElementsAnimationOptions() {
|
|
40928
40928
|
const e = (t) => {
|
|
40929
|
-
gn(t),
|
|
40929
|
+
gn(t), Zl(t, { width: Qm(t) + "px" });
|
|
40930
40930
|
};
|
|
40931
40931
|
return {
|
|
40932
40932
|
getRerenderEvent: () => this.onElementRerendered,
|
|
@@ -41796,7 +41796,7 @@ class Ya extends St {
|
|
|
41796
41796
|
r = e.slice(0, n);
|
|
41797
41797
|
else
|
|
41798
41798
|
for (let a = e.length; a < n; a++) {
|
|
41799
|
-
const o = new
|
|
41799
|
+
const o = new Du();
|
|
41800
41800
|
r.push(o);
|
|
41801
41801
|
}
|
|
41802
41802
|
}
|
|
@@ -43451,7 +43451,7 @@ class je extends Od {
|
|
|
43451
43451
|
this.currentPage && this.currentPage.updateElementCss();
|
|
43452
43452
|
}, this.onShowingChoiceItem.onCallbacksChanged = () => {
|
|
43453
43453
|
this.rebuildQuestionChoices();
|
|
43454
|
-
}, this.locTitle.onStringChanged.add(() => this.resetPropertyValue("titleIsEmpty")), this.onBeforeCreating(), e && ((typeof e == "string" || e instanceof String) && (e = JSON.parse(e)), e && e.clientId && (this.clientId = e.clientId), this.fromJSON(e), this.surveyId && this.loadSurveyFromService(this.surveyId, this.clientId)), this.onCreating(), t && this.render(t), this.updateCss(), this.setCalculatedWidthModeUpdater(), this.notifier = new
|
|
43454
|
+
}, this.locTitle.onStringChanged.add(() => this.resetPropertyValue("titleIsEmpty")), this.onBeforeCreating(), e && ((typeof e == "string" || e instanceof String) && (e = JSON.parse(e)), e && e.clientId && (this.clientId = e.clientId), this.fromJSON(e), this.surveyId && this.loadSurveyFromService(this.surveyId, this.clientId)), this.onCreating(), t && this.render(t), this.updateCss(), this.setCalculatedWidthModeUpdater(), this.notifier = new _u(this.css.saveData), this.notifier.addAction(this.createTryAgainAction(), "error"), this.onPopupVisibleChanged.add((s, r) => {
|
|
43455
43455
|
r.visible ? this.onScrollCallback = () => {
|
|
43456
43456
|
r.popup.hide();
|
|
43457
43457
|
} : this.onScrollCallback = void 0;
|
|
@@ -45865,7 +45865,7 @@ class je extends Od {
|
|
|
45865
45865
|
e && this.updateValuesWithDefaults();
|
|
45866
45866
|
}
|
|
45867
45867
|
mergeValues(e, t) {
|
|
45868
|
-
|
|
45868
|
+
Kl(e, t);
|
|
45869
45869
|
}
|
|
45870
45870
|
updateValuesWithDefaults() {
|
|
45871
45871
|
if (!(this.isDesignMode || this.isLoading))
|
|
@@ -50901,7 +50901,7 @@ class Uv extends Ts {
|
|
|
50901
50901
|
onBeforeRunAnimation: (s) => {
|
|
50902
50902
|
if (this.getCurrentColCount() == 0 && this.bodyItems.indexOf(e) >= 0) {
|
|
50903
50903
|
const r = s.parentElement.firstElementChild.offsetLeft;
|
|
50904
|
-
s.offsetLeft > r &&
|
|
50904
|
+
s.offsetLeft > r && Zl(s, { moveAnimationDuration: "0s", fadeAnimationDelay: "0s" }, "--");
|
|
50905
50905
|
}
|
|
50906
50906
|
gn(s);
|
|
50907
50907
|
},
|
|
@@ -54673,7 +54673,7 @@ ct.Instance.registerQuestion("multipletext", (i) => {
|
|
|
54673
54673
|
var e = new kc(i);
|
|
54674
54674
|
return kc.addDefaultItems(e), e;
|
|
54675
54675
|
});
|
|
54676
|
-
class
|
|
54676
|
+
class Yl extends nl {
|
|
54677
54677
|
constructor(e = "") {
|
|
54678
54678
|
super(e), this.createLocString({ name: "content", supportsMarkdown: !0 }), this.registerPropertyChangedHandlers(["content"], () => {
|
|
54679
54679
|
this.onContentChanged();
|
|
@@ -54716,7 +54716,7 @@ class Jl extends nl {
|
|
|
54716
54716
|
return r < s.length && e.push(s.substring(r, s.length)), e.join("").replace(new RegExp("<br>", "g"), "<br/>");
|
|
54717
54717
|
}
|
|
54718
54718
|
getQuestionFromText(e) {
|
|
54719
|
-
return e = e.substring(1, e.length - 1), e = e.replace(
|
|
54719
|
+
return e = e.substring(1, e.length - 1), e = e.replace(Yl.contentElementNamePrefix, "").trim(), this.getQuestionByName(e);
|
|
54720
54720
|
}
|
|
54721
54721
|
getHtmlForQuestion(e) {
|
|
54722
54722
|
return this.onGetHtmlForQuestion ? this.onGetHtmlForQuestion(e) : "";
|
|
@@ -54758,12 +54758,12 @@ class Jl extends nl {
|
|
|
54758
54758
|
return !1;
|
|
54759
54759
|
}
|
|
54760
54760
|
getElementContentText(e) {
|
|
54761
|
-
return "{" +
|
|
54761
|
+
return "{" + Yl.contentElementNamePrefix + e.name + "}";
|
|
54762
54762
|
}
|
|
54763
54763
|
}
|
|
54764
|
-
|
|
54764
|
+
Yl.contentElementNamePrefix = "element:";
|
|
54765
54765
|
j.addClass("flowpanel", [{ name: "content:html", serializationProperty: "locContent" }], function() {
|
|
54766
|
-
return new
|
|
54766
|
+
return new Yl();
|
|
54767
54767
|
}, "panel");
|
|
54768
54768
|
class jv extends Ts {
|
|
54769
54769
|
constructor(e) {
|
|
@@ -55520,7 +55520,7 @@ class _S extends Ut {
|
|
|
55520
55520
|
S([
|
|
55521
55521
|
P()
|
|
55522
55522
|
], _S.prototype, "hideSelectedItems", void 0);
|
|
55523
|
-
class
|
|
55523
|
+
class ku extends Js {
|
|
55524
55524
|
get needRenderInput() {
|
|
55525
55525
|
return !this.question.isInputReadOnly || !!this.filterStringPlaceholder;
|
|
55526
55526
|
}
|
|
@@ -55637,16 +55637,16 @@ class Du extends Js {
|
|
|
55637
55637
|
}
|
|
55638
55638
|
S([
|
|
55639
55639
|
P({ defaultValue: "" })
|
|
55640
|
-
],
|
|
55640
|
+
], ku.prototype, "filterStringPlaceholder", void 0);
|
|
55641
55641
|
S([
|
|
55642
55642
|
P({ defaultValue: !0 })
|
|
55643
|
-
],
|
|
55643
|
+
], ku.prototype, "closeOnSelect", void 0);
|
|
55644
55644
|
S([
|
|
55645
55645
|
P()
|
|
55646
|
-
],
|
|
55646
|
+
], ku.prototype, "previousValue", void 0);
|
|
55647
55647
|
S([
|
|
55648
55648
|
P({ localizable: { defaultStr: "tagboxDoneButtonCaption" } })
|
|
55649
|
-
],
|
|
55649
|
+
], ku.prototype, "doneButtonCaption", void 0);
|
|
55650
55650
|
class xr extends Wd {
|
|
55651
55651
|
constructor(e) {
|
|
55652
55652
|
super(e), this.itemDisplayNameMap = {}, this.onOpened = this.addEvent(), this.createLocString({ name: "placeholder", hasTranslation: !0 }), this.createLocalizableString("readOnlyText", this, !0), this.deselectAllItemText = this.createLocalizableString("deselectAllText", this.selectAllItem, !0, "deselectAllItemText"), this.registerPropertyChangedHandlers(["value", "renderAs", "showOtherItem", "otherText", "placeholder", "choices", "visibleChoices"], () => {
|
|
@@ -55670,7 +55670,7 @@ class xr extends Wd {
|
|
|
55670
55670
|
return "";
|
|
55671
55671
|
}
|
|
55672
55672
|
get dropdownListModel() {
|
|
55673
|
-
return !this.isDisposed && !this.dropdownListModelValue && (this.dropdownListModelValue = new
|
|
55673
|
+
return !this.isDisposed && !this.dropdownListModelValue && (this.dropdownListModelValue = new ku(this)), this.dropdownListModelValue;
|
|
55674
55674
|
}
|
|
55675
55675
|
set dropdownListModel(e) {
|
|
55676
55676
|
this.dropdownListModelValue = e;
|
|
@@ -56951,11 +56951,11 @@ class Gd extends Ts {
|
|
|
56951
56951
|
});
|
|
56952
56952
|
}
|
|
56953
56953
|
onCheckForErrors(e, t, s) {
|
|
56954
|
-
super.onCheckForErrors(e, t, s), this.isUploading && this.waitForUpload && e.push(new
|
|
56954
|
+
super.onCheckForErrors(e, t, s), this.isUploading && this.waitForUpload && e.push(new _h(this.getLocalizationString("uploadingFile"), this));
|
|
56955
56955
|
}
|
|
56956
56956
|
uploadFiles(e, t) {
|
|
56957
56957
|
this.survey && (this.errors = [], this.stateChanged("loading"), this.survey.uploadFiles(this, this.name, e, (s, r) => {
|
|
56958
|
-
Array.isArray(s) && (this.setValueFromResult(s), Array.isArray(r) && (r.forEach((n) => this.errors.push(new
|
|
56958
|
+
Array.isArray(s) && (this.setValueFromResult(s), Array.isArray(r) && (r.forEach((n) => this.errors.push(new _h(n, this))), this.stateChanged("error"))), s === "success" && Array.isArray(r) && this.setValueFromResult(r), s === "error" && (typeof r == "string" && this.errors.push(new _h(r, this)), Array.isArray(r) && r.length > 0 && r.forEach((n) => this.errors.push(new _h(n, this))), this.stateChanged("error")), this.stateChanged("loaded");
|
|
56959
56959
|
}, t));
|
|
56960
56960
|
}
|
|
56961
56961
|
loadPreview(e) {
|
|
@@ -57051,7 +57051,7 @@ class jt extends Gd {
|
|
|
57051
57051
|
r == null || r.click();
|
|
57052
57052
|
}
|
|
57053
57053
|
}, this.doDownloadFile = (t, s) => {
|
|
57054
|
-
t.stopPropagation(),
|
|
57054
|
+
t.stopPropagation(), tc() && (t.preventDefault(), _le(s.content, s.name));
|
|
57055
57055
|
}, this.createLocString({ name: "takePhotoCaption", hasTranslation: !0 }), this.createLocString({ name: "clearCaption", hasTranslation: !0 }), this.createNewArray("acceptedCategories", void 0, (t) => {
|
|
57056
57056
|
t === Co && (this.acceptedTypes = void 0);
|
|
57057
57057
|
}), this.registerFunctionOnPropertiesValueChanged(["acceptedTypes"], () => this.updateAcceptedCategories()), this.actionsContainer = new bs(), this.actionsContainer.locOwner = this, this.fileIndexAction = new Oe({
|
|
@@ -61358,7 +61358,7 @@ class wn extends Ts {
|
|
|
61358
61358
|
const r = this.isRenderModeList ? s : s.parentElement;
|
|
61359
61359
|
St.ScrollElementToViewCore(r, !1, !1, { behavior: "smooth" });
|
|
61360
61360
|
}
|
|
61361
|
-
!this.isRenderModeList && s.parentElement ?
|
|
61361
|
+
!this.isRenderModeList && s.parentElement ? Zl(s.parentElement, { heightTo: s.offsetHeight + "px" }) : gn(s);
|
|
61362
61362
|
},
|
|
61363
61363
|
onAfterRunAnimation: (s) => {
|
|
61364
61364
|
Qi(s), s.parentElement && Qi(s.parentElement);
|
|
@@ -61370,7 +61370,7 @@ class wn extends Ts {
|
|
|
61370
61370
|
const t = new G().append(this.cssClasses.panelWrapperLeave).append(e()).toString();
|
|
61371
61371
|
return {
|
|
61372
61372
|
onBeforeRunAnimation: (s) => {
|
|
61373
|
-
!this.isRenderModeList && s.parentElement ?
|
|
61373
|
+
!this.isRenderModeList && s.parentElement ? Zl(s.parentElement, { heightFrom: s.offsetHeight + "px" }) : gn(s);
|
|
61374
61374
|
},
|
|
61375
61375
|
onAfterRunAnimation: (s) => {
|
|
61376
61376
|
Qi(s), s.parentElement && Qi(s.parentElement);
|
|
@@ -65264,7 +65264,7 @@ class khe {
|
|
|
65264
65264
|
this.onIconsChanged.fire(this, {});
|
|
65265
65265
|
}
|
|
65266
65266
|
}
|
|
65267
|
-
const
|
|
65267
|
+
const ic = new khe(), Sf = {};
|
|
65268
65268
|
function Xv(i, e) {
|
|
65269
65269
|
Sf[i] || (Sf[i] = {});
|
|
65270
65270
|
const t = Sf[i];
|
|
@@ -65529,7 +65529,7 @@ class ws extends Me {
|
|
|
65529
65529
|
e && (this.content = e);
|
|
65530
65530
|
}
|
|
65531
65531
|
}
|
|
65532
|
-
class
|
|
65532
|
+
class Ou extends ws {
|
|
65533
65533
|
constructor(e) {
|
|
65534
65534
|
super(e), this.updateValueOnEvent = (t) => {
|
|
65535
65535
|
O.isTwoValueEquals(this.questionBase.value, t.target.value, !1, !0, !1) || this.setValueCore(t.target.value);
|
|
@@ -65659,7 +65659,7 @@ class HS extends Me {
|
|
|
65659
65659
|
}
|
|
65660
65660
|
}
|
|
65661
65661
|
ie.Instance.registerElement("sv-action-bar-item", (i) => p.createElement(HS, i));
|
|
65662
|
-
class
|
|
65662
|
+
class Mu extends Me {
|
|
65663
65663
|
constructor(e) {
|
|
65664
65664
|
super(e), this.containerRef = p.createRef(), this.createModel();
|
|
65665
65665
|
}
|
|
@@ -65698,7 +65698,7 @@ class Ou extends Me {
|
|
|
65698
65698
|
return this.model.isModal ? e = p.createElement(e0, { model: this.popup }) : e = p.createElement(Ohe, { model: this.popup }), p.createElement("div", { ref: this.containerRef }, e);
|
|
65699
65699
|
}
|
|
65700
65700
|
}
|
|
65701
|
-
ie.Instance.registerElement("sv-popup", (i) => p.createElement(
|
|
65701
|
+
ie.Instance.registerElement("sv-popup", (i) => p.createElement(Mu, i));
|
|
65702
65702
|
class e0 extends Me {
|
|
65703
65703
|
constructor(e) {
|
|
65704
65704
|
super(e), this.handleKeydown = (t) => {
|
|
@@ -65787,7 +65787,7 @@ class Mhe extends HS {
|
|
|
65787
65787
|
p.Fragment,
|
|
65788
65788
|
null,
|
|
65789
65789
|
e,
|
|
65790
|
-
p.createElement(
|
|
65790
|
+
p.createElement(Mu, { model: this.item.popupModel })
|
|
65791
65791
|
);
|
|
65792
65792
|
}
|
|
65793
65793
|
componentDidMount() {
|
|
@@ -66046,14 +66046,14 @@ ie.Instance.registerElement("sv-components-container", (i) => p.createElement(an
|
|
|
66046
66046
|
class Fhe extends p.Component {
|
|
66047
66047
|
constructor(e) {
|
|
66048
66048
|
super(e), this.onIconsChanged = () => {
|
|
66049
|
-
this.containerRef.current && (this.containerRef.current.innerHTML =
|
|
66049
|
+
this.containerRef.current && (this.containerRef.current.innerHTML = ic.iconsRenderedHtml());
|
|
66050
66050
|
}, this.containerRef = p.createRef();
|
|
66051
66051
|
}
|
|
66052
66052
|
componentDidMount() {
|
|
66053
|
-
this.onIconsChanged(),
|
|
66053
|
+
this.onIconsChanged(), ic.onIconsChanged.add(this.onIconsChanged);
|
|
66054
66054
|
}
|
|
66055
66055
|
componentWillUnmount() {
|
|
66056
|
-
|
|
66056
|
+
ic.onIconsChanged.remove(this.onIconsChanged);
|
|
66057
66057
|
}
|
|
66058
66058
|
render() {
|
|
66059
66059
|
const e = {
|
|
@@ -66062,7 +66062,7 @@ class Fhe extends p.Component {
|
|
|
66062
66062
|
return p.createElement("svg", { style: e, id: "sv-icon-holder-global-container", ref: this.containerRef });
|
|
66063
66063
|
}
|
|
66064
66064
|
}
|
|
66065
|
-
class
|
|
66065
|
+
class Xl extends Me {
|
|
66066
66066
|
constructor(e) {
|
|
66067
66067
|
super(e), this.isInitialized = !1, this.init = () => {
|
|
66068
66068
|
this.isInitialized || (q.showDialog = (t, s) => this.showDialog(t, s), this.isInitialized = !0);
|
|
@@ -66090,13 +66090,13 @@ class Yl extends Me {
|
|
|
66090
66090
|
return this.model.onVisibilityChanged.add(s), this.model.model.isVisible = !0, this.setState({ changed: this.state.changed + 1 }), this.model;
|
|
66091
66091
|
}
|
|
66092
66092
|
componentDidMount() {
|
|
66093
|
-
|
|
66093
|
+
Xl.addModalDescriptor(this.descriptor);
|
|
66094
66094
|
}
|
|
66095
66095
|
componentWillUnmount() {
|
|
66096
|
-
this.model && (this.model.dispose(), this.model = void 0),
|
|
66096
|
+
this.model && (this.model.dispose(), this.model = void 0), Xl.removeModalDescriptor(this.descriptor);
|
|
66097
66097
|
}
|
|
66098
66098
|
}
|
|
66099
|
-
|
|
66099
|
+
Xl.modalDescriptors = [];
|
|
66100
66100
|
/*!
|
|
66101
66101
|
* surveyjs - Survey JavaScript library v2.4.1
|
|
66102
66102
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
@@ -66266,7 +66266,7 @@ class Wm extends p.Component {
|
|
|
66266
66266
|
ie.Instance.registerElement("svc-scroll", (i) => p.createElement(Wm, i));
|
|
66267
66267
|
Xv("v1", qhe);
|
|
66268
66268
|
Xv("v2", zS);
|
|
66269
|
-
|
|
66269
|
+
ic.registerIcons(zS);
|
|
66270
66270
|
class WS extends Me {
|
|
66271
66271
|
constructor(e) {
|
|
66272
66272
|
super(e), this.previousJSON = {}, this.isSurveyUpdated = !1, this.createSurvey(e), this.updateSurvey(e, {}), this.rootRef = p.createRef(), this.rootNodeId = e.id || null, this.rootNodeClassName = e.className || "";
|
|
@@ -66311,7 +66311,7 @@ class WS extends Me {
|
|
|
66311
66311
|
Wm,
|
|
66312
66312
|
{ disabled: this.survey.rootScrollDisabled },
|
|
66313
66313
|
this.survey.needRenderIcons ? p.createElement(Fhe, null) : null,
|
|
66314
|
-
p.createElement(
|
|
66314
|
+
p.createElement(Xl, null),
|
|
66315
66315
|
p.createElement(
|
|
66316
66316
|
"div",
|
|
66317
66317
|
{ className: this.survey.wrapperFormCss },
|
|
@@ -66732,7 +66732,7 @@ class n0 extends Me {
|
|
|
66732
66732
|
}
|
|
66733
66733
|
}
|
|
66734
66734
|
ie.Instance.registerElement("sv-text-area", (i) => p.createElement(n0, i));
|
|
66735
|
-
class Qhe extends
|
|
66735
|
+
class Qhe extends Ou {
|
|
66736
66736
|
renderCharacterCounter() {
|
|
66737
66737
|
let e = null;
|
|
66738
66738
|
return this.question.getMaxLength() && (e = p.createElement(r0, { counter: this.question.characterCounter, remainingCharacterCounter: this.question.cssClasses.remainingCharacterCounter })), e;
|
|
@@ -67886,7 +67886,7 @@ class sce extends zt {
|
|
|
67886
67886
|
return p.createElement("option", { value: this.item.value, disabled: !this.item.isEnabled }, this.item.text);
|
|
67887
67887
|
}
|
|
67888
67888
|
}
|
|
67889
|
-
class Xd extends
|
|
67889
|
+
class Xd extends Ou {
|
|
67890
67890
|
constructor() {
|
|
67891
67891
|
super(...arguments), this.click = (e) => {
|
|
67892
67892
|
var t;
|
|
@@ -67933,7 +67933,7 @@ class Xd extends ku {
|
|
|
67933
67933
|
p.Fragment,
|
|
67934
67934
|
null,
|
|
67935
67935
|
this.renderInput(),
|
|
67936
|
-
this.question.isInputReadOnly ? null : p.createElement(
|
|
67936
|
+
this.question.isInputReadOnly ? null : p.createElement(Mu, { model: s.popupModel })
|
|
67937
67937
|
), p.createElement("div", { className: e.selectWrapper, onClick: this.click }, t);
|
|
67938
67938
|
}
|
|
67939
67939
|
renderValueElement() {
|
|
@@ -68651,7 +68651,7 @@ class o3 extends s3 {
|
|
|
68651
68651
|
}
|
|
68652
68652
|
ie.Instance.registerElement("survey-radiogroup-item", (i) => p.createElement(o3, i));
|
|
68653
68653
|
lt.Instance.registerQuestion("radiogroup", (i) => p.createElement(yce, i));
|
|
68654
|
-
class Cce extends
|
|
68654
|
+
class Cce extends Ou {
|
|
68655
68655
|
//controlRef: React.RefObject<HTMLInputElement>;
|
|
68656
68656
|
constructor(e) {
|
|
68657
68657
|
super(e);
|
|
@@ -69699,7 +69699,7 @@ class Oce extends i0 {
|
|
|
69699
69699
|
"div",
|
|
69700
69700
|
{ onClick: e.togglePopup },
|
|
69701
69701
|
p.createElement(Rt, { iconName: e.icon, size: 24 }),
|
|
69702
|
-
p.createElement(
|
|
69702
|
+
p.createElement(Mu, { model: e.popupModel })
|
|
69703
69703
|
) : t = p.createElement(p3, { model: e.listModel }), p.createElement("div", { className: e.containerCss }, t);
|
|
69704
69704
|
}
|
|
69705
69705
|
}
|
|
@@ -70178,7 +70178,7 @@ class zce extends Xd {
|
|
|
70178
70178
|
}
|
|
70179
70179
|
lt.Instance.registerQuestion("sv-buttongroup-dropdown", (i) => p.createElement(zce, i));
|
|
70180
70180
|
vn.Instance.registerRenderer("buttongroup", "dropdown", "sv-buttongroup-dropdown");
|
|
70181
|
-
class Wce extends
|
|
70181
|
+
class Wce extends Ou {
|
|
70182
70182
|
constructor(e) {
|
|
70183
70183
|
super(e);
|
|
70184
70184
|
}
|
|
@@ -70190,7 +70190,7 @@ class Wce extends ku {
|
|
|
70190
70190
|
return na.renderQuestionBody(this.creator, this.question.contentQuestion);
|
|
70191
70191
|
}
|
|
70192
70192
|
}
|
|
70193
|
-
class Gce extends
|
|
70193
|
+
class Gce extends Ou {
|
|
70194
70194
|
constructor(e) {
|
|
70195
70195
|
super(e);
|
|
70196
70196
|
}
|
|
@@ -70246,7 +70246,7 @@ class Zce extends Me {
|
|
|
70246
70246
|
p.Fragment,
|
|
70247
70247
|
null,
|
|
70248
70248
|
t,
|
|
70249
|
-
p.createElement(
|
|
70249
|
+
p.createElement(Mu, { model: (e = this.item) === null || e === void 0 ? void 0 : e.popupModel })
|
|
70250
70250
|
);
|
|
70251
70251
|
}
|
|
70252
70252
|
}
|
|
@@ -70321,7 +70321,7 @@ class Xce extends zt {
|
|
|
70321
70321
|
}
|
|
70322
70322
|
}
|
|
70323
70323
|
ie.Instance.registerElement("sv-matrix-detail-button", (i) => p.createElement(Xce, i));
|
|
70324
|
-
class
|
|
70324
|
+
class Nu extends zt {
|
|
70325
70325
|
constructor(e) {
|
|
70326
70326
|
super(e);
|
|
70327
70327
|
}
|
|
@@ -70332,7 +70332,7 @@ class Mu extends zt {
|
|
|
70332
70332
|
return this.props.item && this.props.item.data.question || this.props.data.question;
|
|
70333
70333
|
}
|
|
70334
70334
|
}
|
|
70335
|
-
class ede extends
|
|
70335
|
+
class ede extends Nu {
|
|
70336
70336
|
constructor() {
|
|
70337
70337
|
super(...arguments), this.handleClick = (e) => {
|
|
70338
70338
|
this.question.addPanelUI();
|
|
@@ -70350,7 +70350,7 @@ class ede extends Mu {
|
|
|
70350
70350
|
}
|
|
70351
70351
|
}
|
|
70352
70352
|
ie.Instance.registerElement("sv-paneldynamic-add-btn", (i) => p.createElement(ede, i));
|
|
70353
|
-
class tde extends
|
|
70353
|
+
class tde extends Nu {
|
|
70354
70354
|
constructor() {
|
|
70355
70355
|
super(...arguments), this.handleClick = (e) => {
|
|
70356
70356
|
this.question.removePanelUI(this.data.panel);
|
|
@@ -70367,7 +70367,7 @@ class tde extends Mu {
|
|
|
70367
70367
|
}
|
|
70368
70368
|
}
|
|
70369
70369
|
ie.Instance.registerElement("sv-paneldynamic-remove-btn", (i) => p.createElement(tde, i));
|
|
70370
|
-
class sde extends
|
|
70370
|
+
class sde extends Nu {
|
|
70371
70371
|
constructor() {
|
|
70372
70372
|
super(...arguments), this.handleClick = (e) => {
|
|
70373
70373
|
this.question.goToPrevPanel();
|
|
@@ -70382,7 +70382,7 @@ class sde extends Mu {
|
|
|
70382
70382
|
}
|
|
70383
70383
|
}
|
|
70384
70384
|
ie.Instance.registerElement("sv-paneldynamic-prev-btn", (i) => p.createElement(sde, i));
|
|
70385
|
-
class ide extends
|
|
70385
|
+
class ide extends Nu {
|
|
70386
70386
|
constructor() {
|
|
70387
70387
|
super(...arguments), this.handleClick = (e) => {
|
|
70388
70388
|
this.question.goToNextPanel();
|
|
@@ -70397,7 +70397,7 @@ class ide extends Mu {
|
|
|
70397
70397
|
}
|
|
70398
70398
|
}
|
|
70399
70399
|
ie.Instance.registerElement("sv-paneldynamic-next-btn", (i) => p.createElement(ide, i));
|
|
70400
|
-
class rde extends
|
|
70400
|
+
class rde extends Nu {
|
|
70401
70401
|
renderElement() {
|
|
70402
70402
|
return p.createElement("div", { className: this.question.cssClasses.progressText }, this.question.progressText);
|
|
70403
70403
|
}
|
|
@@ -70939,7 +70939,7 @@ function gde({
|
|
|
70939
70939
|
/* @__PURE__ */ V.jsx("div", { className: `max-w-4xl mx-auto px-4${u ? " quest-custom-bg" : ""}`, children: /* @__PURE__ */ V.jsx(WS, { model: o }) })
|
|
70940
70940
|
] });
|
|
70941
70941
|
}
|
|
70942
|
-
var
|
|
70942
|
+
var Fu = class {
|
|
70943
70943
|
constructor() {
|
|
70944
70944
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
70945
70945
|
}
|
|
@@ -70986,7 +70986,7 @@ function h2(i, e) {
|
|
|
70986
70986
|
if (s) {
|
|
70987
70987
|
if (e.queryHash !== u0(a, e.options))
|
|
70988
70988
|
return !1;
|
|
70989
|
-
} else if (!
|
|
70989
|
+
} else if (!eu(e.queryKey, a))
|
|
70990
70990
|
return !1;
|
|
70991
70991
|
}
|
|
70992
70992
|
if (t !== "all") {
|
|
@@ -71004,7 +71004,7 @@ function c2(i, e) {
|
|
|
71004
71004
|
if (t) {
|
|
71005
71005
|
if (ja(e.options.mutationKey) !== ja(n))
|
|
71006
71006
|
return !1;
|
|
71007
|
-
} else if (!
|
|
71007
|
+
} else if (!eu(e.options.mutationKey, n))
|
|
71008
71008
|
return !1;
|
|
71009
71009
|
}
|
|
71010
71010
|
return !(s && e.state.status !== s || r && !r(e));
|
|
@@ -71018,8 +71018,8 @@ function ja(i) {
|
|
|
71018
71018
|
(e, t) => Km(t) ? Object.keys(t).sort().reduce((s, r) => (s[r] = t[r], s), {}) : t
|
|
71019
71019
|
);
|
|
71020
71020
|
}
|
|
71021
|
-
function
|
|
71022
|
-
return i === e ? !0 : typeof i != typeof e ? !1 : i && e && typeof i == "object" && typeof e == "object" ? !Object.keys(e).some((t) => !
|
|
71021
|
+
function eu(i, e) {
|
|
71022
|
+
return i === e ? !0 : typeof i != typeof e ? !1 : i && e && typeof i == "object" && typeof e == "object" ? !Object.keys(e).some((t) => !eu(i[t], e[t])) : !1;
|
|
71023
71023
|
}
|
|
71024
71024
|
function Gm(i, e) {
|
|
71025
71025
|
if (i === e)
|
|
@@ -71094,7 +71094,7 @@ function m3(i, e) {
|
|
|
71094
71094
|
`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${i.queryHash}'`
|
|
71095
71095
|
), !i.queryFn && (e != null && e.initialPromise) ? () => e.initialPromise : !i.queryFn || i.queryFn === Fc ? () => Promise.reject(new Error(`Missing queryFn: '${i.queryHash}'`)) : i.queryFn;
|
|
71096
71096
|
}
|
|
71097
|
-
var _a, jn, Ro, $x, Tde = ($x = class extends
|
|
71097
|
+
var _a, jn, Ro, $x, Tde = ($x = class extends Fu {
|
|
71098
71098
|
constructor() {
|
|
71099
71099
|
super();
|
|
71100
71100
|
nt(this, _a);
|
|
@@ -71135,7 +71135,7 @@ var _a, jn, Ro, $x, Tde = ($x = class extends Nu {
|
|
|
71135
71135
|
var e;
|
|
71136
71136
|
return typeof Z(this, _a) == "boolean" ? Z(this, _a) : ((e = globalThis.document) == null ? void 0 : e.visibilityState) !== "hidden";
|
|
71137
71137
|
}
|
|
71138
|
-
}, _a = new WeakMap(), jn = new WeakMap(), Ro = new WeakMap(), $x), g3 = new Tde(), Ao, zn, Lo, Hx, Ide = (Hx = class extends
|
|
71138
|
+
}, _a = new WeakMap(), jn = new WeakMap(), Ro = new WeakMap(), $x), g3 = new Tde(), Ao, zn, Lo, Hx, Ide = (Hx = class extends Fu {
|
|
71139
71139
|
constructor() {
|
|
71140
71140
|
super();
|
|
71141
71141
|
nt(this, Ao, !0);
|
|
@@ -71343,7 +71343,7 @@ var Fs = Ade(), Da, Qx, b3 = (Qx = class {
|
|
|
71343
71343
|
clearGcTimeout() {
|
|
71344
71344
|
Z(this, Da) && (clearTimeout(Z(this, Da)), Ue(this, Da, void 0));
|
|
71345
71345
|
}
|
|
71346
|
-
}, Da = new WeakMap(), Qx), _o, Do, $i, Gs,
|
|
71346
|
+
}, Da = new WeakMap(), Qx), _o, Do, $i, Gs, pu, ka, ur, on, Ux, Lde = (Ux = class extends b3 {
|
|
71347
71347
|
constructor(e) {
|
|
71348
71348
|
super();
|
|
71349
71349
|
nt(this, ur);
|
|
@@ -71351,9 +71351,9 @@ var Fs = Ade(), Da, Qx, b3 = (Qx = class {
|
|
|
71351
71351
|
nt(this, Do);
|
|
71352
71352
|
nt(this, $i);
|
|
71353
71353
|
nt(this, Gs);
|
|
71354
|
-
nt(this,
|
|
71354
|
+
nt(this, pu);
|
|
71355
71355
|
nt(this, ka);
|
|
71356
|
-
Ue(this, ka, !1), Ue(this,
|
|
71356
|
+
Ue(this, ka, !1), Ue(this, pu, e.defaultOptions), this.setOptions(e.options), this.observers = [], Ue(this, $i, e.cache), this.queryKey = e.queryKey, this.queryHash = e.queryHash, Ue(this, _o, Dde(this.options)), this.state = e.state ?? Z(this, _o), this.scheduleGc();
|
|
71357
71357
|
}
|
|
71358
71358
|
get meta() {
|
|
71359
71359
|
return this.options.meta;
|
|
@@ -71363,7 +71363,7 @@ var Fs = Ade(), Da, Qx, b3 = (Qx = class {
|
|
|
71363
71363
|
return (e = Z(this, Gs)) == null ? void 0 : e.promise;
|
|
71364
71364
|
}
|
|
71365
71365
|
setOptions(e) {
|
|
71366
|
-
this.options = { ...Z(this,
|
|
71366
|
+
this.options = { ...Z(this, pu), ...e }, this.updateGcTime(this.options.gcTime);
|
|
71367
71367
|
}
|
|
71368
71368
|
optionalRemove() {
|
|
71369
71369
|
!this.observers.length && this.state.fetchStatus === "idle" && Z(this, $i).remove(this);
|
|
@@ -71527,7 +71527,7 @@ var Fs = Ade(), Da, Qx, b3 = (Qx = class {
|
|
|
71527
71527
|
canRun: () => !0
|
|
71528
71528
|
})), Z(this, Gs).start();
|
|
71529
71529
|
}
|
|
71530
|
-
}, _o = new WeakMap(), Do = new WeakMap(), $i = new WeakMap(), Gs = new WeakMap(),
|
|
71530
|
+
}, _o = new WeakMap(), Do = new WeakMap(), $i = new WeakMap(), Gs = new WeakMap(), pu = new WeakMap(), ka = new WeakMap(), ur = new WeakSet(), on = function(e) {
|
|
71531
71531
|
const t = (s) => {
|
|
71532
71532
|
switch (e.type) {
|
|
71533
71533
|
case "failed":
|
|
@@ -71625,7 +71625,7 @@ function Dde(i) {
|
|
|
71625
71625
|
fetchStatus: "idle"
|
|
71626
71626
|
};
|
|
71627
71627
|
}
|
|
71628
|
-
var Rr, jx, kde = (jx = class extends
|
|
71628
|
+
var Rr, jx, kde = (jx = class extends Fu {
|
|
71629
71629
|
constructor(e = {}) {
|
|
71630
71630
|
super();
|
|
71631
71631
|
nt(this, Rr);
|
|
@@ -71894,29 +71894,29 @@ function w3() {
|
|
|
71894
71894
|
submittedAt: 0
|
|
71895
71895
|
};
|
|
71896
71896
|
}
|
|
71897
|
-
var Ti,
|
|
71897
|
+
var Ti, fu, Wx, Mde = (Wx = class extends Fu {
|
|
71898
71898
|
constructor(e = {}) {
|
|
71899
71899
|
super();
|
|
71900
71900
|
nt(this, Ti);
|
|
71901
|
-
nt(this,
|
|
71902
|
-
this.config = e, Ue(this, Ti, /* @__PURE__ */ new Map()), Ue(this,
|
|
71901
|
+
nt(this, fu);
|
|
71902
|
+
this.config = e, Ue(this, Ti, /* @__PURE__ */ new Map()), Ue(this, fu, Date.now());
|
|
71903
71903
|
}
|
|
71904
71904
|
build(e, t, s) {
|
|
71905
71905
|
const r = new Ode({
|
|
71906
71906
|
mutationCache: this,
|
|
71907
|
-
mutationId: ++
|
|
71907
|
+
mutationId: ++Ju(this, fu)._,
|
|
71908
71908
|
options: e.defaultMutationOptions(t),
|
|
71909
71909
|
state: s
|
|
71910
71910
|
});
|
|
71911
71911
|
return this.add(r), r;
|
|
71912
71912
|
}
|
|
71913
71913
|
add(e) {
|
|
71914
|
-
const t =
|
|
71914
|
+
const t = Dh(e), s = Z(this, Ti).get(t) ?? [];
|
|
71915
71915
|
s.push(e), Z(this, Ti).set(t, s), this.notify({ type: "added", mutation: e });
|
|
71916
71916
|
}
|
|
71917
71917
|
remove(e) {
|
|
71918
71918
|
var s;
|
|
71919
|
-
const t =
|
|
71919
|
+
const t = Dh(e);
|
|
71920
71920
|
if (Z(this, Ti).has(t)) {
|
|
71921
71921
|
const r = (s = Z(this, Ti).get(t)) == null ? void 0 : s.filter((n) => n !== e);
|
|
71922
71922
|
r && (r.length === 0 ? Z(this, Ti).delete(t) : Z(this, Ti).set(t, r));
|
|
@@ -71925,12 +71925,12 @@ var Ti, pu, Wx, Mde = (Wx = class extends Nu {
|
|
|
71925
71925
|
}
|
|
71926
71926
|
canRun(e) {
|
|
71927
71927
|
var s;
|
|
71928
|
-
const t = (s = Z(this, Ti).get(
|
|
71928
|
+
const t = (s = Z(this, Ti).get(Dh(e))) == null ? void 0 : s.find((r) => r.state.status === "pending");
|
|
71929
71929
|
return !t || t === e;
|
|
71930
71930
|
}
|
|
71931
71931
|
runNext(e) {
|
|
71932
71932
|
var s;
|
|
71933
|
-
const t = (s = Z(this, Ti).get(
|
|
71933
|
+
const t = (s = Z(this, Ti).get(Dh(e))) == null ? void 0 : s.find((r) => r !== e && r.state.isPaused);
|
|
71934
71934
|
return (t == null ? void 0 : t.continue()) ?? Promise.resolve();
|
|
71935
71935
|
}
|
|
71936
71936
|
clear() {
|
|
@@ -71967,8 +71967,8 @@ var Ti, pu, Wx, Mde = (Wx = class extends Nu {
|
|
|
71967
71967
|
)
|
|
71968
71968
|
);
|
|
71969
71969
|
}
|
|
71970
|
-
}, Ti = new WeakMap(),
|
|
71971
|
-
function
|
|
71970
|
+
}, Ti = new WeakMap(), fu = new WeakMap(), Wx);
|
|
71971
|
+
function Dh(i) {
|
|
71972
71972
|
var e;
|
|
71973
71973
|
return ((e = i.options.scope) == null ? void 0 : e.id) ?? String(i.mutationId);
|
|
71974
71974
|
}
|
|
@@ -72066,7 +72066,7 @@ var ts, Wn, Gn, ko, Oo, Kn, Mo, No, Gx, Fde = (Gx = class {
|
|
|
72066
72066
|
Ue(this, ts, i.queryCache || new kde()), Ue(this, Wn, i.mutationCache || new Mde()), Ue(this, Gn, i.defaultOptions || {}), Ue(this, ko, /* @__PURE__ */ new Map()), Ue(this, Oo, /* @__PURE__ */ new Map()), Ue(this, Kn, 0);
|
|
72067
72067
|
}
|
|
72068
72068
|
mount() {
|
|
72069
|
-
|
|
72069
|
+
Ju(this, Kn)._++, Z(this, Kn) === 1 && (Ue(this, Mo, g3.subscribe(async (i) => {
|
|
72070
72070
|
i && (await this.resumePausedMutations(), Z(this, ts).onFocus());
|
|
72071
72071
|
})), Ue(this, No, qc.subscribe(async (i) => {
|
|
72072
72072
|
i && (await this.resumePausedMutations(), Z(this, ts).onOnline());
|
|
@@ -72074,7 +72074,7 @@ var ts, Wn, Gn, ko, Oo, Kn, Mo, No, Gx, Fde = (Gx = class {
|
|
|
72074
72074
|
}
|
|
72075
72075
|
unmount() {
|
|
72076
72076
|
var i, e;
|
|
72077
|
-
|
|
72077
|
+
Ju(this, Kn)._--, Z(this, Kn) === 0 && ((i = Z(this, Mo)) == null || i.call(this), Ue(this, Mo, void 0), (e = Z(this, No)) == null || e.call(this), Ue(this, No, void 0));
|
|
72078
72078
|
}
|
|
72079
72079
|
isFetching(i) {
|
|
72080
72080
|
return Z(this, ts).findAll({ ...i, fetchStatus: "fetching" }).length;
|
|
@@ -72215,7 +72215,7 @@ var ts, Wn, Gn, ko, Oo, Kn, Mo, No, Gx, Fde = (Gx = class {
|
|
|
72215
72215
|
const e = [...Z(this, ko).values()];
|
|
72216
72216
|
let t = {};
|
|
72217
72217
|
return e.forEach((s) => {
|
|
72218
|
-
|
|
72218
|
+
eu(i, s.queryKey) && (t = { ...t, ...s.defaultOptions });
|
|
72219
72219
|
}), t;
|
|
72220
72220
|
}
|
|
72221
72221
|
setMutationDefaults(i, e) {
|
|
@@ -72228,7 +72228,7 @@ var ts, Wn, Gn, ko, Oo, Kn, Mo, No, Gx, Fde = (Gx = class {
|
|
|
72228
72228
|
const e = [...Z(this, Oo).values()];
|
|
72229
72229
|
let t = {};
|
|
72230
72230
|
return e.forEach((s) => {
|
|
72231
|
-
|
|
72231
|
+
eu(i, s.mutationKey) && (t = { ...t, ...s.defaultOptions });
|
|
72232
72232
|
}), t;
|
|
72233
72233
|
}
|
|
72234
72234
|
defaultQueryOptions(i) {
|
|
@@ -72256,7 +72256,7 @@ var ts, Wn, Gn, ko, Oo, Kn, Mo, No, Gx, Fde = (Gx = class {
|
|
|
72256
72256
|
clear() {
|
|
72257
72257
|
Z(this, ts).clear(), Z(this, Wn).clear();
|
|
72258
72258
|
}
|
|
72259
|
-
}, ts = new WeakMap(), Wn = new WeakMap(), Gn = new WeakMap(), ko = new WeakMap(), Oo = new WeakMap(), Kn = new WeakMap(), Mo = new WeakMap(), No = new WeakMap(), Gx), Zn, Jn, ci, cn, mn,
|
|
72259
|
+
}, ts = new WeakMap(), Wn = new WeakMap(), Gn = new WeakMap(), ko = new WeakMap(), Oo = new WeakMap(), Kn = new WeakMap(), Mo = new WeakMap(), No = new WeakMap(), Gx), Zn, Jn, ci, cn, mn, rc, Zm, Kx, qde = (Kx = class extends Fu {
|
|
72260
72260
|
constructor(e, t) {
|
|
72261
72261
|
super();
|
|
72262
72262
|
nt(this, mn);
|
|
@@ -72264,7 +72264,7 @@ var ts, Wn, Gn, ko, Oo, Kn, Mo, No, Gx, Fde = (Gx = class {
|
|
|
72264
72264
|
nt(this, Jn);
|
|
72265
72265
|
nt(this, ci);
|
|
72266
72266
|
nt(this, cn);
|
|
72267
|
-
Ue(this, Zn, e), this.setOptions(t), this.bindMethods(), us(this, mn,
|
|
72267
|
+
Ue(this, Zn, e), this.setOptions(t), this.bindMethods(), us(this, mn, rc).call(this);
|
|
72268
72268
|
}
|
|
72269
72269
|
bindMethods() {
|
|
72270
72270
|
this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
|
|
@@ -72283,20 +72283,20 @@ var ts, Wn, Gn, ko, Oo, Kn, Mo, No, Gx, Fde = (Gx = class {
|
|
|
72283
72283
|
this.hasListeners() || (e = Z(this, ci)) == null || e.removeObserver(this);
|
|
72284
72284
|
}
|
|
72285
72285
|
onMutationUpdate(e) {
|
|
72286
|
-
us(this, mn,
|
|
72286
|
+
us(this, mn, rc).call(this), us(this, mn, Zm).call(this, e);
|
|
72287
72287
|
}
|
|
72288
72288
|
getCurrentResult() {
|
|
72289
72289
|
return Z(this, Jn);
|
|
72290
72290
|
}
|
|
72291
72291
|
reset() {
|
|
72292
72292
|
var e;
|
|
72293
|
-
(e = Z(this, ci)) == null || e.removeObserver(this), Ue(this, ci, void 0), us(this, mn,
|
|
72293
|
+
(e = Z(this, ci)) == null || e.removeObserver(this), Ue(this, ci, void 0), us(this, mn, rc).call(this), us(this, mn, Zm).call(this);
|
|
72294
72294
|
}
|
|
72295
72295
|
mutate(e, t) {
|
|
72296
72296
|
var s;
|
|
72297
72297
|
return Ue(this, cn, t), (s = Z(this, ci)) == null || s.removeObserver(this), Ue(this, ci, Z(this, Zn).getMutationCache().build(Z(this, Zn), this.options)), Z(this, ci).addObserver(this), Z(this, ci).execute(e);
|
|
72298
72298
|
}
|
|
72299
|
-
}, Zn = new WeakMap(), Jn = new WeakMap(), ci = new WeakMap(), cn = new WeakMap(), mn = new WeakSet(),
|
|
72299
|
+
}, Zn = new WeakMap(), Jn = new WeakMap(), ci = new WeakMap(), cn = new WeakMap(), mn = new WeakSet(), rc = function() {
|
|
72300
72300
|
var t;
|
|
72301
72301
|
const e = ((t = Z(this, ci)) == null ? void 0 : t.state) ?? w3();
|
|
72302
72302
|
Ue(this, Jn, {
|
|
@@ -72394,7 +72394,7 @@ function E3(i, e, t) {
|
|
|
72394
72394
|
const s = i.random || (i.rng || Wde)();
|
|
72395
72395
|
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, jde(s);
|
|
72396
72396
|
}
|
|
72397
|
-
const
|
|
72397
|
+
const tu = 15, Jm = 30, Ym = 19, Kde = 29, Bc = 256, h0 = Bc + 1 + Kde, v2 = 2 * h0 + 1, Ll = 256, Zde = 7, y2 = 16, C2 = 17, b2 = 18, Pf = 8 * 2, $c = -1, Jde = 1, kh = 2, Yde = 0, vo = 0, w2 = 1, Xde = 3, ui = 4, ar = 0, V3 = 1, Oh = 2, hr = -2, epe = -3, fo = -5;
|
|
72398
72398
|
function sp(i) {
|
|
72399
72399
|
return ip(i.map(([e, t]) => new Array(e).fill(t, 0, e)));
|
|
72400
72400
|
}
|
|
@@ -72435,7 +72435,7 @@ function Bt() {
|
|
|
72435
72435
|
function e(r) {
|
|
72436
72436
|
const n = i.dyn_tree, a = i.stat_desc.static_tree, o = i.stat_desc.extra_bits, l = i.stat_desc.extra_base, u = i.stat_desc.max_length;
|
|
72437
72437
|
let h, c, d, f, y, v, m = 0;
|
|
72438
|
-
for (f = 0; f <=
|
|
72438
|
+
for (f = 0; f <= tu; f++)
|
|
72439
72439
|
r.bl_count[f] = 0;
|
|
72440
72440
|
for (n[r.heap[r.heap_max] * 2 + 1] = 0, h = r.heap_max + 1; h < v2; h++)
|
|
72441
72441
|
c = r.heap[h], f = n[n[c * 2 + 1] * 2 + 1] + 1, f > u && (f = u, m++), n[c * 2 + 1] = f, !(c > i.max_code) && (r.bl_count[f]++, y = 0, c >= l && (y = o[c - l]), v = n[c * 2], r.opt_len += v * (f + y), a && (r.static_len += v * (a[c * 2 + 1] + y)));
|
|
@@ -72460,7 +72460,7 @@ function Bt() {
|
|
|
72460
72460
|
function s(r, n, a) {
|
|
72461
72461
|
const o = [];
|
|
72462
72462
|
let l = 0, u, h, c;
|
|
72463
|
-
for (u = 1; u <=
|
|
72463
|
+
for (u = 1; u <= tu; u++)
|
|
72464
72464
|
o[u] = l = l + a[u - 1] << 1;
|
|
72465
72465
|
for (h = 0; h <= n; h++)
|
|
72466
72466
|
c = r[h * 2 + 1], c !== 0 && (r[h * 2] = t(o[c]++, c));
|
|
@@ -72841,26 +72841,26 @@ const tpe = [
|
|
|
72841
72841
|
Ns.static_ltree = ip(tpe.map((i, e) => [i, spe[e]]));
|
|
72842
72842
|
const ipe = [0, 16, 8, 24, 4, 20, 12, 28, 2, 18, 10, 26, 6, 22, 14, 30, 1, 17, 9, 25, 5, 21, 13, 29, 3, 19, 11, 27, 7, 23], rpe = sp([[30, 5]]);
|
|
72843
72843
|
Ns.static_dtree = ip(ipe.map((i, e) => [i, rpe[e]]));
|
|
72844
|
-
Ns.static_l_desc = new Ns(Ns.static_ltree, Bt.extra_lbits, Bc + 1, h0,
|
|
72845
|
-
Ns.static_d_desc = new Ns(Ns.static_dtree, Bt.extra_dbits, 0, Jm,
|
|
72844
|
+
Ns.static_l_desc = new Ns(Ns.static_ltree, Bt.extra_lbits, Bc + 1, h0, tu);
|
|
72845
|
+
Ns.static_d_desc = new Ns(Ns.static_dtree, Bt.extra_dbits, 0, Jm, tu);
|
|
72846
72846
|
Ns.static_bl_desc = new Ns(null, Bt.extra_blbits, 0, Ym, Zde);
|
|
72847
72847
|
const npe = 9, ape = 8;
|
|
72848
72848
|
function Sr(i, e, t, s, r) {
|
|
72849
72849
|
const n = this;
|
|
72850
72850
|
n.good_length = i, n.max_lazy = e, n.nice_length = t, n.max_chain = s, n.func = r;
|
|
72851
72851
|
}
|
|
72852
|
-
const S3 = 0,
|
|
72852
|
+
const S3 = 0, nc = 1, Va = 2, rr = [
|
|
72853
72853
|
new Sr(0, 0, 0, 0, S3),
|
|
72854
|
-
new Sr(4, 4, 8, 4,
|
|
72855
|
-
new Sr(4, 5, 16, 8,
|
|
72856
|
-
new Sr(4, 6, 32, 32,
|
|
72854
|
+
new Sr(4, 4, 8, 4, nc),
|
|
72855
|
+
new Sr(4, 5, 16, 8, nc),
|
|
72856
|
+
new Sr(4, 6, 32, 32, nc),
|
|
72857
72857
|
new Sr(4, 4, 16, 16, Va),
|
|
72858
72858
|
new Sr(8, 16, 32, 32, Va),
|
|
72859
72859
|
new Sr(8, 16, 128, 128, Va),
|
|
72860
72860
|
new Sr(8, 32, 128, 256, Va),
|
|
72861
72861
|
new Sr(32, 128, 258, 1024, Va),
|
|
72862
72862
|
new Sr(32, 258, 258, 4096, Va)
|
|
72863
|
-
],
|
|
72863
|
+
], Mh = [
|
|
72864
72864
|
"need dictionary",
|
|
72865
72865
|
// Z_NEED_DICT
|
|
72866
72866
|
// 2
|
|
@@ -72881,7 +72881,7 @@ const S3 = 0, rc = 1, Va = 2, rr = [
|
|
|
72881
72881
|
"",
|
|
72882
72882
|
// Z_VERSION_ERROR (-6)
|
|
72883
72883
|
""
|
|
72884
|
-
], Ni = 0,
|
|
72884
|
+
], Ni = 0, Nh = 1, _l = 2, Fh = 3, ope = 32, Rf = 42, qh = 113, Dl = 666, Af = 8, lpe = 0, Lf = 1, upe = 2, Kt = 3, ac = 258, Vi = ac + Kt + 1;
|
|
72885
72885
|
function E2(i, e, t, s) {
|
|
72886
72886
|
const r = i[e * 2], n = i[t * 2];
|
|
72887
72887
|
return r < n || r == n && s[e] <= s[t];
|
|
@@ -73042,13 +73042,13 @@ function hpe() {
|
|
|
73042
73042
|
if (A += D, D = 0, se = g + ne, (A === 0 || A >= se) && (D = A - se, A = se, Us(!1), e.avail_out === 0) || A - g >= n - Vi && (Us(!1), e.avail_out === 0))
|
|
73043
73043
|
return Ni;
|
|
73044
73044
|
}
|
|
73045
|
-
return Us(K == ui), e.avail_out === 0 ? K == ui ? _l : Ni : K == ui ?
|
|
73045
|
+
return Us(K == ui), e.avail_out === 0 ? K == ui ? _l : Ni : K == ui ? Fh : Nh;
|
|
73046
73046
|
}
|
|
73047
73047
|
function Ps(K) {
|
|
73048
73048
|
let ne = k, se = A, le, ge, Le = T;
|
|
73049
73049
|
const We = A > n - Vi ? A - (n - Vi) : 0;
|
|
73050
73050
|
let ls = F;
|
|
73051
|
-
const Ls = o, Zr = A +
|
|
73051
|
+
const Ls = o, Zr = A + ac;
|
|
73052
73052
|
let eo = l[se + Le - 1], va = l[se + Le];
|
|
73053
73053
|
T >= L && (ne >>= 2), ls > D && (ls = D);
|
|
73054
73054
|
do
|
|
@@ -73057,7 +73057,7 @@ function hpe() {
|
|
|
73057
73057
|
do
|
|
73058
73058
|
;
|
|
73059
73059
|
while (l[++se] == l[++le] && l[++se] == l[++le] && l[++se] == l[++le] && l[++se] == l[++le] && l[++se] == l[++le] && l[++se] == l[++le] && l[++se] == l[++le] && l[++se] == l[++le] && se < Zr);
|
|
73060
|
-
if (ge =
|
|
73060
|
+
if (ge = ac - (Zr - se), se = Zr - ac, ge > Le) {
|
|
73061
73061
|
if (R = K, Le = ge, ge >= ls)
|
|
73062
73062
|
break;
|
|
73063
73063
|
eo = l[se + Le - 1], va = l[se + Le];
|
|
@@ -73075,7 +73075,7 @@ function hpe() {
|
|
|
73075
73075
|
if (D === 0)
|
|
73076
73076
|
break;
|
|
73077
73077
|
}
|
|
73078
|
-
if (D >= Kt && (d = (d << m ^ l[A + (Kt - 1)] & 255) & v, ne = c[d] & 65535, h[A & o] = c[d], c[d] = A), ne !== 0 && (A - ne & 65535) <= n - Vi && H !=
|
|
73078
|
+
if (D >= Kt && (d = (d << m ^ l[A + (Kt - 1)] & 255) & v, ne = c[d] & 65535, h[A & o] = c[d], c[d] = A), ne !== 0 && (A - ne & 65535) <= n - Vi && H != kh && (b = Ps(ne)), b >= Kt)
|
|
73079
73079
|
if (se = et(A - R, b - Kt), D -= b, b <= _ && D >= Kt) {
|
|
73080
73080
|
b--;
|
|
73081
73081
|
do
|
|
@@ -73089,7 +73089,7 @@ function hpe() {
|
|
|
73089
73089
|
if (se && (Us(!1), e.avail_out === 0))
|
|
73090
73090
|
return Ni;
|
|
73091
73091
|
}
|
|
73092
|
-
return Us(K == ui), e.avail_out === 0 ? K == ui ? _l : Ni : K == ui ?
|
|
73092
|
+
return Us(K == ui), e.avail_out === 0 ? K == ui ? _l : Ni : K == ui ? Fh : Nh;
|
|
73093
73093
|
}
|
|
73094
73094
|
function Mi(K) {
|
|
73095
73095
|
let ne = 0, se, le;
|
|
@@ -73100,7 +73100,7 @@ function hpe() {
|
|
|
73100
73100
|
if (D === 0)
|
|
73101
73101
|
break;
|
|
73102
73102
|
}
|
|
73103
|
-
if (D >= Kt && (d = (d << m ^ l[A + (Kt - 1)] & 255) & v, ne = c[d] & 65535, h[A & o] = c[d], c[d] = A), T = b, x = R, b = Kt - 1, ne !== 0 && T < _ && (A - ne & 65535) <= n - Vi && (H !=
|
|
73103
|
+
if (D >= Kt && (d = (d << m ^ l[A + (Kt - 1)] & 255) & v, ne = c[d] & 65535, h[A & o] = c[d], c[d] = A), T = b, x = R, b = Kt - 1, ne !== 0 && T < _ && (A - ne & 65535) <= n - Vi && (H != kh && (b = Ps(ne)), b <= 5 && (H == Jde || b == Kt && A - R > 4096) && (b = Kt - 1)), T >= Kt && b <= T) {
|
|
73104
73104
|
le = A + D - Kt, se = et(A - 1 - x, T - Kt), D -= T - 1, T -= 2;
|
|
73105
73105
|
do
|
|
73106
73106
|
++A <= le && (d = (d << m ^ l[A + (Kt - 1)] & 255) & v, ne = c[d] & 65535, h[A & o] = c[d], c[d] = A);
|
|
@@ -73113,18 +73113,18 @@ function hpe() {
|
|
|
73113
73113
|
} else
|
|
73114
73114
|
I = 1, A++, D--;
|
|
73115
73115
|
}
|
|
73116
|
-
return I !== 0 && (se = et(0, l[A - 1] & 255), I = 0), Us(K == ui), e.avail_out === 0 ? K == ui ? _l : Ni : K == ui ?
|
|
73116
|
+
return I !== 0 && (se = et(0, l[A - 1] & 255), I = 0), Us(K == ui), e.avail_out === 0 ? K == ui ? _l : Ni : K == ui ? Fh : Nh;
|
|
73117
73117
|
}
|
|
73118
73118
|
function zs(K) {
|
|
73119
|
-
return K.total_in = K.total_out = 0, K.msg = null, i.pending = 0, i.pending_out = 0, t =
|
|
73119
|
+
return K.total_in = K.total_out = 0, K.msg = null, i.pending = 0, i.pending_out = 0, t = qh, r = vo, Ct(), ce(), ar;
|
|
73120
73120
|
}
|
|
73121
73121
|
i.deflateInit = function(K, ne, se, le, ge, Le) {
|
|
73122
|
-
return le || (le = Af), ge || (ge = ape), Le || (Le = Yde), K.msg = null, ne == $c && (ne = 6), ge < 1 || ge > npe || le != Af || se < 9 || se > 15 || ne < 0 || ne > 9 || Le < 0 || Le >
|
|
73122
|
+
return le || (le = Af), ge || (ge = ape), Le || (Le = Yde), K.msg = null, ne == $c && (ne = 6), ge < 1 || ge > npe || le != Af || se < 9 || se > 15 || ne < 0 || ne > 9 || Le < 0 || Le > kh ? hr : (K.dstate = i, a = se, n = 1 << a, o = n - 1, y = ge + 7, f = 1 << y, v = f - 1, m = Math.floor((y + Kt - 1) / Kt), l = new Uint8Array(n * 2), h = [], c = [], oe = 1 << ge + 6, i.pending_buf = new Uint8Array(oe * 4), s = oe * 4, i.dist_buf = new Uint16Array(oe), i.lc_buf = new Uint8Array(oe), B = ne, H = Le, zs(K));
|
|
73123
73123
|
}, i.deflateEnd = function() {
|
|
73124
|
-
return t != Rf && t !=
|
|
73124
|
+
return t != Rf && t != qh && t != Dl ? hr : (i.lc_buf = null, i.dist_buf = null, i.pending_buf = null, c = null, h = null, l = null, i.dstate = null, t == qh ? epe : ar);
|
|
73125
73125
|
}, i.deflateParams = function(K, ne, se) {
|
|
73126
73126
|
let le = ar;
|
|
73127
|
-
return ne == $c && (ne = 6), ne < 0 || ne > 9 || se < 0 || se >
|
|
73127
|
+
return ne == $c && (ne = 6), ne < 0 || ne > 9 || se < 0 || se > kh ? hr : (rr[B].func != rr[ne].func && K.total_in !== 0 && (le = K.deflate(w2)), B != ne && (B = ne, _ = rr[B].max_lazy, L = rr[B].good_length, F = rr[B].nice_length, k = rr[B].max_chain), H = se, le);
|
|
73128
73128
|
}, i.deflateSetDictionary = function(K, ne, se) {
|
|
73129
73129
|
let le = se, ge, Le = 0;
|
|
73130
73130
|
if (!ne || t != Rf)
|
|
@@ -73139,31 +73139,31 @@ function hpe() {
|
|
|
73139
73139
|
if (ne > ui || ne < 0)
|
|
73140
73140
|
return hr;
|
|
73141
73141
|
if (!K.next_out || !K.next_in && K.avail_in !== 0 || t == Dl && ne != ui)
|
|
73142
|
-
return K.msg = Oh
|
|
73142
|
+
return K.msg = Mh[Oh - hr], hr;
|
|
73143
73143
|
if (K.avail_out === 0)
|
|
73144
|
-
return K.msg = Oh
|
|
73145
|
-
if (e = K, Le = r, r = ne, t == Rf && (le = Af + (a - 8 << 4) << 8, ge = (B - 1 & 255) >> 1, ge > 3 && (ge = 3), le |= ge << 6, A !== 0 && (le |= ope), le += 31 - le % 31, t =
|
|
73144
|
+
return K.msg = Mh[Oh - fo], fo;
|
|
73145
|
+
if (e = K, Le = r, r = ne, t == Rf && (le = Af + (a - 8 << 4) << 8, ge = (B - 1 & 255) >> 1, ge > 3 && (ge = 3), le |= ge << 6, A !== 0 && (le |= ope), le += 31 - le % 31, t = qh, xs(le)), i.pending !== 0) {
|
|
73146
73146
|
if (e.flush_pending(), e.avail_out === 0)
|
|
73147
73147
|
return r = -1, ar;
|
|
73148
73148
|
} else if (e.avail_in === 0 && ne <= Le && ne != ui)
|
|
73149
|
-
return e.msg = Oh
|
|
73149
|
+
return e.msg = Mh[Oh - fo], fo;
|
|
73150
73150
|
if (t == Dl && e.avail_in !== 0)
|
|
73151
|
-
return K.msg = Oh
|
|
73151
|
+
return K.msg = Mh[Oh - fo], fo;
|
|
73152
73152
|
if (e.avail_in !== 0 || D !== 0 || ne != vo && t != Dl) {
|
|
73153
73153
|
switch (We = -1, rr[B].func) {
|
|
73154
73154
|
case S3:
|
|
73155
73155
|
We = Es(ne);
|
|
73156
73156
|
break;
|
|
73157
|
-
case
|
|
73157
|
+
case nc:
|
|
73158
73158
|
We = js(ne);
|
|
73159
73159
|
break;
|
|
73160
73160
|
case Va:
|
|
73161
73161
|
We = Mi(ne);
|
|
73162
73162
|
break;
|
|
73163
73163
|
}
|
|
73164
|
-
if ((We == _l || We ==
|
|
73164
|
+
if ((We == _l || We == Fh) && (t = Dl), We == Ni || We == _l)
|
|
73165
73165
|
return e.avail_out === 0 && (r = -1), ar;
|
|
73166
|
-
if (We ==
|
|
73166
|
+
if (We == Nh) {
|
|
73167
73167
|
if (ne == w2)
|
|
73168
73168
|
Ae();
|
|
73169
73169
|
else if (os(0, 0, !1), ne == Xde)
|
|
@@ -73183,7 +73183,7 @@ function T3() {
|
|
|
73183
73183
|
T3.prototype = {
|
|
73184
73184
|
deflateInit(i, e) {
|
|
73185
73185
|
const t = this;
|
|
73186
|
-
return t.dstate = new hpe(), e || (e =
|
|
73186
|
+
return t.dstate = new hpe(), e || (e = tu), t.dstate.deflateInit(t, i, e);
|
|
73187
73187
|
},
|
|
73188
73188
|
deflate(i) {
|
|
73189
73189
|
const e = this;
|
|
@@ -75114,7 +75114,7 @@ function Xm() {
|
|
|
75114
75114
|
Xm.inflate_trees_fixed = function(i, e, t, s) {
|
|
75115
75115
|
return i[0] = vpe, e[0] = ype, t[0] = Cpe, s[0] = bpe, gt;
|
|
75116
75116
|
};
|
|
75117
|
-
const
|
|
75117
|
+
const Bh = 0, S2 = 1, T2 = 2, I2 = 3, P2 = 4, R2 = 5, A2 = 6, _f = 7, L2 = 8, $h = 9;
|
|
75118
75118
|
function Spe() {
|
|
75119
75119
|
const i = this;
|
|
75120
75120
|
let e, t = 0, s, r = 0, n = 0, a = 0, o = 0, l = 0, u = 0, h = 0, c, d = 0, f, y = 0;
|
|
@@ -75182,16 +75182,16 @@ function Spe() {
|
|
|
75182
75182
|
return J = D.avail_in - $, J = L >> 3 < J ? L >> 3 : J, $ += J, F -= J, L -= J << 3, R.bitb = H, R.bitk = L, D.avail_in = $, D.total_in += F - D.next_in_index, D.next_in_index = F, R.write = Q, gt;
|
|
75183
75183
|
}
|
|
75184
75184
|
i.init = function(m, g, b, x, I, A) {
|
|
75185
|
-
e =
|
|
75185
|
+
e = Bh, u = /* (byte) */
|
|
75186
75186
|
m, h = /* (byte) */
|
|
75187
75187
|
g, c = b, d = x, f = I, y = A, s = null;
|
|
75188
75188
|
}, i.proc = function(m, g, b) {
|
|
75189
75189
|
let x, I, A, R = 0, D = 0, T = 0, k, _, B, H;
|
|
75190
75190
|
for (T = g.next_in_index, k = g.avail_in, R = m.bitb, D = m.bitk, _ = m.write, B = _ < m.read ? m.read - _ - 1 : m.end - _; ; )
|
|
75191
75191
|
switch (e) {
|
|
75192
|
-
case
|
|
75192
|
+
case Bh:
|
|
75193
75193
|
if (B >= 258 && k >= 10 && (m.bitb = R, m.bitk = D, g.avail_in = k, g.total_in += T - g.next_in_index, g.next_in_index = T, m.write = _, b = v(u, h, c, d, f, y, m, g), T = g.next_in_index, k = g.avail_in, R = m.bitb, D = m.bitk, _ = m.write, B = _ < m.read ? m.read - _ - 1 : m.end - _, b != gt)) {
|
|
75194
|
-
e = b == pn ? _f :
|
|
75194
|
+
e = b == pn ? _f : $h;
|
|
75195
75195
|
break;
|
|
75196
75196
|
}
|
|
75197
75197
|
n = u, s = c, r = d, e = S2;
|
|
@@ -75219,7 +75219,7 @@ function Spe() {
|
|
|
75219
75219
|
e = _f;
|
|
75220
75220
|
break;
|
|
75221
75221
|
}
|
|
75222
|
-
return e =
|
|
75222
|
+
return e = $h, g.msg = "invalid literal/length code", b = $t, m.bitb = R, m.bitk = D, g.avail_in = k, g.total_in += T - g.next_in_index, g.next_in_index = T, m.write = _, m.inflate_flush(g, b);
|
|
75223
75223
|
case T2:
|
|
75224
75224
|
for (x = o; D < x; ) {
|
|
75225
75225
|
if (k !== 0)
|
|
@@ -75245,7 +75245,7 @@ function Spe() {
|
|
|
75245
75245
|
n = A, r = I / 3 + s[I + 2];
|
|
75246
75246
|
break;
|
|
75247
75247
|
}
|
|
75248
|
-
return e =
|
|
75248
|
+
return e = $h, g.msg = "invalid distance code", b = $t, m.bitb = R, m.bitk = D, g.avail_in = k, g.total_in += T - g.next_in_index, g.next_in_index = T, m.write = _, m.inflate_flush(g, b);
|
|
75249
75249
|
case P2:
|
|
75250
75250
|
for (x = o; D < x; ) {
|
|
75251
75251
|
if (k !== 0)
|
|
@@ -75263,13 +75263,13 @@ function Spe() {
|
|
|
75263
75263
|
return m.bitb = R, m.bitk = D, g.avail_in = k, g.total_in += T - g.next_in_index, g.next_in_index = T, m.write = _, m.inflate_flush(g, b);
|
|
75264
75264
|
m.win[_++] = m.win[H++], B--, H == m.end && (H = 0), t--;
|
|
75265
75265
|
}
|
|
75266
|
-
e =
|
|
75266
|
+
e = Bh;
|
|
75267
75267
|
break;
|
|
75268
75268
|
case A2:
|
|
75269
75269
|
if (B === 0 && (_ == m.end && m.read !== 0 && (_ = 0, B = _ < m.read ? m.read - _ - 1 : m.end - _), B === 0 && (m.write = _, b = m.inflate_flush(g, b), _ = m.write, B = _ < m.read ? m.read - _ - 1 : m.end - _, _ == m.end && m.read !== 0 && (_ = 0, B = _ < m.read ? m.read - _ - 1 : m.end - _), B === 0)))
|
|
75270
75270
|
return m.bitb = R, m.bitk = D, g.avail_in = k, g.total_in += T - g.next_in_index, g.next_in_index = T, m.write = _, m.inflate_flush(g, b);
|
|
75271
75271
|
b = gt, m.win[_++] = /* (byte) */
|
|
75272
|
-
a, B--, e =
|
|
75272
|
+
a, B--, e = Bh;
|
|
75273
75273
|
break;
|
|
75274
75274
|
case _f:
|
|
75275
75275
|
if (D > 7 && (D -= 8, k++, T--), m.write = _, b = m.inflate_flush(g, b), _ = m.write, B = _ < m.read ? m.read - _ - 1 : m.end - _, m.read != m.write)
|
|
@@ -75277,7 +75277,7 @@ function Spe() {
|
|
|
75277
75277
|
e = L2;
|
|
75278
75278
|
case L2:
|
|
75279
75279
|
return b = pn, m.bitb = R, m.bitk = D, g.avail_in = k, g.total_in += T - g.next_in_index, g.next_in_index = T, m.write = _, m.inflate_flush(g, b);
|
|
75280
|
-
case
|
|
75280
|
+
case $h:
|
|
75281
75281
|
return b = $t, m.bitb = R, m.bitk = D, g.avail_in = k, g.total_in += T - g.next_in_index, g.next_in_index = T, m.write = _, m.inflate_flush(g, b);
|
|
75282
75282
|
default:
|
|
75283
75283
|
return b = pi, m.bitb = R, m.bitk = D, g.avail_in = k, g.total_in += T - g.next_in_index, g.next_in_index = T, m.write = _, m.inflate_flush(g, b);
|
|
@@ -75306,7 +75306,7 @@ const _2 = [
|
|
|
75306
75306
|
14,
|
|
75307
75307
|
1,
|
|
75308
75308
|
15
|
|
75309
|
-
], mo = 0, Df = 1, D2 = 2, k2 = 3, O2 = 4, M2 = 5,
|
|
75309
|
+
], mo = 0, Df = 1, D2 = 2, k2 = 3, O2 = 4, M2 = 5, Hh = 6, Qh = 7, N2 = 8, wa = 9;
|
|
75310
75310
|
function Tpe(i, e) {
|
|
75311
75311
|
const t = this;
|
|
75312
75312
|
let s = mo, r = 0, n = 0, a = 0, o;
|
|
@@ -75314,7 +75314,7 @@ function Tpe(i, e) {
|
|
|
75314
75314
|
let c = 0, d = new Int32Array(I3 * 3);
|
|
75315
75315
|
const f = 0, y = new Xm();
|
|
75316
75316
|
t.bitk = 0, t.bitb = 0, t.win = new Uint8Array(e), t.end = e, t.read = 0, t.write = 0, t.reset = function(v, m) {
|
|
75317
|
-
m && (m[0] = f), s ==
|
|
75317
|
+
m && (m[0] = f), s == Hh && h.free(v), s = mo, t.bitk = 0, t.bitb = 0, t.read = t.write = 0;
|
|
75318
75318
|
}, t.reset(i, null), t.inflate_flush = function(v, m) {
|
|
75319
75319
|
let g, b, x;
|
|
75320
75320
|
return b = v.next_out_index, x = t.read, g = /* (int) */
|
|
@@ -75339,7 +75339,7 @@ function Tpe(i, e) {
|
|
|
75339
75339
|
b >>>= 3, x -= 3, g = x & 7, b >>>= g, x -= g, s = Df;
|
|
75340
75340
|
break;
|
|
75341
75341
|
case 1:
|
|
75342
|
-
k = [], _ = [], B = [[]], H = [[]], Xm.inflate_trees_fixed(k, _, B, H), h.init(k[0], _[0], B[0], 0, H[0], 0), b >>>= 3, x -= 3, s =
|
|
75342
|
+
k = [], _ = [], B = [[]], H = [[]], Xm.inflate_trees_fixed(k, _, B, H), h.init(k[0], _[0], B[0], 0, H[0], 0), b >>>= 3, x -= 3, s = Hh;
|
|
75343
75343
|
break;
|
|
75344
75344
|
case 2:
|
|
75345
75345
|
b >>>= 3, x -= 3, s = k2;
|
|
@@ -75358,7 +75358,7 @@ function Tpe(i, e) {
|
|
|
75358
75358
|
}
|
|
75359
75359
|
if ((~b >>> 16 & 65535) != (b & 65535))
|
|
75360
75360
|
return s = wa, v.msg = "invalid stored block lengths", m = $t, t.bitb = b, t.bitk = x, v.avail_in = A, v.total_in += I - v.next_in_index, v.next_in_index = I, t.write = R, t.inflate_flush(v, m);
|
|
75361
|
-
r = b & 65535, b = x = 0, s = r !== 0 ? D2 : c !== 0 ?
|
|
75361
|
+
r = b & 65535, b = x = 0, s = r !== 0 ? D2 : c !== 0 ? Qh : mo;
|
|
75362
75362
|
break;
|
|
75363
75363
|
case D2:
|
|
75364
75364
|
if (A === 0 || D === 0 && (R == t.end && t.read !== 0 && (R = 0, D = /* (int) */
|
|
@@ -75368,7 +75368,7 @@ function Tpe(i, e) {
|
|
|
75368
75368
|
return t.bitb = b, t.bitk = x, v.avail_in = A, v.total_in += I - v.next_in_index, v.next_in_index = I, t.write = R, t.inflate_flush(v, m);
|
|
75369
75369
|
if (m = gt, g = r, g > A && (g = A), g > D && (g = D), t.win.set(v.read_buf(I, g), R), I += g, A -= g, R += g, D -= g, (r -= g) !== 0)
|
|
75370
75370
|
break;
|
|
75371
|
-
s = c !== 0 ?
|
|
75371
|
+
s = c !== 0 ? Qh : mo;
|
|
75372
75372
|
break;
|
|
75373
75373
|
case k2:
|
|
75374
75374
|
for (; x < 14; ) {
|
|
@@ -75433,8 +75433,8 @@ function Tpe(i, e) {
|
|
|
75433
75433
|
}
|
|
75434
75434
|
if (u[0] = -1, L = [], F = [], $ = [], Q = [], L[0] = 9, F[0] = 6, g = n, g = y.inflate_trees_dynamic(257 + (g & 31), 1 + (g >> 5 & 31), o, L, F, $, Q, d, v), g != gt)
|
|
75435
75435
|
return g == $t && (o = null, s = wa), m = g, t.bitb = b, t.bitk = x, v.avail_in = A, v.total_in += I - v.next_in_index, v.next_in_index = I, t.write = R, t.inflate_flush(v, m);
|
|
75436
|
-
h.init(L[0], F[0], d, $[0], d, Q[0]), s =
|
|
75437
|
-
case
|
|
75436
|
+
h.init(L[0], F[0], d, $[0], d, Q[0]), s = Hh;
|
|
75437
|
+
case Hh:
|
|
75438
75438
|
if (t.bitb = b, t.bitk = x, v.avail_in = A, v.total_in += I - v.next_in_index, v.next_in_index = I, t.write = R, (m = h.proc(t, v, m)) != pn)
|
|
75439
75439
|
return t.inflate_flush(v, m);
|
|
75440
75440
|
if (m = gt, h.free(v), I = v.next_in_index, A = v.avail_in, b = t.bitb, x = t.bitk, R = t.write, D = /* (int) */
|
|
@@ -75442,8 +75442,8 @@ function Tpe(i, e) {
|
|
|
75442
75442
|
s = mo;
|
|
75443
75443
|
break;
|
|
75444
75444
|
}
|
|
75445
|
-
s =
|
|
75446
|
-
case
|
|
75445
|
+
s = Qh;
|
|
75446
|
+
case Qh:
|
|
75447
75447
|
if (t.write = R, m = t.inflate_flush(v, m), R = t.write, D = /* (int) */
|
|
75448
75448
|
R < t.read ? t.read - R - 1 : t.end - R, t.read != t.write)
|
|
75449
75449
|
return t.bitb = b, t.bitk = x, v.avail_in = A, v.total_in += I - v.next_in_index, v.next_in_index = I, t.write = R, t.inflate_flush(v, m);
|
|
@@ -75616,7 +75616,7 @@ function _pe(i) {
|
|
|
75616
75616
|
t.inflateEnd();
|
|
75617
75617
|
};
|
|
75618
75618
|
}
|
|
75619
|
-
const gi = 4294967295, fi = 65535, U2 = 8, Dpe = 0, kpe = 99, Ope = 67324752, R3 = 134695760, Mpe = R3, Npe = 33639248, Fpe = 101010256, qpe = 101075792, Bpe = 117853008, eg = 22, A3 = 20, L3 = 56, $pe = eg + A3 + L3, Hpe = 1, Qpe = 39169, Upe = 10, jpe = 1, _3 = 21589, zpe = 6534, Wpe = 1, Gpe = 8, Kpe = 2048, Zpe = 16, Jpe = 20, j2 = 45, z2 = 51, Of = "/", W2 = new Date(2107, 11, 31), G2 = new Date(1980, 0, 1), Ht = void 0, aa = "undefined",
|
|
75619
|
+
const gi = 4294967295, fi = 65535, U2 = 8, Dpe = 0, kpe = 99, Ope = 67324752, R3 = 134695760, Mpe = R3, Npe = 33639248, Fpe = 101010256, qpe = 101075792, Bpe = 117853008, eg = 22, A3 = 20, L3 = 56, $pe = eg + A3 + L3, Hpe = 1, Qpe = 39169, Upe = 10, jpe = 1, _3 = 21589, zpe = 6534, Wpe = 1, Gpe = 8, Kpe = 2048, Zpe = 16, Jpe = 20, j2 = 45, z2 = 51, Of = "/", W2 = new Date(2107, 11, 31), G2 = new Date(1980, 0, 1), Ht = void 0, aa = "undefined", qu = "function";
|
|
75620
75620
|
class K2 {
|
|
75621
75621
|
constructor(e) {
|
|
75622
75622
|
return class extends TransformStream {
|
|
@@ -77318,7 +77318,7 @@ class O3 extends TransformStream {
|
|
|
77318
77318
|
}), e = this;
|
|
77319
77319
|
}
|
|
77320
77320
|
}
|
|
77321
|
-
function
|
|
77321
|
+
function oc(i) {
|
|
77322
77322
|
if (typeof TextEncoder == aa) {
|
|
77323
77323
|
i = unescape(encodeURIComponent(i));
|
|
77324
77324
|
const e = new Uint8Array(i.length);
|
|
@@ -77692,12 +77692,12 @@ za.hmacSha1 = class {
|
|
|
77692
77692
|
return this.update(i), this.digest(i);
|
|
77693
77693
|
}
|
|
77694
77694
|
};
|
|
77695
|
-
const ife = typeof crypto != aa && typeof crypto.getRandomValues ==
|
|
77695
|
+
const ife = typeof crypto != aa && typeof crypto.getRandomValues == qu, q3 = "Invalid password", B3 = "Invalid signature", $3 = "zipjs-abort-check-password";
|
|
77696
77696
|
function H3(i) {
|
|
77697
77697
|
return ife ? crypto.getRandomValues(i) : sfe.getRandomValues(i);
|
|
77698
77698
|
}
|
|
77699
|
-
const bo = 16, rfe = "raw", Q3 = { name: "PBKDF2" }, nfe = { name: "HMAC" }, afe = "SHA-1", ofe = Object.assign({ hash: nfe }, Q3), sg = Object.assign({ iterations: 1e3, hash: { name: afe } }, Q3), lfe = ["deriveBits"],
|
|
77700
|
-
let Z2 = rp && U3 && typeof
|
|
77699
|
+
const bo = 16, rfe = "raw", Q3 = { name: "PBKDF2" }, nfe = { name: "HMAC" }, afe = "SHA-1", ofe = Object.assign({ hash: nfe }, Q3), sg = Object.assign({ iterations: 1e3, hash: { name: afe } }, Q3), lfe = ["deriveBits"], su = [8, 12, 16], Ol = [16, 24, 32], Mn = 10, ufe = [0, 0, 0, 0], rp = typeof crypto != aa, Bu = rp && crypto.subtle, U3 = rp && typeof Bu != aa, Nr = Hc.bytes, hfe = N3.aes, cfe = F3.ctrGladman, dfe = za.hmacSha1;
|
|
77700
|
+
let Z2 = rp && U3 && typeof Bu.importKey == qu, J2 = rp && U3 && typeof Bu.deriveBits == qu;
|
|
77701
77701
|
class pfe extends TransformStream {
|
|
77702
77702
|
constructor({ password: e, rawPassword: t, signed: s, encryptionStrength: r, checkPasswordOnly: n }) {
|
|
77703
77703
|
super({
|
|
@@ -77717,7 +77717,7 @@ class pfe extends TransformStream {
|
|
|
77717
77717
|
resolveReady: c,
|
|
77718
77718
|
ready: d
|
|
77719
77719
|
} = l;
|
|
77720
|
-
u ? (await mfe(l, h, u, Hi(a, 0,
|
|
77720
|
+
u ? (await mfe(l, h, u, Hi(a, 0, su[h] + 2)), a = Hi(a, su[h] + 2), n ? o.error(new Error($3)) : c()) : await d;
|
|
77721
77721
|
const f = new Uint8Array(a.length - Mn - (a.length - Mn) % bo);
|
|
77722
77722
|
o.enqueue(j3(l, a, f, 0, Mn, !0));
|
|
77723
77723
|
},
|
|
@@ -77734,13 +77734,13 @@ class pfe extends TransformStream {
|
|
|
77734
77734
|
const d = Hi(h, 0, h.length - Mn), f = Hi(h, h.length - Mn);
|
|
77735
77735
|
let y = new Uint8Array();
|
|
77736
77736
|
if (d.length) {
|
|
77737
|
-
const v =
|
|
77737
|
+
const v = ru(Nr, d);
|
|
77738
77738
|
u.update(v);
|
|
77739
77739
|
const m = l.update(v);
|
|
77740
|
-
y =
|
|
77740
|
+
y = iu(Nr, m);
|
|
77741
77741
|
}
|
|
77742
77742
|
if (o) {
|
|
77743
|
-
const v = Hi(
|
|
77743
|
+
const v = Hi(iu(Nr, u.digest()), 0, Mn);
|
|
77744
77744
|
for (let m = 0; m < Mn; m++)
|
|
77745
77745
|
if (v[m] != f[m])
|
|
77746
77746
|
throw new Error(B3);
|
|
@@ -77786,10 +77786,10 @@ class ffe extends TransformStream {
|
|
|
77786
77786
|
await u;
|
|
77787
77787
|
let h = new Uint8Array();
|
|
77788
77788
|
if (l.length) {
|
|
77789
|
-
const c = a.update(
|
|
77790
|
-
o.update(c), h =
|
|
77789
|
+
const c = a.update(ru(Nr, l));
|
|
77790
|
+
o.update(c), h = iu(Nr, c);
|
|
77791
77791
|
}
|
|
77792
|
-
r.signature =
|
|
77792
|
+
r.signature = iu(Nr, o.digest()).slice(0, Mn), n.enqueue(d0(h, r.signature));
|
|
77793
77793
|
}
|
|
77794
77794
|
}
|
|
77795
77795
|
}), r = this;
|
|
@@ -77804,25 +77804,25 @@ function j3(i, e, t, s, r, n) {
|
|
|
77804
77804
|
l.length && (e = d0(l, e), t = Cfe(t, u - u % bo));
|
|
77805
77805
|
let h;
|
|
77806
77806
|
for (h = 0; h <= u - bo; h += bo) {
|
|
77807
|
-
const c =
|
|
77807
|
+
const c = ru(Nr, Hi(e, h, h + bo));
|
|
77808
77808
|
n && o.update(c);
|
|
77809
77809
|
const d = a.update(c);
|
|
77810
|
-
n || o.update(d), t.set(
|
|
77810
|
+
n || o.update(d), t.set(iu(Nr, d), h + s);
|
|
77811
77811
|
}
|
|
77812
77812
|
return i.pending = Hi(e, h), t;
|
|
77813
77813
|
}
|
|
77814
77814
|
async function mfe(i, e, t, s) {
|
|
77815
|
-
const r = await z3(i, e, t, Hi(s, 0,
|
|
77815
|
+
const r = await z3(i, e, t, Hi(s, 0, su[e])), n = Hi(s, su[e]);
|
|
77816
77816
|
if (r[0] != n[0] || r[1] != n[1])
|
|
77817
77817
|
throw new Error(q3);
|
|
77818
77818
|
}
|
|
77819
77819
|
async function gfe(i, e, t) {
|
|
77820
|
-
const s = H3(new Uint8Array(
|
|
77820
|
+
const s = H3(new Uint8Array(su[e])), r = await z3(i, e, t, s);
|
|
77821
77821
|
return d0(s, r);
|
|
77822
77822
|
}
|
|
77823
77823
|
async function z3(i, e, t, s) {
|
|
77824
77824
|
i.password = null;
|
|
77825
|
-
const r = await vfe(rfe, t, ofe, !1, lfe), n = await yfe(Object.assign({ salt: s }, sg), r, 8 * (Ol[e] * 2 + 2)), a = new Uint8Array(n), o =
|
|
77825
|
+
const r = await vfe(rfe, t, ofe, !1, lfe), n = await yfe(Object.assign({ salt: s }, sg), r, 8 * (Ol[e] * 2 + 2)), a = new Uint8Array(n), o = ru(Nr, Hi(a, 0, Ol[e])), l = ru(Nr, Hi(a, Ol[e], Ol[e] * 2)), u = Hi(a, Ol[e] * 2);
|
|
77826
77826
|
return Object.assign(i, {
|
|
77827
77827
|
keys: {
|
|
77828
77828
|
key: o,
|
|
@@ -77836,7 +77836,7 @@ async function z3(i, e, t, s) {
|
|
|
77836
77836
|
async function vfe(i, e, t, s, r) {
|
|
77837
77837
|
if (Z2)
|
|
77838
77838
|
try {
|
|
77839
|
-
return await
|
|
77839
|
+
return await Bu.importKey(i, e, t, s, r);
|
|
77840
77840
|
} catch {
|
|
77841
77841
|
return Z2 = !1, za.importKey(e);
|
|
77842
77842
|
}
|
|
@@ -77846,7 +77846,7 @@ async function vfe(i, e, t, s, r) {
|
|
|
77846
77846
|
async function yfe(i, e, t) {
|
|
77847
77847
|
if (J2)
|
|
77848
77848
|
try {
|
|
77849
|
-
return await
|
|
77849
|
+
return await Bu.deriveBits(i, e, t);
|
|
77850
77850
|
} catch {
|
|
77851
77851
|
return J2 = !1, za.pbkdf2(e, i.salt, sg.iterations, t);
|
|
77852
77852
|
}
|
|
@@ -77854,7 +77854,7 @@ async function yfe(i, e, t) {
|
|
|
77854
77854
|
return za.pbkdf2(e, i.salt, sg.iterations, t);
|
|
77855
77855
|
}
|
|
77856
77856
|
function W3(i, e) {
|
|
77857
|
-
return e === Ht ?
|
|
77857
|
+
return e === Ht ? oc(i) : e;
|
|
77858
77858
|
}
|
|
77859
77859
|
function d0(i, e) {
|
|
77860
77860
|
let t = i;
|
|
@@ -77870,10 +77870,10 @@ function Cfe(i, e) {
|
|
|
77870
77870
|
function Hi(i, e, t) {
|
|
77871
77871
|
return i.subarray(e, t);
|
|
77872
77872
|
}
|
|
77873
|
-
function
|
|
77873
|
+
function iu(i, e) {
|
|
77874
77874
|
return i.fromBits(e);
|
|
77875
77875
|
}
|
|
77876
|
-
function
|
|
77876
|
+
function ru(i, e) {
|
|
77877
77877
|
return i.toBits(e);
|
|
77878
77878
|
}
|
|
77879
77879
|
const Po = 12;
|
|
@@ -78171,7 +78171,7 @@ async function kfe(i, e) {
|
|
|
78171
78171
|
rejectResult: s,
|
|
78172
78172
|
result: r
|
|
78173
78173
|
});
|
|
78174
|
-
const { readable: n, options: a, scripts: o } = i, { writable: l, closed: u } = Ofe(i.writable), h =
|
|
78174
|
+
const { readable: n, options: a, scripts: o } = i, { writable: l, closed: u } = Ofe(i.writable), h = lc({
|
|
78175
78175
|
type: Sfe,
|
|
78176
78176
|
scripts: o.slice(1),
|
|
78177
78177
|
options: a,
|
|
@@ -78206,7 +78206,7 @@ let rw = !0, nw = !0;
|
|
|
78206
78206
|
function Mfe(i, e, t) {
|
|
78207
78207
|
const s = { type: "module" };
|
|
78208
78208
|
let r, n;
|
|
78209
|
-
typeof i ==
|
|
78209
|
+
typeof i == qu && (i = i());
|
|
78210
78210
|
try {
|
|
78211
78211
|
r = new URL(i, e);
|
|
78212
78212
|
} catch {
|
|
@@ -78222,7 +78222,7 @@ function Mfe(i, e, t) {
|
|
|
78222
78222
|
n = new Worker(r, s);
|
|
78223
78223
|
return n.addEventListener(Vfe, (a) => Nfe(a, t)), n;
|
|
78224
78224
|
}
|
|
78225
|
-
function
|
|
78225
|
+
function lc(i, { worker: e, writer: t, onTaskFinished: s, transferStreams: r }) {
|
|
78226
78226
|
try {
|
|
78227
78227
|
let { value: n, readable: a, writable: o } = i;
|
|
78228
78228
|
const l = [];
|
|
@@ -78247,12 +78247,12 @@ async function Nfe({ data: i }, e) {
|
|
|
78247
78247
|
} else {
|
|
78248
78248
|
if (t == Tfe) {
|
|
78249
78249
|
const { value: f, done: y } = await o.read();
|
|
78250
|
-
|
|
78250
|
+
lc({ type: sw, value: f, done: y, messageId: r }, e);
|
|
78251
78251
|
}
|
|
78252
|
-
t == sw && (await l.ready, await l.write(new Uint8Array(s)),
|
|
78252
|
+
t == sw && (await l.ready, await l.write(new Uint8Array(s)), lc({ type: Ife, messageId: r }, e)), t == iw && d(null, n);
|
|
78253
78253
|
}
|
|
78254
78254
|
} catch (f) {
|
|
78255
|
-
|
|
78255
|
+
lc({ type: iw, messageId: r }, e), d(f);
|
|
78256
78256
|
}
|
|
78257
78257
|
function d(f, y) {
|
|
78258
78258
|
f ? h(f) : u(y), l && l.releaseLock(), c();
|
|
@@ -78405,7 +78405,7 @@ class lw extends f0 {
|
|
|
78405
78405
|
const { value: d, done: f } = await e.next();
|
|
78406
78406
|
if (f && !d)
|
|
78407
78407
|
throw new Error($fe);
|
|
78408
|
-
r = d, r.size = 0, r.maxSize && (s.maxSize = r.maxSize), s.availableSize = s.maxSize, await
|
|
78408
|
+
r = d, r.size = 0, r.maxSize && (s.maxSize = r.maxSize), s.availableSize = s.maxSize, await nu(r), n = d.writable, a = n.getWriter(), await this.write(h);
|
|
78409
78409
|
}
|
|
78410
78410
|
},
|
|
78411
78411
|
async close() {
|
|
@@ -78426,7 +78426,7 @@ class lw extends f0 {
|
|
|
78426
78426
|
}
|
|
78427
78427
|
}
|
|
78428
78428
|
}
|
|
78429
|
-
async function
|
|
78429
|
+
async function nu(i, e) {
|
|
78430
78430
|
if (i.init && !i.initialized)
|
|
78431
78431
|
await i.init(e);
|
|
78432
78432
|
else
|
|
@@ -78438,7 +78438,7 @@ function Kfe(i) {
|
|
|
78438
78438
|
}), i;
|
|
78439
78439
|
}
|
|
78440
78440
|
function Zfe(i) {
|
|
78441
|
-
i.writable === Ht && typeof i.next ==
|
|
78441
|
+
i.writable === Ht && typeof i.next == qu && (i = new lw(i)), i instanceof WritableStream && (i = {
|
|
78442
78442
|
writable: i
|
|
78443
78443
|
});
|
|
78444
78444
|
const { writable: e } = i;
|
|
@@ -78544,13 +78544,13 @@ class mme {
|
|
|
78544
78544
|
}
|
|
78545
78545
|
async function gme(i, e, t, s) {
|
|
78546
78546
|
e = e.trim(), s.directory && !e.endsWith(Of) ? e += Of : s.directory = e.endsWith(Of);
|
|
78547
|
-
const r = Et(i, s, "encodeText",
|
|
78547
|
+
const r = Et(i, s, "encodeText", oc);
|
|
78548
78548
|
let n = r(e);
|
|
78549
|
-
if (n === Ht && (n =
|
|
78549
|
+
if (n === Ht && (n = oc(e)), ot(n) > fi)
|
|
78550
78550
|
throw new Error(hme);
|
|
78551
78551
|
const a = s.comment || "";
|
|
78552
78552
|
let o = r(a);
|
|
78553
|
-
if (o === Ht && (o =
|
|
78553
|
+
if (o === Ht && (o = oc(a)), ot(o) > fi)
|
|
78554
78554
|
throw new Error(ume);
|
|
78555
78555
|
const l = Et(i, s, d7, Jpe);
|
|
78556
78556
|
if (l > fi)
|
|
@@ -78581,7 +78581,7 @@ async function gme(i, e, t, s) {
|
|
|
78581
78581
|
if (m && ({ uncompressedSize: oe } = s, oe === Ht))
|
|
78582
78582
|
throw new Error(fme);
|
|
78583
78583
|
const te = Q === !0;
|
|
78584
|
-
t && (t = Kfe(t), await
|
|
78584
|
+
t && (t = Kfe(t), await nu(t), m ? re = pw(oe) : t.size === Ht ? ($ = !0, (Q || Q === Ht) && (Q = !0, oe = re = gi + 1)) : (oe = t.size, re = pw(oe)));
|
|
78585
78585
|
const { diskOffset: ee, diskNumber: de, maxSize: he } = i.writer, X = te || oe > gi, ce = te || re > gi, ke = te || i.offset + i.pendingEntriesSize - ee > gi, Nt = Et(i, s, "supportZip64SplitFile", !0) && te || de + Math.ceil(i.pendingEntriesSize / he) > fi;
|
|
78586
78586
|
if (ke || X || ce || Nt) {
|
|
78587
78587
|
if (Q === !1 || !R)
|
|
@@ -78651,7 +78651,7 @@ async function vme(i, e, t, s, r) {
|
|
|
78651
78651
|
n.set(e, f);
|
|
78652
78652
|
try {
|
|
78653
78653
|
let T;
|
|
78654
|
-
o && (T = d && d.lock, A()), (r.bufferedWrite || i.writerLocked || i.bufferedWrites && o || !l) && !c ? (x = new TransformStream(), I = new Response(x.readable).blob(), x.writable.size = 0, y = !0, i.bufferedWrites++, await
|
|
78654
|
+
o && (T = d && d.lock, A()), (r.bufferedWrite || i.writerLocked || i.bufferedWrites && o || !l) && !c ? (x = new TransformStream(), I = new Response(x.readable).blob(), x.writable.size = 0, y = !0, i.bufferedWrites++, await nu(a)) : (x = a, await R()), await nu(x);
|
|
78655
78655
|
const { writable: k } = a;
|
|
78656
78656
|
let { diskOffset: _ } = a;
|
|
78657
78657
|
if (i.addSplitZipSignature) {
|
|
@@ -78994,7 +78994,7 @@ async function Sme(i, e, t) {
|
|
|
78994
78994
|
);
|
|
78995
78995
|
}
|
|
78996
78996
|
const d = new Uint8Array(u), f = qs(d);
|
|
78997
|
-
await
|
|
78997
|
+
await nu(r);
|
|
78998
78998
|
let y = 0;
|
|
78999
78999
|
for (const [A, R] of Array.from(s.values()).entries()) {
|
|
79000
79000
|
const {
|
|
@@ -79108,8 +79108,8 @@ var rg;
|
|
|
79108
79108
|
(function(i) {
|
|
79109
79109
|
i.UTF8 = "utf8", i.ASCII = "ascii", i.UTF16 = "utf16";
|
|
79110
79110
|
})(rg || (rg = {}));
|
|
79111
|
-
const Ia =
|
|
79112
|
-
web: () => import("./web-
|
|
79111
|
+
const Ia = Su("Filesystem", {
|
|
79112
|
+
web: () => import("./web-DDyOXSFH.js").then((i) => new i.FilesystemWeb())
|
|
79113
79113
|
});
|
|
79114
79114
|
ai("Upload", async (i, e, t, s) => {
|
|
79115
79115
|
const r = i.sessionID || `sim_${Date.now()}_${Math.floor(At(0, 2176782336)).toString(36)}`, n = OV({
|
|
@@ -79362,11 +79362,11 @@ var mw;
|
|
|
79362
79362
|
(function(i) {
|
|
79363
79363
|
i.None = "NONE", i.Slide = "SLIDE", i.Fade = "FADE";
|
|
79364
79364
|
})(mw || (mw = {}));
|
|
79365
|
-
const v7 =
|
|
79366
|
-
web: () => import("./web-
|
|
79365
|
+
const v7 = Su("StatusBar"), y7 = Su("ImmersiveMode", {
|
|
79366
|
+
web: () => import("./web-DR-HR3ib.js").then((i) => new i.ImmersiveModeWeb())
|
|
79367
79367
|
});
|
|
79368
79368
|
xi("EnterFullscreen", "session");
|
|
79369
|
-
ai("EnterFullscreen",
|
|
79369
|
+
ai("EnterFullscreen", Tu, {});
|
|
79370
79370
|
function Lme({
|
|
79371
79371
|
content: i,
|
|
79372
79372
|
buttonText: e,
|
|
@@ -79429,7 +79429,7 @@ function Lme({
|
|
|
79429
79429
|
);
|
|
79430
79430
|
}
|
|
79431
79431
|
xi("ExitFullscreen", "session");
|
|
79432
|
-
ai("ExitFullscreen",
|
|
79432
|
+
ai("ExitFullscreen", Tu, {});
|
|
79433
79433
|
function _me({
|
|
79434
79434
|
next: i,
|
|
79435
79435
|
delayMs: e = 0
|
|
@@ -79480,7 +79480,7 @@ function ea() {
|
|
|
79480
79480
|
for (var i, e, t = 0, s = "", r = arguments.length; t < r; t++) (i = arguments[t]) && (e = C7(i)) && (s && (s += " "), s += e);
|
|
79481
79481
|
return s;
|
|
79482
79482
|
}
|
|
79483
|
-
const
|
|
79483
|
+
const au = (i) => typeof i == "number" && !isNaN(i), Na = (i) => typeof i == "string", _i = (i) => typeof i == "function", uc = (i) => Na(i) || _i(i) ? i : null, ag = (i) => Ma(i) || Na(i) || _i(i) || au(i);
|
|
79484
79484
|
function Dme(i, e, t) {
|
|
79485
79485
|
t === void 0 && (t = 300);
|
|
79486
79486
|
const { scrollHeight: s, style: r } = i;
|
|
@@ -79512,7 +79512,7 @@ function gw(i, e) {
|
|
|
79512
79512
|
return i != null ? { content: i.content, containerId: i.props.containerId, id: i.props.toastId, theme: i.props.theme, type: i.props.type, data: i.props.data || {}, isLoading: i.props.isLoading, icon: i.props.icon, status: e } : {};
|
|
79513
79513
|
}
|
|
79514
79514
|
const ti = /* @__PURE__ */ new Map();
|
|
79515
|
-
let
|
|
79515
|
+
let ou = [];
|
|
79516
79516
|
const og = /* @__PURE__ */ new Set(), kme = (i) => og.forEach((e) => e(i)), b7 = () => ti.size > 0;
|
|
79517
79517
|
function w7(i, e) {
|
|
79518
79518
|
var t;
|
|
@@ -79523,7 +79523,7 @@ function w7(i, e) {
|
|
|
79523
79523
|
}), s;
|
|
79524
79524
|
}
|
|
79525
79525
|
function x7(i, e) {
|
|
79526
|
-
ag(i) && (b7() ||
|
|
79526
|
+
ag(i) && (b7() || ou.push({ content: i, options: e }), ti.forEach((t) => {
|
|
79527
79527
|
t.buildToast(i, e);
|
|
79528
79528
|
}));
|
|
79529
79529
|
}
|
|
@@ -79565,7 +79565,7 @@ function Ome(i) {
|
|
|
79565
79565
|
const W = { ...b, style: b.toastStyle, key: f++, ...Object.fromEntries(Object.entries(k).filter((te) => {
|
|
79566
79566
|
let [ee, de] = te;
|
|
79567
79567
|
return de != null;
|
|
79568
|
-
})), toastId: _, updateId: B, data: H, closeToast: $, isIn: !1, className:
|
|
79568
|
+
})), toastId: _, updateId: B, data: H, closeToast: $, isIn: !1, className: uc(k.className || b.toastClassName), bodyClassName: uc(k.bodyClassName || b.bodyClassName), progressClassName: uc(k.progressClassName || b.progressClassName), autoClose: !k.isLoading && (U = k.autoClose, re = b.autoClose, U === !1 || au(U) && U > 0 ? U : re), deleteToast() {
|
|
79569
79569
|
const te = x.get(_), { onClose: ee, children: de } = te.props;
|
|
79570
79570
|
_i(ee) && ee(Ma(de) && de.props), d(gw(te, "removed")), x.delete(_), y--, y < 0 && (y = 0), v.length > 0 ? D(v.shift()) : A();
|
|
79571
79571
|
} };
|
|
@@ -79574,7 +79574,7 @@ function Ome(i) {
|
|
|
79574
79574
|
let J = T;
|
|
79575
79575
|
Ma(T) && !Na(T.type) ? J = am(T, { closeToast: $, toastProps: W, data: H }) : _i(T) && (J = T({ closeToast: $, toastProps: W, data: H }));
|
|
79576
79576
|
const oe = { content: J, props: W, staleId: L };
|
|
79577
|
-
b.limit && b.limit > 0 && y > b.limit && Q ? v.push(oe) :
|
|
79577
|
+
b.limit && b.limit > 0 && y > b.limit && Q ? v.push(oe) : au(F) ? setTimeout(() => {
|
|
79578
79578
|
D(oe);
|
|
79579
79579
|
}, F) : D(oe);
|
|
79580
79580
|
}, setProps(T) {
|
|
@@ -79585,7 +79585,7 @@ function Ome(i) {
|
|
|
79585
79585
|
}(a, n, kme);
|
|
79586
79586
|
ti.set(a, l);
|
|
79587
79587
|
const u = l.observe(o);
|
|
79588
|
-
return
|
|
79588
|
+
return ou.forEach((h) => x7(h.content, h.options)), ou = [], () => {
|
|
79589
79589
|
u(), ti.delete(a);
|
|
79590
79590
|
};
|
|
79591
79591
|
}, setProps(o) {
|
|
@@ -79659,7 +79659,7 @@ function Nme(i) {
|
|
|
79659
79659
|
let Fme = 1;
|
|
79660
79660
|
const E7 = () => "" + Fme++;
|
|
79661
79661
|
function qme(i) {
|
|
79662
|
-
return i && (Na(i.toastId) ||
|
|
79662
|
+
return i && (Na(i.toastId) || au(i.toastId)) ? i.toastId : E7();
|
|
79663
79663
|
}
|
|
79664
79664
|
function Ql(i, e) {
|
|
79665
79665
|
return x7(i, e), e.toastId;
|
|
@@ -79667,7 +79667,7 @@ function Ql(i, e) {
|
|
|
79667
79667
|
function Uc(i, e) {
|
|
79668
79668
|
return { ...e, type: e && e.type || i, toastId: qme(e) };
|
|
79669
79669
|
}
|
|
79670
|
-
function
|
|
79670
|
+
function Uh(i) {
|
|
79671
79671
|
return (e, t) => Ql(e, Uc(i, t));
|
|
79672
79672
|
}
|
|
79673
79673
|
function qt(i, e) {
|
|
@@ -79682,11 +79682,11 @@ qt.loading = (i, e) => Ql(i, Uc("default", { isLoading: !0, autoClose: !1, close
|
|
|
79682
79682
|
return s ? qt.update(s, { ...f, ...y }) : qt(y.render, { ...f, ...y }), d;
|
|
79683
79683
|
}, u = _i(i) ? i() : i;
|
|
79684
79684
|
return u.then((h) => l("success", a, h)).catch((h) => l("error", n, h)), u;
|
|
79685
|
-
}, qt.success =
|
|
79685
|
+
}, qt.success = Uh("success"), qt.info = Uh("info"), qt.error = Uh("error"), qt.warning = Uh("warning"), qt.warn = qt.warning, qt.dark = (i, e) => Ql(i, Uc("default", { theme: "dark", ...e })), qt.dismiss = function(i) {
|
|
79686
79686
|
(function(e) {
|
|
79687
79687
|
var t;
|
|
79688
79688
|
if (b7()) {
|
|
79689
|
-
if (e == null || Na(t = e) ||
|
|
79689
|
+
if (e == null || Na(t = e) || au(t)) ti.forEach((s) => {
|
|
79690
79690
|
s.removeToast(e);
|
|
79691
79691
|
});
|
|
79692
79692
|
else if (e && ("containerId" in e || "id" in e)) {
|
|
@@ -79695,7 +79695,7 @@ qt.loading = (i, e) => Ql(i, Uc("default", { isLoading: !0, autoClose: !1, close
|
|
|
79695
79695
|
r.removeToast(e.id);
|
|
79696
79696
|
});
|
|
79697
79697
|
}
|
|
79698
|
-
} else
|
|
79698
|
+
} else ou = ou.filter((s) => e != null && s.options.toastId !== e);
|
|
79699
79699
|
})(i);
|
|
79700
79700
|
}, qt.clearWaitingQueue = function(i) {
|
|
79701
79701
|
i === void 0 && (i = {}), ti.forEach((e) => {
|
|
@@ -79721,17 +79721,17 @@ qt.loading = (i, e) => Ql(i, Uc("default", { isLoading: !0, autoClose: !1, close
|
|
|
79721
79721
|
og.delete(i);
|
|
79722
79722
|
};
|
|
79723
79723
|
}, qt.play = (i) => vw(!0, i), qt.pause = (i) => vw(!1, i);
|
|
79724
|
-
const Bme = typeof window < "u" ? kg : Ye,
|
|
79724
|
+
const Bme = typeof window < "u" ? kg : Ye, jh = (i) => {
|
|
79725
79725
|
let { theme: e, type: t, isLoading: s, ...r } = i;
|
|
79726
79726
|
return Je.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: e === "colored" ? "currentColor" : `var(--toastify-icon-color-${t})`, ...r });
|
|
79727
79727
|
}, Hf = { info: function(i) {
|
|
79728
|
-
return Je.createElement(
|
|
79728
|
+
return Je.createElement(jh, { ...i }, Je.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
|
|
79729
79729
|
}, warning: function(i) {
|
|
79730
|
-
return Je.createElement(
|
|
79730
|
+
return Je.createElement(jh, { ...i }, Je.createElement("path", { d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z" }));
|
|
79731
79731
|
}, success: function(i) {
|
|
79732
|
-
return Je.createElement(
|
|
79732
|
+
return Je.createElement(jh, { ...i }, Je.createElement("path", { d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z" }));
|
|
79733
79733
|
}, error: function(i) {
|
|
79734
|
-
return Je.createElement(
|
|
79734
|
+
return Je.createElement(jh, { ...i }, Je.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
|
|
79735
79735
|
}, spinner: function() {
|
|
79736
79736
|
return Je.createElement("div", { className: "Toastify__spinner" });
|
|
79737
79737
|
} }, $me = (i) => {
|
|
@@ -79755,7 +79755,7 @@ function Ume(i) {
|
|
|
79755
79755
|
const t = i.stacked, [s, r] = ze(!0), n = me(null), { getToastToRender: a, isToastActive: o, count: l } = Ome(e), { className: u, style: h, rtl: c, containerId: d } = e;
|
|
79756
79756
|
function f(v) {
|
|
79757
79757
|
const m = ea("Toastify__toast-container", `Toastify__toast-container--${v}`, { "Toastify__toast-container--rtl": c });
|
|
79758
|
-
return _i(u) ? u({ position: v, rtl: c, defaultClassName: m }) : ea(m,
|
|
79758
|
+
return _i(u) ? u({ position: v, rtl: c, defaultClassName: m }) : ea(m, uc(u));
|
|
79759
79759
|
}
|
|
79760
79760
|
function y() {
|
|
79761
79761
|
t && (r(!0), qt.play());
|
|
@@ -80319,7 +80319,7 @@ function HCe({ children: i, disableSettings: e, disableHybridSimulation: t }) {
|
|
|
80319
80319
|
] });
|
|
80320
80320
|
}
|
|
80321
80321
|
xi("RequestFilePermission", null);
|
|
80322
|
-
ai("RequestFilePermission",
|
|
80322
|
+
ai("RequestFilePermission", Tu, {});
|
|
80323
80323
|
function Gme({ next: i }) {
|
|
80324
80324
|
const [e, t] = ze("checking");
|
|
80325
80325
|
return Ye(() => {
|
|
@@ -80930,7 +80930,7 @@ function Xme({
|
|
|
80930
80930
|
) })
|
|
80931
80931
|
] });
|
|
80932
80932
|
}
|
|
80933
|
-
const
|
|
80933
|
+
const lu = Cr({});
|
|
80934
80934
|
function v0(i) {
|
|
80935
80935
|
const e = me(null);
|
|
80936
80936
|
return e.current === null && (e.current = i()), e.current;
|
|
@@ -80967,7 +80967,7 @@ function R7(i) {
|
|
|
80967
80967
|
let e;
|
|
80968
80968
|
return () => (e === void 0 && (e = i()), e);
|
|
80969
80969
|
}
|
|
80970
|
-
const Gi = /* @__NO_SIDE_EFFECTS__ */ (i) => i, tge = (i, e) => (t) => e(i(t)),
|
|
80970
|
+
const Gi = /* @__NO_SIDE_EFFECTS__ */ (i) => i, tge = (i, e) => (t) => e(i(t)), $u = (...i) => i.reduce(tge), uu = /* @__NO_SIDE_EFFECTS__ */ (i, e, t) => {
|
|
80971
80971
|
const s = e - i;
|
|
80972
80972
|
return s === 0 ? 1 : (t - i) / s;
|
|
80973
80973
|
};
|
|
@@ -81012,13 +81012,13 @@ function rge(i, e, t, s, r) {
|
|
|
81012
81012
|
while (Math.abs(n) > sge && ++o < ige);
|
|
81013
81013
|
return a;
|
|
81014
81014
|
}
|
|
81015
|
-
function
|
|
81015
|
+
function Hu(i, e, t, s) {
|
|
81016
81016
|
if (i === e && t === s)
|
|
81017
81017
|
return Gi;
|
|
81018
81018
|
const r = (n) => rge(n, 0, 1, i, t);
|
|
81019
81019
|
return (n) => n === 0 || n === 1 ? n : L7(r(n), e, s);
|
|
81020
81020
|
}
|
|
81021
|
-
const _7 = (i) => (e) => e <= 0.5 ? i(2 * e) / 2 : (2 - i(2 * (1 - e))) / 2, D7 = (i) => (e) => 1 - i(1 - e), k7 = /* @__PURE__ */
|
|
81021
|
+
const _7 = (i) => (e) => e <= 0.5 ? i(2 * e) / 2 : (2 - i(2 * (1 - e))) / 2, D7 = (i) => (e) => 1 - i(1 - e), k7 = /* @__PURE__ */ Hu(0.33, 1.53, 0.69, 0.99), x0 = /* @__PURE__ */ D7(k7), O7 = /* @__PURE__ */ _7(x0), M7 = (i) => i >= 1 ? 1 : (i *= 2) < 1 ? 0.5 * x0(i) : 0.5 * (2 - Math.pow(2, -10 * (i - 1))), E0 = (i) => 1 - Math.sin(Math.acos(i)), N7 = D7(E0), F7 = _7(E0), nge = /* @__PURE__ */ Hu(0.42, 0, 1, 1), age = /* @__PURE__ */ Hu(0, 0, 0.58, 1), q7 = /* @__PURE__ */ Hu(0.42, 0, 0.58, 1), oge = (i) => Array.isArray(i) && typeof i[0] != "number", B7 = (i) => Array.isArray(i) && typeof i[0] == "number", bw = {
|
|
81022
81022
|
linear: Gi,
|
|
81023
81023
|
easeIn: nge,
|
|
81024
81024
|
easeInOut: q7,
|
|
@@ -81034,11 +81034,11 @@ const _7 = (i) => (e) => e <= 0.5 ? i(2 * e) / 2 : (2 - i(2 * (1 - e))) / 2, D7
|
|
|
81034
81034
|
if (B7(i)) {
|
|
81035
81035
|
yn(i.length === 4, "Cubic bezier arrays must contain four numerical values.", "cubic-bezier-length");
|
|
81036
81036
|
const [e, t, s, r] = i;
|
|
81037
|
-
return
|
|
81037
|
+
return Hu(e, t, s, r);
|
|
81038
81038
|
} else if (lge(i))
|
|
81039
81039
|
return yn(bw[i] !== void 0, `Invalid easing type '${i}'`, "invalid-easing-type"), bw[i];
|
|
81040
81040
|
return i;
|
|
81041
|
-
},
|
|
81041
|
+
}, zh = [
|
|
81042
81042
|
"setup",
|
|
81043
81043
|
// Compute
|
|
81044
81044
|
"read",
|
|
@@ -81103,29 +81103,29 @@ function $7(i, e) {
|
|
|
81103
81103
|
delta: 0,
|
|
81104
81104
|
timestamp: 0,
|
|
81105
81105
|
isProcessing: !1
|
|
81106
|
-
}, n = () => t = !0, a =
|
|
81106
|
+
}, n = () => t = !0, a = zh.reduce((x, I) => (x[I] = uge(n), x), {}), { setup: o, read: l, resolveKeyframes: u, preUpdate: h, update: c, preRender: d, render: f, postRender: y } = a, v = () => {
|
|
81107
81107
|
const x = oa.useManualTiming, I = x ? r.timestamp : performance.now();
|
|
81108
81108
|
t = !1, x || (r.delta = s ? 1e3 / 60 : Math.max(Math.min(I - r.timestamp, hge), 1)), r.timestamp = I, r.isProcessing = !0, o.process(r), l.process(r), u.process(r), h.process(r), c.process(r), d.process(r), f.process(r), y.process(r), r.isProcessing = !1, t && e && (s = !1, i(v));
|
|
81109
81109
|
}, m = () => {
|
|
81110
81110
|
t = !0, s = !0, r.isProcessing || i(v);
|
|
81111
81111
|
};
|
|
81112
|
-
return { schedule:
|
|
81112
|
+
return { schedule: zh.reduce((x, I) => {
|
|
81113
81113
|
const A = a[I];
|
|
81114
81114
|
return x[I] = (R, D = !1, T = !1) => (t || m(), A.schedule(R, D, T)), x;
|
|
81115
81115
|
}, {}), cancel: (x) => {
|
|
81116
|
-
for (let I = 0; I <
|
|
81117
|
-
a[
|
|
81116
|
+
for (let I = 0; I < zh.length; I++)
|
|
81117
|
+
a[zh[I]].cancel(x);
|
|
81118
81118
|
}, state: r, steps: a };
|
|
81119
81119
|
}
|
|
81120
81120
|
const { schedule: Lt, cancel: la, state: Ms, steps: Qf } = /* @__PURE__ */ $7(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Gi, !0);
|
|
81121
|
-
let
|
|
81121
|
+
let hc;
|
|
81122
81122
|
function cge() {
|
|
81123
|
-
|
|
81123
|
+
hc = void 0;
|
|
81124
81124
|
}
|
|
81125
81125
|
const ii = {
|
|
81126
|
-
now: () => (
|
|
81126
|
+
now: () => (hc === void 0 && ii.set(Ms.isProcessing || oa.useManualTiming ? Ms.timestamp : performance.now()), hc),
|
|
81127
81127
|
set: (i) => {
|
|
81128
|
-
|
|
81128
|
+
hc = i, queueMicrotask(cge);
|
|
81129
81129
|
}
|
|
81130
81130
|
}, H7 = (i) => (e) => typeof e == "string" && e.startsWith(i), Q7 = /* @__PURE__ */ H7("--"), dge = /* @__PURE__ */ H7("var(--"), V0 = (i) => dge(i) ? pge.test(i.split("/*")[0].trim()) : !1, pge = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
|
|
81131
81131
|
function xw(i) {
|
|
@@ -81135,10 +81135,10 @@ const cl = {
|
|
|
81135
81135
|
test: (i) => typeof i == "number",
|
|
81136
81136
|
parse: parseFloat,
|
|
81137
81137
|
transform: (i) => i
|
|
81138
|
-
},
|
|
81138
|
+
}, hu = {
|
|
81139
81139
|
...cl,
|
|
81140
81140
|
transform: (i) => jr(0, 1, i)
|
|
81141
|
-
},
|
|
81141
|
+
}, Wh = {
|
|
81142
81142
|
...cl,
|
|
81143
81143
|
default: 1
|
|
81144
81144
|
}, Ul = (i) => Math.round(i * 1e5) / 1e5, S0 = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
|
|
@@ -81161,7 +81161,7 @@ const mge = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\
|
|
|
81161
81161
|
}, Aa = {
|
|
81162
81162
|
test: /* @__PURE__ */ T0("rgb", "red"),
|
|
81163
81163
|
parse: /* @__PURE__ */ U7("red", "green", "blue"),
|
|
81164
|
-
transform: ({ red: i, green: e, blue: t, alpha: s = 1 }) => "rgba(" + Uf.transform(i) + ", " + Uf.transform(e) + ", " + Uf.transform(t) + ", " + Ul(
|
|
81164
|
+
transform: ({ red: i, green: e, blue: t, alpha: s = 1 }) => "rgba(" + Uf.transform(i) + ", " + Uf.transform(e) + ", " + Uf.transform(t) + ", " + Ul(hu.transform(s)) + ")"
|
|
81165
81165
|
};
|
|
81166
81166
|
function vge(i) {
|
|
81167
81167
|
let e = "", t = "", s = "", r = "";
|
|
@@ -81176,18 +81176,18 @@ const ug = {
|
|
|
81176
81176
|
test: /* @__PURE__ */ T0("#"),
|
|
81177
81177
|
parse: vge,
|
|
81178
81178
|
transform: Aa.transform
|
|
81179
|
-
},
|
|
81179
|
+
}, Qu = /* @__NO_SIDE_EFFECTS__ */ (i) => ({
|
|
81180
81180
|
test: (e) => typeof e == "string" && e.endsWith(i) && e.split(" ").length === 1,
|
|
81181
81181
|
parse: parseFloat,
|
|
81182
81182
|
transform: (e) => `${e}${i}`
|
|
81183
|
-
}), Nn = /* @__PURE__ */
|
|
81183
|
+
}), Nn = /* @__PURE__ */ Qu("deg"), qr = /* @__PURE__ */ Qu("%"), we = /* @__PURE__ */ Qu("px"), yge = /* @__PURE__ */ Qu("vh"), Cge = /* @__PURE__ */ Qu("vw"), Ew = {
|
|
81184
81184
|
...qr,
|
|
81185
81185
|
parse: (i) => qr.parse(i) / 100,
|
|
81186
81186
|
transform: (i) => qr.transform(i * 100)
|
|
81187
81187
|
}, wo = {
|
|
81188
81188
|
test: /* @__PURE__ */ T0("hsl", "hue"),
|
|
81189
81189
|
parse: /* @__PURE__ */ U7("hue", "saturation", "lightness"),
|
|
81190
|
-
transform: ({ hue: i, saturation: e, lightness: t, alpha: s = 1 }) => "hsla(" + Math.round(i) + ", " + qr.transform(Ul(e)) + ", " + qr.transform(Ul(t)) + ", " + Ul(
|
|
81190
|
+
transform: ({ hue: i, saturation: e, lightness: t, alpha: s = 1 }) => "hsla(" + Math.round(i) + ", " + qr.transform(Ul(e)) + ", " + qr.transform(Ul(t)) + ", " + Ul(hu.transform(s)) + ")"
|
|
81191
81191
|
}, ms = {
|
|
81192
81192
|
test: (i) => Aa.test(i) || ug.test(i) || wo.test(i),
|
|
81193
81193
|
parse: (i) => Aa.test(i) ? Aa.parse(i) : wo.test(i) ? wo.parse(i) : ug.parse(i),
|
|
@@ -81318,7 +81318,7 @@ function Mge(i, e) {
|
|
|
81318
81318
|
}
|
|
81319
81319
|
const Nge = (i, e) => {
|
|
81320
81320
|
const t = pr.createTransformer(e), s = Uo(i), r = Uo(e);
|
|
81321
|
-
return s.indexes.var.length === r.indexes.var.length && s.indexes.color.length === r.indexes.color.length && s.indexes.number.length >= r.indexes.number.length ? hg.has(i) && !r.values.length || hg.has(e) && !s.values.length ? Dge(i, e) :
|
|
81321
|
+
return s.indexes.var.length === r.indexes.var.length && s.indexes.color.length === r.indexes.color.length && s.indexes.number.length >= r.indexes.number.length ? hg.has(i) && !r.values.length || hg.has(e) && !s.values.length ? Dge(i, e) : $u(G7(Mge(s, r), r.values), t) : (hl(!0, `Complex values '${i}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), zc(i, e));
|
|
81322
81322
|
};
|
|
81323
81323
|
function K7(i, e, t) {
|
|
81324
81324
|
return typeof i == "number" && typeof e == "number" && typeof t == "number" ? Qt(i, e, t) : I0(i)(i, e);
|
|
@@ -81569,7 +81569,7 @@ function Wge(i, e, t) {
|
|
|
81569
81569
|
let o = r(i[a], i[a + 1]);
|
|
81570
81570
|
if (e) {
|
|
81571
81571
|
const l = Array.isArray(e) ? e[a] || Gi : e;
|
|
81572
|
-
o =
|
|
81572
|
+
o = $u(l, o);
|
|
81573
81573
|
}
|
|
81574
81574
|
s.push(o);
|
|
81575
81575
|
}
|
|
@@ -81590,7 +81590,7 @@ function Gge(i, e, { clamp: t = !0, ease: s, mixer: r } = {}) {
|
|
|
81590
81590
|
if (l > 1)
|
|
81591
81591
|
for (; c < i.length - 2 && !(h < i[c + 1]); c++)
|
|
81592
81592
|
;
|
|
81593
|
-
const d = /* @__PURE__ */
|
|
81593
|
+
const d = /* @__PURE__ */ uu(i[c], i[c + 1], h);
|
|
81594
81594
|
return o[c](d);
|
|
81595
81595
|
};
|
|
81596
81596
|
return t ? (h) => u(jr(i[0], i[n - 1], h)) : u;
|
|
@@ -81598,7 +81598,7 @@ function Gge(i, e, { clamp: t = !0, ease: s, mixer: r } = {}) {
|
|
|
81598
81598
|
function Kge(i, e) {
|
|
81599
81599
|
const t = i[i.length - 1];
|
|
81600
81600
|
for (let s = 1; s <= e; s++) {
|
|
81601
|
-
const r = /* @__PURE__ */
|
|
81601
|
+
const r = /* @__PURE__ */ uu(0, e, s);
|
|
81602
81602
|
i.push(Qt(t, 1, r));
|
|
81603
81603
|
}
|
|
81604
81604
|
}
|
|
@@ -81686,7 +81686,7 @@ class Kc extends R0 {
|
|
|
81686
81686
|
const { type: t = xo, repeat: s = 0, repeatDelay: r = 0, repeatType: n, velocity: a = 0 } = e;
|
|
81687
81687
|
let { keyframes: o } = e;
|
|
81688
81688
|
const l = t || xo;
|
|
81689
|
-
process.env.NODE_ENV !== "production" && l !== xo && yn(o.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${o}`, "spring-two-frames"), l !== xo && typeof o[0] != "number" && (this.mixKeyframes =
|
|
81689
|
+
process.env.NODE_ENV !== "production" && l !== xo && yn(o.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${o}`, "spring-two-frames"), l !== xo && typeof o[0] != "number" && (this.mixKeyframes = $u(tve, K7(o[0], o[1])), o = [0, 100]);
|
|
81690
81690
|
const u = l({ ...e, keyframes: o });
|
|
81691
81691
|
n === "mirror" && (this.mirroredGenerator = l({
|
|
81692
81692
|
...e,
|
|
@@ -82841,10 +82841,10 @@ const Yve = /\b([a-z-]*)\(.*?\)/gu, Vg = {
|
|
|
82841
82841
|
rotateX: Nn,
|
|
82842
82842
|
rotateY: Nn,
|
|
82843
82843
|
rotateZ: Nn,
|
|
82844
|
-
scale:
|
|
82845
|
-
scaleX:
|
|
82846
|
-
scaleY:
|
|
82847
|
-
scaleZ:
|
|
82844
|
+
scale: Wh,
|
|
82845
|
+
scaleX: Wh,
|
|
82846
|
+
scaleY: Wh,
|
|
82847
|
+
scaleZ: Wh,
|
|
82848
82848
|
skew: Nn,
|
|
82849
82849
|
skewX: Nn,
|
|
82850
82850
|
skewY: Nn,
|
|
@@ -82857,7 +82857,7 @@ const Yve = /\b([a-z-]*)\(.*?\)/gu, Vg = {
|
|
|
82857
82857
|
z: we,
|
|
82858
82858
|
perspective: we,
|
|
82859
82859
|
transformPerspective: we,
|
|
82860
|
-
opacity:
|
|
82860
|
+
opacity: hu,
|
|
82861
82861
|
originX: Ew,
|
|
82862
82862
|
originY: Ew,
|
|
82863
82863
|
originZ: we
|
|
@@ -82920,8 +82920,8 @@ const Yve = /\b([a-z-]*)\(.*?\)/gu, Vg = {
|
|
|
82920
82920
|
...Xve,
|
|
82921
82921
|
zIndex: Nw,
|
|
82922
82922
|
// SVG
|
|
82923
|
-
fillOpacity:
|
|
82924
|
-
strokeOpacity:
|
|
82923
|
+
fillOpacity: hu,
|
|
82924
|
+
strokeOpacity: hu,
|
|
82925
82925
|
numOctaves: Nw
|
|
82926
82926
|
}, e0e = {
|
|
82927
82927
|
...O0,
|
|
@@ -83028,7 +83028,7 @@ function b4(i, e, t) {
|
|
|
83028
83028
|
return Array.from(i).filter((s) => s != null);
|
|
83029
83029
|
}
|
|
83030
83030
|
const w4 = (i, e) => e && typeof i == "number" ? e.transform(i) : i;
|
|
83031
|
-
function
|
|
83031
|
+
function cc(i) {
|
|
83032
83032
|
return I7(i) && "offsetHeight" in i && !("ownerSVGElement" in i);
|
|
83033
83033
|
}
|
|
83034
83034
|
const { schedule: M0 } = /* @__PURE__ */ $7(queueMicrotask, !1), or = {
|
|
@@ -83100,7 +83100,7 @@ const h0e = /* @__PURE__ */ new Set(["INPUT", "SELECT", "TEXTAREA"]);
|
|
|
83100
83100
|
function c0e(i) {
|
|
83101
83101
|
return h0e.has(i.tagName) || i.isContentEditable === !0;
|
|
83102
83102
|
}
|
|
83103
|
-
const
|
|
83103
|
+
const dc = /* @__PURE__ */ new WeakSet();
|
|
83104
83104
|
function Fw(i) {
|
|
83105
83105
|
return (e) => {
|
|
83106
83106
|
e.key === "Enter" && i(e);
|
|
@@ -83114,7 +83114,7 @@ const d0e = (i, e) => {
|
|
|
83114
83114
|
if (!t)
|
|
83115
83115
|
return;
|
|
83116
83116
|
const s = Fw(() => {
|
|
83117
|
-
if (
|
|
83117
|
+
if (dc.has(t))
|
|
83118
83118
|
return;
|
|
83119
83119
|
Kf(t, "down");
|
|
83120
83120
|
const r = Fw(() => {
|
|
@@ -83133,9 +83133,9 @@ function p0e(i, e, t = {}) {
|
|
|
83133
83133
|
const l = o.currentTarget;
|
|
83134
83134
|
if (!qw(o) || Bw.has(o))
|
|
83135
83135
|
return;
|
|
83136
|
-
|
|
83136
|
+
dc.add(l), t.stopPropagation && Bw.add(o);
|
|
83137
83137
|
const u = e(l, o), h = (f, y) => {
|
|
83138
|
-
window.removeEventListener("pointerup", c), window.removeEventListener("pointercancel", d),
|
|
83138
|
+
window.removeEventListener("pointerup", c), window.removeEventListener("pointercancel", d), dc.has(l) && dc.delete(l), qw(f) && typeof u == "function" && u(f, { success: y });
|
|
83139
83139
|
}, c = (f) => {
|
|
83140
83140
|
h(f, l === window || l === document || t.useGlobalTarget || V4(l, f.target));
|
|
83141
83141
|
}, d = (f) => {
|
|
@@ -83144,18 +83144,18 @@ function p0e(i, e, t = {}) {
|
|
|
83144
83144
|
window.addEventListener("pointerup", c, r), window.addEventListener("pointercancel", d, r);
|
|
83145
83145
|
};
|
|
83146
83146
|
return s.forEach((o) => {
|
|
83147
|
-
(t.useGlobalTarget ? window : o).addEventListener("pointerdown", a, r),
|
|
83147
|
+
(t.useGlobalTarget ? window : o).addEventListener("pointerdown", a, r), cc(o) && (o.addEventListener("focus", (u) => d0e(u, r)), !u0e(o) && !o.hasAttribute("tabindex") && (o.tabIndex = 0));
|
|
83148
83148
|
}), n;
|
|
83149
83149
|
}
|
|
83150
83150
|
function F0(i) {
|
|
83151
83151
|
return I7(i) && "ownerSVGElement" in i;
|
|
83152
83152
|
}
|
|
83153
|
-
const
|
|
83153
|
+
const pc = /* @__PURE__ */ new WeakMap();
|
|
83154
83154
|
let Fn;
|
|
83155
83155
|
const S4 = (i, e, t) => (s, r) => r && r[0] ? r[0][i + "Size"] : F0(s) && "getBBox" in s ? s.getBBox()[e] : s[t], f0e = /* @__PURE__ */ S4("inline", "width", "offsetWidth"), m0e = /* @__PURE__ */ S4("block", "height", "offsetHeight");
|
|
83156
83156
|
function g0e({ target: i, borderBoxSize: e }) {
|
|
83157
83157
|
var t;
|
|
83158
|
-
(t =
|
|
83158
|
+
(t = pc.get(i)) == null || t.forEach((s) => {
|
|
83159
83159
|
s(i, {
|
|
83160
83160
|
get width() {
|
|
83161
83161
|
return f0e(i, e);
|
|
@@ -83176,16 +83176,16 @@ function C0e(i, e) {
|
|
|
83176
83176
|
Fn || y0e();
|
|
83177
83177
|
const t = b4(i);
|
|
83178
83178
|
return t.forEach((s) => {
|
|
83179
|
-
let r =
|
|
83180
|
-
r || (r = /* @__PURE__ */ new Set(),
|
|
83179
|
+
let r = pc.get(s);
|
|
83180
|
+
r || (r = /* @__PURE__ */ new Set(), pc.set(s, r)), r.add(e), Fn == null || Fn.observe(s);
|
|
83181
83181
|
}), () => {
|
|
83182
83182
|
t.forEach((s) => {
|
|
83183
|
-
const r =
|
|
83183
|
+
const r = pc.get(s);
|
|
83184
83184
|
r == null || r.delete(e), r != null && r.size || Fn == null || Fn.unobserve(s);
|
|
83185
83185
|
});
|
|
83186
83186
|
};
|
|
83187
83187
|
}
|
|
83188
|
-
const
|
|
83188
|
+
const fc = /* @__PURE__ */ new Set();
|
|
83189
83189
|
let Eo;
|
|
83190
83190
|
function b0e() {
|
|
83191
83191
|
Eo = () => {
|
|
@@ -83197,12 +83197,12 @@ function b0e() {
|
|
|
83197
83197
|
return window.innerHeight;
|
|
83198
83198
|
}
|
|
83199
83199
|
};
|
|
83200
|
-
|
|
83200
|
+
fc.forEach((e) => e(i));
|
|
83201
83201
|
}, window.addEventListener("resize", Eo);
|
|
83202
83202
|
}
|
|
83203
83203
|
function w0e(i) {
|
|
83204
|
-
return
|
|
83205
|
-
|
|
83204
|
+
return fc.add(i), Eo || b0e(), () => {
|
|
83205
|
+
fc.delete(i), !fc.size && typeof Eo == "function" && (window.removeEventListener("resize", Eo), Eo = void 0);
|
|
83206
83206
|
};
|
|
83207
83207
|
}
|
|
83208
83208
|
function $w(i, e) {
|
|
@@ -83226,7 +83226,7 @@ const E0e = [...v4, ms, pr], V0e = (i) => E0e.find(g4(i)), Hw = () => ({
|
|
|
83226
83226
|
function up(i) {
|
|
83227
83227
|
return i !== null && typeof i == "object" && typeof i.start == "function";
|
|
83228
83228
|
}
|
|
83229
|
-
function
|
|
83229
|
+
function cu(i) {
|
|
83230
83230
|
return typeof i == "string" || Array.isArray(i);
|
|
83231
83231
|
}
|
|
83232
83232
|
const q0 = [
|
|
@@ -83239,7 +83239,7 @@ const q0 = [
|
|
|
83239
83239
|
"exit"
|
|
83240
83240
|
], B0 = ["initial", ...q0];
|
|
83241
83241
|
function hp(i) {
|
|
83242
|
-
return up(i.animate) || B0.some((e) =>
|
|
83242
|
+
return up(i.animate) || B0.some((e) => cu(i[e]));
|
|
83243
83243
|
}
|
|
83244
83244
|
function T4(i) {
|
|
83245
83245
|
return !!(hp(i) || i.variants);
|
|
@@ -83598,7 +83598,7 @@ function D0e(i, e, t, s = !1) {
|
|
|
83598
83598
|
for (let l = 0; l < r; l++) {
|
|
83599
83599
|
n = t[l], a = n.projectionDelta;
|
|
83600
83600
|
const { visualElement: u } = n.options;
|
|
83601
|
-
u && u.props.style && u.props.style.display === "contents" || (s && n.options.layoutScroll && n.scroll && n !== n.root && (Dr(i.x, -n.scroll.offset.x), Dr(i.y, -n.scroll.offset.y)), a && (e.x *= a.x.scale, e.y *= a.y.scale, _4(i, a)), s && Sa(n.latestValues) &&
|
|
83601
|
+
u && u.props.style && u.props.style.display === "contents" || (s && n.options.layoutScroll && n.scroll && n !== n.root && (Dr(i.x, -n.scroll.offset.x), Dr(i.y, -n.scroll.offset.y)), a && (e.x *= a.x.scale, e.y *= a.y.scale, _4(i, a)), s && Sa(n.latestValues) && mc(i, n.latestValues, (o = n.layout) == null ? void 0 : o.layoutBox));
|
|
83602
83602
|
}
|
|
83603
83603
|
e.x < Gw && e.x > Ww && (e.x = 1), e.y < Gw && e.y > Ww && (e.y = 1);
|
|
83604
83604
|
}
|
|
@@ -83612,7 +83612,7 @@ function Kw(i, e, t, s, r = 0.5) {
|
|
|
83612
83612
|
function Zw(i, e) {
|
|
83613
83613
|
return typeof i == "string" ? parseFloat(i) / 100 * (e.max - e.min) : i;
|
|
83614
83614
|
}
|
|
83615
|
-
function
|
|
83615
|
+
function mc(i, e, t) {
|
|
83616
83616
|
const s = t ?? i;
|
|
83617
83617
|
Kw(i.x, Zw(e.x, s.x), e.scaleX, e.scale, e.originX), Kw(i.y, Zw(e.y, s.y), e.scaleY, e.scale, e.originY);
|
|
83618
83618
|
}
|
|
@@ -83879,7 +83879,7 @@ function B4(i) {
|
|
|
83879
83879
|
const e = {};
|
|
83880
83880
|
for (let t = 0; t < W0e; t++) {
|
|
83881
83881
|
const s = B0[t], r = i.props[s];
|
|
83882
|
-
(
|
|
83882
|
+
(cu(r) || r === !1) && (e[s] = r);
|
|
83883
83883
|
}
|
|
83884
83884
|
return e;
|
|
83885
83885
|
}
|
|
@@ -83916,7 +83916,7 @@ function J0e(i) {
|
|
|
83916
83916
|
const { props: h } = i, c = B4(i.parent) || {}, d = [], f = /* @__PURE__ */ new Set();
|
|
83917
83917
|
let y = {}, v = 1 / 0;
|
|
83918
83918
|
for (let g = 0; g < K0e; g++) {
|
|
83919
|
-
const b = G0e[g], x = t[b], I = h[b] !== void 0 ? h[b] : c[b], A =
|
|
83919
|
+
const b = G0e[g], x = t[b], I = h[b] !== void 0 ? h[b] : c[b], A = cu(I), R = b === u ? x.isActive : null;
|
|
83920
83920
|
R === !1 && (v = g);
|
|
83921
83921
|
let D = I === c[b] && I !== h[b] && A;
|
|
83922
83922
|
if (D && (s || r) && i.manuallyAnimateOnMount && (D = !1), x.protectedKeys = { ...y }, // If it isn't active and hasn't *just* been set as inactive
|
|
@@ -84140,13 +84140,13 @@ function px(i, e) {
|
|
|
84140
84140
|
}
|
|
84141
84141
|
const d1e = /* @__PURE__ */ W4(0, 0.5, N7), p1e = /* @__PURE__ */ W4(0.5, 0.95, Gi);
|
|
84142
84142
|
function W4(i, e, t) {
|
|
84143
|
-
return (s) => s < i ? 0 : s > e ? 1 : t(/* @__PURE__ */
|
|
84143
|
+
return (s) => s < i ? 0 : s > e ? 1 : t(/* @__PURE__ */ uu(i, e, s));
|
|
84144
84144
|
}
|
|
84145
84145
|
function f1e(i, e, t) {
|
|
84146
84146
|
const s = Bs(i) ? i : jo(i);
|
|
84147
84147
|
return s.start(_0("", s, e, t)), s.animation;
|
|
84148
84148
|
}
|
|
84149
|
-
function
|
|
84149
|
+
function du(i, e, t, s = { passive: !0 }) {
|
|
84150
84150
|
return i.addEventListener(e, t, s), () => i.removeEventListener(e, t);
|
|
84151
84151
|
}
|
|
84152
84152
|
const m1e = (i, e) => i.depth - e.depth;
|
|
@@ -84171,7 +84171,7 @@ function v1e(i, e) {
|
|
|
84171
84171
|
};
|
|
84172
84172
|
return Lt.setup(s, !0), () => la(s);
|
|
84173
84173
|
}
|
|
84174
|
-
function
|
|
84174
|
+
function gc(i) {
|
|
84175
84175
|
return Bs(i) ? i.get() : i;
|
|
84176
84176
|
}
|
|
84177
84177
|
class y1e {
|
|
@@ -84227,7 +84227,7 @@ class y1e {
|
|
|
84227
84227
|
(e = this.lead) != null && e.snapshot && (this.lead.snapshot = void 0);
|
|
84228
84228
|
}
|
|
84229
84229
|
}
|
|
84230
|
-
const
|
|
84230
|
+
const vc = {
|
|
84231
84231
|
/**
|
|
84232
84232
|
* Global flag as to whether the tree has animated since the last time
|
|
84233
84233
|
* we resized the window
|
|
@@ -84295,7 +84295,7 @@ function K4({ attachResizeListener: i, defaultParent: e, measureScroll: t, check
|
|
|
84295
84295
|
c = window.innerWidth;
|
|
84296
84296
|
}), i(a, () => {
|
|
84297
84297
|
const f = window.innerWidth;
|
|
84298
|
-
f !== c && (c = f, this.root.updateBlockedByResize = !0, h && h(), h = v1e(d, 250),
|
|
84298
|
+
f !== c && (c = f, this.root.updateBlockedByResize = !0, h && h(), h = v1e(d, 250), vc.hasAnimatedSinceResize && (vc.hasAnimatedSinceResize = !1, this.nodes.forEach(gx)));
|
|
84299
84299
|
});
|
|
84300
84300
|
}
|
|
84301
84301
|
o && this.root.registerSharedNode(o, this), this.options.animate !== !1 && u && (o || l) && this.addEventListener("didUpdate", ({ delta: h, hasLayoutChanged: c, hasRelativeLayoutChanged: d, layout: f }) => {
|
|
@@ -84465,9 +84465,9 @@ function K4({ attachResizeListener: i, defaultParent: e, measureScroll: t, check
|
|
|
84465
84465
|
nr(u, a);
|
|
84466
84466
|
for (let d = 0; d < this.path.length; d++) {
|
|
84467
84467
|
const f = this.path[d];
|
|
84468
|
-
!o && f.options.layoutScroll && f.scroll && f !== f.root && (Dr(u.x, -f.scroll.offset.x), Dr(u.y, -f.scroll.offset.y)), Sa(f.latestValues) &&
|
|
84468
|
+
!o && f.options.layoutScroll && f.scroll && f !== f.root && (Dr(u.x, -f.scroll.offset.x), Dr(u.y, -f.scroll.offset.y)), Sa(f.latestValues) && mc(u, f.latestValues, (h = f.layout) == null ? void 0 : h.layoutBox);
|
|
84469
84469
|
}
|
|
84470
|
-
return Sa(this.latestValues) &&
|
|
84470
|
+
return Sa(this.latestValues) && mc(u, this.latestValues, (c = this.layout) == null ? void 0 : c.layoutBox), u;
|
|
84471
84471
|
}
|
|
84472
84472
|
removeTransform(a) {
|
|
84473
84473
|
var l;
|
|
@@ -84575,7 +84575,7 @@ function K4({ attachResizeListener: i, defaultParent: e, measureScroll: t, check
|
|
|
84575
84575
|
startAnimation(a) {
|
|
84576
84576
|
var o, l, u;
|
|
84577
84577
|
this.notifyListeners("animationStart"), (o = this.currentAnimation) == null || o.stop(), (u = (l = this.resumingFrom) == null ? void 0 : l.currentAnimation) == null || u.stop(), this.pendingAnimation && (la(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = Lt.update(() => {
|
|
84578
|
-
|
|
84578
|
+
vc.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = jo(0)), this.motionValue.jump(0, !1), this.currentAnimation = f1e(this.motionValue, [0, 1e3], {
|
|
84579
84579
|
...a,
|
|
84580
84580
|
velocity: 0,
|
|
84581
84581
|
isSync: !0,
|
|
@@ -84609,7 +84609,7 @@ function K4({ attachResizeListener: i, defaultParent: e, measureScroll: t, check
|
|
|
84609
84609
|
const d = ri(this.layout.layoutBox.y);
|
|
84610
84610
|
l.y.min = a.target.y.min, l.y.max = l.y.min + d;
|
|
84611
84611
|
}
|
|
84612
|
-
nr(o, l),
|
|
84612
|
+
nr(o, l), mc(o, h), jl(this.projectionDeltaWithTransform, this.layoutCorrected, o, h);
|
|
84613
84613
|
}
|
|
84614
84614
|
}
|
|
84615
84615
|
registerSharedNode(a, o) {
|
|
@@ -84673,12 +84673,12 @@ function K4({ attachResizeListener: i, defaultParent: e, measureScroll: t, check
|
|
|
84673
84673
|
}
|
|
84674
84674
|
const l = this.getTransformTemplate();
|
|
84675
84675
|
if (this.needsReset) {
|
|
84676
|
-
this.needsReset = !1, a.visibility = "", a.opacity = "", a.pointerEvents =
|
|
84676
|
+
this.needsReset = !1, a.visibility = "", a.opacity = "", a.pointerEvents = gc(o == null ? void 0 : o.pointerEvents) || "", a.transform = l ? l(this.latestValues, "") : "none";
|
|
84677
84677
|
return;
|
|
84678
84678
|
}
|
|
84679
84679
|
const u = this.getLead();
|
|
84680
84680
|
if (!this.projectionDelta || !this.layout || !u.target) {
|
|
84681
|
-
this.options.layoutId && (a.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, a.pointerEvents =
|
|
84681
|
+
this.options.layoutId && (a.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, a.pointerEvents = gc(o == null ? void 0 : o.pointerEvents) || ""), this.hasProjected && !Sa(this.latestValues) && (a.transform = l ? l({}, "") : "none", this.hasProjected = !1);
|
|
84682
84682
|
return;
|
|
84683
84683
|
}
|
|
84684
84684
|
a.visibility = "";
|
|
@@ -84699,7 +84699,7 @@ function K4({ attachResizeListener: i, defaultParent: e, measureScroll: t, check
|
|
|
84699
84699
|
} else
|
|
84700
84700
|
g ? this.options.visualElement.renderState.vars[y] = b : a[y] = b;
|
|
84701
84701
|
}
|
|
84702
|
-
this.options.layoutId && (a.pointerEvents = u === this ?
|
|
84702
|
+
this.options.layoutId && (a.pointerEvents = u === this ? gc(o == null ? void 0 : o.pointerEvents) || "" : "none");
|
|
84703
84703
|
}
|
|
84704
84704
|
clearSnapshot() {
|
|
84705
84705
|
this.resumeFrom = this.snapshot = void 0;
|
|
@@ -84835,7 +84835,7 @@ function N1e(i) {
|
|
|
84835
84835
|
return i !== i.root && ((e = i.scroll) == null ? void 0 : e.wasRoot);
|
|
84836
84836
|
}
|
|
84837
84837
|
const F1e = K4({
|
|
84838
|
-
attachResizeListener: (i, e) =>
|
|
84838
|
+
attachResizeListener: (i, e) => du(i, "resize", e),
|
|
84839
84839
|
measureScroll: () => {
|
|
84840
84840
|
var i, e;
|
|
84841
84841
|
return {
|
|
@@ -84909,8 +84909,8 @@ function $1e(...i) {
|
|
|
84909
84909
|
class H1e extends p.Component {
|
|
84910
84910
|
getSnapshotBeforeUpdate(e) {
|
|
84911
84911
|
const t = this.props.childRef.current;
|
|
84912
|
-
if (
|
|
84913
|
-
const s = t.offsetParent, r =
|
|
84912
|
+
if (cc(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
|
|
84913
|
+
const s = t.offsetParent, r = cc(s) && s.offsetWidth || 0, n = cc(s) && s.offsetHeight || 0, a = getComputedStyle(t), o = this.props.sizeRef.current;
|
|
84914
84914
|
o.height = parseFloat(a.height), o.width = parseFloat(a.width), o.top = t.offsetTop, o.left = t.offsetLeft, o.right = r - o.width - o.left, o.bottom = n - o.height - o.top;
|
|
84915
84915
|
}
|
|
84916
84916
|
return null;
|
|
@@ -84994,7 +84994,7 @@ function Y4(i = !0) {
|
|
|
84994
84994
|
const a = st(() => i && s && s(n), [n, s, i]);
|
|
84995
84995
|
return !t && s ? [!1, a] : [!0];
|
|
84996
84996
|
}
|
|
84997
|
-
const
|
|
84997
|
+
const Gh = (i) => i.key || "";
|
|
84998
84998
|
function Vx(i) {
|
|
84999
84999
|
const e = [];
|
|
85000
85000
|
return QI.forEach(i, (t) => {
|
|
@@ -85002,11 +85002,11 @@ function Vx(i) {
|
|
|
85002
85002
|
}), e;
|
|
85003
85003
|
}
|
|
85004
85004
|
const z1e = ({ children: i, custom: e, initial: t = !0, onExitComplete: s, presenceAffectsLayout: r = !0, mode: n = "sync", propagate: a = !1, anchorX: o = "left", anchorY: l = "top", root: u }) => {
|
|
85005
|
-
const [h, c] = Y4(a), d = vi(() => Vx(i), [i]), f = a && !h ? [] : d.map(
|
|
85005
|
+
const [h, c] = Y4(a), d = vi(() => Vx(i), [i]), f = a && !h ? [] : d.map(Gh), y = me(!0), v = me(d), m = v0(() => /* @__PURE__ */ new Map()), g = me(/* @__PURE__ */ new Set()), [b, x] = ze(d), [I, A] = ze(d);
|
|
85006
85006
|
y0(() => {
|
|
85007
85007
|
y.current = !1, v.current = d;
|
|
85008
85008
|
for (let T = 0; T < I.length; T++) {
|
|
85009
|
-
const k =
|
|
85009
|
+
const k = Gh(I[T]);
|
|
85010
85010
|
f.includes(k) ? (m.delete(k), g.current.delete(k)) : m.get(k) !== !0 && m.set(k, !1);
|
|
85011
85011
|
}
|
|
85012
85012
|
}, [I, f.length, f.join("-")]);
|
|
@@ -85014,15 +85014,15 @@ const z1e = ({ children: i, custom: e, initial: t = !0, onExitComplete: s, prese
|
|
|
85014
85014
|
if (d !== b) {
|
|
85015
85015
|
let T = [...d];
|
|
85016
85016
|
for (let k = 0; k < I.length; k++) {
|
|
85017
|
-
const _ = I[k], B =
|
|
85017
|
+
const _ = I[k], B = Gh(_);
|
|
85018
85018
|
f.includes(B) || (T.splice(k, 0, _), R.push(_));
|
|
85019
85019
|
}
|
|
85020
85020
|
return n === "wait" && R.length && (T = R), A(Vx(T)), x(d), null;
|
|
85021
85021
|
}
|
|
85022
85022
|
process.env.NODE_ENV !== "production" && n === "wait" && I.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
|
|
85023
|
-
const { forceRender: D } = is(
|
|
85023
|
+
const { forceRender: D } = is(lu);
|
|
85024
85024
|
return V.jsx(V.Fragment, { children: I.map((T) => {
|
|
85025
|
-
const k =
|
|
85025
|
+
const k = Gh(T), _ = a && !h ? !1 : d === I || f.includes(k), B = () => {
|
|
85026
85026
|
if (g.current.has(k))
|
|
85027
85027
|
return;
|
|
85028
85028
|
if (m.has(k))
|
|
@@ -85050,13 +85050,13 @@ function K1e() {
|
|
|
85050
85050
|
return [st(() => Lt.postRender(s), [s]), e];
|
|
85051
85051
|
}
|
|
85052
85052
|
const X4 = (i) => i === !0, Z1e = (i) => X4(i === !0) || i === "id", J1e = ({ children: i, id: e, inherit: t = !0 }) => {
|
|
85053
|
-
const s = is(
|
|
85053
|
+
const s = is(lu), r = is(W1e), [n, a] = K1e(), o = me(null), l = s.id || r;
|
|
85054
85054
|
o.current === null && (Z1e(t) && l && (e = e ? l + "-" + e : l), o.current = {
|
|
85055
85055
|
id: e,
|
|
85056
85056
|
group: X4(t) && s.group || xx()
|
|
85057
85057
|
});
|
|
85058
85058
|
const u = vi(() => ({ ...o.current, forceRender: n }), [a]);
|
|
85059
|
-
return V.jsx(
|
|
85059
|
+
return V.jsx(lu.Provider, { value: u, children: i });
|
|
85060
85060
|
}, eT = Cr({ strict: !1 }), Sx = {
|
|
85061
85061
|
animation: [
|
|
85062
85062
|
"animate",
|
|
@@ -85156,8 +85156,8 @@ function iye(i, e) {
|
|
|
85156
85156
|
if (hp(i)) {
|
|
85157
85157
|
const { initial: t, animate: s } = i;
|
|
85158
85158
|
return {
|
|
85159
|
-
initial: t === !1 ||
|
|
85160
|
-
animate:
|
|
85159
|
+
initial: t === !1 || cu(t) ? t : void 0,
|
|
85160
|
+
animate: cu(s) ? s : void 0
|
|
85161
85161
|
};
|
|
85162
85162
|
}
|
|
85163
85163
|
return i.inherit !== !1 ? e : {};
|
|
@@ -85274,7 +85274,7 @@ function cye({ scrapeMotionValuesFromProps: i, createRenderState: e }, t, s, r)
|
|
|
85274
85274
|
function dye(i, e, t, s) {
|
|
85275
85275
|
const r = {}, n = s(i, {});
|
|
85276
85276
|
for (const d in n)
|
|
85277
|
-
r[d] =
|
|
85277
|
+
r[d] = gc(n[d]);
|
|
85278
85278
|
let { initial: a, animate: o } = i;
|
|
85279
85279
|
const l = hp(i), u = T4(i);
|
|
85280
85280
|
e && u && !l && i.inherit !== !1 && (a === void 0 && (a = e.initial), o === void 0 && (o = e.animate));
|
|
@@ -85412,7 +85412,7 @@ function em(i, { forwardMotionProps: e = !1, type: t } = {}, s, r) {
|
|
|
85412
85412
|
return l[mye] = i, l;
|
|
85413
85413
|
}
|
|
85414
85414
|
function Cye({ layoutId: i }) {
|
|
85415
|
-
const e = is(
|
|
85415
|
+
const e = is(lu).id;
|
|
85416
85416
|
return e && i !== void 0 ? e + "-" + i : i;
|
|
85417
85417
|
}
|
|
85418
85418
|
function bye(i, e) {
|
|
@@ -85525,7 +85525,7 @@ const Iye = {
|
|
|
85525
85525
|
Feature: Tye
|
|
85526
85526
|
}
|
|
85527
85527
|
};
|
|
85528
|
-
function
|
|
85528
|
+
function Uu(i) {
|
|
85529
85529
|
return {
|
|
85530
85530
|
point: {
|
|
85531
85531
|
x: i.pageX,
|
|
@@ -85533,9 +85533,9 @@ function Qu(i) {
|
|
|
85533
85533
|
}
|
|
85534
85534
|
};
|
|
85535
85535
|
}
|
|
85536
|
-
const Pye = (i) => (e) => N0(e) && i(e,
|
|
85536
|
+
const Pye = (i) => (e) => N0(e) && i(e, Uu(e));
|
|
85537
85537
|
function zl(i, e, t, s) {
|
|
85538
|
-
return
|
|
85538
|
+
return du(i, e, Pye(t), s);
|
|
85539
85539
|
}
|
|
85540
85540
|
const lT = ({ current: i }) => i ? i.ownerDocument.defaultView : null, Px = (i, e) => Math.abs(i - e);
|
|
85541
85541
|
function Rye(i, e) {
|
|
@@ -85552,7 +85552,7 @@ class uT {
|
|
|
85552
85552
|
}, this.updatePoint = () => {
|
|
85553
85553
|
if (!(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
85554
85554
|
return;
|
|
85555
|
-
this.lastRawMoveEventInfo && (this.lastMoveEventInfo =
|
|
85555
|
+
this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Kh(this.lastRawMoveEventInfo, this.transformPagePoint));
|
|
85556
85556
|
const f = tm(this.lastMoveEventInfo, this.history), y = this.startEvent !== null, v = Rye(f.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
|
|
85557
85557
|
if (!y && !v)
|
|
85558
85558
|
return;
|
|
@@ -85561,21 +85561,21 @@ class uT {
|
|
|
85561
85561
|
const { onStart: b, onMove: x } = this.handlers;
|
|
85562
85562
|
y || (b && b(this.lastMoveEvent, f), this.startEvent = this.lastMoveEvent), x && x(this.lastMoveEvent, f);
|
|
85563
85563
|
}, this.handlePointerMove = (f, y) => {
|
|
85564
|
-
this.lastMoveEvent = f, this.lastRawMoveEventInfo = y, this.lastMoveEventInfo =
|
|
85564
|
+
this.lastMoveEvent = f, this.lastRawMoveEventInfo = y, this.lastMoveEventInfo = Kh(y, this.transformPagePoint), Lt.update(this.updatePoint, !0);
|
|
85565
85565
|
}, this.handlePointerUp = (f, y) => {
|
|
85566
85566
|
this.end();
|
|
85567
85567
|
const { onEnd: v, onSessionEnd: m, resumeAnimation: g } = this.handlers;
|
|
85568
85568
|
if ((this.dragSnapToOrigin || !this.startEvent) && g && g(), !(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
85569
85569
|
return;
|
|
85570
|
-
const b = tm(f.type === "pointercancel" ? this.lastMoveEventInfo :
|
|
85570
|
+
const b = tm(f.type === "pointercancel" ? this.lastMoveEventInfo : Kh(y, this.transformPagePoint), this.history);
|
|
85571
85571
|
this.startEvent && v && v(f, b), m && m(f, b);
|
|
85572
85572
|
}, !N0(e))
|
|
85573
85573
|
return;
|
|
85574
85574
|
this.dragSnapToOrigin = n, this.handlers = t, this.transformPagePoint = s, this.distanceThreshold = a, this.contextWindow = r || window;
|
|
85575
|
-
const l =
|
|
85575
|
+
const l = Uu(e), u = Kh(l, this.transformPagePoint), { point: h } = u, { timestamp: c } = Ms;
|
|
85576
85576
|
this.history = [{ ...h, timestamp: c }];
|
|
85577
85577
|
const { onSessionStart: d } = t;
|
|
85578
|
-
d && d(e, tm(u, this.history)), this.removeListeners =
|
|
85578
|
+
d && d(e, tm(u, this.history)), this.removeListeners = $u(zl(this.contextWindow, "pointermove", this.handlePointerMove), zl(this.contextWindow, "pointerup", this.handlePointerUp), zl(this.contextWindow, "pointercancel", this.handlePointerUp)), o && this.startScrollTracking(o);
|
|
85579
85579
|
}
|
|
85580
85580
|
/**
|
|
85581
85581
|
* Start tracking scroll on ancestors and window.
|
|
@@ -85623,7 +85623,7 @@ class uT {
|
|
|
85623
85623
|
this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), la(this.updatePoint);
|
|
85624
85624
|
}
|
|
85625
85625
|
}
|
|
85626
|
-
function
|
|
85626
|
+
function Kh(i, e) {
|
|
85627
85627
|
return e ? { point: e(i.point) } : i;
|
|
85628
85628
|
}
|
|
85629
85629
|
function Ax(i, e) {
|
|
@@ -85690,7 +85690,7 @@ function kye(i, e) {
|
|
|
85690
85690
|
function Oye(i, e) {
|
|
85691
85691
|
let t = 0.5;
|
|
85692
85692
|
const s = ri(i), r = ri(e);
|
|
85693
|
-
return r > s ? t = /* @__PURE__ */
|
|
85693
|
+
return r > s ? t = /* @__PURE__ */ uu(e.min, e.max - s, i.min) : s > r && (t = /* @__PURE__ */ uu(i.min, i.max - r, e.min)), jr(0, 1, t);
|
|
85694
85694
|
}
|
|
85695
85695
|
function Mye(i, e) {
|
|
85696
85696
|
const t = {};
|
|
@@ -85722,7 +85722,7 @@ class qye {
|
|
|
85722
85722
|
if (r && r.isPresent === !1)
|
|
85723
85723
|
return;
|
|
85724
85724
|
const n = (c) => {
|
|
85725
|
-
t && this.snapToCursor(
|
|
85725
|
+
t && this.snapToCursor(Uu(c).point), this.stopAnimation();
|
|
85726
85726
|
}, a = (c, d) => {
|
|
85727
85727
|
const { drag: f, dragPropagation: y, onDragStart: v } = this.getProps();
|
|
85728
85728
|
if (f && !y && (this.openDragLock && this.openDragLock(), this.openDragLock = n0e(f), !this.openDragLock))
|
|
@@ -85804,7 +85804,7 @@ class qye {
|
|
|
85804
85804
|
}
|
|
85805
85805
|
updateAxis(e, t, s) {
|
|
85806
85806
|
const { drag: r } = this.getProps();
|
|
85807
|
-
if (!s || !
|
|
85807
|
+
if (!s || !Zh(e, r, this.currentDirection))
|
|
85808
85808
|
return;
|
|
85809
85809
|
const n = this.getAxisMotionValue(e);
|
|
85810
85810
|
let a = this.originPoint[e] + s[e];
|
|
@@ -85836,7 +85836,7 @@ class qye {
|
|
|
85836
85836
|
}
|
|
85837
85837
|
startAnimation(e) {
|
|
85838
85838
|
const { drag: t, dragMomentum: s, dragElastic: r, dragTransition: n, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), l = this.constraints || {}, u = Tr((h) => {
|
|
85839
|
-
if (!
|
|
85839
|
+
if (!Zh(h, t, this.currentDirection))
|
|
85840
85840
|
return;
|
|
85841
85841
|
let c = l && l[h] || {};
|
|
85842
85842
|
(a === !0 || a === h) && (c = { min: 0, max: 0 });
|
|
@@ -85875,7 +85875,7 @@ class qye {
|
|
|
85875
85875
|
snapToCursor(e) {
|
|
85876
85876
|
Tr((t) => {
|
|
85877
85877
|
const { drag: s } = this.getProps();
|
|
85878
|
-
if (!
|
|
85878
|
+
if (!Zh(t, s, this.currentDirection))
|
|
85879
85879
|
return;
|
|
85880
85880
|
const { projection: r } = this.visualElement, n = this.getAxisMotionValue(t);
|
|
85881
85881
|
if (r && r.layout) {
|
|
@@ -85906,7 +85906,7 @@ class qye {
|
|
|
85906
85906
|
});
|
|
85907
85907
|
const { transformTemplate: n } = this.visualElement.getProps();
|
|
85908
85908
|
this.visualElement.current.style.transform = n ? n({}, "") : "none", s.root && s.root.updateScroll(), s.updateLayout(), this.constraints = !1, this.resolveConstraints(), Tr((a) => {
|
|
85909
|
-
if (!
|
|
85909
|
+
if (!Zh(a, e, null))
|
|
85910
85910
|
return;
|
|
85911
85911
|
const o = this.getAxisMotionValue(a), { min: l, max: u } = this.constraints[a];
|
|
85912
85912
|
o.set(Qt(l, u, r[a]));
|
|
@@ -85926,7 +85926,7 @@ class qye {
|
|
|
85926
85926
|
yo(u) && u.current && (this.constraints = this.resolveRefConstraints(), s || (s = Bye(e, u.current, () => this.scalePositionWithinConstraints())));
|
|
85927
85927
|
}, { projection: n } = this.visualElement, a = n.addEventListener("measure", r);
|
|
85928
85928
|
n && !n.layout && (n.root && n.root.updateScroll(), n.updateLayout()), Lt.read(r);
|
|
85929
|
-
const o =
|
|
85929
|
+
const o = du(window, "resize", () => this.scalePositionWithinConstraints()), l = n.addEventListener("didUpdate", ({ delta: u, hasLayoutChanged: h }) => {
|
|
85930
85930
|
this.isDragging && h && (Tr((c) => {
|
|
85931
85931
|
const d = this.getAxisMotionValue(c);
|
|
85932
85932
|
d && (this.originPoint[c] += u[c].translate, d.set(d.get() + u[c].translate));
|
|
@@ -85965,7 +85965,7 @@ function Bye(i, e, t) {
|
|
|
85965
85965
|
s(), r();
|
|
85966
85966
|
};
|
|
85967
85967
|
}
|
|
85968
|
-
function
|
|
85968
|
+
function Zh(i, e, t) {
|
|
85969
85969
|
return (e === !0 || e === i) && (t === null || t === i);
|
|
85970
85970
|
}
|
|
85971
85971
|
function $ye(i, e = 10) {
|
|
@@ -86037,7 +86037,7 @@ class Uye extends UI {
|
|
|
86037
86037
|
...n.options,
|
|
86038
86038
|
layoutDependency: this.props.layoutDependency,
|
|
86039
86039
|
onExitComplete: () => this.safeToRemove()
|
|
86040
|
-
})),
|
|
86040
|
+
})), vc.hasEverUpdated = !0;
|
|
86041
86041
|
}
|
|
86042
86042
|
getSnapshotBeforeUpdate(e) {
|
|
86043
86043
|
const { layoutDependency: t, visualElement: s, drag: r, isPresent: n } = this.props, { projection: a } = s;
|
|
@@ -86068,7 +86068,7 @@ class Uye extends UI {
|
|
|
86068
86068
|
}
|
|
86069
86069
|
}
|
|
86070
86070
|
function cT(i) {
|
|
86071
|
-
const [e, t] = Y4(), s = is(
|
|
86071
|
+
const [e, t] = Y4(), s = is(lu);
|
|
86072
86072
|
return V.jsx(Uye, { ...i, layoutGroup: s, switchLayoutGroup: is(aT), isPresent: e, safeToRemove: t });
|
|
86073
86073
|
}
|
|
86074
86074
|
const jye = {
|
|
@@ -86085,7 +86085,7 @@ function Mx(i, e, t) {
|
|
|
86085
86085
|
const { props: s } = i;
|
|
86086
86086
|
i.animationState && s.whileHover && i.animationState.setActive("whileHover", t === "Start");
|
|
86087
86087
|
const r = "onHover" + t, n = s[r];
|
|
86088
|
-
n && Lt.postRender(() => n(e,
|
|
86088
|
+
n && Lt.postRender(() => n(e, Uu(e)));
|
|
86089
86089
|
}
|
|
86090
86090
|
class zye extends ga {
|
|
86091
86091
|
mount() {
|
|
@@ -86112,7 +86112,7 @@ class Wye extends ga {
|
|
|
86112
86112
|
!this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
|
|
86113
86113
|
}
|
|
86114
86114
|
mount() {
|
|
86115
|
-
this.unmount =
|
|
86115
|
+
this.unmount = $u(du(this.node.current, "focus", () => this.onFocus()), du(this.node.current, "blur", () => this.onBlur()));
|
|
86116
86116
|
}
|
|
86117
86117
|
unmount() {
|
|
86118
86118
|
}
|
|
@@ -86123,7 +86123,7 @@ function Nx(i, e, t) {
|
|
|
86123
86123
|
return;
|
|
86124
86124
|
i.animationState && s.whileTap && i.animationState.setActive("whileTap", t === "Start");
|
|
86125
86125
|
const r = "onTap" + (t === "End" ? "" : t), n = s[r];
|
|
86126
|
-
n && Lt.postRender(() => n(e,
|
|
86126
|
+
n && Lt.postRender(() => n(e, Uu(e)));
|
|
86127
86127
|
}
|
|
86128
86128
|
class Gye extends ga {
|
|
86129
86129
|
mount() {
|
|
@@ -87002,6 +87002,7 @@ function jCe({
|
|
|
87002
87002
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
87003
87003
|
simulationConfig: a
|
|
87004
87004
|
}) {
|
|
87005
|
+
Oae(i);
|
|
87005
87006
|
const o = Wme(), l = vi(() => Pd(i), [i]), u = me((() => {
|
|
87006
87007
|
const U = {}, re = new URLSearchParams(window.location.search);
|
|
87007
87008
|
for (const [ee, de] of re.entries())
|
|
@@ -87266,7 +87267,7 @@ export {
|
|
|
87266
87267
|
PV as W,
|
|
87267
87268
|
BCe as X,
|
|
87268
87269
|
$Ce as Y,
|
|
87269
|
-
|
|
87270
|
+
Tu as Z,
|
|
87270
87271
|
Tv as _,
|
|
87271
87272
|
Yme as a,
|
|
87272
87273
|
kCe as a0,
|