@realsee/dnalogel 3.58.4 → 3.58.5-alpha.1

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 (436) hide show
  1. package/dist/index.cjs.js +20 -20
  2. package/dist/index.js +268 -268
  3. package/dist/index.umd.js +24 -24
  4. package/dist/shared-utils/three/PointSelector/utils/PointHelper.d.ts +1 -0
  5. package/docs/assets/navigation.js +1 -1
  6. package/docs/assets/search.js +1 -1
  7. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
  8. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
  9. package/docs/classes/CSS3DRender.html +3 -3
  10. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  11. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
  12. package/docs/classes/ModelMakerPluginInstance.html +15 -15
  13. package/docs/classes/ModelRoomLabelController.html +6 -6
  14. package/docs/classes/MoveController.html +17 -17
  15. package/docs/classes/Object3DHelperController.html +15 -15
  16. package/docs/classes/PaintBrush.html +5 -5
  17. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  18. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  19. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  20. package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
  21. package/docs/classes/PanoTagPluginController.html +35 -35
  22. package/docs/classes/Sculpt.html +23 -23
  23. package/docs/classes/Util.BetterTween.html +2 -2
  24. package/docs/classes/Util.FiveDomEvents.html +4 -4
  25. package/docs/classes/Util.FivePuppet.html +3 -3
  26. package/docs/classes/Util.Interval.html +5 -5
  27. package/docs/classes/Util.LightTag.html +14 -14
  28. package/docs/classes/Util.LineSegments.html +2 -2
  29. package/docs/classes/Util.Magnifier.html +6 -6
  30. package/docs/classes/Util.Object3D.html +4 -4
  31. package/docs/classes/Util.PointHelper.html +2 -2
  32. package/docs/classes/Util.PointSelector.html +11 -11
  33. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  34. package/docs/classes/Util.Rectangle.html +5 -5
  35. package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
  36. package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
  37. package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
  38. package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
  39. package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
  40. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
  41. package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
  42. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
  43. package/docs/classes/Util.sculpt.LineMesh.html +5 -5
  44. package/docs/classes/Util.sculpt.PointMesh.html +5 -5
  45. package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
  46. package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
  47. package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
  48. package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
  49. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
  50. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
  51. package/docs/classes/WalkController.html +18 -18
  52. package/docs/enums/CameraMovementEffect.html +3 -3
  53. package/docs/enums/ContentType.html +18 -18
  54. package/docs/enums/DIRECTION.html +2 -2
  55. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  56. package/docs/enums/DimensionType.html +3 -3
  57. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  58. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  59. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  60. package/docs/enums/PointType.html +3 -3
  61. package/docs/enums/Rotation.html +3 -3
  62. package/docs/functions/AreaMakerPlugin.html +1 -1
  63. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  64. package/docs/functions/CameraMovementPlugin.html +2 -2
  65. package/docs/functions/CruisePlugin.html +1 -1
  66. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  67. package/docs/functions/GuideLinePlugin.html +1 -1
  68. package/docs/functions/ItemLabelPlugin.html +1 -1
  69. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  70. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  71. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  72. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  73. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  74. package/docs/functions/ModelMakerPlugin.html +1 -1
  75. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  76. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  77. package/docs/functions/ModelViewPlugin.html +2 -2
  78. package/docs/functions/MovePlugin.html +1 -1
  79. package/docs/functions/Object3DHelperPlugin.html +1 -1
  80. package/docs/functions/PanoCompassPlugin.html +1 -1
  81. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  82. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  83. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  84. package/docs/functions/PanoMeasurePlugin.html +1 -1
  85. package/docs/functions/PanoRulerPlugin.html +2 -2
  86. package/docs/functions/PanoRulerProPlugin.html +2 -2
  87. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  88. package/docs/functions/PanoTagPlugin.html +1 -1
  89. package/docs/functions/PanoVideoPlugin.html +2 -2
  90. package/docs/functions/PipelinePlugin.html +1 -1
  91. package/docs/functions/SculptPlugin.html +2 -2
  92. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  93. package/docs/functions/Util.absoluteUrl.html +2 -2
  94. package/docs/functions/Util.awaitNextFrame.html +1 -1
  95. package/docs/functions/Util.blink.html +2 -2
  96. package/docs/functions/Util.bounding.html +1 -1
  97. package/docs/functions/Util.boundingBox.html +1 -1
  98. package/docs/functions/Util.boundingSphere.html +1 -1
  99. package/docs/functions/Util.boxVertex.html +2 -2
  100. package/docs/functions/Util.boxVertexes.html +1 -1
  101. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  102. package/docs/functions/Util.convexHull.html +2 -2
  103. package/docs/functions/Util.equal.html +2 -2
  104. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  105. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  106. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  107. package/docs/functions/Util.getFrameTime.html +2 -2
  108. package/docs/functions/Util.inside.html +1 -1
  109. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  110. package/docs/functions/Util.isModelLike.html +1 -1
  111. package/docs/functions/Util.isNil.html +2 -2
  112. package/docs/functions/Util.isPanoramaLike.html +1 -1
  113. package/docs/functions/Util.lookObject.html +2 -2
  114. package/docs/functions/Util.lookPoint.html +2 -2
  115. package/docs/functions/Util.nextFrame.html +1 -1
  116. package/docs/functions/Util.notNil.html +2 -2
  117. package/docs/functions/Util.reblink.html +2 -2
  118. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  119. package/docs/functions/Util.sculpt.createBox.html +1 -1
  120. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  121. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  122. package/docs/functions/Util.sculpt.createLine.html +2 -2
  123. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  124. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  125. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  126. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  127. package/docs/functions/Util.tag.html +1 -1
  128. package/docs/functions/Util.tweenProgress.html +1 -1
  129. package/docs/functions/Util.uuid.html +2 -2
  130. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  131. package/docs/functions/Util.worldBounding.html +1 -1
  132. package/docs/functions/Util.worldBoundingBox.html +1 -1
  133. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  134. package/docs/functions/createPolyline.html +2 -2
  135. package/docs/functions/pluginFlag.html +1 -1
  136. package/docs/hierarchy.html +1 -1
  137. package/docs/index.html +2 -2
  138. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  139. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  140. package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
  141. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  142. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
  143. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  144. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  145. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  146. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  147. package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
  148. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  149. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  150. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  151. package/docs/interfaces/ContentTypeMapInterface.html +15 -15
  152. package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
  153. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  154. package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
  155. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  156. package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
  157. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
  158. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
  159. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  160. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  161. package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
  162. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
  163. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
  164. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  165. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  166. package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
  167. package/docs/interfaces/FloorplanBounding.html +5 -5
  168. package/docs/interfaces/FloorplanData.html +3 -3
  169. package/docs/interfaces/FloorplanEntrance.html +8 -8
  170. package/docs/interfaces/FloorplanExtraObject.html +5 -5
  171. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  172. package/docs/interfaces/FloorplanFloorData.html +3 -3
  173. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  174. package/docs/interfaces/FloorplanObserver.html +3 -3
  175. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  176. package/docs/interfaces/FloorplanPosition.html +3 -3
  177. package/docs/interfaces/FloorplanRoomItem.html +8 -8
  178. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  179. package/docs/interfaces/FloorplanServerBounding.html +5 -5
  180. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  181. package/docs/interfaces/FloorplanServerData.html +3 -3
  182. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  183. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  184. package/docs/interfaces/FloorplanServerEntrance.html +8 -8
  185. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  186. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  187. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  188. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  189. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  190. package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
  191. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  192. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  193. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  194. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  195. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
  196. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  197. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  198. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  199. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  200. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
  201. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  202. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
  203. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  204. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
  206. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
  208. package/docs/interfaces/HelperOffset.html +2 -2
  209. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  210. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  211. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  212. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  213. package/docs/interfaces/MinMax.html +2 -2
  214. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  215. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  216. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  217. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  218. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  219. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  220. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  221. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  222. package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
  223. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  224. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
  225. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  226. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
  227. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
  228. package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
  229. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  230. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  231. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  232. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  233. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  234. package/docs/interfaces/Object3DHelperState.html +2 -2
  235. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  236. package/docs/interfaces/PaintBrushAction.html +7 -7
  237. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  238. package/docs/interfaces/PaintBrushState.html +2 -2
  239. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  240. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  241. package/docs/interfaces/PanoMeasureParameterType.html +6 -6
  242. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  243. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  244. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  245. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
  246. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  247. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  248. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  249. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  250. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  251. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  252. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  253. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  254. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  255. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  256. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  257. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  258. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  259. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  260. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  261. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  262. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  263. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
  264. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  265. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  266. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  267. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
  268. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
  269. package/docs/interfaces/PluginEventMap.html +4 -4
  270. package/docs/interfaces/Point.html +2 -2
  271. package/docs/interfaces/Room.html +2 -2
  272. package/docs/interfaces/RoomInfo.html +2 -2
  273. package/docs/interfaces/RoomLabel.html +7 -7
  274. package/docs/interfaces/RoomRules.html +1 -1
  275. package/docs/interfaces/Rooms.html +1 -1
  276. package/docs/interfaces/Scissor.html +6 -6
  277. package/docs/interfaces/State.html +4 -4
  278. package/docs/interfaces/TagCacheInterface.html +3 -3
  279. package/docs/interfaces/TagConfig.html +10 -10
  280. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  281. package/docs/interfaces/TagIconUrl.html +7 -7
  282. package/docs/interfaces/TagObjectGroup.html +2 -2
  283. package/docs/interfaces/TagStyle.html +2 -2
  284. package/docs/interfaces/Tags.html +4 -4
  285. package/docs/interfaces/TemporaryState.html +2 -2
  286. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  287. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  288. package/docs/interfaces/Util.EventHandlerConfig.html +4 -4
  289. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  290. package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
  291. package/docs/interfaces/Util.MagnifierParameter.html +5 -5
  292. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  293. package/docs/interfaces/Util.PointIntersection.html +4 -4
  294. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  295. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  296. package/docs/modules/AreaMakerPluginType.html +2 -2
  297. package/docs/modules/CruisePluginTypes.html +2 -2
  298. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  299. package/docs/modules/GuideLineItem.html +2 -2
  300. package/docs/modules/GuideLineModeItem.html +2 -2
  301. package/docs/modules/GuideLinePluginType.html +2 -2
  302. package/docs/modules/ModelMakerPluginType.html +2 -2
  303. package/docs/modules/PanoVideoPluginType.html +2 -2
  304. package/docs/modules/SculptData.html +2 -2
  305. package/docs/modules/Util.html +2 -2
  306. package/docs/modules/Util.sculpt.html +2 -2
  307. package/docs/modules.html +2 -2
  308. package/docs/types/AddObject3DHelperConfig.html +2 -2
  309. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  310. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  311. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  312. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  313. package/docs/types/ArrayPosition.html +1 -1
  314. package/docs/types/AudioAppearance.html +1 -1
  315. package/docs/types/CSS3DRenderExportType.html +1 -1
  316. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  317. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  318. package/docs/types/ClassFunctionParameters.html +1 -1
  319. package/docs/types/Color.html +1 -1
  320. package/docs/types/ContentTypeConfigKey.html +1 -1
  321. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  322. package/docs/types/ContentTypeMap.html +1 -1
  323. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  324. package/docs/types/Create3DElementReturnType.html +1 -1
  325. package/docs/types/CruisePluginExportType.html +1 -1
  326. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  327. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  328. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  329. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  330. package/docs/types/DeprecatedTagProperty.html +2 -2
  331. package/docs/types/Direction-1.html +1 -1
  332. package/docs/types/Direction4.html +1 -1
  333. package/docs/types/ElementRenderer.html +2 -2
  334. package/docs/types/FloorplanRuleLabels.html +2 -2
  335. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  336. package/docs/types/GuideLinePluginExportType.html +1 -1
  337. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  338. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  339. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  340. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  341. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  342. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  343. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  344. package/docs/types/HelperEventMap.html +1 -1
  345. package/docs/types/InternalHelperEventMap.html +1 -1
  346. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  347. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  348. package/docs/types/MediaData.html +2 -2
  349. package/docs/types/MediaStore.html +1 -1
  350. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  351. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  352. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  353. package/docs/types/ModelId.html +1 -1
  354. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  355. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  356. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  357. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  358. package/docs/types/MoveArgs.html +2 -2
  359. package/docs/types/MoveOpts.html +2 -2
  360. package/docs/types/Object3DHelperEventMap.html +1 -1
  361. package/docs/types/ObjectFit.html +1 -1
  362. package/docs/types/PaintBrushEventMap.html +1 -1
  363. package/docs/types/PanoCompassPluginData.html +1 -1
  364. package/docs/types/PanoCompassPluginExportType.html +1 -1
  365. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  366. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  367. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  368. package/docs/types/PanoIndex.html +1 -1
  369. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  370. package/docs/types/PanoMeasureReturnType.html +1 -1
  371. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  372. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  373. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  374. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  375. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  376. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  377. package/docs/types/PipelinePluginParameterType.html +1 -1
  378. package/docs/types/PipelinePluginReturnType.html +1 -1
  379. package/docs/types/PlaneTag.html +2 -2
  380. package/docs/types/Point2DTag.html +2 -2
  381. package/docs/types/Point3DTag.html +2 -2
  382. package/docs/types/PointTagInstance.html +1 -1
  383. package/docs/types/Position.html +1 -1
  384. package/docs/types/PositionFrom.html +1 -1
  385. package/docs/types/RotateArgs.html +2 -2
  386. package/docs/types/RotateOpts.html +2 -2
  387. package/docs/types/RuleLabelsKey.html +1 -1
  388. package/docs/types/RuleLabelsValue.html +1 -1
  389. package/docs/types/ScaleCallback.html +1 -1
  390. package/docs/types/ScalePosition.html +2 -2
  391. package/docs/types/SculptData.BoxData.html +1 -1
  392. package/docs/types/SculptData.CircleData.html +1 -1
  393. package/docs/types/SculptData.CylinderData.html +1 -1
  394. package/docs/types/SculptData.PointData.html +1 -1
  395. package/docs/types/SculptData.PolygonData.html +1 -1
  396. package/docs/types/SculptData.PolylineData.html +1 -1
  397. package/docs/types/SculptData.PrismData.html +1 -1
  398. package/docs/types/SculptData.RectangleData.html +1 -1
  399. package/docs/types/StickType.html +1 -1
  400. package/docs/types/Tag.html +2 -2
  401. package/docs/types/Tag2D.html +2 -2
  402. package/docs/types/Tag3D.html +2 -2
  403. package/docs/types/TagClickParams.html +1 -1
  404. package/docs/types/TagConfigByKey.html +1 -1
  405. package/docs/types/TagContentType.html +1 -1
  406. package/docs/types/TagContentTypeMapping.html +1 -1
  407. package/docs/types/TagDimensionType.html +1 -1
  408. package/docs/types/TagElement.html +2 -2
  409. package/docs/types/TagEvents.html +1 -1
  410. package/docs/types/TagGLTFObject.html +1 -1
  411. package/docs/types/TagHooks.html +1 -1
  412. package/docs/types/TagId.html +1 -1
  413. package/docs/types/TagInstance.html +1 -1
  414. package/docs/types/TagPointType.html +2 -2
  415. package/docs/types/TagRendererMap.html +1 -1
  416. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  417. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  418. package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -1
  419. package/docs/types/Util.PointSelectorConfig.html +1 -1
  420. package/docs/types/WorkCode.html +1 -1
  421. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  422. package/docs/variables/PLUGIN.html +1 -1
  423. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  424. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  425. package/docs/variables/Util.animeMap.html +1 -1
  426. package/docs/variables/defaultGlobalConfig.html +1 -1
  427. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  428. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  429. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  430. package/libs/Sculpt/Objects/Rectangle/index.js +49 -49
  431. package/libs/base/BasePlugin.js +5 -5
  432. package/libs/shared-utils/logger.js +1 -1
  433. package/libs/shared-utils/three/PointSelector/index.js +24 -24
  434. package/libs/shared-utils/three/PointSelector/utils/PointHelper.d.ts +1 -0
  435. package/libs/shared-utils/three/PointSelector/utils/PointHelper.js +24 -24
  436. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -48,7 +48,7 @@ import _p from "earcut";
48
48
  import { GLTFLoader as Fp } from "@realsee/five/gltf-loader";
49
49
  function Hp() {
50
50
  console.debug(
51
- "%c %c@realsee/dnalogel %cv3.58.4",
51
+ "%c %c@realsee/dnalogel %cv3.58.5-alpha.1",
52
52
  [
53
53
  "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=')",
54
54
  "background-repeat: no-repeat",
@@ -1090,21 +1090,21 @@ const Yk = (n, t) => {
1090
1090
  const m = () => {
1091
1091
  if (i)
1092
1092
  return;
1093
- u = E(n.model, c.fov, c.aspect), f = n.model.bounding.getCenter(new b.Vector3()), l.remove(h), h = _(n.model), l.add(h), i = !0, S();
1093
+ u = E(n.model, c.fov, c.aspect), f = n.model.bounding.getCenter(new b.Vector3()), l.remove(h), h = F(n.model), l.add(h), i = !0, S();
1094
1094
  function U(Y) {
1095
1095
  const X = Y.clone();
1096
1096
  return X.uniforms.modelAlpha.value = 1, X.uniforms.map.value && (X.uniforms.map.value.needsUpdate = !0), X;
1097
1097
  }
1098
- function _(Y) {
1098
+ function F(Y) {
1099
1099
  if (Y instanceof b.Mesh) {
1100
1100
  const X = Y.geometry, J = Array.isArray(Y.material) ? Y.material.map(U) : U(Y.material);
1101
1101
  return new b.Mesh(X, J);
1102
1102
  } else if (Y instanceof b.Group) {
1103
1103
  const X = new b.Group();
1104
- return Y.children.forEach((J) => X.add(_(J))), X;
1104
+ return Y.children.forEach((J) => X.add(F(J))), X;
1105
1105
  } else {
1106
1106
  const X = new b.Object3D();
1107
- return Y.children.forEach((J) => X.add(_(J))), X;
1107
+ return Y.children.forEach((J) => X.add(F(J))), X;
1108
1108
  }
1109
1109
  }
1110
1110
  }, p = () => {
@@ -1120,11 +1120,11 @@ const Yk = (n, t) => {
1120
1120
  e || (e = !0, l.add(h), !i && n.model.loaded && m(), S());
1121
1121
  }, w = () => {
1122
1122
  e && (l.remove(h), s = !0, T(), e = !1);
1123
- }, I = (U, _ = {}) => {
1123
+ }, I = (U, F = {}) => {
1124
1124
  const Y = p();
1125
1125
  if (!Y)
1126
1126
  return;
1127
- U.appendChild(Y.domElement), C(_);
1127
+ U.appendChild(Y.domElement), C(F);
1128
1128
  const X = window.getComputedStyle(U).position;
1129
1129
  X !== "relative" && X !== "absolute" && X !== "fixed" && X !== "sticky" && (U.style.position = "relative");
1130
1130
  }, C = (U = {}) => {
@@ -1137,12 +1137,12 @@ const Yk = (n, t) => {
1137
1137
  }
1138
1138
  S();
1139
1139
  };
1140
- function E(U, _, Y) {
1140
+ function E(U, F, Y) {
1141
1141
  const X = U.bounding, J = Math.pow(
1142
1142
  Math.pow(X.max.x - X.min.x + 1, 2) + Math.pow(X.max.y - X.min.y + 1, 2) + Math.pow(X.max.z - X.min.z + 1, 2),
1143
1143
  1 / 2
1144
1144
  );
1145
- let ae = J / 2 / Math.tan(Math.PI * _ / 360);
1145
+ let ae = J / 2 / Math.tan(Math.PI * F / 360);
1146
1146
  return Y < 1 && (ae = ae / Y), isNaN(ae) ? J : ae;
1147
1147
  }
1148
1148
  function M(U) {
@@ -1157,12 +1157,12 @@ const Yk = (n, t) => {
1157
1157
  !e || s !== !0 || !o || !o.domElement.parentNode || o.domElement.parentNode.offsetWidth === 0 || (o.render(l, c), s = !1);
1158
1158
  }, Q = () => {
1159
1159
  o && o.dispose(), o = null;
1160
- }, F = (U) => {
1160
+ }, _ = (U) => {
1161
1161
  Object.assign(a, U), S();
1162
1162
  }, H = () => ({
1163
1163
  enabled: e
1164
1164
  });
1165
- return Object.assign(window, { camera: c }), n.on("modelLoaded", g), n.on("modelWillLoad", v), n.on("cameraDirectionUpdate", S), n.on("dispose", Q), n.on("renderFrame", T), n.on("cameraPositionUpdate", S), { appendTo: I, refresh: C, changeConfigs: F, enable: A, disable: w, getCurrentState: H };
1165
+ return Object.assign(window, { camera: c }), n.on("modelLoaded", g), n.on("modelWillLoad", v), n.on("cameraDirectionUpdate", S), n.on("dispose", Q), n.on("renderFrame", T), n.on("cameraPositionUpdate", S), { appendTo: I, refresh: C, changeConfigs: _, enable: A, disable: w, getCurrentState: H };
1166
1166
  }, nv = ({ x: n, y: t, z: e }) => new se(n, t, e), ji = (n) => new se().fromArray(n), De = (n) => {
1167
1167
  if (n)
1168
1168
  return n instanceof se ? n : Array.isArray(n) ? ji(n) : nv(n);
@@ -2979,29 +2979,29 @@ class Ql extends ct {
2979
2979
  * @description: 根据鼠标位置计算焦点位置并更新
2980
2980
  */
2981
2981
  d(this, "updateByNdcPosition", (e) => {
2982
- var o, r;
2982
+ var o, r, a;
2983
2983
  const i = Bv(this.five, e), s = so(this.five, i);
2984
2984
  if (s)
2985
2985
  return this.updatePointSelectorHelperIntersect(s), this.lastIntersection = s, !0;
2986
2986
  if (this.plane) {
2987
- const a = i.ray.intersectPlane(this.plane, Rv);
2988
- if (a) {
2989
- const l = {
2990
- distance: this.five.camera.position.distanceTo(a),
2991
- point: a.clone(),
2987
+ const l = i.ray.intersectPlane(this.plane, Rv);
2988
+ if (l) {
2989
+ const c = {
2990
+ distance: this.five.camera.position.distanceTo(l),
2991
+ point: l.clone(),
2992
2992
  object: new b.Object3D(),
2993
2993
  face: new b.Face3(0, 0, 0, this.plane.normal.clone()),
2994
2994
  raycaster: i,
2995
2995
  isVirtual: !0
2996
2996
  };
2997
- return this.updatePointSelectorHelperIntersect(l), !0;
2997
+ return this.updatePointSelectorHelperIntersect(c), !0;
2998
2998
  }
2999
2999
  }
3000
3000
  if (this.actionIfNoModelUnderMouse === "lastPoint")
3001
3001
  return this.updatePointSelectorHelperIntersect(this.lastIntersection), !0;
3002
3002
  if (this.actionIfNoModelUnderMouse === "virtualPoint") {
3003
- const a = Wf(i, (o = this.lastIntersection) == null ? void 0 : o.distance);
3004
- return a.face = new b.Face3(0, 0, 0, (r = this.lastIntersection) == null ? void 0 : r.face.normal), a.isVirtual = !0, this.lastIntersection = a, this.updatePointSelectorHelperIntersect(a), !0;
3003
+ const l = Wf(i, (o = this.lastIntersection) == null ? void 0 : o.distance);
3004
+ return l.face = new b.Face3(0, 0, 0, (a = (r = this.lastIntersection) == null ? void 0 : r.face) == null ? void 0 : a.normal), l.isVirtual = !0, this.lastIntersection = l, this.updatePointSelectorHelperIntersect(l), !0;
3005
3005
  } else if (this.actionIfNoModelUnderMouse === "disable")
3006
3006
  return this.updatePointSelectorHelperIntersect(null), !1;
3007
3007
  });
@@ -3232,16 +3232,16 @@ class Yf extends b.Object3D {
3232
3232
  d(this, "lineMesh");
3233
3233
  d(this, "ballMesh");
3234
3234
  d(this, "borderMesh");
3235
+ d(this, "five");
3235
3236
  this.planeMesh = Qv(), this.lineMesh = Wv(), this.ballMesh = Uv(), this.borderMesh = Yv(), this.addEventListener("added", () => {
3236
3237
  this.add(this.planeMesh, this.lineMesh, this.ballMesh, this.borderMesh);
3237
3238
  }), this.addEventListener("removed", () => {
3238
3239
  this.remove(this.planeMesh, this.lineMesh, this.ballMesh, this.borderMesh);
3239
- }), Hf(e);
3240
+ }), Hf(e), this.five = e;
3240
3241
  }
3241
3242
  updateWithIntersect(e) {
3242
- if (!e.face)
3243
- return;
3244
- const i = new b.Vector3().addVectors(e.point, e.face.normal);
3243
+ var s;
3244
+ const i = (s = e == null ? void 0 : e.face) != null && s.normal ? new b.Vector3().addVectors(e.point, e.face.normal) : this.five.camera.position;
3245
3245
  this.position.copy(e.point), this.lookAt(i);
3246
3246
  }
3247
3247
  show() {
@@ -3478,8 +3478,8 @@ function e0(n, t, e) {
3478
3478
  };
3479
3479
  for (; f !== 360; ) {
3480
3480
  let E = 0;
3481
- const M = p(f), S = (F) => {
3482
- const H = F.distanceTo(M), G = new b.Raycaster(F, M.clone().sub(F).normalize()), N = s.model.intersectRaycaster(G, void 0, !0)[0], U = N == null ? void 0 : N.distance;
3481
+ const M = p(f), S = (_) => {
3482
+ const H = _.distanceTo(M), G = new b.Raycaster(_, M.clone().sub(_).normalize()), N = s.model.intersectRaycaster(G, void 0, !0)[0], U = N == null ? void 0 : N.distance;
3483
3483
  xe(U) ? U > H && (E += 1) : E += 1;
3484
3484
  }, T = i.clampPoint(M, new b.Vector3());
3485
3485
  S(T);
@@ -3953,22 +3953,22 @@ class sm extends sl {
3953
3953
  if (ri(e.cornerPoints) && ri(e.width))
3954
3954
  throw new Error("cornerPoints and width cannot be both empty");
3955
3955
  const i = (E = e.container) != null ? E : document.createElement("div"), s = (M = e.cornerPoints) != null ? M : (() => {
3956
- const F = e.width / 2;
3956
+ const _ = e.width / 2;
3957
3957
  return [
3958
- new se(-F, F, 0),
3959
- new se(-F, -F, 0),
3960
- new se(F, -F, 0),
3961
- new se(F, F, 0)
3958
+ new se(-_, _, 0),
3959
+ new se(-_, -_, 0),
3960
+ new se(_, -_, 0),
3961
+ new se(_, _, 0)
3962
3962
  ];
3963
3963
  })(), o = (S = e.ratio) != null ? S : f0, r = (T = e.dpr) != null ? T : 1, a = (Q = e.pointerEvents) != null ? Q : "auto", l = Math.max(u0, o), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]), u = er(c / o * r), f = er(h / o * r), m = jt(...s);
3964
3964
  let p;
3965
3965
  if (l === o)
3966
3966
  i.style.width = `${u}px`, i.style.height = `${f}px`, p = i;
3967
3967
  else {
3968
- const F = document.createElement("div");
3969
- F.style.width = `${u}px`, F.style.height = `${f}px`, F.style.pointerEvents = "none";
3968
+ const _ = document.createElement("div");
3969
+ _.style.width = `${u}px`, _.style.height = `${f}px`, _.style.pointerEvents = "none";
3970
3970
  const H = o / l;
3971
- i.style.position = "absolute", i.style.left = "0", i.style.top = "0", i.style.width = `${H * u}px`, i.style.height = `${H * f}px`, F.appendChild(i), p = F;
3971
+ i.style.position = "absolute", i.style.left = "0", i.style.top = "0", i.style.width = `${H * u}px`, i.style.height = `${H * f}px`, _.appendChild(i), p = _;
3972
3972
  }
3973
3973
  super(p);
3974
3974
  d(this, "version", nm);
@@ -4003,19 +4003,19 @@ class sm extends sl {
4003
4003
  if (i.style.pointerEvents = a, Object.assign(i.style, e.style), this.scale.set(l, l, l), this.cornerPoints = s, this.ratio = o, this.container = i, e.mode && (this.mode = e.mode), l === o)
4004
4004
  this.width = c, this.height = h, this.domWidthPx = u, this.domHeightPx = f, this.centerPosition = m;
4005
4005
  else {
4006
- const F = o / l;
4007
- this.width = F * c, this.height = F * h, this.domWidthPx = F * u, this.domHeightPx = F * f, this.centerPosition = new se().subVectors(m, s[0]).multiplyScalar(F).add(s[0]);
4006
+ const _ = o / l;
4007
+ this.width = _ * c, this.height = _ * h, this.domWidthPx = _ * u, this.domHeightPx = _ * f, this.centerPosition = new se().subVectors(m, s[0]).multiplyScalar(_).add(s[0]);
4008
4008
  }
4009
4009
  i.classList.add(`${$c}__container`);
4010
4010
  const v = new se().subVectors(s[1], s[0]), g = new se().subVectors(s[3], s[0]), A = new se().crossVectors(v, g).normalize();
4011
4011
  this.lookAt(A);
4012
4012
  const w = this.up.clone().applyQuaternion(this.quaternion), I = g.clone(), C = new se().crossVectors(w, I).normalize();
4013
4013
  this.rotateOnWorldAxis(C, w.angleTo(I)), this.position.copy(m), this.addEventListener("added", () => {
4014
- var F;
4015
- this.mode === "front" && ((F = this.opacityMesh) == null || F.removeFromParent());
4014
+ var _;
4015
+ this.mode === "front" && ((_ = this.opacityMesh) == null || _.removeFromParent());
4016
4016
  }), this.addEventListener("removed", () => {
4017
- var F;
4018
- (F = this.opacityMesh) == null || F.removeFromParent();
4017
+ var _;
4018
+ (_ = this.opacityMesh) == null || _.removeFromParent();
4019
4019
  });
4020
4020
  }
4021
4021
  removeFromParent() {
@@ -5181,8 +5181,8 @@ function Zt(n, t, e, i, s, o, r, a, l, c, h, u) {
5181
5181
  D(S, 1), S.m(a, h), r.set(S.key, S), h = S.first, m--;
5182
5182
  }
5183
5183
  for (; f && m; ) {
5184
- const S = g[m - 1], T = n[f - 1], Q = S.key, F = T.key;
5185
- S === T ? (h = S.first, f--, m--) : A.has(F) ? !r.has(Q) || C.has(Q) ? M(S) : E.has(F) ? f-- : w.get(Q) > w.get(F) ? (E.add(Q), M(S)) : (C.add(F), f--) : (l(T, r), f--);
5184
+ const S = g[m - 1], T = n[f - 1], Q = S.key, _ = T.key;
5185
+ S === T ? (h = S.first, f--, m--) : A.has(_) ? !r.has(Q) || C.has(Q) ? M(S) : E.has(_) ? f-- : w.get(Q) > w.get(_) ? (E.add(Q), M(S)) : (C.add(_), f--) : (l(T, r), f--);
5186
5186
  }
5187
5187
  for (; f--; ) {
5188
5188
  const S = n[f];
@@ -5818,7 +5818,7 @@ function aA(n, t, e) {
5818
5818
  const S = I.get(M.id);
5819
5819
  if (S)
5820
5820
  return S;
5821
- const { x: T, y: Q, z: F } = M.position, H = new se(T, Q, F).clone().distanceTo(s.camera.position);
5821
+ const { x: T, y: Q, z: _ } = M.position, H = new se(T, Q, _).clone().distanceTo(s.camera.position);
5822
5822
  return I.set(M.id, H), H;
5823
5823
  }
5824
5824
  return o.map((M) => {
@@ -6502,7 +6502,7 @@ function kA(n, t) {
6502
6502
  }
6503
6503
  function DA(n, t, e) {
6504
6504
  let i, s, o, r, a, l, c, h, u, f, m, p, v, { pxmm: g } = t, { roomAreaEnable: A } = t, { roomNameEnable: w } = t, { roomDimensionEnable: I } = t, { room: C } = t, { hoveredRoom: E } = t, { getRoomAreaText: M } = t, { getRoomDimensionText: S } = t, { getLabelElement: T } = t, { adaptiveRoomLabelVisibleEnable: Q } = t;
6505
- function F(K, Ae) {
6505
+ function _(K, Ae) {
6506
6506
  if (Ae.width === 0 || Ae.height === 0)
6507
6507
  return () => !1;
6508
6508
  const ze = K.path.map(({ x: Be, y: Ge }) => [Be, Ge]), pe = K.roomLabel.position, { x: Ye, y: je } = pe, { width: ke, height: tt } = Ae, le = ke / 2, Ce = tt / 2;
@@ -6516,7 +6516,7 @@ function DA(n, t, e) {
6516
6516
  ].every((Ie) => kA(Ie, it));
6517
6517
  };
6518
6518
  }
6519
- const H = document.body.clientWidth, G = document.body.clientHeight, N = C.roomLabel, U = N.positionInImage.x * 100 + "%", _ = N.positionInImage.y * 100 + "%", Y = (H < 500 || G < 500 ? 10 : 14) + "px", X = (H < 500 || G < 500 ? 8 : 12) + "px";
6519
+ const H = document.body.clientWidth, G = document.body.clientHeight, N = C.roomLabel, U = N.positionInImage.x * 100 + "%", F = N.positionInImage.y * 100 + "%", Y = (H < 500 || G < 500 ? 10 : 14) + "px", X = (H < 500 || G < 500 ? 8 : 12) + "px";
6520
6520
  let J = 0, ae = 0, re = 0, Pe = 0, ve = !1;
6521
6521
  E.subscribe(function(Ae) {
6522
6522
  e(25, ve = !!Ae && Ae.id === C.id);
@@ -6540,13 +6540,13 @@ function DA(n, t, e) {
6540
6540
  8388616 && e(13, o = C != null && C.dimension ? S((K = C.dimension) == null ? void 0 : K.width, (Ae = C.dimension) == null ? void 0 : Ae.height) : ""), n.$$.dirty[0] & /*clientWidth, clientHeight*/
6541
6541
  384 && e(31, r = { width: re, height: Pe }), n.$$.dirty[0] & /*room*/
6542
6542
  8 | n.$$.dirty[1] & /*labelElementSize*/
6543
- 1 && e(30, a = r ? F(C, r) : void 0), n.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isLabelInRoom, pxmm*/
6543
+ 1 && e(30, a = r ? _(C, r) : void 0), n.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isLabelInRoom, pxmm*/
6544
6544
  1091567616 && e(27, l = Q ? !!(a != null && a(g)) : !0), n.$$.dirty[0] & /*wrapperClientWidth, wrapperClientHeight*/
6545
6545
  96 && e(29, c = {
6546
6546
  width: J,
6547
6547
  height: ae
6548
6548
  }), n.$$.dirty[0] & /*wrapperLabelElementSize, room*/
6549
- 536870920 && e(28, h = c ? F(C, c) : void 0), n.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isAllLabelInRoom, pxmm*/
6549
+ 536870920 && e(28, h = c ? _(C, c) : void 0), n.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isAllLabelInRoom, pxmm*/
6550
6550
  286261248 && e(26, u = Q ? !!(h != null && h(g)) : !0), n.$$.dirty[0] & /*wrapperLabelVisible, mainLabelVisible, isHovered*/
6551
6551
  234881024 && e(12, f = u || l || ve), n.$$.dirty[0] & /*mainLabelVisible, isHovered*/
6552
6552
  167772160 && e(11, m = l || ve), n.$$.dirty[0] & /*wrapperLabelVisible, isHovered*/
@@ -6570,7 +6570,7 @@ function DA(n, t, e) {
6570
6570
  s,
6571
6571
  i,
6572
6572
  U,
6573
- _,
6573
+ F,
6574
6574
  Y,
6575
6575
  X,
6576
6576
  g,
@@ -8795,10 +8795,10 @@ function Lb(n) {
8795
8795
  };
8796
8796
  }
8797
8797
  function zb(n, t, e) {
8798
- let i, s, { panoIndex: o } = t, { isCurrent: r } = t, { floorIndex: a } = t, { highlightEnable: l } = t, { cameraEnable: c } = t, { hoverEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: f } = t, { roomNameEnable: m } = t, { roomDimensionEnable: p } = t, { ruleLabelsEnable: v } = t, { floorplanData: g } = t, { getRoomAreaText: A } = t, { getRoomDimensionText: w } = t, { getLabelElement: I } = t, { getRuleDistanceText: C } = t, { adaptiveRoomLabelVisibleEnable: E } = t, { highlightData: M } = t, { missingFloorConfig: S } = t, { lastPanoramaLongitude: T } = t, { cameraImageUrl: Q } = t, { northDesc: F } = t, { compassEnable: H } = t;
8798
+ let i, s, { panoIndex: o } = t, { isCurrent: r } = t, { floorIndex: a } = t, { highlightEnable: l } = t, { cameraEnable: c } = t, { hoverEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: f } = t, { roomNameEnable: m } = t, { roomDimensionEnable: p } = t, { ruleLabelsEnable: v } = t, { floorplanData: g } = t, { getRoomAreaText: A } = t, { getRoomDimensionText: w } = t, { getLabelElement: I } = t, { getRuleDistanceText: C } = t, { adaptiveRoomLabelVisibleEnable: E } = t, { highlightData: M } = t, { missingFloorConfig: S } = t, { lastPanoramaLongitude: T } = t, { cameraImageUrl: Q } = t, { northDesc: _ } = t, { compassEnable: H } = t;
8799
8799
  const G = oc(void 0);
8800
8800
  return n.$$set = (N) => {
8801
- "panoIndex" in N && e(0, o = N.panoIndex), "isCurrent" in N && e(1, r = N.isCurrent), "floorIndex" in N && e(2, a = N.floorIndex), "highlightEnable" in N && e(3, l = N.highlightEnable), "cameraEnable" in N && e(4, c = N.cameraEnable), "hoverEnable" in N && e(5, h = N.hoverEnable), "roomLabelsEnable" in N && e(6, u = N.roomLabelsEnable), "roomAreaEnable" in N && e(7, f = N.roomAreaEnable), "roomNameEnable" in N && e(8, m = N.roomNameEnable), "roomDimensionEnable" in N && e(9, p = N.roomDimensionEnable), "ruleLabelsEnable" in N && e(10, v = N.ruleLabelsEnable), "floorplanData" in N && e(11, g = N.floorplanData), "getRoomAreaText" in N && e(12, A = N.getRoomAreaText), "getRoomDimensionText" in N && e(13, w = N.getRoomDimensionText), "getLabelElement" in N && e(14, I = N.getLabelElement), "getRuleDistanceText" in N && e(15, C = N.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in N && e(16, E = N.adaptiveRoomLabelVisibleEnable), "highlightData" in N && e(17, M = N.highlightData), "missingFloorConfig" in N && e(18, S = N.missingFloorConfig), "lastPanoramaLongitude" in N && e(19, T = N.lastPanoramaLongitude), "cameraImageUrl" in N && e(20, Q = N.cameraImageUrl), "northDesc" in N && e(21, F = N.northDesc), "compassEnable" in N && e(22, H = N.compassEnable);
8801
+ "panoIndex" in N && e(0, o = N.panoIndex), "isCurrent" in N && e(1, r = N.isCurrent), "floorIndex" in N && e(2, a = N.floorIndex), "highlightEnable" in N && e(3, l = N.highlightEnable), "cameraEnable" in N && e(4, c = N.cameraEnable), "hoverEnable" in N && e(5, h = N.hoverEnable), "roomLabelsEnable" in N && e(6, u = N.roomLabelsEnable), "roomAreaEnable" in N && e(7, f = N.roomAreaEnable), "roomNameEnable" in N && e(8, m = N.roomNameEnable), "roomDimensionEnable" in N && e(9, p = N.roomDimensionEnable), "ruleLabelsEnable" in N && e(10, v = N.ruleLabelsEnable), "floorplanData" in N && e(11, g = N.floorplanData), "getRoomAreaText" in N && e(12, A = N.getRoomAreaText), "getRoomDimensionText" in N && e(13, w = N.getRoomDimensionText), "getLabelElement" in N && e(14, I = N.getLabelElement), "getRuleDistanceText" in N && e(15, C = N.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in N && e(16, E = N.adaptiveRoomLabelVisibleEnable), "highlightData" in N && e(17, M = N.highlightData), "missingFloorConfig" in N && e(18, S = N.missingFloorConfig), "lastPanoramaLongitude" in N && e(19, T = N.lastPanoramaLongitude), "cameraImageUrl" in N && e(20, Q = N.cameraImageUrl), "northDesc" in N && e(21, _ = N.northDesc), "compassEnable" in N && e(22, H = N.compassEnable);
8802
8802
  }, n.$$.update = () => {
8803
8803
  n.$$.dirty & /*floorplanData, floorIndex*/
8804
8804
  2052 && e(25, i = g.floorDatas[a]), n.$$.dirty & /*floorData*/
@@ -8825,7 +8825,7 @@ function zb(n, t, e) {
8825
8825
  S,
8826
8826
  T,
8827
8827
  Q,
8828
- F,
8828
+ _,
8829
8829
  H,
8830
8830
  s,
8831
8831
  G,
@@ -9203,9 +9203,9 @@ function Bb(n) {
9203
9203
  };
9204
9204
  }
9205
9205
  function Vb(n, t, e) {
9206
- let { duration: i = 0 } = t, { visible: s } = t, { northDesc: o } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: h } = t, { compassEnable: u } = t, { roomLabelsEnable: f } = t, { roomAreaEnable: m } = t, { roomNameEnable: p } = t, { roomDimensionEnable: v } = t, { ruleLabelsEnable: g } = t, { floorplanData: A } = t, { lastPanoramaLongitude: w } = t, { cameraImageUrl: I } = t, { getRoomAreaText: C } = t, { getRoomDimensionText: E } = t, { getLabelElement: M } = t, { getRuleDistanceText: S } = t, { adaptiveRoomLabelVisibleEnable: T } = t, { highlightData: Q } = t, { missingFloorConfig: F } = t;
9206
+ let { duration: i = 0 } = t, { visible: s } = t, { northDesc: o } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: h } = t, { compassEnable: u } = t, { roomLabelsEnable: f } = t, { roomAreaEnable: m } = t, { roomNameEnable: p } = t, { roomDimensionEnable: v } = t, { ruleLabelsEnable: g } = t, { floorplanData: A } = t, { lastPanoramaLongitude: w } = t, { cameraImageUrl: I } = t, { getRoomAreaText: C } = t, { getRoomDimensionText: E } = t, { getLabelElement: M } = t, { getRuleDistanceText: S } = t, { adaptiveRoomLabelVisibleEnable: T } = t, { highlightData: Q } = t, { missingFloorConfig: _ } = t;
9207
9207
  return n.$$set = (H) => {
9208
- "duration" in H && e(0, i = H.duration), "visible" in H && e(1, s = H.visible), "northDesc" in H && e(2, o = H.northDesc), "panoIndex" in H && e(3, r = H.panoIndex), "floorIndex" in H && e(4, a = H.floorIndex), "cameraEnable" in H && e(5, l = H.cameraEnable), "hoverEnable" in H && e(6, c = H.hoverEnable), "highlightEnable" in H && e(7, h = H.highlightEnable), "compassEnable" in H && e(8, u = H.compassEnable), "roomLabelsEnable" in H && e(9, f = H.roomLabelsEnable), "roomAreaEnable" in H && e(10, m = H.roomAreaEnable), "roomNameEnable" in H && e(11, p = H.roomNameEnable), "roomDimensionEnable" in H && e(12, v = H.roomDimensionEnable), "ruleLabelsEnable" in H && e(13, g = H.ruleLabelsEnable), "floorplanData" in H && e(14, A = H.floorplanData), "lastPanoramaLongitude" in H && e(15, w = H.lastPanoramaLongitude), "cameraImageUrl" in H && e(16, I = H.cameraImageUrl), "getRoomAreaText" in H && e(17, C = H.getRoomAreaText), "getRoomDimensionText" in H && e(18, E = H.getRoomDimensionText), "getLabelElement" in H && e(19, M = H.getLabelElement), "getRuleDistanceText" in H && e(20, S = H.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in H && e(21, T = H.adaptiveRoomLabelVisibleEnable), "highlightData" in H && e(22, Q = H.highlightData), "missingFloorConfig" in H && e(23, F = H.missingFloorConfig);
9208
+ "duration" in H && e(0, i = H.duration), "visible" in H && e(1, s = H.visible), "northDesc" in H && e(2, o = H.northDesc), "panoIndex" in H && e(3, r = H.panoIndex), "floorIndex" in H && e(4, a = H.floorIndex), "cameraEnable" in H && e(5, l = H.cameraEnable), "hoverEnable" in H && e(6, c = H.hoverEnable), "highlightEnable" in H && e(7, h = H.highlightEnable), "compassEnable" in H && e(8, u = H.compassEnable), "roomLabelsEnable" in H && e(9, f = H.roomLabelsEnable), "roomAreaEnable" in H && e(10, m = H.roomAreaEnable), "roomNameEnable" in H && e(11, p = H.roomNameEnable), "roomDimensionEnable" in H && e(12, v = H.roomDimensionEnable), "ruleLabelsEnable" in H && e(13, g = H.ruleLabelsEnable), "floorplanData" in H && e(14, A = H.floorplanData), "lastPanoramaLongitude" in H && e(15, w = H.lastPanoramaLongitude), "cameraImageUrl" in H && e(16, I = H.cameraImageUrl), "getRoomAreaText" in H && e(17, C = H.getRoomAreaText), "getRoomDimensionText" in H && e(18, E = H.getRoomDimensionText), "getLabelElement" in H && e(19, M = H.getLabelElement), "getRuleDistanceText" in H && e(20, S = H.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in H && e(21, T = H.adaptiveRoomLabelVisibleEnable), "highlightData" in H && e(22, Q = H.highlightData), "missingFloorConfig" in H && e(23, _ = H.missingFloorConfig);
9209
9209
  }, [
9210
9210
  i,
9211
9211
  s,
@@ -9230,7 +9230,7 @@ function Vb(n, t, e) {
9230
9230
  S,
9231
9231
  T,
9232
9232
  Q,
9233
- F
9233
+ _
9234
9234
  ];
9235
9235
  }
9236
9236
  let rc = class extends de {
@@ -9381,7 +9381,7 @@ let Qi = class {
9381
9381
  /**
9382
9382
  * @realsee/dnalogel 版本号
9383
9383
  */
9384
- d(this, "VERSION", "3.58.4");
9384
+ d(this, "VERSION", "3.58.5-alpha.1");
9385
9385
  d(this, "NAME");
9386
9386
  d(this, "five");
9387
9387
  d(this, "workUtil");
@@ -10529,8 +10529,8 @@ function r1(n, t, e) {
10529
10529
  const M = C.bounding, S = C.observers[E];
10530
10530
  if (!S)
10531
10531
  return "";
10532
- const T = (M.max.x - M.min.x) * l, Q = (M.max.y - M.min.y) * l, F = Math.floor(S.positionInImage.x * T), H = Math.floor(S.positionInImage.y * Q);
10533
- return `translate(${F}px, ${H}px)`;
10532
+ const T = (M.max.x - M.min.x) * l, Q = (M.max.y - M.min.y) * l, _ = Math.floor(S.positionInImage.x * T), H = Math.floor(S.positionInImage.y * Q);
10533
+ return `translate(${_}px, ${H}px)`;
10534
10534
  }
10535
10535
  function v(C) {
10536
10536
  e(7, u = C);
@@ -11184,8 +11184,8 @@ function y1(n, t, e) {
11184
11184
  }, n.$$.update = () => {
11185
11185
  if (n.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
11186
11186
  1800) {
11187
- const M = Math.min(m, p), { max: S, min: T } = r.bounding, Q = S.x - T.x, F = S.y - T.y, H = function() {
11188
- return Q > F ? [M, M / Q * F] : [M / F * Q, M];
11187
+ const M = Math.min(m, p), { max: S, min: T } = r.bounding, Q = S.x - T.x, _ = S.y - T.y, H = function() {
11188
+ return Q > _ ? [M, M / Q * _] : [M / _ * Q, M];
11189
11189
  }();
11190
11190
  e(10, v = H[0]), e(13, g = H[1]), e(11, u = v / Q);
11191
11191
  }
@@ -11549,8 +11549,8 @@ function I1(n, t) {
11549
11549
  const E1 = ({ x: n, y: t, z: e }) => new se(n, t, e), pD = (n, t) => {
11550
11550
  var v, g, A;
11551
11551
  const e = {}, i = (v = t.animationEnabled) != null ? v : !0, s = (g = t.position) != null ? g : void 0, o = (A = t.rad) != null ? A : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (w) => W(void 0, null, function* () {
11552
- var F, H, G, N, U, _, Y, X;
11553
- const I = (F = w == null ? void 0 : w.position) != null ? F : s;
11552
+ var _, H, G, N, U, F, Y, X;
11553
+ const I = (_ = w == null ? void 0 : w.position) != null ? _ : s;
11554
11554
  if (!I)
11555
11555
  return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
11556
11556
  const C = E1(I), E = (H = w == null ? void 0 : w.rad) != null ? H : o, M = (G = w == null ? void 0 : w.fbx_url) != null ? G : r;
@@ -11558,7 +11558,7 @@ const E1 = ({ x: n, y: t, z: e }) => new se(n, t, e), pD = (n, t) => {
11558
11558
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${E}`));
11559
11559
  const S = yield new Of().loadAsync(M);
11560
11560
  S.position.copy(C), S.rotation.z = E, S.scale.set(0.8, 0.8, 0.8), zm(S, { transparent: !0, side: b.DoubleSide });
11561
- const T = (Y = (_ = (U = (N = S.children) == null ? void 0 : N[0]) == null ? void 0 : U.children) == null ? void 0 : _[3]) == null ? void 0 : Y.clone();
11561
+ const T = (Y = (F = (U = (N = S.children) == null ? void 0 : N[0]) == null ? void 0 : U.children) == null ? void 0 : F[3]) == null ? void 0 : Y.clone();
11562
11562
  if (!T)
11563
11563
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${T}`));
11564
11564
  const Q = (X = t.name) != null ? X : "入户门";
@@ -11574,14 +11574,14 @@ const E1 = ({ x: n, y: t, z: e }) => new se(n, t, e), pD = (n, t) => {
11574
11574
  C.timeScale = w;
11575
11575
  let E;
11576
11576
  const M = () => {
11577
- let F = 0, H = 0;
11577
+ let _ = 0, H = 0;
11578
11578
  const G = 1e3 / 30, N = (U) => {
11579
- F = requestAnimationFrame(N);
11580
- const _ = U - H;
11581
- _ < G || (H = U, a.forEach((Y) => Y.update(_ / 1e3)), n.needsRender = !0);
11579
+ _ = requestAnimationFrame(N);
11580
+ const F = U - H;
11581
+ F < G || (H = U, a.forEach((Y) => Y.update(F / 1e3)), n.needsRender = !0);
11582
11582
  };
11583
- return F = requestAnimationFrame(N), () => {
11584
- cancelAnimationFrame(F);
11583
+ return _ = requestAnimationFrame(N), () => {
11584
+ cancelAnimationFrame(_);
11585
11585
  };
11586
11586
  }, Q = { play: () => {
11587
11587
  E || (C.play(), E = M(), requestAnimationFrame(() => {
@@ -11884,15 +11884,15 @@ const L1 = `<style type="text/css">
11884
11884
  const E = g[C], M = (I = w.observers[0]) == null ? void 0 : I.standingPosition;
11885
11885
  if (!M)
11886
11886
  return;
11887
- const S = E.map(({ x: T, z: Q, observers: F }) => {
11888
- const H = F.length > 0 ? v.rooms[v.observers[F[0]]].name : "", G = A[H] ? A[H].floor : null;
11887
+ const S = E.map(({ x: T, z: Q, observers: _ }) => {
11888
+ const H = _.length > 0 ? v.rooms[v.observers[_[0]]].name : "", G = A[H] ? A[H].floor : null;
11889
11889
  let N = 1 / 0, U = {
11890
11890
  index: 0,
11891
11891
  x: M.x,
11892
11892
  y: M.y,
11893
11893
  z: M.z
11894
11894
  };
11895
- F.forEach((re) => {
11895
+ _.forEach((re) => {
11896
11896
  if (!w.observers[re])
11897
11897
  return;
11898
11898
  const { standingPosition: Pe } = w.observers[re], ve = {
@@ -11903,10 +11903,10 @@ const L1 = `<style type="text/css">
11903
11903
  }, ge = z1({ x: T, z: Q }, ve);
11904
11904
  G ? ge < N && Math.abs(ve.y - G) < 0.3 && (N = ge, U = ve) : ge < N && (N = ge, U = ve);
11905
11905
  });
11906
- const _ = new se(T, U.y, Q);
11907
- Object.assign(_, { observers: F });
11906
+ const F = new se(T, U.y, Q);
11907
+ Object.assign(F, { observers: _ });
11908
11908
  const Y = A[H] ? A[H].roof : null, X = Y ? new se(T, Y, Q) : null;
11909
- return X && Object.assign(X, { observers: F }), { origin: _, vertical: X };
11909
+ return X && Object.assign(X, { observers: _ }), { origin: F, vertical: X };
11910
11910
  });
11911
11911
  r[C] = {
11912
11912
  origins: S.map((T) => T.origin),
@@ -11915,14 +11915,14 @@ const L1 = `<style type="text/css">
11915
11915
  for (const { origin: T, vertical: Q } of S) {
11916
11916
  if (!Q)
11917
11917
  continue;
11918
- const F = i(C, T.distanceTo(Q));
11919
- s.append(F), r[C].rules.push({ vertical: !0, rule: [T, Q], $element: F });
11918
+ const _ = i(C, T.distanceTo(Q));
11919
+ s.append(_), r[C].rules.push({ vertical: !0, rule: [T, Q], $element: _ });
11920
11920
  }
11921
11921
  for (let T = 0; T < S.length; T++) {
11922
11922
  let Q = T + 1;
11923
11923
  Q >= S.length && (Q = 0);
11924
- const { origin: F } = S[T], { origin: H } = S[Q], G = i(C, F.distanceTo(H));
11925
- s.append(G), r[C].rules.push({ vertical: !1, rule: [F, H], $element: G });
11924
+ const { origin: _ } = S[T], { origin: H } = S[Q], G = i(C, _.distanceTo(H));
11925
+ s.append(G), r[C].rules.push({ vertical: !1, rule: [_, H], $element: G });
11926
11926
  }
11927
11927
  }
11928
11928
  return e.loaded = !0, !0;
@@ -11966,31 +11966,31 @@ const L1 = `<style type="text/css">
11966
11966
  if (g === void 0)
11967
11967
  return;
11968
11968
  let I;
11969
- for (const F in r)
11970
- F.split(",").indexOf(g.toString()) >= 0 && (I = F);
11969
+ for (const _ in r)
11970
+ _.split(",").indexOf(g.toString()) >= 0 && (I = _);
11971
11971
  if (!I) {
11972
- for (const F in r)
11973
- for (const { $element: H } of r[F].rules)
11972
+ for (const _ in r)
11973
+ for (const { $element: H } of r[_].rules)
11974
11974
  H.style.display = "none";
11975
11975
  return;
11976
11976
  }
11977
11977
  const C = A.position, E = A.getWorldDirection(new se()), M = v.clientWidth, S = v.clientHeight;
11978
11978
  if (w !== yt.Mode.Panorama) {
11979
- for (const F in r)
11980
- for (const { $element: H } of r[F].rules)
11979
+ for (const _ in r)
11980
+ for (const { $element: H } of r[_].rules)
11981
11981
  H.style.display = "none";
11982
11982
  return;
11983
11983
  }
11984
- for (const F in r)
11985
- for (const { $element: H } of r[F].rules)
11986
- H.style.display = F === I ? "block" : "none";
11987
- const [T] = r[I].origins.slice().filter((F) => F.observers.indexOf(g) >= 0).sort((F, H) => {
11988
- const G = F.clone().setY(0).sub(C).normalize().angleTo(E.clone().setY(0)), N = H.clone().setY(0).sub(C).normalize().angleTo(E.clone().setY(0));
11984
+ for (const _ in r)
11985
+ for (const { $element: H } of r[_].rules)
11986
+ H.style.display = _ === I ? "block" : "none";
11987
+ const [T] = r[I].origins.slice().filter((_) => _.observers.indexOf(g) >= 0).sort((_, H) => {
11988
+ const G = _.clone().setY(0).sub(C).normalize().angleTo(E.clone().setY(0)), N = H.clone().setY(0).sub(C).normalize().angleTo(E.clone().setY(0));
11989
11989
  return G - N;
11990
11990
  });
11991
- for (const { rule: F, vertical: H, $element: G } of r[I].rules) {
11992
- const [N, U] = F, _ = G.querySelector(".PanoRulerPlugin-rule-line");
11993
- if (!_)
11991
+ for (const { rule: _, vertical: H, $element: G } of r[I].rules) {
11992
+ const [N, U] = _, F = G.querySelector(".PanoRulerPlugin-rule-line");
11993
+ if (!F)
11994
11994
  return;
11995
11995
  if (!T) {
11996
11996
  G.style.display = "none";
@@ -12041,8 +12041,8 @@ const L1 = `<style type="text/css">
12041
12041
  };
12042
12042
  ze = Math.sqrt(Math.pow(le.x - ve, 2) + Math.pow(le.y - ge, 2)) / K * 100;
12043
12043
  }
12044
- const je = (Math.PI / 2 - Math.atan2(ye - ve, ge - We)) / Math.PI * 180, ke = _.querySelector(".PanoRulerPlugin-rule-label"), tt = ke.children[0].clientWidth;
12045
- tt >= K || tt / 2 >= ze / 100 * K || tt / 2 >= (1 - ze / 100) * K ? _.style.display = "none" : (_.style.display = "block", _.style.width = K + "px", _.style.left = ve + "px", _.style.top = ge + "px", _.style.transform = `rotate(${-je}deg)`, ke.style.left = `${ze}%`);
12044
+ const je = (Math.PI / 2 - Math.atan2(ye - ve, ge - We)) / Math.PI * 180, ke = F.querySelector(".PanoRulerPlugin-rule-label"), tt = ke.children[0].clientWidth;
12045
+ tt >= K || tt / 2 >= ze / 100 * K || tt / 2 >= (1 - ze / 100) * K ? F.style.display = "none" : (F.style.display = "block", F.style.width = K + "px", F.style.left = ve + "px", F.style.top = ge + "px", F.style.transform = `rotate(${-je}deg)`, ke.style.left = `${ze}%`);
12046
12046
  }
12047
12047
  }, u = () => Bm(h), f = () => {
12048
12048
  var v, g;
@@ -12376,21 +12376,21 @@ function N1(n, t, e) {
12376
12376
  }
12377
12377
  return M.length === 0 ? !1 : M;
12378
12378
  }, h = (I, C) => {
12379
- const E = I.clone().project(i.camera), M = (E.x + 1) / 2 * a, S = (-E.y + 1) / 2 * l, T = C.clone().project(i.camera), Q = (T.x + 1) / 2 * a, F = (-T.y + 1) / 2 * l, H = Math.sqrt(Math.pow(Q - M, 2) + Math.pow(F - S, 2));
12379
+ const E = I.clone().project(i.camera), M = (E.x + 1) / 2 * a, S = (-E.y + 1) / 2 * l, T = C.clone().project(i.camera), Q = (T.x + 1) / 2 * a, _ = (-T.y + 1) / 2 * l, H = Math.sqrt(Math.pow(Q - M, 2) + Math.pow(_ - S, 2));
12380
12380
  return {
12381
12381
  startLeft: M,
12382
12382
  startTop: S,
12383
12383
  endLeft: Q,
12384
- endTop: F,
12384
+ endTop: _,
12385
12385
  distance: H
12386
12386
  };
12387
12387
  }, u = (I, C, E) => {
12388
- const M = i.camera.position, S = i.camera.getWorldDirection(new se()), T = I.clone().sub(M).normalize().angleTo(S), Q = C.clone().sub(M).normalize().angleTo(S), F = I.distanceTo(C), G = C.clone().sub(C.clone().sub(I).divide(new se(2, 2, 2))).distanceTo(M), { startLeft: N, startTop: U, endLeft: _, endTop: Y, distance: X } = h(I, C), ae = -((Math.PI / 2 - Math.atan2(_ - N, U - Y)) / Math.PI) * 180;
12388
+ const M = i.camera.position, S = i.camera.getWorldDirection(new se()), T = I.clone().sub(M).normalize().angleTo(S), Q = C.clone().sub(M).normalize().angleTo(S), _ = I.distanceTo(C), G = C.clone().sub(C.clone().sub(I).divide(new se(2, 2, 2))).distanceTo(M), { startLeft: N, startTop: U, endLeft: F, endTop: Y, distance: X } = h(I, C), ae = -((Math.PI / 2 - Math.atan2(F - N, U - Y)) / Math.PI) * 180;
12389
12389
  let re = !0;
12390
- E || (re = !1), !wt(I, E) && !wt(C, E) && (re = !1), F < 0.3 && (re = !1), T > Math.PI / 2 && (re = !1), Q > Math.PI / 2 && (re = !1), G / F > 8 && (re = !1);
12390
+ E || (re = !1), !wt(I, E) && !wt(C, E) && (re = !1), _ < 0.3 && (re = !1), T > Math.PI / 2 && (re = !1), Q > Math.PI / 2 && (re = !1), G / _ > 8 && (re = !1);
12391
12391
  let Pe = 50, ve = X;
12392
- const ge = c({ x: ~~N, y: ~~U }, { x: ~~_, y: ~~Y });
12393
- if (ge && ge.length === 1 && (wt(I, E) ? (ve = Math.sqrt(Math.pow(ge[0].x - N, 2) + Math.pow(ge[0].y - U, 2)), Pe = ve / X * 50) : wt(C, E) && (ve = Math.sqrt(Math.pow(ge[0].x - _, 2) + Math.pow(ge[0].y - Y, 2)), Pe = 100 - ve / X * 50)), ge && ge.length === 2) {
12392
+ const ge = c({ x: ~~N, y: ~~U }, { x: ~~F, y: ~~Y });
12393
+ if (ge && ge.length === 1 && (wt(I, E) ? (ve = Math.sqrt(Math.pow(ge[0].x - N, 2) + Math.pow(ge[0].y - U, 2)), Pe = ve / X * 50) : wt(C, E) && (ve = Math.sqrt(Math.pow(ge[0].x - F, 2) + Math.pow(ge[0].y - Y, 2)), Pe = 100 - ve / X * 50)), ge && ge.length === 2) {
12394
12394
  const _e = {
12395
12395
  x: (ge[0].x + ge[1].x) / 2,
12396
12396
  y: (ge[0].y + ge[1].y) / 2
@@ -12404,7 +12404,7 @@ function N1(n, t, e) {
12404
12404
  deg: ae,
12405
12405
  visible: re,
12406
12406
  labelOffset: Pe,
12407
- ruleLength: F
12407
+ ruleLength: _
12408
12408
  };
12409
12409
  }, f = () => {
12410
12410
  const I = i.panoIndex, C = s.find((H) => H.panoIndex === I);
@@ -12415,16 +12415,16 @@ function N1(n, t, e) {
12415
12415
  const E = i.camera.position, M = i.camera.getWorldDirection(new se()), S = C.lines.map((H) => new se(H.start[0], -H.start[1], -H.start[2])), T = C.lines.map((H) => new se(H.end[0], -H.end[1], -H.end[2])), [Q] = S.concat(T).sort((H, G) => {
12416
12416
  const N = H.clone().setY(0).sub(E).normalize().angleTo(M.clone().setY(0)), U = G.clone().setY(0).sub(E).normalize().angleTo(M.clone().setY(0));
12417
12417
  return N - U;
12418
- }), F = C.lines.map((H) => {
12418
+ }), _ = C.lines.map((H) => {
12419
12419
  var ve, ge;
12420
- const G = H.start, N = H.end, { startLeft: U, startTop: _, distance: Y, deg: X, visible: J, labelOffset: ae, ruleLength: re } = u(new se(G[0], -G[1], -G[2]), new se(N[0], -N[1], -N[2]), Q), Pe = [];
12420
+ const G = H.start, N = H.end, { startLeft: U, startTop: F, distance: Y, deg: X, visible: J, labelOffset: ae, ruleLength: re } = u(new se(G[0], -G[1], -G[2]), new se(N[0], -N[1], -N[2]), Q), Pe = [];
12421
12421
  return H.children && ((ve = H.children) == null ? void 0 : ve.length) > 0 && ((ge = H.children) == null || ge.forEach((_e) => {
12422
12422
  const ye = _e.start, We = _e.end, { distance: K } = h(new se(ye[0], -ye[1], -ye[2]), new se(We[0], -We[1], -We[2]));
12423
12423
  Pe.push({ width: K, state: _e.state });
12424
12424
  })), {
12425
12425
  width: Y,
12426
12426
  left: U,
12427
- top: _,
12427
+ top: F,
12428
12428
  rotateDeg: X,
12429
12429
  state: H.state,
12430
12430
  children: Pe,
@@ -12433,7 +12433,7 @@ function N1(n, t, e) {
12433
12433
  labelElement: o.distanceText(re)
12434
12434
  };
12435
12435
  });
12436
- e(0, r = F);
12436
+ e(0, r = _);
12437
12437
  }, m = () => ro(f), p = yr(f, 80);
12438
12438
  return Mt(() => {
12439
12439
  f(), i.on("panoArrived", f), i.on("modeChange", f), i.on("cameraDirectionUpdate", m), i.on("movingToPano", m), i.on("mouseWheel", () => p()), i.on("pinchGesture", () => p());
@@ -15929,7 +15929,7 @@ function cw(n) {
15929
15929
  }
15930
15930
  const $n = 100;
15931
15931
  function hw(n, t, e) {
15932
- let { measureController: i } = t, { showExit: s = !1 } = t, { i18n: o = (F) => F } = t;
15932
+ let { measureController: i } = t, { showExit: s = !1 } = t, { i18n: o = (_) => _ } = t;
15933
15933
  const r = {
15934
15934
  start: o("开始"),
15935
15935
  add: o("添加"),
@@ -15948,24 +15948,24 @@ function hw(n, t, e) {
15948
15948
  i.controller instanceof Ti && i.controller.selectPoint();
15949
15949
  }, p = () => {
15950
15950
  i.controller instanceof Ti && i.controller.complete();
15951
- }, v = (F) => {
15952
- e(3, h = F);
15951
+ }, v = (_) => {
15952
+ e(3, h = _);
15953
15953
  }, g = () => {
15954
15954
  m(), E("allow");
15955
15955
  }, A = () => {
15956
15956
  v("complete");
15957
15957
  }, w = () => {
15958
15958
  i.currentMeasureType === "area" && h === "complete" && v("add");
15959
- }, I = (F) => {
15960
- F.length;
15959
+ }, I = (_) => {
15960
+ _.length;
15961
15961
  }, C = () => {
15962
15962
  v("start"), E("allow");
15963
- }, E = (F) => {
15964
- e(5, c = F === "allow");
15965
- }, M = (F) => {
15966
- e(12, u = F);
15967
- }, S = (F) => {
15968
- F.isEmpty && v("start");
15963
+ }, E = (_) => {
15964
+ e(5, c = _ === "allow");
15965
+ }, M = (_) => {
15966
+ e(12, u = _);
15967
+ }, S = (_) => {
15968
+ _.isEmpty && v("start");
15969
15969
  };
15970
15970
  Mt(() => {
15971
15971
  i.hook.on("revoke", S), i.hook.on("measureTypeChange", M), i.hook.on("modeChange", C), i.hook.on("pointsChange", I), i.hook.on("allowAddPointStateChange", E), i.hook.on("readyComplete", A), i.hook.on("notReadyComplete", w), i.hook.on("complete", C);
@@ -15975,8 +15975,8 @@ function hw(n, t, e) {
15975
15975
  const T = () => i.revoke(), Q = () => {
15976
15976
  h === "start" ? f() : h === "add" ? m() : (h === "end" || h === "complete") && g();
15977
15977
  };
15978
- return n.$$set = (F) => {
15979
- "measureController" in F && e(0, i = F.measureController), "showExit" in F && e(1, s = F.showExit), "i18n" in F && e(2, o = F.i18n);
15978
+ return n.$$set = (_) => {
15979
+ "measureController" in _ && e(0, i = _.measureController), "showExit" in _ && e(1, s = _.showExit), "i18n" in _ && e(2, o = _.i18n);
15980
15980
  }, n.$$.update = () => {
15981
15981
  n.$$.dirty & /*currentMeasureType, buttonState*/
15982
15982
  4104 && e(4, l = u === "area" && h !== "start");
@@ -16771,8 +16771,8 @@ function Dw(n, t, e) {
16771
16771
  T = null;
16772
16772
  break;
16773
16773
  }
16774
- S.forEach((F) => {
16775
- Q.includes(F) && f[F](i);
16774
+ S.forEach((_) => {
16775
+ Q.includes(_) && f[_](i);
16776
16776
  }), T = T.parentNode;
16777
16777
  }
16778
16778
  };
@@ -17168,7 +17168,7 @@ const Ba = 1e-3, kd = 0.01, Bw = "https://vrlab-image4.ljcdn.com/release/web/Pan
17168
17168
  }), K.render && (v.render = K.render), K.template && (v.template = K.template), K.events && (v.events = K.events), K.enabled === !1 && (v.enabled = K.enabled), K.folded === !0 && (v.folded = K.folded);
17169
17169
  }, Q = (K) => {
17170
17170
  v.intersectObjects = K, M();
17171
- }, F = () => {
17171
+ }, _ = () => {
17172
17172
  v.enabled = !0, M();
17173
17173
  }, H = () => {
17174
17174
  v.enabled = !1, g.$set({ origins: [] }), v.tags.forEach((K) => {
@@ -17186,7 +17186,7 @@ const Ba = 1e-3, kd = 0.01, Bw = "https://vrlab-image4.ljcdn.com/release/web/Pan
17186
17186
  v.tags.forEach((Ae) => {
17187
17187
  Ae.id === K && Ae.app.$set({ folded: !1 });
17188
17188
  });
17189
- }, _ = (K) => {
17189
+ }, F = (K) => {
17190
17190
  v.tags.forEach((Ae) => {
17191
17191
  Ae.id === K && Ae.app.$set({ folded: !0 });
17192
17192
  });
@@ -17205,8 +17205,8 @@ const Ba = 1e-3, kd = 0.01, Bw = "https://vrlab-image4.ljcdn.com/release/web/Pan
17205
17205
  unfoldAll: G,
17206
17206
  foldAll: N,
17207
17207
  unfold: U,
17208
- fold: _,
17209
- enable: F,
17208
+ fold: F,
17209
+ enable: _,
17210
17210
  disable: H,
17211
17211
  hooks: m,
17212
17212
  dispose: J
@@ -17476,12 +17476,12 @@ function Ww(n, t, e) {
17476
17476
  const { Raycaster: i, Vector3: s } = b;
17477
17477
  let { five: o } = t, { modelOcclusionEnable: r } = t, { itemLabels: a } = t, { hooks: l } = t, { displayStrategyType: c } = t, h = null, u = null, f, m, p = [], v = !0;
17478
17478
  const g = (N, U) => {
17479
- const _ = new i(), Y = N.camera.position.clone(), X = new s().fromArray(U.modelPosition), J = X.distanceTo(Y);
17480
- _.set(Y.clone(), X.clone().sub(Y).normalize());
17481
- const [ae] = N.model.intersectRaycaster(_);
17479
+ const F = new i(), Y = N.camera.position.clone(), X = new s().fromArray(U.modelPosition), J = X.distanceTo(Y);
17480
+ F.set(Y.clone(), X.clone().sub(Y).normalize());
17481
+ const [ae] = N.model.intersectRaycaster(F);
17482
17482
  return !(ae && ae.distance + 1 < J);
17483
17483
  }, A = (N, U) => {
17484
- const _ = new s(U.modelPosition[0], U.modelPosition[1], U.modelPosition[2]), Y = N.project2d(_), X = Y == null ? void 0 : Y.x, J = Y == null ? void 0 : Y.y;
17484
+ const F = new s(U.modelPosition[0], U.modelPosition[1], U.modelPosition[2]), Y = N.project2d(F), X = Y == null ? void 0 : Y.x, J = Y == null ? void 0 : Y.y;
17485
17485
  return [X, J];
17486
17486
  }, w = (N) => `translate(${N[0]}px, ${N[1]}px)`, I = (N, U) => p.length === 0 ? !1 : !!p.find((Y) => N[0] >= Y[0] - U && N[0] <= Y[0] + U || N[1] >= Y[1] - Td && N[1] <= Y[1] + Td);
17487
17487
  function C(N, U) {
@@ -17497,7 +17497,7 @@ function Ww(n, t, e) {
17497
17497
  }
17498
17498
  }
17499
17499
  const E = (N, U) => {
17500
- const _ = U.map((X) => {
17500
+ const F = U.map((X) => {
17501
17501
  const J = A(N, X), ae = X.name.length * Qw, re = C(X.modelPosition[1], c), ve = (r ? g(N, X) : !0) && !I([J[0], J[1] + re], ae);
17502
17502
  if (!ve)
17503
17503
  return ee(k({}, X), { visible: ve });
@@ -17508,11 +17508,11 @@ function Ww(n, t, e) {
17508
17508
  transform: ge,
17509
17509
  strokeLength: re
17510
17510
  });
17511
- }), Y = _.filter(({ visible: X }) => X).map((X) => ({
17511
+ }), Y = F.filter(({ visible: X }) => X).map((X) => ({
17512
17512
  itemLabelItem: X,
17513
17513
  distance: new s(X.modelPosition[0], X.modelPosition[1], X.modelPosition[2]).clone().distanceTo(N.camera.position)
17514
17514
  })).sort((X, J) => X.distance - J.distance);
17515
- return _.map((X) => {
17515
+ return F.map((X) => {
17516
17516
  const J = Y.findIndex((ae) => ae.itemLabelItem.id === X.id);
17517
17517
  return J !== void 0 ? ee(k({}, X), { zIndex: J * 10 }) : X;
17518
17518
  });
@@ -17520,7 +17520,7 @@ function Ww(n, t, e) {
17520
17520
  p = [], e(1, u = E(o, u));
17521
17521
  };
17522
17522
  gm(() => {
17523
- F();
17523
+ _();
17524
17524
  });
17525
17525
  const S = () => {
17526
17526
  e(4, v = !1), T();
@@ -17535,7 +17535,7 @@ function Ww(n, t, e) {
17535
17535
  300
17536
17536
  ), Q = () => {
17537
17537
  window.addEventListener("resize", H, !1);
17538
- }, F = () => {
17538
+ }, _ = () => {
17539
17539
  h !== a && (e(1, u = a), h = a, M());
17540
17540
  }, H = () => {
17541
17541
  o.once("renderFrame", M);
@@ -17749,7 +17749,7 @@ const Zw = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
17749
17749
  side: b.DoubleSide
17750
17750
  }), Q = new b.Mesh(I, T);
17751
17751
  Q.renderOrder = 1, Q.name = `ModelTVVideoPlugin-${w}-${performance.now()}`;
17752
- const F = [A[1], A[2], A[3], A[0]], H = i.create3DDomContainer(F);
17752
+ const _ = [A[1], A[2], A[3], A[0]], H = i.create3DDomContainer(_);
17753
17753
  if (H != null && H.container) {
17754
17754
  const G = document.createElement("div");
17755
17755
  G.classList.add("play-icon"), G.style.width = "100%", G.style.height = "100%", G.style.display = "flex", G.style.justifyContent = "center", G.style.alignItems = "center", G.style.pointerEvents = "none", H.container.appendChild(G);
@@ -18210,17 +18210,17 @@ let lC = 11;
18210
18210
  function cC(n, t, e) {
18211
18211
  const { Vector3: i } = b;
18212
18212
  let { five: s } = t, { modelOcclusionEnable: o } = t, { itemLabels: r } = t, { hooks: a } = t, { displayStrategyType: l } = t, { maxVisibleDistance: c } = t, h = null, u = null, f = (s == null ? void 0 : s.currentMode) === yt.Mode.Panorama, m, p, v = [], g = !0;
18213
- const A = (U, _) => {
18214
- const Y = U.camera.position.clone(), X = new i(_.modelPosition[0], _.modelPosition[1], _.modelPosition[2]), J = X.distanceTo(Y);
18213
+ const A = (U, F) => {
18214
+ const Y = U.camera.position.clone(), X = new i(F.modelPosition[0], F.modelPosition[1], F.modelPosition[2]), J = X.distanceTo(Y);
18215
18215
  return c !== void 0 && U.state.mode === yt.Mode.Panorama && J > c ? !1 : zd(U, X.clone().sub(Y).normalize(), Y, J);
18216
18216
  }, w = (U) => {
18217
- const { camera: _, model: Y } = s, { x: X, y: J, z: ae } = U.clone().project(_), re = (X + 1) / 2, Pe = (2 - (J + 1)) / 2;
18217
+ const { camera: F, model: Y } = s, { x: X, y: J, z: ae } = U.clone().project(F), re = (X + 1) / 2, Pe = (2 - (J + 1)) / 2;
18218
18218
  return !!(Math.abs(ae) < 1 && [re, Pe].every((ye) => ye < 1 && ye >= 0));
18219
- }, I = (U, _) => {
18220
- const Y = new i(_.modelPosition[0], _.modelPosition[1], _.modelPosition[2]), X = U.project2d(Y), J = X == null ? void 0 : X.x, ae = X == null ? void 0 : X.y;
18219
+ }, I = (U, F) => {
18220
+ const Y = new i(F.modelPosition[0], F.modelPosition[1], F.modelPosition[2]), X = U.project2d(Y), J = X == null ? void 0 : X.x, ae = X == null ? void 0 : X.y;
18221
18221
  return [J, ae];
18222
- }, C = (U, _) => {
18223
- const Y = _.map((J) => {
18222
+ }, C = (U, F) => {
18223
+ const Y = F.map((J) => {
18224
18224
  if (U.state.panoIndex !== J.panoIndex)
18225
18225
  return ee(k({}, J), { visible: !1 });
18226
18226
  const ae = I(U, J);
@@ -18256,11 +18256,11 @@ function cC(n, t, e) {
18256
18256
  s.once("renderFrame", E);
18257
18257
  }, Q = () => {
18258
18258
  window.addEventListener("resize", T, !1);
18259
- }, F = () => {
18259
+ }, _ = () => {
18260
18260
  h !== r && (e(1, u = jd(r)), h = r, E());
18261
- }, H = (U, _) => {
18261
+ }, H = (U, F) => {
18262
18262
  let Y = [];
18263
- for (const { position: J, panoIndex: ae } of _) {
18263
+ for (const { position: J, panoIndex: ae } of F) {
18264
18264
  const re = U.distanceTo(J);
18265
18265
  (c === void 0 || re <= c || s.state.mode !== yt.Mode.Panorama) && Y.push({ panoIndex: ae, obVector: J, distance: re });
18266
18266
  }
@@ -18273,13 +18273,13 @@ function cC(n, t, e) {
18273
18273
  break;
18274
18274
  }
18275
18275
  }
18276
- return typeof X == "number" ? _[X] : void 0;
18276
+ return typeof X == "number" ? F[X] : void 0;
18277
18277
  }, G = (U) => {
18278
18278
  if (s.state.mode === yt.Mode.Panorama)
18279
18279
  return;
18280
- const _ = s.work.observers, Y = new i().fromArray(U.position), X = H(Y, _);
18280
+ const F = s.work.observers, Y = new i().fromArray(U.position), X = H(Y, F);
18281
18281
  if (X && (U.observerIndex = X.panoIndex), typeof U.observerIndex == "number") {
18282
- const J = _[U.observerIndex], ae = Y.clone().sub(J.position).normalize(), re = {
18282
+ const J = F[U.observerIndex], ae = Y.clone().sub(J.position).normalize(), re = {
18283
18283
  longitude: Math.PI + Math.atan2(ae.x, ae.z),
18284
18284
  latitude: Math.acos(ae.y / ae.length()) - Math.PI / 2
18285
18285
  };
@@ -18296,7 +18296,7 @@ function cC(n, t, e) {
18296
18296
  }
18297
18297
  };
18298
18298
  gm(() => {
18299
- F();
18299
+ _();
18300
18300
  }), Mt(() => {
18301
18301
  e(1, u = jd(r)), h = r, E(), Q(), s.on("cameraUpdate", M);
18302
18302
  }), _t(() => {
@@ -18607,22 +18607,22 @@ class CC extends Qi {
18607
18607
  return this.hideAllLabels();
18608
18608
  const s = this.five.getElement(), o = s.clientWidth, r = s.clientHeight, a = i.getWorldDirection(new se()), l = [];
18609
18609
  if (this.labelItems.forEach((E, M) => {
18610
- var F;
18610
+ var _;
18611
18611
  if (E.visible) {
18612
- const H = i.position.distanceTo(E.position), G = E.position.clone().add(new se(0, this.OffsetHeight, 0)), U = G.clone().sub(i.position).normalize().angleTo(a), _ = G.clone().project(i), Y = (_.x + 1) / 2.2 * 100, X = (-_.y + 1) / 2.2 * 100, J = Y >= 0 && Y <= 100 && X >= 0 && X <= 100 && H > this.MinVisibledistance && H <= this.MaxVisibledistance;
18612
+ const H = i.position.distanceTo(E.position), G = E.position.clone().add(new se(0, this.OffsetHeight, 0)), U = G.clone().sub(i.position).normalize().angleTo(a), F = G.clone().project(i), Y = (F.x + 1) / 2.2 * 100, X = (-F.y + 1) / 2.2 * 100, J = Y >= 0 && Y <= 100 && X >= 0 && X <= 100 && H > this.MinVisibledistance && H <= this.MaxVisibledistance;
18613
18613
  E.left = Y, E.top = X, E.inSight = J && U < Math.PI / 2, E.cameraToward = AC(this.five), J ? l.push({ disFromCameraToLabel: H, left: Y, top: X, index: M }) : E.transform = "translate(-50%, -50%)";
18614
18614
  } else
18615
18615
  E.inSight = !1;
18616
18616
  const Q = E, { svelteApp: S } = Q, T = Mi(Q, ["svelteApp"]);
18617
- (F = E.svelteApp) == null || F.$set({ props: T });
18617
+ (_ = E.svelteApp) == null || _.$set({ props: T });
18618
18618
  }), l.length > 1) {
18619
18619
  let E = 0;
18620
18620
  l.sort((M, S) => S.disFromCameraToLabel - M.disFromCameraToLabel);
18621
18621
  for (let M = 1; M < l.length; M++) {
18622
- const { index: S, left: T, top: Q } = l[M - 1], { index: F, left: H, top: G } = l[M], N = this.container.children[S], U = this.container.children[F];
18622
+ const { index: S, left: T, top: Q } = l[M - 1], { index: _, left: H, top: G } = l[M], N = this.container.children[S], U = this.container.children[_];
18623
18623
  if (!N || !U)
18624
18624
  return;
18625
- const _ = {
18625
+ const F = {
18626
18626
  left: o * T / 100,
18627
18627
  top: r * Q / 100,
18628
18628
  width: (u = (h = (c = N.children) == null ? void 0 : c[0]) == null ? void 0 : h.clientWidth) != null ? u : 0,
@@ -18633,7 +18633,7 @@ class CC extends Qi {
18633
18633
  width: (A = (g = (v = U.children) == null ? void 0 : v[0]) == null ? void 0 : g.clientWidth) != null ? A : 0,
18634
18634
  height: (C = (I = (w = U.children) == null ? void 0 : w[0]) == null ? void 0 : I.clientHeight) != null ? C : 0
18635
18635
  };
18636
- vC(_, Y) && (E++, this.labelItems[S].transform = `translate(-50%, ${(E - 1) * 100 - 50}%)`, this.labelItems[F].transform = `translate(-50%, ${E * 100 - 50}%)`);
18636
+ vC(F, Y) && (E++, this.labelItems[S].transform = `translate(-50%, ${(E - 1) * 100 - 50}%)`, this.labelItems[_].transform = `translate(-50%, ${E * 100 - 50}%)`);
18637
18637
  }
18638
18638
  }
18639
18639
  });
@@ -18831,8 +18831,8 @@ function NC(n) {
18831
18831
  if (s.length === 0)
18832
18832
  return { geometry: new b.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
18833
18833
  const o = new b.CurvePath();
18834
- s.forEach((_) => {
18835
- const Y = GC(_);
18834
+ s.forEach((F) => {
18835
+ const Y = GC(F);
18836
18836
  Y && o.add(Y);
18837
18837
  });
18838
18838
  const r = Math.ceil(o.getLength() * 100);
@@ -18840,34 +18840,34 @@ function NC(n) {
18840
18840
  const a = o.getPoints(r), l = a.length;
18841
18841
  if (l <= 2)
18842
18842
  return { geometry: new b.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
18843
- const c = BC(a.map((_) => [_.x, _.z])), u = (l - 1) * RC * _C, f = 2 * l, m = f * FC, p = f * HC, v = new Uint32Array(u), g = new Float32Array(m), A = new Float32Array(p), w = o.getLength();
18843
+ const c = BC(a.map((F) => [F.x, F.z])), u = (l - 1) * RC * _C, f = 2 * l, m = f * FC, p = f * HC, v = new Uint32Array(u), g = new Float32Array(m), A = new Float32Array(p), w = o.getLength();
18844
18844
  let I = 0, C = 0, E = {};
18845
- const M = n.path[0].points.map((_) => new b.Vector3().fromArray(_)), S = n.path[0].panoIndexList ? [...n.path[0].panoIndexList] : void 0, T = (() => {
18846
- const _ = [];
18845
+ const M = n.path[0].points.map((F) => new b.Vector3().fromArray(F)), S = n.path[0].panoIndexList ? [...n.path[0].panoIndexList] : void 0, T = (() => {
18846
+ const F = [];
18847
18847
  for (let J = 0; J < M.length; J++) {
18848
18848
  const ae = M[J];
18849
18849
  if (J === 0)
18850
- _.push(0);
18850
+ F.push(0);
18851
18851
  else {
18852
18852
  const re = M[J - 1];
18853
- _.push(ae.distanceTo(re) + _[J - 1]);
18853
+ F.push(ae.distanceTo(re) + F[J - 1]);
18854
18854
  }
18855
18855
  }
18856
- const Y = _.at(-1), X = [];
18857
- for (let J = 0; J < _.length; J++) {
18858
- const ae = _[J], re = J === 0 ? 0 : _[J - 1], Pe = J === _.length - 1 ? Y : _[J + 1], ve = ae - Math.min(0.3, (ae - re) / 2), ge = ae + Math.min(0.3, (Pe - ae) / 2);
18856
+ const Y = F.at(-1), X = [];
18857
+ for (let J = 0; J < F.length; J++) {
18858
+ const ae = F[J], re = J === 0 ? 0 : F[J - 1], Pe = J === F.length - 1 ? Y : F[J + 1], ve = ae - Math.min(0.3, (ae - re) / 2), ge = ae + Math.min(0.3, (Pe - ae) / 2);
18859
18859
  X.push([w * (ve / Y), w * (ge / Y)]);
18860
18860
  }
18861
18861
  return X;
18862
18862
  })();
18863
18863
  let Q = [];
18864
- for (let _ = 0; _ < l; _++) {
18865
- const [Y, X] = c[_][0], J = a[_], { x: ae, y: re, z: Pe } = J, ve = new se(ae + Y * i, re + 0.05, Pe + X * i);
18866
- g[_ * 6 + 0] = ve.x, g[_ * 6 + 1] = ve.y, g[_ * 6 + 2] = ve.z;
18864
+ for (let F = 0; F < l; F++) {
18865
+ const [Y, X] = c[F][0], J = a[F], { x: ae, y: re, z: Pe } = J, ve = new se(ae + Y * i, re + 0.05, Pe + X * i);
18866
+ g[F * 6 + 0] = ve.x, g[F * 6 + 1] = ve.y, g[F * 6 + 2] = ve.z;
18867
18867
  const ge = new se(ae - Y * i, re + 0.05, Pe - X * i);
18868
- g[_ * 6 + 3] = ge.x, g[_ * 6 + 4] = ge.y, g[_ * 6 + 5] = ge.z, I += _ > 0 ? a[_ - 1].clone().sub(a[_]).length() : 0;
18868
+ g[F * 6 + 3] = ge.x, g[F * 6 + 4] = ge.y, g[F * 6 + 5] = ge.z, I += F > 0 ? a[F - 1].clone().sub(a[F]).length() : 0;
18869
18869
  const _e = I / e;
18870
- C = _e, A[_ * 4 + 0] = 0, A[_ * 4 + 1] = _e, A[_ * 4 + 2] = 1, A[_ * 4 + 3] = _e;
18870
+ C = _e, A[F * 4 + 0] = 0, A[F * 4 + 1] = _e, A[F * 4 + 2] = 1, A[F * 4 + 3] = _e;
18871
18871
  const ye = new b.Vector3().lerpVectors(ve, ge, 0.5);
18872
18872
  if (n.skipPositions && n.skipPositions.some((Ae) => Ae.distanceTo(ye) < 0.26))
18873
18873
  continue;
@@ -18876,8 +18876,8 @@ function NC(n) {
18876
18876
  const K = S[0], [Ae, ze] = T[0];
18877
18877
  if (I > Ae && I < ze && Q.push({
18878
18878
  distance: We.distanceTo(ye),
18879
- index: _
18880
- }), I >= ze || _ === l - 1) {
18879
+ index: F
18880
+ }), I >= ze || F === l - 1) {
18881
18881
  const pe = Math.min(...Q.map((je) => je.distance)), Ye = Q.find((je) => je.distance === pe);
18882
18882
  if (Q = [], M.shift(), S.shift(), T.shift(), Ye)
18883
18883
  E[K] = Ye.index;
@@ -18887,20 +18887,20 @@ function NC(n) {
18887
18887
  }
18888
18888
  }
18889
18889
  }
18890
- _ !== l - 1 && (v[_ * 6 + 0] = _ * 2 + 0, v[_ * 6 + 1] = _ * 2 + 2, v[_ * 6 + 2] = _ * 2 + 1, v[_ * 6 + 3] = _ * 2 + 2, v[_ * 6 + 4] = _ * 2 + 3, v[_ * 6 + 5] = _ * 2 + 1);
18890
+ F !== l - 1 && (v[F * 6 + 0] = F * 2 + 0, v[F * 6 + 1] = F * 2 + 2, v[F * 6 + 2] = F * 2 + 1, v[F * 6 + 3] = F * 2 + 2, v[F * 6 + 4] = F * 2 + 3, v[F * 6 + 5] = F * 2 + 1);
18891
18891
  }
18892
- const F = [];
18892
+ const _ = [];
18893
18893
  let H;
18894
18894
  const G = [];
18895
- for (let _ = 0; _ < l - 1; _++) {
18896
- if (H !== void 0 && _ <= H)
18895
+ for (let F = 0; F < l - 1; F++) {
18896
+ if (H !== void 0 && F <= H)
18897
18897
  continue;
18898
- const Y = _ + 1, X = {
18899
- x: g[_ * 6 + 0],
18900
- y: g[_ * 6 + 2]
18898
+ const Y = F + 1, X = {
18899
+ x: g[F * 6 + 0],
18900
+ y: g[F * 6 + 2]
18901
18901
  }, J = {
18902
- x: g[_ * 6 + 3],
18903
- y: g[_ * 6 + 5]
18902
+ x: g[F * 6 + 3],
18903
+ y: g[F * 6 + 5]
18904
18904
  }, ae = {
18905
18905
  x: g[Y * 6 + 0],
18906
18906
  y: g[Y * 6 + 2]
@@ -18908,12 +18908,12 @@ function NC(n) {
18908
18908
  x: g[Y * 6 + 3],
18909
18909
  y: g[Y * 6 + 5]
18910
18910
  }, Pe = og([X, J], [ae, re]);
18911
- if (Pe && F.push(_), !Pe && F.length) {
18912
- F.push(_);
18913
- const ve = new b.Vector2(X.x, X.y).distanceTo(new b.Vector2(ae.x, ae.y)), ge = new b.Vector2(J.x, J.y).distanceTo(new b.Vector2(re.x, re.y)), _e = 200, ye = [], We = [], K = Math.max(0, F[0] - e * _e), Ae = F[0];
18911
+ if (Pe && _.push(F), !Pe && _.length) {
18912
+ _.push(F);
18913
+ const ve = new b.Vector2(X.x, X.y).distanceTo(new b.Vector2(ae.x, ae.y)), ge = new b.Vector2(J.x, J.y).distanceTo(new b.Vector2(re.x, re.y)), _e = 200, ye = [], We = [], K = Math.max(0, _[0] - e * _e), Ae = _[0];
18914
18914
  for (let je = K; je < Ae; je++)
18915
18915
  ve < ge ? ye.push({ x: g[je * 6 + 0], y: g[je * 6 + 2] }) : ye.push({ x: g[je * 6 + 3], y: g[je * 6 + 5] });
18916
- const ze = F.at(-1), pe = F.at(-1) + e * _e;
18916
+ const ze = _.at(-1), pe = _.at(-1) + e * _e;
18917
18917
  for (let je = ze; je < pe; je++)
18918
18918
  ve < ge ? We.push({ x: g[je * 6 + 0], y: g[je * 6 + 2] }) : We.push({ x: g[je * 6 + 3], y: g[je * 6 + 5] });
18919
18919
  const Ye = VC(ye, We);
@@ -18943,13 +18943,13 @@ function NC(n) {
18943
18943
  end: Be
18944
18944
  });
18945
18945
  }
18946
- F.length = 0;
18946
+ _.length = 0;
18947
18947
  }
18948
18948
  }
18949
18949
  const N = new Float32Array(f);
18950
- G.forEach((_) => {
18950
+ G.forEach((F) => {
18951
18951
  for (let Y = 0; Y < l - 1; Y++)
18952
- Y >= _.start && Y <= _.end ? (N[Y * 2 + 0] = 1, N[Y * 2 + 1] = 1) : N[Y] !== 1 && (N[Y * 2 + 0] = 0, N[Y * 2 + 1] = 0);
18952
+ Y >= F.start && Y <= F.end ? (N[Y * 2 + 0] = 1, N[Y * 2 + 1] = 1) : N[Y] !== 1 && (N[Y * 2 + 0] = 0, N[Y * 2 + 1] = 0);
18953
18953
  });
18954
18954
  const U = new b.BufferGeometry();
18955
18955
  return U.setAttribute("position", new b.BufferAttribute(g, 3)), U.setAttribute("uv", new b.BufferAttribute(A, 2)), U.setIndex(new b.BufferAttribute(v, 1)), { geometry: U, maxV: C, animationWillError: G, curvePath: o, curvePoints: a, panoMap: E, totalLength: I };
@@ -19750,8 +19750,8 @@ function pP(n, t, e) {
19750
19750
  return M.slice().replace(T, (Q) => `${c}${h}${Q}${c}`).split(c).forEach((Q) => Q.startsWith(h) ? S.push({
19751
19751
  id: lt(),
19752
19752
  content: Q.slice(h.length)
19753
- }) : S.push(...Q.split("").map((F) => F === " " ? u : F === `
19754
- ` ? f : F).map((F) => ({ id: lt(), content: F })))), S;
19753
+ }) : S.push(...Q.split("").map((_) => _ === " " ? u : _ === `
19754
+ ` ? f : _).map((_) => ({ id: lt(), content: _ })))), S;
19755
19755
  }
19756
19756
  function A() {
19757
19757
  if (!p)
@@ -21885,8 +21885,8 @@ var No = j2, gr = {}, O2 = {
21885
21885
  }
21886
21886
  };
21887
21887
  (function(n, t) {
21888
- var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", f = "[object Map]", m = "[object Number]", p = "[object Object]", v = "[object Promise]", g = "[object RegExp]", A = "[object Set]", w = "[object String]", I = "[object Symbol]", C = "[object WeakMap]", E = "[object ArrayBuffer]", M = "[object DataView]", S = "[object Float32Array]", T = "[object Float64Array]", Q = "[object Int8Array]", F = "[object Int16Array]", H = "[object Int32Array]", G = "[object Uint8Array]", N = "[object Uint8ClampedArray]", U = "[object Uint16Array]", _ = "[object Uint32Array]", Y = /[\\^$.*+?()[\]{}|]/g, X = /\w*$/, J = /^\[object .+?Constructor\]$/, ae = /^(?:0|[1-9]\d*)$/, re = {};
21889
- re[o] = re[r] = re[E] = re[M] = re[a] = re[l] = re[S] = re[T] = re[Q] = re[F] = re[H] = re[f] = re[m] = re[p] = re[g] = re[A] = re[w] = re[I] = re[G] = re[N] = re[U] = re[_] = !0, re[c] = re[h] = re[C] = !1;
21888
+ var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", f = "[object Map]", m = "[object Number]", p = "[object Object]", v = "[object Promise]", g = "[object RegExp]", A = "[object Set]", w = "[object String]", I = "[object Symbol]", C = "[object WeakMap]", E = "[object ArrayBuffer]", M = "[object DataView]", S = "[object Float32Array]", T = "[object Float64Array]", Q = "[object Int8Array]", _ = "[object Int16Array]", H = "[object Int32Array]", G = "[object Uint8Array]", N = "[object Uint8ClampedArray]", U = "[object Uint16Array]", F = "[object Uint32Array]", Y = /[\\^$.*+?()[\]{}|]/g, X = /\w*$/, J = /^\[object .+?Constructor\]$/, ae = /^(?:0|[1-9]\d*)$/, re = {};
21889
+ re[o] = re[r] = re[E] = re[M] = re[a] = re[l] = re[S] = re[T] = re[Q] = re[_] = re[H] = re[f] = re[m] = re[p] = re[g] = re[A] = re[w] = re[I] = re[G] = re[N] = re[U] = re[F] = !0, re[c] = re[h] = re[C] = !1;
21890
21890
  var Pe = typeof Vt == "object" && Vt && Vt.Object === Object && Vt, ve = typeof self == "object" && self && self.Object === Object && self, ge = Pe || ve || Function("return this")(), _e = t && !t.nodeType && t, ye = _e && !0 && n && !n.nodeType && n, We = ye && ye.exports === _e;
21891
21891
  function K(y, x) {
21892
21892
  return y.set(x[0], x[1]), y;
@@ -22239,12 +22239,12 @@ var No = j2, gr = {}, O2 = {
22239
22239
  case S:
22240
22240
  case T:
22241
22241
  case Q:
22242
- case F:
22242
+ case _:
22243
22243
  case H:
22244
22244
  case G:
22245
22245
  case N:
22246
22246
  case U:
22247
- case _:
22247
+ case F:
22248
22248
  return da(y, Z);
22249
22249
  case f:
22250
22250
  return po(y, Z, R);
@@ -22338,8 +22338,8 @@ var pr = {}, V2 = {
22338
22338
  }
22339
22339
  };
22340
22340
  (function(n, t) {
22341
- var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", f = "[object Error]", m = "[object Function]", p = "[object GeneratorFunction]", v = "[object Map]", g = "[object Number]", A = "[object Null]", w = "[object Object]", I = "[object Promise]", C = "[object Proxy]", E = "[object RegExp]", M = "[object Set]", S = "[object String]", T = "[object Symbol]", Q = "[object Undefined]", F = "[object WeakMap]", H = "[object ArrayBuffer]", G = "[object DataView]", N = "[object Float32Array]", U = "[object Float64Array]", _ = "[object Int8Array]", Y = "[object Int16Array]", X = "[object Int32Array]", J = "[object Uint8Array]", ae = "[object Uint8ClampedArray]", re = "[object Uint16Array]", Pe = "[object Uint32Array]", ve = /[\\^$.*+?()[\]{}|]/g, ge = /^\[object .+?Constructor\]$/, _e = /^(?:0|[1-9]\d*)$/, ye = {};
22342
- ye[N] = ye[U] = ye[_] = ye[Y] = ye[X] = ye[J] = ye[ae] = ye[re] = ye[Pe] = !0, ye[a] = ye[l] = ye[H] = ye[h] = ye[G] = ye[u] = ye[f] = ye[m] = ye[v] = ye[g] = ye[w] = ye[E] = ye[M] = ye[S] = ye[F] = !1;
22341
+ var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", f = "[object Error]", m = "[object Function]", p = "[object GeneratorFunction]", v = "[object Map]", g = "[object Number]", A = "[object Null]", w = "[object Object]", I = "[object Promise]", C = "[object Proxy]", E = "[object RegExp]", M = "[object Set]", S = "[object String]", T = "[object Symbol]", Q = "[object Undefined]", _ = "[object WeakMap]", H = "[object ArrayBuffer]", G = "[object DataView]", N = "[object Float32Array]", U = "[object Float64Array]", F = "[object Int8Array]", Y = "[object Int16Array]", X = "[object Int32Array]", J = "[object Uint8Array]", ae = "[object Uint8ClampedArray]", re = "[object Uint16Array]", Pe = "[object Uint32Array]", ve = /[\\^$.*+?()[\]{}|]/g, ge = /^\[object .+?Constructor\]$/, _e = /^(?:0|[1-9]\d*)$/, ye = {};
22342
+ ye[N] = ye[U] = ye[F] = ye[Y] = ye[X] = ye[J] = ye[ae] = ye[re] = ye[Pe] = !0, ye[a] = ye[l] = ye[H] = ye[h] = ye[G] = ye[u] = ye[f] = ye[m] = ye[v] = ye[g] = ye[w] = ye[E] = ye[M] = ye[S] = ye[_] = !1;
22343
22343
  var We = typeof Vt == "object" && Vt && Vt.Object === Object && Vt, K = typeof self == "object" && self && self.Object === Object && self, Ae = We || K || Function("return this")(), ze = t && !t.nodeType && t, pe = ze && !0 && n && !n.nodeType && n, Ye = pe && pe.exports === ze, je = Ye && We.process, ke = function() {
22344
22344
  try {
22345
22345
  return je && je.binding && je.binding("util");
@@ -22723,7 +22723,7 @@ var pr = {}, V2 = {
22723
22723
  return bn.call(y, x);
22724
22724
  }));
22725
22725
  } : wa, $t = Zi;
22726
- (bs && $t(new bs(new ArrayBuffer(1))) != G || Xi && $t(new Xi()) != v || ys && $t(ys.resolve()) != I || ws && $t(new ws()) != M || Cs && $t(new Cs()) != F) && ($t = function(y) {
22726
+ (bs && $t(new bs(new ArrayBuffer(1))) != G || Xi && $t(new Xi()) != v || ys && $t(ys.resolve()) != I || ws && $t(new ws()) != M || Cs && $t(new Cs()) != _) && ($t = function(y) {
22727
22727
  var x = Zi(y), R = x == w ? y.constructor : void 0, Z = R ? It(R) : "";
22728
22728
  if (Z)
22729
22729
  switch (Z) {
@@ -22736,7 +22736,7 @@ var pr = {}, V2 = {
22736
22736
  case Hr:
22737
22737
  return M;
22738
22738
  case Nr:
22739
- return F;
22739
+ return _;
22740
22740
  }
22741
22741
  return x;
22742
22742
  });
@@ -23766,7 +23766,7 @@ function rE(n, t, e) {
23766
23766
  loaded: () => e(6, o = Ce)
23767
23767
  })(le);
23768
23768
  }), v = xr();
23769
- let { timingFunction: g = "ease-in-out" } = t, { arrows: A = !0 } = t, { infinite: w = !0 } = t, { initialPageIndex: I = 0 } = t, { duration: C = 500 } = t, { autoplay: E = !1 } = t, { autoplayDuration: M = 3e3 } = t, { autoplayDirection: S = Ri } = t, { pauseOnFocus: T = !1 } = t, { autoplayProgressVisible: Q = !1 } = t, { dots: F = !0 } = t, { swiping: H = !0 } = t, { particlesToShow: G = 1 } = t, { particlesToScroll: N = 1 } = t;
23769
+ let { timingFunction: g = "ease-in-out" } = t, { arrows: A = !0 } = t, { infinite: w = !0 } = t, { initialPageIndex: I = 0 } = t, { duration: C = 500 } = t, { autoplay: E = !1 } = t, { autoplayDuration: M = 3e3 } = t, { autoplayDirection: S = Ri } = t, { pauseOnFocus: T = !1 } = t, { autoplayProgressVisible: Q = !1 } = t, { dots: _ = !0 } = t, { swiping: H = !0 } = t, { particlesToShow: G = 1 } = t, { particlesToScroll: N = 1 } = t;
23770
23770
  function U(le, Ce) {
23771
23771
  return W(this, null, function* () {
23772
23772
  const Be = Ws(Ce, "animated", !0);
@@ -23775,7 +23775,7 @@ function rE(n, t, e) {
23775
23775
  yield m.showPage(le, { animated: Be });
23776
23776
  });
23777
23777
  }
23778
- function _(le) {
23778
+ function F(le) {
23779
23779
  return W(this, null, function* () {
23780
23780
  const Ce = Ws(le, "animated", !0);
23781
23781
  yield m.showPrevPage({ animated: Ce });
@@ -23862,7 +23862,7 @@ function rE(n, t, e) {
23862
23862
  }
23863
23863
  const tt = (le) => ve(le.detail);
23864
23864
  return n.$$set = (le) => {
23865
- "timingFunction" in le && e(0, g = le.timingFunction), "arrows" in le && e(1, A = le.arrows), "infinite" in le && e(2, w = le.infinite), "initialPageIndex" in le && e(24, I = le.initialPageIndex), "duration" in le && e(25, C = le.duration), "autoplay" in le && e(26, E = le.autoplay), "autoplayDuration" in le && e(27, M = le.autoplayDuration), "autoplayDirection" in le && e(28, S = le.autoplayDirection), "pauseOnFocus" in le && e(29, T = le.pauseOnFocus), "autoplayProgressVisible" in le && e(3, Q = le.autoplayProgressVisible), "dots" in le && e(4, F = le.dots), "swiping" in le && e(30, H = le.swiping), "particlesToShow" in le && e(31, G = le.particlesToShow), "particlesToScroll" in le && e(32, N = le.particlesToScroll), "$$scope" in le && e(36, s = le.$$scope);
23865
+ "timingFunction" in le && e(0, g = le.timingFunction), "arrows" in le && e(1, A = le.arrows), "infinite" in le && e(2, w = le.infinite), "initialPageIndex" in le && e(24, I = le.initialPageIndex), "duration" in le && e(25, C = le.duration), "autoplay" in le && e(26, E = le.autoplay), "autoplayDuration" in le && e(27, M = le.autoplayDuration), "autoplayDirection" in le && e(28, S = le.autoplayDirection), "pauseOnFocus" in le && e(29, T = le.pauseOnFocus), "autoplayProgressVisible" in le && e(3, Q = le.autoplayProgressVisible), "dots" in le && e(4, _ = le.dots), "swiping" in le && e(30, H = le.swiping), "particlesToShow" in le && e(31, G = le.particlesToShow), "particlesToScroll" in le && e(32, N = le.particlesToScroll), "$$scope" in le && e(36, s = le.$$scope);
23866
23866
  }, n.$$.update = () => {
23867
23867
  n.$$.dirty[0] & /*currentPageIndex*/
23868
23868
  32 && v("pageChange", r), n.$$.dirty[0] & /*infinite*/
@@ -23879,7 +23879,7 @@ function rE(n, t, e) {
23879
23879
  A,
23880
23880
  w,
23881
23881
  Q,
23882
- F,
23882
+ _,
23883
23883
  r,
23884
23884
  o,
23885
23885
  a,
@@ -23909,7 +23909,7 @@ function rE(n, t, e) {
23909
23909
  G,
23910
23910
  N,
23911
23911
  U,
23912
- _,
23912
+ F,
23913
23913
  Y,
23914
23914
  s,
23915
23915
  i,
@@ -24304,7 +24304,7 @@ function mE(n, t, e) {
24304
24304
  o.videoInstance = G, e(0, o);
24305
24305
  });
24306
24306
  }
24307
- const F = () => l === "withText" ? mc : l === "withoutText" ? wl : l, H = (G) => {
24307
+ const _ = () => l === "withText" ? mc : l === "withoutText" ? wl : l, H = (G) => {
24308
24308
  h && i && (e(10, i.muted = !1, i), i.play());
24309
24309
  };
24310
24310
  return n.$$set = (G) => {
@@ -24341,7 +24341,7 @@ function mE(n, t, e) {
24341
24341
  S,
24342
24342
  T,
24343
24343
  Q,
24344
- F,
24344
+ _,
24345
24345
  H
24346
24346
  ];
24347
24347
  }
@@ -24743,25 +24743,25 @@ function yE(n, t, e) {
24743
24743
  const { autoplayVideo: A = !1, autoplayCarousel: w = !0, autoplayVideoInCarousel: I = !1 } = g;
24744
24744
  let C = [], E = 0, M, S = null;
24745
24745
  const T = Oi("hooks"), Q = Oi("mediaStore");
24746
- function F() {
24747
- const _ = C[E], Y = _ == null ? void 0 : _.videoInstance;
24746
+ function _() {
24747
+ const F = C[E], Y = F == null ? void 0 : F.videoInstance;
24748
24748
  Y && (Y.paused ? (Y.muted = !1, Y.play()) : Y.pause());
24749
24749
  }
24750
24750
  Mt(() => {
24751
- T.on("click", (_) => {
24751
+ T.on("click", (F) => {
24752
24752
  var Y, X, J;
24753
- (J = (X = (Y = a.tag3DContentSvelte) == null ? void 0 : Y.css3DInstance) == null ? void 0 : X.css3DObject) != null && J.opacityMesh && _.tag.id === a.id && F();
24753
+ (J = (X = (Y = a.tag3DContentSvelte) == null ? void 0 : Y.css3DInstance) == null ? void 0 : X.css3DObject) != null && J.opacityMesh && F.tag.id === a.id && _();
24754
24754
  }), e(
24755
24755
  0,
24756
24756
  a.play = () => {
24757
- const _ = C[E], Y = _ == null ? void 0 : _.videoInstance;
24757
+ const F = C[E], Y = F == null ? void 0 : F.videoInstance;
24758
24758
  Y && (Y.muted = !1, Y.play());
24759
24759
  },
24760
24760
  a
24761
24761
  ), e(
24762
24762
  0,
24763
24763
  a.pause = () => {
24764
- const _ = C[E], Y = _ == null ? void 0 : _.videoInstance;
24764
+ const F = C[E], Y = F == null ? void 0 : F.videoInstance;
24765
24765
  Y && Y.pause();
24766
24766
  },
24767
24767
  a
@@ -24772,27 +24772,27 @@ function yE(n, t, e) {
24772
24772
  3e3
24773
24773
  );
24774
24774
  }), _t(() => {
24775
- clearInterval(S), T.off("click", F);
24775
+ clearInterval(S), T.off("click", _);
24776
24776
  });
24777
- function H(_, Y) {
24778
- n.$$.not_equal(C[Y], _) && (C[Y] = _, e(8, C));
24777
+ function H(F, Y) {
24778
+ n.$$.not_equal(C[Y], F) && (C[Y] = F, e(8, C));
24779
24779
  }
24780
- function G(_) {
24781
- Ne[_ ? "unshift" : "push"](() => {
24782
- M = _, e(12, M);
24780
+ function G(F) {
24781
+ Ne[F ? "unshift" : "push"](() => {
24782
+ M = F, e(12, M);
24783
24783
  });
24784
24784
  }
24785
- const N = (_) => {
24786
- i || Q.set({ currentMediaElement: null }), e(11, E = _.detail);
24785
+ const N = (F) => {
24786
+ i || Q.set({ currentMediaElement: null }), e(11, E = F.detail);
24787
24787
  };
24788
- function U(_) {
24789
- n.$$.not_equal(C[0], _) && (C[0] = _, e(8, C));
24788
+ function U(F) {
24789
+ n.$$.not_equal(C[0], F) && (C[0] = F, e(8, C));
24790
24790
  }
24791
- return n.$$set = (_) => {
24792
- "tag" in _ && e(0, a = _.tag), "mediaData" in _ && e(1, l = _.mediaData), "inDelay" in _ && e(2, c = _.inDelay), "outDelay" in _ && e(3, h = _.outDelay), "duration" in _ && e(4, u = _.duration), "unfolded" in _ && e(5, f = _.unfolded), "animation" in _ && e(6, m = _.animation), "mediaItemConfig" in _ && e(7, p = _.mediaItemConfig), "enableCarousel" in _ && e(16, v = _.enableCarousel), "autoplayConfig" in _ && e(17, g = _.autoplayConfig);
24791
+ return n.$$set = (F) => {
24792
+ "tag" in F && e(0, a = F.tag), "mediaData" in F && e(1, l = F.mediaData), "inDelay" in F && e(2, c = F.inDelay), "outDelay" in F && e(3, h = F.outDelay), "duration" in F && e(4, u = F.duration), "unfolded" in F && e(5, f = F.unfolded), "animation" in F && e(6, m = F.animation), "mediaItemConfig" in F && e(7, p = F.mediaItemConfig), "enableCarousel" in F && e(16, v = F.enableCarousel), "autoplayConfig" in F && e(17, g = F.autoplayConfig);
24793
24793
  }, n.$$.update = () => {
24794
24794
  n.$$.dirty[0] & /*mediaInstanceList*/
24795
- 256 && e(9, i = C.every((_) => _.paused)), n.$$.dirty[0] & /*enableCarousel, mediaData*/
24795
+ 256 && e(9, i = C.every((F) => F.paused)), n.$$.dirty[0] & /*enableCarousel, mediaData*/
24796
24796
  65538 && e(13, s = v && (l == null ? void 0 : l.length) > 1), n.$$.dirty[0] & /*mediaData*/
24797
24797
  2 && e(10, o = l), n.$$.dirty[0] & /*mediaDataList, paused*/
24798
24798
  1536 && (r = o.length > 1 && w && i);
@@ -25363,7 +25363,7 @@ function ME(n) {
25363
25363
  V(M, t, S), ie(e, t, null), j(t, i), j(t, s), j(t, o), j(t, r), A && A.m(r, null), j(r, a), j(r, l), j(l, c), j(c, h), j(h, f), j(r, m), w && w.m(r, null), j(r, p), I && I.m(r, null), g = !0;
25364
25364
  },
25365
25365
  p(M, [S]) {
25366
- var Q, F;
25366
+ var Q, _;
25367
25367
  const T = {};
25368
25368
  S & /*unfolded*/
25369
25369
  16 && (T.visible = /*unfolded*/
@@ -25378,7 +25378,7 @@ function ME(n) {
25378
25378
  8) && u !== (u = /*data*/
25379
25379
  M[3].title + "") && Te(f, u), /*primaryTags*/
25380
25380
  ((Q = M[2].length) != null ? Q : 0) + /*secondaryTags*/
25381
- ((F = M[5].length) != null ? F : 0) > 0 ? w ? w.p(M, S) : (w = Tu(M), w.c(), w.m(r, p)) : w && (w.d(1), w = null), /*havePrice*/
25381
+ ((_ = M[5].length) != null ? _ : 0) > 0 ? w ? w.p(M, S) : (w = Tu(M), w.c(), w.m(r, p)) : w && (w.d(1), w = null), /*havePrice*/
25382
25382
  M[7] || /*data*/
25383
25383
  M[3].highlightText ? I ? I.p(M, S) : (I = ju(M), I.c(), I.m(r, null)) : I && (I.d(1), I = null), S & /*unfolded*/
25384
25384
  16 && z(
@@ -27928,8 +27928,8 @@ function Ga(n, t, e) {
27928
27928
  }
27929
27929
  const s = {}, o = {}, r = {};
27930
27930
  t.contentTypeConfig && Object.entries(t.contentTypeConfig).forEach(([w, I]) => {
27931
- var F, H;
27932
- const C = w, E = C.split("-"), M = w.startsWith("["), S = M ? E[0].slice(1, -1) : void 0, T = M ? E.slice(1) : E, Q = S ? ["PanoramaLike", "ModelLike"].includes(S) ? (F = o[S]) != null ? F : o[S] = {} : (H = r[S]) != null ? H : r[S] = {} : s;
27931
+ var _, H;
27932
+ const C = w, E = C.split("-"), M = w.startsWith("["), S = M ? E[0].slice(1, -1) : void 0, T = M ? E.slice(1) : E, Q = S ? ["PanoramaLike", "ModelLike"].includes(S) ? (_ = o[S]) != null ? _ : o[S] = {} : (H = r[S]) != null ? H : r[S] = {} : s;
27933
27933
  if (!Q[C]) {
27934
27934
  if (T.length === 0 && (Q[C] = I), T.length === 1) {
27935
27935
  const [G] = T;
@@ -27942,8 +27942,8 @@ function Ga(n, t, e) {
27942
27942
  if (T.length === 3) {
27943
27943
  const [G = "Any", N, U] = T;
27944
27944
  if (N === "Audio" && n.contentType === "Audio") {
27945
- const _ = n;
27946
- (_.stickType === G || G === "Any") && _.data.appearance === U && (Q[C] = I);
27945
+ const F = n;
27946
+ (F.stickType === G || G === "Any") && F.data.appearance === U && (Q[C] = I);
27947
27947
  }
27948
27948
  }
27949
27949
  }
@@ -29241,9 +29241,9 @@ function KM(n, t, e) {
29241
29241
  function w(T) {
29242
29242
  T ? h.emit("exposure", { id: r, type: "start" }) : h.emit("exposure", { id: r, type: "end" });
29243
29243
  }
29244
- function I(T, Q, F) {
29244
+ function I(T, Q, _) {
29245
29245
  var H, G;
29246
- return !(!Q.visible || !Q.enabled || !F.visible || !((H = T.state) != null && H.visible) || ((G = T.temporaryState) == null ? void 0 : G.visible) === !1 || T instanceof Tg && T.loading);
29246
+ return !(!Q.visible || !Q.enabled || !_.visible || !((H = T.state) != null && H.visible) || ((G = T.temporaryState) == null ? void 0 : G.visible) === !1 || T instanceof Tg && T.loading);
29247
29247
  }
29248
29248
  function C(T) {
29249
29249
  Ne[T ? "unshift" : "push"](() => {
@@ -29262,15 +29262,15 @@ function KM(n, t, e) {
29262
29262
  return n.$$set = (T) => {
29263
29263
  "tag" in T && e(0, c = T.tag), "hooks" in T && e(1, h = T.hooks), "rendererMap" in T && e(2, u = T.rendererMap), "contentTypeMap" in T && e(3, f = T.contentTypeMap), "state" in T && e(6, m = T.state), "mediaStore" in T && e(7, p = T.mediaStore), "temporaryState" in T && e(8, v = T.temporaryState);
29264
29264
  }, n.$$.update = () => {
29265
- var T, Q, F, H, G, N, U, _, Y, X, J;
29265
+ var T, Q, _, H, G, N, U, F, Y, X, J;
29266
29266
  n.$$.dirty & /*tag*/
29267
29267
  1 && e(12, i = (T = c.state) == null ? void 0 : T.unfolded), n.$$.dirty & /*tag*/
29268
29268
  1 && e(11, s = (Q = c.state) == null ? void 0 : Q.visible), n.$$.dirty & /*state, temporaryState, tag*/
29269
- 321 && e(13, o = m.visible && v.visible && ((F = c.state) == null ? void 0 : F.visible)), n.$$.dirty & /*tag*/
29269
+ 321 && e(13, o = m.visible && v.visible && ((_ = c.state) == null ? void 0 : _.visible)), n.$$.dirty & /*tag*/
29270
29270
  1 && (r = c.id), n.$$.dirty & /*tag, state, temporaryState*/
29271
29271
  321 && e(5, a = !I(c, m, v)), n.$$.dirty & /*isVisible*/
29272
29272
  8192 && w(o), n.$$.dirty & /*tag, unfolded, lastUnfoldedState, visible, lastVisibleState*/
29273
- 7681 && c.hooks && (i !== void 0 && i !== A && (e(10, A = i), i ? (G = (H = c.hooks).emit) == null || G.call(H, "unfolded") : (U = c == null ? void 0 : (N = c.hooks).emit) == null || U.call(N, "folded")), s !== void 0 && s !== g && (e(9, g = s), s ? (Y = (_ = c.hooks).emit) == null || Y.call(_, "show") : (J = (X = c.hooks).emit) == null || J.call(X, "hide"))), n.$$.dirty & /*tag*/
29273
+ 7681 && c.hooks && (i !== void 0 && i !== A && (e(10, A = i), i ? (G = (H = c.hooks).emit) == null || G.call(H, "unfolded") : (U = c == null ? void 0 : (N = c.hooks).emit) == null || U.call(N, "folded")), s !== void 0 && s !== g && (e(9, g = s), s ? (Y = (F = c.hooks).emit) == null || Y.call(F, "show") : (J = (X = c.hooks).emit) == null || J.call(X, "hide"))), n.$$.dirty & /*tag*/
29274
29274
  1 && e(4, l = (() => !(typeof c.config.unfoldedConfig == "object" && c.config.unfoldedConfig.keep === "folded"))());
29275
29275
  }, [
29276
29276
  c,
@@ -30362,8 +30362,8 @@ function A3(n, t, e) {
30362
30362
  var E, M, S, T;
30363
30363
  n.$$.dirty & /*tag, rendererMap*/
30364
30364
  5 && e(8, i = (() => {
30365
- var Q, F, H;
30366
- return !(((F = (Q = m.style) == null ? void 0 : Q.point) == null ? void 0 : F.enabled) === !1 || ((H = v.get(m.contentType)) == null ? void 0 : H.usePoint) === !1 || m.contentType === "Sticker" || m.contentType === "Link" || m.contentType === "VRLink" || m.contentType === "PanoLink" || m.contentType === "Panorama" || m.contentType === "Audio" && m.data.appearance === "plane");
30365
+ var Q, _, H;
30366
+ return !(((_ = (Q = m.style) == null ? void 0 : Q.point) == null ? void 0 : _.enabled) === !1 || ((H = v.get(m.contentType)) == null ? void 0 : H.usePoint) === !1 || m.contentType === "Sticker" || m.contentType === "Link" || m.contentType === "VRLink" || m.contentType === "PanoLink" || m.contentType === "Panorama" || m.contentType === "Audio" && m.data.appearance === "plane");
30367
30367
  })()), n.$$.dirty & /*tag, havePoint*/
30368
30368
  257 && e(15, s = (() => !(m.stickType !== "2DPoint" || m.entryFromModel && Gt(m.five.state.mode) && i))()), n.$$.dirty & /*tag*/
30369
30369
  1 && e(14, o = m.id), n.$$.dirty & /*tag*/
@@ -34028,7 +34028,7 @@ class ux extends lo {
34028
34028
  this.scale(i);
34029
34029
  }
34030
34030
  scale(e) {
34031
- var Q, F;
34031
+ var Q, _;
34032
34032
  if (!this.startInfo)
34033
34033
  return;
34034
34034
  const i = this.originObject3D, { startPoint: s, plane: o } = this.startInfo, r = this.helperObject3D.cornerPositions;
@@ -34041,18 +34041,18 @@ class ux extends lo {
34041
34041
  const G = new se(0, 0, 0);
34042
34042
  if (!this.startInfo)
34043
34043
  return G;
34044
- const N = (H === "ew" ? u : f).clone(), U = c.clone().projectOnVector(N), _ = a.clone().projectOnVector(N), Y = l.clone().projectOnVector(N);
34045
- if (_.equals(U))
34044
+ const N = (H === "ew" ? u : f).clone(), U = c.clone().projectOnVector(N), F = a.clone().projectOnVector(N), Y = l.clone().projectOnVector(N);
34045
+ if (F.equals(U))
34046
34046
  return G;
34047
34047
  if (H === "ns" && typeof this.startInfo.dragPointInCenterBottom != "boolean") {
34048
- const ae = new se().subVectors(_, Y), re = ae.x < 0 && N.x >= 0, Pe = ae.y < 0 && N.y >= 0, ve = ae.z < 0 && N.z >= 0;
34048
+ const ae = new se().subVectors(F, Y), re = ae.x < 0 && N.x >= 0, Pe = ae.y < 0 && N.y >= 0, ve = ae.z < 0 && N.z >= 0;
34049
34049
  this.startInfo.dragPointInCenterBottom = re || Pe || ve;
34050
34050
  }
34051
34051
  if (H === "ew" && typeof this.startInfo.dragPointInCenterLeft != "boolean") {
34052
- const ae = new se().subVectors(_, Y), re = ae.x < 0 && N.x >= 0, Pe = ae.y < 0 && N.y >= 0, ve = ae.z < 0 && N.z >= 0;
34052
+ const ae = new se().subVectors(F, Y), re = ae.x < 0 && N.x >= 0, Pe = ae.y < 0 && N.y >= 0, ve = ae.z < 0 && N.z >= 0;
34053
34053
  this.startInfo.dragPointInCenterLeft = re || Pe || ve;
34054
34054
  }
34055
- const X = new se().subVectors(_, U), J = X.length();
34055
+ const X = new se().subVectors(F, U), J = X.length();
34056
34056
  return J > 0.3 ? (console.warn("offset.length() > 0.3, skipped", J), G) : X;
34057
34057
  }, p = m("ew"), v = m("ns"), g = () => {
34058
34058
  const H = p;
@@ -34081,7 +34081,7 @@ class ux extends lo {
34081
34081
  const w = new se().subVectors(r[1], r[0]).length() / u.length(), I = new se().subVectors(r[3], r[0]).length() / f.length(), C = new se(w, I, 1), E = new b.Matrix4().scale(C);
34082
34082
  i.isCSS3DObjectPlus ? i.applyScaleMatrix4(E) : i.scale.applyMatrix4(E), s.position.copy(a);
34083
34083
  const M = new se().addVectors(r[0], r[2]).divideScalar(2), S = new se().subVectors(M, l), T = new b.Matrix4().setPosition(S);
34084
- i.applyMatrix4(T), (Q = this.helperObject3D.css3DInstance) == null || Q.css3DObject.applyMatrix4(T), (F = this.helperObject3D.plane) == null || F.applyMatrix4(T), this.internalHooks.emit("applyObjectScale", { matrix: E }), this.internalHooks.emit("applyObjectPosition", { matrix: T }), this.render();
34084
+ i.applyMatrix4(T), (Q = this.helperObject3D.css3DInstance) == null || Q.css3DObject.applyMatrix4(T), (_ = this.helperObject3D.plane) == null || _.applyMatrix4(T), this.internalHooks.emit("applyObjectScale", { matrix: E }), this.internalHooks.emit("applyObjectPosition", { matrix: T }), this.render();
34085
34085
  }
34086
34086
  dragEnd() {
34087
34087
  this.isDragging && (this.startInfo = void 0, this.isDragging = !1, this.hooks.emit("scaleEnd"), this.render());
@@ -35757,8 +35757,8 @@ function Qx(n, t, e) {
35757
35757
  } } = t, { rendererIfNeed: u = void 0 } = t, { rendererData: f = void 0 } = t, m, p, v, g;
35758
35758
  const A = (E) => {
35759
35759
  if (o.state.mode !== "Panorama") {
35760
- const T = -(10 + 54 * (1 - Sr(E.latitude) / 90)), Q = T + 20, F = Q >= 0 ? 0 : -Q / 44;
35761
- e(7, p.style.transform = `scaleY(${F})`, p), e(7, p.style.top = `${Q}px`, p), e(8, v.style.top = `${T}px`, v);
35760
+ const T = -(10 + 54 * (1 - Sr(E.latitude) / 90)), Q = T + 20, _ = Q >= 0 ? 0 : -Q / 44;
35761
+ e(7, p.style.transform = `scaleY(${_})`, p), e(7, p.style.top = `${Q}px`, p), e(8, v.style.top = `${T}px`, v);
35762
35762
  }
35763
35763
  };
35764
35764
  Mt(() => {
@@ -37954,14 +37954,14 @@ function Oc(n, t, e) {
37954
37954
  A() && (h.push(v.pop()), E(p), t.pointSelectorHelper.magnifier.render());
37955
37955
  }, C = (Q) => {
37956
37956
  v.length = 0;
37957
- const F = h.length === 0 ? Q.point : u.clone();
37958
- h.push(F), n.setPoints(h, { closed: !1 }), m && (M(), s());
37957
+ const _ = h.length === 0 ? Q.point : u.clone();
37958
+ h.push(_), n.setPoints(h, { closed: !1 }), m && (M(), s());
37959
37959
  }, E = (Q) => {
37960
- const F = () => {
37960
+ const _ = () => {
37961
37961
  l.setPoints([]), c.setPoints([]), n.setPoints(h), t.pointSelectorHelper.magnifier.render();
37962
37962
  };
37963
37963
  if (!Q || (p = Q, !(h != null && h.length)))
37964
- return F();
37964
+ return _();
37965
37965
  const H = h.at(-1).clone();
37966
37966
  if (h.length < 3 && (a === "none" ? (u = Q.point, l.setPoints([H, u]), c.setPoints([])) : a === "xoz" ? (f = f != null ? f : new b.Plane().setFromNormalAndCoplanarPoint(new b.Vector3(0, 1, 0), h[0]), t.plane = f, u = f.projectPoint(Q.point, new b.Vector3()), l.setPoints([H, u]), c.setPoints([u, Q.point])) : a === "y" && (h.length === 1 ? (u = Q.point, l.setPoints([H, u]), c.setPoints([])) : (f = f != null ? f : new b.Plane().setFromCoplanarPoints(h[0], h[1], new b.Vector3(0, 1, 0).add(h[0])), t.plane = f, u = f.projectPoint(Q.point, new b.Vector3()), l.setPoints([H, u]), c.setPoints([u, Q.point])))), h.length >= 3) {
37967
37967
  u = n.projectPoint(Q.point);
@@ -38442,22 +38442,22 @@ function wk(n, t, e) {
38442
38442
  const p = new b.Plane(), v = () => {
38443
38443
  u.push(f.clone()), u.length === 1 ? (a === "xoz" && p.setFromNormalAndCoplanarPoint(new b.Vector3(0, 1, 0), u[0]), a === "none" && p.setFromNormalAndCoplanarPoint(m, u[0])) : u.length === 2 ? a === "y" || a === "xoz" ? (A(), o()) : h.setPoints([u[0], u[1]]) : u.length === 3 && (A(), o());
38444
38444
  }, g = (C) => {
38445
- var M;
38445
+ var M, S;
38446
38446
  if (!(C != null && C.raycaster))
38447
38447
  return;
38448
38448
  const E = (M = u.at(-1)) == null ? void 0 : M.clone();
38449
38449
  if (u.length === 0) {
38450
- f = C.point.clone(), m = C.face.normal;
38450
+ f = C.point.clone(), m = (S = C.face) == null ? void 0 : S.normal;
38451
38451
  return;
38452
38452
  }
38453
38453
  if (u.length === 1 && a === "y") {
38454
- const T = new b.Line3(new b.Vector3(0, 1, 0).add(u[0]), new b.Vector3(0, -1, 0).add(u[0])).closestPointToPoint(C.point, !1, new b.Vector3());
38455
- n.setPoints([u[0], T, C.point]);
38454
+ const Q = new b.Line3(new b.Vector3(0, 1, 0).add(u[0]), new b.Vector3(0, -1, 0).add(u[0])).closestPointToPoint(C.point, !1, new b.Vector3());
38455
+ n.setPoints([u[0], Q, C.point]);
38456
38456
  return;
38457
38457
  }
38458
38458
  if (u.length === 1 && a === "xoz") {
38459
- const S = new b.Line3(new b.Vector3(1, 0, 0).add(u[0]), new b.Vector3(-1, 0, 0).add(u[0])), T = C.raycaster.ray.intersectPlane(p, new b.Vector3()), Q = S.closestPointToPoint(T, !1, new b.Vector3());
38460
- n.setPoints([u[0], Q, T]);
38459
+ const T = new b.Line3(new b.Vector3(1, 0, 0).add(u[0]), new b.Vector3(-1, 0, 0).add(u[0])), Q = C.raycaster.ray.intersectPlane(p, new b.Vector3()), _ = T.closestPointToPoint(Q, !1, new b.Vector3());
38460
+ n.setPoints([u[0], _, Q]);
38461
38461
  return;
38462
38462
  }
38463
38463
  if (u.length === 1 && a === "none") {
@@ -38466,10 +38466,10 @@ function wk(n, t, e) {
38466
38466
  }
38467
38467
  if (u.length === 2 && a === "none") {
38468
38468
  r.remove(l);
38469
- const S = C.raycaster.ray.intersectPlane(p, new b.Vector3()), T = u[0].distanceTo(u[1]) / 2, Q = new b.Vector3().lerpVectors(u[0], u[1], 0.5), F = new b.Vector3().subVectors(S, Q).normalize();
38470
- f = new b.Vector3().addVectors(Q, F.multiplyScalar(T));
38471
- const H = [u[0], f, u[1]], G = np(H, Ze.modules.five.camera.position);
38472
- n.setPoints(G);
38469
+ const T = C.raycaster.ray.intersectPlane(p, new b.Vector3()), Q = u[0].distanceTo(u[1]) / 2, _ = new b.Vector3().lerpVectors(u[0], u[1], 0.5), H = new b.Vector3().subVectors(T, _).normalize();
38470
+ f = new b.Vector3().addVectors(_, H.multiplyScalar(Q));
38471
+ const G = [u[0], f, u[1]], N = np(G, Ze.modules.five.camera.position);
38472
+ n.setPoints(N);
38473
38473
  return;
38474
38474
  }
38475
38475
  }, A = () => {
@@ -38491,12 +38491,12 @@ function Ck(n, t, e) {
38491
38491
  const p = new b.Plane(), v = () => {
38492
38492
  u.push(f.clone()), u.length === 1 ? (a === "xoz" && p.setFromNormalAndCoplanarPoint(new b.Vector3(0, 1, 0), u[0]), a === "none" && p.setFromNormalAndCoplanarPoint(m, u[0])) : u.length === 2 ? (a === "y" && p.setFromCoplanarPoints(u[0], u[1], new b.Vector3(0, 1, 0).add(u[0])), h.setPoints([u[0], u[1]])) : u.length === 3 && (A(), o());
38493
38493
  }, g = (C) => {
38494
- var M;
38494
+ var M, S;
38495
38495
  if (!(C != null && C.raycaster))
38496
38496
  return;
38497
38497
  const E = (M = u.at(-1)) == null ? void 0 : M.clone();
38498
38498
  if (u.length === 0) {
38499
- f = C.point.clone(), m = C.face.normal;
38499
+ f = C.point.clone(), m = (S = C.face) == null ? void 0 : S.normal;
38500
38500
  return;
38501
38501
  }
38502
38502
  if (u.length === 1 && a === "y") {
@@ -38513,10 +38513,10 @@ function Ck(n, t, e) {
38513
38513
  }
38514
38514
  if (u.length === 2) {
38515
38515
  r.remove(l);
38516
- const S = new b.Vector3().crossVectors(u[0].clone().sub(u[1]), p.normal).normalize();
38517
- f = new b.Line3(u[1].clone().add(S), u[1].clone().sub(S)).closestPointToPoint(C.point, !1, new b.Vector3());
38518
- const Q = [u[0], u[1], f], F = np(Q, Ze.modules.five.camera.position);
38519
- n.setPoints(F);
38516
+ const T = new b.Vector3().crossVectors(u[0].clone().sub(u[1]), p.normal).normalize();
38517
+ f = new b.Line3(u[1].clone().add(T), u[1].clone().sub(T)).closestPointToPoint(C.point, !1, new b.Vector3());
38518
+ const _ = [u[0], u[1], f], H = np(_, Ze.modules.five.camera.position);
38519
+ n.setPoints(H);
38520
38520
  return;
38521
38521
  }
38522
38522
  }, A = () => {
@@ -39117,12 +39117,12 @@ function dp(n, t, e) {
39117
39117
  if (!(h != null && h.length) || !T)
39118
39118
  return Q();
39119
39119
  m = T;
39120
- const F = h.at(-1).clone();
39121
- a === "none" ? (u = T.point, l.setPoints([F, u])) : a === "xoz" ? (t.plane = f, f = f != null ? f : new b.Plane().setFromNormalAndCoplanarPoint(new b.Vector3(0, 1, 0), h[0]), u = f.projectPoint(T.point, new b.Vector3()), l.setPoints([F, u]), c.setPoints([u, T.point])) : a === "y" && (T.isVirtual ? (u = dn({
39120
+ const _ = h.at(-1).clone();
39121
+ a === "none" ? (u = T.point, l.setPoints([_, u])) : a === "xoz" ? (t.plane = f, f = f != null ? f : new b.Plane().setFromNormalAndCoplanarPoint(new b.Vector3(0, 1, 0), h[0]), u = f.projectPoint(T.point, new b.Vector3()), l.setPoints([_, u]), c.setPoints([u, T.point])) : a === "y" && (T.isVirtual ? (u = dn({
39122
39122
  raycaster: T.raycaster,
39123
39123
  line: new b.Line3(h[0].clone(), new b.Vector3(0, 1, 0).add(h[0])),
39124
39124
  clampToLine: !1
39125
- }), c.setPoints([])) : (u = new b.Line3(h[0].clone(), new b.Vector3(0, 1, 0).add(h[0])).closestPointToPoint(T.point, !1, new b.Vector3()), c.setPoints([u, T.point])), l.setPoints([F, u]));
39125
+ }), c.setPoints([])) : (u = new b.Line3(h[0].clone(), new b.Vector3(0, 1, 0).add(h[0])).closestPointToPoint(T.point, !1, new b.Vector3()), c.setPoints([u, T.point])), l.setPoints([_, u]));
39126
39126
  }, E = () => {
39127
39127
  t.off("select", I), t.off("intersectionUpdate", C), t.off("disable", M), t.plane = null, t.disable(), i == null || i.remove(l, c);
39128
39128
  }, M = () => {