@tresjs/core 5.0.2 → 5.0.3

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.
package/dist/tres.js CHANGED
@@ -1,18 +1,18 @@
1
1
  /**
2
- * name: @tresjs/core
3
- * version: v5.0.2
2
+ * name: tresjs
3
+ * version: v0.1.0
4
4
  * (c) 2025
5
- * description: Declarative ThreeJS using Vue Components
5
+ * description: Official monorepo for TresJS
6
6
  * author: Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)
7
7
  */
8
- import { reactive as Do, toValue as D, watch as At, onUnmounted as ie, defineComponent as ot, renderSlot as Io, unref as ke, ref as Ae, computed as J, watchEffect as $, readonly as zt, shallowRef as it, isRef as me, useSlots as ko, getCurrentInstance as $t, onMounted as Kt, createElementBlock as xo, openBlock as Ro, normalizeStyle as Lo, normalizeClass as Fo, createRenderer as Mo, h as Wt, provide as qe, Fragment as No } from "vue";
8
+ import { reactive as Io, toValue as I, watch as At, onUnmounted as ie, defineComponent as ot, renderSlot as Do, unref as ke, ref as Ae, computed as J, watchEffect as $, readonly as zt, shallowRef as it, isRef as ge, useSlots as ko, getCurrentInstance as $t, onMounted as Kt, createElementBlock as xo, openBlock as Ro, normalizeStyle as Lo, normalizeClass as Fo, createRenderer as Mo, h as Wt, provide as qe, Fragment as No } from "vue";
9
9
  import * as vr from "three";
10
- import { Layers as Vo, Scene as yr, MathUtils as Bo, Clock as Uo, WebGLRenderer as br, Mesh as He, Material as Ho, Vector3 as I, Vector2 as Y, Ray as st, SphereGeometry as jo, Object3D as je, Matrix4 as Te, BufferAttribute as Cr, Triangle as wr, Line3 as zo, Plane as ze, Raycaster as $o, Quaternion as ut, Sphere as Ko, MeshBasicMaterial as Ar, DoubleSide as Wo, Color as xe, PCFSoftShadowMap as Go, ACESFilmicToneMapping as Yo, PerspectiveCamera as qo, ArrowHelper as Xo, Line as Qo, BufferGeometry as Gt, Float32BufferAttribute as Yt, LineBasicMaterial as Zo, BackSide as Jo, HemisphereLightHelper as ei, SpotLightHelper as ti, PointLightHelper as ni, DirectionalLightHelper as ri } from "three";
11
- import { useAsyncState as oi, whenever as qt, tryOnScopeDispose as ii, createEventHook as Ee, useRafFn as Tr, useDevicePixelRatio as si, useTimeout as ui, unrefElement as ai, useWindowSize as li, useElementSize as ci, refDebounced as Xt, createInjectionState as fi, useFps as di, useMemory as pi, promiseTimeout as hi } from "@vueuse/core";
12
- const _i = "@tresjs/core", mi = "module", gi = "5.0.2", Ei = "pnpm@10.17.0", vi = "Declarative ThreeJS using Vue Components", yi = "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)", bi = "MIT", Ci = { type: "git", url: "git+https://github.com/Tresjs/tres.git" }, wi = ["vue", "3d", "threejs", "three", "threejs-vue"], Ai = !1, Ti = { ".": { types: "./dist/index.d.ts", import: "./dist/tres.js", default: "./dist/tres.js" }, "./components": { types: "./dist/src/components/index.d.ts" }, "./composables": { types: "./dist/src/composables/index.d.ts" }, "./types": { types: "./dist/src/types/index.d.ts" }, "./utils": { types: "./dist/src/utils/index.d.ts" }, "./*": "./*" }, Oi = "./dist/tres.js", Si = "./dist/index.d.ts", Pi = ["*.d.ts", "dist"], Di = { access: "public" }, Ii = { dev: "pnpm --filter='./playground/vue' dev", "dev:nuxt": "pnpm --filter='./playground/nuxt' dev", build: "vite build", test: "vitest", "test:ci": "vitest run", "test:ui": "vitest --ui --coverage.enabled=true", release: "release-it", coverage: "vitest run --coverage", lint: "eslint .", "lint:fix": "eslint . --fix", typecheck: "vue-tsc --noEmit", "docs:dev": "pnpm --filter='./docs' dev", "docs:generate": "pnpm --filter='./docs' generate", "docs:prepare": "pnpm --filter='./docs' prepare", "docs:lint": "pnpm --filter='./docs' lint", "docs:typecheck": "pnpm --filter='./docs' typecheck" }, ki = { three: ">=0.133", vue: ">=3.4" }, xi = { "@pmndrs/pointer-events": "^6.6.17", "@vue/devtools-api": "^7.7.2", "@vueuse/core": "^13.9.0", radashi: "^12.6.2" }, Ri = { "@release-it/conventional-changelog": "^10.0.0", "@stackblitz/sdk": "^1.11.0", "@tresjs/cientos": "5.0.0-alpha.1", "@tresjs/eslint-config": "^1.4.0", "@tresjs/leches": "1.0.0-next.0", "@types/three": "^0.180.0", "@typescript-eslint/eslint-plugin": "^8.42.0", "@typescript-eslint/parser": "^8.42.0", "@vitejs/plugin-vue": "^6.0.1", "@vitest/coverage-c8": "^0.33.0", "@vitest/coverage-v8": "^3.2.4", "@vitest/ui": "^3.2.4", "@vue/test-utils": "^2.4.6", eslint: "^9.34.0", "eslint-plugin-vue": "^10.4.0", esno: "^4.8.0", gsap: "^3.13.0", jsdom: "^27.0.0", kolorist: "^1.8.0", ohmyfetch: "^0.4.21", pathe: "^2.0.3", "release-it": "^19.0.4", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-visualizer": "^6.0.3", sponsorkit: "^17.0.0", three: "^0.180.0", unocss: "^65.5.0", unplugin: "^2.3.10", "unplugin-vue-components": "^29.0.0", vite: "^7.1.6", "vite-plugin-banner": "^0.8.1", "vite-plugin-dts": "4.5.4", "vite-plugin-inspect": "^11.3.3", "vite-plugin-require-transform": "^1.0.21", "vite-svg-loader": "^5.1.0", vitepress: "1.6.4", vitest: "3.2.4", vue: "3.5.21", "vue-demi": "^0.14.10", "vue-tsc": "^3.0.6" }, Li = { onlyBuiltDependencies: ["better-sqlite3"], ignoredBuiltDependencies: ["vue-demi"], overrides: { ipx: "^3.0.3", vue: "^3.5.21", "vue-router": "^4.5.1" } }, Fi = { unimport: "4.1.1" }, Mi = {
10
+ import { Layers as Vo, Scene as yr, MathUtils as Bo, Clock as Uo, WebGLRenderer as br, Mesh as He, Material as Ho, Vector3 as D, Vector2 as Y, Ray as st, SphereGeometry as jo, Object3D as je, Matrix4 as Te, BufferAttribute as Cr, Triangle as wr, Line3 as zo, Plane as ze, Raycaster as $o, Quaternion as at, Sphere as Ko, MeshBasicMaterial as Ar, DoubleSide as Wo, Color as xe, PCFSoftShadowMap as Go, ACESFilmicToneMapping as Yo, PerspectiveCamera as qo, ArrowHelper as Xo, Line as Qo, BufferGeometry as Gt, Float32BufferAttribute as Yt, LineBasicMaterial as Zo, BackSide as Jo, HemisphereLightHelper as ei, SpotLightHelper as ti, PointLightHelper as ni, DirectionalLightHelper as ri } from "three";
11
+ import { useAsyncState as oi, whenever as qt, tryOnScopeDispose as ii, createEventHook as Ee, useRafFn as Tr, useDevicePixelRatio as si, useTimeout as ai, unrefElement as ui, useWindowSize as li, useElementSize as ci, refDebounced as Xt, createInjectionState as fi, useFps as di, useMemory as pi, promiseTimeout as hi } from "@vueuse/core";
12
+ const _i = "@tresjs/core", gi = "module", mi = "5.0.3", Ei = "pnpm@10.17.0", vi = "Declarative ThreeJS using Vue Components", yi = "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)", bi = "MIT", Ci = { type: "git", url: "git+https://github.com/Tresjs/tres.git" }, wi = ["vue", "3d", "threejs", "three", "threejs-vue"], Ai = !1, Ti = { ".": { types: "./dist/index.d.ts", import: "./dist/tres.js", default: "./dist/tres.js" }, "./components": { types: "./dist/src/components/index.d.ts" }, "./composables": { types: "./dist/src/composables/index.d.ts" }, "./types": { types: "./dist/src/types/index.d.ts" }, "./utils": { types: "./dist/src/utils/index.d.ts" }, "./*": "./*" }, Oi = "./dist/tres.js", Si = "./dist/index.d.ts", Pi = ["*.d.ts", "dist"], Ii = { access: "public" }, Di = { dev: "pnpm --filter='./playground/vue' dev", "dev:nuxt": "pnpm --filter='./playground/nuxt' dev", build: "vite build", test: "vitest", "test:ci": "vitest run", "test:ui": "vitest --ui --coverage.enabled=true", coverage: "vitest run --coverage", lint: "eslint .", "lint:fix": "eslint . --fix", typecheck: "vue-tsc --noEmit", "docs:dev": "pnpm --filter='./docs' dev", "docs:generate": "pnpm --filter='./docs' generate", "docs:prepare": "pnpm --filter='./docs' prepare", "docs:lint": "pnpm --filter='./docs' lint", "docs:typecheck": "pnpm --filter='./docs' typecheck" }, ki = { three: ">=0.133", vue: ">=3.4" }, xi = { "@pmndrs/pointer-events": "^6.6.17", "@vue/devtools-api": "^7.7.2", "@vueuse/core": "catalog:", radashi: "^12.6.2" }, Ri = { "@stackblitz/sdk": "^1.11.0", "@tresjs/eslint-config": "workspace:*", "@tresjs/leches": "workspace:*", "@types/three": "catalog:", "@typescript-eslint/eslint-plugin": "catalog:", "@typescript-eslint/parser": "catalog:", "@vitejs/plugin-vue": "catalog:", "@vitest/coverage-c8": "^0.33.0", "@vitest/coverage-v8": "catalog:", "@vitest/ui": "catalog:", "@vue/test-utils": "catalog:", eslint: "catalog:", "eslint-plugin-vue": "catalog:", esno: "^4.8.0", gsap: "catalog:", jsdom: "catalog:", kolorist: "catalog:", ohmyfetch: "^0.4.21", pathe: "catalog:", "rollup-plugin-analyzer": "catalog:", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-visualizer": "catalog:", sponsorkit: "^17.0.0", three: "catalog:", unocss: "^65.5.0", unplugin: "^2.3.10", "unplugin-vue-components": "^29.0.0", vite: "catalog:", "vite-plugin-banner": "catalog:", "vite-plugin-dts": "catalog:", "vite-plugin-inspect": "^11.3.3", "vite-plugin-require-transform": "^1.0.21", "vite-svg-loader": "^5.1.0", vitepress: "catalog:", vitest: "catalog:", vue: "catalog:", "vue-demi": "^0.14.10", "vue-tsc": "catalog:" }, Li = { implicitDependencies: ["!@tresjs/core-*"] }, Fi = {
13
13
  name: _i,
14
- type: mi,
15
- version: gi,
14
+ type: gi,
15
+ version: mi,
16
16
  packageManager: Ei,
17
17
  description: vi,
18
18
  author: yi,
@@ -24,29 +24,28 @@ const _i = "@tresjs/core", mi = "module", gi = "5.0.2", Ei = "pnpm@10.17.0", vi
24
24
  module: Oi,
25
25
  types: Si,
26
26
  files: Pi,
27
- publishConfig: Di,
28
- scripts: Ii,
27
+ publishConfig: Ii,
28
+ scripts: Di,
29
29
  peerDependencies: ki,
30
30
  dependencies: xi,
31
31
  devDependencies: Ri,
32
- pnpm: Li,
33
- resolutions: Fi
32
+ nx: Li
34
33
  };
35
34
  /*! #__NO_SIDE_EFFECTS__ */
36
35
  // @__NO_SIDE_EFFECTS__
37
- function Ni(e) {
36
+ function Mi(e) {
38
37
  const t = /* @__PURE__ */ Object.create(null);
39
38
  for (const n of e.split(","))
40
39
  t[n] = 1;
41
40
  return (n) => n in t;
42
41
  }
43
- const Vi = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", Bi = /* @__PURE__ */ Ni(Vi);
42
+ const Ni = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", Vi = /* @__PURE__ */ Mi(Ni);
44
43
  function Qt(e) {
45
44
  var t;
46
- const n = ((t = e?.replace(/([A-Z])+/g, Ui)) == null ? void 0 : t.split(/(?=[A-Z])|[\.\-\s_]/).map((r) => r.toLowerCase())) ?? [];
45
+ const n = ((t = e?.replace(/([A-Z])+/g, Bi)) == null ? void 0 : t.split(/(?=[A-Z])|[\.\-\s_]/).map((r) => r.toLowerCase())) ?? [];
47
46
  return n.length === 0 ? "" : n.length === 1 ? n[0] : n.reduce((r, o) => `${r}${o.charAt(0).toUpperCase()}${o.slice(1)}`);
48
47
  }
49
- function Ui(e) {
48
+ function Bi(e) {
50
49
  if (!e || e.length === 0)
51
50
  return "";
52
51
  const t = e.toLowerCase();
@@ -76,34 +75,34 @@ function Sr(e) {
76
75
  return typeof e == "number" && !Number.isNaN(e);
77
76
  }
78
77
  function Tt(e) {
79
- return Hi(e, "[object Object]");
78
+ return Ui(e, "[object Object]");
80
79
  }
81
80
  function Ot(e) {
82
81
  return typeof e == "string";
83
82
  }
84
- function Hi(e, t) {
83
+ function Ui(e, t) {
85
84
  return Object.prototype.toString.call(e) === t;
86
85
  }
87
- function at(e) {
86
+ function ut(e) {
88
87
  return typeof e > "u";
89
88
  }
90
- const B = (e) => (t) => Tt(t) && e in t && !!t[e], lt = B("isObject3D"), $e = B("isMesh"), Pr = B("isCamera"), ji = B("isOrthographicCamera"), Dr = B("isPerspectiveCamera"), Ir = B("isColor"), zi = (e) => Ot(e) || Sr(e) || Ir(e), Zt = (e) => e instanceof Vo, kr = B("isBufferGeometry"), xr = B("isMaterial"), Rr = B("isLight"), Lr = B("isFog"), Fr = B("isScene"), fl = B("isGroup"), ct = (e) => e !== null && typeof e == "object" && "set" in e && typeof e.set == "function", $i = (e) => ct(e) && "copy" in e && typeof e.copy == "function", Ki = (e) => !!e?.constructor, re = (e) => Pr(e) || ji(e) || Dr(e), Wi = (e) => (
89
+ const B = (e) => (t) => Tt(t) && e in t && !!t[e], lt = B("isObject3D"), $e = B("isMesh"), Pr = B("isCamera"), Hi = B("isOrthographicCamera"), Ir = B("isPerspectiveCamera"), Dr = B("isColor"), ji = (e) => Ot(e) || Sr(e) || Dr(e), Zt = (e) => e instanceof Vo, kr = B("isBufferGeometry"), xr = B("isMaterial"), Rr = B("isLight"), Lr = B("isFog"), Fr = B("isScene"), cl = B("isGroup"), ct = (e) => e !== null && typeof e == "object" && "set" in e && typeof e.set == "function", zi = (e) => ct(e) && "copy" in e && typeof e.copy == "function", $i = (e) => !!e?.constructor, re = (e) => Pr(e) || Hi(e) || Ir(e), Ki = (e) => (
91
90
  // NOTE: TresObject is currently defined as
92
91
  // TresObject3D | THREE.BufferGeometry | THREE.Material | THREE.Fog
93
92
  lt(e) || kr(e) || xr(e) || Lr(e)
94
- ), Gi = B("isPrimitive"), Yi = (e) => Wi(e) && "__tres" in e, qi = (e, t) => {
93
+ ), Wi = B("isPrimitive"), Gi = (e) => Ki(e) && "__tres" in e, Yi = (e, t) => {
95
94
  let n = 0;
96
95
  for (let r = 0; r < e.length; r++)
97
96
  t(e[r], r) && (e[n] = e[r], n++);
98
97
  return e.length = n, e;
99
- }, dl = !0, Fe = "[TresJS ▲ ■ ●] ";
98
+ }, fl = !0, Fe = "[TresJS ▲ ■ ●] ";
100
99
  function Jt(...e) {
101
100
  typeof e[0] == "string" ? e[0] = Fe + e[0] : e.unshift(Fe), console.error(...e);
102
101
  }
103
102
  function Me(...e) {
104
103
  typeof e[0] == "string" ? e[0] = Fe + e[0] : e.unshift(Fe), console.warn(...e);
105
104
  }
106
- function pl(e, t) {
105
+ function dl(e, t) {
107
106
  }
108
107
  function en(e) {
109
108
  ((n) => "map" in n && !!n.map)(e) && e.map.dispose(), e.dispose();
@@ -128,16 +127,16 @@ function Ve(e, t) {
128
127
  function tn(...e) {
129
128
  return e.map((t, n) => n === 0 ? t : t.charAt(0).toUpperCase() + t.slice(1)).join("");
130
129
  }
131
- function Xi(e, t, n) {
130
+ function qi(e, t, n) {
132
131
  const r = /-\d+$/;
133
132
  if (Ot(n)) {
134
133
  if (r.test(n)) {
135
- const s = n.replace(r, ""), { target: u, key: a } = Ve(e, s);
136
- if (!Array.isArray(u[a])) {
137
- const l = u[a], c = [];
134
+ const s = n.replace(r, ""), { target: a, key: u } = Ve(e, s);
135
+ if (!Array.isArray(a[u])) {
136
+ const l = a[u], c = [];
138
137
  c.__tresDetach = () => {
139
- c.every((f) => at(f)) && (u[a] = l);
140
- }, u[a] = c;
138
+ c.every((f) => ut(f)) && (a[u] = l);
139
+ }, a[u] = c;
141
140
  }
142
141
  }
143
142
  const { target: o, key: i } = Ve(e, n);
@@ -145,7 +144,7 @@ function Xi(e, t, n) {
145
144
  } else
146
145
  t.__tres.previousAttach = n(e, t);
147
146
  }
148
- function Qi(e, t, n) {
147
+ function Xi(e, t, n) {
149
148
  if (Ot(n)) {
150
149
  const { target: r, key: o } = Ve(e, n), i = t.__tres.previousAttach;
151
150
  i === void 0 ? delete r[o] : r[o] = i, "__tresDetach" in r && r.__tresDetach();
@@ -169,24 +168,24 @@ function ft(e) {
169
168
  const t = e?.__tres?.root;
170
169
  t?.renderer && t.renderer.canBeInvalidated.value && t.renderer.invalidate();
171
170
  }
172
- function Zi(e, t, n, r, o) {
171
+ function Qi(e, t, n, r, o) {
173
172
  const i = [...t.__tres.objects], s = se(t);
174
173
  if (e = se(e), s === e)
175
174
  return !0;
176
- const u = X(e, t.__tres ?? {}, o), a = t.parent ?? t.__tres.parent ?? null, l = { ...t.__tres.memoizedProps };
175
+ const a = X(e, t.__tres ?? {}, o), u = t.parent ?? t.__tres.parent ?? null, l = { ...t.__tres.memoizedProps };
177
176
  delete l.object;
178
177
  for (const c of i)
179
178
  Mr(c, o), Nr(c, o);
180
179
  s.__tres.objects = [], r.remove(t);
181
180
  for (const [c, f] of Object.entries(l))
182
- r.patchProp(u, c, u[c], f);
183
- n(e), r.insert(t, a);
181
+ r.patchProp(a, c, a[c], f);
182
+ n(e), r.insert(t, u);
184
183
  for (const c of i)
185
184
  r.insert(c, t);
186
185
  return !0;
187
186
  }
188
187
  function se(e) {
189
- if (Gi(e)) {
188
+ if (Wi(e)) {
190
189
  const t = e;
191
190
  return t.object.__tres = t.__tres, t.object;
192
191
  } else
@@ -194,29 +193,29 @@ function se(e) {
194
193
  }
195
194
  function Mr(e, t) {
196
195
  const n = e.__tres?.parent || t.scene.value;
197
- e.__tres && (e.__tres.parent = null), n && n.__tres && "objects" in n.__tres && qi(n.__tres.objects, (r) => r !== e), e.__tres?.attach ? Qi(n, e, e.__tres.attach) : (e.parent?.remove?.(se(e)), e.parent = null);
196
+ e.__tres && (e.__tres.parent = null), n && n.__tres && "objects" in n.__tres && Yi(n.__tres.objects, (r) => r !== e), e.__tres?.attach ? Xi(n, e, e.__tres.attach) : (e.parent?.remove?.(se(e)), e.parent = null);
198
197
  }
199
198
  function Nr(e, t) {
200
199
  e.traverse?.((n) => {
201
200
  re(n) && t.camera.deregisterCamera(n);
202
201
  }), re(e) && t.camera.deregisterCamera(e), ft(e);
203
202
  }
204
- function Ji(e, t, n) {
205
- const r = new e(n?.manager), o = Do({
203
+ function Zi(e, t, n) {
204
+ const r = new e(n?.manager), o = Io({
206
205
  loaded: 0,
207
206
  total: 0,
208
207
  percentage: 0
209
208
  });
210
209
  n?.extensions && n.extensions(r);
211
- const i = D(t), s = oi(
212
- (a) => new Promise((l, c) => {
213
- const f = a || i || "";
214
- r.load(f, (_) => {
215
- l(_);
216
- }, (_) => {
217
- o.loaded = _.loaded, o.total = _.total, o.percentage = o.loaded / o.total * 100;
218
- }, (_) => {
219
- c(_);
210
+ const i = I(t), s = oi(
211
+ (u) => new Promise((l, c) => {
212
+ const f = u || i || "";
213
+ r.load(f, (h) => {
214
+ l(h);
215
+ }, (h) => {
216
+ o.loaded = h.loaded, o.total = h.total, o.percentage = o.loaded / o.total * 100;
217
+ }, (h) => {
218
+ c(h);
220
219
  });
221
220
  }),
222
221
  n?.initialValue ?? null,
@@ -224,25 +223,25 @@ function Ji(e, t, n) {
224
223
  ...n?.asyncOptions,
225
224
  immediate: n?.asyncOptions?.immediate ?? !0
226
225
  }
227
- ), u = At(() => D(t), (a) => {
228
- if (a) {
226
+ ), a = At(() => I(t), (u) => {
227
+ if (u) {
229
228
  const l = s.state.value;
230
- l && typeof l == "object" && "scene" in l && l.scene && Ne(l.scene), s.execute(0, a);
229
+ l && typeof l == "object" && "scene" in l && l.scene && Ne(l.scene), s.execute(0, u);
231
230
  }
232
231
  });
233
232
  return ie(() => {
234
- u();
235
- const a = s.state.value;
236
- a && typeof a == "object" && "scene" in a && a.scene && Ne(a.scene);
233
+ a();
234
+ const u = s.state.value;
235
+ u && typeof u == "object" && "scene" in u && u.scene && Ne(u.scene);
237
236
  }), {
238
237
  ...s,
239
- load: (a) => {
240
- s.execute(0, a);
238
+ load: (u) => {
239
+ s.execute(0, u);
241
240
  },
242
241
  progress: o
243
242
  };
244
243
  }
245
- const hl = /* @__PURE__ */ ot({
244
+ const pl = /* @__PURE__ */ ot({
246
245
  __name: "component",
247
246
  props: {
248
247
  loader: {},
@@ -251,32 +250,32 @@ const hl = /* @__PURE__ */ ot({
251
250
  },
252
251
  emits: ["loaded", "error"],
253
252
  setup(e, { emit: t }) {
254
- const n = e, r = t, { state: o, isLoading: i, error: s } = Ji(n.loader, n.path, { manager: n.manager });
255
- return qt(s, (u) => {
256
- u && r("error", u);
257
- }), qt(o, (u) => {
258
- u && r("loaded", u);
259
- }), (u, a) => Io(u.$slots, "default", {
253
+ const n = e, r = t, { state: o, isLoading: i, error: s } = Zi(n.loader, n.path, { manager: n.manager });
254
+ return qt(s, (a) => {
255
+ a && r("error", a);
256
+ }), qt(o, (a) => {
257
+ a && r("loaded", a);
258
+ }), (a, u) => Do(a.$slots, "default", {
260
259
  state: ke(o),
261
260
  isLoading: ke(i),
262
261
  error: ke(s)
263
262
  });
264
263
  }
265
- }), es = ({ sizes: e }) => {
264
+ }), Ji = ({ sizes: e }) => {
266
265
  const t = Ae([]), n = J(() => t.value[0]), r = (s) => {
267
- const u = Pr(s) ? s : t.value.find((l) => l.uuid === s);
268
- if (!u)
266
+ const a = Pr(s) ? s : t.value.find((l) => l.uuid === s);
267
+ if (!a)
269
268
  return;
270
- const a = t.value.filter(({ uuid: l }) => l !== u.uuid);
271
- t.value = [u, ...a];
272
- }, o = (s, u = !1) => {
273
- t.value.some(({ uuid: a }) => a === s.uuid) || (t.value.push(s), u && r(s.uuid));
269
+ const u = t.value.filter(({ uuid: l }) => l !== a.uuid);
270
+ t.value = [a, ...u];
271
+ }, o = (s, a = !1) => {
272
+ t.value.some(({ uuid: u }) => u === s.uuid) || (t.value.push(s), a && r(s.uuid));
274
273
  }, i = (s) => {
275
- t.value = t.value.filter(({ uuid: u }) => u !== s.uuid);
274
+ t.value = t.value.filter(({ uuid: a }) => a !== s.uuid);
276
275
  };
277
276
  return $(() => {
278
277
  e.aspectRatio.value && t.value.forEach((s) => {
279
- Dr(s) && (s.aspect = e.aspectRatio.value, s.updateProjectionMatrix());
278
+ Ir(s) && (s.aspect = e.aspectRatio.value, s.updateProjectionMatrix());
280
279
  });
281
280
  }), {
282
281
  activeCamera: n,
@@ -286,7 +285,7 @@ const hl = /* @__PURE__ */ ot({
286
285
  setActiveCamera: r
287
286
  };
288
287
  };
289
- function ts(e) {
288
+ function es(e) {
290
289
  const t = { nodes: {}, materials: {}, meshes: {} };
291
290
  return e && e.traverse((n) => {
292
291
  n.name && (t.nodes[n.name] = n), $e(n) && (t.meshes[n.name] || (t.meshes[n.name] = n), (Array.isArray(n.material) ? n.material : [n.material]).forEach((r) => {
@@ -294,18 +293,18 @@ function ts(e) {
294
293
  }));
295
294
  }), t;
296
295
  }
297
- const _l = (e) => J(() => {
298
- const t = D(e);
296
+ const hl = (e) => J(() => {
297
+ const t = I(e);
299
298
  if (t)
300
- return ts(t);
299
+ return es(t);
301
300
  });
302
301
  function nn() {
303
302
  const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Set();
304
303
  let n = 0, r = !1;
305
304
  const o = () => {
306
305
  const l = Array.from(e.entries()).sort((c, f) => {
307
- const _ = c[1].priority - f[1].priority;
308
- return _ === 0 ? c[1].addI - f[1].addI : _;
306
+ const h = c[1].priority - f[1].priority;
307
+ return h === 0 ? c[1].addI - f[1].addI : h;
309
308
  });
310
309
  t.clear(), l.forEach((c) => t.add(c[0]));
311
310
  }, i = (l) => {
@@ -325,7 +324,7 @@ function nn() {
325
324
  return e.size;
326
325
  } };
327
326
  }
328
- const dt = Ae({}), pt = (e) => Object.assign(dt.value, e), ns = (e, t, n) => {
327
+ const dt = Ae({}), pt = (e) => Object.assign(dt.value, e), ts = (e, t, n) => {
329
328
  if (!Q(e.setPixelRatio))
330
329
  return;
331
330
  let r = 0;
@@ -334,16 +333,16 @@ const dt = Ae({}), pt = (e) => Object.assign(dt.value, e), ns = (e, t, n) => {
334
333
  r = Bo.clamp(t, o, i);
335
334
  } else Sr(n) ? r = n : r = t;
336
335
  r !== e.getPixelRatio?.() && e.setPixelRatio(r);
337
- }, rs = (e) => {
336
+ }, ns = (e) => {
338
337
  const t = new Uo(), n = {
339
338
  before: Ee(),
340
339
  after: Ee()
341
340
  }, { pause: r, resume: o, isActive: i } = Tr(() => {
342
- const a = () => ({
341
+ const u = () => ({
343
342
  delta: t.getDelta(),
344
343
  elapsed: t.elapsedTime
345
344
  });
346
- n.before.trigger(a()), e(), n.after.trigger(a());
345
+ n.before.trigger(u()), e(), n.after.trigger(u());
347
346
  }, {
348
347
  immediate: !1
349
348
  });
@@ -359,7 +358,7 @@ const dt = Ae({}), pt = (e) => Object.assign(dt.value, e), ns = (e, t, n) => {
359
358
  onLoop: n.after.on
360
359
  };
361
360
  };
362
- function os({
361
+ function rs({
363
362
  scene: e,
364
363
  canvas: t,
365
364
  options: n,
@@ -372,44 +371,44 @@ function os({
372
371
  canvas: t
373
372
  }) : new br({
374
373
  ...n,
375
- canvas: ai(t)
376
- }), u = Ae(D(n.renderMode) === "manual" ? 0 : 1), a = 60, l = J(() => D(n.renderMode) === "on-demand" && u.value === 0), c = () => e.value.traverse((E) => {
374
+ canvas: ui(t)
375
+ }), a = Ae(I(n.renderMode) === "manual" ? 0 : 1), u = 60, l = J(() => I(n.renderMode) === "on-demand" && a.value === 0), c = () => e.value.traverse((E) => {
377
376
  E instanceof He && E.material instanceof Ho && (E.material.needsUpdate = !0);
378
377
  }), f = (E = 1) => {
379
- l.value && (u.value = Math.min(a, u.value + E));
380
- }, _ = () => {
381
- if (D(n.renderMode) !== "manual")
378
+ l.value && (a.value = Math.min(u, a.value + E));
379
+ }, h = () => {
380
+ if (I(n.renderMode) !== "manual")
382
381
  throw new Error("advance can only be called in manual render mode.");
383
- u.value = 1;
382
+ a.value = 1;
384
383
  }, d = () => {
385
- D(n.renderMode) === "on-demand" && f();
386
- }, h = J(() => D(n.renderMode) === "always"), v = (E) => Tt(E) && "isRenderer" in E && !!E.isRenderer, p = Ee();
387
- let g = !1;
384
+ I(n.renderMode) === "on-demand" && f();
385
+ }, _ = J(() => I(n.renderMode) === "always"), v = (E) => Tt(E) && "isRenderer" in E && !!E.isRenderer, p = Ee();
386
+ let m = !1;
388
387
  v(s) && (s.init(), p.trigger(s));
389
388
  const b = Ee(), C = () => {
390
- u.value = h.value ? 1 : Math.max(0, u.value - 1), b.trigger(s);
389
+ a.value = _.value ? 1 : Math.max(0, a.value - 1), b.trigger(s);
391
390
  };
392
391
  let P = (E) => {
393
392
  o.activeCamera.value && (s.render(e.value, o.activeCamera.value), E());
394
393
  };
395
394
  const M = (E) => {
396
395
  P = E;
397
- }, A = rs(() => {
398
- u.value && P(C);
396
+ }, A = ns(() => {
397
+ a.value && P(C);
399
398
  });
400
399
  p.on(A.start), At([r.width, r.height], () => {
401
- s.setSize(r.width.value, r.height.value), !g && s.domElement.width && s.domElement.height && (p.trigger(s), g = !0), d();
400
+ s.setSize(r.width.value, r.height.value), !m && s.domElement.width && s.domElement.height && (p.trigger(s), m = !0), d();
402
401
  }, {
403
402
  immediate: !0
404
403
  });
405
404
  const { pixelRatio: O } = si();
406
405
  $(() => {
407
- ns(s, O.value, D(n.dpr));
408
- }), D(n.renderMode) === "on-demand" && f(), D(n.renderMode) === "manual" && ui(100, {
409
- callback: _
406
+ ts(s, O.value, I(n.dpr));
407
+ }), I(n.renderMode) === "on-demand" && f(), I(n.renderMode) === "manual" && ai(100, {
408
+ callback: h
410
409
  });
411
410
  const T = J(() => {
412
- const E = D(n.clearColor), x = D(n.clearAlpha), R = typeof E == "string" && E.length === 9 && E.startsWith("#");
411
+ const E = I(n.clearColor), x = I(n.clearAlpha), R = typeof E == "string" && E.length === 9 && E.startsWith("#");
413
412
  return R && x !== void 0 && Me(`clearColor with alpha (e.g. ${E}) and clearAlpha cannot both be set, using clearColor as source of truth`), R ? {
414
413
  alpha: Number.parseInt(E.slice(7, 9), 16) / 255,
415
414
  color: E.slice(0, 7)
@@ -441,24 +440,24 @@ function os({
441
440
  }), {
442
441
  loop: A,
443
442
  instance: s,
444
- advance: _,
443
+ advance: h,
445
444
  onReady: p.on,
446
445
  onRender: b.on,
447
446
  invalidate: f,
448
447
  canBeInvalidated: l,
449
- mode: D(n.renderMode),
448
+ mode: I(n.renderMode),
450
449
  replaceRenderFunction: M
451
450
  };
452
451
  }
453
- function is(e, t, n = 10) {
454
- const r = D(e) ? li() : ci(J(() => D(t).parentElement)), o = zt(Xt(r.width, n)), i = zt(Xt(r.height, n)), s = J(() => o.value / i.value);
452
+ function os(e, t, n = 10) {
453
+ const r = I(e) ? li() : ci(J(() => I(t).parentElement)), o = zt(Xt(r.width, n)), i = zt(Xt(r.height, n)), s = J(() => o.value / i.value);
455
454
  return {
456
455
  height: i,
457
456
  width: o,
458
457
  aspectRatio: s
459
458
  };
460
459
  }
461
- class ss {
460
+ class is {
462
461
  nativeEvent;
463
462
  NONE = 0;
464
463
  CAPTURING_PHASE = 1;
@@ -565,8 +564,8 @@ class ss {
565
564
  return t in this.nativeEvent ? this.nativeEvent[t] : n;
566
565
  }
567
566
  }
568
- const Xe = new I();
569
- class L extends ss {
567
+ const Xe = new D();
568
+ class L extends is {
570
569
  type;
571
570
  bubbles;
572
571
  internalPointer;
@@ -665,7 +664,7 @@ class L extends ss {
665
664
  case "screen-ray":
666
665
  case "ray":
667
666
  case "sphere":
668
- return this._ray = new st(this.intersection.pointerPosition, new I(0, 0, -1).applyQuaternion(this.intersection.pointerQuaternion));
667
+ return this._ray = new st(this.intersection.pointerPosition, new D(0, 0, -1).applyQuaternion(this.intersection.pointerQuaternion));
669
668
  case "lines":
670
669
  return this._ray = new st(this.intersection.details.line.start, this.intersection.details.line.end.clone().sub(this.intersection.details.line.start).normalize());
671
670
  }
@@ -678,7 +677,7 @@ class L extends ss {
678
677
  get unprojectedPoint() {
679
678
  if (this._unprojectedPoint == null) {
680
679
  const t = this.pointer;
681
- this._unprojectedPoint = new I(t.x, t.y, 0).unproject(this.camera);
680
+ this._unprojectedPoint = new D(t.x, t.y, 0).unproject(this.camera);
682
681
  }
683
682
  return this._unprojectedPoint;
684
683
  }
@@ -691,11 +690,11 @@ class L extends ss {
691
690
  get delta() {
692
691
  throw new Error("not supported");
693
692
  }
694
- constructor(t, n, r, o, i, s, u = i.object, a = u, l = {
693
+ constructor(t, n, r, o, i, s, a = i.object, u = a, l = {
695
694
  stopped: !n,
696
695
  stoppedImmediate: !1
697
696
  }) {
698
- super(r), this.type = t, this.bubbles = n, this.internalPointer = o, this.intersection = i, this.camera = s, this.currentObject = u, this.object = a, this.propagationState = l;
697
+ super(r), this.type = t, this.bubbles = n, this.internalPointer = o, this.intersection = i, this.camera = s, this.currentObject = a, this.object = u, this.propagationState = l;
699
698
  }
700
699
  stopPropagation() {
701
700
  this.propagationState.stopped = !0;
@@ -757,7 +756,7 @@ const Br = {
757
756
  pointerover: "onPointerOver",
758
757
  pointerup: "onPointerUp",
759
758
  wheel: "onWheel"
760
- }, us = Object.keys(Br);
759
+ }, ss = Object.keys(Br);
761
760
  function as(e, t) {
762
761
  if (e._listeners != null && t in e._listeners)
763
762
  return e._listeners[t];
@@ -765,22 +764,22 @@ function as(e, t) {
765
764
  if (e.isVoidObject && t === "click" && e.parent?.__r3f != null && (n = e.parent.__r3f.root.getState().onPointerMissed), e.__r3f != null && (n = e.__r3f.handlers[Br[t]]), n != null)
766
765
  return [n];
767
766
  }
768
- const ls = 1e10, cs = new jo(ls), rn = /* @__PURE__ */ new Map();
767
+ const us = 1e10, ls = new jo(us), rn = /* @__PURE__ */ new Map();
769
768
  function Ur(e) {
770
769
  let t = rn.get(e);
771
- return t == null && (t = new He(cs), t.isVoidObject = !0, t.parent = e, t.pointerEventsOrder = -1 / 0, rn.set(e, t)), t;
770
+ return t == null && (t = new He(ls), t.isVoidObject = !0, t.parent = e, t.pointerEventsOrder = -1 / 0, rn.set(e, t)), t;
772
771
  }
773
- function fs(e, t, n) {
772
+ function cs(e, t, n) {
774
773
  const r = t.normal ?? t.face?.normal;
775
774
  return r == null ? !1 : (e.setFromNormalAndCoplanarPoint(r, t.localPoint), e.applyMatrix4(n), !0);
776
775
  }
777
- function ds(e, t, n) {
776
+ function fs(e, t, n) {
778
777
  if (t === "none" || t === "listener" && !e)
779
778
  return !1;
780
779
  if (n === "all")
781
780
  return !0;
782
781
  if (typeof n == "function")
783
- return ({ id: i, type: s, state: u }) => n(i, s, u);
782
+ return ({ id: i, type: s, state: a }) => n(i, s, a);
784
783
  let r, o;
785
784
  return "deny" in n ? (o = !0, r = n.deny) : (o = !1, r = n.allow), Array.isArray(r) ? (i) => on(r.includes(i.type), o) : (i) => on(r === i.type, o);
786
785
  }
@@ -788,24 +787,24 @@ function on(e, t) {
788
787
  return t ? !e : e;
789
788
  }
790
789
  function Hr(e, t, n, r = !1, o, i, s) {
791
- const u = r || ps(e, t), a = t.pointerEvents ?? o, l = a ?? t.defaultPointerEvents ?? "listener", c = t.pointerEventsType ?? i ?? "all", f = t.pointerEventsOrder ?? s ?? 0, _ = ds(u, l, c), d = n.length;
790
+ const a = r || ds(e, t), u = t.pointerEvents ?? o, l = u ?? t.defaultPointerEvents ?? "listener", c = t.pointerEventsType ?? i ?? "all", f = t.pointerEventsOrder ?? s ?? 0, h = fs(a, l, c), d = n.length;
792
791
  if (d === 1)
793
- (_ === !0 || typeof _ == "function" && _(n[0])) && Qe(n[0], t, l, c, f);
794
- else if (_ === !0)
792
+ (h === !0 || typeof h == "function" && h(n[0])) && Qe(n[0], t, l, c, f);
793
+ else if (h === !0)
795
794
  for (let p = 0; p < d; p++)
796
795
  Qe(n[p], t, l, c, f);
797
- else if (typeof _ == "function")
796
+ else if (typeof h == "function")
798
797
  for (let p = 0; p < d; p++) {
799
- const g = n[p];
800
- _(g) && Qe(g, t, l, c, f);
798
+ const m = n[p];
799
+ h(m) && Qe(m, t, l, c, f);
801
800
  }
802
801
  if (t.children.length === 0 || t.intersectChildren === !1)
803
802
  return;
804
- const h = t.interactableDescendants ?? t.children, v = h.length;
803
+ const _ = t.interactableDescendants ?? t.children, v = _.length;
805
804
  for (let p = 0; p < v; p++)
806
- Hr(e, h[p], n, u, a, c, f);
805
+ Hr(e, _[p], n, a, u, c, f);
807
806
  }
808
- function ps(e, t) {
807
+ function ds(e, t) {
809
808
  if (t.ancestorsHaveListeners || e === "pointer" && t.ancestorsHavePointerListeners || e === "wheel" && t.ancestorsHaveWheelListeners || t.__r3f != null && t.__r3f?.eventCount > 0 && (e === "wheel" && t.__r3f.handlers.onWheel != null || e === "pointer" && Object.keys(t.__r3f.handlers).some((o) => o != "onWheel")))
810
809
  return !0;
811
810
  if (t._listeners == null)
@@ -817,7 +816,7 @@ function ps(e, t) {
817
816
  const n = Object.entries(t._listeners), r = n.length;
818
817
  for (let o = 0; o < r; o++) {
819
818
  const i = n[o];
820
- if (i[0] !== "wheel" && us.includes(i[0]) && i[1] != null && i[1].length > 0)
819
+ if (i[0] !== "wheel" && ss.includes(i[0]) && i[1] != null && i[1].length > 0)
821
820
  return !0;
822
821
  }
823
822
  return !1;
@@ -825,27 +824,27 @@ function ps(e, t) {
825
824
  function Qe({ intersector: e, options: t }, n, r, o, i) {
826
825
  t.filter?.(n, r, o, i) !== !1 && e.executeIntersection(n, i);
827
826
  }
828
- function hs(e, t, { customSort: n = _s } = {}, r) {
827
+ function ps(e, t, { customSort: n = hs } = {}, r) {
829
828
  let o, i, s;
830
- const u = e.length;
831
- for (let a = 0; a < u; a++) {
832
- const l = e[a], c = t?.[a];
833
- (o == null || n(l, c, o, i) < 0) && (s = a, o = l, i = c);
829
+ const a = e.length;
830
+ for (let u = 0; u < a; u++) {
831
+ const l = e[u], c = t?.[u];
832
+ (o == null || n(l, c, o, i) < 0) && (s = u, o = l, i = c);
834
833
  }
835
834
  return s;
836
835
  }
837
- function _s(e, t = 0, n, r = 0) {
836
+ function hs(e, t = 0, n, r = 0) {
838
837
  return t != r ? r - t : e.distance - n.distance;
839
838
  }
840
839
  const sn = 1e7;
841
- function ms(e, t, n, r, o, i = 0) {
842
- const s = t.direction.clone().multiplyScalar(sn), u = sn;
840
+ function _s(e, t, n, r, o, i = 0) {
841
+ const s = t.direction.clone().multiplyScalar(sn), a = sn;
843
842
  return {
844
- distance: u + i,
843
+ distance: a + i,
845
844
  object: Ur(e),
846
845
  point: s,
847
846
  normal: t.origin.clone().sub(s).normalize(),
848
- details: n(s, u),
847
+ details: n(s, a),
849
848
  pointerPosition: r,
850
849
  pointerQuaternion: o,
851
850
  pointOnFace: s,
@@ -856,7 +855,7 @@ function gs(e, t, n) {
856
855
  for (; n > 0; )
857
856
  e.push(t), --n;
858
857
  }
859
- const Ze = Symbol("buttonsDownTime"), Es = Symbol("buttonsClickTime");
858
+ const Ze = Symbol("buttonsDownTime"), ms = Symbol("buttonsClickTime");
860
859
  globalThis.pointerEventspointerMap ??= /* @__PURE__ */ new Map();
861
860
  je.prototype.setPointerCapture = function(e) {
862
861
  St(e)?.setCapture(this);
@@ -871,7 +870,7 @@ je.prototype.hasPointerCapture = function(e) {
871
870
  function St(e) {
872
871
  return globalThis.pointerEventspointerMap?.get(e);
873
872
  }
874
- class vs {
873
+ class Es {
875
874
  id;
876
875
  type;
877
876
  state;
@@ -899,8 +898,8 @@ class vs {
899
898
  //to handle interaction before first move (after exit)
900
899
  wasMoved = !1;
901
900
  onFirstMove = [];
902
- constructor(t, n, r, o, i, s, u, a, l = {}) {
903
- this.id = t, this.type = n, this.state = r, this.intersector = o, this.getCamera = i, this.onMoveCommited = s, this.parentSetPointerCapture = u, this.parentReleasePointerCapture = a, this.options = l, globalThis.pointerEventspointerMap?.set(t, this);
901
+ constructor(t, n, r, o, i, s, a, u, l = {}) {
902
+ this.id = t, this.type = n, this.state = r, this.intersector = o, this.getCamera = i, this.onMoveCommited = s, this.parentSetPointerCapture = a, this.parentReleasePointerCapture = u, this.options = l, globalThis.pointerEventspointerMap?.set(t, this);
904
903
  }
905
904
  getPointerCapture() {
906
905
  return this.pointerCapture;
@@ -937,20 +936,20 @@ class vs {
937
936
  o != null && o.object != i?.object && N(new L("pointerout", !0, t, this, o, r));
938
937
  const s = this.pointerEntered;
939
938
  this.pointerEntered = [], this.pointerEnteredHelper.length = 0, jr(i?.object, this.pointerEntered, s, this.pointerEnteredHelper);
940
- const u = s.length;
941
- for (let a = 0; a < u; a++) {
942
- const l = s[a];
939
+ const a = s.length;
940
+ for (let u = 0; u < a; u++) {
941
+ const l = s[u];
943
942
  N(new L("pointerleave", !1, t, this, o, r, l));
944
943
  }
945
944
  i != null && o?.object != i.object && N(new L("pointerover", !0, t, this, i, r));
946
- for (let a = this.pointerEnteredHelper.length - 1; a >= 0; a--) {
947
- const l = this.pointerEnteredHelper[a];
945
+ for (let u = this.pointerEnteredHelper.length - 1; u >= 0; u--) {
946
+ const l = this.pointerEnteredHelper[u];
948
947
  N(new L("pointerenter", !1, t, this, i, r, l));
949
948
  }
950
949
  if (n && i != null && N(new L("pointermove", !0, t, this, i, r)), this.prevIntersection = this.intersection, this.prevEnabled = this.enabled, !this.wasMoved && this.intersector.isReady()) {
951
950
  this.wasMoved = !0;
952
- const a = this.onFirstMove.length;
953
- for (let l = 0; l < a; l++)
951
+ const u = this.onFirstMove.length;
952
+ for (let l = 0; l < u; l++)
954
953
  this.onFirstMove[l](r);
955
954
  this.onFirstMove.length = 0;
956
955
  }
@@ -993,16 +992,16 @@ class vs {
993
992
  return;
994
993
  const { clickThesholdMs: n, contextMenuButton: r = 2, dblClickThresholdMs: o = 500, clickThresholdMs: i = n ?? 300 } = this.options;
995
994
  this.pointerCapture = void 0;
996
- const s = ys(this.buttonsDownTime, this.intersection.object[Ze], t.button, t.timeStamp, i), u = this.getCamera();
997
- if (s && t.button === r && N(new L("contextmenu", !0, t, this, this.intersection, u)), N(new L("pointerup", !0, t, this, this.intersection, u)), !s || t.button === r)
995
+ const s = vs(this.buttonsDownTime, this.intersection.object[Ze], t.button, t.timeStamp, i), a = this.getCamera();
996
+ if (s && t.button === r && N(new L("contextmenu", !0, t, this, this.intersection, a)), N(new L("pointerup", !0, t, this, this.intersection, a)), !s || t.button === r)
998
997
  return;
999
- N(new L("click", !0, t, this, this.intersection, u));
1000
- const { object: a } = this.intersection, l = a[Es] ??= /* @__PURE__ */ new Map(), c = l.get(t.button);
998
+ N(new L("click", !0, t, this, this.intersection, a));
999
+ const { object: u } = this.intersection, l = u[ms] ??= /* @__PURE__ */ new Map(), c = l.get(t.button);
1001
1000
  if (c == null || t.timeStamp - c > o) {
1002
1001
  l.set(t.button, t.timeStamp);
1003
1002
  return;
1004
1003
  }
1005
- N(new L("dblclick", !0, t, this, this.intersection, u)), l.delete(t.button);
1004
+ N(new L("dblclick", !0, t, this, this.intersection, a)), l.delete(t.button);
1006
1005
  }
1007
1006
  cancel(t) {
1008
1007
  if (this.enabled) {
@@ -1044,30 +1043,30 @@ function jr(e, t, n, r) {
1044
1043
  const o = n.indexOf(e);
1045
1044
  o != -1 ? n.splice(o, 1) : r.push(e), t.push(e), jr(e.parent, t, n, r);
1046
1045
  }
1047
- function ys(e, t, n, r, o) {
1046
+ function vs(e, t, n, r, o) {
1048
1047
  if (t == null)
1049
1048
  return !1;
1050
1049
  const i = t.get(n);
1051
1050
  return !(i == null || r - i > o || i != e.get(n));
1052
1051
  }
1053
- const he = new wr(), Je = new wr(), un = new Y(), an = new Y(), ln = new Y(), et = new I(), bs = new Te(), Pe = new I();
1054
- function Cs(e, t, n) {
1055
- Pe.copy(t).applyMatrix4(bs.copy(n.matrixWorld).invert());
1052
+ const he = new wr(), Je = new wr(), an = new Y(), un = new Y(), ln = new Y(), et = new D(), ys = new Te(), Pe = new D();
1053
+ function bs(e, t, n) {
1054
+ Pe.copy(t).applyMatrix4(ys.copy(n.matrixWorld).invert());
1056
1055
  const r = n.geometry.attributes.uv;
1057
1056
  if (r == null || !(r instanceof Cr))
1058
1057
  return !1;
1059
1058
  let o;
1060
- return ws(n, (i, s, u) => {
1061
- n.getVertexPosition(i, he.a), n.getVertexPosition(s, he.b), n.getVertexPosition(u, he.c);
1062
- const a = he.closestPointToPoint(Pe, et).distanceTo(Pe);
1063
- o != null && a >= o || (o = a, Je.copy(he), un.fromBufferAttribute(r, i), an.fromBufferAttribute(r, s), ln.fromBufferAttribute(r, u));
1064
- }), o == null ? !1 : (Je.closestPointToPoint(Pe, et), Je.getInterpolation(et, un, an, ln, e), !0);
1059
+ return Cs(n, (i, s, a) => {
1060
+ n.getVertexPosition(i, he.a), n.getVertexPosition(s, he.b), n.getVertexPosition(a, he.c);
1061
+ const u = he.closestPointToPoint(Pe, et).distanceTo(Pe);
1062
+ o != null && u >= o || (o = u, Je.copy(he), an.fromBufferAttribute(r, i), un.fromBufferAttribute(r, s), ln.fromBufferAttribute(r, a));
1063
+ }), o == null ? !1 : (Je.closestPointToPoint(Pe, et), Je.getInterpolation(et, an, un, ln, e), !0);
1065
1064
  }
1066
- function ws(e, t) {
1065
+ function Cs(e, t) {
1067
1066
  const n = e.geometry.drawRange;
1068
1067
  if (e.geometry.index != null) {
1069
- const s = e.geometry.index, u = Math.max(0, n.start), a = Math.min(s.count, n.start + n.count);
1070
- for (let l = u; l < a; l += 3)
1068
+ const s = e.geometry.index, a = Math.max(0, n.start), u = Math.min(s.count, n.start + n.count);
1069
+ for (let l = a; l < u; l += 3)
1071
1070
  t(s.getX(l), s.getX(l + 1), s.getX(l + 2));
1072
1071
  return;
1073
1072
  }
@@ -1080,22 +1079,22 @@ function ws(e, t) {
1080
1079
  }
1081
1080
  new Te();
1082
1081
  new zo();
1083
- new I();
1082
+ new D();
1084
1083
  new ze();
1085
1084
  new st();
1086
1085
  new Y();
1087
- new I(0, 0, 0), new I(0, 0, 1);
1088
- const cn = new Te(), As = new I();
1089
- new I(0, 0, -1);
1086
+ new D(0, 0, 0), new D(0, 0, 1);
1087
+ const cn = new Te(), ws = new D();
1088
+ new D(0, 0, -1);
1090
1089
  new ze();
1091
- const fn = new Y(), Ts = new I();
1092
- class Os {
1090
+ const fn = new Y(), As = new D();
1091
+ class Ts {
1093
1092
  prepareTransformation;
1094
1093
  options;
1095
1094
  raycaster = new $o();
1096
- cameraQuaternion = new ut();
1097
- fromPosition = new I();
1098
- fromQuaternion = new ut();
1095
+ cameraQuaternion = new at();
1096
+ fromPosition = new D();
1097
+ fromQuaternion = new at();
1099
1098
  coords = new Y();
1100
1099
  viewPlane = new ze();
1101
1100
  intersects = [];
@@ -1113,12 +1112,12 @@ class Os {
1113
1112
  if (!this.startIntersection(r))
1114
1113
  return t;
1115
1114
  this.viewPlane.constant -= o.distanceViewPlane;
1116
- const i = this.raycaster.ray.intersectPlane(this.viewPlane, new I());
1115
+ const i = this.raycaster.ray.intersectPlane(this.viewPlane, new D());
1117
1116
  if (i == null)
1118
1117
  return t;
1119
- t.object.updateWorldMatrix(!0, !1), fs(this.viewPlane, t, t.object.matrixWorld);
1118
+ t.object.updateWorldMatrix(!0, !1), cs(this.viewPlane, t, t.object.matrixWorld);
1120
1119
  let s = t.uv;
1121
- return t.object instanceof He && Cs(fn, i, t.object) && (s = fn.clone()), {
1120
+ return t.object instanceof He && bs(fn, i, t.object) && (s = fn.clone()), {
1122
1121
  ...t,
1123
1122
  details: {
1124
1123
  ...o,
@@ -1135,17 +1134,17 @@ class Os {
1135
1134
  }
1136
1135
  startIntersection(t) {
1137
1136
  const n = this.prepareTransformation(t, this.coords);
1138
- return n == null ? !1 : (n.updateWorldMatrix(!0, !1), n.matrixWorld.decompose(this.fromPosition, this.fromQuaternion, As), this.raycaster.setFromCamera(this.coords, n), this.viewPlane.setFromNormalAndCoplanarPoint(n.getWorldDirection(Ts), this.raycaster.ray.origin), !0);
1137
+ return n == null ? !1 : (n.updateWorldMatrix(!0, !1), n.matrixWorld.decompose(this.fromPosition, this.fromQuaternion, ws), this.raycaster.setFromCamera(this.coords, n), this.viewPlane.setFromNormalAndCoplanarPoint(n.getWorldDirection(As), this.raycaster.ray.origin), !0);
1139
1138
  }
1140
1139
  executeIntersection(t, n) {
1141
1140
  const r = this.intersects.length;
1142
1141
  t.raycast(this.raycaster, this.intersects), gs(this.pointerEventsOrders, n, this.intersects.length - r);
1143
1142
  }
1144
1143
  finalizeIntersection(t) {
1145
- const n = this.fromPosition.clone(), r = this.cameraQuaternion.clone(), o = this.raycaster.ray.direction.clone(), i = hs(this.intersects, this.pointerEventsOrders, this.options), s = i == null ? void 0 : this.intersects[i];
1146
- return this.intersects.length = 0, this.pointerEventsOrders.length = 0, s == null ? ms(t, this.raycaster.ray, (u, a) => ({
1144
+ const n = this.fromPosition.clone(), r = this.cameraQuaternion.clone(), o = this.raycaster.ray.direction.clone(), i = ps(this.intersects, this.pointerEventsOrders, this.options), s = i == null ? void 0 : this.intersects[i];
1145
+ return this.intersects.length = 0, this.pointerEventsOrders.length = 0, s == null ? _s(t, this.raycaster.ray, (a, u) => ({
1147
1146
  type: "screen-ray",
1148
- distanceViewPlane: a,
1147
+ distanceViewPlane: u,
1149
1148
  screenPoint: this.coords.clone(),
1150
1149
  direction: o
1151
1150
  }), n, r) : (s.object.updateWorldMatrix(!0, !1), cn.copy(s.object.matrixWorld).invert(), Object.assign(s, {
@@ -1162,35 +1161,35 @@ class Os {
1162
1161
  }));
1163
1162
  }
1164
1163
  }
1165
- new I();
1164
+ new D();
1166
1165
  new Y();
1167
1166
  new Te();
1168
- new I();
1169
- new ut();
1167
+ new D();
1168
+ new at();
1170
1169
  new ze();
1171
1170
  new Ko();
1172
- new I();
1173
- new I();
1174
- new I();
1175
- new I(1e-4, 1e-4, 1e-4);
1171
+ new D();
1172
+ new D();
1173
+ new D();
1174
+ new D(1e-4, 1e-4, 1e-4);
1176
1175
  new Te();
1177
- let Ss = 23412;
1178
- function Ps() {
1179
- return Ss++;
1176
+ let Os = 23412;
1177
+ function Ss() {
1178
+ return Os++;
1180
1179
  }
1181
- function Ds(e, t, n) {
1180
+ function Ps(e, t, n) {
1182
1181
  if (!(t instanceof globalThis.MouseEvent))
1183
1182
  return n.set(0, 0);
1184
- const { width: r, height: o, top: i, left: s } = e.getBoundingClientRect(), u = t.clientX - s, a = t.clientY - i;
1185
- return n.set(u / r * 2 - 1, -(a / o) * 2 + 1);
1183
+ const { width: r, height: o, top: i, left: s } = e.getBoundingClientRect(), a = t.clientX - s, u = t.clientY - i;
1184
+ return n.set(a / r * 2 - 1, -(u / o) * 2 + 1);
1186
1185
  }
1187
1186
  function Is(e, t, n, r) {
1188
- return ks(
1187
+ return Ds(
1189
1188
  e,
1190
1189
  //backwards compatibility
1191
1190
  typeof t == "function" ? t : () => t,
1192
1191
  n,
1193
- Ds.bind(null, e),
1192
+ Ps.bind(null, e),
1194
1193
  e.setPointerCapture.bind(e),
1195
1194
  (o) => {
1196
1195
  e.hasPointerCapture(o) && e.releasePointerCapture(o);
@@ -1201,11 +1200,11 @@ function Is(e, t, n, r) {
1201
1200
  }
1202
1201
  );
1203
1202
  }
1204
- function ks(e, t, n, r, o, i, s = {}) {
1205
- const u = s?.forwardPointerCapture ?? !0, a = /* @__PURE__ */ new Map(), l = s.pointerTypePrefix ?? "forward-", c = (O, T) => {
1206
- let E = a.get(O.pointerId);
1207
- return E != null || (E = new vs(Ps(), `${l}${O.pointerType}`, O.pointerState, new Os((x, R) => (r(x, R), t()), s), t, void 0, u ? o.bind(null, O.pointerId) : void 0, u ? i.bind(null, O.pointerId) : void 0, s), T != "move" && T != "wheel" && (E.setIntersection(E.computeIntersection("pointer", n, O)), E.commit(O, !1)), a.set(O.pointerId, E)), E;
1208
- }, f = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), d = [], h = [], v = (O, T, E) => {
1203
+ function Ds(e, t, n, r, o, i, s = {}) {
1204
+ const a = s?.forwardPointerCapture ?? !0, u = /* @__PURE__ */ new Map(), l = s.pointerTypePrefix ?? "forward-", c = (O, T) => {
1205
+ let E = u.get(O.pointerId);
1206
+ return E != null || (E = new Es(Ss(), `${l}${O.pointerType}`, O.pointerState, new Ts((x, R) => (r(x, R), t()), s), t, void 0, a ? o.bind(null, O.pointerId) : void 0, a ? i.bind(null, O.pointerId) : void 0, s), T != "move" && T != "wheel" && (E.setIntersection(E.computeIntersection("pointer", n, O)), E.commit(O, !1)), u.set(O.pointerId, E)), E;
1207
+ }, f = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map(), d = [], _ = [], v = (O, T, E) => {
1209
1208
  switch (O) {
1210
1209
  case "move":
1211
1210
  E.move(n, T);
@@ -1227,22 +1226,22 @@ function ks(e, t, n, r, o, i, s = {}) {
1227
1226
  E.up(T);
1228
1227
  return;
1229
1228
  case "exit":
1230
- _.delete(E), f.delete(E), E.exit(T);
1229
+ h.delete(E), f.delete(E), E.exit(T);
1231
1230
  return;
1232
1231
  }
1233
1232
  }, p = (O, T) => {
1234
1233
  const E = c(T, O);
1235
- O === "move" && _.set(E, T), O === "wheel" && f.set(E, T), s.batchEvents ?? !0 ? h.push({ type: O, event: T }) : v(O, T, E);
1236
- }, g = p.bind(null, "move"), b = p.bind(null, "cancel"), C = p.bind(null, "down"), P = p.bind(null, "up"), M = p.bind(null, "wheel"), A = p.bind(null, "exit");
1237
- return e.addEventListener("pointermove", g), e.addEventListener("pointercancel", b), e.addEventListener("pointerdown", C), e.addEventListener("pointerup", P), e.addEventListener("wheel", M), e.addEventListener("pointerleave", A), {
1234
+ O === "move" && h.set(E, T), O === "wheel" && f.set(E, T), s.batchEvents ?? !0 ? _.push({ type: O, event: T }) : v(O, T, E);
1235
+ }, m = p.bind(null, "move"), b = p.bind(null, "cancel"), C = p.bind(null, "down"), P = p.bind(null, "up"), M = p.bind(null, "wheel"), A = p.bind(null, "exit");
1236
+ return e.addEventListener("pointermove", m), e.addEventListener("pointercancel", b), e.addEventListener("pointerdown", C), e.addEventListener("pointerup", P), e.addEventListener("wheel", M), e.addEventListener("pointerleave", A), {
1238
1237
  destroy() {
1239
- e.removeEventListener("pointermove", g), e.removeEventListener("pointercancel", b), e.removeEventListener("pointerdown", C), e.removeEventListener("pointerup", P), e.removeEventListener("wheel", M), e.removeEventListener("pointerleave", A), _.clear(), f.clear();
1238
+ e.removeEventListener("pointermove", m), e.removeEventListener("pointercancel", b), e.removeEventListener("pointerdown", C), e.removeEventListener("pointerup", P), e.removeEventListener("wheel", M), e.removeEventListener("pointerleave", A), h.clear(), f.clear();
1240
1239
  },
1241
1240
  update() {
1242
- const O = h.length;
1241
+ const O = _.length;
1243
1242
  for (let T = 0; T < O; T++) {
1244
- const { type: E, event: x } = h[T], R = c(x, E);
1245
- if (E === "move" && (d.push(R), _.get(R) != x)) {
1243
+ const { type: E, event: x } = _[T], R = c(x, E);
1244
+ if (E === "move" && (d.push(R), h.get(R) != x)) {
1246
1245
  R.emitMove(x);
1247
1246
  continue;
1248
1247
  }
@@ -1252,8 +1251,8 @@ function ks(e, t, n, r, o, i, s = {}) {
1252
1251
  }
1253
1252
  v(E, x, R);
1254
1253
  }
1255
- if (h.length = 0, s.intersectEveryFrame ?? !1)
1256
- for (const [T, E] of _.entries())
1254
+ if (_.length = 0, s.intersectEveryFrame ?? !1)
1255
+ for (const [T, E] of h.entries())
1257
1256
  d.includes(T) || T.move(n, E);
1258
1257
  d.length = 0;
1259
1258
  }
@@ -1262,41 +1261,41 @@ function ks(e, t, n, r, o, i, s = {}) {
1262
1261
  function dn(e) {
1263
1262
  return e.button != null;
1264
1263
  }
1265
- function xs({
1264
+ function ks({
1266
1265
  canvas: e,
1267
1266
  contextParts: { scene: t, camera: n, renderer: r }
1268
1267
  }) {
1269
- const { update: o, destroy: i } = Is(D(e), () => D(n.activeCamera), t.value), { off: s } = r.loop.onLoop(o);
1268
+ const { update: o, destroy: i } = Is(I(e), () => I(n.activeCamera), t.value), { off: s } = r.loop.onLoop(o);
1270
1269
  ie(i), ie(s);
1271
- const u = Ur(t.value), a = Ee();
1272
- return u.addEventListener("click", a.trigger), {
1273
- onPointerMissed: a.on
1270
+ const a = Ur(t.value), u = Ee();
1271
+ return a.addEventListener("click", u.trigger), {
1272
+ onPointerMissed: u.on
1274
1273
  };
1275
1274
  }
1276
- const Rs = "useTres", [Ls, Fs] = fi(({
1275
+ const xs = "useTres", [Rs, Ls] = fi(({
1277
1276
  scene: e,
1278
1277
  canvas: t,
1279
1278
  windowSize: n,
1280
1279
  rendererOptions: r
1281
1280
  }) => {
1282
- const o = it(e), i = is(n, t), s = es({ sizes: i }), u = os(
1281
+ const o = it(e), i = os(n, t), s = Ji({ sizes: i }), a = rs(
1283
1282
  {
1284
1283
  scene: o,
1285
1284
  canvas: t,
1286
1285
  options: r,
1287
1286
  contextParts: { sizes: i, camera: s }
1288
1287
  }
1289
- ), a = xs({
1288
+ ), u = ks({
1290
1289
  canvas: t,
1291
- contextParts: { scene: o, camera: s, renderer: u }
1290
+ contextParts: { scene: o, camera: s, renderer: a }
1292
1291
  }), l = {
1293
1292
  sizes: i,
1294
1293
  scene: o,
1295
1294
  camera: s,
1296
- renderer: u,
1295
+ renderer: a,
1297
1296
  controls: Ae(null),
1298
1297
  extend: pt,
1299
- events: a
1298
+ events: u
1300
1299
  };
1301
1300
  return l.scene.value.__tres = {
1302
1301
  root: l
@@ -1304,14 +1303,14 @@ const Rs = "useTres", [Ls, Fs] = fi(({
1304
1303
  }, {
1305
1304
  injectionKey: "useTres"
1306
1305
  }), zr = () => {
1307
- const e = Fs();
1306
+ const e = Ls();
1308
1307
  if (!e)
1309
1308
  throw new Error(`useTresContext must be used together with useTresContextProvider.
1310
1309
  You probably tried to use it above or on the same level as a TresCanvas component.
1311
1310
  It should be used in child components of a TresCanvas instance.`);
1312
1311
  return e;
1313
1312
  };
1314
- function Ms() {
1313
+ function Fs() {
1315
1314
  const { scene: e, renderer: t, camera: n, sizes: r, controls: o, extend: i, events: s } = zr();
1316
1315
  return {
1317
1316
  scene: e,
@@ -1325,8 +1324,8 @@ function Ms() {
1325
1324
  advance: t.advance
1326
1325
  };
1327
1326
  }
1328
- const ml = () => {
1329
- const e = Ms(), { renderer: t } = zr(), n = nn(), r = nn();
1327
+ const _l = () => {
1328
+ const e = Fs(), { renderer: t } = zr(), n = nn(), r = nn();
1330
1329
  t.loop.onBeforeLoop((i) => {
1331
1330
  n.trigger({ ...e, ...i });
1332
1331
  }), t.loop.onLoop((i) => {
@@ -1342,26 +1341,26 @@ const ml = () => {
1342
1341
  render: o
1343
1342
  };
1344
1343
  };
1345
- function Ns(e, t = {}, n = {}) {
1344
+ function Ms(e, t = {}, n = {}) {
1346
1345
  let r = e;
1347
- const o = (u) => {
1348
- r = u;
1346
+ const o = (a) => {
1347
+ r = a;
1349
1348
  };
1350
1349
  let i = new Proxy({}, {});
1351
1350
  const s = {
1352
- has(u, a) {
1353
- return a in t || a in r;
1351
+ has(a, u) {
1352
+ return u in t || u in r;
1354
1353
  },
1355
- get(u, a, l) {
1356
- return a in t ? t[a](r) : r[a];
1354
+ get(a, u, l) {
1355
+ return u in t ? t[u](r) : r[u];
1357
1356
  },
1358
- set(u, a, l) {
1359
- return n[a] ? n[a](l, r, i, o) : r[a] = l, !0;
1357
+ set(a, u, l) {
1358
+ return n[u] ? n[u](l, r, i, o) : r[u] = l, !0;
1360
1359
  }
1361
1360
  };
1362
1361
  return i = new Proxy({}, s), i;
1363
1362
  }
1364
- const Vs = [
1363
+ const Ns = [
1365
1364
  "onClick",
1366
1365
  "onContextmenu",
1367
1366
  "onPointermove",
@@ -1375,7 +1374,7 @@ const Vs = [
1375
1374
  "onPointercancel",
1376
1375
  "onLostpointercapture",
1377
1376
  "onWheel"
1378
- ], Bs = {
1377
+ ], Vs = {
1379
1378
  onClick: "click",
1380
1379
  onContextmenu: "contextmenu",
1381
1380
  onPointermove: "pointermove",
@@ -1389,18 +1388,18 @@ const Vs = [
1389
1388
  onPointercancel: "pointercancel",
1390
1389
  onLostpointercapture: "lostpointercapture",
1391
1390
  onWheel: "wheel"
1392
- }, pn = (e) => Vs.includes(e), Us = (e) => {
1391
+ }, pn = (e) => Ns.includes(e), Bs = (e) => {
1393
1392
  const t = e.scene.value;
1394
- function n(c, f, _, d) {
1395
- if (d || (d = {}), d.args || (d.args = []), Bi(c))
1393
+ function n(c, f, h, d) {
1394
+ if (d || (d = {}), d.args || (d.args = []), Vi(c))
1396
1395
  return null;
1397
- let h = c.replace("Tres", ""), v;
1396
+ let _ = c.replace("Tres", ""), v;
1398
1397
  if (c === "primitive") {
1399
- (!Tt(d.object) || me(d.object)) && Jt(
1398
+ (!Tt(d.object) || ge(d.object)) && Jt(
1400
1399
  "Tres primitives need an 'object' prop, whose value is an object or shallowRef<object>"
1401
- ), h = d.object.type;
1400
+ ), _ = d.object.type;
1402
1401
  const p = {};
1403
- v = Ns(
1402
+ v = Ms(
1404
1403
  d.object,
1405
1404
  {
1406
1405
  object: (b) => b,
@@ -1409,7 +1408,7 @@ const Vs = [
1409
1408
  },
1410
1409
  {
1411
1410
  object: (b, C, P, M) => {
1412
- Zi(b, P, M, { patchProp: i, remove: o, insert: r }, e);
1411
+ Qi(b, P, M, { patchProp: i, remove: o, insert: r }, e);
1413
1412
  },
1414
1413
  __tres: (b) => {
1415
1414
  Object.assign(p, b);
@@ -1417,14 +1416,14 @@ const Vs = [
1417
1416
  }
1418
1417
  );
1419
1418
  } else {
1420
- const p = dt.value[h];
1419
+ const p = dt.value[_];
1421
1420
  p || Jt(
1422
- `${h} is not defined on the THREE namespace. Use extend to add it to the catalog.`
1421
+ `${_} is not defined on the THREE namespace. Use extend to add it to the catalog.`
1423
1422
  ), v = new p(...d.args);
1424
1423
  }
1425
1424
  return v ? (re(v) && (d?.position || v.position.set(3, 3, 3), d?.lookAt || v.lookAt(0, 0, 0)), v = X(v, {
1426
- ...Yi(v) ? v.__tres : {},
1427
- type: h,
1425
+ ...Gi(v) ? v.__tres : {},
1426
+ type: _,
1428
1427
  memoizedProps: d,
1429
1428
  primitive: c === "primitive",
1430
1429
  attach: d.attach
@@ -1434,17 +1433,17 @@ const Vs = [
1434
1433
  if (!c)
1435
1434
  return;
1436
1435
  f = f || t;
1437
- const _ = c.__tres ? c : X(c, {}, e), d = f.__tres ? f : X(f, {}, e);
1438
- c = se(_), f = se(d), re(c) && e.camera?.registerCamera(c), _.__tres.attach ? Xi(d, _, _.__tres.attach) : lt(c) && lt(d) && (d.add(c), c.dispatchEvent({ type: "added" })), _.__tres.parent = d, d.__tres.objects && !d.__tres.objects.includes(_) && d.__tres.objects.push(_);
1436
+ const h = c.__tres ? c : X(c, {}, e), d = f.__tres ? f : X(f, {}, e);
1437
+ c = se(h), f = se(d), re(c) && e.camera?.registerCamera(c), h.__tres.attach ? qi(d, h, h.__tres.attach) : lt(c) && lt(d) && (d.add(c), c.dispatchEvent({ type: "added" })), h.__tres.parent = d, d.__tres.objects && !d.__tres.objects.includes(h) && d.__tres.objects.push(h);
1439
1438
  }
1440
1439
  function o(c, f) {
1441
1440
  if (!c)
1442
1441
  return;
1443
- f = at(f) ? "default" : f;
1444
- const _ = c.__tres?.dispose;
1445
- at(_) || (_ === null ? f = !1 : f = _);
1446
- const d = c.__tres?.primitive, h = f === "default" ? !d : !!f;
1447
- if (c.__tres && "objects" in c.__tres && [...c.__tres.objects].forEach((v) => o(v, f)), h && c.children && [...c.children].forEach((v) => o(v, f)), Mr(c, e), Nr(c, e), h && !Fr(c)) {
1442
+ f = ut(f) ? "default" : f;
1443
+ const h = c.__tres?.dispose;
1444
+ ut(h) || (h === null ? f = !1 : f = h);
1445
+ const d = c.__tres?.primitive, _ = f === "default" ? !d : !!f;
1446
+ if (c.__tres && "objects" in c.__tres && [...c.__tres.objects].forEach((v) => o(v, f)), _ && c.children && [...c.children].forEach((v) => o(v, f)), Mr(c, e), Nr(c, e), _ && !Fr(c)) {
1448
1447
  if (Q(f))
1449
1448
  f(c);
1450
1449
  else if (Q(c.dispose))
@@ -1455,10 +1454,10 @@ const Vs = [
1455
1454
  }
1456
1455
  "__tres" in c && delete c.__tres;
1457
1456
  }
1458
- function i(c, f, _, d) {
1457
+ function i(c, f, h, d) {
1459
1458
  if (!c)
1460
1459
  return;
1461
- let h = c;
1460
+ let _ = c;
1462
1461
  const v = f;
1463
1462
  if (c.__tres && (c.__tres.memoizedProps[f] = d), f === "attach") {
1464
1463
  const C = c.__tres?.parent || c.parent;
@@ -1469,10 +1468,10 @@ const Vs = [
1469
1468
  c.__tres || (c = X(c, {}, e)), c.__tres.dispose = d;
1470
1469
  return;
1471
1470
  }
1472
- pn(f) && Q(d) && c.addEventListener(Bs[f], d);
1473
- let p = Qt(v), g = h?.[p];
1471
+ pn(f) && Q(d) && c.addEventListener(Vs[f], d);
1472
+ let p = Qt(v), m = _?.[p];
1474
1473
  if (v === "args") {
1475
- const C = c, P = _ ?? [], M = d ?? [], A = c.__tres?.type || c.type;
1474
+ const C = c, P = h ?? [], M = d ?? [], A = c.__tres?.type || c.type;
1476
1475
  if (A && P.length && !Or(P, M)) {
1477
1476
  const O = new dt.value[A](...d), T = Object.getOwnPropertyDescriptors(O);
1478
1477
  Object.entries(T).forEach(([E, x]) => {
@@ -1482,43 +1481,43 @@ const Vs = [
1482
1481
  } catch (R) {
1483
1482
  console.warn(`Could not set property ${E} on ${A}:`, R);
1484
1483
  }
1485
- }), h = C;
1484
+ }), _ = C;
1486
1485
  }
1487
1486
  return;
1488
1487
  }
1489
- if (h.type === "BufferGeometry") {
1488
+ if (_.type === "BufferGeometry") {
1490
1489
  if (v === "args")
1491
1490
  return;
1492
- h.setAttribute(
1491
+ _.setAttribute(
1493
1492
  Qt(v),
1494
1493
  new Cr(...d)
1495
1494
  );
1496
1495
  return;
1497
1496
  }
1498
- if (v.includes("-") && g === void 0) {
1499
- const C = Ve(h, v);
1500
- if (g = C.target, h = C.target, p = C.key, g && p) {
1501
- g[p] = d, re(c) && c.updateProjectionMatrix(), ft(c);
1497
+ if (v.includes("-") && m === void 0) {
1498
+ const C = Ve(_, v);
1499
+ if (m = C.target, _ = C.target, p = C.key, m && p) {
1500
+ m[p] = d, re(c) && c.updateProjectionMatrix(), ft(c);
1502
1501
  return;
1503
1502
  }
1504
1503
  }
1505
1504
  let b = d;
1506
- if (b === "" && (b = !0), Q(g)) {
1507
- pn(f) || (Array.isArray(b) ? c[p](...b) : c[p](b)), p.startsWith("on") && Q(b) && (h[p] = b);
1505
+ if (b === "" && (b = !0), Q(m)) {
1506
+ pn(f) || (Array.isArray(b) ? c[p](...b) : c[p](b)), p.startsWith("on") && Q(b) && (_[p] = b);
1508
1507
  return;
1509
1508
  }
1510
- Zt(g) && Zt(b) ? g.mask = b.mask : Ir(g) && zi(b) ? g.set(b) : $i(g) && Ki(b) && g.constructor === b.constructor ? g.copy(b) : ct(g) && Array.isArray(b) ? "fromArray" in g && typeof g.fromArray == "function" ? g.fromArray(b) : g.set(...b) : ct(g) && typeof b == "number" ? "setScalar" in g && typeof g.setScalar == "function" ? g.setScalar(b) : g.set(b) : h[p] = b, re(c) && c.updateProjectionMatrix(), ft(c);
1509
+ Zt(m) && Zt(b) ? m.mask = b.mask : Dr(m) && ji(b) ? m.set(b) : zi(m) && $i(b) && m.constructor === b.constructor ? m.copy(b) : ct(m) && Array.isArray(b) ? "fromArray" in m && typeof m.fromArray == "function" ? m.fromArray(b) : m.set(...b) : ct(m) && typeof b == "number" ? "setScalar" in m && typeof m.setScalar == "function" ? m.setScalar(b) : m.set(b) : _[p] = b, re(c) && c.updateProjectionMatrix(), ft(c);
1511
1510
  }
1512
1511
  function s(c) {
1513
1512
  return c?.__tres?.parent || null;
1514
1513
  }
1515
- function u(c) {
1514
+ function a(c) {
1516
1515
  const f = X(new je(), { type: "Comment" }, e);
1517
1516
  return f.name = c, f;
1518
1517
  }
1519
- function a(c) {
1520
- const _ = s(c)?.__tres?.objects || [], d = _.indexOf(c);
1521
- return d < 0 || d >= _.length - 1 ? null : _[d + 1];
1518
+ function u(c) {
1519
+ const h = s(c)?.__tres?.objects || [], d = h.indexOf(c);
1520
+ return d < 0 || d >= h.length - 1 ? null : h[d + 1];
1522
1521
  }
1523
1522
  const l = () => {
1524
1523
  };
@@ -1529,17 +1528,17 @@ const Vs = [
1529
1528
  patchProp: i,
1530
1529
  parentNode: s,
1531
1530
  createText: l,
1532
- createComment: u,
1531
+ createComment: a,
1533
1532
  setText: l,
1534
1533
  setElementText: l,
1535
- nextSibling: a,
1534
+ nextSibling: u,
1536
1535
  querySelector: l,
1537
1536
  setScopeId: l,
1538
1537
  cloneNode: l,
1539
1538
  insertStaticContent: l
1540
1539
  };
1541
- }, Hs = ["asset-load"];
1542
- class js {
1540
+ }, Us = ["asset-load"];
1541
+ class Hs {
1543
1542
  subscribers = /* @__PURE__ */ new Set();
1544
1543
  messageQueue = [];
1545
1544
  maxQueueSize = 100;
@@ -1554,7 +1553,7 @@ class js {
1554
1553
  data: n,
1555
1554
  timestamp: Date.now()
1556
1555
  };
1557
- this.subscribers.size > 0 ? this.subscribers.forEach((o) => o(r)) : Hs.includes(t) && this.queueMessage(r);
1556
+ this.subscribers.size > 0 ? this.subscribers.forEach((o) => o(r)) : Us.includes(t) && this.queueMessage(r);
1558
1557
  }
1559
1558
  /**
1560
1559
  * Queue a message for later delivery
@@ -1598,26 +1597,26 @@ class js {
1598
1597
  this.messageQueue = [];
1599
1598
  }
1600
1599
  }
1601
- var zs = Object.create, $r = Object.defineProperty, $s = Object.getOwnPropertyDescriptor, Pt = Object.getOwnPropertyNames, Ks = Object.getPrototypeOf, Ws = Object.prototype.hasOwnProperty, Gs = (e, t) => function() {
1600
+ var js = Object.create, $r = Object.defineProperty, zs = Object.getOwnPropertyDescriptor, Pt = Object.getOwnPropertyNames, $s = Object.getPrototypeOf, Ks = Object.prototype.hasOwnProperty, Ws = (e, t) => function() {
1602
1601
  return e && (t = (0, e[Pt(e)[0]])(e = 0)), t;
1603
- }, Ys = (e, t) => function() {
1602
+ }, Gs = (e, t) => function() {
1604
1603
  return t || (0, e[Pt(e)[0]])((t = { exports: {} }).exports, t), t.exports;
1605
- }, qs = (e, t, n, r) => {
1604
+ }, Ys = (e, t, n, r) => {
1606
1605
  if (t && typeof t == "object" || typeof t == "function")
1607
1606
  for (let o of Pt(t))
1608
- !Ws.call(e, o) && o !== n && $r(e, o, { get: () => t[o], enumerable: !(r = $s(t, o)) || r.enumerable });
1607
+ !Ks.call(e, o) && o !== n && $r(e, o, { get: () => t[o], enumerable: !(r = zs(t, o)) || r.enumerable });
1609
1608
  return e;
1610
- }, Xs = (e, t, n) => (n = e != null ? zs(Ks(e)) : {}, qs(
1609
+ }, qs = (e, t, n) => (n = e != null ? js($s(e)) : {}, Ys(
1611
1610
  // If the importer is in node compatibility mode or this is not an ESM
1612
1611
  // file that has been converted to a CommonJS file using a Babel-
1613
1612
  // compatible transform (i.e. "__esModule" has not been set), then set
1614
1613
  // "default" to the CommonJS "module.exports" for node compatibility.
1615
1614
  $r(n, "default", { value: e, enumerable: !0 }),
1616
1615
  e
1617
- )), Oe = Gs({
1616
+ )), Oe = Ws({
1618
1617
  "../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"() {
1619
1618
  }
1620
- }), Qs = Ys({
1619
+ }), Xs = Gs({
1621
1620
  "../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e, t) {
1622
1621
  Oe(), t.exports = r;
1623
1622
  function n(i) {
@@ -1626,65 +1625,65 @@ var zs = Object.create, $r = Object.defineProperty, $s = Object.getOwnPropertyDe
1626
1625
  function r(i) {
1627
1626
  if (i = i || {}, i.circles) return o(i);
1628
1627
  const s = /* @__PURE__ */ new Map();
1629
- if (s.set(Date, (f) => new Date(f)), s.set(Map, (f, _) => new Map(a(Array.from(f), _))), s.set(Set, (f, _) => new Set(a(Array.from(f), _))), i.constructorHandlers)
1628
+ if (s.set(Date, (f) => new Date(f)), s.set(Map, (f, h) => new Map(u(Array.from(f), h))), s.set(Set, (f, h) => new Set(u(Array.from(f), h))), i.constructorHandlers)
1630
1629
  for (const f of i.constructorHandlers)
1631
1630
  s.set(f[0], f[1]);
1632
- let u = null;
1631
+ let a = null;
1633
1632
  return i.proto ? c : l;
1634
- function a(f, _) {
1635
- const d = Object.keys(f), h = new Array(d.length);
1633
+ function u(f, h) {
1634
+ const d = Object.keys(f), _ = new Array(d.length);
1636
1635
  for (let v = 0; v < d.length; v++) {
1637
- const p = d[v], g = f[p];
1638
- typeof g != "object" || g === null ? h[p] = g : g.constructor !== Object && (u = s.get(g.constructor)) ? h[p] = u(g, _) : ArrayBuffer.isView(g) ? h[p] = n(g) : h[p] = _(g);
1636
+ const p = d[v], m = f[p];
1637
+ typeof m != "object" || m === null ? _[p] = m : m.constructor !== Object && (a = s.get(m.constructor)) ? _[p] = a(m, h) : ArrayBuffer.isView(m) ? _[p] = n(m) : _[p] = h(m);
1639
1638
  }
1640
- return h;
1639
+ return _;
1641
1640
  }
1642
1641
  function l(f) {
1643
1642
  if (typeof f != "object" || f === null) return f;
1644
- if (Array.isArray(f)) return a(f, l);
1645
- if (f.constructor !== Object && (u = s.get(f.constructor)))
1646
- return u(f, l);
1647
- const _ = {};
1643
+ if (Array.isArray(f)) return u(f, l);
1644
+ if (f.constructor !== Object && (a = s.get(f.constructor)))
1645
+ return a(f, l);
1646
+ const h = {};
1648
1647
  for (const d in f) {
1649
1648
  if (Object.hasOwnProperty.call(f, d) === !1) continue;
1650
- const h = f[d];
1651
- typeof h != "object" || h === null ? _[d] = h : h.constructor !== Object && (u = s.get(h.constructor)) ? _[d] = u(h, l) : ArrayBuffer.isView(h) ? _[d] = n(h) : _[d] = l(h);
1649
+ const _ = f[d];
1650
+ typeof _ != "object" || _ === null ? h[d] = _ : _.constructor !== Object && (a = s.get(_.constructor)) ? h[d] = a(_, l) : ArrayBuffer.isView(_) ? h[d] = n(_) : h[d] = l(_);
1652
1651
  }
1653
- return _;
1652
+ return h;
1654
1653
  }
1655
1654
  function c(f) {
1656
1655
  if (typeof f != "object" || f === null) return f;
1657
- if (Array.isArray(f)) return a(f, c);
1658
- if (f.constructor !== Object && (u = s.get(f.constructor)))
1659
- return u(f, c);
1660
- const _ = {};
1656
+ if (Array.isArray(f)) return u(f, c);
1657
+ if (f.constructor !== Object && (a = s.get(f.constructor)))
1658
+ return a(f, c);
1659
+ const h = {};
1661
1660
  for (const d in f) {
1662
- const h = f[d];
1663
- typeof h != "object" || h === null ? _[d] = h : h.constructor !== Object && (u = s.get(h.constructor)) ? _[d] = u(h, c) : ArrayBuffer.isView(h) ? _[d] = n(h) : _[d] = c(h);
1661
+ const _ = f[d];
1662
+ typeof _ != "object" || _ === null ? h[d] = _ : _.constructor !== Object && (a = s.get(_.constructor)) ? h[d] = a(_, c) : ArrayBuffer.isView(_) ? h[d] = n(_) : h[d] = c(_);
1664
1663
  }
1665
- return _;
1664
+ return h;
1666
1665
  }
1667
1666
  }
1668
1667
  function o(i) {
1669
- const s = [], u = [], a = /* @__PURE__ */ new Map();
1670
- if (a.set(Date, (d) => new Date(d)), a.set(Map, (d, h) => new Map(c(Array.from(d), h))), a.set(Set, (d, h) => new Set(c(Array.from(d), h))), i.constructorHandlers)
1668
+ const s = [], a = [], u = /* @__PURE__ */ new Map();
1669
+ if (u.set(Date, (d) => new Date(d)), u.set(Map, (d, _) => new Map(c(Array.from(d), _))), u.set(Set, (d, _) => new Set(c(Array.from(d), _))), i.constructorHandlers)
1671
1670
  for (const d of i.constructorHandlers)
1672
- a.set(d[0], d[1]);
1671
+ u.set(d[0], d[1]);
1673
1672
  let l = null;
1674
- return i.proto ? _ : f;
1675
- function c(d, h) {
1673
+ return i.proto ? h : f;
1674
+ function c(d, _) {
1676
1675
  const v = Object.keys(d), p = new Array(v.length);
1677
- for (let g = 0; g < v.length; g++) {
1678
- const b = v[g], C = d[b];
1676
+ for (let m = 0; m < v.length; m++) {
1677
+ const b = v[m], C = d[b];
1679
1678
  if (typeof C != "object" || C === null)
1680
1679
  p[b] = C;
1681
- else if (C.constructor !== Object && (l = a.get(C.constructor)))
1682
- p[b] = l(C, h);
1680
+ else if (C.constructor !== Object && (l = u.get(C.constructor)))
1681
+ p[b] = l(C, _);
1683
1682
  else if (ArrayBuffer.isView(C))
1684
1683
  p[b] = n(C);
1685
1684
  else {
1686
1685
  const P = s.indexOf(C);
1687
- P !== -1 ? p[b] = u[P] : p[b] = h(C);
1686
+ P !== -1 ? p[b] = a[P] : p[b] = _(C);
1688
1687
  }
1689
1688
  }
1690
1689
  return p;
@@ -1692,47 +1691,47 @@ var zs = Object.create, $r = Object.defineProperty, $s = Object.getOwnPropertyDe
1692
1691
  function f(d) {
1693
1692
  if (typeof d != "object" || d === null) return d;
1694
1693
  if (Array.isArray(d)) return c(d, f);
1695
- if (d.constructor !== Object && (l = a.get(d.constructor)))
1694
+ if (d.constructor !== Object && (l = u.get(d.constructor)))
1696
1695
  return l(d, f);
1697
- const h = {};
1698
- s.push(d), u.push(h);
1696
+ const _ = {};
1697
+ s.push(d), a.push(_);
1699
1698
  for (const v in d) {
1700
1699
  if (Object.hasOwnProperty.call(d, v) === !1) continue;
1701
1700
  const p = d[v];
1702
1701
  if (typeof p != "object" || p === null)
1703
- h[v] = p;
1704
- else if (p.constructor !== Object && (l = a.get(p.constructor)))
1705
- h[v] = l(p, f);
1702
+ _[v] = p;
1703
+ else if (p.constructor !== Object && (l = u.get(p.constructor)))
1704
+ _[v] = l(p, f);
1706
1705
  else if (ArrayBuffer.isView(p))
1707
- h[v] = n(p);
1706
+ _[v] = n(p);
1708
1707
  else {
1709
- const g = s.indexOf(p);
1710
- g !== -1 ? h[v] = u[g] : h[v] = f(p);
1708
+ const m = s.indexOf(p);
1709
+ m !== -1 ? _[v] = a[m] : _[v] = f(p);
1711
1710
  }
1712
1711
  }
1713
- return s.pop(), u.pop(), h;
1712
+ return s.pop(), a.pop(), _;
1714
1713
  }
1715
- function _(d) {
1714
+ function h(d) {
1716
1715
  if (typeof d != "object" || d === null) return d;
1717
- if (Array.isArray(d)) return c(d, _);
1718
- if (d.constructor !== Object && (l = a.get(d.constructor)))
1719
- return l(d, _);
1720
- const h = {};
1721
- s.push(d), u.push(h);
1716
+ if (Array.isArray(d)) return c(d, h);
1717
+ if (d.constructor !== Object && (l = u.get(d.constructor)))
1718
+ return l(d, h);
1719
+ const _ = {};
1720
+ s.push(d), a.push(_);
1722
1721
  for (const v in d) {
1723
1722
  const p = d[v];
1724
1723
  if (typeof p != "object" || p === null)
1725
- h[v] = p;
1726
- else if (p.constructor !== Object && (l = a.get(p.constructor)))
1727
- h[v] = l(p, _);
1724
+ _[v] = p;
1725
+ else if (p.constructor !== Object && (l = u.get(p.constructor)))
1726
+ _[v] = l(p, h);
1728
1727
  else if (ArrayBuffer.isView(p))
1729
- h[v] = n(p);
1728
+ _[v] = n(p);
1730
1729
  else {
1731
- const g = s.indexOf(p);
1732
- g !== -1 ? h[v] = u[g] : h[v] = _(p);
1730
+ const m = s.indexOf(p);
1731
+ m !== -1 ? _[v] = a[m] : _[v] = h(p);
1733
1732
  }
1734
1733
  }
1735
- return s.pop(), u.pop(), h;
1734
+ return s.pop(), a.pop(), _;
1736
1735
  }
1737
1736
  }
1738
1737
  }
@@ -1746,14 +1745,14 @@ Kr && (y.self, y.top);
1746
1745
  var hn;
1747
1746
  typeof navigator < "u" && ((hn = navigator.userAgent) == null || hn.toLowerCase().includes("electron"));
1748
1747
  Oe();
1749
- var Zs = Xs(Qs()), Js = /(?:^|[-_/])(\w)/g;
1750
- function eu(e, t) {
1748
+ var Qs = qs(Xs()), Zs = /(?:^|[-_/])(\w)/g;
1749
+ function Js(e, t) {
1751
1750
  return t ? t.toUpperCase() : "";
1752
1751
  }
1753
- function tu(e) {
1754
- return e && `${e}`.replace(Js, eu);
1752
+ function ea(e) {
1753
+ return e && `${e}`.replace(Zs, Js);
1755
1754
  }
1756
- function nu(e, t) {
1755
+ function ta(e, t) {
1757
1756
  let n = e.replace(/^[a-z]:/i, "").replace(/\\/g, "/");
1758
1757
  n.endsWith(`index${t}`) && (n = n.replace(`/index${t}`, t));
1759
1758
  const r = n.lastIndexOf("/"), o = n.substring(r + 1);
@@ -1762,34 +1761,34 @@ function nu(e, t) {
1762
1761
  return o.substring(0, i);
1763
1762
  }
1764
1763
  }
1765
- var _n = (0, Zs.default)({ circles: !0 });
1766
- const ru = {
1764
+ var _n = (0, Qs.default)({ circles: !0 });
1765
+ const na = {
1767
1766
  trailing: !0
1768
1767
  };
1769
- function ue(e, t = 25, n = {}) {
1770
- if (n = { ...ru, ...n }, !Number.isFinite(t))
1768
+ function ae(e, t = 25, n = {}) {
1769
+ if (n = { ...na, ...n }, !Number.isFinite(t))
1771
1770
  throw new TypeError("Expected `wait` to be a finite number");
1772
- let r, o, i = [], s, u;
1773
- const a = (l, c) => (s = ou(e, l, c), s.finally(() => {
1774
- if (s = null, n.trailing && u && !o) {
1775
- const f = a(l, u);
1776
- return u = null, f;
1771
+ let r, o, i = [], s, a;
1772
+ const u = (l, c) => (s = ra(e, l, c), s.finally(() => {
1773
+ if (s = null, n.trailing && a && !o) {
1774
+ const f = u(l, a);
1775
+ return a = null, f;
1777
1776
  }
1778
1777
  }), s);
1779
1778
  return function(...l) {
1780
- return s ? (n.trailing && (u = l), s) : new Promise((c) => {
1779
+ return s ? (n.trailing && (a = l), s) : new Promise((c) => {
1781
1780
  const f = !o && n.leading;
1782
1781
  clearTimeout(o), o = setTimeout(() => {
1783
1782
  o = null;
1784
- const _ = n.leading ? r : a(this, l);
1783
+ const h = n.leading ? r : u(this, l);
1785
1784
  for (const d of i)
1786
- d(_);
1785
+ d(h);
1787
1786
  i = [];
1788
- }, t), f ? (r = a(this, l), c(r)) : i.push(c);
1787
+ }, t), f ? (r = u(this, l), c(r)) : i.push(c);
1789
1788
  });
1790
1789
  };
1791
1790
  }
1792
- async function ou(e, t, n) {
1791
+ async function ra(e, t, n) {
1793
1792
  return await e.apply(t, n);
1794
1793
  }
1795
1794
  function ht(e, t = {}, n) {
@@ -1799,15 +1798,15 @@ function ht(e, t = {}, n) {
1799
1798
  }
1800
1799
  return t;
1801
1800
  }
1802
- const iu = { run: (e) => e() }, su = () => iu, Wr = typeof console.createTask < "u" ? console.createTask : su;
1803
- function uu(e, t) {
1801
+ const oa = { run: (e) => e() }, ia = () => oa, Wr = typeof console.createTask < "u" ? console.createTask : ia;
1802
+ function sa(e, t) {
1804
1803
  const n = t.shift(), r = Wr(n);
1805
1804
  return e.reduce(
1806
1805
  (o, i) => o.then(() => r.run(() => i(...t))),
1807
1806
  Promise.resolve()
1808
1807
  );
1809
1808
  }
1810
- function au(e, t) {
1809
+ function aa(e, t) {
1811
1810
  const n = t.shift(), r = Wr(n);
1812
1811
  return Promise.all(e.map((o) => r.run(() => o(...t))));
1813
1812
  }
@@ -1815,7 +1814,7 @@ function tt(e, t) {
1815
1814
  for (const n of [...e])
1816
1815
  n(t);
1817
1816
  }
1818
- class lu {
1817
+ class ua {
1819
1818
  constructor() {
1820
1819
  this._hooks = {}, this._before = void 0, this._after = void 0, this._deprecatedMessages = void 0, this._deprecatedHooks = {}, this.hook = this.hook.bind(this), this.callHook = this.callHook.bind(this), this.callHookWith = this.callHookWith.bind(this);
1821
1820
  }
@@ -1884,10 +1883,10 @@ class lu {
1884
1883
  delete this._hooks[t];
1885
1884
  }
1886
1885
  callHook(t, ...n) {
1887
- return n.unshift(t), this.callHookWith(uu, t, ...n);
1886
+ return n.unshift(t), this.callHookWith(sa, t, ...n);
1888
1887
  }
1889
1888
  callHookParallel(t, ...n) {
1890
- return n.unshift(t), this.callHookWith(au, t, ...n);
1889
+ return n.unshift(t), this.callHookWith(aa, t, ...n);
1891
1890
  }
1892
1891
  callHookWith(t, n, ...r) {
1893
1892
  const o = this._before || this._after ? { name: n, args: r, context: {} } : void 0;
@@ -1918,30 +1917,30 @@ class lu {
1918
1917
  }
1919
1918
  }
1920
1919
  function Gr() {
1921
- return new lu();
1920
+ return new ua();
1922
1921
  }
1923
- var cu = Object.create, Yr = Object.defineProperty, fu = Object.getOwnPropertyDescriptor, Dt = Object.getOwnPropertyNames, du = Object.getPrototypeOf, pu = Object.prototype.hasOwnProperty, hu = (e, t) => function() {
1924
- return e && (t = (0, e[Dt(e)[0]])(e = 0)), t;
1922
+ var la = Object.create, Yr = Object.defineProperty, ca = Object.getOwnPropertyDescriptor, It = Object.getOwnPropertyNames, fa = Object.getPrototypeOf, da = Object.prototype.hasOwnProperty, pa = (e, t) => function() {
1923
+ return e && (t = (0, e[It(e)[0]])(e = 0)), t;
1925
1924
  }, qr = (e, t) => function() {
1926
- return t || (0, e[Dt(e)[0]])((t = { exports: {} }).exports, t), t.exports;
1927
- }, _u = (e, t, n, r) => {
1925
+ return t || (0, e[It(e)[0]])((t = { exports: {} }).exports, t), t.exports;
1926
+ }, ha = (e, t, n, r) => {
1928
1927
  if (t && typeof t == "object" || typeof t == "function")
1929
- for (let o of Dt(t))
1930
- !pu.call(e, o) && o !== n && Yr(e, o, { get: () => t[o], enumerable: !(r = fu(t, o)) || r.enumerable });
1928
+ for (let o of It(t))
1929
+ !da.call(e, o) && o !== n && Yr(e, o, { get: () => t[o], enumerable: !(r = ca(t, o)) || r.enumerable });
1931
1930
  return e;
1932
- }, mu = (e, t, n) => (n = e != null ? cu(du(e)) : {}, _u(
1931
+ }, _a = (e, t, n) => (n = e != null ? la(fa(e)) : {}, ha(
1933
1932
  // If the importer is in node compatibility mode or this is not an ESM
1934
1933
  // file that has been converted to a CommonJS file using a Babel-
1935
1934
  // compatible transform (i.e. "__esModule" has not been set), then set
1936
1935
  // "default" to the CommonJS "module.exports" for node compatibility.
1937
1936
  Yr(n, "default", { value: e, enumerable: !0 }),
1938
1937
  e
1939
- )), m = hu({
1938
+ )), g = pa({
1940
1939
  "../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"() {
1941
1940
  }
1942
- }), gu = qr({
1941
+ }), ga = qr({
1943
1942
  "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e, t) {
1944
- m(), function(n) {
1943
+ g(), (function(n) {
1945
1944
  var r = {
1946
1945
  // latin
1947
1946
  À: "A",
@@ -2995,7 +2994,7 @@ var cu = Object.create, Yr = Object.defineProperty, fu = Object.getOwnPropertyDe
2995
2994
  ü: "u",
2996
2995
  ö: "o"
2997
2996
  }
2998
- }, u = {
2997
+ }, a = {
2999
2998
  ar: {
3000
2999
  "∆": "delta",
3001
3000
  "∞": "la-nihaya",
@@ -3275,14 +3274,14 @@ var cu = Object.create, Yr = Object.defineProperty, fu = Object.getOwnPropertyDe
3275
3274
  "∑": "tong",
3276
3275
  "¤": "tien te"
3277
3276
  }
3278
- }, a = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), l = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), c = [".", "!", "~", "*", "'", "(", ")"].join(""), f = function(p, g) {
3277
+ }, u = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), l = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), c = [".", "!", "~", "*", "'", "(", ")"].join(""), f = function(p, m) {
3279
3278
  var b = "-", C = "", P = "", M = !0, A = {}, O, T, E, x, R, Ut, de, te, Ht, z, w, Se, H, ne, K = "";
3280
3279
  if (typeof p != "string")
3281
3280
  return "";
3282
- if (typeof g == "string" && (b = g), de = u.en, te = s.en, typeof g == "object") {
3283
- O = g.maintainCase || !1, A = g.custom && typeof g.custom == "object" ? g.custom : A, E = +g.truncate > 1 && g.truncate || !1, x = g.uric || !1, R = g.uricNoSlash || !1, Ut = g.mark || !1, M = !(g.symbols === !1 || g.lang === !1), b = g.separator || b, x && (K += a), R && (K += l), Ut && (K += c), de = g.lang && u[g.lang] && M ? u[g.lang] : M ? u.en : {}, te = g.lang && s[g.lang] ? s[g.lang] : g.lang === !1 || g.lang === !0 ? {} : s.en, g.titleCase && typeof g.titleCase.length == "number" && Array.prototype.toString.call(g.titleCase) ? (g.titleCase.forEach(function(U) {
3281
+ if (typeof m == "string" && (b = m), de = a.en, te = s.en, typeof m == "object") {
3282
+ O = m.maintainCase || !1, A = m.custom && typeof m.custom == "object" ? m.custom : A, E = +m.truncate > 1 && m.truncate || !1, x = m.uric || !1, R = m.uricNoSlash || !1, Ut = m.mark || !1, M = !(m.symbols === !1 || m.lang === !1), b = m.separator || b, x && (K += u), R && (K += l), Ut && (K += c), de = m.lang && a[m.lang] && M ? a[m.lang] : M ? a.en : {}, te = m.lang && s[m.lang] ? s[m.lang] : m.lang === !1 || m.lang === !0 ? {} : s.en, m.titleCase && typeof m.titleCase.length == "number" && Array.prototype.toString.call(m.titleCase) ? (m.titleCase.forEach(function(U) {
3284
3283
  A[U + ""] = U + "";
3285
- }), T = !0) : T = !!g.titleCase, g.custom && typeof g.custom.length == "number" && Array.prototype.toString.call(g.custom) && g.custom.forEach(function(U) {
3284
+ }), T = !0) : T = !!m.titleCase, m.custom && typeof m.custom.length == "number" && Array.prototype.toString.call(m.custom) && m.custom.forEach(function(U) {
3286
3285
  A[U + ""] = U + "";
3287
3286
  }), Object.keys(A).forEach(function(U) {
3288
3287
  var pe;
@@ -3292,24 +3291,24 @@ var cu = Object.create, Yr = Object.defineProperty, fu = Object.getOwnPropertyDe
3292
3291
  K += w;
3293
3292
  }
3294
3293
  for (K += b, K = d(K), p = p.replace(/(^\s+|\s+$)/g, ""), H = !1, ne = !1, z = 0, Se = p.length; z < Se; z++)
3295
- w = p[z], h(w, A) ? H = !1 : te[w] ? (w = H && te[w].match(/[A-Za-z0-9]/) ? " " + te[w] : te[w], H = !1) : w in r ? (z + 1 < Se && o.indexOf(p[z + 1]) >= 0 ? (P += w, w = "") : ne === !0 ? (w = i[P] + r[w], P = "") : w = H && r[w].match(/[A-Za-z0-9]/) ? " " + r[w] : r[w], H = !1, ne = !1) : w in i ? (P += w, w = "", z === Se - 1 && (w = i[P]), ne = !0) : /* process symbol chars */ de[w] && !(x && a.indexOf(w) !== -1) && !(R && l.indexOf(w) !== -1) ? (w = H || C.substr(-1).match(/[A-Za-z0-9]/) ? b + de[w] : de[w], w += p[z + 1] !== void 0 && p[z + 1].match(/[A-Za-z0-9]/) ? b : "", H = !0) : (ne === !0 ? (w = i[P] + w, P = "", ne = !1) : H && (/[A-Za-z0-9]/.test(w) || C.substr(-1).match(/A-Za-z0-9]/)) && (w = " " + w), H = !1), C += w.replace(new RegExp("[^\\w\\s" + K + "_-]", "g"), b);
3294
+ w = p[z], _(w, A) ? H = !1 : te[w] ? (w = H && te[w].match(/[A-Za-z0-9]/) ? " " + te[w] : te[w], H = !1) : w in r ? (z + 1 < Se && o.indexOf(p[z + 1]) >= 0 ? (P += w, w = "") : ne === !0 ? (w = i[P] + r[w], P = "") : w = H && r[w].match(/[A-Za-z0-9]/) ? " " + r[w] : r[w], H = !1, ne = !1) : w in i ? (P += w, w = "", z === Se - 1 && (w = i[P]), ne = !0) : /* process symbol chars */ de[w] && !(x && u.indexOf(w) !== -1) && !(R && l.indexOf(w) !== -1) ? (w = H || C.substr(-1).match(/[A-Za-z0-9]/) ? b + de[w] : de[w], w += p[z + 1] !== void 0 && p[z + 1].match(/[A-Za-z0-9]/) ? b : "", H = !0) : (ne === !0 ? (w = i[P] + w, P = "", ne = !1) : H && (/[A-Za-z0-9]/.test(w) || C.substr(-1).match(/A-Za-z0-9]/)) && (w = " " + w), H = !1), C += w.replace(new RegExp("[^\\w\\s" + K + "_-]", "g"), b);
3296
3295
  return T && (C = C.replace(/(\w)(\S*)/g, function(U, pe, jt) {
3297
3296
  var Ye = pe.toUpperCase() + (jt !== null ? jt : "");
3298
3297
  return Object.keys(A).indexOf(Ye.toLowerCase()) < 0 ? Ye : Ye.toLowerCase();
3299
3298
  })), C = C.replace(/\s+/g, b).replace(new RegExp("\\" + b + "+", "g"), b).replace(new RegExp("(^\\" + b + "+|\\" + b + "+$)", "g"), ""), E && C.length > E && (Ht = C.charAt(E) === b, C = C.slice(0, E), Ht || (C = C.slice(0, C.lastIndexOf(b)))), !O && !T && (C = C.toLowerCase()), C;
3300
- }, _ = function(p) {
3299
+ }, h = function(p) {
3301
3300
  return function(b) {
3302
3301
  return f(b, p);
3303
3302
  };
3304
3303
  }, d = function(p) {
3305
3304
  return p.replace(/[-\\^$*+?.()|[\]{}\/]/g, "\\$&");
3306
- }, h = function(v, p) {
3307
- for (var g in p)
3308
- if (p[g] === v)
3305
+ }, _ = function(v, p) {
3306
+ for (var m in p)
3307
+ if (p[m] === v)
3309
3308
  return !0;
3310
3309
  };
3311
3310
  if (typeof t < "u" && t.exports)
3312
- t.exports = f, t.exports.createSlug = _;
3311
+ t.exports = f, t.exports.createSlug = h;
3313
3312
  else if (typeof define < "u" && define.amd)
3314
3313
  define([], function() {
3315
3314
  return f;
@@ -3318,38 +3317,38 @@ var cu = Object.create, Yr = Object.defineProperty, fu = Object.getOwnPropertyDe
3318
3317
  try {
3319
3318
  if (n.getSlug || n.createSlug)
3320
3319
  throw "speakingurl: globals exists /(getSlug|createSlug)/";
3321
- n.getSlug = f, n.createSlug = _;
3320
+ n.getSlug = f, n.createSlug = h;
3322
3321
  } catch {
3323
3322
  }
3324
- }(e);
3323
+ })(e);
3325
3324
  }
3326
- }), Eu = qr({
3325
+ }), ma = qr({
3327
3326
  "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e, t) {
3328
- m(), t.exports = gu();
3327
+ g(), t.exports = ga();
3329
3328
  }
3330
3329
  });
3331
- m();
3332
- m();
3333
- m();
3334
- m();
3335
- m();
3336
- m();
3337
- m();
3338
- m();
3339
- function vu(e) {
3330
+ g();
3331
+ g();
3332
+ g();
3333
+ g();
3334
+ g();
3335
+ g();
3336
+ g();
3337
+ g();
3338
+ function Ea(e) {
3340
3339
  var t;
3341
3340
  const n = e.name || e._componentTag || e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ || e.__name;
3342
3341
  return n === "index" && ((t = e.__file) != null && t.endsWith("index.vue")) ? "" : n;
3343
3342
  }
3344
- function yu(e) {
3343
+ function va(e) {
3345
3344
  const t = e.__file;
3346
3345
  if (t)
3347
- return tu(nu(t, ".vue"));
3346
+ return ea(ta(t, ".vue"));
3348
3347
  }
3349
- function mn(e, t) {
3348
+ function gn(e, t) {
3350
3349
  return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ = t, t;
3351
3350
  }
3352
- function It(e) {
3351
+ function Dt(e) {
3353
3352
  if (e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)
3354
3353
  return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
3355
3354
  if (e.root)
@@ -3357,26 +3356,26 @@ function It(e) {
3357
3356
  }
3358
3357
  function Xr(e) {
3359
3358
  var t, n;
3360
- const r = (t = e.subTree) == null ? void 0 : t.type, o = It(e);
3359
+ const r = (t = e.subTree) == null ? void 0 : t.type, o = Dt(e);
3361
3360
  return o ? ((n = o?.types) == null ? void 0 : n.Fragment) === r : !1;
3362
3361
  }
3363
3362
  function Ke(e) {
3364
3363
  var t, n, r;
3365
- const o = vu(e?.type || {});
3364
+ const o = Ea(e?.type || {});
3366
3365
  if (o)
3367
3366
  return o;
3368
3367
  if (e?.root === e)
3369
3368
  return "Root";
3370
3369
  for (const s in (n = (t = e.parent) == null ? void 0 : t.type) == null ? void 0 : n.components)
3371
3370
  if (e.parent.type.components[s] === e?.type)
3372
- return mn(e, s);
3371
+ return gn(e, s);
3373
3372
  for (const s in (r = e.appContext) == null ? void 0 : r.components)
3374
3373
  if (e.appContext.components[s] === e?.type)
3375
- return mn(e, s);
3376
- const i = yu(e?.type || {});
3374
+ return gn(e, s);
3375
+ const i = va(e?.type || {});
3377
3376
  return i || "Anonymous Component";
3378
3377
  }
3379
- function bu(e) {
3378
+ function ya(e) {
3380
3379
  var t, n, r;
3381
3380
  const o = (r = (n = (t = e?.appContext) == null ? void 0 : t.app) == null ? void 0 : n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__) != null ? r : 0, i = e === e?.root ? "root" : e.uid;
3382
3381
  return `${o}:${i}`;
@@ -3384,7 +3383,7 @@ function bu(e) {
3384
3383
  function _t(e, t) {
3385
3384
  return t = t || `${e.id}:root`, e.instanceMap.get(t) || e.instanceMap.get(":root");
3386
3385
  }
3387
- function Cu() {
3386
+ function ba() {
3388
3387
  const e = {
3389
3388
  top: 0,
3390
3389
  bottom: 0,
@@ -3399,12 +3398,12 @@ function Cu() {
3399
3398
  };
3400
3399
  return e;
3401
3400
  }
3402
- var De;
3403
- function wu(e) {
3404
- return De || (De = document.createRange()), De.selectNode(e), De.getBoundingClientRect();
3401
+ var Ie;
3402
+ function Ca(e) {
3403
+ return Ie || (Ie = document.createRange()), Ie.selectNode(e), Ie.getBoundingClientRect();
3405
3404
  }
3406
- function Au(e) {
3407
- const t = Cu();
3405
+ function wa(e) {
3406
+ const t = ba();
3408
3407
  if (!e.children)
3409
3408
  return t;
3410
3409
  for (let n = 0, r = e.children.length; n < r; n++) {
@@ -3414,16 +3413,16 @@ function Au(e) {
3414
3413
  i = ee(o.component);
3415
3414
  else if (o.el) {
3416
3415
  const s = o.el;
3417
- s.nodeType === 1 || s.getBoundingClientRect ? i = s.getBoundingClientRect() : s.nodeType === 3 && s.data.trim() && (i = wu(s));
3416
+ s.nodeType === 1 || s.getBoundingClientRect ? i = s.getBoundingClientRect() : s.nodeType === 3 && s.data.trim() && (i = Ca(s));
3418
3417
  }
3419
- i && Tu(t, i);
3418
+ i && Aa(t, i);
3420
3419
  }
3421
3420
  return t;
3422
3421
  }
3423
- function Tu(e, t) {
3422
+ function Aa(e, t) {
3424
3423
  return (!e.top || t.top < e.top) && (e.top = t.top), (!e.bottom || t.bottom > e.bottom) && (e.bottom = t.bottom), (!e.left || t.left < e.left) && (e.left = t.left), (!e.right || t.right > e.right) && (e.right = t.right), e;
3425
3424
  }
3426
- var gn = {
3425
+ var mn = {
3427
3426
  top: 0,
3428
3427
  left: 0,
3429
3428
  right: 0,
@@ -3433,13 +3432,13 @@ var gn = {
3433
3432
  };
3434
3433
  function ee(e) {
3435
3434
  const t = e.subTree.el;
3436
- return typeof window > "u" ? gn : Xr(e) ? Au(e.subTree) : t?.nodeType === 1 ? t?.getBoundingClientRect() : e.subTree.component ? ee(e.subTree.component) : gn;
3435
+ return typeof window > "u" ? mn : Xr(e) ? wa(e.subTree) : t?.nodeType === 1 ? t?.getBoundingClientRect() : e.subTree.component ? ee(e.subTree.component) : mn;
3437
3436
  }
3438
- m();
3437
+ g();
3439
3438
  function kt(e) {
3440
- return Xr(e) ? Ou(e.subTree) : e.subTree ? [e.subTree.el] : [];
3439
+ return Xr(e) ? Ta(e.subTree) : e.subTree ? [e.subTree.el] : [];
3441
3440
  }
3442
- function Ou(e) {
3441
+ function Ta(e) {
3443
3442
  if (!e.children)
3444
3443
  return [];
3445
3444
  const t = [];
@@ -3456,7 +3455,7 @@ var Qr = "__vue-devtools-component-inspector__", Zr = "__vue-devtools-component-
3456
3455
  borderRadius: "5px",
3457
3456
  transition: "all 0.1s ease-in",
3458
3457
  pointerEvents: "none"
3459
- }, Su = {
3458
+ }, Oa = {
3460
3459
  fontFamily: "Arial, Helvetica, sans-serif",
3461
3460
  padding: "5px 8px",
3462
3461
  borderRadius: "4px",
@@ -3469,7 +3468,7 @@ var Qr = "__vue-devtools-component-inspector__", Zr = "__vue-devtools-component-
3469
3468
  lineHeight: "24px",
3470
3469
  backgroundColor: "#42b883",
3471
3470
  boxShadow: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"
3472
- }, Pu = {
3471
+ }, Sa = {
3473
3472
  display: "inline-block",
3474
3473
  fontWeight: 400,
3475
3474
  fontStyle: "normal",
@@ -3479,13 +3478,13 @@ var Qr = "__vue-devtools-component-inspector__", Zr = "__vue-devtools-component-
3479
3478
  function ce() {
3480
3479
  return document.getElementById(Qr);
3481
3480
  }
3482
- function Du() {
3481
+ function Pa() {
3483
3482
  return document.getElementById(Zr);
3484
3483
  }
3485
- function Iu() {
3484
+ function Ia() {
3486
3485
  return document.getElementById(eo);
3487
3486
  }
3488
- function ku() {
3487
+ function Da() {
3489
3488
  return document.getElementById(Jr);
3490
3489
  }
3491
3490
  function xt(e) {
@@ -3506,16 +3505,16 @@ function Rt(e) {
3506
3505
  });
3507
3506
  const r = document.createElement("span");
3508
3507
  r.id = Zr, Object.assign(r.style, {
3509
- ...Su,
3508
+ ...Oa,
3510
3509
  top: e.bounds.top < 35 ? 0 : "-35px"
3511
3510
  });
3512
3511
  const o = document.createElement("span");
3513
3512
  o.id = Jr, o.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`;
3514
3513
  const i = document.createElement("i");
3515
- return i.id = eo, i.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`, Object.assign(i.style, Pu), r.appendChild(o), r.appendChild(i), n.appendChild(r), document.body.appendChild(n), n;
3514
+ return i.id = eo, i.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`, Object.assign(i.style, Sa), r.appendChild(o), r.appendChild(i), n.appendChild(r), document.body.appendChild(n), n;
3516
3515
  }
3517
3516
  function Lt(e) {
3518
- const t = ce(), n = Du(), r = ku(), o = Iu();
3517
+ const t = ce(), n = Pa(), r = Da(), o = Ia();
3519
3518
  t && (Object.assign(t.style, {
3520
3519
  ...to,
3521
3520
  ...xt(e.bounds)
@@ -3523,7 +3522,7 @@ function Lt(e) {
3523
3522
  top: e.bounds.top < 35 ? 0 : "-35px"
3524
3523
  }), r.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`, o.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`);
3525
3524
  }
3526
- function xu(e) {
3525
+ function ka(e) {
3527
3526
  const t = ee(e);
3528
3527
  if (!t.width && !t.height)
3529
3528
  return;
@@ -3534,32 +3533,32 @@ function no() {
3534
3533
  const e = ce();
3535
3534
  e && (e.style.display = "none");
3536
3535
  }
3537
- var mt = null;
3538
- function gt(e) {
3536
+ var gt = null;
3537
+ function mt(e) {
3539
3538
  const t = e.target;
3540
3539
  if (t) {
3541
3540
  const n = t.__vueParentComponent;
3542
- if (n && (mt = n, n.vnode.el)) {
3541
+ if (n && (gt = n, n.vnode.el)) {
3543
3542
  const o = ee(n), i = Ke(n);
3544
3543
  ce() ? Lt({ bounds: o, name: i }) : Rt({ bounds: o, name: i });
3545
3544
  }
3546
3545
  }
3547
3546
  }
3548
- function Ru(e, t) {
3549
- if (e.preventDefault(), e.stopPropagation(), mt) {
3550
- const n = bu(mt);
3547
+ function xa(e, t) {
3548
+ if (e.preventDefault(), e.stopPropagation(), gt) {
3549
+ const n = ya(gt);
3551
3550
  t(n);
3552
3551
  }
3553
3552
  }
3554
3553
  var Ue = null;
3555
- function Lu() {
3556
- no(), window.removeEventListener("mouseover", gt), window.removeEventListener("click", Ue, !0), Ue = null;
3554
+ function Ra() {
3555
+ no(), window.removeEventListener("mouseover", mt), window.removeEventListener("click", Ue, !0), Ue = null;
3557
3556
  }
3558
- function Fu() {
3559
- return window.addEventListener("mouseover", gt), new Promise((e) => {
3557
+ function La() {
3558
+ return window.addEventListener("mouseover", mt), new Promise((e) => {
3560
3559
  function t(n) {
3561
- n.preventDefault(), n.stopPropagation(), Ru(n, (r) => {
3562
- window.removeEventListener("click", t, !0), Ue = null, window.removeEventListener("mouseover", gt);
3560
+ n.preventDefault(), n.stopPropagation(), xa(n, (r) => {
3561
+ window.removeEventListener("click", t, !0), Ue = null, window.removeEventListener("mouseover", mt);
3563
3562
  const o = ce();
3564
3563
  o && (o.style.display = "none"), e(JSON.stringify({ id: r }));
3565
3564
  });
@@ -3567,7 +3566,7 @@ function Fu() {
3567
3566
  Ue = t, window.addEventListener("click", t, !0);
3568
3567
  });
3569
3568
  }
3570
- function Mu(e) {
3569
+ function Fa(e) {
3571
3570
  const t = _t(F.value, e.id);
3572
3571
  if (t) {
3573
3572
  const [n] = kt(t);
@@ -3597,39 +3596,39 @@ function Mu(e) {
3597
3596
  }, 1200);
3598
3597
  }
3599
3598
  }
3600
- m();
3599
+ g();
3601
3600
  var En, vn;
3602
3601
  (vn = (En = y).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__) != null || (En.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ = !0);
3603
- function Nu(e) {
3602
+ function Ma(e) {
3604
3603
  let t = 0;
3605
3604
  const n = setInterval(() => {
3606
3605
  y.__VUE_INSPECTOR__ && (clearInterval(n), t += 30, e()), t >= /* 5s */
3607
3606
  5e3 && clearInterval(n);
3608
3607
  }, 30);
3609
3608
  }
3610
- function Vu() {
3609
+ function Na() {
3611
3610
  const e = y.__VUE_INSPECTOR__, t = e.openInEditor;
3612
3611
  e.openInEditor = async (...n) => {
3613
3612
  e.disable(), t(...n);
3614
3613
  };
3615
3614
  }
3616
- function Bu() {
3615
+ function Va() {
3617
3616
  return new Promise((e) => {
3618
3617
  function t() {
3619
- Vu(), e(y.__VUE_INSPECTOR__);
3618
+ Na(), e(y.__VUE_INSPECTOR__);
3620
3619
  }
3621
- y.__VUE_INSPECTOR__ ? t() : Nu(() => {
3620
+ y.__VUE_INSPECTOR__ ? t() : Ma(() => {
3622
3621
  t();
3623
3622
  });
3624
3623
  });
3625
3624
  }
3626
- m();
3627
- m();
3628
- function Uu(e) {
3625
+ g();
3626
+ g();
3627
+ function Ba(e) {
3629
3628
  return !!(e && e.__v_isReadonly);
3630
3629
  }
3631
3630
  function ro(e) {
3632
- return Uu(e) ? ro(e.__v_raw) : !!(e && e.__v_isReactive);
3631
+ return Ba(e) ? ro(e.__v_raw) : !!(e && e.__v_isReactive);
3633
3632
  }
3634
3633
  function nt(e) {
3635
3634
  return !!(e && e.__v_isRef === !0);
@@ -3638,15 +3637,15 @@ function _e(e) {
3638
3637
  const t = e && e.__v_raw;
3639
3638
  return t ? _e(t) : e;
3640
3639
  }
3641
- var Hu = class {
3640
+ var Ua = class {
3642
3641
  constructor() {
3643
- this.refEditor = new ju();
3642
+ this.refEditor = new Ha();
3644
3643
  }
3645
3644
  set(e, t, n, r) {
3646
3645
  const o = Array.isArray(t) ? t : t.split(".");
3647
3646
  for (; o.length > 1; ) {
3648
- const u = o.shift();
3649
- e instanceof Map ? e = e.get(u) : e instanceof Set ? e = Array.from(e.values())[u] : e = e[u], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
3647
+ const a = o.shift();
3648
+ e instanceof Map ? e = e.get(a) : e instanceof Set ? e = Array.from(e.values())[a] : e = e[a], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
3650
3649
  }
3651
3650
  const i = o[0], s = this.refEditor.get(e)[i];
3652
3651
  r ? r(e, i, n) : this.refEditor.isRef(s) ? this.refEditor.set(s, n) : e[i] = n;
@@ -3676,7 +3675,7 @@ var Hu = class {
3676
3675
  }
3677
3676
  };
3678
3677
  }
3679
- }, ju = class {
3678
+ }, Ha = class {
3680
3679
  set(e, t) {
3681
3680
  if (nt(e))
3682
3681
  e.value = t;
@@ -3706,11 +3705,11 @@ var Hu = class {
3706
3705
  return nt(e) || ro(e);
3707
3706
  }
3708
3707
  };
3709
- m();
3710
- m();
3711
- m();
3712
- var zu = "__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";
3713
- function $u() {
3708
+ g();
3709
+ g();
3710
+ g();
3711
+ var ja = "__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";
3712
+ function za() {
3714
3713
  if (!Kr || typeof localStorage > "u" || localStorage === null)
3715
3714
  return {
3716
3715
  recordingState: !1,
@@ -3720,7 +3719,7 @@ function $u() {
3720
3719
  performanceEventEnabled: !1,
3721
3720
  selected: ""
3722
3721
  };
3723
- const e = localStorage.getItem(zu);
3722
+ const e = localStorage.getItem(ja);
3724
3723
  return e ? JSON.parse(e) : {
3725
3724
  recordingState: !1,
3726
3725
  mouseEventEnabled: !1,
@@ -3730,21 +3729,21 @@ function $u() {
3730
3729
  selected: ""
3731
3730
  };
3732
3731
  }
3733
- m();
3734
- m();
3735
- m();
3732
+ g();
3733
+ g();
3734
+ g();
3736
3735
  var yn, bn;
3737
3736
  (bn = (yn = y).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS) != null || (yn.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS = []);
3738
- var Ku = new Proxy(y.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, {
3737
+ var $a = new Proxy(y.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, {
3739
3738
  get(e, t, n) {
3740
3739
  return Reflect.get(e, t, n);
3741
3740
  }
3742
3741
  });
3743
- function Wu(e, t) {
3744
- k.timelineLayersState[t.id] = !1, Ku.push({
3742
+ function Ka(e, t) {
3743
+ k.timelineLayersState[t.id] = !1, $a.push({
3745
3744
  ...e,
3746
3745
  descriptorId: t.id,
3747
- appRecord: It(t.app)
3746
+ appRecord: Dt(t.app)
3748
3747
  });
3749
3748
  }
3750
3749
  var Cn, wn;
@@ -3753,10 +3752,10 @@ var Ft = new Proxy(y.__VUE_DEVTOOLS_KIT_INSPECTOR__, {
3753
3752
  get(e, t, n) {
3754
3753
  return Reflect.get(e, t, n);
3755
3754
  }
3756
- }), oo = ue(() => {
3755
+ }), oo = ae(() => {
3757
3756
  fe.hooks.callHook("sendInspectorToClient", io());
3758
3757
  });
3759
- function Gu(e, t) {
3758
+ function Wa(e, t) {
3760
3759
  var n, r;
3761
3760
  Ft.push({
3762
3761
  options: e,
@@ -3765,7 +3764,7 @@ function Gu(e, t) {
3765
3764
  stateFilterPlaceholder: (r = e.stateFilterPlaceholder) != null ? r : "Search state...",
3766
3765
  treeFilter: "",
3767
3766
  selectedNodeId: "",
3768
- appRecord: It(t.app)
3767
+ appRecord: Dt(t.app)
3769
3768
  }), oo();
3770
3769
  }
3771
3770
  function io() {
@@ -3786,34 +3785,34 @@ function io() {
3786
3785
  function Re(e, t) {
3787
3786
  return Ft.find((n) => n.options.id === e && (t ? n.descriptor.app === t : !0));
3788
3787
  }
3789
- function Yu() {
3788
+ function Ga() {
3790
3789
  const e = Gr();
3791
3790
  e.hook("addInspector", ({ inspector: r, plugin: o }) => {
3792
- Gu(r, o.descriptor);
3791
+ Wa(r, o.descriptor);
3793
3792
  });
3794
- const t = ue(async ({ inspectorId: r, plugin: o }) => {
3793
+ const t = ae(async ({ inspectorId: r, plugin: o }) => {
3795
3794
  var i;
3796
3795
  if (!r || !((i = o?.descriptor) != null && i.app) || k.highPerfModeEnabled)
3797
3796
  return;
3798
- const s = Re(r, o.descriptor.app), u = {
3797
+ const s = Re(r, o.descriptor.app), a = {
3799
3798
  app: o.descriptor.app,
3800
3799
  inspectorId: r,
3801
3800
  filter: s?.treeFilter || "",
3802
3801
  rootNodes: []
3803
3802
  };
3804
- await new Promise((a) => {
3803
+ await new Promise((u) => {
3805
3804
  e.callHookWith(
3806
3805
  async (l) => {
3807
- await Promise.all(l.map((c) => c(u))), a();
3806
+ await Promise.all(l.map((c) => c(a))), u();
3808
3807
  },
3809
3808
  "getInspectorTree"
3810
3809
  /* GET_INSPECTOR_TREE */
3811
3810
  );
3812
3811
  }), e.callHookWith(
3813
- async (a) => {
3814
- await Promise.all(a.map((l) => l({
3812
+ async (u) => {
3813
+ await Promise.all(u.map((l) => l({
3815
3814
  inspectorId: r,
3816
- rootNodes: u.rootNodes
3815
+ rootNodes: a.rootNodes
3817
3816
  })));
3818
3817
  },
3819
3818
  "sendInspectorTreeToClient"
@@ -3821,22 +3820,22 @@ function Yu() {
3821
3820
  );
3822
3821
  }, 120);
3823
3822
  e.hook("sendInspectorTree", t);
3824
- const n = ue(async ({ inspectorId: r, plugin: o }) => {
3823
+ const n = ae(async ({ inspectorId: r, plugin: o }) => {
3825
3824
  var i;
3826
3825
  if (!r || !((i = o?.descriptor) != null && i.app) || k.highPerfModeEnabled)
3827
3826
  return;
3828
- const s = Re(r, o.descriptor.app), u = {
3827
+ const s = Re(r, o.descriptor.app), a = {
3829
3828
  app: o.descriptor.app,
3830
3829
  inspectorId: r,
3831
3830
  nodeId: s?.selectedNodeId || "",
3832
3831
  state: null
3833
- }, a = {
3832
+ }, u = {
3834
3833
  currentTab: `custom-inspector:${r}`
3835
3834
  };
3836
- u.nodeId && await new Promise((l) => {
3835
+ a.nodeId && await new Promise((l) => {
3837
3836
  e.callHookWith(
3838
3837
  async (c) => {
3839
- await Promise.all(c.map((f) => f(u, a))), l();
3838
+ await Promise.all(c.map((f) => f(a, u))), l();
3840
3839
  },
3841
3840
  "getInspectorState"
3842
3841
  /* GET_INSPECTOR_STATE */
@@ -3845,8 +3844,8 @@ function Yu() {
3845
3844
  async (l) => {
3846
3845
  await Promise.all(l.map((c) => c({
3847
3846
  inspectorId: r,
3848
- nodeId: u.nodeId,
3849
- state: u.state
3847
+ nodeId: a.nodeId,
3848
+ state: a.state
3850
3849
  })));
3851
3850
  },
3852
3851
  "sendInspectorStateToClient"
@@ -3857,13 +3856,13 @@ function Yu() {
3857
3856
  const s = Re(r, i.descriptor.app);
3858
3857
  s && (s.selectedNodeId = o);
3859
3858
  }), e.hook("timelineLayerAdded", ({ options: r, plugin: o }) => {
3860
- Wu(r, o.descriptor);
3859
+ Ka(r, o.descriptor);
3861
3860
  }), e.hook("timelineEventAdded", ({ options: r, plugin: o }) => {
3862
3861
  var i;
3863
3862
  const s = ["performance", "component-event", "keyboard", "mouse"];
3864
3863
  k.highPerfModeEnabled || !((i = k.timelineLayersState) != null && i[o.descriptor.id]) && !s.includes(r.layerId) || e.callHookWith(
3865
- async (u) => {
3866
- await Promise.all(u.map((a) => a(r)));
3864
+ async (a) => {
3865
+ await Promise.all(a.map((u) => u(r)));
3867
3866
  },
3868
3867
  "sendTimelineEventToClient"
3869
3868
  /* SEND_TIMELINE_EVENT_TO_CLIENT */
@@ -3873,10 +3872,10 @@ function Yu() {
3873
3872
  if (!o)
3874
3873
  return null;
3875
3874
  const i = o.id.toString();
3876
- return [...o.instanceMap].filter(([u]) => u.split(":")[0] === i).map(([, u]) => u);
3875
+ return [...o.instanceMap].filter(([a]) => a.split(":")[0] === i).map(([, a]) => a);
3877
3876
  }), e.hook("getComponentBounds", async ({ instance: r }) => ee(r)), e.hook("getComponentName", ({ instance: r }) => Ke(r)), e.hook("componentHighlight", ({ uid: r }) => {
3878
3877
  const o = F.value.instanceMap.get(r);
3879
- o && xu(o);
3878
+ o && ka(o);
3880
3879
  }), e.hook("componentUnhighlight", () => {
3881
3880
  no();
3882
3881
  }), e;
@@ -3885,14 +3884,14 @@ var An, Tn;
3885
3884
  (Tn = (An = y).__VUE_DEVTOOLS_KIT_APP_RECORDS__) != null || (An.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = []);
3886
3885
  var On, Sn;
3887
3886
  (Sn = (On = y).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__) != null || (On.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = {});
3888
- var Pn, Dn;
3889
- (Dn = (Pn = y).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__) != null || (Pn.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = "");
3890
- var In, kn;
3891
- (kn = (In = y).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__) != null || (In.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = []);
3887
+ var Pn, In;
3888
+ (In = (Pn = y).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__) != null || (Pn.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = "");
3889
+ var Dn, kn;
3890
+ (kn = (Dn = y).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__) != null || (Dn.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = []);
3892
3891
  var xn, Rn;
3893
3892
  (Rn = (xn = y).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__) != null || (xn.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ = []);
3894
3893
  var Z = "__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";
3895
- function qu() {
3894
+ function Ya() {
3896
3895
  return {
3897
3896
  connected: !1,
3898
3897
  clientConnected: !1,
@@ -3904,15 +3903,15 @@ function qu() {
3904
3903
  highPerfModeEnabled: !0,
3905
3904
  devtoolsClientDetected: {},
3906
3905
  perfUniqueGroupId: 0,
3907
- timelineLayersState: $u()
3906
+ timelineLayersState: za()
3908
3907
  };
3909
3908
  }
3910
3909
  var Ln, Fn;
3911
- (Fn = (Ln = y)[Z]) != null || (Ln[Z] = qu());
3912
- var Xu = ue((e) => {
3910
+ (Fn = (Ln = y)[Z]) != null || (Ln[Z] = Ya());
3911
+ var qa = ae((e) => {
3913
3912
  fe.hooks.callHook("devtoolsStateUpdated", { state: e });
3914
3913
  });
3915
- ue((e, t) => {
3914
+ ae((e, t) => {
3916
3915
  fe.hooks.callHook("devtoolsConnectedUpdated", { state: e, oldState: t });
3917
3916
  });
3918
3917
  var We = new Proxy(y.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
@@ -3925,7 +3924,7 @@ var We = new Proxy(y.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
3925
3924
  }
3926
3925
  });
3927
3926
  function so() {
3928
- Xu({
3927
+ qa({
3929
3928
  ...y[Z],
3930
3929
  appRecords: We.value,
3931
3930
  activeAppRecordId: F.id,
@@ -3933,10 +3932,10 @@ function so() {
3933
3932
  commands: y.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__
3934
3933
  });
3935
3934
  }
3936
- function Qu(e) {
3935
+ function Xa(e) {
3937
3936
  y.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = e, so();
3938
3937
  }
3939
- function Zu(e) {
3938
+ function Qa(e) {
3940
3939
  y.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = e, so();
3941
3940
  }
3942
3941
  var k = new Proxy(y[Z], {
@@ -3950,29 +3949,29 @@ var k = new Proxy(y[Z], {
3950
3949
  return { ...y[Z] }, e[t] = n, y[Z][t] = n, !0;
3951
3950
  }
3952
3951
  });
3953
- function Ju(e = {}) {
3952
+ function Za(e = {}) {
3954
3953
  var t, n, r;
3955
- const { file: o, host: i, baseUrl: s = window.location.origin, line: u = 0, column: a = 0 } = e;
3954
+ const { file: o, host: i, baseUrl: s = window.location.origin, line: a = 0, column: u = 0 } = e;
3956
3955
  if (o) {
3957
3956
  if (i === "chrome-extension") {
3958
3957
  const l = o.replace(/\\/g, "\\\\"), c = (n = (t = window.VUE_DEVTOOLS_CONFIG) == null ? void 0 : t.openInEditorHost) != null ? n : "/";
3959
3958
  fetch(`${c}__open-in-editor?file=${encodeURI(o)}`).then((f) => {
3960
3959
  if (!f.ok) {
3961
- const _ = `Opening component ${l} failed`;
3962
- console.log(`%c${_}`, "color:red");
3960
+ const h = `Opening component ${l} failed`;
3961
+ console.log(`%c${h}`, "color:red");
3963
3962
  }
3964
3963
  });
3965
3964
  } else if (k.vitePluginDetected) {
3966
3965
  const l = (r = y.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__) != null ? r : s;
3967
- y.__VUE_INSPECTOR__.openInEditor(l, o, u, a);
3966
+ y.__VUE_INSPECTOR__.openInEditor(l, o, a, u);
3968
3967
  }
3969
3968
  }
3970
3969
  }
3971
- m();
3972
- m();
3973
- m();
3974
- m();
3975
- m();
3970
+ g();
3971
+ g();
3972
+ g();
3973
+ g();
3974
+ g();
3976
3975
  var Mn, Nn;
3977
3976
  (Nn = (Mn = y).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__) != null || (Mn.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ = []);
3978
3977
  var Mt = new Proxy(y.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__, {
@@ -3989,7 +3988,7 @@ function Et(e) {
3989
3988
  function Nt(e) {
3990
3989
  return `__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`;
3991
3990
  }
3992
- function ea(e) {
3991
+ function Ja(e) {
3993
3992
  var t, n, r;
3994
3993
  const o = (n = (t = Mt.find((i) => {
3995
3994
  var s;
@@ -3997,7 +3996,7 @@ function ea(e) {
3997
3996
  })) == null ? void 0 : t[0]) != null ? n : null;
3998
3997
  return (r = o?.settings) != null ? r : null;
3999
3998
  }
4000
- function uo(e, t) {
3999
+ function ao(e, t) {
4001
4000
  var n, r, o;
4002
4001
  const i = Nt(e);
4003
4002
  if (i) {
@@ -4006,23 +4005,23 @@ function uo(e, t) {
4006
4005
  return JSON.parse(s);
4007
4006
  }
4008
4007
  if (e) {
4009
- const s = (r = (n = Mt.find((u) => u[0].id === e)) == null ? void 0 : n[0]) != null ? r : null;
4008
+ const s = (r = (n = Mt.find((a) => a[0].id === e)) == null ? void 0 : n[0]) != null ? r : null;
4010
4009
  return Et((o = s?.settings) != null ? o : {});
4011
4010
  }
4012
4011
  return Et(t);
4013
4012
  }
4014
- function ta(e, t) {
4013
+ function eu(e, t) {
4015
4014
  const n = Nt(e);
4016
4015
  localStorage.getItem(n) || localStorage.setItem(n, JSON.stringify(Et(t)));
4017
4016
  }
4018
- function na(e, t, n) {
4017
+ function tu(e, t, n) {
4019
4018
  const r = Nt(e), o = localStorage.getItem(r), i = JSON.parse(o || "{}"), s = {
4020
4019
  ...i,
4021
4020
  [t]: n
4022
4021
  };
4023
4022
  localStorage.setItem(r, JSON.stringify(s)), fe.hooks.callHookWith(
4024
- (u) => {
4025
- u.forEach((a) => a({
4023
+ (a) => {
4024
+ a.forEach((u) => u({
4026
4025
  pluginId: e,
4027
4026
  key: t,
4028
4027
  oldValue: i[t],
@@ -4034,18 +4033,18 @@ function na(e, t, n) {
4034
4033
  /* SET_PLUGIN_SETTINGS */
4035
4034
  );
4036
4035
  }
4037
- m();
4038
- m();
4039
- m();
4040
- m();
4041
- m();
4042
- m();
4043
- m();
4044
- m();
4045
- m();
4046
- m();
4047
- m();
4048
- var Vn, Bn, V = (Bn = (Vn = y).__VUE_DEVTOOLS_HOOK) != null ? Bn : Vn.__VUE_DEVTOOLS_HOOK = Gr(), ra = {
4036
+ g();
4037
+ g();
4038
+ g();
4039
+ g();
4040
+ g();
4041
+ g();
4042
+ g();
4043
+ g();
4044
+ g();
4045
+ g();
4046
+ g();
4047
+ var Vn, Bn, V = (Bn = (Vn = y).__VUE_DEVTOOLS_HOOK) != null ? Bn : Vn.__VUE_DEVTOOLS_HOOK = Gr(), nu = {
4049
4048
  vueAppInit(e) {
4050
4049
  V.hook("app:init", e);
4051
4050
  },
@@ -4076,12 +4075,12 @@ var Vn, Bn, V = (Bn = (Vn = y).__VUE_DEVTOOLS_HOOK) != null ? Bn : Vn.__VUE_DEVT
4076
4075
  perfEnd(e) {
4077
4076
  return V.hook("perf:end", e);
4078
4077
  }
4079
- }, ao = {
4080
- on: ra,
4078
+ }, uo = {
4079
+ on: nu,
4081
4080
  setupDevToolsPlugin(e, t) {
4082
4081
  return V.callHook("devtools-plugin:setup", e, t);
4083
4082
  }
4084
- }, oa = class {
4083
+ }, ru = class {
4085
4084
  constructor({ plugin: e, ctx: t }) {
4086
4085
  this.hooks = t.hooks, this.plugin = e;
4087
4086
  }
@@ -4145,7 +4144,7 @@ var Vn, Bn, V = (Bn = (Vn = y).__VUE_DEVTOOLS_HOOK) != null ? Bn : Vn.__VUE_DEVT
4145
4144
  }
4146
4145
  // custom inspector
4147
4146
  addInspector(e) {
4148
- this.hooks.callHook("addInspector", { inspector: e, plugin: this.plugin }), this.plugin.descriptor.settings && ta(e.id, this.plugin.descriptor.settings);
4147
+ this.hooks.callHook("addInspector", { inspector: e, plugin: this.plugin }), this.plugin.descriptor.settings && eu(e.id, this.plugin.descriptor.settings);
4149
4148
  }
4150
4149
  sendInspectorTree(e) {
4151
4150
  k.highPerfModeEnabled || this.hooks.callHook("sendInspectorTree", { inspectorId: e, plugin: this.plugin });
@@ -4171,7 +4170,7 @@ var Vn, Bn, V = (Bn = (Vn = y).__VUE_DEVTOOLS_HOOK) != null ? Bn : Vn.__VUE_DEVT
4171
4170
  }
4172
4171
  // settings
4173
4172
  getSettings(e) {
4174
- return uo(e ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
4173
+ return ao(e ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
4175
4174
  }
4176
4175
  // utilities
4177
4176
  getComponentInstances(e) {
@@ -4193,36 +4192,36 @@ var Vn, Bn, V = (Bn = (Vn = y).__VUE_DEVTOOLS_HOOK) != null ? Bn : Vn.__VUE_DEVT
4193
4192
  /* COMPONENT_UNHIGHLIGHT */
4194
4193
  );
4195
4194
  }
4196
- }, ia = oa;
4197
- m();
4198
- m();
4199
- m();
4200
- m();
4201
- var sa = "__vue_devtool_undefined__", ua = "__vue_devtool_infinity__", aa = "__vue_devtool_negative_infinity__", la = "__vue_devtool_nan__";
4202
- m();
4203
- m();
4204
- var ca = {
4205
- [sa]: "undefined",
4206
- [la]: "NaN",
4207
- [ua]: "Infinity",
4208
- [aa]: "-Infinity"
4195
+ }, ou = ru;
4196
+ g();
4197
+ g();
4198
+ g();
4199
+ g();
4200
+ var iu = "__vue_devtool_undefined__", su = "__vue_devtool_infinity__", au = "__vue_devtool_negative_infinity__", uu = "__vue_devtool_nan__";
4201
+ g();
4202
+ g();
4203
+ var lu = {
4204
+ [iu]: "undefined",
4205
+ [uu]: "NaN",
4206
+ [su]: "Infinity",
4207
+ [au]: "-Infinity"
4209
4208
  };
4210
- Object.entries(ca).reduce((e, [t, n]) => (e[n] = t, e), {});
4211
- m();
4212
- m();
4213
- m();
4214
- m();
4215
- m();
4209
+ Object.entries(lu).reduce((e, [t, n]) => (e[n] = t, e), {});
4210
+ g();
4211
+ g();
4212
+ g();
4213
+ g();
4214
+ g();
4216
4215
  var Un, Hn;
4217
4216
  (Hn = (Un = y).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__) != null || (Un.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ = /* @__PURE__ */ new Set());
4218
- function fa(e, t) {
4219
- return ao.setupDevToolsPlugin(e, t);
4217
+ function cu(e, t) {
4218
+ return uo.setupDevToolsPlugin(e, t);
4220
4219
  }
4221
- function da(e, t) {
4220
+ function fu(e, t) {
4222
4221
  const [n, r] = e;
4223
4222
  if (n.app !== t)
4224
4223
  return;
4225
- const o = new ia({
4224
+ const o = new ou({
4226
4225
  plugin: {
4227
4226
  setupFn: r,
4228
4227
  descriptor: n
@@ -4235,21 +4234,21 @@ function da(e, t) {
4235
4234
  }
4236
4235
  function lo(e, t) {
4237
4236
  y.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e) || k.highPerfModeEnabled && !t?.inspectingComponent || (y.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e), Mt.forEach((n) => {
4238
- da(n, e);
4237
+ fu(n, e);
4239
4238
  }));
4240
4239
  }
4241
- m();
4242
- m();
4243
- var ve = "__VUE_DEVTOOLS_ROUTER__", ae = "__VUE_DEVTOOLS_ROUTER_INFO__", jn, zn;
4244
- (zn = (jn = y)[ae]) != null || (jn[ae] = {
4240
+ g();
4241
+ g();
4242
+ var ve = "__VUE_DEVTOOLS_ROUTER__", ue = "__VUE_DEVTOOLS_ROUTER_INFO__", jn, zn;
4243
+ (zn = (jn = y)[ue]) != null || (jn[ue] = {
4245
4244
  currentRoute: null,
4246
4245
  routes: []
4247
4246
  });
4248
4247
  var $n, Kn;
4249
4248
  (Kn = ($n = y)[ve]) != null || ($n[ve] = {});
4250
- new Proxy(y[ae], {
4249
+ new Proxy(y[ue], {
4251
4250
  get(e, t) {
4252
- return y[ae][t];
4251
+ return y[ue][t];
4253
4252
  }
4254
4253
  });
4255
4254
  new Proxy(y[ve], {
@@ -4258,7 +4257,7 @@ new Proxy(y[ve], {
4258
4257
  return y[ve];
4259
4258
  }
4260
4259
  });
4261
- function pa(e) {
4260
+ function du(e) {
4262
4261
  const t = /* @__PURE__ */ new Map();
4263
4262
  return (e?.getRoutes() || []).filter((n) => !t.has(n.path) && t.set(n.path, 1));
4264
4263
  }
@@ -4273,38 +4272,38 @@ function Vt(e) {
4273
4272
  };
4274
4273
  });
4275
4274
  }
4276
- function ha(e) {
4275
+ function pu(e) {
4277
4276
  if (e) {
4278
- const { fullPath: t, hash: n, href: r, path: o, name: i, matched: s, params: u, query: a } = e;
4277
+ const { fullPath: t, hash: n, href: r, path: o, name: i, matched: s, params: a, query: u } = e;
4279
4278
  return {
4280
4279
  fullPath: t,
4281
4280
  hash: n,
4282
4281
  href: r,
4283
4282
  path: o,
4284
4283
  name: i,
4285
- params: u,
4286
- query: a,
4284
+ params: a,
4285
+ query: u,
4287
4286
  matched: Vt(s)
4288
4287
  };
4289
4288
  }
4290
4289
  return e;
4291
4290
  }
4292
- function _a(e, t) {
4291
+ function hu(e, t) {
4293
4292
  function n() {
4294
4293
  var r;
4295
- const o = (r = e.app) == null ? void 0 : r.config.globalProperties.$router, i = ha(o?.currentRoute.value), s = Vt(pa(o)), u = console.warn;
4294
+ const o = (r = e.app) == null ? void 0 : r.config.globalProperties.$router, i = pu(o?.currentRoute.value), s = Vt(du(o)), a = console.warn;
4296
4295
  console.warn = () => {
4297
- }, y[ae] = {
4296
+ }, y[ue] = {
4298
4297
  currentRoute: i ? _n(i) : {},
4299
4298
  routes: _n(s)
4300
- }, y[ve] = o, console.warn = u;
4299
+ }, y[ve] = o, console.warn = a;
4301
4300
  }
4302
- n(), ao.on.componentUpdated(ue(() => {
4301
+ n(), uo.on.componentUpdated(ae(() => {
4303
4302
  var r;
4304
- ((r = t.value) == null ? void 0 : r.app) === e.app && (n(), !k.highPerfModeEnabled && fe.hooks.callHook("routerInfoUpdated", { state: y[ae] }));
4303
+ ((r = t.value) == null ? void 0 : r.app) === e.app && (n(), !k.highPerfModeEnabled && fe.hooks.callHook("routerInfoUpdated", { state: y[ue] }));
4305
4304
  }, 200));
4306
4305
  }
4307
- function ma(e) {
4306
+ function _u(e) {
4308
4307
  return {
4309
4308
  // get inspector tree
4310
4309
  async getInspectorTree(t) {
@@ -4344,11 +4343,11 @@ function ma(e) {
4344
4343
  },
4345
4344
  // edit inspector state
4346
4345
  editInspectorState(t) {
4347
- const n = new Hu(), r = {
4346
+ const n = new Ua(), r = {
4348
4347
  ...t,
4349
4348
  app: F.value.app,
4350
- set: (o, i = t.path, s = t.state.value, u) => {
4351
- n.set(o, i, s, u || n.createDefaultSetCallback(t.state));
4349
+ set: (o, i = t.path, s = t.state.value, a) => {
4350
+ n.set(o, i, s, a || n.createDefaultSetCallback(t.state));
4352
4351
  }
4353
4352
  };
4354
4353
  e.callHookWith(
@@ -4369,11 +4368,11 @@ function ma(e) {
4369
4368
  },
4370
4369
  // inspect component inspector
4371
4370
  inspectComponentInspector() {
4372
- return Fu();
4371
+ return La();
4373
4372
  },
4374
4373
  // cancel inspect component inspector
4375
4374
  cancelInspectComponentInspector() {
4376
- return Lu();
4375
+ return Ra();
4377
4376
  },
4378
4377
  // get component render code
4379
4378
  getComponentRenderCode(t) {
@@ -4383,16 +4382,16 @@ function ma(e) {
4383
4382
  },
4384
4383
  // scroll to component
4385
4384
  scrollToComponent(t) {
4386
- return Mu({ id: t });
4385
+ return Fa({ id: t });
4387
4386
  },
4388
4387
  // open in editor
4389
- openInEditor: Ju,
4388
+ openInEditor: Za,
4390
4389
  // get vue inspector
4391
- getVueInspector: Bu,
4390
+ getVueInspector: Va,
4392
4391
  // toggle app
4393
4392
  toggleApp(t, n) {
4394
4393
  const r = We.value.find((o) => o.id === t);
4395
- r && (Zu(t), Qu(r), _a(r, F), oo(), lo(r.app, n));
4394
+ r && (Qa(t), Xa(r), hu(r, F), oo(), lo(r.app, n));
4396
4395
  },
4397
4396
  // inspect dom
4398
4397
  inspectDOM(t) {
@@ -4403,22 +4402,22 @@ function ma(e) {
4403
4402
  }
4404
4403
  },
4405
4404
  updatePluginSettings(t, n, r) {
4406
- na(t, n, r);
4405
+ tu(t, n, r);
4407
4406
  },
4408
4407
  getPluginSettings(t) {
4409
4408
  return {
4410
- options: ea(t),
4411
- values: uo(t)
4409
+ options: Ja(t),
4410
+ values: ao(t)
4412
4411
  };
4413
4412
  }
4414
4413
  };
4415
4414
  }
4416
- m();
4415
+ g();
4417
4416
  var Wn, Gn;
4418
4417
  (Gn = (Wn = y).__VUE_DEVTOOLS_ENV__) != null || (Wn.__VUE_DEVTOOLS_ENV__ = {
4419
4418
  vitePluginDetected: !1
4420
4419
  });
4421
- var Yn = Yu(), qn, Xn;
4420
+ var Yn = Ga(), qn, Xn;
4422
4421
  (Xn = (qn = y).__VUE_DEVTOOLS_KIT_CONTEXT__) != null || (qn.__VUE_DEVTOOLS_KIT_CONTEXT__ = {
4423
4422
  hooks: Yn,
4424
4423
  get state() {
@@ -4429,42 +4428,42 @@ var Yn = Yu(), qn, Xn;
4429
4428
  appRecords: We.value
4430
4429
  };
4431
4430
  },
4432
- api: ma(Yn)
4431
+ api: _u(Yn)
4433
4432
  });
4434
4433
  var fe = y.__VUE_DEVTOOLS_KIT_CONTEXT__;
4435
- m();
4436
- mu(Eu());
4434
+ g();
4435
+ _a(ma());
4437
4436
  var Qn, Zn;
4438
4437
  (Zn = (Qn = y).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__) != null || (Qn.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ = {
4439
4438
  id: 0,
4440
4439
  appIds: /* @__PURE__ */ new Set()
4441
4440
  });
4442
- m();
4443
- m();
4444
- function ga(e) {
4441
+ g();
4442
+ g();
4443
+ function gu(e) {
4445
4444
  k.highPerfModeEnabled = e ?? !k.highPerfModeEnabled, !e && F.value && lo(F.value.app);
4446
4445
  }
4447
- m();
4448
- m();
4449
- m();
4450
- function Ea(e) {
4446
+ g();
4447
+ g();
4448
+ g();
4449
+ function mu(e) {
4451
4450
  k.devtoolsClientDetected = {
4452
4451
  ...k.devtoolsClientDetected,
4453
4452
  ...e
4454
4453
  };
4455
4454
  const t = Object.values(k.devtoolsClientDetected).some(Boolean);
4456
- ga(!t);
4455
+ gu(!t);
4457
4456
  }
4458
4457
  var Jn, er;
4459
- (er = (Jn = y).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__) != null || (Jn.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = Ea);
4460
- m();
4461
- m();
4462
- m();
4463
- m();
4464
- m();
4465
- m();
4466
- m();
4467
- var va = class {
4458
+ (er = (Jn = y).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__) != null || (Jn.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = mu);
4459
+ g();
4460
+ g();
4461
+ g();
4462
+ g();
4463
+ g();
4464
+ g();
4465
+ g();
4466
+ var Eu = class {
4468
4467
  constructor() {
4469
4468
  this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
4470
4469
  }
@@ -4482,7 +4481,7 @@ var va = class {
4482
4481
  }
4483
4482
  }, co = class {
4484
4483
  constructor(e) {
4485
- this.generateIdentifier = e, this.kv = new va();
4484
+ this.generateIdentifier = e, this.kv = new Eu();
4486
4485
  }
4487
4486
  register(e, t) {
4488
4487
  this.kv.getByValue(e) || (t || (t = this.generateIdentifier(e)), this.kv.set(t, e));
@@ -4496,7 +4495,7 @@ var va = class {
4496
4495
  getValue(e) {
4497
4496
  return this.kv.getByKey(e);
4498
4497
  }
4499
- }, ya = class extends co {
4498
+ }, vu = class extends co {
4500
4499
  constructor() {
4501
4500
  super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
4502
4501
  }
@@ -4507,9 +4506,9 @@ var va = class {
4507
4506
  return this.classToAllowedProps.get(e);
4508
4507
  }
4509
4508
  };
4510
- m();
4511
- m();
4512
- function ba(e) {
4509
+ g();
4510
+ g();
4511
+ function yu(e) {
4513
4512
  if ("values" in Object)
4514
4513
  return Object.values(e);
4515
4514
  const t = [];
@@ -4517,8 +4516,8 @@ function ba(e) {
4517
4516
  e.hasOwnProperty(n) && t.push(e[n]);
4518
4517
  return t;
4519
4518
  }
4520
- function Ca(e, t) {
4521
- const n = ba(e);
4519
+ function bu(e, t) {
4520
+ const n = yu(e);
4522
4521
  if ("find" in n)
4523
4522
  return n.find(t);
4524
4523
  const r = n;
@@ -4541,7 +4540,7 @@ function tr(e, t) {
4541
4540
  return r;
4542
4541
  }
4543
4542
  }
4544
- var wa = class {
4543
+ var Cu = class {
4545
4544
  constructor() {
4546
4545
  this.transfomers = {};
4547
4546
  }
@@ -4549,17 +4548,17 @@ var wa = class {
4549
4548
  this.transfomers[e.name] = e;
4550
4549
  }
4551
4550
  findApplicable(e) {
4552
- return Ca(this.transfomers, (t) => t.isApplicable(e));
4551
+ return bu(this.transfomers, (t) => t.isApplicable(e));
4553
4552
  }
4554
4553
  findByName(e) {
4555
4554
  return this.transfomers[e];
4556
4555
  }
4557
4556
  };
4558
- m();
4559
- m();
4560
- var Aa = (e) => Object.prototype.toString.call(e).slice(8, -1), fo = (e) => typeof e > "u", Ta = (e) => e === null, ye = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, vt = (e) => ye(e) && Object.keys(e).length === 0, G = (e) => Array.isArray(e), Oa = (e) => typeof e == "string", Sa = (e) => typeof e == "number" && !isNaN(e), Pa = (e) => typeof e == "boolean", Da = (e) => e instanceof RegExp, be = (e) => e instanceof Map, Ce = (e) => e instanceof Set, po = (e) => Aa(e) === "Symbol", Ia = (e) => e instanceof Date && !isNaN(e.valueOf()), ka = (e) => e instanceof Error, nr = (e) => typeof e == "number" && isNaN(e), xa = (e) => Pa(e) || Ta(e) || fo(e) || Sa(e) || Oa(e) || po(e), Ra = (e) => typeof e == "bigint", La = (e) => e === 1 / 0 || e === -1 / 0, Fa = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), Ma = (e) => e instanceof URL;
4561
- m();
4562
- var ho = (e) => e.replace(/\./g, "\\."), rt = (e) => e.map(String).map(ho).join("."), ge = (e) => {
4557
+ g();
4558
+ g();
4559
+ var wu = (e) => Object.prototype.toString.call(e).slice(8, -1), fo = (e) => typeof e > "u", Au = (e) => e === null, ye = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, vt = (e) => ye(e) && Object.keys(e).length === 0, G = (e) => Array.isArray(e), Tu = (e) => typeof e == "string", Ou = (e) => typeof e == "number" && !isNaN(e), Su = (e) => typeof e == "boolean", Pu = (e) => e instanceof RegExp, be = (e) => e instanceof Map, Ce = (e) => e instanceof Set, po = (e) => wu(e) === "Symbol", Iu = (e) => e instanceof Date && !isNaN(e.valueOf()), Du = (e) => e instanceof Error, nr = (e) => typeof e == "number" && isNaN(e), ku = (e) => Su(e) || Au(e) || fo(e) || Ou(e) || Tu(e) || po(e), xu = (e) => typeof e == "bigint", Ru = (e) => e === 1 / 0 || e === -1 / 0, Lu = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), Fu = (e) => e instanceof URL;
4560
+ g();
4561
+ var ho = (e) => e.replace(/\./g, "\\."), rt = (e) => e.map(String).map(ho).join("."), me = (e) => {
4563
4562
  const t = [];
4564
4563
  let n = "";
4565
4564
  for (let o = 0; o < e.length; o++) {
@@ -4577,7 +4576,7 @@ var ho = (e) => e.replace(/\./g, "\\."), rt = (e) => e.map(String).map(ho).join(
4577
4576
  const r = n;
4578
4577
  return t.push(r), t;
4579
4578
  };
4580
- m();
4579
+ g();
4581
4580
  function j(e, t, n, r) {
4582
4581
  return {
4583
4582
  isApplicable: e,
@@ -4589,9 +4588,9 @@ function j(e, t, n, r) {
4589
4588
  var _o = [
4590
4589
  j(fo, "undefined", () => null, () => {
4591
4590
  }),
4592
- j(Ra, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : (console.error("Please add a BigInt polyfill."), e)),
4593
- j(Ia, "Date", (e) => e.toISOString(), (e) => new Date(e)),
4594
- j(ka, "Error", (e, t) => {
4591
+ j(xu, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : (console.error("Please add a BigInt polyfill."), e)),
4592
+ j(Iu, "Date", (e) => e.toISOString(), (e) => new Date(e)),
4593
+ j(Du, "Error", (e, t) => {
4595
4594
  const n = {
4596
4595
  name: e.name,
4597
4596
  message: e.message
@@ -4605,7 +4604,7 @@ var _o = [
4605
4604
  n[r] = e[r];
4606
4605
  }), n;
4607
4606
  }),
4608
- j(Da, "regexp", (e) => "" + e, (e) => {
4607
+ j(Pu, "regexp", (e) => "" + e, (e) => {
4609
4608
  const t = e.slice(1, e.lastIndexOf("/")), n = e.slice(e.lastIndexOf("/") + 1);
4610
4609
  return new RegExp(t, n);
4611
4610
  }),
@@ -4618,9 +4617,9 @@ var _o = [
4618
4617
  (e) => new Set(e)
4619
4618
  ),
4620
4619
  j(be, "map", (e) => [...e.entries()], (e) => new Map(e)),
4621
- j((e) => nr(e) || La(e), "number", (e) => nr(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
4620
+ j((e) => nr(e) || Ru(e), "number", (e) => nr(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
4622
4621
  j((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
4623
- j(Ma, "URL", (e) => e.toString(), (e) => new URL(e))
4622
+ j(Fu, "URL", (e) => e.toString(), (e) => new URL(e))
4624
4623
  ];
4625
4624
  function Ge(e, t, n, r) {
4626
4625
  return {
@@ -4630,12 +4629,12 @@ function Ge(e, t, n, r) {
4630
4629
  untransform: r
4631
4630
  };
4632
4631
  }
4633
- var mo = Ge((e, t) => po(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
4632
+ var go = Ge((e, t) => po(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
4634
4633
  const r = n.symbolRegistry.getValue(t[1]);
4635
4634
  if (!r)
4636
4635
  throw new Error("Trying to deserialize unknown symbol");
4637
4636
  return r;
4638
- }), Na = [
4637
+ }), Mu = [
4639
4638
  Int8Array,
4640
4639
  Uint8Array,
4641
4640
  Int16Array,
@@ -4645,8 +4644,8 @@ var mo = Ge((e, t) => po(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
4645
4644
  Float32Array,
4646
4645
  Float64Array,
4647
4646
  Uint8ClampedArray
4648
- ].reduce((e, t) => (e[t.name] = t, e), {}), go = Ge(Fa, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
4649
- const n = Na[t[1]];
4647
+ ].reduce((e, t) => (e[t.name] = t, e), {}), mo = Ge(Lu, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
4648
+ const n = Mu[t[1]];
4650
4649
  if (!n)
4651
4650
  throw new Error("Trying to deserialize unknown typed array");
4652
4651
  return new n(e);
@@ -4672,8 +4671,8 @@ var vo = Ge(Eo, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
4672
4671
  if (!r)
4673
4672
  throw new Error("Trying to deserialize unknown custom value");
4674
4673
  return r.deserialize(e);
4675
- }), Va = [vo, mo, yo, go], rr = (e, t) => {
4676
- const n = tr(Va, (o) => o.isApplicable(e, t));
4674
+ }), Nu = [vo, go, yo, mo], rr = (e, t) => {
4675
+ const n = tr(Nu, (o) => o.isApplicable(e, t));
4677
4676
  if (n)
4678
4677
  return {
4679
4678
  value: n.transform(e, t),
@@ -4689,17 +4688,17 @@ var vo = Ge(Eo, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
4689
4688
  _o.forEach((e) => {
4690
4689
  bo[e.annotation] = e;
4691
4690
  });
4692
- var Ba = (e, t, n) => {
4691
+ var Vu = (e, t, n) => {
4693
4692
  if (G(t))
4694
4693
  switch (t[0]) {
4695
4694
  case "symbol":
4696
- return mo.untransform(e, t, n);
4695
+ return go.untransform(e, t, n);
4697
4696
  case "class":
4698
4697
  return vo.untransform(e, t, n);
4699
4698
  case "custom":
4700
4699
  return yo.untransform(e, t, n);
4701
4700
  case "typed-array":
4702
- return go.untransform(e, t, n);
4701
+ return mo.untransform(e, t, n);
4703
4702
  default:
4704
4703
  throw new Error("Unknown transformation: " + t);
4705
4704
  }
@@ -4710,7 +4709,7 @@ var Ba = (e, t, n) => {
4710
4709
  return r.untransform(e, n);
4711
4710
  }
4712
4711
  };
4713
- m();
4712
+ g();
4714
4713
  var oe = (e, t) => {
4715
4714
  if (t > e.size)
4716
4715
  throw new Error("index out of bounds");
@@ -4727,7 +4726,7 @@ function Co(e) {
4727
4726
  if (Le(e, "constructor"))
4728
4727
  throw new Error("constructor is not allowed as a property");
4729
4728
  }
4730
- var Ua = (e, t) => {
4729
+ var Bu = (e, t) => {
4731
4730
  Co(t);
4732
4731
  for (let n = 0; n < t.length; n++) {
4733
4732
  const r = t[n];
@@ -4754,17 +4753,17 @@ var Ua = (e, t) => {
4754
4753
  for (let i = 0; i < t.length - 1; i++) {
4755
4754
  const s = t[i];
4756
4755
  if (G(r)) {
4757
- const u = +s;
4758
- r = r[u];
4756
+ const a = +s;
4757
+ r = r[a];
4759
4758
  } else if (ye(r))
4760
4759
  r = r[s];
4761
4760
  else if (Ce(r)) {
4762
- const u = +s;
4763
- r = oe(r, u);
4761
+ const a = +s;
4762
+ r = oe(r, a);
4764
4763
  } else if (be(r)) {
4765
4764
  if (i === t.length - 2)
4766
4765
  break;
4767
- const a = +s, l = +t[++i] == 0 ? "key" : "value", c = oe(r, a);
4766
+ const u = +s, l = +t[++i] == 0 ? "key" : "value", c = oe(r, u);
4768
4767
  switch (l) {
4769
4768
  case "key":
4770
4769
  r = c;
@@ -4784,8 +4783,8 @@ var Ua = (e, t) => {
4784
4783
  const i = +t[t.length - 2], s = oe(r, i);
4785
4784
  switch (+o == 0 ? "key" : "value") {
4786
4785
  case "key": {
4787
- const a = n(s);
4788
- r.set(a, r.get(s)), a !== s && r.delete(s);
4786
+ const u = n(s);
4787
+ r.set(u, r.get(s)), u !== s && r.delete(s);
4789
4788
  break;
4790
4789
  }
4791
4790
  case "value": {
@@ -4800,108 +4799,108 @@ function bt(e, t, n = []) {
4800
4799
  if (!e)
4801
4800
  return;
4802
4801
  if (!G(e)) {
4803
- le(e, (i, s) => bt(i, t, [...n, ...ge(s)]));
4802
+ le(e, (i, s) => bt(i, t, [...n, ...me(s)]));
4804
4803
  return;
4805
4804
  }
4806
4805
  const [r, o] = e;
4807
4806
  o && le(o, (i, s) => {
4808
- bt(i, t, [...n, ...ge(s)]);
4807
+ bt(i, t, [...n, ...me(s)]);
4809
4808
  }), t(r, n);
4810
4809
  }
4811
- function Ha(e, t, n) {
4810
+ function Uu(e, t, n) {
4812
4811
  return bt(t, (r, o) => {
4813
- e = yt(e, o, (i) => Ba(i, r, n));
4812
+ e = yt(e, o, (i) => Vu(i, r, n));
4814
4813
  }), e;
4815
4814
  }
4816
- function ja(e, t) {
4815
+ function Hu(e, t) {
4817
4816
  function n(r, o) {
4818
- const i = Ua(e, ge(o));
4819
- r.map(ge).forEach((s) => {
4817
+ const i = Bu(e, me(o));
4818
+ r.map(me).forEach((s) => {
4820
4819
  e = yt(e, s, () => i);
4821
4820
  });
4822
4821
  }
4823
4822
  if (G(t)) {
4824
4823
  const [r, o] = t;
4825
4824
  r.forEach((i) => {
4826
- e = yt(e, ge(i), () => e);
4825
+ e = yt(e, me(i), () => e);
4827
4826
  }), o && le(o, n);
4828
4827
  } else
4829
4828
  le(t, n);
4830
4829
  return e;
4831
4830
  }
4832
- var za = (e, t) => ye(e) || G(e) || be(e) || Ce(e) || Eo(e, t);
4833
- function $a(e, t, n) {
4831
+ var ju = (e, t) => ye(e) || G(e) || be(e) || Ce(e) || Eo(e, t);
4832
+ function zu(e, t, n) {
4834
4833
  const r = n.get(e);
4835
4834
  r ? r.push(t) : n.set(e, [t]);
4836
4835
  }
4837
- function Ka(e, t) {
4836
+ function $u(e, t) {
4838
4837
  const n = {};
4839
4838
  let r;
4840
4839
  return e.forEach((o) => {
4841
4840
  if (o.length <= 1)
4842
4841
  return;
4843
- t || (o = o.map((u) => u.map(String)).sort((u, a) => u.length - a.length));
4842
+ t || (o = o.map((a) => a.map(String)).sort((a, u) => a.length - u.length));
4844
4843
  const [i, ...s] = o;
4845
4844
  i.length === 0 ? r = s.map(rt) : n[rt(i)] = s.map(rt);
4846
4845
  }), r ? vt(n) ? [r] : [r, n] : vt(n) ? void 0 : n;
4847
4846
  }
4848
4847
  var wo = (e, t, n, r, o = [], i = [], s = /* @__PURE__ */ new Map()) => {
4849
- var u;
4850
- const a = xa(e);
4851
- if (!a) {
4852
- $a(e, o, t);
4853
- const h = s.get(e);
4854
- if (h)
4848
+ var a;
4849
+ const u = ku(e);
4850
+ if (!u) {
4851
+ zu(e, o, t);
4852
+ const _ = s.get(e);
4853
+ if (_)
4855
4854
  return r ? {
4856
4855
  transformedValue: null
4857
- } : h;
4856
+ } : _;
4858
4857
  }
4859
- if (!za(e, n)) {
4860
- const h = rr(e, n), v = h ? {
4861
- transformedValue: h.value,
4862
- annotations: [h.type]
4858
+ if (!ju(e, n)) {
4859
+ const _ = rr(e, n), v = _ ? {
4860
+ transformedValue: _.value,
4861
+ annotations: [_.type]
4863
4862
  } : {
4864
4863
  transformedValue: e
4865
4864
  };
4866
- return a || s.set(e, v), v;
4865
+ return u || s.set(e, v), v;
4867
4866
  }
4868
4867
  if (Le(i, e))
4869
4868
  return {
4870
4869
  transformedValue: null
4871
4870
  };
4872
- const l = rr(e, n), c = (u = l?.value) != null ? u : e, f = G(c) ? [] : {}, _ = {};
4873
- le(c, (h, v) => {
4871
+ const l = rr(e, n), c = (a = l?.value) != null ? a : e, f = G(c) ? [] : {}, h = {};
4872
+ le(c, (_, v) => {
4874
4873
  if (v === "__proto__" || v === "constructor" || v === "prototype")
4875
4874
  throw new Error(`Detected property ${v}. This is a prototype pollution risk, please remove it from your object.`);
4876
- const p = wo(h, t, n, r, [...o, v], [...i, e], s);
4877
- f[v] = p.transformedValue, G(p.annotations) ? _[v] = p.annotations : ye(p.annotations) && le(p.annotations, (g, b) => {
4878
- _[ho(v) + "." + b] = g;
4875
+ const p = wo(_, t, n, r, [...o, v], [...i, e], s);
4876
+ f[v] = p.transformedValue, G(p.annotations) ? h[v] = p.annotations : ye(p.annotations) && le(p.annotations, (m, b) => {
4877
+ h[ho(v) + "." + b] = m;
4879
4878
  });
4880
4879
  });
4881
- const d = vt(_) ? {
4880
+ const d = vt(h) ? {
4882
4881
  transformedValue: f,
4883
4882
  annotations: l ? [l.type] : void 0
4884
4883
  } : {
4885
4884
  transformedValue: f,
4886
- annotations: l ? [l.type, _] : _
4885
+ annotations: l ? [l.type, h] : h
4887
4886
  };
4888
- return a || s.set(e, d), d;
4887
+ return u || s.set(e, d), d;
4889
4888
  };
4890
- m();
4891
- m();
4889
+ g();
4890
+ g();
4892
4891
  function Ao(e) {
4893
4892
  return Object.prototype.toString.call(e).slice(8, -1);
4894
4893
  }
4895
4894
  function or(e) {
4896
4895
  return Ao(e) === "Array";
4897
4896
  }
4898
- function Wa(e) {
4897
+ function Ku(e) {
4899
4898
  if (Ao(e) !== "Object")
4900
4899
  return !1;
4901
4900
  const t = Object.getPrototypeOf(e);
4902
4901
  return !!t && t.constructor === Object && t === Object.prototype;
4903
4902
  }
4904
- function Ga(e, t, n, r, o) {
4903
+ function Wu(e, t, n, r, o) {
4905
4904
  const i = {}.propertyIsEnumerable.call(r, t) ? "enumerable" : "nonenumerable";
4906
4905
  i === "enumerable" && (e[t] = n), o && i === "nonenumerable" && Object.defineProperty(e, t, {
4907
4906
  value: n,
@@ -4913,14 +4912,14 @@ function Ga(e, t, n, r, o) {
4913
4912
  function Ct(e, t = {}) {
4914
4913
  if (or(e))
4915
4914
  return e.map((o) => Ct(o, t));
4916
- if (!Wa(e))
4915
+ if (!Ku(e))
4917
4916
  return e;
4918
4917
  const n = Object.getOwnPropertyNames(e), r = Object.getOwnPropertySymbols(e);
4919
4918
  return [...n, ...r].reduce((o, i) => {
4920
4919
  if (or(t.props) && !t.props.includes(i))
4921
4920
  return o;
4922
- const s = e[i], u = Ct(s, t);
4923
- return Ga(o, i, u, e, t.nonenumerable), o;
4921
+ const s = e[i], a = Ct(s, t);
4922
+ return Wu(o, i, a, e, t.nonenumerable), o;
4924
4923
  }, {});
4925
4924
  }
4926
4925
  var S = class {
@@ -4928,10 +4927,10 @@ var S = class {
4928
4927
  * @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
4929
4928
  */
4930
4929
  constructor({ dedupe: e = !1 } = {}) {
4931
- this.classRegistry = new ya(), this.symbolRegistry = new co((t) => {
4930
+ this.classRegistry = new vu(), this.symbolRegistry = new co((t) => {
4932
4931
  var n;
4933
4932
  return (n = t.description) != null ? n : "";
4934
- }), this.customTransformerRegistry = new wa(), this.allowedErrorProps = [], this.dedupe = e;
4933
+ }), this.customTransformerRegistry = new Cu(), this.allowedErrorProps = [], this.dedupe = e;
4935
4934
  }
4936
4935
  serialize(e) {
4937
4936
  const t = /* @__PURE__ */ new Map(), n = wo(e, t, this, this.dedupe), r = {
@@ -4941,7 +4940,7 @@ var S = class {
4941
4940
  ...r.meta,
4942
4941
  values: n.annotations
4943
4942
  });
4944
- const o = Ka(t, this.dedupe);
4943
+ const o = $u(t, this.dedupe);
4945
4944
  return o && (r.meta = {
4946
4945
  ...r.meta,
4947
4946
  referentialEqualities: o
@@ -4950,7 +4949,7 @@ var S = class {
4950
4949
  deserialize(e) {
4951
4950
  const { json: t, meta: n } = e;
4952
4951
  let r = Ct(t);
4953
- return n?.values && (r = Ha(r, n.values, this)), n?.referentialEqualities && (r = ja(r, n.referentialEqualities)), r;
4952
+ return n?.values && (r = Uu(r, n.values, this)), n?.referentialEqualities && (r = Hu(r, n.referentialEqualities)), r;
4954
4953
  }
4955
4954
  stringify(e) {
4956
4955
  return JSON.stringify(this.serialize(e));
@@ -4983,74 +4982,74 @@ S.registerClass = S.defaultInstance.registerClass.bind(S.defaultInstance);
4983
4982
  S.registerSymbol = S.defaultInstance.registerSymbol.bind(S.defaultInstance);
4984
4983
  S.registerCustom = S.defaultInstance.registerCustom.bind(S.defaultInstance);
4985
4984
  S.allowErrorProps = S.defaultInstance.allowErrorProps.bind(S.defaultInstance);
4986
- m();
4987
- m();
4988
- m();
4989
- m();
4990
- m();
4991
- m();
4992
- m();
4993
- m();
4994
- m();
4995
- m();
4996
- m();
4997
- m();
4998
- m();
4999
- m();
5000
- m();
5001
- m();
5002
- m();
5003
- m();
5004
- m();
5005
- m();
5006
- m();
5007
- m();
5008
- m();
4985
+ g();
4986
+ g();
4987
+ g();
4988
+ g();
4989
+ g();
4990
+ g();
4991
+ g();
4992
+ g();
4993
+ g();
4994
+ g();
4995
+ g();
4996
+ g();
4997
+ g();
4998
+ g();
4999
+ g();
5000
+ g();
5001
+ g();
5002
+ g();
5003
+ g();
5004
+ g();
5005
+ g();
5006
+ g();
5007
+ g();
5009
5008
  var ir, sr;
5010
5009
  (sr = (ir = y).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__) != null || (ir.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ = []);
5011
- var ur, ar;
5012
- (ar = (ur = y).__VUE_DEVTOOLS_KIT_RPC_CLIENT__) != null || (ur.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = null);
5010
+ var ar, ur;
5011
+ (ur = (ar = y).__VUE_DEVTOOLS_KIT_RPC_CLIENT__) != null || (ar.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = null);
5013
5012
  var lr, cr;
5014
5013
  (cr = (lr = y).__VUE_DEVTOOLS_KIT_RPC_SERVER__) != null || (lr.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = null);
5015
5014
  var fr, dr;
5016
5015
  (dr = (fr = y).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__) != null || (fr.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = null);
5017
5016
  var pr, hr;
5018
5017
  (hr = (pr = y).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__) != null || (pr.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = null);
5019
- var _r, mr;
5020
- (mr = (_r = y).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__) != null || (_r.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null);
5021
- m();
5022
- m();
5023
- m();
5024
- m();
5025
- m();
5026
- m();
5027
- m();
5028
- function Ya(e, t) {
5018
+ var _r, gr;
5019
+ (gr = (_r = y).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__) != null || (_r.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null);
5020
+ g();
5021
+ g();
5022
+ g();
5023
+ g();
5024
+ g();
5025
+ g();
5026
+ g();
5027
+ function Gu(e, t) {
5029
5028
  const n = `▲ ■ ●${e}`;
5030
- typeof gr == "function" ? gr(n, t) : console.log(n);
5029
+ typeof mr == "function" ? mr(n, t) : console.log(n);
5031
5030
  }
5032
- function gr(e, t) {
5031
+ function mr(e, t) {
5033
5032
  throw new Error(e + t);
5034
5033
  }
5035
5034
  function Bt(e) {
5036
5035
  let t = 0;
5037
5036
  return e.traverse((n) => {
5038
5037
  if ($e(n) && n.type !== "HightlightMesh") {
5039
- const r = n.geometry, o = r.attributes.position.count * 3 * Float32Array.BYTES_PER_ELEMENT, i = r.index ? r.index.count * Uint32Array.BYTES_PER_ELEMENT : 0, s = r.attributes.normal ? r.attributes.normal.count * 3 * Float32Array.BYTES_PER_ELEMENT : 0, u = r.attributes.uv ? r.attributes.uv.count * 2 * Float32Array.BYTES_PER_ELEMENT : 0, a = o + i + s + u;
5040
- t += a;
5038
+ const r = n.geometry, o = r.attributes.position.count * 3 * Float32Array.BYTES_PER_ELEMENT, i = r.index ? r.index.count * Uint32Array.BYTES_PER_ELEMENT : 0, s = r.attributes.normal ? r.attributes.normal.count * 3 * Float32Array.BYTES_PER_ELEMENT : 0, a = r.attributes.uv ? r.attributes.uv.count * 2 * Float32Array.BYTES_PER_ELEMENT : 0, u = o + i + s + a;
5039
+ t += u;
5041
5040
  }
5042
5041
  }), t;
5043
5042
  }
5044
5043
  function Er(e, t, n) {
5045
5044
  e.push(t), e.length > n && e.shift();
5046
5045
  }
5047
- function qa(e) {
5046
+ function Yu(e) {
5048
5047
  return (e / 1024).toFixed(2);
5049
5048
  }
5050
- function Xa(e) {
5049
+ function qu(e) {
5051
5050
  if (!e)
5052
5051
  return;
5053
- typeof window < "u" && !window.__TRES__DEVTOOLS__ && (window.__TRES__DEVTOOLS__ = new js());
5052
+ typeof window < "u" && !window.__TRES__DEVTOOLS__ && (window.__TRES__DEVTOOLS__ = new Hs());
5054
5053
  const t = {
5055
5054
  maxFrames: 160,
5056
5055
  fps: {
@@ -5063,11 +5062,11 @@ function Xa(e) {
5063
5062
  accumulator: []
5064
5063
  }
5065
5064
  }, n = 100, r = di({ every: n }), { isSupported: o, memory: i } = pi({ interval: n }), s = 160;
5066
- let u = performance.now(), a = 0;
5067
- const l = 1, c = ({ timestamp: _ }) => {
5068
- e.scene.value && (t.memory.allocatedMem = Bt(e.scene.value)), _ - u >= n && (u = _, Er(t.fps.accumulator, r.value, s), t.fps.value = r.value, o.value && i.value?.usedJSHeapSize && (Er(t.memory.accumulator, i.value.usedJSHeapSize / 1024 / 1024, s), t.memory.accumulator.length > 0 && (t.memory.currentMem = t.memory.accumulator.reduce((d, h) => d + h, 0) / t.memory.accumulator.length)));
5069
- }, { pause: f } = Tr(({ delta: _ }) => {
5070
- window.__TRES__DEVTOOLS__ && (c({ timestamp: performance.now() }), a += _, a >= l && (window.__TRES__DEVTOOLS__.send("context", e), window.__TRES__DEVTOOLS__.send("performance", t), a = 0));
5065
+ let a = performance.now(), u = 0;
5066
+ const l = 1, c = ({ timestamp: h }) => {
5067
+ e.scene.value && (t.memory.allocatedMem = Bt(e.scene.value)), h - a >= n && (a = h, Er(t.fps.accumulator, r.value, s), t.fps.value = r.value, o.value && i.value?.usedJSHeapSize && (Er(t.memory.accumulator, i.value.usedJSHeapSize / 1024 / 1024, s), t.memory.accumulator.length > 0 && (t.memory.currentMem = t.memory.accumulator.reduce((d, _) => d + _, 0) / t.memory.accumulator.length)));
5068
+ }, { pause: f } = Tr(({ delta: h }) => {
5069
+ window.__TRES__DEVTOOLS__ && (c({ timestamp: performance.now() }), u += h, u >= l && (window.__TRES__DEVTOOLS__.send("context", e), window.__TRES__DEVTOOLS__.send("performance", t), u = 0));
5071
5070
  }, { immediate: !0 });
5072
5071
  ie(() => {
5073
5072
  f();
@@ -5082,7 +5081,7 @@ const To = (e, t) => {
5082
5081
  return r;
5083
5082
  }
5084
5083
  };
5085
- class Qa extends vr.Mesh {
5084
+ class Xu extends vr.Mesh {
5086
5085
  type = "HightlightMesh";
5087
5086
  createTime;
5088
5087
  constructor(...t) {
@@ -5107,7 +5106,7 @@ const Oo = (e) => {
5107
5106
  });
5108
5107
  const n = Bt(e);
5109
5108
  return n > 0 && t.tags.push({
5110
- label: `${qa(n)} KB`,
5109
+ label: `${Yu(n)} KB`,
5111
5110
  textColor: 15707189,
5112
5111
  backgroundColor: 16775644,
5113
5112
  tooltip: "Memory usage"
@@ -5133,7 +5132,7 @@ const Oo = (e) => {
5133
5132
  tooltip: "Position"
5134
5133
  })), t;
5135
5134
  };
5136
- function Za(e, t, n = "") {
5135
+ function Qu(e, t, n = "") {
5137
5136
  const r = n ? `${n}.${e}` : e;
5138
5137
  return {
5139
5138
  id: `context-${t}-${r}`,
@@ -5153,27 +5152,27 @@ function So(e, t, n = "") {
5153
5152
  function wt(e, t, n = /* @__PURE__ */ new WeakSet(), r = 0, o = 4, i, s = "") {
5154
5153
  if (r >= o || !e || n.has(e))
5155
5154
  return;
5156
- const u = r === 0 ? e?.scene?.value?.uuid || Math.random().toString(36).slice(2, 11) : i;
5157
- n.add(e), Object.entries(e).forEach(([a, l]) => {
5158
- if (a.startsWith("_") || typeof l == "function")
5155
+ const a = r === 0 ? e?.scene?.value?.uuid || Math.random().toString(36).slice(2, 11) : i;
5156
+ n.add(e), Object.entries(e).forEach(([u, l]) => {
5157
+ if (u.startsWith("_") || typeof l == "function")
5159
5158
  return;
5160
- const c = s ? `${s}.${a}` : a, f = Za(a, u, s);
5161
- a !== "scene" && (me(l) ? (f.tags.push({
5159
+ const c = s ? `${s}.${u}` : u, f = Qu(u, a, s);
5160
+ u !== "scene" && (ge(l) ? (f.tags.push({
5162
5161
  label: `Ref<${typeof l.value}>`,
5163
5162
  textColor: 4372611,
5164
5163
  backgroundColor: 15793395
5165
- }), l.value && typeof l.value == "object" ? wt(l.value, f, n, r + 1, o, u, c) : f.label = `${a}: ${JSON.stringify(l.value)}`) : l && typeof l == "object" && !Array.isArray(l) ? Object.keys(l).length > 0 ? n.has(l) ? f.tags.push({
5164
+ }), l.value && typeof l.value == "object" ? wt(l.value, f, n, r + 1, o, a, c) : f.label = `${u}: ${JSON.stringify(l.value)}`) : l && typeof l == "object" && !Array.isArray(l) ? Object.keys(l).length > 0 ? n.has(l) ? f.tags.push({
5166
5165
  label: "Circular",
5167
5166
  textColor: 16711680,
5168
5167
  backgroundColor: 16773360
5169
- }) : wt(l, f, n, r + 1, o, u, c) : f.label = `${a}: {}` : Array.isArray(l) ? (f.label = `${a}: Array(${l.length})`, f.tags.push({
5168
+ }) : wt(l, f, n, r + 1, o, a, c) : f.label = `${u}: {}` : Array.isArray(l) ? (f.label = `${u}: Array(${l.length})`, f.tags.push({
5170
5169
  label: `length: ${l.length}`,
5171
5170
  textColor: 9738662,
5172
5171
  backgroundColor: 16316922
5173
- })) : f.label = `${a}: ${JSON.stringify(l)}`, t.children.push(f));
5172
+ })) : f.label = `${u}: ${JSON.stringify(l)}`, t.children.push(f));
5174
5173
  });
5175
5174
  }
5176
- const Ja = (e) => (t) => {
5175
+ const Zu = (e) => (t) => {
5177
5176
  if (t.inspectorId === we) {
5178
5177
  const n = Oo(e.scene.value);
5179
5178
  So(e.scene.value, n, t.filter);
@@ -5185,7 +5184,7 @@ const Ja = (e) => (t) => {
5185
5184
  };
5186
5185
  wt(e, r), t.rootNodes = [n, r];
5187
5186
  }
5188
- }, el = (e, { highlightMesh: t, prevInstance: n }) => (r) => {
5187
+ }, Ju = (e, { highlightMesh: t, prevInstance: n }) => (r) => {
5189
5188
  if (r.inspectorId !== we)
5190
5189
  return;
5191
5190
  const o = new Ar({
@@ -5202,24 +5201,24 @@ const Ja = (e) => (t) => {
5202
5201
  const i = r.nodeId.match(/^scene-(.+)$/), s = i ? i[1] : null;
5203
5202
  if (!s)
5204
5203
  return;
5205
- const [u] = e.scene.value.getObjectsByProperty("uuid", s);
5206
- if (!u)
5204
+ const [a] = e.scene.value.getObjectsByProperty("uuid", s);
5205
+ if (!a)
5207
5206
  return;
5208
- if (n && t && t.parent && n.remove(t), $e(u)) {
5209
- const a = new Qa(u.geometry.clone(), o);
5210
- u.add(a), t = a, n = u;
5207
+ if (n && t && t.parent && n.remove(t), $e(a)) {
5208
+ const u = new Xu(a.geometry.clone(), o);
5209
+ a.add(u), t = u, n = a;
5211
5210
  }
5212
5211
  if (r.state = {
5213
- object: Object.entries(u).map(([a, l]) => a === "children" ? { key: a, value: l.filter((c) => c.type !== "HightlightMesh") } : { key: a, value: l, editable: !0 }).filter(({ key: a }) => a !== "parent")
5214
- }, Fr(u)) {
5215
- const a = {
5212
+ object: Object.entries(a).map(([u, l]) => u === "children" ? { key: u, value: l.filter((c) => c.type !== "HightlightMesh") } : { key: u, value: l, editable: !0 }).filter(({ key: u }) => u !== "parent")
5213
+ }, Fr(a)) {
5214
+ const u = {
5216
5215
  ...r.state,
5217
5216
  state: [
5218
5217
  {
5219
5218
  key: "Scene Info",
5220
5219
  value: {
5221
- objects: u.children.length,
5222
- memory: Bt(u),
5220
+ objects: a.children.length,
5221
+ memory: Bt(a),
5223
5222
  calls: e.renderer.instance.info.render.calls,
5224
5223
  triangles: e.renderer.instance.info.render.triangles,
5225
5224
  points: e.renderer.instance.info.render.points,
@@ -5228,13 +5227,13 @@ const Ja = (e) => (t) => {
5228
5227
  }
5229
5228
  ]
5230
5229
  };
5231
- "programs" in e.renderer.instance.info && a.state.push({
5230
+ "programs" in e.renderer.instance.info && u.state.push({
5232
5231
  key: "Programs",
5233
5232
  value: e.renderer.instance.info.programs?.map((l) => ({
5234
5233
  ...l,
5235
5234
  programName: l.name
5236
5235
  }))
5237
- }), r.state = a;
5236
+ }), r.state = u;
5238
5237
  }
5239
5238
  } else if (r.nodeId.includes("context")) {
5240
5239
  const i = r.nodeId.match(/^context-([^-]+(?:-[^-]+)*)-(.+)$/), s = i ? i[2] : "context";
@@ -5242,21 +5241,21 @@ const Ja = (e) => (t) => {
5242
5241
  r.state = {
5243
5242
  object: Object.entries(e).filter(([l]) => !l.startsWith("_") && l !== "parent").map(([l, c]) => ({
5244
5243
  key: l,
5245
- value: me(c) ? c.value : c,
5244
+ value: ge(c) ? c.value : c,
5246
5245
  editable: !1
5247
5246
  }))
5248
5247
  };
5249
5248
  return;
5250
5249
  }
5251
- const u = s.split(".");
5252
- let a = e;
5253
- for (const l of u) {
5254
- if (!a || typeof a != "object")
5250
+ const a = s.split(".");
5251
+ let u = e;
5252
+ for (const l of a) {
5253
+ if (!u || typeof u != "object")
5255
5254
  break;
5256
- a = me(a[l]) ? a[l].value : a[l];
5255
+ u = ge(u[l]) ? u[l].value : u[l];
5257
5256
  }
5258
- a !== void 0 && (r.state = {
5259
- object: Object.entries(a).filter(([l]) => !l.startsWith("_") && l !== "parent").map(([l, c]) => me(c) ? {
5257
+ u !== void 0 && (r.state = {
5258
+ object: Object.entries(u).filter(([l]) => !l.startsWith("_") && l !== "parent").map(([l, c]) => ge(c) ? {
5260
5259
  key: l,
5261
5260
  value: c.value,
5262
5261
  editable: !1
@@ -5275,31 +5274,31 @@ const Ja = (e) => (t) => {
5275
5274
  })
5276
5275
  });
5277
5276
  }
5278
- }, tl = (e, t, n, r) => {
5277
+ }, el = (e, t, n, r) => {
5279
5278
  const o = To(e, t);
5280
5279
  if (!o) {
5281
5280
  console.warn("Object with UUID not found in the scene.");
5282
5281
  return;
5283
5282
  }
5284
5283
  let i = o;
5285
- for (let u = 0; u < n.length - 1; u++)
5286
- if (i[n[u]] !== void 0)
5287
- i = i[n[u]];
5284
+ for (let a = 0; a < n.length - 1; a++)
5285
+ if (i[n[a]] !== void 0)
5286
+ i = i[n[a]];
5288
5287
  else {
5289
5288
  console.warn(`Property path is not valid: ${n.join(".")}`);
5290
5289
  return;
5291
5290
  }
5292
5291
  const s = n[n.length - 1];
5293
5292
  i[s] !== void 0 ? i[s] = r : console.warn(`Property path is not valid: ${n.join(".")}`);
5294
- }, nl = (e) => (t) => {
5293
+ }, tl = (e) => (t) => {
5295
5294
  if (t.inspectorId === we && t.nodeId.includes("scene")) {
5296
5295
  const n = t.nodeId.match(/^scene-(.+)$/), r = n ? n[1] : null;
5297
5296
  if (!r)
5298
5297
  return;
5299
- tl(e.scene.value, r, t.path, t.state.value);
5298
+ el(e.scene.value, r, t.path, t.state.value);
5300
5299
  }
5301
5300
  }, we = "tres:inspector";
5302
- function rl(e, t) {
5301
+ function nl(e, t) {
5303
5302
  const n = {
5304
5303
  id: "dev.esm.tres",
5305
5304
  label: "TresJS 🪐",
@@ -5308,10 +5307,10 @@ function rl(e, t) {
5308
5307
  homepage: "https://docs.tresjs.org",
5309
5308
  app: e
5310
5309
  }, r = null, o = null;
5311
- Xa(t), fa(
5310
+ qu(t), cu(
5312
5311
  n,
5313
5312
  (i) => {
5314
- typeof i.now != "function" && Ya(
5313
+ typeof i.now != "function" && Gu(
5315
5314
  "You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."
5316
5315
  ), i.addInspector({
5317
5316
  id: we,
@@ -5322,14 +5321,14 @@ function rl(e, t) {
5322
5321
  i.sendInspectorTree(we);
5323
5322
  }, 1e3), setInterval(() => {
5324
5323
  i.notifyComponentUpdate();
5325
- }, 5e3), i.on.getInspectorTree(Ja(t)), i.on.getInspectorState(el(t, {
5324
+ }, 5e3), i.on.getInspectorTree(Zu(t)), i.on.getInspectorState(Ju(t, {
5326
5325
  highlightMesh: r,
5327
5326
  prevInstance: o
5328
- })), i.on.editInspectorState(nl(t));
5327
+ })), i.on.editInspectorState(tl(t));
5329
5328
  }
5330
5329
  );
5331
5330
  }
5332
- const ol = ["data-scene", "data-tres"], il = /* @__PURE__ */ ot({
5331
+ const rl = ["data-scene", "data-tres"], ol = /* @__PURE__ */ ot({
5333
5332
  __name: "TresCanvas",
5334
5333
  props: {
5335
5334
  camera: {},
@@ -5359,42 +5358,42 @@ const ol = ["data-scene", "data-tres"], il = /* @__PURE__ */ ot({
5359
5358
  },
5360
5359
  emits: ["ready", "pointermissed", "render", "beforeLoop", "loop", "click", "contextmenu", "pointermove", "pointerenter", "pointerleave", "pointerover", "pointerout", "dblclick", "pointerdown", "pointerup", "pointercancel", "lostpointercapture", "wheel"],
5361
5360
  setup(e, { expose: t, emit: n }) {
5362
- const r = e, o = n, i = ko(), s = Ae(), u = it(new yr()), a = $t();
5361
+ const r = e, o = n, i = ko(), s = Ae(), a = it(new yr()), u = $t();
5363
5362
  pt(vr);
5364
- const l = (h, v = !1) => ot({
5363
+ const l = (_, v = !1) => ot({
5365
5364
  setup() {
5366
5365
  const p = $t()?.appContext;
5367
- p && (p.app = a?.appContext.app);
5368
- const g = {};
5366
+ p && (p.app = u?.appContext.app);
5367
+ const m = {};
5369
5368
  function b(C) {
5370
- C && (C.parent && b(C.parent), C.provides && Object.assign(g, C.provides));
5369
+ C && (C.parent && b(C.parent), C.provides && Object.assign(m, C.provides));
5371
5370
  }
5372
- return a?.parent && r.enableProvideBridge && (b(a.parent), Reflect.ownKeys(g).forEach((C) => {
5373
- qe(C, g[C]);
5374
- })), qe(Rs, h), qe("extend", pt), typeof window < "u" && p?.app && rl(p?.app, h), () => Wt(No, null, v ? [] : i.default());
5371
+ return u?.parent && r.enableProvideBridge && (b(u.parent), Reflect.ownKeys(m).forEach((C) => {
5372
+ qe(C, m[C]);
5373
+ })), qe(xs, _), qe("extend", pt), typeof window < "u" && p?.app && nl(p?.app, _), () => Wt(No, null, v ? [] : i.default());
5375
5374
  }
5376
- }), c = (h, v = !1) => {
5377
- const p = l(h, v), { render: g } = Mo(Us(h));
5378
- g(Wt(p), u.value);
5379
- }, f = (h, v = !1) => {
5380
- Ne(h.scene.value), v && (h.renderer.instance.dispose(), h.renderer.instance instanceof br && (h.renderer.instance.renderLists.dispose(), h.renderer.instance.forceContextLoss())), u.value.__tres = {
5381
- root: h
5375
+ }), c = (_, v = !1) => {
5376
+ const p = l(_, v), { render: m } = Mo(Bs(_));
5377
+ m(Wt(p), a.value);
5378
+ }, f = (_, v = !1) => {
5379
+ Ne(_.scene.value), v && (_.renderer.instance.dispose(), _.renderer.instance instanceof br && (_.renderer.instance.renderLists.dispose(), _.renderer.instance.forceContextLoss())), a.value.__tres = {
5380
+ root: _
5382
5381
  };
5383
- }, _ = it(null);
5384
- t({ context: _, dispose: () => f(_.value, !0) });
5382
+ }, h = it(null);
5383
+ t({ context: h, dispose: () => f(h.value, !0) });
5385
5384
  const d = () => {
5386
- f(_.value), c(_.value, !0);
5385
+ f(h.value), c(h.value, !0);
5387
5386
  };
5388
5387
  return Kt(() => {
5389
- const h = s;
5390
- _.value = Ls({
5391
- scene: u.value,
5392
- canvas: h,
5388
+ const _ = s;
5389
+ h.value = Rs({
5390
+ scene: a.value,
5391
+ canvas: _,
5393
5392
  windowSize: r.windowSize ?? !1,
5394
5393
  rendererOptions: r
5395
5394
  });
5396
- const { camera: v, renderer: p } = _.value, { registerCamera: g, cameras: b, activeCamera: C, deregisterCamera: P } = v;
5397
- c(_.value);
5395
+ const { camera: v, renderer: p } = h.value, { registerCamera: m, cameras: b, activeCamera: C, deregisterCamera: P } = v;
5396
+ c(h.value);
5398
5397
  const M = () => {
5399
5398
  const A = new qo(
5400
5399
  45,
@@ -5402,75 +5401,75 @@ const ol = ["data-scene", "data-tres"], il = /* @__PURE__ */ ot({
5402
5401
  0.1,
5403
5402
  1e3
5404
5403
  );
5405
- A.position.set(3, 3, 3), A.lookAt(0, 0, 0), g(A);
5404
+ A.position.set(3, 3, 3), A.lookAt(0, 0, 0), m(A);
5406
5405
  const O = $(() => {
5407
5406
  b.value.length >= 2 && (A.removeFromParent(), P(A), O?.());
5408
5407
  });
5409
5408
  };
5410
- _.value.events.onPointerMissed((A) => {
5409
+ h.value.events.onPointerMissed((A) => {
5411
5410
  o("pointermissed", A);
5412
5411
  }), At(
5413
5412
  () => r.camera,
5414
5413
  (A, O) => {
5415
- A && g(D(A), !0), O && (D(O).removeFromParent(), P(D(O)));
5414
+ A && m(I(A), !0), O && (I(O).removeFromParent(), P(I(O)));
5416
5415
  },
5417
5416
  {
5418
5417
  immediate: !0
5419
5418
  }
5420
5419
  ), C.value || M(), p.onRender(() => {
5421
- _.value && o("render", _.value);
5420
+ h.value && o("render", h.value);
5422
5421
  }), p.loop.onLoop((A) => {
5423
- _.value && o("loop", { ..._.value, ...A });
5422
+ h.value && o("loop", { ...h.value, ...A });
5424
5423
  }), p.loop.onBeforeLoop((A) => {
5425
- _.value && o("beforeLoop", { ..._.value, ...A });
5424
+ h.value && o("beforeLoop", { ...h.value, ...A });
5426
5425
  }), p.onReady(() => {
5427
- o("ready", _.value);
5426
+ o("ready", h.value);
5428
5427
  });
5429
5428
  }), Kt(async () => {
5430
- await hi(3e3), _.value && (!_.value.sizes.width || !_.value.sizes.height.value) && console.warn("TresCanvas: The canvas has no area, so nothing can be rendered. Set it manually on the parent element or use the prop windowSize.");
5431
- }), ie(d), (h, v) => (Ro(), xo("canvas", {
5429
+ await hi(3e3), h.value && (!h.value.sizes.width || !h.value.sizes.height.value) && console.warn("TresCanvas: The canvas has no area, so nothing can be rendered. Set it manually on the parent element or use the prop windowSize.");
5430
+ }), ie(d), (_, v) => (Ro(), xo("canvas", {
5432
5431
  ref_key: "canvasRef",
5433
5432
  ref: s,
5434
- "data-scene": u.value.uuid,
5435
- class: Fo(h.$attrs.class),
5436
- "data-tres": `tresjs ${ke(Mi).version}`,
5433
+ "data-scene": a.value.uuid,
5434
+ class: Fo(_.$attrs.class),
5435
+ "data-tres": `tresjs ${ke(Fi).version}`,
5437
5436
  style: Lo({
5438
5437
  display: "block",
5439
5438
  width: "100%",
5440
5439
  height: "100%",
5441
- position: h.windowSize ? "fixed" : "relative",
5440
+ position: e.windowSize ? "fixed" : "relative",
5442
5441
  top: 0,
5443
5442
  left: 0,
5444
5443
  pointerEvents: "auto",
5445
5444
  touchAction: "none",
5446
- ...h.$attrs.style
5445
+ ..._.$attrs.style
5447
5446
  })
5448
- }, null, 14, ol));
5447
+ }, null, 14, rl));
5449
5448
  }
5450
5449
  });
5451
5450
  function gl(e) {
5452
- return typeof e == "number" ? [e, e, e] : e instanceof I ? [e.x, e.y, e.z] : e;
5451
+ return typeof e == "number" ? [e, e, e] : e instanceof D ? [e.x, e.y, e.z] : e;
5453
5452
  }
5454
- function El(e) {
5453
+ function ml(e) {
5455
5454
  return e instanceof xe ? e : Array.isArray(e) ? new xe(...e) : new xe(e);
5456
5455
  }
5457
- const sl = [
5456
+ const il = [
5458
5457
  "TresCanvas",
5459
5458
  "TresLeches",
5460
5459
  "TresScene"
5461
- ], vl = {
5460
+ ], El = {
5462
5461
  template: {
5463
5462
  compilerOptions: {
5464
- isCustomElement: (e) => e.startsWith("Tres") && !sl.includes(e) || e === "primitive"
5463
+ isCustomElement: (e) => e.startsWith("Tres") && !il.includes(e) || e === "primitive"
5465
5464
  }
5466
5465
  }
5467
5466
  };
5468
5467
  let q = null;
5469
- const yl = {
5468
+ const vl = {
5470
5469
  updated: (e, t) => {
5471
5470
  const r = ((i) => {
5472
5471
  let s = i.value;
5473
- return i.value && $e(i.value) && (s = i.value.position), Array.isArray(i.value) && (s = new I(...s)), s;
5472
+ return i.value && $e(i.value) && (s = i.value.position), Array.isArray(i.value) && (s = new D(...s)), s;
5474
5473
  })(t);
5475
5474
  if (!r) {
5476
5475
  Me(`v-distance-to: problem with binding value: ${t.value}`);
@@ -5496,8 +5495,8 @@ class Po extends Qo {
5496
5495
  o.setAttribute("position", new Yt(r, 3)), o.computeBoundingSphere();
5497
5496
  const i = new Zo({ fog: !1 });
5498
5497
  super(o, i), this.light = t, this.color = n, this.type = "RectAreaLightHelper";
5499
- const s = [1, 1, 0, -1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, -1, 0], u = new Gt();
5500
- u.setAttribute("position", new Yt(s, 3)), u.computeBoundingSphere(), this.add(new He(u, new Ar({ side: Jo, fog: !1 })));
5498
+ const s = [1, 1, 0, -1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, -1, 0], a = new Gt();
5499
+ a.setAttribute("position", new Yt(s, 3)), a.computeBoundingSphere(), this.add(new He(a, new Ar({ side: Jo, fog: !1 })));
5501
5500
  }
5502
5501
  updateMatrixWorld() {
5503
5502
  if (this.scale.set(0.5 * this.light.width, 0.5 * this.light.height, 1), this.color !== void 0)
@@ -5513,32 +5512,32 @@ class Po extends Qo {
5513
5512
  this.geometry.dispose(), this.material.dispose(), this.children[0].geometry.dispose(), this.children[0].material.dispose();
5514
5513
  }
5515
5514
  }
5516
- let Ie, W;
5517
- const ul = {
5515
+ let De, W;
5516
+ const sl = {
5518
5517
  DirectionalLight: ri,
5519
5518
  PointLight: ni,
5520
5519
  SpotLight: ti,
5521
5520
  HemisphereLight: ei,
5522
5521
  RectAreaLight: Po
5523
- }, bl = {
5522
+ }, yl = {
5524
5523
  mounted: (e) => {
5525
5524
  if (!Rr(e)) {
5526
5525
  Me(`${e.type} is not a light`);
5527
5526
  return;
5528
5527
  }
5529
- Ie = ul[e.type], e.parent?.add(new Ie(e, 1, e.color.getHex()));
5528
+ De = sl[e.type], e.parent?.add(new De(e, 1, e.color.getHex()));
5530
5529
  },
5531
5530
  updated: (e) => {
5532
- W = e.parent.children.find((t) => t instanceof Ie), !(W instanceof Po) && W.update();
5531
+ W = e.parent.children.find((t) => t instanceof De), !(W instanceof Po) && W.update();
5533
5532
  },
5534
5533
  unmounted: (e) => {
5535
5534
  if (!e.isLight) {
5536
5535
  Me(`${e.type} is not a light`);
5537
5536
  return;
5538
5537
  }
5539
- W = e.parent.children.find((t) => t instanceof Ie), W && W.dispose && W.dispose(), e.parent && e.parent.remove(W);
5538
+ W = e.parent.children.find((t) => t instanceof De), W && W.dispose && W.dispose(), e.parent && e.parent.remove(W);
5540
5539
  }
5541
- }, Cl = {
5540
+ }, bl = {
5542
5541
  mounted: (e, t) => {
5543
5542
  if (t.arg) {
5544
5543
  console.log(`v-log:${t.arg}`, e[t.arg]);
@@ -5546,58 +5545,58 @@ const ul = {
5546
5545
  }
5547
5546
  console.log("v-log", e);
5548
5547
  }
5549
- }, wl = {
5548
+ }, Cl = {
5550
5549
  install(e) {
5551
- e.component("TresCanvas", il);
5550
+ e.component("TresCanvas", ol);
5552
5551
  }
5553
5552
  };
5554
5553
  export {
5555
- js as DevtoolsMessenger,
5556
- il as TresCanvas,
5557
- hl as UseLoader,
5558
- ts as buildGraph,
5554
+ Hs as DevtoolsMessenger,
5555
+ ol as TresCanvas,
5556
+ pl as UseLoader,
5557
+ es as buildGraph,
5559
5558
  dt as catalogue,
5560
- wl as default,
5559
+ Cl as default,
5561
5560
  Ne as dispose,
5562
5561
  pt as extend,
5563
5562
  kr as isBufferGeometry,
5564
5563
  Pr as isCamera,
5565
- Ki as isClassInstance,
5566
- Ir as isColor,
5567
- zi as isColorRepresentation,
5568
- $i as isCopyable,
5564
+ $i as isClassInstance,
5565
+ Dr as isColor,
5566
+ ji as isColorRepresentation,
5567
+ zi as isCopyable,
5569
5568
  Lr as isFog,
5570
- fl as isGroup,
5569
+ cl as isGroup,
5571
5570
  Zt as isLayers,
5572
5571
  Rr as isLight,
5573
5572
  xr as isMaterial,
5574
5573
  $e as isMesh,
5575
5574
  lt as isObject3D,
5576
- ji as isOrthographicCamera,
5577
- Dr as isPerspectiveCamera,
5578
- dl as isProd,
5575
+ Hi as isOrthographicCamera,
5576
+ Ir as isPerspectiveCamera,
5577
+ fl as isProd,
5579
5578
  Fr as isScene,
5580
5579
  re as isTresCamera,
5581
- Yi as isTresInstance,
5582
- Wi as isTresObject,
5583
- Gi as isTresPrimitive,
5580
+ Gi as isTresInstance,
5581
+ Ki as isTresObject,
5582
+ Wi as isTresPrimitive,
5584
5583
  ct as isVectorLike,
5585
5584
  Jt as logError,
5586
- pl as logMessage,
5585
+ dl as logMessage,
5587
5586
  Me as logWarning,
5588
- El as normalizeColor,
5587
+ ml as normalizeColor,
5589
5588
  gl as normalizeVectorFlexibleParam,
5590
- rl as registerTresDevtools,
5591
- vl as templateCompilerOptions,
5592
- es as useCameraManager,
5593
- _l as useGraph,
5594
- Ji as useLoader,
5595
- ml as useLoop,
5596
- os as useRendererManager,
5597
- Ms as useTres,
5589
+ nl as registerTresDevtools,
5590
+ El as templateCompilerOptions,
5591
+ Ji as useCameraManager,
5592
+ hl as useGraph,
5593
+ Zi as useLoader,
5594
+ _l as useLoop,
5595
+ rs as useRendererManager,
5596
+ Fs as useTres,
5598
5597
  zr as useTresContext,
5599
- Ls as useTresContextProvider,
5600
- yl as vDistanceTo,
5601
- bl as vLightHelper,
5602
- Cl as vLog
5598
+ Rs as useTresContextProvider,
5599
+ vl as vDistanceTo,
5600
+ yl as vLightHelper,
5601
+ bl as vLog
5603
5602
  };