@realsee/dnalogel 2.19.2 → 2.19.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (312) hide show
  1. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
  2. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  3. package/dist/index.cjs.js +4 -4
  4. package/dist/index.js +684 -678
  5. package/dist/index.umd.js +4 -4
  6. package/docs/classes/CSS3DRender.html +30 -30
  7. package/docs/classes/CruisePluginController.html +25 -25
  8. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  9. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +30 -30
  10. package/docs/classes/Magnifier.html +19 -19
  11. package/docs/classes/ModelRoomLabelController.html +10 -10
  12. package/docs/classes/Object3DHelperController.html +24 -24
  13. package/docs/classes/PaintBrush.html +14 -14
  14. package/docs/classes/PanoMeasurePluginLine.html +22 -22
  15. package/docs/classes/PanoMeasurePluginModel.html +21 -21
  16. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  17. package/docs/classes/PanoMeasurePluginPolyline.html +25 -25
  18. package/docs/classes/PanoTagPluginController.html +45 -45
  19. package/docs/classes/Util.BetterTween.html +8 -8
  20. package/docs/classes/Util.FivePointSelector.html +11 -11
  21. package/docs/classes/Util.Interval.html +11 -11
  22. package/docs/classes/Util.Magnifier.html +16 -16
  23. package/docs/classes/Util.PointDomHelper.html +10 -10
  24. package/docs/classes/Util.PointHelper.html +10 -10
  25. package/docs/classes/Util.Rectangle.html +12 -12
  26. package/docs/enums/CameraMovementEffect.html +6 -6
  27. package/docs/enums/ContentType.html +19 -19
  28. package/docs/enums/DIRECTION.html +8 -8
  29. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  30. package/docs/enums/DimensionType.html +6 -6
  31. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  32. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  33. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  34. package/docs/enums/Rotation.html +7 -7
  35. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  36. package/docs/functions/CameraMovementPlugin.html +3 -3
  37. package/docs/functions/CruisePlugin.html +3 -3
  38. package/docs/functions/GuideLinePlugin.html +4 -4
  39. package/docs/functions/ItemLabelPlugin.html +3 -3
  40. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  41. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  42. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  43. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  44. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  45. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  46. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  47. package/docs/functions/ModelViewPlugin.html +3 -3
  48. package/docs/functions/Object3DHelperPlugin.html +3 -3
  49. package/docs/functions/PanoCompassPlugin.html +3 -3
  50. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  51. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  52. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  53. package/docs/functions/PanoMeasurePlugin.html +3 -3
  54. package/docs/functions/PanoRulerPlugin.html +3 -3
  55. package/docs/functions/PanoRulerProPlugin.html +3 -3
  56. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  57. package/docs/functions/PanoTagPlugin.html +3 -3
  58. package/docs/functions/PanoVideoPlugin.html +3 -3
  59. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  60. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  61. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  62. package/docs/functions/Util.getFrameTime.html +4 -4
  63. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  64. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  65. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  66. package/docs/functions/Util.isModelLike.html +4 -4
  67. package/docs/functions/Util.isNil.html +4 -4
  68. package/docs/functions/Util.isPanoramaLike.html +4 -4
  69. package/docs/functions/Util.nextFrame.html +4 -4
  70. package/docs/functions/Util.notNil.html +4 -4
  71. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  72. package/docs/functions/Util.tweenProgress.html +4 -4
  73. package/docs/functions/Util.uuid.html +4 -4
  74. package/docs/functions/pluginFlag.html +4 -4
  75. package/docs/index.html +4 -4
  76. package/docs/interfaces/AddTagConfig.html +5 -5
  77. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  78. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  79. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  80. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  81. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  82. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  83. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  84. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  85. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  86. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  87. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  88. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  89. package/docs/interfaces/EventMap.html +14 -14
  90. package/docs/interfaces/FloorplanBounding.html +7 -7
  91. package/docs/interfaces/FloorplanData.html +9 -9
  92. package/docs/interfaces/FloorplanEntrance.html +10 -10
  93. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  94. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  95. package/docs/interfaces/FloorplanFloorData.html +8 -8
  96. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  97. package/docs/interfaces/FloorplanObserver.html +8 -8
  98. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  99. package/docs/interfaces/FloorplanPosition.html +6 -6
  100. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  101. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  102. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  103. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  104. package/docs/interfaces/FloorplanServerData.html +6 -6
  105. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  106. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  107. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  108. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  109. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  110. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  111. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  112. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  113. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  114. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  115. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  116. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  117. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  118. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  119. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  120. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  121. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  122. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  123. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  124. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  125. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  126. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  127. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  128. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  129. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  130. package/docs/interfaces/HelperOffset.html +7 -7
  131. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  132. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  133. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  134. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  135. package/docs/interfaces/MinMax.html +6 -6
  136. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  137. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  138. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  139. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  140. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  141. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  142. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  143. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  144. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  145. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  146. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  147. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  148. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  149. package/docs/interfaces/Object3DHelperState.html +7 -7
  150. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  151. package/docs/interfaces/PaintBrushAction.html +11 -11
  152. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  153. package/docs/interfaces/PaintBrushState.html +9 -9
  154. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  155. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  156. package/docs/interfaces/PanoMeasureParameterType.html +13 -13
  157. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  158. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  159. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  160. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  161. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  162. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  163. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  164. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  165. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  166. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  167. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  168. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  169. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  170. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  171. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  172. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  173. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  174. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  175. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  176. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  177. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  178. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  179. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  180. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  181. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  182. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  183. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  184. package/docs/interfaces/Point.html +7 -7
  185. package/docs/interfaces/Room.html +8 -8
  186. package/docs/interfaces/RoomInfo.html +6 -6
  187. package/docs/interfaces/RoomLabel.html +13 -13
  188. package/docs/interfaces/RoomRules.html +4 -4
  189. package/docs/interfaces/Rooms.html +4 -4
  190. package/docs/interfaces/Scissor.html +8 -8
  191. package/docs/interfaces/State.html +7 -7
  192. package/docs/interfaces/TagCacheInterface.html +11 -11
  193. package/docs/interfaces/TagConfig.html +12 -12
  194. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  195. package/docs/interfaces/TagIconUrl.html +11 -11
  196. package/docs/interfaces/TagObjectGroup.html +5 -5
  197. package/docs/interfaces/TagStyle.html +5 -5
  198. package/docs/interfaces/Tags.html +8 -8
  199. package/docs/interfaces/TemporaryState.html +5 -5
  200. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  201. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  202. package/docs/modules/CruisePluginTypes.html +4 -4
  203. package/docs/modules/GuideLineItem.html +4 -4
  204. package/docs/modules/GuideLineModeItem.html +4 -4
  205. package/docs/modules/GuideLinePluginType.html +4 -4
  206. package/docs/modules/PanoVideoPluginType.html +4 -4
  207. package/docs/modules/Util.html +4 -4
  208. package/docs/modules.html +4 -4
  209. package/docs/types/ArrayPosition.html +4 -4
  210. package/docs/types/AudioAppearance.html +4 -4
  211. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  212. package/docs/types/CSS3DRenderExportType.html +4 -4
  213. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  214. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  215. package/docs/types/ClassFunctionParameters.html +4 -4
  216. package/docs/types/Color.html +4 -4
  217. package/docs/types/ContentTypeConfigKey.html +4 -4
  218. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  219. package/docs/types/ContentTypeMap.html +4 -4
  220. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  221. package/docs/types/Create3DElementReturnType.html +4 -4
  222. package/docs/types/CruisePluginExportType.html +4 -4
  223. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  224. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  225. package/docs/types/Direction-1.html +4 -4
  226. package/docs/types/Direction4.html +4 -4
  227. package/docs/types/ElementRenderer.html +4 -4
  228. package/docs/types/FloorplanRuleLabels.html +4 -4
  229. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  230. package/docs/types/GuideLinePluginExportType.html +4 -4
  231. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  232. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  233. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  234. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  235. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  236. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  237. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  238. package/docs/types/HelperEventMap.html +4 -4
  239. package/docs/types/LoadTagConfig.html +4 -4
  240. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  241. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  242. package/docs/types/MediaData.html +4 -4
  243. package/docs/types/MediaStore.html +4 -4
  244. package/docs/types/ModelElement.html +4 -4
  245. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  246. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  247. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  248. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  249. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  250. package/docs/types/MoveArgs.html +4 -4
  251. package/docs/types/MoveOpts.html +4 -4
  252. package/docs/types/Object3DHelperEventMap.html +4 -4
  253. package/docs/types/ObjectFit.html +4 -4
  254. package/docs/types/PaintBrushEventMap.html +4 -4
  255. package/docs/types/PanoCompassPluginData.html +4 -4
  256. package/docs/types/PanoCompassPluginExportType.html +4 -4
  257. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  258. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  259. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  260. package/docs/types/PanoIndex.html +4 -4
  261. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  262. package/docs/types/PanoMeasureReturnType.html +4 -4
  263. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  264. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  265. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  266. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  267. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  268. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  269. package/docs/types/PlaneTag.html +4 -4
  270. package/docs/types/PlaneTagElement.html +4 -4
  271. package/docs/types/Point2DElement.html +4 -4
  272. package/docs/types/Point2DTag.html +4 -4
  273. package/docs/types/Point3DElement.html +4 -4
  274. package/docs/types/Point3DTag.html +4 -4
  275. package/docs/types/PointTag.html +4 -4
  276. package/docs/types/PointTagElement.html +4 -4
  277. package/docs/types/Position.html +4 -4
  278. package/docs/types/RotateArgs.html +4 -4
  279. package/docs/types/RotateOpts.html +4 -4
  280. package/docs/types/RuleLabelsKey.html +4 -4
  281. package/docs/types/RuleLabelsValue.html +4 -4
  282. package/docs/types/StickType.html +4 -4
  283. package/docs/types/Tag.html +4 -4
  284. package/docs/types/Tag2D.html +4 -4
  285. package/docs/types/Tag3D.html +4 -4
  286. package/docs/types/TagContentType.html +4 -4
  287. package/docs/types/TagDimensionType.html +4 -4
  288. package/docs/types/TagElement.html +5 -5
  289. package/docs/types/TagEvents.html +4 -4
  290. package/docs/types/TagGLTFObject.html +4 -4
  291. package/docs/types/TagHooks.html +4 -4
  292. package/docs/types/TagIconSize.html +4 -4
  293. package/docs/types/TagId.html +4 -4
  294. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  295. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  296. package/docs/types/WorkCode.html +4 -4
  297. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  298. package/docs/variables/PLUGIN.html +4 -4
  299. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  300. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  301. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  302. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  303. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  304. package/libs/PanoTagPlugin/Components/TagItem.js +56 -56
  305. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
  306. package/libs/PanoTagPlugin/controller/TagComputer.js +81 -75
  307. package/libs/PanoTagPlugin/controller/TagRender.js +6 -6
  308. package/libs/PanoTagPlugin/controller/index.js +1 -1
  309. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  310. package/libs/base/BasePlugin.js +1 -1
  311. package/libs/shared-utils/logger.js +1 -1
  312. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
- var Eu = Object.defineProperty, Iu = Object.defineProperties;
1
+ var Iu = Object.defineProperty, Eu = Object.defineProperties;
2
2
  var ku = Object.getOwnPropertyDescriptors;
3
3
  var Oa = Object.getOwnPropertySymbols;
4
4
  var xu = Object.prototype.hasOwnProperty, Du = Object.prototype.propertyIsEnumerable;
5
- var hr = (i, t, e) => t in i ? Eu(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, W = (i, t) => {
5
+ var hr = (i, t, e) => t in i ? Iu(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, W = (i, t) => {
6
6
  for (var e in t || (t = {}))
7
7
  xu.call(t, e) && hr(i, e, t[e]);
8
8
  if (Oa)
9
9
  for (var e of Oa(t))
10
10
  Du.call(t, e) && hr(i, e, t[e]);
11
11
  return i;
12
- }, ye = (i, t) => Iu(i, ku(t));
12
+ }, ye = (i, t) => Eu(i, ku(t));
13
13
  var f = (i, t, e) => (hr(i, typeof t != "symbol" ? t + "" : t, e), e);
14
14
  var X = (i, t, e) => new Promise((n, o) => {
15
15
  var s = (l) => {
@@ -28,7 +28,7 @@ var X = (i, t, e) => new Promise((n, o) => {
28
28
  a((e = e.apply(i, t)).next());
29
29
  });
30
30
  import { Camera as Su, Subscribe as yt, Five as nt } from "@realsee/five";
31
- import * as E from "three";
31
+ import * as I from "three";
32
32
  import { Vector3 as $, Group as Kn, Raycaster as xn, MeshBasicMaterial as Ji, CanvasTexture as Mu, AnimationMixer as Lu, Color as oo, TextureLoader as Sd, Vector2 as bt, PlaneGeometry as Tu, sRGBEncoding as zu, LinearFilter as Vr, Mesh as Fi, CurvePath as ju, LineCurve3 as _u, TubeGeometry as Vu, ShaderMaterial as Md, SphereGeometry as Ou, DoubleSide as Ld, RingGeometry as Bu, Quaternion as aa, Euler as Ba, Matrix4 as Qi, Object3D as Ru, VideoTexture as Qu, Vector4 as Hu, SphereBufferGeometry as Gu } from "three";
33
33
  import { CSS3DRenderer as Wu, CSS3DObject as Or } from "three/examples/jsm/renderers/CSS3DRenderer";
34
34
  import so from "hammerjs";
@@ -38,7 +38,7 @@ import Ra from "animejs";
38
38
  import { GLTFLoader as Nu } from "@realsee/five/gltf-loader";
39
39
  function Fu() {
40
40
  console.info(
41
- "%c %c@realsee/dnalogel %cv2.19.2",
41
+ "%c %c@realsee/dnalogel %cv2.19.3",
42
42
  [
43
43
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
44
44
  "background-repeat: no-repeat",
@@ -66,7 +66,7 @@ const Qa = () => Promise.resolve(), Ha = {
66
66
  function Yu(i = Qa) {
67
67
  Ha.__queue = Ha.__queue.then(i).catch(Qa);
68
68
  }
69
- function Eo(i, t, e) {
69
+ function Io(i, t, e) {
70
70
  const n = i.x, o = i.y, s = Math.floor(n / t * 1e4) / 1e4, r = Math.floor(o / e * 1e4) / 1e4;
71
71
  return { x: s, y: r };
72
72
  }
@@ -74,7 +74,7 @@ function ur(i, t, e) {
74
74
  const { x: n, y: o } = i, s = n * t, r = o * e;
75
75
  return { x: s, y: r };
76
76
  }
77
- function Io(i) {
77
+ function Eo(i) {
78
78
  if (i.length < 2)
79
79
  return {};
80
80
  const t = i.slice(-2), e = t[0], n = {
@@ -818,14 +818,14 @@ let af = class extends sf {
818
818
  e.onmousedown = (h) => {
819
819
  h.preventDefault(), c = Date.now();
820
820
  const u = h.clientX, m = h.clientY;
821
- r = [], r.push({ x: u, y: m }), s = { x: u, y: m }, a = Eo({ x: u, y: m }, this.clientWidth, this.clientHeight), l = [];
821
+ r = [], r.push({ x: u, y: m }), s = { x: u, y: m }, a = Io({ x: u, y: m }, this.clientWidth, this.clientHeight), l = [];
822
822
  }, e.onmousemove = (h) => {
823
823
  if (h.preventDefault(), !s)
824
824
  return;
825
825
  const u = Number(h.clientX), m = Number(h.clientY);
826
- if (Math.abs(u - s.x) < 5 && Math.abs(m - s.y) < 5 || (r.push({ x: u, y: m }), l.push(Eo({ x: u, y: m }, this.clientWidth, this.clientHeight)), r.length < 3))
826
+ if (Math.abs(u - s.x) < 5 && Math.abs(m - s.y) < 5 || (r.push({ x: u, y: m }), l.push(Io({ x: u, y: m }, this.clientWidth, this.clientHeight)), r.length < 3))
827
827
  return;
828
- const { control: g, end: v } = Io(r);
828
+ const { control: g, end: v } = Eo(r);
829
829
  !g || !v || (d(s, g, v), s = v);
830
830
  }, e.onmouseup = (h) => {
831
831
  if (h.preventDefault(), s = null, r.length < 3)
@@ -851,14 +851,14 @@ let af = class extends sf {
851
851
  }, e.ontouchstart = (h) => {
852
852
  h.preventDefault(), c = Date.now();
853
853
  const u = h.touches[0].clientX, m = h.touches[0].clientY;
854
- r = [], r.push({ x: u, y: m }), s = { x: u, y: m }, a = Eo({ x: u, y: m }, this.clientWidth, this.clientHeight), l = [];
854
+ r = [], r.push({ x: u, y: m }), s = { x: u, y: m }, a = Io({ x: u, y: m }, this.clientWidth, this.clientHeight), l = [];
855
855
  }, e.ontouchmove = (h) => {
856
856
  if (h.preventDefault(), !s)
857
857
  return;
858
858
  const u = Number(h.touches[0].clientX), m = Number(h.touches[0].clientY);
859
- if (Math.abs(u - s.x) < 5 && Math.abs(m - s.y) < 5 || (r.push({ x: u, y: m }), l.push(Eo({ x: u, y: m }, this.clientWidth, this.clientHeight)), r.length < 3))
859
+ if (Math.abs(u - s.x) < 5 && Math.abs(m - s.y) < 5 || (r.push({ x: u, y: m }), l.push(Io({ x: u, y: m }, this.clientWidth, this.clientHeight)), r.length < 3))
860
860
  return;
861
- const { control: g, end: v } = Io(r);
861
+ const { control: g, end: v } = Eo(r);
862
862
  !g || !v || (d(s, g, v), s = v);
863
863
  }, e.ontouchend = e.ontouchcancel = (h) => {
864
864
  if (h.preventDefault(), s = null, r.length < 3)
@@ -956,7 +956,7 @@ let af = class extends sf {
956
956
  if (!g.find((P) => P === b)) {
957
957
  if (g.push(b), m.push(ur(l[b], v.clientWidth, v.clientHeight)), m.length < 3)
958
958
  return;
959
- const { control: P, end: k } = Io(m);
959
+ const { control: P, end: k } = Eo(m);
960
960
  if (!P || !k)
961
961
  return;
962
962
  a.quadraticCurveTo(P.x, P.y, k.x, k.y), a.stroke();
@@ -968,7 +968,7 @@ let af = class extends sf {
968
968
  for (let g = 0; g < l.length; g++) {
969
969
  if (m.push(ur(l[g], this.clientWidth, this.clientHeight)), m.length < 3)
970
970
  continue;
971
- const { control: v, end: A } = Io(m);
971
+ const { control: v, end: A } = Eo(m);
972
972
  !v || !A || a.quadraticCurveTo(v.x, v.y, A.x, A.y);
973
973
  }
974
974
  a.stroke(), m = [], s && s(), r();
@@ -994,7 +994,7 @@ let af = class extends sf {
994
994
  this.closeBrush(), this.ready = !1, this.emit("readyChange", !0);
995
995
  }
996
996
  };
997
- class dE {
997
+ class dI {
998
998
  constructor(t = {}) {
999
999
  f(this, "controller");
1000
1000
  const e = Object.assign({
@@ -1045,7 +1045,7 @@ class dE {
1045
1045
  this.controller.updateCurrentColor(t);
1046
1046
  }
1047
1047
  }
1048
- const hE = (i, t) => {
1048
+ const hI = (i, t) => {
1049
1049
  var R, H;
1050
1050
  let e = (H = (R = t == null ? void 0 : t.initialState) == null ? void 0 : R.enabled) != null ? H : !0, n = !1, o = !0, s = null;
1051
1051
  const a = W(W({}, {
@@ -1053,48 +1053,48 @@ const hE = (i, t) => {
1053
1053
  lockedPanoIndex: null,
1054
1054
  lockedLatitude: null,
1055
1055
  lockedLongitude: null
1056
- }), t == null ? void 0 : t.config), l = new E.Scene(), c = new Su(60);
1057
- let d = new E.Object3D(), h, u;
1056
+ }), t == null ? void 0 : t.config), l = new I.Scene(), c = new Su(60);
1057
+ let d = new I.Object3D(), h, u;
1058
1058
  {
1059
- const B = new E.DirectionalLight(16777215, 0.5);
1060
- B.position.copy(new E.Vector3(1, 1, 1)), l.add(B);
1059
+ const B = new I.DirectionalLight(16777215, 0.5);
1060
+ B.position.copy(new I.Vector3(1, 1, 1)), l.add(B);
1061
1061
  }
1062
1062
  {
1063
- const B = new E.DirectionalLight(16777215, 0.3);
1063
+ const B = new I.DirectionalLight(16777215, 0.3);
1064
1064
  l.add(B);
1065
1065
  }
1066
1066
  {
1067
- const B = new E.AmbientLight(16777215, 0.3);
1067
+ const B = new I.AmbientLight(16777215, 0.3);
1068
1068
  l.add(B);
1069
1069
  }
1070
1070
  l.add(d);
1071
1071
  const m = () => {
1072
1072
  if (n)
1073
1073
  return;
1074
- h = D(i.model, c.fov, c.aspect), u = i.model.bounding.getCenter(new E.Vector3()), l.remove(d), d = G(i.model), l.add(d), n = !0, T();
1074
+ h = D(i.model, c.fov, c.aspect), u = i.model.bounding.getCenter(new I.Vector3()), l.remove(d), d = G(i.model), l.add(d), n = !0, T();
1075
1075
  function B(U) {
1076
1076
  const Y = U.clone();
1077
1077
  return Y.uniforms.modelAlpha.value = 1, Y.uniforms.map.value && (Y.uniforms.map.value.needsUpdate = !0), Y;
1078
1078
  }
1079
1079
  function G(U) {
1080
- if (U instanceof E.Mesh) {
1080
+ if (U instanceof I.Mesh) {
1081
1081
  const Y = U.geometry, J = Array.isArray(U.material) ? U.material.map(B) : B(U.material);
1082
- return new E.Mesh(Y, J);
1083
- } else if (U instanceof E.Group) {
1084
- const Y = new E.Group();
1082
+ return new I.Mesh(Y, J);
1083
+ } else if (U instanceof I.Group) {
1084
+ const Y = new I.Group();
1085
1085
  return U.children.forEach((J) => Y.add(G(J))), Y;
1086
1086
  } else {
1087
- const Y = new E.Object3D();
1087
+ const Y = new I.Object3D();
1088
1088
  return U.children.forEach((J) => Y.add(G(J))), Y;
1089
1089
  }
1090
1090
  }
1091
1091
  }, g = () => {
1092
1092
  if (i.renderer)
1093
- return s || (s = new E.WebGLRenderer({ antialias: !1, alpha: !0 }), s.setPixelRatio(i.renderer.getPixelRatio()), s.outputEncoding = E.sRGBEncoding, s.setClearColor(1579548, 0), s.autoClear = !0), s;
1093
+ return s || (s = new I.WebGLRenderer({ antialias: !1, alpha: !0 }), s.setPixelRatio(i.renderer.getPixelRatio()), s.outputEncoding = I.sRGBEncoding, s.setClearColor(1579548, 0), s.autoClear = !0), s;
1094
1094
  }, v = () => {
1095
1095
  d.traverse((B) => {
1096
- B instanceof E.Mesh && [].concat(B.material).forEach((U) => U.dispose());
1097
- }), l.remove(d), d = new E.Object3D(), l.add(d), n = !1, T();
1096
+ B instanceof I.Mesh && [].concat(B.material).forEach((U) => U.dispose());
1097
+ }), l.remove(d), d = new I.Object3D(), l.add(d), n = !1, T();
1098
1098
  }, A = () => {
1099
1099
  e && (n || m());
1100
1100
  }, b = () => {
@@ -1126,14 +1126,14 @@ const hE = (i, t) => {
1126
1126
  let re = J / 2 / Math.tan(Math.PI * G / 360);
1127
1127
  return U < 1 && (re = re / U), isNaN(re) ? J : re;
1128
1128
  }
1129
- function I(B) {
1129
+ function E(B) {
1130
1130
  return i.work.observers[B].standingPosition.clone();
1131
1131
  }
1132
1132
  const T = () => {
1133
1133
  if (!e || !h || !u)
1134
1134
  return;
1135
1135
  const B = i.getPose();
1136
- B.fov = c.fov, B.offset = u, B.distance = h, typeof a.lockedLatitude == "number" && (B.latitude = a.lockedLatitude), typeof a.lockedLongitude == "number" && (B.longitude = a.lockedLongitude), typeof a.lockedPanoIndex == "number" && (B.offset = I(a.lockedPanoIndex)), a.lookAtCurrentCamera && (B.offset = i.camera.position.clone().setY(i.camera.position.y + 1)), c.setFromPose(B), o = !0;
1136
+ B.fov = c.fov, B.offset = u, B.distance = h, typeof a.lockedLatitude == "number" && (B.latitude = a.lockedLatitude), typeof a.lockedLongitude == "number" && (B.longitude = a.lockedLongitude), typeof a.lockedPanoIndex == "number" && (B.offset = E(a.lockedPanoIndex)), a.lookAtCurrentCamera && (B.offset = i.camera.position.clone().setY(i.camera.position.y + 1)), c.setFromPose(B), o = !0;
1137
1137
  }, S = () => {
1138
1138
  !e || o !== !0 || !s || !s.domElement.parentNode || s.domElement.parentNode.offsetWidth === 0 || (s.render(l, c), o = !1);
1139
1139
  }, F = () => {
@@ -1295,9 +1295,9 @@ class ci {
1295
1295
  }
1296
1296
  }
1297
1297
  const hf = ({ x: i, y: t, z: e }) => new $(i, t, e), St = (i) => new $().fromArray(i), Zi = (i) => i instanceof $ ? i : Array.isArray(i) ? St(i) : hf(i);
1298
- class uf extends E.Mesh {
1298
+ class uf extends I.Mesh {
1299
1299
  constructor(e, n) {
1300
- const o = new E.MeshBasicMaterial({ opacity: 0, color: 0, transparent: !1, side: E.DoubleSide }), s = new E.PlaneGeometry(e, n);
1300
+ const o = new I.MeshBasicMaterial({ opacity: 0, color: 0, transparent: !1, side: I.DoubleSide }), s = new I.PlaneGeometry(e, n);
1301
1301
  super(s, o);
1302
1302
  f(this, "name", "opacity-mesh");
1303
1303
  }
@@ -1315,8 +1315,8 @@ function Dn(...i) {
1315
1315
  const Od = 1, ff = `CSS3DObjectPlus@${Od}`, mf = 216e-5, pf = 3e-3;
1316
1316
  class gf extends Or {
1317
1317
  constructor(e) {
1318
- var D, I, T;
1319
- const n = e.container, o = e.cornerPoints, s = (D = e.ratio) != null ? D : pf, r = (I = e.dpr) != null ? I : 1, a = (T = e.pointerEvents) != null ? T : "auto", l = Math.max(mf, s), c = o[0].distanceTo(o[1]), d = o[1].distanceTo(o[2]), h = Xo(c / s * r), u = Xo(d / s * r), m = Dn(...o);
1318
+ var D, E, T;
1319
+ const n = e.container, o = e.cornerPoints, s = (D = e.ratio) != null ? D : pf, r = (E = e.dpr) != null ? E : 1, a = (T = e.pointerEvents) != null ? T : "auto", l = Math.max(mf, s), c = o[0].distanceTo(o[1]), d = o[1].distanceTo(o[2]), h = Xo(c / s * r), u = Xo(d / s * r), m = Dn(...o);
1320
1320
  let g;
1321
1321
  if (l === s)
1322
1322
  n.style.width = `${h}px`, n.style.height = `${u}px`, g = n;
@@ -1417,7 +1417,7 @@ class gf extends Or {
1417
1417
  this.scale.applyMatrix4(e), (n = this.opacityMesh) == null || n.scale.applyMatrix4(e);
1418
1418
  }
1419
1419
  }
1420
- class vf extends E.Scene {
1420
+ class vf extends I.Scene {
1421
1421
  constructor() {
1422
1422
  super();
1423
1423
  }
@@ -1427,7 +1427,7 @@ class vf extends E.Scene {
1427
1427
  }), this;
1428
1428
  }
1429
1429
  }
1430
- class Af extends E.Scene {
1430
+ class Af extends I.Scene {
1431
1431
  constructor(e) {
1432
1432
  super();
1433
1433
  f(this, "scene");
@@ -1447,7 +1447,7 @@ class Af extends E.Scene {
1447
1447
  }), super.remove(...e), this;
1448
1448
  }
1449
1449
  }
1450
- class Bd extends E.Group {
1450
+ class Bd extends I.Group {
1451
1451
  constructor(e) {
1452
1452
  super();
1453
1453
  f(this, "isCSS3DGroup", !0);
@@ -1814,7 +1814,7 @@ class Qr {
1814
1814
  return this.min < t.min && this.max > t.max;
1815
1815
  }
1816
1816
  }
1817
- class Ef {
1817
+ class If {
1818
1818
  constructor(t, e) {
1819
1819
  f(this, "min");
1820
1820
  f(this, "max");
@@ -1842,7 +1842,7 @@ function Do(i, t, e) {
1842
1842
  const n = i[t], o = i[e];
1843
1843
  !n || !o || (i[t] = o, i[e] = n);
1844
1844
  }
1845
- function If(i, t, e) {
1845
+ function Ef(i, t, e) {
1846
1846
  const n = e / 2;
1847
1847
  for (let o = 1; o <= n; o++) {
1848
1848
  const s = e - (o - 1);
@@ -1864,7 +1864,7 @@ let Gd = class {
1864
1864
  f(this, "config");
1865
1865
  f(this, "offset", { x: 0, y: 0 });
1866
1866
  f(this, "context");
1867
- f(this, "renderCenter", new E.Vector3());
1867
+ f(this, "renderCenter", new I.Vector3());
1868
1868
  f(this, "hammer");
1869
1869
  f(this, "state", { enabled: !1 });
1870
1870
  f(this, "onPan", (t) => {
@@ -1924,8 +1924,8 @@ let Gd = class {
1924
1924
  render() {
1925
1925
  if (!this.five.renderer || !this.containerDom)
1926
1926
  return;
1927
- const { scale: t, context: e, width: n, height: o } = this, s = this.renderCenter.clone().project(this.five.camera), r = this.five.renderer.getSize(new E.Vector2()), a = 1, l = n / t, c = o / t, d = a * t, h = (s.x + 1) / 2 * r.x, u = (s.y + 1) / 2 * r.y, m = this.five.getPixels(h - l / 2, u - l / 2, l, c, d), g = Math.floor(n * a), v = Math.floor(o * a);
1928
- If(m, g, v);
1927
+ const { scale: t, context: e, width: n, height: o } = this, s = this.renderCenter.clone().project(this.five.camera), r = this.five.renderer.getSize(new I.Vector2()), a = 1, l = n / t, c = o / t, d = a * t, h = (s.x + 1) / 2 * r.x, u = (s.y + 1) / 2 * r.y, m = this.five.getPixels(h - l / 2, u - l / 2, l, c, d), g = Math.floor(n * a), v = Math.floor(o * a);
1928
+ Ef(m, g, v);
1929
1929
  const A = new ImageData(g, v);
1930
1930
  A.data.set(m), e.putImageData(A, 0, 0);
1931
1931
  }
@@ -1938,21 +1938,21 @@ let Gd = class {
1938
1938
  };
1939
1939
  function kf(i, t) {
1940
1940
  const { offsetWidth: e, offsetHeight: n } = t, { top: o, left: s } = t.getBoundingClientRect();
1941
- return new E.Vector2().set((i.x - s) / e * 2 - 1, -(i.y - o) / n * 2 + 1);
1941
+ return new I.Vector2().set((i.x - s) / e * 2 - 1, -(i.y - o) / n * 2 + 1);
1942
1942
  }
1943
1943
  function Wd(i, t) {
1944
1944
  const { offsetWidth: e, offsetHeight: n } = t;
1945
- return new E.Vector2().set(i.x / e * 2 - 1, -i.y / n * 2 + 1);
1945
+ return new I.Vector2().set(i.x / e * 2 - 1, -i.y / n * 2 + 1);
1946
1946
  }
1947
1947
  function xf(i, t) {
1948
1948
  const e = i.getElement();
1949
1949
  if (!e)
1950
1950
  return;
1951
- const n = Wd(t, e), o = new E.Raycaster();
1951
+ const n = Wd(t, e), o = new I.Raycaster();
1952
1952
  return o.setFromCamera(n, i.camera), o;
1953
1953
  }
1954
1954
  function Df(i, t) {
1955
- const { x: e, y: n } = t, o = e * 2 - 1, s = n * 2 - 1, r = new E.Vector2().fromArray([o, s]), a = new E.Raycaster();
1955
+ const { x: e, y: n } = t, o = e * 2 - 1, s = n * 2 - 1, r = new I.Vector2().fromArray([o, s]), a = new I.Raycaster();
1956
1956
  return a.setFromCamera(r, i.camera), i.model.intersectRaycaster(a)[0];
1957
1957
  }
1958
1958
  const Sf = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbYAAAGwCAYAAADFUEBtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABtqADAAQAAAABAAABsAAAAABTZ8U6AAAtiklEQVR4Ae2dAXJbSbJdp+d7AfYSHOGVeAPek5fkNXgLjviLmRkZl+CRbtc8UBKRRalZpyIesiorMx/eIcjb+QCh//Y3hwQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQg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FLZNYC17JIGIVosbEPD1evWxp5WABJ4koLA9CdB0CRQBhI1u7apTq3CnEpDADgIK2w6q1jyVQH8wJKLGunnYqTUN5xLYQEBh2wDVkscSaNF6mf/xxx9fbuNm7vZYMl64BCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQn8NQn8fyHnyuSABiy2AAAAAElFTkSuQmCC", Mf = `
@@ -1972,36 +1972,36 @@ void main() {
1972
1972
  }
1973
1973
  `;
1974
1974
  function Tf() {
1975
- const i = new E.PlaneGeometry(0.4, 0.4), t = Sf, e = new E.TextureLoader().load(t);
1976
- e.encoding = E.sRGBEncoding, e.minFilter = E.LinearFilter;
1977
- const n = new E.MeshBasicMaterial({
1975
+ const i = new I.PlaneGeometry(0.4, 0.4), t = Sf, e = new I.TextureLoader().load(t);
1976
+ e.encoding = I.sRGBEncoding, e.minFilter = I.LinearFilter;
1977
+ const n = new I.MeshBasicMaterial({
1978
1978
  map: e,
1979
1979
  transparent: !0,
1980
1980
  depthTest: !1
1981
1981
  });
1982
- return new E.Mesh(i, n);
1982
+ return new I.Mesh(i, n);
1983
1983
  }
1984
1984
  function zf() {
1985
- const i = new E.CurvePath();
1986
- i.add(new E.LineCurve3(new E.Vector3(0, 0, 0), new E.Vector3(0, 0, 0.1)));
1987
- const t = new E.TubeGeometry(i, 8, 3e-3), e = new E.ShaderMaterial({
1985
+ const i = new I.CurvePath();
1986
+ i.add(new I.LineCurve3(new I.Vector3(0, 0, 0), new I.Vector3(0, 0, 0.1)));
1987
+ const t = new I.TubeGeometry(i, 8, 3e-3), e = new I.ShaderMaterial({
1988
1988
  vertexShader: Mf,
1989
1989
  fragmentShader: Lf,
1990
1990
  depthTest: !1,
1991
1991
  transparent: !0
1992
1992
  });
1993
- return new E.Mesh(t, e);
1993
+ return new I.Mesh(t, e);
1994
1994
  }
1995
1995
  function jf() {
1996
- const i = new E.SphereGeometry(0.01, 20, 20), t = new E.MeshBasicMaterial({
1996
+ const i = new I.SphereGeometry(0.01, 20, 20), t = new I.MeshBasicMaterial({
1997
1997
  color: 10349931,
1998
1998
  depthTest: !1,
1999
1999
  transparent: !0,
2000
- side: E.DoubleSide
2001
- }), e = new E.Mesh(i, t);
2000
+ side: I.DoubleSide
2001
+ }), e = new I.Mesh(i, t);
2002
2002
  return e.position.set(0, 0, 0.1), e;
2003
2003
  }
2004
- class Nd extends E.Object3D {
2004
+ class Nd extends I.Object3D {
2005
2005
  constructor() {
2006
2006
  super();
2007
2007
  f(this, "planeMesh");
@@ -2012,7 +2012,7 @@ class Nd extends E.Object3D {
2012
2012
  updateWithIntersect(e) {
2013
2013
  if (!e.face)
2014
2014
  return;
2015
- const n = new E.Vector3().addVectors(e.point, e.face.normal);
2015
+ const n = new I.Vector3().addVectors(e.point, e.face.normal);
2016
2016
  this.position.copy(e.point), this.lookAt(n);
2017
2017
  }
2018
2018
  dispose() {
@@ -2098,7 +2098,7 @@ class Xd {
2098
2098
  [-n, -n, 0],
2099
2099
  [n, -n, 0],
2100
2100
  [n, n, 0]
2101
- ].map((r) => new E.Vector3().fromArray(r))
2101
+ ].map((r) => new I.Vector3().fromArray(r))
2102
2102
  );
2103
2103
  if (s) {
2104
2104
  const { container: r, dispose: a, css3DObject: l } = s;
@@ -2116,7 +2116,7 @@ class Xd {
2116
2116
  updateWithIntersect(t) {
2117
2117
  if (!t.face || !this.css3DObject)
2118
2118
  return;
2119
- const e = new E.Vector3().addVectors(t.point, t.face.normal);
2119
+ const e = new I.Vector3().addVectors(t.point, t.face.normal);
2120
2120
  this.css3DObject.position.copy(t.point), this.css3DObject.lookAt(e), this.five.needsRender = !0;
2121
2121
  }
2122
2122
  /** 缩放动画 */
@@ -2139,7 +2139,7 @@ class Of {
2139
2139
  f(this, "pointDomHelper", null);
2140
2140
  f(this, "contentDom", document.createElement("div"));
2141
2141
  f(this, "state", { enabled: !1 });
2142
- f(this, "group", new E.Group());
2142
+ f(this, "group", new I.Group());
2143
2143
  this.five = t, this.magnifier = (e == null ? void 0 : e.magnifier) === void 0 ? new Gd(t, { dragEnabled: !0 }) : null, this.pointHelper = (e == null ? void 0 : e.pointHelper) === void 0 ? new Nd() : null, this.pointDomHelper = (e == null ? void 0 : e.pointDomHelper) === void 0 ? new Xd(t) : null, this.group.name = "five-point-selector", this.five.scene.add(this.group), this.contentDom.classList.add("five-point-selector-content"), this.contentDom.style.position = "absolute", this.contentDom.style.top = "0", this.contentDom.style.left = "0", this.contentDom.style.width = "100%", this.contentDom.style.height = "100%", this.contentDom.style.pointerEvents = "none";
2144
2144
  }
2145
2145
  enable() {
@@ -2223,7 +2223,7 @@ function Qf() {
2223
2223
  });
2224
2224
  });
2225
2225
  }
2226
- const fE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2226
+ const fI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2227
2227
  __proto__: null,
2228
2228
  BetterTween: cs,
2229
2229
  FivePointSelector: Of,
@@ -2231,7 +2231,7 @@ const fE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2231
2231
  Magnifier: Gd,
2232
2232
  PointDomHelper: Xd,
2233
2233
  PointHelper: Nd,
2234
- Rectangle: Ef,
2234
+ Rectangle: If,
2235
2235
  getCoordsFromClient: kf,
2236
2236
  getCoordsFromElement: Wd,
2237
2237
  getFrameTime: Qf,
@@ -2344,7 +2344,7 @@ function pr(i, t, e = new $(1, 1, 1), n = !1) {
2344
2344
  const o = new Td(i, t);
2345
2345
  return o.setMaterial({ dashed: n, color: e, linewidth: 1 }), o.remove(o.points), o;
2346
2346
  }
2347
- const pE = (i) => {
2347
+ const pI = (i) => {
2348
2348
  const t = {
2349
2349
  intersection: null,
2350
2350
  disposers: []
@@ -2543,7 +2543,7 @@ function Ve(i) {
2543
2543
  function se() {
2544
2544
  return Ve(" ");
2545
2545
  }
2546
- function Ee() {
2546
+ function Ie() {
2547
2547
  return Ve("");
2548
2548
  }
2549
2549
  function Pe(i, t, e, n) {
@@ -2919,19 +2919,19 @@ function Lt(i, t, e, n, o, s, r, a, l, c, d, h) {
2919
2919
  F ? n && P.push(() => F.p(T, t)) : (F = c(S, T), F.c()), b.set(S, A[g] = F), S in v && y.set(S, Math.abs(g - v[S]));
2920
2920
  }
2921
2921
  const k = /* @__PURE__ */ new Set(), D = /* @__PURE__ */ new Set();
2922
- function I(T) {
2922
+ function E(T) {
2923
2923
  x(T, 1), T.m(a, d), r.set(T.key, T), d = T.first, m--;
2924
2924
  }
2925
2925
  for (; u && m; ) {
2926
2926
  const T = A[m - 1], S = i[u - 1], F = T.key, q = S.key;
2927
- T === S ? (d = T.first, u--, m--) : b.has(q) ? !r.has(F) || k.has(F) ? I(T) : D.has(q) ? u-- : y.get(F) > y.get(q) ? (D.add(F), I(T)) : (k.add(q), u--) : (l(S, r), u--);
2927
+ T === S ? (d = T.first, u--, m--) : b.has(q) ? !r.has(F) || k.has(F) ? E(T) : D.has(q) ? u-- : y.get(F) > y.get(q) ? (D.add(F), E(T)) : (k.add(q), u--) : (l(S, r), u--);
2928
2928
  }
2929
2929
  for (; u--; ) {
2930
2930
  const T = i[u];
2931
2931
  b.has(T.key) || l(T, r);
2932
2932
  }
2933
2933
  for (; m; )
2934
- I(A[m - 1]);
2934
+ E(A[m - 1]);
2935
2935
  return rt(P), A;
2936
2936
  }
2937
2937
  function st(i, t) {
@@ -3425,7 +3425,7 @@ function Ai(i) {
3425
3425
  }).observe(i);
3426
3426
  }
3427
3427
  const { Map: Pm } = Kf;
3428
- function Em(i) {
3428
+ function Im(i) {
3429
3429
  fe(i, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
3430
3430
  }
3431
3431
  function Ja(i, t, e) {
@@ -3449,7 +3449,7 @@ function Za(i, t) {
3449
3449
  key: i,
3450
3450
  first: null,
3451
3451
  c() {
3452
- e = Ee(), ne(n.$$.fragment), this.first = e;
3452
+ e = Ie(), ne(n.$$.fragment), this.first = e;
3453
3453
  },
3454
3454
  m(s, r) {
3455
3455
  V(s, e, r), ee(n, s, r), o = !0;
@@ -3474,7 +3474,7 @@ function Za(i, t) {
3474
3474
  }
3475
3475
  };
3476
3476
  }
3477
- function Im(i) {
3477
+ function Em(i) {
3478
3478
  let t, e = [], n = new Pm(), o, s, r, a = (
3479
3479
  /*roomLabels*/
3480
3480
  i[0]
@@ -3545,14 +3545,14 @@ function km(i, t, e) {
3545
3545
  function c(b) {
3546
3546
  if (!(l === null || b.floorIndex === l))
3547
3547
  return !1;
3548
- const P = new xn(), k = o.camera.position.clone(), D = new $(b.position.x, b.position.y, b.position.z), I = D.distanceTo(k);
3548
+ const P = new xn(), k = o.camera.position.clone(), D = new $(b.position.x, b.position.y, b.position.z), E = D.distanceTo(k);
3549
3549
  P.set(k.clone(), D.clone().sub(k).normalize());
3550
3550
  const [T] = o.model.intersectRaycaster(P);
3551
- return !(T && T.distance + 1 < I);
3551
+ return !(T && T.distance + 1 < E);
3552
3552
  }
3553
3553
  function d(b, y) {
3554
- const k = new $(b.position.x, b.position.y, b.position.z).clone().project(o.camera), D = Math.ceil((k.x + 1) / 2 * y.x), I = Math.ceil((-k.y + 1) / 2 * y.y);
3555
- return `translate(${D}px, ${I}px)`;
3554
+ const k = new $(b.position.x, b.position.y, b.position.z).clone().project(o.camera), D = Math.ceil((k.x + 1) / 2 * y.x), E = Math.ceil((-k.y + 1) / 2 * y.y);
3555
+ return `translate(${D}px, ${E}px)`;
3556
3556
  }
3557
3557
  function h(b) {
3558
3558
  const { rendererSize: y, shownFloor: P } = b, k = /* @__PURE__ */ new Map();
@@ -3603,7 +3603,7 @@ function km(i, t, e) {
3603
3603
  }
3604
3604
  class xm extends ce {
3605
3605
  constructor(t) {
3606
- super(), le(this, t, km, Im, ae, { five: 1, roomLabels: 0 }, Em);
3606
+ super(), le(this, t, km, Em, ae, { five: 1, roomLabels: 0 }, Im);
3607
3607
  }
3608
3608
  }
3609
3609
  function Dm(i) {
@@ -3691,7 +3691,7 @@ class Sm {
3691
3691
  }
3692
3692
  }
3693
3693
  }
3694
- const gE = (i) => new Sm(i), vE = {
3694
+ const gI = (i) => new Sm(i), vI = {
3695
3695
  name: "ModelRoomLabelPlugin",
3696
3696
  version: 0
3697
3697
  };
@@ -3765,7 +3765,7 @@ function yh(i) {
3765
3765
  const t = i - 1;
3766
3766
  return t * t * t + 1;
3767
3767
  }
3768
- function In(i, { delay: t = 0, duration: e = 400, easing: n = rn } = {}) {
3768
+ function En(i, { delay: t = 0, duration: e = 400, easing: n = rn } = {}) {
3769
3769
  const o = +getComputedStyle(i).opacity;
3770
3770
  return {
3771
3771
  delay: t,
@@ -3945,7 +3945,7 @@ function Gm(i) {
3945
3945
  );
3946
3946
  return {
3947
3947
  c() {
3948
- e && e.c(), t = Ee();
3948
+ e && e.c(), t = Ie();
3949
3949
  },
3950
3950
  m(n, o) {
3951
3951
  e && e.m(n, o), V(n, t, o);
@@ -4220,7 +4220,7 @@ function rp(i) {
4220
4220
  ), n;
4221
4221
  return {
4222
4222
  c() {
4223
- t = new Yo(!1), n = Ee(), t.a = n;
4223
+ t = new Yo(!1), n = Ie(), t.a = n;
4224
4224
  },
4225
4225
  m(o, s) {
4226
4226
  t.m(e, o, s), V(o, n, s);
@@ -4245,7 +4245,7 @@ function ap(i) {
4245
4245
  );
4246
4246
  return {
4247
4247
  c() {
4248
- n && n.c(), t = se(), o && o.c(), e = Ee();
4248
+ n && n.c(), t = se(), o && o.c(), e = Ie();
4249
4249
  },
4250
4250
  m(s, r) {
4251
4251
  n && n.m(s, r), V(s, t, r), o && o.m(s, r), V(s, e, r);
@@ -4404,7 +4404,7 @@ function dp(i, t, e) {
4404
4404
  ].every((be) => cp(be, He));
4405
4405
  };
4406
4406
  }
4407
- const b = document.body.clientWidth, y = document.body.clientHeight, P = h.roomLabel, k = P.positionInImage.x * 100 + "%", D = P.positionInImage.y * 100 + "%", I = (b < 500 || y < 500 ? 10 : 14) + "px";
4407
+ const b = document.body.clientWidth, y = document.body.clientHeight, P = h.roomLabel, k = P.positionInImage.x * 100 + "%", D = P.positionInImage.y * 100 + "%", E = (b < 500 || y < 500 ? 10 : 14) + "px";
4408
4408
  let T = 0, S = 0, F = !1;
4409
4409
  u.subscribe(function(H) {
4410
4410
  e(16, F = !!H && H.id === h.id);
@@ -4435,7 +4435,7 @@ function dp(i, t, e) {
4435
4435
  n,
4436
4436
  k,
4437
4437
  D,
4438
- I,
4438
+ E,
4439
4439
  l,
4440
4440
  u,
4441
4441
  m,
@@ -4580,7 +4580,7 @@ function il(i, t) {
4580
4580
  key: i,
4581
4581
  first: null,
4582
4582
  c() {
4583
- e = Ee(), ne(n.$$.fragment), this.first = e;
4583
+ e = Ie(), ne(n.$$.fragment), this.first = e;
4584
4584
  },
4585
4585
  m(a, l) {
4586
4586
  V(a, e, l), ee(n, a, l), o = !0;
@@ -4644,7 +4644,7 @@ function fp(i) {
4644
4644
  );
4645
4645
  return {
4646
4646
  c() {
4647
- n && n.c(), t = Ee();
4647
+ n && n.c(), t = Ie();
4648
4648
  },
4649
4649
  m(o, s) {
4650
4650
  n && n.m(o, s), V(o, t, s), e = !0;
@@ -4958,7 +4958,7 @@ function cl(i, t) {
4958
4958
  key: i,
4959
4959
  first: null,
4960
4960
  c() {
4961
- e = Ee(), ne(n.$$.fragment), this.first = e;
4961
+ e = Ie(), ne(n.$$.fragment), this.first = e;
4962
4962
  },
4963
4963
  m(a, l) {
4964
4964
  V(a, e, l), ee(n, a, l), o = !0;
@@ -5133,11 +5133,11 @@ function Ph({ x: i, y: t }, e) {
5133
5133
  const { max: n, min: o } = e;
5134
5134
  return { x: i - o.x, y: n.y - t };
5135
5135
  }
5136
- function Ep(i, t) {
5136
+ function Ip(i, t) {
5137
5137
  const e = i.x * 1e3 + t.bounding.origin.x, n = -i.z * 1e3 + t.bounding.origin.y;
5138
5138
  return { x: e, y: n };
5139
5139
  }
5140
- function Ip(i, t) {
5140
+ function Ep(i, t) {
5141
5141
  const e = t.bounding, n = e.max.x - e.min.x, o = e.max.y - e.min.y;
5142
5142
  return {
5143
5143
  x: (i.x - e.min.x) / n,
@@ -5681,7 +5681,7 @@ function pl(i, t) {
5681
5681
  key: i,
5682
5682
  first: null,
5683
5683
  c() {
5684
- e = Ee(), ne(n.$$.fragment), this.first = e;
5684
+ e = Ie(), ne(n.$$.fragment), this.first = e;
5685
5685
  },
5686
5686
  m(a, l) {
5687
5687
  V(a, e, l), ee(n, a, l), o = !0;
@@ -5798,7 +5798,7 @@ function qp(i, t, e) {
5798
5798
  l
5799
5799
  ];
5800
5800
  }
5801
- class Eh extends ce {
5801
+ class Ih extends ce {
5802
5802
  constructor(t) {
5803
5803
  super(), le(
5804
5804
  this,
@@ -5844,7 +5844,7 @@ function gl(i) {
5844
5844
  let o = {};
5845
5845
  for (let s = 0; s < n.length; s += 1)
5846
5846
  o = Je(o, n[s]);
5847
- return t = new Eh({ props: o }), {
5847
+ return t = new Ih({ props: o }), {
5848
5848
  c() {
5849
5849
  ne(t.$$.fragment);
5850
5850
  },
@@ -6271,7 +6271,7 @@ function yl(i) {
6271
6271
  for (let u = 0; u < r.length; u += 1)
6272
6272
  x(a[u]);
6273
6273
  x(c), x(d), o || ot(() => {
6274
- o = Sn(t, In, {
6274
+ o = Sn(t, En, {
6275
6275
  duration: (
6276
6276
  /*duration*/
6277
6277
  i[0]
@@ -6565,7 +6565,7 @@ function tg(i) {
6565
6565
  );
6566
6566
  return {
6567
6567
  c() {
6568
- n && n.c(), t = Ee();
6568
+ n && n.c(), t = Ie();
6569
6569
  },
6570
6570
  m(o, s) {
6571
6571
  n && n.m(o, s), V(o, t, s), e = !0;
@@ -6589,9 +6589,9 @@ function tg(i) {
6589
6589
  };
6590
6590
  }
6591
6591
  function ng(i, t, e) {
6592
- let { duration: n = 0 } = t, { visible: o } = t, { northDesc: s } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: d } = t, { compassEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: m } = t, { roomNameEnable: g } = t, { ruleLabelsEnable: v } = t, { floorplanData: A } = t, { lastPanoramaLongitude: b } = t, { cameraImageUrl: y } = t, { getRoomAreaText: P } = t, { getLabelElement: k } = t, { getRuleDistanceText: D } = t, { adaptiveRoomLabelVisibleEnable: I } = t, { highlightData: T } = t;
6592
+ let { duration: n = 0 } = t, { visible: o } = t, { northDesc: s } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: d } = t, { compassEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: m } = t, { roomNameEnable: g } = t, { ruleLabelsEnable: v } = t, { floorplanData: A } = t, { lastPanoramaLongitude: b } = t, { cameraImageUrl: y } = t, { getRoomAreaText: P } = t, { getLabelElement: k } = t, { getRuleDistanceText: D } = t, { adaptiveRoomLabelVisibleEnable: E } = t, { highlightData: T } = t;
6593
6593
  return i.$$set = (S) => {
6594
- "duration" in S && e(0, n = S.duration), "visible" in S && e(1, o = S.visible), "northDesc" in S && e(2, s = S.northDesc), "panoIndex" in S && e(3, r = S.panoIndex), "floorIndex" in S && e(4, a = S.floorIndex), "cameraEnable" in S && e(5, l = S.cameraEnable), "hoverEnable" in S && e(6, c = S.hoverEnable), "highlightEnable" in S && e(7, d = S.highlightEnable), "compassEnable" in S && e(8, h = S.compassEnable), "roomLabelsEnable" in S && e(9, u = S.roomLabelsEnable), "roomAreaEnable" in S && e(10, m = S.roomAreaEnable), "roomNameEnable" in S && e(11, g = S.roomNameEnable), "ruleLabelsEnable" in S && e(12, v = S.ruleLabelsEnable), "floorplanData" in S && e(13, A = S.floorplanData), "lastPanoramaLongitude" in S && e(14, b = S.lastPanoramaLongitude), "cameraImageUrl" in S && e(15, y = S.cameraImageUrl), "getRoomAreaText" in S && e(16, P = S.getRoomAreaText), "getLabelElement" in S && e(17, k = S.getLabelElement), "getRuleDistanceText" in S && e(18, D = S.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in S && e(19, I = S.adaptiveRoomLabelVisibleEnable), "highlightData" in S && e(20, T = S.highlightData);
6594
+ "duration" in S && e(0, n = S.duration), "visible" in S && e(1, o = S.visible), "northDesc" in S && e(2, s = S.northDesc), "panoIndex" in S && e(3, r = S.panoIndex), "floorIndex" in S && e(4, a = S.floorIndex), "cameraEnable" in S && e(5, l = S.cameraEnable), "hoverEnable" in S && e(6, c = S.hoverEnable), "highlightEnable" in S && e(7, d = S.highlightEnable), "compassEnable" in S && e(8, h = S.compassEnable), "roomLabelsEnable" in S && e(9, u = S.roomLabelsEnable), "roomAreaEnable" in S && e(10, m = S.roomAreaEnable), "roomNameEnable" in S && e(11, g = S.roomNameEnable), "ruleLabelsEnable" in S && e(12, v = S.ruleLabelsEnable), "floorplanData" in S && e(13, A = S.floorplanData), "lastPanoramaLongitude" in S && e(14, b = S.lastPanoramaLongitude), "cameraImageUrl" in S && e(15, y = S.cameraImageUrl), "getRoomAreaText" in S && e(16, P = S.getRoomAreaText), "getLabelElement" in S && e(17, k = S.getLabelElement), "getRuleDistanceText" in S && e(18, D = S.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in S && e(19, E = S.adaptiveRoomLabelVisibleEnable), "highlightData" in S && e(20, T = S.highlightData);
6595
6595
  }, [
6596
6596
  n,
6597
6597
  o,
@@ -6612,7 +6612,7 @@ function ng(i, t, e) {
6612
6612
  P,
6613
6613
  k,
6614
6614
  D,
6615
- I,
6615
+ E,
6616
6616
  T
6617
6617
  ];
6618
6618
  }
@@ -6730,7 +6730,7 @@ function cg(i, t, e) {
6730
6730
  url: ig,
6731
6731
  width: 45,
6732
6732
  height: 48
6733
- }, a = kp(s, t), l = Ep(s, e), c = Ip(l, e);
6733
+ }, a = kp(s, t), l = Ip(s, e), c = Ep(l, e);
6734
6734
  return { floorIndex: a, icon: r, id: o.id, position: l, positionInImage: c };
6735
6735
  });
6736
6736
  }
@@ -6743,18 +6743,18 @@ function As(i, t) {
6743
6743
  t.indexOf(n) === -1 && (e[n] = i[n]);
6744
6744
  });
6745
6745
  }
6746
- function El(i, t) {
6746
+ function Il(i, t) {
6747
6747
  const e = Math.max(...i.work.observers.map((n) => n.floorIndex));
6748
6748
  return t > e ? i.model.bounding.max.y : Math.max(
6749
6749
  ...i.work.observers.filter((n) => n.floorIndex === t).map((n) => n.standingPosition.y)
6750
6750
  );
6751
6751
  }
6752
6752
  function Aa(i, t, e = Pn.BOUNDING_CENTER) {
6753
- const n = El(i, t), o = El(i, t + 1);
6753
+ const n = Il(i, t), o = Il(i, t + 1);
6754
6754
  return e === Pn.BOUNDING_CENTER ? (i.model.bounding.max.y + i.model.bounding.min.y) / 2 : e === Pn.CEILING ? o : n;
6755
6755
  }
6756
6756
  function ba(i, t, e, n) {
6757
- const o = Aa(i, e, n == null ? void 0 : n.attachedTo), s = new E.Vector3(0, o, 0), r = new E.Vector3(1, o, 0), a = s.clone().project(i.camera), l = r.clone().project(i.camera);
6757
+ const o = Aa(i, e, n == null ? void 0 : n.attachedTo), s = new I.Vector3(0, o, 0), r = new I.Vector3(1, o, 0), a = s.clone().project(i.camera), l = r.clone().project(i.camera);
6758
6758
  return Math.abs((l.x - a.x) / 1e3) * (t.getBoundingClientRect().width / 2);
6759
6759
  }
6760
6760
  let ao = class {
@@ -6762,7 +6762,7 @@ let ao = class {
6762
6762
  /**
6763
6763
  * @realsee/dnalogel 版本号
6764
6764
  */
6765
- f(this, "VERSION", "2.19.2");
6765
+ f(this, "VERSION", "2.19.3");
6766
6766
  f(this, "five");
6767
6767
  /**
6768
6768
  * 插件事件钩子
@@ -6783,7 +6783,7 @@ let ao = class {
6783
6783
  }, Mn = class extends ao {
6784
6784
  };
6785
6785
  var At = /* @__PURE__ */ ((i) => (i.UnknownError = "UnknownError", i.DataNotLoaded = "DataNotLoaded", i.BreakOffByHide = "BreakOffByHide", i.BreakOffByDisable = "BreakOffByDisable", i.ModelNotLoaded = "ModelNotLoaded", i.ChangeModeError = "ChangeModeError", i.UpdateCameraError = "UpdateCameraError", i))(At || {});
6786
- const Ih = 500, hg = 80;
6786
+ const Eh = 500, hg = 80;
6787
6787
  function Xr(i, t, e = 4) {
6788
6788
  return Math.floor(i * Math.pow(10, e)) === Math.floor(t * Math.pow(10, e));
6789
6789
  }
@@ -6970,7 +6970,7 @@ let pg = class extends Mn {
6970
6970
  if (a)
6971
6971
  throw l ? new Error(l) : new Error(At.UnknownError);
6972
6972
  this.updateSize(), this.floorIndex = o.floorIndex, this.five.model.show(this.floorIndex);
6973
- const d = o.modelOpacity, h = o.immediately ? 0 : Ih;
6973
+ const d = o.modelOpacity, h = o.immediately ? 0 : Eh;
6974
6974
  ri(this.five, d, h), this.render(h);
6975
6975
  });
6976
6976
  return this.showPromise = s().then(() => {
@@ -7182,7 +7182,7 @@ let pg = class extends Mn {
7182
7182
  this.app = new va({ target: this.container, intro: !0, props: n });
7183
7183
  }
7184
7184
  };
7185
- const EE = (i, t) => new pg(i, t);
7185
+ const II = (i, t) => new pg(i, t);
7186
7186
  function gg(i) {
7187
7187
  const { latitude: t, longitude: e } = i, n = Math.abs(t - Math.PI / 2) > 5 * Math.PI / 180, o = e > 5 * (Math.PI / 180) && e < 355 * (Math.PI / 180);
7188
7188
  return n || o;
@@ -7299,7 +7299,7 @@ let Ag = class extends Mn {
7299
7299
  if (a)
7300
7300
  throw l ? new Error(l) : new Error(At.UnknownError);
7301
7301
  this.updateSize(), this.updatePosition(), this.floorIndex = o.floorIndex, this.five.model.show(this.floorIndex);
7302
- const d = o.modelOpacity, h = o.immediately ? 0 : Ih;
7302
+ const d = o.modelOpacity, h = o.immediately ? 0 : Eh;
7303
7303
  ri(this.five, d, h), this.render(h);
7304
7304
  });
7305
7305
  return this.showPromise = s().then(() => {
@@ -7459,7 +7459,7 @@ let Ag = class extends Mn {
7459
7459
  /** 更新户型图位置 */
7460
7460
  updatePosition() {
7461
7461
  var a;
7462
- const e = Aa(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new E.Vector3()).setY(e);
7462
+ const e = Aa(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new I.Vector3()).setY(e);
7463
7463
  if (!n)
7464
7464
  return;
7465
7465
  const o = n.clone().project(this.five.camera), s = (o.x + 1) / 2, r = -(o.y - 1) / 2;
@@ -7515,7 +7515,7 @@ let Ag = class extends Mn {
7515
7515
  this.app = new va({ target: this.container, intro: !0, props: n });
7516
7516
  }
7517
7517
  };
7518
- const kE = (i, t) => new Ag(i, t);
7518
+ const kI = (i, t) => new Ag(i, t);
7519
7519
  let bg = class extends Mn {
7520
7520
  constructor(e, n) {
7521
7521
  super(e);
@@ -7649,7 +7649,7 @@ let bg = class extends Mn {
7649
7649
  /** 更新户型图位置 */
7650
7650
  updatePosition() {
7651
7651
  var a;
7652
- const e = Aa(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new E.Vector3()).setY(e);
7652
+ const e = Aa(this.five, this.floorIndex, this.state.config.attachedTo), n = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new I.Vector3()).setY(e);
7653
7653
  if (!n)
7654
7654
  return;
7655
7655
  const o = n.clone().project(this.five.camera), s = (o.x + 1) / 2, r = -(o.y - 1) / 2;
@@ -7779,7 +7779,7 @@ let bg = class extends Mn {
7779
7779
  this.app = new va({ target: this.container, intro: !0, props: n });
7780
7780
  }
7781
7781
  };
7782
- const DE = (i, t) => new bg(i, t);
7782
+ const DI = (i, t) => new bg(i, t);
7783
7783
  function Ca(i, t = 200) {
7784
7784
  let e;
7785
7785
  return function(...n) {
@@ -7876,7 +7876,7 @@ function Pg(i, t, e) {
7876
7876
  d
7877
7877
  ];
7878
7878
  }
7879
- class Eg extends ce {
7879
+ class Ig extends ce {
7880
7880
  constructor(t) {
7881
7881
  super(), le(
7882
7882
  this,
@@ -7894,10 +7894,10 @@ class Eg extends ce {
7894
7894
  );
7895
7895
  }
7896
7896
  }
7897
- function Ig(i) {
7897
+ function Eg(i) {
7898
7898
  fe(i, "svelte-1i87fz7", ".plugin-pano-floorplan__extra-objects.svelte-1i87fz7{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.plugin-pano-floorplan__extra-object-item--position.svelte-1i87fz7{position:absolute;width:0;height:0}.plugin-pano-floorplan__extra-object-item.svelte-1i87fz7{transform:translate(-50%, -50%)}");
7899
7899
  }
7900
- function Il(i, t, e) {
7900
+ function El(i, t, e) {
7901
7901
  const n = i.slice();
7902
7902
  return n[1] = t[e], n;
7903
7903
  }
@@ -7944,7 +7944,7 @@ function kg(i) {
7944
7944
  r[1].id
7945
7945
  );
7946
7946
  for (let r = 0; r < o.length; r += 1) {
7947
- let a = Il(i, o, r), l = s(a);
7947
+ let a = El(i, o, r), l = s(a);
7948
7948
  n.set(l, e[r] = kl(l, a));
7949
7949
  }
7950
7950
  return {
@@ -7962,7 +7962,7 @@ function kg(i) {
7962
7962
  p(r, [a]) {
7963
7963
  a & /*extraObjects*/
7964
7964
  1 && (o = /*extraObjects*/
7965
- r[0], e = Lt(e, a, s, 1, r, o, n, t, ma, kl, null, Il));
7965
+ r[0], e = Lt(e, a, s, 1, r, o, n, t, ma, kl, null, El));
7966
7966
  },
7967
7967
  i: Z,
7968
7968
  o: Z,
@@ -7981,7 +7981,7 @@ function xg(i, t, e) {
7981
7981
  }
7982
7982
  class Dg extends ce {
7983
7983
  constructor(t) {
7984
- super(), le(this, t, xg, kg, ae, { extraObjects: 0 }, Ig);
7984
+ super(), le(this, t, xg, kg, ae, { extraObjects: 0 }, Eg);
7985
7985
  }
7986
7986
  }
7987
7987
  function xl(i) {
@@ -8017,7 +8017,7 @@ function xl(i) {
8017
8017
  let o = {};
8018
8018
  for (let s = 0; s < n.length; s += 1)
8019
8019
  o = Je(o, n[s]);
8020
- return t = new Eh({ props: o }), {
8020
+ return t = new Ih({ props: o }), {
8021
8021
  c() {
8022
8022
  ne(t.$$.fragment);
8023
8023
  },
@@ -8098,7 +8098,7 @@ function Sg(i) {
8098
8098
  );
8099
8099
  return {
8100
8100
  c() {
8101
- ne(t.$$.fragment), e = se(), ne(n.$$.fragment), o = se(), c && c.c(), s = Ee();
8101
+ ne(t.$$.fragment), e = se(), ne(n.$$.fragment), o = se(), c && c.c(), s = Ie();
8102
8102
  },
8103
8103
  m(d, h) {
8104
8104
  ee(t, d, h), V(d, e, h), ee(n, d, h), V(d, o, h), c && c.m(d, h), V(d, s, h), r = !0;
@@ -8281,7 +8281,7 @@ function Sl(i) {
8281
8281
  let h = {};
8282
8282
  for (let u = 0; u < d.length; u += 1)
8283
8283
  h = Je(h, d[u]);
8284
- return o = new Eg({ props: h }), {
8284
+ return o = new Ig({ props: h }), {
8285
8285
  c() {
8286
8286
  t = _("div"), ne(e.$$.fragment), n = se(), ne(o.$$.fragment), w(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), z(t, "width", s), z(t, "height", r);
8287
8287
  },
@@ -8368,7 +8368,7 @@ function zg(i) {
8368
8368
  );
8369
8369
  return {
8370
8370
  c() {
8371
- n && n.c(), t = Ee();
8371
+ n && n.c(), t = Ie();
8372
8372
  },
8373
8373
  m(o, s) {
8374
8374
  n && n.m(o, s), V(o, t, s), e = !0;
@@ -8410,7 +8410,7 @@ function jg(i, t, e) {
8410
8410
  }, i.$$.update = () => {
8411
8411
  if (i.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
8412
8412
  904) {
8413
- const D = Math.min(u, m), { max: I, min: T } = r.bounding, S = I.x - T.x, F = I.y - T.y, q = function() {
8413
+ const D = Math.min(u, m), { max: E, min: T } = r.bounding, S = E.x - T.x, F = E.y - T.y, q = function() {
8414
8414
  return S > F ? [D, D / S * F] : [D / F * S, D];
8415
8415
  }();
8416
8416
  e(9, g = q[0]), e(12, v = q[1]), e(10, d = g / S);
@@ -8595,7 +8595,7 @@ let Vg = class extends Mn {
8595
8595
  this.app ? this.app.$set(e) : this.app = new _g({ target: this.wrapper, props: e });
8596
8596
  }
8597
8597
  };
8598
- const ME = (i, t) => new Vg(i, t), LE = [
8598
+ const MI = (i, t) => new Vg(i, t), LI = [
8599
8599
  { type: 0, floorType: 1, roomType: "100900000012", name: "其他" },
8600
8600
  { type: 1, floorType: 1, roomType: "100900000002", name: "客厅" },
8601
8601
  { type: 2, floorType: 1, roomType: "100900000002", name: "餐厅" },
@@ -8667,14 +8667,14 @@ const ME = (i, t) => new Vg(i, t), LE = [
8667
8667
  { type: 56, floorType: 2, roomType: "100900000012", name: "空中花园" },
8668
8668
  { type: 57, floorType: 0, roomType: "100900000001", name: "洋室" },
8669
8669
  { type: 58, floorType: 0, roomType: "100900000001", name: "和室" }
8670
- ], TE = [
8670
+ ], TI = [
8671
8671
  { type: 0, description: "木质地板" },
8672
8672
  { type: 1, description: "瓷砖地面" },
8673
8673
  { type: 2, description: "户外地面" },
8674
8674
  { type: 3, description: "卫生间地面" },
8675
8675
  { type: 4, description: "阳台地面" },
8676
8676
  { type: 5, description: "车库地面" }
8677
- ], zE = [
8677
+ ], zI = [
8678
8678
  { roomType: "100900000001", description: "室" },
8679
8679
  { roomType: "100900000002", description: "厅" },
8680
8680
  { roomType: "100900000003", description: "厨" },
@@ -8691,7 +8691,7 @@ const ME = (i, t) => new Vg(i, t), LE = [
8691
8691
  { roomType: "100900000015", description: "商铺" },
8692
8692
  { roomType: "100900000016", description: "写字楼" }
8693
8693
  ], Ar = (i, t, e) => {
8694
- const n = new E.Matrix4(), o = new E.Euler(i, t, e, "YXZ");
8694
+ const n = new I.Matrix4(), o = new I.Euler(i, t, e, "YXZ");
8695
8695
  return n.makeRotationFromEuler(o), n;
8696
8696
  }, Og = (i, {
8697
8697
  scale: t,
@@ -8713,7 +8713,7 @@ function xh(i, t) {
8713
8713
  }
8714
8714
  });
8715
8715
  }
8716
- const jE = (i, t) => {
8716
+ const jI = (i, t) => {
8717
8717
  var d;
8718
8718
  const e = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/dipan2.f38a21cc.FBX", n = (d = t.north_rad) != null ? d : void 0, o = {}, s = (h) => X(void 0, null, function* () {
8719
8719
  var R;
@@ -8723,19 +8723,19 @@ const jE = (i, t) => {
8723
8723
  const g = i.model.bounding, v = g.max.x - g.min.x, A = g.max.z - g.min.z, b = Math.max(v, A), P = yield new zd().loadAsync(u);
8724
8724
  xh(P, {
8725
8725
  transparent: !0,
8726
- side: E.DoubleSide,
8727
- blending: E.AdditiveBlending
8726
+ side: I.DoubleSide,
8727
+ blending: I.AdditiveBlending
8728
8728
  });
8729
8729
  const k = [0, m - Math.PI / 2, 0], {
8730
8730
  model: {
8731
8731
  bounding: {
8732
- max: { x: D, z: I },
8732
+ max: { x: D, z: E },
8733
8733
  min: { x: T, y: S, z: F }
8734
8734
  }
8735
8735
  }
8736
8736
  } = i;
8737
8737
  o.yBase = S;
8738
- const q = { x: (D + T) / 2, y: S - 1.6, z: (I + F) / 2 }, Q = 45e-4 * b;
8738
+ const q = { x: (D + T) / 2, y: S - 1.6, z: (E + F) / 2 }, Q = 45e-4 * b;
8739
8739
  return Og(P, { position: q, rotation: k, scale: Q }), o.object = P, !0;
8740
8740
  }), r = ({ latitude: h }) => {
8741
8741
  if (!o.object)
@@ -8767,18 +8767,18 @@ function Bg(i, t) {
8767
8767
  const l = a.getContext("2d");
8768
8768
  return l.fillStyle = o, l.fillRect(0, 0, e, e), l.font = `${n}px "微软雅黑"`, l.textAlign = r, l.fillStyle = s, l.fillText(i, e / 2, e * 0.7), new Mu(a);
8769
8769
  }
8770
- const Rg = ({ x: i, y: t, z: e }) => new $(i, t, e), _E = (i, t) => {
8770
+ const Rg = ({ x: i, y: t, z: e }) => new $(i, t, e), _I = (i, t) => {
8771
8771
  var v, A, b;
8772
8772
  const e = {}, n = (v = t.animationEnabled) != null ? v : !0, o = (A = t.position) != null ? A : void 0, s = (b = t.rad) != null ? b : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (y) => X(void 0, null, function* () {
8773
8773
  var q, Q, R, H, B, G, U, Y;
8774
8774
  const P = (q = y == null ? void 0 : y.position) != null ? q : o;
8775
8775
  if (!P)
8776
8776
  return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
8777
- const k = Rg(P), D = (Q = y == null ? void 0 : y.rad) != null ? Q : s, I = (R = y == null ? void 0 : y.fbx_url) != null ? R : r;
8777
+ const k = Rg(P), D = (Q = y == null ? void 0 : y.rad) != null ? Q : s, E = (R = y == null ? void 0 : y.fbx_url) != null ? R : r;
8778
8778
  if (e.rad = D, D === void 0)
8779
8779
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${D}`));
8780
- const T = yield new zd().loadAsync(I);
8781
- T.position.copy(k), T.rotation.z = D, T.scale.set(0.8, 0.8, 0.8), xh(T, { transparent: !0, side: E.DoubleSide });
8780
+ const T = yield new zd().loadAsync(E);
8781
+ T.position.copy(k), T.rotation.z = D, T.scale.set(0.8, 0.8, 0.8), xh(T, { transparent: !0, side: I.DoubleSide });
8782
8782
  const S = (U = (G = (B = (H = T.children) == null ? void 0 : H[0]) == null ? void 0 : B.children) == null ? void 0 : G[3]) == null ? void 0 : U.clone();
8783
8783
  if (!S)
8784
8784
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${S}`));
@@ -8794,7 +8794,7 @@ const Rg = ({ x: i, y: t, z: e }) => new $(i, t, e), _E = (i, t) => {
8794
8794
  const k = P.clipAction(e.object.animations[0]);
8795
8795
  k.timeScale = y;
8796
8796
  let D;
8797
- const I = () => {
8797
+ const E = () => {
8798
8798
  let q = 0, Q = 0;
8799
8799
  const R = 1e3 / 30, H = (B) => {
8800
8800
  q = requestAnimationFrame(H);
@@ -8805,7 +8805,7 @@ const Rg = ({ x: i, y: t, z: e }) => new $(i, t, e), _E = (i, t) => {
8805
8805
  cancelAnimationFrame(q);
8806
8806
  };
8807
8807
  }, F = { play: () => {
8808
- D || (k.play(), D = I(), requestAnimationFrame(() => {
8808
+ D || (k.play(), D = E(), requestAnimationFrame(() => {
8809
8809
  e.object && e.object.rotation.z !== e.rad && (e.object.rotation.z = e.rad);
8810
8810
  }));
8811
8811
  }, stop: () => {
@@ -8859,7 +8859,7 @@ const Yr = (i, t, e) => {
8859
8859
  const n = Math.PI, o = n * 2;
8860
8860
  let s = Ml(i), r = Ml(t);
8861
8861
  return e === Yt.Anticlockwise && s < r && (s += o), e === Yt.Clockwise && r < s && (r += o), e === Yt.Loop && r - s > n ? Yr(s, r, Yt.Anticlockwise) : e === Yt.Loop && s - r > n ? Yr(s, r, Yt.Clockwise) : { from: s, to: r };
8862
- }, VE = (i) => {
8862
+ }, VI = (i) => {
8863
8863
  const t = {}, e = (l, c, ...d) => X(void 0, [l, c, ...d], function* (s, r, a = { preload: !0 }) {
8864
8864
  return t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), s.mode && s.mode !== i.currentMode && (yield i.changeMode(s.mode)), a.preload && s.panoIndex !== void 0 && s.panoIndex !== i.panoIndex && (yield i.preloadPano(s.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), s.panoIndex === void 0 && s.fov === void 0 && s.latitude === void 0 && s.longitude === void 0 ? !0 : yield new Promise((h, u) => {
8865
8865
  const m = s.panoIndex !== void 0 ? s.panoIndex : i.panoIndex;
@@ -9067,7 +9067,7 @@ const Fg = `<style type="text/css">
9067
9067
  a.__roof.sort(), a.__floor.sort(), a.floor = a.__floor[~~(a.__floor.length / 2)], a.roof = a.__roof[a.__roof.length - 1];
9068
9068
  }
9069
9069
  return e;
9070
- }, OE = (i, t) => {
9070
+ }, OI = (i, t) => {
9071
9071
  const e = {
9072
9072
  enable: !1,
9073
9073
  loaded: !1,
@@ -9098,7 +9098,7 @@ const Fg = `<style type="text/css">
9098
9098
  if (!y)
9099
9099
  return !1;
9100
9100
  for (const P in A) {
9101
- const k = A[P], { standingPosition: D } = y.observers[0], I = k.map(({ x: T, z: S, observers: F }) => {
9101
+ const k = A[P], { standingPosition: D } = y.observers[0], E = k.map(({ x: T, z: S, observers: F }) => {
9102
9102
  const q = F.length > 0 ? v.rooms[v.observers[F[0]]].name : "", Q = b[q] ? b[q].floor : null;
9103
9103
  let R = 1 / 0, H = {
9104
9104
  index: 0,
@@ -9123,19 +9123,19 @@ const Fg = `<style type="text/css">
9123
9123
  return U && Object.assign(U, { observers: F }), { origin: B, vertical: U };
9124
9124
  });
9125
9125
  r[P] = {
9126
- origins: I.map((T) => T.origin),
9126
+ origins: E.map((T) => T.origin),
9127
9127
  rules: []
9128
9128
  };
9129
- for (const { origin: T, vertical: S } of I) {
9129
+ for (const { origin: T, vertical: S } of E) {
9130
9130
  if (!S)
9131
9131
  continue;
9132
9132
  const F = n(P, T.distanceTo(S));
9133
9133
  o.append(F), r[P].rules.push({ vertical: !0, rule: [T, S], $element: F });
9134
9134
  }
9135
- for (let T = 0; T < I.length; T++) {
9135
+ for (let T = 0; T < E.length; T++) {
9136
9136
  let S = T + 1;
9137
- S >= I.length && (S = 0);
9138
- const { origin: F } = I[T], { origin: q } = I[S], Q = n(P, F.distanceTo(q));
9137
+ S >= E.length && (S = 0);
9138
+ const { origin: F } = E[T], { origin: q } = E[S], Q = n(P, F.distanceTo(q));
9139
9139
  o.append(Q), r[P].rules.push({ vertical: !1, rule: [F, q], $element: Q });
9140
9140
  }
9141
9141
  }
@@ -9169,8 +9169,8 @@ const Fg = `<style type="text/css">
9169
9169
  ]
9170
9170
  ], k = [];
9171
9171
  for (let D = 0; D < P.length; D++) {
9172
- const I = Sh([v, A], [P[D][0], P[D][1]], !0);
9173
- I && k.push(I);
9172
+ const E = Sh([v, A], [P[D][0], P[D][1]], !0);
9173
+ E && k.push(E);
9174
9174
  }
9175
9175
  return k.length === 0 ? !1 : k;
9176
9176
  }, d = () => {
@@ -9190,7 +9190,7 @@ const Fg = `<style type="text/css">
9190
9190
  Q.style.display = "none";
9191
9191
  return;
9192
9192
  }
9193
- const k = b.position, D = b.getWorldDirection(new $()), I = v.clientWidth, T = v.clientHeight;
9193
+ const k = b.position, D = b.getWorldDirection(new $()), E = v.clientWidth, T = v.clientHeight;
9194
9194
  if (y !== nt.Mode.Panorama) {
9195
9195
  for (const q in r)
9196
9196
  for (const { $element: Q } of r[q].rules)
@@ -9237,12 +9237,12 @@ const Fg = `<style type="text/css">
9237
9237
  R.style.display = "none";
9238
9238
  continue;
9239
9239
  }
9240
- const Ae = H.clone().project(b), we = (Ae.x + 1) / 2 * I, ge = (-Ae.y + 1) / 2 * T, ze = B.clone().project(b), ve = (ze.x + 1) / 2 * I, He = (-ze.y + 1) / 2 * T, ue = Math.sqrt(Math.pow(ve - we, 2) + Math.pow(He - ge, 2));
9240
+ const Ae = H.clone().project(b), we = (Ae.x + 1) / 2 * E, ge = (-Ae.y + 1) / 2 * T, ze = B.clone().project(b), ve = (ze.x + 1) / 2 * E, He = (-ze.y + 1) / 2 * T, ue = Math.sqrt(Math.pow(ve - we, 2) + Math.pow(He - ge, 2));
9241
9241
  let be = ue, Me = 50;
9242
9242
  const me = c({ x: ~~we, y: ~~ge }, {
9243
9243
  x: ~~ve,
9244
9244
  y: ~~He
9245
- }, I, T);
9245
+ }, E, T);
9246
9246
  if (me && me.length === 1 && (S === H ? (be = Math.sqrt(Math.pow(me[0].x - we, 2) + Math.pow(me[0].y - ge, 2)), Me = be / ue * 50) : S === B && (be = Math.sqrt(Math.pow(me[0].x - ve, 2) + Math.pow(me[0].y - He, 2)), Me = 100 - be / ue * 50)), me && me.length === 2) {
9247
9247
  const oe = {
9248
9248
  x: (me[0].x + me[1].x) / 2,
@@ -9264,8 +9264,8 @@ const Fg = `<style type="text/css">
9264
9264
  const A = v.distanceText;
9265
9265
  e.options.distanceText = A, Object.values(r).forEach((b) => {
9266
9266
  b.rules.forEach((y) => {
9267
- const [P, k] = y.rule, D = P.distanceTo(k), I = y.$element.querySelector(".PanoRulerPlugin-rule-label-name");
9268
- I && (I.innerText = A(D));
9267
+ const [P, k] = y.rule, D = P.distanceTo(k), E = y.$element.querySelector(".PanoRulerPlugin-rule-label-name");
9268
+ E && (E.innerText = A(D));
9269
9269
  });
9270
9270
  });
9271
9271
  }
@@ -9580,23 +9580,23 @@ function tv(i, t, e) {
9580
9580
  [{ x: 0, y: 0 }, { x: 0, y: l }],
9581
9581
  [{ x: a, y: 0 }, { x: a, y: l }],
9582
9582
  [{ x: 0, y: l }, { x: a, y: l }]
9583
- ], I = [];
9583
+ ], E = [];
9584
9584
  for (let T = 0; T < D.length; T++) {
9585
9585
  const S = Sh([P, k], [D[T][0], D[T][1]], !0);
9586
- S && I.push(S);
9586
+ S && E.push(S);
9587
9587
  }
9588
- return I.length === 0 ? !1 : I;
9588
+ return E.length === 0 ? !1 : E;
9589
9589
  }, d = (P, k) => {
9590
- const D = P.clone().project(n.camera), I = (D.x + 1) / 2 * a, T = (-D.y + 1) / 2 * l, S = k.clone().project(n.camera), F = (S.x + 1) / 2 * a, q = (-S.y + 1) / 2 * l, Q = Math.sqrt(Math.pow(F - I, 2) + Math.pow(q - T, 2));
9590
+ const D = P.clone().project(n.camera), E = (D.x + 1) / 2 * a, T = (-D.y + 1) / 2 * l, S = k.clone().project(n.camera), F = (S.x + 1) / 2 * a, q = (-S.y + 1) / 2 * l, Q = Math.sqrt(Math.pow(F - E, 2) + Math.pow(q - T, 2));
9591
9591
  return {
9592
- startLeft: I,
9592
+ startLeft: E,
9593
9593
  startTop: T,
9594
9594
  endLeft: F,
9595
9595
  endTop: q,
9596
9596
  distance: Q
9597
9597
  };
9598
9598
  }, h = (P, k, D) => {
9599
- const I = n.camera.position, T = n.camera.getWorldDirection(new $()), S = P.clone().sub(I).normalize().angleTo(T), F = k.clone().sub(I).normalize().angleTo(T), q = P.distanceTo(k), R = k.clone().sub(k.clone().sub(P).divide(new $(2, 2, 2))).distanceTo(I), { startLeft: H, startTop: B, endLeft: G, endTop: U, distance: Y } = d(P, k), re = -((Math.PI / 2 - Math.atan2(G - H, B - U)) / Math.PI) * 180;
9599
+ const E = n.camera.position, T = n.camera.getWorldDirection(new $()), S = P.clone().sub(E).normalize().angleTo(T), F = k.clone().sub(E).normalize().angleTo(T), q = P.distanceTo(k), R = k.clone().sub(k.clone().sub(P).divide(new $(2, 2, 2))).distanceTo(E), { startLeft: H, startTop: B, endLeft: G, endTop: U, distance: Y } = d(P, k), re = -((Math.PI / 2 - Math.atan2(G - H, B - U)) / Math.PI) * 180;
9600
9600
  let ie = !0;
9601
9601
  D || (ie = !1), !Vt(P, D) && !Vt(k, D) && (ie = !1), q < 0.3 && (ie = !1), S > Math.PI / 2 && (ie = !1), F > Math.PI / 2 && (ie = !1), R / q > 8 && (ie = !1);
9602
9602
  let Ae = 50, we = Y;
@@ -9623,8 +9623,8 @@ function tv(i, t, e) {
9623
9623
  return e(0, r = []);
9624
9624
  if (n.currentMode !== nt.Mode.Panorama)
9625
9625
  return e(0, r = []);
9626
- const D = n.camera.position, I = n.camera.getWorldDirection(new $()), T = k.lines.map((Q) => new $(Q.start[0], -Q.start[1], -Q.start[2])), S = k.lines.map((Q) => new $(Q.end[0], -Q.end[1], -Q.end[2])), [F] = T.concat(S).sort((Q, R) => {
9627
- const H = Q.clone().setY(0).sub(D).normalize().angleTo(I.clone().setY(0)), B = R.clone().setY(0).sub(D).normalize().angleTo(I.clone().setY(0));
9626
+ const D = n.camera.position, E = n.camera.getWorldDirection(new $()), T = k.lines.map((Q) => new $(Q.start[0], -Q.start[1], -Q.start[2])), S = k.lines.map((Q) => new $(Q.end[0], -Q.end[1], -Q.end[2])), [F] = T.concat(S).sort((Q, R) => {
9627
+ const H = Q.clone().setY(0).sub(D).normalize().angleTo(E.clone().setY(0)), B = R.clone().setY(0).sub(D).normalize().angleTo(E.clone().setY(0));
9628
9628
  return H - B;
9629
9629
  }), q = k.lines.map((Q) => {
9630
9630
  var we, ge;
@@ -9720,7 +9720,7 @@ let iv = class {
9720
9720
  this.container && (this.rulerItems.$destroy(), this.rulerItems = void 0), this.container.remove();
9721
9721
  }
9722
9722
  };
9723
- const RE = (i, t) => new iv(i, t), ov = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZIAAABCCAYAAAB9y1BhAAAAAXNSR0IArs4c6QAADh5JREFUeAHtnVuPLDcVhedwC/dACKAICDxEIBQpygNI/Ab+MX8B8YCQEAjxgBAQLsm5Jjkn58r6Sl4jT52qnu4zXd121dqSx67q7ip7eXsv721XzcVFJAgEgSAQBIJAEAgCQeC4CLx48eKbSu+RH/fKuVoQWB8Cn1tfk9KiIHAUBH6tq/xKiTwSBILADgRCJDvAyUebRuAbpfXxSDatBmn8Pgh8YZ8v5TtBYIMIvFCbSZEgEASuQSBEcg1A+XizCDzfbMvT8CBwIAIhkgMBy9c3g0CIZDNdnYbeFIEQyU0RzO/XikCIZK09m3YdHYEQydEhzQVXgkCIZCUdmWYs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Nkg0lueSI4EgbMiIJ1kZyshL9LUOjNEwkT9sXT2pBP1VyaSQiCse9Coqa27LApBIPE+BEKkLwSk32zRHESDkp0zkSDQBALF9uKdYHunnkthwo7tfXQqQjmYSNQImBACIU2xIuGreB8CIdIvAtJzNogMosHI4mYkCDSHgPTUXspU2ItoEIvzEArlxWRvIlGFWTSnsnWF+b1dKAhk8QrrHpEgsDgC0ndi0oNoEBIuiASBZhGQvnqCz/KCJ/jYZtto7DPRoUU2N11LJIXxqNyUC0VFqeCTpRlP94gEgZMhIL0nbDCIdJswQSQINI9AIRRsNRP+KfvOkgNrKEddr5660YUqw3k8EAhkbvsuCztPVSF7JDqMBIF1IKAxcOl5S8eZLEWCQDcIFBtO2Kv2UOr645lAKkex4VeIpLo5jHbls1KD4eYaWIu4R+UeyYLA2RHQWGAADiJ9P9u2StcheRB4VQSkyzgD2PQppwBH4MaEMpBFRSDcqCYQx9ggDphr0QUb3SMSBJpAQGPiciei9P6oYYAmGphKbA4B6TRrJ+j1HKHYzh8cZbpVBowXZ8bgQhzPNJAOvvD4QjkOAj0hUAbdUOVMoHrqudT1OgSk2zgLkAl2n/LYvh9s900kutYV4UIvQiBXMMlBEAgCQWA1CBRCgUjmHAkI5vk+PACR1BcZmGmfH64GzTQkCASBILBhBAqhgEC9rDFGJI7FGJEcB4EgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCm0fg/x4jQQWGalpFAAAAAElFTkSuQmCC";
9724
9724
  function sv() {
9725
9725
  const i = document.createElement("div"), t = document.createElement("i"), e = document.createElement("span");
9726
9726
  return i.appendChild(t), i.appendChild(e), i.style.position = "relative", i.style.width = "100%", i.style.display = "flex", i.style.flexDirection = "column", i.style.alignItems = "center", i.style.marginTop = `${150 / 16}rem`, i.style.opacity = "0", i.style.transition = "opacity 1000ms linear", t.style.display = "block", t.style.width = `${134 / 16}rem`, t.style.height = `${22 / 16}rem`, t.style.backgroundSize = "100%", t.style.backgroundRepeat = "no-repeat", t.style.backgroundImage = `url(${ov})`, e.style.marginTop = `${10 / 16}rem`, e.style.fontSize = `${16 / 16}rem`, e.style.color = "#fff", e.style.opacity = "0.7", e.style.textShadow = "0 2px 16px rgb(22 34 83 / 24%)", e.style.fontWeight = "bold", {
@@ -9741,12 +9741,12 @@ function sv() {
9741
9741
  }
9742
9742
  };
9743
9743
  }
9744
- const rv = new E.TextureLoader();
9744
+ const rv = new I.TextureLoader();
9745
9745
  function to(i) {
9746
9746
  return X(this, null, function* () {
9747
9747
  return new Promise((t, e) => {
9748
9748
  rv.load(i, t, void 0, e);
9749
- }).then((t) => (t.encoding = E.sRGBEncoding, t));
9749
+ }).then((t) => (t.encoding = I.sRGBEncoding, t));
9750
9750
  });
9751
9751
  }
9752
9752
  const zo = { userAction: !0 };
@@ -9768,7 +9768,7 @@ class av extends Mn {
9768
9768
  }
9769
9769
  });
9770
9770
  f(this, "data");
9771
- f(this, "group", new E.Group());
9771
+ f(this, "group", new I.Group());
9772
9772
  f(this, "roomInfoInstance");
9773
9773
  f(this, "roomInfoWrapperInstance");
9774
9774
  f(this, "compassMeshTween");
@@ -9831,12 +9831,12 @@ class av extends Mn {
9831
9831
  var u;
9832
9832
  (u = this.compassMesh) == null || u.material.setValues({ opacity: h }), this.five.needsRender = !0;
9833
9833
  }).play())), this.entryDoorMesh) {
9834
- const u = new E.Vector3(
9834
+ const u = new I.Vector3(
9835
9835
  this.data.entrance.position.x,
9836
9836
  this.data.entrance.position.y,
9837
9837
  this.data.entrance.position.z
9838
9838
  ).clone().setY(n.y).sub(n).normalize(), m = n.clone().add(u.clone().multiplyScalar(0.7)).setY(n.y + 0.01);
9839
- this.entryDoorMesh.rotation.z = new E.Vector3(0, 0, -1).angleTo(u), this.entryDoorMesh.position.copy(m), ((l = this.data) == null ? void 0 : l.room_observers[e].room.type) === 1 ? (c = this.entryDoorMesh) == null || c.material.setValues({ opacity: 1 }) : (d = this.entryDoorMesh) == null || d.material.setValues({ opacity: 0 });
9839
+ this.entryDoorMesh.rotation.z = new I.Vector3(0, 0, -1).angleTo(u), this.entryDoorMesh.position.copy(m), ((l = this.data) == null ? void 0 : l.room_observers[e].room.type) === 1 ? (c = this.entryDoorMesh) == null || c.material.setValues({ opacity: 1 }) : (d = this.entryDoorMesh) == null || d.material.setValues({ opacity: 0 });
9840
9840
  }
9841
9841
  this.roomInfoInstance && this.roomInfoWrapperInstance && (this.roomInfoWrapperInstance.css3DObject.position.copy(n.clone().setY(n.y + 0.01)), this.roomInfoInstance.setRoom(this.data.room_observers[e].room)), this.five.needsRender = !0;
9842
9842
  });
@@ -9950,37 +9950,37 @@ class av extends Mn {
9950
9950
  }
9951
9951
  loadCompassMesh() {
9952
9952
  return X(this, null, function* () {
9953
- const e = this.state.config.compassImageUrl, n = yield to(e), o = new E.CircleGeometry(0.7, 32), s = new E.MeshBasicMaterial({
9953
+ const e = this.state.config.compassImageUrl, n = yield to(e), o = new I.CircleGeometry(0.7, 32), s = new I.MeshBasicMaterial({
9954
9954
  map: n,
9955
9955
  transparent: !0,
9956
9956
  opacity: 0,
9957
9957
  depthTest: !1
9958
- }), r = new E.Mesh(o, s);
9958
+ }), r = new I.Mesh(o, s);
9959
9959
  return r.name = "pano-compass-mesh", r;
9960
9960
  });
9961
9961
  }
9962
9962
  loadEntryDoorMesh() {
9963
9963
  return X(this, null, function* () {
9964
- const e = this.state.config.entryDoorImageUrl, n = yield to(e), o = new E.PlaneGeometry(0.2, 0.16), s = new E.MeshBasicMaterial({
9964
+ const e = this.state.config.entryDoorImageUrl, n = yield to(e), o = new I.PlaneGeometry(0.2, 0.16), s = new I.MeshBasicMaterial({
9965
9965
  map: n,
9966
9966
  transparent: !0,
9967
9967
  opacity: 0.8,
9968
9968
  depthTest: !1
9969
- }), r = new E.Mesh(o, s);
9969
+ }), r = new I.Mesh(o, s);
9970
9970
  return r.name = "pano-compass-entry-door", r;
9971
9971
  });
9972
9972
  }
9973
9973
  loadRoomInfo() {
9974
9974
  const e = [
9975
- new E.Vector3(-0.7, 0, -0.7),
9976
- new E.Vector3(0.7, 0, -0.7),
9977
- new E.Vector3(0.7, 0, 0.7),
9978
- new E.Vector3(-0.7, 0, 0.7)
9975
+ new I.Vector3(-0.7, 0, -0.7),
9976
+ new I.Vector3(0.7, 0, -0.7),
9977
+ new I.Vector3(0.7, 0, 0.7),
9978
+ new I.Vector3(-0.7, 0, 0.7)
9979
9979
  ];
9980
9980
  return us(this.five).create3DDomContainer(e);
9981
9981
  }
9982
9982
  }
9983
- const QE = (i, t) => new av(i, t);
9983
+ const QI = (i, t) => new av(i, t);
9984
9984
  function jo(i, t, e) {
9985
9985
  const n = i[t], o = i[e];
9986
9986
  n === void 0 || o === void 0 || (i[t] = o, i[e] = n);
@@ -10007,7 +10007,7 @@ class cv {
10007
10007
  f(this, "config");
10008
10008
  f(this, "offset", { x: 0, y: 0 });
10009
10009
  f(this, "context");
10010
- f(this, "renderCenter", new E.Vector3());
10010
+ f(this, "renderCenter", new I.Vector3());
10011
10011
  f(this, "hammer");
10012
10012
  f(this, "state", { enabled: !1 });
10013
10013
  f(this, "offsetRange");
@@ -10090,7 +10090,7 @@ class cv {
10090
10090
  if (!this.containerDom)
10091
10091
  return;
10092
10092
  const { width: t, height: e } = this, [n, o, s] = (() => {
10093
- if (this.renderCenter instanceof E.Vector3) {
10093
+ if (this.renderCenter instanceof I.Vector3) {
10094
10094
  const r = this.renderCenter.clone().project(this.five.camera);
10095
10095
  return [
10096
10096
  (r.x + 1) / 2 * this.containerDom.clientWidth,
@@ -10105,8 +10105,8 @@ class cv {
10105
10105
  render() {
10106
10106
  if (!this.five.renderer || !this.containerDom)
10107
10107
  return;
10108
- const { scale: t, context: e, width: n, height: o } = this, s = this.five.renderer.getSize(new E.Vector2()), [r, a] = (() => {
10109
- if (this.renderCenter instanceof E.Vector3) {
10108
+ const { scale: t, context: e, width: n, height: o } = this, s = this.five.renderer.getSize(new I.Vector2()), [r, a] = (() => {
10109
+ if (this.renderCenter instanceof I.Vector3) {
10110
10110
  const A = this.renderCenter.clone().project(this.five.camera);
10111
10111
  return [(A.x + 1) / 2 * s.x, (A.y + 1) / 2 * s.y];
10112
10112
  } else
@@ -10195,13 +10195,13 @@ function Pv() {
10195
10195
  "backdrop-filter: blur(4px);-webkit-backdrop-filter: blur(4px);-webkit-tap-highlight-color: rgba(0,0,0,0);"
10196
10196
  ), i.style.width = "max-content", i.style.padding = "3px 6px", i.style.lineHeight = "1", i.style.textAlign = "center", i.style.transform = "translate(-50%, -50%)", i.style.borderRadius = "100px", i.style.fontSize = "14px", i.style.color = "#fff", i.style.background = "rgba(195,195,195,0.70)", i.style.border = "0.5px solid rgba(255,255,255,0.6)", i.style.cursor = "pointer", i;
10197
10197
  }
10198
- function Ev(i) {
10198
+ function Iv(i) {
10199
10199
  const t = document.createElement("div");
10200
10200
  return t.id = "distance_" + i.id, t.classList.add("five-plugin-measure__distance"), t.style.opacity = "0", t.style.position = "absolute", t.style.left = "0", t.style.top = "0", t.style.width = "0", t.style.height = "0", t.style.transform = "translate3d(0, 0, 0)", t.style.transformOrigin = "left top", t;
10201
10201
  }
10202
- function Iv(i) {
10202
+ function Ev(i) {
10203
10203
  let t = !0;
10204
- const { line: e } = i, n = e.id, o = Pv(), s = Ev(e), r = i.userDistanceItem, a = new $(0, 0, 0), l = {
10204
+ const { line: e } = i, n = e.id, o = Pv(), s = Iv(e), r = i.userDistanceItem, a = new $(0, 0, 0), l = {
10205
10205
  lineID: n,
10206
10206
  ndcPosition: a,
10207
10207
  update: u,
@@ -10235,10 +10235,10 @@ function Iv(i) {
10235
10235
  const y = b.getElement();
10236
10236
  if (!y)
10237
10237
  return;
10238
- const P = y.clientWidth, k = y.clientHeight, D = P / 2, I = k / 2;
10238
+ const P = y.clientWidth, k = y.clientHeight, D = P / 2, E = k / 2;
10239
10239
  if (e.points.length < 2)
10240
10240
  return;
10241
- const [T, S] = e.points, F = T.position.clone().project(b.camera), q = S.position.clone().project(b.camera), Q = F.clone().lerp(q, 0.5), R = new bt(F.x * D, F.y * I), H = new bt(q.x * D, q.y * I), B = R.distanceTo(H);
10241
+ const [T, S] = e.points, F = T.position.clone().project(b.camera), q = S.position.clone().project(b.camera), Q = F.clone().lerp(q, 0.5), R = new bt(F.x * D, F.y * E), H = new bt(q.x * D, q.y * E), B = R.distanceTo(H);
10242
10242
  if ((() => !(Math.abs(F.z) > 1 || Math.abs(q.z) > 1 || !yr(F) && !yr(q) || !yr(Q) || B === 0))() === !1) {
10243
10243
  s.style.opacity = "0", s.style.pointerEvents = "none";
10244
10244
  return;
@@ -10258,8 +10258,8 @@ function Iv(i) {
10258
10258
  var T, S, F;
10259
10259
  if (e.points.length < 2)
10260
10260
  return "";
10261
- const [b, y] = e.points, P = b.position.clone().distanceTo(y.position), k = (T = i.line.text) != null ? T : i.line.model.config.defaultText, D = (F = (S = i.line.model.config) == null ? void 0 : S.getDistanceText) == null ? void 0 : F.call(S, P), I = k != null ? k : D;
10262
- return I != null ? I : P.toFixed(2) + "m";
10261
+ const [b, y] = e.points, P = b.position.clone().distanceTo(y.position), k = (T = i.line.text) != null ? T : i.line.model.config.defaultText, D = (F = (S = i.line.model.config) == null ? void 0 : S.getDistanceText) == null ? void 0 : F.call(S, P), E = k != null ? k : D;
10262
+ return E != null ? E : P.toFixed(2) + "m";
10263
10263
  }
10264
10264
  function A(b) {
10265
10265
  t = b;
@@ -10282,7 +10282,7 @@ class bi {
10282
10282
  var o;
10283
10283
  if (this.id = dt(), this.model = n, t.id === e.id)
10284
10284
  throw new Error("无效的线段, 一个点无法构成线段");
10285
- typeof n.config.defaultText == "string" && (this.text = n.config.defaultText), this.hook = new yt(), this.points = [t, e], this.mesh = Ol(this, "normal"), this.lightMesh = Ol(this, "light"), this.distanceItem = Iv({
10285
+ typeof n.config.defaultText == "string" && (this.text = n.config.defaultText), this.hook = new yt(), this.points = [t, e], this.mesh = Ol(this, "normal"), this.lightMesh = Ol(this, "light"), this.distanceItem = Ev({
10286
10286
  line: this,
10287
10287
  clickCallback: () => this.hook.emit("selected", this),
10288
10288
  userDistanceItem: (o = this.model.config) != null && o.userDistanceItemCreator ? this.model.config.userDistanceItemCreator() : void 0
@@ -10938,7 +10938,7 @@ class Ql extends bs {
10938
10938
  }
10939
10939
  function Tv() {
10940
10940
  }
10941
- const { Vector2: zv } = E;
10941
+ const { Vector2: zv } = I;
10942
10942
  function jv(i, t) {
10943
10943
  const { offsetWidth: e, offsetHeight: n } = t, { top: o, left: s } = t.getBoundingClientRect();
10944
10944
  return Object.assign(new zv(), {
@@ -11907,7 +11907,7 @@ class n0 {
11907
11907
  };
11908
11908
  }
11909
11909
  }
11910
- const WE = function(t, e) {
11910
+ const WI = function(t, e) {
11911
11911
  return new n0(t, e);
11912
11912
  }, Rh = ga(null);
11913
11913
  function i0(i) {
@@ -11982,7 +11982,7 @@ function o0(i) {
11982
11982
  c() {
11983
11983
  for (let o = 0; o < n.length; o += 1)
11984
11984
  n[o].c();
11985
- t = Ee();
11985
+ t = Ie();
11986
11986
  },
11987
11987
  m(o, s) {
11988
11988
  for (let r = 0; r < n.length; r += 1)
@@ -12131,9 +12131,9 @@ function c0(i, t, e) {
12131
12131
  },
12132
12132
  100
12133
12133
  );
12134
- const P = (I) => {
12134
+ const P = (E) => {
12135
12135
  const T = Object.keys(u);
12136
- let S = I.target;
12136
+ let S = E.target;
12137
12137
  for (; S; ) {
12138
12138
  const F = S.getAttribute("class");
12139
12139
  if (!F) {
@@ -12152,10 +12152,10 @@ function c0(i, t, e) {
12152
12152
  Mt(() => {
12153
12153
  m.emit("initTag", { id: n });
12154
12154
  });
12155
- const k = Rh.subscribe((I) => {
12156
- if (I === null)
12155
+ const k = Rh.subscribe((E) => {
12156
+ if (E === null)
12157
12157
  return;
12158
- const [T, S] = I.split("-PanoSpatialTagPlugin-");
12158
+ const [T, S] = E.split("-PanoSpatialTagPlugin-");
12159
12159
  n === T && (m.emit("clickOrigin", { id: n, show: b }), y || (e(10, b = d), e(12, d = !d), y = setTimeout(
12160
12160
  () => {
12161
12161
  y = void 0;
@@ -12168,13 +12168,13 @@ function c0(i, t, e) {
12168
12168
  }), un(() => {
12169
12169
  m.emit("destroyTag", { id: n }), k(), h();
12170
12170
  });
12171
- function D(I) {
12172
- Ze[I ? "unshift" : "push"](() => {
12173
- A = I, e(9, A);
12171
+ function D(E) {
12172
+ Ze[E ? "unshift" : "push"](() => {
12173
+ A = E, e(9, A);
12174
12174
  });
12175
12175
  }
12176
- return i.$$set = (I) => {
12177
- "id" in I && e(0, n = I.id), "upsideDown" in I && e(1, o = I.upsideDown), "content" in I && e(2, s = I.content), "contentZoom" in I && e(3, r = I.contentZoom), "lineWidthZoom" in I && e(4, a = I.lineWidthZoom), "lineHeightZoom" in I && e(5, l = I.lineHeightZoom), "destroying" in I && e(6, c = I.destroying), "folded" in I && e(12, d = I.folded), "dispose" in I && e(13, h = I.dispose), "events" in I && e(14, u = I.events), "hooks" in I && e(15, m = I.hooks);
12176
+ return i.$$set = (E) => {
12177
+ "id" in E && e(0, n = E.id), "upsideDown" in E && e(1, o = E.upsideDown), "content" in E && e(2, s = E.content), "contentZoom" in E && e(3, r = E.contentZoom), "lineWidthZoom" in E && e(4, a = E.lineWidthZoom), "lineHeightZoom" in E && e(5, l = E.lineHeightZoom), "destroying" in E && e(6, c = E.destroying), "folded" in E && e(12, d = E.folded), "dispose" in E && e(13, h = E.dispose), "events" in E && e(14, u = E.events), "hooks" in E && e(15, m = E.hooks);
12178
12178
  }, [
12179
12179
  n,
12180
12180
  o,
@@ -12361,7 +12361,7 @@ class p0 {
12361
12361
  }
12362
12362
  }
12363
12363
  }
12364
- const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", FE = (i, t) => {
12364
+ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", FI = (i, t) => {
12365
12365
  var re, ie, Ae, we, ge, ze, ve, He;
12366
12366
  let e = t == null ? void 0 : t.container, n = 1.4;
12367
12367
  const o = (re = t == null ? void 0 : t.wait) != null ? re : 200, s = (ie = t == null ? void 0 : t.maxNumberOnScreen) != null ? ie : 3, r = (Ae = t == null ? void 0 : t.minRad) != null ? Ae : Math.PI / 4, a = (we = t == null ? void 0 : t.nearTolerance) != null ? we : 100, l = (ge = t == null ? void 0 : t.upsideHeight) != null ? ge : 1.6, c = (ze = t == null ? void 0 : t.minDistance) != null ? ze : 1.2, d = (ve = t == null ? void 0 : t.maxDistance) != null ? ve : 3.5, h = us(i), u = document.createElement("div");
@@ -12383,15 +12383,15 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12383
12383
  target: u,
12384
12384
  props: { origins: v.origins }
12385
12385
  }), b = (ue, be) => {
12386
- D(), be && I();
12386
+ D(), be && E();
12387
12387
  }, y = () => {
12388
- v.forbidden && (v.forbidden = !1, I());
12388
+ v.forbidden && (v.forbidden = !1, E());
12389
12389
  }, P = (ue, be) => {
12390
12390
  if (v.tags.length === 0)
12391
12391
  return;
12392
12392
  const Me = be.longitude - i.state.longitude, me = i.camera.clone();
12393
- me.position.copy(be.offset), me.rotateOnWorldAxis(new E.Vector3(0, 1, 0), Me), me.updateProjectionMatrix(), me.updateMatrixWorld(!0);
12394
- const Ye = new E.Frustum(), at = new E.Matrix4();
12393
+ me.position.copy(be.offset), me.rotateOnWorldAxis(new I.Vector3(0, 1, 0), Me), me.updateProjectionMatrix(), me.updateMatrixWorld(!0);
12394
+ const Ye = new I.Frustum(), at = new I.Matrix4();
12395
12395
  at.multiplyMatrices(
12396
12396
  me.projectionMatrix,
12397
12397
  me.matrixWorldInverse
@@ -12424,7 +12424,7 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12424
12424
  }, D = () => {
12425
12425
  if (v.forbidden || !v.enabled)
12426
12426
  return;
12427
- const ue = i.camera, be = ue.getWorldDirection(new E.Vector3());
12427
+ const ue = i.camera, be = ue.getWorldDirection(new I.Vector3());
12428
12428
  v.origins = v.tags.map((Me) => {
12429
12429
  const me = Me.position.clone().project(ue), Ye = Me.position.clone().sub(ue.position).setY(0).angleTo(be.setY(0)) < Math.PI / 2;
12430
12430
  return {
@@ -12435,29 +12435,29 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12435
12435
  destroying: Me.destroying
12436
12436
  };
12437
12437
  }), A.$set({ origins: v.origins });
12438
- }, I = () => {
12438
+ }, E = () => {
12439
12439
  v.forbidden || !v.enabled || (v.timeoutId && clearTimeout(v.timeoutId), v.timeoutId = setTimeout(() => {
12440
12440
  v.timeoutId = void 0;
12441
12441
  const ue = T();
12442
12442
  ue.length && (v.tags = v.tags.concat(ue), D());
12443
12443
  }, o));
12444
12444
  }, T = () => {
12445
- const { clientWidth: ue, clientHeight: be } = i.getElement(), Me = [], me = i.camera, Ye = new E.Frustum(), at = new E.Matrix4(), ke = me.getWorldDirection(new E.Vector3());
12445
+ const { clientWidth: ue, clientHeight: be } = i.getElement(), Me = [], me = i.camera, Ye = new I.Frustum(), at = new I.Matrix4(), ke = me.getWorldDirection(new I.Vector3());
12446
12446
  at.multiplyMatrices(
12447
12447
  me.projectionMatrix,
12448
12448
  me.matrixWorldInverse
12449
12449
  ), Ye.setFromProjectionMatrix(at);
12450
12450
  const Ke = v.tags.filter(
12451
- (Ie) => Ye.containsPoint(Ie.position) && !Ie.destroying
12452
- ).length, oe = v.points.reduce((Ie, Be) => {
12451
+ (Ee) => Ye.containsPoint(Ee.position) && !Ee.destroying
12452
+ ).length, oe = v.points.reduce((Ee, Be) => {
12453
12453
  if (v.tags.find((Oe) => Be.id === Oe.id && !Oe.destroying))
12454
- return Ie;
12454
+ return Ee;
12455
12455
  const ht = me.position.clone().setY(n).distanceTo(Be.position);
12456
12456
  if (ht < c || ht > d || !Ye.containsPoint(Be.position))
12457
- return Ie;
12457
+ return Ee;
12458
12458
  const Ht = Be.position.clone().sub(me.position).setY(0);
12459
12459
  if (Ht.angleTo(Be.normal) > Math.PI / 2 - r && Ht.angleTo(Be.normal) < Math.PI / 2 + r)
12460
- return Ie;
12460
+ return Ee;
12461
12461
  const gt = Be.position.clone().project(me);
12462
12462
  if (!v.tags.every((Oe) => {
12463
12463
  if (Oe.position.clone().sub(me.position).setY(0).angleTo(ke.setY(0)) > Math.PI / 2)
@@ -12467,7 +12467,7 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12467
12467
  Math.pow((gt.x - Fe.x) / 2 * ue, 2) + Math.pow((gt.y - Fe.y) / 2 * be, 2)
12468
12468
  ) > a;
12469
12469
  }))
12470
- return Ie;
12470
+ return Ee;
12471
12471
  const vt = {
12472
12472
  id: Be.id,
12473
12473
  position: Be.position,
@@ -12477,21 +12477,21 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12477
12477
  distance: ht
12478
12478
  };
12479
12479
  let je;
12480
- for (let Oe = 0, Fe = Ie.length; Oe < Fe; Oe++) {
12481
- const Et = Ie[Oe];
12482
- if (vt.weight > Et.weight) {
12480
+ for (let Oe = 0, Fe = Ee.length; Oe < Fe; Oe++) {
12481
+ const It = Ee[Oe];
12482
+ if (vt.weight > It.weight) {
12483
12483
  je = Oe;
12484
12484
  break;
12485
12485
  }
12486
- if (vt.distance < Et.distance) {
12486
+ if (vt.distance < It.distance) {
12487
12487
  je = Oe;
12488
12488
  break;
12489
12489
  }
12490
12490
  }
12491
- return je !== void 0 ? Ie.splice(je, 0, vt) : Ie.push(vt), Ie;
12491
+ return je !== void 0 ? Ee.splice(je, 0, vt) : Ee.push(vt), Ee;
12492
12492
  }, []);
12493
- for (let Ie = 0, Be = oe.length; Ie < Be && !(Ke + Me.length >= s); Ie++) {
12494
- const ht = oe[Ie];
12493
+ for (let Ee = 0, Be = oe.length; Ee < Be && !(Ke + Me.length >= s); Ee++) {
12494
+ const ht = oe[Ee];
12495
12495
  if (Me.find((je) => ht.id === je.id))
12496
12496
  continue;
12497
12497
  const Ht = ht.position.clone().project(me);
@@ -12504,23 +12504,23 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12504
12504
  ) > a;
12505
12505
  }))
12506
12506
  continue;
12507
- const gt = new E.Raycaster(
12507
+ const gt = new I.Raycaster(
12508
12508
  me.position.clone().setY(n),
12509
12509
  ht.position.clone().sub(me.position.clone().setY(n)).normalize(),
12510
12510
  0,
12511
12511
  ht.distance + ql
12512
12512
  ), [vt] = v.intersectObjects ? gt.intersectObjects(v.intersectObjects, !0) : i.model.bvhs.loaded ? i.model.intersectRaycaster(gt) : gt.intersectObjects(i.model.children, !0);
12513
12513
  if (vt && ht.distance - vt.distance < ql) {
12514
- const { position: je, normal: Oe, id: Fe, replacement: Et } = ht, wi = new E.Plane().setFromNormalAndCoplanarPoint(Oe, je), Tt = je.clone().sub(me.position).cross(new E.Vector3(0, 1, 0)).setLength(Cr), Zt = [
12514
+ const { position: je, normal: Oe, id: Fe, replacement: It } = ht, wi = new I.Plane().setFromNormalAndCoplanarPoint(Oe, je), Tt = je.clone().sub(me.position).cross(new I.Vector3(0, 1, 0)).setLength(Cr), Zt = [
12515
12515
  je.clone(),
12516
12516
  je.clone().add(Tt),
12517
- je.clone().add(new E.Vector3(0, Cr, 0)).add(Tt),
12518
- je.clone().add(new E.Vector3(0, Cr, 0))
12519
- ].map((zn) => wi.projectPoint(zn, new E.Vector3())), { container: mn, dispose: ut } = h.create3DDomContainer(Zt) || {}, Tn = new d0({
12517
+ je.clone().add(new I.Vector3(0, Cr, 0)).add(Tt),
12518
+ je.clone().add(new I.Vector3(0, Cr, 0))
12519
+ ].map((zn) => wi.projectPoint(zn, new I.Vector3())), { container: mn, dispose: ut } = h.create3DDomContainer(Zt) || {}, Tn = new d0({
12520
12520
  target: mn,
12521
12521
  props: {
12522
12522
  id: Fe,
12523
- content: v.render(v.template, Et),
12523
+ content: v.render(v.template, It),
12524
12524
  lineWidthZoom: 0.38 * (0.01 + me.position.distanceTo(je) / d),
12525
12525
  lineHeightZoom: 0.4 + (me.position.distanceTo(je) - c) / d * 0.6,
12526
12526
  contentZoom: 0.1 + me.position.distanceTo(je) / d,
@@ -12545,16 +12545,16 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12545
12545
  var Me, me;
12546
12546
  return {
12547
12547
  id: be.id,
12548
- position: new E.Vector3().fromArray(be.position),
12549
- normal: new E.Vector3().fromArray(be.normal),
12548
+ position: new I.Vector3().fromArray(be.position),
12549
+ normal: new I.Vector3().fromArray(be.normal),
12550
12550
  replacement: (Me = be.replacement) != null ? Me : {},
12551
12551
  weight: (me = be.weight) != null ? me : -1
12552
12552
  };
12553
12553
  }), ue.render && (v.render = ue.render), ue.template && (v.template = ue.template), ue.events && (v.events = ue.events), ue.enabled === !1 && (v.enabled = ue.enabled), ue.folded === !0 && (v.folded = ue.folded);
12554
12554
  }, F = (ue) => {
12555
- v.intersectObjects = ue, I();
12555
+ v.intersectObjects = ue, E();
12556
12556
  }, q = () => {
12557
- v.enabled = !0, I();
12557
+ v.enabled = !0, E();
12558
12558
  }, Q = () => {
12559
12559
  v.enabled = !1, A.$set({ origins: [] }), v.tags.forEach((ue) => {
12560
12560
  ue.app.$destroy(), ue = null;
@@ -12578,7 +12578,7 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12578
12578
  }, U = () => {
12579
12579
  i.once("renderFrame", D);
12580
12580
  }, Y = () => {
12581
- e || (e = i.getElement().parentElement), e && e.appendChild(u), v.forbidden = !1, n = i.model.bounding.getCenter(new E.Vector3()).y, I(), i.on("panoWillArrive", P), i.on("panoArrived", y), i.on("modeChange", k), i.on("cameraUpdate", b);
12581
+ e || (e = i.getElement().parentElement), e && e.appendChild(u), v.forbidden = !1, n = i.model.bounding.getCenter(new I.Vector3()).y, E(), i.on("panoWillArrive", P), i.on("panoArrived", y), i.on("modeChange", k), i.on("cameraUpdate", b);
12582
12582
  }, J = () => {
12583
12583
  g = null, h.disposeAll(), A.$destroy(), v.tags.forEach((ue) => {
12584
12584
  ue.app.$destroy(), ue = null;
@@ -12762,7 +12762,7 @@ function Zl(i, t) {
12762
12762
  key: i,
12763
12763
  first: null,
12764
12764
  c() {
12765
- e = Ee(), ne(n.$$.fragment), this.first = e;
12765
+ e = Ie(), ne(n.$$.fragment), this.first = e;
12766
12766
  },
12767
12767
  m(s, r) {
12768
12768
  V(s, e, r), ee(n, s, r), o = !0;
@@ -12856,9 +12856,9 @@ function P0(i) {
12856
12856
  }
12857
12857
  };
12858
12858
  }
12859
- let Kl = 26, E0 = 11;
12860
- function I0(i, t, e) {
12861
- const { Raycaster: n, Vector3: o } = E;
12859
+ let Kl = 26, I0 = 11;
12860
+ function E0(i, t, e) {
12861
+ const { Raycaster: n, Vector3: o } = I;
12862
12862
  let { five: s } = t, { modelOcclusionEnable: r } = t, { itemLabels: a } = t, { hooks: l } = t, { displayStrategyType: c } = t, d = null, h = null, u, m, g = [], v = !0;
12863
12863
  const A = (H, B) => {
12864
12864
  const G = new n(), U = H.camera.position.clone(), Y = new o().fromArray(B.modelPosition), J = Y.distanceTo(U);
@@ -12883,7 +12883,7 @@ function I0(i, t, e) {
12883
12883
  }
12884
12884
  const D = (H, B) => {
12885
12885
  const G = B.map((Y) => {
12886
- const J = b(H, Y), re = Y.name.length * E0, ie = k(Y.modelPosition[1], c), we = (r ? A(H, Y) : !0) && !P([J[0], J[1] + ie], re);
12886
+ const J = b(H, Y), re = Y.name.length * I0, ie = k(Y.modelPosition[1], c), we = (r ? A(H, Y) : !0) && !P([J[0], J[1] + ie], re);
12887
12887
  if (!we)
12888
12888
  return ye(W({}, Y), { visible: we });
12889
12889
  g.push(J);
@@ -12901,7 +12901,7 @@ function I0(i, t, e) {
12901
12901
  const J = U.findIndex((re) => re.itemLabelItem.id === Y.id);
12902
12902
  return J !== void 0 ? ye(W({}, Y), { zIndex: J * 10 }) : Y;
12903
12903
  });
12904
- }, I = () => {
12904
+ }, E = () => {
12905
12905
  g = [], e(1, h = D(s, h));
12906
12906
  };
12907
12907
  sh(() => {
@@ -12911,19 +12911,19 @@ function I0(i, t, e) {
12911
12911
  e(4, v = !1), S();
12912
12912
  };
12913
12913
  Mt(() => {
12914
- e(1, h = a), d = a, I(), F(), s.on("cameraUpdate", T);
12914
+ e(1, h = a), d = a, E(), F(), s.on("cameraUpdate", T);
12915
12915
  });
12916
12916
  const S = Qh(
12917
12917
  () => {
12918
- e(4, v = !0), I();
12918
+ e(4, v = !0), E();
12919
12919
  },
12920
12920
  300
12921
12921
  ), F = () => {
12922
12922
  window.addEventListener("resize", Q, !1);
12923
12923
  }, q = () => {
12924
- d !== a && (e(1, h = a), d = a, I());
12924
+ d !== a && (e(1, h = a), d = a, E());
12925
12925
  }, Q = () => {
12926
- s.once("renderFrame", I);
12926
+ s.once("renderFrame", E);
12927
12927
  };
12928
12928
  un(() => {
12929
12929
  s.off("cameraUpdate", T), window.removeEventListener("resize", Q, !1);
@@ -12951,7 +12951,7 @@ let k0 = class extends ce {
12951
12951
  super(), le(
12952
12952
  this,
12953
12953
  t,
12954
- I0,
12954
+ E0,
12955
12955
  P0,
12956
12956
  ae,
12957
12957
  {
@@ -12970,7 +12970,7 @@ function x0(i) {
12970
12970
  modelPosition: [t.position[0], t.position[1] + t.size[1], t.position[2]]
12971
12971
  }, t));
12972
12972
  }
12973
- const UE = (i, t) => {
12973
+ const UI = (i, t) => {
12974
12974
  var u, m;
12975
12975
  const e = {
12976
12976
  container: document.createElement("div"),
@@ -13040,7 +13040,7 @@ const UE = (i, t) => {
13040
13040
  dispose: a,
13041
13041
  hooks: e.hooks
13042
13042
  };
13043
- }, qE = {
13043
+ }, qI = {
13044
13044
  name: "ModelItemLabelPlugin",
13045
13045
  version: 0
13046
13046
  };
@@ -13061,7 +13061,7 @@ function D0(i) {
13061
13061
  t.push(n);
13062
13062
  }), t;
13063
13063
  }
13064
- const JE = (i, { videoElement: t }) => {
13064
+ const JI = (i, { videoElement: t }) => {
13065
13065
  const e = {
13066
13066
  videoMeshes: [],
13067
13067
  videoTextureEnabled: !1,
@@ -13101,7 +13101,7 @@ const JE = (i, { videoElement: t }) => {
13101
13101
  b.geometry.dispose(), b.material.dispose(), i.scene.remove(b), e.videoTexture && e.videoTexture.image.pause();
13102
13102
  }), e.videoMeshes = [], i.needsRender = !0);
13103
13103
  }, c = () => e.rectPoints.map((b, y) => {
13104
- const P = new E.BufferGeometry(), k = 128, D = [];
13104
+ const P = new I.BufferGeometry(), k = 128, D = [];
13105
13105
  D.push(...b[0].toArray());
13106
13106
  for (let R = 1; R < k; R++)
13107
13107
  D.push(
@@ -13117,22 +13117,22 @@ const JE = (i, { videoElement: t }) => {
13117
13117
  b[2].z + (b[3].z - b[2].z) * R / k
13118
13118
  );
13119
13119
  D.push(...b[3].toArray());
13120
- const I = [];
13121
- I.push(0, 1);
13120
+ const E = [];
13121
+ E.push(0, 1);
13122
13122
  for (let R = 1; R < k; R++)
13123
- I.push(0, 1 - R / k);
13124
- I.push(0, 0), I.push(1, 0);
13123
+ E.push(0, 1 - R / k);
13124
+ E.push(0, 0), E.push(1, 0);
13125
13125
  for (let R = 1; R < k; R++)
13126
- I.push(1, R / k);
13127
- I.push(1, 1);
13126
+ E.push(1, R / k);
13127
+ E.push(1, 1);
13128
13128
  const T = [];
13129
13129
  for (let R = 0; R < k; R++)
13130
13130
  T.push(R, R + 1, k * 2 - R, R, k * 2 - R, k * 2 + 1 - R);
13131
- P.setAttribute("position", new E.BufferAttribute(new Float32Array(D), 3)), P.setAttribute("uv", new E.BufferAttribute(new Float32Array(I), 2)), P.setIndex(new E.BufferAttribute(new Uint32Array(T), 1));
13132
- const S = new E.MeshBasicMaterial({
13131
+ P.setAttribute("position", new I.BufferAttribute(new Float32Array(D), 3)), P.setAttribute("uv", new I.BufferAttribute(new Float32Array(E), 2)), P.setIndex(new I.BufferAttribute(new Uint32Array(T), 1));
13132
+ const S = new I.MeshBasicMaterial({
13133
13133
  map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
13134
- side: E.DoubleSide
13135
- }), F = new E.Mesh(P, S);
13134
+ side: I.DoubleSide
13135
+ }), F = new I.Mesh(P, S);
13136
13136
  F.renderOrder = 1, F.name = `ModelTVVideoPlugin-${y}-${performance.now()}`;
13137
13137
  const q = [b[1], b[2], b[3], b[0]], Q = n.create3DDomContainer(q);
13138
13138
  if (Q != null && Q.container) {
@@ -13145,26 +13145,26 @@ const JE = (i, { videoElement: t }) => {
13145
13145
  }
13146
13146
  return F;
13147
13147
  }), d = (b) => {
13148
- const y = new E.TextureLoader().load(b);
13149
- return y.minFilter = E.LinearFilter, y.magFilter = E.LinearFilter, y.format = E.RGBFormat, y;
13148
+ const y = new I.TextureLoader().load(b);
13149
+ return y.minFilter = I.LinearFilter, y.magFilter = I.LinearFilter, y.format = I.RGBFormat, y;
13150
13150
  }, h = (b, y) => {
13151
13151
  let P = y;
13152
13152
  return new Promise((k, D) => {
13153
- const I = new XMLHttpRequest();
13154
- I.onreadystatechange = () => {
13155
- if (I.readyState === 4)
13156
- if (I.status === 200) {
13153
+ const E = new XMLHttpRequest();
13154
+ E.onreadystatechange = () => {
13155
+ if (E.readyState === 4)
13156
+ if (E.status === 200) {
13157
13157
  const T = window.URL || window.webkitURL;
13158
- P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src = T.createObjectURL(I.response);
13159
- const S = new E.VideoTexture(P);
13160
- S.minFilter = E.LinearFilter, S.magFilter = E.LinearFilter, S.format = E.RGBFormat, k(Object.assign(S, { videoSource: b }));
13158
+ P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src = T.createObjectURL(E.response);
13159
+ const S = new I.VideoTexture(P);
13160
+ S.minFilter = I.LinearFilter, S.magFilter = I.LinearFilter, S.format = I.RGBFormat, k(Object.assign(S, { videoSource: b }));
13161
13161
  } else
13162
- D(new Error("Video download Error: " + I.status));
13163
- }, I.onerror = (T) => D(T), I.open("GET", b), I.responseType = "blob", I.send();
13162
+ D(new Error("Video download Error: " + E.status));
13163
+ }, E.onerror = (T) => D(T), E.open("GET", b), E.responseType = "blob", E.send();
13164
13164
  });
13165
13165
  }, u = (b, y) => X(void 0, null, function* () {
13166
13166
  const { video_src: P, video_poster_src: k, points: D } = b;
13167
- e.videoSource = P, e.rectPoints = D0(D).map((I) => I.map(({ x: T, y: S, z: F }) => new E.Vector3(T, S, F))), e.imageTexture = d(k), y && (e.videoElement = y), e.videoTexture = yield h(e.videoSource, e.videoElement), e.enabled = !!b.enable, e.enabled && a();
13167
+ e.videoSource = P, e.rectPoints = D0(D).map((E) => E.map(({ x: T, y: S, z: F }) => new I.Vector3(T, S, F))), e.imageTexture = d(k), y && (e.videoElement = y), e.videoTexture = yield h(e.videoSource, e.videoElement), e.enabled = !!b.enable, e.enabled && a();
13168
13168
  }), m = (b) => {
13169
13169
  if (!e.enabled)
13170
13170
  return;
@@ -13178,14 +13178,14 @@ const JE = (i, { videoElement: t }) => {
13178
13178
  return;
13179
13179
  const b = i.camera.position;
13180
13180
  if (o.forEach((y, P) => {
13181
- const k = y.css3DObject.position.clone(), D = k.clone().sub(b).normalize(), I = new E.Raycaster(b, D), T = i.model.intersectRaycaster(I)[0], S = k.distanceTo(b), F = 0.01;
13181
+ const k = y.css3DObject.position.clone(), D = k.clone().sub(b).normalize(), E = new I.Raycaster(b, D), T = i.model.intersectRaycaster(E)[0], S = k.distanceTo(b), F = 0.01;
13182
13182
  T && T.distance + F < S ? y.hide() : y.show();
13183
13183
  }), !r()) {
13184
13184
  const y = e.rectPoints.find((P) => {
13185
13185
  const k = P[0].clone().add(P[1]).add(P[2]).add(P[3]).divideScalar(4);
13186
13186
  return P.map((D) => D.clone().add(k).divideScalar(2)).filter((D) => {
13187
- const I = D.distanceTo(b), T = new E.Raycaster(b, D.clone().sub(b).normalize()), S = i.model.intersectRaycaster(T)[0], F = 0.01;
13188
- return !(S && S.distance + F < I);
13187
+ const E = D.distanceTo(b), T = new I.Raycaster(b, D.clone().sub(b).normalize()), S = i.model.intersectRaycaster(T)[0], F = 0.01;
13188
+ return !(S && S.distance + F < E);
13189
13189
  }).length >= 2;
13190
13190
  });
13191
13191
  (!y || y.length === 0) && s(!0);
@@ -13410,7 +13410,7 @@ class j0 extends ce {
13410
13410
  );
13411
13411
  }
13412
13412
  }
13413
- const { Raycaster: _0, Vector3: ZE } = E, ec = (i, t, e, n) => {
13413
+ const { Raycaster: _0, Vector3: ZI } = I, ec = (i, t, e, n) => {
13414
13414
  const o = t.clone().sub(e).normalize(), s = new _0();
13415
13415
  s.set(e, o);
13416
13416
  const [r] = i.model.intersectRaycaster(s);
@@ -13499,7 +13499,7 @@ function oc(i, t) {
13499
13499
  key: i,
13500
13500
  first: null,
13501
13501
  c() {
13502
- e = Ee(), s && s.c(), n = Ee(), this.first = e;
13502
+ e = Ie(), s && s.c(), n = Ie(), this.first = e;
13503
13503
  },
13504
13504
  m(r, a) {
13505
13505
  V(r, e, a), s && s.m(r, a), V(r, n, a), o = !0;
@@ -13593,7 +13593,7 @@ function R0(i) {
13593
13593
  }
13594
13594
  let Q0 = 11;
13595
13595
  function H0(i, t, e) {
13596
- const { Vector3: n } = E;
13596
+ const { Vector3: n } = I;
13597
13597
  let { five: o } = t, { modelOcclusionEnable: s } = t, { itemLabels: r } = t, { hooks: a } = t, { displayStrategyType: l } = t, { maxVisibleDistance: c } = t, d = null, h = null, u = (o == null ? void 0 : o.currentMode) === nt.Mode.Panorama, m, g, v = [], A = !0;
13598
13598
  const b = (B, G) => {
13599
13599
  const U = B.camera.position.clone(), Y = new n(G.modelPosition[0], G.modelPosition[1], G.modelPosition[2]), J = Y.distanceTo(U);
@@ -13630,7 +13630,7 @@ function H0(i, t, e) {
13630
13630
  });
13631
13631
  }, D = () => {
13632
13632
  v = [], e(1, h = k(o, h));
13633
- }, I = () => {
13633
+ }, E = () => {
13634
13634
  e(5, A = !1), T();
13635
13635
  }, T = Qh(
13636
13636
  () => {
@@ -13683,9 +13683,9 @@ function H0(i, t, e) {
13683
13683
  sh(() => {
13684
13684
  q();
13685
13685
  }), Mt(() => {
13686
- e(1, h = tc(r)), d = r, D(), F(), o.on("cameraUpdate", I);
13686
+ e(1, h = tc(r)), d = r, D(), F(), o.on("cameraUpdate", E);
13687
13687
  }), un(() => {
13688
- o.off("cameraUpdate", I), window.removeEventListener("resize", S, !1);
13688
+ o.off("cameraUpdate", E), window.removeEventListener("resize", S, !1);
13689
13689
  });
13690
13690
  function H() {
13691
13691
  m = this.clientWidth, g = this.clientHeight, e(3, m), e(4, g);
@@ -13735,7 +13735,7 @@ function W0(i) {
13735
13735
  observerIndex: void 0
13736
13736
  }));
13737
13737
  }
13738
- const N0 = void 0, KE = (i, t) => {
13738
+ const N0 = void 0, KI = (i, t) => {
13739
13739
  var u, m, g, v;
13740
13740
  const e = {
13741
13741
  container: document.createElement("div"),
@@ -13806,7 +13806,7 @@ const N0 = void 0, KE = (i, t) => {
13806
13806
  dispose: a,
13807
13807
  hooks: e.hooks
13808
13808
  };
13809
- }, $E = {
13809
+ }, $I = {
13810
13810
  name: "ItemLabelPlugin",
13811
13811
  version: 0
13812
13812
  };
@@ -14056,14 +14056,14 @@ class tA extends F0 {
14056
14056
  if (this.five.currentMode !== "Panorama")
14057
14057
  return this.hideAllLabels();
14058
14058
  const o = this.five.getElement(), s = o.clientWidth, r = o.clientHeight, a = n.getWorldDirection(new $()), l = [], c = [...this.labelItems];
14059
- if (c.forEach((I, T) => {
14060
- if (I.visible) {
14061
- const S = n.position.distanceTo(I.position), F = I.position.clone().add(new $(0, this.OffsetHeight, 0)), Q = F.clone().sub(n.position).normalize().angleTo(a), R = F.clone().project(n), H = (R.x + 1) / 2.2 * 100, B = (-R.y + 1) / 2.2 * 100, G = H >= 0 && H <= 100 && B >= 0 && B <= 100 && S > this.MinVisibledistance && S <= this.MaxVisibledistance;
14062
- I.left = H, I.top = B, I.inSight = G && Q < Math.PI / 2, I.cameraToward = Z0(this.five), G ? l.push({ disFromCameraToLabel: S, left: H, top: B, index: T }) : I.transform = "translate(-50%, -50%)";
14059
+ if (c.forEach((E, T) => {
14060
+ if (E.visible) {
14061
+ const S = n.position.distanceTo(E.position), F = E.position.clone().add(new $(0, this.OffsetHeight, 0)), Q = F.clone().sub(n.position).normalize().angleTo(a), R = F.clone().project(n), H = (R.x + 1) / 2.2 * 100, B = (-R.y + 1) / 2.2 * 100, G = H >= 0 && H <= 100 && B >= 0 && B <= 100 && S > this.MinVisibledistance && S <= this.MaxVisibledistance;
14062
+ E.left = H, E.top = B, E.inSight = G && Q < Math.PI / 2, E.cameraToward = Z0(this.five), G ? l.push({ disFromCameraToLabel: S, left: H, top: B, index: T }) : E.transform = "translate(-50%, -50%)";
14063
14063
  } else
14064
- I.inSight = !1;
14064
+ E.inSight = !1;
14065
14065
  }), l.length > 1) {
14066
- let I = 0;
14066
+ let E = 0;
14067
14067
  l.sort((T, S) => S.disFromCameraToLabel - T.disFromCameraToLabel);
14068
14068
  for (let T = 1; T < l.length; T++) {
14069
14069
  const { index: S, left: F, top: q } = l[T - 1], { index: Q, left: R, top: H } = l[T], B = this.container.children[S], G = this.container.children[Q];
@@ -14080,7 +14080,7 @@ class tA extends F0 {
14080
14080
  width: (y = (b = (A = G.children) == null ? void 0 : A[0]) == null ? void 0 : b.clientWidth) != null ? y : 0,
14081
14081
  height: (D = (k = (P = G.children) == null ? void 0 : P[0]) == null ? void 0 : k.clientHeight) != null ? D : 0
14082
14082
  };
14083
- J0(U, Y) && (I++, c[S].transform = `translate(-50%, ${(I - 1) * 100 - 50}%)`, c[Q].transform = `translate(-50%, ${I * 100 - 50}%)`);
14083
+ J0(U, Y) && (E++, c[S].transform = `translate(-50%, ${(E - 1) * 100 - 50}%)`, c[Q].transform = `translate(-50%, ${E * 100 - 50}%)`);
14084
14084
  }
14085
14085
  }
14086
14086
  this.labelItems = c, this.render();
@@ -14182,7 +14182,7 @@ class tA extends F0 {
14182
14182
  this && this.five && (this.five.off("wantsToMoveToPano", this.hideAllLabels), this.five.off("modelLoaded", this.fixDoorVisibleAndPosition), this.five.off("panoArrived", this.fixDoorVisibleAndPosition), this.five.off("initAnimationEnded", this.fixDoorPosition), this.five.off("cameraUpdate", this.fixDoorPosition), this.five.off("mouseWheel", this.fixDoorPosition), this.five.off("pinchGesture", this.fixDoorPosition), super.dispose());
14183
14183
  }
14184
14184
  }
14185
- const eI = (i) => new tA(i);
14185
+ const eE = (i) => new tA(i);
14186
14186
  function nA(i, t) {
14187
14187
  console.warn(`⛔ ==> [${i}]: ${t}`);
14188
14188
  }
@@ -14248,40 +14248,40 @@ const vA = 2, AA = 3, bA = 3, yA = 2;
14248
14248
  function wA(i) {
14249
14249
  const t = i.width, n = i.unitLength / t, o = t / 2, s = i.path;
14250
14250
  if (s.length === 0)
14251
- return { geometry: new E.BufferGeometry(), maxU: 0 };
14252
- const r = new E.CurvePath();
14253
- s.forEach((I) => {
14254
- const T = CA(I);
14251
+ return { geometry: new I.BufferGeometry(), maxU: 0 };
14252
+ const r = new I.CurvePath();
14253
+ s.forEach((E) => {
14254
+ const T = CA(E);
14255
14255
  T && r.add(T);
14256
14256
  });
14257
- const a = Math.ceil(r.getLength() * 100), l = r.getPoints(a), c = l.length, d = gA(l.map((I) => [I.x, I.z])), u = (c - 1) * vA * AA, m = 2 * c, g = m * bA, v = m * yA, A = new Uint32Array(u), b = new Float32Array(g), y = new Float32Array(v);
14257
+ const a = Math.ceil(r.getLength() * 100), l = r.getPoints(a), c = l.length, d = gA(l.map((E) => [E.x, E.z])), u = (c - 1) * vA * AA, m = 2 * c, g = m * bA, v = m * yA, A = new Uint32Array(u), b = new Float32Array(g), y = new Float32Array(v);
14258
14258
  let P = 0, k = 0;
14259
- for (let I = 0; I < l.length; I++) {
14260
- const [T, S] = d[I][0], F = l[I], { x: q, y: Q, z: R } = F, H = new $(q + T * o, Q + 0.05, R + S * o);
14261
- b[I * 6 + 0] = H.x, b[I * 6 + 1] = H.y, b[I * 6 + 2] = H.z;
14259
+ for (let E = 0; E < l.length; E++) {
14260
+ const [T, S] = d[E][0], F = l[E], { x: q, y: Q, z: R } = F, H = new $(q + T * o, Q + 0.05, R + S * o);
14261
+ b[E * 6 + 0] = H.x, b[E * 6 + 1] = H.y, b[E * 6 + 2] = H.z;
14262
14262
  const B = new $(q - T * o, Q + 0.05, R - S * o);
14263
- b[I * 6 + 3] = B.x, b[I * 6 + 4] = B.y, b[I * 6 + 5] = B.z, P += I > 0 ? l[I - 1].clone().sub(l[I]).length() : 0;
14263
+ b[E * 6 + 3] = B.x, b[E * 6 + 4] = B.y, b[E * 6 + 5] = B.z, P += E > 0 ? l[E - 1].clone().sub(l[E]).length() : 0;
14264
14264
  const G = P / t / n;
14265
- if (k = G, y[I * 4 + 0] = 0, y[I * 4 + 1] = G, y[I * 4 + 2] = 1, y[I * 4 + 3] = G, i.skipPositions) {
14266
- const U = new E.Vector3().lerpVectors(H, B, 0.5);
14265
+ if (k = G, y[E * 4 + 0] = 0, y[E * 4 + 1] = G, y[E * 4 + 2] = 1, y[E * 4 + 3] = G, i.skipPositions) {
14266
+ const U = new I.Vector3().lerpVectors(H, B, 0.5);
14267
14267
  if (i.skipPositions.some((J) => J.distanceTo(U) < 0.26))
14268
14268
  continue;
14269
14269
  }
14270
- I !== l.length - 1 && (A[I * 6 + 0] = I * 2 + 0, A[I * 6 + 1] = I * 2 + 2, A[I * 6 + 2] = I * 2 + 1, A[I * 6 + 3] = I * 2 + 2, A[I * 6 + 4] = I * 2 + 3, A[I * 6 + 5] = I * 2 + 1);
14270
+ E !== l.length - 1 && (A[E * 6 + 0] = E * 2 + 0, A[E * 6 + 1] = E * 2 + 2, A[E * 6 + 2] = E * 2 + 1, A[E * 6 + 3] = E * 2 + 2, A[E * 6 + 4] = E * 2 + 3, A[E * 6 + 5] = E * 2 + 1);
14271
14271
  }
14272
- const D = new E.BufferGeometry();
14273
- return D.setAttribute("position", new E.BufferAttribute(b, 3)), D.setAttribute("uv", new E.BufferAttribute(y, 2)), D.setIndex(new E.BufferAttribute(A, 1)), { geometry: D, maxU: k };
14272
+ const D = new I.BufferGeometry();
14273
+ return D.setAttribute("position", new I.BufferAttribute(b, 3)), D.setAttribute("uv", new I.BufferAttribute(y, 2)), D.setIndex(new I.BufferAttribute(A, 1)), { geometry: D, maxU: k };
14274
14274
  }
14275
14275
  function CA(i) {
14276
14276
  if (PA(i)) {
14277
- const t = [i.closed, i.curve_type, i.tension], e = i.points.map((o) => new E.Vector3().fromArray(o));
14278
- return new E.CatmullRomCurve3(e, ...t);
14277
+ const t = [i.closed, i.curve_type, i.tension], e = i.points.map((o) => new I.Vector3().fromArray(o));
14278
+ return new I.CatmullRomCurve3(e, ...t);
14279
14279
  }
14280
14280
  }
14281
14281
  function PA(i) {
14282
14282
  return i.type === "CatmullRomCurve3";
14283
14283
  }
14284
- var Xe = {}, EA = {
14284
+ var Xe = {}, IA = {
14285
14285
  get exports() {
14286
14286
  return Xe;
14287
14287
  },
@@ -14331,7 +14331,7 @@ function ws(i, t = [], e = {}) {
14331
14331
  }
14332
14332
  return s;
14333
14333
  }
14334
- EA.exports = function(t, ...e) {
14334
+ IA.exports = function(t, ...e) {
14335
14335
  return ws(t, e);
14336
14336
  };
14337
14337
  Xe.noMutate = function(...t) {
@@ -14340,25 +14340,25 @@ Xe.noMutate = function(...t) {
14340
14340
  Xe.withOptions = function(t, e, n) {
14341
14341
  return ws(t, e, n);
14342
14342
  };
14343
- function IA(i, t) {
14343
+ function EA(i, t) {
14344
14344
  t.forEach((e) => {
14345
- const n = new E.SphereGeometry(0.02, 16, 16), o = [], s = [
14346
- new E.MeshBasicMaterial({ color: 16776960 }),
14345
+ const n = new I.SphereGeometry(0.02, 16, 16), o = [], s = [
14346
+ new I.MeshBasicMaterial({ color: 16776960 }),
14347
14347
  // 黄
14348
- new E.MeshBasicMaterial({ color: 16711935 }),
14348
+ new I.MeshBasicMaterial({ color: 16711935 }),
14349
14349
  // 粉
14350
- new E.MeshBasicMaterial({ color: 16711680 }),
14350
+ new I.MeshBasicMaterial({ color: 16711680 }),
14351
14351
  // 红
14352
- new E.MeshBasicMaterial({ color: 65535 })
14352
+ new I.MeshBasicMaterial({ color: 65535 })
14353
14353
  // 蓝
14354
14354
  ];
14355
14355
  if (e.position.length === 4)
14356
14356
  e.position.forEach((r, a) => {
14357
- const l = s[a], c = new E.Mesh(n, l);
14357
+ const l = s[a], c = new I.Mesh(n, l);
14358
14358
  c.position.copy(St(r)), o.push(c);
14359
14359
  });
14360
14360
  else {
14361
- const r = s[0], a = new E.Mesh(n, r);
14361
+ const r = s[0], a = new I.Mesh(n, r);
14362
14362
  a.position.copy(St(e.position)), o.push(a);
14363
14363
  }
14364
14364
  o.forEach((r) => {
@@ -14367,7 +14367,7 @@ function IA(i, t) {
14367
14367
  });
14368
14368
  }
14369
14369
  const Qe = (i) => i;
14370
- function Er(i) {
14370
+ function Ir(i) {
14371
14371
  if (i.length < 3)
14372
14372
  return;
14373
14373
  const t = i.map(Zi), e = t[1].clone().sub(t[0]), n = t[2].clone().sub(t[1]);
@@ -14419,7 +14419,7 @@ function LA(i) {
14419
14419
  });
14420
14420
  }
14421
14421
  function TA(i, t, e) {
14422
- const o = new E.Plane().setFromNormalAndCoplanarPoint(e, t), s = t.clone().sub(i).cross(new E.Vector3(0, 1, 0)).setLength(0.01), r = new E.Vector3(0, 0.01, 0);
14422
+ const o = new I.Plane().setFromNormalAndCoplanarPoint(e, t), s = t.clone().sub(i).cross(new I.Vector3(0, 1, 0)).setLength(0.01), r = new I.Vector3(0, 0.01, 0);
14423
14423
  return [
14424
14424
  t.clone().sub(s).sub(r),
14425
14425
  // 左下
@@ -14429,7 +14429,7 @@ function TA(i, t, e) {
14429
14429
  // 右上
14430
14430
  t.clone().sub(s).add(r)
14431
14431
  // 左上
14432
- ].map((l) => o.projectPoint(l, new E.Vector3()));
14432
+ ].map((l) => o.projectPoint(l, new I.Vector3()));
14433
14433
  }
14434
14434
  const ac = (i, t = 1e3 / 60) => {
14435
14435
  let e = null;
@@ -14490,7 +14490,7 @@ function _A(i) {
14490
14490
  return i;
14491
14491
  }
14492
14492
  const ai = "data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAADAAAGhgBVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr///////////////////////////////////////////8AAAA5TEFNRTMuOThyAc0AAAAAAAAAABSAJAiqQgAAgAAABobxtI73AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//uQxAACFEII9ACZ/sJZwWEoEb8w/////N//////JcxjHjf+7/v/H2PzCCFAiDtGeyBCIx7bJJ1mmEEMy6g8mm2c8nrGABB4h2Mkmn//4z/73u773R5qHHu/j/w7Kxkzh5lWRWdsifCkNAnY9Zc1HvDAhjhSHdFkHFzLmabt/AQxSg2wwzLhHIJOBnAWwVY4zrhIYhhc2kvhYDfQ4hDi2Gmh5KyFn8EcGIrHAngNgIwVIEMf5bzbAiTRoAD///8z/KVhkkWEle6IX+d/z4fvH3BShK1e5kmjkCMoxVmXhd4ROlTKo3iipasvTilY21q19ta30/v/0/idPX1v8PNxJL6ramnOVsdvMv2akO0iSYIzdJFirtzWXCZicS9vHqvSKyqm5XJ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VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVU=", Ui = {};
14493
- var Ea = /* @__PURE__ */ ((i) => (i.Default = "default", i.GetAudioDuration = "getAudioDuration", i.PlayAudio = "playAudio", i))(Ea || {});
14493
+ var Ia = /* @__PURE__ */ ((i) => (i.Default = "default", i.GetAudioDuration = "getAudioDuration", i.PlayAudio = "playAudio", i))(Ia || {});
14494
14494
  function VA(i, t) {
14495
14495
  const e = (t == null ? void 0 : t.namespace) || "default", n = Ui[e] || (Ui[e] = []);
14496
14496
  let o = n.find((s) => !s.realSrc || s.realSrc === ai);
@@ -14658,7 +14658,7 @@ function GA(i) {
14658
14658
  const [t, e, n, o] = i, s = t.distanceTo(e), r = e.distanceTo(n), a = n.distanceTo(o), l = o.distanceTo(t), c = t.distanceTo(n), d = e.distanceTo(o);
14659
14659
  return s === a && r === l && c === d;
14660
14660
  }
14661
- class Ir extends E.Mesh {
14661
+ class Er extends I.Mesh {
14662
14662
  /**
14663
14663
  * @description 生成一个四边形的Mesh
14664
14664
  * @param {Vector3Position[]} points: 四个顶点的坐标, [左下,右下,右上,左上]
@@ -14676,7 +14676,7 @@ class Ir extends E.Mesh {
14676
14676
  return e !== null && e.remove(this), this;
14677
14677
  }
14678
14678
  }
14679
- class Yh extends E.BufferGeometry {
14679
+ class Yh extends I.BufferGeometry {
14680
14680
  /**
14681
14681
  * @description 生成一个四边形的BufferGeometry,原点取 points[0],即左下角
14682
14682
  * @param {Vector3Position[]} points: 四个顶点的坐标, [左下,右下,右上,左上]
@@ -14691,7 +14691,7 @@ class Yh extends E.BufferGeometry {
14691
14691
  console.error("Invalid number of points, it's not a quadrangle");
14692
14692
  return;
14693
14693
  }
14694
- const [s, r, a, l] = e, [c, d, h, u] = [new E.Vector2(0, 0), new E.Vector2(1, 0), new E.Vector2(1, 1), new E.Vector2(0, 1)], m = [], g = [];
14694
+ const [s, r, a, l] = e, [c, d, h, u] = [new I.Vector2(0, 0), new I.Vector2(1, 0), new I.Vector2(1, 1), new I.Vector2(0, 1)], m = [], g = [];
14695
14695
  m.push(...s.toArray()), g.push(...c.toArray());
14696
14696
  for (let A = 1; A < o; A++)
14697
14697
  m.push(
@@ -14710,15 +14710,15 @@ class Yh extends E.BufferGeometry {
14710
14710
  const v = [];
14711
14711
  for (let A = 0; A < o; A++)
14712
14712
  v.push(A, A + 1, o * 2 - A, A, o * 2 - A, o * 2 + 1 - A);
14713
- this.setAttribute("position", new E.BufferAttribute(new Float32Array(m), 3)), this.setAttribute("uv", new E.BufferAttribute(new Float32Array(g), 2)), this.setIndex(new E.BufferAttribute(new Uint32Array(v), 1));
14713
+ this.setAttribute("position", new I.BufferAttribute(new Float32Array(m), 3)), this.setAttribute("uv", new I.BufferAttribute(new Float32Array(g), 2)), this.setIndex(new I.BufferAttribute(new Uint32Array(v), 1));
14714
14714
  }
14715
14715
  }
14716
14716
  function WA(i, t) {
14717
14717
  let e = !Fo;
14718
14718
  const n = t != null ? t : document.createElement("video");
14719
14719
  n.preload = "metadata", n.crossOrigin = "anonymous", n.muted = !0, n.loop = !0, n.playsInline = !0, n.autoplay = !0;
14720
- const o = new E.VideoTexture(n);
14721
- o.minFilter = E.LinearFilter, o.magFilter = E.LinearFilter, o.encoding = E.sRGBEncoding, o.metadataLoaded = !1, n.src = i;
14720
+ const o = new I.VideoTexture(n);
14721
+ o.minFilter = I.LinearFilter, o.magFilter = I.LinearFilter, o.encoding = I.sRGBEncoding, o.metadataLoaded = !1, n.src = i;
14722
14722
  const s = () => {
14723
14723
  o.metadataLoaded || (o.dispatchEvent({ type: "videoLoaded" }), o.metadataLoaded = !0);
14724
14724
  };
@@ -14747,25 +14747,25 @@ function Wi(i, t, e) {
14747
14747
  if (i === "contain") {
14748
14748
  const [n, o, s, r] = t, a = n.distanceTo(o), l = s.distanceTo(r), c = n.distanceTo(r), d = o.distanceTo(s), h = a, u = c, m = h / u;
14749
14749
  if (m > e) {
14750
- const v = u * e, A = new E.Vector3().subVectors(o, n).multiplyScalar((a - v) / 2 / a), b = new E.Vector3().subVectors(s, r).multiplyScalar((l - v) / 2 / l);
14750
+ const v = u * e, A = new I.Vector3().subVectors(o, n).multiplyScalar((a - v) / 2 / a), b = new I.Vector3().subVectors(s, r).multiplyScalar((l - v) / 2 / l);
14751
14751
  return [n.clone().add(A), o.clone().sub(A), s.clone().sub(b), r.clone().add(b)];
14752
14752
  } else if (m < e) {
14753
- const v = h / e, A = new E.Vector3().subVectors(r, n).multiplyScalar((c - v) / 2 / c), b = new E.Vector3().subVectors(s, o).multiplyScalar((d - v) / 2 / d);
14753
+ const v = h / e, A = new I.Vector3().subVectors(r, n).multiplyScalar((c - v) / 2 / c), b = new I.Vector3().subVectors(s, o).multiplyScalar((d - v) / 2 / d);
14754
14754
  return [n.clone().add(A), o.clone().add(b), s.clone().sub(b), r.clone().sub(A)];
14755
14755
  } else
14756
14756
  return t;
14757
14757
  } else
14758
14758
  return console.warn(`objectFit: ${i} is not supported yet`), t;
14759
14759
  }
14760
- class XA extends E.ShaderMaterial {
14760
+ class XA extends I.ShaderMaterial {
14761
14761
  constructor(e) {
14762
14762
  super();
14763
14763
  f(this, "transparent", !1);
14764
- f(this, "blending", E.CustomBlending);
14765
- f(this, "blendSrc", E.SrcAlphaFactor);
14766
- f(this, "blendDst", E.OneMinusSrcAlphaFactor);
14767
- f(this, "blendSrcAlpha", E.OneFactor);
14768
- f(this, "blendDstAlpha", E.OneMinusSrcAlphaFactor);
14764
+ f(this, "blending", I.CustomBlending);
14765
+ f(this, "blendSrc", I.SrcAlphaFactor);
14766
+ f(this, "blendDst", I.OneMinusSrcAlphaFactor);
14767
+ f(this, "blendSrcAlpha", I.OneFactor);
14768
+ f(this, "blendDstAlpha", I.OneMinusSrcAlphaFactor);
14769
14769
  f(
14770
14770
  this,
14771
14771
  "vertexShader",
@@ -14796,7 +14796,7 @@ class XA extends E.ShaderMaterial {
14796
14796
  };
14797
14797
  }
14798
14798
  }
14799
- let qh = class extends E.Mesh {
14799
+ let qh = class extends I.Mesh {
14800
14800
  constructor() {
14801
14801
  super(...arguments);
14802
14802
  f(this, "name", "MediaPlane");
@@ -14813,7 +14813,7 @@ class cc extends qh {
14813
14813
  f(this, "name", "PanoTagPluginImagePlane");
14814
14814
  this.src = e, to(e).then((s) => {
14815
14815
  var u;
14816
- const r = new URL(e, location.href).pathname.endsWith(".png"), a = new E.MeshBasicMaterial({ map: s, transparent: r }), l = Wi((u = o == null ? void 0 : o.objectFit) != null ? u : "contain", n, s.image.width / s.image.height), c = Dn(...l), d = l.map((m) => m.clone().sub(c)), h = new Yh(d);
14816
+ const r = new URL(e, location.href).pathname.endsWith(".png"), a = new I.MeshBasicMaterial({ map: s, transparent: r }), l = Wi((u = o == null ? void 0 : o.objectFit) != null ? u : "contain", n, s.image.width / s.image.height), c = Dn(...l), d = l.map((m) => m.clone().sub(c)), h = new Yh(d);
14817
14817
  this.position.copy(c), this.geometry = h, this.material = a;
14818
14818
  }).catch((s) => {
14819
14819
  console.error(`Imageplane error ${s}`);
@@ -14913,7 +14913,7 @@ class ta extends qh {
14913
14913
  const n = yield this.getImageTexture(this.videoCoverSrc);
14914
14914
  if (!n)
14915
14915
  return;
14916
- const o = new E.MeshBasicMaterial({ transparent: !1, map: n }), s = Wi(this.objectFit, this.cornerPoints, n.image.width / n.image.height), r = new Ir(s, o);
14916
+ const o = new I.MeshBasicMaterial({ transparent: !1, map: n }), s = Wi(this.objectFit, this.cornerPoints, n.image.width / n.image.height), r = new Er(s, o);
14917
14917
  return r.position.copy(new $(0, 0, 0)), r.name = "videoCoverMesh", r;
14918
14918
  }))();
14919
14919
  return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
@@ -14928,12 +14928,12 @@ class ta extends qh {
14928
14928
  return this.videoMesh;
14929
14929
  if (!this.src)
14930
14930
  return;
14931
- const o = this.getVideoTexture(this.src), s = new E.MeshBasicMaterial({ transparent: !1, map: o }), r = yield new Promise((l) => {
14931
+ const o = this.getVideoTexture(this.src), s = new I.MeshBasicMaterial({ transparent: !1, map: o }), r = yield new Promise((l) => {
14932
14932
  o.metadataLoaded ? l(Wi(this.objectFit, this.cornerPoints, o.image.videoWidth / o.image.videoHeight)) : o.addEventListener(
14933
14933
  "videoLoaded",
14934
14934
  () => l(Wi(this.objectFit, this.cornerPoints, o.image.videoWidth / o.image.videoHeight))
14935
14935
  );
14936
- }), a = new Ir(r, s);
14936
+ }), a = new Er(r, s);
14937
14937
  return a.name = "videoMesh", a.position.copy(new $(0, 0, 0)), a;
14938
14938
  }))();
14939
14939
  if (!e)
@@ -14957,9 +14957,9 @@ class ta extends qh {
14957
14957
  var u, m, g, v;
14958
14958
  if (this.buttonMesh)
14959
14959
  return this.buttonMesh;
14960
- const n = (m = (u = this.videoMesh) == null ? void 0 : u.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? m : 1 / 0, o = (v = (g = this.coverMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? v : 1 / 0, s = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(n, o, s) / s * 0.3, l = yield this.getImageTexture(this.buttonSrc), c = Wi("contain", this.cornerPoints, l.image.width / l.image.height), d = new Ir(c, new XA(l));
14960
+ const n = (m = (u = this.videoMesh) == null ? void 0 : u.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? m : 1 / 0, o = (v = (g = this.coverMesh) == null ? void 0 : g.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? v : 1 / 0, s = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(n, o, s) / s * 0.3, l = yield this.getImageTexture(this.buttonSrc), c = Wi("contain", this.cornerPoints, l.image.width / l.image.height), d = new Er(c, new XA(l));
14961
14961
  d.position.copy(new $(0, 0, 0)), d.name = "buttonMesh", d.scale.set(a, a, a), this.addAutoBindEventListener(d, "click", () => this.play());
14962
- const h = new E.Vector3().crossVectors(new E.Vector3().subVectors(c[0], c[1]), new E.Vector3().subVectors(c[0], c[3])).normalize().multiplyScalar(1e-4);
14962
+ const h = new I.Vector3().crossVectors(new I.Vector3().subVectors(c[0], c[1]), new I.Vector3().subVectors(c[0], c[3])).normalize().multiplyScalar(1e-4);
14963
14963
  return d.position.add(h), d;
14964
14964
  }))();
14965
14965
  return this.children.includes(this.buttonMesh) || (this.add(e), this.buttonMesh = e), e;
@@ -14983,7 +14983,7 @@ class ta extends qh {
14983
14983
  }
14984
14984
  }
14985
14985
  function Se(i, t) {
14986
- this._camera = i || null, this._domElement = t || document, this._raycaster = new E.Raycaster(), this._selected = null, this._boundObjs = {};
14986
+ this._camera = i || null, this._domElement = t || document, this._raycaster = new I.Raycaster(), this._selected = null, this._boundObjs = {};
14987
14987
  var e = this;
14988
14988
  this._$onClick = function() {
14989
14989
  e._onClick.apply(e, arguments);
@@ -15083,7 +15083,7 @@ Se.prototype._bound = function(i, t) {
15083
15083
  Se.prototype._onMove = function(i, t, e, n) {
15084
15084
  var o = this._boundObjs[i];
15085
15085
  if (!(o === void 0 || o.length === 0)) {
15086
- var s = new E.Vector2();
15086
+ var s = new I.Vector2();
15087
15087
  s.set(t, e), this._raycaster.setFromCamera(s, this._camera);
15088
15088
  var r = this._raycaster.intersectObjects(o), a = this._selected;
15089
15089
  if (r.length > 0) {
@@ -15097,7 +15097,7 @@ Se.prototype._onMove = function(i, t, e, n) {
15097
15097
  Se.prototype._onEvent = function(i, t, e, n) {
15098
15098
  var o = this._boundObjs[i];
15099
15099
  if (!(o === void 0 || o.length === 0)) {
15100
- var s = new E.Vector2();
15100
+ var s = new I.Vector2();
15101
15101
  s.set(t, e), this._raycaster.setFromCamera(s, this._camera);
15102
15102
  var r = this._raycaster.intersectObjects(o, !0);
15103
15103
  if (r.length !== 0) {
@@ -15401,13 +15401,13 @@ class UA extends QA {
15401
15401
  const l = (a = (r = this.five.work) == null ? void 0 : r.observers[o]) == null ? void 0 : a.position;
15402
15402
  if (l === void 0)
15403
15403
  throw new Error(`getAngleRange(): observerPosition is ${l}`);
15404
- const c = (() => e.stickType === "3DPoint" ? Zi(e.normal) : Er(e.position))();
15404
+ const c = (() => e.stickType === "3DPoint" ? Zi(e.normal) : Ir(e.position))();
15405
15405
  if (!c)
15406
15406
  return;
15407
15407
  const d = ss(e.position);
15408
15408
  if (!d)
15409
15409
  return;
15410
- const h = new E.Vector3().copy(l).sub(d), u = c.angleTo(h) * 180 / Math.PI;
15410
+ const h = new I.Vector3().copy(l).sub(d), u = c.angleTo(h) * 180 / Math.PI;
15411
15411
  return s.angle = u, s.angle;
15412
15412
  }
15413
15413
  }
@@ -15496,9 +15496,9 @@ class UA extends QA {
15496
15496
  if (e.normal)
15497
15497
  return St(e.normal);
15498
15498
  if (e.stickType === "Plane")
15499
- return Er(e.position);
15499
+ return Ir(e.position);
15500
15500
  if (e.stickType === "Model")
15501
- return Er(this.getPositions(e));
15501
+ return Ir(this.getPositions(e));
15502
15502
  }
15503
15503
  // TODO: 优化点:下面这些函数,调用比较频繁,可以按点位加缓存
15504
15504
  get filterPointTag() {
@@ -15553,7 +15553,7 @@ function qA(i, t) {
15553
15553
  class JA extends UA {
15554
15554
  constructor(e) {
15555
15555
  super(e);
15556
- f(this, "raycaster", new E.Raycaster());
15556
+ f(this, "raycaster", new I.Raycaster());
15557
15557
  }
15558
15558
  /**
15559
15559
  * @description: 获取是否可见
@@ -15730,6 +15730,12 @@ class JA extends UA {
15730
15730
  return s === void 0 || r === void 0 ? 0 : r - s;
15731
15731
  });
15732
15732
  }
15733
+ setTagZIndex(e) {
15734
+ return e.forEach((n) => {
15735
+ const o = this.getDistance(n);
15736
+ n.zIndex = Math.round((o != null ? o : 0) * 100);
15737
+ });
15738
+ }
15733
15739
  /**
15734
15740
  * @description: 一个点的标签
15735
15741
  */
@@ -16020,7 +16026,7 @@ function KA(i) {
16020
16026
  );
16021
16027
  return {
16022
16028
  c() {
16023
- e && e.c(), t = Ee();
16029
+ e && e.c(), t = Ie();
16024
16030
  },
16025
16031
  m(n, o) {
16026
16032
  e && e.m(n, o), V(n, t, o);
@@ -16062,7 +16068,7 @@ function $A(i, t, e) {
16062
16068
  u
16063
16069
  ];
16064
16070
  }
16065
- class Ia extends ce {
16071
+ class Ea extends ce {
16066
16072
  constructor(t) {
16067
16073
  super(), le(
16068
16074
  this,
@@ -16176,14 +16182,14 @@ function uc(i) {
16176
16182
  },
16177
16183
  i(r) {
16178
16184
  s || (r && ot(() => {
16179
- s && (o && o.end(1), n = Sn(t, In, { duration: (
16185
+ s && (o && o.end(1), n = Sn(t, En, { duration: (
16180
16186
  /*inDelay*/
16181
16187
  i[0]
16182
16188
  ) }), n.start());
16183
16189
  }), s = !0);
16184
16190
  },
16185
16191
  o(r) {
16186
- n && n.invalidate(), r && (o = vi(t, In, { duration: (
16192
+ n && n.invalidate(), r && (o = vi(t, En, { duration: (
16187
16193
  /*outDelay*/
16188
16194
  i[1]
16189
16195
  ) })), s = !1;
@@ -16200,7 +16206,7 @@ function tb(i) {
16200
16206
  );
16201
16207
  return {
16202
16208
  c() {
16203
- e && e.c(), t = Ee();
16209
+ e && e.c(), t = Ie();
16204
16210
  },
16205
16211
  m(n, o) {
16206
16212
  e && e.m(n, o), V(n, t, o);
@@ -16363,7 +16369,7 @@ function mc(i, t) {
16363
16369
  key: i,
16364
16370
  first: null,
16365
16371
  c() {
16366
- e = Ee(), r.c(), n = Ee(), this.first = e;
16372
+ e = Ie(), r.c(), n = Ie(), this.first = e;
16367
16373
  },
16368
16374
  m(a, l) {
16369
16375
  V(a, e, l), r.m(a, l), V(a, n, l);
@@ -16393,7 +16399,7 @@ function ab(i) {
16393
16399
  c() {
16394
16400
  for (let r = 0; r < t.length; r += 1)
16395
16401
  t[r].c();
16396
- n = Ee();
16402
+ n = Ie();
16397
16403
  },
16398
16404
  m(r, a) {
16399
16405
  for (let l = 0; l < t.length; l += 1)
@@ -16419,11 +16425,11 @@ function lb(i, t, e) {
16419
16425
  const c = `__EMOJI_SPLIT_${kr}__`, d = `__EMOJI_${kr}__`, h = `__SPACE_${kr}__`;
16420
16426
  let u, m, g = [];
16421
16427
  function v(D) {
16422
- const I = [], T = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
16423
- return D.slice().replace(T, (S) => `${c}${d}${S}${c}`).split(c).forEach((S) => S.startsWith(d) ? I.push({
16428
+ const E = [], T = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
16429
+ return D.slice().replace(T, (S) => `${c}${d}${S}${c}`).split(c).forEach((S) => S.startsWith(d) ? E.push({
16424
16430
  id: dt(),
16425
16431
  content: S.slice(d.length)
16426
- }) : I.push(...S.split("").map((F) => F === " " ? h : F).map((F) => ({ id: dt(), content: F })))), I;
16432
+ }) : E.push(...S.split("").map((F) => F === " " ? h : F).map((F) => ({ id: dt(), content: F })))), E;
16427
16433
  }
16428
16434
  function A() {
16429
16435
  if (!m)
@@ -16439,13 +16445,13 @@ function lb(i, t, e) {
16439
16445
  clearTimeout(u), u = setTimeout(A, D ? o : s);
16440
16446
  }
16441
16447
  function y(D) {
16442
- const I = function() {
16448
+ const E = function() {
16443
16449
  const T = jA((S) => D[S].getBoundingClientRect().x, [Math.min(D.length - 1, 10), Math.min(D.length - 1, 30)]);
16444
16450
  if (T > 0)
16445
16451
  return T;
16446
16452
  }();
16447
16453
  m = Ra({
16448
- targets: D.slice(0, I).filter(di),
16454
+ targets: D.slice(0, E).filter(di),
16449
16455
  autoplay: !1,
16450
16456
  duration: 400,
16451
16457
  scale: [0.7, 1],
@@ -16457,14 +16463,14 @@ function lb(i, t, e) {
16457
16463
  easing: "easeInOutCubic"
16458
16464
  }), a && m.seek(m.duration);
16459
16465
  }
16460
- function P(D, I) {
16466
+ function P(D, E) {
16461
16467
  Ze[D ? "unshift" : "push"](() => {
16462
- g[I] = D, e(1, g);
16468
+ g[E] = D, e(1, g);
16463
16469
  });
16464
16470
  }
16465
- function k(D, I) {
16471
+ function k(D, E) {
16466
16472
  Ze[D ? "unshift" : "push"](() => {
16467
- g[I] = D, e(1, g);
16473
+ g[E] = D, e(1, g);
16468
16474
  });
16469
16475
  }
16470
16476
  return i.$$set = (D) => {
@@ -16537,7 +16543,7 @@ function pc(i) {
16537
16543
  },
16538
16544
  i(h) {
16539
16545
  l || (x(e.$$.fragment, h), h && ot(() => {
16540
- l && (a && a.end(1), r = Sn(o, In, {
16546
+ l && (a && a.end(1), r = Sn(o, En, {
16541
16547
  duration: (
16542
16548
  /*duration*/
16543
16549
  i[2]
@@ -16551,7 +16557,7 @@ function pc(i) {
16551
16557
  }), l = !0);
16552
16558
  },
16553
16559
  o(h) {
16554
- L(e.$$.fragment, h), r && r.invalidate(), h && (a = vi(o, In, {
16560
+ L(e.$$.fragment, h), r && r.invalidate(), h && (a = vi(o, En, {
16555
16561
  duration: (
16556
16562
  /*duration*/
16557
16563
  i[2]
@@ -16575,7 +16581,7 @@ function db(i) {
16575
16581
  );
16576
16582
  return {
16577
16583
  c() {
16578
- n && n.c(), t = Ee();
16584
+ n && n.c(), t = Ie();
16579
16585
  },
16580
16586
  m(o, s) {
16581
16587
  n && n.m(o, s), V(o, t, s), e = !0;
@@ -16747,7 +16753,7 @@ function pb(i) {
16747
16753
  );
16748
16754
  return {
16749
16755
  c() {
16750
- o && o.c(), t = se(), s && s.c(), e = Ee();
16756
+ o && o.c(), t = se(), s && s.c(), e = Ie();
16751
16757
  },
16752
16758
  m(r, a) {
16753
16759
  o && o.m(r, a), V(r, t, a), s && s.m(r, a), V(r, e, a), n = !0;
@@ -16837,7 +16843,7 @@ function Ac(i) {
16837
16843
  blurRadius: 120,
16838
16844
  spreadRadius: 60
16839
16845
  }
16840
- }), n = new Ia({
16846
+ }), n = new Ea({
16841
16847
  props: {
16842
16848
  unfolded: (
16843
16849
  /*unfolded*/
@@ -16940,7 +16946,7 @@ function Ab(i) {
16940
16946
  );
16941
16947
  return {
16942
16948
  c() {
16943
- n && n.c(), t = Ee();
16949
+ n && n.c(), t = Ie();
16944
16950
  },
16945
16951
  m(o, s) {
16946
16952
  n && n.m(o, s), V(o, t, s), e = !0;
@@ -17070,7 +17076,7 @@ function Pb(i) {
17070
17076
  );
17071
17077
  return {
17072
17078
  c() {
17073
- n && n.c(), t = se(), o && o.c(), e = Ee();
17079
+ n && n.c(), t = se(), o && o.c(), e = Ie();
17074
17080
  },
17075
17081
  m(a, l) {
17076
17082
  n && n.m(a, l), V(a, t, l), o && o.m(a, l), V(a, e, l);
@@ -17088,7 +17094,7 @@ function Pb(i) {
17088
17094
  }
17089
17095
  };
17090
17096
  }
17091
- function Eb(i) {
17097
+ function Ib(i) {
17092
17098
  let t;
17093
17099
  return {
17094
17100
  c() {
@@ -17151,9 +17157,9 @@ function yc(i) {
17151
17157
  }
17152
17158
  };
17153
17159
  }
17154
- function Ib(i) {
17160
+ function Eb(i) {
17155
17161
  let t, e, n, o;
17156
- const s = [Eb, Pb, Cb], r = [];
17162
+ const s = [Ib, Pb, Cb], r = [];
17157
17163
  function a(l, c) {
17158
17164
  return (
17159
17165
  /*text*/
@@ -17228,7 +17234,7 @@ class ka extends ce {
17228
17234
  this,
17229
17235
  t,
17230
17236
  kb,
17231
- Ib,
17237
+ Eb,
17232
17238
  ae,
17233
17239
  {
17234
17240
  maxLine: 0,
@@ -17246,7 +17252,7 @@ function xb(i) {
17246
17252
  function wc(i) {
17247
17253
  var h, u;
17248
17254
  let t, e, n, o, s, r, a, l, c;
17249
- t = new Ia({
17255
+ t = new Ea({
17250
17256
  props: {
17251
17257
  unfolded: (
17252
17258
  /*unfolded*/
@@ -17393,7 +17399,7 @@ function Db(i) {
17393
17399
  );
17394
17400
  return {
17395
17401
  c() {
17396
- n && n.c(), t = Ee();
17402
+ n && n.c(), t = Ie();
17397
17403
  },
17398
17404
  m(o, s) {
17399
17405
  n && n.m(o, s), V(o, t, s), e = !0;
@@ -17505,7 +17511,7 @@ function zb(i) {
17505
17511
  }
17506
17512
  return ~(t = a(i)) && (e = r[t] = s[t](i)), {
17507
17513
  c() {
17508
- e && e.c(), n = Ee();
17514
+ e && e.c(), n = Ie();
17509
17515
  },
17510
17516
  m(l, c) {
17511
17517
  ~t && r[t].m(l, c), V(l, n, c), o = !0;
@@ -17708,11 +17714,11 @@ class Wb extends ce {
17708
17714
  function Nb(i) {
17709
17715
  fe(i, "svelte-670fde", ".sc-carousel-dots__container.svelte-670fde{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;padding:0 30px}.sc-carousel-dots__dot-container.svelte-670fde{height:calc(var(--sc-dot-size) + 14px);width:calc(var(--sc-dot-size) + 10px);display:flex;align-items:center;justify-content:center}");
17710
17716
  }
17711
- function Ec(i, t, e) {
17717
+ function Ic(i, t, e) {
17712
17718
  const n = i.slice();
17713
17719
  return n[5] = t[e], n[7] = e, n;
17714
17720
  }
17715
- function Ic(i, t) {
17721
+ function Ec(i, t) {
17716
17722
  let e, n, o, s;
17717
17723
  function r() {
17718
17724
  return (
@@ -17769,8 +17775,8 @@ function Fb(i) {
17769
17775
  a[7]
17770
17776
  );
17771
17777
  for (let a = 0; a < s.length; a += 1) {
17772
- let l = Ec(i, s, a), c = r(l);
17773
- n.set(c, e[a] = Ic(c, l));
17778
+ let l = Ic(i, s, a), c = r(l);
17779
+ n.set(c, e[a] = Ec(c, l));
17774
17780
  }
17775
17781
  return {
17776
17782
  c() {
@@ -17790,7 +17796,7 @@ function Fb(i) {
17790
17796
  7 && (s = Array(
17791
17797
  /*pagesCount*/
17792
17798
  a[0]
17793
- ), de(), e = Lt(e, l, r, 1, a, s, n, t, fn, Ic, null, Ec), he());
17799
+ ), de(), e = Lt(e, l, r, 1, a, s, n, t, fn, Ec, null, Ic), he());
17794
17800
  },
17795
17801
  i(a) {
17796
17802
  if (!o) {
@@ -18166,7 +18172,7 @@ function P1({
18166
18172
  particlesToShow: n
18167
18173
  });
18168
18174
  }
18169
- function E1({
18175
+ function I1({
18170
18176
  pageIndex: i,
18171
18177
  clonesCountHead: t,
18172
18178
  clonesCountTail: e,
@@ -18179,7 +18185,7 @@ function E1({
18179
18185
  o - 1
18180
18186
  );
18181
18187
  }
18182
- function I1({
18188
+ function E1({
18183
18189
  pageIndex: i,
18184
18190
  particlesToScroll: t,
18185
18191
  particlesCount: e,
@@ -18200,13 +18206,13 @@ function Dr({
18200
18206
  particlesCount: s,
18201
18207
  particlesToShow: r
18202
18208
  }) {
18203
- return i ? E1({
18209
+ return i ? I1({
18204
18210
  pageIndex: t,
18205
18211
  clonesCountHead: e,
18206
18212
  clonesCountTail: n,
18207
18213
  particlesToScroll: o,
18208
18214
  particlesCount: s
18209
- }) : I1({
18215
+ }) : E1({
18210
18216
  pageIndex: t,
18211
18217
  particlesToScroll: o,
18212
18218
  particlesCount: s,
@@ -18461,7 +18467,7 @@ function Ay(i) {
18461
18467
  return !!Lc && Lc in i;
18462
18468
  }
18463
18469
  var by = Ma(function(i) {
18464
- i = Iy(i);
18470
+ i = Ey(i);
18465
18471
  var t = [];
18466
18472
  return O1.test(i) && t.push(""), i.replace(B1, function(e, n, o, s) {
18467
18473
  t.push(o ? s.replace(Q1, "$1") : n || e);
@@ -18511,13 +18517,13 @@ function lu(i) {
18511
18517
  var t = typeof i;
18512
18518
  return !!i && (t == "object" || t == "function");
18513
18519
  }
18514
- function Ey(i) {
18520
+ function Iy(i) {
18515
18521
  return !!i && typeof i == "object";
18516
18522
  }
18517
18523
  function La(i) {
18518
- return typeof i == "symbol" || Ey(i) && su.call(i) == j1;
18524
+ return typeof i == "symbol" || Iy(i) && su.call(i) == j1;
18519
18525
  }
18520
- function Iy(i) {
18526
+ function Ey(i) {
18521
18527
  return i == null ? "" : my(i);
18522
18528
  }
18523
18529
  function ky(i, t, e) {
@@ -18533,8 +18539,8 @@ var Bo = ky, rs = {}, xy = {
18533
18539
  }
18534
18540
  };
18535
18541
  (function(i, t) {
18536
- var e = 200, n = "__lodash_hash_undefined__", o = 9007199254740991, s = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", u = "[object Map]", m = "[object Number]", g = "[object Object]", v = "[object Promise]", A = "[object RegExp]", b = "[object Set]", y = "[object String]", P = "[object Symbol]", k = "[object WeakMap]", D = "[object ArrayBuffer]", I = "[object DataView]", T = "[object Float32Array]", S = "[object Float64Array]", F = "[object Int8Array]", q = "[object Int16Array]", Q = "[object Int32Array]", R = "[object Uint8Array]", H = "[object Uint8ClampedArray]", B = "[object Uint16Array]", G = "[object Uint32Array]", U = /[\\^$.*+?()[\]{}|]/g, Y = /\w*$/, J = /^\[object .+?Constructor\]$/, re = /^(?:0|[1-9]\d*)$/, ie = {};
18537
- ie[s] = ie[r] = ie[D] = ie[I] = ie[a] = ie[l] = ie[T] = ie[S] = ie[F] = ie[q] = ie[Q] = ie[u] = ie[m] = ie[g] = ie[A] = ie[b] = ie[y] = ie[P] = ie[R] = ie[H] = ie[B] = ie[G] = !0, ie[c] = ie[d] = ie[k] = !1;
18542
+ var e = 200, n = "__lodash_hash_undefined__", o = 9007199254740991, s = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", u = "[object Map]", m = "[object Number]", g = "[object Object]", v = "[object Promise]", A = "[object RegExp]", b = "[object Set]", y = "[object String]", P = "[object Symbol]", k = "[object WeakMap]", D = "[object ArrayBuffer]", E = "[object DataView]", T = "[object Float32Array]", S = "[object Float64Array]", F = "[object Int8Array]", q = "[object Int16Array]", Q = "[object Int32Array]", R = "[object Uint8Array]", H = "[object Uint8ClampedArray]", B = "[object Uint16Array]", G = "[object Uint32Array]", U = /[\\^$.*+?()[\]{}|]/g, Y = /\w*$/, J = /^\[object .+?Constructor\]$/, re = /^(?:0|[1-9]\d*)$/, ie = {};
18543
+ ie[s] = ie[r] = ie[D] = ie[E] = ie[a] = ie[l] = ie[T] = ie[S] = ie[F] = ie[q] = ie[Q] = ie[u] = ie[m] = ie[g] = ie[A] = ie[b] = ie[y] = ie[P] = ie[R] = ie[H] = ie[B] = ie[G] = !0, ie[c] = ie[d] = ie[k] = !1;
18538
18544
  var Ae = typeof Ct == "object" && Ct && Ct.Object === Object && Ct, we = typeof self == "object" && self && self.Object === Object && self, ge = Ae || we || Function("return this")(), ze = t && !t.nodeType && t, ve = ze && !0 && i && !i.nodeType && i, He = ve && ve.exports === ze;
18539
18545
  function ue(p, C) {
18540
18546
  return p.set(C[0], C[1]), p;
@@ -18581,7 +18587,7 @@ var Bo = ky, rs = {}, xy = {
18581
18587
  M[++C] = [Ce, N];
18582
18588
  }), M;
18583
18589
  }
18584
- function Ie(p, C) {
18590
+ function Ee(p, C) {
18585
18591
  return function(M) {
18586
18592
  return p(C(M));
18587
18593
  };
@@ -18595,9 +18601,9 @@ var Bo = ky, rs = {}, xy = {
18595
18601
  var ht = Array.prototype, Ht = Function.prototype, gt = Object.prototype, vt = ge["__core-js_shared__"], je = function() {
18596
18602
  var p = /[^.]+$/.exec(vt && vt.keys && vt.keys.IE_PROTO || "");
18597
18603
  return p ? "Symbol(src)_1." + p : "";
18598
- }(), Oe = Ht.toString, Fe = gt.hasOwnProperty, Et = gt.toString, wi = RegExp(
18604
+ }(), Oe = Ht.toString, Fe = gt.hasOwnProperty, It = gt.toString, wi = RegExp(
18599
18605
  "^" + Oe.call(Fe).replace(U, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
18600
- ), Tt = He ? ge.Buffer : void 0, Zt = ge.Symbol, mn = ge.Uint8Array, ut = Ie(Object.getPrototypeOf, Object), Tn = Object.create, zn = gt.propertyIsEnumerable, xs = ht.splice, Ci = Object.getOwnPropertySymbols, jn = Tt ? Tt.isBuffer : void 0, co = Ie(Object.keys, Object), _n = kt(ge, "DataView"), pn = kt(ge, "Map"), It = kt(ge, "Promise"), Vn = kt(ge, "Set"), Pi = kt(ge, "WeakMap"), gn = kt(Object, "create"), Ei = lt(_n), vn = lt(pn), Ii = lt(It), ki = lt(Vn), xi = lt(Pi), Kt = Zt ? Zt.prototype : void 0, ho = Kt ? Kt.valueOf : void 0;
18606
+ ), Tt = He ? ge.Buffer : void 0, Zt = ge.Symbol, mn = ge.Uint8Array, ut = Ee(Object.getPrototypeOf, Object), Tn = Object.create, zn = gt.propertyIsEnumerable, xs = ht.splice, Ci = Object.getOwnPropertySymbols, jn = Tt ? Tt.isBuffer : void 0, co = Ee(Object.keys, Object), _n = kt(ge, "DataView"), pn = kt(ge, "Map"), Et = kt(ge, "Promise"), Vn = kt(ge, "Set"), Pi = kt(ge, "WeakMap"), gn = kt(Object, "create"), Ii = lt(_n), vn = lt(pn), Ei = lt(Et), ki = lt(Vn), xi = lt(Pi), Kt = Zt ? Zt.prototype : void 0, ho = Kt ? Kt.valueOf : void 0;
18601
18607
  function Gt(p) {
18602
18608
  var C = -1, M = p ? p.length : 0;
18603
18609
  for (this.clear(); ++C < M; ) {
@@ -18772,7 +18778,7 @@ var Bo = ky, rs = {}, xy = {
18772
18778
  return Ti(p) ? N : me(N, M(p));
18773
18779
  }
18774
18780
  function Us(p) {
18775
- return Et.call(p);
18781
+ return It.call(p);
18776
18782
  }
18777
18783
  function qs(p) {
18778
18784
  if (!_t(p) || ar(p))
@@ -18849,16 +18855,16 @@ var Bo = ky, rs = {}, xy = {
18849
18855
  var M = ke(p, C);
18850
18856
  return qs(M) ? M : void 0;
18851
18857
  }
18852
- var Wt = Ci ? Ie(Ci, Object) : cr, Nt = Us;
18853
- (_n && Nt(new _n(new ArrayBuffer(1))) != I || pn && Nt(new pn()) != u || It && Nt(It.resolve()) != v || Vn && Nt(new Vn()) != b || Pi && Nt(new Pi()) != k) && (Nt = function(p) {
18854
- var C = Et.call(p), M = C == g ? p.constructor : void 0, N = M ? lt(M) : void 0;
18858
+ var Wt = Ci ? Ee(Ci, Object) : cr, Nt = Us;
18859
+ (_n && Nt(new _n(new ArrayBuffer(1))) != E || pn && Nt(new pn()) != u || Et && Nt(Et.resolve()) != v || Vn && Nt(new Vn()) != b || Pi && Nt(new Pi()) != k) && (Nt = function(p) {
18860
+ var C = It.call(p), M = C == g ? p.constructor : void 0, N = M ? lt(M) : void 0;
18855
18861
  if (N)
18856
18862
  switch (N) {
18857
- case Ei:
18858
- return I;
18863
+ case Ii:
18864
+ return E;
18859
18865
  case vn:
18860
18866
  return u;
18861
- case Ii:
18867
+ case Ei:
18862
18868
  return v;
18863
18869
  case ki:
18864
18870
  return b;
@@ -18882,7 +18888,7 @@ var Bo = ky, rs = {}, xy = {
18882
18888
  case a:
18883
18889
  case l:
18884
18890
  return new Ce(+p);
18885
- case I:
18891
+ case E:
18886
18892
  return An(p, N);
18887
18893
  case T:
18888
18894
  case S:
@@ -18941,7 +18947,7 @@ var Bo = ky, rs = {}, xy = {
18941
18947
  return p === C || p !== p && C !== C;
18942
18948
  }
18943
18949
  function Qn(p) {
18944
- return lr(p) && Fe.call(p, "callee") && (!zn.call(p, "callee") || Et.call(p) == s);
18950
+ return lr(p) && Fe.call(p, "callee") && (!zn.call(p, "callee") || It.call(p) == s);
18945
18951
  }
18946
18952
  var Ti = Array.isArray;
18947
18953
  function Hn(p) {
@@ -18952,7 +18958,7 @@ var Bo = ky, rs = {}, xy = {
18952
18958
  }
18953
18959
  var bo = jn || dr;
18954
18960
  function zi(p) {
18955
- var C = _t(p) ? Et.call(p) : "";
18961
+ var C = _t(p) ? It.call(p) : "";
18956
18962
  return C == d || C == h;
18957
18963
  }
18958
18964
  function yo(p) {
@@ -18986,8 +18992,8 @@ var as = {}, Sy = {
18986
18992
  }
18987
18993
  };
18988
18994
  (function(i, t) {
18989
- var e = 200, n = "__lodash_hash_undefined__", o = 1, s = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", u = "[object Error]", m = "[object Function]", g = "[object GeneratorFunction]", v = "[object Map]", A = "[object Number]", b = "[object Null]", y = "[object Object]", P = "[object Promise]", k = "[object Proxy]", D = "[object RegExp]", I = "[object Set]", T = "[object String]", S = "[object Symbol]", F = "[object Undefined]", q = "[object WeakMap]", Q = "[object ArrayBuffer]", R = "[object DataView]", H = "[object Float32Array]", B = "[object Float64Array]", G = "[object Int8Array]", U = "[object Int16Array]", Y = "[object Int32Array]", J = "[object Uint8Array]", re = "[object Uint8ClampedArray]", ie = "[object Uint16Array]", Ae = "[object Uint32Array]", we = /[\\^$.*+?()[\]{}|]/g, ge = /^\[object .+?Constructor\]$/, ze = /^(?:0|[1-9]\d*)$/, ve = {};
18990
- ve[H] = ve[B] = ve[G] = ve[U] = ve[Y] = ve[J] = ve[re] = ve[ie] = ve[Ae] = !0, ve[a] = ve[l] = ve[Q] = ve[d] = ve[R] = ve[h] = ve[u] = ve[m] = ve[v] = ve[A] = ve[y] = ve[D] = ve[I] = ve[T] = ve[q] = !1;
18995
+ var e = 200, n = "__lodash_hash_undefined__", o = 1, s = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", u = "[object Error]", m = "[object Function]", g = "[object GeneratorFunction]", v = "[object Map]", A = "[object Number]", b = "[object Null]", y = "[object Object]", P = "[object Promise]", k = "[object Proxy]", D = "[object RegExp]", E = "[object Set]", T = "[object String]", S = "[object Symbol]", F = "[object Undefined]", q = "[object WeakMap]", Q = "[object ArrayBuffer]", R = "[object DataView]", H = "[object Float32Array]", B = "[object Float64Array]", G = "[object Int8Array]", U = "[object Int16Array]", Y = "[object Int32Array]", J = "[object Uint8Array]", re = "[object Uint8ClampedArray]", ie = "[object Uint16Array]", Ae = "[object Uint32Array]", we = /[\\^$.*+?()[\]{}|]/g, ge = /^\[object .+?Constructor\]$/, ze = /^(?:0|[1-9]\d*)$/, ve = {};
18996
+ ve[H] = ve[B] = ve[G] = ve[U] = ve[Y] = ve[J] = ve[re] = ve[ie] = ve[Ae] = !0, ve[a] = ve[l] = ve[Q] = ve[d] = ve[R] = ve[h] = ve[u] = ve[m] = ve[v] = ve[A] = ve[y] = ve[D] = ve[E] = ve[T] = ve[q] = !1;
18991
18997
  var He = typeof Ct == "object" && Ct && Ct.Object === Object && Ct, ue = typeof self == "object" && self && self.Object === Object && self, be = He || ue || Function("return this")(), Me = t && !t.nodeType && t, me = Me && !0 && i && !i.nodeType && i, Ye = me && me.exports === Me, at = Ye && He.process, ke = function() {
18992
18998
  try {
18993
18999
  return at && at.binding && at.binding("util");
@@ -19001,7 +19007,7 @@ var as = {}, Sy = {
19001
19007
  }
19002
19008
  return pe;
19003
19009
  }
19004
- function Ie(p, C) {
19010
+ function Ee(p, C) {
19005
19011
  for (var M = -1, N = C.length, Ce = p.length; ++M < N; )
19006
19012
  p[Ce + M] = C[M];
19007
19013
  return p;
@@ -19045,12 +19051,12 @@ var as = {}, Sy = {
19045
19051
  M[++C] = N;
19046
19052
  }), M;
19047
19053
  }
19048
- var Et = Array.prototype, wi = Function.prototype, Tt = Object.prototype, Zt = be["__core-js_shared__"], mn = wi.toString, ut = Tt.hasOwnProperty, Tn = function() {
19054
+ var It = Array.prototype, wi = Function.prototype, Tt = Object.prototype, Zt = be["__core-js_shared__"], mn = wi.toString, ut = Tt.hasOwnProperty, Tn = function() {
19049
19055
  var p = /[^.]+$/.exec(Zt && Zt.keys && Zt.keys.IE_PROTO || "");
19050
19056
  return p ? "Symbol(src)_1." + p : "";
19051
19057
  }(), zn = Tt.toString, xs = RegExp(
19052
19058
  "^" + mn.call(ut).replace(we, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
19053
- ), Ci = Ye ? be.Buffer : void 0, jn = be.Symbol, co = be.Uint8Array, _n = Tt.propertyIsEnumerable, pn = Et.splice, It = jn ? jn.toStringTag : void 0, Vn = Object.getOwnPropertySymbols, Pi = Ci ? Ci.isBuffer : void 0, gn = Oe(Object.keys, Object), Ei = Wt(be, "DataView"), vn = Wt(be, "Map"), Ii = Wt(be, "Promise"), ki = Wt(be, "Set"), xi = Wt(be, "WeakMap"), Kt = Wt(Object, "create"), ho = lt(Ei), Gt = lt(vn), Ds = lt(Ii), Ss = lt(ki), Ms = lt(xi), uo = jn ? jn.prototype : void 0, Di = uo ? uo.valueOf : void 0;
19059
+ ), Ci = Ye ? be.Buffer : void 0, jn = be.Symbol, co = be.Uint8Array, _n = Tt.propertyIsEnumerable, pn = It.splice, Et = jn ? jn.toStringTag : void 0, Vn = Object.getOwnPropertySymbols, Pi = Ci ? Ci.isBuffer : void 0, gn = Oe(Object.keys, Object), Ii = Wt(be, "DataView"), vn = Wt(be, "Map"), Ei = Wt(be, "Promise"), ki = Wt(be, "Set"), xi = Wt(be, "WeakMap"), Kt = Wt(Object, "create"), ho = lt(Ii), Gt = lt(vn), Ds = lt(Ei), Ss = lt(ki), Ms = lt(xi), uo = jn ? jn.prototype : void 0, Di = uo ? uo.valueOf : void 0;
19054
19060
  function Ue(p) {
19055
19061
  var C = -1, M = p == null ? 0 : p.length;
19056
19062
  for (this.clear(); ++C < M; ) {
@@ -19198,10 +19204,10 @@ var as = {}, Sy = {
19198
19204
  }
19199
19205
  function Mi(p, C, M) {
19200
19206
  var N = C(p);
19201
- return Qn(p) ? N : Ie(N, M(p));
19207
+ return Qn(p) ? N : Ee(N, M(p));
19202
19208
  }
19203
19209
  function An(p) {
19204
- return p == null ? p === void 0 ? F : b : It && It in Object(p) ? Nt(p) : go(p);
19210
+ return p == null ? p === void 0 ? F : b : Et && Et in Object(p) ? Nt(p) : go(p);
19205
19211
  }
19206
19212
  function mo(p) {
19207
19213
  return _t(p) && An(p) == a;
@@ -19298,7 +19304,7 @@ var as = {}, Sy = {
19298
19304
  return p == C + "";
19299
19305
  case v:
19300
19306
  var De = je;
19301
- case I:
19307
+ case E:
19302
19308
  var Ge = N & o;
19303
19309
  if (De || (De = Fe), p.size != C.size && !Ge)
19304
19310
  return !1;
@@ -19357,21 +19363,21 @@ var as = {}, Sy = {
19357
19363
  return Ks(M) ? M : void 0;
19358
19364
  }
19359
19365
  function Nt(p) {
19360
- var C = ut.call(p, It), M = p[It];
19366
+ var C = ut.call(p, Et), M = p[Et];
19361
19367
  try {
19362
- p[It] = void 0;
19368
+ p[Et] = void 0;
19363
19369
  var N = !0;
19364
19370
  } catch (pe) {
19365
19371
  }
19366
19372
  var Ce = zn.call(p);
19367
- return N && (C ? p[It] = M : delete p[It]), Ce;
19373
+ return N && (C ? p[Et] = M : delete p[Et]), Ce;
19368
19374
  }
19369
19375
  var ir = Vn ? function(p) {
19370
19376
  return p == null ? [] : (p = Object(p), oe(Vn(p), function(C) {
19371
19377
  return _n.call(p, C);
19372
19378
  }));
19373
19379
  } : cr, jt = An;
19374
- (Ei && jt(new Ei(new ArrayBuffer(1))) != R || vn && jt(new vn()) != v || Ii && jt(Ii.resolve()) != P || ki && jt(new ki()) != I || xi && jt(new xi()) != q) && (jt = function(p) {
19380
+ (Ii && jt(new Ii(new ArrayBuffer(1))) != R || vn && jt(new vn()) != v || Ei && jt(Ei.resolve()) != P || ki && jt(new ki()) != E || xi && jt(new xi()) != q) && (jt = function(p) {
19375
19381
  var C = An(p), M = C == y ? p.constructor : void 0, N = M ? lt(M) : "";
19376
19382
  if (N)
19377
19383
  switch (N) {
@@ -19382,7 +19388,7 @@ var as = {}, Sy = {
19382
19388
  case Ds:
19383
19389
  return P;
19384
19390
  case Ss:
19385
- return I;
19391
+ return E;
19386
19392
  case Ms:
19387
19393
  return q;
19388
19394
  }
@@ -20404,20 +20410,20 @@ function Zy(i) {
20404
20410
  }
20405
20411
  function Ky(i, t, e) {
20406
20412
  let { $$slots: n = {}, $$scope: o } = t, s = [], r, a, l = 0, c = 0, d = 1;
20407
- const [{ data: h, progressManager: u }, m, g] = Gy((oe, Ie) => {
20413
+ const [{ data: h, progressManager: u }, m, g] = Gy((oe, Ee) => {
20408
20414
  na({
20409
- currentPageIndex: () => e(5, r = Ie),
20410
- progressValue: () => e(7, a = Ie),
20411
- offset: () => e(8, l = Ie),
20412
- durationMs: () => e(9, c = Ie),
20413
- pagesCount: () => e(10, d = Ie),
20414
- loaded: () => e(6, s = Ie)
20415
+ currentPageIndex: () => e(5, r = Ee),
20416
+ progressValue: () => e(7, a = Ee),
20417
+ offset: () => e(8, l = Ee),
20418
+ durationMs: () => e(9, c = Ee),
20419
+ pagesCount: () => e(10, d = Ee),
20420
+ loaded: () => e(6, s = Ee)
20415
20421
  })(oe);
20416
20422
  }), v = ms();
20417
- let { timingFunction: A = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: k = 500 } = t, { autoplay: D = !1 } = t, { autoplayDuration: I = 3e3 } = t, { autoplayDirection: T = dn } = t, { pauseOnFocus: S = !1 } = t, { autoplayProgressVisible: F = !1 } = t, { dots: q = !0 } = t, { swiping: Q = !0 } = t, { particlesToShow: R = 1 } = t, { particlesToScroll: H = 1 } = t;
20418
- function B(oe, Ie) {
20423
+ let { timingFunction: A = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: k = 500 } = t, { autoplay: D = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: T = dn } = t, { pauseOnFocus: S = !1 } = t, { autoplayProgressVisible: F = !1 } = t, { dots: q = !0 } = t, { swiping: Q = !0 } = t, { particlesToShow: R = 1 } = t, { particlesToScroll: H = 1 } = t;
20424
+ function B(oe, Ee) {
20419
20425
  return X(this, null, function* () {
20420
- const Be = qi(Ie, "animated", !0);
20426
+ const Be = qi(Ee, "animated", !0);
20421
20427
  if (typeof oe != "number")
20422
20428
  throw new Error("pageIndex should be a number");
20423
20429
  yield m.showPage(oe, { animated: Be });
@@ -20425,14 +20431,14 @@ function Ky(i, t, e) {
20425
20431
  }
20426
20432
  function G(oe) {
20427
20433
  return X(this, null, function* () {
20428
- const Ie = qi(oe, "animated", !0);
20429
- yield m.showPrevPage({ animated: Ie });
20434
+ const Ee = qi(oe, "animated", !0);
20435
+ yield m.showPrevPage({ animated: Ee });
20430
20436
  });
20431
20437
  }
20432
20438
  function U(oe) {
20433
20439
  return X(this, null, function* () {
20434
- const Ie = qi(oe, "animated", !0);
20435
- yield m.showNextPage({ animated: Ie });
20440
+ const Ee = qi(oe, "animated", !0);
20441
+ yield m.showNextPage({ animated: Ee });
20436
20442
  });
20437
20443
  }
20438
20444
  let Y = 0, J, re;
@@ -20443,7 +20449,7 @@ function Ky(i, t, e) {
20443
20449
  }), m.offsetPage({ animated: !1 });
20444
20450
  });
20445
20451
  function Ae() {
20446
- const { clonesToAppend: oe, clonesToPrepend: Ie } = D1({
20452
+ const { clonesToAppend: oe, clonesToPrepend: Ee } = D1({
20447
20453
  clonesCountHead: h.clonesCountHead,
20448
20454
  clonesCountTail: h.clonesCountTail,
20449
20455
  particlesContainerChildren: re.children
@@ -20451,7 +20457,7 @@ function Ky(i, t, e) {
20451
20457
  S1({
20452
20458
  particlesContainer: re,
20453
20459
  clonesToAppend: oe,
20454
- clonesToPrepend: Ie
20460
+ clonesToPrepend: Ee
20455
20461
  });
20456
20462
  }
20457
20463
  Mt(() => {
@@ -20510,14 +20516,14 @@ function Ky(i, t, e) {
20510
20516
  }
20511
20517
  const Ke = (oe) => we(oe.detail);
20512
20518
  return i.$$set = (oe) => {
20513
- "timingFunction" in oe && e(0, A = oe.timingFunction), "arrows" in oe && e(1, b = oe.arrows), "infinite" in oe && e(2, y = oe.infinite), "initialPageIndex" in oe && e(24, P = oe.initialPageIndex), "duration" in oe && e(25, k = oe.duration), "autoplay" in oe && e(26, D = oe.autoplay), "autoplayDuration" in oe && e(27, I = oe.autoplayDuration), "autoplayDirection" in oe && e(28, T = oe.autoplayDirection), "pauseOnFocus" in oe && e(29, S = oe.pauseOnFocus), "autoplayProgressVisible" in oe && e(3, F = oe.autoplayProgressVisible), "dots" in oe && e(4, q = oe.dots), "swiping" in oe && e(30, Q = oe.swiping), "particlesToShow" in oe && e(31, R = oe.particlesToShow), "particlesToScroll" in oe && e(32, H = oe.particlesToScroll), "$$scope" in oe && e(36, o = oe.$$scope);
20519
+ "timingFunction" in oe && e(0, A = oe.timingFunction), "arrows" in oe && e(1, b = oe.arrows), "infinite" in oe && e(2, y = oe.infinite), "initialPageIndex" in oe && e(24, P = oe.initialPageIndex), "duration" in oe && e(25, k = oe.duration), "autoplay" in oe && e(26, D = oe.autoplay), "autoplayDuration" in oe && e(27, E = oe.autoplayDuration), "autoplayDirection" in oe && e(28, T = oe.autoplayDirection), "pauseOnFocus" in oe && e(29, S = oe.pauseOnFocus), "autoplayProgressVisible" in oe && e(3, F = oe.autoplayProgressVisible), "dots" in oe && e(4, q = oe.dots), "swiping" in oe && e(30, Q = oe.swiping), "particlesToShow" in oe && e(31, R = oe.particlesToShow), "particlesToScroll" in oe && e(32, H = oe.particlesToScroll), "$$scope" in oe && e(36, o = oe.$$scope);
20514
20520
  }, i.$$.update = () => {
20515
20521
  i.$$.dirty[0] & /*currentPageIndex*/
20516
20522
  32 && v("pageChange", r), i.$$.dirty[0] & /*infinite*/
20517
20523
  4 && (h.infinite = y), i.$$.dirty[0] & /*duration*/
20518
20524
  33554432 && (h.durationMsInit = k), i.$$.dirty[0] & /*autoplay*/
20519
20525
  67108864 && (h.autoplay = D), i.$$.dirty[0] & /*autoplayDuration*/
20520
- 134217728 && (h.autoplayDuration = I), i.$$.dirty[0] & /*autoplayDirection*/
20526
+ 134217728 && (h.autoplayDuration = E), i.$$.dirty[0] & /*autoplayDirection*/
20521
20527
  268435456 && (h.autoplayDirection = T), i.$$.dirty[0] & /*pauseOnFocus*/
20522
20528
  536870912 && (h.pauseOnFocus = S), i.$$.dirty[1] & /*particlesToShow*/
20523
20529
  1 && (h.particlesToShowInit = R), i.$$.dirty[1] & /*particlesToScroll*/
@@ -20550,7 +20556,7 @@ function Ky(i, t, e) {
20550
20556
  P,
20551
20557
  k,
20552
20558
  D,
20553
- I,
20559
+ E,
20554
20560
  T,
20555
20561
  S,
20556
20562
  Q,
@@ -20860,7 +20866,7 @@ function sw(i) {
20860
20866
  );
20861
20867
  return {
20862
20868
  c() {
20863
- e && e.c(), t = Ee();
20869
+ e && e.c(), t = Ie();
20864
20870
  },
20865
20871
  m(n, o) {
20866
20872
  e && e.m(n, o), V(n, t, o);
@@ -20910,7 +20916,7 @@ function rw(i, t, e) {
20910
20916
  tag: r,
20911
20917
  mediaInstance: n
20912
20918
  });
20913
- }, I = (Q) => {
20919
+ }, E = (Q) => {
20914
20920
  e(10, m = !0), e(0, s.paused = !0, s), b.emit("playStateChange", {
20915
20921
  event: Q,
20916
20922
  state: "paused",
@@ -20958,7 +20964,7 @@ function rw(i, t, e) {
20958
20964
  P,
20959
20965
  k,
20960
20966
  D,
20961
- I,
20967
+ E,
20962
20968
  T,
20963
20969
  S,
20964
20970
  F,
@@ -21278,7 +21284,7 @@ function dw(i) {
21278
21284
  c() {
21279
21285
  for (let r = 0; r < o.length; r += 1)
21280
21286
  o[r].c();
21281
- t = Ee();
21287
+ t = Ie();
21282
21288
  },
21283
21289
  m(r, a) {
21284
21290
  for (let l = 0; l < o.length; l += 1)
@@ -21325,7 +21331,7 @@ function hw(i) {
21325
21331
  );
21326
21332
  return {
21327
21333
  c() {
21328
- n && n.c(), t = Ee();
21334
+ n && n.c(), t = Ie();
21329
21335
  },
21330
21336
  m(o, s) {
21331
21337
  n && n.m(o, s), V(o, t, s), e = !0;
@@ -21351,7 +21357,7 @@ function hw(i) {
21351
21357
  function uw(i, t, e) {
21352
21358
  let n, o, s, r, { tag: a } = t, { mediaData: l } = t, { inDelay: c = 0 } = t, { outDelay: d = 0 } = t, { duration: h = 0 } = t, { unfolded: u = !0 } = t, { animation: m = !0 } = t, { mediaItemConfig: g } = t, { enableCarousel: v = !0 } = t, { autoplayConfig: A = {} } = t;
21353
21359
  const { autoplayVideo: b = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: P = !1 } = A;
21354
- let k = [], D = 0, I, T = null;
21360
+ let k = [], D = 0, E, T = null;
21355
21361
  const S = an("hooks"), F = an("mediaStore");
21356
21362
  function q() {
21357
21363
  const G = k[D], U = G == null ? void 0 : G.videoInstance;
@@ -21363,7 +21369,7 @@ function uw(i, t, e) {
21363
21369
  (J = (Y = (U = a.tag3DContentSvelte) == null ? void 0 : U.css3DInstance) == null ? void 0 : Y.css3DObject) != null && J.opacityMesh && G.tag.id === a.id && q();
21364
21370
  }), T = setInterval(
21365
21371
  () => {
21366
- r && (I == null || I.goToNext());
21372
+ r && (E == null || E.goToNext());
21367
21373
  },
21368
21374
  3e3
21369
21375
  );
@@ -21375,7 +21381,7 @@ function uw(i, t, e) {
21375
21381
  }
21376
21382
  function R(G) {
21377
21383
  Ze[G ? "unshift" : "push"](() => {
21378
- I = G, e(12, I);
21384
+ E = G, e(12, E);
21379
21385
  });
21380
21386
  }
21381
21387
  const H = (G) => {
@@ -21405,7 +21411,7 @@ function uw(i, t, e) {
21405
21411
  n,
21406
21412
  s,
21407
21413
  D,
21408
- I,
21414
+ E,
21409
21415
  o,
21410
21416
  F,
21411
21417
  v,
@@ -21476,7 +21482,7 @@ function Uc(i) {
21476
21482
  );
21477
21483
  return {
21478
21484
  c() {
21479
- ne(t.$$.fragment), e = se(), n = _("div"), ne(o.$$.fragment), s = se(), c && c.c(), r = se(), d && d.c(), a = Ee(), w(n, "class", "line svelte-1f7m1lj");
21485
+ ne(t.$$.fragment), e = se(), n = _("div"), ne(o.$$.fragment), s = se(), c && c.c(), r = se(), d && d.c(), a = Ie(), w(n, "class", "line svelte-1f7m1lj");
21480
21486
  },
21481
21487
  m(h, u) {
21482
21488
  ee(t, h, u), V(h, e, u), V(h, n, u), ee(o, n, null), V(h, s, u), c && c.m(h, u), V(h, r, u), d && d.m(h, u), V(h, a, u), l = !0;
@@ -21611,7 +21617,7 @@ function mw(i) {
21611
21617
  );
21612
21618
  return {
21613
21619
  c() {
21614
- n && n.c(), t = Ee();
21620
+ n && n.c(), t = Ie();
21615
21621
  },
21616
21622
  m(o, s) {
21617
21623
  n && n.m(o, s), V(o, t, s), e = !0;
@@ -21953,57 +21959,57 @@ function Aw(i) {
21953
21959
  i[8]
21954
21960
  );
21955
21961
  },
21956
- m(I, T) {
21957
- V(I, t, T), ee(e, t, null), O(t, n), O(t, o), O(t, s), O(t, r), b && b.m(r, null), O(r, a), O(r, l), O(l, c), O(c, d), O(d, u), O(r, m), y && y.m(r, null), O(r, g), P && P.m(r, null), A = !0;
21962
+ m(E, T) {
21963
+ V(E, t, T), ee(e, t, null), O(t, n), O(t, o), O(t, s), O(t, r), b && b.m(r, null), O(r, a), O(r, l), O(l, c), O(c, d), O(d, u), O(r, m), y && y.m(r, null), O(r, g), P && P.m(r, null), A = !0;
21958
21964
  },
21959
- p(I, [T]) {
21965
+ p(E, [T]) {
21960
21966
  var F, q;
21961
21967
  const S = {};
21962
21968
  T & /*unfolded*/
21963
21969
  16 && (S.visible = /*unfolded*/
21964
- I[4]), e.$set(S), T & /*unfolded*/
21970
+ E[4]), e.$set(S), T & /*unfolded*/
21965
21971
  16 && z(
21966
21972
  o,
21967
21973
  "transition-delay",
21968
21974
  /*unfolded*/
21969
- I[4] ? Ro + "ms" : Qo + ld - ad - 40 + "ms"
21975
+ E[4] ? Ro + "ms" : Qo + ld - ad - 40 + "ms"
21970
21976
  ), /*data*/
21971
- I[3].headerPictureUrl ? b ? b.p(I, T) : (b = $c(I), b.c(), b.m(r, a)) : b && (b.d(1), b = null), (!A || T & /*data*/
21977
+ E[3].headerPictureUrl ? b ? b.p(E, T) : (b = $c(E), b.c(), b.m(r, a)) : b && (b.d(1), b = null), (!A || T & /*data*/
21972
21978
  8) && h !== (h = /*data*/
21973
- I[3].title + "") && Re(u, h), /*primaryTags*/
21974
- ((F = I[2].length) != null ? F : 0) + /*secondaryTags*/
21975
- ((q = I[5].length) != null ? q : 0) > 0 ? y ? y.p(I, T) : (y = ed(I), y.c(), y.m(r, g)) : y && (y.d(1), y = null), /*havePrice*/
21976
- I[7] || /*data*/
21977
- I[3].highlightText ? P ? P.p(I, T) : (P = id(I), P.c(), P.m(r, null)) : P && (P.d(1), P = null), T & /*unfolded*/
21979
+ E[3].title + "") && Re(u, h), /*primaryTags*/
21980
+ ((F = E[2].length) != null ? F : 0) + /*secondaryTags*/
21981
+ ((q = E[5].length) != null ? q : 0) > 0 ? y ? y.p(E, T) : (y = ed(E), y.c(), y.m(r, g)) : y && (y.d(1), y = null), /*havePrice*/
21982
+ E[7] || /*data*/
21983
+ E[3].highlightText ? P ? P.p(E, T) : (P = id(E), P.c(), P.m(r, null)) : P && (P.d(1), P = null), T & /*unfolded*/
21978
21984
  16 && z(
21979
21985
  r,
21980
21986
  "transition-delay",
21981
21987
  /*unfolded*/
21982
- I[4] ? Ro + Qo + "ms" : "0ms"
21988
+ E[4] ? Ro + Qo + "ms" : "0ms"
21983
21989
  ), (!A || T & /*theme*/
21984
21990
  64 && v !== (v = _e(`marketing ${/*theme*/
21985
- I[6]}`) + " svelte-sezqcq")) && w(t, "class", v), (!A || T & /*theme, unfolded*/
21991
+ E[6]}`) + " svelte-sezqcq")) && w(t, "class", v), (!A || T & /*theme, unfolded*/
21986
21992
  80) && K(
21987
21993
  t,
21988
21994
  "unfolded",
21989
21995
  /*unfolded*/
21990
- I[4]
21996
+ E[4]
21991
21997
  ), (!A || T & /*theme, folded*/
21992
21998
  320) && K(
21993
21999
  t,
21994
22000
  "folded",
21995
22001
  /*folded*/
21996
- I[8]
22002
+ E[8]
21997
22003
  );
21998
22004
  },
21999
- i(I) {
22000
- A || (x(e.$$.fragment, I), A = !0);
22005
+ i(E) {
22006
+ A || (x(e.$$.fragment, E), A = !0);
22001
22007
  },
22002
- o(I) {
22003
- L(e.$$.fragment, I), A = !1;
22008
+ o(E) {
22009
+ L(e.$$.fragment, E), A = !1;
22004
22010
  },
22005
- d(I) {
22006
- I && j(t), te(e), b && b.d(), y && y.d(), P && P.d();
22011
+ d(E) {
22012
+ E && j(t), te(e), b && b.d(), y && y.d(), P && P.d();
22007
22013
  }
22008
22014
  };
22009
22015
  }
@@ -22076,7 +22082,7 @@ class ww extends Audio {
22076
22082
  var n, o, s;
22077
22083
  if (this.tryplaying)
22078
22084
  return;
22079
- this.tryplaying = !0, (!this.audioInstance || ((n = this.audioInstance) == null ? void 0 : n.realSrc) !== this.sharedAudioSrc) && (this.audioInstance = VA(this.sharedAudioSrc, { namespace: Ea.PlayAudio })), (o = this.eventListenerDisposer) == null || o.call(this), this.eventListenerDisposer = this.addEventListeners(), this.audioInstance.currentTime = (s = this.currentTime) != null ? s : 0;
22085
+ this.tryplaying = !0, (!this.audioInstance || ((n = this.audioInstance) == null ? void 0 : n.realSrc) !== this.sharedAudioSrc) && (this.audioInstance = VA(this.sharedAudioSrc, { namespace: Ia.PlayAudio })), (o = this.eventListenerDisposer) == null || o.call(this), this.eventListenerDisposer = this.addEventListeners(), this.audioInstance.currentTime = (s = this.currentTime) != null ? s : 0;
22080
22086
  const e = this.audioInstance.currentTime !== this.currentTime;
22081
22087
  this.audioInstance.play().then(() => {
22082
22088
  var r;
@@ -22214,7 +22220,7 @@ function Pw(i) {
22214
22220
  }
22215
22221
  };
22216
22222
  }
22217
- function Ew(i, t, e) {
22223
+ function Iw(i, t, e) {
22218
22224
  let { $$slots: n = {}, $$scope: o } = t, { url: s } = t, { enable: r = !0 } = t, { style: a = "" } = t, { hooksInfo: l } = t;
22219
22225
  const c = ms(), d = an("hooks"), h = an("mediaStore");
22220
22226
  let u, m = !0;
@@ -22298,7 +22304,7 @@ let hu = class extends ce {
22298
22304
  super(), le(
22299
22305
  this,
22300
22306
  t,
22301
- Ew,
22307
+ Iw,
22302
22308
  Pw,
22303
22309
  ae,
22304
22310
  {
@@ -22311,7 +22317,7 @@ let hu = class extends ce {
22311
22317
  );
22312
22318
  }
22313
22319
  };
22314
- function Iw(i) {
22320
+ function Ew(i) {
22315
22321
  fe(i, "svelte-srt2pi", ".audio-icon__wrapper.svelte-srt2pi.svelte-srt2pi{display:inline-block}.audio-icon.svelte-srt2pi.svelte-srt2pi{display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:100%;border-radius:50%;background-color:rgba(255, 255, 255, 0.8)}.audio-icon.svelte-srt2pi .sound-wave__container.svelte-srt2pi{position:absolute;pointer-events:none;width:60%;height:60%}.sound-wave.svelte-srt2pi.svelte-srt2pi{animation-duration:2s;animation-iteration-count:infinite;animation-play-state:paused;transition:opacity 0}.playing.svelte-srt2pi .sound-wave.svelte-srt2pi{animation-play-state:running}.playing.svelte-srt2pi .sound-wave-1.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_1_animation}.playing.svelte-srt2pi .sound-wave-2.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_2_animation}.playing.svelte-srt2pi .sound-wave-3.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_3_animation}@keyframes svelte-srt2pi-sound_wave_1_animation{0%,10%{opacity:0}25%,100%{opacity:1}}@keyframes svelte-srt2pi-sound_wave_2_animation{0%,35%{opacity:0}50%,100%{opacity:1}}@keyframes svelte-srt2pi-sound_wave_3_animation{0%,60%{opacity:0}75%,100%{opacity:1}}");
22316
22322
  }
22317
22323
  function cd(i) {
@@ -22460,7 +22466,7 @@ class uu extends ce {
22460
22466
  style: 2,
22461
22467
  width: 6
22462
22468
  },
22463
- Iw
22469
+ Ew
22464
22470
  );
22465
22471
  }
22466
22472
  }
@@ -22505,7 +22511,7 @@ function dd(i) {
22505
22511
  i[5]
22506
22512
  )
22507
22513
  }
22508
- }), h = new Ia({
22514
+ }), h = new Ea({
22509
22515
  props: {
22510
22516
  unfolded: (
22511
22517
  /*unfolded*/
@@ -22571,18 +22577,18 @@ function dd(i) {
22571
22577
  y[1]), P & /*content*/
22572
22578
  32 && (D.content = /*content*/
22573
22579
  y[5]), c.$set(D);
22574
- const I = {};
22580
+ const E = {};
22575
22581
  P & /*unfolded*/
22576
- 64 && (I.unfolded = /*unfolded*/
22582
+ 64 && (E.unfolded = /*unfolded*/
22577
22583
  y[6]), P & /*contentWidth*/
22578
- 8 && (I.length = /*contentWidth*/
22584
+ 8 && (E.length = /*contentWidth*/
22579
22585
  y[3]), P & /*foldTextDelay, content*/
22580
- 48 && (I.outDelay = /*foldTextDelay*/
22586
+ 48 && (E.outDelay = /*foldTextDelay*/
22581
22587
  y[4] + 20 * Math.min(
22582
22588
  /*content*/
22583
22589
  (S = (T = y[5]) == null ? void 0 : T.length) != null ? S : 10,
22584
22590
  15
22585
- )), h.$set(I), (!u || P & /*unfolded*/
22591
+ )), h.$set(E), (!u || P & /*unfolded*/
22586
22592
  64) && K(
22587
22593
  t,
22588
22594
  "unfolded",
@@ -22665,7 +22671,7 @@ function hd(i) {
22665
22671
  },
22666
22672
  i(l) {
22667
22673
  a || (x(e.$$.fragment, l), x(o.$$.fragment, l), l && ot(() => {
22668
- a && (r && r.end(1), s = Sn(t, In, {
22674
+ a && (r && r.end(1), s = Sn(t, En, {
22669
22675
  duration: 1e3,
22670
22676
  delay: 0,
22671
22677
  easing: si
@@ -22674,7 +22680,7 @@ function hd(i) {
22674
22680
  },
22675
22681
  o(l) {
22676
22682
  var c, d;
22677
- L(e.$$.fragment, l), L(o.$$.fragment, l), s && s.invalidate(), l && (r = vi(t, In, {
22683
+ L(e.$$.fragment, l), L(o.$$.fragment, l), s && s.invalidate(), l && (r = vi(t, En, {
22678
22684
  duration: 1e3,
22679
22685
  delay: 20 * Math.min(
22680
22686
  /*content*/
@@ -22725,7 +22731,7 @@ function Mw(i) {
22725
22731
  );
22726
22732
  return {
22727
22733
  c() {
22728
- n && n.c(), t = Ee();
22734
+ n && n.c(), t = Ie();
22729
22735
  },
22730
22736
  m(o, s) {
22731
22737
  n && n.m(o, s), V(o, t, s), e = !0;
@@ -22965,7 +22971,7 @@ function Vw(i) {
22965
22971
  );
22966
22972
  return {
22967
22973
  c() {
22968
- n && n.c(), t = Ee();
22974
+ n && n.c(), t = Ie();
22969
22975
  },
22970
22976
  m(o, s) {
22971
22977
  n && n.m(o, s), V(o, t, s), e = !0;
@@ -23122,7 +23128,7 @@ function Hw(i) {
23122
23128
  }
23123
23129
  return ~(t = a(i)) && (e = r[t] = s[t](i)), {
23124
23130
  c() {
23125
- e && e.c(), n = Ee();
23131
+ e && e.c(), n = Ie();
23126
23132
  },
23127
23133
  m(l, c) {
23128
23134
  ~t && r[t].m(l, c), V(l, n, c), o = !0;
@@ -23260,7 +23266,7 @@ function Fw(i) {
23260
23266
  );
23261
23267
  return {
23262
23268
  c() {
23263
- n && n.c(), t = Ee();
23269
+ n && n.c(), t = Ie();
23264
23270
  },
23265
23271
  m(o, s) {
23266
23272
  n && n.m(o, s), V(o, t, s), e = !0;
@@ -23452,7 +23458,7 @@ function Zw(i) {
23452
23458
  n
23453
23459
  ), {
23454
23460
  c() {
23455
- t = Ee(), n.block.c();
23461
+ t = Ie(), n.block.c();
23456
23462
  },
23457
23463
  m(o, s) {
23458
23464
  V(o, t, s), n.block.m(o, n.anchor = s), n.mount = () => t.parentNode, n.anchor = t;
@@ -23510,7 +23516,7 @@ function Kw(i) {
23510
23516
  n
23511
23517
  ), {
23512
23518
  c() {
23513
- t = Ee(), n.block.c();
23519
+ t = Ie(), n.block.c();
23514
23520
  },
23515
23521
  m(o, s) {
23516
23522
  V(o, t, s), n.block.m(o, n.anchor = s), n.mount = () => t.parentNode, n.anchor = t;
@@ -23714,7 +23720,7 @@ function sC(i) {
23714
23720
  );
23715
23721
  return {
23716
23722
  c() {
23717
- n && n.c(), t = Ee();
23723
+ n && n.c(), t = Ie();
23718
23724
  },
23719
23725
  m(o, s) {
23720
23726
  n && n.m(o, s), V(o, t, s), e = !0;
@@ -23924,7 +23930,7 @@ function bd(i) {
23924
23930
  ), n;
23925
23931
  return {
23926
23932
  c() {
23927
- t = new Yo(!1), n = Ee(), t.a = n;
23933
+ t = new Yo(!1), n = Ie(), t.a = n;
23928
23934
  },
23929
23935
  m(o, s) {
23930
23936
  t.m(e, o, s), V(o, n, s);
@@ -24017,7 +24023,7 @@ function gC(i) {
24017
24023
  function vC(i) {
24018
24024
  let t, e, n, o, s, r, a, l, c, d;
24019
24025
  const h = [
24020
- EC,
24026
+ IC,
24021
24027
  PC,
24022
24028
  CC,
24023
24029
  wC,
@@ -24410,7 +24416,7 @@ function PC(i) {
24410
24416
  }
24411
24417
  };
24412
24418
  }
24413
- function EC(i) {
24419
+ function IC(i) {
24414
24420
  let t, e;
24415
24421
  return t = new _b({
24416
24422
  props: { tag: Qe(
@@ -24443,7 +24449,7 @@ function EC(i) {
24443
24449
  }
24444
24450
  };
24445
24451
  }
24446
- function IC(i) {
24452
+ function EC(i) {
24447
24453
  let t, e, n, o;
24448
24454
  const s = [AC, vC, gC], r = [];
24449
24455
  function a(l, c) {
@@ -24457,7 +24463,7 @@ function IC(i) {
24457
24463
  }
24458
24464
  return t = a(i), e = r[t] = s[t](i), {
24459
24465
  c() {
24460
- e.c(), n = Ee();
24466
+ e.c(), n = Ie();
24461
24467
  },
24462
24468
  m(l, c) {
24463
24469
  r[t].m(l, c), V(l, n, c), o = !0;
@@ -24486,18 +24492,18 @@ function kC(i, t, e) {
24486
24492
  function b(D) {
24487
24493
  D ? h.emit("exposure", { id: r, type: "start" }) : h.emit("exposure", { id: r, type: "end" });
24488
24494
  }
24489
- function y(D, I, T) {
24495
+ function y(D, E, T) {
24490
24496
  var S, F;
24491
- return !(!I.visible || !I.enabled || !T.visible || !((S = D.state) != null && S.visible) || ((F = D.temporaryState) == null ? void 0 : F.visible) === !1 || pt(D) && !D.mediaVisible);
24497
+ return !(!E.visible || !E.enabled || !T.visible || !((S = D.state) != null && S.visible) || ((F = D.temporaryState) == null ? void 0 : F.visible) === !1 || pt(D) && !D.mediaVisible);
24492
24498
  }
24493
24499
  const P = (D) => h.emit("click", { event: D, target: "TagContent", tag: d }), k = (D) => h.emit("click", { event: D, target: "TagContent", tag: d });
24494
24500
  return i.$$set = (D) => {
24495
24501
  "withAnimation" in D && e(0, c = D.withAnimation), "tag" in D && e(1, d = D.tag), "hooks" in D && e(2, h = D.hooks), "state" in D && e(5, u = D.state), "mediaStore" in D && e(6, m = D.mediaStore), "temporaryState" in D && e(7, g = D.temporaryState);
24496
24502
  }, i.$$.update = () => {
24497
- var D, I, T, S, F, q, Q, R, H, B, G;
24503
+ var D, E, T, S, F, q, Q, R, H, B, G;
24498
24504
  i.$$.dirty & /*tag*/
24499
24505
  2 && e(11, n = (D = d.state) == null ? void 0 : D.unfolded), i.$$.dirty & /*tag*/
24500
- 2 && e(10, o = (I = d.state) == null ? void 0 : I.visible), i.$$.dirty & /*state, temporaryState, tag*/
24506
+ 2 && e(10, o = (E = d.state) == null ? void 0 : E.visible), i.$$.dirty & /*state, temporaryState, tag*/
24501
24507
  162 && e(12, s = u.visible && g.visible && ((T = d.state) == null ? void 0 : T.visible)), i.$$.dirty & /*tag*/
24502
24508
  2 && (r = d.id), i.$$.dirty & /*tag, state, temporaryState*/
24503
24509
  162 && e(4, a = !y(d, u, g)), i.$$.dirty & /*isVisible*/
@@ -24528,7 +24534,7 @@ let pu = class extends ce {
24528
24534
  this,
24529
24535
  t,
24530
24536
  kC,
24531
- IC,
24537
+ EC,
24532
24538
  ae,
24533
24539
  {
24534
24540
  withAnimation: 0,
@@ -24683,8 +24689,8 @@ function SC(i, t, e) {
24683
24689
  1 && e(3, o = !n), i.$$.dirty & /*tag*/
24684
24690
  64 && e(2, s = (b = (A = l.style) == null ? void 0 : A.point) != null && b.url ? (y = l.style) == null ? void 0 : y.point : { url: FA }), i.$$.dirty & /*tag*/
24685
24691
  64 && e(1, r = (() => {
24686
- var D, I, T, S;
24687
- const P = (I = (D = l.style) == null ? void 0 : D.point) == null ? void 0 : I.width;
24692
+ var D, E, T, S;
24693
+ const P = (E = (D = l.style) == null ? void 0 : D.point) == null ? void 0 : E.width;
24688
24694
  if (typeof P == "number")
24689
24695
  return P;
24690
24696
  const k = (S = (T = l.style) == null ? void 0 : T.point) == null ? void 0 : S.size;
@@ -24889,11 +24895,6 @@ function VC(i) {
24889
24895
  "top",
24890
24896
  /*top*/
24891
24897
  i[6]
24892
- ), z(
24893
- e,
24894
- "z-index",
24895
- /*zIndex*/
24896
- i[5]
24897
24898
  ), w(t, "class", "tag svelte-pzwdws"), w(
24898
24899
  t,
24899
24900
  "data-tag-id",
@@ -24919,6 +24920,11 @@ function VC(i) {
24919
24920
  "withAnimation",
24920
24921
  /*withAnimation*/
24921
24922
  i[0]
24923
+ ), z(
24924
+ t,
24925
+ "z-index",
24926
+ /*zIndex*/
24927
+ i[5]
24922
24928
  );
24923
24929
  },
24924
24930
  m(b, y) {
@@ -24964,12 +24970,6 @@ function VC(i) {
24964
24970
  "top",
24965
24971
  /*top*/
24966
24972
  b[6]
24967
- ), y & /*zIndex*/
24968
- 32 && z(
24969
- e,
24970
- "z-index",
24971
- /*zIndex*/
24972
- b[5]
24973
24973
  ), (!d || y & /*id*/
24974
24974
  2048) && w(
24975
24975
  t,
@@ -25000,6 +25000,12 @@ function VC(i) {
25000
25000
  "withAnimation",
25001
25001
  /*withAnimation*/
25002
25002
  b[0]
25003
+ ), y & /*zIndex*/
25004
+ 32 && z(
25005
+ t,
25006
+ "z-index",
25007
+ /*zIndex*/
25008
+ b[5]
25003
25009
  );
25004
25010
  },
25005
25011
  i(b) {
@@ -25019,20 +25025,20 @@ function OC(i, t, e) {
25019
25025
  return i.$$set = (y) => {
25020
25026
  "withAnimation" in y && e(0, u = y.withAnimation), "tag" in y && e(1, m = y.tag), "mediaStore" in y && e(2, g = y.mediaStore), "state" in y && e(3, v = y.state), "temporaryState" in y && e(4, A = y.temporaryState);
25021
25027
  }, i.$$.update = () => {
25022
- var y, P, k, D, I, T, S, F;
25028
+ var y, P, k, D, E, T, S, F, q;
25023
25029
  i.$$.dirty & /*tag*/
25024
25030
  2 && e(13, n = (() => {
25025
- var q, Q;
25026
- return !(((Q = (q = m.style) == null ? void 0 : q.point) == null ? void 0 : Q.enabled) === !1 || m.contentType === "Sticker" || m.contentType === "Link" || m.contentType === "VRLink" || m.contentType === "PanoLink" || m.contentType === "Audio" && m.data.appearance === "plane");
25031
+ var Q, R;
25032
+ return !(((R = (Q = m.style) == null ? void 0 : Q.point) == null ? void 0 : R.enabled) === !1 || m.contentType === "Sticker" || m.contentType === "Link" || m.contentType === "VRLink" || m.contentType === "PanoLink" || m.contentType === "Audio" && m.data.appearance === "plane");
25027
25033
  })()), i.$$.dirty & /*tag*/
25028
25034
  2 && e(12, o = (() => m.stickType === "2DPoint")()), i.$$.dirty & /*tag*/
25029
25035
  2 && e(11, s = m.id), i.$$.dirty & /*tag*/
25030
25036
  2 && e(10, r = !((y = m.pointTagStyle) != null && y.leftPercent) || !((P = m.pointTagStyle) != null && P.topPercent) || m.enabled === !1 || !m.state), i.$$.dirty & /*tag*/
25031
25037
  2 && e(9, a = !((k = m.state) != null && k.visible) || ((D = m.temporaryState) == null ? void 0 : D.visible) === !1), i.$$.dirty & /*tag*/
25032
- 2 && e(8, l = (I = m.state) == null ? void 0 : I.unfolded), i.$$.dirty & /*tag*/
25038
+ 2 && e(8, l = (E = m.state) == null ? void 0 : E.unfolded), i.$$.dirty & /*tag*/
25033
25039
  2 && e(7, c = ((T = m.pointTagStyle) == null ? void 0 : T.leftPercent) + "%"), i.$$.dirty & /*tag*/
25034
25040
  2 && e(6, d = ((S = m.pointTagStyle) == null ? void 0 : S.topPercent) + "%"), i.$$.dirty & /*tag*/
25035
- 2 && e(5, h = (F = m.state) != null && F.unfolded ? 1 : 0);
25041
+ 2 && e(5, h = (F = m.state) != null && F.unfolded ? 99999 : (q = m.zIndex) != null ? q : 0);
25036
25042
  }, [
25037
25043
  u,
25038
25044
  m,
@@ -25172,7 +25178,7 @@ function Cd(i, t) {
25172
25178
  key: i,
25173
25179
  first: null,
25174
25180
  c() {
25175
- e = Ee(), ne(n.$$.fragment), this.first = e;
25181
+ e = Ie(), ne(n.$$.fragment), this.first = e;
25176
25182
  },
25177
25183
  m(s, r) {
25178
25184
  V(s, e, r), ee(n, s, r), o = !0;
@@ -25210,7 +25216,7 @@ function QC(i) {
25210
25216
  );
25211
25217
  return {
25212
25218
  c() {
25213
- n && n.c(), t = Ee();
25219
+ n && n.c(), t = Ie();
25214
25220
  },
25215
25221
  m(o, s) {
25216
25222
  n && n.m(o, s), V(o, t, s), e = !0;
@@ -25485,8 +25491,8 @@ class YC extends JA {
25485
25491
  */
25486
25492
  updateRenderPointTag() {
25487
25493
  var n;
25488
- const e = this.sort(this.filterPointTag);
25489
- if (this.setPointTagPosition(), this.TagContainerSvelte)
25494
+ const e = this.filterPointTag;
25495
+ if (this.setTagZIndex(e), this.setPointTagPosition(), this.TagContainerSvelte)
25490
25496
  this.TagContainerSvelte.$set({ tags: e, state: this.state, temporaryState: this.temporaryState });
25491
25497
  else {
25492
25498
  const o = (n = this.five.getElement()) == null ? void 0 : n.parentElement;
@@ -25532,7 +25538,7 @@ class YC extends JA {
25532
25538
  }
25533
25539
  }
25534
25540
  }
25535
- const gu = "Dnalogel-PanoTagPlugin", sI = (i) => `${gu}--${i}`;
25541
+ const gu = "Dnalogel-PanoTagPlugin", sE = (i) => `${gu}--${i}`;
25536
25542
  class ia extends YC {
25537
25543
  constructor(e, n) {
25538
25544
  super(e);
@@ -25560,7 +25566,7 @@ class ia extends YC {
25560
25566
  typeof n == "object" && ((o = n.visibleFiveMode) != null && o.includes("Floorplan") || (s = n.visibleFiveMode) != null && s.includes("Mapview")) && (e.state.visible = this.getVisibleByFiveMode(e));
25561
25567
  }), this.updateRenderAllTags();
25562
25568
  });
25563
- this.params = Xe({}, { debug: !1, config: this.config }, W({}, n)), this.debug = this.params.debug, this.config = this.params.config, OA(1, { namespace: Ea.PlayAudio });
25569
+ this.params = Xe({}, { debug: !1, config: this.config }, W({}, n)), this.debug = this.params.debug, this.config = this.params.config, OA(1, { namespace: Ia.PlayAudio });
25564
25570
  try {
25565
25571
  const o = window;
25566
25572
  Array.isArray(o.__PANOTAGPLUGIN_DEBUG_LIST__) || (o.__PANOTAGPLUGIN_DEBUG_LIST__ = []), o.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), o.__PANOTAGPLUGIN_DEBUG__ = this;
@@ -25573,14 +25579,14 @@ class ia extends YC {
25573
25579
  load(e, n) {
25574
25580
  return X(this, null, function* () {
25575
25581
  var s, r;
25576
- this.clearTags(), console.info(gu, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = Xe({}, this.config, {
25582
+ this.clearTags(), console.debug(gu, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = Xe({}, this.config, {
25577
25583
  globalConfig: (s = e.globalConfig) != null ? s : {},
25578
25584
  contentTypeConfig: (r = e.contentTypeConfig) != null ? r : {}
25579
25585
  });
25580
25586
  const o = yield this.addTag(e.tagList, n);
25581
25587
  if (this.debug)
25582
25588
  try {
25583
- IA(this.five, this.tags);
25589
+ EA(this.five, this.tags);
25584
25590
  } catch (a) {
25585
25591
  console.error(a);
25586
25592
  }
@@ -25859,7 +25865,7 @@ class ia extends YC {
25859
25865
  return (a = (r = s.config) == null ? void 0 : r.modelConfig) == null ? void 0 : a.autoLookAtEnabled;
25860
25866
  }).forEach((s) => {
25861
25867
  var u;
25862
- const r = new E.Mesh(new E.BoxGeometry(), new E.MeshBasicMaterial()), a = (u = s.model) == null ? void 0 : u.object;
25868
+ const r = new I.Mesh(new I.BoxGeometry(), new I.MeshBasicMaterial()), a = (u = s.model) == null ? void 0 : u.object;
25863
25869
  if (!a)
25864
25870
  return;
25865
25871
  r.position.copy(a.position), r.quaternion.copy(a.quaternion);
@@ -25888,7 +25894,7 @@ class ia extends YC {
25888
25894
  }
25889
25895
  }
25890
25896
  var UC = /* @__PURE__ */ ((i) => (i.Audio = "Audio", i.Text = "Text", i.ImageText = "ImageText", i.Image = "Image", i.Video = "Video", i.Link = "Link", i.Sticker = "Sticker", i.VRLink = "VRLink", i.PanoLink = "PanoLink", i.Marketing = "Marketing", i.MediaPlane = "MediaPlane", i.MediaModel = "MediaModel", i.Model = "Model", i.Custom = "Custom", i.Unknown = "Unknown", i))(UC || {}), qC = /* @__PURE__ */ ((i) => (i.Two = "2D", i.Three = "3D", i))(qC || {});
25891
- const rI = (i, t) => new ia(i, t);
25897
+ const rE = (i, t) => new ia(i, t);
25892
25898
  function JC(i) {
25893
25899
  fe(i, "svelte-m8w0ju", ".guide-line__tag.svelte-m8w0ju{position:relative}.guide-line__tag-point.svelte-m8w0ju{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-m8w0ju{position:absolute;left:50%;bottom:0.0625rem;width:0.0625rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-m8w0ju{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex}.guide-line__tag-icon.svelte-m8w0ju{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-m8w0ju{box-sizing:content-box;height:0.875rem;width:-moz-max-content;width:max-content;margin-top:0.3125rem;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-source:url('https://vrlab-static.ljcdn.com/release/web/jsl/test2.2ea9ddee.png');border-image-slice:6 25 6 18 fill;color:#fff}");
25894
25900
  }
@@ -26132,18 +26138,18 @@ class oa {
26132
26138
  f(this, "logError", (t) => Hh("GuideLineModeItem: ", t));
26133
26139
  var s, r;
26134
26140
  this.five = t, this.mode = e.mode, this.plugin = e.plugin, this.parent = e.parent, this.startTagContainer = { tag: null, plugin: new ia(this.five) }, this.endTagContainer = { tag: null, plugin: new ia(this.five) };
26135
- const n = new E.BufferGeometry(), o = new E.ShaderMaterial({
26141
+ const n = new I.BufferGeometry(), o = new I.ShaderMaterial({
26136
26142
  vertexShader: tP,
26137
26143
  fragmentShader: nP,
26138
26144
  transparent: !0,
26139
26145
  uniforms: {
26140
26146
  map: { value: null },
26141
26147
  useMapColor: { value: 0 },
26142
- mapColor: { value: new E.Color() },
26148
+ mapColor: { value: new I.Color() },
26143
26149
  mapOpacity: { value: 1 },
26144
- backgroundColor: { value: new E.Color() },
26150
+ backgroundColor: { value: new I.Color() },
26145
26151
  backgroundOpacity: { value: 0 },
26146
- borderColor: { value: new E.Color() },
26152
+ borderColor: { value: new I.Color() },
26147
26153
  borderOpacity: { value: 0 },
26148
26154
  opacity: { value: 1 },
26149
26155
  flicker: { value: 1 },
@@ -26151,7 +26157,7 @@ class oa {
26151
26157
  vOffset: { value: 0 }
26152
26158
  }
26153
26159
  });
26154
- this.mesh = new E.Mesh(n, o), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((r = (s = this.five.model) == null ? void 0 : s.shownFloor) != null ? r : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange);
26160
+ this.mesh = new I.Mesh(n, o), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((r = (s = this.five.model) == null ? void 0 : s.shownFloor) != null ? r : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange);
26155
26161
  }
26156
26162
  get panoGroup() {
26157
26163
  return this._panoGroup;
@@ -26224,13 +26230,13 @@ class oa {
26224
26230
  setColor(t) {
26225
26231
  if (this.disposed)
26226
26232
  return this.logError("disposed");
26227
- t && (this.mesh.material.uniforms.mapColor.value = new E.Color().set(t)), this.mesh.material.uniforms.useMapColor.value = t ? 1 : 0, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
26233
+ t && (this.mesh.material.uniforms.mapColor.value = new I.Color().set(t)), this.mesh.material.uniforms.useMapColor.value = t ? 1 : 0, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
26228
26234
  }
26229
26235
  /** 设置边框 */
26230
26236
  setBorderColor(t) {
26231
26237
  if (this.disposed)
26232
26238
  return this.logError("disposed");
26233
- this.mesh.material.uniforms.borderColor.value = new E.Color().set(t), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
26239
+ this.mesh.material.uniforms.borderColor.value = new I.Color().set(t), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
26234
26240
  }
26235
26241
  /** 设置边框透明度 */
26236
26242
  setBorderOpacity(t) {
@@ -26242,7 +26248,7 @@ class oa {
26242
26248
  setBackgroundColor(t) {
26243
26249
  if (this.disposed)
26244
26250
  return this.logError("disposed");
26245
- this.mesh.material.uniforms.backgroundColor.value = new E.Color().set(t), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
26251
+ this.mesh.material.uniforms.backgroundColor.value = new I.Color().set(t), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
26246
26252
  }
26247
26253
  /** 设置背景透明度 */
26248
26254
  setBackgroundOpacity(t) {
@@ -26267,7 +26273,7 @@ class oa {
26267
26273
  if (this.disposed)
26268
26274
  return this.logError("disposed");
26269
26275
  this.textureUrl = t, to(t).then((e) => {
26270
- this.disposed || this.textureUrl === t && (e.wrapT = E.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
26276
+ this.disposed || this.textureUrl === t && (e.wrapT = I.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
26271
26277
  });
26272
26278
  }
26273
26279
  setVisibleFloorIndexes(t) {
@@ -26322,13 +26328,13 @@ class oa {
26322
26328
  function Mr(i) {
26323
26329
  return i.contentType === "Custom";
26324
26330
  }
26325
- const aI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26331
+ const aE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26326
26332
  __proto__: null,
26327
26333
  GuideLineModeItem: oa
26328
26334
  }, Symbol.toStringTag, { value: "Module" }));
26329
- function Ed(i) {
26335
+ function Id(i) {
26330
26336
  const t = Math.abs(Math.cos(i.latitude));
26331
- return new E.Vector3(
26337
+ return new I.Vector3(
26332
26338
  /* x */
26333
26339
  -Math.sin(i.longitude) * t,
26334
26340
  /* y */
@@ -26338,7 +26344,7 @@ function Ed(i) {
26338
26344
  );
26339
26345
  }
26340
26346
  function iP(i, t) {
26341
- const e = Ed(i), n = Ed(t);
26347
+ const e = Id(i), n = Id(t);
26342
26348
  return e.angleTo(n);
26343
26349
  }
26344
26350
  const oP = (i) => X(void 0, null, function* () {
@@ -26370,14 +26376,14 @@ function lP(i) {
26370
26376
  }, i);
26371
26377
  });
26372
26378
  }
26373
- const vu = "v1.0.6", Au = "CruisePlugin", Es = `${Au}@${vu}`, Id = () => {
26374
- console.error(`${Es} is disposed`);
26379
+ const vu = "v1.0.6", Au = "CruisePlugin", Is = `${Au}@${vu}`, Ed = () => {
26380
+ console.error(`${Is} is disposed`);
26375
26381
  }, cP = () => {
26376
- console.warn(`${Es} is disabled`);
26382
+ console.warn(`${Is} is disabled`);
26377
26383
  }, dP = () => {
26378
- console.error(`${Es} is disabled`);
26384
+ console.error(`${Is} is disabled`);
26379
26385
  }, Lr = /* @__PURE__ */ new Map();
26380
- class Is extends Mn {
26386
+ class Es extends Mn {
26381
26387
  constructor(e, n) {
26382
26388
  super(e, n);
26383
26389
  f(this, "state", {
@@ -26419,7 +26425,7 @@ class Is extends Mn {
26419
26425
  return X(this, null, function* () {
26420
26426
  var d, h, u, m, g, v;
26421
26427
  if (this.state.disposed)
26422
- return Id();
26428
+ return Ed();
26423
26429
  this.privateState.fiveOriginGetProgress || (h = (d = this.five.controller) == null ? void 0 : d.cameraMotion) != null && h.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (m = (u = this.five.controller) == null ? void 0 : u.cameraMotion) == null ? void 0 : m.getProgress), this.clear();
26424
26430
  const s = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
26425
26431
  this.data = r, this.hooks.emit("dataChange", r, s);
@@ -26440,7 +26446,7 @@ class Is extends Mn {
26440
26446
  const k = a.length;
26441
26447
  a[k] = [A];
26442
26448
  }
26443
- }), !this.GuideLine && ((g = this.config) == null ? void 0 : g.useGuideLine) !== !1 && r.useGuildLine !== !1 && (this.GuideLine = fP(this.five, this.config)), (v = this.GuideLine) == null || v.load({ routes: a.map((A) => ({ panoIndexList: A })), config: r.guildPluginOptions }), this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed), n && this.setState(n, { userAction: o }), console.info(`${Es} loaded`, r), this.hooks.emit("dataLoaded", r);
26449
+ }), !this.GuideLine && ((g = this.config) == null ? void 0 : g.useGuideLine) !== !1 && r.useGuildLine !== !1 && (this.GuideLine = fP(this.five, this.config)), (v = this.GuideLine) == null || v.load({ routes: a.map((A) => ({ panoIndexList: A })), config: r.guildPluginOptions }), this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed), n && this.setState(n, { userAction: o }), console.info(`${Is} loaded`, r), this.hooks.emit("dataLoaded", r);
26444
26450
  });
26445
26451
  }
26446
26452
  /**
@@ -26510,7 +26516,7 @@ class Is extends Mn {
26510
26516
  setState(e, n) {
26511
26517
  var s;
26512
26518
  if (this.state.disposed)
26513
- return Id();
26519
+ return Ed();
26514
26520
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
26515
26521
  return dP();
26516
26522
  const o = W({}, this.state);
@@ -26547,7 +26553,7 @@ class Is extends Mn {
26547
26553
  const m = (A = n[c]) == null ? void 0 : A.position, g = (b = n[u]) == null ? void 0 : b.position;
26548
26554
  if (!g || !m || ((y = n[c]) == null ? void 0 : y.floorIndex) !== ((P = n[u]) == null ? void 0 : P.floorIndex))
26549
26555
  return;
26550
- const v = new E.Vector3().subVectors(g, m);
26556
+ const v = new I.Vector3().subVectors(g, m);
26551
26557
  return rP(v.normalize());
26552
26558
  })();
26553
26559
  o.moveType === void 0 || o.moveType === "justMove" ? s.push({
@@ -26922,10 +26928,10 @@ class Is extends Mn {
26922
26928
  this.privateState.fiveOriginGetProgress && (this.five.controller.cameraMotion.getProgress = this.privateState.fiveOriginGetProgress);
26923
26929
  }
26924
26930
  }
26925
- f(Is, "PluginVersion", vu);
26926
- const lI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26931
+ f(Es, "PluginVersion", vu);
26932
+ const lE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26927
26933
  __proto__: null
26928
- }, Symbol.toStringTag, { value: "Module" })), cI = (i) => new Is(i);
26934
+ }, Symbol.toStringTag, { value: "Module" })), cE = (i) => new Es(i);
26929
26935
  class bu {
26930
26936
  constructor(t) {
26931
26937
  f(this, "id");
@@ -26986,7 +26992,7 @@ function hP(i, t) {
26986
26992
  return;
26987
26993
  const e = i.getCurrentState();
26988
26994
  e.mode !== "Panorama" && (yield ya(i, ["Panorama", { longitude: e.longitude, latitude: 0, panoIndex: t.panoIndexList[0] }]));
26989
- const n = new Is(i, { useGuideLine: !1 });
26995
+ const n = new Es(i, { useGuideLine: !1 });
26990
26996
  yield n.load(t), yield new Promise((o, s) => {
26991
26997
  const r = i.getCurrentState();
26992
26998
  let a = t.panoIndexList.slice();
@@ -27015,7 +27021,7 @@ function hP(i, t) {
27015
27021
  });
27016
27022
  });
27017
27023
  }
27018
- const dI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27024
+ const dE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27019
27025
  __proto__: null,
27020
27026
  GuideLineItem: bu
27021
27027
  }, Symbol.toStringTag, { value: "Module" })), yu = "v1.1.0", sa = "GuideLinePlugin", kd = `${sa}@${yu}`;
@@ -27038,7 +27044,7 @@ class uP extends Mn {
27038
27044
  f(this, "disposedErrorLog", () => {
27039
27045
  console.error(`${kd} is disposed`);
27040
27046
  });
27041
- this.cruisePlugin = new Is(e, { useGuideLine: !1 }), Object.assign(window, { [`__${sa}_DEBUG__`]: this });
27047
+ this.cruisePlugin = new Es(e, { useGuideLine: !1 }), Object.assign(window, { [`__${sa}_DEBUG__`]: this });
27042
27048
  }
27043
27049
  get disposed() {
27044
27050
  return this._disposed;
@@ -27124,7 +27130,7 @@ class uP extends Mn {
27124
27130
  return Array.isArray(r) && r.every((a) => typeof a == "number");
27125
27131
  }
27126
27132
  function o(r, a) {
27127
- return new E.Vector3().fromArray(r).distanceTo(new E.Vector3().fromArray(a)) < 0.01;
27133
+ return new I.Vector3().fromArray(r).distanceTo(new I.Vector3().fromArray(a)) < 0.01;
27128
27134
  }
27129
27135
  function s(r) {
27130
27136
  var l;
@@ -27176,7 +27182,7 @@ class uP extends Mn {
27176
27182
  const fP = (i, t) => new uP(i, t);
27177
27183
  function wu(i, t, e) {
27178
27184
  if (e) {
27179
- const o = new E.Vector3().subVectors(i.position, e).applyQuaternion(i.quaternion.clone().inverse()).applyQuaternion(t).add(e);
27185
+ const o = new I.Vector3().subVectors(i.position, e).applyQuaternion(i.quaternion.clone().inverse()).applyQuaternion(t).add(e);
27180
27186
  i.position.copy(o);
27181
27187
  }
27182
27188
  i.quaternion.copy(t);
@@ -27265,14 +27271,14 @@ class Cu extends ks {
27265
27271
  }
27266
27272
  class AP extends Cu {
27267
27273
  }
27268
- class bP extends E.Group {
27274
+ class bP extends I.Group {
27269
27275
  constructor(e) {
27270
27276
  super();
27271
27277
  f(this, "direction");
27272
27278
  this.direction = e || "x";
27273
27279
  }
27274
27280
  }
27275
- class xd extends E.Mesh {
27281
+ class xd extends I.Mesh {
27276
27282
  constructor(e, n, o) {
27277
27283
  super(e, n);
27278
27284
  f(this, "direction");
@@ -27281,7 +27287,7 @@ class xd extends E.Mesh {
27281
27287
  }
27282
27288
  function yP(i, t) {
27283
27289
  const { offsetWidth: e, offsetHeight: n } = t, { top: o, left: s } = t.getBoundingClientRect();
27284
- return Object.assign(new E.Vector2(), {
27290
+ return Object.assign(new I.Vector2(), {
27285
27291
  x: (i.x - s) / e * 2 - 1,
27286
27292
  y: -(i.y - o) / n * 2 + 1
27287
27293
  });
@@ -27292,7 +27298,7 @@ function za(i, t, e) {
27292
27298
  const n = yP(t, e);
27293
27299
  if (Math.abs(n.x) === 1 || Math.abs(n.y) === 1)
27294
27300
  return;
27295
- const o = new E.Raycaster();
27301
+ const o = new I.Raycaster();
27296
27302
  return o.setFromCamera(n, i), o;
27297
27303
  }
27298
27304
  function wP(i, t) {
@@ -27307,15 +27313,15 @@ class Tr extends bP {
27307
27313
  f(this, "lineHeight", 0.4);
27308
27314
  f(this, "arrowHeight", 0.1);
27309
27315
  this.name = "ArrowGroup";
27310
- const n = new E.Color((d = e.color) != null ? d : 16214315), o = new E.MeshBasicMaterial({
27316
+ const n = new I.Color((d = e.color) != null ? d : 16214315), o = new I.MeshBasicMaterial({
27311
27317
  color: n,
27312
27318
  depthTest: !1,
27313
27319
  opacity: 1,
27314
27320
  transparent: !0,
27315
- side: E.DoubleSide
27316
- }), s = new E.ConeGeometry(0.04, 0.1, 32), r = new xd(s, o.clone(), e.direction);
27321
+ side: I.DoubleSide
27322
+ }), s = new I.ConeGeometry(0.04, 0.1, 32), r = new xd(s, o.clone(), e.direction);
27317
27323
  r.name = `arrow-${e.direction}`, this.arrow = r;
27318
- const a = 4e-3, l = new E.CylinderGeometry(a, a, 0.4, 32), c = new xd(l, o.clone(), e.direction);
27324
+ const a = 4e-3, l = new I.CylinderGeometry(a, a, 0.4, 32), c = new xd(l, o.clone(), e.direction);
27319
27325
  c.name = `line-${e.direction}`, this.line = c, this.formatArrow(), this.formatLine(), this.add(this.arrow, this.line);
27320
27326
  }
27321
27327
  formatArrow() {
@@ -27332,13 +27338,13 @@ const zr = {
27332
27338
  };
27333
27339
  class ni {
27334
27340
  static get X() {
27335
- return new E.Color(zr.X).convertSRGBToLinear().clone();
27341
+ return new I.Color(zr.X).convertSRGBToLinear().clone();
27336
27342
  }
27337
27343
  static get Y() {
27338
- return new E.Color(zr.Y).convertSRGBToLinear().clone();
27344
+ return new I.Color(zr.Y).convertSRGBToLinear().clone();
27339
27345
  }
27340
27346
  static get Z() {
27341
- return new E.Color(zr.Z).convertSRGBToLinear().clone();
27347
+ return new I.Color(zr.Z).convertSRGBToLinear().clone();
27342
27348
  }
27343
27349
  }
27344
27350
  class CP extends pP {
@@ -27359,7 +27365,7 @@ class CP extends pP {
27359
27365
  this.remove(this.xArrow, this.yArrow, this.zArrow);
27360
27366
  }
27361
27367
  }
27362
- function En(i, t) {
27368
+ function In(i, t) {
27363
27369
  return PP(document.createElement(t != null ? t : "div"), i);
27364
27370
  }
27365
27371
  function PP(i, t) {
@@ -27369,8 +27375,8 @@ function PP(i, t) {
27369
27375
  e && t[e] && (i.style[e] = t[e]);
27370
27376
  return i;
27371
27377
  }
27372
- function EP(i) {
27373
- const t = En(W({
27378
+ function IP(i) {
27379
+ const t = In(W({
27374
27380
  position: "absolute",
27375
27381
  display: "block",
27376
27382
  borderRadius: "4px",
@@ -27395,7 +27401,7 @@ function EP(i) {
27395
27401
  t.style.left = s, t.style.top = r, e();
27396
27402
  } };
27397
27403
  }
27398
- class IP extends vP {
27404
+ class EP extends vP {
27399
27405
  constructor(e, n) {
27400
27406
  super(e);
27401
27407
  f(this, "xCircle");
@@ -27404,7 +27410,7 @@ class IP extends vP {
27404
27410
  f(this, "children", []);
27405
27411
  f(this, "angleTips");
27406
27412
  f(this, "container");
27407
- (n == null ? void 0 : n.yzCircleEnable) !== !1 && (this.xCircle = new jr({ direction: "x", color: ni.X })), (n == null ? void 0 : n.xzCircleEnable) !== !1 && (this.yCircle = new jr({ direction: "y", color: ni.Y })), (n == null ? void 0 : n.xyCircleEnable) !== !1 && (this.zCircle = new jr({ direction: "z", color: ni.Z })), n != null && n.container && (n == null ? void 0 : n.angleTipsEnable) !== !1 && (this.container = n == null ? void 0 : n.container, this.angleTips = EP({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
27413
+ (n == null ? void 0 : n.yzCircleEnable) !== !1 && (this.xCircle = new jr({ direction: "x", color: ni.X })), (n == null ? void 0 : n.xzCircleEnable) !== !1 && (this.yCircle = new jr({ direction: "y", color: ni.Y })), (n == null ? void 0 : n.xyCircleEnable) !== !1 && (this.zCircle = new jr({ direction: "z", color: ni.Z })), n != null && n.container && (n == null ? void 0 : n.angleTipsEnable) !== !1 && (this.container = n == null ? void 0 : n.container, this.angleTips = IP({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
27408
27414
  }
27409
27415
  hide() {
27410
27416
  this.children.forEach((e) => e.hide());
@@ -27422,7 +27428,7 @@ class IP extends vP {
27422
27428
  this.removeFromParent(), (n = (e = this.angleTips) == null ? void 0 : e.element) == null || n.remove();
27423
27429
  }
27424
27430
  }
27425
- class jr extends E.Group {
27431
+ class jr extends I.Group {
27426
27432
  constructor(e) {
27427
27433
  super();
27428
27434
  f(this, "direction");
@@ -27444,41 +27450,41 @@ class jr extends E.Group {
27444
27450
  this.remove(this.ring, this.angleSector, this.circle);
27445
27451
  }
27446
27452
  }
27447
- class kP extends E.Mesh {
27453
+ class kP extends I.Mesh {
27448
27454
  constructor(e) {
27449
27455
  var n;
27450
27456
  super();
27451
27457
  f(this, "direction");
27452
27458
  f(this, "gapAngle", 0.02);
27453
- f(this, "geometry", new E.RingGeometry(0.25, 0.3, 20, 8, this.gapAngle, Math.PI / 2 - this.gapAngle * 2));
27454
- this.material = new E.MeshBasicMaterial({
27459
+ f(this, "geometry", new I.RingGeometry(0.25, 0.3, 20, 8, this.gapAngle, Math.PI / 2 - this.gapAngle * 2));
27460
+ this.material = new I.MeshBasicMaterial({
27455
27461
  opacity: 0.6,
27456
27462
  color: (n = e.color) != null ? n : 16777215,
27457
27463
  transparent: !0,
27458
- side: E.DoubleSide,
27464
+ side: I.DoubleSide,
27459
27465
  depthTest: !1
27460
27466
  }), this.direction = e.direction, this.geometry.name = `RotateHelperCircleGeometry-${this.direction}`;
27461
27467
  }
27462
27468
  }
27463
- class xP extends E.Group {
27469
+ class xP extends I.Group {
27464
27470
  constructor(e) {
27465
27471
  super();
27466
27472
  f(this, "direction");
27467
27473
  this.direction = e.direction;
27468
27474
  const n = 0.015, o = new Array(8).fill(null).map((s, r) => {
27469
- const a = new E.RingGeometry(0.25, 0.3, 20, 8, Math.PI / 4 * r + n, Math.PI / 4 - n * 2), l = new E.MeshBasicMaterial({
27475
+ const a = new I.RingGeometry(0.25, 0.3, 20, 8, Math.PI / 4 * r + n, Math.PI / 4 - n * 2), l = new I.MeshBasicMaterial({
27470
27476
  opacity: 1,
27471
27477
  color: 16777215,
27472
27478
  depthTest: !1,
27473
27479
  transparent: !0,
27474
- side: E.DoubleSide
27475
- }), c = new E.Mesh(a, l);
27480
+ side: I.DoubleSide
27481
+ }), c = new I.Mesh(a, l);
27476
27482
  return c.name = `AxesDashedRing-${this.direction}-${r}`, c;
27477
27483
  });
27478
27484
  this.add(...o);
27479
27485
  }
27480
27486
  }
27481
- class DP extends E.Mesh {
27487
+ class DP extends I.Mesh {
27482
27488
  constructor(e) {
27483
27489
  var o;
27484
27490
  super();
@@ -27487,34 +27493,34 @@ class DP extends E.Mesh {
27487
27493
  f(this, "angleDirection");
27488
27494
  switch (e.direction) {
27489
27495
  case "x":
27490
- this.baseAxes = new E.Vector3(0, 0, 1);
27496
+ this.baseAxes = new I.Vector3(0, 0, 1);
27491
27497
  break;
27492
27498
  case "y":
27493
- this.baseAxes = new E.Vector3(1, 0, 0);
27499
+ this.baseAxes = new I.Vector3(1, 0, 0);
27494
27500
  break;
27495
27501
  case "z":
27496
- this.baseAxes = new E.Vector3(1, 0, 0);
27502
+ this.baseAxes = new I.Vector3(1, 0, 0);
27497
27503
  break;
27498
27504
  }
27499
27505
  const n = 0.3 + 5e-4;
27500
- this.geometry = new E.CircleGeometry(n, 48, 0, 1e-4), this.material = new E.MeshBasicMaterial({
27506
+ this.geometry = new I.CircleGeometry(n, 48, 0, 1e-4), this.material = new I.MeshBasicMaterial({
27501
27507
  opacity: 0.4,
27502
27508
  color: (o = e.color) != null ? o : 16777215,
27503
27509
  depthTest: !1,
27504
27510
  transparent: !0,
27505
- side: E.DoubleSide
27511
+ side: I.DoubleSide
27506
27512
  }), this.direction = e.direction, this.angleDirection = this.direction === "z" ? 1 : -1;
27507
27513
  }
27508
27514
  }
27509
27515
  function SP() {
27510
- const i = En({
27516
+ const i = In({
27511
27517
  width: "100%",
27512
27518
  height: "100%",
27513
27519
  left: "0",
27514
27520
  top: "0",
27515
27521
  position: "absolute",
27516
27522
  pointerEvents: "none"
27517
- }), t = En({
27523
+ }), t = In({
27518
27524
  boxSizing: "border-box",
27519
27525
  width: "100%",
27520
27526
  height: "100%",
@@ -27524,7 +27530,7 @@ function SP() {
27524
27530
  display: "flex",
27525
27531
  alignItems: "center",
27526
27532
  justifyContent: "center"
27527
- }), e = En({
27533
+ }), e = In({
27528
27534
  boxSizing: "border-box",
27529
27535
  width: "100%",
27530
27536
  height: "100%",
@@ -27547,13 +27553,13 @@ function SP() {
27547
27553
  ] };
27548
27554
  }
27549
27555
  function tn(i) {
27550
- const t = En(W({
27556
+ const t = In(W({
27551
27557
  background: "#FFFFFF",
27552
27558
  width: "9px",
27553
27559
  height: "9px",
27554
27560
  position: "absolute",
27555
27561
  pointerEvents: "none"
27556
- }, i)), e = En({
27562
+ }, i)), e = In({
27557
27563
  width: "15px",
27558
27564
  height: "15px",
27559
27565
  position: "absolute",
@@ -27561,7 +27567,7 @@ function tn(i) {
27561
27567
  top: "50%",
27562
27568
  transform: "translate(-50%, -50%)",
27563
27569
  pointerEvents: "none"
27564
- }), n = En({
27570
+ }), n = In({
27565
27571
  width: "15px",
27566
27572
  height: "15px",
27567
27573
  cursor: i == null ? void 0 : i.cursor,
@@ -27612,15 +27618,15 @@ class MP extends AP {
27612
27618
  var s;
27613
27619
  const o = (s = this.css3DInstance) == null ? void 0 : s.css3DObject;
27614
27620
  if (o) {
27615
- const r = new E.Vector3().subVectors(o.position, n).applyQuaternion(e).add(n);
27621
+ const r = new I.Vector3().subVectors(o.position, n).applyQuaternion(e).add(n);
27616
27622
  o.position.copy(r), o.applyQuaternion(e);
27617
27623
  }
27618
27624
  if (this.plane) {
27619
- const r = new E.Vector3().subVectors(this.plane.position, n).applyQuaternion(e).add(n);
27625
+ const r = new I.Vector3().subVectors(this.plane.position, n).applyQuaternion(e).add(n);
27620
27626
  this.plane.position.copy(r), this.plane.applyQuaternion(e);
27621
27627
  }
27622
27628
  this.cornerPositions.forEach((r) => {
27623
- const a = new E.Vector3().subVectors(r, n).applyQuaternion(e).add(n);
27629
+ const a = new I.Vector3().subVectors(r, n).applyQuaternion(e).add(n);
27624
27630
  r.copy(a);
27625
27631
  });
27626
27632
  }
@@ -27680,7 +27686,7 @@ class MP extends AP {
27680
27686
  }
27681
27687
  }
27682
27688
  function Pu(i) {
27683
- const t = new E.Box3(), e = new E.Vector3();
27689
+ const t = new I.Box3(), e = new I.Vector3();
27684
27690
  if (i.traverse((n) => {
27685
27691
  var s;
27686
27692
  if (n.name === "shadow")
@@ -27706,7 +27712,7 @@ class LP extends gP {
27706
27712
  f(this, "outline");
27707
27713
  f(this, "originObject");
27708
27714
  f(this, "positionAttribute");
27709
- this.originObject = e, this.positionAttribute = new E.BufferAttribute(new Float32Array(8 * 3), 3), this.box = this.createBox(), this.outline = this.createOutline(), this.add(this.box, this.outline), this.update();
27715
+ this.originObject = e, this.positionAttribute = new I.BufferAttribute(new Float32Array(8 * 3), 3), this.box = this.createBox(), this.outline = this.createOutline(), this.add(this.box, this.outline), this.update();
27710
27716
  }
27711
27717
  raycasterIntersectObject(e, n) {
27712
27718
  return e.intersectObject(this, !1, n);
@@ -27722,16 +27728,16 @@ class LP extends gP {
27722
27728
  this.positionAttribute.setXYZ(0, o.x, o.y, o.z), this.positionAttribute.setXYZ(1, n.x, o.y, o.z), this.positionAttribute.setXYZ(2, n.x, n.y, o.z), this.positionAttribute.setXYZ(3, o.x, n.y, o.z), this.positionAttribute.setXYZ(4, o.x, o.y, n.z), this.positionAttribute.setXYZ(5, n.x, o.y, n.z), this.positionAttribute.setXYZ(6, n.x, n.y, n.z), this.positionAttribute.setXYZ(7, o.x, n.y, n.z), this.positionAttribute.needsUpdate = !0;
27723
27729
  }
27724
27730
  createOutline() {
27725
- const e = new Uint16Array([0, 1, 1, 2, 2, 3, 3, 0, 4, 5, 5, 6, 6, 7, 7, 4, 0, 4, 1, 5, 2, 6, 3, 7]), n = new E.BufferGeometry();
27726
- n.setIndex(new E.BufferAttribute(e, 1)), n.setAttribute("position", this.positionAttribute);
27727
- const o = new E.LineBasicMaterial({
27731
+ const e = new Uint16Array([0, 1, 1, 2, 2, 3, 3, 0, 4, 5, 5, 6, 6, 7, 7, 4, 0, 4, 1, 5, 2, 6, 3, 7]), n = new I.BufferGeometry();
27732
+ n.setIndex(new I.BufferAttribute(e, 1)), n.setAttribute("position", this.positionAttribute);
27733
+ const o = new I.LineBasicMaterial({
27728
27734
  color: 64767,
27729
27735
  linewidth: 1,
27730
27736
  opacity: 1,
27731
27737
  depthTest: !1,
27732
27738
  transparent: !0,
27733
27739
  toneMapped: !1
27734
- }), s = new E.LineSegments(n, o);
27740
+ }), s = new I.LineSegments(n, o);
27735
27741
  return s.matrixAutoUpdate = !1, s;
27736
27742
  }
27737
27743
  createBox() {
@@ -27772,15 +27778,15 @@ class LP extends gP {
27772
27778
  6,
27773
27779
  7,
27774
27780
  3
27775
- ]), n = new E.BufferGeometry();
27776
- n.setIndex(new E.BufferAttribute(e, 1)), n.setAttribute("position", this.positionAttribute);
27777
- const o = new E.MeshBasicMaterial({
27781
+ ]), n = new I.BufferGeometry();
27782
+ n.setIndex(new I.BufferAttribute(e, 1)), n.setAttribute("position", this.positionAttribute);
27783
+ const o = new I.MeshBasicMaterial({
27778
27784
  color: 64767,
27779
27785
  opacity: 0.1,
27780
27786
  depthTest: !1,
27781
27787
  transparent: !0
27782
27788
  });
27783
- return new E.Mesh(n, o);
27789
+ return new I.Mesh(n, o);
27784
27790
  }
27785
27791
  }
27786
27792
  class lo {
@@ -27900,15 +27906,15 @@ class lo {
27900
27906
  }
27901
27907
  updateOffsetByScale(t) {
27902
27908
  if (this.boundingBox && this.offset) {
27903
- const e = this.originObject3D.position, n = new E.Vector3().subVectors(this.boundingBox.max, e).multiply(t).add(e), o = new E.Vector3().subVectors(this.boundingBox.min, e).multiply(t).add(e), s = this.calculateOffset(this.offset, { min: o, max: n });
27909
+ const e = this.originObject3D.position, n = new I.Vector3().subVectors(this.boundingBox.max, e).multiply(t).add(e), o = new I.Vector3().subVectors(this.boundingBox.min, e).multiply(t).add(e), s = this.calculateOffset(this.offset, { min: o, max: n });
27904
27910
  this.helperObject3D.position.copy(s), this.helperObject3D.initialPosition();
27905
27911
  }
27906
27912
  }
27907
27913
  hoverListener(t, e = 16777215, n = 1) {
27908
27914
  const o = (Array.isArray(t) ? t : [t]).filter(di), s = [];
27909
27915
  for (const r of o)
27910
- if (r instanceof E.Mesh || r instanceof E.Group) {
27911
- const a = r instanceof E.Group ? r.children.filter((u) => u instanceof E.Mesh) : [r];
27916
+ if (r instanceof I.Mesh || r instanceof I.Group) {
27917
+ const a = r instanceof I.Group ? r.children.filter((u) => u instanceof I.Mesh) : [r];
27912
27918
  a.forEach((u) => {
27913
27919
  u.__originalColor__ = u.material.color.clone(), u.__originalOpacity__ = u.material.opacity;
27914
27920
  });
@@ -27948,7 +27954,7 @@ class lo {
27948
27954
  return s.object;
27949
27955
  }
27950
27956
  calculateOffset(t, e) {
27951
- const n = this.originObject3D, o = new E.Vector3(0, 0, 0);
27957
+ const n = this.originObject3D, o = new I.Vector3(0, 0, 0);
27952
27958
  if (!t)
27953
27959
  return o;
27954
27960
  const s = () => e || (this.boundingBox ? this.boundingBox : (this.boundingBox = Pu(n), this.boundingBox));
@@ -28041,7 +28047,7 @@ class TP extends lo {
28041
28047
  const o = (n == null ? void 0 : n.object).direction;
28042
28048
  if (!o)
28043
28049
  return this.dragEnd();
28044
- const s = new E.Vector3(1, 0, 0).applyQuaternion(this.helperObject3D.quaternion), r = new E.Vector3(0, 1, 0).applyQuaternion(this.helperObject3D.quaternion), a = new E.Vector3(0, 0, 1).applyQuaternion(this.helperObject3D.quaternion), l = (() => {
28050
+ const s = new I.Vector3(1, 0, 0).applyQuaternion(this.helperObject3D.quaternion), r = new I.Vector3(0, 1, 0).applyQuaternion(this.helperObject3D.quaternion), a = new I.Vector3(0, 0, 1).applyQuaternion(this.helperObject3D.quaternion), l = (() => {
28045
28051
  switch (o) {
28046
28052
  case "x":
28047
28053
  return s;
@@ -28058,7 +28064,7 @@ class TP extends lo {
28058
28064
  case "z":
28059
28065
  return s;
28060
28066
  }
28061
- })(), d = n.point.clone(), h = new E.Plane();
28067
+ })(), d = n.point.clone(), h = new I.Plane();
28062
28068
  h.setFromNormalAndCoplanarPoint(c, d), this.startInfo = { startVectorProject: d.clone().projectOnVector(l), directionVector: l, plane: h }, this.helperObject3D.showDraggingHelper([o]), this.hooks.emit("moveStart"), this.isDragging = !0;
28063
28069
  }
28064
28070
  dragging(e) {
@@ -28070,10 +28076,10 @@ class TP extends lo {
28070
28076
  move(e) {
28071
28077
  if (!this.startInfo)
28072
28078
  return this.dragEnd();
28073
- const { plane: n, directionVector: o, startVectorProject: s } = this.startInfo, r = this.originObject3D, a = e.ray.intersectPlane(n, new E.Vector3());
28079
+ const { plane: n, directionVector: o, startVectorProject: s } = this.startInfo, r = this.originObject3D, a = e.ray.intersectPlane(n, new I.Vector3());
28074
28080
  if (!a)
28075
28081
  return;
28076
- const l = a.clone().projectOnVector(o), c = l.clone().sub(s), d = new E.Matrix4();
28082
+ const l = a.clone().projectOnVector(o), c = l.clone().sub(s), d = new I.Matrix4();
28077
28083
  d.setPosition(c);
28078
28084
  const h = r.position.clone().applyMatrix4(d);
28079
28085
  this.hooks.emit("wantToMove", h) || (r.applyMatrix4(d), s.copy(l), this.hooks.emit("applyObjectPosition", { matrix: d }), this.hooks.emit("move", h));
@@ -28246,7 +28252,7 @@ class RP extends lo {
28246
28252
  this.helperObject3D.applyHelperQuaternion(this.originObject3D.quaternion);
28247
28253
  }
28248
28254
  setRotateAngle(e) {
28249
- const { x: n = 0, y: o = 0, z: s = 0 } = e, r = new E.Euler(_r(n), _r(o), _r(s)), a = new E.Quaternion().setFromEuler(r);
28255
+ const { x: n = 0, y: o = 0, z: s = 0 } = e, r = new I.Euler(_r(n), _r(o), _r(s)), a = new I.Quaternion().setFromEuler(r);
28250
28256
  if (this.hooks.emit("wantToRotate", a))
28251
28257
  return;
28252
28258
  const { originObject3D: c, rotateCenter: d } = this;
@@ -28278,12 +28284,12 @@ class RP extends lo {
28278
28284
  a.y += 0.2, this.setTipsPosition(a);
28279
28285
  const l = (() => {
28280
28286
  if (o === "x")
28281
- return new E.Vector3(1, 0, 0).applyQuaternion(this.originObject3D.quaternion);
28287
+ return new I.Vector3(1, 0, 0).applyQuaternion(this.originObject3D.quaternion);
28282
28288
  if (o === "y")
28283
- return new E.Vector3(0, 1, 0).applyQuaternion(this.originObject3D.quaternion);
28289
+ return new I.Vector3(0, 1, 0).applyQuaternion(this.originObject3D.quaternion);
28284
28290
  if (o === "z")
28285
- return new E.Vector3(0, 0, 1).applyQuaternion(this.originObject3D.quaternion);
28286
- })(), c = new E.Plane().setFromNormalAndCoplanarPoint(l, s), h = c.projectPoint(s.clone(), new E.Vector3()).clone().sub(this.rotateCenter), u = h.angleTo(r.baseAxes.clone().applyQuaternion(this.originObject3D.quaternion));
28291
+ return new I.Vector3(0, 0, 1).applyQuaternion(this.originObject3D.quaternion);
28292
+ })(), c = new I.Plane().setFromNormalAndCoplanarPoint(l, s), h = c.projectPoint(s.clone(), new I.Vector3()).clone().sub(this.rotateCenter), u = h.angleTo(r.baseAxes.clone().applyQuaternion(this.originObject3D.quaternion));
28287
28293
  this.setAngleHelperStart(o, u), this.setAngleHelperLength(o, 0), this.startInfo = { direction: o, startVector: h, plane: c, angleHelper: r, angle: 0, objectQuaternion: this.originObject3D.quaternion.clone() }, this.helperObject3D.showDraggingHelper([o]), this.hooks.emit("rotateStart"), this.isDragging = !0;
28288
28294
  }
28289
28295
  dragging(e) {
@@ -28295,24 +28301,24 @@ class RP extends lo {
28295
28301
  rotate(e) {
28296
28302
  if (!this.startInfo)
28297
28303
  return this.dragEnd();
28298
- const { startVector: n, plane: o, angleHelper: s, direction: r, objectQuaternion: a } = this.startInfo, { originObject3D: l } = this, c = e.ray.intersectPlane(o, new E.Vector3());
28304
+ const { startVector: n, plane: o, angleHelper: s, direction: r, objectQuaternion: a } = this.startInfo, { originObject3D: l } = this, c = e.ray.intersectPlane(o, new I.Vector3());
28299
28305
  if (!c)
28300
28306
  return;
28301
- const d = this.rotateCenter.clone(), u = o.projectPoint(c.clone(), new E.Vector3()).clone().sub(d);
28307
+ const d = this.rotateCenter.clone(), u = o.projectPoint(c.clone(), new I.Vector3()).clone().sub(d);
28302
28308
  if (n.angleTo(u) === 0)
28303
28309
  return;
28304
- const m = new E.Quaternion().setFromUnitVectors(n.clone().normalize(), u.clone().normalize()), g = l.quaternion.clone().premultiply(m);
28310
+ const m = new I.Quaternion().setFromUnitVectors(n.clone().normalize(), u.clone().normalize()), g = l.quaternion.clone().premultiply(m);
28305
28311
  if (this.hooks.emit("wantToRotate", g))
28306
28312
  return;
28307
- const b = new E.Euler().setFromQuaternion(
28308
- new E.Quaternion().setFromUnitVectors(
28313
+ const b = new I.Euler().setFromQuaternion(
28314
+ new I.Quaternion().setFromUnitVectors(
28309
28315
  n.clone().normalize().applyQuaternion(a.clone().inverse()),
28310
28316
  u.clone().normalize().applyQuaternion(a.clone().inverse())
28311
28317
  ),
28312
28318
  `${r.toUpperCase()}${"XZY".replace(r.toUpperCase(), "")}`
28313
28319
  )[r] * s.angleDirection;
28314
28320
  if (this.startInfo.angle += b, this.setAngleHelperLength(r, this.startInfo.angle), this.setTipsAngle(wh(this.startInfo.angle)), d) {
28315
- const y = new E.Vector3().subVectors(l.position, d).applyQuaternion(m).add(d);
28321
+ const y = new I.Vector3().subVectors(l.position, d).applyQuaternion(m).add(d);
28316
28322
  l.position.copy(y);
28317
28323
  }
28318
28324
  l.applyQuaternion(m), this.hooks.emit("applyObjectRotate", { quaternion: m, origin: d }), this.hooks.emit("rotate", l.quaternion), this.startInfo.startVector = u;
@@ -28337,17 +28343,17 @@ class RP extends lo {
28337
28343
  console.warn("angleHelper is undefined");
28338
28344
  return;
28339
28345
  }
28340
- if (o instanceof E.Mesh && o.geometry instanceof E.CircleGeometry) {
28346
+ if (o instanceof I.Mesh && o.geometry instanceof I.CircleGeometry) {
28341
28347
  const { radius: s, segments: r, thetaLength: a } = o.geometry.parameters;
28342
- o.geometry = new E.CircleGeometry(s, r, n, a);
28348
+ o.geometry = new I.CircleGeometry(s, r, n, a);
28343
28349
  } else
28344
28350
  console.warn("only support THREE.CircleGeometry");
28345
28351
  }
28346
28352
  setAngleHelperLength(e, n) {
28347
28353
  const s = n >= 0 ? Math.max(n, 1e-3) : Math.min(n, -1e-3), r = this.getAngleHelper(e);
28348
- if (r instanceof E.Mesh && r.geometry instanceof E.CircleGeometry) {
28354
+ if (r instanceof I.Mesh && r.geometry instanceof I.CircleGeometry) {
28349
28355
  const { radius: a, thetaStart: l } = r.geometry.parameters, c = Math.ceil(Math.abs(s) * (40 / (2 * Math.PI)));
28350
- r.geometry = new E.CircleGeometry(a, c, l, s);
28356
+ r.geometry = new I.CircleGeometry(a, c, l, s);
28351
28357
  } else
28352
28358
  console.warn("only support THREE.CircleGeometry");
28353
28359
  }
@@ -28392,7 +28398,7 @@ class QP extends lo {
28392
28398
  this.helperObject3D.applyHelperScaleMatrix4(e.matrix, e.origin);
28393
28399
  }
28394
28400
  getDragPlane() {
28395
- const e = new E.Plane(), n = this.helperObject3D.cornerPositions;
28401
+ const e = new I.Plane(), n = this.helperObject3D.cornerPositions;
28396
28402
  if (n.length !== 0)
28397
28403
  return n.length < 3 ? e.setFromNormalAndCoplanarPoint(this.originObject3D.getWorldDirection(new $()), n[0]) : e.setFromCoplanarPoints(n[0], n[1], n[2]), e;
28398
28404
  }
@@ -28463,9 +28469,9 @@ class QP extends lo {
28463
28469
  case "nwse":
28464
28470
  A(), b();
28465
28471
  }
28466
- const y = new $().subVectors(r[1], r[0]).length() / h.length(), P = new $().subVectors(r[3], r[0]).length() / u.length(), k = new $(y, P, 1), D = new E.Matrix4().scale(k);
28472
+ const y = new $().subVectors(r[1], r[0]).length() / h.length(), P = new $().subVectors(r[3], r[0]).length() / u.length(), k = new $(y, P, 1), D = new I.Matrix4().scale(k);
28467
28473
  n.isCSS3DObjectPlus ? n.applyScaleMatrix4(D) : n.scale.applyMatrix4(D), o.position.copy(a);
28468
- const I = new $().addVectors(r[0], r[2]).divideScalar(2), T = new $().subVectors(I, l), S = new E.Matrix4().setPosition(T);
28474
+ const E = new $().addVectors(r[0], r[2]).divideScalar(2), T = new $().subVectors(E, l), S = new I.Matrix4().setPosition(T);
28469
28475
  n.applyMatrix4(S), (F = this.helperObject3D.css3DInstance) == null || F.css3DObject.applyMatrix4(S), (q = this.helperObject3D.plane) == null || q.applyMatrix4(S), this.hooks.emit("applyObjectScale", { matrix: D }), this.hooks.emit("applyObjectPosition", { matrix: S }), this.render();
28470
28476
  }
28471
28477
  dragEnd() {
@@ -28507,7 +28513,7 @@ class NP extends lo {
28507
28513
  var l, c, d;
28508
28514
  let n = 1, o = 1, s = 1;
28509
28515
  typeof e == "number" ? (n = e, o = e, s = e) : typeof e == "object" && (n = (l = e.x) != null ? l : 1, o = (c = e.y) != null ? c : 1, s = (d = e.z) != null ? d : 1);
28510
- const r = new E.Vector3(n, o, s);
28516
+ const r = new I.Vector3(n, o, s);
28511
28517
  this.hooks.emit("wantToScale", r) || (this.originObject3D.scale.copy(r), this.hooks.emit("setObjectScale", r), this.hooks.emit("scale", r), this.render());
28512
28518
  }
28513
28519
  }
@@ -28598,7 +28604,7 @@ class UP extends ao {
28598
28604
  o.addControllers({ moveController: A.helperController }), s.push(() => A.dispose());
28599
28605
  }
28600
28606
  if (c) {
28601
- const g = this.getConfig(n.rotateHelper), v = new IP(e, W({ container: r }, g)), A = new Ri(this.five, RP, e, v, g, u);
28607
+ const g = this.getConfig(n.rotateHelper), v = new EP(e, W({ container: r }, g)), A = new Ri(this.five, RP, e, v, g, u);
28602
28608
  o.addControllers({ rotateController: A.helperController }), s.push(() => A.dispose());
28603
28609
  }
28604
28610
  if (h) {
@@ -28662,7 +28668,7 @@ class UP extends ao {
28662
28668
  return e;
28663
28669
  }
28664
28670
  }
28665
- const hI = (i) => new UP(i), qP = `
28671
+ const hE = (i) => new UP(i), qP = `
28666
28672
  varying vec2 vUv;
28667
28673
  void main() {
28668
28674
  vUv = uv;
@@ -29048,67 +29054,67 @@ class KP extends ao {
29048
29054
  console.warn("⛔ ==> [PanoVideoPluginController]:", e);
29049
29055
  }
29050
29056
  }
29051
- const uI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29057
+ const uE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29052
29058
  __proto__: null
29053
- }, Symbol.toStringTag, { value: "Module" })), fI = (i) => new KP(i);
29059
+ }, Symbol.toStringTag, { value: "Module" })), fE = (i) => new KP(i);
29054
29060
  Xu();
29055
29061
  Fu();
29056
29062
  export {
29057
29063
  Ki as CSS3DRender,
29058
29064
  Ud as CSS3DRenderPlugin,
29059
29065
  Wg as CameraMovementEffect,
29060
- VE as CameraMovementPlugin,
29066
+ VI as CameraMovementPlugin,
29061
29067
  UC as ContentType,
29062
- cI as CruisePlugin,
29063
- Is as CruisePluginController,
29064
- lI as CruisePluginTypes,
29068
+ cE as CruisePlugin,
29069
+ Es as CruisePluginController,
29070
+ lE as CruisePluginTypes,
29065
29071
  Gi as DIRECTION,
29066
29072
  qn as DISPLAY_STRATEGY_TYPE,
29067
29073
  qC as DimensionType,
29068
29074
  Pn as FLOOR_PLAN_ATTACHED_TO,
29069
- TE as FLOOR_TYPE_MAP,
29070
- dI as GuideLineItem,
29071
- aI as GuideLineModeItem,
29075
+ TI as FLOOR_TYPE_MAP,
29076
+ dE as GuideLineItem,
29077
+ aE as GuideLineModeItem,
29072
29078
  fP as GuideLinePlugin,
29073
29079
  Jn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
29074
- KE as ItemLabelPlugin,
29080
+ KI as ItemLabelPlugin,
29075
29081
  cv as Magnifier,
29076
- kE as MapviewFloorplanPlugin,
29077
- jE as ModelChassisCompassPlugin,
29078
- _E as ModelEntryDoorGuidePlugin,
29079
- EE as ModelFloorplanPlugin,
29080
- UE as ModelItemLabelPlugin,
29081
- gE as ModelRoomLabelPlugin,
29082
- JE as ModelTVVideoPlugin,
29083
- hE as ModelViewPlugin,
29082
+ kI as MapviewFloorplanPlugin,
29083
+ jI as ModelChassisCompassPlugin,
29084
+ _I as ModelEntryDoorGuidePlugin,
29085
+ II as ModelFloorplanPlugin,
29086
+ UI as ModelItemLabelPlugin,
29087
+ gI as ModelRoomLabelPlugin,
29088
+ JI as ModelTVVideoPlugin,
29089
+ hI as ModelViewPlugin,
29084
29090
  UP as Object3DHelperController,
29085
- hI as Object3DHelperPlugin,
29091
+ hE as Object3DHelperPlugin,
29086
29092
  _a as PLUGIN,
29087
- dE as PaintBrush,
29093
+ dI as PaintBrush,
29088
29094
  nn as PaintBrushTypeEnum,
29089
- QE as PanoCompassPlugin,
29090
- pE as PanoCursorRaycasterPlugin,
29091
- eI as PanoDoorLabelPlugin,
29092
- ME as PanoFloorplanRadarPlugin,
29093
- WE as PanoMeasurePlugin,
29095
+ QI as PanoCompassPlugin,
29096
+ pI as PanoCursorRaycasterPlugin,
29097
+ eE as PanoDoorLabelPlugin,
29098
+ MI as PanoFloorplanRadarPlugin,
29099
+ WI as PanoMeasurePlugin,
29094
29100
  bi as PanoMeasurePluginLine,
29095
29101
  Pa as PanoMeasurePluginModel,
29096
29102
  Bt as PanoMeasurePluginPoint,
29097
29103
  is as PanoMeasurePluginPolyline,
29098
- OE as PanoRulerPlugin,
29099
- RE as PanoRulerProPlugin,
29100
- FE as PanoSpatialTagPlugin,
29101
- rI as PanoTagPlugin,
29104
+ OI as PanoRulerPlugin,
29105
+ RI as PanoRulerProPlugin,
29106
+ FI as PanoSpatialTagPlugin,
29107
+ rE as PanoTagPlugin,
29102
29108
  ia as PanoTagPluginController,
29103
- fI as PanoVideoPlugin,
29104
- uI as PanoVideoPluginType,
29105
- LE as ROOM_FETILE_TYPE_MAP,
29106
- zE as ROOM_TYPE_MAP,
29109
+ fE as PanoVideoPlugin,
29110
+ uE as PanoVideoPluginType,
29111
+ LI as ROOM_FETILE_TYPE_MAP,
29112
+ zI as ROOM_TYPE_MAP,
29107
29113
  Yt as Rotation,
29108
- DE as TopviewFloorplanPlugin,
29109
- fE as Util,
29110
- $E as itemLabelPluginServerParams,
29111
- qE as modelItemLabelPluginServerParams,
29112
- vE as modelRoomLabelPluginServerParams,
29113
- sI as pluginFlag
29114
+ DI as TopviewFloorplanPlugin,
29115
+ fI as Util,
29116
+ $I as itemLabelPluginServerParams,
29117
+ qI as modelItemLabelPluginServerParams,
29118
+ vI as modelRoomLabelPluginServerParams,
29119
+ sE as pluginFlag
29114
29120
  };