narrat 3.13.0 → 3.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -231,8 +231,8 @@ var Kc = { exports: {} };
231
231
  var Ie = void 0, Tt = void 0, zt = !1;
232
232
  try {
233
233
  Ie = ae.then;
234
- } catch (Rt) {
235
- zt = !0, Tt = Rt;
234
+ } catch (Ft) {
235
+ zt = !0, Tt = Ft;
236
236
  }
237
237
  if (Ie === ee && ae._state !== te)
238
238
  this._settledAt(ae._state, pe, ae._result);
@@ -242,8 +242,8 @@ var Kc = { exports: {} };
242
242
  var Qt = new Se(Q);
243
243
  zt ? $(Qt, Tt) : k(Qt, ae, Ie), this._willSettleAt(Qt, pe);
244
244
  } else
245
- this._willSettleAt(new Se(function(Rt) {
246
- return Rt(ae);
245
+ this._willSettleAt(new Se(function(Ft) {
246
+ return Ft(ae);
247
247
  }), pe);
248
248
  } else
249
249
  this._willSettleAt(xe(ae), pe);
@@ -2876,7 +2876,7 @@ function Kt(e) {
2876
2876
  const mu = (e) => e.reduce(
2877
2877
  (t, n) => ({ ...t, [n]: n }),
2878
2878
  {}
2879
- ), hu = (e) => e !== null && typeof e == "object" && typeof e.then == "function" && typeof e.catch == "function", yu = ["music", "ambiant", "sound"], Dl = mu(yu), Lt = bt("audio", {
2879
+ ), hu = (e) => e !== null && typeof e == "object" && typeof e.then == "function" && typeof e.catch == "function", yu = ["music", "ambiant", "sound"], Dl = mu(yu), Dt = bt("audio", {
2880
2880
  state: () => {
2881
2881
  const e = /* @__PURE__ */ new Map();
2882
2882
  for (const t in Dl)
@@ -3057,7 +3057,7 @@ async function dh(e) {
3057
3057
  return e.audioTriggers && (xs = e.audioTriggers), Promise.all(t);
3058
3058
  }
3059
3059
  function Pr(e) {
3060
- xs[e] && Lt().playChannel("sound", xs[e], 0);
3060
+ xs[e] && Dt().playChannel("sound", xs[e], 0);
3061
3061
  }
3062
3062
  async function fh(e, t) {
3063
3063
  return new Promise((n, r) => {
@@ -3080,7 +3080,7 @@ function un(e) {
3080
3080
  return gu[e];
3081
3081
  }
3082
3082
  function mh(e) {
3083
- const t = un(e), { fadeInTime: n } = Fo(e), r = t.play(), s = Lt().audioVolume("music", e);
3083
+ const t = un(e), { fadeInTime: n } = Fo(e), r = t.play(), s = Dt().audioVolume("music", e);
3084
3084
  return t.fade(0, s, n, r), r;
3085
3085
  }
3086
3086
  async function hh(e, t) {
@@ -3413,10 +3413,10 @@ var f = {};
3413
3413
  return Ne(O, "Object") && O.type === "object" && R(O.$id) && i.IsObject(O.properties) && C(O.additionalProperties) && b(O.minProperties) && b(O.maxProperties) && Object.entries(O.properties).every(([I, A]) => k(I) && ht(A));
3414
3414
  }
3415
3415
  N.TObject = Qt;
3416
- function Rt(O) {
3416
+ function Ft(O) {
3417
3417
  return Ne(O, "Promise") && O.type === "Promise" && R(O.$id) && ht(O.item);
3418
3418
  }
3419
- N.TPromise = Rt;
3419
+ N.TPromise = Ft;
3420
3420
  function dr(O) {
3421
3421
  return Ne(O, "Record") && O.type === "object" && R(O.$id) && C(O.additionalProperties) && i.IsObject(O.patternProperties) && ((I) => {
3422
3422
  const A = Object.getOwnPropertyNames(I.patternProperties);
@@ -3432,10 +3432,10 @@ var f = {};
3432
3432
  return Ne(O, "Ref") && R(O.$id) && i.IsString(O.$ref);
3433
3433
  }
3434
3434
  N.TRef = fr;
3435
- function Ft(O) {
3435
+ function Ut(O) {
3436
3436
  return Ne(O, "String") && O.type === "string" && R(O.$id) && b(O.minLength) && b(O.maxLength) && H(O.pattern) && ie(O.format);
3437
3437
  }
3438
- N.TString = Ft;
3438
+ N.TString = Ut;
3439
3439
  function Lr(O) {
3440
3440
  return Ne(O, "Symbol") && O.type === "symbol" && R(O.$id);
3441
3441
  }
@@ -3494,7 +3494,7 @@ var f = {};
3494
3494
  }
3495
3495
  N.TOptional = Rr;
3496
3496
  function ht(O) {
3497
- return i.IsObject(O) && (oe(O) || je(O) || he(O) || Z(O) || F(O) || fe(O) || we(O) || Ee(O) || He(O) || ut(O) || lt(O) || Se(O) || xe(O) || Ie(O) || Tt(O) || zt(O) || Qt(O) || Rt(O) || dr(O) || fr(O) || Ft(O) || Lr(O) || jn(O) || Dr(O) || mt(O) || Mr(O) || Ln(O) || Dn(O) || Ot(O) || Qn(O) || Yn(O) || G(O) && t.Has(O[e.Kind]));
3497
+ return i.IsObject(O) && (oe(O) || je(O) || he(O) || Z(O) || F(O) || fe(O) || we(O) || Ee(O) || He(O) || ut(O) || lt(O) || Se(O) || xe(O) || Ie(O) || Tt(O) || zt(O) || Qt(O) || Ft(O) || dr(O) || fr(O) || Ut(O) || Lr(O) || jn(O) || Dr(O) || mt(O) || Mr(O) || Ln(O) || Dn(O) || Ot(O) || Qn(O) || Yn(O) || G(O) && t.Has(O[e.Kind]));
3498
3498
  }
3499
3499
  N.TSchema = ht;
3500
3500
  })(o || (e.TypeGuard = o = {}));
@@ -3613,7 +3613,7 @@ var f = {};
3613
3613
  function Qt(w) {
3614
3614
  return Ie(w, 0);
3615
3615
  }
3616
- function Rt(w) {
3616
+ function Ft(w) {
3617
3617
  return Ie(w, 0);
3618
3618
  }
3619
3619
  function dr(w) {
@@ -3625,7 +3625,7 @@ var f = {};
3625
3625
  function fr(w) {
3626
3626
  return jn(w);
3627
3627
  }
3628
- function Ft(w) {
3628
+ function Ut(w) {
3629
3629
  const S = e.Type.Number();
3630
3630
  return Ie(w, 0) || Ie(w, 1) && "length" in w.properties && y(me(w.properties.length, S)) === c.True;
3631
3631
  }
@@ -3644,7 +3644,7 @@ var f = {};
3644
3644
  return me(w, S) === c.False || o.TOptional(w) && !o.TOptional(S) ? c.False : c.True;
3645
3645
  }
3646
3646
  function mt(w, S) {
3647
- return o.TUnknown(w) ? c.False : o.TAny(w) ? c.Union : o.TNever(w) || o.TLiteralString(w) && Tt(S) || o.TLiteralNumber(w) && Qt(S) || o.TLiteralBoolean(w) && Rt(S) || o.TSymbol(w) && zt(S) || o.TBigInt(w) && dr(S) || o.TString(w) && Tt(S) || o.TSymbol(w) && zt(S) || o.TNumber(w) && Qt(S) || o.TInteger(w) && Qt(S) || o.TBoolean(w) && Rt(S) || o.TUint8Array(w) && fr(S) || o.TDate(w) && yi(S) || o.TConstructor(w) && Lr(S) || o.TFunction(w) && Ft(S) ? c.True : o.TRecord(w) && o.TString(Ln(w)) ? S[e.Hint] === "Record" ? c.True : c.False : o.TRecord(w) && o.TNumber(Ln(w)) ? Ie(S, 0) ? c.True : c.False : c.False;
3647
+ return o.TUnknown(w) ? c.False : o.TAny(w) ? c.Union : o.TNever(w) || o.TLiteralString(w) && Tt(S) || o.TLiteralNumber(w) && Qt(S) || o.TLiteralBoolean(w) && Ft(S) || o.TSymbol(w) && zt(S) || o.TBigInt(w) && dr(S) || o.TString(w) && Tt(S) || o.TSymbol(w) && zt(S) || o.TNumber(w) && Qt(S) || o.TInteger(w) && Qt(S) || o.TBoolean(w) && Ft(S) || o.TUint8Array(w) && fr(S) || o.TDate(w) && yi(S) || o.TConstructor(w) && Lr(S) || o.TFunction(w) && Ut(S) ? c.True : o.TRecord(w) && o.TString(Ln(w)) ? S[e.Hint] === "Record" ? c.True : c.False : o.TRecord(w) && o.TNumber(Ln(w)) ? Ie(S, 0) ? c.True : c.False : c.False;
3648
3648
  }
3649
3649
  function Mr(w, S) {
3650
3650
  return C(S) ? g(w, S) : o.TRecord(S) ? Ot(w, S) : o.TObject(S) ? (() => {
@@ -4684,9 +4684,9 @@ const Co = "###_--_~=:;_JUMP", fa = "###_--_~=:;_RETURN", Rh = "###_--_~=:;_OK",
4684
4684
  function Fh(e) {
4685
4685
  return e === Co || e === fa || e === Rh || e === ko;
4686
4686
  }
4687
- const Uh = "3.13.0", Bh = /* @__PURE__ */ new Date("2024-08-30T11:56:01.354Z"), Ul = {
4687
+ const Uh = "3.13.1", Bh = /* @__PURE__ */ new Date("2024-08-30T12:34:17.191Z"), Ul = {
4688
4688
  branch: "main",
4689
- commit: "a8d505292dbe783ef55ff887aa645b2e25137176"
4689
+ commit: "8dea6b116909dd2e6fa78baa928ce45b877bfc6a"
4690
4690
  }, Vh = nr.WARN, qh = 400, Oo = 20, zo = "@empty", Bl = {
4691
4691
  background: zo
4692
4692
  }, Hh = f.Type.Optional(
@@ -4774,7 +4774,9 @@ const Uh = "3.13.0", Bh = /* @__PURE__ */ new Date("2024-08-30T11:56:01.354Z"),
4774
4774
  mode: f.Type.String(),
4775
4775
  slots: f.Type.Number(),
4776
4776
  runOnReload: f.Type.Optional(f.Type.String()),
4777
- disabled: f.Type.Optional(f.Type.Boolean())
4777
+ disabled: f.Type.Optional(f.Type.Boolean()),
4778
+ autosaveDisabledOnLabels: f.Type.Optional(f.Type.Array(f.Type.String())),
4779
+ notifyOnSave: f.Type.Optional(f.Type.Boolean())
4778
4780
  }), Nu = f.Type.Array(f.Type.String()), zh = [], Qh = f.Type.Object({
4779
4781
  startMenuScene: f.Type.Optional(f.Type.String()),
4780
4782
  gameScene: f.Type.Optional(f.Type.String()),
@@ -5421,7 +5423,7 @@ Bi.prototype.constructor = Bi;
5421
5423
  Bi.prototype.toString = function(t) {
5422
5424
  return this.name + ": " + bd(this, t);
5423
5425
  };
5424
- var Bt = Bi;
5426
+ var Vt = Bi;
5425
5427
  function ps(e, t, n, r, i) {
5426
5428
  var s = "", o = "", l = Math.floor(i / 2) - 1;
5427
5429
  return r - t > l && (s = " ... ", t = r - l + s.length), n - r > l && (o = " ...", n = r + l - o.length), {
@@ -5490,13 +5492,13 @@ function Qy(e) {
5490
5492
  function Yy(e, t) {
5491
5493
  if (t = t || {}, Object.keys(t).forEach(function(n) {
5492
5494
  if (Wy.indexOf(n) === -1)
5493
- throw new Bt('Unknown option "' + n + '" is met in definition of "' + e + '" YAML type.');
5495
+ throw new Vt('Unknown option "' + n + '" is met in definition of "' + e + '" YAML type.');
5494
5496
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
5495
5497
  return !0;
5496
5498
  }, this.construct = t.construct || function(n) {
5497
5499
  return n;
5498
5500
  }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = Qy(t.styleAliases || null), zy.indexOf(this.kind) === -1)
5499
- throw new Bt('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
5501
+ throw new Vt('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
5500
5502
  }
5501
5503
  var It = Yy;
5502
5504
  function Hl(e, t) {
@@ -5540,17 +5542,17 @@ js.prototype.extend = function(t) {
5540
5542
  else if (t && (Array.isArray(t.implicit) || Array.isArray(t.explicit)))
5541
5543
  t.implicit && (n = n.concat(t.implicit)), t.explicit && (r = r.concat(t.explicit));
5542
5544
  else
5543
- throw new Bt("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
5545
+ throw new Vt("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
5544
5546
  n.forEach(function(s) {
5545
5547
  if (!(s instanceof It))
5546
- throw new Bt("Specified list of YAML types (or a single Type object) contains a non-Type object.");
5548
+ throw new Vt("Specified list of YAML types (or a single Type object) contains a non-Type object.");
5547
5549
  if (s.loadKind && s.loadKind !== "scalar")
5548
- throw new Bt("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
5550
+ throw new Vt("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
5549
5551
  if (s.multi)
5550
- throw new Bt("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
5552
+ throw new Vt("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
5551
5553
  }), r.forEach(function(s) {
5552
5554
  if (!(s instanceof It))
5553
- throw new Bt("Specified list of YAML types (or a single Type object) contains a non-Type object.");
5555
+ throw new Vt("Specified list of YAML types (or a single Type object) contains a non-Type object.");
5554
5556
  });
5555
5557
  var i = Object.create(js.prototype);
5556
5558
  return i.implicit = (this.implicit || []).concat(n), i.explicit = (this.explicit || []).concat(r), i.compiledImplicit = Hl(i, "implicit"), i.compiledExplicit = Hl(i, "explicit"), i.compiledTypeMap = Jy(i.compiledImplicit, i.compiledExplicit), i;
@@ -6012,7 +6014,7 @@ function Gd(e, t) {
6012
6014
  line: e.line,
6013
6015
  column: e.position - e.lineStart
6014
6016
  };
6015
- return n.snippet = Gy(n), new Bt(t, n);
6017
+ return n.snippet = Gy(n), new Vt(t, n);
6016
6018
  }
6017
6019
  function Te(e, t) {
6018
6020
  throw Gd(e, t);
@@ -6392,28 +6394,28 @@ function ev(e, t) {
6392
6394
  if (n.length !== 0) {
6393
6395
  if (n.length === 1)
6394
6396
  return n[0];
6395
- throw new Bt("expected a single document in the stream, but found more");
6397
+ throw new Vt("expected a single document in the stream, but found more");
6396
6398
  }
6397
6399
  }
6398
6400
  var tv = Zg, nv = ev, zd = {
6399
6401
  loadAll: tv,
6400
6402
  load: nv
6401
- }, Qd = Object.prototype.toString, Yd = Object.prototype.hasOwnProperty, Ta = 65279, rv = 9, Vi = 10, iv = 13, ov = 32, sv = 33, av = 34, Ls = 35, lv = 37, cv = 38, uv = 39, dv = 42, Jd = 44, fv = 45, Po = 58, pv = 61, mv = 62, hv = 63, yv = 64, Xd = 91, Zd = 93, gv = 96, ef = 123, vv = 124, tf = 125, Mt = {};
6402
- Mt[0] = "\\0";
6403
- Mt[7] = "\\a";
6404
- Mt[8] = "\\b";
6405
- Mt[9] = "\\t";
6406
- Mt[10] = "\\n";
6407
- Mt[11] = "\\v";
6408
- Mt[12] = "\\f";
6409
- Mt[13] = "\\r";
6410
- Mt[27] = "\\e";
6411
- Mt[34] = '\\"';
6412
- Mt[92] = "\\\\";
6413
- Mt[133] = "\\N";
6414
- Mt[160] = "\\_";
6415
- Mt[8232] = "\\L";
6416
- Mt[8233] = "\\P";
6403
+ }, Qd = Object.prototype.toString, Yd = Object.prototype.hasOwnProperty, Ta = 65279, rv = 9, Vi = 10, iv = 13, ov = 32, sv = 33, av = 34, Ls = 35, lv = 37, cv = 38, uv = 39, dv = 42, Jd = 44, fv = 45, Po = 58, pv = 61, mv = 62, hv = 63, yv = 64, Xd = 91, Zd = 93, gv = 96, ef = 123, vv = 124, tf = 125, Rt = {};
6404
+ Rt[0] = "\\0";
6405
+ Rt[7] = "\\a";
6406
+ Rt[8] = "\\b";
6407
+ Rt[9] = "\\t";
6408
+ Rt[10] = "\\n";
6409
+ Rt[11] = "\\v";
6410
+ Rt[12] = "\\f";
6411
+ Rt[13] = "\\r";
6412
+ Rt[27] = "\\e";
6413
+ Rt[34] = '\\"';
6414
+ Rt[92] = "\\\\";
6415
+ Rt[133] = "\\N";
6416
+ Rt[160] = "\\_";
6417
+ Rt[8232] = "\\L";
6418
+ Rt[8233] = "\\P";
6417
6419
  var _v = [
6418
6420
  "y",
6419
6421
  "Y",
@@ -6449,7 +6451,7 @@ function Sv(e) {
6449
6451
  else if (e <= 4294967295)
6450
6452
  n = "U", r = 8;
6451
6453
  else
6452
- throw new Bt("code point within a string may not be greater than 0xFFFFFFFF");
6454
+ throw new Vt("code point within a string may not be greater than 0xFFFFFFFF");
6453
6455
  return "\\" + n + $t.repeat("0", r - t.length) + t;
6454
6456
  }
6455
6457
  var wv = 1, qi = 2;
@@ -6560,7 +6562,7 @@ function Ev(e, t, n, r, i) {
6560
6562
  case Kr:
6561
6563
  return '"' + Pv(t) + '"';
6562
6564
  default:
6563
- throw new Bt("impossible error: invalid scalar style");
6565
+ throw new Vt("impossible error: invalid scalar style");
6564
6566
  }
6565
6567
  }();
6566
6568
  }
@@ -6601,7 +6603,7 @@ function nc(e, t) {
6601
6603
  }
6602
6604
  function Pv(e) {
6603
6605
  for (var t = "", n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++)
6604
- n = $i(e, i), r = Mt[n], !r && Hi(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || Sv(n);
6606
+ n = $i(e, i), r = Rt[n], !r && Hi(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || Sv(n);
6605
6607
  return t;
6606
6608
  }
6607
6609
  function Nv(e, t, n) {
@@ -6629,7 +6631,7 @@ function jv(e, t, n, r) {
6629
6631
  else if (typeof e.sortKeys == "function")
6630
6632
  o.sort(e.sortKeys);
6631
6633
  else if (e.sortKeys)
6632
- throw new Bt("sortKeys must be a boolean or a function");
6634
+ throw new Vt("sortKeys must be a boolean or a function");
6633
6635
  for (l = 0, u = o.length; l < u; l += 1)
6634
6636
  d = "", (!r || i !== "") && (d += Ds(e, t)), c = o[l], m = n[c], e.replacer && (m = e.replacer.call(n, c, m)), Gn(e, t + 1, c, !0, !0, !0) && (a = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, a && (e.dump && Vi === e.dump.charCodeAt(0) ? d += "?" : d += "? "), d += e.dump, a && (d += Ds(e, t)), Gn(e, t + 1, m, !0, a) && (e.dump && Vi === e.dump.charCodeAt(0) ? d += ":" : d += ": ", d += e.dump, i += d));
6635
6637
  e.tag = s, e.dump = i || "{}";
@@ -6644,7 +6646,7 @@ function ic(e, t, n) {
6644
6646
  else if (Yd.call(l.represent, u))
6645
6647
  r = l.represent[u](t, u);
6646
6648
  else
6647
- throw new Bt("!<" + l.tag + '> tag resolver accepts not "' + u + '" style');
6649
+ throw new Vt("!<" + l.tag + '> tag resolver accepts not "' + u + '" style');
6648
6650
  e.dump = r;
6649
6651
  }
6650
6652
  return !0;
@@ -6670,7 +6672,7 @@ function Gn(e, t, n, r, i, s, o) {
6670
6672
  return !1;
6671
6673
  if (e.skipInvalid)
6672
6674
  return !1;
6673
- throw new Bt("unacceptable kind of an object to dump " + l);
6675
+ throw new Vt("unacceptable kind of an object to dump " + l);
6674
6676
  }
6675
6677
  e.tag !== null && e.tag !== "?" && (c = encodeURI(
6676
6678
  e.tag[0] === "!" ? e.tag.slice(1) : e.tag
@@ -6712,7 +6714,7 @@ function Sa(e, t) {
6712
6714
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
6713
6715
  };
6714
6716
  }
6715
- var Fv = It, Uv = Td, Bv = Cd, Vv = Id, qv = Pd, Hv = va, Kv = zd.load, Gv = zd.loadAll, Wv = Rv.dump, zv = Bt, Qv = {
6717
+ var Fv = It, Uv = Td, Bv = Cd, Vv = Id, qv = Pd, Hv = va, Kv = zd.load, Gv = zd.loadAll, Wv = Rv.dump, zv = Vt, Qv = {
6716
6718
  binary: Dd,
6717
6719
  float: Ed,
6718
6720
  map: $d,
@@ -6838,7 +6840,7 @@ function oc(e, t, n) {
6838
6840
  oldScreen: t
6839
6841
  };
6840
6842
  }
6841
- const Vt = bt("notifications", {
6843
+ const Lt = bt("notifications", {
6842
6844
  state: () => ({ notifications: [], enabled: !0 }),
6843
6845
  actions: {
6844
6846
  async addNotification(e, t, n) {
@@ -6869,7 +6871,7 @@ const Vt = bt("notifications", {
6869
6871
  this.enabled = !0;
6870
6872
  }
6871
6873
  }
6872
- }), Dt = bt("inventory", {
6874
+ }), Mt = bt("inventory", {
6873
6875
  state: () => ({
6874
6876
  items: {},
6875
6877
  interactionTags: {}
@@ -6910,7 +6912,7 @@ const Vt = bt("notifications", {
6910
6912
  const t = this.getExistingItem(e.id);
6911
6913
  t ? t.amount += e.amount : this.items[e.id] = { ...e };
6912
6914
  const n = $n(e.id).name, r = e.amount > 1 ? `${n} x ${e.amount}` : n;
6913
- Vt().addNotification(`Received item: ${r}`);
6915
+ Lt().addNotification(`Received item: ${r}`);
6914
6916
  },
6915
6917
  enableInteraction(e) {
6916
6918
  e || (e = "default"), this.interactionTags[e] = {
@@ -6939,7 +6941,7 @@ const Vt = bt("notifications", {
6939
6941
  },
6940
6942
  remove(e) {
6941
6943
  const t = this.getExistingItem(e.id);
6942
- t && (t.amount -= e.amount, Vt().addNotification(
6944
+ t && (t.amount -= e.amount, Lt().addNotification(
6943
6945
  `Lost item: ${$n(e.id).name} x ${e.amount}`
6944
6946
  ), t.amount <= 0 && this.deleteItem(e.id));
6945
6947
  },
@@ -7065,7 +7067,7 @@ const Vt = bt("notifications", {
7065
7067
  },
7066
7068
  getButtonState(e) {
7067
7069
  const t = Ar(e), n = this.buttons[e], r = t.tag || "default", i = n.state;
7068
- return i === !0 && Dt().isInteractionTagBlocked(r) ? "greyed" : i;
7070
+ return i === !0 && Mt().isInteractionTagBlocked(r) ? "greyed" : i;
7069
7071
  },
7070
7072
  clickOnButton(e) {
7071
7073
  if (!this.isButtonClickable(e))
@@ -8849,7 +8851,7 @@ async function G_(e) {
8849
8851
  Oe().setSaveSlot(e), Ef(Nn().globalSave), gf(), Pe().runGame();
8850
8852
  }
8851
8853
  function gf() {
8852
- Lt().stopAll(), Pr("onPressStart"), Pe().start(), Oe().prepareToPlay(), Me.callHook("onGameStart");
8854
+ Dt().stopAll(), Pr("onPressStart"), Pe().start(), Oe().prepareToPlay(), Me.callHook("onGameStart");
8853
8855
  }
8854
8856
  async function W_(e, t) {
8855
8857
  if (ue().saves.mode === "manual") {
@@ -8860,7 +8862,7 @@ async function W_(e, t) {
8860
8862
  dT({
8861
8863
  gameSave: e.saveData,
8862
8864
  globalSave: Nn().globalSave
8863
- }), Lt().reloadAudio(e.saveData.audio);
8865
+ }), Dt().reloadAudio(e.saveData.audio);
8864
8866
  const n = Pe(), r = ue().saves.runOnReload;
8865
8867
  typeof r == "string" && await Pe().runLabelFunction(r), n.jumpToLabel(e.saveData.vm.lastLabel);
8866
8868
  }
@@ -9203,7 +9205,7 @@ function cb(e, t) {
9203
9205
  const s = bf(e, n);
9204
9206
  let o = 1;
9205
9207
  s.volume && (o = s.volume);
9206
- const l = Lt().audioVolume("sound", r) * o;
9208
+ const l = Dt().audioVolume("sound", r) * o;
9207
9209
  i.volume(l), i.play();
9208
9210
  }
9209
9211
  }
@@ -9212,7 +9214,7 @@ function ub(e) {
9212
9214
  if (t != null && t.soundOnNewLine) {
9213
9215
  const n = un(t.soundOnNewLine);
9214
9216
  if (n) {
9215
- const r = Lt().audioVolume("sound", t.soundOnNewLine);
9217
+ const r = Dt().audioVolume("sound", t.soundOnNewLine);
9216
9218
  n.volume(r), n.play();
9217
9219
  }
9218
9220
  }
@@ -10570,7 +10572,7 @@ function ka({
10570
10572
  slot: r,
10571
10573
  name: t,
10572
10574
  extractedSave: lT()
10573
- });
10575
+ }), ue().saves.notifyOnSave !== !1 && Lt().addNotification("Game Saved");
10574
10576
  }
10575
10577
  function dT(e) {
10576
10578
  uT(e);
@@ -10829,7 +10831,9 @@ const Pe = bt("vm", {
10829
10831
  de("Tried to jump but no target was set");
10830
10832
  return;
10831
10833
  }
10832
- this.hasJumped = !0, this.setStack(t), await ka({}), e = await this.runFrame();
10834
+ this.hasJumped = !0, this.setStack(t);
10835
+ const n = ue().saves.autosaveDisabledOnLabels;
10836
+ (!n || !n.includes(t.label)) && await ka({}), e = await this.runFrame();
10833
10837
  }
10834
10838
  e !== ko && this.stack.length === 0 && this.reachedEndOfScript();
10835
10839
  },
@@ -11313,10 +11317,10 @@ const Oe = bt("main", {
11313
11317
  t !== -1 && (this.alerts[t].resolver(), this.alerts.splice(t, 1));
11314
11318
  },
11315
11319
  startingScript() {
11316
- Dt().onScriptStart(), this.inScript = !0;
11320
+ Mt().onScriptStart(), this.inScript = !0;
11317
11321
  },
11318
11322
  endingScript() {
11319
- Dt().onScriptEnd(), this.inScript = !1;
11323
+ Mt().onScriptEnd(), this.inScript = !1;
11320
11324
  },
11321
11325
  prepareToPlay() {
11322
11326
  this.ready = !0, this.startPlaying(), Jt().goToGameScene();
@@ -12861,14 +12865,14 @@ function XT(e) {
12861
12865
  Ue.validateUnion = XT;
12862
12866
  Object.defineProperty(wn, "__esModule", { value: !0 });
12863
12867
  wn.validateKeywordUsage = wn.validSchemaType = wn.funcKeywordCode = wn.macroKeywordCode = void 0;
12864
- const Ut = Be, _r = xn, ZT = Ue, e0 = Yi;
12868
+ const Bt = Be, _r = xn, ZT = Ue, e0 = Yi;
12865
12869
  function t0(e, t) {
12866
12870
  const { gen: n, keyword: r, schema: i, parentSchema: s, it: o } = e, l = t.macro.call(o.self, i, s, o), u = Qf(n, r, l);
12867
12871
  o.opts.validateSchema !== !1 && o.self.validateSchema(l, !0);
12868
12872
  const c = n.name("valid");
12869
12873
  e.subschema({
12870
12874
  schema: l,
12871
- schemaPath: Ut.nil,
12875
+ schemaPath: Bt.nil,
12872
12876
  errSchemaPath: `${o.errSchemaPath}/${r}`,
12873
12877
  topSchemaRef: u,
12874
12878
  compositeRule: !0
@@ -12891,30 +12895,30 @@ function n0(e, t) {
12891
12895
  }
12892
12896
  function p() {
12893
12897
  const _ = r.let("ruleErrs", null);
12894
- return r.try(() => v((0, Ut._)`await `), (E) => r.assign(a, !1).if((0, Ut._)`${E} instanceof ${u.ValidationError}`, () => r.assign(_, (0, Ut._)`${E}.errors`), () => r.throw(E))), _;
12898
+ return r.try(() => v((0, Bt._)`await `), (E) => r.assign(a, !1).if((0, Bt._)`${E} instanceof ${u.ValidationError}`, () => r.assign(_, (0, Bt._)`${E}.errors`), () => r.throw(E))), _;
12895
12899
  }
12896
12900
  function h() {
12897
- const _ = (0, Ut._)`${m}.errors`;
12898
- return r.assign(_, null), v(Ut.nil), _;
12901
+ const _ = (0, Bt._)`${m}.errors`;
12902
+ return r.assign(_, null), v(Bt.nil), _;
12899
12903
  }
12900
- function v(_ = t.async ? (0, Ut._)`await ` : Ut.nil) {
12904
+ function v(_ = t.async ? (0, Bt._)`await ` : Bt.nil) {
12901
12905
  const E = u.opts.passContext ? _r.default.this : _r.default.self, j = !("compile" in t && !l || t.schema === !1);
12902
- r.assign(a, (0, Ut._)`${_}${(0, ZT.callValidateCode)(e, m, E, j)}`, t.modifying);
12906
+ r.assign(a, (0, Bt._)`${_}${(0, ZT.callValidateCode)(e, m, E, j)}`, t.modifying);
12903
12907
  }
12904
12908
  function T(_) {
12905
12909
  var E;
12906
- r.if((0, Ut.not)((E = t.valid) !== null && E !== void 0 ? E : a), _);
12910
+ r.if((0, Bt.not)((E = t.valid) !== null && E !== void 0 ? E : a), _);
12907
12911
  }
12908
12912
  }
12909
12913
  wn.funcKeywordCode = n0;
12910
12914
  function pc(e) {
12911
12915
  const { gen: t, data: n, it: r } = e;
12912
- t.if(r.parentData, () => t.assign(n, (0, Ut._)`${r.parentData}[${r.parentDataProperty}]`));
12916
+ t.if(r.parentData, () => t.assign(n, (0, Bt._)`${r.parentData}[${r.parentDataProperty}]`));
12913
12917
  }
12914
12918
  function r0(e, t) {
12915
12919
  const { gen: n } = e;
12916
- n.if((0, Ut._)`Array.isArray(${t})`, () => {
12917
- n.assign(_r.default.vErrors, (0, Ut._)`${_r.default.vErrors} === null ? ${t} : ${_r.default.vErrors}.concat(${t})`).assign(_r.default.errors, (0, Ut._)`${_r.default.vErrors}.length`), (0, e0.extendErrors)(e);
12920
+ n.if((0, Bt._)`Array.isArray(${t})`, () => {
12921
+ n.assign(_r.default.vErrors, (0, Bt._)`${_r.default.vErrors} === null ? ${t} : ${_r.default.vErrors}.concat(${t})`).assign(_r.default.errors, (0, Bt._)`${_r.default.vErrors}.length`), (0, e0.extendErrors)(e);
12918
12922
  }, () => e.error());
12919
12923
  }
12920
12924
  function i0({ schemaEnv: e }, t) {
@@ -12924,7 +12928,7 @@ function i0({ schemaEnv: e }, t) {
12924
12928
  function Qf(e, t, n) {
12925
12929
  if (n === void 0)
12926
12930
  throw new Error(`keyword "${t}" failed to compile`);
12927
- return e.scopeValue("keyword", typeof n == "function" ? { ref: n } : { ref: n, code: (0, Ut.stringify)(n) });
12931
+ return e.scopeValue("keyword", typeof n == "function" ? { ref: n } : { ref: n, code: (0, Bt.stringify)(n) });
12928
12932
  }
12929
12933
  function o0(e, t, n = !1) {
12930
12934
  return !t.length || t.some((r) => r === "array" ? Array.isArray(e) : r === "object" ? e && typeof e == "object" && !Array.isArray(e) : typeof e == r || n && typeof e > "u");
@@ -14154,7 +14158,7 @@ var La = {}, qs = { exports: {} };
14154
14158
  function Qt(I) {
14155
14159
  return typeof I.secure == "boolean" ? I.secure : String(I.scheme).toLowerCase() === "wss";
14156
14160
  }
14157
- var Rt = {
14161
+ var Ft = {
14158
14162
  scheme: "ws",
14159
14163
  domainHost: !0,
14160
14164
  parse: function(A, x) {
@@ -14170,10 +14174,10 @@ var La = {}, qs = { exports: {} };
14170
14174
  }
14171
14175
  }, dr = {
14172
14176
  scheme: "wss",
14173
- domainHost: Rt.domainHost,
14174
- parse: Rt.parse,
14175
- serialize: Rt.serialize
14176
- }, yi = {}, fr = "[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]", Ft = "[0-9A-Fa-f]", Lr = i(i("%[EFef]" + Ft + "%" + Ft + Ft + "%" + Ft + Ft) + "|" + i("%[89A-Fa-f]" + Ft + "%" + Ft + Ft) + "|" + i("%" + Ft + Ft)), jn = "[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]", Dr = "[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]", pr = r(Dr, '[\\"\\\\]'), mt = "[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]", Mr = new RegExp(fr, "g"), yn = new RegExp(Lr, "g"), Ln = new RegExp(r("[^]", jn, "[\\.]", '[\\"]', pr), "g"), Dn = new RegExp(r("[^]", fr, mt), "g"), Ot = Dn;
14177
+ domainHost: Ft.domainHost,
14178
+ parse: Ft.parse,
14179
+ serialize: Ft.serialize
14180
+ }, yi = {}, fr = "[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]", Ut = "[0-9A-Fa-f]", Lr = i(i("%[EFef]" + Ut + "%" + Ut + Ut + "%" + Ut + Ut) + "|" + i("%[89A-Fa-f]" + Ut + "%" + Ut + Ut) + "|" + i("%" + Ut + Ut)), jn = "[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]", Dr = "[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]", pr = r(Dr, '[\\"\\\\]'), mt = "[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]", Mr = new RegExp(fr, "g"), yn = new RegExp(Lr, "g"), Ln = new RegExp(r("[^]", jn, "[\\.]", '[\\"]', pr), "g"), Dn = new RegExp(r("[^]", fr, mt), "g"), Ot = Dn;
14177
14181
  function Qn(I) {
14178
14182
  var A = ie(I);
14179
14183
  return A.match(Mr) ? A : I;
@@ -14267,7 +14271,7 @@ var La = {}, qs = { exports: {} };
14267
14271
  return W.nss = (A.uuid || "").toLowerCase(), W;
14268
14272
  }
14269
14273
  };
14270
- R[Tt.scheme] = Tt, R[zt.scheme] = zt, R[Rt.scheme] = Rt, R[dr.scheme] = dr, R[Yn.scheme] = Yn, R[Rr.scheme] = Rr, R[O.scheme] = O, n.SCHEMES = R, n.pctEncChar = H, n.pctDecChars = ie, n.parse = fe, n.removeDotSegments = Ne, n.serialize = G, n.resolveComponents = se, n.resolve = ae, n.normalize = pe, n.equal = Se, n.escapeComponent = xe, n.unescapeComponent = Ie, Object.defineProperty(n, "__esModule", { value: !0 });
14274
+ R[Tt.scheme] = Tt, R[zt.scheme] = zt, R[Ft.scheme] = Ft, R[dr.scheme] = dr, R[Yn.scheme] = Yn, R[Rr.scheme] = Rr, R[O.scheme] = O, n.SCHEMES = R, n.pctEncChar = H, n.pctDecChars = ie, n.parse = fe, n.removeDotSegments = Ne, n.serialize = G, n.resolveComponents = se, n.resolve = ae, n.normalize = pe, n.equal = Se, n.escapeComponent = xe, n.unescapeComponent = Ie, Object.defineProperty(n, "__esModule", { value: !0 });
14271
14275
  });
14272
14276
  })(qs, qs.exports);
14273
14277
  var aS = qs.exports;
@@ -16183,7 +16187,7 @@ function kp(e) {
16183
16187
  console.log("Received HMR update for ", e.default.id);
16184
16188
  const t = e.default;
16185
16189
  if (Op(t))
16186
- Vt().addNotification(
16190
+ Lt().addNotification(
16187
16191
  `Reloaded ${t.fileName}`,
16188
16192
  "You can continue playing with the changes."
16189
16193
  ), Me.addNarratScript(t);
@@ -16606,19 +16610,19 @@ const Pt = bt("quests", {
16606
16610
  },
16607
16611
  startQuest(e) {
16608
16612
  const t = this.getQuest(e);
16609
- t ? (t.state = "unlocked", Vt().addNotification(
16613
+ t ? (t.state = "unlocked", Lt().addNotification(
16610
16614
  `Started quest: ${lr(e).title}`
16611
16615
  )) : de(`Quest ${e} doesn't exist!`);
16612
16616
  },
16613
16617
  startObjective(e, t) {
16614
16618
  const n = this.getObjective(e, t);
16615
- n ? (n.state = "unlocked", Vt().addNotification(
16619
+ n ? (n.state = "unlocked", Lt().addNotification(
16616
16620
  `New quest objective: ${Bo(e, t).description}`
16617
16621
  )) : de(`Objective ${t} doesn't exist in quest ${e}!`);
16618
16622
  },
16619
16623
  completeObjective(e, t) {
16620
16624
  const n = this.getObjective(e, t);
16621
- n ? (n.state = "completed", Vt().addNotification(
16625
+ n ? (n.state = "completed", Lt().addNotification(
16622
16626
  `Completed quest objective: ${Bo(e, t).description}`
16623
16627
  )) : de(`Objective ${t} doesn't exist in quest ${e}!`);
16624
16628
  },
@@ -16631,7 +16635,7 @@ const Pt = bt("quests", {
16631
16635
  n.succeeded = r.success;
16632
16636
  } else
16633
16637
  typeof t == "boolean" ? n.succeeded = t : n.succeeded = !0;
16634
- Vt().addNotification(
16638
+ Lt().addNotification(
16635
16639
  `Completed quest: ${lr(e).title}`
16636
16640
  );
16637
16641
  } else
@@ -16751,7 +16755,7 @@ function Dp(e, t, n) {
16751
16755
  r[i] = n + s;
16752
16756
  }
16753
16757
  function ui() {
16754
- const e = Pe(), t = vt(), n = mn(), r = Dt(), i = Pe().scope, s = {
16758
+ const e = Pe(), t = vt(), n = mn(), r = Mt(), i = Pe().scope, s = {
16755
16759
  data: e.data,
16756
16760
  global: e.globalData,
16757
16761
  skills: t.skills,
@@ -16892,7 +16896,7 @@ const vt = bt("skills", {
16892
16896
  },
16893
16897
  levelledUp(e) {
16894
16898
  const t = qn().skills[e].name, n = this.skills[e].level;
16895
- qn().skillOptions.notifyLevelUp && Vt().addNotification(
16899
+ qn().skillOptions.notifyLevelUp && Lt().addNotification(
16896
16900
  `Your skill in ${t} is now level ${n}`
16897
16901
  );
16898
16902
  }
@@ -18041,15 +18045,14 @@ const TC = /* @__PURE__ */ M("h3", { class: "title" }, "Jump to label", -1), SC
18041
18045
  }
18042
18046
  if (!t.unlocked) {
18043
18047
  const n = (/* @__PURE__ */ new Date()).toISOString();
18044
- t.unlocked = !0, t.unlockTime = n;
18045
- }
18046
- if (Wi().notifyNewAchievements) {
18047
- const n = _l(e);
18048
- Vt().addNotification(
18049
- `New Achievement: ${n.name}`,
18050
- n.description,
18051
- n.icon
18052
- );
18048
+ if (t.unlocked = !0, t.unlockTime = n, Wi().notifyNewAchievements) {
18049
+ const r = _l(e);
18050
+ Lt().addNotification(
18051
+ `New Achievement: ${r.name}`,
18052
+ r.description,
18053
+ r.icon
18054
+ );
18055
+ }
18053
18056
  }
18054
18057
  }
18055
18058
  }
@@ -18092,7 +18095,7 @@ const TC = /* @__PURE__ */ M("h3", { class: "title" }, "Jump to label", -1), SC
18092
18095
  globalSave: "achievements"
18093
18096
  },
18094
18097
  audio: {
18095
- store: Lt,
18098
+ store: Dt,
18096
18099
  config: "audio",
18097
18100
  save: "audio"
18098
18101
  },
@@ -18118,7 +18121,7 @@ const TC = /* @__PURE__ */ M("h3", { class: "title" }, "Jump to label", -1), SC
18118
18121
  store: tt
18119
18122
  },
18120
18123
  inventory: {
18121
- store: Dt,
18124
+ store: Mt,
18122
18125
  config: "items",
18123
18126
  save: "inventory"
18124
18127
  },
@@ -18126,7 +18129,7 @@ const TC = /* @__PURE__ */ M("h3", { class: "title" }, "Jump to label", -1), SC
18126
18129
  store: jt
18127
18130
  },
18128
18131
  notifications: {
18129
- store: Vt,
18132
+ store: Lt,
18130
18133
  config: "common"
18131
18134
  },
18132
18135
  quests: {
@@ -18215,7 +18218,7 @@ const AC = (e) => (Vc("data-v-4598a901"), e = e(), qc(), e), EC = { class: "debu
18215
18218
  }), xC = /* @__PURE__ */ sn(NC, [["__scopeId", "data-v-4598a901"]]);
18216
18219
  let ti;
18217
18220
  async function jC() {
18218
- ti || (ti = (await import("./index-Gx1E8WyM.js")).JSONEditor, console.log(ti));
18221
+ ti || (ti = (await import("./index-YhGcpzut.js")).JSONEditor, console.log(ti));
18219
18222
  }
18220
18223
  const LC = Ce({
18221
18224
  components: {
@@ -18257,7 +18260,7 @@ const LC = Ce({
18257
18260
  async setupJsonEditor() {
18258
18261
  if (Oe().options.debug) {
18259
18262
  await jC();
18260
- const t = Pe(), n = Pt(), r = Dt(), i = vt();
18263
+ const t = Pe(), n = Pt(), r = Mt(), i = vt();
18261
18264
  this.$nextTick(() => {
18262
18265
  new ti({
18263
18266
  target: this.$refs.variablesViewer,
@@ -18564,7 +18567,7 @@ function sk(e, t, n, r, i, s) {
18564
18567
  const ak = /* @__PURE__ */ sn(LC, [["render", sk]]), lk = ["src"], ck = ["innerHTML"], uk = ["innerHTML"], dk = /* @__PURE__ */ Ce({
18565
18568
  __name: "notification-toast",
18566
18569
  setup(e) {
18567
- const t = Vt(), n = V(() => t.notifications), r = (i) => {
18570
+ const t = Lt(), n = V(() => t.notifications), r = (i) => {
18568
18571
  if (i.description)
18569
18572
  return {
18570
18573
  marginTop: "10px"
@@ -18753,7 +18756,7 @@ async function _k(e, t) {
18753
18756
  }
18754
18757
  async function bk() {
18755
18758
  const t = it().scripts;
18756
- Lt().setMasterVolume(rn().options.volume ?? 1), await Pe().loadScripts(t), jt().setup();
18759
+ Dt().setMasterVolume(rn().options.volume ?? 1), await Pe().loadScripts(t), jt().setup();
18757
18760
  for (const [, n] of Me.customStores())
18758
18761
  if (n.setup) {
18759
18762
  const r = n.setup();
@@ -19128,7 +19131,7 @@ const Sk = ["id"], wk = /* @__PURE__ */ Ce({
19128
19131
  "play",
19129
19132
  Jk,
19130
19133
  async (e) => {
19131
- const t = Lt(), { mode: n, audio: r, channel: i } = e.options, s = cs(e, n);
19134
+ const t = Dt(), { mode: n, audio: r, channel: i } = e.options, s = cs(e, n);
19132
19135
  s && t.playChannel(s, r, i ?? 0);
19133
19136
  }
19134
19137
  ), Zk = new q(
@@ -19138,7 +19141,7 @@ const Sk = ["id"], wk = /* @__PURE__ */ Ce({
19138
19141
  { name: "channel", type: "number", optional: !0 }
19139
19142
  ],
19140
19143
  async (e) => {
19141
- const t = Lt(), { mode: n, channel: r } = e.options, i = cs(e, n);
19144
+ const t = Dt(), { mode: n, channel: r } = e.options, i = cs(e, n);
19142
19145
  i && t.resumeChannel(i, r ?? 0);
19143
19146
  }
19144
19147
  ), e1 = new q(
@@ -19148,7 +19151,7 @@ const Sk = ["id"], wk = /* @__PURE__ */ Ce({
19148
19151
  { name: "channel", type: "number", optional: !0 }
19149
19152
  ],
19150
19153
  async (e) => {
19151
- const t = Lt(), { mode: n, channel: r } = e.options, i = cs(e, n);
19154
+ const t = Dt(), { mode: n, channel: r } = e.options, i = cs(e, n);
19152
19155
  i && t.pauseChannel(i, r ?? 0);
19153
19156
  }
19154
19157
  ), t1 = new q(
@@ -19158,7 +19161,7 @@ const Sk = ["id"], wk = /* @__PURE__ */ Ce({
19158
19161
  { name: "channel", type: "number", optional: !0 }
19159
19162
  ],
19160
19163
  async (e) => {
19161
- const t = Lt(), { mode: n, channel: r } = e.options, i = cs(e, n);
19164
+ const t = Dt(), { mode: n, channel: r } = e.options, i = cs(e, n);
19162
19165
  i && t.stopChannel(i, r ?? 0);
19163
19166
  }
19164
19167
  );
@@ -19355,7 +19358,7 @@ const wl = [
19355
19358
  ],
19356
19359
  async (e) => {
19357
19360
  const { id: t, amount: n } = e.options;
19358
- Dt().add({
19361
+ Mt().add({
19359
19362
  id: t,
19360
19363
  amount: n
19361
19364
  });
@@ -19368,7 +19371,7 @@ const wl = [
19368
19371
  ],
19369
19372
  async (e) => {
19370
19373
  const { id: t, amount: n } = e.options;
19371
- Dt().remove({
19374
+ Mt().remove({
19372
19375
  id: t,
19373
19376
  amount: n
19374
19377
  });
@@ -19381,28 +19384,28 @@ const wl = [
19381
19384
  ],
19382
19385
  async (e) => {
19383
19386
  const { id: t, amount: n } = e.options;
19384
- return Dt().hasItem(t, n);
19387
+ return Mt().hasItem(t, n);
19385
19388
  }
19386
19389
  ), y1 = new q(
19387
19390
  "item_amount?",
19388
19391
  [{ name: "id", type: "string" }],
19389
19392
  async (e) => {
19390
19393
  const { id: t } = e.options;
19391
- return Dt().getItemAmount(t);
19394
+ return Mt().getItemAmount(t);
19392
19395
  }
19393
19396
  ), g1 = new q(
19394
19397
  "enable_interaction",
19395
19398
  [{ name: "tag", type: "string" }],
19396
19399
  async (e) => {
19397
19400
  const t = e.options.tag;
19398
- Dt().enableInteraction(t);
19401
+ Mt().enableInteraction(t);
19399
19402
  }
19400
19403
  ), v1 = new q(
19401
19404
  "disable_interaction",
19402
19405
  [{ name: "tag", type: "string" }],
19403
19406
  async (e) => {
19404
19407
  const t = e.options.tag;
19405
- Dt().disableInteraction(t);
19408
+ Mt().disableInteraction(t);
19406
19409
  }
19407
19410
  ), _1 = new q(
19408
19411
  "start_quest",
@@ -19501,19 +19504,19 @@ const wl = [
19501
19504
  ],
19502
19505
  async (e) => {
19503
19506
  const { text: t, icon: n, description: r } = e.options;
19504
- Vt().addNotification(t, r, n);
19507
+ Lt().addNotification(t, r, n);
19505
19508
  }
19506
19509
  ), x1 = new q(
19507
19510
  "disable_notifications",
19508
19511
  [],
19509
19512
  async (e) => {
19510
- Vt().disableNotifications();
19513
+ Lt().disableNotifications();
19511
19514
  }
19512
19515
  ), j1 = new q(
19513
19516
  "enable_notifications",
19514
19517
  [],
19515
19518
  async (e) => {
19516
- Vt().enableNotifications();
19519
+ Lt().enableNotifications();
19517
19520
  }
19518
19521
  ), L1 = new q(
19519
19522
  "clear_dialog",
@@ -20766,7 +20769,7 @@ const jA = Ce({
20766
20769
  };
20767
20770
  },
20768
20771
  mounted() {
20769
- const e = Lt(), t = An.Howler.volume();
20772
+ const e = Dt(), t = An.Howler.volume();
20770
20773
  this.volumes.push({ mode: "master", volume: t }), e.modes.forEach((n, r) => {
20771
20774
  this.volumes.push({
20772
20775
  mode: r,
@@ -20777,7 +20780,7 @@ const jA = Ce({
20777
20780
  methods: {
20778
20781
  changeVolume(e, t) {
20779
20782
  const n = t.target;
20780
- e === "master" ? Lt().setMasterVolume(n.value) : Lt().setModeVolume(e, n.value);
20783
+ e === "master" ? Dt().setMasterVolume(n.value) : Dt().setModeVolume(e, n.value);
20781
20784
  },
20782
20785
  toggleMute() {
20783
20786
  this.muted ? (An.Howler.mute(!1), this.muted = !1) : (An.Howler.mute(!0), this.muted = !0);
@@ -21056,7 +21059,7 @@ const UA = /* @__PURE__ */ sn(jA, [["render", FA]]), BA = { class: "settings-wid
21056
21059
  setup(e, { emit: t }) {
21057
21060
  const n = e, r = le(null), i = V(() => $n(n.item.id)), s = V(() => ({
21058
21061
  backgroundImage: `url(${Wt(i.value.icon)})`
21059
- })), o = t, l = V(() => Dt().canUseItem(n.item));
21062
+ })), o = t, l = V(() => Mt().canUseItem(n.item));
21060
21063
  function u() {
21061
21064
  l.value && o("use");
21062
21065
  }
@@ -21113,7 +21116,7 @@ const UA = /* @__PURE__ */ sn(jA, [["render", FA]]), BA = { class: "settings-wid
21113
21116
  },
21114
21117
  emits: ["close"],
21115
21118
  setup(e, { emit: t }) {
21116
- const n = Dt(), r = V(() => n.items), i = le(!1), s = V(() => i.value ? r.value[i.value] : null);
21119
+ const n = Mt(), r = V(() => n.items), i = le(!1), s = V(() => i.value ? r.value[i.value] : null);
21117
21120
  function o() {
21118
21121
  jt().closeMenu();
21119
21122
  }
@@ -21147,7 +21150,7 @@ const UA = /* @__PURE__ */ sn(jA, [["render", FA]]), BA = { class: "settings-wid
21147
21150
  inputListener: {}
21148
21151
  },
21149
21152
  setup(e) {
21150
- const t = Dt(), n = V(() => t.items), r = V(() => Object.values(n.value).filter((o) => o.amount > 0 ? !0 : !!$n(o.id).showIfEmpty)), i = V(() => {
21153
+ const t = Mt(), n = V(() => t.items), r = V(() => Object.values(n.value).filter((o) => o.amount > 0 ? !0 : !!$n(o.id).showIfEmpty)), i = V(() => {
21151
21154
  const o = it().items.categories, l = [];
21152
21155
  if (o.length > 1) {
21153
21156
  const u = {
@@ -22054,15 +22057,15 @@ const AI = "body{font-size:52px}", EI = {
22054
22057
  timeout: Kt,
22055
22058
  tooltipsConfig: Or,
22056
22059
  useAchievements: hi,
22057
- useAudio: Lt,
22060
+ useAudio: Dt,
22058
22061
  useConfig: Ct,
22059
22062
  useDialogStore: Ke,
22060
22063
  useHud: Xt,
22061
22064
  useInputs: tt,
22062
- useInventory: Dt,
22065
+ useInventory: Mt,
22063
22066
  useMain: Oe,
22064
22067
  useMenu: jt,
22065
- useNotifications: Vt,
22068
+ useNotifications: Lt,
22066
22069
  useQuests: Pt,
22067
22070
  useRenderingStore: gt,
22068
22071
  useScenes: Jt,
@@ -22355,16 +22358,16 @@ export {
22355
22358
  Vf as I,
22356
22359
  Aa as J,
22357
22360
  hn as K,
22358
- Lt as L,
22361
+ Dt as L,
22359
22362
  Ct as M,
22360
22363
  $l as N,
22361
22364
  Ke as O,
22362
22365
  Xt as P,
22363
22366
  tt as Q,
22364
- Dt as R,
22367
+ Mt as R,
22365
22368
  Oe as S,
22366
22369
  jt as T,
22367
- Vt as U,
22370
+ Lt as U,
22368
22371
  Pt as V,
22369
22372
  gt as W,
22370
22373
  on as X,
@@ -22438,4 +22441,4 @@ export {
22438
22441
  vl as y,
22439
22442
  Ar as z
22440
22443
  };
22441
- //# sourceMappingURL=lib-15bAC0zq.js.map
22444
+ //# sourceMappingURL=lib-8JmD9qCn.js.map