@sticky-studio-npm/ui-core 0.1.86 → 0.1.89
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/ui-bundle.es.js +232 -221
- package/dist/ui-bundle.umd.js +13 -13
- package/package.json +1 -1
package/dist/ui-bundle.es.js
CHANGED
|
@@ -89,10 +89,10 @@ function p(e) {
|
|
|
89
89
|
throw new Error(typeof e == "number" ? "[MobX] minified error nr: " + e + (r.length ? " " + r.map(String).join(",") : "") + ". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts" : "[MobX] " + e);
|
|
90
90
|
}
|
|
91
91
|
var Gr = {};
|
|
92
|
-
function
|
|
92
|
+
function At() {
|
|
93
93
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : Gr;
|
|
94
94
|
}
|
|
95
|
-
var Wn = Object.assign, pt = Object.getOwnPropertyDescriptor, se = Object.defineProperty,
|
|
95
|
+
var Wn = Object.assign, pt = Object.getOwnPropertyDescriptor, se = Object.defineProperty, St = Object.prototype, vt = [];
|
|
96
96
|
Object.freeze(vt);
|
|
97
97
|
var Zn = {};
|
|
98
98
|
Object.freeze(Zn);
|
|
@@ -113,12 +113,12 @@ function sn(e) {
|
|
|
113
113
|
return t = !0, e.apply(this, arguments);
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
|
-
var
|
|
116
|
+
var Te = function() {
|
|
117
117
|
};
|
|
118
118
|
function D(e) {
|
|
119
119
|
return typeof e == "function";
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function Ae(e) {
|
|
122
122
|
var t = typeof e;
|
|
123
123
|
switch (t) {
|
|
124
124
|
case "string":
|
|
@@ -166,7 +166,7 @@ function Ve(e, t) {
|
|
|
166
166
|
return Ct(n) && n[r] === !0;
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function ke(e) {
|
|
170
170
|
return e != null && Object.prototype.toString.call(e) === "[object Map]";
|
|
171
171
|
}
|
|
172
172
|
function Zr(e) {
|
|
@@ -183,10 +183,10 @@ function Xr(e) {
|
|
|
183
183
|
return t;
|
|
184
184
|
var r = Object.getOwnPropertySymbols(e);
|
|
185
185
|
return r.length ? [].concat(t, r.filter(function(n) {
|
|
186
|
-
return
|
|
186
|
+
return St.propertyIsEnumerable.call(e, n);
|
|
187
187
|
})) : t;
|
|
188
188
|
}
|
|
189
|
-
var
|
|
189
|
+
var je = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Qn ? function(e) {
|
|
190
190
|
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
|
|
191
191
|
} : (
|
|
192
192
|
/* istanbul ignore next */
|
|
@@ -199,11 +199,11 @@ function er(e) {
|
|
|
199
199
|
return e === null ? null : typeof e == "object" ? "" + e : e;
|
|
200
200
|
}
|
|
201
201
|
function z(e, t) {
|
|
202
|
-
return
|
|
202
|
+
return St.hasOwnProperty.call(e, t);
|
|
203
203
|
}
|
|
204
204
|
var Yr = Object.getOwnPropertyDescriptors || function(t) {
|
|
205
205
|
var r = {};
|
|
206
|
-
return
|
|
206
|
+
return je(t).forEach(function(n) {
|
|
207
207
|
r[n] = pt(t, n);
|
|
208
208
|
}), r;
|
|
209
209
|
};
|
|
@@ -224,12 +224,12 @@ function Jr(e, t) {
|
|
|
224
224
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, ei(n.key), n);
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function Ue(e, t, r) {
|
|
228
228
|
return t && Jr(e.prototype, t), Object.defineProperty(e, "prototype", {
|
|
229
229
|
writable: !1
|
|
230
230
|
}), e;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function Pe(e, t) {
|
|
233
233
|
var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
234
234
|
if (r) return (r = r.call(e)).next.bind(r);
|
|
235
235
|
if (Array.isArray(e) || (r = ti(e)) || t) {
|
|
@@ -285,7 +285,7 @@ function ti(e, t) {
|
|
|
285
285
|
return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? _n(e, t) : void 0;
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
var
|
|
288
|
+
var x = /* @__PURE__ */ Symbol("mobx-stored-annotations");
|
|
289
289
|
function oe(e) {
|
|
290
290
|
function t(r, n) {
|
|
291
291
|
if (Qe(n))
|
|
@@ -295,15 +295,15 @@ function oe(e) {
|
|
|
295
295
|
return Object.assign(t, e);
|
|
296
296
|
}
|
|
297
297
|
function Je(e, t, r) {
|
|
298
|
-
if (z(e,
|
|
298
|
+
if (z(e, x) || Ye(e, x, fe({}, e[x])), process.env.NODE_ENV !== "production" && _t(r) && !z(e[x], t)) {
|
|
299
299
|
var n = e.constructor.name + ".prototype." + t.toString();
|
|
300
300
|
p("'" + n + "' is decorated with 'override', but no such decorated member was found on prototype.");
|
|
301
301
|
}
|
|
302
|
-
ni(e, r, t), _t(r) || (e[
|
|
302
|
+
ni(e, r, t), _t(r) || (e[x][t] = r);
|
|
303
303
|
}
|
|
304
304
|
function ni(e, t, r) {
|
|
305
|
-
if (process.env.NODE_ENV !== "production" && !_t(t) && z(e[
|
|
306
|
-
var n = e.constructor.name + ".prototype." + r.toString(), i = e[
|
|
305
|
+
if (process.env.NODE_ENV !== "production" && !_t(t) && z(e[x], r)) {
|
|
306
|
+
var n = e.constructor.name + ".prototype." + r.toString(), i = e[x][r].annotationType_, s = t.annotationType_;
|
|
307
307
|
p("Cannot apply '@" + s + "' to '" + n + "':" + (`
|
|
308
308
|
The field is already decorated with '@` + i + "'.") + `
|
|
309
309
|
Re-decorating fields is not allowed.
|
|
@@ -311,7 +311,7 @@ Use '@override' decorator for methods overridden by subclass.`);
|
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
function ri(e) {
|
|
314
|
-
return z(e,
|
|
314
|
+
return z(e, x) || Ye(e, x, fe({}, e[x])), e[x];
|
|
315
315
|
}
|
|
316
316
|
function Qe(e) {
|
|
317
317
|
return typeof e == "object" && typeof e.kind == "string";
|
|
@@ -338,7 +338,7 @@ var _ = /* @__PURE__ */ Symbol("mobx administration"), _e = /* @__PURE__ */ (fun
|
|
|
338
338
|
H(), mr(this), G();
|
|
339
339
|
}, t.toString = function() {
|
|
340
340
|
return this.name_;
|
|
341
|
-
},
|
|
341
|
+
}, Ue(e, [{
|
|
342
342
|
key: "isBeingObserved",
|
|
343
343
|
get: function() {
|
|
344
344
|
return j(this.flags_, e.isBeingObservedMask_);
|
|
@@ -369,9 +369,9 @@ _e.isPendingUnobservationMask_ = 2;
|
|
|
369
369
|
_e.diffValueMask_ = 4;
|
|
370
370
|
var on = /* @__PURE__ */ Ve("Atom", _e);
|
|
371
371
|
function nr(e, t, r) {
|
|
372
|
-
t === void 0 && (t =
|
|
372
|
+
t === void 0 && (t = Te), r === void 0 && (r = Te);
|
|
373
373
|
var n = new _e(e);
|
|
374
|
-
return t !==
|
|
374
|
+
return t !== Te && hs(n, t), r !== Te && Ar(n, r), n;
|
|
375
375
|
}
|
|
376
376
|
function ii(e, t) {
|
|
377
377
|
return Mr(e, t);
|
|
@@ -383,37 +383,37 @@ var ht = {
|
|
|
383
383
|
structural: ii,
|
|
384
384
|
default: si
|
|
385
385
|
};
|
|
386
|
-
function
|
|
387
|
-
return Xe(e) ? e : Array.isArray(e) ?
|
|
386
|
+
function Se(e, t, r) {
|
|
387
|
+
return Xe(e) ? e : Array.isArray(e) ? S.array(e, {
|
|
388
388
|
name: r
|
|
389
|
-
}) : I(e) ?
|
|
389
|
+
}) : I(e) ? S.object(e, void 0, {
|
|
390
390
|
name: r
|
|
391
|
-
}) :
|
|
391
|
+
}) : ke(e) ? S.map(e, {
|
|
392
392
|
name: r
|
|
393
|
-
}) : ue(e) ?
|
|
393
|
+
}) : ue(e) ? S.set(e, {
|
|
394
394
|
name: r
|
|
395
|
-
}) : typeof e == "function" && !De(e) && !Ze(e) ? Yn(e) ?
|
|
395
|
+
}) : typeof e == "function" && !De(e) && !Ze(e) ? Yn(e) ? Me(e) : We(r, e) : e;
|
|
396
396
|
}
|
|
397
397
|
function oi(e, t, r) {
|
|
398
398
|
if (e == null || $e(e) || Bt(e) || be(e) || re(e))
|
|
399
399
|
return e;
|
|
400
400
|
if (Array.isArray(e))
|
|
401
|
-
return
|
|
401
|
+
return S.array(e, {
|
|
402
402
|
name: r,
|
|
403
403
|
deep: !1
|
|
404
404
|
});
|
|
405
405
|
if (I(e))
|
|
406
|
-
return
|
|
406
|
+
return S.object(e, void 0, {
|
|
407
407
|
name: r,
|
|
408
408
|
deep: !1
|
|
409
409
|
});
|
|
410
|
-
if (
|
|
411
|
-
return
|
|
410
|
+
if (ke(e))
|
|
411
|
+
return S.map(e, {
|
|
412
412
|
name: r,
|
|
413
413
|
deep: !1
|
|
414
414
|
});
|
|
415
415
|
if (ue(e))
|
|
416
|
-
return
|
|
416
|
+
return S.set(e, {
|
|
417
417
|
name: r,
|
|
418
418
|
deep: !1
|
|
419
419
|
});
|
|
@@ -533,7 +533,7 @@ function hi(e, t) {
|
|
|
533
533
|
var r;
|
|
534
534
|
process.env.NODE_ENV !== "production" && wt(t, ["method"]);
|
|
535
535
|
var n = t.name, i = t.addInitializer;
|
|
536
|
-
return Ze(e) || (e =
|
|
536
|
+
return Ze(e) || (e = Me(e)), (r = this.options_) != null && r.bound && i(function() {
|
|
537
537
|
var s = this, o = s[n].bind(s);
|
|
538
538
|
o.isMobXFlow = !0, s[n] = o;
|
|
539
539
|
}), e;
|
|
@@ -546,7 +546,7 @@ function _i(e, t, r, n) {
|
|
|
546
546
|
function sr(e, t, r, n, i, s) {
|
|
547
547
|
s === void 0 && (s = f.safeDescriptors), _i(e, t, r, n);
|
|
548
548
|
var o = n.value;
|
|
549
|
-
if (Ze(o) || (o =
|
|
549
|
+
if (Ze(o) || (o = Me(o)), i) {
|
|
550
550
|
var a;
|
|
551
551
|
o = o.bind((a = e.proxy_) != null ? a : e.target_), o.isMobXFlow = !0;
|
|
552
552
|
}
|
|
@@ -584,7 +584,7 @@ function gi(e, t) {
|
|
|
584
584
|
process.env.NODE_ENV !== "production" && wt(t, ["getter"]);
|
|
585
585
|
var r = this, n = t.name, i = t.addInitializer;
|
|
586
586
|
return i(function() {
|
|
587
|
-
var s =
|
|
587
|
+
var s = Re(this)[_], o = fe({}, r.options_, {
|
|
588
588
|
get: e,
|
|
589
589
|
context: this
|
|
590
590
|
});
|
|
@@ -612,7 +612,7 @@ function Oi(e, t, r) {
|
|
|
612
612
|
}
|
|
613
613
|
function Ei(e, t, r, n) {
|
|
614
614
|
var i, s;
|
|
615
|
-
return
|
|
615
|
+
return Ai(e, this, t, r), e.defineObservableProperty_(t, r.value, (i = (s = this.options_) == null ? void 0 : s.enhancer) != null ? i : Se, n);
|
|
616
616
|
}
|
|
617
617
|
function Ni(e, t) {
|
|
618
618
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -622,7 +622,7 @@ function Ni(e, t) {
|
|
|
622
622
|
}
|
|
623
623
|
var r = this, n = t.kind, i = t.name, s = /* @__PURE__ */ new WeakSet();
|
|
624
624
|
function o(a, u) {
|
|
625
|
-
var l, d, v =
|
|
625
|
+
var l, d, v = Re(a)[_], h = new Ee(u, (l = (d = r.options_) == null ? void 0 : d.enhancer) != null ? l : Se, process.env.NODE_ENV !== "production" ? v.name_ + "." + i.toString() : "ObservableObject." + i.toString(), !1);
|
|
626
626
|
v.values_.set(i, h), s.add(a);
|
|
627
627
|
}
|
|
628
628
|
if (n == "accessor")
|
|
@@ -638,15 +638,15 @@ function Ni(e, t) {
|
|
|
638
638
|
}
|
|
639
639
|
};
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function Ai(e, t, r, n) {
|
|
642
642
|
var i = t.annotationType_;
|
|
643
643
|
process.env.NODE_ENV !== "production" && !("value" in n) && p("Cannot apply '" + i + "' to '" + e.name_ + "." + r.toString() + "':" + (`
|
|
644
644
|
'` + i + "' cannot be used on getter/setter properties"));
|
|
645
645
|
}
|
|
646
|
-
var
|
|
646
|
+
var Si = "true", Ci = /* @__PURE__ */ or();
|
|
647
647
|
function or(e) {
|
|
648
648
|
return {
|
|
649
|
-
annotationType_:
|
|
649
|
+
annotationType_: Si,
|
|
650
650
|
options_: e,
|
|
651
651
|
make_: wi,
|
|
652
652
|
extend_: Di,
|
|
@@ -670,13 +670,13 @@ function wi(e, t, r, n) {
|
|
|
670
670
|
if (n !== e.target_ && typeof r.value == "function") {
|
|
671
671
|
var a;
|
|
672
672
|
if (Yn(r.value)) {
|
|
673
|
-
var u, l = (u = this.options_) != null && u.autoBind ?
|
|
673
|
+
var u, l = (u = this.options_) != null && u.autoBind ? Me.bound : Me;
|
|
674
674
|
return l.make_(e, t, r, n);
|
|
675
675
|
}
|
|
676
676
|
var d = (a = this.options_) != null && a.autoBind ? We.bound : We;
|
|
677
677
|
return d.make_(e, t, r, n);
|
|
678
678
|
}
|
|
679
|
-
var v = ((i = this.options_) == null ? void 0 : i.deep) === !1 ?
|
|
679
|
+
var v = ((i = this.options_) == null ? void 0 : i.deep) === !1 ? S.ref : S;
|
|
680
680
|
if (typeof r.value == "function" && (s = this.options_) != null && s.autoBind) {
|
|
681
681
|
var h;
|
|
682
682
|
r.value = r.value.bind((h = e.proxy_) != null ? h : e.target_);
|
|
@@ -696,13 +696,13 @@ function Di(e, t, r, n) {
|
|
|
696
696
|
var o;
|
|
697
697
|
r.value = r.value.bind((o = e.proxy_) != null ? o : e.target_);
|
|
698
698
|
}
|
|
699
|
-
var a = ((s = this.options_) == null ? void 0 : s.deep) === !1 ?
|
|
699
|
+
var a = ((s = this.options_) == null ? void 0 : s.deep) === !1 ? S.ref : S;
|
|
700
700
|
return a.extend_(e, t, r, n);
|
|
701
701
|
}
|
|
702
702
|
function Vi(e, t) {
|
|
703
703
|
p("'" + this.annotationType_ + "' cannot be used as a decorator");
|
|
704
704
|
}
|
|
705
|
-
var Li = "observable", Bi = "observable.ref",
|
|
705
|
+
var Li = "observable", Bi = "observable.ref", Ri = "observable.shallow", xi = "observable.struct", ar = {
|
|
706
706
|
deep: !0,
|
|
707
707
|
name: void 0,
|
|
708
708
|
defaultDecorator: void 0,
|
|
@@ -714,13 +714,13 @@ function rt(e) {
|
|
|
714
714
|
}
|
|
715
715
|
var Wt = /* @__PURE__ */ Vt(Li), Ti = /* @__PURE__ */ Vt(Bi, {
|
|
716
716
|
enhancer: Dt
|
|
717
|
-
}), Pi = /* @__PURE__ */ Vt(
|
|
717
|
+
}), Pi = /* @__PURE__ */ Vt(Ri, {
|
|
718
718
|
enhancer: oi
|
|
719
|
-
}), ji = /* @__PURE__ */ Vt(
|
|
719
|
+
}), ji = /* @__PURE__ */ Vt(xi, {
|
|
720
720
|
enhancer: ai
|
|
721
721
|
}), ur = /* @__PURE__ */ oe(Wt);
|
|
722
722
|
function it(e) {
|
|
723
|
-
return e.deep === !0 ?
|
|
723
|
+
return e.deep === !0 ? Se : e.deep === !1 ? Dt : Ii(e.defaultDecorator);
|
|
724
724
|
}
|
|
725
725
|
function Mi(e) {
|
|
726
726
|
var t;
|
|
@@ -728,16 +728,16 @@ function Mi(e) {
|
|
|
728
728
|
}
|
|
729
729
|
function Ii(e) {
|
|
730
730
|
var t, r;
|
|
731
|
-
return e && (t = (r = e.options_) == null ? void 0 : r.enhancer) != null ? t :
|
|
731
|
+
return e && (t = (r = e.options_) == null ? void 0 : r.enhancer) != null ? t : Se;
|
|
732
732
|
}
|
|
733
733
|
function cr(e, t, r) {
|
|
734
734
|
if (Qe(t))
|
|
735
735
|
return Wt.decorate_20223_(e, t);
|
|
736
|
-
if (
|
|
736
|
+
if (Ae(t)) {
|
|
737
737
|
Je(e, t, Wt);
|
|
738
738
|
return;
|
|
739
739
|
}
|
|
740
|
-
return Xe(e) ? e : I(e) ?
|
|
740
|
+
return Xe(e) ? e : I(e) ? S.object(e, t, r) : Array.isArray(e) ? S.array(e, t) : ke(e) ? S.map(e, t) : ue(e) ? S.set(e, t) : typeof e == "object" && e !== null ? e : S.box(e, t);
|
|
741
741
|
}
|
|
742
742
|
Wn(cr, ur);
|
|
743
743
|
var ki = {
|
|
@@ -755,23 +755,23 @@ var ki = {
|
|
|
755
755
|
},
|
|
756
756
|
set: function(t, r) {
|
|
757
757
|
var n = rt(r);
|
|
758
|
-
return new
|
|
758
|
+
return new Rr(t, it(n), n.name);
|
|
759
759
|
},
|
|
760
760
|
object: function(t, r, n) {
|
|
761
761
|
return me(function() {
|
|
762
|
-
return Cr(f.useProxies === !1 || n?.proxy === !1 ?
|
|
762
|
+
return Cr(f.useProxies === !1 || n?.proxy === !1 ? Re({}, n) : Cs({}, n), t, r);
|
|
763
763
|
});
|
|
764
764
|
},
|
|
765
765
|
ref: /* @__PURE__ */ oe(Ti),
|
|
766
766
|
shallow: /* @__PURE__ */ oe(Pi),
|
|
767
767
|
deep: ur,
|
|
768
768
|
struct: /* @__PURE__ */ oe(ji)
|
|
769
|
-
},
|
|
769
|
+
}, S = /* @__PURE__ */ Wn(cr, ki), lr = "computed", Ui = "computed.struct", Zt = /* @__PURE__ */ an(lr), $i = /* @__PURE__ */ an(Ui, {
|
|
770
770
|
equals: ht.structural
|
|
771
771
|
}), Oe = function(t, r) {
|
|
772
772
|
if (Qe(r))
|
|
773
773
|
return Zt.decorate_20223_(t, r);
|
|
774
|
-
if (
|
|
774
|
+
if (Ae(r))
|
|
775
775
|
return Je(t, r, Zt);
|
|
776
776
|
if (I(t))
|
|
777
777
|
return oe(an(lr, t));
|
|
@@ -1014,7 +1014,7 @@ var zi = "create", Ee = /* @__PURE__ */ (function(e) {
|
|
|
1014
1014
|
return er(this.get());
|
|
1015
1015
|
}, t[Symbol.toPrimitive] = function() {
|
|
1016
1016
|
return this.valueOf();
|
|
1017
|
-
},
|
|
1017
|
+
}, Ue(e, [{
|
|
1018
1018
|
key: "isComputing",
|
|
1019
1019
|
get: function() {
|
|
1020
1020
|
return j(this.flags_, e.isComputingMask_);
|
|
@@ -1188,14 +1188,14 @@ function pr(e) {
|
|
|
1188
1188
|
var ct = function() {
|
|
1189
1189
|
this.version = 6, this.UNCHANGED = {}, this.trackingDerivation = null, this.trackingContext = null, this.runId = 0, this.mobxGuid = 0, this.inBatch = 0, this.pendingUnobservations = [], this.pendingReactions = [], this.isRunningReactions = !1, this.allowStateChanges = !1, this.allowStateReads = !0, this.enforceActions = !0, this.spyListeners = [], this.globalReactionErrorHandlers = [], this.computedRequiresReaction = !1, this.reactionRequiresObservable = !1, this.observableRequiresReaction = !1, this.disableErrorBoundaries = !1, this.suppressReactionErrors = !1, this.useProxies = !0, this.verifyProxies = !1, this.safeDescriptors = !0;
|
|
1190
1190
|
}, lt = !0, vr = !1, f = /* @__PURE__ */ (function() {
|
|
1191
|
-
var e = /* @__PURE__ */
|
|
1191
|
+
var e = /* @__PURE__ */ At();
|
|
1192
1192
|
return e.__mobxInstanceCount > 0 && !e.__mobxGlobals && (lt = !1), e.__mobxGlobals && e.__mobxGlobals.version !== new ct().version && (lt = !1), lt ? e.__mobxGlobals ? (e.__mobxInstanceCount += 1, e.__mobxGlobals.UNCHANGED || (e.__mobxGlobals.UNCHANGED = {}), e.__mobxGlobals) : (e.__mobxInstanceCount = 1, e.__mobxGlobals = /* @__PURE__ */ new ct()) : (setTimeout(function() {
|
|
1193
1193
|
vr || p(35);
|
|
1194
1194
|
}, 1), new ct());
|
|
1195
1195
|
})();
|
|
1196
1196
|
function Yi() {
|
|
1197
1197
|
if ((f.pendingReactions.length || f.inBatch || f.isRunningReactions) && p(36), vr = !0, lt) {
|
|
1198
|
-
var e =
|
|
1198
|
+
var e = At();
|
|
1199
1199
|
--e.__mobxInstanceCount === 0 && (e.__mobxGlobals = void 0), f = new ct();
|
|
1200
1200
|
}
|
|
1201
1201
|
}
|
|
@@ -1340,7 +1340,7 @@ var de = /* @__PURE__ */ (function() {
|
|
|
1340
1340
|
return "Reaction[" + this.name_ + "]";
|
|
1341
1341
|
}, t.trace = function(n) {
|
|
1342
1342
|
n === void 0 && (n = !1), Ns(this, n);
|
|
1343
|
-
},
|
|
1343
|
+
}, Ue(e, [{
|
|
1344
1344
|
key: "isDisposed",
|
|
1345
1345
|
get: function() {
|
|
1346
1346
|
return j(this.flags_, e.isDisposedMask_);
|
|
@@ -1461,9 +1461,9 @@ function Nr(e) {
|
|
|
1461
1461
|
return Ce(n, i, e);
|
|
1462
1462
|
if (Qe(i))
|
|
1463
1463
|
return (e ? en : Qt).decorate_20223_(n, i);
|
|
1464
|
-
if (
|
|
1464
|
+
if (Ae(i))
|
|
1465
1465
|
return Je(n, i, e ? en : Qt);
|
|
1466
|
-
if (
|
|
1466
|
+
if (Ae(n))
|
|
1467
1467
|
return oe(et(e ? Er : fn, {
|
|
1468
1468
|
name: n,
|
|
1469
1469
|
autoAction: e
|
|
@@ -1512,13 +1512,13 @@ function ds(e) {
|
|
|
1512
1512
|
}
|
|
1513
1513
|
var ps = "onBO", vs = "onBUO";
|
|
1514
1514
|
function hs(e, t, r) {
|
|
1515
|
-
return
|
|
1515
|
+
return Sr(ps, e, t, r);
|
|
1516
1516
|
}
|
|
1517
|
-
function
|
|
1518
|
-
return
|
|
1517
|
+
function Ar(e, t, r) {
|
|
1518
|
+
return Sr(vs, e, t, r);
|
|
1519
1519
|
}
|
|
1520
|
-
function
|
|
1521
|
-
var i =
|
|
1520
|
+
function Sr(e, t, r, n) {
|
|
1521
|
+
var i = Ie(t), s = D(n) ? n : r, o = e + "L";
|
|
1522
1522
|
return i[o] ? i[o].add(s) : i[o] = /* @__PURE__ */ new Set([s]), function() {
|
|
1523
1523
|
var a = i[o];
|
|
1524
1524
|
a && (a.delete(s), a.size === 0 && delete i[o]);
|
|
@@ -1540,8 +1540,8 @@ function Cr(e, t, r, n) {
|
|
|
1540
1540
|
process.env.NODE_ENV !== "production" && (arguments.length > 4 && p("'extendObservable' expected 2-4 arguments"), typeof e != "object" && p("'extendObservable' expects an object as first argument"), be(e) && p("'extendObservable' should not be used on maps, use map.merge instead"), I(t) || p("'extendObservable' only accepts plain objects as second argument"), (Xe(t) || Xe(r)) && p("Extending an object with another observable (object) is not supported"));
|
|
1541
1541
|
var i = Yr(t);
|
|
1542
1542
|
return me(function() {
|
|
1543
|
-
var s =
|
|
1544
|
-
|
|
1543
|
+
var s = Re(e, n)[_];
|
|
1544
|
+
je(i).forEach(function(o) {
|
|
1545
1545
|
s.extend_(
|
|
1546
1546
|
o,
|
|
1547
1547
|
i[o],
|
|
@@ -1552,7 +1552,7 @@ function Cr(e, t, r, n) {
|
|
|
1552
1552
|
}), e;
|
|
1553
1553
|
}
|
|
1554
1554
|
function wr(e, t) {
|
|
1555
|
-
return Dr(
|
|
1555
|
+
return Dr(Ie(e, t));
|
|
1556
1556
|
}
|
|
1557
1557
|
function Dr(e) {
|
|
1558
1558
|
var t = {
|
|
@@ -1568,44 +1568,44 @@ function Vr() {
|
|
|
1568
1568
|
this.message = "FLOW_CANCELLED";
|
|
1569
1569
|
}
|
|
1570
1570
|
Vr.prototype = /* @__PURE__ */ Object.create(Error.prototype);
|
|
1571
|
-
var
|
|
1571
|
+
var xt = /* @__PURE__ */ ir("flow"), Os = /* @__PURE__ */ ir("flow.bound", {
|
|
1572
1572
|
bound: !0
|
|
1573
|
-
}),
|
|
1573
|
+
}), Me = /* @__PURE__ */ Object.assign(function(t, r) {
|
|
1574
1574
|
if (Qe(r))
|
|
1575
|
-
return
|
|
1576
|
-
if (
|
|
1577
|
-
return Je(t, r,
|
|
1575
|
+
return xt.decorate_20223_(t, r);
|
|
1576
|
+
if (Ae(r))
|
|
1577
|
+
return Je(t, r, xt);
|
|
1578
1578
|
process.env.NODE_ENV !== "production" && arguments.length !== 1 && p("Flow expects single argument with generator function");
|
|
1579
1579
|
var n = t, i = n.name || "<unnamed flow>", s = function() {
|
|
1580
1580
|
var a = this, u = arguments, l = ++ys, d = w(i + " - runid: " + l + " - init", n).apply(a, u), v, h = void 0, b = new Promise(function(m, y) {
|
|
1581
1581
|
var N = 0;
|
|
1582
1582
|
v = y;
|
|
1583
|
-
function O(
|
|
1583
|
+
function O(A) {
|
|
1584
1584
|
h = void 0;
|
|
1585
1585
|
var L;
|
|
1586
1586
|
try {
|
|
1587
|
-
L = w(i + " - runid: " + l + " - yield " + N++, d.next).call(d,
|
|
1588
|
-
} catch (
|
|
1589
|
-
return y(
|
|
1587
|
+
L = w(i + " - runid: " + l + " - yield " + N++, d.next).call(d, A);
|
|
1588
|
+
} catch (R) {
|
|
1589
|
+
return y(R);
|
|
1590
1590
|
}
|
|
1591
1591
|
X(L);
|
|
1592
1592
|
}
|
|
1593
|
-
function V(
|
|
1593
|
+
function V(A) {
|
|
1594
1594
|
h = void 0;
|
|
1595
1595
|
var L;
|
|
1596
1596
|
try {
|
|
1597
|
-
L = w(i + " - runid: " + l + " - yield " + N++, d.throw).call(d,
|
|
1598
|
-
} catch (
|
|
1599
|
-
return y(
|
|
1597
|
+
L = w(i + " - runid: " + l + " - yield " + N++, d.throw).call(d, A);
|
|
1598
|
+
} catch (R) {
|
|
1599
|
+
return y(R);
|
|
1600
1600
|
}
|
|
1601
1601
|
X(L);
|
|
1602
1602
|
}
|
|
1603
|
-
function X(
|
|
1604
|
-
if (D(
|
|
1605
|
-
|
|
1603
|
+
function X(A) {
|
|
1604
|
+
if (D(A?.then)) {
|
|
1605
|
+
A.then(X, y);
|
|
1606
1606
|
return;
|
|
1607
1607
|
}
|
|
1608
|
-
return
|
|
1608
|
+
return A.done ? m(A.value) : (h = Promise.resolve(A.value), h.then(O, V));
|
|
1609
1609
|
}
|
|
1610
1610
|
O(void 0);
|
|
1611
1611
|
});
|
|
@@ -1613,15 +1613,15 @@ var Rt = /* @__PURE__ */ ir("flow"), Os = /* @__PURE__ */ ir("flow.bound", {
|
|
|
1613
1613
|
try {
|
|
1614
1614
|
h && On(h);
|
|
1615
1615
|
var m = d.return(void 0), y = Promise.resolve(m.value);
|
|
1616
|
-
y.then(
|
|
1616
|
+
y.then(Te, Te), On(y), v(new Vr());
|
|
1617
1617
|
} catch (N) {
|
|
1618
1618
|
v(N);
|
|
1619
1619
|
}
|
|
1620
1620
|
}), b;
|
|
1621
1621
|
};
|
|
1622
1622
|
return s.isMobXFlow = !0, s;
|
|
1623
|
-
},
|
|
1624
|
-
|
|
1623
|
+
}, xt);
|
|
1624
|
+
Me.bound = /* @__PURE__ */ oe(Os);
|
|
1625
1625
|
function On(e) {
|
|
1626
1626
|
D(e.cancel) && e.cancel();
|
|
1627
1627
|
}
|
|
@@ -1639,20 +1639,20 @@ function Ns() {
|
|
|
1639
1639
|
for (var e = !1, t = arguments.length, r = new Array(t), n = 0; n < t; n++)
|
|
1640
1640
|
r[n] = arguments[n];
|
|
1641
1641
|
typeof r[r.length - 1] == "boolean" && (e = r.pop());
|
|
1642
|
-
var i =
|
|
1642
|
+
var i = As(r);
|
|
1643
1643
|
if (!i)
|
|
1644
1644
|
return p("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");
|
|
1645
1645
|
i.isTracing_ === W.NONE && console.log("[mobx.trace] '" + i.name_ + "' tracing enabled"), i.isTracing_ = e ? W.BREAK : W.LOG;
|
|
1646
1646
|
}
|
|
1647
1647
|
}
|
|
1648
|
-
function
|
|
1648
|
+
function As(e) {
|
|
1649
1649
|
switch (e.length) {
|
|
1650
1650
|
case 0:
|
|
1651
1651
|
return f.trackingDerivation;
|
|
1652
1652
|
case 1:
|
|
1653
|
-
return
|
|
1653
|
+
return Ie(e[0]);
|
|
1654
1654
|
case 2:
|
|
1655
|
-
return
|
|
1655
|
+
return Ie(e[0], e[1]);
|
|
1656
1656
|
}
|
|
1657
1657
|
}
|
|
1658
1658
|
function ce(e, t) {
|
|
@@ -1666,7 +1666,7 @@ function ce(e, t) {
|
|
|
1666
1666
|
function ge(e) {
|
|
1667
1667
|
return e[_];
|
|
1668
1668
|
}
|
|
1669
|
-
var
|
|
1669
|
+
var Ss = {
|
|
1670
1670
|
has: function(t, r) {
|
|
1671
1671
|
return process.env.NODE_ENV !== "production" && f.trackingDerivation && Ke("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."), ge(t).has_(r);
|
|
1672
1672
|
},
|
|
@@ -1675,11 +1675,11 @@ var As = {
|
|
|
1675
1675
|
},
|
|
1676
1676
|
set: function(t, r, n) {
|
|
1677
1677
|
var i;
|
|
1678
|
-
return
|
|
1678
|
+
return Ae(r) ? (process.env.NODE_ENV !== "production" && !ge(t).values_.has(r) && Ke("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."), (i = ge(t).set_(r, n, !0)) != null ? i : !0) : !1;
|
|
1679
1679
|
},
|
|
1680
1680
|
deleteProperty: function(t, r) {
|
|
1681
1681
|
var n;
|
|
1682
|
-
return process.env.NODE_ENV !== "production" && Ke("delete properties from an observable object. Use 'remove' from 'mobx' instead."),
|
|
1682
|
+
return process.env.NODE_ENV !== "production" && Ke("delete properties from an observable object. Use 'remove' from 'mobx' instead."), Ae(r) ? (n = ge(t).delete_(r, !0)) != null ? n : !0 : !1;
|
|
1683
1683
|
},
|
|
1684
1684
|
defineProperty: function(t, r, n) {
|
|
1685
1685
|
var i;
|
|
@@ -1694,7 +1694,7 @@ var As = {
|
|
|
1694
1694
|
};
|
|
1695
1695
|
function Cs(e, t) {
|
|
1696
1696
|
var r, n;
|
|
1697
|
-
return Xn(), e =
|
|
1697
|
+
return Xn(), e = Re(e, t), (n = (r = e[_]).proxy_) != null ? n : r.proxy_ = new Proxy(e, Ss);
|
|
1698
1698
|
}
|
|
1699
1699
|
function K(e) {
|
|
1700
1700
|
return e.interceptors_ !== void 0 && e.interceptors_.length > 0;
|
|
@@ -1737,18 +1737,18 @@ function Q(e, t) {
|
|
|
1737
1737
|
}
|
|
1738
1738
|
function dn(e, t, r) {
|
|
1739
1739
|
return me(function() {
|
|
1740
|
-
var n, i =
|
|
1741
|
-
process.env.NODE_ENV !== "production" && t && e[
|
|
1740
|
+
var n, i = Re(e, r)[_];
|
|
1741
|
+
process.env.NODE_ENV !== "production" && t && e[x] && p("makeObservable second arg must be nullish when using decorators. Mixing @decorator syntax with annotations is not supported."), (n = t) != null || (t = ri(e)), je(t).forEach(function(s) {
|
|
1742
1742
|
return i.make_(s, t[s]);
|
|
1743
1743
|
});
|
|
1744
1744
|
}), e;
|
|
1745
1745
|
}
|
|
1746
1746
|
var Tt = /* @__PURE__ */ Symbol("mobx-keys");
|
|
1747
|
-
function
|
|
1747
|
+
function Be(e, t, r) {
|
|
1748
1748
|
return process.env.NODE_ENV !== "production" && (!I(e) && !I(Object.getPrototypeOf(e)) && p("'makeAutoObservable' can only be used for classes that don't have a superclass"), $e(e) && p("makeAutoObservable can only be used on objects not already made observable")), I(e) ? Cr(e, e, t, r) : (me(function() {
|
|
1749
|
-
var n =
|
|
1749
|
+
var n = Re(e, r)[_];
|
|
1750
1750
|
if (!e[Tt]) {
|
|
1751
|
-
var i = Object.getPrototypeOf(e), s = new Set([].concat(
|
|
1751
|
+
var i = Object.getPrototypeOf(e), s = new Set([].concat(je(e), je(i)));
|
|
1752
1752
|
s.delete("constructor"), s.delete(_), Ye(i, Tt, s);
|
|
1753
1753
|
}
|
|
1754
1754
|
e[Tt].forEach(function(o) {
|
|
@@ -2041,7 +2041,7 @@ function Bt(e) {
|
|
|
2041
2041
|
var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
|
|
2042
2042
|
function e(r, n, i) {
|
|
2043
2043
|
var s = this;
|
|
2044
|
-
n === void 0 && (n =
|
|
2044
|
+
n === void 0 && (n = Se), i === void 0 && (i = process.env.NODE_ENV !== "production" ? "ObservableMap@" + ee() : "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[_] = Bs, this.data_ = void 0, this.hasMap_ = void 0, this.keysAtom_ = void 0, this.interceptors_ = void 0, this.changeListeners_ = void 0, this.dehancer = void 0, this.enhancer_ = n, this.name_ = i, D(Map) || p(18), me(function() {
|
|
2045
2045
|
s.keysAtom_ = nr(process.env.NODE_ENV !== "production" ? s.name_ + ".keys()" : "ObservableMap.keys()"), s.data_ = /* @__PURE__ */ new Map(), s.hasMap_ = /* @__PURE__ */ new Map(), r && s.merge(r);
|
|
2046
2046
|
});
|
|
2047
2047
|
}
|
|
@@ -2055,7 +2055,7 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
|
|
|
2055
2055
|
var s = this.hasMap_.get(n);
|
|
2056
2056
|
if (!s) {
|
|
2057
2057
|
var o = s = new Ee(this.has_(n), Dt, process.env.NODE_ENV !== "production" ? this.name_ + "." + Gt(n) + "?" : "ObservableMap.key?", !1);
|
|
2058
|
-
this.hasMap_.set(n, o),
|
|
2058
|
+
this.hasMap_.set(n, o), Ar(o, function() {
|
|
2059
2059
|
return i.hasMap_.delete(n);
|
|
2060
2060
|
});
|
|
2061
2061
|
}
|
|
@@ -2162,7 +2162,7 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
|
|
|
2162
2162
|
}, t[Symbol.iterator] = function() {
|
|
2163
2163
|
return this.entries();
|
|
2164
2164
|
}, t.forEach = function(n, i) {
|
|
2165
|
-
for (var s =
|
|
2165
|
+
for (var s = Pe(this), o; !(o = s()).done; ) {
|
|
2166
2166
|
var a = o.value, u = a[0], l = a[1];
|
|
2167
2167
|
n.call(i, l, u, this);
|
|
2168
2168
|
}
|
|
@@ -2174,7 +2174,7 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
|
|
|
2174
2174
|
}) : Array.isArray(n) ? n.forEach(function(s) {
|
|
2175
2175
|
var o = s[0], a = s[1];
|
|
2176
2176
|
return i.set(o, a);
|
|
2177
|
-
}) :
|
|
2177
|
+
}) : ke(n) ? (Zr(n) || p(19, n), n.forEach(function(s, o) {
|
|
2178
2178
|
return i.set(o, s);
|
|
2179
2179
|
})) : n != null && p(20, n);
|
|
2180
2180
|
}), this;
|
|
@@ -2182,7 +2182,7 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
|
|
|
2182
2182
|
var n = this;
|
|
2183
2183
|
ce(function() {
|
|
2184
2184
|
dr(function() {
|
|
2185
|
-
for (var i =
|
|
2185
|
+
for (var i = Pe(n.keys()), s; !(s = i()).done; ) {
|
|
2186
2186
|
var o = s.value;
|
|
2187
2187
|
n.delete(o);
|
|
2188
2188
|
}
|
|
@@ -2191,7 +2191,7 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
|
|
|
2191
2191
|
}, t.replace = function(n) {
|
|
2192
2192
|
var i = this;
|
|
2193
2193
|
return ce(function() {
|
|
2194
|
-
for (var s =
|
|
2194
|
+
for (var s = Rs(n), o = /* @__PURE__ */ new Map(), a = !1, u = Pe(i.data_.keys()), l; !(l = u()).done; ) {
|
|
2195
2195
|
var d = l.value;
|
|
2196
2196
|
if (!s.has(d)) {
|
|
2197
2197
|
var v = i.delete(d);
|
|
@@ -2203,7 +2203,7 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
|
|
|
2203
2203
|
}
|
|
2204
2204
|
}
|
|
2205
2205
|
}
|
|
2206
|
-
for (var b =
|
|
2206
|
+
for (var b = Pe(s.entries()), m; !(m = b()).done; ) {
|
|
2207
2207
|
var y = m.value, N = y[0], O = y[1], V = i.data_.has(N);
|
|
2208
2208
|
if (i.set(N, O), i.data_.has(N)) {
|
|
2209
2209
|
var X = i.data_.get(N);
|
|
@@ -2214,12 +2214,12 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
|
|
|
2214
2214
|
if (i.data_.size !== o.size)
|
|
2215
2215
|
i.keysAtom_.reportChanged();
|
|
2216
2216
|
else
|
|
2217
|
-
for (var
|
|
2218
|
-
if (
|
|
2217
|
+
for (var A = i.data_.keys(), L = o.keys(), R = A.next(), Fe = L.next(); !R.done; ) {
|
|
2218
|
+
if (R.value !== Fe.value) {
|
|
2219
2219
|
i.keysAtom_.reportChanged();
|
|
2220
2220
|
break;
|
|
2221
2221
|
}
|
|
2222
|
-
|
|
2222
|
+
R = A.next(), Fe = L.next();
|
|
2223
2223
|
}
|
|
2224
2224
|
i.data_ = o;
|
|
2225
2225
|
}), this;
|
|
@@ -2231,7 +2231,7 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
|
|
|
2231
2231
|
return process.env.NODE_ENV !== "production" && i === !0 && p("`observe` doesn't support fireImmediately=true in combination with maps."), nt(this, n);
|
|
2232
2232
|
}, t.intercept_ = function(n) {
|
|
2233
2233
|
return tt(this, n);
|
|
2234
|
-
},
|
|
2234
|
+
}, Ue(e, [{
|
|
2235
2235
|
key: "size",
|
|
2236
2236
|
get: function() {
|
|
2237
2237
|
return this.keysAtom_.reportObserved(), this.data_.size;
|
|
@@ -2246,8 +2246,8 @@ var Bs = {}, ve = "add", Ot = "delete", Br = /* @__PURE__ */ (function() {
|
|
|
2246
2246
|
function Nn(e) {
|
|
2247
2247
|
return e[Symbol.toStringTag] = "MapIterator", hn(e);
|
|
2248
2248
|
}
|
|
2249
|
-
function
|
|
2250
|
-
if (
|
|
2249
|
+
function Rs(e) {
|
|
2250
|
+
if (ke(e) || be(e))
|
|
2251
2251
|
return e;
|
|
2252
2252
|
if (Array.isArray(e))
|
|
2253
2253
|
return new Map(e);
|
|
@@ -2259,10 +2259,10 @@ function xs(e) {
|
|
|
2259
2259
|
} else
|
|
2260
2260
|
return p(21, e);
|
|
2261
2261
|
}
|
|
2262
|
-
var
|
|
2262
|
+
var xs = {}, Rr = /* @__PURE__ */ (function() {
|
|
2263
2263
|
function e(r, n, i) {
|
|
2264
2264
|
var s = this;
|
|
2265
|
-
n === void 0 && (n =
|
|
2265
|
+
n === void 0 && (n = Se), i === void 0 && (i = process.env.NODE_ENV !== "production" ? "ObservableSet@" + ee() : "ObservableSet"), this.name_ = void 0, this[_] = xs, this.data_ = /* @__PURE__ */ new Set(), this.atom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.dehancer = void 0, this.enhancer_ = void 0, this.name_ = i, D(Set) || p(22), this.enhancer_ = function(o, a) {
|
|
2266
2266
|
return n(o, a, i);
|
|
2267
2267
|
}, me(function() {
|
|
2268
2268
|
s.atom_ = nr(s.name_), r && s.replace(r);
|
|
@@ -2275,14 +2275,14 @@ var Rs = {}, xr = /* @__PURE__ */ (function() {
|
|
|
2275
2275
|
var n = this;
|
|
2276
2276
|
ce(function() {
|
|
2277
2277
|
dr(function() {
|
|
2278
|
-
for (var i =
|
|
2278
|
+
for (var i = Pe(n.data_.values()), s; !(s = i()).done; ) {
|
|
2279
2279
|
var o = s.value;
|
|
2280
2280
|
n.delete(o);
|
|
2281
2281
|
}
|
|
2282
2282
|
});
|
|
2283
2283
|
});
|
|
2284
2284
|
}, t.forEach = function(n, i) {
|
|
2285
|
-
for (var s =
|
|
2285
|
+
for (var s = Pe(this), o; !(o = s()).done; ) {
|
|
2286
2286
|
var a = o.value;
|
|
2287
2287
|
n.call(i, a, a, this);
|
|
2288
2288
|
}
|
|
@@ -2340,7 +2340,7 @@ var Rs = {}, xr = /* @__PURE__ */ (function() {
|
|
|
2340
2340
|
return this.atom_.reportObserved(), this.data_.has(this.dehanceValue_(n));
|
|
2341
2341
|
}, t.entries = function() {
|
|
2342
2342
|
var n = this.values();
|
|
2343
|
-
return
|
|
2343
|
+
return An({
|
|
2344
2344
|
next: function() {
|
|
2345
2345
|
var s = n.next(), o = s.value, a = s.done;
|
|
2346
2346
|
return a ? {
|
|
@@ -2357,7 +2357,7 @@ var Rs = {}, xr = /* @__PURE__ */ (function() {
|
|
|
2357
2357
|
}, t.values = function() {
|
|
2358
2358
|
this.atom_.reportObserved();
|
|
2359
2359
|
var n = this, i = this.data_.values();
|
|
2360
|
-
return
|
|
2360
|
+
return An({
|
|
2361
2361
|
next: function() {
|
|
2362
2362
|
var o = i.next(), a = o.value, u = o.done;
|
|
2363
2363
|
return u ? {
|
|
@@ -2414,7 +2414,7 @@ var Rs = {}, xr = /* @__PURE__ */ (function() {
|
|
|
2414
2414
|
return "[object ObservableSet]";
|
|
2415
2415
|
}, t[Symbol.iterator] = function() {
|
|
2416
2416
|
return this.values();
|
|
2417
|
-
},
|
|
2417
|
+
}, Ue(e, [{
|
|
2418
2418
|
key: "size",
|
|
2419
2419
|
get: function() {
|
|
2420
2420
|
return this.atom_.reportObserved(), this.data_.size;
|
|
@@ -2425,11 +2425,11 @@ var Rs = {}, xr = /* @__PURE__ */ (function() {
|
|
|
2425
2425
|
return "Set";
|
|
2426
2426
|
}
|
|
2427
2427
|
}]);
|
|
2428
|
-
})(), re = /* @__PURE__ */ Ve("ObservableSet",
|
|
2429
|
-
function
|
|
2428
|
+
})(), re = /* @__PURE__ */ Ve("ObservableSet", Rr);
|
|
2429
|
+
function An(e) {
|
|
2430
2430
|
return e[Symbol.toStringTag] = "SetIterator", hn(e);
|
|
2431
2431
|
}
|
|
2432
|
-
var
|
|
2432
|
+
var Sn = /* @__PURE__ */ Object.create(null), Cn = "remove", tn = /* @__PURE__ */ (function() {
|
|
2433
2433
|
function e(r, n, i, s) {
|
|
2434
2434
|
n === void 0 && (n = /* @__PURE__ */ new Map()), s === void 0 && (s = Ci), this.target_ = void 0, this.values_ = void 0, this.name_ = void 0, this.defaultAnnotation_ = void 0, this.keysAtom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.proxy_ = void 0, this.isPlainObject_ = void 0, this.appliedAnnotations_ = void 0, this.pendingKeys_ = void 0, this.target_ = r, this.values_ = n, this.name_ = i, this.defaultAnnotation_ = s, this.keysAtom_ = new _e(process.env.NODE_ENV !== "production" ? this.name_ + ".keys" : "ObservableObject.keys"), this.isPlainObject_ = I(this.target_), process.env.NODE_ENV !== "production" && !Ir(this.defaultAnnotation_) && p("defaultAnnotation must be valid annotation"), process.env.NODE_ENV !== "production" && (this.appliedAnnotations_ = {});
|
|
2435
2435
|
}
|
|
@@ -2483,11 +2483,11 @@ var An = /* @__PURE__ */ Object.create(null), Cn = "remove", tn = /* @__PURE__ *
|
|
|
2483
2483
|
if (i === !0 && (i = this.defaultAnnotation_), i !== !1) {
|
|
2484
2484
|
if (Vn(this, i, n), !(n in this.target_)) {
|
|
2485
2485
|
var s;
|
|
2486
|
-
if ((s = this.target_[
|
|
2486
|
+
if ((s = this.target_[x]) != null && s[n])
|
|
2487
2487
|
return;
|
|
2488
2488
|
p(1, i.annotationType_, this.name_ + "." + n.toString());
|
|
2489
2489
|
}
|
|
2490
|
-
for (var o = this.target_; o && o !==
|
|
2490
|
+
for (var o = this.target_; o && o !== St; ) {
|
|
2491
2491
|
var a = pt(o, n);
|
|
2492
2492
|
if (a) {
|
|
2493
2493
|
var u = i.make_(this, n, a, o);
|
|
@@ -2665,12 +2665,12 @@ var An = /* @__PURE__ */ Object.create(null), Cn = "remove", tn = /* @__PURE__ *
|
|
|
2665
2665
|
}
|
|
2666
2666
|
(s = this.pendingKeys_) == null || (s = s.get(n)) == null || s.set(!0), this.keysAtom_.reportChanged();
|
|
2667
2667
|
}, t.ownKeys_ = function() {
|
|
2668
|
-
return this.keysAtom_.reportObserved(),
|
|
2668
|
+
return this.keysAtom_.reportObserved(), je(this.target_);
|
|
2669
2669
|
}, t.keys_ = function() {
|
|
2670
2670
|
return this.keysAtom_.reportObserved(), Object.keys(this.target_);
|
|
2671
2671
|
}, e;
|
|
2672
2672
|
})();
|
|
2673
|
-
function
|
|
2673
|
+
function Re(e, t) {
|
|
2674
2674
|
var r;
|
|
2675
2675
|
if (process.env.NODE_ENV !== "production" && t && $e(e) && p("Options can't be provided for already observable objects."), z(e, _))
|
|
2676
2676
|
return process.env.NODE_ENV !== "production" && !(jr(e) instanceof tn) && p("Cannot convert '" + Et(e) + `' into observable object:
|
|
@@ -2682,7 +2682,7 @@ Extending builtins is not supported.`), e;
|
|
|
2682
2682
|
}
|
|
2683
2683
|
var Ts = /* @__PURE__ */ Ve("ObservableObjectAdministration", tn);
|
|
2684
2684
|
function wn(e) {
|
|
2685
|
-
return
|
|
2685
|
+
return Sn[e] || (Sn[e] = {
|
|
2686
2686
|
get: function() {
|
|
2687
2687
|
return this[_].getObservablePropValue_(e);
|
|
2688
2688
|
},
|
|
@@ -2696,7 +2696,7 @@ function $e(e) {
|
|
|
2696
2696
|
}
|
|
2697
2697
|
function Dn(e, t, r) {
|
|
2698
2698
|
var n;
|
|
2699
|
-
process.env.NODE_ENV !== "production" && (e.appliedAnnotations_[r] = t), (n = e.target_[
|
|
2699
|
+
process.env.NODE_ENV !== "production" && (e.appliedAnnotations_[r] = t), (n = e.target_[x]) == null || delete n[r];
|
|
2700
2700
|
}
|
|
2701
2701
|
function Vn(e, t, r) {
|
|
2702
2702
|
if (process.env.NODE_ENV !== "production" && !Ir(t) && p("Cannot annotate '" + e.name_ + "." + r.toString() + "': Invalid annotation."), process.env.NODE_ENV !== "production" && !_t(t) && z(e.appliedAnnotations_, r)) {
|
|
@@ -2714,12 +2714,12 @@ var Ps = /* @__PURE__ */ Tr(0), js = /* @__PURE__ */ (function() {
|
|
|
2714
2714
|
e = !0;
|
|
2715
2715
|
}
|
|
2716
2716
|
}), Object.create(t)[0] = 1, e === !1;
|
|
2717
|
-
})(), Pt = 0,
|
|
2717
|
+
})(), Pt = 0, xr = function() {
|
|
2718
2718
|
};
|
|
2719
2719
|
function Ms(e, t) {
|
|
2720
2720
|
Object.setPrototypeOf ? Object.setPrototypeOf(e.prototype, t) : e.prototype.__proto__ !== void 0 ? e.prototype.__proto__ = t : e.prototype = t;
|
|
2721
2721
|
}
|
|
2722
|
-
Ms(
|
|
2722
|
+
Ms(xr, Array.prototype);
|
|
2723
2723
|
var vn = /* @__PURE__ */ (function(e) {
|
|
2724
2724
|
function t(n, i, s, o) {
|
|
2725
2725
|
var a;
|
|
@@ -2754,7 +2754,7 @@ var vn = /* @__PURE__ */ (function(e) {
|
|
|
2754
2754
|
};
|
|
2755
2755
|
}
|
|
2756
2756
|
});
|
|
2757
|
-
},
|
|
2757
|
+
}, Ue(t, [{
|
|
2758
2758
|
key: "length",
|
|
2759
2759
|
get: function() {
|
|
2760
2760
|
return this[_].getArrayLength_();
|
|
@@ -2768,7 +2768,7 @@ var vn = /* @__PURE__ */ (function(e) {
|
|
|
2768
2768
|
return "Array";
|
|
2769
2769
|
}
|
|
2770
2770
|
}]);
|
|
2771
|
-
})(
|
|
2771
|
+
})(xr);
|
|
2772
2772
|
Object.entries(yt).forEach(function(e) {
|
|
2773
2773
|
var t = e[0], r = e[1];
|
|
2774
2774
|
t !== "concat" && Ye(vn.prototype, t, r);
|
|
@@ -2799,7 +2799,7 @@ Pr(1e3);
|
|
|
2799
2799
|
function ks(e, t, r) {
|
|
2800
2800
|
return new vn(e, t, r);
|
|
2801
2801
|
}
|
|
2802
|
-
function
|
|
2802
|
+
function Ie(e, t) {
|
|
2803
2803
|
if (typeof e == "object" && e !== null) {
|
|
2804
2804
|
if (Bt(e))
|
|
2805
2805
|
return t !== void 0 && p(23), e[_].atom_;
|
|
@@ -2833,11 +2833,11 @@ function jr(e, t) {
|
|
|
2833
2833
|
function Et(e, t) {
|
|
2834
2834
|
var r;
|
|
2835
2835
|
if (t !== void 0)
|
|
2836
|
-
r =
|
|
2836
|
+
r = Ie(e, t);
|
|
2837
2837
|
else {
|
|
2838
2838
|
if (De(e))
|
|
2839
2839
|
return e.name;
|
|
2840
|
-
$e(e) || be(e) || re(e) ? r = jr(e) : r =
|
|
2840
|
+
$e(e) || be(e) || re(e) ? r = jr(e) : r = Ie(e);
|
|
2841
2841
|
}
|
|
2842
2842
|
return r.name_;
|
|
2843
2843
|
}
|
|
@@ -2850,7 +2850,7 @@ function me(e) {
|
|
|
2850
2850
|
G(), cn(r), le(t);
|
|
2851
2851
|
}
|
|
2852
2852
|
}
|
|
2853
|
-
var Ln =
|
|
2853
|
+
var Ln = St.toString;
|
|
2854
2854
|
function Mr(e, t, r) {
|
|
2855
2855
|
return r === void 0 && (r = -1), nn(e, t, r);
|
|
2856
2856
|
}
|
|
@@ -2919,9 +2919,9 @@ function nn(e, t, r, n, i) {
|
|
|
2919
2919
|
return n.pop(), i.pop(), !0;
|
|
2920
2920
|
}
|
|
2921
2921
|
function Bn(e) {
|
|
2922
|
-
return Bt(e) ? e.slice() :
|
|
2922
|
+
return Bt(e) ? e.slice() : ke(e) || be(e) || ue(e) || re(e) ? Array.from(e.entries()) : e;
|
|
2923
2923
|
}
|
|
2924
|
-
var
|
|
2924
|
+
var Rn, Us = ((Rn = At().Iterator) == null ? void 0 : Rn.prototype) || {};
|
|
2925
2925
|
function hn(e) {
|
|
2926
2926
|
return e[Symbol.iterator] = $s, Object.assign(Object.create(Us), e);
|
|
2927
2927
|
}
|
|
@@ -2935,7 +2935,7 @@ function Ir(e) {
|
|
|
2935
2935
|
);
|
|
2936
2936
|
}
|
|
2937
2937
|
["Symbol", "Map", "Set"].forEach(function(e) {
|
|
2938
|
-
var t =
|
|
2938
|
+
var t = At();
|
|
2939
2939
|
typeof t[e] > "u" && p("MobX requires global '" + e + "' to be available or polyfilled");
|
|
2940
2940
|
});
|
|
2941
2941
|
typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({
|
|
@@ -3028,10 +3028,10 @@ var Hs = 1e4, Gs = 1e4, zs = (
|
|
|
3028
3028
|
var t;
|
|
3029
3029
|
(t = e.reaction) === null || t === void 0 || t.dispose(), e.reaction = null;
|
|
3030
3030
|
}), ot = { exports: {} }, jt = {};
|
|
3031
|
-
var
|
|
3031
|
+
var xn;
|
|
3032
3032
|
function Zs() {
|
|
3033
|
-
if (
|
|
3034
|
-
|
|
3033
|
+
if (xn) return jt;
|
|
3034
|
+
xn = 1;
|
|
3035
3035
|
var e = he;
|
|
3036
3036
|
function t(v, h) {
|
|
3037
3037
|
return v === h && (v !== 0 || 1 / v === 1 / h) || v !== v && h !== h;
|
|
@@ -3224,7 +3224,7 @@ const io = ({ onClick: e, disabled: t = !1, imagePath: r }) => g("div", { classN
|
|
|
3224
3224
|
class oo {
|
|
3225
3225
|
activePopup = null;
|
|
3226
3226
|
constructor() {
|
|
3227
|
-
|
|
3227
|
+
Be(this);
|
|
3228
3228
|
}
|
|
3229
3229
|
open(t) {
|
|
3230
3230
|
this.activePopup = t;
|
|
@@ -3283,7 +3283,7 @@ class co {
|
|
|
3283
3283
|
dialogs = uo;
|
|
3284
3284
|
activeDialog = null;
|
|
3285
3285
|
constructor() {
|
|
3286
|
-
|
|
3286
|
+
Be(this);
|
|
3287
3287
|
}
|
|
3288
3288
|
add(t) {
|
|
3289
3289
|
this.dialogs.push(t);
|
|
@@ -3304,8 +3304,6 @@ class lo {
|
|
|
3304
3304
|
balance = 1e4;
|
|
3305
3305
|
betAmount = 10;
|
|
3306
3306
|
betIndex = 0;
|
|
3307
|
-
lastWin = 0;
|
|
3308
|
-
volume = 50;
|
|
3309
3307
|
betAmountRange = [
|
|
3310
3308
|
10,
|
|
3311
3309
|
20,
|
|
@@ -3327,10 +3325,10 @@ class lo {
|
|
|
3327
3325
|
minBetAmount = this.betAmountRange[this.betAmountRange.length - 1];
|
|
3328
3326
|
displayCurrency = "FUN";
|
|
3329
3327
|
constructor() {
|
|
3330
|
-
|
|
3328
|
+
Be(this);
|
|
3331
3329
|
}
|
|
3332
3330
|
setBet(t) {
|
|
3333
|
-
this.betAmount = t;
|
|
3331
|
+
this.betAmount = t, this.betIndex = this.betAmountRange.indexOf(t);
|
|
3334
3332
|
}
|
|
3335
3333
|
setNextBetAmount() {
|
|
3336
3334
|
if (this.betIndex === this.betAmountRange.length - 1)
|
|
@@ -3351,12 +3349,6 @@ class lo {
|
|
|
3351
3349
|
setBalance(t) {
|
|
3352
3350
|
this.balance = t;
|
|
3353
3351
|
}
|
|
3354
|
-
setLastWin(t) {
|
|
3355
|
-
this.lastWin = t;
|
|
3356
|
-
}
|
|
3357
|
-
setVolume(t) {
|
|
3358
|
-
this.volume = Math.max(0, Math.min(100, t));
|
|
3359
|
-
}
|
|
3360
3352
|
}
|
|
3361
3353
|
const ae = new lo();
|
|
3362
3354
|
class fo {
|
|
@@ -3374,7 +3366,7 @@ class fo {
|
|
|
3374
3366
|
// X bet
|
|
3375
3367
|
isStarted = !1;
|
|
3376
3368
|
constructor() {
|
|
3377
|
-
|
|
3369
|
+
Be(this);
|
|
3378
3370
|
}
|
|
3379
3371
|
setCount(t) {
|
|
3380
3372
|
this.count = t;
|
|
@@ -3431,12 +3423,12 @@ class po {
|
|
|
3431
3423
|
handlerSet = !1;
|
|
3432
3424
|
constructor() {
|
|
3433
3425
|
dn(this, {
|
|
3434
|
-
anteBets:
|
|
3435
|
-
inReelFeatures:
|
|
3436
|
-
bonusFeatures:
|
|
3437
|
-
activeAnteBet:
|
|
3438
|
-
activeBonusFeature:
|
|
3439
|
-
activeInReelFeature:
|
|
3426
|
+
anteBets: S,
|
|
3427
|
+
inReelFeatures: S,
|
|
3428
|
+
bonusFeatures: S,
|
|
3429
|
+
activeAnteBet: S,
|
|
3430
|
+
activeBonusFeature: S,
|
|
3431
|
+
activeInReelFeature: S,
|
|
3440
3432
|
isActiveBonus: Oe,
|
|
3441
3433
|
isActiveInReelFeature: Oe,
|
|
3442
3434
|
isActiveAnteBet: Oe,
|
|
@@ -3498,7 +3490,7 @@ class vo {
|
|
|
3498
3490
|
musicOn = !0;
|
|
3499
3491
|
soundsOn = !0;
|
|
3500
3492
|
constructor() {
|
|
3501
|
-
|
|
3493
|
+
Be(this);
|
|
3502
3494
|
}
|
|
3503
3495
|
setMusicOn(t) {
|
|
3504
3496
|
this.musicOn = t, localStorage.setItem(at.MUSIC_ON, t.toString());
|
|
@@ -3629,7 +3621,7 @@ class ho {
|
|
|
3629
3621
|
}
|
|
3630
3622
|
];
|
|
3631
3623
|
constructor() {
|
|
3632
|
-
|
|
3624
|
+
Be(this);
|
|
3633
3625
|
}
|
|
3634
3626
|
setData(t) {
|
|
3635
3627
|
this.data = t;
|
|
@@ -3648,13 +3640,13 @@ class bo {
|
|
|
3648
3640
|
handlerSet = !1;
|
|
3649
3641
|
constructor() {
|
|
3650
3642
|
dn(this, {
|
|
3651
|
-
isRunning:
|
|
3652
|
-
isDisabled:
|
|
3653
|
-
isSlamStop:
|
|
3654
|
-
isUIVisible:
|
|
3655
|
-
isAutoPlayDisabled:
|
|
3656
|
-
isBuyBonusDisabled:
|
|
3657
|
-
isBetAmountLabelsDisabled:
|
|
3643
|
+
isRunning: S,
|
|
3644
|
+
isDisabled: S,
|
|
3645
|
+
isSlamStop: S,
|
|
3646
|
+
isUIVisible: S,
|
|
3647
|
+
isAutoPlayDisabled: S,
|
|
3648
|
+
isBuyBonusDisabled: S,
|
|
3649
|
+
isBetAmountLabelsDisabled: S,
|
|
3658
3650
|
setIsSpinRunning: w,
|
|
3659
3651
|
setIsSpinDisabled: w,
|
|
3660
3652
|
setIsSlamStop: w,
|
|
@@ -3698,18 +3690,36 @@ class bo {
|
|
|
3698
3690
|
this.isSlamStop = t;
|
|
3699
3691
|
}
|
|
3700
3692
|
}
|
|
3701
|
-
const Nt = new bo()
|
|
3693
|
+
const Nt = new bo();
|
|
3694
|
+
class mo {
|
|
3695
|
+
lastResult = {};
|
|
3696
|
+
isBonus = !1;
|
|
3697
|
+
lastWinAmount = 0;
|
|
3698
|
+
constructor() {
|
|
3699
|
+
Be(this);
|
|
3700
|
+
}
|
|
3701
|
+
setLastResult(t) {
|
|
3702
|
+
this.lastResult = t;
|
|
3703
|
+
}
|
|
3704
|
+
setIsBonus(t) {
|
|
3705
|
+
this.isBonus = t;
|
|
3706
|
+
}
|
|
3707
|
+
setLastWinAmount(t) {
|
|
3708
|
+
this.lastWinAmount = t;
|
|
3709
|
+
}
|
|
3710
|
+
}
|
|
3711
|
+
const go = new mo(), yo = F(() => {
|
|
3702
3712
|
const { isDisabled: e, isRunning: t, clickHandler: r } = Nt, { count: n, isStarted: i } = ye;
|
|
3703
3713
|
return c("button", { className: `spin-btn
|
|
3704
3714
|
${e ? "disabled" : ""}
|
|
3705
3715
|
${t ? "slam-stop" : ""}
|
|
3706
3716
|
`, onClick: r.bind(Nt), children: i && t && n && c("span", { className: "spin-btn_label", children: n }) });
|
|
3707
|
-
}), Kn = ({ onClick: e, disabled: t = !1, className: r, isActive: n }) => c("button", { className: `${r} ${t ? "disabled" : ""} ${n ? "active" : ""}`, onClick: e }),
|
|
3708
|
-
const {
|
|
3717
|
+
}), Kn = ({ onClick: e, disabled: t = !1, className: r, isActive: n }) => c("button", { className: `${r} ${t ? "disabled" : ""} ${n ? "active" : ""}`, onClick: e }), Oo = F(() => {
|
|
3718
|
+
const { balance: e, betAmount: t, displayCurrency: r, setNextBetAmount: n, setPrevBetAmount: i } = ae, { lastWinAmount: s } = go, { setIsTurbo: o, isTurbo: a } = ne, { open: u } = T, { activeAnteBet: l, activeBonusFeature: d, activeInReelFeature: v, setActiveAnteBet: h } = Ne, { isUIVisible: b, isAutoPlayDisabled: m, isBuyBonusDisabled: y, isBetAmountLabelsDisabled: N } = Nt, O = dt(() => l?.imagePath || v?.imagePath || d?.imagePath, [l, d, v]), V = zn(() => {
|
|
3709
3719
|
l ? h.call(Ne, null) : u.call(T, P.buyBonus);
|
|
3710
3720
|
}, [l, h]);
|
|
3711
|
-
return c("div", { className: `ui-footer ${b ? "" : "hidden"}`, children: g("div", { className: "top-row", children: [g("div", { className: "left-group", children: [c(io, { imagePath: O, disabled: y, onClick: V }), g("div", { className: "balance-info", children: [c(Un, { label: "LAST WIN", value: `${
|
|
3712
|
-
}),
|
|
3721
|
+
return c("div", { className: `ui-footer ${b ? "" : "hidden"}`, children: g("div", { className: "top-row", children: [g("div", { className: "left-group", children: [c(io, { imagePath: O, disabled: y, onClick: V }), g("div", { className: "balance-info", children: [c(Un, { label: "LAST WIN", value: `${s} ${r}` }), c(Un, { label: "BALANCE", value: `${e} ${r}` })] })] }), g("div", { className: "bet-control", children: [c(so, { activeAnteBet: !!l, value: t, currency: r, onClick: u.bind(T, P.bet), disabled: N }), g("div", { className: "bet-box", children: [c($n, { onClick: () => i.call(ae), className: "bet-btn minus", disabled: N }), c(yo, { onClick: () => console.log("Spin"), state: "active" }), c($n, { onClick: () => n.call(ae), className: "bet-btn plus", disabled: N })] }), c(Kn, { className: "quick-spin", onClick: o.bind(ne, !a), isActive: a }), c(Kn, { className: "auto-spin", onClick: u.bind(T, P.autoplay), isActive: !1, disabled: m })] })] }) });
|
|
3722
|
+
}), Eo = ({ onMount: e, onUnmount: t, className: r }) => {
|
|
3713
3723
|
const n = Ge(null);
|
|
3714
3724
|
return ze(() => (n.current && e && e(n.current), () => {
|
|
3715
3725
|
t?.();
|
|
@@ -3719,7 +3729,7 @@ const Nt = new bo(), mo = F(() => {
|
|
|
3719
3729
|
position: "relative"
|
|
3720
3730
|
} });
|
|
3721
3731
|
};
|
|
3722
|
-
function
|
|
3732
|
+
function No(e) {
|
|
3723
3733
|
const t = Ge(null);
|
|
3724
3734
|
return ze(() => {
|
|
3725
3735
|
if (typeof e != "function")
|
|
@@ -3736,21 +3746,21 @@ function Oo(e) {
|
|
|
3736
3746
|
};
|
|
3737
3747
|
}, [e]), t;
|
|
3738
3748
|
}
|
|
3739
|
-
const
|
|
3740
|
-
const { volume: e, setVolume: t } = ne, [r, n] = he.useState(!1), i =
|
|
3749
|
+
const Ao = F(() => {
|
|
3750
|
+
const { volume: e, setVolume: t } = ne, [r, n] = he.useState(!1), i = No(() => n(!1)), s = zn(() => {
|
|
3741
3751
|
r || n(!0);
|
|
3742
3752
|
}, [r, n]);
|
|
3743
3753
|
return g(Gn, { children: [r && g("div", { className: "volume-control", ref: i, children: [c("input", { type: "range", min: 0, max: 100, value: e, onChange: (o) => t.call(ne, Number(o.target.value)), className: "slider", "aria-label": "Volume" }), c("span", { className: "volume-value", children: e })] }), c("button", { className: `btn-sound ${e === 0 ? "inactive" : ""}`, "aria-label": "Toggle Sound", onClick: s })] });
|
|
3744
|
-
}),
|
|
3754
|
+
}), So = F(() => {
|
|
3745
3755
|
const { open: e } = T, { isUIVisible: t } = Nt;
|
|
3746
|
-
return t ? g("div", { className: "settings-section", children: [c(
|
|
3747
|
-
}), So = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='34'%20height='45'%20viewBox='0%200%2034%2045'%20fill='none'%3e%3cpath%20d='M7.69062%2031.7333H7.06121L9.3091%2028.0889L11.9167%2024C12.636%2022.9333%2012.666%2021.8074%2012.0066%2020.6222C11.527%2019.6741%2011.0475%2018.8148%2010.5679%2018.0444L11.1973%2017.6889C11.1973%2017.6296%2011.1674%2017.5704%2011.1074%2017.5111L10.3881%2017.6889C10.2083%2017.6296%2010.0284%2017.4222%209.8486%2017.0667C9.72871%2016.7111%209.63879%2016.5037%209.57885%2016.4444C9.15924%2016.1481%208.85952%2015.7037%208.67969%2015.1111L9.12927%2014.5778C8.94944%2014.4%208.88949%2014.2815%208.94944%2014.2222C9.06933%2013.4518%209.33907%2012.9185%209.75868%2012.6222C10.0584%2012.563%2010.0284%2012.3556%209.66877%2012L8.40994%2014.5778C7.93039%2013.9852%207.66065%2013.6%207.6007%2013.4222C7.6007%2013.1852%207.8105%2012.7704%208.23011%2012.1778C8.40994%2012%208.5598%2011.7926%208.67969%2011.5556C8.85952%2011.1407%208.94944%2010.6963%208.94944%2010.2222L8.40994%2011.3778C8.11022%2011.8519%207.69062%2011.9704%207.15112%2011.7333C7.15112%2011.4963%207.18109%2011.3481%207.24104%2011.2889C7.36093%2011.1704%207.51079%2011.0815%207.69062%2011.0222C7.87045%2010.9037%208.02031%2010.7852%208.1402%2010.6667L7.78053%2010.4C7.78053%2010.3407%207.81051%2010.2815%207.87045%2010.2222C7.87045%209.98518%207.90042%209.83704%207.96036%209.77778C7.54076%2010.1926%207.12115%2010.2222%206.70154%209.86667C6.82143%209.51111%206.88137%209.3037%206.88137%209.24444L6.97129%209.06666L7.15112%208.8C6.97129%208.85926%206.73151%208.88889%206.43179%208.88889C6.43179%208.53333%206.46177%208.32592%206.52171%208.26666C6.70154%207.79259%206.70154%207.34815%206.52171%206.93333L6.07213%207.28889C5.77241%207.46667%205.23292%207.46667%204.45365%207.28889C4.15393%206.6963%204.30379%206.13333%204.90322%205.6C4.84328%205.6%204.66345%205.62963%204.36373%205.68889C4.12395%205.68889%203.94412%205.68889%203.82423%205.68889C3.82423%206.22222%203.79426%206.60741%203.73432%206.84444C3.37465%206.25185%203.19482%205.86666%203.19482%205.68889C3.13488%205.62963%203.07494%205.6%203.01499%205.6L2.74524%205.33333L1.21667%202.66666L1.03684%202.13333C0.677179%201.00741%201.09679%200.355554%202.29566%200.177775H3.73432C3.97409%200.177775%204.42367%200.207404%205.08306%200.266663C5.80238%200.266663%206.25196%200.266663%206.43179%200.266663C7.33095%200.148146%208.05028%200.503704%208.58978%201.33333C9.18921%202.16296%2010.2982%203.94074%2011.9167%206.66667C12.0366%206.78518%2012.0965%207.05185%2012.0965%207.46666C12.8158%207.58518%2013.2354%208.14815%2013.3553%209.15555L14.0746%2010.0444L15.6032%2012.8C15.6032%2012.9185%2015.6332%2013.0074%2015.6931%2013.0667L16.5923%2014.4L17.7612%2014.0444L18.3906%2013.6C18.8102%2013.1852%2019.2298%2012.6519%2019.6494%2012L21.5377%209.06666L23.336%206.4C24.2951%204.97778%2025.0144%203.82222%2025.494%202.93333L26.0335%201.86667C26.573%201.80741%2026.8727%201.74815%2026.9326%201.68889C27.0525%201.57037%2027.0525%201.24444%2026.9326%200.71111C27.5321%200.355554%2028.5211%200.177775%2029.8998%200.177775C31.4584%200.0592581%2032.2676%200%2032.3276%200L32.5074%200.62222L32.8671%200.266663L32.957%200.35555C33.0169%200.414812%2033.0769%200.444444%2033.1368%200.444444C33.8561%200.799999%2034.0959%201.27407%2033.8561%201.86667C33.7362%202.28148%2033.3766%203.05185%2032.7771%204.17777L32.3276%204.35555L31.878%205.51111C31.0987%206.45926%2030.0497%208%2028.7309%2010.1333C27.5321%2012.0296%2026.6928%2013.3333%2026.2133%2014.0444C25.9136%2014.4%2024.6547%2016.4148%2022.4368%2020.0889L21.8973%2021.0667C21.5976%2021.7778%2021.6575%2022.4296%2022.0772%2023.0222L23.6956%2025.8667C23.6956%2025.9852%2023.7556%2026.1037%2023.8755%2026.2222C23.9954%2026.3407%2023.9654%2026.4889%2023.7856%2026.6667L24.3251%2026.9333C24.5648%2027.4074%2025.0744%2028.237%2025.8536%2029.4222C26.6329%2030.6074%2027.0525%2031.2593%2027.1124%2031.3778C27.1124%2031.4963%2027.1424%2031.5852%2027.2024%2031.6444C26.543%2031.9407%2026.4231%2032.2963%2026.8427%2032.7111C26.8427%2032.7704%2026.8127%2032.8296%2026.7528%2032.8889C26.7528%2032.9481%2026.7528%2033.0074%2026.7528%2033.0667C26.7528%2033.2444%2026.8427%2033.4222%2027.0225%2033.6C27.2024%2033.4222%2027.4122%2033.037%2027.6519%2032.4444C28.1914%2033.037%2028.4012%2033.5704%2028.2814%2034.0444C28.9407%2034.4%2029.2704%2034.9037%2029.2704%2035.5556C29.2704%2035.6741%2029.3004%2035.7333%2029.3603%2035.7333C29.6001%2035.9704%2029.9898%2036.5037%2030.5292%2037.3333L31.6082%2039.0222L31.9679%2039.5556C32.1477%2039.9704%2032.0878%2040.237%2031.7881%2040.3556H31.9679L32.5074%2040.1778L33.6763%2042.4C34.3956%2044%2033.9161%2044.8%2032.2376%2044.8C32.1777%2044.8%2032.1477%2044.7704%2032.1477%2044.7111C32.1477%2044.3556%2032.0878%2044.1778%2031.9679%2044.1778C31.7881%2044.1778%2031.6682%2044.2074%2031.6082%2044.2667C31.6082%2044.3259%2031.6082%2044.4444%2031.6082%2044.6222C31.6682%2044.7407%2031.6982%2044.8296%2031.6982%2044.8889H28.3713C27.5321%2044.8889%2026.7828%2044.4741%2026.1234%2043.6444L24.9545%2041.7778L21.8973%2036.8889L20.9082%2035.0222L20.0091%2033.5111L18.4805%2031.2C18.4805%2031.1407%2018.3307%2030.9037%2018.0309%2030.4889C17.6113%2029.9556%2017.1618%2029.8074%2016.6822%2030.0444C16.2626%2030.2222%2015.9029%2030.4593%2015.6032%2030.7556C15.3634%2031.0519%2015.1536%2031.3778%2014.9738%2031.7333L11.1973%2037.6L9.3091%2040.4444L9.12927%2040.7111V40.3556C9.06933%2040.1185%209.03935%2039.9407%209.03935%2039.8222C8.5598%2040.1185%208.40994%2040.4444%208.58978%2040.8C8.58978%2040.8593%208.67969%2040.8889%208.85952%2040.8889L7.51079%2043.2L6.70154%2042.7556C6.70154%2042.8148%206.70154%2043.0222%206.70154%2043.3778C6.76149%2043.7333%206.79146%2043.9704%206.79146%2044.0889C6.43179%2044.6815%205.80238%2044.9778%204.90322%2044.9778C4.06401%2045.037%202.92508%2044.9778%201.48642%2044.8C0.107712%2044.6222%20-0.311896%2043.8519%200.2276%2042.4889L0.407431%2042.1333L3.19482%2037.6L3.91415%2038.4889C4.03404%2037.9556%203.91415%2037.5111%203.55449%2037.1556L4.45365%2035.9111L5.17297%2034.8444L6.16205%2033.9556C6.1021%2033.5407%206.40182%2032.7704%207.06121%2031.6444V31.8222L7.42087%2032.2667L7.51079%2032.0889C7.51079%2032.0296%207.54076%2031.9407%207.6007%2031.8222V31.7333C7.90042%2031.7926%208.05028%2031.763%208.05028%2031.6444C8.11022%2031.4667%208.11022%2031.2889%208.05028%2031.1111C7.8105%2031.1111%207.69062%2031.3185%207.69062%2031.7333ZM9.03935%2030.5778C9.45896%2030.637%209.69874%2030.637%209.75868%2030.5778C9.81863%2030.5185%209.78865%2030.2519%209.66877%2029.7778H8.85952C8.97941%2030.2519%209.03935%2030.5481%209.03935%2030.6667C8.79958%2030.6667%208.61975%2030.7259%208.49986%2030.8444C8.49986%2030.9037%208.52983%2030.9926%208.58978%2031.1111C8.64972%2031.1704%208.70966%2031.1704%208.76961%2031.1111C8.8895%2031.1111%208.97941%2030.9333%209.03935%2030.5778ZM21.2679%2012.8L20.9982%2012.3556L20.099%2012.7111C20.2189%2012.9481%2020.3987%2013.2148%2020.6385%2013.5111C21.0581%2013.4518%2021.2679%2013.2148%2021.2679%2012.8ZM30.6192%2040.8C30.0797%2041.0963%2030.0197%2041.5407%2030.4393%2042.1333C30.739%2041.4815%2030.799%2041.037%2030.6192%2040.8ZM22.5267%2012.1778C22.9463%2011.7037%2023.0363%2011.2593%2022.7965%2010.8444C22.3169%2011.2593%2022.227%2011.7037%2022.5267%2012.1778ZM3.46457%205.06666L4.63348%204.44444L3.91415%204.17777L3.37466%204.97778C3.37466%205.03704%203.40463%205.06666%203.46457%205.06666ZM22.3469%2026.4L22.1671%2026.1333C21.9872%2026.4889%2021.8973%2026.7259%2021.8973%2026.8444L22.0772%2027.0222L22.257%2027.1111C22.257%2027.0519%2022.3169%2026.963%2022.4368%2026.8444C22.6167%2026.6667%2022.5867%2026.5185%2022.3469%2026.4ZM24.1452%2012.1778V11.5556C24.1452%2011.437%2024.0553%2011.3778%2023.8755%2011.3778L23.6057%2011.4667C23.6057%2011.9407%2023.7856%2012.1778%2024.1452%2012.1778ZM6.25196%2035.2889C6.25196%2035.5852%206.28194%2035.8222%206.34188%2036C6.52171%2035.7037%206.49174%2035.4667%206.25196%2035.2889ZM10.0284%208.88889L9.39902%209.77778C9.81863%209.6%2010.0284%209.3037%2010.0284%208.88889ZM28.1015%2039.5556C28.3413%2039.2%2028.3113%2038.8741%2028.0116%2038.5778C27.9517%2038.6963%2027.9217%2038.8741%2027.9217%2039.1111C27.9217%2039.1704%2027.9517%2039.2296%2028.0116%2039.2889C28.0116%2039.4074%2028.0416%2039.4963%2028.1015%2039.5556ZM29.8099%2037.0667C29.75%2037.4815%2029.8699%2037.7185%2030.1696%2037.7778C30.2895%2037.4222%2030.1696%2037.1852%2029.8099%2037.0667ZM3.01499%2042.4889C3.07494%2042.4296%203.16485%2042.4%203.28474%2042.4L3.19482%2042.2222C3.19482%2042.0444%203.19482%2041.8963%203.19482%2041.7778L3.10491%2041.8667H2.92508L3.01499%2042.0444C3.01499%2042.2222%203.01499%2042.3704%203.01499%2042.4889ZM11.2873%208.17778H11.4671C11.587%208.05926%2011.6469%207.91111%2011.6469%207.73333L11.3772%207.64444C11.3772%207.7037%2011.3472%207.79259%2011.2873%207.91111C11.2873%208.02963%2011.2873%208.11852%2011.2873%208.17778ZM29.5402%2038.8444L29.72%2038.4889V38.1333C29.6001%2038.1333%2029.5102%2038.1037%2029.4503%2038.0444C29.3304%2038.3407%2029.3603%2038.6074%2029.5402%2038.8444ZM28.641%206.31111H28.4612C28.4012%206.37037%2028.3713%206.51852%2028.3713%206.75555C28.4312%206.81481%2028.4912%206.84444%2028.5511%206.84444V6.57778L28.641%206.31111ZM28.0116%2037.1556C28.1914%2036.9185%2028.1615%2036.7111%2027.9217%2036.5333C27.9217%2036.6519%2027.9517%2036.7704%2028.0116%2036.8889V37.1556ZM24.7746%2032.7111C24.7147%2032.6518%2024.6248%2032.6222%2024.5049%2032.6222C24.5049%2032.8593%2024.4749%2033.0074%2024.415%2033.0667H24.6847C24.6847%2033.0074%2024.6847%2032.9481%2024.6847%2032.8889C24.7447%2032.8296%2024.7746%2032.7704%2024.7746%2032.7111ZM25.404%2033.9556H25.5839C25.5839%2033.8963%2025.5539%2033.8074%2025.494%2033.6889C25.494%2033.5704%2025.494%2033.5111%2025.494%2033.5111H25.404C25.3441%2033.5704%2025.2842%2033.6%2025.2242%2033.6C25.3441%2033.7185%2025.404%2033.837%2025.404%2033.9556ZM9.66877%2030.8444H9.48893V31.2889H9.57885C9.63879%2031.2296%209.66877%2031.0815%209.66877%2030.8444ZM6.52171%2041.8667L6.43179%2042.1333C6.43179%2042.1926%206.49174%2042.2815%206.61163%2042.4L6.79146%2042.2222C6.79146%2042.163%206.70154%2042.0444%206.52171%2041.8667ZM5.3528%2039.1111H5.53264C5.53264%2038.8148%205.44272%2038.637%205.26289%2038.5778C5.32283%2038.6963%205.3528%2038.8741%205.3528%2039.1111ZM29.9897%206.48889H30.2595V5.95555H30.0797L29.9897%206.22222V6.48889ZM27.2024%209.6H27.3822C27.3822%209.36296%2027.3522%209.21481%2027.2923%209.15555H27.1124C27.1124%209.39259%2027.1424%209.54074%2027.2024%209.6ZM11.3772%2027.6444V28.3556C11.557%2028.1185%2011.557%2027.8815%2011.3772%2027.6444ZM4.54356%208.08889L5.53264%207.46666L6.07213%207.28889C6.13207%207.22963%206.25196%207.2%206.43179%207.2C6.49174%207.67407%206.34188%208%205.98222%208.17778C5.62255%208.35555%205.143%208.32592%204.54356%208.08889ZM6.43179%208.88889C6.73151%208.88889%206.97129%208.85926%207.15112%208.8L6.97129%209.06666L6.88137%209.24444L6.52171%209.6C6.22199%209.77778%205.98222%209.68889%205.80238%209.33333L6.07213%209.06666H5.98222C6.04216%209.06666%206.1021%209.03703%206.16205%208.97778C6.22199%208.97778%206.31191%208.94815%206.43179%208.88889ZM6.34188%2011.0222V10.2222L7.24104%2010.4C7.06121%2010.8741%206.76149%2011.0815%206.34188%2011.0222ZM5.98222%209.06666H6.07213C5.59258%209.06666%205.29286%208.97778%205.17297%208.8C5.29286%208.8%205.44272%208.74074%205.62255%208.62222C5.80238%208.5037%205.92227%208.41481%205.98222%208.35555V9.06666Z'%20fill='white'/%3e%3c/svg%3e", Ao = F(() => {
|
|
3756
|
+
return t ? g("div", { className: "settings-section", children: [c(Ao, {}), c("button", { className: "btn-settings", "aria-label": "Open Settings", onClick: e.bind(T, P.settings) })] }) : null;
|
|
3757
|
+
}), Co = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='34'%20height='45'%20viewBox='0%200%2034%2045'%20fill='none'%3e%3cpath%20d='M7.69062%2031.7333H7.06121L9.3091%2028.0889L11.9167%2024C12.636%2022.9333%2012.666%2021.8074%2012.0066%2020.6222C11.527%2019.6741%2011.0475%2018.8148%2010.5679%2018.0444L11.1973%2017.6889C11.1973%2017.6296%2011.1674%2017.5704%2011.1074%2017.5111L10.3881%2017.6889C10.2083%2017.6296%2010.0284%2017.4222%209.8486%2017.0667C9.72871%2016.7111%209.63879%2016.5037%209.57885%2016.4444C9.15924%2016.1481%208.85952%2015.7037%208.67969%2015.1111L9.12927%2014.5778C8.94944%2014.4%208.88949%2014.2815%208.94944%2014.2222C9.06933%2013.4518%209.33907%2012.9185%209.75868%2012.6222C10.0584%2012.563%2010.0284%2012.3556%209.66877%2012L8.40994%2014.5778C7.93039%2013.9852%207.66065%2013.6%207.6007%2013.4222C7.6007%2013.1852%207.8105%2012.7704%208.23011%2012.1778C8.40994%2012%208.5598%2011.7926%208.67969%2011.5556C8.85952%2011.1407%208.94944%2010.6963%208.94944%2010.2222L8.40994%2011.3778C8.11022%2011.8519%207.69062%2011.9704%207.15112%2011.7333C7.15112%2011.4963%207.18109%2011.3481%207.24104%2011.2889C7.36093%2011.1704%207.51079%2011.0815%207.69062%2011.0222C7.87045%2010.9037%208.02031%2010.7852%208.1402%2010.6667L7.78053%2010.4C7.78053%2010.3407%207.81051%2010.2815%207.87045%2010.2222C7.87045%209.98518%207.90042%209.83704%207.96036%209.77778C7.54076%2010.1926%207.12115%2010.2222%206.70154%209.86667C6.82143%209.51111%206.88137%209.3037%206.88137%209.24444L6.97129%209.06666L7.15112%208.8C6.97129%208.85926%206.73151%208.88889%206.43179%208.88889C6.43179%208.53333%206.46177%208.32592%206.52171%208.26666C6.70154%207.79259%206.70154%207.34815%206.52171%206.93333L6.07213%207.28889C5.77241%207.46667%205.23292%207.46667%204.45365%207.28889C4.15393%206.6963%204.30379%206.13333%204.90322%205.6C4.84328%205.6%204.66345%205.62963%204.36373%205.68889C4.12395%205.68889%203.94412%205.68889%203.82423%205.68889C3.82423%206.22222%203.79426%206.60741%203.73432%206.84444C3.37465%206.25185%203.19482%205.86666%203.19482%205.68889C3.13488%205.62963%203.07494%205.6%203.01499%205.6L2.74524%205.33333L1.21667%202.66666L1.03684%202.13333C0.677179%201.00741%201.09679%200.355554%202.29566%200.177775H3.73432C3.97409%200.177775%204.42367%200.207404%205.08306%200.266663C5.80238%200.266663%206.25196%200.266663%206.43179%200.266663C7.33095%200.148146%208.05028%200.503704%208.58978%201.33333C9.18921%202.16296%2010.2982%203.94074%2011.9167%206.66667C12.0366%206.78518%2012.0965%207.05185%2012.0965%207.46666C12.8158%207.58518%2013.2354%208.14815%2013.3553%209.15555L14.0746%2010.0444L15.6032%2012.8C15.6032%2012.9185%2015.6332%2013.0074%2015.6931%2013.0667L16.5923%2014.4L17.7612%2014.0444L18.3906%2013.6C18.8102%2013.1852%2019.2298%2012.6519%2019.6494%2012L21.5377%209.06666L23.336%206.4C24.2951%204.97778%2025.0144%203.82222%2025.494%202.93333L26.0335%201.86667C26.573%201.80741%2026.8727%201.74815%2026.9326%201.68889C27.0525%201.57037%2027.0525%201.24444%2026.9326%200.71111C27.5321%200.355554%2028.5211%200.177775%2029.8998%200.177775C31.4584%200.0592581%2032.2676%200%2032.3276%200L32.5074%200.62222L32.8671%200.266663L32.957%200.35555C33.0169%200.414812%2033.0769%200.444444%2033.1368%200.444444C33.8561%200.799999%2034.0959%201.27407%2033.8561%201.86667C33.7362%202.28148%2033.3766%203.05185%2032.7771%204.17777L32.3276%204.35555L31.878%205.51111C31.0987%206.45926%2030.0497%208%2028.7309%2010.1333C27.5321%2012.0296%2026.6928%2013.3333%2026.2133%2014.0444C25.9136%2014.4%2024.6547%2016.4148%2022.4368%2020.0889L21.8973%2021.0667C21.5976%2021.7778%2021.6575%2022.4296%2022.0772%2023.0222L23.6956%2025.8667C23.6956%2025.9852%2023.7556%2026.1037%2023.8755%2026.2222C23.9954%2026.3407%2023.9654%2026.4889%2023.7856%2026.6667L24.3251%2026.9333C24.5648%2027.4074%2025.0744%2028.237%2025.8536%2029.4222C26.6329%2030.6074%2027.0525%2031.2593%2027.1124%2031.3778C27.1124%2031.4963%2027.1424%2031.5852%2027.2024%2031.6444C26.543%2031.9407%2026.4231%2032.2963%2026.8427%2032.7111C26.8427%2032.7704%2026.8127%2032.8296%2026.7528%2032.8889C26.7528%2032.9481%2026.7528%2033.0074%2026.7528%2033.0667C26.7528%2033.2444%2026.8427%2033.4222%2027.0225%2033.6C27.2024%2033.4222%2027.4122%2033.037%2027.6519%2032.4444C28.1914%2033.037%2028.4012%2033.5704%2028.2814%2034.0444C28.9407%2034.4%2029.2704%2034.9037%2029.2704%2035.5556C29.2704%2035.6741%2029.3004%2035.7333%2029.3603%2035.7333C29.6001%2035.9704%2029.9898%2036.5037%2030.5292%2037.3333L31.6082%2039.0222L31.9679%2039.5556C32.1477%2039.9704%2032.0878%2040.237%2031.7881%2040.3556H31.9679L32.5074%2040.1778L33.6763%2042.4C34.3956%2044%2033.9161%2044.8%2032.2376%2044.8C32.1777%2044.8%2032.1477%2044.7704%2032.1477%2044.7111C32.1477%2044.3556%2032.0878%2044.1778%2031.9679%2044.1778C31.7881%2044.1778%2031.6682%2044.2074%2031.6082%2044.2667C31.6082%2044.3259%2031.6082%2044.4444%2031.6082%2044.6222C31.6682%2044.7407%2031.6982%2044.8296%2031.6982%2044.8889H28.3713C27.5321%2044.8889%2026.7828%2044.4741%2026.1234%2043.6444L24.9545%2041.7778L21.8973%2036.8889L20.9082%2035.0222L20.0091%2033.5111L18.4805%2031.2C18.4805%2031.1407%2018.3307%2030.9037%2018.0309%2030.4889C17.6113%2029.9556%2017.1618%2029.8074%2016.6822%2030.0444C16.2626%2030.2222%2015.9029%2030.4593%2015.6032%2030.7556C15.3634%2031.0519%2015.1536%2031.3778%2014.9738%2031.7333L11.1973%2037.6L9.3091%2040.4444L9.12927%2040.7111V40.3556C9.06933%2040.1185%209.03935%2039.9407%209.03935%2039.8222C8.5598%2040.1185%208.40994%2040.4444%208.58978%2040.8C8.58978%2040.8593%208.67969%2040.8889%208.85952%2040.8889L7.51079%2043.2L6.70154%2042.7556C6.70154%2042.8148%206.70154%2043.0222%206.70154%2043.3778C6.76149%2043.7333%206.79146%2043.9704%206.79146%2044.0889C6.43179%2044.6815%205.80238%2044.9778%204.90322%2044.9778C4.06401%2045.037%202.92508%2044.9778%201.48642%2044.8C0.107712%2044.6222%20-0.311896%2043.8519%200.2276%2042.4889L0.407431%2042.1333L3.19482%2037.6L3.91415%2038.4889C4.03404%2037.9556%203.91415%2037.5111%203.55449%2037.1556L4.45365%2035.9111L5.17297%2034.8444L6.16205%2033.9556C6.1021%2033.5407%206.40182%2032.7704%207.06121%2031.6444V31.8222L7.42087%2032.2667L7.51079%2032.0889C7.51079%2032.0296%207.54076%2031.9407%207.6007%2031.8222V31.7333C7.90042%2031.7926%208.05028%2031.763%208.05028%2031.6444C8.11022%2031.4667%208.11022%2031.2889%208.05028%2031.1111C7.8105%2031.1111%207.69062%2031.3185%207.69062%2031.7333ZM9.03935%2030.5778C9.45896%2030.637%209.69874%2030.637%209.75868%2030.5778C9.81863%2030.5185%209.78865%2030.2519%209.66877%2029.7778H8.85952C8.97941%2030.2519%209.03935%2030.5481%209.03935%2030.6667C8.79958%2030.6667%208.61975%2030.7259%208.49986%2030.8444C8.49986%2030.9037%208.52983%2030.9926%208.58978%2031.1111C8.64972%2031.1704%208.70966%2031.1704%208.76961%2031.1111C8.8895%2031.1111%208.97941%2030.9333%209.03935%2030.5778ZM21.2679%2012.8L20.9982%2012.3556L20.099%2012.7111C20.2189%2012.9481%2020.3987%2013.2148%2020.6385%2013.5111C21.0581%2013.4518%2021.2679%2013.2148%2021.2679%2012.8ZM30.6192%2040.8C30.0797%2041.0963%2030.0197%2041.5407%2030.4393%2042.1333C30.739%2041.4815%2030.799%2041.037%2030.6192%2040.8ZM22.5267%2012.1778C22.9463%2011.7037%2023.0363%2011.2593%2022.7965%2010.8444C22.3169%2011.2593%2022.227%2011.7037%2022.5267%2012.1778ZM3.46457%205.06666L4.63348%204.44444L3.91415%204.17777L3.37466%204.97778C3.37466%205.03704%203.40463%205.06666%203.46457%205.06666ZM22.3469%2026.4L22.1671%2026.1333C21.9872%2026.4889%2021.8973%2026.7259%2021.8973%2026.8444L22.0772%2027.0222L22.257%2027.1111C22.257%2027.0519%2022.3169%2026.963%2022.4368%2026.8444C22.6167%2026.6667%2022.5867%2026.5185%2022.3469%2026.4ZM24.1452%2012.1778V11.5556C24.1452%2011.437%2024.0553%2011.3778%2023.8755%2011.3778L23.6057%2011.4667C23.6057%2011.9407%2023.7856%2012.1778%2024.1452%2012.1778ZM6.25196%2035.2889C6.25196%2035.5852%206.28194%2035.8222%206.34188%2036C6.52171%2035.7037%206.49174%2035.4667%206.25196%2035.2889ZM10.0284%208.88889L9.39902%209.77778C9.81863%209.6%2010.0284%209.3037%2010.0284%208.88889ZM28.1015%2039.5556C28.3413%2039.2%2028.3113%2038.8741%2028.0116%2038.5778C27.9517%2038.6963%2027.9217%2038.8741%2027.9217%2039.1111C27.9217%2039.1704%2027.9517%2039.2296%2028.0116%2039.2889C28.0116%2039.4074%2028.0416%2039.4963%2028.1015%2039.5556ZM29.8099%2037.0667C29.75%2037.4815%2029.8699%2037.7185%2030.1696%2037.7778C30.2895%2037.4222%2030.1696%2037.1852%2029.8099%2037.0667ZM3.01499%2042.4889C3.07494%2042.4296%203.16485%2042.4%203.28474%2042.4L3.19482%2042.2222C3.19482%2042.0444%203.19482%2041.8963%203.19482%2041.7778L3.10491%2041.8667H2.92508L3.01499%2042.0444C3.01499%2042.2222%203.01499%2042.3704%203.01499%2042.4889ZM11.2873%208.17778H11.4671C11.587%208.05926%2011.6469%207.91111%2011.6469%207.73333L11.3772%207.64444C11.3772%207.7037%2011.3472%207.79259%2011.2873%207.91111C11.2873%208.02963%2011.2873%208.11852%2011.2873%208.17778ZM29.5402%2038.8444L29.72%2038.4889V38.1333C29.6001%2038.1333%2029.5102%2038.1037%2029.4503%2038.0444C29.3304%2038.3407%2029.3603%2038.6074%2029.5402%2038.8444ZM28.641%206.31111H28.4612C28.4012%206.37037%2028.3713%206.51852%2028.3713%206.75555C28.4312%206.81481%2028.4912%206.84444%2028.5511%206.84444V6.57778L28.641%206.31111ZM28.0116%2037.1556C28.1914%2036.9185%2028.1615%2036.7111%2027.9217%2036.5333C27.9217%2036.6519%2027.9517%2036.7704%2028.0116%2036.8889V37.1556ZM24.7746%2032.7111C24.7147%2032.6518%2024.6248%2032.6222%2024.5049%2032.6222C24.5049%2032.8593%2024.4749%2033.0074%2024.415%2033.0667H24.6847C24.6847%2033.0074%2024.6847%2032.9481%2024.6847%2032.8889C24.7447%2032.8296%2024.7746%2032.7704%2024.7746%2032.7111ZM25.404%2033.9556H25.5839C25.5839%2033.8963%2025.5539%2033.8074%2025.494%2033.6889C25.494%2033.5704%2025.494%2033.5111%2025.494%2033.5111H25.404C25.3441%2033.5704%2025.2842%2033.6%2025.2242%2033.6C25.3441%2033.7185%2025.404%2033.837%2025.404%2033.9556ZM9.66877%2030.8444H9.48893V31.2889H9.57885C9.63879%2031.2296%209.66877%2031.0815%209.66877%2030.8444ZM6.52171%2041.8667L6.43179%2042.1333C6.43179%2042.1926%206.49174%2042.2815%206.61163%2042.4L6.79146%2042.2222C6.79146%2042.163%206.70154%2042.0444%206.52171%2041.8667ZM5.3528%2039.1111H5.53264C5.53264%2038.8148%205.44272%2038.637%205.26289%2038.5778C5.32283%2038.6963%205.3528%2038.8741%205.3528%2039.1111ZM29.9897%206.48889H30.2595V5.95555H30.0797L29.9897%206.22222V6.48889ZM27.2024%209.6H27.3822C27.3822%209.36296%2027.3522%209.21481%2027.2923%209.15555H27.1124C27.1124%209.39259%2027.1424%209.54074%2027.2024%209.6ZM11.3772%2027.6444V28.3556C11.557%2028.1185%2011.557%2027.8815%2011.3772%2027.6444ZM4.54356%208.08889L5.53264%207.46666L6.07213%207.28889C6.13207%207.22963%206.25196%207.2%206.43179%207.2C6.49174%207.67407%206.34188%208%205.98222%208.17778C5.62255%208.35555%205.143%208.32592%204.54356%208.08889ZM6.43179%208.88889C6.73151%208.88889%206.97129%208.85926%207.15112%208.8L6.97129%209.06666L6.88137%209.24444L6.52171%209.6C6.22199%209.77778%205.98222%209.68889%205.80238%209.33333L6.07213%209.06666H5.98222C6.04216%209.06666%206.1021%209.03703%206.16205%208.97778C6.22199%208.97778%206.31191%208.94815%206.43179%208.88889ZM6.34188%2011.0222V10.2222L7.24104%2010.4C7.06121%2010.8741%206.76149%2011.0815%206.34188%2011.0222ZM5.98222%209.06666H6.07213C5.59258%209.06666%205.29286%208.97778%205.17297%208.8C5.29286%208.8%205.44272%208.74074%205.62255%208.62222C5.80238%208.5037%205.92227%208.41481%205.98222%208.35555V9.06666Z'%20fill='white'/%3e%3c/svg%3e", wo = F(() => {
|
|
3748
3758
|
const { betAmount: e, displayCurrency: t, setNextBetAmount: r, setPrevBetAmount: n } = ae;
|
|
3749
3759
|
return g("div", { className: "overlay-bet-controller", children: [c("div", { className: "decrease-bet", onClick: n.bind(ae) }), g("div", { className: "bet-amount", children: [e, " ", t] }), c("div", { className: "increase-bet", onClick: r.bind(ae) })] });
|
|
3750
|
-
}), Ur = ({ value: e, onClick: t, active: r }) => c("div", { className: `rectLabel ${r ? "current-active" : ""}`, onClick: () => t(e), children: c("span", { children: e }) }),
|
|
3760
|
+
}), Ur = ({ value: e, onClick: t, active: r }) => c("div", { className: `rectLabel ${r ? "current-active" : ""}`, onClick: () => t(e), children: c("span", { children: e }) }), Do = F(() => {
|
|
3751
3761
|
const { betAmountRange: e, setBet: t, betAmount: r } = ae;
|
|
3752
3762
|
return c("div", { className: "bet-popup-container", children: e.map((n, i) => c(Ur, { value: n, active: r === n, onClick: t.bind(ae, n) }, i)) });
|
|
3753
|
-
}),
|
|
3763
|
+
}), Rt = ({ checked: e, onChange: t }) => c("button", { className: `ap-toggle ${e ? "ap-toggle--on" : "ap-toggle--off"}`, "aria-pressed": e, onClick: () => t(!e), type: "button", children: c("span", { className: "ap-toggle__knob" }) }), Ft = ({ active: e, onClick: t, children: r }) => c("button", { className: `ap-limit ${e ? "ap-limit--active" : ""}`, onClick: t, type: "button", children: r }), qn = ({ active: e, onClick: t, children: r }) => c("button", { className: `ap-tab ${e ? "ap-tab--active" : ""}`, onClick: t, type: "button", children: r }), Vo = ({ value: e, placeholder: t, inputType: r = "text", className: n = "", autoFocus: i = !0, onSubmit: s, onCancel: o }) => {
|
|
3754
3764
|
const [a, u] = pe(""), l = Ge(null), d = Ge(!1);
|
|
3755
3765
|
ze(() => {
|
|
3756
3766
|
u(e ?? ""), d.current = !1;
|
|
@@ -3767,36 +3777,36 @@ const Eo = F(() => {
|
|
|
3767
3777
|
m.key === "Enter" ? (m.preventDefault(), v(), l.current?.blur()) : m.key === "Escape" && (u(e ?? ""), o?.(), l.current?.blur());
|
|
3768
3778
|
};
|
|
3769
3779
|
return c("input", { ref: l, className: `ap-limit ${n}`, type: "number", value: a, placeholder: t, onChange: (m) => u(m.target.value), onBlur: h, onKeyDown: b, inputMode: r === "number" ? "numeric" : void 0, "aria-label": "custom limit input" });
|
|
3770
|
-
},
|
|
3780
|
+
}, Lo = F(() => {
|
|
3771
3781
|
const { specialFeatureSwitcherOn: e, setSpecialFeatureSwitcher: t, countRange: r, count: n, setCount: i, lossLimit: s, winLimit: o, setLossLimit: a, limitsRange: u, setWinLimit: l, setIsStarted: d } = ye, [v, h] = he.useState(0), [b, m] = he.useState(!1), [y, N] = pe(""), O = dt(() => v ? o : s, [v, o, s]), V = dt(() => v ? l.bind(ye) : a.bind(ye), [v, l, a]);
|
|
3772
3782
|
ze(() => {
|
|
3773
|
-
const
|
|
3774
|
-
N(
|
|
3783
|
+
const A = O && !u.includes(O);
|
|
3784
|
+
N(A ? O : 0);
|
|
3775
3785
|
}, [O, o]);
|
|
3776
3786
|
const X = !!n && n > 0;
|
|
3777
|
-
return g("div", { className: "autoplay-wrap", children: [c("h3", { className: "ap-title", children: "Number of spins" }), c("div", { className: "autoplay-count", children: r.map((
|
|
3778
|
-
const L =
|
|
3787
|
+
return g("div", { className: "autoplay-wrap", children: [c("h3", { className: "ap-title", children: "Number of spins" }), c("div", { className: "autoplay-count", children: r.map((A, L) => c(Ur, { value: A, active: n === A, onClick: i.bind(ye, A) }, L)) }), g("div", { className: "ap-switch-row", children: [c("div", { className: "ap-switch-label", children: "Stop on special feature WIN" }), c("div", { className: "ap-switch-control", children: c(Rt, { checked: e, onChange: (A) => t.call(ye, A) }) })] }), g("div", { className: "ap-tabs", children: [c(qn, { active: !v, onClick: () => h(0), children: "Loss limit" }), c(qn, { active: !!v, onClick: () => h(1), children: "Single WIN limit" })] }), c("div", { className: "ap-limits-panel", children: c("div", { className: "ap-limits-inner", children: g("div", { className: "ap-limit-grid", children: [u.map((A, L) => g(Ft, { active: O === A, onClick: () => V(A), children: [A, "X BET"] }, L)), c(Ft, { active: !O, onClick: () => V(null), children: "NO LIMIT" }), b ? c(Vo, { value: "" + y, inputType: "number", onSubmit: (A) => {
|
|
3788
|
+
const L = A.trim();
|
|
3779
3789
|
if (L === "") {
|
|
3780
3790
|
m(!1);
|
|
3781
3791
|
return;
|
|
3782
3792
|
}
|
|
3783
|
-
const
|
|
3784
|
-
N(
|
|
3793
|
+
const R = Number(L);
|
|
3794
|
+
N(R ?? 0), V(R), m(!1);
|
|
3785
3795
|
}, onCancel: () => {
|
|
3786
3796
|
m(!1);
|
|
3787
3797
|
} }) : c(Ft, { onClick: () => {
|
|
3788
3798
|
m(!0);
|
|
3789
3799
|
}, active: !!O && O === Number(y), children: y ? `${y}X BET` : "CUSTOM" })] }) }) }), c("div", { className: "ap-start-row", children: c("button", { className: `ap-start-btn ${X ? "" : "ap-start-btn--disabled"}`, onClick: d.bind(ye, !0), type: "button", disabled: !X, children: "Start Autoplay" }) })] });
|
|
3790
|
-
}), Hn = ({ onClick: e, label: t, className: r }) => g("button", { className: `sp-action ${r}`, type: "button", onClick: e, children: [c("span", { className: "sp-action__icon", "aria-hidden": "true" }), c("span", { className: "sp-action__label", children: t })] }), qe = ({ onToggle: e, label: t, checked: r = !1 }) => g("div", { className: "sp-row", children: [c("div", { className: "sp-switch", children: c(
|
|
3800
|
+
}), Hn = ({ onClick: e, label: t, className: r }) => g("button", { className: `sp-action ${r}`, type: "button", onClick: e, children: [c("span", { className: "sp-action__icon", "aria-hidden": "true" }), c("span", { className: "sp-action__label", children: t })] }), qe = ({ onToggle: e, label: t, checked: r = !1 }) => g("div", { className: "sp-row", children: [c("div", { className: "sp-switch", children: c(Rt, { checked: r, onChange: () => e(!r) }) }), c("div", { className: "sp-label", children: t })] }), Bo = F(() => {
|
|
3791
3801
|
const { introSkip: e, spaceToSkip: t, musicOn: r, soundsOn: n, spaceToSpin: i, setSpaceToSpin: s, setIntroSkip: o, setSpaceToSkip: a, setSoundsOn: u, setMusicOn: l } = ne, { open: d } = T;
|
|
3792
3802
|
return g("div", { className: "sp-wrap", children: [g("div", { className: "sp-actions", children: [c(Hn, { onClick: d.bind(T, P.history), className: "sp-action--history", label: "History" }), c(Hn, { onClick: T.open.bind(T, P.payTable), className: "sp-action--paytable", label: "Paytable" })] }), c("h3", { className: "sp-section-title", children: "Audio" }), g("div", { className: "sp-rows", children: [c(qe, { onToggle: l.bind(ne), checked: r, label: "Music" }), c(qe, { onToggle: u.bind(ne), checked: n, label: "Sounds" })] }), c("h3", { className: "sp-section-title", children: "Game launch" }), c("div", { className: "sp-rows", children: c(qe, { onToggle: o.bind(ne), checked: e, label: "Skip Intro" }) }), c("h3", { className: "sp-section-title", children: "Keyboard" }), g("div", { className: "sp-rows", children: [c(qe, { onToggle: s.bind(ne), checked: i, label: "Spacebar to Spin" }), c(qe, { onToggle: a.bind(ne), checked: t, label: "Spacebar to Skip" })] })] });
|
|
3793
|
-
}),
|
|
3803
|
+
}), Ro = ({ date: e, currencyCode: t, betAmount: r, winAmount: n }) => {
|
|
3794
3804
|
const [i, s] = pe(!1);
|
|
3795
3805
|
return g("div", { className: `history-item ${i ? "active" : ""}`, role: "row", children: [c("span", { className: "date-section", children: e }), g("span", { className: "bet-section", children: [r, c("span", { className: "currency", children: t })] }), g("span", { className: "win-section", children: [n, g("span", { className: "currency", children: [" ", t] })] }), c("div", { className: `vector ${i ? "up" : "down"}`, "aria-hidden": "true", onClick: () => s(!i) }), i && g("div", { className: "additional-info", children: [g("button", { className: "additional-button replay", children: [c("div", { className: "replay-icon" }), "REPLAY"] }), c("button", { className: "additional-button", children: "LINK" })] })] });
|
|
3796
|
-
},
|
|
3806
|
+
}, xo = F(() => {
|
|
3797
3807
|
const { data: e } = _o;
|
|
3798
|
-
return g("div", { className: "history-wrap", role: "list", "aria-label": "History list", children: [g("div", { className: "history-item history-item--head", role: "row", children: [c("span", { className: "date-section", children: "Date" }), c("span", { className: "bet-section", children: "Bet" }), c("span", { className: "win-section", children: "Win" })] }), e.map((t, r) => c(
|
|
3799
|
-
}),
|
|
3808
|
+
return g("div", { className: "history-wrap", role: "list", "aria-label": "History list", children: [g("div", { className: "history-item history-item--head", role: "row", children: [c("span", { className: "date-section", children: "Date" }), c("span", { className: "bet-section", children: "Bet" }), c("span", { className: "win-section", children: "Win" })] }), e.map((t, r) => c(Ro, { date: t.date, betAmount: t.betAmount, winAmount: t.winAmount, currencyCode: t.currencyCode, id: "aa" }, r))] });
|
|
3809
|
+
}), To = F(({ item: e, type: t, onBuy: r }) => {
|
|
3800
3810
|
const { betAmount: n } = ae, { activeAnteBet: i, setActiveAnteBet: s } = Ne, o = e.title.split(`
|
|
3801
3811
|
`), [a, u] = pe(!1), [l, d] = pe(84), [v, h] = pe(0), [b, m] = pe(!1), y = Ge(null);
|
|
3802
3812
|
$r(() => {
|
|
@@ -3804,17 +3814,17 @@ const Eo = F(() => {
|
|
|
3804
3814
|
if (!O)
|
|
3805
3815
|
return;
|
|
3806
3816
|
const V = () => {
|
|
3807
|
-
const
|
|
3808
|
-
let
|
|
3817
|
+
const A = getComputedStyle(O), L = A.getPropertyValue("--max-description-height").trim();
|
|
3818
|
+
let R = 84;
|
|
3809
3819
|
if (L) {
|
|
3810
3820
|
const xe = L.match(/^(-?\d+(\.\d+)?)(px)?$/);
|
|
3811
|
-
xe && (
|
|
3821
|
+
xe && (R = Number(xe[1]));
|
|
3812
3822
|
} else {
|
|
3813
|
-
const xe =
|
|
3814
|
-
xe && xe.endsWith("px") && (
|
|
3823
|
+
const xe = A.getPropertyValue("max-height").trim();
|
|
3824
|
+
xe && xe.endsWith("px") && (R = Number(xe.replace("px", "")));
|
|
3815
3825
|
}
|
|
3816
3826
|
const Fe = O.scrollHeight;
|
|
3817
|
-
d(
|
|
3827
|
+
d(R), h(Fe), m(Fe > R + 1);
|
|
3818
3828
|
};
|
|
3819
3829
|
V();
|
|
3820
3830
|
const X = new ResizeObserver(V);
|
|
@@ -3825,26 +3835,26 @@ const Eo = F(() => {
|
|
|
3825
3835
|
const N = a ? Math.max(v, l) : l;
|
|
3826
3836
|
return g("div", { className: "sf-card", role: "group", "aria-label": o.join(" "), children: [g("div", { className: "sf-card__title", children: [e.title, e.description && c("div", { ref: y, className: `sf-card__description ${a ? "open" : ""} ${b ? "expandable" : ""}`, style: { maxHeight: `${N}px` }, onClick: () => {
|
|
3827
3837
|
b && u((O) => !O);
|
|
3828
|
-
}, children: c("div", { children: e.description }) })] }), c("div", { className: "sf-card__content", children: c("div", { className: `sf-card__image-wrap ${a ? "hidden" : ""}`, children: e.imagePath ? c("img", { src: e.imagePath, alt: o[0] }) : c("div", { className: "sf-card__image-placeholder" }) }) }), g("div", { className: `sf-card__bottom ${t}`, children: [g("div", { className: "sf-card__price", children: [e.costMultiplier * n, " ", ae.displayCurrency] }), t === "ante" ? c("div", { className: "sf-card__toggle", children: c(
|
|
3829
|
-
}), Kt = ({ features: e, type: t, title: r, onBuy: n }) => g(Gn, { children: [c("h2", { className: "sf-section-title", children: r }), c("div", { className: "sf-grid", children: e.map((i, s) => c(
|
|
3838
|
+
}, children: c("div", { children: e.description }) })] }), c("div", { className: "sf-card__content", children: c("div", { className: `sf-card__image-wrap ${a ? "hidden" : ""}`, children: e.imagePath ? c("img", { src: e.imagePath, alt: o[0] }) : c("div", { className: "sf-card__image-placeholder" }) }) }), g("div", { className: `sf-card__bottom ${t}`, children: [g("div", { className: "sf-card__price", children: [e.costMultiplier * n, " ", ae.displayCurrency] }), t === "ante" ? c("div", { className: "sf-card__toggle", children: c(Rt, { checked: i === e, onChange: (O) => s.call(Ne, O ? e.id : null) }) }) : c("button", { className: "sf-buy-btn", type: "button", onClick: () => r && r(e.id), children: "BUY" })] })] });
|
|
3839
|
+
}), Kt = ({ features: e, type: t, title: r, onBuy: n }) => g(Gn, { children: [c("h2", { className: "sf-section-title", children: r }), c("div", { className: "sf-grid", children: e.map((i, s) => c(To, { item: i, type: t, onBuy: n }, s)) })] }), Po = () => {
|
|
3830
3840
|
const { anteBets: e, inReelFeatures: t, bonusFeatures: r, buyHandler: n } = Ne;
|
|
3831
3841
|
return g("div", { className: "sf-wrap", children: [e.length ? c(Kt, { features: e, type: $t.ante, title: "Ante Bets" }, 0) : null, t.length ? c(Kt, { features: t, type: $t.buy, title: "Reel Features", onBuy: n.bind(Ne) }, 1) : null, r.length ? c(Kt, { features: r, type: $t.buy, title: "Bonus", onBuy: n.bind(Ne) }, 2) : null] });
|
|
3832
|
-
},
|
|
3842
|
+
}, jo = F(({ payTableComponent: e }) => {
|
|
3833
3843
|
const { activePopup: t } = T;
|
|
3834
3844
|
if (!t)
|
|
3835
3845
|
return null;
|
|
3836
3846
|
const r = dt(() => {
|
|
3837
3847
|
switch (t) {
|
|
3838
3848
|
case P.bet:
|
|
3839
|
-
return Co;
|
|
3840
|
-
case P.autoplay:
|
|
3841
3849
|
return Do;
|
|
3850
|
+
case P.autoplay:
|
|
3851
|
+
return Lo;
|
|
3842
3852
|
case P.settings:
|
|
3843
|
-
return Vo;
|
|
3844
|
-
case P.history:
|
|
3845
3853
|
return Bo;
|
|
3854
|
+
case P.history:
|
|
3855
|
+
return xo;
|
|
3846
3856
|
case P.buyBonus:
|
|
3847
|
-
return
|
|
3857
|
+
return Po;
|
|
3848
3858
|
case P.payTable:
|
|
3849
3859
|
return e;
|
|
3850
3860
|
default:
|
|
@@ -3852,13 +3862,13 @@ const Eo = F(() => {
|
|
|
3852
3862
|
}
|
|
3853
3863
|
}, [t]);
|
|
3854
3864
|
return r ? c(r, {}) : null;
|
|
3855
|
-
}),
|
|
3865
|
+
}), Mo = ({ configs: e, text: t, onClick: r }) => c("button", { type: "button", className: "additional-btn", style: {
|
|
3856
3866
|
"--btn-bg": e?.background ?? "transparent",
|
|
3857
3867
|
"--btn-color": e?.color ?? "inherit"
|
|
3858
|
-
}, onClick: typeof r == "function" ? r : void 0, children: t }),
|
|
3868
|
+
}, onClick: typeof r == "function" ? r : void 0, children: t }), Io = F(() => {
|
|
3859
3869
|
const { activeDialog: e } = ft;
|
|
3860
|
-
return e ? g("div", { className: "dialogs-wrap", "aria-live": "polite", children: [c("span", { className: "title", children: e?.title }), e?.imagePath && c("img", { className: "dialog-image", src: e.imagePath, alt: e.title ?? "dialog image" }), c("span", { className: "message", children: e?.message }), e.toggle && c(
|
|
3861
|
-
}),
|
|
3870
|
+
return e ? g("div", { className: "dialogs-wrap", "aria-live": "polite", children: [c("span", { className: "title", children: e?.title }), e?.imagePath && c("img", { className: "dialog-image", src: e.imagePath, alt: e.title ?? "dialog image" }), c("span", { className: "message", children: e?.message }), e.toggle && c(Rt, { checked: e.toggle.value, onChange: () => e.toggle?.onClick() }), c("div", { className: "additional-btns", children: e?.buttons?.map((t, r) => c(Mo, { configs: t.configs, text: t.text, onClick: t.onClick }, r)) })] }) : null;
|
|
3871
|
+
}), ko = F(({ payTableComponent: e }) => {
|
|
3862
3872
|
const t = T.activePopup, r = ft.activeDialog;
|
|
3863
3873
|
if (!t && !r)
|
|
3864
3874
|
return null;
|
|
@@ -3867,18 +3877,18 @@ const Eo = F(() => {
|
|
|
3867
3877
|
}, i = () => {
|
|
3868
3878
|
T.close(), ft.close();
|
|
3869
3879
|
};
|
|
3870
|
-
return g("div", { className: `overlay ${r ? "dialog" : ""}`, onClick: n, role: "presentation", children: [typeof t == "string" && c("span", { className: "popup-title", children: t.toUpperCase() }), g("div", { className: "overlay-content", role: "dialog", "aria-modal": "true", children: [r && c(
|
|
3880
|
+
return g("div", { className: `overlay ${r ? "dialog" : ""}`, onClick: n, role: "presentation", children: [typeof t == "string" && c("span", { className: "popup-title", children: t.toUpperCase() }), g("div", { className: "overlay-content", role: "dialog", "aria-modal": "true", children: [r && c(Io, {}), !r && t && c(jo, { payTableComponent: e })] }), !r && c("div", { className: "overlay-close", "aria-label": "Close", onClick: i, children: c("img", { src: Co, alt: "Close" }) }), t === P.buyBonus && c(wo, {})] });
|
|
3871
3881
|
});
|
|
3872
|
-
function
|
|
3873
|
-
return g("div", { className: "app", children: [g("div", { className: "game-container", children: [c(
|
|
3882
|
+
function Uo({ payTableComponent: e }) {
|
|
3883
|
+
return g("div", { className: "app", children: [g("div", { className: "game-container", children: [c(Eo, {}), c(So, {}), c(Oo, {})] }), c(ko, { payTableComponent: e })] });
|
|
3874
3884
|
}
|
|
3875
|
-
const
|
|
3876
|
-
function
|
|
3885
|
+
const $o = () => null;
|
|
3886
|
+
function Go(e, t = $o) {
|
|
3877
3887
|
if (!e) {
|
|
3878
3888
|
console.error("element not found");
|
|
3879
3889
|
return;
|
|
3880
3890
|
}
|
|
3881
|
-
Fr(e).render(c(he.StrictMode, { children: c(
|
|
3891
|
+
Fr(e).render(c(he.StrictMode, { children: c(Uo, { payTableComponent: t }) }));
|
|
3882
3892
|
}
|
|
3883
3893
|
export {
|
|
3884
3894
|
at as LOCAL_STORAGE_ITEM_NAMES,
|
|
@@ -3887,13 +3897,14 @@ export {
|
|
|
3887
3897
|
ae as betStore,
|
|
3888
3898
|
$t as bonusFeatureTypes,
|
|
3889
3899
|
Ne as bonusStore,
|
|
3890
|
-
|
|
3900
|
+
Go as createUi,
|
|
3891
3901
|
Fn as defaultDialogButtonsConfigs,
|
|
3892
3902
|
uo as defaultDialogs,
|
|
3893
3903
|
ao as defaultDialogsNames,
|
|
3894
3904
|
ft as dialogStore,
|
|
3895
3905
|
_o as historyStore,
|
|
3896
3906
|
T as popupStore,
|
|
3907
|
+
go as resultStore,
|
|
3897
3908
|
ne as settingsStore,
|
|
3898
3909
|
Nt as uiStore
|
|
3899
3910
|
};
|