@realsee/dnalogel 3.41.7 → 3.42.0-alpha-tag.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (370) hide show
  1. package/README.md +116 -0
  2. package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -1
  3. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -0
  4. package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
  5. package/dist/PanoTagPlugin/typings/controller.d.ts +17 -16
  6. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +3 -2
  7. package/dist/index.cjs.js +30 -30
  8. package/dist/index.js +754 -771
  9. package/dist/index.umd.js +24 -24
  10. package/docs/.nojekyll +1 -0
  11. package/docs/assets/custom.css +0 -0
  12. package/docs/assets/highlight.css +127 -0
  13. package/docs/assets/main.js +58 -0
  14. package/docs/assets/search.js +1 -0
  15. package/docs/assets/style.css +1367 -0
  16. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +731 -0
  17. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +694 -0
  18. package/docs/classes/CSS3DRender.html +778 -0
  19. package/docs/classes/GuideLineItem.GuideLineItem.html +481 -0
  20. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +894 -0
  21. package/docs/classes/Magnifier.html +485 -0
  22. package/docs/classes/ModelRoomLabelController.html +403 -0
  23. package/docs/classes/MoveController.html +681 -0
  24. package/docs/classes/Object3DHelperController.html +645 -0
  25. package/docs/classes/PaintBrush.html +507 -0
  26. package/docs/classes/PanoMeasurePluginLine.html +527 -0
  27. package/docs/classes/PanoMeasurePluginModel.html +576 -0
  28. package/docs/classes/PanoMeasurePluginPoint.html +367 -0
  29. package/docs/classes/PanoMeasurePluginPolyline.html +572 -0
  30. package/docs/classes/PanoTagPluginController.html +1132 -0
  31. package/docs/classes/Util.BetterTween.html +421 -0
  32. package/docs/classes/Util.Interval.html +437 -0
  33. package/docs/classes/Util.LineSegments.html +389 -0
  34. package/docs/classes/Util.Magnifier.html +508 -0
  35. package/docs/classes/Util.Object3D.html +411 -0
  36. package/docs/classes/Util.PointDomHelper.html +412 -0
  37. package/docs/classes/Util.PointHelper.html +403 -0
  38. package/docs/classes/Util.PointSelectorHelper.html +459 -0
  39. package/docs/classes/Util.Rectangle.html +460 -0
  40. package/docs/classes/WalkController.html +700 -0
  41. package/docs/enums/CameraMovementEffect.html +315 -0
  42. package/docs/enums/ContentType.html +461 -0
  43. package/docs/enums/DIRECTION.html +325 -0
  44. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +325 -0
  45. package/docs/enums/DimensionType.html +315 -0
  46. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +318 -0
  47. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +325 -0
  48. package/docs/enums/PaintBrushTypeEnum.html +318 -0
  49. package/docs/enums/PointType.html +315 -0
  50. package/docs/enums/Rotation.html +322 -0
  51. package/docs/functions/AreaMakerPlugin.html +295 -0
  52. package/docs/functions/CSS3DRenderPlugin.html +293 -0
  53. package/docs/functions/CameraMovementPlugin.html +298 -0
  54. package/docs/functions/CruisePlugin.html +295 -0
  55. package/docs/functions/CurrentPanoImagePlugin.html +295 -0
  56. package/docs/functions/GuideLinePlugin.html +295 -0
  57. package/docs/functions/ItemLabelPlugin.html +295 -0
  58. package/docs/functions/MapviewFloorplanPlugin.html +295 -0
  59. package/docs/functions/ModelChassisCompassPlugin.html +298 -0
  60. package/docs/functions/ModelEntryDoorGuidePlugin.html +298 -0
  61. package/docs/functions/ModelFloorplanPlugin.html +295 -0
  62. package/docs/functions/ModelItemLabelPlugin.html +295 -0
  63. package/docs/functions/ModelRoomLabelPlugin.html +293 -0
  64. package/docs/functions/ModelTVVideoPlugin.html +295 -0
  65. package/docs/functions/ModelViewPlugin.html +298 -0
  66. package/docs/functions/MovePlugin.html +295 -0
  67. package/docs/functions/Object3DHelperPlugin.html +293 -0
  68. package/docs/functions/PanoCompassPlugin.html +295 -0
  69. package/docs/functions/PanoCursorRaycasterPlugin.html +299 -0
  70. package/docs/functions/PanoDoorLabelPlugin.html +295 -0
  71. package/docs/functions/PanoFloorplanRadarPlugin.html +295 -0
  72. package/docs/functions/PanoMeasurePlugin.html +295 -0
  73. package/docs/functions/PanoRulerPlugin.html +298 -0
  74. package/docs/functions/PanoRulerProPlugin.html +298 -0
  75. package/docs/functions/PanoSpatialTagPlugin.html +298 -0
  76. package/docs/functions/PanoTagPlugin.html +300 -0
  77. package/docs/functions/PanoVideoPlugin.html +304 -0
  78. package/docs/functions/PipelinePlugin.html +293 -0
  79. package/docs/functions/TopviewFloorplanPlugin.html +295 -0
  80. package/docs/functions/Util.absoluteUrl.html +331 -0
  81. package/docs/functions/Util.checkFiveModelLoaded.html +334 -0
  82. package/docs/functions/Util.equal.html +343 -0
  83. package/docs/functions/Util.getCoordsFromClient.html +333 -0
  84. package/docs/functions/Util.getCoordsFromElement.html +333 -0
  85. package/docs/functions/Util.getFrameTime.html +325 -0
  86. package/docs/functions/Util.getIntersectFromRelativePosition.html +333 -0
  87. package/docs/functions/Util.getRaycasterFromFivePointer.html +333 -0
  88. package/docs/functions/Util.isAbsoluteURL.html +326 -0
  89. package/docs/functions/Util.isModelLike.html +326 -0
  90. package/docs/functions/Util.isNil.html +334 -0
  91. package/docs/functions/Util.isPanoramaLike.html +326 -0
  92. package/docs/functions/Util.nextFrame.html +339 -0
  93. package/docs/functions/Util.notNil.html +334 -0
  94. package/docs/functions/Util.requestAnimationFrameInterval.html +355 -0
  95. package/docs/functions/Util.tweenProgress.html +328 -0
  96. package/docs/functions/Util.uuid.html +324 -0
  97. package/docs/functions/pluginFlag.html +293 -0
  98. package/docs/index.html +358 -0
  99. package/docs/interfaces/AddTagConfig.html +308 -0
  100. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +335 -0
  101. package/docs/interfaces/AreaMakerPluginType.Config.html +340 -0
  102. package/docs/interfaces/AreaMakerPluginType.EventMap.html +626 -0
  103. package/docs/interfaces/AreaMakerPluginType.Params.html +339 -0
  104. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +397 -0
  105. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +382 -0
  106. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +339 -0
  107. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +332 -0
  108. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +331 -0
  109. package/docs/interfaces/AreaMakerPluginType.State.html +360 -0
  110. package/docs/interfaces/CSS3DRenderPluginEventMap.html +454 -0
  111. package/docs/interfaces/CSS3DRenderPluginState.html +330 -0
  112. package/docs/interfaces/CameraMovementPluginExportType.html +363 -0
  113. package/docs/interfaces/CruisePluginTypes.Config.html +364 -0
  114. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +366 -0
  115. package/docs/interfaces/CruisePluginTypes.EventMap.html +724 -0
  116. package/docs/interfaces/CruisePluginTypes.MoveAction.html +390 -0
  117. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +426 -0
  118. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +416 -0
  119. package/docs/interfaces/CruisePluginTypes.PluginData.html +356 -0
  120. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +324 -0
  121. package/docs/interfaces/CruisePluginTypes.PluginState.html +392 -0
  122. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +387 -0
  123. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +526 -0
  124. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +328 -0
  125. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +320 -0
  126. package/docs/interfaces/CurrentPanoImagePluginType.State.html +342 -0
  127. package/docs/interfaces/EventMap.html +547 -0
  128. package/docs/interfaces/FloorplanBounding.html +337 -0
  129. package/docs/interfaces/FloorplanData.html +340 -0
  130. package/docs/interfaces/FloorplanEntrance.html +365 -0
  131. package/docs/interfaces/FloorplanExtraObject.html +355 -0
  132. package/docs/interfaces/FloorplanExtraObject3D.html +344 -0
  133. package/docs/interfaces/FloorplanFloorData.html +333 -0
  134. package/docs/interfaces/FloorplanImagePosition.html +319 -0
  135. package/docs/interfaces/FloorplanObserver.html +337 -0
  136. package/docs/interfaces/FloorplanOutlineItem.html +333 -0
  137. package/docs/interfaces/FloorplanPosition.html +319 -0
  138. package/docs/interfaces/FloorplanRoomItem.html +407 -0
  139. package/docs/interfaces/FloorplanRoomLabelItem.html +325 -0
  140. package/docs/interfaces/FloorplanServerBounding.html +337 -0
  141. package/docs/interfaces/FloorplanServerComputedData.html +336 -0
  142. package/docs/interfaces/FloorplanServerData.html +319 -0
  143. package/docs/interfaces/FloorplanServerDoorItem.html +336 -0
  144. package/docs/interfaces/FloorplanServerDoorPosition.html +322 -0
  145. package/docs/interfaces/FloorplanServerEntrance.html +365 -0
  146. package/docs/interfaces/FloorplanServerFloorData.html +333 -0
  147. package/docs/interfaces/FloorplanServerImagePosition.html +319 -0
  148. package/docs/interfaces/FloorplanServerObserver.html +337 -0
  149. package/docs/interfaces/FloorplanServerOutlineItem.html +333 -0
  150. package/docs/interfaces/FloorplanServerPosition.html +319 -0
  151. package/docs/interfaces/FloorplanServerRoomItem.html +419 -0
  152. package/docs/interfaces/FloorplanServerRoomLabelItem.html +325 -0
  153. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +328 -0
  154. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +367 -0
  155. package/docs/interfaces/GuideLinePluginType.EventMap.html +531 -0
  156. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +362 -0
  157. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +353 -0
  158. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +452 -0
  159. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +342 -0
  160. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +352 -0
  161. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +522 -0
  162. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +349 -0
  163. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +532 -0
  164. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +314 -0
  165. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +335 -0
  166. package/docs/interfaces/GuideLinePluginType.PluginState.html +360 -0
  167. package/docs/interfaces/GuideLinePluginType.Route.html +376 -0
  168. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +358 -0
  169. package/docs/interfaces/HelperOffset.html +337 -0
  170. package/docs/interfaces/ImagePlaneGroup.html +311 -0
  171. package/docs/interfaces/ItemLabelPluginData.html +308 -0
  172. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +393 -0
  173. package/docs/interfaces/ItemLabelPluginParametersType.html +329 -0
  174. package/docs/interfaces/MinMax.html +315 -0
  175. package/docs/interfaces/ModelChassisCompassPluginData.html +315 -0
  176. package/docs/interfaces/ModelChassisCompassPluginExportType.html +351 -0
  177. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +315 -0
  178. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +322 -0
  179. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +359 -0
  180. package/docs/interfaces/ModelItemLabelPluginData.html +308 -0
  181. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +393 -0
  182. package/docs/interfaces/ModelItemLabelPluginParametersType.html +315 -0
  183. package/docs/interfaces/ModelRoomLabelPluginData.html +308 -0
  184. package/docs/interfaces/ModelTVVideoPluginData.html +329 -0
  185. package/docs/interfaces/ModelTVVideoPluginExportType.html +353 -0
  186. package/docs/interfaces/ModelTVVideoPluginParameterType.html +308 -0
  187. package/docs/interfaces/ModelViewPluginExportType.html +421 -0
  188. package/docs/interfaces/Object3DHelperState.html +322 -0
  189. package/docs/interfaces/ObjectHelperControllers.html +329 -0
  190. package/docs/interfaces/PaintBrushAction.html +368 -0
  191. package/docs/interfaces/PaintBrushConfigs.html +366 -0
  192. package/docs/interfaces/PaintBrushState.html +350 -0
  193. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +430 -0
  194. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +287 -0
  195. package/docs/interfaces/PanoMeasureParameterType.html +454 -0
  196. package/docs/interfaces/PanoMeasurePluginLineJson.html +322 -0
  197. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +319 -0
  198. package/docs/interfaces/PanoMeasurePluginPointJson.html +315 -0
  199. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +325 -0
  200. package/docs/interfaces/PanoRulerPluginExportType.html +382 -0
  201. package/docs/interfaces/PanoRulerPluginOptions.html +331 -0
  202. package/docs/interfaces/PanoRulerPluginParameterType.html +322 -0
  203. package/docs/interfaces/PanoRulerProPluginExportType.html +358 -0
  204. package/docs/interfaces/PanoRulerProPluginOptions.html +328 -0
  205. package/docs/interfaces/PanoRulerProPluginParameterType.html +315 -0
  206. package/docs/interfaces/PanoRulerProPluginState.html +322 -0
  207. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +301 -0
  208. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +290 -0
  209. package/docs/interfaces/PanoSpatialTagPluginData.html +358 -0
  210. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +340 -0
  211. package/docs/interfaces/PanoSpatialTagPluginExportType.html +436 -0
  212. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +336 -0
  213. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +357 -0
  214. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +343 -0
  215. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +336 -0
  216. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +328 -0
  217. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +346 -0
  218. package/docs/interfaces/PanoVideoPluginType.PluginData.html +319 -0
  219. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +425 -0
  220. package/docs/interfaces/PanoVideoPluginType.PluginState.html +319 -0
  221. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +354 -0
  222. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +373 -0
  223. package/docs/interfaces/Point.html +322 -0
  224. package/docs/interfaces/Room.html +329 -0
  225. package/docs/interfaces/RoomInfo.html +315 -0
  226. package/docs/interfaces/RoomLabel.html +391 -0
  227. package/docs/interfaces/RoomRules.html +290 -0
  228. package/docs/interfaces/Rooms.html +290 -0
  229. package/docs/interfaces/Scissor.html +349 -0
  230. package/docs/interfaces/State.html +336 -0
  231. package/docs/interfaces/TagCacheInterface.html +367 -0
  232. package/docs/interfaces/TagConfig.html +570 -0
  233. package/docs/interfaces/TagGLTFObjectGroup.html +311 -0
  234. package/docs/interfaces/TagIconUrl.html +368 -0
  235. package/docs/interfaces/TagObjectGroup.html +311 -0
  236. package/docs/interfaces/TagStyle.html +321 -0
  237. package/docs/interfaces/Tags.html +2825 -0
  238. package/docs/interfaces/TemporaryState.html +308 -0
  239. package/docs/interfaces/Util.MagnifierParameter.html +396 -0
  240. package/docs/interfaces/Util.MouseGroupParameter.html +355 -0
  241. package/docs/interfaces/Util.PointIntersection.html +370 -0
  242. package/docs/modules/AreaMakerPluginType.html +330 -0
  243. package/docs/modules/CruisePluginTypes.html +333 -0
  244. package/docs/modules/CurrentPanoImagePluginType.html +302 -0
  245. package/docs/modules/GuideLineItem.html +294 -0
  246. package/docs/modules/GuideLineModeItem.html +299 -0
  247. package/docs/modules/GuideLinePluginType.html +355 -0
  248. package/docs/modules/PanoVideoPluginType.html +306 -0
  249. package/docs/modules/Util.html +356 -0
  250. package/docs/modules.html +564 -0
  251. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +359 -0
  252. package/docs/types/AreaMakerPluginType.ItemRenderer.html +325 -0
  253. package/docs/types/AreaMakerPluginType.PluginData.html +307 -0
  254. package/docs/types/AreaMakerPluginType.ServerData.html +307 -0
  255. package/docs/types/ArrayPosition.html +284 -0
  256. package/docs/types/AudioAppearance.html +284 -0
  257. package/docs/types/AudioTagTypeConfigKey.html +284 -0
  258. package/docs/types/CSS3DRenderExportType.html +284 -0
  259. package/docs/types/CSS3DRenderPluginExportType.html +284 -0
  260. package/docs/types/CSS3DRenderPluginParameterType.html +284 -0
  261. package/docs/types/ClassFunctionParameters.html +291 -0
  262. package/docs/types/Color.html +284 -0
  263. package/docs/types/ContentTypeConfigKey.html +284 -0
  264. package/docs/types/ContentTypeConfigKeySplit.html +284 -0
  265. package/docs/types/ContentTypeMap.html +284 -0
  266. package/docs/types/Create3DDomContainerReturnType.html +284 -0
  267. package/docs/types/Create3DElementReturnType.html +284 -0
  268. package/docs/types/CruisePluginExportType.html +284 -0
  269. package/docs/types/CruisePluginTypes.CruiseData.html +323 -0
  270. package/docs/types/CruisePluginTypes.MoveEffect.html +300 -0
  271. package/docs/types/CurrentPanoImagePluginExportType.html +284 -0
  272. package/docs/types/DeprecatedMediaPlaneProperty.html +296 -0
  273. package/docs/types/DeprecatedTagProperty.html +299 -0
  274. package/docs/types/Direction-1.html +284 -0
  275. package/docs/types/Direction4.html +284 -0
  276. package/docs/types/ElementRenderer.html +308 -0
  277. package/docs/types/FloorplanRuleLabels.html +287 -0
  278. package/docs/types/FloorplanServerRuleLabels.html +284 -0
  279. package/docs/types/GuideLinePluginExportType.html +284 -0
  280. package/docs/types/GuideLinePluginType.GuideLineItem.html +357 -0
  281. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +378 -0
  282. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +311 -0
  283. package/docs/types/GuideLinePluginType.GuideLineStyle.html +314 -0
  284. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +314 -0
  285. package/docs/types/GuideLinePluginType.PathItem.html +314 -0
  286. package/docs/types/GuideLinePluginType.PluginData.html +323 -0
  287. package/docs/types/HelperEventMap.html +429 -0
  288. package/docs/types/InternalHelperEventMap.html +380 -0
  289. package/docs/types/LoadTagConfig.html +284 -0
  290. package/docs/types/MapviewFloorplanPluginParameterType.html +284 -0
  291. package/docs/types/MapviewFloorplanPluginReturnType.html +284 -0
  292. package/docs/types/MediaData.html +305 -0
  293. package/docs/types/MediaStore.html +289 -0
  294. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +291 -0
  295. package/docs/types/ModelFloorplanPluginParameterType.html +284 -0
  296. package/docs/types/ModelFloorplanPluginReturnType.html +284 -0
  297. package/docs/types/ModelId.html +284 -0
  298. package/docs/types/ModelRoomLabelPluginParameters.html +284 -0
  299. package/docs/types/ModelRoomLabelPluginReturnType.html +284 -0
  300. package/docs/types/MoveArgs.html +294 -0
  301. package/docs/types/MoveOpts.html +292 -0
  302. package/docs/types/Object3DHelperEventMap.html +377 -0
  303. package/docs/types/ObjectFit.html +284 -0
  304. package/docs/types/PaintBrushEventMap.html +315 -0
  305. package/docs/types/PanoCompassPluginData.html +284 -0
  306. package/docs/types/PanoCompassPluginExportType.html +284 -0
  307. package/docs/types/PanoCompassPluginParameterType.html +284 -0
  308. package/docs/types/PanoFloorplanRadarPluginParameterType.html +284 -0
  309. package/docs/types/PanoFloorplanRadarPluginReturnType.html +284 -0
  310. package/docs/types/PanoIndex.html +284 -0
  311. package/docs/types/PanoMeasurePluginEvent.html +284 -0
  312. package/docs/types/PanoMeasureReturnType.html +284 -0
  313. package/docs/types/PanoSpatialTagPluginId.html +284 -0
  314. package/docs/types/PanoTagPluginExportInterface.html +284 -0
  315. package/docs/types/PanoTagPluginParamsInterface.html +284 -0
  316. package/docs/types/PanoVideoPluginParameterType.html +284 -0
  317. package/docs/types/PanoVideoPluginReturnType.html +284 -0
  318. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +292 -0
  319. package/docs/types/PipelinePluginParameterType.html +284 -0
  320. package/docs/types/PipelinePluginReturnType.html +284 -0
  321. package/docs/types/PlaneTag.html +292 -0
  322. package/docs/types/Point2DTag.html +292 -0
  323. package/docs/types/Point3DTag.html +292 -0
  324. package/docs/types/PointTag.html +289 -0
  325. package/docs/types/PointTagInstance.html +289 -0
  326. package/docs/types/Position.html +284 -0
  327. package/docs/types/RotateArgs.html +296 -0
  328. package/docs/types/RotateOpts.html +292 -0
  329. package/docs/types/RuleLabelsKey.html +284 -0
  330. package/docs/types/RuleLabelsValue.html +284 -0
  331. package/docs/types/StickType.html +284 -0
  332. package/docs/types/Tag.html +350 -0
  333. package/docs/types/Tag2D.html +292 -0
  334. package/docs/types/Tag3D.html +292 -0
  335. package/docs/types/TagConfigByKey.html +289 -0
  336. package/docs/types/TagContentType.html +284 -0
  337. package/docs/types/TagContentTypeMapping.html +284 -0
  338. package/docs/types/TagDimensionType.html +286 -0
  339. package/docs/types/TagElement.html +294 -0
  340. package/docs/types/TagEvents.html +337 -0
  341. package/docs/types/TagGLTFObject.html +307 -0
  342. package/docs/types/TagHooks.html +284 -0
  343. package/docs/types/TagId.html +284 -0
  344. package/docs/types/TagInstance.html +362 -0
  345. package/docs/types/TagPointType.html +287 -0
  346. package/docs/types/TagRendererMap.html +291 -0
  347. package/docs/types/TopviewFloorplanPluginParameterType.html +284 -0
  348. package/docs/types/TopviewFloorplanPluginReturnType.html +284 -0
  349. package/docs/types/WorkCode.html +284 -0
  350. package/docs/variables/FLOOR_TYPE_MAP.html +294 -0
  351. package/docs/variables/PLUGIN.html +284 -0
  352. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +287 -0
  353. package/docs/variables/ROOM_TYPE_MAP.html +294 -0
  354. package/docs/variables/defaultGlobalConfig.html +284 -0
  355. package/docs/variables/itemLabelPluginServerParams.html +291 -0
  356. package/docs/variables/modelItemLabelPluginServerParams.html +291 -0
  357. package/docs/variables/modelRoomLabelPluginServerParams.html +291 -0
  358. package/libs/PanoTagPlugin/Components/TagItem.js +235 -273
  359. package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -1
  360. package/libs/PanoTagPlugin/controller/TagRender.js +70 -62
  361. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -0
  362. package/libs/PanoTagPlugin/controller/TagUtil.js +22 -20
  363. package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
  364. package/libs/PanoTagPlugin/controller/index.js +68 -62
  365. package/libs/PanoTagPlugin/tag.config.js +5 -0
  366. package/libs/PanoTagPlugin/typings/controller.d.ts +17 -16
  367. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +3 -2
  368. package/libs/base/BasePlugin.js +1 -1
  369. package/libs/shared-utils/logger.js +1 -1
  370. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -20,7 +20,7 @@ var bn = (n, t) => {
20
20
  return e;
21
21
  };
22
22
  var d = (n, t, e) => (pa(n, typeof t != "symbol" ? t + "" : t, e), e);
23
- var _ = (n, t, e) => new Promise((i, s) => {
23
+ var G = (n, t, e) => new Promise((i, s) => {
24
24
  var o = (l) => {
25
25
  try {
26
26
  a(e.next(l));
@@ -38,7 +38,7 @@ var _ = (n, t, e) => new Promise((i, s) => {
38
38
  });
39
39
  import { Camera as Sg, Five as mt, Subscribe as rn } from "@realsee/five";
40
40
  import * as w from "three";
41
- import { Vector3 as le, LineSegments as Tg, Group as jn, Raycaster as qn, MeshBasicMaterial as Gs, CanvasTexture as Lg, AnimationMixer as jg, Color as Kn, TextureLoader as tf, Vector2 as Pt, Object3D as zg, PlaneGeometry as Og, sRGBEncoding as Bg, LinearFilter as Wa, Mesh as zs, CurvePath as Rg, LineCurve3 as Vg, TubeGeometry as Hg, ShaderMaterial as nf, SphereGeometry as Ng, DoubleSide as sf, RingGeometry as Fg, Quaternion as gl, Euler as cc, Matrix4 as Ds, VideoTexture as Gg, Vector4 as _g, SphereBufferGeometry as Qg } from "three";
41
+ import { Vector3 as le, LineSegments as Tg, Group as jn, Raycaster as qn, MeshBasicMaterial as Gs, CanvasTexture as Lg, AnimationMixer as jg, Color as Kn, TextureLoader as tf, Vector2 as Ct, Object3D as zg, PlaneGeometry as Og, sRGBEncoding as Bg, LinearFilter as Wa, Mesh as zs, CurvePath as Rg, LineCurve3 as Vg, TubeGeometry as Hg, ShaderMaterial as nf, SphereGeometry as Ng, DoubleSide as sf, RingGeometry as Fg, Quaternion as gl, Euler as cc, Matrix4 as Ds, VideoTexture as Gg, Vector4 as _g, SphereBufferGeometry as Qg } from "three";
42
42
  import { CSS3DRenderer as Wg, CSS3DObject as Ua } from "three/examples/jsm/renderers/CSS3DRenderer";
43
43
  import pr from "hammerjs";
44
44
  import Xo from "animejs";
@@ -48,7 +48,7 @@ import Jg from "earcut";
48
48
  import { GLTFLoader as qg } from "@realsee/five/gltf-loader";
49
49
  function Kg() {
50
50
  console.debug(
51
- "%c %c@realsee/dnalogel %cv3.41.7",
51
+ "%c %c@realsee/dnalogel %cv3.42.0-alpha-tag.1",
52
52
  [
53
53
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
54
54
  "background-repeat: no-repeat",
@@ -1013,7 +1013,7 @@ let fp = class extends dp {
1013
1013
  this.closeBrush(), this.ready = !1, this.emit("readyChange", !0);
1014
1014
  }
1015
1015
  };
1016
- class Q3 {
1016
+ class Qx {
1017
1017
  constructor(t = {}) {
1018
1018
  d(this, "controller");
1019
1019
  const e = Object.assign({
@@ -1064,9 +1064,9 @@ class Q3 {
1064
1064
  this.controller.updateCurrentColor(t);
1065
1065
  }
1066
1066
  }
1067
- const W3 = (n, t) => {
1068
- var G, N;
1069
- let e = (N = (G = t == null ? void 0 : t.initialState) == null ? void 0 : G.enabled) != null ? N : !0, i = !1, s = !0, o = null;
1067
+ const Wx = (n, t) => {
1068
+ var _, N;
1069
+ let e = (N = (_ = t == null ? void 0 : t.initialState) == null ? void 0 : _.enabled) != null ? N : !0, i = !1, s = !0, o = null;
1070
1070
  const a = D(D({}, {
1071
1071
  lookAtCurrentCamera: !1,
1072
1072
  lockedPanoIndex: null,
@@ -1257,7 +1257,7 @@ function Po(n) {
1257
1257
  function vp(n) {
1258
1258
  n[Bs] && delete n[Bs];
1259
1259
  }
1260
- class It {
1260
+ class Pt {
1261
1261
  /**
1262
1262
  * 判断是否注册了事件
1263
1263
  * @param name - 事件类型
@@ -1373,7 +1373,7 @@ class Cp extends Ua {
1373
1373
  d(this, "centerPosition");
1374
1374
  d(this, "ratio");
1375
1375
  d(this, "mode", "front");
1376
- d(this, "hooks", new It());
1376
+ d(this, "hooks", new Pt());
1377
1377
  d(this, "opacityMesh");
1378
1378
  d(this, "selfVisible", !0);
1379
1379
  d(this, "setVisible", (e) => {
@@ -1538,7 +1538,7 @@ function Dp(n) {
1538
1538
  class _s {
1539
1539
  // eslint-disable-next-line @typescript-eslint/no-useless-constructor
1540
1540
  constructor(t) {
1541
- d(this, "hooks", new It());
1541
+ d(this, "hooks", new Pt());
1542
1542
  d(this, "state", {
1543
1543
  enabled: !0,
1544
1544
  visible: !0,
@@ -1674,14 +1674,14 @@ class _s {
1674
1674
  this.setState({ disposed: !0 }), this.hooks.emit("dispose");
1675
1675
  }
1676
1676
  show() {
1677
- return _(this, arguments, function* ({ userAction: t } = { userAction: !0 }) {
1677
+ return G(this, arguments, function* ({ userAction: t } = { userAction: !0 }) {
1678
1678
  if (this.state.disposed)
1679
1679
  return yn();
1680
1680
  this.setState({ visible: !0 }, { userAction: t }), this.hooks.emit("show", { userAction: t });
1681
1681
  });
1682
1682
  }
1683
1683
  hide() {
1684
- return _(this, arguments, function* ({ userAction: t } = { userAction: !0 }) {
1684
+ return G(this, arguments, function* ({ userAction: t } = { userAction: !0 }) {
1685
1685
  if (this.state.disposed)
1686
1686
  return yn();
1687
1687
  this.setState({ visible: !1 }, { userAction: t }), this.hooks.emit("hide", { userAction: t });
@@ -1753,13 +1753,13 @@ class _s {
1753
1753
  }
1754
1754
  }
1755
1755
  handleShow() {
1756
- return _(this, null, function* () {
1756
+ return G(this, null, function* () {
1757
1757
  var t;
1758
1758
  this.store.frontModeGroup.setVisible(!0), (t = this.store.behindModeGroup) == null || t.setVisible(!0);
1759
1759
  });
1760
1760
  }
1761
1761
  handleHide() {
1762
- return _(this, null, function* () {
1762
+ return G(this, null, function* () {
1763
1763
  var t;
1764
1764
  this.store.frontModeGroup.setVisible(!1), (t = this.store.behindModeGroup) == null || t.setVisible(!1);
1765
1765
  });
@@ -1860,7 +1860,7 @@ class vl {
1860
1860
  d(this, "width");
1861
1861
  d(this, "height");
1862
1862
  d(this, "containerDom");
1863
- d(this, "hooks", new It());
1863
+ d(this, "hooks", new Pt());
1864
1864
  d(this, "canvas", document.createElement("canvas"));
1865
1865
  d(this, "config");
1866
1866
  d(this, "state", { enabled: !1 });
@@ -2209,7 +2209,7 @@ class gf {
2209
2209
  class pf {
2210
2210
  constructor(t, e) {
2211
2211
  d(this, "five");
2212
- d(this, "hooks", new It());
2212
+ d(this, "hooks", new Pt());
2213
2213
  d(this, "position");
2214
2214
  d(this, "magnifier", null);
2215
2215
  d(this, "pointHelper", null);
@@ -2393,7 +2393,7 @@ function br(n, t = 0) {
2393
2393
  t <= 0 ? Hn(n) : Hn(() => br(n, t - 1));
2394
2394
  }
2395
2395
  function Up() {
2396
- return _(this, null, function* () {
2396
+ return G(this, null, function* () {
2397
2397
  return new Promise((n) => {
2398
2398
  Hn(() => n());
2399
2399
  });
@@ -2467,10 +2467,10 @@ function Kp(n, t) {
2467
2467
  }
2468
2468
  return !0;
2469
2469
  }
2470
- function Ct(n, t, e = { deep: !1 }) {
2470
+ function wt(n, t, e = { deep: !1 }) {
2471
2471
  return e.deep ? yl(n, t) : Jp(n, t);
2472
2472
  }
2473
- const Y3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2473
+ const Yx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2474
2474
  __proto__: null,
2475
2475
  BetterTween: $i,
2476
2476
  Interval: Za,
@@ -2486,7 +2486,7 @@ const Y3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2486
2486
  awaitNextFrame: Up,
2487
2487
  blink: vr,
2488
2488
  checkFiveModelLoaded: Tp,
2489
- equal: Ct,
2489
+ equal: wt,
2490
2490
  getCoordsFromClient: jp,
2491
2491
  getCoordsFromElement: uf,
2492
2492
  getFrameTime: Yp,
@@ -2504,7 +2504,7 @@ const Y3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2504
2504
  uuid: lt
2505
2505
  }, Symbol.toStringTag, { value: "Module" }));
2506
2506
  function es(n) {
2507
- return _(this, null, function* () {
2507
+ return G(this, null, function* () {
2508
2508
  return new Promise((t) => {
2509
2509
  if ($p(n))
2510
2510
  t();
@@ -2683,7 +2683,7 @@ function ba(n, t, e = new le(1, 1, 1), i = !1) {
2683
2683
  const s = new Pf(n, t);
2684
2684
  return s.setMaterial({ dashed: i, color: e, linewidth: 1 }), s.remove(s.points), s;
2685
2685
  }
2686
- const Z3 = (n) => {
2686
+ const Zx = (n) => {
2687
2687
  const t = {
2688
2688
  intersection: null,
2689
2689
  disposers: []
@@ -2808,7 +2808,7 @@ function ss(n) {
2808
2808
  }
2809
2809
  return -1;
2810
2810
  }
2811
- function Ze(n) {
2811
+ function Ke(n) {
2812
2812
  return n == null ? "" : n;
2813
2813
  }
2814
2814
  function Ut(n) {
@@ -3016,7 +3016,7 @@ function ji() {
3016
3016
  function Tf(n) {
3017
3017
  ji().$$.before_update.push(n);
3018
3018
  }
3019
- function xt(n) {
3019
+ function kt(n) {
3020
3020
  ji().$$.on_mount.push(n);
3021
3021
  }
3022
3022
  function Lf(n) {
@@ -3319,7 +3319,7 @@ function Zt(n, t, e, i, s, o, r, a, l, c, h, u) {
3319
3319
  E(g[m - 1]);
3320
3320
  return ot(P), g;
3321
3321
  }
3322
- function Et(n, t) {
3322
+ function It(n, t) {
3323
3323
  const e = {}, i = {}, s = { $$scope: 1 };
3324
3324
  let o = n.length;
3325
3325
  for (; o--; ) {
@@ -3949,7 +3949,7 @@ function FA(n, t, e) {
3949
3949
  return P.set(E.id, F), F;
3950
3950
  }
3951
3951
  return o.map((E) => {
3952
- const z = c(E), R = z ? h(E, y) : E.transform, U = I(E), F = o.filter((G) => G.visible && I(G) < U).length * 10;
3952
+ const z = c(E), R = z ? h(E, y) : E.transform, U = I(E), F = o.filter((_) => _.visible && I(_) < U).length * 10;
3953
3953
  return re(D({}, E), { visible: z, transform: R, zIndex: F });
3954
3954
  });
3955
3955
  }
@@ -4076,13 +4076,13 @@ class QA {
4076
4076
  }
4077
4077
  }
4078
4078
  }
4079
- const J3 = (n) => new QA(n), q3 = {
4079
+ const Jx = (n) => new QA(n), qx = {
4080
4080
  name: "ModelRoomLabelPlugin",
4081
4081
  version: 0
4082
4082
  };
4083
4083
  var Xi = /* @__PURE__ */ ((n) => (n[n.FLOOR = 1] = "FLOOR", n[n.CEILING = 2] = "CEILING", n[n.BOUNDING_CENTER = 3] = "BOUNDING_CENTER", n))(Xi || {});
4084
4084
  function en(n) {
4085
- return _(this, null, function* () {
4085
+ return G(this, null, function* () {
4086
4086
  try {
4087
4087
  return [null, yield n];
4088
4088
  } catch (t) {
@@ -4634,16 +4634,16 @@ function cv(n, t, e) {
4634
4634
  return () => !1;
4635
4635
  const Le = K.path.map(({ x: Oe, y: Ge }) => [Oe, Ge]), pe = K.roomLabel.position, { x: Ye, y: je } = pe, { width: ke, height: $e } = ve, ae = ke / 2, Ce = $e / 2;
4636
4636
  return function(Ge) {
4637
- const rt = Ye * Ge, Je = je * Ge, tt = Le.map(([Ie, Xe]) => [Ie * Ge, Xe * Ge]);
4637
+ const rt = Ye * Ge, Ze = je * Ge, tt = Le.map(([Ie, Xe]) => [Ie * Ge, Xe * Ge]);
4638
4638
  return [
4639
- [rt + ae, Je - Ce],
4640
- [rt - ae, Je - Ce],
4641
- [rt - ae, Je + Ce],
4642
- [rt + ae, Je + Ce]
4639
+ [rt + ae, Ze - Ce],
4640
+ [rt - ae, Ze - Ce],
4641
+ [rt - ae, Ze + Ce],
4642
+ [rt + ae, Ze + Ce]
4643
4643
  ].every((Ie) => lv(Ie, tt));
4644
4644
  };
4645
4645
  }
4646
- const F = document.body.clientWidth, G = document.body.clientHeight, N = I.roomLabel, Q = N.positionInImage.x * 100 + "%", H = N.positionInImage.y * 100 + "%", Y = (F < 500 || G < 500 ? 10 : 14) + "px", Z = (F < 500 || G < 500 ? 8 : 12) + "px";
4646
+ const F = document.body.clientWidth, _ = document.body.clientHeight, N = I.roomLabel, Q = N.positionInImage.x * 100 + "%", H = N.positionInImage.y * 100 + "%", Y = (F < 500 || _ < 500 ? 10 : 14) + "px", Z = (F < 500 || _ < 500 ? 8 : 12) + "px";
4647
4647
  let J = 0, oe = 0, se = 0, Pe = 0, Ae = !1;
4648
4648
  k.subscribe(function(ve) {
4649
4649
  e(25, Ae = !!ve && ve.id === I.id);
@@ -4870,7 +4870,7 @@ function Lc(n, t) {
4870
4870
  p(a, l) {
4871
4871
  t = a;
4872
4872
  const c = l & /*pxmm, rooms, hoveredRoom, roomAreaEnable, roomNameEnable, roomDimensionEnable, getLabelElement, getRoomAreaText, getRoomDimensionText, adaptiveRoomLabelVisibleEnable*/
4873
- 1791 ? Et(o, [
4873
+ 1791 ? It(o, [
4874
4874
  {
4875
4875
  pxmm: (
4876
4876
  /*pxmm*/
@@ -5260,7 +5260,7 @@ function Vc(n, t) {
5260
5260
  p(a, l) {
5261
5261
  t = a;
5262
5262
  const c = l & /*ruleLabelArray, bounding, getRuleDistanceText*/
5263
- 19 ? Et(o, [
5263
+ 19 ? It(o, [
5264
5264
  {
5265
5265
  type: (
5266
5266
  /*type*/
@@ -5983,7 +5983,7 @@ function Qc(n, t) {
5983
5983
  p(a, l) {
5984
5984
  t = a;
5985
5985
  const c = l & /*floorplanData, floorIndex, hoveredRoom, highlightData*/
5986
- 15 ? Et(o, [
5986
+ 15 ? It(o, [
5987
5987
  {
5988
5988
  room: (
5989
5989
  /*room*/
@@ -6448,7 +6448,7 @@ function d0(n) {
6448
6448
  },
6449
6449
  p(I, k) {
6450
6450
  const E = k & /*floorIndex, floorplanData*/
6451
- 2052 ? Et(u, [
6451
+ 2052 ? It(u, [
6452
6452
  {
6453
6453
  floorIndex: (
6454
6454
  /*floorIndex*/
@@ -6467,7 +6467,7 @@ function d0(n) {
6467
6467
  m = null;
6468
6468
  }), fe());
6469
6469
  const z = k & /*floorplanData, floorIndex*/
6470
- 2052 ? Et(A, [
6470
+ 2052 ? It(A, [
6471
6471
  {
6472
6472
  floorplanData: (
6473
6473
  /*floorplanData*/
@@ -6575,7 +6575,7 @@ function Uc(n) {
6575
6575
  },
6576
6576
  p(o, r) {
6577
6577
  const a = r & /*floorIndex, floorplanData, hoveredRoom, highlightData*/
6578
- 16910340 ? Et(i, [
6578
+ 16910340 ? It(i, [
6579
6579
  {
6580
6580
  floorIndex: (
6581
6581
  /*floorIndex*/
@@ -6666,7 +6666,7 @@ function Yc(n) {
6666
6666
  },
6667
6667
  p(o, r) {
6668
6668
  const a = r & /*floorplanData, roomAreaEnable, roomNameEnable, roomDimensionEnable, floorIndex, getRoomAreaText, getRoomDimensionText, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/
6669
- 16874372 ? Et(i, [
6669
+ 16874372 ? It(i, [
6670
6670
  {
6671
6671
  floorplanData: (
6672
6672
  /*floorplanData*/
@@ -6753,7 +6753,7 @@ function Xc(n) {
6753
6753
  },
6754
6754
  p(o, r) {
6755
6755
  const a = r & /*floorplanData, floorIndex, getRuleDistanceText*/
6756
- 34820 ? Et(i, [
6756
+ 34820 ? It(i, [
6757
6757
  {
6758
6758
  floorplanData: (
6759
6759
  /*floorplanData*/
@@ -6816,7 +6816,7 @@ function Zc(n) {
6816
6816
  },
6817
6817
  p(o, r) {
6818
6818
  const a = r & /*panoIndex, floorplanData, lastPanoramaLongitude, cameraImageUrl*/
6819
- 1574913 ? Et(i, [
6819
+ 1574913 ? It(i, [
6820
6820
  {
6821
6821
  panoIndex: (
6822
6822
  /*panoIndex*/
@@ -6899,7 +6899,7 @@ function f0(n) {
6899
6899
  }
6900
6900
  return e = l(n), i = a[e] = r[e](n), {
6901
6901
  c() {
6902
- t = S("div"), i.c(), C(t, "class", s = Ze(`floorplan-plugin__floor${/*isCurrent*/
6902
+ t = S("div"), i.c(), C(t, "class", s = Ke(`floorplan-plugin__floor${/*isCurrent*/
6903
6903
  n[1] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz");
6904
6904
  },
6905
6905
  m(c, h) {
@@ -6910,7 +6910,7 @@ function f0(n) {
6910
6910
  e = l(c), e === u ? a[e].p(c, h) : (ue(), O(a[u], 1, 1, () => {
6911
6911
  a[u] = null;
6912
6912
  }), fe(), i = a[e], i ? i.p(c, h) : (i = a[e] = r[e](c), i.c()), x(i, 1), i.m(t, null)), (!o || h & /*isCurrent*/
6913
- 2 && s !== (s = Ze(`floorplan-plugin__floor${/*isCurrent*/
6913
+ 2 && s !== (s = Ke(`floorplan-plugin__floor${/*isCurrent*/
6914
6914
  c[1] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz")) && C(t, "class", s);
6915
6915
  },
6916
6916
  i(c) {
@@ -6926,7 +6926,7 @@ function f0(n) {
6926
6926
  }
6927
6927
  function m0(n, t, e) {
6928
6928
  let i, s, { panoIndex: o } = t, { isCurrent: r } = t, { floorIndex: a } = t, { highlightEnable: l } = t, { cameraEnable: c } = t, { hoverEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: f } = t, { roomNameEnable: m } = t, { roomDimensionEnable: A } = t, { ruleLabelsEnable: p } = t, { floorplanData: g } = t, { getRoomAreaText: v } = t, { getRoomDimensionText: y } = t, { getLabelElement: P } = t, { getRuleDistanceText: I } = t, { adaptiveRoomLabelVisibleEnable: k } = t, { highlightData: E } = t, { missingFloorConfig: z } = t, { lastPanoramaLongitude: R } = t, { cameraImageUrl: U } = t, { northDesc: W } = t, { compassEnable: F } = t;
6929
- const G = Ll(void 0);
6929
+ const _ = Ll(void 0);
6930
6930
  return n.$$set = (N) => {
6931
6931
  "panoIndex" in N && e(0, o = N.panoIndex), "isCurrent" in N && e(1, r = N.isCurrent), "floorIndex" in N && e(2, a = N.floorIndex), "highlightEnable" in N && e(3, l = N.highlightEnable), "cameraEnable" in N && e(4, c = N.cameraEnable), "hoverEnable" in N && e(5, h = N.hoverEnable), "roomLabelsEnable" in N && e(6, u = N.roomLabelsEnable), "roomAreaEnable" in N && e(7, f = N.roomAreaEnable), "roomNameEnable" in N && e(8, m = N.roomNameEnable), "roomDimensionEnable" in N && e(9, A = N.roomDimensionEnable), "ruleLabelsEnable" in N && e(10, p = N.ruleLabelsEnable), "floorplanData" in N && e(11, g = N.floorplanData), "getRoomAreaText" in N && e(12, v = N.getRoomAreaText), "getRoomDimensionText" in N && e(13, y = N.getRoomDimensionText), "getLabelElement" in N && e(14, P = N.getLabelElement), "getRuleDistanceText" in N && e(15, I = N.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in N && e(16, k = N.adaptiveRoomLabelVisibleEnable), "highlightData" in N && e(17, E = N.highlightData), "missingFloorConfig" in N && e(18, z = N.missingFloorConfig), "lastPanoramaLongitude" in N && e(19, R = N.lastPanoramaLongitude), "cameraImageUrl" in N && e(20, U = N.cameraImageUrl), "northDesc" in N && e(21, W = N.northDesc), "compassEnable" in N && e(22, F = N.compassEnable);
6932
6932
  }, n.$$.update = () => {
@@ -6958,7 +6958,7 @@ function m0(n, t, e) {
6958
6958
  W,
6959
6959
  F,
6960
6960
  s,
6961
- G,
6961
+ _,
6962
6962
  i
6963
6963
  ];
6964
6964
  }
@@ -7185,7 +7185,7 @@ function $c(n) {
7185
7185
  },
7186
7186
  p(o, r) {
7187
7187
  const a = r & /*hoverEnable, highlightEnable, floorplanData, getRoomAreaText, getRoomDimensionText, getLabelElement, getRuleDistanceText, roomLabelsEnable, roomAreaEnable, roomNameEnable, roomDimensionEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, highlightData, missingFloorConfig, panoIndex, cameraEnable, cameraImageUrl, lastPanoramaLongitude, compassEnable, northDesc, floorIndex*/
7188
- 16777212 ? Et(i, [
7188
+ 16777212 ? It(i, [
7189
7189
  r & /*hoverEnable, highlightEnable, floorplanData, getRoomAreaText, getRoomDimensionText, getLabelElement, getRuleDistanceText, roomLabelsEnable, roomAreaEnable, roomNameEnable, roomDimensionEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, highlightData, missingFloorConfig, panoIndex, cameraEnable, cameraImageUrl, lastPanoramaLongitude, compassEnable, northDesc*/
7190
7190
  16777196 && {
7191
7191
  hoverEnable: (
@@ -7403,9 +7403,9 @@ let jl = class extends de {
7403
7403
  };
7404
7404
  const b0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAwCAYAAACFUvPfAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALaADAAQAAAABAAAAMAAAAADe2FZjAAAEF0lEQVRoBe2WzWskRRiHf13V092TxI2oEzYeVDwITtyDuCiihwiCePGgxIM3vYgHL4J4UIhBRA8i/gPqyUvWg7AiIuIeloDiYUHJLOK6BPwIk9nNODM9Xf1RVe1b3elJRjCZmQ6euqGmuqer33rq4e23GqiOykBloDJQGagMVAYqA5WBykBlYFYD1qwP/tdzaZqOx9zYOLxeX0+L5yzLGp0X/03a25MOnGRcBtx+6Rlo9SL08G4EooFnxa8Yiivox5/h5Ys/4cl7NVorNDRnngX+0MIkVMeMSf23zyKML8J7/Dy8hwF2Buh9CnS+AEQIdLspBuGb+M7/qLW4qJrNpsLapjYhpwVnx3BMfCtNNx3Etc9xywvnMf80wG8HmQainw0RxSGrnmeBp+8k5/j9S0HbvXb5io0Lz880/0wPHV1NlhLd316He+4xOCv5ragF7L9PrH1qBJyB0626x/lC+qrSvH5r/W+n1WpxUM5nMY4GPeH8lHJaPgfeAFQHCL+ntkXT+vnUc3W6pvTIwC0wy3rA4dwLmK2avZ7Eo9uKBuYJfgJscbs8dLCxDMt+EOEPBEZNEWyBYHqTz6bPXrzUnNrSShxHIsYiOL69zrCGLLcLqJP68tB+9w5wj+YhWDafQ2s61wNqxjZhmrQ2pvMFCEvXuCUZ7wqH794ZWs28LJqlTXSUyuksF2M/yOwqgkx2c1ADa4wLAQRk2sAGQQakhN6yFC2hltfz5kSY44NKQeeh+vtI/SSzWhg2CzCgmWISmKUGmaYFBDfCSymnfxJ6/+ospVcWOLLp5DGP/y0P/Rp66O99DQNq7Po3Ds0a0wY+My2QSv2N2mO/OyxR2o6UQk+Lv7yJ06JYSnnolZVU9cUn2O9SmaMWGFBqYXRwbqAJWIi94TX5biotpcGl1DXZ6LnqIbNDTnmUgi52Mv5l5ysMxIcZcGjy2DTK4ZHlcBC14zeSge4qphICjj3bS0A7o9nSp2TOkm7aZ8bGZy/jxhO87V91G0+dfY/Z7BWIIK9KYUi5qy/Hf8YfBG3sqJTHiQWhmTVkbip+wX3x6volVSx+LPAxF+VLXhZ8VQ+iP2Rta/iWe5v42Fngj0BbdnRTXh12ZIcKhTaGbcYjybRwXBU1lu9KlndXp04NM52poKWO0RZsviNaP9a6grkO972+st05pXhE5c1hTEluJy7XUejGUQNLMbAmTdWY1rKBLW3aTJqBZ7nZkb36DhYCreeYHbMUXHvaYi5XDK70EcgulmRjm77wNtenzuXCbmnTRaAx493rbGf3Jr/njMzj920CnKdUaFCjlDioy7NYNvOdGrQJNgI32/L2tkXfFPlxgToqjWVhD6KdLnQRdARf/HHQz2r2X2Gqy8pAZaAyUBmoDFQGKgP/q4F/AJYg9/s0ZoABAAAAAElFTkSuQmCC";
7405
7405
  function y0(n) {
7406
- return _(this, null, function* () {
7406
+ return G(this, null, function* () {
7407
7407
  const t = new Headers({ "Content-Type": "text/plain" }), e = function(s) {
7408
- return _(this, null, function* () {
7408
+ return G(this, null, function* () {
7409
7409
  const o = {
7410
7410
  index: s.index,
7411
7411
  url: s.url,
@@ -7464,7 +7464,7 @@ function I0(n) {
7464
7464
  };
7465
7465
  }
7466
7466
  function Di(n) {
7467
- return _(this, null, function* () {
7467
+ return G(this, null, function* () {
7468
7468
  const t = yield y0(n.outlines), e = n.computed_data.bounding, i = n.computed_data.floor_datas.map(C0), s = n.computed_data.entrance ? I0(n.computed_data.entrance) : null;
7469
7469
  return {
7470
7470
  outlines: t,
@@ -7604,7 +7604,7 @@ let Bi = class {
7604
7604
  /**
7605
7605
  * @realsee/dnalogel 版本号
7606
7606
  */
7607
- d(this, "VERSION", "3.41.7");
7607
+ d(this, "VERSION", "3.42.0-alpha-tag.1");
7608
7608
  d(this, "NAME");
7609
7609
  d(this, "five");
7610
7610
  d(this, "workUtil");
@@ -7612,7 +7612,7 @@ let Bi = class {
7612
7612
  /**
7613
7613
  * @description: 插件事件钩子
7614
7614
  */
7615
- d(this, "hooks", new It());
7615
+ d(this, "hooks", new Pt());
7616
7616
  d(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
7617
7617
  this.updateFive(t), e != null && e.staticPrefix && (this.staticPrefix = e.staticPrefix);
7618
7618
  }
@@ -7641,7 +7641,7 @@ let Bi = class {
7641
7641
  }
7642
7642
  }, vi = class extends Bi {
7643
7643
  };
7644
- var Lt = /* @__PURE__ */ ((n) => (n.UnknownError = "UnknownError", n.DataNotLoaded = "DataNotLoaded", n.UpdateSizeError = "UpdateSizeError", n.BreakOffByHide = "BreakOffByHide", n.BreakOffByDisable = "BreakOffByDisable", n.ModelNotLoaded = "ModelNotLoaded", n.ChangeModeError = "ChangeModeError", n.UpdateCameraError = "UpdateCameraError", n))(Lt || {});
7644
+ var Tt = /* @__PURE__ */ ((n) => (n.UnknownError = "UnknownError", n.DataNotLoaded = "DataNotLoaded", n.UpdateSizeError = "UpdateSizeError", n.BreakOffByHide = "BreakOffByHide", n.BreakOffByDisable = "BreakOffByDisable", n.ModelNotLoaded = "ModelNotLoaded", n.ChangeModeError = "ChangeModeError", n.UpdateCameraError = "UpdateCameraError", n))(Tt || {});
7645
7645
  const Xf = 500, D0 = 80;
7646
7646
  function Zi(n, t, e = 4) {
7647
7647
  return Math.abs(n - t) < Math.pow(10, -e);
@@ -7658,7 +7658,7 @@ function th(n) {
7658
7658
  return S0(n) && !!n.isVector3;
7659
7659
  }
7660
7660
  function Bl(n, t) {
7661
- return _(this, null, function* () {
7661
+ return G(this, null, function* () {
7662
7662
  const [e] = yield en(n.changeMode(...t));
7663
7663
  if (e)
7664
7664
  throw new Error("change mode canceled");
@@ -7688,7 +7688,7 @@ function L0(n, t) {
7688
7688
  return !(!Zi(e, r, 2) || !Zi(i, a, 2) || o !== void 0 && o.distanceTo(l) > 0.01 || !Zi(s, c, 2));
7689
7689
  }
7690
7690
  function Jf(n, t, e = !0) {
7691
- return _(this, null, function* () {
7691
+ return G(this, null, function* () {
7692
7692
  if (L0(n, t) === !0)
7693
7693
  return;
7694
7694
  const s = n.getCurrentState();
@@ -7708,7 +7708,7 @@ function Jf(n, t, e = !0) {
7708
7708
  )
7709
7709
  ), [c] = yield en(n.updateCamera(Gn(t, ["mode"]), l, e));
7710
7710
  if (c)
7711
- throw new Error(Lt.UpdateCameraError);
7711
+ throw new Error(Tt.UpdateCameraError);
7712
7712
  });
7713
7713
  }
7714
7714
  function _n(n, t, e = 300) {
@@ -7779,14 +7779,14 @@ let O0 = class extends vi {
7779
7779
  * @param opts.isAutoShow 是否是自动展示
7780
7780
  * @param opts.userAction 是否是用户行为
7781
7781
  */
7782
- d(this, "show", (...i) => _(this, [...i], function* (e = {}) {
7782
+ d(this, "show", (...i) => G(this, [...i], function* (e = {}) {
7783
7783
  if (!this.state.enabled || !this.showPromise && this.state.visible)
7784
7784
  return;
7785
7785
  const s = e.userAction !== void 0 ? e.userAction : !0;
7786
7786
  this.updateState({ visible: !0 }, s), this._show(e);
7787
7787
  }));
7788
7788
  /** 隐藏户型图 */
7789
- d(this, "hide", (...i) => _(this, [...i], function* (e = {}) {
7789
+ d(this, "hide", (...i) => G(this, [...i], function* (e = {}) {
7790
7790
  this.state.enabled && (this.isHiddenByHideFunc = !0, this.state.visible !== !1 && (this.updateState({ visible: !1 }, e.userAction || !0), this._hide(e)));
7791
7791
  }));
7792
7792
  /** 更新户型图大小 */
@@ -7805,20 +7805,20 @@ let O0 = class extends vi {
7805
7805
  d(this, "_disable", (e) => {
7806
7806
  var s, o, r;
7807
7807
  const { userAction: i } = e;
7808
- this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this, Lt.BreakOffByDisable), this.showPromise = void 0, (o = this.app) == null || o.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
7808
+ this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this, Tt.BreakOffByDisable), this.showPromise = void 0, (o = this.app) == null || o.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
7809
7809
  });
7810
7810
  d(this, "_enable", (e) => {
7811
7811
  const { userAction: i } = e;
7812
7812
  this.addEventListener(), this.wrapper && (this.wrapper.append(this.container), this.hooks.emit("enable", { userAction: i }), this.state.visible && this._show({ userAction: i }));
7813
7813
  });
7814
- d(this, "_show", (e) => _(this, null, function* () {
7814
+ d(this, "_show", (e) => G(this, null, function* () {
7815
7815
  var r;
7816
7816
  if (!this.state.enabled)
7817
7817
  return;
7818
7818
  if (!((r = this.five.model) != null && r.loaded))
7819
- throw new Error(Lt.ModelNotLoaded);
7819
+ throw new Error(Tt.ModelNotLoaded);
7820
7820
  if (!this.data)
7821
- throw new Error(Lt.DataNotLoaded);
7821
+ throw new Error(Tt.DataNotLoaded);
7822
7822
  if (this.showPromise)
7823
7823
  return this.showPromise;
7824
7824
  const i = {
@@ -7827,7 +7827,7 @@ let O0 = class extends vi {
7827
7827
  immediately: !1,
7828
7828
  isAutoShow: !1,
7829
7829
  userAction: !0
7830
- }, s = D(D({}, i), e), o = () => _(this, null, function* () {
7830
+ }, s = D(D({}, i), e), o = () => G(this, null, function* () {
7831
7831
  this.hooks.emit("show", { userAction: s.userAction, auto: s.isAutoShow });
7832
7832
  let a = !1, l;
7833
7833
  this.showRejection = (u) => {
@@ -7837,9 +7837,9 @@ let O0 = class extends vi {
7837
7837
  if (c)
7838
7838
  throw c;
7839
7839
  if (a)
7840
- throw l ? new Error(l) : new Error(Lt.UnknownError);
7840
+ throw l ? new Error(l) : new Error(Tt.UnknownError);
7841
7841
  if (!this.updateSize())
7842
- throw new Error(Lt.UpdateSizeError);
7842
+ throw new Error(Tt.UpdateSizeError);
7843
7843
  this.floorIndex = s.floorIndex, this.five.model.show(this.floorIndex);
7844
7844
  });
7845
7845
  return this.isHiddenByHideFunc = !1, this.showPromise = o().then(() => {
@@ -7856,7 +7856,7 @@ let O0 = class extends vi {
7856
7856
  }));
7857
7857
  d(this, "_hide", (e) => {
7858
7858
  var o;
7859
- (o = this.showRejection) == null || o.call(this, Lt.BreakOffByHide), this.showPromise = void 0;
7859
+ (o = this.showRejection) == null || o.call(this, Tt.BreakOffByHide), this.showPromise = void 0;
7860
7860
  const s = D(D({}, {
7861
7861
  userAction: !0,
7862
7862
  isAutoHide: !1
@@ -7966,7 +7966,7 @@ let O0 = class extends vi {
7966
7966
  this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.once("dispose", this.dispose), this.addEventListener();
7967
7967
  }
7968
7968
  load(e, i, s = !0) {
7969
- return _(this, null, function* () {
7969
+ return G(this, null, function* () {
7970
7970
  function o(h) {
7971
7971
  return Object.prototype.hasOwnProperty.apply(h, ["version"]);
7972
7972
  }
@@ -8008,14 +8008,14 @@ let O0 = class extends vi {
8008
8008
  this.updateState({ config: e }, i), this.render();
8009
8009
  }
8010
8010
  formatData(e) {
8011
- return _(this, null, function* () {
8011
+ return G(this, null, function* () {
8012
8012
  return yield Di(e.data);
8013
8013
  });
8014
8014
  }
8015
8015
  updateState(e, i) {
8016
8016
  var a;
8017
8017
  const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? D(D({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? re(D(D({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
8018
- this.state = re(D(D({}, this.state), e), { config: r }), !Ct(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
8018
+ this.state = re(D(D({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
8019
8019
  }
8020
8020
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
8021
8021
  *
@@ -8058,7 +8058,7 @@ let O0 = class extends vi {
8058
8058
  this.app = new jl({ target: this.container, intro: !0, props: i });
8059
8059
  }
8060
8060
  };
8061
- const sx = (n, t) => new O0(n, t);
8061
+ const s3 = (n, t) => new O0(n, t);
8062
8062
  function B0(n) {
8063
8063
  const { latitude: t, longitude: e } = n, i = Math.abs(t - Math.PI / 2) > 5 * Math.PI / 180, s = e > 5 * (Math.PI / 180) && e < 355 * (Math.PI / 180);
8064
8064
  return i || s;
@@ -8118,14 +8118,14 @@ let V0 = class extends vi {
8118
8118
  * @param opts.isAutoShow 是否是自动展示
8119
8119
  * @param opts.userAction 是否是用户行为
8120
8120
  */
8121
- d(this, "show", (...i) => _(this, [...i], function* (e = {}) {
8121
+ d(this, "show", (...i) => G(this, [...i], function* (e = {}) {
8122
8122
  if (!this.state.enabled || !this.showPromise && this.state.visible)
8123
8123
  return;
8124
8124
  const s = e.userAction !== void 0 ? e.userAction : !0;
8125
8125
  this.updateState({ visible: !0 }, s), this._show(e);
8126
8126
  }));
8127
8127
  /** 隐藏户型图 */
8128
- d(this, "hide", (...i) => _(this, [...i], function* (e = {}) {
8128
+ d(this, "hide", (...i) => G(this, [...i], function* (e = {}) {
8129
8129
  this.state.enabled && (this.isHiddenByHideFunc = !0, this.state.visible !== !1 && (this.updateState({ visible: !1 }, e.userAction || !0), this._hide(e)));
8130
8130
  }));
8131
8131
  /** 更新户型图大小 */
@@ -8144,20 +8144,20 @@ let V0 = class extends vi {
8144
8144
  d(this, "_disable", (e) => {
8145
8145
  var s, o, r;
8146
8146
  const { userAction: i } = e;
8147
- this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this, Lt.BreakOffByDisable), this.showPromise = void 0, (o = this.app) == null || o.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
8147
+ this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this, Tt.BreakOffByDisable), this.showPromise = void 0, (o = this.app) == null || o.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
8148
8148
  });
8149
8149
  d(this, "_enable", (e) => {
8150
8150
  const { userAction: i } = e;
8151
8151
  this.addEventListener(), this.wrapper && (this.wrapper.append(this.container), this.hooks.emit("enable", { userAction: i }), this.state.visible && this._show({ userAction: i }));
8152
8152
  });
8153
- d(this, "_show", (e) => _(this, null, function* () {
8153
+ d(this, "_show", (e) => G(this, null, function* () {
8154
8154
  var r;
8155
8155
  if (!this.state.enabled)
8156
8156
  return;
8157
8157
  if (!((r = this.fiveUtil.model) != null && r.loaded))
8158
- throw new Error(Lt.ModelNotLoaded);
8158
+ throw new Error(Tt.ModelNotLoaded);
8159
8159
  if (!this.data)
8160
- throw new Error(Lt.DataNotLoaded);
8160
+ throw new Error(Tt.DataNotLoaded);
8161
8161
  if (this.showPromise)
8162
8162
  return this.showPromise;
8163
8163
  const i = {
@@ -8166,7 +8166,7 @@ let V0 = class extends vi {
8166
8166
  immediately: !1,
8167
8167
  isAutoShow: !1,
8168
8168
  userAction: !0
8169
- }, s = D(D({}, i), e), o = () => _(this, null, function* () {
8169
+ }, s = D(D({}, i), e), o = () => G(this, null, function* () {
8170
8170
  this.hooks.emit("show", { userAction: s.userAction, auto: s.isAutoShow });
8171
8171
  let a = !1, l;
8172
8172
  this.showRejection = (u) => {
@@ -8176,9 +8176,9 @@ let V0 = class extends vi {
8176
8176
  if (c)
8177
8177
  throw c;
8178
8178
  if (a)
8179
- throw l ? new Error(l) : new Error(Lt.UnknownError);
8179
+ throw l ? new Error(l) : new Error(Tt.UnknownError);
8180
8180
  if (!this.updateSize())
8181
- throw new Error(Lt.UpdateSizeError);
8181
+ throw new Error(Tt.UpdateSizeError);
8182
8182
  this.updatePosition(), this.floorIndex = s.floorIndex, this.fiveUtil.model.show(this.floorIndex);
8183
8183
  });
8184
8184
  return this.isHiddenByHideFunc = !1, this.showPromise = o().then(() => {
@@ -8195,7 +8195,7 @@ let V0 = class extends vi {
8195
8195
  }));
8196
8196
  d(this, "_hide", (e) => {
8197
8197
  var o;
8198
- (o = this.showRejection) == null || o.call(this, Lt.BreakOffByHide), this.showPromise = void 0;
8198
+ (o = this.showRejection) == null || o.call(this, Tt.BreakOffByHide), this.showPromise = void 0;
8199
8199
  const s = D(D({}, {
8200
8200
  userAction: !0,
8201
8201
  isAutoHide: !1
@@ -8300,7 +8300,7 @@ let V0 = class extends vi {
8300
8300
  this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), es(e).then(this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
8301
8301
  }
8302
8302
  load(e, i, s = !0) {
8303
- return _(this, null, function* () {
8303
+ return G(this, null, function* () {
8304
8304
  function o(h) {
8305
8305
  return Object.prototype.hasOwnProperty.apply(h, ["version"]);
8306
8306
  }
@@ -8350,14 +8350,14 @@ let V0 = class extends vi {
8350
8350
  this.container.style.left = o * 100 + "%", this.container.style.top = r * 100 + "%";
8351
8351
  }
8352
8352
  formatData(e) {
8353
- return _(this, null, function* () {
8353
+ return G(this, null, function* () {
8354
8354
  return yield Di(e.data);
8355
8355
  });
8356
8356
  }
8357
8357
  updateState(e, i) {
8358
8358
  var a;
8359
8359
  const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? D(D({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? re(D(D({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
8360
- this.state = re(D(D({}, this.state), e), { config: r }), !Ct(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
8360
+ this.state = re(D(D({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
8361
8361
  }
8362
8362
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
8363
8363
  *
@@ -8400,7 +8400,7 @@ let V0 = class extends vi {
8400
8400
  this.app = new jl({ target: this.container, intro: !0, props: i });
8401
8401
  }
8402
8402
  };
8403
- const rx = (n, t) => new V0(n, t);
8403
+ const r3 = (n, t) => new V0(n, t);
8404
8404
  let H0 = class extends vi {
8405
8405
  constructor(e, i) {
8406
8406
  var l, c;
@@ -8529,7 +8529,7 @@ let H0 = class extends vi {
8529
8529
  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();
8530
8530
  }
8531
8531
  load(e, i, s = !0) {
8532
- return _(this, null, function* () {
8532
+ return G(this, null, function* () {
8533
8533
  function o(h) {
8534
8534
  return Object.prototype.hasOwnProperty.apply(h, ["version"]);
8535
8535
  }
@@ -8554,7 +8554,7 @@ let H0 = class extends vi {
8554
8554
  return e.appendChild(this.container), this.render(), this;
8555
8555
  }
8556
8556
  show() {
8557
- return _(this, arguments, function* (e = {}) {
8557
+ return G(this, arguments, function* (e = {}) {
8558
8558
  if (this.state.visible)
8559
8559
  return;
8560
8560
  const i = e.userAction !== void 0 ? e.userAction : !0;
@@ -8562,7 +8562,7 @@ let H0 = class extends vi {
8562
8562
  });
8563
8563
  }
8564
8564
  hide() {
8565
- return _(this, arguments, function* (e = {}) {
8565
+ return G(this, arguments, function* (e = {}) {
8566
8566
  if (this.isHiddenByHideFunc = !0, !this.state.visible)
8567
8567
  return;
8568
8568
  const i = e.userAction !== void 0 ? e.userAction : !0;
@@ -8597,12 +8597,12 @@ let H0 = class extends vi {
8597
8597
  this.updateState({ config: e }, i), this.render();
8598
8598
  }
8599
8599
  formatData(e) {
8600
- return _(this, null, function* () {
8600
+ return G(this, null, function* () {
8601
8601
  return yield Di(e.data);
8602
8602
  });
8603
8603
  }
8604
8604
  _show(e) {
8605
- return _(this, null, function* () {
8605
+ return G(this, null, function* () {
8606
8606
  if (!this.state.enabled)
8607
8607
  return;
8608
8608
  this.isHiddenByHideFunc = !1;
@@ -8613,7 +8613,7 @@ let H0 = class extends vi {
8613
8613
  });
8614
8614
  }
8615
8615
  _hide(e) {
8616
- return _(this, null, function* () {
8616
+ return G(this, null, function* () {
8617
8617
  if (!this.state.enabled)
8618
8618
  return;
8619
8619
  const { userAction: i } = e;
@@ -8629,7 +8629,7 @@ let H0 = class extends vi {
8629
8629
  updateState(e, i) {
8630
8630
  var a;
8631
8631
  const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? D(D({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? re(D(D({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
8632
- this.state = re(D(D({}, this.state), e), { config: r }), !Ct(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
8632
+ this.state = re(D(D({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
8633
8633
  }
8634
8634
  addEventListener() {
8635
8635
  if (!this.state.enabled || this.hasAddedEventListener)
@@ -8673,7 +8673,7 @@ let H0 = class extends vi {
8673
8673
  this.app = new jl({ target: this.container, intro: !0, props: i });
8674
8674
  }
8675
8675
  };
8676
- const lx = (n, t) => new H0(n, t);
8676
+ const l3 = (n, t) => new H0(n, t);
8677
8677
  function Rl(n, t = 200) {
8678
8678
  let e;
8679
8679
  return function(...i) {
@@ -8766,7 +8766,7 @@ function _0(n, t, e) {
8766
8766
  },
8767
8767
  1e3 / 60
8768
8768
  );
8769
- return xt(() => (a.on("panoWillArrive", p), a.on("panoArrived", g), a.on("cameraDirectionUpdate", v), function() {
8769
+ return kt(() => (a.on("panoWillArrive", p), a.on("panoArrived", g), a.on("cameraDirectionUpdate", v), function() {
8770
8770
  a.off("panoWillArrive", p), a.off("panoArrived", g), a.off("cameraDirectionUpdate", v);
8771
8771
  })), n.$$set = (I) => {
8772
8772
  "five" in I && e(4, a = I.five), "pxmm" in I && e(5, l = I.pxmm), "floorplanData" in I && e(6, c = I.floorplanData), "cameraImageUrl" in I && e(0, h = I.cameraImageUrl);
@@ -8939,7 +8939,7 @@ function J0(n) {
8939
8939
  },
8940
8940
  p(h, u) {
8941
8941
  const f = u & /*floorIndex, floorplanData*/
8942
- 20 ? Et(a, [
8942
+ 20 ? It(a, [
8943
8943
  {
8944
8944
  floorIndex: (
8945
8945
  /*floorIndex*/
@@ -9037,7 +9037,7 @@ function sh(n) {
9037
9037
  },
9038
9038
  p(o, r) {
9039
9039
  const a = r & /*five, pxmm, floorIndex, floorplanData, onRoomHeightClick, highlightData, undefined*/
9040
- 567 ? Et(i, [
9040
+ 567 ? It(i, [
9041
9041
  {
9042
9042
  five: (
9043
9043
  /*five*/
@@ -9282,7 +9282,7 @@ function rh(n) {
9282
9282
  },
9283
9283
  p(f, m) {
9284
9284
  const A = m & /*five, pxmm, floorIndex, floorplanData, hoverEnable, extraObjects, highlightData, missingFloorImageUrl*/
9285
- 6381 ? Et(l, [
9285
+ 6381 ? It(l, [
9286
9286
  {
9287
9287
  five: (
9288
9288
  /*five*/
@@ -9320,7 +9320,7 @@ function rh(n) {
9320
9320
  ]) : {};
9321
9321
  e.$set(A);
9322
9322
  const p = m & /*pxmm, five, floorplanData, cameraImageUrl*/
9323
- 2073 ? Et(h, [
9323
+ 2073 ? It(h, [
9324
9324
  {
9325
9325
  pxmm: (
9326
9326
  /*pxmm*/
@@ -9393,7 +9393,7 @@ function nb(n, t, e) {
9393
9393
  function v(E) {
9394
9394
  e(12, f = i.work.observers[E].floorIndex);
9395
9395
  }
9396
- xt(() => (i.on("panoArrived", v), () => {
9396
+ kt(() => (i.on("panoArrived", v), () => {
9397
9397
  i.off("panoArrived", v);
9398
9398
  }));
9399
9399
  const y = (E) => {
@@ -9492,7 +9492,7 @@ let ob = class extends vi {
9492
9492
  this.state = { enabled: !0, visible: !0, config: o }, i != null && i.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (i == null ? void 0 : i.wrapper) == "string" ? this.wrapperSelector = i.wrapper : (i == null ? void 0 : i.wrapper) instanceof Element && (this.wrapper = i.wrapper), e.once("dispose", this.dispose);
9493
9493
  }
9494
9494
  load(e, i, s = !0) {
9495
- return _(this, null, function* () {
9495
+ return G(this, null, function* () {
9496
9496
  function o(c) {
9497
9497
  return Object.prototype.hasOwnProperty.apply(c, ["version"]);
9498
9498
  }
@@ -9501,7 +9501,7 @@ let ob = class extends vi {
9501
9501
  });
9502
9502
  }
9503
9503
  show() {
9504
- return _(this, arguments, function* (e = {}) {
9504
+ return G(this, arguments, function* (e = {}) {
9505
9505
  if (this.state.visible)
9506
9506
  return;
9507
9507
  const i = e.userAction !== void 0 ? e.userAction : !0;
@@ -9509,7 +9509,7 @@ let ob = class extends vi {
9509
9509
  });
9510
9510
  }
9511
9511
  hide() {
9512
- return _(this, arguments, function* (e = {}) {
9512
+ return G(this, arguments, function* (e = {}) {
9513
9513
  if (!this.state.visible)
9514
9514
  return;
9515
9515
  const i = e.userAction !== void 0 ? e.userAction : !0;
@@ -9551,7 +9551,7 @@ let ob = class extends vi {
9551
9551
  this.data && (this.extraObjects = E0(e, this.five, this.data), this.render());
9552
9552
  }
9553
9553
  formatData(e) {
9554
- return _(this, null, function* () {
9554
+ return G(this, null, function* () {
9555
9555
  return yield Di(e.data);
9556
9556
  });
9557
9557
  }
@@ -9573,7 +9573,7 @@ let ob = class extends vi {
9573
9573
  }
9574
9574
  updateState(e, i) {
9575
9575
  const s = this.state, o = e.config ? D(D({}, s.config), e.config) : s.config;
9576
- this.state = re(D(D({}, this.state), e), { config: o }), !Ct(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
9576
+ this.state = re(D(D({}, this.state), e), { config: o }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
9577
9577
  }
9578
9578
  render() {
9579
9579
  if (this.disposed || !this.state.enabled)
@@ -9594,7 +9594,7 @@ let ob = class extends vi {
9594
9594
  this.app ? this.app.$set(e) : this.app = new sb({ target: this.wrapper, props: e });
9595
9595
  }
9596
9596
  };
9597
- const hx = (n, t) => new ob(n, t), dx = [
9597
+ const h3 = (n, t) => new ob(n, t), d3 = [
9598
9598
  { type: 0, floorType: 1, roomType: "100900000012", name: "其他" },
9599
9599
  { type: 1, floorType: 1, roomType: "100900000002", name: "客厅" },
9600
9600
  { type: 2, floorType: 1, roomType: "100900000002", name: "餐厅" },
@@ -9666,14 +9666,14 @@ const hx = (n, t) => new ob(n, t), dx = [
9666
9666
  { type: 56, floorType: 2, roomType: "100900000012", name: "空中花园" },
9667
9667
  { type: 57, floorType: 0, roomType: "100900000001", name: "洋室" },
9668
9668
  { type: 58, floorType: 0, roomType: "100900000001", name: "和室" }
9669
- ], ux = [
9669
+ ], u3 = [
9670
9670
  { type: 0, description: "木质地板" },
9671
9671
  { type: 1, description: "瓷砖地面" },
9672
9672
  { type: 2, description: "户外地面" },
9673
9673
  { type: 3, description: "卫生间地面" },
9674
9674
  { type: 4, description: "阳台地面" },
9675
9675
  { type: 5, description: "车库地面" }
9676
- ], fx = [
9676
+ ], f3 = [
9677
9677
  { roomType: "100900000001", description: "室" },
9678
9678
  { roomType: "100900000002", description: "厅" },
9679
9679
  { roomType: "100900000003", description: "厨" },
@@ -9712,12 +9712,12 @@ function qf(n, t) {
9712
9712
  }
9713
9713
  });
9714
9714
  }
9715
- const mx = (n, t) => {
9715
+ const m3 = (n, t) => {
9716
9716
  var p;
9717
9717
  const e = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/dipan2.f38a21cc.FBX", i = (p = t.north_rad) != null ? p : void 0, s = {};
9718
9718
  let o = { x: 0, y: 0, z: 0 }, r = [0, 0, 0], a = 1, l = i;
9719
9719
  n.on("modelLoaded", A);
9720
- const c = (g) => _(void 0, null, function* () {
9720
+ const c = (g) => G(void 0, null, function* () {
9721
9721
  var I;
9722
9722
  const v = (g == null ? void 0 : g.fbx_url) || e;
9723
9723
  if (l = (I = g == null ? void 0 : g.north_rad) != null ? I : i, typeof l != "number")
@@ -9768,14 +9768,14 @@ function ab(n, t) {
9768
9768
  const l = a.getContext("2d");
9769
9769
  return l.fillStyle = s, l.fillRect(0, 0, e, e), l.font = `${i}px "微软雅黑"`, l.textAlign = r, l.fillStyle = o, l.fillText(n, e / 2, e * 0.7), new Lg(a);
9770
9770
  }
9771
- const lb = ({ x: n, y: t, z: e }) => new le(n, t, e), gx = (n, t) => {
9771
+ const lb = ({ x: n, y: t, z: e }) => new le(n, t, e), g3 = (n, t) => {
9772
9772
  var p, g, v;
9773
- const e = {}, i = (p = t.animationEnabled) != null ? p : !0, s = (g = t.position) != null ? g : void 0, o = (v = t.rad) != null ? v : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (y) => _(void 0, null, function* () {
9774
- var W, F, G, N, Q, H, Y, Z;
9773
+ const e = {}, i = (p = t.animationEnabled) != null ? p : !0, s = (g = t.position) != null ? g : void 0, o = (v = t.rad) != null ? v : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (y) => G(void 0, null, function* () {
9774
+ var W, F, _, N, Q, H, Y, Z;
9775
9775
  const P = (W = y == null ? void 0 : y.position) != null ? W : s;
9776
9776
  if (!P)
9777
9777
  return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
9778
- const I = lb(P), k = (F = y == null ? void 0 : y.rad) != null ? F : o, E = (G = y == null ? void 0 : y.fbx_url) != null ? G : r;
9778
+ const I = lb(P), k = (F = y == null ? void 0 : y.rad) != null ? F : o, E = (_ = y == null ? void 0 : y.fbx_url) != null ? _ : r;
9779
9779
  if (e.rad = k, k === void 0)
9780
9780
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${k}`));
9781
9781
  const z = yield new of().loadAsync(E);
@@ -9797,10 +9797,10 @@ const lb = ({ x: n, y: t, z: e }) => new le(n, t, e), gx = (n, t) => {
9797
9797
  let k;
9798
9798
  const E = () => {
9799
9799
  let W = 0, F = 0;
9800
- const G = 1e3 / 30, N = (Q) => {
9800
+ const _ = 1e3 / 30, N = (Q) => {
9801
9801
  W = requestAnimationFrame(N);
9802
9802
  const H = Q - F;
9803
- H < G || (F = Q, a.forEach((Y) => Y.update(H / 1e3)), n.needsRender = !0);
9803
+ H < _ || (F = Q, a.forEach((Y) => Y.update(H / 1e3)), n.needsRender = !0);
9804
9804
  };
9805
9805
  return W = requestAnimationFrame(N), () => {
9806
9806
  cancelAnimationFrame(W);
@@ -9860,8 +9860,8 @@ const el = (n, t, e) => {
9860
9860
  const i = Math.PI, s = i * 2;
9861
9861
  let o = ah(n), r = ah(t);
9862
9862
  return e === mi.Anticlockwise && o < r && (o += s), e === mi.Clockwise && r < o && (r += s), e === mi.Loop && r - o > i ? el(o, r, mi.Anticlockwise) : e === mi.Loop && o - r > i ? el(o, r, mi.Clockwise) : { from: o, to: r };
9863
- }, px = (n) => {
9864
- const t = {}, e = (l, c, ...h) => _(void 0, [l, c, ...h], function* (o, r, a = { preload: !0 }) {
9863
+ }, p3 = (n) => {
9864
+ const t = {}, e = (l, c, ...h) => G(void 0, [l, c, ...h], function* (o, r, a = { preload: !0 }) {
9865
9865
  return t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), o.mode && o.mode !== n.currentMode && (yield n.changeMode(o.mode)), a.preload && o.panoIndex !== void 0 && o.panoIndex !== n.panoIndex && (yield n.preloadPano(o.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), o.panoIndex === void 0 && o.fov === void 0 && o.latitude === void 0 && o.longitude === void 0 ? !0 : yield new Promise((u, f) => {
9866
9866
  const m = o.panoIndex !== void 0 ? o.panoIndex : n.panoIndex;
9867
9867
  m !== void 0 ? n.moveToPano(m, D({
@@ -9885,7 +9885,7 @@ const el = (n, t, e) => {
9885
9885
  };
9886
9886
  return {
9887
9887
  move: e,
9888
- rotate: (l, c, ...h) => _(void 0, [l, c, ...h], function* (o, r, a = {}) {
9888
+ rotate: (l, c, ...h) => G(void 0, [l, c, ...h], function* (o, r, a = {}) {
9889
9889
  t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), n.currentMode !== mt.Mode.Panorama && (yield n.changeMode(mt.Mode.Panorama)), o.panoIndex !== void 0 && o.panoIndex !== n.panoIndex && (a.preload && (yield n.preloadPano(o.panoIndex)), yield new Promise((m, A) => {
9890
9890
  if (!o.panoIndex) {
9891
9891
  m(!0);
@@ -10074,7 +10074,7 @@ const gb = `<style type="text/css">
10074
10074
  a.__roof.sort(), a.__floor.sort(), a.floor = a.__floor[~~(a.__floor.length / 2)], a.roof = a.__roof[a.__roof.length - 1];
10075
10075
  }
10076
10076
  return e;
10077
- }, Ax = (n, t) => {
10077
+ }, A3 = (n, t) => {
10078
10078
  const e = {
10079
10079
  enable: !1,
10080
10080
  loaded: !1,
@@ -10107,7 +10107,7 @@ const gb = `<style type="text/css">
10107
10107
  if (!E)
10108
10108
  return;
10109
10109
  const z = k.map(({ x: R, z: U, observers: W }) => {
10110
- const F = W.length > 0 ? p.rooms[p.observers[W[0]]].name : "", G = v[F] ? v[F].floor : null;
10110
+ const F = W.length > 0 ? p.rooms[p.observers[W[0]]].name : "", _ = v[F] ? v[F].floor : null;
10111
10111
  let N = 1 / 0, Q = {
10112
10112
  index: 0,
10113
10113
  x: E.x,
@@ -10123,7 +10123,7 @@ const gb = `<style type="text/css">
10123
10123
  y: Pe.y,
10124
10124
  z: Pe.z
10125
10125
  }, ge = pb({ x: R, z: U }, Ae);
10126
- G ? ge < N && Math.abs(Ae.y - G) < 0.3 && (N = ge, Q = Ae) : ge < N && (N = ge, Q = Ae);
10126
+ _ ? ge < N && Math.abs(Ae.y - _) < 0.3 && (N = ge, Q = Ae) : ge < N && (N = ge, Q = Ae);
10127
10127
  });
10128
10128
  const H = new le(R, Q.y, U);
10129
10129
  Object.assign(H, { observers: W });
@@ -10143,12 +10143,12 @@ const gb = `<style type="text/css">
10143
10143
  for (let R = 0; R < z.length; R++) {
10144
10144
  let U = R + 1;
10145
10145
  U >= z.length && (U = 0);
10146
- const { origin: W } = z[R], { origin: F } = z[U], G = i(I, W.distanceTo(F));
10147
- s.append(G), r[I].rules.push({ vertical: !1, rule: [W, F], $element: G });
10146
+ const { origin: W } = z[R], { origin: F } = z[U], _ = i(I, W.distanceTo(F));
10147
+ s.append(_), r[I].rules.push({ vertical: !1, rule: [W, F], $element: _ });
10148
10148
  }
10149
10149
  }
10150
10150
  return e.loaded = !0, !0;
10151
- }, l = (p, g, v) => _(void 0, null, function* () {
10151
+ }, l = (p, g, v) => G(void 0, null, function* () {
10152
10152
  const y = p || t.roomInfo, P = g || t.roomRules;
10153
10153
  if (!y || !P)
10154
10154
  throw new Error("标尺数据依赖不齐全!");
@@ -10207,42 +10207,42 @@ const gb = `<style type="text/css">
10207
10207
  for (const { $element: F } of r[W].rules)
10208
10208
  F.style.display = W === P ? "block" : "none";
10209
10209
  const [R] = r[P].origins.slice().filter((W) => W.observers.indexOf(g) >= 0).sort((W, F) => {
10210
- const G = W.clone().setY(0).sub(I).normalize().angleTo(k.clone().setY(0)), N = F.clone().setY(0).sub(I).normalize().angleTo(k.clone().setY(0));
10211
- return G - N;
10210
+ const _ = W.clone().setY(0).sub(I).normalize().angleTo(k.clone().setY(0)), N = F.clone().setY(0).sub(I).normalize().angleTo(k.clone().setY(0));
10211
+ return _ - N;
10212
10212
  });
10213
- for (const { rule: W, vertical: F, $element: G } of r[P].rules) {
10214
- const [N, Q] = W, H = G.querySelector(".PanoRulerPlugin-rule-line");
10213
+ for (const { rule: W, vertical: F, $element: _ } of r[P].rules) {
10214
+ const [N, Q] = W, H = _.querySelector(".PanoRulerPlugin-rule-line");
10215
10215
  if (!H)
10216
10216
  return;
10217
10217
  if (!R) {
10218
- G.style.display = "none";
10218
+ _.style.display = "none";
10219
10219
  continue;
10220
10220
  }
10221
10221
  if (N !== R && Q !== R) {
10222
- G.style.display = "none";
10222
+ _.style.display = "none";
10223
10223
  continue;
10224
10224
  }
10225
10225
  if (N.distanceTo(Q) < 0.3) {
10226
- G.style.display = "none";
10226
+ _.style.display = "none";
10227
10227
  continue;
10228
10228
  }
10229
10229
  if (N.observers.indexOf(g) === -1 || Q.observers.indexOf(g) === -1) {
10230
- G.style.display = "none";
10230
+ _.style.display = "none";
10231
10231
  continue;
10232
10232
  }
10233
10233
  if (N.clone().sub(I).normalize().angleTo(k) > Math.PI / 2) {
10234
- G.style.display = "none";
10234
+ _.style.display = "none";
10235
10235
  continue;
10236
10236
  }
10237
10237
  if (Q.clone().sub(I).normalize().angleTo(k) > Math.PI / 2) {
10238
- G.style.display = "none";
10238
+ _.style.display = "none";
10239
10239
  continue;
10240
10240
  }
10241
10241
  const J = N.distanceTo(Q);
10242
10242
  if (Q.clone().sub(
10243
10243
  Q.clone().sub(N).divide(new le(2, 2, 2))
10244
10244
  ).distanceTo(I) / J > 8) {
10245
- G.style.display = "none";
10245
+ _.style.display = "none";
10246
10246
  continue;
10247
10247
  }
10248
10248
  const Pe = N.clone().project(v), Ae = (Pe.x + 1) / 2 * E, ge = (-Pe.y + 1) / 2 * z, Ve = Q.clone().project(v), ye = (Ve.x + 1) / 2 * E, Qe = (-Ve.y + 1) / 2 * z, K = Math.sqrt(Math.pow(ye - Ae, 2) + Math.pow(Qe - ge, 2));
@@ -10339,7 +10339,7 @@ function yb(n) {
10339
10339
  let t, e;
10340
10340
  return {
10341
10341
  c() {
10342
- t = S("em"), C(t, "class", e = Ze(
10342
+ t = S("em"), C(t, "class", e = Ke(
10343
10343
  /*rulerItemProp*/
10344
10344
  n[0].state ? "em-solid" : "em-dotted"
10345
10345
  ) + " svelte-1h27ktp"), C(
@@ -10354,7 +10354,7 @@ function yb(n) {
10354
10354
  },
10355
10355
  p(i, s) {
10356
10356
  s & /*rulerItemProp*/
10357
- 1 && e !== (e = Ze(
10357
+ 1 && e !== (e = Ke(
10358
10358
  /*rulerItemProp*/
10359
10359
  i[0].state ? "em-solid" : "em-dotted"
10360
10360
  ) + " svelte-1h27ktp") && C(t, "class", e), s & /*vars*/
@@ -10375,7 +10375,7 @@ function dh(n) {
10375
10375
  n[6].width}px`;
10376
10376
  return {
10377
10377
  c() {
10378
- t = S("div"), C(t, "class", e = Ze(
10378
+ t = S("div"), C(t, "class", e = Ke(
10379
10379
  /*child*/
10380
10380
  n[6].state ? "em-solid" : "em-dotted"
10381
10381
  ) + " svelte-1h27ktp"), C(
@@ -10390,7 +10390,7 @@ function dh(n) {
10390
10390
  },
10391
10391
  p(s, o) {
10392
10392
  o & /*rulerItemProp*/
10393
- 1 && e !== (e = Ze(
10393
+ 1 && e !== (e = Ke(
10394
10394
  /*child*/
10395
10395
  s[6].state ? "em-solid" : "em-dotted"
10396
10396
  ) + " svelte-1h27ktp") && C(t, "class", e), o & /*vars*/
@@ -10607,12 +10607,12 @@ function Eb(n, t, e) {
10607
10607
  distance: F
10608
10608
  };
10609
10609
  }, u = (P, I, k) => {
10610
- const E = i.camera.position, z = i.camera.getWorldDirection(new le()), R = P.clone().sub(E).normalize().angleTo(z), U = I.clone().sub(E).normalize().angleTo(z), W = P.distanceTo(I), G = I.clone().sub(I.clone().sub(P).divide(new le(2, 2, 2))).distanceTo(E), { startLeft: N, startTop: Q, endLeft: H, endTop: Y, distance: Z } = h(P, I), oe = -((Math.PI / 2 - Math.atan2(H - N, Q - Y)) / Math.PI) * 180;
10610
+ const E = i.camera.position, z = i.camera.getWorldDirection(new le()), R = P.clone().sub(E).normalize().angleTo(z), U = I.clone().sub(E).normalize().angleTo(z), W = P.distanceTo(I), _ = I.clone().sub(I.clone().sub(P).divide(new le(2, 2, 2))).distanceTo(E), { startLeft: N, startTop: Q, endLeft: H, endTop: Y, distance: Z } = h(P, I), oe = -((Math.PI / 2 - Math.atan2(H - N, Q - Y)) / Math.PI) * 180;
10611
10611
  let se = !0;
10612
- k || (se = !1), !Ct(P, k) && !Ct(I, k) && (se = !1), W < 0.3 && (se = !1), R > Math.PI / 2 && (se = !1), U > Math.PI / 2 && (se = !1), G / W > 8 && (se = !1);
10612
+ k || (se = !1), !wt(P, k) && !wt(I, k) && (se = !1), W < 0.3 && (se = !1), R > Math.PI / 2 && (se = !1), U > Math.PI / 2 && (se = !1), _ / W > 8 && (se = !1);
10613
10613
  let Pe = 50, Ae = Z;
10614
10614
  const ge = c({ x: ~~N, y: ~~Q }, { x: ~~H, y: ~~Y });
10615
- if (ge && ge.length === 1 && (Ct(P, k) ? (Ae = Math.sqrt(Math.pow(ge[0].x - N, 2) + Math.pow(ge[0].y - Q, 2)), Pe = Ae / Z * 50) : Ct(I, k) && (Ae = Math.sqrt(Math.pow(ge[0].x - H, 2) + Math.pow(ge[0].y - Y, 2)), Pe = 100 - Ae / Z * 50)), ge && ge.length === 2) {
10615
+ if (ge && ge.length === 1 && (wt(P, k) ? (Ae = Math.sqrt(Math.pow(ge[0].x - N, 2) + Math.pow(ge[0].y - Q, 2)), Pe = Ae / Z * 50) : wt(I, k) && (Ae = Math.sqrt(Math.pow(ge[0].x - H, 2) + Math.pow(ge[0].y - Y, 2)), Pe = 100 - Ae / Z * 50)), ge && ge.length === 2) {
10616
10616
  const Ve = {
10617
10617
  x: (ge[0].x + ge[1].x) / 2,
10618
10618
  y: (ge[0].y + ge[1].y) / 2
@@ -10634,12 +10634,12 @@ function Eb(n, t, e) {
10634
10634
  return e(0, r = []);
10635
10635
  if (i.currentMode !== mt.Mode.Panorama)
10636
10636
  return e(0, r = []);
10637
- const k = i.camera.position, E = i.camera.getWorldDirection(new le()), z = I.lines.map((F) => new le(F.start[0], -F.start[1], -F.start[2])), R = I.lines.map((F) => new le(F.end[0], -F.end[1], -F.end[2])), [U] = z.concat(R).sort((F, G) => {
10638
- const N = F.clone().setY(0).sub(k).normalize().angleTo(E.clone().setY(0)), Q = G.clone().setY(0).sub(k).normalize().angleTo(E.clone().setY(0));
10637
+ const k = i.camera.position, E = i.camera.getWorldDirection(new le()), z = I.lines.map((F) => new le(F.start[0], -F.start[1], -F.start[2])), R = I.lines.map((F) => new le(F.end[0], -F.end[1], -F.end[2])), [U] = z.concat(R).sort((F, _) => {
10638
+ const N = F.clone().setY(0).sub(k).normalize().angleTo(E.clone().setY(0)), Q = _.clone().setY(0).sub(k).normalize().angleTo(E.clone().setY(0));
10639
10639
  return N - Q;
10640
10640
  }), W = I.lines.map((F) => {
10641
10641
  var Ae, ge;
10642
- const G = F.start, N = F.end, { startLeft: Q, startTop: H, distance: Y, deg: Z, visible: J, labelOffset: oe, ruleLength: se } = u(new le(G[0], -G[1], -G[2]), new le(N[0], -N[1], -N[2]), U), Pe = [];
10642
+ const _ = F.start, N = F.end, { startLeft: Q, startTop: H, distance: Y, deg: Z, visible: J, labelOffset: oe, ruleLength: se } = u(new le(_[0], -_[1], -_[2]), new le(N[0], -N[1], -N[2]), U), Pe = [];
10643
10643
  return F.children && ((Ae = F.children) == null ? void 0 : Ae.length) > 0 && ((ge = F.children) == null || ge.forEach((Ve) => {
10644
10644
  const ye = Ve.start, Qe = Ve.end, { distance: K } = h(new le(ye[0], -ye[1], -ye[2]), new le(Qe[0], -Qe[1], -Qe[2]));
10645
10645
  Pe.push({ width: K, state: Ve.state });
@@ -10657,7 +10657,7 @@ function Eb(n, t, e) {
10657
10657
  });
10658
10658
  e(0, r = W);
10659
10659
  }, m = () => br(f), A = Rl(f, 80);
10660
- return xt(() => {
10660
+ return kt(() => {
10661
10661
  f(), i.on("panoArrived", f), i.on("modeChange", f), i.on("cameraDirectionUpdate", m), i.on("movingToPano", m), i.on("mouseWheel", () => A()), i.on("pinchGesture", () => A());
10662
10662
  }), Ht(() => {
10663
10663
  i.off("panoArrived", f), i.off("modeChange", f), i.off("cameraDirectionUpdate", m), i.off("movingToPano", m), i.off("mouseWheel", () => A()), i.off("pinchGesture", () => A());
@@ -10688,13 +10688,13 @@ let kb = class {
10688
10688
  this.five = t, this.container.classList.add("panoRulerProPlugin-container"), this.container.setAttribute(
10689
10689
  "style",
10690
10690
  "position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;"
10691
- ), e && (e.data && this.load(e.data), this.state.options = D(D({}, this.state.options), e.options || {}), (i = e.options) != null && i.className && this.container.classList.add((s = e.options) == null ? void 0 : s.className)), this.five.once("modelLoaded", () => _(this, null, function* () {
10691
+ ), e && (e.data && this.load(e.data), this.state.options = D(D({}, this.state.options), e.options || {}), (i = e.options) != null && i.className && this.container.classList.add((s = e.options) == null ? void 0 : s.className)), this.five.once("modelLoaded", () => G(this, null, function* () {
10692
10692
  var o, r;
10693
10693
  (r = (o = this.five.getElement()) == null ? void 0 : o.parentNode) == null || r.append(this.container);
10694
10694
  })), this.five.once("dispose", () => this.dispose());
10695
10695
  }
10696
10696
  load(t) {
10697
- return _(this, null, function* () {
10697
+ return G(this, null, function* () {
10698
10698
  if (!this.five.work)
10699
10699
  return;
10700
10700
  const e = t.data;
@@ -10710,7 +10710,7 @@ let kb = class {
10710
10710
  return this.state.enabled && (this.state.enabled = !1, this.render()), !0;
10711
10711
  }
10712
10712
  render() {
10713
- return _(this, null, function* () {
10713
+ return G(this, null, function* () {
10714
10714
  var t;
10715
10715
  if (this.state.enabled) {
10716
10716
  if (!this.panoRulerProData || !this.container)
@@ -10732,7 +10732,7 @@ let kb = class {
10732
10732
  this.container && ((t = this.rulerItems) == null || t.$destroy(), this.rulerItems = void 0), this.container.remove();
10733
10733
  }
10734
10734
  };
10735
- const bx = (n, t) => new kb(n, t), xb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZIAAABCCAYAAAB9y1BhAAAAAXNSR0IArs4c6QAADh5JREFUeAHtnVuPLDcVhedwC/dACKAICDxEIBQpygNI/Ab+MX8B8YCQEAjxgBAQLsm5Jjkn58r6Sl4jT52qnu4zXd121dqSx67q7ip7eXsv721XzcVFJAgEgSAQBIJAEAgCQeC4CLx48eKbSu+RH/fKuVoQWB8Cn1tfk9KiIHAUBH6tq/xKiTwSBILADgRCJDvAyUebRuAbpfXxSDatBmn8Pgh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QGAPG4rdZALehA09KpGo8bhou9iUbbs0/jMNTscBdRgJAm0hIF1+wzWSrt52OXkQOCUC0kNsNNuHsatz24iHqI709GxLAjcmktJQEwj5WPA+aCiuWB4YHKOT4yYRkF7zUNkg0lueSI4EgbMiIJ1kZyshL9LUOjNEwkT9sXT2pBP1VyaSQiCse9Coqa27LApBIPE+BEKkLwSk32zRHESDkp0zkSDQBALF9uKdYHunnkthwo7tfXQqQjmYSNQImBACIU2xIuGreB8CIdIvAtJzNogMosHI4mYkCDSHgPTUXspU2ItoEIvzEArlxWRvIlGFWTSnsnWF+b1dKAhk8QrrHpEgsDgC0ndi0oNoEBIuiASBZhGQvnqCz/KCJ/jYZtto7DPRoUU2N11LJIXxqNyUC0VFqeCTpRlP94gEgZMhIL0nbDCIdJswQSQINI9AIRRsNRP+KfvOkgNrKEddr5660YUqw3k8EAhkbvsuCztPVSF7JDqMBIF1IKAxcOl5S8eZLEWCQDcIFBtO2Kv2UOr645lAKkex4VeIpLo5jHbls1KD4eYaWIu4R+UeyYLA2RHQWGAADiJ9P9u2StcheRB4VQSkyzgD2PQppwBH4MaEMpBFRSDcqCYQx9ggDphr0QUb3SMSBJpAQGPiciei9P6oYYAmGphKbA4B6TRrJ+j1HKHYzh8cZbpVBowXZ8bgQhzPNJAOvvD4QjkOAj0hUAbdUOVMoHrqudT1OgSk2zgLkAl2n/LYvh9s900kutYV4UIvQiBXMMlBEAgCQWA1CBRCgUjmHAkI5vk+PACR1BcZmGmfH64GzTQkCASBILBhBAqhgEC9rDFGJI7FGJEcB4EgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCm0fg/x4jQQWGalpFAAAAAElFTkSuQmCC";
10736
10736
  function Db() {
10737
10737
  const n = document.createElement("div"), t = document.createElement("i"), e = document.createElement("span");
10738
10738
  return n.appendChild(t), n.appendChild(e), n.style.position = "relative", n.style.width = "100%", n.style.display = "flex", n.style.flexDirection = "column", n.style.alignItems = "center", n.style.marginTop = `${150 / 16}rem`, n.style.opacity = "0", n.style.transition = "opacity 1000ms linear", t.style.display = "block", t.style.width = `${134 / 16}rem`, t.style.height = `${22 / 16}rem`, t.style.backgroundSize = "100%", t.style.backgroundRepeat = "no-repeat", t.style.backgroundImage = `url(${xb})`, e.style.marginTop = `${10 / 16}rem`, e.style.fontSize = `${16 / 16}rem`, e.style.color = "#fff", e.style.opacity = "0.7", e.style.textShadow = "0 2px 16px rgb(22 34 83 / 24%)", e.style.fontWeight = "bold", {
@@ -10755,14 +10755,14 @@ function Db() {
10755
10755
  }
10756
10756
  const Sb = new w.TextureLoader();
10757
10757
  function Ji(n) {
10758
- return _(this, null, function* () {
10758
+ return G(this, null, function* () {
10759
10759
  return new Promise((t, e) => {
10760
10760
  Sb.load(n, t, void 0, e);
10761
10761
  }).then((t) => (t.encoding = w.sRGBEncoding, t.minFilter = w.NearestFilter, t.magFilter = w.NearestFilter, t));
10762
10762
  });
10763
10763
  }
10764
10764
  function tm(n) {
10765
- return _(this, null, function* () {
10765
+ return G(this, null, function* () {
10766
10766
  return Ji(n).then((t) => {
10767
10767
  const e = n.startsWith("data:") ? n.includes("png") : new URL(n, location.href).pathname.toLowerCase().endsWith(".png");
10768
10768
  return { texture: t, transparent: e };
@@ -10956,7 +10956,7 @@ class Tb extends vi {
10956
10956
  }), e.enabled === !0 && (this._enable(), this.hooks.emit("enable", i)), e.enabled === !1 && (this._disable(), this.hooks.emit("disable", i)), e.visible === !1 && (this._toggleVisible(), this.hooks.emit("hide", i)), e.visible === !0 && (this._toggleVisible(), this.hooks.emit("show", i)), e.config && this.init();
10957
10957
  }
10958
10958
  load(e, i, s = !0) {
10959
- return _(this, null, function* () {
10959
+ return G(this, null, function* () {
10960
10960
  const o = yield this.formatData(e);
10961
10961
  JSON.stringify(this.data) !== JSON.stringify(o) && (this.hooks.emit("dataChange", o, this.data), this.data = D({}, o), this.init(), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", this.data));
10962
10962
  });
@@ -10969,7 +10969,7 @@ class Tb extends vi {
10969
10969
  * @todo 逻辑需要细分
10970
10970
  */
10971
10971
  init() {
10972
- return _(this, null, function* () {
10972
+ return G(this, null, function* () {
10973
10973
  var s, o, r, a;
10974
10974
  const e = (o = (s = this.data) == null ? void 0 : s.north_rad) != null ? o : null;
10975
10975
  this._clearCompassIfNeed(), e !== null && (this.compassMesh = yield this.loadCompassMesh(), this.compassMesh && (this.compassMesh.rotateX(-Math.PI / 2), this.compassMesh.rotateZ(e - Math.PI / 2), this.group.add(this.compassMesh))), this._clearLogoIfNeed(), this.logoMesh = yield this.loadLogoMesh(), this.logoMesh && (this.logoMesh.rotateX(-Math.PI / 2), this.group.add(this.logoMesh));
@@ -10978,7 +10978,7 @@ class Tb extends vi {
10978
10978
  });
10979
10979
  }
10980
10980
  loadCompassMesh() {
10981
- return _(this, null, function* () {
10981
+ return G(this, null, function* () {
10982
10982
  const e = this.state.config.compassImageUrl, i = yield Ji(e), s = new w.CircleGeometry(0.7, 32), o = new w.MeshBasicMaterial({
10983
10983
  map: i,
10984
10984
  transparent: !0,
@@ -10989,7 +10989,7 @@ class Tb extends vi {
10989
10989
  });
10990
10990
  }
10991
10991
  loadLogoMesh() {
10992
- return _(this, null, function* () {
10992
+ return G(this, null, function* () {
10993
10993
  if (!this.state.config.logoURL)
10994
10994
  return;
10995
10995
  const e = this.state.config.logoURL, i = yield Ji(e);
@@ -11004,7 +11004,7 @@ class Tb extends vi {
11004
11004
  });
11005
11005
  }
11006
11006
  loadEntryDoorMesh() {
11007
- return _(this, null, function* () {
11007
+ return G(this, null, function* () {
11008
11008
  const e = this.state.config.entryDoorImageUrl, i = yield Ji(e), s = new w.PlaneGeometry(0.2, 0.16), o = new w.MeshBasicMaterial({
11009
11009
  map: i,
11010
11010
  transparent: !0,
@@ -11024,7 +11024,7 @@ class Tb extends vi {
11024
11024
  return wr(this.five).create3DDomContainer(e);
11025
11025
  }
11026
11026
  }
11027
- const yx = (n, t) => new Tb(n, t), Lb = 1, jb = 3, zb = new Kn(16777215), Ob = new Kn(6522623), Bb = new Kn(16777215), Rb = new Kn(6522623), Vb = 6, Hb = 8, Nb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMAG/Py2baba05un7UgfgAAAHJJREFUKM9joBpgLHVSCRdA4metAoJlCJHmVWBgAeNzroKCCVCBLpjACqgJVjCBxRBT2FbBQQJYQAohsBAsUIUQWA4WiEIILAULeCEEloAFtBACizAEMLRgGIphLabDMJ2O6TlM72MGECIIMQIZIxqoBQCPvpJ/e9FaAAAAAABJRU5ErkJggg==", im = new tf().load(Nb), Fb = {
11027
+ const y3 = (n, t) => new Tb(n, t), Lb = 1, jb = 3, zb = new Kn(16777215), Ob = new Kn(6522623), Bb = new Kn(16777215), Rb = new Kn(6522623), Vb = 6, Hb = 8, Nb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMAG/Py2baba05un7UgfgAAAHJJREFUKM9joBpgLHVSCRdA4metAoJlCJHmVWBgAeNzroKCCVCBLpjACqgJVjCBxRBT2FbBQQJYQAohsBAsUIUQWA4WiEIILAULeCEEloAFtBACizAEMLRgGIphLabDMJ2O6TlM72MGECIIMQIZIxqoBQCPvpJ/e9FaAAAAAABJRU5ErkJggg==", im = new tf().load(Nb), Fb = {
11028
11028
  pointTexture: im,
11029
11029
  pointSize: Vb,
11030
11030
  lineWidth: Lb,
@@ -11155,7 +11155,7 @@ class Ub extends nm {
11155
11155
  const s = i.clientWidth, o = i.clientHeight, r = s / 2, a = o / 2;
11156
11156
  if (this.line.points.length < 2)
11157
11157
  return;
11158
- const [l, c] = this.line.points.map((R) => R.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), h = l.clone().project(e.camera), u = c.clone().project(e.camera), f = Li(l, c).clone().project(e.camera), m = new Pt(h.x * r, h.y * a), A = new Pt(u.x * r, u.y * a), p = m.distanceTo(A);
11158
+ const [l, c] = this.line.points.map((R) => R.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), h = l.clone().project(e.camera), u = c.clone().project(e.camera), f = Li(l, c).clone().project(e.camera), m = new Ct(h.x * r, h.y * a), A = new Ct(u.x * r, u.y * a), p = m.distanceTo(A);
11159
11159
  if ((() => !(Math.abs(h.z) > 1 || Math.abs(u.z) > 1 || !Wo(h) && !Wo(u) || !Wo(f) || p === 0))() === !1) {
11160
11160
  this.hide();
11161
11161
  return;
@@ -11728,7 +11728,7 @@ function e1(n, t) {
11728
11728
  return re(D({}, s), { raycaster: t, isVirtual: !1 });
11729
11729
  }
11730
11730
  const En = () => !1;
11731
- class hm extends It {
11731
+ class hm extends Pt {
11732
11732
  constructor(e, i) {
11733
11733
  var r, a;
11734
11734
  super();
@@ -11985,7 +11985,7 @@ class Vl {
11985
11985
  function Hl(n, t) {
11986
11986
  const e = n.x - t[0].x, i = n.y - t[0].y, s = t[1].x - t[0].x, o = t[1].y - t[0].y, r = e * s + i * o, a = s * s + o * o, l = r / a;
11987
11987
  let c, h;
11988
- return l < 0 || n1(t[0], t[1]) ? (c = t[0].x, h = t[0].y) : l > 1 ? (c = t[1].x, h = t[1].y) : (c = t[0].x + l * s, h = t[0].y + l * o), new Pt(c, h);
11988
+ return l < 0 || n1(t[0], t[1]) ? (c = t[0].x, h = t[0].y) : l > 1 ? (c = t[1].x, h = t[1].y) : (c = t[0].x + l * s, h = t[0].y + l * o), new Ct(c, h);
11989
11989
  }
11990
11990
  function n1(n, t) {
11991
11991
  return n.x === t.x && n.y === t.y;
@@ -12153,11 +12153,11 @@ class Mi extends Er {
12153
12153
  const [o] = Vt(this.five).intersectRaycaster(e);
12154
12154
  if (!o)
12155
12155
  return;
12156
- const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, h = new Pt(a.x * l, a.y * c), u = this.model.getAllLines().map((v) => {
12156
+ const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, h = new Ct(a.x * l, a.y * c), u = this.model.getAllLines().map((v) => {
12157
12157
  const [y, P] = v.points, I = y.position.clone().project(r), k = P.position.clone().project(r);
12158
12158
  if (!tn(I) && !tn(k))
12159
12159
  return null;
12160
- const E = new Pt(I.x * l, I.y * c), z = new Pt(k.x * l, k.y * c);
12160
+ const E = new Ct(I.x * l, I.y * c), z = new Ct(k.x * l, k.y * c);
12161
12161
  return { id: v.id, points: [E, z] };
12162
12162
  }).filter((v) => !!v);
12163
12163
  if (u.length === 0)
@@ -12315,7 +12315,7 @@ class vh extends Er {
12315
12315
  }
12316
12316
  function s1(n, t) {
12317
12317
  const e = (n.x + 1) / 2 * t.width, i = -(n.y - 1) / 2 * t.height;
12318
- return new Pt(e, i);
12318
+ return new Ct(e, i);
12319
12319
  }
12320
12320
  function o1(n, t, e, i) {
12321
12321
  const s = n.getElement();
@@ -12328,7 +12328,7 @@ function o1(n, t, e, i) {
12328
12328
  return typeof i == "number" && r[0].distance > i ? null : r[0];
12329
12329
  }
12330
12330
  function bh(n) {
12331
- const { x: t, y: e } = n.center, { clientWidth: i, clientHeight: s } = n.target, o = n.target.getBoundingClientRect(), r = new Pt(t, e).sub(new Pt(o.left, o.top)), a = new Pt(r.x / i * 2 - 1, -(r.y / s) * 2 + 1);
12331
+ const { x: t, y: e } = n.center, { clientWidth: i, clientHeight: s } = n.target, o = n.target.getBoundingClientRect(), r = new Ct(t, e).sub(new Ct(o.left, o.top)), a = new Ct(r.x / i * 2 - 1, -(r.y / s) * 2 + 1);
12332
12332
  return { point: r, ndcPoint: a };
12333
12333
  }
12334
12334
  const yh = () => !1;
@@ -12406,11 +12406,11 @@ class wh extends Er {
12406
12406
  const o = Vt(this.five), [r] = o.intersectRaycaster(e);
12407
12407
  if (!r)
12408
12408
  return;
12409
- const a = this.five.camera, l = r.point.clone().project(a), c = this.container.clientWidth, h = this.container.clientHeight, u = new Pt(l.x * c, l.y * h), f = this.model.getAllLines().map((v) => {
12409
+ const a = this.five.camera, l = r.point.clone().project(a), c = this.container.clientWidth, h = this.container.clientHeight, u = new Ct(l.x * c, l.y * h), f = this.model.getAllLines().map((v) => {
12410
12410
  const [y, P] = v.points, I = y.position.clone().project(a), k = P.position.clone().project(a);
12411
12411
  if (!tn(I) && !tn(k))
12412
12412
  return null;
12413
- const E = new Pt(I.x * c, I.y * h), z = new Pt(k.x * c, k.y * h);
12413
+ const E = new Ct(I.x * c, I.y * h), z = new Ct(k.x * c, k.y * h);
12414
12414
  return { id: v.id, points: [E, z] };
12415
12415
  }).filter((v) => !!v);
12416
12416
  if (f.length === 0)
@@ -12509,7 +12509,7 @@ class dm {
12509
12509
  d(this, "config");
12510
12510
  d(this, "polylines", []);
12511
12511
  d(this, "areas", []);
12512
- d(this, "hook", new It());
12512
+ d(this, "hook", new Pt());
12513
12513
  this.config = t;
12514
12514
  }
12515
12515
  addPolyline(t) {
@@ -12760,11 +12760,11 @@ class Is extends Er {
12760
12760
  const i = Vt(this.five), [s] = i.intersectRaycaster(e);
12761
12761
  if (!s)
12762
12762
  return;
12763
- const o = this.five.camera, r = s.point.clone().project(o), a = this.container.clientWidth, l = this.container.clientHeight, c = new Pt(r.x * a, r.y * l), h = this.model.getAllLines().map((A) => {
12763
+ const o = this.five.camera, r = s.point.clone().project(o), a = this.container.clientWidth, l = this.container.clientHeight, c = new Ct(r.x * a, r.y * l), h = this.model.getAllLines().map((A) => {
12764
12764
  const [p, g] = A.points, v = p.position.clone().project(o), y = g.position.clone().project(o);
12765
12765
  if (!tn(v) && !tn(y))
12766
12766
  return null;
12767
- const P = new Pt(v.x * a, v.y * l), I = new Pt(y.x * a, y.y * l);
12767
+ const P = new Ct(v.x * a, v.y * l), I = new Ct(y.x * a, y.y * l);
12768
12768
  return { id: A.id, points: [P, I] };
12769
12769
  }).filter((A) => !!A);
12770
12770
  if (h.length === 0)
@@ -13713,7 +13713,7 @@ function O1(n, t, e) {
13713
13713
  function u() {
13714
13714
  e(3, r = !1);
13715
13715
  }
13716
- xt(() => {
13716
+ kt(() => {
13717
13717
  i.hook.on("modeChange", l), i.hook.on("complete", u), i.hook.on("pointsChange", h);
13718
13718
  }), Ht(() => {
13719
13719
  i.hook.off("modeChange", l), i.hook.off("complete", u), i.hook.off("pointsChange", h);
@@ -14374,7 +14374,7 @@ function Y1(n, t, e) {
14374
14374
  }, z = (W) => {
14375
14375
  W.isEmpty && p("start");
14376
14376
  };
14377
- xt(() => {
14377
+ kt(() => {
14378
14378
  i.hook.on("revoke", z), i.hook.on("measureTypeChange", E), i.hook.on("modeChange", I), i.hook.on("pointsChange", P), i.hook.on("allowAddPointStateChange", k), i.hook.on("readyComplete", v), i.hook.on("notReadyComplete", y), i.hook.on("complete", I);
14379
14379
  }), Ht(() => {
14380
14380
  i.hook.off("measureTypeChange", E), i.hook.off("modeChange", I), i.hook.off("allowAddPointStateChange", k), i.hook.off("readyComplete", v), i.hook.off("pointsChange", P), i.hook.off("notReadyComplete", y), i.hook.off("complete", I);
@@ -14621,7 +14621,7 @@ function $1(n, t, e) {
14621
14621
  }, g = (y) => {
14622
14622
  i.currentMeasureType === "area" && (y.length >= 2 ? h("close") : y.length === 0 ? h("start") : u());
14623
14623
  };
14624
- xt(() => {
14624
+ kt(() => {
14625
14625
  m(i.getCurrentMode()), i.hook.on("modeChange", m), i.hook.on("complete", A), i.hook.on("pointsChange", g), i.hook.on("measureTypeChange", p);
14626
14626
  }), Ht(() => {
14627
14627
  i.hook.off("modeChange", m), i.hook.off("complete", A), i.hook.off("pointsChange", g), i.hook.off("measureTypeChange", p), u();
@@ -14937,7 +14937,7 @@ class oy extends Bi {
14937
14937
  };
14938
14938
  }
14939
14939
  }
14940
- const Ix = function(t, e) {
14940
+ const I3 = function(t, e) {
14941
14941
  return new oy(t, e);
14942
14942
  }, ym = Ll(null);
14943
14943
  function ry(n) {
@@ -15179,7 +15179,7 @@ function uy(n, t, e) {
15179
15179
  }), R = R.parentNode;
15180
15180
  }
15181
15181
  };
15182
- xt(() => {
15182
+ kt(() => {
15183
15183
  m.emit("initTag", { id: i });
15184
15184
  });
15185
15185
  const I = ym.subscribe((E) => {
@@ -15263,7 +15263,7 @@ const my = {
15263
15263
  ">": "&gt",
15264
15264
  '"': "&#34",
15265
15265
  "'": "&#39"
15266
- }, kt = {
15266
+ }, Mt = {
15267
15267
  EVAL: "eval",
15268
15268
  ESCAPED: "escaped",
15269
15269
  RAW: "raw",
@@ -15333,56 +15333,56 @@ class vy {
15333
15333
  `).length - 1, t) {
15334
15334
  case i + e:
15335
15335
  case i + e + "_":
15336
- this.mode = kt.EVAL;
15336
+ this.mode = Mt.EVAL;
15337
15337
  break;
15338
15338
  case i + e + "=":
15339
- this.mode = kt.ESCAPED;
15339
+ this.mode = Mt.ESCAPED;
15340
15340
  break;
15341
15341
  case i + e + "-":
15342
- this.mode = kt.RAW;
15342
+ this.mode = Mt.RAW;
15343
15343
  break;
15344
15344
  case i + e + "#":
15345
- this.mode = kt.COMMENT;
15345
+ this.mode = Mt.COMMENT;
15346
15346
  break;
15347
15347
  case i + e + e:
15348
- this.mode = kt.LITERAL, this.source += ' ; __append("' + t.replace(i + e + e, i + e) + `")
15348
+ this.mode = Mt.LITERAL, this.source += ' ; __append("' + t.replace(i + e + e, i + e) + `")
15349
15349
  `;
15350
15350
  break;
15351
15351
  case e + e + s:
15352
- this.mode = kt.LITERAL, this.source += ' ; __append("' + t.replace(e + e + s, e + s) + `")
15352
+ this.mode = Mt.LITERAL, this.source += ' ; __append("' + t.replace(e + e + s, e + s) + `")
15353
15353
  `;
15354
15354
  break;
15355
15355
  case e + s:
15356
15356
  case "-" + e + s:
15357
15357
  case "_" + e + s:
15358
- this.mode == kt.LITERAL && this._addOutput(t), this.mode = null, this.truncate = t.indexOf("-") === 0 || t.indexOf("_") === 0;
15358
+ this.mode == Mt.LITERAL && this._addOutput(t), this.mode = null, this.truncate = t.indexOf("-") === 0 || t.indexOf("_") === 0;
15359
15359
  break;
15360
15360
  default:
15361
15361
  if (this.mode) {
15362
15362
  switch (this.mode) {
15363
- case kt.EVAL:
15364
- case kt.ESCAPED:
15365
- case kt.RAW:
15363
+ case Mt.EVAL:
15364
+ case Mt.ESCAPED:
15365
+ case Mt.RAW:
15366
15366
  t.lastIndexOf("//") > t.lastIndexOf(`
15367
15367
  `) && (t += `
15368
15368
  `);
15369
15369
  }
15370
15370
  switch (this.mode) {
15371
- case kt.EVAL:
15371
+ case Mt.EVAL:
15372
15372
  this.source += " ; " + t + `
15373
15373
  `;
15374
15374
  break;
15375
- case kt.ESCAPED:
15375
+ case Mt.ESCAPED:
15376
15376
  this.source += " ; __append(escapeFn(" + Wh(t) + `))
15377
15377
  `;
15378
15378
  break;
15379
- case kt.RAW:
15379
+ case Mt.RAW:
15380
15380
  this.source += " ; __append(" + Wh(t) + `)
15381
15381
  `;
15382
15382
  break;
15383
- case kt.COMMENT:
15383
+ case Mt.COMMENT:
15384
15384
  break;
15385
- case kt.LITERAL:
15385
+ case Mt.LITERAL:
15386
15386
  this._addOutput(t);
15387
15387
  break;
15388
15388
  }
@@ -15391,7 +15391,7 @@ class vy {
15391
15391
  }
15392
15392
  }
15393
15393
  }
15394
- const Ia = 1e-3, Uh = 0.01, by = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", Mx = (n, t) => {
15394
+ const Ia = 1e-3, Uh = 0.01, by = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", M3 = (n, t) => {
15395
15395
  var oe, se, Pe, Ae, ge, Ve, ye, Qe;
15396
15396
  let e = t == null ? void 0 : t.container, i = 1.4;
15397
15397
  const s = (oe = t == null ? void 0 : t.wait) != null ? oe : 200, o = (se = t == null ? void 0 : t.maxNumberOnScreen) != null ? se : 3, r = (Pe = t == null ? void 0 : t.minRad) != null ? Pe : Math.PI / 4, a = (Ae = t == null ? void 0 : t.nearTolerance) != null ? Ae : 100, l = (ge = t == null ? void 0 : t.upsideHeight) != null ? ge : 1.6, c = (Ve = t == null ? void 0 : t.minDistance) != null ? Ve : 1.2, h = (ye = t == null ? void 0 : t.maxDistance) != null ? ye : 3.5, u = wr(n), f = document.createElement("div");
@@ -15480,12 +15480,12 @@ const Ia = 1e-3, Uh = 0.01, by = "https://vrlab-image4.ljcdn.com/release/web/Pan
15480
15480
  const rt = Oe.position.clone().sub(pe.position).setY(0);
15481
15481
  if (rt.angleTo(Oe.normal) > Math.PI / 2 - r && rt.angleTo(Oe.normal) < Math.PI / 2 + r)
15482
15482
  return Ce;
15483
- const Je = Oe.position.clone().project(pe);
15483
+ const Ze = Oe.position.clone().project(pe);
15484
15484
  if (!p.tags.every((Ie) => {
15485
15485
  if (Ie.position.clone().sub(pe.position).setY(0).angleTo(ke.setY(0)) > Math.PI / 2)
15486
15486
  return !0;
15487
15487
  const Xe = Ie.position.clone().project(pe);
15488
- return Math.sqrt(Math.pow((Je.x - Xe.x) / 2 * K, 2) + Math.pow((Je.y - Xe.y) / 2 * ve, 2)) > a;
15488
+ return Math.sqrt(Math.pow((Ze.x - Xe.x) / 2 * K, 2) + Math.pow((Ze.y - Xe.y) / 2 * ve, 2)) > a;
15489
15489
  }))
15490
15490
  return Ce;
15491
15491
  const tt = {
@@ -15522,19 +15522,19 @@ const Ia = 1e-3, Uh = 0.01, by = "https://vrlab-image4.ljcdn.com/release/web/Pan
15522
15522
  return Math.sqrt(Math.pow((rt.x - Ie.x) / 2 * K, 2) + Math.pow((rt.y - Ie.y) / 2 * ve, 2)) > a;
15523
15523
  }))
15524
15524
  continue;
15525
- const Je = new w.Raycaster(
15525
+ const Ze = new w.Raycaster(
15526
15526
  pe.position.clone().setY(i),
15527
15527
  Ge.position.clone().sub(pe.position.clone().setY(i)).normalize(),
15528
15528
  0,
15529
15529
  Ge.distance + Uh
15530
- ), [tt] = p.intersectObjects ? Je.intersectObjects(p.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(Je) : Je.intersectObjects(n.model.children, !0);
15530
+ ), [tt] = p.intersectObjects ? Ze.intersectObjects(p.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(Ze) : Ze.intersectObjects(n.model.children, !0);
15531
15531
  if (tt && Ge.distance - tt.distance < Uh) {
15532
15532
  const { position: Se, normal: Ie, id: Xe, replacement: ht } = Ge, ls = new w.Plane().setFromNormalAndCoplanarPoint(Ie, Se), qt = Se.clone().sub(pe.position).cross(new w.Vector3(0, 1, 0)).setLength(Ia), bi = [
15533
15533
  Se.clone(),
15534
15534
  Se.clone().add(qt),
15535
15535
  Se.clone().add(new w.Vector3(0, Ia, 0)).add(qt),
15536
15536
  Se.clone().add(new w.Vector3(0, Ia, 0))
15537
- ].map((hn) => ls.projectPoint(hn, new w.Vector3())), { container: Vi, dispose: Dt } = u.create3DDomContainer(bi) || {}, cn = new fy({
15537
+ ].map((hn) => ls.projectPoint(hn, new w.Vector3())), { container: Vi, dispose: xt } = u.create3DDomContainer(bi) || {}, cn = new fy({
15538
15538
  target: Vi,
15539
15539
  props: {
15540
15540
  id: Xe,
@@ -15546,7 +15546,7 @@ const Ia = 1e-3, Uh = 0.01, by = "https://vrlab-image4.ljcdn.com/release/web/Pan
15546
15546
  folded: p.folded,
15547
15547
  events: p.events,
15548
15548
  hooks: m,
15549
- dispose: Dt
15549
+ dispose: xt
15550
15550
  }
15551
15551
  });
15552
15552
  Le.push({
@@ -15577,7 +15577,7 @@ const Ia = 1e-3, Uh = 0.01, by = "https://vrlab-image4.ljcdn.com/release/web/Pan
15577
15577
  p.enabled = !1, g.$set({ origins: [] }), p.tags.forEach((K) => {
15578
15578
  K.app.$destroy(), K = null;
15579
15579
  }), p.origins = [], p.tags = [];
15580
- }, G = () => {
15580
+ }, _ = () => {
15581
15581
  p.folded = !1, p.tags.forEach((K) => {
15582
15582
  K.app.$set({ folded: p.folded });
15583
15583
  });
@@ -15605,7 +15605,7 @@ const Ia = 1e-3, Uh = 0.01, by = "https://vrlab-image4.ljcdn.com/release/web/Pan
15605
15605
  return window.addEventListener("resize", Y, !1), (Qe = n == null ? void 0 : n.model) != null && Qe.loaded ? Z() : n.once("modelLoaded", Z), n.on("dispose", J), {
15606
15606
  load: R,
15607
15607
  setIntersectObjects: U,
15608
- unfoldAll: G,
15608
+ unfoldAll: _,
15609
15609
  foldAll: N,
15610
15610
  unfold: Q,
15611
15611
  fold: H,
@@ -15658,7 +15658,7 @@ var xn = /* @__PURE__ */ ((n) => (n.SMALL = "small", n.MIDLLE = "middle", n.LARG
15658
15658
  n.exports ? (e.default = e, n.exports = e) : window.classNames = e;
15659
15659
  })();
15660
15660
  })(yy);
15661
- const wt = sl;
15661
+ const Lt = sl;
15662
15662
  function wy(n) {
15663
15663
  me(n, "svelte-1wufped", ".item-label-item.svelte-1wufped{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0}.item-label-item.visible.svelte-1wufped{opacity:1;animation:svelte-1wufped-fadeIn 0.3s ease-in}.item-label-item__text-wrap.svelte-1wufped::before{content:'';position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.3);filter:blur(1rem);z-index:-1}.item-label-item__text-wrap.svelte-1wufped{padding:0.375rem 0.375rem 0;position:absolute;height:1.25rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap;line-height:0.625rem;font-size:0.6875rem;font-weight:bold;color:#ffeac0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center}.item-label-item__text.svelte-1wufped{padding-bottom:0.25rem;border-top:0 solid;border-left:0 solid;border-right:0 solid;border-bottom:0.0625rem solid;-o-border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5;border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5}.item-label-item__bar.svelte-1wufped{position:absolute;bottom:0;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(234, 208, 154, 0), rgba(234, 208, 154, 1))}@keyframes svelte-1wufped-fadeIn{from{opacity:0}to{opacity:1}}");
15664
15664
  }
@@ -15675,7 +15675,7 @@ function Cy(n) {
15675
15675
  c() {
15676
15676
  t = S("div"), e = S("div"), i = S("span"), o = De(s), r = $(), a = S("div"), C(i, "class", "item-label-item__text svelte-1wufped"), C(e, "class", "item-label-item__text-wrap svelte-1wufped"), T(e, "top", `-${/*itemLabel*/
15677
15677
  n[0].strokeLength + 26}px`), C(a, "class", "item-label-item__bar svelte-1wufped"), T(a, "height", `${/*itemLabel*/
15678
- n[0].strokeLength}px`), C(t, "class", l = Ze(wt("item-label-item", { visible: (
15678
+ n[0].strokeLength}px`), C(t, "class", l = Ke(Lt("item-label-item", { visible: (
15679
15679
  /*itemLabel*/
15680
15680
  n[0].visible
15681
15681
  ) })) + " svelte-1wufped"), T(
@@ -15710,7 +15710,7 @@ function Cy(n) {
15710
15710
  u[0].strokeLength + 26}px`), f & /*itemLabel*/
15711
15711
  1 && T(a, "height", `${/*itemLabel*/
15712
15712
  u[0].strokeLength}px`), f & /*itemLabel*/
15713
- 1 && l !== (l = Ze(wt("item-label-item", { visible: (
15713
+ 1 && l !== (l = Ke(Lt("item-label-item", { visible: (
15714
15714
  /*itemLabel*/
15715
15715
  u[0].visible
15716
15716
  ) })) + " svelte-1wufped") && C(t, "class", l), f & /*itemLabel*/
@@ -15928,7 +15928,7 @@ function xy(n, t, e) {
15928
15928
  const z = () => {
15929
15929
  e(4, p = !1), R();
15930
15930
  };
15931
- xt(() => {
15931
+ kt(() => {
15932
15932
  e(1, u = a), h = a, E(), U(), o.on("cameraUpdate", z);
15933
15933
  });
15934
15934
  const R = wm(
@@ -15946,7 +15946,7 @@ function xy(n, t, e) {
15946
15946
  Ht(() => {
15947
15947
  o.off("cameraUpdate", z), window.removeEventListener("resize", F, !1);
15948
15948
  });
15949
- function G() {
15949
+ function _() {
15950
15950
  f = this.clientWidth, m = this.clientHeight, e(2, f), e(3, m);
15951
15951
  }
15952
15952
  return n.$$set = (N) => {
@@ -15961,7 +15961,7 @@ function xy(n, t, e) {
15961
15961
  r,
15962
15962
  a,
15963
15963
  c,
15964
- G
15964
+ _
15965
15965
  ];
15966
15966
  }
15967
15967
  let Dy = class extends de {
@@ -15988,7 +15988,7 @@ function Sy(n) {
15988
15988
  modelPosition: [t.position[0], t.position[1] + t.size[1], t.position[2]]
15989
15989
  }, t));
15990
15990
  }
15991
- const Dx = (n, t) => {
15991
+ const D3 = (n, t) => {
15992
15992
  var f, m;
15993
15993
  const e = {
15994
15994
  container: document.createElement("div"),
@@ -16058,7 +16058,7 @@ const Dx = (n, t) => {
16058
16058
  dispose: a,
16059
16059
  hooks: e.hooks
16060
16060
  };
16061
- }, Sx = {
16061
+ }, S3 = {
16062
16062
  name: "ModelItemLabelPlugin",
16063
16063
  version: 0
16064
16064
  };
@@ -16079,7 +16079,7 @@ function Ty(n) {
16079
16079
  t.push(i);
16080
16080
  }), t;
16081
16081
  }
16082
- const Ly = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4Bx91BpLdBTOS/cgUIB3a+gMwI9mFzE3a0I3z5B4r292JzGVA8tSSZILMcUDyzIykthOZvYDk+V9Ktmz4yGzhOhV4/+5YU4N/hzqo0StX3Fg5TcnNlYvgs8bPsM4hkScHoyO46haRnGEYktQVI+4ypUYKyXtxyUu27JCce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xwajuUb8lqOZRT3S/lx06RY1g8C4akfiEJAOZdFKzsq/nNjIssdufjbhQAEAUodOGDWp4m8S0oHEhb+YexGkD4EBUpdVMrfl/E/RhNJnsjF/ls0r980YRQDlAqBylIqylcCzf4lHecB5veigSfmYoBycaxN2SHgT8e7pWKZwCzqzZpigUr9DlRuoIxXn8pIZJgHtkwpa8togHIiw587LeNx9mc2ZwIK5DOlXJaMFqhWwoMp/Ax+1W+ToOXTHGKNrDMLLo38LmKsQKmbdSrWil+N82UJaS40YTuJv/RdtAdpzet+aJDzvMpQV71oo2gYX5RXG2HnYZXtouzNRzXE3R0KE6jWjZU2iaZ9u8pqpU3UfvwrYSgSBVDtGDurBlHn/zj0QMIh7qlDNOfmcBj9ihKo9o+l1euiWGxSE5eun3na6jxQk3joEgdQ7TR+FWutE43lhQpph3sQvISAVRa9ppRzipY4gZqdw8/WigIWDWt1gD8EIsqSLlT/KPUVlKSAujs2XTLYeRHiIlA2DVi1qkRtK8PSULaEDF+Ue7ashwkTlf8DQc/cITdx9+UAAAAASUVORK5CYII=", jy = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPT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K1ebjgdcr0k+O1uXwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==", Tx = (n, { videoElement: t }) => {
16082
+ const Ly = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4Bx91BpLdBTOS/cgUIB3a+gMwI9mFzE3a0I3z5B4r292JzGVA8tSSZILMcUDyzIykthOZvYDk+V9Ktmz4yGzhOhV4/+5YU4N/hzqo0StX3Fg5TcnNlYvgs8bPsM4hkScHoyO46haRnGEYktQVI+4ypUYKyXtxyUu27JCceAMJvjo0HoM5CEZ7cPX7i013q3IWVV5r2aw/2TK+svWbPGU68KQCa6pYeus1V0X99quSfvtVSc39lmfz2mdbz32tg1dAJ0421AVs9E7/FxBSezrMmjI/gm5/nYmMkBq+TqBs7LNgTlZH6EnWlPmORdk+pHQipUNfTxtg7p3NIXWRMvXfoqusmXsNhpC6crIS1Zf9C6yAOdlxpK5BW18CiT7A/G93gE+P0FY/RoO+RWqS62YhB2r4YhlixArECsQKxArECvzjCnwAOr0wF44ggHAAAAAASUVORK5CYII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v/RdtAdpzet+aJDzvMpQV71oo2gYX5RXG2HnYZXtouzNRzXE3R0KE6jWjZU2iaZ9u8pqpU3UfvwrYSgSBVDtGDurBlHn/zj0QMIh7qlDNOfmcBj9ihKo9o+l1euiWGxSE5eun3na6jxQk3joEgdQ7TR+FWutE43lhQpph3sQvISAVRa9ppRzipY4gZqdw8/WigIWDWt1gD8EIsqSLlT/KPUVlKSAujs2XTLYeRHiIlA2DVi1qkRtK8PSULaEDF+Ue7ashwkTlf8DQc/cITdx9+UAAAAASUVORK5CYII=", jy = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPTU0Kx4PCAX69fTgxcKkopWL7crJuri2sa6rnIyHhX54bVtZVU9NSUcsJSIcFROno6Hcwp+ekHVxbWhnRC8nDLc9s8oAAAOGSURBVEjHpdd3X9pAGAfwkBBDAoQmBJmWvUWWiIDIHoJb66x7a4d78Op7pBQ1J5DY33987vnyXEIu3CGy/0hvnDthM+l0hj3JScSudDKOdhNPpl1i8Ut624Gi6+trI3zW1tcdqGM7/SIC5/ZRR2SNJEm7JkHt7FAJjR18WIs40P3cAFxIOaIRna6ZOHxGunk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oMeshes: [],
16085
16085
  videoTextureEnabled: !1,
@@ -16121,31 +16121,31 @@ const Ly = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
16121
16121
  }, c = () => e.rectPoints.map((v, y) => {
16122
16122
  const P = new w.BufferGeometry(), I = 128, k = [];
16123
16123
  k.push(...v[0].toArray());
16124
- for (let G = 1; G < I; G++)
16124
+ for (let _ = 1; _ < I; _++)
16125
16125
  k.push(
16126
- v[0].x + (v[1].x - v[0].x) * G / I,
16127
- v[0].y + (v[1].y - v[0].y) * G / I,
16128
- v[0].z + (v[1].z - v[0].z) * G / I
16126
+ v[0].x + (v[1].x - v[0].x) * _ / I,
16127
+ v[0].y + (v[1].y - v[0].y) * _ / I,
16128
+ v[0].z + (v[1].z - v[0].z) * _ / I
16129
16129
  );
16130
16130
  k.push(...v[1].toArray()), k.push(...v[2].toArray());
16131
- for (let G = 1; G < I; G++)
16131
+ for (let _ = 1; _ < I; _++)
16132
16132
  k.push(
16133
- v[2].x + (v[3].x - v[2].x) * G / I,
16134
- v[2].y + (v[3].y - v[2].y) * G / I,
16135
- v[2].z + (v[3].z - v[2].z) * G / I
16133
+ v[2].x + (v[3].x - v[2].x) * _ / I,
16134
+ v[2].y + (v[3].y - v[2].y) * _ / I,
16135
+ v[2].z + (v[3].z - v[2].z) * _ / I
16136
16136
  );
16137
16137
  k.push(...v[3].toArray());
16138
16138
  const E = [];
16139
16139
  E.push(0, 1);
16140
- for (let G = 1; G < I; G++)
16141
- E.push(0, 1 - G / I);
16140
+ for (let _ = 1; _ < I; _++)
16141
+ E.push(0, 1 - _ / I);
16142
16142
  E.push(0, 0), E.push(1, 0);
16143
- for (let G = 1; G < I; G++)
16144
- E.push(1, G / I);
16143
+ for (let _ = 1; _ < I; _++)
16144
+ E.push(1, _ / I);
16145
16145
  E.push(1, 1);
16146
16146
  const z = [];
16147
- for (let G = 0; G < I; G++)
16148
- z.push(G, G + 1, I * 2 - G, G, I * 2 - G, I * 2 + 1 - G);
16147
+ for (let _ = 0; _ < I; _++)
16148
+ z.push(_, _ + 1, I * 2 - _, _, I * 2 - _, I * 2 + 1 - _);
16149
16149
  P.setAttribute("position", new w.BufferAttribute(new Float32Array(k), 3)), P.setAttribute("uv", new w.BufferAttribute(new Float32Array(E), 2)), P.setIndex(new w.BufferAttribute(new Uint32Array(z), 1));
16150
16150
  const R = new w.MeshBasicMaterial({
16151
16151
  map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
@@ -16154,12 +16154,12 @@ const Ly = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
16154
16154
  U.renderOrder = 1, U.name = `ModelTVVideoPlugin-${y}-${performance.now()}`;
16155
16155
  const W = [v[1], v[2], v[3], v[0]], F = i.create3DDomContainer(W);
16156
16156
  if (F != null && F.container) {
16157
- const G = document.createElement("div");
16158
- G.classList.add("play-icon"), G.style.width = "100%", G.style.height = "100%", G.style.display = "flex", G.style.justifyContent = "center", G.style.alignItems = "center", G.style.pointerEvents = "none", F.container.appendChild(G);
16157
+ const _ = document.createElement("div");
16158
+ _.classList.add("play-icon"), _.style.width = "100%", _.style.height = "100%", _.style.display = "flex", _.style.justifyContent = "center", _.style.alignItems = "center", _.style.pointerEvents = "none", F.container.appendChild(_);
16159
16159
  const N = document.createElement("img");
16160
16160
  N.src = Fl, N.style.width = "200px", N.style.pointerEvents = "auto", N.onclick = () => {
16161
16161
  e.videoTexture.image.muted = !1, e.videoTexture.image.play();
16162
- }, G.appendChild(N), s.set(U, F);
16162
+ }, _.appendChild(N), s.set(U, F);
16163
16163
  }
16164
16164
  return U;
16165
16165
  }), h = (v) => {
@@ -16180,7 +16180,7 @@ const Ly = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
16180
16180
  k(new Error("Video download Error: " + E.status));
16181
16181
  }, E.onerror = (z) => k(z), E.open("GET", v), E.responseType = "blob", E.send();
16182
16182
  });
16183
- }, f = (v, y) => _(void 0, null, function* () {
16183
+ }, f = (v, y) => G(void 0, null, function* () {
16184
16184
  const { video_src: P, video_poster_src: I, points: k } = v;
16185
16185
  e.videoSource = P, e.rectPoints = Ty(k).map((E) => E.map(({ x: z, y: R, z: U }) => new w.Vector3(z, R, U))), e.imageTexture = h(I), y && (e.videoElement = y), e.videoTexture = yield u(e.videoSource, e.videoElement), e.enabled = !!v.enable, e.enabled && a();
16186
16186
  }), m = (v) => {
@@ -16310,15 +16310,15 @@ function Ry(n) {
16310
16310
  let f = u(n, -1), m = f(n);
16311
16311
  return {
16312
16312
  c() {
16313
- t = S("div"), e = S("div"), m.c(), o = $(), r = S("div"), C(e, "class", s = Ze(wt("item-label-item__text-wrap", {
16313
+ t = S("div"), e = S("div"), m.c(), o = $(), r = S("div"), C(e, "class", s = Ke(Lt("item-label-item__text-wrap", {
16314
16314
  "item-label-item__custom": typeof /*itemLabel*/
16315
16315
  n[0].render == "function"
16316
16316
  })) + " svelte-1jhufeh"), T(e, "bottom", `${/*itemLabel*/
16317
- n[0].strokeLength}px`), C(r, "class", a = Ze(wt("item-label-item__bar", { anchor: (
16317
+ n[0].strokeLength}px`), C(r, "class", a = Ke(Lt("item-label-item__bar", { anchor: (
16318
16318
  /*anchorEnabled*/
16319
16319
  n[1]
16320
16320
  ) })) + " svelte-1jhufeh"), T(r, "height", `${/*itemLabel*/
16321
- n[0].strokeLength}px`), C(t, "class", l = Ze(wt("item-label-item", { fold: (
16321
+ n[0].strokeLength}px`), C(t, "class", l = Ke(Lt("item-label-item", { fold: (
16322
16322
  /*itemLabel*/
16323
16323
  n[0].isFold
16324
16324
  ) })) + " svelte-1jhufeh"), T(
@@ -16343,19 +16343,19 @@ function Ry(n) {
16343
16343
  },
16344
16344
  p(A, [p]) {
16345
16345
  f === (f = u(A, p)) && m ? m.p(A, p) : (m.d(1), m = f(A), m && (m.c(), m.m(e, null))), p & /*itemLabel*/
16346
- 1 && s !== (s = Ze(wt("item-label-item__text-wrap", {
16346
+ 1 && s !== (s = Ke(Lt("item-label-item__text-wrap", {
16347
16347
  "item-label-item__custom": typeof /*itemLabel*/
16348
16348
  A[0].render == "function"
16349
16349
  })) + " svelte-1jhufeh") && C(e, "class", s), p & /*itemLabel*/
16350
16350
  1 && T(e, "bottom", `${/*itemLabel*/
16351
16351
  A[0].strokeLength}px`), p & /*anchorEnabled*/
16352
- 2 && a !== (a = Ze(wt("item-label-item__bar", { anchor: (
16352
+ 2 && a !== (a = Ke(Lt("item-label-item__bar", { anchor: (
16353
16353
  /*anchorEnabled*/
16354
16354
  A[1]
16355
16355
  ) })) + " svelte-1jhufeh") && C(r, "class", a), p & /*itemLabel*/
16356
16356
  1 && T(r, "height", `${/*itemLabel*/
16357
16357
  A[0].strokeLength}px`), p & /*itemLabel*/
16358
- 1 && l !== (l = Ze(wt("item-label-item", { fold: (
16358
+ 1 && l !== (l = Ke(Lt("item-label-item", { fold: (
16359
16359
  /*itemLabel*/
16360
16360
  A[0].isFold
16361
16361
  ) })) + " svelte-1jhufeh") && C(t, "class", l), p & /*itemLabel*/
@@ -16428,7 +16428,7 @@ class Hy extends de {
16428
16428
  );
16429
16429
  }
16430
16430
  }
16431
- const { Raycaster: Ny, Vector3: Lx } = w, qh = (n, t, e, i) => {
16431
+ const { Raycaster: Ny, Vector3: L3 } = w, qh = (n, t, e, i) => {
16432
16432
  const s = t.clone().sub(e).normalize(), o = new Ny();
16433
16433
  o.set(e, s);
16434
16434
  const [r] = n.model.intersectRaycaster(o);
@@ -16677,7 +16677,7 @@ function Uy(n, t, e) {
16677
16677
  }
16678
16678
  }
16679
16679
  return typeof Z == "number" ? H[Z] : void 0;
16680
- }, G = (Q) => {
16680
+ }, _ = (Q) => {
16681
16681
  if (s.state.mode === mt.Mode.Panorama)
16682
16682
  return;
16683
16683
  const H = s.work.observers, Y = new i().fromArray(Q.position), Z = F(Y, H);
@@ -16700,7 +16700,7 @@ function Uy(n, t, e) {
16700
16700
  };
16701
16701
  Tf(() => {
16702
16702
  W();
16703
- }), xt(() => {
16703
+ }), kt(() => {
16704
16704
  e(1, u = Kh(r)), h = r, k(), U(), s.on("cameraUpdate", E);
16705
16705
  }), Ht(() => {
16706
16706
  s.off("cameraUpdate", E), window.removeEventListener("resize", R, !1);
@@ -16717,7 +16717,7 @@ function Uy(n, t, e) {
16717
16717
  m,
16718
16718
  A,
16719
16719
  g,
16720
- G,
16720
+ _,
16721
16721
  s,
16722
16722
  o,
16723
16723
  r,
@@ -16753,7 +16753,7 @@ function Xy(n) {
16753
16753
  observerIndex: void 0
16754
16754
  }));
16755
16755
  }
16756
- const Zy = void 0, jx = (n, t) => {
16756
+ const Zy = void 0, j3 = (n, t) => {
16757
16757
  var f, m, A, p;
16758
16758
  const e = {
16759
16759
  container: document.createElement("div"),
@@ -16824,7 +16824,7 @@ const Zy = void 0, jx = (n, t) => {
16824
16824
  dispose: a,
16825
16825
  hooks: e.hooks
16826
16826
  };
16827
- }, zx = {
16827
+ }, z3 = {
16828
16828
  name: "ItemLabelPlugin",
16829
16829
  version: 0
16830
16830
  };
@@ -16904,7 +16904,7 @@ function Ky(n) {
16904
16904
  return {
16905
16905
  c() {
16906
16906
  t = S("div"), e = S("div"), i = S("span"), i.textContent = `${/*name*/
16907
- n[8]}`, s = $(), o = S("i"), C(i, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), C(o, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), C(e, "class", r = Ze(wt(
16907
+ n[8]}`, s = $(), o = S("i"), C(i, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), C(o, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), C(e, "class", r = Ke(Lt(
16908
16908
  "plugin-DoorLabelPlugin-cnt",
16909
16909
  /*props*/
16910
16910
  n[0].toward
@@ -16931,7 +16931,7 @@ function Ky(n) {
16931
16931
  },
16932
16932
  p(c, [h]) {
16933
16933
  h & /*props*/
16934
- 1 && r !== (r = Ze(wt(
16934
+ 1 && r !== (r = Ke(Lt(
16935
16935
  "plugin-DoorLabelPlugin-cnt",
16936
16936
  /*props*/
16937
16937
  c[0].toward
@@ -17076,7 +17076,7 @@ class rw extends Jy {
17076
17076
  const s = this.five.getElement(), o = s.clientWidth, r = s.clientHeight, a = i.getWorldDirection(new le()), l = [], c = [...this.labelItems];
17077
17077
  if (c.forEach((E, z) => {
17078
17078
  if (E.visible) {
17079
- const R = i.position.distanceTo(E.position), U = E.position.clone().add(new le(0, this.OffsetHeight, 0)), F = U.clone().sub(i.position).normalize().angleTo(a), G = U.clone().project(i), N = (G.x + 1) / 2.2 * 100, Q = (-G.y + 1) / 2.2 * 100, H = N >= 0 && N <= 100 && Q >= 0 && Q <= 100 && R > this.MinVisibledistance && R <= this.MaxVisibledistance;
17079
+ const R = i.position.distanceTo(E.position), U = E.position.clone().add(new le(0, this.OffsetHeight, 0)), F = U.clone().sub(i.position).normalize().angleTo(a), _ = U.clone().project(i), N = (_.x + 1) / 2.2 * 100, Q = (-_.y + 1) / 2.2 * 100, H = N >= 0 && N <= 100 && Q >= 0 && Q <= 100 && R > this.MinVisibledistance && R <= this.MaxVisibledistance;
17080
17080
  E.left = N, E.top = Q, E.inSight = H && F < Math.PI / 2, E.cameraToward = iw(this.five), H ? l.push({ disFromCameraToLabel: R, left: N, top: Q, index: z }) : E.transform = "translate(-50%, -50%)";
17081
17081
  } else
17082
17082
  E.inSight = !1;
@@ -17084,7 +17084,7 @@ class rw extends Jy {
17084
17084
  let E = 0;
17085
17085
  l.sort((z, R) => R.disFromCameraToLabel - z.disFromCameraToLabel);
17086
17086
  for (let z = 1; z < l.length; z++) {
17087
- const { index: R, left: U, top: W } = l[z - 1], { index: F, left: G, top: N } = l[z], Q = this.container.children[R], H = this.container.children[F];
17087
+ const { index: R, left: U, top: W } = l[z - 1], { index: F, left: _, top: N } = l[z], Q = this.container.children[R], H = this.container.children[F];
17088
17088
  if (!Q || !H)
17089
17089
  return;
17090
17090
  const Y = {
@@ -17093,7 +17093,7 @@ class rw extends Jy {
17093
17093
  width: (f = (u = (h = Q.children) == null ? void 0 : h[0]) == null ? void 0 : u.clientWidth) != null ? f : 0,
17094
17094
  height: (p = (A = (m = Q.children) == null ? void 0 : m[0]) == null ? void 0 : A.clientHeight) != null ? p : 0
17095
17095
  }, Z = {
17096
- left: o * G / 100,
17096
+ left: o * _ / 100,
17097
17097
  top: r * N / 100,
17098
17098
  width: (y = (v = (g = H.children) == null ? void 0 : g[0]) == null ? void 0 : v.clientWidth) != null ? y : 0,
17099
17099
  height: (k = (I = (P = H.children) == null ? void 0 : P[0]) == null ? void 0 : I.clientHeight) != null ? k : 0
@@ -17200,7 +17200,7 @@ class rw extends Jy {
17200
17200
  this && this.five && (this.five.off("wantsToMoveToPano", this.hideAllLabels), this.five.off("modelLoaded", this.fixDoorVisibleAndPosition), this.five.off("panoArrived", this.fixDoorVisibleAndPosition), this.five.off("initAnimationEnded", this.fixDoorPosition), this.five.off("cameraUpdate", this.fixDoorPosition), this.five.off("mouseWheel", this.fixDoorPosition), this.five.off("pinchGesture", this.fixDoorPosition), super.dispose());
17201
17201
  }
17202
17202
  }
17203
- const Ox = (n) => new rw(n);
17203
+ const O3 = (n) => new rw(n);
17204
17204
  function Cm(n, t) {
17205
17205
  console.warn(`🚫 ==> [${n}]: ${t}`);
17206
17206
  }
@@ -17346,7 +17346,7 @@ function Mw(n) {
17346
17346
  }
17347
17347
  const W = [];
17348
17348
  let F;
17349
- const G = [];
17349
+ const _ = [];
17350
17350
  for (let H = 0; H < l - 1; H++) {
17351
17351
  if (F !== void 0 && H <= F)
17352
17352
  continue;
@@ -17381,8 +17381,8 @@ function Mw(n) {
17381
17381
  } = Ye, Ce = K + je, Oe = Le + ke + 2;
17382
17382
  for (let Ie = Ce; Ie < Oe; Ie++)
17383
17383
  Ae < ge ? (g[Ie * 6 + 0] = $e, g[Ie * 6 + 2] = ae) : (g[Ie * 6 + 3] = $e, g[Ie * 6 + 5] = ae), F = Ie;
17384
- let Ge, rt, Je, tt, Se;
17385
- Ae < ge ? (Ge = g[K * 6 + 1], rt = g[Ce * 6 + 1], Je = g[Oe * 6 + 1], tt = g[pe * 6 + 1], Se = (rt + Je) / 2) : (Ge = g[K * 6 + 4], rt = g[Ce * 6 + 4], Je = g[Oe * 6 + 4], tt = g[pe * 6 + 4], Se = (rt + Je) / 2);
17384
+ let Ge, rt, Ze, tt, Se;
17385
+ Ae < ge ? (Ge = g[K * 6 + 1], rt = g[Ce * 6 + 1], Ze = g[Oe * 6 + 1], tt = g[pe * 6 + 1], Se = (rt + Ze) / 2) : (Ge = g[K * 6 + 4], rt = g[Ce * 6 + 4], Ze = g[Oe * 6 + 4], tt = g[pe * 6 + 4], Se = (rt + Ze) / 2);
17386
17386
  for (let Ie = K; Ie < Ce; Ie++) {
17387
17387
  const Xe = Ce - K, ht = (Ie - K) / Xe;
17388
17388
  Ae < ge ? g[Ie * 6 + 1] = Ge + (Se - Ge) * ht : g[Ie * 6 + 4] = Ge + (Se - Ge) * ht;
@@ -17393,7 +17393,7 @@ function Mw(n) {
17393
17393
  const Xe = pe - Oe, ht = (Ie - Oe + 1) / Xe;
17394
17394
  Ae < ge ? g[Ie * 6 + 1] = Se + (tt - Se) * ht : g[Ie * 6 + 4] = Se + (tt - Se) * ht;
17395
17395
  }
17396
- G.push({
17396
+ _.push({
17397
17397
  start: Ce,
17398
17398
  end: Oe
17399
17399
  });
@@ -17402,12 +17402,12 @@ function Mw(n) {
17402
17402
  }
17403
17403
  }
17404
17404
  const N = new Float32Array(f);
17405
- G.forEach((H) => {
17405
+ _.forEach((H) => {
17406
17406
  for (let Y = 0; Y < l - 1; Y++)
17407
17407
  Y >= H.start && Y <= H.end ? (N[Y * 2 + 0] = 1, N[Y * 2 + 1] = 1) : N[Y] !== 1 && (N[Y * 2 + 0] = 0, N[Y * 2 + 1] = 0);
17408
17408
  });
17409
17409
  const Q = new w.BufferGeometry();
17410
- return Q.setAttribute("position", new w.BufferAttribute(g, 3)), Q.setAttribute("uv", new w.BufferAttribute(v, 2)), Q.setIndex(new w.BufferAttribute(p, 1)), { geometry: Q, maxV: I, animationWillError: G, curvePath: o, curvePoints: a, panoMap: k, totalLength: P };
17410
+ return Q.setAttribute("position", new w.BufferAttribute(g, 3)), Q.setAttribute("uv", new w.BufferAttribute(v, 2)), Q.setIndex(new w.BufferAttribute(p, 1)), { geometry: Q, maxV: I, animationWillError: _, curvePath: o, curvePoints: a, panoMap: k, totalLength: P };
17411
17411
  }
17412
17412
  function kw(n) {
17413
17413
  if (xw(n)) {
@@ -17444,7 +17444,7 @@ function Dw(n, t) {
17444
17444
  });
17445
17445
  });
17446
17446
  }
17447
- const Ke = (n) => n;
17447
+ const qe = (n) => n;
17448
17448
  function Ma(n) {
17449
17449
  if (!n || n.length < 3)
17450
17450
  return;
@@ -17655,6 +17655,11 @@ const Yw = {
17655
17655
  }
17656
17656
  },
17657
17657
  contentTypeConfig: {
17658
+ "[Panorama]": {
17659
+ visibleConfig: {
17660
+ visibleDistance: { max: 30 }
17661
+ }
17662
+ },
17658
17663
  "[Mapview]": {
17659
17664
  unfoldedConfig: {
17660
17665
  autoUnfold: {
@@ -17993,7 +17998,7 @@ class Tm extends Sm {
17993
17998
  });
17994
17999
  }
17995
18000
  play(e = !1) {
17996
- return _(this, null, function* () {
18001
+ return G(this, null, function* () {
17997
18002
  this.videoMesh || (yield this.addVideoMesh()), this.showPlayUI(), this.videoInstance.paused && this.videoInstance.play().then(() => this.showPlayUI()).catch((i) => {
17998
18003
  this.pause(), console.error("play error", i);
17999
18004
  }), this.videoInstance.muted = e, this.render();
@@ -18013,7 +18018,7 @@ class Tm extends Sm {
18013
18018
  this.coverMesh && (this.coverMesh.visible = !1), this.remove(this.buttonMesh), this.videoMesh.visible = !0;
18014
18019
  }
18015
18020
  showPauseUI() {
18016
- return _(this, null, function* () {
18021
+ return G(this, null, function* () {
18017
18022
  this.coverMesh ? (this.coverMesh.visible = !0, this.videoMesh && (this.videoMesh.visible = !1)) : (yield this.addCoverMesh(), this.coverMesh && (this.videoMesh.visible = !1)), this.addButtonMesh().then(() => this.render());
18018
18023
  });
18019
18024
  }
@@ -18022,10 +18027,10 @@ class Tm extends Sm {
18022
18027
  this.videoMesh && (this.videoMesh.needsRender = !0), this.coverMesh && (this.coverMesh.needsRender = !0), this.buttonMesh && (this.buttonMesh.needsRender = !0), this.videoMesh && ((e = this.videoInstance) == null ? void 0 : e.paused) === !1 && (this.videoMesh.needsRender = !0);
18023
18028
  }
18024
18029
  addCoverMesh() {
18025
- return _(this, null, function* () {
18030
+ return G(this, null, function* () {
18026
18031
  if (this.children.includes(this.coverMesh))
18027
18032
  return;
18028
- const e = yield (() => _(this, null, function* () {
18033
+ const e = yield (() => G(this, null, function* () {
18029
18034
  if (this.coverMesh)
18030
18035
  return this.coverMesh;
18031
18036
  if (!this.videoCoverSrc)
@@ -18037,10 +18042,10 @@ class Tm extends Sm {
18037
18042
  });
18038
18043
  }
18039
18044
  addVideoMesh() {
18040
- return _(this, null, function* () {
18045
+ return G(this, null, function* () {
18041
18046
  if (this.children.includes(this.videoMesh))
18042
18047
  return;
18043
- const e = yield (() => _(this, null, function* () {
18048
+ const e = yield (() => G(this, null, function* () {
18044
18049
  if (this.videoMesh)
18045
18050
  return this.videoMesh;
18046
18051
  if (!this.src)
@@ -18072,10 +18077,10 @@ class Tm extends Sm {
18072
18077
  });
18073
18078
  }
18074
18079
  addButtonMesh() {
18075
- return _(this, null, function* () {
18080
+ return G(this, null, function* () {
18076
18081
  if (this.children.includes(this.buttonMesh))
18077
18082
  return;
18078
- const e = yield (() => _(this, null, function* () {
18083
+ const e = yield (() => G(this, null, function* () {
18079
18084
  var m, A, p, g;
18080
18085
  if (this.buttonMesh)
18081
18086
  return this.buttonMesh;
@@ -18095,7 +18100,7 @@ class Tm extends Sm {
18095
18100
  });
18096
18101
  }
18097
18102
  getImageTexture(e) {
18098
- return _(this, null, function* () {
18103
+ return G(this, null, function* () {
18099
18104
  var s, o;
18100
18105
  if ((s = this.ImageTextureMap) != null && s.has(e))
18101
18106
  return this.ImageTextureMap.get(e);
@@ -18326,6 +18331,8 @@ class eC extends Xw {
18326
18331
  constructor(e) {
18327
18332
  super(e);
18328
18333
  d(this, "tags", []);
18334
+ d(this, "renderWidthPx");
18335
+ d(this, "renderHeightPx");
18329
18336
  d(this, "config", Yw);
18330
18337
  /** 插件参数 */
18331
18338
  d(this, "params");
@@ -18592,8 +18599,8 @@ class eC extends Xw {
18592
18599
  }
18593
18600
  const o = {}, r = {}, a = {};
18594
18601
  this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([P, I]) => {
18595
- var F, G;
18596
- const k = P, E = k.split("-"), z = P.startsWith("["), R = z ? E[0].slice(1, -1) : void 0, U = z ? E.slice(1) : E, W = R ? ["PanoramaLike", "ModelLike"].includes(R) ? (F = r[R]) != null ? F : r[R] = {} : (G = a[R]) != null ? G : a[R] = {} : o;
18602
+ var F, _;
18603
+ const k = P, E = k.split("-"), z = P.startsWith("["), R = z ? E[0].slice(1, -1) : void 0, U = z ? E.slice(1) : E, W = R ? ["PanoramaLike", "ModelLike"].includes(R) ? (F = r[R]) != null ? F : r[R] = {} : (_ = a[R]) != null ? _ : a[R] = {} : o;
18597
18604
  if (!W[k]) {
18598
18605
  if (U.length === 0 && (W[k] = I), U.length === 1) {
18599
18606
  const [N] = U;
@@ -21655,8 +21662,8 @@ var Ro = jI, cr = {}, zI = {
21655
21662
  }
21656
21663
  };
21657
21664
  (function(n, t) {
21658
- var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", f = "[object Map]", m = "[object Number]", A = "[object Object]", p = "[object Promise]", g = "[object RegExp]", v = "[object Set]", y = "[object String]", P = "[object Symbol]", I = "[object WeakMap]", k = "[object ArrayBuffer]", E = "[object DataView]", z = "[object Float32Array]", R = "[object Float64Array]", U = "[object Int8Array]", W = "[object Int16Array]", F = "[object Int32Array]", G = "[object Uint8Array]", N = "[object Uint8ClampedArray]", Q = "[object Uint16Array]", H = "[object Uint32Array]", Y = /[\\^$.*+?()[\]{}|]/g, Z = /\w*$/, J = /^\[object .+?Constructor\]$/, oe = /^(?:0|[1-9]\d*)$/, se = {};
21659
- se[o] = se[r] = se[k] = se[E] = se[a] = se[l] = se[z] = se[R] = se[U] = se[W] = se[F] = se[f] = se[m] = se[A] = se[g] = se[v] = se[y] = se[P] = se[G] = se[N] = se[Q] = se[H] = !0, se[c] = se[h] = se[I] = !1;
21665
+ var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", f = "[object Map]", m = "[object Number]", A = "[object Object]", p = "[object Promise]", g = "[object RegExp]", v = "[object Set]", y = "[object String]", P = "[object Symbol]", I = "[object WeakMap]", k = "[object ArrayBuffer]", E = "[object DataView]", z = "[object Float32Array]", R = "[object Float64Array]", U = "[object Int8Array]", W = "[object Int16Array]", F = "[object Int32Array]", _ = "[object Uint8Array]", N = "[object Uint8ClampedArray]", Q = "[object Uint16Array]", H = "[object Uint32Array]", Y = /[\\^$.*+?()[\]{}|]/g, Z = /\w*$/, J = /^\[object .+?Constructor\]$/, oe = /^(?:0|[1-9]\d*)$/, se = {};
21666
+ se[o] = se[r] = se[k] = se[E] = se[a] = se[l] = se[z] = se[R] = se[U] = se[W] = se[F] = se[f] = se[m] = se[A] = se[g] = se[v] = se[y] = se[P] = se[_] = se[N] = se[Q] = se[H] = !0, se[c] = se[h] = se[I] = !1;
21660
21667
  var Pe = typeof Rt == "object" && Rt && Rt.Object === Object && Rt, Ae = typeof self == "object" && self && self.Object === Object && self, ge = Pe || Ae || Function("return this")(), Ve = t && !t.nodeType && t, ye = Ve && !0 && n && !n.nodeType && n, Qe = ye && ye.exports === Ve;
21661
21668
  function K(b, M) {
21662
21669
  return b.set(M[0], M[1]), b;
@@ -21714,12 +21721,12 @@ var Ro = jI, cr = {}, zI = {
21714
21721
  V[++M] = X;
21715
21722
  }), V;
21716
21723
  }
21717
- var Ge = Array.prototype, rt = Function.prototype, Je = Object.prototype, tt = ge["__core-js_shared__"], Se = function() {
21724
+ var Ge = Array.prototype, rt = Function.prototype, Ze = Object.prototype, tt = ge["__core-js_shared__"], Se = function() {
21718
21725
  var b = /[^.]+$/.exec(tt && tt.keys && tt.keys.IE_PROTO || "");
21719
21726
  return b ? "Symbol(src)_1." + b : "";
21720
- }(), Ie = rt.toString, Xe = Je.hasOwnProperty, ht = Je.toString, ls = RegExp(
21727
+ }(), Ie = rt.toString, Xe = Ze.hasOwnProperty, ht = Ze.toString, ls = RegExp(
21721
21728
  "^" + Ie.call(Xe).replace(Y, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
21722
- ), qt = Qe ? ge.Buffer : void 0, bi = ge.Symbol, Vi = ge.Uint8Array, Dt = Ce(Object.getPrototypeOf, Object), cn = Object.create, hn = Je.propertyIsEnumerable, Lr = Ge.splice, cs = Object.getOwnPropertySymbols, dn = qt ? qt.isBuffer : void 0, so = Ce(Object.keys, Object), un = Ft(ge, "DataView"), Hi = Ft(ge, "Map"), Nt = Ft(ge, "Promise"), fn = Ft(ge, "Set"), hs = Ft(ge, "WeakMap"), Ni = Ft(Object, "create"), ds = Mt(un), Fi = Mt(Hi), us = Mt(Nt), fs = Mt(fn), ms = Mt(hs), yi = bi ? bi.prototype : void 0, oo = yi ? yi.valueOf : void 0;
21729
+ ), qt = Qe ? ge.Buffer : void 0, bi = ge.Symbol, Vi = ge.Uint8Array, xt = Ce(Object.getPrototypeOf, Object), cn = Object.create, hn = Ze.propertyIsEnumerable, Lr = Ge.splice, cs = Object.getOwnPropertySymbols, dn = qt ? qt.isBuffer : void 0, so = Ce(Object.keys, Object), un = Ft(ge, "DataView"), Hi = Ft(ge, "Map"), Nt = Ft(ge, "Promise"), fn = Ft(ge, "Set"), hs = Ft(ge, "WeakMap"), Ni = Ft(Object, "create"), ds = Et(un), Fi = Et(Hi), us = Et(Nt), fs = Et(fn), ms = Et(hs), yi = bi ? bi.prototype : void 0, oo = yi ? yi.valueOf : void 0;
21723
21730
  function li(b) {
21724
21731
  var M = -1, V = b ? b.length : 0;
21725
21732
  for (this.clear(); ++M < V; ) {
@@ -21806,7 +21813,7 @@ var Ro = jI, cr = {}, zI = {
21806
21813
  return _i(this, b).set(b, M), this;
21807
21814
  }
21808
21815
  vt.prototype.clear = Fr, vt.prototype.delete = Gr, vt.prototype.get = _r, vt.prototype.has = Qr, vt.prototype.set = Wr;
21809
- function St(b) {
21816
+ function Dt(b) {
21810
21817
  this.__data__ = new dt(b);
21811
21818
  }
21812
21819
  function Ur() {
@@ -21831,7 +21838,7 @@ var Ro = jI, cr = {}, zI = {
21831
21838
  }
21832
21839
  return V.set(b, M), this;
21833
21840
  }
21834
- St.prototype.clear = Ur, St.prototype.delete = Yr, St.prototype.get = Xr, St.prototype.has = Zr, St.prototype.set = Jr;
21841
+ Dt.prototype.clear = Ur, Dt.prototype.delete = Yr, Dt.prototype.get = Xr, Dt.prototype.has = Zr, Dt.prototype.set = Jr;
21835
21842
  function mn(b, M) {
21836
21843
  var V = bs(b) || An(b) ? je(b.length, String) : [], X = V.length, Me = !!X;
21837
21844
  for (var be in b)
@@ -21876,10 +21883,10 @@ var Ro = jI, cr = {}, zI = {
21876
21883
  Be = ca(b, He, ps, M);
21877
21884
  }
21878
21885
  }
21879
- ze || (ze = new St());
21880
- var Tt = ze.get(b);
21881
- if (Tt)
21882
- return Tt;
21886
+ ze || (ze = new Dt());
21887
+ var St = ze.get(b);
21888
+ if (St)
21889
+ return St;
21883
21890
  if (ze.set(b, Be), !it)
21884
21891
  var at = V ? aa(b) : ws(b);
21885
21892
  return Le(at || b, function(yt, ut) {
@@ -21900,7 +21907,7 @@ var Ro = jI, cr = {}, zI = {
21900
21907
  if (!ei(b) || ua(b))
21901
21908
  return !1;
21902
21909
  var M = ys(b) || $e(b) ? ls : J;
21903
- return M.test(Mt(b));
21910
+ return M.test(Et(b));
21904
21911
  }
21905
21912
  function ta(b) {
21906
21913
  if (!ho(b))
@@ -21973,7 +21980,7 @@ var Ro = jI, cr = {}, zI = {
21973
21980
  }
21974
21981
  var ci = cs ? Ce(cs, Object) : ma, hi = $r;
21975
21982
  (un && hi(new un(new ArrayBuffer(1))) != E || Hi && hi(new Hi()) != f || Nt && hi(Nt.resolve()) != p || fn && hi(new fn()) != v || hs && hi(new hs()) != I) && (hi = function(b) {
21976
- var M = ht.call(b), V = M == A ? b.constructor : void 0, X = V ? Mt(V) : void 0;
21983
+ var M = ht.call(b), V = M == A ? b.constructor : void 0, X = V ? Et(V) : void 0;
21977
21984
  if (X)
21978
21985
  switch (X) {
21979
21986
  case ds:
@@ -21994,7 +22001,7 @@ var Ro = jI, cr = {}, zI = {
21994
22001
  return M && typeof b[0] == "string" && Xe.call(b, "index") && (V.index = b.index, V.input = b.input), V;
21995
22002
  }
21996
22003
  function $t(b) {
21997
- return typeof b.constructor == "function" && !ho(b) ? qr(Dt(b)) : {};
22004
+ return typeof b.constructor == "function" && !ho(b) ? qr(xt(b)) : {};
21998
22005
  }
21999
22006
  function ca(b, M, V, X) {
22000
22007
  var Me = b.constructor;
@@ -22011,7 +22018,7 @@ var Ro = jI, cr = {}, zI = {
22011
22018
  case U:
22012
22019
  case W:
22013
22020
  case F:
22014
- case G:
22021
+ case _:
22015
22022
  case N:
22016
22023
  case Q:
22017
22024
  case H:
@@ -22040,10 +22047,10 @@ var Ro = jI, cr = {}, zI = {
22040
22047
  return !!Se && Se in b;
22041
22048
  }
22042
22049
  function ho(b) {
22043
- var M = b && b.constructor, V = typeof M == "function" && M.prototype || Je;
22050
+ var M = b && b.constructor, V = typeof M == "function" && M.prototype || Ze;
22044
22051
  return b === V;
22045
22052
  }
22046
- function Mt(b) {
22053
+ function Et(b) {
22047
22054
  if (b != null) {
22048
22055
  try {
22049
22056
  return Ie.call(b);
@@ -22108,8 +22115,8 @@ var hr = {}, BI = {
22108
22115
  }
22109
22116
  };
22110
22117
  (function(n, t) {
22111
- var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", f = "[object Error]", m = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", g = "[object Number]", v = "[object Null]", y = "[object Object]", P = "[object Promise]", I = "[object Proxy]", k = "[object RegExp]", E = "[object Set]", z = "[object String]", R = "[object Symbol]", U = "[object Undefined]", W = "[object WeakMap]", F = "[object ArrayBuffer]", G = "[object DataView]", N = "[object Float32Array]", Q = "[object Float64Array]", H = "[object Int8Array]", Y = "[object Int16Array]", Z = "[object Int32Array]", J = "[object Uint8Array]", oe = "[object Uint8ClampedArray]", se = "[object Uint16Array]", Pe = "[object Uint32Array]", Ae = /[\\^$.*+?()[\]{}|]/g, ge = /^\[object .+?Constructor\]$/, Ve = /^(?:0|[1-9]\d*)$/, ye = {};
22112
- ye[N] = ye[Q] = ye[H] = ye[Y] = ye[Z] = ye[J] = ye[oe] = ye[se] = ye[Pe] = !0, ye[a] = ye[l] = ye[F] = ye[h] = ye[G] = ye[u] = ye[f] = ye[m] = ye[p] = ye[g] = ye[y] = ye[k] = ye[E] = ye[z] = ye[W] = !1;
22118
+ var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", f = "[object Error]", m = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", g = "[object Number]", v = "[object Null]", y = "[object Object]", P = "[object Promise]", I = "[object Proxy]", k = "[object RegExp]", E = "[object Set]", z = "[object String]", R = "[object Symbol]", U = "[object Undefined]", W = "[object WeakMap]", F = "[object ArrayBuffer]", _ = "[object DataView]", N = "[object Float32Array]", Q = "[object Float64Array]", H = "[object Int8Array]", Y = "[object Int16Array]", Z = "[object Int32Array]", J = "[object Uint8Array]", oe = "[object Uint8ClampedArray]", se = "[object Uint16Array]", Pe = "[object Uint32Array]", Ae = /[\\^$.*+?()[\]{}|]/g, ge = /^\[object .+?Constructor\]$/, Ve = /^(?:0|[1-9]\d*)$/, ye = {};
22119
+ ye[N] = ye[Q] = ye[H] = ye[Y] = ye[Z] = ye[J] = ye[oe] = ye[se] = ye[Pe] = !0, ye[a] = ye[l] = ye[F] = ye[h] = ye[_] = ye[u] = ye[f] = ye[m] = ye[p] = ye[g] = ye[y] = ye[k] = ye[E] = ye[z] = ye[W] = !1;
22113
22120
  var Qe = typeof Rt == "object" && Rt && Rt.Object === Object && Rt, K = typeof self == "object" && self && self.Object === Object && self, ve = Qe || K || Function("return this")(), Le = t && !t.nodeType && t, pe = Le && !0 && n && !n.nodeType && n, Ye = pe && pe.exports === Le, je = Ye && Qe.process, ke = function() {
22114
22121
  try {
22115
22122
  return je && je.binding && je.binding("util");
@@ -22144,7 +22151,7 @@ var hr = {}, BI = {
22144
22151
  return b(M);
22145
22152
  };
22146
22153
  }
22147
- function Je(b, M) {
22154
+ function Ze(b, M) {
22148
22155
  return b.has(M);
22149
22156
  }
22150
22157
  function tt(b, M) {
@@ -22167,12 +22174,12 @@ var hr = {}, BI = {
22167
22174
  V[++M] = X;
22168
22175
  }), V;
22169
22176
  }
22170
- var ht = Array.prototype, ls = Function.prototype, qt = Object.prototype, bi = ve["__core-js_shared__"], Vi = ls.toString, Dt = qt.hasOwnProperty, cn = function() {
22177
+ var ht = Array.prototype, ls = Function.prototype, qt = Object.prototype, bi = ve["__core-js_shared__"], Vi = ls.toString, xt = qt.hasOwnProperty, cn = function() {
22171
22178
  var b = /[^.]+$/.exec(bi && bi.keys && bi.keys.IE_PROTO || "");
22172
22179
  return b ? "Symbol(src)_1." + b : "";
22173
22180
  }(), hn = qt.toString, Lr = RegExp(
22174
- "^" + Vi.call(Dt).replace(Ae, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
22175
- ), cs = Ye ? ve.Buffer : void 0, dn = ve.Symbol, so = ve.Uint8Array, un = qt.propertyIsEnumerable, Hi = ht.splice, Nt = dn ? dn.toStringTag : void 0, fn = Object.getOwnPropertySymbols, hs = cs ? cs.isBuffer : void 0, Ni = Ie(Object.keys, Object), ds = ci(ve, "DataView"), Fi = ci(ve, "Map"), us = ci(ve, "Promise"), fs = ci(ve, "Set"), ms = ci(ve, "WeakMap"), yi = ci(Object, "create"), oo = Mt(ds), li = Mt(Fi), jr = Mt(us), zr = Mt(fs), Or = Mt(ms), ro = dn ? dn.prototype : void 0, gs = ro ? ro.valueOf : void 0;
22181
+ "^" + Vi.call(xt).replace(Ae, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
22182
+ ), cs = Ye ? ve.Buffer : void 0, dn = ve.Symbol, so = ve.Uint8Array, un = qt.propertyIsEnumerable, Hi = ht.splice, Nt = dn ? dn.toStringTag : void 0, fn = Object.getOwnPropertySymbols, hs = cs ? cs.isBuffer : void 0, Ni = Ie(Object.keys, Object), ds = ci(ve, "DataView"), Fi = ci(ve, "Map"), us = ci(ve, "Promise"), fs = ci(ve, "Set"), ms = ci(ve, "WeakMap"), yi = ci(Object, "create"), oo = Et(ds), li = Et(Fi), jr = Et(us), zr = Et(fs), Or = Et(ms), ro = dn ? dn.prototype : void 0, gs = ro ? ro.valueOf : void 0;
22176
22183
  function dt(b) {
22177
22184
  var M = -1, V = b == null ? 0 : b.length;
22178
22185
  for (this.clear(); ++M < V; ) {
@@ -22193,11 +22200,11 @@ var hr = {}, BI = {
22193
22200
  var V = M[b];
22194
22201
  return V === i ? void 0 : V;
22195
22202
  }
22196
- return Dt.call(M, b) ? M[b] : void 0;
22203
+ return xt.call(M, b) ? M[b] : void 0;
22197
22204
  }
22198
22205
  function Hr(b) {
22199
22206
  var M = this.__data__;
22200
- return yi ? M[b] !== void 0 : Dt.call(M, b);
22207
+ return yi ? M[b] !== void 0 : xt.call(M, b);
22201
22208
  }
22202
22209
  function Nr(b, M) {
22203
22210
  var V = this.__data__;
@@ -22233,7 +22240,7 @@ var hr = {}, BI = {
22233
22240
  return X < 0 ? (++this.size, V.push([b, M])) : V[X][1] = M, this;
22234
22241
  }
22235
22242
  vt.prototype.clear = Fr, vt.prototype.delete = Gr, vt.prototype.get = _r, vt.prototype.has = Qr, vt.prototype.set = Wr;
22236
- function St(b) {
22243
+ function Dt(b) {
22237
22244
  var M = -1, V = b == null ? 0 : b.length;
22238
22245
  for (this.clear(); ++M < V; ) {
22239
22246
  var X = b[M];
@@ -22261,10 +22268,10 @@ var hr = {}, BI = {
22261
22268
  var V = Ft(this, b), X = V.size;
22262
22269
  return V.set(b, M), this.size += V.size == X ? 0 : 1, this;
22263
22270
  }
22264
- St.prototype.clear = Ur, St.prototype.delete = Yr, St.prototype.get = Xr, St.prototype.has = Zr, St.prototype.set = Jr;
22271
+ Dt.prototype.clear = Ur, Dt.prototype.delete = Yr, Dt.prototype.get = Xr, Dt.prototype.has = Zr, Dt.prototype.set = Jr;
22265
22272
  function mn(b) {
22266
22273
  var M = -1, V = b == null ? 0 : b.length;
22267
- for (this.__data__ = new St(); ++M < V; )
22274
+ for (this.__data__ = new Dt(); ++M < V; )
22268
22275
  this.add(b[M]);
22269
22276
  }
22270
22277
  function ao(b) {
@@ -22297,7 +22304,7 @@ var hr = {}, BI = {
22297
22304
  var X = V.__data__;
22298
22305
  if (!Fi || X.length < e - 1)
22299
22306
  return X.push([b, M]), this.size = ++V.size, this;
22300
- V = this.__data__ = new St(X);
22307
+ V = this.__data__ = new Dt(X);
22301
22308
  }
22302
22309
  return V.set(b, M), this.size = V.size, this;
22303
22310
  }
@@ -22305,7 +22312,7 @@ var hr = {}, BI = {
22305
22312
  function ta(b, M) {
22306
22313
  var V = An(b), X = !V && fo(b), Me = !V && !X && vn(b), be = !V && !X && !Me && po(b), ze = V || X || Me || be, Be = ze ? Ge(b.length, String) : [], it = Be.length;
22307
22314
  for (var He in b)
22308
- (M || Dt.call(b, He)) && !(ze && // Safari 9 has enumerable `arguments.length` in strict mode.
22315
+ (M || xt.call(b, He)) && !(ze && // Safari 9 has enumerable `arguments.length` in strict mode.
22309
22316
  (He == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
22310
22317
  Me && (He == "offset" || He == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
22311
22318
  be && (He == "buffer" || He == "byteLength" || He == "byteOffset") || // Skip index properties.
@@ -22334,7 +22341,7 @@ var hr = {}, BI = {
22334
22341
  function ia(b, M, V, X, Me, be) {
22335
22342
  var ze = An(b), Be = An(M), it = ze ? l : $t(b), He = Be ? l : $t(M);
22336
22343
  it = it == a ? y : it, He = He == a ? y : He;
22337
- var bt = it == y, Tt = He == y, at = it == He;
22344
+ var bt = it == y, St = He == y, at = it == He;
22338
22345
  if (at && vn(b)) {
22339
22346
  if (!vn(M))
22340
22347
  return !1;
@@ -22343,7 +22350,7 @@ var hr = {}, BI = {
22343
22350
  if (at && !bt)
22344
22351
  return be || (be = new Kt()), ze || po(b) ? vs(b, M, V, X, Me, be) : ra(b, M, it, V, X, Me, be);
22345
22352
  if (!(V & s)) {
22346
- var yt = bt && Dt.call(b, "__wrapped__"), ut = Tt && Dt.call(M, "__wrapped__");
22353
+ var yt = bt && xt.call(b, "__wrapped__"), ut = St && xt.call(M, "__wrapped__");
22347
22354
  if (yt || ut) {
22348
22355
  var wi = yt ? b.value() : b, di = ut ? M.value() : M;
22349
22356
  return be || (be = new Kt()), Me(wi, di, V, X, be);
@@ -22355,7 +22362,7 @@ var hr = {}, BI = {
22355
22362
  if (!go(b) || da(b))
22356
22363
  return !1;
22357
22364
  var M = mo(b) ? Lr : ge;
22358
- return M.test(Mt(b));
22365
+ return M.test(Et(b));
22359
22366
  }
22360
22367
  function sa(b) {
22361
22368
  return ei(b) && ys(b.length) && !!ye[Gi(b)];
@@ -22365,7 +22372,7 @@ var hr = {}, BI = {
22365
22372
  return Ni(b);
22366
22373
  var M = [];
22367
22374
  for (var V in Object(b))
22368
- Dt.call(b, V) && V != "constructor" && M.push(V);
22375
+ xt.call(b, V) && V != "constructor" && M.push(V);
22369
22376
  return M;
22370
22377
  }
22371
22378
  function vs(b, M, V, X, Me, be) {
@@ -22375,7 +22382,7 @@ var hr = {}, BI = {
22375
22382
  var He = be.get(b);
22376
22383
  if (He && be.get(M))
22377
22384
  return He == M;
22378
- var bt = -1, Tt = !0, at = V & o ? new mn() : void 0;
22385
+ var bt = -1, St = !0, at = V & o ? new mn() : void 0;
22379
22386
  for (be.set(b, M), be.set(M, b); ++bt < Be; ) {
22380
22387
  var yt = b[bt], ut = M[bt];
22381
22388
  if (X)
@@ -22383,27 +22390,27 @@ var hr = {}, BI = {
22383
22390
  if (wi !== void 0) {
22384
22391
  if (wi)
22385
22392
  continue;
22386
- Tt = !1;
22393
+ St = !1;
22387
22394
  break;
22388
22395
  }
22389
22396
  if (at) {
22390
22397
  if (!Oe(M, function(di, Qi) {
22391
- if (!Je(at, Qi) && (yt === di || Me(yt, di, V, X, be)))
22398
+ if (!Ze(at, Qi) && (yt === di || Me(yt, di, V, X, be)))
22392
22399
  return at.push(Qi);
22393
22400
  })) {
22394
- Tt = !1;
22401
+ St = !1;
22395
22402
  break;
22396
22403
  }
22397
22404
  } else if (!(yt === ut || Me(yt, ut, V, X, be))) {
22398
- Tt = !1;
22405
+ St = !1;
22399
22406
  break;
22400
22407
  }
22401
22408
  }
22402
- return be.delete(b), be.delete(M), Tt;
22409
+ return be.delete(b), be.delete(M), St;
22403
22410
  }
22404
22411
  function ra(b, M, V, X, Me, be, ze) {
22405
22412
  switch (V) {
22406
- case G:
22413
+ case _:
22407
22414
  if (b.byteLength != M.byteLength || b.byteOffset != M.byteOffset)
22408
22415
  return !1;
22409
22416
  b = b.buffer, M = M.buffer;
@@ -22440,9 +22447,9 @@ var hr = {}, BI = {
22440
22447
  var ze = V & s, Be = _i(b), it = Be.length, He = _i(M), bt = He.length;
22441
22448
  if (it != bt && !ze)
22442
22449
  return !1;
22443
- for (var Tt = it; Tt--; ) {
22444
- var at = Be[Tt];
22445
- if (!(ze ? at in M : Dt.call(M, at)))
22450
+ for (var St = it; St--; ) {
22451
+ var at = Be[St];
22452
+ if (!(ze ? at in M : xt.call(M, at)))
22446
22453
  return !1;
22447
22454
  }
22448
22455
  var yt = be.get(b);
@@ -22450,8 +22457,8 @@ var hr = {}, BI = {
22450
22457
  return yt == M;
22451
22458
  var ut = !0;
22452
22459
  be.set(b, M), be.set(M, b);
22453
- for (var wi = ze; ++Tt < it; ) {
22454
- at = Be[Tt];
22460
+ for (var wi = ze; ++St < it; ) {
22461
+ at = Be[St];
22455
22462
  var di = b[at], Qi = M[at];
22456
22463
  if (X)
22457
22464
  var rc = ze ? X(Qi, di, at, M, b, be) : X(di, Qi, at, b, M, be);
@@ -22479,7 +22486,7 @@ var hr = {}, BI = {
22479
22486
  return na(V) ? V : void 0;
22480
22487
  }
22481
22488
  function hi(b) {
22482
- var M = Dt.call(b, Nt), V = b[Nt];
22489
+ var M = xt.call(b, Nt), V = b[Nt];
22483
22490
  try {
22484
22491
  b[Nt] = void 0;
22485
22492
  var X = !0;
@@ -22493,12 +22500,12 @@ var hr = {}, BI = {
22493
22500
  return un.call(b, M);
22494
22501
  }));
22495
22502
  } : ma, $t = Gi;
22496
- (ds && $t(new ds(new ArrayBuffer(1))) != G || Fi && $t(new Fi()) != p || us && $t(us.resolve()) != P || fs && $t(new fs()) != E || ms && $t(new ms()) != W) && ($t = function(b) {
22497
- var M = Gi(b), V = M == y ? b.constructor : void 0, X = V ? Mt(V) : "";
22503
+ (ds && $t(new ds(new ArrayBuffer(1))) != _ || Fi && $t(new Fi()) != p || us && $t(us.resolve()) != P || fs && $t(new fs()) != E || ms && $t(new ms()) != W) && ($t = function(b) {
22504
+ var M = Gi(b), V = M == y ? b.constructor : void 0, X = V ? Et(V) : "";
22498
22505
  if (X)
22499
22506
  switch (X) {
22500
22507
  case oo:
22501
- return G;
22508
+ return _;
22502
22509
  case li:
22503
22510
  return p;
22504
22511
  case jr:
@@ -22527,7 +22534,7 @@ var hr = {}, BI = {
22527
22534
  function ho(b) {
22528
22535
  return hn.call(b);
22529
22536
  }
22530
- function Mt(b) {
22537
+ function Et(b) {
22531
22538
  if (b != null) {
22532
22539
  try {
22533
22540
  return Vi.call(b);
@@ -22546,7 +22553,7 @@ var hr = {}, BI = {
22546
22553
  var fo = lo(function() {
22547
22554
  return arguments;
22548
22555
  }()) ? lo : function(b) {
22549
- return ei(b) && Dt.call(b, "callee") && !un.call(b, "callee");
22556
+ return ei(b) && xt.call(b, "callee") && !un.call(b, "callee");
22550
22557
  }, An = Array.isArray;
22551
22558
  function bs(b) {
22552
22559
  return b != null && ys(b.length) && !mo(b);
@@ -22719,7 +22726,7 @@ class XI {
22719
22726
  this.reset();
22720
22727
  const i = Math.min(YI, Math.max(this._autoplayDuration, 1));
22721
22728
  let s = -i;
22722
- this._interval = UI(() => _(this, null, function* () {
22729
+ this._interval = UI(() => G(this, null, function* () {
22723
22730
  if (this._paused)
22724
22731
  return;
22725
22732
  s += i;
@@ -22882,17 +22889,17 @@ function ZI(n) {
22882
22889
  r.focused = !r.focused;
22883
22890
  },
22884
22891
  _applyAutoplayIfNeeded(l) {
22885
- return _(this, arguments, function* ({ data: r, methods: a }) {
22892
+ return G(this, arguments, function* ({ data: r, methods: a }) {
22886
22893
  if (!r.infinite && (r.autoplayDirection === Ti && r.currentParticleIndex === r.particlesCount - 1 || r.autoplayDirection === Yn && r.currentParticleIndex === 0)) {
22887
22894
  t.reset();
22888
22895
  return;
22889
22896
  }
22890
22897
  if (r.autoplay) {
22891
22898
  const c = () => ll({
22892
- [Ti]: () => _(this, null, function* () {
22899
+ [Ti]: () => G(this, null, function* () {
22893
22900
  return a.showNextPage();
22894
22901
  }),
22895
- [Yn]: () => _(this, null, function* () {
22902
+ [Yn]: () => G(this, null, function* () {
22896
22903
  return a.showPrevPage();
22897
22904
  })
22898
22905
  })(r.autoplayDirection);
@@ -22902,7 +22909,7 @@ function ZI(n) {
22902
22909
  },
22903
22910
  // makes delayed jump to 1st or last element
22904
22911
  _jumpIfNeeded(l) {
22905
- return _(this, arguments, function* ({ data: r, methods: a }) {
22912
+ return G(this, arguments, function* ({ data: r, methods: a }) {
22906
22913
  let c = !1;
22907
22914
  return r.infinite && (r.currentParticleIndex === 0 ? (yield a.showParticle(
22908
22915
  r.particlesCount - r.clonesCountTotal,
@@ -22915,24 +22922,24 @@ function ZI(n) {
22915
22922
  });
22916
22923
  },
22917
22924
  changePage(h, u, f) {
22918
- return _(this, arguments, function* ({ data: r, methods: a }, l, c) {
22925
+ return G(this, arguments, function* ({ data: r, methods: a }, l, c) {
22919
22926
  if (t.reset(), r.disabled)
22920
22927
  return;
22921
22928
  r.disabled = !0, l(), yield a.offsetPage({ animated: Hs(c, "animated", !0) }), r.disabled = !1, !(yield a._jumpIfNeeded()) && a._applyAutoplayIfNeeded();
22922
22929
  });
22923
22930
  },
22924
22931
  showNextPage(c, h) {
22925
- return _(this, arguments, function* ({ data: r, methods: a }, l) {
22932
+ return G(this, arguments, function* ({ data: r, methods: a }, l) {
22926
22933
  r.disabled || (yield a.changePage(a._next, l));
22927
22934
  });
22928
22935
  },
22929
22936
  showPrevPage(c, h) {
22930
- return _(this, arguments, function* ({ data: r, methods: a }, l) {
22937
+ return G(this, arguments, function* ({ data: r, methods: a }, l) {
22931
22938
  r.disabled || (yield a.changePage(a._prev, l));
22932
22939
  });
22933
22940
  },
22934
22941
  showParticle(c, h, u) {
22935
- return _(this, arguments, function* ({ methods: r }, a, l) {
22942
+ return G(this, arguments, function* ({ methods: r }, a, l) {
22936
22943
  yield r.changePage(
22937
22944
  () => r._moveToParticle(a),
22938
22945
  l
@@ -22951,7 +22958,7 @@ function ZI(n) {
22951
22958
  });
22952
22959
  },
22953
22960
  showPage(c, h, u) {
22954
- return _(this, arguments, function* ({ methods: r }, a, l) {
22961
+ return G(this, arguments, function* ({ methods: r }, a, l) {
22955
22962
  const f = r._getParticleIndexByPageIndex(a);
22956
22963
  yield r.showParticle(f, l);
22957
22964
  });
@@ -23536,9 +23543,9 @@ function oE(n, t, e) {
23536
23543
  loaded: () => e(6, o = Ce)
23537
23544
  })(ae);
23538
23545
  }), p = Cr();
23539
- let { timingFunction: g = "ease-in-out" } = t, { arrows: v = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: I = 500 } = t, { autoplay: k = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: z = Ti } = t, { pauseOnFocus: R = !1 } = t, { autoplayProgressVisible: U = !1 } = t, { dots: W = !0 } = t, { swiping: F = !0 } = t, { particlesToShow: G = 1 } = t, { particlesToScroll: N = 1 } = t;
23546
+ let { timingFunction: g = "ease-in-out" } = t, { arrows: v = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: I = 500 } = t, { autoplay: k = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: z = Ti } = t, { pauseOnFocus: R = !1 } = t, { autoplayProgressVisible: U = !1 } = t, { dots: W = !0 } = t, { swiping: F = !0 } = t, { particlesToShow: _ = 1 } = t, { particlesToScroll: N = 1 } = t;
23540
23547
  function Q(ae, Ce) {
23541
- return _(this, null, function* () {
23548
+ return G(this, null, function* () {
23542
23549
  const Oe = Hs(Ce, "animated", !0);
23543
23550
  if (typeof ae != "number")
23544
23551
  throw new Error("pageIndex should be a number");
@@ -23546,13 +23553,13 @@ function oE(n, t, e) {
23546
23553
  });
23547
23554
  }
23548
23555
  function H(ae) {
23549
- return _(this, null, function* () {
23556
+ return G(this, null, function* () {
23550
23557
  const Ce = Hs(ae, "animated", !0);
23551
23558
  yield m.showPrevPage({ animated: Ce });
23552
23559
  });
23553
23560
  }
23554
23561
  function Y(ae) {
23555
- return _(this, null, function* () {
23562
+ return G(this, null, function* () {
23556
23563
  const Ce = Hs(ae, "animated", !0);
23557
23564
  yield m.showNextPage({ animated: Ce });
23558
23565
  });
@@ -23576,15 +23583,15 @@ function oE(n, t, e) {
23576
23583
  clonesToPrepend: Ce
23577
23584
  });
23578
23585
  }
23579
- xt(() => {
23580
- _(this, null, function* () {
23586
+ kt(() => {
23587
+ G(this, null, function* () {
23581
23588
  yield Cc(), oe && J && (u.particlesCountWithoutClones = oe.children.length, yield Cc(), u.infinite && Pe(), u.particlesCount = oe.children.length, m.showPage(P, { animated: !1 }), se.observe(J));
23582
23589
  });
23583
23590
  }), Ht(() => {
23584
23591
  se.disconnect(), f.reset();
23585
23592
  });
23586
23593
  function Ae(ae) {
23587
- return _(this, null, function* () {
23594
+ return G(this, null, function* () {
23588
23595
  yield m.showPage(ae, { animated: !0 });
23589
23596
  });
23590
23597
  }
@@ -23592,7 +23599,7 @@ function oE(n, t, e) {
23592
23599
  F && (u.durationMs = 0);
23593
23600
  }
23594
23601
  function Ve(ae) {
23595
- return _(this, null, function* () {
23602
+ return G(this, null, function* () {
23596
23603
  F && (yield ll({
23597
23604
  [Ti]: m.showNextPage,
23598
23605
  [Yn]: m.showPrevPage
@@ -23606,7 +23613,7 @@ function oE(n, t, e) {
23606
23613
  F && m.showParticle(u.currentParticleIndex);
23607
23614
  }
23608
23615
  function K() {
23609
- return _(this, null, function* () {
23616
+ return G(this, null, function* () {
23610
23617
  F && (yield m.offsetPage({ animated: !0 }));
23611
23618
  });
23612
23619
  }
@@ -23632,7 +23639,7 @@ function oE(n, t, e) {
23632
23639
  }
23633
23640
  const $e = (ae) => Ae(ae.detail);
23634
23641
  return n.$$set = (ae) => {
23635
- "timingFunction" in ae && e(0, g = ae.timingFunction), "arrows" in ae && e(1, v = ae.arrows), "infinite" in ae && e(2, y = ae.infinite), "initialPageIndex" in ae && e(24, P = ae.initialPageIndex), "duration" in ae && e(25, I = ae.duration), "autoplay" in ae && e(26, k = ae.autoplay), "autoplayDuration" in ae && e(27, E = ae.autoplayDuration), "autoplayDirection" in ae && e(28, z = ae.autoplayDirection), "pauseOnFocus" in ae && e(29, R = ae.pauseOnFocus), "autoplayProgressVisible" in ae && e(3, U = ae.autoplayProgressVisible), "dots" in ae && e(4, W = ae.dots), "swiping" in ae && e(30, F = ae.swiping), "particlesToShow" in ae && e(31, G = ae.particlesToShow), "particlesToScroll" in ae && e(32, N = ae.particlesToScroll), "$$scope" in ae && e(36, s = ae.$$scope);
23642
+ "timingFunction" in ae && e(0, g = ae.timingFunction), "arrows" in ae && e(1, v = ae.arrows), "infinite" in ae && e(2, y = ae.infinite), "initialPageIndex" in ae && e(24, P = ae.initialPageIndex), "duration" in ae && e(25, I = ae.duration), "autoplay" in ae && e(26, k = ae.autoplay), "autoplayDuration" in ae && e(27, E = ae.autoplayDuration), "autoplayDirection" in ae && e(28, z = ae.autoplayDirection), "pauseOnFocus" in ae && e(29, R = ae.pauseOnFocus), "autoplayProgressVisible" in ae && e(3, U = ae.autoplayProgressVisible), "dots" in ae && e(4, W = ae.dots), "swiping" in ae && e(30, F = ae.swiping), "particlesToShow" in ae && e(31, _ = ae.particlesToShow), "particlesToScroll" in ae && e(32, N = ae.particlesToScroll), "$$scope" in ae && e(36, s = ae.$$scope);
23636
23643
  }, n.$$.update = () => {
23637
23644
  n.$$.dirty[0] & /*currentPageIndex*/
23638
23645
  32 && p("pageChange", r), n.$$.dirty[0] & /*infinite*/
@@ -23642,7 +23649,7 @@ function oE(n, t, e) {
23642
23649
  134217728 && (u.autoplayDuration = E), n.$$.dirty[0] & /*autoplayDirection*/
23643
23650
  268435456 && (u.autoplayDirection = z), n.$$.dirty[0] & /*pauseOnFocus*/
23644
23651
  536870912 && (u.pauseOnFocus = R), n.$$.dirty[1] & /*particlesToShow*/
23645
- 1 && (u.particlesToShowInit = G), n.$$.dirty[1] & /*particlesToScroll*/
23652
+ 1 && (u.particlesToShowInit = _), n.$$.dirty[1] & /*particlesToScroll*/
23646
23653
  2 && (u.particlesToScrollInit = N);
23647
23654
  }, [
23648
23655
  g,
@@ -23676,7 +23683,7 @@ function oE(n, t, e) {
23676
23683
  z,
23677
23684
  R,
23678
23685
  F,
23679
- G,
23686
+ _,
23680
23687
  N,
23681
23688
  Q,
23682
23689
  H,
@@ -24033,52 +24040,52 @@ function fE(n, t, e) {
24033
24040
  const v = ki("mediaStore"), y = ki("hooks"), P = () => {
24034
24041
  p || i && (e(10, i.muted = !0, i), i.play(), i.pause(), e(10, i.muted = !1, i), e(9, p = !0));
24035
24042
  };
24036
- y.on("loadVideoFirstFrame", P), xt(() => {
24037
- v.subscribe(({ currentMediaElement: G }) => {
24038
- G !== i && (i == null || i.pause());
24043
+ y.on("loadVideoFirstFrame", P), kt(() => {
24044
+ v.subscribe(({ currentMediaElement: _ }) => {
24045
+ _ !== i && (i == null || i.pause());
24039
24046
  });
24040
24047
  });
24041
- const I = (G) => {
24048
+ const I = (_) => {
24042
24049
  e(11, A = !1), e(0, o.paused = !1, o), e(9, p = !0), i && v.set({ currentMediaElement: i }), y.emit("playStateChange", {
24043
- event: G,
24050
+ event: _,
24044
24051
  state: "playing",
24045
24052
  tag: r,
24046
24053
  mediaInstance: i
24047
24054
  });
24048
- }, k = (G) => {
24055
+ }, k = (_) => {
24049
24056
  e(11, A = !0), e(0, o.paused = !0, o), y.emit("playStateChange", {
24050
- event: G,
24057
+ event: _,
24051
24058
  state: "paused",
24052
24059
  tag: r,
24053
24060
  mediaInstance: i
24054
24061
  });
24055
- }, E = (G) => {
24062
+ }, E = (_) => {
24056
24063
  e(11, A = !0), e(0, o.paused = !0, o), y.emit("playStateChange", {
24057
- event: G,
24064
+ event: _,
24058
24065
  state: "paused",
24059
24066
  tag: r,
24060
24067
  mediaInstance: i
24061
24068
  });
24062
- }, z = (G) => {
24069
+ }, z = (_) => {
24063
24070
  e(11, A = !0), e(0, o.paused = !0, o), y.emit("playStateChange", {
24064
- event: G,
24071
+ event: _,
24065
24072
  state: "paused",
24066
24073
  tag: r,
24067
24074
  mediaInstance: i
24068
24075
  });
24069
- }, R = (G) => {
24076
+ }, R = (_) => {
24070
24077
  i && i.pause();
24071
24078
  };
24072
- function U(G) {
24073
- We[G ? "unshift" : "push"](() => {
24074
- o.videoInstance = G, e(0, o);
24079
+ function U(_) {
24080
+ We[_ ? "unshift" : "push"](() => {
24081
+ o.videoInstance = _, e(0, o);
24075
24082
  });
24076
24083
  }
24077
- const W = () => l === "withText" ? Fl : l === "withoutText" ? ol : l, F = (G) => {
24084
+ const W = () => l === "withText" ? Fl : l === "withoutText" ? ol : l, F = (_) => {
24078
24085
  h && i && (e(10, i.muted = !1, i), i.play());
24079
24086
  };
24080
- return n.$$set = (G) => {
24081
- "mediaInstance" in G && e(0, o = G.mediaInstance), "tag" in G && e(1, r = G.tag), "media" in G && e(2, a = G.media), "playButtonIfNeed" in G && e(3, l = G.playButtonIfNeed), "playButtonSizeIfNeed" in G && e(4, c = G.playButtonSizeIfNeed), "canPlay" in G && e(5, h = G.canPlay), "autoplayVideo" in G && e(6, u = G.autoplayVideo), "objectFit" in G && e(7, f = G.objectFit), "disableVideoIfHavePoster" in G && e(8, m = G.disableVideoIfHavePoster);
24087
+ return n.$$set = (_) => {
24088
+ "mediaInstance" in _ && e(0, o = _.mediaInstance), "tag" in _ && e(1, r = _.tag), "media" in _ && e(2, a = _.media), "playButtonIfNeed" in _ && e(3, l = _.playButtonIfNeed), "playButtonSizeIfNeed" in _ && e(4, c = _.playButtonSizeIfNeed), "canPlay" in _ && e(5, h = _.canPlay), "autoplayVideo" in _ && e(6, u = _.autoplayVideo), "objectFit" in _ && e(7, f = _.objectFit), "disableVideoIfHavePoster" in _ && e(8, m = _.disableVideoIfHavePoster);
24082
24089
  }, n.$$.update = () => {
24083
24090
  if (n.$$.dirty & /*mediaInstance*/
24084
24091
  1 && e(10, i = o.videoInstance), n.$$.dirty & /*media*/
@@ -24086,7 +24093,7 @@ function fE(n, t, e) {
24086
24093
  16384 && s && g(), n.$$.dirty & /*videoInstance*/
24087
24094
  1024 && i && e(11, A = i.paused), n.$$.dirty & /*media, videoPosterLoaded, videoInstance*/
24088
24095
  1540 && (a == null ? void 0 : a.type) === "Video" && !p) {
24089
- const G = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, Q = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && G;
24096
+ const _ = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, Q = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && _;
24090
24097
  i && Q && i.paused && (document.removeEventListener("WeixinJSBridgeReady", P), document.removeEventListener("touchstart", P), document.removeEventListener("click", P), document.addEventListener("WeixinJSBridgeReady", P), document.addEventListener("touchstart", P), document.addEventListener("click", P));
24091
24098
  }
24092
24099
  }, [
@@ -24272,7 +24279,7 @@ function gE(n) {
24272
24279
  },
24273
24280
  p(a, l) {
24274
24281
  const c = l[0] & /*mediaData, autoplayVideo, mediaItemConfig, tag*/
24275
- 16515 ? Et(s, [
24282
+ 16515 ? It(s, [
24276
24283
  l[0] & /*mediaData*/
24277
24284
  2 && { media: (
24278
24285
  /*mediaData*/
@@ -24388,7 +24395,7 @@ function Ud(n) {
24388
24395
  p(a, l) {
24389
24396
  n = a;
24390
24397
  const c = l[0] & /*mediaItemConfig, mediaDataList, tag*/
24391
- 1153 ? Et(s, [
24398
+ 1153 ? It(s, [
24392
24399
  l[0] & /*mediaItemConfig*/
24393
24400
  128 && Bf(
24394
24401
  /*mediaItemConfig*/
@@ -24517,7 +24524,7 @@ function bE(n, t, e) {
24517
24524
  const H = I[k], Y = H == null ? void 0 : H.videoInstance;
24518
24525
  Y && (Y.paused ? (Y.muted = !1, Y.play()) : Y.pause());
24519
24526
  }
24520
- xt(() => {
24527
+ kt(() => {
24521
24528
  R.on("click", (H) => {
24522
24529
  var Y, Z, J;
24523
24530
  (J = (Z = (Y = a.tag3DContentSvelte) == null ? void 0 : Y.css3DInstance) == null ? void 0 : Z.css3DObject) != null && J.opacityMesh && H.tag.id === a.id && W();
@@ -24533,7 +24540,7 @@ function bE(n, t, e) {
24533
24540
  function F(H, Y) {
24534
24541
  n.$$.not_equal(I[Y], H) && (I[Y] = H, e(8, I));
24535
24542
  }
24536
- function G(H) {
24543
+ function _(H) {
24537
24544
  We[H ? "unshift" : "push"](() => {
24538
24545
  E = H, e(12, E);
24539
24546
  });
@@ -24572,7 +24579,7 @@ function bE(n, t, e) {
24572
24579
  p,
24573
24580
  g,
24574
24581
  F,
24575
- G,
24582
+ _,
24576
24583
  N,
24577
24584
  Q
24578
24585
  ];
@@ -25102,7 +25109,7 @@ function EE(n) {
25102
25109
  "transition-delay",
25103
25110
  /*unfolded*/
25104
25111
  n[4] ? Vo + Ho + "ms" : "0ms"
25105
- ), C(t, "class", p = Ze(`marketing ${/*theme*/
25112
+ ), C(t, "class", p = Ke(`marketing ${/*theme*/
25106
25113
  n[6]}`) + " svelte-sezqcq"), ee(
25107
25114
  t,
25108
25115
  "unfolded",
@@ -25143,7 +25150,7 @@ function EE(n) {
25143
25150
  /*unfolded*/
25144
25151
  E[4] ? Vo + Ho + "ms" : "0ms"
25145
25152
  ), (!g || z & /*theme*/
25146
- 64 && p !== (p = Ze(`marketing ${/*theme*/
25153
+ 64 && p !== (p = Ke(`marketing ${/*theme*/
25147
25154
  E[6]}`) + " svelte-sezqcq")) && C(t, "class", p), (!g || z & /*theme, unfolded*/
25148
25155
  80) && ee(
25149
25156
  t,
@@ -25234,7 +25241,7 @@ class xE extends Audio {
25234
25241
  return this.sharedAudioCurrentTime;
25235
25242
  }
25236
25243
  play() {
25237
- return _(this, null, function* () {
25244
+ return G(this, null, function* () {
25238
25245
  var i, s, o;
25239
25246
  if (this.tryplaying)
25240
25247
  return;
@@ -26471,7 +26478,7 @@ class e2 extends de {
26471
26478
  }
26472
26479
  }
26473
26480
  function Zm(n) {
26474
- return _(this, null, function* () {
26481
+ return G(this, null, function* () {
26475
26482
  return new Promise((t, e) => {
26476
26483
  if (!n) {
26477
26484
  e(Error("url is empty"));
@@ -26483,7 +26490,7 @@ function Zm(n) {
26483
26490
  });
26484
26491
  }
26485
26492
  function t2(n) {
26486
- return _(this, null, function* () {
26493
+ return G(this, null, function* () {
26487
26494
  const { url: t, ratio: e = 3 } = n;
26488
26495
  n.ratio || console.warn("Tag icon ratio is not set, default is 3");
26489
26496
  const { width: i, height: s } = yield Zm(t);
@@ -26494,7 +26501,7 @@ function t2(n) {
26494
26501
  });
26495
26502
  }
26496
26503
  function i2(n) {
26497
- return _(this, null, function* () {
26504
+ return G(this, null, function* () {
26498
26505
  const { steps: t, url: e, ratio: i = 3, fps: s = 24 } = n;
26499
26506
  if (!t)
26500
26507
  throw new Error("KeyframeIcon requires steps");
@@ -26602,7 +26609,7 @@ function s2(n) {
26602
26609
  };
26603
26610
  return ir(
26604
26611
  e = /*getImage*/
26605
- n[11](Ke({
26612
+ n[11](qe({
26606
26613
  url: (
26607
26614
  /*iconUrl*/
26608
26615
  n[7]
@@ -26623,7 +26630,7 @@ function s2(n) {
26623
26630
  p(s, o) {
26624
26631
  n = s, i.ctx = n, o & /*iconUrl, iconRatio*/
26625
26632
  160 && e !== (e = /*getImage*/
26626
- n[11](Ke({
26633
+ n[11](qe({
26627
26634
  url: (
26628
26635
  /*iconUrl*/
26629
26636
  n[7]
@@ -26652,7 +26659,7 @@ function o2(n) {
26652
26659
  };
26653
26660
  return ir(
26654
26661
  e = /*getKeyframe*/
26655
- n[10](Ke({
26662
+ n[10](qe({
26656
26663
  url: (
26657
26664
  /*iconUrl*/
26658
26665
  n[7]
@@ -26681,7 +26688,7 @@ function o2(n) {
26681
26688
  p(s, o) {
26682
26689
  n = s, i.ctx = n, o & /*iconUrl, iconSteps, iconFps, iconRatio*/
26683
26690
  228 && e !== (e = /*getKeyframe*/
26684
- n[10](Ke({
26691
+ n[10](qe({
26685
26692
  url: (
26686
26693
  /*iconUrl*/
26687
26694
  n[7]
@@ -26908,13 +26915,13 @@ function f2(n, t, e) {
26908
26915
  let i, s, o, r, a, l, c, h, u, { width: f = null } = t, { icon: m = null } = t, { shadow: A = !1 } = t;
26909
26916
  const p = Cr();
26910
26917
  function g(P) {
26911
- return _(this, null, function* () {
26918
+ return G(this, null, function* () {
26912
26919
  const I = yield i2(P);
26913
26920
  return p("iconLoaded", I), I;
26914
26921
  });
26915
26922
  }
26916
26923
  function v(P) {
26917
- return _(this, null, function* () {
26924
+ return G(this, null, function* () {
26918
26925
  if (typeof u == "number")
26919
26926
  return re(D({}, P), { width: u });
26920
26927
  const I = yield t2(P);
@@ -26924,7 +26931,7 @@ function f2(n, t, e) {
26924
26931
  function y() {
26925
26932
  h || p("iconLoaded");
26926
26933
  }
26927
- return xt(() => {
26934
+ return kt(() => {
26928
26935
  y();
26929
26936
  }), n.$$set = (P) => {
26930
26937
  "width" in P && e(1, f = P.width), "icon" in P && e(12, m = P.icon), "shadow" in P && e(0, A = P.shadow);
@@ -26937,7 +26944,7 @@ function f2(n, t, e) {
26937
26944
  4096 && e(5, r = m == null ? void 0 : m.ratio), n.$$.dirty & /*icon*/
26938
26945
  4096 && e(4, a = (I = m == null ? void 0 : m.scale) != null ? I : 1), n.$$.dirty & /*icon*/
26939
26946
  4096 && e(3, l = m == null ? void 0 : m.width), n.$$.dirty & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
26940
- 252 && e(9, c = Ke({
26947
+ 252 && e(9, c = qe({
26941
26948
  url: i,
26942
26949
  steps: s,
26943
26950
  fps: o,
@@ -27258,7 +27265,7 @@ function I2(n) {
27258
27265
  function E2(n, t, e) {
27259
27266
  var h, u;
27260
27267
  let i, { tag: s } = t, { rendererMap: o = /* @__PURE__ */ new Map() } = t, r, a = (u = s.element) != null ? u : (h = o.get(s.contentType)) == null ? void 0 : h.renderer, l;
27261
- xt(() => {
27268
+ kt(() => {
27262
27269
  r && (a instanceof Element ? (r.appendChild(a), l = () => {
27263
27270
  a instanceof Element && a.remove();
27264
27271
  }) : typeof a == "function" && (l = a(r, s)));
@@ -27399,7 +27406,7 @@ function D2(n) {
27399
27406
  "unfolded",
27400
27407
  /*tag*/
27401
27408
  (k = n[0].state) == null ? void 0 : k.unfolded
27402
- ), C(e, "class", "content__wrapper svelte-qz1wo5"), C(t, "class", m = Ze(wt(
27409
+ ), C(e, "class", "content__wrapper svelte-qz1wo5"), C(t, "class", m = Ke(Lt(
27403
27410
  "content__container",
27404
27411
  /*tag*/
27405
27412
  n[0].className
@@ -27456,7 +27463,7 @@ function D2(n) {
27456
27463
  /*tag*/
27457
27464
  (R = k[0].state) == null ? void 0 : R.unfolded
27458
27465
  ), (!p || E & /*tag*/
27459
- 1 && m !== (m = Ze(wt(
27466
+ 1 && m !== (m = Ke(Lt(
27460
27467
  "content__container",
27461
27468
  /*tag*/
27462
27469
  k[0].className
@@ -27517,7 +27524,7 @@ function S2(n) {
27517
27524
  let t, e, i, s, o, r, a;
27518
27525
  return e = new M2({
27519
27526
  props: {
27520
- tag: Ke(
27527
+ tag: qe(
27521
27528
  /*tag*/
27522
27529
  n[0]
27523
27530
  ),
@@ -27528,7 +27535,7 @@ function S2(n) {
27528
27535
  }
27529
27536
  }), {
27530
27537
  c() {
27531
- t = S("div"), ne(e.$$.fragment), C(t, "class", i = Ze(wt(
27538
+ t = S("div"), ne(e.$$.fragment), C(t, "class", i = Ke(Lt(
27532
27539
  "content__container",
27533
27540
  /*tag*/
27534
27541
  n[0].className
@@ -27556,13 +27563,13 @@ function S2(n) {
27556
27563
  p(l, c) {
27557
27564
  const h = {};
27558
27565
  c & /*tag*/
27559
- 1 && (h.tag = Ke(
27566
+ 1 && (h.tag = qe(
27560
27567
  /*tag*/
27561
27568
  l[0]
27562
27569
  )), c & /*rendererMap*/
27563
27570
  8 && (h.rendererMap = /*rendererMap*/
27564
27571
  l[3]), e.$set(h), (!o || c & /*tag*/
27565
- 1 && i !== (i = Ze(wt(
27572
+ 1 && i !== (i = Ke(Lt(
27566
27573
  "content__container",
27567
27574
  /*tag*/
27568
27575
  l[0].className
@@ -27596,7 +27603,7 @@ function S2(n) {
27596
27603
  function T2(n) {
27597
27604
  let t, e;
27598
27605
  return t = new w2({
27599
- props: { tag: Ke(
27606
+ props: { tag: qe(
27600
27607
  /*tag*/
27601
27608
  n[0]
27602
27609
  ) }
@@ -27610,7 +27617,7 @@ function T2(n) {
27610
27617
  p(i, s) {
27611
27618
  const o = {};
27612
27619
  s & /*tag*/
27613
- 1 && (o.tag = Ke(
27620
+ 1 && (o.tag = qe(
27614
27621
  /*tag*/
27615
27622
  i[0]
27616
27623
  )), t.$set(o);
@@ -27629,7 +27636,7 @@ function T2(n) {
27629
27636
  function L2(n) {
27630
27637
  let t, e;
27631
27638
  return t = new e2({
27632
- props: { tag: Ke(
27639
+ props: { tag: qe(
27633
27640
  /*tag*/
27634
27641
  n[0]
27635
27642
  ) }
@@ -27643,7 +27650,7 @@ function L2(n) {
27643
27650
  p(i, s) {
27644
27651
  const o = {};
27645
27652
  s & /*tag*/
27646
- 1 && (o.tag = Ke(
27653
+ 1 && (o.tag = qe(
27647
27654
  /*tag*/
27648
27655
  i[0]
27649
27656
  )), t.$set(o);
@@ -27662,7 +27669,7 @@ function L2(n) {
27662
27669
  function j2(n) {
27663
27670
  let t, e;
27664
27671
  return t = new A2({
27665
- props: { tag: Ke(
27672
+ props: { tag: qe(
27666
27673
  /*tag*/
27667
27674
  n[0]
27668
27675
  ) }
@@ -27676,7 +27683,7 @@ function j2(n) {
27676
27683
  p(i, s) {
27677
27684
  const o = {};
27678
27685
  s & /*tag*/
27679
- 1 && (o.tag = Ke(
27686
+ 1 && (o.tag = qe(
27680
27687
  /*tag*/
27681
27688
  i[0]
27682
27689
  )), t.$set(o);
@@ -27695,7 +27702,7 @@ function j2(n) {
27695
27702
  function z2(n) {
27696
27703
  let t, e;
27697
27704
  return t = new kE({
27698
- props: { tag: Ke(
27705
+ props: { tag: qe(
27699
27706
  /*tag*/
27700
27707
  n[0]
27701
27708
  ) }
@@ -27709,7 +27716,7 @@ function z2(n) {
27709
27716
  p(i, s) {
27710
27717
  const o = {};
27711
27718
  s & /*tag*/
27712
- 1 && (o.tag = Ke(
27719
+ 1 && (o.tag = qe(
27713
27720
  /*tag*/
27714
27721
  i[0]
27715
27722
  )), t.$set(o);
@@ -27728,7 +27735,7 @@ function z2(n) {
27728
27735
  function O2(n) {
27729
27736
  let t, e;
27730
27737
  return t = new JE({
27731
- props: { tag: Ke(
27738
+ props: { tag: qe(
27732
27739
  /*tag*/
27733
27740
  n[0]
27734
27741
  ) }
@@ -27742,7 +27749,7 @@ function O2(n) {
27742
27749
  p(i, s) {
27743
27750
  const o = {};
27744
27751
  s & /*tag*/
27745
- 1 && (o.tag = Ke(
27752
+ 1 && (o.tag = qe(
27746
27753
  /*tag*/
27747
27754
  i[0]
27748
27755
  )), t.$set(o);
@@ -27761,7 +27768,7 @@ function O2(n) {
27761
27768
  function B2(n) {
27762
27769
  let t, e;
27763
27770
  return t = new PE({
27764
- props: { tag: Ke(
27771
+ props: { tag: qe(
27765
27772
  /*tag*/
27766
27773
  n[0]
27767
27774
  ) }
@@ -27775,7 +27782,7 @@ function B2(n) {
27775
27782
  p(i, s) {
27776
27783
  const o = {};
27777
27784
  s & /*tag*/
27778
- 1 && (o.tag = Ke(
27785
+ 1 && (o.tag = qe(
27779
27786
  /*tag*/
27780
27787
  i[0]
27781
27788
  )), t.$set(o);
@@ -27794,7 +27801,7 @@ function B2(n) {
27794
27801
  function R2(n) {
27795
27802
  let t, e;
27796
27803
  return t = new GC({
27797
- props: { tag: Ke(
27804
+ props: { tag: qe(
27798
27805
  /*tag*/
27799
27806
  n[0]
27800
27807
  ) }
@@ -27808,7 +27815,7 @@ function R2(n) {
27808
27815
  p(i, s) {
27809
27816
  const o = {};
27810
27817
  s & /*tag*/
27811
- 1 && (o.tag = Ke(
27818
+ 1 && (o.tag = qe(
27812
27819
  /*tag*/
27813
27820
  i[0]
27814
27821
  )), t.$set(o);
@@ -27889,7 +27896,7 @@ function N2(n, t, e) {
27889
27896
  return n.$$set = (R) => {
27890
27897
  "withAnimation" in R && e(1, c = R.withAnimation), "tag" in R && e(0, h = R.tag), "hooks" in R && e(2, u = R.hooks), "rendererMap" in R && e(3, f = R.rendererMap), "contentTypeMap" in R && e(4, m = R.contentTypeMap), "state" in R && e(7, A = R.state), "mediaStore" in R && e(8, p = R.mediaStore), "temporaryState" in R && e(9, g = R.temporaryState);
27891
27898
  }, n.$$.update = () => {
27892
- var R, U, W, F, G, N, Q, H, Y, Z, J;
27899
+ var R, U, W, F, _, N, Q, H, Y, Z, J;
27893
27900
  n.$$.dirty & /*tag*/
27894
27901
  1 && e(13, i = (R = h.state) == null ? void 0 : R.unfolded), n.$$.dirty & /*tag*/
27895
27902
  1 && e(12, s = (U = h.state) == null ? void 0 : U.visible), n.$$.dirty & /*state, temporaryState, tag*/
@@ -27897,7 +27904,7 @@ function N2(n, t, e) {
27897
27904
  1 && (r = h.id), n.$$.dirty & /*tag, state, temporaryState*/
27898
27905
  641 && e(6, a = !H2(h, A, g)), n.$$.dirty & /*isVisible*/
27899
27906
  16384 && P(o), n.$$.dirty & /*tag, unfolded, lastUnfoldedState, visible, lastVisibleState*/
27900
- 15361 && h.hooks && (i !== void 0 && i !== y && (e(11, y = i), i ? (G = (F = h.hooks).emit) == null || G.call(F, "unfolded") : (Q = h == null ? void 0 : (N = h.hooks).emit) == null || Q.call(N, "folded")), s !== void 0 && s !== v && (e(10, v = s), s ? (Y = (H = h.hooks).emit) == null || Y.call(H, "show") : (J = (Z = h.hooks).emit) == null || J.call(Z, "hide"))), n.$$.dirty & /*tag*/
27907
+ 15361 && h.hooks && (i !== void 0 && i !== y && (e(11, y = i), i ? (_ = (F = h.hooks).emit) == null || _.call(F, "unfolded") : (Q = h == null ? void 0 : (N = h.hooks).emit) == null || Q.call(N, "folded")), s !== void 0 && s !== v && (e(10, v = s), s ? (Y = (H = h.hooks).emit) == null || Y.call(H, "show") : (J = (Z = h.hooks).emit) == null || J.call(Z, "hide"))), n.$$.dirty & /*tag*/
27901
27908
  1 && e(5, l = (() => !(typeof h.config.unfoldedConfig == "object" && h.config.unfoldedConfig.keep === "folded"))());
27902
27909
  }, [
27903
27910
  h,
@@ -28117,59 +28124,39 @@ class Q2 extends de {
28117
28124
  }
28118
28125
  }
28119
28126
  function W2(n) {
28120
- me(n, "svelte-g38zun", ".tag.svelte-g38zun{will-change:opacity}.tag.withAnimation.svelte-g38zun{transition:opacity 0.2s linear}.tag.enableZIndex.svelte-g38zun{position:absolute;left:0;top:0;width:100%;height:100%}.tag.hide.svelte-g38zun{opacity:0;pointer-events:none}.tag.hide.svelte-g38zun *{pointer-events:none !important}.tag.unClickable.svelte-g38zun{pointer-events:none !important}.tag.unClickable.svelte-g38zun *{pointer-events:none !important}.tag.disable.svelte-g38zun{display:none}.wrapper.svelte-g38zun{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
28127
+ me(n, "svelte-48wo0r", ".tag.svelte-48wo0r{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto;will-change:opacity}.tag.withAnimation.svelte-48wo0r{transition:opacity 0.2s linear}.tag.enableZIndex.svelte-48wo0r{position:absolute}.tag.hide.svelte-48wo0r{opacity:0;pointer-events:none}.tag.hide.svelte-48wo0r *{pointer-events:none !important}.tag.unClickable.svelte-48wo0r{pointer-events:none !important}.tag.unClickable.svelte-48wo0r *{pointer-events:none !important}.tag.disable.svelte-48wo0r{display:none}");
28121
28128
  }
28122
28129
  function yu(n) {
28123
- let t, e, i, s, o, r, a, l, c, h, u;
28124
- const f = [Y2, U2], m = [];
28125
- function A(y, P) {
28130
+ let t, e, i, s, o, r, a, l, c;
28131
+ const h = [Y2, U2], u = [];
28132
+ function f(g, v) {
28126
28133
  return (
28127
28134
  /*havePoint*/
28128
- y[16] ? 0 : 1
28135
+ g[16] ? 0 : 1
28129
28136
  );
28130
28137
  }
28131
- i = A(n), s = m[i] = f[i](n);
28132
- const p = [Z2, X2], g = [];
28133
- function v(y, P) {
28138
+ e = f(n), i = u[e] = h[e](n);
28139
+ const m = [Z2, X2], A = [];
28140
+ function p(g, v) {
28134
28141
  return (
28135
28142
  /*haveContent*/
28136
- y[15] ? 0 : 1
28143
+ g[15] ? 0 : 1
28137
28144
  );
28138
28145
  }
28139
- return r = v(n), a = g[r] = p[r](n), {
28146
+ return o = p(n), r = A[o] = m[o](n), {
28140
28147
  c() {
28141
- t = S("div"), e = S("div"), s.c(), o = $(), a.c(), C(e, "class", l = Ze(wt(
28142
- "wrapper",
28143
- /*tag*/
28144
- n[0].className ? `${/*tag*/
28145
- n[0].className}__wrapper` : void 0
28146
- )) + " svelte-g38zun"), C(
28147
- e,
28148
- "data-tag-unfolded",
28149
- /*unfolded*/
28150
- n[7]
28151
- ), C(
28152
- e,
28153
- "data-tag-id",
28154
- /*id*/
28155
- n[14]
28156
- ), C(e, "data-content-type", c = /*tag*/
28157
- n[0].contentType), T(
28158
- e,
28159
- "left",
28160
- /*left*/
28161
- n[11]
28162
- ), T(
28163
- e,
28164
- "top",
28165
- /*top*/
28166
- n[10]
28167
- ), C(t, "class", "tag svelte-g38zun"), C(
28148
+ t = S("div"), i.c(), s = $(), r.c(), C(t, "class", "tag svelte-48wo0r"), C(
28168
28149
  t,
28169
28150
  "data-tag-id",
28170
28151
  /*id*/
28171
28152
  n[14]
28172
- ), C(t, "id", h = `tag-${/*id*/
28153
+ ), C(
28154
+ t,
28155
+ "data-tag-unfolded",
28156
+ /*unfolded*/
28157
+ n[7]
28158
+ ), C(t, "data-content-type", a = /*tag*/
28159
+ n[0].contentType), C(t, "id", l = `tag-${/*id*/
28173
28160
  n[14]}`), ee(
28174
28161
  t,
28175
28162
  "unClickable",
@@ -28200,105 +28187,88 @@ function yu(n) {
28200
28187
  "z-index",
28201
28188
  /*zIndex*/
28202
28189
  n[9]
28203
- );
28190
+ ), T(t, "transform", `translate3d(${/*left*/
28191
+ n[11]}, ${/*top*/
28192
+ n[10]}, 0) scale(${/*screenPosition*/
28193
+ n[8].scale})`);
28204
28194
  },
28205
- m(y, P) {
28206
- B(y, t, P), L(t, e), m[i].m(e, null), L(e, o), g[r].m(e, null), n[18](t), u = !0;
28195
+ m(g, v) {
28196
+ B(g, t, v), u[e].m(t, null), L(t, s), A[o].m(t, null), n[18](t), c = !0;
28207
28197
  },
28208
- p(y, P) {
28209
- let I = i;
28210
- i = A(y), i === I ? m[i].p(y, P) : (ue(), O(m[I], 1, 1, () => {
28211
- m[I] = null;
28212
- }), fe(), s = m[i], s ? s.p(y, P) : (s = m[i] = f[i](y), s.c()), x(s, 1), s.m(e, o));
28213
- let k = r;
28214
- r = v(y), r === k ? g[r].p(y, P) : (ue(), O(g[k], 1, 1, () => {
28215
- g[k] = null;
28216
- }), fe(), a = g[r], a ? a.p(y, P) : (a = g[r] = p[r](y), a.c()), x(a, 1), a.m(e, null)), (!u || P & /*tag*/
28217
- 1 && l !== (l = Ze(wt(
28218
- "wrapper",
28219
- /*tag*/
28220
- y[0].className ? `${/*tag*/
28221
- y[0].className}__wrapper` : void 0
28222
- )) + " svelte-g38zun")) && C(e, "class", l), (!u || P & /*unfolded*/
28223
- 128) && C(
28224
- e,
28225
- "data-tag-unfolded",
28226
- /*unfolded*/
28227
- y[7]
28228
- ), (!u || P & /*id*/
28229
- 16384) && C(
28230
- e,
28231
- "data-tag-id",
28232
- /*id*/
28233
- y[14]
28234
- ), (!u || P & /*tag*/
28235
- 1 && c !== (c = /*tag*/
28236
- y[0].contentType)) && C(e, "data-content-type", c), P & /*left*/
28237
- 2048 && T(
28238
- e,
28239
- "left",
28240
- /*left*/
28241
- y[11]
28242
- ), P & /*top*/
28243
- 1024 && T(
28244
- e,
28245
- "top",
28246
- /*top*/
28247
- y[10]
28248
- ), (!u || P & /*id*/
28198
+ p(g, v) {
28199
+ let y = e;
28200
+ e = f(g), e === y ? u[e].p(g, v) : (ue(), O(u[y], 1, 1, () => {
28201
+ u[y] = null;
28202
+ }), fe(), i = u[e], i ? i.p(g, v) : (i = u[e] = h[e](g), i.c()), x(i, 1), i.m(t, s));
28203
+ let P = o;
28204
+ o = p(g), o === P ? A[o].p(g, v) : (ue(), O(A[P], 1, 1, () => {
28205
+ A[P] = null;
28206
+ }), fe(), r = A[o], r ? r.p(g, v) : (r = A[o] = m[o](g), r.c()), x(r, 1), r.m(t, null)), (!c || v & /*id*/
28249
28207
  16384) && C(
28250
28208
  t,
28251
28209
  "data-tag-id",
28252
28210
  /*id*/
28253
- y[14]
28254
- ), (!u || P & /*id*/
28255
- 16384 && h !== (h = `tag-${/*id*/
28256
- y[14]}`)) && C(t, "id", h), (!u || P & /*tag*/
28211
+ g[14]
28212
+ ), (!c || v & /*unfolded*/
28213
+ 128) && C(
28214
+ t,
28215
+ "data-tag-unfolded",
28216
+ /*unfolded*/
28217
+ g[7]
28218
+ ), (!c || v & /*tag*/
28219
+ 1 && a !== (a = /*tag*/
28220
+ g[0].contentType)) && C(t, "data-content-type", a), (!c || v & /*id*/
28221
+ 16384 && l !== (l = `tag-${/*id*/
28222
+ g[14]}`)) && C(t, "id", l), (!c || v & /*tag*/
28257
28223
  1) && ee(
28258
28224
  t,
28259
28225
  "unClickable",
28260
28226
  /*tag*/
28261
- y[0].config.clickable === !1
28262
- ), (!u || P & /*disable*/
28227
+ g[0].config.clickable === !1
28228
+ ), (!c || v & /*disable*/
28263
28229
  8192) && ee(
28264
28230
  t,
28265
28231
  "disable",
28266
28232
  /*disable*/
28267
- y[13]
28268
- ), (!u || P & /*hide*/
28233
+ g[13]
28234
+ ), (!c || v & /*hide*/
28269
28235
  4096) && ee(
28270
28236
  t,
28271
28237
  "hide",
28272
28238
  /*hide*/
28273
- y[12]
28274
- ), (!u || P & /*withAnimation*/
28239
+ g[12]
28240
+ ), (!c || v & /*withAnimation*/
28275
28241
  2) && ee(
28276
28242
  t,
28277
28243
  "withAnimation",
28278
28244
  /*withAnimation*/
28279
- y[1]
28280
- ), (!u || P & /*zIndex*/
28245
+ g[1]
28246
+ ), (!c || v & /*zIndex*/
28281
28247
  512) && ee(
28282
28248
  t,
28283
28249
  "enableZIndex",
28284
28250
  /*zIndex*/
28285
- y[9]
28286
- ), P & /*zIndex*/
28251
+ g[9]
28252
+ ), v & /*zIndex*/
28287
28253
  512 && T(
28288
28254
  t,
28289
28255
  "z-index",
28290
28256
  /*zIndex*/
28291
- y[9]
28292
- );
28257
+ g[9]
28258
+ ), v & /*left, top, screenPosition*/
28259
+ 3328 && T(t, "transform", `translate3d(${/*left*/
28260
+ g[11]}, ${/*top*/
28261
+ g[10]}, 0) scale(${/*screenPosition*/
28262
+ g[8].scale})`);
28293
28263
  },
28294
- i(y) {
28295
- u || (x(s), x(a), u = !0);
28264
+ i(g) {
28265
+ c || (x(i), x(r), c = !0);
28296
28266
  },
28297
- o(y) {
28298
- O(s), O(a), u = !1;
28267
+ o(g) {
28268
+ O(i), O(r), c = !1;
28299
28269
  },
28300
- d(y) {
28301
- y && j(t), m[i].d(), g[r].d(), n[18](null);
28270
+ d(g) {
28271
+ g && j(t), u[e].d(), A[o].d(), n[18](null);
28302
28272
  }
28303
28273
  };
28304
28274
  }
@@ -28377,7 +28347,7 @@ function Z2(n) {
28377
28347
  /*withAnimation*/
28378
28348
  n[1]
28379
28349
  ),
28380
- tag: Ke(
28350
+ tag: qe(
28381
28351
  /*tag*/
28382
28352
  n[0]
28383
28353
  ),
@@ -28416,7 +28386,7 @@ function Z2(n) {
28416
28386
  i[2]), s & /*withAnimation*/
28417
28387
  2 && (o.withAnimation = /*withAnimation*/
28418
28388
  i[1]), s & /*tag*/
28419
- 1 && (o.tag = Ke(
28389
+ 1 && (o.tag = qe(
28420
28390
  /*tag*/
28421
28391
  i[0]
28422
28392
  )), s & /*state*/
@@ -28481,22 +28451,21 @@ function q2(n, t, e) {
28481
28451
  return n.$$set = (E) => {
28482
28452
  "withAnimation" in E && e(1, m = E.withAnimation), "tag" in E && e(0, A = E.tag), "mediaStore" in E && e(2, p = E.mediaStore), "rendererMap" in E && e(3, g = E.rendererMap), "contentTypeMap" in E && e(4, v = E.contentTypeMap), "state" in E && e(5, y = E.state), "temporaryState" in E && e(6, P = E.temporaryState);
28483
28453
  }, n.$$.update = () => {
28484
- var E, z, R, U;
28454
+ var E, z, R;
28485
28455
  n.$$.dirty & /*tag, rendererMap*/
28486
28456
  9 && e(16, i = (() => {
28487
- var W, F, G;
28488
- return !(((F = (W = A.style) == null ? void 0 : W.point) == null ? void 0 : F.enabled) === !1 || ((G = g.get(A.contentType)) == null ? void 0 : G.usePoint) === !1 || A.contentType === "Sticker" || A.contentType === "Link" || A.contentType === "VRLink" || A.contentType === "PanoLink" || A.contentType === "Panorama" || A.contentType === "Audio" && A.data.appearance === "plane");
28457
+ var U, W, F;
28458
+ return !(((W = (U = A.style) == null ? void 0 : U.point) == null ? void 0 : W.enabled) === !1 || ((F = g.get(A.contentType)) == null ? void 0 : F.usePoint) === !1 || A.contentType === "Sticker" || A.contentType === "Link" || A.contentType === "VRLink" || A.contentType === "PanoLink" || A.contentType === "Panorama" || A.contentType === "Audio" && A.data.appearance === "plane");
28489
28459
  })()), n.$$.dirty & /*tag*/
28490
28460
  1 && e(15, s = (() => A.stickType === "2DPoint")()), n.$$.dirty & /*tag*/
28491
28461
  1 && e(14, o = A.id), n.$$.dirty & /*tag*/
28492
- 1 && e(13, r = A.enabled === !1 || !A.state), n.$$.dirty & /*tag*/
28493
- 1 && e(12, a = !((E = A.state) != null && E.visible) || ((z = A.temporaryState) == null ? void 0 : z.visible) === !1 || !A.screenPosition), n.$$.dirty & /*tag*/
28494
- 1 && e(7, l = (R = A.state) == null ? void 0 : R.unfolded), n.$$.dirty & /*tag*/
28495
- 1 && e(8, c = A.screenPosition), n.$$.dirty & /*screenPosition*/
28496
- 256 && e(11, h = (c == null ? void 0 : c.leftPercent) + "%"), n.$$.dirty & /*screenPosition*/
28497
- 256 && e(10, u = (c == null ? void 0 : c.topPercent) + "%"), n.$$.dirty & /*unfolded, tag*/
28498
- 129 && e(9, f = l ? ((U = A.zIndex) != null ? U : 0) + (l ? 1e6 : 0) : void 0);
28499
- }, [
28462
+ 1 && e(8, r = A.screenPosition), n.$$.dirty & /*tag*/
28463
+ 1 && e(13, a = A.enabled === !1 || !A.state), n.$$.dirty & /*tag, screenPosition*/
28464
+ 257 && e(12, l = !((E = A.state) != null && E.visible) || ((z = A.temporaryState) == null ? void 0 : z.visible) === !1 || !r), n.$$.dirty & /*screenPosition*/
28465
+ 256 && e(11, h = (r == null ? void 0 : r.leftPx) + "px"), n.$$.dirty & /*screenPosition*/
28466
+ 256 && e(10, u = (r == null ? void 0 : r.topPx) + "px"), n.$$.dirty & /*unfolded, tag*/
28467
+ 129 && e(9, f = c ? ((R = A.zIndex) != null ? R : 0) + (c ? 1e6 : 0) : void 0);
28468
+ }, e(7, c = !0), [
28500
28469
  A,
28501
28470
  m,
28502
28471
  p,
@@ -28504,13 +28473,13 @@ function q2(n, t, e) {
28504
28473
  v,
28505
28474
  y,
28506
28475
  P,
28507
- l,
28508
28476
  c,
28477
+ r,
28509
28478
  f,
28510
28479
  u,
28511
28480
  h,
28481
+ l,
28512
28482
  a,
28513
- r,
28514
28483
  o,
28515
28484
  s,
28516
28485
  i,
@@ -28859,6 +28828,35 @@ class aM extends iC {
28859
28828
  }
28860
28829
  }), this.clearUnusedPanelTag();
28861
28830
  });
28831
+ /**
28832
+ * @description 一个点的标签
28833
+ */
28834
+ d(this, "setPointTagPosition", (e) => {
28835
+ const i = e ? jt(e) : this.filterPointTag;
28836
+ i.length !== 0 && i.forEach((s) => {
28837
+ var l;
28838
+ const o = this.getCurrentVisibleState(s), r = (l = s.__Object__) != null ? l : {
28839
+ timeoutId: void 0,
28840
+ inAnimation: !1
28841
+ };
28842
+ if (s.__Object__ = r, !o && s.screenPosition ? (r.inAnimation = !0, r.timeoutId = setTimeout(() => {
28843
+ requestAnimationFrame(() => {
28844
+ this.getCurrentVisibleState(s) || (r.inAnimation = !1, s.screenPosition = null, this.updateDomView());
28845
+ });
28846
+ }, 1e3)) : r.timeoutId && (clearTimeout(r.timeoutId), r.inAnimation = !1, r.timeoutId = void 0), !o && !r.inAnimation)
28847
+ return;
28848
+ const a = this.getTagProject(s);
28849
+ if (a) {
28850
+ const c = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI), h = this.getDistance(s);
28851
+ s.screenPosition = {
28852
+ leftPx: (a.x + 1) / 2 * this.renderWidthPx,
28853
+ topPx: (-a.y + 1) / 2 * this.renderHeightPx,
28854
+ scale: Math.max(Math.min(1 - c * h / 40, 1), 0.5)
28855
+ };
28856
+ } else
28857
+ s.screenPosition = null;
28858
+ });
28859
+ });
28862
28860
  /**
28863
28861
  * @description 渲染单个点的标签
28864
28862
  */
@@ -28867,7 +28865,7 @@ class aM extends iC {
28867
28865
  this.setTagZIndex(i), this.setPointTagPosition(), Rw("updateDomView", this.updateDomView)();
28868
28866
  });
28869
28867
  /** 加载外部模型 */
28870
- d(this, "loadModel", (e) => _(this, null, function* () {
28868
+ d(this, "loadModel", (e) => G(this, null, function* () {
28871
28869
  var a;
28872
28870
  const i = e.data.modelUrl;
28873
28871
  if (!i)
@@ -29064,32 +29062,11 @@ class aM extends iC {
29064
29062
  }
29065
29063
  /** 添加模型标签 */
29066
29064
  addMediaModelTag(e) {
29067
- return _(this, null, function* () {
29065
+ return G(this, null, function* () {
29068
29066
  const i = e.filter(zw).map((s) => this.loadModel(s));
29069
29067
  yield Promise.all(i), this.setVisible(), this.updateRenderAllTags();
29070
29068
  });
29071
29069
  }
29072
- /**
29073
- * @description 一个点的标签
29074
- */
29075
- setPointTagPosition(e) {
29076
- const i = e ? jt(e) : this.filterPointTag;
29077
- i.length !== 0 && i.forEach((s) => {
29078
- var l;
29079
- const o = this.getCurrentVisibleState(s), r = (l = s.__Object__) != null ? l : {
29080
- timeoutId: void 0,
29081
- inAnimation: !1
29082
- };
29083
- if (s.__Object__ = r, !o && s.screenPosition ? (r.inAnimation = !0, r.timeoutId = setTimeout(() => {
29084
- requestAnimationFrame(() => {
29085
- this.getCurrentVisibleState(s) || (r.inAnimation = !1, s.screenPosition = null, this.updateDomView());
29086
- });
29087
- }, 1e3)) : r.timeoutId && (clearTimeout(r.timeoutId), r.inAnimation = !1, r.timeoutId = void 0), !o && !r.inAnimation)
29088
- return;
29089
- const a = this.getTagProject(s);
29090
- a ? s.screenPosition = { leftPercent: (a.x + 1) / 2 * 100, topPercent: (-a.y + 1) / 2 * 100 } : s.screenPosition = null;
29091
- });
29092
- }
29093
29070
  updateTagContainerVisible() {
29094
29071
  var e;
29095
29072
  (e = this.TagContainerSvelte) == null || e.$set({
@@ -29149,7 +29126,7 @@ function Km(n) {
29149
29126
  }, n);
29150
29127
  });
29151
29128
  }
29152
- const $m = "Dnalogel-PanoTagPlugin", Fx = (n) => `${$m}--${n}`;
29129
+ const $m = "Dnalogel-PanoTagPlugin", F3 = (n) => `${$m}--${n}`;
29153
29130
  class cl extends aM {
29154
29131
  constructor(e, i) {
29155
29132
  super(e);
@@ -29159,7 +29136,7 @@ class cl extends aM {
29159
29136
  d(this, "debug");
29160
29137
  d(this, "debugUtil", new lM(this));
29161
29138
  /** 更改 tag 模型 */
29162
- d(this, "changeTagModel", (e, i) => _(this, null, function* () {
29139
+ d(this, "changeTagModel", (e, i) => G(this, null, function* () {
29163
29140
  e.data = _e({}, e.data, i), yield this.loadModel(e), this.updateTag(e);
29164
29141
  }));
29165
29142
  d(this, "whyHide", (e) => {
@@ -29223,7 +29200,12 @@ class cl extends aM {
29223
29200
  d(this, "handleFiveCameraUpdate", () => {
29224
29201
  this.setPointTagPosition(), this.updateDomView();
29225
29202
  });
29226
- d(this, "handleFivePanoArrived", () => _(this, null, function* () {
29203
+ d(this, "handleFiveCameraFovUpdate", () => {
29204
+ this.handleFiveCameraUpdate(), requestAnimationFrame(() => {
29205
+ this.updateRenderAllTags();
29206
+ });
29207
+ });
29208
+ d(this, "handleFivePanoArrived", () => G(this, null, function* () {
29227
29209
  this.setVisible(), this.setPointTagPosition(), this.updateDomView(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
29228
29210
  e.temporaryState = re(D({}, e.temporaryState), { visible: !0 });
29229
29211
  }), this.tags.filter(jw).filter((e) => {
@@ -29270,7 +29252,7 @@ class cl extends aM {
29270
29252
  * @description 加载数据
29271
29253
  */
29272
29254
  load(e, i) {
29273
- return _(this, null, function* () {
29255
+ return G(this, null, function* () {
29274
29256
  var o, r;
29275
29257
  this.clearTags(), console.debug($m, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = _e({}, this.config, {
29276
29258
  globalConfig: (o = e.globalConfig) != null ? o : {},
@@ -29290,7 +29272,7 @@ class cl extends aM {
29290
29272
  * @description 添加标签
29291
29273
  */
29292
29274
  addTag(e, i) {
29293
- return _(this, null, function* () {
29275
+ return G(this, null, function* () {
29294
29276
  const o = (Array.isArray(e) ? e : [e]).filter((r) => r.position).map((r) => {
29295
29277
  var f, m, A, p;
29296
29278
  r.stickType = km(r);
@@ -29327,9 +29309,9 @@ class cl extends aM {
29327
29309
  });
29328
29310
  return u;
29329
29311
  });
29330
- return o.forEach(Hw), this.tags.push(...o), this.tagsLengthWillUpdate = !0, es(this.five).then(() => _(this, null, function* () {
29331
- var r, a, l;
29332
- this.store.eventListenerDisposer && ((a = (r = this.store).eventListenerDisposer) == null || a.call(r)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(o), this.setVisibleAndUnfolded({ withAnimation: (l = i == null ? void 0 : i.withAnimation) != null ? l : !0 }), this.updateRenderAllTags();
29312
+ return o.forEach(Hw), this.tags.push(...o), this.tagsLengthWillUpdate = !0, es(this.five).then(() => G(this, null, function* () {
29313
+ var r, a, l, c, h;
29314
+ this.store.eventListenerDisposer && ((a = (r = this.store).eventListenerDisposer) == null || a.call(r)), this.state.enabled && this.handleEnable(), this.renderHeightPx || (this.renderHeightPx = (l = this.five.getElement()) == null ? void 0 : l.clientHeight, this.renderWidthPx = (c = this.five.getElement()) == null ? void 0 : c.clientWidth), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(o), this.setVisibleAndUnfolded({ withAnimation: (h = i == null ? void 0 : i.withAnimation) != null ? h : !0 }), this.updateRenderAllTags();
29333
29315
  }));
29334
29316
  });
29335
29317
  }
@@ -29352,7 +29334,7 @@ class cl extends aM {
29352
29334
  this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), s ? this.config.contentTypeConfig[e] = _e({}, this.config.contentTypeConfig[e], i) : this.config.contentTypeConfig[e] = i, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
29353
29335
  }
29354
29336
  show(e) {
29355
- return _(this, null, function* () {
29337
+ return G(this, null, function* () {
29356
29338
  if (this.checkDisposed())
29357
29339
  return;
29358
29340
  const { userAction: i = !0, withAnimation: s = !1 } = e != null ? e : {};
@@ -29360,7 +29342,7 @@ class cl extends aM {
29360
29342
  });
29361
29343
  }
29362
29344
  hide(e) {
29363
- return _(this, null, function* () {
29345
+ return G(this, null, function* () {
29364
29346
  if (this.checkDisposed())
29365
29347
  return;
29366
29348
  const { userAction: i = !0, withAnimation: s = !1 } = e != null ? e : {};
@@ -29401,7 +29383,7 @@ class cl extends aM {
29401
29383
  * @param {Partial<anime.AnimeParams>} animeConfig
29402
29384
  */
29403
29385
  blinkTagById(e, i) {
29404
- return _(this, null, function* () {
29386
+ return G(this, null, function* () {
29405
29387
  var h, u;
29406
29388
  const s = this.getTagById(e);
29407
29389
  if (!s)
@@ -29508,7 +29490,7 @@ class cl extends aM {
29508
29490
  * @description 设置 visible 和 unfolded
29509
29491
  */
29510
29492
  setVisibleAndUnfolded() {
29511
- return _(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
29493
+ return G(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
29512
29494
  return this.store.visibleWithAnimation = e, this.setVisible(), e ? new Promise((i) => {
29513
29495
  setTimeout(() => {
29514
29496
  this.setUnfoldedByPanoIndex(), i();
@@ -29546,8 +29528,8 @@ class cl extends aM {
29546
29528
  this.onFiveEveryReady(), s = !1;
29547
29529
  }));
29548
29530
  }, 150);
29549
- return e.on("cameraUpdate", o), this.updateVisible(), this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("models.refined", this.onFiveEveryReady), e.on("modeChange", this.handleFiveModeChange), e.on("initAnimationEnded", this.updateVisible), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", this.handleFiveCameraUpdate), e.on("panoArrived", this.handleFivePanoArrived), e.on("panoArrived", this.loadVideoFirstFrame), i.on("click", this.clickhandler), () => {
29550
- e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("models.refined", this.onFiveEveryReady), e.off("modeChange", this.handleFiveModeChange), e.off("initAnimationEnded", this.updateVisible), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", this.handleFiveCameraUpdate), e.off("cameraUpdate", o), e.off("panoArrived", this.handleFivePanoArrived), e.off("panoArrived", this.loadVideoFirstFrame), i.off("click", this.clickhandler), this.store.eventListenerDisposer = void 0;
29531
+ return e.on("cameraUpdate", o), this.updateVisible(), this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("models.refined", this.onFiveEveryReady), e.on("modeChange", this.handleFiveModeChange), e.on("initAnimationEnded", this.updateVisible), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", this.handleFiveCameraUpdate), e.on("cameraFovUpdate", this.handleFiveCameraFovUpdate), e.on("panoArrived", this.handleFivePanoArrived), e.on("panoArrived", this.loadVideoFirstFrame), i.on("click", this.clickhandler), () => {
29532
+ e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("models.refined", this.onFiveEveryReady), e.off("modeChange", this.handleFiveModeChange), e.off("initAnimationEnded", this.updateVisible), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", this.handleFiveCameraUpdate), e.off("cameraFovUpdate", this.handleFiveCameraFovUpdate), e.off("cameraUpdate", o), e.off("panoArrived", this.handleFivePanoArrived), e.off("panoArrived", this.loadVideoFirstFrame), i.off("click", this.clickhandler), this.store.eventListenerDisposer = void 0;
29551
29533
  };
29552
29534
  }
29553
29535
  addResizeListener() {
@@ -29559,10 +29541,11 @@ class cl extends aM {
29559
29541
  }
29560
29542
  }
29561
29543
  addResizeObserver() {
29562
- if (!this.store.disposed)
29544
+ if (this.store.disposed)
29563
29545
  return;
29564
29546
  const e = this.five.getElement(), i = () => {
29565
- this.state.enabled && (this.show(), this.updateRenderAllTags());
29547
+ var c, h;
29548
+ this.state.enabled && (this.renderWidthPx = (c = this.five.getElement()) == null ? void 0 : c.clientWidth, this.renderHeightPx = (h = this.five.getElement()) == null ? void 0 : h.clientHeight, this.show(), this.updateRenderPointTag());
29566
29549
  }, s = () => {
29567
29550
  this.state.enabled && this.hide();
29568
29551
  }, { observe: o, unobserve: r } = al(
@@ -29599,7 +29582,7 @@ class cl extends aM {
29599
29582
  ((s = e.config) == null ? void 0 : s.renderType) !== "Mesh" && ((a = (r = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : r.css3DObject) == null ? void 0 : a.mode) !== i && ((l = e.config) != null && l.tag3DConfig ? e.config.tag3DConfig.mode = i : e.config ? e.config.tag3DConfig = { mode: i } : e.config = { tag3DConfig: { mode: i } }, (c = this.store.css3DRenderDisposer.get(e.id)) == null || c.forEach((h) => h == null ? void 0 : h()), e.tag3DContentSvelte = void 0);
29600
29583
  }
29601
29584
  }
29602
- const Gx = (n, t) => new cl(n, t);
29585
+ const G3 = (n, t) => new cl(n, t);
29603
29586
  function cM(n) {
29604
29587
  me(n, "svelte-4qjwer", ".guide-line__tag.svelte-4qjwer.svelte-4qjwer{position:relative}.text-with-distance.svelte-4qjwer.svelte-4qjwer{display:flex;flex-direction:column;position:relative;padding:0.125rem 0.25rem;border-radius:0.125rem;background:linear-gradient(to top, rgba(147, 147, 147, 0.3), rgba(74, 74, 74, 0.3));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.2)}.text-with-distance.svelte-4qjwer .border.svelte-4qjwer{position:absolute;top:-50%;right:-50%;bottom:-50%;left:-50%;padding:0.0625rem;border-radius:0.25rem;background:linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2));-webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;transform:scale(0.5)}.distance-and-name.svelte-4qjwer.svelte-4qjwer{display:flex;gap:0.1875rem}.distance.svelte-4qjwer.svelte-4qjwer{white-space:nowrap;font-size:0.625rem;line-height:0.875rem;color:#66afff}.name.svelte-4qjwer.svelte-4qjwer{opacity:0.6;font-size:0.625rem;line-height:0.875rem;white-space:nowrap;color:#ffffff}.line-name.svelte-4qjwer.svelte-4qjwer{color:#fff;white-space:nowrap;font-size:0.625rem;line-height:0.875rem}.guide-line__tag-point.svelte-4qjwer.svelte-4qjwer{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-4qjwer.svelte-4qjwer{position:absolute;left:50%;bottom:0.0625rem;width:0.0625rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-4qjwer.svelte-4qjwer{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex}.guide-line__tag-icon.svelte-4qjwer.svelte-4qjwer{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-4qjwer.svelte-4qjwer{box-sizing:content-box;height:0.875rem;width:-moz-max-content;width:max-content;margin-top:0.3125rem;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-slice:6 25 6 18 fill;color:#fff}");
29605
29588
  }
@@ -30311,7 +30294,7 @@ class hl {
30311
30294
  function pM(n) {
30312
30295
  return n.contentType === "Custom";
30313
30296
  }
30314
- const _x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
30297
+ const _3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
30315
30298
  __proto__: null,
30316
30299
  GuideLineModeItem: hl
30317
30300
  }, Symbol.toStringTag, { value: "Module" })), eg = "CruisePlugin", Ta = `${eg}`;
@@ -30361,7 +30344,7 @@ class tg extends Bi {
30361
30344
  * @description Show guide line
30362
30345
  */
30363
30346
  show(e) {
30364
- return _(this, null, function* () {
30347
+ return G(this, null, function* () {
30365
30348
  this.setState({ visible: !0 }, e);
30366
30349
  });
30367
30350
  }
@@ -30369,7 +30352,7 @@ class tg extends Bi {
30369
30352
  * @description Hide guide line
30370
30353
  */
30371
30354
  hide(e) {
30372
- return _(this, null, function* () {
30355
+ return G(this, null, function* () {
30373
30356
  this.setState({ visible: !1 }, e);
30374
30357
  });
30375
30358
  }
@@ -30401,7 +30384,7 @@ class tg extends Bi {
30401
30384
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
30402
30385
  return this.disableErrorLog();
30403
30386
  const s = D({}, this.state);
30404
- this.state = _e({}, this.state, e), e.disposed !== void 0 && e.disposed !== s.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), e.playing !== void 0 && e.playing !== s.playing && this.changePlayState(e.playing, i), e.speed !== void 0 && e.speed !== s.speed && this.changeSpeed(e.speed), Ct(s, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (o = i == null ? void 0 : i.userAction) != null ? o : !0 });
30387
+ this.state = _e({}, this.state, e), e.disposed !== void 0 && e.disposed !== s.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), e.playing !== void 0 && e.playing !== s.playing && this.changePlayState(e.playing, i), e.speed !== void 0 && e.speed !== s.speed && this.changeSpeed(e.speed), wt(s, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (o = i == null ? void 0 : i.userAction) != null ? o : !0 });
30405
30388
  }
30406
30389
  /**
30407
30390
  * @description Clear pause data
@@ -30580,7 +30563,7 @@ let ng = class extends tg {
30580
30563
  return i ? this.setState(i) : (this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed)), Promise.resolve();
30581
30564
  }
30582
30565
  handlePlay() {
30583
- return new Promise((e, i) => _(this, null, function* () {
30566
+ return new Promise((e, i) => G(this, null, function* () {
30584
30567
  var l;
30585
30568
  this.hooks.emit("play", { userAction: !0 });
30586
30569
  const s = this.getPauseData();
@@ -30626,7 +30609,7 @@ function vM(n, t) {
30626
30609
  const e = ku(n), i = ku(t);
30627
30610
  return e.angleTo(i);
30628
30611
  }
30629
- const bM = (n) => _(void 0, null, function* () {
30612
+ const bM = (n) => G(void 0, null, function* () {
30630
30613
  try {
30631
30614
  n().then(() => {
30632
30615
  }, () => {
@@ -30636,7 +30619,7 @@ const bM = (n) => _(void 0, null, function* () {
30636
30619
  }
30637
30620
  });
30638
30621
  function yM(n) {
30639
- return _(this, null, function* () {
30622
+ return G(this, null, function* () {
30640
30623
  return new Promise((t) => {
30641
30624
  if (n.work) {
30642
30625
  t();
@@ -30677,7 +30660,7 @@ class Kl extends tg {
30677
30660
  * @description Load Data and State
30678
30661
  */
30679
30662
  load(e, i, s) {
30680
- return _(this, null, function* () {
30663
+ return G(this, null, function* () {
30681
30664
  var h, u;
30682
30665
  this.clear();
30683
30666
  const o = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
@@ -30721,7 +30704,7 @@ class Kl extends tg {
30721
30704
  * @description Format data
30722
30705
  */
30723
30706
  formatData(e) {
30724
- return _(this, null, function* () {
30707
+ return G(this, null, function* () {
30725
30708
  this.five.work || (yield yM(this.five));
30726
30709
  const i = (() => {
30727
30710
  const s = e;
@@ -30773,7 +30756,7 @@ class Kl extends tg {
30773
30756
  */
30774
30757
  // eslint-disable-next-line complexity
30775
30758
  handlePlay(e) {
30776
- return _(this, null, function* () {
30759
+ return G(this, null, function* () {
30777
30760
  var m;
30778
30761
  const { data: i, state: s, privateState: o, hooks: r } = this;
30779
30762
  if (o.playing || !(i != null && i.keyframes) || (i == null ? void 0 : i.keyframes.length) === 0)
@@ -30783,7 +30766,7 @@ class Kl extends tg {
30783
30766
  const l = i.keyframes, c = this.getPauseData();
30784
30767
  (e == null ? void 0 : e.notEmitEvent) !== !0 && r.emit("play", { userAction: (m = e == null ? void 0 : e.userAction) != null ? m : !0 });
30785
30768
  let h = !1;
30786
- const f = yield (() => _(this, null, function* () {
30769
+ const f = yield (() => G(this, null, function* () {
30787
30770
  var A, p;
30788
30771
  if ((e == null ? void 0 : e.playFromIndex) !== void 0)
30789
30772
  return e.playFromIndex;
@@ -30870,7 +30853,7 @@ class Kl extends tg {
30870
30853
  * @description Play single keyframe
30871
30854
  */
30872
30855
  playKeyframe(e, i) {
30873
- return _(this, null, function* () {
30856
+ return G(this, null, function* () {
30874
30857
  var o;
30875
30858
  const { privateState: s } = this;
30876
30859
  return ((o = this.privateState.currentPlayKeyframe) == null ? void 0 : o.keyframe.id) !== e.id && (this.privateState.currentPlayKeyframe = { keyframe: e }), s.currentPlayQueue.push(this.getPlayPromise(e, i)), this.actionPromiseQueue();
@@ -30880,7 +30863,7 @@ class Kl extends tg {
30880
30863
  * @description: getPlayPromise
30881
30864
  */
30882
30865
  getPlayPromise(s) {
30883
- return _(this, arguments, function* (e, i = {}) {
30866
+ return G(this, arguments, function* (e, i = {}) {
30884
30867
  var r;
30885
30868
  const o = e.data;
30886
30869
  if (i.duration = (r = i.duration) != null ? r : e.start !== void 0 && e.end !== void 0 ? e.end - e.start : void 0, !!o)
@@ -30915,7 +30898,7 @@ class Kl extends tg {
30915
30898
  * @description Action promise queue in sequence
30916
30899
  */
30917
30900
  actionPromiseQueue() {
30918
- return _(this, null, function* () {
30901
+ return G(this, null, function* () {
30919
30902
  const { privateState: e } = this;
30920
30903
  return new Promise((i, s) => {
30921
30904
  if (e.currentPlayQueue.length === 0) {
@@ -30935,7 +30918,7 @@ class Kl extends tg {
30935
30918
  * @description Action move keyframe
30936
30919
  */
30937
30920
  move(e, i) {
30938
- return _(this, null, function* () {
30921
+ return G(this, null, function* () {
30939
30922
  if (e.mode && e.mode !== this.five.currentMode)
30940
30923
  yield this.changeMode(e);
30941
30924
  else if (e.panoIndex !== this.five.panoIndex)
@@ -30948,7 +30931,7 @@ class Kl extends tg {
30948
30931
  * @description Action rotate keyframe
30949
30932
  */
30950
30933
  rotate(e, i) {
30951
- return _(this, null, function* () {
30934
+ return G(this, null, function* () {
30952
30935
  if (e.mode && e.mode !== this.five.currentMode)
30953
30936
  yield this.changeMode({ mode: e.mode, panoIndex: e.panoIndex });
30954
30937
  else if (e.panoIndex && e.panoIndex !== this.five.panoIndex)
@@ -30960,7 +30943,7 @@ class Kl extends tg {
30960
30943
  * @description Update five camera
30961
30944
  */
30962
30945
  updateCamera(s) {
30963
- return _(this, arguments, function* (e, i = {}) {
30946
+ return G(this, arguments, function* (e, i = {}) {
30964
30947
  const { five: o, privateState: r, state: a } = this, l = (() => {
30965
30948
  var m, A;
30966
30949
  const u = (m = a.config) == null ? void 0 : m.speedConfig, f = (A = e.rotateSpeed) != null ? A : u == null ? void 0 : u.rotateSpeed;
@@ -30988,7 +30971,7 @@ class Kl extends tg {
30988
30971
  * @description: Change five pano
30989
30972
  */
30990
30973
  changePano(e, i) {
30991
- return _(this, null, function* () {
30974
+ return G(this, null, function* () {
30992
30975
  const { five: s, privateState: o, state: r } = this;
30993
30976
  if (typeof e.panoIndex != "number" || e.panoIndex === s.panoIndex)
30994
30977
  return;
@@ -31028,7 +31011,7 @@ class Kl extends tg {
31028
31011
  * @description Change five mode
31029
31012
  */
31030
31013
  changeMode(e, i) {
31031
- return _(this, null, function* () {
31014
+ return G(this, null, function* () {
31032
31015
  e.mode && e.mode !== this.five.currentMode && (this.privateState.modeChanging = !0, yield this.five.changeMode(e.mode, e, i), this.privateState.modeChanging = !1);
31033
31016
  });
31034
31017
  }
@@ -31040,7 +31023,7 @@ class sg {
31040
31023
  d(this, "isGuideLine", !0);
31041
31024
  d(this, "panoramaItem");
31042
31025
  d(this, "modelItem");
31043
- d(this, "hooks", new It());
31026
+ d(this, "hooks", new Pt());
31044
31027
  d(this, "_visible", !0);
31045
31028
  d(this, "plugin");
31046
31029
  d(this, "five");
@@ -31073,7 +31056,7 @@ class sg {
31073
31056
  this.panoramaItem.dispose(), this.modelItem.dispose();
31074
31057
  }
31075
31058
  walk(t) {
31076
- return _(this, null, function* () {
31059
+ return G(this, null, function* () {
31077
31060
  if (this.hooks.emit("walkStart", { userAction: !0 }), this.panoramaItem.panoGroup.length) {
31078
31061
  const e = D({ panoIndexList: this.panoramaItem.panoGroup }, t), [i] = yield en(CM(this.five, e));
31079
31062
  if (i)
@@ -31088,13 +31071,13 @@ class sg {
31088
31071
  }
31089
31072
  }
31090
31073
  function wM(n, t) {
31091
- return _(this, null, function* () {
31074
+ return G(this, null, function* () {
31092
31075
  const e = new ng(n);
31093
31076
  yield e.load(t), e.playFromStart();
31094
31077
  });
31095
31078
  }
31096
31079
  function CM(n, t) {
31097
- return _(this, null, function* () {
31080
+ return G(this, null, function* () {
31098
31081
  if (t.panoIndexList.length === 0)
31099
31082
  return;
31100
31083
  const e = n.getCurrentState();
@@ -31128,7 +31111,7 @@ function CM(n, t) {
31128
31111
  });
31129
31112
  });
31130
31113
  }
31131
- const Wx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31114
+ const W3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31132
31115
  __proto__: null,
31133
31116
  GuideLineItem: sg
31134
31117
  }, Symbol.toStringTag, { value: "Module" })), dl = "GuideLinePlugin", xu = `${dl}`;
@@ -31160,7 +31143,7 @@ let PM = class extends vi {
31160
31143
  return this._disposed;
31161
31144
  }
31162
31145
  load(e, i, s = !0) {
31163
- return _(this, null, function* () {
31146
+ return G(this, null, function* () {
31164
31147
  var m, A, p, g, v, y, P, I;
31165
31148
  const o = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
31166
31149
  this.hooks.emit("dataChange", r, o), this.data = r;
@@ -31183,19 +31166,19 @@ let PM = class extends vi {
31183
31166
  });
31184
31167
  }
31185
31168
  formatData(e) {
31186
- return _(this, null, function* () {
31169
+ return G(this, null, function* () {
31187
31170
  return this.getDataWithoutVersion(e);
31188
31171
  });
31189
31172
  }
31190
31173
  /** 展示插件 */
31191
31174
  show(e) {
31192
- return _(this, null, function* () {
31175
+ return G(this, null, function* () {
31193
31176
  this.setState({ visible: !0 }, e);
31194
31177
  });
31195
31178
  }
31196
31179
  /** 隐藏插件 */
31197
31180
  hide(e) {
31198
- return _(this, null, function* () {
31181
+ return G(this, null, function* () {
31199
31182
  this.setState({ visible: !1 }, e);
31200
31183
  });
31201
31184
  }
@@ -31216,7 +31199,7 @@ let PM = class extends vi {
31216
31199
  if (this.disposed)
31217
31200
  return this.disposedErrorLog();
31218
31201
  const s = D({}, this.state);
31219
- this.state = D(D({}, this.state), e), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), Ct(s, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (o = i == null ? void 0 : i.userAction) != null ? o : !0 }), this.five.needsRender = !0);
31202
+ this.state = D(D({}, this.state), e), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), wt(s, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (o = i == null ? void 0 : i.userAction) != null ? o : !0 }), this.five.needsRender = !0);
31220
31203
  }
31221
31204
  /** 添加一个 GuideLineItem */
31222
31205
  addGuideLineItem(e) {
@@ -31273,9 +31256,9 @@ let PM = class extends vi {
31273
31256
  return typeof e == "object" && e !== null && e.data ? e.data : e;
31274
31257
  }
31275
31258
  };
31276
- const og = (n, t) => new PM(n, t), IM = og, Yx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31259
+ const og = (n, t) => new PM(n, t), IM = og, Y3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31277
31260
  __proto__: null
31278
- }, Symbol.toStringTag, { value: "Module" })), Xx = (n, t) => new Kl(n, t), Zx = (n, t) => new ng(n, t);
31261
+ }, Symbol.toStringTag, { value: "Module" })), X3 = (n, t) => new Kl(n, t), Z3 = (n, t) => new ng(n, t);
31279
31262
  function rg(n, t, e) {
31280
31263
  if (e) {
31281
31264
  const s = new w.Vector3().subVectors(n.position, e).applyQuaternion(n.quaternion.clone().inverse()).applyQuaternion(t).add(e);
@@ -32130,7 +32113,7 @@ class to {
32130
32113
  });
32131
32114
  d(this, "getBox", () => this.boundingBox ? this.boundingBox : (this.boundingBox = $s(this.originObject3D), this.boundingBox));
32132
32115
  var h, u, f;
32133
- this.hooks = (h = t.sharedHooks) != null ? h : new It(), this.internalHooks = (u = t.sharedInternalHooks) != null ? u : new It(), this.camera = t.camera, this.model = t.model, this.originObject3D = t.originObject3D, this.helperObject3D = t.helperObject3D, this.container = t.container, this.scene = t.scene, this.domEvents = new Re(t.camera, t.container), this.onRender = (f = t.onRender) != null ? f : () => {
32116
+ this.hooks = (h = t.sharedHooks) != null ? h : new Pt(), this.internalHooks = (u = t.sharedInternalHooks) != null ? u : new Pt(), this.camera = t.camera, this.model = t.model, this.originObject3D = t.originObject3D, this.helperObject3D = t.helperObject3D, this.container = t.container, this.scene = t.scene, this.domEvents = new Re(t.camera, t.container), this.onRender = (f = t.onRender) != null ? f : () => {
32134
32117
  }, this.config = e != null ? e : {}, this.initialHelperPosition(), this.initialHelperQuaternion(), this.onWantsUpdateCameraDistance(), this.enable();
32135
32118
  const i = this.onSetOriginObjectScale.bind(this), s = this.onSetOriginObjectRotate.bind(this), o = this.onSetOriginObjectPosition.bind(this), r = this.onApplyOriginObjectScale.bind(this), a = this.onApplyOriginObjectRotate.bind(this), l = this.onApplyOriginObjectPosition.bind(this), c = this.initialHelperPosition.bind(this);
32136
32119
  this.internalHooks.on("setObjectPosition", this.onWantsUpdateCameraDistance), this.internalHooks.on("initialHelperPosition", this.onWantsUpdateCameraDistance), this.internalHooks.on("initialHelperPosition", c), this.internalHooks.on("setObjectScale", i), this.internalHooks.on("setObjectRotate", s), this.internalHooks.on("setObjectPosition", o), this.internalHooks.on("applyObjectPosition", l), this.internalHooks.on("applyObjectRotate", a), this.internalHooks.on("applyObjectScale", r), this.disposers.push(() => {
@@ -32503,7 +32486,7 @@ class JM {
32503
32486
  enabled: !0,
32504
32487
  disposed: !1
32505
32488
  });
32506
- d(this, "hooks", new It());
32489
+ d(this, "hooks", new Pt());
32507
32490
  d(this, "eventListener", {});
32508
32491
  t && this.addControllers(t), this.setState(this.state);
32509
32492
  }
@@ -32511,7 +32494,7 @@ class JM {
32511
32494
  * @description Show guide line
32512
32495
  */
32513
32496
  show(t) {
32514
- return _(this, null, function* () {
32497
+ return G(this, null, function* () {
32515
32498
  this.setState({ visible: !0 }, t);
32516
32499
  });
32517
32500
  }
@@ -32519,7 +32502,7 @@ class JM {
32519
32502
  * @description Hide guide line
32520
32503
  */
32521
32504
  hide(t) {
32522
- return _(this, null, function* () {
32505
+ return G(this, null, function* () {
32523
32506
  this.setState({ visible: !1 }, t);
32524
32507
  });
32525
32508
  }
@@ -32794,12 +32777,12 @@ class KM extends to {
32794
32777
  if (!a || jM(a, this.camera.position))
32795
32778
  return;
32796
32779
  const l = new le().addVectors(r[0], r[2]).divideScalar(2), { position: c, direction: h } = s, u = new le().subVectors(r[1], r[0]), f = new le().subVectors(r[3], r[0]), m = (F) => {
32797
- const G = new le(0, 0, 0);
32780
+ const _ = new le(0, 0, 0);
32798
32781
  if (!this.startInfo)
32799
- return G;
32782
+ return _;
32800
32783
  const N = (F === "ew" ? u : f).clone(), Q = c.clone().projectOnVector(N), H = a.clone().projectOnVector(N), Y = l.clone().projectOnVector(N);
32801
32784
  if (H.equals(Q))
32802
- return G;
32785
+ return _;
32803
32786
  if (F === "ns" && typeof this.startInfo.dragPointInCenterBottom != "boolean") {
32804
32787
  const oe = new le().subVectors(H, Y), se = oe.x < 0 && N.x >= 0, Pe = oe.y < 0 && N.y >= 0, Ae = oe.z < 0 && N.z >= 0;
32805
32788
  this.startInfo.dragPointInCenterBottom = se || Pe || Ae;
@@ -32809,18 +32792,18 @@ class KM extends to {
32809
32792
  this.startInfo.dragPointInCenterLeft = se || Pe || Ae;
32810
32793
  }
32811
32794
  const Z = new le().subVectors(H, Q), J = Z.length();
32812
- return J > 0.3 ? (console.warn("offset.length() > 0.3, skipped", J), G) : Z;
32795
+ return J > 0.3 ? (console.warn("offset.length() > 0.3, skipped", J), _) : Z;
32813
32796
  }, A = m("ew"), p = m("ns"), g = () => {
32814
32797
  const F = A;
32815
- this.helperObject3D.cornerPositions.forEach((G, N) => {
32798
+ this.helperObject3D.cornerPositions.forEach((_, N) => {
32816
32799
  var Q;
32817
- (Q = this.startInfo) != null && Q.dragPointInCenterLeft ? (N === 0 || N === 3) && G.add(F) : (N === 1 || N === 2) && G.add(F);
32800
+ (Q = this.startInfo) != null && Q.dragPointInCenterLeft ? (N === 0 || N === 3) && _.add(F) : (N === 1 || N === 2) && _.add(F);
32818
32801
  });
32819
32802
  }, v = () => {
32820
32803
  const F = p;
32821
- this.helperObject3D.cornerPositions.forEach((G, N) => {
32804
+ this.helperObject3D.cornerPositions.forEach((_, N) => {
32822
32805
  var Q;
32823
- (Q = this.startInfo) != null && Q.dragPointInCenterBottom ? (N === 0 || N === 1) && G.add(F) : (N === 2 || N === 3) && G.add(F);
32806
+ (Q = this.startInfo) != null && Q.dragPointInCenterBottom ? (N === 0 || N === 1) && _.add(F) : (N === 2 || N === 3) && _.add(F);
32824
32807
  });
32825
32808
  };
32826
32809
  switch (h) {
@@ -32974,7 +32957,7 @@ class ag extends Bi {
32974
32957
  * @description Show guide line
32975
32958
  */
32976
32959
  show(e) {
32977
- return _(this, null, function* () {
32960
+ return G(this, null, function* () {
32978
32961
  this.setState({ visible: !0 }, e);
32979
32962
  });
32980
32963
  }
@@ -32982,7 +32965,7 @@ class ag extends Bi {
32982
32965
  * @description Hide guide line
32983
32966
  */
32984
32967
  hide(e) {
32985
- return _(this, null, function* () {
32968
+ return G(this, null, function* () {
32986
32969
  this.setState({ visible: !1 }, e);
32987
32970
  });
32988
32971
  }
@@ -33038,7 +33021,7 @@ class ag extends Bi {
33038
33021
  scaleHelper: !0,
33039
33022
  boundingBoxHelper: !1,
33040
33023
  positionFrom: "objectPosition"
33041
- }), i), { moveHelper: h, rotateHelper: u, scaleHelper: f, boundingBoxHelper: m, positionFrom: A } = c, p = new It(), g = new It(), v = (P) => {
33024
+ }), i), { moveHelper: h, rotateHelper: u, scaleHelper: f, boundingBoxHelper: m, positionFrom: A } = c, p = new Pt(), g = new Pt(), v = (P) => {
33042
33025
  if (P)
33043
33026
  return typeof P == "boolean" ? P : P.enable;
33044
33027
  };
@@ -33127,7 +33110,7 @@ class ag extends Bi {
33127
33110
  return e;
33128
33111
  }
33129
33112
  }
33130
- const qx = (n) => new ag(n), ak = (
33113
+ const q3 = (n) => new ag(n), ak = (
33131
33114
  /* glsl */
33132
33115
  `
33133
33116
  varying vec2 vUv;
@@ -33580,9 +33563,9 @@ class hk extends Bi {
33580
33563
  console.warn("⛔ ==> [PanoVideoPluginController]:", e);
33581
33564
  }
33582
33565
  }
33583
- const Kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
33566
+ const K3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
33584
33567
  __proto__: null
33585
- }, Symbol.toStringTag, { value: "Module" })), $x = (n) => new hk(n);
33568
+ }, Symbol.toStringTag, { value: "Module" })), $3 = (n) => new hk(n);
33586
33569
  function lg(n) {
33587
33570
  const t = /* @__PURE__ */ new Map();
33588
33571
  return n.forEach((e) => e.pipes.forEach((i) => t.set(i.id, i))), Array.from(t.values());
@@ -33783,7 +33766,7 @@ class Tn extends w.Mesh {
33783
33766
  return e.wrapS = w.RepeatWrapping, e.wrapT = w.RepeatWrapping, e;
33784
33767
  }
33785
33768
  hide(e) {
33786
- return _(this, null, function* () {
33769
+ return G(this, null, function* () {
33787
33770
  var o;
33788
33771
  (o = this.opacityAnime) == null || o.dispose();
33789
33772
  const i = 0;
@@ -33798,7 +33781,7 @@ class Tn extends w.Mesh {
33798
33781
  });
33799
33782
  }
33800
33783
  show(e) {
33801
- return _(this, null, function* () {
33784
+ return G(this, null, function* () {
33802
33785
  var o;
33803
33786
  (o = this.opacityAnime) == null || o.dispose();
33804
33787
  const i = 1;
@@ -33957,10 +33940,10 @@ let Mk = class extends vi {
33957
33940
  */
33958
33941
  // eslint-disable-next-line max-params
33959
33942
  load(e, i, s, o) {
33960
- return _(this, null, function* () {
33943
+ return G(this, null, function* () {
33961
33944
  const r = this.data;
33962
33945
  this.data = yield this.formatData(e, o), this.removeAllPipes(), this.hooks.emit("dataChange", this.data, r), this.pipeObjects = yield Promise.all(
33963
- this.data.pipes.filter((a) => !!(a != null && a.texture)).map((u) => _(this, [u], function* ({ id: a, texture: l, path: c, radius: h }) {
33946
+ this.data.pipes.filter((a) => !!(a != null && a.texture)).map((u) => G(this, [u], function* ({ id: a, texture: l, path: c, radius: h }) {
33964
33947
  const f = yield this.loadPipeTexture(l), m = { id: a, path: c, textureURL: l, texture: f, geometryConfig: { radius: h } };
33965
33948
  return new Ek(m);
33966
33949
  }))
@@ -33979,14 +33962,14 @@ let Mk = class extends vi {
33979
33962
  */
33980
33963
  setState(e, i = {}) {
33981
33964
  const s = this.state;
33982
- if (Ct(e, s, { deep: !0 }))
33965
+ if (wt(e, s, { deep: !0 }))
33983
33966
  return;
33984
33967
  const o = i.userAction !== void 0 ? i.userAction : !0;
33985
33968
  if (this.updateState(e, o), e.enabled !== void 0 && s.enabled !== e.enabled && (e.enabled ? this._enable({ userAction: o }) : this._disable({ userAction: o })), e.visible !== void 0 && s.visible !== e.visible) {
33986
33969
  const r = { userAction: o, anime: { duration: 500 } };
33987
33970
  e.visible ? this._show(r) : this._hide(r);
33988
33971
  }
33989
- if (e.isFlowing !== void 0 && s.isFlowing !== e.isFlowing && (e.isFlowing ? this._flow() : this._stopFlow()), e.speed !== void 0 && !Ct(s.speed, this.state.speed, { deep: !0 }) && this._setSpeed(e.speed), e.target !== void 0 && !Ct(s.target, this.state.target, { deep: !0 })) {
33972
+ if (e.isFlowing !== void 0 && s.isFlowing !== e.isFlowing && (e.isFlowing ? this._flow() : this._stopFlow()), e.speed !== void 0 && !wt(s.speed, this.state.speed, { deep: !0 }) && this._setSpeed(e.speed), e.target !== void 0 && !wt(s.target, this.state.target, { deep: !0 })) {
33990
33973
  const r = {
33991
33974
  target: e.target,
33992
33975
  showAnime: { duration: 500 },
@@ -34024,7 +34007,7 @@ let Mk = class extends vi {
34024
34007
  * @param `options.anime.duration` `<number> | <undefined>` 动画时间,默认是 500ms。
34025
34008
  */
34026
34009
  show() {
34027
- return _(this, arguments, function* (e = {}) {
34010
+ return G(this, arguments, function* (e = {}) {
34028
34011
  if (this.state.visible)
34029
34012
  return;
34030
34013
  const i = D({
@@ -34041,7 +34024,7 @@ let Mk = class extends vi {
34041
34024
  * @param `options.anime.duration` `<number> | <undefined>` 动画时间,默认是 500ms。
34042
34025
  */
34043
34026
  hide() {
34044
- return _(this, arguments, function* (e = {}) {
34027
+ return G(this, arguments, function* (e = {}) {
34045
34028
  if (this.state.visible === !1)
34046
34029
  return;
34047
34030
  const i = D({
@@ -34062,7 +34045,7 @@ let Mk = class extends vi {
34062
34045
  * @param `options.userAction` `<boolean> | <undefined>` 是否是否是用户操作。
34063
34046
  * */
34064
34047
  switchPipelines(e) {
34065
- return _(this, null, function* () {
34048
+ return G(this, null, function* () {
34066
34049
  var c, h, u, f, m, A;
34067
34050
  if (!this.data)
34068
34051
  return;
@@ -34103,7 +34086,7 @@ let Mk = class extends vi {
34103
34086
  this.updateState({ speed: i }, s), this._setSpeed(i);
34104
34087
  }
34105
34088
  formatData(e, i) {
34106
- return _(this, null, function* () {
34089
+ return G(this, null, function* () {
34107
34090
  return fk(e, i);
34108
34091
  });
34109
34092
  }
@@ -34114,7 +34097,7 @@ let Mk = class extends vi {
34114
34097
  this.hooks.emit("disable", { userAction: e.userAction }), this.disposeAnime(), this.five.scene.remove(this.group), this.five.needsRender = !0, this.five.off("wantsTapGesture", this.onWantsFiveTapGesture);
34115
34098
  }
34116
34099
  _show(e) {
34117
- return _(this, null, function* () {
34100
+ return G(this, null, function* () {
34118
34101
  var o;
34119
34102
  this.hooks.emit("show", { userAction: e.userAction });
34120
34103
  const i = (o = e == null ? void 0 : e.anime) != null ? o : { duration: 500 }, s = this.findPipeObjectWithTarget(this.state.target);
@@ -34122,7 +34105,7 @@ let Mk = class extends vi {
34122
34105
  });
34123
34106
  }
34124
34107
  _hide(e) {
34125
- return _(this, null, function* () {
34108
+ return G(this, null, function* () {
34126
34109
  var s;
34127
34110
  this.hooks.emit("hide", { userAction: e.userAction });
34128
34111
  const i = (s = e == null ? void 0 : e.anime) != null ? s : { duration: 500 };
@@ -34130,7 +34113,7 @@ let Mk = class extends vi {
34130
34113
  });
34131
34114
  }
34132
34115
  _switchPipelines(e) {
34133
- return _(this, null, function* () {
34116
+ return G(this, null, function* () {
34134
34117
  if (!this.data)
34135
34118
  return;
34136
34119
  const i = this.findPipeObjectWithTarget(e.target), s = e.hideAnime;
@@ -34154,7 +34137,7 @@ let Mk = class extends vi {
34154
34137
  }
34155
34138
  /** 加载管道贴图,如果再加载中,复用之前的加载 Promise */
34156
34139
  loadPipeTexture(e) {
34157
- return _(this, null, function* () {
34140
+ return G(this, null, function* () {
34158
34141
  const i = this.texturePromiseCache.get(e);
34159
34142
  if (i)
34160
34143
  return i;
@@ -34292,7 +34275,7 @@ function Dk(n) {
34292
34275
  function Sk(n, t, e) {
34293
34276
  let i, { content: s } = t, { visible: o = !0 } = t, { opacity: r = 1 } = t, { zIndex: a = 0 } = t, { transform: l = void 0 } = t, { onClick: c = () => {
34294
34277
  } } = t, { rendererIfNeed: h = void 0 } = t, { rendererData: u = void 0 } = t, f, m;
34295
- xt(() => {
34278
+ kt(() => {
34296
34279
  f && typeof h == "function" && (m = h(f, u));
34297
34280
  }), Ht(() => {
34298
34281
  m == null || m();
@@ -34399,7 +34382,7 @@ class Lk {
34399
34382
  /** 标注标签的显示层级 */
34400
34383
  d(this, "tagZIndex", 0);
34401
34384
  /** 标注实例的事件处理器 */
34402
- d(this, "hooks", new It());
34385
+ d(this, "hooks", new Pt());
34403
34386
  /** 自定义 Dom */
34404
34387
  d(this, "itemRenderer");
34405
34388
  /** 数据 */
@@ -34708,7 +34691,7 @@ let zk = class extends vi {
34708
34691
  }
34709
34692
  /** 加载数据,重复调用会使用新数据覆盖旧数据 */
34710
34693
  load(e) {
34711
- return _(this, null, function* () {
34694
+ return G(this, null, function* () {
34712
34695
  const i = this.data;
34713
34696
  this.data = this.formatData(e), this.hooks.emit("dataChange", this.data, i), this.modelGroup.remove(...this.modelGroup.children), this.itemMap.forEach((s) => s.unmount()), this.itemMap.clear(), this.childrenMountedState = !1, this.checkMsg.childrenMountedState = "", this.data.list.forEach((s) => {
34714
34697
  const o = new Lk(this, s);
@@ -34747,7 +34730,7 @@ let zk = class extends vi {
34747
34730
  * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
34748
34731
  */
34749
34732
  show(e) {
34750
- return _(this, null, function* () {
34733
+ return G(this, null, function* () {
34751
34734
  if (this.state.visible)
34752
34735
  return Promise.resolve();
34753
34736
  if (this.disposed)
@@ -34761,7 +34744,7 @@ let zk = class extends vi {
34761
34744
  * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
34762
34745
  */
34763
34746
  hide(e) {
34764
- return _(this, null, function* () {
34747
+ return G(this, null, function* () {
34765
34748
  if (this.state.visible === !1)
34766
34749
  return;
34767
34750
  const i = D({ userAction: !0 }, e);
@@ -34809,7 +34792,7 @@ let zk = class extends vi {
34809
34792
  */
34810
34793
  setState(e, i = {}) {
34811
34794
  const s = this.state;
34812
- if (Ct(e, s, { deep: !0 }))
34795
+ if (wt(e, s, { deep: !0 }))
34813
34796
  return;
34814
34797
  const o = i.userAction !== void 0 ? i.userAction : !0;
34815
34798
  if (this.updateState(e, o), e.enabled !== void 0 && s.enabled !== e.enabled && (e.enabled ? this._enable({ userAction: o }) : this._disable({ userAction: o })), e.visible !== void 0 && s.visible !== e.visible) {
@@ -34872,12 +34855,12 @@ let zk = class extends vi {
34872
34855
  this.hooks.emit("disable", { userAction: e.userAction }), this.five.scene.remove(this.modelGroup), this.updateChildrenMountedState(), this.five.needsRender = !0, this.five.off("wantsTapGesture", this.onWantsFiveTapGesture), this.five.off("initAnimationWillStart", this.onFiveInitAnimationWillStart), this.five.off("initAnimationEnded", this.onFiveInitAnimationEnded), this.five.off("modeChange", this.onFiveModeChange), this.five.off("cameraUpdate", this.onFiveCameraUpdate);
34873
34856
  }
34874
34857
  _show(e) {
34875
- return _(this, null, function* () {
34858
+ return G(this, null, function* () {
34876
34859
  this.hooks.emit("show", e), this.five.needsRender = !0;
34877
34860
  });
34878
34861
  }
34879
34862
  _hide(e) {
34880
- return _(this, null, function* () {
34863
+ return G(this, null, function* () {
34881
34864
  this.hooks.emit("hide", e), this.five.needsRender = !0;
34882
34865
  });
34883
34866
  }
@@ -35003,7 +34986,7 @@ class Ok extends Bi {
35003
34986
  * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
35004
34987
  */
35005
34988
  show(e) {
35006
- return _(this, null, function* () {
34989
+ return G(this, null, function* () {
35007
34990
  if (this.state.visible)
35008
34991
  return Promise.resolve();
35009
34992
  if (this.disposed)
@@ -35017,7 +35000,7 @@ class Ok extends Bi {
35017
35000
  * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
35018
35001
  */
35019
35002
  hide(e) {
35020
- return _(this, null, function* () {
35003
+ return G(this, null, function* () {
35021
35004
  if (this.state.visible === !1)
35022
35005
  return;
35023
35006
  const i = D({ userAction: !0 }, e);
@@ -35031,7 +35014,7 @@ class Ok extends Bi {
35031
35014
  */
35032
35015
  setState(e, i = {}) {
35033
35016
  const s = this.state;
35034
- if (Ct(e, s, { deep: !0 }))
35017
+ if (wt(e, s, { deep: !0 }))
35035
35018
  return;
35036
35019
  const o = i.userAction !== void 0 ? i.userAction : !0;
35037
35020
  if (this.updateState(e, o), e.enabled !== void 0 && s.enabled !== e.enabled && (e.enabled ? this.checkMsg.pluginDisabled = "" : this.checkMsg.pluginDisabled = "调用 setState 禁用", e.enabled ? this._enable({ userAction: o }) : this._disable({ userAction: o })), e.visible !== void 0 && s.visible !== e.visible) {
@@ -35076,7 +35059,7 @@ class Ok extends Bi {
35076
35059
  }
35077
35060
  /** 重新加载贴图,调用时会先清除已有的贴图 */
35078
35061
  reloadTexture(e) {
35079
- return _(this, null, function* () {
35062
+ return G(this, null, function* () {
35080
35063
  if (this.mesh.material.map = null, e !== "") {
35081
35064
  const i = Ji(e);
35082
35065
  this.textureLoadingPromise = i;
@@ -35288,7 +35271,7 @@ const Xs = {
35288
35271
  18: !1,
35289
35272
  17: !1,
35290
35273
  91: !1
35291
- }, qe = {};
35274
+ }, Je = {};
35292
35275
  for (let n = 1; n < 20; n++)
35293
35276
  Xs["f".concat(n)] = 111 + n;
35294
35277
  let Ue = [], Ns = null, mg = "all";
@@ -35307,8 +35290,8 @@ function _k() {
35307
35290
  }
35308
35291
  function Qk() {
35309
35292
  const n = [];
35310
- return Object.keys(qe).forEach((t) => {
35311
- qe[t].forEach((e) => {
35293
+ return Object.keys(Je).forEach((t) => {
35294
+ Je[t].forEach((e) => {
35312
35295
  let {
35313
35296
  key: i,
35314
35297
  scope: s,
@@ -35338,9 +35321,9 @@ function Uk(n) {
35338
35321
  function Yk(n, t) {
35339
35322
  let e, i;
35340
35323
  n || (n = Zs());
35341
- for (const s in qe)
35342
- if (Object.prototype.hasOwnProperty.call(qe, s))
35343
- for (e = qe[s], i = 0; i < e.length; )
35324
+ for (const s in Je)
35325
+ if (Object.prototype.hasOwnProperty.call(Je, s))
35326
+ for (e = Je[s], i = 0; i < e.length; )
35344
35327
  e[i].scope === n ? e.splice(i, 1).forEach((r) => {
35345
35328
  let {
35346
35329
  element: a
@@ -35360,8 +35343,8 @@ function Xk(n) {
35360
35343
  }
35361
35344
  function pg(n) {
35362
35345
  if (typeof n == "undefined")
35363
- Object.keys(qe).forEach((s) => {
35364
- Array.isArray(qe[s]) && qe[s].forEach((o) => No(o)), delete qe[s];
35346
+ Object.keys(Je).forEach((s) => {
35347
+ Array.isArray(Je[s]) && Je[s].forEach((o) => No(o)), delete Je[s];
35365
35348
  }), ic(null);
35366
35349
  else if (Array.isArray(n))
35367
35350
  n.forEach((s) => {
@@ -35390,11 +35373,11 @@ const No = (n) => {
35390
35373
  } = n;
35391
35374
  fg(t).forEach((r) => {
35392
35375
  const a = r.split(s), l = a.length, c = a[l - 1], h = c === "*" ? "*" : io(c);
35393
- if (!qe[h])
35376
+ if (!Je[h])
35394
35377
  return;
35395
35378
  e || (e = Zs());
35396
35379
  const u = l > 1 ? ug(ri, a) : [], f = [];
35397
- qe[h] = qe[h].filter((m) => {
35380
+ Je[h] = Je[h].filter((m) => {
35398
35381
  const p = (i ? m.method === i : !0) && m.scope === e && Hk(m.mods, u);
35399
35382
  return p && f.push(m.element), !p;
35400
35383
  }), f.forEach((m) => ic(m));
@@ -35412,7 +35395,7 @@ function zu(n, t, e, i) {
35412
35395
  }
35413
35396
  }
35414
35397
  function Ou(n, t) {
35415
- const e = qe["*"];
35398
+ const e = Je["*"];
35416
35399
  let i = n.keyCode || n.which || n.charCode;
35417
35400
  if (!gt.filter.call(this, n))
35418
35401
  return;
@@ -35433,9 +35416,9 @@ function Ou(n, t) {
35433
35416
  if (e)
35434
35417
  for (let a = 0; a < e.length; a++)
35435
35418
  e[a].scope === s && (n.type === "keydown" && e[a].keydown || n.type === "keyup" && e[a].keyup) && zu(n, e[a], s, t);
35436
- if (!(i in qe))
35419
+ if (!(i in Je))
35437
35420
  return;
35438
- const o = qe[i], r = o.length;
35421
+ const o = Je[i], r = o.length;
35439
35422
  for (let a = 0; a < r; a++)
35440
35423
  if ((n.type === "keydown" && o[a].keydown || n.type === "keyup" && o[a].keyup) && o[a].key) {
35441
35424
  const l = o[a], {
@@ -35451,7 +35434,7 @@ function gt(n, t, e) {
35451
35434
  const i = fg(n);
35452
35435
  let s = [], o = "all", r = document, a = 0, l = !1, c = !0, h = "+", u = !1, f = !1;
35453
35436
  for (e === void 0 && typeof t == "function" && (e = t), Object.prototype.toString.call(t) === "[object Object]" && (t.scope && (o = t.scope), t.element && (r = t.element), t.keyup && (l = t.keyup), t.keydown !== void 0 && (c = t.keydown), t.capture !== void 0 && (u = t.capture), typeof t.splitKey == "string" && (h = t.splitKey), t.single === !0 && (f = !0)), typeof t == "string" && (o = t), f && pg(n, o); a < i.length; a++)
35454
- n = i[a].split(h), s = [], n.length > 1 && (s = ug(ri, n)), n = n[n.length - 1], n = n === "*" ? "*" : io(n), n in qe || (qe[n] = []), qe[n].push({
35437
+ n = i[a].split(h), s = [], n.length > 1 && (s = ug(ri, n)), n = n[n.length - 1], n = n === "*" ? "*" : io(n), n in Je || (Je[n] = []), Je[n].push({
35455
35438
  keyup: l,
35456
35439
  keydown: c,
35457
35440
  scope: o,
@@ -35490,14 +35473,14 @@ function gt(n, t, e) {
35490
35473
  }
35491
35474
  function Zk(n) {
35492
35475
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "all";
35493
- Object.keys(qe).forEach((e) => {
35494
- qe[e].filter((s) => s.scope === t && s.shortcut === n).forEach((s) => {
35476
+ Object.keys(Je).forEach((e) => {
35477
+ Je[e].filter((s) => s.scope === t && s.shortcut === n).forEach((s) => {
35495
35478
  s && s.method && s.method();
35496
35479
  });
35497
35480
  });
35498
35481
  }
35499
35482
  function ic(n) {
35500
- const t = Object.values(qe).flat();
35483
+ const t = Object.values(Je).flat();
35501
35484
  if (t.findIndex((i) => {
35502
35485
  let {
35503
35486
  element: s
@@ -35518,7 +35501,7 @@ function ic(n) {
35518
35501
  capture: a
35519
35502
  } = fi.get(s) || {};
35520
35503
  o && r && (xs(s, "keyup", r, a), xs(s, "keydown", o, a), fi.delete(s));
35521
- }), fi.clear(), Object.keys(qe).forEach((s) => delete qe[s]), Ns)) {
35504
+ }), fi.clear(), Object.keys(Je).forEach((s) => delete Je[s]), Ns)) {
35522
35505
  const {
35523
35506
  listener: s,
35524
35507
  capture: o
@@ -35737,7 +35720,7 @@ class $k extends on {
35737
35720
  }), this.updateEdgePointsVisibility(), this.needsRender = !0;
35738
35721
  }
35739
35722
  }
35740
- function e3(n) {
35723
+ function ex(n) {
35741
35724
  const t = [...n];
35742
35725
  if (n.length < 3)
35743
35726
  return n;
@@ -35781,7 +35764,7 @@ class Ag extends zt {
35781
35764
  setPoints(e, i = { closed: !1 }) {
35782
35765
  var r, a, l, c, h, u, f, m, A, p;
35783
35766
  let s = e.map(Fe);
35784
- i.closed && (s = e3(s));
35767
+ i.closed && (s = ex(s));
35785
35768
  const o = {
35786
35769
  lineWidth: (a = (r = this.paramsStyle) == null ? void 0 : r.lineWidth) != null ? a : this.lineWidth,
35787
35770
  lineColor: (c = (l = this.paramsStyle) == null ? void 0 : l.lineColor) != null ? c : this.lineColor,
@@ -35821,7 +35804,7 @@ class dr extends Ag {
35821
35804
  d(this, "name", "PolylineWithDotsMesh");
35822
35805
  }
35823
35806
  }
35824
- function t3(n, t) {
35807
+ function tx(n, t) {
35825
35808
  const e = jt(t);
35826
35809
  n.updateMatrixWorld();
35827
35810
  const i = e.map((s) => n.localToWorld(s.clone()));
@@ -35891,7 +35874,7 @@ class Ri extends zt {
35891
35874
  unhighlight() {
35892
35875
  }
35893
35876
  applyObjectMatrixWorld(e) {
35894
- return t3(this, e);
35877
+ return tx(this, e);
35895
35878
  }
35896
35879
  applyObjectQuaternion(e) {
35897
35880
  const i = this.quaternion.clone();
@@ -35960,7 +35943,7 @@ class vg extends nc {
35960
35943
  super.disable(), this.removeChildren();
35961
35944
  }
35962
35945
  }
35963
- class i3 extends vg {
35946
+ class ix extends vg {
35964
35947
  constructor(e) {
35965
35948
  super(e);
35966
35949
  d(this, "onDrag", (e) => {
@@ -35982,7 +35965,7 @@ class Fu extends Ri {
35982
35965
  super(e, i);
35983
35966
  d(this, "type", "Polyline");
35984
35967
  d(this, "polyLineMesh");
35985
- e && (this.polyLineMesh = new dr(D(D({}, e.style), e)), this.add(this.polyLineMesh)), this.editor = new i3(this), gt("esc", () => {
35968
+ e && (this.polyLineMesh = new dr(D(D({}, e.style), e)), this.add(this.polyLineMesh)), this.editor = new ix(this), gt("esc", () => {
35986
35969
  this.stopCreating();
35987
35970
  });
35988
35971
  }
@@ -36005,14 +35988,14 @@ class Fu extends Ri {
36005
35988
  (e = this.polyLineMesh) == null || e.unhighlight();
36006
35989
  }
36007
35990
  create(e) {
36008
- return _(this, null, function* () {
35991
+ return G(this, null, function* () {
36009
35992
  this.removeChildren();
36010
35993
  const i = new dr(e);
36011
- this.polyLineMesh = i, this.add(this.polyLineMesh), yield n3(i, this.pointSelector), this.editor.enable();
35994
+ this.polyLineMesh = i, this.add(this.polyLineMesh), yield nx(i, this.pointSelector), this.editor.enable();
36012
35995
  });
36013
35996
  }
36014
35997
  }
36015
- function n3(n, t) {
35998
+ function nx(n, t) {
36016
35999
  const e = n.parent;
36017
36000
  if (!e)
36018
36001
  return;
@@ -36035,7 +36018,7 @@ function n3(n, t) {
36035
36018
  });
36036
36019
  });
36037
36020
  }
36038
- class s3 extends nc {
36021
+ class sx extends nc {
36039
36022
  constructor(e) {
36040
36023
  super(e);
36041
36024
  d(this, "onDrag", (e) => {
@@ -36056,7 +36039,7 @@ class Gu extends Ri {
36056
36039
  super(e, i);
36057
36040
  d(this, "type", "Point");
36058
36041
  d(this, "pointMesh");
36059
- this.editor = new s3(this), e && (this.pointMesh = new Js(D(D({}, e.style), e)), this.add(this.pointMesh)), gt("esc", () => {
36042
+ this.editor = new sx(this), e && (this.pointMesh = new Js(D(D({}, e.style), e)), this.add(this.pointMesh)), gt("esc", () => {
36060
36043
  this.stopCreating();
36061
36044
  });
36062
36045
  }
@@ -36089,12 +36072,12 @@ class Gu extends Ri {
36089
36072
  * @description: 创建点
36090
36073
  */
36091
36074
  create(e) {
36092
- return _(this, null, function* () {
36093
- this.pointMesh && this.remove(this.pointMesh), this.add(this.pointMesh = new Js(e)), yield o3(this.pointMesh, this.pointSelector), this.editor.enable();
36075
+ return G(this, null, function* () {
36076
+ this.pointMesh && this.remove(this.pointMesh), this.add(this.pointMesh = new Js(e)), yield ox(this.pointMesh, this.pointSelector), this.editor.enable();
36094
36077
  });
36095
36078
  }
36096
36079
  }
36097
- function o3(n, t) {
36080
+ function ox(n, t) {
36098
36081
  return new Promise((e, i) => {
36099
36082
  t.enable();
36100
36083
  const s = (o) => {
@@ -36238,7 +36221,7 @@ class _u extends fr {
36238
36221
  d(this, "name", "AreaMesh");
36239
36222
  }
36240
36223
  }
36241
- class r3 extends vg {
36224
+ class rx extends vg {
36242
36225
  constructor(e) {
36243
36226
  super(e);
36244
36227
  d(this, "onDrag", (e) => {
@@ -36257,7 +36240,7 @@ class Qu extends Ri {
36257
36240
  super(e, i);
36258
36241
  d(this, "type", "Polygon");
36259
36242
  d(this, "areaMesh");
36260
- this.editor = new r3(this), e && (this.areaMesh = new _u(D(D({}, e.style), e)), this.add(this.areaMesh)), gt("esc", () => {
36243
+ this.editor = new rx(this), e && (this.areaMesh = new _u(D(D({}, e.style), e)), this.add(this.areaMesh)), gt("esc", () => {
36261
36244
  this.stopCreating();
36262
36245
  });
36263
36246
  }
@@ -36280,7 +36263,7 @@ class Qu extends Ri {
36280
36263
  (e = this.areaMesh) == null || e.unhighlight();
36281
36264
  }
36282
36265
  create(e) {
36283
- return _(this, null, function* () {
36266
+ return G(this, null, function* () {
36284
36267
  this.children.forEach((s) => {
36285
36268
  s.parent === this && this.remove(s);
36286
36269
  }), this.children.length = 0;
@@ -36400,7 +36383,7 @@ class mr extends zt {
36400
36383
  });
36401
36384
  }
36402
36385
  }
36403
- class a3 extends no {
36386
+ class ax extends no {
36404
36387
  constructor(t) {
36405
36388
  super(t, () => {
36406
36389
  const e = () => {
@@ -36444,7 +36427,7 @@ class Wu extends Ri {
36444
36427
  super(e, i);
36445
36428
  d(this, "type", "Prism");
36446
36429
  d(this, "prismMesh");
36447
- this.editor = new a3(this), e && (this.prismMesh = new mr(D(D({}, e.style), e)), this.add(this.prismMesh)), gt("esc", () => {
36430
+ this.editor = new ax(this), e && (this.prismMesh = new mr(D(D({}, e.style), e)), this.add(this.prismMesh)), gt("esc", () => {
36448
36431
  this.stopCreating();
36449
36432
  });
36450
36433
  }
@@ -36468,13 +36451,13 @@ class Wu extends Ri {
36468
36451
  (e = this.prismMesh) == null || e.unhighlight();
36469
36452
  }
36470
36453
  create(e) {
36471
- return _(this, null, function* () {
36472
- this.prismMesh = new mr(e), this.add(this.prismMesh), yield l3(this.prismMesh, this.pointSelector), this.editor.enable();
36454
+ return G(this, null, function* () {
36455
+ this.prismMesh = new mr(e), this.add(this.prismMesh), yield lx(this.prismMesh, this.pointSelector), this.editor.enable();
36473
36456
  });
36474
36457
  }
36475
36458
  }
36476
- function l3(n, t) {
36477
- return _(this, null, function* () {
36459
+ function lx(n, t) {
36460
+ return G(this, null, function* () {
36478
36461
  const e = n.parent;
36479
36462
  yield bg(n.bottomPolygon, t);
36480
36463
  const i = new on();
@@ -36501,12 +36484,12 @@ function l3(n, t) {
36501
36484
  });
36502
36485
  });
36503
36486
  }
36504
- class c3 extends no {
36487
+ class cx extends no {
36505
36488
  constructor(t) {
36506
36489
  super(t, () => ({ yAxis: t.rectangleMesh.up }));
36507
36490
  }
36508
36491
  }
36509
- class h3 extends w.BufferGeometry {
36492
+ class hx extends w.BufferGeometry {
36510
36493
  constructor(e) {
36511
36494
  super();
36512
36495
  d(this, "name", "RectangleGeometry");
@@ -36518,7 +36501,7 @@ class h3 extends w.BufferGeometry {
36518
36501
  this.points = e.slice(0, 4), this.setAttribute("position", new w.BufferAttribute(new Float32Array(this.points.flatMap((i) => i.toArray())), 3)), this.setIndex(new w.BufferAttribute(new Uint16Array([0, 1, 2, 0, 1, 3]), 1));
36519
36502
  }
36520
36503
  }
36521
- function d3(n, t) {
36504
+ function dx(n, t) {
36522
36505
  const i = new w.Plane().setFromCoplanarPoints(n[0], n[1], n[2]).projectPoint(t, new w.Vector3());
36523
36506
  return new w.Vector3().subVectors(t, i).normalize();
36524
36507
  }
@@ -36550,7 +36533,7 @@ class yg extends ur {
36550
36533
  const [s, o, r] = i, a = new w.Vector3().addVectors(s, o).sub(r);
36551
36534
  i.push(a);
36552
36535
  }
36553
- this.up.copy(d3(i, st.modules.five.camera.position)), this.points = i, this.geometry = new h3(i), this.planeHelperNeedUpdate = !0;
36536
+ this.up.copy(dx(i, st.modules.five.camera.position)), this.points = i, this.geometry = new hx(i), this.planeHelperNeedUpdate = !0;
36554
36537
  }
36555
36538
  }
36556
36539
  class Fs extends yg {
@@ -36588,7 +36571,7 @@ class Uu extends Ri {
36588
36571
  super(e, i);
36589
36572
  d(this, "type", "Rectangle");
36590
36573
  d(this, "rectangleMesh");
36591
- this.config.canEdit && (this.editor = new c3(this)), e && (this.rectangleMesh = new Fs(D(D({}, e.style), e)), this.add(this.rectangleMesh)), gt("esc", () => {
36574
+ this.config.canEdit && (this.editor = new cx(this)), e && (this.rectangleMesh = new Fs(D(D({}, e.style), e)), this.add(this.rectangleMesh)), gt("esc", () => {
36592
36575
  this.stopCreating();
36593
36576
  });
36594
36577
  }
@@ -36611,7 +36594,7 @@ class Uu extends Ri {
36611
36594
  (e = this.rectangleMesh) == null || e.unhighlight();
36612
36595
  }
36613
36596
  create(e) {
36614
- return _(this, null, function* () {
36597
+ return G(this, null, function* () {
36615
36598
  this.removeChildren();
36616
36599
  const i = new Fs(e);
36617
36600
  this.rectangleMesh = i, this.add(this.rectangleMesh), yield wg(this.rectangleMesh, this.pointSelector), this.editor.enable();
@@ -36649,7 +36632,7 @@ function wg(n, t) {
36649
36632
  t.on("select", h), t.on("intersectionUpdate", u), t.on("disable", m);
36650
36633
  });
36651
36634
  }
36652
- class u3 extends no {
36635
+ class ux extends no {
36653
36636
  constructor(t) {
36654
36637
  super(t, () => ({ yAxis: t.circleMesh.normal }));
36655
36638
  }
@@ -36657,7 +36640,7 @@ class u3 extends no {
36657
36640
  function Cg(n) {
36658
36641
  return Math.max(32, Math.min(128, Math.floor(n * 40)));
36659
36642
  }
36660
- class f3 extends sc {
36643
+ class fx extends sc {
36661
36644
  constructor(e) {
36662
36645
  super(e);
36663
36646
  d(this, "_normal");
@@ -36688,7 +36671,7 @@ class f3 extends sc {
36688
36671
  this.highlighted && (this.highlighted = !1, this.setStyle({ opacity: this.opacityBeforeHighlight }), this.needsRender = !0);
36689
36672
  }
36690
36673
  }
36691
- class gr extends f3 {
36674
+ class gr extends fx {
36692
36675
  constructor(e) {
36693
36676
  const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r = bn(a, ["normal", "radius", "center"]);
36694
36677
  super(r);
@@ -36715,7 +36698,7 @@ class Yu extends Ri {
36715
36698
  super(e, i);
36716
36699
  d(this, "type", "Circle");
36717
36700
  d(this, "circleMesh");
36718
- this.editor = new u3(this), e && (this.circleMesh = new gr(D(D({}, e.style), e)), this.add(this.circleMesh)), gt("esc", () => {
36701
+ this.editor = new ux(this), e && (this.circleMesh = new gr(D(D({}, e.style), e)), this.add(this.circleMesh)), gt("esc", () => {
36719
36702
  this.stopCreating();
36720
36703
  });
36721
36704
  }
@@ -36738,7 +36721,7 @@ class Yu extends Ri {
36738
36721
  (e = this.circleMesh) == null || e.unhighlight();
36739
36722
  }
36740
36723
  create(e) {
36741
- return _(this, null, function* () {
36724
+ return G(this, null, function* () {
36742
36725
  this.children.forEach((s) => {
36743
36726
  s.parent === this && this.remove(s);
36744
36727
  }), this.children.length = 0;
@@ -36844,7 +36827,7 @@ class Xu extends zt {
36844
36827
  this.edgeMesh.position.copy(new w.Vector3().lerpVectors(i, e, 0.5)), this.edgeMesh.quaternion.copy(s);
36845
36828
  }
36846
36829
  }
36847
- class m3 extends no {
36830
+ class mx extends no {
36848
36831
  constructor(t) {
36849
36832
  super(t, () => {
36850
36833
  const e = () => {
@@ -36885,7 +36868,7 @@ class Zu extends Ri {
36885
36868
  super(e, i);
36886
36869
  d(this, "type", "Cylinder");
36887
36870
  d(this, "cylinderMesh");
36888
- this.editor = new m3(this), e && (this.cylinderMesh = new Xu(D(D({}, e.style), e)), this.add(this.cylinderMesh));
36871
+ this.editor = new mx(this), e && (this.cylinderMesh = new Xu(D(D({}, e.style), e)), this.add(this.cylinderMesh));
36889
36872
  }
36890
36873
  get data() {
36891
36874
  return re(D({}, this.baseData), {
@@ -36906,13 +36889,13 @@ class Zu extends Ri {
36906
36889
  (e = this.cylinderMesh) == null || e.unhighlight();
36907
36890
  }
36908
36891
  create(e) {
36909
- return _(this, null, function* () {
36910
- this.cylinderMesh = new Xu(e), this.add(this.cylinderMesh), yield g3(this.cylinderMesh, this.pointSelector), this.editor.enable();
36892
+ return G(this, null, function* () {
36893
+ this.cylinderMesh = new Xu(e), this.add(this.cylinderMesh), yield gx(this.cylinderMesh, this.pointSelector), this.editor.enable();
36911
36894
  });
36912
36895
  }
36913
36896
  }
36914
- function g3(n, t) {
36915
- return _(this, null, function* () {
36897
+ function gx(n, t) {
36898
+ return G(this, null, function* () {
36916
36899
  const e = n.parent;
36917
36900
  yield Pg(n.bottomCircle, t);
36918
36901
  const i = new on();
@@ -36939,7 +36922,7 @@ function g3(n, t) {
36939
36922
  });
36940
36923
  });
36941
36924
  }
36942
- class p3 extends no {
36925
+ class px extends no {
36943
36926
  constructor(t) {
36944
36927
  super(t, () => {
36945
36928
  const e = () => {
@@ -37059,7 +37042,7 @@ class qu extends Ri {
37059
37042
  super(e, i);
37060
37043
  d(this, "type", "Box");
37061
37044
  d(this, "boxMesh");
37062
- this.editor = new p3(this), e && (this.boxMesh = new Ju(D(D({}, e.style), e)), this.add(this.boxMesh)), gt("esc", () => {
37045
+ this.editor = new px(this), e && (this.boxMesh = new Ju(D(D({}, e.style), e)), this.add(this.boxMesh)), gt("esc", () => {
37063
37046
  this.stopCreating();
37064
37047
  });
37065
37048
  }
@@ -37083,13 +37066,13 @@ class qu extends Ri {
37083
37066
  (e = this.boxMesh) == null || e.unhighlight();
37084
37067
  }
37085
37068
  create(e) {
37086
- return _(this, null, function* () {
37087
- this.removeChildren(), this.boxMesh = new Ju(e), this.add(this.boxMesh), yield A3(this.boxMesh, this.pointSelector), this.editor.enable();
37069
+ return G(this, null, function* () {
37070
+ this.removeChildren(), this.boxMesh = new Ju(e), this.add(this.boxMesh), yield Ax(this.boxMesh, this.pointSelector), this.editor.enable();
37088
37071
  });
37089
37072
  }
37090
37073
  }
37091
- function A3(n, t) {
37092
- return _(this, null, function* () {
37074
+ function Ax(n, t) {
37075
+ return G(this, null, function* () {
37093
37076
  return yield wg(n.bottomPlane, t), new Promise((e, i) => {
37094
37077
  const s = n.parent;
37095
37078
  if (!s) {
@@ -37118,11 +37101,11 @@ function A3(n, t) {
37118
37101
  });
37119
37102
  });
37120
37103
  }
37121
- function v3(n, t) {
37104
+ function vx(n, t) {
37122
37105
  for (let e = n.length - 1; e >= 0; e--)
37123
37106
  t(n[e]);
37124
37107
  }
37125
- const Ln = class extends It {
37108
+ const Ln = class extends Pt {
37126
37109
  constructor(e, i) {
37127
37110
  super();
37128
37111
  d(this, "group");
@@ -37182,7 +37165,7 @@ const Ln = class extends It {
37182
37165
  * @description: 开始绘制点
37183
37166
  */
37184
37167
  createPoint(e) {
37185
- return _(this, null, function* () {
37168
+ return G(this, null, function* () {
37186
37169
  var i;
37187
37170
  return this.createItem(Gu, D(D({}, (i = this.theme) == null ? void 0 : i.point), e));
37188
37171
  });
@@ -37191,7 +37174,7 @@ const Ln = class extends It {
37191
37174
  * @description: 开始绘制空间折线
37192
37175
  */
37193
37176
  createPolyline(e) {
37194
- return _(this, null, function* () {
37177
+ return G(this, null, function* () {
37195
37178
  var i;
37196
37179
  return this.createItem(Fu, D(D({}, (i = this.theme) == null ? void 0 : i.polyline), e));
37197
37180
  });
@@ -37200,7 +37183,7 @@ const Ln = class extends It {
37200
37183
  * @description: 开始绘制平面多边形
37201
37184
  */
37202
37185
  createPolygon(e) {
37203
- return _(this, null, function* () {
37186
+ return G(this, null, function* () {
37204
37187
  var i;
37205
37188
  return this.createItem(Qu, D(D({}, (i = this.theme) == null ? void 0 : i.polygon), e));
37206
37189
  });
@@ -37209,7 +37192,7 @@ const Ln = class extends It {
37209
37192
  * @description: 开始绘制多棱柱
37210
37193
  */
37211
37194
  createPrism(e) {
37212
- return _(this, null, function* () {
37195
+ return G(this, null, function* () {
37213
37196
  var i;
37214
37197
  return this.createItem(Wu, D(D({}, (i = this.theme) == null ? void 0 : i.prism), e));
37215
37198
  });
@@ -37218,7 +37201,7 @@ const Ln = class extends It {
37218
37201
  * @description: 开始绘制矩形
37219
37202
  */
37220
37203
  createRectangle(e) {
37221
- return _(this, null, function* () {
37204
+ return G(this, null, function* () {
37222
37205
  var i;
37223
37206
  return this.createItem(Uu, D(D({}, (i = this.theme) == null ? void 0 : i.rectangle), e));
37224
37207
  });
@@ -37227,7 +37210,7 @@ const Ln = class extends It {
37227
37210
  * @description: 开始绘制圆形
37228
37211
  */
37229
37212
  createCircle(e) {
37230
- return _(this, null, function* () {
37213
+ return G(this, null, function* () {
37231
37214
  var i;
37232
37215
  return this.createItem(Yu, D(D({}, (i = this.theme) == null ? void 0 : i.circle), e));
37233
37216
  });
@@ -37236,7 +37219,7 @@ const Ln = class extends It {
37236
37219
  * @description: 开始绘制圆柱
37237
37220
  */
37238
37221
  createCylinder(e) {
37239
- return _(this, null, function* () {
37222
+ return G(this, null, function* () {
37240
37223
  var i;
37241
37224
  return this.createItem(Zu, D(D({}, (i = this.theme) == null ? void 0 : i.cylinder), e));
37242
37225
  });
@@ -37245,7 +37228,7 @@ const Ln = class extends It {
37245
37228
  * @description: 开始绘制 Box
37246
37229
  */
37247
37230
  createBox(e) {
37248
- return _(this, null, function* () {
37231
+ return G(this, null, function* () {
37249
37232
  var i;
37250
37233
  return this.createItem(qu, D(D({}, (i = this.theme) == null ? void 0 : i.box), e));
37251
37234
  });
@@ -37264,10 +37247,10 @@ const Ln = class extends It {
37264
37247
  * @description: 清空数据
37265
37248
  */
37266
37249
  clear() {
37267
- v3(this.items, (e) => e.delete()), this.five.needsRender = !0;
37250
+ vx(this.items, (e) => e.delete()), this.five.needsRender = !0;
37268
37251
  }
37269
37252
  createItem(e, ...i) {
37270
- return _(this, null, function* () {
37253
+ return G(this, null, function* () {
37271
37254
  const s = new e();
37272
37255
  return this.group.add(s), yield s.create(...i).catch((o) => {
37273
37256
  console.error(o), this.group.remove(s);
@@ -37278,17 +37261,17 @@ const Ln = class extends It {
37278
37261
  let st = Ln;
37279
37262
  d(st, "modules", hg);
37280
37263
  const oD = (n) => new st(n);
37281
- function b3(n, ...t) {
37264
+ function bx(n, ...t) {
37282
37265
  t.forEach((e) => {
37283
37266
  n.children.includes(e) || e && n.add(e);
37284
37267
  });
37285
37268
  }
37286
- function y3(n, t) {
37269
+ function yx(n, t) {
37287
37270
  const { x: e, y: i, z: s } = t.clone().project(n);
37288
37271
  return s > 1 ? void 0 : { leftPercent: (e + 1) / 2 * 100, topPercent: (-i + 1) / 2 * 100 };
37289
37272
  }
37290
37273
  const Ku = "LightTagContainer_shgjakdhwakjdhsja";
37291
- class w3 {
37274
+ class wx {
37292
37275
  constructor(t, e, i) {
37293
37276
  d(this, "container");
37294
37277
  d(this, "visible", !1);
@@ -37302,7 +37285,7 @@ class w3 {
37302
37285
  d(this, "onCameraUpdate", () => {
37303
37286
  if (this.visible === !1)
37304
37287
  return;
37305
- const t = y3(this.five.camera, this.transformedPosition);
37288
+ const t = yx(this.five.camera, this.transformedPosition);
37306
37289
  t ? (this.container.style.left = t.leftPercent + "%", this.container.style.top = t.topPercent + "%") : (this.container.style.left = "-100%", this.container.style.top = "-100%");
37307
37290
  });
37308
37291
  d(this, "onFiveEveryReady", () => {
@@ -37351,15 +37334,15 @@ class w3 {
37351
37334
  this.transformedPosition = this.originPosition.clone().applyMatrix4(t), this.onCameraUpdate();
37352
37335
  }
37353
37336
  }
37354
- function C3(n, t, e) {
37355
- return new w3(n, t, e);
37337
+ function Cx(n, t, e) {
37338
+ return new wx(n, t, e);
37356
37339
  }
37357
37340
  let Fo;
37358
37341
  const Ig = (n) => ((!Fo || n !== Fo.five) && (Fo = {
37359
37342
  instance: new _l(n, { noEmitWhenHide: !0, noEmitWhenNotInScene: !0 }),
37360
37343
  five: n
37361
37344
  }), Fo.instance);
37362
- class Eg extends It {
37345
+ class Eg extends Pt {
37363
37346
  constructor(e) {
37364
37347
  var s, o;
37365
37348
  super();
@@ -37372,7 +37355,7 @@ class Eg extends It {
37372
37355
  d(this, "fiveDomEvents");
37373
37356
  this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = Ig(this.five);
37374
37357
  const i = (o = (s = e.position) != null ? s : this.model.center) != null ? o : $s(this.model).getCenter(new w.Vector3());
37375
- this.tag = C3(this.five, i, { wrapper: e.tagWrapper });
37358
+ this.tag = Cx(this.five, i, { wrapper: e.tagWrapper });
37376
37359
  }
37377
37360
  get container() {
37378
37361
  return this.tag.container;
@@ -37390,7 +37373,7 @@ class Eg extends It {
37390
37373
  this.tag.hide(), this.model.visible = !1, this.five.needsRender = !0, this.emit("hide");
37391
37374
  }
37392
37375
  enable() {
37393
- b3(this.group, this.model), this.five.needsRender = !0, this.model.updateMatrixWorld(!0), this.tag.setTransformMatrix(this.model.matrixWorld), this.tag.enable();
37376
+ bx(this.group, this.model), this.five.needsRender = !0, this.model.updateMatrixWorld(!0), this.tag.setTransformMatrix(this.model.matrixWorld), this.tag.enable();
37394
37377
  const e = this.onClick.bind(this);
37395
37378
  this.fiveDomEvents.addEventListener(this.model, "click", e), this.emit("enable");
37396
37379
  }
@@ -37422,12 +37405,12 @@ class Mg extends Eg {
37422
37405
  return this.tag.visible ? this.tag.hide({ withAnimation: !0 }) : this.tag.show(), super.onClick(), !0;
37423
37406
  }
37424
37407
  }
37425
- class P3 extends Mg {
37408
+ class Px extends Mg {
37426
37409
  constructor(...t) {
37427
37410
  super(...t);
37428
37411
  }
37429
37412
  }
37430
- function I3(n) {
37413
+ function Ix(n) {
37431
37414
  me(n, "svelte-129wfaa", ".withAnimation{transition:opacity 0.2s linear}.model-maker-tag.svelte-129wfaa{position:absolute;width:-moz-max-content;width:max-content;left:50%;top:50%;transform:translate(-50%, -50%);color:#fff;font-size:0.875rem;font-weight:bold;text-shadow:0.125rem 0 0.5rem rgba(0, 0, 0, 0.15)}");
37432
37415
  }
37433
37416
  function $u(n) {
@@ -37455,7 +37438,7 @@ function $u(n) {
37455
37438
  }
37456
37439
  };
37457
37440
  }
37458
- function E3(n) {
37441
+ function Ex(n) {
37459
37442
  let t, e = (
37460
37443
  /*text*/
37461
37444
  n[0] && $u(n)
@@ -37478,43 +37461,43 @@ function E3(n) {
37478
37461
  }
37479
37462
  };
37480
37463
  }
37481
- function M3(n, t, e) {
37464
+ function Mx(n, t, e) {
37482
37465
  let { text: i } = t;
37483
37466
  return n.$$set = (s) => {
37484
37467
  "text" in s && e(0, i = s.text);
37485
37468
  }, [i];
37486
37469
  }
37487
- class k3 extends de {
37470
+ class kx extends de {
37488
37471
  constructor(t) {
37489
- super(), he(this, t, M3, E3, ce, { text: 0 }, I3);
37472
+ super(), he(this, t, Mx, Ex, ce, { text: 0 }, Ix);
37490
37473
  }
37491
37474
  }
37492
37475
  const ef = (n, t) => {
37493
37476
  var i;
37494
- const e = new k3({
37477
+ const e = new kx({
37495
37478
  target: n,
37496
37479
  props: { text: (i = t.rawData) == null ? void 0 : i.name }
37497
37480
  });
37498
37481
  return () => e.$destroy();
37499
- }, x3 = (n, t) => {
37482
+ }, xx = (n, t) => {
37500
37483
  var i;
37501
37484
  const e = new cg({
37502
37485
  target: n,
37503
37486
  props: { content: (i = t.rawData) == null ? void 0 : i.name }
37504
37487
  });
37505
37488
  return () => e.$destroy();
37506
- }, D3 = {
37489
+ }, Dx = {
37507
37490
  box: ef,
37508
37491
  triangles: ef,
37509
- prism: x3
37492
+ prism: xx
37510
37493
  };
37511
- class S3 extends Eg {
37494
+ class Sx extends Eg {
37512
37495
  constructor(...t) {
37513
37496
  const e = t[0], i = $s(e.model), s = new w.Vector3().lerpVectors(Ei(i, 0), Ei(i, 5), 0.5);
37514
37497
  super(re(D({}, e), { position: s })), this.enable();
37515
37498
  }
37516
37499
  }
37517
- class T3 extends vi {
37500
+ class Tx extends vi {
37518
37501
  constructor(e, i) {
37519
37502
  var s, o;
37520
37503
  super(e);
@@ -37544,7 +37527,7 @@ class T3 extends vi {
37544
37527
  d(this, "updateTagRenderer", () => {
37545
37528
  this.items.forEach((e) => {
37546
37529
  var s;
37547
- const i = (s = this.tagRendererMap[e.type]) != null ? s : D3[e.type];
37530
+ const i = (s = this.tagRendererMap[e.type]) != null ? s : Dx[e.type];
37548
37531
  i && e.__renderer !== i && (e.__renderer = i, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = i(e.tag.container, e));
37549
37532
  });
37550
37533
  });
@@ -37555,7 +37538,7 @@ class T3 extends vi {
37555
37538
  })(), e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
37556
37539
  }
37557
37540
  load(e) {
37558
- return _(this, null, function* () {
37541
+ return G(this, null, function* () {
37559
37542
  var r;
37560
37543
  if (this.clear(), this.data = e, yield es(this.five), this.data !== e)
37561
37544
  return;
@@ -37599,7 +37582,7 @@ class T3 extends vi {
37599
37582
  occlusionVisibility: i,
37600
37583
  occlusionMode: s
37601
37584
  });
37602
- const p = new S3({
37585
+ const p = new Sx({
37603
37586
  five: this.five,
37604
37587
  tagWrapper: this.tagWrapper,
37605
37588
  model: u,
@@ -37621,7 +37604,7 @@ class T3 extends vi {
37621
37604
  occlusionVisibility: i,
37622
37605
  occlusionMode: s
37623
37606
  });
37624
- const F = new P3({
37607
+ const F = new Px({
37625
37608
  five: this.five,
37626
37609
  tagWrapper: this.tagWrapper,
37627
37610
  model: u,
@@ -37671,7 +37654,7 @@ class T3 extends vi {
37671
37654
  this.group.visible = !1, this.tagWrapper.style.visibility = "hidden", this.five.needsRender = !0;
37672
37655
  }
37673
37656
  }
37674
- const rD = (...n) => new T3(...n);
37657
+ const rD = (...n) => new Tx(...n);
37675
37658
  $g();
37676
37659
  Kg();
37677
37660
  export {
@@ -37679,68 +37662,68 @@ export {
37679
37662
  _s as CSS3DRender,
37680
37663
  Cf as CSS3DRenderPlugin,
37681
37664
  ub as CameraMovementEffect,
37682
- px as CameraMovementPlugin,
37665
+ p3 as CameraMovementPlugin,
37683
37666
  Ww as ContentType,
37684
- Xx as CruisePlugin,
37667
+ X3 as CruisePlugin,
37685
37668
  Kl as CruisePluginController,
37686
- Yx as CruisePluginTypes,
37669
+ Y3 as CruisePluginTypes,
37687
37670
  sD as CurrentPanoImagePlugin,
37688
37671
  Ls as DIRECTION,
37689
37672
  xn as DISPLAY_STRATEGY_TYPE,
37690
37673
  Uw as DimensionType,
37691
37674
  Xi as FLOOR_PLAN_ATTACHED_TO,
37692
- ux as FLOOR_TYPE_MAP,
37693
- Wx as GuideLineItem,
37694
- _x as GuideLineModeItem,
37675
+ u3 as FLOOR_TYPE_MAP,
37676
+ W3 as GuideLineItem,
37677
+ _3 as GuideLineModeItem,
37695
37678
  og as GuideLinePlugin,
37696
37679
  Dn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
37697
- jx as ItemLabelPlugin,
37680
+ j3 as ItemLabelPlugin,
37698
37681
  vl as Magnifier,
37699
- rx as MapviewFloorplanPlugin,
37700
- mx as ModelChassisCompassPlugin,
37701
- gx as ModelEntryDoorGuidePlugin,
37702
- sx as ModelFloorplanPlugin,
37703
- Dx as ModelItemLabelPlugin,
37682
+ r3 as MapviewFloorplanPlugin,
37683
+ m3 as ModelChassisCompassPlugin,
37684
+ g3 as ModelEntryDoorGuidePlugin,
37685
+ s3 as ModelFloorplanPlugin,
37686
+ D3 as ModelItemLabelPlugin,
37704
37687
  rD as ModelMakerPlugin,
37705
- J3 as ModelRoomLabelPlugin,
37706
- Tx as ModelTVVideoPlugin,
37707
- W3 as ModelViewPlugin,
37688
+ Jx as ModelRoomLabelPlugin,
37689
+ T3 as ModelTVVideoPlugin,
37690
+ Wx as ModelViewPlugin,
37708
37691
  ng as MoveController,
37709
- Zx as MovePlugin,
37692
+ Z3 as MovePlugin,
37710
37693
  ag as Object3DHelperController,
37711
- qx as Object3DHelperPlugin,
37694
+ q3 as Object3DHelperPlugin,
37712
37695
  tc as PLUGIN,
37713
- Q3 as PaintBrush,
37696
+ Qx as PaintBrush,
37714
37697
  Ii as PaintBrushTypeEnum,
37715
- yx as PanoCompassPlugin,
37716
- Z3 as PanoCursorRaycasterPlugin,
37717
- Ox as PanoDoorLabelPlugin,
37718
- hx as PanoFloorplanRadarPlugin,
37719
- Ix as PanoMeasurePlugin,
37698
+ y3 as PanoCompassPlugin,
37699
+ Zx as PanoCursorRaycasterPlugin,
37700
+ O3 as PanoDoorLabelPlugin,
37701
+ h3 as PanoFloorplanRadarPlugin,
37702
+ I3 as PanoMeasurePlugin,
37720
37703
  Si as PanoMeasurePluginLine,
37721
37704
  dm as PanoMeasurePluginModel,
37722
37705
  Bt as PanoMeasurePluginPoint,
37723
37706
  Qn as PanoMeasurePluginPolyline,
37724
- Ax as PanoRulerPlugin,
37725
- bx as PanoRulerProPlugin,
37726
- Mx as PanoSpatialTagPlugin,
37727
- Gx as PanoTagPlugin,
37707
+ A3 as PanoRulerPlugin,
37708
+ b3 as PanoRulerProPlugin,
37709
+ M3 as PanoSpatialTagPlugin,
37710
+ G3 as PanoTagPlugin,
37728
37711
  cl as PanoTagPluginController,
37729
- $x as PanoVideoPlugin,
37730
- Kx as PanoVideoPluginType,
37712
+ $3 as PanoVideoPlugin,
37713
+ K3 as PanoVideoPluginType,
37731
37714
  tD as PipelinePlugin,
37732
37715
  Qw as PointType,
37733
- dx as ROOM_FETILE_TYPE_MAP,
37734
- fx as ROOM_TYPE_MAP,
37716
+ d3 as ROOM_FETILE_TYPE_MAP,
37717
+ f3 as ROOM_TYPE_MAP,
37735
37718
  mi as Rotation,
37736
37719
  st as Sculpt,
37737
37720
  oD as SculptPlugin,
37738
- lx as TopviewFloorplanPlugin,
37739
- Y3 as Util,
37721
+ l3 as TopviewFloorplanPlugin,
37722
+ Yx as Util,
37740
37723
  Kl as WalkController,
37741
37724
  _w as defaultGlobalConfig,
37742
- zx as itemLabelPluginServerParams,
37743
- Sx as modelItemLabelPluginServerParams,
37744
- q3 as modelRoomLabelPluginServerParams,
37745
- Fx as pluginFlag
37725
+ z3 as itemLabelPluginServerParams,
37726
+ S3 as modelItemLabelPluginServerParams,
37727
+ qx as modelRoomLabelPluginServerParams,
37728
+ F3 as pluginFlag
37746
37729
  };