@realsee/dnalogel 3.53.3 → 3.53.5-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (482) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +116 -0
  3. package/dist/CruisePlugin/typing.d.ts +6 -2
  4. package/dist/Sculpt/Meshes/Circle.d.ts +3 -1
  5. package/dist/Sculpt/Meshes/Cylinder.d.ts +4 -2
  6. package/dist/Sculpt/Objects/Base/index.d.ts +1 -0
  7. package/dist/Sculpt/Objects/Box/index.d.ts +1 -0
  8. package/dist/Sculpt/Objects/Circle/index.d.ts +1 -0
  9. package/dist/Sculpt/Objects/Cylinder/index.d.ts +1 -0
  10. package/dist/Sculpt/Objects/Line/index.d.ts +1 -0
  11. package/dist/Sculpt/Objects/Point/index.d.ts +1 -0
  12. package/dist/Sculpt/Objects/Polygon/index.d.ts +1 -0
  13. package/dist/Sculpt/Objects/Polyline/index.d.ts +1 -0
  14. package/dist/Sculpt/Objects/Prism/index.d.ts +1 -0
  15. package/dist/Sculpt/Objects/Rectangle/index.d.ts +1 -0
  16. package/dist/index.cjs.js +25 -25
  17. package/dist/index.js +257 -217
  18. package/dist/index.umd.js +28 -28
  19. package/docs/.nojekyll +1 -0
  20. package/docs/assets/custom.css +0 -0
  21. package/docs/assets/highlight.css +127 -0
  22. package/docs/assets/icons.js +18 -0
  23. package/docs/assets/icons.svg +1 -0
  24. package/docs/assets/main.js +60 -0
  25. package/docs/assets/navigation.js +1 -0
  26. package/docs/assets/search.js +1 -0
  27. package/docs/assets/style.css +1493 -0
  28. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +61 -0
  29. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +71 -0
  30. package/docs/classes/CSS3DRender.html +100 -0
  31. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -0
  32. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +71 -0
  33. package/docs/classes/ModelMakerPluginInstance.html +57 -0
  34. package/docs/classes/ModelRoomLabelController.html +19 -0
  35. package/docs/classes/MoveController.html +47 -0
  36. package/docs/classes/Object3DHelperController.html +47 -0
  37. package/docs/classes/PaintBrush.html +15 -0
  38. package/docs/classes/PanoMeasurePluginLine.html +24 -0
  39. package/docs/classes/PanoMeasurePluginModel.html +23 -0
  40. package/docs/classes/PanoMeasurePluginPoint.html +7 -0
  41. package/docs/classes/PanoMeasurePluginPolyline.html +27 -0
  42. package/docs/classes/PanoTagPluginController.html +104 -0
  43. package/docs/classes/Sculpt.html +70 -0
  44. package/docs/classes/Util.BetterTween.html +6 -0
  45. package/docs/classes/Util.FiveDomEvents.html +12 -0
  46. package/docs/classes/Util.FivePuppet.html +20 -0
  47. package/docs/classes/Util.Interval.html +11 -0
  48. package/docs/classes/Util.LightTag.html +47 -0
  49. package/docs/classes/Util.LineSegments.html +4 -0
  50. package/docs/classes/Util.Magnifier.html +22 -0
  51. package/docs/classes/Util.Object3D.html +8 -0
  52. package/docs/classes/Util.PointHelper.html +10 -0
  53. package/docs/classes/Util.PointSelector.html +50 -0
  54. package/docs/classes/Util.PointSelectorHelper.html +14 -0
  55. package/docs/classes/Util.Rectangle.html +12 -0
  56. package/docs/classes/Util.sculpt.BaseEditor.html +16 -0
  57. package/docs/classes/Util.sculpt.BoxMesh.html +34 -0
  58. package/docs/classes/Util.sculpt.BoxMeshEditor.html +16 -0
  59. package/docs/classes/Util.sculpt.CircleMesh.html +26 -0
  60. package/docs/classes/Util.sculpt.CircleMeshEditor.html +16 -0
  61. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +26 -0
  62. package/docs/classes/Util.sculpt.CylinderMesh.html +25 -0
  63. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +16 -0
  64. package/docs/classes/Util.sculpt.LineMesh.html +29 -0
  65. package/docs/classes/Util.sculpt.PointMesh.html +20 -0
  66. package/docs/classes/Util.sculpt.PolygonMesh.html +34 -0
  67. package/docs/classes/Util.sculpt.PrismMesh.html +34 -0
  68. package/docs/classes/Util.sculpt.PrismMeshEditor.html +16 -0
  69. package/docs/classes/Util.sculpt.RectangleMesh.html +35 -0
  70. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +16 -0
  71. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +38 -0
  72. package/docs/classes/WalkController.html +44 -0
  73. package/docs/enums/CameraMovementEffect.html +4 -0
  74. package/docs/enums/ContentType.html +34 -0
  75. package/docs/enums/DIRECTION.html +5 -0
  76. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -0
  77. package/docs/enums/DimensionType.html +4 -0
  78. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -0
  79. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -0
  80. package/docs/enums/PaintBrushTypeEnum.html +4 -0
  81. package/docs/enums/PointType.html +4 -0
  82. package/docs/enums/Rotation.html +5 -0
  83. package/docs/functions/AreaMakerPlugin.html +1 -0
  84. package/docs/functions/CSS3DRenderPlugin.html +1 -0
  85. package/docs/functions/CameraMovementPlugin.html +2 -0
  86. package/docs/functions/CruisePlugin.html +1 -0
  87. package/docs/functions/CurrentPanoImagePlugin.html +1 -0
  88. package/docs/functions/GuideLinePlugin.html +1 -0
  89. package/docs/functions/ItemLabelPlugin.html +1 -0
  90. package/docs/functions/MapviewFloorplanPlugin.html +1 -0
  91. package/docs/functions/ModelChassisCompassPlugin.html +2 -0
  92. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -0
  93. package/docs/functions/ModelFloorplanPlugin.html +1 -0
  94. package/docs/functions/ModelItemLabelPlugin.html +1 -0
  95. package/docs/functions/ModelMakerPlugin.html +1 -0
  96. package/docs/functions/ModelRoomLabelPlugin.html +1 -0
  97. package/docs/functions/ModelTVVideoPlugin.html +1 -0
  98. package/docs/functions/ModelViewPlugin.html +2 -0
  99. package/docs/functions/MovePlugin.html +1 -0
  100. package/docs/functions/Object3DHelperPlugin.html +1 -0
  101. package/docs/functions/PanoCompassPlugin.html +1 -0
  102. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -0
  103. package/docs/functions/PanoDoorLabelPlugin.html +1 -0
  104. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -0
  105. package/docs/functions/PanoMeasurePlugin.html +1 -0
  106. package/docs/functions/PanoRulerPlugin.html +2 -0
  107. package/docs/functions/PanoRulerProPlugin.html +2 -0
  108. package/docs/functions/PanoSpatialTagPlugin.html +2 -0
  109. package/docs/functions/PanoTagPlugin.html +1 -0
  110. package/docs/functions/PanoVideoPlugin.html +10 -0
  111. package/docs/functions/PipelinePlugin.html +1 -0
  112. package/docs/functions/SculptPlugin.html +2 -0
  113. package/docs/functions/TopviewFloorplanPlugin.html +1 -0
  114. package/docs/functions/Util.absoluteUrl.html +2 -0
  115. package/docs/functions/Util.awaitNextFrame.html +1 -0
  116. package/docs/functions/Util.blink.html +6 -0
  117. package/docs/functions/Util.bounding.html +1 -0
  118. package/docs/functions/Util.boundingBox.html +1 -0
  119. package/docs/functions/Util.boundingSphere.html +1 -0
  120. package/docs/functions/Util.boxVertex.html +7 -0
  121. package/docs/functions/Util.boxVertexes.html +1 -0
  122. package/docs/functions/Util.checkFiveModelLoaded.html +2 -0
  123. package/docs/functions/Util.convexHull.html +2 -0
  124. package/docs/functions/Util.equal.html +5 -0
  125. package/docs/functions/Util.fiveModelIsLoaded.html +2 -0
  126. package/docs/functions/Util.getCoordsFromClient.html +1 -0
  127. package/docs/functions/Util.getCoordsFromElement.html +1 -0
  128. package/docs/functions/Util.getFrameTime.html +3 -0
  129. package/docs/functions/Util.inside.html +1 -0
  130. package/docs/functions/Util.isAbsoluteURL.html +1 -0
  131. package/docs/functions/Util.isModelLike.html +1 -0
  132. package/docs/functions/Util.isNil.html +2 -0
  133. package/docs/functions/Util.isPanoramaLike.html +1 -0
  134. package/docs/functions/Util.lookObject.html +5 -0
  135. package/docs/functions/Util.lookPoint.html +5 -0
  136. package/docs/functions/Util.nextFrame.html +1 -0
  137. package/docs/functions/Util.notNil.html +2 -0
  138. package/docs/functions/Util.reblink.html +4 -0
  139. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -0
  140. package/docs/functions/Util.sculpt.createBox.html +1 -0
  141. package/docs/functions/Util.sculpt.createCircle.html +1 -0
  142. package/docs/functions/Util.sculpt.createCylinder.html +1 -0
  143. package/docs/functions/Util.sculpt.createLine.html +2 -0
  144. package/docs/functions/Util.sculpt.createPoint.html +1 -0
  145. package/docs/functions/Util.sculpt.createPolygon.html +1 -0
  146. package/docs/functions/Util.sculpt.createPrism.html +1 -0
  147. package/docs/functions/Util.sculpt.createRectangle.html +2 -0
  148. package/docs/functions/Util.tag.html +1 -0
  149. package/docs/functions/Util.tweenProgress.html +1 -0
  150. package/docs/functions/Util.uuid.html +2 -0
  151. package/docs/functions/Util.waitFiveModelLoaded.html +2 -0
  152. package/docs/functions/Util.worldBounding.html +1 -0
  153. package/docs/functions/Util.worldBoundingBox.html +1 -0
  154. package/docs/functions/Util.worldBoundingSphere.html +1 -0
  155. package/docs/functions/createPolyline.html +2 -0
  156. package/docs/functions/pluginFlag.html +1 -0
  157. package/docs/hierarchy.html +1 -0
  158. package/docs/index.html +70 -0
  159. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +4 -0
  160. package/docs/interfaces/AreaMakerPluginType.Config.html +8 -0
  161. package/docs/interfaces/AreaMakerPluginType.EventMap.html +25 -0
  162. package/docs/interfaces/AreaMakerPluginType.Params.html +4 -0
  163. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -0
  164. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +13 -0
  165. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +9 -0
  166. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -0
  167. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -0
  168. package/docs/interfaces/AreaMakerPluginType.State.html +8 -0
  169. package/docs/interfaces/CSS3DRenderPluginEventMap.html +9 -0
  170. package/docs/interfaces/CSS3DRenderPluginState.html +7 -0
  171. package/docs/interfaces/CameraMovementPluginExportType.html +11 -0
  172. package/docs/interfaces/ContentTypeMapInterface.html +73 -0
  173. package/docs/interfaces/CruisePluginTypes.Config.html +7 -0
  174. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +8 -0
  175. package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -0
  176. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +6 -0
  177. package/docs/interfaces/CruisePluginTypes.MoveAction.html +16 -0
  178. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +19 -0
  179. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +20 -0
  180. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -0
  181. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -0
  182. package/docs/interfaces/CruisePluginTypes.PluginState.html +15 -0
  183. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -0
  184. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +15 -0
  185. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +4 -0
  186. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -0
  187. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -0
  188. package/docs/interfaces/FloorplanBounding.html +9 -0
  189. package/docs/interfaces/FloorplanData.html +7 -0
  190. package/docs/interfaces/FloorplanEntrance.html +14 -0
  191. package/docs/interfaces/FloorplanExtraObject.html +9 -0
  192. package/docs/interfaces/FloorplanExtraObject3D.html +5 -0
  193. package/docs/interfaces/FloorplanFloorData.html +6 -0
  194. package/docs/interfaces/FloorplanImagePosition.html +4 -0
  195. package/docs/interfaces/FloorplanObserver.html +8 -0
  196. package/docs/interfaces/FloorplanOutlineItem.html +6 -0
  197. package/docs/interfaces/FloorplanPosition.html +4 -0
  198. package/docs/interfaces/FloorplanRoomItem.html +23 -0
  199. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -0
  200. package/docs/interfaces/FloorplanServerBounding.html +9 -0
  201. package/docs/interfaces/FloorplanServerComputedData.html +6 -0
  202. package/docs/interfaces/FloorplanServerData.html +4 -0
  203. package/docs/interfaces/FloorplanServerDoorItem.html +6 -0
  204. package/docs/interfaces/FloorplanServerDoorPosition.html +4 -0
  205. package/docs/interfaces/FloorplanServerEntrance.html +14 -0
  206. package/docs/interfaces/FloorplanServerFloorData.html +6 -0
  207. package/docs/interfaces/FloorplanServerImagePosition.html +4 -0
  208. package/docs/interfaces/FloorplanServerObserver.html +8 -0
  209. package/docs/interfaces/FloorplanServerOutlineItem.html +6 -0
  210. package/docs/interfaces/FloorplanServerPosition.html +4 -0
  211. package/docs/interfaces/FloorplanServerRoomItem.html +26 -0
  212. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -0
  213. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -0
  214. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -0
  215. package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -0
  216. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -0
  217. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -0
  218. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +32 -0
  219. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +4 -0
  220. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -0
  221. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +42 -0
  222. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -0
  223. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +57 -0
  224. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -0
  225. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -0
  226. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -0
  227. package/docs/interfaces/GuideLinePluginType.Route.html +6 -0
  228. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +4 -0
  229. package/docs/interfaces/HelperOffset.html +4 -0
  230. package/docs/interfaces/ImagePlaneGroup.html +3 -0
  231. package/docs/interfaces/ItemLabelPluginData.html +2 -0
  232. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +7 -0
  233. package/docs/interfaces/ItemLabelPluginParametersType.html +5 -0
  234. package/docs/interfaces/MinMax.html +3 -0
  235. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -0
  236. package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -0
  237. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -0
  238. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -0
  239. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -0
  240. package/docs/interfaces/ModelItemLabelPluginData.html +2 -0
  241. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +7 -0
  242. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -0
  243. package/docs/interfaces/ModelMakerPluginType.EventMap.html +18 -0
  244. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +5 -0
  245. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +12 -0
  246. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -0
  247. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +14 -0
  248. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +10 -0
  249. package/docs/interfaces/ModelMakerPluginType.State.html +8 -0
  250. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -0
  251. package/docs/interfaces/ModelTVVideoPluginData.html +5 -0
  252. package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -0
  253. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -0
  254. package/docs/interfaces/ModelViewPluginExportType.html +7 -0
  255. package/docs/interfaces/Object3DHelperState.html +4 -0
  256. package/docs/interfaces/ObjectHelperControllers.html +5 -0
  257. package/docs/interfaces/PaintBrushAction.html +14 -0
  258. package/docs/interfaces/PaintBrushConfigs.html +8 -0
  259. package/docs/interfaces/PaintBrushState.html +6 -0
  260. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +16 -0
  261. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -0
  262. package/docs/interfaces/PanoMeasureParameterType.html +20 -0
  263. package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -0
  264. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -0
  265. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -0
  266. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -0
  267. package/docs/interfaces/PanoRulerPluginExportType.html +6 -0
  268. package/docs/interfaces/PanoRulerPluginOptions.html +3 -0
  269. package/docs/interfaces/PanoRulerPluginParameterType.html +4 -0
  270. package/docs/interfaces/PanoRulerProPluginExportType.html +5 -0
  271. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -0
  272. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -0
  273. package/docs/interfaces/PanoRulerProPluginState.html +4 -0
  274. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -0
  275. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -0
  276. package/docs/interfaces/PanoSpatialTagPluginData.html +7 -0
  277. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +6 -0
  278. package/docs/interfaces/PanoSpatialTagPluginExportType.html +9 -0
  279. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +6 -0
  280. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +9 -0
  281. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +7 -0
  282. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +6 -0
  283. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -0
  284. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -0
  285. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -0
  286. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +15 -0
  287. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -0
  288. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +14 -0
  289. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -0
  290. package/docs/interfaces/PluginEventMap.html +15 -0
  291. package/docs/interfaces/Point.html +4 -0
  292. package/docs/interfaces/Room.html +5 -0
  293. package/docs/interfaces/RoomInfo.html +3 -0
  294. package/docs/interfaces/RoomLabel.html +16 -0
  295. package/docs/interfaces/RoomRules.html +1 -0
  296. package/docs/interfaces/Rooms.html +1 -0
  297. package/docs/interfaces/Scissor.html +13 -0
  298. package/docs/interfaces/State.html +7 -0
  299. package/docs/interfaces/TagCacheInterface.html +9 -0
  300. package/docs/interfaces/TagConfig.html +111 -0
  301. package/docs/interfaces/TagGLTFObjectGroup.html +3 -0
  302. package/docs/interfaces/TagIconUrl.html +14 -0
  303. package/docs/interfaces/TagObjectGroup.html +3 -0
  304. package/docs/interfaces/TagStyle.html +5 -0
  305. package/docs/interfaces/Tags.html +8 -0
  306. package/docs/interfaces/TemporaryState.html +2 -0
  307. package/docs/interfaces/Util.AnimeInstance.html +3 -0
  308. package/docs/interfaces/Util.BlinkAnimeOptions.html +7 -0
  309. package/docs/interfaces/Util.EventHandlerConfig.html +16 -0
  310. package/docs/interfaces/Util.FiveDomEvent.html +7 -0
  311. package/docs/interfaces/Util.FiveDomEventMap.html +20 -0
  312. package/docs/interfaces/Util.MagnifierParameter.html +11 -0
  313. package/docs/interfaces/Util.MouseGroupParameter.html +4 -0
  314. package/docs/interfaces/Util.PointIntersection.html +9 -0
  315. package/docs/interfaces/Util.PointSelectorHelperConfig.html +5 -0
  316. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +8 -0
  317. package/docs/modules/AreaMakerPluginType.html +17 -0
  318. package/docs/modules/CruisePluginTypes.html +14 -0
  319. package/docs/modules/CurrentPanoImagePluginType.html +6 -0
  320. package/docs/modules/GuideLineItem.html +2 -0
  321. package/docs/modules/GuideLineModeItem.html +3 -0
  322. package/docs/modules/GuideLinePluginType.html +24 -0
  323. package/docs/modules/ModelMakerPluginType.html +11 -0
  324. package/docs/modules/PanoVideoPluginType.html +8 -0
  325. package/docs/modules/SculptData.html +9 -0
  326. package/docs/modules/Util.html +61 -0
  327. package/docs/modules/Util.sculpt.html +25 -0
  328. package/docs/modules.html +266 -0
  329. package/docs/types/AddObject3DHelperConfig.html +19 -0
  330. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +7 -0
  331. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -0
  332. package/docs/types/AreaMakerPluginType.PluginData.html +2 -0
  333. package/docs/types/AreaMakerPluginType.ServerData.html +2 -0
  334. package/docs/types/ArrayPosition.html +1 -0
  335. package/docs/types/AudioAppearance.html +1 -0
  336. package/docs/types/CSS3DRenderExportType.html +1 -0
  337. package/docs/types/CSS3DRenderPluginExportType.html +1 -0
  338. package/docs/types/CSS3DRenderPluginParameterType.html +1 -0
  339. package/docs/types/ClassFunctionParameters.html +1 -0
  340. package/docs/types/Color.html +1 -0
  341. package/docs/types/ContentTypeConfigKey.html +1 -0
  342. package/docs/types/ContentTypeConfigKeySplit.html +1 -0
  343. package/docs/types/ContentTypeMap.html +1 -0
  344. package/docs/types/Create3DDomContainerReturnType.html +1 -0
  345. package/docs/types/Create3DElementReturnType.html +1 -0
  346. package/docs/types/CruisePluginExportType.html +1 -0
  347. package/docs/types/CruisePluginTypes.CruiseData.html +5 -0
  348. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -0
  349. package/docs/types/CurrentPanoImagePluginExportType.html +1 -0
  350. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -0
  351. package/docs/types/DeprecatedTagProperty.html +3 -0
  352. package/docs/types/Direction-1.html +1 -0
  353. package/docs/types/Direction4.html +1 -0
  354. package/docs/types/ElementRenderer.html +2 -0
  355. package/docs/types/FloorplanRuleLabels.html +2 -0
  356. package/docs/types/FloorplanServerRuleLabels.html +1 -0
  357. package/docs/types/GuideLinePluginExportType.html +1 -0
  358. package/docs/types/GuideLinePluginType.GuideLineItem.html +10 -0
  359. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -0
  360. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -0
  361. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -0
  362. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -0
  363. package/docs/types/GuideLinePluginType.PathItem.html +2 -0
  364. package/docs/types/GuideLinePluginType.PluginData.html +2 -0
  365. package/docs/types/HelperEventMap.html +1 -0
  366. package/docs/types/InternalHelperEventMap.html +1 -0
  367. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -0
  368. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -0
  369. package/docs/types/MediaData.html +2 -0
  370. package/docs/types/MediaStore.html +1 -0
  371. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -0
  372. package/docs/types/ModelFloorplanPluginParameterType.html +1 -0
  373. package/docs/types/ModelFloorplanPluginReturnType.html +1 -0
  374. package/docs/types/ModelId.html +1 -0
  375. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -0
  376. package/docs/types/ModelMakerPluginType.ItemType.html +1 -0
  377. package/docs/types/ModelRoomLabelPluginParameters.html +1 -0
  378. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -0
  379. package/docs/types/MoveArgs.html +2 -0
  380. package/docs/types/MoveOpts.html +2 -0
  381. package/docs/types/Object3DHelperEventMap.html +1 -0
  382. package/docs/types/ObjectFit.html +1 -0
  383. package/docs/types/PaintBrushEventMap.html +1 -0
  384. package/docs/types/PanoCompassPluginData.html +1 -0
  385. package/docs/types/PanoCompassPluginExportType.html +1 -0
  386. package/docs/types/PanoCompassPluginParameterType.html +1 -0
  387. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -0
  388. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -0
  389. package/docs/types/PanoIndex.html +1 -0
  390. package/docs/types/PanoMeasurePluginEvent.html +1 -0
  391. package/docs/types/PanoMeasureReturnType.html +1 -0
  392. package/docs/types/PanoSpatialTagPluginId.html +1 -0
  393. package/docs/types/PanoTagPluginExportInterface.html +1 -0
  394. package/docs/types/PanoTagPluginParamsInterface.html +1 -0
  395. package/docs/types/PanoVideoPluginParameterType.html +1 -0
  396. package/docs/types/PanoVideoPluginReturnType.html +1 -0
  397. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -0
  398. package/docs/types/PipelinePluginParameterType.html +1 -0
  399. package/docs/types/PipelinePluginReturnType.html +1 -0
  400. package/docs/types/PlaneTag.html +2 -0
  401. package/docs/types/Point2DTag.html +2 -0
  402. package/docs/types/Point3DTag.html +2 -0
  403. package/docs/types/PointTagInstance.html +1 -0
  404. package/docs/types/Position.html +1 -0
  405. package/docs/types/PositionFrom.html +1 -0
  406. package/docs/types/RotateArgs.html +2 -0
  407. package/docs/types/RotateOpts.html +2 -0
  408. package/docs/types/RuleLabelsKey.html +1 -0
  409. package/docs/types/RuleLabelsValue.html +1 -0
  410. package/docs/types/ScaleCallback.html +1 -0
  411. package/docs/types/ScalePosition.html +3 -0
  412. package/docs/types/SculptData.BoxData.html +1 -0
  413. package/docs/types/SculptData.CircleData.html +1 -0
  414. package/docs/types/SculptData.CylinderData.html +1 -0
  415. package/docs/types/SculptData.PointData.html +1 -0
  416. package/docs/types/SculptData.PolygonData.html +1 -0
  417. package/docs/types/SculptData.PolylineData.html +1 -0
  418. package/docs/types/SculptData.PrismData.html +1 -0
  419. package/docs/types/SculptData.RectangleData.html +1 -0
  420. package/docs/types/StickType.html +1 -0
  421. package/docs/types/Tag.html +16 -0
  422. package/docs/types/Tag2D.html +2 -0
  423. package/docs/types/Tag3D.html +2 -0
  424. package/docs/types/TagClickParams.html +1 -0
  425. package/docs/types/TagConfigByKey.html +1 -0
  426. package/docs/types/TagContentType.html +1 -0
  427. package/docs/types/TagContentTypeMapping.html +1 -0
  428. package/docs/types/TagDimensionType.html +1 -0
  429. package/docs/types/TagElement.html +2 -0
  430. package/docs/types/TagEvents.html +1 -0
  431. package/docs/types/TagGLTFObject.html +1 -0
  432. package/docs/types/TagHooks.html +1 -0
  433. package/docs/types/TagId.html +1 -0
  434. package/docs/types/TagInstance.html +1 -0
  435. package/docs/types/TagPointType.html +2 -0
  436. package/docs/types/TagRendererMap.html +1 -0
  437. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -0
  438. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -0
  439. package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -0
  440. package/docs/types/Util.PointSelectorConfig.html +1 -0
  441. package/docs/types/WorkCode.html +1 -0
  442. package/docs/variables/FLOOR_TYPE_MAP.html +2 -0
  443. package/docs/variables/PLUGIN.html +1 -0
  444. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -0
  445. package/docs/variables/ROOM_TYPE_MAP.html +2 -0
  446. package/docs/variables/Util.animeMap.html +1 -0
  447. package/docs/variables/defaultGlobalConfig.html +1 -0
  448. package/docs/variables/itemLabelPluginServerParams.html +1 -0
  449. package/docs/variables/modelItemLabelPluginServerParams.html +1 -0
  450. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -0
  451. package/libs/CruisePlugin/typing.d.ts +6 -2
  452. package/libs/Sculpt/Meshes/Circle.d.ts +3 -1
  453. package/libs/Sculpt/Meshes/Circle.js +23 -17
  454. package/libs/Sculpt/Meshes/CircleWithEdge.js +30 -22
  455. package/libs/Sculpt/Meshes/Cylinder.d.ts +4 -2
  456. package/libs/Sculpt/Meshes/Cylinder.js +31 -35
  457. package/libs/Sculpt/Meshes/PolygonWithEdge.js +14 -14
  458. package/libs/Sculpt/Meshes/Prism.js +49 -48
  459. package/libs/Sculpt/Meshes/RectangleWithEdge.js +19 -18
  460. package/libs/Sculpt/Objects/Base/index.d.ts +1 -0
  461. package/libs/Sculpt/Objects/Box/index.d.ts +1 -0
  462. package/libs/Sculpt/Objects/Box/index.js +45 -42
  463. package/libs/Sculpt/Objects/Circle/index.d.ts +1 -0
  464. package/libs/Sculpt/Objects/Circle/index.js +50 -47
  465. package/libs/Sculpt/Objects/Cylinder/index.d.ts +1 -0
  466. package/libs/Sculpt/Objects/Cylinder/index.js +32 -29
  467. package/libs/Sculpt/Objects/Line/index.d.ts +1 -0
  468. package/libs/Sculpt/Objects/Line/index.js +11 -8
  469. package/libs/Sculpt/Objects/Point/index.d.ts +1 -0
  470. package/libs/Sculpt/Objects/Point/index.js +32 -28
  471. package/libs/Sculpt/Objects/Polygon/index.d.ts +1 -0
  472. package/libs/Sculpt/Objects/Polygon/index.js +24 -21
  473. package/libs/Sculpt/Objects/Polyline/index.d.ts +1 -0
  474. package/libs/Sculpt/Objects/Polyline/index.js +37 -34
  475. package/libs/Sculpt/Objects/Prism/index.d.ts +1 -0
  476. package/libs/Sculpt/Objects/Prism/index.js +47 -44
  477. package/libs/Sculpt/Objects/Rectangle/index.d.ts +1 -0
  478. package/libs/Sculpt/Objects/Rectangle/index.js +86 -83
  479. package/libs/Sculpt/utils/three/ColoredMesh.js +1 -0
  480. package/libs/base/BasePlugin.js +1 -1
  481. package/libs/shared-utils/logger.js +1 -1
  482. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ var ya = (n, t, e) => t in n ? fp(n, t, { enumerable: !0, configurable: !0, writ
9
9
  for (var e of Eo(t))
10
10
  Rc.call(t, e) && ya(n, e, t[e]);
11
11
  return n;
12
- }, ee = (n, t) => mp(n, gp(t));
12
+ }, $ = (n, t) => mp(n, gp(t));
13
13
  var Ji = (n, t) => {
14
14
  var e = {};
15
15
  for (var i in n)
@@ -48,7 +48,7 @@ import Vp from "earcut";
48
48
  import { GLTFLoader as Rp } from "@realsee/five/gltf-loader";
49
49
  function _p() {
50
50
  console.debug(
51
- "%c %c@realsee/dnalogel %cv3.53.3",
51
+ "%c %c@realsee/dnalogel %cv3.53.5-alpha.0",
52
52
  [
53
53
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
54
54
  "background-repeat: no-repeat",
@@ -2010,9 +2010,9 @@ function Nf(n) {
2010
2010
  }
2011
2011
  const vv = 16777215, Yc = 16777215, Av = 2, Rl = 0.6;
2012
2012
  function Ai(n) {
2013
- return !xe(n);
2013
+ return !De(n);
2014
2014
  }
2015
- function xe(n) {
2015
+ function De(n) {
2016
2016
  return n != null;
2017
2017
  }
2018
2018
  class Hf extends Op {
@@ -2042,7 +2042,7 @@ class Zc extends jp {
2042
2042
  var i, s;
2043
2043
  super(e);
2044
2044
  d(this, "_three_color");
2045
- xe(e == null ? void 0 : e.color) && (this.three_color = (i = e == null ? void 0 : e.color) != null ? i : 16777215), Object.keys(e).forEach((o) => {
2045
+ De(e == null ? void 0 : e.color) && (this.three_color = (i = e == null ? void 0 : e.color) != null ? i : 16777215), Object.keys(e).forEach((o) => {
2046
2046
  ["color", "dashed", "dashScale", "dashSize", "gapSize", "resolution"].includes(o) || o in this && (this[o] = e[o]);
2047
2047
  }), this.setDashed((s = e == null ? void 0 : e.dashed) != null ? s : !1);
2048
2048
  }
@@ -2261,7 +2261,7 @@ class Yt extends Rt {
2261
2261
  setPoints(e) {
2262
2262
  if (this.points.length === 0 && e.length === 0)
2263
2263
  return;
2264
- const i = e.map(Ne).filter(xe);
2264
+ const i = e.map(Ne).filter(De);
2265
2265
  if (this.points = i, i.length < 2) {
2266
2266
  this.line.geometry = new Uo(), this.backLine.geometry = this.line.geometry, this.updateDomItems();
2267
2267
  return;
@@ -2277,7 +2277,7 @@ class Yt extends Rt {
2277
2277
  }
2278
2278
  setStyle(e) {
2279
2279
  var o, r, a;
2280
- this.paramsStyle = x(x({}, this.paramsStyle), e), xe(e.lineColor) && (this.line.material.three_color = new b.Color(e.lineColor), this.backLine.material.three_color = new b.Color(e.lineColor)), xe(e.lineWidth) && (this.line.material.linewidth = e.lineWidth), xe(e.dashed) && this.line.material.setDashed(e.dashed), xe(e.opacity) && (this.line.material.opacity = e.opacity, this.backLine.material.opacity = this.line.material.opacity * 0.7), this.updateDomItems();
2280
+ this.paramsStyle = x(x({}, this.paramsStyle), e), De(e.lineColor) && (this.line.material.three_color = new b.Color(e.lineColor), this.backLine.material.three_color = new b.Color(e.lineColor)), De(e.lineWidth) && (this.line.material.linewidth = e.lineWidth), De(e.dashed) && this.line.material.setDashed(e.dashed), De(e.opacity) && (this.line.material.opacity = e.opacity, this.backLine.material.opacity = this.line.material.opacity * 0.7), this.updateDomItems();
2281
2281
  const i = (o = e.occlusionVisibility) != null ? o : this.paramsStyle.occlusionVisibility, s = (a = (r = e.occlusionMode) != null ? r : this.paramsStyle.occlusionMode) != null ? a : "translucence";
2282
2282
  i ? s === "depthTest" ? (this.line.material.depthTest = !1, this.backLine.visible = !1) : s === "translucence" && (this.line.material.depthTest = !0, this.backLine.visible = !0, this.line.material.opacity === 1 ? this.backLine.material.setDashed(!0) : this.backLine.material.setDashed(this.line.material.dashed)) : (this.line.material.depthTest = !0, this.backLine.visible = !1), this.needsRender = !0;
2283
2283
  }
@@ -2298,7 +2298,7 @@ class Yt extends Rt {
2298
2298
  const i = this.points.map((s, o) => {
2299
2299
  if (o !== 0)
2300
2300
  return [this.points[o - 1], s];
2301
- }).filter(xe).map((s) => Xs(this, s));
2301
+ }).filter(De).map((s) => Xs(this, s));
2302
2302
  i.forEach(([s, o], r) => {
2303
2303
  var c;
2304
2304
  const a = jt(s, o);
@@ -2309,7 +2309,7 @@ class Yt extends Rt {
2309
2309
  const l = (h) => {
2310
2310
  var u;
2311
2311
  this.doms[r].__text !== h && (this.doms[r].__text = h, h ? this.doms[r].container.innerHTML = _l(h, {
2312
- style: `color: #${xe((u = this.style) == null ? void 0 : u.lineColor) ? new b.Color(this.style.lineColor).getHexString() : "ffffff"}`
2312
+ style: `color: #${De((u = this.style) == null ? void 0 : u.lineColor) ? new b.Color(this.style.lineColor).getHexString() : "ffffff"}`
2313
2313
  }) : this.doms[r].container.innerHTML = "");
2314
2314
  };
2315
2315
  if (this.paramsStyle.tip)
@@ -2392,7 +2392,7 @@ function Pv() {
2392
2392
  lineColor: 3407837,
2393
2393
  opacity: 0.7,
2394
2394
  occlusionVisibility: !0
2395
- }, i = new Yt(ee(x({ points: [{ x: -0.5 }, { x: 0.5 }] }, e), { lineColor: 3407837 })), s = new Yt(ee(x({ points: [{ y: -0.5 }, { y: 0.5 }] }, e), { lineColor: 3407837 }));
2395
+ }, i = new Yt($(x({ points: [{ x: -0.5 }, { x: 0.5 }] }, e), { lineColor: 3407837 })), s = new Yt($(x({ points: [{ y: -0.5 }, { y: 0.5 }] }, e), { lineColor: 3407837 }));
2396
2396
  return t.add(i, s), t;
2397
2397
  }
2398
2398
  function Iv(n) {
@@ -2533,7 +2533,7 @@ function Wf(n, t = 3) {
2533
2533
  function Sv(n, t) {
2534
2534
  const s = Ut(n).intersectRaycaster(t)[0];
2535
2535
  if (s)
2536
- return ee(x({}, s), { raycaster: t, isVirtual: !1 });
2536
+ return $(x({}, s), { raycaster: t, isVirtual: !1 });
2537
2537
  }
2538
2538
  const qc = `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`, Tv = new b.Vector3(), En = () => !1;
2539
2539
  class Fl extends ct {
@@ -2707,7 +2707,7 @@ class Fl extends ct {
2707
2707
  autoFixPCPosition: this.mode === "cursor",
2708
2708
  initialPosition: this.mode === "fixed" ? { left: "35%", top: "20%" } : void 0
2709
2709
  };
2710
- this.pointSelectorHelper = new Gf(this.five, ee(x({}, i == null ? void 0 : i.helper), {
2710
+ this.pointSelectorHelper = new Gf(this.five, $(x({}, i == null ? void 0 : i.helper), {
2711
2711
  magnifierParams: x(x({}, o), (l = i == null ? void 0 : i.helper) == null ? void 0 : l.magnifierParams)
2712
2712
  })), this.pointSelectorHelper.hide();
2713
2713
  }
@@ -3135,7 +3135,7 @@ function Yv(n, t, e) {
3135
3135
  let M = 0;
3136
3136
  const E = v(f), S = (F) => {
3137
3137
  const H = F.distanceTo(E), G = new b.Raycaster(F, E.clone().sub(F).normalize()), N = s.model.intersectRaycaster(G, void 0, !0)[0], U = N == null ? void 0 : N.distance;
3138
- xe(U) ? U > H && (M += 1) : M += 1;
3138
+ De(U) ? U > H && (M += 1) : M += 1;
3139
3139
  }, T = i.clampPoint(E, new b.Vector3());
3140
3140
  S(T);
3141
3141
  const W = new b.Vector3(r.x, E.y, r.z);
@@ -3175,7 +3175,7 @@ function $f(n, t, e) {
3175
3175
  const w = f(h);
3176
3176
  if (((C) => {
3177
3177
  const M = C.distanceTo(w), E = new b.Raycaster(C, w.clone().sub(C).normalize()), S = s.model.intersectRaycaster(E, void 0, !0)[0], T = S == null ? void 0 : S.distance;
3178
- xe(T) ? T > M && (A += 1) : A += 1;
3178
+ De(T) ? T > M && (A += 1) : A += 1;
3179
3179
  })(t), u[A] = h, A === 1)
3180
3180
  break;
3181
3181
  h += 30;
@@ -3903,7 +3903,7 @@ class Js {
3903
3903
  s && (e ? s.add(i) : s.remove(i));
3904
3904
  });
3905
3905
  d(this, "createObject", (t, e) => {
3906
- const i = new sm(ee(x({ cornerPoints: t }, e), { style: e.wrapperStyle }));
3906
+ const i = new sm($(x({ cornerPoints: t }, e), { style: e.wrapperStyle }));
3907
3907
  return i.element.classList.add(`${rl}__container`), i.element.id = `${rl}__container--${i.uuid}`, i;
3908
3908
  });
3909
3909
  t && this.setScene(t);
@@ -4135,7 +4135,7 @@ let m0 = class extends Js {
4135
4135
  return Object.assign(h, i, (i == null ? void 0 : i.mode) === "behind" ? { scene: this.five.scene } : void 0);
4136
4136
  })(), { autoRender: o } = s;
4137
4137
  s.mode === "behind" && s.behindFiveContainer && (this.behindFiveContainer = s.behindFiveContainer);
4138
- const r = this.create3DElement(this.five.camera, e, ee(x({}, s), { autoRender: !1 }));
4138
+ const r = this.create3DElement(this.five.camera, e, $(x({}, s), { autoRender: !1 }));
4139
4139
  if (!r)
4140
4140
  return;
4141
4141
  const a = r.dispose;
@@ -4149,7 +4149,7 @@ let m0 = class extends Js {
4149
4149
  }, c = () => {
4150
4150
  r.css3DObject.mode === "front" && l(), r.css3DObject.mode === "behind" && un(this.five).then(() => l());
4151
4151
  };
4152
- return o && c(), ee(x({}, r), { render: o ? void 0 : c });
4152
+ return o && c(), $(x({}, r), { render: o ? void 0 : c });
4153
4153
  });
4154
4154
  this.five = e;
4155
4155
  }
@@ -4384,14 +4384,14 @@ function L(n) {
4384
4384
  function Fe(n) {
4385
4385
  return document.createElementNS("http://www.w3.org/2000/svg", n);
4386
4386
  }
4387
- function De(n) {
4387
+ function xe(n) {
4388
4388
  return document.createTextNode(n);
4389
4389
  }
4390
- function $() {
4391
- return De(" ");
4390
+ function ee() {
4391
+ return xe(" ");
4392
4392
  }
4393
4393
  function Ee() {
4394
- return De("");
4394
+ return xe("");
4395
4395
  }
4396
4396
  function we(n, t, e, i) {
4397
4397
  return n.addEventListener(t, e, i), () => n.removeEventListener(t, e, i);
@@ -4937,7 +4937,7 @@ function S0(n) {
4937
4937
  ), s, o, r, a, l;
4938
4938
  return {
4939
4939
  c() {
4940
- t = L("div"), e = L("span"), s = De(i), o = $(), r = L("div"), P(e, "class", "room-label-item__text svelte-1d7uzh5"), z(e, "background-image", "url(" + x0 + ")"), te(
4940
+ t = L("div"), e = L("span"), s = xe(i), o = ee(), r = L("div"), P(e, "class", "room-label-item__text svelte-1d7uzh5"), z(e, "background-image", "url(" + x0 + ")"), te(
4941
4941
  e,
4942
4942
  "wide",
4943
4943
  /*roomLabel*/
@@ -5458,7 +5458,7 @@ function eA(n, t, e) {
5458
5458
  }
5459
5459
  return o.map((E) => {
5460
5460
  const S = c(E), T = S ? h(E, w) : E.transform, W = C(E), H = o.filter((G) => G.visible && C(G) < W).length * 10;
5461
- return ee(x({}, E), { visible: S, transform: T, zIndex: H });
5461
+ return $(x({}, E), { visible: S, transform: T, zIndex: H });
5462
5462
  });
5463
5463
  }
5464
5464
  function f() {
@@ -5708,7 +5708,7 @@ function cA(n) {
5708
5708
  let t, e, i, s;
5709
5709
  return {
5710
5710
  c() {
5711
- t = L("div"), e = new tr(!1), i = $(), s = new tr(!1), e.a = i, s.a = null, P(t, "class", "floorplan-plugin__base-image svelte-ub47ya");
5711
+ t = L("div"), e = new tr(!1), i = ee(), s = new tr(!1), e.a = i, s.a = null, P(t, "class", "floorplan-plugin__base-image svelte-ub47ya");
5712
5712
  },
5713
5713
  m(o, r) {
5714
5714
  V(o, t, r), e.m(
@@ -5909,7 +5909,7 @@ function bA(n) {
5909
5909
  );
5910
5910
  return {
5911
5911
  c() {
5912
- t = L("div"), a && a.c(), e = $(), l && l.c(), i = $(), c && c.c(), s = Ee(), P(t, "class", "floorplan-plugin__room-part1 svelte-9vzn2f"), z(
5912
+ t = L("div"), a && a.c(), e = ee(), l && l.c(), i = ee(), c && c.c(), s = Ee(), P(t, "class", "floorplan-plugin__room-part1 svelte-9vzn2f"), z(
5913
5913
  t,
5914
5914
  "opacity",
5915
5915
  /*level1_labelVisible*/
@@ -5957,7 +5957,7 @@ function ch(n) {
5957
5957
  ), i;
5958
5958
  return {
5959
5959
  c() {
5960
- t = L("span"), i = De(e), P(t, "class", "floorplan-plugin__room-name");
5960
+ t = L("span"), i = xe(e), P(t, "class", "floorplan-plugin__room-name");
5961
5961
  },
5962
5962
  m(s, o) {
5963
5963
  V(s, t, o), j(t, i);
@@ -5976,7 +5976,7 @@ function hh(n) {
5976
5976
  let t, e;
5977
5977
  return {
5978
5978
  c() {
5979
- t = L("span"), e = De(
5979
+ t = L("span"), e = xe(
5980
5980
  /*roomAreaSize*/
5981
5981
  n[14]
5982
5982
  ), P(t, "class", "floorplan-plugin__room-area svelte-9vzn2f"), z(
@@ -6006,7 +6006,7 @@ function dh(n) {
6006
6006
  let t, e;
6007
6007
  return {
6008
6008
  c() {
6009
- t = L("span"), e = De(
6009
+ t = L("span"), e = xe(
6010
6010
  /*roomDimension*/
6011
6011
  n[13]
6012
6012
  ), P(t, "class", "floorplan-plugin__room-size"), z(
@@ -6568,7 +6568,7 @@ function Ah(n, t) {
6568
6568
  key: n,
6569
6569
  first: null,
6570
6570
  c() {
6571
- e = L("div"), i = L("div"), o = De(s), r = $(), P(i, "class", "floorplan-plugin__rule-text svelte-1fuyezq"), te(
6571
+ e = L("div"), i = L("div"), o = xe(s), r = ee(), P(i, "class", "floorplan-plugin__rule-text svelte-1fuyezq"), te(
6572
6572
  i,
6573
6573
  "is-row",
6574
6574
  /*isRow*/
@@ -6622,10 +6622,10 @@ function DA(n) {
6622
6622
  }
6623
6623
  return {
6624
6624
  c() {
6625
- t = L("div"), e = L("div"), i = $(), s = L("div");
6625
+ t = L("div"), e = L("div"), i = ee(), s = L("div");
6626
6626
  for (let v = 0; v < u.length; v += 1)
6627
6627
  u[v].c();
6628
- o = $(), r = L("div");
6628
+ o = ee(), r = L("div");
6629
6629
  for (let v = 0; v < a.length; v += 1)
6630
6630
  a[v].c();
6631
6631
  P(e, "class", "floorplan-plugin__rule-line svelte-1fuyezq"), P(s, "class", "floorplan-plugin__rule-scale-wrapper svelte-1fuyezq"), te(
@@ -6999,7 +6999,7 @@ function HA(n) {
6999
6999
  let t, e, i, s, o, r;
7000
7000
  return {
7001
7001
  c() {
7002
- t = Fe("defs"), e = Fe("pattern"), i = Fe("rect"), s = Fe("path"), o = $(), r = Fe("path"), P(i, "x", "0"), P(i, "y", "0"), P(
7002
+ t = Fe("defs"), e = Fe("pattern"), i = Fe("rect"), s = Fe("path"), o = ee(), r = Fe("path"), P(i, "x", "0"), P(i, "y", "0"), P(
7003
7003
  i,
7004
7004
  "width",
7005
7005
  /*width*/
@@ -7070,7 +7070,7 @@ function WA(n) {
7070
7070
  let t, e, i, s, o, r, a, l, c, h, u;
7071
7071
  return {
7072
7072
  c() {
7073
- t = Fe("defs"), e = Fe("pattern"), i = Fe("rect"), s = Fe("pattern"), o = Fe("rect"), r = $(), a = Fe("path"), l = $(), c = Fe("path"), h = $(), u = Fe("path"), P(i, "x", "0"), P(i, "y", "0"), P(i, "width", "6"), P(i, "height", "50"), P(i, "fill", "none"), P(i, "stroke", "#4B4B57"), P(i, "stroke-width", "0.5"), P(e, "id", "room-material-pattern-1"), P(e, "x", "0"), P(e, "y", "0"), P(e, "width", "12"), P(e, "height", "50"), P(e, "patternUnits", "userSpaceOnUse"), P(e, "patternTransform", "scale(50 50)"), P(o, "x", "0"), P(o, "y", "0"), P(o, "width", "6"), P(o, "height", "50"), P(o, "fill", "none"), P(o, "stroke", "#4B4B57"), P(o, "stroke-width", "0.5"), P(s, "id", "room-material-pattern-2"), P(s, "x", "6"), P(s, "y", "25"), P(s, "width", "12"), P(s, "height", "50"), P(s, "patternUnits", "userSpaceOnUse"), P(s, "patternTransform", "scale(50 50)"), P(
7073
+ t = Fe("defs"), e = Fe("pattern"), i = Fe("rect"), s = Fe("pattern"), o = Fe("rect"), r = ee(), a = Fe("path"), l = ee(), c = Fe("path"), h = ee(), u = Fe("path"), P(i, "x", "0"), P(i, "y", "0"), P(i, "width", "6"), P(i, "height", "50"), P(i, "fill", "none"), P(i, "stroke", "#4B4B57"), P(i, "stroke-width", "0.5"), P(e, "id", "room-material-pattern-1"), P(e, "x", "0"), P(e, "y", "0"), P(e, "width", "12"), P(e, "height", "50"), P(e, "patternUnits", "userSpaceOnUse"), P(e, "patternTransform", "scale(50 50)"), P(o, "x", "0"), P(o, "y", "0"), P(o, "width", "6"), P(o, "height", "50"), P(o, "fill", "none"), P(o, "stroke", "#4B4B57"), P(o, "stroke-width", "0.5"), P(s, "id", "room-material-pattern-2"), P(s, "x", "6"), P(s, "y", "25"), P(s, "width", "12"), P(s, "height", "50"), P(s, "patternUnits", "userSpaceOnUse"), P(s, "patternTransform", "scale(50 50)"), P(
7074
7074
  a,
7075
7075
  "d",
7076
7076
  /*d*/
@@ -7327,7 +7327,7 @@ function $A(n, t, e) {
7327
7327
  "floorIndex" in l && e(3, s = l.floorIndex), "floorplanData" in l && e(4, o = l.floorplanData);
7328
7328
  }, n.$$.update = () => {
7329
7329
  n.$$.dirty & /*floorplanData, floorIndex*/
7330
- 24 && e(0, i = o.floorDatas[s].rooms.map((l) => ee(x({}, l), {
7330
+ 24 && e(0, i = o.floorDatas[s].rooms.map((l) => $(x({}, l), {
7331
7331
  path: l.path.map((c) => km(c, o.bounding))
7332
7332
  })));
7333
7333
  }, [i, r, a, s, o];
@@ -7628,7 +7628,7 @@ function kh(n) {
7628
7628
  ), i;
7629
7629
  return {
7630
7630
  c() {
7631
- t = L("span"), i = De(e), P(t, "class", "text svelte-1lm20n5"), z(
7631
+ t = L("span"), i = xe(e), P(t, "class", "text svelte-1lm20n5"), z(
7632
7632
  t,
7633
7633
  "font-size",
7634
7634
  /*missingFloorConfig*/
@@ -7661,7 +7661,7 @@ function cb(n) {
7661
7661
  );
7662
7662
  return {
7663
7663
  c() {
7664
- t = L("div"), e = L("img"), s = $(), o && o.c(), P(e, "class", "image"), P(e, "alt", "缺省楼层展位图"), ht(e.src, i = /*missingFloorConfig*/
7664
+ t = L("div"), e = L("img"), s = ee(), o && o.c(), P(e, "class", "image"), P(e, "alt", "缺省楼层展位图"), ht(e.src, i = /*missingFloorConfig*/
7665
7665
  n[0].imageURL) || P(e, "src", i), z(
7666
7666
  e,
7667
7667
  "width",
@@ -7827,7 +7827,7 @@ function Ab(n) {
7827
7827
  let t, e, i, s, o;
7828
7828
  return {
7829
7829
  c() {
7830
- t = L("div"), e = L("div"), i = $(), s = L("span"), o = De(
7830
+ t = L("div"), e = L("div"), i = ee(), s = L("span"), o = xe(
7831
7831
  /*northDesc*/
7832
7832
  n[0]
7833
7833
  ), P(e, "class", "floorplan-plugin__compass-image svelte-rpkaro"), z(e, "background-image", `url(${pb})`), P(s, "class", "floorplan-plugin__compass-text svelte-rpkaro"), P(t, "class", "floorplan-plugin__compass svelte-rpkaro"), z(
@@ -7946,7 +7946,7 @@ function Pb(n) {
7946
7946
  );
7947
7947
  return {
7948
7948
  c() {
7949
- oe(t.$$.fragment), e = $(), m && m.c(), i = $(), oe(s.$$.fragment), o = $(), g && g.c(), r = $(), A && A.c(), a = $(), w && w.c(), l = $(), I && I.c(), c = Ee();
7949
+ oe(t.$$.fragment), e = ee(), m && m.c(), i = ee(), oe(s.$$.fragment), o = ee(), g && g.c(), r = ee(), A && A.c(), a = ee(), w && w.c(), l = ee(), I && I.c(), c = Ee();
7950
7950
  },
7951
7951
  m(C, M) {
7952
7952
  ie(t, C, M), V(C, e, M), m && m.m(C, M), V(C, i, M), ie(s, C, M), V(C, o, M), g && g.m(C, M), V(C, r, M), A && A.m(C, M), V(C, a, M), w && w.m(C, M), V(C, l, M), I && I.m(C, M), V(C, c, M), h = !0;
@@ -9016,7 +9016,7 @@ let Hi = class {
9016
9016
  /**
9017
9017
  * @realsee/dnalogel 版本号
9018
9018
  */
9019
- d(this, "VERSION", "3.53.3");
9019
+ d(this, "VERSION", "3.53.5-alpha.0");
9020
9020
  d(this, "NAME");
9021
9021
  d(this, "five");
9022
9022
  d(this, "workUtil");
@@ -9382,7 +9382,7 @@ let Wb = class extends wi {
9382
9382
  getRoomAreaText: (u) => (u / 1e6).toFixed(1) + "㎡",
9383
9383
  getRoomDimensionText: (u, f) => (u / 1e3).toFixed(1) + "m × " + (f / 1e3).toFixed(1) + "m",
9384
9384
  getRuleDistanceText: (u) => u.toString()
9385
- }, o = i ? Xn(i, ["selector", "scale"]) : {}, r = x(x({}, s.missingFloorConfig), o.missingFloorConfig), a = ee(x(x({}, s), o), { missingFloorConfig: r });
9385
+ }, o = i ? Xn(i, ["selector", "scale"]) : {}, r = x(x({}, s.missingFloorConfig), o.missingFloorConfig), a = $(x(x({}, s), o), { missingFloorConfig: r });
9386
9386
  this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.once("dispose", this.dispose), this.addEventListener();
9387
9387
  }
9388
9388
  load(e, i, s = !0) {
@@ -9434,8 +9434,8 @@ let Wb = class extends wi {
9434
9434
  }
9435
9435
  updateState(e, i) {
9436
9436
  var a;
9437
- const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? x(x({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ee(x(x({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
9438
- this.state = ee(x(x({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
9437
+ const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? x(x({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? $(x(x({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
9438
+ this.state = $(x(x({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
9439
9439
  }
9440
9440
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
9441
9441
  *
@@ -9464,7 +9464,7 @@ let Wb = class extends wi {
9464
9464
  render(e) {
9465
9465
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
9466
9466
  return;
9467
- const i = ee(x({}, this.state.config), {
9467
+ const i = $(x({}, this.state.config), {
9468
9468
  visible: this.state.visible,
9469
9469
  duration: e != null ? e : 0,
9470
9470
  panoIndex: this.panoIndex,
@@ -9717,7 +9717,7 @@ let Xb = class extends wi {
9717
9717
  getRoomAreaText: (h) => (h / 1e6).toFixed(1) + "㎡",
9718
9718
  getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
9719
9719
  getRuleDistanceText: (h) => h.toString()
9720
- }, o = i ? Xn(i, ["selector", "scale"]) : {}, r = x(x({}, s.missingFloorConfig), o.missingFloorConfig), a = ee(x(x({}, s), o), { missingFloorConfig: r });
9720
+ }, o = i ? Xn(i, ["selector", "scale"]) : {}, r = x(x({}, s.missingFloorConfig), o.missingFloorConfig), a = $(x(x({}, s), o), { missingFloorConfig: r });
9721
9721
  this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), un(e).then(this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
9722
9722
  }
9723
9723
  load(e, i, s = !0) {
@@ -9777,8 +9777,8 @@ let Xb = class extends wi {
9777
9777
  }
9778
9778
  updateState(e, i) {
9779
9779
  var a;
9780
- const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? x(x({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ee(x(x({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
9781
- this.state = ee(x(x({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
9780
+ const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? x(x({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? $(x(x({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
9781
+ this.state = $(x(x({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
9782
9782
  }
9783
9783
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
9784
9784
  *
@@ -9807,7 +9807,7 @@ let Xb = class extends wi {
9807
9807
  render(e) {
9808
9808
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
9809
9809
  return;
9810
- const i = ee(x({}, this.state.config), {
9810
+ const i = $(x({}, this.state.config), {
9811
9811
  visible: this.state.visible,
9812
9812
  duration: e != null ? e : 0,
9813
9813
  panoIndex: this.panoIndex,
@@ -9946,7 +9946,7 @@ let Zb = class extends wi {
9946
9946
  getRoomAreaText: (h) => (h / 1e6).toFixed(1) + "㎡",
9947
9947
  getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
9948
9948
  getRuleDistanceText: (h) => h.toString()
9949
- }, o = i ? Xn(i, ["selector", "scale"]) : {}, r = x(x({}, s.missingFloorConfig), o.missingFloorConfig), a = ee(x(x({}, s), o), { missingFloorConfig: r });
9949
+ }, o = i ? Xn(i, ["selector", "scale"]) : {}, r = x(x({}, s.missingFloorConfig), o.missingFloorConfig), a = $(x(x({}, s), o), { missingFloorConfig: r });
9950
9950
  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();
9951
9951
  }
9952
9952
  load(e, i, s = !0) {
@@ -10049,8 +10049,8 @@ let Zb = class extends wi {
10049
10049
  }
10050
10050
  updateState(e, i) {
10051
10051
  var a;
10052
- const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? x(x({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ee(x(x({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
10053
- this.state = ee(x(x({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
10052
+ const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? x(x({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? $(x(x({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
10053
+ this.state = $(x(x({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
10054
10054
  }
10055
10055
  addEventListener() {
10056
10056
  if (!this.state.enabled || this.hasAddedEventListener)
@@ -10080,7 +10080,7 @@ let Zb = class extends wi {
10080
10080
  render(e) {
10081
10081
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0)
10082
10082
  return;
10083
- const i = ee(x({}, this.state.config), {
10083
+ const i = $(x({}, this.state.config), {
10084
10084
  visible: this.state.visible,
10085
10085
  duration: e != null ? e : 0,
10086
10086
  panoIndex: this.panoIndex,
@@ -10238,7 +10238,7 @@ function _h(n, t) {
10238
10238
  key: n,
10239
10239
  first: null,
10240
10240
  c() {
10241
- e = L("div"), i = L("div"), r = $(), P(i, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7"), z(i, "background-image", `url(${/*extraObject*/
10241
+ e = L("div"), i = L("div"), r = ee(), P(i, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7"), z(i, "background-image", `url(${/*extraObject*/
10242
10242
  t[1].icon.url})`), z(i, "width", s), z(i, "height", o), P(e, "class", "plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7"), z(e, "top", a), z(e, "left", l), this.first = e;
10243
10243
  },
10244
10244
  m(c, h) {
@@ -10345,7 +10345,7 @@ function r1(n) {
10345
10345
  );
10346
10346
  return {
10347
10347
  c() {
10348
- oe(t.$$.fragment), e = $(), oe(i.$$.fragment), s = $(), c && c.c(), o = Ee();
10348
+ oe(t.$$.fragment), e = ee(), oe(i.$$.fragment), s = ee(), c && c.c(), o = Ee();
10349
10349
  },
10350
10350
  m(h, u) {
10351
10351
  ie(t, h, u), V(h, e, u), ie(i, h, u), V(h, s, u), c && c.m(h, u), V(h, o, u), r = !0;
@@ -10688,7 +10688,7 @@ function Hh(n) {
10688
10688
  u = vt(u, h[f]);
10689
10689
  return s = new e1({ props: u }), {
10690
10690
  c() {
10691
- t = L("div"), oe(e.$$.fragment), i = $(), oe(s.$$.fragment), P(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), z(t, "width", o), z(t, "height", r);
10691
+ t = L("div"), oe(e.$$.fragment), i = ee(), oe(s.$$.fragment), P(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), z(t, "width", o), z(t, "height", r);
10692
10692
  },
10693
10693
  m(f, m) {
10694
10694
  V(f, t, m), ie(e, t, null), j(t, i), ie(s, t, null), a = !0;
@@ -10986,7 +10986,7 @@ let g1 = class extends wi {
10986
10986
  }
10987
10987
  updateState(e, i) {
10988
10988
  const s = this.state, o = e.config ? x(x({}, s.config), e.config) : s.config;
10989
- this.state = ee(x(x({}, this.state), e), { config: o }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
10989
+ this.state = $(x(x({}, this.state), e), { config: o }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
10990
10990
  }
10991
10991
  render() {
10992
10992
  if (this.disposed || !this.state.enabled)
@@ -10997,7 +10997,7 @@ let g1 = class extends wi {
10997
10997
  }
10998
10998
  if (!this.data || !this.wrapper)
10999
10999
  return;
11000
- const e = ee(x({}, this.state.config), {
11000
+ const e = $(x({}, this.state.config), {
11001
11001
  five: this.five,
11002
11002
  floorplanData: this.data,
11003
11003
  visible: this.state.visible,
@@ -11841,7 +11841,7 @@ function T1(n) {
11841
11841
  let v = m(n), p = v(n);
11842
11842
  return {
11843
11843
  c() {
11844
- t = L("div"), p.c(), e = $(), i = L("div"), s = L("div"), r = De(o), P(s, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), et(() => (
11844
+ t = L("div"), p.c(), e = ee(), i = L("div"), s = L("div"), r = xe(o), P(s, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), et(() => (
11845
11845
  /*div0_elementresize_handler*/
11846
11846
  n[4].call(s)
11847
11847
  )), P(i, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), z(i, "left", l), P(t, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), z(t, "width", c), z(t, "left", h), z(t, "top", u), z(t, "transform", f), z(
@@ -12547,7 +12547,7 @@ class Rm {
12547
12547
  class iy extends Rm {
12548
12548
  constructor(e) {
12549
12549
  var i;
12550
- e.contentStyle = ee(x({}, e.contentStyle), {
12550
+ e.contentStyle = $(x({}, e.contentStyle), {
12551
12551
  background: "rgba(195,195,195,0.70)",
12552
12552
  border: "0.5px solid rgba(255,255,255,0.6)",
12553
12553
  borderRadius: "999px"
@@ -12702,7 +12702,7 @@ let xr = class {
12702
12702
  });
12703
12703
  });
12704
12704
  var i, s, o;
12705
- 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 = ee(x({}, t.pointSelectorConfig), {
12705
+ 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 = $(x({}, t.pointSelectorConfig), {
12706
12706
  helper: x({ magnifierParams: t.magnifierParams }, (i = t.pointSelectorConfig) == null ? void 0 : i.helper)
12707
12707
  }), 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 Jn(new Bt([0, 0, 0]), new Bt([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 Jn(new Bt([0, 0, 0]), new Bt([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new os(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
12708
12708
  const e = this.five.getElement();
@@ -12985,9 +12985,9 @@ function hy(n) {
12985
12985
  }
12986
12986
  class dy extends Rm {
12987
12987
  constructor(e) {
12988
- e.containerStyle = ee(x({}, e.containerStyle), {
12988
+ e.containerStyle = $(x({}, e.containerStyle), {
12989
12989
  zIndex: "1"
12990
- }), e.contentStyle = ee(x({}, e.contentStyle), {
12990
+ }), e.contentStyle = $(x({}, e.contentStyle), {
12991
12991
  background: "#6386FF",
12992
12992
  borderRadius: "2px"
12993
12993
  });
@@ -13432,7 +13432,7 @@ class Si extends xr {
13432
13432
  const s = i.type === "area", o = Array.isArray(i) && ((r = i[0]) == null ? void 0 : r.type) === "line";
13433
13433
  s && this.unHighlightArea(i), o && this.unHighlightLines(i);
13434
13434
  }
13435
- }).appendTo(this.container), this.pointSelector = new Fl(this.five, ee(x({}, this.pointSelectorConfig), {
13435
+ }).appendTo(this.container), this.pointSelector = new Fl(this.five, $(x({}, this.pointSelectorConfig), {
13436
13436
  mode: this.editParams.pointSelectorMode,
13437
13437
  helper: x({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
13438
13438
  })), this.pointSelector.enable(), this.polyline = new qn({ model: this.model }), this.area = new fl(void 0, {
@@ -14567,7 +14567,7 @@ function ad(n) {
14567
14567
  }
14568
14568
  return {
14569
14569
  c() {
14570
- t = L("div"), e = L("div"), h && h.c(), i = $(), o = De(s), r = $(), P(e, "class", "content svelte-1v1ixi2"), P(t, "class", "button svelte-1v1ixi2"), te(
14570
+ t = L("div"), e = L("div"), h && h.c(), i = ee(), o = xe(s), r = ee(), P(e, "class", "content svelte-1v1ixi2"), P(t, "class", "button svelte-1v1ixi2"), te(
14571
14571
  t,
14572
14572
  "active",
14573
14573
  /*activeIndex*/
@@ -14610,7 +14610,7 @@ function Ry(n) {
14610
14610
  l[c] = ad(sd(n, a, c));
14611
14611
  return {
14612
14612
  c() {
14613
- t = L("div"), e = L("div"), i = $(), r && r.c(), s = $(), o = L("div");
14613
+ t = L("div"), e = L("div"), i = ee(), r && r.c(), s = ee(), o = L("div");
14614
14614
  for (let c = 0; c < l.length; c += 1)
14615
14615
  l[c].c();
14616
14616
  P(e, "class", "Switcher-bg svelte-1v1ixi2"), P(o, "class", "Switcher-buttons svelte-1v1ixi2"), te(o, "has-divider", !/*activeButton*/
@@ -14805,7 +14805,7 @@ function dd(n) {
14805
14805
  ), f, m, v;
14806
14806
  return {
14807
14807
  c() {
14808
- t = L("div"), e = L("div"), i = L("div"), s = $(), r = De(o), a = $(), l = L("div"), c = L("div"), h = $(), f = De(u), P(i, "class", "icon svelte-468fdd"), z(i, "background-image", `url(${Jm})`), P(e, "class", "button svelte-468fdd"), te(e, "forbid", !/*canRevoke*/
14808
+ t = L("div"), e = L("div"), i = L("div"), s = ee(), r = xe(o), a = ee(), l = L("div"), c = L("div"), h = ee(), f = xe(u), P(i, "class", "icon svelte-468fdd"), z(i, "background-image", `url(${Jm})`), P(e, "class", "button svelte-468fdd"), te(e, "forbid", !/*canRevoke*/
14809
14809
  n[3]), P(c, "class", "icon svelte-468fdd"), z(c, "background-image", `url(${qm})`), P(l, "class", "button svelte-468fdd"), P(t, "class", "buttons svelte-468fdd");
14810
14810
  },
14811
14811
  m(p, g) {
@@ -14878,7 +14878,7 @@ function Wy(n) {
14878
14878
  n[4] !== void 0 && (p.setIndex = /*setSwitcherActiveIndex*/
14879
14879
  n[4]), c = new Fy({ props: p }), We.push(() => ec(c, "setIndex", v)), {
14880
14880
  c() {
14881
- t = L("div"), f && f.c(), e = $(), i = L("div"), s = L("div"), o = $(), r = L("div"), m && m.c(), a = $(), l = L("div"), oe(c.$$.fragment), P(s, "class", "mask svelte-468fdd"), P(l, "class", "mode-switcher svelte-468fdd"), P(r, "class", "center svelte-468fdd"), P(i, "class", "bottom svelte-468fdd"), P(t, "class", "Measure-Controller svelte-468fdd");
14881
+ t = L("div"), f && f.c(), e = ee(), i = L("div"), s = L("div"), o = ee(), r = L("div"), m && m.c(), a = ee(), l = L("div"), oe(c.$$.fragment), P(s, "class", "mask svelte-468fdd"), P(l, "class", "mode-switcher svelte-468fdd"), P(r, "class", "center svelte-468fdd"), P(i, "class", "bottom svelte-468fdd"), P(t, "class", "Measure-Controller svelte-468fdd");
14882
14882
  },
14883
14883
  m(g, A) {
14884
14884
  V(g, t, A), f && f.m(t, null), j(t, e), j(t, i), j(i, s), j(i, o), j(i, r), m && m.m(r, null), j(r, a), j(r, l), ie(c, l, null), u = !0;
@@ -15051,7 +15051,7 @@ function md(n) {
15051
15051
  }
15052
15052
  return {
15053
15053
  c() {
15054
- t = L("div"), e = L("div"), h && h.c(), i = $(), o = De(s), r = $(), P(e, "class", "content svelte-1mfj5mk"), P(t, "class", "button svelte-1mfj5mk"), te(
15054
+ t = L("div"), e = L("div"), h && h.c(), i = ee(), o = xe(s), r = ee(), P(e, "class", "content svelte-1mfj5mk"), P(t, "class", "button svelte-1mfj5mk"), te(
15055
15055
  t,
15056
15056
  "active",
15057
15057
  /*activeIndex*/
@@ -15091,7 +15091,7 @@ function Zy(n) {
15091
15091
  r[a] = md(ud(n, o, a));
15092
15092
  return {
15093
15093
  c() {
15094
- t = L("div"), e = L("div"), i = $(), s = L("div");
15094
+ t = L("div"), e = L("div"), i = ee(), s = L("div");
15095
15095
  for (let a = 0; a < r.length; a += 1)
15096
15096
  r[a].c();
15097
15097
  P(e, "class", "highlight svelte-1mfj5mk"), z(
@@ -15199,7 +15199,7 @@ function gd(n) {
15199
15199
  let t, e, i, s;
15200
15200
  return {
15201
15201
  c() {
15202
- t = L("div"), e = De(
15202
+ t = L("div"), e = xe(
15203
15203
  /*text*/
15204
15204
  n[0]
15205
15205
  ), P(t, "class", "text svelte-82ysdl");
@@ -15395,7 +15395,7 @@ function Ad(n) {
15395
15395
  ), o, r, a, l, c;
15396
15396
  return {
15397
15397
  c() {
15398
- t = L("div"), e = L("div"), i = $(), o = De(s), P(e, "class", "icon svelte-ldjbp8"), z(e, "background-image", `url(${Jm})`), P(t, "class", "button svelte-ldjbp8"), te(
15398
+ t = L("div"), e = L("div"), i = ee(), o = xe(s), P(e, "class", "icon svelte-ldjbp8"), z(e, "background-image", `url(${Jm})`), P(t, "class", "button svelte-ldjbp8"), te(
15399
15399
  t,
15400
15400
  "forbid",
15401
15401
  /*buttonState*/
@@ -15441,7 +15441,7 @@ function bd(n) {
15441
15441
  ), o, r, a, l, c;
15442
15442
  return {
15443
15443
  c() {
15444
- t = L("div"), e = L("div"), i = $(), o = De(s), P(e, "class", "icon svelte-ldjbp8"), z(e, "background-image", `url(${qm})`), P(t, "class", "button svelte-ldjbp8");
15444
+ t = L("div"), e = L("div"), i = ee(), o = xe(s), P(e, "class", "icon svelte-ldjbp8"), z(e, "background-image", `url(${qm})`), P(t, "class", "button svelte-ldjbp8");
15445
15445
  },
15446
15446
  m(h, u) {
15447
15447
  V(h, t, u), j(t, e), j(t, i), j(t, o), a = !0, l || (c = we(
@@ -15509,7 +15509,7 @@ function nw(n) {
15509
15509
  );
15510
15510
  return {
15511
15511
  c() {
15512
- t = L("div"), v && v.c(), e = $(), i = L("div"), s = L("div"), o = $(), r = L("div"), p && p.c(), a = $(), l = L("div"), g && g.c(), c = $(), h = L("div"), oe(u.$$.fragment), f = $(), A && A.c(), P(s, "class", "mask svelte-ldjbp8"), P(h, "class", "main-button svelte-ldjbp8"), te(h, "forbid", !/*allowAddPoint*/
15512
+ t = L("div"), v && v.c(), e = ee(), i = L("div"), s = L("div"), o = ee(), r = L("div"), p && p.c(), a = ee(), l = L("div"), g && g.c(), c = ee(), h = L("div"), oe(u.$$.fragment), f = ee(), A && A.c(), P(s, "class", "mask svelte-ldjbp8"), P(h, "class", "main-button svelte-ldjbp8"), te(h, "forbid", !/*allowAddPoint*/
15513
15513
  n[5]), P(l, "class", "controller svelte-ldjbp8"), P(r, "class", "center svelte-ldjbp8"), P(i, "class", "bottom svelte-ldjbp8"), P(t, "class", "Measure-Controller svelte-ldjbp8");
15514
15514
  },
15515
15515
  m(w, I) {
@@ -15769,7 +15769,7 @@ function yd(n) {
15769
15769
  let t, e, i, s, o;
15770
15770
  return {
15771
15771
  c() {
15772
- t = L("div"), e = L("div"), i = De(
15772
+ t = L("div"), e = L("div"), i = xe(
15773
15773
  /*tip*/
15774
15774
  n[2]
15775
15775
  ), P(e, "class", "text svelte-1q8gtp4"), P(t, "class", "Measure-Tips svelte-1q8gtp4");
@@ -16295,7 +16295,7 @@ function Cw(n) {
16295
16295
  let t, e, i, s, o, r, a, l, c, h, u, f, m, v, p;
16296
16296
  return {
16297
16297
  c() {
16298
- t = L("div"), e = L("div"), i = $(), s = L("div"), o = L("i"), r = $(), a = L("i"), l = $(), c = L("i"), h = $(), u = L("div"), f = L("div"), P(e, "class", "PanoSpatialTagPlugin__tag-shadow svelte-9m6drd"), z(e, "transform", "translate(" + /*contentWidth*/
16298
+ t = L("div"), e = L("div"), i = ee(), s = L("div"), o = L("i"), r = ee(), a = L("i"), l = ee(), c = L("i"), h = ee(), u = L("div"), f = L("div"), P(e, "class", "PanoSpatialTagPlugin__tag-shadow svelte-9m6drd"), z(e, "transform", "translate(" + /*contentWidth*/
16299
16299
  n[7] / 2 * /*contentZoom*/
16300
16300
  n[3] * 3 + "px, " + /*contentHeight*/
16301
16301
  n[8] / 2 * /*upsideDown*/
@@ -16905,7 +16905,7 @@ function zw(n) {
16905
16905
  ), o, r, a, l, c, h;
16906
16906
  return {
16907
16907
  c() {
16908
- t = L("div"), e = L("div"), i = L("span"), o = De(s), r = $(), a = L("div"), P(i, "class", "item-label-item__text svelte-1wufped"), P(e, "class", "item-label-item__text-wrap svelte-1wufped"), z(e, "top", `-${/*itemLabel*/
16908
+ t = L("div"), e = L("div"), i = L("span"), o = xe(s), r = ee(), a = L("div"), P(i, "class", "item-label-item__text svelte-1wufped"), P(e, "class", "item-label-item__text-wrap svelte-1wufped"), z(e, "top", `-${/*itemLabel*/
16909
16909
  n[0].strokeLength + 26}px`), P(a, "class", "item-label-item__bar svelte-1wufped"), z(a, "height", `${/*itemLabel*/
16910
16910
  n[0].strokeLength}px`), P(t, "class", l = $e(Tt("item-label-item", { visible: (
16911
16911
  /*itemLabel*/
@@ -17135,10 +17135,10 @@ function _w(n, t, e) {
17135
17135
  const _ = U.map((Z) => {
17136
17136
  const J = A(N, Z), ae = Z.name.length * Rw, re = C(Z.modelPosition[1], c), ve = (r ? g(N, Z) : !0) && !I([J[0], J[1] + re], ae);
17137
17137
  if (!ve)
17138
- return ee(x({}, Z), { visible: ve });
17138
+ return $(x({}, Z), { visible: ve });
17139
17139
  v.push(J);
17140
17140
  const ge = w(J);
17141
- return ee(x({}, Z), {
17141
+ return $(x({}, Z), {
17142
17142
  visible: ve,
17143
17143
  transform: ge,
17144
17144
  strokeLength: re
@@ -17149,7 +17149,7 @@ function _w(n, t, e) {
17149
17149
  })).sort((Z, J) => Z.distance - J.distance);
17150
17150
  return _.map((Z) => {
17151
17151
  const J = Y.findIndex((ae) => ae.itemLabelItem.id === Z.id);
17152
- return J !== void 0 ? ee(x({}, Z), { zIndex: J * 10 }) : Z;
17152
+ return J !== void 0 ? $(x({}, Z), { zIndex: J * 10 }) : Z;
17153
17153
  });
17154
17154
  }, E = () => {
17155
17155
  v = [], e(1, u = M(o, u));
@@ -17473,7 +17473,7 @@ function Uw(n) {
17473
17473
  );
17474
17474
  return {
17475
17475
  c() {
17476
- h && h.c(), t = $(), e = L("div"), i = L("span"), o = De(s), r = $(), a = L("span"), c = De(l), P(i, "class", "item-model svelte-1jhufeh"), P(a, "class", "item-name svelte-1jhufeh"), P(e, "class", "item-label-text svelte-1jhufeh");
17476
+ h && h.c(), t = ee(), e = L("div"), i = L("span"), o = xe(s), r = ee(), a = L("span"), c = xe(l), P(i, "class", "item-model svelte-1jhufeh"), P(a, "class", "item-name svelte-1jhufeh"), P(e, "class", "item-label-text svelte-1jhufeh");
17477
17477
  },
17478
17478
  m(u, f) {
17479
17479
  h && h.m(u, f), V(u, t, f), V(u, e, f), j(e, i), j(i, o), j(e, r), j(e, a), j(a, c);
@@ -17542,7 +17542,7 @@ function Xw(n) {
17542
17542
  let f = u(n, -1), m = f(n);
17543
17543
  return {
17544
17544
  c() {
17545
- t = L("div"), e = L("div"), m.c(), o = $(), r = L("div"), P(e, "class", s = $e(Tt("item-label-item__text-wrap", {
17545
+ t = L("div"), e = L("div"), m.c(), o = ee(), r = L("div"), P(e, "class", s = $e(Tt("item-label-item__text-wrap", {
17546
17546
  "item-label-item__custom": typeof /*itemLabel*/
17547
17547
  n[0].render == "function"
17548
17548
  })) + " svelte-1jhufeh"), z(e, "bottom", `${/*itemLabel*/
@@ -17857,15 +17857,15 @@ function nC(n, t, e) {
17857
17857
  }, C = (U, _) => {
17858
17858
  const Y = _.map((J) => {
17859
17859
  if (U.state.panoIndex !== J.panoIndex)
17860
- return ee(x({}, J), { visible: !1 });
17860
+ return $(x({}, J), { visible: !1 });
17861
17861
  const ae = I(U, J);
17862
17862
  J.name.length * iC;
17863
17863
  const re = Kw(J.modelPosition[1], l), Pe = U.currentMode === pt.Mode.Panorama ? w(new i(J.position[0], J.position[1], J.position[2])) : !0, ve = o ? A(U, J) : !1, ge = Pe && !ve;
17864
17864
  if (!ge)
17865
- return ee(x({}, J), { visible: ge });
17865
+ return $(x({}, J), { visible: ge });
17866
17866
  p.push(ae);
17867
17867
  const Re = $w(ae);
17868
- return ee(x({}, J), {
17868
+ return $(x({}, J), {
17869
17869
  visible: ge,
17870
17870
  transform: Re,
17871
17871
  strokeLength: re
@@ -17876,7 +17876,7 @@ function nC(n, t, e) {
17876
17876
  })).sort((J, ae) => J.distance - ae.distance);
17877
17877
  return Y.map((J) => {
17878
17878
  const ae = Z.findIndex((re) => re.itemLabelItem.id === J.id);
17879
- return ae !== void 0 ? ee(x({}, J), { zIndex: ae * 10 }) : J;
17879
+ return ae !== void 0 ? $(x({}, J), { zIndex: ae * 10 }) : J;
17880
17880
  });
17881
17881
  }, M = () => {
17882
17882
  p = [], e(1, u = C(s, u));
@@ -17918,14 +17918,14 @@ function nC(n, t, e) {
17918
17918
  longitude: Math.PI + Math.atan2(ae.x, ae.z),
17919
17919
  latitude: Math.acos(ae.y / ae.length()) - Math.PI / 2
17920
17920
  };
17921
- s.setState(ee(x({}, re), {
17921
+ s.setState($(x({}, re), {
17922
17922
  mode: pt.Mode.Panorama,
17923
17923
  panoIndex: U.observerIndex
17924
17924
  })), s.once("initAnimationEnded", () => {
17925
- e(1, u = u.map((Pe) => ee(x({}, Pe), {
17925
+ e(1, u = u.map((Pe) => $(x({}, Pe), {
17926
17926
  isFold: Pe.id !== U.id
17927
17927
  }))), s.once("cameraUpdate", () => {
17928
- e(1, u = u.map((Pe) => ee(x({}, Pe), { isFold: !1 })));
17928
+ e(1, u = u.map((Pe) => $(x({}, Pe), { isFold: !1 })));
17929
17929
  });
17930
17930
  });
17931
17931
  }
@@ -17980,7 +17980,7 @@ class sC extends de {
17980
17980
  }
17981
17981
  }
17982
17982
  function oC(n) {
17983
- return n.item_labels.map((t) => ee(x({}, t), {
17983
+ return n.item_labels.map((t) => $(x({}, t), {
17984
17984
  modelPosition: [t.position[0], t.position[1], t.position[2]],
17985
17985
  observerIndex: void 0
17986
17986
  }));
@@ -18073,14 +18073,14 @@ class aC extends Hi {
18073
18073
  * @param options
18074
18074
  */
18075
18075
  enable(e) {
18076
- this.enabled = !0, this.updateState(ee(x({}, e), { userAction: !0 }));
18076
+ this.enabled = !0, this.updateState($(x({}, e), { userAction: !0 }));
18077
18077
  }
18078
18078
  /**
18079
18079
  * 禁用组件
18080
18080
  * @param options
18081
18081
  */
18082
18082
  disable(e) {
18083
- this.enabled = !1, this.updateState(ee(x({}, e), { userAction: !0 }));
18083
+ this.enabled = !1, this.updateState($(x({}, e), { userAction: !0 }));
18084
18084
  }
18085
18085
  /**
18086
18086
  * 显示 UI
@@ -18089,7 +18089,7 @@ class aC extends Hi {
18089
18089
  */
18090
18090
  show(e) {
18091
18091
  if (this.state.enabled)
18092
- return this.setState(ee(x({}, this.state), { visible: !0 }), e), Promise.resolve();
18092
+ return this.setState($(x({}, this.state), { visible: !0 }), e), Promise.resolve();
18093
18093
  }
18094
18094
  /**
18095
18095
  * 隐藏 UI
@@ -18098,7 +18098,7 @@ class aC extends Hi {
18098
18098
  */
18099
18099
  hide(e) {
18100
18100
  if (this.state.enabled)
18101
- return this.setState(ee(x({}, this.state), { visible: !1 }), e), Promise.resolve();
18101
+ return this.setState($(x({}, this.state), { visible: !1 }), e), Promise.resolve();
18102
18102
  }
18103
18103
  /**
18104
18104
  * 销毁对象
@@ -18125,7 +18125,7 @@ class aC extends Hi {
18125
18125
  this.enabled && (this.container = e, this.render());
18126
18126
  }
18127
18127
  updateState(e) {
18128
- this.setState(ee(x({}, this.state), { enabled: this.enabled, visible: this.visible }), e);
18128
+ this.setState($(x({}, this.state), { enabled: this.enabled, visible: this.visible }), e);
18129
18129
  }
18130
18130
  }
18131
18131
  function lC(n) {
@@ -18136,7 +18136,7 @@ function cC(n) {
18136
18136
  return {
18137
18137
  c() {
18138
18138
  t = L("div"), e = L("div"), i = L("span"), i.textContent = `${/*name*/
18139
- n[8]}`, s = $(), o = L("i"), P(i, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), P(o, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), P(e, "class", r = $e(Tt(
18139
+ n[8]}`, s = ee(), o = L("i"), P(i, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), P(o, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), P(e, "class", r = $e(Tt(
18140
18140
  "plugin-DoorLabelPlugin-cnt",
18141
18141
  /*props*/
18142
18142
  n[0].toward
@@ -18382,7 +18382,7 @@ class vC extends aC {
18382
18382
  toward: gC(h.rad)
18383
18383
  });
18384
18384
  });
18385
- }), this.labelItems = this.doorLabels.map((r) => ee(x({}, r), {
18385
+ }), this.labelItems = this.doorLabels.map((r) => $(x({}, r), {
18386
18386
  left: 0,
18387
18387
  top: 0,
18388
18388
  visible: !1,
@@ -19298,7 +19298,7 @@ function aP(n) {
19298
19298
  );
19299
19299
  return {
19300
19300
  c() {
19301
- t = L("span"), i = De(e), P(t, "class", "text-char svelte-1b2n9wi");
19301
+ t = L("span"), i = xe(e), P(t, "class", "text-char svelte-1b2n9wi");
19302
19302
  },
19303
19303
  m(a, l) {
19304
19304
  V(a, t, l), j(t, i), o();
@@ -19460,7 +19460,7 @@ function dP(n, t, e) {
19460
19460
  return T;
19461
19461
  }();
19462
19462
  v = qo({
19463
- targets: E.slice(0, S).filter(xe),
19463
+ targets: E.slice(0, S).filter(De),
19464
19464
  autoplay: !1,
19465
19465
  duration: 400,
19466
19466
  scale: [0.7, 1],
@@ -19535,7 +19535,7 @@ function Ud(n) {
19535
19535
  }
19536
19536
  }), {
19537
19537
  c() {
19538
- t = L("div"), oe(e.$$.fragment), i = $(), s = L("div"), P(s, "class", o = "arrow " + /*direction*/
19538
+ t = L("div"), oe(e.$$.fragment), i = ee(), s = L("div"), P(s, "class", o = "arrow " + /*direction*/
19539
19539
  n[0] + " svelte-1ogmlqq"), z(s, "background-image", "url(" + Gw + ")"), P(t, "class", "arrow-wrapper svelte-1ogmlqq");
19540
19540
  },
19541
19541
  m(u, f) {
@@ -19763,7 +19763,7 @@ function AP(n) {
19763
19763
  );
19764
19764
  return {
19765
19765
  c() {
19766
- s && s.c(), t = $(), o && o.c(), e = Ee();
19766
+ s && s.c(), t = ee(), o && o.c(), e = Ee();
19767
19767
  },
19768
19768
  m(r, a) {
19769
19769
  s && s.m(r, a), V(r, t, a), o && o.m(r, a), V(r, e, a), i = !0;
@@ -19890,7 +19890,7 @@ function Zd(n) {
19890
19890
  }
19891
19891
  }), {
19892
19892
  c() {
19893
- oe(t.$$.fragment), e = $(), oe(i.$$.fragment), s = $(), o = L("div"), oe(r.$$.fragment), P(o, "class", "content svelte-5hip41");
19893
+ oe(t.$$.fragment), e = ee(), oe(i.$$.fragment), s = ee(), o = L("div"), oe(r.$$.fragment), P(o, "class", "content svelte-5hip41");
19894
19894
  },
19895
19895
  m(f, m) {
19896
19896
  ie(t, f, m), V(f, e, m), ie(i, f, m), V(f, s, m), V(f, o, m), ie(r, o, null), a = !0, l || (c = [
@@ -20096,7 +20096,7 @@ function MP(n) {
20096
20096
  ((r = n[3]) == null ? void 0 : r.placeholder) == "string" && qd(n);
20097
20097
  return {
20098
20098
  c() {
20099
- i && i.c(), t = $(), s && s.c(), e = Ee();
20099
+ i && i.c(), t = ee(), s && s.c(), e = Ee();
20100
20100
  },
20101
20101
  m(a, l) {
20102
20102
  i && i.m(a, l), V(a, t, l), s && s.m(a, l), V(a, e, l);
@@ -20118,7 +20118,7 @@ function kP(n) {
20118
20118
  let t;
20119
20119
  return {
20120
20120
  c() {
20121
- t = De(
20121
+ t = xe(
20122
20122
  /*text*/
20123
20123
  n[2]
20124
20124
  );
@@ -20162,7 +20162,7 @@ function qd(n) {
20162
20162
  ), i;
20163
20163
  return {
20164
20164
  c() {
20165
- t = L("span"), i = De(e), P(t, "class", "placeholder svelte-1j0cz4o");
20165
+ t = L("span"), i = xe(e), P(t, "class", "placeholder svelte-1j0cz4o");
20166
20166
  },
20167
20167
  m(s, o) {
20168
20168
  V(s, t, o), j(t, i);
@@ -20307,7 +20307,7 @@ function Kd(n) {
20307
20307
  );
20308
20308
  return {
20309
20309
  c() {
20310
- oe(t.$$.fragment), e = $(), i = L("div"), s = L("div"), o = L("div"), r = L("div"), oe(a.$$.fragment), l = $(), h && h.c(), P(r, "class", "title svelte-1oxrkr1"), P(o, "class", "plane svelte-1oxrkr1"), P(s, "class", "plane__wrapper svelte-1oxrkr1"), z(
20310
+ oe(t.$$.fragment), e = ee(), i = L("div"), s = L("div"), o = L("div"), r = L("div"), oe(a.$$.fragment), l = ee(), h && h.c(), P(r, "class", "title svelte-1oxrkr1"), P(o, "class", "plane svelte-1oxrkr1"), P(s, "class", "plane__wrapper svelte-1oxrkr1"), z(
20311
20311
  s,
20312
20312
  "transform",
20313
20313
  /*unfolded*/
@@ -20774,7 +20774,7 @@ function iu(n, t) {
20774
20774
  key: n,
20775
20775
  first: null,
20776
20776
  c() {
20777
- e = L("div"), oe(i.$$.fragment), s = $(), P(e, "class", "sc-carousel-dots__dot-container svelte-670fde"), this.first = e;
20777
+ e = L("div"), oe(i.$$.fragment), s = ee(), P(e, "class", "sc-carousel-dots__dot-container svelte-670fde"), this.first = e;
20778
20778
  },
20779
20779
  m(a, l) {
20780
20780
  V(a, e, l), ie(i, e, null), j(e, s), o = !0;
@@ -21319,7 +21319,7 @@ function zI({
21319
21319
  head: 0,
21320
21320
  tail: 0
21321
21321
  };
21322
- return ee(x({}, i), {
21322
+ return $(x({}, i), {
21323
21323
  total: i.head + i.tail
21324
21324
  });
21325
21325
  }
@@ -23305,7 +23305,7 @@ function eE(n) {
23305
23305
  );
23306
23306
  return {
23307
23307
  c() {
23308
- t = L("div"), e = L("div"), m && m.c(), i = $(), s = L("div"), o = L("div"), p && p.c(), a = $(), g && g.c(), l = $(), A && A.c(), c = $(), w && w.c(), P(o, "class", "sc-carousel__pages-container svelte-sme1z4"), z(o, "transform", "translateX(" + /*offset*/
23308
+ t = L("div"), e = L("div"), m && m.c(), i = ee(), s = L("div"), o = L("div"), p && p.c(), a = ee(), g && g.c(), l = ee(), A && A.c(), c = ee(), w && w.c(), P(o, "class", "sc-carousel__pages-container svelte-sme1z4"), z(o, "transform", "translateX(" + /*offset*/
23309
23309
  n[8] + "px)"), z(
23310
23310
  o,
23311
23311
  "transition-duration",
@@ -23692,7 +23692,7 @@ function sE(n) {
23692
23692
  let l = a(n), c = l(n);
23693
23693
  return {
23694
23694
  c() {
23695
- c.c(), t = $(), e = L("div"), i = L("div"), s = L("div"), P(s, "class", "video-icon-img svelte-159ski6"), z(s, "background-image", "url(" + /*func*/
23695
+ c.c(), t = ee(), e = L("div"), i = L("div"), s = L("div"), P(s, "class", "video-icon-img svelte-159ski6"), z(s, "background-image", "url(" + /*func*/
23696
23696
  n[21]() + ")"), te(
23697
23697
  s,
23698
23698
  "canPlay",
@@ -24568,7 +24568,7 @@ function Eu(n) {
24568
24568
  );
24569
24569
  return {
24570
24570
  c() {
24571
- oe(t.$$.fragment), e = $(), i = L("div"), oe(s.$$.fragment), o = $(), c && c.c(), r = $(), h && h.c(), a = Ee(), P(i, "class", "line svelte-1f7m1lj");
24571
+ oe(t.$$.fragment), e = ee(), i = L("div"), oe(s.$$.fragment), o = ee(), c && c.c(), r = ee(), h && h.c(), a = Ee(), P(i, "class", "line svelte-1f7m1lj");
24572
24572
  },
24573
24573
  m(u, f) {
24574
24574
  ie(t, u, f), V(u, e, f), V(u, i, f), ie(s, i, null), V(u, o, f), c && c.m(u, f), V(u, r, f), h && h.m(u, f), V(u, a, f), l = !0;
@@ -24793,7 +24793,7 @@ function Tu(n) {
24793
24793
  t = L("div"), e = L("div");
24794
24794
  for (let h = 0; h < a.length; h += 1)
24795
24795
  a[h].c();
24796
- i = $();
24796
+ i = ee();
24797
24797
  for (let h = 0; h < c.length; h += 1)
24798
24798
  c[h].c();
24799
24799
  P(e, "class", "tags svelte-sezqcq"), P(t, "class", "tags-wrapper svelte-sezqcq");
@@ -24855,7 +24855,7 @@ function Lu(n) {
24855
24855
  ), i;
24856
24856
  return {
24857
24857
  c() {
24858
- t = L("div"), i = De(e), P(t, "class", "tag primary-tag svelte-sezqcq"), z(t, "min-width", wc);
24858
+ t = L("div"), i = xe(e), P(t, "class", "tag primary-tag svelte-sezqcq"), z(t, "min-width", wc);
24859
24859
  },
24860
24860
  m(s, o) {
24861
24861
  V(s, t, o), j(t, i);
@@ -24877,7 +24877,7 @@ function zu(n) {
24877
24877
  ), i;
24878
24878
  return {
24879
24879
  c() {
24880
- t = L("div"), i = De(e), P(t, "class", "tag secondary-tag svelte-sezqcq"), z(t, "min-width", wc);
24880
+ t = L("div"), i = xe(e), P(t, "class", "tag secondary-tag svelte-sezqcq"), z(t, "min-width", wc);
24881
24881
  },
24882
24882
  m(s, o) {
24883
24883
  V(s, t, o), j(t, i);
@@ -24902,7 +24902,7 @@ function ju(n) {
24902
24902
  );
24903
24903
  return {
24904
24904
  c() {
24905
- t = L("div"), i && i.c(), e = $(), s && s.c(), P(t, "class", "footer svelte-sezqcq");
24905
+ t = L("div"), i && i.c(), e = ee(), s && s.c(), P(t, "class", "footer svelte-sezqcq");
24906
24906
  },
24907
24907
  m(o, r) {
24908
24908
  V(o, t, r), i && i.m(t, null), j(t, e), s && s.m(t, null);
@@ -24927,7 +24927,7 @@ function Ou(n) {
24927
24927
  );
24928
24928
  return {
24929
24929
  c() {
24930
- t = L("div"), e = L("span"), s = De(i), o = $(), r && r.c(), P(e, "class", "value svelte-sezqcq"), P(t, "class", "price svelte-sezqcq");
24930
+ t = L("div"), e = L("span"), s = xe(i), o = ee(), r && r.c(), P(e, "class", "value svelte-sezqcq"), P(t, "class", "price svelte-sezqcq");
24931
24931
  },
24932
24932
  m(a, l) {
24933
24933
  V(a, t, l), j(t, e), j(e, s), j(t, o), r && r.m(t, null);
@@ -24950,7 +24950,7 @@ function Bu(n) {
24950
24950
  ), i;
24951
24951
  return {
24952
24952
  c() {
24953
- t = L("span"), i = De(e), P(t, "class", "unit svelte-sezqcq");
24953
+ t = L("span"), i = xe(e), P(t, "class", "unit svelte-sezqcq");
24954
24954
  },
24955
24955
  m(s, o) {
24956
24956
  V(s, t, o), j(t, i);
@@ -24972,7 +24972,7 @@ function Vu(n) {
24972
24972
  ), r, a, l;
24973
24973
  return {
24974
24974
  c() {
24975
- t = L("div"), e = L("div"), i = $(), s = L("span"), r = De(o), a = $(), l = L("div"), l.innerHTML = '<svg class="arrow svelte-sezqcq" viewBox="0 0 6 9"><g transform="translate(-3, -2)" fill-rule="nonzero" class="svelte-sezqcq"><path d="M4.43868724,2.12056563 C4.28121824,1.95989074 4.02582143,1.95979988 3.86824251,2.1203627 C3.72498894,2.26632889 3.71189225,2.49481723 3.82900374,2.65587166 L6.57092402,5.92894326 C6.72651763,6.11470411 6.72651763,6.38529589 6.57092402,6.57105674 L3.86804348,9.79798499 C3.72488984,9.94405307 3.71194952,10.1725507 3.8291712,10.3335217 L3.86824251,10.3796373 C4.01149607,10.5256035 4.23559087,10.5387981 4.39346025,10.4192733 L4.43868724,10.3794344 L8.1144599,6.5985342 C8.30312347,6.40447482 8.30312347,6.09552518 8.1144599,5.9014658 L4.43868724,2.12056563 Z" class="svelte-sezqcq"></path></g></svg>', P(e, "class", "gap svelte-sezqcq"), P(s, "class", "text svelte-sezqcq"), P(t, "class", "goto-button goto-icon svelte-sezqcq"), P(l, "class", "arrow-wrapper svelte-sezqcq");
24975
+ t = L("div"), e = L("div"), i = ee(), s = L("span"), r = xe(o), a = ee(), l = L("div"), l.innerHTML = '<svg class="arrow svelte-sezqcq" viewBox="0 0 6 9"><g transform="translate(-3, -2)" fill-rule="nonzero" class="svelte-sezqcq"><path d="M4.43868724,2.12056563 C4.28121824,1.95989074 4.02582143,1.95979988 3.86824251,2.1203627 C3.72498894,2.26632889 3.71189225,2.49481723 3.82900374,2.65587166 L6.57092402,5.92894326 C6.72651763,6.11470411 6.72651763,6.38529589 6.57092402,6.57105674 L3.86804348,9.79798499 C3.72488984,9.94405307 3.71194952,10.1725507 3.8291712,10.3335217 L3.86824251,10.3796373 C4.01149607,10.5256035 4.23559087,10.5387981 4.39346025,10.4192733 L4.43868724,10.3794344 L8.1144599,6.5985342 C8.30312347,6.40447482 8.30312347,6.09552518 8.1144599,5.9014658 L4.43868724,2.12056563 Z" class="svelte-sezqcq"></path></g></svg>', P(e, "class", "gap svelte-sezqcq"), P(s, "class", "text svelte-sezqcq"), P(t, "class", "goto-button goto-icon svelte-sezqcq"), P(l, "class", "arrow-wrapper svelte-sezqcq");
24976
24976
  },
24977
24977
  m(c, h) {
24978
24978
  V(c, t, h), j(t, e), j(t, i), j(t, s), j(s, r), V(c, a, h), V(c, l, h);
@@ -25020,7 +25020,7 @@ function wE(n) {
25020
25020
  );
25021
25021
  return {
25022
25022
  c() {
25023
- t = L("div"), oe(e.$$.fragment), i = $(), s = L("div"), o = $(), r = L("div"), A && A.c(), a = $(), l = L("div"), c = L("div"), h = L("div"), f = De(u), m = $(), w && w.c(), v = $(), I && I.c(), P(s, "class", "line svelte-sezqcq"), z(
25023
+ t = L("div"), oe(e.$$.fragment), i = ee(), s = L("div"), o = ee(), r = L("div"), A && A.c(), a = ee(), l = L("div"), c = L("div"), h = L("div"), f = xe(u), m = ee(), w && w.c(), v = ee(), I && I.c(), P(s, "class", "line svelte-sezqcq"), z(
25024
25024
  s,
25025
25025
  "transition-delay",
25026
25026
  /*unfolded*/
@@ -25121,7 +25121,7 @@ function CE(n, t, e) {
25121
25121
  1 && e(4, i = (g = (p = u.state) == null ? void 0 : p.unfolded) != null ? g : !1), n.$$.dirty & /*unfolded*/
25122
25122
  16 && e(8, s = !i), n.$$.dirty & /*tag*/
25123
25123
  1 && e(3, o = u.data), n.$$.dirty & /*data*/
25124
- 8 && e(7, r = xe((A = o.price) == null ? void 0 : A.value) && ((w = o.price) == null ? void 0 : w.value) !== ""), n.$$.dirty & /*tag*/
25124
+ 8 && e(7, r = De((A = o.price) == null ? void 0 : A.value) && ((w = o.price) == null ? void 0 : w.value) !== ""), n.$$.dirty & /*tag*/
25125
25125
  1 && e(6, a = u.data.theme || "light"), n.$$.dirty & /*tagsOffsetHeight, maxTagsLength*/
25126
25126
  1026 && f > 40 && e(10, l = l - 1), n.$$.dirty & /*data, maxTagsLength*/
25127
25127
  1032 && e(2, c = ((I = o.brandTags) == null ? void 0 : I.slice(0, l).filter(Boolean)) || []), n.$$.dirty & /*data, maxTagsLength, primaryTags*/
@@ -25440,7 +25440,7 @@ function DE(n) {
25440
25440
  );
25441
25441
  return {
25442
25442
  c() {
25443
- t = L("div"), r && r.c(), e = $(), i = L("div"), s = L("div"), s.innerHTML = '<svg width="100%" height="100%" viewBox="0 0 128 128"><g transform="rotate(-45 12 64) translate(12 64)" fill="black" stroke="black" fill-opacity="0.6" stroke-opacity="0.6"><path stroke="none" class="sound-wave sound-wave-1 svelte-srt2pi" d="M0,23 A23,23 0 0,0 23,0 L0,0"></path><path fill="none" stroke-width="15" class="sound-wave sound-wave-2 svelte-srt2pi" d="M0,46 A46,46 0 0,0 46,0"></path><path fill="none" stroke-width="15" class="sound-wave sound-wave-3 svelte-srt2pi" d="M0,80 A80,80 0 0,0 80,0"></path></g></svg>', P(s, "class", "sound-wave__container svelte-srt2pi"), P(i, "class", "audio-icon svelte-srt2pi"), te(
25443
+ t = L("div"), r && r.c(), e = ee(), i = L("div"), s = L("div"), s.innerHTML = '<svg width="100%" height="100%" viewBox="0 0 128 128"><g transform="rotate(-45 12 64) translate(12 64)" fill="black" stroke="black" fill-opacity="0.6" stroke-opacity="0.6"><path stroke="none" class="sound-wave sound-wave-1 svelte-srt2pi" d="M0,23 A23,23 0 0,0 23,0 L0,0"></path><path fill="none" stroke-width="15" class="sound-wave sound-wave-2 svelte-srt2pi" d="M0,46 A46,46 0 0,0 46,0"></path><path fill="none" stroke-width="15" class="sound-wave sound-wave-3 svelte-srt2pi" d="M0,80 A80,80 0 0,0 80,0"></path></g></svg>', P(s, "class", "sound-wave__container svelte-srt2pi"), P(i, "class", "audio-icon svelte-srt2pi"), te(
25444
25444
  i,
25445
25445
  "playing",
25446
25446
  /*playing*/
@@ -25620,7 +25620,7 @@ function Nu(n) {
25620
25620
  }
25621
25621
  }), {
25622
25622
  c() {
25623
- t = L("div"), oe(e.$$.fragment), i = $(), s = L("div"), o = L("div"), r = L("div"), p && p.c(), a = $(), l = L("div"), oe(c.$$.fragment), h = $(), oe(u.$$.fragment), P(r, "class", "audio-icon svelte-1s6gk4a"), z(l, "display", "inline-block"), P(o, "class", "wrapper svelte-1s6gk4a"), P(s, "class", "content svelte-1s6gk4a"), P(t, "class", "audio-tag svelte-1s6gk4a"), te(
25623
+ t = L("div"), oe(e.$$.fragment), i = ee(), s = L("div"), o = L("div"), r = L("div"), p && p.c(), a = ee(), l = L("div"), oe(c.$$.fragment), h = ee(), oe(u.$$.fragment), P(r, "class", "audio-icon svelte-1s6gk4a"), z(l, "display", "inline-block"), P(o, "class", "wrapper svelte-1s6gk4a"), P(s, "class", "content svelte-1s6gk4a"), P(t, "class", "audio-tag svelte-1s6gk4a"), te(
25624
25624
  t,
25625
25625
  "unfolded",
25626
25626
  /*unfolded*/
@@ -25737,7 +25737,7 @@ function Hu(n) {
25737
25737
  n[11]
25738
25738
  ), {
25739
25739
  c() {
25740
- t = L("div"), oe(e.$$.fragment), i = $(), oe(s.$$.fragment), P(t, "class", "audio svelte-1s6gk4a");
25740
+ t = L("div"), oe(e.$$.fragment), i = ee(), oe(s.$$.fragment), P(t, "class", "audio svelte-1s6gk4a");
25741
25741
  },
25742
25742
  m(l, c) {
25743
25743
  V(l, t, c), ie(e, t, null), j(t, i), ie(s, t, null), a = !0;
@@ -25992,7 +25992,7 @@ function VE(n) {
25992
25992
  let t;
25993
25993
  return {
25994
25994
  c() {
25995
- t = De(
25995
+ t = xe(
25996
25996
  /*title*/
25997
25997
  n[5]
25998
25998
  );
@@ -26027,7 +26027,7 @@ function RE(n) {
26027
26027
  }
26028
26028
  }), {
26029
26029
  c() {
26030
- t = L("div"), e = L("div"), oe(i.$$.fragment), s = $(), o = L("div"), oe(r.$$.fragment), P(e, "class", "audio-icon__wrapper svelte-58hfjf"), P(o, "class", "text svelte-58hfjf"), P(t, "class", "audio__inner svelte-58hfjf");
26030
+ t = L("div"), e = L("div"), oe(i.$$.fragment), s = ee(), o = L("div"), oe(r.$$.fragment), P(e, "class", "audio-icon__wrapper svelte-58hfjf"), P(o, "class", "text svelte-58hfjf"), P(t, "class", "audio__inner svelte-58hfjf");
26031
26031
  },
26032
26032
  m(l, c) {
26033
26033
  V(l, t, c), j(t, e), ie(i, e, null), j(t, s), j(t, o), ie(r, o, null), a = !0;
@@ -26422,7 +26422,7 @@ function qE(n) {
26422
26422
  const r = Pg(t);
26423
26423
  return Va.set(t, r), r;
26424
26424
  })(), { width: s, height: o } = yield i;
26425
- return ee(x({}, n), {
26425
+ return $(x({}, n), {
26426
26426
  width: s / e,
26427
26427
  height: o / e
26428
26428
  });
@@ -26434,7 +26434,7 @@ function KE(n) {
26434
26434
  if (!t)
26435
26435
  throw new Error("KeyframeIcon requires steps");
26436
26436
  const { width: o, height: r } = yield Pg(e), a = o / i, l = r / i, c = a / t, h = l, u = 1 / s * t + "s";
26437
- return ee(x({}, n), {
26437
+ return $(x({}, n), {
26438
26438
  width: c,
26439
26439
  height: h,
26440
26440
  duration: u
@@ -26464,7 +26464,7 @@ function Yu(n) {
26464
26464
  let r = o(n), a = r(n);
26465
26465
  return {
26466
26466
  c() {
26467
- t = L("div"), s && s.c(), e = $(), a.c(), P(t, "class", "icon"), z(
26467
+ t = L("div"), s && s.c(), e = ee(), a.c(), P(t, "class", "icon"), z(
26468
26468
  t,
26469
26469
  "width",
26470
26470
  /*width*/
@@ -26837,7 +26837,7 @@ function lM(n) {
26837
26837
  }
26838
26838
  function On(n) {
26839
26839
  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;
26840
- return ee(x({}, n), { width: o, height: r });
26840
+ return $(x({}, n), { width: o, height: r });
26841
26841
  }
26842
26842
  function cM(n, t, e) {
26843
26843
  let i, s, o, r, a, l, c, h, u, { width: f = null } = t, { icon: m = null } = t, { shadow: v = !1 } = t;
@@ -26851,7 +26851,7 @@ function cM(n, t, e) {
26851
26851
  function A(I) {
26852
26852
  return Q(this, null, function* () {
26853
26853
  if (typeof u == "number")
26854
- return ee(x({}, I), { width: u });
26854
+ return $(x({}, I), { width: u });
26855
26855
  const C = yield qE(I);
26856
26856
  return p("iconLoaded", C), C;
26857
26857
  });
@@ -26920,7 +26920,7 @@ function Zu(n) {
26920
26920
  }
26921
26921
  }), {
26922
26922
  c() {
26923
- t = L("div"), oe(e.$$.fragment), i = $(), s = L("div"), o = De(
26923
+ t = L("div"), oe(e.$$.fragment), i = ee(), s = L("div"), o = xe(
26924
26924
  /*title*/
26925
26925
  n[1]
26926
26926
  ), P(s, "class", "text svelte-e58ijk"), P(t, "class", "text-wrapper svelte-e58ijk");
@@ -26966,7 +26966,7 @@ function dM(n) {
26966
26966
  );
26967
26967
  return {
26968
26968
  c() {
26969
- t = L("div"), oe(e.$$.fragment), i = $(), o && o.c(), P(t, "class", "wrapper svelte-e58ijk");
26969
+ t = L("div"), oe(e.$$.fragment), i = ee(), o && o.c(), P(t, "class", "wrapper svelte-e58ijk");
26970
26970
  },
26971
26971
  m(r, a) {
26972
26972
  V(r, t, a), ie(e, t, null), j(t, i), o && o.m(t, null), s = !0;
@@ -27022,7 +27022,7 @@ function Ju(n) {
27022
27022
  );
27023
27023
  return {
27024
27024
  c() {
27025
- t = L("div"), e = L("div"), r && r.c(), i = $(), s = L("div"), P(e, "class", "media-item svelte-155de2y"), P(e, "draggable", "false"), P(s, "class", "line svelte-155de2y"), P(t, "class", "wrapper svelte-155de2y");
27025
+ t = L("div"), e = L("div"), r && r.c(), i = ee(), s = L("div"), P(e, "class", "media-item svelte-155de2y"), P(e, "draggable", "false"), P(s, "class", "line svelte-155de2y"), P(t, "class", "wrapper svelte-155de2y");
27026
27026
  },
27027
27027
  m(a, l) {
27028
27028
  V(a, t, l), j(t, e), r && r.m(e, null), j(t, i), j(t, s), o = !0;
@@ -27059,7 +27059,7 @@ function qu(n) {
27059
27059
  }), {
27060
27060
  c() {
27061
27061
  var c;
27062
- oe(t.$$.fragment), e = $(), i = L("img"), r = $(), a = L("div"), P(i, "class", "media-content svelte-155de2y"), ht(i.src, s = /*media*/
27062
+ oe(t.$$.fragment), e = ee(), i = L("img"), r = ee(), a = L("div"), P(i, "class", "media-content svelte-155de2y"), ht(i.src, s = /*media*/
27063
27063
  (c = n[0].thumbnail) != null ? c : (
27064
27064
  /*media*/
27065
27065
  n[0].url
@@ -27644,7 +27644,7 @@ function _a(n, t, e) {
27644
27644
  const C = h[w];
27645
27645
  h[w] = Ge({}, l, C, ...Object.values(I), a, { _isMerged: !0 });
27646
27646
  });
27647
- const f = ee(x({}, c), { configWithFiveMode: h });
27647
+ const f = $(x({}, c), { configWithFiveMode: h });
27648
27648
  return $u(f), Object.values(h).forEach((w) => $u(w)), f._isMerged = !0, f;
27649
27649
  }
27650
27650
  function ef(n) {
@@ -28086,7 +28086,7 @@ class Cc {
28086
28086
  if ((() => {
28087
28087
  var r;
28088
28088
  const o = i();
28089
- if (xe((r = this.fiveState) == null ? void 0 : r.panoIndex) && t.entryFromModel) {
28089
+ if (De((r = this.fiveState) == null ? void 0 : r.panoIndex) && t.entryFromModel) {
28090
28090
  if (Gt(e) && o ? this.entryFromModel = !1 : this.entryFromModel = !0, Gt(e))
28091
28091
  return !0;
28092
28092
  } else
@@ -28126,7 +28126,7 @@ class Cc {
28126
28126
  const M = this.plugin.tags.filter(si).map((S) => {
28127
28127
  var T;
28128
28128
  return (T = S.model) == null ? void 0 : T.object;
28129
- }).filter(xe), [E] = vi.intersectObjects(M, !0);
28129
+ }).filter(De), [E] = vi.intersectObjects(M, !0);
28130
28130
  return E;
28131
28131
  })(), A = s.distanceTo(f), w = (c = e.distanceAccuracy) != null ? c : 0.01;
28132
28132
  v = Math.min(v != null ? v : 1 / 0, (h = g == null ? void 0 : g.distance) != null ? h : 1 / 0), v + w >= A ? r++ : a++;
@@ -28204,7 +28204,7 @@ class Cc {
28204
28204
  }).map((a) => ({ tag: a, id: a.id, tagConfig: a.getConfig().unfoldedConfig })).filter(({ tagConfig: a }) => {
28205
28205
  var l, c;
28206
28206
  return !(typeof a == "function" || a.keep || a.autoUnfold === !1 || ((l = a.autoUnfold) == null ? void 0 : l.enable) === !1 || ((c = a.autoUnfold) == null ? void 0 : c.strategy) !== "MinimumDistance");
28207
- }).map((a) => ee(x({}, a), { distance: a.tag.getDistance() })).filter(({ distance: a, tagConfig: l }) => {
28207
+ }).map((a) => $(x({}, a), { distance: a.tag.getDistance() })).filter(({ distance: a, tagConfig: l }) => {
28208
28208
  const c = l.autoUnfold.distance;
28209
28209
  return !(c && Ro(a, c) === !1);
28210
28210
  }).sort((a, l) => a.distance - l.distance).findIndex((a) => a.id === this.id);
@@ -28244,7 +28244,7 @@ class Cc {
28244
28244
  return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
28245
28245
  if (!this.enabled)
28246
28246
  return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
28247
- const t = ee(x({}, this.computeVisible()), {
28247
+ const t = $(x({}, this.computeVisible()), {
28248
28248
  tagInstance: this
28249
28249
  });
28250
28250
  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 };
@@ -29561,7 +29561,7 @@ function s3(n) {
29561
29561
  n[7]
29562
29562
  ), {
29563
29563
  c() {
29564
- t = L("div"), e = L("div"), i = $(), oe(s.$$.fragment), o = $(), r = L("div"), a = $(), l = L("div"), oe(c.$$.fragment), P(e, "class", "tag-point-click-helper svelte-7aiuwz"), P(r, "class", "tag-unfolded-point svelte-7aiuwz"), z(
29564
+ t = L("div"), e = L("div"), i = ee(), oe(s.$$.fragment), o = ee(), r = L("div"), a = ee(), l = L("div"), oe(c.$$.fragment), P(e, "class", "tag-point-click-helper svelte-7aiuwz"), P(r, "class", "tag-unfolded-point svelte-7aiuwz"), z(
29565
29565
  r,
29566
29566
  "transition-delay",
29567
29567
  /*folded*/
@@ -29727,7 +29727,7 @@ function tf(n) {
29727
29727
  }
29728
29728
  return o = p(n), r = v[o] = m[o](n), {
29729
29729
  c() {
29730
- t = L("div"), i.c(), s = $(), r.c(), P(t, "class", "tag svelte-2g2g8a"), P(
29730
+ t = L("div"), i.c(), s = ee(), r.c(), P(t, "class", "tag svelte-2g2g8a"), P(
29731
29731
  t,
29732
29732
  "data-tag-id",
29733
29733
  /*id*/
@@ -30321,7 +30321,7 @@ class wl extends JM {
30321
30321
  });
30322
30322
  d(this, "handleFivePanoArrived", () => Q(this, null, function* () {
30323
30323
  this.tags.forEach((e) => {
30324
- e.state.visible = !1, e.temporaryState = ee(x({}, e.temporaryState), { visible: !0 }), e.applyVisible(), e.updateVisible();
30324
+ e.state.visible = !1, e.temporaryState = $(x({}, e.temporaryState), { visible: !0 }), e.applyVisible(), e.updateVisible();
30325
30325
  }), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }), yield this.setUnfolded(), this.updateRender3DDomTag(), this.tags.filter(GC).filter((e) => {
30326
30326
  var i;
30327
30327
  return (i = e.getConfig().modelConfig) == null ? void 0 : i.autoLookAtEnabled;
@@ -30373,7 +30373,7 @@ class wl extends JM {
30373
30373
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
30374
30374
  this.TagContainerSvelte = new A3({
30375
30375
  target: this.container,
30376
- props: ee(x({}, a), { state: ee(x({}, this.state), { enabled: !1 }) })
30376
+ props: $(x({}, a), { state: $(x({}, this.state), { enabled: !1 }) })
30377
30377
  }), oo(() => {
30378
30378
  var l;
30379
30379
  (l = this.TagContainerSvelte) == null || l.$set({ state: this.state });
@@ -30697,7 +30697,7 @@ function rf(n) {
30697
30697
  let t, e;
30698
30698
  return {
30699
30699
  c() {
30700
- t = L("div"), e = De(
30700
+ t = L("div"), e = xe(
30701
30701
  /*text*/
30702
30702
  n[0]
30703
30703
  ), P(t, "class", "guide-line__tag-text svelte-4qjwer"), z(t, "border-image-source", `url(${/*text_background_url*/
@@ -30732,13 +30732,13 @@ function af(n) {
30732
30732
  );
30733
30733
  return {
30734
30734
  c() {
30735
- t = L("div"), p && p.c(), e = $(), i = L("div"), s = L("span"), r = De(o), a = De(
30735
+ t = L("div"), p && p.c(), e = ee(), i = L("div"), s = L("span"), r = xe(o), a = xe(
30736
30736
  /*distance*/
30737
30737
  n[2]
30738
- ), c = De(l), h = $(), u = L("span"), f = De(
30738
+ ), c = xe(l), h = ee(), u = L("span"), f = xe(
30739
30739
  /*text*/
30740
30740
  n[0]
30741
- ), m = $(), v = L("div"), P(s, "class", "distance svelte-4qjwer"), P(u, "class", "name svelte-4qjwer"), P(i, "class", "distance-and-name svelte-4qjwer"), P(v, "class", "border svelte-4qjwer"), P(t, "class", "text-with-distance svelte-4qjwer");
30741
+ ), m = ee(), v = L("div"), P(s, "class", "distance svelte-4qjwer"), P(u, "class", "name svelte-4qjwer"), P(i, "class", "distance-and-name svelte-4qjwer"), P(v, "class", "border svelte-4qjwer"), P(t, "class", "text-with-distance svelte-4qjwer");
30742
30742
  },
30743
30743
  m(g, A) {
30744
30744
  V(g, t, A), p && p.m(t, null), j(t, e), j(t, i), j(i, s), j(s, r), j(s, a), j(s, c), j(i, h), j(i, u), j(u, f), j(t, m), j(t, v);
@@ -30770,7 +30770,7 @@ function lf(n) {
30770
30770
  let t, e;
30771
30771
  return {
30772
30772
  c() {
30773
- t = L("span"), e = De(
30773
+ t = L("span"), e = xe(
30774
30774
  /*name*/
30775
30775
  n[4]
30776
30776
  ), P(t, "class", "line-name svelte-4qjwer");
@@ -30802,7 +30802,7 @@ function y3(n) {
30802
30802
  );
30803
30803
  return {
30804
30804
  c() {
30805
- t = L("div"), e = L("div"), i = $(), s = L("div"), o = $(), r = L("div"), a = L("div"), l = $(), h && h.c(), c = $(), u && u.c(), P(e, "class", "guide-line__tag-point svelte-4qjwer"), P(s, "class", "guide-line__tag-line svelte-4qjwer"), P(a, "class", "guide-line__tag-icon svelte-4qjwer"), z(a, "background-image", `url(${/*icon_url*/
30805
+ t = L("div"), e = L("div"), i = ee(), s = L("div"), o = ee(), r = L("div"), a = L("div"), l = ee(), h && h.c(), c = ee(), u && u.c(), P(e, "class", "guide-line__tag-point svelte-4qjwer"), P(s, "class", "guide-line__tag-line svelte-4qjwer"), P(a, "class", "guide-line__tag-icon svelte-4qjwer"), z(a, "background-image", `url(${/*icon_url*/
30806
30806
  n[1]})`), P(r, "class", "guide-line__tag-content svelte-4qjwer"), P(t, "class", "guide-line__tag svelte-4qjwer"), z(
30807
30807
  t,
30808
30808
  "opacity",
@@ -31174,7 +31174,7 @@ class Cl {
31174
31174
  return this.logError("setPathByPanoGroup: work is not ready");
31175
31175
  const i = P3(t);
31176
31176
  if (this._panoGroup = i, (e == null ? void 0 : e.skipPanoGroup) !== void 0) {
31177
- const o = e.skipPanoGroup ? i.map((r) => this.plugin.workUtil.getObserverStandingPosition(r)).filter(xe) : null;
31177
+ const o = e.skipPanoGroup ? i.map((r) => this.plugin.workUtil.getObserverStandingPosition(r)).filter(De) : null;
31178
31178
  this.skippedPositions = o;
31179
31179
  }
31180
31180
  const s = this.getPathFromPanoGroup(i, this.five.work, e);
@@ -31355,7 +31355,7 @@ class Cl {
31355
31355
  s.tag = r, M3(r) && (s.tag.element = (h) => {
31356
31356
  var m, v;
31357
31357
  (m = s.app) == null || m.$destroy();
31358
- const u = t === "start" ? ee(x({}, r.data), { name: this.name, distance: Math.round((v = i.getLength()) != null ? v : 0), i18n: this.plugin.config.i18n }) : r.data, f = new C3({ target: h, intro: !0, props: u });
31358
+ const u = t === "start" ? $(x({}, r.data), { name: this.name, distance: Math.round((v = i.getLength()) != null ? v : 0), i18n: this.plugin.config.i18n }) : r.data, f = new C3({ target: h, intro: !0, props: u });
31359
31359
  return s.app = f, () => f.$destroy();
31360
31360
  }), s.plugin.load({ tagList: [s.tag] });
31361
31361
  const a = this.meshStyle.translate;
@@ -31394,8 +31394,8 @@ class Cl {
31394
31394
  position: h,
31395
31395
  panoIndex: l
31396
31396
  };
31397
- }).filter(xe), r = o.map((l) => l.position.toArray()), a = o.map((l) => l.panoIndex);
31398
- return [ee(x({ type: "CatmullRomCurve3", points: r }, i), { panoIndexList: a, panoIndexMap: s })];
31397
+ }).filter(De), r = o.map((l) => l.position.toArray()), a = o.map((l) => l.panoIndex);
31398
+ return [$(x({ type: "CatmullRomCurve3", points: r }, i), { panoIndexList: a, panoIndexMap: s })];
31399
31399
  }
31400
31400
  }
31401
31401
  function M3(n) {
@@ -31597,7 +31597,7 @@ let jg = class extends zg {
31597
31597
  this.state.speed = e, this.hooks.emit("speedChange", e, { userAction: i });
31598
31598
  });
31599
31599
  d(this, "moveToStart", () => {
31600
- this.five.setState(ee(x({}, Na(this.curve, 0, this.curveOffset)), { mode: "Model" }));
31600
+ this.five.setState($(x({}, Na(this.curve, 0, this.curveOffset)), { mode: "Model" }));
31601
31601
  });
31602
31602
  d(this, "playFromStart", () => {
31603
31603
  this.clearPauseData(), this.setState({ playing: !0 });
@@ -31667,7 +31667,7 @@ let jg = class extends zg {
31667
31667
  let o = (l = s == null ? void 0 : s.playedProgress) != null ? l : 0;
31668
31668
  (o < 0 || o >= 1) && (o = 0);
31669
31669
  const r = Na(this.curve, o, this.curveOffset);
31670
- if (this.hooks.emit("progressChange", o), this.five.setState(ee(x({}, r), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
31670
+ if (this.hooks.emit("progressChange", o), this.five.setState($(x({}, r), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
31671
31671
  const c = this.addInterruptListener(() => {
31672
31672
  this.state.playing && (this.hooks.emit("broke"), this.handlePause(), c(), i(new Error("broke")));
31673
31673
  });
@@ -31802,7 +31802,7 @@ class Pc extends zg {
31802
31802
  * @description Play from first keyframe
31803
31803
  */
31804
31804
  playFromStart(e) {
31805
- return this.playFrom(ee(x({}, e), { index: 0 }));
31805
+ return this.playFrom($(x({}, e), { index: 0 }));
31806
31806
  }
31807
31807
  /**
31808
31808
  * @description Format data
@@ -31812,7 +31812,7 @@ class Pc extends zg {
31812
31812
  this.five.work || (yield D3(this.five));
31813
31813
  const i = (() => {
31814
31814
  const s = e;
31815
- return typeof s == "object" && s !== null && xe(s.version) && s.data ? s.data : s;
31815
+ return typeof s == "object" && s !== null && De(s.version) && s.data ? s.data : s;
31816
31816
  })();
31817
31817
  if (i.keyframes)
31818
31818
  return {
@@ -31820,7 +31820,7 @@ class Pc extends zg {
31820
31820
  keyframes: i.keyframes.map((s, o) => {
31821
31821
  var l;
31822
31822
  const r = i.keyframes[o + 1], a = (() => !r || r.start === void 0 || s.end === void 0 ? 0 : r.start - s.end)();
31823
- return ee(x({ id: (l = s.uuid) != null ? l : lt(), moveIndex: o, stay: a, index: o }, s), { guildPluginOptions: i.guildPluginOptions });
31823
+ return $(x({ id: (l = s.uuid) != null ? l : lt(), moveIndex: o, stay: a, index: o }, s), { guildPluginOptions: i.guildPluginOptions });
31824
31824
  })
31825
31825
  };
31826
31826
  if (i.panoIndexList) {
@@ -32148,9 +32148,9 @@ class Bg {
32148
32148
  const i = t === "panorama" ? this.panoramaItem : this.modelItem, s = t === "panorama" ? e.panorama_style : e.model_style, o = t === "panorama" && e.panorama_style.use_auto_depthtest, r = e.panorama_style.auto_depth_test_effect_distance, a = e.path, l = s, c = s, h = s;
32149
32149
  if (e.pano_group) {
32150
32150
  const f = t === "panorama" && e.panorama_style.skip_group === !0;
32151
- i.setGeometryByPanoGroup(e.pano_group, ee(x({ skipPanoGroup: f }, l), { useAutoDepthTest: o, autoDepthTestEffectDistance: r }));
32151
+ i.setGeometryByPanoGroup(e.pano_group, $(x({ skipPanoGroup: f }, l), { useAutoDepthTest: o, autoDepthTestEffectDistance: r }));
32152
32152
  } else
32153
- e.path && i.setGeometryByPath(a, ee(x({}, l), { useAutoDepthTest: o, autoDepthTestEffectDistance: r }));
32153
+ e.path && i.setGeometryByPath(a, $(x({}, l), { useAutoDepthTest: o, autoDepthTestEffectDistance: r }));
32154
32154
  i.name = e.name, i.setMeshStyle(h), i.setMartial(c), i.setVisibleFloorIndexes((u = e.visible_floor_indexes) != null ? u : null), i.setStartTag(s == null ? void 0 : s.start_tag), i.setEndTag(s == null ? void 0 : s.end_tag);
32155
32155
  }
32156
32156
  show() {
@@ -32426,7 +32426,7 @@ class ro extends Rt {
32426
32426
  const c = new b.Quaternion().setFromUnitVectors(new b.Vector3(0, 0, 1), l.normalize());
32427
32427
  this.applyQuaternion(c);
32428
32428
  }
32429
- if ([r, a, l].filter(xe).length >= 2) {
32429
+ if ([r, a, l].filter(De).length >= 2) {
32430
32430
  r || (r = new b.Vector3().crossVectors(a, l).normalize()), a || (a = new b.Vector3().crossVectors(r, l).normalize()), l || (l = new b.Vector3().crossVectors(r, a).normalize()), r.applyQuaternion(this.quaternion), a.applyQuaternion(this.quaternion), l.applyQuaternion(this.quaternion);
32431
32431
  const c = new b.Matrix4().makeBasis(r, a, l), h = new b.Quaternion().setFromRotationMatrix(c);
32432
32432
  this.quaternion.copy(h);
@@ -33114,7 +33114,7 @@ class ao {
33114
33114
  }
33115
33115
  }
33116
33116
  hoverListener(t, e = 16777215, i = 1) {
33117
- const s = yi(t).filter(xe), o = [];
33117
+ const s = yi(t).filter(De), o = [];
33118
33118
  for (const r of s)
33119
33119
  if (r.material || r instanceof b.Group) {
33120
33120
  const a = r instanceof b.Group ? r.children.filter((f) => f instanceof b.Mesh) : [r];
@@ -34574,7 +34574,7 @@ class bk extends Hi {
34574
34574
  o.video_list.forEach((l) => {
34575
34575
  this.controllerMap.set(
34576
34576
  l.render_id,
34577
- new uf(this.five, ee(x({}, l), {
34577
+ new uf(this.five, $(x({}, l), {
34578
34578
  panoIndex: r,
34579
34579
  renderID: a,
34580
34580
  hooks: this.hooks,
@@ -34652,7 +34652,7 @@ class bk extends Hi {
34652
34652
  const o = s.render_id;
34653
34653
  this.controllerMap.set(
34654
34654
  s.render_id,
34655
- new uf(this.five, ee(x({}, s), {
34655
+ new uf(this.five, $(x({}, s), {
34656
34656
  panoIndex: e,
34657
34657
  renderID: o,
34658
34658
  hooks: this.hooks,
@@ -34701,7 +34701,7 @@ function yk(n) {
34701
34701
  (o) => o.startLibraryID === e && o.endLibraryID === i
34702
34702
  );
34703
34703
  return s || console.warn(`Cannot find pipeline with startLibraryID ${e} and endLibraryID ${i}`), s;
34704
- }).filter(xe);
34704
+ }).filter(De);
34705
34705
  return _g(t);
34706
34706
  }
34707
34707
  function wk(n) {
@@ -34726,7 +34726,7 @@ function Ck(n, t) {
34726
34726
  return null;
34727
34727
  const f = u.data, m = t != null && t.getPipeRadius ? t.getPipeRadius(u) : 1.6 / 100, v = t != null && t.getPipeUrl ? t.getPipeUrl(l) : wk(l);
34728
34728
  return { id: u.id, radius: m, water: l, path: f, texture: v };
34729
- }).filter(xe);
34729
+ }).filter(De);
34730
34730
  return { startLibraryID: r, endLibraryID: a, pipes: c };
34731
34731
  });
34732
34732
  return { pipes: _g(e), pipelines: e };
@@ -35284,7 +35284,7 @@ let Ok = class extends wi {
35284
35284
  }
35285
35285
  /** 根据 target 查找管道模型 */
35286
35286
  findPipeObjectWithTarget(e) {
35287
- return e ? yk({ data: this.data, target: e }).map(({ id: s }) => this.findPipeObjectWithID(s)).filter(xe) : this.pipeObjects;
35287
+ return e ? yk({ data: this.data, target: e }).map(({ id: s }) => this.findPipeObjectWithID(s)).filter(De) : this.pipeObjects;
35288
35288
  }
35289
35289
  };
35290
35290
  const ZD = (n) => new Ok(n), Bk = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAA8CAYAAACZ1L+0AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAPAAAAABU0H2EAAARRElEQVR4Ad2czY9cRZbFq1yFoQGDNCzwuAENohl54dkgdrNh34tZ8GciFi31nwEsmAEhhAWD1GMJCZgx5sMfUHN+J+NE3XfrZWWVcVVLHVLmuXG/74148V5m2bm/N8bR0dH+Bx988Po333zzbz///PONg4ODa+I9I9y/cuXKgV77h4eH+1KH3hP/yv7+vuBAsG+5UCIpCkMzDQ962Eu80Q1P/KmHT82v8IocZFL4pslDvL3fNARHoPI2wtbrV1jBIf9N8SEZ0UUP2wFHv2ocSc/2ouEz8PVooJXQ0/j10aNHoH2Idj4PHz4k1n29/k+5/u3ll1/+r7fffvtLzfGzd8ibjK6+9957f5ajf1XzH9y7d+8Xjf9FRs1SdvNBBg2SDQ1xh9ALH4yN0M2BNZrKwtFc9Fmkquuma5HJBzvLiIONBnx40B7QIzTdxCcNwj3dYlEoUmabAU+UFZDpxah22Ng2NjQXH0LrwccGwyEzXfWhWQwSYQHYuFevXj14/vnn37h79+7Nr7766gup/FX5PnAj33///f/46aef3vj444/vfPbZZz9IYGMcnDbkhEYQL001Hfsu775i+7j6LID6cDQWYo8mabGMxOr+e/ye3y7989p3/9jfvHnz2q1bt25oMb549913/3Lwzjvv/Mu3337775988smdzz///AcVQ+IecsAOp8OOHRpkiJniWQnrBJmwc7EF8atxBA2ihx/obf7Qqa+un+aDI0f7k08nU+PLj3PBR+qpcvFdd3BNP7YgI7mnHqHzBRndv1hH33///QNtlAcvvfTSq999992dQzFu/vjjj/c//fTTu1z+unT2wDFoHN13QbVg5CQS3tBfQGwHoo+chltPto4FMsR3nKCZ7a3KyDM+UOOyHzV4xxAHOTjGqfVcVv23b9++++abb/4TvT+8f//+dS3ALzqj3MxgMq6IjAUC4as4CrbdmLtA8S2vttA0D5vSxNBnOvLwK1vO4K3+FSY+Z/Ol71RiC8JI7iBzcrus+nWfvf/iiy/+86Eux2u6JO6RQBoTFCvFOGEKkcyFRZ+kt+kP/pRHF9xiD3uOrs8OFW9eoaFBxorcsfGDvOdTeJCRTxQruT/x+rXxH6nvzx1qRx+I4FHJQZxJeat8CqCY0vCarG+AnK86++whdDlzeQrZKieWhmCTC3GgEy+x01DiKHfuK6vxYhfcYj/zKWVPMrnAwE98RCG+mZPHafVVOX71hPRUHkOpnMe9+SSBQ5wpgJF5mlGTgp+R5oHwhj/7Za7kzQMZ8RPsBaZYEH3k6KbotfySQ/Tjg7lsXQ/IQFc5Chb5zgUR/8LqJyi99QJA0CySFc4znUTFm3d2Cq8FuYryFhk42HLh3bz1zI4N+qGLvXkJMXKcDer6yE+7IuInuObvMusn/iHNz4DBqoMM0W4gyJxmsgijqSfkyNALdv3YRl51oXfFP4u+fCjd43xTQ/wLtx5Zu+L3euI78VJXsOvX+hXrijbL3qEIP1lEObuKhENnR+IgvDU5vD7wGx4Fyn4ucHzFfy8I2/Dio2JkIPyu3+XEp2iQ0ePvqm+X3E7b27b64ZPHYRrCE0R/jq68kfB80mBOQhWhTxu9YHTTfOi+QGLZf7Dbd/3UAjK6PDwL9dafmi6zfm0Ob8xDVkIJs7O5ErxDQQaFhMdctHVB5o8xfLXJzo0dC1wfKxefK1b8L+xHHuGhHjobgzzDO+Fu1Dw/V6RWkHGR9avv5LW5CRNs7Aaf8Qq82mAZUNh8CkEPXvRDDz3cLob4zB0YAjvF3Wrf/fcdK3nyxt2k0WNoR/MlopG54i820Iq/RT3Y1DHqemL1cxX4JkxiXAkECBK4N6Ams0ZjCz+Y8xZkcCSEx3xXPOTJAf3kFv/dfkWOja9i7ImvMW/ChXbe3V9igxjuGskrmFrX6lcsP+FwBPn40WJAsihGgvWEkIe3JpetiwUZTz31lBsOMihE9NzxZpY3GoTtaNSk40/ooyXY84UfHm57fHjKH/DoDYotiEJqBZnDD29NTp74Bxk9fq8f3XwOIHM7z6rbw+bNwcc8tDG6YNGvpNxu/xwwZPOKobj4xEnobf536cvOVwDI6PrJLXl0uY3U94FA6CdSvxbKR5C3DcFJJFiCTrLvmJ4w9hr2g5Fo72aQgX7Fy9ZX7Bw/Z9rh5FrHk6yfJnGlH1+PilQbVOkkUXnQNDAIjV4wNhUjA3nFFqx05B2zuGClo9fj4xNe/IcG18Yu/S6vNUDjM7jmPzJwvPb5HCB6NoTLnoRjn0e41UuOhKTvRsagouSLpw49lXAu8ue6qjbpWuBkniScC2zyrPn253hkqs06Q3+Rb3IH1/yJd6H1c0XxFDSPIAVMM50QSdXRG4St5EmSQk2D1S70sE8MGriwj942PK//7mclXnJPvsntwuvX8cPfyTdfRSRRGqQifckO3lkSig4moV1Ab3iX94aOZ/bFB7ORk/2tPLfPZ/+R7wJoeGIg6PmkVjDy8Mxo9QzehO5PgvPUzx/19w71xqOhX3jm0akOjqfM04wR2OxKR28bsuLckEGGbH1EgAwVf64PZvgh/23+5JIdjuvVI7Q/JqJ4WfVrM/km7A9iKtw3tVHQbBDNogCQwWJoLjheFAvGW2QgrNGYc/09IDGwD5143f9afuJJfZNfaDD5YJMFgy9acCxnVxb5hdVPUNWz+RxAQF7sQKFvVKMBvoGpIKa+hNFJg80sb5GBg51mbBwUXUj8xIZ56GLvRUDGGDnOBj2G/vSxzd8l1/+P9/cAdn92dF8gFrAeWdLzgoBZkPCY46f6g85VuCbPxgx2/diCel1Rfnv+KgLFKCdpAoQG1wJikySRrw10wt+1g+MLxGaX/136tWD8Sf/EkRIfyNFPzcxDX0T9o9/H34YmYMXxVMKNEbaPIyVpNGPc3ESvHjFDZ0IvCEGKg+4LJFb8Grt915d8+tjiD/YcXT+5BC+yfi28Nyb/LKV+DpjJQZBgbbjoxWMdH6hGkrYLnQVbONtM+nP3QgX/YkRnIRuTyLwgK/qnynu+sl/s+B7wIuvXFeAa+JOkdw1NY+WTVE+GueQuEGQuGy8IyBxbaJB5H6MgirZIeosFHXbTXnqLfEaO9XPCqZ8DkmdwJd+5yUiox1vJ/4nXf66/B+xqAOcaSQfzSAcy1OBFwbsajjxNwT40OPwt5OJl8SxHpw42m8b83FDo6Y/cR14n4j3J+hWDmJvvglTQiS+3yJREakKhwTU5x5ps5ueG0CADu3Hi2R59mgIyQo9GmR8ecvKpuCsfdOsgTnKq/NA9P+IlBjqhQeZd3v0nFsjATkOw+YM8vMXfAyIEEVK8du/8ICVWjhZj35HY1NH9VRl0CglSUHwiDw0y7+NJ6/d8L7p+5X/y7wFJgmI5OrjscoTsagCNrPaiafLc4bI/1wLSYGIG1/yfdoX0BcxCBvsCdv8XWb9iubbN8+XoLAkRNAWLnfMwRwZ2bjIm0OiCw8Xc1ZlXjG30Y5t48MOrdqGzuCC87q/L9b2O6wHR7wsi/XnsISf2ZdVP7nrtLz6IKUHvWDAJJWnmocE1Obw6uj4yAkeH3SsdN2Hw3CjUorOCUxZbkBHfQfiiHQM5DRYvm+pEPefV7/6IUUdigeEnt8z974LE5PFqPmKJtgEJ5c6PAToN0bMdfOlPH8z76AmPONO+P6cTOzx8df/JDVyTm1neejyJEjt1LR6LL7h+paMv47QL544Sgx0yG60Es1vmCpZ6TjSEAtOkoXeiwFL0CXv95wg3HGTI1+I/TKw0fLFBbFTeej7UJ3Fqwn+uCltdZv3qu8Jrg+vMIyG/uFxF+7JNHfWSGQnOAtDVoMlWt8PNBzrPdzVsRX6uvwcQRDHn5uj+JE5u3mTopgZsyZuck/9l1q+4zm3+PYDEuCmRDJgEw2POYqBXF8WK4y0yMPxK54kFHCMfihyw2/d4XR4nwa6v3J0riE6P3+WpFWQonnsBMrp/M8vbWn7wolLji08vl1/GESBJxagizrKLKj90ZCC8+AKjU7H76/boklNsKEA686b9GPq2xcfa+DvU73uAk6I4VoTkQIZon+Egc/FphnnMV+TRCy7uCV0fHywCyOhHyC79jdXxO75kM4/I0GD866a+9dtd6pbupdSvWJu/BygxN1Tz2SwlcaYGVpvjNiwpdJac41m3J254aIU+xUc2w8xXZuHhIrTlaS7I6P53xd8lt9P2ti13jhrJlkdQlINJMj7rGTZ4+Zpi7uLoriF+dZmnKVapsXb5J2nsQYy7Puzw1uQOWN66fnIJolrp+AbHeOz645cHaBdFYfG6DTHKLkCHT40kAzJCJ8EuT/O2xdrlv9uzEOERP3T8n9cfPk4bu/ydp/7kmK+js3MWBfVk0nwQmQJ6QUDm8MNjzpnOIoCMQfvjPvNe0C7/StpPJSCDHRwec9m7DnDMrYhf5skt+ca2+Lv0+t0ZdhJDiczHIBKuvFGAi1YBTCctPc9pKEQQvmjrDb5peAzioQsOuenYd3nPB3l4a/bw6hh559GXDWEaRK/7i28QOfaQT6J+Umdj5LsgYs9iErDySIDGYJQGhc4OQ+e0sWK/2LEUJl+zwNAgg3wqkmdyDD885n3gBxfFn+nhluae6m8lf/dC/pxXj9fn1Z5aefFJ2I2twjjk6NBjm/+bz3BGQMgEzCPf5hJoEfETv03kKTKIgviNT0Shz+Q/seIPB3X0fLp+l190/Sw494Bc9v57LkkosAvmi7B8P1MLCS3bxXP3SkE+guQzJosFFN8NBqNQEf/Mg12fBuEbHONU/+Q3/AUXC07d8ncp9XPlkotvwiN5ijEz2BOCnyaXQsyLjxSZecXYFp3YptE0JrxqGjqyVf2V/KIX7Efo/PBHgNQdvMj66YGOoH3+WYqLKk1JsTtvkr1gzjSONJCBT1a6+q40eoo/9WWyeK6OL5Ax/Edn2uKDEd9BM8tbzxe98IraJJM7CBP98JjHFmR+3vqxOXzmmWceaKU337CxGhqCTUVolIGMabAnhGgUb71iahI7fFf7FIFCb3j/18voiuemdd/Mu/+uE1sQWfeX3MBuyzx5B39P/fRcr4dcAT9p5bxl4zhIgNqgnlRkILKuf1654tIUCk2oLJYbQpr0ZqRrGt30C1tk4FnyQYccray31B3s9UQviG104IUGmZ8mH5v+3qF2w51nn332TzHCsI7KJzEVm6akEVuPhLWGhUeM0CAjvkHmxCM+uCYPD2R0f2Ilt7lB4tMGZ3i7qPqfe+65P6j3X1y5du3aZ3rSefrGjRsvkNxpI80AeTGC0NgGoakvuFYrtvDjD11okBF6m3yjdfze9eM7sbPQIC8sg8detlPdP7XCy8ASOh6IC534Qf126Au6Aq7S+0P9jOJ/f/jhh7dfeeWVN1C4c+cOv5zoxsQgKD7O/OgIT3OLgrrkLAMR9EuQYsXLlWO5ePNMJ25s7Fhv8EIraduDDOJI7kfh6FT98M6Ka/GrLbE0/131X79+/YVXX331+tNPP32b3nt1tGhXP/rooz/ruf9N/YzWQ/2e2c8Cfg7Wz8RC9WkeE8pj/rQltMRH/jXdsdreAEp04mg8u22zYhvZ9IPueLE4puMLfnjRKzKCbD4ZHv9oK/mwaPOlm/ukkbFwjKLj428j8t8DEEvN9xJoJuhsDI9lxOeHXr3zE8cGm7fpQMfNgR54ntXmYXzx1ltvbX64VUl4SH//66+/fl2/5ndLC/BHMV/Q6ypN06Bm3lgFaKMcEbj+bDHN88/curvewF4hjhNWasrwhy/0waIPjylyYjp49Ag++NhFhi7F+jeEFcc/H6w5TYbnxo2OoufXmNPcX+XWv4QLMo+taJkfeY4gvtRs/n8vzY/cssxB5CyKxi96/aB+/Y9+KfE/X3vttS8lI7e9/wfu514OAjYP0QAAAABJRU5ErkJggg==";
@@ -35295,10 +35295,10 @@ function mf(n) {
35295
35295
  let t, e, i, s, o, r;
35296
35296
  return {
35297
35297
  c() {
35298
- t = L("span"), e = De(
35298
+ t = L("span"), e = xe(
35299
35299
  /*content*/
35300
35300
  n[0]
35301
- ), i = $(), s = L("div"), P(t, "class", "room-label-item__text svelte-ntto16"), z(t, "background-image", "url(" + Bk + ")"), P(s, "class", "room-label-item__bar svelte-ntto16");
35301
+ ), i = ee(), s = L("div"), P(t, "class", "room-label-item__text svelte-ntto16"), z(t, "background-image", "url(" + Bk + ")"), P(s, "class", "room-label-item__bar svelte-ntto16");
35302
35302
  },
35303
35303
  m(a, l) {
35304
35304
  V(a, t, l), j(t, e), V(a, i, l), V(a, s, l), o || (r = we(t, "click", function() {
@@ -35934,9 +35934,9 @@ let Gk = class extends wi {
35934
35934
  return i(e) ? {
35935
35935
  list: e.list.filter((s) => s.object_data.points.length >= 3).map((s) => {
35936
35936
  const o = new b.Shape(), r = s.object_data.points[0];
35937
- 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]), ee(x({}, s), {
35937
+ 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]), $(x({}, s), {
35938
35938
  floor_index: s.object_data.floorIndex,
35939
- object_data: ee(x({}, s.object_data), {
35939
+ object_data: $(x({}, s.object_data), {
35940
35940
  bottom_y: r[1] + s.object_data.fixedY,
35941
35941
  shape: o.toJSON(),
35942
35942
  height: s.object_data.height + s.object_data.fixedHeight
@@ -36315,11 +36315,11 @@ class ts extends Rt {
36315
36315
  size: (f = e == null ? void 0 : e.size) != null ? f : 8,
36316
36316
  map: pf || (pf = new b.TextureLoader().load(Xk)),
36317
36317
  sizeAttenuation: !1
36318
- }, a = new b.PointsMaterial(ee(x({}, r), {
36318
+ }, a = new b.PointsMaterial($(x({}, r), {
36319
36319
  color: (m = e == null ? void 0 : e.color) != null ? m : 16777215,
36320
36320
  depthTest: !0,
36321
36321
  opacity: 1
36322
- })), l = new b.PointsMaterial(ee(x({}, r), {
36322
+ })), l = new b.PointsMaterial($(x({}, r), {
36323
36323
  size: a.size,
36324
36324
  color: a.color,
36325
36325
  depthWrite: !1,
@@ -36354,7 +36354,7 @@ class ts extends Rt {
36354
36354
  return (i = (e = window.globalModules) == null ? void 0 : e.five) != null ? i : window.$five;
36355
36355
  }
36356
36356
  setStyle(e) {
36357
- xe(e.color) && (this.fontMesh.material.setValues({ color: e.color }), this.backgroundMesh.material.setValues({ color: e.color })), xe(e.size) && (this.fontMesh.material.setValues({ side: e.size }), this.backgroundMesh.material.setValues({ side: e.size })), xe(e.occlusionVisibility) && (e.occlusionVisibility ? e.occlusionMode === "depthTest" ? (this.fontMesh.material.depthTest = !1, this.backgroundMesh.visible = !1) : (this.fontMesh.material.depthTest = !0, this.backgroundMesh.visible = !0) : (this.fontMesh.material.depthTest = !0, this.backgroundMesh.visible = !1));
36357
+ De(e.color) && (this.fontMesh.material.setValues({ color: e.color }), this.backgroundMesh.material.setValues({ color: e.color })), De(e.size) && (this.fontMesh.material.setValues({ side: e.size }), this.backgroundMesh.material.setValues({ side: e.size })), De(e.occlusionVisibility) && (e.occlusionVisibility ? e.occlusionMode === "depthTest" ? (this.fontMesh.material.depthTest = !1, this.backgroundMesh.visible = !1) : (this.fontMesh.material.depthTest = !0, this.backgroundMesh.visible = !0) : (this.fontMesh.material.depthTest = !0, this.backgroundMesh.visible = !1));
36358
36358
  }
36359
36359
  highlight() {
36360
36360
  this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.fontMesh.material.opacity, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight * Rl }));
@@ -36373,7 +36373,7 @@ class ts extends Rt {
36373
36373
  const i = (s) => {
36374
36374
  var o;
36375
36375
  this.dom && this.dom.__text !== s && (this.dom.__text = s, s ? this.dom.container.innerHTML = _l(s, {
36376
- style: `color: #${xe((o = this.style) == null ? void 0 : o.color) ? new b.Color(this.style.color).getHexString() : "ffffff"}`
36376
+ style: `color: #${De((o = this.style) == null ? void 0 : o.color) ? new b.Color(this.style.color).getHexString() : "ffffff"}`
36377
36377
  }) : this.dom.container.innerHTML = "");
36378
36378
  };
36379
36379
  e ? (i(e), this.dom.setPosition(this.position.clone())) : i(null);
@@ -36386,7 +36386,7 @@ class Ml extends Yt {
36386
36386
  d(this, "pointGroup", new Rt());
36387
36387
  d(this, "_paramsStyle");
36388
36388
  d(this, "setStyle", (e) => {
36389
- super.setStyle(e), this._paramsStyle = x(x({}, this._paramsStyle), e), this.pointMeshes.forEach((i) => i.setStyle(ee(x({}, this._paramsStyle), { color: e.lineColor, tip: void 0 }))), this.updateEdgePointsVisibility(), this.needsRender = !0;
36389
+ super.setStyle(e), this._paramsStyle = x(x({}, this._paramsStyle), e), this.pointMeshes.forEach((i) => i.setStyle($(x({}, this._paramsStyle), { color: e.lineColor, tip: void 0 }))), this.updateEdgePointsVisibility(), this.needsRender = !0;
36390
36390
  });
36391
36391
  d(this, "highlight", () => {
36392
36392
  super.highlight(), this.pointMeshes.forEach((e) => e.highlight());
@@ -36396,7 +36396,7 @@ class Ml extends Yt {
36396
36396
  });
36397
36397
  d(this, "updateEdgePointsVisibility", () => {
36398
36398
  var e;
36399
- xe((e = this._paramsStyle) == null ? void 0 : e.pointVisibility) && (this.startPoint && (this.startPoint.visible = typeof this._paramsStyle.pointVisibility == "object" ? this._paramsStyle.pointVisibility.startPoint : this._paramsStyle.pointVisibility), this.endPoint && (this.endPoint.visible = typeof this._paramsStyle.pointVisibility == "object" ? this._paramsStyle.pointVisibility.endPoint : this._paramsStyle.pointVisibility));
36399
+ De((e = this._paramsStyle) == null ? void 0 : e.pointVisibility) && (this.startPoint && (this.startPoint.visible = typeof this._paramsStyle.pointVisibility == "object" ? this._paramsStyle.pointVisibility.startPoint : this._paramsStyle.pointVisibility), this.endPoint && (this.endPoint.visible = typeof this._paramsStyle.pointVisibility == "object" ? this._paramsStyle.pointVisibility.endPoint : this._paramsStyle.pointVisibility));
36400
36400
  });
36401
36401
  this.add(this.pointGroup), e && this.setStyle(e), e != null && e.points && this.setPoints(e.points);
36402
36402
  }
@@ -36414,10 +36414,10 @@ class Ml extends Yt {
36414
36414
  }
36415
36415
  setPoints(e) {
36416
36416
  super.setPoints(e);
36417
- const i = e.map(Ne).filter(xe);
36417
+ const i = e.map(Ne).filter(De);
36418
36418
  this.pointGroup.removeChildren(), this.addIfNotExists(this.pointGroup), i.forEach((s) => {
36419
36419
  var r;
36420
- const o = new ts(ee(x({}, this.style), { color: (r = this._paramsStyle) == null ? void 0 : r.lineColor, tip: void 0 }));
36420
+ const o = new ts($(x({}, this.style), { color: (r = this._paramsStyle) == null ? void 0 : r.lineColor, tip: void 0 }));
36421
36421
  o.position.copy(s), this.pointGroup.add(o);
36422
36422
  }), this.updateEdgePointsVisibility(), this.needsRender = !0;
36423
36423
  }
@@ -36489,7 +36489,7 @@ class Gg extends Rt {
36489
36489
  if (r !== 0 && a === void 0)
36490
36490
  return;
36491
36491
  const l = (c = this.lines[r]) != null ? c : (() => {
36492
- const h = new Ml(ee(x({}, this.style), {
36492
+ const h = new Ml($(x({}, this.style), {
36493
36493
  pointVisibility: this.withDots ? { startPoint: r === 0, endPoint: !0 } : !1
36494
36494
  }));
36495
36495
  return this.lines[r] = h, this.add(h), h;
@@ -36509,13 +36509,13 @@ class Gg extends Rt {
36509
36509
  }
36510
36510
  class dn extends Gg {
36511
36511
  constructor(...e) {
36512
- super(ee(x({}, e[0]), { withDots: !1 }));
36512
+ super($(x({}, e[0]), { withDots: !1 }));
36513
36513
  d(this, "name", "PolylineMesh");
36514
36514
  }
36515
36515
  }
36516
36516
  class Li extends Gg {
36517
36517
  constructor(...e) {
36518
- super(ee(x({}, e[0]), { withDots: !0 }));
36518
+ super($(x({}, e[0]), { withDots: !0 }));
36519
36519
  d(this, "name", "PolylineWithDotsMesh");
36520
36520
  }
36521
36521
  }
@@ -37046,7 +37046,7 @@ class Dc extends jr {
37046
37046
  return this.children;
37047
37047
  }
37048
37048
  enable() {
37049
- super.enable(), this.points.filter(xe).forEach((e) => {
37049
+ super.enable(), this.points.filter(De).forEach((e) => {
37050
37050
  const i = new ts();
37051
37051
  i.visible = !1, i.position.copy(e), i.draggable = !0, Ke.modules.fiveDomEvents.addEventListener(i, "drag", this.onDrag), Ke.modules.fiveDomEvents.addEventListener(i, "dragstart", this.onDragstart), Ke.modules.fiveDomEvents.addEventListener(i, "dragend", this.onDragend), this.add(i);
37052
37052
  });
@@ -37109,7 +37109,7 @@ class yf extends Ci {
37109
37109
  return this._editor || (this._editor = new lx(this)), this._editor;
37110
37110
  }
37111
37111
  get data() {
37112
- return ee(x({}, this.baseData), {
37112
+ return $(x({}, this.baseData), {
37113
37113
  points: zt(this.applyObjectMatrixWorld(this.polyLineMesh.points)),
37114
37114
  style: {
37115
37115
  lineColor: new b.Color(this.polyLineMesh.lineColor).getHex(),
@@ -37118,6 +37118,9 @@ class yf extends Ci {
37118
37118
  }
37119
37119
  });
37120
37120
  }
37121
+ setData(e) {
37122
+ e.points && this.polyLineMesh.setPoints(e.points), this.polyLineMesh.setStyle(e.style);
37123
+ }
37121
37124
  highlight() {
37122
37125
  var e;
37123
37126
  (e = this.polyLineMesh) == null || e.highlight();
@@ -37157,7 +37160,7 @@ function cx(n, t, e) {
37157
37160
  return;
37158
37161
  const { promise: s, resolve: o, reject: r } = Sc(), a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new dn(n.style);
37159
37162
  i.add(l);
37160
- const c = new dn(ee(x({}, n.style), { dashed: !0, lengthEnable: !1 }));
37163
+ const c = new dn($(x({}, n.style), { dashed: !0, lengthEnable: !1 }));
37161
37164
  i.add(c), t.enable();
37162
37165
  const h = [];
37163
37166
  let u, f, m;
@@ -37218,7 +37221,7 @@ class wf extends Ci {
37218
37221
  return this._editor || (this._editor = new hx(this)), this._editor;
37219
37222
  }
37220
37223
  get data() {
37221
- return ee(x({}, this.baseData), {
37224
+ return $(x({}, this.baseData), {
37222
37225
  point: zt(this.applyObjectMatrixWorld(this.pointMesh.position)),
37223
37226
  style: {
37224
37227
  color: this.pointMesh.color.getHex(),
@@ -37226,6 +37229,9 @@ class wf extends Ci {
37226
37229
  }
37227
37230
  });
37228
37231
  }
37232
+ setData(e) {
37233
+ e.point && this.pointMesh.position.copy(Ne(e.point)), this.pointMesh.setStyle(e.style);
37234
+ }
37229
37235
  highlight() {
37230
37236
  var e;
37231
37237
  (e = this.pointMesh) == null || e.highlight();
@@ -37283,6 +37289,7 @@ class Or extends Rt {
37283
37289
  transparent: !0,
37284
37290
  side: b.DoubleSide,
37285
37291
  depthTest: !0,
37292
+ depthWrite: !1,
37286
37293
  opacity: (l = e == null ? void 0 : e.opacity) != null ? l : 0.5
37287
37294
  }), s = new b.MeshBasicMaterial({
37288
37295
  color: 16777215,
@@ -37321,7 +37328,7 @@ class Or extends Rt {
37321
37328
  return this._geometry;
37322
37329
  }
37323
37330
  setStyle(e) {
37324
- this.paramsStyle = x(x({}, this.paramsStyle), e), xe(e.color) && (this.meshFont.material.color.set(e.color), this.needsRender = !0), xe(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);
37331
+ this.paramsStyle = x(x({}, this.paramsStyle), e), De(e.color) && (this.meshFont.material.color.set(e.color), this.needsRender = !0), De(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);
37325
37332
  }
37326
37333
  highlight() {
37327
37334
  this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.opacity, this.meshFont.material.opacity = this.opacity * Rl, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity, this.needsRender = !0);
@@ -37332,7 +37339,7 @@ class Or extends Rt {
37332
37339
  setOcclusionVisibility(e) {
37333
37340
  var o, r, a;
37334
37341
  const i = (r = (o = e.occlusionMode) != null ? o : this.paramsStyle.occlusionMode) != null ? r : "translucence", s = (a = e.occlusionVisibility) != null ? a : this.paramsStyle.occlusionVisibility;
37335
- xe(s) && (s ? i === "depthTest" ? (this.meshFont.material.depthTest = !1, this.remove(this.meshBackground)) : i === "translucence" && (this.meshFont.material.depthTest = !0, this.addIfNotExists(this.meshBackground)) : (this.meshFont.material.depthTest = !0, this.remove(this.meshBackground)));
37342
+ De(s) && (s ? i === "depthTest" ? (this.meshFont.material.depthTest = !1, this.remove(this.meshBackground)) : i === "translucence" && (this.meshFont.material.depthTest = !0, this.addIfNotExists(this.meshBackground)) : (this.meshFont.material.depthTest = !0, this.remove(this.meshBackground)));
37336
37343
  }
37337
37344
  }
37338
37345
  const Tc = new b.BufferGeometry();
@@ -37353,7 +37360,7 @@ class Lc extends Or {
37353
37360
  e != null && e.points && this.setPoints(e.points), this._paramsStyle = e != null ? e : {}, this.updateAreaItems();
37354
37361
  }
37355
37362
  get style() {
37356
- return ee(x({}, super.style), { lengthEnable: this._paramsStyle.lengthEnable });
37363
+ return $(x({}, super.style), { lengthEnable: this._paramsStyle.lengthEnable });
37357
37364
  }
37358
37365
  get isBlank() {
37359
37366
  return !!this.geometry.isBlank;
@@ -37408,7 +37415,7 @@ class Lc extends Or {
37408
37415
  })(), this.areaDom.setPosition(this.center);
37409
37416
  const i = this.geometryInfo.area.toFixed(2);
37410
37417
  i === "0.00" ? this.areaDom.container.innerHTML = "" : this.areaDom.container.innerHTML = _l(i + "m²", {
37411
- style: `color: #${xe((o = this.style) == null ? void 0 : o.color) ? new b.Color(this.style.color).getHexString() : "000000"}`
37418
+ style: `color: #${De((o = this.style) == null ? void 0 : o.color) ? new b.Color(this.style.color).getHexString() : "000000"}`
37412
37419
  });
37413
37420
  }
37414
37421
  }
@@ -37421,7 +37428,7 @@ class Jg extends Lc {
37421
37428
  i && this.setPoints(i), s && this.setStyle(s);
37422
37429
  }
37423
37430
  get style() {
37424
- return ee(x({}, super.style), {
37431
+ return $(x({}, super.style), {
37425
37432
  lineWidth: this.lineWidth,
37426
37433
  lineColor: this.lineColor
37427
37434
  });
@@ -37441,7 +37448,7 @@ class Jg extends Lc {
37441
37448
  super.setPoints(e), this.points && (this.line.setPoints(this.points, i), this.addIfNotExists(this.line));
37442
37449
  }
37443
37450
  setStyle(e) {
37444
- super.setStyle(e), this.line.setStyle(e);
37451
+ super.setStyle(e), this.line.setStyle($(x({}, e), { opacity: 1 }));
37445
37452
  }
37446
37453
  highlight() {
37447
37454
  super.highlight(), this.line.highlight();
@@ -37483,7 +37490,7 @@ class Cf extends Ci {
37483
37490
  return this._editor || (this._editor = new dx(this)), this._editor;
37484
37491
  }
37485
37492
  get data() {
37486
- return this.updateMatrixWorld(), ee(x({}, this.baseData), {
37493
+ return this.updateMatrixWorld(), $(x({}, this.baseData), {
37487
37494
  points: zt(this.applyObjectMatrixWorld(this.areaMesh.points)),
37488
37495
  style: {
37489
37496
  color: this.areaMesh.color.getHex(),
@@ -37492,6 +37499,9 @@ class Cf extends Ci {
37492
37499
  }
37493
37500
  });
37494
37501
  }
37502
+ setData(e) {
37503
+ e.points && this.areaMesh.setPoints(e.points), this.areaMesh.setStyle(e.style);
37504
+ }
37495
37505
  highlight() {
37496
37506
  var e;
37497
37507
  (e = this.areaMesh) == null || e.highlight();
@@ -37533,9 +37543,9 @@ function zc(n, t, e) {
37533
37543
  o(new Error("No container"));
37534
37544
  return;
37535
37545
  }
37536
- const a = (T = e == null ? void 0 : e.limit) != null ? T : "none", l = new dn(ee(x({}, n.style), { opacity: 1 }));
37546
+ const a = (T = e == null ? void 0 : e.limit) != null ? T : "none", l = new dn($(x({}, n.style), { opacity: 1 }));
37537
37547
  r == null || r.add(l);
37538
- const c = new dn(ee(x({}, n.style), { dashed: !0, lengthEnable: !1 }));
37548
+ const c = new dn($(x({}, n.style), { dashed: !0, lengthEnable: !1 }));
37539
37549
  r == null || r.add(c), t.enable();
37540
37550
  const h = [];
37541
37551
  let u, f, m = !1, v;
@@ -37702,7 +37712,7 @@ class is extends Rt {
37702
37712
  return this.edgeMesh.color;
37703
37713
  }
37704
37714
  setStyle(e = {}) {
37705
- this.paramStyle = x(x({}, this.paramStyle), e), this.prismMesh.setStyle(this.paramStyle), this.edgeMesh.setStyle(this.paramStyle);
37715
+ this.paramStyle = x(x({}, this.paramStyle), e), this.prismMesh.setStyle(this.paramStyle), this.edgeMesh.setStyle($(x({}, this.paramStyle), { opacity: 1 }));
37706
37716
  }
37707
37717
  setPoints(e) {
37708
37718
  var i;
@@ -37771,7 +37781,7 @@ class Pf extends Ci {
37771
37781
  return this._editor || (this._editor = new qg(this.prismMesh)), this._editor;
37772
37782
  }
37773
37783
  get data() {
37774
- return ee(x({}, this.baseData), {
37784
+ return $(x({}, this.baseData), {
37775
37785
  points: zt(this.applyObjectMatrixWorld(this.prismMesh.bottomPositions, this.prismMesh)),
37776
37786
  heightPoint: zt(this.applyObjectMatrixWorld(this.prismMesh.topPosition, this.prismMesh)),
37777
37787
  style: {
@@ -37781,6 +37791,9 @@ class Pf extends Ci {
37781
37791
  }
37782
37792
  });
37783
37793
  }
37794
+ setData(e) {
37795
+ this.prismMesh.setPoints(e), this.prismMesh.setStyle(e.style);
37796
+ }
37784
37797
  highlight() {
37785
37798
  var e;
37786
37799
  (e = this.prismMesh) == null || e.highlight();
@@ -37908,7 +37921,7 @@ class ep extends Lc {
37908
37921
  return this.meshFont.material.color;
37909
37922
  }
37910
37923
  setPoints(e) {
37911
- const i = e.map(Ne).filter(xe);
37924
+ const i = e.map(Ne).filter(De);
37912
37925
  if (i.length < 3) {
37913
37926
  console.error("Invalid position");
37914
37927
  return;
@@ -37941,7 +37954,7 @@ class gr extends ep {
37941
37954
  super.setPoints(e), this.points && (this.line.setPoints([this.points[0], this.points[1], this.points[2], this.points[3], this.points[0]]), this.addIfNotExists(this.line));
37942
37955
  }
37943
37956
  setStyle(e) {
37944
- super.setStyle(e), this.line.setStyle(e);
37957
+ super.setStyle(e), this.line.setStyle($(x({}, e), { opacity: 1 }));
37945
37958
  }
37946
37959
  highlight() {
37947
37960
  super.highlight(), this.line.highlight();
@@ -37966,7 +37979,7 @@ class If extends Ci {
37966
37979
  return this._editor || (this._editor = new $g(this.rectangleMesh)), this._editor;
37967
37980
  }
37968
37981
  get data() {
37969
- return ee(x({}, this.baseData), {
37982
+ return $(x({}, this.baseData), {
37970
37983
  points: zt(this.applyObjectMatrixWorld(this.rectangleMesh.points, this.rectangleMesh)),
37971
37984
  style: {
37972
37985
  color: this.rectangleMesh.color.getHex(),
@@ -37976,6 +37989,9 @@ class If extends Ci {
37976
37989
  }
37977
37990
  });
37978
37991
  }
37992
+ setData(e) {
37993
+ e.points && this.rectangleMesh.setPoints(e.points), this.rectangleMesh.setStyle(e.style);
37994
+ }
37979
37995
  highlight() {
37980
37996
  var e;
37981
37997
  (e = this.rectangleMesh) == null || e.highlight();
@@ -38002,7 +38018,7 @@ function mx(n, t, e) {
38002
38018
  const o = n.parent;
38003
38019
  if (!o)
38004
38020
  return s(new Error("No container"));
38005
- const r = (w = e == null ? void 0 : e.limit) != null ? w : "none", a = new Li(ee(x({}, n.style), { dashed: !0, lengthEnable: !0 })), l = new Li(ee(x({}, n.style), { dashed: !0, lengthEnable: !1 })), c = new Li(ee(x({}, n.style), { dashed: !1, lengthEnable: !1 }));
38021
+ const r = (w = e == null ? void 0 : e.limit) != null ? w : "none", a = new Li($(x({}, n.style), { dashed: !0, lengthEnable: !0 })), l = new Li($(x({}, n.style), { dashed: !0, lengthEnable: !1 })), c = new Li($(x({}, n.style), { dashed: !1, lengthEnable: !1 }));
38006
38022
  o.add(a, c, l), t.enable();
38007
38023
  const h = [];
38008
38024
  let u = new b.Vector3(), f = new b.Vector3();
@@ -38053,7 +38069,7 @@ function gx(n, t, e) {
38053
38069
  const o = n.parent;
38054
38070
  if (!o)
38055
38071
  return s(new Error("No container"));
38056
- const r = (w = e == null ? void 0 : e.limit) != null ? w : "none", a = new Li(ee(x({}, n.style), { dashed: !0, lengthEnable: !0 })), l = new Li(ee(x({}, n.style), { dashed: !0, lengthEnable: !1 })), c = new Li(ee(x({}, n.style), { dashed: !1, lengthEnable: !1 }));
38072
+ const r = (w = e == null ? void 0 : e.limit) != null ? w : "none", a = new Li($(x({}, n.style), { dashed: !0, lengthEnable: !0 })), l = new Li($(x({}, n.style), { dashed: !0, lengthEnable: !1 })), c = new Li($(x({}, n.style), { dashed: !1, lengthEnable: !1 }));
38057
38073
  o.add(a, c, l), t.enable();
38058
38074
  const h = [];
38059
38075
  let u = new b.Vector3(), f = new b.Vector3();
@@ -38108,6 +38124,8 @@ class sp extends Or {
38108
38124
  constructor(e) {
38109
38125
  super(e);
38110
38126
  d(this, "_normal");
38127
+ d(this, "_center");
38128
+ d(this, "_radius");
38111
38129
  e != null && e.center && (e != null && e.normal) && (e != null && e.radius) && this.setPoints(e);
38112
38130
  }
38113
38131
  get center() {
@@ -38123,8 +38141,12 @@ class sp extends Or {
38123
38141
  return this.meshFont.geometry.parameters.radius;
38124
38142
  }
38125
38143
  setPoints(e) {
38126
- const i = Ne(e.center), s = Ne(e.normal), o = e.radius, r = np(o);
38127
- this.geometry = new b.CircleGeometry(o, r), this.position.copy(i), this.lookAt(s.clone().add(i)), this.normal = s.clone().normalize(), this.needsRender = !0;
38144
+ var i, s, o;
38145
+ if (this._center = (i = Ne(e.center)) != null ? i : this._center, this._normal = (s = Ne(e.normal)) != null ? s : this._normal, this._radius = (o = e.radius) != null ? o : this._radius, this._center && this._normal && this._radius) {
38146
+ const r = np(this._radius);
38147
+ this.geometry = new b.CircleGeometry(this._radius, r), this.position.copy(this._center), this.lookAt(this._normal.clone().add(this._center)), this.normal = this._normal.clone().normalize();
38148
+ }
38149
+ this.needsRender = !0;
38128
38150
  }
38129
38151
  }
38130
38152
  class io extends sp {
@@ -38140,7 +38162,7 @@ class io extends sp {
38140
38162
  this.edgeLine.setPoints(i.concat(i[0]));
38141
38163
  }
38142
38164
  setStyle(e) {
38143
- super.setStyle(e), this.edgeLine.setStyle(e);
38165
+ super.setStyle(e), this.edgeLine.setStyle($(x({}, e), { opacity: 1 }));
38144
38166
  }
38145
38167
  highlight() {
38146
38168
  super.highlight(), this.edgeLine.highlight();
@@ -38161,7 +38183,7 @@ class Ef extends Ci {
38161
38183
  return this._editor || (this._editor = new ip(this.circleMesh)), this._editor;
38162
38184
  }
38163
38185
  get data() {
38164
- return ee(x({}, this.baseData), {
38186
+ return $(x({}, this.baseData), {
38165
38187
  center: zt(this.applyObjectMatrixWorld(this.circleMesh.center, this.circleMesh)),
38166
38188
  normal: zt(this.circleMesh.normal.clone().applyQuaternion(this.circleMesh.quaternion)),
38167
38189
  radius: this.circleMesh.radius,
@@ -38170,6 +38192,9 @@ class Ef extends Ci {
38170
38192
  }
38171
38193
  });
38172
38194
  }
38195
+ setData(e) {
38196
+ this.circleMesh.setPoints(e), this.circleMesh.setStyle(e.style);
38197
+ }
38173
38198
  highlight() {
38174
38199
  var e;
38175
38200
  (e = this.circleMesh) == null || e.highlight();
@@ -38233,6 +38258,8 @@ class Dl extends Rt {
38233
38258
  d(this, "edgeMesh");
38234
38259
  d(this, "highlighted", !1);
38235
38260
  d(this, "params");
38261
+ d(this, "_topCenter");
38262
+ d(this, "_bottomCenter");
38236
38263
  this.params = e, this.bottomCircle = new io(e), this.bottomCircle.name = "bottomCircle", this.topCircle = new io(e), this.topCircle.name = "topCircle", this.edgeMesh = new Or(e), e != null && e.bottomCenter && (e != null && e.topCenter) && (e != null && e.radius) && this.setPoints(e), this.addIfNotExists(this.bottomCircle);
38237
38264
  }
38238
38265
  get bottomCenter() {
@@ -38251,8 +38278,12 @@ class Dl extends Rt {
38251
38278
  return this.bottomCircle.color;
38252
38279
  }
38253
38280
  setPoints(e) {
38254
- const i = Ne(e.topCenter), s = Ne(e.bottomCenter), o = i.clone().sub(s).normalize();
38255
- this.bottomCircle.setPoints({ center: s, normal: o, radius: e.radius }), this.setTopCenter(i), this.needsRender = !0;
38281
+ var i, s;
38282
+ if (this._topCenter = (i = Ne(e.topCenter)) != null ? i : this.topCenter, this._bottomCenter = (s = Ne(e.bottomCenter)) != null ? s : this.bottomCenter, this._topCenter && this._bottomCenter) {
38283
+ const o = this._topCenter.clone().sub(this._bottomCenter).normalize();
38284
+ this.bottomCircle.setPoints({ center: this._bottomCenter, normal: o, radius: e.radius }), this.setTopCenter(this._topCenter);
38285
+ }
38286
+ this.needsRender = !0;
38256
38287
  }
38257
38288
  setTopCenter(e) {
38258
38289
  this.addIfNotExists(this.topCircle), this.topCircle.setPoints({ center: e, normal: this.normal, radius: this.radius }), this.setEdgeMesh();
@@ -38261,7 +38292,7 @@ class Dl extends Rt {
38261
38292
  this.addIfNotExists(this.bottomCircle), this.bottomCircle.setPoints({ center: e, normal: this.normal, radius: this.radius }), this.setEdgeMesh();
38262
38293
  }
38263
38294
  setStyle(e) {
38264
- this.params = x(x({}, this.params), e), xe(e.color) && this.bottomCircle.setStyle({ color: e.color }), xe(e.color) && this.topCircle.setStyle({ color: e.color });
38295
+ this.params = x(x({}, this.params), e), this.bottomCircle.setStyle(this.params), this.topCircle.setStyle(this.params);
38265
38296
  }
38266
38297
  highlight() {
38267
38298
  this.highlighted || (this.highlighted = !0, this.edgeMesh.highlight(), this.bottomCircle.highlight(), this.topCircle.highlight(), this.needsRender = !0);
@@ -38332,7 +38363,7 @@ class Mf extends Ci {
38332
38363
  return this._editor || (this._editor = new op(this.cylinderMesh)), this._editor;
38333
38364
  }
38334
38365
  get data() {
38335
- return ee(x({}, this.baseData), {
38366
+ return $(x({}, this.baseData), {
38336
38367
  bottomCenter: zt(this.applyObjectMatrixWorld(this.cylinderMesh.bottomCenter, this.cylinderMesh)),
38337
38368
  topCenter: zt(this.applyObjectMatrixWorld(this.cylinderMesh.topCenter, this.cylinderMesh)),
38338
38369
  radius: this.cylinderMesh.radius,
@@ -38341,6 +38372,9 @@ class Mf extends Ci {
38341
38372
  }
38342
38373
  });
38343
38374
  }
38375
+ setData(e) {
38376
+ this.cylinderMesh.setPoints(e), this.cylinderMesh.setStyle(e.style);
38377
+ }
38344
38378
  highlight() {
38345
38379
  var e;
38346
38380
  (e = this.cylinderMesh) == null || e.highlight();
@@ -38506,7 +38540,7 @@ class kf extends Ci {
38506
38540
  return this._editor || (this._editor = new ap(this.boxMesh)), this._editor;
38507
38541
  }
38508
38542
  get data() {
38509
- return ee(x({}, this.baseData), {
38543
+ return $(x({}, this.baseData), {
38510
38544
  points: zt(this.applyObjectMatrixWorld(this.boxMesh.bottomPositions, this.boxMesh)),
38511
38545
  heightPoint: zt(this.applyObjectMatrixWorld(this.boxMesh.topPosition, this.boxMesh)),
38512
38546
  style: {
@@ -38517,6 +38551,9 @@ class kf extends Ci {
38517
38551
  }
38518
38552
  });
38519
38553
  }
38554
+ setData(e) {
38555
+ this.boxMesh.setPoints(e), this.boxMesh.setStyle(e.style);
38556
+ }
38520
38557
  highlight() {
38521
38558
  var e;
38522
38559
  (e = this.boxMesh) == null || e.highlight();
@@ -38582,7 +38619,7 @@ class xf extends Ci {
38582
38619
  return this._editor || (this._editor = new ax(this)), this._editor;
38583
38620
  }
38584
38621
  get data() {
38585
- return ee(x({}, this.baseData), {
38622
+ return $(x({}, this.baseData), {
38586
38623
  points: zt(this.applyObjectMatrixWorld(this.lineMesh.points)),
38587
38624
  style: {
38588
38625
  lineColor: new b.Color(this.lineMesh.color).getHex(),
@@ -38591,6 +38628,9 @@ class xf extends Ci {
38591
38628
  }
38592
38629
  });
38593
38630
  }
38631
+ setData(e) {
38632
+ e.points && this.lineMesh.setPoints(e.points), this.lineMesh.setStyle(e.style);
38633
+ }
38594
38634
  highlight() {
38595
38635
  var e;
38596
38636
  (e = this.lineMesh) == null || e.highlight();
@@ -38630,7 +38670,7 @@ function cp(n, t, e) {
38630
38670
  return;
38631
38671
  const { promise: s, resolve: o, reject: r } = Sc(), a = (S = e == null ? void 0 : e.limit) != null ? S : "none", l = new Yt(n.style);
38632
38672
  i.add(l);
38633
- const c = new Yt(ee(x({}, n.style), { dashed: !0, lengthEnable: !1 }));
38673
+ const c = new Yt($(x({}, n.style), { dashed: !0, lengthEnable: !1 }));
38634
38674
  i.add(c), t.enable();
38635
38675
  const h = [];
38636
38676
  let u, f, m;
@@ -38705,7 +38745,7 @@ const Vn = class extends ct {
38705
38745
  } catch (i) {
38706
38746
  return console.error(i), null;
38707
38747
  }
38708
- }).filter(xe)
38748
+ }).filter(De)
38709
38749
  };
38710
38750
  }
38711
38751
  get items() {
@@ -38719,7 +38759,7 @@ const Vn = class extends ct {
38719
38759
  this.clear();
38720
38760
  const s = (o = e == null ? void 0 : e.items) == null ? void 0 : o.map((r) => {
38721
38761
  var l;
38722
- const a = ee(x({}, r), {
38762
+ const a = $(x({}, r), {
38723
38763
  style: x(x({}, (l = this.theme) == null ? void 0 : l[r.type.toLowerCase()]), r.style)
38724
38764
  });
38725
38765
  return r.type === "Point" ? new wf(a, i) : r.type === "line" ? new xf(a, i) : r.type === "Polyline" ? new yf(a, i) : r.type === "Polygon" ? new Cf(a, i) : r.type === "Prism" ? new Pf(a, i) : r.type === "Rectangle" ? new If(a, i) : r.type === "Circle" ? new Ef(a, i) : r.type === "Cylinder" ? new Mf(a, i) : r.type === "Box" ? new kf(a, i) : null;
@@ -38942,7 +38982,7 @@ function Df(n) {
38942
38982
  let t, e;
38943
38983
  return {
38944
38984
  c() {
38945
- t = L("div"), e = De(
38985
+ t = L("div"), e = xe(
38946
38986
  /*text*/
38947
38987
  n[0]
38948
38988
  ), P(t, "class", "model-maker-tag svelte-1q9fx3x");
@@ -39019,7 +39059,7 @@ const Sf = (n, t) => {
39019
39059
  class Tf extends dp {
39020
39060
  constructor(...t) {
39021
39061
  const e = t[0], i = rs(e.model), s = new b.Vector3().lerpVectors(Di(i, 0), Di(i, 5), 0.5);
39022
- super(ee(x({}, e), { position: s })), this.enable();
39062
+ super($(x({}, e), { position: s })), this.enable();
39023
39063
  }
39024
39064
  }
39025
39065
  class Ex extends wi {
@@ -39162,7 +39202,7 @@ class Ex extends wi {
39162
39202
  });
39163
39203
  }
39164
39204
  setState(e) {
39165
- xe(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), xe(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
39205
+ De(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), De(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
39166
39206
  }
39167
39207
  getItemById(e) {
39168
39208
  return this.items.find((i) => i.rawData.id === e);
@@ -39265,7 +39305,7 @@ const e5 = (...n) => new Ex(...n), Mx = /* @__PURE__ */ Object.freeze(/* @__PURE
39265
39305
  lookObject: Yv,
39266
39306
  lookPoint: $f,
39267
39307
  nextFrame: oo,
39268
- notNil: xe,
39308
+ notNil: De,
39269
39309
  pointInPolygon: Qc,
39270
39310
  reblink: Kf,
39271
39311
  requestAnimationFrameInterval: as,