@realsee/dnalogel 3.78.0-alpha.3 → 3.78.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/CHANGELOG.md +40 -10
  2. package/dist/DigitalPerformancePlugin/controller/index.d.ts +224 -0
  3. package/dist/DigitalPerformancePlugin/core/DigitalHuman.d.ts +55 -0
  4. package/dist/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +40 -0
  5. package/dist/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +150 -0
  6. package/dist/DigitalPerformancePlugin/core/Trace.d.ts +9 -0
  7. package/dist/DigitalPerformancePlugin/index.d.ts +11 -0
  8. package/dist/DigitalPerformancePlugin/mock.d.ts +76 -0
  9. package/dist/DigitalPerformancePlugin/typings/index.d.ts +79 -0
  10. package/dist/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
  11. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
  12. package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -1
  13. package/dist/Sculpt/Meshes/Line.d.ts +4 -0
  14. package/dist/Sculpt/Objects/Base/Editor.d.ts +9 -2
  15. package/dist/index.cjs.js +101 -88
  16. package/dist/index.d.ts +1 -0
  17. package/dist/index.js +14196 -12441
  18. package/dist/index.umd.js +83 -70
  19. package/dist/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
  20. package/libs/AreaMakerPlugin/Controller.js +3 -2
  21. package/libs/AreaMakerPlugin/index.js +3 -2
  22. package/libs/AreaMakerPlugin/utils/Item.js +3 -2
  23. package/libs/CSS3DRenderPlugin/Controller.js +3 -2
  24. package/libs/CSS3DRenderPlugin/index.js +6 -5
  25. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +39 -38
  26. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +10 -9
  27. package/libs/CruisePlugin/BaseController.js +5 -4
  28. package/libs/CruisePlugin/Move.js +3 -2
  29. package/libs/CruisePlugin/Work.js +3 -2
  30. package/libs/CruisePlugin/index.js +7 -6
  31. package/libs/CurrentPanoImagePlugin/Controller.js +15 -14
  32. package/libs/CurrentPanoImagePlugin/index.js +4 -3
  33. package/libs/DigitalPerformancePlugin/controller/index.d.ts +2 -2
  34. package/libs/DigitalPerformancePlugin/controller/index.js +164 -173
  35. package/libs/DigitalPerformancePlugin/core/DigitalHuman.d.ts +16 -6
  36. package/libs/DigitalPerformancePlugin/core/DigitalHuman.js +128 -102
  37. package/libs/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +11 -5
  38. package/libs/DigitalPerformancePlugin/core/DigitalPlayground.js +84 -74
  39. package/libs/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +7 -0
  40. package/libs/DigitalPerformancePlugin/mock.d.ts +6 -0
  41. package/libs/DigitalPerformancePlugin/mock.js +272 -274
  42. package/libs/GuideLinePlugin/Controller.js +7 -6
  43. package/libs/GuideLinePlugin/GuideLineItem.js +5 -4
  44. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +51 -48
  45. package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -2
  46. package/libs/GuideLinePlugin/index.js +7 -6
  47. package/libs/MeasurePlugin/Controller.js +11 -10
  48. package/libs/MeasurePlugin/index.js +5 -4
  49. package/libs/MeasurePlugin/utils/MeasureMesh.js +3 -2
  50. package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
  51. package/libs/ModelChassisCompassPlugin/index.js +1 -0
  52. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
  53. package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
  54. package/libs/ModelMakerPlugin/Controller.js +3 -2
  55. package/libs/ModelMakerPlugin/index.js +3 -2
  56. package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
  57. package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
  58. package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
  59. package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
  60. package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
  61. package/libs/ModelTVVideoPlugin/index.js +3 -2
  62. package/libs/ModelViewPlugin/Plugin.js +20 -19
  63. package/libs/ModelViewPlugin/index.js +1 -0
  64. package/libs/Object3DHelperPlugin/Controller.js +3 -2
  65. package/libs/Object3DHelperPlugin/index.js +6 -5
  66. package/libs/PanoCompassPlugin/Controller.js +3 -2
  67. package/libs/PanoCompassPlugin/index.js +4 -3
  68. package/libs/PanoDoorLabelPlugin/Controller.js +24 -23
  69. package/libs/PanoDoorLabelPlugin/index.js +4 -3
  70. package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
  71. package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
  72. package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
  73. package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
  74. package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
  75. package/libs/PanoMeasurePlugin/Model/area.js +3 -2
  76. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
  77. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -15
  78. package/libs/PanoMeasurePlugin/index.js +14 -13
  79. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
  80. package/libs/PanoRulerProPlugin/Controller.js +3 -2
  81. package/libs/PanoRulerProPlugin/RulerItems.js +42 -41
  82. package/libs/PanoRulerProPlugin/index.js +4 -3
  83. package/libs/PanoSpatialTagPlugin/Plugin.js +34 -33
  84. package/libs/PanoSpatialTagPlugin/index.js +1 -0
  85. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +141 -138
  86. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
  87. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
  88. package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
  89. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
  90. package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
  91. package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
  92. package/libs/PanoTagPlugin/Components/TagItem.js +131 -122
  93. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +50 -49
  94. package/libs/PanoTagPlugin/controller/Tag/BoxTag.js +69 -65
  95. package/libs/PanoTagPlugin/controller/Tag/MaskTag.js +1 -0
  96. package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
  97. package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.js +2 -90
  98. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
  99. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
  100. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
  101. package/libs/PanoTagPlugin/controller/Tag/PolygonTag.js +31 -29
  102. package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
  103. package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
  104. package/libs/PanoTagPlugin/controller/index.js +30 -29
  105. package/libs/PanoTagPlugin/index.js +12 -11
  106. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
  107. package/libs/PanoTagPlugin/utils/index.js +31 -30
  108. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
  109. package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
  110. package/libs/PanoTagPlugin/utils/tagPosition.d.ts +2 -1
  111. package/libs/PanoTagPlugin/utils/tagPosition.js +34 -32
  112. package/libs/PanoVideoPlugin/Controller.js +9 -8
  113. package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
  114. package/libs/PanoVideoPlugin/index.js +6 -5
  115. package/libs/PipelinePlugin/Controller.js +3 -2
  116. package/libs/PipelinePlugin/index.js +4 -3
  117. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
  118. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
  119. package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
  120. package/libs/Sculpt/Meshes/Line.d.ts +4 -0
  121. package/libs/Sculpt/Meshes/Line.js +85 -76
  122. package/libs/Sculpt/Meshes/Point.js +28 -28
  123. package/libs/Sculpt/Meshes/Polygon.js +43 -43
  124. package/libs/Sculpt/Objects/Base/Editor.d.ts +9 -2
  125. package/libs/Sculpt/Objects/Base/Editor.js +72 -63
  126. package/libs/Sculpt/index.js +1 -1
  127. package/libs/Sculpt/utils/Modules/Cursor.js +7 -7
  128. package/libs/base/BasePlugin.js +5 -5
  129. package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
  130. package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
  131. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
  132. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
  133. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
  134. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
  135. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
  136. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
  137. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
  138. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
  139. package/libs/index.d.ts +1 -0
  140. package/libs/index.js +162 -150
  141. package/libs/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
  142. package/libs/shared-utils/five/getFiveFromParentChain.js +20 -0
  143. package/libs/shared-utils/logger.js +1 -1
  144. package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +1 -0
  145. package/libs/shared-utils/url/replace-static-prefix.js +12 -7
  146. package/package.json +3 -3
  147. package/libs/PanoTagPlugin/controller/Tag/MaskTag1.d.ts +0 -202
  148. package/libs/PanoTagPlugin/controller/Tag/MaskTag1.js +0 -617
@@ -1,9 +1,9 @@
1
- import { SvelteComponent as ae, init as le, flush as y, safe_not_equal as se, append_styles as de, element as M, space as R, create_component as A, attr as T, set_style as I, toggle_class as w, insert as D, append as C, mount_component as F, transition_out as L, check_outros as ue, transition_in as E, detach as S, destroy_component as O, getContext as pe, createEventDispatcher as me, group_outros as fe, binding_callbacks as Q, bubble as ce, noop as ge, listen as z, is_function as he, run_all as _e } from "../../../vendor/svelte/internal/index.js";
2
- import ve from "./Shadow.js";
3
- import be from "./Icon/Icon.js";
4
- import { Image_Default_Point as ke } from "../../Assets/Icon.js";
1
+ import { SvelteComponent as pe, init as ue, flush as y, safe_not_equal as me, append_styles as fe, element as M, space as z, create_component as D, attr as T, set_style as x, toggle_class as w, insert as F, append as C, mount_component as S, transition_out as L, check_outros as ce, transition_in as E, detach as O, destroy_component as U, getContext as ge, createEventDispatcher as he, group_outros as _e, binding_callbacks as Y, bubble as ve, noop as $, listen as A, run_all as be } from "../../../vendor/svelte/internal/index.js";
2
+ import ke from "./Shadow.js";
3
+ import ye from "./Icon/Icon.js";
4
+ import { Image_Default_Point as we } from "../../Assets/Icon.js";
5
5
  import "../../../shared-utils/tag.js";
6
- import { isModelLike as ye } from "../../../shared-utils/five/mode.js";
6
+ import { isModelLike as Pe } from "../../../shared-utils/five/mode.js";
7
7
  import "three";
8
8
  import "../../../vendor/hammerjs/hammer.js";
9
9
  import "../../../shared-utils/three/PointSelector/index.js";
@@ -17,8 +17,8 @@ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
17
17
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
18
18
  import "../../../vendor/earcut/src/earcut.js";
19
19
  import "../../../shared-utils/five/FivePuppet.js";
20
- import we from "../Tag/AudioTag/AudioPoint.js";
21
- import { noTypecheck as V } from "../../utils/noTypecheck.js";
20
+ import Ce from "../Tag/AudioTag/AudioPoint.js";
21
+ import { noTypecheck as Z } from "../../utils/noTypecheck.js";
22
22
  import "../../../vendor/svelte/transition/index.js";
23
23
  import "../../../vendor/svelte/easing/index.js";
24
24
  import "../../utils/getImageInfo.js";
@@ -59,6 +59,7 @@ import "../../../shared-utils/three/IObject3D.js";
59
59
  import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
60
60
  import "../../../shared-utils/three/applyObjectMatrixWorld.js";
61
61
  import "../../../shared-utils/util.js";
62
+ import "../../../shared-utils/five/getFiveFromParentChain.js";
62
63
  import "../../../shared-utils/three/core/LineGeometry.js";
63
64
  import "../../../shared-utils/three/core/LineMaterial.js";
64
65
  import "../../../shared-utils/three/core/Line2.js";
@@ -81,63 +82,61 @@ import "../../utils/audio/SharedAudio.js";
81
82
  import "../../../shared-utils/audio.js";
82
83
  import "../../utils/audio/AudioDiagnostics.js";
83
84
  import "./Icon/audioIcon.js";
84
- function Pe(t) {
85
- de(t, "svelte-dorxu0", '@charset "UTF-8";.tag-point-click-helper.svelte-dorxu0.svelte-dorxu0{position:absolute;pointer-events:auto;cursor:pointer;width:141%;height:141%;left:50%;top:50%;transform:translate(-50%, -50%);z-index:1000000}.audio-tag-point-click-helper.svelte-dorxu0.svelte-dorxu0{position:absolute;width:100%;height:100%;pointer-events:none;z-index:1}.tag-point-wrapper.svelte-dorxu0.svelte-dorxu0{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);cursor:pointer;z-index:1040}.tag-folded-point.svelte-dorxu0.svelte-dorxu0,.tag-unfolded-point.svelte-dorxu0.svelte-dorxu0{transition:all 0.5s}.tag-point-wrapper.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-dorxu0 .tag-folded-point.svelte-dorxu0{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-dorxu0 .tag-folded-point.svelte-dorxu0{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0{opacity:1;scale:1}.tag-point-wrapper.disable-unfold.svelte-dorxu0 .tag-folded-point.svelte-dorxu0{opacity:1 !important;scale:1 !important}.tag-point-wrapper.disable-unfold.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0{opacity:0 !important;scale:1 !important}');
85
+ function Me(t) {
86
+ fe(t, "svelte-dorxu0", '@charset "UTF-8";.tag-point-click-helper.svelte-dorxu0.svelte-dorxu0{position:absolute;pointer-events:auto;cursor:pointer;width:141%;height:141%;left:50%;top:50%;transform:translate(-50%, -50%);z-index:1000000}.audio-tag-point-click-helper.svelte-dorxu0.svelte-dorxu0{position:absolute;width:100%;height:100%;pointer-events:none;z-index:1}.tag-point-wrapper.svelte-dorxu0.svelte-dorxu0{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);cursor:pointer;z-index:1040}.tag-folded-point.svelte-dorxu0.svelte-dorxu0,.tag-unfolded-point.svelte-dorxu0.svelte-dorxu0{transition:all 0.5s}.tag-point-wrapper.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-dorxu0 .tag-folded-point.svelte-dorxu0{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-dorxu0 .tag-folded-point.svelte-dorxu0{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0{opacity:1;scale:1}.tag-point-wrapper.disable-unfold.svelte-dorxu0 .tag-folded-point.svelte-dorxu0{opacity:1 !important;scale:1 !important}.tag-point-wrapper.disable-unfold.svelte-dorxu0 .tag-unfolded-point.svelte-dorxu0{opacity:0 !important;scale:1 !important}');
86
87
  }
87
- function Ce(t) {
88
+ function Te(t) {
88
89
  let e;
89
90
  return {
90
91
  c() {
91
92
  e = M("div"), T(e, "class", "audio-tag-point-click-helper svelte-dorxu0");
92
93
  },
93
94
  m(n, i) {
94
- D(n, e, i), t[18](e);
95
+ F(n, e, i), t[20](e);
95
96
  },
96
- p: ge,
97
+ p: $,
97
98
  d(n) {
98
- n && S(e), t[18](null);
99
+ n && O(e), t[20](null);
99
100
  }
100
101
  };
101
102
  }
102
- function Me(t) {
103
+ function Le(t) {
103
104
  let e, n, i;
104
105
  return {
105
106
  c() {
106
107
  e = M("div"), T(e, "class", "tag-point-click-helper svelte-dorxu0");
107
108
  },
108
- m(l, s) {
109
- D(l, e, s), t[17](e), n || (i = [
110
- z(
109
+ m(a, s) {
110
+ F(a, e, s), t[19](e), n || (i = [
111
+ A(
111
112
  e,
112
113
  "click",
113
114
  /*click_handler*/
114
- t[15]
115
+ t[16]
115
116
  ),
116
- z(
117
+ A(
117
118
  e,
118
119
  "pointerenter",
119
120
  /*pointerenter_handler*/
120
- t[16]
121
+ t[17]
121
122
  ),
122
- z(e, "pointerleave", function() {
123
- he(
124
- /*handleMouseLeave*/
125
- t[3]
126
- ) && t[3].apply(this, arguments);
127
- })
123
+ A(
124
+ e,
125
+ "pointerleave",
126
+ /*pointerleave_handler*/
127
+ t[18]
128
+ )
128
129
  ], n = !0);
129
130
  },
130
- p(l, s) {
131
- t = l;
132
- },
133
- d(l) {
134
- l && S(e), t[17](null), n = !1, _e(i);
131
+ p: $,
132
+ d(a) {
133
+ a && O(e), t[19](null), n = !1, be(i);
135
134
  }
136
135
  };
137
136
  }
138
- function Te(t) {
137
+ function Ee(t) {
139
138
  let e, n;
140
- return e = new be({
139
+ return e = new ye({
141
140
  props: {
142
141
  icon: (
143
142
  /*url*/
@@ -151,19 +150,19 @@ function Te(t) {
151
150
  }), e.$on(
152
151
  "iconLoaded",
153
152
  /*iconLoaded_handler*/
154
- t[21]
153
+ t[23]
155
154
  ), {
156
155
  c() {
157
- A(e.$$.fragment);
156
+ D(e.$$.fragment);
158
157
  },
159
- m(i, l) {
160
- F(e, i, l), n = !0;
158
+ m(i, a) {
159
+ S(e, i, a), n = !0;
161
160
  },
162
- p(i, l) {
161
+ p(i, a) {
163
162
  const s = {};
164
- l & /*url*/
163
+ a & /*url*/
165
164
  256 && (s.icon = /*url*/
166
- i[8]), l & /*width*/
165
+ i[8]), a & /*width*/
167
166
  128 && (s.width = /*width*/
168
167
  i[7]), e.$set(s);
169
168
  },
@@ -174,25 +173,25 @@ function Te(t) {
174
173
  L(e.$$.fragment, i), n = !1;
175
174
  },
176
175
  d(i) {
177
- O(e, i);
176
+ U(e, i);
178
177
  }
179
178
  };
180
179
  }
181
- function Le(t) {
180
+ function He(t) {
182
181
  let e, n;
183
- return e = new we({
182
+ return e = new Ce({
184
183
  props: {
185
- tag: V(
184
+ tag: Z(
186
185
  /*tag*/
187
186
  t[1]
188
187
  ),
189
188
  handlePointClick: (
190
189
  /*func*/
191
- t[19]
190
+ t[21]
192
191
  ),
193
192
  handleMouseEnter: (
194
193
  /*func_1*/
195
- t[20]
194
+ t[22]
196
195
  ),
197
196
  handleMouseLeave: (
198
197
  /*handleMouseLeave*/
@@ -202,41 +201,41 @@ function Le(t) {
202
201
  }), e.$on(
203
202
  "audioRef",
204
203
  /*audioEventHandlers*/
205
- t[13].audioRef
204
+ t[14].audioRef
206
205
  ), e.$on(
207
206
  "play",
208
207
  /*audioEventHandlers*/
209
- t[13].play
208
+ t[14].play
210
209
  ), e.$on(
211
210
  "pause",
212
211
  /*audioEventHandlers*/
213
- t[13].pause
212
+ t[14].pause
214
213
  ), e.$on(
215
214
  "timeupdate",
216
215
  /*audioEventHandlers*/
217
- t[13].timeupdate
216
+ t[14].timeupdate
218
217
  ), e.$on(
219
218
  "duration",
220
219
  /*audioEventHandlers*/
221
- t[13].duration
220
+ t[14].duration
222
221
  ), {
223
222
  c() {
224
- A(e.$$.fragment);
223
+ D(e.$$.fragment);
225
224
  },
226
- m(i, l) {
227
- F(e, i, l), n = !0;
225
+ m(i, a) {
226
+ S(e, i, a), n = !0;
228
227
  },
229
- p(i, l) {
228
+ p(i, a) {
230
229
  const s = {};
231
- l & /*tag*/
232
- 2 && (s.tag = V(
230
+ a & /*tag*/
231
+ 2 && (s.tag = Z(
233
232
  /*tag*/
234
233
  i[1]
235
- )), l & /*handleTagPointClick*/
234
+ )), a & /*handleTagPointClick*/
236
235
  16 && (s.handlePointClick = /*func*/
237
- i[19]), l & /*tag, handleMouseEnter*/
236
+ i[21]), a & /*tag, handleMouseEnter*/
238
237
  6 && (s.handleMouseEnter = /*func_1*/
239
- i[20]), l & /*handleMouseLeave*/
238
+ i[22]), a & /*handleMouseLeave*/
240
239
  8 && (s.handleMouseLeave = /*handleMouseLeave*/
241
240
  i[3]), e.$set(s);
242
241
  },
@@ -247,20 +246,20 @@ function Le(t) {
247
246
  L(e.$$.fragment, i), n = !1;
248
247
  },
249
248
  d(i) {
250
- O(e, i);
249
+ U(e, i);
251
250
  }
252
251
  };
253
252
  }
254
- function Ee(t) {
255
- let e, n, i, l, s, P, f, p, d, a;
256
- function v(r, u) {
253
+ function Ie(t) {
254
+ let e, n, i, a, s, P, f, u, d, l;
255
+ function v(r, p) {
257
256
  return (
258
257
  /*isAudioTag*/
259
- r[6] ? Ce : Me
258
+ r[6] ? Te : Le
260
259
  );
261
260
  }
262
261
  let h = v(t), m = h(t);
263
- i = new ve({
262
+ i = new ke({
264
263
  props: {
265
264
  center: !0,
266
265
  blurRadius: 15,
@@ -268,16 +267,16 @@ function Ee(t) {
268
267
  opacity: 0.3
269
268
  }
270
269
  });
271
- const b = [Le, Te], c = [];
272
- function g(r, u) {
270
+ const b = [He, Ee], c = [];
271
+ function g(r, p) {
273
272
  return (
274
273
  /*isAudioTag*/
275
274
  r[6] ? 0 : 1
276
275
  );
277
276
  }
278
- return p = g(t), d = c[p] = b[p](t), {
277
+ return u = g(t), d = c[u] = b[u](t), {
279
278
  c() {
280
- e = M("div"), m.c(), n = R(), A(i.$$.fragment), l = R(), s = M("div"), P = R(), f = M("div"), d.c(), T(s, "class", "tag-unfolded-point svelte-dorxu0"), I(
279
+ e = M("div"), m.c(), n = z(), D(i.$$.fragment), a = z(), s = M("div"), P = z(), f = M("div"), d.c(), T(s, "class", "tag-unfolded-point svelte-dorxu0"), x(
281
280
  s,
282
281
  "transition-delay",
283
282
  /*folded*/
@@ -285,7 +284,7 @@ function Ee(t) {
285
284
  /*foldDelay*/
286
285
  t[11]
287
286
  ) : 0) + "ms"
288
- ), T(f, "class", "tag-folded-point svelte-dorxu0"), I(
287
+ ), T(f, "class", "tag-folded-point svelte-dorxu0"), x(
289
288
  f,
290
289
  "transition-delay",
291
290
  /*folded*/
@@ -310,12 +309,12 @@ function Ee(t) {
310
309
  t[1].isPopoverConfigEnabled()
311
310
  );
312
311
  },
313
- m(r, u) {
314
- D(r, e, u), m.m(e, null), C(e, n), F(i, e, null), C(e, l), C(e, s), C(e, P), C(e, f), c[p].m(f, null), a = !0;
312
+ m(r, p) {
313
+ F(r, e, p), m.m(e, null), C(e, n), S(i, e, null), C(e, a), C(e, s), C(e, P), C(e, f), c[u].m(f, null), l = !0;
315
314
  },
316
- p(r, [u]) {
317
- h === (h = v(r)) && m ? m.p(r, u) : (m.d(1), m = h(r), m && (m.c(), m.m(e, n))), u & /*folded*/
318
- 512 && I(
315
+ p(r, [p]) {
316
+ h === (h = v(r)) && m ? m.p(r, p) : (m.d(1), m = h(r), m && (m.c(), m.m(e, n))), p & /*folded*/
317
+ 512 && x(
319
318
  s,
320
319
  "transition-delay",
321
320
  /*folded*/
@@ -324,11 +323,11 @@ function Ee(t) {
324
323
  r[11]
325
324
  ) : 0) + "ms"
326
325
  );
327
- let _ = p;
328
- p = g(r), p === _ ? c[p].p(r, u) : (fe(), L(c[_], 1, 1, () => {
326
+ let _ = u;
327
+ u = g(r), u === _ ? c[u].p(r, p) : (_e(), L(c[_], 1, 1, () => {
329
328
  c[_] = null;
330
- }), ue(), d = c[p], d ? d.p(r, u) : (d = c[p] = b[p](r), d.c()), E(d, 1), d.m(f, null)), u & /*folded*/
331
- 512 && I(
329
+ }), ce(), d = c[u], d ? d.p(r, p) : (d = c[u] = b[u](r), d.c()), E(d, 1), d.m(f, null)), p & /*folded*/
330
+ 512 && x(
332
331
  f,
333
332
  "transition-delay",
334
333
  /*folded*/
@@ -336,19 +335,19 @@ function Ee(t) {
336
335
  /*foldDelay*/
337
336
  r[11]
338
337
  ) : 0) + "ms"
339
- ), (!a || u & /*unfolded*/
338
+ ), (!l || p & /*unfolded*/
340
339
  32) && w(
341
340
  e,
342
341
  "unfolded",
343
342
  /*unfolded*/
344
343
  r[5]
345
- ), (!a || u & /*folded*/
344
+ ), (!l || p & /*folded*/
346
345
  512) && w(
347
346
  e,
348
347
  "folded",
349
348
  /*folded*/
350
349
  r[9]
351
- ), (!a || u & /*tag*/
350
+ ), (!l || p & /*tag*/
352
351
  2) && w(
353
352
  e,
354
353
  "disable-unfold",
@@ -357,21 +356,21 @@ function Ee(t) {
357
356
  );
358
357
  },
359
358
  i(r) {
360
- a || (E(i.$$.fragment, r), E(d), a = !0);
359
+ l || (E(i.$$.fragment, r), E(d), l = !0);
361
360
  },
362
361
  o(r) {
363
- L(i.$$.fragment, r), L(d), a = !1;
362
+ L(i.$$.fragment, r), L(d), l = !1;
364
363
  },
365
364
  d(r) {
366
- r && S(e), m.d(), O(i), c[p].d();
365
+ r && O(e), m.d(), U(i), c[u].d();
367
366
  }
368
367
  };
369
368
  }
370
- function He(t, e, n) {
371
- var U, j;
372
- let i, l, s, P, f;
373
- const p = pe("hooks"), d = me();
374
- let { tag: a } = e, v, h = !1;
369
+ function xe(t, e, n) {
370
+ var j, q, B;
371
+ let i, a, s, P, f;
372
+ const u = ge("hooks"), d = he();
373
+ let { tag: l } = e, v, h = !1;
375
374
  const m = () => {
376
375
  v !== void 0 && clearTimeout(v), h = !0, v = setTimeout(
377
376
  () => {
@@ -380,59 +379,61 @@ function He(t, e, n) {
380
379
  800
381
380
  );
382
381
  }, b = (o) => {
383
- h || (a.entryFromModel && ye(a.five.state.mode) ? a.find({ targetMode: "Panorama" }).then(() => a.unfoldAndFoldOthers()) : p.emit("click", { event: o, target: "TagPoint", tag: a }));
384
- }, c = (() => a.contentType === "Text" && a.data.appearance === "plane" ? 500 : 800)();
382
+ h || (l.entryFromModel && Pe(l.five.state.mode) ? l.find({ targetMode: "Panorama" }).then(() => l.unfoldAndFoldOthers()) : u.emit("click", { event: o, target: "TagPoint", tag: l }));
383
+ }, c = (() => l.contentType === "Text" && l.data.appearance === "plane" ? 500 : 800)();
385
384
  let { tagPointClickHelper: g = null } = e, { handleMouseEnter: r = () => {
386
- } } = e, { handleMouseLeave: u = () => {
385
+ } } = e, { handleMouseLeave: p = () => {
387
386
  } } = e, { handleTagPointClick: _ = () => {
388
387
  } } = e;
389
- const Y = () => !0, x = (j = (U = a.config.popoverConfig) == null ? void 0 : U.beforeOpen) != null ? j : Y;
390
- let { audioInstance: H = null } = e;
391
- const Z = {
388
+ const ee = () => !0, R = (q = (j = l.config.popoverConfig) == null ? void 0 : j.beforeOpen) != null ? q : ee, H = (B = l.config.popoverConfig) == null ? void 0 : B.onHoverEnd;
389
+ let { audioInstance: I = null } = e;
390
+ const te = {
392
391
  audioRef: (o) => {
393
- n(14, H = o.detail), d("audioInstanceReady", H);
392
+ n(15, I = o.detail), d("audioInstanceReady", I);
394
393
  },
395
394
  play: () => d("audioPlay"),
396
395
  pause: () => d("audioPause"),
397
396
  timeupdate: (o) => d("audioTimeUpdate", o.detail),
398
397
  duration: (o) => d("audioDuration", o.detail)
399
- }, $ = (o) => {
398
+ }, oe = (o) => {
400
399
  _(o), b(o);
401
- }, ee = (o) => {
402
- x(a) && r(o);
400
+ }, ie = (o) => {
401
+ R(l) && r(o);
402
+ }, ne = (o) => {
403
+ p(o), H == null || H(l, o);
403
404
  };
404
- function te(o) {
405
- Q[o ? "unshift" : "push"](() => {
405
+ function re(o) {
406
+ Y[o ? "unshift" : "push"](() => {
406
407
  g = o, n(0, g);
407
408
  });
408
409
  }
409
- function oe(o) {
410
- Q[o ? "unshift" : "push"](() => {
410
+ function le(o) {
411
+ Y[o ? "unshift" : "push"](() => {
411
412
  g = o, n(0, g);
412
413
  });
413
414
  }
414
- const ie = (o) => {
415
+ const ae = (o) => {
415
416
  _(o), b(o);
416
- }, ne = (o) => {
417
- x(a) && r(o);
417
+ }, se = (o) => {
418
+ R(l) && r(o);
418
419
  };
419
- function re(o) {
420
- ce.call(this, t, o);
420
+ function de(o) {
421
+ ve.call(this, t, o);
421
422
  }
422
423
  return t.$$set = (o) => {
423
- "tag" in o && n(1, a = o.tag), "tagPointClickHelper" in o && n(0, g = o.tagPointClickHelper), "handleMouseEnter" in o && n(2, r = o.handleMouseEnter), "handleMouseLeave" in o && n(3, u = o.handleMouseLeave), "handleTagPointClick" in o && n(4, _ = o.handleTagPointClick), "audioInstance" in o && n(14, H = o.audioInstance);
424
+ "tag" in o && n(1, l = o.tag), "tagPointClickHelper" in o && n(0, g = o.tagPointClickHelper), "handleMouseEnter" in o && n(2, r = o.handleMouseEnter), "handleMouseLeave" in o && n(3, p = o.handleMouseLeave), "handleTagPointClick" in o && n(4, _ = o.handleTagPointClick), "audioInstance" in o && n(15, I = o.audioInstance);
424
425
  }, t.$$.update = () => {
425
- var o, q, B, W;
426
+ var o, W, X, G;
426
427
  t.$$.dirty & /*tag*/
427
- 2 && n(5, i = (o = a.state) == null ? void 0 : o.unfolded), t.$$.dirty & /*unfolded*/
428
- 32 && n(9, l = !i), t.$$.dirty & /*tag*/
429
- 2 && n(8, s = (B = (q = a.style) == null ? void 0 : q.point) != null && B.url ? (W = a.style) == null ? void 0 : W.point : { url: ke }), t.$$.dirty & /*tag*/
428
+ 2 && n(5, i = (o = l.state) == null ? void 0 : o.unfolded), t.$$.dirty & /*unfolded*/
429
+ 32 && n(9, a = !i), t.$$.dirty & /*tag*/
430
+ 2 && n(8, s = (X = (W = l.style) == null ? void 0 : W.point) != null && X.url ? (G = l.style) == null ? void 0 : G.point : { url: we }), t.$$.dirty & /*tag*/
430
431
  2 && n(7, P = (() => {
431
- var G, J, K, N;
432
- const X = (J = (G = a.style) == null ? void 0 : G.point) == null ? void 0 : J.width;
433
- if (typeof X == "number")
434
- return X;
435
- const k = (N = (K = a.style) == null ? void 0 : K.point) == null ? void 0 : N.size;
432
+ var K, N, Q, V;
433
+ const J = (N = (K = l.style) == null ? void 0 : K.point) == null ? void 0 : N.width;
434
+ if (typeof J == "number")
435
+ return J;
436
+ const k = (V = (Q = l.style) == null ? void 0 : Q.point) == null ? void 0 : V.size;
436
437
  if (typeof k == "number")
437
438
  return k;
438
439
  if (k === "S")
@@ -444,49 +445,51 @@ function He(t, e, n) {
444
445
  if (k === "XL")
445
446
  return 28;
446
447
  })()), t.$$.dirty & /*tag*/
447
- 2 && n(6, f = a.contentType === "Audio" && a.data.appearance === "plane");
448
+ 2 && n(6, f = l.contentType === "Audio" && l.data.appearance === "plane");
448
449
  }, m(), [
449
450
  g,
450
- a,
451
+ l,
451
452
  r,
452
- u,
453
+ p,
453
454
  _,
454
455
  i,
455
456
  f,
456
457
  P,
457
458
  s,
458
- l,
459
+ a,
459
460
  b,
460
461
  c,
461
- x,
462
- Z,
462
+ R,
463
463
  H,
464
- $,
465
- ee,
466
464
  te,
465
+ I,
467
466
  oe,
468
467
  ie,
469
468
  ne,
470
- re
469
+ re,
470
+ le,
471
+ ae,
472
+ se,
473
+ de
471
474
  ];
472
475
  }
473
- class ro extends ae {
476
+ class so extends pe {
474
477
  constructor(e) {
475
- super(), le(
478
+ super(), ue(
476
479
  this,
477
480
  e,
478
- He,
479
- Ee,
480
- se,
481
+ xe,
482
+ Ie,
483
+ me,
481
484
  {
482
485
  tag: 1,
483
486
  tagPointClickHelper: 0,
484
487
  handleMouseEnter: 2,
485
488
  handleMouseLeave: 3,
486
489
  handleTagPointClick: 4,
487
- audioInstance: 14
490
+ audioInstance: 15
488
491
  },
489
- Pe
492
+ Me
490
493
  );
491
494
  }
492
495
  get tag() {
@@ -520,12 +523,12 @@ class ro extends ae {
520
523
  this.$$set({ handleTagPointClick: e }), y();
521
524
  }
522
525
  get audioInstance() {
523
- return this.$$.ctx[14];
526
+ return this.$$.ctx[15];
524
527
  }
525
528
  set audioInstance(e) {
526
529
  this.$$set({ audioInstance: e }), y();
527
530
  }
528
531
  }
529
532
  export {
530
- ro as default
533
+ so as default
531
534
  };
@@ -65,6 +65,7 @@ import "../../../../Sculpt/typings/style.js";
65
65
  import "../../../../shared-utils/three/IObject3D.js";
66
66
  import "../../../../Sculpt/utils/Meshes/getLengthHTML.js";
67
67
  import "../../../../shared-utils/three/applyObjectMatrixWorld.js";
68
+ import "../../../../shared-utils/five/getFiveFromParentChain.js";
68
69
  import "../../../../shared-utils/three/core/LineGeometry.js";
69
70
  import "../../../../shared-utils/three/core/LineMaterial.js";
70
71
  import "../../../../shared-utils/three/core/Line2.js";
@@ -286,7 +287,7 @@ function F(r, e, m) {
286
287
  D
287
288
  ];
288
289
  }
289
- class le extends C {
290
+ class he extends C {
290
291
  constructor(e) {
291
292
  super(), S(this, e, F, E, v, {
292
293
  showArrow: 0,
@@ -306,5 +307,5 @@ class le extends C {
306
307
  }
307
308
  }
308
309
  export {
309
- le as default
310
+ he as default
310
311
  };
@@ -50,6 +50,7 @@ import "../../../../shared-utils/three/IObject3D.js";
50
50
  import "../../../../Sculpt/utils/Meshes/getLengthHTML.js";
51
51
  import "../../../../shared-utils/three/applyObjectMatrixWorld.js";
52
52
  import "../../../../shared-utils/util.js";
53
+ import "../../../../shared-utils/five/getFiveFromParentChain.js";
53
54
  import "../../../../shared-utils/three/core/LineGeometry.js";
54
55
  import "../../../../shared-utils/three/core/LineMaterial.js";
55
56
  import "../../../../shared-utils/three/core/Line2.js";
@@ -266,7 +267,7 @@ function K(n, t, p) {
266
267
  32 && p(2, r = (() => k(o.data.highlightText) && o.data.highlightText.trim() !== "" ? o.data.highlightText : k(o.config.popoverConfig.viewMoreText) && o.config.popoverConfig.viewMoreText.trim() !== "" ? o.config.popoverConfig.viewMoreText : "查看更多")());
267
268
  }, [e, f, r, c, v, o, l];
268
269
  }
269
- class pt extends z {
270
+ class ft extends z {
270
271
  constructor(t) {
271
272
  super(), I(
272
273
  this,
@@ -285,5 +286,5 @@ class pt extends z {
285
286
  }
286
287
  }
287
288
  export {
288
- pt as default
289
+ ft as default
289
290
  };
@@ -50,6 +50,7 @@ import "../../../../shared-utils/three/IObject3D.js";
50
50
  import "../../../../Sculpt/utils/Meshes/getLengthHTML.js";
51
51
  import "../../../../shared-utils/three/applyObjectMatrixWorld.js";
52
52
  import "../../../../shared-utils/util.js";
53
+ import "../../../../shared-utils/five/getFiveFromParentChain.js";
53
54
  import "../../../../shared-utils/three/core/LineGeometry.js";
54
55
  import "../../../../shared-utils/three/core/LineMaterial.js";
55
56
  import "../../../../shared-utils/three/core/Line2.js";
@@ -548,7 +549,7 @@ function Ft(t, i, o) {
548
549
  gt
549
550
  ];
550
551
  }
551
- class co extends bt {
552
+ class go extends bt {
552
553
  constructor(i) {
553
554
  super(), vt(
554
555
  this,
@@ -576,5 +577,5 @@ class co extends bt {
576
577
  }
577
578
  }
578
579
  export {
579
- co as default
580
+ go as default
580
581
  };
@@ -52,6 +52,7 @@ import "../../../shared-utils/three/IObject3D.js";
52
52
  import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
53
53
  import "../../../shared-utils/three/applyObjectMatrixWorld.js";
54
54
  import "../../../shared-utils/util.js";
55
+ import "../../../shared-utils/five/getFiveFromParentChain.js";
55
56
  import "../../../shared-utils/three/core/LineGeometry.js";
56
57
  import "../../../shared-utils/three/core/LineMaterial.js";
57
58
  import "../../../shared-utils/three/core/Line2.js";
@@ -630,11 +631,11 @@ function ye(i, e, t) {
630
631
  j
631
632
  ];
632
633
  }
633
- class Xt extends re {
634
+ class qt extends re {
634
635
  constructor(e) {
635
636
  super(), le(this, e, ye, ke, oe, { tag: 0 }, ze);
636
637
  }
637
638
  }
638
639
  export {
639
- Xt as default
640
+ qt as default
640
641
  };