@sticky-studio-npm/ui-core 0.1.97 → 0.1.98

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.
@@ -89,7 +89,7 @@ function A(e) {
89
89
  throw new Error(typeof e == "number" ? "[MobX] minified error nr: " + e + (t.length ? " " + t.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 oi = {};
92
- function xt() {
92
+ function Dt() {
93
93
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : oi;
94
94
  }
95
95
  var or = Object.assign, gt = Object.getOwnPropertyDescriptor, ce = Object.defineProperty, Vt = Object.prototype, yt = [];
@@ -100,10 +100,10 @@ var ai = typeof Proxy < "u", si = /* @__PURE__ */ Object.toString();
100
100
  function sr() {
101
101
  ai || A(process.env.NODE_ENV !== "production" ? "`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`" : "Proxy not available");
102
102
  }
103
- function We(e) {
103
+ function Xe(e) {
104
104
  process.env.NODE_ENV !== "production" && g.verifyProxies && A("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to " + e);
105
105
  }
106
- function re() {
106
+ function ie() {
107
107
  return ++g.mobxGuid;
108
108
  }
109
109
  function dn(e) {
@@ -113,12 +113,12 @@ function dn(e) {
113
113
  return n = !0, e.apply(this, arguments);
114
114
  };
115
115
  }
116
- var je = function() {
116
+ var Fe = function() {
117
117
  };
118
118
  function L(e) {
119
119
  return typeof e == "function";
120
120
  }
121
- function De(e) {
121
+ function xe(e) {
122
122
  var n = typeof e;
123
123
  switch (n) {
124
124
  case "string":
@@ -160,13 +160,13 @@ function lr(e, n, t) {
160
160
  value: t
161
161
  });
162
162
  }
163
- function Pe(e, n) {
163
+ function Me(e, n) {
164
164
  var t = "isMobX" + e;
165
165
  return n.prototype[t] = !0, function(r) {
166
166
  return Bt(r) && r[t] === !0;
167
167
  };
168
168
  }
169
- function Ge(e) {
169
+ function Ke(e) {
170
170
  return e != null && Object.prototype.toString.call(e) === "[object Map]";
171
171
  }
172
172
  function ui(e) {
@@ -186,7 +186,7 @@ function li(e) {
186
186
  return Vt.propertyIsEnumerable.call(e, r);
187
187
  })) : n;
188
188
  }
189
- var He = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : cr ? function(e) {
189
+ var $e = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : cr ? function(e) {
190
190
  return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
191
191
  } : (
192
192
  /* istanbul ignore next */
@@ -203,7 +203,7 @@ function z(e, n) {
203
203
  }
204
204
  var ci = Object.getOwnPropertyDescriptors || function(n) {
205
205
  var t = {};
206
- return He(n).forEach(function(r) {
206
+ return $e(n).forEach(function(r) {
207
207
  t[r] = gt(n, r);
208
208
  }), t;
209
209
  };
@@ -224,12 +224,12 @@ function fi(e, n) {
224
224
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, _i(r.key), r);
225
225
  }
226
226
  }
227
- function Ke(e, n, t) {
227
+ function qe(e, n, t) {
228
228
  return n && fi(e.prototype, n), Object.defineProperty(e, "prototype", {
229
229
  writable: !1
230
230
  }), e;
231
231
  }
232
- function Fe(e, n) {
232
+ function He(e, n) {
233
233
  var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
234
234
  if (t) return (t = t.call(e)).next.bind(t);
235
235
  if (Array.isArray(e) || (t = pi(e)) || n) {
@@ -285,7 +285,7 @@ function pi(e, n) {
285
285
  return t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set" ? Array.from(e) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? Nn(e, n) : void 0;
286
286
  }
287
287
  }
288
- var k = /* @__PURE__ */ Symbol("mobx-stored-annotations");
288
+ var R = /* @__PURE__ */ Symbol("mobx-stored-annotations");
289
289
  function fe(e) {
290
290
  function n(t, r) {
291
291
  if (ot(r))
@@ -295,15 +295,15 @@ function fe(e) {
295
295
  return Object.assign(n, e);
296
296
  }
297
297
  function it(e, n, t) {
298
- if (z(e, k) || rt(e, k, ve({}, e[k])), process.env.NODE_ENV !== "production" && Ot(t) && !z(e[k], n)) {
298
+ if (z(e, R) || rt(e, R, ve({}, e[R])), process.env.NODE_ENV !== "production" && Ot(t) && !z(e[R], n)) {
299
299
  var r = e.constructor.name + ".prototype." + n.toString();
300
300
  A("'" + r + "' is decorated with 'override', but no such decorated member was found on prototype.");
301
301
  }
302
- vi(e, t, n), Ot(t) || (e[k][n] = t);
302
+ vi(e, t, n), Ot(t) || (e[R][n] = t);
303
303
  }
304
304
  function vi(e, n, t) {
305
- if (process.env.NODE_ENV !== "production" && !Ot(n) && z(e[k], t)) {
306
- var r = e.constructor.name + ".prototype." + t.toString(), o = e[k][t].annotationType_, s = n.annotationType_;
305
+ if (process.env.NODE_ENV !== "production" && !Ot(n) && z(e[R], t)) {
306
+ var r = e.constructor.name + ".prototype." + t.toString(), o = e[R][t].annotationType_, s = n.annotationType_;
307
307
  A("Cannot apply '@" + s + "' to '" + r + "':" + (`
308
308
  The field is already decorated with '@` + o + "'.") + `
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 hi(e) {
314
- return z(e, k) || rt(e, k, ve({}, e[k])), e[k];
314
+ return z(e, R) || rt(e, R, ve({}, e[R])), e[R];
315
315
  }
316
316
  function ot(e) {
317
317
  return typeof e == "object" && typeof e.kind == "string";
@@ -321,7 +321,7 @@ function Lt(e, n) {
321
321
  }
322
322
  var S = /* @__PURE__ */ Symbol("mobx administration"), Ae = /* @__PURE__ */ (function() {
323
323
  function e(t) {
324
- t === void 0 && (t = process.env.NODE_ENV !== "production" ? "Atom@" + re() : "Atom"), this.name_ = void 0, this.flags_ = 0, this.observers_ = /* @__PURE__ */ new Set(), this.lastAccessedBy_ = 0, this.lowestObserverState_ = N.NOT_TRACKING_, this.onBOL = void 0, this.onBUOL = void 0, this.name_ = t;
324
+ t === void 0 && (t = process.env.NODE_ENV !== "production" ? "Atom@" + ie() : "Atom"), this.name_ = void 0, this.flags_ = 0, this.observers_ = /* @__PURE__ */ new Set(), this.lastAccessedBy_ = 0, this.lowestObserverState_ = N.NOT_TRACKING_, this.onBOL = void 0, this.onBUOL = void 0, this.name_ = t;
325
325
  }
326
326
  var n = e.prototype;
327
327
  return n.onBO = function() {
@@ -335,10 +335,10 @@ var S = /* @__PURE__ */ Symbol("mobx administration"), Ae = /* @__PURE__ */ (fun
335
335
  }, n.reportObserved = function() {
336
336
  return Tr(this);
337
337
  }, n.reportChanged = function() {
338
- X(), Dr(this), Z();
338
+ X(), xr(this), Z();
339
339
  }, n.toString = function() {
340
340
  return this.name_;
341
- }, Ke(e, [{
341
+ }, qe(e, [{
342
342
  key: "isBeingObserved",
343
343
  get: function() {
344
344
  return I(this.flags_, e.isBeingObservedMask_);
@@ -367,11 +367,11 @@ var S = /* @__PURE__ */ Symbol("mobx administration"), Ae = /* @__PURE__ */ (fun
367
367
  Ae.isBeingObservedMask_ = 1;
368
368
  Ae.isPendingUnobservationMask_ = 2;
369
369
  Ae.diffValueMask_ = 4;
370
- var _n = /* @__PURE__ */ Pe("Atom", Ae);
370
+ var _n = /* @__PURE__ */ Me("Atom", Ae);
371
371
  function _r(e, n, t) {
372
- n === void 0 && (n = je), t === void 0 && (t = je);
372
+ n === void 0 && (n = Fe), t === void 0 && (t = Fe);
373
373
  var r = new Ae(e);
374
- return n !== je && Do(r, n), t !== je && Mr(r, t), r;
374
+ return n !== Fe && xo(r, n), t !== Fe && Pr(r, t), r;
375
375
  }
376
376
  function bi(e, n) {
377
377
  return Xr(e, n);
@@ -383,19 +383,19 @@ var At = {
383
383
  structural: bi,
384
384
  default: mi
385
385
  };
386
- function xe(e, n, t) {
386
+ function De(e, n, t) {
387
387
  return nt(e) ? e : Array.isArray(e) ? C.array(e, {
388
388
  name: t
389
389
  }) : F(e) ? C.object(e, void 0, {
390
390
  name: t
391
- }) : Ge(e) ? C.map(e, {
391
+ }) : Ke(e) ? C.map(e, {
392
392
  name: t
393
393
  }) : de(e) ? C.set(e, {
394
394
  name: t
395
- }) : typeof e == "function" && !Le(e) && !tt(e) ? ur(e) ? $e(e) : et(t, e) : e;
395
+ }) : typeof e == "function" && !Le(e) && !tt(e) ? ur(e) ? Ue(e) : et(t, e) : e;
396
396
  }
397
397
  function gi(e, n, t) {
398
- if (e == null || qe(e) || Rt(e) || Oe(e) || ue(e))
398
+ if (e == null || We(e) || kt(e) || Oe(e) || ue(e))
399
399
  return e;
400
400
  if (Array.isArray(e))
401
401
  return C.array(e, {
@@ -407,7 +407,7 @@ function gi(e, n, t) {
407
407
  name: t,
408
408
  deep: !1
409
409
  });
410
- if (Ge(e))
410
+ if (Ke(e))
411
411
  return C.map(e, {
412
412
  name: t,
413
413
  deep: !1
@@ -419,7 +419,7 @@ function gi(e, n, t) {
419
419
  });
420
420
  process.env.NODE_ENV !== "production" && A("The shallow modifier / decorator can only used in combination with arrays, objects, maps and sets");
421
421
  }
422
- function Pt(e) {
422
+ function Mt(e) {
423
423
  return e;
424
424
  }
425
425
  function yi(e, n) {
@@ -533,20 +533,20 @@ function Ti(e, n) {
533
533
  var t;
534
534
  process.env.NODE_ENV !== "production" && Lt(n, ["method"]);
535
535
  var r = n.name, o = n.addInitializer;
536
- return tt(e) || (e = $e(e)), (t = this.options_) != null && t.bound && o(function() {
536
+ return tt(e) || (e = Ue(e)), (t = this.options_) != null && t.bound && o(function() {
537
537
  var s = this, u = s[r].bind(s);
538
538
  u.isMobXFlow = !0, s[r] = u;
539
539
  }), e;
540
540
  }
541
- function Di(e, n, t, r) {
541
+ function xi(e, n, t, r) {
542
542
  var o = n.annotationType_, s = r.value;
543
543
  process.env.NODE_ENV !== "production" && !L(s) && A("Cannot apply '" + o + "' to '" + e.name_ + "." + t.toString() + "':" + (`
544
544
  '` + o + "' can only be used on properties with a generator function value."));
545
545
  }
546
546
  function hr(e, n, t, r, o, s) {
547
- s === void 0 && (s = g.safeDescriptors), Di(e, n, t, r);
547
+ s === void 0 && (s = g.safeDescriptors), xi(e, n, t, r);
548
548
  var u = r.value;
549
- if (tt(u) || (u = $e(u)), o) {
549
+ if (tt(u) || (u = Ue(u)), o) {
550
550
  var d;
551
551
  u = u.bind((d = e.proxy_) != null ? d : e.target_), u.isMobXFlow = !0;
552
552
  }
@@ -566,12 +566,12 @@ function pn(e, n) {
566
566
  return {
567
567
  annotationType_: e,
568
568
  options_: n,
569
- make_: xi,
569
+ make_: Di,
570
570
  extend_: Vi,
571
571
  decorate_20223_: Bi
572
572
  };
573
573
  }
574
- function xi(e, n, t) {
574
+ function Di(e, n, t) {
575
575
  return this.extend_(e, n, t, !1) === null ? 0 : 1;
576
576
  }
577
577
  function Vi(e, n, t, r) {
@@ -584,7 +584,7 @@ function Bi(e, n) {
584
584
  process.env.NODE_ENV !== "production" && Lt(n, ["getter"]);
585
585
  var t = this, r = n.name, o = n.addInitializer;
586
586
  return o(function() {
587
- var s = Re(this)[S], u = ve({}, t.options_, {
587
+ var s = ke(this)[S], u = ve({}, t.options_, {
588
588
  get: e,
589
589
  context: this
590
590
  });
@@ -598,23 +598,23 @@ function Li(e, n, t, r) {
598
598
  process.env.NODE_ENV !== "production" && !s && A("Cannot apply '" + o + "' to '" + e.name_ + "." + t.toString() + "':" + (`
599
599
  '` + o + "' can only be used on getter(+setter) properties."));
600
600
  }
601
- function Mt(e, n) {
601
+ function Pt(e, n) {
602
602
  return {
603
603
  annotationType_: e,
604
604
  options_: n,
605
- make_: Pi,
606
- extend_: Mi,
607
- decorate_20223_: ki
605
+ make_: Mi,
606
+ extend_: Pi,
607
+ decorate_20223_: Ri
608
608
  };
609
609
  }
610
- function Pi(e, n, t) {
610
+ function Mi(e, n, t) {
611
611
  return this.extend_(e, n, t, !1) === null ? 0 : 1;
612
612
  }
613
- function Mi(e, n, t, r) {
613
+ function Pi(e, n, t, r) {
614
614
  var o, s;
615
- return Ri(e, this, n, t), e.defineObservableProperty_(n, t.value, (o = (s = this.options_) == null ? void 0 : s.enhancer) != null ? o : xe, r);
615
+ return ki(e, this, n, t), e.defineObservableProperty_(n, t.value, (o = (s = this.options_) == null ? void 0 : s.enhancer) != null ? o : De, r);
616
616
  }
617
- function ki(e, n) {
617
+ function Ri(e, n) {
618
618
  if (process.env.NODE_ENV !== "production") {
619
619
  if (n.kind === "field")
620
620
  throw A("Please use `@observable accessor " + String(n.name) + "` instead of `@observable " + String(n.name) + "`");
@@ -622,7 +622,7 @@ function ki(e, n) {
622
622
  }
623
623
  var t = this, r = n.kind, o = n.name, s = /* @__PURE__ */ new WeakSet();
624
624
  function u(d, c) {
625
- var p, m, i = Re(d)[S], a = new Te(c, (p = (m = t.options_) == null ? void 0 : m.enhancer) != null ? p : xe, process.env.NODE_ENV !== "production" ? i.name_ + "." + o.toString() : "ObservableObject." + o.toString(), !1);
625
+ var p, m, i = ke(d)[S], a = new Te(c, (p = (m = t.options_) == null ? void 0 : m.enhancer) != null ? p : De, process.env.NODE_ENV !== "production" ? i.name_ + "." + o.toString() : "ObservableObject." + o.toString(), !1);
626
626
  i.values_.set(o, a), s.add(d);
627
627
  }
628
628
  if (r == "accessor")
@@ -638,7 +638,7 @@ function ki(e, n) {
638
638
  }
639
639
  };
640
640
  }
641
- function Ri(e, n, t, r) {
641
+ function ki(e, n, t, r) {
642
642
  var o = n.annotationType_;
643
643
  process.env.NODE_ENV !== "production" && !("value" in r) && A("Cannot apply '" + o + "' to '" + e.name_ + "." + t.toString() + "':" + (`
644
644
  '` + o + "' cannot be used on getter/setter properties"));
@@ -670,7 +670,7 @@ function Fi(e, n, t, r) {
670
670
  if (r !== e.target_ && typeof t.value == "function") {
671
671
  var d;
672
672
  if (ur(t.value)) {
673
- var c, p = (c = this.options_) != null && c.autoBind ? $e.bound : $e;
673
+ var c, p = (c = this.options_) != null && c.autoBind ? Ue.bound : Ue;
674
674
  return p.make_(e, n, t, r);
675
675
  }
676
676
  var m = (d = this.options_) != null && d.autoBind ? et.bound : et;
@@ -712,15 +712,15 @@ Object.freeze(mr);
712
712
  function lt(e) {
713
713
  return e || mr;
714
714
  }
715
- var tn = /* @__PURE__ */ Mt(Ui), Wi = /* @__PURE__ */ Mt(Gi, {
716
- enhancer: Pt
717
- }), Xi = /* @__PURE__ */ Mt(Ki, {
715
+ var tn = /* @__PURE__ */ Pt(Ui), Wi = /* @__PURE__ */ Pt(Gi, {
716
+ enhancer: Mt
717
+ }), Xi = /* @__PURE__ */ Pt(Ki, {
718
718
  enhancer: gi
719
- }), Zi = /* @__PURE__ */ Mt(qi, {
719
+ }), Zi = /* @__PURE__ */ Pt(qi, {
720
720
  enhancer: yi
721
721
  }), gr = /* @__PURE__ */ fe(tn);
722
722
  function ct(e) {
723
- return e.deep === !0 ? xe : e.deep === !1 ? Pt : zi(e.defaultDecorator);
723
+ return e.deep === !0 ? De : e.deep === !1 ? Mt : zi(e.defaultDecorator);
724
724
  }
725
725
  function Yi(e) {
726
726
  var n;
@@ -728,16 +728,16 @@ function Yi(e) {
728
728
  }
729
729
  function zi(e) {
730
730
  var n, t;
731
- return e && (n = (t = e.options_) == null ? void 0 : t.enhancer) != null ? n : xe;
731
+ return e && (n = (t = e.options_) == null ? void 0 : t.enhancer) != null ? n : De;
732
732
  }
733
733
  function yr(e, n, t) {
734
734
  if (ot(n))
735
735
  return tn.decorate_20223_(e, n);
736
- if (De(n)) {
736
+ if (xe(n)) {
737
737
  it(e, n, tn);
738
738
  return;
739
739
  }
740
- return nt(e) ? e : F(e) ? C.object(e, n, t) : Array.isArray(e) ? C.array(e, n) : Ge(e) ? C.map(e, n) : de(e) ? C.set(e, n) : typeof e == "object" && e !== null ? e : C.box(e, n);
740
+ return nt(e) ? e : F(e) ? C.object(e, n, t) : Array.isArray(e) ? C.array(e, n) : Ke(e) ? C.map(e, n) : de(e) ? C.set(e, n) : typeof e == "object" && e !== null ? e : C.box(e, n);
741
741
  }
742
742
  or(yr, gr);
743
743
  var Ji = {
@@ -759,7 +759,7 @@ var Ji = {
759
759
  },
760
760
  object: function(n, t, r) {
761
761
  return Se(function() {
762
- return Rr(g.useProxies === !1 || r?.proxy === !1 ? Re({}, r) : Fo({}, r), n, t);
762
+ return kr(g.useProxies === !1 || r?.proxy === !1 ? ke({}, r) : Fo({}, r), n, t);
763
763
  });
764
764
  },
765
765
  ref: /* @__PURE__ */ fe(Wi),
@@ -771,7 +771,7 @@ var Ji = {
771
771
  }), Ce = function(n, t) {
772
772
  if (ot(t))
773
773
  return nn.decorate_20223_(n, t);
774
- if (De(t))
774
+ if (xe(t))
775
775
  return it(n, t, nn);
776
776
  if (F(n))
777
777
  return fe(pn(Ar, n));
@@ -782,7 +782,7 @@ var Ji = {
782
782
  Object.assign(Ce, nn);
783
783
  Ce.struct = /* @__PURE__ */ fe(eo);
784
784
  var Cn, Tn, St = 0, to = 1, no = (Cn = (Tn = /* @__PURE__ */ gt(function() {
785
- }, "name")) == null ? void 0 : Tn.configurable) != null ? Cn : !1, Dn = {
785
+ }, "name")) == null ? void 0 : Tn.configurable) != null ? Cn : !1, xn = {
786
786
  value: "action",
787
787
  configurable: !0,
788
788
  writable: !1,
@@ -795,7 +795,7 @@ function Ve(e, n, t, r) {
795
795
  }
796
796
  return o.isMobxAction = !0, o.toString = function() {
797
797
  return n.toString();
798
- }, no && (Dn.value = e, ce(o, "name", Dn)), o;
798
+ }, no && (xn.value = e, ce(o, "name", xn)), o;
799
799
  }
800
800
  function ro(e, n, t, r, o) {
801
801
  var s = io(e, n, r, o);
@@ -808,7 +808,7 @@ function ro(e, n, t, r, o) {
808
808
  }
809
809
  }
810
810
  function io(e, n, t, r) {
811
- var o = process.env.NODE_ENV !== "production" && P() && !!e, s = 0;
811
+ var o = process.env.NODE_ENV !== "production" && M() && !!e, s = 0;
812
812
  if (process.env.NODE_ENV !== "production" && o) {
813
813
  s = Date.now();
814
814
  var u = r ? Array.from(r) : yt;
@@ -822,7 +822,7 @@ function io(e, n, t, r) {
822
822
  var d = g.trackingDerivation, c = !n || !d;
823
823
  X();
824
824
  var p = g.allowStateChanges;
825
- c && (Me(), p = vn(!0));
825
+ c && (Pe(), p = vn(!0));
826
826
  var m = bn(!0), i = {
827
827
  runAsAction_: c,
828
828
  prevDerivation_: d,
@@ -850,7 +850,7 @@ function hn(e) {
850
850
  var ao = "create", Te = /* @__PURE__ */ (function(e) {
851
851
  function n(r, o, s, u, d) {
852
852
  var c;
853
- if (s === void 0 && (s = process.env.NODE_ENV !== "production" ? "ObservableValue@" + re() : "ObservableValue"), u === void 0 && (u = !0), d === void 0 && (d = At.default), c = e.call(this, s) || this, c.enhancer = void 0, c.name_ = void 0, c.equals = void 0, c.hasUnreportedChange_ = !1, c.interceptors_ = void 0, c.changeListeners_ = void 0, c.value_ = void 0, c.dehancer = void 0, c.enhancer = o, c.name_ = s, c.equals = d, c.value_ = o(r, void 0, s), process.env.NODE_ENV !== "production" && u && P()) {
853
+ if (s === void 0 && (s = process.env.NODE_ENV !== "production" ? "ObservableValue@" + ie() : "ObservableValue"), u === void 0 && (u = !0), d === void 0 && (d = At.default), c = e.call(this, s) || this, c.enhancer = void 0, c.name_ = void 0, c.equals = void 0, c.hasUnreportedChange_ = !1, c.interceptors_ = void 0, c.changeListeners_ = void 0, c.value_ = void 0, c.dehancer = void 0, c.enhancer = o, c.name_ = s, c.equals = d, c.value_ = o(r, void 0, s), process.env.NODE_ENV !== "production" && u && M()) {
854
854
  var p;
855
855
  Be({
856
856
  type: ao,
@@ -869,9 +869,9 @@ var ao = "create", Te = /* @__PURE__ */ (function(e) {
869
869
  }, t.set = function(o) {
870
870
  var s = this.value_;
871
871
  if (o = this.prepareNewValue_(o), o !== g.UNCHANGED) {
872
- var u = P();
872
+ var u = M();
873
873
  process.env.NODE_ENV !== "production" && u && H({
874
- type: ee,
874
+ type: te,
875
875
  object: this,
876
876
  observableKind: "value",
877
877
  debugObjectName: this.name_,
@@ -883,7 +883,7 @@ var ao = "create", Te = /* @__PURE__ */ (function(e) {
883
883
  if (le(this), q(this)) {
884
884
  var s = W(this, {
885
885
  object: this,
886
- type: ee,
886
+ type: te,
887
887
  newValue: o
888
888
  });
889
889
  if (!s)
@@ -893,8 +893,8 @@ var ao = "create", Te = /* @__PURE__ */ (function(e) {
893
893
  return o = this.enhancer(o, this.value_, this.name_), this.equals(this.value_, o) ? g.UNCHANGED : o;
894
894
  }, t.setNewValue_ = function(o) {
895
895
  var s = this.value_;
896
- this.value_ = o, this.reportChanged(), te(this) && ne(this, {
897
- type: ee,
896
+ this.value_ = o, this.reportChanged(), ne(this) && re(this, {
897
+ type: te,
898
898
  object: this,
899
899
  newValue: o,
900
900
  oldValue: s
@@ -908,7 +908,7 @@ var ao = "create", Te = /* @__PURE__ */ (function(e) {
908
908
  observableKind: "value",
909
909
  debugObjectName: this.name_,
910
910
  object: this,
911
- type: ee,
911
+ type: te,
912
912
  newValue: this.value_,
913
913
  oldValue: void 0
914
914
  }), ut(this, o);
@@ -925,7 +925,7 @@ var ao = "create", Te = /* @__PURE__ */ (function(e) {
925
925
  }, n;
926
926
  })(Ae), Q = /* @__PURE__ */ (function() {
927
927
  function e(t) {
928
- this.dependenciesState_ = N.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.observers_ = /* @__PURE__ */ new Set(), this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = N.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new wt(null), this.name_ = void 0, this.triggeredBy_ = void 0, this.flags_ = 0, this.derivation = void 0, this.setter_ = void 0, this.isTracing_ = J.NONE, this.scope_ = void 0, this.equals_ = void 0, this.requiresReaction_ = void 0, this.keepAlive_ = void 0, this.onBOL = void 0, this.onBUOL = void 0, t.get || A(31), this.derivation = t.get, this.name_ = t.name || (process.env.NODE_ENV !== "production" ? "ComputedValue@" + re() : "ComputedValue"), t.set && (this.setter_ = Ve(process.env.NODE_ENV !== "production" ? this.name_ + "-setter" : "ComputedValue-setter", t.set)), this.equals_ = t.equals || (t.compareStructural || t.struct ? At.structural : At.default), this.scope_ = t.context, this.requiresReaction_ = t.requiresReaction, this.keepAlive_ = !!t.keepAlive;
928
+ this.dependenciesState_ = N.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.observers_ = /* @__PURE__ */ new Set(), this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = N.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new wt(null), this.name_ = void 0, this.triggeredBy_ = void 0, this.flags_ = 0, this.derivation = void 0, this.setter_ = void 0, this.isTracing_ = J.NONE, this.scope_ = void 0, this.equals_ = void 0, this.requiresReaction_ = void 0, this.keepAlive_ = void 0, this.onBOL = void 0, this.onBUOL = void 0, t.get || A(31), this.derivation = t.get, this.name_ = t.name || (process.env.NODE_ENV !== "production" ? "ComputedValue@" + ie() : "ComputedValue"), t.set && (this.setter_ = Ve(process.env.NODE_ENV !== "production" ? this.name_ + "-setter" : "ComputedValue-setter", t.set)), this.equals_ = t.equals || (t.compareStructural || t.struct ? At.structural : At.default), this.scope_ = t.context, this.requiresReaction_ = t.requiresReaction, this.keepAlive_ = !!t.keepAlive;
929
929
  }
930
930
  var n = e.prototype;
931
931
  return n.onBecomeStale_ = function() {
@@ -965,7 +965,7 @@ var ao = "create", Te = /* @__PURE__ */ (function(e) {
965
965
  /* see #1208 */
966
966
  this.dependenciesState_ === N.NOT_TRACKING_
967
967
  ), s = this.computeValue_(!0), u = o || pt(r) || pt(s) || !this.equals_(r, s);
968
- return u && (this.value_ = s, process.env.NODE_ENV !== "production" && P() && Be({
968
+ return u && (this.value_ = s, process.env.NODE_ENV !== "production" && M() && Be({
969
969
  observableKind: "computed",
970
970
  debugObjectName: this.name_,
971
971
  object: this.scope_,
@@ -994,11 +994,11 @@ var ao = "create", Te = /* @__PURE__ */ (function(e) {
994
994
  return wo(function() {
995
995
  var c = s.get();
996
996
  if (!u || o) {
997
- var p = Me();
997
+ var p = Pe();
998
998
  r({
999
999
  observableKind: "computed",
1000
1000
  debugObjectName: s.name_,
1001
- type: ee,
1001
+ type: te,
1002
1002
  object: s,
1003
1003
  newValue: c,
1004
1004
  oldValue: d
@@ -1014,7 +1014,7 @@ var ao = "create", Te = /* @__PURE__ */ (function(e) {
1014
1014
  return fr(this.get());
1015
1015
  }, n[Symbol.toPrimitive] = function() {
1016
1016
  return this.valueOf();
1017
- }, Ke(e, [{
1017
+ }, qe(e, [{
1018
1018
  key: "isComputing",
1019
1019
  get: function() {
1020
1020
  return I(this.flags_, e.isComputingMask_);
@@ -1061,7 +1061,7 @@ Q.isRunningSetterMask_ = 2;
1061
1061
  Q.isBeingObservedMask_ = 4;
1062
1062
  Q.isPendingUnobservationMask_ = 8;
1063
1063
  Q.diffValueMask_ = 16;
1064
- var kt = /* @__PURE__ */ Pe("ComputedValue", Q), N;
1064
+ var Rt = /* @__PURE__ */ Me("ComputedValue", Q), N;
1065
1065
  (function(e) {
1066
1066
  e[e.NOT_TRACKING_ = -1] = "NOT_TRACKING_", e[e.UP_TO_DATE_ = 0] = "UP_TO_DATE_", e[e.POSSIBLY_STALE_ = 1] = "POSSIBLY_STALE_", e[e.STALE_ = 2] = "STALE_";
1067
1067
  })(N || (N = {}));
@@ -1083,9 +1083,9 @@ function rn(e) {
1083
1083
  case N.STALE_:
1084
1084
  return !0;
1085
1085
  case N.POSSIBLY_STALE_: {
1086
- for (var n = bn(!0), t = Me(), r = e.observing_, o = r.length, s = 0; s < o; s++) {
1086
+ for (var n = bn(!0), t = Pe(), r = e.observing_, o = r.length, s = 0; s < o; s++) {
1087
1087
  var u = r[s];
1088
- if (kt(u)) {
1088
+ if (Rt(u)) {
1089
1089
  if (g.disableErrorBoundaries)
1090
1090
  u.get();
1091
1091
  else
@@ -1157,14 +1157,14 @@ function on(e) {
1157
1157
  e.dependenciesState_ = N.NOT_TRACKING_;
1158
1158
  }
1159
1159
  function Sr(e) {
1160
- var n = Me();
1160
+ var n = Pe();
1161
1161
  try {
1162
1162
  return e();
1163
1163
  } finally {
1164
1164
  pe(n);
1165
1165
  }
1166
1166
  }
1167
- function Me() {
1167
+ function Pe() {
1168
1168
  var e = g.trackingDerivation;
1169
1169
  return g.trackingDerivation = null, e;
1170
1170
  }
@@ -1188,14 +1188,14 @@ function wr(e) {
1188
1188
  var vt = 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
  }, ht = !0, Er = !1, g = /* @__PURE__ */ (function() {
1191
- var e = /* @__PURE__ */ xt();
1191
+ var e = /* @__PURE__ */ Dt();
1192
1192
  return e.__mobxInstanceCount > 0 && !e.__mobxGlobals && (ht = !1), e.__mobxGlobals && e.__mobxGlobals.version !== new vt().version && (ht = !1), ht ? e.__mobxGlobals ? (e.__mobxInstanceCount += 1, e.__mobxGlobals.UNCHANGED || (e.__mobxGlobals.UNCHANGED = {}), e.__mobxGlobals) : (e.__mobxInstanceCount = 1, e.__mobxGlobals = /* @__PURE__ */ new vt()) : (setTimeout(function() {
1193
1193
  Er || A(35);
1194
1194
  }, 1), new vt());
1195
1195
  })();
1196
1196
  function co() {
1197
1197
  if ((g.pendingReactions.length || g.inBatch || g.isRunningReactions) && A(36), Er = !0, ht) {
1198
- var e = xt();
1198
+ var e = Dt();
1199
1199
  --e.__mobxInstanceCount === 0 && (e.__mobxGlobals = void 0), g = new vt();
1200
1200
  }
1201
1201
  }
@@ -1226,14 +1226,14 @@ function Tr(e) {
1226
1226
  var n = g.trackingDerivation;
1227
1227
  return n !== null ? (n.runId_ !== e.lastAccessedBy_ && (e.lastAccessedBy_ = n.runId_, n.newObserving_[n.unboundDepsCount_++] = e, !e.isBeingObserved && g.trackingContext && (e.isBeingObserved = !0, e.onBO())), e.isBeingObserved) : (e.observers_.size === 0 && g.inBatch > 0 && Cr(e), !1);
1228
1228
  }
1229
- function Dr(e) {
1229
+ function xr(e) {
1230
1230
  e.lowestObserverState_ !== N.STALE_ && (e.lowestObserverState_ = N.STALE_, e.observers_.forEach(function(n) {
1231
- n.dependenciesState_ === N.UP_TO_DATE_ && (process.env.NODE_ENV !== "production" && n.isTracing_ !== J.NONE && xr(n, e), n.onBecomeStale_()), n.dependenciesState_ = N.STALE_;
1231
+ n.dependenciesState_ === N.UP_TO_DATE_ && (process.env.NODE_ENV !== "production" && n.isTracing_ !== J.NONE && Dr(n, e), n.onBecomeStale_()), n.dependenciesState_ = N.STALE_;
1232
1232
  }));
1233
1233
  }
1234
1234
  function _o(e) {
1235
1235
  e.lowestObserverState_ !== N.STALE_ && (e.lowestObserverState_ = N.STALE_, e.observers_.forEach(function(n) {
1236
- n.dependenciesState_ === N.POSSIBLY_STALE_ ? (n.dependenciesState_ = N.STALE_, process.env.NODE_ENV !== "production" && n.isTracing_ !== J.NONE && xr(n, e)) : n.dependenciesState_ === N.UP_TO_DATE_ && (e.lowestObserverState_ = N.UP_TO_DATE_);
1236
+ n.dependenciesState_ === N.POSSIBLY_STALE_ ? (n.dependenciesState_ = N.STALE_, process.env.NODE_ENV !== "production" && n.isTracing_ !== J.NONE && Dr(n, e)) : n.dependenciesState_ === N.UP_TO_DATE_ && (e.lowestObserverState_ = N.UP_TO_DATE_);
1237
1237
  }));
1238
1238
  }
1239
1239
  function po(e) {
@@ -1241,7 +1241,7 @@ function po(e) {
1241
1241
  n.dependenciesState_ === N.UP_TO_DATE_ && (n.dependenciesState_ = N.POSSIBLY_STALE_, n.onBecomeStale_());
1242
1242
  }));
1243
1243
  }
1244
- function xr(e, n) {
1244
+ function Dr(e, n) {
1245
1245
  if (console.log("[mobx.trace] '" + e.name_ + "' is invalidated due to a change in: '" + n.name_ + "'"), e.isTracing_ === J.BREAK) {
1246
1246
  var t = [];
1247
1247
  Vr(Ir(e), t, 1), new Function(`debugger;
@@ -1273,7 +1273,7 @@ function Vr(e, n, t) {
1273
1273
  }
1274
1274
  var he = /* @__PURE__ */ (function() {
1275
1275
  function e(t, r, o, s) {
1276
- t === void 0 && (t = process.env.NODE_ENV !== "production" ? "Reaction@" + re() : "Reaction"), this.name_ = void 0, this.onInvalidate_ = void 0, this.errorHandler_ = void 0, this.requiresObservable_ = void 0, this.observing_ = [], this.newObserving_ = [], this.dependenciesState_ = N.NOT_TRACKING_, this.runId_ = 0, this.unboundDepsCount_ = 0, this.flags_ = 0, this.isTracing_ = J.NONE, this.name_ = t, this.onInvalidate_ = r, this.errorHandler_ = o, this.requiresObservable_ = s;
1276
+ t === void 0 && (t = process.env.NODE_ENV !== "production" ? "Reaction@" + ie() : "Reaction"), this.name_ = void 0, this.onInvalidate_ = void 0, this.errorHandler_ = void 0, this.requiresObservable_ = void 0, this.observing_ = [], this.newObserving_ = [], this.dependenciesState_ = N.NOT_TRACKING_, this.runId_ = 0, this.unboundDepsCount_ = 0, this.flags_ = 0, this.isTracing_ = J.NONE, this.name_ = t, this.onInvalidate_ = r, this.errorHandler_ = o, this.requiresObservable_ = s;
1277
1277
  }
1278
1278
  var n = e.prototype;
1279
1279
  return n.onBecomeStale_ = function() {
@@ -1287,7 +1287,7 @@ var he = /* @__PURE__ */ (function() {
1287
1287
  if (g.trackingContext = this, rn(this)) {
1288
1288
  this.isTrackPending = !0;
1289
1289
  try {
1290
- this.onInvalidate_(), process.env.NODE_ENV !== "production" && this.isTrackPending && P() && Be({
1290
+ this.onInvalidate_(), process.env.NODE_ENV !== "production" && this.isTrackPending && M() && Be({
1291
1291
  name: this.name_,
1292
1292
  type: "scheduled-reaction"
1293
1293
  });
@@ -1300,7 +1300,7 @@ var he = /* @__PURE__ */ (function() {
1300
1300
  }, n.track = function(r) {
1301
1301
  if (!this.isDisposed) {
1302
1302
  X();
1303
- var o = P(), s;
1303
+ var o = M(), s;
1304
1304
  process.env.NODE_ENV !== "production" && o && (s = Date.now(), H({
1305
1305
  name: this.name_,
1306
1306
  type: "reaction"
@@ -1321,7 +1321,7 @@ var he = /* @__PURE__ */ (function() {
1321
1321
  if (g.disableErrorBoundaries)
1322
1322
  throw r;
1323
1323
  var s = process.env.NODE_ENV !== "production" ? "[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '" + this + "'" : "[mobx] uncaught error in '" + this + "'";
1324
- g.suppressReactionErrors ? process.env.NODE_ENV !== "production" && console.warn("[mobx] (error in reaction '" + this.name_ + "' suppressed, fix error of causing action below)") : console.error(s, r), process.env.NODE_ENV !== "production" && P() && Be({
1324
+ g.suppressReactionErrors ? process.env.NODE_ENV !== "production" && console.warn("[mobx] (error in reaction '" + this.name_ + "' suppressed, fix error of causing action below)") : console.error(s, r), process.env.NODE_ENV !== "production" && M() && Be({
1325
1325
  type: "error",
1326
1326
  name: this.name_,
1327
1327
  message: s,
@@ -1339,8 +1339,8 @@ var he = /* @__PURE__ */ (function() {
1339
1339
  }, n.toString = function() {
1340
1340
  return "Reaction[" + this.name_ + "]";
1341
1341
  }, n.trace = function(r) {
1342
- r === void 0 && (r = !1), Ro(this, r);
1343
- }, Ke(e, [{
1342
+ r === void 0 && (r = !1), ko(this, r);
1343
+ }, qe(e, [{
1344
1344
  key: "isDisposed",
1345
1345
  get: function() {
1346
1346
  return I(this.flags_, e.isDisposedMask_);
@@ -1387,7 +1387,7 @@ he.isScheduledMask_ = 2;
1387
1387
  he.isTrackPendingMask_ = 4;
1388
1388
  he.isRunningMask_ = 8;
1389
1389
  he.diffValueMask_ = 16;
1390
- var xn = 100, an = function(n) {
1390
+ var Dn = 100, an = function(n) {
1391
1391
  return n();
1392
1392
  };
1393
1393
  function Br() {
@@ -1396,13 +1396,13 @@ function Br() {
1396
1396
  function vo() {
1397
1397
  g.isRunningReactions = !0;
1398
1398
  for (var e = g.pendingReactions, n = 0; e.length > 0; ) {
1399
- ++n === xn && (console.error(process.env.NODE_ENV !== "production" ? "Reaction doesn't converge to a stable state after " + xn + " iterations." + (" Probably there is a cycle in the reactive function: " + e[0]) : "[mobx] cycle in reaction: " + e[0]), e.splice(0));
1399
+ ++n === Dn && (console.error(process.env.NODE_ENV !== "production" ? "Reaction doesn't converge to a stable state after " + Dn + " iterations." + (" Probably there is a cycle in the reactive function: " + e[0]) : "[mobx] cycle in reaction: " + e[0]), e.splice(0));
1400
1400
  for (var t = e.splice(0), r = 0, o = t.length; r < o; r++)
1401
1401
  t[r].runReaction_();
1402
1402
  }
1403
1403
  g.isRunningReactions = !1;
1404
1404
  }
1405
- var Et = /* @__PURE__ */ Pe("Reaction", he);
1405
+ var Et = /* @__PURE__ */ Me("Reaction", he);
1406
1406
  function ho(e) {
1407
1407
  var n = an;
1408
1408
  an = function(r) {
@@ -1411,7 +1411,7 @@ function ho(e) {
1411
1411
  });
1412
1412
  };
1413
1413
  }
1414
- function P() {
1414
+ function M() {
1415
1415
  return process.env.NODE_ENV !== "production" && !!g.spyListeners.length;
1416
1416
  }
1417
1417
  function Be(e) {
@@ -1453,7 +1453,7 @@ var mn = "action", go = "action.bound", Lr = "autoAction", yo = "autoAction.boun
1453
1453
  autoAction: !0,
1454
1454
  bound: !0
1455
1455
  });
1456
- function Pr(e) {
1456
+ function Mr(e) {
1457
1457
  var n = function(r, o) {
1458
1458
  if (L(r))
1459
1459
  return Ve(r.name || Ao, r, e);
@@ -1461,9 +1461,9 @@ function Pr(e) {
1461
1461
  return Ve(r, o, e);
1462
1462
  if (ot(o))
1463
1463
  return (e ? un : sn).decorate_20223_(r, o);
1464
- if (De(o))
1464
+ if (xe(o))
1465
1465
  return it(r, o, e ? un : sn);
1466
- if (De(r))
1466
+ if (xe(r))
1467
1467
  return fe(at(e ? Lr : mn, {
1468
1468
  name: r,
1469
1469
  autoAction: e
@@ -1472,9 +1472,9 @@ function Pr(e) {
1472
1472
  };
1473
1473
  return n;
1474
1474
  }
1475
- var B = /* @__PURE__ */ Pr(!1);
1475
+ var B = /* @__PURE__ */ Mr(!1);
1476
1476
  Object.assign(B, sn);
1477
- var et = /* @__PURE__ */ Pr(!0);
1477
+ var et = /* @__PURE__ */ Mr(!0);
1478
1478
  Object.assign(et, un);
1479
1479
  B.bound = /* @__PURE__ */ fe(Oo);
1480
1480
  et.bound = /* @__PURE__ */ fe(So);
@@ -1484,7 +1484,7 @@ function Le(e) {
1484
1484
  function wo(e, n) {
1485
1485
  var t, r, o, s;
1486
1486
  n === void 0 && (n = ar), process.env.NODE_ENV !== "production" && (L(e) || A("Autorun expects a function as first argument"), Le(e) && A("Autorun does not accept actions since actions are untrackable"));
1487
- var u = (t = (r = n) == null ? void 0 : r.name) != null ? t : process.env.NODE_ENV !== "production" ? e.name || "Autorun@" + re() : "Autorun", d = !n.scheduler && !n.delay, c;
1487
+ var u = (t = (r = n) == null ? void 0 : r.name) != null ? t : process.env.NODE_ENV !== "production" ? e.name || "Autorun@" + ie() : "Autorun", d = !n.scheduler && !n.delay, c;
1488
1488
  if (d)
1489
1489
  c = new he(u, function() {
1490
1490
  this.track(i);
@@ -1511,24 +1511,24 @@ function No(e) {
1511
1511
  } : Eo;
1512
1512
  }
1513
1513
  var Co = "onBO", To = "onBUO";
1514
- function Do(e, n, t) {
1515
- return kr(Co, e, n, t);
1514
+ function xo(e, n, t) {
1515
+ return Rr(Co, e, n, t);
1516
1516
  }
1517
- function Mr(e, n, t) {
1518
- return kr(To, e, n, t);
1517
+ function Pr(e, n, t) {
1518
+ return Rr(To, e, n, t);
1519
1519
  }
1520
- function kr(e, n, t, r) {
1521
- var o = Ue(n), s = L(r) ? r : t, u = e + "L";
1520
+ function Rr(e, n, t, r) {
1521
+ var o = Ge(n), s = L(r) ? r : t, u = e + "L";
1522
1522
  return o[u] ? o[u].add(s) : o[u] = /* @__PURE__ */ new Set([s]), function() {
1523
1523
  var d = o[u];
1524
1524
  d && (d.delete(s), d.size === 0 && delete o[u]);
1525
1525
  };
1526
1526
  }
1527
- var xo = "never", ft = "always", Vo = "observed";
1527
+ var Do = "never", ft = "always", Vo = "observed";
1528
1528
  function Bo(e) {
1529
1529
  e.isolateGlobalState === !0 && co();
1530
1530
  var n = e.useProxies, t = e.enforceActions;
1531
- if (n !== void 0 && (g.useProxies = n === ft ? !0 : n === xo ? !1 : typeof Proxy < "u"), n === "ifavailable" && (g.verifyProxies = !0), t !== void 0) {
1531
+ if (n !== void 0 && (g.useProxies = n === ft ? !0 : n === Do ? !1 : typeof Proxy < "u"), n === "ifavailable" && (g.verifyProxies = !0), t !== void 0) {
1532
1532
  var r = t === ft ? ft : t === Vo;
1533
1533
  g.enforceActions = r, g.allowStateChanges = !(r === !0 || r === ft);
1534
1534
  }
@@ -1536,12 +1536,12 @@ function Bo(e) {
1536
1536
  o in e && (g[o] = !!e[o]);
1537
1537
  }), g.allowStateReads = !g.observableRequiresReaction, process.env.NODE_ENV !== "production" && g.disableErrorBoundaries === !0 && console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."), e.reactionScheduler && ho(e.reactionScheduler);
1538
1538
  }
1539
- function Rr(e, n, t, r) {
1539
+ function kr(e, n, t, r) {
1540
1540
  process.env.NODE_ENV !== "production" && (arguments.length > 4 && A("'extendObservable' expected 2-4 arguments"), typeof e != "object" && A("'extendObservable' expects an object as first argument"), Oe(e) && A("'extendObservable' should not be used on maps, use map.merge instead"), F(n) || A("'extendObservable' only accepts plain objects as second argument"), (nt(n) || nt(t)) && A("Extending an object with another observable (object) is not supported"));
1541
1541
  var o = ci(n);
1542
1542
  return Se(function() {
1543
- var s = Re(e, r)[S];
1544
- He(o).forEach(function(u) {
1543
+ var s = ke(e, r)[S];
1544
+ $e(o).forEach(function(u) {
1545
1545
  s.extend_(
1546
1546
  u,
1547
1547
  o[u],
@@ -1552,7 +1552,7 @@ function Rr(e, n, t, r) {
1552
1552
  }), e;
1553
1553
  }
1554
1554
  function Ir(e, n) {
1555
- return jr(Ue(e, n));
1555
+ return jr(Ge(e, n));
1556
1556
  }
1557
1557
  function jr(e) {
1558
1558
  var n = {
@@ -1563,21 +1563,21 @@ function jr(e) {
1563
1563
  function Lo(e) {
1564
1564
  return Array.from(new Set(e));
1565
1565
  }
1566
- var Po = 0;
1566
+ var Mo = 0;
1567
1567
  function Fr() {
1568
1568
  this.message = "FLOW_CANCELLED";
1569
1569
  }
1570
1570
  Fr.prototype = /* @__PURE__ */ Object.create(Error.prototype);
1571
- var jt = /* @__PURE__ */ vr("flow"), Mo = /* @__PURE__ */ vr("flow.bound", {
1571
+ var jt = /* @__PURE__ */ vr("flow"), Po = /* @__PURE__ */ vr("flow.bound", {
1572
1572
  bound: !0
1573
- }), $e = /* @__PURE__ */ Object.assign(function(n, t) {
1573
+ }), Ue = /* @__PURE__ */ Object.assign(function(n, t) {
1574
1574
  if (ot(t))
1575
1575
  return jt.decorate_20223_(n, t);
1576
- if (De(t))
1576
+ if (xe(t))
1577
1577
  return it(n, t, jt);
1578
1578
  process.env.NODE_ENV !== "production" && arguments.length !== 1 && A("Flow expects single argument with generator function");
1579
1579
  var r = n, o = r.name || "<unnamed flow>", s = function() {
1580
- var d = this, c = arguments, p = ++Po, m = B(o + " - runid: " + p + " - init", r).apply(d, c), i, a = void 0, l = new Promise(function(f, v) {
1580
+ var d = this, c = arguments, p = ++Mo, m = B(o + " - runid: " + p + " - init", r).apply(d, c), i, a = void 0, l = new Promise(function(f, v) {
1581
1581
  var h = 0;
1582
1582
  i = v;
1583
1583
  function _(O) {
@@ -1613,7 +1613,7 @@ var jt = /* @__PURE__ */ vr("flow"), Mo = /* @__PURE__ */ vr("flow.bound", {
1613
1613
  try {
1614
1614
  a && Vn(a);
1615
1615
  var f = m.return(void 0), v = Promise.resolve(f.value);
1616
- v.then(je, je), Vn(v), i(new Fr());
1616
+ v.then(Fe, Fe), Vn(v), i(new Fr());
1617
1617
  } catch (h) {
1618
1618
  i(h);
1619
1619
  }
@@ -1621,20 +1621,20 @@ var jt = /* @__PURE__ */ vr("flow"), Mo = /* @__PURE__ */ vr("flow.bound", {
1621
1621
  };
1622
1622
  return s.isMobXFlow = !0, s;
1623
1623
  }, jt);
1624
- $e.bound = /* @__PURE__ */ fe(Mo);
1624
+ Ue.bound = /* @__PURE__ */ fe(Po);
1625
1625
  function Vn(e) {
1626
1626
  L(e.cancel) && e.cancel();
1627
1627
  }
1628
1628
  function tt(e) {
1629
1629
  return e?.isMobXFlow === !0;
1630
1630
  }
1631
- function ko(e, n) {
1632
- return e ? qe(e) || !!e[S] || _n(e) || Et(e) || kt(e) : !1;
1631
+ function Ro(e, n) {
1632
+ return e ? We(e) || !!e[S] || _n(e) || Et(e) || Rt(e) : !1;
1633
1633
  }
1634
1634
  function nt(e) {
1635
- return process.env.NODE_ENV !== "production" && arguments.length !== 1 && A("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"), ko(e);
1635
+ return process.env.NODE_ENV !== "production" && arguments.length !== 1 && A("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"), Ro(e);
1636
1636
  }
1637
- function Ro() {
1637
+ function ko() {
1638
1638
  if (process.env.NODE_ENV !== "production") {
1639
1639
  for (var e = !1, n = arguments.length, t = new Array(n), r = 0; r < n; r++)
1640
1640
  t[r] = arguments[r];
@@ -1650,9 +1650,9 @@ function Io(e) {
1650
1650
  case 0:
1651
1651
  return g.trackingDerivation;
1652
1652
  case 1:
1653
- return Ue(e[0]);
1653
+ return Ge(e[0]);
1654
1654
  case 2:
1655
- return Ue(e[0], e[1]);
1655
+ return Ge(e[0], e[1]);
1656
1656
  }
1657
1657
  }
1658
1658
  function _e(e, n) {
@@ -1668,25 +1668,25 @@ function we(e) {
1668
1668
  }
1669
1669
  var jo = {
1670
1670
  has: function(n, t) {
1671
- return process.env.NODE_ENV !== "production" && g.trackingDerivation && We("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."), we(n).has_(t);
1671
+ return process.env.NODE_ENV !== "production" && g.trackingDerivation && Xe("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."), we(n).has_(t);
1672
1672
  },
1673
1673
  get: function(n, t) {
1674
1674
  return we(n).get_(t);
1675
1675
  },
1676
1676
  set: function(n, t, r) {
1677
1677
  var o;
1678
- return De(t) ? (process.env.NODE_ENV !== "production" && !we(n).values_.has(t) && We("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."), (o = we(n).set_(t, r, !0)) != null ? o : !0) : !1;
1678
+ return xe(t) ? (process.env.NODE_ENV !== "production" && !we(n).values_.has(t) && Xe("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."), (o = we(n).set_(t, r, !0)) != null ? o : !0) : !1;
1679
1679
  },
1680
1680
  deleteProperty: function(n, t) {
1681
1681
  var r;
1682
- return process.env.NODE_ENV !== "production" && We("delete properties from an observable object. Use 'remove' from 'mobx' instead."), De(t) ? (r = we(n).delete_(t, !0)) != null ? r : !0 : !1;
1682
+ return process.env.NODE_ENV !== "production" && Xe("delete properties from an observable object. Use 'remove' from 'mobx' instead."), xe(t) ? (r = we(n).delete_(t, !0)) != null ? r : !0 : !1;
1683
1683
  },
1684
1684
  defineProperty: function(n, t, r) {
1685
1685
  var o;
1686
- return process.env.NODE_ENV !== "production" && We("define property on an observable object. Use 'defineProperty' from 'mobx' instead."), (o = we(n).defineProperty_(t, r)) != null ? o : !0;
1686
+ return process.env.NODE_ENV !== "production" && Xe("define property on an observable object. Use 'defineProperty' from 'mobx' instead."), (o = we(n).defineProperty_(t, r)) != null ? o : !0;
1687
1687
  },
1688
1688
  ownKeys: function(n) {
1689
- return process.env.NODE_ENV !== "production" && g.trackingDerivation && We("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."), we(n).ownKeys_();
1689
+ return process.env.NODE_ENV !== "production" && g.trackingDerivation && Xe("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."), we(n).ownKeys_();
1690
1690
  },
1691
1691
  preventExtensions: function(n) {
1692
1692
  A(13);
@@ -1694,7 +1694,7 @@ var jo = {
1694
1694
  };
1695
1695
  function Fo(e, n) {
1696
1696
  var t, r;
1697
- return sr(), e = Re(e, n), (r = (t = e[S]).proxy_) != null ? r : t.proxy_ = new Proxy(e, jo);
1697
+ return sr(), e = ke(e, n), (r = (t = e[S]).proxy_) != null ? r : t.proxy_ = new Proxy(e, jo);
1698
1698
  }
1699
1699
  function q(e) {
1700
1700
  return e.interceptors_ !== void 0 && e.interceptors_.length > 0;
@@ -1707,7 +1707,7 @@ function st(e, n) {
1707
1707
  });
1708
1708
  }
1709
1709
  function W(e, n) {
1710
- var t = Me();
1710
+ var t = Pe();
1711
1711
  try {
1712
1712
  for (var r = [].concat(e.interceptors_ || []), o = 0, s = r.length; o < s && (n = r[o](n), n && !n.type && A(14), !!n); o++)
1713
1713
  ;
@@ -1716,7 +1716,7 @@ function W(e, n) {
1716
1716
  pe(t);
1717
1717
  }
1718
1718
  }
1719
- function te(e) {
1719
+ function ne(e) {
1720
1720
  return e.changeListeners_ !== void 0 && e.changeListeners_.length > 0;
1721
1721
  }
1722
1722
  function ut(e, n) {
@@ -1726,8 +1726,8 @@ function ut(e, n) {
1726
1726
  r !== -1 && t.splice(r, 1);
1727
1727
  });
1728
1728
  }
1729
- function ne(e, n) {
1730
- var t = Me(), r = e.changeListeners_;
1729
+ function re(e, n) {
1730
+ var t = Pe(), r = e.changeListeners_;
1731
1731
  if (r) {
1732
1732
  r = r.slice();
1733
1733
  for (var o = 0, s = r.length; o < s; o++)
@@ -1737,18 +1737,18 @@ function ne(e, n) {
1737
1737
  }
1738
1738
  function gn(e, n, t) {
1739
1739
  return Se(function() {
1740
- var r, o = Re(e, t)[S];
1741
- process.env.NODE_ENV !== "production" && n && e[k] && A("makeObservable second arg must be nullish when using decorators. Mixing @decorator syntax with annotations is not supported."), (r = n) != null || (n = hi(e)), He(n).forEach(function(s) {
1740
+ var r, o = ke(e, t)[S];
1741
+ process.env.NODE_ENV !== "production" && n && e[R] && A("makeObservable second arg must be nullish when using decorators. Mixing @decorator syntax with annotations is not supported."), (r = n) != null || (n = hi(e)), $e(n).forEach(function(s) {
1742
1742
  return o.make_(s, n[s]);
1743
1743
  });
1744
1744
  }), e;
1745
1745
  }
1746
1746
  var Ft = /* @__PURE__ */ Symbol("mobx-keys");
1747
- function ke(e, n, t) {
1748
- return process.env.NODE_ENV !== "production" && (!F(e) && !F(Object.getPrototypeOf(e)) && A("'makeAutoObservable' can only be used for classes that don't have a superclass"), qe(e) && A("makeAutoObservable can only be used on objects not already made observable")), F(e) ? Rr(e, e, n, t) : (Se(function() {
1749
- var r = Re(e, t)[S];
1747
+ function Re(e, n, t) {
1748
+ return process.env.NODE_ENV !== "production" && (!F(e) && !F(Object.getPrototypeOf(e)) && A("'makeAutoObservable' can only be used for classes that don't have a superclass"), We(e) && A("makeAutoObservable can only be used on objects not already made observable")), F(e) ? kr(e, e, n, t) : (Se(function() {
1749
+ var r = ke(e, t)[S];
1750
1750
  if (!e[Ft]) {
1751
- var o = Object.getPrototypeOf(e), s = new Set([].concat(He(e), He(o)));
1751
+ var o = Object.getPrototypeOf(e), s = new Set([].concat($e(e), $e(o)));
1752
1752
  s.delete("constructor"), s.delete(S), rt(o, Ft, s);
1753
1753
  }
1754
1754
  e[Ft].forEach(function(u) {
@@ -1760,7 +1760,7 @@ function ke(e, n, t) {
1760
1760
  });
1761
1761
  }), e);
1762
1762
  }
1763
- var Bn = "splice", ee = "update", Ho = 1e4, $o = {
1763
+ var Bn = "splice", te = "update", Ho = 1e4, $o = {
1764
1764
  get: function(n, t) {
1765
1765
  var r = n[S];
1766
1766
  return t === S ? r : t === "length" ? r.getArrayLength_() : typeof t == "string" && !isNaN(t) ? r.get_(parseInt(t)) : z(Nt, t) ? Nt[t] : n[t];
@@ -1774,7 +1774,7 @@ var Bn = "splice", ee = "update", Ho = 1e4, $o = {
1774
1774
  }
1775
1775
  }, yn = /* @__PURE__ */ (function() {
1776
1776
  function e(t, r, o, s) {
1777
- t === void 0 && (t = process.env.NODE_ENV !== "production" ? "ObservableArray@" + re() : "ObservableArray"), this.owned_ = void 0, this.legacyMode_ = void 0, this.atom_ = void 0, this.values_ = [], this.interceptors_ = void 0, this.changeListeners_ = void 0, this.enhancer_ = void 0, this.dehancer = void 0, this.proxy_ = void 0, this.lastKnownLength_ = 0, this.owned_ = o, this.legacyMode_ = s, this.atom_ = new Ae(t), this.enhancer_ = function(u, d) {
1777
+ t === void 0 && (t = process.env.NODE_ENV !== "production" ? "ObservableArray@" + ie() : "ObservableArray"), this.owned_ = void 0, this.legacyMode_ = void 0, this.atom_ = void 0, this.values_ = [], this.interceptors_ = void 0, this.changeListeners_ = void 0, this.enhancer_ = void 0, this.dehancer = void 0, this.proxy_ = void 0, this.lastKnownLength_ = 0, this.owned_ = o, this.legacyMode_ = s, this.atom_ = new Ae(t), this.enhancer_ = function(u, d) {
1778
1778
  return r(u, d, process.env.NODE_ENV !== "production" ? t + "[..]" : "ObservableArray[..]");
1779
1779
  };
1780
1780
  }
@@ -1849,18 +1849,18 @@ var Bn = "splice", ee = "update", Ho = 1e4, $o = {
1849
1849
  return d;
1850
1850
  }
1851
1851
  }, n.notifyArrayChildUpdate_ = function(r, o, s) {
1852
- var u = !this.owned_ && P(), d = te(this), c = d || u ? {
1852
+ var u = !this.owned_ && M(), d = ne(this), c = d || u ? {
1853
1853
  observableKind: "array",
1854
1854
  object: this.proxy_,
1855
- type: ee,
1855
+ type: te,
1856
1856
  debugObjectName: this.atom_.name_,
1857
1857
  index: r,
1858
1858
  newValue: o,
1859
1859
  oldValue: s
1860
1860
  } : null;
1861
- process.env.NODE_ENV !== "production" && u && H(c), this.atom_.reportChanged(), d && ne(this, c), process.env.NODE_ENV !== "production" && u && $();
1861
+ process.env.NODE_ENV !== "production" && u && H(c), this.atom_.reportChanged(), d && re(this, c), process.env.NODE_ENV !== "production" && u && $();
1862
1862
  }, n.notifyArraySplice_ = function(r, o, s) {
1863
- var u = !this.owned_ && P(), d = te(this), c = d || u ? {
1863
+ var u = !this.owned_ && M(), d = ne(this), c = d || u ? {
1864
1864
  observableKind: "array",
1865
1865
  object: this.proxy_,
1866
1866
  debugObjectName: this.atom_.name_,
@@ -1871,7 +1871,7 @@ var Bn = "splice", ee = "update", Ho = 1e4, $o = {
1871
1871
  removedCount: s.length,
1872
1872
  addedCount: o.length
1873
1873
  } : null;
1874
- process.env.NODE_ENV !== "production" && u && H(c), this.atom_.reportChanged(), d && ne(this, c), process.env.NODE_ENV !== "production" && u && $();
1874
+ process.env.NODE_ENV !== "production" && u && H(c), this.atom_.reportChanged(), d && re(this, c), process.env.NODE_ENV !== "production" && u && $();
1875
1875
  }, n.get_ = function(r) {
1876
1876
  if (this.legacyMode_ && r >= this.values_.length) {
1877
1877
  console.warn(process.env.NODE_ENV !== "production" ? "[mobx.array] Attempt to read an array index (" + r + ") that is out of bounds (" + this.values_.length + "). Please check length first. Out of bound indices will not be tracked by MobX" : "[mobx] Out of bounds read: " + r);
@@ -1885,7 +1885,7 @@ var Bn = "splice", ee = "update", Ho = 1e4, $o = {
1885
1885
  var u = s[r];
1886
1886
  if (q(this)) {
1887
1887
  var d = W(this, {
1888
- type: ee,
1888
+ type: te,
1889
1889
  object: this.proxy_,
1890
1890
  // since "this" is the real array we need to pass its proxy
1891
1891
  index: r,
@@ -1906,7 +1906,7 @@ var Bn = "splice", ee = "update", Ho = 1e4, $o = {
1906
1906
  }, e;
1907
1907
  })();
1908
1908
  function Uo(e, n, t, r) {
1909
- return t === void 0 && (t = process.env.NODE_ENV !== "production" ? "ObservableArray@" + re() : "ObservableArray"), r === void 0 && (r = !1), sr(), Se(function() {
1909
+ return t === void 0 && (t = process.env.NODE_ENV !== "production" ? "ObservableArray@" + ie() : "ObservableArray"), r === void 0 && (r = !1), sr(), Se(function() {
1910
1910
  var o = new yn(t, n, r, !1);
1911
1911
  lr(o.values_, S, o);
1912
1912
  var s = new Proxy(o.values_, $o);
@@ -1977,33 +1977,33 @@ var Nt = {
1977
1977
  return r > -1 ? (this.splice(r, 1), !0) : !1;
1978
1978
  }
1979
1979
  };
1980
- D("at", U);
1981
- D("concat", U);
1982
- D("flat", U);
1983
- D("includes", U);
1984
- D("indexOf", U);
1985
- D("join", U);
1986
- D("lastIndexOf", U);
1987
- D("slice", U);
1988
- D("toString", U);
1989
- D("toLocaleString", U);
1990
- D("toSorted", U);
1991
- D("toSpliced", U);
1992
- D("with", U);
1993
- D("every", ie);
1994
- D("filter", ie);
1995
- D("find", ie);
1996
- D("findIndex", ie);
1997
- D("findLast", ie);
1998
- D("findLastIndex", ie);
1999
- D("flatMap", ie);
2000
- D("forEach", ie);
2001
- D("map", ie);
2002
- D("some", ie);
2003
- D("toReversed", ie);
2004
- D("reduce", Hr);
2005
- D("reduceRight", Hr);
2006
- function D(e, n) {
1980
+ x("at", U);
1981
+ x("concat", U);
1982
+ x("flat", U);
1983
+ x("includes", U);
1984
+ x("indexOf", U);
1985
+ x("join", U);
1986
+ x("lastIndexOf", U);
1987
+ x("slice", U);
1988
+ x("toString", U);
1989
+ x("toLocaleString", U);
1990
+ x("toSorted", U);
1991
+ x("toSpliced", U);
1992
+ x("with", U);
1993
+ x("every", oe);
1994
+ x("filter", oe);
1995
+ x("find", oe);
1996
+ x("findIndex", oe);
1997
+ x("findLast", oe);
1998
+ x("findLastIndex", oe);
1999
+ x("flatMap", oe);
2000
+ x("forEach", oe);
2001
+ x("map", oe);
2002
+ x("some", oe);
2003
+ x("toReversed", oe);
2004
+ x("reduce", Hr);
2005
+ x("reduceRight", Hr);
2006
+ function x(e, n) {
2007
2007
  typeof Array.prototype[e] == "function" && (Nt[e] = n(e));
2008
2008
  }
2009
2009
  function U(e) {
@@ -2014,7 +2014,7 @@ function U(e) {
2014
2014
  return t[e].apply(t, arguments);
2015
2015
  };
2016
2016
  }
2017
- function ie(e) {
2017
+ function oe(e) {
2018
2018
  return function(n, t) {
2019
2019
  var r = this, o = this[S];
2020
2020
  o.atom_.reportObserved();
@@ -2034,14 +2034,14 @@ function Hr(e) {
2034
2034
  }, r[e].apply(r, arguments);
2035
2035
  };
2036
2036
  }
2037
- var Go = /* @__PURE__ */ Pe("ObservableArrayAdministration", yn);
2038
- function Rt(e) {
2037
+ var Go = /* @__PURE__ */ Me("ObservableArrayAdministration", yn);
2038
+ function kt(e) {
2039
2039
  return Bt(e) && Go(e[S]);
2040
2040
  }
2041
2041
  var Ko = {}, me = "add", Ct = "delete", $r = /* @__PURE__ */ (function() {
2042
2042
  function e(t, r, o) {
2043
2043
  var s = this;
2044
- r === void 0 && (r = xe), o === void 0 && (o = process.env.NODE_ENV !== "production" ? "ObservableMap@" + re() : "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[S] = Ko, 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_ = r, this.name_ = o, L(Map) || A(18), Se(function() {
2044
+ r === void 0 && (r = De), o === void 0 && (o = process.env.NODE_ENV !== "production" ? "ObservableMap@" + ie() : "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[S] = Ko, 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_ = r, this.name_ = o, L(Map) || A(18), Se(function() {
2045
2045
  s.keysAtom_ = _r(process.env.NODE_ENV !== "production" ? s.name_ + ".keys()" : "ObservableMap.keys()"), s.data_ = /* @__PURE__ */ new Map(), s.hasMap_ = /* @__PURE__ */ new Map(), t && s.merge(t);
2046
2046
  });
2047
2047
  }
@@ -2054,8 +2054,8 @@ var Ko = {}, me = "add", Ct = "delete", $r = /* @__PURE__ */ (function() {
2054
2054
  return this.has_(r);
2055
2055
  var s = this.hasMap_.get(r);
2056
2056
  if (!s) {
2057
- var u = s = new Te(this.has_(r), Pt, process.env.NODE_ENV !== "production" ? this.name_ + "." + Qt(r) + "?" : "ObservableMap.key?", !1);
2058
- this.hasMap_.set(r, u), Mr(u, function() {
2057
+ var u = s = new Te(this.has_(r), Mt, process.env.NODE_ENV !== "production" ? this.name_ + "." + Qt(r) + "?" : "ObservableMap.key?", !1);
2058
+ this.hasMap_.set(r, u), Pr(u, function() {
2059
2059
  return o.hasMap_.delete(r);
2060
2060
  });
2061
2061
  }
@@ -2064,7 +2064,7 @@ var Ko = {}, me = "add", Ct = "delete", $r = /* @__PURE__ */ (function() {
2064
2064
  var s = this.has_(r);
2065
2065
  if (q(this)) {
2066
2066
  var u = W(this, {
2067
- type: s ? ee : me,
2067
+ type: s ? te : me,
2068
2068
  object: this,
2069
2069
  newValue: o,
2070
2070
  name: r
@@ -2086,7 +2086,7 @@ var Ko = {}, me = "add", Ct = "delete", $r = /* @__PURE__ */ (function() {
2086
2086
  return !1;
2087
2087
  }
2088
2088
  if (this.has_(r)) {
2089
- var u = P(), d = te(this), c = d || u ? {
2089
+ var u = M(), d = ne(this), c = d || u ? {
2090
2090
  observableKind: "map",
2091
2091
  debugObjectName: this.name_,
2092
2092
  type: Ct,
@@ -2099,22 +2099,22 @@ var Ko = {}, me = "add", Ct = "delete", $r = /* @__PURE__ */ (function() {
2099
2099
  o.keysAtom_.reportChanged(), (p = o.hasMap_.get(r)) == null || p.setNewValue_(!1);
2100
2100
  var m = o.data_.get(r);
2101
2101
  m.setNewValue_(void 0), o.data_.delete(r);
2102
- }), d && ne(this, c), process.env.NODE_ENV !== "production" && u && $(), !0;
2102
+ }), d && re(this, c), process.env.NODE_ENV !== "production" && u && $(), !0;
2103
2103
  }
2104
2104
  return !1;
2105
2105
  }, n.updateValue_ = function(r, o) {
2106
2106
  var s = this.data_.get(r);
2107
2107
  if (o = s.prepareNewValue_(o), o !== g.UNCHANGED) {
2108
- var u = P(), d = te(this), c = d || u ? {
2108
+ var u = M(), d = ne(this), c = d || u ? {
2109
2109
  observableKind: "map",
2110
2110
  debugObjectName: this.name_,
2111
- type: ee,
2111
+ type: te,
2112
2112
  object: this,
2113
2113
  oldValue: s.value_,
2114
2114
  name: r,
2115
2115
  newValue: o
2116
2116
  } : null;
2117
- process.env.NODE_ENV !== "production" && u && H(c), s.setNewValue_(o), d && ne(this, c), process.env.NODE_ENV !== "production" && u && $();
2117
+ process.env.NODE_ENV !== "production" && u && H(c), s.setNewValue_(o), d && re(this, c), process.env.NODE_ENV !== "production" && u && $();
2118
2118
  }
2119
2119
  }, n.addValue_ = function(r, o) {
2120
2120
  var s = this;
@@ -2122,7 +2122,7 @@ var Ko = {}, me = "add", Ct = "delete", $r = /* @__PURE__ */ (function() {
2122
2122
  var p, m = new Te(o, s.enhancer_, process.env.NODE_ENV !== "production" ? s.name_ + "." + Qt(r) : "ObservableMap.key", !1);
2123
2123
  s.data_.set(r, m), o = m.value_, (p = s.hasMap_.get(r)) == null || p.setNewValue_(!0), s.keysAtom_.reportChanged();
2124
2124
  });
2125
- var u = P(), d = te(this), c = d || u ? {
2125
+ var u = M(), d = ne(this), c = d || u ? {
2126
2126
  observableKind: "map",
2127
2127
  debugObjectName: this.name_,
2128
2128
  type: me,
@@ -2130,7 +2130,7 @@ var Ko = {}, me = "add", Ct = "delete", $r = /* @__PURE__ */ (function() {
2130
2130
  name: r,
2131
2131
  newValue: o
2132
2132
  } : null;
2133
- process.env.NODE_ENV !== "production" && u && H(c), d && ne(this, c), process.env.NODE_ENV !== "production" && u && $();
2133
+ process.env.NODE_ENV !== "production" && u && H(c), d && re(this, c), process.env.NODE_ENV !== "production" && u && $();
2134
2134
  }, n.get = function(r) {
2135
2135
  return this.has(r) ? this.dehanceValue_(this.data_.get(r).get()) : this.dehanceValue_(void 0);
2136
2136
  }, n.dehanceValue_ = function(r) {
@@ -2162,7 +2162,7 @@ var Ko = {}, me = "add", Ct = "delete", $r = /* @__PURE__ */ (function() {
2162
2162
  }, n[Symbol.iterator] = function() {
2163
2163
  return this.entries();
2164
2164
  }, n.forEach = function(r, o) {
2165
- for (var s = Fe(this), u; !(u = s()).done; ) {
2165
+ for (var s = He(this), u; !(u = s()).done; ) {
2166
2166
  var d = u.value, c = d[0], p = d[1];
2167
2167
  r.call(o, p, c, this);
2168
2168
  }
@@ -2174,7 +2174,7 @@ var Ko = {}, me = "add", Ct = "delete", $r = /* @__PURE__ */ (function() {
2174
2174
  }) : Array.isArray(r) ? r.forEach(function(s) {
2175
2175
  var u = s[0], d = s[1];
2176
2176
  return o.set(u, d);
2177
- }) : Ge(r) ? (ui(r) || A(19, r), r.forEach(function(s, u) {
2177
+ }) : Ke(r) ? (ui(r) || A(19, r), r.forEach(function(s, u) {
2178
2178
  return o.set(u, s);
2179
2179
  })) : r != null && A(20, r);
2180
2180
  }), this;
@@ -2182,7 +2182,7 @@ var Ko = {}, me = "add", Ct = "delete", $r = /* @__PURE__ */ (function() {
2182
2182
  var r = this;
2183
2183
  _e(function() {
2184
2184
  Sr(function() {
2185
- for (var o = Fe(r.keys()), s; !(s = o()).done; ) {
2185
+ for (var o = He(r.keys()), s; !(s = o()).done; ) {
2186
2186
  var u = s.value;
2187
2187
  r.delete(u);
2188
2188
  }
@@ -2191,7 +2191,7 @@ var Ko = {}, me = "add", Ct = "delete", $r = /* @__PURE__ */ (function() {
2191
2191
  }, n.replace = function(r) {
2192
2192
  var o = this;
2193
2193
  return _e(function() {
2194
- for (var s = qo(r), u = /* @__PURE__ */ new Map(), d = !1, c = Fe(o.data_.keys()), p; !(p = c()).done; ) {
2194
+ for (var s = qo(r), u = /* @__PURE__ */ new Map(), d = !1, c = He(o.data_.keys()), p; !(p = c()).done; ) {
2195
2195
  var m = p.value;
2196
2196
  if (!s.has(m)) {
2197
2197
  var i = o.delete(m);
@@ -2203,7 +2203,7 @@ var Ko = {}, me = "add", Ct = "delete", $r = /* @__PURE__ */ (function() {
2203
2203
  }
2204
2204
  }
2205
2205
  }
2206
- for (var l = Fe(s.entries()), f; !(f = l()).done; ) {
2206
+ for (var l = He(s.entries()), f; !(f = l()).done; ) {
2207
2207
  var v = f.value, h = v[0], _ = v[1], y = o.data_.has(h);
2208
2208
  if (o.set(h, _), o.data_.has(h)) {
2209
2209
  var E = o.data_.get(h);
@@ -2214,12 +2214,12 @@ var Ko = {}, me = "add", Ct = "delete", $r = /* @__PURE__ */ (function() {
2214
2214
  if (o.data_.size !== u.size)
2215
2215
  o.keysAtom_.reportChanged();
2216
2216
  else
2217
- for (var O = o.data_.keys(), T = u.keys(), V = O.next(), oe = T.next(); !V.done; ) {
2218
- if (V.value !== oe.value) {
2217
+ for (var O = o.data_.keys(), T = u.keys(), V = O.next(), ae = T.next(); !V.done; ) {
2218
+ if (V.value !== ae.value) {
2219
2219
  o.keysAtom_.reportChanged();
2220
2220
  break;
2221
2221
  }
2222
- V = O.next(), oe = T.next();
2222
+ V = O.next(), ae = T.next();
2223
2223
  }
2224
2224
  o.data_ = u;
2225
2225
  }), this;
@@ -2231,7 +2231,7 @@ var Ko = {}, me = "add", Ct = "delete", $r = /* @__PURE__ */ (function() {
2231
2231
  return process.env.NODE_ENV !== "production" && o === !0 && A("`observe` doesn't support fireImmediately=true in combination with maps."), ut(this, r);
2232
2232
  }, n.intercept_ = function(r) {
2233
2233
  return st(this, r);
2234
- }, Ke(e, [{
2234
+ }, qe(e, [{
2235
2235
  key: "size",
2236
2236
  get: function() {
2237
2237
  return this.keysAtom_.reportObserved(), this.data_.size;
@@ -2242,12 +2242,12 @@ var Ko = {}, me = "add", Ct = "delete", $r = /* @__PURE__ */ (function() {
2242
2242
  return "Map";
2243
2243
  }
2244
2244
  }]);
2245
- })(), Oe = /* @__PURE__ */ Pe("ObservableMap", $r);
2245
+ })(), Oe = /* @__PURE__ */ Me("ObservableMap", $r);
2246
2246
  function Ln(e) {
2247
2247
  return e[Symbol.toStringTag] = "MapIterator", On(e);
2248
2248
  }
2249
2249
  function qo(e) {
2250
- if (Ge(e) || Oe(e))
2250
+ if (Ke(e) || Oe(e))
2251
2251
  return e;
2252
2252
  if (Array.isArray(e))
2253
2253
  return new Map(e);
@@ -2262,7 +2262,7 @@ function qo(e) {
2262
2262
  var Wo = {}, Ur = /* @__PURE__ */ (function() {
2263
2263
  function e(t, r, o) {
2264
2264
  var s = this;
2265
- r === void 0 && (r = xe), o === void 0 && (o = process.env.NODE_ENV !== "production" ? "ObservableSet@" + re() : "ObservableSet"), this.name_ = void 0, this[S] = Wo, 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_ = o, L(Set) || A(22), this.enhancer_ = function(u, d) {
2265
+ r === void 0 && (r = De), o === void 0 && (o = process.env.NODE_ENV !== "production" ? "ObservableSet@" + ie() : "ObservableSet"), this.name_ = void 0, this[S] = Wo, 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_ = o, L(Set) || A(22), this.enhancer_ = function(u, d) {
2266
2266
  return r(u, d, o);
2267
2267
  }, Se(function() {
2268
2268
  s.atom_ = _r(s.name_), t && s.replace(t);
@@ -2275,14 +2275,14 @@ var Wo = {}, Ur = /* @__PURE__ */ (function() {
2275
2275
  var r = this;
2276
2276
  _e(function() {
2277
2277
  Sr(function() {
2278
- for (var o = Fe(r.data_.values()), s; !(s = o()).done; ) {
2278
+ for (var o = He(r.data_.values()), s; !(s = o()).done; ) {
2279
2279
  var u = s.value;
2280
2280
  r.delete(u);
2281
2281
  }
2282
2282
  });
2283
2283
  });
2284
2284
  }, n.forEach = function(r, o) {
2285
- for (var s = Fe(this), u; !(u = s()).done; ) {
2285
+ for (var s = He(this), u; !(u = s()).done; ) {
2286
2286
  var d = u.value;
2287
2287
  r.call(o, d, d, this);
2288
2288
  }
@@ -2302,14 +2302,14 @@ var Wo = {}, Ur = /* @__PURE__ */ (function() {
2302
2302
  _e(function() {
2303
2303
  o.data_.add(o.enhancer_(r, void 0)), o.atom_.reportChanged();
2304
2304
  });
2305
- var u = process.env.NODE_ENV !== "production" && P(), d = te(this), c = d || u ? {
2305
+ var u = process.env.NODE_ENV !== "production" && M(), d = ne(this), c = d || u ? {
2306
2306
  observableKind: "set",
2307
2307
  debugObjectName: this.name_,
2308
2308
  type: me,
2309
2309
  object: this,
2310
2310
  newValue: r
2311
2311
  } : null;
2312
- u && process.env.NODE_ENV !== "production" && H(c), d && ne(this, c), u && process.env.NODE_ENV !== "production" && $();
2312
+ u && process.env.NODE_ENV !== "production" && H(c), d && re(this, c), u && process.env.NODE_ENV !== "production" && $();
2313
2313
  }
2314
2314
  return this;
2315
2315
  }, n.delete = function(r) {
@@ -2324,7 +2324,7 @@ var Wo = {}, Ur = /* @__PURE__ */ (function() {
2324
2324
  return !1;
2325
2325
  }
2326
2326
  if (this.has(r)) {
2327
- var u = process.env.NODE_ENV !== "production" && P(), d = te(this), c = d || u ? {
2327
+ var u = process.env.NODE_ENV !== "production" && M(), d = ne(this), c = d || u ? {
2328
2328
  observableKind: "set",
2329
2329
  debugObjectName: this.name_,
2330
2330
  type: Ct,
@@ -2333,14 +2333,14 @@ var Wo = {}, Ur = /* @__PURE__ */ (function() {
2333
2333
  } : null;
2334
2334
  return u && process.env.NODE_ENV !== "production" && H(c), _e(function() {
2335
2335
  o.atom_.reportChanged(), o.data_.delete(r);
2336
- }), d && ne(this, c), u && process.env.NODE_ENV !== "production" && $(), !0;
2336
+ }), d && re(this, c), u && process.env.NODE_ENV !== "production" && $(), !0;
2337
2337
  }
2338
2338
  return !1;
2339
2339
  }, n.has = function(r) {
2340
2340
  return this.atom_.reportObserved(), this.data_.has(this.dehanceValue_(r));
2341
2341
  }, n.entries = function() {
2342
2342
  var r = this.values();
2343
- return Pn({
2343
+ return Mn({
2344
2344
  next: function() {
2345
2345
  var s = r.next(), u = s.value, d = s.done;
2346
2346
  return d ? {
@@ -2357,7 +2357,7 @@ var Wo = {}, Ur = /* @__PURE__ */ (function() {
2357
2357
  }, n.values = function() {
2358
2358
  this.atom_.reportObserved();
2359
2359
  var r = this, o = this.data_.values();
2360
- return Pn({
2360
+ return Mn({
2361
2361
  next: function() {
2362
2362
  var u = o.next(), d = u.value, c = u.done;
2363
2363
  return c ? {
@@ -2414,7 +2414,7 @@ var Wo = {}, Ur = /* @__PURE__ */ (function() {
2414
2414
  return "[object ObservableSet]";
2415
2415
  }, n[Symbol.iterator] = function() {
2416
2416
  return this.values();
2417
- }, Ke(e, [{
2417
+ }, qe(e, [{
2418
2418
  key: "size",
2419
2419
  get: function() {
2420
2420
  return this.atom_.reportObserved(), this.data_.size;
@@ -2425,11 +2425,11 @@ var Wo = {}, Ur = /* @__PURE__ */ (function() {
2425
2425
  return "Set";
2426
2426
  }
2427
2427
  }]);
2428
- })(), ue = /* @__PURE__ */ Pe("ObservableSet", Ur);
2429
- function Pn(e) {
2428
+ })(), ue = /* @__PURE__ */ Me("ObservableSet", Ur);
2429
+ function Mn(e) {
2430
2430
  return e[Symbol.toStringTag] = "SetIterator", On(e);
2431
2431
  }
2432
- var Mn = /* @__PURE__ */ Object.create(null), kn = "remove", ln = /* @__PURE__ */ (function() {
2432
+ var Pn = /* @__PURE__ */ Object.create(null), Rn = "remove", ln = /* @__PURE__ */ (function() {
2433
2433
  function e(t, r, o, s) {
2434
2434
  r === void 0 && (r = /* @__PURE__ */ new Map()), s === void 0 && (s = ji), 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_ = t, this.values_ = r, this.name_ = o, this.defaultAnnotation_ = s, this.keysAtom_ = new Ae(process.env.NODE_ENV !== "production" ? this.name_ + ".keys" : "ObservableObject.keys"), this.isPlainObject_ = F(this.target_), process.env.NODE_ENV !== "production" && !Zr(this.defaultAnnotation_) && A("defaultAnnotation must be valid annotation"), process.env.NODE_ENV !== "production" && (this.appliedAnnotations_ = {});
2435
2435
  }
@@ -2442,7 +2442,7 @@ var Mn = /* @__PURE__ */ Object.create(null), kn = "remove", ln = /* @__PURE__ *
2442
2442
  return s.set(o), !0;
2443
2443
  if (q(this)) {
2444
2444
  var u = W(this, {
2445
- type: ee,
2445
+ type: te,
2446
2446
  object: this.proxy_ || this.target_,
2447
2447
  name: r,
2448
2448
  newValue: o
@@ -2452,8 +2452,8 @@ var Mn = /* @__PURE__ */ Object.create(null), kn = "remove", ln = /* @__PURE__ *
2452
2452
  o = u.newValue;
2453
2453
  }
2454
2454
  if (o = s.prepareNewValue_(o), o !== g.UNCHANGED) {
2455
- var d = te(this), c = process.env.NODE_ENV !== "production" && P(), p = d || c ? {
2456
- type: ee,
2455
+ var d = ne(this), c = process.env.NODE_ENV !== "production" && M(), p = d || c ? {
2456
+ type: te,
2457
2457
  observableKind: "object",
2458
2458
  debugObjectName: this.name_,
2459
2459
  object: this.proxy_ || this.target_,
@@ -2461,7 +2461,7 @@ var Mn = /* @__PURE__ */ Object.create(null), kn = "remove", ln = /* @__PURE__ *
2461
2461
  name: r,
2462
2462
  newValue: o
2463
2463
  } : null;
2464
- process.env.NODE_ENV !== "production" && c && H(p), s.setNewValue_(o), d && ne(this, p), process.env.NODE_ENV !== "production" && c && $();
2464
+ process.env.NODE_ENV !== "production" && c && H(p), s.setNewValue_(o), d && re(this, p), process.env.NODE_ENV !== "production" && c && $();
2465
2465
  }
2466
2466
  return !0;
2467
2467
  }, n.get_ = function(r) {
@@ -2478,12 +2478,12 @@ var Mn = /* @__PURE__ */ Object.create(null), kn = "remove", ln = /* @__PURE__ *
2478
2478
  return r in this.target_;
2479
2479
  this.pendingKeys_ || (this.pendingKeys_ = /* @__PURE__ */ new Map());
2480
2480
  var o = this.pendingKeys_.get(r);
2481
- return o || (o = new Te(r in this.target_, Pt, process.env.NODE_ENV !== "production" ? this.name_ + "." + Qt(r) + "?" : "ObservableObject.key?", !1), this.pendingKeys_.set(r, o)), o.get();
2481
+ return o || (o = new Te(r in this.target_, Mt, process.env.NODE_ENV !== "production" ? this.name_ + "." + Qt(r) + "?" : "ObservableObject.key?", !1), this.pendingKeys_.set(r, o)), o.get();
2482
2482
  }, n.make_ = function(r, o) {
2483
2483
  if (o === !0 && (o = this.defaultAnnotation_), o !== !1) {
2484
2484
  if (jn(this, o, r), !(r in this.target_)) {
2485
2485
  var s;
2486
- if ((s = this.target_[k]) != null && s[r])
2486
+ if ((s = this.target_[R]) != null && s[r])
2487
2487
  return;
2488
2488
  A(1, o.annotationType_, this.name_ + "." + r.toString());
2489
2489
  }
@@ -2555,7 +2555,7 @@ var Mn = /* @__PURE__ */ Object.create(null), kn = "remove", ln = /* @__PURE__ *
2555
2555
  return null;
2556
2556
  o = c.newValue;
2557
2557
  }
2558
- var p = Rn(r), m = {
2558
+ var p = kn(r), m = {
2559
2559
  configurable: g.safeDescriptors ? this.isPlainObject_ : !0,
2560
2560
  enumerable: !0,
2561
2561
  get: p.get,
@@ -2590,7 +2590,7 @@ var Mn = /* @__PURE__ */ Object.create(null), kn = "remove", ln = /* @__PURE__ *
2590
2590
  return null;
2591
2591
  }
2592
2592
  o.name || (o.name = process.env.NODE_ENV !== "production" ? this.name_ + "." + r.toString() : "ObservableObject.key"), o.context = this.proxy_ || this.target_;
2593
- var c = Rn(r), p = {
2593
+ var c = kn(r), p = {
2594
2594
  configurable: g.safeDescriptors ? this.isPlainObject_ : !0,
2595
2595
  enumerable: !1,
2596
2596
  get: c.get,
@@ -2613,7 +2613,7 @@ var Mn = /* @__PURE__ */ Object.create(null), kn = "remove", ln = /* @__PURE__ *
2613
2613
  var s = W(this, {
2614
2614
  object: this.proxy_ || this.target_,
2615
2615
  name: r,
2616
- type: kn
2616
+ type: Rn
2617
2617
  });
2618
2618
  if (!s)
2619
2619
  return null;
@@ -2621,7 +2621,7 @@ var Mn = /* @__PURE__ */ Object.create(null), kn = "remove", ln = /* @__PURE__ *
2621
2621
  try {
2622
2622
  var u;
2623
2623
  X();
2624
- var d = te(this), c = process.env.NODE_ENV !== "production" && P(), p = this.values_.get(r), m = void 0;
2624
+ var d = ne(this), c = process.env.NODE_ENV !== "production" && M(), p = this.values_.get(r), m = void 0;
2625
2625
  if (!p && (d || c)) {
2626
2626
  var i;
2627
2627
  m = (i = gt(this.target_, r)) == null ? void 0 : i.value;
@@ -2631,16 +2631,16 @@ var Mn = /* @__PURE__ */ Object.create(null), kn = "remove", ln = /* @__PURE__ *
2631
2631
  return !1;
2632
2632
  } else
2633
2633
  delete this.target_[r];
2634
- if (process.env.NODE_ENV !== "production" && delete this.appliedAnnotations_[r], p && (this.values_.delete(r), p instanceof Te && (m = p.value_), Dr(p)), this.keysAtom_.reportChanged(), (u = this.pendingKeys_) == null || (u = u.get(r)) == null || u.set(r in this.target_), d || c) {
2634
+ if (process.env.NODE_ENV !== "production" && delete this.appliedAnnotations_[r], p && (this.values_.delete(r), p instanceof Te && (m = p.value_), xr(p)), this.keysAtom_.reportChanged(), (u = this.pendingKeys_) == null || (u = u.get(r)) == null || u.set(r in this.target_), d || c) {
2635
2635
  var a = {
2636
- type: kn,
2636
+ type: Rn,
2637
2637
  observableKind: "object",
2638
2638
  object: this.proxy_ || this.target_,
2639
2639
  debugObjectName: this.name_,
2640
2640
  oldValue: m,
2641
2641
  name: r
2642
2642
  };
2643
- process.env.NODE_ENV !== "production" && c && H(a), d && ne(this, a), process.env.NODE_ENV !== "production" && c && $();
2643
+ process.env.NODE_ENV !== "production" && c && H(a), d && re(this, a), process.env.NODE_ENV !== "production" && c && $();
2644
2644
  }
2645
2645
  } finally {
2646
2646
  Z();
@@ -2651,7 +2651,7 @@ var Mn = /* @__PURE__ */ Object.create(null), kn = "remove", ln = /* @__PURE__ *
2651
2651
  }, n.intercept_ = function(r) {
2652
2652
  return st(this, r);
2653
2653
  }, n.notifyPropertyAddition_ = function(r, o) {
2654
- var s, u = te(this), d = process.env.NODE_ENV !== "production" && P();
2654
+ var s, u = ne(this), d = process.env.NODE_ENV !== "production" && M();
2655
2655
  if (u || d) {
2656
2656
  var c = u || d ? {
2657
2657
  type: me,
@@ -2661,28 +2661,28 @@ var Mn = /* @__PURE__ */ Object.create(null), kn = "remove", ln = /* @__PURE__ *
2661
2661
  name: r,
2662
2662
  newValue: o
2663
2663
  } : null;
2664
- process.env.NODE_ENV !== "production" && d && H(c), u && ne(this, c), process.env.NODE_ENV !== "production" && d && $();
2664
+ process.env.NODE_ENV !== "production" && d && H(c), u && re(this, c), process.env.NODE_ENV !== "production" && d && $();
2665
2665
  }
2666
2666
  (s = this.pendingKeys_) == null || (s = s.get(r)) == null || s.set(!0), this.keysAtom_.reportChanged();
2667
2667
  }, n.ownKeys_ = function() {
2668
- return this.keysAtom_.reportObserved(), He(this.target_);
2668
+ return this.keysAtom_.reportObserved(), $e(this.target_);
2669
2669
  }, n.keys_ = function() {
2670
2670
  return this.keysAtom_.reportObserved(), Object.keys(this.target_);
2671
2671
  }, e;
2672
2672
  })();
2673
- function Re(e, n) {
2673
+ function ke(e, n) {
2674
2674
  var t;
2675
- if (process.env.NODE_ENV !== "production" && n && qe(e) && A("Options can't be provided for already observable objects."), z(e, S))
2675
+ if (process.env.NODE_ENV !== "production" && n && We(e) && A("Options can't be provided for already observable objects."), z(e, S))
2676
2676
  return process.env.NODE_ENV !== "production" && !(Wr(e) instanceof ln) && A("Cannot convert '" + Tt(e) + `' into observable object:
2677
2677
  The target is already observable of different type.
2678
2678
  Extending builtins is not supported.`), e;
2679
2679
  process.env.NODE_ENV !== "production" && !Object.isExtensible(e) && A("Cannot make the designated object observable; it is not extensible");
2680
- var r = (t = n?.name) != null ? t : process.env.NODE_ENV !== "production" ? (F(e) ? "ObservableObject" : e.constructor.name) + "@" + re() : "ObservableObject", o = new ln(e, /* @__PURE__ */ new Map(), String(r), Yi(n));
2680
+ var r = (t = n?.name) != null ? t : process.env.NODE_ENV !== "production" ? (F(e) ? "ObservableObject" : e.constructor.name) + "@" + ie() : "ObservableObject", o = new ln(e, /* @__PURE__ */ new Map(), String(r), Yi(n));
2681
2681
  return rt(e, S, o), e;
2682
2682
  }
2683
- var Xo = /* @__PURE__ */ Pe("ObservableObjectAdministration", ln);
2684
- function Rn(e) {
2685
- return Mn[e] || (Mn[e] = {
2683
+ var Xo = /* @__PURE__ */ Me("ObservableObjectAdministration", ln);
2684
+ function kn(e) {
2685
+ return Pn[e] || (Pn[e] = {
2686
2686
  get: function() {
2687
2687
  return this[S].getObservablePropValue_(e);
2688
2688
  },
@@ -2691,12 +2691,12 @@ function Rn(e) {
2691
2691
  }
2692
2692
  });
2693
2693
  }
2694
- function qe(e) {
2694
+ function We(e) {
2695
2695
  return Bt(e) ? Xo(e[S]) : !1;
2696
2696
  }
2697
2697
  function In(e, n, t) {
2698
2698
  var r;
2699
- process.env.NODE_ENV !== "production" && (e.appliedAnnotations_[t] = n), (r = e.target_[k]) == null || delete r[t];
2699
+ process.env.NODE_ENV !== "production" && (e.appliedAnnotations_[t] = n), (r = e.target_[R]) == null || delete r[t];
2700
2700
  }
2701
2701
  function jn(e, n, t) {
2702
2702
  if (process.env.NODE_ENV !== "production" && !Zr(n) && A("Cannot annotate '" + e.name_ + "." + t.toString() + "': Invalid annotation."), process.env.NODE_ENV !== "production" && !Ot(n) && z(e.appliedAnnotations_, t)) {
@@ -2723,7 +2723,7 @@ zo(Gr, Array.prototype);
2723
2723
  var An = /* @__PURE__ */ (function(e) {
2724
2724
  function n(r, o, s, u) {
2725
2725
  var d;
2726
- return s === void 0 && (s = process.env.NODE_ENV !== "production" ? "ObservableArray@" + re() : "ObservableArray"), u === void 0 && (u = !1), d = e.call(this) || this, Se(function() {
2726
+ return s === void 0 && (s = process.env.NODE_ENV !== "production" ? "ObservableArray@" + ie() : "ObservableArray"), u === void 0 && (u = !1), d = e.call(this) || this, Se(function() {
2727
2727
  var c = new yn(s, o, u, !0);
2728
2728
  c.proxy_ = d, lr(d, S, c), r && r.length && d.spliceWithArray(0, 0, r), Yo && Object.defineProperty(d, "0", Zo);
2729
2729
  }), d;
@@ -2738,7 +2738,7 @@ var An = /* @__PURE__ */ (function(e) {
2738
2738
  this.slice(),
2739
2739
  //@ts-ignore
2740
2740
  s.map(function(d) {
2741
- return Rt(d) ? d.slice() : d;
2741
+ return kt(d) ? d.slice() : d;
2742
2742
  })
2743
2743
  );
2744
2744
  }, t[Symbol.iterator] = function() {
@@ -2754,7 +2754,7 @@ var An = /* @__PURE__ */ (function(e) {
2754
2754
  };
2755
2755
  }
2756
2756
  });
2757
- }, Ke(n, [{
2757
+ }, qe(n, [{
2758
2758
  key: "length",
2759
2759
  get: function() {
2760
2760
  return this[S].getArrayLength_();
@@ -2799,9 +2799,9 @@ qr(1e3);
2799
2799
  function Qo(e, n, t) {
2800
2800
  return new An(e, n, t);
2801
2801
  }
2802
- function Ue(e, n) {
2802
+ function Ge(e, n) {
2803
2803
  if (typeof e == "object" && e !== null) {
2804
- if (Rt(e))
2804
+ if (kt(e))
2805
2805
  return n !== void 0 && A(23), e[S].atom_;
2806
2806
  if (ue(e))
2807
2807
  return e.atom_;
@@ -2811,20 +2811,20 @@ function Ue(e, n) {
2811
2811
  var t = e.data_.get(n) || e.hasMap_.get(n);
2812
2812
  return t || A(25, n, Tt(e)), t;
2813
2813
  }
2814
- if (qe(e)) {
2814
+ if (We(e)) {
2815
2815
  if (!n)
2816
2816
  return A(26);
2817
2817
  var r = e[S].values_.get(n);
2818
2818
  return r || A(27, n, Tt(e)), r;
2819
2819
  }
2820
- if (_n(e) || kt(e) || Et(e))
2820
+ if (_n(e) || Rt(e) || Et(e))
2821
2821
  return e;
2822
2822
  } else if (L(e) && Et(e[S]))
2823
2823
  return e[S];
2824
2824
  A(28);
2825
2825
  }
2826
2826
  function Wr(e, n) {
2827
- if (e || A(29), _n(e) || kt(e) || Et(e) || Oe(e) || ue(e))
2827
+ if (e || A(29), _n(e) || Rt(e) || Et(e) || Oe(e) || ue(e))
2828
2828
  return e;
2829
2829
  if (e[S])
2830
2830
  return e[S];
@@ -2833,16 +2833,16 @@ function Wr(e, n) {
2833
2833
  function Tt(e, n) {
2834
2834
  var t;
2835
2835
  if (n !== void 0)
2836
- t = Ue(e, n);
2836
+ t = Ge(e, n);
2837
2837
  else {
2838
2838
  if (Le(e))
2839
2839
  return e.name;
2840
- qe(e) || Oe(e) || ue(e) ? t = Wr(e) : t = Ue(e);
2840
+ We(e) || Oe(e) || ue(e) ? t = Wr(e) : t = Ge(e);
2841
2841
  }
2842
2842
  return t.name_;
2843
2843
  }
2844
2844
  function Se(e) {
2845
- var n = Me(), t = vn(!0);
2845
+ var n = Pe(), t = vn(!0);
2846
2846
  X();
2847
2847
  try {
2848
2848
  return e();
@@ -2919,9 +2919,9 @@ function cn(e, n, t, r, o) {
2919
2919
  return r.pop(), o.pop(), !0;
2920
2920
  }
2921
2921
  function Hn(e) {
2922
- return Rt(e) ? e.slice() : Ge(e) || Oe(e) || de(e) || ue(e) ? Array.from(e.entries()) : e;
2922
+ return kt(e) ? e.slice() : Ke(e) || Oe(e) || de(e) || ue(e) ? Array.from(e.entries()) : e;
2923
2923
  }
2924
- var $n, ea = (($n = xt().Iterator) == null ? void 0 : $n.prototype) || {};
2924
+ var $n, ea = (($n = Dt().Iterator) == null ? void 0 : $n.prototype) || {};
2925
2925
  function On(e) {
2926
2926
  return e[Symbol.iterator] = ta, Object.assign(Object.create(ea), e);
2927
2927
  }
@@ -2935,7 +2935,7 @@ function Zr(e) {
2935
2935
  );
2936
2936
  }
2937
2937
  ["Symbol", "Map", "Set"].forEach(function(e) {
2938
- var n = xt();
2938
+ var n = Dt();
2939
2939
  typeof n[e] > "u" && A("MobX requires global '" + e + "' to be available or polyfilled");
2940
2940
  });
2941
2941
  typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({
@@ -3027,7 +3027,7 @@ var oa = 1e4, aa = 1e4, sa = (
3027
3027
  ), ua = typeof FinalizationRegistry < "u" ? FinalizationRegistry : sa, fn = new ua(function(e) {
3028
3028
  var n;
3029
3029
  (n = e.reaction) === null || n === void 0 || n.dispose(), e.reaction = null;
3030
- }), Xe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, dt = { exports: {} }, $t = {};
3030
+ }), Ze = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, dt = { exports: {} }, $t = {};
3031
3031
  var Un;
3032
3032
  function la() {
3033
3033
  if (Un) return $t;
@@ -3224,7 +3224,7 @@ const ma = ({ onClick: e, disabled: n = !1, imagePath: t }) => w("div", { classN
3224
3224
  class ya {
3225
3225
  activePopup = null;
3226
3226
  constructor() {
3227
- ke(this);
3227
+ Re(this);
3228
3228
  }
3229
3229
  open(n) {
3230
3230
  this.activePopup = n;
@@ -3236,7 +3236,7 @@ class ya {
3236
3236
  return this.activePopup !== null;
3237
3237
  }
3238
3238
  }
3239
- const M = new ya(), R = {
3239
+ const P = new ya(), k = {
3240
3240
  bet: "bet",
3241
3241
  autoplay: "autoplay",
3242
3242
  settings: "settings",
@@ -3286,7 +3286,7 @@ class Sa {
3286
3286
  dialogs = Oa;
3287
3287
  activeDialog = null;
3288
3288
  constructor() {
3289
- ke(this);
3289
+ Re(this);
3290
3290
  }
3291
3291
  add(n) {
3292
3292
  this.dialogs.push(n);
@@ -3328,7 +3328,7 @@ class wa {
3328
3328
  minBetAmount = this.betAmountRange[this.betAmountRange.length - 1];
3329
3329
  displayCurrency = "FUN";
3330
3330
  constructor() {
3331
- ke(this);
3331
+ Re(this);
3332
3332
  }
3333
3333
  setBet(n) {
3334
3334
  this.betAmount = n, this.betIndex = this.betAmountRange.indexOf(n);
@@ -3369,7 +3369,7 @@ class Ea {
3369
3369
  // X bet
3370
3370
  isStarted = !1;
3371
3371
  constructor() {
3372
- ke(this);
3372
+ Re(this);
3373
3373
  }
3374
3374
  setCount(n) {
3375
3375
  this.count = n;
@@ -3794,55 +3794,55 @@ function Ca() {
3794
3794
  if (f && !_._paused)
3795
3795
  return a || l._loadQueue("play"), _._id;
3796
3796
  l._webAudio && t._autoResume();
3797
- var E = Math.max(0, _._seek > 0 ? _._seek : l._sprite[i][0] / 1e3), O = Math.max(0, (l._sprite[i][0] + l._sprite[i][1]) / 1e3 - E), T = O * 1e3 / Math.abs(_._rate), V = l._sprite[i][0] / 1e3, oe = (l._sprite[i][0] + l._sprite[i][1]) / 1e3;
3797
+ var E = Math.max(0, _._seek > 0 ? _._seek : l._sprite[i][0] / 1e3), O = Math.max(0, (l._sprite[i][0] + l._sprite[i][1]) / 1e3 - E), T = O * 1e3 / Math.abs(_._rate), V = l._sprite[i][0] / 1e3, ae = (l._sprite[i][0] + l._sprite[i][1]) / 1e3;
3798
3798
  _._sprite = i, _._ended = !1;
3799
- var ae = function() {
3800
- _._paused = !1, _._seek = E, _._start = V, _._stop = oe, _._loop = !!(_._loop || l._sprite[i][2]);
3799
+ var se = function() {
3800
+ _._paused = !1, _._seek = E, _._start = V, _._stop = ae, _._loop = !!(_._loop || l._sprite[i][2]);
3801
3801
  };
3802
- if (E >= oe) {
3802
+ if (E >= ae) {
3803
3803
  l._ended(_);
3804
3804
  return;
3805
3805
  }
3806
- var x = _._node;
3806
+ var D = _._node;
3807
3807
  if (l._webAudio) {
3808
3808
  var Sn = function() {
3809
- l._playLock = !1, ae(), l._refreshBuffer(_);
3809
+ l._playLock = !1, se(), l._refreshBuffer(_);
3810
3810
  var Ie = _._muted || l._muted ? 0 : _._volume;
3811
- x.gain.setValueAtTime(Ie, t.ctx.currentTime), _._playStart = t.ctx.currentTime, typeof x.bufferSource.start > "u" ? _._loop ? x.bufferSource.noteGrainOn(0, E, 86400) : x.bufferSource.noteGrainOn(0, E, O) : _._loop ? x.bufferSource.start(0, E, 86400) : x.bufferSource.start(0, E, O), T !== 1 / 0 && (l._endTimers[_._id] = setTimeout(l._ended.bind(l, _), T)), a || setTimeout(function() {
3811
+ D.gain.setValueAtTime(Ie, t.ctx.currentTime), _._playStart = t.ctx.currentTime, typeof D.bufferSource.start > "u" ? _._loop ? D.bufferSource.noteGrainOn(0, E, 86400) : D.bufferSource.noteGrainOn(0, E, O) : _._loop ? D.bufferSource.start(0, E, 86400) : D.bufferSource.start(0, E, O), T !== 1 / 0 && (l._endTimers[_._id] = setTimeout(l._ended.bind(l, _), T)), a || setTimeout(function() {
3812
3812
  l._emit("play", _._id), l._loadQueue();
3813
3813
  }, 0);
3814
3814
  };
3815
3815
  t.state === "running" && t.ctx.state !== "interrupted" ? Sn() : (l._playLock = !0, l.once("resume", Sn), l._clearTimer(_._id));
3816
3816
  } else {
3817
3817
  var wn = function() {
3818
- x.currentTime = E, x.muted = _._muted || l._muted || t._muted || x.muted, x.volume = _._volume * t.volume(), x.playbackRate = _._rate;
3818
+ D.currentTime = E, D.muted = _._muted || l._muted || t._muted || D.muted, D.volume = _._volume * t.volume(), D.playbackRate = _._rate;
3819
3819
  try {
3820
- var Ie = x.play();
3821
- if (Ie && typeof Promise < "u" && (Ie instanceof Promise || typeof Ie.then == "function") ? (l._playLock = !0, ae(), Ie.then(function() {
3822
- l._playLock = !1, x._unlocked = !0, a ? l._loadQueue() : l._emit("play", _._id);
3820
+ var Ie = D.play();
3821
+ if (Ie && typeof Promise < "u" && (Ie instanceof Promise || typeof Ie.then == "function") ? (l._playLock = !0, se(), Ie.then(function() {
3822
+ l._playLock = !1, D._unlocked = !0, a ? l._loadQueue() : l._emit("play", _._id);
3823
3823
  }).catch(function() {
3824
3824
  l._playLock = !1, l._emit("playerror", _._id, "Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."), _._ended = !0, _._paused = !0;
3825
- })) : a || (l._playLock = !1, ae(), l._emit("play", _._id)), x.playbackRate = _._rate, x.paused) {
3825
+ })) : a || (l._playLock = !1, se(), l._emit("play", _._id)), D.playbackRate = _._rate, D.paused) {
3826
3826
  l._emit("playerror", _._id, "Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");
3827
3827
  return;
3828
3828
  }
3829
3829
  i !== "__default" || _._loop ? l._endTimers[_._id] = setTimeout(l._ended.bind(l, _), T) : (l._endTimers[_._id] = function() {
3830
- l._ended(_), x.removeEventListener("ended", l._endTimers[_._id], !1);
3831
- }, x.addEventListener("ended", l._endTimers[_._id], !1));
3830
+ l._ended(_), D.removeEventListener("ended", l._endTimers[_._id], !1);
3831
+ }, D.addEventListener("ended", l._endTimers[_._id], !1));
3832
3832
  } catch (Qr) {
3833
3833
  l._emit("playerror", _._id, Qr);
3834
3834
  }
3835
3835
  };
3836
- x.src === "data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA" && (x.src = l._src, x.load());
3837
- var Jr = window && window.ejecta || !x.readyState && t._navigator.isCocoonJS;
3838
- if (x.readyState >= 3 || Jr)
3836
+ D.src === "data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA" && (D.src = l._src, D.load());
3837
+ var Jr = window && window.ejecta || !D.readyState && t._navigator.isCocoonJS;
3838
+ if (D.readyState >= 3 || Jr)
3839
3839
  wn();
3840
3840
  else {
3841
3841
  l._playLock = !0, l._state = "loading";
3842
3842
  var En = function() {
3843
- l._state = "loaded", wn(), x.removeEventListener(t._canPlayEvent, En, !1);
3843
+ l._state = "loaded", wn(), D.removeEventListener(t._canPlayEvent, En, !1);
3844
3844
  };
3845
- x.addEventListener(t._canPlayEvent, En, !1), l._clearTimer(_._id);
3845
+ D.addEventListener(t._canPlayEvent, En, !1), l._clearTimer(_._id);
3846
3846
  }
3847
3847
  }
3848
3848
  return _._id;
@@ -3996,8 +3996,8 @@ function Ca() {
3996
3996
  _startFadeInterval: function(i, a, l, f, v, h) {
3997
3997
  var _ = this, y = a, E = l - a, O = Math.abs(E / 0.01), T = Math.max(4, O > 0 ? f / O : f), V = Date.now();
3998
3998
  i._fadeTo = l, i._interval = setInterval(function() {
3999
- var oe = (Date.now() - V) / f;
4000
- V = Date.now(), y += E * oe, y = Math.round(y * 100) / 100, E < 0 ? y = Math.max(l, y) : y = Math.min(l, y), _._webAudio ? i._volume = y : _.volume(y, i._id, !0), h && (_._volume = y), (l < a && y <= l || l > a && y >= l) && (clearInterval(i._interval), i._interval = null, i._fadeTo = null, _.volume(l, i._id), _._emit("fade", i._id));
3999
+ var ae = (Date.now() - V) / f;
4000
+ V = Date.now(), y += E * ae, y = Math.round(y * 100) / 100, E < 0 ? y = Math.max(l, y) : y = Math.min(l, y), _._webAudio ? i._volume = y : _.volume(y, i._id, !0), h && (_._volume = y), (l < a && y <= l || l > a && y >= l) && (clearInterval(i._interval), i._interval = null, i._fadeTo = null, _.volume(l, i._id), _._emit("fade", i._id));
4001
4001
  }, T);
4002
4002
  },
4003
4003
  /**
@@ -4468,7 +4468,7 @@ function Ca() {
4468
4468
  t.usingWebAudio && (t.masterGain = typeof t.ctx.createGain > "u" ? t.ctx.createGainNode() : t.ctx.createGain(), t.masterGain.gain.setValueAtTime(t._muted ? 0 : t._volume, t.ctx.currentTime), t.masterGain.connect(t.ctx.destination)), t._setup();
4469
4469
  }
4470
4470
  };
4471
- e.Howler = t, e.Howl = r, typeof Xe < "u" ? (Xe.HowlerGlobal = n, Xe.Howler = t, Xe.Howl = r, Xe.Sound = o) : typeof window < "u" && (window.HowlerGlobal = n, window.Howler = t, window.Howl = r, window.Sound = o);
4471
+ e.Howler = t, e.Howl = r, typeof Ze < "u" ? (Ze.HowlerGlobal = n, Ze.Howler = t, Ze.Howl = r, Ze.Sound = o) : typeof window < "u" && (window.HowlerGlobal = n, window.Howler = t, window.Howl = r, window.Sound = o);
4472
4472
  })();
4473
4473
  (function() {
4474
4474
  HowlerGlobal.prototype._pos = [0, 0, 0], HowlerGlobal.prototype._orientation = [0, 0, -1, 0, 1, 0], HowlerGlobal.prototype.stereo = function(t) {
@@ -4651,25 +4651,33 @@ function Ca() {
4651
4651
  })();
4652
4652
  })(Xt)), Xt;
4653
4653
  }
4654
- var Ze = Ca();
4654
+ var je = Ca();
4655
4655
  class Ta {
4656
4656
  bgMusic;
4657
+ bgBaseVolume = 1;
4657
4658
  sfx = /* @__PURE__ */ new Map();
4659
+ sfxBaseVolumes = /* @__PURE__ */ new Map();
4660
+ masterVolume = 1;
4658
4661
  musicMuted = !1;
4659
4662
  sfxMuted = !1;
4660
4663
  allMuted = !1;
4661
4664
  registerBgMusic(n, t = 0.5) {
4662
- this.bgMusic || (this.bgMusic = new Ze.Howl({
4665
+ this.bgMusic || (this.bgBaseVolume = this.clamp(t), je.Howler.volume(1), this.bgMusic = new je.Howl({
4663
4666
  src: Array.isArray(n) ? n : [n],
4664
4667
  loop: !0,
4665
- volume: t
4668
+ volume: this.bgBaseVolume * this.masterVolume
4666
4669
  }));
4667
4670
  }
4668
4671
  registerSound(n, t, r = 1) {
4669
- this.sfx.has(n) || this.sfx.set(n, new Ze.Howl({
4672
+ if (this.sfx.has(n))
4673
+ return;
4674
+ const o = this.clamp(r);
4675
+ this.sfxBaseVolumes.set(n, o);
4676
+ const s = new je.Howl({
4670
4677
  src: Array.isArray(t) ? t : [t],
4671
- volume: r
4672
- }));
4678
+ volume: o * this.masterVolume
4679
+ });
4680
+ this.sfx.set(n, s);
4673
4681
  }
4674
4682
  playBgMusic() {
4675
4683
  this.allMuted || this.musicMuted || !this.bgMusic || this.bgMusic.playing() || this.bgMusic.play();
@@ -4695,26 +4703,37 @@ class Ta {
4695
4703
  t && t.stop();
4696
4704
  }
4697
4705
  muteSounds() {
4698
- this.sfxMuted = !0;
4706
+ this.sfxMuted = !0, this.sfx.forEach((n) => n.pause());
4699
4707
  }
4700
4708
  unmuteSounds() {
4701
4709
  this.sfxMuted = !1;
4702
4710
  }
4703
4711
  setMasterVolume(n) {
4704
- Ze.Howler.volume(this.clamp(n));
4712
+ let t = n;
4713
+ t > 1 && (t = t / 100), t = this.clamp(t), this.masterVolume = t, je.Howler.volume(1), !this.allMuted && (this.bgMusic && this.bgMusic.volume(this.bgBaseVolume * this.masterVolume), this.sfx.forEach((r, o) => {
4714
+ const s = this.sfxBaseVolumes.get(o) ?? 1;
4715
+ r.volume(s * this.masterVolume);
4716
+ }));
4717
+ }
4718
+ setSoundBaseVolume(n, t) {
4719
+ const r = this.sfx.get(n);
4720
+ if (!r)
4721
+ return;
4722
+ const o = this.clamp(t);
4723
+ this.sfxBaseVolumes.set(n, o), r.volume(o * this.masterVolume);
4705
4724
  }
4706
4725
  muteAll() {
4707
- this.allMuted = !0, Ze.Howler.mute(!0);
4726
+ this.allMuted = !0, je.Howler.mute(!0);
4708
4727
  }
4709
4728
  unmuteAll() {
4710
- this.allMuted = !1, Ze.Howler.mute(!1), this.musicMuted || this.playBgMusic();
4729
+ this.allMuted = !1, je.Howler.mute(!1), this.setMasterVolume(this.masterVolume), this.musicMuted || this.playBgMusic();
4711
4730
  }
4712
4731
  clamp(n) {
4713
4732
  return Math.max(0, Math.min(1, n));
4714
4733
  }
4715
4734
  }
4716
4735
  const K = new Ta();
4717
- class Da {
4736
+ class xa {
4718
4737
  introSkip = JSON.parse(localStorage.getItem(_t.SKIP_INTRO)) || !1;
4719
4738
  spaceToSpin = !1;
4720
4739
  spaceToSkip = !1;
@@ -4723,11 +4742,14 @@ class Da {
4723
4742
  musicOn = !0;
4724
4743
  soundsOn = !0;
4725
4744
  constructor() {
4726
- ke(this);
4745
+ Re(this);
4727
4746
  }
4728
4747
  setMusicOn(n) {
4729
4748
  this.musicOn = n, localStorage.setItem(_t.MUSIC_ON, n.toString()), n ? K.unmuteMusic() : K.muteMusic();
4730
4749
  }
4750
+ toggleMute() {
4751
+ this.volume > 0 ? this.setVolume(0) : this.setVolume(50);
4752
+ }
4731
4753
  setVolume(n) {
4732
4754
  this.volume = n, K.setMasterVolume(n);
4733
4755
  }
@@ -4747,8 +4769,8 @@ class Da {
4747
4769
  this.spaceToSkip = n;
4748
4770
  }
4749
4771
  }
4750
- const se = new Da();
4751
- class xa {
4772
+ const ee = new xa();
4773
+ class Da {
4752
4774
  data = [
4753
4775
  {
4754
4776
  date: "26.11.2024 00:16",
@@ -4854,18 +4876,18 @@ class xa {
4854
4876
  }
4855
4877
  ];
4856
4878
  constructor() {
4857
- ke(this);
4879
+ Re(this);
4858
4880
  }
4859
4881
  setData(n) {
4860
4882
  this.data = n;
4861
4883
  }
4862
4884
  }
4863
- const Va = new xa();
4885
+ const Va = new Da();
4864
4886
  class Ba {
4865
4887
  isRunning = !1;
4866
4888
  isDisabled = !1;
4867
4889
  isSlamStop = !1;
4868
- isUIVisible = !1;
4890
+ isUIVisible = !0;
4869
4891
  isAutoPlayDisabled = !1;
4870
4892
  isBuyBonusDisabled = !1;
4871
4893
  isBetAmountLabelsDisabled = !1;
@@ -4923,13 +4945,13 @@ class Ba {
4923
4945
  this.isSlamStop = n;
4924
4946
  }
4925
4947
  }
4926
- const Dt = new Ba();
4948
+ const xt = new Ba();
4927
4949
  class La {
4928
4950
  lastResult = {};
4929
4951
  isBonus = !1;
4930
4952
  lastWinAmount = 0;
4931
4953
  constructor() {
4932
- ke(this);
4954
+ Re(this);
4933
4955
  }
4934
4956
  setLastResult(n) {
4935
4957
  this.lastResult = n;
@@ -4941,28 +4963,28 @@ class La {
4941
4963
  this.lastWinAmount = n;
4942
4964
  }
4943
4965
  }
4944
- const Pa = new La(), Ma = G(() => {
4945
- const { isDisabled: e, isRunning: n, clickHandler: t } = Dt, { count: r, isStarted: o } = Ne;
4966
+ const Ma = new La(), Pa = G(() => {
4967
+ const { isDisabled: e, isRunning: n, clickHandler: t } = xt, { count: r, isStarted: o } = Ne;
4946
4968
  return b("button", { className: `spin-btn
4947
4969
  ${e ? "disabled" : ""}
4948
4970
  ${n ? "slam-stop" : ""}
4949
- `, onClick: t.bind(Dt), children: b("span", { className: `spin-btn_label ${o && n && r ? "" : "hidden"}`, children: r }) });
4950
- }), er = ({ onClick: e, disabled: n = !1, className: t, isActive: r }) => b("button", { className: `${t} ${n ? "disabled" : ""} ${r ? "active" : ""}`, onClick: e }), ka = G(() => {
4951
- const { balance: e, betAmount: n, displayCurrency: t, setNextBetAmount: r, setPrevBetAmount: o } = Y, { lastWinAmount: s } = Pa, { setIsTurbo: u, isTurbo: d } = se, { open: c } = M, { activeAnteBet: p, activeBonusFeature: m, activeInReelFeature: i, setActiveAnteBet: a } = ge, { isUIVisible: l, isAutoPlayDisabled: f, isBuyBonusDisabled: v, isBetAmountLabelsDisabled: h } = Dt, _ = mt(() => p?.imagePath || i?.imagePath || m?.imagePath, [p, m, i]), y = ir(() => {
4952
- K.playSound(Ee.BuyBonusClick), p ? a.call(ge, null) : c.call(M, R.buyBonus);
4971
+ `, onClick: t.bind(xt), children: b("span", { className: `spin-btn_label ${o && n && r ? "" : "hidden"}`, children: r }) });
4972
+ }), er = ({ onClick: e, disabled: n = !1, className: t, isActive: r }) => b("button", { className: `${t} ${n ? "disabled" : ""} ${r ? "active" : ""}`, onClick: e }), Ra = G(() => {
4973
+ const { balance: e, betAmount: n, displayCurrency: t, setNextBetAmount: r, setPrevBetAmount: o } = Y, { lastWinAmount: s } = Ma, { setIsTurbo: u, isTurbo: d } = ee, { open: c } = P, { activeAnteBet: p, activeBonusFeature: m, activeInReelFeature: i, setActiveAnteBet: a } = ge, { isUIVisible: l, isAutoPlayDisabled: f, isBuyBonusDisabled: v, isBetAmountLabelsDisabled: h } = xt, _ = mt(() => p?.imagePath || i?.imagePath || m?.imagePath, [p, m, i]), y = ir(() => {
4974
+ K.playSound(Ee.BuyBonusClick), p ? a.call(ge, null) : c.call(P, k.buyBonus);
4953
4975
  }, [p, a]);
4954
4976
  return b("div", { className: `ui-footer ${l ? "" : "hidden"}`, children: w("div", { className: "top-row", children: [w("div", { className: "left-group", children: [b(ma, { imagePath: _, disabled: v, onClick: y }), w("div", { className: "balance-info", children: [b(Yn, { label: "LAST WIN", value: `${s} ${t}` }), b(Yn, { label: "BALANCE", value: `${e} ${t}` })] })] }), w("div", { className: "bet-control", children: [b(ga, { highlighted: !!p, value: p ? p.availableBets[Y.betIndex] : n, currency: t, onClick: () => {
4955
- K.playSound(Ee.Click), c.call(M, R.bet);
4977
+ K.playSound(Ee.Click), c.call(P, k.bet);
4956
4978
  }, disabled: h }), w("div", { className: "bet-box", children: [b(zn, { onClick: () => {
4957
4979
  K.playSound(Ee.Click), o.call(Y);
4958
- }, className: "bet-btn minus", disabled: h }), b(Ma, { onClick: () => console.log("Spin"), state: "active" }), b(zn, { onClick: () => {
4980
+ }, className: "bet-btn minus", disabled: h }), b(Pa, { onClick: () => console.log("Spin"), state: "active" }), b(zn, { onClick: () => {
4959
4981
  K.playSound(Ee.Click), r.call(Y);
4960
4982
  }, className: "bet-btn plus", disabled: h })] }), b(er, { className: "quick-spin", onClick: () => {
4961
- K.playSound(Ee.Click), u.call(se, !d);
4983
+ K.playSound(Ee.Click), u.call(ee, !d);
4962
4984
  }, isActive: d }), b(er, { className: "auto-spin", onClick: () => {
4963
- K.playSound(Ee.Click), c.call(M, R.autoplay);
4985
+ K.playSound(Ee.Click), c.call(P, k.autoplay);
4964
4986
  }, isActive: !1, disabled: f })] })] }) });
4965
- }), Ra = ({ onMount: e, onUnmount: n, className: t }) => {
4987
+ }), ka = ({ onMount: e, onUnmount: n, className: t }) => {
4966
4988
  const r = Je(null);
4967
4989
  return Qe(() => (r.current && e && e(r.current), () => {
4968
4990
  n?.();
@@ -4990,22 +5012,22 @@ function Ia(e) {
4990
5012
  }, [e]), n;
4991
5013
  }
4992
5014
  const ja = G(() => {
4993
- const { volume: e, setVolume: n } = se, [t, r] = ye.useState(!1), o = Ia(() => r(!1)), s = ir(() => {
4994
- t || r(!0);
5015
+ const { volume: e, setVolume: n } = ee, [t, r] = ye.useState(!1), o = Ia(() => r(!1)), s = ir(() => {
5016
+ ee.toggleMute(), t || r(!0);
4995
5017
  }, [t, r]);
4996
- return w(rr, { children: [t && w("div", { className: "volume-control", ref: o, children: [b("input", { type: "range", min: 0, max: 100, value: e, onChange: (u) => n.call(se, Number(u.target.value)), className: "slider", "aria-label": "Volume" }), b("span", { className: "volume-value", children: e })] }), b("button", { className: `btn-sound ${e === 0 ? "inactive" : ""}`, "aria-label": "Toggle Sound", onClick: s })] });
5018
+ return w(rr, { children: [t && w("div", { className: "volume-control", ref: o, children: [b("input", { type: "range", min: 0, max: 100, value: e, onChange: (u) => n.call(ee, Number(u.target.value)), className: "slider", "aria-label": "Volume" }), b("span", { className: "volume-value", children: e })] }), b("button", { className: `btn-sound ${e === 0 ? "inactive" : ""}`, "aria-label": "Toggle Sound", onClick: s })] });
4997
5019
  }), Fa = G(() => {
4998
- const { open: e } = M, { isUIVisible: n } = Dt;
4999
- return n ? w("div", { className: "settings-section", children: [b(ja, {}), b("button", { className: "btn-settings", "aria-label": "Open Settings", onClick: e.bind(M, R.settings) })] }) : null;
5020
+ const { open: e } = P, { isUIVisible: n } = xt;
5021
+ return n ? w("div", { className: "settings-section", children: [b(ja, {}), b("button", { className: "btn-settings", "aria-label": "Open Settings", onClick: e.bind(P, k.settings) })] }) : null;
5000
5022
  }), Ha = "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", $a = G(() => {
5001
5023
  const { betAmount: e, displayCurrency: n, setNextBetAmount: t, setPrevBetAmount: r } = Y;
5002
5024
  return w("div", { className: "overlay-bet-controller", children: [b("div", { className: "decrease-bet", onClick: r.bind(Y) }), w("div", { className: "bet-amount", children: [e, " ", n] }), b("div", { className: "increase-bet", onClick: t.bind(Y) })] });
5003
5025
  }), zr = ({ value: e, onClick: n, active: t }) => b("div", { className: `rectLabel ${t ? "current-active" : ""}`, onClick: () => n(e), children: b("span", { children: e }) }), Ua = G(() => {
5004
- const { betAmountRange: e, setBet: n, betAmount: t } = Y, { activeAnteBet: r } = ge, { close: o } = M;
5026
+ const { betAmountRange: e, setBet: n, betAmount: t } = Y, { activeAnteBet: r } = ge, { close: o } = P;
5005
5027
  return b("div", { className: "bet-popup-container", children: e.map((s, u) => {
5006
5028
  const d = t === s;
5007
5029
  return b(zr, { value: r ? r.availableBets[u] : s, active: d, onClick: () => {
5008
- n.call(Y, s), o.call(M);
5030
+ n.call(Y, s), o.call(P);
5009
5031
  } }, u);
5010
5032
  }) });
5011
5033
  }), It = ({ checked: e, onChange: n }) => b("button", { className: `ap-toggle ${e ? "ap-toggle--on" : "ap-toggle--off"}`, "aria-pressed": e, onClick: () => n(!e), type: "button", children: b("span", { className: "ap-toggle__knob" }) }), Zt = ({ active: e, onClick: n, children: t }) => b("button", { className: `ap-limit ${e ? "ap-limit--active" : ""}`, onClick: n, type: "button", children: t }), tr = ({ active: e, onClick: n, children: t }) => b("button", { className: `ap-tab ${e ? "ap-tab--active" : ""}`, onClick: n, type: "button", children: t }), Ga = ({ value: e, placeholder: n, inputType: t = "text", className: r = "", autoFocus: o = !0, onSubmit: s, onCancel: u }) => {
@@ -5048,8 +5070,8 @@ const ja = G(() => {
5048
5070
  }), nr = ({ onClick: e, label: n, className: t }) => w("button", { className: `sp-action ${t}`, type: "button", onClick: e, children: [b("span", { className: "sp-action__icon", "aria-hidden": "true" }), b("span", { className: "sp-action__label", children: n })] }), Ye = ({ onToggle: e, label: n, checked: t = !1 }) => w("div", { className: "sp-row", children: [b("div", { className: "sp-switch", children: b(It, { checked: t, onChange: () => {
5049
5071
  K.playSound(Ee.Click), e(!t);
5050
5072
  } }) }), b("div", { className: "sp-label", children: n })] }), qa = G(() => {
5051
- const { introSkip: e, spaceToSkip: n, musicOn: t, soundsOn: r, spaceToSpin: o, setSpaceToSpin: s, setIntroSkip: u, setSpaceToSkip: d, setSoundsOn: c, setMusicOn: p } = se, { open: m } = M;
5052
- return w("div", { className: "sp-wrap", children: [w("div", { className: "sp-actions", children: [b(nr, { onClick: m.bind(M, R.history), className: "sp-action--history", label: "History" }), b(nr, { onClick: M.open.bind(M, R.payTable), className: "sp-action--paytable", label: "Paytable" })] }), b("h3", { className: "sp-section-title", children: "Audio" }), w("div", { className: "sp-rows", children: [b(Ye, { onToggle: p.bind(se), checked: t, label: "Music" }), b(Ye, { onToggle: c.bind(se), checked: r, label: "Sounds" })] }), b("h3", { className: "sp-section-title", children: "Game launch" }), b("div", { className: "sp-rows", children: b(Ye, { onToggle: u.bind(se), checked: e, label: "Skip Intro" }) }), b("h3", { className: "sp-section-title", children: "Keyboard" }), w("div", { className: "sp-rows", children: [b(Ye, { onToggle: s.bind(se), checked: o, label: "Spacebar to Spin" }), b(Ye, { onToggle: d.bind(se), checked: n, label: "Spacebar to Skip" })] })] });
5073
+ const { introSkip: e, spaceToSkip: n, musicOn: t, soundsOn: r, spaceToSpin: o, setSpaceToSpin: s, setIntroSkip: u, setSpaceToSkip: d, setSoundsOn: c, setMusicOn: p } = ee, { open: m } = P;
5074
+ return w("div", { className: "sp-wrap", children: [w("div", { className: "sp-actions", children: [b(nr, { onClick: m.bind(P, k.history), className: "sp-action--history", label: "History" }), b(nr, { onClick: P.open.bind(P, k.payTable), className: "sp-action--paytable", label: "Paytable" })] }), b("h3", { className: "sp-section-title", children: "Audio" }), w("div", { className: "sp-rows", children: [b(Ye, { onToggle: p.bind(ee), checked: t, label: "Music" }), b(Ye, { onToggle: c.bind(ee), checked: r, label: "Sounds" })] }), b("h3", { className: "sp-section-title", children: "Game launch" }), b("div", { className: "sp-rows", children: b(Ye, { onToggle: u.bind(ee), checked: e, label: "Skip Intro" }) }), b("h3", { className: "sp-section-title", children: "Keyboard" }), w("div", { className: "sp-rows", children: [b(Ye, { onToggle: s.bind(ee), checked: o, label: "Spacebar to Spin" }), b(Ye, { onToggle: d.bind(ee), checked: n, label: "Spacebar to Skip" })] })] });
5053
5075
  }), Wa = ({ date: e, currencyCode: n, betAmount: t, winAmount: r }) => {
5054
5076
  const [o, s] = be(!1);
5055
5077
  return w("div", { className: `history-item ${o ? "active" : ""}`, role: "row", children: [b("span", { className: "date-section", children: e }), w("span", { className: "bet-section", children: [t, b("span", { className: "currency", children: n })] }), w("span", { className: "win-section", children: [r, w("span", { className: "currency", children: [" ", n] })] }), b("div", { className: `vector ${o ? "up" : "down"}`, "aria-hidden": "true", onClick: () => s(!o) }), o && w("div", { className: "additional-info", children: [w("button", { className: "additional-button replay", children: [b("div", { className: "replay-icon" }), "REPLAY"] }), b("button", { className: "additional-button", children: "LINK" })] })] });
@@ -5067,14 +5089,14 @@ const ja = G(() => {
5067
5089
  const O = getComputedStyle(_), T = O.getPropertyValue("--max-description-height").trim();
5068
5090
  let V = 84;
5069
5091
  if (T) {
5070
- const ae = T.match(/^(-?\d+(\.\d+)?)(px)?$/);
5071
- ae && (V = Number(ae[1]));
5092
+ const se = T.match(/^(-?\d+(\.\d+)?)(px)?$/);
5093
+ se && (V = Number(se[1]));
5072
5094
  } else {
5073
- const ae = O.getPropertyValue("max-height").trim();
5074
- ae && ae.endsWith("px") && (V = Number(ae.replace("px", "")));
5095
+ const se = O.getPropertyValue("max-height").trim();
5096
+ se && se.endsWith("px") && (V = Number(se.replace("px", "")));
5075
5097
  }
5076
- const oe = _.scrollHeight;
5077
- m(V), a(oe), f(oe > V + 1);
5098
+ const ae = _.scrollHeight;
5099
+ m(V), a(ae), f(ae > V + 1);
5078
5100
  };
5079
5101
  y();
5080
5102
  const E = new ResizeObserver(y);
@@ -5090,22 +5112,22 @@ const ja = G(() => {
5090
5112
  const { anteBets: e, inReelFeatures: n, bonusFeatures: t, buyHandler: r } = ge;
5091
5113
  return w("div", { className: "sf-wrap", children: [e.length ? b(Yt, { features: e, type: Wt.ante, title: "Ante Bets" }, 0) : null, n.length ? b(Yt, { features: n, type: Wt.buy, title: "Reel Features", onBuy: r.bind(ge) }, 1) : null, t.length ? b(Yt, { features: t, type: Wt.buy, title: "Bonus", onBuy: r.bind(ge) }, 2) : null] });
5092
5114
  }, za = G(({ payTableComponent: e }) => {
5093
- const { activePopup: n } = M;
5115
+ const { activePopup: n } = P;
5094
5116
  if (!n)
5095
5117
  return null;
5096
5118
  const t = mt(() => {
5097
5119
  switch (n) {
5098
- case R.bet:
5120
+ case k.bet:
5099
5121
  return Ua;
5100
- case R.autoplay:
5122
+ case k.autoplay:
5101
5123
  return Ka;
5102
- case R.settings:
5124
+ case k.settings:
5103
5125
  return qa;
5104
- case R.history:
5126
+ case k.history:
5105
5127
  return Xa;
5106
- case R.buyBonus:
5128
+ case k.buyBonus:
5107
5129
  return Ya;
5108
- case R.payTable:
5130
+ case k.payTable:
5109
5131
  return e;
5110
5132
  default:
5111
5133
  return null;
@@ -5119,44 +5141,45 @@ const ja = G(() => {
5119
5141
  const { activeDialog: e } = bt;
5120
5142
  return e ? w("div", { className: "dialogs-wrap", "aria-live": "polite", children: [b("span", { className: "title", children: e?.title }), e?.imagePath && b("img", { className: "dialog-image", src: e.imagePath, alt: e.title ?? "dialog image" }), b("span", { className: "message", children: e?.message }), e.toggle && b(It, { checked: e.toggle.value, onChange: () => e.toggle?.onClick() }), b("div", { className: "additional-btns", children: e?.buttons?.map((n, t) => b(Ja, { configs: n.configs, text: n.text, onClick: n.onClick }, t)) })] }) : null;
5121
5143
  }), es = G(({ payTableComponent: e }) => {
5122
- const n = M.activePopup, t = bt.activeDialog;
5144
+ const n = P.activePopup, t = bt.activeDialog;
5123
5145
  if (!n && !t)
5124
5146
  return null;
5125
5147
  const r = (s) => {
5126
- s.target === s.currentTarget && (M.close(), bt.close());
5148
+ s.target === s.currentTarget && (P.close(), bt.close());
5127
5149
  }, o = () => {
5128
- M.close(), bt.close();
5150
+ P.close(), bt.close();
5129
5151
  };
5130
- return w("div", { className: `overlay ${t ? "dialog" : ""}`, onClick: r, role: "presentation", children: [typeof n == "string" && b("span", { className: "popup-title", children: n.toUpperCase() }), w("div", { className: "overlay-content", role: "dialog", "aria-modal": "true", children: [t && b(Qa, {}), !t && n && b(za, { payTableComponent: e })] }), !t && b("div", { className: "overlay-close", "aria-label": "Close", onClick: o, children: b("img", { src: Ha, alt: "Close" }) }), n === R.buyBonus && b($a, {})] });
5152
+ return w("div", { className: `overlay ${t ? "dialog" : ""}`, onClick: r, role: "presentation", children: [typeof n == "string" && b("span", { className: "popup-title", children: n.toUpperCase() }), w("div", { className: "overlay-content", role: "dialog", "aria-modal": "true", children: [t && b(Qa, {}), !t && n && b(za, { payTableComponent: e })] }), !t && b("div", { className: "overlay-close", "aria-label": "Close", onClick: o, children: b("img", { src: Ha, alt: "Close" }) }), n === k.buyBonus && b($a, {})] });
5131
5153
  });
5132
5154
  function ts({ payTableComponent: e }) {
5133
- return w("div", { className: "app", children: [w("div", { className: "game-container", children: [b(Ra, {}), b(Fa, {}), b(ka, {})] }), b(es, { payTableComponent: e })] });
5155
+ return w("div", { className: "app", children: [w("div", { className: "game-container", children: [b(ka, {}), b(Fa, {}), b(Ra, {})] }), b(es, { payTableComponent: e })] });
5134
5156
  }
5135
5157
  const ns = () => null;
5136
- function ss(e, n = ns) {
5158
+ function rs(e, n = ns) {
5137
5159
  if (!e) {
5138
5160
  console.error("element not found");
5139
5161
  return;
5140
5162
  }
5141
5163
  ti(e).render(b(ye.StrictMode, { children: b(ts, { payTableComponent: n }) }));
5142
5164
  }
5165
+ rs(document.body);
5143
5166
  export {
5144
5167
  Ee as BASE_SOUND_NAMES,
5145
5168
  _t as LOCAL_STORAGE_ITEM_NAMES,
5146
- R as PopupNames,
5169
+ k as PopupNames,
5147
5170
  Ne as autoplayStore,
5148
5171
  Y as betStore,
5149
5172
  Wt as bonusFeatureTypes,
5150
5173
  ge as bonusStore,
5151
- ss as createUi,
5174
+ rs as createUi,
5152
5175
  Jn as defaultDialogButtonsConfigs,
5153
5176
  Oa as defaultDialogs,
5154
5177
  Aa as defaultDialogsNames,
5155
5178
  bt as dialogStore,
5156
5179
  Va as historyStore,
5157
- M as popupStore,
5158
- Pa as resultStore,
5159
- se as settingsStore,
5180
+ P as popupStore,
5181
+ Ma as resultStore,
5182
+ ee as settingsStore,
5160
5183
  K as soundService,
5161
- Dt as uiStore
5184
+ xt as uiStore
5162
5185
  };