canvasengine 2.0.0-beta.6 → 2.0.0-beta.61

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 (164) hide show
  1. package/dist/DebugRenderer-DkjTAc48.js +1384 -0
  2. package/dist/DebugRenderer-DkjTAc48.js.map +1 -0
  3. package/dist/components/Button.d.ts +185 -0
  4. package/dist/components/Button.d.ts.map +1 -0
  5. package/dist/components/Canvas.d.ts +17 -0
  6. package/dist/components/Canvas.d.ts.map +1 -0
  7. package/dist/components/DOMElement.d.ts +54 -0
  8. package/dist/components/DOMElement.d.ts.map +1 -0
  9. package/dist/components/DOMSprite.d.ts +127 -0
  10. package/dist/components/DOMSprite.d.ts.map +1 -0
  11. package/dist/components/FocusContainer.d.ts +129 -0
  12. package/dist/components/FocusContainer.d.ts.map +1 -0
  13. package/dist/components/Graphic.d.ts +64 -0
  14. package/dist/components/Graphic.d.ts.map +1 -0
  15. package/dist/components/Joystick.d.ts +36 -0
  16. package/dist/components/Joystick.d.ts.map +1 -0
  17. package/dist/components/NineSliceSprite.d.ts +16 -0
  18. package/dist/components/NineSliceSprite.d.ts.map +1 -0
  19. package/dist/components/ParticleEmitter.d.ts +4 -0
  20. package/dist/components/ParticleEmitter.d.ts.map +1 -0
  21. package/dist/components/Scene.d.ts +2 -0
  22. package/dist/components/Scene.d.ts.map +1 -0
  23. package/dist/components/Text.d.ts +24 -0
  24. package/dist/components/Text.d.ts.map +1 -0
  25. package/dist/components/TilingSprite.d.ts +17 -0
  26. package/dist/components/TilingSprite.d.ts.map +1 -0
  27. package/dist/components/Video.d.ts +14 -0
  28. package/dist/components/Video.d.ts.map +1 -0
  29. package/dist/components/index.d.ts +20 -0
  30. package/dist/components/index.d.ts.map +1 -0
  31. package/dist/components/types/DisplayObject.d.ts +118 -0
  32. package/dist/components/types/DisplayObject.d.ts.map +1 -0
  33. package/dist/components/types/MouseEvent.d.ts +4 -0
  34. package/dist/components/types/MouseEvent.d.ts.map +1 -0
  35. package/dist/components/types/Spritesheet.d.ts +248 -0
  36. package/dist/components/types/Spritesheet.d.ts.map +1 -0
  37. package/dist/components/types/index.d.ts +4 -0
  38. package/dist/components/types/index.d.ts.map +1 -0
  39. package/dist/directives/Controls.d.ts +112 -0
  40. package/dist/directives/Controls.d.ts.map +1 -0
  41. package/dist/directives/ControlsBase.d.ts +199 -0
  42. package/dist/directives/ControlsBase.d.ts.map +1 -0
  43. package/dist/directives/Drag.d.ts +69 -0
  44. package/dist/directives/Drag.d.ts.map +1 -0
  45. package/dist/directives/Flash.d.ts +116 -0
  46. package/dist/directives/Flash.d.ts.map +1 -0
  47. package/dist/directives/FocusNavigation.d.ts +52 -0
  48. package/dist/directives/FocusNavigation.d.ts.map +1 -0
  49. package/dist/directives/FogVisibility.d.ts +47 -0
  50. package/dist/directives/FogVisibility.d.ts.map +1 -0
  51. package/dist/directives/GamepadControls.d.ts +224 -0
  52. package/dist/directives/GamepadControls.d.ts.map +1 -0
  53. package/dist/directives/JoystickControls.d.ts +171 -0
  54. package/dist/directives/JoystickControls.d.ts.map +1 -0
  55. package/dist/directives/KeyboardControls.d.ts +219 -0
  56. package/dist/directives/KeyboardControls.d.ts.map +1 -0
  57. package/dist/directives/Scheduler.d.ts +36 -0
  58. package/dist/directives/Scheduler.d.ts.map +1 -0
  59. package/dist/directives/Shake.d.ts +98 -0
  60. package/dist/directives/Shake.d.ts.map +1 -0
  61. package/dist/directives/Sound.d.ts +25 -0
  62. package/dist/directives/Sound.d.ts.map +1 -0
  63. package/dist/directives/Transition.d.ts +10 -0
  64. package/dist/directives/Transition.d.ts.map +1 -0
  65. package/dist/directives/ViewportCull.d.ts +11 -0
  66. package/dist/directives/ViewportCull.d.ts.map +1 -0
  67. package/dist/directives/ViewportFollow.d.ts +18 -0
  68. package/dist/directives/ViewportFollow.d.ts.map +1 -0
  69. package/dist/directives/index.d.ts +14 -0
  70. package/dist/directives/index.d.ts.map +1 -0
  71. package/dist/dist-BOOc43Qm.js +778 -0
  72. package/dist/dist-BOOc43Qm.js.map +1 -0
  73. package/dist/engine/FocusManager.d.ts +174 -0
  74. package/dist/engine/FocusManager.d.ts.map +1 -0
  75. package/dist/engine/animation.d.ts +72 -0
  76. package/dist/engine/animation.d.ts.map +1 -0
  77. package/dist/engine/bootstrap.d.ts +52 -0
  78. package/dist/engine/bootstrap.d.ts.map +1 -0
  79. package/dist/engine/directive.d.ts +13 -0
  80. package/dist/engine/directive.d.ts.map +1 -0
  81. package/dist/engine/reactive.d.ts +135 -0
  82. package/dist/engine/reactive.d.ts.map +1 -0
  83. package/dist/engine/signal.d.ts +73 -0
  84. package/dist/engine/signal.d.ts.map +1 -0
  85. package/dist/engine/trigger.d.ts +54 -0
  86. package/dist/engine/trigger.d.ts.map +1 -0
  87. package/dist/engine/utils.d.ts +89 -0
  88. package/dist/engine/utils.d.ts.map +1 -0
  89. package/dist/hooks/addContext.d.ts +2 -0
  90. package/dist/hooks/addContext.d.ts.map +1 -0
  91. package/dist/hooks/useFocus.d.ts +60 -0
  92. package/dist/hooks/useFocus.d.ts.map +1 -0
  93. package/dist/hooks/useProps.d.ts +42 -0
  94. package/dist/hooks/useProps.d.ts.map +1 -0
  95. package/dist/hooks/useRef.d.ts +4 -0
  96. package/dist/hooks/useRef.d.ts.map +1 -0
  97. package/dist/index.d.ts +19 -1107
  98. package/dist/index.d.ts.map +1 -0
  99. package/dist/index.global.js +8 -0
  100. package/dist/index.global.js.map +1 -0
  101. package/dist/index.js +14708 -3135
  102. package/dist/index.js.map +1 -1
  103. package/dist/utils/Ease.d.ts +17 -0
  104. package/dist/utils/Ease.d.ts.map +1 -0
  105. package/dist/utils/GlobalAssetLoader.d.ts +141 -0
  106. package/dist/utils/GlobalAssetLoader.d.ts.map +1 -0
  107. package/dist/utils/RadialGradient.d.ts +57 -0
  108. package/dist/utils/RadialGradient.d.ts.map +1 -0
  109. package/dist/utils/functions.d.ts +2 -0
  110. package/dist/utils/functions.d.ts.map +1 -0
  111. package/dist/utils/tabindex.d.ts +16 -0
  112. package/dist/utils/tabindex.d.ts.map +1 -0
  113. package/package.json +16 -9
  114. package/src/components/Button.ts +399 -0
  115. package/src/components/Canvas.ts +82 -51
  116. package/src/components/Container.ts +21 -2
  117. package/src/components/DOMContainer.ts +379 -0
  118. package/src/components/DOMElement.ts +556 -0
  119. package/src/components/DOMSprite.ts +1040 -0
  120. package/src/components/DisplayObject.ts +422 -201
  121. package/src/components/FocusContainer.ts +368 -0
  122. package/src/components/Graphic.ts +239 -73
  123. package/src/components/Joystick.ts +363 -0
  124. package/src/components/Mesh.ts +222 -0
  125. package/src/components/NineSliceSprite.ts +4 -1
  126. package/src/components/ParticleEmitter.ts +12 -8
  127. package/src/components/Sprite.ts +418 -52
  128. package/src/components/Text.ts +270 -26
  129. package/src/components/Viewport.ts +122 -63
  130. package/src/components/index.ts +9 -2
  131. package/src/components/types/DisplayObject.ts +53 -5
  132. package/src/components/types/Spritesheet.ts +0 -118
  133. package/src/directives/Controls.ts +254 -0
  134. package/src/directives/ControlsBase.ts +267 -0
  135. package/src/directives/Drag.ts +357 -52
  136. package/src/directives/Flash.ts +419 -0
  137. package/src/directives/FocusNavigation.ts +113 -0
  138. package/src/directives/FogVisibility.ts +273 -0
  139. package/src/directives/GamepadControls.ts +537 -0
  140. package/src/directives/JoystickControls.ts +396 -0
  141. package/src/directives/KeyboardControls.ts +85 -430
  142. package/src/directives/Scheduler.ts +21 -5
  143. package/src/directives/Shake.ts +298 -0
  144. package/src/directives/Sound.ts +94 -31
  145. package/src/directives/ViewportFollow.ts +40 -9
  146. package/src/directives/index.ts +13 -6
  147. package/src/engine/FocusManager.ts +510 -0
  148. package/src/engine/animation.ts +175 -21
  149. package/src/engine/bootstrap.ts +140 -6
  150. package/src/engine/directive.ts +4 -4
  151. package/src/engine/reactive.ts +980 -177
  152. package/src/engine/signal.ts +241 -47
  153. package/src/engine/trigger.ts +34 -7
  154. package/src/engine/utils.ts +19 -3
  155. package/src/hooks/useFocus.ts +91 -0
  156. package/src/hooks/useProps.ts +1 -1
  157. package/src/index.ts +8 -2
  158. package/src/types/pixi-cull.d.ts +7 -0
  159. package/src/utils/GlobalAssetLoader.ts +257 -0
  160. package/src/utils/functions.ts +7 -0
  161. package/src/utils/tabindex.ts +70 -0
  162. package/testing/index.ts +35 -4
  163. package/tsconfig.json +18 -0
  164. package/vite.config.ts +39 -0
@@ -0,0 +1,778 @@
1
+ import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "./DebugRenderer-DkjTAc48.js";
2
+ import { AbstractText as f, Container as p, ExtensionType as m, NineSliceSprite as h, Point as g, TilingSprite as _, ViewContainer as v, extensions as y } from "pixi.js";
3
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/yoga.mjs
4
+ var b;
5
+ function x() {
6
+ return b;
7
+ }
8
+ function S(e) {
9
+ b = e;
10
+ }
11
+ var C;
12
+ function w(e) {
13
+ C = e;
14
+ }
15
+ function T() {
16
+ return C;
17
+ }
18
+ //#endregion
19
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/utils/getNumberFromStyle.mjs
20
+ function E(e, t) {
21
+ return e ? typeof e == "number" ? e : typeof e == "string" && e.endsWith("%") ? (t ??= 1, parseFloat(e) / 100 * t) : Number.isNaN(parseFloat(e)) ? 0 : parseFloat(e) : 0;
22
+ }
23
+ function D(e) {
24
+ return typeof e == "number" ? "number" : e.endsWith("%") ? "percentage" : Number.isNaN(parseInt(e, 10)) ? "keyword" : "number";
25
+ }
26
+ //#endregion
27
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/mixins/utils/position/calculateWithDoubleValue.mjs
28
+ function O(e, t, n) {
29
+ return (t[e] - n[e]) / 2;
30
+ }
31
+ function ee(e, t, n, r, i) {
32
+ let a = t === "percentage" ? r[n] - i[n] : 1;
33
+ return E(e) * a;
34
+ }
35
+ function k(e, t, n) {
36
+ let [r, i] = e, a = D(r), o = D(i), s = {
37
+ x: void 0,
38
+ y: void 0
39
+ };
40
+ switch (r) {
41
+ case "top":
42
+ s.y = 0;
43
+ break;
44
+ case "bottom":
45
+ s.y = t.height - n.height;
46
+ break;
47
+ case "center":
48
+ i === "left" || i === "right" ? s.y = O("height", t, n) : s.x = O("width", t, n);
49
+ break;
50
+ case "left":
51
+ s.x = 0;
52
+ break;
53
+ case "right":
54
+ s.x = t.width - n.width;
55
+ break;
56
+ default: {
57
+ let e = i === "top" || i === "bottom" || o !== "keyword" ? "width" : "height", c = e === "width" ? "x" : "y";
58
+ s[c] = ee(r, a, e, t, n);
59
+ }
60
+ }
61
+ switch (i) {
62
+ case "top":
63
+ s.y = 0;
64
+ break;
65
+ case "bottom":
66
+ s.y = t.height - n.height;
67
+ break;
68
+ case "center":
69
+ s.y === void 0 ? s.y = O("height", t, n) : s.x = O("width", t, n);
70
+ break;
71
+ case "left":
72
+ s.x = 0;
73
+ break;
74
+ case "right":
75
+ s.x = t.width - n.width;
76
+ break;
77
+ default: {
78
+ let e = s.y === void 0 ? "y" : "x";
79
+ s[e] = ee(i, o, e === "y" ? "height" : "width", t, n);
80
+ }
81
+ }
82
+ return s;
83
+ }
84
+ //#endregion
85
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/mixins/utils/position/calculateWithQuadValue.mjs
86
+ function A(e, t, n, r) {
87
+ let i = e === "right" || e === "bottom", a = n === "percentage" ? t * r : t;
88
+ return i ? -a : a;
89
+ }
90
+ function te(e, t, n) {
91
+ let [r, i, a, o] = e, s = D(r), c = D(i), l = D(a), u = D(o);
92
+ if (c === "keyword" || u === "keyword") throw Error("Invalid objectPosition value: second and fourth values must be numbers or percentages");
93
+ if (s !== "keyword" || l !== "keyword") throw Error("Invalid objectPosition value: first and third values must be keywords");
94
+ let d = k([r, a], t, n), f = { ...d }, p = E(i), m = E(o);
95
+ return r === "left" || r === "right" ? f.x = d.x + A(r, p, c, n.width) : (r === "top" || r === "bottom") && (f.y = d.y + A(r, p, c, n.height)), a === "left" || a === "right" ? f.x = d.x + A(a, m, u, n.width) : (a === "top" || a === "bottom") && (f.y = d.y + A(a, m, u, n.height)), f;
96
+ }
97
+ //#endregion
98
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/mixins/utils/position/calculateWithSingleValue.mjs
99
+ function ne(e, t, n) {
100
+ let r = e[0], i = {
101
+ x: void 0,
102
+ y: void 0
103
+ };
104
+ switch (r) {
105
+ case "top":
106
+ i.y = 0, i.x = (t.width - n.width) / 2;
107
+ break;
108
+ case "bottom":
109
+ i.y = t.height - n.height, i.x = (t.width - n.width) / 2;
110
+ break;
111
+ case "left":
112
+ i.x = 0, i.y = (t.height - n.height) / 2;
113
+ break;
114
+ case "right":
115
+ i.x = t.width - n.width, i.y = (t.height - n.height) / 2;
116
+ break;
117
+ case "center":
118
+ i.x = (t.width - n.width) / 2, i.y = (t.height - n.height) / 2;
119
+ break;
120
+ default: {
121
+ let e = D(r) === "percentage" ? t.width - n.width : 1;
122
+ i.x = E(r) * e, i.y = (t.height - n.height) / 2;
123
+ }
124
+ }
125
+ return i;
126
+ }
127
+ //#endregion
128
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/mixins/utils/calculatePositionSpecifier.mjs
129
+ function j(e, t, n) {
130
+ if (!e) return {
131
+ x: 0,
132
+ y: 0
133
+ };
134
+ let r = typeof e == "string" ? e.split(" ") : [e];
135
+ switch (r.length) {
136
+ case 1: return ne(r, t, n);
137
+ case 2: return k(r, t, n);
138
+ case 4: return te(r, t, n);
139
+ default: throw Error("Invalid objectPosition value: must have 1, 2, or 4 values");
140
+ }
141
+ }
142
+ //#endregion
143
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/utils/getPixiSize.mjs
144
+ var M = {
145
+ width: 0,
146
+ height: 0
147
+ };
148
+ function N(e) {
149
+ let t = e.target.getLocalBounds(), n = e.target.scale;
150
+ return M.width = Math.abs(t.width * n.x), M.height = Math.abs(t.height * n.y), M;
151
+ }
152
+ //#endregion
153
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/utils/nearlyEqual.mjs
154
+ function P(e, t, n = .49) {
155
+ return Math.abs(e - t) < n;
156
+ }
157
+ //#endregion
158
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/utils/throttle.mjs
159
+ function re(e, t = 0, n = {}) {
160
+ let r, i, a = n.maxWait ? n.maxWait : t, o, s, c, l = 0, u = !!n.leading, d = "maxWait" in n, f = n.trailing ?? !0, p = t !== 0 && typeof globalThis.requestAnimationFrame == "function";
161
+ if (typeof e != "function") throw TypeError("Expected a function");
162
+ function m(t) {
163
+ let n = r, a = i;
164
+ return r = i = void 0, l = t, o = e.apply(a, n), o;
165
+ }
166
+ function h(e, t) {
167
+ return p ? (typeof s == "number" && globalThis.cancelAnimationFrame(s), globalThis.requestAnimationFrame(e)) : setTimeout(e, t);
168
+ }
169
+ function g(e) {
170
+ if (p) {
171
+ globalThis.cancelAnimationFrame(e);
172
+ return;
173
+ }
174
+ clearTimeout(e);
175
+ }
176
+ function _(e) {
177
+ return l = e, s = h(b, t), u ? m(e) : o;
178
+ }
179
+ function v(e) {
180
+ let n = e - (c || 0), r = e - l, i = t - n;
181
+ return d ? Math.min(i, a - r) : i;
182
+ }
183
+ function y(e) {
184
+ let n = e - (c || 0), r = e - l;
185
+ return c === void 0 || n >= t || n < 0 || d && r >= a;
186
+ }
187
+ function b() {
188
+ let e = Date.now();
189
+ if (y(e)) return x(e);
190
+ s = h(b, v(e));
191
+ }
192
+ function x(e) {
193
+ return s = void 0, f && r ? m(e) : (r = i = void 0, o);
194
+ }
195
+ function S() {
196
+ s !== void 0 && g(s), l = 0, r = c = i = s = void 0;
197
+ }
198
+ function C() {
199
+ return s === void 0 ? o : x(Date.now());
200
+ }
201
+ function w() {
202
+ return s !== void 0;
203
+ }
204
+ function T(...e) {
205
+ let n = Date.now(), a = y(n);
206
+ if (r = e, i = this, c = n, a) {
207
+ if (s === void 0) return _(c);
208
+ if (d) return s = h(b, t), m(c);
209
+ }
210
+ return s === void 0 && (s = h(b, t)), o;
211
+ }
212
+ return T.cancel = S, T.flush = C, T.pending = w, T;
213
+ }
214
+ function ie(e, t, n = {}) {
215
+ let r = n.leading ?? !0, i = n.trailing ?? !0;
216
+ if (typeof e != "function") throw TypeError("Expected a function");
217
+ return re(e, t, {
218
+ leading: r,
219
+ trailing: i,
220
+ maxWait: t
221
+ });
222
+ }
223
+ //#endregion
224
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/LayoutSystem.mjs
225
+ var ae = Object.defineProperty, oe = (e, t, n) => t in e ? ae(e, t, {
226
+ enumerable: !0,
227
+ configurable: !0,
228
+ writable: !0,
229
+ value: n
230
+ }) : e[t] = n, F = (e, t, n) => oe(e, typeof t == "symbol" ? t : t + "", n), I = class {
231
+ constructor() {
232
+ F(this, "autoUpdate", !0), F(this, "_debugEnabled", !1), F(this, "_debugRenderer", null), F(this, "_throttledUpdateSize"), F(this, "_throttle", 100), F(this, "_modificationCount", 50);
233
+ }
234
+ async init(e) {
235
+ S(await u()), w(x().Config.create());
236
+ let { layout: t } = e ?? {}, { autoUpdate: n, enableDebug: r, throttle: i, debugModificationCount: a } = t ?? {};
237
+ r && this.enableDebug(!0), n !== void 0 && (this.autoUpdate = n), this._throttle = i ?? this._throttle, this._throttledUpdateSize = ie((e) => this._updateSize(e), this._throttle, {
238
+ leading: !0,
239
+ trailing: !0
240
+ }), this._modificationCount = a ?? this._modificationCount;
241
+ }
242
+ async enableDebug(e = !this._debugEnabled) {
243
+ if (this._debugEnabled = e, !this._debugRenderer) {
244
+ let e = await import("./DebugRenderer-DkjTAc48.js");
245
+ this._debugRenderer = new e.DebugRenderer();
246
+ }
247
+ this._debugEnabled || this._debugRenderer.reset();
248
+ }
249
+ update(e) {
250
+ this._debugEnabled && this._debugRenderer && (this._debugRenderer.reset(), e.addChild(this._debugRenderer.holder)), this._throttle === 0 ? this._updateSize(e) : this._throttledUpdateSize(e), this.updateLayout(e);
251
+ }
252
+ prerender({ container: e }) {
253
+ this.autoUpdate && this.update(e);
254
+ }
255
+ _updateSize(e) {
256
+ if (e.destroyed) return;
257
+ let t = e._layout;
258
+ if (t) {
259
+ let n = t.style;
260
+ if (n.width === "intrinsic" || n.height === "intrinsic") {
261
+ let e = N(t);
262
+ if (n.width === "intrinsic") {
263
+ let n = t.yoga.getWidth().value;
264
+ P(n, e.width) || (t.yoga.setWidth(e.width), t.invalidateRoot());
265
+ }
266
+ if (n.height === "intrinsic") {
267
+ let n = t.yoga.getHeight().value;
268
+ P(n, e.height) || (t.yoga.setHeight(e.height), t.invalidateRoot());
269
+ }
270
+ }
271
+ if (!e.visible) {
272
+ t._onChildRemoved();
273
+ return;
274
+ }
275
+ }
276
+ for (let t = 0; t < e.children.length; t++) this._updateSize(e.children[t]);
277
+ }
278
+ updateLayout(e) {
279
+ var t, n;
280
+ let r = e._layout;
281
+ if (e.visible) {
282
+ if (r) {
283
+ let a = r.yoga, o = r.style, s = e.parent?.isOverflowContainer;
284
+ if (!e.parent?._layout && !s && r._isDirty && (r._isDirty = !1, a.calculateLayout(o.width, o.height, a.getDirection() ?? i.LTR)), a.hasNewLayout() || r._forceUpdate) {
285
+ a.markLayoutSeen(), r._forceUpdate = !1, r._computedLayout = a.getComputedLayout();
286
+ let n = j(o.transformOrigin, r._computedLayout, {
287
+ width: 0,
288
+ height: 0
289
+ });
290
+ r._computedPixiLayout = {
291
+ ...e.computeLayoutData(r._computedLayout),
292
+ originX: n.x,
293
+ originY: n.y
294
+ }, e.emit("layout", r), (t = e.onLayout) == null || t.call(e, r), e._onUpdate();
295
+ }
296
+ this._debugEnabled && (r._styles.custom.debug || r._modificationCount > this._modificationCount && r._styles.custom.debugHeat !== !1) && ((n = this._debugRenderer) == null || n.render(r));
297
+ }
298
+ for (let t = 0; t < e.children.length; t++) this.updateLayout(e.children[t]);
299
+ }
300
+ }
301
+ destroy() {
302
+ !this._debugEnabled && this._debugRenderer && this._debugRenderer.destroy();
303
+ }
304
+ };
305
+ F(I, "extension", {
306
+ type: [m.WebGLSystem, m.WebGPUSystem],
307
+ name: "layout"
308
+ });
309
+ //#endregion
310
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/style/applyStyle.mjs
311
+ var L = {
312
+ "flex-start": o.FlexStart,
313
+ "flex-end": o.FlexEnd,
314
+ center: o.Center,
315
+ stretch: o.Stretch,
316
+ "space-between": o.SpaceBetween,
317
+ "space-around": o.SpaceAround,
318
+ "space-evenly": o.SpaceEvenly
319
+ }, R = {
320
+ "flex-start": o.FlexStart,
321
+ "flex-end": o.FlexEnd,
322
+ center: o.Center,
323
+ stretch: o.Stretch,
324
+ baseline: o.Baseline
325
+ }, z = {
326
+ auto: o.Auto,
327
+ "flex-start": o.FlexStart,
328
+ "flex-end": o.FlexEnd,
329
+ center: o.Center,
330
+ stretch: o.Stretch,
331
+ baseline: o.Baseline
332
+ }, B = {
333
+ "border-box": c.BorderBox,
334
+ "content-box": c.ContentBox
335
+ }, V = {
336
+ ltr: i.LTR,
337
+ rtl: i.RTL
338
+ }, H = {
339
+ none: e.None,
340
+ flex: e.Flex,
341
+ contents: e.Contents
342
+ }, U = {
343
+ row: l.Row,
344
+ column: l.Column,
345
+ "row-reverse": l.RowReverse,
346
+ "column-reverse": l.ColumnReverse
347
+ }, W = {
348
+ wrap: r.Wrap,
349
+ nowrap: r.NoWrap,
350
+ "wrap-reverse": r.WrapReverse
351
+ }, G = {
352
+ "flex-start": a.FlexStart,
353
+ "flex-end": a.FlexEnd,
354
+ center: a.Center,
355
+ "space-between": a.SpaceBetween,
356
+ "space-around": a.SpaceAround,
357
+ "space-evenly": a.SpaceEvenly
358
+ }, K = {
359
+ visible: d.Visible,
360
+ hidden: d.Hidden,
361
+ scroll: d.Scroll
362
+ }, q = {
363
+ absolute: n.Absolute,
364
+ relative: n.Relative,
365
+ static: n.Static
366
+ }, se = {
367
+ alignContent: (e, t) => e.setAlignContent(ce(t)),
368
+ alignItems: (e, t) => e.setAlignItems(le(t)),
369
+ alignSelf: (e, t) => e.setAlignSelf(ue(t)),
370
+ aspectRatio: (e, t) => e.setAspectRatio(t),
371
+ borderBottomWidth: (e, t) => e.setBorder(s.Bottom, t),
372
+ borderEndWidth: (e, t) => e.setBorder(s.End, t),
373
+ borderLeftWidth: (e, t) => e.setBorder(s.Left, t),
374
+ borderRightWidth: (e, t) => e.setBorder(s.Right, t),
375
+ borderStartWidth: (e, t) => e.setBorder(s.Start, t),
376
+ borderTopWidth: (e, t) => e.setBorder(s.Top, t),
377
+ borderWidth: (e, t) => e.setBorder(s.All, t),
378
+ borderInlineWidth: (e, t) => e.setBorder(s.Horizontal, t),
379
+ borderBlockWidth: (e, t) => e.setBorder(s.Vertical, t),
380
+ bottom: (e, t) => e.setPosition(s.Bottom, t),
381
+ boxSizing: (e, t) => e.setBoxSizing(de(t)),
382
+ direction: (e, t) => e.setDirection(fe(t)),
383
+ display: (e, t) => e.setDisplay(pe(t)),
384
+ end: (e, t) => e.setPosition(s.End, t),
385
+ flex: (e, t) => e.setFlex(t),
386
+ flexBasis: (e, t) => e.setFlexBasis(t),
387
+ flexDirection: (e, t) => e.setFlexDirection(me(t)),
388
+ rowGap: (e, n) => e.setGap(t.Row, n),
389
+ gap: (e, n) => e.setGap(t.All, n),
390
+ columnGap: (e, n) => e.setGap(t.Column, n),
391
+ flexGrow: (e, t) => e.setFlexGrow(t),
392
+ flexShrink: (e, t) => e.setFlexShrink(t),
393
+ flexWrap: (e, t) => e.setFlexWrap(he(t)),
394
+ height: (e, t) => e.setHeight(t),
395
+ justifyContent: (e, t) => e.setJustifyContent(ge(t)),
396
+ left: (e, t) => e.setPosition(s.Left, t),
397
+ margin: (e, t) => e.setMargin(s.All, t),
398
+ marginBottom: (e, t) => e.setMargin(s.Bottom, t),
399
+ marginEnd: (e, t) => e.setMargin(s.End, t),
400
+ marginLeft: (e, t) => e.setMargin(s.Left, t),
401
+ marginRight: (e, t) => e.setMargin(s.Right, t),
402
+ marginStart: (e, t) => e.setMargin(s.Start, t),
403
+ marginTop: (e, t) => e.setMargin(s.Top, t),
404
+ marginInline: (e, t) => e.setMargin(s.Horizontal, t),
405
+ marginBlock: (e, t) => e.setMargin(s.Vertical, t),
406
+ maxHeight: (e, t) => e.setMaxHeight(t),
407
+ maxWidth: (e, t) => e.setMaxWidth(t),
408
+ minHeight: (e, t) => e.setMinHeight(t),
409
+ minWidth: (e, t) => e.setMinWidth(t),
410
+ overflow: (e, t) => e.setOverflow(_e(t)),
411
+ padding: (e, t) => e.setPadding(s.All, t),
412
+ paddingBottom: (e, t) => e.setPadding(s.Bottom, t),
413
+ paddingEnd: (e, t) => e.setPadding(s.End, t),
414
+ paddingLeft: (e, t) => e.setPadding(s.Left, t),
415
+ paddingRight: (e, t) => e.setPadding(s.Right, t),
416
+ paddingStart: (e, t) => e.setPadding(s.Start, t),
417
+ paddingTop: (e, t) => e.setPadding(s.Top, t),
418
+ paddingInline: (e, t) => e.setPadding(s.Horizontal, t),
419
+ paddingBlock: (e, t) => e.setPadding(s.Vertical, t),
420
+ position: (e, t) => e.setPositionType(ve(t)),
421
+ right: (e, t) => e.setPosition(s.Right, t),
422
+ start: (e, t) => e.setPosition(s.Start, t),
423
+ top: (e, t) => e.setPosition(s.Top, t),
424
+ insetInline: (e, t) => e.setPosition(s.Horizontal, t),
425
+ insetBlock: (e, t) => e.setPosition(s.Vertical, t),
426
+ inset: (e, t) => e.setPosition(s.All, t),
427
+ width: (e, t) => e.setWidth(t)
428
+ };
429
+ function ce(e) {
430
+ if (e in L) return L[e];
431
+ throw Error(`"${e}" is not a valid value for alignContent`);
432
+ }
433
+ function le(e) {
434
+ if (e in R) return R[e];
435
+ throw Error(`"${e}" is not a valid value for alignItems`);
436
+ }
437
+ function ue(e) {
438
+ if (e in z) return z[e];
439
+ throw Error(`"${e}" is not a valid value for alignSelf`);
440
+ }
441
+ function de(e) {
442
+ if (e in B) return B[e];
443
+ throw Error(`"${e}" is not a valid value for boxSizing`);
444
+ }
445
+ function fe(e) {
446
+ if (e in V) return V[e];
447
+ throw Error(`"${e}" is not a valid value for direction`);
448
+ }
449
+ function pe(e) {
450
+ if (e in H) return H[e];
451
+ throw Error(`"${e}" is not a valid value for display`);
452
+ }
453
+ function me(e) {
454
+ if (e in U) return U[e];
455
+ throw Error(`"${e}" is not a valid value for flexDirection`);
456
+ }
457
+ function he(e) {
458
+ if (e in W) return W[e];
459
+ throw Error(`"${e}" is not a valid value for flexWrap`);
460
+ }
461
+ function ge(e) {
462
+ if (e in G) return G[e];
463
+ throw Error(`"${e}" is not a valid value for justifyContent`);
464
+ }
465
+ function _e(e) {
466
+ if (e in K) return K[e];
467
+ throw Error(`"${e}" is not a valid value for overflow`);
468
+ }
469
+ function ve(e) {
470
+ if (e in q) return q[e];
471
+ throw Error(`"${e}" is not a valid value for position`);
472
+ }
473
+ function ye(e, t = {}) {
474
+ for (let [n, r] of Object.entries(t)) try {
475
+ let t = se[n];
476
+ t && t(e, r);
477
+ } catch {}
478
+ if (t.width !== void 0) {
479
+ let n = t.left !== void 0 && t.right !== void 0 ? "auto" : t.width;
480
+ e.setWidth(n);
481
+ }
482
+ if (t.height !== void 0) {
483
+ let n = t.top !== void 0 && t.bottom !== void 0 ? "auto" : t.height;
484
+ e.setHeight(n);
485
+ }
486
+ }
487
+ //#endregion
488
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/style/formatStyles.mjs
489
+ function be(e, t) {
490
+ let n = {
491
+ ...e._styles.custom,
492
+ ...t
493
+ };
494
+ n = {
495
+ ...Y.defaultStyle.shared,
496
+ ...e.target instanceof v || n.isLeaf || Y.defaultStyle.shared.isLeaf ? Y.defaultStyle.leaf : Y.defaultStyle.container,
497
+ ...n
498
+ };
499
+ let r = { ...n }, i = n.width === "intrinsic", a = n.height === "intrinsic";
500
+ if (i || a) {
501
+ let { width: t, height: n } = N(e);
502
+ i && (r.width = t), a && (r.height = n);
503
+ }
504
+ return {
505
+ custom: n,
506
+ yoga: r
507
+ };
508
+ }
509
+ //#endregion
510
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/utils/sort-children.mjs
511
+ function xe(e, t) {
512
+ let n = t.layout, r;
513
+ if (!n && t.isOverflowContainer && (r = t, n = r.parent?.layout, t = r.parent), !n) return !1;
514
+ let i = e.yoga.getParent();
515
+ i && i.removeChild(e.yoga);
516
+ let a = Se(e, t, r);
517
+ return a === -1 ? !1 : (n.yoga.getChildCount(), n.yoga.insertChild(e.yoga, a), !0);
518
+ }
519
+ function Se(e, t, n) {
520
+ let r = e.target, i = 0;
521
+ if (n) {
522
+ for (let e of t.children) {
523
+ if (e === n) {
524
+ for (let e of n.children) if (!(!e.layout || !e.visible)) {
525
+ if (e === r) return i;
526
+ i++;
527
+ }
528
+ return -1;
529
+ }
530
+ e.layout && e.visible && i++;
531
+ }
532
+ return -1;
533
+ }
534
+ for (let e of t.children) if (!(!e.layout || !e.visible)) {
535
+ if (e === r) return i;
536
+ i++;
537
+ }
538
+ return -1;
539
+ }
540
+ function Ce(e) {
541
+ let t = e.yoga.getParent();
542
+ t && t.removeChild(e.yoga);
543
+ }
544
+ //#endregion
545
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/Layout.mjs
546
+ var we = Object.defineProperty, Te = (e, t, n) => t in e ? we(e, t, {
547
+ enumerable: !0,
548
+ configurable: !0,
549
+ writable: !0,
550
+ value: n
551
+ }) : e[t] = n, J = (e, t, n) => Te(e, typeof t == "symbol" ? t : t + "", n), Y = class {
552
+ constructor({ target: e }) {
553
+ J(this, "yoga"), J(this, "target"), J(this, "destroyed", !1), J(this, "_isDirty", !1), J(this, "_computedPixiLayout", {
554
+ x: 0,
555
+ y: 0,
556
+ offsetX: 0,
557
+ offsetY: 0,
558
+ scaleX: 1,
559
+ scaleY: 1,
560
+ originX: 0,
561
+ originY: 0
562
+ }), J(this, "_computedLayout", {
563
+ left: 0,
564
+ right: 0,
565
+ top: 0,
566
+ bottom: 0,
567
+ width: 0,
568
+ height: 0
569
+ }), J(this, "_styles", {
570
+ custom: {},
571
+ yoga: {}
572
+ }), J(this, "_modificationCount", 0), J(this, "_forceUpdate", !1), J(this, "hasParent", !1), J(this, "_trackedStyleKeys", [
573
+ "borderRadius",
574
+ "borderColor",
575
+ "backgroundColor",
576
+ "objectFit",
577
+ "objectPosition",
578
+ "transformOrigin",
579
+ "isLeaf"
580
+ ]), this.target = e, this.yoga = x().Node.create(T()), e.on("added", this._onChildAdded, this), e.on("removed", this._onChildRemoved, this), e.on("destroyed", this.destroy, this);
581
+ }
582
+ get style() {
583
+ return this._styles.custom;
584
+ }
585
+ get computedLayout() {
586
+ return this._computedLayout;
587
+ }
588
+ get computedPixiLayout() {
589
+ return this._computedPixiLayout;
590
+ }
591
+ get realX() {
592
+ return this.target.localTransform.tx;
593
+ }
594
+ get realY() {
595
+ return this.target.localTransform.ty;
596
+ }
597
+ get realScaleX() {
598
+ return this.target.localTransform.a;
599
+ }
600
+ get realScaleY() {
601
+ return this.target.localTransform.d;
602
+ }
603
+ setStyle(e) {
604
+ let t = be(this, e), n = JSON.stringify(this._styles.custom) !== JSON.stringify(t.custom), r = JSON.stringify(this._styles.yoga) !== JSON.stringify(t.yoga), i = n || r, a = this._trackedStyleKeys.some((e) => t.custom[e] !== this._styles.custom[e]);
605
+ this._styles = t, a && (this._forceUpdate = !0), i && (ye(this.yoga, this._styles.yoga), this.target._onUpdate(), this.invalidateRoot());
606
+ }
607
+ invalidateRoot(e) {
608
+ let t = this.getRoot(e);
609
+ t.destroyed || (t._layout._isDirty = !0, t._onUpdate(), this._modificationCount++);
610
+ }
611
+ forceUpdate() {
612
+ this._forceUpdate = !0;
613
+ }
614
+ getRoot(e) {
615
+ let t = e || this.target;
616
+ for (; t.parent?._layout || t.parent?.isOverflowContainer;) t = t.parent, t.isOverflowContainer && (t = t.parent);
617
+ return t;
618
+ }
619
+ _onChildAdded(e) {
620
+ this.hasParent || xe(this, e) !== !1 && (this.hasParent = !0, this.invalidateRoot());
621
+ }
622
+ _onChildRemoved(e) {
623
+ this.hasParent && (this.hasParent = !1, this.invalidateRoot(e), Ce(this));
624
+ }
625
+ destroy() {
626
+ this.destroyed || (this.destroyed = !0, this.invalidateRoot(), this.yoga.free(), this.target.off("added", this._onChildAdded, this), this.target.off("removed", this._onChildRemoved, this), this._styles = null, this._computedPixiLayout = null, this._computedLayout = null, this.target = null, this.hasParent = !1);
627
+ }
628
+ };
629
+ J(Y, "defaultStyle", {
630
+ leaf: {
631
+ width: "intrinsic",
632
+ height: "intrinsic"
633
+ },
634
+ container: {
635
+ width: "auto",
636
+ height: "auto"
637
+ },
638
+ shared: {
639
+ transformOrigin: "50%",
640
+ objectPosition: "center",
641
+ flexShrink: 1,
642
+ flexDirection: "row",
643
+ alignContent: "stretch",
644
+ flexWrap: "nowrap",
645
+ overflow: "visible"
646
+ }
647
+ });
648
+ //#endregion
649
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/mixins/utils/calculateObjectFit.mjs
650
+ function X(e, t, n) {
651
+ let r = 1, i = 1;
652
+ switch (e) {
653
+ case "fill":
654
+ r = t.width / n.width, i = t.height / n.height;
655
+ break;
656
+ case "contain": {
657
+ let e = Math.min(t.width / n.width, t.height / n.height);
658
+ r = e, i = e;
659
+ break;
660
+ }
661
+ case "cover": {
662
+ let e = Math.max(t.width / n.width, t.height / n.height);
663
+ r = e, i = e;
664
+ break;
665
+ }
666
+ case "none":
667
+ r = 1, i = 1;
668
+ break;
669
+ case "scale-down": {
670
+ let e = Math.min(1, t.width / n.width, t.height / n.height);
671
+ r = e, i = e;
672
+ break;
673
+ }
674
+ }
675
+ return {
676
+ offsetScaleX: r,
677
+ offsetScaleY: i
678
+ };
679
+ }
680
+ //#endregion
681
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/mixins/utils/baseComputeLayoutData.mjs
682
+ function Z(e, t, n, r) {
683
+ let i = e.getLocalBounds(), { offsetScaleX: a, offsetScaleY: o } = X(e.layout.style.objectFit || n, t, i), s = {
684
+ width: i.width * a,
685
+ height: i.height * o
686
+ }, { x: c, y: l } = j(e.layout.style.objectPosition, t, s);
687
+ r ? (c += i.width * a * r._x, l += i.height * o * r._y) : (c -= i.minX * a, l -= i.minY * o);
688
+ let u = e.layout.style.applySizeDirectly;
689
+ return (u === !0 || u == null && (e instanceof _ || e instanceof h)) && (e.width = i.width * a, e.height = i.height * o, a = 1, o = 1), {
690
+ x: t.left,
691
+ y: t.top,
692
+ offsetX: c,
693
+ offsetY: l,
694
+ scaleX: a,
695
+ scaleY: o
696
+ };
697
+ }
698
+ //#endregion
699
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/mixins/ContainerMixin.mjs
700
+ var Q = Object.getOwnPropertyDescriptor(p.prototype, "visible");
701
+ y.mixin(p, {
702
+ _layout: null,
703
+ get layout() {
704
+ return this._layout ?? null;
705
+ },
706
+ set layout(e) {
707
+ if (e = e === !0 ? {} : e, !e) {
708
+ this._layout && (this._layout.destroy(), this._layout = null, this.updateLocalTransform = p.prototype.updateLocalTransform, Object.defineProperty(p.prototype, "visible", Q));
709
+ return;
710
+ }
711
+ if (!this._layout) {
712
+ this._layout = new Y({ target: this }), Object.defineProperty(p.prototype, "visible", {
713
+ ...Q,
714
+ set(e) {
715
+ Q.set.call(this, e), this.layout && (e && this.parent ? this.layout._onChildAdded(this.parent) : this.layout._onChildRemoved());
716
+ }
717
+ });
718
+ for (let e of this.children) e.layout && e.visible && (e.layout._onChildRemoved(), e.layout._onChildAdded(this));
719
+ this.parent && this.visible && this._layout._onChildAdded(this.parent);
720
+ }
721
+ this._layout.setStyle(e), this.updateLocalTransform = this.updateLocalTransformWithLayout, this._onUpdate();
722
+ },
723
+ updateLocalTransformWithLayout() {
724
+ let e = this._didContainerChangeTick;
725
+ if (this._didLocalTransformChangeId === e) return;
726
+ this._didLocalTransformChangeId = e;
727
+ let { x: t, y: n, offsetX: r, offsetY: i, scaleX: a, scaleY: o, originX: s, originY: c } = this._layout._computedPixiLayout, l = this.localTransform, { rotation: u, skew: d, scale: f, position: p } = this, m = u + d._y, h = u - d._x, g = Math.cos(m) * f._x, _ = Math.sin(m) * f._x, v = -Math.sin(h) * f._y, y = Math.cos(h) * f._y, b = p._x + t - s * g - c * v, x = p._y + n - s * _ - c * y;
728
+ l.a = g * a, l.b = _ * a, l.c = v * o, l.d = y * o, l.tx = b + (r * g + i * v) + s, l.ty = x + (r * _ + i * y) + c;
729
+ },
730
+ computeLayoutData(e) {
731
+ let { isLeaf: t } = this._layout._styles.custom;
732
+ return t ? Z(this, e, "fill") : {
733
+ x: e.left,
734
+ y: e.top,
735
+ offsetX: 0,
736
+ offsetY: 0,
737
+ scaleX: 1,
738
+ scaleY: 1
739
+ };
740
+ }
741
+ });
742
+ //#endregion
743
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/core/mixins/TextMixin.mjs
744
+ var Ee = new g(0, 0);
745
+ y.mixin(f, { computeLayoutData(e) {
746
+ let t = this._style;
747
+ Ee.copyFrom(this.scale), this.scale = 1, t.wordWrap && (t.wordWrapWidth = e.width);
748
+ let n = this.getLocalBounds(), { offsetScaleX: r, offsetScaleY: i } = X(this.layout.style.objectFit || "scale-down", e, n);
749
+ t.wordWrap && (t.wordWrapWidth = e.width / Math.min(1, Math.max(r, i))), n = this.getLocalBounds();
750
+ let a = {
751
+ width: n.width * r,
752
+ height: n.height * i
753
+ }, { x: o, y: s } = j(this.layout.style.objectPosition, e, a);
754
+ return o += n.width * r * this.anchor._x, s += n.height * i * this.anchor._y, this.layout.style.applySizeDirectly === !0 && (this.width = n.width * r, this.height = n.height * i), this.scale.copyFrom(Ee), {
755
+ x: e.left,
756
+ y: e.top,
757
+ offsetX: o,
758
+ offsetY: s,
759
+ scaleX: r,
760
+ scaleY: i
761
+ };
762
+ } });
763
+ var $ = Object.getOwnPropertyDescriptor(f.prototype, "text");
764
+ //#endregion
765
+ //#region ../../node_modules/.pnpm/@pixi+layout@3.2.0_@types+react@19.1.3_pixi.js@8.9.2_react@19.1.0_yoga-layout@3.2.1/node_modules/@pixi/layout/dist/index.mjs
766
+ Object.defineProperty(f.prototype, "text", {
767
+ ...$,
768
+ set(e) {
769
+ var t;
770
+ let n = $.get.call(this);
771
+ $.set.call(this, e), n !== e && ((t = this.layout) == null || t.forceUpdate());
772
+ }
773
+ }), y.mixin(v, { computeLayoutData(e) {
774
+ return Z(this, e, "fill", this._anchor);
775
+ } }), y.add(I);
776
+ //#endregion
777
+
778
+ //# sourceMappingURL=dist-BOOc43Qm.js.map