@realsee/dnalogel 3.81.2 → 3.81.3-alpha.2

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 (546) hide show
  1. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -0
  2. package/dist/index.cjs.js +37 -37
  3. package/dist/index.js +563 -561
  4. package/dist/index.umd.js +37 -37
  5. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  6. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  7. package/docs/classes/CSS3DRender.html +2 -2
  8. package/docs/classes/DigitalHuman.html +2 -2
  9. package/docs/classes/DigitalPerformanceV2.DigitalPerformanceV2PluginController.html +2 -2
  10. package/docs/classes/DigitalPlayground.html +2 -2
  11. package/docs/classes/DigitalStateMachine.html +2 -2
  12. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  13. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  14. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  15. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
  16. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
  17. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
  18. package/docs/classes/ModelRoomLabelController.html +2 -2
  19. package/docs/classes/MoveController.html +2 -2
  20. package/docs/classes/Object3DHelperController.html +2 -2
  21. package/docs/classes/PaintBrush.html +2 -2
  22. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  23. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  24. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  25. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  26. package/docs/classes/PanoTagPluginController.html +2 -2
  27. package/docs/classes/Sculpt.html +2 -2
  28. package/docs/classes/Util.BetterTween.html +2 -2
  29. package/docs/classes/Util.FiveDomEvents.html +2 -2
  30. package/docs/classes/Util.FivePuppet.html +2 -2
  31. package/docs/classes/Util.Interval.html +2 -2
  32. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  33. package/docs/classes/Util.LightTag.html +2 -2
  34. package/docs/classes/Util.LineSegments.html +2 -2
  35. package/docs/classes/Util.Magnifier.html +2 -2
  36. package/docs/classes/Util.Object3D.html +2 -2
  37. package/docs/classes/Util.PointDomHelper.html +2 -2
  38. package/docs/classes/Util.PointHelper.html +2 -2
  39. package/docs/classes/Util.PointSelector.html +2 -2
  40. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  41. package/docs/classes/Util.Rectangle.html +2 -2
  42. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  43. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  44. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  45. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  46. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  47. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  48. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  49. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  50. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  51. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  52. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  53. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  54. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  55. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  56. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  57. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  58. package/docs/classes/WalkController.html +2 -2
  59. package/docs/enums/CameraMovementEffect.html +2 -2
  60. package/docs/enums/ContentType.html +2 -2
  61. package/docs/enums/DIRECTION.html +2 -2
  62. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  63. package/docs/enums/DimensionType.html +2 -2
  64. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  65. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  66. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  67. package/docs/enums/PointType.html +2 -2
  68. package/docs/enums/Rotation.html +2 -2
  69. package/docs/functions/AreaMakerPlugin.html +1 -1
  70. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  71. package/docs/functions/CameraMovementPlugin.html +2 -2
  72. package/docs/functions/CruisePlugin.html +1 -1
  73. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  74. package/docs/functions/DigitalPerformancePlugin.html +1 -1
  75. package/docs/functions/DigitalPerformanceV2.DigitalPerformanceV2Plugin.html +1 -1
  76. package/docs/functions/FloorplanGuidePlugin.html +1 -1
  77. package/docs/functions/GuideLinePlugin.html +1 -1
  78. package/docs/functions/ItemLabelPlugin.html +1 -1
  79. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  80. package/docs/functions/MeasurePlugin.html +1 -1
  81. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  82. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  83. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  84. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  85. package/docs/functions/ModelMakerPlugin.html +1 -1
  86. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  87. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  88. package/docs/functions/ModelViewPlugin.html +2 -2
  89. package/docs/functions/MovePlugin.html +1 -1
  90. package/docs/functions/Object3DHelperPlugin.html +1 -1
  91. package/docs/functions/PanoCompassPlugin.html +1 -1
  92. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  93. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  94. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  95. package/docs/functions/PanoMeasurePlugin.html +1 -1
  96. package/docs/functions/PanoRulerPlugin.html +2 -2
  97. package/docs/functions/PanoRulerProPlugin.html +2 -2
  98. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  99. package/docs/functions/PanoTagPlugin.html +1 -1
  100. package/docs/functions/PanoVideoPlugin.html +2 -2
  101. package/docs/functions/PipelinePlugin.html +1 -1
  102. package/docs/functions/SculptPlugin.html +2 -2
  103. package/docs/functions/SculptPluginForFive.html +2 -2
  104. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  105. package/docs/functions/Util.awaitNextFrame.html +1 -1
  106. package/docs/functions/Util.blink.html +2 -2
  107. package/docs/functions/Util.blinkWithPreset.html +2 -2
  108. package/docs/functions/Util.bounding.html +1 -1
  109. package/docs/functions/Util.boundingBox.html +1 -1
  110. package/docs/functions/Util.boundingSphere.html +1 -1
  111. package/docs/functions/Util.boxVertex.html +2 -2
  112. package/docs/functions/Util.boxVertexes.html +1 -1
  113. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  114. package/docs/functions/Util.cleanup.html +2 -2
  115. package/docs/functions/Util.convexHull.html +2 -2
  116. package/docs/functions/Util.equal.html +2 -2
  117. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  118. package/docs/functions/Util.generatePolygonGeometry.html +2 -2
  119. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  120. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  121. package/docs/functions/Util.getFrameTime.html +2 -2
  122. package/docs/functions/Util.getGeometryArea.html +1 -1
  123. package/docs/functions/Util.getGeometryInfo.html +1 -1
  124. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  125. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  126. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  127. package/docs/functions/Util.inside.html +1 -1
  128. package/docs/functions/Util.isModelLike.html +1 -1
  129. package/docs/functions/Util.isNil.html +2 -2
  130. package/docs/functions/Util.isPanoramaLike.html +1 -1
  131. package/docs/functions/Util.lookObject.html +2 -2
  132. package/docs/functions/Util.lookPoint.html +2 -2
  133. package/docs/functions/Util.nextFrame.html +1 -1
  134. package/docs/functions/Util.notNil.html +2 -2
  135. package/docs/functions/Util.reblink.html +2 -2
  136. package/docs/functions/Util.replaceStaticPrefix.html +2 -2
  137. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  138. package/docs/functions/Util.sculpt.createBox.html +1 -1
  139. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  140. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  141. package/docs/functions/Util.sculpt.createLine.html +2 -2
  142. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  143. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  144. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  145. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  146. package/docs/functions/Util.sculpt.transformUnit.html +2 -2
  147. package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -1
  148. package/docs/functions/Util.tag.html +1 -1
  149. package/docs/functions/Util.triangleArea.html +2 -2
  150. package/docs/functions/Util.triangleCenter.html +2 -2
  151. package/docs/functions/Util.tweenProgress.html +1 -1
  152. package/docs/functions/Util.uuid.html +2 -2
  153. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  154. package/docs/functions/Util.worldBounding.html +1 -1
  155. package/docs/functions/Util.worldBoundingBox.html +1 -1
  156. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  157. package/docs/functions/createPolyline.html +2 -2
  158. package/docs/functions/pluginFlag.html +1 -1
  159. package/docs/functions/validatePolygon.html +1 -1
  160. package/docs/hierarchy.html +1 -1
  161. package/docs/index.html +2 -2
  162. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  163. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  164. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  165. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  166. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  167. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  168. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  169. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  170. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  171. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  172. package/docs/interfaces/BoxAnimationConfig.html +2 -2
  173. package/docs/interfaces/BoxPosition.html +2 -2
  174. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  175. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  176. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  177. package/docs/interfaces/ChapterLocation.html +2 -2
  178. package/docs/interfaces/ChapterTimeInfo.html +2 -2
  179. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  180. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  181. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  182. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  183. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  184. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  185. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  186. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  187. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  188. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  189. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  190. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  191. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  192. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  193. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  194. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  195. package/docs/interfaces/DigitalCameraKeyframe.html +2 -2
  196. package/docs/interfaces/DigitalCameraPlayer.html +2 -2
  197. package/docs/interfaces/DigitalCameraState.html +2 -2
  198. package/docs/interfaces/DigitalChapter.html +2 -2
  199. package/docs/interfaces/DigitalDataPlayer.html +2 -2
  200. package/docs/interfaces/DigitalDataState.html +2 -2
  201. package/docs/interfaces/DigitalEffectKeyframe.html +2 -2
  202. package/docs/interfaces/DigitalEffectState.html +2 -2
  203. package/docs/interfaces/DigitalItemKeyframe.html +2 -2
  204. package/docs/interfaces/DigitalItemState.html +2 -2
  205. package/docs/interfaces/DigitalModelKeyframe.html +2 -2
  206. package/docs/interfaces/DigitalModelPlayer.html +2 -2
  207. package/docs/interfaces/DigitalModelPlayerEffect.html +2 -2
  208. package/docs/interfaces/DigitalModelPlayerItem.html +2 -2
  209. package/docs/interfaces/DigitalModelState.html +2 -2
  210. package/docs/interfaces/DigitalPerformancePluginConfig.html +2 -2
  211. package/docs/interfaces/DigitalPerformanceV2.CameraState.html +2 -2
  212. package/docs/interfaces/DigitalPerformanceV2.DigitalCameraKeyframe.html +2 -2
  213. package/docs/interfaces/DigitalPerformanceV2.DigitalCameraPlayer.html +2 -2
  214. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceV2PluginConfig.html +2 -2
  215. package/docs/interfaces/DigitalPerformanceV2.GroupChapterTimeInfo.html +2 -2
  216. package/docs/interfaces/DigitalPerformanceV2.GroupProgress.html +2 -2
  217. package/docs/interfaces/DigitalPerformanceV2.V2Progress.html +2 -2
  218. package/docs/interfaces/DigitalScript.html +2 -2
  219. package/docs/interfaces/DigitalSubTitleKeyframe.html +2 -2
  220. package/docs/interfaces/DigitalSubTitlePlayer.html +2 -2
  221. package/docs/interfaces/DigitalSubTitleState.html +2 -2
  222. package/docs/interfaces/ExtendedAnimationConfig.html +2 -2
  223. package/docs/interfaces/FloorplanBounding.html +2 -2
  224. package/docs/interfaces/FloorplanData.html +2 -2
  225. package/docs/interfaces/FloorplanEntrance.html +2 -2
  226. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  227. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  228. package/docs/interfaces/FloorplanFloorData.html +2 -2
  229. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  230. package/docs/interfaces/FloorplanObserver.html +2 -2
  231. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  232. package/docs/interfaces/FloorplanPosition.html +2 -2
  233. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  234. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  235. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  236. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  237. package/docs/interfaces/FloorplanServerData.html +2 -2
  238. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  239. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  240. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  241. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  242. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  243. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  244. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  245. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  246. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  247. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  248. package/docs/interfaces/GlobalProgress.html +2 -2
  249. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  250. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  251. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  252. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  253. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  254. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  255. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  256. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  257. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  258. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  259. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  260. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  261. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  262. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  263. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  264. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  265. package/docs/interfaces/HelperOffset.html +2 -2
  266. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  267. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  268. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  269. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  270. package/docs/interfaces/MinMax.html +2 -2
  271. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  272. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  273. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  274. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  275. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  276. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  277. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  278. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  279. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  280. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  281. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  282. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  283. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  284. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  285. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  286. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  287. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  288. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  289. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  290. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  291. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  292. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  293. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  294. package/docs/interfaces/Object3DHelperState.html +2 -2
  295. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  296. package/docs/interfaces/PaintBrushAction.html +2 -2
  297. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  298. package/docs/interfaces/PaintBrushState.html +2 -2
  299. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  300. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  301. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  302. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  303. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  304. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  305. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  306. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  307. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  308. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  309. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  310. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  311. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  312. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  313. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  314. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  315. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  316. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  317. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  318. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  319. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  320. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  321. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  322. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  323. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  324. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  325. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  326. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  327. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  328. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  329. package/docs/interfaces/PluginEventMap.html +2 -2
  330. package/docs/interfaces/Point.html +2 -2
  331. package/docs/interfaces/ProgressBarEvents.html +2 -2
  332. package/docs/interfaces/Room.html +2 -2
  333. package/docs/interfaces/RoomInfo.html +2 -2
  334. package/docs/interfaces/RoomLabel.html +2 -2
  335. package/docs/interfaces/RoomRules.html +1 -1
  336. package/docs/interfaces/Rooms.html +1 -1
  337. package/docs/interfaces/Scissor.html +2 -2
  338. package/docs/interfaces/SculptConfig.html +2 -2
  339. package/docs/interfaces/State.html +2 -2
  340. package/docs/interfaces/TagCacheInterface.html +2 -2
  341. package/docs/interfaces/TagConfig.html +14 -14
  342. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  343. package/docs/interfaces/TagIconAnimationConfig.html +2 -2
  344. package/docs/interfaces/TagIconUrl.html +2 -2
  345. package/docs/interfaces/TagObjectGroup.html +2 -2
  346. package/docs/interfaces/TagState.html +2 -2
  347. package/docs/interfaces/TagStyle.html +2 -2
  348. package/docs/interfaces/Tags.html +2 -2
  349. package/docs/interfaces/TemporaryState.html +2 -2
  350. package/docs/interfaces/TraceManager.html +2 -2
  351. package/docs/interfaces/TracePoint.html +2 -2
  352. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  353. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  354. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  355. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  356. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  357. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  358. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  359. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  360. package/docs/interfaces/Util.ObjectInitialState.html +2 -2
  361. package/docs/interfaces/Util.PointIntersection.html +2 -2
  362. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  363. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  364. package/docs/modules/AreaMakerPluginType.html +2 -2
  365. package/docs/modules/CruisePluginTypes.html +2 -2
  366. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  367. package/docs/modules/DigitalPerformanceV2.html +2 -2
  368. package/docs/modules/GuideLineItem.html +2 -2
  369. package/docs/modules/GuideLineModeItem.html +2 -2
  370. package/docs/modules/GuideLinePluginType.html +2 -2
  371. package/docs/modules/ModelMakerPluginType.html +2 -2
  372. package/docs/modules/PanoVideoPluginType.html +2 -2
  373. package/docs/modules/SculptData.html +2 -2
  374. package/docs/modules/SculptType.html +2 -2
  375. package/docs/modules/Util.html +2 -2
  376. package/docs/modules/Util.sculpt.html +2 -2
  377. package/docs/modules.html +2 -2
  378. package/docs/types/AddObject3DHelperConfig.html +2 -2
  379. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  380. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  381. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  382. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  383. package/docs/types/ArrayPosition.html +1 -1
  384. package/docs/types/AudioAppearance.html +1 -1
  385. package/docs/types/BoxTag.html +2 -2
  386. package/docs/types/CSS3DRenderExportType.html +1 -1
  387. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  388. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  389. package/docs/types/ClassFunctionParameters.html +1 -1
  390. package/docs/types/Color.html +1 -1
  391. package/docs/types/ContentTypeConfigKey.html +1 -1
  392. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  393. package/docs/types/ContentTypeMap.html +1 -1
  394. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  395. package/docs/types/Create3DElementReturnType.html +1 -1
  396. package/docs/types/CruisePluginExportType.html +1 -1
  397. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  398. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  399. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  400. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  401. package/docs/types/DeprecatedTagProperty.html +2 -2
  402. package/docs/types/DigitalPerformancePluginExportInterface.html +1 -1
  403. package/docs/types/DigitalPerformancePluginParamsInterface.html +1 -1
  404. package/docs/types/DigitalPerformanceV2.CameraCoordinateSpace.html +2 -2
  405. package/docs/types/DigitalPerformanceV2.CameraTransition.html +2 -2
  406. package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginExportInterface.html +1 -1
  407. package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginParamsInterface.html +1 -1
  408. package/docs/types/DigitalPerformanceV2.V2ProgressListener.html +1 -1
  409. package/docs/types/Direction-1.html +1 -1
  410. package/docs/types/Direction4.html +1 -1
  411. package/docs/types/ElementRenderer.html +2 -2
  412. package/docs/types/FloorplanGuidePluginParameterType.html +1 -1
  413. package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
  414. package/docs/types/FloorplanRuleLabels.html +2 -2
  415. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  416. package/docs/types/GuideLinePluginExportType.html +1 -1
  417. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  418. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  419. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  420. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  421. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  422. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  423. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  424. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  425. package/docs/types/HelperEventMap.html +1 -1
  426. package/docs/types/InternalHelperEventMap.html +1 -1
  427. package/docs/types/KeyframeType.html +1 -1
  428. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  429. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  430. package/docs/types/MaskPosition.html +2 -2
  431. package/docs/types/MaskTag.html +2 -2
  432. package/docs/types/MeasureEndReason.html +1 -1
  433. package/docs/types/MeasurePluginConfig.html +2 -2
  434. package/docs/types/MeasurePluginEventMap.html +1 -1
  435. package/docs/types/MediaData.html +2 -2
  436. package/docs/types/MediaStore.html +1 -1
  437. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  438. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  439. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  440. package/docs/types/ModelId.html +1 -1
  441. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  442. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  443. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  444. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  445. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  446. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  447. package/docs/types/MoveArgs.html +2 -2
  448. package/docs/types/MoveOpts.html +2 -2
  449. package/docs/types/Object3DHelperEventMap.html +1 -1
  450. package/docs/types/ObjectFit.html +1 -1
  451. package/docs/types/PaintBrushEventMap.html +1 -1
  452. package/docs/types/PanoCompassPluginData.html +1 -1
  453. package/docs/types/PanoCompassPluginExportType.html +1 -1
  454. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  455. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  456. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  457. package/docs/types/PanoIndex.html +1 -1
  458. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  459. package/docs/types/PanoMeasureReturnType.html +1 -1
  460. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  461. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  462. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  463. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  464. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  465. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  466. package/docs/types/PipelinePluginParameterType.html +1 -1
  467. package/docs/types/PipelinePluginReturnType.html +1 -1
  468. package/docs/types/PlaneTag.html +2 -2
  469. package/docs/types/Point2DTag.html +2 -2
  470. package/docs/types/Point3DTag.html +2 -2
  471. package/docs/types/PointTagInstance.html +1 -1
  472. package/docs/types/PolygonPosition.html +2 -2
  473. package/docs/types/PolygonTag.html +2 -2
  474. package/docs/types/Position.html +1 -1
  475. package/docs/types/PositionFrom.html +1 -1
  476. package/docs/types/ProgressListener.html +1 -1
  477. package/docs/types/RotateArgs.html +2 -2
  478. package/docs/types/RotateOpts.html +2 -2
  479. package/docs/types/RuleLabelsKey.html +1 -1
  480. package/docs/types/RuleLabelsValue.html +1 -1
  481. package/docs/types/ScaleCallback.html +1 -1
  482. package/docs/types/ScalePosition.html +2 -2
  483. package/docs/types/SculptData.BoxData.html +1 -1
  484. package/docs/types/SculptData.CircleData.html +1 -1
  485. package/docs/types/SculptData.CylinderData.html +1 -1
  486. package/docs/types/SculptData.PointData.html +1 -1
  487. package/docs/types/SculptData.PolygonData.html +1 -1
  488. package/docs/types/SculptData.PolylineData.html +1 -1
  489. package/docs/types/SculptData.PrismData.html +1 -1
  490. package/docs/types/SculptData.RectangleData.html +1 -1
  491. package/docs/types/SculptType.Theme.html +2 -2
  492. package/docs/types/StateType.html +1 -1
  493. package/docs/types/StickType.html +1 -1
  494. package/docs/types/Tag.html +2 -2
  495. package/docs/types/Tag2D.html +2 -2
  496. package/docs/types/Tag3D.html +2 -2
  497. package/docs/types/TagClickParams.html +1 -1
  498. package/docs/types/TagConfigByKey.html +1 -1
  499. package/docs/types/TagContentType.html +1 -1
  500. package/docs/types/TagContentTypeMapping.html +1 -1
  501. package/docs/types/TagDimensionType.html +1 -1
  502. package/docs/types/TagElement.html +2 -2
  503. package/docs/types/TagEvents.html +1 -1
  504. package/docs/types/TagGLTFObject.html +1 -1
  505. package/docs/types/TagHooks.html +1 -1
  506. package/docs/types/TagId.html +1 -1
  507. package/docs/types/TagInstance.html +1 -1
  508. package/docs/types/TagPlacement.html +2 -2
  509. package/docs/types/TagPointType.html +2 -2
  510. package/docs/types/TagRendererMap.html +1 -1
  511. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  512. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  513. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  514. package/docs/types/Util.AdherePoint.html +2 -2
  515. package/docs/types/Util.PointSelectorConfig.html +1 -1
  516. package/docs/types/Util.SupportedTarget.html +2 -2
  517. package/docs/types/Util.Target.html +2 -2
  518. package/docs/types/Util.ThreeObject.html +2 -2
  519. package/docs/types/WorkCode.html +1 -1
  520. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  521. package/docs/variables/PLUGIN.html +1 -1
  522. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  523. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  524. package/docs/variables/Util.ANIME_PRESETS.html +2 -2
  525. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
  526. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
  527. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
  528. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
  529. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
  530. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
  531. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
  532. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
  533. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
  534. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
  535. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
  536. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
  537. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
  538. package/docs/variables/defaultGlobalConfig.html +1 -1
  539. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  540. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  541. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  542. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +168 -166
  543. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -0
  544. package/libs/base/BasePlugin.js +5 -5
  545. package/libs/shared-utils/logger.js +1 -1
  546. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ var mb = Object.defineProperty, gb = Object.defineProperties;
2
2
  var vb = Object.getOwnPropertyDescriptors;
3
3
  var Ra = Object.getOwnPropertySymbols;
4
4
  var Td = Object.prototype.hasOwnProperty, Dd = Object.prototype.propertyIsEnumerable;
5
- var pi = Math.pow, vc = (n, t, e) => t in n ? mb(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, R = (n, t) => {
5
+ var pi = Math.pow, vc = (n, t, e) => t in n ? mb(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, _ = (n, t) => {
6
6
  for (var e in t || (t = {}))
7
7
  Td.call(t, e) && vc(n, e, t[e]);
8
8
  if (Ra)
@@ -43,7 +43,7 @@ import { LineGeometry as eA, LineMaterial as tA, THREE_Line2 as iA, Line as ev }
43
43
  import { GLTFLoader as tv } from "@realsee/five/gltf-loader";
44
44
  function nA() {
45
45
  console.debug(
46
- "%c %c@realsee/dnalogel %cv3.81.2",
46
+ "%c %c@realsee/dnalogel %cv3.81.3-alpha.2",
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",
@@ -1723,7 +1723,7 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1723
1723
  }
1724
1724
  return !1;
1725
1725
  }
1726
- function _(N, U) {
1726
+ function R(N, U) {
1727
1727
  return N.indexOf(U) > -1;
1728
1728
  }
1729
1729
  function A(N) {
@@ -2096,7 +2096,7 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2096
2096
  U.preventDefault();
2097
2097
  return;
2098
2098
  }
2099
- var re = this.actions, Pe = _(re, Ni) && !qn[Ni], je = _(re, Pn) && !qn[Pn], Qe = _(re, wn) && !qn[wn];
2099
+ var re = this.actions, Pe = R(re, Ni) && !qn[Ni], je = R(re, Pn) && !qn[Pn], Qe = R(re, wn) && !qn[wn];
2100
2100
  if (Pe) {
2101
2101
  var Ct = N.pointers.length === 1, xt = N.distance < 2, Rt = N.deltaTime < 250;
2102
2102
  if (Ct && xt && Rt)
@@ -2114,10 +2114,10 @@ var _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2114
2114
  }
2115
2115
  };
2116
2116
  function vr(N) {
2117
- if (_(N, Ni))
2117
+ if (R(N, Ni))
2118
2118
  return Ni;
2119
- var U = _(N, wn), J = _(N, Pn);
2120
- return U && J ? Ni : U || J ? U ? wn : Pn : _(N, Ss) ? Ss : jt;
2119
+ var U = R(N, wn), J = R(N, Pn);
2120
+ return U && J ? Ni : U || J ? U ? wn : Pn : R(N, Ss) ? Ss : jt;
2121
2121
  }
2122
2122
  function yr() {
2123
2123
  if (!ho)
@@ -3122,8 +3122,8 @@ let DA = function(n) {
3122
3122
  g.onBeforeRender(t, v, y);
3123
3123
  let z;
3124
3124
  g.isCSS3DSprite ? (r.copy(y.matrixWorldInverse), r.transpose(), r.copyPosition(g.matrixWorld), r.scale(g.scale), r.elements[3] = 0, r.elements[7] = 0, r.elements[11] = 0, r.elements[15] = 1, z = d(r)) : z = d(g.matrixWorld);
3125
- let _ = a.objects.get(g);
3126
- if (_ === void 0 || _.style !== z) {
3125
+ let R = a.objects.get(g);
3126
+ if (R === void 0 || R.style !== z) {
3127
3127
  j.style.WebkitTransform = z, j.style.transform = z;
3128
3128
  let A = { style: z };
3129
3129
  a.objects.set(g, A);
@@ -3975,7 +3975,7 @@ class Di extends Pi {
3975
3975
  f(this, "onPanoArrived", () => {
3976
3976
  setTimeout(() => this.updateDomItems({ force: !0 }), 100);
3977
3977
  });
3978
- this.paramsStyle = R({ dashed: !1, lineOpacity: 1 }, e), this.geometry = new sl();
3978
+ this.paramsStyle = _({ dashed: !1, lineOpacity: 1 }, e), this.geometry = new sl();
3979
3979
  const i = {
3980
3980
  color: new b.Color((r = e == null ? void 0 : e.lineColor) != null ? r : HA),
3981
3981
  linewidth: (a = e == null ? void 0 : e.lineWidth) != null ? a : NA,
@@ -3985,7 +3985,7 @@ class Di extends Pi {
3985
3985
  opacity: (l = e == null ? void 0 : e.lineOpacity) != null ? l : 1,
3986
3986
  depthWrite: !1,
3987
3987
  transparent: !0
3988
- }, s = new QA(ue(R({}, i), { dashed: !1, depthTest: !0 })), o = new XA(ue(R({}, i), { dashed: !0, depthTest: !1 }));
3988
+ }, s = new QA(ue(_({}, i), { dashed: !1, depthTest: !0 })), o = new XA(ue(_({}, i), { dashed: !0, depthTest: !1 }));
3989
3989
  this.line1 = new Wd(this.geometry, s), this.line2 = new Wd(this.geometry, o), this.line1.renderOrder = 2, this.line2.renderOrder = 2, this.line1.name = "line1", this.line2.name = "line2", this.add(this.line1), this.initFiveListeners(), e && this.setStyle(e), e != null && e.points && this.setPoints(e.points), this.addEventListener("removed", () => {
3990
3990
  this.removeFiveListeners(), ei.cacheObject.delete(this), ei.checkDom(this);
3991
3991
  }), this.addEventListener("added", () => {
@@ -4079,7 +4079,7 @@ class Di extends Pi {
4079
4079
  }
4080
4080
  setStyle(e) {
4081
4081
  var o, r, a, l;
4082
- if (this.paramsStyle = R(R({}, this.paramsStyle), e), Ge(e.lineColor)) {
4082
+ if (this.paramsStyle = _(_({}, this.paramsStyle), e), Ge(e.lineColor)) {
4083
4083
  const c = new b.Color(e.lineColor);
4084
4084
  this.line1.material.three_color = c, this.line2.material.three_color = c;
4085
4085
  }
@@ -4147,8 +4147,8 @@ class Di extends Pi {
4147
4147
  return document.body.removeChild(M), E;
4148
4148
  };
4149
4149
  let z = 0;
4150
- const _ = j(u);
4151
- y > 0 && _ > y && (z = -20), this.doms[a].container.innerHTML = ru(u, {
4150
+ const R = j(u);
4151
+ y > 0 && R > y && (z = -20), this.doms[a].container.innerHTML = ru(u, {
4152
4152
  style: `${S} ${this.paramsStyle.cssStyle || ""}`,
4153
4153
  offsetY: z
4154
4154
  });
@@ -4237,7 +4237,7 @@ function $A() {
4237
4237
  lineColor: 3407837,
4238
4238
  lineOpacity: 0.7,
4239
4239
  occlusionVisibility: !0
4240
- }, i = new Di(ue(R({ points: [{ x: -0.5 }, { x: 0.5 }] }, e), { lineColor: 3407837 })), s = new Di(ue(R({ points: [{ y: -0.5 }, { y: 0.5 }] }, e), { lineColor: 3407837 }));
4240
+ }, i = new Di(ue(_({ points: [{ x: -0.5 }, { x: 0.5 }] }, e), { lineColor: 3407837 })), s = new Di(ue(_({ points: [{ y: -0.5 }, { y: 0.5 }] }, e), { lineColor: 3407837 }));
4241
4241
  return t.add(i, s), t;
4242
4242
  }
4243
4243
  function ew(n) {
@@ -4339,7 +4339,7 @@ class dv {
4339
4339
  f(this, "abortUpdateMagnifier", () => {
4340
4340
  });
4341
4341
  var s, o, r, a, l;
4342
- this.five = t, this.magnifier = (e == null ? void 0 : e.magnifier) !== void 0 ? e.magnifier : new nu(t, ue(R({ dragEnabled: !0 }, e == null ? void 0 : e.magnifierParams), { skipPanorama: (s = e == null ? void 0 : e.skipPanorama) != null ? s : !1 }));
4342
+ this.five = t, this.magnifier = (e == null ? void 0 : e.magnifier) !== void 0 ? e.magnifier : new nu(t, ue(_({ dragEnabled: !0 }, e == null ? void 0 : e.magnifierParams), { skipPanorama: (s = e == null ? void 0 : e.skipPanorama) != null ? s : !1 }));
4343
4343
  let i = null;
4344
4344
  (e == null ? void 0 : e.pointHelper) === "default" || (e == null ? void 0 : e.pointHelper) === void 0 ? i = new Av(t) : (e == null ? void 0 : e.pointHelper) === "highlight" ? i = new sw(t) : (e == null ? void 0 : e.pointHelper) === null ? i = null : i = e.pointHelper, this.pointHelper = i, this.group.name = "five-point-selector", this.five.scene.add(this.group), (l = this.magnifier) == null || l.appendTo((a = (r = e.container) != null ? r : (o = t.getElement()) == null ? void 0 : o.parentElement) != null ? a : document.body);
4345
4345
  }
@@ -4381,7 +4381,7 @@ function pv(n, t = 3) {
4381
4381
  function rw(n, t) {
4382
4382
  const s = Si(n).intersectRaycaster(t)[0];
4383
4383
  if (s)
4384
- return ue(R({}, s), { raycaster: t, isVirtual: !1 });
4384
+ return ue(_({}, s), { raycaster: t, isVirtual: !1 });
4385
4385
  }
4386
4386
  const Ud = `url("data:image/svg+xml,%3Csvg width='12px' height='12px' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M6,12 C9.3137085,12 12,9.3137085 12,6 C12,2.6862915 9.3137085,0 6,0 C2.6862915,0 0,2.6862915 0,6 C0,9.3137085 2.6862915,12 6,12 Z' fill='%23FF5959'%3E%3C/path%3E%3Cg transform='translate(2, 2)' stroke='%23FFFFFF'%3E%3Ccircle cx='4' cy='4' r='4'%3E%3C/circle%3E%3Cline x1='1.07141075' y1='1.23997894' x2='6.64700843' y2='6.81557662'%3E%3C/line%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 6 6, auto`, aw = new b.Vector3();
4387
4387
  function _n(n) {
@@ -4559,7 +4559,7 @@ class Wl extends St {
4559
4559
  this.config.hitFilter && (i.hitFilter = this.config.hitFilter);
4560
4560
  let s = ya(this.five, i);
4561
4561
  if (s) {
4562
- if (this.plane && this.planeMode === "vertical" && (s = ue(R({}, s), {
4562
+ if (this.plane && this.planeMode === "vertical" && (s = ue(_({}, s), {
4563
4563
  point: this.plane.projectPoint(s.point, new b.Vector3()),
4564
4564
  face: new b.Face3(0, 0, 0, this.plane.normal.clone()),
4565
4565
  originalPoint: s.point.clone()
@@ -4609,7 +4609,7 @@ class Wl extends St {
4609
4609
  return;
4610
4610
  }
4611
4611
  this.onEnter(), this.cursorError || (this.five.getElement().style.cursor = "");
4612
- const i = R({}, e);
4612
+ const i = _({}, e);
4613
4613
  if (this.adhereEnabled && this.mouseNdcPosition && this.five.renderer) {
4614
4614
  const d = {
4615
4615
  x: this.mouseNdcPosition.x,
@@ -4669,8 +4669,8 @@ class Wl extends St {
4669
4669
  else {
4670
4670
  const S = new b.Raycaster();
4671
4671
  S.setFromCamera(g.clone(), this.five.camera);
4672
- const j = this.five.model.intersectRaycaster(S)[0], z = 0.1, _ = this.five.camera.position.distanceTo(g);
4673
- j && j.distance < _ + z && (L = !0);
4672
+ const j = this.five.model.intersectRaycaster(S)[0], z = 0.1, R = this.five.camera.position.distanceTo(g);
4673
+ j && j.distance < R + z && (L = !0);
4674
4674
  }
4675
4675
  if (L) {
4676
4676
  i.point = g.clone(), !this.plane && m instanceof b.Face3 && (i.face = m), i.isAdsorbed = !0;
@@ -4703,15 +4703,15 @@ class Wl extends St {
4703
4703
  f(this, "emitIntersectionUpdate", (e) => {
4704
4704
  this.emit("intersectionUpdate", e);
4705
4705
  });
4706
- this.five = e, this.config = R(R({}, this.config), i), this.actionIfNoIntersection = (a = (r = i == null ? void 0 : i.actionIfNoIntersection) != null ? r : i == null ? void 0 : i.actionIfNoModelUnderMouse) != null ? a : "virtualPoint";
4706
+ this.five = e, this.config = _(_({}, this.config), i), this.actionIfNoIntersection = (a = (r = i == null ? void 0 : i.actionIfNoIntersection) != null ? r : i == null ? void 0 : i.actionIfNoModelUnderMouse) != null ? a : "virtualPoint";
4707
4707
  const s = (l = i == null ? void 0 : i.mode) != null ? l : "auto";
4708
4708
  s === "auto" ? this.mode = fv ? "fixed" : "cursor" : this.mode = s;
4709
4709
  const o = {
4710
4710
  autoFixPCPosition: this.mode === "cursor",
4711
4711
  initialPosition: this.mode === "fixed" ? { left: "35%", top: "20%" } : void 0
4712
4712
  };
4713
- this.pointSelectorHelper = new dv(this.five, ue(R({}, i == null ? void 0 : i.helper), {
4714
- magnifierParams: R(R({}, o), (c = i == null ? void 0 : i.helper) == null ? void 0 : c.magnifierParams),
4713
+ this.pointSelectorHelper = new dv(this.five, ue(_({}, i == null ? void 0 : i.helper), {
4714
+ magnifierParams: _(_({}, o), (c = i == null ? void 0 : i.helper) == null ? void 0 : c.magnifierParams),
4715
4715
  skipPanorama: (h = i == null ? void 0 : i.skipPanorama) != null ? h : !1
4716
4716
  })), this.pointSelectorHelper.hide();
4717
4717
  }
@@ -4781,7 +4781,7 @@ class gv extends b.Mesh {
4781
4781
  const lu = (n) => n ? n.visible === !1 ? !1 : lu(n.parent) : !0, vv = 1, Xd = `CSS3DObjectPlus@${vv}`, lw = 216e-5, cw = 3e-3;
4782
4782
  let yv = class extends Vn {
4783
4783
  constructor(e) {
4784
- var L, S, j, z, _;
4784
+ var L, S, j, z, R;
4785
4785
  if (wi(e.cornerPoints) && wi(e.width))
4786
4786
  throw new Error("cornerPoints and width cannot be both empty");
4787
4787
  const i = (L = e.container) != null ? L : document.createElement("div"), s = (S = e.cornerPoints) != null ? S : (() => {
@@ -4792,7 +4792,7 @@ let yv = class extends Vn {
4792
4792
  new fe(A, -A, 0),
4793
4793
  new fe(A, A, 0)
4794
4794
  ];
4795
- })(), o = (j = e.ratio) != null ? j : cw, r = (z = e.dpr) != null ? z : 1, a = (_ = e.pointerEvents) != null ? _ : "auto", l = Math.max(lw, o), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]), u = No(c / o * r), d = No(h / o * r), p = Et(...s);
4795
+ })(), o = (j = e.ratio) != null ? j : cw, r = (z = e.dpr) != null ? z : 1, a = (R = e.pointerEvents) != null ? R : "auto", l = Math.max(lw, o), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]), u = No(c / o * r), d = No(h / o * r), p = Et(...s);
4796
4796
  let m;
4797
4797
  if (l === o)
4798
4798
  i.style.width = `${u}px`, i.style.height = `${d}px`, m = i;
@@ -5867,8 +5867,8 @@ function lt(n) {
5867
5867
  }
5868
5868
  function m(w) {
5869
5869
  for (var I = 0, C = l.animations, L = C.length; I < L; ) {
5870
- var S = C[I], j = S.animatable, z = S.tweens, _ = z.length - 1, A = z[_];
5871
- _ && (A = Ql(z, function(Ae) {
5870
+ var S = C[I], j = S.animatable, z = S.tweens, R = z.length - 1, A = z[R];
5871
+ R && (A = Ql(z, function(Ae) {
5872
5872
  return w < Ae.end;
5873
5873
  })[0] || A);
5874
5874
  for (var M = ln(w - A.start - A.delay, 0, A.duration) / A.duration, E = isNaN(M) ? 1 : A.easing(M), k = A.to.strings, x = A.round, T = [], O = A.to.numbers.length, B = void 0, q = 0; q < O; q++) {
@@ -5952,8 +5952,8 @@ function Xw(n, t) {
5952
5952
  if (!s)
5953
5953
  g.push(Math.abs(r - C));
5954
5954
  else {
5955
- var L = l ? (s[0] - 1) / 2 : r % s[0], S = l ? (s[1] - 1) / 2 : Math.floor(r / s[0]), j = C % s[0], z = Math.floor(C / s[0]), _ = L - j, A = S - z, M = Math.sqrt(_ * _ + A * A);
5956
- o === "x" && (M = -_), o === "y" && (M = -A), g.push(M);
5955
+ var L = l ? (s[0] - 1) / 2 : r % s[0], S = l ? (s[1] - 1) / 2 : Math.floor(r / s[0]), j = C % s[0], z = Math.floor(C / s[0]), R = L - j, A = S - z, M = Math.sqrt(R * R + A * A);
5956
+ o === "x" && (M = -R), o === "y" && (M = -A), g.push(M);
5957
5957
  }
5958
5958
  v = Math.max.apply(Math, g);
5959
5959
  }
@@ -6256,7 +6256,7 @@ function Zl(n, t) {
6256
6256
  if (o.length === 0)
6257
6257
  return $r("No valid targets found"), yl();
6258
6258
  Bn.storeState(o);
6259
- const r = ue(R(R({}, Au), t), {
6259
+ const r = ue(_(_({}, Au), t), {
6260
6260
  targets: o,
6261
6261
  update: $w(o, t || {})
6262
6262
  }), a = lt(r);
@@ -6291,7 +6291,7 @@ function Xv(n, t) {
6291
6291
  if (o.length === 0)
6292
6292
  return $r("No valid targets found"), yl();
6293
6293
  Bn.storeState(o);
6294
- const r = ue(R(R({}, Au), t), {
6294
+ const r = ue(_(_({}, Au), t), {
6295
6295
  targets: o,
6296
6296
  update: e2(o, t || {})
6297
6297
  }), a = lt(r);
@@ -6320,7 +6320,7 @@ function Xv(n, t) {
6320
6320
  }
6321
6321
  function t2(n, t, e) {
6322
6322
  const i = Wv[t];
6323
- return Zl(n, R(R({}, i), e));
6323
+ return Zl(n, _(_({}, i), e));
6324
6324
  }
6325
6325
  function i2() {
6326
6326
  Bn.clear();
@@ -6330,7 +6330,7 @@ function n2(n, t) {
6330
6330
  a.setFromCamera({ x: o, y: r }, n.camera);
6331
6331
  const c = e.intersectRaycaster(a)[0];
6332
6332
  if (c)
6333
- return ue(R({}, c), { raycaster: a, isVirtual: !1 });
6333
+ return ue(_({}, c), { raycaster: a, isVirtual: !1 });
6334
6334
  }
6335
6335
  function s2(n, t) {
6336
6336
  const e = n.getElement();
@@ -6545,7 +6545,7 @@ class ea {
6545
6545
  s && (e ? s.add(i) : s.remove(i));
6546
6546
  });
6547
6547
  f(this, "createObject", (t, e) => {
6548
- const i = new yv(ue(R({ cornerPoints: t }, e), { style: e.wrapperStyle }));
6548
+ const i = new yv(ue(_({ cornerPoints: t }, e), { style: e.wrapperStyle }));
6549
6549
  return i.element.classList.add(`${fh}__container`), i.element.id = `${fh}__container--${i.uuid}`, i;
6550
6550
  });
6551
6551
  t && this.setScene(t);
@@ -6574,7 +6574,7 @@ class ea {
6574
6574
  setState(t, e = { userAction: !0 }) {
6575
6575
  if (this.state.disposed)
6576
6576
  return Ao();
6577
- const i = R({}, this.state);
6577
+ const i = _({}, this.state);
6578
6578
  this.state = Object.assign(this.state, t), i.visible !== this.state.visible && (t.visible ? this.handleShow() : this.handleHide()), i.enabled !== this.state.enabled && (t.enabled ? this.handleEnable() : this.handleDisable()), i.disposed !== this.state.disposed && this.handleDispose(), this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e.userAction });
6579
6579
  }
6580
6580
  dispose() {
@@ -6749,7 +6749,7 @@ let f2 = class extends ea {
6749
6749
  return Object.assign(h, i, (i == null ? void 0 : i.mode) === "behind" ? { scene: this.five.scene } : void 0);
6750
6750
  })(), { autoRender: o } = s;
6751
6751
  s.mode === "behind" && s.behindFiveContainer && (this.behindFiveContainer = s.behindFiveContainer);
6752
- const r = this.create3DElement(this.five.camera, e, ue(R({}, s), { autoRender: !1 }));
6752
+ const r = this.create3DElement(this.five.camera, e, ue(_({}, s), { autoRender: !1 }));
6753
6753
  if (!r)
6754
6754
  return;
6755
6755
  const a = r.dispose;
@@ -6763,7 +6763,7 @@ let f2 = class extends ea {
6763
6763
  }, c = () => {
6764
6764
  Ti(this.five).then(() => l());
6765
6765
  };
6766
- return o && c(), ue(R({}, r), { render: o ? void 0 : c });
6766
+ return o && c(), ue(_({}, r), { render: o ? void 0 : c });
6767
6767
  });
6768
6768
  this.five = e;
6769
6769
  }
@@ -7325,8 +7325,8 @@ function N2(n, t, e) {
7325
7325
  const j = m(d), z = (M) => {
7326
7326
  const E = M.distanceTo(j), k = new b.Raycaster(M, j.clone().sub(M).normalize()), x = s.model.intersectRaycaster(k)[0], T = x == null ? void 0 : x.distance;
7327
7327
  Ge(T) ? T > E && (S += 1) : S += 1;
7328
- }, _ = i.clampPoint(j, new b.Vector3());
7329
- z(_);
7328
+ }, R = i.clampPoint(j, new b.Vector3());
7329
+ z(R);
7330
7330
  const A = new b.Vector3(r.x, j.y, r.z);
7331
7331
  if (z(A), Ge(p[S]) && d > p[S] || (p[S] = d), S === 2)
7332
7332
  break;
@@ -7344,13 +7344,13 @@ function N2(n, t, e) {
7344
7344
  }
7345
7345
  if (n.state.mode === "Mapview")
7346
7346
  return n.updateCamera(
7347
- R({
7347
+ _({
7348
7348
  offset: r,
7349
7349
  distance: y
7350
7350
  }, w),
7351
7351
  800
7352
7352
  );
7353
- n.setState(R({
7353
+ n.setState(_({
7354
7354
  mode: "Mapview",
7355
7355
  offset: r,
7356
7356
  distance: y
@@ -7381,13 +7381,13 @@ function t1(n, t, e) {
7381
7381
  const p = d((v = u[1]) != null ? v : 0), m = Hs(t.clone().sub(p).normalize());
7382
7382
  if (n.state.mode === "Mapview")
7383
7383
  return n.updateCamera(
7384
- R({
7384
+ _({
7385
7385
  offset: t,
7386
7386
  distance: i
7387
7387
  }, m),
7388
7388
  800
7389
7389
  );
7390
- n.setState(R({
7390
+ n.setState(_({
7391
7391
  mode: "Mapview",
7392
7392
  offset: t,
7393
7393
  distance: i
@@ -7506,7 +7506,7 @@ class Uo {
7506
7506
  if (!r)
7507
7507
  return !1;
7508
7508
  const S = r.slice(1);
7509
- return S[0] ? this.notify(ue(R({}, t), { object: S[0].object, intersects: S })) : !1;
7509
+ return S[0] ? this.notify(ue(_({}, t), { object: S[0].object, intersects: S })) : !1;
7510
7510
  };
7511
7511
  let d = i;
7512
7512
  for (h.push(d); d.parent; )
@@ -7524,7 +7524,7 @@ class Uo {
7524
7524
  continue;
7525
7525
  const z = j[`${e}Handler`];
7526
7526
  if (z)
7527
- for (const [_, A] of z) {
7527
+ for (const [R, A] of z) {
7528
7528
  if (A != null && A.noEmitWhenNotInScene && p.type !== "Scene")
7529
7529
  continue;
7530
7530
  if (A.skipPano && a) {
@@ -7553,7 +7553,7 @@ class Uo {
7553
7553
  continue;
7554
7554
  S._hovered = !1;
7555
7555
  }
7556
- const M = _({
7556
+ const M = R({
7557
7557
  type: e,
7558
7558
  target: S,
7559
7559
  origDomEvent: s,
@@ -7606,7 +7606,7 @@ class Uo {
7606
7606
  * @return {void}
7607
7607
  */
7608
7608
  addEventListener(t, e, i, s) {
7609
- t._domEvent || (t._domEvent = {}), t._domEvent[`${e}Handler`] || (t._domEvent[`${e}Handler`] = []), this.boundObject[e] || (this.boundObject[e] = []), this.boundObject[e].includes(t) || this.boundObject[e].push(t), t._domEvent[`${e}Handler`].push([i, R({ noEmitWhenHide: !1, noEmitWhenNotInScene: !1 }, s)]);
7609
+ t._domEvent || (t._domEvent = {}), t._domEvent[`${e}Handler`] || (t._domEvent[`${e}Handler`] = []), this.boundObject[e] || (this.boundObject[e] = []), this.boundObject[e].includes(t) || this.boundObject[e].push(t), t._domEvent[`${e}Handler`].push([i, _({ noEmitWhenHide: !1, noEmitWhenNotInScene: !1 }, s)]);
7610
7610
  }
7611
7611
  removeEventListener(t, e, i, ...s) {
7612
7612
  var r, a;
@@ -7877,7 +7877,7 @@ const BL = (n, t) => {
7877
7877
  var M, E;
7878
7878
  const e = new St();
7879
7879
  let i = (E = (M = t == null ? void 0 : t.initialState) == null ? void 0 : M.enabled) != null ? E : !0, s = !1, o = !0, r = null;
7880
- const l = R(R({}, {
7880
+ const l = _(_({}, {
7881
7881
  lookAtCurrentCamera: !1,
7882
7882
  lockedPanoIndex: null,
7883
7883
  lockedLatitude: null,
@@ -7962,12 +7962,12 @@ const BL = (n, t) => {
7962
7962
  !i || o !== !0 || !r || !r.domElement.parentNode || r.domElement.parentNode.offsetWidth === 0 || (r.render(c, h), o = !1);
7963
7963
  }, z = () => {
7964
7964
  r && r.dispose(), r = null;
7965
- }, _ = (k) => {
7965
+ }, R = (k) => {
7966
7966
  Object.assign(l, k), S();
7967
7967
  }, A = () => ({
7968
7968
  enabled: i
7969
7969
  });
7970
- return n.on("loaded", y), n.on("willLoad", v), n.on("cameraDirectionUpdate", S), n.on("dispose", z), n.on("renderFrame", j), n.on("cameraPositionUpdate", S), { appendTo: C, refresh: L, changeConfigs: _, enable: w, disable: I, getCurrentState: A, hooks: e };
7970
+ return n.on("loaded", y), n.on("willLoad", v), n.on("cameraDirectionUpdate", S), n.on("dispose", z), n.on("renderFrame", j), n.on("cameraPositionUpdate", S), { appendTo: C, refresh: L, changeConfigs: R, enable: w, disable: I, getCurrentState: A, hooks: e };
7971
7971
  };
7972
7972
  class n1 extends ev {
7973
7973
  constructor(...t) {
@@ -8601,16 +8601,16 @@ function hi(n, t, e, i, s, o, r, a, l, c, h, u) {
8601
8601
  const v = [], y = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), I = [];
8602
8602
  for (m = p; m--; ) {
8603
8603
  const j = u(s, o, m), z = e(j);
8604
- let _ = r.get(z);
8605
- _ ? i && I.push(() => _.p(j, t)) : (_ = c(z, j), _.c()), y.set(z, v[m] = _), z in g && w.set(z, Math.abs(m - g[z]));
8604
+ let R = r.get(z);
8605
+ R ? i && I.push(() => R.p(j, t)) : (R = c(z, j), R.c()), y.set(z, v[m] = R), z in g && w.set(z, Math.abs(m - g[z]));
8606
8606
  }
8607
8607
  const C = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
8608
8608
  function S(j) {
8609
8609
  H(j, 1), j.m(a, h), r.set(j.key, j), h = j.first, p--;
8610
8610
  }
8611
8611
  for (; d && p; ) {
8612
- const j = v[p - 1], z = n[d - 1], _ = j.key, A = z.key;
8613
- j === z ? (h = j.first, d--, p--) : y.has(A) ? !r.has(_) || C.has(_) ? S(j) : L.has(A) ? d-- : w.get(_) > w.get(A) ? (L.add(_), S(j)) : (C.add(A), d--) : (l(z, r), d--);
8612
+ const j = v[p - 1], z = n[d - 1], R = j.key, A = z.key;
8613
+ j === z ? (h = j.first, d--, p--) : y.has(A) ? !r.has(R) || C.has(R) ? S(j) : L.has(A) ? d-- : w.get(R) > w.get(A) ? (L.add(R), S(j)) : (C.add(A), d--) : (l(z, r), d--);
8614
8614
  }
8615
8615
  for (; d--; ) {
8616
8616
  const j = n[d];
@@ -9396,8 +9396,8 @@ function N3(n, t, e) {
9396
9396
  return !1;
9397
9397
  const L = new or(), S = s.camera.position.clone(), j = new fe(I.position.x, I.position.y, I.position.z), z = j.distanceTo(S);
9398
9398
  L.set(S.clone(), j.clone().sub(S).normalize());
9399
- const [_] = s.model.intersectRaycaster(L);
9400
- return !(_ && _.distance + 1 < z);
9399
+ const [R] = s.model.intersectRaycaster(L);
9400
+ return !(R && R.distance + 1 < z);
9401
9401
  }
9402
9402
  function d(I, C) {
9403
9403
  const S = new fe(I.position.x, I.position.y, I.position.z).clone().project(s.camera), j = Math.ceil((S.x + 1) / 2 * C.x), z = Math.ceil((-S.y + 1) / 2 * C.y);
@@ -9406,15 +9406,15 @@ function N3(n, t, e) {
9406
9406
  function p(I) {
9407
9407
  const { rendererSize: C } = I, L = /* @__PURE__ */ new Map();
9408
9408
  function S(z) {
9409
- const _ = L.get(z.id);
9410
- if (_)
9411
- return _;
9409
+ const R = L.get(z.id);
9410
+ if (R)
9411
+ return R;
9412
9412
  const { x: A, y: M, z: E } = z.position, k = new fe(A, M, E).clone().distanceTo(s.camera.position);
9413
9413
  return L.set(z.id, k), k;
9414
9414
  }
9415
9415
  return o.map((z) => {
9416
- const _ = u(z), A = _ ? d(z, C) : z.transform, M = S(z), k = o.filter((x) => x.visible && S(x) < M).length * 10;
9417
- return ue(R({}, z), { visible: _, transform: A, zIndex: k });
9416
+ const R = u(z), A = R ? d(z, C) : z.transform, M = S(z), k = o.filter((x) => x.visible && S(x) < M).length * 10;
9417
+ return ue(_({}, z), { visible: R, transform: A, zIndex: k });
9418
9418
  });
9419
9419
  }
9420
9420
  function m() {
@@ -10366,7 +10366,7 @@ function vP(n, t) {
10366
10366
  return s;
10367
10367
  }
10368
10368
  function yP(n, t, e) {
10369
- let i, s, o, r, a, l, c, h, u, d, p, m, g, v, y, w, { pxmm: I } = t, { roomAreaEnable: C } = t, { roomNameEnable: L } = t, { roomNameOtherTypeEnable: S } = t, { roomDimensionEnable: j } = t, { room: z } = t, { hoveredRoom: _ } = t, { getRoomAreaText: A } = t, { getRoomDimensionText: M } = t, { getLabelElement: E } = t, { adaptiveRoomLabelVisibleEnable: k } = t, { fontSize: x } = t;
10369
+ let i, s, o, r, a, l, c, h, u, d, p, m, g, v, y, w, { pxmm: I } = t, { roomAreaEnable: C } = t, { roomNameEnable: L } = t, { roomNameOtherTypeEnable: S } = t, { roomDimensionEnable: j } = t, { room: z } = t, { hoveredRoom: R } = t, { getRoomAreaText: A } = t, { getRoomDimensionText: M } = t, { getLabelElement: E } = t, { adaptiveRoomLabelVisibleEnable: k } = t, { fontSize: x } = t;
10370
10370
  function T(ce, be) {
10371
10371
  if (be.width === 0 || be.height === 0)
10372
10372
  return () => !1;
@@ -10383,7 +10383,7 @@ function yP(n, t, e) {
10383
10383
  }
10384
10384
  const O = z.roomLabel, B = O.positionInImage.x * 100 + "%", q = O.positionInImage.y * 100 + "%";
10385
10385
  let ie = 0, Z = 0, se = 0, $ = 0, oe = !1;
10386
- _.subscribe(function(be) {
10386
+ R.subscribe(function(be) {
10387
10387
  e(27, oe = !!be && be.id === z.id);
10388
10388
  });
10389
10389
  const De = (ce) => {
@@ -10396,7 +10396,7 @@ function yP(n, t, e) {
10396
10396
  e(7, Z = ce.detail);
10397
10397
  };
10398
10398
  return n.$$set = (ce) => {
10399
- "pxmm" in ce && e(21, I = ce.pxmm), "roomAreaEnable" in ce && e(0, C = ce.roomAreaEnable), "roomNameEnable" in ce && e(1, L = ce.roomNameEnable), "roomNameOtherTypeEnable" in ce && e(2, S = ce.roomNameOtherTypeEnable), "roomDimensionEnable" in ce && e(3, j = ce.roomDimensionEnable), "room" in ce && e(4, z = ce.room), "hoveredRoom" in ce && e(22, _ = ce.hoveredRoom), "getRoomAreaText" in ce && e(23, A = ce.getRoomAreaText), "getRoomDimensionText" in ce && e(24, M = ce.getRoomDimensionText), "getLabelElement" in ce && e(5, E = ce.getLabelElement), "adaptiveRoomLabelVisibleEnable" in ce && e(25, k = ce.adaptiveRoomLabelVisibleEnable), "fontSize" in ce && e(26, x = ce.fontSize);
10399
+ "pxmm" in ce && e(21, I = ce.pxmm), "roomAreaEnable" in ce && e(0, C = ce.roomAreaEnable), "roomNameEnable" in ce && e(1, L = ce.roomNameEnable), "roomNameOtherTypeEnable" in ce && e(2, S = ce.roomNameOtherTypeEnable), "roomDimensionEnable" in ce && e(3, j = ce.roomDimensionEnable), "room" in ce && e(4, z = ce.room), "hoveredRoom" in ce && e(22, R = ce.hoveredRoom), "getRoomAreaText" in ce && e(23, A = ce.getRoomAreaText), "getRoomDimensionText" in ce && e(24, M = ce.getRoomDimensionText), "getLabelElement" in ce && e(5, E = ce.getLabelElement), "adaptiveRoomLabelVisibleEnable" in ce && e(25, k = ce.adaptiveRoomLabelVisibleEnable), "fontSize" in ce && e(26, x = ce.fontSize);
10400
10400
  }, n.$$.update = () => {
10401
10401
  var ce, be;
10402
10402
  n.$$.dirty[0] & /*fontSize*/
@@ -10446,7 +10446,7 @@ function yP(n, t, e) {
10446
10446
  B,
10447
10447
  q,
10448
10448
  I,
10449
- _,
10449
+ R,
10450
10450
  A,
10451
10451
  M,
10452
10452
  k,
@@ -11751,7 +11751,7 @@ function KP(n, t, e) {
11751
11751
  "roomLabelsEnable" in u && e(4, s = u.roomLabelsEnable), "roomDimensionEnable" in u && e(5, o = u.roomDimensionEnable), "floorIndex" in u && e(6, r = u.floorIndex), "floorplanData" in u && e(7, a = u.floorplanData);
11752
11752
  }, n.$$.update = () => {
11753
11753
  n.$$.dirty & /*floorplanData, floorIndex*/
11754
- 192 && e(0, i = a.floorDatas[r].rooms.map((u) => ue(R({}, u), {
11754
+ 192 && e(0, i = a.floorDatas[r].rooms.map((u) => ue(_({}, u), {
11755
11755
  path: u.path.map((d) => w1(d, a.bounding))
11756
11756
  })));
11757
11757
  }, [
@@ -12418,11 +12418,11 @@ function wC(n) {
12418
12418
  c() {
12419
12419
  ve(t.$$.fragment), e = he(), g && g.c(), i = he(), ve(s.$$.fragment), o = he(), ve(r.$$.fragment), a = he(), C && C.c(), l = he(), L && L.c(), c = he(), S && S.c(), h = he(), j && j.c(), u = Ve();
12420
12420
  },
12421
- m(z, _) {
12422
- me(t, z, _), X(z, e, _), g && g.m(z, _), X(z, i, _), me(s, z, _), X(z, o, _), me(r, z, _), X(z, a, _), C && C.m(z, _), X(z, l, _), L && L.m(z, _), X(z, c, _), S && S.m(z, _), X(z, h, _), j && j.m(z, _), X(z, u, _), d = !0;
12421
+ m(z, R) {
12422
+ me(t, z, R), X(z, e, R), g && g.m(z, R), X(z, i, R), me(s, z, R), X(z, o, R), me(r, z, R), X(z, a, R), C && C.m(z, R), X(z, l, R), L && L.m(z, R), X(z, c, R), S && S.m(z, R), X(z, h, R), j && j.m(z, R), X(z, u, R), d = !0;
12423
12423
  },
12424
- p(z, _) {
12425
- const A = _ & /*floorIndex, floorplanData, roomLabelsEnable, roomDimensionEnable*/
12424
+ p(z, R) {
12425
+ const A = R & /*floorIndex, floorplanData, roomLabelsEnable, roomDimensionEnable*/
12426
12426
  5188 ? yt(p, [
12427
12427
  {
12428
12428
  floorIndex: (
@@ -12445,11 +12445,11 @@ function wC(n) {
12445
12445
  ]) : {};
12446
12446
  t.$set(A), /*highlightEnable*/
12447
12447
  z[3] || /*hoverEnable*/
12448
- z[5] ? g ? (g.p(z, _), _ & /*highlightEnable, hoverEnable*/
12448
+ z[5] ? g ? (g.p(z, R), R & /*highlightEnable, hoverEnable*/
12449
12449
  40 && H(g, 1)) : (g = zf(z), g.c(), H(g, 1), g.m(i.parentNode, i)) : g && (xe(), Y(g, 1, 1, () => {
12450
12450
  g = null;
12451
12451
  }), Se());
12452
- const M = _ & /*floorplanData, floorIndex*/
12452
+ const M = R & /*floorplanData, floorIndex*/
12453
12453
  4100 ? yt(v, [
12454
12454
  {
12455
12455
  floorplanData: (
@@ -12463,7 +12463,7 @@ function wC(n) {
12463
12463
  }
12464
12464
  ]) : {};
12465
12465
  s.$set(M);
12466
- const E = _ & /*floorplanData, floorIndex*/
12466
+ const E = R & /*floorplanData, floorIndex*/
12467
12467
  4100 ? yt(w, [
12468
12468
  {
12469
12469
  floorplanData: (
@@ -12477,19 +12477,19 @@ function wC(n) {
12477
12477
  }
12478
12478
  ]) : {};
12479
12479
  r.$set(E), /*roomLabelsEnable*/
12480
- z[6] ? C ? (C.p(z, _), _ & /*roomLabelsEnable*/
12480
+ z[6] ? C ? (C.p(z, R), R & /*roomLabelsEnable*/
12481
12481
  64 && H(C, 1)) : (C = Of(z), C.c(), H(C, 1), C.m(l.parentNode, l)) : C && (xe(), Y(C, 1, 1, () => {
12482
12482
  C = null;
12483
12483
  }), Se()), /*ruleLabelsEnable*/
12484
- z[11] ? L ? (L.p(z, _), _ & /*ruleLabelsEnable*/
12484
+ z[11] ? L ? (L.p(z, R), R & /*ruleLabelsEnable*/
12485
12485
  2048 && H(L, 1)) : (L = jf(z), L.c(), H(L, 1), L.m(c.parentNode, c)) : L && (xe(), Y(L, 1, 1, () => {
12486
12486
  L = null;
12487
12487
  }), Se()), /*cameraEnable*/
12488
- z[4] ? S ? (S.p(z, _), _ & /*cameraEnable*/
12488
+ z[4] ? S ? (S.p(z, R), R & /*cameraEnable*/
12489
12489
  16 && H(S, 1)) : (S = Rf(z), S.c(), H(S, 1), S.m(h.parentNode, h)) : S && (xe(), Y(S, 1, 1, () => {
12490
12490
  S = null;
12491
12491
  }), Se()), /*compassEnable*/
12492
- z[23] ? j ? (j.p(z, _), _ & /*compassEnable*/
12492
+ z[23] ? j ? (j.p(z, R), R & /*compassEnable*/
12493
12493
  8388608 && H(j, 1)) : (j = _f(z), j.c(), H(j, 1), j.m(u.parentNode, u)) : j && (xe(), Y(j, 1, 1, () => {
12494
12494
  j = null;
12495
12495
  }), Se());
@@ -12930,12 +12930,12 @@ function CC(n) {
12930
12930
  };
12931
12931
  }
12932
12932
  function IC(n, t, e) {
12933
- let i, s, { panoIndex: o } = t, { isCurrent: r } = t, { floorIndex: a } = t, { highlightEnable: l } = t, { cameraEnable: c } = t, { hoverEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: d } = t, { roomNameEnable: p } = t, { roomNameOtherTypeEnable: m } = t, { roomDimensionEnable: g } = t, { ruleLabelsEnable: v } = t, { floorplanData: y } = t, { getRoomAreaText: w } = t, { getRoomDimensionText: I } = t, { getLabelElement: C } = t, { getRuleDistanceText: L } = t, { adaptiveRoomLabelVisibleEnable: S } = t, { highlightData: j } = t, { missingFloorConfig: z } = t, { lastPanoramaLongitude: _ } = t, { cameraImageUrl: A } = t, { northDesc: M } = t, { compassEnable: E } = t, { store: k = void 0 } = t;
12933
+ let i, s, { panoIndex: o } = t, { isCurrent: r } = t, { floorIndex: a } = t, { highlightEnable: l } = t, { cameraEnable: c } = t, { hoverEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: d } = t, { roomNameEnable: p } = t, { roomNameOtherTypeEnable: m } = t, { roomDimensionEnable: g } = t, { ruleLabelsEnable: v } = t, { floorplanData: y } = t, { getRoomAreaText: w } = t, { getRoomDimensionText: I } = t, { getLabelElement: C } = t, { getRuleDistanceText: L } = t, { adaptiveRoomLabelVisibleEnable: S } = t, { highlightData: j } = t, { missingFloorConfig: z } = t, { lastPanoramaLongitude: R } = t, { cameraImageUrl: A } = t, { northDesc: M } = t, { compassEnable: E } = t, { store: k = void 0 } = t;
12934
12934
  const x = Gu(void 0);
12935
12935
  return x.subscribe((T) => {
12936
12936
  k && e(26, k.roomOnMouse = T, k);
12937
12937
  }), n.$$set = (T) => {
12938
- "panoIndex" in T && e(0, o = T.panoIndex), "isCurrent" in T && e(1, r = T.isCurrent), "floorIndex" in T && e(2, a = T.floorIndex), "highlightEnable" in T && e(3, l = T.highlightEnable), "cameraEnable" in T && e(4, c = T.cameraEnable), "hoverEnable" in T && e(5, h = T.hoverEnable), "roomLabelsEnable" in T && e(6, u = T.roomLabelsEnable), "roomAreaEnable" in T && e(7, d = T.roomAreaEnable), "roomNameEnable" in T && e(8, p = T.roomNameEnable), "roomNameOtherTypeEnable" in T && e(9, m = T.roomNameOtherTypeEnable), "roomDimensionEnable" in T && e(10, g = T.roomDimensionEnable), "ruleLabelsEnable" in T && e(11, v = T.ruleLabelsEnable), "floorplanData" in T && e(12, y = T.floorplanData), "getRoomAreaText" in T && e(13, w = T.getRoomAreaText), "getRoomDimensionText" in T && e(14, I = T.getRoomDimensionText), "getLabelElement" in T && e(15, C = T.getLabelElement), "getRuleDistanceText" in T && e(16, L = T.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in T && e(17, S = T.adaptiveRoomLabelVisibleEnable), "highlightData" in T && e(18, j = T.highlightData), "missingFloorConfig" in T && e(19, z = T.missingFloorConfig), "lastPanoramaLongitude" in T && e(20, _ = T.lastPanoramaLongitude), "cameraImageUrl" in T && e(21, A = T.cameraImageUrl), "northDesc" in T && e(22, M = T.northDesc), "compassEnable" in T && e(23, E = T.compassEnable), "store" in T && e(26, k = T.store);
12938
+ "panoIndex" in T && e(0, o = T.panoIndex), "isCurrent" in T && e(1, r = T.isCurrent), "floorIndex" in T && e(2, a = T.floorIndex), "highlightEnable" in T && e(3, l = T.highlightEnable), "cameraEnable" in T && e(4, c = T.cameraEnable), "hoverEnable" in T && e(5, h = T.hoverEnable), "roomLabelsEnable" in T && e(6, u = T.roomLabelsEnable), "roomAreaEnable" in T && e(7, d = T.roomAreaEnable), "roomNameEnable" in T && e(8, p = T.roomNameEnable), "roomNameOtherTypeEnable" in T && e(9, m = T.roomNameOtherTypeEnable), "roomDimensionEnable" in T && e(10, g = T.roomDimensionEnable), "ruleLabelsEnable" in T && e(11, v = T.ruleLabelsEnable), "floorplanData" in T && e(12, y = T.floorplanData), "getRoomAreaText" in T && e(13, w = T.getRoomAreaText), "getRoomDimensionText" in T && e(14, I = T.getRoomDimensionText), "getLabelElement" in T && e(15, C = T.getLabelElement), "getRuleDistanceText" in T && e(16, L = T.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in T && e(17, S = T.adaptiveRoomLabelVisibleEnable), "highlightData" in T && e(18, j = T.highlightData), "missingFloorConfig" in T && e(19, z = T.missingFloorConfig), "lastPanoramaLongitude" in T && e(20, R = T.lastPanoramaLongitude), "cameraImageUrl" in T && e(21, A = T.cameraImageUrl), "northDesc" in T && e(22, M = T.northDesc), "compassEnable" in T && e(23, E = T.compassEnable), "store" in T && e(26, k = T.store);
12939
12939
  }, n.$$.update = () => {
12940
12940
  n.$$.dirty & /*floorplanData, floorIndex*/
12941
12941
  4100 && e(27, i = y.floorDatas[a]), n.$$.dirty & /*floorData*/
@@ -12961,7 +12961,7 @@ function IC(n, t, e) {
12961
12961
  S,
12962
12962
  j,
12963
12963
  z,
12964
- _,
12964
+ R,
12965
12965
  A,
12966
12966
  M,
12967
12967
  E,
@@ -13369,9 +13369,9 @@ function kC(n) {
13369
13369
  };
13370
13370
  }
13371
13371
  function xC(n, t, e) {
13372
- let { duration: i = 0 } = t, { visible: s } = t, { northDesc: o } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: h } = t, { compassEnable: u } = t, { roomLabelsEnable: d } = t, { roomAreaEnable: p } = t, { roomNameEnable: m } = t, { roomNameOtherTypeEnable: g } = t, { roomDimensionEnable: v } = t, { ruleLabelsEnable: y } = t, { floorplanData: w } = t, { lastPanoramaLongitude: I } = t, { cameraImageUrl: C } = t, { getRoomAreaText: L } = t, { getRoomDimensionText: S } = t, { getLabelElement: j } = t, { getRuleDistanceText: z } = t, { adaptiveRoomLabelVisibleEnable: _ } = t, { highlightData: A } = t, { missingFloorConfig: M } = t, { store: E = void 0 } = t;
13372
+ let { duration: i = 0 } = t, { visible: s } = t, { northDesc: o } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: h } = t, { compassEnable: u } = t, { roomLabelsEnable: d } = t, { roomAreaEnable: p } = t, { roomNameEnable: m } = t, { roomNameOtherTypeEnable: g } = t, { roomDimensionEnable: v } = t, { ruleLabelsEnable: y } = t, { floorplanData: w } = t, { lastPanoramaLongitude: I } = t, { cameraImageUrl: C } = t, { getRoomAreaText: L } = t, { getRoomDimensionText: S } = t, { getLabelElement: j } = t, { getRuleDistanceText: z } = t, { adaptiveRoomLabelVisibleEnable: R } = t, { highlightData: A } = t, { missingFloorConfig: M } = t, { store: E = void 0 } = t;
13373
13373
  return n.$$set = (k) => {
13374
- "duration" in k && e(0, i = k.duration), "visible" in k && e(1, s = k.visible), "northDesc" in k && e(2, o = k.northDesc), "panoIndex" in k && e(3, r = k.panoIndex), "floorIndex" in k && e(4, a = k.floorIndex), "cameraEnable" in k && e(5, l = k.cameraEnable), "hoverEnable" in k && e(6, c = k.hoverEnable), "highlightEnable" in k && e(7, h = k.highlightEnable), "compassEnable" in k && e(8, u = k.compassEnable), "roomLabelsEnable" in k && e(9, d = k.roomLabelsEnable), "roomAreaEnable" in k && e(10, p = k.roomAreaEnable), "roomNameEnable" in k && e(11, m = k.roomNameEnable), "roomNameOtherTypeEnable" in k && e(12, g = k.roomNameOtherTypeEnable), "roomDimensionEnable" in k && e(13, v = k.roomDimensionEnable), "ruleLabelsEnable" in k && e(14, y = k.ruleLabelsEnable), "floorplanData" in k && e(15, w = k.floorplanData), "lastPanoramaLongitude" in k && e(16, I = k.lastPanoramaLongitude), "cameraImageUrl" in k && e(17, C = k.cameraImageUrl), "getRoomAreaText" in k && e(18, L = k.getRoomAreaText), "getRoomDimensionText" in k && e(19, S = k.getRoomDimensionText), "getLabelElement" in k && e(20, j = k.getLabelElement), "getRuleDistanceText" in k && e(21, z = k.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in k && e(22, _ = k.adaptiveRoomLabelVisibleEnable), "highlightData" in k && e(23, A = k.highlightData), "missingFloorConfig" in k && e(24, M = k.missingFloorConfig), "store" in k && e(25, E = k.store);
13374
+ "duration" in k && e(0, i = k.duration), "visible" in k && e(1, s = k.visible), "northDesc" in k && e(2, o = k.northDesc), "panoIndex" in k && e(3, r = k.panoIndex), "floorIndex" in k && e(4, a = k.floorIndex), "cameraEnable" in k && e(5, l = k.cameraEnable), "hoverEnable" in k && e(6, c = k.hoverEnable), "highlightEnable" in k && e(7, h = k.highlightEnable), "compassEnable" in k && e(8, u = k.compassEnable), "roomLabelsEnable" in k && e(9, d = k.roomLabelsEnable), "roomAreaEnable" in k && e(10, p = k.roomAreaEnable), "roomNameEnable" in k && e(11, m = k.roomNameEnable), "roomNameOtherTypeEnable" in k && e(12, g = k.roomNameOtherTypeEnable), "roomDimensionEnable" in k && e(13, v = k.roomDimensionEnable), "ruleLabelsEnable" in k && e(14, y = k.ruleLabelsEnable), "floorplanData" in k && e(15, w = k.floorplanData), "lastPanoramaLongitude" in k && e(16, I = k.lastPanoramaLongitude), "cameraImageUrl" in k && e(17, C = k.cameraImageUrl), "getRoomAreaText" in k && e(18, L = k.getRoomAreaText), "getRoomDimensionText" in k && e(19, S = k.getRoomDimensionText), "getLabelElement" in k && e(20, j = k.getLabelElement), "getRuleDistanceText" in k && e(21, z = k.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in k && e(22, R = k.adaptiveRoomLabelVisibleEnable), "highlightData" in k && e(23, A = k.highlightData), "missingFloorConfig" in k && e(24, M = k.missingFloorConfig), "store" in k && e(25, E = k.store);
13375
13375
  }, [
13376
13376
  i,
13377
13377
  s,
@@ -13395,7 +13395,7 @@ function xC(n, t, e) {
13395
13395
  S,
13396
13396
  j,
13397
13397
  z,
13398
- _,
13398
+ R,
13399
13399
  A,
13400
13400
  M,
13401
13401
  E
@@ -13553,7 +13553,7 @@ let Cs = class {
13553
13553
  /**
13554
13554
  * @realsee/dnalogel 版本号
13555
13555
  */
13556
- f(this, "VERSION", "3.81.2");
13556
+ f(this, "VERSION", "3.81.3-alpha.2");
13557
13557
  f(this, "NAME");
13558
13558
  f(this, "five");
13559
13559
  f(this, "workUtil");
@@ -13772,7 +13772,7 @@ let NC = class extends vn {
13772
13772
  * plugin.updateShowState({ longitude: Math.PI / 2 })
13773
13773
  */
13774
13774
  f(this, "updateShowState", (e) => {
13775
- this.showState = R(R({}, this.showState), e);
13775
+ this.showState = _(_({}, this.showState), e);
13776
13776
  });
13777
13777
  f(this, "_disable", (e) => {
13778
13778
  var s, o, r;
@@ -13799,7 +13799,7 @@ let NC = class extends vn {
13799
13799
  immediately: !1,
13800
13800
  isAutoShow: !1,
13801
13801
  userAction: !0
13802
- }, s = R(R({}, i), e), o = () => K(this, null, function* () {
13802
+ }, s = _(_({}, i), e), o = () => K(this, null, function* () {
13803
13803
  this.hooks.emit("show", { userAction: s.userAction, auto: s.isAutoShow });
13804
13804
  let a = !1, l;
13805
13805
  this.showRejection = (u) => {
@@ -13829,7 +13829,7 @@ let NC = class extends vn {
13829
13829
  f(this, "_hide", (e) => {
13830
13830
  var o;
13831
13831
  (o = this.showRejection) == null || o.call(this, gi.BreakOffByHide), this.showPromise = void 0;
13832
- const s = R(R({}, {
13832
+ const s = _(_({}, {
13833
13833
  userAction: !0,
13834
13834
  isAutoHide: !1
13835
13835
  }), e);
@@ -13900,7 +13900,7 @@ let NC = class extends vn {
13900
13900
  this.floorIndex = e, this.updateSize(), this.render();
13901
13901
  }
13902
13902
  });
13903
- i != null && i.selector && (this.selector = i.selector, console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")), this.showState = R({
13903
+ i != null && i.selector && (this.selector = i.selector, console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")), this.showState = _({
13904
13904
  mode: "Floorplan",
13905
13905
  longitude: 0,
13906
13906
  latitude: Math.PI / 2,
@@ -13930,12 +13930,12 @@ let NC = class extends vn {
13930
13930
  cameraImageUrl: fn,
13931
13931
  attachedTo: Gs.BOUNDING_CENTER,
13932
13932
  getLabelElement: void 0,
13933
- missingFloorConfig: R(R({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
13933
+ missingFloorConfig: _(_({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
13934
13934
  i18n: (u) => u,
13935
13935
  getRoomAreaText: (u) => (u / 1e6).toFixed(1) + "㎡",
13936
13936
  getRoomDimensionText: (u, d) => (u / 1e3).toFixed(1) + "m × " + (d / 1e3).toFixed(1) + "m",
13937
13937
  getRuleDistanceText: (u) => u.toString()
13938
- }, o = i ? Jo(i, ["selector", "scale"]) : {}, r = R(R({}, s.missingFloorConfig), o.missingFloorConfig), a = ue(R(R({}, s), o), { missingFloorConfig: r });
13938
+ }, o = i ? Jo(i, ["selector", "scale"]) : {}, r = _(_({}, s.missingFloorConfig), o.missingFloorConfig), a = ue(_(_({}, s), o), { missingFloorConfig: r });
13939
13939
  this.state = { enabled: !0, visible: !1, config: a }, this.panoIndex = e.getCurrentState().panoIndex, this.initContainer(), e.once("dispose", this.dispose), this.addEventListener();
13940
13940
  }
13941
13941
  load(e, i, s = !0) {
@@ -14005,8 +14005,8 @@ let NC = class extends vn {
14005
14005
  }
14006
14006
  updateState(e, i) {
14007
14007
  var a;
14008
- const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? R(R({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ue(R(R({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
14009
- this.state = ue(R(R({}, this.state), e), { config: r }), !Qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
14008
+ const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? _(_({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ue(_(_({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
14009
+ this.state = ue(_(_({}, this.state), e), { config: r }), !Qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
14010
14010
  }
14011
14011
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
14012
14012
  *
@@ -14035,7 +14035,7 @@ let NC = class extends vn {
14035
14035
  render(e) {
14036
14036
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
14037
14037
  return;
14038
- const i = ue(R({}, this.state.config), {
14038
+ const i = ue(_({}, this.state.config), {
14039
14039
  visible: this.state.visible,
14040
14040
  duration: e != null ? e : 0,
14041
14041
  panoIndex: this.panoIndex,
@@ -16811,7 +16811,7 @@ let QC = class extends vn {
16811
16811
  * plugin.updateShowState({ longitude: Math.PI / 2 })
16812
16812
  */
16813
16813
  f(this, "updateShowState", (e) => {
16814
- this.showState = R(R({}, this.showState), e);
16814
+ this.showState = _(_({}, this.showState), e);
16815
16815
  });
16816
16816
  f(this, "_disable", (e) => {
16817
16817
  var s, o, r;
@@ -16838,7 +16838,7 @@ let QC = class extends vn {
16838
16838
  immediately: !1,
16839
16839
  isAutoShow: !1,
16840
16840
  userAction: !0
16841
- }, s = R(R({}, i), e), o = () => K(this, null, function* () {
16841
+ }, s = _(_({}, i), e), o = () => K(this, null, function* () {
16842
16842
  this.hooks.emit("show", { userAction: s.userAction, auto: s.isAutoShow });
16843
16843
  let a = !1, l;
16844
16844
  this.showRejection = (u) => {
@@ -16868,7 +16868,7 @@ let QC = class extends vn {
16868
16868
  f(this, "_hide", (e) => {
16869
16869
  var o;
16870
16870
  (o = this.showRejection) == null || o.call(this, gi.BreakOffByHide), this.showPromise = void 0;
16871
- const s = R(R({}, {
16871
+ const s = _(_({}, {
16872
16872
  userAction: !0,
16873
16873
  isAutoHide: !1
16874
16874
  }), e);
@@ -16940,7 +16940,7 @@ let QC = class extends vn {
16940
16940
  this.floorIndex = e, this.updateSize(), this.render();
16941
16941
  }
16942
16942
  });
16943
- i != null && i.selector && (this.selector = i.selector, console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")), this.showState = R({
16943
+ i != null && i.selector && (this.selector = i.selector, console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")), this.showState = _({
16944
16944
  mode: "Mapview",
16945
16945
  longitude: 0,
16946
16946
  latitude: Math.PI / 2,
@@ -16972,12 +16972,12 @@ let QC = class extends vn {
16972
16972
  attachedTo: Gs.BOUNDING_CENTER,
16973
16973
  getLabelElement: void 0,
16974
16974
  adaptiveRoomLabelVisibleEnable: !0,
16975
- missingFloorConfig: R(R({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
16975
+ missingFloorConfig: _(_({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
16976
16976
  i18n: (u) => u,
16977
16977
  getRoomAreaText: (u) => (u / 1e6).toFixed(1) + "㎡",
16978
16978
  getRoomDimensionText: (u, d) => (u / 1e3).toFixed(1) + "m × " + (d / 1e3).toFixed(1) + "m",
16979
16979
  getRuleDistanceText: (u) => u.toString()
16980
- }, o = i ? Jo(i, ["selector", "scale"]) : {}, r = R(R({}, s.missingFloorConfig), o.missingFloorConfig), a = ue(R(R({}, s), o), { missingFloorConfig: r });
16980
+ }, o = i ? Jo(i, ["selector", "scale"]) : {}, r = _(_({}, s.missingFloorConfig), o.missingFloorConfig), a = ue(_(_({}, s), o), { missingFloorConfig: r });
16981
16981
  this.state = { enabled: !0, visible: !1, config: a }, this.panoIndex = e.getCurrentState().panoIndex, this.initContainer(), Ti(e).then(this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
16982
16982
  }
16983
16983
  load(e, i, s = !0) {
@@ -17074,8 +17074,8 @@ let QC = class extends vn {
17074
17074
  }
17075
17075
  updateState(e, i) {
17076
17076
  var a;
17077
- const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? R(R({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ue(R(R({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
17078
- this.state = ue(R(R({}, this.state), e), { config: r }), !Qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
17077
+ const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? _(_({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ue(_(_({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
17078
+ this.state = ue(_(_({}, this.state), e), { config: r }), !Qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
17079
17079
  }
17080
17080
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
17081
17081
  *
@@ -17107,12 +17107,12 @@ let QC = class extends vn {
17107
17107
  */
17108
17108
  getRelativePose(e) {
17109
17109
  const i = this.showState.longitude || 0, o = ((e.longitude - i) % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI);
17110
- return ue(R({}, e), { longitude: o });
17110
+ return ue(_({}, e), { longitude: o });
17111
17111
  }
17112
17112
  render(e) {
17113
17113
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
17114
17114
  return;
17115
- const i = ue(R({}, this.state.config), {
17115
+ const i = ue(_({}, this.state.config), {
17116
17116
  visible: this.state.visible,
17117
17117
  duration: e != null ? e : 0,
17118
17118
  panoIndex: this.panoIndex,
@@ -17248,13 +17248,13 @@ let XC = class extends vn {
17248
17248
  cameraImageUrl: fn,
17249
17249
  attachedTo: Gs.BOUNDING_CENTER,
17250
17250
  getLabelElement: void 0,
17251
- missingFloorConfig: R(R({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
17251
+ missingFloorConfig: _(_({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
17252
17252
  i18n: (h) => h,
17253
17253
  adaptiveRoomLabelVisibleEnable: !0,
17254
17254
  getRoomAreaText: (h) => (h / 1e6).toFixed(1) + "㎡",
17255
17255
  getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
17256
17256
  getRuleDistanceText: (h) => h.toString()
17257
- }, o = i ? Jo(i, ["selector", "scale"]) : {}, r = R(R({}, s.missingFloorConfig), o.missingFloorConfig), a = ue(R(R({}, s), o), { missingFloorConfig: r });
17257
+ }, o = i ? Jo(i, ["selector", "scale"]) : {}, r = _(_({}, s.missingFloorConfig), o.missingFloorConfig), a = ue(_(_({}, s), o), { missingFloorConfig: r });
17258
17258
  this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.model.loaded ? this.onFiveModelLoaded() : e.once("modelLoaded", this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
17259
17259
  }
17260
17260
  load(e, i, s = !0) {
@@ -17357,8 +17357,8 @@ let XC = class extends vn {
17357
17357
  }
17358
17358
  updateState(e, i) {
17359
17359
  var a;
17360
- const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? R(R({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ue(R(R({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
17361
- this.state = ue(R(R({}, this.state), e), { config: r }), !Qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
17360
+ const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? _(_({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ue(_(_({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
17361
+ this.state = ue(_(_({}, this.state), e), { config: r }), !Qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
17362
17362
  }
17363
17363
  addEventListener() {
17364
17364
  if (!this.state.enabled || this.hasAddedEventListener)
@@ -17388,7 +17388,7 @@ let XC = class extends vn {
17388
17388
  render(e) {
17389
17389
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0)
17390
17390
  return;
17391
- const i = ue(R({}, this.state.config), {
17391
+ const i = ue(_({}, this.state.config), {
17392
17392
  visible: this.state.visible,
17393
17393
  duration: e != null ? e : 0,
17394
17394
  panoIndex: this.panoIndex,
@@ -17472,7 +17472,7 @@ function JC(n, t, e) {
17472
17472
  const S = C.bounding, j = C.observers[L];
17473
17473
  if (!j)
17474
17474
  return "";
17475
- const z = (S.max.x - S.min.x) * l, _ = (S.max.y - S.min.y) * l, A = Math.floor(j.positionInImage.x * z), M = Math.floor(j.positionInImage.y * _);
17475
+ const z = (S.max.x - S.min.x) * l, R = (S.max.y - S.min.y) * l, A = Math.floor(j.positionInImage.x * z), M = Math.floor(j.positionInImage.y * R);
17476
17476
  return `translate(${A}px, ${M}px)`;
17477
17477
  }
17478
17478
  function g(C) {
@@ -18127,10 +18127,10 @@ function u5(n, t, e) {
18127
18127
  }, n.$$.update = () => {
18128
18128
  if (n.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
18129
18129
  1800) {
18130
- const S = Math.min(p, m), { max: j, min: z } = r.bounding, _ = j.x - z.x, A = j.y - z.y, M = function() {
18131
- return _ > A ? [S, S / _ * A] : [S / A * _, S];
18130
+ const S = Math.min(p, m), { max: j, min: z } = r.bounding, R = j.x - z.x, A = j.y - z.y, M = function() {
18131
+ return R > A ? [S, S / R * A] : [S / A * R, S];
18132
18132
  }();
18133
- e(10, g = M[0]), e(13, v = M[1]), e(11, u = g / _);
18133
+ e(10, g = M[0]), e(13, v = M[1]), e(11, u = g / R);
18134
18134
  }
18135
18135
  }, [
18136
18136
  i,
@@ -18208,7 +18208,7 @@ let d5 = class extends Me {
18208
18208
  highlightEnable: !1,
18209
18209
  cameraImageUrl: fn,
18210
18210
  missingFloorImageUrl: Xi(i == null ? void 0 : i.staticPrefix, ps)
18211
- }, o = R(R({}, s), i == null ? void 0 : i.configs);
18211
+ }, o = _(_({}, s), i == null ? void 0 : i.configs);
18212
18212
  this.state = { enabled: !0, visible: !0, config: o }, i != null && i.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (i == null ? void 0 : i.wrapper) == "string" ? this.wrapperSelector = i.wrapper : (i == null ? void 0 : i.wrapper) instanceof Element && (this.wrapper = i.wrapper), e.once("dispose", this.dispose);
18213
18213
  }
18214
18214
  load(e, i, s = !0) {
@@ -18292,8 +18292,8 @@ let d5 = class extends Me {
18292
18292
  this.hooks.emit("hide", { userAction: i }), this.render();
18293
18293
  }
18294
18294
  updateState(e, i) {
18295
- const s = this.state, o = e.config ? R(R({}, s.config), e.config) : s.config;
18296
- this.state = ue(R(R({}, this.state), e), { config: o }), !Qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
18295
+ const s = this.state, o = e.config ? _(_({}, s.config), e.config) : s.config;
18296
+ this.state = ue(_(_({}, this.state), e), { config: o }), !Qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
18297
18297
  }
18298
18298
  render() {
18299
18299
  if (this.disposed || !this.state.enabled)
@@ -18304,7 +18304,7 @@ let d5 = class extends Me {
18304
18304
  }
18305
18305
  if (!this.data || !this.wrapper)
18306
18306
  return;
18307
- const e = ue(R({}, this.state.config), {
18307
+ const e = ue(_({}, this.state.config), {
18308
18308
  five: this.five,
18309
18309
  floorplanData: this.data,
18310
18310
  visible: this.state.visible,
@@ -18400,10 +18400,10 @@ function v5(n, t, e) {
18400
18400
  var C, L;
18401
18401
  let i, s, o, r, { five: a } = t, { pxmm: l } = t, { floorplanData: c } = t, { cameraImageUrl: h } = t, { cameraSize: u = 36 } = t, { cameraOffset: d = 28.5 } = t, p = a.getCurrentState().panoIndex, m = a.getCurrentState().longitude, g = (L = (C = a.work.observers[a.getCurrentState().panoIndex]) == null ? void 0 : C.floorIndex) != null ? L : 0;
18402
18402
  function v(S, j) {
18403
- const z = S.bounding, _ = S.observers[j];
18404
- if (!_)
18403
+ const z = S.bounding, R = S.observers[j];
18404
+ if (!R)
18405
18405
  return "";
18406
- const A = (z.max.x - z.min.x) * l, M = (z.max.y - z.min.y) * l, E = Math.floor(_.positionInImage.x * A), k = Math.floor(_.positionInImage.y * M);
18406
+ const A = (z.max.x - z.min.x) * l, M = (z.max.y - z.min.y) * l, E = Math.floor(R.positionInImage.x * A), k = Math.floor(R.positionInImage.y * M);
18407
18407
  return `translate(${E}px, ${k}px)`;
18408
18408
  }
18409
18409
  function y(S) {
@@ -20179,7 +20179,7 @@ function J5(n) {
20179
20179
  };
20180
20180
  }
20181
20181
  function K5(n, t, e) {
20182
- let i, { five: s } = t, { visible: o } = t, { hoverEnable: r } = t, { floorplanData: a } = t, { cameraImageUrl: l } = t, { extraObjects: c = [] } = t, { highlightData: h } = t, { missingFloorImageUrl: u } = t, { missingFloorConfig: d } = t, { clickEnable: p = !0 } = t, { roomLabelsEnable: m = !1 } = t, { roomNameEnable: g = !0 } = t, { roomNameOtherTypeEnable: v = !0 } = t, { roomAreaEnable: y = !0 } = t, { adaptiveRoomLabelVisibleEnable: w = !0 } = t, { getRoomAreaText: I = ($) => ($ / 1e6).toFixed(1) + "㎡" } = t, { getLabelElement: C = void 0 } = t, { compassEnable: L = !1 } = t, { northDesc: S = "北" } = t, { compassHeight: j = 50 } = t, { observerDotSize: z = 12 } = t, { displayedFloorIndex: _ } = t, { shouldShowRadar: A = !0 } = t, { cameraSize: M = 36 } = t, { cameraOffset: E = 28.5 } = t, { onFloorplanClick: k = void 0 } = t, x = 0, T = 0, O = 0, B = 0, q = 0;
20182
+ let i, { five: s } = t, { visible: o } = t, { hoverEnable: r } = t, { floorplanData: a } = t, { cameraImageUrl: l } = t, { extraObjects: c = [] } = t, { highlightData: h } = t, { missingFloorImageUrl: u } = t, { missingFloorConfig: d } = t, { clickEnable: p = !0 } = t, { roomLabelsEnable: m = !1 } = t, { roomNameEnable: g = !0 } = t, { roomNameOtherTypeEnable: v = !0 } = t, { roomAreaEnable: y = !0 } = t, { adaptiveRoomLabelVisibleEnable: w = !0 } = t, { getRoomAreaText: I = ($) => ($ / 1e6).toFixed(1) + "㎡" } = t, { getLabelElement: C = void 0 } = t, { compassEnable: L = !1 } = t, { northDesc: S = "北" } = t, { compassHeight: j = 50 } = t, { observerDotSize: z = 12 } = t, { displayedFloorIndex: R } = t, { shouldShowRadar: A = !0 } = t, { cameraSize: M = 36 } = t, { cameraOffset: E = 28.5 } = t, { onFloorplanClick: k = void 0 } = t, x = 0, T = 0, O = 0, B = 0, q = 0;
20183
20183
  function ie($) {
20184
20184
  if (!p || !k)
20185
20185
  return;
@@ -20187,7 +20187,7 @@ function K5(n, t, e) {
20187
20187
  k({
20188
20188
  imageX: le,
20189
20189
  imageY: ce,
20190
- floorIndex: _,
20190
+ floorIndex: R,
20191
20191
  originalEvent: $
20192
20192
  });
20193
20193
  }
@@ -20197,7 +20197,7 @@ function K5(n, t, e) {
20197
20197
  e(26, O = $.detail);
20198
20198
  };
20199
20199
  return n.$$set = ($) => {
20200
- "five" in $ && e(0, s = $.five), "visible" in $ && e(1, o = $.visible), "hoverEnable" in $ && e(2, r = $.hoverEnable), "floorplanData" in $ && e(3, a = $.floorplanData), "cameraImageUrl" in $ && e(4, l = $.cameraImageUrl), "extraObjects" in $ && e(5, c = $.extraObjects), "highlightData" in $ && e(6, h = $.highlightData), "missingFloorImageUrl" in $ && e(7, u = $.missingFloorImageUrl), "missingFloorConfig" in $ && e(8, d = $.missingFloorConfig), "clickEnable" in $ && e(9, p = $.clickEnable), "roomLabelsEnable" in $ && e(10, m = $.roomLabelsEnable), "roomNameEnable" in $ && e(11, g = $.roomNameEnable), "roomNameOtherTypeEnable" in $ && e(12, v = $.roomNameOtherTypeEnable), "roomAreaEnable" in $ && e(13, y = $.roomAreaEnable), "adaptiveRoomLabelVisibleEnable" in $ && e(14, w = $.adaptiveRoomLabelVisibleEnable), "getRoomAreaText" in $ && e(15, I = $.getRoomAreaText), "getLabelElement" in $ && e(16, C = $.getLabelElement), "compassEnable" in $ && e(17, L = $.compassEnable), "northDesc" in $ && e(18, S = $.northDesc), "compassHeight" in $ && e(19, j = $.compassHeight), "observerDotSize" in $ && e(20, z = $.observerDotSize), "displayedFloorIndex" in $ && e(21, _ = $.displayedFloorIndex), "shouldShowRadar" in $ && e(22, A = $.shouldShowRadar), "cameraSize" in $ && e(23, M = $.cameraSize), "cameraOffset" in $ && e(24, E = $.cameraOffset), "onFloorplanClick" in $ && e(32, k = $.onFloorplanClick);
20200
+ "five" in $ && e(0, s = $.five), "visible" in $ && e(1, o = $.visible), "hoverEnable" in $ && e(2, r = $.hoverEnable), "floorplanData" in $ && e(3, a = $.floorplanData), "cameraImageUrl" in $ && e(4, l = $.cameraImageUrl), "extraObjects" in $ && e(5, c = $.extraObjects), "highlightData" in $ && e(6, h = $.highlightData), "missingFloorImageUrl" in $ && e(7, u = $.missingFloorImageUrl), "missingFloorConfig" in $ && e(8, d = $.missingFloorConfig), "clickEnable" in $ && e(9, p = $.clickEnable), "roomLabelsEnable" in $ && e(10, m = $.roomLabelsEnable), "roomNameEnable" in $ && e(11, g = $.roomNameEnable), "roomNameOtherTypeEnable" in $ && e(12, v = $.roomNameOtherTypeEnable), "roomAreaEnable" in $ && e(13, y = $.roomAreaEnable), "adaptiveRoomLabelVisibleEnable" in $ && e(14, w = $.adaptiveRoomLabelVisibleEnable), "getRoomAreaText" in $ && e(15, I = $.getRoomAreaText), "getLabelElement" in $ && e(16, C = $.getLabelElement), "compassEnable" in $ && e(17, L = $.compassEnable), "northDesc" in $ && e(18, S = $.northDesc), "compassHeight" in $ && e(19, j = $.compassHeight), "observerDotSize" in $ && e(20, z = $.observerDotSize), "displayedFloorIndex" in $ && e(21, R = $.displayedFloorIndex), "shouldShowRadar" in $ && e(22, A = $.shouldShowRadar), "cameraSize" in $ && e(23, M = $.cameraSize), "cameraOffset" in $ && e(24, E = $.cameraOffset), "onFloorplanClick" in $ && e(32, k = $.onFloorplanClick);
20201
20201
  }, n.$$.update = () => {
20202
20202
  var $;
20203
20203
  if (n.$$.dirty[0] & /*clientWidth, clientHeight, floorplanData, contentWidth*/
@@ -20208,7 +20208,7 @@ function K5(n, t, e) {
20208
20208
  e(27, B = ce[0]), e(29, q = ce[1]), e(28, x = B / Ae);
20209
20209
  }
20210
20210
  n.$$.dirty[0] & /*floorplanData, displayedFloorIndex*/
20211
- 2097160 && e(30, i = (($ = a.floorDatas[_]) == null ? void 0 : $.rooms.length) > 0);
20211
+ 2097160 && e(30, i = (($ = a.floorDatas[R]) == null ? void 0 : $.rooms.length) > 0);
20212
20212
  }, [
20213
20213
  s,
20214
20214
  o,
@@ -20231,7 +20231,7 @@ function K5(n, t, e) {
20231
20231
  S,
20232
20232
  j,
20233
20233
  z,
20234
- _,
20234
+ R,
20235
20235
  A,
20236
20236
  M,
20237
20237
  E,
@@ -20365,7 +20365,7 @@ let eI = class extends vn {
20365
20365
  highlightEnable: !1,
20366
20366
  cameraImageUrl: hC,
20367
20367
  missingFloorImageUrl: Xi(i == null ? void 0 : i.staticPrefix, ps),
20368
- missingFloorConfig: R(R({}, this.defaultMissingFloorConfig), i == null ? void 0 : i.missingFloorConfig),
20368
+ missingFloorConfig: _(_({}, this.defaultMissingFloorConfig), i == null ? void 0 : i.missingFloorConfig),
20369
20369
  clickEnable: !0,
20370
20370
  roomLabelsEnable: !1,
20371
20371
  roomNameEnable: !0,
@@ -20381,7 +20381,7 @@ let eI = class extends vn {
20381
20381
  cameraSize: 36,
20382
20382
  cameraOffset: 28.5,
20383
20383
  i18n: (i == null ? void 0 : i.i18n) || ((l) => l)
20384
- }, o = R(R({}, s), i == null ? void 0 : i.configs);
20384
+ }, o = _(_({}, s), i == null ? void 0 : i.configs);
20385
20385
  this.state = { enabled: !0, visible: !0, config: o }, i != null && i.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (i == null ? void 0 : i.wrapper) == "string" ? this.wrapperSelector = i.wrapper : (i == null ? void 0 : i.wrapper) instanceof Element && (this.wrapper = i.wrapper), e.once("dispose", this.dispose), e.on("panoArrived", this.handlePanoArrived);
20386
20386
  }
20387
20387
  load(e, i, s = !0) {
@@ -20481,8 +20481,8 @@ let eI = class extends vn {
20481
20481
  }
20482
20482
  updateState(e, i) {
20483
20483
  var a;
20484
- const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? R(R({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ue(R(R({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
20485
- this.state = ue(R(R({}, this.state), e), { config: r }), !Qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
20484
+ const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? _(_({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ue(_(_({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
20485
+ this.state = ue(_(_({}, this.state), e), { config: r }), !Qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
20486
20486
  }
20487
20487
  render() {
20488
20488
  var r, a;
@@ -20494,7 +20494,7 @@ let eI = class extends vn {
20494
20494
  }
20495
20495
  if (!this.data || !this.wrapper)
20496
20496
  return;
20497
- const e = (a = (r = this.five.work.observers[this.five.getCurrentState().panoIndex]) == null ? void 0 : r.floorIndex) != null ? a : 0, i = this.state.displayedFloorIndex !== void 0 ? this.state.displayedFloorIndex : e, s = i === e, o = ue(R({}, this.state.config), {
20497
+ const e = (a = (r = this.five.work.observers[this.five.getCurrentState().panoIndex]) == null ? void 0 : r.floorIndex) != null ? a : 0, i = this.state.displayedFloorIndex !== void 0 ? this.state.displayedFloorIndex : e, s = i === e, o = ue(_({}, this.state.config), {
20498
20498
  five: this.five,
20499
20499
  floorplanData: this.data,
20500
20500
  visible: this.state.visible,
@@ -20622,7 +20622,7 @@ function x1(n, t) {
20622
20622
  n.traverse((e) => {
20623
20623
  var i;
20624
20624
  if (e.type === "Mesh") {
20625
- const s = e, o = R({ map: s.material.map || {} }, t);
20625
+ const s = e, o = _({ map: s.material.map || {} }, t);
20626
20626
  s.material = new Zr(o), s.renderOrder = 1, ((i = e.parent) == null ? void 0 : i.type) === "Mesh" && (e.renderOrder = e.parent.renderOrder + 1);
20627
20627
  }
20628
20628
  });
@@ -20986,34 +20986,34 @@ var Ap = S1.Zlib, L1 = {
20986
20986
  l[0][0] = 1;
20987
20987
  for (var c = o.slice(0), h = o.slice(0), u = 1; u <= e; ++u) {
20988
20988
  c[u] = t - s[n + 1 - u], h[u] = s[n + u] - t;
20989
- for (var d = 0, _ = 0; _ < u; ++_) {
20990
- var p = h[_ + 1], m = c[u - _];
20991
- l[u][_] = p + m;
20992
- var g = l[_][u - 1] / l[u][_];
20993
- l[_][u] = d + p * g, d = m * g;
20989
+ for (var d = 0, R = 0; R < u; ++R) {
20990
+ var p = h[R + 1], m = c[u - R];
20991
+ l[u][R] = p + m;
20992
+ var g = l[R][u - 1] / l[u][R];
20993
+ l[R][u] = d + p * g, d = m * g;
20994
20994
  }
20995
20995
  l[u][u] = d;
20996
20996
  }
20997
20997
  for (var u = 0; u <= e; ++u)
20998
20998
  a[0][u] = l[u][e];
20999
- for (var _ = 0; _ <= e; ++_) {
20999
+ for (var R = 0; R <= e; ++R) {
21000
21000
  for (var v = 0, y = 1, w = [], r = 0; r <= e; ++r)
21001
21001
  w[r] = o.slice(0);
21002
21002
  w[0][0] = 1;
21003
21003
  for (var I = 1; I <= i; ++I) {
21004
- var C = 0, L = _ - I, S = e - I;
21005
- _ >= I && (w[y][0] = w[v][0] / l[S + 1][L], C = w[y][0] * l[L][S]);
21006
- for (var j = L >= -1 ? 1 : -L, z = _ - 1 <= S ? I - 1 : e - _, u = j; u <= z; ++u)
21004
+ var C = 0, L = R - I, S = e - I;
21005
+ R >= I && (w[y][0] = w[v][0] / l[S + 1][L], C = w[y][0] * l[L][S]);
21006
+ for (var j = L >= -1 ? 1 : -L, z = R - 1 <= S ? I - 1 : e - R, u = j; u <= z; ++u)
21007
21007
  w[y][u] = (w[v][u] - w[v][u - 1]) / l[S + 1][L + u], C += w[y][u] * l[L + u][S];
21008
- _ <= S && (w[y][I] = -w[v][I - 1] / l[S + 1][_], C += w[y][I] * l[_][S]), a[I][_] = C;
21008
+ R <= S && (w[y][I] = -w[v][I - 1] / l[S + 1][R], C += w[y][I] * l[R][S]), a[I][R] = C;
21009
21009
  var u = v;
21010
21010
  v = y, y = u;
21011
21011
  }
21012
21012
  }
21013
- for (var _ = e, I = 1; I <= i; ++I) {
21013
+ for (var R = e, I = 1; I <= i; ++I) {
21014
21014
  for (var u = 0; u <= e; ++u)
21015
- a[I][u] *= _;
21016
- _ *= e - I;
21015
+ a[I][u] *= R;
21016
+ R *= e - I;
21017
21017
  }
21018
21018
  return a;
21019
21019
  },
@@ -22159,7 +22159,7 @@ var z1 = function() {
22159
22159
  if (x >= 180) {
22160
22160
  for (var T = x / 180, O = k / T, B = E + O, q = A.times[M - 1], ie = A.times[M] - q, Z = ie / T, se = q + Z, $ = [], oe = []; se < A.times[M]; )
22161
22161
  $.push(se), se += Z, oe.push(B), B += O;
22162
- A.times = _(A.times, M, $), A.values = _(A.values, M, oe);
22162
+ A.times = R(A.times, M, $), A.values = R(A.values, M, oe);
22163
22163
  }
22164
22164
  }
22165
22165
  }
@@ -22611,7 +22611,7 @@ var z1 = function() {
22611
22611
  A[T] = M[x];
22612
22612
  return A;
22613
22613
  }
22614
- function _(A, M, E) {
22614
+ function R(A, M, E) {
22615
22615
  return A.slice(0, M).concat(E).concat(A.slice(M));
22616
22616
  }
22617
22617
  return i;
@@ -22663,9 +22663,9 @@ const fz = (n, t) => {
22663
22663
  return;
22664
22664
  const y = n.model.bounding, w = y.max.x - y.min.x, I = y.max.z - y.min.z, C = Math.max(w, I), {
22665
22665
  max: { x: L, z: S },
22666
- min: { x: j, y: z, z: _ }
22666
+ min: { x: j, y: z, z: R }
22667
22667
  } = y;
22668
- s.yBase = z, o = { x: (L + j) / 2, y: z - 1.6, z: (S + _) / 2 }, r = [0, l - Math.PI / 2, 0], a = 45e-4 * C, tI(v, { position: o, rotation: r, scale: a });
22668
+ s.yBase = z, o = { x: (L + j) / 2, y: z - 1.6, z: (S + R) / 2 }, r = [0, l - Math.PI / 2, 0], a = 45e-4 * C, tI(v, { position: o, rotation: r, scale: a });
22669
22669
  }
22670
22670
  return { load: c, disable: p, enable: d };
22671
22671
  };
@@ -22691,8 +22691,8 @@ const rI = ({ x: n, y: t, z: e }) => new fe(n, t, e), pz = (n, t) => {
22691
22691
  const z = (O = (T = (x = (k = j.children) == null ? void 0 : k[0]) == null ? void 0 : x.children) == null ? void 0 : T[3]) == null ? void 0 : O.clone();
22692
22692
  if (!z)
22693
22693
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${z}`));
22694
- const _ = (B = t.name) != null ? B : "入户门";
22695
- return z.material = new Zr({ transparent: !0, map: oI(_) }), z.renderOrder = 3, j.children[0].add(z), e.object = j, !0;
22694
+ const R = (B = t.name) != null ? B : "入户门";
22695
+ return z.material = new Zr({ transparent: !0, map: oI(R) }), z.renderOrder = 3, j.children[0].add(z), e.object = j, !0;
22696
22696
  }), c = () => {
22697
22697
  if (e.animation)
22698
22698
  return;
@@ -22713,14 +22713,14 @@ const rI = ({ x: n, y: t, z: e }) => new fe(n, t, e), pz = (n, t) => {
22713
22713
  return A = requestAnimationFrame(k), () => {
22714
22714
  cancelAnimationFrame(A);
22715
22715
  };
22716
- }, _ = { play: () => {
22716
+ }, R = { play: () => {
22717
22717
  L || (C.play(), L = S(), requestAnimationFrame(() => {
22718
22718
  e.object && e.object.rotation.z !== e.rad && (e.object.rotation.z = e.rad);
22719
22719
  }));
22720
22720
  }, stop: () => {
22721
22721
  C.stop(), L == null || L(), L = void 0;
22722
22722
  } };
22723
- e.animation = _;
22723
+ e.animation = R;
22724
22724
  }, h = (w) => {
22725
22725
  var C;
22726
22726
  if (!e.object)
@@ -22772,7 +22772,7 @@ const Mh = (n, t, e) => {
22772
22772
  const t = {}, e = (l, c, ...h) => K(void 0, [l, c, ...h], function* (o, r, a = { preload: !0 }) {
22773
22773
  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) => {
22774
22774
  const p = o.panoIndex !== void 0 ? o.panoIndex : n.panoIndex;
22775
- p !== void 0 ? n.moveToPano(p, R({
22775
+ p !== void 0 ? n.moveToPano(p, _({
22776
22776
  duration: r,
22777
22777
  // 移动耗时
22778
22778
  moveEndCallback: () => u(!0),
@@ -23014,7 +23014,7 @@ const fI = `<style type="text/css">
23014
23014
  const L = v[C], S = (I = w.observers[0]) == null ? void 0 : I.standingPosition;
23015
23015
  if (!S)
23016
23016
  return;
23017
- const j = L.map(({ x: z, z: _, observers: A }) => {
23017
+ const j = L.map(({ x: z, z: R, observers: A }) => {
23018
23018
  const M = A.length > 0 ? g.rooms[g.observers[A[0]]].name : "", E = y[M] ? y[M].floor : null;
23019
23019
  let k = 1 / 0, x = {
23020
23020
  index: 0,
@@ -23030,28 +23030,28 @@ const fI = `<style type="text/css">
23030
23030
  x: se.x,
23031
23031
  y: se.y,
23032
23032
  z: se.z
23033
- }, oe = pI({ x: z, z: _ }, $);
23033
+ }, oe = pI({ x: z, z: R }, $);
23034
23034
  E ? oe < k && Math.abs($.y - E) < 0.3 && (k = oe, x = $) : oe < k && (k = oe, x = $);
23035
23035
  });
23036
- const T = new fe(z, x.y, _);
23036
+ const T = new fe(z, x.y, R);
23037
23037
  Object.assign(T, { observers: A });
23038
- const O = y[M] ? y[M].roof : null, B = O ? new fe(z, O, _) : null;
23038
+ const O = y[M] ? y[M].roof : null, B = O ? new fe(z, O, R) : null;
23039
23039
  return B && Object.assign(B, { observers: A }), { origin: T, vertical: B };
23040
23040
  });
23041
23041
  r[C] = {
23042
23042
  origins: j.map((z) => z.origin),
23043
23043
  rules: []
23044
23044
  };
23045
- for (const { origin: z, vertical: _ } of j) {
23046
- if (!_)
23045
+ for (const { origin: z, vertical: R } of j) {
23046
+ if (!R)
23047
23047
  continue;
23048
- const A = i(C, z.distanceTo(_));
23049
- s.append(A), r[C].rules.push({ vertical: !0, rule: [z, _], $element: A });
23048
+ const A = i(C, z.distanceTo(R));
23049
+ s.append(A), r[C].rules.push({ vertical: !0, rule: [z, R], $element: A });
23050
23050
  }
23051
23051
  for (let z = 0; z < j.length; z++) {
23052
- let _ = z + 1;
23053
- _ >= j.length && (_ = 0);
23054
- const { origin: A } = j[z], { origin: M } = j[_], E = i(C, A.distanceTo(M));
23052
+ let R = z + 1;
23053
+ R >= j.length && (R = 0);
23054
+ const { origin: A } = j[z], { origin: M } = j[R], E = i(C, A.distanceTo(M));
23055
23055
  s.append(E), r[C].rules.push({ vertical: !1, rule: [A, M], $element: E });
23056
23056
  }
23057
23057
  }
@@ -23060,7 +23060,7 @@ const fI = `<style type="text/css">
23060
23060
  const w = g || t.roomInfo, I = v || t.roomRules;
23061
23061
  if (!w || !I)
23062
23062
  throw new Error("标尺数据依赖不齐全!");
23063
- return e.loaded = !1, e.options = R(R({}, e.options), y || {}), n.model.loaded ? a(w, I) : yield new Promise((C) => n.once("modelLoaded", () => C(a(w, I))));
23063
+ return e.loaded = !1, e.options = _(_({}, e.options), y || {}), n.model.loaded ? a(w, I) : yield new Promise((C) => n.once("modelLoaded", () => C(a(w, I))));
23064
23064
  });
23065
23065
  t.roomInfo && t.roomRules && l(t.roomInfo, t.roomRules);
23066
23066
  const c = (g, v, y, w) => {
@@ -23088,8 +23088,8 @@ const fI = `<style type="text/css">
23088
23088
  }
23089
23089
  return C.length === 0 ? !1 : C;
23090
23090
  }, h = () => {
23091
- var _;
23092
- const g = (_ = n.getElement()) == null ? void 0 : _.parentElement;
23091
+ var R;
23092
+ const g = (R = n.getElement()) == null ? void 0 : R.parentElement;
23093
23093
  if (!g || !e.loaded || Object.keys(r).length <= 0)
23094
23094
  return;
23095
23095
  const { panoIndex: v, camera: y, currentMode: w } = n;
@@ -23506,18 +23506,18 @@ function CI(n, t, e) {
23506
23506
  }
23507
23507
  return S.length === 0 ? !1 : S;
23508
23508
  }, h = (I, C) => {
23509
- const L = I.clone().project(i.camera), S = (L.x + 1) / 2 * a, j = (-L.y + 1) / 2 * l, z = C.clone().project(i.camera), _ = (z.x + 1) / 2 * a, A = (-z.y + 1) / 2 * l, M = Math.sqrt(Math.pow(_ - S, 2) + Math.pow(A - j, 2));
23509
+ const L = I.clone().project(i.camera), S = (L.x + 1) / 2 * a, j = (-L.y + 1) / 2 * l, z = C.clone().project(i.camera), R = (z.x + 1) / 2 * a, A = (-z.y + 1) / 2 * l, M = Math.sqrt(Math.pow(R - S, 2) + Math.pow(A - j, 2));
23510
23510
  return {
23511
23511
  startLeft: S,
23512
23512
  startTop: j,
23513
- endLeft: _,
23513
+ endLeft: R,
23514
23514
  endTop: A,
23515
23515
  distance: M
23516
23516
  };
23517
23517
  }, u = (I, C, L) => {
23518
- const S = i.camera.position, j = i.camera.getWorldDirection(new fe()), z = I.clone().sub(S).normalize().angleTo(j), _ = C.clone().sub(S).normalize().angleTo(j), A = I.distanceTo(C), E = C.clone().sub(C.clone().sub(I).divide(new fe(2, 2, 2))).distanceTo(S), { startLeft: k, startTop: x, endLeft: T, endTop: O, distance: B } = h(I, C), ie = -((Math.PI / 2 - Math.atan2(T - k, x - O)) / Math.PI) * 180;
23518
+ const S = i.camera.position, j = i.camera.getWorldDirection(new fe()), z = I.clone().sub(S).normalize().angleTo(j), R = C.clone().sub(S).normalize().angleTo(j), A = I.distanceTo(C), E = C.clone().sub(C.clone().sub(I).divide(new fe(2, 2, 2))).distanceTo(S), { startLeft: k, startTop: x, endLeft: T, endTop: O, distance: B } = h(I, C), ie = -((Math.PI / 2 - Math.atan2(T - k, x - O)) / Math.PI) * 180;
23519
23519
  let Z = !0;
23520
- L || (Z = !1), !Qt(I, L) && !Qt(C, L) && (Z = !1), A < 0.3 && (Z = !1), z > Math.PI / 2 && (Z = !1), _ > Math.PI / 2 && (Z = !1), E / A > 8 && (Z = !1);
23520
+ L || (Z = !1), !Qt(I, L) && !Qt(C, L) && (Z = !1), A < 0.3 && (Z = !1), z > Math.PI / 2 && (Z = !1), R > Math.PI / 2 && (Z = !1), E / A > 8 && (Z = !1);
23521
23521
  let se = 50, $ = B;
23522
23522
  const oe = c({ x: ~~k, y: ~~x }, { x: ~~T, y: ~~O });
23523
23523
  if (oe && oe.length === 1 && (Qt(I, L) ? ($ = Math.sqrt(Math.pow(oe[0].x - k, 2) + Math.pow(oe[0].y - x, 2)), se = $ / B * 50) : Qt(C, L) && ($ = Math.sqrt(Math.pow(oe[0].x - T, 2) + Math.pow(oe[0].y - O, 2)), se = 100 - $ / B * 50)), oe && oe.length === 2) {
@@ -23542,12 +23542,12 @@ function CI(n, t, e) {
23542
23542
  return e(0, r = []);
23543
23543
  if (i.currentMode !== Ut.Mode.Panorama)
23544
23544
  return e(0, r = []);
23545
- const L = i.camera.position, S = i.camera.getWorldDirection(new fe()), j = C.lines.map((M) => new fe(M.start[0], -M.start[1], -M.start[2])), z = C.lines.map((M) => new fe(M.end[0], -M.end[1], -M.end[2])), [_] = j.concat(z).sort((M, E) => {
23545
+ const L = i.camera.position, S = i.camera.getWorldDirection(new fe()), j = C.lines.map((M) => new fe(M.start[0], -M.start[1], -M.start[2])), z = C.lines.map((M) => new fe(M.end[0], -M.end[1], -M.end[2])), [R] = j.concat(z).sort((M, E) => {
23546
23546
  const k = M.clone().setY(0).sub(L).normalize().angleTo(S.clone().setY(0)), x = E.clone().setY(0).sub(L).normalize().angleTo(S.clone().setY(0));
23547
23547
  return k - x;
23548
23548
  }), A = C.lines.map((M) => {
23549
23549
  var $, oe;
23550
- const E = M.start, k = M.end, { startLeft: x, startTop: T, distance: O, deg: B, visible: q, labelOffset: ie, ruleLength: Z } = u(new fe(E[0], -E[1], -E[2]), new fe(k[0], -k[1], -k[2]), _), se = [];
23550
+ const E = M.start, k = M.end, { startLeft: x, startTop: T, distance: O, deg: B, visible: q, labelOffset: ie, ruleLength: Z } = u(new fe(E[0], -E[1], -E[2]), new fe(k[0], -k[1], -k[2]), R), se = [];
23551
23551
  return M.children && (($ = M.children) == null ? void 0 : $.length) > 0 && ((oe = M.children) == null || oe.forEach((De) => {
23552
23552
  const ne = De.start, Ae = De.end, { distance: le } = h(new fe(ne[0], -ne[1], -ne[2]), new fe(Ae[0], -Ae[1], -Ae[2]));
23553
23553
  se.push({ width: le, state: De.state });
@@ -23596,7 +23596,7 @@ let MI = class {
23596
23596
  this.five = t, this.container.classList.add("panoRulerProPlugin-container"), this.container.setAttribute(
23597
23597
  "style",
23598
23598
  "position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;"
23599
- ), e && (e.data && this.load(e.data), this.state.options = R(R({}, this.state.options), e.options || {}), (i = e.options) != null && i.className && this.container.classList.add((s = e.options) == null ? void 0 : s.className)), this.five.once("modelLoaded", () => K(this, null, function* () {
23599
+ ), e && (e.data && this.load(e.data), this.state.options = _(_({}, this.state.options), e.options || {}), (i = e.options) != null && i.className && this.container.classList.add((s = e.options) == null ? void 0 : s.className)), this.five.once("modelLoaded", () => K(this, null, function* () {
23600
23600
  var o, r;
23601
23601
  (r = (o = this.five.getElement()) == null ? void 0 : o.parentNode) == null || r.append(this.container);
23602
23602
  })), this.five.once("dispose", () => this.dispose());
@@ -23793,7 +23793,7 @@ class SI extends vn {
23793
23793
  this.five.scene.add(this.group), this.five.once("dispose", this.dispose), this.setState({
23794
23794
  visible: !0,
23795
23795
  enabled: !0,
23796
- config: R(R({}, this.state.config), i || {})
23796
+ config: _(_({}, this.state.config), i || {})
23797
23797
  });
23798
23798
  }
23799
23799
  /**
@@ -23856,7 +23856,7 @@ class SI extends vn {
23856
23856
  this.state = {
23857
23857
  visible: (o = e.visible) != null ? o : s.visible,
23858
23858
  enabled: (r = e.enabled) != null ? r : s.enabled,
23859
- config: R(R({}, s.config), e.config || {})
23859
+ config: _(_({}, s.config), e.config || {})
23860
23860
  }, this.hooks.emit("stateChange", {
23861
23861
  state: this.state,
23862
23862
  prevState: s,
@@ -23866,7 +23866,7 @@ class SI extends vn {
23866
23866
  load(e, i, s = !0) {
23867
23867
  return K(this, null, function* () {
23868
23868
  const o = yield this.formatData(e);
23869
- JSON.stringify(this.data) !== JSON.stringify(o) && (this.hooks.emit("dataChange", o, this.data), this.data = R({}, o), this.init(), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", this.data));
23869
+ JSON.stringify(this.data) !== JSON.stringify(o) && (this.hooks.emit("dataChange", o, this.data), this.data = _({}, o), this.init(), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", this.data));
23870
23870
  });
23871
23871
  }
23872
23872
  formatData(e) {
@@ -24042,7 +24042,7 @@ class B1 {
24042
24042
  class WI extends B1 {
24043
24043
  constructor(e) {
24044
24044
  var i;
24045
- e.contentStyle = ue(R({}, e.contentStyle), {
24045
+ e.contentStyle = ue(_({}, e.contentStyle), {
24046
24046
  background: "#FFFFFF",
24047
24047
  color: "#041066",
24048
24048
  fontFamily: "Arial-BoldMT",
@@ -24152,8 +24152,8 @@ class WI extends B1 {
24152
24152
  }
24153
24153
  const w = Et(l, c).distanceTo(e.camera.position), I = e.camera.fov || 60, C = 2 * Math.tan(0.5 * I / 180 * Math.PI), L = Math.max(Math.min(1 - C * w / 40, 1), 0);
24154
24154
  this.contentDom.style.setProperty("--distance-scale", L.toString());
24155
- const S = (d.x + 1) / 2 * s, j = -(d.y - 1) / 2 * o, _ = -(Math.atan((p.y - m.y) / (p.x - m.x)) * 180) / Math.PI, A = this.containerDom.parentElement && this.contentDom.clientWidth > g ? -20 : 0;
24156
- this.containerDom.style.transform = `translate(${S}px, ${j}px) rotate(${_}deg) translateY(${A}px)`, this.show(), (E = this.params.userDistanceItem) == null || E.update({ line: this.line, polyline: this.line.getPolyline() });
24155
+ const S = (d.x + 1) / 2 * s, j = -(d.y - 1) / 2 * o, R = -(Math.atan((p.y - m.y) / (p.x - m.x)) * 180) / Math.PI, A = this.containerDom.parentElement && this.contentDom.clientWidth > g ? -20 : 0;
24156
+ this.containerDom.style.transform = `translate(${S}px, ${j}px) rotate(${R}deg) translateY(${A}px)`, this.show(), (E = this.params.userDistanceItem) == null || E.update({ line: this.line, polyline: this.line.getPolyline() });
24157
24157
  const M = this.getCurrentContent();
24158
24158
  this.contentDom.innerText = M;
24159
24159
  }
@@ -24281,8 +24281,8 @@ let oc = class {
24281
24281
  });
24282
24282
  });
24283
24283
  var i, s, o;
24284
- this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.editParams = t.editParams, this.magnifierParams = t.magnifierParams, this.magnifier = t.magnifier, this.pointSelectorConfig = ue(R({}, t.pointSelectorConfig), {
24285
- helper: R({ magnifierParams: t.magnifierParams }, (i = t.pointSelectorConfig) == null ? void 0 : i.helper)
24284
+ this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.editParams = t.editParams, this.magnifierParams = t.magnifierParams, this.magnifier = t.magnifier, this.pointSelectorConfig = ue(_({}, t.pointSelectorConfig), {
24285
+ helper: _({ magnifierParams: t.magnifierParams }, (i = t.pointSelectorConfig) == null ? void 0 : i.helper)
24286
24286
  }), this.container = t.container, this.isMobile = (o = (s = t.openParams) == null ? void 0 : s.isMobile) != null ? o : !1, this.workUtil = t.workUtil, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new $o(new Fi([0, 0, 0]), new Fi([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new $o(new Fi([0, 0, 0]), new Fi([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new Ft(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
24287
24287
  const e = this.five.getElement();
24288
24288
  e && (e.addEventListener("touchstart", qa), e.addEventListener("contextmenu", qa));
@@ -24457,9 +24457,9 @@ let N1 = class extends Pi {
24457
24457
  };
24458
24458
  class QI extends B1 {
24459
24459
  constructor(e) {
24460
- e.containerStyle = ue(R({}, e.containerStyle), {
24460
+ e.containerStyle = ue(_({}, e.containerStyle), {
24461
24461
  zIndex: "1"
24462
- }), e.contentStyle = ue(R({}, e.contentStyle), {
24462
+ }), e.contentStyle = ue(_({}, e.contentStyle), {
24463
24463
  background: "#6386FF",
24464
24464
  borderRadius: "2px"
24465
24465
  });
@@ -24904,9 +24904,9 @@ class cs extends oc {
24904
24904
  const s = i.type === "area", o = Array.isArray(i) && ((r = i[0]) == null ? void 0 : r.type) === "line";
24905
24905
  s && this.unHighlightArea(i), o && this.unHighlightLines(i);
24906
24906
  }
24907
- }).appendTo(this.container), this.pointSelector = new Wl(this.five, ue(R({}, this.pointSelectorConfig), {
24907
+ }).appendTo(this.container), this.pointSelector = new Wl(this.five, ue(_({}, this.pointSelectorConfig), {
24908
24908
  mode: this.editParams.pointSelectorMode,
24909
- helper: R({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
24909
+ helper: _({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
24910
24910
  })), this.pointSelector.enable(), this.polyline = new er({ model: this.model }), this.area = new Eh(void 0, {
24911
24911
  five: this.five,
24912
24912
  model: this.model,
@@ -25380,7 +25380,7 @@ class nM {
25380
25380
  const t = Si(this.five).intersectRaycaster(this.raycaster)[0];
25381
25381
  return t || null;
25382
25382
  });
25383
- this.five = t.five, this.hook = t.hook, this.group = t.group, this.mouseGroup = W1(R({ isMobile: !0 }, t.openParams.crossHairParameter)), this.container.innerHTML = uw, this.container.classList.add("range-piece-controller"), this.content = this.container.querySelector(".range-piece__content"), this.content && (this.content.style.transform = `matrix3d(${this.pieceStyl.matrix3d.toString()}) scale(${this.pieceStyl.scale})`, this.content.style.opacity = `${this.pieceStyl.opacity}`), t.container.append(this.container), this.intersectMesh = new jo(
25383
+ this.five = t.five, this.hook = t.hook, this.group = t.group, this.mouseGroup = W1(_({ isMobile: !0 }, t.openParams.crossHairParameter)), this.container.innerHTML = uw, this.container.classList.add("range-piece-controller"), this.content = this.container.querySelector(".range-piece__content"), this.content && (this.content.style.transform = `matrix3d(${this.pieceStyl.matrix3d.toString()}) scale(${this.pieceStyl.scale})`, this.content.style.opacity = `${this.pieceStyl.opacity}`), t.container.append(this.container), this.intersectMesh = new jo(
25384
25384
  new qb(0.04, 0.08, 32),
25385
25385
  new Zr({ color: 1245179, opacity: 0, side: $0, transparent: !0 })
25386
25386
  ), this.container.addEventListener("animationend", this.computedCenterMouseXY), this.five.on("cameraUpdate", this.onCameraDirectionUpdate), this.hook.on("willChangeState", this.onWillChangeState);
@@ -27079,7 +27079,7 @@ function BM(n, t, e) {
27079
27079
  }), ti(() => {
27080
27080
  i.hook.off("measureTypeChange", S), i.hook.off("modeChange", C), i.hook.off("allowAddPointStateChange", L), i.hook.off("readyComplete", y), i.hook.off("pointsChange", I), i.hook.off("notReadyComplete", w), i.hook.off("complete", C);
27081
27081
  });
27082
- const z = () => i.revoke(), _ = () => {
27082
+ const z = () => i.revoke(), R = () => {
27083
27083
  h === "start" ? d() : h === "add" ? p() : (h === "end" || h === "complete") && v();
27084
27084
  };
27085
27085
  return n.$$set = (A) => {
@@ -27102,7 +27102,7 @@ function BM(n, t, e) {
27102
27102
  v,
27103
27103
  u,
27104
27104
  z,
27105
- _
27105
+ R
27106
27106
  ];
27107
27107
  }
27108
27108
  class VM extends Me {
@@ -27495,7 +27495,7 @@ class JM extends Cs {
27495
27495
  ), this.allowMeasureType = Array.from(new Set((p = (d = i.editParams) == null ? void 0 : d.allowMeasureType) != null ? p : ["line"])), this.currentMeasureType = (m = this.allowMeasureType[0]) != null ? m : "line", this.group = new jn(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.visibility = "hidden", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0", this.container.style.zIndex = "1";
27496
27496
  const s = (v = (g = i.editParams) == null ? void 0 : g.pointSelectorMode) != null ? v : fv ? "fixed" : "cursor", o = (y = this.params.openParams) != null ? y : {};
27497
27497
  if (this.params.useUIController !== !1) {
27498
- const w = R({
27498
+ const w = _({
27499
27499
  container: this.container,
27500
27500
  openParams: o,
27501
27501
  i18n: i.i18n,
@@ -27505,7 +27505,7 @@ class JM extends Cs {
27505
27505
  this.useUIController = new HM(this, w);
27506
27506
  }
27507
27507
  if (this.params.useGuideController !== !1) {
27508
- const w = R({
27508
+ const w = _({
27509
27509
  container: this.container,
27510
27510
  pointSelectorMode: s,
27511
27511
  i18n: i.i18n
@@ -27532,7 +27532,7 @@ class JM extends Cs {
27532
27532
  e.list && (i = {
27533
27533
  polylines: e.list.map((o) => o.polyline).map((o) => {
27534
27534
  var r;
27535
- return ue(R({}, o), {
27535
+ return ue(_({}, o), {
27536
27536
  visibleFiveMode: (r = o.visibleFiveMode) != null ? r : ["Panorama"]
27537
27537
  });
27538
27538
  })
@@ -27643,7 +27643,7 @@ class JM extends Cs {
27643
27643
  pointSelectorConfig: this.params.pointSelectorConfig,
27644
27644
  magnifierParams: this.params.magnifierParams,
27645
27645
  getMeasureType: () => this.currentMeasureType,
27646
- mouseGroup: W1(R({}, e.crossHairParameter)),
27646
+ mouseGroup: W1(_({}, e.crossHairParameter)),
27647
27647
  userDistanceItemCreator: this.params.userDistanceItemCreator
27648
27648
  };
27649
27649
  }
@@ -27688,11 +27688,11 @@ class mn extends Pi {
27688
27688
  size: (d = e == null ? void 0 : e.size) != null ? d : 8,
27689
27689
  map: Kp || (Kp = new b.TextureLoader().load(KM)),
27690
27690
  sizeAttenuation: !1
27691
- }, a = new b.PointsMaterial(ue(R({}, r), {
27691
+ }, a = new b.PointsMaterial(ue(_({}, r), {
27692
27692
  color: (p = e == null ? void 0 : e.color) != null ? p : 16777215,
27693
27693
  depthTest: !0,
27694
27694
  opacity: (m = e == null ? void 0 : e.opacity) != null ? m : 1
27695
- })), l = new b.PointsMaterial(ue(R({}, r), {
27695
+ })), l = new b.PointsMaterial(ue(_({}, r), {
27696
27696
  size: a.size,
27697
27697
  color: a.color,
27698
27698
  depthWrite: !1,
@@ -27757,10 +27757,10 @@ class ca extends Di {
27757
27757
  f(this, "pointGroup", new Pi());
27758
27758
  f(this, "_paramsStyle");
27759
27759
  f(this, "setStyle", (e) => {
27760
- super.setStyle(e), this._paramsStyle = R(R({}, this._paramsStyle), e), this.pointMeshes.forEach(
27760
+ super.setStyle(e), this._paramsStyle = _(_({}, this._paramsStyle), e), this.pointMeshes.forEach(
27761
27761
  (i) => {
27762
27762
  var s, o, r;
27763
- return i.setStyle(ue(R({}, this._paramsStyle), { color: (r = (s = this._paramsStyle) == null ? void 0 : s.pointColor) != null ? r : (o = this._paramsStyle) == null ? void 0 : o.lineColor, tip: void 0 }));
27763
+ return i.setStyle(ue(_({}, this._paramsStyle), { color: (r = (s = this._paramsStyle) == null ? void 0 : s.pointColor) != null ? r : (o = this._paramsStyle) == null ? void 0 : o.lineColor, tip: void 0 }));
27764
27764
  }
27765
27765
  ), this.updateEdgePointsVisibility(), this.needsRender = !0;
27766
27766
  });
@@ -27793,7 +27793,7 @@ class ca extends Di {
27793
27793
  const i = e.map(Fe).filter(Ge);
27794
27794
  this.pointGroup.removeChildren(), this.addIfNotExists(this.pointGroup), i.forEach((s) => {
27795
27795
  var r, a, l;
27796
- const o = new mn(ue(R({}, this.style), {
27796
+ const o = new mn(ue(_({}, this.style), {
27797
27797
  color: (l = (r = this._paramsStyle) == null ? void 0 : r.pointColor) != null ? l : (a = this._paramsStyle) == null ? void 0 : a.lineColor,
27798
27798
  tip: void 0
27799
27799
  }));
@@ -27859,7 +27859,7 @@ class ac extends Pi {
27859
27859
  return this._geometry;
27860
27860
  }
27861
27861
  setStyle(e) {
27862
- this.paramsStyle = R(R({}, this.paramsStyle), e), Ge(e.color) && (this.meshFont.material.color.set(new b.Color(e.color).convertSRGBToLinear()), this.needsRender = !0), Ge(e.opacity) && (this.meshFont.material.opacity = e.opacity, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity, this.needsRender = !0), this.setOcclusionVisibility(e);
27862
+ this.paramsStyle = _(_({}, this.paramsStyle), e), Ge(e.color) && (this.meshFont.material.color.set(new b.Color(e.color).convertSRGBToLinear()), this.needsRender = !0), Ge(e.opacity) && (this.meshFont.material.opacity = e.opacity, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity, this.needsRender = !0), this.setOcclusionVisibility(e);
27863
27863
  }
27864
27864
  highlight(e) {
27865
27865
  var i, s;
@@ -27912,7 +27912,7 @@ class cr extends ac {
27912
27912
  return this.points.length >= 3 ? new b.Vector3().crossVectors(this.points[1].clone().sub(this.points[0]), this.points[2].clone().sub(this.points[0])).normalize() : new b.Vector3(0, 0, 1);
27913
27913
  }
27914
27914
  get style() {
27915
- return ue(R({}, super.style), { lengthEnable: this._paramsStyle.lengthEnable });
27915
+ return ue(_({}, super.style), { lengthEnable: this._paramsStyle.lengthEnable });
27916
27916
  }
27917
27917
  get isBlank() {
27918
27918
  return !!this.geometry.isBlank;
@@ -27935,7 +27935,7 @@ class cr extends ac {
27935
27935
  }
27936
27936
  setStyle(e) {
27937
27937
  var s;
27938
- this._paramsStyle = R(R({}, this._paramsStyle), e), super.setStyle(this._paramsStyle);
27938
+ this._paramsStyle = _(_({}, this._paramsStyle), e), super.setStyle(this._paramsStyle);
27939
27939
  const i = (s = this._paramsStyle.occlusionVisibility) != null ? s : !0;
27940
27940
  this.areaDom && (this.areaDom.intersectCheck = !i), this.updateAreaItems();
27941
27941
  }
@@ -28536,12 +28536,12 @@ class mE extends St {
28536
28536
  polygonStyle: this.polygonStyle
28537
28537
  });
28538
28538
  this.currentMeasureMesh = e, e.line.setStyle({ cssStyle: "pointer-events: none;" }), this.pointSelector.actionIfNoIntersection = "disable", this.updateSelectAdsorbedHelper();
28539
- const i = new mn({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new ca(ue(R({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), o = new cr(this.polygonStyle), r = new Di(ue(R({}, this.lineStyle), {
28539
+ const i = new mn({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new ca(ue(_({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), o = new cr(this.polygonStyle), r = new Di(ue(_({}, this.lineStyle), {
28540
28540
  lineOpacity: 0.5,
28541
28541
  lineColor: 3407837,
28542
28542
  dashed: !0,
28543
28543
  cssStyle: "pointer-events: none; opacity: 0.5;"
28544
- })), a = new Di(ue(R({}, this.lineStyle), {
28544
+ })), a = new Di(ue(_({}, this.lineStyle), {
28545
28545
  lineOpacity: 0.5,
28546
28546
  lineColor: 3407837,
28547
28547
  dashed: !0,
@@ -28562,18 +28562,18 @@ class mE extends St {
28562
28562
  return;
28563
28563
  }
28564
28564
  if (e.points.length === 0 && (this.pointSelector.actionIfNoIntersection = "disable", this.group.addIfNotExists(i), i.position.copy(I.point), c = null, h = !1), e.points.length >= 1)
28565
- if (this.pointSelector.actionIfNoIntersection = "virtualPoint", i.removeFromParent(), this.group.addIfNotExists(s), s.setStyle(ue(R({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), s.setPoints([e.points.at(-1), I.point]), I.isAdsorbed)
28565
+ if (this.pointSelector.actionIfNoIntersection = "virtualPoint", i.removeFromParent(), this.group.addIfNotExists(s), s.setStyle(ue(_({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), s.setPoints([e.points.at(-1), I.point]), I.isAdsorbed)
28566
28566
  r.removeFromParent(), a.removeFromParent(), l.removeFromParent(), c = null, h = !1;
28567
28567
  else {
28568
28568
  const C = e.points.at(-1);
28569
28569
  if (Math.abs(I.point.y - C.y) > 0.2) {
28570
28570
  const S = new b.Vector3(I.point.x, C.y, I.point.z);
28571
- r.setStyle(ue(R({}, this.lineStyle), {
28571
+ r.setStyle(ue(_({}, this.lineStyle), {
28572
28572
  lineOpacity: 0.5,
28573
28573
  lineColor: 3407837,
28574
28574
  dashed: !0,
28575
28575
  cssStyle: "pointer-events: none; opacity: 0.5;"
28576
- })), a.setStyle(ue(R({}, this.lineStyle), {
28576
+ })), a.setStyle(ue(_({}, this.lineStyle), {
28577
28577
  lineOpacity: 0.5,
28578
28578
  lineColor: 3407837,
28579
28579
  dashed: !0,
@@ -28581,12 +28581,12 @@ class mE extends St {
28581
28581
  })), r.setPoints([C, S]), a.setPoints([S, I.point]), l.position.copy(S), c = S.clone(), h = !0;
28582
28582
  } else {
28583
28583
  let S = new b.Vector3();
28584
- Math.abs(I.point.x - C.x) < Math.abs(I.point.z - C.z) ? S = new b.Vector3(I.point.x, C.y, C.z) : S = new b.Vector3(C.x, C.y, I.point.z), r.setStyle(ue(R({}, this.lineStyle), {
28584
+ Math.abs(I.point.x - C.x) < Math.abs(I.point.z - C.z) ? S = new b.Vector3(I.point.x, C.y, C.z) : S = new b.Vector3(C.x, C.y, I.point.z), r.setStyle(ue(_({}, this.lineStyle), {
28585
28585
  lineOpacity: 0.5,
28586
28586
  lineColor: 3407837,
28587
28587
  dashed: !0,
28588
28588
  cssStyle: "pointer-events: none; opacity: 0.5;"
28589
- })), a.setStyle(ue(R({}, this.lineStyle), {
28589
+ })), a.setStyle(ue(_({}, this.lineStyle), {
28590
28590
  lineOpacity: 0.5,
28591
28591
  lineColor: 3407837,
28592
28592
  dashed: !0,
@@ -28597,7 +28597,7 @@ class mE extends St {
28597
28597
  }
28598
28598
  if (e.points.length >= 2) {
28599
28599
  const C = [...e.points, I.point];
28600
- J1(C) ? (o.setStyle(R({}, this.polygonStyle)), o.setPoints(C), this.group.addIfNotExists(o)) : o.removeFromParent();
28600
+ J1(C) ? (o.setStyle(_({}, this.polygonStyle)), o.setPoints(C), this.group.addIfNotExists(o)) : o.removeFromParent();
28601
28601
  }
28602
28602
  }, v = (I) => {
28603
28603
  if (!I)
@@ -28651,12 +28651,12 @@ class mE extends St {
28651
28651
  f(this, "setLengthEnable", (e) => {
28652
28652
  this.lineStyle.lengthEnable = e, this.polygonStyle.lengthEnable = e, this.group.children.forEach((i) => {
28653
28653
  i.changeConfig({
28654
- lineStyle: R({}, this.lineStyle),
28655
- polygonStyle: R({}, this.polygonStyle)
28654
+ lineStyle: _({}, this.lineStyle),
28655
+ polygonStyle: _({}, this.polygonStyle)
28656
28656
  }), this.addMeshEventListeners(i);
28657
28657
  }), this.currentMeasureMesh && this.currentMeasureMesh.changeConfig({
28658
- lineStyle: R({}, this.lineStyle),
28659
- polygonStyle: R({}, this.polygonStyle)
28658
+ lineStyle: _({}, this.lineStyle),
28659
+ polygonStyle: _({}, this.polygonStyle)
28660
28660
  }), this.five.needsRender = !0;
28661
28661
  });
28662
28662
  /**
@@ -28667,16 +28667,16 @@ class mE extends St {
28667
28667
  if (this._config && (this._config.unit = e), this.lineStyle.lengthUnit = e, this.polygonStyle.lengthUnit = e, this.group.children.forEach((i) => {
28668
28668
  try {
28669
28669
  i.changeConfig({
28670
- lineStyle: R({}, this.lineStyle),
28671
- polygonStyle: R({}, this.polygonStyle)
28670
+ lineStyle: _({}, this.lineStyle),
28671
+ polygonStyle: _({}, this.polygonStyle)
28672
28672
  }), this.addMeshEventListeners(i);
28673
28673
  } catch (s) {
28674
28674
  }
28675
28675
  }), this.currentMeasureMesh)
28676
28676
  try {
28677
28677
  this.currentMeasureMesh.changeConfig({
28678
- lineStyle: R({}, this.lineStyle),
28679
- polygonStyle: R({}, this.polygonStyle)
28678
+ lineStyle: _({}, this.lineStyle),
28679
+ polygonStyle: _({}, this.polygonStyle)
28680
28680
  });
28681
28681
  } catch (i) {
28682
28682
  }
@@ -28691,16 +28691,16 @@ class mE extends St {
28691
28691
  if (this._config && (this._config.precision = e), this.lineStyle.precision = e, this.group.children.forEach((i) => {
28692
28692
  try {
28693
28693
  i.changeConfig({
28694
- lineStyle: R({}, this.lineStyle),
28695
- polygonStyle: R({}, this.polygonStyle)
28694
+ lineStyle: _({}, this.lineStyle),
28695
+ polygonStyle: _({}, this.polygonStyle)
28696
28696
  }), this.addMeshEventListeners(i);
28697
28697
  } catch (s) {
28698
28698
  }
28699
28699
  }), this.currentMeasureMesh)
28700
28700
  try {
28701
28701
  this.currentMeasureMesh.changeConfig({
28702
- lineStyle: R({}, this.lineStyle),
28703
- polygonStyle: R({}, this.polygonStyle)
28702
+ lineStyle: _({}, this.lineStyle),
28703
+ polygonStyle: _({}, this.polygonStyle)
28704
28704
  });
28705
28705
  } catch (i) {
28706
28706
  }
@@ -29237,7 +29237,7 @@ class mE extends St {
29237
29237
  });
29238
29238
  this.five = e;
29239
29239
  const s = { unit: "m", lengthEnable: !0, precision: 2 };
29240
- this.config = i ? R(R({}, s), i) : s, this.group = new Pi(), this.group.name = "MeasureGroup", this.group.__five__ = this.five, this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), gt("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
29240
+ this.config = i ? _(_({}, s), i) : s, this.group = new Pi(), this.group.name = "MeasureGroup", this.group.__five__ = this.five, this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), gt("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
29241
29241
  }
29242
29242
  get pointSelector() {
29243
29243
  return this._pointSelector ? this._pointSelector : (this._pointSelector = new Wl(this.five, { mode: "cursor", helper: { pointHelper: "highlight" }, skipPanorama: !0 }), this._pointSelector);
@@ -29483,20 +29483,20 @@ function PE(n, t, e) {
29483
29483
  );
29484
29484
  const C = (j) => {
29485
29485
  const z = Object.keys(d);
29486
- let _ = j.target;
29487
- for (; _; ) {
29488
- const A = _.getAttribute("class");
29486
+ let R = j.target;
29487
+ for (; R; ) {
29488
+ const A = R.getAttribute("class");
29489
29489
  if (!A) {
29490
- _ = _.parentNode;
29490
+ R = R.parentNode;
29491
29491
  continue;
29492
29492
  }
29493
29493
  if (A.includes("PanoSpatialTagPlugin__tag-content")) {
29494
- _ = null;
29494
+ R = null;
29495
29495
  break;
29496
29496
  }
29497
29497
  z.forEach((M) => {
29498
29498
  A.includes(M) && d[M](i);
29499
- }), _ = _.parentNode;
29499
+ }), R = R.parentNode;
29500
29500
  }
29501
29501
  };
29502
29502
  zt(() => {
@@ -29505,7 +29505,7 @@ function PE(n, t, e) {
29505
29505
  const L = sy.subscribe((j) => {
29506
29506
  if (j === null)
29507
29507
  return;
29508
- const [z, _] = j.split("-PanoSpatialTagPlugin-");
29508
+ const [z, R] = j.split("-PanoSpatialTagPlugin-");
29509
29509
  i === z && (p.emit("clickOrigin", { id: i, show: w }), I || (e(11, w = h), e(13, h = !h), I = setTimeout(
29510
29510
  () => {
29511
29511
  I = void 0;
@@ -29892,7 +29892,7 @@ const Fc = 1e-3, cm = 0.01, hm = Mu, Ez = (n, t) => {
29892
29892
  weight: (te = ce.weight) != null ? te : -1
29893
29893
  };
29894
29894
  }), le.render && (g.render = le.render), le.template && (g.template = le.template), le.events && (g.events = le.events), le.enabled === !1 && (g.enabled = le.enabled), le.folded === !0 && (g.folded = le.folded);
29895
- }, _ = (le) => {
29895
+ }, R = (le) => {
29896
29896
  g.intersectObjects = le, S();
29897
29897
  }, A = () => {
29898
29898
  g.enabled = !0, S();
@@ -29927,7 +29927,7 @@ const Fc = 1e-3, cm = 0.01, hm = Mu, Ez = (n, t) => {
29927
29927
  };
29928
29928
  return window.addEventListener("resize", O, !1), (Ae = n == null ? void 0 : n.model) != null && Ae.loaded ? B() : n.once("modelLoaded", B), n.on("dispose", q), {
29929
29929
  load: z,
29930
- setIntersectObjects: _,
29930
+ setIntersectObjects: R,
29931
29931
  unfoldAll: E,
29932
29932
  foldAll: k,
29933
29933
  unfold: x,
@@ -30226,10 +30226,10 @@ function _E(n, t, e) {
30226
30226
  const T = x.map((B) => {
30227
30227
  const q = y(k, B), ie = B.name.length * RE, Z = C(B.modelPosition[1], c), $ = (r ? v(k, B) : !0) && !I([q[0], q[1] + Z], ie);
30228
30228
  if (!$)
30229
- return ue(R({}, B), { visible: $ });
30229
+ return ue(_({}, B), { visible: $ });
30230
30230
  m.push(q);
30231
30231
  const oe = w(q);
30232
- return ue(R({}, B), {
30232
+ return ue(_({}, B), {
30233
30233
  visible: $,
30234
30234
  transform: oe,
30235
30235
  strokeLength: Z
@@ -30240,7 +30240,7 @@ function _E(n, t, e) {
30240
30240
  })).sort((B, q) => B.distance - q.distance);
30241
30241
  return T.map((B) => {
30242
30242
  const q = O.findIndex((ie) => ie.itemLabelItem.id === B.id);
30243
- return q !== void 0 ? ue(R({}, B), { zIndex: q * 10 }) : B;
30243
+ return q !== void 0 ? ue(_({}, B), { zIndex: q * 10 }) : B;
30244
30244
  });
30245
30245
  }, S = () => {
30246
30246
  m = [], e(1, u = L(o, u));
@@ -30252,14 +30252,14 @@ function _E(n, t, e) {
30252
30252
  e(4, g = !1), z();
30253
30253
  };
30254
30254
  zt(() => {
30255
- e(1, u = a), h = a, S(), _(), o.on("cameraUpdate", j);
30255
+ e(1, u = a), h = a, S(), R(), o.on("cameraUpdate", j);
30256
30256
  });
30257
30257
  const z = oy(
30258
30258
  () => {
30259
30259
  e(4, g = !0), S();
30260
30260
  },
30261
30261
  300
30262
- ), _ = () => {
30262
+ ), R = () => {
30263
30263
  window.addEventListener("resize", M, !1);
30264
30264
  }, A = () => {
30265
30265
  h !== a && (e(1, u = a), h = a, S());
@@ -30307,7 +30307,7 @@ let FE = class extends Me {
30307
30307
  }
30308
30308
  };
30309
30309
  function BE(n) {
30310
- return n.model_item_labels.map((t) => R({
30310
+ return n.model_item_labels.map((t) => _({
30311
30311
  modelPosition: [t.position[0], t.position[1] + t.size[1], t.position[2]]
30312
30312
  }, t));
30313
30313
  }
@@ -30473,8 +30473,8 @@ const HE = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
30473
30473
  const z = new b.MeshBasicMaterial({
30474
30474
  map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
30475
30475
  side: b.DoubleSide
30476
- }), _ = new b.Mesh(I, z);
30477
- _.renderOrder = 1, _.name = `ModelTVVideoPlugin-${w}-${performance.now()}`;
30476
+ }), R = new b.Mesh(I, z);
30477
+ R.renderOrder = 1, R.name = `ModelTVVideoPlugin-${w}-${performance.now()}`;
30478
30478
  const A = [y[1], y[2], y[3], y[0]], M = i.create3DDomContainer(A);
30479
30479
  if (M != null && M.container) {
30480
30480
  const E = document.createElement("div");
@@ -30482,9 +30482,9 @@ const HE = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
30482
30482
  const k = document.createElement("img");
30483
30483
  k.src = sd, k.style.width = "200px", k.style.pointerEvents = "auto", k.onclick = () => {
30484
30484
  e.videoTexture.image.muted = !1, e.videoTexture.image.play();
30485
- }, E.appendChild(k), s.set(_, M);
30485
+ }, E.appendChild(k), s.set(R, M);
30486
30486
  }
30487
- return _;
30487
+ return R;
30488
30488
  }), h = (y) => {
30489
30489
  const w = new b.TextureLoader().load(y);
30490
30490
  return w.minFilter = b.LinearFilter, w.magFilter = b.LinearFilter, w.format = b.RGBFormat, w;
@@ -30505,7 +30505,7 @@ const HE = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
30505
30505
  });
30506
30506
  }, d = (y, w) => K(void 0, null, function* () {
30507
30507
  const { video_src: I, video_poster_src: C, points: L } = y;
30508
- e.videoSource = I, e.rectPoints = VE(L).map((S) => S.map(({ x: j, y: z, z: _ }) => new b.Vector3(j, z, _))), e.imageTexture = h(C), w && (e.videoElement = w), e.videoTexture = yield u(e.videoSource, e.videoElement), e.enabled = !!y.enable, e.enabled && a();
30508
+ e.videoSource = I, e.rectPoints = VE(L).map((S) => S.map(({ x: j, y: z, z: R }) => new b.Vector3(j, z, R))), e.imageTexture = h(C), w && (e.videoElement = w), e.videoTexture = yield u(e.videoSource, e.videoElement), e.enabled = !!y.enable, e.enabled && a();
30509
30509
  }), p = (y) => {
30510
30510
  if (!e.enabled)
30511
30511
  return;
@@ -30519,14 +30519,14 @@ const HE = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
30519
30519
  return;
30520
30520
  const y = n.camera.position;
30521
30521
  if (s.forEach((w, I) => {
30522
- const C = w.css3DObject.position.clone(), L = C.clone().sub(y).normalize(), S = new b.Raycaster(y, L), j = n.model.intersectRaycaster(S)[0], z = C.distanceTo(y), _ = 0.01;
30523
- j && j.distance + _ < z ? w.hide() : w.show();
30522
+ const C = w.css3DObject.position.clone(), L = C.clone().sub(y).normalize(), S = new b.Raycaster(y, L), j = n.model.intersectRaycaster(S)[0], z = C.distanceTo(y), R = 0.01;
30523
+ j && j.distance + R < z ? w.hide() : w.show();
30524
30524
  }), !r()) {
30525
30525
  const w = e.rectPoints.find((I) => {
30526
30526
  const C = I[0].clone().add(I[1]).add(I[2]).add(I[3]).divideScalar(4);
30527
30527
  return I.map((L) => L.clone().add(C).divideScalar(2)).filter((L) => {
30528
- const S = L.distanceTo(y), j = new b.Raycaster(y, L.clone().sub(y).normalize()), z = n.model.intersectRaycaster(j)[0], _ = 0.01;
30529
- return !(z && z.distance + _ < S);
30528
+ const S = L.distanceTo(y), j = new b.Raycaster(y, L.clone().sub(y).normalize()), z = n.model.intersectRaycaster(j)[0], R = 0.01;
30529
+ return !(z && z.distance + R < S);
30530
30530
  }).length >= 2;
30531
30531
  });
30532
30532
  (!w || w.length === 0) && o(!0);
@@ -30769,7 +30769,7 @@ const { Raycaster: ZE, Vector3: Lz } = b, mm = (n, t, e, i) => {
30769
30769
  }
30770
30770
  }, JE = (n) => `translate(${n[0]}px, ${n[1]}px)`;
30771
30771
  function gm(n) {
30772
- return n.map((t) => R({
30772
+ return n.map((t) => _({
30773
30773
  observerIndex: void 0,
30774
30774
  visible: !1,
30775
30775
  isFold: !1
@@ -30948,15 +30948,15 @@ function t4(n, t, e) {
30948
30948
  }, C = (x, T) => {
30949
30949
  const O = T.map((q) => {
30950
30950
  if (x.state.panoIndex !== q.panoIndex)
30951
- return ue(R({}, q), { visible: !1 });
30951
+ return ue(_({}, q), { visible: !1 });
30952
30952
  const ie = I(x, q);
30953
30953
  q.name.length * e4;
30954
30954
  const Z = qE(q.modelPosition[1], l), se = x.currentMode === Ut.Mode.Panorama ? w(new i(q.position[0], q.position[1], q.position[2])) : !0, $ = o ? y(x, q) : !1, oe = se && !$;
30955
30955
  if (!oe)
30956
- return ue(R({}, q), { visible: oe });
30956
+ return ue(_({}, q), { visible: oe });
30957
30957
  g.push(ie);
30958
30958
  const De = JE(ie);
30959
- return ue(R({}, q), {
30959
+ return ue(_({}, q), {
30960
30960
  visible: oe,
30961
30961
  transform: De,
30962
30962
  strokeLength: Z
@@ -30967,7 +30967,7 @@ function t4(n, t, e) {
30967
30967
  })).sort((q, ie) => q.distance - ie.distance);
30968
30968
  return O.map((q) => {
30969
30969
  const ie = B.findIndex((Z) => Z.itemLabelItem.id === q.id);
30970
- return ie !== void 0 ? ue(R({}, q), { zIndex: ie * 10 }) : q;
30970
+ return ie !== void 0 ? ue(_({}, q), { zIndex: ie * 10 }) : q;
30971
30971
  });
30972
30972
  }, L = () => {
30973
30973
  g = [], e(1, u = C(s, u));
@@ -30980,7 +30980,7 @@ function t4(n, t, e) {
30980
30980
  300
30981
30981
  ), z = () => {
30982
30982
  s.once("renderFrame", L);
30983
- }, _ = () => {
30983
+ }, R = () => {
30984
30984
  window.addEventListener("resize", z, !1);
30985
30985
  }, A = () => {
30986
30986
  h !== r && (e(1, u = gm(r)), h = r, L());
@@ -31009,14 +31009,14 @@ function t4(n, t, e) {
31009
31009
  longitude: Math.PI + Math.atan2(ie.x, ie.z),
31010
31010
  latitude: Math.acos(ie.y / ie.length()) - Math.PI / 2
31011
31011
  };
31012
- s.setState(ue(R({}, Z), {
31012
+ s.setState(ue(_({}, Z), {
31013
31013
  mode: Ut.Mode.Panorama,
31014
31014
  panoIndex: x.observerIndex
31015
31015
  })), s.once("initAnimationEnded", () => {
31016
- e(1, u = u.map((se) => ue(R({}, se), {
31016
+ e(1, u = u.map((se) => ue(_({}, se), {
31017
31017
  isFold: se.id !== x.id
31018
31018
  }))), s.once("cameraUpdate", () => {
31019
- e(1, u = u.map((se) => ue(R({}, se), { isFold: !1 })));
31019
+ e(1, u = u.map((se) => ue(_({}, se), { isFold: !1 })));
31020
31020
  });
31021
31021
  });
31022
31022
  }
@@ -31024,7 +31024,7 @@ function t4(n, t, e) {
31024
31024
  u1(() => {
31025
31025
  A();
31026
31026
  }), zt(() => {
31027
- e(1, u = gm(r)), h = r, L(), _(), s.on("cameraUpdate", S);
31027
+ e(1, u = gm(r)), h = r, L(), R(), s.on("cameraUpdate", S);
31028
31028
  }), ti(() => {
31029
31029
  s.off("cameraUpdate", S), window.removeEventListener("resize", z, !1);
31030
31030
  });
@@ -31071,7 +31071,7 @@ class i4 extends Me {
31071
31071
  }
31072
31072
  }
31073
31073
  function n4(n) {
31074
- return n.item_labels.map((t) => ue(R({}, t), {
31074
+ return n.item_labels.map((t) => ue(_({}, t), {
31075
31075
  modelPosition: [t.position[0], t.position[1], t.position[2]],
31076
31076
  observerIndex: void 0
31077
31077
  }));
@@ -31341,18 +31341,18 @@ class p4 extends Cs {
31341
31341
  L.left = O, L.top = B, L.inSight = q && x < Math.PI / 2, L.cameraToward = h4(this.five), q ? l.push({ disFromCameraToLabel: M, left: O, top: B, index: S }) : L.transform = "translate(-50%, -50%)";
31342
31342
  } else
31343
31343
  L.inSight = !1;
31344
- const _ = L, { svelteApp: j } = _, z = ns(_, ["svelteApp"]);
31344
+ const R = L, { svelteApp: j } = R, z = ns(R, ["svelteApp"]);
31345
31345
  (A = L.svelteApp) == null || A.$set({ props: z });
31346
31346
  }), l.length > 1) {
31347
31347
  let L = 0;
31348
31348
  l.sort((S, j) => j.disFromCameraToLabel - S.disFromCameraToLabel);
31349
31349
  for (let S = 1; S < l.length; S++) {
31350
- const { index: j, left: z, top: _ } = l[S - 1], { index: A, left: M, top: E } = l[S], k = this.container.children[j], x = this.container.children[A];
31350
+ const { index: j, left: z, top: R } = l[S - 1], { index: A, left: M, top: E } = l[S], k = this.container.children[j], x = this.container.children[A];
31351
31351
  if (!k || !x)
31352
31352
  return;
31353
31353
  const T = {
31354
31354
  left: o * z / 100,
31355
- top: r * _ / 100,
31355
+ top: r * R / 100,
31356
31356
  width: (u = (h = (c = k.children) == null ? void 0 : c[0]) == null ? void 0 : h.clientWidth) != null ? u : 0,
31357
31357
  height: (m = (p = (d = k.children) == null ? void 0 : d[0]) == null ? void 0 : p.clientHeight) != null ? m : 0
31358
31358
  }, O = {
@@ -31414,7 +31414,7 @@ class p4 extends Cs {
31414
31414
  position: u,
31415
31415
  toward: d4(r.rad)
31416
31416
  });
31417
- }), this.labelItems = this.doorLabels.map((r) => ue(R({}, r), {
31417
+ }), this.labelItems = this.doorLabels.map((r) => ue(_({}, r), {
31418
31418
  left: 0,
31419
31419
  top: 0,
31420
31420
  visible: !1,
@@ -31429,7 +31429,7 @@ class p4 extends Cs {
31429
31429
  }
31430
31430
  setState(e, i) {
31431
31431
  const s = this.state;
31432
- this.state = R(R({}, s), e);
31432
+ this.state = _(_({}, s), e);
31433
31433
  const o = s.enabled && s.visible, r = this.state.enabled && this.state.visible;
31434
31434
  o !== r && this.applyState();
31435
31435
  }
@@ -31561,8 +31561,8 @@ function O4(n) {
31561
31561
  if (s.length === 0)
31562
31562
  return { geometry: new b.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
31563
31563
  const o = new b.CurvePath();
31564
- s.forEach((_) => {
31565
- const A = j4(_);
31564
+ s.forEach((R) => {
31565
+ const A = j4(R);
31566
31566
  A && o.add(A);
31567
31567
  });
31568
31568
  const r = Math.ceil(o.getLength() * 100);
@@ -31570,30 +31570,30 @@ function O4(n) {
31570
31570
  const a = o.getPoints(r), l = a.length;
31571
31571
  if (l <= 2)
31572
31572
  return { geometry: new b.BufferGeometry(), maxV: 0, curvePath: null, curvePoints: null };
31573
- const c = x4(a.map((_) => [_.x, _.z])), u = (l - 1) * T4 * D4, d = 2 * l, p = d * L4, m = d * z4, g = new Uint32Array(u), v = new Float32Array(p), y = new Float32Array(m);
31573
+ const c = x4(a.map((R) => [R.x, R.z])), u = (l - 1) * T4 * D4, d = 2 * l, p = d * L4, m = d * z4, g = new Uint32Array(u), v = new Float32Array(p), y = new Float32Array(m);
31574
31574
  let w = 0, I = 0;
31575
- for (let _ = 0; _ < l; _++) {
31576
- const [A, M] = c[_][0], E = a[_], { x: k, y: x, z: T } = E, O = new fe(k + A * i, x + 0.05, T + M * i);
31577
- v[_ * 6 + 0] = O.x, v[_ * 6 + 1] = O.y, v[_ * 6 + 2] = O.z;
31575
+ for (let R = 0; R < l; R++) {
31576
+ const [A, M] = c[R][0], E = a[R], { x: k, y: x, z: T } = E, O = new fe(k + A * i, x + 0.05, T + M * i);
31577
+ v[R * 6 + 0] = O.x, v[R * 6 + 1] = O.y, v[R * 6 + 2] = O.z;
31578
31578
  const B = new fe(k - A * i, x + 0.05, T - M * i);
31579
- v[_ * 6 + 3] = B.x, v[_ * 6 + 4] = B.y, v[_ * 6 + 5] = B.z, w += _ > 0 ? a[_ - 1].clone().sub(a[_]).length() : 0;
31579
+ v[R * 6 + 3] = B.x, v[R * 6 + 4] = B.y, v[R * 6 + 5] = B.z, w += R > 0 ? a[R - 1].clone().sub(a[R]).length() : 0;
31580
31580
  const q = w / e;
31581
- I = q, y[_ * 4 + 0] = 0, y[_ * 4 + 1] = q, y[_ * 4 + 2] = 1, y[_ * 4 + 3] = q;
31581
+ I = q, y[R * 4 + 0] = 0, y[R * 4 + 1] = q, y[R * 4 + 2] = 1, y[R * 4 + 3] = q;
31582
31582
  const ie = new b.Vector3().lerpVectors(O, B, 0.5);
31583
- n.skipPositions && n.skipPositions.some((se) => se.distanceTo(ie) < 0.26) || _ !== l - 1 && (g[_ * 6 + 0] = _ * 2 + 0, g[_ * 6 + 1] = _ * 2 + 2, g[_ * 6 + 2] = _ * 2 + 1, g[_ * 6 + 3] = _ * 2 + 2, g[_ * 6 + 4] = _ * 2 + 3, g[_ * 6 + 5] = _ * 2 + 1);
31583
+ n.skipPositions && n.skipPositions.some((se) => se.distanceTo(ie) < 0.26) || R !== l - 1 && (g[R * 6 + 0] = R * 2 + 0, g[R * 6 + 1] = R * 2 + 2, g[R * 6 + 2] = R * 2 + 1, g[R * 6 + 3] = R * 2 + 2, g[R * 6 + 4] = R * 2 + 3, g[R * 6 + 5] = R * 2 + 1);
31584
31584
  }
31585
31585
  const C = [];
31586
31586
  let L;
31587
31587
  const S = [];
31588
- for (let _ = 0; _ < l - 1; _++) {
31589
- if (L !== void 0 && _ <= L)
31588
+ for (let R = 0; R < l - 1; R++) {
31589
+ if (L !== void 0 && R <= L)
31590
31590
  continue;
31591
- const A = _ + 1, M = {
31592
- x: v[_ * 6 + 0],
31593
- y: v[_ * 6 + 2]
31591
+ const A = R + 1, M = {
31592
+ x: v[R * 6 + 0],
31593
+ y: v[R * 6 + 2]
31594
31594
  }, E = {
31595
- x: v[_ * 6 + 3],
31596
- y: v[_ * 6 + 5]
31595
+ x: v[R * 6 + 3],
31596
+ y: v[R * 6 + 5]
31597
31597
  }, k = {
31598
31598
  x: v[A * 6 + 0],
31599
31599
  y: v[A * 6 + 2]
@@ -31601,8 +31601,8 @@ function O4(n) {
31601
31601
  x: v[A * 6 + 3],
31602
31602
  y: v[A * 6 + 5]
31603
31603
  }, T = ly([M, E], [k, x]);
31604
- if (T && C.push(_), !T && C.length) {
31605
- C.push(_);
31604
+ if (T && C.push(R), !T && C.length) {
31605
+ C.push(R);
31606
31606
  const O = new b.Vector2(M.x, M.y).distanceTo(new b.Vector2(k.x, k.y)), B = new b.Vector2(E.x, E.y).distanceTo(new b.Vector2(x.x, x.y)), q = 300, ie = [], Z = [], se = Math.max(0, C[0] - e * q), $ = C[0];
31607
31607
  for (let Ae = se; Ae < $; Ae++)
31608
31608
  O < B ? ie.push({ x: v[Ae * 6 + 0], y: v[Ae * 6 + 2] }) : ie.push({ x: v[Ae * 6 + 3], y: v[Ae * 6 + 5] });
@@ -31640,9 +31640,9 @@ function O4(n) {
31640
31640
  }
31641
31641
  }
31642
31642
  const j = new Float32Array(d);
31643
- S.forEach((_) => {
31643
+ S.forEach((R) => {
31644
31644
  for (let A = 0; A < l - 1; A++)
31645
- A >= _.start && A <= _.end ? (j[A * 2 + 0] = 1, j[A * 2 + 1] = 1) : j[A] !== 1 && (j[A * 2 + 0] = 0, j[A * 2 + 1] = 0);
31645
+ A >= R.start && A <= R.end ? (j[A * 2 + 0] = 1, j[A * 2 + 1] = 1) : j[A] !== 1 && (j[A * 2 + 0] = 0, j[A * 2 + 1] = 0);
31646
31646
  });
31647
31647
  const z = new b.BufferGeometry();
31648
31648
  return z.setAttribute("position", new b.BufferAttribute(v, 3)), z.setAttribute("uv", new b.BufferAttribute(y, 2)), z.setIndex(new b.BufferAttribute(g, 1)), { geometry: z, maxV: I, animationWillError: S, curvePath: o, curvePoints: a };
@@ -32543,7 +32543,7 @@ class da {
32543
32543
  this.cache_visible.clear(), this.cache_raycasterDistance.clear();
32544
32544
  }
32545
32545
  static generateCameraTagKey(t, e, i = 3) {
32546
- const s = R(R({}, e.five.getCurrentState()), t), o = s.mode === "Panorama" ? e.workUtil.getObserverPosition(s.panoIndex) : e.five.camera.position;
32546
+ const s = _(_({}, e.five.getCurrentState()), t), o = s.mode === "Panorama" ? e.workUtil.getObserverPosition(s.panoIndex) : e.five.camera.position;
32547
32547
  return o ? [
32548
32548
  //
32549
32549
  o.x.toFixed(i),
@@ -32746,18 +32746,18 @@ class ak extends Cs {
32746
32746
  const o = {}, r = {}, a = {};
32747
32747
  this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([I, C]) => {
32748
32748
  var M, E;
32749
- const L = I, S = L.split("-"), j = I.startsWith("["), z = j ? S[0].slice(1, -1) : void 0, _ = j ? S.slice(1) : S, A = z ? ["PanoramaLike", "ModelLike"].includes(z) ? (M = r[z]) != null ? M : r[z] = {} : (E = a[z]) != null ? E : a[z] = {} : o;
32749
+ const L = I, S = L.split("-"), j = I.startsWith("["), z = j ? S[0].slice(1, -1) : void 0, R = j ? S.slice(1) : S, A = z ? ["PanoramaLike", "ModelLike"].includes(z) ? (M = r[z]) != null ? M : r[z] = {} : (E = a[z]) != null ? E : a[z] = {} : o;
32750
32750
  if (!A[L]) {
32751
- if (_.length === 0 && (A[L] = C), _.length === 1) {
32752
- const [k] = _;
32751
+ if (R.length === 0 && (A[L] = C), R.length === 1) {
32752
+ const [k] = R;
32753
32753
  (e.contentType === k || k === "Any") && (A[L] = C);
32754
32754
  }
32755
- if (_.length === 2) {
32756
- const [k = "Any", x = "Any"] = _;
32755
+ if (R.length === 2) {
32756
+ const [k = "Any", x = "Any"] = R;
32757
32757
  k === "Mixin" && e.contentType === x && (A[L] = C), (e.stickType === k || k === "Any") && (e.contentType === x || x === "Any") && (A[L] = C);
32758
32758
  }
32759
- if (_.length === 3) {
32760
- const [k = "Any", x, T] = _;
32759
+ if (R.length === 3) {
32760
+ const [k = "Any", x, T] = R;
32761
32761
  if (x === "Audio" && e.contentType === "Audio") {
32762
32762
  const O = e;
32763
32763
  (O.stickType === k || k === "Any") && O.data.appearance === T && (A[L] = C);
@@ -32774,7 +32774,7 @@ class ak extends Cs {
32774
32774
  const L = u[I];
32775
32775
  u[I] = it({}, c, L, ...Object.values(C), l, { _isMerged: !0 });
32776
32776
  });
32777
- const p = ue(R({}, h), { configWithFiveMode: u });
32777
+ const p = ue(_({}, h), { configWithFiveMode: u });
32778
32778
  return _l(p), Object.values(u).forEach((I) => _l(I)), p._isMerged = !0, p;
32779
32779
  }
32780
32780
  }
@@ -32894,21 +32894,21 @@ function Hc(n, t, e) {
32894
32894
  const s = {}, o = {}, r = {};
32895
32895
  t.contentTypeConfig && Object.entries(t.contentTypeConfig).forEach(([w, I]) => {
32896
32896
  var A, M;
32897
- const C = w, L = C.split("-"), S = w.startsWith("["), j = S ? L[0].slice(1, -1) : void 0, z = S ? L.slice(1) : L, _ = j ? ["PanoramaLike", "ModelLike"].includes(j) ? (A = o[j]) != null ? A : o[j] = {} : (M = r[j]) != null ? M : r[j] = {} : s;
32898
- if (!_[C]) {
32899
- if (z.length === 0 && (_[C] = I), z.length === 1) {
32897
+ const C = w, L = C.split("-"), S = w.startsWith("["), j = S ? L[0].slice(1, -1) : void 0, z = S ? L.slice(1) : L, R = j ? ["PanoramaLike", "ModelLike"].includes(j) ? (A = o[j]) != null ? A : o[j] = {} : (M = r[j]) != null ? M : r[j] = {} : s;
32898
+ if (!R[C]) {
32899
+ if (z.length === 0 && (R[C] = I), z.length === 1) {
32900
32900
  const [E] = z;
32901
- (n.contentType === E || E === "Any") && (_[C] = I);
32901
+ (n.contentType === E || E === "Any") && (R[C] = I);
32902
32902
  }
32903
32903
  if (z.length === 2) {
32904
32904
  const [E = "Any", k = "Any"] = z;
32905
- E === "Mixin" && n.contentType === k && (_[C] = I), (n.stickType === E || E === "Any") && (n.contentType === k || k === "Any") && (_[C] = I);
32905
+ E === "Mixin" && n.contentType === k && (R[C] = I), (n.stickType === E || E === "Any") && (n.contentType === k || k === "Any") && (R[C] = I);
32906
32906
  }
32907
32907
  if (z.length === 3) {
32908
32908
  const [E = "Any", k, x] = z;
32909
32909
  if (k === "Audio" && n.contentType === "Audio") {
32910
32910
  const T = n;
32911
- (T.stickType === E || E === "Any") && T.data.appearance === x && (_[C] = I);
32911
+ (T.stickType === E || E === "Any") && T.data.appearance === x && (R[C] = I);
32912
32912
  }
32913
32913
  }
32914
32914
  }
@@ -32922,7 +32922,7 @@ function Hc(n, t, e) {
32922
32922
  const C = h[w];
32923
32923
  h[w] = it({}, l, C, ...Object.values(I), a, { _isMerged: !0 });
32924
32924
  });
32925
- const d = ue(R({}, c), { configWithFiveMode: h });
32925
+ const d = ue(_({}, c), { configWithFiveMode: h });
32926
32926
  return _l(d), Object.values(h).forEach((w) => _l(w)), d._isMerged = !0, d;
32927
32927
  }
32928
32928
  function Mm(n) {
@@ -33026,7 +33026,7 @@ class ur {
33026
33026
  const r = Hc(e, t.config), a = this.getConfig(e);
33027
33027
  e.config = a, this.id = (h = e.id) != null ? h : Mt(), 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 = (m = a.initialData) != null && m.important ? it(e.data, s, a.initialData) : it(e.data, a.initialData, s);
33028
33028
  let l;
33029
- 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 = R({
33029
+ 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 = _({
33030
33030
  visible: void 0,
33031
33031
  unfolded: l
33032
33032
  }, a.initialState), this.isPopoverConfigEnabled() && (this.state.unfolded = !1), this.normalLineLength = (v = (g = e.style) == null ? void 0 : g.point) == null ? void 0 : v.normalLen, this.originPosition = e.position, e.originPosition = this.originPosition, this.position = (() => {
@@ -33112,7 +33112,7 @@ class ur {
33112
33112
  if (wi(o))
33113
33113
  return this;
33114
33114
  const r = this.workUtil.getObserverPosition(o), a = this.centerPosition.clone().sub(r).normalize();
33115
- this.five.setState(R({
33115
+ this.five.setState(_({
33116
33116
  mode: "Panorama",
33117
33117
  workCode: this.workUtil.workCode,
33118
33118
  panoIndex: o
@@ -33170,7 +33170,7 @@ class ur {
33170
33170
  return;
33171
33171
  }
33172
33172
  const r = s ? Zl : Xv;
33173
- this._currentBlinkInstance = r(o, R({
33173
+ this._currentBlinkInstance = r(o, _({
33174
33174
  begin: () => {
33175
33175
  s === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
33176
33176
  },
@@ -33233,7 +33233,7 @@ class ur {
33233
33233
  * @param deepMerge 是否深度合并 data,默认为 true
33234
33234
  */
33235
33235
  setData(t, e = !0) {
33236
- e ? this.data = it(this.data, t) : this.data = R(R({}, this.data), t), this.hooks.emit("dataChanged", this.data);
33236
+ e ? this.data = it(this.data, t) : this.data = _(_({}, this.data), t), this.hooks.emit("dataChanged", this.data);
33237
33237
  }
33238
33238
  /**
33239
33239
  * @description 修改标签位置
@@ -33272,7 +33272,7 @@ class ur {
33272
33272
  return (l = o != null ? o : i) != null ? l : {};
33273
33273
  }
33274
33274
  getDistance(t, e = 3) {
33275
- const i = R(R({}, this.five.getCurrentState()), t), { panoIndex: s, mode: o } = i, r = o === "Panorama" ? this.workUtil.getObserverPosition(s) : this.five.camera.position, a = this.centerPosition;
33275
+ const i = _(_({}, this.five.getCurrentState()), t), { panoIndex: s, mode: o } = i, r = o === "Panorama" ? this.workUtil.getObserverPosition(s) : this.five.camera.position, a = this.centerPosition;
33276
33276
  return !r || !a ? -1 : r.distanceTo(a);
33277
33277
  }
33278
33278
  /**
@@ -33300,7 +33300,7 @@ class ur {
33300
33300
  getVisible(t) {
33301
33301
  if (!this.enabled || !this.plugin.state.enabled || !this.fiveUtil.model)
33302
33302
  return !1;
33303
- const e = R(R({}, this.five.getCurrentState()), t);
33303
+ const e = _(_({}, this.five.getCurrentState()), t);
33304
33304
  let i = this.cache.getVisible(this, e);
33305
33305
  return wi(i) && (i = this.computeVisible(e).value, this.cache.setVisible(this, e, i)), i;
33306
33306
  }
@@ -33361,7 +33361,7 @@ class ur {
33361
33361
  return t != null ? t : "Dom";
33362
33362
  }
33363
33363
  computeVisible(t) {
33364
- const e = R(R({}, this.five.getCurrentState()), t), { panoIndex: i, mode: s } = e, o = [];
33364
+ const e = _(_({}, this.five.getCurrentState()), t), { panoIndex: i, mode: s } = e, o = [];
33365
33365
  return (() => {
33366
33366
  var c, u, d, p;
33367
33367
  const l = (c = this.getConfig().visibleConfig) != null ? c : {};
@@ -33382,7 +33382,7 @@ class ur {
33382
33382
  if (l.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (s === "Floorplan" || s === "Mapview")) {
33383
33383
  const h = this.computeVisibleByFloorIndex(), { value: g } = h, v = ns(h, ["value"]);
33384
33384
  if (g === !1)
33385
- return R({ value: !1, checkedList: o, reason: "followModelVisibility check failed" }, v);
33385
+ return _({ value: !1, checkedList: o, reason: "followModelVisibility check failed" }, v);
33386
33386
  }
33387
33387
  if (ds(s) && l.visiblePanoIndex !== void 0 && l.visiblePanoIndex !== "all" && i !== void 0) {
33388
33388
  if (o.push("visiblePanoIndex"), Array.isArray(l.visiblePanoIndex) && !l.visiblePanoIndex.includes(i))
@@ -33469,36 +33469,38 @@ class ur {
33469
33469
  }
33470
33470
  /** 通过射线检测标签可用性 */
33471
33471
  computeVisibleByIntersect(t) {
33472
- var l, c, h, u;
33472
+ var l, c, h, u, d;
33473
33473
  const e = eo(eo((l = this.getConfig().visibleConfig) != null ? l : {}).intersectRaycaster), i = t != null ? t : this.five.getCurrentState().panoIndex, s = ds(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(i) : this.five.camera.position;
33474
33474
  if (s === void 0)
33475
33475
  return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: i } };
33476
+ if (e.hideWhenModelNotLoaded && ((c = this.fiveUtil.model) == null ? void 0 : c.loaded) === !1)
33477
+ return { value: !1, reason: { type: "model not loaded", fivePanoIndex: i } };
33476
33478
  const o = As(
33477
33479
  (() => {
33478
- var p;
33479
- const d = (p = e.checkPoints) != null ? p : "center";
33480
- return d === "center" ? Cm(this) : d === "corner" ? Lh(this) : Array.isArray(d) ? d : [];
33480
+ var m;
33481
+ const p = (m = e.checkPoints) != null ? m : "center";
33482
+ return p === "center" ? Cm(this) : p === "corner" ? Lh(this) : Array.isArray(p) ? p : [];
33481
33483
  })()
33482
33484
  );
33483
33485
  let r = 0, a = 0;
33484
- for (const d of o) {
33485
- const p = new b.Vector3().subVectors(d, s).normalize();
33486
- let m;
33487
- Rn.set(s, p);
33488
- const [g] = this.fiveUtil.model.intersectRaycaster(Rn);
33489
- m = g == null ? void 0 : g.distance;
33490
- const v = (() => {
33486
+ for (const p of o) {
33487
+ const m = new b.Vector3().subVectors(p, s).normalize();
33488
+ let g;
33489
+ Rn.set(s, m);
33490
+ const [v] = this.fiveUtil.model.intersectRaycaster(Rn);
33491
+ g = v == null ? void 0 : v.distance;
33492
+ const y = (() => {
33491
33493
  if (!Qs(this))
33492
33494
  return;
33493
- const L = this.plugin.tags.filter(Qs).map((j) => {
33494
- var z;
33495
- return (z = j.model) == null ? void 0 : z.object;
33496
- }).filter(Ge), [S] = Rn.intersectObjects(L, !0);
33497
- return S;
33498
- })(), y = s.distanceTo(d), w = (c = e.distanceAccuracy) != null ? c : 0.01;
33499
- m = Math.min(m != null ? m : 1 / 0, (h = v == null ? void 0 : v.distance) != null ? h : 1 / 0), m + w >= y ? r++ : a++;
33500
- const C = (u = e.needPassed) != null ? u : 1;
33501
- if (r >= C)
33495
+ const S = this.plugin.tags.filter(Qs).map((z) => {
33496
+ var R;
33497
+ return (R = z.model) == null ? void 0 : R.object;
33498
+ }).filter(Ge), [j] = Rn.intersectObjects(S, !0);
33499
+ return j;
33500
+ })(), w = s.distanceTo(p), I = (h = e.distanceAccuracy) != null ? h : 0.01;
33501
+ g = Math.min(g != null ? g : 1 / 0, (u = y == null ? void 0 : y.distance) != null ? u : 1 / 0), g + I >= w ? r++ : a++;
33502
+ const L = (d = e.needPassed) != null ? d : 1;
33503
+ if (r >= L)
33502
33504
  return { value: !0 };
33503
33505
  }
33504
33506
  return a === 0 ? { value: !0 } : {
@@ -33572,7 +33574,7 @@ class ur {
33572
33574
  }).map((l) => ({ tag: l, id: l.id, tagConfig: l.getConfig().unfoldedConfig })).filter(({ tagConfig: l }) => {
33573
33575
  var c, h;
33574
33576
  return !(typeof l == "function" || l.keep || l.autoUnfold === !1 || ((c = l.autoUnfold) == null ? void 0 : c.enable) === !1 || ((h = l.autoUnfold) == null ? void 0 : h.strategy) !== "MinimumDistance");
33575
- }).map((l) => ue(R({}, l), { distance: l.tag.getDistance() })).filter(({ distance: l, tagConfig: c }) => {
33577
+ }).map((l) => ue(_({}, l), { distance: l.tag.getDistance() })).filter(({ distance: l, tagConfig: c }) => {
33576
33578
  const h = c.autoUnfold.distance;
33577
33579
  return !(h && Lr(l, h) === !1);
33578
33580
  }).sort((l, c) => l.distance - c.distance).findIndex((l) => l.id === this.id);
@@ -33640,7 +33642,7 @@ class ur {
33640
33642
  return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
33641
33643
  if (!this.enabled)
33642
33644
  return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
33643
- const t = ue(R({}, this.computeVisible()), {
33645
+ const t = ue(_({}, this.computeVisible()), {
33644
33646
  tagInstance: this
33645
33647
  });
33646
33648
  return t.value !== this.state.visible ? { reason: "插件故障,请联系维护人员, err: 0", info: t } : this.state.visible ? { reason: "应该是能看见才对", info: t } : t.value === !0 ? { reason: "插件故障,请联系维护人员, err: 1", info: t } : { reason: (e = t.reason.type) != null ? e : t.reason, info: t };
@@ -33776,7 +33778,7 @@ class uk extends ur {
33776
33778
  * 使用屏幕空间反投影方法,确保任意视角下都保持固定像素距离
33777
33779
  */
33778
33780
  updateTagNormalLinePosition(e) {
33779
- var L, S, j, z, _, A, M;
33781
+ var L, S, j, z, R, A, M;
33780
33782
  if (!this.screenPosition || !this.tagNormalLine)
33781
33783
  return;
33782
33784
  const { force: i = !1 } = e != null ? e : {};
@@ -33790,7 +33792,7 @@ class uk extends ur {
33790
33792
  if (!E && !k)
33791
33793
  return;
33792
33794
  }
33793
- if (o.position = new b.Vector3().fromArray(this.position).toArray(), o.screenLeft = (z = this.screenPosition.leftPx) != null ? z : 0, o.screenTop = (_ = this.screenPosition.topPx) != null ? _ : 0, o.scale = (A = this.screenPosition.scale) != null ? A : 1, o.visible = this.visible, !this.five.renderer)
33795
+ if (o.position = new b.Vector3().fromArray(this.position).toArray(), o.screenLeft = (z = this.screenPosition.leftPx) != null ? z : 0, o.screenTop = (R = this.screenPosition.topPx) != null ? R : 0, o.scale = (A = this.screenPosition.scale) != null ? A : 1, o.visible = this.visible, !this.five.renderer)
33794
33796
  return;
33795
33797
  const a = this.five.renderer.getSize(Nc), l = Bt(
33796
33798
  Fe(this.originPosition),
@@ -33883,7 +33885,7 @@ class uk extends ur {
33883
33885
  const vy = 1, Em = `CSS3DObject@${vy}`, dk = 216e-5, fk = 3e-3;
33884
33886
  class yy extends Vn {
33885
33887
  constructor(e) {
33886
- var L, S, j, z, _;
33888
+ var L, S, j, z, R;
33887
33889
  if (wi(e.cornerPoints) && wi(e.width))
33888
33890
  throw new Error("cornerPoints and width cannot be both empty");
33889
33891
  const i = (L = e.container) != null ? L : document.createElement("div"), s = (S = e.cornerPoints) != null ? S : (() => {
@@ -33894,7 +33896,7 @@ class yy extends Vn {
33894
33896
  new fe(A, -A, 0),
33895
33897
  new fe(A, A, 0)
33896
33898
  ];
33897
- })(), o = (j = e.ratio) != null ? j : fk, r = (z = e.dpr) != null ? z : 1, a = (_ = e.pointerEvents) != null ? _ : "auto", l = Math.max(dk, o), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]);
33899
+ })(), o = (j = e.ratio) != null ? j : fk, r = (z = e.dpr) != null ? z : 1, a = (R = e.pointerEvents) != null ? R : "auto", l = Math.max(dk, o), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]);
33898
33900
  let u = No(c / o * r), d = No(h / o * r);
33899
33901
  const p = Et(...s);
33900
33902
  let m;
@@ -34566,10 +34568,10 @@ function xk(n, t, e) {
34566
34568
  let p, m, g = [];
34567
34569
  function v(S) {
34568
34570
  const j = [], z = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
34569
- return S.slice().replace(z, (_) => `${c}${h}${_}${c}`).split(c).forEach((_) => _.startsWith(h) ? j.push({
34571
+ return S.slice().replace(z, (R) => `${c}${h}${R}${c}`).split(c).forEach((R) => R.startsWith(h) ? j.push({
34570
34572
  id: Mt(),
34571
- content: _.slice(h.length)
34572
- }) : j.push(..._.split("").map((A) => A === " " ? u : A === `
34573
+ content: R.slice(h.length)
34574
+ }) : j.push(...R.split("").map((A) => A === " " ? u : A === `
34573
34575
  ` ? d : A).map((A) => ({ id: Mt(), content: A })))), j;
34574
34576
  }
34575
34577
  function y() {
@@ -34587,7 +34589,7 @@ function xk(n, t, e) {
34587
34589
  }
34588
34590
  function I(S) {
34589
34591
  const j = function() {
34590
- const z = Q4((_) => S[_].getBoundingClientRect().x, [Math.min(S.length - 1, 10), Math.min(S.length - 1, 30)]);
34592
+ const z = Q4((R) => S[R].getBoundingClientRect().x, [Math.min(S.length - 1, 10), Math.min(S.length - 1, 30)]);
34591
34593
  if (z > 0)
34592
34594
  return z;
34593
34595
  }();
@@ -36451,7 +36453,7 @@ function q8({
36451
36453
  head: 0,
36452
36454
  tail: 0
36453
36455
  };
36454
- return ue(R({}, i), {
36456
+ return ue(_({}, i), {
36455
36457
  total: i.head + i.tail
36456
36458
  });
36457
36459
  }
@@ -36704,8 +36706,8 @@ var el = Qx, Fl = {}, Xx = {
36704
36706
  }
36705
36707
  };
36706
36708
  (function(n, t) {
36707
- var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", d = "[object Map]", p = "[object Number]", m = "[object Object]", g = "[object Promise]", v = "[object RegExp]", y = "[object Set]", w = "[object String]", I = "[object Symbol]", C = "[object WeakMap]", L = "[object ArrayBuffer]", S = "[object DataView]", j = "[object Float32Array]", z = "[object Float64Array]", _ = "[object Int8Array]", A = "[object Int16Array]", M = "[object Int32Array]", E = "[object Uint8Array]", k = "[object Uint8ClampedArray]", x = "[object Uint16Array]", T = "[object Uint32Array]", O = /[\\^$.*+?()[\]{}|]/g, B = /\w*$/, q = /^\[object .+?Constructor\]$/, ie = /^(?:0|[1-9]\d*)$/, Z = {};
36708
- Z[o] = Z[r] = Z[L] = Z[S] = Z[a] = Z[l] = Z[j] = Z[z] = Z[_] = Z[A] = Z[M] = Z[d] = Z[p] = Z[m] = Z[v] = Z[y] = Z[w] = Z[I] = Z[E] = Z[k] = Z[x] = Z[T] = !0, Z[c] = Z[h] = Z[C] = !1;
36709
+ var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", d = "[object Map]", p = "[object Number]", m = "[object Object]", g = "[object Promise]", v = "[object RegExp]", y = "[object Set]", w = "[object String]", I = "[object Symbol]", C = "[object WeakMap]", L = "[object ArrayBuffer]", S = "[object DataView]", j = "[object Float32Array]", z = "[object Float64Array]", R = "[object Int8Array]", A = "[object Int16Array]", M = "[object Int32Array]", E = "[object Uint8Array]", k = "[object Uint8ClampedArray]", x = "[object Uint16Array]", T = "[object Uint32Array]", O = /[\\^$.*+?()[\]{}|]/g, B = /\w*$/, q = /^\[object .+?Constructor\]$/, ie = /^(?:0|[1-9]\d*)$/, Z = {};
36710
+ Z[o] = Z[r] = Z[L] = Z[S] = Z[a] = Z[l] = Z[j] = Z[z] = Z[R] = Z[A] = Z[M] = Z[d] = Z[p] = Z[m] = Z[v] = Z[y] = Z[w] = Z[I] = Z[E] = Z[k] = Z[x] = Z[T] = !0, Z[c] = Z[h] = Z[C] = !1;
36709
36711
  var se = typeof _i == "object" && _i && _i.Object === Object && _i, $ = typeof self == "object" && self && self.Object === Object && self, oe = se || $ || Function("return this")(), De = t && !t.nodeType && t, ne = De && !0 && n && !n.nodeType && n, Ae = ne && ne.exports === De;
36710
36712
  function le(D, G) {
36711
36713
  return D.set(G[0], G[1]), D;
@@ -37057,7 +37059,7 @@ var el = Qx, Fl = {}, Xx = {
37057
37059
  return Gi(D, de);
37058
37060
  case j:
37059
37061
  case z:
37060
- case _:
37062
+ case R:
37061
37063
  case A:
37062
37064
  case M:
37063
37065
  case E:
@@ -37157,7 +37159,7 @@ var Bl = {}, Zx = {
37157
37159
  }
37158
37160
  };
37159
37161
  (function(n, t) {
37160
- var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", d = "[object Error]", p = "[object Function]", m = "[object GeneratorFunction]", g = "[object Map]", v = "[object Number]", y = "[object Null]", w = "[object Object]", I = "[object Promise]", C = "[object Proxy]", L = "[object RegExp]", S = "[object Set]", j = "[object String]", z = "[object Symbol]", _ = "[object Undefined]", A = "[object WeakMap]", M = "[object ArrayBuffer]", E = "[object DataView]", k = "[object Float32Array]", x = "[object Float64Array]", T = "[object Int8Array]", O = "[object Int16Array]", B = "[object Int32Array]", q = "[object Uint8Array]", ie = "[object Uint8ClampedArray]", Z = "[object Uint16Array]", se = "[object Uint32Array]", $ = /[\\^$.*+?()[\]{}|]/g, oe = /^\[object .+?Constructor\]$/, De = /^(?:0|[1-9]\d*)$/, ne = {};
37162
+ var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", d = "[object Error]", p = "[object Function]", m = "[object GeneratorFunction]", g = "[object Map]", v = "[object Number]", y = "[object Null]", w = "[object Object]", I = "[object Promise]", C = "[object Proxy]", L = "[object RegExp]", S = "[object Set]", j = "[object String]", z = "[object Symbol]", R = "[object Undefined]", A = "[object WeakMap]", M = "[object ArrayBuffer]", E = "[object DataView]", k = "[object Float32Array]", x = "[object Float64Array]", T = "[object Int8Array]", O = "[object Int16Array]", B = "[object Int32Array]", q = "[object Uint8Array]", ie = "[object Uint8ClampedArray]", Z = "[object Uint16Array]", se = "[object Uint32Array]", $ = /[\\^$.*+?()[\]{}|]/g, oe = /^\[object .+?Constructor\]$/, De = /^(?:0|[1-9]\d*)$/, ne = {};
37161
37163
  ne[k] = ne[x] = ne[T] = ne[O] = ne[B] = ne[q] = ne[ie] = ne[Z] = ne[se] = !0, ne[a] = ne[l] = ne[M] = ne[h] = ne[E] = ne[u] = ne[d] = ne[p] = ne[g] = ne[v] = ne[w] = ne[L] = ne[S] = ne[j] = ne[A] = !1;
37162
37164
  var Ae = typeof _i == "object" && _i && _i.Object === Object && _i, le = typeof self == "object" && self && self.Object === Object && self, ce = Ae || le || Function("return this")(), be = t && !t.nodeType && t, te = be && !0 && n && !n.nodeType && n, Te = te && te.exports === be, _e = Te && Ae.process, ye = function() {
37163
37165
  try {
@@ -37372,7 +37374,7 @@ var Bl = {}, Zx = {
37372
37374
  return go(D) ? de : we(de, ee(D));
37373
37375
  }
37374
37376
  function Gi(D) {
37375
- return D == null ? D === void 0 ? _ : y : Ii && Ii in Object(D) ? re(D) : oi(D);
37377
+ return D == null ? D === void 0 ? R : y : Ii && Ii in Object(D) ? re(D) : oi(D);
37376
37378
  }
37377
37379
  function es(D) {
37378
37380
  return sn(D) && Gi(D) == a;
@@ -38585,7 +38587,7 @@ function yS(n, t, e) {
38585
38587
  loaded: () => e(6, o = we)
38586
38588
  })(pe);
38587
38589
  }), g = Gn();
38588
- let { timingFunction: v = "ease-in-out" } = t, { arrows: y = !0 } = t, { infinite: w = !0 } = t, { initialPageIndex: I = 0 } = t, { duration: C = 500 } = t, { autoplay: L = !1 } = t, { autoplayDuration: S = 3e3 } = t, { autoplayDirection: j = bs } = t, { pauseOnFocus: z = !1 } = t, { autoplayProgressVisible: _ = !1 } = t, { dots: A = !0 } = t, { swiping: M = !0 } = t, { particlesToShow: E = 1 } = t, { particlesToScroll: k = 1 } = t;
38590
+ let { timingFunction: v = "ease-in-out" } = t, { arrows: y = !0 } = t, { infinite: w = !0 } = t, { initialPageIndex: I = 0 } = t, { duration: C = 500 } = t, { autoplay: L = !1 } = t, { autoplayDuration: S = 3e3 } = t, { autoplayDirection: j = bs } = t, { pauseOnFocus: z = !1 } = t, { autoplayProgressVisible: R = !1 } = t, { dots: A = !0 } = t, { swiping: M = !0 } = t, { particlesToShow: E = 1 } = t, { particlesToScroll: k = 1 } = t;
38589
38591
  function x(pe, we) {
38590
38592
  return K(this, null, function* () {
38591
38593
  const Oe = Xr(we, "animated", !0);
@@ -38681,7 +38683,7 @@ function yS(n, t, e) {
38681
38683
  }
38682
38684
  const Le = (pe) => $(pe.detail);
38683
38685
  return n.$$set = (pe) => {
38684
- "timingFunction" in pe && e(0, v = pe.timingFunction), "arrows" in pe && e(1, y = pe.arrows), "infinite" in pe && e(2, w = pe.infinite), "initialPageIndex" in pe && e(24, I = pe.initialPageIndex), "duration" in pe && e(25, C = pe.duration), "autoplay" in pe && e(26, L = pe.autoplay), "autoplayDuration" in pe && e(27, S = pe.autoplayDuration), "autoplayDirection" in pe && e(28, j = pe.autoplayDirection), "pauseOnFocus" in pe && e(29, z = pe.pauseOnFocus), "autoplayProgressVisible" in pe && e(3, _ = pe.autoplayProgressVisible), "dots" in pe && e(4, A = pe.dots), "swiping" in pe && e(30, M = pe.swiping), "particlesToShow" in pe && e(31, E = pe.particlesToShow), "particlesToScroll" in pe && e(32, k = pe.particlesToScroll), "$$scope" in pe && e(36, s = pe.$$scope);
38686
+ "timingFunction" in pe && e(0, v = pe.timingFunction), "arrows" in pe && e(1, y = pe.arrows), "infinite" in pe && e(2, w = pe.infinite), "initialPageIndex" in pe && e(24, I = pe.initialPageIndex), "duration" in pe && e(25, C = pe.duration), "autoplay" in pe && e(26, L = pe.autoplay), "autoplayDuration" in pe && e(27, S = pe.autoplayDuration), "autoplayDirection" in pe && e(28, j = pe.autoplayDirection), "pauseOnFocus" in pe && e(29, z = pe.pauseOnFocus), "autoplayProgressVisible" in pe && e(3, R = pe.autoplayProgressVisible), "dots" in pe && e(4, A = pe.dots), "swiping" in pe && e(30, M = pe.swiping), "particlesToShow" in pe && e(31, E = pe.particlesToShow), "particlesToScroll" in pe && e(32, k = pe.particlesToScroll), "$$scope" in pe && e(36, s = pe.$$scope);
38685
38687
  }, n.$$.update = () => {
38686
38688
  n.$$.dirty[0] & /*currentPageIndex*/
38687
38689
  32 && g("pageChange", r), n.$$.dirty[0] & /*infinite*/
@@ -38697,7 +38699,7 @@ function yS(n, t, e) {
38697
38699
  v,
38698
38700
  y,
38699
38701
  w,
38700
- _,
38702
+ R,
38701
38703
  A,
38702
38704
  r,
38703
38705
  o,
@@ -39118,7 +39120,7 @@ function ES(n, t, e) {
39118
39120
  }, z = (E) => {
39119
39121
  i && i.pause();
39120
39122
  };
39121
- function _(E) {
39123
+ function R(E) {
39122
39124
  qe[E ? "unshift" : "push"](() => {
39123
39125
  o.videoInstance = E, e(0, o);
39124
39126
  });
@@ -39159,7 +39161,7 @@ function ES(n, t, e) {
39159
39161
  S,
39160
39162
  j,
39161
39163
  z,
39162
- _,
39164
+ R,
39163
39165
  A,
39164
39166
  M
39165
39167
  ];
@@ -39561,7 +39563,7 @@ function LS(n, t, e) {
39561
39563
  let i, s, o, r, { tag: a } = t, { mediaData: l } = t, { inDelay: c = 0 } = t, { outDelay: h = 0 } = t, { duration: u = 0 } = t, { unfolded: d = !0 } = t, { animation: p = !0 } = t, { mediaItemConfig: m } = t, { enableCarousel: g = !0 } = t, { autoplayConfig: v = {} } = t;
39562
39564
  const { autoplayVideo: y = !1, autoplayCarousel: w = !0, autoplayVideoInCarousel: I = !1 } = v;
39563
39565
  let C = [], L = 0, S, j = null;
39564
- const z = dn("hooks"), _ = dn("mediaStore");
39566
+ const z = dn("hooks"), R = dn("mediaStore");
39565
39567
  function A() {
39566
39568
  const T = C[L], O = T == null ? void 0 : T.videoInstance;
39567
39569
  O && (O.paused ? (O.muted = !1, O.play()) : O.pause());
@@ -39602,7 +39604,7 @@ function LS(n, t, e) {
39602
39604
  });
39603
39605
  }
39604
39606
  const k = (T) => {
39605
- i || _.set({ currentMediaElement: null }), e(11, L = T.detail);
39607
+ i || R.set({ currentMediaElement: null }), e(11, L = T.detail);
39606
39608
  };
39607
39609
  function x(T) {
39608
39610
  n.$$.not_equal(C[0], T) && (C[0] = T, e(8, C));
@@ -39631,7 +39633,7 @@ function LS(n, t, e) {
39631
39633
  S,
39632
39634
  s,
39633
39635
  y,
39634
- _,
39636
+ R,
39635
39637
  g,
39636
39638
  v,
39637
39639
  M,
@@ -40271,7 +40273,7 @@ function NS(n) {
40271
40273
  ), z = (
40272
40274
  /*hasTags*/
40273
40275
  n[11] && vg(n)
40274
- ), _ = (
40276
+ ), R = (
40275
40277
  /*showMedia*/
40276
40278
  n[15] && /*mediaData*/
40277
40279
  n[16] && /*mediaData*/
@@ -40289,7 +40291,7 @@ function NS(n) {
40289
40291
  );
40290
40292
  return {
40291
40293
  c() {
40292
- t = W("div"), ve(e.$$.fragment), i = he(), s = W("div"), o = he(), r = W("div"), j && j.c(), a = he(), l = W("div"), c = W("div"), h = W("div"), u = W("div"), p = Be(d), m = he(), z && z.c(), g = he(), _ && _.c(), v = he(), A && A.c(), y = he(), M && M.c(), w = he(), E && E.c(), P(s, "class", "line svelte-biv7k0"), F(
40294
+ t = W("div"), ve(e.$$.fragment), i = he(), s = W("div"), o = he(), r = W("div"), j && j.c(), a = he(), l = W("div"), c = W("div"), h = W("div"), u = W("div"), p = Be(d), m = he(), z && z.c(), g = he(), R && R.c(), v = he(), A && A.c(), y = he(), M && M.c(), w = he(), E && E.c(), P(s, "class", "line svelte-biv7k0"), F(
40293
40295
  s,
40294
40296
  "transition-delay",
40295
40297
  /*unfolded*/
@@ -40340,7 +40342,7 @@ function NS(n) {
40340
40342
  );
40341
40343
  },
40342
40344
  m(k, x) {
40343
- X(k, t, x), me(e, t, null), V(t, i), V(t, s), V(t, o), V(t, r), j && j.m(r, null), V(r, a), V(r, l), V(l, c), V(c, h), V(h, u), V(u, p), V(l, m), z && z.m(l, null), V(l, g), _ && _.m(l, null), V(l, v), A && A.m(l, null), V(l, y), M && M.m(l, null), V(l, w), E && E.m(l, null), C = !0, L || (S = Re(
40345
+ X(k, t, x), me(e, t, null), V(t, i), V(t, s), V(t, o), V(t, r), j && j.m(r, null), V(r, a), V(r, l), V(l, c), V(c, h), V(h, u), V(u, p), V(l, m), z && z.m(l, null), V(l, g), R && R.m(l, null), V(l, v), A && A.m(l, null), V(l, y), M && M.m(l, null), V(l, w), E && E.m(l, null), C = !0, L || (S = Re(
40344
40346
  window,
40345
40347
  "resize",
40346
40348
  /*onwindowresize*/
@@ -40370,9 +40372,9 @@ function NS(n) {
40370
40372
  k[11] ? z ? z.p(k, x) : (z = vg(k), z.c(), z.m(l, g)) : z && (z.d(1), z = null), /*showMedia*/
40371
40373
  k[15] && /*mediaData*/
40372
40374
  k[16] && /*mediaData*/
40373
- k[16].length > 0 ? _ ? (_.p(k, x), x[0] & /*showMedia, mediaData*/
40374
- 98304 && H(_, 1)) : (_ = Ag(k), _.c(), H(_, 1), _.m(l, v)) : _ && (xe(), Y(_, 1, 1, () => {
40375
- _ = null;
40375
+ k[16].length > 0 ? R ? (R.p(k, x), x[0] & /*showMedia, mediaData*/
40376
+ 98304 && H(R, 1)) : (R = Ag(k), R.c(), H(R, 1), R.m(l, v)) : R && (xe(), Y(R, 1, 1, () => {
40377
+ R = null;
40376
40378
  }), Se()), /*data*/
40377
40379
  k[2].description ? A ? A.p(k, x) : (A = wg(k), A.c(), A.m(l, y)) : A && (A.d(1), A = null), /*havePrice*/
40378
40380
  k[3] || /*data*/
@@ -40425,19 +40427,19 @@ function NS(n) {
40425
40427
  );
40426
40428
  },
40427
40429
  i(k) {
40428
- C || (H(e.$$.fragment, k), H(_), C = !0);
40430
+ C || (H(e.$$.fragment, k), H(R), C = !0);
40429
40431
  },
40430
40432
  o(k) {
40431
- Y(e.$$.fragment, k), Y(_), C = !1;
40433
+ Y(e.$$.fragment, k), Y(R), C = !1;
40432
40434
  },
40433
40435
  d(k) {
40434
- k && Q(t), ge(e), j && j.d(), z && z.d(), _ && _.d(), A && A.d(), M && M.d(), E && E.d(), L = !1, S();
40436
+ k && Q(t), ge(e), j && j.d(), z && z.d(), R && R.d(), A && A.d(), M && M.d(), E && E.d(), L = !1, S();
40435
40437
  }
40436
40438
  };
40437
40439
  }
40438
40440
  const GS = 499, WS = 238, US = 280, md = 40;
40439
40441
  function QS(n, t, e) {
40440
- let i, s, o, r, a, l, c, h, u, d, p, m, g, v, y, w, I, C, L, { tag: S } = t, j = 0, z, _ = 0, A = !1;
40442
+ let i, s, o, r, a, l, c, h, u, d, p, m, g, v, y, w, I, C, L, { tag: S } = t, j = 0, z, R = 0, A = !1;
40441
40443
  function M(x) {
40442
40444
  Math.abs(z - x) > 5 && (e(20, z = x), setTimeout(
40443
40445
  () => {
@@ -40472,9 +40474,9 @@ function QS(n, t, e) {
40472
40474
  if (ie === !0)
40473
40475
  return u ? WS : US;
40474
40476
  })()), n.$$.dirty[0] & /*tagsCalculated, maxWidth, tagsOffsetHeight, maxTagsLength*/
40475
- 7340096 && (!A || d && d > 0) && (e(21, _ = Math.max(1, Math.floor(((d || 172) - 20) / md))), z !== void 0 && z > 40 && e(21, _ = Math.max(1, _ - 1)), e(22, A = !0)), n.$$.dirty[0] & /*data, maxTagsLength*/
40476
- 2097156 && e(5, p = (o.brandTags || []).filter(Boolean).slice(0, _)), n.$$.dirty[0] & /*maxTagsLength, primaryTags*/
40477
- 2097184 && e(23, m = Math.max(0, _ - p.length)), n.$$.dirty[0] & /*data, secondaryTagsLimit*/
40477
+ 7340096 && (!A || d && d > 0) && (e(21, R = Math.max(1, Math.floor(((d || 172) - 20) / md))), z !== void 0 && z > 40 && e(21, R = Math.max(1, R - 1)), e(22, A = !0)), n.$$.dirty[0] & /*data, maxTagsLength*/
40478
+ 2097156 && e(5, p = (o.brandTags || []).filter(Boolean).slice(0, R)), n.$$.dirty[0] & /*maxTagsLength, primaryTags*/
40479
+ 2097184 && e(23, m = Math.max(0, R - p.length)), n.$$.dirty[0] & /*data, secondaryTagsLimit*/
40478
40480
  8388612 && e(4, g = (o.tags || []).filter(Boolean).slice(0, m)), n.$$.dirty[0] & /*primaryTags, secondaryTags*/
40479
40481
  48 && e(11, I = p.length > 0 || g.length > 0), n.$$.dirty[0] & /*havePrice, data*/
40480
40482
  12 && (r || o.highlightText), n.$$.dirty[0] & /*tag*/
@@ -40502,7 +40504,7 @@ function QS(n, t, e) {
40502
40504
  s,
40503
40505
  M,
40504
40506
  z,
40505
- _,
40507
+ R,
40506
40508
  A,
40507
40509
  m,
40508
40510
  u,
@@ -40878,7 +40880,7 @@ function JS(n, t, e) {
40878
40880
  e(
40879
40881
  5,
40880
40882
  d.onplay = (v) => {
40881
- h.emit("playStateChange", R({
40883
+ h.emit("playStateChange", _({
40882
40884
  event: v,
40883
40885
  state: "playing",
40884
40886
  mediaInstance: d
@@ -40888,7 +40890,7 @@ function JS(n, t, e) {
40888
40890
  ), e(
40889
40891
  5,
40890
40892
  d.onpause = (v) => {
40891
- h.emit("playStateChange", R({
40893
+ h.emit("playStateChange", _({
40892
40894
  event: v,
40893
40895
  state: "paused",
40894
40896
  mediaInstance: d
@@ -40898,7 +40900,7 @@ function JS(n, t, e) {
40898
40900
  ), e(
40899
40901
  5,
40900
40902
  d.onended = (v) => {
40901
- h.emit("playStateChange", R({
40903
+ h.emit("playStateChange", _({
40902
40904
  event: v,
40903
40905
  state: "paused",
40904
40906
  mediaInstance: d
@@ -40929,11 +40931,11 @@ function JS(n, t, e) {
40929
40931
  v !== d && (p || d == null || d.pause());
40930
40932
  });
40931
40933
  function g(v) {
40932
- d && (h.emit("click", R({
40934
+ d && (h.emit("click", _({
40933
40935
  event: v,
40934
40936
  target: "AudioTagPlayIcon",
40935
40937
  audioInstance: d
40936
- }, l)), u.set({ currentMediaElement: d }), h.emit("playStateChange", R({
40938
+ }, l)), u.set({ currentMediaElement: d }), h.emit("playStateChange", _({
40937
40939
  event: v,
40938
40940
  state: d.paused ? "playing" : "paused",
40939
40941
  mediaInstance: d
@@ -41964,7 +41966,7 @@ function w9(n) {
41964
41966
  const r = zy(t);
41965
41967
  return Qc.set(t, r), r;
41966
41968
  })(), { width: s, height: o } = yield i;
41967
- return ue(R({}, n), {
41969
+ return ue(_({}, n), {
41968
41970
  width: s / e,
41969
41971
  height: o / e
41970
41972
  });
@@ -41976,7 +41978,7 @@ function P9(n) {
41976
41978
  if (!t)
41977
41979
  throw new Error("KeyframeIcon requires steps");
41978
41980
  const { width: o, height: r } = yield zy(e), a = o / i, l = r / i, c = a / t, h = l, u = 1 / s * t + "s";
41979
- return ue(R({}, n), {
41981
+ return ue(_({}, n), {
41980
41982
  width: c,
41981
41983
  height: h,
41982
41984
  duration: u
@@ -42747,7 +42749,7 @@ function B9(n) {
42747
42749
  }
42748
42750
  function us(n) {
42749
42751
  const { originWidth: t, originHeight: e, scale: i = 1, wantedWidth: s } = n, o = (s != null ? s : t) * i, r = typeof e == "number" ? o * (e / t) : void 0;
42750
- return ue(R({}, n), { width: o, height: r });
42752
+ return ue(_({}, n), { width: o, height: r });
42751
42753
  }
42752
42754
  function Br(n) {
42753
42755
  if (!n)
@@ -42770,7 +42772,7 @@ function V9(n, t, e) {
42770
42772
  function C(x) {
42771
42773
  return K(this, null, function* () {
42772
42774
  if (typeof m == "number")
42773
- return ue(R({}, x), { width: m });
42775
+ return ue(_({}, x), { width: m });
42774
42776
  const T = yield w9(x);
42775
42777
  return w("iconLoaded", T), T;
42776
42778
  });
@@ -42782,19 +42784,19 @@ function V9(n, t, e) {
42782
42784
  L();
42783
42785
  });
42784
42786
  let S = null, j = null, z = null;
42785
- const _ = /* @__PURE__ */ new Map();
42787
+ const R = /* @__PURE__ */ new Map();
42786
42788
  let A = null;
42787
42789
  function M(x) {
42788
42790
  return K(this, null, function* () {
42789
- const T = _.get(x);
42791
+ const T = R.get(x);
42790
42792
  if (T)
42791
42793
  return yield T;
42792
42794
  const O = fetch(x, { cache: "force-cache" }).then((B) => B.text());
42793
- _.set(x, O);
42795
+ R.set(x, O);
42794
42796
  try {
42795
42797
  return yield O;
42796
42798
  } catch (B) {
42797
- throw _.delete(x), B;
42799
+ throw R.delete(x), B;
42798
42800
  }
42799
42801
  });
42800
42802
  }
@@ -43144,7 +43146,7 @@ function X9(n) {
43144
43146
  }
43145
43147
  function Y9(n) {
43146
43148
  const { originWidth: t, originHeight: e, scale: i = 1, wantedWidth: s } = n, o = (s != null ? s : t) * i, r = typeof e == "number" ? o * (e / t) : void 0;
43147
- return ue(R({}, n), { width: o, height: r });
43149
+ return ue(_({}, n), { width: o, height: r });
43148
43150
  }
43149
43151
  function Z9(n, t, e) {
43150
43152
  let i, s, o, r, a, { width: l = null } = t, { icon: c = null } = t, { shadow: h = !1 } = t;
@@ -43881,9 +43883,9 @@ function yT(n, t, e) {
43881
43883
  function w(z) {
43882
43884
  z ? h.emit("exposure", { id: r, type: "start" }) : h.emit("exposure", { id: r, type: "end" });
43883
43885
  }
43884
- function I(z, _, A) {
43886
+ function I(z, R, A) {
43885
43887
  var M, E;
43886
- return !(!z.enabled || !_.visible || !_.enabled || !A.visible || !((M = z.state) != null && M.visible) || ((E = z.temporaryState) == null ? void 0 : E.visible) === !1 || z instanceof jy && z.loading);
43888
+ return !(!z.enabled || !R.visible || !R.enabled || !A.visible || !((M = z.state) != null && M.visible) || ((E = z.temporaryState) == null ? void 0 : E.visible) === !1 || z instanceof jy && z.loading);
43887
43889
  }
43888
43890
  function C(z) {
43889
43891
  qe[z ? "unshift" : "push"](() => {
@@ -43902,10 +43904,10 @@ function yT(n, t, e) {
43902
43904
  return n.$$set = (z) => {
43903
43905
  "tag" in z && e(0, c = z.tag), "hooks" in z && e(1, h = z.hooks), "rendererMap" in z && e(2, u = z.rendererMap), "contentTypeMap" in z && e(3, d = z.contentTypeMap), "state" in z && e(6, p = z.state), "mediaStore" in z && e(7, m = z.mediaStore), "temporaryState" in z && e(8, g = z.temporaryState);
43904
43906
  }, n.$$.update = () => {
43905
- var z, _, A, M, E, k, x, T, O, B, q;
43907
+ var z, R, A, M, E, k, x, T, O, B, q;
43906
43908
  n.$$.dirty & /*tag*/
43907
43909
  1 && e(12, i = (z = c.state) == null ? void 0 : z.unfolded), n.$$.dirty & /*tag*/
43908
- 1 && e(11, s = (_ = c.state) == null ? void 0 : _.visible), n.$$.dirty & /*state, temporaryState, tag*/
43910
+ 1 && e(11, s = (R = c.state) == null ? void 0 : R.visible), n.$$.dirty & /*state, temporaryState, tag*/
43909
43911
  321 && e(13, o = p.visible && g.visible && ((A = c.state) == null ? void 0 : A.visible)), n.$$.dirty & /*tag*/
43910
43912
  1 && (r = c.id), n.$$.dirty & /*tag, state, temporaryState*/
43911
43913
  321 && e(5, a = !I(c, p, g)), n.$$.dirty & /*isVisible*/
@@ -43995,7 +43997,7 @@ class jy extends ur {
43995
43997
  c.classList.add("tag-media-container");
43996
43998
  const h = "black";
43997
43999
  c.style.backgroundColor = h, c.style.border = `3px solid ${h}`;
43998
- const u = R({ mode: "behind", cornerPoints: l, container: c }, this.config.tag3DConfig), d = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", p = new yy(ue(R({}, u), { mode: d })), m = this.computeNormal();
44000
+ const u = _({ mode: "behind", cornerPoints: l, container: c }, this.config.tag3DConfig), d = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", p = new yy(ue(_({}, u), { mode: d })), m = this.computeNormal();
43999
44001
  p.position.add(m.clone().setLength(an.Z_FIGHTING_OFFSET)), s.add(p);
44000
44002
  let g;
44001
44003
  p.mode === "behind" && this.config.clickable !== !1 && (g = this.addObjectClickHandler(this, p, (y) => {
@@ -44371,7 +44373,7 @@ function ST(n, t) {
44371
44373
  return n;
44372
44374
  }
44373
44375
  function TT(n) {
44374
- const t = Xs(R({
44376
+ const t = Xs(_({
44375
44377
  position: "absolute",
44376
44378
  display: "block",
44377
44379
  borderRadius: "4px",
@@ -44607,7 +44609,7 @@ function jT() {
44607
44609
  ] };
44608
44610
  }
44609
44611
  function os(n) {
44610
- const t = Xs(R({
44612
+ const t = Xs(_({
44611
44613
  background: "#FFFF00",
44612
44614
  width: "9px",
44613
44615
  height: "9px",
@@ -45117,11 +45119,11 @@ class By {
45117
45119
  f(this, "camera");
45118
45120
  f(this, "container");
45119
45121
  f(this, "defaults");
45120
- this.camera = t, this.container = e, this.defaults = R({}, i || {});
45122
+ this.camera = t, this.container = e, this.defaults = _({}, i || {});
45121
45123
  }
45122
45124
  /** 创建无限长直线(Line + LineBasicMaterial),穿过整个平面 */
45123
45125
  createSolidLine(t, e, i) {
45124
- const s = R(R({ color: 16777215, renderOrder: Zi.DRAG_GUIDE_LINE }, this.defaults), i || {}), o = e.clone().normalize(), r = this.computeInfiniteLineLength(t), a = t.clone().add(o.clone().multiplyScalar(-r)), l = t.clone().add(o.clone().multiplyScalar(r)), c = new Float32Array([a.x, a.y, a.z, l.x, l.y, l.z]), h = new b.BufferGeometry();
45126
+ const s = _(_({ color: 16777215, renderOrder: Zi.DRAG_GUIDE_LINE }, this.defaults), i || {}), o = e.clone().normalize(), r = this.computeInfiniteLineLength(t), a = t.clone().add(o.clone().multiplyScalar(-r)), l = t.clone().add(o.clone().multiplyScalar(r)), c = new Float32Array([a.x, a.y, a.z, l.x, l.y, l.z]), h = new b.BufferGeometry();
45125
45127
  h.setAttribute("position", new b.BufferAttribute(c, 3));
45126
45128
  const u = new b.LineBasicMaterial({
45127
45129
  color: s.color,
@@ -45151,7 +45153,7 @@ class By {
45151
45153
  }
45152
45154
  /** 更新默认配置 */
45153
45155
  updateDefaults(t) {
45154
- this.defaults = R(R({}, this.defaults), t);
45156
+ this.defaults = _(_({}, this.defaults), t);
45155
45157
  }
45156
45158
  }
45157
45159
  var Y0, Z0;
@@ -45453,11 +45455,11 @@ class UT {
45453
45455
  return NT();
45454
45456
  if (!this.state.enabled && t.enabled !== !0 && t.disposed !== !0)
45455
45457
  return WT();
45456
- const i = R({}, this.state);
45457
- this.state = R(R({}, this.state), t), t.disposed !== void 0 && t.disposed !== i.disposed && t.disposed && this.handleDispose(), t.visible !== void 0 && this.handleVisible(t.visible), t.enabled !== void 0 && this.handleEnable(t.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: i });
45458
+ const i = _({}, this.state);
45459
+ this.state = _(_({}, this.state), t), t.disposed !== void 0 && t.disposed !== i.disposed && t.disposed && this.handleDispose(), t.visible !== void 0 && this.handleVisible(t.visible), t.enabled !== void 0 && this.handleEnable(t.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: i });
45458
45460
  }
45459
45461
  addControllers(t) {
45460
- this.controllers = R(R({}, this.controllers), t), this.setState(this.state);
45462
+ this.controllers = _(_({}, this.controllers), t), this.setState(this.state);
45461
45463
  }
45462
45464
  /**
45463
45465
  * @description 初始化 helpers 的位置
@@ -45763,7 +45765,7 @@ class XT extends Ia {
45763
45765
  this.scale(i);
45764
45766
  }
45765
45767
  scale(e) {
45766
- var _, A;
45768
+ var R, A;
45767
45769
  if (!this.startInfo)
45768
45770
  return;
45769
45771
  const i = this.originObject3D, { startPoint: s, plane: o } = this.startInfo, r = this.helperObject3D.cornerPositions;
@@ -45816,7 +45818,7 @@ class XT extends Ia {
45816
45818
  const w = new fe().subVectors(r[1], r[0]).length() / u.length(), I = new fe().subVectors(r[3], r[0]).length() / d.length(), C = new fe(w, I, 1), L = new b.Matrix4().scale(C);
45817
45819
  i.isCSS3DObjectPlus && i.applyScaleMatrix4 ? i.applyScaleMatrix4(L) : i.scale.applyMatrix4(L), s.position.copy(a);
45818
45820
  const S = new fe().addVectors(r[0], r[2]).divideScalar(2), j = new fe().subVectors(S, l), z = new b.Matrix4().setPosition(j);
45819
- i.applyMatrix4(z), (_ = this.helperObject3D.css3DInstance) == null || _.css3DObject.applyMatrix4(z), (A = this.helperObject3D.plane) == null || A.applyMatrix4(z), this.internalHooks.emit("applyObjectScale", { matrix: L }), this.internalHooks.emit("applyObjectPosition", { matrix: z }), this.render();
45821
+ i.applyMatrix4(z), (R = this.helperObject3D.css3DInstance) == null || R.css3DObject.applyMatrix4(z), (A = this.helperObject3D.plane) == null || A.applyMatrix4(z), this.internalHooks.emit("applyObjectScale", { matrix: L }), this.internalHooks.emit("applyObjectPosition", { matrix: z }), this.render();
45820
45822
  }
45821
45823
  dragEnd() {
45822
45824
  this.isDragging && (this.startInfo = void 0, this.isDragging = !1, "onScaleEnd" in this.helperObject3D && typeof this.helperObject3D.onScaleEnd == "function" && this.helperObject3D.onScaleEnd(), this.hooks.emit("scaleEnd"), this.render());
@@ -46097,8 +46099,8 @@ class $T extends Ia {
46097
46099
  return [];
46098
46100
  const g = [], v = m.count;
46099
46101
  for (let z = 0; z < v; z++) {
46100
- const _ = new b.Vector3().fromBufferAttribute(m, z);
46101
- d.updateMatrixWorld(!0), _.applyMatrix4(d.matrixWorld), g.push(_);
46102
+ const R = new b.Vector3().fromBufferAttribute(m, z);
46103
+ d.updateMatrixWorld(!0), R.applyMatrix4(d.matrixWorld), g.push(R);
46102
46104
  }
46103
46105
  const y = g.slice(0, 4);
46104
46106
  if (!y || y.length < 4)
@@ -46111,8 +46113,8 @@ class $T extends Ia {
46111
46113
  const z = new b.Vector3();
46112
46114
  if (e.ray.intersectPlane(I, z), !z)
46113
46115
  return;
46114
- const _ = new b.Matrix4().getInverse(this.helperObject3D.matrixWorld);
46115
- S = z.clone().applyMatrix4(_);
46116
+ const R = new b.Matrix4().getInverse(this.helperObject3D.matrixWorld);
46117
+ S = z.clone().applyMatrix4(R);
46116
46118
  }
46117
46119
  const j = s.clone().applyMatrix4(new b.Matrix4().getInverse(this.helperObject3D.matrixWorld));
46118
46120
  (c = (l = this.config) == null ? void 0 : l.scaleCallback) == null || c.call(l, {
@@ -46614,8 +46616,8 @@ class Vy extends Cs {
46614
46616
  return e7();
46615
46617
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
46616
46618
  return i7();
46617
- const s = R({}, this.state);
46618
- this.state = R(R({}, this.state), e), e.disposed !== void 0 && e.disposed !== s.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: s });
46619
+ const s = _({}, this.state);
46620
+ this.state = _(_({}, this.state), e), e.disposed !== void 0 && e.disposed !== s.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: s });
46619
46621
  }
46620
46622
  getObject3DHelper(e) {
46621
46623
  return this.objectHelperMap.get(e);
@@ -46637,7 +46639,7 @@ class Vy extends Cs {
46637
46639
  console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
46638
46640
  return;
46639
46641
  }
46640
- const s = new UT(), o = [], r = (I = this.five.getElement()) == null ? void 0 : I.parentElement, a = this.five.camera, c = R(R({}, {
46642
+ const s = new UT(), o = [], r = (I = this.five.getElement()) == null ? void 0 : I.parentElement, a = this.five.camera, c = _(_({}, {
46641
46643
  moveHelper: !0,
46642
46644
  rotateHelper: !0,
46643
46645
  scaleHelper: !0,
@@ -46648,7 +46650,7 @@ class Vy extends Cs {
46648
46650
  return typeof C == "boolean" ? C : C.enable;
46649
46651
  }, w = {};
46650
46652
  if (y(h)) {
46651
- const C = R(R({}, this.getConfig(c.moveHelper)), c), L = new xT(e, R({}, C)), S = new zr(
46653
+ const C = _(_({}, this.getConfig(c.moveHelper)), c), L = new xT(e, _({}, C)), S = new zr(
46652
46654
  this.five,
46653
46655
  v,
46654
46656
  BT,
@@ -46661,7 +46663,7 @@ class Vy extends Cs {
46661
46663
  w.moveController = S.helperController, o.push(() => S.dispose());
46662
46664
  }
46663
46665
  if (y(u)) {
46664
- const C = R(R({}, this.getConfig(c.rotateHelper)), c), L = new DT(e, R({ container: r }, C)), S = new zr(
46666
+ const C = _(_({}, this.getConfig(c.rotateHelper)), c), L = new DT(e, _({ container: r }, C)), S = new zr(
46665
46667
  this.five,
46666
46668
  v,
46667
46669
  QT,
@@ -46704,13 +46706,13 @@ class Vy extends Cs {
46704
46706
  const z = e;
46705
46707
  if (!z || z.mode !== "front")
46706
46708
  return;
46707
- const _ = (S = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? S : su(this.five);
46708
- _ && (this.css3DObjectParentMap.set(z, z.parent), z.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(_), (j = this.css3DRender.getBehindCSS3DObjectGroup()) == null || j.add(z), this.css3DRender.render(this.five.camera));
46709
+ const R = (S = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? S : su(this.five);
46710
+ R && (this.css3DObjectParentMap.set(z, z.parent), z.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(R), (j = this.css3DRender.getBehindCSS3DObjectGroup()) == null || j.add(z), this.css3DRender.render(this.five.camera));
46709
46711
  } else
46710
46712
  e.isCSS3DObject && (this.css3DObjectModeMap.set(e, e.mode), e.mode = "behind");
46711
46713
  });
46712
46714
  } else {
46713
- const C = R(R({}, this.getConfig(c.scaleHelper)), c), L = new qT(e, C), S = new zr(
46715
+ const C = _(_({}, this.getConfig(c.scaleHelper)), c), L = new qT(e, C), S = new zr(
46714
46716
  this.five,
46715
46717
  v,
46716
46718
  $T,
@@ -46794,7 +46796,7 @@ class n7 {
46794
46796
  return this._pointSelector;
46795
46797
  const t = (i = this.config) == null ? void 0 : i.magnifier;
46796
46798
  let e = t === null || t === !1 ? { magnifier: null } : { magnifierParams: t };
46797
- return (s = this.config) != null && s.hideCursorCircle && (e = ue(R({}, e), { pointHelper: null })), this._pointSelector = new Wl(this.five, {
46799
+ return (s = this.config) != null && s.hideCursorCircle && (e = ue(_({}, e), { pointHelper: null })), this._pointSelector = new Wl(this.five, {
46798
46800
  mode: "cursor",
46799
46801
  helper: e,
46800
46802
  hitFilter: (o = this.config) == null ? void 0 : o.hitFilter
@@ -46881,7 +46883,7 @@ class Ny extends Pi {
46881
46883
  if (r !== 0 && a === void 0)
46882
46884
  return;
46883
46885
  const l = (c = this.lines[r]) != null ? c : (() => {
46884
- const h = new ca(ue(R({}, this.style), {
46886
+ const h = new ca(ue(_({}, this.style), {
46885
46887
  pointVisibility: this.withDots ? { startPoint: r === 0, endPoint: !0 } : !1
46886
46888
  }));
46887
46889
  return this.lines[r] = h, this.add(h), h;
@@ -46890,7 +46892,7 @@ class Ny extends Pi {
46890
46892
  }), s.length === 0 ? (this.lines.forEach((o) => o.removeFromParent()), this.lines = []) : s.length === 1 || this.lines.length > s.length - 1 && this.lines.splice(s.length - 1).forEach((o) => o.removeFromParent());
46891
46893
  }
46892
46894
  setStyle(e) {
46893
- this.paramsStyle = R(R({}, this.paramsStyle), e), this.lines.forEach((i) => i.setStyle(this.paramsStyle));
46895
+ this.paramsStyle = _(_({}, this.paramsStyle), e), this.lines.forEach((i) => i.setStyle(this.paramsStyle));
46894
46896
  }
46895
46897
  highlight() {
46896
46898
  this.lines.forEach((e) => e.highlight());
@@ -46901,13 +46903,13 @@ class Ny extends Pi {
46901
46903
  }
46902
46904
  class io extends Ny {
46903
46905
  constructor(...e) {
46904
- super(ue(R({}, e[0]), { withDots: !1 }));
46906
+ super(ue(_({}, e[0]), { withDots: !1 }));
46905
46907
  f(this, "name", "PolylineMesh");
46906
46908
  }
46907
46909
  }
46908
46910
  class fs extends Ny {
46909
46911
  constructor(...e) {
46910
- super(ue(R({}, e[0]), { withDots: !0 }));
46912
+ super(ue(_({}, e[0]), { withDots: !0 }));
46911
46913
  f(this, "name", "PolylineWithDotsMesh");
46912
46914
  }
46913
46915
  }
@@ -46937,7 +46939,7 @@ class Ji extends Pi {
46937
46939
  const s = i != null ? i : this;
46938
46940
  return s.updateMatrixWorld(), WA(s, e);
46939
46941
  });
46940
- e != null && e.id && (this.uuid = e.id), this.config = R({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e && (Ge((s = this.config) == null ? void 0 : s.occlusionMode) && (e.style = ue(R({}, e.style), { occlusionMode: this.config.occlusionMode })), Ge((o = this.config) == null ? void 0 : o.occlusionVisibility) && (e.style = ue(R({}, e.style), { occlusionVisibility: this.config.occlusionVisibility }))), gt("esc", () => {
46942
+ e != null && e.id && (this.uuid = e.id), this.config = _({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e && (Ge((s = this.config) == null ? void 0 : s.occlusionMode) && (e.style = ue(_({}, e.style), { occlusionMode: this.config.occlusionMode })), Ge((o = this.config) == null ? void 0 : o.occlusionVisibility) && (e.style = ue(_({}, e.style), { occlusionVisibility: this.config.occlusionVisibility }))), gt("esc", () => {
46941
46943
  this.stopCreating();
46942
46944
  }), this.config.defaultAction && (gt("backspace, delete", () => {
46943
46945
  this.selected && this.delete();
@@ -47092,19 +47094,19 @@ class Ma extends fc {
47092
47094
  });
47093
47095
  // 移动中的处理
47094
47096
  f(this, "onMove", () => {
47095
- this.currentOperation && (this.currentOperation = ue(R({}, this.currentOperation), {
47097
+ this.currentOperation && (this.currentOperation = ue(_({}, this.currentOperation), {
47096
47098
  status: "moving"
47097
47099
  }), this.onObjectUpdate(!1));
47098
47100
  });
47099
47101
  // 旋转中的处理
47100
47102
  f(this, "onRotate", () => {
47101
- this.currentOperation && (this.currentOperation = ue(R({}, this.currentOperation), {
47103
+ this.currentOperation && (this.currentOperation = ue(_({}, this.currentOperation), {
47102
47104
  status: "rotating"
47103
47105
  }), this.onObjectUpdate(!1));
47104
47106
  });
47105
47107
  // 缩放中的处理
47106
47108
  f(this, "onScale", () => {
47107
- this.currentOperation && (this.currentOperation = ue(R({}, this.currentOperation), {
47109
+ this.currentOperation && (this.currentOperation = ue(_({}, this.currentOperation), {
47108
47110
  status: "scaling"
47109
47111
  }), this.onObjectUpdate(!1));
47110
47112
  });
@@ -47124,7 +47126,7 @@ class Ma extends fc {
47124
47126
  this.hooks.emit("objectUpdate");
47125
47127
  return;
47126
47128
  }
47127
- const i = ue(R({}, this.currentOperation), {
47129
+ const i = ue(_({}, this.currentOperation), {
47128
47130
  end_timestamp: e ? Date.now() : void 0,
47129
47131
  // 只在松手时设置结束时间
47130
47132
  is_handle_end: e
@@ -47140,7 +47142,7 @@ class Ma extends fc {
47140
47142
  enable() {
47141
47143
  super.enable();
47142
47144
  const e = typeof this.objectHelperConfig == "function" ? this.objectHelperConfig() : this.objectHelperConfig;
47143
- rt.modules.object3DHelper.addObject3DHelper(this.originObject, R({ positionFrom: "boundingBox" }, e));
47145
+ rt.modules.object3DHelper.addObject3DHelper(this.originObject, _({ positionFrom: "boundingBox" }, e));
47144
47146
  const i = rt.modules.object3DHelper.getObject3DHelper(this.originObject).helper;
47145
47147
  i.hooks.on("moveStart", this.onMoveStart), i.hooks.on("rotateStart", this.onRotateStart), i.hooks.on("scaleStart", this.onScaleStart), i.hooks.on("move", this.onMove), i.hooks.on("rotate", this.onRotate), i.hooks.on("scale", this.onScale), i.hooks.on("moveEnd", this.onMoveEnd), i.hooks.on("rotateEnd", this.onRotateEnd), i.hooks.on("scaleEnd", this.onScaleEnd);
47146
47148
  }
@@ -47219,13 +47221,13 @@ class Ug extends Ji {
47219
47221
  f(this, "polyLineMesh");
47220
47222
  f(this, "_editor");
47221
47223
  f(this, "creatingObject");
47222
- e && (this.polyLineMesh = new fs(R(R({}, e.style), e)), this.add(this.polyLineMesh));
47224
+ e && (this.polyLineMesh = new fs(_(_({}, e.style), e)), this.add(this.polyLineMesh));
47223
47225
  }
47224
47226
  get editor() {
47225
47227
  return this._editor || (this._editor = new r7(this)), this._editor;
47226
47228
  }
47227
47229
  get data() {
47228
- return ue(R({}, this.baseData), {
47230
+ return ue(_({}, this.baseData), {
47229
47231
  points: ci(this.applyObjectMatrixWorld(this.polyLineMesh.points)),
47230
47232
  style: {
47231
47233
  lineColor: new b.Color(this.polyLineMesh.lineColor).getHex(),
@@ -47276,7 +47278,7 @@ function a7(n, t, e) {
47276
47278
  return;
47277
47279
  const { promise: s, resolve: o, reject: r } = so(), a = (L = e == null ? void 0 : e.limit) != null ? L : "none", l = new io(n.style);
47278
47280
  i.add(l);
47279
- const c = new io(ue(R({}, n.style), { dashed: !0, lengthEnable: !1 }));
47281
+ const c = new io(ue(_({}, n.style), { dashed: !0, lengthEnable: !1 }));
47280
47282
  i.add(c), t.enable();
47281
47283
  const h = [];
47282
47284
  let u, d, p;
@@ -47331,13 +47333,13 @@ class Qg extends Ji {
47331
47333
  f(this, "type", "Point");
47332
47334
  f(this, "pointMesh");
47333
47335
  f(this, "_editor");
47334
- e && (this.pointMesh = new mn(R(R({}, e.style), e)), this.add(this.pointMesh));
47336
+ e && (this.pointMesh = new mn(_(_({}, e.style), e)), this.add(this.pointMesh));
47335
47337
  }
47336
47338
  get editor() {
47337
47339
  return this._editor || (this._editor = new l7(this)), this._editor;
47338
47340
  }
47339
47341
  get data() {
47340
- return ue(R({}, this.baseData), {
47342
+ return ue(_({}, this.baseData), {
47341
47343
  point: ci(this.applyObjectMatrixWorld(this.pointMesh.position)),
47342
47344
  style: {
47343
47345
  color: this.pointMesh.color.getHex(),
@@ -47397,7 +47399,7 @@ class Fh extends cr {
47397
47399
  i && this.setPoints(i), s && this.setStyle(s);
47398
47400
  }
47399
47401
  get style() {
47400
- return ue(R({}, super.style), {
47402
+ return ue(_({}, super.style), {
47401
47403
  lineWidth: this.lineWidth,
47402
47404
  lineColor: this.lineColor
47403
47405
  });
@@ -47414,10 +47416,10 @@ class Fh extends cr {
47414
47416
  }), !1;
47415
47417
  }
47416
47418
  setPoints(e, i) {
47417
- super.setPoints(e, R({ closed: !0 }, i)), this.points && (this.line.setPoints(this.points, R({ closed: !0 }, i)), this.addIfNotExists(this.line));
47419
+ super.setPoints(e, _({ closed: !0 }, i)), this.points && (this.line.setPoints(this.points, _({ closed: !0 }, i)), this.addIfNotExists(this.line));
47418
47420
  }
47419
47421
  setStyle(e) {
47420
- super.setStyle(e), e.lineOpacity !== void 0 ? this.line.setStyle(ue(R({}, e), {
47422
+ super.setStyle(e), e.lineOpacity !== void 0 ? this.line.setStyle(ue(_({}, e), {
47421
47423
  // 强制设置line的lineOpacity
47422
47424
  lineOpacity: e.lineOpacity
47423
47425
  })) : this.line.setStyle(e), this.needsRender = !0;
@@ -47585,7 +47587,7 @@ class Vh extends Ji {
47585
47587
  f(this, "maxHistorySize", 50);
47586
47588
  f(this, "_editor");
47587
47589
  f(this, "creatingObject");
47588
- e && (this.areaMesh = new Bh(R(R({}, e.style), e)), this.areaMesh.userData = (s = this.areaMesh.userData) != null ? s : {}, typeof this.areaMesh.userData.dragSelectPixelDistance != "number" && (this.areaMesh.userData.dragSelectPixelDistance = 10), this.add(this.areaMesh));
47590
+ e && (this.areaMesh = new Bh(_(_({}, e.style), e)), this.areaMesh.userData = (s = this.areaMesh.userData) != null ? s : {}, typeof this.areaMesh.userData.dragSelectPixelDistance != "number" && (this.areaMesh.userData.dragSelectPixelDistance = 10), this.add(this.areaMesh));
47589
47591
  }
47590
47592
  get editor() {
47591
47593
  return this._editor || (this._editor = new c7(this)), this._editor;
@@ -47596,7 +47598,7 @@ class Vh extends Ji {
47596
47598
  typeof e == "function" && e(), this._editor && this._editor.updatePointMeshes();
47597
47599
  }
47598
47600
  get data() {
47599
- return this.updateMatrixWorld(), ue(R({}, this.baseData), {
47601
+ return this.updateMatrixWorld(), ue(_({}, this.baseData), {
47600
47602
  points: ci(this.applyObjectMatrixWorld(this.areaMesh.points)),
47601
47603
  style: {
47602
47604
  color: this.areaMesh.color.getHex(),
@@ -47687,7 +47689,7 @@ function Cd(n, t, e) {
47687
47689
  l && c && c.model && c.model.bounding && typeof ((De = c.model.bounding.max) == null ? void 0 : De.y) == "number" && (u = c.model.bounding.max.y + 1);
47688
47690
  const d = new io(n.style);
47689
47691
  r == null || r.add(d);
47690
- const p = new io(ue(R({}, n.style), { dashed: !0, lengthEnable: !1 }));
47692
+ const p = new io(ue(_({}, n.style), { dashed: !0, lengthEnable: !1 }));
47691
47693
  r == null || r.add(p);
47692
47694
  let m = [];
47693
47695
  const g = (ne = w) => {
@@ -47705,7 +47707,7 @@ function Cd(n, t, e) {
47705
47707
  const ne = (le = (Ae = n.line) == null ? void 0 : Ae.style) != null ? le : n.style;
47706
47708
  m = w.map((ce, be) => {
47707
47709
  var Te, _e;
47708
- const te = new mn(ue(R({}, ne), {
47710
+ const te = new mn(ue(_({}, ne), {
47709
47711
  color: (Te = ne.pointColor) != null ? Te : ne.lineColor,
47710
47712
  tip: void 0,
47711
47713
  point: ce
@@ -47722,12 +47724,12 @@ function Cd(n, t, e) {
47722
47724
  t.enable(), l && t.setAdherePoints([]);
47723
47725
  const w = [];
47724
47726
  let I, C, L = !1, S;
47725
- const j = [], z = () => w.length > 0, _ = () => j.length > 0, A = () => {
47727
+ const j = [], z = () => w.length > 0, R = () => j.length > 0, A = () => {
47726
47728
  var ne;
47727
47729
  z() && (j.push(w.pop()), k(S), v(), (ne = e == null ? void 0 : e.onUndo) == null || ne.call(e), t.pointSelectorHelper && t.pointSelectorHelper.magnifier && t.pointSelectorHelper.magnifier.render());
47728
47730
  }, M = () => {
47729
47731
  var ne;
47730
- _() && (w.push(j.pop()), k(S), v(), (ne = e == null ? void 0 : e.onRedo) == null || ne.call(e), t.pointSelectorHelper && t.pointSelectorHelper.magnifier && t.pointSelectorHelper.magnifier.render());
47732
+ R() && (w.push(j.pop()), k(S), v(), (ne = e == null ? void 0 : e.onRedo) == null || ne.call(e), t.pointSelectorHelper && t.pointSelectorHelper.magnifier && t.pointSelectorHelper.magnifier.render());
47731
47733
  }, E = (ne) => {
47732
47734
  var le, ce;
47733
47735
  j.length = 0;
@@ -47779,7 +47781,7 @@ function Cd(n, t, e) {
47779
47781
  return t.on("select", E), t.on("intersectionUpdate", k), t.on("disable", T), {
47780
47782
  finished: i,
47781
47783
  canUndo: z,
47782
- canRedo: _,
47784
+ canRedo: R,
47783
47785
  undo: A,
47784
47786
  redo: M
47785
47787
  };
@@ -48063,7 +48065,7 @@ class Ys extends Pi {
48063
48065
  return this.edgeMesh.color;
48064
48066
  }
48065
48067
  setStyle(e = {}) {
48066
- this.paramStyle = R(R({}, this.paramStyle), e), this.prismMesh.setStyle(this.paramStyle), this.edgeMesh.setStyle(this.paramStyle);
48068
+ this.paramStyle = _(_({}, this.paramStyle), e), this.prismMesh.setStyle(this.paramStyle), this.edgeMesh.setStyle(this.paramStyle);
48067
48069
  }
48068
48070
  /**
48069
48071
  * Check if the prism is a box (has 4 bottom positions)
@@ -48291,13 +48293,13 @@ class Zg extends Ji {
48291
48293
  f(this, "type", "Prism");
48292
48294
  f(this, "prismMesh");
48293
48295
  f(this, "_editor");
48294
- e && (this.prismMesh = new Ys(R(R({}, e.style), e)), this.add(this.prismMesh));
48296
+ e && (this.prismMesh = new Ys(_(_({}, e.style), e)), this.add(this.prismMesh));
48295
48297
  }
48296
48298
  get editor() {
48297
48299
  return this._editor || (this._editor = new Wy(this.prismMesh)), this._editor;
48298
48300
  }
48299
48301
  get data() {
48300
- return ue(R({}, this.baseData), {
48302
+ return ue(_({}, this.baseData), {
48301
48303
  points: ci(this.applyObjectMatrixWorld(this.prismMesh.bottomPositions, this.prismMesh)),
48302
48304
  heightPoint: ci(this.applyObjectMatrixWorld(this.prismMesh.topPosition, this.prismMesh)),
48303
48305
  style: {
@@ -48418,7 +48420,7 @@ class Qy extends Ma {
48418
48420
  const u = h, d = (u + 2) % 4, p = (u + 1) % 4, m = (u + 3) % 4, g = l[u].clone(), v = i.clone(), y = l[p].clone().sub(g), w = l[m].clone().sub(g), I = y.length(), C = w.length();
48419
48421
  if (I < 1e-6 || C < 1e-6)
48420
48422
  return l.map((x) => x.clone());
48421
- const L = y.clone().normalize(), S = w.clone().normalize(), j = v.clone().sub(g), z = j.dot(L), _ = j.dot(S), A = g.clone().add(L.clone().multiplyScalar(z)), M = g.clone().add(S.clone().multiplyScalar(_)), E = g.clone().add(L.clone().multiplyScalar(z)).add(S.clone().multiplyScalar(_)), k = l.map((x) => x.clone());
48423
+ const L = y.clone().normalize(), S = w.clone().normalize(), j = v.clone().sub(g), z = j.dot(L), R = j.dot(S), A = g.clone().add(L.clone().multiplyScalar(z)), M = g.clone().add(S.clone().multiplyScalar(R)), E = g.clone().add(L.clone().multiplyScalar(z)).add(S.clone().multiplyScalar(R)), k = l.map((x) => x.clone());
48422
48424
  return k[u] = g, k[p] = A, k[m] = M, k[d] = E, k;
48423
48425
  };
48424
48426
  o === "top" ? t.setPoints([
@@ -48493,7 +48495,7 @@ class Vl extends Id {
48493
48495
  i && this.setPoints(i), s && this.setStyle(s);
48494
48496
  }
48495
48497
  get style() {
48496
- return R(R({}, super.style), this.line.style);
48498
+ return _(_({}, super.style), this.line.style);
48497
48499
  }
48498
48500
  get lineWidth() {
48499
48501
  return this.line.lineWidth;
@@ -48524,13 +48526,13 @@ class Gh extends Ji {
48524
48526
  f(this, "type", "Rectangle");
48525
48527
  f(this, "rectangleMesh");
48526
48528
  f(this, "_editor");
48527
- e && (this.rectangleMesh = new Vl(R(R({}, e.style), e)), this.add(this.rectangleMesh));
48529
+ e && (this.rectangleMesh = new Vl(_(_({}, e.style), e)), this.add(this.rectangleMesh));
48528
48530
  }
48529
48531
  get editor() {
48530
48532
  return this._editor || (this._editor = new Qy(this.rectangleMesh)), this._editor;
48531
48533
  }
48532
48534
  get data() {
48533
- return ue(R({}, this.baseData), {
48535
+ return ue(_({}, this.baseData), {
48534
48536
  points: ci(this.applyObjectMatrixWorld(this.rectangleMesh.points, this.rectangleMesh)),
48535
48537
  style: {
48536
48538
  color: this.rectangleMesh.color.getHex(),
@@ -48581,7 +48583,7 @@ function A7(n, t, e) {
48581
48583
  const { promise: i, reject: s, resolve: o } = so(), r = n.parent;
48582
48584
  if (!r)
48583
48585
  return s(new Error("No container"));
48584
- const a = (I = e == null ? void 0 : e.limit) != null ? I : "none", l = new fs(ue(R({}, n.style), { dashed: !0 })), c = new fs(ue(R({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new fs(ue(R({}, n.style), { dashed: !1, lengthEnable: !1 }));
48586
+ const a = (I = e == null ? void 0 : e.limit) != null ? I : "none", l = new fs(ue(_({}, n.style), { dashed: !0 })), c = new fs(ue(_({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new fs(ue(_({}, n.style), { dashed: !1, lengthEnable: !1 }));
48585
48587
  r.add(l, h, c), t.enable();
48586
48588
  const u = [];
48587
48589
  let d = new b.Vector3(), p = new b.Vector3();
@@ -48598,13 +48600,13 @@ function A7(n, t, e) {
48598
48600
  return;
48599
48601
  }
48600
48602
  if (u.length === 1 && a === "y") {
48601
- const _ = new b.Line3(new b.Vector3(0, 1, 0).add(u[0]), new b.Vector3(0, -1, 0).add(u[0])).closestPointToPoint(C.point, !1, new b.Vector3());
48602
- n.setPoints([u[0], _, C.point]);
48603
+ const R = new b.Line3(new b.Vector3(0, 1, 0).add(u[0]), new b.Vector3(0, -1, 0).add(u[0])).closestPointToPoint(C.point, !1, new b.Vector3());
48604
+ n.setPoints([u[0], R, C.point]);
48603
48605
  return;
48604
48606
  }
48605
48607
  if (u.length === 1 && a === "xoz") {
48606
- const z = new b.Line3(new b.Vector3(1, 0, 0).add(u[0]), new b.Vector3(-1, 0, 0).add(u[0])), _ = C.raycaster.ray.intersectPlane(m, new b.Vector3()), A = z.closestPointToPoint(_, !1, new b.Vector3());
48607
- n.setPoints([u[0], A, _]);
48608
+ const z = new b.Line3(new b.Vector3(1, 0, 0).add(u[0]), new b.Vector3(-1, 0, 0).add(u[0])), R = C.raycaster.ray.intersectPlane(m, new b.Vector3()), A = z.closestPointToPoint(R, !1, new b.Vector3());
48609
+ n.setPoints([u[0], A, R]);
48608
48610
  return;
48609
48611
  }
48610
48612
  if (u.length === 1 && a === "none") {
@@ -48613,8 +48615,8 @@ function A7(n, t, e) {
48613
48615
  }
48614
48616
  if (u.length === 2 && a === "none") {
48615
48617
  r.remove(l);
48616
- const z = C.raycaster.ray.intersectPlane(m, new b.Vector3()), _ = u[0].distanceTo(u[1]) / 2, A = new b.Vector3().lerpVectors(u[0], u[1], 0.5), M = new b.Vector3().subVectors(z, A).normalize();
48617
- d = new b.Vector3().addVectors(A, M.multiplyScalar(_));
48618
+ const z = C.raycaster.ray.intersectPlane(m, new b.Vector3()), R = u[0].distanceTo(u[1]) / 2, A = new b.Vector3().lerpVectors(u[0], u[1], 0.5), M = new b.Vector3().subVectors(z, A).normalize();
48619
+ d = new b.Vector3().addVectors(A, M.multiplyScalar(R));
48618
48620
  const E = [u[0], d, u[1]], k = Xy(E, rt.modules.five.camera.position);
48619
48621
  n.setPoints(k);
48620
48622
  return;
@@ -48631,7 +48633,7 @@ function w7(n, t, e) {
48631
48633
  const { promise: i, reject: s, resolve: o } = so(), r = n.parent;
48632
48634
  if (!r)
48633
48635
  return s(new Error("No container"));
48634
- const a = (I = e == null ? void 0 : e.limit) != null ? I : "none", l = new fs(ue(R({}, n.style), { dashed: !0 })), c = new fs(ue(R({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new fs(ue(R({}, n.style), { dashed: !1, lengthEnable: !1 }));
48636
+ const a = (I = e == null ? void 0 : e.limit) != null ? I : "none", l = new fs(ue(_({}, n.style), { dashed: !0 })), c = new fs(ue(_({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new fs(ue(_({}, n.style), { dashed: !1, lengthEnable: !1 }));
48635
48637
  r.add(l, h, c), t.enable(), t.setAdherePoints(b7(t.five, { excludes: [n] }));
48636
48638
  const u = [];
48637
48639
  let d = new b.Vector3(), p = new b.Vector3();
@@ -48646,7 +48648,7 @@ function w7(n, t, e) {
48646
48648
  } else
48647
48649
  u.length === 3 && (y(), o());
48648
48650
  }, v = (C) => {
48649
- var S, j, z, _;
48651
+ var S, j, z, R;
48650
48652
  if (!C || !(C != null && C.raycaster))
48651
48653
  return;
48652
48654
  const L = (S = u.at(-1)) == null ? void 0 : S.clone();
@@ -48663,7 +48665,7 @@ function w7(n, t, e) {
48663
48665
  const x = yi([u[0], u[1], C.point]);
48664
48666
  m.setFromNormalAndCoplanarPoint(x, u[0]);
48665
48667
  }
48666
- c.setPoints([(_ = C.originalPoint) != null ? _ : C.point, C.point]);
48668
+ c.setPoints([(R = C.originalPoint) != null ? R : C.point, C.point]);
48667
48669
  const A = new b.Vector3().crossVectors(u[0].clone().sub(u[1]), m.normal).normalize();
48668
48670
  d = new b.Line3(u[1].clone().add(A), u[1].clone().sub(A)).closestPointToPoint(C.point, !1, new b.Vector3());
48669
48671
  const E = [u[0], u[1], d], k = Xy(E, rt.modules.five.camera.position);
@@ -48743,13 +48745,13 @@ class qg extends Ji {
48743
48745
  f(this, "type", "Circle");
48744
48746
  f(this, "circleMesh");
48745
48747
  f(this, "_editor");
48746
- e && (this.circleMesh = new pa(R(R({}, e.style), e)), this.add(this.circleMesh));
48748
+ e && (this.circleMesh = new pa(_(_({}, e.style), e)), this.add(this.circleMesh));
48747
48749
  }
48748
48750
  get editor() {
48749
48751
  return this._editor || (this._editor = new Yy(this.circleMesh)), this._editor;
48750
48752
  }
48751
48753
  get data() {
48752
- return ue(R({}, this.baseData), {
48754
+ return ue(_({}, this.baseData), {
48753
48755
  center: ci(this.applyObjectMatrixWorld(this.circleMesh.center, this.circleMesh)),
48754
48756
  normal: ci(this.circleMesh.normal.clone().applyQuaternion(this.circleMesh.quaternion)),
48755
48757
  radius: this.circleMesh.radius,
@@ -48863,7 +48865,7 @@ class Wh extends Pi {
48863
48865
  this.addIfNotExists(this.bottomCircle), this.bottomCircle.setPoints({ center: e, normal: this.normal, radius: this.radius }), this.setEdgeMesh();
48864
48866
  }
48865
48867
  setStyle(e) {
48866
- this.params = R(R({}, this.params), e), this.bottomCircle.setStyle(this.params), this.topCircle.setStyle(this.params);
48868
+ this.params = _(_({}, this.params), e), this.bottomCircle.setStyle(this.params), this.topCircle.setStyle(this.params);
48867
48869
  }
48868
48870
  highlight() {
48869
48871
  this.highlighted || (this.highlighted = !0, this.edgeMesh.highlight(), this.bottomCircle.highlight(), this.topCircle.highlight(), this.needsRender = !0);
@@ -48928,13 +48930,13 @@ class Jg extends Ji {
48928
48930
  f(this, "type", "Cylinder");
48929
48931
  f(this, "cylinderMesh");
48930
48932
  f(this, "_editor");
48931
- e && (this.cylinderMesh = new Wh(R(R({}, e.style), e)), this.add(this.cylinderMesh));
48933
+ e && (this.cylinderMesh = new Wh(_(_({}, e.style), e)), this.add(this.cylinderMesh));
48932
48934
  }
48933
48935
  get editor() {
48934
48936
  return this._editor || (this._editor = new Jy(this.cylinderMesh)), this._editor;
48935
48937
  }
48936
48938
  get data() {
48937
- return ue(R({}, this.baseData), {
48939
+ return ue(_({}, this.baseData), {
48938
48940
  bottomCenter: ci(this.applyObjectMatrixWorld(this.cylinderMesh.bottomCenter, this.cylinderMesh)),
48939
48941
  topCenter: ci(this.applyObjectMatrixWorld(this.cylinderMesh.topCenter, this.cylinderMesh)),
48940
48942
  radius: this.cylinderMesh.radius,
@@ -49108,13 +49110,13 @@ class Qh extends Ji {
49108
49110
  f(this, "type", "Box");
49109
49111
  f(this, "boxMesh");
49110
49112
  f(this, "_editor");
49111
- e && (this.boxMesh = new Uh(R(R({}, e.style), e)), this.add(this.boxMesh));
49113
+ e && (this.boxMesh = new Uh(_(_({}, e.style), e)), this.add(this.boxMesh));
49112
49114
  }
49113
49115
  get editor() {
49114
49116
  return this._editor || (this._editor = new $y(this.boxMesh)), this._editor;
49115
49117
  }
49116
49118
  get data() {
49117
- return ue(R({}, this.baseData), {
49119
+ return ue(_({}, this.baseData), {
49118
49120
  points: ci(this.applyObjectMatrixWorld(this.boxMesh.bottomPositions, this.boxMesh)),
49119
49121
  heightPoint: ci(this.applyObjectMatrixWorld(this.boxMesh.topPosition, this.boxMesh)),
49120
49122
  style: {
@@ -49175,7 +49177,7 @@ function eb(n, t, e) {
49175
49177
  return;
49176
49178
  }
49177
49179
  const r = new Vl(n.style);
49178
- o.add(r), yield Md(r, t, ue(R({}, e), {
49180
+ o.add(r), yield Md(r, t, ue(_({}, e), {
49179
49181
  onPointPlaced: () => {
49180
49182
  var v;
49181
49183
  (v = e == null ? void 0 : e.onPointPlaced) == null || v.call(e);
@@ -49217,13 +49219,13 @@ class Kg extends Ji {
49217
49219
  f(this, "lineMesh");
49218
49220
  f(this, "_editor");
49219
49221
  f(this, "creatingObject");
49220
- e && (this.lineMesh = new ca(R(R({}, e.style), e)), this.add(this.lineMesh));
49222
+ e && (this.lineMesh = new ca(_(_({}, e.style), e)), this.add(this.lineMesh));
49221
49223
  }
49222
49224
  get editor() {
49223
49225
  return this._editor || (this._editor = new o7(this)), this._editor;
49224
49226
  }
49225
49227
  get data() {
49226
- return ue(R({}, this.baseData), {
49228
+ return ue(_({}, this.baseData), {
49227
49229
  points: ci(this.applyObjectMatrixWorld(this.lineMesh.points)),
49228
49230
  style: {
49229
49231
  lineColor: new b.Color(this.lineMesh.color).getHex(),
@@ -49274,7 +49276,7 @@ function tb(n, t, e) {
49274
49276
  return;
49275
49277
  const { promise: s, resolve: o, reject: r } = so(), a = (j = e == null ? void 0 : e.limit) != null ? j : "none", l = new Di(n.style);
49276
49278
  i.add(l);
49277
- const c = new Di(ue(R({}, n.style), { dashed: !0, lengthEnable: !1 }));
49279
+ const c = new Di(ue(_({}, n.style), { dashed: !0, lengthEnable: !1 }));
49278
49280
  i.add(c), t.enable();
49279
49281
  const h = [];
49280
49282
  let u, d, p;
@@ -49286,14 +49288,14 @@ function tb(n, t, e) {
49286
49288
  if (!z)
49287
49289
  return;
49288
49290
  m.length = 0;
49289
- const _ = h.length === 0 ? z.point : u.clone();
49290
- h.push(_), n.setPoints(h), h.length === 2 && (L(), o());
49291
+ const R = h.length === 0 ? z.point : u.clone();
49292
+ h.push(R), n.setPoints(h), h.length === 2 && (L(), o());
49291
49293
  }, C = (z) => {
49292
- const _ = () => {
49294
+ const R = () => {
49293
49295
  l.setPoints([]), c.setPoints([]), t.pointSelectorHelper.magnifier.render();
49294
49296
  };
49295
49297
  if (!(h != null && h.length) || !z)
49296
- return _();
49298
+ return R();
49297
49299
  p = z;
49298
49300
  const A = h.at(-1).clone();
49299
49301
  a === "none" ? (u = z.point, l.setPoints([A, u])) : a === "xoz" ? (t.plane = d, d = d != null ? d : new b.Plane().setFromNormalAndCoplanarPoint(new b.Vector3(0, 1, 0), h[0]), u = d.projectPoint(z.point, new b.Vector3()), l.setPoints([A, u]), c.setPoints([u, z.point])) : a === "y" && (z.isVirtual ? (u = _n({
@@ -49344,7 +49346,7 @@ const zo = class extends St {
49344
49346
  const e = this.items.find((i) => i.selected && i.type === "Polygon");
49345
49347
  e && typeof e.redo == "function" && (e.redo(), this.five.needsRender = !0);
49346
49348
  });
49347
- this.five = e, this.theme = i, this.config = R({
49349
+ this.five = e, this.theme = i, this.config = _({
49348
49350
  magnifier: { width: 190, height: 190, scale: 2, dragEnabled: !0 }
49349
49351
  }, s), this.group = new Pi(), this.group.name = "Sculpt", this.group.__sculpt__ = this, this.group.__five__ = this.five, e.scene.add(this.group), zo.modules.init(e, this.config), gt("ctrl+z, command+z", this.undo), gt("ctrl+shift+z, command+shift+z", this.redo), zo.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: o, origDomEvent: r }) => {
49350
49352
  var l;
@@ -49374,8 +49376,8 @@ const zo = class extends St {
49374
49376
  this.clear();
49375
49377
  const s = (o = e == null ? void 0 : e.items) == null ? void 0 : o.map((r) => {
49376
49378
  var l;
49377
- const a = ue(R({}, r), {
49378
- style: R(R({}, (l = this.theme) == null ? void 0 : l[r.type.toLowerCase()]), r.style)
49379
+ const a = ue(_({}, r), {
49380
+ style: _(_({}, (l = this.theme) == null ? void 0 : l[r.type.toLowerCase()]), r.style)
49379
49381
  });
49380
49382
  return r.type === "Point" ? new Qg(a, i) : r.type === "line" ? new Kg(a, i) : r.type === "Polyline" ? new Ug(a, i) : r.type === "Polygon" ? new Vh(a, i) : r.type === "Prism" ? new Zg(a, i) : r.type === "Rectangle" ? new Gh(a, i) : r.type === "Circle" ? new qg(a, i) : r.type === "Cylinder" ? new Jg(a, i) : r.type === "Box" ? new Qh(a, i) : null;
49381
49383
  });
@@ -49631,7 +49633,7 @@ class E7 extends ur {
49631
49633
  (l = (a = this.tag3DContentSvelte) == null ? void 0 : a.dispose) == null || l.call(a);
49632
49634
  const h = document.createElement("div");
49633
49635
  h.classList.add("tag-media-container");
49634
- const u = R({ mode: "front", cornerPoints: c, container: h }, this.config.tag3DConfig), d = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", p = new yy(ue(R({}, u), { mode: d })), m = this.computeNormal();
49636
+ const u = _({ mode: "front", cornerPoints: c, container: h }, this.config.tag3DConfig), d = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", p = new yy(ue(_({}, u), { mode: d })), m = this.computeNormal();
49635
49637
  p.position.add(m.clone().setLength(an.Z_FIGHTING_OFFSET)), this.plugin.group.add(p);
49636
49638
  let g;
49637
49639
  p.mode === "behind" && this.config.clickable !== !1 && (g = this.addObjectClickHandler(this, p, (y) => {
@@ -49850,7 +49852,7 @@ class x7 extends ur {
49850
49852
  * 更新标签数据
49851
49853
  */
49852
49854
  set(e, i = !0) {
49853
- super.set(e, i), e.style && (this.tagStyle = R(R({}, this.tagStyle), e.style)), e.position && (this.boxShape ? this.updateSculptBox() : this.initializeSculptBox()), e.style && this.boxShape && this.updateBoxStyle();
49855
+ super.set(e, i), e.style && (this.tagStyle = _(_({}, this.tagStyle), e.style)), e.position && (this.boxShape ? this.updateSculptBox() : this.initializeSculptBox()), e.style && this.boxShape && this.updateBoxStyle();
49854
49856
  }
49855
49857
  /**
49856
49858
  * 设置标签数据
@@ -50150,7 +50152,7 @@ class S7 extends ur {
50150
50152
  * 更新标签数据
50151
50153
  */
50152
50154
  set(e, i = !0) {
50153
- super.set(e, i), e.style && (this.tagStyle = R(R({}, this.tagStyle), e.style)), e.position && (this.polygonShape ? this.updateSculptPolygon() : this.initializeSculptPolygon()), e.style && this.polygonShape && this.updatePolygonStyle();
50155
+ super.set(e, i), e.style && (this.tagStyle = _(_({}, this.tagStyle), e.style)), e.position && (this.polygonShape ? this.updateSculptPolygon() : this.initializeSculptPolygon()), e.style && this.polygonShape && this.updatePolygonStyle();
50154
50156
  }
50155
50157
  /**
50156
50158
  * 获取多边形的所有角点(世界坐标)
@@ -50707,7 +50709,7 @@ const Ye = class extends ur {
50707
50709
  */
50708
50710
  set(e, i = !0) {
50709
50711
  var o, r;
50710
- super.set(e, i), e.style && (this.tagStyle = R(R({}, this.tagStyle), e.style), (o = e.style) != null && o.mask && this.updateMaskStyle());
50712
+ super.set(e, i), e.style && (this.tagStyle = _(_({}, this.tagStyle), e.style), (o = e.style) != null && o.mask && this.updateMaskStyle());
50711
50713
  const s = (r = e.mask) != null ? r : e.maskUrl;
50712
50714
  s && s !== this.maskUrl && (this.maskUrl = s, this.updateSharedMeshTexture()), e.color !== void 0 && (this.targetColor = il(e.color), this.updateMaskStyle()), this.maskMesh && this.updateMaskStyle();
50713
50715
  }
@@ -50724,7 +50726,7 @@ const Ye = class extends ur {
50724
50726
  try {
50725
50727
  if (!this.enabled || !this.plugin.state.enabled || !this.fiveUtil.model || !this.maskUrl)
50726
50728
  return !1;
50727
- const s = R(R({}, this.five.getCurrentState()), e), { panoIndex: o } = s;
50729
+ const s = _(_({}, this.five.getCurrentState()), e), { panoIndex: o } = s;
50728
50730
  return o !== ((i = this.fiveState) == null ? void 0 : i.panoIndex) ? !1 : super.getVisible(s);
50729
50731
  } catch (s) {
50730
50732
  return !1;
@@ -50736,7 +50738,7 @@ const Ye = class extends ur {
50736
50738
  */
50737
50739
  computeVisible(e) {
50738
50740
  var o, r, a;
50739
- const i = R(R({}, this.five.getCurrentState()), e), { panoIndex: s } = i;
50741
+ const i = _(_({}, this.five.getCurrentState()), e), { panoIndex: s } = i;
50740
50742
  return s !== ((o = this.fiveState) == null ? void 0 : o.panoIndex) ? {
50741
50743
  value: !1,
50742
50744
  reason: {
@@ -51657,7 +51659,7 @@ function G7(n, t, e) {
51657
51659
  pause: () => c("audioPause"),
51658
51660
  timeupdate: (Z) => c("audioTimeUpdate", Z.detail),
51659
51661
  duration: (Z) => c("audioDuration", Z.detail)
51660
- }, _ = (Z) => {
51662
+ }, R = (Z) => {
51661
51663
  I(Z), m(Z);
51662
51664
  }, A = (Z) => {
51663
51665
  L(h) && y(Z);
@@ -51725,7 +51727,7 @@ function G7(n, t, e) {
51725
51727
  S,
51726
51728
  z,
51727
51729
  j,
51728
- _,
51730
+ R,
51729
51731
  A,
51730
51732
  M,
51731
51733
  E,
@@ -52719,11 +52721,11 @@ function P6(n) {
52719
52721
  /*$$scope*/
52720
52722
  n[37],
52721
52723
  t0
52722
- ), _ = (
52724
+ ), R = (
52723
52725
  /*#slots*/
52724
52726
  n[38].arrow
52725
52727
  ), A = ms(
52726
- _,
52728
+ R,
52727
52729
  n,
52728
52730
  /*$$scope*/
52729
52731
  n[37],
@@ -52774,12 +52776,12 @@ function P6(n) {
52774
52776
  ), A && A.p && (!m || E[1] & /*$$scope*/
52775
52777
  64) && vs(
52776
52778
  A,
52777
- _,
52779
+ R,
52778
52780
  M,
52779
52781
  /*$$scope*/
52780
52782
  M[37],
52781
52783
  m ? gs(
52782
- _,
52784
+ R,
52783
52785
  /*$$scope*/
52784
52786
  M[37],
52785
52787
  E,
@@ -52811,7 +52813,7 @@ function C6(n) {
52811
52813
  return `${t.toString().padStart(2, "0")}:${e.toString().padStart(2, "0")}`;
52812
52814
  }
52813
52815
  function I6(n, t, e) {
52814
- let i, s, o, r, a, l, c, h, u, d, p, m, g, v, y, w, I, C, L, S, j, z, _, A, M, E, { $$slots: k = {}, $$scope: x } = t, { tag: T } = t, { config: O = {} } = t, { theme: B = void 0 } = t, { placement: q = "right-top" } = t, { audioInstance: ie = null } = t, { audioPlaying: Z = !1 } = t, { audioCurrentTime: se = 0 } = t, { audioDuration: $ = 0 } = t, oe = 0, De = "00:00", ne = null, Ae = 0, le = 0;
52816
+ let i, s, o, r, a, l, c, h, u, d, p, m, g, v, y, w, I, C, L, S, j, z, R, A, M, E, { $$slots: k = {}, $$scope: x } = t, { tag: T } = t, { config: O = {} } = t, { theme: B = void 0 } = t, { placement: q = "right-top" } = t, { audioInstance: ie = null } = t, { audioPlaying: Z = !1 } = t, { audioCurrentTime: se = 0 } = t, { audioDuration: $ = 0 } = t, oe = 0, De = "00:00", ne = null, Ae = 0, le = 0;
52815
52817
  function ce() {
52816
52818
  return $ > 0 ? se / $ * 100 : 0;
52817
52819
  }
@@ -52898,8 +52900,8 @@ function I6(n, t, e) {
52898
52900
  12 && e(30, S = i ? T.data.brandTags || [] : []), n.$$.dirty[0] & /*isMarketingTag, tag*/
52899
52901
  12 && e(29, j = i ? T.data.tags || [] : []), n.$$.dirty[0] & /*marketingBrandTags*/
52900
52902
  1073741824 && e(4, z = S.filter(Boolean).slice(0, 2)), n.$$.dirty[0] & /*primaryTags*/
52901
- 16 && e(28, _ = Math.max(0, 2 - z.length)), n.$$.dirty[0] & /*remainingCount, marketingTags*/
52902
- 805306368 && e(13, A = _ > 0 ? j.filter(Boolean).slice(0, _) : []), n.$$.dirty[0] & /*isMarketingTag, tag*/
52903
+ 16 && e(28, R = Math.max(0, 2 - z.length)), n.$$.dirty[0] & /*remainingCount, marketingTags*/
52904
+ 805306368 && e(13, A = R > 0 ? j.filter(Boolean).slice(0, R) : []), n.$$.dirty[0] & /*isMarketingTag, tag*/
52903
52905
  12 && e(12, M = i && ((Oe = T.data.price) == null ? void 0 : Oe.value) || ""), n.$$.dirty[0] & /*isMarketingTag, tag*/
52904
52906
  12 && e(11, E = i && ((Xe = T.data.price) == null ? void 0 : Xe.unit) || "");
52905
52907
  }, e(14, L = 1), [
@@ -52931,7 +52933,7 @@ function I6(n, t, e) {
52931
52933
  ie,
52932
52934
  se,
52933
52935
  $,
52934
- _,
52936
+ R,
52935
52937
  j,
52936
52938
  S,
52937
52939
  v,
@@ -53926,7 +53928,7 @@ function H6(n) {
53926
53928
  function N6(n, t, e) {
53927
53929
  let i, s, o, r, a, l, c, h, u, d;
53928
53930
  const p = dn("hooks");
53929
- let { tag: m } = t, { config: g = {} } = t, { triggerElement: v } = t, { wrapperElement: y = document.body } = t, { popoverContainer: w = null } = t, { theme: I = void 0 } = t, { visible: C = !0 } = t, { closePopover: L = void 0 } = t, { audioInstance: S = null } = t, { audioPlaying: j = !1 } = t, { audioCurrentTime: z = 0 } = t, { audioDuration: _ = 0 } = t;
53931
+ let { tag: m } = t, { config: g = {} } = t, { triggerElement: v } = t, { wrapperElement: y = document.body } = t, { popoverContainer: w = null } = t, { theme: I = void 0 } = t, { visible: C = !0 } = t, { closePopover: L = void 0 } = t, { audioInstance: S = null } = t, { audioPlaying: j = !1 } = t, { audioCurrentTime: z = 0 } = t, { audioDuration: R = 0 } = t;
53930
53932
  const A = Gn();
53931
53933
  let M, E = { width: 0, height: 0 }, k = null, x = s;
53932
53934
  function T(te, { duration: Te = 400, easing: _e = ra, x: ye = 0, y: Le = 0 }) {
@@ -54034,7 +54036,7 @@ function N6(n, t, e) {
54034
54036
  });
54035
54037
  }
54036
54038
  return n.$$set = (te) => {
54037
- "tag" in te && e(0, m = te.tag), "config" in te && e(1, g = te.config), "triggerElement" in te && e(26, v = te.triggerElement), "wrapperElement" in te && e(25, y = te.wrapperElement), "popoverContainer" in te && e(27, w = te.popoverContainer), "theme" in te && e(2, I = te.theme), "visible" in te && e(3, C = te.visible), "closePopover" in te && e(28, L = te.closePopover), "audioInstance" in te && e(4, S = te.audioInstance), "audioPlaying" in te && e(5, j = te.audioPlaying), "audioCurrentTime" in te && e(6, z = te.audioCurrentTime), "audioDuration" in te && e(7, _ = te.audioDuration);
54039
+ "tag" in te && e(0, m = te.tag), "config" in te && e(1, g = te.config), "triggerElement" in te && e(26, v = te.triggerElement), "wrapperElement" in te && e(25, y = te.wrapperElement), "popoverContainer" in te && e(27, w = te.popoverContainer), "theme" in te && e(2, I = te.theme), "visible" in te && e(3, C = te.visible), "closePopover" in te && e(28, L = te.closePopover), "audioInstance" in te && e(4, S = te.audioInstance), "audioPlaying" in te && e(5, j = te.audioPlaying), "audioCurrentTime" in te && e(6, z = te.audioCurrentTime), "audioDuration" in te && e(7, R = te.audioDuration);
54038
54040
  }, n.$$.update = () => {
54039
54041
  if (n.$$.dirty[0] & /*theme, tag*/
54040
54042
  5 && e(18, i = (() => Ge(I) ? I : Ge(m.data.theme) && ["light", "dark"].includes(m.data.theme) ? m.data.theme : m.contentType === "Marketing" ? "light" : "dark")()), n.$$.dirty[0] & /*config*/
@@ -54082,7 +54084,7 @@ function N6(n, t, e) {
54082
54084
  S,
54083
54085
  j,
54084
54086
  z,
54085
- _,
54087
+ R,
54086
54088
  x,
54087
54089
  M,
54088
54090
  $,
@@ -54606,7 +54608,7 @@ function Z6(n) {
54606
54608
  function q6(n, t, e) {
54607
54609
  let i, s, o, r, a, l, c, h, u, d, p, { tag: m } = t, { mediaStore: g } = t, { rendererMap: v = /* @__PURE__ */ new Map() } = t, { contentTypeMap: y = /* @__PURE__ */ new Map() } = t, { state: w } = t, { temporaryState: I } = t, { wrapperElement: C = null } = t, { popoverContainer: L = null } = t;
54608
54610
  const S = dn("hooks");
54609
- let j = !1, z, _, A = null, M = !1, E = !1, k = null, x = null, T = !1, O = 0, B = 0;
54611
+ let j = !1, z, R, A = null, M = !1, E = !1, k = null, x = null, T = !1, O = 0, B = 0;
54610
54612
  const q = {
54611
54613
  audioInstanceReady: (te) => {
54612
54614
  e(14, x = te.detail), e(15, T = !x.paused);
@@ -54626,11 +54628,11 @@ function q6(n, t, e) {
54626
54628
  };
54627
54629
  let ie = !1;
54628
54630
  const Z = (te) => {
54629
- if (_ && clearTimeout(_), te === !0 && !ie) {
54631
+ if (R && clearTimeout(R), te === !0 && !ie) {
54630
54632
  ie = !0, e(11, j = !0);
54631
54633
  return;
54632
54634
  }
54633
- _ = setTimeout(
54635
+ R = setTimeout(
54634
54636
  () => {
54635
54637
  var Te;
54636
54638
  !M && !E && !((Te = m.config.popoverConfig) != null && Te.debug) && (ie = !1, e(11, j = !1));
@@ -54638,7 +54640,7 @@ function q6(n, t, e) {
54638
54640
  300
54639
54641
  );
54640
54642
  }, se = () => {
54641
- M = !0, _ && clearTimeout(_);
54643
+ M = !0, R && clearTimeout(R);
54642
54644
  }, $ = () => {
54643
54645
  M = !1, Z(!1);
54644
54646
  }, oe = (te) => {
@@ -54648,7 +54650,7 @@ function q6(n, t, e) {
54648
54650
  E = !0;
54649
54651
  const Te = (ye = (_e = m.currentConfig) == null ? void 0 : _e.popoverConfig) == null ? void 0 : ye.trigger;
54650
54652
  if (m.isPopoverConfigEnabled() && m.isHoverEnabled() && Te === "hover") {
54651
- if (_ && clearTimeout(_), z !== void 0)
54653
+ if (R && clearTimeout(R), z !== void 0)
54652
54654
  return;
54653
54655
  ((pe = (Le = m.currentConfig) == null ? void 0 : Le.popoverConfig) == null ? void 0 : pe.triggerDelay) > 0 ? z = setTimeout(
54654
54656
  () => {
@@ -54673,7 +54675,7 @@ function q6(n, t, e) {
54673
54675
  ie = !1, e(11, j = !1);
54674
54676
  }
54675
54677
  zt(() => () => {
54676
- z && clearTimeout(z), _ && clearTimeout(_);
54678
+ z && clearTimeout(z), R && clearTimeout(R);
54677
54679
  });
54678
54680
  function le(te) {
54679
54681
  A = te, e(12, A);
@@ -55143,7 +55145,7 @@ class Xh extends lk {
55143
55145
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
55144
55146
  this.TagContainerSvelte = new iD({
55145
55147
  target: this.container,
55146
- props: ue(R({}, a), { state: ue(R({}, this.state), { enabled: !1 }) })
55148
+ props: ue(_({}, a), { state: ue(_({}, this.state), { enabled: !1 }) })
55147
55149
  }), Aa(() => {
55148
55150
  var l;
55149
55151
  (l = this.TagContainerSvelte) == null || l.$set({ state: this.state });
@@ -55152,7 +55154,7 @@ class Xh extends lk {
55152
55154
  }
55153
55155
  }), this.renderQueue.clear();
55154
55156
  });
55155
- this.params = it({}, { debug: !1, config: this.config }, R({}, i)), this.debug = this.params.debug, this.config = this.params.config, this.debug && this.debugUtil.bindLog(), q4(1, { namespace: rd.PlayAudio });
55157
+ this.params = it({}, { debug: !1, config: this.config }, _({}, i)), this.debug = this.params.debug, this.config = this.params.config, this.debug && this.debugUtil.bindLog(), q4(1, { namespace: rd.PlayAudio });
55156
55158
  try {
55157
55159
  Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), this.NAME = nb + "-" + window.__PANOTAGPLUGIN_DEBUG_LIST__.length, window.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), window.__PANOTAGPLUGIN_DEBUG__ || Object.defineProperty(window, "__PANOTAGPLUGIN_DEBUG__", {
55158
55160
  get: function() {
@@ -55289,7 +55291,7 @@ class Xh extends lk {
55289
55291
  setState(e, i) {
55290
55292
  if (this.checkDisposed())
55291
55293
  return;
55292
- const { userAction: s = !0 } = i != null ? i : {}, o = R({}, this.state);
55294
+ const { userAction: s = !0 } = i != null ? i : {}, o = _({}, this.state);
55293
55295
  this.state = Object.assign(this.state, e), o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: s });
55294
55296
  }
55295
55297
  /**
@@ -55372,9 +55374,9 @@ class Xh extends lk {
55372
55374
  if (o) {
55373
55375
  if (i.stickType && i.stickType !== o.stickType) {
55374
55376
  console.log(`[PanoTagPlugin] stickType changed from ${o.stickType} to ${i.stickType}, recreating tag`);
55375
- const r = R({}, o);
55377
+ const r = _({}, o);
55376
55378
  this.destroyTagById(e), this.five.ready().then(() => {
55377
- this.addTag(R(R({}, r), i));
55379
+ this.addTag(_(_({}, r), i));
55378
55380
  });
55379
55381
  return;
55380
55382
  }
@@ -55921,7 +55923,7 @@ function lD(n, t, e) {
55921
55923
  }), i.push(l);
55922
55924
  });
55923
55925
  const s = t.transform, o = i.map((r) => Bt(new b.Vector3().fromArray(r), s).toArray());
55924
- return [ue(R({}, e), { type: "CatmullRomCurve3", points: o })];
55926
+ return [ue(_({}, e), { type: "CatmullRomCurve3", points: o })];
55925
55927
  }
55926
55928
  const cD = (
55927
55929
  /* glsl */
@@ -56232,7 +56234,7 @@ class Yh {
56232
56234
  unitLength: o * i,
56233
56235
  skipPositions: this.skippedPositions
56234
56236
  });
56235
- this._curvePath = l, this._curvePoints = c, this.mesh.geometry.copy(r), this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxV.value = a, this.five.needsRender = !0, this.path = t, this.geometryStyle = R(R({}, this.geometryStyle), e);
56237
+ this._curvePath = l, this._curvePoints = c, this.mesh.geometry.copy(r), this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxV.value = a, this.five.needsRender = !0, this.path = t, this.geometryStyle = _(_({}, this.geometryStyle), e);
56236
56238
  }
56237
56239
  /** 设置线条材质 */
56238
56240
  setMartial(t) {
@@ -56242,7 +56244,7 @@ class Yh {
56242
56244
  this.setDefaultVisible((s = t == null ? void 0 : t.visible) != null ? s : !1), this.setColor((o = t == null ? void 0 : t.color) != null ? o : "#ffffff"), this.setOpacity((r = t == null ? void 0 : t.opacity) != null ? r : 0.5);
56243
56245
  const e = Xi(this.plugin.staticPrefix, ec);
56244
56246
  this.setTextureUrl((l = (a = t == null ? void 0 : t.texture) == null ? void 0 : a.url) != null ? l : e), (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);
56245
- const i = R(R({}, this.materialStyle), t);
56247
+ const i = _(_({}, this.materialStyle), t);
56246
56248
  this.materialStyle = i;
56247
56249
  }
56248
56250
  /** 设置模型状态 */
@@ -56251,7 +56253,7 @@ class Yh {
56251
56253
  const s = new b.Vector3(), o = new b.Vector3().fromArray(t.translate);
56252
56254
  o.y += this.heightOffset, s.add(o), this.group.position.copy(s), i(this.startTagContainer, o), i(this.endTagContainer, o);
56253
56255
  }
56254
- const e = R(R({}, this.meshStyle), t);
56256
+ const e = _(_({}, this.meshStyle), t);
56255
56257
  this.meshStyle = e;
56256
56258
  function i(s, o) {
56257
56259
  if (!(s != null && s.tag))
@@ -56396,7 +56398,7 @@ class Yh {
56396
56398
  s.tag = r, uD(r) && (s.tag.element = (h) => {
56397
56399
  var v, y, w;
56398
56400
  (v = s.app) == null || v.$destroy();
56399
- const u = (y = i == null ? void 0 : i.getLength()) != null ? y : 0, d = (w = this.plugin.config.i18n) != null ? w : (I) => I, p = this.plugin.config.formatDistance ? this.plugin.config.formatDistance(u) : `${d("全程")}${Math.round(u)}${d("米")}`, m = t === "start" ? ue(R({}, r.data), { name: this.name, distance: p }) : r.data, g = new rD({ target: h, intro: !0, props: R({ fontSize: this.currentFontSize }, m) });
56401
+ const u = (y = i == null ? void 0 : i.getLength()) != null ? y : 0, d = (w = this.plugin.config.i18n) != null ? w : (I) => I, p = this.plugin.config.formatDistance ? this.plugin.config.formatDistance(u) : `${d("全程")}${Math.round(u)}${d("米")}`, m = t === "start" ? ue(_({}, r.data), { name: this.name, distance: p }) : r.data, g = new rD({ target: h, intro: !0, props: _({ fontSize: this.currentFontSize }, m) });
56400
56402
  return s.app = g, () => g.$destroy();
56401
56403
  }), s.plugin.load({ tagList: [s.tag] });
56402
56404
  const a = this.meshStyle.translate;
@@ -56508,7 +56510,7 @@ class ob extends Cs {
56508
56510
  return this.disposedErrorLog();
56509
56511
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
56510
56512
  return this.disableErrorLog();
56511
- const s = R({}, this.state);
56513
+ const s = _({}, this.state);
56512
56514
  this.state = it({}, this.state, e), e.disposed !== void 0 && e.disposed !== s.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), e.playing !== void 0 && e.playing !== s.playing && this.changePlayState(e.playing, i), e.speed !== void 0 && e.speed !== s.speed && this.changeSpeed(e.speed), Qt(s, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (o = i == null ? void 0 : i.userAction) != null ? o : !0 });
56513
56515
  }
56514
56516
  /**
@@ -56622,7 +56624,7 @@ class rb extends ob {
56622
56624
  this.state.speed = e, this.hooks.emit("speedChange", e, { userAction: i });
56623
56625
  });
56624
56626
  f(this, "moveToStart", () => {
56625
- this.five.setState(ue(R({}, th(this.curve, 0, this.curveOffset)), { mode: "Model" }));
56627
+ this.five.setState(ue(_({}, th(this.curve, 0, this.curveOffset)), { mode: "Model" }));
56626
56628
  });
56627
56629
  f(this, "playFromStart", () => {
56628
56630
  this.clearPauseData(), this.setState({ playing: !0 });
@@ -56650,7 +56652,7 @@ class rb extends ob {
56650
56652
  }
56651
56653
  load(e, i) {
56652
56654
  var a, l, c, h, u, d, p, m, g;
56653
- this.handlePause(), this.clear(), this.data = R({ id: Mt() }, e);
56655
+ this.handlePause(), this.clear(), this.data = _({ id: Mt() }, e);
56654
56656
  const s = (() => {
56655
56657
  if (this.data.path instanceof b.Curve)
56656
56658
  return this.data.path.curves[0];
@@ -56692,7 +56694,7 @@ class rb extends ob {
56692
56694
  let o = (l = s == null ? void 0 : s.playedProgress) != null ? l : 0;
56693
56695
  (o < 0 || o >= 1) && (o = 0);
56694
56696
  const r = th(this.curve, o, this.curveOffset);
56695
- if (this.hooks.emit("progressChange", o), this.five.setState(ue(R({}, r), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
56697
+ if (this.hooks.emit("progressChange", o), this.five.setState(ue(_({}, r), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
56696
56698
  const c = this.addInterruptListener(() => {
56697
56699
  this.state.playing && (this.hooks.emit("broke"), this.handlePause(), c(), i(new Error("broke")));
56698
56700
  });
@@ -56782,7 +56784,7 @@ class kd extends ob {
56782
56784
  var h, u;
56783
56785
  this.clear();
56784
56786
  const o = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
56785
- this.data = R({ id: r.keyframesId }, r), this.hooks.emit("dataChange", r, o);
56787
+ this.data = _({ id: r.keyframesId }, r), this.hooks.emit("dataChange", r, o);
56786
56788
  let a = [], l;
56787
56789
  const c = this.data.keyframes.filter((d) => d.data.panoIndex !== void 0);
56788
56790
  c.filter((d, p) => {
@@ -56816,7 +56818,7 @@ class kd extends ob {
56816
56818
  * @description Play from first keyframe
56817
56819
  */
56818
56820
  playFromStart(e) {
56819
- return this.playFrom(ue(R({}, e), { index: 0 }));
56821
+ return this.playFrom(ue(_({}, e), { index: 0 }));
56820
56822
  }
56821
56823
  /**
56822
56824
  * @description Format data
@@ -56834,7 +56836,7 @@ class kd extends ob {
56834
56836
  keyframes: i.keyframes.map((s, o) => {
56835
56837
  var l;
56836
56838
  const r = i.keyframes[o + 1], a = (() => !r || r.start === void 0 || s.end === void 0 ? 0 : r.start - s.end)();
56837
- return ue(R({ id: (l = s.uuid) != null ? l : Mt(), moveIndex: o, stay: a, index: o }, s), { guildPluginOptions: i.guildPluginOptions });
56839
+ return ue(_({ id: (l = s.uuid) != null ? l : Mt(), moveIndex: o, stay: a, index: o }, s), { guildPluginOptions: i.guildPluginOptions });
56838
56840
  })
56839
56841
  };
56840
56842
  if (i.panoIndexList) {
@@ -56855,11 +56857,11 @@ class kd extends ob {
56855
56857
  i.moveType === void 0 || i.moveType === "justMove" ? s.push({
56856
56858
  moveIndex: c,
56857
56859
  stay: i.stay,
56858
- data: R({ effect: "Move", panoIndex: l, moveEffect: o }, h != null ? h : {})
56859
- }) : i.moveType === "moveAndRotate" && (s.push({ moveIndex: c, stay: i.stay, data: { effect: "Move", panoIndex: l, moveEffect: o } }), h && s.push({ moveIndex: c, stay: i.stay, data: R({ effect: "Rotate", panoIndex: l }, h) }));
56860
+ data: _({ effect: "Move", panoIndex: l, moveEffect: o }, h != null ? h : {})
56861
+ }) : i.moveType === "moveAndRotate" && (s.push({ moveIndex: c, stay: i.stay, data: { effect: "Move", panoIndex: l, moveEffect: o } }), h && s.push({ moveIndex: c, stay: i.stay, data: _({ effect: "Rotate", panoIndex: l }, h) }));
56860
56862
  }), {
56861
56863
  keyframesId: Mt(),
56862
- keyframes: s.map((l, c) => R({ id: Mt(), index: c }, l)),
56864
+ keyframes: s.map((l, c) => _({ id: Mt(), index: c }, l)),
56863
56865
  guildPluginOptions: i.guildPluginOptions,
56864
56866
  useGuildLine: i.useGuildLine
56865
56867
  };
@@ -57081,7 +57083,7 @@ class kd extends ob {
57081
57083
  })(), c = this.five.getCurrentState(), h = Math.PI * 2;
57082
57084
  let u = e.longitude;
57083
57085
  u !== void 0 && (u = (u % h + h) % h, e.direction === "left" ? u <= c.longitude && (u += h) : e.direction === "right" && u >= c.longitude && (u -= h));
57084
- const d = (() => i.duration ? i.duration : l ? dD(c, ue(R({}, e), { longitude: u })) / l : 800)();
57086
+ const d = (() => i.duration ? i.duration : l ? dD(c, ue(_({}, e), { longitude: u })) / l : 800)();
57085
57087
  r.currentPlayKeyframe && (r.currentPlayKeyframe.originDuration = d);
57086
57088
  const p = this.getSpeededDuration(d);
57087
57089
  return new Promise((m) => {
@@ -57246,9 +57248,9 @@ class lb {
57246
57248
  const i = t === "panorama" ? this.panoramaItem : this.modelItem, s = t === "panorama" ? e.panorama_style : e.model_style, o = e.path, r = s, a = s, l = s;
57247
57249
  if (e.pano_group) {
57248
57250
  const h = t === "panorama" && e.panorama_style.skip_group === !0;
57249
- i.setGeometryByPanoGroup(e.pano_group, R(ue(R({}, e), { skipPanoGroup: h }), r));
57251
+ i.setGeometryByPanoGroup(e.pano_group, _(ue(_({}, e), { skipPanoGroup: h }), r));
57250
57252
  } else
57251
- e.path && i.setGeometryByPath(o, R({}, r));
57253
+ e.path && i.setGeometryByPath(o, _({}, r));
57252
57254
  i.name = e.name, i.setMeshStyle(l), i.setMartial(a), i.setVisibleFloorIndexes((c = e.visible_floor_indexes) != null ? c : null), i.setStartTag(s == null ? void 0 : s.start_tag), i.setEndTag(s == null ? void 0 : s.end_tag);
57253
57255
  }
57254
57256
  show() {
@@ -57263,7 +57265,7 @@ class lb {
57263
57265
  walk(t) {
57264
57266
  return K(this, null, function* () {
57265
57267
  if (this.hooks.emit("walkStart", { userAction: !0 }), this.panoramaItem.panoGroup.length) {
57266
- const e = R({ panoIndexList: this.panoramaItem.panoGroup }, t), [i] = yield Js(gD(this.five, e));
57268
+ const e = _({ panoIndexList: this.panoramaItem.panoGroup }, t), [i] = yield Js(gD(this.five, e));
57267
57269
  if (i)
57268
57270
  return this.logError(i.message);
57269
57271
  } else {
@@ -57352,7 +57354,7 @@ let vD = class extends vn {
57352
57354
  var m, g, v, y, w, I, C;
57353
57355
  const o = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
57354
57356
  this.hooks.emit("dataChange", r, o), this.data = r;
57355
- const a = r.config, l = !r.lines && r.routes, c = (m = a == null ? void 0 : a.arrowTextureUrl) != null ? m : Xi(this.staticPrefix, Iu), h = ue(R({}, a), {
57357
+ const a = r.config, l = !r.lines && r.routes, c = (m = a == null ? void 0 : a.arrowTextureUrl) != null ? m : Xi(this.staticPrefix, Iu), h = ue(_({}, a), {
57356
57358
  model_style: {
57357
57359
  texture: { url: c }
57358
57360
  },
@@ -57404,8 +57406,8 @@ let vD = class extends vn {
57404
57406
  var o;
57405
57407
  if (this.disposed)
57406
57408
  return this.disposedErrorLog();
57407
- const s = R({}, this.state);
57408
- this.state = R(R({}, this.state), e), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), Qt(s, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (o = i == null ? void 0 : i.userAction) != null ? o : !0 }), this.five.needsRender = !0);
57409
+ const s = _({}, this.state);
57410
+ this.state = _(_({}, this.state), e), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), Qt(s, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (o = i == null ? void 0 : i.userAction) != null ? o : !0 }), this.five.needsRender = !0);
57409
57411
  }
57410
57412
  /** 添加一个 GuideLineItem */
57411
57413
  addGuideLineItem(e) {
@@ -57416,19 +57418,19 @@ let vD = class extends vn {
57416
57418
  }
57417
57419
  processItemUrls(e) {
57418
57420
  var o, r, a, l;
57419
- const i = R({}, e), s = ec;
57421
+ const i = _({}, e), s = ec;
57420
57422
  if (i.panorama_style) {
57421
57423
  const c = (r = (o = i.panorama_style.texture) == null ? void 0 : o.url) != null ? r : s;
57422
- i.panorama_style = ue(R({}, i.panorama_style), {
57423
- texture: ue(R({}, i.panorama_style.texture), {
57424
+ i.panorama_style = ue(_({}, i.panorama_style), {
57425
+ texture: ue(_({}, i.panorama_style.texture), {
57424
57426
  url: Xi(this.staticPrefix, c)
57425
57427
  })
57426
57428
  });
57427
57429
  }
57428
57430
  if (i.model_style) {
57429
57431
  const c = (l = (a = i.model_style.texture) == null ? void 0 : a.url) != null ? l : s;
57430
- i.model_style = ue(R({}, i.model_style), {
57431
- texture: ue(R({}, i.model_style.texture), {
57432
+ i.model_style = ue(_({}, i.model_style), {
57433
+ texture: ue(_({}, i.model_style.texture), {
57432
57434
  url: Xi(this.staticPrefix, c)
57433
57435
  })
57434
57436
  });
@@ -57857,7 +57859,7 @@ class PD extends Cs {
57857
57859
  o.video_list.forEach((l) => {
57858
57860
  this.controllerMap.set(
57859
57861
  l.render_id,
57860
- new x0(this.five, ue(R({}, l), {
57862
+ new x0(this.five, ue(_({}, l), {
57861
57863
  fiveUtil: this.fiveUtil,
57862
57864
  panoIndex: r,
57863
57865
  renderID: a,
@@ -57936,7 +57938,7 @@ class PD extends Cs {
57936
57938
  const o = s.render_id;
57937
57939
  this.controllerMap.set(
57938
57940
  s.render_id,
57939
- new x0(this.five, ue(R({}, s), {
57941
+ new x0(this.five, ue(_({}, s), {
57940
57942
  fiveUtil: this.fiveUtil,
57941
57943
  panoIndex: e,
57942
57944
  renderID: o,
@@ -58134,7 +58136,7 @@ class Do extends b.Mesh {
58134
58136
  f(this, "opacityAnime");
58135
58137
  /** u / m: 每米水管对应到贴图上,应该对应的 u 的长度 */
58136
58138
  f(this, "uPreMeter", 1);
58137
- e.geometryConfig && (this.geometryConfig = R(R({}, this.geometryConfig), e.geometryConfig)), this.customID = e.id || this.uuid, this.pathPoints = e.path, this.path = Do.calculatePath(e.path.map((l) => new b.Vector3().fromArray(l))), this.pathLength = this.path.getLength(), this.texture = Do.formatTexture(e.texture);
58139
+ e.geometryConfig && (this.geometryConfig = _(_({}, this.geometryConfig), e.geometryConfig)), this.customID = e.id || this.uuid, this.pathPoints = e.path, this.path = Do.calculatePath(e.path.map((l) => new b.Vector3().fromArray(l))), this.pathLength = this.path.getLength(), this.texture = Do.formatTexture(e.texture);
58138
58140
  const { radius: s, tubularSegments: o, radialSegments: r } = this.geometryConfig, a = Do.formatTexture(e.texture);
58139
58141
  this.geometry = Do.formatGeometryUV(
58140
58142
  new b.TubeBufferGeometry(this.path, o, s, r),
@@ -58420,7 +58422,7 @@ let FD = class extends vn {
58420
58422
  return K(this, arguments, function* (e = {}) {
58421
58423
  if (this.state.visible)
58422
58424
  return;
58423
- const i = R({
58425
+ const i = _({
58424
58426
  userAction: !0,
58425
58427
  anime: { duration: 500 }
58426
58428
  }, e);
@@ -58437,7 +58439,7 @@ let FD = class extends vn {
58437
58439
  return K(this, arguments, function* (e = {}) {
58438
58440
  if (this.state.visible === !1)
58439
58441
  return;
58440
- const i = R({
58442
+ const i = _({
58441
58443
  userAction: !0,
58442
58444
  anime: { duration: 500 }
58443
58445
  }, e);
@@ -58543,7 +58545,7 @@ let FD = class extends vn {
58543
58545
  }
58544
58546
  updateState(e, i) {
58545
58547
  const s = this.state;
58546
- this.state = R(R({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
58548
+ this.state = _(_({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
58547
58549
  }
58548
58550
  /** 加载管道贴图,如果再加载中,复用之前的加载 Promise */
58549
58551
  loadPipeTexture(e) {
@@ -58816,7 +58818,7 @@ function HD(n) {
58816
58818
  }
58817
58819
  function ND(n, t, e) {
58818
58820
  let i, s, o, r, a, l, c, h, u, { content: d } = t, { five: p = void 0 } = t, { visible: m = !0 } = t, { opacity: g = 1 } = t, { zIndex: v = 0 } = t, { transform: y = void 0 } = t, { onClick: w = () => {
58819
- } } = t, { rendererIfNeed: I = void 0 } = t, { rendererData: C = void 0 } = t, { fontSize: L } = t, S, j, z, _;
58821
+ } } = t, { rendererIfNeed: I = void 0 } = t, { rendererData: C = void 0 } = t, { fontSize: L } = t, S, j, z, R;
58820
58822
  const A = (x) => {
58821
58823
  if (p.state.mode !== "Panorama") {
58822
58824
  const B = -(10 + 54 * (1 - mi(x.latitude) / 90)), q = B + h, ie = q >= 0 ? 0 : -q / -u;
@@ -58824,9 +58826,9 @@ function ND(n, t, e) {
58824
58826
  }
58825
58827
  };
58826
58828
  zt(() => {
58827
- S && typeof I == "function" && (_ = I(S, C)), p && (A(p.camera.pose), p.on("cameraUpdate", A));
58829
+ S && typeof I == "function" && (R = I(S, C)), p && (A(p.camera.pose), p.on("cameraUpdate", A));
58828
58830
  }), ti(() => {
58829
- _ == null || _(), p == null || p.off("cameraUpdate", A);
58831
+ R == null || R(), p == null || p.off("cameraUpdate", A);
58830
58832
  });
58831
58833
  function M(x) {
58832
58834
  qe[x ? "unshift" : "push"](() => {
@@ -59273,14 +59275,14 @@ let QD = class extends vn {
59273
59275
  visible: !0
59274
59276
  };
59275
59277
  this.state = Object.assign(s, i == null ? void 0 : i.initialState);
59276
- const o = R({
59278
+ const o = _({
59277
59279
  modelDepthTest: !0
59278
59280
  }, i == null ? void 0 : i.config);
59279
59281
  this._config = o, this.modelGroup = new b.Group(), this.modelGroup.name = "ModelMakerPluginGroup", this.itemMap = /* @__PURE__ */ new Map(), this.state.enabled && this._enable({ userAction: !1 });
59280
59282
  }
59281
59283
  /** 插件配置项 */
59282
59284
  get config() {
59283
- return R({}, this._config);
59285
+ return _({}, this._config);
59284
59286
  }
59285
59287
  /** 是否已经被销毁 */
59286
59288
  get disposed() {
@@ -59332,7 +59334,7 @@ let QD = class extends vn {
59332
59334
  return Promise.resolve();
59333
59335
  if (this.disposed)
59334
59336
  return Promise.reject(new Error("不能在已销毁的插件上调用 show"));
59335
- const i = R({ userAction: !0 }, e);
59337
+ const i = _({ userAction: !0 }, e);
59336
59338
  this.updateState({ visible: !0 }, i.userAction), yield this._show(i);
59337
59339
  });
59338
59340
  }
@@ -59344,7 +59346,7 @@ let QD = class extends vn {
59344
59346
  return K(this, null, function* () {
59345
59347
  if (this.state.visible === !1)
59346
59348
  return;
59347
- const i = R({ userAction: !0 }, e);
59349
+ const i = _({ userAction: !0 }, e);
59348
59350
  this.updateState({ visible: !1 }, i.userAction), yield this._hide(i);
59349
59351
  });
59350
59352
  }
@@ -59403,7 +59405,7 @@ let QD = class extends vn {
59403
59405
  */
59404
59406
  updateConfig(e, i = {}) {
59405
59407
  var r;
59406
- const s = this.config, o = R(R({}, s), e);
59408
+ const s = this.config, o = _(_({}, s), e);
59407
59409
  this._config = o, this.hooks.emit("configChange", { prevConfig: s, config: o, userAction: (r = i.userAction) != null ? r : !0 });
59408
59410
  }
59409
59411
  /** 根据 ID 获取标注 */
@@ -59417,9 +59419,9 @@ let QD = class extends vn {
59417
59419
  return i(e) ? {
59418
59420
  list: e.list.filter((s) => s.object_data.points.length >= 3).map((s) => {
59419
59421
  const o = new b.Shape(), r = s.object_data.points[0];
59420
- return o.moveTo(r[0], r[2]), s.object_data.points.slice(1).forEach((l) => o.lineTo(l[0], l[2])), o.lineTo(r[0], r[2]), ue(R({}, s), {
59422
+ return o.moveTo(r[0], r[2]), s.object_data.points.slice(1).forEach((l) => o.lineTo(l[0], l[2])), o.lineTo(r[0], r[2]), ue(_({}, s), {
59421
59423
  floor_index: s.object_data.floorIndex,
59422
- object_data: ue(R({}, s.object_data), {
59424
+ object_data: ue(_({}, s.object_data), {
59423
59425
  bottom_y: r[1] + s.object_data.fixedY,
59424
59426
  shape: o.toJSON(),
59425
59427
  height: s.object_data.height + s.object_data.fixedHeight
@@ -59443,7 +59445,7 @@ let QD = class extends vn {
59443
59445
  }
59444
59446
  updateState(e, i) {
59445
59447
  const s = this.state;
59446
- this.state = R(R({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
59448
+ this.state = _(_({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
59447
59449
  }
59448
59450
  _enable(e) {
59449
59451
  this.hooks.emit("enable", { userAction: e.userAction }), this.five.scene.add(this.modelGroup), this.updateChildrenMountedState(), this.five.needsRender = !0, this.five.on("wantsTapGesture", this.onWantsFiveTapGesture), this.five.on("initAnimationWillStart", this.onFiveInitAnimationWillStart), this.five.on("initAnimationEnded", this.onFiveInitAnimationEnded), this.five.on("modeChange", this.onFiveModeChange), this.five.on("cameraUpdate", this.onFiveCameraUpdate);
@@ -59537,7 +59539,7 @@ class XD extends Cs {
59537
59539
  visible: !0
59538
59540
  };
59539
59541
  this.state = Object.assign(s, i == null ? void 0 : i.initialState);
59540
- const o = R({
59542
+ const o = _({
59541
59543
  width: 1.4,
59542
59544
  yOffset: 0.01,
59543
59545
  yRotate: 0,
@@ -59550,7 +59552,7 @@ class XD extends Cs {
59550
59552
  }
59551
59553
  /** 插件配置项 */
59552
59554
  get config() {
59553
- return R({}, this._config);
59555
+ return _({}, this._config);
59554
59556
  }
59555
59557
  /** 是否已经被销毁 */
59556
59558
  get disposed() {
@@ -59588,7 +59590,7 @@ class XD extends Cs {
59588
59590
  return Promise.resolve();
59589
59591
  if (this.disposed)
59590
59592
  return Promise.reject(new Error("不能在已销毁的插件上调用 show"));
59591
- const i = R({ userAction: !0 }, e);
59593
+ const i = _({ userAction: !0 }, e);
59592
59594
  this.updateState({ visible: !0 }, i.userAction), this.checkMsg.pluginHidden = "", this._show(i);
59593
59595
  });
59594
59596
  }
@@ -59600,7 +59602,7 @@ class XD extends Cs {
59600
59602
  return K(this, null, function* () {
59601
59603
  if (this.state.visible === !1)
59602
59604
  return;
59603
- const i = R({ userAction: !0 }, e);
59605
+ const i = _({ userAction: !0 }, e);
59604
59606
  this.updateState({ visible: !1 }, i.userAction), this.checkMsg.pluginDisabled = "调用 hide 隐藏", this._hide(i);
59605
59607
  });
59606
59608
  }
@@ -59625,7 +59627,7 @@ class XD extends Cs {
59625
59627
  */
59626
59628
  updateConfig(e, i = {}) {
59627
59629
  var r;
59628
- const s = this.config, o = R(R({}, s), e);
59630
+ const s = this.config, o = _(_({}, s), e);
59629
59631
  this._config = o, s.imageURL !== o.imageURL && this.reloadTexture(o.imageURL), s.yOffset !== o.yOffset && this.updateMeshPosition(this.five.getCurrentState().panoIndex), s.yRotate !== o.yRotate && this.updateMeshQuaternion(o.yRotate), s.width !== o.width && (this.mesh.geometry = new b.PlaneBufferGeometry(o.width, o.width)), this.hooks.emit("configChange", { prevConfig: s, config: o, userAction: (r = i.userAction) != null ? r : !0 });
59630
59632
  }
59631
59633
  /** 问什么看不到模型 */
@@ -59641,7 +59643,7 @@ class XD extends Cs {
59641
59643
  }
59642
59644
  updateState(e, i) {
59643
59645
  const s = this.state;
59644
- this.state = R(R({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
59646
+ this.state = _(_({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
59645
59647
  }
59646
59648
  /** 根据各种条件更新 Mesh 的可见性 */
59647
59649
  updateMeshVisible() {
@@ -59864,7 +59866,7 @@ const R0 = (n, t) => {
59864
59866
  class oh extends xd {
59865
59867
  constructor(...e) {
59866
59868
  const i = e[0], s = no(i.model), o = new b.Vector3().lerpVectors(ls(s, 0), ls(s, 5), 0.5);
59867
- super(ue(R({}, i), { position: o }));
59869
+ super(ue(_({}, i), { position: o }));
59868
59870
  f(this, "onModelShownFloorChange", (e) => {
59869
59871
  this.updateFiveCurrentFloorState(e), this.updateVisible();
59870
59872
  });
@@ -60065,7 +60067,7 @@ class tL extends vn {
60065
60067
  return this.items.find((i) => i.rawData.id === e);
60066
60068
  }
60067
60069
  registerTagRenderer(e) {
60068
- this.tagRendererMap = R(R({}, this.tagRendererMap), e), this.updateTagRenderer();
60070
+ this.tagRendererMap = _(_({}, this.tagRendererMap), e), this.updateTagRenderer();
60069
60071
  }
60070
60072
  hasCustomTagRenderer(e) {
60071
60073
  return !!this.tagRendererMap[e];
@@ -61403,7 +61405,7 @@ function hL(n, t = 0, e = 300) {
61403
61405
  }
61404
61406
  }
61405
61407
  l.push(...S), l.sort((T, O) => T.timeStamp - O.timeStamp);
61406
- const j = n.track.duration * 1e3, z = j + y, _ = l[l.length - 1], A = l.filter(
61408
+ const j = n.track.duration * 1e3, z = j + y, R = l[l.length - 1], A = l.filter(
61407
61409
  (T) => T.timeStamp === 0 && Math.abs(T.position[0] - i.position[0]) < 1e-3 && Math.abs(T.position[1] - i.position[1]) < 1e-3 && Math.abs(T.position[2] - i.position[2]) < 1e-3
61408
61410
  );
61409
61411
  return console.log(`动画转换完成:
@@ -61412,10 +61414,10 @@ function hL(n, t = 0, e = 300) {
61412
61414
  - 移动速度: ${g.toFixed(2)} 单位/秒
61413
61415
  - 动作延迟时间: ${y}ms (${(y / 1e3).toFixed(2)}s)
61414
61416
  - 计算总时间: ${z}ms (${(z / 1e3).toFixed(2)}s)
61415
- - 实际最后时间戳: ${_ == null ? void 0 : _.timeStamp}ms (${((_ == null ? void 0 : _.timeStamp) / 1e3).toFixed(2)}s)
61417
+ - 实际最后时间戳: ${R == null ? void 0 : R.timeStamp}ms (${((R == null ? void 0 : R.timeStamp) / 1e3).toFixed(2)}s)
61416
61418
  - 关键帧数量: ${l.length}
61417
61419
  - 初始位置关键帧数量: ${A.length}
61418
- - 速度一致性: ${(((_ == null ? void 0 : _.timeStamp) - y) / 1e3 / n.track.duration * 100).toFixed(1)}% (100%为完全一致)`), {
61420
+ - 速度一致性: ${(((R == null ? void 0 : R.timeStamp) - y) / 1e3 / n.track.duration * 100).toFixed(1)}% (100%为完全一致)`), {
61419
61421
  id: n.id,
61420
61422
  name: n.name || "默认角色",
61421
61423
  type: "model",
@@ -61441,7 +61443,7 @@ class dL {
61441
61443
  f(this, "_autoPlayOnNaturalEnd", !1);
61442
61444
  // 新增:playing-players-changed 事件监听集合
61443
61445
  f(this, "playingPlayersListeners", /* @__PURE__ */ new Set());
61444
- this.five = t, this.config = R({
61446
+ this.five = t, this.config = _({
61445
61447
  autoPlay: !1,
61446
61448
  loop: !1,
61447
61449
  debug: !1
@@ -61784,7 +61786,7 @@ class dL {
61784
61786
  * 获取当前状态
61785
61787
  */
61786
61788
  getState() {
61787
- return R({}, this.state);
61789
+ return _({}, this.state);
61788
61790
  }
61789
61791
  /**
61790
61792
  * 获取可用章节列表
@@ -61825,7 +61827,7 @@ class dL {
61825
61827
  var a, l;
61826
61828
  if (!t || !t.players || !Array.isArray(t.players))
61827
61829
  return t;
61828
- const s = (a = t.players[0]) != null && a.fiveState ? R({}, t.players[0].fiveState) : void 0;
61830
+ const s = (a = t.players[0]) != null && a.fiveState ? _({}, t.players[0].fiveState) : void 0;
61829
61831
  if (s && s.offset && e) {
61830
61832
  const c = new fe(s.offset.x, s.offset.y, s.offset.z), h = Bt(c, e == null ? void 0 : e.transform);
61831
61833
  s.offset = { x: h.x, y: h.y, z: h.z };
@@ -61840,7 +61842,7 @@ class dL {
61840
61842
  let r = 0;
61841
61843
  return t.players.forEach((c, h) => {
61842
61844
  var p, m, g;
61843
- let u = R({}, c);
61845
+ let u = _({}, c);
61844
61846
  if (e && ((p = u.track) != null && p.path && Array.isArray(u.track.path) && (u.track.path = u.track.path.map((v) => {
61845
61847
  const y = Bt(new fe(v.x, v.y, v.z), e == null ? void 0 : e.transform);
61846
61848
  return {
@@ -61854,7 +61856,7 @@ class dL {
61854
61856
  new fe(v.point.x, v.point.y, v.point.z),
61855
61857
  e == null ? void 0 : e.transform
61856
61858
  );
61857
- return ue(R({}, v), {
61859
+ return ue(_({}, v), {
61858
61860
  point: {
61859
61861
  x: y.x,
61860
61862
  y: y.y,
@@ -62836,7 +62838,7 @@ class pb {
62836
62838
  f(this, "chapterFloorModel", null);
62837
62839
  /** five 'modeChange' 楼层重放监听的反订阅句柄(chapterFloorMap 启用时挂载,停用/reset/dispose 时清理) */
62838
62840
  f(this, "unsubFloorModeChange", null);
62839
- this.five = t, this.config = R({ autoPlay: !1, loop: !1, debug: !1, showTrace: !1 }, e), this.playground = new ML(t, this.config.debug), this.unsubClockTick = this.playground.getClock().onTick(() => this.emitProgress());
62841
+ this.five = t, this.config = _({ autoPlay: !1, loop: !1, debug: !1, showTrace: !1 }, e), this.playground = new ML(t, this.config.debug), this.unsubClockTick = this.playground.getClock().onTick(() => this.emitProgress());
62840
62842
  }
62841
62843
  /** 加载剧本:预加载资源 + 将模型加入 five 场景;autoPlay 时自动播放首章 */
62842
62844
  loadScript(t) {
@@ -63091,7 +63093,7 @@ class pb {
63091
63093
  return this.rejectKeyframe("index 越界");
63092
63094
  if (e.timeStamp !== void 0 && !(Number.isFinite(e.timeStamp) && e.timeStamp >= 0))
63093
63095
  return this.rejectKeyframe("time 必须为非负有限数");
63094
- const o = R(R({}, s.keyframes[t]), e);
63096
+ const o = _(_({}, s.keyframes[t]), e);
63095
63097
  return s.keyframes[t] = o, s.keyframes.sort((r, a) => r.timeStamp - a.timeStamp), this.afterKeyframesChanged(s);
63096
63098
  }
63097
63099
  /** 移除指定下标关键帧。拒绝(保持序列不变):未加载 script / 无章节 / index 越界。 */
@@ -63105,7 +63107,7 @@ class pb {
63105
63107
  /** 获取当前章节的运镜关键帧(升序副本;无章节/无 camera player 时返回空数组) */
63106
63108
  getCameraKeyframes() {
63107
63109
  const t = this.getCameraPlayer();
63108
- return t ? t.keyframes.map((e) => R({}, e)) : [];
63110
+ return t ? t.keyframes.map((e) => _({}, e)) : [];
63109
63111
  }
63110
63112
  /**
63111
63113
  * 序列化当前章节的运镜 player。
@@ -63531,13 +63533,13 @@ class pb {
63531
63533
  return this.emitKeyframesChanged(e), { success: !0, keyframes: e };
63532
63534
  }
63533
63535
  emitKeyframesChanged(t) {
63534
- this.keyframesChangedListeners.forEach((e) => e(t.map((i) => R({}, i))));
63536
+ this.keyframesChangedListeners.forEach((e) => e(t.map((i) => _({}, i))));
63535
63537
  }
63536
63538
  emitCurrentChapterChanged() {
63537
63539
  if (this.currentChapterChangedListeners.size === 0)
63538
63540
  return;
63539
63541
  const t = this.getCurrentChapterInfo();
63540
- this.currentChapterChangedListeners.forEach((e) => e(R({}, t)));
63542
+ this.currentChapterChangedListeners.forEach((e) => e(_({}, t)));
63541
63543
  }
63542
63544
  /** 当前章节索引(0-based;无当前章节为 -1),按引用或名称匹配 */
63543
63545
  getCurrentChapterIndex() {