@realsee/dnalogel 3.0.0-3 → 3.0.0-5

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 (345) hide show
  1. package/dist/index.cjs.js +17 -17
  2. package/dist/index.js +420 -419
  3. package/dist/index.umd.js +17 -17
  4. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
  5. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
  6. package/docs/classes/CSS3DRender.html +30 -30
  7. package/docs/classes/CruisePluginController.html +25 -25
  8. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  9. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  10. package/docs/classes/Magnifier.html +19 -19
  11. package/docs/classes/ModelRoomLabelController.html +10 -10
  12. package/docs/classes/Object3DHelperController.html +24 -24
  13. package/docs/classes/PaintBrush.html +14 -14
  14. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  15. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  16. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  17. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  18. package/docs/classes/PanoTagPluginController.html +44 -44
  19. package/docs/classes/Util.BetterTween.html +8 -8
  20. package/docs/classes/Util.Interval.html +11 -11
  21. package/docs/classes/Util.LineSegments.html +7 -7
  22. package/docs/classes/Util.Magnifier.html +19 -19
  23. package/docs/classes/Util.Object3D.html +7 -7
  24. package/docs/classes/Util.PointDomHelper.html +10 -10
  25. package/docs/classes/Util.PointHelper.html +10 -10
  26. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  27. package/docs/classes/Util.Rectangle.html +12 -12
  28. package/docs/enums/CameraMovementEffect.html +6 -6
  29. package/docs/enums/ContentType.html +19 -19
  30. package/docs/enums/DIRECTION.html +8 -8
  31. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  32. package/docs/enums/DimensionType.html +6 -6
  33. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  34. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  35. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  36. package/docs/enums/PointType.html +6 -6
  37. package/docs/enums/Rotation.html +7 -7
  38. package/docs/functions/AreaMakerPlugin.html +4 -4
  39. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  40. package/docs/functions/CameraMovementPlugin.html +3 -3
  41. package/docs/functions/CruisePlugin.html +3 -3
  42. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  43. package/docs/functions/GuideLinePlugin.html +4 -4
  44. package/docs/functions/ItemLabelPlugin.html +3 -3
  45. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  46. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  47. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  48. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  49. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  50. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  51. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  52. package/docs/functions/ModelViewPlugin.html +3 -3
  53. package/docs/functions/Object3DHelperPlugin.html +3 -3
  54. package/docs/functions/PanoCompassPlugin.html +3 -3
  55. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  56. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  57. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  58. package/docs/functions/PanoMeasurePlugin.html +3 -3
  59. package/docs/functions/PanoRulerPlugin.html +3 -3
  60. package/docs/functions/PanoRulerProPlugin.html +3 -3
  61. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  62. package/docs/functions/PanoTagPlugin.html +3 -3
  63. package/docs/functions/PanoVideoPlugin.html +3 -3
  64. package/docs/functions/PipelinePlugin.html +3 -3
  65. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  66. package/docs/functions/Util.absoluteUrl.html +4 -4
  67. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  68. package/docs/functions/Util.equal.html +4 -4
  69. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  70. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  71. package/docs/functions/Util.getFrameTime.html +4 -4
  72. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  73. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  74. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  75. package/docs/functions/Util.isModelLike.html +4 -4
  76. package/docs/functions/Util.isNil.html +4 -4
  77. package/docs/functions/Util.isPanoramaLike.html +4 -4
  78. package/docs/functions/Util.nextFrame.html +4 -4
  79. package/docs/functions/Util.notNil.html +4 -4
  80. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  81. package/docs/functions/Util.tweenProgress.html +4 -4
  82. package/docs/functions/Util.uuid.html +4 -4
  83. package/docs/functions/pluginFlag.html +4 -4
  84. package/docs/index.html +4 -4
  85. package/docs/interfaces/AddTagConfig.html +5 -5
  86. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
  87. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
  88. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
  89. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
  90. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
  91. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
  92. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
  93. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
  94. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
  95. package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
  96. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  97. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  98. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  99. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  100. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  101. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  102. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  103. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  104. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  105. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  106. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  107. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  108. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  109. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  110. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  111. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  112. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  113. package/docs/interfaces/EventMap.html +14 -14
  114. package/docs/interfaces/FloorplanBounding.html +7 -7
  115. package/docs/interfaces/FloorplanData.html +9 -9
  116. package/docs/interfaces/FloorplanEntrance.html +10 -10
  117. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  118. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  119. package/docs/interfaces/FloorplanFloorData.html +8 -8
  120. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  121. package/docs/interfaces/FloorplanObserver.html +8 -8
  122. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  123. package/docs/interfaces/FloorplanPosition.html +6 -6
  124. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  125. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  126. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  127. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  128. package/docs/interfaces/FloorplanServerData.html +6 -6
  129. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  130. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  131. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  132. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  133. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  134. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  135. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  136. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  137. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  138. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  139. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  140. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  141. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  142. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  143. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  144. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  145. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  146. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  147. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  148. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  149. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  150. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
  151. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  152. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  153. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  154. package/docs/interfaces/HelperOffset.html +7 -7
  155. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  156. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  157. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  158. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  159. package/docs/interfaces/MinMax.html +6 -6
  160. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  161. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  162. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  163. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  164. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  165. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  166. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  167. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  168. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  169. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  170. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  171. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  172. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  173. package/docs/interfaces/Object3DHelperState.html +7 -7
  174. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  175. package/docs/interfaces/PaintBrushAction.html +11 -11
  176. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  177. package/docs/interfaces/PaintBrushState.html +9 -9
  178. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  179. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  180. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  181. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  182. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  183. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  184. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  185. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  186. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  187. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  188. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  189. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  190. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  191. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  192. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  193. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  194. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  195. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  196. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  197. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  198. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  199. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  200. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  201. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  202. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  203. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  204. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  205. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  206. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  207. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  208. package/docs/interfaces/Point.html +7 -7
  209. package/docs/interfaces/Room.html +8 -8
  210. package/docs/interfaces/RoomInfo.html +6 -6
  211. package/docs/interfaces/RoomLabel.html +13 -13
  212. package/docs/interfaces/RoomRules.html +4 -4
  213. package/docs/interfaces/Rooms.html +4 -4
  214. package/docs/interfaces/Scissor.html +8 -8
  215. package/docs/interfaces/State.html +7 -7
  216. package/docs/interfaces/TagCacheInterface.html +11 -11
  217. package/docs/interfaces/TagConfig.html +13 -13
  218. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  219. package/docs/interfaces/TagIconUrl.html +11 -11
  220. package/docs/interfaces/TagObjectGroup.html +5 -5
  221. package/docs/interfaces/TagStyle.html +5 -5
  222. package/docs/interfaces/Tags.html +8 -8
  223. package/docs/interfaces/TemporaryState.html +5 -5
  224. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  225. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  226. package/docs/interfaces/Util.PointIntersection.html +7 -7
  227. package/docs/modules/AreaMakerPluginType.html +4 -4
  228. package/docs/modules/CruisePluginTypes.html +4 -4
  229. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  230. package/docs/modules/GuideLineItem.html +4 -4
  231. package/docs/modules/GuideLineModeItem.html +4 -4
  232. package/docs/modules/GuideLinePluginType.html +4 -4
  233. package/docs/modules/PanoVideoPluginType.html +4 -4
  234. package/docs/modules/Util.html +4 -4
  235. package/docs/modules.html +4 -4
  236. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
  237. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  238. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  239. package/docs/types/ArrayPosition.html +4 -4
  240. package/docs/types/AudioAppearance.html +4 -4
  241. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  242. package/docs/types/CSS3DRenderExportType.html +4 -4
  243. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  244. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  245. package/docs/types/ClassFunctionParameters.html +4 -4
  246. package/docs/types/Color.html +4 -4
  247. package/docs/types/ContentTypeConfigKey.html +4 -4
  248. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  249. package/docs/types/ContentTypeMap.html +4 -4
  250. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  251. package/docs/types/Create3DElementReturnType.html +4 -4
  252. package/docs/types/CruisePluginExportType.html +4 -4
  253. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  254. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  255. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  256. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  257. package/docs/types/DeprecatedTagProperty.html +4 -4
  258. package/docs/types/Direction-1.html +4 -4
  259. package/docs/types/Direction4.html +4 -4
  260. package/docs/types/ElementRenderer.html +4 -4
  261. package/docs/types/FloorplanRuleLabels.html +4 -4
  262. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  263. package/docs/types/GuideLinePluginExportType.html +4 -4
  264. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  265. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  266. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  267. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  268. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  269. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  270. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  271. package/docs/types/HelperEventMap.html +4 -4
  272. package/docs/types/LoadTagConfig.html +4 -4
  273. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  274. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  275. package/docs/types/MediaData.html +4 -4
  276. package/docs/types/MediaStore.html +4 -4
  277. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  278. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  279. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  280. package/docs/types/ModelId.html +4 -4
  281. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  282. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  283. package/docs/types/MoveArgs.html +4 -4
  284. package/docs/types/MoveOpts.html +4 -4
  285. package/docs/types/Object3DHelperEventMap.html +4 -4
  286. package/docs/types/ObjectFit.html +4 -4
  287. package/docs/types/PaintBrushEventMap.html +4 -4
  288. package/docs/types/PanoCompassPluginData.html +4 -4
  289. package/docs/types/PanoCompassPluginExportType.html +4 -4
  290. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  291. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  292. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  293. package/docs/types/PanoIndex.html +4 -4
  294. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  295. package/docs/types/PanoMeasureReturnType.html +4 -4
  296. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  297. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  298. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  299. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  300. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  301. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  302. package/docs/types/PipelinePluginParameterType.html +4 -4
  303. package/docs/types/PipelinePluginReturnType.html +4 -4
  304. package/docs/types/PlaneTag.html +4 -4
  305. package/docs/types/Point2DTag.html +4 -4
  306. package/docs/types/Point3DTag.html +4 -4
  307. package/docs/types/PointTag.html +4 -4
  308. package/docs/types/PointTagInstance.html +4 -4
  309. package/docs/types/Position.html +4 -4
  310. package/docs/types/RotateArgs.html +4 -4
  311. package/docs/types/RotateOpts.html +4 -4
  312. package/docs/types/RuleLabelsKey.html +4 -4
  313. package/docs/types/RuleLabelsValue.html +4 -4
  314. package/docs/types/StickType.html +4 -4
  315. package/docs/types/Tag.html +4 -4
  316. package/docs/types/Tag2D.html +4 -4
  317. package/docs/types/Tag3D.html +4 -4
  318. package/docs/types/TagConfigByKey.html +4 -4
  319. package/docs/types/TagContentType.html +4 -4
  320. package/docs/types/TagDimensionType.html +4 -4
  321. package/docs/types/TagElement.html +4 -4
  322. package/docs/types/TagEvents.html +4 -4
  323. package/docs/types/TagGLTFObject.html +4 -4
  324. package/docs/types/TagHooks.html +4 -4
  325. package/docs/types/TagId.html +4 -4
  326. package/docs/types/TagInstance.html +4 -4
  327. package/docs/types/TagPointType.html +4 -4
  328. package/docs/types/TagRendererMap.html +4 -4
  329. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  330. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  331. package/docs/types/WorkCode.html +4 -4
  332. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  333. package/docs/variables/PLUGIN.html +4 -4
  334. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  335. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  336. package/docs/variables/defaultGlobalConfig.html +4 -4
  337. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  338. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  339. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  340. package/libs/PanoTagPlugin/controller/TagUtil.js +59 -58
  341. package/libs/base/BasePlugin.js +1 -1
  342. package/libs/shared-utils/five/FiveDomEvents.js +30 -31
  343. package/libs/shared-utils/logger.js +1 -1
  344. package/libs/shared-utils/three/getNormal.js +5 -5
  345. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -39,7 +39,7 @@ import dl from "animejs";
39
39
  import { GLTFLoader as Zf } from "@realsee/five/gltf-loader";
40
40
  function qf() {
41
41
  console.debug(
42
- "%c %c@realsee/dnalogel %cv3.0.0-3",
42
+ "%c %c@realsee/dnalogel %cv3.0.0-5",
43
43
  [
44
44
  "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=')",
45
45
  "background-repeat: no-repeat",
@@ -1047,8 +1047,8 @@ class jE {
1047
1047
  }
1048
1048
  }
1049
1049
  const zE = (n, t) => {
1050
- var G, _;
1051
- let e = (_ = (G = t == null ? void 0 : t.initialState) == null ? void 0 : G.enabled) != null ? _ : !0, i = !1, s = !0, o = null;
1050
+ var N, _;
1051
+ let e = (_ = (N = t == null ? void 0 : t.initialState) == null ? void 0 : N.enabled) != null ? _ : !0, i = !1, s = !0, o = null;
1052
1052
  const a = V(V({}, {
1053
1053
  lookAtCurrentCamera: !1,
1054
1054
  lockedPanoIndex: null,
@@ -1072,21 +1072,21 @@ const zE = (n, t) => {
1072
1072
  const m = () => {
1073
1073
  if (i)
1074
1074
  return;
1075
- h = x(n.model, c.fov, c.aspect), f = n.model.bounding.getCenter(new C.Vector3()), l.remove(d), d = Y(n.model), l.add(d), i = !0, R();
1075
+ h = x(n.model, c.fov, c.aspect), f = n.model.bounding.getCenter(new C.Vector3()), l.remove(d), d = W(n.model), l.add(d), i = !0, R();
1076
1076
  function Q(J) {
1077
1077
  const X = J.clone();
1078
1078
  return X.uniforms.modelAlpha.value = 1, X.uniforms.map.value && (X.uniforms.map.value.needsUpdate = !0), X;
1079
1079
  }
1080
- function Y(J) {
1080
+ function W(J) {
1081
1081
  if (J instanceof C.Mesh) {
1082
1082
  const X = J.geometry, $ = Array.isArray(J.material) ? J.material.map(Q) : Q(J.material);
1083
1083
  return new C.Mesh(X, $);
1084
1084
  } else if (J instanceof C.Group) {
1085
1085
  const X = new C.Group();
1086
- return J.children.forEach(($) => X.add(Y($))), X;
1086
+ return J.children.forEach(($) => X.add(W($))), X;
1087
1087
  } else {
1088
1088
  const X = new C.Object3D();
1089
- return J.children.forEach(($) => X.add(Y($))), X;
1089
+ return J.children.forEach(($) => X.add(W($))), X;
1090
1090
  }
1091
1091
  }
1092
1092
  }, p = () => {
@@ -1102,11 +1102,11 @@ const zE = (n, t) => {
1102
1102
  e || (e = !0, l.add(d), !i && n.model.loaded && m(), R());
1103
1103
  }, y = () => {
1104
1104
  e && (l.remove(d), s = !0, L(), e = !1);
1105
- }, P = (Q, Y = {}) => {
1105
+ }, P = (Q, W = {}) => {
1106
1106
  const J = p();
1107
1107
  if (!J)
1108
1108
  return;
1109
- Q.appendChild(J.domElement), k(Y);
1109
+ Q.appendChild(J.domElement), k(W);
1110
1110
  const X = window.getComputedStyle(Q).position;
1111
1111
  X !== "relative" && X !== "absolute" && X !== "fixed" && X !== "sticky" && (Q.style.position = "relative");
1112
1112
  }, k = (Q = {}) => {
@@ -1119,12 +1119,12 @@ const zE = (n, t) => {
1119
1119
  }
1120
1120
  R();
1121
1121
  };
1122
- function x(Q, Y, J) {
1122
+ function x(Q, W, J) {
1123
1123
  const X = Q.bounding, $ = Math.pow(
1124
1124
  Math.pow(X.max.x - X.min.x + 1, 2) + Math.pow(X.max.y - X.min.y + 1, 2) + Math.pow(X.max.z - X.min.z + 1, 2),
1125
1125
  1 / 2
1126
1126
  );
1127
- let ce = $ / 2 / Math.tan(Math.PI * Y / 360);
1127
+ let ce = $ / 2 / Math.tan(Math.PI * W / 360);
1128
1128
  return J < 1 && (ce = ce / J), isNaN(ce) ? $ : ce;
1129
1129
  }
1130
1130
  function E(Q) {
@@ -1137,14 +1137,14 @@ const zE = (n, t) => {
1137
1137
  Q.fov = c.fov, Q.offset = f, Q.distance = h, typeof a.lockedLatitude == "number" && (Q.latitude = a.lockedLatitude), typeof a.lockedLongitude == "number" && (Q.longitude = a.lockedLongitude), typeof a.lockedPanoIndex == "number" && (Q.offset = E(a.lockedPanoIndex)), a.lookAtCurrentCamera && (Q.offset = n.camera.position.clone().setY(n.camera.position.y + 1)), c.setFromPose(Q), s = !0;
1138
1138
  }, L = () => {
1139
1139
  !e || s !== !0 || !o || !o.domElement.parentNode || o.domElement.parentNode.offsetWidth === 0 || (o.render(l, c), s = !1);
1140
- }, W = () => {
1140
+ }, U = () => {
1141
1141
  o && o.dispose(), o = null;
1142
1142
  }, F = (Q) => {
1143
1143
  Object.assign(a, Q), R();
1144
- }, N = () => ({
1144
+ }, G = () => ({
1145
1145
  enabled: e
1146
1146
  });
1147
- return Object.assign(window, { camera: c }), n.on("modelLoaded", g), n.on("modelWillLoad", A), n.on("cameraDirectionUpdate", R), n.on("dispose", W), n.on("renderFrame", L), n.on("cameraPositionUpdate", R), { appendTo: P, refresh: k, changeConfigs: F, enable: v, disable: y, getCurrentState: N };
1147
+ return Object.assign(window, { camera: c }), n.on("modelLoaded", g), n.on("modelWillLoad", A), n.on("cameraDirectionUpdate", R), n.on("dispose", U), n.on("renderFrame", L), n.on("cameraPositionUpdate", R), { appendTo: P, refresh: k, changeConfigs: F, enable: v, disable: y, getCurrentState: G };
1148
1148
  }, fm = ({ x: n, y: t, z: e }) => new ie(n, t, e), kt = (n) => new ie().fromArray(n), hn = (n) => n instanceof ie ? n : Array.isArray(n) ? kt(n) : fm(n);
1149
1149
  function mm(n) {
1150
1150
  if (n)
@@ -1330,8 +1330,8 @@ class Cm extends ea {
1330
1330
  else {
1331
1331
  const L = document.createElement("div");
1332
1332
  L.style.width = `${h}px`, L.style.height = `${f}px`, L.style.pointerEvents = "none";
1333
- const W = o / l;
1334
- i.style.position = "absolute", i.style.left = "0", i.style.top = "0", i.style.width = `${W * h}px`, i.style.height = `${W * f}px`, L.appendChild(i), p = L;
1333
+ const U = o / l;
1334
+ i.style.position = "absolute", i.style.left = "0", i.style.top = "0", i.style.width = `${U * h}px`, i.style.height = `${U * f}px`, L.appendChild(i), p = L;
1335
1335
  }
1336
1336
  super(p);
1337
1337
  u(this, "version", Bh);
@@ -3056,16 +3056,16 @@ function Bt(n, t, e, i, s, o, r, a, l, c, d, h) {
3056
3056
  const g = [], v = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), P = [];
3057
3057
  for (p = m; p--; ) {
3058
3058
  const R = h(s, o, p), L = e(R);
3059
- let W = r.get(L);
3060
- W ? i && P.push(() => W.p(R, t)) : (W = c(L, R), W.c()), v.set(L, g[p] = W), L in A && y.set(L, Math.abs(p - A[L]));
3059
+ let U = r.get(L);
3060
+ U ? i && P.push(() => U.p(R, t)) : (U = c(L, R), U.c()), v.set(L, g[p] = U), L in A && y.set(L, Math.abs(p - A[L]));
3061
3061
  }
3062
3062
  const k = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
3063
3063
  function E(R) {
3064
3064
  M(R, 1), R.m(a, d), r.set(R.key, R), d = R.first, m--;
3065
3065
  }
3066
3066
  for (; f && m; ) {
3067
- const R = g[m - 1], L = n[f - 1], W = R.key, F = L.key;
3068
- R === L ? (d = R.first, f--, m--) : v.has(F) ? !r.has(W) || k.has(W) ? E(R) : x.has(F) ? f-- : y.get(W) > y.get(F) ? (x.add(W), E(R)) : (k.add(F), f--) : (l(L, r), f--);
3067
+ const R = g[m - 1], L = n[f - 1], U = R.key, F = L.key;
3068
+ R === L ? (d = R.first, f--, m--) : v.has(F) ? !r.has(U) || k.has(U) ? E(R) : x.has(F) ? f-- : y.get(U) > y.get(F) ? (x.add(U), E(R)) : (k.add(F), f--) : (l(L, r), f--);
3069
3069
  }
3070
3070
  for (; f--; ) {
3071
3071
  const R = n[f];
@@ -3701,12 +3701,12 @@ function Og(n, t, e) {
3701
3701
  const R = P.get(E.id);
3702
3702
  if (R)
3703
3703
  return R;
3704
- const { x: L, y: W, z: F } = E.position, N = new ie(L, W, F).clone().distanceTo(s.camera.position);
3705
- return P.set(E.id, N), N;
3704
+ const { x: L, y: U, z: F } = E.position, G = new ie(L, U, F).clone().distanceTo(s.camera.position);
3705
+ return P.set(E.id, G), G;
3706
3706
  }
3707
3707
  return o.map((E) => {
3708
- const R = c(E), L = R ? d(E, y) : E.transform, W = k(E), N = o.filter((G) => G.visible && k(G) < W).length * 10;
3709
- return pe(V({}, E), { visible: R, transform: L, zIndex: N });
3708
+ const R = c(E), L = R ? d(E, y) : E.transform, U = k(E), G = o.filter((N) => N.visible && k(N) < U).length * 10;
3709
+ return pe(V({}, E), { visible: R, transform: L, zIndex: G });
3710
3710
  });
3711
3711
  }
3712
3712
  function f() {
@@ -4478,10 +4478,10 @@ function fp(n, t) {
4478
4478
  }
4479
4479
  function mp(n, t, e) {
4480
4480
  let i, s, o, r, a, { pxmm: l } = t, { roomAreaEnable: c } = t, { roomNameEnable: d } = t, { room: h } = t, { hoveredRoom: f } = t, { getRoomAreaText: m } = t, { getLabelElement: p } = t, { adaptiveRoomLabelVisibleEnable: A } = t;
4481
- function g(G, _) {
4481
+ function g(N, _) {
4482
4482
  if (_.width === 0 || _.height === 0)
4483
4483
  return () => !1;
4484
- const Q = G.path.map(({ x: Ce, y: Ae }) => [Ce, Ae]), Y = G.roomLabel.position, { x: J, y: X } = Y, { width: $, height: ce } = _, oe = $ / 2, we = ce / 2;
4484
+ const Q = N.path.map(({ x: Ce, y: Ae }) => [Ce, Ae]), W = N.roomLabel.position, { x: J, y: X } = W, { width: $, height: ce } = _, oe = $ / 2, we = ce / 2;
4485
4485
  return function(Ae) {
4486
4486
  const Oe = J * Ae, ve = X * Ae, Fe = Q.map(([ye, Le]) => [ye * Ae, Le * Ae]);
4487
4487
  return [
@@ -4493,24 +4493,24 @@ function mp(n, t, e) {
4493
4493
  };
4494
4494
  }
4495
4495
  const v = document.body.clientWidth, y = document.body.clientHeight, P = h.roomLabel, k = P.positionInImage.x * 100 + "%", x = P.positionInImage.y * 100 + "%", E = (v < 500 || y < 500 ? 10 : 14) + "px";
4496
- let R = 0, L = 0, W = !1;
4496
+ let R = 0, L = 0, U = !1;
4497
4497
  f.subscribe(function(_) {
4498
- e(16, W = !!_ && _.id === h.id);
4498
+ e(16, U = !!_ && _.id === h.id);
4499
4499
  });
4500
- const F = (G) => {
4501
- e(4, R = G.detail);
4502
- }, N = (G) => {
4503
- e(5, L = G.detail);
4500
+ const F = (N) => {
4501
+ e(4, R = N.detail);
4502
+ }, G = (N) => {
4503
+ e(5, L = N.detail);
4504
4504
  };
4505
- return n.$$set = (G) => {
4506
- "pxmm" in G && e(12, l = G.pxmm), "roomAreaEnable" in G && e(0, c = G.roomAreaEnable), "roomNameEnable" in G && e(1, d = G.roomNameEnable), "room" in G && e(2, h = G.room), "hoveredRoom" in G && e(13, f = G.hoveredRoom), "getRoomAreaText" in G && e(14, m = G.getRoomAreaText), "getLabelElement" in G && e(3, p = G.getLabelElement), "adaptiveRoomLabelVisibleEnable" in G && e(15, A = G.adaptiveRoomLabelVisibleEnable);
4505
+ return n.$$set = (N) => {
4506
+ "pxmm" in N && e(12, l = N.pxmm), "roomAreaEnable" in N && e(0, c = N.roomAreaEnable), "roomNameEnable" in N && e(1, d = N.roomNameEnable), "room" in N && e(2, h = N.room), "hoveredRoom" in N && e(13, f = N.hoveredRoom), "getRoomAreaText" in N && e(14, m = N.getRoomAreaText), "getLabelElement" in N && e(3, p = N.getLabelElement), "adaptiveRoomLabelVisibleEnable" in N && e(15, A = N.adaptiveRoomLabelVisibleEnable);
4507
4507
  }, n.$$.update = () => {
4508
4508
  n.$$.dirty & /*getLabelElement, room*/
4509
4509
  12 && e(8, i = p == null ? void 0 : p(h)), n.$$.dirty & /*room, getRoomAreaText*/
4510
4510
  16388 && e(7, s = h.size ? m(h.size) : ""), n.$$.dirty & /*clientWidth, clientHeight*/
4511
4511
  48 && e(18, o = { width: R, height: L }), n.$$.dirty & /*labelElementSize, room*/
4512
4512
  262148 && e(17, r = o ? g(h, o) : void 0), n.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHovered, isLabelInRoom, pxmm*/
4513
- 233472 && e(6, a = A ? W ? !0 : !!(r != null && r(l)) : !0);
4513
+ 233472 && e(6, a = A ? U ? !0 : !!(r != null && r(l)) : !0);
4514
4514
  }, [
4515
4515
  c,
4516
4516
  d,
@@ -4528,11 +4528,11 @@ function mp(n, t, e) {
4528
4528
  f,
4529
4529
  m,
4530
4530
  A,
4531
- W,
4531
+ U,
4532
4532
  r,
4533
4533
  o,
4534
4534
  F,
4535
- N
4535
+ G
4536
4536
  ];
4537
4537
  }
4538
4538
  class gp extends le {
@@ -6848,7 +6848,7 @@ let Vn = class {
6848
6848
  /**
6849
6849
  * @realsee/dnalogel 版本号
6850
6850
  */
6851
- u(this, "VERSION", "3.0.0-3");
6851
+ u(this, "VERSION", "3.0.0-5");
6852
6852
  u(this, "five");
6853
6853
  /**
6854
6854
  * 插件事件钩子
@@ -8506,8 +8506,8 @@ function QA(n, t, e) {
8506
8506
  }, n.$$.update = () => {
8507
8507
  if (n.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
8508
8508
  904) {
8509
- const x = Math.min(f, m), { max: E, min: R } = r.bounding, L = E.x - R.x, W = E.y - R.y, F = function() {
8510
- return L > W ? [x, x / L * W] : [x / W * L, x];
8509
+ const x = Math.min(f, m), { max: E, min: R } = r.bounding, L = E.x - R.x, U = E.y - R.y, F = function() {
8510
+ return L > U ? [x, x / L * U] : [x / U * L, x];
8511
8511
  }();
8512
8512
  e(9, p = F[0]), e(12, A = F[1]), e(10, d = p / L);
8513
8513
  }
@@ -8852,9 +8852,9 @@ const nk = (n, t) => {
8852
8852
  return;
8853
8853
  const v = n.model.bounding, y = v.max.x - v.min.x, P = v.max.z - v.min.z, k = Math.max(y, P), {
8854
8854
  max: { x, z: E },
8855
- min: { x: R, y: L, z: W }
8855
+ min: { x: R, y: L, z: U }
8856
8856
  } = v;
8857
- s.yBase = L, o = { x: (x + R) / 2, y: L - 1.6, z: (E + W) / 2 }, r = [0, l - Math.PI / 2, 0], a = 45e-4 * k, HA(g, { position: o, rotation: r, scale: a });
8857
+ s.yBase = L, o = { x: (x + R) / 2, y: L - 1.6, z: (E + U) / 2 }, r = [0, l - Math.PI / 2, 0], a = 45e-4 * k, HA(g, { position: o, rotation: r, scale: a });
8858
8858
  }
8859
8859
  return { load: c, disable: m, enable: f };
8860
8860
  };
@@ -8868,20 +8868,20 @@ function _A(n, t) {
8868
8868
  const FA = ({ x: n, y: t, z: e }) => new ie(n, t, e), sk = (n, t) => {
8869
8869
  var A, g, v;
8870
8870
  const e = {}, i = (A = t.animationEnabled) != null ? A : !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) => H(void 0, null, function* () {
8871
- var F, N, G, _, Q, Y, J, X;
8871
+ var F, G, N, _, Q, W, J, X;
8872
8872
  const P = (F = y == null ? void 0 : y.position) != null ? F : s;
8873
8873
  if (!P)
8874
8874
  return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
8875
- const k = FA(P), x = (N = y == null ? void 0 : y.rad) != null ? N : o, E = (G = y == null ? void 0 : y.fbx_url) != null ? G : r;
8875
+ const k = FA(P), x = (G = y == null ? void 0 : y.rad) != null ? G : o, E = (N = y == null ? void 0 : y.fbx_url) != null ? N : r;
8876
8876
  if (e.rad = x, x === void 0)
8877
8877
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${x}`));
8878
8878
  const R = yield new Th().loadAsync(E);
8879
8879
  R.position.copy(k), R.rotation.z = x, R.scale.set(0.8, 0.8, 0.8), Eu(R, { transparent: !0, side: C.DoubleSide });
8880
- const L = (J = (Y = (Q = (_ = R.children) == null ? void 0 : _[0]) == null ? void 0 : Q.children) == null ? void 0 : Y[3]) == null ? void 0 : J.clone();
8880
+ const L = (J = (W = (Q = (_ = R.children) == null ? void 0 : _[0]) == null ? void 0 : Q.children) == null ? void 0 : W[3]) == null ? void 0 : J.clone();
8881
8881
  if (!L)
8882
8882
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${L}`));
8883
- const W = (X = t.name) != null ? X : "入户门";
8884
- return L.material = new ps({ transparent: !0, map: _A(W) }), L.renderOrder = 3, R.children[0].add(L), e.object = R, !0;
8883
+ const U = (X = t.name) != null ? X : "入户门";
8884
+ return L.material = new ps({ transparent: !0, map: _A(U) }), L.renderOrder = 3, R.children[0].add(L), e.object = R, !0;
8885
8885
  }), c = () => {
8886
8886
  if (e.animation)
8887
8887
  return;
@@ -8893,23 +8893,23 @@ const FA = ({ x: n, y: t, z: e }) => new ie(n, t, e), sk = (n, t) => {
8893
8893
  k.timeScale = y;
8894
8894
  let x;
8895
8895
  const E = () => {
8896
- let F = 0, N = 0;
8897
- const G = 1e3 / 30, _ = (Q) => {
8896
+ let F = 0, G = 0;
8897
+ const N = 1e3 / 30, _ = (Q) => {
8898
8898
  F = requestAnimationFrame(_);
8899
- const Y = Q - N;
8900
- Y < G || (N = Q, a.forEach((J) => J.update(Y / 1e3)), n.needsRender = !0);
8899
+ const W = Q - G;
8900
+ W < N || (G = Q, a.forEach((J) => J.update(W / 1e3)), n.needsRender = !0);
8901
8901
  };
8902
8902
  return F = requestAnimationFrame(_), () => {
8903
8903
  cancelAnimationFrame(F);
8904
8904
  };
8905
- }, W = { play: () => {
8905
+ }, U = { play: () => {
8906
8906
  x || (k.play(), x = E(), requestAnimationFrame(() => {
8907
8907
  e.object && e.object.rotation.z !== e.rad && (e.object.rotation.z = e.rad);
8908
8908
  }));
8909
8909
  }, stop: () => {
8910
8910
  k.stop(), x == null || x(), x = void 0;
8911
8911
  } };
8912
- e.animation = W;
8912
+ e.animation = U;
8913
8913
  }, d = (y) => {
8914
8914
  var k;
8915
8915
  if (!e.object)
@@ -9202,15 +9202,15 @@ const qA = `<style type="text/css">
9202
9202
  if (!y)
9203
9203
  return !1;
9204
9204
  for (const P in g) {
9205
- const k = g[P], { standingPosition: x } = y.observers[0], E = k.map(({ x: R, z: L, observers: W }) => {
9206
- const F = W.length > 0 ? A.rooms[A.observers[W[0]]].name : "", N = v[F] ? v[F].floor : null;
9207
- let G = 1 / 0, _ = {
9205
+ const k = g[P], { standingPosition: x } = y.observers[0], E = k.map(({ x: R, z: L, observers: U }) => {
9206
+ const F = U.length > 0 ? A.rooms[A.observers[U[0]]].name : "", G = v[F] ? v[F].floor : null;
9207
+ let N = 1 / 0, _ = {
9208
9208
  index: 0,
9209
9209
  x: x.x,
9210
9210
  y: x.y,
9211
9211
  z: x.z
9212
9212
  };
9213
- W.forEach((ce) => {
9213
+ U.forEach((ce) => {
9214
9214
  if (!y.observers[ce])
9215
9215
  return;
9216
9216
  const { standingPosition: oe } = y.observers[ce], we = {
@@ -9219,12 +9219,12 @@ const qA = `<style type="text/css">
9219
9219
  y: oe.y,
9220
9220
  z: oe.z
9221
9221
  }, Ce = KA({ x: R, z: L }, we);
9222
- N ? Ce < G && Math.abs(we.y - N) < 0.3 && (G = Ce, _ = we) : Ce < G && (G = Ce, _ = we);
9222
+ G ? Ce < N && Math.abs(we.y - G) < 0.3 && (N = Ce, _ = we) : Ce < N && (N = Ce, _ = we);
9223
9223
  });
9224
9224
  const Q = new ie(R, _.y, L);
9225
- Object.assign(Q, { observers: W });
9226
- const Y = v[F] ? v[F].roof : null, J = Y ? new ie(R, Y, L) : null;
9227
- return J && Object.assign(J, { observers: W }), { origin: Q, vertical: J };
9225
+ Object.assign(Q, { observers: U });
9226
+ const W = v[F] ? v[F].roof : null, J = W ? new ie(R, W, L) : null;
9227
+ return J && Object.assign(J, { observers: U }), { origin: Q, vertical: J };
9228
9228
  });
9229
9229
  r[P] = {
9230
9230
  origins: E.map((R) => R.origin),
@@ -9233,14 +9233,14 @@ const qA = `<style type="text/css">
9233
9233
  for (const { origin: R, vertical: L } of E) {
9234
9234
  if (!L)
9235
9235
  continue;
9236
- const W = i(P, R.distanceTo(L));
9237
- s.append(W), r[P].rules.push({ vertical: !0, rule: [R, L], $element: W });
9236
+ const U = i(P, R.distanceTo(L));
9237
+ s.append(U), r[P].rules.push({ vertical: !0, rule: [R, L], $element: U });
9238
9238
  }
9239
9239
  for (let R = 0; R < E.length; R++) {
9240
9240
  let L = R + 1;
9241
9241
  L >= E.length && (L = 0);
9242
- const { origin: W } = E[R], { origin: F } = E[L], N = i(P, W.distanceTo(F));
9243
- s.append(N), r[P].rules.push({ vertical: !1, rule: [W, F], $element: N });
9242
+ const { origin: U } = E[R], { origin: F } = E[L], G = i(P, U.distanceTo(F));
9243
+ s.append(G), r[P].rules.push({ vertical: !1, rule: [U, F], $element: G });
9244
9244
  }
9245
9245
  }
9246
9246
  return e.loaded = !0, !0;
@@ -9278,8 +9278,8 @@ const qA = `<style type="text/css">
9278
9278
  }
9279
9279
  return k.length === 0 ? !1 : k;
9280
9280
  }, d = () => {
9281
- var W;
9282
- const A = (W = n.getElement()) == null ? void 0 : W.parentElement;
9281
+ var U;
9282
+ const A = (U = n.getElement()) == null ? void 0 : U.parentElement;
9283
9283
  if (!A || !e.loaded || Object.keys(r).length <= 0)
9284
9284
  return;
9285
9285
  const { panoIndex: g, camera: v, currentMode: y } = n;
@@ -9290,55 +9290,55 @@ const qA = `<style type="text/css">
9290
9290
  F.split(",").indexOf(g.toString()) >= 0 && (P = F);
9291
9291
  if (!P) {
9292
9292
  for (const F in r)
9293
- for (const { $element: N } of r[F].rules)
9294
- N.style.display = "none";
9293
+ for (const { $element: G } of r[F].rules)
9294
+ G.style.display = "none";
9295
9295
  return;
9296
9296
  }
9297
9297
  const k = v.position, x = v.getWorldDirection(new ie()), E = A.clientWidth, R = A.clientHeight;
9298
9298
  if (y !== $e.Mode.Panorama) {
9299
9299
  for (const F in r)
9300
- for (const { $element: N } of r[F].rules)
9301
- N.style.display = "none";
9300
+ for (const { $element: G } of r[F].rules)
9301
+ G.style.display = "none";
9302
9302
  return;
9303
9303
  }
9304
9304
  for (const F in r)
9305
- for (const { $element: N } of r[F].rules)
9306
- N.style.display = F === P ? "block" : "none";
9307
- const [L] = r[P].origins.slice().filter((F) => F.observers.indexOf(g) >= 0).sort((F, N) => {
9308
- const G = F.clone().setY(0).sub(k).normalize().angleTo(x.clone().setY(0)), _ = N.clone().setY(0).sub(k).normalize().angleTo(x.clone().setY(0));
9309
- return G - _;
9310
- });
9311
- for (const { rule: F, vertical: N, $element: G } of r[P].rules) {
9312
- const [_, Q] = F, Y = G.querySelector(".PanoRulerPlugin-rule-line");
9313
- if (!Y)
9305
+ for (const { $element: G } of r[F].rules)
9306
+ G.style.display = F === P ? "block" : "none";
9307
+ const [L] = r[P].origins.slice().filter((F) => F.observers.indexOf(g) >= 0).sort((F, G) => {
9308
+ const N = F.clone().setY(0).sub(k).normalize().angleTo(x.clone().setY(0)), _ = G.clone().setY(0).sub(k).normalize().angleTo(x.clone().setY(0));
9309
+ return N - _;
9310
+ });
9311
+ for (const { rule: F, vertical: G, $element: N } of r[P].rules) {
9312
+ const [_, Q] = F, W = N.querySelector(".PanoRulerPlugin-rule-line");
9313
+ if (!W)
9314
9314
  return;
9315
9315
  if (!L) {
9316
- G.style.display = "none";
9316
+ N.style.display = "none";
9317
9317
  continue;
9318
9318
  }
9319
9319
  if (_ !== L && Q !== L) {
9320
- G.style.display = "none";
9320
+ N.style.display = "none";
9321
9321
  continue;
9322
9322
  }
9323
9323
  if (_.distanceTo(Q) < 0.3) {
9324
- G.style.display = "none";
9324
+ N.style.display = "none";
9325
9325
  continue;
9326
9326
  }
9327
9327
  if (_.observers.indexOf(g) === -1 || Q.observers.indexOf(g) === -1) {
9328
- G.style.display = "none";
9328
+ N.style.display = "none";
9329
9329
  continue;
9330
9330
  }
9331
9331
  if (_.clone().sub(k).normalize().angleTo(x) > Math.PI / 2) {
9332
- G.style.display = "none";
9332
+ N.style.display = "none";
9333
9333
  continue;
9334
9334
  }
9335
9335
  if (Q.clone().sub(k).normalize().angleTo(x) > Math.PI / 2) {
9336
- G.style.display = "none";
9336
+ N.style.display = "none";
9337
9337
  continue;
9338
9338
  }
9339
9339
  const $ = _.distanceTo(Q);
9340
9340
  if (Q.clone().sub(Q.clone().sub(_).divide(new ie(2, 2, 2))).distanceTo(k) / $ > 8) {
9341
- G.style.display = "none";
9341
+ N.style.display = "none";
9342
9342
  continue;
9343
9343
  }
9344
9344
  const we = _.clone().project(v), Ce = (we.x + 1) / 2 * E, Ae = (-we.y + 1) / 2 * R, Oe = Q.clone().project(v), ve = (Oe.x + 1) / 2 * E, Fe = (-Oe.y + 1) / 2 * R, fe = Math.sqrt(Math.pow(ve - Ce, 2) + Math.pow(Fe - Ae, 2));
@@ -9356,8 +9356,8 @@ const qA = `<style type="text/css">
9356
9356
  Math.pow(re.x - Ce, 2) + Math.pow(re.y - Ae, 2)
9357
9357
  ) / fe * 100;
9358
9358
  }
9359
- const ht = (Math.PI / 2 - Math.atan2(ve - Ce, Ae - Fe)) / Math.PI * 180, ke = Y.querySelector(".PanoRulerPlugin-rule-label"), nt = ke.children[0].clientWidth;
9360
- nt >= fe || nt / 2 >= Le / 100 * fe || nt / 2 >= (1 - Le / 100) * fe ? Y.style.display = "none" : (Y.style.display = "block", Y.style.width = fe + "px", Y.style.left = Ce + "px", Y.style.top = Ae + "px", Y.style.transform = `rotate(${-ht}deg)`, ke.style.left = `${Le}%`);
9359
+ const ht = (Math.PI / 2 - Math.atan2(ve - Ce, Ae - Fe)) / Math.PI * 180, ke = W.querySelector(".PanoRulerPlugin-rule-label"), nt = ke.children[0].clientWidth;
9360
+ nt >= fe || nt / 2 >= Le / 100 * fe || nt / 2 >= (1 - Le / 100) * fe ? W.style.display = "none" : (W.style.display = "block", W.style.width = fe + "px", W.style.left = Ce + "px", W.style.top = Ae + "px", W.style.transform = `rotate(${-ht}deg)`, ke.style.left = `${Le}%`);
9361
9361
  }
9362
9362
  }, h = () => xu(d), f = () => {
9363
9363
  var A, g;
@@ -9691,21 +9691,21 @@ function av(n, t, e) {
9691
9691
  }
9692
9692
  return E.length === 0 ? !1 : E;
9693
9693
  }, d = (P, k) => {
9694
- const x = P.clone().project(i.camera), E = (x.x + 1) / 2 * a, R = (-x.y + 1) / 2 * l, L = k.clone().project(i.camera), W = (L.x + 1) / 2 * a, F = (-L.y + 1) / 2 * l, N = Math.sqrt(Math.pow(W - E, 2) + Math.pow(F - R, 2));
9694
+ const x = P.clone().project(i.camera), E = (x.x + 1) / 2 * a, R = (-x.y + 1) / 2 * l, L = k.clone().project(i.camera), U = (L.x + 1) / 2 * a, F = (-L.y + 1) / 2 * l, G = Math.sqrt(Math.pow(U - E, 2) + Math.pow(F - R, 2));
9695
9695
  return {
9696
9696
  startLeft: E,
9697
9697
  startTop: R,
9698
- endLeft: W,
9698
+ endLeft: U,
9699
9699
  endTop: F,
9700
- distance: N
9700
+ distance: G
9701
9701
  };
9702
9702
  }, h = (P, k, x) => {
9703
- const E = i.camera.position, R = i.camera.getWorldDirection(new ie()), L = P.clone().sub(E).normalize().angleTo(R), W = k.clone().sub(E).normalize().angleTo(R), F = P.distanceTo(k), G = k.clone().sub(k.clone().sub(P).divide(new ie(2, 2, 2))).distanceTo(E), { startLeft: _, startTop: Q, endLeft: Y, endTop: J, distance: X } = d(P, k), ce = -((Math.PI / 2 - Math.atan2(Y - _, Q - J)) / Math.PI) * 180;
9703
+ const E = i.camera.position, R = i.camera.getWorldDirection(new ie()), L = P.clone().sub(E).normalize().angleTo(R), U = k.clone().sub(E).normalize().angleTo(R), F = P.distanceTo(k), N = k.clone().sub(k.clone().sub(P).divide(new ie(2, 2, 2))).distanceTo(E), { startLeft: _, startTop: Q, endLeft: W, endTop: J, distance: X } = d(P, k), ce = -((Math.PI / 2 - Math.atan2(W - _, Q - J)) / Math.PI) * 180;
9704
9704
  let oe = !0;
9705
- x || (oe = !1), !ct(P, x) && !ct(k, x) && (oe = !1), F < 0.3 && (oe = !1), L > Math.PI / 2 && (oe = !1), W > Math.PI / 2 && (oe = !1), G / F > 8 && (oe = !1);
9705
+ x || (oe = !1), !ct(P, x) && !ct(k, x) && (oe = !1), F < 0.3 && (oe = !1), L > Math.PI / 2 && (oe = !1), U > Math.PI / 2 && (oe = !1), N / F > 8 && (oe = !1);
9706
9706
  let we = 50, Ce = X;
9707
- const Ae = c({ x: ~~_, y: ~~Q }, { x: ~~Y, y: ~~J });
9708
- if (Ae && Ae.length === 1 && (ct(P, x) ? (Ce = Math.sqrt(Math.pow(Ae[0].x - _, 2) + Math.pow(Ae[0].y - Q, 2)), we = Ce / X * 50) : ct(k, x) && (Ce = Math.sqrt(Math.pow(Ae[0].x - Y, 2) + Math.pow(Ae[0].y - J, 2)), we = 100 - Ce / X * 50)), Ae && Ae.length === 2) {
9707
+ const Ae = c({ x: ~~_, y: ~~Q }, { x: ~~W, y: ~~J });
9708
+ if (Ae && Ae.length === 1 && (ct(P, x) ? (Ce = Math.sqrt(Math.pow(Ae[0].x - _, 2) + Math.pow(Ae[0].y - Q, 2)), we = Ce / X * 50) : ct(k, x) && (Ce = Math.sqrt(Math.pow(Ae[0].x - W, 2) + Math.pow(Ae[0].y - J, 2)), we = 100 - Ce / X * 50)), Ae && Ae.length === 2) {
9709
9709
  const Oe = {
9710
9710
  x: (Ae[0].x + Ae[1].x) / 2,
9711
9711
  y: (Ae[0].y + Ae[1].y) / 2
@@ -9722,26 +9722,26 @@ function av(n, t, e) {
9722
9722
  ruleLength: F
9723
9723
  };
9724
9724
  }, f = () => {
9725
- const P = i.panoIndex, k = s.find((N) => N.panoIndex === P);
9725
+ const P = i.panoIndex, k = s.find((G) => G.panoIndex === P);
9726
9726
  if (!k)
9727
9727
  return e(0, r = []);
9728
9728
  if (i.currentMode !== $e.Mode.Panorama)
9729
9729
  return e(0, r = []);
9730
- const x = i.camera.position, E = i.camera.getWorldDirection(new ie()), R = k.lines.map((N) => new ie(N.start[0], -N.start[1], -N.start[2])), L = k.lines.map((N) => new ie(N.end[0], -N.end[1], -N.end[2])), [W] = R.concat(L).sort((N, G) => {
9731
- const _ = N.clone().setY(0).sub(x).normalize().angleTo(E.clone().setY(0)), Q = G.clone().setY(0).sub(x).normalize().angleTo(E.clone().setY(0));
9730
+ const x = i.camera.position, E = i.camera.getWorldDirection(new ie()), R = k.lines.map((G) => new ie(G.start[0], -G.start[1], -G.start[2])), L = k.lines.map((G) => new ie(G.end[0], -G.end[1], -G.end[2])), [U] = R.concat(L).sort((G, N) => {
9731
+ const _ = G.clone().setY(0).sub(x).normalize().angleTo(E.clone().setY(0)), Q = N.clone().setY(0).sub(x).normalize().angleTo(E.clone().setY(0));
9732
9732
  return _ - Q;
9733
- }), F = k.lines.map((N) => {
9733
+ }), F = k.lines.map((G) => {
9734
9734
  var Ce, Ae;
9735
- const G = N.start, _ = N.end, { startLeft: Q, startTop: Y, distance: J, deg: X, visible: $, labelOffset: ce, ruleLength: oe } = h(new ie(G[0], -G[1], -G[2]), new ie(_[0], -_[1], -_[2]), W), we = [];
9736
- return N.children && ((Ce = N.children) == null ? void 0 : Ce.length) > 0 && ((Ae = N.children) == null || Ae.forEach((Oe) => {
9735
+ const N = G.start, _ = G.end, { startLeft: Q, startTop: W, distance: J, deg: X, visible: $, labelOffset: ce, ruleLength: oe } = h(new ie(N[0], -N[1], -N[2]), new ie(_[0], -_[1], -_[2]), U), we = [];
9736
+ return G.children && ((Ce = G.children) == null ? void 0 : Ce.length) > 0 && ((Ae = G.children) == null || Ae.forEach((Oe) => {
9737
9737
  const ve = Oe.start, Fe = Oe.end, { distance: fe } = d(new ie(ve[0], -ve[1], -ve[2]), new ie(Fe[0], -Fe[1], -Fe[2]));
9738
9738
  we.push({ width: fe, state: Oe.state });
9739
9739
  })), {
9740
9740
  width: J,
9741
9741
  left: Q,
9742
- top: Y,
9742
+ top: W,
9743
9743
  rotateDeg: X,
9744
- state: N.state,
9744
+ state: G.state,
9745
9745
  children: we,
9746
9746
  labelOffset: ce,
9747
9747
  visible: $,
@@ -13377,7 +13377,7 @@ function L0(n, t, e) {
13377
13377
  }), Ot(() => {
13378
13378
  i.hook.off("measureTypeChange", E), i.hook.off("modeChange", k), i.hook.off("allowAddPointStateChange", x), i.hook.off("readyComplete", v), i.hook.off("pointsChange", P), i.hook.off("notReadyComplete", y), i.hook.off("complete", k);
13379
13379
  });
13380
- const L = () => i.revoke(), W = () => {
13380
+ const L = () => i.revoke(), U = () => {
13381
13381
  d === "start" ? f() : d === "add" ? m() : (d === "end" || d === "complete") && g();
13382
13382
  };
13383
13383
  return n.$$set = (F) => {
@@ -13400,7 +13400,7 @@ function L0(n, t, e) {
13400
13400
  g,
13401
13401
  h,
13402
13402
  L,
13403
- W
13403
+ U
13404
13404
  ];
13405
13405
  }
13406
13406
  class j0 extends le {
@@ -14309,17 +14309,17 @@ function K0(n, t, e) {
14309
14309
  const R = Object.keys(f);
14310
14310
  let L = E.target;
14311
14311
  for (; L; ) {
14312
- const W = L.getAttribute("class");
14313
- if (!W) {
14312
+ const U = L.getAttribute("class");
14313
+ if (!U) {
14314
14314
  L = L.parentNode;
14315
14315
  continue;
14316
14316
  }
14317
- if (W.includes("PanoSpatialTagPlugin__tag-content")) {
14317
+ if (U.includes("PanoSpatialTagPlugin__tag-content")) {
14318
14318
  L = null;
14319
14319
  break;
14320
14320
  }
14321
14321
  R.forEach((F) => {
14322
- W.includes(F) && f[F](i);
14322
+ U.includes(F) && f[F](i);
14323
14323
  }), L = L.parentNode;
14324
14324
  }
14325
14325
  };
@@ -14713,15 +14713,15 @@ const Br = 1e-3, Gc = 0.01, ob = "https://vrlab-image4.ljcdn.com/release/web/Pan
14713
14713
  weight: (me = ye.weight) != null ? me : -1
14714
14714
  };
14715
14715
  }), fe.render && (A.render = fe.render), fe.template && (A.template = fe.template), fe.events && (A.events = fe.events), fe.enabled === !1 && (A.enabled = fe.enabled), fe.folded === !0 && (A.folded = fe.folded);
14716
- }, W = (fe) => {
14716
+ }, U = (fe) => {
14717
14717
  A.intersectObjects = fe, E();
14718
14718
  }, F = () => {
14719
14719
  A.enabled = !0, E();
14720
- }, N = () => {
14720
+ }, G = () => {
14721
14721
  A.enabled = !1, g.$set({ origins: [] }), A.tags.forEach((fe) => {
14722
14722
  fe.app.$destroy(), fe = null;
14723
14723
  }), A.origins = [], A.tags = [];
14724
- }, G = () => {
14724
+ }, N = () => {
14725
14725
  A.folded = !1, A.tags.forEach((fe) => {
14726
14726
  fe.app.$set({ folded: A.folded });
14727
14727
  });
@@ -14733,7 +14733,7 @@ const Br = 1e-3, Gc = 0.01, ob = "https://vrlab-image4.ljcdn.com/release/web/Pan
14733
14733
  A.tags.forEach((ye) => {
14734
14734
  ye.id === fe && ye.app.$set({ folded: !1 });
14735
14735
  });
14736
- }, Y = (fe) => {
14736
+ }, W = (fe) => {
14737
14737
  A.tags.forEach((ye) => {
14738
14738
  ye.id === fe && ye.app.$set({ folded: !0 });
14739
14739
  });
@@ -14748,13 +14748,13 @@ const Br = 1e-3, Gc = 0.01, ob = "https://vrlab-image4.ljcdn.com/release/web/Pan
14748
14748
  };
14749
14749
  return window.addEventListener("resize", J, !1), (Fe = n == null ? void 0 : n.model) != null && Fe.loaded ? X() : n.once("modelLoaded", X), n.on("dispose", $), {
14750
14750
  load: L,
14751
- setIntersectObjects: W,
14752
- unfoldAll: G,
14751
+ setIntersectObjects: U,
14752
+ unfoldAll: N,
14753
14753
  foldAll: _,
14754
14754
  unfold: Q,
14755
- fold: Y,
14755
+ fold: W,
14756
14756
  enable: F,
14757
- disable: N,
14757
+ disable: G,
14758
14758
  hooks: m,
14759
14759
  dispose: $
14760
14760
  };
@@ -15023,12 +15023,12 @@ function mb(n, t, e) {
15023
15023
  const { Raycaster: i, Vector3: s } = C;
15024
15024
  let { five: o } = t, { modelOcclusionEnable: r } = t, { itemLabels: a } = t, { hooks: l } = t, { displayStrategyType: c } = t, d = null, h = null, f, m, p = [], A = !0;
15025
15025
  const g = (_, Q) => {
15026
- const Y = new i(), J = _.camera.position.clone(), X = new s().fromArray(Q.modelPosition), $ = X.distanceTo(J);
15027
- Y.set(J.clone(), X.clone().sub(J).normalize());
15028
- const [ce] = _.model.intersectRaycaster(Y);
15026
+ const W = new i(), J = _.camera.position.clone(), X = new s().fromArray(Q.modelPosition), $ = X.distanceTo(J);
15027
+ W.set(J.clone(), X.clone().sub(J).normalize());
15028
+ const [ce] = _.model.intersectRaycaster(W);
15029
15029
  return !(ce && ce.distance + 1 < $);
15030
15030
  }, v = (_, Q) => {
15031
- const Y = new s(Q.modelPosition[0], Q.modelPosition[1], Q.modelPosition[2]), J = _.project2d(Y), X = J == null ? void 0 : J.x, $ = J == null ? void 0 : J.y;
15031
+ const W = new s(Q.modelPosition[0], Q.modelPosition[1], Q.modelPosition[2]), J = _.project2d(W), X = J == null ? void 0 : J.x, $ = J == null ? void 0 : J.y;
15032
15032
  return [X, $];
15033
15033
  }, y = (_) => `translate(${_[0]}px, ${_[1]}px)`, P = (_, Q) => p.length === 0 ? !1 : !!p.find((J) => _[0] >= J[0] - Q && _[0] <= J[0] + Q || _[1] >= J[1] - _c && _[1] <= J[1] + _c);
15034
15034
  function k(_, Q) {
@@ -15044,7 +15044,7 @@ function mb(n, t, e) {
15044
15044
  }
15045
15045
  }
15046
15046
  const x = (_, Q) => {
15047
- const Y = Q.map((X) => {
15047
+ const W = Q.map((X) => {
15048
15048
  const $ = v(_, X), ce = X.name.length * fb, oe = k(X.modelPosition[1], c), Ce = (r ? g(_, X) : !0) && !P([$[0], $[1] + oe], ce);
15049
15049
  if (!Ce)
15050
15050
  return pe(V({}, X), { visible: Ce });
@@ -15055,11 +15055,11 @@ function mb(n, t, e) {
15055
15055
  transform: Ae,
15056
15056
  strokeLength: oe
15057
15057
  });
15058
- }), J = Y.filter(({ visible: X }) => X).map((X) => ({
15058
+ }), J = W.filter(({ visible: X }) => X).map((X) => ({
15059
15059
  itemLabelItem: X,
15060
15060
  distance: new s(X.modelPosition[0], X.modelPosition[1], X.modelPosition[2]).clone().distanceTo(_.camera.position)
15061
15061
  })).sort((X, $) => X.distance - $.distance);
15062
- return Y.map((X) => {
15062
+ return W.map((X) => {
15063
15063
  const $ = J.findIndex((ce) => ce.itemLabelItem.id === X.id);
15064
15064
  return $ !== void 0 ? pe(V({}, X), { zIndex: $ * 10 }) : X;
15065
15065
  });
@@ -15073,24 +15073,24 @@ function mb(n, t, e) {
15073
15073
  e(4, A = !1), L();
15074
15074
  };
15075
15075
  yt(() => {
15076
- e(1, h = a), d = a, E(), W(), o.on("cameraUpdate", R);
15076
+ e(1, h = a), d = a, E(), U(), o.on("cameraUpdate", R);
15077
15077
  });
15078
15078
  const L = Fu(
15079
15079
  () => {
15080
15080
  e(4, A = !0), E();
15081
15081
  },
15082
15082
  300
15083
- ), W = () => {
15084
- window.addEventListener("resize", N, !1);
15083
+ ), U = () => {
15084
+ window.addEventListener("resize", G, !1);
15085
15085
  }, F = () => {
15086
15086
  d !== a && (e(1, h = a), d = a, E());
15087
- }, N = () => {
15087
+ }, G = () => {
15088
15088
  o.once("renderFrame", E);
15089
15089
  };
15090
15090
  Ot(() => {
15091
- o.off("cameraUpdate", R), window.removeEventListener("resize", N, !1);
15091
+ o.off("cameraUpdate", R), window.removeEventListener("resize", G, !1);
15092
15092
  });
15093
- function G() {
15093
+ function N() {
15094
15094
  f = this.clientWidth, m = this.clientHeight, e(2, f), e(3, m);
15095
15095
  }
15096
15096
  return n.$$set = (_) => {
@@ -15105,7 +15105,7 @@ function mb(n, t, e) {
15105
15105
  r,
15106
15106
  a,
15107
15107
  c,
15108
- G
15108
+ N
15109
15109
  ];
15110
15110
  }
15111
15111
  let gb = class extends le {
@@ -15265,47 +15265,47 @@ const vb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15265
15265
  }, c = () => e.rectPoints.map((v, y) => {
15266
15266
  const P = new C.BufferGeometry(), k = 128, x = [];
15267
15267
  x.push(...v[0].toArray());
15268
- for (let G = 1; G < k; G++)
15268
+ for (let N = 1; N < k; N++)
15269
15269
  x.push(
15270
- v[0].x + (v[1].x - v[0].x) * G / k,
15271
- v[0].y + (v[1].y - v[0].y) * G / k,
15272
- v[0].z + (v[1].z - v[0].z) * G / k
15270
+ v[0].x + (v[1].x - v[0].x) * N / k,
15271
+ v[0].y + (v[1].y - v[0].y) * N / k,
15272
+ v[0].z + (v[1].z - v[0].z) * N / k
15273
15273
  );
15274
15274
  x.push(...v[1].toArray()), x.push(...v[2].toArray());
15275
- for (let G = 1; G < k; G++)
15275
+ for (let N = 1; N < k; N++)
15276
15276
  x.push(
15277
- v[2].x + (v[3].x - v[2].x) * G / k,
15278
- v[2].y + (v[3].y - v[2].y) * G / k,
15279
- v[2].z + (v[3].z - v[2].z) * G / k
15277
+ v[2].x + (v[3].x - v[2].x) * N / k,
15278
+ v[2].y + (v[3].y - v[2].y) * N / k,
15279
+ v[2].z + (v[3].z - v[2].z) * N / k
15280
15280
  );
15281
15281
  x.push(...v[3].toArray());
15282
15282
  const E = [];
15283
15283
  E.push(0, 1);
15284
- for (let G = 1; G < k; G++)
15285
- E.push(0, 1 - G / k);
15284
+ for (let N = 1; N < k; N++)
15285
+ E.push(0, 1 - N / k);
15286
15286
  E.push(0, 0), E.push(1, 0);
15287
- for (let G = 1; G < k; G++)
15288
- E.push(1, G / k);
15287
+ for (let N = 1; N < k; N++)
15288
+ E.push(1, N / k);
15289
15289
  E.push(1, 1);
15290
15290
  const R = [];
15291
- for (let G = 0; G < k; G++)
15292
- R.push(G, G + 1, k * 2 - G, G, k * 2 - G, k * 2 + 1 - G);
15291
+ for (let N = 0; N < k; N++)
15292
+ R.push(N, N + 1, k * 2 - N, N, k * 2 - N, k * 2 + 1 - N);
15293
15293
  P.setAttribute("position", new C.BufferAttribute(new Float32Array(x), 3)), P.setAttribute("uv", new C.BufferAttribute(new Float32Array(E), 2)), P.setIndex(new C.BufferAttribute(new Uint32Array(R), 1));
15294
15294
  const L = new C.MeshBasicMaterial({
15295
15295
  map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
15296
15296
  side: C.DoubleSide
15297
- }), W = new C.Mesh(P, L);
15298
- W.renderOrder = 1, W.name = `ModelTVVideoPlugin-${y}-${performance.now()}`;
15299
- const F = [v[1], v[2], v[3], v[0]], N = i.create3DDomContainer(F);
15300
- if (N != null && N.container) {
15301
- const G = document.createElement("div");
15302
- 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", N.container.appendChild(G);
15297
+ }), U = new C.Mesh(P, L);
15298
+ U.renderOrder = 1, U.name = `ModelTVVideoPlugin-${y}-${performance.now()}`;
15299
+ const F = [v[1], v[2], v[3], v[0]], G = i.create3DDomContainer(F);
15300
+ if (G != null && G.container) {
15301
+ const N = document.createElement("div");
15302
+ N.classList.add("play-icon"), N.style.width = "100%", N.style.height = "100%", N.style.display = "flex", N.style.justifyContent = "center", N.style.alignItems = "center", N.style.pointerEvents = "none", G.container.appendChild(N);
15303
15303
  const _ = document.createElement("img");
15304
15304
  _.src = Xa, _.style.width = "200px", _.style.pointerEvents = "auto", _.onclick = () => {
15305
15305
  e.videoTexture.image.muted = !1, e.videoTexture.image.play();
15306
- }, G.appendChild(_), s.set(W, N);
15306
+ }, N.appendChild(_), s.set(U, G);
15307
15307
  }
15308
- return W;
15308
+ return U;
15309
15309
  }), d = (v) => {
15310
15310
  const y = new C.TextureLoader().load(v);
15311
15311
  return y.minFilter = C.LinearFilter, y.magFilter = C.LinearFilter, y.format = C.RGBFormat, y;
@@ -15326,7 +15326,7 @@ const vb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15326
15326
  });
15327
15327
  }, f = (v, y) => H(void 0, null, function* () {
15328
15328
  const { video_src: P, video_poster_src: k, points: x } = v;
15329
- e.videoSource = P, e.rectPoints = Ab(x).map((E) => E.map(({ x: R, y: L, z: W }) => new C.Vector3(R, L, W))), e.imageTexture = d(k), y && (e.videoElement = y), e.videoTexture = yield h(e.videoSource, e.videoElement), e.enabled = !!v.enable, e.enabled && a();
15329
+ e.videoSource = P, e.rectPoints = Ab(x).map((E) => E.map(({ x: R, y: L, z: U }) => new C.Vector3(R, L, U))), e.imageTexture = d(k), y && (e.videoElement = y), e.videoTexture = yield h(e.videoSource, e.videoElement), e.enabled = !!v.enable, e.enabled && a();
15330
15330
  }), m = (v) => {
15331
15331
  if (!e.enabled)
15332
15332
  return;
@@ -15340,14 +15340,14 @@ const vb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15340
15340
  return;
15341
15341
  const v = n.camera.position;
15342
15342
  if (s.forEach((y, P) => {
15343
- const k = y.css3DObject.position.clone(), x = k.clone().sub(v).normalize(), E = new C.Raycaster(v, x), R = n.model.intersectRaycaster(E)[0], L = k.distanceTo(v), W = 0.01;
15344
- R && R.distance + W < L ? y.hide() : y.show();
15343
+ const k = y.css3DObject.position.clone(), x = k.clone().sub(v).normalize(), E = new C.Raycaster(v, x), R = n.model.intersectRaycaster(E)[0], L = k.distanceTo(v), U = 0.01;
15344
+ R && R.distance + U < L ? y.hide() : y.show();
15345
15345
  }), !r()) {
15346
15346
  const y = e.rectPoints.find((P) => {
15347
15347
  const k = P[0].clone().add(P[1]).add(P[2]).add(P[3]).divideScalar(4);
15348
15348
  return P.map((x) => x.clone().add(k).divideScalar(2)).filter((x) => {
15349
- const E = x.distanceTo(v), R = new C.Raycaster(v, x.clone().sub(v).normalize()), L = n.model.intersectRaycaster(R)[0], W = 0.01;
15350
- return !(L && L.distance + W < E);
15349
+ const E = x.distanceTo(v), R = new C.Raycaster(v, x.clone().sub(v).normalize()), L = n.model.intersectRaycaster(R)[0], U = 0.01;
15350
+ return !(L && L.distance + U < E);
15351
15351
  }).length >= 2;
15352
15352
  });
15353
15353
  (!y || y.length === 0) && o(!0);
@@ -15757,17 +15757,17 @@ let Tb = 11;
15757
15757
  function Lb(n, t, e) {
15758
15758
  const { Vector3: i } = C;
15759
15759
  let { five: s } = t, { modelOcclusionEnable: o } = t, { itemLabels: r } = t, { hooks: a } = t, { displayStrategyType: l } = t, { maxVisibleDistance: c } = t, d = null, h = null, f = (s == null ? void 0 : s.currentMode) === $e.Mode.Panorama, m, p, A = [], g = !0;
15760
- const v = (Q, Y) => {
15761
- const J = Q.camera.position.clone(), X = new i(Y.modelPosition[0], Y.modelPosition[1], Y.modelPosition[2]), $ = X.distanceTo(J);
15760
+ const v = (Q, W) => {
15761
+ const J = Q.camera.position.clone(), X = new i(W.modelPosition[0], W.modelPosition[1], W.modelPosition[2]), $ = X.distanceTo(J);
15762
15762
  return c !== void 0 && Q.state.mode === $e.Mode.Panorama && $ > c ? !1 : Wc(Q, X.clone().sub(J).normalize(), J, $);
15763
15763
  }, y = (Q) => {
15764
- const { camera: Y, model: J } = s, { x: X, y: $, z: ce } = Q.clone().project(Y), oe = (X + 1) / 2, we = (2 - ($ + 1)) / 2;
15764
+ const { camera: W, model: J } = s, { x: X, y: $, z: ce } = Q.clone().project(W), oe = (X + 1) / 2, we = (2 - ($ + 1)) / 2;
15765
15765
  return !!(Math.abs(ce) < 1 && [oe, we].every((ve) => ve < 1 && ve >= 0));
15766
- }, P = (Q, Y) => {
15767
- const J = new i(Y.modelPosition[0], Y.modelPosition[1], Y.modelPosition[2]), X = Q.project2d(J), $ = X == null ? void 0 : X.x, ce = X == null ? void 0 : X.y;
15766
+ }, P = (Q, W) => {
15767
+ const J = new i(W.modelPosition[0], W.modelPosition[1], W.modelPosition[2]), X = Q.project2d(J), $ = X == null ? void 0 : X.x, ce = X == null ? void 0 : X.y;
15768
15768
  return [$, ce];
15769
- }, k = (Q, Y) => {
15770
- const J = Y.map(($) => {
15769
+ }, k = (Q, W) => {
15770
+ const J = W.map(($) => {
15771
15771
  if (Q.state.panoIndex !== $.panoIndex)
15772
15772
  return pe(V({}, $), { visible: !1 });
15773
15773
  const ce = P(Q, $);
@@ -15801,13 +15801,13 @@ function Lb(n, t, e) {
15801
15801
  300
15802
15802
  ), L = () => {
15803
15803
  s.once("renderFrame", x);
15804
- }, W = () => {
15804
+ }, U = () => {
15805
15805
  window.addEventListener("resize", L, !1);
15806
15806
  }, F = () => {
15807
15807
  d !== r && (e(1, h = Yc(r)), d = r, x());
15808
- }, N = (Q, Y) => {
15808
+ }, G = (Q, W) => {
15809
15809
  let J = [];
15810
- for (const { position: $, panoIndex: ce } of Y) {
15810
+ for (const { position: $, panoIndex: ce } of W) {
15811
15811
  const oe = Q.distanceTo($);
15812
15812
  (c === void 0 || oe <= c || s.state.mode !== $e.Mode.Panorama) && J.push({ panoIndex: ce, obVector: $, distance: oe });
15813
15813
  }
@@ -15820,13 +15820,13 @@ function Lb(n, t, e) {
15820
15820
  break;
15821
15821
  }
15822
15822
  }
15823
- return typeof X == "number" ? Y[X] : void 0;
15824
- }, G = (Q) => {
15823
+ return typeof X == "number" ? W[X] : void 0;
15824
+ }, N = (Q) => {
15825
15825
  if (s.state.mode === $e.Mode.Panorama)
15826
15826
  return;
15827
- const Y = s.work.observers, J = new i().fromArray(Q.position), X = N(J, Y);
15827
+ const W = s.work.observers, J = new i().fromArray(Q.position), X = G(J, W);
15828
15828
  if (X && (Q.observerIndex = X.panoIndex), typeof Q.observerIndex == "number") {
15829
- const $ = Y[Q.observerIndex], ce = J.clone().sub($.position).normalize(), oe = {
15829
+ const $ = W[Q.observerIndex], ce = J.clone().sub($.position).normalize(), oe = {
15830
15830
  longitude: Math.PI + Math.atan2(ce.x, ce.z),
15831
15831
  latitude: Math.acos(ce.y / ce.length()) - Math.PI / 2
15832
15832
  };
@@ -15845,7 +15845,7 @@ function Lb(n, t, e) {
15845
15845
  ou(() => {
15846
15846
  F();
15847
15847
  }), yt(() => {
15848
- e(1, h = Yc(r)), d = r, x(), W(), s.on("cameraUpdate", E);
15848
+ e(1, h = Yc(r)), d = r, x(), U(), s.on("cameraUpdate", E);
15849
15849
  }), Ot(() => {
15850
15850
  s.off("cameraUpdate", E), window.removeEventListener("resize", L, !1);
15851
15851
  });
@@ -15861,7 +15861,7 @@ function Lb(n, t, e) {
15861
15861
  m,
15862
15862
  p,
15863
15863
  g,
15864
- G,
15864
+ N,
15865
15865
  s,
15866
15866
  o,
15867
15867
  r,
@@ -16220,29 +16220,29 @@ class Yb extends Bb {
16220
16220
  const s = this.five.getElement(), o = s.clientWidth, r = s.clientHeight, a = i.getWorldDirection(new ie()), l = [], c = [...this.labelItems];
16221
16221
  if (c.forEach((E, R) => {
16222
16222
  if (E.visible) {
16223
- const L = i.position.distanceTo(E.position), W = E.position.clone().add(new ie(0, this.OffsetHeight, 0)), N = W.clone().sub(i.position).normalize().angleTo(a), G = W.clone().project(i), _ = (G.x + 1) / 2.2 * 100, Q = (-G.y + 1) / 2.2 * 100, Y = _ >= 0 && _ <= 100 && Q >= 0 && Q <= 100 && L > this.MinVisibledistance && L <= this.MaxVisibledistance;
16224
- E.left = _, E.top = Q, E.inSight = Y && N < Math.PI / 2, E.cameraToward = Hb(this.five), Y ? l.push({ disFromCameraToLabel: L, left: _, top: Q, index: R }) : E.transform = "translate(-50%, -50%)";
16223
+ const L = i.position.distanceTo(E.position), U = E.position.clone().add(new ie(0, this.OffsetHeight, 0)), G = U.clone().sub(i.position).normalize().angleTo(a), N = U.clone().project(i), _ = (N.x + 1) / 2.2 * 100, Q = (-N.y + 1) / 2.2 * 100, W = _ >= 0 && _ <= 100 && Q >= 0 && Q <= 100 && L > this.MinVisibledistance && L <= this.MaxVisibledistance;
16224
+ E.left = _, E.top = Q, E.inSight = W && G < Math.PI / 2, E.cameraToward = Hb(this.five), W ? l.push({ disFromCameraToLabel: L, left: _, top: Q, index: R }) : E.transform = "translate(-50%, -50%)";
16225
16225
  } else
16226
16226
  E.inSight = !1;
16227
16227
  }), l.length > 1) {
16228
16228
  let E = 0;
16229
16229
  l.sort((R, L) => L.disFromCameraToLabel - R.disFromCameraToLabel);
16230
16230
  for (let R = 1; R < l.length; R++) {
16231
- const { index: L, left: W, top: F } = l[R - 1], { index: N, left: G, top: _ } = l[R], Q = this.container.children[L], Y = this.container.children[N];
16232
- if (!Q || !Y)
16231
+ const { index: L, left: U, top: F } = l[R - 1], { index: G, left: N, top: _ } = l[R], Q = this.container.children[L], W = this.container.children[G];
16232
+ if (!Q || !W)
16233
16233
  return;
16234
16234
  const J = {
16235
- left: o * W / 100,
16235
+ left: o * U / 100,
16236
16236
  top: r * F / 100,
16237
16237
  width: (f = (h = (d = Q.children) == null ? void 0 : d[0]) == null ? void 0 : h.clientWidth) != null ? f : 0,
16238
16238
  height: (A = (p = (m = Q.children) == null ? void 0 : m[0]) == null ? void 0 : p.clientHeight) != null ? A : 0
16239
16239
  }, X = {
16240
- left: o * G / 100,
16240
+ left: o * N / 100,
16241
16241
  top: r * _ / 100,
16242
- width: (y = (v = (g = Y.children) == null ? void 0 : g[0]) == null ? void 0 : v.clientWidth) != null ? y : 0,
16243
- height: (x = (k = (P = Y.children) == null ? void 0 : P[0]) == null ? void 0 : k.clientHeight) != null ? x : 0
16242
+ width: (y = (v = (g = W.children) == null ? void 0 : g[0]) == null ? void 0 : v.clientWidth) != null ? y : 0,
16243
+ height: (x = (k = (P = W.children) == null ? void 0 : P[0]) == null ? void 0 : k.clientHeight) != null ? x : 0
16244
16244
  };
16245
- Nb(J, X) && (E++, c[L].transform = `translate(-50%, ${(E - 1) * 100 - 50}%)`, c[N].transform = `translate(-50%, ${E * 100 - 50}%)`);
16245
+ Nb(J, X) && (E++, c[L].transform = `translate(-50%, ${(E - 1) * 100 - 50}%)`, c[G].transform = `translate(-50%, ${E * 100 - 50}%)`);
16246
16246
  }
16247
16247
  }
16248
16248
  this.labelItems = c, this.render();
@@ -16421,12 +16421,12 @@ function u1(n) {
16421
16421
  const l = r.getPoints(a), c = l.length, d = a1(l.map((E) => [E.x, E.z])), f = (c - 1) * l1 * c1, m = 2 * c, p = m * d1, A = m * h1, g = new Uint32Array(f), v = new Float32Array(p), y = new Float32Array(A);
16422
16422
  let P = 0, k = 0;
16423
16423
  for (let E = 0; E < l.length; E++) {
16424
- const [R, L] = d[E][0], W = l[E], { x: F, y: N, z: G } = W, _ = new ie(F + R * s, N + 0.05, G + L * s);
16424
+ const [R, L] = d[E][0], U = l[E], { x: F, y: G, z: N } = U, _ = new ie(F + R * s, G + 0.05, N + L * s);
16425
16425
  v[E * 6 + 0] = _.x, v[E * 6 + 1] = _.y, v[E * 6 + 2] = _.z;
16426
- const Q = new ie(F - R * s, N + 0.05, G - L * s);
16426
+ const Q = new ie(F - R * s, G + 0.05, N - L * s);
16427
16427
  v[E * 6 + 3] = Q.x, v[E * 6 + 4] = Q.y, v[E * 6 + 5] = Q.z, P += E > 0 ? l[E - 1].clone().sub(l[E]).length() : 0;
16428
- const Y = P / t / i;
16429
- if (k = Y, y[E * 4 + 0] = 0, y[E * 4 + 1] = Y, y[E * 4 + 2] = 1, y[E * 4 + 3] = Y, n.skipPositions) {
16428
+ const W = P / t / i;
16429
+ if (k = W, y[E * 4 + 0] = 0, y[E * 4 + 1] = W, y[E * 4 + 2] = 1, y[E * 4 + 3] = W, n.skipPositions) {
16430
16430
  const J = new C.Vector3().lerpVectors(_, Q, 0.5);
16431
16431
  if (n.skipPositions.some(($) => $.distanceTo(J) < 0.26))
16432
16432
  continue;
@@ -16914,11 +16914,11 @@ class G1 extends C.ShaderMaterial {
16914
16914
  };
16915
16915
  }
16916
16916
  }
16917
- function Zu(n, t = 1) {
16917
+ function Zu(n, t) {
16918
16918
  if (n.length < 3)
16919
16919
  return console.error("points.length < 3"), new ie(0, 0, 0);
16920
- const [e, i, s] = n, o = e.clone().sub(i), r = s.clone().sub(i);
16921
- return o.cross(r).normalize().multiplyScalar(t);
16920
+ const [e, i, s] = n, o = e.clone().sub(i), r = e.clone().sub(s), a = o.cross(r).normalize();
16921
+ return typeof t == "number" ? a.multiplyScalar(t) : a;
16922
16922
  }
16923
16923
  let qu = class extends C.Mesh {
16924
16924
  constructor() {
@@ -17199,7 +17199,7 @@ class N1 {
17199
17199
  */
17200
17200
  addEventListener(t, e, i, s) {
17201
17201
  var o;
17202
- t._domEvent || (t._domEvent = {}), t._domEvent[`${e}Handler`] || (t._domEvent[`${e}Handler`] = []), this.boundObject[e] || (this.boundObject[e] = []), t._domEvent[`${e}Handler`].push([i, pe(V({}, s), { checkVisible: !0 })]), (o = this.boundObject[e]) == null || o.push(t);
17202
+ t._domEvent || (t._domEvent = {}), t._domEvent[`${e}Handler`] || (t._domEvent[`${e}Handler`] = []), this.boundObject[e] || (this.boundObject[e] = []), t._domEvent[`${e}Handler`].push([i, V({ checkVisible: !0 }, s)]), (o = this.boundObject[e]) == null || o.push(t);
17203
17203
  }
17204
17204
  removeEventListener(t, e, i, ...s) {
17205
17205
  var r, a;
@@ -17293,11 +17293,12 @@ class H1 extends O1 {
17293
17293
  }
17294
17294
  updateTagConfig() {
17295
17295
  this.clearCache(), this.tags.forEach((e) => {
17296
- var o;
17296
+ var s;
17297
17297
  const i = this.getTagConfig(e, { useCache: !1 });
17298
- e.config = i;
17299
- const s = JSON.parse(JSON.stringify(e.data));
17300
- e.data = (o = i.initialData) != null && o.important ? Ve(e.data, s, i.initialData) : Ve(e.data, i.initialData, s);
17298
+ if (e.config = i, e.config.initialData) {
17299
+ const o = JSON.parse(JSON.stringify(e.data));
17300
+ e.data = (s = i.initialData) != null && s.important ? Ve(e.data, o, i.initialData) : Ve(e.data, i.initialData, o);
17301
+ }
17301
17302
  });
17302
17303
  }
17303
17304
  can(e, i) {
@@ -17332,10 +17333,10 @@ class H1 extends O1 {
17332
17333
  if (o[0].type === "Video")
17333
17334
  return "Mesh";
17334
17335
  if (o[0].type === "Image")
17335
- return id(o[0].url) === "gif" ? "BehindDom" : "Mesh";
17336
+ return id(o[0].url) === "gif" ? "Dom" : "Mesh";
17336
17337
  }
17337
17338
  } else if (Ht(e))
17338
- return o.length === 1 && o[0].type === "Image" ? id(o[0].url) === "gif" ? "BehindDom" : "Mesh" : "BehindDom";
17339
+ return o.length === 1 && o[0].type === "Image" ? id(o[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
17339
17340
  }
17340
17341
  })();
17341
17342
  return i != null ? i : "Dom";
@@ -17450,30 +17451,30 @@ class H1 extends O1 {
17450
17451
  * @description: 获取merge后的配置
17451
17452
  */
17452
17453
  calculateTagConfig(e, i) {
17453
- var f, m, p;
17454
+ var f, m, p, A;
17454
17455
  const s = (f = i == null ? void 0 : i.useCache) != null ? f : !0;
17455
17456
  if (!e)
17456
17457
  return (m = this.config.globalConfig) != null ? m : {};
17457
17458
  if (s && ((p = e.config) != null && p._isMerged))
17458
17459
  return e.config;
17459
17460
  const o = {}, r = {}, a = {};
17460
- this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([A, g]) => {
17461
- var R, L;
17462
- const v = A, y = v.split("-"), P = A.startsWith("["), k = P ? y[0].slice(1, -1) : void 0, x = P ? y.slice(1) : y, E = k ? ["PanoramaLike", "ModelLike"].includes(k) ? (R = r[k]) != null ? R : r[k] = {} : (L = a[k]) != null ? L : a[k] = {} : o;
17463
- if (!E[v]) {
17464
- if (x.length === 0 && (E[v] = g), x.length === 1) {
17465
- const [W] = x;
17466
- (e.contentType === W || W === "Any") && (E[v] = g);
17461
+ this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([g, v]) => {
17462
+ var L, U;
17463
+ const y = g, P = y.split("-"), k = g.startsWith("["), x = k ? P[0].slice(1, -1) : void 0, E = k ? P.slice(1) : P, R = x ? ["PanoramaLike", "ModelLike"].includes(x) ? (L = r[x]) != null ? L : r[x] = {} : (U = a[x]) != null ? U : a[x] = {} : o;
17464
+ if (!R[y]) {
17465
+ if (E.length === 0 && (R[y] = v), E.length === 1) {
17466
+ const [F] = E;
17467
+ (e.contentType === F || F === "Any") && (R[y] = v);
17467
17468
  }
17468
- if (x.length === 2) {
17469
- const [W = "Any", F = "Any"] = x;
17470
- W === "Mixin" && e.contentType === F && (E[v] = g), (e.stickType === W || W === "Any") && (e.contentType === F || F === "Any") && (E[v] = g);
17469
+ if (E.length === 2) {
17470
+ const [F = "Any", G = "Any"] = E;
17471
+ F === "Mixin" && e.contentType === G && (R[y] = v), (e.stickType === F || F === "Any") && (e.contentType === G || G === "Any") && (R[y] = v);
17471
17472
  }
17472
- if (x.length === 3) {
17473
- const [W = "Any", F, N] = x;
17474
- if (F === "Audio" && e.contentType === "Audio") {
17475
- const G = e;
17476
- (G.stickType === W || W === "Any") && G.data.appearance === N && (E[v] = g);
17473
+ if (E.length === 3) {
17474
+ const [F = "Any", G, N] = E;
17475
+ if (G === "Audio" && e.contentType === "Audio") {
17476
+ const _ = e;
17477
+ (_.stickType === F || F === "Any") && _.data.appearance === N && (R[y] = v);
17477
17478
  }
17478
17479
  }
17479
17480
  }
@@ -17483,17 +17484,17 @@ class H1 extends O1 {
17483
17484
  S1,
17484
17485
  this.config.globalConfig,
17485
17486
  ...Object.values(o),
17486
- e.config
17487
+ (A = e.config) != null && A._isMerged ? e.initialConfig : e.config
17487
17488
  ), c = {}, d = Object.values($e.Mode);
17488
- td(r).forEach(([A, g]) => {
17489
- d.forEach((v) => {
17490
- (A === "PanoramaLike" && Pt(v) || A === "ModelLike" && pn(v)) && (c[v] = Ve({}, l, ...Object.values(g)));
17489
+ td(r).forEach(([g, v]) => {
17490
+ d.forEach((y) => {
17491
+ (g === "PanoramaLike" && Pt(y) || g === "ModelLike" && pn(y)) && (c[y] = Ve({}, l, ...Object.values(v)));
17491
17492
  });
17492
- }), td(a).forEach(([A, g]) => {
17493
- c[A] = Ve({}, l, ...Object.values(g));
17493
+ }), td(a).forEach(([g, v]) => {
17494
+ c[g] = Ve({}, l, ...Object.values(v));
17494
17495
  });
17495
17496
  const h = pe(V({}, l), { configWithFiveMode: c });
17496
- return ed(h, e), Object.values(c).forEach((A) => ed(A, e)), h._isMerged = !0, h;
17497
+ return ed(h, e), Object.values(c).forEach((g) => ed(g, e)), h._isMerged = !0, h;
17497
17498
  }
17498
17499
  }
17499
17500
  function _1(n, t) {
@@ -17745,10 +17746,10 @@ class F1 extends H1 {
17745
17746
  if (!Ht(t))
17746
17747
  return;
17747
17748
  const L = this.tags.filter(Ht).map((F) => {
17748
- var N;
17749
- return (N = F.model) == null ? void 0 : N.object;
17750
- }).filter(si), [W] = Gr.intersectObjects(L, !0);
17751
- return W;
17749
+ var G;
17750
+ return (G = F.model) == null ? void 0 : G.object;
17751
+ }).filter(si), [U] = Gr.intersectObjects(L, !0);
17752
+ return U;
17752
17753
  })(), k = (h = i.distanceAccuracy) != null ? h : 0.01;
17753
17754
  Math.min((f = y == null ? void 0 : y.distance) != null ? f : 1 / 0, (m = P == null ? void 0 : P.distance) != null ? m : 1 / 0) + k >= v ? a++ : l++;
17754
17755
  const R = (p = i.needPassed) != null ? p : 1;
@@ -18376,10 +18377,10 @@ function ny(n, t, e) {
18376
18377
  let m, p, A = [];
18377
18378
  function g(E) {
18378
18379
  const R = [], L = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
18379
- return E.slice().replace(L, (W) => `${c}${d}${W}${c}`).split(c).forEach((W) => W.startsWith(d) ? R.push({
18380
+ return E.slice().replace(L, (U) => `${c}${d}${U}${c}`).split(c).forEach((U) => U.startsWith(d) ? R.push({
18380
18381
  id: lt(),
18381
- content: W.slice(d.length)
18382
- }) : R.push(...W.split("").map((F) => F === " " ? h : F === `
18382
+ content: U.slice(d.length)
18383
+ }) : R.push(...U.split("").map((F) => F === " " ? h : F === `
18383
18384
  ` ? f : F).map((F) => ({ id: lt(), content: F })))), R;
18384
18385
  }
18385
18386
  function v() {
@@ -18397,7 +18398,7 @@ function ny(n, t, e) {
18397
18398
  }
18398
18399
  function P(E) {
18399
18400
  const R = function() {
18400
- const L = E1((W) => E[W].getBoundingClientRect().x, [Math.min(E.length - 1, 10), Math.min(E.length - 1, 30)]);
18401
+ const L = E1((U) => E[U].getBoundingClientRect().x, [Math.min(E.length - 1, 10), Math.min(E.length - 1, 30)]);
18401
18402
  if (L > 0)
18402
18403
  return L;
18403
18404
  }();
@@ -20514,8 +20515,8 @@ var $s = wC, Po = {}, CC = {
20514
20515
  }
20515
20516
  };
20516
20517
  (function(n, t) {
20517
- var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", f = "[object Map]", m = "[object Number]", p = "[object Object]", A = "[object Promise]", g = "[object RegExp]", v = "[object Set]", y = "[object String]", P = "[object Symbol]", k = "[object WeakMap]", x = "[object ArrayBuffer]", E = "[object DataView]", R = "[object Float32Array]", L = "[object Float64Array]", W = "[object Int8Array]", F = "[object Int16Array]", N = "[object Int32Array]", G = "[object Uint8Array]", _ = "[object Uint8ClampedArray]", Q = "[object Uint16Array]", Y = "[object Uint32Array]", J = /[\\^$.*+?()[\]{}|]/g, X = /\w*$/, $ = /^\[object .+?Constructor\]$/, ce = /^(?:0|[1-9]\d*)$/, oe = {};
20518
- oe[o] = oe[r] = oe[x] = oe[E] = oe[a] = oe[l] = oe[R] = oe[L] = oe[W] = oe[F] = oe[N] = oe[f] = oe[m] = oe[p] = oe[g] = oe[v] = oe[y] = oe[P] = oe[G] = oe[_] = oe[Q] = oe[Y] = !0, oe[c] = oe[d] = oe[k] = !1;
20518
+ var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", f = "[object Map]", m = "[object Number]", p = "[object Object]", A = "[object Promise]", g = "[object RegExp]", v = "[object Set]", y = "[object String]", P = "[object Symbol]", k = "[object WeakMap]", x = "[object ArrayBuffer]", E = "[object DataView]", R = "[object Float32Array]", L = "[object Float64Array]", U = "[object Int8Array]", F = "[object Int16Array]", G = "[object Int32Array]", N = "[object Uint8Array]", _ = "[object Uint8ClampedArray]", Q = "[object Uint16Array]", W = "[object Uint32Array]", J = /[\\^$.*+?()[\]{}|]/g, X = /\w*$/, $ = /^\[object .+?Constructor\]$/, ce = /^(?:0|[1-9]\d*)$/, oe = {};
20519
+ oe[o] = oe[r] = oe[x] = oe[E] = oe[a] = oe[l] = oe[R] = oe[L] = oe[U] = oe[F] = oe[G] = oe[f] = oe[m] = oe[p] = oe[g] = oe[v] = oe[y] = oe[P] = oe[N] = oe[_] = oe[Q] = oe[W] = !0, oe[c] = oe[d] = oe[k] = !1;
20519
20520
  var we = typeof Mt == "object" && Mt && Mt.Object === Object && Mt, Ce = typeof self == "object" && self && self.Object === Object && self, Ae = we || Ce || Function("return this")(), Oe = t && !t.nodeType && t, ve = Oe && !0 && n && !n.nodeType && n, Fe = ve && ve.exports === Oe;
20520
20521
  function fe(b, I) {
20521
20522
  return b.set(I[0], I[1]), b;
@@ -20524,25 +20525,25 @@ var $s = wC, Po = {}, CC = {
20524
20525
  return b.add(I), b;
20525
20526
  }
20526
20527
  function Le(b, I) {
20527
- for (var T = -1, U = b ? b.length : 0; ++T < U && I(b[T], T, b) !== !1; )
20528
+ for (var T = -1, Y = b ? b.length : 0; ++T < Y && I(b[T], T, b) !== !1; )
20528
20529
  ;
20529
20530
  return b;
20530
20531
  }
20531
20532
  function me(b, I) {
20532
- for (var T = -1, U = I.length, Ie = b.length; ++T < U; )
20533
+ for (var T = -1, Y = I.length, Ie = b.length; ++T < Y; )
20533
20534
  b[Ie + T] = I[T];
20534
20535
  return b;
20535
20536
  }
20536
- function Ze(b, I, T, U) {
20537
+ function Ze(b, I, T, Y) {
20537
20538
  var Ie = -1, ge = b ? b.length : 0;
20538
- for (U && ge && (T = b[++Ie]); ++Ie < ge; )
20539
+ for (Y && ge && (T = b[++Ie]); ++Ie < ge; )
20539
20540
  T = I(T, b[Ie], Ie, b);
20540
20541
  return T;
20541
20542
  }
20542
20543
  function ht(b, I) {
20543
- for (var T = -1, U = Array(b); ++T < b; )
20544
- U[T] = I(T);
20545
- return U;
20544
+ for (var T = -1, Y = Array(b); ++T < b; )
20545
+ Y[T] = I(T);
20546
+ return Y;
20546
20547
  }
20547
20548
  function ke(b, I) {
20548
20549
  return b == null ? void 0 : b[I];
@@ -20558,8 +20559,8 @@ var $s = wC, Po = {}, CC = {
20558
20559
  }
20559
20560
  function re(b) {
20560
20561
  var I = -1, T = Array(b.size);
20561
- return b.forEach(function(U, Ie) {
20562
- T[++I] = [Ie, U];
20562
+ return b.forEach(function(Y, Ie) {
20563
+ T[++I] = [Ie, Y];
20563
20564
  }), T;
20564
20565
  }
20565
20566
  function Ee(b, I) {
@@ -20569,8 +20570,8 @@ var $s = wC, Po = {}, CC = {
20569
20570
  }
20570
20571
  function He(b) {
20571
20572
  var I = -1, T = Array(b.size);
20572
- return b.forEach(function(U) {
20573
- T[++I] = U;
20573
+ return b.forEach(function(Y) {
20574
+ T[++I] = Y;
20574
20575
  }), T;
20575
20576
  }
20576
20577
  var gt = Array.prototype, Xt = Function.prototype, wt = Object.prototype, Ct = Ae["__core-js_shared__"], Be = function() {
@@ -20582,8 +20583,8 @@ var $s = wC, Po = {}, CC = {
20582
20583
  function Jt(b) {
20583
20584
  var I = -1, T = b ? b.length : 0;
20584
20585
  for (this.clear(); ++I < T; ) {
20585
- var U = b[I];
20586
- this.set(U[0], U[1]);
20586
+ var Y = b[I];
20587
+ this.set(Y[0], Y[1]);
20587
20588
  }
20588
20589
  }
20589
20590
  function _o() {
@@ -20612,8 +20613,8 @@ var $s = wC, Po = {}, CC = {
20612
20613
  function qe(b) {
20613
20614
  var I = -1, T = b ? b.length : 0;
20614
20615
  for (this.clear(); ++I < T; ) {
20615
- var U = b[I];
20616
- this.set(U[0], U[1]);
20616
+ var Y = b[I];
20617
+ this.set(Y[0], Y[1]);
20617
20618
  }
20618
20619
  }
20619
20620
  function Yo() {
@@ -20623,8 +20624,8 @@ var $s = wC, Po = {}, CC = {
20623
20624
  var I = this.__data__, T = Ui(I, b);
20624
20625
  if (T < 0)
20625
20626
  return !1;
20626
- var U = I.length - 1;
20627
- return T == U ? I.pop() : Ho.call(I, T, 1), !0;
20627
+ var Y = I.length - 1;
20628
+ return T == Y ? I.pop() : Ho.call(I, T, 1), !0;
20628
20629
  }
20629
20630
  function Xo(b) {
20630
20631
  var I = this.__data__, T = Ui(I, b);
@@ -20634,15 +20635,15 @@ var $s = wC, Po = {}, CC = {
20634
20635
  return Ui(this.__data__, b) > -1;
20635
20636
  }
20636
20637
  function Zo(b, I) {
20637
- var T = this.__data__, U = Ui(T, b);
20638
- return U < 0 ? T.push([b, I]) : T[U][1] = I, this;
20638
+ var T = this.__data__, Y = Ui(T, b);
20639
+ return Y < 0 ? T.push([b, I]) : T[Y][1] = I, this;
20639
20640
  }
20640
20641
  qe.prototype.clear = Yo, qe.prototype.delete = Uo, qe.prototype.get = Xo, qe.prototype.has = Jo, qe.prototype.set = Zo;
20641
20642
  function st(b) {
20642
20643
  var I = -1, T = b ? b.length : 0;
20643
20644
  for (this.clear(); ++I < T; ) {
20644
- var U = b[I];
20645
- this.set(U[0], U[1]);
20645
+ var Y = b[I];
20646
+ this.set(Y[0], Y[1]);
20646
20647
  }
20647
20648
  }
20648
20649
  function qo() {
@@ -20683,23 +20684,23 @@ var $s = wC, Po = {}, CC = {
20683
20684
  function rr(b, I) {
20684
20685
  var T = this.__data__;
20685
20686
  if (T instanceof qe) {
20686
- var U = T.__data__;
20687
- if (!Pi || U.length < e - 1)
20688
- return U.push([b, I]), this;
20689
- T = this.__data__ = new st(U);
20687
+ var Y = T.__data__;
20688
+ if (!Pi || Y.length < e - 1)
20689
+ return Y.push([b, I]), this;
20690
+ T = this.__data__ = new st(Y);
20690
20691
  }
20691
20692
  return T.set(b, I), this;
20692
20693
  }
20693
20694
  At.prototype.clear = ir, At.prototype.delete = nr, At.prototype.get = sr, At.prototype.has = or, At.prototype.set = rr;
20694
20695
  function Yi(b, I) {
20695
- var T = qn(b) || Ji(b) ? ht(b.length, String) : [], U = T.length, Ie = !!U;
20696
+ var T = qn(b) || Ji(b) ? ht(b.length, String) : [], Y = T.length, Ie = !!Y;
20696
20697
  for (var ge in b)
20697
- (I || Xe.call(b, ge)) && !(Ie && (ge == "length" || yr(ge, U))) && T.push(ge);
20698
+ (I || Xe.call(b, ge)) && !(Ie && (ge == "length" || yr(ge, Y))) && T.push(ge);
20698
20699
  return T;
20699
20700
  }
20700
20701
  function ks(b, I, T) {
20701
- var U = b[I];
20702
- (!(Xe.call(b, I) && Ts(U, T)) || T === void 0 && !(I in b)) && (b[I] = T);
20702
+ var Y = b[I];
20703
+ (!(Xe.call(b, I) && Ts(Y, T)) || T === void 0 && !(I in b)) && (b[I] = T);
20703
20704
  }
20704
20705
  function Ui(b, I) {
20705
20706
  for (var T = b.length; T--; )
@@ -20710,9 +20711,9 @@ var $s = wC, Po = {}, CC = {
20710
20711
  function Vt(b, I) {
20711
20712
  return b && Zn(I, $n(I), b);
20712
20713
  }
20713
- function Xn(b, I, T, U, Ie, ge, xe) {
20714
+ function Xn(b, I, T, Y, Ie, ge, xe) {
20714
20715
  var Se;
20715
- if (U && (Se = ge ? U(b, Ie, ge, xe) : U(b)), Se !== void 0)
20716
+ if (Y && (Se = ge ? Y(b, Ie, ge, xe) : Y(b)), Se !== void 0)
20716
20717
  return Se;
20717
20718
  if (!Gt(b))
20718
20719
  return b;
@@ -20742,15 +20743,15 @@ var $s = wC, Po = {}, CC = {
20742
20743
  if (xe.set(b, Se), !We)
20743
20744
  var Ue = T ? Ar(b) : $n(b);
20744
20745
  return Le(Ue || b, function(rt, Ke) {
20745
- Ue && (Ke = rt, rt = b[Ke]), ks(Se, Ke, Xn(rt, I, T, U, Ke, b, xe));
20746
+ Ue && (Ke = rt, rt = b[Ke]), ks(Se, Ke, Xn(rt, I, T, Y, Ke, b, xe));
20746
20747
  }), Se;
20747
20748
  }
20748
20749
  function ar(b) {
20749
20750
  return Gt(b) ? Ni(b) : {};
20750
20751
  }
20751
20752
  function lr(b, I, T) {
20752
- var U = I(b);
20753
- return qn(b) ? U : me(U, T(b));
20753
+ var Y = I(b);
20754
+ return qn(b) ? Y : me(Y, T(b));
20754
20755
  }
20755
20756
  function cr(b) {
20756
20757
  return Dt.call(b);
@@ -20784,16 +20785,16 @@ var $s = wC, Po = {}, CC = {
20784
20785
  return new b.constructor(T, b.byteOffset, b.byteLength);
20785
20786
  }
20786
20787
  function Ms(b, I, T) {
20787
- var U = I ? T(re(b), !0) : re(b);
20788
- return Ze(U, fe, new b.constructor());
20788
+ var Y = I ? T(re(b), !0) : re(b);
20789
+ return Ze(Y, fe, new b.constructor());
20789
20790
  }
20790
20791
  function xs(b) {
20791
20792
  var I = new b.constructor(b.source, X.exec(b));
20792
20793
  return I.lastIndex = b.lastIndex, I;
20793
20794
  }
20794
20795
  function ur(b, I, T) {
20795
- var U = I ? T(He(b), !0) : He(b);
20796
- return Ze(U, ye, new b.constructor());
20796
+ var Y = I ? T(He(b), !0) : He(b);
20797
+ return Ze(Y, ye, new b.constructor());
20797
20798
  }
20798
20799
  function fr(b) {
20799
20800
  return Ps ? Object(Ps.call(b)) : {};
@@ -20803,15 +20804,15 @@ var $s = wC, Po = {}, CC = {
20803
20804
  return new b.constructor(T, b.byteOffset, b.length);
20804
20805
  }
20805
20806
  function gr(b, I) {
20806
- var T = -1, U = b.length;
20807
- for (I || (I = Array(U)); ++T < U; )
20807
+ var T = -1, Y = b.length;
20808
+ for (I || (I = Array(Y)); ++T < Y; )
20808
20809
  I[T] = b[T];
20809
20810
  return I;
20810
20811
  }
20811
- function Zn(b, I, T, U) {
20812
+ function Zn(b, I, T, Y) {
20812
20813
  T || (T = {});
20813
20814
  for (var Ie = -1, ge = I.length; ++Ie < ge; ) {
20814
- var xe = I[Ie], Se = U ? U(T[xe], b[xe], xe, T, b) : void 0;
20815
+ var xe = I[Ie], Se = Y ? Y(T[xe], b[xe], xe, T, b) : void 0;
20815
20816
  ks(T, xe, Se === void 0 ? b[xe] : Se);
20816
20817
  }
20817
20818
  return T;
@@ -20832,9 +20833,9 @@ var $s = wC, Po = {}, CC = {
20832
20833
  }
20833
20834
  var Zt = Nn ? Ee(Nn, Object) : Pr, qt = cr;
20834
20835
  (Fi && qt(new Fi(new ArrayBuffer(1))) != E || Pi && qt(new Pi()) != f || St && qt(St.resolve()) != A || Wi && qt(new Wi()) != v || Hn && qt(new Hn()) != k) && (qt = function(b) {
20835
- var I = Dt.call(b), T = I == p ? b.constructor : void 0, U = T ? ut(T) : void 0;
20836
- if (U)
20837
- switch (U) {
20836
+ var I = Dt.call(b), T = I == p ? b.constructor : void 0, Y = T ? ut(T) : void 0;
20837
+ if (Y)
20838
+ switch (Y) {
20838
20839
  case _n:
20839
20840
  return E;
20840
20841
  case ki:
@@ -20855,7 +20856,7 @@ var $s = wC, Po = {}, CC = {
20855
20856
  function Qt(b) {
20856
20857
  return typeof b.constructor == "function" && !Ds(b) ? ar(pt(b)) : {};
20857
20858
  }
20858
- function br(b, I, T, U) {
20859
+ function br(b, I, T, Y) {
20859
20860
  var Ie = b.constructor;
20860
20861
  switch (I) {
20861
20862
  case x:
@@ -20864,26 +20865,26 @@ var $s = wC, Po = {}, CC = {
20864
20865
  case l:
20865
20866
  return new Ie(+b);
20866
20867
  case E:
20867
- return Mi(b, U);
20868
+ return Mi(b, Y);
20868
20869
  case R:
20869
20870
  case L:
20870
- case W:
20871
+ case U:
20871
20872
  case F:
20872
- case N:
20873
20873
  case G:
20874
+ case N:
20874
20875
  case _:
20875
20876
  case Q:
20876
- case Y:
20877
- return mr(b, U);
20877
+ case W:
20878
+ return mr(b, Y);
20878
20879
  case f:
20879
- return Ms(b, U, T);
20880
+ return Ms(b, Y, T);
20880
20881
  case m:
20881
20882
  case y:
20882
20883
  return new Ie(b);
20883
20884
  case g:
20884
20885
  return xs(b);
20885
20886
  case v:
20886
- return ur(b, U, T);
20887
+ return ur(b, Y, T);
20887
20888
  case P:
20888
20889
  return fr(b);
20889
20890
  }
@@ -20967,8 +20968,8 @@ var Eo = {}, PC = {
20967
20968
  }
20968
20969
  };
20969
20970
  (function(n, t) {
20970
- var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", f = "[object Error]", m = "[object Function]", p = "[object GeneratorFunction]", A = "[object Map]", g = "[object Number]", v = "[object Null]", y = "[object Object]", P = "[object Promise]", k = "[object Proxy]", x = "[object RegExp]", E = "[object Set]", R = "[object String]", L = "[object Symbol]", W = "[object Undefined]", F = "[object WeakMap]", N = "[object ArrayBuffer]", G = "[object DataView]", _ = "[object Float32Array]", Q = "[object Float64Array]", Y = "[object Int8Array]", J = "[object Int16Array]", X = "[object Int32Array]", $ = "[object Uint8Array]", ce = "[object Uint8ClampedArray]", oe = "[object Uint16Array]", we = "[object Uint32Array]", Ce = /[\\^$.*+?()[\]{}|]/g, Ae = /^\[object .+?Constructor\]$/, Oe = /^(?:0|[1-9]\d*)$/, ve = {};
20971
- ve[_] = ve[Q] = ve[Y] = ve[J] = ve[X] = ve[$] = ve[ce] = ve[oe] = ve[we] = !0, ve[a] = ve[l] = ve[N] = ve[d] = ve[G] = ve[h] = ve[f] = ve[m] = ve[A] = ve[g] = ve[y] = ve[x] = ve[E] = ve[R] = ve[F] = !1;
20971
+ var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", f = "[object Error]", m = "[object Function]", p = "[object GeneratorFunction]", A = "[object Map]", g = "[object Number]", v = "[object Null]", y = "[object Object]", P = "[object Promise]", k = "[object Proxy]", x = "[object RegExp]", E = "[object Set]", R = "[object String]", L = "[object Symbol]", U = "[object Undefined]", F = "[object WeakMap]", G = "[object ArrayBuffer]", N = "[object DataView]", _ = "[object Float32Array]", Q = "[object Float64Array]", W = "[object Int8Array]", J = "[object Int16Array]", X = "[object Int32Array]", $ = "[object Uint8Array]", ce = "[object Uint8ClampedArray]", oe = "[object Uint16Array]", we = "[object Uint32Array]", Ce = /[\\^$.*+?()[\]{}|]/g, Ae = /^\[object .+?Constructor\]$/, Oe = /^(?:0|[1-9]\d*)$/, ve = {};
20972
+ ve[_] = ve[Q] = ve[W] = ve[J] = ve[X] = ve[$] = ve[ce] = ve[oe] = ve[we] = !0, ve[a] = ve[l] = ve[G] = ve[d] = ve[N] = ve[h] = ve[f] = ve[m] = ve[A] = ve[g] = ve[y] = ve[x] = ve[E] = ve[R] = ve[F] = !1;
20972
20973
  var Fe = typeof Mt == "object" && Mt && Mt.Object === Object && Mt, fe = typeof self == "object" && self && self.Object === Object && self, ye = Fe || fe || Function("return this")(), Le = t && !t.nodeType && t, me = Le && !0 && n && !n.nodeType && n, Ze = me && me.exports === Le, ht = Ze && Fe.process, ke = function() {
20973
20974
  try {
20974
20975
  return ht && ht.binding && ht.binding("util");
@@ -20976,27 +20977,27 @@ var Eo = {}, PC = {
20976
20977
  }
20977
20978
  }(), nt = ke && ke.isTypedArray;
20978
20979
  function re(b, I) {
20979
- for (var T = -1, U = b == null ? 0 : b.length, Ie = 0, ge = []; ++T < U; ) {
20980
+ for (var T = -1, Y = b == null ? 0 : b.length, Ie = 0, ge = []; ++T < Y; ) {
20980
20981
  var xe = b[T];
20981
20982
  I(xe, T, b) && (ge[Ie++] = xe);
20982
20983
  }
20983
20984
  return ge;
20984
20985
  }
20985
20986
  function Ee(b, I) {
20986
- for (var T = -1, U = I.length, Ie = b.length; ++T < U; )
20987
+ for (var T = -1, Y = I.length, Ie = b.length; ++T < Y; )
20987
20988
  b[Ie + T] = I[T];
20988
20989
  return b;
20989
20990
  }
20990
20991
  function He(b, I) {
20991
- for (var T = -1, U = b == null ? 0 : b.length; ++T < U; )
20992
+ for (var T = -1, Y = b == null ? 0 : b.length; ++T < Y; )
20992
20993
  if (I(b[T], T, b))
20993
20994
  return !0;
20994
20995
  return !1;
20995
20996
  }
20996
20997
  function gt(b, I) {
20997
- for (var T = -1, U = Array(b); ++T < b; )
20998
- U[T] = I(T);
20999
- return U;
20998
+ for (var T = -1, Y = Array(b); ++T < b; )
20999
+ Y[T] = I(T);
21000
+ return Y;
21000
21001
  }
21001
21002
  function Xt(b) {
21002
21003
  return function(I) {
@@ -21011,8 +21012,8 @@ var Eo = {}, PC = {
21011
21012
  }
21012
21013
  function Be(b) {
21013
21014
  var I = -1, T = Array(b.size);
21014
- return b.forEach(function(U, Ie) {
21015
- T[++I] = [Ie, U];
21015
+ return b.forEach(function(Y, Ie) {
21016
+ T[++I] = [Ie, Y];
21016
21017
  }), T;
21017
21018
  }
21018
21019
  function Ge(b, I) {
@@ -21022,8 +21023,8 @@ var Eo = {}, PC = {
21022
21023
  }
21023
21024
  function Xe(b) {
21024
21025
  var I = -1, T = Array(b.size);
21025
- return b.forEach(function(U) {
21026
- T[++I] = U;
21026
+ return b.forEach(function(Y) {
21027
+ T[++I] = Y;
21027
21028
  }), T;
21028
21029
  }
21029
21030
  var Dt = Array.prototype, Gn = Function.prototype, Rt = Object.prototype, ri = ye["__core-js_shared__"], Ii = Gn.toString, pt = Rt.hasOwnProperty, Ni = function() {
@@ -21035,8 +21036,8 @@ var Eo = {}, PC = {
21035
21036
  function qe(b) {
21036
21037
  var I = -1, T = b == null ? 0 : b.length;
21037
21038
  for (this.clear(); ++I < T; ) {
21038
- var U = b[I];
21039
- this.set(U[0], U[1]);
21039
+ var Y = b[I];
21040
+ this.set(Y[0], Y[1]);
21040
21041
  }
21041
21042
  }
21042
21043
  function Yo() {
@@ -21066,8 +21067,8 @@ var Eo = {}, PC = {
21066
21067
  function st(b) {
21067
21068
  var I = -1, T = b == null ? 0 : b.length;
21068
21069
  for (this.clear(); ++I < T; ) {
21069
- var U = b[I];
21070
- this.set(U[0], U[1]);
21070
+ var Y = b[I];
21071
+ this.set(Y[0], Y[1]);
21071
21072
  }
21072
21073
  }
21073
21074
  function qo() {
@@ -21077,8 +21078,8 @@ var Eo = {}, PC = {
21077
21078
  var I = this.__data__, T = Xi(I, b);
21078
21079
  if (T < 0)
21079
21080
  return !1;
21080
- var U = I.length - 1;
21081
- return T == U ? I.pop() : Pi.call(I, T, 1), --this.size, !0;
21081
+ var Y = I.length - 1;
21082
+ return T == Y ? I.pop() : Pi.call(I, T, 1), --this.size, !0;
21082
21083
  }
21083
21084
  function $o(b) {
21084
21085
  var I = this.__data__, T = Xi(I, b);
@@ -21088,15 +21089,15 @@ var Eo = {}, PC = {
21088
21089
  return Xi(this.__data__, b) > -1;
21089
21090
  }
21090
21091
  function tr(b, I) {
21091
- var T = this.__data__, U = Xi(T, b);
21092
- return U < 0 ? (++this.size, T.push([b, I])) : T[U][1] = I, this;
21092
+ var T = this.__data__, Y = Xi(T, b);
21093
+ return Y < 0 ? (++this.size, T.push([b, I])) : T[Y][1] = I, this;
21093
21094
  }
21094
21095
  st.prototype.clear = qo, st.prototype.delete = Ko, st.prototype.get = $o, st.prototype.has = er, st.prototype.set = tr;
21095
21096
  function At(b) {
21096
21097
  var I = -1, T = b == null ? 0 : b.length;
21097
21098
  for (this.clear(); ++I < T; ) {
21098
- var U = b[I];
21099
- this.set(U[0], U[1]);
21099
+ var Y = b[I];
21100
+ this.set(Y[0], Y[1]);
21100
21101
  }
21101
21102
  }
21102
21103
  function ir() {
@@ -21117,8 +21118,8 @@ var Eo = {}, PC = {
21117
21118
  return Tt(this, b).has(b);
21118
21119
  }
21119
21120
  function rr(b, I) {
21120
- var T = Tt(this, b), U = T.size;
21121
- return T.set(b, I), this.size += T.size == U ? 0 : 1, this;
21121
+ var T = Tt(this, b), Y = T.size;
21122
+ return T.set(b, I), this.size += T.size == Y ? 0 : 1, this;
21122
21123
  }
21123
21124
  At.prototype.clear = ir, At.prototype.delete = nr, At.prototype.get = sr, At.prototype.has = or, At.prototype.set = rr;
21124
21125
  function Yi(b) {
@@ -21153,16 +21154,16 @@ var Eo = {}, PC = {
21153
21154
  function dr(b, I) {
21154
21155
  var T = this.__data__;
21155
21156
  if (T instanceof st) {
21156
- var U = T.__data__;
21157
- if (!ki || U.length < e - 1)
21158
- return U.push([b, I]), this.size = ++T.size, this;
21159
- T = this.__data__ = new At(U);
21157
+ var Y = T.__data__;
21158
+ if (!ki || Y.length < e - 1)
21159
+ return Y.push([b, I]), this.size = ++T.size, this;
21160
+ T = this.__data__ = new At(Y);
21160
21161
  }
21161
21162
  return T.set(b, I), this.size = T.size, this;
21162
21163
  }
21163
21164
  Vt.prototype.clear = Xn, Vt.prototype.delete = ar, Vt.prototype.get = lr, Vt.prototype.has = cr, Vt.prototype.set = dr;
21164
21165
  function hr(b, I) {
21165
- var T = Ji(b), U = !T && Ts(b), Ie = !T && !U && Zi(b), ge = !T && !U && !Ie && zs(b), xe = T || U || Ie || ge, Se = xe ? gt(b.length, String) : [], We = Se.length;
21166
+ var T = Ji(b), Y = !T && Ts(b), Ie = !T && !Y && Zi(b), ge = !T && !Y && !Ie && zs(b), xe = T || Y || Ie || ge, Se = xe ? gt(b.length, String) : [], We = Se.length;
21166
21167
  for (var je in b)
21167
21168
  (I || pt.call(b, je)) && !(xe && // Safari 9 has enumerable `arguments.length` in strict mode.
21168
21169
  (je == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -21178,19 +21179,19 @@ var Eo = {}, PC = {
21178
21179
  return -1;
21179
21180
  }
21180
21181
  function Jn(b, I, T) {
21181
- var U = I(b);
21182
- return Ji(b) ? U : Ee(U, T(b));
21182
+ var Y = I(b);
21183
+ return Ji(b) ? Y : Ee(Y, T(b));
21183
21184
  }
21184
21185
  function Mi(b) {
21185
- return b == null ? b === void 0 ? W : v : St && St in Object(b) ? qt(b) : Ds(b);
21186
+ return b == null ? b === void 0 ? U : v : St && St in Object(b) ? qt(b) : Ds(b);
21186
21187
  }
21187
21188
  function Ms(b) {
21188
21189
  return Gt(b) && Mi(b) == a;
21189
21190
  }
21190
- function xs(b, I, T, U, Ie) {
21191
- return b === I ? !0 : b == null || I == null || !Gt(b) && !Gt(I) ? b !== b && I !== I : ur(b, I, T, U, xs, Ie);
21191
+ function xs(b, I, T, Y, Ie) {
21192
+ return b === I ? !0 : b == null || I == null || !Gt(b) && !Gt(I) ? b !== b && I !== I : ur(b, I, T, Y, xs, Ie);
21192
21193
  }
21193
- function ur(b, I, T, U, Ie, ge) {
21194
+ function ur(b, I, T, Y, Ie, ge) {
21194
21195
  var xe = Ji(b), Se = Ji(I), We = xe ? l : Qt(b), je = Se ? l : Qt(I);
21195
21196
  We = We == a ? y : We, je = je == a ? y : je;
21196
21197
  var ot = We == y, vt = je == y, Ue = We == je;
@@ -21200,15 +21201,15 @@ var Eo = {}, PC = {
21200
21201
  xe = !0, ot = !1;
21201
21202
  }
21202
21203
  if (Ue && !ot)
21203
- return ge || (ge = new Vt()), xe || zs(b) ? Zn(b, I, T, U, Ie, ge) : pr(b, I, We, T, U, Ie, ge);
21204
+ return ge || (ge = new Vt()), xe || zs(b) ? Zn(b, I, T, Y, Ie, ge) : pr(b, I, We, T, Y, Ie, ge);
21204
21205
  if (!(T & s)) {
21205
21206
  var rt = ot && pt.call(b, "__wrapped__"), Ke = vt && pt.call(I, "__wrapped__");
21206
21207
  if (rt || Ke) {
21207
21208
  var li = rt ? b.value() : b, Kt = Ke ? I.value() : I;
21208
- return ge || (ge = new Vt()), Ie(li, Kt, T, U, ge);
21209
+ return ge || (ge = new Vt()), Ie(li, Kt, T, Y, ge);
21209
21210
  }
21210
21211
  }
21211
- return Ue ? (ge || (ge = new Vt()), Ar(b, I, T, U, Ie, ge)) : !1;
21212
+ return Ue ? (ge || (ge = new Vt()), Ar(b, I, T, Y, Ie, ge)) : !1;
21212
21213
  }
21213
21214
  function fr(b) {
21214
21215
  if (!js(b) || wr(b))
@@ -21227,7 +21228,7 @@ var Eo = {}, PC = {
21227
21228
  pt.call(b, T) && T != "constructor" && I.push(T);
21228
21229
  return I;
21229
21230
  }
21230
- function Zn(b, I, T, U, Ie, ge) {
21231
+ function Zn(b, I, T, Y, Ie, ge) {
21231
21232
  var xe = T & s, Se = b.length, We = I.length;
21232
21233
  if (Se != We && !(xe && We > Se))
21233
21234
  return !1;
@@ -21237,8 +21238,8 @@ var Eo = {}, PC = {
21237
21238
  var ot = -1, vt = !0, Ue = T & o ? new Yi() : void 0;
21238
21239
  for (ge.set(b, I), ge.set(I, b); ++ot < Se; ) {
21239
21240
  var rt = b[ot], Ke = I[ot];
21240
- if (U)
21241
- var li = xe ? U(Ke, rt, ot, I, b, ge) : U(rt, Ke, ot, b, I, ge);
21241
+ if (Y)
21242
+ var li = xe ? Y(Ke, rt, ot, I, b, ge) : Y(rt, Ke, ot, b, I, ge);
21242
21243
  if (li !== void 0) {
21243
21244
  if (li)
21244
21245
  continue;
@@ -21247,26 +21248,26 @@ var Eo = {}, PC = {
21247
21248
  }
21248
21249
  if (Ue) {
21249
21250
  if (!He(I, function(Kt, Di) {
21250
- if (!wt(Ue, Di) && (rt === Kt || Ie(rt, Kt, T, U, ge)))
21251
+ if (!wt(Ue, Di) && (rt === Kt || Ie(rt, Kt, T, Y, ge)))
21251
21252
  return Ue.push(Di);
21252
21253
  })) {
21253
21254
  vt = !1;
21254
21255
  break;
21255
21256
  }
21256
- } else if (!(rt === Ke || Ie(rt, Ke, T, U, ge))) {
21257
+ } else if (!(rt === Ke || Ie(rt, Ke, T, Y, ge))) {
21257
21258
  vt = !1;
21258
21259
  break;
21259
21260
  }
21260
21261
  }
21261
21262
  return ge.delete(b), ge.delete(I), vt;
21262
21263
  }
21263
- function pr(b, I, T, U, Ie, ge, xe) {
21264
+ function pr(b, I, T, Y, Ie, ge, xe) {
21264
21265
  switch (T) {
21265
- case G:
21266
+ case N:
21266
21267
  if (b.byteLength != I.byteLength || b.byteOffset != I.byteOffset)
21267
21268
  return !1;
21268
21269
  b = b.buffer, I = I.buffer;
21269
- case N:
21270
+ case G:
21270
21271
  return !(b.byteLength != I.byteLength || !ge(new Is(b), new Is(I)));
21271
21272
  case d:
21272
21273
  case h:
@@ -21280,14 +21281,14 @@ var Eo = {}, PC = {
21280
21281
  case A:
21281
21282
  var Se = Be;
21282
21283
  case E:
21283
- var We = U & s;
21284
+ var We = Y & s;
21284
21285
  if (Se || (Se = Xe), b.size != I.size && !We)
21285
21286
  return !1;
21286
21287
  var je = xe.get(b);
21287
21288
  if (je)
21288
21289
  return je == I;
21289
- U |= o, xe.set(b, I);
21290
- var ot = Zn(Se(b), Se(I), U, Ie, ge, xe);
21290
+ Y |= o, xe.set(b, I);
21291
+ var ot = Zn(Se(b), Se(I), Y, Ie, ge, xe);
21291
21292
  return xe.delete(b), ot;
21292
21293
  case L:
21293
21294
  if (Un)
@@ -21295,7 +21296,7 @@ var Eo = {}, PC = {
21295
21296
  }
21296
21297
  return !1;
21297
21298
  }
21298
- function Ar(b, I, T, U, Ie, ge) {
21299
+ function Ar(b, I, T, Y, Ie, ge) {
21299
21300
  var xe = T & s, Se = xi(b), We = Se.length, je = xi(I), ot = je.length;
21300
21301
  if (We != ot && !xe)
21301
21302
  return !1;
@@ -21312,9 +21313,9 @@ var Eo = {}, PC = {
21312
21313
  for (var li = xe; ++vt < We; ) {
21313
21314
  Ue = Se[vt];
21314
21315
  var Kt = b[Ue], Di = I[Ue];
21315
- if (U)
21316
- var al = xe ? U(Di, Kt, Ue, I, b, ge) : U(Kt, Di, Ue, b, I, ge);
21317
- if (!(al === void 0 ? Kt === Di || Ie(Kt, Di, T, U, ge) : al)) {
21316
+ if (Y)
21317
+ var al = xe ? Y(Di, Kt, Ue, I, b, ge) : Y(Kt, Di, Ue, b, I, ge);
21318
+ if (!(al === void 0 ? Kt === Di || Ie(Kt, Di, T, Y, ge) : al)) {
21318
21319
  Ke = !1;
21319
21320
  break;
21320
21321
  }
@@ -21341,23 +21342,23 @@ var Eo = {}, PC = {
21341
21342
  var I = pt.call(b, St), T = b[St];
21342
21343
  try {
21343
21344
  b[St] = void 0;
21344
- var U = !0;
21345
+ var Y = !0;
21345
21346
  } catch (ge) {
21346
21347
  }
21347
21348
  var Ie = Hi.call(b);
21348
- return U && (I ? b[St] = T : delete b[St]), Ie;
21349
+ return Y && (I ? b[St] = T : delete b[St]), Ie;
21349
21350
  }
21350
21351
  var vr = Wi ? function(b) {
21351
21352
  return b == null ? [] : (b = Object(b), re(Wi(b), function(I) {
21352
21353
  return Fi.call(b, I);
21353
21354
  }));
21354
21355
  } : Pr, Qt = Mi;
21355
- (_n && Qt(new _n(new ArrayBuffer(1))) != G || ki && Qt(new ki()) != A || Fn && Qt(Fn.resolve()) != P || Wn && Qt(new Wn()) != E || Yn && Qt(new Yn()) != F) && (Qt = function(b) {
21356
- var I = Mi(b), T = I == y ? b.constructor : void 0, U = T ? ut(T) : "";
21357
- if (U)
21358
- switch (U) {
21356
+ (_n && Qt(new _n(new ArrayBuffer(1))) != N || ki && Qt(new ki()) != A || Fn && Qt(Fn.resolve()) != P || Wn && Qt(new Wn()) != E || Yn && Qt(new Yn()) != F) && (Qt = function(b) {
21357
+ var I = Mi(b), T = I == y ? b.constructor : void 0, Y = T ? ut(T) : "";
21358
+ if (Y)
21359
+ switch (Y) {
21359
21360
  case Ps:
21360
- return G;
21361
+ return N;
21361
21362
  case Jt:
21362
21363
  return A;
21363
21364
  case _o:
@@ -22395,7 +22396,7 @@ function UC(n, t, e) {
22395
22396
  loaded: () => e(6, o = Ee)
22396
22397
  })(re);
22397
22398
  }), A = To();
22398
- let { timingFunction: g = "ease-in-out" } = t, { arrows: v = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: k = 500 } = t, { autoplay: x = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: R = vi } = t, { pauseOnFocus: L = !1 } = t, { autoplayProgressVisible: W = !1 } = t, { dots: F = !0 } = t, { swiping: N = !0 } = t, { particlesToShow: G = 1 } = t, { particlesToScroll: _ = 1 } = t;
22399
+ let { timingFunction: g = "ease-in-out" } = t, { arrows: v = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: k = 500 } = t, { autoplay: x = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: R = vi } = t, { pauseOnFocus: L = !1 } = t, { autoplayProgressVisible: U = !1 } = t, { dots: F = !0 } = t, { swiping: G = !0 } = t, { particlesToShow: N = 1 } = t, { particlesToScroll: _ = 1 } = t;
22399
22400
  function Q(re, Ee) {
22400
22401
  return H(this, null, function* () {
22401
22402
  const He = gs(Ee, "animated", !0);
@@ -22404,7 +22405,7 @@ function UC(n, t, e) {
22404
22405
  yield m.showPage(re, { animated: He });
22405
22406
  });
22406
22407
  }
22407
- function Y(re) {
22408
+ function W(re) {
22408
22409
  return H(this, null, function* () {
22409
22410
  const Ee = gs(re, "animated", !0);
22410
22411
  yield m.showPrevPage({ animated: Ee });
@@ -22448,25 +22449,25 @@ function UC(n, t, e) {
22448
22449
  });
22449
22450
  }
22450
22451
  function Ae() {
22451
- N && (h.durationMs = 0);
22452
+ G && (h.durationMs = 0);
22452
22453
  }
22453
22454
  function Oe(re) {
22454
22455
  return H(this, null, function* () {
22455
- N && (yield Aa({
22456
+ G && (yield Aa({
22456
22457
  [vi]: m.showNextPage,
22457
22458
  [Mn]: m.showPrevPage
22458
22459
  })(re.detail.direction));
22459
22460
  });
22460
22461
  }
22461
22462
  function ve(re) {
22462
- N && (h.offset += re.detail.dx);
22463
+ G && (h.offset += re.detail.dx);
22463
22464
  }
22464
22465
  function Fe() {
22465
- N && m.showParticle(h.currentParticleIndex);
22466
+ G && m.showParticle(h.currentParticleIndex);
22466
22467
  }
22467
22468
  function fe() {
22468
22469
  return H(this, null, function* () {
22469
- N && (yield m.offsetPage({ animated: !0 }));
22470
+ G && (yield m.offsetPage({ animated: !0 }));
22470
22471
  });
22471
22472
  }
22472
22473
  function ye(re) {
@@ -22491,7 +22492,7 @@ function UC(n, t, e) {
22491
22492
  }
22492
22493
  const nt = (re) => Ce(re.detail);
22493
22494
  return n.$$set = (re) => {
22494
- "timingFunction" in re && e(0, g = re.timingFunction), "arrows" in re && e(1, v = re.arrows), "infinite" in re && e(2, y = re.infinite), "initialPageIndex" in re && e(24, P = re.initialPageIndex), "duration" in re && e(25, k = re.duration), "autoplay" in re && e(26, x = re.autoplay), "autoplayDuration" in re && e(27, E = re.autoplayDuration), "autoplayDirection" in re && e(28, R = re.autoplayDirection), "pauseOnFocus" in re && e(29, L = re.pauseOnFocus), "autoplayProgressVisible" in re && e(3, W = re.autoplayProgressVisible), "dots" in re && e(4, F = re.dots), "swiping" in re && e(30, N = re.swiping), "particlesToShow" in re && e(31, G = re.particlesToShow), "particlesToScroll" in re && e(32, _ = re.particlesToScroll), "$$scope" in re && e(36, s = re.$$scope);
22495
+ "timingFunction" in re && e(0, g = re.timingFunction), "arrows" in re && e(1, v = re.arrows), "infinite" in re && e(2, y = re.infinite), "initialPageIndex" in re && e(24, P = re.initialPageIndex), "duration" in re && e(25, k = re.duration), "autoplay" in re && e(26, x = re.autoplay), "autoplayDuration" in re && e(27, E = re.autoplayDuration), "autoplayDirection" in re && e(28, R = re.autoplayDirection), "pauseOnFocus" in re && e(29, L = re.pauseOnFocus), "autoplayProgressVisible" in re && e(3, U = re.autoplayProgressVisible), "dots" in re && e(4, F = re.dots), "swiping" in re && e(30, G = re.swiping), "particlesToShow" in re && e(31, N = re.particlesToShow), "particlesToScroll" in re && e(32, _ = re.particlesToScroll), "$$scope" in re && e(36, s = re.$$scope);
22495
22496
  }, n.$$.update = () => {
22496
22497
  n.$$.dirty[0] & /*currentPageIndex*/
22497
22498
  32 && A("pageChange", r), n.$$.dirty[0] & /*infinite*/
@@ -22501,13 +22502,13 @@ function UC(n, t, e) {
22501
22502
  134217728 && (h.autoplayDuration = E), n.$$.dirty[0] & /*autoplayDirection*/
22502
22503
  268435456 && (h.autoplayDirection = R), n.$$.dirty[0] & /*pauseOnFocus*/
22503
22504
  536870912 && (h.pauseOnFocus = L), n.$$.dirty[1] & /*particlesToShow*/
22504
- 1 && (h.particlesToShowInit = G), n.$$.dirty[1] & /*particlesToScroll*/
22505
+ 1 && (h.particlesToShowInit = N), n.$$.dirty[1] & /*particlesToScroll*/
22505
22506
  2 && (h.particlesToScrollInit = _);
22506
22507
  }, [
22507
22508
  g,
22508
22509
  v,
22509
22510
  y,
22510
- W,
22511
+ U,
22511
22512
  F,
22512
22513
  r,
22513
22514
  o,
@@ -22534,11 +22535,11 @@ function UC(n, t, e) {
22534
22535
  E,
22535
22536
  R,
22536
22537
  L,
22537
- N,
22538
22538
  G,
22539
+ N,
22539
22540
  _,
22540
22541
  Q,
22541
- Y,
22542
+ W,
22542
22543
  J,
22543
22544
  s,
22544
22545
  i,
@@ -22866,51 +22867,51 @@ function tI(n, t, e) {
22866
22867
  p || i && (e(9, i.muted = !0, i), i.play(), i.pause(), e(9, i.muted = !1, i), e(8, p = !0));
22867
22868
  };
22868
22869
  v.on("loadVideoFirstFrame", y), yt(() => {
22869
- g.subscribe(({ currentMediaElement: N }) => {
22870
- N !== i && (i == null || i.pause());
22870
+ g.subscribe(({ currentMediaElement: G }) => {
22871
+ G !== i && (i == null || i.pause());
22871
22872
  });
22872
22873
  });
22873
- const P = (N) => {
22874
+ const P = (G) => {
22874
22875
  e(10, m = !1), e(0, o.paused = !1, o), e(8, p = !0), i && g.set({ currentMediaElement: i }), v.emit("playStateChange", {
22875
- event: N,
22876
+ event: G,
22876
22877
  state: "playing",
22877
22878
  tag: r,
22878
22879
  mediaInstance: i
22879
22880
  });
22880
- }, k = (N) => {
22881
+ }, k = (G) => {
22881
22882
  e(10, m = !0), e(0, o.paused = !0, o), v.emit("playStateChange", {
22882
- event: N,
22883
+ event: G,
22883
22884
  state: "paused",
22884
22885
  tag: r,
22885
22886
  mediaInstance: i
22886
22887
  });
22887
- }, x = (N) => {
22888
+ }, x = (G) => {
22888
22889
  e(10, m = !0), e(0, o.paused = !0, o), v.emit("playStateChange", {
22889
- event: N,
22890
+ event: G,
22890
22891
  state: "paused",
22891
22892
  tag: r,
22892
22893
  mediaInstance: i
22893
22894
  });
22894
- }, E = (N) => {
22895
+ }, E = (G) => {
22895
22896
  e(10, m = !0), e(0, o.paused = !0, o), v.emit("playStateChange", {
22896
- event: N,
22897
+ event: G,
22897
22898
  state: "paused",
22898
22899
  tag: r,
22899
22900
  mediaInstance: i
22900
22901
  });
22901
- }, R = (N) => {
22902
+ }, R = (G) => {
22902
22903
  i && i.pause();
22903
22904
  };
22904
- function L(N) {
22905
- Qe[N ? "unshift" : "push"](() => {
22906
- o.videoInstance = N, e(0, o);
22905
+ function L(G) {
22906
+ Qe[G ? "unshift" : "push"](() => {
22907
+ o.videoInstance = G, e(0, o);
22907
22908
  });
22908
22909
  }
22909
- const W = () => l === "withText" ? Xa : l === "withoutText" ? ma : l, F = (N) => {
22910
+ const U = () => l === "withText" ? Xa : l === "withoutText" ? ma : l, F = (G) => {
22910
22911
  d && i && (e(9, i.muted = !1, i), i.play());
22911
22912
  };
22912
- return n.$$set = (N) => {
22913
- "mediaInstance" in N && e(0, o = N.mediaInstance), "tag" in N && e(1, r = N.tag), "media" in N && e(2, a = N.media), "playButtonIfNeed" in N && e(3, l = N.playButtonIfNeed), "playButtonSizeIfNeed" in N && e(4, c = N.playButtonSizeIfNeed), "canPlay" in N && e(5, d = N.canPlay), "objectFit" in N && e(6, h = N.objectFit), "disableVideoIfHavePoster" in N && e(7, f = N.disableVideoIfHavePoster);
22913
+ return n.$$set = (G) => {
22914
+ "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, d = G.canPlay), "objectFit" in G && e(6, h = G.objectFit), "disableVideoIfHavePoster" in G && e(7, f = G.disableVideoIfHavePoster);
22914
22915
  }, n.$$.update = () => {
22915
22916
  if (n.$$.dirty & /*mediaInstance*/
22916
22917
  1 && e(9, i = o.videoInstance), n.$$.dirty & /*media*/
@@ -22918,7 +22919,7 @@ function tI(n, t, e) {
22918
22919
  8192 && s && A(), n.$$.dirty & /*videoInstance*/
22919
22920
  512 && i && e(10, m = i.paused), n.$$.dirty & /*media, videoPosterLoaded, videoInstance*/
22920
22921
  772 && (a == null ? void 0 : a.type) === "Video" && !p) {
22921
- const N = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, _ = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && N;
22922
+ const G = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, _ = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && G;
22922
22923
  i && _ && i.paused && (document.removeEventListener("WeixinJSBridgeReady", y), document.removeEventListener("touchstart", y), document.removeEventListener("click", y), document.addEventListener("WeixinJSBridgeReady", y), document.addEventListener("touchstart", y), document.addEventListener("click", y));
22923
22924
  }
22924
22925
  }, [
@@ -22942,7 +22943,7 @@ function tI(n, t, e) {
22942
22943
  E,
22943
22944
  R,
22944
22945
  L,
22945
- W,
22946
+ U,
22946
22947
  F
22947
22948
  ];
22948
22949
  }
@@ -23333,15 +23334,15 @@ function aI(n, t, e) {
23333
23334
  let i, s, o, r, { tag: a } = t, { mediaData: l } = t, { inDelay: c = 0 } = t, { outDelay: d = 0 } = t, { duration: h = 0 } = t, { unfolded: f = !0 } = t, { animation: m = !0 } = t, { mediaItemConfig: p } = t, { enableCarousel: A = !0 } = t, { autoplayConfig: g = {} } = t;
23334
23335
  const { autoplayVideo: v = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: P = !1 } = g;
23335
23336
  let k = [], x = 0, E, R = null;
23336
- const L = mi("hooks"), W = mi("mediaStore");
23337
+ const L = mi("hooks"), U = mi("mediaStore");
23337
23338
  function F() {
23338
- const Y = k[x], J = Y == null ? void 0 : Y.videoInstance;
23339
+ const W = k[x], J = W == null ? void 0 : W.videoInstance;
23339
23340
  J && (J.paused ? (J.muted = !1, J.play()) : J.pause());
23340
23341
  }
23341
23342
  yt(() => {
23342
- L.on("click", (Y) => {
23343
+ L.on("click", (W) => {
23343
23344
  var J, X, $;
23344
- ($ = (X = (J = a.tag3DContentSvelte) == null ? void 0 : J.css3DInstance) == null ? void 0 : X.css3DObject) != null && $.opacityMesh && Y.tag.id === a.id && F();
23345
+ ($ = (X = (J = a.tag3DContentSvelte) == null ? void 0 : J.css3DInstance) == null ? void 0 : X.css3DObject) != null && $.opacityMesh && W.tag.id === a.id && F();
23345
23346
  }), R = setInterval(
23346
23347
  () => {
23347
23348
  r && (E == null || E.goToNext());
@@ -23351,25 +23352,25 @@ function aI(n, t, e) {
23351
23352
  }), Ot(() => {
23352
23353
  clearInterval(R), L.off("click", F);
23353
23354
  });
23354
- function N(Y, J) {
23355
- n.$$.not_equal(k[J], Y) && (k[J] = Y, e(8, k));
23355
+ function G(W, J) {
23356
+ n.$$.not_equal(k[J], W) && (k[J] = W, e(8, k));
23356
23357
  }
23357
- function G(Y) {
23358
- Qe[Y ? "unshift" : "push"](() => {
23359
- E = Y, e(12, E);
23358
+ function N(W) {
23359
+ Qe[W ? "unshift" : "push"](() => {
23360
+ E = W, e(12, E);
23360
23361
  });
23361
23362
  }
23362
- const _ = (Y) => {
23363
- i || W.set({ currentMediaElement: null }), e(11, x = Y.detail);
23363
+ const _ = (W) => {
23364
+ i || U.set({ currentMediaElement: null }), e(11, x = W.detail);
23364
23365
  };
23365
- function Q(Y) {
23366
- n.$$.not_equal(k[0], Y) && (k[0] = Y, e(8, k));
23366
+ function Q(W) {
23367
+ n.$$.not_equal(k[0], W) && (k[0] = W, e(8, k));
23367
23368
  }
23368
- return n.$$set = (Y) => {
23369
- "tag" in Y && e(0, a = Y.tag), "mediaData" in Y && e(1, l = Y.mediaData), "inDelay" in Y && e(2, c = Y.inDelay), "outDelay" in Y && e(3, d = Y.outDelay), "duration" in Y && e(4, h = Y.duration), "unfolded" in Y && e(5, f = Y.unfolded), "animation" in Y && e(6, m = Y.animation), "mediaItemConfig" in Y && e(7, p = Y.mediaItemConfig), "enableCarousel" in Y && e(15, A = Y.enableCarousel), "autoplayConfig" in Y && e(16, g = Y.autoplayConfig);
23369
+ return n.$$set = (W) => {
23370
+ "tag" in W && e(0, a = W.tag), "mediaData" in W && e(1, l = W.mediaData), "inDelay" in W && e(2, c = W.inDelay), "outDelay" in W && e(3, d = W.outDelay), "duration" in W && e(4, h = W.duration), "unfolded" in W && e(5, f = W.unfolded), "animation" in W && e(6, m = W.animation), "mediaItemConfig" in W && e(7, p = W.mediaItemConfig), "enableCarousel" in W && e(15, A = W.enableCarousel), "autoplayConfig" in W && e(16, g = W.autoplayConfig);
23370
23371
  }, n.$$.update = () => {
23371
23372
  n.$$.dirty[0] & /*mediaInstanceList*/
23372
- 256 && e(9, i = k.every((Y) => Y.paused)), n.$$.dirty[0] & /*enableCarousel, mediaData*/
23373
+ 256 && e(9, i = k.every((W) => W.paused)), n.$$.dirty[0] & /*enableCarousel, mediaData*/
23373
23374
  32770 && e(13, s = A && (l == null ? void 0 : l.length) > 1), n.$$.dirty[0] & /*mediaData*/
23374
23375
  2 && e(10, o = l), n.$$.dirty[0] & /*mediaDataList, paused*/
23375
23376
  1536 && (r = o.length > 1 && y && i);
@@ -23388,11 +23389,11 @@ function aI(n, t, e) {
23388
23389
  x,
23389
23390
  E,
23390
23391
  s,
23391
- W,
23392
+ U,
23392
23393
  A,
23393
23394
  g,
23394
- N,
23395
23395
  G,
23396
+ N,
23396
23397
  _,
23397
23398
  Q
23398
23399
  ];
@@ -23938,7 +23939,7 @@ function fI(n) {
23938
23939
  B(E, t, R), ee(e, t, null), D(t, i), D(t, s), D(t, o), D(t, r), v && v.m(r, null), D(r, a), D(r, l), D(l, c), D(c, d), D(d, f), D(r, m), y && y.m(r, null), D(r, p), P && P.m(r, null), g = !0;
23939
23940
  },
23940
23941
  p(E, [R]) {
23941
- var W, F;
23942
+ var U, F;
23942
23943
  const L = {};
23943
23944
  R & /*unfolded*/
23944
23945
  16 && (L.visible = /*unfolded*/
@@ -23952,7 +23953,7 @@ function fI(n) {
23952
23953
  E[3].headerPictureUrl ? v ? v.p(E, R) : (v = Yd(E), v.c(), v.m(r, a)) : v && (v.d(1), v = null), (!g || R & /*data*/
23953
23954
  8) && h !== (h = /*data*/
23954
23955
  E[3].title + "") && De(f, h), /*primaryTags*/
23955
- ((W = E[2].length) != null ? W : 0) + /*secondaryTags*/
23956
+ ((U = E[2].length) != null ? U : 0) + /*secondaryTags*/
23956
23957
  ((F = E[5].length) != null ? F : 0) > 0 ? y ? y.p(E, R) : (y = Ud(E), y.c(), y.m(r, p)) : y && (y.d(1), y = null), /*havePrice*/
23957
23958
  E[7] || /*data*/
23958
23959
  E[3].highlightText ? P ? P.p(E, R) : (P = Zd(E), P.c(), P.m(r, null)) : P && (P.d(1), P = null), R & /*unfolded*/
@@ -26494,7 +26495,7 @@ function IP(n, t, e) {
26494
26495
  return n.$$set = (x) => {
26495
26496
  "withAnimation" in x && e(0, c = x.withAnimation), "tag" in x && e(1, d = x.tag), "hooks" in x && e(2, h = x.hooks), "renderMap" in x && e(3, f = x.renderMap), "state" in x && e(6, m = x.state), "mediaStore" in x && e(7, p = x.mediaStore), "temporaryState" in x && e(8, A = x.temporaryState);
26496
26497
  }, n.$$.update = () => {
26497
- var x, E, R, L, W, F, N, G, _, Q, Y;
26498
+ var x, E, R, L, U, F, G, N, _, Q, W;
26498
26499
  n.$$.dirty & /*tag*/
26499
26500
  2 && e(12, i = (x = d.state) == null ? void 0 : x.unfolded), n.$$.dirty & /*tag*/
26500
26501
  2 && e(11, s = (E = d.state) == null ? void 0 : E.visible), n.$$.dirty & /*state, temporaryState, tag*/
@@ -26502,7 +26503,7 @@ function IP(n, t, e) {
26502
26503
  2 && (r = d.id), n.$$.dirty & /*tag, state, temporaryState*/
26503
26504
  322 && e(5, a = !CP(d, m, A)), n.$$.dirty & /*isVisible*/
26504
26505
  8192 && y(o), n.$$.dirty & /*tag, unfolded, lastUnfoldedState, visible, lastVisibleState*/
26505
- 7682 && d.hooks && (i !== void 0 && i !== v && (e(10, v = i), i ? (W = (L = d.hooks).emit) == null || W.call(L, "unfolded") : (N = d == null ? void 0 : (F = d.hooks).emit) == null || N.call(F, "folded")), s !== void 0 && s !== g && (e(9, g = s), s ? (_ = (G = d.hooks).emit) == null || _.call(G, "show") : (Y = (Q = d.hooks).emit) == null || Y.call(Q, "hide"))), n.$$.dirty & /*tag*/
26506
+ 7682 && d.hooks && (i !== void 0 && i !== v && (e(10, v = i), i ? (U = (L = d.hooks).emit) == null || U.call(L, "unfolded") : (G = d == null ? void 0 : (F = d.hooks).emit) == null || G.call(F, "folded")), s !== void 0 && s !== g && (e(9, g = s), s ? (_ = (N = d.hooks).emit) == null || _.call(N, "show") : (W = (Q = d.hooks).emit) == null || W.call(Q, "hide"))), n.$$.dirty & /*tag*/
26506
26507
  2 && e(4, l = (() => !(typeof d.config.unfoldedConfig == "object" && d.config.unfoldedConfig.keep === "folded"))());
26507
26508
  }, [
26508
26509
  c,
@@ -27030,8 +27031,8 @@ function zP(n, t, e) {
27030
27031
  var P, k, x, E, R, L;
27031
27032
  n.$$.dirty & /*tag*/
27032
27033
  2 && e(14, i = (() => {
27033
- var W, F;
27034
- return !(((F = (W = m.style) == null ? void 0 : W.point) == null ? void 0 : F.enabled) === !1 || m.contentType === "Sticker" || m.contentType === "Link" || m.contentType === "VRLink" || m.contentType === "PanoLink" || m.contentType === "Audio" && m.data.appearance === "plane");
27034
+ var U, F;
27035
+ return !(((F = (U = m.style) == null ? void 0 : U.point) == null ? void 0 : F.enabled) === !1 || m.contentType === "Sticker" || m.contentType === "Link" || m.contentType === "VRLink" || m.contentType === "PanoLink" || m.contentType === "Audio" && m.data.appearance === "plane");
27035
27036
  })()), n.$$.dirty & /*tag*/
27036
27037
  2 && e(13, s = (() => m.stickType === "2DPoint")()), n.$$.dirty & /*tag*/
27037
27038
  2 && e(12, o = m.id), n.$$.dirty & /*tag*/
@@ -30799,7 +30800,7 @@ class B2 extends Cs {
30799
30800
  this.scale(i);
30800
30801
  }
30801
30802
  scale(e) {
30802
- var W, F;
30803
+ var U, F;
30803
30804
  if (!this.startInfo)
30804
30805
  return;
30805
30806
  const i = this.originObject3D, { startPoint: s, plane: o } = this.startInfo, r = this.helperObject3D.cornerPositions;
@@ -30808,34 +30809,34 @@ class B2 extends Cs {
30808
30809
  const a = e.ray.intersectPlane(o, new ie());
30809
30810
  if (!a || A2(a, this.camera.position))
30810
30811
  return;
30811
- const l = new ie().addVectors(r[0], r[2]).divideScalar(2), { position: c, direction: d } = s, h = new ie().subVectors(r[1], r[0]), f = new ie().subVectors(r[3], r[0]), m = (N) => {
30812
- const G = new ie(0, 0, 0);
30812
+ const l = new ie().addVectors(r[0], r[2]).divideScalar(2), { position: c, direction: d } = s, h = new ie().subVectors(r[1], r[0]), f = new ie().subVectors(r[3], r[0]), m = (G) => {
30813
+ const N = new ie(0, 0, 0);
30813
30814
  if (!this.startInfo)
30814
- return G;
30815
- const _ = (N === "ew" ? h : f).clone(), Q = c.clone().projectOnVector(_), Y = a.clone().projectOnVector(_), J = l.clone().projectOnVector(_);
30816
- if (Y.equals(Q))
30817
- return G;
30818
- if (N === "ns" && typeof this.startInfo.dragPointInCenterBottom != "boolean") {
30819
- const ce = new ie().subVectors(Y, J), oe = ce.x < 0 && _.x >= 0, we = ce.y < 0 && _.y >= 0, Ce = ce.z < 0 && _.z >= 0;
30815
+ return N;
30816
+ const _ = (G === "ew" ? h : f).clone(), Q = c.clone().projectOnVector(_), W = a.clone().projectOnVector(_), J = l.clone().projectOnVector(_);
30817
+ if (W.equals(Q))
30818
+ return N;
30819
+ if (G === "ns" && typeof this.startInfo.dragPointInCenterBottom != "boolean") {
30820
+ const ce = new ie().subVectors(W, J), oe = ce.x < 0 && _.x >= 0, we = ce.y < 0 && _.y >= 0, Ce = ce.z < 0 && _.z >= 0;
30820
30821
  this.startInfo.dragPointInCenterBottom = oe || we || Ce;
30821
30822
  }
30822
- if (N === "ew" && typeof this.startInfo.dragPointInCenterLeft != "boolean") {
30823
- const ce = new ie().subVectors(Y, J), oe = ce.x < 0 && _.x >= 0, we = ce.y < 0 && _.y >= 0, Ce = ce.z < 0 && _.z >= 0;
30823
+ if (G === "ew" && typeof this.startInfo.dragPointInCenterLeft != "boolean") {
30824
+ const ce = new ie().subVectors(W, J), oe = ce.x < 0 && _.x >= 0, we = ce.y < 0 && _.y >= 0, Ce = ce.z < 0 && _.z >= 0;
30824
30825
  this.startInfo.dragPointInCenterLeft = oe || we || Ce;
30825
30826
  }
30826
- const X = new ie().subVectors(Y, Q), $ = X.length();
30827
- return $ > 0.3 ? (console.warn("offset.length() > 0.3, skipped", $), G) : X;
30827
+ const X = new ie().subVectors(W, Q), $ = X.length();
30828
+ return $ > 0.3 ? (console.warn("offset.length() > 0.3, skipped", $), N) : X;
30828
30829
  }, p = m("ew"), A = m("ns"), g = () => {
30829
- const N = p;
30830
- this.helperObject3D.cornerPositions.forEach((G, _) => {
30830
+ const G = p;
30831
+ this.helperObject3D.cornerPositions.forEach((N, _) => {
30831
30832
  var Q;
30832
- (Q = this.startInfo) != null && Q.dragPointInCenterLeft ? (_ === 0 || _ === 3) && G.add(N) : (_ === 1 || _ === 2) && G.add(N);
30833
+ (Q = this.startInfo) != null && Q.dragPointInCenterLeft ? (_ === 0 || _ === 3) && N.add(G) : (_ === 1 || _ === 2) && N.add(G);
30833
30834
  });
30834
30835
  }, v = () => {
30835
- const N = A;
30836
- this.helperObject3D.cornerPositions.forEach((G, _) => {
30836
+ const G = A;
30837
+ this.helperObject3D.cornerPositions.forEach((N, _) => {
30837
30838
  var Q;
30838
- (Q = this.startInfo) != null && Q.dragPointInCenterBottom ? (_ === 0 || _ === 1) && G.add(N) : (_ === 2 || _ === 3) && G.add(N);
30839
+ (Q = this.startInfo) != null && Q.dragPointInCenterBottom ? (_ === 0 || _ === 1) && N.add(G) : (_ === 2 || _ === 3) && N.add(G);
30839
30840
  });
30840
30841
  };
30841
30842
  switch (d) {
@@ -30852,7 +30853,7 @@ class B2 extends Cs {
30852
30853
  const y = new ie().subVectors(r[1], r[0]).length() / h.length(), P = new ie().subVectors(r[3], r[0]).length() / f.length(), k = new ie(y, P, 1), x = new C.Matrix4().scale(k);
30853
30854
  i.isCSS3DObjectPlus ? i.applyScaleMatrix4(x) : i.scale.applyMatrix4(x), s.position.copy(a);
30854
30855
  const E = new ie().addVectors(r[0], r[2]).divideScalar(2), R = new ie().subVectors(E, l), L = new C.Matrix4().setPosition(R);
30855
- i.applyMatrix4(L), (W = this.helperObject3D.css3DInstance) == null || W.css3DObject.applyMatrix4(L), (F = this.helperObject3D.plane) == null || F.applyMatrix4(L), this.hooks.emit("applyObjectScale", { matrix: x }), this.hooks.emit("applyObjectPosition", { matrix: L }), this.render();
30856
+ i.applyMatrix4(L), (U = this.helperObject3D.css3DInstance) == null || U.css3DObject.applyMatrix4(L), (F = this.helperObject3D.plane) == null || F.applyMatrix4(L), this.hooks.emit("applyObjectScale", { matrix: x }), this.hooks.emit("applyObjectPosition", { matrix: L }), this.render();
30856
30857
  }
30857
30858
  dragEnd() {
30858
30859
  this.isDragging && (this.startInfo = void 0, this.isDragging = !1, this.hooks.emit("scaleEnd"), this.render());