dlzn-ui 2.0.7 → 2.0.8

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 (171) hide show
  1. package/assets/$loading-D_Zs2VgL.css +1 -0
  2. package/chunks/$loading-Df3COGfW.mjs +241 -0
  3. package/chunks/{AssignUser-BPrzGjCg.mjs → AssignUser-Dj8rq5gH.mjs} +3 -3
  4. package/chunks/{Common-Ds4A0g73.mjs → Common-CnrITpXz.mjs} +1 -1
  5. package/chunks/{Day-CWWVjsXu.mjs → Day-tjS-0iDA.mjs} +1 -1
  6. package/chunks/{DictTypeDetail-ijxK2MDm.mjs → DictTypeDetail-CcohOVfN.mjs} +2 -2
  7. package/chunks/FileSaver.min-BAG7TK0U.mjs +70 -0
  8. package/chunks/{Hour-D-2s4xgR.mjs → Hour-B9fx59cM.mjs} +1 -1
  9. package/chunks/{Index-Bu5a_B5n.mjs → Index-B-_PVf5U.mjs} +1 -1
  10. package/chunks/{Index-DoPLbOv7.mjs → Index-BTEVAXbg.mjs} +2 -2
  11. package/chunks/{Index-bEWcnIHJ.mjs → Index-BxfxoY-l.mjs} +1 -1
  12. package/chunks/{Index-Bi44jQm2.mjs → Index-CrxoIuR-.mjs} +1 -1
  13. package/chunks/{Index-D0dEcWw2.mjs → Index-D-gi1OVy.mjs} +2 -2
  14. package/chunks/{Index-DhkEiAro.mjs → Index-DlrNiiDp.mjs} +1 -1
  15. package/chunks/{Index-De48YIRG.mjs → Index-baebFewJ.mjs} +1 -1
  16. package/chunks/{Index-az-w01U3.mjs → Index-z9vUMzmS.mjs} +2 -2
  17. package/chunks/{IndexItem-KlRJte7i.mjs → IndexItem-rt5wZA39.mjs} +2 -2
  18. package/chunks/{Log-LYCmf0zI.mjs → Log-DK5aduPG.mjs} +2 -2
  19. package/chunks/{MenuNode-ByutDAqI.mjs → MenuNode-B0M4WpOn.mjs} +1 -1
  20. package/chunks/{MenuNode-6Nca-v9i.mjs → MenuNode-DEBSfNz9.mjs} +1 -1
  21. package/chunks/{Minute-8BpPY8V6.mjs → Minute-hPwzkaCM.mjs} +1 -1
  22. package/chunks/{Month-C5iIZpY7.mjs → Month-Cnjhbs28.mjs} +1 -1
  23. package/chunks/{Second-BKF09AKl.mjs → Second-DAYKul2s.mjs} +1 -1
  24. package/chunks/{SelectDept-C78pnJtp.mjs → SelectDept-CC4ckbbt.mjs} +1 -1
  25. package/chunks/{SelectMenu-B2-QkHU2.mjs → SelectMenu-pBim6_Lj.mjs} +1 -1
  26. package/chunks/{SelectUser-BuE4Lgm0.mjs → SelectUser-D6dBXxlL.mjs} +2 -2
  27. package/chunks/Triangle-C5ogSVp9.mjs +1140 -0
  28. package/chunks/{UserInfo-uDVj4WPH.mjs → UserInfo-BUlPdKge.mjs} +1 -1
  29. package/chunks/__vite-browser-external-D1GT_Hx9.mjs +7 -0
  30. package/chunks/{app-BXskd1Ae.mjs → app-Dk-mybzX.mjs} +2 -2
  31. package/chunks/auto-animate-FPySn19g.mjs +341 -0
  32. package/chunks/crypto-js-DWj_rBsG.mjs +3695 -0
  33. package/chunks/css-Cw_qlmlv.mjs +521 -0
  34. package/chunks/{custom-page-list-r5EUcg98.mjs → custom-page-list-EQhltX7t.mjs} +4 -4
  35. package/chunks/{custom-page-table-D1FmkEop.mjs → custom-page-table-CYLFzT4F.mjs} +2 -2
  36. package/chunks/date-picker-C_5NJHjq.mjs +8186 -0
  37. package/chunks/icon-jnCbW4iu.mjs +1013 -0
  38. package/chunks/{menu-CjNx3wKR.mjs → menu-DYwAudY3.mjs} +1 -1
  39. package/chunks/{overview-BCXuALeB.mjs → overview-D9YB44O0.mjs} +1 -1
  40. package/chunks/{page-list-Zp_EiMZd.mjs → page-list-BnGVTcad.mjs} +3 -3
  41. package/chunks/{page-query-CxZBtQht.mjs → page-query-QCT-mat_.mjs} +1 -1
  42. package/chunks/{page-table-BpyyKTMq.mjs → page-table-DMOjg44G.mjs} +3 -3
  43. package/chunks/{pagination-y5tkmGDM.mjs → pagination-BNAZYVJk.mjs} +1 -1
  44. package/chunks/{provider-C6TTHGoz.mjs → provider-DQIMA4mE.mjs} +635 -600
  45. package/chunks/rolldown-runtime-D_tDV3RV.mjs +23 -0
  46. package/chunks/{scrollbar-CI1mysNQ.mjs → scrollbar-B0u39t4J.mjs} +9 -10
  47. package/chunks/store-C46_JI7q.mjs +112 -0
  48. package/chunks/{table-2Eqd8Kcx.mjs → table-BFP90EA0.mjs} +2 -2
  49. package/chunks/{tag-CfeJWJii.mjs → tag-BDpZ8-Fj.mjs} +1 -1
  50. package/components/app/index.mjs +1 -1
  51. package/components/app/src/app.mjs +1 -1
  52. package/components/button/index.mjs +1 -1
  53. package/components/button/src/button.mjs +1 -1
  54. package/components/checkbox-group/index.mjs +1 -1
  55. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  56. package/components/cron/index.mjs +1 -1
  57. package/components/cron/src/Common.mjs +1 -1
  58. package/components/cron/src/Day.mjs +1 -1
  59. package/components/cron/src/Hour.mjs +1 -1
  60. package/components/cron/src/Minute.mjs +1 -1
  61. package/components/cron/src/Month.mjs +1 -1
  62. package/components/cron/src/Picker.mjs +6206 -103
  63. package/components/cron/src/Second.mjs +1 -1
  64. package/components/cron/src/cron.mjs +1 -1
  65. package/components/custom-page-list/index.mjs +1 -1
  66. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  67. package/components/custom-page-table/index.mjs +1 -1
  68. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  69. package/components/date-picker/index.mjs +1 -1
  70. package/components/date-picker/src/date-picker.mjs +1 -1
  71. package/components/form/index.mjs +1 -1
  72. package/components/form/src/form.mjs +1 -1
  73. package/components/icon/index.mjs +1 -1
  74. package/components/icon/src/icon.mjs +1 -1
  75. package/components/index.mjs +19 -19
  76. package/components/overview/index.mjs +1 -1
  77. package/components/overview/src/DicLabel/Index.mjs +1 -1
  78. package/components/overview/src/IndexItem.mjs +1 -1
  79. package/components/overview/src/OptionLabel/Index.mjs +1 -1
  80. package/components/overview/src/overview.mjs +1 -1
  81. package/components/page-list/index.mjs +1 -1
  82. package/components/page-list/src/page-list.mjs +1 -1
  83. package/components/page-query/index.mjs +1 -1
  84. package/components/page-query/src/page-query.mjs +1 -1
  85. package/components/page-table/index.mjs +1 -1
  86. package/components/page-table/src/page-table.mjs +1 -1
  87. package/components/pagination/index.mjs +1 -1
  88. package/components/pagination/src/pagination.mjs +1 -1
  89. package/components/provider/index.mjs +1 -1
  90. package/components/provider/src/Provider.mjs +1 -1
  91. package/components/radio-group/index.mjs +1 -1
  92. package/components/radio-group/src/radio-group.mjs +1 -1
  93. package/components/scrollbar/index.mjs +1 -1
  94. package/components/scrollbar/src/scrollbar.mjs +1 -1
  95. package/components/select/index.mjs +1 -1
  96. package/components/select/src/select.mjs +1 -1
  97. package/components/select-sys-user/index.mjs +1 -1
  98. package/components/select-sys-user/src/Picker.mjs +2 -2
  99. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  100. package/components/table/index.mjs +1 -1
  101. package/components/table/src/table.mjs +1 -1
  102. package/components/tag/index.mjs +1 -1
  103. package/components/tag/src/tag.mjs +1 -1
  104. package/components/tree/index.mjs +1 -1
  105. package/components/tree/src/tree.mjs +1 -1
  106. package/components/tree-select/index.mjs +1 -1
  107. package/components/tree-select/src/tree-select.mjs +1 -1
  108. package/components/upload/index.mjs +1 -1
  109. package/components/upload/src/upload.mjs +1 -1
  110. package/hooks/useAnimateAuto/index.mjs +6 -6
  111. package/hooks/useContextMenu/menu/index.mjs +1 -1
  112. package/hooks/useContextMenu/menu/src/MenuNode.mjs +1 -1
  113. package/hooks/useContextMenu/menu/src/menu.mjs +1 -1
  114. package/hooks/useDicOptions/index.mjs +1 -1
  115. package/hooks/useSysUser/index.mjs +1 -1
  116. package/layout/Entry.mjs +1 -1
  117. package/layout/Login.mjs +2 -2
  118. package/layout/NotFound.mjs +1 -1
  119. package/layout/modules/Aside.mjs +1 -1
  120. package/layout/modules/Breadcrumb.mjs +1 -1
  121. package/layout/modules/Header.mjs +1 -1
  122. package/layout/modules/MenuNode.mjs +1 -1
  123. package/layout/profile/Index.mjs +2 -2
  124. package/layout/profile/ResetPwd.mjs +1 -1
  125. package/layout/profile/UserInfo.mjs +1 -1
  126. package/layout/vueBits/LightRays.mjs +47 -47
  127. package/layout/vueBits/Plasma.mjs +29 -29
  128. package/layout/vueBits/Prism.mjs +51 -51
  129. package/main.mjs +36 -9
  130. package/package.json +11 -9
  131. package/plugins/autoImport/$alova/index.mjs +1 -1
  132. package/plugins/autoImport/$confirm/index.mjs +1 -1
  133. package/plugins/autoImport/$dialog/index.mjs +1 -1
  134. package/plugins/autoImport/$drawer/index.mjs +1 -1
  135. package/plugins/autoImport/$loading/index.mjs +2 -38
  136. package/plugins/captcha/captcha.mjs +2 -2
  137. package/plugins/captcha/index.mjs +1 -1
  138. package/plugins/echarts/index.mjs +705 -25
  139. package/plugins/initialize/index.mjs +1 -1
  140. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  141. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  142. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  143. package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
  144. package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
  145. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  146. package/plugins/tableRenders/cell/Tags/Index.mjs +1 -1
  147. package/plugins/tableRenders/cell/index.mjs +6 -6
  148. package/router/index.mjs +1 -1
  149. package/store/index.mjs +2 -7
  150. package/store/modules/common.mjs +1 -1
  151. package/store/modules/login.mjs +1 -1
  152. package/store/modules/recentRouters.mjs +1 -1
  153. package/store/modules/router.mjs +1 -1
  154. package/store/modules/user.mjs +1 -1
  155. package/utils/tool.mjs +16 -15
  156. package/views/system/dept/index.mjs +2 -2
  157. package/views/system/dept/utils.mjs +1 -1
  158. package/views/system/dict/index.mjs +3 -3
  159. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  160. package/views/system/menu/index.mjs +3 -3
  161. package/views/system/post/index.mjs +2 -2
  162. package/views/system/role/index.mjs +5 -5
  163. package/views/system/role/modules/AssignUser.mjs +1 -1
  164. package/views/system/role/modules/SelectDept.mjs +1 -1
  165. package/views/system/role/modules/SelectMenu.mjs +1 -1
  166. package/views/system/role/modules/SelectUser.mjs +1 -1
  167. package/views/system/user/index.mjs +3 -3
  168. package/views/tool/job/index.mjs +3 -3
  169. package/views/tool/job/modules/Log.mjs +1 -1
  170. package/chunks/date-picker-D15OhWnK.mjs +0 -378
  171. package/chunks/icon-COjp1yrx.mjs +0 -21
@@ -0,0 +1,1140 @@
1
+ //#region ../../node_modules/.pnpm/ogl@1.0.11/node_modules/ogl/src/math/functions/Vec3Func.js
2
+ function e(e) {
3
+ let t = e[0], n = e[1], r = e[2];
4
+ return Math.sqrt(t * t + n * n + r * r);
5
+ }
6
+ function t(e, t) {
7
+ return e[0] = t[0], e[1] = t[1], e[2] = t[2], e;
8
+ }
9
+ function n(e, t, n, r) {
10
+ return e[0] = t, e[1] = n, e[2] = r, e;
11
+ }
12
+ function r(e, t, n) {
13
+ return e[0] = t[0] + n[0], e[1] = t[1] + n[1], e[2] = t[2] + n[2], e;
14
+ }
15
+ function i(e, t, n) {
16
+ return e[0] = t[0] - n[0], e[1] = t[1] - n[1], e[2] = t[2] - n[2], e;
17
+ }
18
+ function a(e, t, n) {
19
+ return e[0] = t[0] * n[0], e[1] = t[1] * n[1], e[2] = t[2] * n[2], e;
20
+ }
21
+ function o(e, t, n) {
22
+ return e[0] = t[0] / n[0], e[1] = t[1] / n[1], e[2] = t[2] / n[2], e;
23
+ }
24
+ function s(e, t, n) {
25
+ return e[0] = t[0] * n, e[1] = t[1] * n, e[2] = t[2] * n, e;
26
+ }
27
+ function c(e, t) {
28
+ let n = t[0] - e[0], r = t[1] - e[1], i = t[2] - e[2];
29
+ return Math.sqrt(n * n + r * r + i * i);
30
+ }
31
+ function l(e, t) {
32
+ let n = t[0] - e[0], r = t[1] - e[1], i = t[2] - e[2];
33
+ return n * n + r * r + i * i;
34
+ }
35
+ function u(e) {
36
+ let t = e[0], n = e[1], r = e[2];
37
+ return t * t + n * n + r * r;
38
+ }
39
+ function d(e, t) {
40
+ return e[0] = -t[0], e[1] = -t[1], e[2] = -t[2], e;
41
+ }
42
+ function f(e, t) {
43
+ return e[0] = 1 / t[0], e[1] = 1 / t[1], e[2] = 1 / t[2], e;
44
+ }
45
+ function p(e, t) {
46
+ let n = t[0], r = t[1], i = t[2], a = n * n + r * r + i * i;
47
+ return a > 0 && (a = 1 / Math.sqrt(a)), e[0] = t[0] * a, e[1] = t[1] * a, e[2] = t[2] * a, e;
48
+ }
49
+ function m(e, t) {
50
+ return e[0] * t[0] + e[1] * t[1] + e[2] * t[2];
51
+ }
52
+ function h(e, t, n) {
53
+ let r = t[0], i = t[1], a = t[2], o = n[0], s = n[1], c = n[2];
54
+ return e[0] = i * c - a * s, e[1] = a * o - r * c, e[2] = r * s - i * o, e;
55
+ }
56
+ function g(e, t, n, r) {
57
+ let i = t[0], a = t[1], o = t[2];
58
+ return e[0] = i + r * (n[0] - i), e[1] = a + r * (n[1] - a), e[2] = o + r * (n[2] - o), e;
59
+ }
60
+ function _(e, t, n, r, i) {
61
+ let a = Math.exp(-r * i), o = t[0], s = t[1], c = t[2];
62
+ return e[0] = n[0] + (o - n[0]) * a, e[1] = n[1] + (s - n[1]) * a, e[2] = n[2] + (c - n[2]) * a, e;
63
+ }
64
+ function v(e, t, n) {
65
+ let r = t[0], i = t[1], a = t[2], o = n[3] * r + n[7] * i + n[11] * a + n[15];
66
+ return o ||= 1, e[0] = (n[0] * r + n[4] * i + n[8] * a + n[12]) / o, e[1] = (n[1] * r + n[5] * i + n[9] * a + n[13]) / o, e[2] = (n[2] * r + n[6] * i + n[10] * a + n[14]) / o, e;
67
+ }
68
+ function y(e, t, n) {
69
+ let r = t[0], i = t[1], a = t[2], o = n[3] * r + n[7] * i + n[11] * a + n[15];
70
+ return o ||= 1, e[0] = (n[0] * r + n[4] * i + n[8] * a) / o, e[1] = (n[1] * r + n[5] * i + n[9] * a) / o, e[2] = (n[2] * r + n[6] * i + n[10] * a) / o, e;
71
+ }
72
+ function b(e, t, n) {
73
+ let r = t[0], i = t[1], a = t[2];
74
+ return e[0] = r * n[0] + i * n[3] + a * n[6], e[1] = r * n[1] + i * n[4] + a * n[7], e[2] = r * n[2] + i * n[5] + a * n[8], e;
75
+ }
76
+ function x(e, t, n) {
77
+ let r = t[0], i = t[1], a = t[2], o = n[0], s = n[1], c = n[2], l = n[3], u = s * a - c * i, d = c * r - o * a, f = o * i - s * r, p = s * f - c * d, m = c * u - o * f, h = o * d - s * u, g = l * 2;
78
+ return u *= g, d *= g, f *= g, p *= 2, m *= 2, h *= 2, e[0] = r + u + p, e[1] = i + d + m, e[2] = a + f + h, e;
79
+ }
80
+ var S = (function() {
81
+ let e = [
82
+ 0,
83
+ 0,
84
+ 0
85
+ ], n = [
86
+ 0,
87
+ 0,
88
+ 0
89
+ ];
90
+ return function(r, i) {
91
+ t(e, r), t(n, i), p(e, e), p(n, n);
92
+ let a = m(e, n);
93
+ return a > 1 ? 0 : a < -1 ? Math.PI : Math.acos(a);
94
+ };
95
+ })();
96
+ function C(e, t) {
97
+ return e[0] === t[0] && e[1] === t[1] && e[2] === t[2];
98
+ }
99
+ //#endregion
100
+ //#region ../../node_modules/.pnpm/ogl@1.0.11/node_modules/ogl/src/math/Vec3.js
101
+ var w = class w extends Array {
102
+ constructor(e = 0, t = e, n = e) {
103
+ return super(e, t, n), this;
104
+ }
105
+ get x() {
106
+ return this[0];
107
+ }
108
+ get y() {
109
+ return this[1];
110
+ }
111
+ get z() {
112
+ return this[2];
113
+ }
114
+ set x(e) {
115
+ this[0] = e;
116
+ }
117
+ set y(e) {
118
+ this[1] = e;
119
+ }
120
+ set z(e) {
121
+ this[2] = e;
122
+ }
123
+ set(e, t = e, r = e) {
124
+ return e.length ? this.copy(e) : (n(this, e, t, r), this);
125
+ }
126
+ copy(e) {
127
+ return t(this, e), this;
128
+ }
129
+ add(e, t) {
130
+ return t ? r(this, e, t) : r(this, this, e), this;
131
+ }
132
+ sub(e, t) {
133
+ return t ? i(this, e, t) : i(this, this, e), this;
134
+ }
135
+ multiply(e) {
136
+ return e.length ? a(this, this, e) : s(this, this, e), this;
137
+ }
138
+ divide(e) {
139
+ return e.length ? o(this, this, e) : s(this, this, 1 / e), this;
140
+ }
141
+ inverse(e = this) {
142
+ return f(this, e), this;
143
+ }
144
+ len() {
145
+ return e(this);
146
+ }
147
+ distance(t) {
148
+ return t ? c(this, t) : e(this);
149
+ }
150
+ squaredLen() {
151
+ return u(this);
152
+ }
153
+ squaredDistance(e) {
154
+ return e ? l(this, e) : u(this);
155
+ }
156
+ negate(e = this) {
157
+ return d(this, e), this;
158
+ }
159
+ cross(e, t) {
160
+ return t ? h(this, e, t) : h(this, this, e), this;
161
+ }
162
+ scale(e) {
163
+ return s(this, this, e), this;
164
+ }
165
+ normalize() {
166
+ return p(this, this), this;
167
+ }
168
+ dot(e) {
169
+ return m(this, e);
170
+ }
171
+ equals(e) {
172
+ return C(this, e);
173
+ }
174
+ applyMatrix3(e) {
175
+ return b(this, this, e), this;
176
+ }
177
+ applyMatrix4(e) {
178
+ return v(this, this, e), this;
179
+ }
180
+ scaleRotateMatrix4(e) {
181
+ return y(this, this, e), this;
182
+ }
183
+ applyQuaternion(e) {
184
+ return x(this, this, e), this;
185
+ }
186
+ angle(e) {
187
+ return S(this, e);
188
+ }
189
+ lerp(e, t) {
190
+ return g(this, this, e, t), this;
191
+ }
192
+ smoothLerp(e, t, n) {
193
+ return _(this, this, e, t, n), this;
194
+ }
195
+ clone() {
196
+ return new w(this[0], this[1], this[2]);
197
+ }
198
+ fromArray(e, t = 0) {
199
+ return this[0] = e[t], this[1] = e[t + 1], this[2] = e[t + 2], this;
200
+ }
201
+ toArray(e = [], t = 0) {
202
+ return e[t] = this[0], e[t + 1] = this[1], e[t + 2] = this[2], e;
203
+ }
204
+ transformDirection(e) {
205
+ let t = this[0], n = this[1], r = this[2];
206
+ return this[0] = e[0] * t + e[4] * n + e[8] * r, this[1] = e[1] * t + e[5] * n + e[9] * r, this[2] = e[2] * t + e[6] * n + e[10] * r, this.normalize();
207
+ }
208
+ }, T = /* @__PURE__ */ new w(), E = 1, D = 1, O = !1, k = class {
209
+ constructor(e, t = {}) {
210
+ e.canvas || console.error("gl not passed as first argument to Geometry"), this.gl = e, this.attributes = t, this.id = E++, this.VAOs = {}, this.drawRange = {
211
+ start: 0,
212
+ count: 0
213
+ }, this.instancedCount = 0, this.gl.renderer.bindVertexArray(null), this.gl.renderer.currentGeometry = null, this.glState = this.gl.renderer.state;
214
+ for (let e in t) this.addAttribute(e, t[e]);
215
+ }
216
+ addAttribute(e, t) {
217
+ if (this.attributes[e] = t, t.id = D++, t.size = t.size || 1, t.type = t.type || (t.data.constructor === Float32Array ? this.gl.FLOAT : t.data.constructor === Uint16Array ? this.gl.UNSIGNED_SHORT : this.gl.UNSIGNED_INT), t.target = e === "index" ? this.gl.ELEMENT_ARRAY_BUFFER : this.gl.ARRAY_BUFFER, t.normalized = t.normalized || !1, t.stride = t.stride || 0, t.offset = t.offset || 0, t.count = t.count || (t.stride ? t.data.byteLength / t.stride : t.data.length / t.size), t.divisor = t.instanced || 0, t.needsUpdate = !1, t.usage = t.usage || this.gl.STATIC_DRAW, t.buffer || this.updateAttribute(t), t.divisor) {
218
+ if (this.isInstanced = !0, this.instancedCount && this.instancedCount !== t.count * t.divisor) return console.warn("geometry has multiple instanced buffers of different length"), this.instancedCount = Math.min(this.instancedCount, t.count * t.divisor);
219
+ this.instancedCount = t.count * t.divisor;
220
+ } else e === "index" ? this.drawRange.count = t.count : this.attributes.index || (this.drawRange.count = Math.max(this.drawRange.count, t.count));
221
+ }
222
+ updateAttribute(e) {
223
+ let t = !e.buffer;
224
+ t && (e.buffer = this.gl.createBuffer()), this.glState.boundBuffer !== e.buffer && (this.gl.bindBuffer(e.target, e.buffer), this.glState.boundBuffer = e.buffer), t ? this.gl.bufferData(e.target, e.data, e.usage) : this.gl.bufferSubData(e.target, 0, e.data), e.needsUpdate = !1;
225
+ }
226
+ setIndex(e) {
227
+ this.addAttribute("index", e);
228
+ }
229
+ setDrawRange(e, t) {
230
+ this.drawRange.start = e, this.drawRange.count = t;
231
+ }
232
+ setInstancedCount(e) {
233
+ this.instancedCount = e;
234
+ }
235
+ createVAO(e) {
236
+ this.VAOs[e.attributeOrder] = this.gl.renderer.createVertexArray(), this.gl.renderer.bindVertexArray(this.VAOs[e.attributeOrder]), this.bindAttributes(e);
237
+ }
238
+ bindAttributes(e) {
239
+ e.attributeLocations.forEach((e, { name: t, type: n }) => {
240
+ if (!this.attributes[t]) {
241
+ console.warn(`active attribute ${t} not being supplied`);
242
+ return;
243
+ }
244
+ let r = this.attributes[t];
245
+ this.gl.bindBuffer(r.target, r.buffer), this.glState.boundBuffer = r.buffer;
246
+ let i = 1;
247
+ n === 35674 && (i = 2), n === 35675 && (i = 3), n === 35676 && (i = 4);
248
+ let a = r.size / i, o = i === 1 ? 0 : i * i * 4, s = i === 1 ? 0 : i * 4;
249
+ for (let t = 0; t < i; t++) this.gl.vertexAttribPointer(e + t, a, r.type, r.normalized, r.stride + o, r.offset + t * s), this.gl.enableVertexAttribArray(e + t), this.gl.renderer.vertexAttribDivisor(e + t, r.divisor);
250
+ }), this.attributes.index && this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER, this.attributes.index.buffer);
251
+ }
252
+ draw({ program: e, mode: t = this.gl.TRIANGLES }) {
253
+ this.gl.renderer.currentGeometry !== `${this.id}_${e.attributeOrder}` && (this.VAOs[e.attributeOrder] || this.createVAO(e), this.gl.renderer.bindVertexArray(this.VAOs[e.attributeOrder]), this.gl.renderer.currentGeometry = `${this.id}_${e.attributeOrder}`), e.attributeLocations.forEach((e, { name: t }) => {
254
+ let n = this.attributes[t];
255
+ n.needsUpdate && this.updateAttribute(n);
256
+ });
257
+ let n = 2;
258
+ this.attributes.index?.type === this.gl.UNSIGNED_INT && (n = 4), this.isInstanced ? this.attributes.index ? this.gl.renderer.drawElementsInstanced(t, this.drawRange.count, this.attributes.index.type, this.attributes.index.offset + this.drawRange.start * n, this.instancedCount) : this.gl.renderer.drawArraysInstanced(t, this.drawRange.start, this.drawRange.count, this.instancedCount) : this.attributes.index ? this.gl.drawElements(t, this.drawRange.count, this.attributes.index.type, this.attributes.index.offset + this.drawRange.start * n) : this.gl.drawArrays(t, this.drawRange.start, this.drawRange.count);
259
+ }
260
+ getPosition() {
261
+ let e = this.attributes.position;
262
+ if (e.data) return e;
263
+ if (!O) return console.warn("No position buffer data found to compute bounds"), O = !0;
264
+ }
265
+ computeBoundingBox(e) {
266
+ e ||= this.getPosition();
267
+ let t = e.data, n = e.size;
268
+ this.bounds ||= {
269
+ min: new w(),
270
+ max: new w(),
271
+ center: new w(),
272
+ scale: new w(),
273
+ radius: Infinity
274
+ };
275
+ let r = this.bounds.min, i = this.bounds.max, a = this.bounds.center, o = this.bounds.scale;
276
+ r.set(Infinity), i.set(-Infinity);
277
+ for (let e = 0, a = t.length; e < a; e += n) {
278
+ let n = t[e], a = t[e + 1], o = t[e + 2];
279
+ r.x = Math.min(n, r.x), r.y = Math.min(a, r.y), r.z = Math.min(o, r.z), i.x = Math.max(n, i.x), i.y = Math.max(a, i.y), i.z = Math.max(o, i.z);
280
+ }
281
+ o.sub(i, r), a.add(r, i).divide(2);
282
+ }
283
+ computeBoundingSphere(e) {
284
+ e ||= this.getPosition();
285
+ let t = e.data, n = e.size;
286
+ this.bounds || this.computeBoundingBox(e);
287
+ let r = 0;
288
+ for (let e = 0, i = t.length; e < i; e += n) T.fromArray(t, e), r = Math.max(r, this.bounds.center.squaredDistance(T));
289
+ this.bounds.radius = Math.sqrt(r);
290
+ }
291
+ remove() {
292
+ for (let e in this.VAOs) this.gl.renderer.deleteVertexArray(this.VAOs[e]), delete this.VAOs[e];
293
+ for (let e in this.attributes) this.gl.deleteBuffer(this.attributes[e].buffer), delete this.attributes[e];
294
+ }
295
+ }, A = 1, j = {}, ee = class {
296
+ constructor(e, { vertex: t, fragment: n, uniforms: r = {}, transparent: i = !1, cullFace: a = e.BACK, frontFace: o = e.CCW, depthTest: s = !0, depthWrite: c = !0, depthFunc: l = e.LEQUAL } = {}) {
297
+ e.canvas || console.error("gl not passed as first argument to Program"), this.gl = e, this.uniforms = r, this.id = A++, t || console.warn("vertex shader not supplied"), n || console.warn("fragment shader not supplied"), this.transparent = i, this.cullFace = a, this.frontFace = o, this.depthTest = s, this.depthWrite = c, this.depthFunc = l, this.blendFunc = {}, this.blendEquation = {}, this.stencilFunc = {}, this.stencilOp = {}, this.transparent && !this.blendFunc.src && (this.gl.renderer.premultipliedAlpha ? this.setBlendFunc(this.gl.ONE, this.gl.ONE_MINUS_SRC_ALPHA) : this.setBlendFunc(this.gl.SRC_ALPHA, this.gl.ONE_MINUS_SRC_ALPHA)), this.vertexShader = e.createShader(e.VERTEX_SHADER), this.fragmentShader = e.createShader(e.FRAGMENT_SHADER), this.program = e.createProgram(), e.attachShader(this.program, this.vertexShader), e.attachShader(this.program, this.fragmentShader), this.setShaders({
298
+ vertex: t,
299
+ fragment: n
300
+ });
301
+ }
302
+ setShaders({ vertex: e, fragment: t }) {
303
+ if (e && (this.gl.shaderSource(this.vertexShader, e), this.gl.compileShader(this.vertexShader), this.gl.getShaderInfoLog(this.vertexShader) !== "" && console.warn(`${this.gl.getShaderInfoLog(this.vertexShader)}\nVertex Shader\n${N(e)}`)), t && (this.gl.shaderSource(this.fragmentShader, t), this.gl.compileShader(this.fragmentShader), this.gl.getShaderInfoLog(this.fragmentShader) !== "" && console.warn(`${this.gl.getShaderInfoLog(this.fragmentShader)}\nFragment Shader\n${N(t)}`)), this.gl.linkProgram(this.program), !this.gl.getProgramParameter(this.program, this.gl.LINK_STATUS)) return console.warn(this.gl.getProgramInfoLog(this.program));
304
+ this.uniformLocations = /* @__PURE__ */ new Map();
305
+ let n = this.gl.getProgramParameter(this.program, this.gl.ACTIVE_UNIFORMS);
306
+ for (let e = 0; e < n; e++) {
307
+ let t = this.gl.getActiveUniform(this.program, e);
308
+ this.uniformLocations.set(t, this.gl.getUniformLocation(this.program, t.name));
309
+ let n = t.name.match(/(\w+)/g);
310
+ t.uniformName = n[0], t.nameComponents = n.slice(1);
311
+ }
312
+ this.attributeLocations = /* @__PURE__ */ new Map();
313
+ let r = [], i = this.gl.getProgramParameter(this.program, this.gl.ACTIVE_ATTRIBUTES);
314
+ for (let e = 0; e < i; e++) {
315
+ let t = this.gl.getActiveAttrib(this.program, e), n = this.gl.getAttribLocation(this.program, t.name);
316
+ n !== -1 && (r[n] = t.name, this.attributeLocations.set(t, n));
317
+ }
318
+ this.attributeOrder = r.join("");
319
+ }
320
+ setBlendFunc(e, t, n, r) {
321
+ this.blendFunc.src = e, this.blendFunc.dst = t, this.blendFunc.srcAlpha = n, this.blendFunc.dstAlpha = r, e && (this.transparent = !0);
322
+ }
323
+ setBlendEquation(e, t) {
324
+ this.blendEquation.modeRGB = e, this.blendEquation.modeAlpha = t;
325
+ }
326
+ setStencilFunc(e, t, n) {
327
+ this.stencilRef = t, this.stencilFunc.func = e, this.stencilFunc.ref = t, this.stencilFunc.mask = n;
328
+ }
329
+ setStencilOp(e, t, n) {
330
+ this.stencilOp.stencilFail = e, this.stencilOp.depthFail = t, this.stencilOp.depthPass = n;
331
+ }
332
+ applyState() {
333
+ this.depthTest ? this.gl.renderer.enable(this.gl.DEPTH_TEST) : this.gl.renderer.disable(this.gl.DEPTH_TEST), this.cullFace ? this.gl.renderer.enable(this.gl.CULL_FACE) : this.gl.renderer.disable(this.gl.CULL_FACE), this.blendFunc.src ? this.gl.renderer.enable(this.gl.BLEND) : this.gl.renderer.disable(this.gl.BLEND), this.cullFace && this.gl.renderer.setCullFace(this.cullFace), this.gl.renderer.setFrontFace(this.frontFace), this.gl.renderer.setDepthMask(this.depthWrite), this.gl.renderer.setDepthFunc(this.depthFunc), this.blendFunc.src && this.gl.renderer.setBlendFunc(this.blendFunc.src, this.blendFunc.dst, this.blendFunc.srcAlpha, this.blendFunc.dstAlpha), this.gl.renderer.setBlendEquation(this.blendEquation.modeRGB, this.blendEquation.modeAlpha), this.stencilFunc.func || this.stencilOp.stencilFail ? this.gl.renderer.enable(this.gl.STENCIL_TEST) : this.gl.renderer.disable(this.gl.STENCIL_TEST), this.gl.renderer.setStencilFunc(this.stencilFunc.func, this.stencilFunc.ref, this.stencilFunc.mask), this.gl.renderer.setStencilOp(this.stencilOp.stencilFail, this.stencilOp.depthFail, this.stencilOp.depthPass);
334
+ }
335
+ use({ flipFaces: e = !1 } = {}) {
336
+ let t = -1;
337
+ this.gl.renderer.state.currentProgram !== this.id && (this.gl.useProgram(this.program), this.gl.renderer.state.currentProgram = this.id), this.uniformLocations.forEach((e, n) => {
338
+ let r = this.uniforms[n.uniformName];
339
+ for (let e of n.nameComponents) {
340
+ if (!r) break;
341
+ if (e in r) r = r[e];
342
+ else if (Array.isArray(r.value)) break;
343
+ else {
344
+ r = void 0;
345
+ break;
346
+ }
347
+ }
348
+ if (!r) return I(`Active uniform ${n.name} has not been supplied`);
349
+ if (r && r.value === void 0) return I(`${n.name} uniform is missing a value parameter`);
350
+ if (r.value.texture) return t += 1, r.value.update(t), M(this.gl, n.type, e, t);
351
+ if (r.value.length && r.value[0].texture) {
352
+ let i = [];
353
+ return r.value.forEach((e) => {
354
+ t += 1, e.update(t), i.push(t);
355
+ }), M(this.gl, n.type, e, i);
356
+ }
357
+ M(this.gl, n.type, e, r.value);
358
+ }), this.applyState(), e && this.gl.renderer.setFrontFace(this.frontFace === this.gl.CCW ? this.gl.CW : this.gl.CCW);
359
+ }
360
+ remove() {
361
+ this.gl.deleteProgram(this.program);
362
+ }
363
+ };
364
+ function M(e, t, n, r) {
365
+ r = r.length ? te(r) : r;
366
+ let i = e.renderer.state.uniformLocations.get(n);
367
+ if (r.length) {
368
+ if (i === void 0 || i.length !== r.length) e.renderer.state.uniformLocations.set(n, r.slice(0));
369
+ else {
370
+ if (ne(i, r)) return;
371
+ i.set ? i.set(r) : P(i, r), e.renderer.state.uniformLocations.set(n, i);
372
+ }
373
+ } else {
374
+ if (i === r) return;
375
+ e.renderer.state.uniformLocations.set(n, r);
376
+ }
377
+ switch (t) {
378
+ case 5126: return r.length ? e.uniform1fv(n, r) : e.uniform1f(n, r);
379
+ case 35664: return e.uniform2fv(n, r);
380
+ case 35665: return e.uniform3fv(n, r);
381
+ case 35666: return e.uniform4fv(n, r);
382
+ case 35670:
383
+ case 5124:
384
+ case 35678:
385
+ case 36306:
386
+ case 35680:
387
+ case 36289: return r.length ? e.uniform1iv(n, r) : e.uniform1i(n, r);
388
+ case 35671:
389
+ case 35667: return e.uniform2iv(n, r);
390
+ case 35672:
391
+ case 35668: return e.uniform3iv(n, r);
392
+ case 35673:
393
+ case 35669: return e.uniform4iv(n, r);
394
+ case 35674: return e.uniformMatrix2fv(n, !1, r);
395
+ case 35675: return e.uniformMatrix3fv(n, !1, r);
396
+ case 35676: return e.uniformMatrix4fv(n, !1, r);
397
+ }
398
+ }
399
+ function N(e) {
400
+ let t = e.split("\n");
401
+ for (let e = 0; e < t.length; e++) t[e] = e + 1 + ": " + t[e];
402
+ return t.join("\n");
403
+ }
404
+ function te(e) {
405
+ let t = e.length, n = e[0].length;
406
+ if (n === void 0) return e;
407
+ let r = t * n, i = j[r];
408
+ i || (j[r] = i = new Float32Array(r));
409
+ for (let r = 0; r < t; r++) i.set(e[r], r * n);
410
+ return i;
411
+ }
412
+ function ne(e, t) {
413
+ if (e.length !== t.length) return !1;
414
+ for (let n = 0, r = e.length; n < r; n++) if (e[n] !== t[n]) return !1;
415
+ return !0;
416
+ }
417
+ function P(e, t) {
418
+ for (let n = 0, r = e.length; n < r; n++) e[n] = t[n];
419
+ }
420
+ var F = 0;
421
+ function I(e) {
422
+ F > 100 || (console.warn(e), F++, F > 100 && console.warn("More than 100 program warnings - stopping logs."));
423
+ }
424
+ //#endregion
425
+ //#region ../../node_modules/.pnpm/ogl@1.0.11/node_modules/ogl/src/core/Renderer.js
426
+ var L = /* @__PURE__ */ new w(), re = 1, ie = class {
427
+ constructor({ canvas: e = document.createElement("canvas"), width: t = 300, height: n = 150, dpr: r = 1, alpha: i = !1, depth: a = !0, stencil: o = !1, antialias: s = !1, premultipliedAlpha: c = !1, preserveDrawingBuffer: l = !1, powerPreference: u = "default", autoClear: d = !0, webgl: f = 2 } = {}) {
428
+ let p = {
429
+ alpha: i,
430
+ depth: a,
431
+ stencil: o,
432
+ antialias: s,
433
+ premultipliedAlpha: c,
434
+ preserveDrawingBuffer: l,
435
+ powerPreference: u
436
+ };
437
+ this.dpr = r, this.alpha = i, this.color = !0, this.depth = a, this.stencil = o, this.premultipliedAlpha = c, this.autoClear = d, this.id = re++, f === 2 && (this.gl = e.getContext("webgl2", p)), this.isWebgl2 = !!this.gl, this.gl ||= e.getContext("webgl", p), this.gl || console.error("unable to create webgl context"), this.gl.renderer = this, this.setSize(t, n), this.state = {}, this.state.blendFunc = {
438
+ src: this.gl.ONE,
439
+ dst: this.gl.ZERO
440
+ }, this.state.blendEquation = { modeRGB: this.gl.FUNC_ADD }, this.state.cullFace = !1, this.state.frontFace = this.gl.CCW, this.state.depthMask = !0, this.state.depthFunc = this.gl.LEQUAL, this.state.premultiplyAlpha = !1, this.state.flipY = !1, this.state.unpackAlignment = 4, this.state.framebuffer = null, this.state.viewport = {
441
+ x: 0,
442
+ y: 0,
443
+ width: null,
444
+ height: null
445
+ }, this.state.textureUnits = [], this.state.activeTextureUnit = 0, this.state.boundBuffer = null, this.state.uniformLocations = /* @__PURE__ */ new Map(), this.state.currentProgram = null, this.extensions = {}, this.isWebgl2 ? (this.getExtension("EXT_color_buffer_float"), this.getExtension("OES_texture_float_linear")) : (this.getExtension("OES_texture_float"), this.getExtension("OES_texture_float_linear"), this.getExtension("OES_texture_half_float"), this.getExtension("OES_texture_half_float_linear"), this.getExtension("OES_element_index_uint"), this.getExtension("OES_standard_derivatives"), this.getExtension("EXT_sRGB"), this.getExtension("WEBGL_depth_texture"), this.getExtension("WEBGL_draw_buffers")), this.getExtension("WEBGL_compressed_texture_astc"), this.getExtension("EXT_texture_compression_bptc"), this.getExtension("WEBGL_compressed_texture_s3tc"), this.getExtension("WEBGL_compressed_texture_etc1"), this.getExtension("WEBGL_compressed_texture_pvrtc"), this.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc"), this.vertexAttribDivisor = this.getExtension("ANGLE_instanced_arrays", "vertexAttribDivisor", "vertexAttribDivisorANGLE"), this.drawArraysInstanced = this.getExtension("ANGLE_instanced_arrays", "drawArraysInstanced", "drawArraysInstancedANGLE"), this.drawElementsInstanced = this.getExtension("ANGLE_instanced_arrays", "drawElementsInstanced", "drawElementsInstancedANGLE"), this.createVertexArray = this.getExtension("OES_vertex_array_object", "createVertexArray", "createVertexArrayOES"), this.bindVertexArray = this.getExtension("OES_vertex_array_object", "bindVertexArray", "bindVertexArrayOES"), this.deleteVertexArray = this.getExtension("OES_vertex_array_object", "deleteVertexArray", "deleteVertexArrayOES"), this.drawBuffers = this.getExtension("WEBGL_draw_buffers", "drawBuffers", "drawBuffersWEBGL"), this.parameters = {}, this.parameters.maxTextureUnits = this.gl.getParameter(this.gl.MAX_COMBINED_TEXTURE_IMAGE_UNITS), this.parameters.maxAnisotropy = this.getExtension("EXT_texture_filter_anisotropic") ? this.gl.getParameter(this.getExtension("EXT_texture_filter_anisotropic").MAX_TEXTURE_MAX_ANISOTROPY_EXT) : 0;
446
+ }
447
+ setSize(e, t) {
448
+ this.width = e, this.height = t, this.gl.canvas.width = e * this.dpr, this.gl.canvas.height = t * this.dpr, this.gl.canvas.style && Object.assign(this.gl.canvas.style, {
449
+ width: e + "px",
450
+ height: t + "px"
451
+ });
452
+ }
453
+ setViewport(e, t, n = 0, r = 0) {
454
+ (this.state.viewport.width !== e || this.state.viewport.height !== t) && (this.state.viewport.width = e, this.state.viewport.height = t, this.state.viewport.x = n, this.state.viewport.y = r, this.gl.viewport(n, r, e, t));
455
+ }
456
+ setScissor(e, t, n = 0, r = 0) {
457
+ this.gl.scissor(n, r, e, t);
458
+ }
459
+ enable(e) {
460
+ this.state[e] !== !0 && (this.gl.enable(e), this.state[e] = !0);
461
+ }
462
+ disable(e) {
463
+ this.state[e] !== !1 && (this.gl.disable(e), this.state[e] = !1);
464
+ }
465
+ setBlendFunc(e, t, n, r) {
466
+ (this.state.blendFunc.src !== e || this.state.blendFunc.dst !== t || this.state.blendFunc.srcAlpha !== n || this.state.blendFunc.dstAlpha !== r) && (this.state.blendFunc.src = e, this.state.blendFunc.dst = t, this.state.blendFunc.srcAlpha = n, this.state.blendFunc.dstAlpha = r, n === void 0 ? this.gl.blendFunc(e, t) : this.gl.blendFuncSeparate(e, t, n, r));
467
+ }
468
+ setBlendEquation(e, t) {
469
+ e ||= this.gl.FUNC_ADD, (this.state.blendEquation.modeRGB !== e || this.state.blendEquation.modeAlpha !== t) && (this.state.blendEquation.modeRGB = e, this.state.blendEquation.modeAlpha = t, t === void 0 ? this.gl.blendEquation(e) : this.gl.blendEquationSeparate(e, t));
470
+ }
471
+ setCullFace(e) {
472
+ this.state.cullFace !== e && (this.state.cullFace = e, this.gl.cullFace(e));
473
+ }
474
+ setFrontFace(e) {
475
+ this.state.frontFace !== e && (this.state.frontFace = e, this.gl.frontFace(e));
476
+ }
477
+ setDepthMask(e) {
478
+ this.state.depthMask !== e && (this.state.depthMask = e, this.gl.depthMask(e));
479
+ }
480
+ setDepthFunc(e) {
481
+ this.state.depthFunc !== e && (this.state.depthFunc = e, this.gl.depthFunc(e));
482
+ }
483
+ setStencilMask(e) {
484
+ this.state.stencilMask !== e && (this.state.stencilMask = e, this.gl.stencilMask(e));
485
+ }
486
+ setStencilFunc(e, t, n) {
487
+ (this.state.stencilFunc !== e || this.state.stencilRef !== t || this.state.stencilFuncMask !== n) && (this.state.stencilFunc = e || this.gl.ALWAYS, this.state.stencilRef = t || 0, this.state.stencilFuncMask = n || 0, this.gl.stencilFunc(e || this.gl.ALWAYS, t || 0, n || 0));
488
+ }
489
+ setStencilOp(e, t, n) {
490
+ (this.state.stencilFail !== e || this.state.stencilDepthFail !== t || this.state.stencilDepthPass !== n) && (this.state.stencilFail = e, this.state.stencilDepthFail = t, this.state.stencilDepthPass = n, this.gl.stencilOp(e, t, n));
491
+ }
492
+ activeTexture(e) {
493
+ this.state.activeTextureUnit !== e && (this.state.activeTextureUnit = e, this.gl.activeTexture(this.gl.TEXTURE0 + e));
494
+ }
495
+ bindFramebuffer({ target: e = this.gl.FRAMEBUFFER, buffer: t = null } = {}) {
496
+ this.state.framebuffer !== t && (this.state.framebuffer = t, this.gl.bindFramebuffer(e, t));
497
+ }
498
+ getExtension(e, t, n) {
499
+ return t && this.gl[t] ? this.gl[t].bind(this.gl) : (this.extensions[e] || (this.extensions[e] = this.gl.getExtension(e)), t ? this.extensions[e] ? this.extensions[e][n].bind(this.extensions[e]) : null : this.extensions[e]);
500
+ }
501
+ sortOpaque(e, t) {
502
+ return e.renderOrder === t.renderOrder ? e.program.id === t.program.id ? e.zDepth === t.zDepth ? t.id - e.id : e.zDepth - t.zDepth : e.program.id - t.program.id : e.renderOrder - t.renderOrder;
503
+ }
504
+ sortTransparent(e, t) {
505
+ return e.renderOrder === t.renderOrder ? e.zDepth === t.zDepth ? t.id - e.id : t.zDepth - e.zDepth : e.renderOrder - t.renderOrder;
506
+ }
507
+ sortUI(e, t) {
508
+ return e.renderOrder === t.renderOrder ? e.program.id === t.program.id ? t.id - e.id : e.program.id - t.program.id : e.renderOrder - t.renderOrder;
509
+ }
510
+ getRenderList({ scene: e, camera: t, frustumCull: n, sort: r }) {
511
+ let i = [];
512
+ if (t && n && t.updateFrustum(), e.traverse((e) => {
513
+ if (!e.visible) return !0;
514
+ e.draw && (n && e.frustumCulled && t && !t.frustumIntersectsMesh(e) || i.push(e));
515
+ }), r) {
516
+ let e = [], n = [], r = [];
517
+ i.forEach((i) => {
518
+ i.program.transparent ? i.program.depthTest ? n.push(i) : r.push(i) : e.push(i), i.zDepth = 0, !(i.renderOrder !== 0 || !i.program.depthTest || !t) && (i.worldMatrix.getTranslation(L), L.applyMatrix4(t.projectionViewMatrix), i.zDepth = L.z);
519
+ }), e.sort(this.sortOpaque), n.sort(this.sortTransparent), r.sort(this.sortUI), i = e.concat(n, r);
520
+ }
521
+ return i;
522
+ }
523
+ render({ scene: e, camera: t, target: n = null, update: r = !0, sort: i = !0, frustumCull: a = !0, clear: o }) {
524
+ n === null ? (this.bindFramebuffer(), this.setViewport(this.width * this.dpr, this.height * this.dpr)) : (this.bindFramebuffer(n), this.setViewport(n.width, n.height)), (o || this.autoClear && o !== !1) && (this.depth && (!n || n.depth) && (this.enable(this.gl.DEPTH_TEST), this.setDepthMask(!0)), (this.stencil || !n || n.stencil) && (this.enable(this.gl.STENCIL_TEST), this.setStencilMask(255)), this.gl.clear((this.color ? this.gl.COLOR_BUFFER_BIT : 0) | (this.depth ? this.gl.DEPTH_BUFFER_BIT : 0) | (this.stencil ? this.gl.STENCIL_BUFFER_BIT : 0))), r && e.updateMatrixWorld(), t && t.updateMatrixWorld(), this.getRenderList({
525
+ scene: e,
526
+ camera: t,
527
+ frustumCull: a,
528
+ sort: i
529
+ }).forEach((e) => {
530
+ e.draw({ camera: t });
531
+ });
532
+ }
533
+ };
534
+ //#endregion
535
+ //#region ../../node_modules/.pnpm/ogl@1.0.11/node_modules/ogl/src/math/functions/Vec4Func.js
536
+ function ae(e, t) {
537
+ return e[0] = t[0], e[1] = t[1], e[2] = t[2], e[3] = t[3], e;
538
+ }
539
+ function oe(e, t, n, r, i) {
540
+ return e[0] = t, e[1] = n, e[2] = r, e[3] = i, e;
541
+ }
542
+ function se(e, t) {
543
+ let n = t[0], r = t[1], i = t[2], a = t[3], o = n * n + r * r + i * i + a * a;
544
+ return o > 0 && (o = 1 / Math.sqrt(o)), e[0] = n * o, e[1] = r * o, e[2] = i * o, e[3] = a * o, e;
545
+ }
546
+ function ce(e, t) {
547
+ return e[0] * t[0] + e[1] * t[1] + e[2] * t[2] + e[3] * t[3];
548
+ }
549
+ //#endregion
550
+ //#region ../../node_modules/.pnpm/ogl@1.0.11/node_modules/ogl/src/math/functions/QuatFunc.js
551
+ function le(e) {
552
+ return e[0] = 0, e[1] = 0, e[2] = 0, e[3] = 1, e;
553
+ }
554
+ function ue(e, t, n) {
555
+ n *= .5;
556
+ let r = Math.sin(n);
557
+ return e[0] = r * t[0], e[1] = r * t[1], e[2] = r * t[2], e[3] = Math.cos(n), e;
558
+ }
559
+ function R(e, t, n) {
560
+ let r = t[0], i = t[1], a = t[2], o = t[3], s = n[0], c = n[1], l = n[2], u = n[3];
561
+ return e[0] = r * u + o * s + i * l - a * c, e[1] = i * u + o * c + a * s - r * l, e[2] = a * u + o * l + r * c - i * s, e[3] = o * u - r * s - i * c - a * l, e;
562
+ }
563
+ function z(e, t, n) {
564
+ n *= .5;
565
+ let r = t[0], i = t[1], a = t[2], o = t[3], s = Math.sin(n), c = Math.cos(n);
566
+ return e[0] = r * c + o * s, e[1] = i * c + a * s, e[2] = a * c - i * s, e[3] = o * c - r * s, e;
567
+ }
568
+ function B(e, t, n) {
569
+ n *= .5;
570
+ let r = t[0], i = t[1], a = t[2], o = t[3], s = Math.sin(n), c = Math.cos(n);
571
+ return e[0] = r * c - a * s, e[1] = i * c + o * s, e[2] = a * c + r * s, e[3] = o * c - i * s, e;
572
+ }
573
+ function V(e, t, n) {
574
+ n *= .5;
575
+ let r = t[0], i = t[1], a = t[2], o = t[3], s = Math.sin(n), c = Math.cos(n);
576
+ return e[0] = r * c + i * s, e[1] = i * c - r * s, e[2] = a * c + o * s, e[3] = o * c - a * s, e;
577
+ }
578
+ function H(e, t, n, r) {
579
+ let i = t[0], a = t[1], o = t[2], s = t[3], c = n[0], l = n[1], u = n[2], d = n[3], f, p, m, h, g;
580
+ return p = i * c + a * l + o * u + s * d, p < 0 && (p = -p, c = -c, l = -l, u = -u, d = -d), 1 - p > 1e-6 ? (f = Math.acos(p), m = Math.sin(f), h = Math.sin((1 - r) * f) / m, g = Math.sin(r * f) / m) : (h = 1 - r, g = r), e[0] = h * i + g * c, e[1] = h * a + g * l, e[2] = h * o + g * u, e[3] = h * s + g * d, e;
581
+ }
582
+ function U(e, t) {
583
+ let n = t[0], r = t[1], i = t[2], a = t[3], o = n * n + r * r + i * i + a * a, s = o ? 1 / o : 0;
584
+ return e[0] = -n * s, e[1] = -r * s, e[2] = -i * s, e[3] = a * s, e;
585
+ }
586
+ function de(e, t) {
587
+ return e[0] = -t[0], e[1] = -t[1], e[2] = -t[2], e[3] = t[3], e;
588
+ }
589
+ function fe(e, t) {
590
+ let n = t[0] + t[4] + t[8], r;
591
+ if (n > 0) r = Math.sqrt(n + 1), e[3] = .5 * r, r = .5 / r, e[0] = (t[5] - t[7]) * r, e[1] = (t[6] - t[2]) * r, e[2] = (t[1] - t[3]) * r;
592
+ else {
593
+ let n = 0;
594
+ t[4] > t[0] && (n = 1), t[8] > t[n * 3 + n] && (n = 2);
595
+ let i = (n + 1) % 3, a = (n + 2) % 3;
596
+ r = Math.sqrt(t[n * 3 + n] - t[i * 3 + i] - t[a * 3 + a] + 1), e[n] = .5 * r, r = .5 / r, e[3] = (t[i * 3 + a] - t[a * 3 + i]) * r, e[i] = (t[i * 3 + n] + t[n * 3 + i]) * r, e[a] = (t[a * 3 + n] + t[n * 3 + a]) * r;
597
+ }
598
+ return e;
599
+ }
600
+ function pe(e, t, n = "YXZ") {
601
+ let r = Math.sin(t[0] * .5), i = Math.cos(t[0] * .5), a = Math.sin(t[1] * .5), o = Math.cos(t[1] * .5), s = Math.sin(t[2] * .5), c = Math.cos(t[2] * .5);
602
+ return n === "XYZ" ? (e[0] = r * o * c + i * a * s, e[1] = i * a * c - r * o * s, e[2] = i * o * s + r * a * c, e[3] = i * o * c - r * a * s) : n === "YXZ" ? (e[0] = r * o * c + i * a * s, e[1] = i * a * c - r * o * s, e[2] = i * o * s - r * a * c, e[3] = i * o * c + r * a * s) : n === "ZXY" ? (e[0] = r * o * c - i * a * s, e[1] = i * a * c + r * o * s, e[2] = i * o * s + r * a * c, e[3] = i * o * c - r * a * s) : n === "ZYX" ? (e[0] = r * o * c - i * a * s, e[1] = i * a * c + r * o * s, e[2] = i * o * s - r * a * c, e[3] = i * o * c + r * a * s) : n === "YZX" ? (e[0] = r * o * c + i * a * s, e[1] = i * a * c + r * o * s, e[2] = i * o * s - r * a * c, e[3] = i * o * c - r * a * s) : n === "XZY" && (e[0] = r * o * c - i * a * s, e[1] = i * a * c - r * o * s, e[2] = i * o * s + r * a * c, e[3] = i * o * c + r * a * s), e;
603
+ }
604
+ var me = ae, he = oe, ge = ce, _e = se, ve = class extends Array {
605
+ constructor(e = 0, t = 0, n = 0, r = 1) {
606
+ super(e, t, n, r), this.onChange = () => {}, this._target = this;
607
+ let i = [
608
+ "0",
609
+ "1",
610
+ "2",
611
+ "3"
612
+ ];
613
+ return new Proxy(this, { set(e, t) {
614
+ let n = Reflect.set(...arguments);
615
+ return n && i.includes(t) && e.onChange(), n;
616
+ } });
617
+ }
618
+ get x() {
619
+ return this[0];
620
+ }
621
+ get y() {
622
+ return this[1];
623
+ }
624
+ get z() {
625
+ return this[2];
626
+ }
627
+ get w() {
628
+ return this[3];
629
+ }
630
+ set x(e) {
631
+ this._target[0] = e, this.onChange();
632
+ }
633
+ set y(e) {
634
+ this._target[1] = e, this.onChange();
635
+ }
636
+ set z(e) {
637
+ this._target[2] = e, this.onChange();
638
+ }
639
+ set w(e) {
640
+ this._target[3] = e, this.onChange();
641
+ }
642
+ identity() {
643
+ return le(this._target), this.onChange(), this;
644
+ }
645
+ set(e, t, n, r) {
646
+ return e.length ? this.copy(e) : (he(this._target, e, t, n, r), this.onChange(), this);
647
+ }
648
+ rotateX(e) {
649
+ return z(this._target, this._target, e), this.onChange(), this;
650
+ }
651
+ rotateY(e) {
652
+ return B(this._target, this._target, e), this.onChange(), this;
653
+ }
654
+ rotateZ(e) {
655
+ return V(this._target, this._target, e), this.onChange(), this;
656
+ }
657
+ inverse(e = this._target) {
658
+ return U(this._target, e), this.onChange(), this;
659
+ }
660
+ conjugate(e = this._target) {
661
+ return de(this._target, e), this.onChange(), this;
662
+ }
663
+ copy(e) {
664
+ return me(this._target, e), this.onChange(), this;
665
+ }
666
+ normalize(e = this._target) {
667
+ return _e(this._target, e), this.onChange(), this;
668
+ }
669
+ multiply(e, t) {
670
+ return t ? R(this._target, e, t) : R(this._target, this._target, e), this.onChange(), this;
671
+ }
672
+ dot(e) {
673
+ return ge(this._target, e);
674
+ }
675
+ fromMatrix3(e) {
676
+ return fe(this._target, e), this.onChange(), this;
677
+ }
678
+ fromEuler(e, t) {
679
+ return pe(this._target, e, e.order), t || this.onChange(), this;
680
+ }
681
+ fromAxisAngle(e, t) {
682
+ return ue(this._target, e, t), this.onChange(), this;
683
+ }
684
+ slerp(e, t) {
685
+ return H(this._target, this._target, e, t), this.onChange(), this;
686
+ }
687
+ fromArray(e, t = 0) {
688
+ return this._target[0] = e[t], this._target[1] = e[t + 1], this._target[2] = e[t + 2], this._target[3] = e[t + 3], this.onChange(), this;
689
+ }
690
+ toArray(e = [], t = 0) {
691
+ return e[t] = this[0], e[t + 1] = this[1], e[t + 2] = this[2], e[t + 3] = this[3], e;
692
+ }
693
+ }, ye = 1e-6;
694
+ function be(e, t) {
695
+ return e[0] = t[0], e[1] = t[1], e[2] = t[2], e[3] = t[3], e[4] = t[4], e[5] = t[5], e[6] = t[6], e[7] = t[7], e[8] = t[8], e[9] = t[9], e[10] = t[10], e[11] = t[11], e[12] = t[12], e[13] = t[13], e[14] = t[14], e[15] = t[15], e;
696
+ }
697
+ function xe(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g) {
698
+ return e[0] = t, e[1] = n, e[2] = r, e[3] = i, e[4] = a, e[5] = o, e[6] = s, e[7] = c, e[8] = l, e[9] = u, e[10] = d, e[11] = f, e[12] = p, e[13] = m, e[14] = h, e[15] = g, e;
699
+ }
700
+ function Se(e) {
701
+ return e[0] = 1, e[1] = 0, e[2] = 0, e[3] = 0, e[4] = 0, e[5] = 1, e[6] = 0, e[7] = 0, e[8] = 0, e[9] = 0, e[10] = 1, e[11] = 0, e[12] = 0, e[13] = 0, e[14] = 0, e[15] = 1, e;
702
+ }
703
+ function Ce(e, t) {
704
+ let n = t[0], r = t[1], i = t[2], a = t[3], o = t[4], s = t[5], c = t[6], l = t[7], u = t[8], d = t[9], f = t[10], p = t[11], m = t[12], h = t[13], g = t[14], _ = t[15], v = n * s - r * o, y = n * c - i * o, b = n * l - a * o, x = r * c - i * s, S = r * l - a * s, C = i * l - a * c, w = u * h - d * m, T = u * g - f * m, E = u * _ - p * m, D = d * g - f * h, O = d * _ - p * h, k = f * _ - p * g, A = v * k - y * O + b * D + x * E - S * T + C * w;
705
+ return A ? (A = 1 / A, e[0] = (s * k - c * O + l * D) * A, e[1] = (i * O - r * k - a * D) * A, e[2] = (h * C - g * S + _ * x) * A, e[3] = (f * S - d * C - p * x) * A, e[4] = (c * E - o * k - l * T) * A, e[5] = (n * k - i * E + a * T) * A, e[6] = (g * b - m * C - _ * y) * A, e[7] = (u * C - f * b + p * y) * A, e[8] = (o * O - s * E + l * w) * A, e[9] = (r * E - n * O - a * w) * A, e[10] = (m * S - h * b + _ * v) * A, e[11] = (d * b - u * S - p * v) * A, e[12] = (s * T - o * D - c * w) * A, e[13] = (n * D - r * T + i * w) * A, e[14] = (h * y - m * x - g * v) * A, e[15] = (u * x - d * y + f * v) * A, e) : null;
706
+ }
707
+ function W(e) {
708
+ let t = e[0], n = e[1], r = e[2], i = e[3], a = e[4], o = e[5], s = e[6], c = e[7], l = e[8], u = e[9], d = e[10], f = e[11], p = e[12], m = e[13], h = e[14], g = e[15], _ = t * o - n * a, v = t * s - r * a, y = t * c - i * a, b = n * s - r * o, x = n * c - i * o, S = r * c - i * s, C = l * m - u * p, w = l * h - d * p, T = l * g - f * p, E = u * h - d * m, D = u * g - f * m;
709
+ return _ * (d * g - f * h) - v * D + y * E + b * T - x * w + S * C;
710
+ }
711
+ function G(e, t, n) {
712
+ let r = t[0], i = t[1], a = t[2], o = t[3], s = t[4], c = t[5], l = t[6], u = t[7], d = t[8], f = t[9], p = t[10], m = t[11], h = t[12], g = t[13], _ = t[14], v = t[15], y = n[0], b = n[1], x = n[2], S = n[3];
713
+ return e[0] = y * r + b * s + x * d + S * h, e[1] = y * i + b * c + x * f + S * g, e[2] = y * a + b * l + x * p + S * _, e[3] = y * o + b * u + x * m + S * v, y = n[4], b = n[5], x = n[6], S = n[7], e[4] = y * r + b * s + x * d + S * h, e[5] = y * i + b * c + x * f + S * g, e[6] = y * a + b * l + x * p + S * _, e[7] = y * o + b * u + x * m + S * v, y = n[8], b = n[9], x = n[10], S = n[11], e[8] = y * r + b * s + x * d + S * h, e[9] = y * i + b * c + x * f + S * g, e[10] = y * a + b * l + x * p + S * _, e[11] = y * o + b * u + x * m + S * v, y = n[12], b = n[13], x = n[14], S = n[15], e[12] = y * r + b * s + x * d + S * h, e[13] = y * i + b * c + x * f + S * g, e[14] = y * a + b * l + x * p + S * _, e[15] = y * o + b * u + x * m + S * v, e;
714
+ }
715
+ function we(e, t, n) {
716
+ let r = n[0], i = n[1], a = n[2], o, s, c, l, u, d, f, p, m, h, g, _;
717
+ return t === e ? (e[12] = t[0] * r + t[4] * i + t[8] * a + t[12], e[13] = t[1] * r + t[5] * i + t[9] * a + t[13], e[14] = t[2] * r + t[6] * i + t[10] * a + t[14], e[15] = t[3] * r + t[7] * i + t[11] * a + t[15]) : (o = t[0], s = t[1], c = t[2], l = t[3], u = t[4], d = t[5], f = t[6], p = t[7], m = t[8], h = t[9], g = t[10], _ = t[11], e[0] = o, e[1] = s, e[2] = c, e[3] = l, e[4] = u, e[5] = d, e[6] = f, e[7] = p, e[8] = m, e[9] = h, e[10] = g, e[11] = _, e[12] = o * r + u * i + m * a + t[12], e[13] = s * r + d * i + h * a + t[13], e[14] = c * r + f * i + g * a + t[14], e[15] = l * r + p * i + _ * a + t[15]), e;
718
+ }
719
+ function Te(e, t, n) {
720
+ let r = n[0], i = n[1], a = n[2];
721
+ return e[0] = t[0] * r, e[1] = t[1] * r, e[2] = t[2] * r, e[3] = t[3] * r, e[4] = t[4] * i, e[5] = t[5] * i, e[6] = t[6] * i, e[7] = t[7] * i, e[8] = t[8] * a, e[9] = t[9] * a, e[10] = t[10] * a, e[11] = t[11] * a, e[12] = t[12], e[13] = t[13], e[14] = t[14], e[15] = t[15], e;
722
+ }
723
+ function Ee(e, t, n, r) {
724
+ let i = r[0], a = r[1], o = r[2], s = Math.hypot(i, a, o), c, l, u, d, f, p, m, h, g, _, v, y, b, x, S, C, w, T, E, D, O, k, A, j;
725
+ return Math.abs(s) < ye ? null : (s = 1 / s, i *= s, a *= s, o *= s, c = Math.sin(n), l = Math.cos(n), u = 1 - l, d = t[0], f = t[1], p = t[2], m = t[3], h = t[4], g = t[5], _ = t[6], v = t[7], y = t[8], b = t[9], x = t[10], S = t[11], C = i * i * u + l, w = a * i * u + o * c, T = o * i * u - a * c, E = i * a * u - o * c, D = a * a * u + l, O = o * a * u + i * c, k = i * o * u + a * c, A = a * o * u - i * c, j = o * o * u + l, e[0] = d * C + h * w + y * T, e[1] = f * C + g * w + b * T, e[2] = p * C + _ * w + x * T, e[3] = m * C + v * w + S * T, e[4] = d * E + h * D + y * O, e[5] = f * E + g * D + b * O, e[6] = p * E + _ * D + x * O, e[7] = m * E + v * D + S * O, e[8] = d * k + h * A + y * j, e[9] = f * k + g * A + b * j, e[10] = p * k + _ * A + x * j, e[11] = m * k + v * A + S * j, t !== e && (e[12] = t[12], e[13] = t[13], e[14] = t[14], e[15] = t[15]), e);
726
+ }
727
+ function De(e, t) {
728
+ return e[0] = t[12], e[1] = t[13], e[2] = t[14], e;
729
+ }
730
+ function K(e, t) {
731
+ let n = t[0], r = t[1], i = t[2], a = t[4], o = t[5], s = t[6], c = t[8], l = t[9], u = t[10];
732
+ return e[0] = Math.hypot(n, r, i), e[1] = Math.hypot(a, o, s), e[2] = Math.hypot(c, l, u), e;
733
+ }
734
+ function Oe(e) {
735
+ let t = e[0], n = e[1], r = e[2], i = e[4], a = e[5], o = e[6], s = e[8], c = e[9], l = e[10], u = t * t + n * n + r * r, d = i * i + a * a + o * o, f = s * s + c * c + l * l;
736
+ return Math.sqrt(Math.max(u, d, f));
737
+ }
738
+ var q = (function() {
739
+ let e = [
740
+ 1,
741
+ 1,
742
+ 1
743
+ ];
744
+ return function(t, n) {
745
+ let r = e;
746
+ K(r, n);
747
+ let i = 1 / r[0], a = 1 / r[1], o = 1 / r[2], s = n[0] * i, c = n[1] * a, l = n[2] * o, u = n[4] * i, d = n[5] * a, f = n[6] * o, p = n[8] * i, m = n[9] * a, h = n[10] * o, g = s + d + h, _ = 0;
748
+ return g > 0 ? (_ = Math.sqrt(g + 1) * 2, t[3] = .25 * _, t[0] = (f - m) / _, t[1] = (p - l) / _, t[2] = (c - u) / _) : s > d && s > h ? (_ = Math.sqrt(1 + s - d - h) * 2, t[3] = (f - m) / _, t[0] = .25 * _, t[1] = (c + u) / _, t[2] = (p + l) / _) : d > h ? (_ = Math.sqrt(1 + d - s - h) * 2, t[3] = (p - l) / _, t[0] = (c + u) / _, t[1] = .25 * _, t[2] = (f + m) / _) : (_ = Math.sqrt(1 + h - s - d) * 2, t[3] = (c - u) / _, t[0] = (p + l) / _, t[1] = (f + m) / _, t[2] = .25 * _), t;
749
+ };
750
+ })();
751
+ function ke(t, n, r, i) {
752
+ let a = e([
753
+ t[0],
754
+ t[1],
755
+ t[2]
756
+ ]), o = e([
757
+ t[4],
758
+ t[5],
759
+ t[6]
760
+ ]), s = e([
761
+ t[8],
762
+ t[9],
763
+ t[10]
764
+ ]);
765
+ W(t) < 0 && (a = -a), r[0] = t[12], r[1] = t[13], r[2] = t[14];
766
+ let c = t.slice(), l = 1 / a, u = 1 / o, d = 1 / s;
767
+ c[0] *= l, c[1] *= l, c[2] *= l, c[4] *= u, c[5] *= u, c[6] *= u, c[8] *= d, c[9] *= d, c[10] *= d, q(n, c), i[0] = a, i[1] = o, i[2] = s;
768
+ }
769
+ function Ae(e, t, n, r) {
770
+ let i = e, a = t[0], o = t[1], s = t[2], c = t[3], l = a + a, u = o + o, d = s + s, f = a * l, p = a * u, m = a * d, h = o * u, g = o * d, _ = s * d, v = c * l, y = c * u, b = c * d, x = r[0], S = r[1], C = r[2];
771
+ return i[0] = (1 - (h + _)) * x, i[1] = (p + b) * x, i[2] = (m - y) * x, i[3] = 0, i[4] = (p - b) * S, i[5] = (1 - (f + _)) * S, i[6] = (g + v) * S, i[7] = 0, i[8] = (m + y) * C, i[9] = (g - v) * C, i[10] = (1 - (f + h)) * C, i[11] = 0, i[12] = n[0], i[13] = n[1], i[14] = n[2], i[15] = 1, i;
772
+ }
773
+ function je(e, t) {
774
+ let n = t[0], r = t[1], i = t[2], a = t[3], o = n + n, s = r + r, c = i + i, l = n * o, u = r * o, d = r * s, f = i * o, p = i * s, m = i * c, h = a * o, g = a * s, _ = a * c;
775
+ return e[0] = 1 - d - m, e[1] = u + _, e[2] = f - g, e[3] = 0, e[4] = u - _, e[5] = 1 - l - m, e[6] = p + h, e[7] = 0, e[8] = f + g, e[9] = p - h, e[10] = 1 - l - d, e[11] = 0, e[12] = 0, e[13] = 0, e[14] = 0, e[15] = 1, e;
776
+ }
777
+ function Me(e, t, n, r, i) {
778
+ let a = 1 / Math.tan(t / 2), o = 1 / (r - i);
779
+ return e[0] = a / n, e[1] = 0, e[2] = 0, e[3] = 0, e[4] = 0, e[5] = a, e[6] = 0, e[7] = 0, e[8] = 0, e[9] = 0, e[10] = (i + r) * o, e[11] = -1, e[12] = 0, e[13] = 0, e[14] = 2 * i * r * o, e[15] = 0, e;
780
+ }
781
+ function Ne(e, t, n, r, i, a, o) {
782
+ let s = 1 / (t - n), c = 1 / (r - i), l = 1 / (a - o);
783
+ return e[0] = -2 * s, e[1] = 0, e[2] = 0, e[3] = 0, e[4] = 0, e[5] = -2 * c, e[6] = 0, e[7] = 0, e[8] = 0, e[9] = 0, e[10] = 2 * l, e[11] = 0, e[12] = (t + n) * s, e[13] = (i + r) * c, e[14] = (o + a) * l, e[15] = 1, e;
784
+ }
785
+ function Pe(e, t, n, r) {
786
+ let i = t[0], a = t[1], o = t[2], s = r[0], c = r[1], l = r[2], u = i - n[0], d = a - n[1], f = o - n[2], p = u * u + d * d + f * f;
787
+ p === 0 ? f = 1 : (p = 1 / Math.sqrt(p), u *= p, d *= p, f *= p);
788
+ let m = c * f - l * d, h = l * u - s * f, g = s * d - c * u;
789
+ return p = m * m + h * h + g * g, p === 0 && (l ? s += 1e-6 : c ? l += 1e-6 : c += 1e-6, m = c * f - l * d, h = l * u - s * f, g = s * d - c * u, p = m * m + h * h + g * g), p = 1 / Math.sqrt(p), m *= p, h *= p, g *= p, e[0] = m, e[1] = h, e[2] = g, e[3] = 0, e[4] = d * g - f * h, e[5] = f * m - u * g, e[6] = u * h - d * m, e[7] = 0, e[8] = u, e[9] = d, e[10] = f, e[11] = 0, e[12] = i, e[13] = a, e[14] = o, e[15] = 1, e;
790
+ }
791
+ function J(e, t, n) {
792
+ return e[0] = t[0] + n[0], e[1] = t[1] + n[1], e[2] = t[2] + n[2], e[3] = t[3] + n[3], e[4] = t[4] + n[4], e[5] = t[5] + n[5], e[6] = t[6] + n[6], e[7] = t[7] + n[7], e[8] = t[8] + n[8], e[9] = t[9] + n[9], e[10] = t[10] + n[10], e[11] = t[11] + n[11], e[12] = t[12] + n[12], e[13] = t[13] + n[13], e[14] = t[14] + n[14], e[15] = t[15] + n[15], e;
793
+ }
794
+ function Y(e, t, n) {
795
+ return e[0] = t[0] - n[0], e[1] = t[1] - n[1], e[2] = t[2] - n[2], e[3] = t[3] - n[3], e[4] = t[4] - n[4], e[5] = t[5] - n[5], e[6] = t[6] - n[6], e[7] = t[7] - n[7], e[8] = t[8] - n[8], e[9] = t[9] - n[9], e[10] = t[10] - n[10], e[11] = t[11] - n[11], e[12] = t[12] - n[12], e[13] = t[13] - n[13], e[14] = t[14] - n[14], e[15] = t[15] - n[15], e;
796
+ }
797
+ function Fe(e, t, n) {
798
+ return e[0] = t[0] * n, e[1] = t[1] * n, e[2] = t[2] * n, e[3] = t[3] * n, e[4] = t[4] * n, e[5] = t[5] * n, e[6] = t[6] * n, e[7] = t[7] * n, e[8] = t[8] * n, e[9] = t[9] * n, e[10] = t[10] * n, e[11] = t[11] * n, e[12] = t[12] * n, e[13] = t[13] * n, e[14] = t[14] * n, e[15] = t[15] * n, e;
799
+ }
800
+ //#endregion
801
+ //#region ../../node_modules/.pnpm/ogl@1.0.11/node_modules/ogl/src/math/Mat4.js
802
+ var X = class extends Array {
803
+ constructor(e = 1, t = 0, n = 0, r = 0, i = 0, a = 1, o = 0, s = 0, c = 0, l = 0, u = 1, d = 0, f = 0, p = 0, m = 0, h = 1) {
804
+ return super(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h), this;
805
+ }
806
+ get x() {
807
+ return this[12];
808
+ }
809
+ get y() {
810
+ return this[13];
811
+ }
812
+ get z() {
813
+ return this[14];
814
+ }
815
+ get w() {
816
+ return this[15];
817
+ }
818
+ set x(e) {
819
+ this[12] = e;
820
+ }
821
+ set y(e) {
822
+ this[13] = e;
823
+ }
824
+ set z(e) {
825
+ this[14] = e;
826
+ }
827
+ set w(e) {
828
+ this[15] = e;
829
+ }
830
+ set(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h) {
831
+ return e.length ? this.copy(e) : (xe(this, e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h), this);
832
+ }
833
+ translate(e, t = this) {
834
+ return we(this, t, e), this;
835
+ }
836
+ rotate(e, t, n = this) {
837
+ return Ee(this, n, e, t), this;
838
+ }
839
+ scale(e, t = this) {
840
+ return Te(this, t, typeof e == "number" ? [
841
+ e,
842
+ e,
843
+ e
844
+ ] : e), this;
845
+ }
846
+ add(e, t) {
847
+ return t ? J(this, e, t) : J(this, this, e), this;
848
+ }
849
+ sub(e, t) {
850
+ return t ? Y(this, e, t) : Y(this, this, e), this;
851
+ }
852
+ multiply(e, t) {
853
+ return e.length ? t ? G(this, e, t) : G(this, this, e) : Fe(this, this, e), this;
854
+ }
855
+ identity() {
856
+ return Se(this), this;
857
+ }
858
+ copy(e) {
859
+ return be(this, e), this;
860
+ }
861
+ fromPerspective({ fov: e, aspect: t, near: n, far: r } = {}) {
862
+ return Me(this, e, t, n, r), this;
863
+ }
864
+ fromOrthogonal({ left: e, right: t, bottom: n, top: r, near: i, far: a }) {
865
+ return Ne(this, e, t, n, r, i, a), this;
866
+ }
867
+ fromQuaternion(e) {
868
+ return je(this, e), this;
869
+ }
870
+ setPosition(e) {
871
+ return this.x = e[0], this.y = e[1], this.z = e[2], this;
872
+ }
873
+ inverse(e = this) {
874
+ return Ce(this, e), this;
875
+ }
876
+ compose(e, t, n) {
877
+ return Ae(this, e, t, n), this;
878
+ }
879
+ decompose(e, t, n) {
880
+ return ke(this, e, t, n), this;
881
+ }
882
+ getRotation(e) {
883
+ return q(e, this), this;
884
+ }
885
+ getTranslation(e) {
886
+ return De(e, this), this;
887
+ }
888
+ getScaling(e) {
889
+ return K(e, this), this;
890
+ }
891
+ getMaxScaleOnAxis() {
892
+ return Oe(this);
893
+ }
894
+ lookAt(e, t, n) {
895
+ return Pe(this, e, t, n), this;
896
+ }
897
+ determinant() {
898
+ return W(this);
899
+ }
900
+ fromArray(e, t = 0) {
901
+ return this[0] = e[t], this[1] = e[t + 1], this[2] = e[t + 2], this[3] = e[t + 3], this[4] = e[t + 4], this[5] = e[t + 5], this[6] = e[t + 6], this[7] = e[t + 7], this[8] = e[t + 8], this[9] = e[t + 9], this[10] = e[t + 10], this[11] = e[t + 11], this[12] = e[t + 12], this[13] = e[t + 13], this[14] = e[t + 14], this[15] = e[t + 15], this;
902
+ }
903
+ toArray(e = [], t = 0) {
904
+ return e[t] = this[0], e[t + 1] = this[1], e[t + 2] = this[2], e[t + 3] = this[3], e[t + 4] = this[4], e[t + 5] = this[5], e[t + 6] = this[6], e[t + 7] = this[7], e[t + 8] = this[8], e[t + 9] = this[9], e[t + 10] = this[10], e[t + 11] = this[11], e[t + 12] = this[12], e[t + 13] = this[13], e[t + 14] = this[14], e[t + 15] = this[15], e;
905
+ }
906
+ };
907
+ //#endregion
908
+ //#region ../../node_modules/.pnpm/ogl@1.0.11/node_modules/ogl/src/math/functions/EulerFunc.js
909
+ function Ie(e, t, n = "YXZ") {
910
+ return n === "XYZ" ? (e[1] = Math.asin(Math.min(Math.max(t[8], -1), 1)), Math.abs(t[8]) < .99999 ? (e[0] = Math.atan2(-t[9], t[10]), e[2] = Math.atan2(-t[4], t[0])) : (e[0] = Math.atan2(t[6], t[5]), e[2] = 0)) : n === "YXZ" ? (e[0] = Math.asin(-Math.min(Math.max(t[9], -1), 1)), Math.abs(t[9]) < .99999 ? (e[1] = Math.atan2(t[8], t[10]), e[2] = Math.atan2(t[1], t[5])) : (e[1] = Math.atan2(-t[2], t[0]), e[2] = 0)) : n === "ZXY" ? (e[0] = Math.asin(Math.min(Math.max(t[6], -1), 1)), Math.abs(t[6]) < .99999 ? (e[1] = Math.atan2(-t[2], t[10]), e[2] = Math.atan2(-t[4], t[5])) : (e[1] = 0, e[2] = Math.atan2(t[1], t[0]))) : n === "ZYX" ? (e[1] = Math.asin(-Math.min(Math.max(t[2], -1), 1)), Math.abs(t[2]) < .99999 ? (e[0] = Math.atan2(t[6], t[10]), e[2] = Math.atan2(t[1], t[0])) : (e[0] = 0, e[2] = Math.atan2(-t[4], t[5]))) : n === "YZX" ? (e[2] = Math.asin(Math.min(Math.max(t[1], -1), 1)), Math.abs(t[1]) < .99999 ? (e[0] = Math.atan2(-t[9], t[5]), e[1] = Math.atan2(-t[2], t[0])) : (e[0] = 0, e[1] = Math.atan2(t[8], t[10]))) : n === "XZY" && (e[2] = Math.asin(-Math.min(Math.max(t[4], -1), 1)), Math.abs(t[4]) < .99999 ? (e[0] = Math.atan2(t[6], t[5]), e[1] = Math.atan2(t[8], t[0])) : (e[0] = Math.atan2(-t[9], t[10]), e[1] = 0)), e;
911
+ }
912
+ //#endregion
913
+ //#region ../../node_modules/.pnpm/ogl@1.0.11/node_modules/ogl/src/math/Euler.js
914
+ var Z = /* @__PURE__ */ new X(), Le = class extends Array {
915
+ constructor(e = 0, t = e, n = e, r = "YXZ") {
916
+ super(e, t, n), this.order = r, this.onChange = () => {}, this._target = this;
917
+ let i = [
918
+ "0",
919
+ "1",
920
+ "2"
921
+ ];
922
+ return new Proxy(this, { set(e, t) {
923
+ let n = Reflect.set(...arguments);
924
+ return n && i.includes(t) && e.onChange(), n;
925
+ } });
926
+ }
927
+ get x() {
928
+ return this[0];
929
+ }
930
+ get y() {
931
+ return this[1];
932
+ }
933
+ get z() {
934
+ return this[2];
935
+ }
936
+ set x(e) {
937
+ this._target[0] = e, this.onChange();
938
+ }
939
+ set y(e) {
940
+ this._target[1] = e, this.onChange();
941
+ }
942
+ set z(e) {
943
+ this._target[2] = e, this.onChange();
944
+ }
945
+ set(e, t = e, n = e) {
946
+ return e.length ? this.copy(e) : (this._target[0] = e, this._target[1] = t, this._target[2] = n, this.onChange(), this);
947
+ }
948
+ copy(e) {
949
+ return this._target[0] = e[0], this._target[1] = e[1], this._target[2] = e[2], this.onChange(), this;
950
+ }
951
+ reorder(e) {
952
+ return this._target.order = e, this.onChange(), this;
953
+ }
954
+ fromRotationMatrix(e, t = this.order) {
955
+ return Ie(this._target, e, t), this.onChange(), this;
956
+ }
957
+ fromQuaternion(e, t = this.order, n) {
958
+ return Z.fromQuaternion(e), this._target.fromRotationMatrix(Z, t), n || this.onChange(), this;
959
+ }
960
+ fromArray(e, t = 0) {
961
+ return this._target[0] = e[t], this._target[1] = e[t + 1], this._target[2] = e[t + 2], this;
962
+ }
963
+ toArray(e = [], t = 0) {
964
+ return e[t] = this[0], e[t + 1] = this[1], e[t + 2] = this[2], e;
965
+ }
966
+ }, Re = class {
967
+ constructor() {
968
+ this.parent = null, this.children = [], this.visible = !0, this.matrix = new X(), this.worldMatrix = new X(), this.matrixAutoUpdate = !0, this.worldMatrixNeedsUpdate = !1, this.position = new w(), this.quaternion = new ve(), this.scale = new w(1), this.rotation = new Le(), this.up = new w(0, 1, 0), this.rotation._target.onChange = () => this.quaternion.fromEuler(this.rotation, !0), this.quaternion._target.onChange = () => this.rotation.fromQuaternion(this.quaternion, void 0, !0);
969
+ }
970
+ setParent(e, t = !0) {
971
+ this.parent && e !== this.parent && this.parent.removeChild(this, !1), this.parent = e, t && e && e.addChild(this, !1);
972
+ }
973
+ addChild(e, t = !0) {
974
+ ~this.children.indexOf(e) || this.children.push(e), t && e.setParent(this, !1);
975
+ }
976
+ removeChild(e, t = !0) {
977
+ ~this.children.indexOf(e) && this.children.splice(this.children.indexOf(e), 1), t && e.setParent(null, !1);
978
+ }
979
+ updateMatrixWorld(e) {
980
+ this.matrixAutoUpdate && this.updateMatrix(), (this.worldMatrixNeedsUpdate || e) && (this.parent === null ? this.worldMatrix.copy(this.matrix) : this.worldMatrix.multiply(this.parent.worldMatrix, this.matrix), this.worldMatrixNeedsUpdate = !1, e = !0);
981
+ for (let t = 0, n = this.children.length; t < n; t++) this.children[t].updateMatrixWorld(e);
982
+ }
983
+ updateMatrix() {
984
+ this.matrix.compose(this.quaternion, this.position, this.scale), this.worldMatrixNeedsUpdate = !0;
985
+ }
986
+ traverse(e) {
987
+ if (!e(this)) for (let t = 0, n = this.children.length; t < n; t++) this.children[t].traverse(e);
988
+ }
989
+ decompose() {
990
+ this.matrix.decompose(this.quaternion._target, this.position, this.scale), this.rotation.fromQuaternion(this.quaternion);
991
+ }
992
+ lookAt(e, t = !1) {
993
+ t ? this.matrix.lookAt(this.position, e, this.up) : this.matrix.lookAt(e, this.position, this.up), this.matrix.getRotation(this.quaternion._target), this.rotation.fromQuaternion(this.quaternion);
994
+ }
995
+ };
996
+ //#endregion
997
+ //#region ../../node_modules/.pnpm/ogl@1.0.11/node_modules/ogl/src/math/functions/Mat3Func.js
998
+ function ze(e, t) {
999
+ return e[0] = t[0], e[1] = t[1], e[2] = t[2], e[3] = t[4], e[4] = t[5], e[5] = t[6], e[6] = t[8], e[7] = t[9], e[8] = t[10], e;
1000
+ }
1001
+ function Be(e, t) {
1002
+ let n = t[0], r = t[1], i = t[2], a = t[3], o = n + n, s = r + r, c = i + i, l = n * o, u = r * o, d = r * s, f = i * o, p = i * s, m = i * c, h = a * o, g = a * s, _ = a * c;
1003
+ return e[0] = 1 - d - m, e[3] = u - _, e[6] = f + g, e[1] = u + _, e[4] = 1 - l - m, e[7] = p - h, e[2] = f - g, e[5] = p + h, e[8] = 1 - l - d, e;
1004
+ }
1005
+ function Ve(e, t) {
1006
+ return e[0] = t[0], e[1] = t[1], e[2] = t[2], e[3] = t[3], e[4] = t[4], e[5] = t[5], e[6] = t[6], e[7] = t[7], e[8] = t[8], e;
1007
+ }
1008
+ function He(e, t, n, r, i, a, o, s, c, l) {
1009
+ return e[0] = t, e[1] = n, e[2] = r, e[3] = i, e[4] = a, e[5] = o, e[6] = s, e[7] = c, e[8] = l, e;
1010
+ }
1011
+ function Q(e) {
1012
+ return e[0] = 1, e[1] = 0, e[2] = 0, e[3] = 0, e[4] = 1, e[5] = 0, e[6] = 0, e[7] = 0, e[8] = 1, e;
1013
+ }
1014
+ function Ue(e, t) {
1015
+ let n = t[0], r = t[1], i = t[2], a = t[3], o = t[4], s = t[5], c = t[6], l = t[7], u = t[8], d = u * o - s * l, f = -u * a + s * c, p = l * a - o * c, m = n * d + r * f + i * p;
1016
+ return m ? (m = 1 / m, e[0] = d * m, e[1] = (-u * r + i * l) * m, e[2] = (s * r - i * o) * m, e[3] = f * m, e[4] = (u * n - i * c) * m, e[5] = (-s * n + i * a) * m, e[6] = p * m, e[7] = (-l * n + r * c) * m, e[8] = (o * n - r * a) * m, e) : null;
1017
+ }
1018
+ function $(e, t, n) {
1019
+ let r = t[0], i = t[1], a = t[2], o = t[3], s = t[4], c = t[5], l = t[6], u = t[7], d = t[8], f = n[0], p = n[1], m = n[2], h = n[3], g = n[4], _ = n[5], v = n[6], y = n[7], b = n[8];
1020
+ return e[0] = f * r + p * o + m * l, e[1] = f * i + p * s + m * u, e[2] = f * a + p * c + m * d, e[3] = h * r + g * o + _ * l, e[4] = h * i + g * s + _ * u, e[5] = h * a + g * c + _ * d, e[6] = v * r + y * o + b * l, e[7] = v * i + y * s + b * u, e[8] = v * a + y * c + b * d, e;
1021
+ }
1022
+ function We(e, t, n) {
1023
+ let r = t[0], i = t[1], a = t[2], o = t[3], s = t[4], c = t[5], l = t[6], u = t[7], d = t[8], f = n[0], p = n[1];
1024
+ return e[0] = r, e[1] = i, e[2] = a, e[3] = o, e[4] = s, e[5] = c, e[6] = f * r + p * o + l, e[7] = f * i + p * s + u, e[8] = f * a + p * c + d, e;
1025
+ }
1026
+ function Ge(e, t, n) {
1027
+ let r = t[0], i = t[1], a = t[2], o = t[3], s = t[4], c = t[5], l = t[6], u = t[7], d = t[8], f = Math.sin(n), p = Math.cos(n);
1028
+ return e[0] = p * r + f * o, e[1] = p * i + f * s, e[2] = p * a + f * c, e[3] = p * o - f * r, e[4] = p * s - f * i, e[5] = p * c - f * a, e[6] = l, e[7] = u, e[8] = d, e;
1029
+ }
1030
+ function Ke(e, t, n) {
1031
+ let r = n[0], i = n[1];
1032
+ return e[0] = r * t[0], e[1] = r * t[1], e[2] = r * t[2], e[3] = i * t[3], e[4] = i * t[4], e[5] = i * t[5], e[6] = t[6], e[7] = t[7], e[8] = t[8], e;
1033
+ }
1034
+ function qe(e, t) {
1035
+ let n = t[0], r = t[1], i = t[2], a = t[3], o = t[4], s = t[5], c = t[6], l = t[7], u = t[8], d = t[9], f = t[10], p = t[11], m = t[12], h = t[13], g = t[14], _ = t[15], v = n * s - r * o, y = n * c - i * o, b = n * l - a * o, x = r * c - i * s, S = r * l - a * s, C = i * l - a * c, w = u * h - d * m, T = u * g - f * m, E = u * _ - p * m, D = d * g - f * h, O = d * _ - p * h, k = f * _ - p * g, A = v * k - y * O + b * D + x * E - S * T + C * w;
1036
+ return A ? (A = 1 / A, e[0] = (s * k - c * O + l * D) * A, e[1] = (c * E - o * k - l * T) * A, e[2] = (o * O - s * E + l * w) * A, e[3] = (i * O - r * k - a * D) * A, e[4] = (n * k - i * E + a * T) * A, e[5] = (r * E - n * O - a * w) * A, e[6] = (h * C - g * S + _ * x) * A, e[7] = (g * b - m * C - _ * y) * A, e[8] = (m * S - h * b + _ * v) * A, e) : null;
1037
+ }
1038
+ //#endregion
1039
+ //#region ../../node_modules/.pnpm/ogl@1.0.11/node_modules/ogl/src/math/Mat3.js
1040
+ var Je = class extends Array {
1041
+ constructor(e = 1, t = 0, n = 0, r = 0, i = 1, a = 0, o = 0, s = 0, c = 1) {
1042
+ return super(e, t, n, r, i, a, o, s, c), this;
1043
+ }
1044
+ set(e, t, n, r, i, a, o, s, c) {
1045
+ return e.length ? this.copy(e) : (He(this, e, t, n, r, i, a, o, s, c), this);
1046
+ }
1047
+ translate(e, t = this) {
1048
+ return We(this, t, e), this;
1049
+ }
1050
+ rotate(e, t = this) {
1051
+ return Ge(this, t, e), this;
1052
+ }
1053
+ scale(e, t = this) {
1054
+ return Ke(this, t, e), this;
1055
+ }
1056
+ multiply(e, t) {
1057
+ return t ? $(this, e, t) : $(this, this, e), this;
1058
+ }
1059
+ identity() {
1060
+ return Q(this), this;
1061
+ }
1062
+ copy(e) {
1063
+ return Ve(this, e), this;
1064
+ }
1065
+ fromMatrix4(e) {
1066
+ return ze(this, e), this;
1067
+ }
1068
+ fromQuaternion(e) {
1069
+ return Be(this, e), this;
1070
+ }
1071
+ fromBasis(e, t, n) {
1072
+ return this.set(e[0], e[1], e[2], t[0], t[1], t[2], n[0], n[1], n[2]), this;
1073
+ }
1074
+ inverse(e = this) {
1075
+ return Ue(this, e), this;
1076
+ }
1077
+ getNormalMatrix(e) {
1078
+ return qe(this, e), this;
1079
+ }
1080
+ }, Ye = 0, Xe = class extends Re {
1081
+ constructor(e, { geometry: t, program: n, mode: r = e.TRIANGLES, frustumCulled: i = !0, renderOrder: a = 0 } = {}) {
1082
+ super(), e.canvas || console.error("gl not passed as first argument to Mesh"), this.gl = e, this.id = Ye++, this.geometry = t, this.program = n, this.mode = r, this.frustumCulled = i, this.renderOrder = a, this.modelViewMatrix = new X(), this.normalMatrix = new Je(), this.beforeRenderCallbacks = [], this.afterRenderCallbacks = [];
1083
+ }
1084
+ onBeforeRender(e) {
1085
+ return this.beforeRenderCallbacks.push(e), this;
1086
+ }
1087
+ onAfterRender(e) {
1088
+ return this.afterRenderCallbacks.push(e), this;
1089
+ }
1090
+ draw({ camera: e } = {}) {
1091
+ e && (this.program.uniforms.modelMatrix || Object.assign(this.program.uniforms, {
1092
+ modelMatrix: { value: null },
1093
+ viewMatrix: { value: null },
1094
+ modelViewMatrix: { value: null },
1095
+ normalMatrix: { value: null },
1096
+ projectionMatrix: { value: null },
1097
+ cameraPosition: { value: null }
1098
+ }), this.program.uniforms.projectionMatrix.value = e.projectionMatrix, this.program.uniforms.cameraPosition.value = e.worldPosition, this.program.uniforms.viewMatrix.value = e.viewMatrix, this.modelViewMatrix.multiply(e.viewMatrix, this.worldMatrix), this.normalMatrix.getNormalMatrix(this.modelViewMatrix), this.program.uniforms.modelMatrix.value = this.worldMatrix, this.program.uniforms.modelViewMatrix.value = this.modelViewMatrix, this.program.uniforms.normalMatrix.value = this.normalMatrix), this.beforeRenderCallbacks.forEach((t) => t && t({
1099
+ mesh: this,
1100
+ camera: e
1101
+ }));
1102
+ let t = this.program.cullFace && this.worldMatrix.determinant() < 0;
1103
+ this.program.use({ flipFaces: t }), this.geometry.draw({
1104
+ mode: this.mode,
1105
+ program: this.program
1106
+ }), this.afterRenderCallbacks.forEach((t) => t && t({
1107
+ mesh: this,
1108
+ camera: e
1109
+ }));
1110
+ }
1111
+ }, Ze = class extends k {
1112
+ constructor(e, { attributes: t = {} } = {}) {
1113
+ Object.assign(t, {
1114
+ position: {
1115
+ size: 2,
1116
+ data: new Float32Array([
1117
+ -1,
1118
+ -1,
1119
+ 3,
1120
+ -1,
1121
+ -1,
1122
+ 3
1123
+ ])
1124
+ },
1125
+ uv: {
1126
+ size: 2,
1127
+ data: new Float32Array([
1128
+ 0,
1129
+ 0,
1130
+ 2,
1131
+ 0,
1132
+ 0,
1133
+ 2
1134
+ ])
1135
+ }
1136
+ }), super(e, t);
1137
+ }
1138
+ };
1139
+ //#endregion
1140
+ export { ee as i, Xe as n, ie as r, Ze as t };