@caperjs/core 0.7.3 → 0.7.4

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.
Files changed (64) hide show
  1. package/build/index.mjs +1 -1
  2. package/build/internal/buildFlags.mjs +63 -18
  3. package/build/internal/schema.mjs +53 -0
  4. package/build/plugins/pwa.mjs +13 -7
  5. package/cli/doctor.mjs +53 -2
  6. package/cli/doctor.test.mjs +80 -1
  7. package/cli/native.mjs +105 -11
  8. package/cli/native.test.mjs +184 -0
  9. package/extras/llms.txt +26 -3
  10. package/lib/{CaptionsPlugin-COrofpHN.js → CaptionsPlugin-CAgQBcA1.js} +7 -7
  11. package/lib/{CaptionsPlugin-COrofpHN.js.map → CaptionsPlugin-CAgQBcA1.js.map} +1 -1
  12. package/lib/{DataAdapter-T-22-_D1.js → DataAdapter-CbyqWMo-.js} +5 -5
  13. package/lib/{DataAdapter-T-22-_D1.js.map → DataAdapter-CbyqWMo-.js.map} +1 -1
  14. package/lib/{DebugRenderer-ZN692Pbg.js → DebugRenderer-Bdkpyyt6.js} +2 -2
  15. package/lib/{DebugRenderer-ZN692Pbg.js.map → DebugRenderer-Bdkpyyt6.js.map} +1 -1
  16. package/lib/{DevToolsPlugin-CQXFoj1T.js → DevToolsPlugin-Cq5HHN9K.js} +2 -2
  17. package/lib/{DevToolsPlugin-CQXFoj1T.js.map → DevToolsPlugin-Cq5HHN9K.js.map} +1 -1
  18. package/lib/{GSAPPlugin-CNkncyXS.js → GSAPPlugin-D-ujhVYo.js} +2 -2
  19. package/lib/{GSAPPlugin-CNkncyXS.js.map → GSAPPlugin-D-ujhVYo.js.map} +1 -1
  20. package/lib/{LayoutPlugin-BuJgr9bd.js → LayoutPlugin-DqbwBm-X.js} +4 -4
  21. package/lib/{LayoutPlugin-BuJgr9bd.js.map → LayoutPlugin-DqbwBm-X.js.map} +1 -1
  22. package/lib/{ScreenDebugPlugin-kz9Mr6j1.js → ScreenDebugPlugin-CyT8UxEa.js} +3 -3
  23. package/lib/{ScreenDebugPlugin-kz9Mr6j1.js.map → ScreenDebugPlugin-CyT8UxEa.js.map} +1 -1
  24. package/lib/{SpinePlugin-DDzD-Qxd.js → SpinePlugin-DyXJyA3x.js} +2 -2
  25. package/lib/{SpinePlugin-DDzD-Qxd.js.map → SpinePlugin-DyXJyA3x.js.map} +1 -1
  26. package/lib/{StatsPlugin-tyFGzVjy.js → StatsPlugin-CEhgzWby.js} +4 -4
  27. package/lib/{StatsPlugin-tyFGzVjy.js.map → StatsPlugin-CEhgzWby.js.map} +1 -1
  28. package/lib/{VoiceOverPlugin-rTNz_9eb.js → VoiceOverPlugin-CSpNZjpJ.js} +2 -2
  29. package/lib/{VoiceOverPlugin-rTNz_9eb.js.map → VoiceOverPlugin-CSpNZjpJ.js.map} +1 -1
  30. package/lib/caper.mjs +159 -162
  31. package/lib/caper.mjs.map +1 -1
  32. package/lib/{const-BClauBNo.js → const-Bca54QyV.js} +251 -251
  33. package/lib/{const-BClauBNo.js.map → const-Bca54QyV.js.map} +1 -1
  34. package/lib/core/Application.d.ts +4 -0
  35. package/lib/core/Application.d.ts.map +1 -1
  36. package/lib/core/interfaces/IApplicationOptions.d.ts +21 -0
  37. package/lib/core/interfaces/IApplicationOptions.d.ts.map +1 -1
  38. package/lib/plugins/OrientationPlugin.d.ts +57 -0
  39. package/lib/plugins/OrientationPlugin.d.ts.map +1 -0
  40. package/lib/plugins/OrientationPlugin.test.d.ts +2 -0
  41. package/lib/plugins/OrientationPlugin.test.d.ts.map +1 -0
  42. package/lib/plugins/defaults.d.ts.map +1 -1
  43. package/lib/plugins/index.d.ts +1 -0
  44. package/lib/plugins/index.d.ts.map +1 -1
  45. package/lib/{registries-DmNGVLAi.js → registries-C1nPl8B3.js} +593 -502
  46. package/lib/registries-C1nPl8B3.js.map +1 -0
  47. package/lib/utils/index.d.ts +1 -0
  48. package/lib/utils/index.d.ts.map +1 -1
  49. package/lib/utils/orientation.d.ts +44 -0
  50. package/lib/utils/orientation.test.d.ts +2 -0
  51. package/lib/utils/orientation.test.d.ts.map +1 -0
  52. package/package.json +1 -1
  53. package/src/core/Application.ts +10 -0
  54. package/src/core/interfaces/IApplicationOptions.ts +21 -0
  55. package/src/plugins/OrientationPlugin.test.ts +252 -0
  56. package/src/plugins/OrientationPlugin.ts +178 -0
  57. package/src/plugins/defaults.ts +6 -0
  58. package/src/plugins/index.ts +1 -0
  59. package/src/utils/index.ts +1 -0
  60. package/src/utils/orientation.d.ts +44 -0
  61. package/src/utils/orientation.js +37 -0
  62. package/src/utils/orientation.test.ts +30 -0
  63. package/src/version.ts +1 -1
  64. package/lib/registries-DmNGVLAi.js.map +0 -1
@@ -1,27 +1,27 @@
1
- import { Ft as e, Gt as t, S as n, X as r, bt as i, ct as a, ft as o, g as s, h as c, ht as l, kt as u, m as d, p as f, pt as p, q as m, r as h, vt as ee, xt as te, yt as ne } from "./registries-DmNGVLAi.js";
1
+ import { At as e, Dt as t, Ot as n, Q as r, Rt as i, St as a, Wt as o, Y as s, en as c, g as l, gt as u, h as d, kt as f, m as ee, p, r as m, w as h, wt as te, xt as ne } from "./registries-C1nPl8B3.js";
2
2
  import { t as g } from "./padding-1kHDpGlQ.js";
3
- import { AnimatedSprite as re, Assets as _, BitmapText as v, Graphics as y, HTMLText as ie, ParticleContainer as ae, Sprite as b, Text as x, Texture as oe, TilingSprite as se } from "pixi.js";
4
- import { gsap as S } from "gsap";
3
+ import { AnimatedSprite as re, Assets as _, BitmapText as v, Graphics as y, HTMLText as ie, ParticleContainer as ae, Sprite as oe, Text as b, Texture as se, TilingSprite as ce } from "pixi.js";
4
+ import { gsap as x } from "gsap";
5
5
  //#region src/utils/debug.ts
6
- var C = {
6
+ var S = {
7
7
  bounds: 65535,
8
8
  innerBounds: 65280,
9
9
  outerBounds: 16711680,
10
10
  direction: 16776960,
11
11
  gap: 16711935,
12
12
  region: 30975
13
- }, w = {
13
+ }, C = {
14
14
  stroke: .6,
15
15
  fill: .1,
16
16
  fillActive: .2,
17
17
  crosshair: .5
18
18
  };
19
- function T(e) {
19
+ function w(e) {
20
20
  let t = new y();
21
21
  return t.eventMode = "none", t.interactiveChildren = !1, t.layout = !1, t.label = e ?? "DebugGraphics", t;
22
22
  }
23
- function E(e, t = C.bounds) {
24
- let n = new x({
23
+ function T(e, t = S.bounds) {
24
+ let n = new b({
25
25
  text: e,
26
26
  style: {
27
27
  fontFamily: "monospace",
@@ -35,67 +35,67 @@ function E(e, t = C.bounds) {
35
35
  });
36
36
  return n.eventMode = "none", n.layout = !1, n.label = "DebugLabel", n;
37
37
  }
38
- var D = /* @__PURE__ */ new Map();
39
- function O(e, t, n) {
40
- D.set(e, {
38
+ var E = /* @__PURE__ */ new Map();
39
+ function D(e, t, n) {
40
+ E.set(e, {
41
41
  label: t,
42
42
  color: n
43
43
  });
44
44
  }
45
- function k(e) {
46
- D.delete(e);
45
+ function O(e) {
46
+ E.delete(e);
47
47
  }
48
- function ce() {
49
- return D;
48
+ function le() {
49
+ return E;
50
50
  }
51
51
  //#endregion
52
52
  //#region src/utils/number.ts
53
- function A(e, t = 0) {
53
+ function k(e, t = 0) {
54
54
  return e.toString().padStart(t, "0");
55
55
  }
56
56
  //#endregion
57
57
  //#region src/display/ParticleContainer.ts
58
- var j = [
58
+ var A = [
59
59
  "autoResize",
60
60
  "autoUpdate",
61
61
  "priority"
62
- ], le = {
62
+ ], ue = {
63
63
  autoResize: !0,
64
64
  autoUpdate: !0,
65
65
  priority: 0
66
- }, ue = class extends c(n(ae)) {
67
- constructor(t = {}) {
68
- super(t);
69
- let { autoResize: n, autoUpdate: r, priority: i } = {
70
- ...le,
71
- ...t
66
+ }, de = class extends d(h(ae)) {
67
+ constructor(e = {}) {
68
+ super(e);
69
+ let { autoResize: t, autoUpdate: n, priority: r } = {
70
+ ...ue,
71
+ ...e
72
72
  };
73
- e(this), this._initLifecycle({
74
- autoResize: n,
75
- autoUpdate: r,
76
- resizePriority: i,
77
- updatePriority: i
73
+ o(this), this._initLifecycle({
74
+ autoResize: t,
75
+ autoUpdate: n,
76
+ resizePriority: r,
77
+ updatePriority: r
78
78
  });
79
79
  }
80
80
  update(e) {
81
81
  ae.prototype.update.call(this);
82
82
  }
83
- }, de = class extends y {
83
+ }, fe = class extends y {
84
84
  constructor(e) {
85
85
  super(typeof e == "string" ? _.get(e) : e);
86
86
  let t = this.getLocalBounds();
87
87
  this.pivot.set((t.x + t.width) / 2, (t.y + t.height) / 2);
88
88
  }
89
- }, M;
90
- function N(e, t) {
89
+ }, j;
90
+ function M(e, t) {
91
91
  for (let n in e) try {
92
92
  t[n] = e[n];
93
93
  } catch (e) {
94
- u.warn(`Error setting property ${n}`, e);
94
+ i.warn(`Error setting property ${n}`, e);
95
95
  }
96
96
  }
97
- function P() {
98
- if (!M) {
97
+ function N() {
98
+ if (!j) {
99
99
  let e = new y();
100
100
  e.rect(0, 0, 100, 100), e.fill({ color: 16711680 }), e.stroke({
101
101
  color: 16777215,
@@ -105,59 +105,59 @@ function P() {
105
105
  color: 16777215,
106
106
  width: 2,
107
107
  alignment: .5
108
- }), M = h.getInstance().renderer.generateTexture(e), e.destroy();
108
+ }), j = m.getInstance().renderer.generateTexture(e), e.destroy();
109
109
  }
110
- return M;
110
+ return j;
111
111
  }
112
- function F(e) {
113
- let t, n = e?.asset, r = n, i = e?.sheet;
114
- if (n instanceof oe) t = n;
115
- else if (!i || i?.length === 0) _.cache.has(r) ? t = _.get(r) : _.get(r) ? t = _.get(r).texture : (u.error("Asset \"" + n + "\" not loaded into Pixi cache"), t = P());
116
- else if (_.get(i)) {
117
- let e = _.get(i), a = e.textures;
118
- if (a !== void 0) if (a.hasOwnProperty(r)) t = a[r];
112
+ function P(e) {
113
+ let t, n = e?.asset, r = n, a = e?.sheet;
114
+ if (n instanceof se) t = n;
115
+ else if (!a || a?.length === 0) _.cache.has(r) ? t = _.get(r) : _.get(r) ? t = _.get(r).texture : (i.error("Asset \"" + n + "\" not loaded into Pixi cache"), t = N());
116
+ else if (_.get(a)) {
117
+ let e = _.get(a), o = e.textures;
118
+ if (o !== void 0) if (o.hasOwnProperty(r)) t = o[r];
119
119
  else if (e.linkedSheets !== void 0 && e.linkedSheets.length > 0) {
120
120
  for (let n of e.linkedSheets) if (n.textures !== void 0 && n.textures.hasOwnProperty(r)) {
121
121
  t = n.textures[r];
122
122
  break;
123
123
  }
124
- t === void 0 && (u.error("Asset \"" + n + "\" not found inside spritesheet \"" + n + "' or any of its linked sheets"), t = P());
125
- } else u.error("Asset \"" + n + "\" not found inside spritesheet \"" + i + "'"), t = P();
126
- else u.error("Spritesheet \"" + i + "\" loaded but textures arent?!"), t = P();
127
- } else return u.error("Spritesheet \"" + i + "\" not loaded into Pixi cache"), P();
128
- return t || new b().texture;
124
+ t === void 0 && (i.error("Asset \"" + n + "\" not found inside spritesheet \"" + n + "' or any of its linked sheets"), t = N());
125
+ } else i.error("Asset \"" + n + "\" not found inside spritesheet \"" + a + "'"), t = N();
126
+ else i.error("Spritesheet \"" + a + "\" loaded but textures arent?!"), t = N();
127
+ } else return i.error("Spritesheet \"" + a + "\" not loaded into Pixi cache"), N();
128
+ return t || new oe().texture;
129
129
  }
130
- function I(e, t) {
131
- let n = a(e.position, !1, e.x, e.y);
130
+ function F(e, t) {
131
+ let n = u(e.position, !1, e.x, e.y);
132
132
  t.x = n.x, t.y = n.y;
133
133
  }
134
- function L(e, t) {
134
+ function I(e, t) {
135
135
  if (!e) return;
136
136
  if (e.scale === void 0) {
137
137
  if (e.scaleX === void 0 && e.scaleY === void 0) return;
138
138
  e.scaleX === void 0 && (e.scaleX = 1), e.scaleY === void 0 && (e.scaleY = 1);
139
139
  }
140
- let n = a(e.scale, !1, e.scaleX, e.scaleY);
140
+ let n = u(e.scale, !1, e.scaleX, e.scaleY);
141
141
  t.scale.set(n.x, n.y);
142
142
  }
143
- function R(e, t) {
143
+ function L(e, t) {
144
144
  if (e !== void 0) {
145
- let n = a(e);
145
+ let n = u(e);
146
146
  t.anchor.set(n.x, n.y);
147
147
  }
148
148
  }
149
- function z(e, t) {
149
+ function R(e, t) {
150
150
  if (e !== void 0) {
151
- let n = a(e);
151
+ let n = u(e);
152
152
  t.pivot.set(n.x, n.y);
153
153
  }
154
154
  }
155
155
  //#endregion
156
156
  //#region src/display/AnimatedSprite.ts
157
- var B = class t extends re {
158
- constructor(n) {
159
- let r = n?.animations ?? {}, i = n?.animation ?? Object.keys(r)[0], a = r[i], o = n?.sheet, s = n?.texturePrefix || "", c = n?.zeroPad, l = n?.startIndex ?? 0;
160
- super(t.generateTexturesFromProps(i, a, s, o, c, l), n?.autoUpdate !== !1), this.config = n, this.onAnimationChange = new m(), this.onAnimationStart = new m(), this.onAnimationStop = new m(), this.onAnimationLoop = new m(), this.onAnimationComplete = new m(), this.onAnimationFrameChange = new m(), this.defaultTexturePrefix = "", this._paused = !1, this._isReversed = !1, e(this), this.defaultSheet = o, this.defaultTexturePrefix = s, this.defaultZeroPad = c, this._generateAnimations(), this.currentAnimation = this.defaultAnimation = i, this.autoPlay = n?.autoPlay ?? !0, this.loop = n?.loop ?? !0, this.updateAnchor = n?.updateAnchor ?? !1, this.animationSpeed = this.defaultAnimationSpeed = n?.animationSpeed ?? 1, this.on("added", this._added);
157
+ var z = class r extends re {
158
+ constructor(e) {
159
+ let t = e?.animations ?? {}, n = e?.animation ?? Object.keys(t)[0], i = t[n], a = e?.sheet, c = e?.texturePrefix || "", l = e?.zeroPad, u = e?.startIndex ?? 0;
160
+ super(r.generateTexturesFromProps(n, i, c, a, l, u), e?.autoUpdate !== !1), this.config = e, this.onAnimationChange = new s(), this.onAnimationStart = new s(), this.onAnimationStop = new s(), this.onAnimationLoop = new s(), this.onAnimationComplete = new s(), this.onAnimationFrameChange = new s(), this.defaultTexturePrefix = "", this._paused = !1, this._isReversed = !1, o(this), this.defaultSheet = a, this.defaultTexturePrefix = c, this.defaultZeroPad = l, this._generateAnimations(), this.currentAnimation = this.defaultAnimation = n, this.autoPlay = e?.autoPlay ?? !0, this.loop = e?.loop ?? !0, this.updateAnchor = e?.updateAnchor ?? !1, this.animationSpeed = this.defaultAnimationSpeed = e?.animationSpeed ?? 1, this.on("added", this._added);
161
161
  }
162
162
  get paused() {
163
163
  return this._paused;
@@ -178,11 +178,11 @@ var B = class t extends re {
178
178
  let o = [], s = "", c = t?.sheet ?? r;
179
179
  if (t?.numFrames > 1) {
180
180
  let r = t?.startIndex ?? a ?? 0;
181
- for (let a = r; a < r + t?.numFrames; a++) s = `${n}${t?.texturePrefix ?? e}${A(a, t?.zeroPad ?? i)}`, o.push(F({
181
+ for (let a = r; a < r + t?.numFrames; a++) s = `${n}${t?.texturePrefix ?? e}${k(a, t?.zeroPad ?? i)}`, o.push(P({
182
182
  asset: s,
183
183
  sheet: c
184
184
  }));
185
- } else s = `${n}${t?.texturePrefix ?? e}`, o.push(F({
185
+ } else s = `${n}${t?.texturePrefix ?? e}`, o.push(P({
186
186
  asset: s,
187
187
  sheet: c
188
188
  }));
@@ -204,12 +204,12 @@ var B = class t extends re {
204
204
  super.stop(), this.onAnimationStop?.emit();
205
205
  }
206
206
  nextAnimation() {
207
- let e = i(this._animations, this.currentAnimation) ?? ee(this._animations);
207
+ let e = f(this._animations, this.currentAnimation) ?? t(this._animations);
208
208
  e && this.setAnimation(e[0]);
209
209
  }
210
210
  previousAnimation() {
211
- let e = te(this._animations, this.currentAnimation) ?? ne(this._animations);
212
- e && this.setAnimation(e[0]);
211
+ let t = e(this._animations, this.currentAnimation) ?? n(this._animations);
212
+ t && this.setAnimation(t[0]);
213
213
  }
214
214
  update(e) {
215
215
  this._paused || super.update(e);
@@ -218,10 +218,10 @@ var B = class t extends re {
218
218
  this._animations = /* @__PURE__ */ new Map();
219
219
  let e = this.config?.animations ?? {};
220
220
  if (e) {
221
- for (let [n, r] of Object.entries(e)) this._animations.set(n, t.generateTexturesFromProps(n, r, this.defaultTexturePrefix, this.defaultSheet, this.defaultZeroPad));
222
- if (this.config?.reversible) for (let [n, r] of Object.entries(e)) {
223
- let e = t.generateTexturesFromProps(n, r, this.defaultTexturePrefix, this.defaultSheet, this.defaultZeroPad);
224
- e.reverse(), this._animations.set(`${n}_reverse`, e);
221
+ for (let [t, n] of Object.entries(e)) this._animations.set(t, r.generateTexturesFromProps(t, n, this.defaultTexturePrefix, this.defaultSheet, this.defaultZeroPad));
222
+ if (this.config?.reversible) for (let [t, n] of Object.entries(e)) {
223
+ let e = r.generateTexturesFromProps(t, n, this.defaultTexturePrefix, this.defaultSheet, this.defaultZeroPad);
224
+ e.reverse(), this._animations.set(`${t}_reverse`, e);
225
225
  }
226
226
  }
227
227
  }
@@ -234,7 +234,7 @@ var B = class t extends re {
234
234
  this.onAnimationFrameChange.emit();
235
235
  }, this.autoPlay && this.play();
236
236
  }
237
- }, fe = c(n(s())), V = class extends fe {
237
+ }, pe = d(h(l())), B = class extends pe {
238
238
  get animationNames() {
239
239
  return this.spine.state.data.skeletonData.animations.map((e) => e.name);
240
240
  }
@@ -244,17 +244,17 @@ var B = class t extends re {
244
244
  get elapsedAnimationTime() {
245
245
  return this.currentEntry ? this.currentEntry.trackTime : -1;
246
246
  }
247
- constructor(t) {
248
- super(), this.onAnimationComplete = new m(), this.onAnimationStart = new m(), this.onAnimationInterrupt = new m(), this.onAnimationDispose = new m(), this.onAnimationEnd = new m(), this.onAnimationEvent = new m(), this.onPaused = new m(), this.onResumed = new m(), e(this), this._initLifecycle();
249
- let n = t?.data, r = "";
250
- if (typeof n == "string") {
251
- let e = n.slice(-5);
252
- e !== ".json" && e !== ".skel" ? e = ".json" : n = n.substring(0, n.length - 5), r = {
253
- skeleton: n + e,
254
- atlas: n + ".atlas"
247
+ constructor(e) {
248
+ super(), this.onAnimationComplete = new s(), this.onAnimationStart = new s(), this.onAnimationInterrupt = new s(), this.onAnimationDispose = new s(), this.onAnimationEnd = new s(), this.onAnimationEvent = new s(), this.onPaused = new s(), this.onResumed = new s(), o(this), this._initLifecycle();
249
+ let t = e?.data, n = "";
250
+ if (typeof t == "string") {
251
+ let e = t.slice(-5);
252
+ e !== ".json" && e !== ".skel" ? e = ".json" : t = t.substring(0, t.length - 5), n = {
253
+ skeleton: t + e,
254
+ atlas: t + ".atlas"
255
255
  };
256
256
  }
257
- this.spine = window.Spine.from(r), this.add.existing(this.spine), t && (t.autoUpdate !== void 0 && (this.spine.autoUpdate = t.autoUpdate), t.animationName && this.setAnimation(t.animationName, t.loop, t.trackIndex ?? 0)), this.addSignalConnection(this.app.actions("toggle_pause").connect(this.togglePause)), t?.paused && this.pause(), this._stateListener = {
257
+ this.spine = window.Spine.from(n), this.add.existing(this.spine), e && (e.autoUpdate !== void 0 && (this.spine.autoUpdate = e.autoUpdate), e.animationName && this.setAnimation(e.animationName, e.loop, e.trackIndex ?? 0)), this.addSignalConnection(this.app.actions("toggle_pause").connect(this.togglePause)), e?.paused && this.pause(), this._stateListener = {
258
258
  start: this._handleAnimationStart,
259
259
  interrupt: this._handleAnimationInterrupt,
260
260
  dispose: this._handleAnimationDispose,
@@ -302,13 +302,13 @@ var B = class t extends re {
302
302
  };
303
303
  //#endregion
304
304
  //#region src/mixins/focus.ts
305
- function H(e) {
305
+ function V(e) {
306
306
  return class extends e {
307
307
  constructor(...e) {
308
- super(...e), this.isFocused = !1, this.isKeyDown = !1, this.focusEnabled = !0, this.tabIndex = 0, this.accessible = !1, this.accessibleType = "button", this.accessibleTitle = "Focusable", this.accessibleHint = "Press enter to focus", this.accessiblePointerEvents = "auto", this.accessibleChildren = !0, this.onFocus = new m(), this.onFocusIn = new m(), this.onFocusOut = new m(), this.onBlur = new m(), this._eventsDisabled = !1, this.eventMode = "static", this.on("mouseover", this._onMouseOver), this.on("mousedown", this._onMouseDown), this.on("click", this._handleClick), this.on("tap", this._handleClick);
308
+ super(...e), this.isFocused = !1, this.isKeyDown = !1, this.focusEnabled = !0, this.tabIndex = 0, this.accessible = !1, this.accessibleType = "button", this.accessibleTitle = "Focusable", this.accessibleHint = "Press enter to focus", this.accessiblePointerEvents = "auto", this.accessibleChildren = !0, this.onFocus = new s(), this.onFocusIn = new s(), this.onFocusOut = new s(), this.onBlur = new s(), this._eventsDisabled = !1, this.eventMode = "static", this.on("mouseover", this._onMouseOver), this.on("mousedown", this._onMouseDown), this.on("click", this._handleClick), this.on("tap", this._handleClick);
309
309
  }
310
310
  get app() {
311
- return h.getInstance();
311
+ return m.getInstance();
312
312
  }
313
313
  destroy(e) {
314
314
  this.off("mouseover", this._onMouseOver), this.off("mousedown", this._onMouseDown), this.off("click", this._handleClick), this.off("tap", this._handleClick), super.destroy(e);
@@ -347,17 +347,17 @@ function H(e) {
347
347
  }
348
348
  };
349
349
  }
350
- H.INITTED = !1;
350
+ V.INITTED = !1;
351
351
  //#endregion
352
352
  //#region src/mixins/interaction.ts
353
- function pe(e) {
353
+ function H(e) {
354
354
  return class extends e {
355
355
  constructor(...e) {
356
356
  super(...e), this._signals = /* @__PURE__ */ new Map(), this._emitSignal = this._emitSignal.bind(this), this.eventMode = "static";
357
357
  }
358
358
  onInteraction(e) {
359
359
  if (!this._signals.has(e)) {
360
- let t = new m();
360
+ let t = new s();
361
361
  this._signals.set(e, t), this.on(e, this._emitSignal);
362
362
  }
363
363
  return this._signals.get(e);
@@ -384,22 +384,22 @@ var U = [
384
384
  "enabled",
385
385
  "layout",
386
386
  "textLabel"
387
- ], me = H(pe(n(s()))), W = class extends me {
387
+ ], me = V(H(h(l()))), W = class extends me {
388
388
  get textLabel() {
389
389
  return this._textLabel;
390
390
  }
391
- constructor(t) {
392
- super(), this.onDown = new m(), this.onUp = new m(), this.onUpOutside = new m(), this.onOut = new m(), this.onOver = new m(), this.onClick = new m(), this.onEnabled = new m(), this.onDisabled = new m(), this.onKeyboardEvent = new m(), this.onDestroy = new m(), this._isDownCallbacks = /* @__PURE__ */ new Map(), this._isDownListenerAdded = !1, e(this), this.config = Object.assign({
391
+ constructor(e) {
392
+ super(), this.onDown = new s(), this.onUp = new s(), this.onUpOutside = new s(), this.onOut = new s(), this.onOver = new s(), this.onClick = new s(), this.onEnabled = new s(), this.onDisabled = new s(), this.onKeyboardEvent = new s(), this.onDestroy = new s(), this._isDownCallbacks = /* @__PURE__ */ new Map(), this._isDownListenerAdded = !1, o(this), this.config = Object.assign({
393
393
  id: "button",
394
394
  textures: { default: "" },
395
395
  sheet: void 0,
396
396
  enabled: !0,
397
397
  cursor: "default",
398
398
  disabledCursor: "not-allowed"
399
- }, t), this.id = this.config.id, t.layout === void 0 ? this.layout = !1 : this.layout = t.layout, this.view = this.add.sprite({
399
+ }, e), this.id = this.config.id, e.layout === void 0 ? this.layout = !1 : this.layout = e.layout, this.view = this.add.sprite({
400
400
  asset: this.config.textures.default,
401
401
  sheet: this.config.sheet ?? void 0
402
- }), this.cursor = this.config.cursor, this.enabled = t.enabled !== !1, this.layout?.style.transformOrigin !== "top left" && (this.layout = { transformOrigin: "top left" }, this.app.renderer.layout && this.app.renderer.layout.update(this)), this.config.textLabel && this.addLabel(this.config.textLabel), this.addSignalConnection(this.onInteraction("pointerover").connect(this.handlePointerOver, -1), this.onInteraction("pointerout").connect(this.handlePointerOut, -1), this.onInteraction("pointerup").connect(this.handlePointerUp, -1), this.onInteraction("click").connect(this.handleClick, -1), this.onInteraction("tap").connect(this.handleClick, -1), this.onInteraction("pointerdown").connect(this.handlePointerDown, -1)), this.on("removed", this._resetPressState);
402
+ }), this.cursor = this.config.cursor, this.enabled = e.enabled !== !1, this.layout?.style.transformOrigin !== "top left" && (this.layout = { transformOrigin: "top left" }, this.app.renderer.layout && this.app.renderer.layout.update(this)), this.config.textLabel && this.addLabel(this.config.textLabel), this.addSignalConnection(this.onInteraction("pointerover").connect(this.handlePointerOver, -1), this.onInteraction("pointerout").connect(this.handlePointerOut, -1), this.onInteraction("pointerup").connect(this.handlePointerUp, -1), this.onInteraction("click").connect(this.handleClick, -1), this.onInteraction("tap").connect(this.handleClick, -1), this.onInteraction("pointerdown").connect(this.handlePointerDown, -1)), this.on("removed", this._resetPressState);
403
403
  }
404
404
  set enabled(e) {
405
405
  this._enabled !== e && (this._enabled = e, this.cursor = this._enabled ? this.config.cursor : this.config.disabledCursor, this.focusEnabled = e, this._enabled ? (this.view.texture = this.make.texture({
@@ -414,7 +414,7 @@ var U = [
414
414
  window.removeEventListener("pointerup", this.handlePointerUpOutside), this.off("pointerupoutside", this.handlePointerUpOutside), this.isDown = !1, this._pointerId = void 0;
415
415
  }
416
416
  addLabel(e) {
417
- if (e instanceof x || e instanceof ie || e instanceof v) e.anchor.set(.5, .5), this._textLabel = this.add.existing(e), this._textLabel.layout = !1;
417
+ if (e instanceof b || e instanceof ie || e instanceof v) e.anchor.set(.5, .5), this._textLabel = this.add.existing(e), this._textLabel.layout = !1;
418
418
  else switch (e.anchor = .5, e.type) {
419
419
  case "bitmap":
420
420
  this._textLabel = this.add.bitmapText({
@@ -444,7 +444,7 @@ var U = [
444
444
  return this._enabled;
445
445
  }
446
446
  get app() {
447
- return h.getInstance();
447
+ return m.getInstance();
448
448
  }
449
449
  destroy(e) {
450
450
  this.onDestroy.emit(), this._resetPressState(), this._isDownListenerAdded &&= (this.app.ticker.remove(this._handleIsDownCallbacks), !1), super.destroy(e);
@@ -518,9 +518,9 @@ var U = [
518
518
  e();
519
519
  });
520
520
  }
521
- }, he = n(s());
521
+ }, he = h(l());
522
522
  function ge(e) {
523
- return e instanceof x || e instanceof v;
523
+ return e instanceof b || e instanceof v;
524
524
  }
525
525
  var _e = [
526
526
  "bindTo",
@@ -528,12 +528,12 @@ var _e = [
528
528
  "autoLayoutChildren",
529
529
  "debug"
530
530
  ], G = class extends he {
531
- constructor(t = {}) {
532
- if (super(), this.onLayoutComplete = new m(), this._debugGraphics = null, this._debugLabel = null, !this.app.config.useLayout) throw Error("You must set useLayout to true in your app config to use FlexContainer");
533
- e(this), this.config = {
531
+ constructor(e = {}) {
532
+ if (super(), this.onLayoutComplete = new s(), this._debugGraphics = null, this._debugLabel = null, !this.app.config.useLayout) throw Error("You must set useLayout to true in your app config to use FlexContainer");
533
+ o(this), this.config = {
534
534
  autoLayoutChildren: !0,
535
- ...t
536
- }, this.layout = this.createLayout(t), this.on("added", this.handleAdded), this.on("childAdded", this.handleChildAdded), this.on("childRemoved", this.handleChildRemoved), this.config.bindToAppSize && this.app.onResize.connect(this.handleResize), this.config.bindTo && "on" in this.config.bindTo && this.config.bindTo.on("layout", this.handleBindToResize);
535
+ ...e
536
+ }, this.layout = this.createLayout(e), this.on("added", this.handleAdded), this.on("childAdded", this.handleChildAdded), this.on("childRemoved", this.handleChildRemoved), this.config.bindToAppSize && this.app.onResize.connect(this.handleResize), this.config.bindTo && "on" in this.config.bindTo && this.config.bindTo.on("layout", this.handleBindToResize);
537
537
  }
538
538
  createLayout(e) {
539
539
  e?.layout === !0 && (e.layout = {});
@@ -547,10 +547,10 @@ var _e = [
547
547
  this.app.ticker.addOnce(this.updateLayout);
548
548
  }
549
549
  handleChildAdded(e) {
550
- this.config.autoLayoutChildren && (e.layout ? ge(e) && !e.layout?.style?.isLeaf && (e.layout = { isLeaf: !0 }) : e.layout = { isLeaf: !0 }), f.childAdded(e), e.on("layout", this._updateLayout), this._updateLayout();
550
+ this.config.autoLayoutChildren && (e.layout ? ge(e) && !e.layout?.style?.isLeaf && (e.layout = { isLeaf: !0 }) : e.layout = { isLeaf: !0 }), p.childAdded(e), e.on("layout", this._updateLayout), this._updateLayout();
551
551
  }
552
552
  handleChildRemoved(e) {
553
- e.off("layout", this._updateLayout), f.childRemoved(e), this._updateLayout();
553
+ e.off("layout", this._updateLayout), p.childRemoved(e), this._updateLayout();
554
554
  }
555
555
  handleResize() {
556
556
  this.config.bindToAppSize && (this.layout = {
@@ -568,7 +568,7 @@ var _e = [
568
568
  this.destroyed || !this.layout || !this.app?.renderer.layout || (this.app.renderer.layout.update(this), this.onLayoutComplete.emit(), this.config.debug && this.drawDebug());
569
569
  }
570
570
  get app() {
571
- return h.getInstance();
571
+ return m.getInstance();
572
572
  }
573
573
  configure(e) {
574
574
  this.layout = e, this._updateLayout();
@@ -694,39 +694,39 @@ var _e = [
694
694
  return this.config.debug ?? !1;
695
695
  }
696
696
  set debug(e) {
697
- this.config.debug = e, e ? (O(`FlexContainer:${this.uid}`, this.label || "FlexContainer", C.bounds), this.drawDebug()) : (k(`FlexContainer:${this.uid}`), this._debugGraphics && this._debugGraphics.clear(), this._debugLabel && (this._debugLabel.visible = !1));
697
+ this.config.debug = e, e ? (D(`FlexContainer:${this.uid}`, this.label || "FlexContainer", S.bounds), this.drawDebug()) : (O(`FlexContainer:${this.uid}`), this._debugGraphics && this._debugGraphics.clear(), this._debugLabel && (this._debugLabel.visible = !1));
698
698
  }
699
699
  drawDebug() {
700
- (!this._debugGraphics || this._debugGraphics.parent !== this) && (this._debugGraphics ||= T(`${this.label ?? "FlexContainer"}:debug`), this.addChild(this._debugGraphics), this._debugGraphics.layout = !1), (!this._debugLabel || this._debugLabel.parent !== this) && (this._debugLabel ||= E(this.label || "FlexContainer", C.bounds), this.addChild(this._debugLabel), this._debugLabel.layout = !1), this._debugLabel.text = this.label || "FlexContainer", this._debugLabel.visible = !0, this.setChildIndex(this._debugGraphics, this.children.length - 1), this.setChildIndex(this._debugLabel, this.children.length - 1), this._debugGraphics.clear();
700
+ (!this._debugGraphics || this._debugGraphics.parent !== this) && (this._debugGraphics ||= w(`${this.label ?? "FlexContainer"}:debug`), this.addChild(this._debugGraphics), this._debugGraphics.layout = !1), (!this._debugLabel || this._debugLabel.parent !== this) && (this._debugLabel ||= T(this.label || "FlexContainer", S.bounds), this.addChild(this._debugLabel), this._debugLabel.layout = !1), this._debugLabel.text = this.label || "FlexContainer", this._debugLabel.visible = !0, this.setChildIndex(this._debugGraphics, this.children.length - 1), this.setChildIndex(this._debugLabel, this.children.length - 1), this._debugGraphics.clear();
701
701
  let e = this.layout?.computedLayout;
702
702
  if (!e) return;
703
703
  let t = e.width, n = e.height, r = this.layout?.style?.flexDirection ?? "row", i = this.layout?.style?.gap ?? 0;
704
704
  this._debugGraphics.rect(0, 0, t, n).stroke({
705
705
  width: 1,
706
- color: C.bounds,
707
- alpha: w.stroke,
706
+ color: S.bounds,
707
+ alpha: C.stroke,
708
708
  pixelLine: !0
709
709
  });
710
710
  let a = this.layout?.style?.paddingTop ?? 0, o = this.layout?.style?.paddingRight ?? 0, s = this.layout?.style?.paddingBottom ?? 0, c = this.layout?.style?.paddingLeft ?? 0;
711
711
  a > 0 && this._debugGraphics.rect(0, 0, t, a).fill({
712
- color: C.outerBounds,
713
- alpha: w.fill
712
+ color: S.outerBounds,
713
+ alpha: C.fill
714
714
  }), s > 0 && this._debugGraphics.rect(0, n - s, t, s).fill({
715
- color: C.outerBounds,
716
- alpha: w.fill
715
+ color: S.outerBounds,
716
+ alpha: C.fill
717
717
  }), c > 0 && this._debugGraphics.rect(0, a, c, n - a - s).fill({
718
- color: C.outerBounds,
719
- alpha: w.fill
718
+ color: S.outerBounds,
719
+ alpha: C.fill
720
720
  }), o > 0 && this._debugGraphics.rect(t - o, a, o, n - a - s).fill({
721
- color: C.outerBounds,
722
- alpha: w.fill
721
+ color: S.outerBounds,
722
+ alpha: C.fill
723
723
  });
724
724
  let l = Math.min(t, n, 40), u = t / 2, d = n / 2, f = r === "row" || r === "row-reverse";
725
725
  if (f) {
726
726
  let e = r === "row" ? 1 : -1, t = u - e * l / 2, n = u + e * l / 2;
727
727
  this._debugGraphics.moveTo(t, d).lineTo(n, d).moveTo(n, d).lineTo(n - e * 6, d - 4).moveTo(n, d).lineTo(n - e * 6, d + 4).stroke({
728
728
  width: 1,
729
- color: C.direction,
729
+ color: S.direction,
730
730
  alpha: .8,
731
731
  pixelLine: !0
732
732
  });
@@ -734,7 +734,7 @@ var _e = [
734
734
  let e = r === "column" ? 1 : -1, t = d - e * l / 2, n = d + e * l / 2;
735
735
  this._debugGraphics.moveTo(u, t).lineTo(u, n).moveTo(u, n).lineTo(u - 4, n - e * 6).moveTo(u, n).lineTo(u + 4, n - e * 6).stroke({
736
736
  width: 1,
737
- color: C.direction,
737
+ color: S.direction,
738
738
  alpha: .8,
739
739
  pixelLine: !0
740
740
  });
@@ -746,14 +746,14 @@ var _e = [
746
746
  if (f) {
747
747
  let e = a.left + a.width;
748
748
  this._debugGraphics.rect(e, 0, i, n).fill({
749
- color: C.gap,
750
- alpha: w.fill
749
+ color: S.gap,
750
+ alpha: C.fill
751
751
  });
752
752
  } else {
753
753
  let e = a.top + a.height;
754
754
  this._debugGraphics.rect(0, e, t, i).fill({
755
- color: C.gap,
756
- alpha: w.fill
755
+ color: S.gap,
756
+ alpha: C.fill
757
757
  });
758
758
  }
759
759
  }
@@ -762,7 +762,7 @@ var _e = [
762
762
  let t = e.layout.computedLayout;
763
763
  this._debugGraphics.rect(t.left, t.top, t.width, t.height).stroke({
764
764
  width: 1,
765
- color: C.innerBounds,
765
+ color: S.innerBounds,
766
766
  alpha: .4,
767
767
  pixelLine: !0
768
768
  });
@@ -770,7 +770,7 @@ var _e = [
770
770
  this._debugLabel.position.set(2, 2);
771
771
  }
772
772
  destroy() {
773
- this.config.debug && k(`FlexContainer:${this.uid}`), this._debugGraphics &&= (this._debugGraphics.destroy(), null), this._debugLabel &&= (this._debugLabel.destroy(), null), this.off("added", this.handleAdded), this.off("childAdded", this.handleChildAdded), this.off("childRemoved", this.handleChildRemoved), this.config.bindToAppSize && this.app.onResize.disconnect(this.handleResize), this.config.bindTo && "off" in this.config.bindTo && this.config.bindTo.off("layout", this.handleBindToResize), super.destroy();
773
+ this.config.debug && O(`FlexContainer:${this.uid}`), this._debugGraphics &&= (this._debugGraphics.destroy(), null), this._debugLabel &&= (this._debugLabel.destroy(), null), this.off("added", this.handleAdded), this.off("childAdded", this.handleChildAdded), this.off("childRemoved", this.handleChildRemoved), this.config.bindToAppSize && this.app.onResize.disconnect(this.handleResize), this.config.bindTo && "off" in this.config.bindTo && this.config.bindTo.off("layout", this.handleBindToResize), super.destroy();
774
774
  }
775
775
  }, K = {
776
776
  type: "info",
@@ -810,7 +810,7 @@ var _e = [
810
810
  warning: 15844367,
811
811
  error: 15158332
812
812
  }
813
- }, ve = class extends n(f) {
813
+ }, ve = class extends h(p) {
814
814
  set toaster(e) {
815
815
  this._toaster = e;
816
816
  }
@@ -821,7 +821,7 @@ var _e = [
821
821
  this.textDisplay.text = e, this.alignText();
822
822
  }
823
823
  constructor(e = {}) {
824
- super(), this.onToastClosed = new m(), this.isHiding = !1, this.config = {
824
+ super(), this.onToastClosed = new s(), this.isHiding = !1, this.config = {
825
825
  ...K,
826
826
  ...e
827
827
  }, this.initialize();
@@ -883,7 +883,7 @@ var _e = [
883
883
  }
884
884
  }
885
885
  getShowAnimation() {
886
- let e = S.timeline({ paused: !0 });
886
+ let e = x.timeline({ paused: !0 });
887
887
  return e.to(this, {
888
888
  alpha: 1,
889
889
  duration: .4,
@@ -891,7 +891,7 @@ var _e = [
891
891
  }), e;
892
892
  }
893
893
  getHideAnimation() {
894
- let e = S.timeline({ paused: !0 });
894
+ let e = x.timeline({ paused: !0 });
895
895
  return e.to(this, {
896
896
  alpha: 0,
897
897
  duration: .25,
@@ -914,7 +914,7 @@ var _e = [
914
914
  return this;
915
915
  }
916
916
  destroy() {
917
- this.isHiding = !0, this.closeTimeout &&= (clearTimeout(this.closeTimeout), void 0), S.killTweensOf(this), this.timeline &&= (this.timeline.kill(), void 0), !this.destroyed && !this.isHiding && this.onToastClosed.emit(), super.destroy({ children: !0 });
917
+ this.isHiding = !0, this.closeTimeout &&= (clearTimeout(this.closeTimeout), void 0), x.killTweensOf(this), this.timeline &&= (this.timeline.kill(), void 0), !this.destroyed && !this.isHiding && this.onToastClosed.emit(), super.destroy({ children: !0 });
918
918
  }
919
919
  }, ye = {
920
920
  position: "bottom right",
@@ -926,7 +926,7 @@ var _e = [
926
926
  },
927
927
  stackDirection: "up",
928
928
  animationSpeed: 1
929
- }, be = class extends n(f) {
929
+ }, be = class extends h(p) {
930
930
  get size() {
931
931
  return this.toasts.length;
932
932
  }
@@ -952,7 +952,7 @@ var _e = [
952
952
  return this.defaultToastConfig ?? {};
953
953
  }
954
954
  constructor(e = {}, t = {}) {
955
- super({ autoResize: !0 }), this.onToastAdded = new m(), this.onToastRemoved = new m(), this.onAllToastsRemoved = new m(), this.toasts = [], this.config = {
955
+ super({ autoResize: !0 }), this.onToastAdded = new s(), this.onToastRemoved = new s(), this.onAllToastsRemoved = new s(), this.toasts = [], this.config = {
956
956
  ...ye,
957
957
  ...e
958
958
  }, this.defaultToastConfig = { ...t }, this.initialize(), this.resize();
@@ -1035,7 +1035,7 @@ var _e = [
1035
1035
  }
1036
1036
  o === "down" ? u += t * (e.height + i) : u -= t * (e.height + i);
1037
1037
  try {
1038
- n ? S.to(e, {
1038
+ n ? x.to(e, {
1039
1039
  x: l,
1040
1040
  y: u,
1041
1041
  duration: .3 / this.config.animationSpeed,
@@ -1050,7 +1050,7 @@ var _e = [
1050
1050
  }
1051
1051
  destroy() {
1052
1052
  this.toasts.forEach((e) => {
1053
- S.killTweensOf(e);
1053
+ x.killTweensOf(e);
1054
1054
  }), this.hideAll(), this.toasts = [], super.destroy({ children: !0 });
1055
1055
  }
1056
1056
  }, q = [
@@ -1086,33 +1086,33 @@ var we = {
1086
1086
  flexGrow: 0,
1087
1087
  flexShrink: 0,
1088
1088
  autoLayoutChildren: !0
1089
- }, Te = n(s()), J = class t extends Te {
1090
- constructor(t) {
1089
+ }, Te = h(l()), Ee = class e extends Te {
1090
+ constructor(e) {
1091
1091
  if (super(), this.settingsMap = /* @__PURE__ */ new Map(), this._childMap = /* @__PURE__ */ new Map(), this._debugGraphics = null, this._debugLabel = null, this._regionLabels = [], this._disableAddChildError = !1, this._bindings = [], this._canvasChildren = [], this.removeChildren = (e, t) => super.removeChildren(e, t), this.removeChildAt = (e) => super.removeChildAt(e), this.addChildAt = (e, t) => {
1092
1092
  throw Error("UICanvas: Do not call addChildAt() directly. Use addElement(child, { align }) instead.\nExample: uiCanvas.addElement(myChild, { align: 'top right' })");
1093
1093
  }, this.setChildIndex = (e, t) => {
1094
1094
  throw Error("UICanvas: Do not call setChildIndex() directly. Use reorderElement(child, index), bringToFront(child), or sendToBack(child) instead.\nExample: uiCanvas.reorderElement(myChild, 0)");
1095
1095
  }, this.getChildIndex = (e) => super.getChildIndex(e), this.getChildAt = (e) => super.getChildAt(e), !this.app.config.useLayout) throw Error("You must set useLayout to true in your app config to use UICanvas");
1096
- e(this), this._positionContainers = /* @__PURE__ */ new Map(), this.config = {
1097
- debug: t.debug === !0,
1098
- padding: g(t?.padding ?? 0),
1099
- size: t.size === void 0 ? {
1096
+ o(this), this._positionContainers = /* @__PURE__ */ new Map(), this.config = {
1097
+ debug: e.debug === !0,
1098
+ padding: g(e?.padding ?? 0),
1099
+ size: e.size === void 0 ? {
1100
1100
  width: 0,
1101
1101
  height: 0
1102
- } : l(t.size),
1103
- useAppSize: t.useAppSize === !0,
1104
- useSafeArea: t.useSafeArea ?? !0,
1105
- autoLayoutChildren: t.autoLayoutChildren ?? !0
1106
- }, t.layout ? typeof t.layout == "boolean" ? this.config.layout = t.layout : this.config.layout = {
1102
+ } : te(e.size),
1103
+ useAppSize: e.useAppSize === !0,
1104
+ useSafeArea: e.useSafeArea ?? !0,
1105
+ autoLayoutChildren: e.autoLayoutChildren ?? !0
1106
+ }, e.layout ? typeof e.layout == "boolean" ? this.config.layout = e.layout : this.config.layout = {
1107
1107
  ...we,
1108
- ...t.layout
1108
+ ...e.layout
1109
1109
  } : this.config.layout = { ...we }, this.config.useAppSize && (this.config.size = this.app.size), this.layout = {
1110
1110
  width: this.config.size.width,
1111
1111
  height: this.config.size.height,
1112
1112
  flexDirection: "column",
1113
1113
  justifyContent: "space-between",
1114
1114
  ...typeof this.config.layout == "object" ? this.config.layout : {}
1115
- }, this.on("childRemoved", this._childRemoved), this.once("added", this._added), this.addSignalConnection(this.app.onResize.connect(this.resize)), this._initializeLayout(), this._updateLayout(), this.config.debug && O(`UICanvas:${this.uid}`, this.label || "UICanvas", C.outerBounds);
1115
+ }, this.on("childRemoved", this._childRemoved), this.once("added", this._added), this.addSignalConnection(this.app.onResize.connect(this.resize)), this._initializeLayout(), this._updateLayout(), this.config.debug && D(`UICanvas:${this.uid}`, this.label || "UICanvas", S.outerBounds);
1116
1116
  }
1117
1117
  _updateLayout() {
1118
1118
  this.app.ticker.addOnce(this.updateLayout);
@@ -1211,10 +1211,10 @@ var we = {
1211
1211
  return this._canvasChildren;
1212
1212
  }
1213
1213
  get app() {
1214
- return h.getInstance();
1214
+ return m.getInstance();
1215
1215
  }
1216
1216
  destroy() {
1217
- this._disableAddChildError = !0, this.config.debug && k(`UICanvas:${this.uid}`), this._debugGraphics &&= (this._debugGraphics.destroy(), null), this._debugLabel &&= (this._debugLabel.destroy(), null);
1217
+ this._disableAddChildError = !0, this.config.debug && O(`UICanvas:${this.uid}`), this._debugGraphics &&= (this._debugGraphics.destroy(), null), this._debugLabel &&= (this._debugLabel.destroy(), null);
1218
1218
  for (let e of this._regionLabels) e.destroy();
1219
1219
  this._regionLabels = [], this.canvasChildren?.forEach((e) => {
1220
1220
  e.off("layout", this._updateLayout);
@@ -1228,7 +1228,7 @@ var we = {
1228
1228
  this.config.size = e === void 0 ? {
1229
1229
  width: 0,
1230
1230
  height: 0
1231
- } : l(e), this.layout = {
1231
+ } : te(e), this.layout = {
1232
1232
  width: this.config.size.width,
1233
1233
  height: this.config.size.height
1234
1234
  }, this.updateLayout();
@@ -1299,9 +1299,9 @@ var we = {
1299
1299
  height: t.height
1300
1300
  };
1301
1301
  }
1302
- addElement(e, n) {
1303
- let r = n?.align ?? "top left", i = this._positionContainers.get(r);
1304
- return i ? (t.isFlexContainer(e) && this.addSignalConnection(e.onLayoutComplete.connect(this._updateLayout)), this.settingsMap.set(e, {
1302
+ addElement(t, n) {
1303
+ let r = n?.align ?? "top left", a = this._positionContainers.get(r);
1304
+ return a ? (e.isFlexContainer(t) && this.addSignalConnection(t.onLayoutComplete.connect(this._updateLayout)), this.settingsMap.set(t, {
1305
1305
  align: r,
1306
1306
  padding: n?.padding ? g(n.padding) : {
1307
1307
  top: 0,
@@ -1309,7 +1309,7 @@ var we = {
1309
1309
  bottom: 0,
1310
1310
  right: 0
1311
1311
  }
1312
- }), this._childMap.set(e, i), this._canvasChildren = Array.from(this._childMap.keys()), i.add.existing(e), this._childAdded(e), e) : (u.error(`UICanvas:: Invalid position "${r}" for element`), e);
1312
+ }), this._childMap.set(t, a), this._canvasChildren = Array.from(this._childMap.keys()), a.add.existing(t), this._childAdded(t), t) : (i.error(`UICanvas:: Invalid position "${r}" for element`), t);
1313
1313
  }
1314
1314
  removeElement(e) {
1315
1315
  let t = this._childMap.get(e);
@@ -1330,10 +1330,10 @@ var we = {
1330
1330
  return this.reorderElement(e, 0);
1331
1331
  }
1332
1332
  _childAdded(e) {
1333
- this.config.autoLayoutChildren && (e.layout ||= !0, e.layout?.style?.width || (e.layout = { width: "auto" }), e.layout?.style?.height || (e.layout = { height: "auto" })), e.on("layout", this._updateLayout), f.childAdded(e), this._updateLayout();
1333
+ this.config.autoLayoutChildren && (e.layout ||= !0, e.layout?.style?.width || (e.layout = { width: "auto" }), e.layout?.style?.height || (e.layout = { height: "auto" })), e.on("layout", this._updateLayout), p.childAdded(e), this._updateLayout();
1334
1334
  }
1335
1335
  _childRemoved(e) {
1336
- this.settingsMap.delete(e), this._childMap.delete(e), this._canvasChildren = Array.from(this._childMap.keys()), f.childRemoved(e);
1336
+ this.settingsMap.delete(e), this._childMap.delete(e), this._canvasChildren = Array.from(this._childMap.keys()), p.childRemoved(e);
1337
1337
  }
1338
1338
  _added() {
1339
1339
  this._updateLayout();
@@ -1342,38 +1342,38 @@ var we = {
1342
1342
  return this.config.debug;
1343
1343
  }
1344
1344
  set debug(e) {
1345
- if (this.config.debug = e, e) O(`UICanvas:${this.uid}`, this.label || "UICanvas", C.outerBounds), this.drawDebug();
1345
+ if (this.config.debug = e, e) D(`UICanvas:${this.uid}`, this.label || "UICanvas", S.outerBounds), this.drawDebug();
1346
1346
  else {
1347
- k(`UICanvas:${this.uid}`), this._debugGraphics && this._debugGraphics.clear(), this._debugLabel && (this._debugLabel.visible = !1);
1347
+ O(`UICanvas:${this.uid}`), this._debugGraphics && this._debugGraphics.clear(), this._debugLabel && (this._debugLabel.visible = !1);
1348
1348
  for (let e of this._regionLabels) e.visible = !1;
1349
1349
  }
1350
1350
  }
1351
1351
  drawDebug() {
1352
- this._debugGraphics || (this._disableAddChildError = !0, this._debugGraphics = T(`${this.label ?? "UICanvas"}:debug`), super.addChild(this._debugGraphics), this._debugGraphics.layout = !1, this._disableAddChildError = !1), this._debugLabel || (this._disableAddChildError = !0, this._debugLabel = E(this.label || "UICanvas", C.outerBounds), super.addChild(this._debugLabel), this._debugLabel.layout = !1, this._disableAddChildError = !1), this._debugLabel.text = this.label || "UICanvas", this._debugLabel.visible = !0, this._debugLabel.position.set(2, 2), this._debugGraphics.clear();
1352
+ this._debugGraphics || (this._disableAddChildError = !0, this._debugGraphics = w(`${this.label ?? "UICanvas"}:debug`), super.addChild(this._debugGraphics), this._debugGraphics.layout = !1, this._disableAddChildError = !1), this._debugLabel || (this._disableAddChildError = !0, this._debugLabel = T(this.label || "UICanvas", S.outerBounds), super.addChild(this._debugLabel), this._debugLabel.layout = !1, this._disableAddChildError = !1), this._debugLabel.text = this.label || "UICanvas", this._debugLabel.visible = !0, this._debugLabel.position.set(2, 2), this._debugGraphics.clear();
1353
1353
  let e = this.config.size.width, t = this.config.size.height, n = this.config.padding;
1354
1354
  this._debugGraphics.rect(0, 0, e, t).stroke({
1355
1355
  width: 1,
1356
- color: C.outerBounds,
1357
- alpha: w.stroke,
1356
+ color: S.outerBounds,
1357
+ alpha: C.stroke,
1358
1358
  pixelLine: !0
1359
1359
  }), n.top > 0 && this._debugGraphics.rect(0, 0, e, n.top).fill({
1360
- color: C.outerBounds,
1361
- alpha: w.fill
1360
+ color: S.outerBounds,
1361
+ alpha: C.fill
1362
1362
  }), n.bottom > 0 && this._debugGraphics.rect(0, t - n.bottom, e, n.bottom).fill({
1363
- color: C.outerBounds,
1364
- alpha: w.fill
1363
+ color: S.outerBounds,
1364
+ alpha: C.fill
1365
1365
  }), n.left > 0 && this._debugGraphics.rect(0, n.top, n.left, t - n.top - n.bottom).fill({
1366
- color: C.outerBounds,
1367
- alpha: w.fill
1366
+ color: S.outerBounds,
1367
+ alpha: C.fill
1368
1368
  }), n.right > 0 && this._debugGraphics.rect(e - n.right, n.top, n.right, t - n.top - n.bottom).fill({
1369
- color: C.outerBounds,
1370
- alpha: w.fill
1369
+ color: S.outerBounds,
1370
+ alpha: C.fill
1371
1371
  });
1372
1372
  let r = n.left, i = n.top, a = e - n.left - n.right, o = t - n.top - n.bottom;
1373
1373
  this._debugGraphics.rect(r, i, a, o).stroke({
1374
1374
  width: 1,
1375
- color: C.innerBounds,
1376
- alpha: w.stroke,
1375
+ color: S.innerBounds,
1376
+ alpha: C.stroke,
1377
1377
  pixelLine: !0
1378
1378
  });
1379
1379
  let s = /* @__PURE__ */ new Map();
@@ -1383,7 +1383,7 @@ var we = {
1383
1383
  let c = [...new Set(this._positionContainers.values())];
1384
1384
  for (; this._regionLabels.length < c.length;) {
1385
1385
  this._disableAddChildError = !0;
1386
- let e = E("", C.region);
1386
+ let e = T("", S.region);
1387
1387
  super.addChild(e), e.layout = !1, this._regionLabels.push(e), this._disableAddChildError = !1;
1388
1388
  }
1389
1389
  c.forEach((e, t) => {
@@ -1392,11 +1392,11 @@ var we = {
1392
1392
  if (!r?.layout?.computedLayout) return;
1393
1393
  let i = r.layout.computedLayout, a = i.left + n.left, o = i.top + n.top, c = n.width, l = n.height, u = e.children.length > 0;
1394
1394
  this._debugGraphics.rect(a, o, c, l).fill({
1395
- color: C.region,
1396
- alpha: u ? w.fillActive : w.fill
1395
+ color: S.region,
1396
+ alpha: u ? C.fillActive : C.fill
1397
1397
  }).stroke({
1398
1398
  width: 1,
1399
- color: C.region,
1399
+ color: S.region,
1400
1400
  alpha: .3,
1401
1401
  pixelLine: !0
1402
1402
  });
@@ -1407,45 +1407,45 @@ var we = {
1407
1407
  let l = e / 2, u = t / 2;
1408
1408
  this._debugGraphics.moveTo(l, u - 10).lineTo(l, u + 10).stroke({
1409
1409
  width: 1,
1410
- color: C.outerBounds,
1411
- alpha: w.crosshair,
1410
+ color: S.outerBounds,
1411
+ alpha: C.crosshair,
1412
1412
  pixelLine: !0
1413
1413
  }).moveTo(l - 10, u).lineTo(l + 10, u).stroke({
1414
1414
  width: 1,
1415
- color: C.outerBounds,
1416
- alpha: w.crosshair,
1415
+ color: S.outerBounds,
1416
+ alpha: C.crosshair,
1417
1417
  pixelLine: !0
1418
1418
  });
1419
1419
  }
1420
- }, Y = null;
1421
- function Ee() {
1422
- if (Y) return Y;
1423
- Y = /* @__PURE__ */ new Map();
1420
+ }, J = null;
1421
+ function De() {
1422
+ if (J) return J;
1423
+ J = /* @__PURE__ */ new Map();
1424
1424
  let e = globalThis.Caper?.get?.("entityList") ?? [];
1425
- for (let t of e) t.active !== !1 && typeof t.module == "function" && t.module.prototype && Y.set(t.id, t.module);
1426
- return Y;
1425
+ for (let t of e) t.active !== !1 && typeof t.module == "function" && t.module.prototype && J.set(t.id, t.module);
1426
+ return J;
1427
1427
  }
1428
- function De(e) {
1429
- return Ee().get(e);
1428
+ function Oe(e) {
1429
+ return De().get(e);
1430
1430
  }
1431
- function Oe() {
1432
- return [...Ee().keys()];
1431
+ function ke() {
1432
+ return [...De().keys()];
1433
1433
  }
1434
1434
  //#endregion
1435
1435
  //#region src/mixins/factory/ui-registry.ts
1436
- var X = null;
1437
- function ke() {
1438
- if (X) return X;
1439
- X = /* @__PURE__ */ new Map();
1436
+ var Y = null;
1437
+ function Ae() {
1438
+ if (Y) return Y;
1439
+ Y = /* @__PURE__ */ new Map();
1440
1440
  let e = globalThis.Caper?.get?.("uiList") ?? [];
1441
- for (let t of e) t.active !== !1 && typeof t.module == "function" && t.module.prototype && X.set(t.id, t.module);
1442
- return X;
1441
+ for (let t of e) t.active !== !1 && typeof t.module == "function" && t.module.prototype && Y.set(t.id, t.module);
1442
+ return Y;
1443
1443
  }
1444
- function Ae(e) {
1445
- return ke().get(e);
1444
+ function je(e) {
1445
+ return Ae().get(e);
1446
1446
  }
1447
- function je() {
1448
- return [...ke().keys()];
1447
+ function X() {
1448
+ return [...Ae().keys()];
1449
1449
  }
1450
1450
  //#endregion
1451
1451
  //#region src/mixins/factory/schema.ts
@@ -1464,25 +1464,25 @@ var Me = [
1464
1464
  "anchor"
1465
1465
  ];
1466
1466
  function Z(e) {
1467
- let t = e.applies ?? Me, n = t.includes("position"), r = t.includes("scale"), i = t.includes("pivot"), a = t.includes("anchor"), s = [...Ne, ...e.exclude ?? []];
1467
+ let t = e.applies ?? Me, n = t.includes("position"), r = t.includes("scale"), i = t.includes("pivot"), a = t.includes("anchor"), o = [...Ne, ...e.exclude ?? []];
1468
1468
  return (t) => {
1469
- let c = e.build(t);
1470
- if (t == null) return c;
1471
- let l = t;
1472
- return n && I({
1473
- position: l.position,
1474
- x: l.x,
1475
- y: l.y
1476
- }, c), r && L({
1477
- scale: l.scale,
1478
- scaleX: l.scaleX,
1479
- scaleY: l.scaleY
1480
- }, c), i && z(l.pivot, c), a && R(l.anchor, c), N(o(s, l), c), c;
1469
+ let s = e.build(t);
1470
+ if (t == null) return s;
1471
+ let c = t;
1472
+ return n && F({
1473
+ position: c.position,
1474
+ x: c.x,
1475
+ y: c.y
1476
+ }, s), r && I({
1477
+ scale: c.scale,
1478
+ scaleX: c.scaleX,
1479
+ scaleY: c.scaleY
1480
+ }, s), i && R(c.pivot, s), a && L(c.anchor, s), M(ne(o, c), s), s;
1481
1481
  };
1482
1482
  }
1483
1483
  //#endregion
1484
1484
  //#region src/mixins/factory/const.ts
1485
- var Pe = /* @__PURE__ */ t({ defaultFactoryMethods: () => $ }), Q = [
1485
+ var Pe = /* @__PURE__ */ c({ defaultFactoryMethods: () => $ }), Q = [
1486
1486
  "text",
1487
1487
  "roundPixels",
1488
1488
  "resolution",
@@ -1493,37 +1493,37 @@ var Pe = /* @__PURE__ */ t({ defaultFactoryMethods: () => $ }), Q = [
1493
1493
  existing: (e, t) => {
1494
1494
  if (!t) return e;
1495
1495
  let { position: n, x: r, y: i, pivot: a, scale: o, scaleX: s, scaleY: c, ...l } = t;
1496
- return I({
1496
+ return F({
1497
1497
  position: n,
1498
1498
  x: r,
1499
1499
  y: i
1500
- }, e), L({
1500
+ }, e), I({
1501
1501
  scale: o,
1502
1502
  scaleX: s,
1503
1503
  scaleY: c
1504
- }, e), z(a, e), N(l, e), e;
1504
+ }, e), R(a, e), M(l, e), e;
1505
1505
  },
1506
1506
  container: Z({
1507
- build: (e) => new f(e ? p(e, d) : void 0),
1507
+ build: (e) => new p(e ? a(e, ee) : void 0),
1508
1508
  applies: [
1509
1509
  "position",
1510
1510
  "scale",
1511
1511
  "pivot"
1512
1512
  ],
1513
- exclude: d
1513
+ exclude: ee
1514
1514
  }),
1515
1515
  particleContainer: Z({
1516
- build: (e) => new ue(e ? p(e, j) : void 0),
1516
+ build: (e) => new de(e ? a(e, A) : void 0),
1517
1517
  applies: [
1518
1518
  "position",
1519
1519
  "scale",
1520
1520
  "pivot"
1521
1521
  ],
1522
- exclude: j
1522
+ exclude: A
1523
1523
  }),
1524
- texture: F,
1524
+ texture: P,
1525
1525
  sprite: Z({
1526
- build: (e) => new b(e ? F(e) : void 0),
1526
+ build: (e) => new oe(e ? P(e) : void 0),
1527
1527
  applies: [
1528
1528
  "position",
1529
1529
  "scale",
@@ -1533,7 +1533,7 @@ var Pe = /* @__PURE__ */ t({ defaultFactoryMethods: () => $ }), Q = [
1533
1533
  exclude: ["asset", "sheet"]
1534
1534
  }),
1535
1535
  tilingSprite: Z({
1536
- build: (e) => new se(e ? F(e) : void 0),
1536
+ build: (e) => new ce(e ? P(e) : void 0),
1537
1537
  applies: [
1538
1538
  "position",
1539
1539
  "scale",
@@ -1543,7 +1543,7 @@ var Pe = /* @__PURE__ */ t({ defaultFactoryMethods: () => $ }), Q = [
1543
1543
  exclude: ["asset", "sheet"]
1544
1544
  }),
1545
1545
  animatedSprite: Z({
1546
- build: (e) => new B(e),
1546
+ build: (e) => new z(e),
1547
1547
  applies: [
1548
1548
  "position",
1549
1549
  "scale",
@@ -1572,25 +1572,25 @@ var Pe = /* @__PURE__ */ t({ defaultFactoryMethods: () => $ }), Q = [
1572
1572
  ]
1573
1573
  }),
1574
1574
  svg(e) {
1575
- let t = new de(e.ctx), { position: n, x: r, y: i, pivot: a, scale: o, scaleX: s, scaleY: c, ...l } = e;
1576
- return delete l.ctx, I({
1575
+ let t = new fe(e.ctx), { position: n, x: r, y: i, pivot: a, scale: o, scaleX: s, scaleY: c, ...l } = e;
1576
+ return delete l.ctx, F({
1577
1577
  position: n,
1578
1578
  x: r,
1579
1579
  y: i
1580
- }, t), L({
1580
+ }, t), I({
1581
1581
  scale: o,
1582
1582
  scaleX: s,
1583
1583
  scaleY: c
1584
- }, t), z(a, t), N(l, t), t;
1584
+ }, t), R(a, t), M(l, t), t;
1585
1585
  },
1586
1586
  text: Z({
1587
- build: (e) => new x(e ? {
1587
+ build: (e) => new b(e ? {
1588
1588
  text: e.text,
1589
1589
  roundPixels: e.roundPixels,
1590
1590
  resolution: e.resolution,
1591
1591
  style: e.style,
1592
- anchor: e.anchor ? a(e.anchor, !0) : void 0,
1593
- pivot: e.pivot ? a(e.pivot, !0) : void 0
1592
+ anchor: e.anchor ? u(e.anchor, !0) : void 0,
1593
+ pivot: e.pivot ? u(e.pivot, !0) : void 0
1594
1594
  } : {}),
1595
1595
  applies: [
1596
1596
  "position",
@@ -1605,8 +1605,8 @@ var Pe = /* @__PURE__ */ t({ defaultFactoryMethods: () => $ }), Q = [
1605
1605
  roundPixels: e.roundPixels,
1606
1606
  resolution: e.resolution,
1607
1607
  style: e.style,
1608
- anchor: e.anchor ? a(e.anchor, !0) : void 0,
1609
- pivot: e.pivot ? a(e.pivot, !0) : void 0
1608
+ anchor: e.anchor ? u(e.anchor, !0) : void 0,
1609
+ pivot: e.pivot ? u(e.pivot, !0) : void 0
1610
1610
  } : {}),
1611
1611
  applies: [
1612
1612
  "position",
@@ -1620,8 +1620,8 @@ var Pe = /* @__PURE__ */ t({ defaultFactoryMethods: () => $ }), Q = [
1620
1620
  text: e.text,
1621
1621
  roundPixels: e.roundPixels,
1622
1622
  style: e.style,
1623
- anchor: e.anchor ? a(e.anchor, !0) : void 0,
1624
- pivot: e.pivot ? a(e.pivot, !0) : void 0
1623
+ anchor: e.anchor ? u(e.anchor, !0) : void 0,
1624
+ pivot: e.pivot ? u(e.pivot, !0) : void 0
1625
1625
  } : {}),
1626
1626
  applies: [
1627
1627
  "position",
@@ -1631,7 +1631,7 @@ var Pe = /* @__PURE__ */ t({ defaultFactoryMethods: () => $ }), Q = [
1631
1631
  exclude: [...Q]
1632
1632
  }),
1633
1633
  button: Z({
1634
- build: (e) => new W(e ? p(e, U) : void 0),
1634
+ build: (e) => new W(e ? a(e, U) : void 0),
1635
1635
  applies: [
1636
1636
  "position",
1637
1637
  "scale",
@@ -1649,7 +1649,7 @@ var Pe = /* @__PURE__ */ t({ defaultFactoryMethods: () => $ }), Q = [
1649
1649
  exclude: _e
1650
1650
  }),
1651
1651
  uiCanvas: Z({
1652
- build: (e) => new J(e ? p(e, q) : {}),
1652
+ build: (e) => new Ee(e ? a(e, q) : {}),
1653
1653
  applies: [
1654
1654
  "position",
1655
1655
  "scale",
@@ -1685,65 +1685,65 @@ var Pe = /* @__PURE__ */ t({ defaultFactoryMethods: () => $ }), Q = [
1685
1685
  ]
1686
1686
  }),
1687
1687
  spineAnimation: (e) => {
1688
- let t = new V(e);
1688
+ let t = new B(e);
1689
1689
  if (!e) return t;
1690
1690
  let { position: n, x: r, y: i, anchor: a, pivot: o, scale: s, scaleX: c, scaleY: l, ...u } = e;
1691
- return I({
1691
+ return F({
1692
1692
  position: n,
1693
1693
  x: r,
1694
1694
  y: i
1695
- }, t), L({
1695
+ }, t), I({
1696
1696
  scale: s,
1697
1697
  scaleX: c,
1698
1698
  scaleY: l
1699
- }, t), R(a, t), z(o, t), N(u, t), t;
1699
+ }, t), L(a, t), R(o, t), M(u, t), t;
1700
1700
  },
1701
1701
  toaster: (e, t = {}) => new be(e, t),
1702
1702
  entity: (e, t) => {
1703
- let n = De(e);
1703
+ let n = Oe(e);
1704
1704
  if (!n) {
1705
- let t = Oe();
1705
+ let t = ke();
1706
1706
  throw Error(`[caper] Unknown entity id '${String(e)}'. Known: ${t.length > 0 ? t.map((e) => `'${e}'`).join(", ") : "(none — discovery may have failed)"}`);
1707
1707
  }
1708
1708
  let r = new n(t);
1709
1709
  if (t) {
1710
1710
  let { position: e, x: n, y: i, pivot: a, scale: o, scaleX: s, scaleY: c, alpha: l, visible: u } = t;
1711
- I({
1711
+ F({
1712
1712
  position: e,
1713
1713
  x: n,
1714
1714
  y: i
1715
- }, r), L({
1715
+ }, r), I({
1716
1716
  scale: o,
1717
1717
  scaleX: s,
1718
1718
  scaleY: c
1719
- }, r), z(a, r), l !== void 0 && (r.alpha = l), u !== void 0 && (r.visible = u);
1719
+ }, r), R(a, r), l !== void 0 && (r.alpha = l), u !== void 0 && (r.visible = u);
1720
1720
  }
1721
1721
  return r;
1722
1722
  },
1723
1723
  ui: (e, t) => {
1724
- let n = Ae(e);
1724
+ let n = je(e);
1725
1725
  if (!n) {
1726
- let t = je();
1726
+ let t = X();
1727
1727
  throw Error(`[caper] Unknown ui id '${String(e)}'. Known: ${t.length > 0 ? t.map((e) => `'${e}'`).join(", ") : "(none — discovery may have failed)"}`);
1728
1728
  }
1729
1729
  let r = new n(t);
1730
1730
  if (t) {
1731
1731
  let { position: e, x: n, y: i, pivot: a, scale: o, scaleX: s, scaleY: c, alpha: l, visible: u } = t;
1732
- I({
1732
+ F({
1733
1733
  position: e,
1734
1734
  x: n,
1735
1735
  y: i
1736
- }, r), L({
1736
+ }, r), I({
1737
1737
  scale: o,
1738
1738
  scaleX: s,
1739
1739
  scaleY: c
1740
- }, r), z(a, r), l !== void 0 && (r.alpha = l), u !== void 0 && (r.visible = u);
1740
+ }, r), R(a, r), l !== void 0 && (r.alpha = l), u !== void 0 && (r.visible = u);
1741
1741
  }
1742
1742
  return r;
1743
1743
  }
1744
1744
  };
1745
1745
  r($);
1746
1746
  //#endregion
1747
- export { j as A, z as C, N as D, F as E, E as F, ce as I, O as L, w as M, C as N, de as O, T as P, k as R, R as S, L as T, pe as _, J as a, B as b, Ce as c, K as d, G as f, U as g, W as h, Oe as i, A as j, ue as k, be as l, ge as m, $ as n, q as o, _e as p, je as r, Se as s, Pe as t, ve as u, H as v, I as w, P as x, V as y };
1747
+ export { A, R as C, M as D, P as E, T as F, le as I, D as L, C as M, S as N, fe as O, w as P, O as R, L as S, I as T, H as _, Ee as a, z as b, Ce as c, K as d, G as f, U as g, W as h, ke as i, k as j, de as k, be as l, ge as m, $ as n, q as o, _e as p, X as r, Se as s, Pe as t, ve as u, V as v, F as w, N as x, B as y };
1748
1748
 
1749
- //# sourceMappingURL=const-BClauBNo.js.map
1749
+ //# sourceMappingURL=const-Bca54QyV.js.map