point-click-components 0.0.10 → 0.0.11
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/point-click-components.js +295 -295
- package/package.json +1 -1
|
@@ -44,10 +44,10 @@ function N0() {
|
|
|
44
44
|
Ce.unshift("Warning: " + Z), Function.prototype.apply.call(console[_], console, Ce);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
var E = !1, w = !1, ee = !1,
|
|
47
|
+
var E = !1, w = !1, ee = !1, q = !1, xe = !1, at;
|
|
48
48
|
at = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
49
49
|
function pr(_) {
|
|
50
|
-
return !!(typeof _ == "string" || typeof _ == "function" || _ === o || _ === c || xe || _ === s || _ === m || _ === g ||
|
|
50
|
+
return !!(typeof _ == "string" || typeof _ == "function" || _ === o || _ === c || xe || _ === s || _ === m || _ === g || q || _ === T || E || w || ee || typeof _ == "object" && _ !== null && (_.$$typeof === R || _.$$typeof === x || _.$$typeof === l || _.$$typeof === d || _.$$typeof === h || // This needs to include all possible module reference object
|
|
51
51
|
// types supported by any Flight configuration anywhere since
|
|
52
52
|
// we don't know which Flight build this will end up being used
|
|
53
53
|
// with.
|
|
@@ -108,14 +108,14 @@ function N0() {
|
|
|
108
108
|
}
|
|
109
109
|
return null;
|
|
110
110
|
}
|
|
111
|
-
var tt = Object.assign, It = 0, Vt, Ke,
|
|
111
|
+
var tt = Object.assign, It = 0, Vt, Ke, qe, zt, rt, $e, Xe;
|
|
112
112
|
function xt() {
|
|
113
113
|
}
|
|
114
114
|
xt.__reactDisabledLog = !0;
|
|
115
115
|
function Or() {
|
|
116
116
|
{
|
|
117
117
|
if (It === 0) {
|
|
118
|
-
Vt = console.log, Ke = console.info,
|
|
118
|
+
Vt = console.log, Ke = console.info, qe = console.warn, zt = console.error, rt = console.group, $e = console.groupCollapsed, Xe = console.groupEnd;
|
|
119
119
|
var _ = {
|
|
120
120
|
configurable: !0,
|
|
121
121
|
enumerable: !0,
|
|
@@ -151,7 +151,7 @@ function N0() {
|
|
|
151
151
|
value: Ke
|
|
152
152
|
}),
|
|
153
153
|
warn: tt({}, _, {
|
|
154
|
-
value:
|
|
154
|
+
value: qe
|
|
155
155
|
}),
|
|
156
156
|
error: tt({}, _, {
|
|
157
157
|
value: zt
|
|
@@ -171,7 +171,7 @@ function N0() {
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
var oe = N.ReactCurrentDispatcher, De;
|
|
174
|
-
function
|
|
174
|
+
function Bt(_, Z, U) {
|
|
175
175
|
{
|
|
176
176
|
if (De === void 0)
|
|
177
177
|
try {
|
|
@@ -184,16 +184,16 @@ function N0() {
|
|
|
184
184
|
` + De + _;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
var nr = !1,
|
|
187
|
+
var nr = !1, Br;
|
|
188
188
|
{
|
|
189
|
-
var
|
|
190
|
-
|
|
189
|
+
var qr = typeof WeakMap == "function" ? WeakMap : Map;
|
|
190
|
+
Br = new qr();
|
|
191
191
|
}
|
|
192
192
|
function K(_, Z) {
|
|
193
193
|
if (!_ || nr)
|
|
194
194
|
return "";
|
|
195
195
|
{
|
|
196
|
-
var U =
|
|
196
|
+
var U = Br.get(_);
|
|
197
197
|
if (U !== void 0)
|
|
198
198
|
return U;
|
|
199
199
|
}
|
|
@@ -248,7 +248,7 @@ function N0() {
|
|
|
248
248
|
if (Le--, ze--, ze < 0 || me[Le] !== st[ze]) {
|
|
249
249
|
var kt = `
|
|
250
250
|
` + me[Le].replace(" at new ", " at ");
|
|
251
|
-
return _.displayName && kt.includes("<anonymous>") && (kt = kt.replace("<anonymous>", _.displayName)), typeof _ == "function" &&
|
|
251
|
+
return _.displayName && kt.includes("<anonymous>") && (kt = kt.replace("<anonymous>", _.displayName)), typeof _ == "function" && Br.set(_, kt), kt;
|
|
252
252
|
}
|
|
253
253
|
while (Le >= 1 && ze >= 0);
|
|
254
254
|
break;
|
|
@@ -257,8 +257,8 @@ function N0() {
|
|
|
257
257
|
} finally {
|
|
258
258
|
nr = !1, oe.current = Ce, wt(), Error.prepareStackTrace = ke;
|
|
259
259
|
}
|
|
260
|
-
var ir = _ ? _.displayName || _.name : "", Rr = ir ?
|
|
261
|
-
return typeof _ == "function" &&
|
|
260
|
+
var ir = _ ? _.displayName || _.name : "", Rr = ir ? Bt(ir) : "";
|
|
261
|
+
return typeof _ == "function" && Br.set(_, Rr), Rr;
|
|
262
262
|
}
|
|
263
263
|
function Ur(_, Z, U) {
|
|
264
264
|
return K(_, !1);
|
|
@@ -273,12 +273,12 @@ function N0() {
|
|
|
273
273
|
if (typeof _ == "function")
|
|
274
274
|
return K(_, nt(_));
|
|
275
275
|
if (typeof _ == "string")
|
|
276
|
-
return
|
|
276
|
+
return Bt(_);
|
|
277
277
|
switch (_) {
|
|
278
278
|
case m:
|
|
279
|
-
return
|
|
279
|
+
return Bt("Suspense");
|
|
280
280
|
case g:
|
|
281
|
-
return
|
|
281
|
+
return Bt("SuspenseList");
|
|
282
282
|
}
|
|
283
283
|
if (typeof _ == "object")
|
|
284
284
|
switch (_.$$typeof) {
|
|
@@ -296,7 +296,7 @@ function N0() {
|
|
|
296
296
|
}
|
|
297
297
|
return "";
|
|
298
298
|
}
|
|
299
|
-
var hn = Object.prototype.hasOwnProperty,
|
|
299
|
+
var hn = Object.prototype.hasOwnProperty, qt = {}, si = N.ReactDebugCurrentFrame;
|
|
300
300
|
function An(_) {
|
|
301
301
|
if (_) {
|
|
302
302
|
var Z = _._owner, U = Tt(_.type, _._source, Z ? Z.type : null);
|
|
@@ -319,7 +319,7 @@ function N0() {
|
|
|
319
319
|
} catch (Le) {
|
|
320
320
|
me = Le;
|
|
321
321
|
}
|
|
322
|
-
me && !(me instanceof Error) && (An(ke), F("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", se || "React class", U, ye, typeof me), An(null)), me instanceof Error && !(me.message in
|
|
322
|
+
me && !(me instanceof Error) && (An(ke), F("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", se || "React class", U, ye, typeof me), An(null)), me instanceof Error && !(me.message in qt) && (qt[me.message] = !0, An(ke), F("Failed %s type: %s", U, me.message), An(null));
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
@@ -651,8 +651,8 @@ var L0 = /* @__PURE__ */ (function() {
|
|
|
651
651
|
return (s = o.parentNode) == null ? void 0 : s.removeChild(o);
|
|
652
652
|
}), this.tags = [], this.ctr = 0;
|
|
653
653
|
}, i;
|
|
654
|
-
})(), ht = "-ms-", vo = "-moz-", Ee = "-webkit-", Ed = "comm", Fu = "rule", Du = "decl", W0 = "@import", Od = "@keyframes", V0 = "@layer", z0 = Math.abs, Io = String.fromCharCode,
|
|
655
|
-
function
|
|
654
|
+
})(), ht = "-ms-", vo = "-moz-", Ee = "-webkit-", Ed = "comm", Fu = "rule", Du = "decl", W0 = "@import", Od = "@keyframes", V0 = "@layer", z0 = Math.abs, Io = String.fromCharCode, B0 = Object.assign;
|
|
655
|
+
function q0(i, r) {
|
|
656
656
|
return lt(i, 0) ^ 45 ? (((r << 2 ^ lt(i, 0)) << 2 ^ lt(i, 1)) << 2 ^ lt(i, 2)) << 2 ^ lt(i, 3) : 0;
|
|
657
657
|
}
|
|
658
658
|
function Cd(i) {
|
|
@@ -670,7 +670,7 @@ function Ou(i, r) {
|
|
|
670
670
|
function lt(i, r) {
|
|
671
671
|
return i.charCodeAt(r) | 0;
|
|
672
672
|
}
|
|
673
|
-
function
|
|
673
|
+
function Bi(i, r, n) {
|
|
674
674
|
return i.slice(r, n);
|
|
675
675
|
}
|
|
676
676
|
function yr(i) {
|
|
@@ -690,7 +690,7 @@ function Po(i, r, n, o, s, c, l) {
|
|
|
690
690
|
return { value: i, root: r, parent: n, type: o, props: s, children: c, line: To, column: ti, length: l, return: "" };
|
|
691
691
|
}
|
|
692
692
|
function Ni(i, r) {
|
|
693
|
-
return
|
|
693
|
+
return B0(Po("", null, null, "", null, null, 0), i, { length: -i.length }, r);
|
|
694
694
|
}
|
|
695
695
|
function H0() {
|
|
696
696
|
return Ge;
|
|
@@ -708,9 +708,9 @@ function lo() {
|
|
|
708
708
|
return Rt;
|
|
709
709
|
}
|
|
710
710
|
function sa(i, r) {
|
|
711
|
-
return
|
|
711
|
+
return Bi(ai, i, r);
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function qi(i) {
|
|
714
714
|
switch (i) {
|
|
715
715
|
// \0 \t \n \r \s whitespace token
|
|
716
716
|
case 0:
|
|
@@ -760,7 +760,7 @@ function fo(i) {
|
|
|
760
760
|
function K0(i) {
|
|
761
761
|
for (; (Ge = xr()) && Ge < 33; )
|
|
762
762
|
Lt();
|
|
763
|
-
return
|
|
763
|
+
return qi(i) > 2 || qi(Ge) > 3 ? "" : " ";
|
|
764
764
|
}
|
|
765
765
|
function X0(i, r) {
|
|
766
766
|
for (; --r && Lt() && !(Ge < 48 || Ge > 102 || Ge > 57 && Ge < 65 || Ge > 70 && Ge < 97); )
|
|
@@ -796,7 +796,7 @@ function J0(i, r) {
|
|
|
796
796
|
return "/*" + sa(r, Rt - 1) + "*" + Io(i === 47 ? i : Lt());
|
|
797
797
|
}
|
|
798
798
|
function Q0(i) {
|
|
799
|
-
for (; !
|
|
799
|
+
for (; !qi(xr()); )
|
|
800
800
|
Lt();
|
|
801
801
|
return sa(i, Rt);
|
|
802
802
|
}
|
|
@@ -804,30 +804,30 @@ function eb(i) {
|
|
|
804
804
|
return Id(ho("", null, null, null, [""], i = Ad(i), 0, [0], i));
|
|
805
805
|
}
|
|
806
806
|
function ho(i, r, n, o, s, c, l, d, h) {
|
|
807
|
-
for (var m = 0, g = 0, x = l, R = 0, T = 0, P = 0, C = 1, A = 1, N = 1, F = 0, W = "", E = s, w = c, ee = o,
|
|
807
|
+
for (var m = 0, g = 0, x = l, R = 0, T = 0, P = 0, C = 1, A = 1, N = 1, F = 0, W = "", E = s, w = c, ee = o, q = W; A; )
|
|
808
808
|
switch (P = F, F = Lt()) {
|
|
809
809
|
// (
|
|
810
810
|
case 40:
|
|
811
|
-
if (P != 108 && lt(
|
|
812
|
-
Ou(
|
|
811
|
+
if (P != 108 && lt(q, x - 1) == 58) {
|
|
812
|
+
Ou(q += Oe(fo(F), "&", "&\f"), "&\f") != -1 && (N = -1);
|
|
813
813
|
break;
|
|
814
814
|
}
|
|
815
815
|
// " ' [
|
|
816
816
|
case 34:
|
|
817
817
|
case 39:
|
|
818
818
|
case 91:
|
|
819
|
-
|
|
819
|
+
q += fo(F);
|
|
820
820
|
break;
|
|
821
821
|
// \t \n \r \s
|
|
822
822
|
case 9:
|
|
823
823
|
case 10:
|
|
824
824
|
case 13:
|
|
825
825
|
case 32:
|
|
826
|
-
|
|
826
|
+
q += K0(P);
|
|
827
827
|
break;
|
|
828
828
|
// \
|
|
829
829
|
case 92:
|
|
830
|
-
|
|
830
|
+
q += X0(lo() - 1, 7);
|
|
831
831
|
continue;
|
|
832
832
|
// /
|
|
833
833
|
case 47:
|
|
@@ -837,12 +837,12 @@ function ho(i, r, n, o, s, c, l, d, h) {
|
|
|
837
837
|
io(tb(J0(Lt(), lo()), r, n), h);
|
|
838
838
|
break;
|
|
839
839
|
default:
|
|
840
|
-
|
|
840
|
+
q += "/";
|
|
841
841
|
}
|
|
842
842
|
break;
|
|
843
843
|
// {
|
|
844
844
|
case 123 * C:
|
|
845
|
-
d[m++] = yr(
|
|
845
|
+
d[m++] = yr(q) * N;
|
|
846
846
|
// } ; \0
|
|
847
847
|
case 125 * C:
|
|
848
848
|
case 59:
|
|
@@ -854,18 +854,18 @@ function ho(i, r, n, o, s, c, l, d, h) {
|
|
|
854
854
|
A = 0;
|
|
855
855
|
// ;
|
|
856
856
|
case 59 + g:
|
|
857
|
-
N == -1 && (
|
|
857
|
+
N == -1 && (q = Oe(q, /\f/g, "")), T > 0 && yr(q) - x && io(T > 32 ? $f(q + ";", o, n, x - 1) : $f(Oe(q, " ", "") + ";", o, n, x - 2), h);
|
|
858
858
|
break;
|
|
859
859
|
// @ ;
|
|
860
860
|
case 59:
|
|
861
|
-
|
|
861
|
+
q += ";";
|
|
862
862
|
// { rule/at-rule
|
|
863
863
|
default:
|
|
864
|
-
if (io(ee = Pf(
|
|
864
|
+
if (io(ee = Pf(q, r, n, m, g, s, d, W, E = [], w = [], x), c), F === 123)
|
|
865
865
|
if (g === 0)
|
|
866
|
-
ho(
|
|
866
|
+
ho(q, r, ee, ee, E, c, x, d, w);
|
|
867
867
|
else
|
|
868
|
-
switch (R === 99 && lt(
|
|
868
|
+
switch (R === 99 && lt(q, 3) === 110 ? 100 : R) {
|
|
869
869
|
// d l m s
|
|
870
870
|
case 100:
|
|
871
871
|
case 108:
|
|
@@ -874,14 +874,14 @@ function ho(i, r, n, o, s, c, l, d, h) {
|
|
|
874
874
|
ho(i, ee, ee, o && io(Pf(i, ee, ee, 0, 0, s, d, W, s, E = [], x), w), s, w, x, d, o ? E : w);
|
|
875
875
|
break;
|
|
876
876
|
default:
|
|
877
|
-
ho(
|
|
877
|
+
ho(q, ee, ee, ee, [""], w, 0, d, w);
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
|
-
m = g = T = 0, C = N = 1, W =
|
|
880
|
+
m = g = T = 0, C = N = 1, W = q = "", x = l;
|
|
881
881
|
break;
|
|
882
882
|
// :
|
|
883
883
|
case 58:
|
|
884
|
-
x = 1 + yr(
|
|
884
|
+
x = 1 + yr(q), T = P;
|
|
885
885
|
default:
|
|
886
886
|
if (C < 1) {
|
|
887
887
|
if (F == 123)
|
|
@@ -889,37 +889,37 @@ function ho(i, r, n, o, s, c, l, d, h) {
|
|
|
889
889
|
else if (F == 125 && C++ == 0 && G0() == 125)
|
|
890
890
|
continue;
|
|
891
891
|
}
|
|
892
|
-
switch (
|
|
892
|
+
switch (q += Io(F), F * C) {
|
|
893
893
|
// &
|
|
894
894
|
case 38:
|
|
895
|
-
N = g > 0 ? 1 : (
|
|
895
|
+
N = g > 0 ? 1 : (q += "\f", -1);
|
|
896
896
|
break;
|
|
897
897
|
// ,
|
|
898
898
|
case 44:
|
|
899
|
-
d[m++] = (yr(
|
|
899
|
+
d[m++] = (yr(q) - 1) * N, N = 1;
|
|
900
900
|
break;
|
|
901
901
|
// @
|
|
902
902
|
case 64:
|
|
903
|
-
xr() === 45 && (
|
|
903
|
+
xr() === 45 && (q += fo(Lt())), R = xr(), g = x = yr(W = q += Q0(lo())), F++;
|
|
904
904
|
break;
|
|
905
905
|
// -
|
|
906
906
|
case 45:
|
|
907
|
-
P === 45 && yr(
|
|
907
|
+
P === 45 && yr(q) == 2 && (C = 0);
|
|
908
908
|
}
|
|
909
909
|
}
|
|
910
910
|
return c;
|
|
911
911
|
}
|
|
912
912
|
function Pf(i, r, n, o, s, c, l, d, h, m, g) {
|
|
913
913
|
for (var x = s - 1, R = s === 0 ? c : [""], T = Zu(R), P = 0, C = 0, A = 0; P < o; ++P)
|
|
914
|
-
for (var N = 0, F =
|
|
914
|
+
for (var N = 0, F = Bi(i, x + 1, x = z0(C = l[P])), W = i; N < T; ++N)
|
|
915
915
|
(W = Cd(C > 0 ? R[N] + " " + F : Oe(F, /&\f/g, R[N]))) && (h[A++] = W);
|
|
916
916
|
return Po(i, r, n, s === 0 ? Fu : d, h, m, g);
|
|
917
917
|
}
|
|
918
918
|
function tb(i, r, n) {
|
|
919
|
-
return Po(i, r, n, Ed, Io(H0()),
|
|
919
|
+
return Po(i, r, n, Ed, Io(H0()), Bi(i, 2, -2), 0);
|
|
920
920
|
}
|
|
921
921
|
function $f(i, r, n, o) {
|
|
922
|
-
return Po(i, r, n, Du,
|
|
922
|
+
return Po(i, r, n, Du, Bi(i, 0, o), Bi(i, o + 1, -1), o);
|
|
923
923
|
}
|
|
924
924
|
function Qn(i, r) {
|
|
925
925
|
for (var n = "", o = Zu(i), s = 0; s < o; s++)
|
|
@@ -962,13 +962,13 @@ function ab(i) {
|
|
|
962
962
|
};
|
|
963
963
|
}
|
|
964
964
|
var ob = function(r, n, o) {
|
|
965
|
-
for (var s = 0, c = 0; s = c, c = xr(), s === 38 && c === 12 && (n[o] = 1), !
|
|
965
|
+
for (var s = 0, c = 0; s = c, c = xr(), s === 38 && c === 12 && (n[o] = 1), !qi(c); )
|
|
966
966
|
Lt();
|
|
967
967
|
return sa(r, Rt);
|
|
968
968
|
}, sb = function(r, n) {
|
|
969
969
|
var o = -1, s = 44;
|
|
970
970
|
do
|
|
971
|
-
switch (
|
|
971
|
+
switch (qi(s)) {
|
|
972
972
|
case 0:
|
|
973
973
|
s === 38 && xr() === 12 && (n[o] = 1), r[o] += ob(Rt - 1, n, o);
|
|
974
974
|
break;
|
|
@@ -1010,7 +1010,7 @@ var ob = function(r, n, o) {
|
|
|
1010
1010
|
}
|
|
1011
1011
|
};
|
|
1012
1012
|
function Td(i, r) {
|
|
1013
|
-
switch (
|
|
1013
|
+
switch (q0(i, r)) {
|
|
1014
1014
|
// color-adjust
|
|
1015
1015
|
case 5103:
|
|
1016
1016
|
return Ee + "print-" + i + i;
|
|
@@ -1337,9 +1337,9 @@ function vb() {
|
|
|
1337
1337
|
}
|
|
1338
1338
|
}
|
|
1339
1339
|
}
|
|
1340
|
-
var w = h, ee = m,
|
|
1340
|
+
var w = h, ee = m, q = d, xe = l, at = r, pr = g, Er = o, At = P, ot = T, tt = n, It = c, Vt = s, Ke = x, qe = !1;
|
|
1341
1341
|
function zt(K) {
|
|
1342
|
-
return
|
|
1342
|
+
return qe || (qe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), rt(K) || E(K) === h;
|
|
1343
1343
|
}
|
|
1344
1344
|
function rt(K) {
|
|
1345
1345
|
return E(K) === m;
|
|
@@ -1365,19 +1365,19 @@ function vb() {
|
|
|
1365
1365
|
function De(K) {
|
|
1366
1366
|
return E(K) === T;
|
|
1367
1367
|
}
|
|
1368
|
-
function
|
|
1368
|
+
function Bt(K) {
|
|
1369
1369
|
return E(K) === n;
|
|
1370
1370
|
}
|
|
1371
1371
|
function nr(K) {
|
|
1372
1372
|
return E(K) === c;
|
|
1373
1373
|
}
|
|
1374
|
-
function
|
|
1374
|
+
function Br(K) {
|
|
1375
1375
|
return E(K) === s;
|
|
1376
1376
|
}
|
|
1377
|
-
function
|
|
1377
|
+
function qr(K) {
|
|
1378
1378
|
return E(K) === x;
|
|
1379
1379
|
}
|
|
1380
|
-
Ie.AsyncMode = w, Ie.ConcurrentMode = ee, Ie.ContextConsumer =
|
|
1380
|
+
Ie.AsyncMode = w, Ie.ConcurrentMode = ee, Ie.ContextConsumer = q, Ie.ContextProvider = xe, Ie.Element = at, Ie.ForwardRef = pr, Ie.Fragment = Er, Ie.Lazy = At, Ie.Memo = ot, Ie.Portal = tt, Ie.Profiler = It, Ie.StrictMode = Vt, Ie.Suspense = Ke, Ie.isAsyncMode = zt, Ie.isConcurrentMode = rt, Ie.isContextConsumer = $e, Ie.isContextProvider = Xe, Ie.isElement = xt, Ie.isForwardRef = Or, Ie.isFragment = wt, Ie.isLazy = oe, Ie.isMemo = De, Ie.isPortal = Bt, Ie.isProfiler = nr, Ie.isStrictMode = Br, Ie.isSuspense = qr, Ie.isValidElementType = W, Ie.typeOf = E;
|
|
1381
1381
|
})()), Ie;
|
|
1382
1382
|
}
|
|
1383
1383
|
var Ff;
|
|
@@ -1438,9 +1438,9 @@ function gb() {
|
|
|
1438
1438
|
for (var W = l(P), E = l(C), w = 0; w < F.length; ++w) {
|
|
1439
1439
|
var ee = F[w];
|
|
1440
1440
|
if (!n[ee] && !(A && A[ee]) && !(E && E[ee]) && !(W && W[ee])) {
|
|
1441
|
-
var
|
|
1441
|
+
var q = g(C, ee);
|
|
1442
1442
|
try {
|
|
1443
|
-
d(P, ee,
|
|
1443
|
+
d(P, ee, q);
|
|
1444
1444
|
} catch {
|
|
1445
1445
|
}
|
|
1446
1446
|
}
|
|
@@ -1713,7 +1713,7 @@ var Ab = function(r) {
|
|
|
1713
1713
|
serialized: d,
|
|
1714
1714
|
isStringTag: typeof s == "string"
|
|
1715
1715
|
}), /* @__PURE__ */ cr.createElement(s, h));
|
|
1716
|
-
}), Wu = Pb, Lr = zi.Fragment,
|
|
1716
|
+
}), Wu = Pb, Lr = zi.Fragment, B = function(r, n, o) {
|
|
1717
1717
|
return ua.call(n, "css") ? zi.jsx(Wu, Lu(r, n), o) : zi.jsx(r, n, o);
|
|
1718
1718
|
}, Zt = function(r, n, o) {
|
|
1719
1719
|
return ua.call(n, "css") ? zi.jsxs(Wu, Lu(r, n), o) : zi.jsxs(r, n, o);
|
|
@@ -2288,9 +2288,9 @@ class pe {
|
|
|
2288
2288
|
return this.safeParse(null).success;
|
|
2289
2289
|
}
|
|
2290
2290
|
}
|
|
2291
|
-
const Nb = /^c[^\s-]{8,}$/i, Fb = /^[0-9a-z]+$/, Db = /^[0-9A-HJKMNP-TV-Z]{26}$/i, Zb = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, Lb = /^[a-z0-9_-]{21}$/i, Wb = /^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/, Vb = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, zb = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,
|
|
2291
|
+
const Nb = /^c[^\s-]{8,}$/i, Fb = /^[0-9a-z]+$/, Db = /^[0-9A-HJKMNP-TV-Z]{26}$/i, Zb = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, Lb = /^[a-z0-9_-]{21}$/i, Wb = /^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/, Vb = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, zb = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, Bb = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
|
|
2292
2292
|
let ku;
|
|
2293
|
-
const
|
|
2293
|
+
const qb = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, Ub = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/, Yb = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/, Hb = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, Gb = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, Kb = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/, Fd = "((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))", Xb = new RegExp(`^${Fd}$`);
|
|
2294
2294
|
function Dd(i) {
|
|
2295
2295
|
let r = "[0-5]\\d";
|
|
2296
2296
|
i.precision ? r = `${r}\\.\\d{${i.precision}}` : i.precision == null && (r = `${r}(\\.\\d+)?`);
|
|
@@ -2306,7 +2306,7 @@ function Zd(i) {
|
|
|
2306
2306
|
return n.push(i.local ? "Z?" : "Z"), i.offset && n.push("([+-]\\d{2}:?\\d{2})"), r = `${r}(${n.join("|")})`, new RegExp(`^${r}$`);
|
|
2307
2307
|
}
|
|
2308
2308
|
function Qb(i, r) {
|
|
2309
|
-
return !!((r === "v4" || !r) &&
|
|
2309
|
+
return !!((r === "v4" || !r) && qb.test(i) || (r === "v6" || !r) && Yb.test(i));
|
|
2310
2310
|
}
|
|
2311
2311
|
function e1(i, r) {
|
|
2312
2312
|
if (!Wb.test(i))
|
|
@@ -2379,7 +2379,7 @@ class lr extends pe {
|
|
|
2379
2379
|
message: s.message
|
|
2380
2380
|
}), n.dirty());
|
|
2381
2381
|
else if (s.kind === "emoji")
|
|
2382
|
-
ku || (ku = new RegExp(
|
|
2382
|
+
ku || (ku = new RegExp(Bb, "u")), ku.test(r.data) || (o = this._getOrReturnCtx(r, o), z(o, {
|
|
2383
2383
|
validation: "emoji",
|
|
2384
2384
|
code: L.invalid_string,
|
|
2385
2385
|
message: s.message
|
|
@@ -4534,7 +4534,7 @@ var ae;
|
|
|
4534
4534
|
})(ae || (ae = {}));
|
|
4535
4535
|
const a1 = (i, r = {
|
|
4536
4536
|
message: `Input not instance of ${i.name}`
|
|
4537
|
-
}) => Wd((n) => n instanceof i, r), M = lr.create, Q = cn.create, o1 = wo.create, s1 = ln.create, Pe = Hi.create, u1 = On.create, c1 = _o.create, Vd = Gi.create, l1 = Ki.create, f1 = ni.create, d1 = Sn.create, h1 = Vr.create, p1 = bo.create, _t = fr.create, Y = Ve.create, v1 = Ve.strictCreate, Rn = Xi.create, m1 = $o.create, g1 = Ji.create, jo = Sr.create, zr = Qi.create, y1 = xo.create, _1 = Cn.create, b1 = ei.create, x1 = ea.create, Me = ta.create, rr = fn.create, w1 = ra.create, k1 = ii.create,
|
|
4537
|
+
}) => Wd((n) => n instanceof i, r), M = lr.create, Q = cn.create, o1 = wo.create, s1 = ln.create, Pe = Hi.create, u1 = On.create, c1 = _o.create, Vd = Gi.create, l1 = Ki.create, f1 = ni.create, d1 = Sn.create, h1 = Vr.create, p1 = bo.create, _t = fr.create, Y = Ve.create, v1 = Ve.strictCreate, Rn = Xi.create, m1 = $o.create, g1 = Ji.create, jo = Sr.create, zr = Qi.create, y1 = xo.create, _1 = Cn.create, b1 = ei.create, x1 = ea.create, Me = ta.create, rr = fn.create, w1 = ra.create, k1 = ii.create, Bf = dr.create, ue = wr.create, S1 = dn.create, E1 = dr.createWithPreprocess, O1 = ca.create, zd = () => M().optional(), C1 = () => Q().optional(), zu = () => Pe().optional(), R1 = {
|
|
4538
4538
|
string: ((i) => lr.create({ ...i, coerce: !0 })),
|
|
4539
4539
|
number: ((i) => cn.create({ ...i, coerce: !0 })),
|
|
4540
4540
|
boolean: ((i) => Hi.create({
|
|
@@ -4609,7 +4609,7 @@ const a1 = (i, r = {
|
|
|
4609
4609
|
datetimeRegex: Zd,
|
|
4610
4610
|
defaultErrorMap: ri,
|
|
4611
4611
|
discriminatedUnion: m1,
|
|
4612
|
-
effect:
|
|
4612
|
+
effect: Bf,
|
|
4613
4613
|
enum: rr,
|
|
4614
4614
|
function: b1,
|
|
4615
4615
|
getErrorMap: mo,
|
|
@@ -4649,7 +4649,7 @@ const a1 = (i, r = {
|
|
|
4649
4649
|
strictObject: v1,
|
|
4650
4650
|
string: M,
|
|
4651
4651
|
symbol: c1,
|
|
4652
|
-
transformer:
|
|
4652
|
+
transformer: Bf,
|
|
4653
4653
|
tuple: jo,
|
|
4654
4654
|
undefined: Vd,
|
|
4655
4655
|
union: Rn,
|
|
@@ -4660,7 +4660,7 @@ const a1 = (i, r = {
|
|
|
4660
4660
|
void: p1
|
|
4661
4661
|
}, Symbol.toStringTag, { value: "Module" })), oa = rr(["left", "right", "up", "down"]);
|
|
4662
4662
|
oa.options;
|
|
4663
|
-
const
|
|
4663
|
+
const Bu = Y({
|
|
4664
4664
|
type: M(),
|
|
4665
4665
|
id: M(),
|
|
4666
4666
|
name: ue(M()),
|
|
@@ -4719,7 +4719,7 @@ const qu = Y({
|
|
|
4719
4719
|
steps: _t(F1)
|
|
4720
4720
|
}).extend(Mo), No = Rn([j1, D1, N1, M1]);
|
|
4721
4721
|
No.options.map((i) => i.shape.type.value);
|
|
4722
|
-
const
|
|
4722
|
+
const Bd = Y({
|
|
4723
4723
|
type: Me("order"),
|
|
4724
4724
|
actorId: M().optional(),
|
|
4725
4725
|
orders: _t(No),
|
|
@@ -4748,7 +4748,7 @@ const qd = Y({
|
|
|
4748
4748
|
targetType: rr(["actor", "item", "hotspot"]),
|
|
4749
4749
|
status: M(),
|
|
4750
4750
|
narrative: He.optional()
|
|
4751
|
-
}),
|
|
4751
|
+
}), qd = Y({
|
|
4752
4752
|
type: Me("sequence"),
|
|
4753
4753
|
sequence: M(),
|
|
4754
4754
|
narrative: He.optional()
|
|
@@ -4778,12 +4778,12 @@ const qd = Y({
|
|
|
4778
4778
|
ref: M(),
|
|
4779
4779
|
zoneType: rr(["hotspot", "obstacle", "walkable"]),
|
|
4780
4780
|
narrative: He.optional()
|
|
4781
|
-
}),
|
|
4781
|
+
}), Bo = Y({
|
|
4782
4782
|
type: Me("soundEffect"),
|
|
4783
4783
|
sound: M(),
|
|
4784
4784
|
volume: Q().optional(),
|
|
4785
4785
|
narrative: He.optional()
|
|
4786
|
-
}),
|
|
4786
|
+
}), qo = Y({
|
|
4787
4787
|
type: Me("backgroundMusic"),
|
|
4788
4788
|
sound: M().optional(),
|
|
4789
4789
|
roomId: M().optional(),
|
|
@@ -4811,17 +4811,17 @@ const qd = Y({
|
|
|
4811
4811
|
});
|
|
4812
4812
|
la.shape.zoneType.options;
|
|
4813
4813
|
const Z1 = Rn([
|
|
4814
|
-
|
|
4814
|
+
Bd,
|
|
4815
4815
|
Fo,
|
|
4816
4816
|
Do,
|
|
4817
4817
|
Zo,
|
|
4818
4818
|
Lo,
|
|
4819
|
-
|
|
4819
|
+
qd,
|
|
4820
4820
|
Wo,
|
|
4821
4821
|
zo,
|
|
4822
4822
|
la,
|
|
4823
|
-
qo,
|
|
4824
4823
|
Bo,
|
|
4824
|
+
qo,
|
|
4825
4825
|
Uo,
|
|
4826
4826
|
Yo,
|
|
4827
4827
|
Vo,
|
|
@@ -4853,17 +4853,17 @@ const Ud = Rn([
|
|
|
4853
4853
|
Wo,
|
|
4854
4854
|
zo,
|
|
4855
4855
|
la,
|
|
4856
|
-
|
|
4856
|
+
Bo,
|
|
4857
4857
|
Yo,
|
|
4858
4858
|
Fo,
|
|
4859
4859
|
Vo,
|
|
4860
|
-
|
|
4860
|
+
qo,
|
|
4861
4861
|
Uo,
|
|
4862
4862
|
Ho,
|
|
4863
4863
|
Go
|
|
4864
4864
|
]);
|
|
4865
4865
|
Ud.options.map((i) => i.shape.type.value);
|
|
4866
|
-
const
|
|
4866
|
+
const qu = Y({
|
|
4867
4867
|
verbId: M(),
|
|
4868
4868
|
targetId: M(),
|
|
4869
4869
|
roomId: M().optional(),
|
|
@@ -4886,7 +4886,7 @@ const Bu = Y({
|
|
|
4886
4886
|
id: M(),
|
|
4887
4887
|
description: M().optional(),
|
|
4888
4888
|
stages: Yd.array()
|
|
4889
|
-
}),
|
|
4889
|
+
}), qf = Y({
|
|
4890
4890
|
conversationId: M().optional(),
|
|
4891
4891
|
branchId: M().optional(),
|
|
4892
4892
|
choiceRef: M().optional()
|
|
@@ -4897,8 +4897,8 @@ const Bu = Y({
|
|
|
4897
4897
|
nextBranch: ue(M()),
|
|
4898
4898
|
once: ue(Pe()),
|
|
4899
4899
|
disabled: ue(Pe()),
|
|
4900
|
-
enablesChoices: _t(
|
|
4901
|
-
disablesChoices: _t(
|
|
4900
|
+
enablesChoices: _t(qf).optional(),
|
|
4901
|
+
disablesChoices: _t(qf).optional(),
|
|
4902
4902
|
end: ue(Pe()),
|
|
4903
4903
|
choiceSequence: Ko.optional()
|
|
4904
4904
|
}), W1 = Y({
|
|
@@ -4918,17 +4918,17 @@ const Bu = Y({
|
|
|
4918
4918
|
endingId: M(),
|
|
4919
4919
|
narrative: He.optional()
|
|
4920
4920
|
}), V1 = Rn([
|
|
4921
|
-
|
|
4921
|
+
Bd,
|
|
4922
4922
|
Fo,
|
|
4923
4923
|
Do,
|
|
4924
4924
|
Zo,
|
|
4925
4925
|
Lo,
|
|
4926
|
-
|
|
4926
|
+
qd,
|
|
4927
4927
|
Wo,
|
|
4928
4928
|
zo,
|
|
4929
4929
|
la,
|
|
4930
|
-
qo,
|
|
4931
4930
|
Bo,
|
|
4931
|
+
qo,
|
|
4932
4932
|
Uo,
|
|
4933
4933
|
Yo,
|
|
4934
4934
|
Vo,
|
|
@@ -4942,32 +4942,32 @@ const Bu = Y({
|
|
|
4942
4942
|
Wo,
|
|
4943
4943
|
zo,
|
|
4944
4944
|
la,
|
|
4945
|
-
|
|
4945
|
+
Bo,
|
|
4946
4946
|
Yo,
|
|
4947
4947
|
Fo,
|
|
4948
4948
|
Vo,
|
|
4949
|
-
|
|
4949
|
+
qo,
|
|
4950
4950
|
Uo,
|
|
4951
4951
|
Ho,
|
|
4952
4952
|
Go,
|
|
4953
4953
|
Xd
|
|
4954
|
-
]), Jd =
|
|
4954
|
+
]), Jd = qu.merge(Y({
|
|
4955
4955
|
consequences: _t(V1)
|
|
4956
4956
|
})), Uu = Ko.merge(Y({
|
|
4957
4957
|
stages: Yd.merge(Y({
|
|
4958
4958
|
immediateConsequences: ue(z1.array())
|
|
4959
4959
|
})).array()
|
|
4960
|
-
})),
|
|
4960
|
+
})), B1 = Hd.merge(Y({
|
|
4961
4961
|
choiceSequence: Uu.optional()
|
|
4962
|
-
})),
|
|
4963
|
-
choices: _t(
|
|
4962
|
+
})), q1 = Y({
|
|
4963
|
+
choices: _t(B1)
|
|
4964
4964
|
}), Qd = Gd.merge(Y({
|
|
4965
|
-
branches: zr(M(), ue(
|
|
4965
|
+
branches: zr(M(), ue(q1))
|
|
4966
4966
|
})), Uf = Y({
|
|
4967
4967
|
soundId: M(),
|
|
4968
4968
|
frameIndex: Q().optional(),
|
|
4969
4969
|
volume: Q().optional()
|
|
4970
|
-
}), U1 = zr(M(), Uf.or(Uf.array()).or(Vd())), Yu =
|
|
4970
|
+
}), U1 = zr(M(), Uf.or(Uf.array()).or(Vd())), Yu = Bu.merge(T1).merge(I1).merge(Y({
|
|
4971
4971
|
type: Me("actor"),
|
|
4972
4972
|
isPlayer: ue(Pe()),
|
|
4973
4973
|
noInteraction: ue(Pe()),
|
|
@@ -4983,7 +4983,7 @@ const Bu = Y({
|
|
|
4983
4983
|
value: Pe(),
|
|
4984
4984
|
default: Pe(),
|
|
4985
4985
|
description: M().optional()
|
|
4986
|
-
}), eh = zr(M(), Y1.optional()), Xo =
|
|
4986
|
+
}), eh = zr(M(), Y1.optional()), Xo = Bu.extend({
|
|
4987
4987
|
type: Me("item"),
|
|
4988
4988
|
actorId: M().optional()
|
|
4989
4989
|
}).and(ko.partial());
|
|
@@ -4999,7 +4999,7 @@ const H1 = _t(jo([Q(), Q()])), th = Y({
|
|
|
4999
4999
|
}), Yf = th.merge(Y({
|
|
5000
5000
|
ref: M().optional(),
|
|
5001
5001
|
disabled: Pe().optional()
|
|
5002
|
-
})), rh = th.merge(
|
|
5002
|
+
})), rh = th.merge(Bu).merge(Y({
|
|
5003
5003
|
type: Me("hotspot"),
|
|
5004
5004
|
parallax: Q(),
|
|
5005
5005
|
walkToX: Q().optional(),
|
|
@@ -5108,7 +5108,7 @@ const sx = Su.union([Su.literal(0), Su.literal(1)]).array().array(), ju = 4, ux
|
|
|
5108
5108
|
currentStoryBoardId: M().optional(),
|
|
5109
5109
|
actorOrders: zr(M(), No.array()),
|
|
5110
5110
|
currentConversationId: M().optional(),
|
|
5111
|
-
pendingInteraction:
|
|
5111
|
+
pendingInteraction: qu.optional(),
|
|
5112
5112
|
gameNotBegun: Pe(),
|
|
5113
5113
|
cellMatrix: sx.optional(),
|
|
5114
5114
|
viewAngleX: Q(),
|
|
@@ -5120,7 +5120,7 @@ const sx = Su.union([Su.literal(0), Su.literal(1)]).array().array(), ju = 4, ux
|
|
|
5120
5120
|
rooms: nh.array(),
|
|
5121
5121
|
items: Xo.array(),
|
|
5122
5122
|
actors: Yu.array(),
|
|
5123
|
-
interactions:
|
|
5123
|
+
interactions: qu.array(),
|
|
5124
5124
|
conversations: Gd.array(),
|
|
5125
5125
|
flagMap: eh,
|
|
5126
5126
|
currentRoomId: M(),
|
|
@@ -5214,8 +5214,8 @@ function sh() {
|
|
|
5214
5214
|
const x = (E, w) => Math.sqrt(Math.pow(E.x - w.x, 2) + Math.pow(E.y - w.y, 2));
|
|
5215
5215
|
i.getDistance = x;
|
|
5216
5216
|
const R = (E, w) => {
|
|
5217
|
-
const { top: ee, left:
|
|
5218
|
-
return !(E.y <= ee || E.y >= xe || E.x <=
|
|
5217
|
+
const { top: ee, left: q, bottom: xe, right: at } = w;
|
|
5218
|
+
return !(E.y <= ee || E.y >= xe || E.x <= q || E.x >= at);
|
|
5219
5219
|
};
|
|
5220
5220
|
i.isPointInsideRect = R;
|
|
5221
5221
|
const T = (E, w) => E.bottom <= w.bottom && E.top >= w.top || w.bottom <= E.bottom && w.top >= E.top, P = (E, w) => E.right <= w.right && E.left >= w.left || w.right <= E.right && w.left >= E.left, C = (E, w) => (0, i.isPointInsideRect)({ x: E.left, y: E.top }, w) || (0, i.isPointInsideRect)({ x: E.left, y: E.bottom }, w) || (0, i.isPointInsideRect)({ x: E.right, y: E.top }, w) || (0, i.isPointInsideRect)({ x: E.right, y: E.bottom }, w) || (0, i.isPointInsideRect)({ x: w.left, y: w.top }, E) || (0, i.isPointInsideRect)({ x: w.left, y: w.bottom }, E) || (0, i.isPointInsideRect)({ x: w.right, y: w.top }, E) || (0, i.isPointInsideRect)({ x: w.right, y: w.bottom }, E) || P(E, w) && T(E, w) || P(E, w) && (E.top >= w.top && E.top <= w.bottom || w.top >= E.top && w.top <= E.bottom) || T(E, w) && (E.left >= w.left && E.left <= w.right || w.left >= E.left && w.left <= E.right);
|
|
@@ -5226,16 +5226,16 @@ function sh() {
|
|
|
5226
5226
|
if (E.length === 0)
|
|
5227
5227
|
return { distance: 1 / 0 };
|
|
5228
5228
|
const ee = E.map((xe) => ({ item: xe, distance: (0, i.getDistance)(w, xe) }));
|
|
5229
|
-
let [
|
|
5229
|
+
let [q] = ee;
|
|
5230
5230
|
return ee.forEach((xe) => {
|
|
5231
|
-
|
|
5232
|
-
}),
|
|
5231
|
+
q.distance > xe.distance && (q = xe);
|
|
5232
|
+
}), q;
|
|
5233
5233
|
};
|
|
5234
5234
|
i.findClosestAndDistance = N;
|
|
5235
5235
|
const F = (E, w) => {
|
|
5236
|
-
const ee = (0, i.normaliseHeading)(E),
|
|
5237
|
-
let xe =
|
|
5238
|
-
return ee -
|
|
5236
|
+
const ee = (0, i.normaliseHeading)(E), q = (0, i.normaliseHeading)(w);
|
|
5237
|
+
let xe = q;
|
|
5238
|
+
return ee - q > r._360_DEG / 2 ? xe = q + r._360_DEG : ee - q < -r._360_DEG / 2 && (xe = q - r._360_DEG), xe - ee;
|
|
5239
5239
|
};
|
|
5240
5240
|
i.findRotationBetweenHeadings = F;
|
|
5241
5241
|
const W = (E, w) => ({
|
|
@@ -5406,8 +5406,8 @@ var ad = {}, Di = {}, po = { exports: {} }, bx = po.exports, od;
|
|
|
5406
5406
|
function xx() {
|
|
5407
5407
|
return od || (od = 1, (function(i, r) {
|
|
5408
5408
|
(function() {
|
|
5409
|
-
var n, o = "4.17.21", s = 200, c = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", d = "Invalid `variable` option passed into `_.template`", h = "__lodash_hash_undefined__", m = 500, g = "__lodash_placeholder__", x = 1, R = 2, T = 4, P = 1, C = 2, A = 1, N = 2, F = 4, W = 8, E = 16, w = 32, ee = 64,
|
|
5410
|
-
["ary",
|
|
5409
|
+
var n, o = "4.17.21", s = 200, c = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", d = "Invalid `variable` option passed into `_.template`", h = "__lodash_hash_undefined__", m = 500, g = "__lodash_placeholder__", x = 1, R = 2, T = 4, P = 1, C = 2, A = 1, N = 2, F = 4, W = 8, E = 16, w = 32, ee = 64, q = 128, xe = 256, at = 512, pr = 30, Er = "...", At = 800, ot = 16, tt = 1, It = 2, Vt = 3, Ke = 1 / 0, qe = 9007199254740991, zt = 17976931348623157e292, rt = NaN, $e = 4294967295, Xe = $e - 1, xt = $e >>> 1, Or = [
|
|
5410
|
+
["ary", q],
|
|
5411
5411
|
["bind", A],
|
|
5412
5412
|
["bindKey", N],
|
|
5413
5413
|
["curry", W],
|
|
@@ -5416,7 +5416,7 @@ function xx() {
|
|
|
5416
5416
|
["partial", w],
|
|
5417
5417
|
["partialRight", ee],
|
|
5418
5418
|
["rearg", xe]
|
|
5419
|
-
], wt = "[object Arguments]", oe = "[object Array]", De = "[object AsyncFunction]",
|
|
5419
|
+
], wt = "[object Arguments]", oe = "[object Array]", De = "[object AsyncFunction]", Bt = "[object Boolean]", nr = "[object Date]", Br = "[object DOMException]", qr = "[object Error]", K = "[object Function]", Ur = "[object GeneratorFunction]", nt = "[object Map]", Tt = "[object Number]", hn = "[object Null]", qt = "[object Object]", si = "[object Promise]", An = "[object Proxy]", pn = "[object RegExp]", Pt = "[object Set]", Cr = "[object String]", In = "[object Symbol]", ts = "[object Undefined]", Yr = "[object WeakMap]", fa = "[object WeakSet]", Hr = "[object ArrayBuffer]", Gr = "[object DataView]", Tn = "[object Float32Array]", Pn = "[object Float64Array]", ui = "[object Int8Array]", ci = "[object Int16Array]", li = "[object Int32Array]", fi = "[object Uint8Array]", di = "[object Uint8ClampedArray]", hi = "[object Uint16Array]", pi = "[object Uint32Array]", vi = /\b__p \+= '';/g, da = /\b(__p \+=) '' \+/g, Kr = /(__e\(.*?\)|\b__t\)) \+\n'';/g, $n = /&(?:amp|lt|gt|quot|#39);/g, jn = /[&<>"']/g, ha = RegExp($n.source), rs = RegExp(jn.source), pa = /<%-([\s\S]+?)%>/g, ns = /<%([\s\S]+?)%>/g, mi = /<%=([\s\S]+?)%>/g, va = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, is = /^\w*$/, as = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Mn = /[\\^$.*+?()[\]{}|]/g, ma = RegExp(Mn.source), gi = /^\s+/, os = /\s/, ss = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, us = /\{\n\/\* \[wrapped with (.+)\] \*/, _ = /,? & /, Z = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, U = /[()=,{}\[\]\/\s]/, se = /\\(\\)?/g, ke = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Ce = /\w*$/, ye = /^[-+]0x[0-9a-f]+$/i, me = /^0b[01]+$/i, st = /^\[object .+?Constructor\]$/, Le = /^0o[0-7]+$/i, ze = /^(?:0|[1-9]\d*)$/, kt = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ir = /($^)/, Rr = /['\n\r\u2028\u2029\\]/g, Je = "\\ud800-\\udfff", yi = "\\u0300-\\u036f", cs = "\\ufe20-\\ufe2f", ls = "\\u20d0-\\u20ff", rc = yi + cs + ls, nc = "\\u2700-\\u27bf", ic = "a-z\\xdf-\\xf6\\xf8-\\xff", Ah = "\\xac\\xb1\\xd7\\xf7", Ih = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Th = "\\u2000-\\u206f", Ph = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", ac = "A-Z\\xc0-\\xd6\\xd8-\\xde", oc = "\\ufe0e\\ufe0f", sc = Ah + Ih + Th + Ph, fs = "['’]", $h = "[" + Je + "]", uc = "[" + sc + "]", ga = "[" + rc + "]", cc = "\\d+", jh = "[" + nc + "]", lc = "[" + ic + "]", fc = "[^" + Je + sc + cc + nc + ic + ac + "]", ds = "\\ud83c[\\udffb-\\udfff]", Mh = "(?:" + ga + "|" + ds + ")", dc = "[^" + Je + "]", hs = "(?:\\ud83c[\\udde6-\\uddff]){2}", ps = "[\\ud800-\\udbff][\\udc00-\\udfff]", Nn = "[" + ac + "]", hc = "\\u200d", pc = "(?:" + lc + "|" + fc + ")", Nh = "(?:" + Nn + "|" + fc + ")", vc = "(?:" + fs + "(?:d|ll|m|re|s|t|ve))?", mc = "(?:" + fs + "(?:D|LL|M|RE|S|T|VE))?", gc = Mh + "?", yc = "[" + oc + "]?", Fh = "(?:" + hc + "(?:" + [dc, hs, ps].join("|") + ")" + yc + gc + ")*", Dh = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Zh = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", _c = yc + gc + Fh, Lh = "(?:" + [jh, hs, ps].join("|") + ")" + _c, Wh = "(?:" + [dc + ga + "?", ga, hs, ps, $h].join("|") + ")", Vh = RegExp(fs, "g"), zh = RegExp(ga, "g"), vs = RegExp(ds + "(?=" + ds + ")|" + Wh + _c, "g"), Bh = RegExp([
|
|
5420
5420
|
Nn + "?" + lc + "+" + vc + "(?=" + [uc, Nn, "$"].join("|") + ")",
|
|
5421
5421
|
Nh + "+" + mc + "(?=" + [uc, Nn + pc, "$"].join("|") + ")",
|
|
5422
5422
|
Nn + "?" + pc + "+" + vc,
|
|
@@ -5425,7 +5425,7 @@ function xx() {
|
|
|
5425
5425
|
Dh,
|
|
5426
5426
|
cc,
|
|
5427
5427
|
Lh
|
|
5428
|
-
].join("|"), "g"),
|
|
5428
|
+
].join("|"), "g"), qh = RegExp("[" + hc + Je + rc + oc + "]"), Uh = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, Yh = [
|
|
5429
5429
|
"Array",
|
|
5430
5430
|
"Buffer",
|
|
5431
5431
|
"DataView",
|
|
@@ -5457,9 +5457,9 @@ function xx() {
|
|
|
5457
5457
|
"parseInt",
|
|
5458
5458
|
"setTimeout"
|
|
5459
5459
|
], Hh = -1, Fe = {};
|
|
5460
|
-
Fe[Tn] = Fe[Pn] = Fe[ui] = Fe[ci] = Fe[li] = Fe[fi] = Fe[di] = Fe[hi] = Fe[pi] = !0, Fe[wt] = Fe[oe] = Fe[Hr] = Fe[
|
|
5460
|
+
Fe[Tn] = Fe[Pn] = Fe[ui] = Fe[ci] = Fe[li] = Fe[fi] = Fe[di] = Fe[hi] = Fe[pi] = !0, Fe[wt] = Fe[oe] = Fe[Hr] = Fe[Bt] = Fe[Gr] = Fe[nr] = Fe[qr] = Fe[K] = Fe[nt] = Fe[Tt] = Fe[qt] = Fe[pn] = Fe[Pt] = Fe[Cr] = Fe[Yr] = !1;
|
|
5461
5461
|
var Ne = {};
|
|
5462
|
-
Ne[wt] = Ne[oe] = Ne[Hr] = Ne[Gr] = Ne[
|
|
5462
|
+
Ne[wt] = Ne[oe] = Ne[Hr] = Ne[Gr] = Ne[Bt] = Ne[nr] = Ne[Tn] = Ne[Pn] = Ne[ui] = Ne[ci] = Ne[li] = Ne[nt] = Ne[Tt] = Ne[qt] = Ne[pn] = Ne[Pt] = Ne[Cr] = Ne[In] = Ne[fi] = Ne[di] = Ne[hi] = Ne[pi] = !0, Ne[qr] = Ne[K] = Ne[Yr] = !1;
|
|
5463
5463
|
var Gh = {
|
|
5464
5464
|
// Latin-1 Supplement block.
|
|
5465
5465
|
À: "A",
|
|
@@ -5873,7 +5873,7 @@ function xx() {
|
|
|
5873
5873
|
return k == null ? n : k[I];
|
|
5874
5874
|
}
|
|
5875
5875
|
function Dn(k) {
|
|
5876
|
-
return
|
|
5876
|
+
return qh.test(k);
|
|
5877
5877
|
}
|
|
5878
5878
|
function mp(k) {
|
|
5879
5879
|
return Uh.test(k);
|
|
@@ -5946,7 +5946,7 @@ function xx() {
|
|
|
5946
5946
|
return k.match(vs) || [];
|
|
5947
5947
|
}
|
|
5948
5948
|
function Sp(k) {
|
|
5949
|
-
return k.match(
|
|
5949
|
+
return k.match(Bh) || [];
|
|
5950
5950
|
}
|
|
5951
5951
|
var Ep = (function k(I) {
|
|
5952
5952
|
I = I == null ? ut : Ln.defaults(ut.Object(), I, Ln.pick(ut, Yh));
|
|
@@ -5961,9 +5961,9 @@ function xx() {
|
|
|
5961
5961
|
return e({}, "", {}), e;
|
|
5962
5962
|
} catch {
|
|
5963
5963
|
}
|
|
5964
|
-
})(), Pp = I.clearTimeout !== ut.clearTimeout && I.clearTimeout, $p = G && G.now !== ut.Date.now && G.now, jp = I.setTimeout !== ut.setTimeout && I.setTimeout, Ia = Qe.ceil, Ta = Qe.floor, Rs = je.getOwnPropertySymbols, Mp = Ea ? Ea.isBuffer : n, zc = I.isFinite, Np = xa.join, Fp = Nc(je.keys, je), et = Qe.max, ft = Qe.min, Dp = G.now, Zp = I.parseInt,
|
|
5964
|
+
})(), Pp = I.clearTimeout !== ut.clearTimeout && I.clearTimeout, $p = G && G.now !== ut.Date.now && G.now, jp = I.setTimeout !== ut.setTimeout && I.setTimeout, Ia = Qe.ceil, Ta = Qe.floor, Rs = je.getOwnPropertySymbols, Mp = Ea ? Ea.isBuffer : n, zc = I.isFinite, Np = xa.join, Fp = Nc(je.keys, je), et = Qe.max, ft = Qe.min, Dp = G.now, Zp = I.parseInt, Bc = Qe.random, Lp = xa.reverse, As = xn(I, "DataView"), xi = xn(I, "Map"), Is = xn(I, "Promise"), Vn = xn(I, "Set"), wi = xn(I, "WeakMap"), ki = xn(je, "create"), Pa = wi && new wi(), zn = {}, Wp = wn(As), Vp = wn(xi), zp = wn(Is), Bp = wn(Vn), qp = wn(wi), $a = en ? en.prototype : n, Si = $a ? $a.valueOf : n, qc = $a ? $a.toString : n;
|
|
5965
5965
|
function p(e) {
|
|
5966
|
-
if (
|
|
5966
|
+
if (Be(e) && !le(e) && !(e instanceof _e)) {
|
|
5967
5967
|
if (e instanceof Gt)
|
|
5968
5968
|
return e;
|
|
5969
5969
|
if (Te.call(e, "__wrapped__"))
|
|
@@ -5971,7 +5971,7 @@ function xx() {
|
|
|
5971
5971
|
}
|
|
5972
5972
|
return new Gt(e);
|
|
5973
5973
|
}
|
|
5974
|
-
var
|
|
5974
|
+
var Bn = /* @__PURE__ */ (function() {
|
|
5975
5975
|
function e() {
|
|
5976
5976
|
}
|
|
5977
5977
|
return function(t) {
|
|
@@ -6033,7 +6033,7 @@ function xx() {
|
|
|
6033
6033
|
*/
|
|
6034
6034
|
_: p
|
|
6035
6035
|
}
|
|
6036
|
-
}, p.prototype = ja.prototype, p.prototype.constructor = p, Gt.prototype =
|
|
6036
|
+
}, p.prototype = ja.prototype, p.prototype.constructor = p, Gt.prototype = Bn(ja.prototype), Gt.prototype.constructor = Gt;
|
|
6037
6037
|
function _e(e) {
|
|
6038
6038
|
this.__wrapped__ = e, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = $e, this.__views__ = [];
|
|
6039
6039
|
}
|
|
@@ -6071,7 +6071,7 @@ function xx() {
|
|
|
6071
6071
|
}
|
|
6072
6072
|
return re;
|
|
6073
6073
|
}
|
|
6074
|
-
_e.prototype =
|
|
6074
|
+
_e.prototype = Bn(ja.prototype), _e.prototype.constructor = _e;
|
|
6075
6075
|
function gn(e) {
|
|
6076
6076
|
var t = -1, a = e == null ? 0 : e.length;
|
|
6077
6077
|
for (this.clear(); ++t < a; ) {
|
|
@@ -6275,7 +6275,7 @@ function xx() {
|
|
|
6275
6275
|
var D = dt(e), V = D == K || D == Ur;
|
|
6276
6276
|
if (on(e))
|
|
6277
6277
|
return yl(e, b);
|
|
6278
|
-
if (D ==
|
|
6278
|
+
if (D == qt || D == wt || V && !f) {
|
|
6279
6279
|
if (y = S || V ? {} : Fl(e), !b)
|
|
6280
6280
|
return S ? Xv(e, bv(y, e)) : Kv(e, Hc(y, e));
|
|
6281
6281
|
} else {
|
|
@@ -6443,21 +6443,21 @@ function xx() {
|
|
|
6443
6443
|
return u == null ? n : $t(u, e, a);
|
|
6444
6444
|
}
|
|
6445
6445
|
function tl(e) {
|
|
6446
|
-
return
|
|
6446
|
+
return Be(e) && mt(e) == wt;
|
|
6447
6447
|
}
|
|
6448
6448
|
function Rv(e) {
|
|
6449
|
-
return
|
|
6449
|
+
return Be(e) && mt(e) == Hr;
|
|
6450
6450
|
}
|
|
6451
6451
|
function Av(e) {
|
|
6452
|
-
return
|
|
6452
|
+
return Be(e) && mt(e) == nr;
|
|
6453
6453
|
}
|
|
6454
6454
|
function Ri(e, t, a, u, f) {
|
|
6455
|
-
return e === t ? !0 : e == null || t == null || !
|
|
6455
|
+
return e === t ? !0 : e == null || t == null || !Be(e) && !Be(t) ? e !== e && t !== t : Iv(e, t, a, u, Ri, f);
|
|
6456
6456
|
}
|
|
6457
6457
|
function Iv(e, t, a, u, f, v) {
|
|
6458
6458
|
var y = le(e), b = le(t), S = y ? oe : dt(e), $ = b ? oe : dt(t);
|
|
6459
|
-
S = S == wt ?
|
|
6460
|
-
var j = S ==
|
|
6459
|
+
S = S == wt ? qt : S, $ = $ == wt ? qt : $;
|
|
6460
|
+
var j = S == qt, D = $ == qt, V = S == $;
|
|
6461
6461
|
if (V && on(e)) {
|
|
6462
6462
|
if (!on(t))
|
|
6463
6463
|
return !1;
|
|
@@ -6475,7 +6475,7 @@ function xx() {
|
|
|
6475
6475
|
return V ? (v || (v = new or()), im(e, t, a, u, f, v)) : !1;
|
|
6476
6476
|
}
|
|
6477
6477
|
function Tv(e) {
|
|
6478
|
-
return
|
|
6478
|
+
return Be(e) && dt(e) == nt;
|
|
6479
6479
|
}
|
|
6480
6480
|
function Fs(e, t, a, u) {
|
|
6481
6481
|
var f = a.length, v = f, y = !u;
|
|
@@ -6509,13 +6509,13 @@ function xx() {
|
|
|
6509
6509
|
return t.test(wn(e));
|
|
6510
6510
|
}
|
|
6511
6511
|
function Pv(e) {
|
|
6512
|
-
return
|
|
6512
|
+
return Be(e) && mt(e) == pn;
|
|
6513
6513
|
}
|
|
6514
6514
|
function $v(e) {
|
|
6515
|
-
return
|
|
6515
|
+
return Be(e) && dt(e) == Pt;
|
|
6516
6516
|
}
|
|
6517
6517
|
function jv(e) {
|
|
6518
|
-
return
|
|
6518
|
+
return Be(e) && eo(e.length) && !!Fe[mt(e)];
|
|
6519
6519
|
}
|
|
6520
6520
|
function nl(e) {
|
|
6521
6521
|
return typeof e == "function" ? e : e == null ? Ct : typeof e == "object" ? le(e) ? ol(e[0], e[1]) : al(e) : Of(e);
|
|
@@ -6632,13 +6632,13 @@ function xx() {
|
|
|
6632
6632
|
var f = t[a];
|
|
6633
6633
|
if (a == u || f !== v) {
|
|
6634
6634
|
var v = f;
|
|
6635
|
-
jr(f) ? Ra.call(e, f, 1) :
|
|
6635
|
+
jr(f) ? Ra.call(e, f, 1) : Bs(e, f);
|
|
6636
6636
|
}
|
|
6637
6637
|
}
|
|
6638
6638
|
return e;
|
|
6639
6639
|
}
|
|
6640
6640
|
function Ws(e, t) {
|
|
6641
|
-
return e + Ta(
|
|
6641
|
+
return e + Ta(Bc() * (t - e + 1));
|
|
6642
6642
|
}
|
|
6643
6643
|
function Zv(e, t, a, u) {
|
|
6644
6644
|
for (var f = -1, v = et(Ia((t - e) / (a || 1)), 0), y = O(v); v--; )
|
|
@@ -6647,7 +6647,7 @@ function xx() {
|
|
|
6647
6647
|
}
|
|
6648
6648
|
function Vs(e, t) {
|
|
6649
6649
|
var a = "";
|
|
6650
|
-
if (!e || t < 1 || t >
|
|
6650
|
+
if (!e || t < 1 || t > qe)
|
|
6651
6651
|
return a;
|
|
6652
6652
|
do
|
|
6653
6653
|
t % 2 && (a += e), t = Ta(t / 2), t && (e += e);
|
|
@@ -6700,7 +6700,7 @@ function xx() {
|
|
|
6700
6700
|
v[u] = e[u + t];
|
|
6701
6701
|
return v;
|
|
6702
6702
|
}
|
|
6703
|
-
function
|
|
6703
|
+
function Bv(e, t) {
|
|
6704
6704
|
var a;
|
|
6705
6705
|
return tn(e, function(u, f, v) {
|
|
6706
6706
|
return a = t(u, f, v), !a;
|
|
@@ -6750,7 +6750,7 @@ function xx() {
|
|
|
6750
6750
|
if (le(e))
|
|
6751
6751
|
return Ze(e, Mt) + "";
|
|
6752
6752
|
if (Nt(e))
|
|
6753
|
-
return
|
|
6753
|
+
return qc ? qc.call(e) : "";
|
|
6754
6754
|
var t = e + "";
|
|
6755
6755
|
return t == "0" && 1 / e == -Ke ? "-0" : t;
|
|
6756
6756
|
}
|
|
@@ -6777,7 +6777,7 @@ function xx() {
|
|
|
6777
6777
|
}
|
|
6778
6778
|
return b;
|
|
6779
6779
|
}
|
|
6780
|
-
function
|
|
6780
|
+
function Bs(e, t) {
|
|
6781
6781
|
return t = nn(t, e), e = Wl(e, t), e == null || delete e[gr(Jt(t))];
|
|
6782
6782
|
}
|
|
6783
6783
|
function pl(e, t, a, u) {
|
|
@@ -6794,7 +6794,7 @@ function xx() {
|
|
|
6794
6794
|
return f.func.apply(f.thisArg, Jr([u], f.args));
|
|
6795
6795
|
}, a);
|
|
6796
6796
|
}
|
|
6797
|
-
function
|
|
6797
|
+
function qs(e, t, a) {
|
|
6798
6798
|
var u = e.length;
|
|
6799
6799
|
if (u < 2)
|
|
6800
6800
|
return u ? rn(e[0]) : [];
|
|
@@ -6817,9 +6817,9 @@ function xx() {
|
|
|
6817
6817
|
return typeof e == "function" ? e : Ct;
|
|
6818
6818
|
}
|
|
6819
6819
|
function nn(e, t) {
|
|
6820
|
-
return le(e) ? e : ru(e, t) ? [e] :
|
|
6820
|
+
return le(e) ? e : ru(e, t) ? [e] : ql(Re(e));
|
|
6821
6821
|
}
|
|
6822
|
-
var
|
|
6822
|
+
var qv = ve;
|
|
6823
6823
|
function an(e, t, a) {
|
|
6824
6824
|
var u = e.length;
|
|
6825
6825
|
return a = a === n ? u : a, !t && a >= u ? e : Xt(e, t, a);
|
|
@@ -6919,7 +6919,7 @@ function xx() {
|
|
|
6919
6919
|
return f(a, e, te(u, 2), v);
|
|
6920
6920
|
};
|
|
6921
6921
|
}
|
|
6922
|
-
function
|
|
6922
|
+
function qn(e) {
|
|
6923
6923
|
return ve(function(t, a) {
|
|
6924
6924
|
var u = -1, f = a.length, v = f > 1 ? a[f - 1] : n, y = f > 2 ? a[2] : n;
|
|
6925
6925
|
for (v = e.length > 3 && typeof v == "function" ? (f--, v) : n, y && gt(a[0], a[1], y) && (v = f < 3 ? n : v, f = 1), t = je(t); ++u < f; ) {
|
|
@@ -6991,7 +6991,7 @@ function xx() {
|
|
|
6991
6991
|
case 7:
|
|
6992
6992
|
return new e(t[0], t[1], t[2], t[3], t[4], t[5], t[6]);
|
|
6993
6993
|
}
|
|
6994
|
-
var a =
|
|
6994
|
+
var a = Bn(e.prototype), u = e.apply(a, t);
|
|
6995
6995
|
return We(u) ? u : a;
|
|
6996
6996
|
};
|
|
6997
6997
|
}
|
|
@@ -7045,7 +7045,7 @@ function xx() {
|
|
|
7045
7045
|
for (u = y ? u : a; ++u < a; ) {
|
|
7046
7046
|
v = t[u];
|
|
7047
7047
|
var b = Ua(v), S = b == "wrapper" ? Qs(v) : n;
|
|
7048
|
-
S && nu(S[0]) && S[1] == (
|
|
7048
|
+
S && nu(S[0]) && S[1] == (q | W | w | xe) && !S[4].length && S[9] == 1 ? y = y[Ua(S[0])].apply(y, S[3]) : y = v.length == 1 && nu(v) ? y[b]() : y.thru(v);
|
|
7049
7049
|
}
|
|
7050
7050
|
return function() {
|
|
7051
7051
|
var $ = arguments, j = $[0];
|
|
@@ -7058,7 +7058,7 @@ function xx() {
|
|
|
7058
7058
|
});
|
|
7059
7059
|
}
|
|
7060
7060
|
function Va(e, t, a, u, f, v, y, b, S, $) {
|
|
7061
|
-
var j = t &
|
|
7061
|
+
var j = t & q, D = t & A, V = t & N, X = t & (W | E), re = t & at, he = V ? n : Ii(e);
|
|
7062
7062
|
function ne() {
|
|
7063
7063
|
for (var ge = arguments.length, be = O(ge), Ft = ge; Ft--; )
|
|
7064
7064
|
be[Ft] = arguments[Ft];
|
|
@@ -7112,7 +7112,7 @@ function xx() {
|
|
|
7112
7112
|
});
|
|
7113
7113
|
});
|
|
7114
7114
|
}
|
|
7115
|
-
function
|
|
7115
|
+
function Ba(e, t) {
|
|
7116
7116
|
t = t === n ? " " : Mt(t);
|
|
7117
7117
|
var a = t.length;
|
|
7118
7118
|
if (a < 2)
|
|
@@ -7136,7 +7136,7 @@ function xx() {
|
|
|
7136
7136
|
return u && typeof u != "number" && gt(t, a, u) && (a = u = n), t = Nr(t), a === n ? (a = t, t = 0) : a = Nr(a), u = u === n ? t < a ? 1 : -1 : Nr(u), Zv(t, a, u, e);
|
|
7137
7137
|
};
|
|
7138
7138
|
}
|
|
7139
|
-
function
|
|
7139
|
+
function qa(e) {
|
|
7140
7140
|
return function(t, a) {
|
|
7141
7141
|
return typeof t == "string" && typeof a == "string" || (t = Qt(t), a = Qt(a)), e(t, a);
|
|
7142
7142
|
};
|
|
@@ -7254,11 +7254,11 @@ function xx() {
|
|
|
7254
7254
|
e = e.buffer, t = t.buffer;
|
|
7255
7255
|
case Hr:
|
|
7256
7256
|
return !(e.byteLength != t.byteLength || !v(new Oa(e), new Oa(t)));
|
|
7257
|
-
case
|
|
7257
|
+
case Bt:
|
|
7258
7258
|
case nr:
|
|
7259
7259
|
case Tt:
|
|
7260
7260
|
return sr(+e, +t);
|
|
7261
|
-
case
|
|
7261
|
+
case qr:
|
|
7262
7262
|
return e.name == t.name && e.message == t.message;
|
|
7263
7263
|
case pn:
|
|
7264
7264
|
case Cr:
|
|
@@ -7375,7 +7375,7 @@ function xx() {
|
|
|
7375
7375
|
return t;
|
|
7376
7376
|
} : _u, dt = mt;
|
|
7377
7377
|
(As && dt(new As(new ArrayBuffer(1))) != Gr || xi && dt(new xi()) != nt || Is && dt(Is.resolve()) != si || Vn && dt(new Vn()) != Pt || wi && dt(new wi()) != Yr) && (dt = function(e) {
|
|
7378
|
-
var t = mt(e), a = t ==
|
|
7378
|
+
var t = mt(e), a = t == qt ? e.constructor : n, u = a ? wn(a) : "";
|
|
7379
7379
|
if (u)
|
|
7380
7380
|
switch (u) {
|
|
7381
7381
|
case Wp:
|
|
@@ -7384,9 +7384,9 @@ function xx() {
|
|
|
7384
7384
|
return nt;
|
|
7385
7385
|
case zp:
|
|
7386
7386
|
return si;
|
|
7387
|
-
case qp:
|
|
7388
|
-
return Pt;
|
|
7389
7387
|
case Bp:
|
|
7388
|
+
return Pt;
|
|
7389
|
+
case qp:
|
|
7390
7390
|
return Yr;
|
|
7391
7391
|
}
|
|
7392
7392
|
return t;
|
|
@@ -7430,14 +7430,14 @@ function xx() {
|
|
|
7430
7430
|
return t && typeof e[0] == "string" && Te.call(e, "index") && (a.index = e.index, a.input = e.input), a;
|
|
7431
7431
|
}
|
|
7432
7432
|
function Fl(e) {
|
|
7433
|
-
return typeof e.constructor == "function" && !Ti(e) ?
|
|
7433
|
+
return typeof e.constructor == "function" && !Ti(e) ? Bn(Ca(e)) : {};
|
|
7434
7434
|
}
|
|
7435
7435
|
function cm(e, t, a) {
|
|
7436
7436
|
var u = e.constructor;
|
|
7437
7437
|
switch (t) {
|
|
7438
7438
|
case Hr:
|
|
7439
7439
|
return Hs(e);
|
|
7440
|
-
case
|
|
7440
|
+
case Bt:
|
|
7441
7441
|
case nr:
|
|
7442
7442
|
return new u(+e);
|
|
7443
7443
|
case Gr:
|
|
@@ -7479,7 +7479,7 @@ function xx() {
|
|
|
7479
7479
|
}
|
|
7480
7480
|
function jr(e, t) {
|
|
7481
7481
|
var a = typeof e;
|
|
7482
|
-
return t = t ??
|
|
7482
|
+
return t = t ?? qe, !!t && (a == "number" || a != "symbol" && ze.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
7483
7483
|
}
|
|
7484
7484
|
function gt(e, t, a) {
|
|
7485
7485
|
if (!We(a))
|
|
@@ -7529,7 +7529,7 @@ function xx() {
|
|
|
7529
7529
|
return t;
|
|
7530
7530
|
}
|
|
7531
7531
|
function mm(e, t) {
|
|
7532
|
-
var a = e[1], u = t[1], f = a | u, v = f < (A | N |
|
|
7532
|
+
var a = e[1], u = t[1], f = a | u, v = f < (A | N | q), y = u == q && a == W || u == q && a == xe && e[7].length <= t[8] || u == (q | xe) && t[7].length <= t[8] && a == W;
|
|
7533
7533
|
if (!(v || y))
|
|
7534
7534
|
return e;
|
|
7535
7535
|
u & A && (e[2] = t[2], f |= a & A ? 0 : F);
|
|
@@ -7538,7 +7538,7 @@ function xx() {
|
|
|
7538
7538
|
var S = e[3];
|
|
7539
7539
|
e[3] = S ? xl(S, b, t[4]) : b, e[4] = S ? Qr(e[3], g) : t[4];
|
|
7540
7540
|
}
|
|
7541
|
-
return b = t[5], b && (S = e[5], e[5] = S ? wl(S, b, t[6]) : b, e[6] = S ? Qr(e[5], g) : t[6]), b = t[7], b && (e[7] = b), u &
|
|
7541
|
+
return b = t[5], b && (S = e[5], e[5] = S ? wl(S, b, t[6]) : b, e[6] = S ? Qr(e[5], g) : t[6]), b = t[7], b && (e[7] = b), u & q && (e[8] = e[8] == null ? t[8] : ft(e[8], t[8])), e[9] == null && (e[9] = t[9]), e[0] = t[0], e[1] = f, e;
|
|
7542
7542
|
}
|
|
7543
7543
|
function gm(e) {
|
|
7544
7544
|
var t = [];
|
|
@@ -7574,14 +7574,14 @@ function xx() {
|
|
|
7574
7574
|
if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
|
|
7575
7575
|
return e[t];
|
|
7576
7576
|
}
|
|
7577
|
-
var Vl =
|
|
7577
|
+
var Vl = Bl(fl), Pi = jp || function(e, t) {
|
|
7578
7578
|
return ut.setTimeout(e, t);
|
|
7579
|
-
}, au =
|
|
7579
|
+
}, au = Bl(Vv);
|
|
7580
7580
|
function zl(e, t, a) {
|
|
7581
7581
|
var u = t + "";
|
|
7582
7582
|
return au(e, lm(u, bm(sm(u), a)));
|
|
7583
7583
|
}
|
|
7584
|
-
function
|
|
7584
|
+
function Bl(e) {
|
|
7585
7585
|
var t = 0, a = 0;
|
|
7586
7586
|
return function() {
|
|
7587
7587
|
var u = Dp(), f = ot - (u - a);
|
|
@@ -7601,7 +7601,7 @@ function xx() {
|
|
|
7601
7601
|
}
|
|
7602
7602
|
return e.length = t, e;
|
|
7603
7603
|
}
|
|
7604
|
-
var
|
|
7604
|
+
var ql = vm(function(e) {
|
|
7605
7605
|
var t = [];
|
|
7606
7606
|
return e.charCodeAt(0) === 46 && t.push(""), e.replace(as, function(a, u, f, v) {
|
|
7607
7607
|
t.push(f ? v.replace(se, "$1") : u || a);
|
|
@@ -7767,10 +7767,10 @@ function xx() {
|
|
|
7767
7767
|
function Xl(e, t) {
|
|
7768
7768
|
return e && e.length && t && t.length ? Ls(e, t) : e;
|
|
7769
7769
|
}
|
|
7770
|
-
function
|
|
7770
|
+
function Bm(e, t, a) {
|
|
7771
7771
|
return e && e.length && t && t.length ? Ls(e, t, te(a, 2)) : e;
|
|
7772
7772
|
}
|
|
7773
|
-
function
|
|
7773
|
+
function qm(e, t, a) {
|
|
7774
7774
|
return e && e.length && t && t.length ? Ls(e, t, n, a) : e;
|
|
7775
7775
|
}
|
|
7776
7776
|
var Um = $r(function(e, t) {
|
|
@@ -7890,13 +7890,13 @@ function xx() {
|
|
|
7890
7890
|
var pg = ve(function(e, t) {
|
|
7891
7891
|
return Ue(e) ? Oi(e, t) : [];
|
|
7892
7892
|
}), vg = ve(function(e) {
|
|
7893
|
-
return
|
|
7893
|
+
return qs(Xr(e, Ue));
|
|
7894
7894
|
}), mg = ve(function(e) {
|
|
7895
7895
|
var t = Jt(e);
|
|
7896
|
-
return Ue(t) && (t = n),
|
|
7896
|
+
return Ue(t) && (t = n), qs(Xr(e, Ue), te(t, 2));
|
|
7897
7897
|
}), gg = ve(function(e) {
|
|
7898
7898
|
var t = Jt(e);
|
|
7899
|
-
return t = typeof t == "function" ? t : n,
|
|
7899
|
+
return t = typeof t == "function" ? t : n, qs(Xr(e, Ue), n, t);
|
|
7900
7900
|
}), yg = ve(su);
|
|
7901
7901
|
function _g(e, t) {
|
|
7902
7902
|
return ml(e || [], t || [], Ei);
|
|
@@ -8020,12 +8020,12 @@ function xx() {
|
|
|
8020
8020
|
function zg(e, t, a, u) {
|
|
8021
8021
|
return e == null ? [] : (le(t) || (t = t == null ? [] : [t]), a = u ? n : a, le(a) || (a = a == null ? [] : [a]), ul(e, t, a));
|
|
8022
8022
|
}
|
|
8023
|
-
var
|
|
8023
|
+
var Bg = Wa(function(e, t, a) {
|
|
8024
8024
|
e[a ? 0 : 1].push(t);
|
|
8025
8025
|
}, function() {
|
|
8026
8026
|
return [[], []];
|
|
8027
8027
|
});
|
|
8028
|
-
function
|
|
8028
|
+
function qg(e, t, a) {
|
|
8029
8029
|
var u = le(e) ? _s : Pc, f = arguments.length < 3;
|
|
8030
8030
|
return u(e, te(t, 4), a, f, tn);
|
|
8031
8031
|
}
|
|
@@ -8059,7 +8059,7 @@ function xx() {
|
|
|
8059
8059
|
return t == nt || t == Pt ? e.size : Ds(e).length;
|
|
8060
8060
|
}
|
|
8061
8061
|
function Jg(e, t, a) {
|
|
8062
|
-
var u = le(e) ? bs :
|
|
8062
|
+
var u = le(e) ? bs : Bv;
|
|
8063
8063
|
return a && gt(e, t, a) && (t = n), u(e, te(t, 3));
|
|
8064
8064
|
}
|
|
8065
8065
|
var Qg = ve(function(e, t) {
|
|
@@ -8079,7 +8079,7 @@ function xx() {
|
|
|
8079
8079
|
};
|
|
8080
8080
|
}
|
|
8081
8081
|
function rf(e, t, a) {
|
|
8082
|
-
return t = a ? n : t, t = e && t == null ? e.length : t, Pr(e,
|
|
8082
|
+
return t = a ? n : t, t = e && t == null ? e.length : t, Pr(e, q, n, n, n, n, t);
|
|
8083
8083
|
}
|
|
8084
8084
|
function nf(e, t) {
|
|
8085
8085
|
var a;
|
|
@@ -8203,7 +8203,7 @@ function xx() {
|
|
|
8203
8203
|
function iy(e) {
|
|
8204
8204
|
return nf(2, e);
|
|
8205
8205
|
}
|
|
8206
|
-
var ay =
|
|
8206
|
+
var ay = qv(function(e, t) {
|
|
8207
8207
|
t = t.length == 1 && le(t[0]) ? Ze(t[0], jt(te())) : Ze(ct(t, 1), jt(te()));
|
|
8208
8208
|
var a = t.length;
|
|
8209
8209
|
return ve(function(u) {
|
|
@@ -8273,25 +8273,25 @@ function xx() {
|
|
|
8273
8273
|
function sr(e, t) {
|
|
8274
8274
|
return e === t || e !== e && t !== t;
|
|
8275
8275
|
}
|
|
8276
|
-
var yy =
|
|
8276
|
+
var yy = qa(Ms), _y = qa(function(e, t) {
|
|
8277
8277
|
return e >= t;
|
|
8278
8278
|
}), kn = tl(/* @__PURE__ */ (function() {
|
|
8279
8279
|
return arguments;
|
|
8280
8280
|
})()) ? tl : function(e) {
|
|
8281
|
-
return
|
|
8281
|
+
return Be(e) && Te.call(e, "callee") && !Wc.call(e, "callee");
|
|
8282
8282
|
}, le = O.isArray, by = wc ? jt(wc) : Rv;
|
|
8283
8283
|
function Et(e) {
|
|
8284
8284
|
return e != null && eo(e.length) && !Mr(e);
|
|
8285
8285
|
}
|
|
8286
8286
|
function Ue(e) {
|
|
8287
|
-
return
|
|
8287
|
+
return Be(e) && Et(e);
|
|
8288
8288
|
}
|
|
8289
8289
|
function xy(e) {
|
|
8290
|
-
return e === !0 || e === !1 ||
|
|
8290
|
+
return e === !0 || e === !1 || Be(e) && mt(e) == Bt;
|
|
8291
8291
|
}
|
|
8292
8292
|
var on = Mp || bu, wy = kc ? jt(kc) : Av;
|
|
8293
8293
|
function ky(e) {
|
|
8294
|
-
return
|
|
8294
|
+
return Be(e) && e.nodeType === 1 && !$i(e);
|
|
8295
8295
|
}
|
|
8296
8296
|
function Sy(e) {
|
|
8297
8297
|
if (e == null)
|
|
@@ -8317,10 +8317,10 @@ function xx() {
|
|
|
8317
8317
|
return u === n ? Ri(e, t, n, a) : !!u;
|
|
8318
8318
|
}
|
|
8319
8319
|
function lu(e) {
|
|
8320
|
-
if (!
|
|
8320
|
+
if (!Be(e))
|
|
8321
8321
|
return !1;
|
|
8322
8322
|
var t = mt(e);
|
|
8323
|
-
return t ==
|
|
8323
|
+
return t == qr || t == Br || typeof e.message == "string" && typeof e.name == "string" && !$i(e);
|
|
8324
8324
|
}
|
|
8325
8325
|
function Cy(e) {
|
|
8326
8326
|
return typeof e == "number" && zc(e);
|
|
@@ -8335,13 +8335,13 @@ function xx() {
|
|
|
8335
8335
|
return typeof e == "number" && e == de(e);
|
|
8336
8336
|
}
|
|
8337
8337
|
function eo(e) {
|
|
8338
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
8338
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= qe;
|
|
8339
8339
|
}
|
|
8340
8340
|
function We(e) {
|
|
8341
8341
|
var t = typeof e;
|
|
8342
8342
|
return e != null && (t == "object" || t == "function");
|
|
8343
8343
|
}
|
|
8344
|
-
function
|
|
8344
|
+
function Be(e) {
|
|
8345
8345
|
return e != null && typeof e == "object";
|
|
8346
8346
|
}
|
|
8347
8347
|
var ff = Sc ? jt(Sc) : Tv;
|
|
@@ -8366,10 +8366,10 @@ function xx() {
|
|
|
8366
8366
|
return e == null;
|
|
8367
8367
|
}
|
|
8368
8368
|
function df(e) {
|
|
8369
|
-
return typeof e == "number" ||
|
|
8369
|
+
return typeof e == "number" || Be(e) && mt(e) == Tt;
|
|
8370
8370
|
}
|
|
8371
8371
|
function $i(e) {
|
|
8372
|
-
if (!
|
|
8372
|
+
if (!Be(e) || mt(e) != qt)
|
|
8373
8373
|
return !1;
|
|
8374
8374
|
var t = Ca(e);
|
|
8375
8375
|
if (t === null)
|
|
@@ -8379,26 +8379,26 @@ function xx() {
|
|
|
8379
8379
|
}
|
|
8380
8380
|
var fu = Ec ? jt(Ec) : Pv;
|
|
8381
8381
|
function jy(e) {
|
|
8382
|
-
return lf(e) && e >= -
|
|
8382
|
+
return lf(e) && e >= -qe && e <= qe;
|
|
8383
8383
|
}
|
|
8384
8384
|
var hf = Oc ? jt(Oc) : $v;
|
|
8385
8385
|
function to(e) {
|
|
8386
|
-
return typeof e == "string" || !le(e) &&
|
|
8386
|
+
return typeof e == "string" || !le(e) && Be(e) && mt(e) == Cr;
|
|
8387
8387
|
}
|
|
8388
8388
|
function Nt(e) {
|
|
8389
|
-
return typeof e == "symbol" ||
|
|
8389
|
+
return typeof e == "symbol" || Be(e) && mt(e) == In;
|
|
8390
8390
|
}
|
|
8391
8391
|
var Hn = Cc ? jt(Cc) : jv;
|
|
8392
8392
|
function My(e) {
|
|
8393
8393
|
return e === n;
|
|
8394
8394
|
}
|
|
8395
8395
|
function Ny(e) {
|
|
8396
|
-
return
|
|
8396
|
+
return Be(e) && dt(e) == Yr;
|
|
8397
8397
|
}
|
|
8398
8398
|
function Fy(e) {
|
|
8399
|
-
return
|
|
8399
|
+
return Be(e) && mt(e) == fa;
|
|
8400
8400
|
}
|
|
8401
|
-
var Dy =
|
|
8401
|
+
var Dy = qa(Zs), Zy = qa(function(e, t) {
|
|
8402
8402
|
return e <= t;
|
|
8403
8403
|
});
|
|
8404
8404
|
function pf(e) {
|
|
@@ -8446,30 +8446,30 @@ function xx() {
|
|
|
8446
8446
|
return mr(e, Ot(e));
|
|
8447
8447
|
}
|
|
8448
8448
|
function Ly(e) {
|
|
8449
|
-
return e ? _n(de(e), -
|
|
8449
|
+
return e ? _n(de(e), -qe, qe) : e === 0 ? e : 0;
|
|
8450
8450
|
}
|
|
8451
8451
|
function Re(e) {
|
|
8452
8452
|
return e == null ? "" : Mt(e);
|
|
8453
8453
|
}
|
|
8454
|
-
var Wy =
|
|
8454
|
+
var Wy = qn(function(e, t) {
|
|
8455
8455
|
if (Ti(t) || Et(t)) {
|
|
8456
8456
|
mr(t, it(t), e);
|
|
8457
8457
|
return;
|
|
8458
8458
|
}
|
|
8459
8459
|
for (var a in t)
|
|
8460
8460
|
Te.call(t, a) && Ei(e, a, t[a]);
|
|
8461
|
-
}), gf =
|
|
8461
|
+
}), gf = qn(function(e, t) {
|
|
8462
8462
|
mr(t, Ot(t), e);
|
|
8463
|
-
}), ro =
|
|
8463
|
+
}), ro = qn(function(e, t, a, u) {
|
|
8464
8464
|
mr(t, Ot(t), e, u);
|
|
8465
|
-
}), Vy =
|
|
8465
|
+
}), Vy = qn(function(e, t, a, u) {
|
|
8466
8466
|
mr(t, it(t), e, u);
|
|
8467
8467
|
}), zy = $r(Ps);
|
|
8468
|
-
function
|
|
8469
|
-
var a =
|
|
8468
|
+
function By(e, t) {
|
|
8469
|
+
var a = Bn(e);
|
|
8470
8470
|
return t == null ? a : Hc(a, t);
|
|
8471
8471
|
}
|
|
8472
|
-
var
|
|
8472
|
+
var qy = ve(function(e, t) {
|
|
8473
8473
|
e = je(e);
|
|
8474
8474
|
var a = -1, u = t.length, f = u > 2 ? t[2] : n;
|
|
8475
8475
|
for (f && gt(t[0], t[1], f) && (u = 1); ++a < u; )
|
|
@@ -8538,9 +8538,9 @@ function xx() {
|
|
|
8538
8538
|
Tr(a, f, t(u, f, v));
|
|
8539
8539
|
}), a;
|
|
8540
8540
|
}
|
|
8541
|
-
var s_ =
|
|
8541
|
+
var s_ = qn(function(e, t, a) {
|
|
8542
8542
|
Da(e, t, a);
|
|
8543
|
-
}), yf =
|
|
8543
|
+
}), yf = qn(function(e, t, a, u) {
|
|
8544
8544
|
Da(e, t, a, u);
|
|
8545
8545
|
}), u_ = $r(function(e, t) {
|
|
8546
8546
|
var a = {};
|
|
@@ -8551,7 +8551,7 @@ function xx() {
|
|
|
8551
8551
|
return v = nn(v, e), u || (u = v.length > 1), v;
|
|
8552
8552
|
}), mr(e, Js(e), a), u && (a = Kt(a, x | R | T, rm));
|
|
8553
8553
|
for (var f = t.length; f--; )
|
|
8554
|
-
|
|
8554
|
+
Bs(a, t[f]);
|
|
8555
8555
|
return a;
|
|
8556
8556
|
});
|
|
8557
8557
|
function c_(e, t) {
|
|
@@ -8590,14 +8590,14 @@ function xx() {
|
|
|
8590
8590
|
var u = le(e), f = u || on(e) || Hn(e);
|
|
8591
8591
|
if (t = te(t, 4), a == null) {
|
|
8592
8592
|
var v = e && e.constructor;
|
|
8593
|
-
f ? a = u ? new v() : [] : We(e) ? a = Mr(v) ?
|
|
8593
|
+
f ? a = u ? new v() : [] : We(e) ? a = Mr(v) ? Bn(Ca(e)) : {} : a = {};
|
|
8594
8594
|
}
|
|
8595
8595
|
return (f ? Yt : vr)(e, function(y, b, S) {
|
|
8596
8596
|
return t(a, y, b, S);
|
|
8597
8597
|
}), a;
|
|
8598
8598
|
}
|
|
8599
8599
|
function v_(e, t) {
|
|
8600
|
-
return e == null ? !0 :
|
|
8600
|
+
return e == null ? !0 : Bs(e, t);
|
|
8601
8601
|
}
|
|
8602
8602
|
function m_(e, t, a) {
|
|
8603
8603
|
return e == null ? e : pl(e, t, Ys(a));
|
|
@@ -8623,7 +8623,7 @@ function xx() {
|
|
|
8623
8623
|
e = t, t = u;
|
|
8624
8624
|
}
|
|
8625
8625
|
if (a || e % 1 || t % 1) {
|
|
8626
|
-
var f =
|
|
8626
|
+
var f = Bc();
|
|
8627
8627
|
return ft(e + f * (t - e + Qh("1e-" + ((f + "").length - 1))), t);
|
|
8628
8628
|
}
|
|
8629
8629
|
return Ws(e, t);
|
|
@@ -8661,17 +8661,17 @@ function xx() {
|
|
|
8661
8661
|
if (!t || u >= t)
|
|
8662
8662
|
return e;
|
|
8663
8663
|
var f = (t - u) / 2;
|
|
8664
|
-
return
|
|
8664
|
+
return Ba(Ta(f), a) + e + Ba(Ia(f), a);
|
|
8665
8665
|
}
|
|
8666
8666
|
function I_(e, t, a) {
|
|
8667
8667
|
e = Re(e), t = de(t);
|
|
8668
8668
|
var u = t ? Zn(e) : 0;
|
|
8669
|
-
return t && u < t ? e +
|
|
8669
|
+
return t && u < t ? e + Ba(t - u, a) : e;
|
|
8670
8670
|
}
|
|
8671
8671
|
function T_(e, t, a) {
|
|
8672
8672
|
e = Re(e), t = de(t);
|
|
8673
8673
|
var u = t ? Zn(e) : 0;
|
|
8674
|
-
return t && u < t ?
|
|
8674
|
+
return t && u < t ? Ba(t - u, a) + e : e;
|
|
8675
8675
|
}
|
|
8676
8676
|
function P_(e, t, a) {
|
|
8677
8677
|
return a || t == null ? t = 0 : t && (t = +t), Zp(Re(e).replace(gi, ""), t || 0);
|
|
@@ -8757,7 +8757,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8757
8757
|
var u = ar(e), f = Mc(u, ar(t)) + 1;
|
|
8758
8758
|
return an(u, 0, f).join("");
|
|
8759
8759
|
}
|
|
8760
|
-
function
|
|
8760
|
+
function B_(e, t, a) {
|
|
8761
8761
|
if (e = Re(e), e && (a || t === n))
|
|
8762
8762
|
return e.replace(gi, "");
|
|
8763
8763
|
if (!e || !(t = Mt(t)))
|
|
@@ -8765,7 +8765,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8765
8765
|
var u = ar(e), f = jc(u, ar(t));
|
|
8766
8766
|
return an(u, f).join("");
|
|
8767
8767
|
}
|
|
8768
|
-
function
|
|
8768
|
+
function q_(e, t) {
|
|
8769
8769
|
var a = pr, u = Er;
|
|
8770
8770
|
if (We(t)) {
|
|
8771
8771
|
var f = "separator" in t ? t.separator : f;
|
|
@@ -8917,7 +8917,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8917
8917
|
return !0;
|
|
8918
8918
|
}
|
|
8919
8919
|
function v0(e, t) {
|
|
8920
|
-
if (e = de(e), e < 1 || e >
|
|
8920
|
+
if (e = de(e), e < 1 || e > qe)
|
|
8921
8921
|
return [];
|
|
8922
8922
|
var a = $e, u = ft(e, $e);
|
|
8923
8923
|
t = te(t), e -= $e;
|
|
@@ -8926,7 +8926,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8926
8926
|
return f;
|
|
8927
8927
|
}
|
|
8928
8928
|
function m0(e) {
|
|
8929
|
-
return le(e) ? Ze(e, gr) : Nt(e) ? [e] : St(
|
|
8929
|
+
return le(e) ? Ze(e, gr) : Nt(e) ? [e] : St(ql(Re(e)));
|
|
8930
8930
|
}
|
|
8931
8931
|
function g0(e) {
|
|
8932
8932
|
var t = ++Rp;
|
|
@@ -8966,7 +8966,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8966
8966
|
function P0(e, t) {
|
|
8967
8967
|
return e && e.length ? ks(e, te(t, 2)) : 0;
|
|
8968
8968
|
}
|
|
8969
|
-
return p.after = ey, p.ary = rf, p.assign = Wy, p.assignIn = gf, p.assignInWith = ro, p.assignWith = Vy, p.at = zy, p.before = nf, p.bind = uu, p.bindAll = H_, p.bindKey = af, p.castArray = dy, p.chain = Ql, p.chunk = xm, p.compact = wm, p.concat = km, p.cond = G_, p.conforms = K_, p.constant = vu, p.countBy = Tg, p.create =
|
|
8969
|
+
return p.after = ey, p.ary = rf, p.assign = Wy, p.assignIn = gf, p.assignInWith = ro, p.assignWith = Vy, p.at = zy, p.before = nf, p.bind = uu, p.bindAll = H_, p.bindKey = af, p.castArray = dy, p.chain = Ql, p.chunk = xm, p.compact = wm, p.concat = km, p.cond = G_, p.conforms = K_, p.constant = vu, p.countBy = Tg, p.create = By, p.curry = of, p.curryRight = sf, p.debounce = uf, p.defaults = qy, p.defaultsDeep = Uy, p.defer = ty, p.delay = ry, p.difference = Sm, p.differenceBy = Em, p.differenceWith = Om, p.drop = Cm, p.dropRight = Rm, p.dropRightWhile = Am, p.dropWhile = Im, p.fill = Tm, p.filter = $g, p.flatMap = Ng, p.flatMapDeep = Fg, p.flatMapDepth = Dg, p.flatten = Gl, p.flattenDeep = Pm, p.flattenDepth = $m, p.flip = ny, p.flow = J_, p.flowRight = Q_, p.fromPairs = jm, p.functions = Qy, p.functionsIn = e_, p.groupBy = Zg, p.initial = Nm, p.intersection = Fm, p.intersectionBy = Dm, p.intersectionWith = Zm, p.invert = r_, p.invertBy = n_, p.invokeMap = Wg, p.iteratee = mu, p.keyBy = Vg, p.keys = it, p.keysIn = Ot, p.map = Ka, p.mapKeys = a_, p.mapValues = o_, p.matches = e0, p.matchesProperty = t0, p.memoize = Ja, p.merge = s_, p.mergeWith = yf, p.method = r0, p.methodOf = n0, p.mixin = gu, p.negate = Qa, p.nthArg = a0, p.omit = u_, p.omitBy = c_, p.once = iy, p.orderBy = zg, p.over = o0, p.overArgs = ay, p.overEvery = s0, p.overSome = u0, p.partial = cu, p.partialRight = cf, p.partition = Bg, p.pick = l_, p.pickBy = _f, p.property = Of, p.propertyOf = c0, p.pull = zm, p.pullAll = Xl, p.pullAllBy = Bm, p.pullAllWith = qm, p.pullAt = Um, p.range = l0, p.rangeRight = f0, p.rearg = oy, p.reject = Yg, p.remove = Ym, p.rest = sy, p.reverse = ou, p.sampleSize = Gg, p.set = d_, p.setWith = h_, p.shuffle = Kg, p.slice = Hm, p.sortBy = Qg, p.sortedUniq = tg, p.sortedUniqBy = rg, p.split = N_, p.spread = uy, p.tail = ng, p.take = ig, p.takeRight = ag, p.takeRightWhile = og, p.takeWhile = sg, p.tap = wg, p.throttle = cy, p.thru = Ga, p.toArray = pf, p.toPairs = bf, p.toPairsIn = xf, p.toPath = m0, p.toPlainObject = mf, p.transform = p_, p.unary = ly, p.union = ug, p.unionBy = cg, p.unionWith = lg, p.uniq = fg, p.uniqBy = dg, p.uniqWith = hg, p.unset = v_, p.unzip = su, p.unzipWith = Jl, p.update = m_, p.updateWith = g_, p.values = Gn, p.valuesIn = y_, p.without = pg, p.words = Sf, p.wrap = fy, p.xor = vg, p.xorBy = mg, p.xorWith = gg, p.zip = yg, p.zipObject = _g, p.zipObjectDeep = bg, p.zipWith = xg, p.entries = bf, p.entriesIn = xf, p.extend = gf, p.extendWith = ro, gu(p, p), p.add = y0, p.attempt = Ef, p.camelCase = w_, p.capitalize = wf, p.ceil = _0, p.clamp = __, p.clone = hy, p.cloneDeep = vy, p.cloneDeepWith = my, p.cloneWith = py, p.conformsTo = gy, p.deburr = kf, p.defaultTo = X_, p.divide = b0, p.endsWith = k_, p.eq = sr, p.escape = S_, p.escapeRegExp = E_, p.every = Pg, p.find = jg, p.findIndex = Yl, p.findKey = Yy, p.findLast = Mg, p.findLastIndex = Hl, p.findLastKey = Hy, p.floor = x0, p.forEach = ef, p.forEachRight = tf, p.forIn = Gy, p.forInRight = Ky, p.forOwn = Xy, p.forOwnRight = Jy, p.get = du, p.gt = yy, p.gte = _y, p.has = t_, p.hasIn = hu, p.head = Kl, p.identity = Ct, p.includes = Lg, p.indexOf = Mm, p.inRange = b_, p.invoke = i_, p.isArguments = kn, p.isArray = le, p.isArrayBuffer = by, p.isArrayLike = Et, p.isArrayLikeObject = Ue, p.isBoolean = xy, p.isBuffer = on, p.isDate = wy, p.isElement = ky, p.isEmpty = Sy, p.isEqual = Ey, p.isEqualWith = Oy, p.isError = lu, p.isFinite = Cy, p.isFunction = Mr, p.isInteger = lf, p.isLength = eo, p.isMap = ff, p.isMatch = Ry, p.isMatchWith = Ay, p.isNaN = Iy, p.isNative = Ty, p.isNil = $y, p.isNull = Py, p.isNumber = df, p.isObject = We, p.isObjectLike = Be, p.isPlainObject = $i, p.isRegExp = fu, p.isSafeInteger = jy, p.isSet = hf, p.isString = to, p.isSymbol = Nt, p.isTypedArray = Hn, p.isUndefined = My, p.isWeakMap = Ny, p.isWeakSet = Fy, p.join = Lm, p.kebabCase = O_, p.last = Jt, p.lastIndexOf = Wm, p.lowerCase = C_, p.lowerFirst = R_, p.lt = Dy, p.lte = Zy, p.max = w0, p.maxBy = k0, p.mean = S0, p.meanBy = E0, p.min = O0, p.minBy = C0, p.stubArray = _u, p.stubFalse = bu, p.stubObject = d0, p.stubString = h0, p.stubTrue = p0, p.multiply = R0, p.nth = Vm, p.noConflict = i0, p.noop = yu, p.now = Xa, p.pad = A_, p.padEnd = I_, p.padStart = T_, p.parseInt = P_, p.random = x_, p.reduce = qg, p.reduceRight = Ug, p.repeat = $_, p.replace = j_, p.result = f_, p.round = A0, p.runInContext = k, p.sample = Hg, p.size = Xg, p.snakeCase = M_, p.some = Jg, p.sortedIndex = Gm, p.sortedIndexBy = Km, p.sortedIndexOf = Xm, p.sortedLastIndex = Jm, p.sortedLastIndexBy = Qm, p.sortedLastIndexOf = eg, p.startCase = F_, p.startsWith = D_, p.subtract = I0, p.sum = T0, p.sumBy = P0, p.template = Z_, p.times = v0, p.toFinite = Nr, p.toInteger = de, p.toLength = vf, p.toLower = L_, p.toNumber = Qt, p.toSafeInteger = Ly, p.toString = Re, p.toUpper = W_, p.trim = V_, p.trimEnd = z_, p.trimStart = B_, p.truncate = q_, p.unescape = U_, p.uniqueId = g0, p.upperCase = Y_, p.upperFirst = pu, p.each = ef, p.eachRight = tf, p.first = Kl, gu(p, (function() {
|
|
8970
8970
|
var e = {};
|
|
8971
8971
|
return vr(p, function(t, a) {
|
|
8972
8972
|
Te.call(p.prototype, a) || (e[a] = t);
|
|
@@ -9489,7 +9489,7 @@ const Ax = (i) => (r, n, o, s) => {
|
|
|
9489
9489
|
const w = W === "obstacle" ? E.obstacleAreas : W === "walkable" ? E.walkableAreas : void 0;
|
|
9490
9490
|
if (!w)
|
|
9491
9491
|
break;
|
|
9492
|
-
const ee = w.find((
|
|
9492
|
+
const ee = w.find((q) => q.ref === N);
|
|
9493
9493
|
if (!ee)
|
|
9494
9494
|
break;
|
|
9495
9495
|
ee.disabled = !F, R?.id === E.id && (i.cellMatrix = Jo(E, r.cellSize)), T = !0;
|
|
@@ -9699,11 +9699,11 @@ function zx(i, r) {
|
|
|
9699
9699
|
const { height: n } = r, o = 2 * (i - n / 2) / n;
|
|
9700
9700
|
return lh(o * 2, 1, -1);
|
|
9701
9701
|
}
|
|
9702
|
-
const
|
|
9702
|
+
const Bx = (i) => {
|
|
9703
9703
|
const r = i.actors.find((o) => o.isPlayer), n = pt(i.sequenceRunning?.stages[0]?.actorToFollow, i.actors);
|
|
9704
9704
|
return n && n.room === i.currentRoomId ? n : r;
|
|
9705
9705
|
}, Qu = (i) => {
|
|
9706
|
-
const r = pt(i.currentRoomId, i.rooms), n =
|
|
9706
|
+
const r = pt(i.currentRoomId, i.rooms), n = Bx(i);
|
|
9707
9707
|
if (!(!n || !r))
|
|
9708
9708
|
return {
|
|
9709
9709
|
x: Vx(n.x, r),
|
|
@@ -9714,7 +9714,7 @@ const qx = (i) => {
|
|
|
9714
9714
|
pathIsSet: !1,
|
|
9715
9715
|
steps: []
|
|
9716
9716
|
});
|
|
9717
|
-
function
|
|
9717
|
+
function qx(i, r) {
|
|
9718
9718
|
const { targetId: n, speed: o, animation: s } = i, { currentRoomId: c, rooms: l } = r, d = pt(c, l);
|
|
9719
9719
|
if (!d)
|
|
9720
9720
|
return console.warn("failed to room for makeMoveOrderFromGoto ", i), vd();
|
|
@@ -9758,7 +9758,7 @@ function Yx(i, r, n, o, s, c, l, d = !1, h = 1) {
|
|
|
9758
9758
|
Ix(i, d, h);
|
|
9759
9759
|
break;
|
|
9760
9760
|
case "goTo": {
|
|
9761
|
-
const m =
|
|
9761
|
+
const m = qx(i, s);
|
|
9762
9762
|
c.shift(), c.unshift(m);
|
|
9763
9763
|
break;
|
|
9764
9764
|
}
|
|
@@ -10180,7 +10180,7 @@ const xw = (i) => ({
|
|
|
10180
10180
|
c.frame.row,
|
|
10181
10181
|
s
|
|
10182
10182
|
) : xw(s);
|
|
10183
|
-
return /* @__PURE__ */
|
|
10183
|
+
return /* @__PURE__ */ B("foreignObject", { x: "0", y: "0", width: n, height: o, children: /* @__PURE__ */ B("div", { style: l, children: !c && /* @__PURE__ */ B("span", { style: {
|
|
10184
10184
|
fontSize: 10
|
|
10185
10185
|
}, children: r.id }) }) });
|
|
10186
10186
|
}, Sw = ({
|
|
@@ -10199,7 +10199,7 @@ const xw = (i) => ({
|
|
|
10199
10199
|
overflow: "hidden",
|
|
10200
10200
|
pointerEvents: c ? "auto" : "none"
|
|
10201
10201
|
}, N = !!(l && d);
|
|
10202
|
-
return /* @__PURE__ */
|
|
10202
|
+
return /* @__PURE__ */ B(
|
|
10203
10203
|
"svg",
|
|
10204
10204
|
{
|
|
10205
10205
|
"data-status": h,
|
|
@@ -10213,7 +10213,7 @@ const xw = (i) => ({
|
|
|
10213
10213
|
style: A,
|
|
10214
10214
|
x: i - P / 2,
|
|
10215
10215
|
y: g.height - (r + C),
|
|
10216
|
-
children: /* @__PURE__ */
|
|
10216
|
+
children: /* @__PURE__ */ B(kw, { assetAndFrame: x, actorData: d, filter: s, widthAdjustedByScale: P, heightAdjustedByScale: C })
|
|
10217
10217
|
}
|
|
10218
10218
|
);
|
|
10219
10219
|
}, Ew = ({
|
|
@@ -10240,23 +10240,23 @@ const xw = (i) => ({
|
|
|
10240
10240
|
}, E = {
|
|
10241
10241
|
overflow: "hidden",
|
|
10242
10242
|
pointerEvents: h ? "auto" : "none"
|
|
10243
|
-
}, w = o * N, ee = n * F,
|
|
10244
|
-
return /* @__PURE__ */
|
|
10243
|
+
}, w = o * N, ee = n * F, q = !!(g && x);
|
|
10244
|
+
return /* @__PURE__ */ B(
|
|
10245
10245
|
"svg",
|
|
10246
10246
|
{
|
|
10247
10247
|
"data-status": R,
|
|
10248
10248
|
onClick: h,
|
|
10249
10249
|
onContextMenu: m,
|
|
10250
|
-
onMouseEnter:
|
|
10250
|
+
onMouseEnter: q ? () => {
|
|
10251
10251
|
g(x, "enter");
|
|
10252
10252
|
} : void 0,
|
|
10253
|
-
onMouseLeave:
|
|
10253
|
+
onMouseLeave: q ? () => {
|
|
10254
10254
|
g(x, "leave");
|
|
10255
10255
|
} : void 0,
|
|
10256
10256
|
style: E,
|
|
10257
10257
|
x: i - w / 2,
|
|
10258
10258
|
y: A.height - (r + ee),
|
|
10259
|
-
children: /* @__PURE__ */
|
|
10259
|
+
children: /* @__PURE__ */ B("foreignObject", { x: "0", y: "0", width: w, height: ee, children: /* @__PURE__ */ B("div", { style: W }) })
|
|
10260
10260
|
}
|
|
10261
10261
|
);
|
|
10262
10262
|
}, wh = (i, r) => {
|
|
@@ -10293,31 +10293,31 @@ const xw = (i) => ({
|
|
|
10293
10293
|
status: E,
|
|
10294
10294
|
soundEffectMap: w = {},
|
|
10295
10295
|
sprite: ee
|
|
10296
|
-
} = i,
|
|
10296
|
+
} = i, q = l ?? bw(ee, g), xe = Sd(void 0);
|
|
10297
10297
|
xe.current = c[0];
|
|
10298
|
-
const at = c[0], pr = uo(at, E,
|
|
10299
|
-
const Xe = xh(
|
|
10298
|
+
const at = c[0], pr = uo(at, E, q), [Er, At] = Zr(pr), [ot, tt] = Zr(0), [It, Vt] = Zr(!1), Ke = i.direction || q?.defaultDirection || "left", qe = vh(A, R.scaling), zt = co(() => {
|
|
10299
|
+
const Xe = xh(q, uo(xe.current, E, q), Ke) || [];
|
|
10300
10300
|
if (!(!Xe || r))
|
|
10301
10301
|
if (xe.current?.type === "act") {
|
|
10302
10302
|
const [xt] = xe.current.steps;
|
|
10303
10303
|
if (!xt)
|
|
10304
10304
|
return;
|
|
10305
10305
|
const { timeElapsed: Or = 0, duration: wt, reverse: oe = !1 } = xt, De = Math.floor(Xe.length * (Or / wt));
|
|
10306
|
-
tt(De), Vt(oe), At(uo(xe.current, E,
|
|
10306
|
+
tt(De), Vt(oe), At(uo(xe.current, E, q));
|
|
10307
10307
|
} else
|
|
10308
|
-
tt((xt) => xt + 1 < Xe.length ? xt + 1 : 0), Vt(!1), At(uo(xe.current, E,
|
|
10309
|
-
}, [E, Ke, r,
|
|
10308
|
+
tt((xt) => xt + 1 < Xe.length ? xt + 1 : 0), Vt(!1), At(uo(xe.current, E, q));
|
|
10309
|
+
}, [E, Ke, r, q]);
|
|
10310
10310
|
un(zt, [zt, Ke, pr]), mh(zt, P);
|
|
10311
10311
|
const rt = n ? (Xe) => {
|
|
10312
10312
|
Xe.stopPropagation(), n(i, Xe.nativeEvent);
|
|
10313
10313
|
} : void 0, $e = n ? (Xe) => {
|
|
10314
10314
|
Xe.stopPropagation(), s && (Xe.preventDefault(), s(i, Xe.nativeEvent));
|
|
10315
10315
|
} : void 0;
|
|
10316
|
-
return
|
|
10317
|
-
/* @__PURE__ */
|
|
10316
|
+
return q ? /* @__PURE__ */ Zt(Lr, { children: [
|
|
10317
|
+
/* @__PURE__ */ B(
|
|
10318
10318
|
Ew,
|
|
10319
10319
|
{
|
|
10320
|
-
spriteData:
|
|
10320
|
+
spriteData: q,
|
|
10321
10321
|
animationName: Er,
|
|
10322
10322
|
getImageAsset: h,
|
|
10323
10323
|
direction: Ke,
|
|
@@ -10329,13 +10329,13 @@ const xw = (i) => ({
|
|
|
10329
10329
|
hoverData: i,
|
|
10330
10330
|
x: C,
|
|
10331
10331
|
y: A,
|
|
10332
|
-
height: N *
|
|
10333
|
-
width: F *
|
|
10332
|
+
height: N * qe,
|
|
10333
|
+
width: F * qe,
|
|
10334
10334
|
filter: W,
|
|
10335
10335
|
status: i.status
|
|
10336
10336
|
}
|
|
10337
10337
|
),
|
|
10338
|
-
!d && !!x && /* @__PURE__ */
|
|
10338
|
+
!d && !!x && /* @__PURE__ */ B("foreignObject", { children: /* @__PURE__ */ B(
|
|
10339
10339
|
x,
|
|
10340
10340
|
{
|
|
10341
10341
|
getSoundAsset: m,
|
|
@@ -10344,7 +10344,7 @@ const xw = (i) => ({
|
|
|
10344
10344
|
frameIndex: ot
|
|
10345
10345
|
}
|
|
10346
10346
|
) })
|
|
10347
|
-
] }) : /* @__PURE__ */
|
|
10347
|
+
] }) : /* @__PURE__ */ B(
|
|
10348
10348
|
Sw,
|
|
10349
10349
|
{
|
|
10350
10350
|
getImageAsset: h,
|
|
@@ -10353,8 +10353,8 @@ const xw = (i) => ({
|
|
|
10353
10353
|
actorData: i,
|
|
10354
10354
|
x: C,
|
|
10355
10355
|
y: A,
|
|
10356
|
-
height: N *
|
|
10357
|
-
width: F *
|
|
10356
|
+
height: N * qe,
|
|
10357
|
+
width: F * qe,
|
|
10358
10358
|
filter: W,
|
|
10359
10359
|
status: i.status
|
|
10360
10360
|
}
|
|
@@ -10366,7 +10366,7 @@ const xw = (i) => ({
|
|
|
10366
10366
|
}) => {
|
|
10367
10367
|
const { roomData: o } = hr(), s = n || r.toFixed(0), c = o.height - r;
|
|
10368
10368
|
return /* @__PURE__ */ Zt(Lr, { children: [
|
|
10369
|
-
/* @__PURE__ */
|
|
10369
|
+
/* @__PURE__ */ B(
|
|
10370
10370
|
"line",
|
|
10371
10371
|
{
|
|
10372
10372
|
x1: 0,
|
|
@@ -10377,7 +10377,7 @@ const xw = (i) => ({
|
|
|
10377
10377
|
strokeDasharray: "4 3"
|
|
10378
10378
|
}
|
|
10379
10379
|
),
|
|
10380
|
-
/* @__PURE__ */
|
|
10380
|
+
/* @__PURE__ */ B(
|
|
10381
10381
|
"text",
|
|
10382
10382
|
{
|
|
10383
10383
|
x: o.width / 2,
|
|
@@ -10497,7 +10497,7 @@ const br = {
|
|
|
10497
10497
|
})
|
|
10498
10498
|
}, Nu = ({ children: i }) => {
|
|
10499
10499
|
const { roomData: { width: r, height: n, frameHeight: o = n, frameWidth: s }, viewAngleY: c, viewAngleX: l, scale: d } = hr(), h = (n - o) * d, m = -h / 2 + c * h / 2, g = (r - s) * d, x = -g / 2 + l * g / 2;
|
|
10500
|
-
return /* @__PURE__ */
|
|
10500
|
+
return /* @__PURE__ */ B(
|
|
10501
10501
|
"svg",
|
|
10502
10502
|
{
|
|
10503
10503
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10532,7 +10532,7 @@ const br = {
|
|
|
10532
10532
|
sprites: h
|
|
10533
10533
|
}) => {
|
|
10534
10534
|
const m = Iw(i.height, n, s), g = m * i.width, x = m * i.height, R = Tw(n, g, x, s);
|
|
10535
|
-
return /* @__PURE__ */
|
|
10535
|
+
return /* @__PURE__ */ B(tc.Provider, { value: {
|
|
10536
10536
|
roomData: {
|
|
10537
10537
|
height: x,
|
|
10538
10538
|
width: g,
|
|
@@ -10544,13 +10544,13 @@ const br = {
|
|
|
10544
10544
|
viewAngleY: 0,
|
|
10545
10545
|
scale: R,
|
|
10546
10546
|
orderSpeed: 1
|
|
10547
|
-
}, children: /* @__PURE__ */
|
|
10547
|
+
}, children: /* @__PURE__ */ B("figure", { style: {
|
|
10548
10548
|
width: g * R,
|
|
10549
10549
|
height: x * R,
|
|
10550
10550
|
margin: 0,
|
|
10551
10551
|
position: "relative"
|
|
10552
10552
|
}, children: /* @__PURE__ */ Zt(Nu, { children: [
|
|
10553
|
-
/* @__PURE__ */
|
|
10553
|
+
/* @__PURE__ */ B(
|
|
10554
10554
|
kh,
|
|
10555
10555
|
{
|
|
10556
10556
|
isPaused: !1,
|
|
@@ -10572,7 +10572,7 @@ const br = {
|
|
|
10572
10572
|
sprites: h
|
|
10573
10573
|
}
|
|
10574
10574
|
),
|
|
10575
|
-
!o && /* @__PURE__ */
|
|
10575
|
+
!o && /* @__PURE__ */ B(Cw, { y: i.baseline || 0 })
|
|
10576
10576
|
] }) }) });
|
|
10577
10577
|
}, Pw = (i, r, n) => {
|
|
10578
10578
|
const { actors: o, actorOrders: s, sequenceRunning: c, rooms: l, currentRoomId: d } = i, h = l.find((x) => x.id === d), m = c ? c.stages[0].actorOrders || {} : s;
|
|
@@ -10595,7 +10595,7 @@ const br = {
|
|
|
10595
10595
|
if (!g)
|
|
10596
10596
|
return null;
|
|
10597
10597
|
const x = 240 / n, R = 40 / n, T = `${16 / n}px`, P = h - x / 2, C = yd(P, r.frameWidth - x, 0), A = r.height - yd(d + R, r.height, 0), N = C > P ? "left" : C < P ? "right" : "center";
|
|
10598
|
-
return /* @__PURE__ */
|
|
10598
|
+
return /* @__PURE__ */ B(
|
|
10599
10599
|
"svg",
|
|
10600
10600
|
{
|
|
10601
10601
|
style: {
|
|
@@ -10604,14 +10604,14 @@ const br = {
|
|
|
10604
10604
|
},
|
|
10605
10605
|
x: C,
|
|
10606
10606
|
y: A,
|
|
10607
|
-
children: /* @__PURE__ */
|
|
10607
|
+
children: /* @__PURE__ */ B("foreignObject", { x: "0", y: "0", width: x, height: R, style: {
|
|
10608
10608
|
overflow: "visible"
|
|
10609
|
-
}, children: /* @__PURE__ */
|
|
10609
|
+
}, children: /* @__PURE__ */ B("div", { style: {
|
|
10610
10610
|
textAlign: N,
|
|
10611
10611
|
fontSize: T,
|
|
10612
10612
|
height: R,
|
|
10613
10613
|
fontFamily: c
|
|
10614
|
-
}, children: /* @__PURE__ */
|
|
10614
|
+
}, children: /* @__PURE__ */ B(
|
|
10615
10615
|
"span",
|
|
10616
10616
|
{
|
|
10617
10617
|
style: {
|
|
@@ -10627,17 +10627,17 @@ const br = {
|
|
|
10627
10627
|
};
|
|
10628
10628
|
function bd({ layer: i, getImageAsset: r }) {
|
|
10629
10629
|
const { roomData: n, viewAngleX: o, viewAngleY: s } = hr(), { parallax: c, imageId: l, placement: d } = i, { frameWidth: h, height: m, frameHeight: g = m } = n, x = r(l)?.href, R = yh(c, n), P = h / 2 + Qo(o, c, n) - R / 2, C = _h(c, n), N = g / 2 + es(s, c, n) - C / 2;
|
|
10630
|
-
return d ? /* @__PURE__ */
|
|
10630
|
+
return d ? /* @__PURE__ */ B("svg", { x: P, y: N, style: { overflow: "visible", pointerEvents: "none" }, children: /* @__PURE__ */ B(
|
|
10631
10631
|
"image",
|
|
10632
10632
|
{
|
|
10633
10633
|
...d,
|
|
10634
10634
|
href: x,
|
|
10635
10635
|
preserveAspectRatio: "none"
|
|
10636
10636
|
}
|
|
10637
|
-
) }) : /* @__PURE__ */
|
|
10637
|
+
) }) : /* @__PURE__ */ B("svg", { x: P, y: N, style: { overflow: "visible", pointerEvents: "none" }, "data-y": s, children: /* @__PURE__ */ B("image", { width: R, height: C, href: x, preserveAspectRatio: "none" }) });
|
|
10638
10638
|
}
|
|
10639
10639
|
const Jn = ({ x: i = 0, y: r = 0, label: n, pinHeight: o = 15, pinTilt: s = 0 }) => /* @__PURE__ */ Zt(Lr, { children: [
|
|
10640
|
-
/* @__PURE__ */
|
|
10640
|
+
/* @__PURE__ */ B(
|
|
10641
10641
|
"line",
|
|
10642
10642
|
{
|
|
10643
10643
|
x1: i,
|
|
@@ -10648,13 +10648,13 @@ const Jn = ({ x: i = 0, y: r = 0, label: n, pinHeight: o = 15, pinTilt: s = 0 })
|
|
|
10648
10648
|
strokeWidth: 1
|
|
10649
10649
|
}
|
|
10650
10650
|
),
|
|
10651
|
-
/* @__PURE__ */
|
|
10652
|
-
/* @__PURE__ */
|
|
10653
|
-
] }), Mw = ({ polygon: i }) => /* @__PURE__ */
|
|
10654
|
-
/* @__PURE__ */
|
|
10655
|
-
/* @__PURE__ */
|
|
10656
|
-
/* @__PURE__ */
|
|
10657
|
-
/* @__PURE__ */
|
|
10651
|
+
/* @__PURE__ */ B("circle", { cx: i + s, cy: -r - o, r: 6 }),
|
|
10652
|
+
/* @__PURE__ */ B("text", { x: i - 2 + s, y: -r - o + 2, stroke: "none", fill: "white", fontSize: 8, children: n })
|
|
10653
|
+
] }), Mw = ({ polygon: i }) => /* @__PURE__ */ B(Lr, { children: i.map(([r, n], o) => /* @__PURE__ */ B(Jn, { label: (o + 1).toString(), x: r, y: n }, o)) }), Nw = ({}) => /* @__PURE__ */ B(Jn, { label: "C", x: 0, y: 0 }), Fw = ({ width: i, height: r }) => /* @__PURE__ */ Zt(Lr, { children: [
|
|
10654
|
+
/* @__PURE__ */ B(Jn, { label: "R", x: 0, y: 0, pinTilt: -5 }),
|
|
10655
|
+
/* @__PURE__ */ B(Jn, { label: "r", x: i, y: 0, pinTilt: 5, pinHeight: 10 }),
|
|
10656
|
+
/* @__PURE__ */ B(Jn, { label: "r", x: 0, y: -r, pinTilt: -5, pinHeight: 10 }),
|
|
10657
|
+
/* @__PURE__ */ B(Jn, { label: "r", x: i, y: -r, pinTilt: 5, pinHeight: 10 })
|
|
10658
10658
|
] });
|
|
10659
10659
|
function Dw(i) {
|
|
10660
10660
|
let r = "";
|
|
@@ -10694,7 +10694,7 @@ const Eh = ({
|
|
|
10694
10694
|
} : void 0,
|
|
10695
10695
|
children: [
|
|
10696
10696
|
T && /* @__PURE__ */ Zt(Lr, { children: [
|
|
10697
|
-
/* @__PURE__ */
|
|
10697
|
+
/* @__PURE__ */ B(
|
|
10698
10698
|
"path",
|
|
10699
10699
|
{
|
|
10700
10700
|
className: o,
|
|
@@ -10704,9 +10704,9 @@ const Eh = ({
|
|
|
10704
10704
|
d: Dw(T)
|
|
10705
10705
|
}
|
|
10706
10706
|
),
|
|
10707
|
-
l && /* @__PURE__ */
|
|
10707
|
+
l && /* @__PURE__ */ B(Mw, { polygon: T })
|
|
10708
10708
|
] }),
|
|
10709
|
-
g && /* @__PURE__ */
|
|
10709
|
+
g && /* @__PURE__ */ B(
|
|
10710
10710
|
"path",
|
|
10711
10711
|
{
|
|
10712
10712
|
className: o,
|
|
@@ -10717,7 +10717,7 @@ const Eh = ({
|
|
|
10717
10717
|
}
|
|
10718
10718
|
),
|
|
10719
10719
|
x && /* @__PURE__ */ Zt(Lr, { children: [
|
|
10720
|
-
/* @__PURE__ */
|
|
10720
|
+
/* @__PURE__ */ B(
|
|
10721
10721
|
"circle",
|
|
10722
10722
|
{
|
|
10723
10723
|
className: o,
|
|
@@ -10729,10 +10729,10 @@ const Eh = ({
|
|
|
10729
10729
|
r: x
|
|
10730
10730
|
}
|
|
10731
10731
|
),
|
|
10732
|
-
l && /* @__PURE__ */
|
|
10732
|
+
l && /* @__PURE__ */ B(Nw, { radius: x })
|
|
10733
10733
|
] }),
|
|
10734
10734
|
R && /* @__PURE__ */ Zt(Lr, { children: [
|
|
10735
|
-
/* @__PURE__ */
|
|
10735
|
+
/* @__PURE__ */ B(
|
|
10736
10736
|
"rect",
|
|
10737
10737
|
{
|
|
10738
10738
|
className: o,
|
|
@@ -10745,7 +10745,7 @@ const Eh = ({
|
|
|
10745
10745
|
height: R[1]
|
|
10746
10746
|
}
|
|
10747
10747
|
),
|
|
10748
|
-
l && /* @__PURE__ */
|
|
10748
|
+
l && /* @__PURE__ */ B(Fw, { width: R[0], height: R[1] })
|
|
10749
10749
|
] })
|
|
10750
10750
|
]
|
|
10751
10751
|
}
|
|
@@ -10764,7 +10764,7 @@ const Eh = ({
|
|
|
10764
10764
|
flash: d = !1
|
|
10765
10765
|
}) => {
|
|
10766
10766
|
const { roomData: h, viewAngleX: m, viewAngleY: g } = hr(), { parallax: x, x: R, y: T } = i;
|
|
10767
|
-
return /* @__PURE__ */
|
|
10767
|
+
return /* @__PURE__ */ B(
|
|
10768
10768
|
Eh,
|
|
10769
10769
|
{
|
|
10770
10770
|
css: Zw(n || r, { flash: d }),
|
|
@@ -10780,7 +10780,7 @@ const Eh = ({
|
|
|
10780
10780
|
);
|
|
10781
10781
|
}, Ww = ({ cellMatrix: i }) => {
|
|
10782
10782
|
const { roomData: r, surfaceXShift: n, surfaceYShift: o } = hr(), { frameWidth: s, height: c, frameHeight: l = c } = r, h = s / 2 + n - r.width / 2, g = l / 2 + o - r.height / 2, x = c / i.length;
|
|
10783
|
-
return /* @__PURE__ */
|
|
10783
|
+
return /* @__PURE__ */ B("svg", { x: h, y: g, style: { overflow: "visible" }, "data-is": "ObstacleCellOverlay", children: i.map((R, T) => /* @__PURE__ */ B("g", { children: R.map((P, C) => P === 1 ? /* @__PURE__ */ B(
|
|
10784
10784
|
"rect",
|
|
10785
10785
|
{
|
|
10786
10786
|
x: C * x,
|
|
@@ -10795,7 +10795,7 @@ const Eh = ({
|
|
|
10795
10795
|
) : null) }, T)) });
|
|
10796
10796
|
}, xd = ({ children: i }) => {
|
|
10797
10797
|
const { roomData: { frameWidth: r, height: n, frameHeight: o = n } } = hr();
|
|
10798
|
-
return /* @__PURE__ */
|
|
10798
|
+
return /* @__PURE__ */ B(
|
|
10799
10799
|
"svg",
|
|
10800
10800
|
{
|
|
10801
10801
|
css: br.roomSvg,
|
|
@@ -10816,7 +10816,7 @@ const Eh = ({
|
|
|
10816
10816
|
return r && s.push(Ro.flash), n && s.push(Ro.blink), s;
|
|
10817
10817
|
}, wd = ({ zone: i, markVertices: r, zoneType: n, zoneOptions: o }) => {
|
|
10818
10818
|
const { roomData: s, surfaceXOffcenter: c, surfaceYOffcenter: l } = hr();
|
|
10819
|
-
return /* @__PURE__ */
|
|
10819
|
+
return /* @__PURE__ */ B(
|
|
10820
10820
|
Eh,
|
|
10821
10821
|
{
|
|
10822
10822
|
css: Vw(n, o),
|
|
@@ -10851,14 +10851,14 @@ const Eh = ({
|
|
|
10851
10851
|
noMargin: E = !1,
|
|
10852
10852
|
fontFamily: w,
|
|
10853
10853
|
parallaxContent: ee,
|
|
10854
|
-
surfaceContent:
|
|
10854
|
+
surfaceContent: q,
|
|
10855
10855
|
getImageAsset: xe,
|
|
10856
10856
|
getSoundAsset: at,
|
|
10857
10857
|
orderSpeed: pr = 1,
|
|
10858
10858
|
sprites: Er,
|
|
10859
10859
|
SoundHandler: At
|
|
10860
10860
|
}) => {
|
|
10861
|
-
const { id: ot, frameWidth: tt, height: It, background: Vt, hotspots: Ke = [], obstacleAreas:
|
|
10861
|
+
const { id: ot, frameWidth: tt, height: It, background: Vt, hotspots: Ke = [], obstacleAreas: qe = [], walkableAreas: zt = [], frameHeight: rt = It } = i, $e = Math.min(
|
|
10862
10862
|
r / tt,
|
|
10863
10863
|
n / rt
|
|
10864
10864
|
), Xe = (oe) => c(oe.nativeEvent.offsetX / $e, oe.nativeEvent.offsetY / $e), xt = (oe) => {
|
|
@@ -10870,7 +10870,7 @@ const Eh = ({
|
|
|
10870
10870
|
margin: E ? 0 : void 0,
|
|
10871
10871
|
backgroundColor: i.backgroundColor
|
|
10872
10872
|
}, wt = [i?.backgroundMusic, i?.ambientNoise].flatMap((oe) => oe || []);
|
|
10873
|
-
return /* @__PURE__ */
|
|
10873
|
+
return /* @__PURE__ */ B(tc.Provider, { value: {
|
|
10874
10874
|
roomData: i,
|
|
10875
10875
|
viewAngleX: o,
|
|
10876
10876
|
viewAngleY: s,
|
|
@@ -10886,11 +10886,11 @@ const Eh = ({
|
|
|
10886
10886
|
children: [
|
|
10887
10887
|
/* @__PURE__ */ Zt(xd, { children: [
|
|
10888
10888
|
Vt.filter((oe) => oe.parallax <= 1).map(
|
|
10889
|
-
(oe, De) => /* @__PURE__ */
|
|
10889
|
+
(oe, De) => /* @__PURE__ */ B(bd, { layer: oe, getImageAsset: xe }, De)
|
|
10890
10890
|
),
|
|
10891
|
-
R && /* @__PURE__ */
|
|
10891
|
+
R && /* @__PURE__ */ B(Ww, { cellMatrix: R }),
|
|
10892
10892
|
Ke.map(
|
|
10893
|
-
(oe, De) => /* @__PURE__ */
|
|
10893
|
+
(oe, De) => /* @__PURE__ */ B(
|
|
10894
10894
|
Lw,
|
|
10895
10895
|
{
|
|
10896
10896
|
zone: oe,
|
|
@@ -10905,7 +10905,7 @@ const Eh = ({
|
|
|
10905
10905
|
)
|
|
10906
10906
|
)
|
|
10907
10907
|
] }),
|
|
10908
|
-
/* @__PURE__ */
|
|
10908
|
+
/* @__PURE__ */ B(Nu, { children: F.map((oe) => /* @__PURE__ */ B(
|
|
10909
10909
|
kh,
|
|
10910
10910
|
{
|
|
10911
10911
|
isPaused: N,
|
|
@@ -10925,9 +10925,9 @@ const Eh = ({
|
|
|
10925
10925
|
)) }),
|
|
10926
10926
|
/* @__PURE__ */ Zt(xd, { children: [
|
|
10927
10927
|
Vt.filter((oe) => oe.parallax > 1).map(
|
|
10928
|
-
(oe, De) => /* @__PURE__ */
|
|
10928
|
+
(oe, De) => /* @__PURE__ */ B(bd, { layer: oe, getImageAsset: xe }, De)
|
|
10929
10929
|
),
|
|
10930
|
-
zt.map((oe, De) => !g && C !== De ? null : /* @__PURE__ */
|
|
10930
|
+
zt.map((oe, De) => !g && C !== De ? null : /* @__PURE__ */ B(
|
|
10931
10931
|
wd,
|
|
10932
10932
|
{
|
|
10933
10933
|
zone: oe,
|
|
@@ -10937,7 +10937,7 @@ const Eh = ({
|
|
|
10937
10937
|
},
|
|
10938
10938
|
De
|
|
10939
10939
|
)),
|
|
10940
|
-
|
|
10940
|
+
qe.map((oe, De) => !g && P !== De ? null : /* @__PURE__ */ B(
|
|
10941
10941
|
wd,
|
|
10942
10942
|
{
|
|
10943
10943
|
zone: oe,
|
|
@@ -10950,8 +10950,8 @@ const Eh = ({
|
|
|
10950
10950
|
ee
|
|
10951
10951
|
] }),
|
|
10952
10952
|
/* @__PURE__ */ Zt(Nu, { children: [
|
|
10953
|
-
|
|
10954
|
-
F.map((oe) => /* @__PURE__ */
|
|
10953
|
+
q,
|
|
10954
|
+
F.map((oe) => /* @__PURE__ */ B(
|
|
10955
10955
|
jw,
|
|
10956
10956
|
{
|
|
10957
10957
|
actorData: oe.data,
|
|
@@ -10962,7 +10962,7 @@ const Eh = ({
|
|
|
10962
10962
|
oe.data.id
|
|
10963
10963
|
))
|
|
10964
10964
|
] }),
|
|
10965
|
-
!W && !!At && /* @__PURE__ */
|
|
10965
|
+
!W && !!At && /* @__PURE__ */ B(
|
|
10966
10966
|
At,
|
|
10967
10967
|
{
|
|
10968
10968
|
isPaused: N,
|
|
@@ -10970,11 +10970,11 @@ const Eh = ({
|
|
|
10970
10970
|
getSoundAsset: at
|
|
10971
10971
|
}
|
|
10972
10972
|
),
|
|
10973
|
-
A && /* @__PURE__ */
|
|
10973
|
+
A && /* @__PURE__ */ B("figcaption", { css: br.caption, children: ot })
|
|
10974
10974
|
]
|
|
10975
10975
|
}
|
|
10976
10976
|
) });
|
|
10977
|
-
},
|
|
10977
|
+
}, Bw = ({
|
|
10978
10978
|
gameState: i,
|
|
10979
10979
|
handleTargetClick: r,
|
|
10980
10980
|
handleTargetContextClick: n,
|
|
@@ -10982,7 +10982,7 @@ const Eh = ({
|
|
|
10982
10982
|
...s
|
|
10983
10983
|
}) => {
|
|
10984
10984
|
const c = i.rooms.find((d) => d.id === i.currentRoomId), l = Pw(i, r, n);
|
|
10985
|
-
return c ? /* @__PURE__ */
|
|
10985
|
+
return c ? /* @__PURE__ */ B(
|
|
10986
10986
|
zw,
|
|
10987
10987
|
{
|
|
10988
10988
|
data: c,
|
|
@@ -11046,8 +11046,8 @@ const Eh = ({
|
|
|
11046
11046
|
}, [n, h, m]), P = co((C, A) => {
|
|
11047
11047
|
d({ type: "SET_HOVER_TARGET", hoverTarget: A === "enter" ? C : void 0 });
|
|
11048
11048
|
}, [d]);
|
|
11049
|
-
return /* @__PURE__ */
|
|
11050
|
-
|
|
11049
|
+
return /* @__PURE__ */ B(
|
|
11050
|
+
Bw,
|
|
11051
11051
|
{
|
|
11052
11052
|
gameState: r,
|
|
11053
11053
|
handleTargetClick: T,
|
|
@@ -11061,7 +11061,7 @@ const Eh = ({
|
|
|
11061
11061
|
SoundHandler: c
|
|
11062
11062
|
}
|
|
11063
11063
|
);
|
|
11064
|
-
}, Ch = (i) => i.currentStoryBoardId ? "story-board" : i.sequenceRunning ? "sequence" : i.currentConversationId ? "conversation" : "verbs",
|
|
11064
|
+
}, Ch = (i) => i.currentStoryBoardId ? "story-board" : i.sequenceRunning ? "sequence" : i.currentConversationId ? "conversation" : "verbs", qw = (i) => Ch(i) === "verbs", Uw = {
|
|
11065
11065
|
reportCommand: console.log,
|
|
11066
11066
|
reportConsequence: console.log,
|
|
11067
11067
|
reportOrder: console.log,
|
|
@@ -11126,7 +11126,7 @@ const Eh = ({
|
|
|
11126
11126
|
defaultTalkTime: h,
|
|
11127
11127
|
instantMode: r.instantMode,
|
|
11128
11128
|
orderSpeed: r.orderSpeed
|
|
11129
|
-
}, x = Ch(s) === "story-board", R =
|
|
11129
|
+
}, x = Ch(s) === "story-board", R = qw(s), T = s.rooms.find((A) => A.id === s.currentRoomId), P = s.actors.find((A) => A.isPlayer), C = Jx(g, c, l);
|
|
11130
11130
|
switch (o.type) {
|
|
11131
11131
|
case "TICK":
|
|
11132
11132
|
return x || aw(g, c, l)(s), { ...s };
|
|
@@ -11245,7 +11245,7 @@ const Eh = ({
|
|
|
11245
11245
|
};
|
|
11246
11246
|
}, [o]), un(() => {
|
|
11247
11247
|
r ? o?.pause() : c || o?.play();
|
|
11248
|
-
}, [r, c]), /* @__PURE__ */
|
|
11248
|
+
}, [r, c]), /* @__PURE__ */ B(
|
|
11249
11249
|
"audio",
|
|
11250
11250
|
{
|
|
11251
11251
|
ref: s,
|
|
@@ -11264,7 +11264,7 @@ const Eh = ({
|
|
|
11264
11264
|
o && s?.pause();
|
|
11265
11265
|
}, [o, s]), un(() => {
|
|
11266
11266
|
s && r === i.frameIndex && (s.volume = i.volume ?? 1, o || s.play());
|
|
11267
|
-
}, [s, r]), /* @__PURE__ */
|
|
11267
|
+
}, [s, r]), /* @__PURE__ */ B(
|
|
11268
11268
|
"audio",
|
|
11269
11269
|
{
|
|
11270
11270
|
ref: c,
|
|
@@ -11272,7 +11272,7 @@ const Eh = ({
|
|
|
11272
11272
|
src: n(i.soundId)?.href
|
|
11273
11273
|
}
|
|
11274
11274
|
);
|
|
11275
|
-
}, ek = ({ soundValues: i, frameIndex: r, isPaused: n, getSoundAsset: o }) => /* @__PURE__ */
|
|
11275
|
+
}, ek = ({ soundValues: i, frameIndex: r, isPaused: n, getSoundAsset: o }) => /* @__PURE__ */ B(Lr, { children: i.map(((s, c) => typeof s.frameIndex > "u" ? /* @__PURE__ */ B(Jw, { value: s, isPaused: n, getSoundAsset: o }, c) : /* @__PURE__ */ B(Qw, { value: s, frameIndex: r, getSoundAsset: o }, c))) }), uk = ({
|
|
11276
11276
|
gameDesign: i,
|
|
11277
11277
|
Layout: r,
|
|
11278
11278
|
getImageAsset: n,
|
|
@@ -11286,12 +11286,12 @@ const Eh = ({
|
|
|
11286
11286
|
{ playSound: Gw(o), ...l }
|
|
11287
11287
|
), Rh(i)), [m, g] = Rf(Xw(), Kw(i, c)), { updateCamera: x, cameraPoint: R } = Hw(l.maxCameraMove);
|
|
11288
11288
|
return mh(() => {
|
|
11289
|
-
if (d.isPaused || d.
|
|
11289
|
+
if (d.isPaused || d.currentStoryBoardId)
|
|
11290
11290
|
return;
|
|
11291
11291
|
h({ type: "TICK" });
|
|
11292
11292
|
const { x: P, y: C } = Qu(d) ?? { x: d.viewAngleX, y: d.viewAngleY };
|
|
11293
11293
|
x(P, C, d.currentRoomId);
|
|
11294
|
-
}, 10), /* @__PURE__ */
|
|
11294
|
+
}, 10), /* @__PURE__ */ B(oi.Provider, { value: {
|
|
11295
11295
|
dispatch: h,
|
|
11296
11296
|
gameState: d,
|
|
11297
11297
|
gameDesign: i,
|
|
@@ -11299,7 +11299,7 @@ const Eh = ({
|
|
|
11299
11299
|
getSoundAsset: o,
|
|
11300
11300
|
SoundHandler: s,
|
|
11301
11301
|
allowLocalSaves: l.allowLocalSaves
|
|
11302
|
-
}, children: /* @__PURE__ */
|
|
11302
|
+
}, children: /* @__PURE__ */ B(Oh.Provider, { value: { uiState: m, dispatchUi: g }, children: /* @__PURE__ */ B(hw, { value: { cameraPoint: R }, children: /* @__PURE__ */ B(r, {}) }) }) });
|
|
11303
11303
|
}, { listSavedGames: tk, load: rk, save: nk, deleteSave: ik } = fw, ck = () => {
|
|
11304
11304
|
const { gameState: i, dispatch: r } = Wr(oi), n = () => r({ type: "RESET" }), o = (l) => nk(i.id)(i, l), s = (l) => r({ type: "HANDLE-LOAD", data: l });
|
|
11305
11305
|
return {
|
|
@@ -11316,7 +11316,7 @@ export {
|
|
|
11316
11316
|
hw as CameraPointProvider,
|
|
11317
11317
|
sk as ContextualGameRoom,
|
|
11318
11318
|
oi as GameDataContext,
|
|
11319
|
-
|
|
11319
|
+
Bw as GameRoom,
|
|
11320
11320
|
uk as GameRunner,
|
|
11321
11321
|
Cw as HorizontalLine,
|
|
11322
11322
|
Lw as Hotspot,
|