earthsdk3-ue 3.6.0-beta.3 → 3.6.0-beta.5

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.
@@ -1,11 +1,11 @@
1
1
  var Br = Object.defineProperty;
2
2
  var _r = (d, e, t) => e in d ? Br(d, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[e] = t;
3
- var v = (d, e, t) => _r(d, typeof e != "symbol" ? e + "" : e, t);
4
- import { ESViewer as Ee, reactArrayWithUndefined as pr, ESSceneObject as I, ESJPickedResult as Ae, Destroyable as m, HasOwner as Mr, createGuid as M, Event as S, createAnimateFrame as be, createInterval as Se, react as W, createNextAnimateFrameEvent as L, ViewerCustomInteraction as vr, ObjResettingWithEvent as P, createProcessingFromAsyncFunc as Te, sleep as $r, getGeoBoundingSphereFromPositions as Wr, extendClassProps as Ar, EngineObject as G, ES3DTileset as me, ESImageryLayer as U, reactJson as He, ESTerrainLayer as Ur, ESAlarm as Nr, ESApertureEffect as zr, ESGeoPolygon as br, ESAreaMeasurement as j, ESBlastParticleSystem as Hr, ESBoxClipping as Jr, ESCameraView as Gr, ESCameraVisibleRange as Kr, ESCar as Xr, ESClassification as ct, ESClippingPlane as Yr, ESDataMesh as b, ESDatasmithRuntimeModel as Zr, ESDirectionMeasurement as qr, ESDistanceMeasurement as Me, ESLocalPolygon as Qr, ESDynamicWater as Vr, ESEntityCluster as Or, ESExcavate as jr, ESFireParticleSystem as tn, ESForestTileset as N, ESGeoDiv as Ce, ESTextLabel as gr, bind as k, ESCustomDiv as Je, ESImageLabel as fr, track as F, PosFloatDiv as en, ESGeoJson as rn, ESGeoLineString as nn, ESGeoRectangle as sn, ESGeoWater as on, rpToap as Fe, ESGltfModel as an, ESHeightMeasurement as ln, ESHuman as dn, ESLevelRuntimeModel as cn, ESLocalCircle as un, ESLocalPolygonZ as hn, ESLocalRectangle as pn, ESLocalSkyBox as vn, ESLocationMeasurement as gn, ESPipeFence as fn, ESPipeline as wn, ESPipeserTileset as yn, ESPit as mn, ESPoi2D as Cn, ESPoi3D as Fn, ESPoiTileset as In, ESPolygonFence as En, ESPolygonFlattenedPlane as Sn, ESPolygonWithHole as Tn, ESRtsTileset as xn, ESSeparateFoliage as Rn, addTreesCallFunc as Pn, removeAllTreesCallFunc as Ln, updateTreeParamsCallFunc as kn, cutDownTreesCallFunc as Dn, growthSimulationCallFunc as Bn, ESSubmergingAnalysis as _n, ESSunshineAnalysis as Mn, ESSurfaceAreaMeasurement as $n, ESUEWidget as Wn, ESUnrealActor as $e, ESVideoFusion as An, ESViewShed as Un, ESVisibilityAnalysis as Nn, ESVolumeMeasurement as zn, ESWidget as bn, ESHumanPoi as Hn, ESNavigator as tt, ESPath as Jn, ESViewerStatusBar as A, ESGaussianSplatting as Gn, ESRtsFeatureEditing as Kn, ESMsTileset as Xn, ESGeoExtrudedPolygon as ye, ESStaticMesh as Yn, ESSkylineAnalysis as Zn } from "earthsdk3";
5
- import { Logger as wr, Config as yr, TextParameters as qn, Flags as at, NumericParameters as mr, PixelStreaming as Cr } from "@epicgames-ps/lib-pixelstreamingfrontend-ue5.2";
6
- import Qn from "html2canvas";
3
+ var g = (d, e, t) => _r(d, typeof e != "symbol" ? e + "" : e, t);
4
+ import { ESViewer as Ee, reactArrayWithUndefined as pr, ESSceneObject as I, ESJPickedResult as Ae, Destroyable as C, HasOwner as Mr, createGuid as M, Event as x, createAnimateFrame as be, createInterval as Se, react as W, createNextAnimateFrameEvent as L, ViewerCustomInteraction as gr, ObjResettingWithEvent as P, createProcessingFromAsyncFunc as Te, sleep as $r, getGeoBoundingSphereFromPositions as Wr, extendClassProps as Ar, EngineObject as G, ES3DTileset as me, ESImageryLayer as U, reactJson as He, ESTerrainLayer as Ur, ESAlarm as Nr, ESApertureEffect as zr, ESGeoPolygon as br, ESAreaMeasurement as j, ESBlastParticleSystem as Hr, ESBoxClipping as Jr, ESCameraView as Gr, ESCameraVisibleRange as Kr, ESCar as Xr, ESClassification as ct, ESClippingPlane as Yr, ESDataMesh as b, ESDatasmithRuntimeModel as Zr, ESDirectionMeasurement as qr, ESDistanceMeasurement as Me, ESLocalPolygon as Qr, ESDynamicWater as Vr, ESEntityCluster as Or, ESExcavate as jr, ESFireParticleSystem as tn, ESForestTileset as N, ESGeoDiv as Ce, ESTextLabel as vr, bind as D, ESCustomDiv as Je, ESImageLabel as fr, track as F, PosFloatDiv as en, getDistancesFromPositions as rn, ESGeoJson as nn, ESGeoLineString as sn, ESGeoRectangle as on, ESGeoWater as an, rpToap as Fe, ESGltfModel as ln, ESHeightMeasurement as dn, ESHuman as cn, ESLevelRuntimeModel as un, ESLocalCircle as hn, ESLocalPolygonZ as pn, ESLocalRectangle as gn, ESLocalSkyBox as vn, ESLocationMeasurement as fn, ESPipeFence as wn, ESPipeline as yn, ESPipeserTileset as mn, ESPit as Cn, ESPoi2D as Fn, ESPoi3D as In, ESPoiTileset as En, ESPolygonFence as Sn, ESPolygonFlattenedPlane as Tn, ESPolygonWithHole as xn, ESRtsTileset as Rn, ESSeparateFoliage as Pn, addTreesCallFunc as Ln, removeAllTreesCallFunc as Dn, updateTreeParamsCallFunc as kn, cutDownTreesCallFunc as Bn, growthSimulationCallFunc as _n, ESSubmergingAnalysis as Mn, ESSunshineAnalysis as $n, ESSurfaceAreaMeasurement as Wn, ESUEWidget as An, ESUnrealActor as $e, ESVideoFusion as Un, ESViewShed as Nn, ESVisibilityAnalysis as zn, ESVolumeMeasurement as bn, ESWidget as Hn, ESHumanPoi as Jn, ESNavigator as tt, ESPath as Gn, ESViewerStatusBar as A, ESGaussianSplatting as Kn, ESRtsFeatureEditing as Xn, ESMsTileset as Yn, ESGeoExtrudedPolygon as ye, ESStaticMesh as Zn, ESSkylineAnalysis as qn } from "earthsdk3";
5
+ import { Logger as wr, Config as yr, TextParameters as Qn, Flags as at, NumericParameters as mr, PixelStreaming as Cr } from "@epicgames-ps/lib-pixelstreamingfrontend-ue5.2";
6
+ import Vn from "html2canvas";
7
7
  var hr;
8
- const Vn = {
8
+ const On = {
9
9
  ...Ee.defaults,
10
10
  geoReferenceOrigin: void 0,
11
11
  keepWorldOriginNearCamera: !1,
@@ -84,7 +84,7 @@ const we = async (d, e, t, i, r, n = "default") => {
84
84
  }).catch((t) => {
85
85
  console.error("calcFlyToParam:", t);
86
86
  });
87
- }, On = (d, e) => {
87
+ }, jn = (d, e) => {
88
88
  d.callUeFunc({
89
89
  f: "refreshTileset",
90
90
  p: { id: e }
@@ -103,7 +103,7 @@ const we = async (d, e, t, i, r, n = "default") => {
103
103
  return;
104
104
  }
105
105
  return s.re;
106
- }, jn = async (d, e) => {
106
+ }, ts = async (d, e) => {
107
107
  if (!d) {
108
108
  console.warn("DefaultCameraFlyIn: viewer is undefined");
109
109
  return;
@@ -117,7 +117,7 @@ const we = async (d, e, t, i, r, n = "default") => {
117
117
  return;
118
118
  }
119
119
  return t;
120
- }, ts = async (d) => {
120
+ }, es = async (d) => {
121
121
  if (!d) {
122
122
  console.warn("StartVoice:viewer is undefined");
123
123
  return;
@@ -131,7 +131,7 @@ const we = async (d, e, t, i, r, n = "default") => {
131
131
  return;
132
132
  }
133
133
  return e;
134
- }, es = async (d) => {
134
+ }, is = async (d) => {
135
135
  if (!d) {
136
136
  console.warn("StopVoice:viewer is undefined");
137
137
  return;
@@ -145,7 +145,7 @@ const we = async (d, e, t, i, r, n = "default") => {
145
145
  return;
146
146
  }
147
147
  return e;
148
- }, is = async (d, e) => {
148
+ }, rs = async (d, e) => {
149
149
  if (!d) {
150
150
  console.warn("mountPakFiles:viewer is undefined");
151
151
  return;
@@ -159,7 +159,7 @@ const we = async (d, e, t, i, r, n = "default") => {
159
159
  return;
160
160
  }
161
161
  return t;
162
- }, rs = async (d) => {
162
+ }, ns = async (d) => {
163
163
  if (!d) {
164
164
  console.warn("generateMemReport:viewer is undefined");
165
165
  return;
@@ -202,7 +202,7 @@ const we = async (d, e, t, i, r, n = "default") => {
202
202
  }).catch((s) => {
203
203
  console.error("smoothMoveOnGround:", s);
204
204
  });
205
- }, ke = (d, e, t, i, r, n, s) => {
205
+ }, De = (d, e, t, i, r, n, s) => {
206
206
  d.callUeFunc({
207
207
  f: "smoothMoveWithRotationOnGround",
208
208
  p: {
@@ -218,7 +218,7 @@ const we = async (d, e, t, i, r, n = "default") => {
218
218
  }).catch((o) => {
219
219
  console.error("smoothMoveWithRotationOnGround:", o);
220
220
  });
221
- }, ns = (d, e, t) => {
221
+ }, ss = (d, e, t) => {
222
222
  d.callUeFunc({
223
223
  f: "HighlightFeature",
224
224
  p: { id: e, HlId: t }
@@ -227,7 +227,7 @@ const we = async (d, e, t, i, r, n = "default") => {
227
227
  }).catch((i) => {
228
228
  console.error("HighlightFeature:", i);
229
229
  });
230
- }, ss = (d, e, t, i) => {
230
+ }, os = (d, e, t, i) => {
231
231
  d.callUeFunc({
232
232
  f: "HighlightFeatureAndFlyTo",
233
233
  p: { id: e, HlId: t, Duration: i }
@@ -236,7 +236,7 @@ const we = async (d, e, t, i, r, n = "default") => {
236
236
  }).catch((r) => {
237
237
  console.error("HighlightFeatureAndFlyTo:", r);
238
238
  });
239
- }, os = (d, e, t) => {
239
+ }, as = (d, e, t) => {
240
240
  d.callUeFunc({
241
241
  f: "SetLayerVisible",
242
242
  p: { id: e, LayerJson: t }
@@ -245,7 +245,7 @@ const we = async (d, e, t, i, r, n = "default") => {
245
245
  }).catch((i) => {
246
246
  console.error("SetLayerVisible:", i);
247
247
  });
248
- }, as = (d, e, t) => {
248
+ }, ls = (d, e, t) => {
249
249
  d.callUeFunc({
250
250
  f: "SetLayerColor",
251
251
  p: { id: e, LayerJson: t }
@@ -254,7 +254,7 @@ const we = async (d, e, t, i, r, n = "default") => {
254
254
  }).catch((i) => {
255
255
  console.error("SetLayerColor:", i);
256
256
  });
257
- }, De = (d, e, t, i) => {
257
+ }, ke = (d, e, t, i) => {
258
258
  d.callUeFunc({
259
259
  f: "smoothMove",
260
260
  p: {
@@ -273,7 +273,7 @@ const we = async (d, e, t, i, r, n = "default") => {
273
273
  p: { id: e, fn: t, p: i }
274
274
  });
275
275
  return r.error && (console.error("callFunction:", r.error), console.error(`id: ${e} fn: ${t} param: ${i}`)), r.re ?? void 0;
276
- }, ls = (d, e, t, i) => {
276
+ }, ds = (d, e, t, i) => {
277
277
  d.callUeFunc({
278
278
  f: "SetNodePosition",
279
279
  p: {
@@ -286,7 +286,7 @@ const we = async (d, e, t, i, r, n = "default") => {
286
286
  }).catch((r) => {
287
287
  console.error("SetNodePosition:", r);
288
288
  });
289
- }, ds = (d, e, t, i) => {
289
+ }, cs = (d, e, t, i) => {
290
290
  d.callUeFunc({
291
291
  f: "SetNodeRotation",
292
292
  p: {
@@ -299,7 +299,7 @@ const we = async (d, e, t, i, r, n = "default") => {
299
299
  }).catch((r) => {
300
300
  console.error("SetNodeRotation:", r);
301
301
  });
302
- }, cs = (d, e, t, i) => {
302
+ }, us = (d, e, t, i) => {
303
303
  d.callUeFunc({
304
304
  f: "SetNodeScale",
305
305
  p: {
@@ -329,7 +329,7 @@ const we = async (d, e, t, i, r, n = "default") => {
329
329
  return;
330
330
  }
331
331
  return t;
332
- }, us = async (d, e) => {
332
+ }, hs = async (d, e) => {
333
333
  const t = await d.callUeFunc({
334
334
  f: "setGlobalProperty",
335
335
  p: e
@@ -339,7 +339,7 @@ const we = async (d, e, t, i, r, n = "default") => {
339
339
  return;
340
340
  }
341
341
  return t;
342
- }, hs = async (d) => {
342
+ }, ps = async (d) => {
343
343
  const e = await d.callUeFunc({
344
344
  f: "Quit",
345
345
  p: void 0
@@ -349,7 +349,7 @@ const we = async (d, e, t, i, r, n = "default") => {
349
349
  return;
350
350
  }
351
351
  return e;
352
- }, ps = async (d, e, t, i) => {
352
+ }, gs = async (d, e, t, i) => {
353
353
  console.log("pickCallFunc", e, t, i);
354
354
  const r = await d.callUeFunc({
355
355
  f: "pick",
@@ -372,7 +372,7 @@ const we = async (d, e, t, i, r, n = "default") => {
372
372
  }
373
373
  const { position: i } = t.re;
374
374
  return i;
375
- }, gs = async (d, e, t, i = "ECC_Visibility") => {
375
+ }, fs = async (d, e, t, i = "ECC_Visibility") => {
376
376
  const r = await d.callUeFunc({
377
377
  f: "GetHeightByLonLat",
378
378
  p: { Lon: e, Lat: t, Channel: i }
@@ -382,7 +382,7 @@ const we = async (d, e, t, i, r, n = "default") => {
382
382
  return;
383
383
  }
384
384
  return r.re;
385
- }, fs = async (d, e, t = "ECC_Visibility") => {
385
+ }, ws = async (d, e, t = "ECC_Visibility") => {
386
386
  const i = await d.callUeFunc({
387
387
  f: "GetHeightsByLonLats",
388
388
  p: { LonLats: e, Channel: t }
@@ -397,7 +397,7 @@ const we = async (d, e, t, i, r, n = "default") => {
397
397
  } catch {
398
398
  return;
399
399
  }
400
- }, ws = async (d, e = 64, t = 64) => {
400
+ }, ys = async (d, e = 64, t = 64) => {
401
401
  const i = await d.callUeFunc({
402
402
  f: "capture",
403
403
  p: { resx: e, resy: t }
@@ -407,7 +407,7 @@ const we = async (d, e, t, i, r, n = "default") => {
407
407
  return;
408
408
  }
409
409
  return i.re.image;
410
- }, ys = async (d, e, t = [64, 64]) => {
410
+ }, ms = async (d, e, t = [64, 64]) => {
411
411
  const i = await d.callUeFunc({
412
412
  f: "partialCapture",
413
413
  p: {
@@ -420,13 +420,13 @@ const we = async (d, e, t, i, r, n = "default") => {
420
420
  return;
421
421
  }
422
422
  return i.re.image;
423
- }, ms = async (d, e) => {
423
+ }, Cs = async (d, e) => {
424
424
  const t = await d.callUeFunc({
425
425
  f: "LonLatAltToScreenPosition",
426
426
  p: { LonLatAlt: e }
427
427
  });
428
428
  return t.error && console.warn(t.error), t.re;
429
- }, Cs = async (d, e) => {
429
+ }, Fs = async (d, e) => {
430
430
  const t = await d.callUeFunc({
431
431
  f: "UEPositionToLonLatAlt",
432
432
  p: { UEPosition: e }
@@ -436,7 +436,7 @@ const we = async (d, e, t, i, r, n = "default") => {
436
436
  return;
437
437
  }
438
438
  return [...t.re.LonLatAlt];
439
- }, Fs = async (d, e) => {
439
+ }, Is = async (d, e) => {
440
440
  const t = await d.callUeFunc({
441
441
  f: "GetAllSocketNamesByActorTag",
442
442
  p: { ActorTag: e }
@@ -446,7 +446,7 @@ const we = async (d, e, t, i, r, n = "default") => {
446
446
  return;
447
447
  }
448
448
  return [...t.re.socketNames];
449
- }, Is = async (d) => {
449
+ }, Es = async (d) => {
450
450
  const e = await d.callUeFunc({
451
451
  f: "GetVersion",
452
452
  p: void 0
@@ -456,7 +456,7 @@ const we = async (d, e, t, i, r, n = "default") => {
456
456
  return;
457
457
  }
458
458
  return e.re.version;
459
- }, Es = async (d, e) => {
459
+ }, Ss = async (d, e) => {
460
460
  const t = await d.callUeFunc({
461
461
  f: "GetBoundSphere",
462
462
  p: { id: e }
@@ -466,7 +466,7 @@ const we = async (d, e, t, i, r, n = "default") => {
466
466
  return;
467
467
  }
468
468
  return t.re;
469
- }, Ss = async (d, e) => {
469
+ }, Ts = async (d, e) => {
470
470
  const t = await d.callUeFunc({
471
471
  f: "GetBoundSphereWithChildren",
472
472
  p: { id: e }
@@ -476,7 +476,7 @@ const we = async (d, e, t, i, r, n = "default") => {
476
476
  return;
477
477
  }
478
478
  return t.re;
479
- }, Ts = async (d, e) => {
479
+ }, xs = async (d, e) => {
480
480
  const t = await d.callUeFunc({
481
481
  f: "GetStrokeMaterialParamInfo",
482
482
  p: { id: e }
@@ -486,7 +486,7 @@ const we = async (d, e, t, i, r, n = "default") => {
486
486
  return;
487
487
  }
488
488
  return t.re;
489
- }, xs = async (d, e) => {
489
+ }, Rs = async (d, e) => {
490
490
  const t = await d.callUeFunc({
491
491
  f: "GetFillMaterialParamInfo",
492
492
  p: { id: e }
@@ -496,7 +496,7 @@ const we = async (d, e, t, i, r, n = "default") => {
496
496
  return;
497
497
  }
498
498
  return t.re;
499
- }, Rs = async (d, e) => {
499
+ }, Ps = async (d, e) => {
500
500
  const t = await d.callUeFunc({
501
501
  f: "getGlobalProperty",
502
502
  p: { props: e }
@@ -506,7 +506,7 @@ const we = async (d, e, t, i, r, n = "default") => {
506
506
  return;
507
507
  }
508
508
  return t.re;
509
- }, Ps = async (d, e) => {
509
+ }, Ls = async (d, e) => {
510
510
  const t = await d.callUeFunc({
511
511
  f: "GetObjectByInfo",
512
512
  p: { info: e }
@@ -516,62 +516,62 @@ const we = async (d, e, t, i, r, n = "default") => {
516
516
  return;
517
517
  }
518
518
  return t.re;
519
- }, Ls = async (d, e, t) => await d.callUeFunc({
519
+ }, Ds = async (d, e, t) => await d.callUeFunc({
520
520
  f: "BindActorByTag",
521
521
  p: { ID: e, ActorTag: t }
522
522
  }), ks = async (d) => await d.callUeFunc({
523
523
  f: "RestoreOriginalScene",
524
524
  p: void 0
525
- }), Ds = async (d, e) => await d.callUeFunc({
525
+ }), Bs = async (d, e) => await d.callUeFunc({
526
526
  f: "UnBindActorByID",
527
527
  p: { ID: e }
528
- }), Bs = async (d, e) => await d.callUeFunc({
528
+ }), _s = async (d, e) => await d.callUeFunc({
529
529
  f: "UnBindActorByTag",
530
530
  p: { ActorTag: e }
531
- }), _s = async (d, e, t) => await d.callUeFunc({
531
+ }), Ms = async (d, e, t) => await d.callUeFunc({
532
532
  f: "CreateActorByClass",
533
533
  p: { ID: e, ActorClass: t }
534
- }), Ms = async function(d, e, t) {
534
+ }), $s = async function(d, e, t) {
535
535
  return await d.callUeFunc({
536
536
  f: "Bind3DTilesetByTag",
537
537
  p: { ID: e, ActorTag: t }
538
538
  });
539
- }, $s = async function(d, e) {
539
+ }, Ws = async function(d, e) {
540
540
  return await d.callUeFunc({
541
541
  f: "UnBind3DTilesetByTag",
542
542
  p: { ActorTag: e }
543
543
  });
544
- }, Ws = async function(d, e) {
544
+ }, As = async function(d, e) {
545
545
  return await d.callUeFunc({
546
546
  f: "UnBind3DTilesetById",
547
547
  p: { ID: e }
548
548
  });
549
- }, As = async function(d, e, t, i) {
549
+ }, Us = async function(d, e, t, i) {
550
550
  return await d.callUeFunc({
551
551
  f: "BindImageryByTag",
552
552
  p: { ID: e, ActorTag: t, ComponentTag: i }
553
553
  });
554
- }, Us = async function(d, e, t) {
554
+ }, Ns = async function(d, e, t) {
555
555
  return await d.callUeFunc({
556
556
  f: "UnBindImageryByTag",
557
557
  p: { ActorTag: e, ComponentTag: t }
558
558
  });
559
- }, Ns = async function(d, e) {
559
+ }, zs = async function(d, e) {
560
560
  return await d.callUeFunc({
561
561
  f: "UnBindImageryById",
562
562
  p: { ID: e }
563
563
  });
564
- }, zs = async function(d, e, t, i) {
564
+ }, bs = async function(d, e, t, i) {
565
565
  return await d.callUeFunc({
566
566
  f: "GetIdByComponentNameAndHitItem",
567
567
  p: { id: e, ComponentName: t, HitItem: i }
568
568
  });
569
- }, bs = async function(d, e = "ECC_Visibility") {
569
+ }, Hs = async function(d, e = "ECC_Visibility") {
570
570
  return await d.callUeFunc({
571
571
  f: "GetCameraRelativeHeight",
572
572
  p: { Channel: e }
573
573
  });
574
- }, Hs = async function(d, e, t, i) {
574
+ }, Js = async function(d, e, t, i) {
575
575
  const r = await d.callUeFunc({
576
576
  f: "SaveStringToFile",
577
577
  p: {
@@ -581,7 +581,7 @@ const we = async (d, e, t, i, r, n = "default") => {
581
581
  }
582
582
  });
583
583
  return r.error !== "" && console.warn("SaveStringToFile: ", r.error), r;
584
- }, Js = async function(d, e, t = !0) {
584
+ }, Gs = async function(d, e, t = !0) {
585
585
  const i = await d.callUeFunc({
586
586
  f: "HighlightActorByTag",
587
587
  p: {
@@ -590,13 +590,13 @@ const we = async (d, e, t, i, r, n = "default") => {
590
590
  }
591
591
  });
592
592
  return i.error !== "" && console.warn("HighlightActorByTag: ", i.error), i;
593
- }, Gs = async function(d, e) {
593
+ }, Ks = async function(d, e) {
594
594
  const t = await d.callUeFunc({
595
595
  f: "SendCustomMessage",
596
596
  p: { Message: e }
597
597
  });
598
598
  return t.error !== "" && console.warn("SendCustomMessage: ", t.error), t;
599
- }, Ks = async function(d) {
599
+ }, Xs = async function(d) {
600
600
  const e = await d.callUeFunc({
601
601
  f: "GetStatus",
602
602
  p: void 0
@@ -606,7 +606,7 @@ const we = async (d, e, t, i, r, n = "default") => {
606
606
  return;
607
607
  }
608
608
  return e.re;
609
- }, Xs = async (d, e, t, i, r = !0) => {
609
+ }, Ys = async (d, e, t, i, r = !0) => {
610
610
  const n = await d.callUeFunc({
611
611
  f: "startEditing",
612
612
  p: {
@@ -621,7 +621,7 @@ const we = async (d, e, t, i, r, n = "default") => {
621
621
  return;
622
622
  }
623
623
  return n;
624
- }, Ys = async (d) => {
624
+ }, Zs = async (d) => {
625
625
  const e = await d.callUeFunc({
626
626
  f: "stopEditing",
627
627
  p: void 0
@@ -631,7 +631,7 @@ const we = async (d, e, t, i, r, n = "default") => {
631
631
  return;
632
632
  }
633
633
  return e;
634
- }, Zs = async (d, e, t) => {
634
+ }, qs = async (d, e, t) => {
635
635
  const i = await d.callUeFunc({
636
636
  f: "moveObjects",
637
637
  p: {
@@ -644,7 +644,7 @@ const we = async (d, e, t, i, r, n = "default") => {
644
644
  return;
645
645
  }
646
646
  return i;
647
- }, qs = async (d) => {
647
+ }, Qs = async (d) => {
648
648
  const e = await d.callUeFunc({
649
649
  f: "GetTilesetMaterialIDList",
650
650
  p: void 0
@@ -655,9 +655,9 @@ const we = async (d, e, t, i, r, n = "default") => {
655
655
  }
656
656
  return e.re.materialIDList;
657
657
  };
658
- class Be extends m {
658
+ class Be extends C {
659
659
  }
660
- const Qs = {
660
+ const Vs = {
661
661
  Response: 1
662
662
  }, Ie = {
663
663
  /*
@@ -667,11 +667,11 @@ const Qs = {
667
667
  UIInteraction: 50,
668
668
  MouseWheel: 75
669
669
  };
670
- class Vs extends Mr {
670
+ class Os extends Mr {
671
671
  constructor(t, i) {
672
672
  super(t);
673
- v(this, "_processResponseFn", (t) => this.esUeViewer.processResponse(t));
674
- v(this, "_inner");
673
+ g(this, "_processResponseFn", (t) => this.esUeViewer.processResponse(t));
674
+ g(this, "_inner");
675
675
  this._uri = i, this._inner = new WebSocket(this._uri), this.d(() => {
676
676
  this._inner.close();
677
677
  }), this._innerInit();
@@ -694,7 +694,7 @@ class Vs extends Mr {
694
694
  if (this.isDestroyed())
695
695
  return;
696
696
  let n = r.target.result, s = new Uint32Array(n), o = 0;
697
- if (s[0] === Qs.Response) {
697
+ if (s[0] === Vs.Response) {
698
698
  o += 4;
699
699
  let h = s[o / 4];
700
700
  o += 4;
@@ -741,16 +741,16 @@ class Vs extends Mr {
741
741
  }
742
742
  }
743
743
  globalThis.g_emitDescriptor_maxBytes = 3e4;
744
- let Os = -1;
744
+ let js = -1;
745
745
  wr.SetLoggerVerbosity(1);
746
- class js extends m {
746
+ class to extends C {
747
747
  constructor(t, i) {
748
748
  super();
749
- v(this, "_eventTarget", new EventTarget());
750
- v(this, "debug", !1);
751
- v(this, "uiInteractionCallbacks", /* @__PURE__ */ new Map());
752
- v(this, "_pixelStream");
753
- v(this, "_esMsgWsWrapper");
749
+ g(this, "_eventTarget", new EventTarget());
750
+ g(this, "debug", !1);
751
+ g(this, "uiInteractionCallbacks", /* @__PURE__ */ new Map());
752
+ g(this, "_pixelStream");
753
+ g(this, "_esMsgWsWrapper");
754
754
  this._domOrDomId = t, this._options = i;
755
755
  const r = typeof this._domOrDomId == "string" ? document.getElementById(this._domOrDomId) : this._domOrDomId;
756
756
  if (!r) throw new Error(`ESUEViewer container${this._domOrDomId} error!`);
@@ -788,7 +788,7 @@ class js extends m {
788
788
  StartVideoMuted: !1,
789
789
  // WaitForStreamer: true,
790
790
  SuppressBrowserKeys: !1,
791
- [qn.SignallingServerUrl]: i
791
+ [Qn.SignallingServerUrl]: i
792
792
  }
793
793
  });
794
794
  return r.setFlagEnabled(at.BrowserSendOffer, !1), r.setFlagEnabled(at.HoveringMouseMode, !0), r.setFlagEnabled(at.MatchViewportResolution, !0), r.setNumericSetting(mr.MaxReconnectAttempts, 0), new Cr(r, { videoElementParent: t });
@@ -797,7 +797,7 @@ class js extends m {
797
797
  return this._pixelStream;
798
798
  }
799
799
  _initEsMsgWsWrapper(t) {
800
- return t ? this.dv(new Vs(this, t)) : void 0;
800
+ return t ? this.dv(new Os(this, t)) : void 0;
801
801
  }
802
802
  get esMsgWsWrapper() {
803
803
  return this._esMsgWsWrapper;
@@ -860,7 +860,7 @@ class js extends m {
860
860
  // 发送UI interface
861
861
  emitUIInteractionForBigData(t, i) {
862
862
  typeof i == "function" && (t.callid = M(), this.uiInteractionCallbacks.set(t.callid, i));
863
- const r = JSON.stringify(t), n = globalThis.g_emitDescriptor_maxBytes, s = r.length, o = ++Os;
863
+ const r = JSON.stringify(t), n = globalThis.g_emitDescriptor_maxBytes, s = r.length, o = ++js;
864
864
  if (this.esMsgWsWrapper) {
865
865
  if (s < n) {
866
866
  this.esMsgWsWrapper.emitDescriptorWithString(Ie.UIInteraction, `${o}-0/1-` + r);
@@ -896,12 +896,12 @@ class js extends m {
896
896
  console.log(`resizeUEVideo emitCommand ${t} ${i} begin`), this.emitCommand(r);
897
897
  }
898
898
  }
899
- class to extends m {
899
+ class eo extends C {
900
900
  constructor(t, i, r) {
901
901
  super();
902
- v(this, "_instance");
903
- v(this, "_event", this.dv(new S()));
904
- this._container = t, this._wsuri = i, this._esmsgWsUri = r, this._instance = this.dv(new js(this._container, { url: this._wsuri, esmsgWsUri: this._esmsgWsUri })), this.instanceInit();
902
+ g(this, "_instance");
903
+ g(this, "_event", this.dv(new x()));
904
+ this._container = t, this._wsuri = i, this._esmsgWsUri = r, this._instance = this.dv(new to(this._container, { url: this._wsuri, esmsgWsUri: this._esmsgWsUri })), this.instanceInit();
905
905
  }
906
906
  get webSocketReady() {
907
907
  return this._instance.esWebSocketReady;
@@ -960,25 +960,25 @@ class to extends m {
960
960
  this._instance.resizeUEVideo(t, i);
961
961
  }
962
962
  }
963
- class eo extends Be {
963
+ class io extends Be {
964
964
  constructor(t, i, r, n) {
965
965
  super();
966
- v(this, "_esueViewerWrapper");
967
- v(this, "_ueFuncResultWithIdsEvent", this.dv(new S()));
968
- v(this, "_ueFuncWithIdAndResultCallbacks", []);
969
- v(this, "_waitingUeFuncIdAndResultCallbacks", /* @__PURE__ */ new Map());
970
- v(this, "_waitingUeCalls", /* @__PURE__ */ new Set());
971
- v(this, "_ueEvent", this.dv(new S()));
972
- v(this, "_errorEvent", this.dv(new S()));
966
+ g(this, "_esueViewerWrapper");
967
+ g(this, "_ueFuncResultWithIdsEvent", this.dv(new x()));
968
+ g(this, "_ueFuncWithIdAndResultCallbacks", []);
969
+ g(this, "_waitingUeFuncIdAndResultCallbacks", /* @__PURE__ */ new Map());
970
+ g(this, "_waitingUeCalls", /* @__PURE__ */ new Set());
971
+ g(this, "_ueEvent", this.dv(new x()));
972
+ g(this, "_errorEvent", this.dv(new x()));
973
973
  // private _closeEvent = this.dv(new Event<[string]>());
974
974
  // get closeEvent() { return this._closeEvent; }
975
- v(this, "_readyEvent", this.dv(new S()));
976
- v(this, "_esmsgwsopen", this.dv(W(!1)));
977
- v(this, "_videoinited", this.dv(W(!1)));
978
- v(this, "_webRtcConnected", this.dv(W(!1)));
975
+ g(this, "_readyEvent", this.dv(new x()));
976
+ g(this, "_esmsgwsopen", this.dv(W(!1)));
977
+ g(this, "_videoinited", this.dv(W(!1)));
978
+ g(this, "_webRtcConnected", this.dv(W(!1)));
979
979
  this._ueViewer = n, console.log("CSTMPSViewer init ! 以官方像素流 + 独立通信的模式启动!");
980
980
  const s = this._ueViewer;
981
- this._esueViewerWrapper = this.dv(new to(t, i, r));
981
+ this._esueViewerWrapper = this.dv(new eo(t, i, r));
982
982
  const o = this._esueViewerWrapper;
983
983
  {
984
984
  const u = () => o.debug = s.debug ?? !1;
@@ -991,8 +991,8 @@ class eo extends Be {
991
991
  const c = o.webSocketReady;
992
992
  if (this.videoinited && this.webRtcConnected && c) {
993
993
  console.log("%c[EarthSDK: esmsgWebSocket && videoinited && webRtcConnected]", "background: #a6ec99; color: black");
994
- const g = { eventType: "init", params: {} };
995
- o.emitUIInteractionForBigData(g), this._readyEvent.emit(), h = !0;
994
+ const v = { eventType: "init", params: {} };
995
+ o.emitUIInteractionForBigData(v), this._readyEvent.emit(), h = !0;
996
996
  }
997
997
  };
998
998
  this.d(this.videoinitedChanged.don(() => {
@@ -1007,9 +1007,9 @@ class eo extends Be {
1007
1007
  if (u === "error")
1008
1008
  this._errorEvent.emit(c);
1009
1009
  else if (u === "ueevent") {
1010
- const g = JSON.parse(c);
1011
- if (g.t === "cr") {
1012
- const w = g;
1010
+ const v = JSON.parse(c);
1011
+ if (v.t === "cr") {
1012
+ const w = v;
1013
1013
  if (w.frs && this._ueFuncResultWithIdsEvent.emit(w.frs), w.ers)
1014
1014
  for (let y of w.ers)
1015
1015
  this._ueEvent.emit(y);
@@ -1018,21 +1018,21 @@ class eo extends Be {
1018
1018
  }));
1019
1019
  {
1020
1020
  const u = this.dv(be());
1021
- let c, g;
1021
+ let c, v;
1022
1022
  u.start(() => {
1023
- if (c !== t.offsetWidth || g !== t.offsetHeight) {
1024
- if (c = t.offsetWidth, g = t.offsetHeight, c === void 0 || g === void 0 || !Number.isFinite(c) || !Number.isFinite(g) || c < 0 || g < 0) {
1025
- console.warn(`lastWidth === undefined || lastHeight === undefined || !Number.isFinite(lastWidth) || !Number.isFinite(lastHeight) || lastWidth < 0 || lastHeight < 0 ${c} ${g}`);
1023
+ if (c !== t.offsetWidth || v !== t.offsetHeight) {
1024
+ if (c = t.offsetWidth, v = t.offsetHeight, c === void 0 || v === void 0 || !Number.isFinite(c) || !Number.isFinite(v) || c < 0 || v < 0) {
1025
+ console.warn(`lastWidth === undefined || lastHeight === undefined || !Number.isFinite(lastWidth) || !Number.isFinite(lastHeight) || lastWidth < 0 || lastHeight < 0 ${c} ${v}`);
1026
1026
  return;
1027
1027
  }
1028
- o.resize(c, g), console.log(`resize: ${c} ${g}`);
1028
+ o.resize(c, v), console.log(`resize: ${c} ${v}`);
1029
1029
  }
1030
1030
  });
1031
1031
  }
1032
1032
  this.d(this._ueFuncResultWithIdsEvent.don((u) => {
1033
1033
  for (const c of u) {
1034
- const g = this._waitingUeFuncIdAndResultCallbacks.get(c.fid);
1035
- g && (this._waitingUeFuncIdAndResultCallbacks.delete(c.fid), g.resultCallback(c.r));
1034
+ const v = this._waitingUeFuncIdAndResultCallbacks.get(c.fid);
1035
+ v && (this._waitingUeFuncIdAndResultCallbacks.delete(c.fid), v.resultCallback(c.r));
1036
1036
  }
1037
1037
  }));
1038
1038
  let a = 0;
@@ -1055,19 +1055,19 @@ class eo extends Be {
1055
1055
  }, p = () => {
1056
1056
  if (!h || this._ueFuncWithIdAndResultCallbacks.length === 0) return;
1057
1057
  const u = this._ueFuncWithIdAndResultCallbacks.map(([c]) => c);
1058
- for (const [c, g] of this._ueFuncWithIdAndResultCallbacks)
1059
- this._waitingUeFuncIdAndResultCallbacks.set(c.fid, g);
1058
+ for (const [c, v] of this._ueFuncWithIdAndResultCallbacks)
1059
+ this._waitingUeFuncIdAndResultCallbacks.set(c.fid, v);
1060
1060
  this._ueFuncWithIdAndResultCallbacks.length = 0;
1061
1061
  {
1062
- const c = globalThis.g_emitDescriptor_maxBytes, g = u.map((R) => ({ f: R, s: JSON.stringify(R).length }));
1063
- let w = g.length, y = 0, x = 0, C = [];
1062
+ const c = globalThis.g_emitDescriptor_maxBytes, v = u.map((T) => ({ f: T, s: JSON.stringify(T).length }));
1063
+ let w = v.length, y = 0, R = 0, m = [];
1064
1064
  do {
1065
1065
  do {
1066
- const { f: R, s: T } = g[y];
1067
- if (C.push(R), ++y, x + T > c || C.length >= 20)
1066
+ const { f: T, s: S } = v[y];
1067
+ if (m.push(T), ++y, R + S > c || m.length >= 20)
1068
1068
  break;
1069
1069
  } while (y < w);
1070
- C.length > 0 && (s.debug && console.log(`传送${C.length}条消息...`), f([...C]), C.length = 0, x = 0);
1070
+ m.length > 0 && (s.debug && console.log(`传送${m.length}条消息...`), f([...m]), m.length = 0, R = 0);
1071
1071
  } while (y < w);
1072
1072
  }
1073
1073
  };
@@ -1143,36 +1143,36 @@ class eo extends Be {
1143
1143
  };
1144
1144
  }
1145
1145
  }
1146
- function io(d) {
1146
+ function ro(d) {
1147
1147
  let e = "";
1148
1148
  const t = new Uint8Array(d), i = t.length;
1149
1149
  for (let r = 0; r < i; r++)
1150
1150
  e += String.fromCharCode(t[r]);
1151
1151
  return btoa(e);
1152
1152
  }
1153
- const ro = (d) => {
1153
+ const no = (d) => {
1154
1154
  const e = {
1155
1155
  type: "input",
1156
- inputdata: io(d)
1156
+ inputdata: ro(d)
1157
1157
  };
1158
1158
  return JSON.stringify(e);
1159
1159
  };
1160
- function no(d) {
1160
+ function so(d) {
1161
1161
  return typeof d == "string" ? document.getElementById(d) : d;
1162
1162
  }
1163
1163
  globalThis.g_emitDescriptor_maxBytes = 3e4;
1164
- let so = -1;
1164
+ let oo = -1;
1165
1165
  wr.SetLoggerVerbosity(1);
1166
- class oo extends m {
1166
+ class ao extends C {
1167
1167
  constructor(t, i) {
1168
1168
  super();
1169
- v(this, "debug", !1);
1170
- v(this, "_error", this.dv(new S()));
1171
- v(this, "_connected", this.dv(new S()));
1172
- v(this, "_ueevent", this.dv(new S()));
1173
- v(this, "_pixelStream");
1169
+ g(this, "debug", !1);
1170
+ g(this, "_error", this.dv(new x()));
1171
+ g(this, "_connected", this.dv(new x()));
1172
+ g(this, "_ueevent", this.dv(new x()));
1173
+ g(this, "_pixelStream");
1174
1174
  //发送时记录消息,回调函数中对应消息后再删除
1175
- v(this, "uiInteractionCallbacks", /* @__PURE__ */ new Map());
1175
+ g(this, "uiInteractionCallbacks", /* @__PURE__ */ new Map());
1176
1176
  this._container = t, this._option = i;
1177
1177
  const r = new yr({
1178
1178
  initialSettings: {
@@ -1192,7 +1192,7 @@ class oo extends m {
1192
1192
  {
1193
1193
  const n = this.pixelStream.webSocketController.webSocket, s = this._pixelStream._webRtcController.sendMessageController.dataChannelSender.sendData;
1194
1194
  this._pixelStream._webRtcController.sendMessageController.dataChannelSender.constructor.prototype.sendData = function(o) {
1195
- n ? n.send(ro(o)) : s.call(this, o);
1195
+ n ? n.send(no(o)) : s.call(this, o);
1196
1196
  };
1197
1197
  }
1198
1198
  {
@@ -1237,7 +1237,7 @@ class oo extends m {
1237
1237
  return this._ueevent;
1238
1238
  }
1239
1239
  get container() {
1240
- return no(this._container);
1240
+ return so(this._container);
1241
1241
  }
1242
1242
  get pixelStream() {
1243
1243
  return this._pixelStream;
@@ -1265,7 +1265,7 @@ class oo extends m {
1265
1265
  //大数据拆分
1266
1266
  emitUIInteractionForBigData(t, i) {
1267
1267
  typeof i == "function" && (t.callid = M(), this.uiInteractionCallbacks.set(t.callid, i));
1268
- const r = JSON.stringify(t), n = globalThis.g_emitDescriptor_maxBytes ?? 3e4, s = r.length, o = ++so;
1268
+ const r = JSON.stringify(t), n = globalThis.g_emitDescriptor_maxBytes ?? 3e4, s = r.length, o = ++oo;
1269
1269
  if (s < n) {
1270
1270
  const f = {
1271
1271
  type: "earthsdk",
@@ -1318,12 +1318,12 @@ class oo extends m {
1318
1318
  console.log(`resizeUEVideo emitCommand ${t} ${i} begin`), this.emitCommand(r);
1319
1319
  }
1320
1320
  }
1321
- class ao extends m {
1321
+ class lo extends C {
1322
1322
  constructor(t, i, r) {
1323
1323
  super();
1324
- v(this, "_instance");
1325
- v(this, "_event", this.dv(new S()));
1326
- this._container = t, this._wsuri = i, this._esmsgWsUri = r, this._instance = this.dv(new oo(this._container, { ws: this._wsuri })), this.d(this._instance.connected.don((n) => {
1324
+ g(this, "_instance");
1325
+ g(this, "_event", this.dv(new x()));
1326
+ this._container = t, this._wsuri = i, this._esmsgWsUri = r, this._instance = this.dv(new ao(this._container, { ws: this._wsuri })), this.d(this._instance.connected.don((n) => {
1327
1327
  this._event.emit(n, n), console.log(`%c[EarthSDK] ${n}`, "background: #a6ec99; color: black");
1328
1328
  })), this.d(this._instance.error.don((n) => {
1329
1329
  this._event.emit("errorEvent", n), console.log(`%c[EarthSDK] ${n}`, "background: red; color: black");
@@ -1362,22 +1362,22 @@ class ao extends m {
1362
1362
  this._instance.resizeUEVideo(t, i);
1363
1363
  }
1364
1364
  }
1365
- class lo extends Be {
1365
+ class co extends Be {
1366
1366
  constructor(t, i, r, n) {
1367
1367
  super();
1368
- v(this, "_videoInitialized", this.dv(W(!1)));
1369
- v(this, "_webRtcConnected", this.dv(W(!1)));
1370
- v(this, "_webSocketOpen", this.dv(W(!1)));
1371
- v(this, "_ue5ViewerWrapper");
1372
- v(this, "_ueFuncResultWithIdsEvent", this.dv(new S()));
1373
- v(this, "_ueFuncWithIdAndResultCallbacks", []);
1374
- v(this, "_waitingUeFuncIdAndResultCallbacks", /* @__PURE__ */ new Map());
1375
- v(this, "_waitingUeCalls", /* @__PURE__ */ new Set());
1376
- v(this, "_ueEvent", this.dv(new S()));
1377
- v(this, "_errorEvent", this.dv(new S()));
1378
- v(this, "_readyEvent", this.dv(new S()));
1368
+ g(this, "_videoInitialized", this.dv(W(!1)));
1369
+ g(this, "_webRtcConnected", this.dv(W(!1)));
1370
+ g(this, "_webSocketOpen", this.dv(W(!1)));
1371
+ g(this, "_ue5ViewerWrapper");
1372
+ g(this, "_ueFuncResultWithIdsEvent", this.dv(new x()));
1373
+ g(this, "_ueFuncWithIdAndResultCallbacks", []);
1374
+ g(this, "_waitingUeFuncIdAndResultCallbacks", /* @__PURE__ */ new Map());
1375
+ g(this, "_waitingUeCalls", /* @__PURE__ */ new Set());
1376
+ g(this, "_ueEvent", this.dv(new x()));
1377
+ g(this, "_errorEvent", this.dv(new x()));
1378
+ g(this, "_readyEvent", this.dv(new x()));
1379
1379
  this._ueViewer = n, console.log("INNPSViewer init ! 以内置信令服务器模式启动!");
1380
- const s = this._ueViewer, o = this.dv(new ao(t, i, r));
1380
+ const s = this._ueViewer, o = this.dv(new lo(t, i, r));
1381
1381
  this._ue5ViewerWrapper = o;
1382
1382
  {
1383
1383
  const l = () => o.debug = s.debug ?? !1;
@@ -1395,8 +1395,8 @@ class lo extends Be {
1395
1395
  const c = this._ue5ViewerWrapper.instance.webSocketReady;
1396
1396
  if (this.videoInitialized && this.webRtcConnected && c) {
1397
1397
  this._ue5ViewerWrapper.instance.emitUIInteraction(), this._readyEvent.emit(), l = !0, console.log("%c[EarthSDK videoInitialized && webRtcConnected && webSocketReady]", "background: #a6ec99; color: black");
1398
- const g = { eventType: "init", params: {} };
1399
- this._ue5ViewerWrapper.emitUIInteractionForBigData(g);
1398
+ const v = { eventType: "init", params: {} };
1399
+ this._ue5ViewerWrapper.emitUIInteractionForBigData(v);
1400
1400
  } else
1401
1401
  console.warn("webSocketReady", c), l = !1;
1402
1402
  }));
@@ -1413,23 +1413,23 @@ class lo extends Be {
1413
1413
  else if (l === "ueevent") {
1414
1414
  const c = JSON.parse(u);
1415
1415
  if (c.t === "cr") {
1416
- const g = c;
1417
- if (g.frs && this._ueFuncResultWithIdsEvent.emit(g.frs), g.ers)
1418
- for (let w of g.ers)
1416
+ const v = c;
1417
+ if (v.frs && this._ueFuncResultWithIdsEvent.emit(v.frs), v.ers)
1418
+ for (let w of v.ers)
1419
1419
  this._ueEvent.emit(w);
1420
1420
  }
1421
1421
  }
1422
1422
  }));
1423
1423
  {
1424
1424
  const l = this.dv(be());
1425
- let u, c, g;
1425
+ let u, c, v;
1426
1426
  l.start(() => {
1427
- if (u !== t.offsetWidth || c !== t.offsetHeight || g !== s.resolutionScale) {
1427
+ if (u !== t.offsetWidth || c !== t.offsetHeight || v !== s.resolutionScale) {
1428
1428
  if (u = t.offsetWidth, c = t.offsetHeight, u === void 0 || c === void 0 || !Number.isFinite(u) || !Number.isFinite(c) || u < 0 || c < 0) {
1429
1429
  console.warn(`lastWidth === undefined || lastHeight === undefined || !Number.isFinite(lastWidth) || !Number.isFinite(lastHeight) || lastWidth < 0 || lastHeight < 0 ${u} ${c}`);
1430
1430
  return;
1431
1431
  }
1432
- g = s.resolutionScale, o.resize(u / g, c / g);
1432
+ v = s.resolutionScale, o.resize(u / v, c / v);
1433
1433
  }
1434
1434
  });
1435
1435
  }
@@ -1459,19 +1459,19 @@ class lo extends Be {
1459
1459
  }, f = () => {
1460
1460
  if (!this._ue5ViewerWrapper.instance.webSocketReady || this._ueFuncWithIdAndResultCallbacks.length === 0) return;
1461
1461
  const u = this._ueFuncWithIdAndResultCallbacks.map(([c]) => c);
1462
- for (const [c, g] of this._ueFuncWithIdAndResultCallbacks)
1463
- this._waitingUeFuncIdAndResultCallbacks.set(c.fid, g);
1462
+ for (const [c, v] of this._ueFuncWithIdAndResultCallbacks)
1463
+ this._waitingUeFuncIdAndResultCallbacks.set(c.fid, v);
1464
1464
  this._ueFuncWithIdAndResultCallbacks.length = 0;
1465
1465
  {
1466
- const c = globalThis.g_emitDescriptor_maxBytes, g = u.map((R) => ({ f: R, s: JSON.stringify(R).length }));
1467
- let w = g.length, y = 0, x = 0, C = [];
1466
+ const c = globalThis.g_emitDescriptor_maxBytes, v = u.map((T) => ({ f: T, s: JSON.stringify(T).length }));
1467
+ let w = v.length, y = 0, R = 0, m = [];
1468
1468
  do {
1469
1469
  do {
1470
- const { f: R, s: T } = g[y];
1471
- if (C.push(R), ++y, x + T > c || C.length >= 20)
1470
+ const { f: T, s: S } = v[y];
1471
+ if (m.push(T), ++y, R + S > c || m.length >= 20)
1472
1472
  break;
1473
1473
  } while (y < w);
1474
- C.length > 0 && (s.debug && console.log(`传送${C.length}条消息...`), a([...C]), C.length = 0, x = 0);
1474
+ m.length > 0 && (s.debug && console.log(`传送${m.length}条消息...`), a([...m]), m.length = 0, R = 0);
1475
1475
  } while (y < w);
1476
1476
  }
1477
1477
  };
@@ -1528,7 +1528,7 @@ class lo extends Be {
1528
1528
  };
1529
1529
  }
1530
1530
  }
1531
- class co extends m {
1531
+ class uo extends C {
1532
1532
  /**
1533
1533
  * Creates an instance of DLViewer.
1534
1534
  * @param {HTMLDivElement} container
@@ -1539,8 +1539,8 @@ class co extends m {
1539
1539
  */
1540
1540
  constructor(t, i, r, n) {
1541
1541
  super();
1542
- v(this, "_onRuntimeInitialized", this.dv(new S()));
1543
- v(this, "_vIframe", null);
1542
+ g(this, "_onRuntimeInitialized", this.dv(new x()));
1543
+ g(this, "_vIframe", null);
1544
1544
  this._ueViewer = n;
1545
1545
  const s = this._ueViewer;
1546
1546
  {
@@ -1568,7 +1568,7 @@ class co extends m {
1568
1568
  return this._vIframe;
1569
1569
  }
1570
1570
  }
1571
- const Ze = typeof TextDecoder < "u" ? new TextDecoder() : void 0, uo = (d, e = 0, t = NaN) => {
1571
+ const Ze = typeof TextDecoder < "u" ? new TextDecoder() : void 0, ho = (d, e = 0, t = NaN) => {
1572
1572
  const i = e + t;
1573
1573
  let r = e;
1574
1574
  for (; d[r] && !(r >= i); ) ++r;
@@ -1596,7 +1596,7 @@ const Ze = typeof TextDecoder < "u" ? new TextDecoder() : void 0, uo = (d, e = 0
1596
1596
  }
1597
1597
  return n;
1598
1598
  };
1599
- class ho extends m {
1599
+ class po extends C {
1600
1600
  constructor(e, t, i) {
1601
1601
  super();
1602
1602
  {
@@ -1623,45 +1623,45 @@ class ho extends m {
1623
1623
  } catch (n) {
1624
1624
  console.error("ueViewer propChanged:" + n);
1625
1625
  }
1626
- })), t.useCustomInteraction = !1, this.dv(new vr(t, e)), this.dv(new P(t.statusUpdateIntervalChanged, (r) => {
1626
+ })), t.useCustomInteraction = !1, this.dv(new gr(t, e)), this.dv(new P(t.statusUpdateIntervalChanged, (r) => {
1627
1627
  if ((t.statusUpdateInterval ?? 0.5) === 0) return;
1628
- const s = new m();
1628
+ const s = new C();
1629
1629
  return s.d(i.disposableOnUeEvent("statusUpdate", (o) => {
1630
1630
  t.statusUpdateEvent.emit(o);
1631
1631
  })), s;
1632
1632
  })), this.dv(new P(t.propChangedListeningChanged, () => {
1633
1633
  if (!(t.propChangedListening ?? !0)) return;
1634
- const n = new m();
1634
+ const n = new C();
1635
1635
  return n.d(i.disposableOnUeEvent("propChanged", (s) => {
1636
1636
  t.propChanged.emit(s);
1637
1637
  })), n;
1638
1638
  })), this.dv(new P(t.objectEventListeningChanged, () => {
1639
1639
  if (!(t.objectEventListening ?? !0)) return;
1640
- const n = new m();
1640
+ const n = new C();
1641
1641
  return n.d(i.disposableOnUeEvent("objectEvent", (s) => {
1642
1642
  t.objectEvent.emit(s);
1643
1643
  })), n;
1644
1644
  })), this.dv(new P(t.widgetEventListeningChanged, () => {
1645
1645
  if (!(t.widgetEventListening ?? !0)) return;
1646
- const n = new m();
1646
+ const n = new C();
1647
1647
  return n.d(i.disposableOnUeEvent("widgetEvent", (s) => {
1648
1648
  t.widgetEvent.emit(s);
1649
1649
  })), n;
1650
1650
  })), this.dv(new P(t.speechRecognitionListeningChanged, () => {
1651
1651
  if (!(t.speechRecognitionListening ?? !0)) return;
1652
- const n = new m();
1652
+ const n = new C();
1653
1653
  return n.d(i.disposableOnUeEvent("speechRecognition", (s) => {
1654
1654
  t.speechRecognition.emit(s);
1655
1655
  })), n;
1656
1656
  })), this.dv(new P(t.customMessageListeningChanged, () => {
1657
1657
  if (!(t.customMessageListening ?? !0)) return;
1658
- const n = new m();
1658
+ const n = new C();
1659
1659
  return n.d(i.disposableOnUeEvent("customMessage", (s) => {
1660
1660
  t.customMessage.emit(s);
1661
1661
  })), n;
1662
1662
  })), this.dv(new P(t.editingEventListeningChanged, () => {
1663
1663
  if (!(t.editingEventListening ?? !0)) return;
1664
- const n = new m();
1664
+ const n = new C();
1665
1665
  return n.d(i.disposableOnUeEvent("editingEvent", (s) => {
1666
1666
  s.objectIDs = s.objectIDs.map((o) => {
1667
1667
  var h;
@@ -1673,7 +1673,7 @@ class ho extends m {
1673
1673
  }));
1674
1674
  }
1675
1675
  }
1676
- let po = -1;
1676
+ let go = -1;
1677
1677
  class vo extends Be {
1678
1678
  /**
1679
1679
  * Creates an instance of H5Viewer.
@@ -1685,28 +1685,28 @@ class vo extends Be {
1685
1685
  */
1686
1686
  constructor(t, i, r = "${earthsdk3-ue-h5-assets-script-dir}", n) {
1687
1687
  super();
1688
- v(this, "_ueFuncResultWithIdsEvent", this.dv(new S()));
1689
- v(this, "_ueFuncWithIdAndResultCallbacks", []);
1690
- v(this, "_waitingUeFuncIdAndResultCallbacks", /* @__PURE__ */ new Map());
1688
+ g(this, "_ueFuncResultWithIdsEvent", this.dv(new x()));
1689
+ g(this, "_ueFuncWithIdAndResultCallbacks", []);
1690
+ g(this, "_waitingUeFuncIdAndResultCallbacks", /* @__PURE__ */ new Map());
1691
1691
  //发送时记录消息,回调函数中对应消息后再删除
1692
- v(this, "_waitingUeCalls", /* @__PURE__ */ new Map());
1693
- v(this, "_ueEvent", this.dv(new S()));
1692
+ g(this, "_waitingUeCalls", /* @__PURE__ */ new Map());
1693
+ g(this, "_ueEvent", this.dv(new x()));
1694
1694
  this._ueViewer = n;
1695
- const s = this._ueViewer, o = this.dv(new co(t, i, r, s));
1695
+ const s = this._ueViewer, o = this.dv(new uo(t, i, r, s));
1696
1696
  let h = !1, a = null;
1697
1697
  this.d(o.onRuntimeInitialized.don(() => {
1698
1698
  var u;
1699
1699
  if (h = !0, (u = o == null ? void 0 : o.vIframe) != null && u.contentWindow) {
1700
1700
  a = o.vIframe.contentWindow;
1701
1701
  const c = o.vIframe.contentWindow.document.getElementById("mainarea");
1702
- c ? this.dv(new ho(c, s, this)) : console.error("h5Container is null");
1702
+ c ? this.dv(new po(c, s, this)) : console.error("h5Container is null");
1703
1703
  } else {
1704
1704
  console.error("iframeWindow is null");
1705
1705
  return;
1706
1706
  }
1707
1707
  a.UE_JSHTML5Communication ? a.UE_JSHTML5Communication.UESendMessageToJS = (c) => {
1708
1708
  try {
1709
- const g = uo(a.HEAPU8, c), w = JSON.parse(g);
1709
+ const v = ho(a.HEAPU8, c), w = JSON.parse(v);
1710
1710
  if (s.debug && (console.group(
1711
1711
  "%cUE => JS",
1712
1712
  " background-color:#006EFF;color:#ffffff;font-weight:bold;padding:4px;border-radius:5px;"
@@ -1716,26 +1716,26 @@ class vo extends Be {
1716
1716
  ), console.groupEnd()), w.t === "cr") {
1717
1717
  const y = w;
1718
1718
  if (y.frs && this._ueFuncResultWithIdsEvent.emit(y.frs), y.ers)
1719
- for (let x of y.ers)
1720
- this._ueEvent.emit(x);
1719
+ for (let R of y.ers)
1720
+ this._ueEvent.emit(R);
1721
1721
  }
1722
1722
  w.callid && this._waitingUeCalls.has(w.callid) && (this._waitingUeCalls.delete(w.callid), console.log(`waitingUeCalls.delete:${w.callid} end`));
1723
- } catch (g) {
1724
- console.error("UE_JSHTML5Communication.UESendMessageToJS error:", g);
1723
+ } catch (v) {
1724
+ console.error("UE_JSHTML5Communication.UESendMessageToJS error:", v);
1725
1725
  }
1726
1726
  } : console.error("UE_JSHTML5Communication UESendMessageToJS not found");
1727
1727
  })), this.dispose(this._ueFuncResultWithIdsEvent.disposableOn((u) => {
1728
1728
  for (const c of u) {
1729
- const g = this._waitingUeFuncIdAndResultCallbacks.get(c.fid);
1730
- g && (this._waitingUeFuncIdAndResultCallbacks.delete(c.fid), g(c.r));
1729
+ const v = this._waitingUeFuncIdAndResultCallbacks.get(c.fid);
1730
+ v && (this._waitingUeFuncIdAndResultCallbacks.delete(c.fid), v(c.r));
1731
1731
  }
1732
1732
  }));
1733
1733
  let f = 0;
1734
1734
  const p = () => {
1735
1735
  if (!h || !a || !a.UE_JSHTML5Communication || !a.UE_JSHTML5Communication.JSSendMessageToUE || this._ueFuncWithIdAndResultCallbacks.length === 0) return;
1736
- const u = this._ueFuncWithIdAndResultCallbacks.map(([T]) => T), c = { n: f++, tt: Date.now(), t: "c", fs: u, callid: M() };
1737
- for (const [T, _] of this._ueFuncWithIdAndResultCallbacks)
1738
- this._waitingUeFuncIdAndResultCallbacks.set(T.fid, _);
1736
+ const u = this._ueFuncWithIdAndResultCallbacks.map(([S]) => S), c = { n: f++, tt: Date.now(), t: "c", fs: u, callid: M() };
1737
+ for (const [S, _] of this._ueFuncWithIdAndResultCallbacks)
1738
+ this._waitingUeFuncIdAndResultCallbacks.set(S.fid, _);
1739
1739
  this._ueFuncWithIdAndResultCallbacks.length = 0, this._waitingUeCalls.set(c.callid, c), s.debug && (console.group(
1740
1740
  "%cxe2 => ue",
1741
1741
  " background-color:green;color:#ffffff;font-weight:bold;padding:4px;border-radius:5px;"
@@ -1743,15 +1743,15 @@ class vo extends Be {
1743
1743
  `%c${JSON.stringify(c, void 0, "")}`,
1744
1744
  " border:1px dashed green;border-radius:5px;padding:10px;line-height:25px;color:green;"
1745
1745
  ), console.groupEnd());
1746
- const g = JSON.stringify(c), w = globalThis.g_emitDescriptor_maxBytes ?? 3e4, y = g.length, x = ++po;
1746
+ const v = JSON.stringify(c), w = globalThis.g_emitDescriptor_maxBytes ?? 3e4, y = v.length, R = ++go;
1747
1747
  if (y < w) {
1748
- const T = `${x}-0/1-` + g;
1749
- a.UE_JSHTML5Communication.JSSendMessageToUE(T);
1748
+ const S = `${R}-0/1-` + v;
1749
+ a.UE_JSHTML5Communication.JSSendMessageToUE(S);
1750
1750
  return;
1751
1751
  }
1752
- const C = Math.ceil(y / w) | 0;
1753
- [...new Array(C).keys()].map((T) => g.slice(T * w, (T + 1) * w)).forEach((T, _) => {
1754
- const _e = `${x}-${_}/${C}-` + T;
1752
+ const m = Math.ceil(y / w) | 0;
1753
+ [...new Array(m).keys()].map((S) => v.slice(S * w, (S + 1) * w)).forEach((S, _) => {
1754
+ const _e = `${R}-${_}/${m}-` + S;
1755
1755
  a.UE_JSHTML5Communication.JSSendMessageToUE(_e);
1756
1756
  });
1757
1757
  };
@@ -1802,15 +1802,15 @@ class vo extends Be {
1802
1802
  };
1803
1803
  }
1804
1804
  }
1805
- let go = -1;
1806
- class fo extends Be {
1805
+ let fo = -1;
1806
+ class wo extends Be {
1807
1807
  constructor(t, i) {
1808
1808
  super();
1809
- v(this, "_ueFuncResultWithIdsEvent", this.dv(new S()));
1810
- v(this, "_ueFuncWithIdAndResultCallbacks", []);
1811
- v(this, "_waitingUeFuncIdAndResultCallbacks", /* @__PURE__ */ new Map());
1812
- v(this, "_waitingUeCalls", /* @__PURE__ */ new Set());
1813
- v(this, "_ueEvent", this.dv(new S()));
1809
+ g(this, "_ueFuncResultWithIdsEvent", this.dv(new x()));
1810
+ g(this, "_ueFuncWithIdAndResultCallbacks", []);
1811
+ g(this, "_waitingUeFuncIdAndResultCallbacks", /* @__PURE__ */ new Map());
1812
+ g(this, "_waitingUeCalls", /* @__PURE__ */ new Set());
1813
+ g(this, "_ueEvent", this.dv(new x()));
1814
1814
  this._ueViewer = i;
1815
1815
  const r = this._ueViewer;
1816
1816
  let n = !1;
@@ -1855,7 +1855,7 @@ class fo extends Be {
1855
1855
  `%c${JSON.stringify(p, void 0, "")}`,
1856
1856
  " border:1px dashed green;border-radius:5px;padding:10px;line-height:25px;color:green;"
1857
1857
  ), console.groupEnd());
1858
- const l = ++go;
1858
+ const l = ++fo;
1859
1859
  globalThis.ue.es.oncommand(`${l}-0/1-` + JSON.stringify(p)).then(() => {
1860
1860
  this._waitingUeCalls.delete(p);
1861
1861
  });
@@ -1892,7 +1892,7 @@ class fo extends Be {
1892
1892
  };
1893
1893
  }
1894
1894
  }
1895
- class wo extends m {
1895
+ class yo extends C {
1896
1896
  constructor(e, t) {
1897
1897
  super();
1898
1898
  {
@@ -1921,43 +1921,43 @@ class wo extends m {
1921
1921
  }
1922
1922
  })), this.dv(new P(e.statusUpdateIntervalChanged, (i) => {
1923
1923
  if ((e.statusUpdateInterval ?? 0.5) === 0) return;
1924
- const n = new m();
1924
+ const n = new C();
1925
1925
  return n.d(t.disposableOnUeEvent("statusUpdate", (s) => {
1926
1926
  e.statusUpdateEvent.emit(s);
1927
1927
  })), n;
1928
1928
  })), this.dv(new P(e.propChangedListeningChanged, () => {
1929
1929
  if (!(e.propChangedListening ?? !0)) return;
1930
- const r = new m();
1930
+ const r = new C();
1931
1931
  return r.d(t.disposableOnUeEvent("propChanged", (n) => {
1932
1932
  e.propChanged.emit(n);
1933
1933
  })), r;
1934
1934
  })), this.dv(new P(e.objectEventListeningChanged, () => {
1935
1935
  if (!(e.objectEventListening ?? !0)) return;
1936
- const r = new m();
1936
+ const r = new C();
1937
1937
  return r.d(t.disposableOnUeEvent("objectEvent", (n) => {
1938
1938
  e.objectEvent.emit(n);
1939
1939
  })), r;
1940
1940
  })), this.dv(new P(e.widgetEventListeningChanged, () => {
1941
1941
  if (!(e.widgetEventListening ?? !0)) return;
1942
- const r = new m();
1942
+ const r = new C();
1943
1943
  return r.d(t.disposableOnUeEvent("widgetEvent", (n) => {
1944
1944
  e.widgetEvent.emit(n);
1945
1945
  })), r;
1946
1946
  })), this.dv(new P(e.speechRecognitionListeningChanged, () => {
1947
1947
  if (!(e.speechRecognitionListening ?? !0)) return;
1948
- const r = new m();
1948
+ const r = new C();
1949
1949
  return r.d(t.disposableOnUeEvent("speechRecognition", (n) => {
1950
1950
  e.speechRecognition.emit(n);
1951
1951
  })), r;
1952
1952
  })), this.dv(new P(e.customMessageListeningChanged, () => {
1953
1953
  if (!(e.customMessageListening ?? !0)) return;
1954
- const r = new m();
1954
+ const r = new C();
1955
1955
  return r.d(t.disposableOnUeEvent("customMessage", (n) => {
1956
1956
  e.customMessage.emit(n);
1957
1957
  })), r;
1958
1958
  })), this.dv(new P(e.editingEventListeningChanged, () => {
1959
1959
  if (!(e.editingEventListening ?? !0)) return;
1960
- const r = new m();
1960
+ const r = new C();
1961
1961
  return r.d(t.disposableOnUeEvent("editingEvent", (n) => {
1962
1962
  n.objectIDs = n.objectIDs.map((s) => {
1963
1963
  var o;
@@ -1969,7 +1969,7 @@ class wo extends m {
1969
1969
  }));
1970
1970
  }
1971
1971
  }
1972
- class yo extends m {
1972
+ class mo extends C {
1973
1973
  constructor(e, t, i) {
1974
1974
  super();
1975
1975
  {
@@ -2015,45 +2015,45 @@ class yo extends m {
2015
2015
  r.removeEventListener("mouseenter", s), r.removeEventListener("mouseleave", o), r.removeEventListener("mousemove", h);
2016
2016
  });
2017
2017
  }
2018
- t.useCustomInteraction = !1, this.dv(new vr(t, r)), this.dv(new P(t.statusUpdateIntervalChanged, (n) => {
2018
+ t.useCustomInteraction = !1, this.dv(new gr(t, r)), this.dv(new P(t.statusUpdateIntervalChanged, (n) => {
2019
2019
  if ((t.statusUpdateInterval ?? 0.5) === 0) return;
2020
- const o = new m();
2020
+ const o = new C();
2021
2021
  return o.d(i.disposableOnUeEvent("statusUpdate", (h) => {
2022
2022
  t.statusUpdateEvent.emit(h);
2023
2023
  })), o;
2024
2024
  })), this.dv(new P(t.propChangedListeningChanged, () => {
2025
2025
  if (!(t.propChangedListening ?? !0)) return;
2026
- const s = new m();
2026
+ const s = new C();
2027
2027
  return s.d(i.disposableOnUeEvent("propChanged", (o) => {
2028
2028
  t.propChanged.emit(o);
2029
2029
  })), s;
2030
2030
  })), this.dv(new P(t.objectEventListeningChanged, () => {
2031
2031
  if (!(t.objectEventListening ?? !0)) return;
2032
- const s = new m();
2032
+ const s = new C();
2033
2033
  return s.d(i.disposableOnUeEvent("objectEvent", (o) => {
2034
2034
  t.objectEvent.emit(o);
2035
2035
  })), s;
2036
2036
  })), this.dv(new P(t.widgetEventListeningChanged, () => {
2037
2037
  if (!(t.widgetEventListening ?? !0)) return;
2038
- const s = new m();
2038
+ const s = new C();
2039
2039
  return s.d(i.disposableOnUeEvent("widgetEvent", (o) => {
2040
2040
  t.widgetEvent.emit(o);
2041
2041
  })), s;
2042
2042
  })), this.dv(new P(t.speechRecognitionListeningChanged, () => {
2043
2043
  if (!(t.speechRecognitionListening ?? !0)) return;
2044
- const s = new m();
2044
+ const s = new C();
2045
2045
  return s.d(i.disposableOnUeEvent("speechRecognition", (o) => {
2046
2046
  t.speechRecognition.emit(o);
2047
2047
  })), s;
2048
2048
  })), this.dv(new P(t.customMessageListeningChanged, () => {
2049
2049
  if (!(t.customMessageListening ?? !0)) return;
2050
- const s = new m();
2050
+ const s = new C();
2051
2051
  return s.d(i.disposableOnUeEvent("customMessage", (o) => {
2052
2052
  t.customMessage.emit(o);
2053
2053
  })), s;
2054
2054
  })), this.dv(new P(t.editingEventListeningChanged, () => {
2055
2055
  if (!(t.editingEventListening ?? !0)) return;
2056
- const s = new m();
2056
+ const s = new C();
2057
2057
  return s.d(i.disposableOnUeEvent("editingEvent", (o) => {
2058
2058
  o.objectIDs = o.objectIDs.map((h) => {
2059
2059
  var a;
@@ -2065,10 +2065,10 @@ class yo extends m {
2065
2065
  }));
2066
2066
  }
2067
2067
  }
2068
- class mo extends m {
2068
+ class Co extends C {
2069
2069
  constructor(t, i, r) {
2070
2070
  super();
2071
- v(this, "_reconnectEvent", this.dv(new S()));
2071
+ g(this, "_reconnectEvent", this.dv(new x()));
2072
2072
  const n = (p, l) => p.hasOwnProperty(l);
2073
2073
  let s = 0, o;
2074
2074
  this.d(() => {
@@ -2077,8 +2077,8 @@ class mo extends m {
2077
2077
  const a = new URLSearchParams(globalThis.location.search).get("eswebview") === "true", f = () => {
2078
2078
  if (globalThis.ue.esinput) {
2079
2079
  r.setStatus("Creating"), console.log("存在(window.ue && window.ue.es && window.ue.esinput 需要适配新版ESWebView 鼠标穿透), 开始创建UeFalseCloudViewer..."), r.setStatusLog("开始创建本地视口...");
2080
- const p = this.dv(new fo(t, r));
2081
- this.d(() => r.viewer = void 0), r.viewer = p, r.setStatus("Created"), r.setStatusLog("本地视口创建成功!"), this.dv(new yo(t, r, p));
2080
+ const p = this.dv(new wo(t, r));
2081
+ this.d(() => r.viewer = void 0), r.viewer = p, r.setStatus("Created"), r.setStatusLog("本地视口创建成功!"), this.dv(new mo(t, r, p));
2082
2082
  } else
2083
2083
  r.setStatus("Error"), r.setStatusLog("请升级 ESWebView !"), this.d(() => r.viewer = void 0), r.viewer = void 0;
2084
2084
  };
@@ -2096,16 +2096,16 @@ class mo extends m {
2096
2096
  });
2097
2097
  const l = this.dv(Te(async (u) => {
2098
2098
  r.viewer && !r.viewer.isDestroyed() && r.viewer.destroy(), r.viewer = void 0, p && t.removeChild(p) && (p = void 0), p = document.createElement("div"), p.setAttribute("earthsdk3-ue", "earthsdk3-ue-videoContainer"), p.style.cssText = "position:relative; height: 100%;width:100%;", t.appendChild(p);
2099
- let c, g, w;
2099
+ let c, v, w;
2100
2100
  if (n(i.options, "ws")) {
2101
- const { ws: R, esmsg: T, uselnternalSignallingServer: _ } = i.options;
2102
- c = R, g = T, w = _ ?? !1;
2101
+ const { ws: T, esmsg: S, uselnternalSignallingServer: _ } = i.options;
2102
+ c = T, v = S, w = _ ?? !1;
2103
2103
  }
2104
2104
  if (n(i.options, "uri") && n(i.options, "app")) {
2105
- const { offsetWidth: R, offsetHeight: T } = p;
2105
+ const { offsetWidth: T, offsetHeight: S } = p;
2106
2106
  let { uri: _, app: _e, token: Xe } = i.options;
2107
2107
  _.endsWith("/") || (_ += "/");
2108
- const xr = Xe ? `?essstoken=${Xe}` : "", Ye = `/${_e}/${R ?? 1920}/${T ?? 1080}` + xr;
2108
+ const xr = Xe ? `?essstoken=${Xe}` : "", Ye = `/${_e}/${T ?? 1920}/${S ?? 1080}` + xr;
2109
2109
  console.log(`请求信令服务器: ${_}instance${Ye}`);
2110
2110
  const Rr = await u.promise(fetch(`${_}instance${Ye}`, { method: "GET" })), O = await u.promise(Rr.json());
2111
2111
  if (O && O.status !== "ok") {
@@ -2113,21 +2113,21 @@ class mo extends m {
2113
2113
  return;
2114
2114
  } else {
2115
2115
  console.log(`信令服务器请求成功! ${JSON.stringify(O, void 0, " ")}`), await $r(2e3);
2116
- const { server: Pr, esmsg: Lr, instanceId: kr, useInternalSignallingServer: Dr } = O;
2117
- if (!kr) {
2116
+ const { server: Pr, esmsg: Lr, instanceId: Dr, useInternalSignallingServer: kr } = O;
2117
+ if (!Dr) {
2118
2118
  r.setStatus("Error"), r.setStatusLog("检查信令服务器版本,返回数据错误! "), console.log("信令服务器返回数据错误!不包含instanceId!请升级到 ESSS V3.0+ 版本!"), this._reconnectEvent.emit(void 0);
2119
2119
  return;
2120
2120
  }
2121
- c = Pr, g = Lr, w = Dr ?? !1, r.esssResponse = O;
2121
+ c = Pr, v = Lr, w = kr ?? !1, r.esssResponse = O;
2122
2122
  }
2123
2123
  }
2124
- const y = this.dv(w ? new lo(p, c, g, r) : new eo(p, c, g, r));
2125
- this.d(() => r.viewer = void 0), this.d(y.errorEvent.don((R) => {
2126
- const T = `[${R}]:像素流连接错误!`;
2127
- r.setStatus("Error"), r.setStatusLog(T), this._reconnectEvent.emit(y);
2128
- })), await u.promise(new Promise((R) => this.d(y.readyEvent.donce(R)))), r.setStatus("Created"), r.setStatusLog("云渲染视口创建成功!"), s = 0, o && clearTimeout(o), o = void 0;
2129
- const { offsetWidth: x, offsetHeight: C } = p;
2130
- y.resize(x * globalThis.devicePixelRatio, C * globalThis.devicePixelRatio), r.viewer = y, this.d(() => r.viewer = void 0), this.dv(new wo(r, y));
2124
+ const y = this.dv(w ? new co(p, c, v, r) : new io(p, c, v, r));
2125
+ this.d(() => r.viewer = void 0), this.d(y.errorEvent.don((T) => {
2126
+ const S = `[${T}]:像素流连接错误!`;
2127
+ r.setStatus("Error"), r.setStatusLog(S), this._reconnectEvent.emit(y);
2128
+ })), await u.promise(new Promise((T) => this.d(y.readyEvent.donce(T)))), r.setStatus("Created"), r.setStatusLog("云渲染视口创建成功!"), s = 0, o && clearTimeout(o), o = void 0;
2129
+ const { offsetWidth: R, offsetHeight: m } = p;
2130
+ y.resize(R * globalThis.devicePixelRatio, m * globalThis.devicePixelRatio), r.viewer = y, this.d(() => r.viewer = void 0), this.dv(new yo(r, y));
2131
2131
  }));
2132
2132
  l.start(), this.d(this._reconnectEvent.don((u) => {
2133
2133
  o === void 0 && (u && !u.isDestroyed() && u.destroy(), r.viewer && !r.viewer.isDestroyed() && r.viewer.destroy(), r.viewer = void 0, r.autoReconnect && (r.setStatus("Reconnecting"), r.setStatusLog("正在尝试重新连接..."), s = s + 5e3 > 3e4 ? 3e4 : s + 5e3, console.warn(`间隔:${s / 1e3}s,正在尝试重新连接...`), o = globalThis.setTimeout(() => {
@@ -2148,15 +2148,15 @@ class mo extends m {
2148
2148
  const K = class K extends Ee {
2149
2149
  constructor(t) {
2150
2150
  super(t);
2151
- v(this, "_viewer", this.dv(W(void 0)));
2152
- v(this, "_esssResponse");
2153
- v(this, "_speechRecognition", this.dv(new S()));
2154
- v(this, "_propChanged", this.dv(new S()));
2155
- v(this, "_objectEvent", this.dv(new S()));
2156
- v(this, "_widgetEvent", this.dv(new S()));
2157
- v(this, "_customMessage", this.dv(new S()));
2158
- v(this, "_statusUpdateEvent", this.dv(new S()));
2159
- v(this, "_statusUpdateEventdon", (() => {
2151
+ g(this, "_viewer", this.dv(W(void 0)));
2152
+ g(this, "_esssResponse");
2153
+ g(this, "_speechRecognition", this.dv(new x()));
2154
+ g(this, "_propChanged", this.dv(new x()));
2155
+ g(this, "_objectEvent", this.dv(new x()));
2156
+ g(this, "_widgetEvent", this.dv(new x()));
2157
+ g(this, "_customMessage", this.dv(new x()));
2158
+ g(this, "_statusUpdateEvent", this.dv(new x()));
2159
+ g(this, "_statusUpdateEventdon", (() => {
2160
2160
  this.d(this.statusUpdateEvent.don((t) => {
2161
2161
  this._statusInfo.fps = t.FPS ?? 0, this._statusInfo.length = t.length ?? 0, this._statusInfo.position = t.position ?? [0, 0, 0], this._statusInfo.rotation = t.rotation ?? [0, 0, 0];
2162
2162
  }));
@@ -2167,7 +2167,7 @@ const K = class K extends Ee {
2167
2167
  this.viewerChanged.emit(this.viewer);
2168
2168
  })), this.dv(new P(this.subContainerChanged, () => {
2169
2169
  if (this.setStatus("Raw"), this.setStatusLog(""), !!this.subContainer)
2170
- return new mo(this.subContainer, i, this);
2170
+ return new Co(this.subContainer, i, this);
2171
2171
  }));
2172
2172
  }
2173
2173
  get defaultProps() {
@@ -2210,7 +2210,7 @@ const K = class K extends Ee {
2210
2210
  console.warn("UEPositionToLonLatAlt: viewer is undefined");
2211
2211
  return;
2212
2212
  }
2213
- return await Cs(this.viewer, t);
2213
+ return await Fs(this.viewer, t);
2214
2214
  }
2215
2215
  async changeNavigationMode(t) {
2216
2216
  if (!this.viewer) {
@@ -2232,98 +2232,98 @@ const K = class K extends Ee {
2232
2232
  console.warn("GetAllSocketNamesByActorTag: viewer is undefined");
2233
2233
  return;
2234
2234
  }
2235
- return await Fs(this.viewer, t);
2235
+ return await Is(this.viewer, t);
2236
2236
  }
2237
2237
  async getBoundSphere(t) {
2238
2238
  if (!this.viewer) {
2239
2239
  console.warn("getBoundSphere: viewer is undefined");
2240
2240
  return;
2241
2241
  }
2242
- return await Es(this.viewer, t);
2242
+ return await Ss(this.viewer, t);
2243
2243
  }
2244
2244
  async getBoundSphereWithChildren(t) {
2245
2245
  if (!this.viewer) {
2246
2246
  console.warn("getBoundSphereWithChildren: viewer is undefined");
2247
2247
  return;
2248
2248
  }
2249
- return await Ss(this.viewer, t);
2249
+ return await Ts(this.viewer, t);
2250
2250
  }
2251
2251
  async getStrokeMaterialParamInfo(t) {
2252
2252
  if (!this.viewer) {
2253
2253
  console.warn("GetStrokeMaterialParamInfo: viewer is undefined");
2254
2254
  return;
2255
2255
  }
2256
- return await Ts(this.viewer, t);
2256
+ return await xs(this.viewer, t);
2257
2257
  }
2258
2258
  async getFillMaterialParamInfo(t) {
2259
2259
  if (!this.viewer) {
2260
2260
  console.warn("getFillMaterialParamInfo: viewer is undefined");
2261
2261
  return;
2262
2262
  }
2263
- return await xs(this.viewer, t);
2263
+ return await Rs(this.viewer, t);
2264
2264
  }
2265
2265
  async getGlobalProperty(t) {
2266
2266
  if (!this.viewer) {
2267
2267
  console.warn("getGlobalProperty: viewer is undefined");
2268
2268
  return;
2269
2269
  }
2270
- return await Rs(this.viewer, t);
2270
+ return await Ps(this.viewer, t);
2271
2271
  }
2272
2272
  async getObjectByInfo(t) {
2273
2273
  if (!this.viewer) {
2274
2274
  console.warn("GetObjectByInfo: viewer is undefined");
2275
2275
  return;
2276
2276
  }
2277
- return await Ps(this.viewer, t);
2277
+ return await Ls(this.viewer, t);
2278
2278
  }
2279
2279
  async defaultCameraFlyIn(t = 1) {
2280
2280
  if (!this.viewer) {
2281
2281
  console.warn("DefaultCameraFlyIn: viewer is undefined");
2282
2282
  return;
2283
2283
  }
2284
- return await jn(this.viewer, t);
2284
+ return await ts(this.viewer, t);
2285
2285
  }
2286
2286
  async startVoice() {
2287
2287
  if (!this.viewer) {
2288
2288
  console.warn("startVoice:viewer is undefined");
2289
2289
  return;
2290
2290
  }
2291
- return await ts(this.viewer);
2291
+ return await es(this.viewer);
2292
2292
  }
2293
2293
  async stopVoice() {
2294
2294
  if (!this.viewer) {
2295
2295
  console.warn("startVoice:viewer is undefined");
2296
2296
  return;
2297
2297
  }
2298
- return await es(this.viewer);
2298
+ return await is(this.viewer);
2299
2299
  }
2300
2300
  async mountPakFiles(t) {
2301
2301
  if (!this.viewer) {
2302
2302
  console.warn("mountPakFiles:viewer is undefined");
2303
2303
  return;
2304
2304
  }
2305
- return await is(this.viewer, t);
2305
+ return await rs(this.viewer, t);
2306
2306
  }
2307
2307
  async generateMemReport() {
2308
2308
  if (!this.viewer) {
2309
2309
  console.warn("generateMemReport:viewer is undefined");
2310
2310
  return;
2311
2311
  }
2312
- return await rs(this.viewer);
2312
+ return await ns(this.viewer);
2313
2313
  }
2314
2314
  async quit() {
2315
2315
  if (!this.viewer) {
2316
2316
  console.warn("Quit: viewer is undefined");
2317
2317
  return;
2318
2318
  }
2319
- return await hs(this.viewer);
2319
+ return await ps(this.viewer);
2320
2320
  }
2321
2321
  async bindActorByTag(t, i) {
2322
2322
  if (!this.viewer) {
2323
2323
  console.warn("BindActorByTag: viewer is undefined");
2324
2324
  return;
2325
2325
  }
2326
- return await Ls(this.viewer, t, i);
2326
+ return await Ds(this.viewer, t, i);
2327
2327
  }
2328
2328
  async restoreOriginalScene() {
2329
2329
  if (!this.viewer) {
@@ -2337,70 +2337,70 @@ const K = class K extends Ee {
2337
2337
  console.warn("UnBindActorByID: viewer is undefined");
2338
2338
  return;
2339
2339
  }
2340
- return await Ds(this.viewer, t);
2340
+ return await Bs(this.viewer, t);
2341
2341
  }
2342
2342
  async unBindActorByTag(t) {
2343
2343
  if (!this.viewer) {
2344
2344
  console.warn("UnBindActorByTag: viewer is undefined");
2345
2345
  return;
2346
2346
  }
2347
- return await Bs(this.viewer, t);
2347
+ return await _s(this.viewer, t);
2348
2348
  }
2349
2349
  async createActorByClass(t, i) {
2350
2350
  if (!this.viewer) {
2351
2351
  console.warn("CreateActorByClass: viewer is undefined");
2352
2352
  return;
2353
2353
  }
2354
- return await _s(this.viewer, t, i);
2354
+ return await Ms(this.viewer, t, i);
2355
2355
  }
2356
2356
  async bind3DTilesetByTag(t, i) {
2357
2357
  if (!this.viewer) {
2358
2358
  console.warn("Bind3DTilesetByTag: viewer is undefined");
2359
2359
  return;
2360
2360
  }
2361
- return await Ms(this.viewer, t, i);
2361
+ return await $s(this.viewer, t, i);
2362
2362
  }
2363
2363
  async unBind3DTilesetByTag(t) {
2364
2364
  if (!this.viewer) {
2365
2365
  console.warn("UnBind3DTilesetByTag: viewer is undefined");
2366
2366
  return;
2367
2367
  }
2368
- return await $s(this.viewer, t);
2368
+ return await Ws(this.viewer, t);
2369
2369
  }
2370
2370
  async unBind3DTilesetById(t) {
2371
2371
  if (!this.viewer) {
2372
2372
  console.warn("UnBind3DTilesetById: viewer is undefined");
2373
2373
  return;
2374
2374
  }
2375
- return await Ws(this.viewer, t);
2375
+ return await As(this.viewer, t);
2376
2376
  }
2377
2377
  async bindImageryByTag(t, i, r) {
2378
2378
  if (!this.viewer) {
2379
2379
  console.warn("BindImageryByTag: viewer is undefined");
2380
2380
  return;
2381
2381
  }
2382
- return await As(this.viewer, t, i, r);
2382
+ return await Us(this.viewer, t, i, r);
2383
2383
  }
2384
2384
  async unBindImageryByTag(t, i) {
2385
2385
  if (!this.viewer) {
2386
2386
  console.warn("UnBindImageryByTag: viewer is undefined");
2387
2387
  return;
2388
2388
  }
2389
- return await Us(this.viewer, t, i);
2389
+ return await Ns(this.viewer, t, i);
2390
2390
  }
2391
2391
  async unBindImageryById(t) {
2392
2392
  if (!this.viewer) {
2393
2393
  console.warn("UnBindImageryById: viewer is undefined");
2394
2394
  return;
2395
2395
  }
2396
- return await Ns(this.viewer, t);
2396
+ return await zs(this.viewer, t);
2397
2397
  }
2398
2398
  async getIdByComponentNameAndHitItem(t, i, r) {
2399
2399
  if (!this.viewer) {
2400
2400
  console.warn("GetIdByComponentNameAndHitItem: viewer is undefined");
2401
2401
  return;
2402
2402
  }
2403
- return await zs(this.viewer, t, i, r);
2403
+ return await bs(this.viewer, t, i, r);
2404
2404
  }
2405
2405
  /**
2406
2406
  * @returns Promise(高度)
@@ -2412,7 +2412,7 @@ const K = class K extends Ee {
2412
2412
  console.warn("GetCameraRelativeHeight: viewer is undefined");
2413
2413
  return;
2414
2414
  }
2415
- return await bs(this.viewer, t);
2415
+ return await Hs(this.viewer, t);
2416
2416
  }
2417
2417
  /**
2418
2418
  * 保存str到指定目录下
@@ -2424,28 +2424,28 @@ const K = class K extends Ee {
2424
2424
  console.warn("SaveStringToFile: viewer is undefined");
2425
2425
  return;
2426
2426
  }
2427
- return await Hs(this.viewer, t, i, r);
2427
+ return await Js(this.viewer, t, i, r);
2428
2428
  }
2429
2429
  async highlightActorByTag(t, i = !0) {
2430
2430
  if (!this.viewer) {
2431
2431
  console.warn("HighlightActorByTag: viewer is undefined");
2432
2432
  return;
2433
2433
  }
2434
- return await Js(this.viewer, t, i);
2434
+ return await Gs(this.viewer, t, i);
2435
2435
  }
2436
2436
  async sendCustomMessage(t) {
2437
2437
  if (!this.viewer) {
2438
2438
  console.warn("SendCustomMessage: viewer is undefined");
2439
2439
  return;
2440
2440
  }
2441
- return await Gs(this.viewer, t);
2441
+ return await Ks(this.viewer, t);
2442
2442
  }
2443
2443
  async getStatus() {
2444
2444
  if (!this.viewer) {
2445
2445
  console.warn("GetStatus:viewer is undefined");
2446
2446
  return;
2447
2447
  }
2448
- return await Ks(this.viewer);
2448
+ return await Xs(this.viewer);
2449
2449
  }
2450
2450
  /**
2451
2451
  * 获取场景中可替换的材质列表
@@ -2455,7 +2455,7 @@ const K = class K extends Ee {
2455
2455
  console.warn("GetTilesetMaterialIDList:viewer is undefined");
2456
2456
  return;
2457
2457
  }
2458
- return await qs(this.viewer);
2458
+ return await Qs(this.viewer);
2459
2459
  }
2460
2460
  //——————————————————————————————————————————
2461
2461
  //抽象函数实现------------------------------
@@ -2466,7 +2466,7 @@ const K = class K extends Ee {
2466
2466
  const [s, o] = t, { x: h, y: a } = this.container.getBoundingClientRect();
2467
2467
  n = [h + s, a + o];
2468
2468
  }
2469
- return await ps(this.viewer, n, i, r);
2469
+ return await gs(this.viewer, n, i, r);
2470
2470
  }
2471
2471
  async pickPosition(t) {
2472
2472
  if (!this.viewer) return;
@@ -2624,47 +2624,47 @@ const K = class K extends Ee {
2624
2624
  async getVersion() {
2625
2625
  const t = globalThis.g_XE3CopyRights ?? {};
2626
2626
  if (!this.viewer) return t;
2627
- const i = await Is(this.viewer);
2627
+ const i = await Es(this.viewer);
2628
2628
  return t.esforue = i, t;
2629
2629
  }
2630
2630
  async getHeightByLonLat(t, i, r = "ECC_Visibility") {
2631
2631
  if (!this.viewer) return null;
2632
- const n = await gs(this.viewer, t, i, r);
2632
+ const n = await fs(this.viewer, t, i, r);
2633
2633
  return n && n.height !== void 0 ? n.height : null;
2634
2634
  }
2635
2635
  async getHeightsByLonLats(t, i = "ECC_Visibility") {
2636
- return this.viewer ? await fs(this.viewer, t, i) : void 0;
2636
+ return this.viewer ? await ws(this.viewer, t, i) : void 0;
2637
2637
  }
2638
2638
  async capture(t = 64, i = 64) {
2639
- return this.viewer ? await ws(this.viewer, t, i) : void 0;
2639
+ return this.viewer ? await ys(this.viewer, t, i) : void 0;
2640
2640
  }
2641
2641
  async partialCapture(t, i = [64, 64]) {
2642
2642
  if (!this.viewer) {
2643
2643
  console.warn("partialCapture:viewer is undefined");
2644
2644
  return;
2645
2645
  }
2646
- return await ys(this.viewer, t, i);
2646
+ return await ms(this.viewer, t, i);
2647
2647
  }
2648
2648
  async lonLatAltToScreenPosition(t) {
2649
2649
  if (!this.viewer) return;
2650
- const i = await ms(this.viewer, t);
2650
+ const i = await Cs(this.viewer, t);
2651
2651
  return i && [i.X, i.Y];
2652
2652
  }
2653
2653
  //------------------------------抽象函数实现
2654
2654
  async setGlobalProperty(t) {
2655
2655
  if (this.viewer)
2656
- return await us(this.viewer, t);
2656
+ return await hs(this.viewer, t);
2657
2657
  }
2658
2658
  async startEditing(t, i, r) {
2659
2659
  r = Object.assign({ useKeyToSwitch: !0, callSource: "outer" }, r);
2660
2660
  const n = t.components.main ?? t;
2661
2661
  if (!n || !this.viewer || i == null) return;
2662
2662
  const s = Array.isArray(i) ? [...i] : [i];
2663
- return n.editingID = `${r.callSource}_${M()}`, await Xs(this.viewer, n.id, n.editingID, s, r.useKeyToSwitch);
2663
+ return n.editingID = `${r.callSource}_${M()}`, await Ys(this.viewer, n.id, n.editingID, s, r.useKeyToSwitch);
2664
2664
  }
2665
2665
  async stopEditing() {
2666
2666
  if (this.viewer)
2667
- return await Ys(this.viewer);
2667
+ return await Zs(this.viewer);
2668
2668
  }
2669
2669
  async moveObjects(t) {
2670
2670
  if (!this.viewer) return;
@@ -2674,10 +2674,10 @@ const K = class K extends Ee {
2674
2674
  o.editingID = r, o && i.push(o.id);
2675
2675
  }
2676
2676
  if (i.length !== 0)
2677
- return await Zs(this.viewer, i, r);
2677
+ return await qs(this.viewer, i, r);
2678
2678
  }
2679
2679
  };
2680
- v(K, "type", K.register("ESUeViewer", K)), v(K, "defaults", { ...Vn });
2680
+ g(K, "type", K.register("ESUeViewer", K)), g(K, "defaults", { ...On });
2681
2681
  let J = K;
2682
2682
  ((d) => {
2683
2683
  d.createDefaultProps = () => ({
@@ -2710,21 +2710,21 @@ class lt extends G {
2710
2710
  o.push(...this.constructor.forceUeUpdateProps);
2711
2711
  const h = e.constructor.defaults, a = { val: {} }, f = [];
2712
2712
  for (let u of o) {
2713
- const c = u + "Changed", g = e[c];
2714
- f.push(g);
2713
+ const c = u + "Changed", v = e[c];
2714
+ f.push(v);
2715
2715
  const w = n[u];
2716
2716
  if (w === null)
2717
2717
  throw console.error("vf === null error"), new Error("vf === null error");
2718
2718
  const y = () => {
2719
- const x = e[u] ?? h[u] ?? e.constructor[`default${u.charAt(0).toUpperCase() + u.slice(1)}`];
2720
- let C = w ? w(x, this, t, e) : x;
2721
- if (C === void 0) {
2719
+ const R = e[u] ?? h[u] ?? e.constructor[`default${u.charAt(0).toUpperCase() + u.slice(1)}`];
2720
+ let m = w ? w(R, this, t, e) : R;
2721
+ if (m === void 0) {
2722
2722
  console.warn(`UE自动更新的属性,不应该为undefined! 属性名:${u} 对象名:${e.name} 对象id: ${e.id}`);
2723
2723
  return;
2724
2724
  }
2725
- a.val[u] = C;
2725
+ a.val[u] = m;
2726
2726
  };
2727
- y(), this.d(g.don(y));
2727
+ y(), this.d(v.don(y));
2728
2728
  }
2729
2729
  const p = () => {
2730
2730
  i.callUeFunc({
@@ -2750,15 +2750,15 @@ class lt extends G {
2750
2750
  }
2751
2751
  }
2752
2752
  // null 表示不设置,undefined表示不做任何转换
2753
- v(lt, "propValFuncs", {
2753
+ g(lt, "propValFuncs", {
2754
2754
  ref: null,
2755
2755
  devTags: null,
2756
2756
  extras: null,
2757
2757
  execOnceFuncStr: null,
2758
2758
  updateFuncStr: null,
2759
2759
  toDestroyFuncStr: null
2760
- }), v(lt, "forceUeUpdateProps", []);
2761
- class D extends lt {
2760
+ }), g(lt, "forceUeUpdateProps", []);
2761
+ class k extends lt {
2762
2762
  constructor(e, t) {
2763
2763
  super(e, t);
2764
2764
  const i = t.viewer;
@@ -2782,7 +2782,7 @@ class D extends lt {
2782
2782
  })));
2783
2783
  }
2784
2784
  }
2785
- class E extends D {
2785
+ class E extends k {
2786
2786
  constructor(e, t) {
2787
2787
  super(e, t);
2788
2788
  const i = t.viewer;
@@ -2804,13 +2804,13 @@ class E extends D {
2804
2804
  this.d(n.don(() => {
2805
2805
  setTimeout(r, 0);
2806
2806
  })), this.d(e.smoothMoveEvent.don((h, a) => {
2807
- De(i, e.id, h, a);
2807
+ ke(i, e.id, h, a);
2808
2808
  })), this.d(e.smoothMoveWithRotationEvent.don((h, a, f) => {
2809
2809
  Pe(i, e.id, h, a, f);
2810
2810
  })), this.d(e.smoothMoveOnGroundEvent.don((h, a, f, p) => {
2811
2811
  Le(i, e.id, h, a, p, f);
2812
2812
  })), this.d(e.smoothMoveWithRotationOnGroundEvent.don((h, a, f, p, l) => {
2813
- ke(i, e.id, h, a, f, p, l);
2813
+ De(i, e.id, h, a, f, p, l);
2814
2814
  })), this.d(e.smoothMoveKeepPitchEvent.don(async (h, a) => {
2815
2815
  const f = await i.callUeFunc({
2816
2816
  f: "SmoothMoveKeepPitch",
@@ -2859,7 +2859,7 @@ class E extends D {
2859
2859
  }));
2860
2860
  }
2861
2861
  }
2862
- class B extends D {
2862
+ class B extends k {
2863
2863
  constructor(e, t) {
2864
2864
  super(e, t);
2865
2865
  const i = t.viewer;
@@ -2881,8 +2881,8 @@ class B extends D {
2881
2881
  }));
2882
2882
  }
2883
2883
  }
2884
- v(B, "propValFuncs", {
2885
- ...D.propValFuncs,
2884
+ g(B, "propValFuncs", {
2885
+ ...k.propValFuncs,
2886
2886
  pointStyle: (e) => ({
2887
2887
  ...e,
2888
2888
  materialParams: JSON.stringify(e.materialParams ?? {})
@@ -2910,7 +2910,7 @@ class Tr extends E {
2910
2910
  super(e, t), t.viewer;
2911
2911
  }
2912
2912
  }
2913
- v(Tr, "propValFuncs", {
2913
+ g(Tr, "propValFuncs", {
2914
2914
  ...E.propValFuncs,
2915
2915
  pointStyle: (e) => ({
2916
2916
  ...e,
@@ -2946,8 +2946,8 @@ const qe = (d) => {
2946
2946
  }, ut = class ut extends G {
2947
2947
  constructor(t, i) {
2948
2948
  super(t, i);
2949
- v(this, "_styleColor", this.dv(W([])));
2950
- v(this, "_styleVisable", this.dv(W([])));
2949
+ g(this, "_styleColor", this.dv(W([])));
2950
+ g(this, "_styleVisable", this.dv(W([])));
2951
2951
  const r = i.viewer;
2952
2952
  if (!r) {
2953
2953
  console.warn("UeES3DTileset: viewer is undefined!");
@@ -3060,21 +3060,21 @@ const qe = (d) => {
3060
3060
  if (n !== c && await u.promise(f()), n !== void 0 || c === void 0) return;
3061
3061
  try {
3062
3062
  n = c;
3063
- const g = await u.promise(i.bind3DTilesetByTag(t.id, c));
3064
- if (!g) return;
3065
- if (g.error !== "") {
3066
- console.warn(`UeES3DTileset Bind3DTilesetByTag: ${g.error}`);
3063
+ const v = await u.promise(i.bind3DTilesetByTag(t.id, c));
3064
+ if (!v) return;
3065
+ if (v.error !== "") {
3066
+ console.warn(`UeES3DTileset Bind3DTilesetByTag: ${v.error}`);
3067
3067
  return;
3068
3068
  }
3069
- if (g.re.type !== 0)
3070
- if (g.re.type === 1)
3071
- console.warn(`UeES3DTileset Bind3DTilesetByTag: ${qe(g.re.type)}`);
3069
+ if (v.re.type !== 0)
3070
+ if (v.re.type === 1)
3071
+ console.warn(`UeES3DTileset Bind3DTilesetByTag: ${qe(v.re.type)}`);
3072
3072
  else {
3073
- console.warn(`UeES3DTileset Bind3DTilesetByTag: ${qe(g.re.type)}`);
3073
+ console.warn(`UeES3DTileset Bind3DTilesetByTag: ${qe(v.re.type)}`);
3074
3074
  return;
3075
3075
  }
3076
- } catch (g) {
3077
- console.warn(`UeES3DTileset Bind3DTilesetByTag: ${g}`);
3076
+ } catch (v) {
3077
+ console.warn(`UeES3DTileset Bind3DTilesetByTag: ${v}`);
3078
3078
  return;
3079
3079
  }
3080
3080
  } else if (a.value.type === "CreatedUrl") {
@@ -3082,20 +3082,20 @@ const qe = (d) => {
3082
3082
  if (c !== s && await f(), s !== void 0 || c === void 0) return;
3083
3083
  try {
3084
3084
  s = c;
3085
- const g = await u.promise(r.callUeFunc({
3085
+ const v = await u.promise(r.callUeFunc({
3086
3086
  f: "create",
3087
3087
  p: {
3088
3088
  type: t.typeName,
3089
3089
  id: t.id
3090
3090
  }
3091
3091
  }));
3092
- if (!g) return;
3093
- if (g.error !== "") {
3094
- console.warn(`UeES3DTileset create: ${g.error}`);
3092
+ if (!v) return;
3093
+ if (v.error !== "") {
3094
+ console.warn(`UeES3DTileset create: ${v.error}`);
3095
3095
  return;
3096
3096
  }
3097
- } catch (g) {
3098
- console.warn(`UeES3DTileset create: ${g}`);
3097
+ } catch (v) {
3098
+ console.warn(`UeES3DTileset create: ${v}`);
3099
3099
  return;
3100
3100
  }
3101
3101
  }
@@ -3106,7 +3106,7 @@ const qe = (d) => {
3106
3106
  l(), this.d(a.changed.don(l));
3107
3107
  }
3108
3108
  this.d(t.refreshTilesetEvent.don(() => {
3109
- On(r, t.id);
3109
+ jn(r, t.id);
3110
3110
  })), this.d(t.flyToEvent.don(async (p, l) => {
3111
3111
  if (!n && !s) return;
3112
3112
  const u = await we(r, t.id, p);
@@ -3129,21 +3129,21 @@ const qe = (d) => {
3129
3129
  !n && !s || p.id !== t.id || p.type !== "3DTilesetReady" || t.tilesetReady.emit(p.p);
3130
3130
  }));
3131
3131
  {
3132
- const p = async (g, w) => {
3132
+ const p = async (v, w) => {
3133
3133
  if (!n && !s) return;
3134
3134
  const y = await r.callUeFunc({
3135
3135
  f: "SetFeatureColor",
3136
- p: { id: t.id, featureName: g, json: w }
3136
+ p: { id: t.id, featureName: v, json: w }
3137
3137
  });
3138
3138
  if (y && y.error !== "") {
3139
3139
  console.warn(`UeES3DTileset SetFeatureColor: ${y.error}`);
3140
3140
  return;
3141
3141
  }
3142
- }, l = async (g, w) => {
3142
+ }, l = async (v, w) => {
3143
3143
  if (!n && !s) return;
3144
3144
  const y = await r.callUeFunc({
3145
3145
  f: "SetFeatureVisable",
3146
- p: { id: t.id, featureName: g, json: w }
3146
+ p: { id: t.id, featureName: v, json: w }
3147
3147
  });
3148
3148
  if (y && y.error !== "") {
3149
3149
  console.warn(`UeES3DTileset SetFeatureVisable: ${y.error}`);
@@ -3151,35 +3151,35 @@ const qe = (d) => {
3151
3151
  }
3152
3152
  }, u = async () => {
3153
3153
  if (!n && !s) return;
3154
- const g = await r.callUeFunc({
3154
+ const v = await r.callUeFunc({
3155
3155
  f: "ResetFeatureStyle",
3156
3156
  p: { id: t.id }
3157
3157
  });
3158
- if (g && g.error !== "") {
3159
- console.warn(`UeES3DTileset ResetFeatureStyle: ${g.error}`);
3158
+ if (v && v.error !== "") {
3159
+ console.warn(`UeES3DTileset ResetFeatureStyle: ${v.error}`);
3160
3160
  return;
3161
3161
  }
3162
- }, c = async (g) => {
3162
+ }, c = async (v) => {
3163
3163
  if (!n && !s) return;
3164
3164
  const w = await r.callUeFunc({
3165
3165
  f: "SetFeatureStyle",
3166
- p: { id: t.id, json: g }
3166
+ p: { id: t.id, json: v }
3167
3167
  });
3168
3168
  if (w && w.error !== "") {
3169
3169
  console.warn(`UeES3DTileset SetFeatureStyle: ${w.error}`);
3170
3170
  return;
3171
3171
  }
3172
3172
  };
3173
- this.d(t.setFeatureColorEvent.don((g, w) => {
3173
+ this.d(t.setFeatureColorEvent.don((v, w) => {
3174
3174
  const y = [...this.styleColor, ...w];
3175
- this.styleColor = [...y], p(g, y);
3176
- })), this.d(t.setFeatureVisableEvent.don((g, w) => {
3175
+ this.styleColor = [...y], p(v, y);
3176
+ })), this.d(t.setFeatureVisableEvent.don((v, w) => {
3177
3177
  const y = [...this.styleVisable, ...w];
3178
- this.styleVisable = [...y], l(g, y);
3178
+ this.styleVisable = [...y], l(v, y);
3179
3179
  })), this.d(t.resetFeatureStyleEvent.don(() => {
3180
3180
  u(), this.styleColor = [], this.styleVisable = [];
3181
- })), this.d(t.setFeatureStyleEvent.don((g) => {
3182
- c(g);
3181
+ })), this.d(t.setFeatureStyleEvent.don((v) => {
3182
+ c(v);
3183
3183
  }));
3184
3184
  }
3185
3185
  {
@@ -3236,7 +3236,7 @@ const qe = (d) => {
3236
3236
  this._styleVisable.value = t;
3237
3237
  }
3238
3238
  };
3239
- v(ut, "type", ut.register("ESUeViewer", me.type, ut));
3239
+ g(ut, "type", ut.register("ESUeViewer", me.type, ut));
3240
3240
  let Ue = ut;
3241
3241
  const Qe = (d) => {
3242
3242
  switch (d) {
@@ -3359,11 +3359,11 @@ const Qe = (d) => {
3359
3359
  return;
3360
3360
  }
3361
3361
  if (s.value.type === "ActorTag") {
3362
- const { actorTag: c, componentTag: g } = s.value;
3362
+ const { actorTag: c, componentTag: v } = s.value;
3363
3363
  if (r !== c && await u.promise(f()), r !== void 0 || c === void 0) return;
3364
3364
  try {
3365
3365
  r = c;
3366
- const w = await u.promise(t.bindImageryByTag(e.id, c, g));
3366
+ const w = await u.promise(t.bindImageryByTag(e.id, c, v));
3367
3367
  if (!w) return;
3368
3368
  if (w.error !== "") {
3369
3369
  console.warn(`ESImageryLayer BindImageryByTag: ${w.error}`);
@@ -3385,16 +3385,16 @@ const Qe = (d) => {
3385
3385
  if (c !== n && await u.promise(f()), n !== void 0 || c === void 0) return;
3386
3386
  try {
3387
3387
  n = c;
3388
- const g = await u.promise(i.callUeFunc({
3388
+ const v = await u.promise(i.callUeFunc({
3389
3389
  f: "create",
3390
3390
  p: {
3391
3391
  type: "ESImageryLayer",
3392
3392
  id: e.id
3393
3393
  }
3394
3394
  }));
3395
- if (!g) return;
3396
- if (g.error !== "") {
3397
- console.warn(`ESImageryLayer create: ${g.error}`);
3395
+ if (!v) return;
3396
+ if (v.error !== "") {
3397
+ console.warn(`ESImageryLayer create: ${v.error}`);
3398
3398
  return;
3399
3399
  }
3400
3400
  } catch {
@@ -3431,9 +3431,9 @@ const Qe = (d) => {
3431
3431
  let c = "over";
3432
3432
  u === void 0 ? c = "error" : u.endType === 0 ? c = "over" : u.endType === 1 && (c = "cancelled"), e.flyOverEvent.emit(l, c, t);
3433
3433
  })), this.d(e.flyInEvent.don(async (p, l) => {
3434
- var g, w;
3434
+ var v, w;
3435
3435
  if (!r && !n) return;
3436
- const u = await Re(i, e.id, (g = e.flyInParam) == null ? void 0 : g.position, (w = e.flyInParam) == null ? void 0 : w.rotation, p ?? 1);
3436
+ const u = await Re(i, e.id, (v = e.flyInParam) == null ? void 0 : v.position, (w = e.flyInParam) == null ? void 0 : w.rotation, p ?? 1);
3437
3437
  let c = "over";
3438
3438
  u === void 0 ? c = "error" : u.endType === 0 ? c = "over" : u.endType === 1 && (c = "cancelled"), e.flyOverEvent.emit(l, c, t);
3439
3439
  })), this.d(e.calcFlyToParamEvent.don(() => {
@@ -3452,9 +3452,9 @@ const Qe = (d) => {
3452
3452
  }));
3453
3453
  }
3454
3454
  };
3455
- v(ht, "type", ht.register("ESUeViewer", U.type, ht));
3455
+ g(ht, "type", ht.register("ESUeViewer", U.type, ht));
3456
3456
  let Ve = ht;
3457
- const X = class X extends D {
3457
+ const X = class X extends k {
3458
3458
  constructor(e, t) {
3459
3459
  if (super(e, t), !t.viewer) {
3460
3460
  console.warn("viewer is undefined!");
@@ -3462,11 +3462,11 @@ const X = class X extends D {
3462
3462
  }
3463
3463
  }
3464
3464
  };
3465
- v(X, "type", X.register("ESUeViewer", Ur.type, X)), v(X, "forceUeUpdateProps", [
3466
- ...D.forceUeUpdateProps,
3465
+ g(X, "type", X.register("ESUeViewer", Ur.type, X)), g(X, "forceUeUpdateProps", [
3466
+ ...k.forceUeUpdateProps,
3467
3467
  "url"
3468
- ]), v(X, "propValFuncs", {
3469
- ...D.propValFuncs,
3468
+ ]), g(X, "propValFuncs", {
3469
+ ...k.propValFuncs,
3470
3470
  url: (e) => typeof e == "string" ? I.context.getStrFromEnv(e) : (e.url = I.context.getStrFromEnv(e.url), e),
3471
3471
  czmMaxzoom: null,
3472
3472
  czmMinzoom: null
@@ -3480,9 +3480,9 @@ const pt = class pt extends E {
3480
3480
  }
3481
3481
  }
3482
3482
  };
3483
- v(pt, "type", pt.register("ESUeViewer", Nr.type, pt));
3483
+ g(pt, "type", pt.register("ESUeViewer", Nr.type, pt));
3484
3484
  let je = pt;
3485
- const vt = class vt extends E {
3485
+ const gt = class gt extends E {
3486
3486
  constructor(e, t) {
3487
3487
  if (super(e, t), !t.viewer) {
3488
3488
  console.warn("viewer is undefined!");
@@ -3490,9 +3490,9 @@ const vt = class vt extends E {
3490
3490
  }
3491
3491
  }
3492
3492
  };
3493
- v(vt, "type", vt.register("ESUeViewer", zr.type, vt));
3494
- let ti = vt;
3495
- const gt = class gt extends B {
3493
+ g(gt, "type", gt.register("ESUeViewer", zr.type, gt));
3494
+ let ti = gt;
3495
+ const vt = class vt extends B {
3496
3496
  constructor(e, t) {
3497
3497
  if (super(e, t), !t.viewer) {
3498
3498
  console.warn("viewer is undefined!");
@@ -3500,8 +3500,8 @@ const gt = class gt extends B {
3500
3500
  }
3501
3501
  }
3502
3502
  };
3503
- v(gt, "type", gt.register("ESUeViewer", br.type, gt));
3504
- let $ = gt;
3503
+ g(vt, "type", vt.register("ESUeViewer", br.type, vt));
3504
+ let $ = vt;
3505
3505
  const ft = class ft extends $ {
3506
3506
  constructor(e, t) {
3507
3507
  super(e, t);
@@ -3534,7 +3534,7 @@ const ft = class ft extends $ {
3534
3534
  this.d(n.don(r)), this.d(e.createdEvent.don(r));
3535
3535
  }
3536
3536
  };
3537
- v(ft, "type", ft.register("ESUeViewer", j.type, ft));
3537
+ g(ft, "type", ft.register("ESUeViewer", j.type, ft));
3538
3538
  let ei = ft;
3539
3539
  const wt = class wt extends E {
3540
3540
  constructor(e, t) {
@@ -3544,7 +3544,7 @@ const wt = class wt extends E {
3544
3544
  }
3545
3545
  }
3546
3546
  };
3547
- v(wt, "type", wt.register("ESUeViewer", Hr.type, wt));
3547
+ g(wt, "type", wt.register("ESUeViewer", Hr.type, wt));
3548
3548
  let ii = wt;
3549
3549
  const et = class et extends E {
3550
3550
  constructor(e, t) {
@@ -3554,8 +3554,8 @@ const et = class et extends E {
3554
3554
  }
3555
3555
  }
3556
3556
  };
3557
- v(et, "type", et.register("ESUeViewer", Jr.type, et)), // null 表示不设置,undefined表示不做任何转换
3558
- v(et, "propValFuncs", {
3557
+ g(et, "type", et.register("ESUeViewer", Jr.type, et)), // null 表示不设置,undefined表示不做任何转换
3558
+ g(et, "propValFuncs", {
3559
3559
  ...E.propValFuncs,
3560
3560
  targetID: (e) => {
3561
3561
  if (!e) return "";
@@ -3584,7 +3584,7 @@ const yt = class yt extends E {
3584
3584
  }));
3585
3585
  }
3586
3586
  };
3587
- v(yt, "type", yt.register("ESUeViewer", Gr.type, yt));
3587
+ g(yt, "type", yt.register("ESUeViewer", Gr.type, yt));
3588
3588
  let ni = yt;
3589
3589
  const mt = class mt extends E {
3590
3590
  constructor(e, t) {
@@ -3594,7 +3594,7 @@ const mt = class mt extends E {
3594
3594
  }
3595
3595
  }
3596
3596
  };
3597
- v(mt, "type", mt.register("ESUeViewer", Kr.type, mt));
3597
+ g(mt, "type", mt.register("ESUeViewer", Kr.type, mt));
3598
3598
  let si = mt;
3599
3599
  const Ct = class Ct extends E {
3600
3600
  constructor(e, t) {
@@ -3604,7 +3604,7 @@ const Ct = class Ct extends E {
3604
3604
  }
3605
3605
  }
3606
3606
  };
3607
- v(Ct, "type", Ct.register("ESUeViewer", Xr.type, Ct));
3607
+ g(Ct, "type", Ct.register("ESUeViewer", Xr.type, Ct));
3608
3608
  let oi = Ct;
3609
3609
  const Ft = class Ft extends B {
3610
3610
  constructor(e, t) {
@@ -3636,7 +3636,7 @@ const Ft = class Ft extends B {
3636
3636
  this.d(n.don(r)), this.d(e.createdEvent.don(r));
3637
3637
  }
3638
3638
  };
3639
- v(Ft, "type", Ft.register("ESUeViewer", ct.type, Ft));
3639
+ g(Ft, "type", Ft.register("ESUeViewer", ct.type, Ft));
3640
3640
  let ai = Ft;
3641
3641
  const it = class it extends E {
3642
3642
  constructor(e, t) {
@@ -3646,8 +3646,8 @@ const it = class it extends E {
3646
3646
  }
3647
3647
  }
3648
3648
  };
3649
- v(it, "type", it.register("ESUeViewer", Yr.type, it)), // null 表示不设置,undefined表示不做任何转换
3650
- v(it, "propValFuncs", {
3649
+ g(it, "type", it.register("ESUeViewer", Yr.type, it)), // null 表示不设置,undefined表示不做任何转换
3650
+ g(it, "propValFuncs", {
3651
3651
  ...E.propValFuncs,
3652
3652
  targetID: (e) => {
3653
3653
  if (!e) return "";
@@ -3699,7 +3699,7 @@ const It = class It extends E {
3699
3699
  this.d(s.don(n)), this.d(e.createdEvent.don(n));
3700
3700
  }
3701
3701
  };
3702
- v(It, "type", It.register("ESUeViewer", b.type, It));
3702
+ g(It, "type", It.register("ESUeViewer", b.type, It));
3703
3703
  let di = It;
3704
3704
  const Et = class Et extends E {
3705
3705
  constructor(e, t) {
@@ -3709,7 +3709,7 @@ const Et = class Et extends E {
3709
3709
  }
3710
3710
  }
3711
3711
  };
3712
- v(Et, "type", Et.register("ESUeViewer", Zr.type, Et));
3712
+ g(Et, "type", Et.register("ESUeViewer", Zr.type, Et));
3713
3713
  let ci = Et;
3714
3714
  const St = class St extends B {
3715
3715
  constructor(e, t) {
@@ -3719,7 +3719,7 @@ const St = class St extends B {
3719
3719
  }
3720
3720
  }
3721
3721
  };
3722
- v(St, "type", St.register("ESUeViewer", qr.type, St));
3722
+ g(St, "type", St.register("ESUeViewer", qr.type, St));
3723
3723
  let ui = St;
3724
3724
  const Tt = class Tt extends B {
3725
3725
  constructor(e, t) {
@@ -3749,7 +3749,7 @@ const Tt = class Tt extends B {
3749
3749
  this.d(n.don(r)), this.d(e.createdEvent.don(r));
3750
3750
  }
3751
3751
  };
3752
- v(Tt, "type", Tt.register("ESUeViewer", Me.type, Tt));
3752
+ g(Tt, "type", Tt.register("ESUeViewer", Me.type, Tt));
3753
3753
  let hi = Tt;
3754
3754
  const xt = class xt extends Ke {
3755
3755
  constructor(e, t) {
@@ -3759,7 +3759,7 @@ const xt = class xt extends Ke {
3759
3759
  }
3760
3760
  }
3761
3761
  };
3762
- v(xt, "type", xt.register("ESUeViewer", Qr.type, xt));
3762
+ g(xt, "type", xt.register("ESUeViewer", Qr.type, xt));
3763
3763
  let Ne = xt;
3764
3764
  const Rt = class Rt extends Ne {
3765
3765
  constructor(e, t) {
@@ -3769,9 +3769,9 @@ const Rt = class Rt extends Ne {
3769
3769
  }
3770
3770
  }
3771
3771
  };
3772
- v(Rt, "type", Rt.register("ESUeViewer", Vr.type, Rt));
3772
+ g(Rt, "type", Rt.register("ESUeViewer", Vr.type, Rt));
3773
3773
  let pi = Rt;
3774
- const Pt = class Pt extends D {
3774
+ const Pt = class Pt extends k {
3775
3775
  constructor(e, t) {
3776
3776
  if (super(e, t), !t.viewer) {
3777
3777
  console.warn("viewer is undefined!");
@@ -3784,8 +3784,8 @@ const Pt = class Pt extends D {
3784
3784
  }));
3785
3785
  }
3786
3786
  };
3787
- v(Pt, "type", Pt.register("ESUeViewer", Or.type, Pt));
3788
- let vi = Pt;
3787
+ g(Pt, "type", Pt.register("ESUeViewer", Or.type, Pt));
3788
+ let gi = Pt;
3789
3789
  const rt = class rt extends $ {
3790
3790
  constructor(e, t) {
3791
3791
  if (super(e, t), !t.viewer) {
@@ -3794,7 +3794,7 @@ const rt = class rt extends $ {
3794
3794
  }
3795
3795
  }
3796
3796
  };
3797
- v(rt, "type", rt.register("ESUeViewer", jr.type, rt)), v(rt, "propValFuncs", {
3797
+ g(rt, "type", rt.register("ESUeViewer", jr.type, rt)), g(rt, "propValFuncs", {
3798
3798
  ...$.propValFuncs,
3799
3799
  targetID: (e) => {
3800
3800
  if (!e) return "";
@@ -3802,7 +3802,7 @@ v(rt, "type", rt.register("ESUeViewer", jr.type, rt)), v(rt, "propValFuncs", {
3802
3802
  return t ? (t.components.main ?? t).id : e;
3803
3803
  }
3804
3804
  });
3805
- let gi = rt;
3805
+ let vi = rt;
3806
3806
  const Lt = class Lt extends E {
3807
3807
  constructor(e, t) {
3808
3808
  if (super(e, t), !t.viewer) {
@@ -3811,9 +3811,9 @@ const Lt = class Lt extends E {
3811
3811
  }
3812
3812
  }
3813
3813
  };
3814
- v(Lt, "type", Lt.register("ESUeViewer", tn.type, Lt));
3814
+ g(Lt, "type", Lt.register("ESUeViewer", tn.type, Lt));
3815
3815
  let fi = Lt;
3816
- const kt = class kt extends D {
3816
+ const Dt = class Dt extends k {
3817
3817
  constructor(e, t) {
3818
3818
  super(e, t);
3819
3819
  const i = t.viewer;
@@ -3861,26 +3861,26 @@ const kt = class kt extends D {
3861
3861
  this.d(s.don(n)), this.d(e.createdEvent.don(n));
3862
3862
  }
3863
3863
  };
3864
- v(kt, "type", kt.register("ESUeViewer", N.type, kt));
3865
- let wi = kt;
3866
- const Dt = class Dt extends G {
3864
+ g(Dt, "type", Dt.register("ESUeViewer", N.type, Dt));
3865
+ let wi = Dt;
3866
+ const kt = class kt extends G {
3867
3867
  constructor(e, t) {
3868
- super(e, t), this.ad(new P(e.renderInUEChanged, () => e.renderInUE ? new Fo(e, t) : new Co(e, t)));
3868
+ super(e, t), this.ad(new P(e.renderInUEChanged, () => e.renderInUE ? new Io(e, t) : new Fo(e, t)));
3869
3869
  }
3870
3870
  };
3871
- v(Dt, "type", Dt.register("ESUeViewer", Ce.type, Dt));
3872
- let yi = Dt;
3873
- class Co extends m {
3871
+ g(kt, "type", kt.register("ESUeViewer", Ce.type, kt));
3872
+ let yi = kt;
3873
+ class Fo extends C {
3874
3874
  constructor(t, i) {
3875
3875
  super();
3876
- v(this, "_screenPosition", this.disposeVar(pr(void 0)));
3876
+ g(this, "_screenPosition", this.disposeVar(pr(void 0)));
3877
3877
  const r = i.viewer;
3878
3878
  if (!r) {
3879
3879
  console.warn("viewer is undefined!");
3880
3880
  return;
3881
3881
  }
3882
- const n = this.disposeVar(new gr());
3883
- n.parentID = t.id, t.components.disposableAdd(n, !0), n.show = !1, this.dispose(k([n, "position"], [t, "position"])), this.dispose(k([n, "rotation"], [t, "rotation"])), this.dispose(k([n, "flyToParam"], [t, "flyToParam"])), this.dispose(k([n, "flyInParam"], [t, "flyInParam"])), this.dispose(t.calcFlyToParamEvent.disposableOn(() => {
3882
+ const n = this.disposeVar(new vr());
3883
+ n.parentID = t.id, this.ad(t.components.disposableAdd(n, !0)), n.show = !1, this.dispose(D([n, "position"], [t, "position"])), this.dispose(D([n, "rotation"], [t, "rotation"])), this.dispose(D([n, "flyToParam"], [t, "flyToParam"])), this.dispose(D([n, "flyInParam"], [t, "flyInParam"])), this.dispose(t.calcFlyToParamEvent.disposableOn(() => {
3884
3884
  dt(r, n.id);
3885
3885
  })), this.dispose(t.calcFlyInParamEvent.disposableOn(async () => {
3886
3886
  if (!i.actived) return;
@@ -3889,20 +3889,20 @@ class Co extends m {
3889
3889
  const { position: a, rotation: f } = h;
3890
3890
  t.flyInParam = { position: a, rotation: f, flyDuration: 1 };
3891
3891
  })), this.dispose(t.smoothMoveEvent.disposableOn((h, a) => {
3892
- De(r, n.id, h, a);
3892
+ ke(r, n.id, h, a);
3893
3893
  })), this.dispose(t.smoothMoveWithRotationEvent.disposableOn((h, a, f) => {
3894
3894
  Pe(r, n.id, h, a, f);
3895
3895
  })), this.dispose(t.smoothMoveOnGroundEvent.disposableOn((h, a, f, p) => {
3896
3896
  Le(r, n.id, h, a, p, f);
3897
3897
  })), this.dispose(t.smoothMoveWithRotationOnGroundEvent.disposableOn((h, a, f, p, l) => {
3898
- ke(r, n.id, h, a, f, p, l);
3898
+ De(r, n.id, h, a, f, p, l);
3899
3899
  })), this.dispose(t.flyToEvent.disposableOn((h, a) => {
3900
3900
  n.flyTo(h);
3901
3901
  })), this.dispose(t.flyInEvent.don((h) => {
3902
3902
  n.flyIn(h);
3903
3903
  }));
3904
3904
  const s = this._screenPosition, o = this.disposeVar(new Je());
3905
- o.parentID = t.id, i.add(o), this.dispose(() => i.delete(o)), this.dispose(k([o, "allowPicking"], [t, "allowPicking"]));
3905
+ o.parentID = t.id, i.add(o), this.dispose(() => i.delete(o)), this.dispose(D([o, "allowPicking"], [t, "allowPicking"]));
3906
3906
  {
3907
3907
  const h = this.disposeVar(be()), a = () => {
3908
3908
  t.show ? h.restart(void 0, async () => {
@@ -3920,12 +3920,12 @@ class Co extends m {
3920
3920
  a(), this.dispose(t.showChanged.disposableOn(a));
3921
3921
  }
3922
3922
  {
3923
- const h = () => class extends m {
3923
+ const h = () => class extends C {
3924
3924
  constructor(l, u, c) {
3925
3925
  if (super(), this._subContainer = l, !c) return;
3926
3926
  if (!t.instanceClass)
3927
3927
  throw new Error("!sceneObject.instanceClass");
3928
- const g = new en(), w = g.element;
3928
+ const v = new en(), w = v.element;
3929
3929
  this._subContainer.appendChild(w), this.dispose(() => this._subContainer.removeChild(w)), w.onclick = (y) => {
3930
3930
  (t.allowPicking ?? !1) && t.pickedEvent.emit(new Ae(
3931
3931
  { div: w, pointerEvent: y },
@@ -3944,30 +3944,38 @@ class Co extends m {
3944
3944
  }
3945
3945
  {
3946
3946
  const y = () => {
3947
- const C = t.show;
3948
- s.value && C ? (g.show = !0, g.winPos = [...s.value]) : (g.show = !1, g.winPos = [0, 0]);
3947
+ let m = t.show;
3948
+ if (!m)
3949
+ v.show = m, v.winPos = [0, 0];
3950
+ else if (s.value) {
3951
+ const T = i.getCurrentCameraInfo(), S = rn([t.position, T.position], "NONE")[0];
3952
+ t.minVisibleDistance < t.maxVisibleDistance ? m = t.minVisibleDistance < S && S < t.maxVisibleDistance : t.maxVisibleDistance == 0 && (m = S > t.minVisibleDistance), v.show = m, v.winPos = [...s.value];
3953
+ }
3949
3954
  };
3950
3955
  y();
3951
- const x = this.disposeVar(L(
3956
+ const R = this.disposeVar(L(
3952
3957
  t.showChanged,
3953
- s.changed
3958
+ s.changed,
3959
+ i.cameraChanged,
3960
+ t.maxVisibleDistanceChanged,
3961
+ t.minVisibleDistanceChanged
3954
3962
  ));
3955
- this.dispose(x.disposableOn(y));
3963
+ this.dispose(R.disposableOn(y));
3956
3964
  }
3957
3965
  {
3958
3966
  const y = () => {
3959
- const [x, C] = t.anchor ?? Ce.defaults.anchor;
3960
- g.originRatioX = x, g.originRatioY = C;
3967
+ const [R, m] = t.anchor ?? Ce.defaults.anchor;
3968
+ v.originRatioX = R, v.originRatioY = m;
3961
3969
  };
3962
3970
  y(), this.dispose(t.anchorChanged.disposableOn(y));
3963
3971
  }
3964
3972
  {
3965
3973
  const y = () => {
3966
- g.opacity = t.opacity ?? Ce.defaults.opacity;
3974
+ v.opacity = t.opacity ?? Ce.defaults.opacity;
3967
3975
  };
3968
3976
  y(), this.dispose(t.opacityChanged.disposableOn(y));
3969
3977
  }
3970
- this.disposeVar(new t.instanceClass(g.contentDiv, t, c));
3978
+ this.disposeVar(new t.instanceClass(v.contentDiv, t, c));
3971
3979
  }
3972
3980
  }, a = () => {
3973
3981
  try {
@@ -3998,11 +4006,11 @@ class Co extends m {
3998
4006
  this._screenPosition.value = t;
3999
4007
  }
4000
4008
  }
4001
- class Fo extends m {
4009
+ class Io extends C {
4002
4010
  constructor(t, i) {
4003
4011
  super();
4004
- v(this, "_imageLabel");
4005
- v(this, "_hasClassDivAndPos", {});
4012
+ g(this, "_imageLabel");
4013
+ g(this, "_hasClassDivAndPos", {});
4006
4014
  this._imageLabel = this.dv(new fr()), this._imageLabel.isHoverZoom = !1, this._imageLabel.parentID = t.id;
4007
4015
  const r = i.viewer;
4008
4016
  if (!r) {
@@ -4010,7 +4018,7 @@ class Fo extends m {
4010
4018
  return;
4011
4019
  }
4012
4020
  const n = this._imageLabel;
4013
- t.components.disposableAdd(n, !0);
4021
+ this.ad(t.components.disposableAdd(n, !0));
4014
4022
  {
4015
4023
  const s = () => {
4016
4024
  if (!r) return;
@@ -4031,7 +4039,7 @@ class Fo extends m {
4031
4039
  ];
4032
4040
  }
4033
4041
  }
4034
- Qn(f, {
4042
+ Vn(f, {
4035
4043
  backgroundColor: null,
4036
4044
  allowTaint: !0,
4037
4045
  useCORS: !0,
@@ -4063,7 +4071,7 @@ class Fo extends m {
4063
4071
  };
4064
4072
  n.show = !1, this.ad(t.showChanged.don(s));
4065
4073
  }
4066
- this.d(F([n, "anchor"], [t, "anchor"])), this.d(k([n, "position"], [t, "position"])), this.d(k([n, "rotation"], [t, "rotation"])), this.d(k([n, "flyToParam"], [t, "flyToParam"])), this.d(k([n, "flyInParam"], [t, "flyInParam"])), this.d(k([n, "allowPicking"], [t, "allowPicking"])), this.d(k([n, "scale"], [t, "scale"])), this.d(F([n, "minVisibleDistance"], [t, "minVisibleDistance"])), this.d(F([n, "maxVisibleDistance"], [t, "maxVisibleDistance"])), this.ad(t.automaticLandingEvent.don(() => {
4074
+ this.d(F([n, "anchor"], [t, "anchor"])), this.d(D([n, "position"], [t, "position"])), this.d(D([n, "rotation"], [t, "rotation"])), this.d(D([n, "flyToParam"], [t, "flyToParam"])), this.d(D([n, "flyInParam"], [t, "flyInParam"])), this.d(D([n, "allowPicking"], [t, "allowPicking"])), this.d(D([n, "scale"], [t, "scale"])), this.d(F([n, "minVisibleDistance"], [t, "minVisibleDistance"])), this.d(F([n, "maxVisibleDistance"], [t, "maxVisibleDistance"])), this.ad(t.automaticLandingEvent.don(() => {
4067
4075
  n.automaticLanding();
4068
4076
  })), this.d(i.widgetEvent.don((s) => {
4069
4077
  if (s.objId !== this._imageLabel.id) return;
@@ -4086,13 +4094,13 @@ class Fo extends m {
4086
4094
  const { position: o, rotation: h } = s;
4087
4095
  t.flyInParam = { position: o, rotation: h, flyDuration: 1 };
4088
4096
  })), this.d(t.smoothMoveEvent.don((s, o) => {
4089
- De(r, n.id, s, o);
4097
+ ke(r, n.id, s, o);
4090
4098
  })), this.d(t.smoothMoveWithRotationEvent.don((s, o, h) => {
4091
4099
  Pe(r, n.id, s, o, h);
4092
4100
  })), this.d(t.smoothMoveOnGroundEvent.don((s, o, h, a) => {
4093
4101
  Le(r, n.id, s, o, a, h);
4094
4102
  })), this.d(t.smoothMoveWithRotationOnGroundEvent.don((s, o, h, a, f) => {
4095
- ke(r, n.id, s, o, h, a, f);
4103
+ De(r, n.id, s, o, h, a, f);
4096
4104
  })), this.d(t.flyToEvent.don((s, o) => {
4097
4105
  n.flyTo(s);
4098
4106
  })), this.d(t.flyInEvent.don((s) => {
@@ -4100,7 +4108,7 @@ class Fo extends m {
4100
4108
  }));
4101
4109
  }
4102
4110
  }
4103
- const Y = class Y extends D {
4111
+ const Y = class Y extends k {
4104
4112
  constructor(e, t) {
4105
4113
  super(e, t);
4106
4114
  const i = t.viewer;
@@ -4130,11 +4138,11 @@ const Y = class Y extends D {
4130
4138
  }));
4131
4139
  }
4132
4140
  };
4133
- v(Y, "type", Y.register("ESUeViewer", rn.type, Y)), v(Y, "forceUeUpdateProps", [
4134
- ...D.forceUeUpdateProps,
4141
+ g(Y, "type", Y.register("ESUeViewer", nn.type, Y)), g(Y, "forceUeUpdateProps", [
4142
+ ...k.forceUeUpdateProps,
4135
4143
  "url"
4136
- ]), v(Y, "propValFuncs", {
4137
- ...D.propValFuncs,
4144
+ ]), g(Y, "propValFuncs", {
4145
+ ...k.propValFuncs,
4138
4146
  url: (e) => typeof e == "string" ? I.context.getStrFromEnv(e) : e
4139
4147
  });
4140
4148
  let mi = Y;
@@ -4146,7 +4154,7 @@ const Bt = class Bt extends B {
4146
4154
  }
4147
4155
  }
4148
4156
  };
4149
- v(Bt, "type", Bt.register("ESUeViewer", nn.type, Bt));
4157
+ g(Bt, "type", Bt.register("ESUeViewer", sn.type, Bt));
4150
4158
  let ze = Bt;
4151
4159
  const _t = class _t extends B {
4152
4160
  constructor(e, t) {
@@ -4156,7 +4164,7 @@ const _t = class _t extends B {
4156
4164
  }
4157
4165
  }
4158
4166
  };
4159
- v(_t, "type", _t.register("ESUeViewer", sn.type, _t));
4167
+ g(_t, "type", _t.register("ESUeViewer", on.type, _t));
4160
4168
  let Ci = _t;
4161
4169
  const Mt = class Mt extends $ {
4162
4170
  constructor(e, t) {
@@ -4166,7 +4174,7 @@ const Mt = class Mt extends $ {
4166
4174
  }
4167
4175
  }
4168
4176
  };
4169
- v(Mt, "type", Mt.register("ESUeViewer", on.type, Mt));
4177
+ g(Mt, "type", Mt.register("ESUeViewer", an.type, Mt));
4170
4178
  let Fi = Mt;
4171
4179
  const Z = class Z extends E {
4172
4180
  constructor(e, t) {
@@ -4177,25 +4185,25 @@ const Z = class Z extends E {
4177
4185
  return;
4178
4186
  }
4179
4187
  this.d(e.setNodePositionEvent.don((r, n) => {
4180
- ls(i, e.id, r, n);
4181
- })), this.d(e.setNodeRotationEvent.don((r, n) => {
4182
4188
  ds(i, e.id, r, n);
4183
- })), this.d(e.setNodeScaleEvent.don((r, n) => {
4189
+ })), this.d(e.setNodeRotationEvent.don((r, n) => {
4184
4190
  cs(i, e.id, r, n);
4191
+ })), this.d(e.setNodeScaleEvent.don((r, n) => {
4192
+ us(i, e.id, r, n);
4185
4193
  }));
4186
4194
  }
4187
4195
  };
4188
- v(Z, "forceUeUpdateProps", [
4196
+ g(Z, "forceUeUpdateProps", [
4189
4197
  ...E.forceUeUpdateProps,
4190
4198
  "url"
4191
- ]), v(Z, "propValFuncs", {
4199
+ ]), g(Z, "propValFuncs", {
4192
4200
  ...E.propValFuncs,
4193
4201
  url: (e) => typeof e == "string" ? I.context.getStrFromEnv(Fe(e)) : (e.url = I.context.getStrFromEnv(Fe(e.url)), e),
4194
4202
  czmMaximumScale: null,
4195
4203
  czmMinimumPixelSize: null,
4196
4204
  czmNativeScale: null,
4197
4205
  czmColor: null
4198
- }), v(Z, "type", Z.register("ESUeViewer", an.type, Z));
4206
+ }), g(Z, "type", Z.register("ESUeViewer", ln.type, Z));
4199
4207
  let Ii = Z;
4200
4208
  const $t = class $t extends B {
4201
4209
  constructor(e, t) {
@@ -4205,7 +4213,7 @@ const $t = class $t extends B {
4205
4213
  }
4206
4214
  }
4207
4215
  };
4208
- v($t, "type", $t.register("ESUeViewer", ln.type, $t));
4216
+ g($t, "type", $t.register("ESUeViewer", dn.type, $t));
4209
4217
  let Ei = $t;
4210
4218
  const Wt = class Wt extends E {
4211
4219
  constructor(e, t) {
@@ -4245,7 +4253,7 @@ const Wt = class Wt extends E {
4245
4253
  }));
4246
4254
  }
4247
4255
  };
4248
- v(Wt, "type", Wt.register("ESUeViewer", dn.type, Wt));
4256
+ g(Wt, "type", Wt.register("ESUeViewer", cn.type, Wt));
4249
4257
  let Si = Wt;
4250
4258
  const q = class q extends z {
4251
4259
  constructor(e, t) {
@@ -4256,10 +4264,10 @@ const q = class q extends z {
4256
4264
  e.anchor = [0.5, 1];
4257
4265
  }
4258
4266
  };
4259
- v(q, "type", q.register("ESUeViewer", fr.type, q)), v(q, "forceUeUpdateProps", [
4267
+ g(q, "type", q.register("ESUeViewer", fr.type, q)), g(q, "forceUeUpdateProps", [
4260
4268
  ...z.forceUeUpdateProps,
4261
4269
  "url"
4262
- ]), v(q, "propValFuncs", {
4270
+ ]), g(q, "propValFuncs", {
4263
4271
  ...z.propValFuncs,
4264
4272
  url: (e) => typeof e == "string" ? I.context.getStrFromEnv(Fe(e)) : (e.url = I.context.getStrFromEnv(Fe(e.url)), e)
4265
4273
  });
@@ -4272,7 +4280,7 @@ const At = class At extends E {
4272
4280
  }
4273
4281
  }
4274
4282
  };
4275
- v(At, "type", At.register("ESUeViewer", cn.type, At));
4283
+ g(At, "type", At.register("ESUeViewer", un.type, At));
4276
4284
  let xi = At;
4277
4285
  const Ut = class Ut extends Ke {
4278
4286
  constructor(e, t) {
@@ -4282,9 +4290,9 @@ const Ut = class Ut extends Ke {
4282
4290
  }
4283
4291
  }
4284
4292
  };
4285
- v(Ut, "type", Ut.register("ESUeViewer", un.type, Ut));
4293
+ g(Ut, "type", Ut.register("ESUeViewer", hn.type, Ut));
4286
4294
  let Ri = Ut;
4287
- const Nt = class Nt extends D {
4295
+ const Nt = class Nt extends k {
4288
4296
  constructor(e, t) {
4289
4297
  if (super(e, t), !t.viewer) {
4290
4298
  console.warn("viewer is undefined!");
@@ -4292,7 +4300,7 @@ const Nt = class Nt extends D {
4292
4300
  }
4293
4301
  }
4294
4302
  };
4295
- v(Nt, "type", Nt.register("ESUeViewer", hn.type, Nt));
4303
+ g(Nt, "type", Nt.register("ESUeViewer", pn.type, Nt));
4296
4304
  let Pi = Nt;
4297
4305
  const zt = class zt extends Ke {
4298
4306
  constructor(e, t) {
@@ -4302,7 +4310,7 @@ const zt = class zt extends Ke {
4302
4310
  }
4303
4311
  }
4304
4312
  };
4305
- v(zt, "type", zt.register("ESUeViewer", pn.type, zt));
4313
+ g(zt, "type", zt.register("ESUeViewer", gn.type, zt));
4306
4314
  let Li = zt;
4307
4315
  const bt = class bt extends E {
4308
4316
  constructor(e, t) {
@@ -4312,8 +4320,8 @@ const bt = class bt extends E {
4312
4320
  }
4313
4321
  }
4314
4322
  };
4315
- v(bt, "type", bt.register("ESUeViewer", vn.type, bt));
4316
- let ki = bt;
4323
+ g(bt, "type", bt.register("ESUeViewer", vn.type, bt));
4324
+ let Di = bt;
4317
4325
  const Ht = class Ht extends E {
4318
4326
  constructor(e, t) {
4319
4327
  if (super(e, t), !t.viewer) {
@@ -4322,8 +4330,8 @@ const Ht = class Ht extends E {
4322
4330
  }
4323
4331
  }
4324
4332
  };
4325
- v(Ht, "type", Ht.register("ESUeViewer", gn.type, Ht));
4326
- let Di = Ht;
4333
+ g(Ht, "type", Ht.register("ESUeViewer", fn.type, Ht));
4334
+ let ki = Ht;
4327
4335
  const Jt = class Jt extends B {
4328
4336
  constructor(e, t) {
4329
4337
  if (super(e, t), !t.viewer) {
@@ -4332,7 +4340,7 @@ const Jt = class Jt extends B {
4332
4340
  }
4333
4341
  }
4334
4342
  };
4335
- v(Jt, "type", Jt.register("ESUeViewer", fn.type, Jt));
4343
+ g(Jt, "type", Jt.register("ESUeViewer", wn.type, Jt));
4336
4344
  let Bi = Jt;
4337
4345
  const Gt = class Gt extends ze {
4338
4346
  constructor(e, t) {
@@ -4342,7 +4350,7 @@ const Gt = class Gt extends ze {
4342
4350
  }
4343
4351
  }
4344
4352
  };
4345
- v(Gt, "type", Gt.register("ESUeViewer", wn.type, Gt));
4353
+ g(Gt, "type", Gt.register("ESUeViewer", yn.type, Gt));
4346
4354
  let _i = Gt;
4347
4355
  const Kt = class Kt extends Ue {
4348
4356
  constructor(e, t) {
@@ -4354,20 +4362,20 @@ const Kt = class Kt extends Ue {
4354
4362
  }
4355
4363
  this.d(e.highlightFeatureEvent.don((r) => {
4356
4364
  const n = typeof r == "number" ? r.toString() : r;
4357
- ns(i, e.id, n);
4365
+ ss(i, e.id, n);
4358
4366
  })), this.d(e.highlightFeatureAndFlyToEvent.don((r, n, s, o) => {
4359
4367
  const h = typeof r == "number" ? r.toString() : r;
4360
- ss(i, e.id, h, o ?? 1);
4368
+ os(i, e.id, h, o ?? 1);
4361
4369
  })), this.d(e.setLayerVisibleEvent.don((r, n) => {
4362
4370
  let s = "";
4363
- typeof n != "string" ? s = JSON.stringify(n) : s = n, os(i, e.id, s);
4371
+ typeof n != "string" ? s = JSON.stringify(n) : s = n, as(i, e.id, s);
4364
4372
  })), this.d(e.setLayerColorEvent.don((r, n) => {
4365
4373
  let s = "";
4366
- typeof n != "string" ? s = JSON.stringify(n) : s = n, as(i, e.id, s);
4374
+ typeof n != "string" ? s = JSON.stringify(n) : s = n, ls(i, e.id, s);
4367
4375
  }));
4368
4376
  }
4369
4377
  };
4370
- v(Kt, "type", Kt.register("ESUeViewer", yn.type, Kt));
4378
+ g(Kt, "type", Kt.register("ESUeViewer", mn.type, Kt));
4371
4379
  let Mi = Kt;
4372
4380
  const Xt = class Xt extends $ {
4373
4381
  constructor(e, t) {
@@ -4377,7 +4385,7 @@ const Xt = class Xt extends $ {
4377
4385
  }
4378
4386
  }
4379
4387
  };
4380
- v(Xt, "type", Xt.register("ESUeViewer", mn.type, Xt));
4388
+ g(Xt, "type", Xt.register("ESUeViewer", Cn.type, Xt));
4381
4389
  let $i = Xt;
4382
4390
  const Yt = class Yt extends z {
4383
4391
  constructor(e, t) {
@@ -4400,7 +4408,7 @@ const Yt = class Yt extends z {
4400
4408
  }));
4401
4409
  }
4402
4410
  };
4403
- v(Yt, "type", Yt.register("ESUeViewer", Cn.type, Yt));
4411
+ g(Yt, "type", Yt.register("ESUeViewer", Fn.type, Yt));
4404
4412
  let Wi = Yt;
4405
4413
  const Zt = class Zt extends E {
4406
4414
  constructor(e, t) {
@@ -4410,9 +4418,9 @@ const Zt = class Zt extends E {
4410
4418
  }
4411
4419
  }
4412
4420
  };
4413
- v(Zt, "type", Zt.register("ESUeViewer", Fn.type, Zt));
4421
+ g(Zt, "type", Zt.register("ESUeViewer", In.type, Zt));
4414
4422
  let Ai = Zt;
4415
- const Q = class Q extends D {
4423
+ const Q = class Q extends k {
4416
4424
  constructor(e, t) {
4417
4425
  if (super(e, t), !t.viewer) {
4418
4426
  console.warn("viewer is undefined!");
@@ -4420,11 +4428,11 @@ const Q = class Q extends D {
4420
4428
  }
4421
4429
  }
4422
4430
  };
4423
- v(Q, "type", Q.register("ESUeViewer", In.type, Q)), v(Q, "forceUeUpdateProps", [
4424
- ...D.forceUeUpdateProps,
4431
+ g(Q, "type", Q.register("ESUeViewer", En.type, Q)), g(Q, "forceUeUpdateProps", [
4432
+ ...k.forceUeUpdateProps,
4425
4433
  "url"
4426
- ]), v(Q, "propValFuncs", {
4427
- ...D.propValFuncs,
4434
+ ]), g(Q, "propValFuncs", {
4435
+ ...k.propValFuncs,
4428
4436
  url: (e) => typeof e == "string" ? I.context.getStrFromEnv(e) : (e.url = I.context.getStrFromEnv(e.url), e)
4429
4437
  });
4430
4438
  let Ui = Q;
@@ -4436,7 +4444,7 @@ const qt = class qt extends B {
4436
4444
  }
4437
4445
  }
4438
4446
  };
4439
- v(qt, "type", qt.register("ESUeViewer", En.type, qt));
4447
+ g(qt, "type", qt.register("ESUeViewer", Sn.type, qt));
4440
4448
  let Ni = qt;
4441
4449
  const nt = class nt extends $ {
4442
4450
  constructor(e, t) {
@@ -4446,8 +4454,8 @@ const nt = class nt extends $ {
4446
4454
  }
4447
4455
  }
4448
4456
  };
4449
- v(nt, "type", nt.register("ESUeViewer", Sn.type, nt)), // null 表示不设置,undefined表示不做任何转换
4450
- v(nt, "propValFuncs", {
4457
+ g(nt, "type", nt.register("ESUeViewer", Tn.type, nt)), // null 表示不设置,undefined表示不做任何转换
4458
+ g(nt, "propValFuncs", {
4451
4459
  ...$.propValFuncs,
4452
4460
  targetID: (e) => {
4453
4461
  if (!e) return "";
@@ -4464,7 +4472,7 @@ const Qt = class Qt extends $ {
4464
4472
  }
4465
4473
  }
4466
4474
  };
4467
- v(Qt, "type", Qt.register("ESUeViewer", Tn.type, Qt));
4475
+ g(Qt, "type", Qt.register("ESUeViewer", xn.type, Qt));
4468
4476
  let bi = Qt;
4469
4477
  const Vt = class Vt extends lt {
4470
4478
  constructor(e, t) {
@@ -4545,28 +4553,28 @@ const Vt = class Vt extends lt {
4545
4553
  }
4546
4554
  }
4547
4555
  };
4548
- v(Vt, "type", Vt.register("ESUeViewer", xn.type, Vt));
4556
+ g(Vt, "type", Vt.register("ESUeViewer", Rn.type, Vt));
4549
4557
  let Hi = Vt;
4550
- const Ot = class Ot extends D {
4558
+ const Ot = class Ot extends k {
4551
4559
  constructor(e, t) {
4552
4560
  if (super(e, t), !t.viewer) {
4553
4561
  console.warn("viewer is undefined!");
4554
4562
  return;
4555
4563
  }
4556
4564
  this.d(e.addTreesEvent.don((r) => {
4557
- Pn(t, e.id, r);
4565
+ Ln(t, e.id, r);
4558
4566
  })), this.d(e.removeAllTreesEvent.don(() => {
4559
- Ln(t, e.id);
4567
+ Dn(t, e.id);
4560
4568
  })), this.d(e.updateTreeParamsEvent.don((r) => {
4561
4569
  kn(t, e.id, r);
4562
4570
  })), this.d(e.cutDownTreesEvent.don((r, n) => {
4563
- Dn(t, e.id, r, n);
4571
+ Bn(t, e.id, r, n);
4564
4572
  })), this.d(e.growthSimulationEvent.don((r, n, s) => {
4565
- Bn(t, e.id, r, n, s);
4573
+ _n(t, e.id, r, n, s);
4566
4574
  }));
4567
4575
  }
4568
4576
  };
4569
- v(Ot, "type", Ot.register("ESUeViewer", Rn.type, Ot));
4577
+ g(Ot, "type", Ot.register("ESUeViewer", Pn.type, Ot));
4570
4578
  let Ji = Ot;
4571
4579
  const jt = class jt extends E {
4572
4580
  constructor(e, t) {
@@ -4576,7 +4584,7 @@ const jt = class jt extends E {
4576
4584
  }
4577
4585
  }
4578
4586
  };
4579
- v(jt, "type", jt.register("ESUeViewer", _n.type, jt));
4587
+ g(jt, "type", jt.register("ESUeViewer", Mn.type, jt));
4580
4588
  let Gi = jt;
4581
4589
  const te = class te extends $ {
4582
4590
  constructor(e, t) {
@@ -4603,7 +4611,7 @@ const te = class te extends $ {
4603
4611
  }));
4604
4612
  }
4605
4613
  };
4606
- v(te, "type", te.register("ESUeViewer", Mn.type, te));
4614
+ g(te, "type", te.register("ESUeViewer", $n.type, te));
4607
4615
  let Ki = te;
4608
4616
  const ee = class ee extends $ {
4609
4617
  constructor(e, t) {
@@ -4623,7 +4631,7 @@ const ee = class ee extends $ {
4623
4631
  }));
4624
4632
  }
4625
4633
  };
4626
- v(ee, "type", ee.register("ESUeViewer", $n.type, ee));
4634
+ g(ee, "type", ee.register("ESUeViewer", Wn.type, ee));
4627
4635
  let Xi = ee;
4628
4636
  const ie = class ie extends z {
4629
4637
  constructor(e, t) {
@@ -4633,7 +4641,7 @@ const ie = class ie extends z {
4633
4641
  }
4634
4642
  }
4635
4643
  };
4636
- v(ie, "type", ie.register("ESUeViewer", gr.type, ie));
4644
+ g(ie, "type", ie.register("ESUeViewer", vr.type, ie));
4637
4645
  let Yi = ie;
4638
4646
  const st = class st extends z {
4639
4647
  constructor(e, t) {
@@ -4649,7 +4657,7 @@ const st = class st extends z {
4649
4657
  }));
4650
4658
  }
4651
4659
  };
4652
- v(st, "type", st.register("ESUeViewer", Wn.type, st)), v(st, "propValFuncs", {
4660
+ g(st, "type", st.register("ESUeViewer", An.type, st)), g(st, "propValFuncs", {
4653
4661
  ...z.propValFuncs,
4654
4662
  info: (e) => JSON.stringify(e ?? {})
4655
4663
  });
@@ -4669,7 +4677,7 @@ const qi = (d) => {
4669
4677
  default:
4670
4678
  return "未知错误";
4671
4679
  }
4672
- }, Io = (d) => {
4680
+ }, Eo = (d) => {
4673
4681
  switch (d) {
4674
4682
  case 0:
4675
4683
  return "创建成功";
@@ -4765,43 +4773,43 @@ const qi = (d) => {
4765
4773
  {
4766
4774
  const l = this.dv(Te(async (c) => {
4767
4775
  if (await c.promise(f()), e.lastActorStatus = "null", p.value.type === "ActorTag") {
4768
- const { actorTag: g } = p.value;
4776
+ const { actorTag: v } = p.value;
4769
4777
  try {
4770
- const w = await c.promise(t.bindActorByTag(e.id, g));
4778
+ const w = await c.promise(t.bindActorByTag(e.id, v));
4771
4779
  if (!w) return;
4772
4780
  if (w.error !== "") {
4773
- console.warn(`${e.id} UeESUnrealActor BindActorByTag:${g},${w.error}`);
4781
+ console.warn(`${e.id} UeESUnrealActor BindActorByTag:${v},${w.error}`);
4774
4782
  return;
4775
4783
  }
4776
4784
  if (w.re.type === 0)
4777
- e.lastActorStatus = "bound", s = g;
4785
+ e.lastActorStatus = "bound", s = v;
4778
4786
  else if (w.re.type === 1)
4779
- e.lastActorStatus = "bound", s = g, console.warn(`${e.id} UeESUnrealActor BindActorByTag:${g},${qi(w.re.type)}`);
4787
+ e.lastActorStatus = "bound", s = v, console.warn(`${e.id} UeESUnrealActor BindActorByTag:${v},${qi(w.re.type)}`);
4780
4788
  else {
4781
- s = void 0, console.warn(`${e.id} UeESUnrealActor BindActorByTag error:${g}, ${qi(w.re.type)}`);
4789
+ s = void 0, console.warn(`${e.id} UeESUnrealActor BindActorByTag error:${v}, ${qi(w.re.type)}`);
4782
4790
  return;
4783
4791
  }
4784
4792
  } catch (w) {
4785
- console.warn(`${e.id} UeESUnrealActor BindActorByTag catch error:${g}, ${w}`);
4793
+ console.warn(`${e.id} UeESUnrealActor BindActorByTag catch error:${v}, ${w}`);
4786
4794
  return;
4787
4795
  }
4788
4796
  } else if (p.value.type === "ActorClass") {
4789
- const { actorClass: g } = p.value;
4797
+ const { actorClass: v } = p.value;
4790
4798
  try {
4791
- const w = await c.promise(t.createActorByClass(e.id, g));
4799
+ const w = await c.promise(t.createActorByClass(e.id, v));
4792
4800
  if (!w) return;
4793
4801
  if (w.error !== "") {
4794
- console.warn(`${e.id} UeESUnrealActor CreateActorByClass error :${g}, ${w.error}`);
4802
+ console.warn(`${e.id} UeESUnrealActor CreateActorByClass error :${v}, ${w.error}`);
4795
4803
  return;
4796
4804
  }
4797
4805
  if (w.re.type === 0)
4798
- g !== "default" && (e.lastActorStatus = "created"), o = g;
4806
+ v !== "default" && (e.lastActorStatus = "created"), o = v;
4799
4807
  else {
4800
- console.warn(`${e.id} UeESUnrealActor CreateActorByClass error type :${g},${Io(w.re.type)}`);
4808
+ console.warn(`${e.id} UeESUnrealActor CreateActorByClass error type :${v},${Eo(w.re.type)}`);
4801
4809
  return;
4802
4810
  }
4803
4811
  } catch (w) {
4804
- console.warn(`${e.id} UeESUnrealActor CreateActorByClass error catch :${g}, ${JSON.stringify(w)}`);
4812
+ console.warn(`${e.id} UeESUnrealActor CreateActorByClass error catch :${v}, ${JSON.stringify(w)}`);
4805
4813
  return;
4806
4814
  }
4807
4815
  }
@@ -4819,13 +4827,13 @@ const qi = (d) => {
4819
4827
  const c = await Sr(i, e.id, l, u);
4820
4828
  e.__callFunctionResultEvent.emit(c);
4821
4829
  })), this.d(e.smoothMoveEvent.don((l, u) => {
4822
- a() || De(i, e.id, l, u);
4830
+ a() || ke(i, e.id, l, u);
4823
4831
  })), this.d(e.smoothMoveWithRotationEvent.don((l, u, c) => {
4824
4832
  a() || Pe(i, e.id, l, u, c);
4825
- })), this.d(e.smoothMoveOnGroundEvent.don((l, u, c, g) => {
4826
- a() || Le(i, e.id, l, u, g, c);
4827
- })), this.d(e.smoothMoveWithRotationOnGroundEvent.don((l, u, c, g, w) => {
4828
- a() || ke(i, e.id, l, u, c, g, w);
4833
+ })), this.d(e.smoothMoveOnGroundEvent.don((l, u, c, v) => {
4834
+ a() || Le(i, e.id, l, u, v, c);
4835
+ })), this.d(e.smoothMoveWithRotationOnGroundEvent.don((l, u, c, v, w) => {
4836
+ a() || De(i, e.id, l, u, c, v, w);
4829
4837
  })), this.d(e.automaticLandingEvent.don((l) => {
4830
4838
  if (a()) return;
4831
4839
  const u = [e.position[0], e.position[1]];
@@ -4835,8 +4843,8 @@ const qi = (d) => {
4835
4843
  })), this.d(e.flyToEvent.don(async (l, u) => {
4836
4844
  if (a()) return;
4837
4845
  const c = await we(i, e.id, l);
4838
- let g = "over";
4839
- c === void 0 ? g = "error" : c.endType === 0 ? g = "over" : c.endType === 1 && (g = "cancelled"), e.flyOverEvent.emit(u, g, t);
4846
+ let v = "over";
4847
+ c === void 0 ? v = "error" : c.endType === 0 ? v = "over" : c.endType === 1 && (v = "cancelled"), e.flyOverEvent.emit(u, v, t);
4840
4848
  })), this.d(e.calcFlyToParamEvent.don(() => {
4841
4849
  a() || dt(i, e.id);
4842
4850
  })), this.d(e.calcFlyInParamEvent.don(async () => {
@@ -4853,7 +4861,7 @@ const qi = (d) => {
4853
4861
  }));
4854
4862
  }
4855
4863
  };
4856
- v(re, "type", re.register("ESUeViewer", $e.type, re));
4864
+ g(re, "type", re.register("ESUeViewer", $e.type, re));
4857
4865
  let Qi = re;
4858
4866
  const ne = class ne extends E {
4859
4867
  constructor(e, t) {
@@ -4863,7 +4871,7 @@ const ne = class ne extends E {
4863
4871
  }
4864
4872
  }
4865
4873
  };
4866
- v(ne, "type", ne.register("ESUeViewer", An.type, ne));
4874
+ g(ne, "type", ne.register("ESUeViewer", Un.type, ne));
4867
4875
  let Vi = ne;
4868
4876
  const se = class se extends E {
4869
4877
  constructor(e, t) {
@@ -4873,7 +4881,7 @@ const se = class se extends E {
4873
4881
  }
4874
4882
  }
4875
4883
  };
4876
- v(se, "type", se.register("ESUeViewer", Un.type, se));
4884
+ g(se, "type", se.register("ESUeViewer", Nn.type, se));
4877
4885
  let Oi = se;
4878
4886
  const oe = class oe extends B {
4879
4887
  constructor(e, t) {
@@ -4883,7 +4891,7 @@ const oe = class oe extends B {
4883
4891
  }
4884
4892
  }
4885
4893
  };
4886
- v(oe, "type", oe.register("ESUeViewer", Nn.type, oe));
4894
+ g(oe, "type", oe.register("ESUeViewer", zn.type, oe));
4887
4895
  let ji = oe;
4888
4896
  const ae = class ae extends $ {
4889
4897
  constructor(e, t) {
@@ -4910,7 +4918,7 @@ const ae = class ae extends $ {
4910
4918
  }));
4911
4919
  }
4912
4920
  };
4913
- v(ae, "type", ae.register("ESUeViewer", zn.type, ae));
4921
+ g(ae, "type", ae.register("ESUeViewer", bn.type, ae));
4914
4922
  let tr = ae;
4915
4923
  const ot = class ot extends z {
4916
4924
  constructor(e, t) {
@@ -4920,7 +4928,7 @@ const ot = class ot extends z {
4920
4928
  }
4921
4929
  }
4922
4930
  };
4923
- v(ot, "type", ot.register("ESUeViewer", bn.type, ot)), v(ot, "propValFuncs", {
4931
+ g(ot, "type", ot.register("ESUeViewer", Hn.type, ot)), g(ot, "propValFuncs", {
4924
4932
  ...z.propValFuncs,
4925
4933
  info: (e) => JSON.stringify(e ?? {})
4926
4934
  });
@@ -4938,7 +4946,7 @@ const le = class le extends G {
4938
4946
  });
4939
4947
  }
4940
4948
  };
4941
- v(le, "type", le.register("ESUeViewer", Hn.type, le));
4949
+ g(le, "type", le.register("ESUeViewer", Jn.type, le));
4942
4950
  let ir = le;
4943
4951
  I.context.getStrFromEnv(tt.defaults.imgUrl);
4944
4952
  const de = class de extends G {
@@ -4948,7 +4956,7 @@ const de = class de extends G {
4948
4956
  return;
4949
4957
  }
4950
4958
  const r = this.disposeVar(new Je());
4951
- t.add(r), this.dispose(() => t.delete(r)), this.dispose(F([r, "show"], [e, "show"])), r.instanceClass = class extends m {
4959
+ t.add(r), this.dispose(() => t.delete(r)), this.dispose(F([r, "show"], [e, "show"])), r.instanceClass = class extends C {
4952
4960
  // subContainer是外部视口的div容器,可以在这里创建自己需要的DOM元素
4953
4961
  // customDiv指向当前的CustomDiv场景对象
4954
4962
  // viewer指定当前的视口
@@ -5003,7 +5011,7 @@ const de = class de extends G {
5003
5011
  };
5004
5012
  }
5005
5013
  };
5006
- v(de, "type", de.register("ESUeViewer", tt.type, de));
5014
+ g(de, "type", de.register("ESUeViewer", tt.type, de));
5007
5015
  let rr = de;
5008
5016
  const V = class V extends B {
5009
5017
  constructor(e, t) {
@@ -5027,13 +5035,13 @@ const V = class V extends B {
5027
5035
  }
5028
5036
  }
5029
5037
  };
5030
- v(V, "type", V.register("ESUeViewer", Jn.type, V)), v(V, "forceUeUpdateProps", [
5038
+ g(V, "type", V.register("ESUeViewer", Gn.type, V)), g(V, "forceUeUpdateProps", [
5031
5039
  ...B.forceUeUpdateProps
5032
- ]), v(V, "propValFuncs", {
5040
+ ]), g(V, "propValFuncs", {
5033
5041
  ...B.propValFuncs
5034
5042
  });
5035
5043
  let nr = V;
5036
- async function Eo(d) {
5044
+ async function So(d) {
5037
5045
  navigator.clipboard.writeText(d).then(function() {
5038
5046
  console.log("复制成功");
5039
5047
  }, function(e) {
@@ -5047,7 +5055,7 @@ const ce = class ce extends G {
5047
5055
  return;
5048
5056
  }
5049
5057
  const r = this.disposeVar(new Je());
5050
- t.add(r), this.dispose(() => t.delete(r)), r.instanceClass = class extends m {
5058
+ t.add(r), this.dispose(() => t.delete(r)), r.instanceClass = class extends C {
5051
5059
  constructor(s, o, h) {
5052
5060
  if (super(), this._subContainer = s, !h || !(h instanceof J)) return;
5053
5061
  const a = document.createElement("div");
@@ -5059,7 +5067,7 @@ const ce = class ce extends G {
5059
5067
  const l = document.createElement("span");
5060
5068
  f.appendChild(l), l.addEventListener("dblclick", function() {
5061
5069
  let c = l.innerHTML;
5062
- c.startsWith("鼠标位置") && (c = c.slice(5)), Eo(c);
5070
+ c.startsWith("鼠标位置") && (c = c.slice(5)), So(c);
5063
5071
  }), l.style.cursor = "pointer", this.dispose(() => f.removeChild(l));
5064
5072
  const u = document.createElement("span");
5065
5073
  a.appendChild(u), this.dispose(() => a.removeChild(u));
@@ -5088,36 +5096,36 @@ const ce = class ce extends G {
5088
5096
  });
5089
5097
  {
5090
5098
  const c = () => {
5091
- let y = "", x = "";
5099
+ let y = "", R = "";
5092
5100
  y += `帧率:${h.getFPS().toFixed(0)}FPS`, p.innerText = y;
5093
- const C = t.getCurrentCameraInfo();
5094
- y += ` 经度: ${C.position[0].toFixed(5)}° 纬度: ${C.position[1].toFixed(5)}° 高度: ${C.position[2].toFixed(2)}米 偏航角: ${C.rotation[0].toFixed(2)}° 俯仰角: ${C.rotation[1].toFixed(2)}° 翻滚角:${C.rotation[2].toFixed(2)}° `, p.innerText = y, t.pick().then((R) => {
5095
- if (R) {
5096
- const { pickResult: T } = R;
5097
- if (T && T.position) {
5098
- const { position: _ } = T;
5099
- x += `鼠标位置:${_[0].toFixed(5)}° ${_[1].toFixed(5)}° ${_[2].toFixed(2)}m`;
5101
+ const m = t.getCurrentCameraInfo();
5102
+ y += ` 经度: ${m.position[0].toFixed(5)}° 纬度: ${m.position[1].toFixed(5)}° 高度: ${m.position[2].toFixed(2)}米 偏航角: ${m.rotation[0].toFixed(2)}° 俯仰角: ${m.rotation[1].toFixed(2)}° 翻滚角:${m.rotation[2].toFixed(2)}° `, p.innerText = y, t.pick().then((T) => {
5103
+ if (T) {
5104
+ const { pickResult: S } = T;
5105
+ if (S && S.position) {
5106
+ const { position: _ } = S;
5107
+ R += `鼠标位置:${_[0].toFixed(5)}° ${_[1].toFixed(5)}° ${_[2].toFixed(2)}m`;
5100
5108
  } else
5101
- x += "暂时无法获取鼠标位置...";
5102
- l.innerText = x;
5109
+ R += "暂时无法获取鼠标位置...";
5110
+ l.innerText = R;
5103
5111
  }
5104
- }).catch((R) => {
5105
- console.log(R);
5112
+ }).catch((T) => {
5113
+ console.log(T);
5106
5114
  });
5107
5115
  };
5108
- let g;
5116
+ let v;
5109
5117
  const w = async () => {
5110
- c(), e.show ? (a.style.display = "flex", g = setInterval(() => {
5118
+ c(), e.show ? (a.style.display = "flex", v = setInterval(() => {
5111
5119
  c();
5112
- }, 1e3)) : (a.style.display = "none", clearInterval(g));
5120
+ }, 1e3)) : (a.style.display = "none", clearInterval(v));
5113
5121
  };
5114
- this.dispose(e.showChanged.disposableOn(w)), w(), this.dispose(() => clearInterval(g));
5122
+ this.dispose(e.showChanged.disposableOn(w)), w(), this.dispose(() => clearInterval(v));
5115
5123
  }
5116
5124
  }
5117
5125
  };
5118
5126
  }
5119
5127
  };
5120
- v(ce, "type", ce.register("ESUeViewer", A.type, ce));
5128
+ g(ce, "type", ce.register("ESUeViewer", A.type, ce));
5121
5129
  let sr = ce;
5122
5130
  const ue = class ue extends E {
5123
5131
  constructor(e, t) {
@@ -5127,12 +5135,12 @@ const ue = class ue extends E {
5127
5135
  }
5128
5136
  }
5129
5137
  };
5130
- v(ue, "type", ue.register("ESUeViewer", Gn.type, ue));
5138
+ g(ue, "type", ue.register("ESUeViewer", Kn.type, ue));
5131
5139
  let or = ue;
5132
5140
  const he = class he extends lt {
5133
5141
  constructor(t, i) {
5134
5142
  super(t, i);
5135
- v(this, "_es3DTileset", this.dv(new me()));
5143
+ g(this, "_es3DTileset", this.dv(new me()));
5136
5144
  if (!i.viewer) {
5137
5145
  console.warn("viewer is undefined!");
5138
5146
  return;
@@ -5140,7 +5148,7 @@ const he = class he extends lt {
5140
5148
  this.es3DTileset.parentID = t.id;
5141
5149
  {
5142
5150
  const n = this._es3DTileset;
5143
- t.components.disposableAdd(n, !0), this.d(F([n, "allowPicking"], [t, "allowPicking"])), this.d(F([n, "collision"], [t, "collision"])), this.d(k([n, "flyToParam"], [t, "flyToParam"])), this.d(k([n, "flyToParam"], [t, "flyToParam"])), this.d(F([n, "url"], [t, "url"])), this.d(F([n, "actorTag"], [t, "actorTag"])), this.d(F([n, "materialMode"], [t, "materialMode"])), this.d(F([n, "highlight"], [t, "highlight"])), this.d(F([n, "maximumScreenSpaceError"], [t, "maximumScreenSpaceError"])), this.d(F([n, "highlightID"], [t, "highlightID"])), this.d(F([n, "highlightColor"], [t, "highlightColor"])), this.d(k([n, "offset"], [t, "offset"])), this.d(k([n, "rotation"], [t, "rotation"])), this.d(F([n, "czmImageBasedLightingFactor"], [t, "czmImageBasedLightingFactor"])), this.d(F([n, "czmLuminanceAtZenith"], [t, "czmLuminanceAtZenith"])), this.d(F([n, "czmMaximumMemoryUsage"], [t, "czmMaximumMemoryUsage"])), this.d(F([n, "czmClassificationType"], [t, "czmClassificationType"])), this.d(F([n, "czmStyleJson"], [t, "czmStyleJson"])), this.d(F([n, "czmBackFaceCulling"], [t, "czmBackFaceCulling"])), this.d(F([n, "czmDebugShowBoundingVolume"], [t, "czmDebugShowBoundingVolume"])), this.d(F([n, "czmDebugShowContentBoundingVolume"], [t, "czmDebugShowContentBoundingVolume"])), this.d(F([n, "colorBlendMode"], [t, "colorBlendMode"])), this.d(F([n, "cacheBytes"], [t, "cacheBytes"])), this.d(F([n, "clippingPlaneEnabled"], [t, "clippingPlaneEnabled"])), this.d(F([n, "unionClippingRegions"], [t, "unionClippingRegions"])), this.d(F([n, "clippingPlaneEdgeColor"], [t, "clippingPlaneEdgeColor"])), this.d(F([n, "clippingPlaneEdgeWidth"], [t, "clippingPlaneEdgeWidth"])), this.d(F([n, "materialParams"], [t, "materialParams"])), this.d(k([n, "supportEdit"], [t, "supportEdit"])), this.d(k([n, "clippingPlanesId"], [t, "clippingPlanesId"])), this.d(k([n, "clippingPlaneIds"], [t, "clippingPlaneIds"])), this.d(k([n, "flattenedPlaneId"], [t, "flattenedPlaneId"])), this.d(k([n, "flattenedPlaneEnabled"], [t, "flattenedPlaneEnabled"])), this.d(k([n, "clippingPlaneId"], [t, "clippingPlaneId"])), this.d(k([n, "excavateId"], [t, "excavateId"]));
5151
+ t.components.disposableAdd(n, !0), this.d(F([n, "allowPicking"], [t, "allowPicking"])), this.d(F([n, "collision"], [t, "collision"])), this.d(D([n, "flyToParam"], [t, "flyToParam"])), this.d(D([n, "flyToParam"], [t, "flyToParam"])), this.d(F([n, "url"], [t, "url"])), this.d(F([n, "actorTag"], [t, "actorTag"])), this.d(F([n, "materialMode"], [t, "materialMode"])), this.d(F([n, "highlight"], [t, "highlight"])), this.d(F([n, "maximumScreenSpaceError"], [t, "maximumScreenSpaceError"])), this.d(F([n, "highlightID"], [t, "highlightID"])), this.d(F([n, "highlightColor"], [t, "highlightColor"])), this.d(D([n, "offset"], [t, "offset"])), this.d(D([n, "rotation"], [t, "rotation"])), this.d(F([n, "czmImageBasedLightingFactor"], [t, "czmImageBasedLightingFactor"])), this.d(F([n, "czmLuminanceAtZenith"], [t, "czmLuminanceAtZenith"])), this.d(F([n, "czmMaximumMemoryUsage"], [t, "czmMaximumMemoryUsage"])), this.d(F([n, "czmClassificationType"], [t, "czmClassificationType"])), this.d(F([n, "czmStyleJson"], [t, "czmStyleJson"])), this.d(F([n, "czmBackFaceCulling"], [t, "czmBackFaceCulling"])), this.d(F([n, "czmDebugShowBoundingVolume"], [t, "czmDebugShowBoundingVolume"])), this.d(F([n, "czmDebugShowContentBoundingVolume"], [t, "czmDebugShowContentBoundingVolume"])), this.d(F([n, "colorBlendMode"], [t, "colorBlendMode"])), this.d(F([n, "cacheBytes"], [t, "cacheBytes"])), this.d(F([n, "clippingPlaneEnabled"], [t, "clippingPlaneEnabled"])), this.d(F([n, "unionClippingRegions"], [t, "unionClippingRegions"])), this.d(F([n, "clippingPlaneEdgeColor"], [t, "clippingPlaneEdgeColor"])), this.d(F([n, "clippingPlaneEdgeWidth"], [t, "clippingPlaneEdgeWidth"])), this.d(F([n, "materialParams"], [t, "materialParams"])), this.d(D([n, "supportEdit"], [t, "supportEdit"])), this.d(D([n, "clippingPlanesId"], [t, "clippingPlanesId"])), this.d(D([n, "clippingPlaneIds"], [t, "clippingPlaneIds"])), this.d(D([n, "flattenedPlaneId"], [t, "flattenedPlaneId"])), this.d(D([n, "flattenedPlaneEnabled"], [t, "flattenedPlaneEnabled"])), this.d(D([n, "clippingPlaneId"], [t, "clippingPlaneId"])), this.d(D([n, "excavateId"], [t, "excavateId"]));
5144
5152
  }
5145
5153
  {
5146
5154
  const n = this._es3DTileset;
@@ -5187,7 +5195,7 @@ const he = class he extends lt {
5187
5195
  return this._es3DTileset;
5188
5196
  }
5189
5197
  };
5190
- v(he, "type", he.register("ESUeViewer", Kn.type, he));
5198
+ g(he, "type", he.register("ESUeViewer", Xn.type, he));
5191
5199
  let ar = he;
5192
5200
  const pe = class pe extends lt {
5193
5201
  constructor(e, t) {
@@ -5197,9 +5205,9 @@ const pe = class pe extends lt {
5197
5205
  }
5198
5206
  }
5199
5207
  };
5200
- v(pe, "type", pe.register("ESUeViewer", Xn.type, pe));
5208
+ g(pe, "type", pe.register("ESUeViewer", Yn.type, pe));
5201
5209
  let lr = pe;
5202
- const ve = class ve extends $ {
5210
+ const ge = class ge extends $ {
5203
5211
  constructor(e, t) {
5204
5212
  super(e, t);
5205
5213
  const i = t.viewer;
@@ -5225,9 +5233,9 @@ const ve = class ve extends $ {
5225
5233
  this.dispose(n.disposableOn(r)), this.dispose(e.createdEvent.disposableOn(r));
5226
5234
  }
5227
5235
  };
5228
- v(ve, "type", ve.register("ESUeViewer", ye.type, ve));
5229
- let dr = ve;
5230
- const ge = class ge extends E {
5236
+ g(ge, "type", ge.register("ESUeViewer", ye.type, ge));
5237
+ let dr = ge;
5238
+ const ve = class ve extends E {
5231
5239
  constructor(e, t) {
5232
5240
  if (super(e, t), !t.viewer) {
5233
5241
  console.warn("viewer is undefined!");
@@ -5235,8 +5243,8 @@ const ge = class ge extends E {
5235
5243
  }
5236
5244
  }
5237
5245
  };
5238
- v(ge, "type", ge.register("ESUeViewer", Yn.type, ge));
5239
- let cr = ge;
5246
+ g(ve, "type", ve.register("ESUeViewer", Zn.type, ve));
5247
+ let cr = ve;
5240
5248
  const fe = class fe extends B {
5241
5249
  constructor(e, t) {
5242
5250
  super(e, t);
@@ -5262,10 +5270,10 @@ const fe = class fe extends B {
5262
5270
  }));
5263
5271
  }
5264
5272
  };
5265
- v(fe, "type", fe.register("ESUeViewer", Zn.type, fe));
5273
+ g(fe, "type", fe.register("ESUeViewer", qn.type, fe));
5266
5274
  let ur = fe, We;
5267
5275
  try {
5268
- const d = "earthsdk3-ue", e = "3.6.0-beta.3", t = "2025-11-20T06:27:34.000Z", i = "北京西部世界科技有限公司", r = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", n = "00281e4709820d0afa9e74bfc1a9ec2635763d41", o = ((Date.now() - 1763620054e3) / 36e5).toFixed(1), h = `%c🌏 ${d}%c ${e}.${n.slice(0, 8)}.${t} (距今${o}个小时)
5276
+ const d = "earthsdk3-ue", e = "3.6.0-beta.5", t = "2025-11-25T06:33:31.000Z", i = "北京西部世界科技有限公司", r = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", n = "fe1c7538ce865795e30f7682912d7cc6437c8240", o = ((Date.now() - 1764052411e3) / 36e5).toFixed(1), h = `%c🌏 ${d}%c ${e}.${n.slice(0, 8)}.${t} (距今${o}个小时)
5269
5277
  %c${r ? r + `
5270
5278
  ` : ""}当前网站正在使用${d},此软件版权归${i}所有
5271
5279
  `;
@@ -5279,7 +5287,7 @@ try {
5279
5287
  },
5280
5288
  // @ts-ignore
5281
5289
  get gituri() {
5282
- return GITURI_ && GITURI_.replace("${commitId}", "00281e4709820d0afa9e74bfc1a9ec2635763d41");
5290
+ return GITURI_ && GITURI_.replace("${commitId}", "fe1c7538ce865795e30f7682912d7cc6437c8240");
5283
5291
  },
5284
5292
  // @ts-ignore
5285
5293
  get info() {
@@ -5287,7 +5295,7 @@ try {
5287
5295
  },
5288
5296
  // @ts-ignore
5289
5297
  get date() {
5290
- return "2025-11-20T06:27:34.000Z";
5298
+ return "2025-11-25T06:33:31.000Z";
5291
5299
  },
5292
5300
  // @ts-ignore
5293
5301
  get author() {
@@ -5295,7 +5303,7 @@ try {
5295
5303
  },
5296
5304
  // @ts-ignore
5297
5305
  get version() {
5298
- return "3.6.0-beta.3";
5306
+ return "3.6.0-beta.5";
5299
5307
  },
5300
5308
  // @ts-ignore
5301
5309
  get name() {
@@ -5303,7 +5311,7 @@ try {
5303
5311
  },
5304
5312
  // @ts-ignore
5305
5313
  get commitId() {
5306
- return "00281e4709820d0afa9e74bfc1a9ec2635763d41";
5314
+ return "fe1c7538ce865795e30f7682912d7cc6437c8240";
5307
5315
  },
5308
5316
  print(a = !1) {
5309
5317
  !a && globalThis._xe2_no_copy_print || console.info(
@@ -5335,12 +5343,12 @@ try {
5335
5343
  }
5336
5344
  export {
5337
5345
  J as ESUeViewer,
5338
- Fo as GeoDivFromESImageLabel,
5339
- Co as GeoDivFromESTextLabel,
5340
- ss as HighlightFeatureAndFlyToCallFunc,
5341
- ns as HighlightFeatureCallFunc,
5342
- as as SetLayerColorCallFunc,
5343
- os as SetLayerVisibleCallFunc,
5346
+ Io as GeoDivFromESImageLabel,
5347
+ Fo as GeoDivFromESTextLabel,
5348
+ os as HighlightFeatureAndFlyToCallFunc,
5349
+ ss as HighlightFeatureCallFunc,
5350
+ ls as SetLayerColorCallFunc,
5351
+ as as SetLayerVisibleCallFunc,
5344
5352
  Be as UeCloudViewerBase,
5345
5353
  Ue as UeES3DTileset,
5346
5354
  je as UeESAlarm,
@@ -5358,8 +5366,8 @@ export {
5358
5366
  ui as UeESDirectionMeasurement,
5359
5367
  hi as UeESDistanceMeasurement,
5360
5368
  pi as UeESDynamicWater,
5361
- vi as UeESEntityCluster,
5362
- gi as UeESExcavate,
5369
+ gi as UeESEntityCluster,
5370
+ vi as UeESExcavate,
5363
5371
  fi as UeESFireParticleSystem,
5364
5372
  wi as UeESForestTileset,
5365
5373
  or as UeESGaussianSplatting,
@@ -5383,10 +5391,10 @@ export {
5383
5391
  Ne as UeESLocalPolygon,
5384
5392
  Pi as UeESLocalPolygonZ,
5385
5393
  Li as UeESLocalRectangle,
5386
- ki as UeESLocalSkyBox,
5394
+ Di as UeESLocalSkyBox,
5387
5395
  Tr as UeESLocalVector,
5388
5396
  Ke as UeESLocalVector2D,
5389
- Di as UeESLocationMeasurement,
5397
+ ki as UeESLocationMeasurement,
5390
5398
  lr as UeESMsTileset,
5391
5399
  rr as UeESNavigator,
5392
5400
  E as UeESObjectWithLocation,
@@ -5418,67 +5426,67 @@ export {
5418
5426
  Oi as UeESViewShed,
5419
5427
  sr as UeESViewerStatusBar,
5420
5428
  ji as UeESVisibilityAnalysis,
5421
- D as UeESVisualObject,
5429
+ k as UeESVisualObject,
5422
5430
  tr as UeESVolumeMeasurement,
5423
5431
  er as UeESWidget,
5424
- Ms as bind3DTilesetByTagCallFunc,
5425
- Ls as bindActorByTagCallFunc,
5426
- As as bindImageryByTagCallFunc,
5432
+ $s as bind3DTilesetByTagCallFunc,
5433
+ Ds as bindActorByTagCallFunc,
5434
+ Us as bindImageryByTagCallFunc,
5427
5435
  dt as calcFlyToParamCallFunc,
5428
5436
  Sr as callFunctionCallFunc,
5429
- ws as captureCallFunc,
5437
+ ys as captureCallFunc,
5430
5438
  H as changeNavigationModeCallFunc,
5431
5439
  We as copyright,
5432
- _s as createActorByClassCallFunc,
5440
+ Ms as createActorByClassCallFunc,
5433
5441
  Ir as destroyCallFunc,
5434
5442
  Re as flyInCallFunc,
5435
- jn as flyInDefaultCameraCallFunc,
5443
+ ts as flyInDefaultCameraCallFunc,
5436
5444
  we as flyToCallFunc,
5437
- rs as generateMemReportCallFunc,
5438
- Fs as getAllSocketNamesByActorTagCallFunc,
5439
- Es as getBoundSphereCallFunc,
5440
- Ss as getBoundSphereWithChildrenCallFunc,
5441
- bs as getCameraRelativeHeightCallFunc,
5442
- xs as getFillMaterialParamInfoCallFunc,
5443
- Rs as getGlobalPropertyCallFunc,
5444
- gs as getHeightByLonLatCallFunc,
5445
- fs as getHeightByLonLatsCallFunc,
5446
- zs as getIdByComponentNameAndHitItemCallFunc,
5447
- ms as getLonLatAltToScreenPositionCallFunc,
5448
- Ps as getObjectByInfoCallFunc,
5449
- Ks as getStatusCallFunc,
5450
- Ts as getStrokeMaterialParamInfoCallFunc,
5451
- qs as getTilesetMaterialIDListCallFunc,
5452
- Is as getVersionCallFunc,
5453
- Js as highlightActorByTagCallFunc,
5454
- is as mountPakFiles,
5455
- Zs as moveObjectsCallFunc,
5456
- ys as partialCaptureCallFunc,
5457
- ps as pickCallFunc,
5445
+ ns as generateMemReportCallFunc,
5446
+ Is as getAllSocketNamesByActorTagCallFunc,
5447
+ Ss as getBoundSphereCallFunc,
5448
+ Ts as getBoundSphereWithChildrenCallFunc,
5449
+ Hs as getCameraRelativeHeightCallFunc,
5450
+ Rs as getFillMaterialParamInfoCallFunc,
5451
+ Ps as getGlobalPropertyCallFunc,
5452
+ fs as getHeightByLonLatCallFunc,
5453
+ ws as getHeightByLonLatsCallFunc,
5454
+ bs as getIdByComponentNameAndHitItemCallFunc,
5455
+ Cs as getLonLatAltToScreenPositionCallFunc,
5456
+ Ls as getObjectByInfoCallFunc,
5457
+ Xs as getStatusCallFunc,
5458
+ xs as getStrokeMaterialParamInfoCallFunc,
5459
+ Qs as getTilesetMaterialIDListCallFunc,
5460
+ Es as getVersionCallFunc,
5461
+ Gs as highlightActorByTagCallFunc,
5462
+ rs as mountPakFiles,
5463
+ qs as moveObjectsCallFunc,
5464
+ ms as partialCaptureCallFunc,
5465
+ gs as pickCallFunc,
5458
5466
  vs as pickPositionCallFunc,
5459
- hs as quitCallFunc,
5460
- On as refreshTilesetCallFunc,
5467
+ ps as quitCallFunc,
5468
+ jn as refreshTilesetCallFunc,
5461
5469
  Er as resetWithCurrentCameraCallFunc,
5462
5470
  ks as restoreOriginalSceneCallFunc,
5463
- Hs as saveStringToFileCallFunc,
5464
- Gs as sendCustomMessageCallFunc,
5465
- us as setGlobalPropertyCallFunc,
5466
- ls as setNodePositionCallFunc,
5467
- ds as setNodeRotationCallFunc,
5468
- cs as setNodeScaleCallFunc,
5469
- De as smoothMoveCallFunc,
5471
+ Js as saveStringToFileCallFunc,
5472
+ Ks as sendCustomMessageCallFunc,
5473
+ hs as setGlobalPropertyCallFunc,
5474
+ ds as setNodePositionCallFunc,
5475
+ cs as setNodeRotationCallFunc,
5476
+ us as setNodeScaleCallFunc,
5477
+ ke as smoothMoveCallFunc,
5470
5478
  Le as smoothMoveOnGroundCallFunc,
5471
5479
  Pe as smoothMoveWithRotationCallFunc,
5472
- ke as smoothMoveWithRotationOnGroundCallFunc,
5473
- Xs as startEditingCallFunc,
5474
- ts as startVoiceCallFunc,
5475
- Ys as stopEditingCallFunc,
5476
- es as stopVoiceCallFunc,
5477
- Cs as uePositionToLonLatAltCallFunc,
5478
- Ws as unBind3DTilesetByIdCallFunc,
5479
- $s as unBind3DTilesetByTagCallFunc,
5480
- Ds as unBindActorByIDCallFunc,
5481
- Bs as unBindActorByTagCallFunc,
5482
- Ns as unBindImageryByIdCallFunc,
5483
- Us as unBindImageryByTagCallFunc
5480
+ De as smoothMoveWithRotationOnGroundCallFunc,
5481
+ Ys as startEditingCallFunc,
5482
+ es as startVoiceCallFunc,
5483
+ Zs as stopEditingCallFunc,
5484
+ is as stopVoiceCallFunc,
5485
+ Fs as uePositionToLonLatAltCallFunc,
5486
+ As as unBind3DTilesetByIdCallFunc,
5487
+ Ws as unBind3DTilesetByTagCallFunc,
5488
+ Bs as unBindActorByIDCallFunc,
5489
+ _s as unBindActorByTagCallFunc,
5490
+ zs as unBindImageryByIdCallFunc,
5491
+ Ns as unBindImageryByTagCallFunc
5484
5492
  };