@realsee/dnalogel 3.70.2 → 3.70.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (483) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/components/index.js +3 -3
  3. package/dist/index.cjs.js +35 -35
  4. package/dist/index.js +638 -616
  5. package/dist/index.umd.js +36 -36
  6. package/dist/shared-utils/three/getIntersect.d.ts +1 -1
  7. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  8. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  9. package/docs/classes/CSS3DRender.html +2 -2
  10. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  11. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  12. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  13. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
  14. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
  15. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
  16. package/docs/classes/ModelRoomLabelController.html +2 -2
  17. package/docs/classes/MoveController.html +2 -2
  18. package/docs/classes/Object3DHelperController.html +2 -2
  19. package/docs/classes/PaintBrush.html +2 -2
  20. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  21. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  22. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  23. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  24. package/docs/classes/PanoTagPluginController.html +2 -2
  25. package/docs/classes/Sculpt.html +2 -2
  26. package/docs/classes/Util.BetterTween.html +2 -2
  27. package/docs/classes/Util.FiveDomEvents.html +2 -2
  28. package/docs/classes/Util.FivePuppet.html +2 -2
  29. package/docs/classes/Util.Interval.html +2 -2
  30. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  31. package/docs/classes/Util.LightTag.html +3 -3
  32. package/docs/classes/Util.LineSegments.html +2 -2
  33. package/docs/classes/Util.Magnifier.html +2 -2
  34. package/docs/classes/Util.Object3D.html +2 -2
  35. package/docs/classes/Util.PointDomHelper.html +2 -2
  36. package/docs/classes/Util.PointHelper.html +2 -2
  37. package/docs/classes/Util.PointSelector.html +2 -2
  38. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  39. package/docs/classes/Util.Rectangle.html +2 -2
  40. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  41. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  42. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  43. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  44. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  45. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  46. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  47. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  48. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  49. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  50. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  51. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  52. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  53. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  54. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  55. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  56. package/docs/classes/WalkController.html +2 -2
  57. package/docs/enums/CameraMovementEffect.html +2 -2
  58. package/docs/enums/ContentType.html +2 -2
  59. package/docs/enums/DIRECTION.html +2 -2
  60. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  61. package/docs/enums/DimensionType.html +2 -2
  62. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  63. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  64. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  65. package/docs/enums/PointType.html +2 -2
  66. package/docs/enums/Rotation.html +2 -2
  67. package/docs/functions/AreaMakerPlugin.html +1 -1
  68. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  69. package/docs/functions/CameraMovementPlugin.html +2 -2
  70. package/docs/functions/CruisePlugin.html +1 -1
  71. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  72. package/docs/functions/FloorplanGuidePlugin.html +1 -1
  73. package/docs/functions/GuideLinePlugin.html +1 -1
  74. package/docs/functions/ItemLabelPlugin.html +1 -1
  75. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  76. package/docs/functions/MeasurePlugin.html +1 -1
  77. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  78. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  79. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  80. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  81. package/docs/functions/ModelMakerPlugin.html +1 -1
  82. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  83. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  84. package/docs/functions/ModelViewPlugin.html +2 -2
  85. package/docs/functions/MovePlugin.html +1 -1
  86. package/docs/functions/Object3DHelperPlugin.html +1 -1
  87. package/docs/functions/PanoCompassPlugin.html +1 -1
  88. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  89. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  90. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  91. package/docs/functions/PanoMeasurePlugin.html +1 -1
  92. package/docs/functions/PanoRulerPlugin.html +2 -2
  93. package/docs/functions/PanoRulerProPlugin.html +2 -2
  94. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  95. package/docs/functions/PanoTagPlugin.html +1 -1
  96. package/docs/functions/PanoVideoPlugin.html +2 -2
  97. package/docs/functions/PipelinePlugin.html +1 -1
  98. package/docs/functions/SculptPlugin.html +2 -2
  99. package/docs/functions/SculptPluginForFive.html +2 -2
  100. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  101. package/docs/functions/Util.awaitNextFrame.html +1 -1
  102. package/docs/functions/Util.blink.html +2 -2
  103. package/docs/functions/Util.blinkWithPreset.html +2 -2
  104. package/docs/functions/Util.bounding.html +1 -1
  105. package/docs/functions/Util.boundingBox.html +1 -1
  106. package/docs/functions/Util.boundingSphere.html +1 -1
  107. package/docs/functions/Util.boxVertex.html +2 -2
  108. package/docs/functions/Util.boxVertexes.html +1 -1
  109. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  110. package/docs/functions/Util.cleanup.html +2 -2
  111. package/docs/functions/Util.convexHull.html +2 -2
  112. package/docs/functions/Util.equal.html +2 -2
  113. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  114. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  115. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  116. package/docs/functions/Util.getFrameTime.html +2 -2
  117. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  118. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  119. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  120. package/docs/functions/Util.inside.html +1 -1
  121. package/docs/functions/Util.isModelLike.html +1 -1
  122. package/docs/functions/Util.isNil.html +2 -2
  123. package/docs/functions/Util.isPanoramaLike.html +1 -1
  124. package/docs/functions/Util.lookObject.html +2 -2
  125. package/docs/functions/Util.lookPoint.html +2 -2
  126. package/docs/functions/Util.nextFrame.html +1 -1
  127. package/docs/functions/Util.notNil.html +2 -2
  128. package/docs/functions/Util.reblink.html +2 -2
  129. package/docs/functions/Util.replaceStaticPrefix.html +2 -2
  130. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  131. package/docs/functions/Util.sculpt.createBox.html +1 -1
  132. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  133. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  134. package/docs/functions/Util.sculpt.createLine.html +2 -2
  135. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  136. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  137. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  138. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  139. package/docs/functions/Util.tag.html +1 -1
  140. package/docs/functions/Util.tweenProgress.html +1 -1
  141. package/docs/functions/Util.uuid.html +2 -2
  142. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  143. package/docs/functions/Util.worldBounding.html +1 -1
  144. package/docs/functions/Util.worldBoundingBox.html +1 -1
  145. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  146. package/docs/functions/createPolyline.html +2 -2
  147. package/docs/functions/pluginFlag.html +1 -1
  148. package/docs/hierarchy.html +1 -1
  149. package/docs/index.html +2 -2
  150. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  151. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  152. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  154. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  155. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  156. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  157. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  158. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  159. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  160. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  161. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  162. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  163. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  164. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  165. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  166. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  167. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  168. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  169. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  170. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  171. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  172. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  173. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  174. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  175. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  176. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  177. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  178. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  179. package/docs/interfaces/FloorplanBounding.html +2 -2
  180. package/docs/interfaces/FloorplanData.html +2 -2
  181. package/docs/interfaces/FloorplanEntrance.html +2 -2
  182. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  183. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  184. package/docs/interfaces/FloorplanFloorData.html +2 -2
  185. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  186. package/docs/interfaces/FloorplanObserver.html +2 -2
  187. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  188. package/docs/interfaces/FloorplanPosition.html +2 -2
  189. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  190. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  191. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  192. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  193. package/docs/interfaces/FloorplanServerData.html +2 -2
  194. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  195. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  196. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  197. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  198. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  199. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  200. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  201. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  202. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  203. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  204. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  210. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  212. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  213. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  214. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  215. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  216. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  217. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  218. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  219. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  220. package/docs/interfaces/HelperOffset.html +2 -2
  221. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  222. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  223. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  224. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  225. package/docs/interfaces/MinMax.html +2 -2
  226. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  227. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  228. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  229. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  230. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  231. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  232. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  233. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  234. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  235. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  236. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  238. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  239. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  240. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  241. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  242. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  243. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  244. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  245. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  246. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  247. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  248. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  249. package/docs/interfaces/Object3DHelperState.html +2 -2
  250. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  251. package/docs/interfaces/PaintBrushAction.html +2 -2
  252. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  253. package/docs/interfaces/PaintBrushState.html +2 -2
  254. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  255. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  256. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  257. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  258. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  259. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  260. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  261. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  262. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  263. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  264. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  265. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  266. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  267. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  268. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  269. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  270. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  271. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  273. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  274. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  275. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  276. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  277. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  278. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  279. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  280. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  281. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  282. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  283. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  284. package/docs/interfaces/PluginEventMap.html +2 -2
  285. package/docs/interfaces/Point.html +2 -2
  286. package/docs/interfaces/Room.html +2 -2
  287. package/docs/interfaces/RoomInfo.html +2 -2
  288. package/docs/interfaces/RoomLabel.html +2 -2
  289. package/docs/interfaces/RoomRules.html +1 -1
  290. package/docs/interfaces/Rooms.html +1 -1
  291. package/docs/interfaces/Scissor.html +2 -2
  292. package/docs/interfaces/SculptConfig.html +2 -2
  293. package/docs/interfaces/State.html +2 -2
  294. package/docs/interfaces/TagCacheInterface.html +2 -2
  295. package/docs/interfaces/TagConfig.html +3 -3
  296. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  297. package/docs/interfaces/TagIconAnimationConfig.html +2 -2
  298. package/docs/interfaces/TagIconUrl.html +2 -2
  299. package/docs/interfaces/TagObjectGroup.html +2 -2
  300. package/docs/interfaces/TagState.html +2 -2
  301. package/docs/interfaces/TagStyle.html +2 -2
  302. package/docs/interfaces/Tags.html +2 -2
  303. package/docs/interfaces/TemporaryState.html +2 -2
  304. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  305. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  306. package/docs/interfaces/Util.EventHandlerConfig.html +3 -3
  307. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  308. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  309. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  310. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  311. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  312. package/docs/interfaces/Util.ObjectInitialState.html +2 -2
  313. package/docs/interfaces/Util.PointIntersection.html +2 -2
  314. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  315. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  316. package/docs/modules/AreaMakerPluginType.html +2 -2
  317. package/docs/modules/CruisePluginTypes.html +2 -2
  318. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  319. package/docs/modules/GuideLineItem.html +2 -2
  320. package/docs/modules/GuideLineModeItem.html +2 -2
  321. package/docs/modules/GuideLinePluginType.html +2 -2
  322. package/docs/modules/ModelMakerPluginType.html +2 -2
  323. package/docs/modules/PanoVideoPluginType.html +2 -2
  324. package/docs/modules/SculptData.html +2 -2
  325. package/docs/modules/SculptType.html +2 -2
  326. package/docs/modules/Util.html +2 -2
  327. package/docs/modules/Util.sculpt.html +2 -2
  328. package/docs/modules.html +2 -2
  329. package/docs/types/AddObject3DHelperConfig.html +2 -2
  330. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  331. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  332. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  333. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  334. package/docs/types/ArrayPosition.html +1 -1
  335. package/docs/types/AudioAppearance.html +1 -1
  336. package/docs/types/CSS3DRenderExportType.html +1 -1
  337. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  338. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  339. package/docs/types/ClassFunctionParameters.html +1 -1
  340. package/docs/types/Color.html +1 -1
  341. package/docs/types/ContentTypeConfigKey.html +1 -1
  342. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  343. package/docs/types/ContentTypeMap.html +1 -1
  344. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  345. package/docs/types/Create3DElementReturnType.html +1 -1
  346. package/docs/types/CruisePluginExportType.html +1 -1
  347. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  348. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  349. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  350. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  351. package/docs/types/DeprecatedTagProperty.html +2 -2
  352. package/docs/types/Direction-1.html +1 -1
  353. package/docs/types/Direction4.html +1 -1
  354. package/docs/types/ElementRenderer.html +2 -2
  355. package/docs/types/FloorplanGuidePluginParameterType.html +1 -1
  356. package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
  357. package/docs/types/FloorplanRuleLabels.html +2 -2
  358. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  359. package/docs/types/GuideLinePluginExportType.html +1 -1
  360. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  361. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  362. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  363. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  364. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  365. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  366. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  367. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  368. package/docs/types/HelperEventMap.html +1 -1
  369. package/docs/types/InternalHelperEventMap.html +1 -1
  370. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  371. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  372. package/docs/types/MeasureEndReason.html +1 -1
  373. package/docs/types/MeasurePluginConfig.html +2 -2
  374. package/docs/types/MediaData.html +2 -2
  375. package/docs/types/MediaStore.html +1 -1
  376. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  377. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  378. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  379. package/docs/types/ModelId.html +1 -1
  380. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  381. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  382. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  383. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  384. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  385. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  386. package/docs/types/MoveArgs.html +2 -2
  387. package/docs/types/MoveOpts.html +2 -2
  388. package/docs/types/Object3DHelperEventMap.html +1 -1
  389. package/docs/types/ObjectFit.html +1 -1
  390. package/docs/types/PaintBrushEventMap.html +1 -1
  391. package/docs/types/PanoCompassPluginData.html +1 -1
  392. package/docs/types/PanoCompassPluginExportType.html +1 -1
  393. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  394. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  395. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  396. package/docs/types/PanoIndex.html +1 -1
  397. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  398. package/docs/types/PanoMeasureReturnType.html +1 -1
  399. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  400. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  401. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  402. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  403. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  404. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  405. package/docs/types/PipelinePluginParameterType.html +1 -1
  406. package/docs/types/PipelinePluginReturnType.html +1 -1
  407. package/docs/types/PlaneTag.html +2 -2
  408. package/docs/types/Point2DTag.html +2 -2
  409. package/docs/types/Point3DTag.html +2 -2
  410. package/docs/types/PointTagInstance.html +1 -1
  411. package/docs/types/Position.html +1 -1
  412. package/docs/types/PositionFrom.html +1 -1
  413. package/docs/types/RotateArgs.html +2 -2
  414. package/docs/types/RotateOpts.html +2 -2
  415. package/docs/types/RuleLabelsKey.html +1 -1
  416. package/docs/types/RuleLabelsValue.html +1 -1
  417. package/docs/types/ScaleCallback.html +1 -1
  418. package/docs/types/ScalePosition.html +2 -2
  419. package/docs/types/SculptData.BoxData.html +1 -1
  420. package/docs/types/SculptData.CircleData.html +1 -1
  421. package/docs/types/SculptData.CylinderData.html +1 -1
  422. package/docs/types/SculptData.PointData.html +1 -1
  423. package/docs/types/SculptData.PolygonData.html +1 -1
  424. package/docs/types/SculptData.PolylineData.html +1 -1
  425. package/docs/types/SculptData.PrismData.html +1 -1
  426. package/docs/types/SculptData.RectangleData.html +1 -1
  427. package/docs/types/SculptType.Theme.html +2 -2
  428. package/docs/types/StickType.html +1 -1
  429. package/docs/types/Tag.html +2 -2
  430. package/docs/types/Tag2D.html +2 -2
  431. package/docs/types/Tag3D.html +2 -2
  432. package/docs/types/TagClickParams.html +1 -1
  433. package/docs/types/TagConfigByKey.html +1 -1
  434. package/docs/types/TagContentType.html +1 -1
  435. package/docs/types/TagContentTypeMapping.html +1 -1
  436. package/docs/types/TagDimensionType.html +1 -1
  437. package/docs/types/TagElement.html +2 -2
  438. package/docs/types/TagEvents.html +1 -1
  439. package/docs/types/TagGLTFObject.html +1 -1
  440. package/docs/types/TagHooks.html +1 -1
  441. package/docs/types/TagId.html +1 -1
  442. package/docs/types/TagInstance.html +1 -1
  443. package/docs/types/TagPlacement.html +3 -3
  444. package/docs/types/TagPointType.html +2 -2
  445. package/docs/types/TagRendererMap.html +1 -1
  446. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  447. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  448. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  449. package/docs/types/Util.AdherePoint.html +2 -2
  450. package/docs/types/Util.PointSelectorConfig.html +1 -1
  451. package/docs/types/Util.SupportedTarget.html +2 -2
  452. package/docs/types/Util.Target.html +2 -2
  453. package/docs/types/Util.ThreeObject.html +2 -2
  454. package/docs/types/WorkCode.html +1 -1
  455. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  456. package/docs/variables/PLUGIN.html +1 -1
  457. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  458. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  459. package/docs/variables/Util.ANIME_PRESETS.html +2 -2
  460. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
  461. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
  462. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
  463. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
  464. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
  465. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
  466. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
  467. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
  468. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
  469. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
  470. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
  471. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
  472. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
  473. package/docs/variables/defaultGlobalConfig.html +1 -1
  474. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  475. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  476. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  477. package/libs/base/BasePlugin.js +1 -1
  478. package/libs/components/AreaLabel/LabelItem.js +134 -112
  479. package/libs/shared-utils/logger.js +1 -1
  480. package/libs/shared-utils/three/getIntersect.d.ts +1 -1
  481. package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +4 -4
  482. package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +91 -91
  483. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2,12 +2,12 @@ var MA = Object.defineProperty, kA = Object.defineProperties;
2
2
  var xA = Object.getOwnPropertyDescriptors;
3
3
  var ya = Object.getOwnPropertySymbols;
4
4
  var od = Object.prototype.hasOwnProperty, rd = Object.prototype.propertyIsEnumerable;
5
- var Xn = Math.pow, tc = (n, t, e) => t in n ? MA(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, H = (n, t) => {
5
+ var Xn = Math.pow, ic = (n, t, e) => t in n ? MA(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, H = (n, t) => {
6
6
  for (var e in t || (t = {}))
7
- od.call(t, e) && tc(n, e, t[e]);
7
+ od.call(t, e) && ic(n, e, t[e]);
8
8
  if (ya)
9
9
  for (var e of ya(t))
10
- rd.call(t, e) && tc(n, e, t[e]);
10
+ rd.call(t, e) && ic(n, e, t[e]);
11
11
  return n;
12
12
  }, ce = (n, t) => kA(n, xA(t));
13
13
  var Yn = (n, t) => {
@@ -19,7 +19,7 @@ var Yn = (n, t) => {
19
19
  t.indexOf(i) < 0 && rd.call(n, i) && (e[i] = n[i]);
20
20
  return e;
21
21
  };
22
- var f = (n, t, e) => (tc(n, typeof t != "symbol" ? t + "" : t, e), e);
22
+ var f = (n, t, e) => (ic(n, typeof t != "symbol" ? t + "" : t, e), e);
23
23
  var ie = (n, t, e) => new Promise((i, s) => {
24
24
  var o = (l) => {
25
25
  try {
@@ -38,12 +38,12 @@ var ie = (n, t, e) => new Promise((i, s) => {
38
38
  });
39
39
  import { InternalWebGLRenderer as SA, Camera as DA, loadAt3d as TA, Five as Ht, Subscribe as Zo, AnimationFrameLoop as LA } from "@realsee/five";
40
40
  import * as w from "three";
41
- import { Vector3 as Ae, Vector2 as Nt, Object3D as Eo, Matrix4 as nt, LineSegments as zA, ShaderMaterial as El, Group as En, Raycaster as qo, MeshBasicMaterial as jr, Vector4 as Ss, Curve as m0, Loader as ad, LoaderUtils as ic, FileLoader as OA, TextureLoader as Th, RepeatWrapping as ld, ClampToEdgeWrapping as cd, Texture as hd, MeshPhongMaterial as nc, MeshLambertMaterial as jA, Color as Zt, sRGBEncoding as wr, EquirectangularReflectionMapping as RA, Bone as ud, PropertyBinding as wa, OrthographicCamera as _A, PerspectiveCamera as BA, PointLight as dd, MathUtils as qi, SpotLight as VA, DirectionalLight as HA, SkinnedMesh as FA, Mesh as Mo, LineBasicMaterial as NA, Line as GA, Skeleton as WA, AmbientLight as UA, BufferGeometry as Pa, Float32BufferAttribute as lo, Uint16BufferAttribute as QA, Matrix3 as XA, BufferAttribute as YA, AnimationClip as ZA, Quaternion as Ds, Euler as $n, VectorKeyframeTrack as qA, QuaternionKeyframeTrack as JA, NumberKeyframeTrack as KA, CanvasTexture as $A, AnimationMixer as eb, PlaneGeometry as tb, LinearFilter as Gc, CurvePath as ib, LineCurve3 as nb, TubeGeometry as sb, SphereGeometry as ob, DoubleSide as v0, RingGeometry as rb, VideoTexture as ab, SphereBufferGeometry as lb, Box3 as cb } from "three";
41
+ import { Vector3 as Ae, Vector2 as Nt, Object3D as Eo, Matrix4 as nt, LineSegments as zA, ShaderMaterial as Ml, Group as En, Raycaster as qo, MeshBasicMaterial as jr, Vector4 as Ss, Curve as m0, Loader as ad, LoaderUtils as nc, FileLoader as OA, TextureLoader as Th, RepeatWrapping as ld, ClampToEdgeWrapping as cd, Texture as hd, MeshPhongMaterial as sc, MeshLambertMaterial as jA, Color as Zt, sRGBEncoding as wr, EquirectangularReflectionMapping as RA, Bone as ud, PropertyBinding as wa, OrthographicCamera as _A, PerspectiveCamera as BA, PointLight as dd, MathUtils as qi, SpotLight as VA, DirectionalLight as HA, SkinnedMesh as FA, Mesh as Mo, LineBasicMaterial as NA, Line as GA, Skeleton as WA, AmbientLight as UA, BufferGeometry as Pa, Float32BufferAttribute as lo, Uint16BufferAttribute as QA, Matrix3 as XA, BufferAttribute as YA, AnimationClip as ZA, Quaternion as Ds, Euler as $n, VectorKeyframeTrack as qA, QuaternionKeyframeTrack as JA, NumberKeyframeTrack as KA, CanvasTexture as $A, AnimationMixer as eb, PlaneGeometry as tb, LinearFilter as Wc, CurvePath as ib, LineCurve3 as nb, TubeGeometry as sb, SphereGeometry as ob, DoubleSide as v0, RingGeometry as rb, VideoTexture as ab, SphereBufferGeometry as lb, Box3 as cb } from "three";
42
42
  import { LineGeometry as hb, LineMaterial as ub, THREE_Line2 as db, Line as fb } from "@realsee/five/line";
43
43
  import { GLTFLoader as gb } from "@realsee/five/gltf-loader";
44
44
  function pb() {
45
45
  console.debug(
46
- "%c %c@realsee/dnalogel %cv3.70.2",
46
+ "%c %c@realsee/dnalogel %cv3.70.3",
47
47
  [
48
48
  "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=')",
49
49
  "background-repeat: no-repeat",
@@ -75,7 +75,7 @@ function Ca(n, t, e) {
75
75
  const i = n.x, s = n.y, o = Math.floor(i / t * 1e4) / 1e4, r = Math.floor(s / e * 1e4) / 1e4;
76
76
  return { x: o, y: r };
77
77
  }
78
- function sc(n, t, e) {
78
+ function oc(n, t, e) {
79
79
  const { x: i, y: s } = n, o = i * t, r = s * e;
80
80
  return { x: o, y: r };
81
81
  }
@@ -105,13 +105,13 @@ var Hi = Object.freeze({
105
105
  return n;
106
106
  },
107
107
  In: function(n) {
108
- return this.None(n);
108
+ return n;
109
109
  },
110
110
  Out: function(n) {
111
- return this.None(n);
111
+ return n;
112
112
  },
113
113
  InOut: function(n) {
114
- return this.None(n);
114
+ return n;
115
115
  }
116
116
  }),
117
117
  Quadratic: Object.freeze({
@@ -322,11 +322,11 @@ var Hi = Object.freeze({
322
322
  return n._nextId++;
323
323
  }, n._nextId = 0, n;
324
324
  }()
325
- ), Wc = new b0(), Ml = (
325
+ ), Uc = new b0(), kl = (
326
326
  /** @class */
327
327
  function() {
328
328
  function n(t, e) {
329
- e === void 0 && (e = Wc), this._object = t, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Hi.Linear.None, this._interpolationFunction = Ts.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = Lh.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
329
+ e === void 0 && (e = Uc), this._object = t, this._group = e, this._isPaused = !1, this._pauseStart = 0, this._valuesStart = {}, this._valuesEnd = {}, this._valuesStartRepeat = {}, this._duration = 1e3, this._isDynamic = !1, this._initialRepeat = 0, this._repeat = 0, this._yoyo = !1, this._isPlaying = !1, this._reversed = !1, this._delayTime = 0, this._startTime = 0, this._easingFunction = Hi.Linear.None, this._interpolationFunction = Ts.Linear, this._chainedTweens = [], this._onStartCallbackFired = !1, this._onEveryStartCallbackFired = !1, this._id = Lh.nextId(), this._isChainStopped = !1, this._propertiesAreSetUp = !1, this._goToEnd = !1;
330
330
  }
331
331
  return n.prototype.getId = function() {
332
332
  return this._id;
@@ -413,7 +413,7 @@ var Hi = Object.freeze({
413
413
  this._chainedTweens[t].stop();
414
414
  return this;
415
415
  }, n.prototype.group = function(t) {
416
- return t === void 0 && (t = Wc), this._group = t, this;
416
+ return t === void 0 && (t = Uc), this._group = t, this;
417
417
  }, n.prototype.delay = function(t) {
418
418
  return t === void 0 && (t = 0), this._delayTime = t, this;
419
419
  }, n.prototype.repeat = function(t) {
@@ -490,14 +490,14 @@ var Hi = Object.freeze({
490
490
  typeof i == "string" ? this._valuesStartRepeat[t] = this._valuesStartRepeat[t] + parseFloat(i) : this._valuesStartRepeat[t] = this._valuesEnd[t], this._valuesEnd[t] = e;
491
491
  }, n;
492
492
  }()
493
- ), yb = "23.1.1", wb = Lh.nextId, nn = Wc, Pb = nn.getAll.bind(nn), Cb = nn.removeAll.bind(nn), Ib = nn.add.bind(nn), y0 = nn.remove.bind(nn), Eb = nn.update.bind(nn), md = {
493
+ ), yb = "23.1.3", wb = Lh.nextId, nn = Uc, Pb = nn.getAll.bind(nn), Cb = nn.removeAll.bind(nn), Ib = nn.add.bind(nn), y0 = nn.remove.bind(nn), Eb = nn.update.bind(nn), md = {
494
494
  Easing: Hi,
495
495
  Group: b0,
496
496
  Interpolation: Ts,
497
497
  now: Ao,
498
498
  Sequence: Lh,
499
499
  nextId: wb,
500
- Tween: Ml,
500
+ Tween: kl,
501
501
  VERSION: yb,
502
502
  getAll: Pb,
503
503
  removeAll: Cb,
@@ -506,7 +506,7 @@ var Hi = Object.freeze({
506
506
  update: Eb
507
507
  };
508
508
  function Mb(n, t, e, i = Hi.Linear.None) {
509
- const s = new Ml(n).to(t, e).easing(i).start();
509
+ const s = new kl(n).to(t, e).easing(i).start();
510
510
  function o(r) {
511
511
  s.update(r) && requestAnimationFrame(o);
512
512
  }
@@ -957,7 +957,7 @@ let Db = class extends xb {
957
957
  const a = this.canvas[e].getContext("2d");
958
958
  if (!a)
959
959
  return;
960
- const { line: l = [], color: c = "black", duration: h = 0, uuid: u } = i, d = sc(i.move || {}, this.clientWidth, this.clientHeight);
960
+ const { line: l = [], color: c = "black", duration: h = 0, uuid: u } = i, d = oc(i.move || {}, this.clientWidth, this.clientHeight);
961
961
  let p = [d];
962
962
  if (a.strokeStyle = c, a.beginPath(), a.moveTo(d.x, d.y), h && !s) {
963
963
  let g = [];
@@ -968,7 +968,7 @@ let Db = class extends xb {
968
968
  return a.clearRect(0, 0, m.canvas[u].width, m.canvas[u].height), (P = m.tween) == null ? void 0 : P.stop();
969
969
  const b = Math.floor(v);
970
970
  if (!g.find((E) => E === b)) {
971
- if (g.push(b), p.push(sc(l[b], m.clientWidth, m.clientHeight)), p.length < 3)
971
+ if (g.push(b), p.push(oc(l[b], m.clientWidth, m.clientHeight)), p.length < 3)
972
972
  return;
973
973
  const { control: E, end: M } = Ia(p);
974
974
  if (!E || !M)
@@ -980,7 +980,7 @@ let Db = class extends xb {
980
980
  });
981
981
  } else {
982
982
  for (let g = 0; g < l.length; g++) {
983
- if (p.push(sc(l[g], this.clientWidth, this.clientHeight)), p.length < 3)
983
+ if (p.push(oc(l[g], this.clientWidth, this.clientHeight)), p.length < 3)
984
984
  continue;
985
985
  const { control: m, end: v } = Ia(p);
986
986
  !m || !v || a.quadraticCurveTo(m.x, m.y, v.x, v.y);
@@ -1143,7 +1143,7 @@ class Mt {
1143
1143
  return i;
1144
1144
  }
1145
1145
  }
1146
- class Uc {
1146
+ class Qc {
1147
1147
  constructor(t = 0, e = 0) {
1148
1148
  f(this, "min");
1149
1149
  f(this, "max");
@@ -1169,7 +1169,7 @@ let zb = class {
1169
1169
  f(this, "xInterval");
1170
1170
  f(this, "yInterval");
1171
1171
  f(this, "isRectangle", !0);
1172
- this.min = t, this.max = e, this.xInterval = new Uc(this.min.x, this.max.x), this.yInterval = new Uc(this.min.y, this.max.y);
1172
+ this.min = t, this.max = e, this.xInterval = new Qc(this.min.x, this.max.x), this.yInterval = new Qc(this.min.y, this.max.y);
1173
1173
  }
1174
1174
  /** 是否与矩形是否重叠 */
1175
1175
  isOverlapWithRectangle(t) {
@@ -1214,7 +1214,7 @@ function _b(n) {
1214
1214
  if (n)
1215
1215
  return Array.isArray(n) ? typeof n[0] == "number" ? Ue(n) : n.map(Ue) : Ue(n);
1216
1216
  }
1217
- function oc(n, t, e) {
1217
+ function rc(n, t, e) {
1218
1218
  const { x: i, y: s, z: o } = t.clone().project(n);
1219
1219
  return o > 1 ? void 0 : {
1220
1220
  leftPx: (i + 1) / 2 * e.x,
@@ -1237,7 +1237,7 @@ const Lo = (n, t) => {
1237
1237
  return n;
1238
1238
  const e = new w.Vector3(), i = new w.Quaternion(), s = new w.Vector3();
1239
1239
  return t.decompose(e, i, s), n.clone().multiply(s).applyQuaternion(i).add(e);
1240
- }, rc = /* @__PURE__ */ new Map();
1240
+ }, ac = /* @__PURE__ */ new Map();
1241
1241
  class Bb extends w0 {
1242
1242
  constructor(e) {
1243
1243
  super(e);
@@ -1246,10 +1246,10 @@ class Bb extends w0 {
1246
1246
  get fromType() {
1247
1247
  var s, o;
1248
1248
  const e = this.workCode;
1249
- if (rc.has(e))
1250
- return rc.get(e);
1249
+ if (ac.has(e))
1250
+ return ac.get(e);
1251
1251
  const i = (o = (s = JSON.parse(this.work.raw.works[0])) == null ? void 0 : s.from_type) != null ? o : "vr";
1252
- return rc.set(e, i), i;
1252
+ return ac.set(e, i), i;
1253
1253
  }
1254
1254
  /**
1255
1255
  * @description 设置插件当前的 workCode
@@ -1309,7 +1309,7 @@ class Bb extends w0 {
1309
1309
  return (i = this.observers) == null ? void 0 : i[e];
1310
1310
  }
1311
1311
  }
1312
- class kl extends w0 {
1312
+ class xl extends w0 {
1313
1313
  constructor(e) {
1314
1314
  super(e);
1315
1315
  f(this, "workUtil", new Bb(this.five));
@@ -1333,23 +1333,23 @@ class kl extends w0 {
1333
1333
  }
1334
1334
  class Rr extends w.Raycaster {
1335
1335
  intersectObject(t, e = !0, i = []) {
1336
- return Qc(t, this, i, e), i.sort(Ad), i;
1336
+ return Xc(t, this, i, e), i.sort(Ad), i;
1337
1337
  }
1338
1338
  intersectObjects(t, e = !0, i = []) {
1339
1339
  for (let s = 0, o = t.length; s < o; s++)
1340
- Qc(t[s], this, i, e);
1340
+ Xc(t[s], this, i, e);
1341
1341
  return i.sort(Ad), i;
1342
1342
  }
1343
1343
  }
1344
1344
  function Ad(n, t) {
1345
1345
  return n.distance - t.distance;
1346
1346
  }
1347
- function Qc(n, t, e, i) {
1347
+ function Xc(n, t, e, i) {
1348
1348
  let s = !0;
1349
1349
  if (n.layers.test(t.layers) && n.raycast(t, e) === !1 && (s = !1), s === !0 && i === !0) {
1350
1350
  const o = n.children;
1351
1351
  for (let r = 0, a = o.length; r < a; r++)
1352
- Qc(o[r], t, e, !0);
1352
+ Xc(o[r], t, e, !0);
1353
1353
  }
1354
1354
  }
1355
1355
  function zh(n, t, e, i) {
@@ -1362,7 +1362,7 @@ function zh(n, t, e, i) {
1362
1362
  }
1363
1363
  const Mn = new Rr();
1364
1364
  Mn.params.Points.threshold = 0.02;
1365
- function qa(n, t) {
1365
+ function Ja(n, t) {
1366
1366
  if (!t || typeof ResizeObserver == "undefined" || !ResizeObserver)
1367
1367
  return {
1368
1368
  observe: () => window.addEventListener("resize", n),
@@ -1484,7 +1484,7 @@ class ta {
1484
1484
  a ? t = (a == null ? void 0 : a.distance) + e > this.transformedPosition.distanceTo(this.five.camera.position) : t = !0, this.visibles[1] = t;
1485
1485
  });
1486
1486
  var s, o, r;
1487
- this.five = t, this.fiveUtil = (s = t.__fiveUtil__) != null ? s : t.__fiveUtil__ = new kl(t), this.originPosition = e ? Ue(e).clone() : void 0, this.transformedPosition = (o = this.originPosition) == null ? void 0 : o.clone(), this.positionsForRotate = (r = i == null ? void 0 : i.positionsForRotate) == null ? void 0 : r.map((a) => Ue(a).clone()), this.config = i != null ? i : {}, this.container = (() => {
1487
+ this.five = t, this.fiveUtil = (s = t.__fiveUtil__) != null ? s : t.__fiveUtil__ = new xl(t), this.originPosition = e ? Ue(e).clone() : void 0, this.transformedPosition = (o = this.originPosition) == null ? void 0 : o.clone(), this.positionsForRotate = (r = i == null ? void 0 : i.positionsForRotate) == null ? void 0 : r.map((a) => Ue(a).clone()), this.config = i != null ? i : {}, this.container = (() => {
1488
1488
  const a = document.createElement("div");
1489
1489
  return a.classList.add("light-tag"), a.style.width = "0", a.style.height = "0", a.style.position = "absolute", i != null && i.disableOpacityTransition || (a.style.transition = "opacity 0.2s linear"), a;
1490
1490
  })(), this.addResizeListener(), this.show(), this.enable(), setTimeout(() => {
@@ -1574,7 +1574,7 @@ class ta {
1574
1574
  this.container.style.left = "-100%", this.container.style.top = "-100%";
1575
1575
  return;
1576
1576
  }
1577
- const e = oc(this.five.camera, this.transformedPosition, t);
1577
+ const e = rc(this.five.camera, this.transformedPosition, t);
1578
1578
  if (!e) {
1579
1579
  this.container.style.left = "-100%", this.container.style.top = "-100%";
1580
1580
  return;
@@ -1587,7 +1587,7 @@ class ta {
1587
1587
  })(), s = (() => {
1588
1588
  if (this.positionsForRotate === void 0 || this.positionsForRotate.length !== 2)
1589
1589
  return 0;
1590
- const [r, a] = this.positionsForRotate, l = oc(this.five.camera, r, t), c = oc(this.five.camera, a, t);
1590
+ const [r, a] = this.positionsForRotate, l = rc(this.five.camera, r, t), c = rc(this.five.camera, a, t);
1591
1591
  if (!l || !c)
1592
1592
  return 0;
1593
1593
  const h = l.leftPx > c.leftPx ? c : l, u = l.leftPx > c.leftPx ? l : c, d = u.leftPx - h.leftPx, p = u.topPx - h.topPx;
@@ -1598,7 +1598,7 @@ class ta {
1598
1598
  addResizeListener() {
1599
1599
  const t = this.five.getElement();
1600
1600
  if (t) {
1601
- const { observe: e, unobserve: i } = qa(this.onCameraUpdate, t);
1601
+ const { observe: e, unobserve: i } = Ja(this.onCameraUpdate, t);
1602
1602
  e(), this.disposers.push(i);
1603
1603
  }
1604
1604
  }
@@ -1789,8 +1789,8 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1789
1789
  function ot(V, U) {
1790
1790
  var q = V.session, ne = U.pointers, be = ne.length;
1791
1791
  q.firstInput || (q.firstInput = Gt(U)), be > 1 && !q.firstMultiple ? q.firstMultiple = Gt(U) : be === 1 && (q.firstMultiple = !1);
1792
- var Oe = q.firstInput, Qe = q.firstMultiple, wt = Qe ? Qe.center : Oe.center, Et = U.center = ci(ne);
1793
- U.timeStamp = h(), U.deltaTime = U.timeStamp - Oe.timeStamp, U.angle = Ut(wt, Et), U.distance = Wt(wt, Et), jt(q, U), U.offsetDirection = rt(U.deltaX, U.deltaY);
1792
+ var Oe = q.firstInput, Qe = q.firstMultiple, Pt = Qe ? Qe.center : Oe.center, Et = U.center = ci(ne);
1793
+ U.timeStamp = h(), U.deltaTime = U.timeStamp - Oe.timeStamp, U.angle = Ut(Pt, Et), U.distance = Wt(Pt, Et), jt(q, U), U.offsetDirection = rt(U.deltaX, U.deltaY);
1794
1794
  var Lt = vi(U.deltaTime, U.deltaX, U.deltaY);
1795
1795
  U.overallVelocityX = Lt.x, U.overallVelocityY = Lt.y, U.overallVelocity = c(Lt.x) > c(Lt.y) ? Lt.x : Lt.y, U.scale = Qe ? bs(Qe.pointers, ne) : 1, U.rotation = Qe ? ir(Qe.pointers, ne) : 0, U.maxPointers = q.prevInput ? U.pointers.length > q.prevInput.maxPointers ? U.pointers.length : q.prevInput.maxPointers : U.pointers.length, Wi(q, U);
1796
1796
  var ii = V.element;
@@ -1807,13 +1807,13 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1807
1807
  }), U.deltaX = be.x + (q.x - ne.x), U.deltaY = be.y + (q.y - ne.y);
1808
1808
  }
1809
1809
  function Wi(V, U) {
1810
- var q = V.lastInterval || U, ne = U.timeStamp - q.timeStamp, be, Oe, Qe, wt;
1810
+ var q = V.lastInterval || U, ne = U.timeStamp - q.timeStamp, be, Oe, Qe, Pt;
1811
1811
  if (U.eventType != ee && (ne > De || q.velocity === s)) {
1812
1812
  var Et = U.deltaX - q.deltaX, Lt = U.deltaY - q.deltaY, ii = vi(ne, Et, Lt);
1813
- Oe = ii.x, Qe = ii.y, be = c(ii.x) > c(ii.y) ? ii.x : ii.y, wt = rt(Et, Lt), V.lastInterval = U;
1813
+ Oe = ii.x, Qe = ii.y, be = c(ii.x) > c(ii.y) ? ii.x : ii.y, Pt = rt(Et, Lt), V.lastInterval = U;
1814
1814
  } else
1815
- be = q.velocity, Oe = q.velocityX, Qe = q.velocityY, wt = q.direction;
1816
- U.velocity = be, U.velocityX = Oe, U.velocityY = Qe, U.direction = wt;
1815
+ be = q.velocity, Oe = q.velocityX, Qe = q.velocityY, Pt = q.direction;
1816
+ U.velocity = be, U.velocityX = Oe, U.velocityY = Qe, U.direction = Pt;
1817
1817
  }
1818
1818
  function Gt(V) {
1819
1819
  for (var U = [], q = 0; q < V.pointers.length; )
@@ -1914,8 +1914,8 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1914
1914
  * @param {Object} ev
1915
1915
  */
1916
1916
  handler: function(U) {
1917
- var q = this.store, ne = !1, be = U.type.toLowerCase().replace("ms", ""), Oe = Ai[be], Qe = Rn[U.pointerType] || U.pointerType, wt = Qe == Z, Et = C(q, U.pointerId, "pointerId");
1918
- Oe & de && (U.button === 0 || wt) ? Et < 0 && (q.push(U), Et = q.length - 1) : Oe & (Le | ee) && (ne = !0), !(Et < 0) && (q[Et] = U, this.callback(this.manager, Oe, {
1917
+ var q = this.store, ne = !1, be = U.type.toLowerCase().replace("ms", ""), Oe = Ai[be], Qe = Rn[U.pointerType] || U.pointerType, Pt = Qe == Z, Et = C(q, U.pointerId, "pointerId");
1918
+ Oe & de && (U.button === 0 || Pt) ? Et < 0 && (q.push(U), Et = q.length - 1) : Oe & (Le | ee) && (ne = !0), !(Et < 0) && (q[Et] = U, this.callback(this.manager, Oe, {
1919
1919
  pointers: q,
1920
1920
  changedPointers: [U],
1921
1921
  pointerType: Qe,
@@ -1974,19 +1974,19 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1974
1974
  var q = I(V.touches), ne = this.targetIds;
1975
1975
  if (U & (de | he) && q.length === 1)
1976
1976
  return ne[q[0].identifier] = !0, [q, q];
1977
- var be, Oe, Qe = I(V.changedTouches), wt = [], Et = this.target;
1977
+ var be, Oe, Qe = I(V.changedTouches), Pt = [], Et = this.target;
1978
1978
  if (Oe = q.filter(function(Lt) {
1979
1979
  return L(Lt.target, Et);
1980
1980
  }), U === de)
1981
1981
  for (be = 0; be < Oe.length; )
1982
1982
  ne[Oe[be].identifier] = !0, be++;
1983
1983
  for (be = 0; be < Qe.length; )
1984
- ne[Qe[be].identifier] && wt.push(Qe[be]), U & (Le | ee) && delete ne[Qe[be].identifier], be++;
1985
- if (wt.length)
1984
+ ne[Qe[be].identifier] && Pt.push(Qe[be]), U & (Le | ee) && delete ne[Qe[be].identifier], be++;
1985
+ if (Pt.length)
1986
1986
  return [
1987
1987
  // merge targetTouches with changedTargetTouches so it contains ALL touches, including 'end' and 'cancel'
1988
- k(Oe.concat(wt), "identifier", !0),
1989
- wt
1988
+ k(Oe.concat(Pt), "identifier", !0),
1989
+ Pt
1990
1990
  ];
1991
1991
  }
1992
1992
  var sr = 2500, Ps = 25;
@@ -2082,8 +2082,8 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2082
2082
  }
2083
2083
  var ne = this.actions, be = O(ne, Ri) && !Hn[Ri], Oe = O(ne, gn) && !Hn[gn], Qe = O(ne, fn) && !Hn[fn];
2084
2084
  if (be) {
2085
- var wt = V.pointers.length === 1, Et = V.distance < 2, Lt = V.deltaTime < 250;
2086
- if (wt && Et && Lt)
2085
+ var Pt = V.pointers.length === 1, Et = V.distance < 2, Lt = V.deltaTime < 250;
2086
+ if (Pt && Et && Lt)
2087
2087
  return;
2088
2088
  }
2089
2089
  if (!(Qe && Oe) && (be || Oe && q & Ie || Qe && q & ze))
@@ -2480,8 +2480,8 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2480
2480
  return this.failTimeout();
2481
2481
  var Oe = this.pTime ? V.timeStamp - this.pTime < U.interval : !0, Qe = !this.pCenter || Wt(this.pCenter, V.center) < U.posThreshold;
2482
2482
  this.pTime = V.timeStamp, this.pCenter = V.center, !Qe || !Oe ? this.count = 1 : this.count += 1, this._input = V;
2483
- var wt = this.count % U.taps;
2484
- if (wt === 0)
2483
+ var Pt = this.count % U.taps;
2484
+ if (Pt === 0)
2485
2485
  return this.hasRequireFailures() ? (this._timer = u(function() {
2486
2486
  this.state = hi, this.tryEmit();
2487
2487
  }, U.interval, this), Qt) : hi;
@@ -3050,11 +3050,11 @@ var Sn = function(n) {
3050
3050
  };
3051
3051
  Sn.prototype = Object.create(Eo.prototype);
3052
3052
  Sn.prototype.constructor = Sn;
3053
- var Ja = function(n) {
3053
+ var Ka = function(n) {
3054
3054
  Sn.call(this, n);
3055
3055
  };
3056
- Ja.prototype = Object.create(Sn.prototype);
3057
- Ja.prototype.constructor = Ja;
3056
+ Ka.prototype = Object.create(Sn.prototype);
3057
+ Ka.prototype.constructor = Ka;
3058
3058
  let Gb = function(n) {
3059
3059
  let t = this, e, i, s, o, r = new nt(), a = {
3060
3060
  camera: { fov: 0, style: "" },
@@ -3152,7 +3152,7 @@ function Wb(n, t, e = !0) {
3152
3152
  unobserve: () => s.unobserve(n)
3153
3153
  };
3154
3154
  }
3155
- class Ka extends Gb {
3155
+ class $a extends Gb {
3156
3156
  constructor(e) {
3157
3157
  super(e);
3158
3158
  f(this, "wrapper");
@@ -3224,14 +3224,14 @@ Vi.style.height = "100%";
3224
3224
  Vi.style.pointerEvents = "none";
3225
3225
  function Rh(n) {
3226
3226
  var i, s, o, r, a;
3227
- const t = (a = (s = ac(n.getElement())) != null ? s : ac((i = n.getElement()) == null ? void 0 : i.parentElement)) != null ? a : ac((r = (o = n.getElement()) == null ? void 0 : o.parentElement) == null ? void 0 : r.parentElement), e = t == null ? void 0 : t.parentElement;
3227
+ const t = (a = (s = lc(n.getElement())) != null ? s : lc((i = n.getElement()) == null ? void 0 : i.parentElement)) != null ? a : lc((r = (o = n.getElement()) == null ? void 0 : o.parentElement) == null ? void 0 : r.parentElement), e = t == null ? void 0 : t.parentElement;
3228
3228
  if (e)
3229
3229
  return e.contains(Vi) || t.parentElement.insertBefore(Vi, t), Vi;
3230
3230
  console.error(
3231
3231
  "Can not find a valid element to insert behindFiveElement. How to fix it: https://github.com/realsee-developer/dnalogel/tree/main/plugins/src/CSS3DRenderPlugin/README.md"
3232
3232
  );
3233
3233
  }
3234
- function ac(n) {
3234
+ function lc(n) {
3235
3235
  var a;
3236
3236
  if (!n)
3237
3237
  return;
@@ -3250,9 +3250,9 @@ function ia(n) {
3250
3250
  return gr[2];
3251
3251
  (s = gr[1]) == null || s.dispose();
3252
3252
  }
3253
- const t = new Ka("front");
3253
+ const t = new $a("front");
3254
3254
  t.domElementWrapper.style.zIndex = "1";
3255
- const e = new Ka("behind");
3255
+ const e = new $a("behind");
3256
3256
  Ii(n).then(() => {
3257
3257
  var a;
3258
3258
  const o = (a = n.getElement()) == null ? void 0 : a.parentElement, r = Rh(n);
@@ -3452,7 +3452,7 @@ class bd extends db {
3452
3452
  };
3453
3453
  }
3454
3454
  }
3455
- const lc = {
3455
+ const cc = {
3456
3456
  uniforms: w.UniformsUtils.merge([
3457
3457
  w.UniformsLib.common,
3458
3458
  w.UniformsLib.fog,
@@ -3672,9 +3672,9 @@ class E0 extends w.ShaderMaterial {
3672
3672
  // to be set by renderer
3673
3673
  constructor(e) {
3674
3674
  super({
3675
- uniforms: w.UniformsUtils.clone(lc.uniforms),
3676
- vertexShader: lc.vertexShader,
3677
- fragmentShader: lc.fragmentShader,
3675
+ uniforms: w.UniformsUtils.clone(cc.uniforms),
3676
+ vertexShader: cc.vertexShader,
3677
+ fragmentShader: cc.fragmentShader,
3678
3678
  clipping: !0
3679
3679
  // required for clipping support
3680
3680
  });
@@ -4044,7 +4044,7 @@ class Ei extends mi {
4044
4044
  }), this.doms.length > s.length && (this.doms.slice(s.length).forEach((o) => o.destroy()), this.doms.length = s.length);
4045
4045
  }
4046
4046
  }
4047
- class ey extends Ja {
4047
+ class ey extends Ka {
4048
4048
  constructor() {
4049
4049
  super(...arguments);
4050
4050
  f(this, "isCSS3DSprite", !0);
@@ -4274,7 +4274,7 @@ function rs(n) {
4274
4274
  }
4275
4275
  }
4276
4276
  const wd = new w.Vector3(), co = () => !1;
4277
- class xl extends Mt {
4277
+ class Sl extends Mt {
4278
4278
  constructor(e, i) {
4279
4279
  var r, a, l, c, h;
4280
4280
  super();
@@ -4931,16 +4931,16 @@ class R0 extends zA {
4931
4931
  super(t, e);
4932
4932
  }
4933
4933
  }
4934
- const cc = new w.Vector3();
4934
+ const hc = new w.Vector3();
4935
4935
  class Cy extends w.Sphere {
4936
4936
  expandByPoint(t) {
4937
4937
  if (this.isEmpty())
4938
4938
  return this.center.copy(t), this.radius = 0, this;
4939
- cc.subVectors(t, this.center);
4940
- const e = cc.lengthSq();
4939
+ hc.subVectors(t, this.center);
4940
+ const e = hc.lengthSq();
4941
4941
  if (e > this.radius * this.radius) {
4942
4942
  const i = Math.sqrt(e), s = (i - this.radius) * 0.5;
4943
- this.center.addScaledVector(cc, s / i), this.radius += s;
4943
+ this.center.addScaledVector(hc, s / i), this.radius += s;
4944
4944
  }
4945
4945
  return this;
4946
4946
  }
@@ -4985,13 +4985,13 @@ function Ys(n) {
4985
4985
  function _0(n) {
4986
4986
  return Hh(n, "sphere");
4987
4987
  }
4988
- function Xc(n) {
4989
- return Sl(n, "box3");
4988
+ function Yc(n) {
4989
+ return Dl(n, "box3");
4990
4990
  }
4991
4991
  function B0(n) {
4992
- return Sl(n, "sphere");
4992
+ return Dl(n, "sphere");
4993
4993
  }
4994
- function Sl(n, t) {
4994
+ function Dl(n, t) {
4995
4995
  const e = t === "box3" ? new w.Box3() : new Cy(), i = new w.Vector3();
4996
4996
  if (n.updateWorldMatrix(!1, !1), n.traverse((s) => {
4997
4997
  var r;
@@ -5013,7 +5013,7 @@ function Sl(n, t) {
5013
5013
  return e;
5014
5014
  }
5015
5015
  function Hh(n, t) {
5016
- const e = Sl(n, t);
5016
+ const e = Dl(n, t);
5017
5017
  return e && e.applyMatrix4(Ey(n.matrixWorld.clone())), e;
5018
5018
  }
5019
5019
  const Ey = (n) => {
@@ -5042,7 +5042,7 @@ var V0 = {
5042
5042
  endDelay: 0,
5043
5043
  easing: "easeOutElastic(1, .5)",
5044
5044
  round: 0
5045
- }, My = ["translateX", "translateY", "translateZ", "rotate", "rotateX", "rotateY", "rotateZ", "scale", "scaleX", "scaleY", "scaleZ", "skew", "skewX", "skewY", "perspective", "matrix", "matrix3d"], $a = {
5045
+ }, My = ["translateX", "translateY", "translateZ", "rotate", "rotateX", "rotateY", "rotateZ", "scale", "scaleX", "scaleY", "scaleZ", "skew", "skewX", "skewY", "perspective", "matrix", "matrix3d"], el = {
5046
5046
  CSS: {},
5047
5047
  springs: {}
5048
5048
  };
@@ -5052,7 +5052,7 @@ function Ji(n, t, e) {
5052
5052
  function xr(n, t) {
5053
5053
  return n.indexOf(t) > -1;
5054
5054
  }
5055
- function hc(n, t) {
5055
+ function uc(n, t) {
5056
5056
  return n.apply(null, t);
5057
5057
  }
5058
5058
  var Ge = {
@@ -5115,7 +5115,7 @@ function F0(n, t) {
5115
5115
  return l < 1 ? m = Math.exp(-m * l * a) * (h * Math.cos(c * m) + u * Math.sin(c * m)) : m = (h + u * m) * Math.exp(-m * a), g === 0 || g === 1 ? g : 1 - m;
5116
5116
  }
5117
5117
  function p() {
5118
- var g = $a.springs[n];
5118
+ var g = el.springs[n];
5119
5119
  if (g)
5120
5120
  return g;
5121
5121
  for (var m = 1 / 6, v = 0, b = 0; ; )
@@ -5125,7 +5125,7 @@ function F0(n, t) {
5125
5125
  } else
5126
5126
  b = 0;
5127
5127
  var P = v * m * 1e3;
5128
- return $a.springs[n] = P, P;
5128
+ return el.springs[n] = P, P;
5129
5129
  }
5130
5130
  return t ? d : p;
5131
5131
  }
@@ -5259,11 +5259,11 @@ function Nh(n, t) {
5259
5259
  case "spring":
5260
5260
  return F0(n, t);
5261
5261
  case "cubicBezier":
5262
- return hc(xy, s);
5262
+ return uc(xy, s);
5263
5263
  case "steps":
5264
- return hc(ky, s);
5264
+ return uc(ky, s);
5265
5265
  default:
5266
- return hc(i, s);
5266
+ return uc(i, s);
5267
5267
  }
5268
5268
  }
5269
5269
  function G0(n) {
@@ -5274,7 +5274,7 @@ function G0(n) {
5274
5274
  return;
5275
5275
  }
5276
5276
  }
5277
- function Dl(n, t) {
5277
+ function Tl(n, t) {
5278
5278
  for (var e = n.length, i = arguments.length >= 2 ? arguments[1] : void 0, s = [], o = 0; o < e; o++)
5279
5279
  if (o in n) {
5280
5280
  var r = n[o];
@@ -5282,9 +5282,9 @@ function Dl(n, t) {
5282
5282
  }
5283
5283
  return s;
5284
5284
  }
5285
- function Tl(n) {
5285
+ function Ll(n) {
5286
5286
  return n.reduce(function(t, e) {
5287
- return t.concat(Ge.arr(e) ? Tl(e) : e);
5287
+ return t.concat(Ge.arr(e) ? Ll(e) : e);
5288
5288
  }, []);
5289
5289
  }
5290
5290
  function Cd(n) {
@@ -5301,13 +5301,13 @@ function Wh(n) {
5301
5301
  t[e] = n[e];
5302
5302
  return t;
5303
5303
  }
5304
- function Yc(n, t) {
5304
+ function Zc(n, t) {
5305
5305
  var e = Wh(n);
5306
5306
  for (var i in n)
5307
5307
  e[i] = t.hasOwnProperty(i) ? t[i] : n[i];
5308
5308
  return e;
5309
5309
  }
5310
- function Ll(n, t) {
5310
+ function zl(n, t) {
5311
5311
  var e = Wh(n);
5312
5312
  for (var i in t)
5313
5313
  e[i] = Ge.und(n[i]) ? t[i] : n[i];
@@ -5356,7 +5356,7 @@ function zy(n) {
5356
5356
  if (xr(n, "rotate") || xr(n, "skew"))
5357
5357
  return "deg";
5358
5358
  }
5359
- function Zc(n, t) {
5359
+ function qc(n, t) {
5360
5360
  return Ge.fnc(n) ? n(t.target, t.id, t.total) : n;
5361
5361
  }
5362
5362
  function Ki(n, t) {
@@ -5366,7 +5366,7 @@ function Uh(n, t, e) {
5366
5366
  var i = kn(t);
5367
5367
  if (Gh([e, "deg", "rad", "turn"], i))
5368
5368
  return t;
5369
- var s = $a.CSS[t + e];
5369
+ var s = el.CSS[t + e];
5370
5370
  if (!Ge.und(s))
5371
5371
  return s;
5372
5372
  var o = 100, r = document.createElement(n.tagName), a = n.parentNode && n.parentNode !== document ? n.parentNode : document.body;
@@ -5374,7 +5374,7 @@ function Uh(n, t, e) {
5374
5374
  var l = o / r.offsetWidth;
5375
5375
  a.removeChild(r);
5376
5376
  var c = l * parseFloat(t);
5377
- return $a.CSS[t + e] = c, c;
5377
+ return el.CSS[t + e] = c, c;
5378
5378
  }
5379
5379
  function W0(n, t, e) {
5380
5380
  if (t in n.style) {
@@ -5537,8 +5537,8 @@ function Id(n, t) {
5537
5537
  };
5538
5538
  }
5539
5539
  function qh(n) {
5540
- var t = n ? Tl(Ge.arr(n) ? n.map(Cd) : Cd(n)) : [];
5541
- return Dl(t, function(e, i, s) {
5540
+ var t = n ? Ll(Ge.arr(n) ? n.map(Cd) : Cd(n)) : [];
5541
+ return Tl(t, function(e, i, s) {
5542
5542
  return s.indexOf(e) === i;
5543
5543
  });
5544
5544
  }
@@ -5559,11 +5559,11 @@ function Gy(n, t) {
5559
5559
  var l = Ge.obj(r) && !Ge.pth(r) ? r : { value: r };
5560
5560
  return Ge.und(l.delay) && (l.delay = a ? 0 : t.delay), Ge.und(l.endDelay) && (l.endDelay = a === o.length - 1 ? t.endDelay : 0), l;
5561
5561
  }).map(function(r) {
5562
- return Ll(r, e);
5562
+ return zl(r, e);
5563
5563
  });
5564
5564
  }
5565
5565
  function Wy(n) {
5566
- for (var t = Dl(Tl(n.map(function(o) {
5566
+ for (var t = Tl(Ll(n.map(function(o) {
5567
5567
  return Object.keys(o);
5568
5568
  })), function(o) {
5569
5569
  return Ge.key(o);
@@ -5583,7 +5583,7 @@ function Wy(n) {
5583
5583
  }
5584
5584
  function Uy(n, t) {
5585
5585
  var e = [], i = t.keyframes;
5586
- i && (t = Ll(Wy(i), t));
5586
+ i && (t = zl(Wy(i), t));
5587
5587
  for (var s in t)
5588
5588
  Ge.key(s) && e.push({
5589
5589
  name: s,
@@ -5594,9 +5594,9 @@ function Uy(n, t) {
5594
5594
  function Qy(n, t) {
5595
5595
  var e = {};
5596
5596
  for (var i in n) {
5597
- var s = Zc(n[i], t);
5597
+ var s = qc(n[i], t);
5598
5598
  Ge.arr(s) && (s = s.map(function(o) {
5599
- return Zc(o, t);
5599
+ return qc(o, t);
5600
5600
  }), s.length === 1 && (s = s[0])), e[i] = s;
5601
5601
  }
5602
5602
  return e.duration = parseFloat(e.duration), e.delay = parseFloat(e.delay), e;
@@ -5631,7 +5631,7 @@ function K0(n, t) {
5631
5631
  var e = q0(n);
5632
5632
  e.forEach(function(i) {
5633
5633
  for (var s in t) {
5634
- var o = Zc(t[s], i), r = i.target, a = kn(o), l = Xh(r, s, a, i), c = a || kn(l), h = Yh(Q0(o, c), l), u = Qh(r, s);
5634
+ var o = qc(t[s], i), r = i.target, a = kn(o), l = Xh(r, s, a, i), c = a || kn(l), h = Yh(Q0(o, c), l), u = Qh(r, s);
5635
5635
  J0[u](r, s, h, i.transforms, !0);
5636
5636
  }
5637
5637
  });
@@ -5652,7 +5652,7 @@ function Yy(n, t) {
5652
5652
  }
5653
5653
  }
5654
5654
  function Zy(n, t) {
5655
- return Dl(Tl(n.map(function(e) {
5655
+ return Tl(Ll(n.map(function(e) {
5656
5656
  return t.map(function(i) {
5657
5657
  return Yy(e, i);
5658
5658
  });
@@ -5674,8 +5674,8 @@ function $0(n, t) {
5674
5674
  }
5675
5675
  var Ed = 0;
5676
5676
  function qy(n) {
5677
- var t = Yc(V0, n), e = Yc(Fh, n), i = Uy(e, n), s = q0(n.targets), o = Zy(s, i), r = $0(o, e), a = Ed;
5678
- return Ed++, Ll(t, {
5677
+ var t = Zc(V0, n), e = Zc(Fh, n), i = Uy(e, n), s = q0(n.targets), o = Zy(s, i), r = $0(o, e), a = Ed;
5678
+ return Ed++, zl(t, {
5679
5679
  id: a,
5680
5680
  children: [],
5681
5681
  animatables: s,
@@ -5746,7 +5746,7 @@ function at(n) {
5746
5746
  function g(P) {
5747
5747
  for (var E = 0, M = l.animations, z = M.length; E < z; ) {
5748
5748
  var D = M[E], R = D.animatable, L = D.tweens, O = L.length - 1, A = L[O];
5749
- O && (A = Dl(L, function(De) {
5749
+ O && (A = Tl(L, function(De) {
5750
5750
  return P < De.end;
5751
5751
  })[0] || A);
5752
5752
  for (var C = Ji(P - A.start - A.delay, 0, A.duration) / A.duration, I = isNaN(C) ? 1 : A.easing(C), k = A.to.strings, S = A.round, T = [], N = A.to.numbers.length, B = void 0, J = 0; J < N; J++) {
@@ -5856,7 +5856,7 @@ function $y(n) {
5856
5856
  }
5857
5857
  for (var a = 0; a < o.length; a++)
5858
5858
  r(o[a]);
5859
- var l = Ll(e, Yc(Fh, n));
5859
+ var l = zl(e, Zc(Fh, n));
5860
5860
  l.targets = l.targets || n.targets;
5861
5861
  var c = t.duration;
5862
5862
  l.autoplay = !1, l.direction = t.direction, l.timelineOffset = Ge.und(i) ? c : Yh(i, c), r(t), t.seek(l.timelineOffset);
@@ -6016,14 +6016,14 @@ class iw {
6016
6016
  };
6017
6017
  if (Oo(t))
6018
6018
  if (!Ls(t) && t.children.length === 0 && t.name, Ls(t)) {
6019
- if (el(t)) {
6019
+ if (tl(t)) {
6020
6020
  const i = t.material.transparent;
6021
6021
  return {
6022
6022
  opacity: (e = t.material.uniforms.opacity) == null ? void 0 : e.value,
6023
6023
  transparent: i === !1 ? void 0 : i,
6024
6024
  visible: t.visible
6025
6025
  };
6026
- } else if (tl(t)) {
6026
+ } else if (il(t)) {
6027
6027
  const i = t.material.transparent;
6028
6028
  return {
6029
6029
  opacity: t.material.opacity,
@@ -6044,7 +6044,7 @@ class iw {
6044
6044
  * @private
6045
6045
  */
6046
6046
  restoreSingleState(t, e) {
6047
- t instanceof HTMLElement ? (t.style.opacity = e.opacity === void 0 ? "" : String(e.opacity), typeof e.visible == "object" && e.visible !== null && (t.style.display = e.visible.display, t.style.visibility = e.visible.visibility)) : Oo(t) && (typeof e.visible == "boolean" && (t.visible = e.visible), Ls(t) && (el(t) ? (t.material.uniforms.opacity !== void 0 && (t.material.uniforms.opacity.value = e.opacity !== void 0 ? Number(e.opacity) : 1), e.transparent !== void 0 && (t.material.transparent = e.transparent), this.materialManager.scheduleUpdate(t.material)) : tl(t) && (t.material.opacity = e.opacity !== void 0 ? Number(e.opacity) : 1, e.transparent !== void 0 && (t.material.transparent = e.transparent), this.materialManager.scheduleUpdate(t.material))));
6047
+ t instanceof HTMLElement ? (t.style.opacity = e.opacity === void 0 ? "" : String(e.opacity), typeof e.visible == "object" && e.visible !== null && (t.style.display = e.visible.display, t.style.visibility = e.visible.visibility)) : Oo(t) && (typeof e.visible == "boolean" && (t.visible = e.visible), Ls(t) && (tl(t) ? (t.material.uniforms.opacity !== void 0 && (t.material.uniforms.opacity.value = e.opacity !== void 0 ? Number(e.opacity) : 1), e.transparent !== void 0 && (t.material.transparent = e.transparent), this.materialManager.scheduleUpdate(t.material)) : il(t) && (t.material.opacity = e.opacity !== void 0 ? Number(e.opacity) : 1, e.transparent !== void 0 && (t.material.transparent = e.transparent), this.materialManager.scheduleUpdate(t.material))));
6048
6048
  }
6049
6049
  /**
6050
6050
  * 清空所有状态
@@ -6060,16 +6060,16 @@ function Oo(n) {
6060
6060
  function Ls(n) {
6061
6061
  return Oo(n) && "material" in n && n.material !== void 0;
6062
6062
  }
6063
- function el(n) {
6064
- return Ls(n) && n.material instanceof El;
6065
- }
6066
6063
  function tl(n) {
6067
- return Ls(n) && !(n.material instanceof El);
6064
+ return Ls(n) && n.material instanceof Ml;
6065
+ }
6066
+ function il(n) {
6067
+ return Ls(n) && !(n.material instanceof Ml);
6068
6068
  }
6069
6069
  function nw(n, t) {
6070
- n instanceof HTMLElement ? n.style.opacity = String(t) : Oo(n) && Ls(n) && (el(n) ? (n.material.uniforms.opacity && (n.material.uniforms.opacity.value = t), n.material.transparent = !0) : tl(n) && (n.material.opacity = t, n.material.transparent = !0));
6070
+ n instanceof HTMLElement ? n.style.opacity = String(t) : Oo(n) && Ls(n) && (tl(n) ? (n.material.uniforms.opacity && (n.material.uniforms.opacity.value = t), n.material.transparent = !0) : il(n) && (n.material.opacity = t, n.material.transparent = !0));
6071
6071
  }
6072
- function il() {
6072
+ function nl() {
6073
6073
  const n = at({});
6074
6074
  return n.preComplete = () => {
6075
6075
  }, n;
@@ -6125,17 +6125,17 @@ function ow(n, t) {
6125
6125
  if (!c)
6126
6126
  return;
6127
6127
  const h = c.maxOpacity * (o / 100);
6128
- l instanceof HTMLElement ? (l.style.opacity = String(h), l.style.visibility = "visible") : Oo(l) && (fs(n).includes(l) && (l.visible = !0), Ls(l) && (el(l) ? (l.material.uniforms.opacity && (l.material.uniforms.opacity.value = h), l.material.transparent = !0) : tl(l) && (l.material.opacity = h, l.material.transparent = !0)));
6128
+ l instanceof HTMLElement ? (l.style.opacity = String(h), l.style.visibility = "visible") : Oo(l) && (fs(n).includes(l) && (l.visible = !0), Ls(l) && (tl(l) ? (l.material.uniforms.opacity && (l.material.uniforms.opacity.value = h), l.material.transparent = !0) : il(l) && (l.material.opacity = h, l.material.transparent = !0)));
6129
6129
  }), (r = t.onProgress) == null || r.call(t, o), (a = t.updateRender) == null || a.call(t);
6130
6130
  };
6131
6131
  }
6132
- function zl(n, t) {
6132
+ function Ol(n, t) {
6133
6133
  var e, i;
6134
6134
  try {
6135
6135
  s1(n);
6136
6136
  const s = (e = t == null ? void 0 : t.traverseTHREEObject) != null ? e : !0, o = o1(n, s);
6137
6137
  if (o.length === 0)
6138
- return Vr("No valid targets found"), il();
6138
+ return Vr("No valid targets found"), nl();
6139
6139
  xn.storeState(o);
6140
6140
  const r = ce(H(H({}, Jh), t), {
6141
6141
  targets: o,
@@ -6161,7 +6161,7 @@ function zl(n, t) {
6161
6161
  }, 100);
6162
6162
  }), a;
6163
6163
  } catch (s) {
6164
- return Vr("Blink animation failed:", s), il();
6164
+ return Vr("Blink animation failed:", s), nl();
6165
6165
  }
6166
6166
  }
6167
6167
  function r1(n, t) {
@@ -6170,7 +6170,7 @@ function r1(n, t) {
6170
6170
  s1(n);
6171
6171
  const s = (e = t == null ? void 0 : t.traverseTHREEObject) != null ? e : !0, o = o1(n, s);
6172
6172
  if (o.length === 0)
6173
- return Vr("No valid targets found"), il();
6173
+ return Vr("No valid targets found"), nl();
6174
6174
  xn.storeState(o);
6175
6175
  const r = ce(H(H({}, Jh), t), {
6176
6176
  targets: o,
@@ -6196,12 +6196,12 @@ function r1(n, t) {
6196
6196
  }, 100);
6197
6197
  }), a;
6198
6198
  } catch (s) {
6199
- return Vr("ReBlink animation failed:", s), il();
6199
+ return Vr("ReBlink animation failed:", s), nl();
6200
6200
  }
6201
6201
  }
6202
6202
  function rw(n, t, e) {
6203
6203
  const i = n1[t];
6204
- return zl(n, H(H({}, i), e));
6204
+ return Ol(n, H(H({}, i), e));
6205
6205
  }
6206
6206
  function aw() {
6207
6207
  xn.clear();
@@ -6303,15 +6303,15 @@ class gw extends a1 {
6303
6303
  }), super.add(...e), this;
6304
6304
  }
6305
6305
  }
6306
- const pw = 3, qc = "CSS3DRenderer", Pr = `${qc}@${pw}`, ho = () => {
6306
+ const pw = 3, Jc = "CSS3DRenderer", Pr = `${Jc}@${pw}`, ho = () => {
6307
6307
  console.error(`${Pr} is disposed`);
6308
6308
  }, xt = {
6309
6309
  css3DObjects: [],
6310
6310
  frontModeStore: {
6311
- css3DRenderer: new Ka()
6311
+ css3DRenderer: new $a()
6312
6312
  },
6313
6313
  behindModeStore: {
6314
- css3DRenderer: new Ka()
6314
+ css3DRenderer: new $a()
6315
6315
  }
6316
6316
  };
6317
6317
  function xd(n) {
@@ -6427,7 +6427,7 @@ class Hr {
6427
6427
  });
6428
6428
  f(this, "createObject", (t, e) => {
6429
6429
  const i = new L0(ce(H({ cornerPoints: t }, e), { style: e.wrapperStyle }));
6430
- return i.element.classList.add(`${qc}__container`), i.element.id = `${qc}__container--${i.uuid}`, i;
6430
+ return i.element.classList.add(`${Jc}__container`), i.element.id = `${Jc}__container--${i.uuid}`, i;
6431
6431
  });
6432
6432
  t && this.setScene(t);
6433
6433
  }
@@ -6577,7 +6577,7 @@ let Aw = class extends Hr {
6577
6577
  f(this, "behindFiveContainer");
6578
6578
  f(this, "frontFiveContainer");
6579
6579
  f(this, "VERSION", l1);
6580
- f(this, "staticPrefix", jl);
6580
+ f(this, "staticPrefix", Rl);
6581
6581
  f(this, "created3DElementResults", []);
6582
6582
  /**
6583
6583
  * @description 根据传入的四个点位创建一个 3d dom容器,可以通过ReactDom.render()的方式将react组件放到容器中
@@ -6675,7 +6675,7 @@ let Aw = class extends Hr {
6675
6675
  }), this.created3DElementResults = [];
6676
6676
  }
6677
6677
  };
6678
- const Ol = (n) => new Aw(n);
6678
+ const jl = (n) => new Aw(n);
6679
6679
  class bw {
6680
6680
  constructor(t) {
6681
6681
  f(this, "five");
@@ -6686,7 +6686,7 @@ class bw {
6686
6686
  f(this, "disposeCss3DObject");
6687
6687
  f(this, "state", { enabled: !1 });
6688
6688
  this.five = t;
6689
- const i = 0.4 / 2, o = Ol(t).create3DDomContainer(
6689
+ const i = 0.4 / 2, o = jl(t).create3DDomContainer(
6690
6690
  [
6691
6691
  [-i, i, 0],
6692
6692
  [-i, -i, 0],
@@ -6789,13 +6789,13 @@ class Ew extends w.Object3D {
6789
6789
  (e = this.planeMesh.material.map) == null || e.dispose();
6790
6790
  }
6791
6791
  }
6792
- const uc = Math.PI * 2;
6793
- function Jc(n) {
6794
- return (n % uc + uc) % uc;
6792
+ const dc = Math.PI * 2;
6793
+ function Kc(n) {
6794
+ return (n % dc + dc) % dc;
6795
6795
  }
6796
6796
  function sa(n) {
6797
6797
  return {
6798
- longitude: Jc(-Math.atan2(n.x, -n.z)),
6798
+ longitude: Kc(-Math.atan2(n.x, -n.z)),
6799
6799
  latitude: -Math.asin(n.y / 1)
6800
6800
  };
6801
6801
  }
@@ -6807,7 +6807,7 @@ function Mw(n, t, e) {
6807
6807
  const i = B0(t);
6808
6808
  if (!i)
6809
6809
  return;
6810
- const s = new kl(n), o = (P = e == null ? void 0 : e.scale) != null ? P : 1.4, r = i.center, a = n.camera.position.clone().sub(r).setY(0).normalize(), l = n.state.mode === "Mapview" ? n.state.fov : 60, h = Math.max(1.5, i.radius * o), u = h * (1 / Math.tan(w.MathUtils.degToRad(l / 2)));
6810
+ const s = new xl(n), o = (P = e == null ? void 0 : e.scale) != null ? P : 1.4, r = i.center, a = n.camera.position.clone().sub(r).setY(0).normalize(), l = n.state.mode === "Mapview" ? n.state.fov : 60, h = Math.max(1.5, i.radius * o), u = h * (1 / Math.tan(w.MathUtils.degToRad(l / 2)));
6811
6811
  let d = 0;
6812
6812
  const p = [], g = (z) => {
6813
6813
  const D = w.MathUtils.degToRad(z);
@@ -6846,7 +6846,7 @@ function c1(n, t, e) {
6846
6846
  var m, v;
6847
6847
  if (!t)
6848
6848
  return;
6849
- const i = (m = e == null ? void 0 : e.distance) != null ? m : 3, s = new kl(n), o = n.camera.position.clone().sub(t).setY(0).normalize(), r = n.state.mode === "Mapview" ? n.state.fov : 60, a = i, l = a * Math.cos(w.MathUtils.degToRad(r / 2)), c = a * Math.sin(w.MathUtils.degToRad(r / 2));
6849
+ const i = (m = e == null ? void 0 : e.distance) != null ? m : 3, s = new xl(n), o = n.camera.position.clone().sub(t).setY(0).normalize(), r = n.state.mode === "Mapview" ? n.state.fov : 60, a = i, l = a * Math.cos(w.MathUtils.degToRad(r / 2)), c = a * Math.sin(w.MathUtils.degToRad(r / 2));
6850
6850
  let h = 0;
6851
6851
  const u = [], d = (b) => {
6852
6852
  const P = w.MathUtils.degToRad(b);
@@ -7126,8 +7126,8 @@ class Ro {
7126
7126
  function kw(n) {
7127
7127
  return n.model ? n.work ? n.model.loaded ? n.model.name !== n.work.model.file ? { result: !1, msg: "five.model.name 与 five.work.model.file 不一致" } : { result: !0, msg: "" } : { result: !1, msg: "five.model 未加载完成" } : { result: !1, msg: "five 数据未加载" } : { result: !1, msg: "five.model 不存在" };
7128
7128
  }
7129
- const jl = "//vr-image-4.realsee-cdn.cn", Rl = "//vr-image-4.realsee-cdn.cn/release/web/arrow1.ebe7d0ff.png", Kh = "//vr-image-4.realsee-cdn.cn/release/web/arrow-white.5c2c79a5.png", $h = "//vr-image-4.realsee-cdn.cn/release/web/PanoSpatialTagPlugin__blur.png", eu = "//vr-image-4.realsee-cdn.cn/release/web/test.09dee741.png", tu = "//vr-image-4.realsee-cdn.cn/release/web/dipan2.f38a21cc.FBX", iu = "//vr-image-4.realsee-cdn.cn/release/web/logo.7febb17f.png", nu = "//vr-public.realsee-cdn.cn/release/web/entryDoorMini/Anim_Door1.fbx", as = "//vr-image-4.realsee-cdn.cn/release/web/saas/missing-floorplan.e274c596.png", su = "//vr-image-4.realsee-cdn.cn/release/web/v3/north-point-circle.96498e69.png", ou = "//vr-image-4.realsee-cdn.cn/release/web/enterDoor.831b8208.png", xw = [
7130
- Rl,
7129
+ const Rl = "//vr-image-4.realsee-cdn.cn", _l = "//vr-image-4.realsee-cdn.cn/release/web/arrow1.ebe7d0ff.png", Kh = "//vr-image-4.realsee-cdn.cn/release/web/arrow-white.5c2c79a5.png", $h = "//vr-image-4.realsee-cdn.cn/release/web/PanoSpatialTagPlugin__blur.png", eu = "//vr-image-4.realsee-cdn.cn/release/web/test.09dee741.png", tu = "//vr-image-4.realsee-cdn.cn/release/web/dipan2.f38a21cc.FBX", iu = "//vr-image-4.realsee-cdn.cn/release/web/logo.7febb17f.png", nu = "//vr-public.realsee-cdn.cn/release/web/entryDoorMini/Anim_Door1.fbx", as = "//vr-image-4.realsee-cdn.cn/release/web/saas/missing-floorplan.e274c596.png", su = "//vr-image-4.realsee-cdn.cn/release/web/v3/north-point-circle.96498e69.png", ou = "//vr-image-4.realsee-cdn.cn/release/web/enterDoor.831b8208.png", xw = [
7130
+ _l,
7131
7131
  Kh,
7132
7132
  $h,
7133
7133
  eu,
@@ -7141,7 +7141,7 @@ const jl = "//vr-image-4.realsee-cdn.cn", Rl = "//vr-image-4.realsee-cdn.cn/rele
7141
7141
  function Sw(n) {
7142
7142
  return /^https?:\/\/|^\/\//.test(n) || /^data:/.test(n) || n.startsWith("//");
7143
7143
  }
7144
- function tn(n = jl, t) {
7144
+ function tn(n = Rl, t) {
7145
7145
  if (!t || typeof t != "string")
7146
7146
  return t || "";
7147
7147
  if (!n || typeof n != "string")
@@ -7159,7 +7159,7 @@ function tn(n = jl, t) {
7159
7159
  return console.warn(`[replaceStaticPrefix] Invalid URL: ${t}`, e), t;
7160
7160
  }
7161
7161
  }
7162
- class Hs extends Ml {
7162
+ class Hs extends kl {
7163
7163
  constructor() {
7164
7164
  super(...arguments);
7165
7165
  f(this, "disposeMethods", []);
@@ -7212,10 +7212,10 @@ function Lw() {
7212
7212
  });
7213
7213
  });
7214
7214
  }
7215
- function nl(n) {
7215
+ function sl(n) {
7216
7216
  return Object.prototype.toString.call(n) === "[object Object]";
7217
7217
  }
7218
- function _l(n, t) {
7218
+ function Bl(n, t) {
7219
7219
  return n === t ? !0 : typeof n != typeof t ? !1 : !!(Number.isNaN(n) && Number.isNaN(t));
7220
7220
  }
7221
7221
  function zw(n, t) {
@@ -7224,7 +7224,7 @@ function zw(n, t) {
7224
7224
  return !1;
7225
7225
  for (let s = 0, o = e.length; s < o; s++) {
7226
7226
  const r = e[s];
7227
- if (!_l(n[r], t[r]))
7227
+ if (!Bl(n[r], t[r]))
7228
7228
  return !1;
7229
7229
  }
7230
7230
  return !0;
@@ -7233,15 +7233,15 @@ function Ow(n, t) {
7233
7233
  if (n.length !== t.length)
7234
7234
  return !1;
7235
7235
  for (let e = 0, i = n.length; e < i; e++)
7236
- if (!_l(n[e], t[e]))
7236
+ if (!Bl(n[e], t[e]))
7237
7237
  return !1;
7238
7238
  return !0;
7239
7239
  }
7240
7240
  function jw(n, t) {
7241
- return _l(n, t) ? !0 : nl(n) && nl(t) ? zw(n, t) : Array.isArray(n) && Array.isArray(t) ? Ow(n, t) : !1;
7241
+ return Bl(n, t) ? !0 : sl(n) && sl(t) ? zw(n, t) : Array.isArray(n) && Array.isArray(t) ? Ow(n, t) : !1;
7242
7242
  }
7243
7243
  function ru(n, t) {
7244
- return _l(n, t) ? !0 : nl(n) && nl(t) ? _w(n, t) : Array.isArray(n) && Array.isArray(t) ? Rw(n, t) : !1;
7244
+ return Bl(n, t) ? !0 : sl(n) && sl(t) ? _w(n, t) : Array.isArray(n) && Array.isArray(t) ? Rw(n, t) : !1;
7245
7245
  }
7246
7246
  function Rw(n, t) {
7247
7247
  if (n.length !== t.length)
@@ -7405,7 +7405,7 @@ class u1 extends fb {
7405
7405
  };
7406
7406
  }
7407
7407
  }
7408
- function dc(n, t, e = new Ae(1, 1, 1), i = !1) {
7408
+ function fc(n, t, e = new Ae(1, 1, 1), i = !1) {
7409
7409
  const s = new u1(n, t);
7410
7410
  return s.setMaterial({ dashed: i, color: e, linewidth: 1 }), s.remove(s.points), s;
7411
7411
  }
@@ -7426,17 +7426,17 @@ const lT = (n) => {
7426
7426
  const s = (h, u = 2, d = 0.1) => {
7427
7427
  const p = u / 2, m = c(h, d), v = new En();
7428
7428
  v.add(
7429
- dc(
7429
+ fc(
7430
7430
  new Ae(m.x + p, m.y, m.z),
7431
7431
  new Ae(m.x - p, m.y, m.z),
7432
7432
  new Ae(1, 0, 0)
7433
7433
  ),
7434
- dc(
7434
+ fc(
7435
7435
  new Ae(m.x, m.y + p, m.z),
7436
7436
  new Ae(m.x, m.y - p, m.z),
7437
7437
  new Ae(0, 1, 0)
7438
7438
  ),
7439
- dc(
7439
+ fc(
7440
7440
  new Ae(m.x, m.y, m.z + p),
7441
7441
  new Ae(m.x, m.y, m.z - p),
7442
7442
  new Ae(0, 0, 1)
@@ -7534,7 +7534,7 @@ function us(n) {
7534
7534
  }
7535
7535
  return -1;
7536
7536
  }
7537
- function Pt(n) {
7537
+ function Ct(n) {
7538
7538
  return n == null ? "" : n;
7539
7539
  }
7540
7540
  function ri(n) {
@@ -7688,8 +7688,8 @@ class Bo {
7688
7688
  this.n.forEach(Q);
7689
7689
  }
7690
7690
  }
7691
- const sl = /* @__PURE__ */ new Map();
7692
- let ol = 0;
7691
+ const ol = /* @__PURE__ */ new Map();
7692
+ let rl = 0;
7693
7693
  function Uw(n) {
7694
7694
  let t = 5381, e = n.length;
7695
7695
  for (; e--; )
@@ -7698,9 +7698,9 @@ function Uw(n) {
7698
7698
  }
7699
7699
  function Qw(n, t) {
7700
7700
  const e = { stylesheet: Nw(t), rules: {} };
7701
- return sl.set(n, e), e;
7701
+ return ol.set(n, e), e;
7702
7702
  }
7703
- function rl(n, t, e, i, s, o, r, a = 0) {
7703
+ function al(n, t, e, i, s, o, r, a = 0) {
7704
7704
  const l = 16.666 / i;
7705
7705
  let c = `{
7706
7706
  `;
@@ -7710,24 +7710,24 @@ function rl(n, t, e, i, s, o, r, a = 0) {
7710
7710
  `;
7711
7711
  }
7712
7712
  const h = c + `100% {${r(e, 1 - e)}}
7713
- }`, u = `__svelte_${Uw(h)}_${a}`, d = hu(n), { stylesheet: p, rules: g } = sl.get(d) || Qw(d, n);
7713
+ }`, u = `__svelte_${Uw(h)}_${a}`, d = hu(n), { stylesheet: p, rules: g } = ol.get(d) || Qw(d, n);
7714
7714
  g[u] || (g[u] = !0, p.insertRule(`@keyframes ${u} ${h}`, p.cssRules.length));
7715
7715
  const m = n.style.animation || "";
7716
- return n.style.animation = `${m ? `${m}, ` : ""}${u} ${i}ms linear ${s}ms 1 both`, ol += 1, u;
7716
+ return n.style.animation = `${m ? `${m}, ` : ""}${u} ${i}ms linear ${s}ms 1 both`, rl += 1, u;
7717
7717
  }
7718
- function al(n, t) {
7718
+ function ll(n, t) {
7719
7719
  const e = (n.style.animation || "").split(", "), i = e.filter(
7720
7720
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
7721
7721
  // remove all Svelte animations
7722
7722
  ), s = e.length - i.length;
7723
- s && (n.style.animation = i.join(", "), ol -= s, ol || Xw());
7723
+ s && (n.style.animation = i.join(", "), rl -= s, rl || Xw());
7724
7724
  }
7725
7725
  function Xw() {
7726
7726
  lu(() => {
7727
- ol || (sl.forEach((n) => {
7727
+ rl || (ol.forEach((n) => {
7728
7728
  const { ownerNode: t } = n.stylesheet;
7729
7729
  t && Q(t);
7730
- }), sl.clear());
7730
+ }), ol.clear());
7731
7731
  });
7732
7732
  }
7733
7733
  let Nr;
@@ -7764,7 +7764,7 @@ function zn() {
7764
7764
  return !0;
7765
7765
  };
7766
7766
  }
7767
- function ll(n, t) {
7767
+ function cl(n, t) {
7768
7768
  return gs().$$.context.set(n, t), t;
7769
7769
  }
7770
7770
  function sn(n) {
@@ -7776,21 +7776,21 @@ function Tn(n, t) {
7776
7776
  }
7777
7777
  const vo = [], Ye = [];
7778
7778
  let xo = [];
7779
- const Kc = [], y1 = /* @__PURE__ */ Promise.resolve();
7780
- let $c = !1;
7779
+ const $c = [], y1 = /* @__PURE__ */ Promise.resolve();
7780
+ let eh = !1;
7781
7781
  function w1() {
7782
- $c || ($c = !0, y1.then(wn));
7782
+ eh || (eh = !0, y1.then(wn));
7783
7783
  }
7784
- function cl() {
7784
+ function hl() {
7785
7785
  return w1(), y1;
7786
7786
  }
7787
- function yt(n) {
7787
+ function wt(n) {
7788
7788
  xo.push(n);
7789
7789
  }
7790
- function Bl(n) {
7791
- Kc.push(n);
7790
+ function Vl(n) {
7791
+ $c.push(n);
7792
7792
  }
7793
- const fc = /* @__PURE__ */ new Set();
7793
+ const gc = /* @__PURE__ */ new Set();
7794
7794
  let uo = 0;
7795
7795
  function wn() {
7796
7796
  if (uo !== 0)
@@ -7809,19 +7809,19 @@ function wn() {
7809
7809
  Ye.pop()();
7810
7810
  for (let t = 0; t < xo.length; t += 1) {
7811
7811
  const e = xo[t];
7812
- fc.has(e) || (fc.add(e), e());
7812
+ gc.has(e) || (gc.add(e), e());
7813
7813
  }
7814
7814
  xo.length = 0;
7815
7815
  } while (vo.length);
7816
- for (; Kc.length; )
7817
- Kc.pop()();
7818
- $c = !1, fc.clear(), In(n);
7816
+ for (; $c.length; )
7817
+ $c.pop()();
7818
+ eh = !1, gc.clear(), In(n);
7819
7819
  }
7820
7820
  function Yw(n) {
7821
7821
  if (n.fragment !== null) {
7822
7822
  n.update(), ct(n.before_update);
7823
7823
  const t = n.dirty;
7824
- n.dirty = [-1], n.fragment && n.fragment.p(n.ctx, t), n.after_update.forEach(yt);
7824
+ n.dirty = [-1], n.fragment && n.fragment.p(n.ctx, t), n.after_update.forEach(wt);
7825
7825
  }
7826
7826
  }
7827
7827
  function Zw(n) {
@@ -7868,13 +7868,13 @@ function ps(n, t, e) {
7868
7868
  const i = { direction: "in" };
7869
7869
  let s = t(n, e, i), o = !1, r, a, l = 0;
7870
7870
  function c() {
7871
- r && al(n, r);
7871
+ r && ll(n, r);
7872
7872
  }
7873
7873
  function h() {
7874
7874
  const { delay: d = 0, duration: p = 300, easing: g = Dn, tick: m = se, css: v } = s || gu;
7875
- v && (r = rl(n, 0, 1, p, d, g, v, l++)), m(0, 1);
7875
+ v && (r = al(n, 0, 1, p, d, g, v, l++)), m(0, 1);
7876
7876
  const b = au() + d, P = b + p;
7877
- a && a.abort(), o = !0, yt(() => zs(n, !0, "start")), a = cu((E) => {
7877
+ a && a.abort(), o = !0, wt(() => zs(n, !0, "start")), a = cu((E) => {
7878
7878
  if (o) {
7879
7879
  if (E >= P)
7880
7880
  return m(1, 0), zs(n, !0, "end"), c(), o = !1;
@@ -7889,7 +7889,7 @@ function ps(n, t, e) {
7889
7889
  let u = !1;
7890
7890
  return {
7891
7891
  start() {
7892
- u || (u = !0, al(n), oi(s) ? (s = s(i), fu().then(h)) : h());
7892
+ u || (u = !0, ll(n), oi(s) ? (s = s(i), fu().then(h)) : h());
7893
7893
  },
7894
7894
  invalidate() {
7895
7895
  u = !1;
@@ -7906,9 +7906,9 @@ function Ko(n, t, e) {
7906
7906
  a.r += 1;
7907
7907
  function l() {
7908
7908
  const { delay: c = 0, duration: h = 300, easing: u = Dn, tick: d = se, css: p } = s || gu;
7909
- p && (r = rl(n, 1, 0, h, c, u, p));
7909
+ p && (r = al(n, 1, 0, h, c, u, p));
7910
7910
  const g = au() + c, m = g + h;
7911
- yt(() => zs(n, !1, "start")), cu((v) => {
7911
+ wt(() => zs(n, !1, "start")), cu((v) => {
7912
7912
  if (o) {
7913
7913
  if (v >= m)
7914
7914
  return d(0, 1), zs(n, !1, "end"), --a.r || ct(a.c), !1;
@@ -7924,7 +7924,7 @@ function Ko(n, t, e) {
7924
7924
  s = s(i), l();
7925
7925
  }) : l(), {
7926
7926
  end(c) {
7927
- c && s.tick && s.tick(1, 0), o && (r && al(n, r), o = !1);
7927
+ c && s.tick && s.tick(1, 0), o && (r && ll(n, r), o = !1);
7928
7928
  }
7929
7929
  };
7930
7930
  }
@@ -7932,7 +7932,7 @@ function zi(n, t, e, i) {
7932
7932
  const s = { direction: "both" };
7933
7933
  let o = t(n, e, s), r = i ? 0 : 1, a = null, l = null, c = null;
7934
7934
  function h() {
7935
- c && al(n, c);
7935
+ c && ll(n, c);
7936
7936
  }
7937
7937
  function u(p, g) {
7938
7938
  const m = p.b - r;
@@ -7951,8 +7951,8 @@ function zi(n, t, e, i) {
7951
7951
  start: au() + g,
7952
7952
  b: p
7953
7953
  };
7954
- p || (E.group = $i, $i.r += 1), a || l ? l = E : (P && (h(), c = rl(n, r, p, m, g, v, P)), p && b(0, 1), a = u(E, m), yt(() => zs(n, p, "start")), cu((M) => {
7955
- if (l && M > l.start && (a = u(l, m), l = null, zs(n, a.b, "start"), P && (h(), c = rl(n, r, a.b, a.duration, 0, v, o.css))), a) {
7954
+ p || (E.group = $i, $i.r += 1), a || l ? l = E : (P && (h(), c = al(n, r, p, m, g, v, P)), p && b(0, 1), a = u(E, m), wt(() => zs(n, p, "start")), cu((M) => {
7955
+ if (l && M > l.start && (a = u(l, m), l = null, zs(n, a.b, "start"), P && (h(), c = al(n, r, a.b, a.duration, 0, v, o.css))), a) {
7956
7956
  if (M >= a.end)
7957
7957
  b(r = a.b, 1 - r), zs(n, a.b, "end"), l || (a.b ? h() : --a.group.r || ct(a.group.c)), a = null;
7958
7958
  else if (M >= a.start) {
@@ -8067,7 +8067,7 @@ function vt(n, t) {
8067
8067
  function P1(n) {
8068
8068
  return typeof n == "object" && n !== null ? n : {};
8069
8069
  }
8070
- function Vl(n, t, e) {
8070
+ function Hl(n, t, e) {
8071
8071
  const i = n.$$.props[t];
8072
8072
  i !== void 0 && (n.$$.bound[i] = e, e(n.$$.ctx[i]));
8073
8073
  }
@@ -8076,10 +8076,10 @@ function pe(n) {
8076
8076
  }
8077
8077
  function fe(n, t, e, i) {
8078
8078
  const { fragment: s, after_update: o } = n.$$;
8079
- s && s.m(t, e), i || yt(() => {
8079
+ s && s.m(t, e), i || wt(() => {
8080
8080
  const r = n.$$.on_mount.map(d1).filter(oi);
8081
8081
  n.$$.on_destroy ? n.$$.on_destroy.push(...r) : ct(r), n.$$.on_mount = [];
8082
- }), o.forEach(yt);
8082
+ }), o.forEach(wt);
8083
8083
  }
8084
8084
  function ge(n, t) {
8085
8085
  const e = n.$$;
@@ -8239,9 +8239,9 @@ class $w {
8239
8239
  this.debounceTimer && (clearTimeout(this.debounceTimer), this.debounceTimer = null), typeof window != "undefined" && window.removeEventListener("resize", this.handleResize), this.subscribers = [], this.isInitialized = !1;
8240
8240
  }
8241
8241
  }
8242
- let gc = null;
8243
- const e2 = () => (gc || (gc = new $w()), gc), aa = () => typeof window == "undefined" ? "md" : e2();
8244
- function Ct(n, t = 16) {
8242
+ let pc = null;
8243
+ const e2 = () => (pc || (pc = new $w()), pc), aa = () => typeof window == "undefined" ? "md" : e2();
8244
+ function ut(n, t = 16) {
8245
8245
  return (Number(typeof n == "string" ? n.replace(/px/g, "") : n) / t).toFixed(5) + "rem";
8246
8246
  }
8247
8247
  function t2(n) {
@@ -8368,11 +8368,11 @@ function n2(n, t, e) {
8368
8368
  var p;
8369
8369
  n.$$.dirty & /*fontSize*/
8370
8370
  64 && e(9, i = mu[u]), n.$$.dirty & /*fontConfig*/
8371
- 512 && e(3, s = Ct((i == null ? void 0 : i.name) || 12)), n.$$.dirty & /*fontConfig*/
8371
+ 512 && e(3, s = ut((i == null ? void 0 : i.name) || 12)), n.$$.dirty & /*fontConfig*/
8372
8372
  512 && e(8, o = ((p = i == null ? void 0 : i.padding) == null ? void 0 : p.room) || [6, 5]), n.$$.dirty & /*padding*/
8373
- 256 && e(2, r = `${Ct(o[1])} ${Ct(o[0])}`), n.$$.dirty & /*fontConfig, padding*/
8373
+ 256 && e(2, r = `${ut(o[1])} ${ut(o[0])}`), n.$$.dirty & /*fontConfig, padding*/
8374
8374
  768 && e(7, a = ((i == null ? void 0 : i.lineHeight) || 14) + o[1] * 2), n.$$.dirty & /*textHeight*/
8375
- 128 && e(1, l = Ct(-(64 - a)));
8375
+ 128 && e(1, l = ut(-(64 - a)));
8376
8376
  }, [
8377
8377
  h,
8378
8378
  l,
@@ -8437,10 +8437,10 @@ var I1 = function() {
8437
8437
  }, t;
8438
8438
  }()
8439
8439
  );
8440
- }(), eh = typeof window != "undefined" && typeof document != "undefined" && window.document === document, hl = function() {
8440
+ }(), th = typeof window != "undefined" && typeof document != "undefined" && window.document === document, ul = function() {
8441
8441
  return typeof global != "undefined" && global.Math === Math ? global : typeof self != "undefined" && self.Math === Math ? self : typeof window != "undefined" && window.Math === Math ? window : Function("return this")();
8442
8442
  }(), o2 = function() {
8443
- return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(hl) : function(n) {
8443
+ return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(ul) : function(n) {
8444
8444
  return setTimeout(function() {
8445
8445
  return n(Date.now());
8446
8446
  }, 1e3 / 60);
@@ -8488,14 +8488,14 @@ var l2 = 20, c2 = ["top", "right", "bottom", "left", "width", "height", "size",
8488
8488
  return e.broadcastActive();
8489
8489
  }), t.length > 0;
8490
8490
  }, n.prototype.connect_ = function() {
8491
- !eh || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), h2 ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
8491
+ !th || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), h2 ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
8492
8492
  attributes: !0,
8493
8493
  childList: !0,
8494
8494
  characterData: !0,
8495
8495
  subtree: !0
8496
8496
  })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
8497
8497
  }, n.prototype.disconnect_ = function() {
8498
- !eh || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
8498
+ !th || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
8499
8499
  }, n.prototype.onTransitionEnd_ = function(t) {
8500
8500
  var e = t.propertyName, i = e === void 0 ? "" : e, s = c2.some(function(o) {
8501
8501
  return !!~i.indexOf(o);
@@ -8518,9 +8518,9 @@ var l2 = 20, c2 = ["top", "right", "bottom", "left", "width", "height", "size",
8518
8518
  return n;
8519
8519
  }, Ho = function(n) {
8520
8520
  var t = n && n.ownerDocument && n.ownerDocument.defaultView;
8521
- return t || hl;
8522
- }, M1 = Hl(0, 0, 0, 0);
8523
- function ul(n) {
8521
+ return t || ul;
8522
+ }, M1 = Fl(0, 0, 0, 0);
8523
+ function dl(n) {
8524
8524
  return parseFloat(n) || 0;
8525
8525
  }
8526
8526
  function Ld(n) {
@@ -8528,30 +8528,30 @@ function Ld(n) {
8528
8528
  t[e - 1] = arguments[e];
8529
8529
  return t.reduce(function(i, s) {
8530
8530
  var o = n["border-" + s + "-width"];
8531
- return i + ul(o);
8531
+ return i + dl(o);
8532
8532
  }, 0);
8533
8533
  }
8534
8534
  function d2(n) {
8535
8535
  for (var t = ["top", "right", "bottom", "left"], e = {}, i = 0, s = t; i < s.length; i++) {
8536
8536
  var o = s[i], r = n["padding-" + o];
8537
- e[o] = ul(r);
8537
+ e[o] = dl(r);
8538
8538
  }
8539
8539
  return e;
8540
8540
  }
8541
8541
  function f2(n) {
8542
8542
  var t = n.getBBox();
8543
- return Hl(0, 0, t.width, t.height);
8543
+ return Fl(0, 0, t.width, t.height);
8544
8544
  }
8545
8545
  function g2(n) {
8546
8546
  var t = n.clientWidth, e = n.clientHeight;
8547
8547
  if (!t && !e)
8548
8548
  return M1;
8549
- var i = Ho(n).getComputedStyle(n), s = d2(i), o = s.left + s.right, r = s.top + s.bottom, a = ul(i.width), l = ul(i.height);
8549
+ var i = Ho(n).getComputedStyle(n), s = d2(i), o = s.left + s.right, r = s.top + s.bottom, a = dl(i.width), l = dl(i.height);
8550
8550
  if (i.boxSizing === "border-box" && (Math.round(a + o) !== t && (a -= Ld(i, "left", "right") + o), Math.round(l + r) !== e && (l -= Ld(i, "top", "bottom") + r)), !m2(n)) {
8551
8551
  var c = Math.round(a + o) - t, h = Math.round(l + r) - e;
8552
8552
  Math.abs(c) !== 1 && (a -= c), Math.abs(h) !== 1 && (l -= h);
8553
8553
  }
8554
- return Hl(s.left, s.top, a, l);
8554
+ return Fl(s.left, s.top, a, l);
8555
8555
  }
8556
8556
  var p2 = function() {
8557
8557
  return typeof SVGGraphicsElement != "undefined" ? function(n) {
@@ -8564,7 +8564,7 @@ function m2(n) {
8564
8564
  return n === Ho(n).document.documentElement;
8565
8565
  }
8566
8566
  function v2(n) {
8567
- return eh ? p2(n) ? f2(n) : g2(n) : M1;
8567
+ return th ? p2(n) ? f2(n) : g2(n) : M1;
8568
8568
  }
8569
8569
  function A2(n) {
8570
8570
  var t = n.x, e = n.y, i = n.width, s = n.height, o = typeof DOMRectReadOnly != "undefined" ? DOMRectReadOnly : Object, r = Object.create(o.prototype);
@@ -8579,14 +8579,14 @@ function A2(n) {
8579
8579
  left: t
8580
8580
  }), r;
8581
8581
  }
8582
- function Hl(n, t, e, i) {
8582
+ function Fl(n, t, e, i) {
8583
8583
  return { x: n, y: t, width: e, height: i };
8584
8584
  }
8585
8585
  var b2 = (
8586
8586
  /** @class */
8587
8587
  function() {
8588
8588
  function n(t) {
8589
- this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Hl(0, 0, 0, 0), this.target = t;
8589
+ this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Fl(0, 0, 0, 0), this.target = t;
8590
8590
  }
8591
8591
  return n.prototype.isActive = function() {
8592
8592
  var t = v2(this.target);
@@ -8676,7 +8676,7 @@ var b2 = (
8676
8676
  };
8677
8677
  });
8678
8678
  var P2 = function() {
8679
- return typeof hl.ResizeObserver != "undefined" ? hl.ResizeObserver : x1;
8679
+ return typeof ul.ResizeObserver != "undefined" ? ul.ResizeObserver : x1;
8680
8680
  }();
8681
8681
  function Oi(n) {
8682
8682
  new P2((e, i) => {
@@ -9007,7 +9007,7 @@ function jd(n, { delay: t = 0, duration: e = 400, easing: i = Gr, x: s = 0, y: o
9007
9007
  opacity: ${l - h * v}`
9008
9008
  };
9009
9009
  }
9010
- function dl(n, { delay: t = 0, speed: e, duration: i, easing: s = Fo } = {}) {
9010
+ function fl(n, { delay: t = 0, speed: e, duration: i, easing: s = Fo } = {}) {
9011
9011
  let o = n.getTotalLength();
9012
9012
  const r = getComputedStyle(n);
9013
9013
  return r.strokeLinecap !== "butt" && (o += parseInt(r.strokeWidth)), i === void 0 ? e === void 0 ? i = 800 : i = o / e : typeof i == "function" && (i = i(o)), {
@@ -9846,8 +9846,8 @@ function i3(n, t, e) {
9846
9846
  1207959552 && e(14, g = c || ae), n.$$.dirty[0] & /*wrapperLabelVisible, isHovered*/
9847
9847
  671088640 && e(13, m = d || ae), n.$$.dirty[0] & /*mainLabelVisible, wrapperLabelVisible*/
9848
9848
  1610612736 && e(12, v = c && !d), n.$$.dirty[0] & /*fontConfig*/
9849
- 268435456 && e(11, b = Ct((i == null ? void 0 : i.name) || 12)), n.$$.dirty[0] & /*fontConfig*/
9850
- 268435456 && e(10, P = Ct((i == null ? void 0 : i.area) || 10));
9849
+ 268435456 && e(11, b = ut((i == null ? void 0 : i.name) || 12)), n.$$.dirty[0] & /*fontConfig*/
9850
+ 268435456 && e(10, P = ut((i == null ? void 0 : i.area) || 10));
9851
9851
  }, [
9852
9852
  M,
9853
9853
  z,
@@ -10740,10 +10740,10 @@ function P3(n) {
10740
10740
  }
10741
10741
  };
10742
10742
  }
10743
- const pc = 6;
10743
+ const mc = 6;
10744
10744
  function C3(n, t, e) {
10745
10745
  let i, { path: s } = t;
10746
- const o = pc * 2, r = `M0 ${pc} h ${o} M${pc} 0 v ${o}`;
10746
+ const o = mc * 2, r = `M0 ${mc} h ${o} M${mc} 0 v ${o}`;
10747
10747
  return n.$$set = (a) => {
10748
10748
  "path" in a && e(3, s = a.path);
10749
10749
  }, n.$$.update = () => {
@@ -12329,7 +12329,7 @@ function aP(n) {
12329
12329
  }
12330
12330
  return e = l(n), i = a[e] = r[e](n), {
12331
12331
  c() {
12332
- t = W("div"), i.c(), y(t, "class", s = Pt(`floorplan-plugin__floor${/*isCurrent*/
12332
+ t = W("div"), i.c(), y(t, "class", s = Ct(`floorplan-plugin__floor${/*isCurrent*/
12333
12333
  n[1] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz");
12334
12334
  },
12335
12335
  m(c, h) {
@@ -12340,7 +12340,7 @@ function aP(n) {
12340
12340
  e = l(c), e === u ? a[e].p(c, h) : (Me(), Y(a[u], 1, 1, () => {
12341
12341
  a[u] = null;
12342
12342
  }), ke(), i = a[e], i ? i.p(c, h) : (i = a[e] = r[e](c), i.c()), F(i, 1), i.m(t, null)), (!o || h & /*isCurrent*/
12343
- 2 && s !== (s = Pt(`floorplan-plugin__floor${/*isCurrent*/
12343
+ 2 && s !== (s = Ct(`floorplan-plugin__floor${/*isCurrent*/
12344
12344
  c[1] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz")) && y(t, "class", s);
12345
12345
  },
12346
12346
  i(c) {
@@ -12484,7 +12484,7 @@ function df(n) {
12484
12484
  if (!i) {
12485
12485
  for (let l = 0; l < s.length; l += 1)
12486
12486
  F(o[l]);
12487
- e || yt(() => {
12487
+ e || wt(() => {
12488
12488
  e = ps(t, _t, {
12489
12489
  duration: (
12490
12490
  /*duration*/
@@ -12978,7 +12978,7 @@ let ms = class {
12978
12978
  /**
12979
12979
  * @realsee/dnalogel 版本号
12980
12980
  */
12981
- f(this, "VERSION", "3.70.2");
12981
+ f(this, "VERSION", "3.70.3");
12982
12982
  f(this, "NAME");
12983
12983
  f(this, "five");
12984
12984
  f(this, "workUtil");
@@ -12987,8 +12987,8 @@ let ms = class {
12987
12987
  * @description: 插件事件钩子
12988
12988
  */
12989
12989
  f(this, "hooks", new Mt());
12990
- f(this, "staticPrefix", jl);
12991
- this.five = t, this.fiveUtil = new kl(t), this.workUtil = this.fiveUtil.workUtil, e != null && e.staticPrefix && (this.staticPrefix = e.staticPrefix);
12990
+ f(this, "staticPrefix", Rl);
12991
+ this.five = t, this.fiveUtil = new xl(t), this.workUtil = this.fiveUtil.workUtil, e != null && e.staticPrefix && (this.staticPrefix = e.staticPrefix);
12992
12992
  }
12993
12993
  set workCode(t) {
12994
12994
  this.workUtil.workCode = t, this.onWorkCodeChange();
@@ -19947,7 +19947,7 @@ const TT = (n, t) => new BC(n, t), LT = [
19947
19947
  { roomType: "100900000013", description: "衣" },
19948
19948
  { roomType: "100900000015", description: "商铺" },
19949
19949
  { roomType: "100900000016", description: "写字楼" }
19950
- ], mc = (n, t, e) => {
19950
+ ], vc = (n, t, e) => {
19951
19951
  const i = new w.Matrix4(), s = new w.Euler(n, t, e, "YXZ");
19952
19952
  return i.makeRotationFromEuler(s), i;
19953
19953
  }, VC = (n, {
@@ -19957,7 +19957,7 @@ const TT = (n, t) => new BC(n, t), LT = [
19957
19957
  }) => {
19958
19958
  if (t && n.scale.set(t, t, t), e) {
19959
19959
  const [s, o, r] = e;
19960
- s && n.applyMatrix4(mc(s, 0, 0)), o && n.applyMatrix4(mc(0, o, 0)), r && n.applyMatrix4(mc(0, 0, r));
19960
+ s && n.applyMatrix4(vc(s, 0, 0)), o && n.applyMatrix4(vc(0, o, 0)), r && n.applyMatrix4(vc(0, 0, r));
19961
19961
  }
19962
19962
  return i && n.position.set(i.x, i.y, i.z), n;
19963
19963
  };
@@ -19997,18 +19997,18 @@ function xs(n) {
19997
19997
  return [o, e, i];
19998
19998
  }
19999
19999
  function vs(n, t) {
20000
- switch (this.g = [], this.h = 32768, this.d = this.f = this.a = this.l = 0, this.input = mt ? new Uint8Array(n) : n, this.m = !1, this.i = fl, this.r = !1, (t || !(t = {})) && (t.index && (this.a = t.index), t.bufferSize && (this.h = t.bufferSize), t.bufferType && (this.i = t.bufferType), t.resize && (this.r = t.resize)), this.i) {
20000
+ switch (this.g = [], this.h = 32768, this.d = this.f = this.a = this.l = 0, this.input = mt ? new Uint8Array(n) : n, this.m = !1, this.i = gl, this.r = !1, (t || !(t = {})) && (t.index && (this.a = t.index), t.bufferSize && (this.h = t.bufferSize), t.bufferType && (this.i = t.bufferType), t.resize && (this.r = t.resize)), this.i) {
20001
20001
  case Eu:
20002
20002
  this.b = 32768, this.c = new (mt ? Uint8Array : Array)(32768 + this.h + 258);
20003
20003
  break;
20004
- case fl:
20004
+ case gl:
20005
20005
  this.b = 0, this.c = new (mt ? Uint8Array : Array)(this.h), this.e = this.z, this.n = this.v, this.j = this.w;
20006
20006
  break;
20007
20007
  default:
20008
20008
  throw Error("invalid inflate mode");
20009
20009
  }
20010
20010
  }
20011
- var Eu = 0, fl = 1, _f = { t: Eu, s: fl };
20011
+ var Eu = 0, gl = 1, _f = { t: Eu, s: gl };
20012
20012
  vs.prototype.k = function() {
20013
20013
  for (; !this.m; ) {
20014
20014
  var n = Di(this, 3);
@@ -20034,7 +20034,7 @@ vs.prototype.k = function() {
20034
20034
  this.b = s, i = this.e(), s = this.b;
20035
20035
  }
20036
20036
  break;
20037
- case fl:
20037
+ case gl:
20038
20038
  for (; s + r > i.length; )
20039
20039
  i = this.e({ p: 2 });
20040
20040
  break;
@@ -20052,11 +20052,11 @@ vs.prototype.k = function() {
20052
20052
  this.j(FC, NC);
20053
20053
  break;
20054
20054
  case 2:
20055
- for (var h = Di(this, 5) + 257, u = Di(this, 5) + 1, d = Di(this, 4) + 4, p = new (mt ? Uint8Array : Array)(vc.length), g = yi, m = yi, v = yi, b = yi, P = yi, E = yi, M = yi, D = yi, z = yi, D = 0; D < d; ++D)
20056
- p[vc[D]] = Di(this, 3);
20055
+ for (var h = Di(this, 5) + 257, u = Di(this, 5) + 1, d = Di(this, 4) + 4, p = new (mt ? Uint8Array : Array)(Ac.length), g = yi, m = yi, v = yi, b = yi, P = yi, E = yi, M = yi, D = yi, z = yi, D = 0; D < d; ++D)
20056
+ p[Ac[D]] = Di(this, 3);
20057
20057
  if (!mt)
20058
20058
  for (D = d, d = p.length; D < d; ++D)
20059
- p[vc[D]] = 0;
20059
+ p[Ac[D]] = 0;
20060
20060
  for (g = xs(p), b = new (mt ? Uint8Array : Array)(h + u), D = 0, z = h + u; D < z; )
20061
20061
  switch (P = Wr(this, g), P) {
20062
20062
  case 16:
@@ -20084,7 +20084,7 @@ vs.prototype.k = function() {
20084
20084
  }
20085
20085
  return this.n();
20086
20086
  };
20087
- var Bf = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], vc = mt ? new Uint16Array(Bf) : Bf, Vf = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 258, 258], B1 = mt ? new Uint16Array(Vf) : Vf, Hf = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 0, 0], gl = mt ? new Uint8Array(Hf) : Hf, Ff = [
20087
+ var Bf = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Ac = mt ? new Uint16Array(Bf) : Bf, Vf = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 258, 258], B1 = mt ? new Uint16Array(Vf) : Vf, Hf = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 0, 0], pl = mt ? new Uint8Array(Hf) : Hf, Ff = [
20088
20088
  1,
20089
20089
  2,
20090
20090
  3,
@@ -20115,15 +20115,15 @@ var Bf = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], vc
20115
20115
  12289,
20116
20116
  16385,
20117
20117
  24577
20118
- ], V1 = mt ? new Uint16Array(Ff) : Ff, Nf = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], pl = mt ? new Uint8Array(Nf) : Nf, th = new (mt ? Uint8Array : Array)(288), ks, Gf;
20118
+ ], V1 = mt ? new Uint16Array(Ff) : Ff, Nf = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], ml = mt ? new Uint8Array(Nf) : Nf, ih = new (mt ? Uint8Array : Array)(288), ks, Gf;
20119
20119
  ks = 0;
20120
- for (Gf = th.length; ks < Gf; ++ks)
20121
- th[ks] = 143 >= ks ? 8 : 255 >= ks ? 9 : 279 >= ks ? 7 : 8;
20122
- var FC = xs(th), ih = new (mt ? Uint8Array : Array)(30), Ua, Wf;
20120
+ for (Gf = ih.length; ks < Gf; ++ks)
20121
+ ih[ks] = 143 >= ks ? 8 : 255 >= ks ? 9 : 279 >= ks ? 7 : 8;
20122
+ var FC = xs(ih), nh = new (mt ? Uint8Array : Array)(30), Ua, Wf;
20123
20123
  Ua = 0;
20124
- for (Wf = ih.length; Ua < Wf; ++Ua)
20125
- ih[Ua] = 5;
20126
- var NC = xs(ih);
20124
+ for (Wf = nh.length; Ua < Wf; ++Ua)
20125
+ nh[Ua] = 5;
20126
+ var NC = xs(nh);
20127
20127
  function Di(n, t) {
20128
20128
  for (var e = n.f, i = n.d, s = n.input, o = n.a, r = s.length, a; i < t; ) {
20129
20129
  if (o >= r)
@@ -20146,7 +20146,7 @@ vs.prototype.j = function(n, t) {
20146
20146
  if (256 > o)
20147
20147
  i >= s && (this.b = i, e = this.e(), i = this.b), e[i++] = o;
20148
20148
  else
20149
- for (r = o - 257, l = B1[r], 0 < gl[r] && (l += Di(this, gl[r])), o = Wr(this, t), a = V1[o], 0 < pl[o] && (a += Di(this, pl[o])), i >= s && (this.b = i, e = this.e(), i = this.b); l--; )
20149
+ for (r = o - 257, l = B1[r], 0 < pl[r] && (l += Di(this, pl[r])), o = Wr(this, t), a = V1[o], 0 < ml[o] && (a += Di(this, ml[o])), i >= s && (this.b = i, e = this.e(), i = this.b); l--; )
20150
20150
  e[i] = e[i++ - a];
20151
20151
  for (; 8 <= this.d; )
20152
20152
  this.d -= 8, this.a--;
@@ -20159,7 +20159,7 @@ vs.prototype.w = function(n, t) {
20159
20159
  if (256 > o)
20160
20160
  i >= s && (e = this.e(), s = e.length), e[i++] = o;
20161
20161
  else
20162
- for (r = o - 257, l = B1[r], 0 < gl[r] && (l += Di(this, gl[r])), o = Wr(this, t), a = V1[o], 0 < pl[o] && (a += Di(this, pl[o])), i + l > s && (e = this.e(), s = e.length); l--; )
20162
+ for (r = o - 257, l = B1[r], 0 < pl[r] && (l += Di(this, pl[r])), o = Wr(this, t), a = V1[o], 0 < ml[o] && (a += Di(this, ml[o])), i + l > s && (e = this.e(), s = e.length); l--; )
20163
20163
  e[i] = e[i++ - a];
20164
20164
  for (; 8 <= this.d; )
20165
20165
  this.d -= 8, this.a--;
@@ -20239,15 +20239,15 @@ Mu.prototype.k = function() {
20239
20239
  var Uf = 8;
20240
20240
  Iu("Zlib.Inflate", Mu);
20241
20241
  Iu("Zlib.Inflate.prototype.decompress", Mu.prototype.k);
20242
- var nh = { ADAPTIVE: _f.s, BLOCK: _f.t }, Sr, Dr, So, Qf;
20242
+ var sh = { ADAPTIVE: _f.s, BLOCK: _f.t }, Sr, Dr, So, Qf;
20243
20243
  if (Object.keys)
20244
- Sr = Object.keys(nh);
20244
+ Sr = Object.keys(sh);
20245
20245
  else
20246
- for (Dr in Sr = [], So = 0, nh)
20246
+ for (Dr in Sr = [], So = 0, sh)
20247
20247
  Sr[So++] = Dr;
20248
20248
  So = 0;
20249
20249
  for (Qf = Sr.length; So < Qf; ++So)
20250
- Dr = Sr[So], Iu("Zlib.Inflate.BufferType." + Dr, nh[Dr]);
20250
+ Dr = Sr[So], Iu("Zlib.Inflate.BufferType." + Dr, sh[Dr]);
20251
20251
  var Xf = _1.Zlib, H1 = {
20252
20252
  /*
20253
20253
  Finds knot vector span.
@@ -20480,7 +20480,7 @@ var F1 = function() {
20480
20480
  i.prototype = Object.assign(Object.create(ad.prototype), {
20481
20481
  constructor: i,
20482
20482
  load: function(A, C, I, k) {
20483
- var S = this, T = S.path === "" ? ic.extractUrlBase(A) : S.path, N = new OA(this.manager);
20483
+ var S = this, T = S.path === "" ? nc.extractUrlBase(A) : S.path, N = new OA(this.manager);
20484
20484
  N.setPath(S.path), N.setResponseType("arraybuffer"), N.load(
20485
20485
  A,
20486
20486
  function(B) {
@@ -20654,13 +20654,13 @@ var F1 = function() {
20654
20654
  var T = this.parseParameters(A, C, I), N;
20655
20655
  switch (S.toLowerCase()) {
20656
20656
  case "phong":
20657
- N = new nc();
20657
+ N = new sc();
20658
20658
  break;
20659
20659
  case "lambert":
20660
20660
  N = new jA();
20661
20661
  break;
20662
20662
  default:
20663
- console.warn('THREE.FBXLoader: unknown material type "%s". Defaulting to MeshPhongMaterial.', S), N = new nc();
20663
+ console.warn('THREE.FBXLoader: unknown material type "%s". Defaulting to MeshPhongMaterial.', S), N = new sc();
20664
20664
  break;
20665
20665
  }
20666
20666
  return N.setValues(T), N.name = k, N;
@@ -20930,7 +20930,7 @@ var F1 = function() {
20930
20930
  var k, S = null, T = null, N = [];
20931
20931
  return A.children.forEach(function(B) {
20932
20932
  C.has(B.ID) && (S = C.get(B.ID)), I.has(B.ID) && N.push(I.get(B.ID));
20933
- }), N.length > 1 ? T = N : N.length > 0 ? T = N[0] : (T = new nc({ color: 13421772 }), N.push(T)), "color" in S.attributes && N.forEach(function(B) {
20933
+ }), N.length > 1 ? T = N : N.length > 0 ? T = N[0] : (T = new sc({ color: 13421772 }), N.push(T)), "color" in S.attributes && N.forEach(function(B) {
20934
20934
  B.vertexColors = !0;
20935
20935
  }), S.FBX_Deformer ? (N.forEach(function(B) {
20936
20936
  B.skinning = !0;
@@ -21819,7 +21819,7 @@ var F1 = function() {
21819
21819
  for (var C = [], I = 0; I < A; I++)
21820
21820
  C[I] = this.getUint8();
21821
21821
  var k = C.indexOf(0);
21822
- return k >= 0 && (C = C.slice(0, k)), ic.decodeText(new Uint8Array(C));
21822
+ return k >= 0 && (C = C.slice(0, k)), nc.decodeText(new Uint8Array(C));
21823
21823
  }
21824
21824
  };
21825
21825
  function h() {
@@ -21943,7 +21943,7 @@ var F1 = function() {
21943
21943
  return C;
21944
21944
  }
21945
21945
  function D(A, C, I) {
21946
- return C === void 0 && (C = 0), I === void 0 && (I = A.byteLength), ic.decodeText(new Uint8Array(A, C, I));
21946
+ return C === void 0 && (C = 0), I === void 0 && (I = A.byteLength), nc.decodeText(new Uint8Array(A, C, I));
21947
21947
  }
21948
21948
  function R(A, C) {
21949
21949
  for (var I = 0, k = A.length, S = C.length; I < S; I++, k++)
@@ -22071,7 +22071,7 @@ const WC = ({ x: n, y: t, z: e }) => new Ae(n, t, e), RT = (n, t) => {
22071
22071
  return { load: l, enable: (P) => (e.enabled || (e.enabled = !0, d(n.currentMode), n.on("modeChange", d), h(P)), !0), disable: () => (e.enabled && (e.enabled = !1, u(), n.off("modeChange", d)), !0) };
22072
22072
  }, UC = Hi;
22073
22073
  function QC(n, t, e, i = UC.Linear.None) {
22074
- const s = new Ml(n).to(t, e).easing(i);
22074
+ const s = new kl(n).to(t, e).easing(i);
22075
22075
  oa(() => s.start(0));
22076
22076
  const o = Jo((a) => {
22077
22077
  s.update(a) === !1 && o();
@@ -22100,13 +22100,13 @@ function Yf(n) {
22100
22100
  function Zf(n) {
22101
22101
  return n % Qa;
22102
22102
  }
22103
- function Ac(n, t, e) {
22103
+ function bc(n, t, e) {
22104
22104
  return n + (t - n) * e;
22105
22105
  }
22106
- const sh = (n, t, e) => {
22106
+ const oh = (n, t, e) => {
22107
22107
  const i = Math.PI, s = i * 2;
22108
22108
  let o = Yf(n), r = Yf(t);
22109
- return e === Pn.Anticlockwise && o < r && (o += s), e === Pn.Clockwise && r < o && (r += s), e === Pn.Loop && r - o > i ? sh(o, r, Pn.Anticlockwise) : e === Pn.Loop && o - r > i ? sh(o, r, Pn.Clockwise) : { from: o, to: r };
22109
+ return e === Pn.Anticlockwise && o < r && (o += s), e === Pn.Clockwise && r < o && (r += s), e === Pn.Loop && r - o > i ? oh(o, r, Pn.Anticlockwise) : e === Pn.Loop && o - r > i ? oh(o, r, Pn.Clockwise) : { from: o, to: r };
22110
22110
  }, _T = (n) => {
22111
22111
  const t = {}, e = (l, c, ...h) => ie(void 0, [l, c, ...h], function* (o, r, a = { preload: !0 }) {
22112
22112
  return t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), o.mode && o.mode !== n.currentMode && (yield n.changeMode(o.mode)), a.preload && o.panoIndex !== void 0 && o.panoIndex !== n.panoIndex && (yield n.preloadPano(o.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), o.panoIndex === void 0 && o.fov === void 0 && o.latitude === void 0 && o.longitude === void 0 ? !0 : yield new Promise((u, d) => {
@@ -22120,7 +22120,7 @@ const sh = (n, t, e) => {
22120
22120
  }, o)) : d(new Error("unexpected error"));
22121
22121
  });
22122
22122
  }), i = (o) => {
22123
- const r = n.state, a = Zf(r.latitude), l = Zf(o.latitude), { from: c, to: h } = sh(
22123
+ const r = n.state, a = Zf(r.latitude), l = Zf(o.latitude), { from: c, to: h } = oh(
22124
22124
  r.longitude,
22125
22125
  o.longitude,
22126
22126
  o.rotation || Pn.Loop
@@ -22149,7 +22149,7 @@ const sh = (n, t, e) => {
22149
22149
  return yield new Promise((p) => {
22150
22150
  const g = ({ progress: E }) => {
22151
22151
  const M = {};
22152
- M.longitude = Ac(u.longitude, d.longitude, E), M.latitude = Ac(u.latitude, d.latitude, E), M.fov = Ac(u.fov, d.fov, E), n.setState(M, !0);
22152
+ M.longitude = bc(u.longitude, d.longitude, E), M.latitude = bc(u.latitude, d.latitude, E), M.fov = bc(u.fov, d.fov, E), n.setState(M, !0);
22153
22153
  }, m = () => {
22154
22154
  p(!0);
22155
22155
  }, v = () => {
@@ -22170,11 +22170,11 @@ function qf(n, t) {
22170
22170
  function N1(n, t) {
22171
22171
  return Math.abs(n) === 1 / 0 && Math.abs(t) === 1 / 0 ? !0 : Math.abs(n - t) < 1e-3;
22172
22172
  }
22173
- function ml(n, t) {
22173
+ function vl(n, t) {
22174
22174
  return (t.y - n.y) / (t.x - n.x);
22175
22175
  }
22176
22176
  function G1(n, t, e) {
22177
- const i = ml(n[1], n[0]), s = ml(t[1], t[0]);
22177
+ const i = vl(n[1], n[0]), s = vl(t[1], t[0]);
22178
22178
  if (isNaN(i) || isNaN(s) || N1(i, s))
22179
22179
  return !1;
22180
22180
  if (Da(n[0], t))
@@ -22196,7 +22196,7 @@ function G1(n, t, e) {
22196
22196
  return { x: a, y: l };
22197
22197
  }
22198
22198
  function Da(n, t) {
22199
- return qf(n, t[0]) || qf(n, t[1]) ? !0 : (t[0].x - n.x) * (n.x - t[1].x) >= 0 && (t[0].y - n.y) * (n.y - t[1].y) >= 0 && N1(ml(t[0], n), ml(n, t[1]));
22199
+ return qf(n, t[0]) || qf(n, t[1]) ? !0 : (t[0].x - n.x) * (n.x - t[1].x) >= 0 && (t[0].y - n.y) * (n.y - t[1].y) >= 0 && N1(vl(t[0], n), vl(n, t[1]));
22200
22200
  }
22201
22201
  function ZC(n) {
22202
22202
  let t = 1 / 0, e = -1 / 0, i = 1 / 0, s = -1 / 0;
@@ -22586,7 +22586,7 @@ function i5(n) {
22586
22586
  let t, e;
22587
22587
  return {
22588
22588
  c() {
22589
- t = W("em"), y(t, "class", e = Pt(
22589
+ t = W("em"), y(t, "class", e = Ct(
22590
22590
  /*rulerItemProp*/
22591
22591
  n[0].state ? "em-solid" : "em-dotted"
22592
22592
  ) + " svelte-1h27ktp"), y(
@@ -22601,7 +22601,7 @@ function i5(n) {
22601
22601
  },
22602
22602
  p(i, s) {
22603
22603
  s & /*rulerItemProp*/
22604
- 1 && e !== (e = Pt(
22604
+ 1 && e !== (e = Ct(
22605
22605
  /*rulerItemProp*/
22606
22606
  i[0].state ? "em-solid" : "em-dotted"
22607
22607
  ) + " svelte-1h27ktp") && y(t, "class", e), s & /*vars*/
@@ -22622,7 +22622,7 @@ function Kf(n) {
22622
22622
  n[6].width}px`;
22623
22623
  return {
22624
22624
  c() {
22625
- t = W("div"), y(t, "class", e = Pt(
22625
+ t = W("div"), y(t, "class", e = Ct(
22626
22626
  /*child*/
22627
22627
  n[6].state ? "em-solid" : "em-dotted"
22628
22628
  ) + " svelte-1h27ktp"), y(
@@ -22637,7 +22637,7 @@ function Kf(n) {
22637
22637
  },
22638
22638
  p(s, o) {
22639
22639
  o & /*rulerItemProp*/
22640
- 1 && e !== (e = Pt(
22640
+ 1 && e !== (e = Ct(
22641
22641
  /*child*/
22642
22642
  s[6].state ? "em-solid" : "em-dotted"
22643
22643
  ) + " svelte-1h27ktp") && y(t, "class", e), o & /*vars*/
@@ -22675,7 +22675,7 @@ function n5(n) {
22675
22675
  let g = p(n), m = g(n);
22676
22676
  return {
22677
22677
  c() {
22678
- t = W("div"), m.c(), e = re(), i = W("div"), s = W("div"), r = Re(o), y(s, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), yt(() => (
22678
+ t = W("div"), m.c(), e = re(), i = W("div"), s = W("div"), r = Re(o), y(s, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), wt(() => (
22679
22679
  /*div0_elementresize_handler*/
22680
22680
  n[4].call(s)
22681
22681
  )), y(i, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), j(i, "left", l), y(t, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), j(t, "width", c), j(t, "left", h), j(t, "top", u), j(t, "transform", d), j(
@@ -23268,7 +23268,7 @@ class f5 extends cn {
23268
23268
  new w.Vector3(0.7, 0, 0.7),
23269
23269
  new w.Vector3(-0.7, 0, 0.7)
23270
23270
  ];
23271
- return Ol(this.five).create3DDomContainer(e);
23271
+ return jl(this.five).create3DDomContainer(e);
23272
23272
  }
23273
23273
  }
23274
23274
  const FT = (n, t) => new f5(n, t), g5 = 1, p5 = 3, m5 = new Zt(16777215), v5 = new Zt(6522623), A5 = new Zt(16777215), b5 = new Zt(6522623), y5 = 6, w5 = 8, P5 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMAG/Py2baba05un7UgfgAAAHJJREFUKM9joBpgLHVSCRdA4metAoJlCJHmVWBgAeNzroKCCVCBLpjACqgJVjCBxRBT2FbBQQJYQAohsBAsUIUQWA4WiEIILAULeCEEloAFtBACizAEMLRgGIphLabDMJ2O6TlM72MGECIIMQIZIxqoBQCPvpJ/e9FaAAAAAABJRU5ErkJggg==", Q1 = new Th().load(P5), C5 = {
@@ -23589,7 +23589,7 @@ let Wo = class Y1 {
23589
23589
  }
23590
23590
  };
23591
23591
  const za = (n) => n.preventDefault();
23592
- let Fl = class {
23592
+ let Nl = class {
23593
23593
  constructor(t) {
23594
23594
  f(this, "model");
23595
23595
  f(this, "five");
@@ -23761,17 +23761,17 @@ let Fl = class {
23761
23761
  this.id = t.id, this.clear(), this.lines.push(...t.lines);
23762
23762
  }
23763
23763
  };
23764
- var vl = {}, S5 = {
23764
+ var Al = {}, S5 = {
23765
23765
  get exports() {
23766
- return vl;
23766
+ return Al;
23767
23767
  },
23768
23768
  set exports(n) {
23769
- vl = n;
23769
+ Al = n;
23770
23770
  }
23771
23771
  };
23772
- S5.exports = Nl;
23773
- vl.default = Nl;
23774
- function Nl(n, t, e) {
23772
+ S5.exports = Gl;
23773
+ Al.default = Gl;
23774
+ function Gl(n, t, e) {
23775
23775
  e = e || 2;
23776
23776
  var i = t && t.length, s = i ? t[0] * e : n.length, o = q1(n, 0, s, e, !0), r = [];
23777
23777
  if (!o || o.next === o.prev)
@@ -23787,13 +23787,13 @@ function Nl(n, t, e) {
23787
23787
  }
23788
23788
  function q1(n, t, e, i, s) {
23789
23789
  var o, r;
23790
- if (s === ah(n, t, e, i) > 0)
23790
+ if (s === lh(n, t, e, i) > 0)
23791
23791
  for (o = t; o < e; o += i)
23792
23792
  r = ig(o, n[o], n[o + 1], r);
23793
23793
  else
23794
23794
  for (o = e - i; o >= t; o -= i)
23795
23795
  r = ig(o, n[o], n[o + 1], r);
23796
- return r && Gl(r, r.next) && (Xr(r), r = r.next), r;
23796
+ return r && Wl(r, r.next) && (Xr(r), r = r.next), r;
23797
23797
  }
23798
23798
  function Ws(n, t) {
23799
23799
  if (!n)
@@ -23801,7 +23801,7 @@ function Ws(n, t) {
23801
23801
  t || (t = n);
23802
23802
  var e = n, i;
23803
23803
  do
23804
- if (i = !1, !e.steiner && (Gl(e, e.next) || At(e.prev, e, e.next) === 0)) {
23804
+ if (i = !1, !e.steiner && (Wl(e, e.next) || bt(e.prev, e, e.next) === 0)) {
23805
23805
  if (Xr(e), e = t = e.prev, e === e.next)
23806
23806
  break;
23807
23807
  i = !0;
@@ -23827,10 +23827,10 @@ function Ur(n, t, e, i, s, o, r) {
23827
23827
  }
23828
23828
  function D5(n) {
23829
23829
  var t = n.prev, e = n, i = n.next;
23830
- if (At(t, e, i) >= 0)
23830
+ if (bt(t, e, i) >= 0)
23831
23831
  return !1;
23832
23832
  for (var s = t.x, o = e.x, r = i.x, a = t.y, l = e.y, c = i.y, h = s < o ? s < r ? s : r : o < r ? o : r, u = a < l ? a < c ? a : c : l < c ? l : c, d = s > o ? s > r ? s : r : o > r ? o : r, p = a > l ? a > c ? a : c : l > c ? l : c, g = i.next; g !== t; ) {
23833
- if (g.x >= h && g.x <= d && g.y >= u && g.y <= p && bo(s, a, o, l, r, c, g.x, g.y) && At(g.prev, g, g.next) >= 0)
23833
+ if (g.x >= h && g.x <= d && g.y >= u && g.y <= p && bo(s, a, o, l, r, c, g.x, g.y) && bt(g.prev, g, g.next) >= 0)
23834
23834
  return !1;
23835
23835
  g = g.next;
23836
23836
  }
@@ -23838,20 +23838,20 @@ function D5(n) {
23838
23838
  }
23839
23839
  function T5(n, t, e, i) {
23840
23840
  var s = n.prev, o = n, r = n.next;
23841
- if (At(s, o, r) >= 0)
23841
+ if (bt(s, o, r) >= 0)
23842
23842
  return !1;
23843
- for (var a = s.x, l = o.x, c = r.x, h = s.y, u = o.y, d = r.y, p = a < l ? a < c ? a : c : l < c ? l : c, g = h < u ? h < d ? h : d : u < d ? u : d, m = a > l ? a > c ? a : c : l > c ? l : c, v = h > u ? h > d ? h : d : u > d ? u : d, b = oh(p, g, t, e, i), P = oh(m, v, t, e, i), E = n.prevZ, M = n.nextZ; E && E.z >= b && M && M.z <= P; ) {
23844
- if (E.x >= p && E.x <= m && E.y >= g && E.y <= v && E !== s && E !== r && bo(a, h, l, u, c, d, E.x, E.y) && At(E.prev, E, E.next) >= 0 || (E = E.prevZ, M.x >= p && M.x <= m && M.y >= g && M.y <= v && M !== s && M !== r && bo(a, h, l, u, c, d, M.x, M.y) && At(M.prev, M, M.next) >= 0))
23843
+ for (var a = s.x, l = o.x, c = r.x, h = s.y, u = o.y, d = r.y, p = a < l ? a < c ? a : c : l < c ? l : c, g = h < u ? h < d ? h : d : u < d ? u : d, m = a > l ? a > c ? a : c : l > c ? l : c, v = h > u ? h > d ? h : d : u > d ? u : d, b = rh(p, g, t, e, i), P = rh(m, v, t, e, i), E = n.prevZ, M = n.nextZ; E && E.z >= b && M && M.z <= P; ) {
23844
+ if (E.x >= p && E.x <= m && E.y >= g && E.y <= v && E !== s && E !== r && bo(a, h, l, u, c, d, E.x, E.y) && bt(E.prev, E, E.next) >= 0 || (E = E.prevZ, M.x >= p && M.x <= m && M.y >= g && M.y <= v && M !== s && M !== r && bo(a, h, l, u, c, d, M.x, M.y) && bt(M.prev, M, M.next) >= 0))
23845
23845
  return !1;
23846
23846
  M = M.nextZ;
23847
23847
  }
23848
23848
  for (; E && E.z >= b; ) {
23849
- if (E.x >= p && E.x <= m && E.y >= g && E.y <= v && E !== s && E !== r && bo(a, h, l, u, c, d, E.x, E.y) && At(E.prev, E, E.next) >= 0)
23849
+ if (E.x >= p && E.x <= m && E.y >= g && E.y <= v && E !== s && E !== r && bo(a, h, l, u, c, d, E.x, E.y) && bt(E.prev, E, E.next) >= 0)
23850
23850
  return !1;
23851
23851
  E = E.prevZ;
23852
23852
  }
23853
23853
  for (; M && M.z <= P; ) {
23854
- if (M.x >= p && M.x <= m && M.y >= g && M.y <= v && M !== s && M !== r && bo(a, h, l, u, c, d, M.x, M.y) && At(M.prev, M, M.next) >= 0)
23854
+ if (M.x >= p && M.x <= m && M.y >= g && M.y <= v && M !== s && M !== r && bo(a, h, l, u, c, d, M.x, M.y) && bt(M.prev, M, M.next) >= 0)
23855
23855
  return !1;
23856
23856
  M = M.nextZ;
23857
23857
  }
@@ -23861,7 +23861,7 @@ function L5(n, t, e) {
23861
23861
  var i = n;
23862
23862
  do {
23863
23863
  var s = i.prev, o = i.next.next;
23864
- !Gl(s, o) && J1(s, i, i.next, o) && Qr(s, o) && Qr(o, s) && (t.push(s.i / e | 0), t.push(i.i / e | 0), t.push(o.i / e | 0), Xr(i), Xr(i.next), i = n = o), i = i.next;
23864
+ !Wl(s, o) && J1(s, i, i.next, o) && Qr(s, o) && Qr(o, s) && (t.push(s.i / e | 0), t.push(i.i / e | 0), t.push(o.i / e | 0), Xr(i), Xr(i.next), i = n = o), i = i.next;
23865
23865
  } while (i !== n);
23866
23866
  return Ws(i);
23867
23867
  }
@@ -23917,12 +23917,12 @@ function _5(n, t) {
23917
23917
  return r;
23918
23918
  }
23919
23919
  function B5(n, t) {
23920
- return At(n.prev, n, t.prev) < 0 && At(t.next, n, n.next) < 0;
23920
+ return bt(n.prev, n, t.prev) < 0 && bt(t.next, n, n.next) < 0;
23921
23921
  }
23922
23922
  function V5(n, t, e, i) {
23923
23923
  var s = n;
23924
23924
  do
23925
- s.z === 0 && (s.z = oh(s.x, s.y, t, e, i)), s.prevZ = s.prev, s.nextZ = s.next, s = s.next;
23925
+ s.z === 0 && (s.z = rh(s.x, s.y, t, e, i)), s.prevZ = s.prev, s.nextZ = s.next, s = s.next;
23926
23926
  while (s !== n);
23927
23927
  s.prevZ.nextZ = null, s.prevZ = null, H5(s);
23928
23928
  }
@@ -23940,7 +23940,7 @@ function H5(n) {
23940
23940
  } while (r > 1);
23941
23941
  return n;
23942
23942
  }
23943
- function oh(n, t, e, i, s) {
23943
+ function rh(n, t, e, i, s) {
23944
23944
  return n = (n - e) * s | 0, t = (t - i) * s | 0, n = (n | n << 8) & 16711935, n = (n | n << 4) & 252645135, n = (n | n << 2) & 858993459, n = (n | n << 1) & 1431655765, t = (t | t << 8) & 16711935, t = (t | t << 4) & 252645135, t = (t | t << 2) & 858993459, t = (t | t << 1) & 1431655765, n | t << 1;
23945
23945
  }
23946
23946
  function F5(n) {
@@ -23956,17 +23956,17 @@ function bo(n, t, e, i, s, o, r, a) {
23956
23956
  function N5(n, t) {
23957
23957
  return n.next.i !== t.i && n.prev.i !== t.i && !G5(n, t) && // dones't intersect other edges
23958
23958
  (Qr(n, t) && Qr(t, n) && W5(n, t) && // locally visible
23959
- (At(n.prev, n, t.prev) || At(n, t.prev, t)) || // does not create opposite-facing sectors
23960
- Gl(n, t) && At(n.prev, n, n.next) > 0 && At(t.prev, t, t.next) > 0);
23959
+ (bt(n.prev, n, t.prev) || bt(n, t.prev, t)) || // does not create opposite-facing sectors
23960
+ Wl(n, t) && bt(n.prev, n, n.next) > 0 && bt(t.prev, t, t.next) > 0);
23961
23961
  }
23962
- function At(n, t, e) {
23962
+ function bt(n, t, e) {
23963
23963
  return (t.y - n.y) * (e.x - t.x) - (t.x - n.x) * (e.y - t.y);
23964
23964
  }
23965
- function Gl(n, t) {
23965
+ function Wl(n, t) {
23966
23966
  return n.x === t.x && n.y === t.y;
23967
23967
  }
23968
23968
  function J1(n, t, e, i) {
23969
- var s = ja(At(n, t, e)), o = ja(At(n, t, i)), r = ja(At(e, i, n)), a = ja(At(e, i, t));
23969
+ var s = ja(bt(n, t, e)), o = ja(bt(n, t, i)), r = ja(bt(e, i, n)), a = ja(bt(e, i, t));
23970
23970
  return !!(s !== o && r !== a || s === 0 && Oa(n, e, t) || o === 0 && Oa(n, i, t) || r === 0 && Oa(e, n, i) || a === 0 && Oa(e, t, i));
23971
23971
  }
23972
23972
  function Oa(n, t, e) {
@@ -23985,7 +23985,7 @@ function G5(n, t) {
23985
23985
  return !1;
23986
23986
  }
23987
23987
  function Qr(n, t) {
23988
- return At(n.prev, n, n.next) < 0 ? At(n, t, n.next) >= 0 && At(n, n.prev, t) >= 0 : At(n, t, n.prev) < 0 || At(n, n.next, t) < 0;
23988
+ return bt(n.prev, n, n.next) < 0 ? bt(n, t, n.next) >= 0 && bt(n, n.prev, t) >= 0 : bt(n, t, n.prev) < 0 || bt(n, n.next, t) < 0;
23989
23989
  }
23990
23990
  function W5(n, t) {
23991
23991
  var e = n, i = !1, s = (n.x + t.x) / 2, o = (n.y + t.y) / 2;
@@ -23995,25 +23995,25 @@ function W5(n, t) {
23995
23995
  return i;
23996
23996
  }
23997
23997
  function K1(n, t) {
23998
- var e = new rh(n.i, n.x, n.y), i = new rh(t.i, t.x, t.y), s = n.next, o = t.prev;
23998
+ var e = new ah(n.i, n.x, n.y), i = new ah(t.i, t.x, t.y), s = n.next, o = t.prev;
23999
23999
  return n.next = t, t.prev = n, e.next = s, s.prev = e, i.next = e, e.prev = i, o.next = i, i.prev = o, i;
24000
24000
  }
24001
24001
  function ig(n, t, e, i) {
24002
- var s = new rh(n, t, e);
24002
+ var s = new ah(n, t, e);
24003
24003
  return i ? (s.next = i.next, s.prev = i, i.next.prev = s, i.next = s) : (s.prev = s, s.next = s), s;
24004
24004
  }
24005
24005
  function Xr(n) {
24006
24006
  n.next.prev = n.prev, n.prev.next = n.next, n.prevZ && (n.prevZ.nextZ = n.nextZ), n.nextZ && (n.nextZ.prevZ = n.prevZ);
24007
24007
  }
24008
- function rh(n, t, e) {
24008
+ function ah(n, t, e) {
24009
24009
  this.i = n, this.x = t, this.y = e, this.prev = null, this.next = null, this.z = 0, this.prevZ = null, this.nextZ = null, this.steiner = !1;
24010
24010
  }
24011
- Nl.deviation = function(n, t, e, i) {
24012
- var s = t && t.length, o = s ? t[0] * e : n.length, r = Math.abs(ah(n, 0, o, e));
24011
+ Gl.deviation = function(n, t, e, i) {
24012
+ var s = t && t.length, o = s ? t[0] * e : n.length, r = Math.abs(lh(n, 0, o, e));
24013
24013
  if (s)
24014
24014
  for (var a = 0, l = t.length; a < l; a++) {
24015
24015
  var c = t[a] * e, h = a < l - 1 ? t[a + 1] * e : n.length;
24016
- r -= Math.abs(ah(n, c, h, e));
24016
+ r -= Math.abs(lh(n, c, h, e));
24017
24017
  }
24018
24018
  var u = 0;
24019
24019
  for (a = 0; a < i.length; a += 3) {
@@ -24024,12 +24024,12 @@ Nl.deviation = function(n, t, e, i) {
24024
24024
  }
24025
24025
  return r === 0 && u === 0 ? 0 : Math.abs((u - r) / r);
24026
24026
  };
24027
- function ah(n, t, e, i) {
24027
+ function lh(n, t, e, i) {
24028
24028
  for (var s = 0, o = t, r = e - i; o < e; o += i)
24029
24029
  s += (n[r] - n[o]) * (n[o + 1] + n[r + 1]), r = o;
24030
24030
  return s;
24031
24031
  }
24032
- Nl.flatten = function(n) {
24032
+ Gl.flatten = function(n) {
24033
24033
  for (var t = n[0][0].length, e = { vertices: [], holes: [], dimensions: t }, i = 0, s = 0; s < n.length; s++) {
24034
24034
  for (var o = 0; o < n[s].length; o++)
24035
24035
  for (var r = 0; r < t; r++)
@@ -24050,9 +24050,9 @@ function $1(n) {
24050
24050
  if (n.length < 3)
24051
24051
  return [];
24052
24052
  const t = As(n), e = new w.Quaternion().setFromUnitVectors(t, new w.Vector3(0, 1, 0)), s = n.map((r) => r.clone().applyQuaternion(e)).flatMap((r) => [r.x, r.z]);
24053
- return vl(s);
24053
+ return Al(s);
24054
24054
  }
24055
- function lh(n, t) {
24055
+ function ch(n, t) {
24056
24056
  const e = Array.isArray(t) ? t : [t];
24057
24057
  for (let i = 0; i < e.length; i++) {
24058
24058
  const s = n.start, o = n.end, r = e[i].start, a = e[i].end;
@@ -24104,7 +24104,7 @@ function ev(n, t) {
24104
24104
  if (e.at(-1).equals(e[0]) || e.push(e[0]), t != null && t.checkLinesIntersect && e.length >= 5) {
24105
24105
  const a = e.map((l, c) => c === 0 ? null : { start: e[c - 1], end: e[c] }).filter(Boolean);
24106
24106
  for (let l = 0; l < a.length; l++)
24107
- if (lh(a[l], a.slice(l)))
24107
+ if (ch(a[l], a.slice(l)))
24108
24108
  return;
24109
24109
  }
24110
24110
  const i = e.flatMap((a) => [a.x, a.y, a.z]), s = new w.Float32BufferAttribute(i, 3), o = $1(e), r = new w.BufferGeometry();
@@ -24205,7 +24205,7 @@ class K5 extends X1 {
24205
24205
  this.contentDom.innerText = `${pi(o) ? e : e.toFixed(o)}${s}`;
24206
24206
  }
24207
24207
  }
24208
- class ch {
24208
+ class hh {
24209
24209
  constructor(t, e) {
24210
24210
  f(this, "id", Ot());
24211
24211
  f(this, "selected", !1);
@@ -24395,7 +24395,7 @@ function t4(n, t) {
24395
24395
  return n.x === t.x && n.y === t.y;
24396
24396
  }
24397
24397
  const og = () => !1;
24398
- class ts extends Fl {
24398
+ class ts extends Nl {
24399
24399
  constructor(e) {
24400
24400
  super(e);
24401
24401
  f(this, "type", "edit");
@@ -24549,7 +24549,7 @@ class ts extends Fl {
24549
24549
  this.perpendicularDashed.setPoints(h, u), this.perpendicularDashed.show();
24550
24550
  } else
24551
24551
  this.perpendicularDashed.hide();
24552
- const r = this.area.polyline.lines.map((h) => ({ start: h.points[0].position, end: h.points[1].position })), a = lh({ start: e, end: i }, r), l = lh({ start: i, end: this.area.points[0] }, r);
24552
+ const r = this.area.polyline.lines.map((h) => ({ start: h.points[0].position, end: h.points[1].position })), a = ch({ start: e, end: i }, r), l = ch({ start: i, end: this.area.points[0] }, r);
24553
24553
  if (a || l)
24554
24554
  this.area.hideArea(), this.hook.emit("allowAddPointStateChange", "forbid");
24555
24555
  else {
@@ -24624,10 +24624,10 @@ class ts extends Fl {
24624
24624
  const s = i.type === "area", o = Array.isArray(i) && ((r = i[0]) == null ? void 0 : r.type) === "line";
24625
24625
  s && this.unHighlightArea(i), o && this.unHighlightLines(i);
24626
24626
  }
24627
- }).appendTo(this.container), this.pointSelector = new xl(this.five, ce(H({}, this.pointSelectorConfig), {
24627
+ }).appendTo(this.container), this.pointSelector = new Sl(this.five, ce(H({}, this.pointSelectorConfig), {
24628
24628
  mode: this.editParams.pointSelectorMode,
24629
24629
  helper: H({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
24630
- })), this.pointSelector.enable(), this.polyline = new Uo({ model: this.model }), this.area = new ch(void 0, {
24630
+ })), this.pointSelector.enable(), this.polyline = new Uo({ model: this.model }), this.area = new hh(void 0, {
24631
24631
  five: this.five,
24632
24632
  model: this.model,
24633
24633
  meshContainer: this.group,
@@ -24652,7 +24652,7 @@ class ts extends Fl {
24652
24652
  this.onSelect();
24653
24653
  }
24654
24654
  complete() {
24655
- this.hook.emit("complete"), this.currentMeasureType === "area" ? (this.area.points.length < 3 ? this.deleteArea(this.area) : (this.area.showArea(), this.area.complete(), this.area.hook.on("selected", this.chooseArea)), this.area = new ch(void 0, { five: this.five, model: this.model, meshContainer: this.group, domContainer: this.container }), this.model.addArea(this.area)) : this.currentMeasureType === "line" && (this.polyline.lines.forEach((e) => {
24655
+ this.hook.emit("complete"), this.currentMeasureType === "area" ? (this.area.points.length < 3 ? this.deleteArea(this.area) : (this.area.showArea(), this.area.complete(), this.area.hook.on("selected", this.chooseArea)), this.area = new hh(void 0, { five: this.five, model: this.model, meshContainer: this.group, domContainer: this.container }), this.model.addArea(this.area)) : this.currentMeasureType === "line" && (this.polyline.lines.forEach((e) => {
24656
24656
  e.hook.on("selected", this.chooseLine), e.distanceItem.setCanSelect(!0);
24657
24657
  }), this.polyline = new Uo({ model: this.model }), this.model.addPolyline(this.polyline)), this.pointSelector.setAdherePoints(null), this.dashed.hide(), this.perpendicularDashed.hide(), this.lastPoint = void 0;
24658
24658
  }
@@ -24674,7 +24674,7 @@ class ts extends Fl {
24674
24674
  this.unHighlightLines(this.model.getAllLines()), !e.selected && (e.selected = !0, this.group.add(e.lightMesh), e.distanceItem.highlight(), this.five.needsRender = !0);
24675
24675
  }
24676
24676
  }
24677
- class rg extends Fl {
24677
+ class rg extends Nl {
24678
24678
  constructor(e) {
24679
24679
  super(e);
24680
24680
  f(this, "type", "view");
@@ -24756,7 +24756,7 @@ function ag(n) {
24756
24756
  return { point: r, ndcPoint: a };
24757
24757
  }
24758
24758
  const lg = () => !1;
24759
- class cg extends Fl {
24759
+ class cg extends Nl {
24760
24760
  constructor(e) {
24761
24761
  super(e);
24762
24762
  f(this, "type", "watch");
@@ -24882,7 +24882,7 @@ class cg extends Fl {
24882
24882
  this.deleteDom = new xu(this.five, {
24883
24883
  i18n: this.config.i18n,
24884
24884
  onClick: () => {
24885
- this.choose === "line" ? this.deleteLine() : this.choose instanceof ch && this.deleteArea(this.choose);
24885
+ this.choose === "line" ? this.deleteLine() : this.choose instanceof hh && this.deleteArea(this.choose);
24886
24886
  },
24887
24887
  cancel: this.cancelDeleteClickCallback
24888
24888
  }).appendTo(this.container), this.model.getAllLines().forEach((s) => {
@@ -25032,14 +25032,14 @@ function ov(n) {
25032
25032
  let i = 10349931;
25033
25033
  e && n.ballColor >= 0 && (i = n.ballColor);
25034
25034
  const s = new En(), o = new tb(0.3, 0.3), r = t ? o4 : r4, a = new Th().load(r);
25035
- a.encoding = wr, a.minFilter = Gc;
25035
+ a.encoding = wr, a.minFilter = Wc;
25036
25036
  const l = new jr({
25037
25037
  map: a,
25038
25038
  transparent: !0,
25039
25039
  depthTest: !1
25040
25040
  }), c = new Mo(o, l), h = new ib();
25041
25041
  h.add(new nb(new Ae(0, 0, 0), new Ae(0, 0, 0.1)));
25042
- const u = new sb(h, 8, 3e-3), d = new El({
25042
+ const u = new sb(h, 8, 3e-3), d = new Ml({
25043
25043
  vertexShader: a4,
25044
25044
  fragmentShader: l4,
25045
25045
  depthTest: !1,
@@ -25162,7 +25162,7 @@ class c4 {
25162
25162
  return this.mouseGroup;
25163
25163
  }
25164
25164
  }
25165
- class vr extends Fl {
25165
+ class vr extends Nl {
25166
25166
  constructor(e) {
25167
25167
  super(e);
25168
25168
  f(this, "state", "watching");
@@ -25275,7 +25275,7 @@ class vr extends Fl {
25275
25275
  this.clearHighlightLines(), this.highlightedLines = e, this.deleteDom.setLines(e).updatePosition().show(), e.forEach((i) => this.highlightLine(i));
25276
25276
  }
25277
25277
  }
25278
- const Al = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTUuMyUiIHk9Ii01LjMlIiB3aWR0aD0iMTEwLjUlIiBoZWlnaHQ9IjExMC41JSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0icHJlZml4X19hIj48ZmVPZmZzZXQgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjEiIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIvPjxmZUNvbXBvc2l0ZSBpbj0ic2hhZG93Qmx1ck91dGVyMSIgaW4yPSJTb3VyY2VBbHBoYSIgb3BlcmF0b3I9Im91dCIgcmVzdWx0PSJzaGFkb3dCbHVyT3V0ZXIxIi8+PGZlQ29sb3JNYXRyaXggdmFsdWVzPSIwIDAgMCAwIDEgMCAwIDAgMCAxIDAgMCAwIDAgMSAwIDAgMCAwLjUgMCIgaW49InNoYWRvd0JsdXJPdXRlcjEiLz48L2ZpbHRlcj48ZmlsdGVyIHg9Ii0xMS40JSIgeT0iLTExLjQlIiB3aWR0aD0iMTIyLjklIiBoZWlnaHQ9IjEyMi45JSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0icHJlZml4X19jIj48ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPSI0LjUiIGluPSJTb3VyY2VBbHBoYSIgcmVzdWx0PSJzaGFkb3dCbHVySW5uZXIxIi8+PGZlT2Zmc2V0IGluPSJzaGFkb3dCbHVySW5uZXIxIiByZXN1bHQ9InNoYWRvd09mZnNldElubmVyMSIvPjxmZUNvbXBvc2l0ZSBpbj0ic2hhZG93T2Zmc2V0SW5uZXIxIiBpbjI9IlNvdXJjZUFscGhhIiBvcGVyYXRvcj0iYXJpdGhtZXRpYyIgazI9Ii0xIiBrMz0iMSIgcmVzdWx0PSJzaGFkb3dJbm5lcklubmVyMSIvPjxmZUNvbG9yTWF0cml4IHZhbHVlcz0iMCAwIDAgMCAxIDAgMCAwIDAgMSAwIDAgMCAwIDEgMCAwIDAgMC4zIDAiIGluPSJzaGFkb3dJbm5lcklubmVyMSIvPjwvZmlsdGVyPjxmaWx0ZXIgeD0iLTEyNi42JSIgeT0iLTMzNy41JSIgd2lkdGg9IjM1My4xJSIgaGVpZ2h0PSI3NzUlIiBmaWx0ZXJVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIGlkPSJwcmVmaXhfX2UiPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjE2IiBpbj0iU291cmNlR3JhcGhpYyIvPjwvZmlsdGVyPjxsaW5lYXJHcmFkaWVudCB4MT0iNTAlIiB5MT0iMTAwJSIgeDI9IjUwJSIgeTI9IjAlIiBpZD0icHJlZml4X19kIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBzdG9wLW9wYWNpdHk9Ii43IiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGRiIgc3RvcC1vcGFjaXR5PSIwIiBvZmZzZXQ9IjI2LjQzMiUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBzdG9wLW9wYWNpdHk9IjAiIG9mZnNldD0iODIuMzA1JSIvPjxzdG9wIHN0b3AtY29sb3I9IiNGRkYiIHN0b3Atb3BhY2l0eT0iLjQiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9IjEwMCUiIGlkPSJwcmVmaXhfX2YiPjxzdG9wIHN0b3AtY29sb3I9IiNGRkYiIHN0b3Atb3BhY2l0eT0iLjA1IiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGRiIgc3RvcC1vcGFjaXR5PSIuMiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48Y2lyY2xlIGlkPSJwcmVmaXhfX2IiIGN4PSIzNiIgY3k9IjM2IiByPSIyOC40NDQiLz48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48dXNlIGZpbGw9IiMwMDAiIGZpbHRlcj0idXJsKCNwcmVmaXhfX2EpIiB4bGluazpocmVmPSIjcHJlZml4X19iIi8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjcHJlZml4X19jKSIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjxjaXJjbGUgc3Ryb2tlPSJ1cmwoI3ByZWZpeF9fZCkiIHN0cm9rZS13aWR0aD0iLjQiIGZpbGwtb3BhY2l0eT0iLjI0MSIgZmlsbD0iI0ZGRiIgc3Ryb2tlLWxpbmVqb2luPSJzcXVhcmUiIGN4PSIzNiIgY3k9IjM2IiByPSIyOC4yNDQiLz48ZWxsaXBzZSBmaWxsPSIjRkZGIiBvcGFjaXR5PSIuNTk2IiBmaWx0ZXI9InVybCgjcHJlZml4X19lKSIgY3g9IjM2IiBjeT0iMzYiIHJ4PSIxOC45NjMiIHJ5PSI3LjExMSIvPjxwYXRoIGQ9Ik0zNiAwQzE2LjExOCAwIDAgMTYuMTE4IDAgMzZzMTYuMTE4IDM2IDM2IDM2IDM2LTE2LjExOCAzNi0zNlM1NS44ODIgMCAzNiAwem0wIDQuNDQ0YzE3LjQyOCAwIDMxLjU1NiAxNC4xMjggMzEuNTU2IDMxLjU1NlM1My40MjggNjcuNTU2IDM2IDY3LjU1NiA0LjQ0NCA1My40MjggNC40NDQgMzYgMTguNTcyIDQuNDQ0IDM2IDQuNDQ0eiIgZmlsbD0idXJsKCNwcmVmaXhfX2YpIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+", Du = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxNS41MSUiIHkxPSIxMi40OTclIiB4Mj0iODUuMjY1JSIgeTI9Ijg2LjE0MyUiIGlkPSJwcmVmaXhfX2IiPjxzdG9wIHN0b3AtY29sb3I9IiM5NUFFRkYiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjNjM4NkZGIiBvZmZzZXQ9IjEwMCUiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCB4MT0iNTAlIiB5MT0iMTAwJSIgeDI9IjUwJSIgeTI9IjAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjOTlBRUZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGRiIgc3RvcC1vcGFjaXR5PSIwIiBvZmZzZXQ9IjI2LjQzMiUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBzdG9wLW9wYWNpdHk9IjAiIG9mZnNldD0iODIuMzA1JSIvPjxzdG9wIHN0b3AtY29sb3I9IiM5OUFFRkYiIHN0b3Atb3BhY2l0eT0iLjQiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9IjEwMCUiIGlkPSJwcmVmaXhfX2QiPjxzdG9wIHN0b3AtY29sb3I9IiM4Nzk3RDIiIHN0b3Atb3BhY2l0eT0iLjA1IiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzYyNzdDNyIgc3RvcC1vcGFjaXR5PSIuMiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48ZmlsdGVyIHg9Ii02My4zJSIgeT0iLTE2OC44JSIgd2lkdGg9IjIyNi42JSIgaGVpZ2h0PSI0MzcuNSUiIGZpbHRlclVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgaWQ9InByZWZpeF9fYyI+PGZlR2F1c3NpYW5CbHVyIHN0ZERldmlhdGlvbj0iOCIgaW49IlNvdXJjZUdyYXBoaWMiLz48L2ZpbHRlcj48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIHN0cm9rZT0idXJsKCNwcmVmaXhfX2EpIiBzdHJva2Utd2lkdGg9Ii40IiBmaWxsPSJ1cmwoI3ByZWZpeF9fYikiIG9wYWNpdHk9Ii43IiBjeD0iMzYiIGN5PSIzNiIgcj0iMjguMjQ0Ii8+PGVsbGlwc2UgZmlsbD0iIzdDOTBEQSIgb3BhY2l0eT0iLjU5NiIgZmlsdGVyPSJ1cmwoI3ByZWZpeF9fYykiIGN4PSIzNiIgY3k9IjM2IiByeD0iMTguOTYzIiByeT0iNy4xMTEiLz48cGF0aCBkPSJNMzYgMEMxNi4xMTggMCAwIDE2LjExOCAwIDM2czE2LjExOCAzNiAzNiAzNiAzNi0xNi4xMTggMzYtMzZTNTUuODgyIDAgMzYgMHptMCA0LjQ0NGMxNy40MjggMCAzMS41NTYgMTQuMTI4IDMxLjU1NiAzMS41NTZTNTMuNDI4IDY3LjU1NiAzNiA2Ny41NTYgNC40NDQgNTMuNDI4IDQuNDQ0IDM2IDE4LjU3MiA0LjQ0NCAzNiA0LjQ0NHoiIGZpbGw9InVybCgjcHJlZml4X19kKSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg==", h4 = `
25278
+ const bl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTUuMyUiIHk9Ii01LjMlIiB3aWR0aD0iMTEwLjUlIiBoZWlnaHQ9IjExMC41JSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0icHJlZml4X19hIj48ZmVPZmZzZXQgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjEiIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIvPjxmZUNvbXBvc2l0ZSBpbj0ic2hhZG93Qmx1ck91dGVyMSIgaW4yPSJTb3VyY2VBbHBoYSIgb3BlcmF0b3I9Im91dCIgcmVzdWx0PSJzaGFkb3dCbHVyT3V0ZXIxIi8+PGZlQ29sb3JNYXRyaXggdmFsdWVzPSIwIDAgMCAwIDEgMCAwIDAgMCAxIDAgMCAwIDAgMSAwIDAgMCAwLjUgMCIgaW49InNoYWRvd0JsdXJPdXRlcjEiLz48L2ZpbHRlcj48ZmlsdGVyIHg9Ii0xMS40JSIgeT0iLTExLjQlIiB3aWR0aD0iMTIyLjklIiBoZWlnaHQ9IjEyMi45JSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0icHJlZml4X19jIj48ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPSI0LjUiIGluPSJTb3VyY2VBbHBoYSIgcmVzdWx0PSJzaGFkb3dCbHVySW5uZXIxIi8+PGZlT2Zmc2V0IGluPSJzaGFkb3dCbHVySW5uZXIxIiByZXN1bHQ9InNoYWRvd09mZnNldElubmVyMSIvPjxmZUNvbXBvc2l0ZSBpbj0ic2hhZG93T2Zmc2V0SW5uZXIxIiBpbjI9IlNvdXJjZUFscGhhIiBvcGVyYXRvcj0iYXJpdGhtZXRpYyIgazI9Ii0xIiBrMz0iMSIgcmVzdWx0PSJzaGFkb3dJbm5lcklubmVyMSIvPjxmZUNvbG9yTWF0cml4IHZhbHVlcz0iMCAwIDAgMCAxIDAgMCAwIDAgMSAwIDAgMCAwIDEgMCAwIDAgMC4zIDAiIGluPSJzaGFkb3dJbm5lcklubmVyMSIvPjwvZmlsdGVyPjxmaWx0ZXIgeD0iLTEyNi42JSIgeT0iLTMzNy41JSIgd2lkdGg9IjM1My4xJSIgaGVpZ2h0PSI3NzUlIiBmaWx0ZXJVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIGlkPSJwcmVmaXhfX2UiPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjE2IiBpbj0iU291cmNlR3JhcGhpYyIvPjwvZmlsdGVyPjxsaW5lYXJHcmFkaWVudCB4MT0iNTAlIiB5MT0iMTAwJSIgeDI9IjUwJSIgeTI9IjAlIiBpZD0icHJlZml4X19kIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBzdG9wLW9wYWNpdHk9Ii43IiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGRiIgc3RvcC1vcGFjaXR5PSIwIiBvZmZzZXQ9IjI2LjQzMiUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBzdG9wLW9wYWNpdHk9IjAiIG9mZnNldD0iODIuMzA1JSIvPjxzdG9wIHN0b3AtY29sb3I9IiNGRkYiIHN0b3Atb3BhY2l0eT0iLjQiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9IjEwMCUiIGlkPSJwcmVmaXhfX2YiPjxzdG9wIHN0b3AtY29sb3I9IiNGRkYiIHN0b3Atb3BhY2l0eT0iLjA1IiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGRiIgc3RvcC1vcGFjaXR5PSIuMiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48Y2lyY2xlIGlkPSJwcmVmaXhfX2IiIGN4PSIzNiIgY3k9IjM2IiByPSIyOC40NDQiLz48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48dXNlIGZpbGw9IiMwMDAiIGZpbHRlcj0idXJsKCNwcmVmaXhfX2EpIiB4bGluazpocmVmPSIjcHJlZml4X19iIi8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjcHJlZml4X19jKSIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjxjaXJjbGUgc3Ryb2tlPSJ1cmwoI3ByZWZpeF9fZCkiIHN0cm9rZS13aWR0aD0iLjQiIGZpbGwtb3BhY2l0eT0iLjI0MSIgZmlsbD0iI0ZGRiIgc3Ryb2tlLWxpbmVqb2luPSJzcXVhcmUiIGN4PSIzNiIgY3k9IjM2IiByPSIyOC4yNDQiLz48ZWxsaXBzZSBmaWxsPSIjRkZGIiBvcGFjaXR5PSIuNTk2IiBmaWx0ZXI9InVybCgjcHJlZml4X19lKSIgY3g9IjM2IiBjeT0iMzYiIHJ4PSIxOC45NjMiIHJ5PSI3LjExMSIvPjxwYXRoIGQ9Ik0zNiAwQzE2LjExOCAwIDAgMTYuMTE4IDAgMzZzMTYuMTE4IDM2IDM2IDM2IDM2LTE2LjExOCAzNi0zNlM1NS44ODIgMCAzNiAwem0wIDQuNDQ0YzE3LjQyOCAwIDMxLjU1NiAxNC4xMjggMzEuNTU2IDMxLjU1NlM1My40MjggNjcuNTU2IDM2IDY3LjU1NiA0LjQ0NCA1My40MjggNC40NDQgMzYgMTguNTcyIDQuNDQ0IDM2IDQuNDQ0eiIgZmlsbD0idXJsKCNwcmVmaXhfX2YpIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+", Du = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxNS41MSUiIHkxPSIxMi40OTclIiB4Mj0iODUuMjY1JSIgeTI9Ijg2LjE0MyUiIGlkPSJwcmVmaXhfX2IiPjxzdG9wIHN0b3AtY29sb3I9IiM5NUFFRkYiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjNjM4NkZGIiBvZmZzZXQ9IjEwMCUiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCB4MT0iNTAlIiB5MT0iMTAwJSIgeDI9IjUwJSIgeTI9IjAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjOTlBRUZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0ZGRiIgc3RvcC1vcGFjaXR5PSIwIiBvZmZzZXQ9IjI2LjQzMiUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBzdG9wLW9wYWNpdHk9IjAiIG9mZnNldD0iODIuMzA1JSIvPjxzdG9wIHN0b3AtY29sb3I9IiM5OUFFRkYiIHN0b3Atb3BhY2l0eT0iLjQiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9IjEwMCUiIGlkPSJwcmVmaXhfX2QiPjxzdG9wIHN0b3AtY29sb3I9IiM4Nzk3RDIiIHN0b3Atb3BhY2l0eT0iLjA1IiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzYyNzdDNyIgc3RvcC1vcGFjaXR5PSIuMiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48ZmlsdGVyIHg9Ii02My4zJSIgeT0iLTE2OC44JSIgd2lkdGg9IjIyNi42JSIgaGVpZ2h0PSI0MzcuNSUiIGZpbHRlclVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgaWQ9InByZWZpeF9fYyI+PGZlR2F1c3NpYW5CbHVyIHN0ZERldmlhdGlvbj0iOCIgaW49IlNvdXJjZUdyYXBoaWMiLz48L2ZpbHRlcj48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIHN0cm9rZT0idXJsKCNwcmVmaXhfX2EpIiBzdHJva2Utd2lkdGg9Ii40IiBmaWxsPSJ1cmwoI3ByZWZpeF9fYikiIG9wYWNpdHk9Ii43IiBjeD0iMzYiIGN5PSIzNiIgcj0iMjguMjQ0Ii8+PGVsbGlwc2UgZmlsbD0iIzdDOTBEQSIgb3BhY2l0eT0iLjU5NiIgZmlsdGVyPSJ1cmwoI3ByZWZpeF9fYykiIGN4PSIzNiIgY3k9IjM2IiByeD0iMTguOTYzIiByeT0iNy4xMTEiLz48cGF0aCBkPSJNMzYgMEMxNi4xMTggMCAwIDE2LjExOCAwIDM2czE2LjExOCAzNiAzNiAzNiAzNi0xNi4xMTggMzYtMzZTNTUuODgyIDAgMzYgMHptMCA0LjQ0NGMxNy40MjggMCAzMS41NTYgMTQuMTI4IDMxLjU1NiAzMS41NTZTNTMuNDI4IDY3LjU1NiAzNiA2Ny41NTYgNC40NDQgNTMuNDI4IDQuNDQ0IDM2IDE4LjU3MiA0LjQ0NCAzNiA0LjQ0NHoiIGZpbGw9InVybCgjcHJlZml4X19kKSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg==", h4 = `
25279
25279
  <svg class="fpm__exit-icon width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
25280
25280
  <defs>
25281
25281
  <radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="86.3016741%" id="radialGradient-1">
@@ -25334,7 +25334,7 @@ const Al = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG
25334
25334
  opacity: 1;
25335
25335
  }
25336
25336
  .fpm__main__start {
25337
- background-image: url(${Al});
25337
+ background-image: url(${bl});
25338
25338
  }
25339
25339
  .fpm__main__end {
25340
25340
  background-image: url(${Du});
@@ -25449,7 +25449,7 @@ const Al = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIHhtbG
25449
25449
  opacity: 1;
25450
25450
  }
25451
25451
  .fpm__main__start {
25452
- background-image: url(${Al});
25452
+ background-image: url(${bl});
25453
25453
  }
25454
25454
  .fpm__main__end {
25455
25455
  background-image: url(${Du});
@@ -26068,7 +26068,7 @@ function L4(n) {
26068
26068
  return (
26069
26069
  /*setSwitcherActiveIndex*/
26070
26070
  n[4] !== void 0 && (m.setIndex = /*setSwitcherActiveIndex*/
26071
- n[4]), c = new k4({ props: m }), Ye.push(() => Vl(c, "setIndex", g)), {
26071
+ n[4]), c = new k4({ props: m }), Ye.push(() => Hl(c, "setIndex", g)), {
26072
26072
  c() {
26073
26073
  t = W("div"), d && d.c(), e = re(), i = W("div"), s = W("div"), o = re(), r = W("div"), p && p.c(), a = re(), l = W("div"), pe(c.$$.fragment), y(s, "class", "mask svelte-468fdd"), y(l, "class", "mode-switcher svelte-468fdd"), y(r, "class", "center svelte-468fdd"), y(i, "class", "bottom svelte-468fdd"), y(t, "class", "Measure-Controller svelte-468fdd");
26074
26074
  },
@@ -26105,7 +26105,7 @@ function L4(n) {
26105
26105
  1 && (P.onChange = /*func*/
26106
26106
  v[8]), !h && b & /*setSwitcherActiveIndex*/
26107
26107
  16 && (h = !0, P.setIndex = /*setSwitcherActiveIndex*/
26108
- v[4], Bl(() => h = !1)), c.$set(P);
26108
+ v[4], Vl(() => h = !1)), c.$set(P);
26109
26109
  },
26110
26110
  i(v) {
26111
26111
  u || (F(d), F(c.$$.fragment, v), u = !0);
@@ -26408,7 +26408,7 @@ function wg(n) {
26408
26408
  );
26409
26409
  },
26410
26410
  i(o) {
26411
- s || (yt(() => {
26411
+ s || (wt(() => {
26412
26412
  s && (i || (i = zi(t, _t, { duration: 300 }, !0)), i.run(1));
26413
26413
  }), s = !0);
26414
26414
  },
@@ -26462,7 +26462,7 @@ function F4(n, t, e) {
26462
26462
  "text" in a && e(0, s = a.text), "onClick" in a && e(1, o = a.onClick), "color" in a && e(3, r = a.color);
26463
26463
  }, n.$$.update = () => {
26464
26464
  n.$$.dirty & /*color*/
26465
- 8 && e(2, i = (() => r === "white" ? Al : r === "blue" ? Du : Al)());
26465
+ 8 && e(2, i = (() => r === "white" ? bl : r === "blue" ? Du : bl)());
26466
26466
  }, [s, o, i, r];
26467
26467
  }
26468
26468
  class N4 extends Pe {
@@ -26568,7 +26568,7 @@ function Cg(n) {
26568
26568
  n[0].changeMeasureType), e.$set(a);
26569
26569
  },
26570
26570
  i(o) {
26571
- s || (F(e.$$.fragment, o), o && yt(() => {
26571
+ s || (F(e.$$.fragment, o), o && wt(() => {
26572
26572
  s && (i || (i = zi(t, _t, { duration: Qo }, !0)), i.run(1));
26573
26573
  }), s = !0);
26574
26574
  },
@@ -26614,7 +26614,7 @@ function Ig(n) {
26614
26614
  );
26615
26615
  },
26616
26616
  i(h) {
26617
- a || (h && yt(() => {
26617
+ a || (h && wt(() => {
26618
26618
  a && (r || (r = zi(t, _t, { duration: Qo }, !0)), r.run(1));
26619
26619
  }), a = !0);
26620
26620
  },
@@ -26649,7 +26649,7 @@ function Eg(n) {
26649
26649
  n[2]("结束") + "") && Ve(o, s);
26650
26650
  },
26651
26651
  i(h) {
26652
- a || (h && yt(() => {
26652
+ a || (h && wt(() => {
26653
26653
  a && (r || (r = zi(t, _t, { duration: Qo }, !0)), r.run(1));
26654
26654
  }), a = !0);
26655
26655
  },
@@ -26905,22 +26905,22 @@ var tt = {}, Y4 = {
26905
26905
  tt = n;
26906
26906
  }
26907
26907
  };
26908
- function bl(n) {
26908
+ function yl(n) {
26909
26909
  return n === null ? "null" : typeof n == "undefined" ? "undefined" : typeof n == "object" ? Array.isArray(n) ? "array" : "object" : typeof n;
26910
26910
  }
26911
26911
  function uv(n) {
26912
- return bl(n) === "object" ? uh(n) : bl(n) === "array" ? hh(n) : n;
26912
+ return yl(n) === "object" ? dh(n) : yl(n) === "array" ? uh(n) : n;
26913
26913
  }
26914
- function hh(n) {
26914
+ function uh(n) {
26915
26915
  return n.map(uv);
26916
26916
  }
26917
- function uh(n) {
26917
+ function dh(n) {
26918
26918
  const t = {};
26919
26919
  for (const e in n)
26920
26920
  n.hasOwnProperty(e) && (t[e] = uv(n[e]));
26921
26921
  return t;
26922
26922
  }
26923
- function Wl(n, t = [], e = {}) {
26923
+ function Ul(n, t = [], e = {}) {
26924
26924
  const i = {
26925
26925
  arrayBehaviour: e.arrayBehaviour || "replace"
26926
26926
  // Can be "merge" or "replace".
@@ -26928,19 +26928,19 @@ function Wl(n, t = [], e = {}) {
26928
26928
  for (let r = 0; r < s.length; r++) {
26929
26929
  const a = s[r], l = Object.keys(a);
26930
26930
  for (let c = 0; c < l.length; c++) {
26931
- const h = l[c], u = a[h], d = bl(u), p = bl(o[h]);
26931
+ const h = l[c], u = a[h], d = yl(u), p = yl(o[h]);
26932
26932
  if (d === "object")
26933
26933
  if (p !== "undefined") {
26934
26934
  const g = p === "object" ? o[h] : {};
26935
- o[h] = Wl({}, [g, uh(u)], i);
26935
+ o[h] = Ul({}, [g, dh(u)], i);
26936
26936
  } else
26937
- o[h] = uh(u);
26937
+ o[h] = dh(u);
26938
26938
  else if (d === "array")
26939
26939
  if (p === "array") {
26940
- const g = hh(u);
26940
+ const g = uh(u);
26941
26941
  o[h] = i.arrayBehaviour === "merge" ? o[h].concat(g) : g;
26942
26942
  } else
26943
- o[h] = hh(u);
26943
+ o[h] = uh(u);
26944
26944
  else
26945
26945
  o[h] = u;
26946
26946
  }
@@ -26948,13 +26948,13 @@ function Wl(n, t = [], e = {}) {
26948
26948
  return o;
26949
26949
  }
26950
26950
  Y4.exports = function(t, ...e) {
26951
- return Wl(t, e);
26951
+ return Ul(t, e);
26952
26952
  };
26953
26953
  tt.noMutate = function(...t) {
26954
- return Wl({}, t);
26954
+ return Ul({}, t);
26955
26955
  };
26956
26956
  tt.withOptions = function(t, e, i) {
26957
- return Wl(t, e, i);
26957
+ return Ul(t, e, i);
26958
26958
  };
26959
26959
  function Z4(n) {
26960
26960
  xe(n, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
@@ -26980,7 +26980,7 @@ function Mg(n) {
26980
26980
  );
26981
26981
  },
26982
26982
  i(r) {
26983
- o || (yt(() => {
26983
+ o || (wt(() => {
26984
26984
  o && (s || (s = zi(t, _t, {}, !0)), s.run(1));
26985
26985
  }), o = !0);
26986
26986
  },
@@ -27523,7 +27523,7 @@ class Yr extends Ei {
27523
27523
  }), this.updateEdgePointsVisibility(), this.needsRender = !0;
27524
27524
  }
27525
27525
  }
27526
- class Ul extends mi {
27526
+ class Ql extends mi {
27527
27527
  constructor(e) {
27528
27528
  var a, l;
27529
27529
  super();
@@ -27599,7 +27599,7 @@ class Ul extends mi {
27599
27599
  const Tu = new w.BufferGeometry();
27600
27600
  Tu.name = "blankGeometry";
27601
27601
  Tu.isBlank = !0;
27602
- class er extends Ul {
27602
+ class er extends Ql {
27603
27603
  constructor(e) {
27604
27604
  super(e);
27605
27605
  f(this, "name", "PolygonMesh");
@@ -27756,8 +27756,8 @@ class xg extends mi {
27756
27756
  this.line.unhighlight(), this.polygon.unhighlight();
27757
27757
  }
27758
27758
  }
27759
- const bc = typeof navigator != "undefined" ? navigator.userAgent.toLowerCase().indexOf("firefox") > 0 : !1;
27760
- function yc(n, t, e, i) {
27759
+ const yc = typeof navigator != "undefined" ? navigator.userAgent.toLowerCase().indexOf("firefox") > 0 : !1;
27760
+ function wc(n, t, e, i) {
27761
27761
  n.addEventListener ? n.addEventListener(t, e, i) : n.attachEvent && n.attachEvent("on".concat(t), e);
27762
27762
  }
27763
27763
  function Ar(n, t, e, i) {
@@ -27829,9 +27829,9 @@ const Zr = {
27829
27829
  ".": 190,
27830
27830
  "/": 191,
27831
27831
  "`": 192,
27832
- "-": bc ? 173 : 189,
27833
- "=": bc ? 61 : 187,
27834
- ";": bc ? 59 : 186,
27832
+ "-": yc ? 173 : 189,
27833
+ "=": yc ? 61 : 187,
27834
+ ";": yc ? 59 : 186,
27835
27835
  "'": 222,
27836
27836
  "[": 219,
27837
27837
  "]": 221,
@@ -27852,7 +27852,7 @@ const Zr = {
27852
27852
  "⌘": 91,
27853
27853
  cmd: 91,
27854
27854
  command: 91
27855
- }, dh = {
27855
+ }, Za = {
27856
27856
  16: "shiftKey",
27857
27857
  18: "altKey",
27858
27858
  17: "ctrlKey",
@@ -27866,10 +27866,10 @@ const Zr = {
27866
27866
  18: !1,
27867
27867
  17: !1,
27868
27868
  91: !1
27869
- }, bt = {};
27869
+ }, yt = {};
27870
27870
  for (let n = 1; n < 20; n++)
27871
27871
  Zr["f".concat(n)] = 111 + n;
27872
- let ut = [], Tr = null, pv = "all";
27872
+ let At = [], Tr = null, pv = "all";
27873
27873
  const yn = /* @__PURE__ */ new Map(), la = (n) => Zr[n.toLowerCase()] || an[n.toLowerCase()] || n.toUpperCase().charCodeAt(0), rI = (n) => Object.keys(Zr).find((t) => Zr[t] === n), aI = (n) => Object.keys(an).find((t) => an[t] === n);
27874
27874
  function mv(n) {
27875
27875
  pv = n || "all";
@@ -27878,15 +27878,15 @@ function qr() {
27878
27878
  return pv || "all";
27879
27879
  }
27880
27880
  function lI() {
27881
- return ut.slice(0);
27881
+ return At.slice(0);
27882
27882
  }
27883
27883
  function cI() {
27884
- return ut.map((n) => rI(n) || aI(n) || String.fromCharCode(n));
27884
+ return At.map((n) => rI(n) || aI(n) || String.fromCharCode(n));
27885
27885
  }
27886
27886
  function hI() {
27887
27887
  const n = [];
27888
- return Object.keys(bt).forEach((t) => {
27889
- bt[t].forEach((e) => {
27888
+ return Object.keys(yt).forEach((t) => {
27889
+ yt[t].forEach((e) => {
27890
27890
  let {
27891
27891
  key: i,
27892
27892
  scope: s,
@@ -27911,14 +27911,14 @@ function uI(n) {
27911
27911
  return (t.isContentEditable || (s || e === "TEXTAREA" || e === "SELECT") && !t.readOnly) && (i = !1), i;
27912
27912
  }
27913
27913
  function dI(n) {
27914
- return typeof n == "string" && (n = la(n)), ut.indexOf(n) !== -1;
27914
+ return typeof n == "string" && (n = la(n)), At.indexOf(n) !== -1;
27915
27915
  }
27916
27916
  function fI(n, t) {
27917
27917
  let e, i;
27918
27918
  n || (n = qr());
27919
- for (const s in bt)
27920
- if (Object.prototype.hasOwnProperty.call(bt, s))
27921
- for (e = bt[s], i = 0; i < e.length; )
27919
+ for (const s in yt)
27920
+ if (Object.prototype.hasOwnProperty.call(yt, s))
27921
+ for (e = yt[s], i = 0; i < e.length; )
27922
27922
  e[i].scope === n ? e.splice(i, 1).forEach((r) => {
27923
27923
  let {
27924
27924
  element: a
@@ -27929,8 +27929,8 @@ function fI(n, t) {
27929
27929
  }
27930
27930
  function gI(n) {
27931
27931
  let t = n.keyCode || n.which || n.charCode;
27932
- const e = ut.indexOf(t);
27933
- if (e >= 0 && ut.splice(e, 1), n.key && n.key.toLowerCase() === "meta" && ut.splice(0, ut.length), (t === 93 || t === 224) && (t = 91), t in Vt) {
27932
+ const e = At.indexOf(t);
27933
+ if (e >= 0 && At.splice(e, 1), n.key && n.key.toLowerCase() === "meta" && At.splice(0, At.length), (t === 93 || t === 224) && (t = 91), t in Vt) {
27934
27934
  Vt[t] = !1;
27935
27935
  for (const i in an)
27936
27936
  an[i] === t && (pt[i] = !1);
@@ -27938,8 +27938,8 @@ function gI(n) {
27938
27938
  }
27939
27939
  function vv(n) {
27940
27940
  if (typeof n == "undefined")
27941
- Object.keys(bt).forEach((s) => {
27942
- Array.isArray(bt[s]) && bt[s].forEach((o) => Ra(o)), delete bt[s];
27941
+ Object.keys(yt).forEach((s) => {
27942
+ Array.isArray(yt[s]) && yt[s].forEach((o) => Ra(o)), delete yt[s];
27943
27943
  }), Lu(null);
27944
27944
  else if (Array.isArray(n))
27945
27945
  n.forEach((s) => {
@@ -27968,11 +27968,11 @@ const Ra = (n) => {
27968
27968
  } = n;
27969
27969
  gv(t).forEach((r) => {
27970
27970
  const a = r.split(s), l = a.length, c = a[l - 1], h = c === "*" ? "*" : la(c);
27971
- if (!bt[h])
27971
+ if (!yt[h])
27972
27972
  return;
27973
27973
  e || (e = qr());
27974
27974
  const u = l > 1 ? fv(an, a) : [], d = [];
27975
- bt[h] = bt[h].filter((p) => {
27975
+ yt[h] = yt[h].filter((p) => {
27976
27976
  const m = (i ? p.method === i : !0) && p.scope === e && oI(p.mods, u);
27977
27977
  return m && d.push(p.element), !m;
27978
27978
  }), d.forEach((p) => Lu(p));
@@ -27986,17 +27986,17 @@ function Sg(n, t, e, i) {
27986
27986
  s = t.mods.length > 0;
27987
27987
  for (const o in Vt)
27988
27988
  Object.prototype.hasOwnProperty.call(Vt, o) && (!Vt[o] && t.mods.indexOf(+o) > -1 || Vt[o] && t.mods.indexOf(+o) === -1) && (s = !1);
27989
- (t.mods.length === 0 && !Vt[16] && !Vt[18] && !Vt[17] && !Vt[91] || s || t.shortcut === "*") && (t.keys = [], t.keys = t.keys.concat(ut), t.method(n, t) === !1 && (n.preventDefault ? n.preventDefault() : n.returnValue = !1, n.stopPropagation && n.stopPropagation(), n.cancelBubble && (n.cancelBubble = !0)));
27989
+ (t.mods.length === 0 && !Vt[16] && !Vt[18] && !Vt[17] && !Vt[91] || s || t.shortcut === "*") && (t.keys = [], t.keys = t.keys.concat(At), t.method(n, t) === !1 && (n.preventDefault ? n.preventDefault() : n.returnValue = !1, n.stopPropagation && n.stopPropagation(), n.cancelBubble && (n.cancelBubble = !0)));
27990
27990
  }
27991
27991
  }
27992
27992
  function Dg(n, t) {
27993
- const e = bt["*"];
27993
+ const e = yt["*"];
27994
27994
  let i = n.keyCode || n.which || n.charCode;
27995
27995
  if (!pt.filter.call(this, n))
27996
27996
  return;
27997
- if ((i === 93 || i === 224) && (i = 91), ut.indexOf(i) === -1 && i !== 229 && ut.push(i), ["ctrlKey", "altKey", "shiftKey", "metaKey"].forEach((a) => {
27998
- const l = dh[a];
27999
- n[a] && ut.indexOf(l) === -1 ? ut.push(l) : !n[a] && ut.indexOf(l) > -1 ? ut.splice(ut.indexOf(l), 1) : a === "metaKey" && n[a] && ut.length === 3 && (n.ctrlKey || n.shiftKey || n.altKey || (ut = ut.slice(ut.indexOf(l))));
27997
+ if ((i === 93 || i === 224) && (i = 91), At.indexOf(i) === -1 && i !== 229 && At.push(i), ["metaKey", "ctrlKey", "altKey", "shiftKey"].forEach((a) => {
27998
+ const l = Za[a];
27999
+ n[a] && At.indexOf(l) === -1 ? At.push(l) : !n[a] && At.indexOf(l) > -1 ? At.splice(At.indexOf(l), 1) : a === "metaKey" && n[a] && (At = At.filter((c) => c in Za || c === i));
28000
28000
  }), i in Vt) {
28001
28001
  Vt[i] = !0;
28002
28002
  for (const a in an)
@@ -28005,15 +28005,15 @@ function Dg(n, t) {
28005
28005
  return;
28006
28006
  }
28007
28007
  for (const a in Vt)
28008
- Object.prototype.hasOwnProperty.call(Vt, a) && (Vt[a] = n[dh[a]]);
28009
- n.getModifierState && !(n.altKey && !n.ctrlKey) && n.getModifierState("AltGraph") && (ut.indexOf(17) === -1 && ut.push(17), ut.indexOf(18) === -1 && ut.push(18), Vt[17] = !0, Vt[18] = !0);
28008
+ Object.prototype.hasOwnProperty.call(Vt, a) && (Vt[a] = n[Za[a]]);
28009
+ n.getModifierState && !(n.altKey && !n.ctrlKey) && n.getModifierState("AltGraph") && (At.indexOf(17) === -1 && At.push(17), At.indexOf(18) === -1 && At.push(18), Vt[17] = !0, Vt[18] = !0);
28010
28010
  const s = qr();
28011
28011
  if (e)
28012
28012
  for (let a = 0; a < e.length; a++)
28013
28013
  e[a].scope === s && (n.type === "keydown" && e[a].keydown || n.type === "keyup" && e[a].keyup) && Sg(n, e[a], s, t);
28014
- if (!(i in bt))
28014
+ if (!(i in yt))
28015
28015
  return;
28016
- const o = bt[i], r = o.length;
28016
+ const o = yt[i], r = o.length;
28017
28017
  for (let a = 0; a < r; a++)
28018
28018
  if ((n.type === "keydown" && o[a].keydown || n.type === "keyup" && o[a].keyup) && o[a].key) {
28019
28019
  const l = o[a], {
@@ -28021,15 +28021,15 @@ function Dg(n, t) {
28021
28021
  } = l, h = l.key.split(c), u = [];
28022
28022
  for (let d = 0; d < h.length; d++)
28023
28023
  u.push(la(h[d]));
28024
- u.sort().join("") === ut.sort().join("") && Sg(n, l, s, t);
28024
+ u.sort().join("") === At.sort().join("") && Sg(n, l, s, t);
28025
28025
  }
28026
28026
  }
28027
28027
  function pt(n, t, e) {
28028
- ut = [];
28028
+ At = [];
28029
28029
  const i = gv(n);
28030
28030
  let s = [], o = "all", r = document, a = 0, l = !1, c = !0, h = "+", u = !1, d = !1;
28031
28031
  for (e === void 0 && typeof t == "function" && (e = t), Object.prototype.toString.call(t) === "[object Object]" && (t.scope && (o = t.scope), t.element && (r = t.element), t.keyup && (l = t.keyup), t.keydown !== void 0 && (c = t.keydown), t.capture !== void 0 && (u = t.capture), typeof t.splitKey == "string" && (h = t.splitKey), t.single === !0 && (d = !0)), typeof t == "string" && (o = t), d && vv(n, o); a < i.length; a++)
28032
- n = i[a].split(h), s = [], n.length > 1 && (s = fv(an, n)), n = n[n.length - 1], n = n === "*" ? "*" : la(n), n in bt || (bt[n] = []), bt[n].push({
28032
+ n = i[a].split(h), s = [], n.length > 1 && (s = fv(an, n)), n = n[n.length - 1], n = n === "*" ? "*" : la(n), n in yt || (yt[n] = []), yt[n].push({
28033
28033
  keyup: l,
28034
28034
  keydown: c,
28035
28035
  scope: o,
@@ -28053,29 +28053,29 @@ function pt(n, t, e) {
28053
28053
  keydownListener: p,
28054
28054
  keyupListenr: g,
28055
28055
  capture: u
28056
- }), yc(r, "keydown", p, u), yc(r, "keyup", g, u);
28056
+ }), wc(r, "keydown", p, u), wc(r, "keyup", g, u);
28057
28057
  }
28058
28058
  if (!Tr) {
28059
28059
  const p = () => {
28060
- ut = [];
28060
+ At = [];
28061
28061
  };
28062
28062
  Tr = {
28063
28063
  listener: p,
28064
28064
  capture: u
28065
- }, yc(window, "focus", p, u);
28065
+ }, wc(window, "focus", p, u);
28066
28066
  }
28067
28067
  }
28068
28068
  }
28069
28069
  function pI(n) {
28070
28070
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "all";
28071
- Object.keys(bt).forEach((e) => {
28072
- bt[e].filter((s) => s.scope === t && s.shortcut === n).forEach((s) => {
28071
+ Object.keys(yt).forEach((e) => {
28072
+ yt[e].filter((s) => s.scope === t && s.shortcut === n).forEach((s) => {
28073
28073
  s && s.method && s.method();
28074
28074
  });
28075
28075
  });
28076
28076
  }
28077
28077
  function Lu(n) {
28078
- const t = Object.values(bt).flat();
28078
+ const t = Object.values(yt).flat();
28079
28079
  if (t.findIndex((i) => {
28080
28080
  let {
28081
28081
  element: s
@@ -28096,7 +28096,7 @@ function Lu(n) {
28096
28096
  capture: a
28097
28097
  } = yn.get(s) || {};
28098
28098
  o && r && (Ar(s, "keyup", r, a), Ar(s, "keydown", o, a), yn.delete(s));
28099
- }), yn.clear(), Object.keys(bt).forEach((s) => delete bt[s]), Tr)) {
28099
+ }), yn.clear(), Object.keys(yt).forEach((s) => delete yt[s]), Tr)) {
28100
28100
  const {
28101
28101
  listener: s,
28102
28102
  capture: o
@@ -28104,7 +28104,7 @@ function Lu(n) {
28104
28104
  Ar(window, "focus", s, o), Tr = null;
28105
28105
  }
28106
28106
  }
28107
- const wc = {
28107
+ const Pc = {
28108
28108
  getPressedKeyString: cI,
28109
28109
  setScope: mv,
28110
28110
  getScope: qr,
@@ -28117,10 +28117,10 @@ const wc = {
28117
28117
  unbind: vv,
28118
28118
  keyMap: Zr,
28119
28119
  modifier: an,
28120
- modifierMap: dh
28120
+ modifierMap: Za
28121
28121
  };
28122
- for (const n in wc)
28123
- Object.prototype.hasOwnProperty.call(wc, n) && (pt[n] = wc[n]);
28122
+ for (const n in Pc)
28123
+ Object.prototype.hasOwnProperty.call(Pc, n) && (pt[n] = Pc[n]);
28124
28124
  if (typeof window != "undefined") {
28125
28125
  const n = window.hotkeys;
28126
28126
  pt.noConflict = (t) => (t && window.hotkeys === pt && (window.hotkeys = n), pt), window.hotkeys = pt;
@@ -28950,7 +28950,7 @@ class wI extends Mt {
28950
28950
  this.config = i ? H(H({}, s), i) : s, this.group = new mi(), this.group.name = "MeasureGroup", this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), pt("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
28951
28951
  }
28952
28952
  get pointSelector() {
28953
- return this._pointSelector ? this._pointSelector : (this._pointSelector = new xl(this.five, { mode: "cursor", helper: { pointHelper: "highlight" }, skipPanorama: !0 }), this._pointSelector);
28953
+ return this._pointSelector ? this._pointSelector : (this._pointSelector = new Sl(this.five, { mode: "cursor", helper: { pointHelper: "highlight" }, skipPanorama: !0 }), this._pointSelector);
28954
28954
  }
28955
28955
  get fiveDomEvents() {
28956
28956
  return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new Ro(this.five, { fiveModels: null }), this._fiveDomEvents);
@@ -29423,10 +29423,10 @@ class OI {
29423
29423
  }
29424
29424
  }
29425
29425
  }
29426
- const Pc = 1e-3, Bg = 0.01, Vg = $h, YT = (n, t) => {
29426
+ const Cc = 1e-3, Bg = 0.01, Vg = $h, YT = (n, t) => {
29427
29427
  var te, $, oe, Z, ae, Se, ue, De;
29428
29428
  let e = t == null ? void 0 : t.container, i = 1.4;
29429
- const s = (te = t == null ? void 0 : t.wait) != null ? te : 200, o = ($ = t == null ? void 0 : t.maxNumberOnScreen) != null ? $ : 3, r = (oe = t == null ? void 0 : t.minRad) != null ? oe : Math.PI / 4, a = (Z = t == null ? void 0 : t.nearTolerance) != null ? Z : 100, l = (ae = t == null ? void 0 : t.upsideHeight) != null ? ae : 1.6, c = (Se = t == null ? void 0 : t.minDistance) != null ? Se : 1.2, h = (ue = t == null ? void 0 : t.maxDistance) != null ? ue : 3.5, u = Ol(n), d = document.createElement("div");
29429
+ const s = (te = t == null ? void 0 : t.wait) != null ? te : 200, o = ($ = t == null ? void 0 : t.maxNumberOnScreen) != null ? $ : 3, r = (oe = t == null ? void 0 : t.minRad) != null ? oe : Math.PI / 4, a = (Z = t == null ? void 0 : t.nearTolerance) != null ? Z : 100, l = (ae = t == null ? void 0 : t.upsideHeight) != null ? ae : 1.6, c = (Se = t == null ? void 0 : t.minDistance) != null ? Se : 1.2, h = (ue = t == null ? void 0 : t.maxDistance) != null ? ue : 3.5, u = jl(n), d = document.createElement("div");
29430
29430
  d.classList.add("PanoSpatialTagPlugin"), Object.assign(d.style, DI);
29431
29431
  const p = new Zo();
29432
29432
  let g = new Image();
@@ -29561,11 +29561,11 @@ const Pc = 1e-3, Bg = 0.01, Vg = $h, YT = (n, t) => {
29561
29561
  Xe.distance + Bg
29562
29562
  ), [Je] = m.intersectObjects ? ht.intersectObjects(m.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(ht) : ht.intersectObjects(n.model.children, !0);
29563
29563
  if (Je && Xe.distance - Je.distance < Bg) {
29564
- const { position: $e, normal: st, id: ot, replacement: jt } = Xe, Wi = new w.Plane().setFromNormalAndCoplanarPoint(st, $e), Gt = $e.clone().sub(ee.position).cross(new w.Vector3(0, 1, 0)).setLength(Pc), ci = [
29564
+ const { position: $e, normal: st, id: ot, replacement: jt } = Xe, Wi = new w.Plane().setFromNormalAndCoplanarPoint(st, $e), Gt = $e.clone().sub(ee.position).cross(new w.Vector3(0, 1, 0)).setLength(Cc), ci = [
29565
29565
  $e.clone(),
29566
29566
  $e.clone().add(Gt),
29567
- $e.clone().add(new w.Vector3(0, Pc, 0)).add(Gt),
29568
- $e.clone().add(new w.Vector3(0, Pc, 0))
29567
+ $e.clone().add(new w.Vector3(0, Cc, 0)).add(Gt),
29568
+ $e.clone().add(new w.Vector3(0, Cc, 0))
29569
29569
  ].map((Ut) => Wi.projectPoint(Ut, new w.Vector3())), { container: vi, dispose: rt } = u.create3DDomContainer(ci) || {}, Wt = new SI({
29570
29570
  target: vi,
29571
29571
  props: {
@@ -29708,7 +29708,7 @@ function _I(n) {
29708
29708
  c() {
29709
29709
  t = W("div"), e = W("div"), i = W("span"), o = Re(s), r = re(), a = W("div"), y(i, "class", "item-label-item__text svelte-1wufped"), y(e, "class", "item-label-item__text-wrap svelte-1wufped"), j(e, "top", `-${/*itemLabel*/
29710
29710
  n[0].strokeLength + 26}px`), y(a, "class", "item-label-item__bar svelte-1wufped"), j(a, "height", `${/*itemLabel*/
29711
- n[0].strokeLength}px`), y(t, "class", l = Pt(gi("item-label-item", { visible: (
29711
+ n[0].strokeLength}px`), y(t, "class", l = Ct(gi("item-label-item", { visible: (
29712
29712
  /*itemLabel*/
29713
29713
  n[0].visible
29714
29714
  ) })) + " svelte-1wufped"), j(
@@ -29743,7 +29743,7 @@ function _I(n) {
29743
29743
  u[0].strokeLength + 26}px`), d & /*itemLabel*/
29744
29744
  1 && j(a, "height", `${/*itemLabel*/
29745
29745
  u[0].strokeLength}px`), d & /*itemLabel*/
29746
- 1 && l !== (l = Pt(gi("item-label-item", { visible: (
29746
+ 1 && l !== (l = Ct(gi("item-label-item", { visible: (
29747
29747
  /*itemLabel*/
29748
29748
  u[0].visible
29749
29749
  ) })) + " svelte-1wufped") && y(t, "class", l), d & /*itemLabel*/
@@ -29856,7 +29856,7 @@ function FI(n) {
29856
29856
  t = W("div");
29857
29857
  for (let l = 0; l < e.length; l += 1)
29858
29858
  e[l].c();
29859
- y(t, "class", "item-labels-container svelte-f82itz"), yt(() => (
29859
+ y(t, "class", "item-labels-container svelte-f82itz"), wt(() => (
29860
29860
  /*div_elementresize_handler*/
29861
29861
  n[9].call(t)
29862
29862
  )), j(
@@ -30120,7 +30120,7 @@ const XI = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
30120
30120
  rectPoints: [],
30121
30121
  enabled: !1,
30122
30122
  videoElement: t
30123
- }, i = Ol(n), s = /* @__PURE__ */ new Map(), o = (b) => {
30123
+ }, i = jl(n), s = /* @__PURE__ */ new Map(), o = (b) => {
30124
30124
  e.videoTexture && (e.videoTexture.image.muted = b);
30125
30125
  }, r = () => e.videoTexture ? e.videoTexture.image.muted : !0, a = () => {
30126
30126
  if (e.enabled || !e.videoTexture)
@@ -30343,15 +30343,15 @@ function KI(n) {
30343
30343
  let d = u(n, -1), p = d(n);
30344
30344
  return {
30345
30345
  c() {
30346
- t = W("div"), e = W("div"), p.c(), o = re(), r = W("div"), y(e, "class", s = Pt(gi("item-label-item__text-wrap", {
30346
+ t = W("div"), e = W("div"), p.c(), o = re(), r = W("div"), y(e, "class", s = Ct(gi("item-label-item__text-wrap", {
30347
30347
  "item-label-item__custom": typeof /*itemLabel*/
30348
30348
  n[0].render == "function"
30349
30349
  })) + " svelte-1jhufeh"), j(e, "bottom", `${/*itemLabel*/
30350
- n[0].strokeLength}px`), y(r, "class", a = Pt(gi("item-label-item__bar", { anchor: (
30350
+ n[0].strokeLength}px`), y(r, "class", a = Ct(gi("item-label-item__bar", { anchor: (
30351
30351
  /*anchorEnabled*/
30352
30352
  n[1]
30353
30353
  ) })) + " svelte-1jhufeh"), j(r, "height", `${/*itemLabel*/
30354
- n[0].strokeLength}px`), y(t, "class", l = Pt(gi("item-label-item", { fold: (
30354
+ n[0].strokeLength}px`), y(t, "class", l = Ct(gi("item-label-item", { fold: (
30355
30355
  /*itemLabel*/
30356
30356
  n[0].isFold
30357
30357
  ) })) + " svelte-1jhufeh"), j(
@@ -30376,19 +30376,19 @@ function KI(n) {
30376
30376
  },
30377
30377
  p(g, [m]) {
30378
30378
  d === (d = u(g, m)) && p ? p.p(g, m) : (p.d(1), p = d(g), p && (p.c(), p.m(e, null))), m & /*itemLabel*/
30379
- 1 && s !== (s = Pt(gi("item-label-item__text-wrap", {
30379
+ 1 && s !== (s = Ct(gi("item-label-item__text-wrap", {
30380
30380
  "item-label-item__custom": typeof /*itemLabel*/
30381
30381
  g[0].render == "function"
30382
30382
  })) + " svelte-1jhufeh") && y(e, "class", s), m & /*itemLabel*/
30383
30383
  1 && j(e, "bottom", `${/*itemLabel*/
30384
30384
  g[0].strokeLength}px`), m & /*anchorEnabled*/
30385
- 2 && a !== (a = Pt(gi("item-label-item__bar", { anchor: (
30385
+ 2 && a !== (a = Ct(gi("item-label-item__bar", { anchor: (
30386
30386
  /*anchorEnabled*/
30387
30387
  g[1]
30388
30388
  ) })) + " svelte-1jhufeh") && y(r, "class", a), m & /*itemLabel*/
30389
30389
  1 && j(r, "height", `${/*itemLabel*/
30390
30390
  g[0].strokeLength}px`), m & /*itemLabel*/
30391
- 1 && l !== (l = Pt(gi("item-label-item", { fold: (
30391
+ 1 && l !== (l = Ct(gi("item-label-item", { fold: (
30392
30392
  /*itemLabel*/
30393
30393
  g[0].isFold
30394
30394
  ) })) + " svelte-1jhufeh") && y(t, "class", l), m & /*itemLabel*/
@@ -30591,7 +30591,7 @@ function oE(n) {
30591
30591
  t = W("div");
30592
30592
  for (let l = 0; l < e.length; l += 1)
30593
30593
  e[l].c();
30594
- y(t, "class", "item-labels-container svelte-f82itz"), yt(() => (
30594
+ y(t, "class", "item-labels-container svelte-f82itz"), wt(() => (
30595
30595
  /*div_elementresize_handler*/
30596
30596
  n[12].call(t)
30597
30597
  )), j(
@@ -30871,7 +30871,7 @@ function dE(n) {
30871
30871
  ), o, r, a, l, c, h, u, d, p;
30872
30872
  return {
30873
30873
  c() {
30874
- t = W("div"), e = W("div"), i = W("span"), o = Re(s), r = re(), a = W("i"), y(i, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), y(a, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), y(e, "class", l = Pt(gi(
30874
+ t = W("div"), e = W("div"), i = W("span"), o = Re(s), r = re(), a = W("i"), y(i, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), y(a, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), y(e, "class", l = Ct(gi(
30875
30875
  "plugin-DoorLabelPlugin-cnt",
30876
30876
  /*props*/
30877
30877
  n[0].toward
@@ -30896,7 +30896,7 @@ function dE(n) {
30896
30896
  m & /*props*/
30897
30897
  1 && s !== (s = /*props*/
30898
30898
  g[0].name + "") && Ve(o, s), m & /*props*/
30899
- 1 && l !== (l = Pt(gi(
30899
+ 1 && l !== (l = Ct(gi(
30900
30900
  "plugin-DoorLabelPlugin-cnt",
30901
30901
  /*props*/
30902
30902
  g[0].toward
@@ -31186,7 +31186,7 @@ const nL = (n) => new yE(n);
31186
31186
  function wv(n, t) {
31187
31187
  console.warn(`🚫 ==> [${n}]: ${t}`);
31188
31188
  }
31189
- var Ql = {}, wE = PE;
31189
+ var Xl = {}, wE = PE;
31190
31190
  function PE(n, t, e) {
31191
31191
  return n[0] = t[0] + e[0], n[1] = t[1] + e[1], n;
31192
31192
  }
@@ -31208,26 +31208,26 @@ function DE(n, t) {
31208
31208
  return n[0] * t[0] + n[1] * t[1];
31209
31209
  }
31210
31210
  var TE = wE, ph = CE, Pv = EE, LE = kE, zE = SE, Zg = [0, 0];
31211
- Ql.computeMiter = function(t, e, i, s, o) {
31211
+ Xl.computeMiter = function(t, e, i, s, o) {
31212
31212
  return TE(t, i, s), Pv(t, t), ph(e, -t[1], t[0]), ph(Zg, -i[1], i[0]), o / zE(e, Zg);
31213
31213
  };
31214
- Ql.normal = function(t, e) {
31214
+ Xl.normal = function(t, e) {
31215
31215
  return ph(t, -e[1], e[0]), t;
31216
31216
  };
31217
- Ql.direction = function(t, e, i) {
31217
+ Xl.direction = function(t, e, i) {
31218
31218
  return LE(t, e, i), Pv(t, t), t;
31219
31219
  };
31220
- var An = Ql, Ms = [0, 0], _a = [0, 0], qg = [0, 0], br = [0, 0], OE = function(n, t) {
31220
+ var An = Xl, Ms = [0, 0], _a = [0, 0], qg = [0, 0], br = [0, 0], OE = function(n, t) {
31221
31221
  var e = null, i = [];
31222
31222
  t && (n = n.slice(), n.push(n[0]));
31223
31223
  for (var s = n.length, o = 1; o < s; o++) {
31224
31224
  var r = n[o - 1], a = n[o], l = o < n.length - 1 ? n[o + 1] : null;
31225
- if (An.direction(Ms, a, r), e || (e = [0, 0], An.normal(e, Ms)), o === 1 && Cc(i, e, 1), !l)
31226
- An.normal(e, Ms), Cc(i, e, 1);
31225
+ if (An.direction(Ms, a, r), e || (e = [0, 0], An.normal(e, Ms)), o === 1 && Ic(i, e, 1), !l)
31226
+ An.normal(e, Ms), Ic(i, e, 1);
31227
31227
  else {
31228
31228
  An.direction(_a, l, a);
31229
31229
  var c = An.computeMiter(qg, br, Ms, _a, 1);
31230
- Cc(i, br, c);
31230
+ Ic(i, br, c);
31231
31231
  }
31232
31232
  }
31233
31233
  if (n.length > 2 && t) {
@@ -31238,7 +31238,7 @@ var An = Ql, Ms = [0, 0], _a = [0, 0], qg = [0, 0], br = [0, 0], OE = function(n
31238
31238
  }
31239
31239
  return i;
31240
31240
  };
31241
- function Cc(n, t, e) {
31241
+ function Ic(n, t, e) {
31242
31242
  n.push([[t[0], t[1]], e]);
31243
31243
  }
31244
31244
  function Cv(n, t) {
@@ -31735,14 +31735,14 @@ const o8 = {
31735
31735
  }
31736
31736
  }, r8 = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1;
31737
31737
  navigator.userAgent.toLowerCase().indexOf("android");
31738
- const Za = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, a8 = r8 && Za;
31738
+ const qa = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, a8 = r8 && qa;
31739
31739
  function l8(n) {
31740
31740
  if (n.length !== 4)
31741
31741
  return !1;
31742
31742
  const [t, e, i, s] = n, o = t.distanceTo(e), r = e.distanceTo(i), a = i.distanceTo(s), l = s.distanceTo(t), c = t.distanceTo(i), h = e.distanceTo(s);
31743
31743
  return o === a && r === l && c === h;
31744
31744
  }
31745
- class Ic extends w.Mesh {
31745
+ class Ec extends w.Mesh {
31746
31746
  /**
31747
31747
  * @description 生成一个四边形的Mesh
31748
31748
  * @param {Vector3Position[]} points: 四个顶点的坐标, [左下,右下,右上,左上]
@@ -31798,7 +31798,7 @@ class Sv extends w.BufferGeometry {
31798
31798
  }
31799
31799
  }
31800
31800
  function c8(n, t) {
31801
- let e = !Za;
31801
+ let e = !qa;
31802
31802
  const i = t != null ? t : document.createElement("video");
31803
31803
  i.preload = "metadata", i.crossOrigin = "anonymous", i.muted = !0, i.loop = !0, i.playsInline = !0, i.autoplay = !0;
31804
31804
  const s = new w.VideoTexture(i);
@@ -31806,9 +31806,9 @@ function c8(n, t) {
31806
31806
  const o = () => {
31807
31807
  s.metadataLoaded || (s.dispatchEvent({ type: "videoLoaded" }), s.metadataLoaded = !0);
31808
31808
  };
31809
- if (Za || (i.onloadedmetadata = () => {
31809
+ if (qa || (i.onloadedmetadata = () => {
31810
31810
  o();
31811
- }), Za) {
31811
+ }), qa) {
31812
31812
  const r = () => {
31813
31813
  if (!e) {
31814
31814
  if (!i.paused) {
@@ -32003,7 +32003,7 @@ class Tv extends Dv {
32003
32003
  return this.coverMesh;
32004
32004
  if (!this.videoCoverSrc)
32005
32005
  return;
32006
- const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), o = new w.MeshBasicMaterial({ transparent: !1, map: i }), r = Ir(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new Ic(r, o);
32006
+ const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), o = new w.MeshBasicMaterial({ transparent: !1, map: i }), r = Ir(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new Ec(r, o);
32007
32007
  return a.position.copy(new Ae(0, 0, 0)), a.name = "videoCoverMesh", a;
32008
32008
  }))();
32009
32009
  return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
@@ -32024,7 +32024,7 @@ class Tv extends Dv {
32024
32024
  "videoLoaded",
32025
32025
  () => c(Ir(this.objectFit, this.cornerPoints, o.image.videoWidth / o.image.videoHeight))
32026
32026
  );
32027
- }), l = new Ic(a, r);
32027
+ }), l = new Ec(a, r);
32028
32028
  return l.name = "videoMesh", l.position.copy(new Ae(0, 0, 0)), l;
32029
32029
  }))();
32030
32030
  if (!e)
@@ -32053,7 +32053,7 @@ class Tv extends Dv {
32053
32053
  var p, g, m, v;
32054
32054
  if (this.buttonMesh)
32055
32055
  return this.buttonMesh;
32056
- const i = (g = (p = this.videoMesh) == null ? void 0 : p.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? g : 1 / 0, s = (v = (m = this.coverMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? v : 1 / 0, o = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(i, s, o) / o * 0.3, { texture: l, transparent: c } = yield this.getImageTexture(this.buttonSrc), h = Ir("contain", this.cornerPoints, l.image.width / l.image.height), u = new Ic(h, new h8(l));
32056
+ const i = (g = (p = this.videoMesh) == null ? void 0 : p.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? g : 1 / 0, s = (v = (m = this.coverMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? v : 1 / 0, o = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(i, s, o) / o * 0.3, { texture: l, transparent: c } = yield this.getImageTexture(this.buttonSrc), h = Ir("contain", this.cornerPoints, l.image.width / l.image.height), u = new Ec(h, new h8(l));
32057
32057
  u.position.copy(new Ae(0, 0, 0)), u.name = "buttonMesh", u.scale.set(a, a, a), this.domEvents.addAutoBindEventListener(
32058
32058
  u,
32059
32059
  "click",
@@ -32119,10 +32119,10 @@ class Jr {
32119
32119
  o && this.cache_visible.set(o, i);
32120
32120
  }
32121
32121
  }
32122
- function yl(n) {
32122
+ function wl(n) {
32123
32123
  return Object.entries(n);
32124
32124
  }
32125
- function wl(n) {
32125
+ function Pl(n) {
32126
32126
  var e, i;
32127
32127
  typeof n.visibleConfig == "object" && n.visibleConfig.keep && (n.visibleConfig.keep === "visible" ? n.visibleConfig = { keep: n.visibleConfig.keep, visibleFiveMode: (e = n.visibleConfig) == null ? void 0 : e.visibleFiveMode } : n.visibleConfig.keep === "hidden" && (n.visibleConfig = { keep: n.visibleConfig.keep })), typeof n.unfoldedConfig == "object" && (n.unfoldedConfig.disableFold && (n.unfoldedConfig = { keep: "unfolded" }), n.unfoldedConfig.disableUnfold && (n.unfoldedConfig = { keep: "folded" }), n.unfoldedConfig.keep && (n.unfoldedConfig = { keep: n.unfoldedConfig.keep }));
32128
32128
  const t = (i = n.initialState) != null ? i : {};
@@ -32321,16 +32321,16 @@ class u8 extends ms {
32321
32321
  }
32322
32322
  });
32323
32323
  const l = (P = e.initialConfig) != null ? P : {}, c = tt({}, xv, this.config.globalConfig, ...Object.values(o)), h = tt({}, c, l), u = {}, d = Object.values(Ht.Mode);
32324
- yl(r).forEach(([E, M]) => {
32324
+ wl(r).forEach(([E, M]) => {
32325
32325
  d.forEach((z) => {
32326
32326
  (E === "PanoramaLike" && ss(z) || E === "ModelLike" && wi(z)) && (u[z] = tt({}, c, ...Object.values(M), l, { _isMerged: !0 }));
32327
32327
  });
32328
- }), yl(a).forEach(([E, M]) => {
32328
+ }), wl(a).forEach(([E, M]) => {
32329
32329
  const z = u[E];
32330
32330
  u[E] = tt({}, c, z, ...Object.values(M), l, { _isMerged: !0 });
32331
32331
  });
32332
32332
  const p = ce(H({}, h), { configWithFiveMode: u });
32333
- return wl(p), Object.values(u).forEach((E) => wl(E)), p._isMerged = !0, p;
32333
+ return Pl(p), Object.values(u).forEach((E) => Pl(E)), p._isMerged = !0, p;
32334
32334
  }
32335
32335
  }
32336
32336
  class d8 extends u8 {
@@ -32435,7 +32435,7 @@ class f8 {
32435
32435
  });
32436
32436
  }
32437
32437
  }
32438
- function Ec(n, t, e) {
32438
+ function Mc(n, t, e) {
32439
32439
  var p, g, m, v, b;
32440
32440
  const i = (p = e == null ? void 0 : e.useCache) != null ? p : !0;
32441
32441
  if (!n)
@@ -32469,16 +32469,16 @@ function Ec(n, t, e) {
32469
32469
  }
32470
32470
  });
32471
32471
  const a = (b = n.initialConfig) != null ? b : {}, l = tt({}, xv, t.globalConfig, ...Object.values(s)), c = tt({}, l, a), h = {}, u = Object.values(Ht.Mode);
32472
- yl(o).forEach(([P, E]) => {
32472
+ wl(o).forEach(([P, E]) => {
32473
32473
  u.forEach((M) => {
32474
32474
  (P === "PanoramaLike" && ss(M) || P === "ModelLike" && wi(M)) && (h[M] = tt({}, l, ...Object.values(E), a, { _isMerged: !0 }));
32475
32475
  });
32476
- }), yl(r).forEach(([P, E]) => {
32476
+ }), wl(r).forEach(([P, E]) => {
32477
32477
  const M = h[P];
32478
32478
  h[P] = tt({}, l, M, ...Object.values(E), a, { _isMerged: !0 });
32479
32479
  });
32480
32480
  const d = ce(H({}, c), { configWithFiveMode: h });
32481
- return wl(d), Object.values(h).forEach((P) => wl(P)), d._isMerged = !0, d;
32481
+ return Pl(d), Object.values(h).forEach((P) => Pl(P)), d._isMerged = !0, d;
32482
32482
  }
32483
32483
  function $g(n) {
32484
32484
  const t = n.split("?")[0].split(".").pop();
@@ -32572,7 +32572,7 @@ class Ru {
32572
32572
  e.stickType = i;
32573
32573
  const s = JSON.parse(JSON.stringify(e.data)), o = (c = e.initialConfig) != null ? c : e.config ? JSON.parse(JSON.stringify(e.config)) : {};
32574
32574
  e.initialConfig = o;
32575
- const r = Ec(e, t.config), a = this.getConfig(e);
32575
+ const r = Mc(e, t.config), a = this.getConfig(e);
32576
32576
  e.config = a, this.id = (h = e.id) != null ? h : Ot(), this.enabled = (u = e.enabled) != null ? u : !0, this.contentType = e.contentType, this.hoverEnabled = (p = (d = a.popoverConfig) == null ? void 0 : d.enabled) != null ? p : !0, this.data = (g = a.initialData) != null && g.important ? tt(e.data, s, a.initialData) : tt(e.data, a.initialData, s);
32577
32577
  let l;
32578
32578
  typeof a.unfoldedConfig == "object" ? a.unfoldedConfig.keep === "unfolded" ? l = !0 : a.unfoldedConfig.keep === "folded" ? l = !1 : l = !this.can("fold") : l = !this.can("fold"), this.state = H({
@@ -32610,7 +32610,7 @@ class Ru {
32610
32610
  }
32611
32611
  get currentConfig() {
32612
32612
  var s, o;
32613
- const t = Ec(this, this.plugin.config, { useCache: !0 }), e = this.five.getCurrentState().mode, i = (s = t.configWithFiveMode) == null ? void 0 : s[e];
32613
+ const t = Mc(this, this.plugin.config, { useCache: !0 }), e = this.five.getCurrentState().mode, i = (s = t.configWithFiveMode) == null ? void 0 : s[e];
32614
32614
  return (o = i != null ? i : t) != null ? o : {};
32615
32615
  }
32616
32616
  get currentVisible() {
@@ -32684,7 +32684,7 @@ class Ru {
32684
32684
  console.warn("tagDom is empty");
32685
32685
  return;
32686
32686
  }
32687
- const r = s ? zl : r1;
32687
+ const r = s ? Ol : r1;
32688
32688
  this._currentBlinkInstance = r(o, H({
32689
32689
  begin: () => {
32690
32690
  s === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
@@ -32782,7 +32782,7 @@ class Ru {
32782
32782
  }
32783
32783
  getConfig(t, e) {
32784
32784
  var r, a, l;
32785
- const i = Ec(t != null ? t : this, this.plugin.config, { useCache: e == null ? void 0 : e.useCache }), s = (r = e == null ? void 0 : e.fiveMode) != null ? r : this.five.getCurrentState().mode, o = (a = i.configWithFiveMode) == null ? void 0 : a[s];
32785
+ const i = Mc(t != null ? t : this, this.plugin.config, { useCache: e == null ? void 0 : e.useCache }), s = (r = e == null ? void 0 : e.fiveMode) != null ? r : this.five.getCurrentState().mode, o = (a = i.configWithFiveMode) == null ? void 0 : a[s];
32786
32786
  return (l = o != null ? o : i) != null ? l : {};
32787
32787
  }
32788
32788
  getDistance(t, e = 3) {
@@ -33460,8 +33460,8 @@ function ip(n) {
33460
33460
  );
33461
33461
  },
33462
33462
  i(r) {
33463
- o || (r && yt(() => {
33464
- o && (s && s.end(1), i = ps(t, dl, {
33463
+ o || (r && wt(() => {
33464
+ o && (s && s.end(1), i = ps(t, fl, {
33465
33465
  duration: (
33466
33466
  /*duration*/
33467
33467
  n[2]
@@ -33475,7 +33475,7 @@ function ip(n) {
33475
33475
  }), o = !0);
33476
33476
  },
33477
33477
  o(r) {
33478
- i && i.invalidate(), r && (s = Ko(t, dl, {
33478
+ i && i.invalidate(), r && (s = Ko(t, fl, {
33479
33479
  duration: (
33480
33480
  /*duration*/
33481
33481
  n[2]
@@ -33658,7 +33658,7 @@ function np(n) {
33658
33658
  );
33659
33659
  },
33660
33660
  i(r) {
33661
- o || (r && yt(() => {
33661
+ o || (r && wt(() => {
33662
33662
  o && (s && s.end(1), i = ps(t, _t, { duration: (
33663
33663
  /*inDelay*/
33664
33664
  n[0]
@@ -34042,7 +34042,7 @@ function rp(n) {
34042
34042
  n[0] + " svelte-1ogmlqq")) && y(s, "class", o);
34043
34043
  },
34044
34044
  i(u) {
34045
- l || (F(e.$$.fragment, u), u && yt(() => {
34045
+ l || (F(e.$$.fragment, u), u && wt(() => {
34046
34046
  l && (a && a.end(1), r = ps(s, _t, {
34047
34047
  duration: (
34048
34048
  /*duration*/
@@ -35088,8 +35088,8 @@ function gp(n) {
35088
35088
  n = o;
35089
35089
  },
35090
35090
  i(o) {
35091
- s || (o && yt(() => {
35092
- s && (i && i.end(1), e = ps(t, dl, {
35091
+ s || (o && wt(() => {
35092
+ s && (i && i.end(1), e = ps(t, fl, {
35093
35093
  duration: (
35094
35094
  /*duration*/
35095
35095
  n[1]
@@ -35103,7 +35103,7 @@ function gp(n) {
35103
35103
  }), s = !0);
35104
35104
  },
35105
35105
  o(o) {
35106
- e && e.invalidate(), o && (i = Ko(t, dl, {
35106
+ e && e.invalidate(), o && (i = Ko(t, fl, {
35107
35107
  duration: (
35108
35108
  /*duration*/
35109
35109
  n[1]
@@ -35507,7 +35507,7 @@ function Vu(n) {
35507
35507
  };
35508
35508
  }
35509
35509
  const DM = 110, TM = 9, LM = 111, zM = 20;
35510
- function Mc(n) {
35510
+ function kc(n) {
35511
35511
  if ("TouchEvent" in window && n instanceof TouchEvent) {
35512
35512
  const t = n.touches[0];
35513
35513
  return {
@@ -35528,13 +35528,13 @@ function OM(n, { thresholdProvider: t }) {
35528
35528
  }
35529
35529
  function c(d) {
35530
35530
  r = Date.now(), o = 0, a = !0;
35531
- const p = Mc(d);
35531
+ const p = kc(d);
35532
35532
  i = p.x, s = p.y, e("swipeStart", { x: i, y: s }), SM(window, h), xM(window, u);
35533
35533
  }
35534
35534
  function h(d) {
35535
35535
  if (!a)
35536
35536
  return;
35537
- const p = Mc(d), g = p.x - i, m = p.y - s;
35537
+ const p = kc(d), g = p.x - i, m = p.y - s;
35538
35538
  i = p.x, s = p.y, e("swipeMove", { x: i, y: s, dx: g, dy: m }), g !== 0 && Math.sign(g) !== Math.sign(o) && (o = 0), o += g, Math.abs(o) > t() && (e("swipeThresholdReached", { direction: o > 0 ? Yo : ds }), Ap(window, u), bp(window, h));
35539
35539
  }
35540
35540
  function u(d) {
@@ -35542,7 +35542,7 @@ function OM(n, { thresholdProvider: t }) {
35542
35542
  e("swipeFailed");
35543
35543
  return;
35544
35544
  }
35545
- const p = Mc(d);
35545
+ const p = kc(d);
35546
35546
  e("swipeEnd", { x: p.x, y: p.y });
35547
35547
  }
35548
35548
  return MM(n, c), {
@@ -35720,7 +35720,7 @@ function qM({
35720
35720
  e - 1
35721
35721
  );
35722
35722
  }
35723
- function kc({
35723
+ function xc({
35724
35724
  infinite: n,
35725
35725
  pageIndex: t,
35726
35726
  clonesCountHead: e,
@@ -35835,8 +35835,8 @@ function m9(n) {
35835
35835
  }
35836
35836
  return t;
35837
35837
  }
35838
- var v9 = Array.prototype, A9 = Function.prototype, Fv = Object.prototype, xc = Hu["__core-js_shared__"], Pp = function() {
35839
- var n = /[^.]+$/.exec(xc && xc.keys && xc.keys.IE_PROTO || "");
35838
+ var v9 = Array.prototype, A9 = Function.prototype, Fv = Object.prototype, Sc = Hu["__core-js_shared__"], Pp = function() {
35839
+ var n = /[^.]+$/.exec(Sc && Sc.keys && Sc.keys.IE_PROTO || "");
35840
35840
  return n ? "Symbol(src)_1." + n : "";
35841
35841
  }(), Nv = A9.toString, Fu = Fv.hasOwnProperty, Gv = Fv.toString, b9 = RegExp(
35842
35842
  "^" + Nv.call(Fu).replace(h9, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
@@ -35886,21 +35886,21 @@ function k9() {
35886
35886
  this.__data__ = [];
35887
35887
  }
35888
35888
  function x9(n) {
35889
- var t = this.__data__, e = Xl(t, n);
35889
+ var t = this.__data__, e = Yl(t, n);
35890
35890
  if (e < 0)
35891
35891
  return !1;
35892
35892
  var i = t.length - 1;
35893
35893
  return e == i ? t.pop() : y9.call(t, e, 1), !0;
35894
35894
  }
35895
35895
  function S9(n) {
35896
- var t = this.__data__, e = Xl(t, n);
35896
+ var t = this.__data__, e = Yl(t, n);
35897
35897
  return e < 0 ? void 0 : t[e][1];
35898
35898
  }
35899
35899
  function D9(n) {
35900
- return Xl(this.__data__, n) > -1;
35900
+ return Yl(this.__data__, n) > -1;
35901
35901
  }
35902
35902
  function T9(n, t) {
35903
- var e = this.__data__, i = Xl(e, n);
35903
+ var e = this.__data__, i = Yl(e, n);
35904
35904
  return i < 0 ? e.push([n, t]) : e[i][1] = t, this;
35905
35905
  }
35906
35906
  tr.prototype.clear = k9;
@@ -35923,23 +35923,23 @@ function L9() {
35923
35923
  };
35924
35924
  }
35925
35925
  function z9(n) {
35926
- return Yl(this, n).delete(n);
35926
+ return Zl(this, n).delete(n);
35927
35927
  }
35928
35928
  function O9(n) {
35929
- return Yl(this, n).get(n);
35929
+ return Zl(this, n).get(n);
35930
35930
  }
35931
35931
  function j9(n) {
35932
- return Yl(this, n).has(n);
35932
+ return Zl(this, n).has(n);
35933
35933
  }
35934
35934
  function R9(n, t) {
35935
- return Yl(this, n).set(n, t), this;
35935
+ return Zl(this, n).set(n, t), this;
35936
35936
  }
35937
35937
  qs.prototype.clear = L9;
35938
35938
  qs.prototype.delete = z9;
35939
35939
  qs.prototype.get = O9;
35940
35940
  qs.prototype.has = j9;
35941
35941
  qs.prototype.set = R9;
35942
- function Xl(n, t) {
35942
+ function Yl(n, t) {
35943
35943
  for (var e = n.length; e--; )
35944
35944
  if (X9(n[e][0], t))
35945
35945
  return e;
@@ -35968,7 +35968,7 @@ function V9(n) {
35968
35968
  function H9(n) {
35969
35969
  return Uv(n) ? n : W9(n);
35970
35970
  }
35971
- function Yl(n, t) {
35971
+ function Zl(n, t) {
35972
35972
  var e = n.__data__;
35973
35973
  return N9(t) ? e[typeof t == "string" ? "string" : "hash"] : e.map;
35974
35974
  }
@@ -36053,12 +36053,12 @@ function J9(n, t, e) {
36053
36053
  var i = n == null ? void 0 : _9(n, t);
36054
36054
  return i === void 0 ? e : i;
36055
36055
  }
36056
- var Ha = J9, Pl = {}, K9 = {
36056
+ var Ha = J9, Cl = {}, K9 = {
36057
36057
  get exports() {
36058
- return Pl;
36058
+ return Cl;
36059
36059
  },
36060
36060
  set exports(n) {
36061
- Pl = n;
36061
+ Cl = n;
36062
36062
  }
36063
36063
  };
36064
36064
  (function(n, t) {
@@ -36242,7 +36242,7 @@ var Ha = J9, Pl = {}, K9 = {
36242
36242
  function $t(x, G) {
36243
36243
  var K = ur(x) || ro(x) ? _e(x.length, String) : [], le = K.length, We = !!le;
36244
36244
  for (var Fe in x)
36245
- (G || ot.call(x, Fe)) && !(We && (Fe == "length" || wt(Fe, le))) && K.push(Fe);
36245
+ (G || ot.call(x, Fe)) && !(We && (Fe == "length" || Pt(Fe, le))) && K.push(Fe);
36246
36246
  return K;
36247
36247
  }
36248
36248
  function hi(x, G, K) {
@@ -36378,7 +36378,7 @@ var Ha = J9, Pl = {}, K9 = {
36378
36378
  var K = ve(x, G);
36379
36379
  return ti(K) ? K : void 0;
36380
36380
  }
36381
- var q = bs ? Ie(bs, Object) : $l, ne = Nn;
36381
+ var q = bs ? Ie(bs, Object) : ec, ne = Nn;
36382
36382
  (jn && ne(new jn(new ArrayBuffer(1))) != D || ki && ne(new ki()) != d || Ai && ne(Ai.resolve()) != m || Rn && ne(new Rn()) != b || _n && ne(new _n()) != M) && (ne = function(x) {
36383
36383
  var G = jt.call(x), K = G == g ? x.constructor : void 0, le = K ? ni(K) : void 0;
36384
36384
  if (le)
@@ -36436,7 +36436,7 @@ var Ha = J9, Pl = {}, K9 = {
36436
36436
  return lr(x);
36437
36437
  }
36438
36438
  }
36439
- function wt(x, G) {
36439
+ function Pt(x, G) {
36440
36440
  return G = G == null ? s : G, !!G && (typeof x == "number" || te.test(x)) && x > -1 && x % 1 == 0 && x < G;
36441
36441
  }
36442
36442
  function Et(x) {
@@ -36470,16 +36470,16 @@ var Ha = J9, Pl = {}, K9 = {
36470
36470
  return x === G || x !== x && G !== G;
36471
36471
  }
36472
36472
  function ro(x) {
36473
- return Kl(x) && ot.call(x, "callee") && (!Ut.call(x, "callee") || jt.call(x) == o);
36473
+ return $l(x) && ot.call(x, "callee") && (!Ut.call(x, "callee") || jt.call(x) == o);
36474
36474
  }
36475
36475
  var ur = Array.isArray;
36476
36476
  function ao(x) {
36477
36477
  return x != null && ma(x.length) && !dr(x);
36478
36478
  }
36479
- function Kl(x) {
36479
+ function $l(x) {
36480
36480
  return va(x) && ao(x);
36481
36481
  }
36482
- var pa = On || ec;
36482
+ var pa = On || tc;
36483
36483
  function dr(x) {
36484
36484
  var G = Zi(x) ? jt.call(x) : "";
36485
36485
  return G == h || G == u;
@@ -36497,21 +36497,21 @@ var Ha = J9, Pl = {}, K9 = {
36497
36497
  function fr(x) {
36498
36498
  return ao(x) ? $t(x) : Gn(x);
36499
36499
  }
36500
- function $l() {
36500
+ function ec() {
36501
36501
  return [];
36502
36502
  }
36503
- function ec() {
36503
+ function tc() {
36504
36504
  return !1;
36505
36505
  }
36506
36506
  n.exports = fa;
36507
- })(K9, Pl);
36508
- const $9 = Pl;
36509
- var Cl = {}, ek = {
36507
+ })(K9, Cl);
36508
+ const $9 = Cl;
36509
+ var Il = {}, ek = {
36510
36510
  get exports() {
36511
- return Cl;
36511
+ return Il;
36512
36512
  },
36513
36513
  set exports(n) {
36514
- Cl = n;
36514
+ Il = n;
36515
36515
  }
36516
36516
  };
36517
36517
  (function(n, t) {
@@ -36879,7 +36879,7 @@ var Cl = {}, ek = {
36879
36879
  }
36880
36880
  function U(x, G) {
36881
36881
  var K = x.__data__;
36882
- return wt(G) ? K[typeof G == "string" ? "string" : "hash"] : K.map;
36882
+ return Pt(G) ? K[typeof G == "string" ? "string" : "hash"] : K.map;
36883
36883
  }
36884
36884
  function q(x, G) {
36885
36885
  var K = Je(x, G);
@@ -36899,7 +36899,7 @@ var Cl = {}, ek = {
36899
36899
  return x == null ? [] : (x = Object(x), me(Rn(x), function(G) {
36900
36900
  return jn.call(x, G);
36901
36901
  }));
36902
- } : $l, Oe = _i;
36902
+ } : ec, Oe = _i;
36903
36903
  (hn && Oe(new hn(new ArrayBuffer(1))) != I || un && Oe(new un()) != m || ys && Oe(ys.resolve()) != E || ws && Oe(new ws()) != D || Bn && Oe(new Bn()) != A) && (Oe = function(x) {
36904
36904
  var G = _i(x), K = G == P ? x.constructor : void 0, le = K ? ni(K) : "";
36905
36905
  if (le)
@@ -36920,7 +36920,7 @@ var Cl = {}, ek = {
36920
36920
  function Qe(x, G) {
36921
36921
  return G = G == null ? r : G, !!G && (typeof x == "number" || Se.test(x)) && x > -1 && x % 1 == 0 && x < G;
36922
36922
  }
36923
- function wt(x) {
36923
+ function Pt(x) {
36924
36924
  var G = typeof x;
36925
36925
  return G == "string" || G == "number" || G == "symbol" || G == "boolean" ? x !== "__proto__" : x === null;
36926
36926
  }
@@ -36958,8 +36958,8 @@ var Cl = {}, ek = {
36958
36958
  function ur(x) {
36959
36959
  return x != null && dr(x.length) && !pa(x);
36960
36960
  }
36961
- var ao = _n || ec;
36962
- function Kl(x, G) {
36961
+ var ao = _n || tc;
36962
+ function $l(x, G) {
36963
36963
  return mn(x, G);
36964
36964
  }
36965
36965
  function pa(x) {
@@ -36982,15 +36982,15 @@ var Cl = {}, ek = {
36982
36982
  function fr(x) {
36983
36983
  return ur(x) ? Gn(x) : Is(x);
36984
36984
  }
36985
- function $l() {
36985
+ function ec() {
36986
36986
  return [];
36987
36987
  }
36988
- function ec() {
36988
+ function tc() {
36989
36989
  return !1;
36990
36990
  }
36991
- n.exports = Kl;
36992
- })(ek, Cl);
36993
- const tk = Cl, ik = (n, t) => tk(n, t), nk = (n) => Object.keys(n || {}), sk = (n, t) => {
36991
+ n.exports = $l;
36992
+ })(ek, Il);
36993
+ const tk = Il, ik = (n, t) => tk(n, t), nk = (n) => Object.keys(n || {}), sk = (n, t) => {
36994
36994
  const e = {};
36995
36995
  return n.forEach((i) => {
36996
36996
  e[i] = t[i];
@@ -37257,7 +37257,7 @@ function fk(n) {
37257
37257
  },
37258
37258
  methods: {
37259
37259
  _prev({ data: r }) {
37260
- r.currentParticleIndex = kc({
37260
+ r.currentParticleIndex = xc({
37261
37261
  infinite: r.infinite,
37262
37262
  pageIndex: r.currentPageIndex - 1,
37263
37263
  clonesCountHead: r.clonesCountHead,
@@ -37268,7 +37268,7 @@ function fk(n) {
37268
37268
  });
37269
37269
  },
37270
37270
  _next({ data: r }) {
37271
- r.currentParticleIndex = kc({
37271
+ r.currentParticleIndex = xc({
37272
37272
  infinite: r.infinite,
37273
37273
  pageIndex: r.currentPageIndex + 1,
37274
37274
  clonesCountHead: r.clonesCountHead,
@@ -37347,7 +37347,7 @@ function fk(n) {
37347
37347
  });
37348
37348
  },
37349
37349
  _getParticleIndexByPageIndex({ data: r }, a) {
37350
- return kc({
37350
+ return xc({
37351
37351
  infinite: r.infinite,
37352
37352
  pageIndex: a,
37353
37353
  clonesCountHead: r.clonesCountHead,
@@ -37985,7 +37985,7 @@ function Ck(n, t, e) {
37985
37985
  }
37986
37986
  St(() => {
37987
37987
  ie(this, null, function* () {
37988
- yield cl(), te && J && (u.particlesCountWithoutClones = te.children.length, yield cl(), u.infinite && oe(), u.particlesCount = te.children.length, p.showPage(E, { animated: !1 }), $.observe(J));
37988
+ yield hl(), te && J && (u.particlesCountWithoutClones = te.children.length, yield hl(), u.infinite && oe(), u.particlesCount = te.children.length, p.showPage(E, { animated: !1 }), $.observe(J));
37989
37989
  });
37990
37990
  }), Kt(() => {
37991
37991
  $.disconnect(), d.reset();
@@ -38599,7 +38599,7 @@ function _p(n) {
38599
38599
  );
38600
38600
  },
38601
38601
  i(u) {
38602
- a || (F(s), u && yt(() => {
38602
+ a || (F(s), u && wt(() => {
38603
38603
  a && (r && r.end(1), o = ps(
38604
38604
  t,
38605
38605
  jd,
@@ -38670,7 +38670,7 @@ function zk(n) {
38670
38670
  return (
38671
38671
  /*mediaInstanceList*/
38672
38672
  n[8][0] !== void 0 && (r.mediaInstance = /*mediaInstanceList*/
38673
- n[8][0]), t = new Xv({ props: r }), Ye.push(() => Vl(t, "mediaInstance", o)), {
38673
+ n[8][0]), t = new Xv({ props: r }), Ye.push(() => Hl(t, "mediaInstance", o)), {
38674
38674
  c() {
38675
38675
  pe(t.$$.fragment);
38676
38676
  },
@@ -38703,7 +38703,7 @@ function zk(n) {
38703
38703
  ]) : {};
38704
38704
  !e && l[0] & /*mediaInstanceList*/
38705
38705
  256 && (e = !0, c.mediaInstance = /*mediaInstanceList*/
38706
- a[8][0], Bl(() => e = !1)), t.$set(c);
38706
+ a[8][0], Vl(() => e = !1)), t.$set(c);
38707
38707
  },
38708
38708
  i(a) {
38709
38709
  i || (F(t.$$.fragment, a), i = !0);
@@ -38785,7 +38785,7 @@ function Bp(n) {
38785
38785
  n[8][
38786
38786
  /*index*/
38787
38787
  n[30]
38788
- ]), t = new Xv({ props: r }), Ye.push(() => Vl(t, "mediaInstance", o)), {
38788
+ ]), t = new Xv({ props: r }), Ye.push(() => Hl(t, "mediaInstance", o)), {
38789
38789
  c() {
38790
38790
  pe(t.$$.fragment);
38791
38791
  },
@@ -38817,7 +38817,7 @@ function Bp(n) {
38817
38817
  n[8][
38818
38818
  /*index*/
38819
38819
  n[30]
38820
- ], Bl(() => e = !1)), t.$set(c);
38820
+ ], Vl(() => e = !1)), t.$set(c);
38821
38821
  },
38822
38822
  i(a) {
38823
38823
  i || (F(t.$$.fragment, a), i = !0);
@@ -39636,7 +39636,7 @@ function Xk(n) {
39636
39636
  "border-top-right-radius",
39637
39637
  /*data*/
39638
39638
  n[1].headerPictureUrl ? "0px" : "6px"
39639
- ), y(t, "class", P = Pt(`marketing ${/*theme*/
39639
+ ), y(t, "class", P = Ct(`marketing ${/*theme*/
39640
39640
  n[5]}`) + " svelte-rehsoc"), Ce(
39641
39641
  t,
39642
39642
  "unfolded",
@@ -39704,7 +39704,7 @@ function Xk(n) {
39704
39704
  /*data*/
39705
39705
  O[1].headerPictureUrl ? "0px" : "6px"
39706
39706
  ), (!E || A & /*theme*/
39707
- 32 && P !== (P = Pt(`marketing ${/*theme*/
39707
+ 32 && P !== (P = Ct(`marketing ${/*theme*/
39708
39708
  O[5]}`) + " svelte-rehsoc")) && y(t, "class", P), (!E || A & /*theme, unfolded*/
39709
39709
  96) && Ce(
39710
39710
  t,
@@ -40398,7 +40398,7 @@ function i7(n, t, e) {
40398
40398
  g
40399
40399
  ];
40400
40400
  }
40401
- class Zl extends Pe {
40401
+ class ql extends Pe {
40402
40402
  constructor(t) {
40403
40403
  super(), we(
40404
40404
  this,
@@ -40617,7 +40617,7 @@ function nm(n) {
40617
40617
  8196 && (h.$$scope = { dirty: c, ctx: n }), s.$set(h);
40618
40618
  },
40619
40619
  i(l) {
40620
- a || (F(e.$$.fragment, l), F(s.$$.fragment, l), l && yt(() => {
40620
+ a || (F(e.$$.fragment, l), F(s.$$.fragment, l), l && wt(() => {
40621
40621
  a && (r && r.end(1), o = ps(t, _t, {
40622
40622
  duration: 1e3,
40623
40623
  delay: 0,
@@ -40644,7 +40644,7 @@ function nm(n) {
40644
40644
  }
40645
40645
  function s7(n) {
40646
40646
  let t, e, i;
40647
- return e = new Zl({ props: { playing: (
40647
+ return e = new ql({ props: { playing: (
40648
40648
  /*playing*/
40649
40649
  n[2]
40650
40650
  ) } }), {
@@ -40853,7 +40853,7 @@ function c7(n) {
40853
40853
  }
40854
40854
  function h7(n) {
40855
40855
  let t, e, i, s, o, r, a;
40856
- return i = new Zl({ props: { playing: (
40856
+ return i = new ql({ props: { playing: (
40857
40857
  /*playing*/
40858
40858
  n[3]
40859
40859
  ) } }), r = new Bu({
@@ -41226,7 +41226,7 @@ class P7 extends Pe {
41226
41226
  super(), we(this, t, w7, y7, ye, { tag: 0 }, b7);
41227
41227
  }
41228
41228
  }
41229
- const Sc = /* @__PURE__ */ new Map();
41229
+ const Dc = /* @__PURE__ */ new Map();
41230
41230
  function Zv(n) {
41231
41231
  return ie(this, null, function* () {
41232
41232
  return new Promise((t, e) => {
@@ -41242,10 +41242,10 @@ function Zv(n) {
41242
41242
  function C7(n) {
41243
41243
  return ie(this, null, function* () {
41244
41244
  const { url: t, ratio: e = 3 } = n, i = (() => {
41245
- if (Sc.has(t))
41246
- return Sc.get(t);
41245
+ if (Dc.has(t))
41246
+ return Dc.get(t);
41247
41247
  const r = Zv(t);
41248
- return Sc.set(t, r), r;
41248
+ return Dc.set(t, r), r;
41249
41249
  })(), { width: s, height: o } = yield i;
41250
41250
  return ce(H({}, n), {
41251
41251
  width: s / e,
@@ -41378,7 +41378,7 @@ function E7(n, t) {
41378
41378
  });
41379
41379
  });
41380
41380
  }
41381
- function Dc(n) {
41381
+ function Tc(n) {
41382
41382
  if (!n)
41383
41383
  return;
41384
41384
  const t = Or.getInstance(), e = n.querySelectorAll("*");
@@ -42083,15 +42083,15 @@ function N7(n, t, e) {
42083
42083
  }
42084
42084
  function I() {
42085
42085
  return ie(this, null, function* () {
42086
- if (!u || !D && (yield cl(), !D) || !Er(i))
42086
+ if (!u || !D && (yield hl(), !D) || !Er(i))
42087
42087
  return;
42088
- L && (Dc(L), e(18, L = null)), i && (e(3, R = yield C(i)), yield cl());
42088
+ L && (Tc(L), e(18, L = null)), i && (e(3, R = yield C(i)), yield hl());
42089
42089
  const S = D.querySelector("svg");
42090
42090
  S && (e(18, L = S), E7(L, u));
42091
42091
  });
42092
42092
  }
42093
42093
  Kt(() => {
42094
- L && Dc(L);
42094
+ L && Tc(L);
42095
42095
  });
42096
42096
  function k(S) {
42097
42097
  Ye[S ? "unshift" : "push"](() => {
@@ -42120,7 +42120,7 @@ function N7(n, t, e) {
42120
42120
  B && B !== A && (e(19, A = B), I());
42121
42121
  }
42122
42122
  n.$$.dirty & /*iconAnimation, iconUrl, currentSvgEl, svgHtml, prevAnimationKey*/
42123
- 786488 && (!u || !Er(i)) && (L && (Dc(L), e(18, L = null)), R !== null && e(3, R = null), A !== null && e(19, A = null)), n.$$.dirty & /*prevAnimationKey, svgContainer, iconAnimation, iconUrl, currentSvgEl*/
42123
+ 786488 && (!u || !Er(i)) && (L && (Tc(L), e(18, L = null)), R !== null && e(3, R = null), A !== null && e(19, A = null)), n.$$.dirty & /*prevAnimationKey, svgContainer, iconAnimation, iconUrl, currentSvgEl*/
42124
42124
  786484 && A && D && u && Er(i) && !L && I();
42125
42125
  }, z(), [
42126
42126
  b,
@@ -42701,7 +42701,7 @@ function h6(n) {
42701
42701
  "unfolded",
42702
42702
  /*tag*/
42703
42703
  (z = n[0].state) == null ? void 0 : z.unfolded
42704
- ), y(e, "class", "content__wrapper svelte-1fy4duy"), y(t, "class", p = Pt(gi(
42704
+ ), y(e, "class", "content__wrapper svelte-1fy4duy"), y(t, "class", p = Ct(gi(
42705
42705
  "content__container",
42706
42706
  /*tag*/
42707
42707
  n[0].className
@@ -42756,7 +42756,7 @@ function h6(n) {
42756
42756
  /*tag*/
42757
42757
  (L = z[0].state) == null ? void 0 : L.unfolded
42758
42758
  ), (!m || D & /*tag*/
42759
- 1 && p !== (p = Pt(gi(
42759
+ 1 && p !== (p = Ct(gi(
42760
42760
  "content__container",
42761
42761
  /*tag*/
42762
42762
  z[0].className
@@ -42822,7 +42822,7 @@ function u6(n) {
42822
42822
  }
42823
42823
  }), {
42824
42824
  c() {
42825
- t = W("div"), pe(e.$$.fragment), y(t, "class", i = Pt(gi(
42825
+ t = W("div"), pe(e.$$.fragment), y(t, "class", i = Ct(gi(
42826
42826
  "content__container",
42827
42827
  /*tag*/
42828
42828
  n[0].className
@@ -42856,7 +42856,7 @@ function u6(n) {
42856
42856
  )), c & /*rendererMap*/
42857
42857
  4 && (h.rendererMap = /*rendererMap*/
42858
42858
  l[2]), e.$set(h), (!o || c & /*tag*/
42859
- 1 && i !== (i = Pt(gi(
42859
+ 1 && i !== (i = Ct(gi(
42860
42860
  "content__container",
42861
42861
  /*tag*/
42862
42862
  l[0].className
@@ -43159,7 +43159,7 @@ function b6(n) {
43159
43159
  }
43160
43160
  function y6(n, t, e) {
43161
43161
  let i, s, o, r, a, l, { tag: c } = t, { hooks: h } = t, { rendererMap: u = /* @__PURE__ */ new Map() } = t, { contentTypeMap: d = /* @__PURE__ */ new Map() } = t, { state: p } = t, { mediaStore: g } = t, { temporaryState: m } = t;
43162
- ll("hooks", h), ll("mediaStore", g);
43162
+ cl("hooks", h), cl("mediaStore", g);
43163
43163
  let v, b;
43164
43164
  function P(L) {
43165
43165
  L ? h.emit("exposure", { id: r, type: "start" }) : h.emit("exposure", { id: r, type: "end" });
@@ -43457,7 +43457,7 @@ function I6(n) {
43457
43457
  }
43458
43458
  function E6(n) {
43459
43459
  let t, e, i, s, o;
43460
- return e = new Zl({
43460
+ return e = new ql({
43461
43461
  props: { playing: (
43462
43462
  /*playing*/
43463
43463
  n[0]
@@ -44347,7 +44347,7 @@ function ix(n) {
44347
44347
  }
44348
44348
  function nx(n) {
44349
44349
  let t, e, i, s, o, r, a, l, c, h, u, d;
44350
- return i = new Zl({
44350
+ return i = new ql({
44351
44351
  props: { playing: (
44352
44352
  /*playing*/
44353
44353
  n[0]
@@ -46111,7 +46111,7 @@ function jm(n) {
46111
46111
  );
46112
46112
  },
46113
46113
  i(h) {
46114
- a || (F(i.$$.fragment, h), yt(() => {
46114
+ a || (F(i.$$.fragment, h), wt(() => {
46115
46115
  a && (s || (s = zi(
46116
46116
  e,
46117
46117
  /*fadeAndFly*/
@@ -46598,7 +46598,7 @@ function Bx(n) {
46598
46598
  return (
46599
46599
  /*tagPointClickHelper*/
46600
46600
  n[12] !== void 0 && (o.tagPointClickHelper = /*tagPointClickHelper*/
46601
- n[12]), t = new R6({ props: o }), Ye.push(() => Vl(t, "tagPointClickHelper", s)), n[35](t), t.$on(
46601
+ n[12]), t = new R6({ props: o }), Ye.push(() => Hl(t, "tagPointClickHelper", s)), n[35](t), t.$on(
46602
46602
  "audioInstanceReady",
46603
46603
  /*audioEventHandlers*/
46604
46604
  n[27].audioInstanceReady
@@ -46631,7 +46631,7 @@ function Bx(n) {
46631
46631
  1 && (l.tag = /*tag*/
46632
46632
  r[0]), !e && a[0] & /*tagPointClickHelper*/
46633
46633
  4096 && (e = !0, l.tagPointClickHelper = /*tagPointClickHelper*/
46634
- r[12], Bl(() => e = !1)), t.$set(l);
46634
+ r[12], Vl(() => e = !1)), t.$set(l);
46635
46635
  },
46636
46636
  i(r) {
46637
46637
  i || (F(t.$$.fragment, r), i = !0);
@@ -47127,7 +47127,7 @@ function Vm(n) {
47127
47127
  if (!r) {
47128
47128
  for (let h = 0; h < a.length; h += 1)
47129
47129
  F(e[h]);
47130
- o || yt(() => {
47130
+ o || wt(() => {
47131
47131
  o = ps(t, _t, {}), o.start();
47132
47132
  }), r = !0;
47133
47133
  }
@@ -47255,7 +47255,7 @@ function Qx(n) {
47255
47255
  }
47256
47256
  function Xx(n, t, e) {
47257
47257
  let { tags: i = [] } = t, { hooks: s } = t, { mediaStore: o } = t, { rendererMap: r } = t, { contentTypeMap: a } = t, { state: l } = t, { temporaryState: c } = t, { zIndex: h = void 0 } = t, u = null, d = null, p = 2e3;
47258
- ll("hooks", s), ll("mediaStore", o), St(() => {
47258
+ cl("hooks", s), cl("mediaStore", o), St(() => {
47259
47259
  e(8, d = Wx(p));
47260
47260
  });
47261
47261
  function g(m) {
@@ -47698,12 +47698,12 @@ class wh extends d8 {
47698
47698
  this.state.enabled && (this.filterPointTag.forEach((c) => c.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
47699
47699
  }, s = () => {
47700
47700
  this.state.enabled && (this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
47701
- }, { observe: o, unobserve: r } = qa(
47701
+ }, { observe: o, unobserve: r } = Ja(
47702
47702
  ZE(() => {
47703
47703
  this.store.resizeObserverDisposer && s();
47704
47704
  }, 500),
47705
47705
  e
47706
- ), { observe: a, unobserve: l } = qa(
47706
+ ), { observe: a, unobserve: l } = Ja(
47707
47707
  Kg(() => i(), 400),
47708
47708
  e
47709
47709
  );
@@ -48028,13 +48028,13 @@ function Jx(n, t, e) {
48028
48028
  var E, M;
48029
48029
  n.$$.dirty & /*fontSize*/
48030
48030
  2048 && e(13, i = mu[b]), n.$$.dirty & /*fontConfig*/
48031
- 8192 && e(9, s = Ct((i == null ? void 0 : i.name) || 12)), n.$$.dirty & /*fontConfig*/
48031
+ 8192 && e(9, s = ut((i == null ? void 0 : i.name) || 12)), n.$$.dirty & /*fontConfig*/
48032
48032
  8192 && e(15, o = ((E = i == null ? void 0 : i.padding) == null ? void 0 : E.guide) || [8, 2]), n.$$.dirty & /*padding*/
48033
- 32768 && e(8, r = `${Ct(o[1])} ${Ct(o[0])}`), n.$$.dirty & /*fontConfig*/
48033
+ 32768 && e(8, r = `${ut(o[1])} ${ut(o[0])}`), n.$$.dirty & /*fontConfig*/
48034
48034
  8192 && e(14, a = ((M = i == null ? void 0 : i.padding) == null ? void 0 : M.distance) || [4, 2]), n.$$.dirty & /*distancePadding*/
48035
- 16384 && e(7, l = `${Ct(a[1])} ${Ct(a[0])}`), n.$$.dirty & /*fontConfig*/
48035
+ 16384 && e(7, l = `${ut(a[1])} ${ut(a[0])}`), n.$$.dirty & /*fontConfig*/
48036
48036
  8192 && e(12, c = (i == null ? void 0 : i.lineHeight) || 14), n.$$.dirty & /*lineHeight*/
48037
- 4096 && e(6, h = Ct(c));
48037
+ 4096 && e(6, h = ut(c));
48038
48038
  }, [
48039
48039
  u,
48040
48040
  d,
@@ -48408,7 +48408,7 @@ class Ph {
48408
48408
  var i, s, o, r, a;
48409
48409
  if (this.disposed)
48410
48410
  return this.logError("disposed");
48411
- this.setDefaultVisible((i = t == null ? void 0 : t.visible) != null ? i : !1), this.setColor((s = t == null ? void 0 : t.color) != null ? s : "#ffffff"), this.setOpacity((o = t == null ? void 0 : t.opacity) != null ? o : 0.5), this.setTextureUrl((a = (r = t == null ? void 0 : t.texture) == null ? void 0 : r.url) != null ? a : Rl), (t == null ? void 0 : t.background_color) !== void 0 && this.setBackgroundColor(t.background_color), (t == null ? void 0 : t.background_opacity) !== void 0 && this.setBackgroundOpacity(t.background_opacity), (t == null ? void 0 : t.border_color) !== void 0 && this.setBorderColor(t.border_color), (t == null ? void 0 : t.border_opacity) !== void 0 && this.setBorderOpacity(t.border_opacity), (t == null ? void 0 : t.border_width) !== void 0 && this.setBorderWidth(t.border_width), (t == null ? void 0 : t.background_clip) !== void 0 && this.setBackgroundClip(t.background_clip);
48411
+ this.setDefaultVisible((i = t == null ? void 0 : t.visible) != null ? i : !1), this.setColor((s = t == null ? void 0 : t.color) != null ? s : "#ffffff"), this.setOpacity((o = t == null ? void 0 : t.opacity) != null ? o : 0.5), this.setTextureUrl((a = (r = t == null ? void 0 : t.texture) == null ? void 0 : r.url) != null ? a : _l), (t == null ? void 0 : t.background_color) !== void 0 && this.setBackgroundColor(t.background_color), (t == null ? void 0 : t.background_opacity) !== void 0 && this.setBackgroundOpacity(t.background_opacity), (t == null ? void 0 : t.border_color) !== void 0 && this.setBorderColor(t.border_color), (t == null ? void 0 : t.border_opacity) !== void 0 && this.setBorderOpacity(t.border_opacity), (t == null ? void 0 : t.border_width) !== void 0 && this.setBorderWidth(t.border_width), (t == null ? void 0 : t.background_clip) !== void 0 && this.setBackgroundClip(t.background_clip);
48412
48412
  const e = H(H({}, this.materialStyle), t);
48413
48413
  this.materialStyle = e;
48414
48414
  }
@@ -48514,7 +48514,7 @@ class Ph {
48514
48514
  var t, e, i, s, o, r;
48515
48515
  if (this.disposed)
48516
48516
  return this.logError("disposed");
48517
- zl([this.group, (i = (e = (t = this.startTagContainer) == null ? void 0 : t.plugin) == null ? void 0 : e.tags[0]) == null ? void 0 : i.dom, (r = (o = (s = this.endTagContainer) == null ? void 0 : s.plugin) == null ? void 0 : o.tags[0]) == null ? void 0 : r.dom], {
48517
+ Ol([this.group, (i = (e = (t = this.startTagContainer) == null ? void 0 : t.plugin) == null ? void 0 : e.tags[0]) == null ? void 0 : i.dom, (r = (o = (s = this.endTagContainer) == null ? void 0 : s.plugin) == null ? void 0 : o.tags[0]) == null ? void 0 : r.dom], {
48518
48518
  loop: 6,
48519
48519
  updateRender: () => {
48520
48520
  this.five.needsRender = !0;
@@ -48585,7 +48585,7 @@ function nS(n) {
48585
48585
  const dL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
48586
48586
  __proto__: null,
48587
48587
  GuideLineModeItem: Ph
48588
- }, Symbol.toStringTag, { value: "Module" })), eA = "CruisePlugin", Tc = `${eA}`;
48588
+ }, Symbol.toStringTag, { value: "Module" })), eA = "CruisePlugin", Lc = `${eA}`;
48589
48589
  class tA extends ms {
48590
48590
  constructor(e, i) {
48591
48591
  super(e, i);
@@ -48606,13 +48606,13 @@ class tA extends ms {
48606
48606
  });
48607
48607
  f(this, "GuideLine");
48608
48608
  f(this, "disposedErrorLog", () => {
48609
- console.error(`${Tc} is disposed`);
48609
+ console.error(`${Lc} is disposed`);
48610
48610
  });
48611
48611
  f(this, "disableWarnLog", () => {
48612
- console.warn(`${Tc} is disabled`);
48612
+ console.warn(`${Lc} is disabled`);
48613
48613
  });
48614
48614
  f(this, "disableErrorLog", () => {
48615
- console.error(`${Tc} is disabled`);
48615
+ console.error(`${Lc} is disabled`);
48616
48616
  });
48617
48617
  this.config = i, Object.assign(window, { [`__${eA}_DEBUG__`]: this });
48618
48618
  }
@@ -48760,7 +48760,7 @@ class tA extends ms {
48760
48760
  i != null && i.warnLog && this.disableWarnLog();
48761
48761
  }
48762
48762
  }
48763
- function Lc(n, t, e) {
48763
+ function zc(n, t, e) {
48764
48764
  var l, c, h;
48765
48765
  const i = new w.Vector3().fromArray([(l = e.x) != null ? l : 0, (c = e.y) != null ? c : 0, (h = e.z) != null ? h : 0]), s = n.getPointAt(t).clone().add(i), o = n.getTangentAt(t), { longitude: r, latitude: a } = sa(o);
48766
48766
  return { offset: s.clone(), longitude: r, latitude: a, distance: 0 };
@@ -48778,7 +48778,7 @@ let iA = class extends tA {
48778
48778
  this.state.speed = e, this.hooks.emit("speedChange", e, { userAction: i });
48779
48779
  });
48780
48780
  f(this, "moveToStart", () => {
48781
- this.five.setState(ce(H({}, Lc(this.curve, 0, this.curveOffset)), { mode: "Model" }));
48781
+ this.five.setState(ce(H({}, zc(this.curve, 0, this.curveOffset)), { mode: "Model" }));
48782
48782
  });
48783
48783
  f(this, "playFromStart", () => {
48784
48784
  this.clearPauseData(), this.setState({ playing: !0 });
@@ -48847,7 +48847,7 @@ let iA = class extends tA {
48847
48847
  const s = this.getPauseData();
48848
48848
  let o = (l = s == null ? void 0 : s.playedProgress) != null ? l : 0;
48849
48849
  (o < 0 || o >= 1) && (o = 0);
48850
- const r = Lc(this.curve, o, this.curveOffset);
48850
+ const r = zc(this.curve, o, this.curveOffset);
48851
48851
  if (this.hooks.emit("progressChange", o), this.five.setState(ce(H({}, r), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
48852
48852
  const c = this.addInterruptListener(() => {
48853
48853
  this.state.playing && (this.hooks.emit("broke"), this.handlePause(), c(), i(new Error("broke")));
@@ -48860,7 +48860,7 @@ let iA = class extends tA {
48860
48860
  else if (this.state.playing === !1)
48861
48861
  this.five.off("renderFrame", a);
48862
48862
  else if (c >= 0) {
48863
- const h = Lc(this.curve, c, this.curveOffset);
48863
+ const h = zc(this.curve, c, this.curveOffset);
48864
48864
  this.hooks.emit("progressChange", c), this.five.setState(h, !0);
48865
48865
  }
48866
48866
  };
@@ -49499,7 +49499,7 @@ let cS = class extends cn {
49499
49499
  }
49500
49500
  processItemUrls(e) {
49501
49501
  var o, r, a, l;
49502
- const i = H({}, e), s = Rl;
49502
+ const i = H({}, e), s = _l;
49503
49503
  if (i.panorama_style) {
49504
49504
  const c = (r = (o = i.panorama_style.texture) == null ? void 0 : o.url) != null ? r : s;
49505
49505
  i.panorama_style = ce(H({}, i.panorama_style), {
@@ -49684,7 +49684,7 @@ function vS(n, t) {
49684
49684
  y: -(n.y - s) / i * 2 + 1
49685
49685
  });
49686
49686
  }
49687
- function ql(n, t, e) {
49687
+ function Jl(n, t, e) {
49688
49688
  if (!t || !e || !n)
49689
49689
  return;
49690
49690
  const i = vS(t, e);
@@ -49713,7 +49713,7 @@ const Fi = {
49713
49713
  // 拖拽面片 - 最高优先级
49714
49714
  DRAG_FACE_PATCH: 10004
49715
49715
  };
49716
- class zc extends mS {
49716
+ class Oc extends mS {
49717
49717
  constructor(e) {
49718
49718
  var h;
49719
49719
  super(e.direction);
@@ -49744,20 +49744,20 @@ class zc extends mS {
49744
49744
  this.line.geometry.translate(0, this.lineHeight / 2, 0), this.direction === "x" ? (this.line.geometry.rotateX(Math.PI / 2), this.line.geometry.rotateY(Math.PI / 2)) : this.direction === "z" && this.line.geometry.rotateX(Math.PI / 2);
49745
49745
  }
49746
49746
  }
49747
- const Oc = {
49747
+ const jc = {
49748
49748
  X: 16730698,
49749
49749
  Y: 54927,
49750
49750
  Z: 3368703
49751
49751
  };
49752
49752
  class To {
49753
49753
  static get X() {
49754
- return new w.Color(Oc.X).convertSRGBToLinear().clone();
49754
+ return new w.Color(jc.X).convertSRGBToLinear().clone();
49755
49755
  }
49756
49756
  static get Y() {
49757
- return new w.Color(Oc.Y).convertSRGBToLinear().clone();
49757
+ return new w.Color(jc.Y).convertSRGBToLinear().clone();
49758
49758
  }
49759
49759
  static get Z() {
49760
- return new w.Color(Oc.Z).convertSRGBToLinear().clone();
49760
+ return new w.Color(jc.Z).convertSRGBToLinear().clone();
49761
49761
  }
49762
49762
  }
49763
49763
  function Zu(n, t, e) {
@@ -49771,16 +49771,16 @@ function bS(n) {
49771
49771
  let t = n.pose.latitude, e = n.pose.longitude;
49772
49772
  if (pi(t) || pi(e)) {
49773
49773
  const i = n.matrix.elements;
49774
- t = Math.asin(AS(i[9], -1, 1)), Math.abs(i[9]) < 0.9999999 ? e = Jc(Math.atan2(i[8], i[10])) : e = Jc(Math.atan2(-i[2], i[0]));
49774
+ t = Math.asin(AS(i[9], -1, 1)), Math.abs(i[9]) < 0.9999999 ? e = Kc(Math.atan2(i[8], i[10])) : e = Kc(Math.atan2(-i[2], i[0]));
49775
49775
  }
49776
49776
  return { latitude: t, longitude: e };
49777
49777
  }
49778
49778
  function yS(n) {
49779
49779
  const { latitude: t, longitude: e } = n, i = new w.Vector3();
49780
- return Qm - t < 0.03 ? i.set(0, 1, 0) : jc(0, e) ? i.set(0, 0, 1) : jc(Math.PI, e) ? i.set(0, 0, -1) : jc(Qm, e) ? i.set(1, 0, 0) : i.set(-1, 0, 0), i;
49780
+ return Qm - t < 0.03 ? i.set(0, 1, 0) : Rc(0, e) ? i.set(0, 0, 1) : Rc(Math.PI, e) ? i.set(0, 0, -1) : Rc(Qm, e) ? i.set(1, 0, 0) : i.set(-1, 0, 0), i;
49781
49781
  }
49782
49782
  const Qm = Number((Math.PI / 2).toFixed(5));
49783
- function jc(n, t) {
49783
+ function Rc(n, t) {
49784
49784
  return typeof n != "number" || typeof t != "number" ? !1 : Math.abs(n - t) < 1e-3;
49785
49785
  }
49786
49786
  class wS extends uS {
@@ -49791,7 +49791,7 @@ class wS extends uS {
49791
49791
  f(this, "yArrow");
49792
49792
  f(this, "zArrow");
49793
49793
  f(this, "centerHandle");
49794
- i.xArrowEnable !== !1 && (this.xArrow = new zc({ direction: "x", color: To.X })), i.yArrowEnable !== !1 && (this.yArrow = new zc({ direction: "y", color: To.Y })), i.zArrowEnable !== !1 && (this.zArrow = new zc({ direction: "z", color: To.Z }));
49794
+ i.xArrowEnable !== !1 && (this.xArrow = new Oc({ direction: "x", color: To.X })), i.yArrowEnable !== !1 && (this.yArrow = new Oc({ direction: "y", color: To.Y })), i.zArrowEnable !== !1 && (this.zArrow = new Oc({ direction: "z", color: To.Z }));
49795
49795
  const s = new w.Color(16419862), o = 0.07, r = new w.BoxGeometry(o, o, o), a = new w.MeshBasicMaterial({
49796
49796
  color: s,
49797
49797
  transparent: !0,
@@ -49877,7 +49877,7 @@ class IS extends fS {
49877
49877
  f(this, "children", []);
49878
49878
  f(this, "angleTips");
49879
49879
  f(this, "container");
49880
- (i == null ? void 0 : i.yzCircleEnable) !== !1 && (this.xCircle = new Rc({ direction: "x", color: To.X })), (i == null ? void 0 : i.xzCircleEnable) !== !1 && (this.yCircle = new Rc({ direction: "y", color: To.Y })), (i == null ? void 0 : i.xyCircleEnable) !== !1 && (this.zCircle = new Rc({ direction: "z", color: To.Z })), i != null && i.container && (i == null ? void 0 : i.angleTipsEnable) !== !1 && (this.container = i == null ? void 0 : i.container, this.angleTips = CS({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
49880
+ (i == null ? void 0 : i.yzCircleEnable) !== !1 && (this.xCircle = new _c({ direction: "x", color: To.X })), (i == null ? void 0 : i.xzCircleEnable) !== !1 && (this.yCircle = new _c({ direction: "y", color: To.Y })), (i == null ? void 0 : i.xyCircleEnable) !== !1 && (this.zCircle = new _c({ direction: "z", color: To.Z })), i != null && i.container && (i == null ? void 0 : i.angleTipsEnable) !== !1 && (this.container = i == null ? void 0 : i.container, this.angleTips = CS({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[this.xCircle, this.yCircle, this.zCircle].filter(Boolean)), this.show();
49881
49881
  }
49882
49882
  hide() {
49883
49883
  this.children.forEach((e) => e.hide());
@@ -49917,7 +49917,7 @@ class IS extends fS {
49917
49917
  this.removeFromParent(), (i = (e = this.angleTips) == null ? void 0 : e.element) == null || i.remove();
49918
49918
  }
49919
49919
  }
49920
- class Rc extends w.Group {
49920
+ class _c extends w.Group {
49921
49921
  constructor(e) {
49922
49922
  super();
49923
49923
  f(this, "direction");
@@ -50648,7 +50648,7 @@ class zS extends ua {
50648
50648
  f(this, "dragging", (e) => {
50649
50649
  if (!this.isDragging || !this.startInfo)
50650
50650
  return;
50651
- const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, o = ql(this.camera, { x: i, y: s }, this.container);
50651
+ const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, o = Jl(this.camera, { x: i, y: s }, this.container);
50652
50652
  return o ? (this.move(o), !1) : this.dragEnd();
50653
50653
  });
50654
50654
  f(this, "dragEnd", () => {
@@ -50925,7 +50925,7 @@ class VS {
50925
50925
  function mo(n) {
50926
50926
  return n * Math.PI / 180;
50927
50927
  }
50928
- let _c = new w.Quaternion();
50928
+ let Bc = new w.Quaternion();
50929
50929
  class HS extends ua {
50930
50930
  constructor(...e) {
50931
50931
  var h, u, d;
@@ -51010,7 +51010,7 @@ class HS extends ua {
51010
51010
  angleHelper: r,
51011
51011
  angle: 0,
51012
51012
  helperQuaternion: l.clone()
51013
- }, _c = new w.Quaternion(), this.helperObject3D.showDraggingHelper([s]), this.hooks.emit("rotateStart"), this.isDragging = !0;
51013
+ }, Bc = new w.Quaternion(), this.helperObject3D.showDraggingHelper([s]), this.hooks.emit("rotateStart"), this.isDragging = !0;
51014
51014
  }
51015
51015
  getMatrix() {
51016
51016
  var i, s;
@@ -51047,7 +51047,7 @@ class HS extends ua {
51047
51047
  dragging(e) {
51048
51048
  if (!this.isDragging)
51049
51049
  return;
51050
- const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, o = ql(this.camera, { x: i, y: s }, this.container);
51050
+ const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, o = Jl(this.camera, { x: i, y: s }, this.container);
51051
51051
  return o ? (this.rotate(o), !1) : this.dragEnd();
51052
51052
  }
51053
51053
  rotate(e) {
@@ -51074,11 +51074,11 @@ class HS extends ua {
51074
51074
  const M = new w.Vector3().subVectors(l.position, h).applyQuaternion(m).add(h);
51075
51075
  l.position.copy(M);
51076
51076
  }
51077
- l.applyQuaternion(m), _c.premultiply(m), this.internalHooks.emit("applyObjectRotate", { quaternion: m, origin: h }), this.hooks.emit("rotate", l.quaternion), this.startInfo.startVector = d;
51077
+ l.applyQuaternion(m), Bc.premultiply(m), this.internalHooks.emit("applyObjectRotate", { quaternion: m, origin: h }), this.hooks.emit("rotate", l.quaternion), this.startInfo.startVector = d;
51078
51078
  }
51079
51079
  dragEnd() {
51080
51080
  var e;
51081
- this.isDragging && (this.applyHelperQuaternion(_c, this.rotateCenter), (e = this.startInfo) != null && e.lineMeshes && this.startInfo.lineMeshes.forEach((i) => {
51081
+ this.isDragging && (this.applyHelperQuaternion(Bc, this.rotateCenter), (e = this.startInfo) != null && e.lineMeshes && this.startInfo.lineMeshes.forEach((i) => {
51082
51082
  this.scene.remove(i), i.geometry.dispose(), i.material instanceof w.Material && i.material.dispose();
51083
51083
  }), this.startInfo = void 0, this.isDragging = !1, this.helperObject3D.show(), this.updateOtherHelpers(), this.hooks.emit("rotateEnd"));
51084
51084
  }
@@ -51172,7 +51172,7 @@ class FS extends ua {
51172
51172
  dragging(e) {
51173
51173
  if (!this.isDragging)
51174
51174
  return;
51175
- const i = ql(this.camera, e, this.container);
51175
+ const i = Jl(this.camera, e, this.container);
51176
51176
  if (!i)
51177
51177
  return this.dragEnd();
51178
51178
  this.scale(i);
@@ -51489,14 +51489,14 @@ class XS extends ua {
51489
51489
  }), "hideLineConnections" in this.helperObject3D && typeof this.helperObject3D.hideLineConnections == "function" && this.helperObject3D.hideLineConnections();
51490
51490
  try {
51491
51491
  this.originObject3D.updateMatrixWorld(!0), this.helperObject3D.updateMatrixWorld(!0);
51492
- const g = Xc(this.originObject3D), m = g ? g.getCenter(new w.Vector3()) : this.originObject3D.getWorldPosition(new w.Vector3()), b = c.clone().applyMatrix4(this.helperObject3D.matrixWorld).clone().sub(m).normalize(), P = m, E = this.solidGuide.createSolidLine(P, b, { color: 16777215, renderOrder: Fi.DRAG_GUIDE_LINE });
51492
+ const g = Yc(this.originObject3D), m = g ? g.getCenter(new w.Vector3()) : this.originObject3D.getWorldPosition(new w.Vector3()), b = c.clone().applyMatrix4(this.helperObject3D.matrixWorld).clone().sub(m).normalize(), P = m, E = this.solidGuide.createSolidLine(P, b, { color: 16777215, renderOrder: Fi.DRAG_GUIDE_LINE });
51493
51493
  this.scene.add(E), this.dragGuideLine = E, this.addFaceMesh();
51494
51494
  } catch (g) {
51495
51495
  }
51496
51496
  a.visible = !0, this.hooks.emit("scaleStart");
51497
51497
  });
51498
51498
  f(this, "dragging", (e) => {
51499
- const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, o = ql(this.camera, { x: i, y: s }, this.container);
51499
+ const i = "touches" in e ? e.touches[0].clientX : e.x, s = "touches" in e ? e.touches[0].clientY : e.y, o = Jl(this.camera, { x: i, y: s }, this.container);
51500
51500
  if (!this.isDragging) {
51501
51501
  o && this.addHoverFaceMesh(o);
51502
51502
  return;
@@ -51630,7 +51630,7 @@ class XS extends ua {
51630
51630
  return;
51631
51631
  const { draggingObject: e } = this.startInfo;
51632
51632
  this.originObject3D.updateMatrixWorld(!0), this.helperObject3D.updateMatrixWorld(!0);
51633
- const i = Xc(this.originObject3D), s = i ? i.getCenter(new w.Vector3()) : this.originObject3D.getWorldPosition(new w.Vector3()), r = e.position.clone().applyMatrix4(this.helperObject3D.matrixWorld).clone().sub(s).normalize(), a = s;
51633
+ const i = Yc(this.originObject3D), s = i ? i.getCenter(new w.Vector3()) : this.originObject3D.getWorldPosition(new w.Vector3()), r = e.position.clone().applyMatrix4(this.helperObject3D.matrixWorld).clone().sub(s).normalize(), a = s;
51634
51634
  this.solidGuide.updateSolidLine(this.dragGuideLine, a, r);
51635
51635
  }
51636
51636
  /**
@@ -52330,8 +52330,8 @@ class Xm {
52330
52330
  const i = document.createElement("video");
52331
52331
  i.crossOrigin = "anonymous", i.autoplay = !1, i.muted = !0, i.loop = !0, i.playsInline = !0, this.video = i;
52332
52332
  const s = new ab(this.video);
52333
- s.minFilter = Gc, s.magFilter = Gc;
52334
- const o = new El({
52333
+ s.minFilter = Wc, s.magFilter = Wc;
52334
+ const o = new Ml({
52335
52335
  vertexShader: JS,
52336
52336
  fragmentShader: KS,
52337
52337
  uniforms: {
@@ -52637,7 +52637,7 @@ function oD(n, t) {
52637
52637
  function rD(n, t) {
52638
52638
  return n * n * t;
52639
52639
  }
52640
- function Bc(n, t, e, i) {
52640
+ function Vc(n, t, e, i) {
52641
52641
  return sD(n, t) + oD(n, e) + rD(n, i);
52642
52642
  }
52643
52643
  function aD(n, t) {
@@ -52654,7 +52654,7 @@ function cD(n, t) {
52654
52654
  function hD(n, t) {
52655
52655
  return n * n * n * t;
52656
52656
  }
52657
- function Vc(n, t, e, i, s) {
52657
+ function Hc(n, t, e, i, s) {
52658
52658
  return aD(n, t) + lD(n, e) + cD(n, i) + hD(n, s);
52659
52659
  }
52660
52660
  function Mh(n, t) {
@@ -52663,15 +52663,15 @@ function Mh(n, t) {
52663
52663
  throw new Error("length of points must greater than 2");
52664
52664
  if (e === 2)
52665
52665
  return new w.Vector3(
52666
- Bc(n, t[0].x, t[1].x, t[2].x),
52667
- Bc(n, t[0].y, t[1].y, t[2].y),
52668
- Bc(n, t[0].z, t[1].z, t[2].z)
52666
+ Vc(n, t[0].x, t[1].x, t[2].x),
52667
+ Vc(n, t[0].y, t[1].y, t[2].y),
52668
+ Vc(n, t[0].z, t[1].z, t[2].z)
52669
52669
  );
52670
52670
  if (e === 3)
52671
52671
  return new w.Vector3(
52672
- Vc(n, t[0].x, t[1].x, t[2].x, t[3].x),
52673
- Vc(n, t[0].y, t[1].y, t[2].y, t[3].y),
52674
- Vc(n, t[0].z, t[1].z, t[2].z, t[3].z)
52672
+ Hc(n, t[0].x, t[1].x, t[2].x, t[3].x),
52673
+ Hc(n, t[0].y, t[1].y, t[2].y, t[3].y),
52674
+ Hc(n, t[0].z, t[1].z, t[2].z, t[3].z)
52675
52675
  );
52676
52676
  if (e === 1) {
52677
52677
  const [s, o] = t;
@@ -53246,17 +53246,17 @@ const IL = (n) => new mD(n), Zm = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA
53246
53246
  }
53247
53247
  };
53248
53248
  function AD(n) {
53249
- xe(n, "svelte-1j96xkf", ".room-label-item.svelte-1j96xkf{position:absolute;font-size:0.625rem;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#fff}.room-label-item__text.svelte-1j96xkf{position:absolute;left:0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;pointer-events:all;white-space:nowrap;position:relative;box-shadow:0 0.1875rem 0.8125rem 0 #00000033;font-weight:500;background-position:center;background-repeat:no-repeat;background-size:100% 100%;background-image:var(--bg-image);-o-border-image:var(--bg-image) 3 / 0.0625rem / 0rem stretch;border-image:var(--bg-image) 3 fill / 0.0625rem / 0rem stretch;box-sizing:border-box}.room-label-item__bar.svelte-1j96xkf{position:absolute;transform-origin:top;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}");
53249
+ xe(n, "svelte-c02qws", ".room-label-item.svelte-c02qws{position:absolute;font-size:0.625rem;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#fff}.room-label-item__text.svelte-c02qws{position:absolute;left:0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;pointer-events:all;white-space:nowrap;position:relative;box-shadow:0 0.1875rem 0.8125rem 0 #00000033;font-weight:500;border-radius:var(--border-radius);-o-border-image:var(--bg-image) var(--border-radius-num) / var(--border-radius) / 0rem stretch;border-image:var(--bg-image) var(--border-radius-num) fill / var(--border-radius) / 0rem stretch;box-sizing:border-box}.room-label-item__bar.svelte-c02qws{position:absolute;transform-origin:top;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}");
53250
53250
  }
53251
53251
  function Jm(n) {
53252
53252
  let t, e, i, s, o, r;
53253
53253
  return {
53254
53254
  c() {
53255
- var a, l;
53255
+ var a, l, c, h;
53256
53256
  t = W("span"), e = Re(
53257
53257
  /*content*/
53258
53258
  n[0]
53259
- ), i = re(), s = W("div"), y(t, "class", "room-label-item__text svelte-1j96xkf"), j(
53259
+ ), i = re(), s = W("div"), y(t, "class", "room-label-item__text svelte-c02qws"), j(
53260
53260
  t,
53261
53261
  "font-size",
53262
53262
  /*nameSize*/
@@ -53276,10 +53276,20 @@ function Jm(n) {
53276
53276
  "--bg-image",
53277
53277
  /*fontConfig*/
53278
53278
  ((a = n[6]) == null ? void 0 : a.name) >= 16 ? `url(${Zm})` : `url(${qm})`
53279
- ), j(t, "min-width", Ct(
53279
+ ), j(t, "min-width", ut(
53280
53280
  /*fontConfig*/
53281
53281
  (l = n[6]) == null ? void 0 : l.minWidth
53282
- )), y(s, "class", "room-label-item__bar svelte-1j96xkf"), j(s, "top", Ct(
53282
+ )), j(
53283
+ t,
53284
+ "--border-radius",
53285
+ /*fontConfig*/
53286
+ ((c = n[6]) == null ? void 0 : c.name) >= 16 ? ut(4) : ut(2)
53287
+ ), j(
53288
+ t,
53289
+ "--border-radius-num",
53290
+ /*fontConfig*/
53291
+ ((h = n[6]) == null ? void 0 : h.name) >= 16 ? 8 : 4
53292
+ ), y(s, "class", "room-label-item__bar svelte-c02qws"), j(s, "top", ut(
53283
53293
  /*barTopPosition*/
53284
53294
  n[10]
53285
53295
  ));
@@ -53293,7 +53303,7 @@ function Jm(n) {
53293
53303
  }), o = !0);
53294
53304
  },
53295
53305
  p(a, l) {
53296
- var c, h;
53306
+ var c, h, u, d;
53297
53307
  n = a, l & /*content*/
53298
53308
  1 && Ve(
53299
53309
  e,
@@ -53324,11 +53334,23 @@ function Jm(n) {
53324
53334
  /*fontConfig*/
53325
53335
  ((c = n[6]) == null ? void 0 : c.name) >= 16 ? `url(${Zm})` : `url(${qm})`
53326
53336
  ), l & /*fontConfig*/
53327
- 64 && j(t, "min-width", Ct(
53337
+ 64 && j(t, "min-width", ut(
53328
53338
  /*fontConfig*/
53329
53339
  (h = n[6]) == null ? void 0 : h.minWidth
53330
- )), l & /*barTopPosition*/
53331
- 1024 && j(s, "top", Ct(
53340
+ )), l & /*fontConfig*/
53341
+ 64 && j(
53342
+ t,
53343
+ "--border-radius",
53344
+ /*fontConfig*/
53345
+ ((u = n[6]) == null ? void 0 : u.name) >= 16 ? ut(4) : ut(2)
53346
+ ), l & /*fontConfig*/
53347
+ 64 && j(
53348
+ t,
53349
+ "--border-radius-num",
53350
+ /*fontConfig*/
53351
+ ((d = n[6]) == null ? void 0 : d.name) >= 16 ? 8 : 4
53352
+ ), l & /*barTopPosition*/
53353
+ 1024 && j(s, "top", ut(
53332
53354
  /*barTopPosition*/
53333
53355
  n[10]
53334
53356
  ));
@@ -53343,7 +53365,7 @@ function bD(n) {
53343
53365
  n[5] && Jm(n);
53344
53366
  return {
53345
53367
  c() {
53346
- t = W("div"), e && e.c(), y(t, "class", "room-label-item svelte-1j96xkf"), j(
53368
+ t = W("div"), e && e.c(), y(t, "class", "room-label-item svelte-c02qws"), j(
53347
53369
  t,
53348
53370
  "z-index",
53349
53371
  /*zIndex*/
@@ -53409,7 +53431,7 @@ function yD(n, t, e) {
53409
53431
  const A = (S) => {
53410
53432
  if (p.state.mode !== "Panorama") {
53411
53433
  const B = -(10 + 54 * (1 - di(S.latitude) / 90)), J = B + h, te = J >= 0 ? 0 : -J / -u;
53412
- e(8, R.style.transform = `scaleY(${te})`, R), e(8, R.style.top = Ct(J), R), e(9, L.style.top = Ct(B), L);
53434
+ e(8, R.style.transform = `scaleY(${te})`, R), e(8, R.style.top = ut(J), R), e(9, L.style.top = ut(B), L);
53413
53435
  }
53414
53436
  };
53415
53437
  St(() => {
@@ -53439,11 +53461,11 @@ function yD(n, t, e) {
53439
53461
  n.$$.dirty & /*visible*/
53440
53462
  65536 && e(14, i = g ? "visible" : "hidden"), n.$$.dirty & /*fontSize*/
53441
53463
  262144 && e(6, s = vD[z]), n.$$.dirty & /*fontConfig*/
53442
- 64 && e(13, o = Ct(s == null ? void 0 : s.name)), n.$$.dirty & /*fontConfig*/
53464
+ 64 && e(13, o = ut(s == null ? void 0 : s.name)), n.$$.dirty & /*fontConfig*/
53443
53465
  64 && e(20, r = (S = s == null ? void 0 : s.padding) == null ? void 0 : S.room), n.$$.dirty & /*padding*/
53444
- 1048576 && e(12, a = `${Ct(r[1])} ${Ct(r[0])}`), n.$$.dirty & /*fontConfig*/
53466
+ 1048576 && e(12, a = `${ut(r[1])} ${ut(r[0])}`), n.$$.dirty & /*fontConfig*/
53445
53467
  64 && e(21, l = s == null ? void 0 : s.lineHeight), n.$$.dirty & /*textLineHeight*/
53446
- 2097152 && e(11, c = Ct(l)), n.$$.dirty & /*textLineHeight, padding*/
53468
+ 2097152 && e(11, c = ut(l)), n.$$.dirty & /*textLineHeight, padding*/
53447
53469
  3145728 && e(19, h = l + r[1] * 2), n.$$.dirty & /*textHeight*/
53448
53470
  524288 && e(10, u = -(64 - h));
53449
53471
  }, [
@@ -53691,10 +53713,10 @@ class PD {
53691
53713
  });
53692
53714
  var l, c, h, u;
53693
53715
  const i = e.object_data, s = i.bottom_y, o = i.height, r = new w.Color((l = i.color) != null ? l : "#FFFFFF"), a = (c = i.opacity) != null ? c : 0.4;
53694
- this.data = e, this.id = e.id, this.name = (h = e.name) != null ? h : "", this.plugin = t, this.height = o, this.bottomY = s, this.opacity = a, this.shape = new w.Shape().fromJSON(i.shape), this.floorIndex = e.floor_index, this.makerObject = new w.Mesh(Km(this.shape, o), CD(r, a)), Hc(this.makerObject, s), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new R0(
53716
+ this.data = e, this.id = e.id, this.name = (h = e.name) != null ? h : "", this.plugin = t, this.height = o, this.bottomY = s, this.opacity = a, this.shape = new w.Shape().fromJSON(i.shape), this.floorIndex = e.floor_index, this.makerObject = new w.Mesh(Km(this.shape, o), CD(r, a)), Fc(this.makerObject, s), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new R0(
53695
53717
  new w.EdgesGeometry(this.makerObject.geometry),
53696
53718
  new w.LineBasicMaterial({ color: r, transparent: !0 })
53697
- ), Hc(this.outline, s), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(o), this.modelGroup = new wD(this), this.modelGroup.visible = (u = i.visible) != null ? u : !0;
53719
+ ), Fc(this.outline, s), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(o), this.modelGroup = new wD(this), this.modelGroup.visible = (u = i.visible) != null ? u : !0;
53698
53720
  }
53699
53721
  /** 挂载标注 */
53700
53722
  mount() {
@@ -53713,7 +53735,7 @@ class PD {
53713
53735
  transform: `translate(${this.tagTransform.left}px, ${this.tagTransform.top}px)`,
53714
53736
  onClick: (i) => this.hooks.emit("tagClick", { target: this, nativeEvent: i })
53715
53737
  }
53716
- }), this.updateTag()), this.plugin.five.needsRender = !0, this.plugin.hooks.on("stateChange", this.onPluginStateChange), this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate), this.resizeObserver = qa(this.onContainerResize, e), this.resizeObserver.observe(), typeof this.fontSizeManager == "object" && "subscribe" in this.fontSizeManager && (this.unsubscribeFontSize = this.fontSizeManager.subscribe((i) => {
53738
+ }), this.updateTag()), this.plugin.five.needsRender = !0, this.plugin.hooks.on("stateChange", this.onPluginStateChange), this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate), this.resizeObserver = Ja(this.onContainerResize, e), this.resizeObserver.observe(), typeof this.fontSizeManager == "object" && "subscribe" in this.fontSizeManager && (this.unsubscribeFontSize = this.fontSizeManager.subscribe((i) => {
53717
53739
  this.currentFontSize = i, this.updateTagFontSize();
53718
53740
  }));
53719
53741
  }
@@ -53745,7 +53767,7 @@ class PD {
53745
53767
  throw new Error("高度必须大于 0");
53746
53768
  this.height = t, this.makerObject.geometry = Km(this.shape, t), this.outline.geometry = new w.EdgesGeometry(this.makerObject.geometry);
53747
53769
  const e = this.shape.extractPoints(10).shape.slice(0, -1), i = ZC(e), s = new w.Vector3(i.x, i.y, t);
53748
- Hc(s, this.bottomY), this.tagPosition.copy(s), this.updateTag(), this.plugin.five.needsRender = !0;
53770
+ Fc(s, this.bottomY), this.tagPosition.copy(s), this.updateTag(), this.plugin.five.needsRender = !0;
53749
53771
  }
53750
53772
  /** 更改标注标签的显示层级
53751
53773
  * @description 为什么需要这个方法
@@ -53773,7 +53795,7 @@ function CD(n, t) {
53773
53795
  transparent: !0
53774
53796
  });
53775
53797
  }
53776
- function Hc(n, t) {
53798
+ function Fc(n, t) {
53777
53799
  const e = new w.Matrix4(), i = new w.Matrix4().makeRotationX(Math.PI / 2), s = new w.Matrix4().makeTranslation(0, 0, -t), o = new w.Matrix4().makeScale(1, 1, -1);
53778
53800
  e.multiply(i), e.multiply(s), e.multiply(o), n.applyMatrix4(e);
53779
53801
  }
@@ -54309,7 +54331,7 @@ class MD {
54309
54331
  return this._pointSelector;
54310
54332
  const t = (i = this.config) == null ? void 0 : i.magnifier;
54311
54333
  let e = t === null || t === !1 ? { magnifier: null } : { magnifierParams: t };
54312
- return (s = this.config) != null && s.hideCursorCircle && (e = ce(H({}, e), { pointHelper: null })), this._pointSelector = new xl(this.five, {
54334
+ return (s = this.config) != null && s.hideCursorCircle && (e = ce(H({}, e), { pointHelper: null })), this._pointSelector = new Sl(this.five, {
54313
54335
  mode: "cursor",
54314
54336
  helper: e
54315
54337
  }), this._pointSelector;
@@ -54425,7 +54447,7 @@ class os extends dA {
54425
54447
  f(this, "name", "PolylineWithDotsMesh");
54426
54448
  }
54427
54449
  }
54428
- const Fc = /* @__PURE__ */ new Map();
54450
+ const Nc = /* @__PURE__ */ new Map();
54429
54451
  class Gi extends mi {
54430
54452
  constructor(e, i) {
54431
54453
  var s, o;
@@ -54522,8 +54544,8 @@ class Gi extends mi {
54522
54544
  select(e = { only: !1 }) {
54523
54545
  if (this.selected)
54524
54546
  return;
54525
- this.selected = !0, this.highlight(), Fc.has(this.parent.uuid) || Fc.set(this.parent.uuid, []);
54526
- const i = Fc.get(this.parent.uuid);
54547
+ this.selected = !0, this.highlight(), Nc.has(this.parent.uuid) || Nc.set(this.parent.uuid, []);
54548
+ const i = Nc.get(this.parent.uuid);
54527
54549
  i.push(this), e.only && (i == null || i.forEach((s) => {
54528
54550
  s !== this && s.unselect();
54529
54551
  }));
@@ -54554,7 +54576,7 @@ class Gi extends mi {
54554
54576
  });
54555
54577
  }
54556
54578
  }
54557
- class Jl extends mi {
54579
+ class Kl extends mi {
54558
54580
  constructor(e) {
54559
54581
  super();
54560
54582
  f(this, "hooks", new Mt());
@@ -54574,7 +54596,7 @@ class Jl extends mi {
54574
54596
  this.originObject.remove(this);
54575
54597
  }
54576
54598
  }
54577
- class da extends Jl {
54599
+ class da extends Kl {
54578
54600
  constructor(e, i) {
54579
54601
  super(e);
54580
54602
  f(this, "objectHelperConfig");
@@ -54603,7 +54625,7 @@ class da extends Jl {
54603
54625
  (e = this.helper) == null || e.initialHelperMatrix();
54604
54626
  }
54605
54627
  }
54606
- class Ku extends Jl {
54628
+ class Ku extends Kl {
54607
54629
  constructor(e) {
54608
54630
  super(e);
54609
54631
  f(this, "draggingPoints", []);
@@ -54756,7 +54778,7 @@ function DD(n, t, e) {
54756
54778
  redo: P
54757
54779
  };
54758
54780
  }
54759
- class TD extends Jl {
54781
+ class TD extends Kl {
54760
54782
  constructor(e) {
54761
54783
  super(e);
54762
54784
  f(this, "onDrag", (e) => {
@@ -55109,7 +55131,7 @@ class Vs extends mi {
55109
55131
  f(this, "_geometryInfoCache");
55110
55132
  f(this, "geometryInfoNeedUpdate", !0);
55111
55133
  f(this, "edgeMesh", new Ei());
55112
- f(this, "prismMesh", new Ul());
55134
+ f(this, "prismMesh", new Ql());
55113
55135
  f(this, "paramStyle");
55114
55136
  this.five = e == null ? void 0 : e.five, this.prismMesh.name = "PrismMesh", this.prismMesh.geometry = new jD(), this.edgeMesh.name = "EdgeMesh", this.addIfNotExists(this.prismMesh, this.edgeMesh), e && Object.keys(e).some((i) => i !== "five") && this.setPoints(e), this.setStyle(e);
55115
55137
  }
@@ -55590,7 +55612,7 @@ class ed extends er {
55590
55612
  this.points = i, this.geometry = new RD(i), this.planeHelperNeedUpdate = !0, this.geometryInfoNeedUpdate = !0;
55591
55613
  }
55592
55614
  }
55593
- class Il extends ed {
55615
+ class El extends ed {
55594
55616
  constructor(e) {
55595
55617
  const o = e != null ? e : {}, { points: i } = o, s = Yn(o, ["points"]);
55596
55618
  super();
@@ -55630,7 +55652,7 @@ class n0 extends Gi {
55630
55652
  f(this, "type", "Rectangle");
55631
55653
  f(this, "rectangleMesh");
55632
55654
  f(this, "_editor");
55633
- e && (this.rectangleMesh = new Il(H(H({}, e.style), e)), this.add(this.rectangleMesh));
55655
+ e && (this.rectangleMesh = new El(H(H({}, e.style), e)), this.add(this.rectangleMesh));
55634
55656
  }
55635
55657
  get editor() {
55636
55658
  return this._editor || (this._editor = new mA(this.rectangleMesh)), this._editor;
@@ -55660,7 +55682,7 @@ class n0 extends Gi {
55660
55682
  create(e) {
55661
55683
  return ie(this, null, function* () {
55662
55684
  this.removeChildren();
55663
- const i = new Il(e);
55685
+ const i = new El(e);
55664
55686
  this.rectangleMesh = i, this.add(this.rectangleMesh), yield td(this.rectangleMesh, this.pointSelector, e), this.config.defaultAction && this.editor.enable();
55665
55687
  });
55666
55688
  }
@@ -55789,7 +55811,7 @@ class AA extends da {
55789
55811
  function bA(n) {
55790
55812
  return Math.max(32, Math.min(128, Math.floor(n * 40)));
55791
55813
  }
55792
- class yA extends Ul {
55814
+ class yA extends Ql {
55793
55815
  constructor(e) {
55794
55816
  super(e);
55795
55817
  f(this, "_normal");
@@ -55935,7 +55957,7 @@ class Sh extends mi {
55935
55957
  f(this, "_topCenter");
55936
55958
  f(this, "_bottomCenter");
55937
55959
  f(this, "_radius");
55938
- this.params = e, this.bottomCircle = new $r(e), this.bottomCircle.name = "bottomCircle", this.topCircle = new $r(e), this.topCircle.name = "topCircle", this.edgeMesh = new Ul(e), e != null && e.bottomCenter && (e != null && e.topCenter) && (e != null && e.radius) && this.setPoints(e), this.addIfNotExists(this.bottomCircle);
55960
+ this.params = e, this.bottomCircle = new $r(e), this.bottomCircle.name = "bottomCircle", this.topCircle = new $r(e), this.topCircle.name = "topCircle", this.edgeMesh = new Ql(e), e != null && e.bottomCenter && (e != null && e.topCenter) && (e != null && e.radius) && this.setPoints(e), this.addIfNotExists(this.bottomCircle);
55939
55961
  }
55940
55962
  get bottomCenter() {
55941
55963
  return this.bottomCircle.center;
@@ -56278,7 +56300,7 @@ function IA(n, t, e) {
56278
56300
  s(new Error("No container"));
56279
56301
  return;
56280
56302
  }
56281
- const r = new Il(n.style);
56303
+ const r = new El(n.style);
56282
56304
  o.add(r), yield td(r, t, e), o.remove(r), n.setPoints({ points: r.points });
56283
56305
  const a = new Ei(), l = As(n.bottomPositions), c = Jt(...n.bottomPositions), h = c.clone().add(l.clone().multiplyScalar(100)), u = c.clone().sub(l.clone().multiplyScalar(100));
56284
56306
  a.setPoints([h, u]), o.add(a), t.enable();
@@ -56777,7 +56799,7 @@ const h0 = (n, t) => {
56777
56799
  triangles: h0,
56778
56800
  prism: QD
56779
56801
  };
56780
- class Nc extends nd {
56802
+ class Gc extends nd {
56781
56803
  constructor(...e) {
56782
56804
  const i = e[0], s = Ys(i.model), o = new w.Vector3().lerpVectors(es(s, 0), es(s, 5), 0.5);
56783
56805
  super(ce(H({}, i), { position: o }));
@@ -56859,7 +56881,7 @@ class YD extends cn {
56859
56881
  f(this, "onFiveEveryReady", () => ie(this, null, function* () {
56860
56882
  if (this.five.state.mode === "Panorama")
56861
56883
  return;
56862
- const e = this.items.filter((l) => l instanceof Nc).map((l) => l.tag), i = e.filter((l) => l.position && l.visible && l.enabled);
56884
+ const e = this.items.filter((l) => l instanceof Gc).map((l) => l.tag), i = e.filter((l) => l.position && l.visible && l.enabled);
56863
56885
  yield nA(0);
56864
56886
  const s = this.five.camera.position.clone(), o = i.sort((l, c) => s.distanceTo(l.position) - s.distanceTo(c.position)), r = [], a = (l, c) => !(l.right < c.left || l.left > c.right || l.bottom < c.top || l.top > c.bottom);
56865
56887
  e.forEach((l) => {
@@ -56935,7 +56957,7 @@ class YD extends cn {
56935
56957
  });
56936
56958
  a.push(a[0]);
56937
56959
  const l = s.object_data.height + ((o = s.object_data.fixedHeight) != null ? o : 0) + this.zFightingOffset, c = Ue(a[0]).add(new Ae().setY(l));
56938
- return r.setPoints({ points: a, heightPoint: c }), r.setStyle(i(s)), new Nc({
56960
+ return r.setPoints({ points: a, heightPoint: c }), r.setStyle(i(s)), new Gc({
56939
56961
  five: this.five,
56940
56962
  tagWrapper: this.tagWrapper,
56941
56963
  model: r,
@@ -57120,7 +57142,7 @@ class YD extends cn {
57120
57142
  this.group.visible = !1, this.tagWrapper.style.display = "none", this.five.needsRender = !0;
57121
57143
  }
57122
57144
  getPrismItems() {
57123
- return this.items.filter((e) => e instanceof Nc);
57145
+ return this.items.filter((e) => e instanceof Gc);
57124
57146
  }
57125
57147
  getPolygonItems() {
57126
57148
  return this.items.filter((e) => e instanceof u0);
@@ -57131,7 +57153,7 @@ class YD extends cn {
57131
57153
  }
57132
57154
  const DL = (...n) => new YD(...n), ZD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
57133
57155
  __proto__: null,
57134
- BaseEditor: Jl,
57156
+ BaseEditor: Kl,
57135
57157
  BoxMesh: Dh,
57136
57158
  BoxMeshEditor: CA,
57137
57159
  CircleMesh: yA,
@@ -57146,7 +57168,7 @@ const DL = (...n) => new YD(...n), ZD = /* @__PURE__ */ Object.freeze(/* @__PURE
57146
57168
  PrismMeshEditor: gA,
57147
57169
  RectangleMesh: ed,
57148
57170
  RectangleMeshEditor: mA,
57149
- RectangleWithEdgeMesh: Il,
57171
+ RectangleWithEdgeMesh: El,
57150
57172
  createBox: IA,
57151
57173
  createCircle: id,
57152
57174
  createCylinder: PA,
@@ -57161,15 +57183,15 @@ const DL = (...n) => new YD(...n), ZD = /* @__PURE__ */ Object.freeze(/* @__PURE
57161
57183
  BetterTween: Hs,
57162
57184
  CURRENT_PANO_IMAGE_DEFAULT_IMAGE: iu,
57163
57185
  DEFAULT_ANIME_CONFIG: Jh,
57164
- DEFAULT_STATIC_PREFIX: jl,
57186
+ DEFAULT_STATIC_PREFIX: Rl,
57165
57187
  DNALOGEL_DEFAULT_ASSETS: xw,
57166
57188
  ENTRY_DOOR_DEFAULT_IMAGE: ou,
57167
57189
  FLOORPLAN_DEFAULT_IMAGE: as,
57168
57190
  FiveDomEvents: Ro,
57169
57191
  FivePuppet: Vw,
57170
- GUIDELINE_DEFAULT_ARROW_TEXTURE: Rl,
57192
+ GUIDELINE_DEFAULT_ARROW_TEXTURE: _l,
57171
57193
  GUIDELINE_WHITE_ARROW_TEXTURE: Kh,
57172
- Interval: Uc,
57194
+ Interval: Qc,
57173
57195
  LegacyPointHelper: Ew,
57174
57196
  LightTag: ta,
57175
57197
  LineSegments: R0,
@@ -57182,12 +57204,12 @@ const DL = (...n) => new YD(...n), ZD = /* @__PURE__ */ Object.freeze(/* @__PURE
57182
57204
  PANO_TAG_DEFAULT_LINK_ICON: eu,
57183
57205
  PointDomHelper: bw,
57184
57206
  PointHelper: O0,
57185
- PointSelector: xl,
57207
+ PointSelector: Sl,
57186
57208
  PointSelectorHelper: M0,
57187
57209
  Rectangle: zb,
57188
57210
  animeMap: Cn,
57189
57211
  awaitNextFrame: Tw,
57190
- blink: zl,
57212
+ blink: Ol,
57191
57213
  blinkWithPreset: rw,
57192
57214
  bounding: Hh,
57193
57215
  boundingBox: Ys,
@@ -57222,8 +57244,8 @@ const DL = (...n) => new YD(...n), ZD = /* @__PURE__ */ Object.freeze(/* @__PURE
57222
57244
  tweenProgress: Fr,
57223
57245
  uuid: Ot,
57224
57246
  waitFiveModelLoaded: Ii,
57225
- worldBounding: Sl,
57226
- worldBoundingBox: Xc,
57247
+ worldBounding: Dl,
57248
+ worldBoundingBox: Yc,
57227
57249
  worldBoundingSphere: B0
57228
57250
  }, Symbol.toStringTag, { value: "Module" }));
57229
57251
  mb();
@@ -57231,7 +57253,7 @@ pb();
57231
57253
  export {
57232
57254
  ML as AreaMakerPlugin,
57233
57255
  Hr as CSS3DRender,
57234
- Ol as CSS3DRenderPlugin,
57256
+ jl as CSS3DRenderPlugin,
57235
57257
  YC as CameraMovementEffect,
57236
57258
  _T as CameraMovementPlugin,
57237
57259
  n8 as ContentType,