@realsee/dnalogel 2.20.1 → 2.20.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (307) hide show
  1. package/dist/index.cjs.js +16 -16
  2. package/dist/index.js +368 -368
  3. package/dist/index.umd.js +16 -16
  4. package/docs/classes/CSS3DRender.html +30 -30
  5. package/docs/classes/CruisePluginController.html +25 -25
  6. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  7. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +33 -33
  8. package/docs/classes/Magnifier.html +19 -19
  9. package/docs/classes/ModelRoomLabelController.html +10 -10
  10. package/docs/classes/Object3DHelperController.html +24 -24
  11. package/docs/classes/PaintBrush.html +14 -14
  12. package/docs/classes/PanoMeasurePluginLine.html +22 -22
  13. package/docs/classes/PanoMeasurePluginModel.html +21 -21
  14. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  15. package/docs/classes/PanoMeasurePluginPolyline.html +25 -25
  16. package/docs/classes/PanoTagPluginController.html +46 -46
  17. package/docs/classes/Util.BetterTween.html +8 -8
  18. package/docs/classes/Util.FivePointSelector.html +11 -11
  19. package/docs/classes/Util.Interval.html +11 -11
  20. package/docs/classes/Util.Magnifier.html +16 -16
  21. package/docs/classes/Util.PointDomHelper.html +10 -10
  22. package/docs/classes/Util.PointHelper.html +10 -10
  23. package/docs/classes/Util.Rectangle.html +12 -12
  24. package/docs/enums/CameraMovementEffect.html +6 -6
  25. package/docs/enums/ContentType.html +19 -19
  26. package/docs/enums/DIRECTION.html +8 -8
  27. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  28. package/docs/enums/DimensionType.html +6 -6
  29. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  30. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  31. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  32. package/docs/enums/PointType.html +6 -6
  33. package/docs/enums/Rotation.html +7 -7
  34. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  35. package/docs/functions/CameraMovementPlugin.html +3 -3
  36. package/docs/functions/CruisePlugin.html +3 -3
  37. package/docs/functions/GuideLinePlugin.html +4 -4
  38. package/docs/functions/ItemLabelPlugin.html +3 -3
  39. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  40. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  41. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  42. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  43. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  44. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  45. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  46. package/docs/functions/ModelViewPlugin.html +3 -3
  47. package/docs/functions/Object3DHelperPlugin.html +3 -3
  48. package/docs/functions/PanoCompassPlugin.html +3 -3
  49. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  50. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  51. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  52. package/docs/functions/PanoMeasurePlugin.html +3 -3
  53. package/docs/functions/PanoRulerPlugin.html +3 -3
  54. package/docs/functions/PanoRulerProPlugin.html +3 -3
  55. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  56. package/docs/functions/PanoTagPlugin.html +3 -3
  57. package/docs/functions/PanoVideoPlugin.html +3 -3
  58. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  59. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  60. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  61. package/docs/functions/Util.getFrameTime.html +4 -4
  62. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  63. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  64. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  65. package/docs/functions/Util.isModelLike.html +4 -4
  66. package/docs/functions/Util.isNil.html +4 -4
  67. package/docs/functions/Util.isPanoramaLike.html +4 -4
  68. package/docs/functions/Util.nextFrame.html +4 -4
  69. package/docs/functions/Util.notNil.html +4 -4
  70. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  71. package/docs/functions/Util.tweenProgress.html +4 -4
  72. package/docs/functions/Util.uuid.html +4 -4
  73. package/docs/functions/pluginFlag.html +4 -4
  74. package/docs/index.html +4 -4
  75. package/docs/interfaces/AddTagConfig.html +5 -5
  76. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  77. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  78. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  79. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  80. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  81. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  82. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  83. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  84. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  85. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  86. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  87. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  88. package/docs/interfaces/EventMap.html +14 -14
  89. package/docs/interfaces/FloorplanBounding.html +7 -7
  90. package/docs/interfaces/FloorplanData.html +9 -9
  91. package/docs/interfaces/FloorplanEntrance.html +10 -10
  92. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  93. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  94. package/docs/interfaces/FloorplanFloorData.html +8 -8
  95. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  96. package/docs/interfaces/FloorplanObserver.html +8 -8
  97. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  98. package/docs/interfaces/FloorplanPosition.html +6 -6
  99. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  100. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  101. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  102. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  103. package/docs/interfaces/FloorplanServerData.html +6 -6
  104. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  105. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  106. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  107. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  108. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  109. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  110. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  111. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  112. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  113. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  114. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  115. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  116. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  117. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  118. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  119. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  120. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  121. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  122. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  123. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  124. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  125. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  126. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  127. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  128. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  129. package/docs/interfaces/HelperOffset.html +7 -7
  130. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  131. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  132. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  133. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  134. package/docs/interfaces/MinMax.html +6 -6
  135. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  136. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  137. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  138. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  139. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  140. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  141. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  142. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  143. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  144. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  145. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  146. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  147. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  148. package/docs/interfaces/Object3DHelperState.html +7 -7
  149. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  150. package/docs/interfaces/PaintBrushAction.html +11 -11
  151. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  152. package/docs/interfaces/PaintBrushState.html +9 -9
  153. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  154. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  155. package/docs/interfaces/PanoMeasureParameterType.html +13 -13
  156. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  157. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  158. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  159. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  160. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  161. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  162. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  163. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  164. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  165. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  166. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  167. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  168. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  169. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  170. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  171. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  172. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  173. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  174. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  175. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  176. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  177. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  178. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  179. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  180. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  181. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  182. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  183. package/docs/interfaces/Point.html +7 -7
  184. package/docs/interfaces/Room.html +8 -8
  185. package/docs/interfaces/RoomInfo.html +6 -6
  186. package/docs/interfaces/RoomLabel.html +13 -13
  187. package/docs/interfaces/RoomRules.html +4 -4
  188. package/docs/interfaces/Rooms.html +4 -4
  189. package/docs/interfaces/Scissor.html +8 -8
  190. package/docs/interfaces/State.html +7 -7
  191. package/docs/interfaces/TagCacheInterface.html +11 -11
  192. package/docs/interfaces/TagConfig.html +12 -12
  193. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  194. package/docs/interfaces/TagIconUrl.html +11 -11
  195. package/docs/interfaces/TagObjectGroup.html +5 -5
  196. package/docs/interfaces/TagStyle.html +5 -5
  197. package/docs/interfaces/Tags.html +8 -8
  198. package/docs/interfaces/TemporaryState.html +5 -5
  199. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  200. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  201. package/docs/modules/CruisePluginTypes.html +4 -4
  202. package/docs/modules/GuideLineItem.html +4 -4
  203. package/docs/modules/GuideLineModeItem.html +4 -4
  204. package/docs/modules/GuideLinePluginType.html +4 -4
  205. package/docs/modules/PanoVideoPluginType.html +4 -4
  206. package/docs/modules/Util.html +4 -4
  207. package/docs/modules.html +4 -4
  208. package/docs/types/ArrayPosition.html +4 -4
  209. package/docs/types/AudioAppearance.html +4 -4
  210. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  211. package/docs/types/CSS3DRenderExportType.html +4 -4
  212. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  213. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  214. package/docs/types/ClassFunctionParameters.html +4 -4
  215. package/docs/types/Color.html +4 -4
  216. package/docs/types/ContentTypeConfigKey.html +4 -4
  217. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  218. package/docs/types/ContentTypeMap.html +4 -4
  219. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  220. package/docs/types/Create3DElementReturnType.html +4 -4
  221. package/docs/types/CruisePluginExportType.html +4 -4
  222. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  223. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  224. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  225. package/docs/types/DeprecatedTagProperty.html +4 -4
  226. package/docs/types/Direction-1.html +4 -4
  227. package/docs/types/Direction4.html +4 -4
  228. package/docs/types/ElementRenderer.html +4 -4
  229. package/docs/types/FloorplanRuleLabels.html +4 -4
  230. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  231. package/docs/types/GuideLinePluginExportType.html +4 -4
  232. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  233. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  234. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  235. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  236. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  237. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  238. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  239. package/docs/types/HelperEventMap.html +4 -4
  240. package/docs/types/LoadTagConfig.html +4 -4
  241. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  242. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  243. package/docs/types/MediaData.html +4 -4
  244. package/docs/types/MediaStore.html +4 -4
  245. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  246. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  247. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  248. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  249. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  250. package/docs/types/MoveArgs.html +4 -4
  251. package/docs/types/MoveOpts.html +4 -4
  252. package/docs/types/Object3DHelperEventMap.html +4 -4
  253. package/docs/types/ObjectFit.html +4 -4
  254. package/docs/types/PaintBrushEventMap.html +4 -4
  255. package/docs/types/PanoCompassPluginData.html +4 -4
  256. package/docs/types/PanoCompassPluginExportType.html +4 -4
  257. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  258. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  259. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  260. package/docs/types/PanoIndex.html +4 -4
  261. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  262. package/docs/types/PanoMeasureReturnType.html +4 -4
  263. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  264. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  265. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  266. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  267. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  268. package/docs/types/PartialObjectDeep.html +4 -4
  269. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  270. package/docs/types/PlaneTag.html +4 -4
  271. package/docs/types/Point2DTag.html +4 -4
  272. package/docs/types/Point3DTag.html +4 -4
  273. package/docs/types/PointTag.html +4 -4
  274. package/docs/types/PointTagInstance.html +4 -4
  275. package/docs/types/Position.html +4 -4
  276. package/docs/types/RotateArgs.html +4 -4
  277. package/docs/types/RotateOpts.html +4 -4
  278. package/docs/types/RuleLabelsKey.html +4 -4
  279. package/docs/types/RuleLabelsValue.html +4 -4
  280. package/docs/types/StickType.html +4 -4
  281. package/docs/types/Tag.html +4 -4
  282. package/docs/types/Tag2D.html +4 -4
  283. package/docs/types/Tag3D.html +4 -4
  284. package/docs/types/TagContentType.html +4 -4
  285. package/docs/types/TagDimensionType.html +4 -4
  286. package/docs/types/TagElement.html +4 -4
  287. package/docs/types/TagEvents.html +4 -4
  288. package/docs/types/TagGLTFObject.html +4 -4
  289. package/docs/types/TagHooks.html +4 -4
  290. package/docs/types/TagId.html +4 -4
  291. package/docs/types/TagInstance.html +4 -4
  292. package/docs/types/TagPointType.html +4 -4
  293. package/docs/types/TagRendererMap.html +4 -4
  294. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  295. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  296. package/docs/types/WorkCode.html +4 -4
  297. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  298. package/docs/variables/PLUGIN.html +4 -4
  299. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  300. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  301. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  302. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  303. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  304. package/libs/GuideLinePlugin/Controller.js +37 -37
  305. package/libs/base/BasePlugin.js +1 -1
  306. package/libs/shared-utils/logger.js +1 -1
  307. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -38,7 +38,7 @@ import Ra from "animejs";
38
38
  import { GLTFLoader as Wu } from "@realsee/five/gltf-loader";
39
39
  function Nu() {
40
40
  console.info(
41
- "%c %c@realsee/dnalogel %cv2.20.1",
41
+ "%c %c@realsee/dnalogel %cv2.20.3",
42
42
  [
43
43
  "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=')",
44
44
  "background-repeat: no-repeat",
@@ -953,13 +953,13 @@ let rf = class extends of {
953
953
  if (g.tweening = !0, !g.ready)
954
954
  return a.clearRect(0, 0, g.canvas[h].width, g.canvas[h].height), (y = g.tween) == null ? void 0 : y.stop();
955
955
  const b = Math.floor(A);
956
- if (!v.find((P) => P === b)) {
956
+ if (!v.find((I) => I === b)) {
957
957
  if (v.push(b), m.push(ur(l[b], g.clientWidth, g.clientHeight)), m.length < 3)
958
958
  return;
959
- const { control: P, end: k } = Eo(m);
960
- if (!P || !k)
959
+ const { control: I, end: k } = Eo(m);
960
+ if (!I || !k)
961
961
  return;
962
- a.quadraticCurveTo(P.x, P.y, k.x, k.y), a.stroke();
962
+ a.quadraticCurveTo(I.x, I.y, k.x, k.y), a.stroke();
963
963
  }
964
964
  }).onComplete((A) => {
965
965
  g.tween = void 0, g.tweening = !1, v = [], m = [], s && s(), r();
@@ -1101,7 +1101,7 @@ const fI = (i, t) => {
1101
1101
  e || (e = !0, l.add(d), !n && i.model.loaded && m(), z());
1102
1102
  }, y = () => {
1103
1103
  e && (l.remove(d), o = !0, M(), e = !1);
1104
- }, P = (B, G = {}) => {
1104
+ }, I = (B, G = {}) => {
1105
1105
  const U = v();
1106
1106
  if (!U)
1107
1107
  return;
@@ -1126,14 +1126,14 @@ const fI = (i, t) => {
1126
1126
  let re = J / 2 / Math.tan(Math.PI * G / 360);
1127
1127
  return U < 1 && (re = re / U), isNaN(re) ? J : re;
1128
1128
  }
1129
- function I(B) {
1129
+ function P(B) {
1130
1130
  return i.work.observers[B].standingPosition.clone();
1131
1131
  }
1132
1132
  const z = () => {
1133
1133
  if (!e || !h || !u)
1134
1134
  return;
1135
1135
  const B = i.getPose();
1136
- B.fov = c.fov, B.offset = u, B.distance = h, typeof a.lockedLatitude == "number" && (B.latitude = a.lockedLatitude), typeof a.lockedLongitude == "number" && (B.longitude = a.lockedLongitude), typeof a.lockedPanoIndex == "number" && (B.offset = I(a.lockedPanoIndex)), a.lookAtCurrentCamera && (B.offset = i.camera.position.clone().setY(i.camera.position.y + 1)), c.setFromPose(B), o = !0;
1136
+ B.fov = c.fov, B.offset = u, B.distance = h, typeof a.lockedLatitude == "number" && (B.latitude = a.lockedLatitude), typeof a.lockedLongitude == "number" && (B.longitude = a.lockedLongitude), typeof a.lockedPanoIndex == "number" && (B.offset = P(a.lockedPanoIndex)), a.lookAtCurrentCamera && (B.offset = i.camera.position.clone().setY(i.camera.position.y + 1)), c.setFromPose(B), o = !0;
1137
1137
  }, M = () => {
1138
1138
  !e || o !== !0 || !s || !s.domElement.parentNode || s.domElement.parentNode.offsetWidth === 0 || (s.render(l, c), o = !1);
1139
1139
  }, F = () => {
@@ -1143,7 +1143,7 @@ const fI = (i, t) => {
1143
1143
  }, Q = () => ({
1144
1144
  enabled: e
1145
1145
  });
1146
- return Object.assign(window, { camera: c }), i.on("modelLoaded", A), i.on("modelWillLoad", g), i.on("cameraDirectionUpdate", z), i.on("dispose", F), i.on("renderFrame", M), i.on("cameraPositionUpdate", z), { appendTo: P, refresh: k, changeConfigs: q, enable: b, disable: y, getCurrentState: Q };
1146
+ return Object.assign(window, { camera: c }), i.on("modelLoaded", A), i.on("modelWillLoad", g), i.on("cameraDirectionUpdate", z), i.on("dispose", F), i.on("renderFrame", M), i.on("cameraPositionUpdate", z), { appendTo: I, refresh: k, changeConfigs: q, enable: b, disable: y, getCurrentState: Q };
1147
1147
  };
1148
1148
  function sn(...i) {
1149
1149
  const t = [];
@@ -1315,8 +1315,8 @@ function Dn(...i) {
1315
1315
  const Vd = 1, uf = `CSS3DObjectPlus@${Vd}`, ff = 216e-5, mf = 3e-3;
1316
1316
  class pf extends Or {
1317
1317
  constructor(e) {
1318
- var S, I, z;
1319
- const n = e.container, o = e.cornerPoints, s = (S = e.ratio) != null ? S : mf, r = (I = e.dpr) != null ? I : 1, a = (z = e.pointerEvents) != null ? z : "auto", l = Math.max(ff, s), c = o[0].distanceTo(o[1]), d = o[1].distanceTo(o[2]), h = Xo(c / s * r), u = Xo(d / s * r), m = Dn(...o);
1318
+ var S, P, z;
1319
+ const n = e.container, o = e.cornerPoints, s = (S = e.ratio) != null ? S : mf, r = (P = e.dpr) != null ? P : 1, a = (z = e.pointerEvents) != null ? z : "auto", l = Math.max(ff, s), c = o[0].distanceTo(o[1]), d = o[1].distanceTo(o[2]), h = Xo(c / s * r), u = Xo(d / s * r), m = Dn(...o);
1320
1320
  let v;
1321
1321
  if (l === s)
1322
1322
  n.style.width = `${h}px`, n.style.height = `${u}px`, v = n;
@@ -1371,8 +1371,8 @@ class pf extends Or {
1371
1371
  n.classList.add(`${uf}__container`);
1372
1372
  const g = new $().subVectors(o[1], o[0]), A = new $().subVectors(o[3], o[0]), b = new $().crossVectors(g, A).normalize();
1373
1373
  this.lookAt(b);
1374
- const y = this.up.clone().applyQuaternion(this.quaternion), P = A.clone(), k = new $().crossVectors(y, P).normalize();
1375
- this.rotateOnWorldAxis(k, y.angleTo(P)), this.position.copy(m), this.addEventListener("added", () => {
1374
+ const y = this.up.clone().applyQuaternion(this.quaternion), I = A.clone(), k = new $().crossVectors(y, I).normalize();
1375
+ this.rotateOnWorldAxis(k, y.angleTo(I)), this.position.copy(m), this.addEventListener("added", () => {
1376
1376
  var M;
1377
1377
  this.mode === "front" && ((M = this.opacityMesh) == null || M.removeFromParent()), this.addParentVisibleListener();
1378
1378
  }), this.addEventListener("removed", () => {
@@ -1584,7 +1584,7 @@ class Ki {
1584
1584
  k && k.add(m);
1585
1585
  }, g = () => {
1586
1586
  u || (v(), this.render(t), this.hooks.emit("render"));
1587
- }, A = (k) => this.setVisibleById(m.id, k), b = (k) => this.setEnabledById(m.id, k), y = () => (u = !0, m.removeFromParent(), !0), P = l === "front" ? We.frontModeStore.css3DRenderer : We.behindModeStore.css3DRenderer;
1587
+ }, A = (k) => this.setVisibleById(m.id, k), b = (k) => this.setEnabledById(m.id, k), y = () => (u = !0, m.removeFromParent(), !0), I = l === "front" ? We.frontModeStore.css3DRenderer : We.behindModeStore.css3DRenderer;
1588
1588
  return c && g(), {
1589
1589
  id: m.uuid,
1590
1590
  container: d,
@@ -1597,7 +1597,7 @@ class Ki {
1597
1597
  disable: () => b(!1),
1598
1598
  setEnabled: b,
1599
1599
  dispose: y,
1600
- appendToElement: (k) => P.setWrapper(k)
1600
+ appendToElement: (k) => I.setWrapper(k)
1601
1601
  };
1602
1602
  });
1603
1603
  f(this, "setVisibleById", (t, e) => {
@@ -2809,12 +2809,12 @@ function Mn(i, t, e) {
2809
2809
  const { delay: u = 0, duration: m = 300, easing: v = rn, tick: g = Z, css: A } = o || dh;
2810
2810
  A && (r = ih(i, 0, 1, m, u, v, A, l++)), g(0, 1);
2811
2811
  const b = Zd() + u, y = b + m;
2812
- a && a.abort(), s = !0, ot(() => Jo(i, !0, "start")), a = $d((P) => {
2812
+ a && a.abort(), s = !0, ot(() => Jo(i, !0, "start")), a = $d((I) => {
2813
2813
  if (s) {
2814
- if (P >= y)
2814
+ if (I >= y)
2815
2815
  return g(1, 0), Jo(i, !0, "end"), c(), s = !1;
2816
- if (P >= b) {
2817
- const k = v((P - b) / m);
2816
+ if (I >= b) {
2817
+ const k = v((I - b) / m);
2818
2818
  g(k, 1 - k);
2819
2819
  }
2820
2820
  }
@@ -2912,27 +2912,27 @@ function Lt(i, t, e, n, o, s, r, a, l, c, d, h) {
2912
2912
  const g = {};
2913
2913
  for (; v--; )
2914
2914
  g[i[v].key] = v;
2915
- const A = [], b = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), P = [];
2915
+ const A = [], b = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), I = [];
2916
2916
  for (v = m; v--; ) {
2917
2917
  const z = h(o, s, v), M = e(z);
2918
2918
  let F = r.get(M);
2919
- F ? n && P.push(() => F.p(z, t)) : (F = c(M, z), F.c()), b.set(M, A[v] = F), M in g && y.set(M, Math.abs(v - g[M]));
2919
+ F ? n && I.push(() => F.p(z, t)) : (F = c(M, z), F.c()), b.set(M, A[v] = F), M in g && y.set(M, Math.abs(v - g[M]));
2920
2920
  }
2921
2921
  const k = /* @__PURE__ */ new Set(), S = /* @__PURE__ */ new Set();
2922
- function I(z) {
2922
+ function P(z) {
2923
2923
  x(z, 1), z.m(a, d), r.set(z.key, z), d = z.first, m--;
2924
2924
  }
2925
2925
  for (; u && m; ) {
2926
2926
  const z = A[m - 1], M = i[u - 1], F = z.key, q = M.key;
2927
- z === M ? (d = z.first, u--, m--) : b.has(q) ? !r.has(F) || k.has(F) ? I(z) : S.has(q) ? u-- : y.get(F) > y.get(q) ? (S.add(F), I(z)) : (k.add(q), u--) : (l(M, r), u--);
2927
+ z === M ? (d = z.first, u--, m--) : b.has(q) ? !r.has(F) || k.has(F) ? P(z) : S.has(q) ? u-- : y.get(F) > y.get(q) ? (S.add(F), P(z)) : (k.add(q), u--) : (l(M, r), u--);
2928
2928
  }
2929
2929
  for (; u--; ) {
2930
2930
  const z = i[u];
2931
2931
  b.has(z.key) || l(z, r);
2932
2932
  }
2933
2933
  for (; m; )
2934
- I(A[m - 1]);
2935
- return rt(P), A;
2934
+ P(A[m - 1]);
2935
+ return rt(I), A;
2936
2936
  }
2937
2937
  function st(i, t) {
2938
2938
  const e = {}, n = {}, o = { $$scope: 1 };
@@ -3545,27 +3545,27 @@ function Em(i, t, e) {
3545
3545
  function c(b) {
3546
3546
  if (!(l === null || b.floorIndex === l))
3547
3547
  return !1;
3548
- const P = new xn(), k = o.camera.position.clone(), S = new $(b.position.x, b.position.y, b.position.z), I = S.distanceTo(k);
3549
- P.set(k.clone(), S.clone().sub(k).normalize());
3550
- const [z] = o.model.intersectRaycaster(P);
3551
- return !(z && z.distance + 1 < I);
3548
+ const I = new xn(), k = o.camera.position.clone(), S = new $(b.position.x, b.position.y, b.position.z), P = S.distanceTo(k);
3549
+ I.set(k.clone(), S.clone().sub(k).normalize());
3550
+ const [z] = o.model.intersectRaycaster(I);
3551
+ return !(z && z.distance + 1 < P);
3552
3552
  }
3553
3553
  function d(b, y) {
3554
- const k = new $(b.position.x, b.position.y, b.position.z).clone().project(o.camera), S = Math.ceil((k.x + 1) / 2 * y.x), I = Math.ceil((-k.y + 1) / 2 * y.y);
3555
- return `translate(${S}px, ${I}px)`;
3554
+ const k = new $(b.position.x, b.position.y, b.position.z).clone().project(o.camera), S = Math.ceil((k.x + 1) / 2 * y.x), P = Math.ceil((-k.y + 1) / 2 * y.y);
3555
+ return `translate(${S}px, ${P}px)`;
3556
3556
  }
3557
3557
  function h(b) {
3558
- const { rendererSize: y } = b, P = /* @__PURE__ */ new Map();
3559
- function k(I) {
3560
- const z = P.get(I.id);
3558
+ const { rendererSize: y } = b, I = /* @__PURE__ */ new Map();
3559
+ function k(P) {
3560
+ const z = I.get(P.id);
3561
3561
  if (z)
3562
3562
  return z;
3563
- const { x: M, y: F, z: q } = I.position, Q = new $(M, F, q).clone().distanceTo(o.camera.position);
3564
- return P.set(I.id, Q), Q;
3563
+ const { x: M, y: F, z: q } = P.position, Q = new $(M, F, q).clone().distanceTo(o.camera.position);
3564
+ return I.set(P.id, Q), Q;
3565
3565
  }
3566
- return s.map((I) => {
3567
- const z = c(I), M = z ? d(I, y) : I.transform, F = k(I), Q = s.filter((R) => R.visible && k(R) < F).length * 10;
3568
- return ye(W({}, I), { visible: z, transform: M, zIndex: Q });
3566
+ return s.map((P) => {
3567
+ const z = c(P), M = z ? d(P, y) : P.transform, F = k(P), Q = s.filter((R) => R.visible && k(R) < F).length * 10;
3568
+ return ye(W({}, P), { visible: z, transform: M, zIndex: Q });
3569
3569
  });
3570
3570
  }
3571
3571
  function u() {
@@ -4404,7 +4404,7 @@ function cp(i, t, e) {
4404
4404
  ].every((be) => lp(be, He));
4405
4405
  };
4406
4406
  }
4407
- const b = document.body.clientWidth, y = document.body.clientHeight, P = h.roomLabel, k = P.positionInImage.x * 100 + "%", S = P.positionInImage.y * 100 + "%", I = (b < 500 || y < 500 ? 10 : 14) + "px";
4407
+ const b = document.body.clientWidth, y = document.body.clientHeight, I = h.roomLabel, k = I.positionInImage.x * 100 + "%", S = I.positionInImage.y * 100 + "%", P = (b < 500 || y < 500 ? 10 : 14) + "px";
4408
4408
  let z = 0, M = 0, F = !1;
4409
4409
  u.subscribe(function(H) {
4410
4410
  e(16, F = !!H && H.id === h.id);
@@ -4435,7 +4435,7 @@ function cp(i, t, e) {
4435
4435
  n,
4436
4436
  k,
4437
4437
  S,
4438
- I,
4438
+ P,
4439
4439
  l,
4440
4440
  u,
4441
4441
  m,
@@ -4897,8 +4897,8 @@ function vp(i, t, e) {
4897
4897
  });
4898
4898
  h.unshift({ left: 0, bottom: 0 }), h.push(a ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
4899
4899
  const u = d[d.length - 1] - d[0], m = d.map((v, g, A) => {
4900
- const b = g === 0 ? 0 : v - A[g - 1], y = g === 0 ? 0 : (v + A[g - 1]) / 2, P = a ? (y - s.min.x - Fn + Xn) / l : 0, k = a ? 0 : (y - s.min.y - Fn + Xn) / c;
4901
- return { left: P, bottom: k, distance: b };
4900
+ const b = g === 0 ? 0 : v - A[g - 1], y = g === 0 ? 0 : (v + A[g - 1]) / 2, I = a ? (y - s.min.x - Fn + Xn) / l : 0, k = a ? 0 : (y - s.min.y - Fn + Xn) / c;
4901
+ return { left: I, bottom: k, distance: b };
4902
4902
  }).filter(({ distance: v }) => v / u > 0.1);
4903
4903
  return i.$$set = (v) => {
4904
4904
  "type" in v && e(0, n = v.type), "data" in v && e(5, o = v.data), "bounding" in v && e(6, s = v.bounding), "getRuleDistanceText" in v && e(1, r = v.getRuleDistanceText);
@@ -6099,7 +6099,7 @@ function Jp(i) {
6099
6099
  V(b, t, y), ee(e, t, null), O(t, n), u && u.m(t, null), O(t, o), ee(s, t, null), O(t, r), g && g.m(t, null), O(t, a), A && A.m(t, null), c = !0;
6100
6100
  },
6101
6101
  p(b, [y]) {
6102
- const P = y & /*floorIndex, floorplanData*/
6102
+ const I = y & /*floorIndex, floorplanData*/
6103
6103
  258 ? st(d, [
6104
6104
  {
6105
6105
  floorIndex: (
@@ -6112,7 +6112,7 @@ function Jp(i) {
6112
6112
  )
6113
6113
  }
6114
6114
  ]) : {};
6115
- e.$set(P), /*highlightEnable*/
6115
+ e.$set(I), /*highlightEnable*/
6116
6116
  b[2] || /*hoverEnable*/
6117
6117
  b[3] ? u ? (u.p(b, y), y & /*highlightEnable, hoverEnable*/
6118
6118
  12 && x(u, 1)) : (u = gl(b), u.c(), x(u, 1), u.m(t, o)) : u && (de(), L(u, 1, 1, () => {
@@ -6589,9 +6589,9 @@ function eg(i) {
6589
6589
  };
6590
6590
  }
6591
6591
  function tg(i, t, e) {
6592
- let { duration: n = 0 } = t, { visible: o } = t, { northDesc: s } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: d } = t, { compassEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: m } = t, { roomNameEnable: v } = t, { ruleLabelsEnable: g } = t, { floorplanData: A } = t, { lastPanoramaLongitude: b } = t, { cameraImageUrl: y } = t, { getRoomAreaText: P } = t, { getLabelElement: k } = t, { getRuleDistanceText: S } = t, { adaptiveRoomLabelVisibleEnable: I } = t, { highlightData: z } = t;
6592
+ let { duration: n = 0 } = t, { visible: o } = t, { northDesc: s } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: d } = t, { compassEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: m } = t, { roomNameEnable: v } = t, { ruleLabelsEnable: g } = t, { floorplanData: A } = t, { lastPanoramaLongitude: b } = t, { cameraImageUrl: y } = t, { getRoomAreaText: I } = t, { getLabelElement: k } = t, { getRuleDistanceText: S } = t, { adaptiveRoomLabelVisibleEnable: P } = t, { highlightData: z } = t;
6593
6593
  return i.$$set = (M) => {
6594
- "duration" in M && e(0, n = M.duration), "visible" in M && e(1, o = M.visible), "northDesc" in M && e(2, s = M.northDesc), "panoIndex" in M && e(3, r = M.panoIndex), "floorIndex" in M && e(4, a = M.floorIndex), "cameraEnable" in M && e(5, l = M.cameraEnable), "hoverEnable" in M && e(6, c = M.hoverEnable), "highlightEnable" in M && e(7, d = M.highlightEnable), "compassEnable" in M && e(8, h = M.compassEnable), "roomLabelsEnable" in M && e(9, u = M.roomLabelsEnable), "roomAreaEnable" in M && e(10, m = M.roomAreaEnable), "roomNameEnable" in M && e(11, v = M.roomNameEnable), "ruleLabelsEnable" in M && e(12, g = M.ruleLabelsEnable), "floorplanData" in M && e(13, A = M.floorplanData), "lastPanoramaLongitude" in M && e(14, b = M.lastPanoramaLongitude), "cameraImageUrl" in M && e(15, y = M.cameraImageUrl), "getRoomAreaText" in M && e(16, P = M.getRoomAreaText), "getLabelElement" in M && e(17, k = M.getLabelElement), "getRuleDistanceText" in M && e(18, S = M.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in M && e(19, I = M.adaptiveRoomLabelVisibleEnable), "highlightData" in M && e(20, z = M.highlightData);
6594
+ "duration" in M && e(0, n = M.duration), "visible" in M && e(1, o = M.visible), "northDesc" in M && e(2, s = M.northDesc), "panoIndex" in M && e(3, r = M.panoIndex), "floorIndex" in M && e(4, a = M.floorIndex), "cameraEnable" in M && e(5, l = M.cameraEnable), "hoverEnable" in M && e(6, c = M.hoverEnable), "highlightEnable" in M && e(7, d = M.highlightEnable), "compassEnable" in M && e(8, h = M.compassEnable), "roomLabelsEnable" in M && e(9, u = M.roomLabelsEnable), "roomAreaEnable" in M && e(10, m = M.roomAreaEnable), "roomNameEnable" in M && e(11, v = M.roomNameEnable), "ruleLabelsEnable" in M && e(12, g = M.ruleLabelsEnable), "floorplanData" in M && e(13, A = M.floorplanData), "lastPanoramaLongitude" in M && e(14, b = M.lastPanoramaLongitude), "cameraImageUrl" in M && e(15, y = M.cameraImageUrl), "getRoomAreaText" in M && e(16, I = M.getRoomAreaText), "getLabelElement" in M && e(17, k = M.getLabelElement), "getRuleDistanceText" in M && e(18, S = M.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in M && e(19, P = M.adaptiveRoomLabelVisibleEnable), "highlightData" in M && e(20, z = M.highlightData);
6595
6595
  }, [
6596
6596
  n,
6597
6597
  o,
@@ -6609,10 +6609,10 @@ function tg(i, t, e) {
6609
6609
  A,
6610
6610
  b,
6611
6611
  y,
6612
- P,
6612
+ I,
6613
6613
  k,
6614
6614
  S,
6615
- I,
6615
+ P,
6616
6616
  z
6617
6617
  ];
6618
6618
  }
@@ -6762,7 +6762,7 @@ let ao = class {
6762
6762
  /**
6763
6763
  * @realsee/dnalogel 版本号
6764
6764
  */
6765
- f(this, "VERSION", "2.20.1");
6765
+ f(this, "VERSION", "2.20.3");
6766
6766
  f(this, "five");
6767
6767
  /**
6768
6768
  * 插件事件钩子
@@ -7845,7 +7845,7 @@ function Cg(i, t, e) {
7845
7845
  const A = v.bounding, b = v.observers[g];
7846
7846
  if (!b)
7847
7847
  return "";
7848
- const y = (A.max.x - A.min.x) * r, P = (A.max.y - A.min.y) * r, k = Math.floor(b.positionInImage.x * y), S = Math.floor(b.positionInImage.y * P);
7848
+ const y = (A.max.x - A.min.x) * r, I = (A.max.y - A.min.y) * r, k = Math.floor(b.positionInImage.x * y), S = Math.floor(b.positionInImage.y * I);
7849
7849
  return `translate(${k}px, ${S}px)`;
7850
7850
  }
7851
7851
  function u(v) {
@@ -8394,8 +8394,8 @@ function Tg(i) {
8394
8394
  };
8395
8395
  }
8396
8396
  function zg(i, t, e) {
8397
- var P, k;
8398
- let { five: n } = t, { visible: o } = t, { hoverEnable: s } = t, { floorplanData: r } = t, { cameraImageUrl: a } = t, { extraObjects: l = [] } = t, { highlightData: c } = t, d = 0, h = (k = (P = n.work.observers[n.getCurrentState().panoIndex]) == null ? void 0 : P.floorIndex) != null ? k : 0, u = 0, m = 0, v = 0, g = 0;
8397
+ var I, k;
8398
+ let { five: n } = t, { visible: o } = t, { hoverEnable: s } = t, { floorplanData: r } = t, { cameraImageUrl: a } = t, { extraObjects: l = [] } = t, { highlightData: c } = t, d = 0, h = (k = (I = n.work.observers[n.getCurrentState().panoIndex]) == null ? void 0 : I.floorIndex) != null ? k : 0, u = 0, m = 0, v = 0, g = 0;
8399
8399
  function A(S) {
8400
8400
  e(11, h = n.work.observers[S].floorIndex);
8401
8401
  }
@@ -8412,7 +8412,7 @@ function zg(i, t, e) {
8412
8412
  }, i.$$.update = () => {
8413
8413
  if (i.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
8414
8414
  904) {
8415
- const S = Math.min(u, m), { max: I, min: z } = r.bounding, M = I.x - z.x, F = I.y - z.y, q = function() {
8415
+ const S = Math.min(u, m), { max: P, min: z } = r.bounding, M = P.x - z.x, F = P.y - z.y, q = function() {
8416
8416
  return M > F ? [S, S / M * F] : [S / F * M, S];
8417
8417
  }();
8418
8418
  e(9, v = q[0]), e(12, g = q[1]), e(10, d = v / M);
@@ -8722,8 +8722,8 @@ const VI = (i, t) => {
8722
8722
  const u = (h == null ? void 0 : h.fbx_url) || e, m = (R = h == null ? void 0 : h.north_rad) != null ? R : n;
8723
8723
  if (typeof m != "number")
8724
8724
  throw new Error('"northRad"配置参数缺失:未配置指南针指向!');
8725
- const v = i.model.bounding, g = v.max.x - v.min.x, A = v.max.z - v.min.z, b = Math.max(g, A), P = yield new Td().loadAsync(u);
8726
- kh(P, {
8725
+ const v = i.model.bounding, g = v.max.x - v.min.x, A = v.max.z - v.min.z, b = Math.max(g, A), I = yield new Td().loadAsync(u);
8726
+ kh(I, {
8727
8727
  transparent: !0,
8728
8728
  side: E.DoubleSide,
8729
8729
  blending: E.AdditiveBlending
@@ -8731,14 +8731,14 @@ const VI = (i, t) => {
8731
8731
  const k = [0, m - Math.PI / 2, 0], {
8732
8732
  model: {
8733
8733
  bounding: {
8734
- max: { x: S, z: I },
8734
+ max: { x: S, z: P },
8735
8735
  min: { x: z, y: M, z: F }
8736
8736
  }
8737
8737
  }
8738
8738
  } = i;
8739
8739
  o.yBase = M;
8740
- const q = { x: (S + z) / 2, y: M - 1.6, z: (I + F) / 2 }, Q = 45e-4 * b;
8741
- return Vg(P, { position: q, rotation: k, scale: Q }), o.object = P, !0;
8740
+ const q = { x: (S + z) / 2, y: M - 1.6, z: (P + F) / 2 }, Q = 45e-4 * b;
8741
+ return Vg(I, { position: q, rotation: k, scale: Q }), o.object = I, !0;
8742
8742
  }), r = ({ latitude: h }) => {
8743
8743
  if (!o.object)
8744
8744
  return;
@@ -8773,13 +8773,13 @@ const Bg = ({ x: i, y: t, z: e }) => new $(i, t, e), OI = (i, t) => {
8773
8773
  var g, A, b;
8774
8774
  const e = {}, n = (g = t.animationEnabled) != null ? g : !0, o = (A = t.position) != null ? A : void 0, s = (b = t.rad) != null ? b : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (y) => X(void 0, null, function* () {
8775
8775
  var q, Q, R, H, B, G, U, Y;
8776
- const P = (q = y == null ? void 0 : y.position) != null ? q : o;
8777
- if (!P)
8776
+ const I = (q = y == null ? void 0 : y.position) != null ? q : o;
8777
+ if (!I)
8778
8778
  return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
8779
- const k = Bg(P), S = (Q = y == null ? void 0 : y.rad) != null ? Q : s, I = (R = y == null ? void 0 : y.fbx_url) != null ? R : r;
8779
+ const k = Bg(I), S = (Q = y == null ? void 0 : y.rad) != null ? Q : s, P = (R = y == null ? void 0 : y.fbx_url) != null ? R : r;
8780
8780
  if (e.rad = S, S === void 0)
8781
8781
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${S}`));
8782
- const z = yield new Td().loadAsync(I);
8782
+ const z = yield new Td().loadAsync(P);
8783
8783
  z.position.copy(k), z.rotation.z = S, z.scale.set(0.8, 0.8, 0.8), kh(z, { transparent: !0, side: E.DoubleSide });
8784
8784
  const M = (U = (G = (B = (H = z.children) == null ? void 0 : H[0]) == null ? void 0 : B.children) == null ? void 0 : G[3]) == null ? void 0 : U.clone();
8785
8785
  if (!M)
@@ -8791,12 +8791,12 @@ const Bg = ({ x: i, y: t, z: e }) => new $(i, t, e), OI = (i, t) => {
8791
8791
  return;
8792
8792
  if (!e.object)
8793
8793
  return console.error("ModelEntryDoorGuidePlugin.initAnimation(): state.object is ", e.object);
8794
- const y = 1, P = new Su(e.object);
8795
- a.push(P);
8796
- const k = P.clipAction(e.object.animations[0]);
8794
+ const y = 1, I = new Su(e.object);
8795
+ a.push(I);
8796
+ const k = I.clipAction(e.object.animations[0]);
8797
8797
  k.timeScale = y;
8798
8798
  let S;
8799
- const I = () => {
8799
+ const P = () => {
8800
8800
  let q = 0, Q = 0;
8801
8801
  const R = 1e3 / 30, H = (B) => {
8802
8802
  q = requestAnimationFrame(H);
@@ -8807,7 +8807,7 @@ const Bg = ({ x: i, y: t, z: e }) => new $(i, t, e), OI = (i, t) => {
8807
8807
  cancelAnimationFrame(q);
8808
8808
  };
8809
8809
  }, F = { play: () => {
8810
- S || (k.play(), S = I(), requestAnimationFrame(() => {
8810
+ S || (k.play(), S = P(), requestAnimationFrame(() => {
8811
8811
  e.object && e.object.rotation.z !== e.rad && (e.object.rotation.z = e.rad);
8812
8812
  }));
8813
8813
  }, stop: () => {
@@ -8901,16 +8901,16 @@ const Yr = (i, t, e) => {
8901
8901
  })), a.asyncEndCallback && (yield a.asyncEndCallback());
8902
8902
  const { from: h, to: u } = n(s);
8903
8903
  return yield new Promise((m) => {
8904
- const v = ({ progress: P }) => {
8904
+ const v = ({ progress: I }) => {
8905
8905
  const k = {};
8906
- k.longitude = br(h.longitude, u.longitude, P), k.latitude = br(h.latitude, u.latitude, P), k.fov = br(h.fov, u.fov, P), i.setState(k, !0);
8906
+ k.longitude = br(h.longitude, u.longitude, I), k.latitude = br(h.latitude, u.latitude, I), k.fov = br(h.fov, u.fov, I), i.setState(k, !0);
8907
8907
  }, g = () => {
8908
8908
  m(!0);
8909
8909
  }, A = () => {
8910
8910
  m(!1);
8911
8911
  }, b = s.rotateSpeed ? Math.ceil(Math.abs(u.longitude - h.longitude) / s.rotateSpeed * 1e3) : r, y = Hg(b, Dt.Linear.None).onUpdate(v).onComplete(g).onDestroy(A);
8912
- s.rotation === Yt.Loop && y.repeat(1 / 0).yoyo(!0), t.interruptCallback = (P = !0) => {
8913
- y.destroy(), t.interruptCallback = void 0, t.timeoutId && (clearTimeout(t.timeoutId), t.timeoutId = void 0), m(P);
8912
+ s.rotation === Yt.Loop && y.repeat(1 / 0).yoyo(!0), t.interruptCallback = (I = !0) => {
8913
+ y.destroy(), t.interruptCallback = void 0, t.timeoutId && (clearTimeout(t.timeoutId), t.timeoutId = void 0), m(I);
8914
8914
  }, t.timeoutId = setTimeout(() => {
8915
8915
  t.interruptCallback && t.interruptCallback(!0);
8916
8916
  }, r);
@@ -9099,8 +9099,8 @@ const Ng = `<style type="text/css">
9099
9099
  const b = Xg(g, i), y = i.work;
9100
9100
  if (!y)
9101
9101
  return !1;
9102
- for (const P in A) {
9103
- const k = A[P], { standingPosition: S } = y.observers[0], I = k.map(({ x: z, z: M, observers: F }) => {
9102
+ for (const I in A) {
9103
+ const k = A[I], { standingPosition: S } = y.observers[0], P = k.map(({ x: z, z: M, observers: F }) => {
9104
9104
  const q = F.length > 0 ? g.rooms[g.observers[F[0]]].name : "", Q = b[q] ? b[q].floor : null;
9105
9105
  let R = 1 / 0, H = {
9106
9106
  index: 0,
@@ -9124,35 +9124,35 @@ const Ng = `<style type="text/css">
9124
9124
  const G = b[q] ? b[q].roof : null, U = G ? new $(z, G, M) : null;
9125
9125
  return U && Object.assign(U, { observers: F }), { origin: B, vertical: U };
9126
9126
  });
9127
- r[P] = {
9128
- origins: I.map((z) => z.origin),
9127
+ r[I] = {
9128
+ origins: P.map((z) => z.origin),
9129
9129
  rules: []
9130
9130
  };
9131
- for (const { origin: z, vertical: M } of I) {
9131
+ for (const { origin: z, vertical: M } of P) {
9132
9132
  if (!M)
9133
9133
  continue;
9134
- const F = n(P, z.distanceTo(M));
9135
- o.append(F), r[P].rules.push({ vertical: !0, rule: [z, M], $element: F });
9134
+ const F = n(I, z.distanceTo(M));
9135
+ o.append(F), r[I].rules.push({ vertical: !0, rule: [z, M], $element: F });
9136
9136
  }
9137
- for (let z = 0; z < I.length; z++) {
9137
+ for (let z = 0; z < P.length; z++) {
9138
9138
  let M = z + 1;
9139
- M >= I.length && (M = 0);
9140
- const { origin: F } = I[z], { origin: q } = I[M], Q = n(P, F.distanceTo(q));
9141
- o.append(Q), r[P].rules.push({ vertical: !1, rule: [F, q], $element: Q });
9139
+ M >= P.length && (M = 0);
9140
+ const { origin: F } = P[z], { origin: q } = P[M], Q = n(I, F.distanceTo(q));
9141
+ o.append(Q), r[I].rules.push({ vertical: !1, rule: [F, q], $element: Q });
9142
9142
  }
9143
9143
  }
9144
9144
  return e.loaded = !0, !0;
9145
9145
  }, l = (g, A, b) => X(void 0, null, function* () {
9146
- const y = g || t.roomInfo, P = A || t.roomRules;
9147
- if (!y || !P)
9146
+ const y = g || t.roomInfo, I = A || t.roomRules;
9147
+ if (!y || !I)
9148
9148
  throw new Error("标尺数据依赖不齐全!");
9149
- return e.loaded = !1, e.options = W(W({}, e.options), b || {}), i.model.loaded ? a(y, P) : yield new Promise(
9150
- (k) => i.once("modelLoaded", () => k(a(y, P)))
9149
+ return e.loaded = !1, e.options = W(W({}, e.options), b || {}), i.model.loaded ? a(y, I) : yield new Promise(
9150
+ (k) => i.once("modelLoaded", () => k(a(y, I)))
9151
9151
  );
9152
9152
  });
9153
9153
  t.roomInfo && t.roomRules && l(t.roomInfo, t.roomRules);
9154
9154
  const c = (g, A, b, y) => {
9155
- const P = [
9155
+ const I = [
9156
9156
  [
9157
9157
  { x: 0, y: 0 },
9158
9158
  { x: b, y: 0 }
@@ -9170,9 +9170,9 @@ const Ng = `<style type="text/css">
9170
9170
  { x: b, y }
9171
9171
  ]
9172
9172
  ], k = [];
9173
- for (let S = 0; S < P.length; S++) {
9174
- const I = Dh([g, A], [P[S][0], P[S][1]], !0);
9175
- I && k.push(I);
9173
+ for (let S = 0; S < I.length; S++) {
9174
+ const P = Dh([g, A], [I[S][0], I[S][1]], !0);
9175
+ P && k.push(P);
9176
9176
  }
9177
9177
  return k.length === 0 ? !1 : k;
9178
9178
  }, d = () => {
@@ -9183,16 +9183,16 @@ const Ng = `<style type="text/css">
9183
9183
  const { panoIndex: A, camera: b, currentMode: y } = i;
9184
9184
  if (A === void 0)
9185
9185
  return;
9186
- let P;
9186
+ let I;
9187
9187
  for (const q in r)
9188
- q.split(",").indexOf(A.toString()) >= 0 && (P = q);
9189
- if (!P) {
9188
+ q.split(",").indexOf(A.toString()) >= 0 && (I = q);
9189
+ if (!I) {
9190
9190
  for (const q in r)
9191
9191
  for (const { $element: Q } of r[q].rules)
9192
9192
  Q.style.display = "none";
9193
9193
  return;
9194
9194
  }
9195
- const k = b.position, S = b.getWorldDirection(new $()), I = g.clientWidth, z = g.clientHeight;
9195
+ const k = b.position, S = b.getWorldDirection(new $()), P = g.clientWidth, z = g.clientHeight;
9196
9196
  if (y !== nt.Mode.Panorama) {
9197
9197
  for (const q in r)
9198
9198
  for (const { $element: Q } of r[q].rules)
@@ -9201,12 +9201,12 @@ const Ng = `<style type="text/css">
9201
9201
  }
9202
9202
  for (const q in r)
9203
9203
  for (const { $element: Q } of r[q].rules)
9204
- Q.style.display = q === P ? "block" : "none";
9205
- const [M] = r[P].origins.slice().filter((q) => q.observers.indexOf(A) >= 0).sort((q, Q) => {
9204
+ Q.style.display = q === I ? "block" : "none";
9205
+ const [M] = r[I].origins.slice().filter((q) => q.observers.indexOf(A) >= 0).sort((q, Q) => {
9206
9206
  const R = q.clone().setY(0).sub(k).normalize().angleTo(S.clone().setY(0)), H = Q.clone().setY(0).sub(k).normalize().angleTo(S.clone().setY(0));
9207
9207
  return R - H;
9208
9208
  });
9209
- for (const { rule: q, vertical: Q, $element: R } of r[P].rules) {
9209
+ for (const { rule: q, vertical: Q, $element: R } of r[I].rules) {
9210
9210
  const [H, B] = q, G = R.querySelector(".PanoRulerPlugin-rule-line");
9211
9211
  if (!G)
9212
9212
  return;
@@ -9239,12 +9239,12 @@ const Ng = `<style type="text/css">
9239
9239
  R.style.display = "none";
9240
9240
  continue;
9241
9241
  }
9242
- const Ae = H.clone().project(b), we = (Ae.x + 1) / 2 * I, ge = (-Ae.y + 1) / 2 * z, ze = B.clone().project(b), ve = (ze.x + 1) / 2 * I, He = (-ze.y + 1) / 2 * z, ue = Math.sqrt(Math.pow(ve - we, 2) + Math.pow(He - ge, 2));
9242
+ const Ae = H.clone().project(b), we = (Ae.x + 1) / 2 * P, ge = (-Ae.y + 1) / 2 * z, ze = B.clone().project(b), ve = (ze.x + 1) / 2 * P, He = (-ze.y + 1) / 2 * z, ue = Math.sqrt(Math.pow(ve - we, 2) + Math.pow(He - ge, 2));
9243
9243
  let be = ue, Se = 50;
9244
9244
  const me = c({ x: ~~we, y: ~~ge }, {
9245
9245
  x: ~~ve,
9246
9246
  y: ~~He
9247
- }, I, z);
9247
+ }, P, z);
9248
9248
  if (me && me.length === 1 && (M === H ? (be = Math.sqrt(Math.pow(me[0].x - we, 2) + Math.pow(me[0].y - ge, 2)), Se = be / ue * 50) : M === B && (be = Math.sqrt(Math.pow(me[0].x - ve, 2) + Math.pow(me[0].y - He, 2)), Se = 100 - be / ue * 50)), me && me.length === 2) {
9249
9249
  const oe = {
9250
9250
  x: (me[0].x + me[1].x) / 2,
@@ -9266,8 +9266,8 @@ const Ng = `<style type="text/css">
9266
9266
  const A = g.distanceText;
9267
9267
  e.options.distanceText = A, Object.values(r).forEach((b) => {
9268
9268
  b.rules.forEach((y) => {
9269
- const [P, k] = y.rule, S = P.distanceTo(k), I = y.$element.querySelector(".PanoRulerPlugin-rule-label-name");
9270
- I && (I.innerText = A(S));
9269
+ const [I, k] = y.rule, S = I.distanceTo(k), P = y.$element.querySelector(".PanoRulerPlugin-rule-label-name");
9270
+ P && (P.innerText = A(S));
9271
9271
  });
9272
9272
  });
9273
9273
  }
@@ -9576,34 +9576,34 @@ function $g(i) {
9576
9576
  function ev(i, t, e) {
9577
9577
  var g, A, b, y;
9578
9578
  let { five: n } = t, { rulerDatas: o } = t, { options: s } = t, r = [];
9579
- const a = ((A = (g = n.getElement()) == null ? void 0 : g.parentElement) == null ? void 0 : A.clientWidth) || 0, l = ((y = (b = n.getElement()) == null ? void 0 : b.parentElement) == null ? void 0 : y.clientHeight) || 0, c = (P, k) => {
9579
+ const a = ((A = (g = n.getElement()) == null ? void 0 : g.parentElement) == null ? void 0 : A.clientWidth) || 0, l = ((y = (b = n.getElement()) == null ? void 0 : b.parentElement) == null ? void 0 : y.clientHeight) || 0, c = (I, k) => {
9580
9580
  const S = [
9581
9581
  [{ x: 0, y: 0 }, { x: a, y: 0 }],
9582
9582
  [{ x: 0, y: 0 }, { x: 0, y: l }],
9583
9583
  [{ x: a, y: 0 }, { x: a, y: l }],
9584
9584
  [{ x: 0, y: l }, { x: a, y: l }]
9585
- ], I = [];
9585
+ ], P = [];
9586
9586
  for (let z = 0; z < S.length; z++) {
9587
- const M = Dh([P, k], [S[z][0], S[z][1]], !0);
9588
- M && I.push(M);
9587
+ const M = Dh([I, k], [S[z][0], S[z][1]], !0);
9588
+ M && P.push(M);
9589
9589
  }
9590
- return I.length === 0 ? !1 : I;
9591
- }, d = (P, k) => {
9592
- const S = P.clone().project(n.camera), I = (S.x + 1) / 2 * a, z = (-S.y + 1) / 2 * l, M = k.clone().project(n.camera), F = (M.x + 1) / 2 * a, q = (-M.y + 1) / 2 * l, Q = Math.sqrt(Math.pow(F - I, 2) + Math.pow(q - z, 2));
9590
+ return P.length === 0 ? !1 : P;
9591
+ }, d = (I, k) => {
9592
+ const S = I.clone().project(n.camera), P = (S.x + 1) / 2 * a, z = (-S.y + 1) / 2 * l, M = k.clone().project(n.camera), F = (M.x + 1) / 2 * a, q = (-M.y + 1) / 2 * l, Q = Math.sqrt(Math.pow(F - P, 2) + Math.pow(q - z, 2));
9593
9593
  return {
9594
- startLeft: I,
9594
+ startLeft: P,
9595
9595
  startTop: z,
9596
9596
  endLeft: F,
9597
9597
  endTop: q,
9598
9598
  distance: Q
9599
9599
  };
9600
- }, h = (P, k, S) => {
9601
- const I = n.camera.position, z = n.camera.getWorldDirection(new $()), M = P.clone().sub(I).normalize().angleTo(z), F = k.clone().sub(I).normalize().angleTo(z), q = P.distanceTo(k), R = k.clone().sub(k.clone().sub(P).divide(new $(2, 2, 2))).distanceTo(I), { startLeft: H, startTop: B, endLeft: G, endTop: U, distance: Y } = d(P, k), re = -((Math.PI / 2 - Math.atan2(G - H, B - U)) / Math.PI) * 180;
9600
+ }, h = (I, k, S) => {
9601
+ const P = n.camera.position, z = n.camera.getWorldDirection(new $()), M = I.clone().sub(P).normalize().angleTo(z), F = k.clone().sub(P).normalize().angleTo(z), q = I.distanceTo(k), R = k.clone().sub(k.clone().sub(I).divide(new $(2, 2, 2))).distanceTo(P), { startLeft: H, startTop: B, endLeft: G, endTop: U, distance: Y } = d(I, k), re = -((Math.PI / 2 - Math.atan2(G - H, B - U)) / Math.PI) * 180;
9602
9602
  let ie = !0;
9603
- S || (ie = !1), !Vt(P, S) && !Vt(k, S) && (ie = !1), q < 0.3 && (ie = !1), M > Math.PI / 2 && (ie = !1), F > Math.PI / 2 && (ie = !1), R / q > 8 && (ie = !1);
9603
+ S || (ie = !1), !Vt(I, S) && !Vt(k, S) && (ie = !1), q < 0.3 && (ie = !1), M > Math.PI / 2 && (ie = !1), F > Math.PI / 2 && (ie = !1), R / q > 8 && (ie = !1);
9604
9604
  let Ae = 50, we = Y;
9605
9605
  const ge = c({ x: ~~H, y: ~~B }, { x: ~~G, y: ~~U });
9606
- if (ge && ge.length === 1 && (Vt(P, S) ? (we = Math.sqrt(Math.pow(ge[0].x - H, 2) + Math.pow(ge[0].y - B, 2)), Ae = we / Y * 50) : Vt(k, S) && (we = Math.sqrt(Math.pow(ge[0].x - G, 2) + Math.pow(ge[0].y - U, 2)), Ae = 100 - we / Y * 50)), ge && ge.length === 2) {
9606
+ if (ge && ge.length === 1 && (Vt(I, S) ? (we = Math.sqrt(Math.pow(ge[0].x - H, 2) + Math.pow(ge[0].y - B, 2)), Ae = we / Y * 50) : Vt(k, S) && (we = Math.sqrt(Math.pow(ge[0].x - G, 2) + Math.pow(ge[0].y - U, 2)), Ae = 100 - we / Y * 50)), ge && ge.length === 2) {
9607
9607
  const ze = {
9608
9608
  x: (ge[0].x + ge[1].x) / 2,
9609
9609
  y: (ge[0].y + ge[1].y) / 2
@@ -9620,13 +9620,13 @@ function ev(i, t, e) {
9620
9620
  ruleLength: q
9621
9621
  };
9622
9622
  }, u = () => {
9623
- const P = n.panoIndex, k = o.find((Q) => Q.panoIndex === P);
9623
+ const I = n.panoIndex, k = o.find((Q) => Q.panoIndex === I);
9624
9624
  if (!k)
9625
9625
  return e(0, r = []);
9626
9626
  if (n.currentMode !== nt.Mode.Panorama)
9627
9627
  return e(0, r = []);
9628
- const S = n.camera.position, I = n.camera.getWorldDirection(new $()), z = k.lines.map((Q) => new $(Q.start[0], -Q.start[1], -Q.start[2])), M = k.lines.map((Q) => new $(Q.end[0], -Q.end[1], -Q.end[2])), [F] = z.concat(M).sort((Q, R) => {
9629
- const H = Q.clone().setY(0).sub(S).normalize().angleTo(I.clone().setY(0)), B = R.clone().setY(0).sub(S).normalize().angleTo(I.clone().setY(0));
9628
+ const S = n.camera.position, P = n.camera.getWorldDirection(new $()), z = k.lines.map((Q) => new $(Q.start[0], -Q.start[1], -Q.start[2])), M = k.lines.map((Q) => new $(Q.end[0], -Q.end[1], -Q.end[2])), [F] = z.concat(M).sort((Q, R) => {
9629
+ const H = Q.clone().setY(0).sub(S).normalize().angleTo(P.clone().setY(0)), B = R.clone().setY(0).sub(S).normalize().angleTo(P.clone().setY(0));
9630
9630
  return H - B;
9631
9631
  }), q = k.lines.map((Q) => {
9632
9632
  var we, ge;
@@ -9652,8 +9652,8 @@ function ev(i, t, e) {
9652
9652
  u(), n.on("panoArrived", u), n.on("modeChange", u), n.on("cameraDirectionUpdate", m), n.on("movingToPano", m), n.on("mouseWheel", () => v()), n.on("pinchGesture", () => v());
9653
9653
  }), un(() => {
9654
9654
  n.off("panoArrived", u), n.off("modeChange", u), n.off("cameraDirectionUpdate", m), n.off("movingToPano", m), n.off("mouseWheel", () => v()), n.off("pinchGesture", () => v());
9655
- }), i.$$set = (P) => {
9656
- "five" in P && e(1, n = P.five), "rulerDatas" in P && e(2, o = P.rulerDatas), "options" in P && e(3, s = P.options);
9655
+ }), i.$$set = (I) => {
9656
+ "five" in I && e(1, n = I.five), "rulerDatas" in I && e(2, o = I.rulerDatas), "options" in I && e(3, s = I.options);
9657
9657
  }, [r, n, o, s];
9658
9658
  }
9659
9659
  class tv extends ce {
@@ -10237,15 +10237,15 @@ function Iv(i) {
10237
10237
  const y = b.getElement();
10238
10238
  if (!y)
10239
10239
  return;
10240
- const P = y.clientWidth, k = y.clientHeight, S = P / 2, I = k / 2;
10240
+ const I = y.clientWidth, k = y.clientHeight, S = I / 2, P = k / 2;
10241
10241
  if (e.points.length < 2)
10242
10242
  return;
10243
- const [z, M] = e.points, F = z.position.clone().project(b.camera), q = M.position.clone().project(b.camera), Q = F.clone().lerp(q, 0.5), R = new bt(F.x * S, F.y * I), H = new bt(q.x * S, q.y * I), B = R.distanceTo(H);
10243
+ const [z, M] = e.points, F = z.position.clone().project(b.camera), q = M.position.clone().project(b.camera), Q = F.clone().lerp(q, 0.5), R = new bt(F.x * S, F.y * P), H = new bt(q.x * S, q.y * P), B = R.distanceTo(H);
10244
10244
  if ((() => !(Math.abs(F.z) > 1 || Math.abs(q.z) > 1 || !yr(F) && !yr(q) || !yr(Q) || B === 0))() === !1) {
10245
10245
  s.style.opacity = "0", s.style.pointerEvents = "none";
10246
10246
  return;
10247
10247
  }
10248
- const U = (Q.x + 1) / 2 * P, Y = -(Q.y - 1) / 2 * k, re = -(Math.atan((R.y - H.y) / (R.x - H.x)) * 180) / Math.PI, ie = s.parentElement && o.clientWidth > B ? -20 : 0;
10248
+ const U = (Q.x + 1) / 2 * I, Y = -(Q.y - 1) / 2 * k, re = -(Math.atan((R.y - H.y) / (R.x - H.x)) * 180) / Math.PI, ie = s.parentElement && o.clientWidth > B ? -20 : 0;
10249
10249
  s.style.transform = `translate(${U}px, ${Y}px) rotate(${re}deg) translateY(${ie}px)`, s.style.opacity = "1", s.style.pointerEvents = t ? "all" : "none", r && r.update({ line: e, polyline: e.getPolyline() });
10250
10250
  const Ae = g();
10251
10251
  o.innerText = Ae;
@@ -10260,8 +10260,8 @@ function Iv(i) {
10260
10260
  var z, M, F;
10261
10261
  if (e.points.length < 2)
10262
10262
  return "";
10263
- const [b, y] = e.points, P = b.position.clone().distanceTo(y.position), k = (z = i.line.text) != null ? z : i.line.model.config.defaultText, S = (F = (M = i.line.model.config) == null ? void 0 : M.getDistanceText) == null ? void 0 : F.call(M, P), I = k != null ? k : S;
10264
- return I != null ? I : P.toFixed(2) + "m";
10263
+ const [b, y] = e.points, I = b.position.clone().distanceTo(y.position), k = (z = i.line.text) != null ? z : i.line.model.config.defaultText, S = (F = (M = i.line.model.config) == null ? void 0 : M.getDistanceText) == null ? void 0 : F.call(M, I), P = k != null ? k : S;
10264
+ return P != null ? P : I.toFixed(2) + "m";
10265
10265
  }
10266
10266
  function A(b) {
10267
10267
  t = b;
@@ -10869,8 +10869,8 @@ class Ql extends bs {
10869
10869
  const [v, g] = m.points, A = v.position.clone().project(o), b = g.position.clone().project(o);
10870
10870
  if (!no(A) && !no(b))
10871
10871
  return null;
10872
- const y = new bt(A.x * r, A.y * a), P = new bt(b.x * r, b.y * a);
10873
- return { id: m.id, points: [y, P] };
10872
+ const y = new bt(A.x * r, A.y * a), I = new bt(b.x * r, b.y * a);
10873
+ return { id: m.id, points: [y, I] };
10874
10874
  }).filter((m) => !!m);
10875
10875
  if (c.length === 0)
10876
10876
  return;
@@ -11123,8 +11123,8 @@ class Vi extends bs {
11123
11123
  const [v, g] = m.points, A = v.position.clone().project(o), b = g.position.clone().project(o);
11124
11124
  if (!no(A) && !no(b))
11125
11125
  return null;
11126
- const y = new bt(A.x * r, A.y * a), P = new bt(b.x * r, b.y * a);
11127
- return { id: m.id, points: [y, P] };
11126
+ const y = new bt(A.x * r, A.y * a), I = new bt(b.x * r, b.y * a);
11127
+ return { id: m.id, points: [y, I] };
11128
11128
  }).filter((m) => !!m);
11129
11129
  if (c.length === 0)
11130
11130
  return;
@@ -12133,9 +12133,9 @@ function l0(i, t, e) {
12133
12133
  },
12134
12134
  100
12135
12135
  );
12136
- const P = (I) => {
12136
+ const I = (P) => {
12137
12137
  const z = Object.keys(u);
12138
- let M = I.target;
12138
+ let M = P.target;
12139
12139
  for (; M; ) {
12140
12140
  const F = M.getAttribute("class");
12141
12141
  if (!F) {
@@ -12154,10 +12154,10 @@ function l0(i, t, e) {
12154
12154
  St(() => {
12155
12155
  m.emit("initTag", { id: n });
12156
12156
  });
12157
- const k = Bh.subscribe((I) => {
12158
- if (I === null)
12157
+ const k = Bh.subscribe((P) => {
12158
+ if (P === null)
12159
12159
  return;
12160
- const [z, M] = I.split("-PanoSpatialTagPlugin-");
12160
+ const [z, M] = P.split("-PanoSpatialTagPlugin-");
12161
12161
  n === z && (m.emit("clickOrigin", { id: n, show: b }), y || (e(10, b = d), e(12, d = !d), y = setTimeout(
12162
12162
  () => {
12163
12163
  y = void 0;
@@ -12170,13 +12170,13 @@ function l0(i, t, e) {
12170
12170
  }), un(() => {
12171
12171
  m.emit("destroyTag", { id: n }), k(), h();
12172
12172
  });
12173
- function S(I) {
12174
- Ze[I ? "unshift" : "push"](() => {
12175
- A = I, e(9, A);
12173
+ function S(P) {
12174
+ Ze[P ? "unshift" : "push"](() => {
12175
+ A = P, e(9, A);
12176
12176
  });
12177
12177
  }
12178
- return i.$$set = (I) => {
12179
- "id" in I && e(0, n = I.id), "upsideDown" in I && e(1, o = I.upsideDown), "content" in I && e(2, s = I.content), "contentZoom" in I && e(3, r = I.contentZoom), "lineWidthZoom" in I && e(4, a = I.lineWidthZoom), "lineHeightZoom" in I && e(5, l = I.lineHeightZoom), "destroying" in I && e(6, c = I.destroying), "folded" in I && e(12, d = I.folded), "dispose" in I && e(13, h = I.dispose), "events" in I && e(14, u = I.events), "hooks" in I && e(15, m = I.hooks);
12178
+ return i.$$set = (P) => {
12179
+ "id" in P && e(0, n = P.id), "upsideDown" in P && e(1, o = P.upsideDown), "content" in P && e(2, s = P.content), "contentZoom" in P && e(3, r = P.contentZoom), "lineWidthZoom" in P && e(4, a = P.lineWidthZoom), "lineHeightZoom" in P && e(5, l = P.lineHeightZoom), "destroying" in P && e(6, c = P.destroying), "folded" in P && e(12, d = P.folded), "dispose" in P && e(13, h = P.dispose), "events" in P && e(14, u = P.events), "hooks" in P && e(15, m = P.hooks);
12180
12180
  }, [
12181
12181
  n,
12182
12182
  o,
@@ -12189,7 +12189,7 @@ function l0(i, t, e) {
12189
12189
  g,
12190
12190
  A,
12191
12191
  b,
12192
- P,
12192
+ I,
12193
12193
  d,
12194
12194
  h,
12195
12195
  u,
@@ -12385,10 +12385,10 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12385
12385
  target: u,
12386
12386
  props: { origins: g.origins }
12387
12387
  }), b = (ue, be) => {
12388
- S(), be && I();
12388
+ S(), be && P();
12389
12389
  }, y = () => {
12390
- g.forbidden && (g.forbidden = !1, I());
12391
- }, P = (ue, be) => {
12390
+ g.forbidden && (g.forbidden = !1, P());
12391
+ }, I = (ue, be) => {
12392
12392
  if (g.tags.length === 0)
12393
12393
  return;
12394
12394
  const Se = be.longitude - i.state.longitude, me = i.camera.clone();
@@ -12437,7 +12437,7 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12437
12437
  destroying: Se.destroying
12438
12438
  };
12439
12439
  }), A.$set({ origins: g.origins });
12440
- }, I = () => {
12440
+ }, P = () => {
12441
12441
  g.forbidden || !g.enabled || (g.timeoutId && clearTimeout(g.timeoutId), g.timeoutId = setTimeout(() => {
12442
12442
  g.timeoutId = void 0;
12443
12443
  const ue = z();
@@ -12554,9 +12554,9 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12554
12554
  };
12555
12555
  }), ue.render && (g.render = ue.render), ue.template && (g.template = ue.template), ue.events && (g.events = ue.events), ue.enabled === !1 && (g.enabled = ue.enabled), ue.folded === !0 && (g.folded = ue.folded);
12556
12556
  }, F = (ue) => {
12557
- g.intersectObjects = ue, I();
12557
+ g.intersectObjects = ue, P();
12558
12558
  }, q = () => {
12559
- g.enabled = !0, I();
12559
+ g.enabled = !0, P();
12560
12560
  }, Q = () => {
12561
12561
  g.enabled = !1, A.$set({ origins: [] }), g.tags.forEach((ue) => {
12562
12562
  ue.app.$destroy(), ue = null;
@@ -12580,11 +12580,11 @@ const Cr = 1e-3, ql = 0.01, p0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
12580
12580
  }, U = () => {
12581
12581
  i.once("renderFrame", S);
12582
12582
  }, Y = () => {
12583
- e || (e = i.getElement().parentElement), e && e.appendChild(u), g.forbidden = !1, n = i.model.bounding.getCenter(new E.Vector3()).y, I(), i.on("panoWillArrive", P), i.on("panoArrived", y), i.on("modeChange", k), i.on("cameraUpdate", b);
12583
+ e || (e = i.getElement().parentElement), e && e.appendChild(u), g.forbidden = !1, n = i.model.bounding.getCenter(new E.Vector3()).y, P(), i.on("panoWillArrive", I), i.on("panoArrived", y), i.on("modeChange", k), i.on("cameraUpdate", b);
12584
12584
  }, J = () => {
12585
12585
  v = null, h.disposeAll(), A.$destroy(), g.tags.forEach((ue) => {
12586
12586
  ue.app.$destroy(), ue = null;
12587
- }), g.origins = [], g.tags = [], i.off("modelLoaded", Y), i.off("renderFrame", S), i.off("panoWillArrive", P), i.off("panoArrived", y), i.off("modeChange", k), i.off("cameraUpdate", b), i.off("dispose", J), window.removeEventListener("resize", U, !1);
12587
+ }), g.origins = [], g.tags = [], i.off("modelLoaded", Y), i.off("renderFrame", S), i.off("panoWillArrive", I), i.off("panoArrived", y), i.off("modeChange", k), i.off("cameraUpdate", b), i.off("dispose", J), window.removeEventListener("resize", U, !1);
12588
12588
  };
12589
12589
  return window.addEventListener("resize", U, !1), (He = i == null ? void 0 : i.model) != null && He.loaded ? Y() : i.once("modelLoaded", Y), i.on("dispose", J), {
12590
12590
  load: M,
@@ -12870,7 +12870,7 @@ function I0(i, t, e) {
12870
12870
  }, b = (H, B) => {
12871
12871
  const G = new o(B.modelPosition[0], B.modelPosition[1], B.modelPosition[2]), U = H.project2d(G), Y = U == null ? void 0 : U.x, J = U == null ? void 0 : U.y;
12872
12872
  return [Y, J];
12873
- }, y = (H) => `translate(${H[0]}px, ${H[1]}px)`, P = (H, B) => v.length === 0 ? !1 : !!v.find((U) => H[0] >= U[0] - B && H[0] <= U[0] + B || H[1] >= U[1] - Kl && H[1] <= U[1] + Kl);
12873
+ }, y = (H) => `translate(${H[0]}px, ${H[1]}px)`, I = (H, B) => v.length === 0 ? !1 : !!v.find((U) => H[0] >= U[0] - B && H[0] <= U[0] + B || H[1] >= U[1] - Kl && H[1] <= U[1] + Kl);
12874
12874
  function k(H, B) {
12875
12875
  switch (B) {
12876
12876
  case qn.SMALL:
@@ -12885,7 +12885,7 @@ function I0(i, t, e) {
12885
12885
  }
12886
12886
  const S = (H, B) => {
12887
12887
  const G = B.map((Y) => {
12888
- const J = b(H, Y), re = Y.name.length * P0, ie = k(Y.modelPosition[1], c), we = (r ? A(H, Y) : !0) && !P([J[0], J[1] + ie], re);
12888
+ const J = b(H, Y), re = Y.name.length * P0, ie = k(Y.modelPosition[1], c), we = (r ? A(H, Y) : !0) && !I([J[0], J[1] + ie], re);
12889
12889
  if (!we)
12890
12890
  return ye(W({}, Y), { visible: we });
12891
12891
  v.push(J);
@@ -12903,7 +12903,7 @@ function I0(i, t, e) {
12903
12903
  const J = U.findIndex((re) => re.itemLabelItem.id === Y.id);
12904
12904
  return J !== void 0 ? ye(W({}, Y), { zIndex: J * 10 }) : Y;
12905
12905
  });
12906
- }, I = () => {
12906
+ }, P = () => {
12907
12907
  v = [], e(1, h = S(s, h));
12908
12908
  };
12909
12909
  oh(() => {
@@ -12913,19 +12913,19 @@ function I0(i, t, e) {
12913
12913
  e(4, g = !1), M();
12914
12914
  };
12915
12915
  St(() => {
12916
- e(1, h = a), d = a, I(), F(), s.on("cameraUpdate", z);
12916
+ e(1, h = a), d = a, P(), F(), s.on("cameraUpdate", z);
12917
12917
  });
12918
12918
  const M = Rh(
12919
12919
  () => {
12920
- e(4, g = !0), I();
12920
+ e(4, g = !0), P();
12921
12921
  },
12922
12922
  300
12923
12923
  ), F = () => {
12924
12924
  window.addEventListener("resize", Q, !1);
12925
12925
  }, q = () => {
12926
- d !== a && (e(1, h = a), d = a, I());
12926
+ d !== a && (e(1, h = a), d = a, P());
12927
12927
  }, Q = () => {
12928
- s.once("renderFrame", I);
12928
+ s.once("renderFrame", P);
12929
12929
  };
12930
12930
  un(() => {
12931
12931
  s.off("cameraUpdate", z), window.removeEventListener("resize", Q, !1);
@@ -13081,8 +13081,8 @@ const KI = (i, { videoElement: t }) => {
13081
13081
  if (!e.videoTexture)
13082
13082
  return;
13083
13083
  const y = () => {
13084
- var P;
13085
- e.videoTexture && ((P = e.videoTexture) == null || P.image.removeEventListener("timeupdate", y), e.videoTextureEnabled = !0, e.videoMeshes.forEach((k) => {
13084
+ var I;
13085
+ e.videoTexture && ((I = e.videoTexture) == null || I.image.removeEventListener("timeupdate", y), e.videoTextureEnabled = !0, e.videoMeshes.forEach((k) => {
13086
13086
  k.material.map !== e.videoTexture && (k.material.map = e.videoTexture);
13087
13087
  }), i.needsRender = !0);
13088
13088
  };
@@ -13103,7 +13103,7 @@ const KI = (i, { videoElement: t }) => {
13103
13103
  b.geometry.dispose(), b.material.dispose(), i.scene.remove(b), e.videoTexture && e.videoTexture.image.pause();
13104
13104
  }), e.videoMeshes = [], i.needsRender = !0);
13105
13105
  }, c = () => e.rectPoints.map((b, y) => {
13106
- const P = new E.BufferGeometry(), k = 128, S = [];
13106
+ const I = new E.BufferGeometry(), k = 128, S = [];
13107
13107
  S.push(...b[0].toArray());
13108
13108
  for (let R = 1; R < k; R++)
13109
13109
  S.push(
@@ -13119,22 +13119,22 @@ const KI = (i, { videoElement: t }) => {
13119
13119
  b[2].z + (b[3].z - b[2].z) * R / k
13120
13120
  );
13121
13121
  S.push(...b[3].toArray());
13122
- const I = [];
13123
- I.push(0, 1);
13122
+ const P = [];
13123
+ P.push(0, 1);
13124
13124
  for (let R = 1; R < k; R++)
13125
- I.push(0, 1 - R / k);
13126
- I.push(0, 0), I.push(1, 0);
13125
+ P.push(0, 1 - R / k);
13126
+ P.push(0, 0), P.push(1, 0);
13127
13127
  for (let R = 1; R < k; R++)
13128
- I.push(1, R / k);
13129
- I.push(1, 1);
13128
+ P.push(1, R / k);
13129
+ P.push(1, 1);
13130
13130
  const z = [];
13131
13131
  for (let R = 0; R < k; R++)
13132
13132
  z.push(R, R + 1, k * 2 - R, R, k * 2 - R, k * 2 + 1 - R);
13133
- P.setAttribute("position", new E.BufferAttribute(new Float32Array(S), 3)), P.setAttribute("uv", new E.BufferAttribute(new Float32Array(I), 2)), P.setIndex(new E.BufferAttribute(new Uint32Array(z), 1));
13133
+ I.setAttribute("position", new E.BufferAttribute(new Float32Array(S), 3)), I.setAttribute("uv", new E.BufferAttribute(new Float32Array(P), 2)), I.setIndex(new E.BufferAttribute(new Uint32Array(z), 1));
13134
13134
  const M = new E.MeshBasicMaterial({
13135
13135
  map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
13136
13136
  side: E.DoubleSide
13137
- }), F = new E.Mesh(P, M);
13137
+ }), F = new E.Mesh(I, M);
13138
13138
  F.renderOrder = 1, F.name = `ModelTVVideoPlugin-${y}-${performance.now()}`;
13139
13139
  const q = [b[1], b[2], b[3], b[0]], Q = n.create3DDomContainer(q);
13140
13140
  if (Q != null && Q.container) {
@@ -13150,23 +13150,23 @@ const KI = (i, { videoElement: t }) => {
13150
13150
  const y = new E.TextureLoader().load(b);
13151
13151
  return y.minFilter = E.LinearFilter, y.magFilter = E.LinearFilter, y.format = E.RGBFormat, y;
13152
13152
  }, h = (b, y) => {
13153
- let P = y;
13153
+ let I = y;
13154
13154
  return new Promise((k, S) => {
13155
- const I = new XMLHttpRequest();
13156
- I.onreadystatechange = () => {
13157
- if (I.readyState === 4)
13158
- if (I.status === 200) {
13155
+ const P = new XMLHttpRequest();
13156
+ P.onreadystatechange = () => {
13157
+ if (P.readyState === 4)
13158
+ if (P.status === 200) {
13159
13159
  const z = window.URL || window.webkitURL;
13160
- P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src = z.createObjectURL(I.response);
13161
- const M = new E.VideoTexture(P);
13160
+ I = I || document.createElement("video"), I.crossOrigin = "anonymous", I.muted = !0, I.loop = !0, I.playsInline = !0, I.src = z.createObjectURL(P.response);
13161
+ const M = new E.VideoTexture(I);
13162
13162
  M.minFilter = E.LinearFilter, M.magFilter = E.LinearFilter, M.format = E.RGBFormat, k(Object.assign(M, { videoSource: b }));
13163
13163
  } else
13164
- S(new Error("Video download Error: " + I.status));
13165
- }, I.onerror = (z) => S(z), I.open("GET", b), I.responseType = "blob", I.send();
13164
+ S(new Error("Video download Error: " + P.status));
13165
+ }, P.onerror = (z) => S(z), P.open("GET", b), P.responseType = "blob", P.send();
13166
13166
  });
13167
13167
  }, u = (b, y) => X(void 0, null, function* () {
13168
- const { video_src: P, video_poster_src: k, points: S } = b;
13169
- e.videoSource = P, e.rectPoints = x0(S).map((I) => I.map(({ x: z, y: M, z: F }) => new E.Vector3(z, M, F))), e.imageTexture = d(k), y && (e.videoElement = y), e.videoTexture = yield h(e.videoSource, e.videoElement), e.enabled = !!b.enable, e.enabled && a();
13168
+ const { video_src: I, video_poster_src: k, points: S } = b;
13169
+ e.videoSource = I, e.rectPoints = x0(S).map((P) => P.map(({ x: z, y: M, z: F }) => new E.Vector3(z, M, F))), e.imageTexture = d(k), y && (e.videoElement = y), e.videoTexture = yield h(e.videoSource, e.videoElement), e.enabled = !!b.enable, e.enabled && a();
13170
13170
  }), m = (b) => {
13171
13171
  if (!e.enabled)
13172
13172
  return;
@@ -13179,15 +13179,15 @@ const KI = (i, { videoElement: t }) => {
13179
13179
  if (!e.enabled)
13180
13180
  return;
13181
13181
  const b = i.camera.position;
13182
- if (o.forEach((y, P) => {
13183
- const k = y.css3DObject.position.clone(), S = k.clone().sub(b).normalize(), I = new E.Raycaster(b, S), z = i.model.intersectRaycaster(I)[0], M = k.distanceTo(b), F = 0.01;
13182
+ if (o.forEach((y, I) => {
13183
+ const k = y.css3DObject.position.clone(), S = k.clone().sub(b).normalize(), P = new E.Raycaster(b, S), z = i.model.intersectRaycaster(P)[0], M = k.distanceTo(b), F = 0.01;
13184
13184
  z && z.distance + F < M ? y.hide() : y.show();
13185
13185
  }), !r()) {
13186
- const y = e.rectPoints.find((P) => {
13187
- const k = P[0].clone().add(P[1]).add(P[2]).add(P[3]).divideScalar(4);
13188
- return P.map((S) => S.clone().add(k).divideScalar(2)).filter((S) => {
13189
- const I = S.distanceTo(b), z = new E.Raycaster(b, S.clone().sub(b).normalize()), M = i.model.intersectRaycaster(z)[0], F = 0.01;
13190
- return !(M && M.distance + F < I);
13186
+ const y = e.rectPoints.find((I) => {
13187
+ const k = I[0].clone().add(I[1]).add(I[2]).add(I[3]).divideScalar(4);
13188
+ return I.map((S) => S.clone().add(k).divideScalar(2)).filter((S) => {
13189
+ const P = S.distanceTo(b), z = new E.Raycaster(b, S.clone().sub(b).normalize()), M = i.model.intersectRaycaster(z)[0], F = 0.01;
13190
+ return !(M && M.distance + F < P);
13191
13191
  }).length >= 2;
13192
13192
  });
13193
13193
  (!y || y.length === 0) && s(!0);
@@ -13603,14 +13603,14 @@ function Q0(i, t, e) {
13603
13603
  }, y = (B) => {
13604
13604
  const { camera: G, model: U } = o, { x: Y, y: J, z: re } = B.clone().project(G), ie = (Y + 1) / 2, Ae = (2 - (J + 1)) / 2;
13605
13605
  return !!(Math.abs(re) < 1 && [ie, Ae].every((ve) => ve < 1 && ve >= 0));
13606
- }, P = (B, G) => {
13606
+ }, I = (B, G) => {
13607
13607
  const U = new n(G.modelPosition[0], G.modelPosition[1], G.modelPosition[2]), Y = B.project2d(U), J = Y == null ? void 0 : Y.x, re = Y == null ? void 0 : Y.y;
13608
13608
  return [J, re];
13609
13609
  }, k = (B, G) => {
13610
13610
  const U = G.map((J) => {
13611
13611
  if (B.state.panoIndex !== J.panoIndex)
13612
13612
  return ye(W({}, J), { visible: !1 });
13613
- const re = P(B, J);
13613
+ const re = I(B, J);
13614
13614
  J.name.length * R0;
13615
13615
  const ie = _0(J.modelPosition[1], l), Ae = B.currentMode === nt.Mode.Panorama ? y(new n(J.position[0], J.position[1], J.position[2])) : !0, we = s ? b(B, J) : !1, ge = Ae && !we;
13616
13616
  if (!ge)
@@ -13632,7 +13632,7 @@ function Q0(i, t, e) {
13632
13632
  });
13633
13633
  }, S = () => {
13634
13634
  g = [], e(1, h = k(o, h));
13635
- }, I = () => {
13635
+ }, P = () => {
13636
13636
  e(5, A = !1), z();
13637
13637
  }, z = Rh(
13638
13638
  () => {
@@ -13685,9 +13685,9 @@ function Q0(i, t, e) {
13685
13685
  oh(() => {
13686
13686
  q();
13687
13687
  }), St(() => {
13688
- e(1, h = tc(r)), d = r, S(), F(), o.on("cameraUpdate", I);
13688
+ e(1, h = tc(r)), d = r, S(), F(), o.on("cameraUpdate", P);
13689
13689
  }), un(() => {
13690
- o.off("cameraUpdate", I), window.removeEventListener("resize", M, !1);
13690
+ o.off("cameraUpdate", P), window.removeEventListener("resize", M, !1);
13691
13691
  });
13692
13692
  function H() {
13693
13693
  m = this.clientWidth, v = this.clientHeight, e(3, m), e(4, v);
@@ -14051,21 +14051,21 @@ class eA extends N0 {
14051
14051
  }), this.fixDoorPosition();
14052
14052
  });
14053
14053
  f(this, "fixDoorPosition", () => {
14054
- var d, h, u, m, v, g, A, b, y, P, k, S;
14054
+ var d, h, u, m, v, g, A, b, y, I, k, S;
14055
14055
  const { panoIndex: e, camera: n } = this.five;
14056
14056
  if (e === null)
14057
14057
  return;
14058
14058
  if (this.five.currentMode !== "Panorama")
14059
14059
  return this.hideAllLabels();
14060
14060
  const o = this.five.getElement(), s = o.clientWidth, r = o.clientHeight, a = n.getWorldDirection(new $()), l = [], c = [...this.labelItems];
14061
- if (c.forEach((I, z) => {
14062
- if (I.visible) {
14063
- const M = n.position.distanceTo(I.position), F = I.position.clone().add(new $(0, this.OffsetHeight, 0)), Q = F.clone().sub(n.position).normalize().angleTo(a), R = F.clone().project(n), H = (R.x + 1) / 2.2 * 100, B = (-R.y + 1) / 2.2 * 100, G = H >= 0 && H <= 100 && B >= 0 && B <= 100 && M > this.MinVisibledistance && M <= this.MaxVisibledistance;
14064
- I.left = H, I.top = B, I.inSight = G && Q < Math.PI / 2, I.cameraToward = J0(this.five), G ? l.push({ disFromCameraToLabel: M, left: H, top: B, index: z }) : I.transform = "translate(-50%, -50%)";
14061
+ if (c.forEach((P, z) => {
14062
+ if (P.visible) {
14063
+ const M = n.position.distanceTo(P.position), F = P.position.clone().add(new $(0, this.OffsetHeight, 0)), Q = F.clone().sub(n.position).normalize().angleTo(a), R = F.clone().project(n), H = (R.x + 1) / 2.2 * 100, B = (-R.y + 1) / 2.2 * 100, G = H >= 0 && H <= 100 && B >= 0 && B <= 100 && M > this.MinVisibledistance && M <= this.MaxVisibledistance;
14064
+ P.left = H, P.top = B, P.inSight = G && Q < Math.PI / 2, P.cameraToward = J0(this.five), G ? l.push({ disFromCameraToLabel: M, left: H, top: B, index: z }) : P.transform = "translate(-50%, -50%)";
14065
14065
  } else
14066
- I.inSight = !1;
14066
+ P.inSight = !1;
14067
14067
  }), l.length > 1) {
14068
- let I = 0;
14068
+ let P = 0;
14069
14069
  l.sort((z, M) => M.disFromCameraToLabel - z.disFromCameraToLabel);
14070
14070
  for (let z = 1; z < l.length; z++) {
14071
14071
  const { index: M, left: F, top: q } = l[z - 1], { index: Q, left: R, top: H } = l[z], B = this.container.children[M], G = this.container.children[Q];
@@ -14080,9 +14080,9 @@ class eA extends N0 {
14080
14080
  left: s * R / 100,
14081
14081
  top: r * H / 100,
14082
14082
  width: (y = (b = (A = G.children) == null ? void 0 : A[0]) == null ? void 0 : b.clientWidth) != null ? y : 0,
14083
- height: (S = (k = (P = G.children) == null ? void 0 : P[0]) == null ? void 0 : k.clientHeight) != null ? S : 0
14083
+ height: (S = (k = (I = G.children) == null ? void 0 : I[0]) == null ? void 0 : k.clientHeight) != null ? S : 0
14084
14084
  };
14085
- q0(U, Y) && (I++, c[M].transform = `translate(-50%, ${(I - 1) * 100 - 50}%)`, c[Q].transform = `translate(-50%, ${I * 100 - 50}%)`);
14085
+ q0(U, Y) && (P++, c[M].transform = `translate(-50%, ${(P - 1) * 100 - 50}%)`, c[Q].transform = `translate(-50%, ${P * 100 - 50}%)`);
14086
14086
  }
14087
14087
  }
14088
14088
  this.labelItems = c, this.render();
@@ -14252,26 +14252,26 @@ function yA(i) {
14252
14252
  if (s.length === 0)
14253
14253
  return { geometry: new E.BufferGeometry(), maxU: 0 };
14254
14254
  const r = new E.CurvePath();
14255
- s.forEach((I) => {
14256
- const z = wA(I);
14255
+ s.forEach((P) => {
14256
+ const z = wA(P);
14257
14257
  z && r.add(z);
14258
14258
  });
14259
14259
  const a = Math.ceil(r.getLength() * 100);
14260
14260
  r.arcLengthDivisions = a;
14261
- const l = r.getPoints(a), c = l.length, d = pA(l.map((I) => [I.x, I.z])), u = (c - 1) * gA * vA, m = 2 * c, v = m * AA, g = m * bA, A = new Uint32Array(u), b = new Float32Array(v), y = new Float32Array(g);
14262
- let P = 0, k = 0;
14263
- for (let I = 0; I < l.length; I++) {
14264
- const [z, M] = d[I][0], F = l[I], { x: q, y: Q, z: R } = F, H = new $(q + z * o, Q + 0.05, R + M * o);
14265
- b[I * 6 + 0] = H.x, b[I * 6 + 1] = H.y, b[I * 6 + 2] = H.z;
14261
+ const l = r.getPoints(a), c = l.length, d = pA(l.map((P) => [P.x, P.z])), u = (c - 1) * gA * vA, m = 2 * c, v = m * AA, g = m * bA, A = new Uint32Array(u), b = new Float32Array(v), y = new Float32Array(g);
14262
+ let I = 0, k = 0;
14263
+ for (let P = 0; P < l.length; P++) {
14264
+ const [z, M] = d[P][0], F = l[P], { x: q, y: Q, z: R } = F, H = new $(q + z * o, Q + 0.05, R + M * o);
14265
+ b[P * 6 + 0] = H.x, b[P * 6 + 1] = H.y, b[P * 6 + 2] = H.z;
14266
14266
  const B = new $(q - z * o, Q + 0.05, R - M * o);
14267
- b[I * 6 + 3] = B.x, b[I * 6 + 4] = B.y, b[I * 6 + 5] = B.z, P += I > 0 ? l[I - 1].clone().sub(l[I]).length() : 0;
14268
- const G = P / t / n;
14269
- if (k = G, y[I * 4 + 0] = 0, y[I * 4 + 1] = G, y[I * 4 + 2] = 1, y[I * 4 + 3] = G, i.skipPositions) {
14267
+ b[P * 6 + 3] = B.x, b[P * 6 + 4] = B.y, b[P * 6 + 5] = B.z, I += P > 0 ? l[P - 1].clone().sub(l[P]).length() : 0;
14268
+ const G = I / t / n;
14269
+ if (k = G, y[P * 4 + 0] = 0, y[P * 4 + 1] = G, y[P * 4 + 2] = 1, y[P * 4 + 3] = G, i.skipPositions) {
14270
14270
  const U = new E.Vector3().lerpVectors(H, B, 0.5);
14271
14271
  if (i.skipPositions.some((J) => J.distanceTo(U) < 0.26))
14272
14272
  continue;
14273
14273
  }
14274
- I !== l.length - 1 && (A[I * 6 + 0] = I * 2 + 0, A[I * 6 + 1] = I * 2 + 2, A[I * 6 + 2] = I * 2 + 1, A[I * 6 + 3] = I * 2 + 2, A[I * 6 + 4] = I * 2 + 3, A[I * 6 + 5] = I * 2 + 1);
14274
+ P !== l.length - 1 && (A[P * 6 + 0] = P * 2 + 0, A[P * 6 + 1] = P * 2 + 2, A[P * 6 + 2] = P * 2 + 1, A[P * 6 + 3] = P * 2 + 2, A[P * 6 + 4] = P * 2 + 3, A[P * 6 + 5] = P * 2 + 1);
14275
14275
  }
14276
14276
  const S = new E.BufferGeometry();
14277
14277
  return S.setAttribute("position", new E.BufferAttribute(b, 3)), S.setAttribute("uv", new E.BufferAttribute(y, 2)), S.setIndex(new E.BufferAttribute(A, 1)), { geometry: S, maxU: k, curvePath: r, curvePoints: l };
@@ -16429,11 +16429,11 @@ function lb(i, t, e) {
16429
16429
  const c = `__EMOJI_SPLIT_${kr}__`, d = `__EMOJI_${kr}__`, h = `__SPACE_${kr}__`;
16430
16430
  let u, m, v = [];
16431
16431
  function g(S) {
16432
- const I = [], z = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
16433
- return S.slice().replace(z, (M) => `${c}${d}${M}${c}`).split(c).forEach((M) => M.startsWith(d) ? I.push({
16432
+ const P = [], z = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
16433
+ return S.slice().replace(z, (M) => `${c}${d}${M}${c}`).split(c).forEach((M) => M.startsWith(d) ? P.push({
16434
16434
  id: dt(),
16435
16435
  content: M.slice(d.length)
16436
- }) : I.push(...M.split("").map((F) => F === " " ? h : F).map((F) => ({ id: dt(), content: F })))), I;
16436
+ }) : P.push(...M.split("").map((F) => F === " " ? h : F).map((F) => ({ id: dt(), content: F })))), P;
16437
16437
  }
16438
16438
  function A() {
16439
16439
  if (!m)
@@ -16449,13 +16449,13 @@ function lb(i, t, e) {
16449
16449
  clearTimeout(u), u = setTimeout(A, S ? o : s);
16450
16450
  }
16451
16451
  function y(S) {
16452
- const I = function() {
16452
+ const P = function() {
16453
16453
  const z = jA((M) => S[M].getBoundingClientRect().x, [Math.min(S.length - 1, 10), Math.min(S.length - 1, 30)]);
16454
16454
  if (z > 0)
16455
16455
  return z;
16456
16456
  }();
16457
16457
  m = Ra({
16458
- targets: S.slice(0, I).filter(di),
16458
+ targets: S.slice(0, P).filter(di),
16459
16459
  autoplay: !1,
16460
16460
  duration: 400,
16461
16461
  scale: [0.7, 1],
@@ -16467,14 +16467,14 @@ function lb(i, t, e) {
16467
16467
  easing: "easeInOutCubic"
16468
16468
  }), a && m.seek(m.duration);
16469
16469
  }
16470
- function P(S, I) {
16470
+ function I(S, P) {
16471
16471
  Ze[S ? "unshift" : "push"](() => {
16472
- v[I] = S, e(1, v);
16472
+ v[P] = S, e(1, v);
16473
16473
  });
16474
16474
  }
16475
- function k(S, I) {
16475
+ function k(S, P) {
16476
16476
  Ze[S ? "unshift" : "push"](() => {
16477
- v[I] = S, e(1, v);
16477
+ v[P] = S, e(1, v);
16478
16478
  });
16479
16479
  }
16480
16480
  return i.$$set = (S) => {
@@ -16493,7 +16493,7 @@ function lb(i, t, e) {
16493
16493
  o,
16494
16494
  s,
16495
16495
  a,
16496
- P,
16496
+ I,
16497
16497
  k
16498
16498
  ];
16499
16499
  }
@@ -18543,8 +18543,8 @@ var Bo = ky, rs = {}, xy = {
18543
18543
  }
18544
18544
  };
18545
18545
  (function(i, t) {
18546
- var e = 200, n = "__lodash_hash_undefined__", o = 9007199254740991, s = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", u = "[object Map]", m = "[object Number]", v = "[object Object]", g = "[object Promise]", A = "[object RegExp]", b = "[object Set]", y = "[object String]", P = "[object Symbol]", k = "[object WeakMap]", S = "[object ArrayBuffer]", I = "[object DataView]", z = "[object Float32Array]", M = "[object Float64Array]", F = "[object Int8Array]", q = "[object Int16Array]", Q = "[object Int32Array]", R = "[object Uint8Array]", H = "[object Uint8ClampedArray]", B = "[object Uint16Array]", G = "[object Uint32Array]", U = /[\\^$.*+?()[\]{}|]/g, Y = /\w*$/, J = /^\[object .+?Constructor\]$/, re = /^(?:0|[1-9]\d*)$/, ie = {};
18547
- ie[s] = ie[r] = ie[S] = ie[I] = ie[a] = ie[l] = ie[z] = ie[M] = ie[F] = ie[q] = ie[Q] = ie[u] = ie[m] = ie[v] = ie[A] = ie[b] = ie[y] = ie[P] = ie[R] = ie[H] = ie[B] = ie[G] = !0, ie[c] = ie[d] = ie[k] = !1;
18546
+ var e = 200, n = "__lodash_hash_undefined__", o = 9007199254740991, s = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", u = "[object Map]", m = "[object Number]", v = "[object Object]", g = "[object Promise]", A = "[object RegExp]", b = "[object Set]", y = "[object String]", I = "[object Symbol]", k = "[object WeakMap]", S = "[object ArrayBuffer]", P = "[object DataView]", z = "[object Float32Array]", M = "[object Float64Array]", F = "[object Int8Array]", q = "[object Int16Array]", Q = "[object Int32Array]", R = "[object Uint8Array]", H = "[object Uint8ClampedArray]", B = "[object Uint16Array]", G = "[object Uint32Array]", U = /[\\^$.*+?()[\]{}|]/g, Y = /\w*$/, J = /^\[object .+?Constructor\]$/, re = /^(?:0|[1-9]\d*)$/, ie = {};
18547
+ ie[s] = ie[r] = ie[S] = ie[P] = ie[a] = ie[l] = ie[z] = ie[M] = ie[F] = ie[q] = ie[Q] = ie[u] = ie[m] = ie[v] = ie[A] = ie[b] = ie[y] = ie[I] = ie[R] = ie[H] = ie[B] = ie[G] = !0, ie[c] = ie[d] = ie[k] = !1;
18548
18548
  var Ae = typeof Ct == "object" && Ct && Ct.Object === Object && Ct, we = typeof self == "object" && self && self.Object === Object && self, ge = Ae || we || Function("return this")(), ze = t && !t.nodeType && t, ve = ze && !0 && i && !i.nodeType && i, He = ve && ve.exports === ze;
18549
18549
  function ue(p, C) {
18550
18550
  return p.set(C[0], C[1]), p;
@@ -18860,12 +18860,12 @@ var Bo = ky, rs = {}, xy = {
18860
18860
  return qs(D) ? D : void 0;
18861
18861
  }
18862
18862
  var Wt = Ci ? Ee(Ci, Object) : cr, Nt = Us;
18863
- (_n && Nt(new _n(new ArrayBuffer(1))) != I || pn && Nt(new pn()) != u || Et && Nt(Et.resolve()) != g || Vn && Nt(new Vn()) != b || Pi && Nt(new Pi()) != k) && (Nt = function(p) {
18863
+ (_n && Nt(new _n(new ArrayBuffer(1))) != P || pn && Nt(new pn()) != u || Et && Nt(Et.resolve()) != g || Vn && Nt(new Vn()) != b || Pi && Nt(new Pi()) != k) && (Nt = function(p) {
18864
18864
  var C = It.call(p), D = C == v ? p.constructor : void 0, N = D ? lt(D) : void 0;
18865
18865
  if (N)
18866
18866
  switch (N) {
18867
18867
  case Ii:
18868
- return I;
18868
+ return P;
18869
18869
  case vn:
18870
18870
  return u;
18871
18871
  case Ei:
@@ -18892,7 +18892,7 @@ var Bo = ky, rs = {}, xy = {
18892
18892
  case a:
18893
18893
  case l:
18894
18894
  return new Ce(+p);
18895
- case I:
18895
+ case P:
18896
18896
  return An(p, N);
18897
18897
  case z:
18898
18898
  case M:
@@ -18913,7 +18913,7 @@ var Bo = ky, rs = {}, xy = {
18913
18913
  return po(p);
18914
18914
  case b:
18915
18915
  return Zs(p, N, D);
18916
- case P:
18916
+ case I:
18917
18917
  return Ks(p);
18918
18918
  }
18919
18919
  }
@@ -18996,8 +18996,8 @@ var as = {}, My = {
18996
18996
  }
18997
18997
  };
18998
18998
  (function(i, t) {
18999
- var e = 200, n = "__lodash_hash_undefined__", o = 1, s = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", u = "[object Error]", m = "[object Function]", v = "[object GeneratorFunction]", g = "[object Map]", A = "[object Number]", b = "[object Null]", y = "[object Object]", P = "[object Promise]", k = "[object Proxy]", S = "[object RegExp]", I = "[object Set]", z = "[object String]", M = "[object Symbol]", F = "[object Undefined]", q = "[object WeakMap]", Q = "[object ArrayBuffer]", R = "[object DataView]", H = "[object Float32Array]", B = "[object Float64Array]", G = "[object Int8Array]", U = "[object Int16Array]", Y = "[object Int32Array]", J = "[object Uint8Array]", re = "[object Uint8ClampedArray]", ie = "[object Uint16Array]", Ae = "[object Uint32Array]", we = /[\\^$.*+?()[\]{}|]/g, ge = /^\[object .+?Constructor\]$/, ze = /^(?:0|[1-9]\d*)$/, ve = {};
19000
- ve[H] = ve[B] = ve[G] = ve[U] = ve[Y] = ve[J] = ve[re] = ve[ie] = ve[Ae] = !0, ve[a] = ve[l] = ve[Q] = ve[d] = ve[R] = ve[h] = ve[u] = ve[m] = ve[g] = ve[A] = ve[y] = ve[S] = ve[I] = ve[z] = ve[q] = !1;
18999
+ var e = 200, n = "__lodash_hash_undefined__", o = 1, s = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", u = "[object Error]", m = "[object Function]", v = "[object GeneratorFunction]", g = "[object Map]", A = "[object Number]", b = "[object Null]", y = "[object Object]", I = "[object Promise]", k = "[object Proxy]", S = "[object RegExp]", P = "[object Set]", z = "[object String]", M = "[object Symbol]", F = "[object Undefined]", q = "[object WeakMap]", Q = "[object ArrayBuffer]", R = "[object DataView]", H = "[object Float32Array]", B = "[object Float64Array]", G = "[object Int8Array]", U = "[object Int16Array]", Y = "[object Int32Array]", J = "[object Uint8Array]", re = "[object Uint8ClampedArray]", ie = "[object Uint16Array]", Ae = "[object Uint32Array]", we = /[\\^$.*+?()[\]{}|]/g, ge = /^\[object .+?Constructor\]$/, ze = /^(?:0|[1-9]\d*)$/, ve = {};
19000
+ ve[H] = ve[B] = ve[G] = ve[U] = ve[Y] = ve[J] = ve[re] = ve[ie] = ve[Ae] = !0, ve[a] = ve[l] = ve[Q] = ve[d] = ve[R] = ve[h] = ve[u] = ve[m] = ve[g] = ve[A] = ve[y] = ve[S] = ve[P] = ve[z] = ve[q] = !1;
19001
19001
  var He = typeof Ct == "object" && Ct && Ct.Object === Object && Ct, ue = typeof self == "object" && self && self.Object === Object && self, be = He || ue || Function("return this")(), Se = t && !t.nodeType && t, me = Se && !0 && i && !i.nodeType && i, Ye = me && me.exports === Se, at = Ye && He.process, ke = function() {
19002
19002
  try {
19003
19003
  return at && at.binding && at.binding("util");
@@ -19308,7 +19308,7 @@ var as = {}, My = {
19308
19308
  return p == C + "";
19309
19309
  case g:
19310
19310
  var De = je;
19311
- case I:
19311
+ case P:
19312
19312
  var Ge = N & o;
19313
19313
  if (De || (De = Fe), p.size != C.size && !Ge)
19314
19314
  return !1;
@@ -19381,7 +19381,7 @@ var as = {}, My = {
19381
19381
  return _n.call(p, C);
19382
19382
  }));
19383
19383
  } : cr, jt = An;
19384
- (Ii && jt(new Ii(new ArrayBuffer(1))) != R || vn && jt(new vn()) != g || Ei && jt(Ei.resolve()) != P || ki && jt(new ki()) != I || xi && jt(new xi()) != q) && (jt = function(p) {
19384
+ (Ii && jt(new Ii(new ArrayBuffer(1))) != R || vn && jt(new vn()) != g || Ei && jt(Ei.resolve()) != I || ki && jt(new ki()) != P || xi && jt(new xi()) != q) && (jt = function(p) {
19385
19385
  var C = An(p), D = C == y ? p.constructor : void 0, N = D ? lt(D) : "";
19386
19386
  if (N)
19387
19387
  switch (N) {
@@ -19390,9 +19390,9 @@ var as = {}, My = {
19390
19390
  case Gt:
19391
19391
  return g;
19392
19392
  case Ds:
19393
- return P;
19394
- case Ms:
19395
19393
  return I;
19394
+ case Ms:
19395
+ return P;
19396
19396
  case Ss:
19397
19397
  return q;
19398
19398
  }
@@ -19524,19 +19524,19 @@ function Vy(i, t) {
19524
19524
  let v = !1;
19525
19525
  const g = (b) => (...y) => {
19526
19526
  v = !0;
19527
- const P = b(...y);
19528
- return v = !1, P;
19527
+ const I = b(...y);
19528
+ return v = !1, I;
19529
19529
  };
19530
19530
  Object.entries(o).forEach(([b, y]) => {
19531
19531
  u[b] = g(
19532
- (...P) => y(m(), ...P)
19532
+ (...I) => y(m(), ...I)
19533
19533
  ), Object.defineProperty(u[b], "name", { value: b });
19534
19534
  }), h = new Proxy(Dy(e), {
19535
19535
  get(b, y) {
19536
19536
  return d() && !v && r(d(), { prop: y, value: b[y] }), Reflect.get(...arguments);
19537
19537
  },
19538
- set(b, y, P) {
19539
- return b[y] === P || (Reflect.set(...arguments), d() || (s && s(y, P), a(h, y))), !0;
19538
+ set(b, y, I) {
19539
+ return b[y] === I || (Reflect.set(...arguments), d() || (s && s(y, I), a(h, y))), !0;
19540
19540
  }
19541
19541
  }), Object.entries(n).forEach(([b, y]) => {
19542
19542
  c(b, () => {
@@ -20289,8 +20289,8 @@ function Zy(i) {
20289
20289
  i[0]
20290
20290
  ), w(o, "class", "sc-carousel__pages-window svelte-sme1z4"), w(e, "class", "sc-carousel__content-container svelte-sme1z4"), w(t, "class", "sc-carousel__carousel-container svelte-sme1z4");
20291
20291
  },
20292
- m(P, k) {
20293
- V(P, t, k), O(t, e), m && m.m(e, null), O(e, n), O(e, o), O(o, s), g && g.m(s, null), i[39](s), O(o, a), A && A.m(o, null), i[40](o), O(e, l), b && b.m(e, null), O(t, c), y && y.m(t, null), d = !0, h || (u = [
20292
+ m(I, k) {
20293
+ V(I, t, k), O(t, e), m && m.m(e, null), O(e, n), O(e, o), O(o, s), g && g.m(s, null), i[39](s), O(o, a), A && A.m(o, null), i[40](o), O(e, l), b && b.m(e, null), O(t, c), y && y.m(t, null), d = !0, h || (u = [
20294
20294
  qt(r = c1.call(null, s, {
20295
20295
  thresholdProvider: (
20296
20296
  /*swipeable_function*/
@@ -20343,72 +20343,72 @@ function Zy(i) {
20343
20343
  )
20344
20344
  ], h = !0);
20345
20345
  },
20346
- p(P, k) {
20346
+ p(I, k) {
20347
20347
  /*arrows*/
20348
- P[1] ? m ? (m.p(P, k), k[0] & /*arrows*/
20349
- 2 && x(m, 1)) : (m = Qc(P), m.c(), x(m, 1), m.m(e, n)) : m && (de(), L(m, 1, 1, () => {
20348
+ I[1] ? m ? (m.p(I, k), k[0] & /*arrows*/
20349
+ 2 && x(m, 1)) : (m = Qc(I), m.c(), x(m, 1), m.m(e, n)) : m && (de(), L(m, 1, 1, () => {
20350
20350
  m = null;
20351
20351
  }), he()), g && g.p && (!d || k[0] & /*loaded, currentPageIndex*/
20352
20352
  96 | k[1] & /*$$scope*/
20353
20353
  32) && mi(
20354
20354
  g,
20355
20355
  v,
20356
- P,
20356
+ I,
20357
20357
  /*$$scope*/
20358
- P[36],
20358
+ I[36],
20359
20359
  d ? fi(
20360
20360
  v,
20361
20361
  /*$$scope*/
20362
- P[36],
20362
+ I[36],
20363
20363
  k,
20364
20364
  Xy
20365
20365
  ) : pi(
20366
20366
  /*$$scope*/
20367
- P[36]
20367
+ I[36]
20368
20368
  ),
20369
20369
  Bc
20370
20370
  ), (!d || k[0] & /*offset*/
20371
20371
  256) && T(s, "transform", "translateX(" + /*offset*/
20372
- P[8] + "px)"), (!d || k[0] & /*durationMs*/
20372
+ I[8] + "px)"), (!d || k[0] & /*durationMs*/
20373
20373
  512) && T(
20374
20374
  s,
20375
20375
  "transition-duration",
20376
20376
  /*durationMs*/
20377
- P[9] + "ms"
20377
+ I[9] + "ms"
20378
20378
  ), (!d || k[0] & /*timingFunction*/
20379
20379
  1) && T(
20380
20380
  s,
20381
20381
  "transition-timing-function",
20382
20382
  /*timingFunction*/
20383
- P[0]
20383
+ I[0]
20384
20384
  ), r && hi(r.update) && k[0] & /*pageWindowWidth*/
20385
20385
  2048 && r.update.call(null, {
20386
20386
  thresholdProvider: (
20387
20387
  /*swipeable_function*/
20388
- P[38]
20388
+ I[38]
20389
20389
  )
20390
20390
  }), /*autoplayProgressVisible*/
20391
- P[3] ? A ? (A.p(P, k), k[0] & /*autoplayProgressVisible*/
20392
- 8 && x(A, 1)) : (A = Hc(P), A.c(), x(A, 1), A.m(o, null)) : A && (de(), L(A, 1, 1, () => {
20391
+ I[3] ? A ? (A.p(I, k), k[0] & /*autoplayProgressVisible*/
20392
+ 8 && x(A, 1)) : (A = Hc(I), A.c(), x(A, 1), A.m(o, null)) : A && (de(), L(A, 1, 1, () => {
20393
20393
  A = null;
20394
20394
  }), he()), /*arrows*/
20395
- P[1] ? b ? (b.p(P, k), k[0] & /*arrows*/
20396
- 2 && x(b, 1)) : (b = Gc(P), b.c(), x(b, 1), b.m(e, null)) : b && (de(), L(b, 1, 1, () => {
20395
+ I[1] ? b ? (b.p(I, k), k[0] & /*arrows*/
20396
+ 2 && x(b, 1)) : (b = Gc(I), b.c(), x(b, 1), b.m(e, null)) : b && (de(), L(b, 1, 1, () => {
20397
20397
  b = null;
20398
20398
  }), he()), /*dots*/
20399
- P[4] ? y ? (y.p(P, k), k[0] & /*dots*/
20400
- 16 && x(y, 1)) : (y = Wc(P), y.c(), x(y, 1), y.m(t, null)) : y && (de(), L(y, 1, 1, () => {
20399
+ I[4] ? y ? (y.p(I, k), k[0] & /*dots*/
20400
+ 16 && x(y, 1)) : (y = Wc(I), y.c(), x(y, 1), y.m(t, null)) : y && (de(), L(y, 1, 1, () => {
20401
20401
  y = null;
20402
20402
  }), he());
20403
20403
  },
20404
- i(P) {
20405
- d || (x(m), x(g, P), x(A), x(b), x(y), d = !0);
20404
+ i(I) {
20405
+ d || (x(m), x(g, I), x(A), x(b), x(y), d = !0);
20406
20406
  },
20407
- o(P) {
20408
- L(m), L(g, P), L(A), L(b), L(y), d = !1;
20407
+ o(I) {
20408
+ L(m), L(g, I), L(A), L(b), L(y), d = !1;
20409
20409
  },
20410
- d(P) {
20411
- P && j(t), m && m.d(), g && g.d(P), i[39](null), A && A.d(), i[40](null), b && b.d(), y && y.d(), h = !1, rt(u);
20410
+ d(I) {
20411
+ I && j(t), m && m.d(), g && g.d(I), i[39](null), A && A.d(), i[40](null), b && b.d(), y && y.d(), h = !1, rt(u);
20412
20412
  }
20413
20413
  };
20414
20414
  }
@@ -20424,7 +20424,7 @@ function Ky(i, t, e) {
20424
20424
  loaded: () => e(6, s = Ee)
20425
20425
  })(oe);
20426
20426
  }), g = ms();
20427
- let { timingFunction: A = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: k = 500 } = t, { autoplay: S = !1 } = t, { autoplayDuration: I = 3e3 } = t, { autoplayDirection: z = dn } = t, { pauseOnFocus: M = !1 } = t, { autoplayProgressVisible: F = !1 } = t, { dots: q = !0 } = t, { swiping: Q = !0 } = t, { particlesToShow: R = 1 } = t, { particlesToScroll: H = 1 } = t;
20427
+ let { timingFunction: A = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: I = 0 } = t, { duration: k = 500 } = t, { autoplay: S = !1 } = t, { autoplayDuration: P = 3e3 } = t, { autoplayDirection: z = dn } = t, { pauseOnFocus: M = !1 } = t, { autoplayProgressVisible: F = !1 } = t, { dots: q = !0 } = t, { swiping: Q = !0 } = t, { particlesToShow: R = 1 } = t, { particlesToScroll: H = 1 } = t;
20428
20428
  function B(oe, Ee) {
20429
20429
  return X(this, null, function* () {
20430
20430
  const Be = qi(Ee, "animated", !0);
@@ -20466,7 +20466,7 @@ function Ky(i, t, e) {
20466
20466
  }
20467
20467
  St(() => {
20468
20468
  X(this, null, function* () {
20469
- yield Ua(), re && J && (h.particlesCountWithoutClones = re.children.length, yield Ua(), h.infinite && Ae(), h.particlesCount = re.children.length, m.showPage(P, { animated: !1 }), ie.observe(J));
20469
+ yield Ua(), re && J && (h.particlesCountWithoutClones = re.children.length, yield Ua(), h.infinite && Ae(), h.particlesCount = re.children.length, m.showPage(I, { animated: !1 }), ie.observe(J));
20470
20470
  });
20471
20471
  }), un(() => {
20472
20472
  ie.disconnect(), u.reset();
@@ -20520,14 +20520,14 @@ function Ky(i, t, e) {
20520
20520
  }
20521
20521
  const Ke = (oe) => we(oe.detail);
20522
20522
  return i.$$set = (oe) => {
20523
- "timingFunction" in oe && e(0, A = oe.timingFunction), "arrows" in oe && e(1, b = oe.arrows), "infinite" in oe && e(2, y = oe.infinite), "initialPageIndex" in oe && e(24, P = oe.initialPageIndex), "duration" in oe && e(25, k = oe.duration), "autoplay" in oe && e(26, S = oe.autoplay), "autoplayDuration" in oe && e(27, I = oe.autoplayDuration), "autoplayDirection" in oe && e(28, z = oe.autoplayDirection), "pauseOnFocus" in oe && e(29, M = oe.pauseOnFocus), "autoplayProgressVisible" in oe && e(3, F = oe.autoplayProgressVisible), "dots" in oe && e(4, q = oe.dots), "swiping" in oe && e(30, Q = oe.swiping), "particlesToShow" in oe && e(31, R = oe.particlesToShow), "particlesToScroll" in oe && e(32, H = oe.particlesToScroll), "$$scope" in oe && e(36, o = oe.$$scope);
20523
+ "timingFunction" in oe && e(0, A = oe.timingFunction), "arrows" in oe && e(1, b = oe.arrows), "infinite" in oe && e(2, y = oe.infinite), "initialPageIndex" in oe && e(24, I = oe.initialPageIndex), "duration" in oe && e(25, k = oe.duration), "autoplay" in oe && e(26, S = oe.autoplay), "autoplayDuration" in oe && e(27, P = oe.autoplayDuration), "autoplayDirection" in oe && e(28, z = oe.autoplayDirection), "pauseOnFocus" in oe && e(29, M = oe.pauseOnFocus), "autoplayProgressVisible" in oe && e(3, F = oe.autoplayProgressVisible), "dots" in oe && e(4, q = oe.dots), "swiping" in oe && e(30, Q = oe.swiping), "particlesToShow" in oe && e(31, R = oe.particlesToShow), "particlesToScroll" in oe && e(32, H = oe.particlesToScroll), "$$scope" in oe && e(36, o = oe.$$scope);
20524
20524
  }, i.$$.update = () => {
20525
20525
  i.$$.dirty[0] & /*currentPageIndex*/
20526
20526
  32 && g("pageChange", r), i.$$.dirty[0] & /*infinite*/
20527
20527
  4 && (h.infinite = y), i.$$.dirty[0] & /*duration*/
20528
20528
  33554432 && (h.durationMsInit = k), i.$$.dirty[0] & /*autoplay*/
20529
20529
  67108864 && (h.autoplay = S), i.$$.dirty[0] & /*autoplayDuration*/
20530
- 134217728 && (h.autoplayDuration = I), i.$$.dirty[0] & /*autoplayDirection*/
20530
+ 134217728 && (h.autoplayDuration = P), i.$$.dirty[0] & /*autoplayDirection*/
20531
20531
  268435456 && (h.autoplayDirection = z), i.$$.dirty[0] & /*pauseOnFocus*/
20532
20532
  536870912 && (h.pauseOnFocus = M), i.$$.dirty[1] & /*particlesToShow*/
20533
20533
  1 && (h.particlesToShowInit = R), i.$$.dirty[1] & /*particlesToScroll*/
@@ -20557,10 +20557,10 @@ function Ky(i, t, e) {
20557
20557
  be,
20558
20558
  Se,
20559
20559
  me,
20560
- P,
20560
+ I,
20561
20561
  k,
20562
20562
  S,
20563
- I,
20563
+ P,
20564
20564
  z,
20565
20565
  M,
20566
20566
  Q,
@@ -20899,7 +20899,7 @@ function rw(i, t, e) {
20899
20899
  Q !== n && (n == null || n.pause());
20900
20900
  });
20901
20901
  });
20902
- const P = (Q) => {
20902
+ const I = (Q) => {
20903
20903
  e(10, m = !1), e(0, s.paused = !1, s), e(8, v = !0), n && A.set({ currentMediaElement: n }), b.emit("playStateChange", {
20904
20904
  event: Q,
20905
20905
  state: "playing",
@@ -20920,7 +20920,7 @@ function rw(i, t, e) {
20920
20920
  tag: r,
20921
20921
  mediaInstance: n
20922
20922
  });
20923
- }, I = (Q) => {
20923
+ }, P = (Q) => {
20924
20924
  e(10, m = !0), e(0, s.paused = !0, s), b.emit("playStateChange", {
20925
20925
  event: Q,
20926
20926
  state: "paused",
@@ -20965,10 +20965,10 @@ function rw(i, t, e) {
20965
20965
  A,
20966
20966
  b,
20967
20967
  o,
20968
- P,
20968
+ I,
20969
20969
  k,
20970
20970
  S,
20971
- I,
20971
+ P,
20972
20972
  z,
20973
20973
  M,
20974
20974
  F,
@@ -21360,8 +21360,8 @@ function hw(i) {
21360
21360
  }
21361
21361
  function uw(i, t, e) {
21362
21362
  let n, o, s, r, { tag: a } = t, { mediaData: l } = t, { inDelay: c = 0 } = t, { outDelay: d = 0 } = t, { duration: h = 0 } = t, { unfolded: u = !0 } = t, { animation: m = !0 } = t, { mediaItemConfig: v } = t, { enableCarousel: g = !0 } = t, { autoplayConfig: A = {} } = t;
21363
- const { autoplayVideo: b = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: P = !1 } = A;
21364
- let k = [], S = 0, I, z = null;
21363
+ const { autoplayVideo: b = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: I = !1 } = A;
21364
+ let k = [], S = 0, P, z = null;
21365
21365
  const M = an("hooks"), F = an("mediaStore");
21366
21366
  function q() {
21367
21367
  const G = k[S], U = G == null ? void 0 : G.videoInstance;
@@ -21373,7 +21373,7 @@ function uw(i, t, e) {
21373
21373
  (J = (Y = (U = a.tag3DContentSvelte) == null ? void 0 : U.css3DInstance) == null ? void 0 : Y.css3DObject) != null && J.opacityMesh && G.tag.id === a.id && q();
21374
21374
  }), z = setInterval(
21375
21375
  () => {
21376
- r && (I == null || I.goToNext());
21376
+ r && (P == null || P.goToNext());
21377
21377
  },
21378
21378
  3e3
21379
21379
  );
@@ -21385,7 +21385,7 @@ function uw(i, t, e) {
21385
21385
  }
21386
21386
  function R(G) {
21387
21387
  Ze[G ? "unshift" : "push"](() => {
21388
- I = G, e(12, I);
21388
+ P = G, e(12, P);
21389
21389
  });
21390
21390
  }
21391
21391
  const H = (G) => {
@@ -21415,7 +21415,7 @@ function uw(i, t, e) {
21415
21415
  n,
21416
21416
  s,
21417
21417
  S,
21418
- I,
21418
+ P,
21419
21419
  o,
21420
21420
  F,
21421
21421
  g,
@@ -21930,14 +21930,14 @@ function Aw(i) {
21930
21930
  /*primaryTags*/
21931
21931
  ((k = i[2].length) != null ? k : 0) + /*secondaryTags*/
21932
21932
  ((S = i[5].length) != null ? S : 0) > 0 && ed(i)
21933
- ), P = (
21933
+ ), I = (
21934
21934
  /*havePrice*/
21935
21935
  (i[7] || /*data*/
21936
21936
  i[3].highlightText) && id(i)
21937
21937
  );
21938
21938
  return {
21939
21939
  c() {
21940
- t = _("div"), ne(e.$$.fragment), n = se(), o = _("div"), s = se(), r = _("div"), b && b.c(), a = se(), l = _("div"), c = _("div"), d = _("div"), u = Ve(h), m = se(), y && y.c(), v = se(), P && P.c(), w(o, "class", "line svelte-sezqcq"), T(
21940
+ t = _("div"), ne(e.$$.fragment), n = se(), o = _("div"), s = se(), r = _("div"), b && b.c(), a = se(), l = _("div"), c = _("div"), d = _("div"), u = Ve(h), m = se(), y && y.c(), v = se(), I && I.c(), w(o, "class", "line svelte-sezqcq"), T(
21941
21941
  o,
21942
21942
  "transition-delay",
21943
21943
  /*unfolded*/
@@ -21963,57 +21963,57 @@ function Aw(i) {
21963
21963
  i[8]
21964
21964
  );
21965
21965
  },
21966
- m(I, z) {
21967
- V(I, t, z), ee(e, t, null), O(t, n), O(t, o), O(t, s), O(t, r), b && b.m(r, null), O(r, a), O(r, l), O(l, c), O(c, d), O(d, u), O(r, m), y && y.m(r, null), O(r, v), P && P.m(r, null), A = !0;
21966
+ m(P, z) {
21967
+ V(P, t, z), ee(e, t, null), O(t, n), O(t, o), O(t, s), O(t, r), b && b.m(r, null), O(r, a), O(r, l), O(l, c), O(c, d), O(d, u), O(r, m), y && y.m(r, null), O(r, v), I && I.m(r, null), A = !0;
21968
21968
  },
21969
- p(I, [z]) {
21969
+ p(P, [z]) {
21970
21970
  var F, q;
21971
21971
  const M = {};
21972
21972
  z & /*unfolded*/
21973
21973
  16 && (M.visible = /*unfolded*/
21974
- I[4]), e.$set(M), z & /*unfolded*/
21974
+ P[4]), e.$set(M), z & /*unfolded*/
21975
21975
  16 && T(
21976
21976
  o,
21977
21977
  "transition-delay",
21978
21978
  /*unfolded*/
21979
- I[4] ? Ro + "ms" : Qo + ld - ad - 40 + "ms"
21979
+ P[4] ? Ro + "ms" : Qo + ld - ad - 40 + "ms"
21980
21980
  ), /*data*/
21981
- I[3].headerPictureUrl ? b ? b.p(I, z) : (b = $c(I), b.c(), b.m(r, a)) : b && (b.d(1), b = null), (!A || z & /*data*/
21981
+ P[3].headerPictureUrl ? b ? b.p(P, z) : (b = $c(P), b.c(), b.m(r, a)) : b && (b.d(1), b = null), (!A || z & /*data*/
21982
21982
  8) && h !== (h = /*data*/
21983
- I[3].title + "") && Re(u, h), /*primaryTags*/
21984
- ((F = I[2].length) != null ? F : 0) + /*secondaryTags*/
21985
- ((q = I[5].length) != null ? q : 0) > 0 ? y ? y.p(I, z) : (y = ed(I), y.c(), y.m(r, v)) : y && (y.d(1), y = null), /*havePrice*/
21986
- I[7] || /*data*/
21987
- I[3].highlightText ? P ? P.p(I, z) : (P = id(I), P.c(), P.m(r, null)) : P && (P.d(1), P = null), z & /*unfolded*/
21983
+ P[3].title + "") && Re(u, h), /*primaryTags*/
21984
+ ((F = P[2].length) != null ? F : 0) + /*secondaryTags*/
21985
+ ((q = P[5].length) != null ? q : 0) > 0 ? y ? y.p(P, z) : (y = ed(P), y.c(), y.m(r, v)) : y && (y.d(1), y = null), /*havePrice*/
21986
+ P[7] || /*data*/
21987
+ P[3].highlightText ? I ? I.p(P, z) : (I = id(P), I.c(), I.m(r, null)) : I && (I.d(1), I = null), z & /*unfolded*/
21988
21988
  16 && T(
21989
21989
  r,
21990
21990
  "transition-delay",
21991
21991
  /*unfolded*/
21992
- I[4] ? Ro + Qo + "ms" : "0ms"
21992
+ P[4] ? Ro + Qo + "ms" : "0ms"
21993
21993
  ), (!A || z & /*theme*/
21994
21994
  64 && g !== (g = _e(`marketing ${/*theme*/
21995
- I[6]}`) + " svelte-sezqcq")) && w(t, "class", g), (!A || z & /*theme, unfolded*/
21995
+ P[6]}`) + " svelte-sezqcq")) && w(t, "class", g), (!A || z & /*theme, unfolded*/
21996
21996
  80) && K(
21997
21997
  t,
21998
21998
  "unfolded",
21999
21999
  /*unfolded*/
22000
- I[4]
22000
+ P[4]
22001
22001
  ), (!A || z & /*theme, folded*/
22002
22002
  320) && K(
22003
22003
  t,
22004
22004
  "folded",
22005
22005
  /*folded*/
22006
- I[8]
22006
+ P[8]
22007
22007
  );
22008
22008
  },
22009
- i(I) {
22010
- A || (x(e.$$.fragment, I), A = !0);
22009
+ i(P) {
22010
+ A || (x(e.$$.fragment, P), A = !0);
22011
22011
  },
22012
- o(I) {
22013
- L(e.$$.fragment, I), A = !1;
22012
+ o(P) {
22013
+ L(e.$$.fragment, P), A = !1;
22014
22014
  },
22015
- d(I) {
22016
- I && j(t), te(e), b && b.d(), y && y.d(), P && P.d();
22015
+ d(P) {
22016
+ P && j(t), te(e), b && b.d(), y && y.d(), I && I.d();
22017
22017
  }
22018
22018
  };
22019
22019
  }
@@ -22033,7 +22033,7 @@ function bw(i, t, e) {
22033
22033
  return i.$$set = (g) => {
22034
22034
  "tag" in g && e(0, h = g.tag);
22035
22035
  }, i.$$.update = () => {
22036
- var g, A, b, y, P, k;
22036
+ var g, A, b, y, I, k;
22037
22037
  i.$$.dirty & /*tag*/
22038
22038
  1 && e(4, n = (A = (g = h.state) == null ? void 0 : g.unfolded) != null ? A : !1), i.$$.dirty & /*unfolded*/
22039
22039
  16 && e(8, o = !n), i.$$.dirty & /*tag*/
@@ -22041,7 +22041,7 @@ function bw(i, t, e) {
22041
22041
  8 && e(7, r = di((b = s.price) == null ? void 0 : b.value) && ((y = s.price) == null ? void 0 : y.value) !== ""), i.$$.dirty & /*tag*/
22042
22042
  1 && e(6, a = h.data.theme || "light"), i.$$.dirty & /*tagsOffsetHeight, maxTagsLength*/
22043
22043
  1026 && u > 40 && e(10, l = l - 1), i.$$.dirty & /*data, maxTagsLength*/
22044
- 1032 && e(2, c = ((P = s.brandTags) == null ? void 0 : P.slice(0, l).filter(Boolean)) || []), i.$$.dirty & /*data, maxTagsLength, primaryTags*/
22044
+ 1032 && e(2, c = ((I = s.brandTags) == null ? void 0 : I.slice(0, l).filter(Boolean)) || []), i.$$.dirty & /*data, maxTagsLength, primaryTags*/
22045
22045
  1036 && e(5, d = ((k = s.tags) == null ? void 0 : k.slice(0, l - c.length).filter(Boolean)) || []);
22046
22046
  }, e(10, l = (m - 20) / Ta), [
22047
22047
  h,
@@ -22544,8 +22544,8 @@ function dd(i) {
22544
22544
  i[6]
22545
22545
  );
22546
22546
  },
22547
- m(y, P) {
22548
- V(y, t, P), ee(e, t, null), O(t, n), O(t, o), O(o, s), O(s, r), g && g.m(r, null), O(s, a), O(s, l), ee(c, l, null), O(t, d), ee(h, t, null), u = !0, m || (v = [
22547
+ m(y, I) {
22548
+ V(y, t, I), ee(e, t, null), O(t, n), O(t, o), O(o, s), O(s, r), g && g.m(r, null), O(s, a), O(s, l), ee(c, l, null), O(t, d), ee(h, t, null), u = !0, m || (v = [
22549
22549
  Pe(
22550
22550
  l,
22551
22551
  "click",
@@ -22561,38 +22561,38 @@ function dd(i) {
22561
22561
  )
22562
22562
  ], m = !0);
22563
22563
  },
22564
- p(y, P) {
22564
+ p(y, I) {
22565
22565
  var z, M;
22566
22566
  const k = {};
22567
- P & /*unfolded*/
22567
+ I & /*unfolded*/
22568
22568
  64 && (k.visible = /*unfolded*/
22569
- y[6]), P & /*contentWidth*/
22569
+ y[6]), I & /*contentWidth*/
22570
22570
  8 && (k.left = /*contentWidth*/
22571
22571
  y[3] / 2 + "px"), e.$set(k), /*unfolded*/
22572
- y[6] ? g ? (g.p(y, P), P & /*unfolded*/
22572
+ y[6] ? g ? (g.p(y, I), I & /*unfolded*/
22573
22573
  64 && x(g, 1)) : (g = hd(y), g.c(), x(g, 1), g.m(r, null)) : g && (de(), L(g, 1, 1, () => {
22574
22574
  g = null;
22575
22575
  }), he());
22576
22576
  const S = {};
22577
- P & /*unfolded*/
22577
+ I & /*unfolded*/
22578
22578
  64 && (S.visible = /*unfolded*/
22579
- y[6]), P & /*textUnfolded*/
22579
+ y[6]), I & /*textUnfolded*/
22580
22580
  2 && (S.textUnfolded = /*textUnfolded*/
22581
- y[1]), P & /*content*/
22581
+ y[1]), I & /*content*/
22582
22582
  32 && (S.content = /*content*/
22583
22583
  y[5]), c.$set(S);
22584
- const I = {};
22585
- P & /*unfolded*/
22586
- 64 && (I.unfolded = /*unfolded*/
22587
- y[6]), P & /*contentWidth*/
22588
- 8 && (I.length = /*contentWidth*/
22589
- y[3]), P & /*foldTextDelay, content*/
22590
- 48 && (I.outDelay = /*foldTextDelay*/
22584
+ const P = {};
22585
+ I & /*unfolded*/
22586
+ 64 && (P.unfolded = /*unfolded*/
22587
+ y[6]), I & /*contentWidth*/
22588
+ 8 && (P.length = /*contentWidth*/
22589
+ y[3]), I & /*foldTextDelay, content*/
22590
+ 48 && (P.outDelay = /*foldTextDelay*/
22591
22591
  y[4] + 20 * Math.min(
22592
22592
  /*content*/
22593
22593
  (M = (z = y[5]) == null ? void 0 : z.length) != null ? M : 10,
22594
22594
  15
22595
- )), h.$set(I), (!u || P & /*unfolded*/
22595
+ )), h.$set(P), (!u || I & /*unfolded*/
22596
22596
  64) && K(
22597
22597
  t,
22598
22598
  "unfolded",
@@ -23754,17 +23754,17 @@ function Zn(i) {
23754
23754
  function rC(i, t, e) {
23755
23755
  let n, o, s, r, a, l, c, d, h, { width: u = null } = t, { icon: m = null } = t, { shadow: v = !1 } = t;
23756
23756
  const g = ms();
23757
- function A(P) {
23757
+ function A(I) {
23758
23758
  return X(this, null, function* () {
23759
- const k = yield qw(P);
23759
+ const k = yield qw(I);
23760
23760
  return g("iconLoaded", k), k;
23761
23761
  });
23762
23762
  }
23763
- function b(P) {
23763
+ function b(I) {
23764
23764
  return X(this, null, function* () {
23765
23765
  if (typeof h == "number")
23766
- return ye(W({}, P), { width: h });
23767
- const k = yield Uw(P);
23766
+ return ye(W({}, I), { width: h });
23767
+ const k = yield Uw(I);
23768
23768
  return g("iconLoaded", k), k;
23769
23769
  });
23770
23770
  }
@@ -23773,13 +23773,13 @@ function rC(i, t, e) {
23773
23773
  }
23774
23774
  return St(() => {
23775
23775
  y();
23776
- }), i.$$set = (P) => {
23777
- "width" in P && e(1, u = P.width), "icon" in P && e(12, m = P.icon), "shadow" in P && e(0, v = P.shadow);
23776
+ }), i.$$set = (I) => {
23777
+ "width" in I && e(1, u = I.width), "icon" in I && e(12, m = I.icon), "shadow" in I && e(0, v = I.shadow);
23778
23778
  }, i.$$.update = () => {
23779
- var P, k;
23779
+ var I, k;
23780
23780
  i.$$.dirty & /*icon*/
23781
23781
  4096 && e(7, n = m == null ? void 0 : m.url), i.$$.dirty & /*icon*/
23782
- 4096 && e(2, o = (P = m == null ? void 0 : m.steps) != null ? P : 1), i.$$.dirty & /*icon*/
23782
+ 4096 && e(2, o = (I = m == null ? void 0 : m.steps) != null ? I : 1), i.$$.dirty & /*icon*/
23783
23783
  4096 && e(6, s = m == null ? void 0 : m.fps), i.$$.dirty & /*icon*/
23784
23784
  4096 && e(5, r = m == null ? void 0 : m.ratio), i.$$.dirty & /*icon*/
23785
23785
  4096 && e(4, a = (k = m == null ? void 0 : m.scale) != null ? k : 1), i.$$.dirty & /*icon*/
@@ -24511,24 +24511,24 @@ function xC(i, t, e) {
24511
24511
  let n, o, s, r, a, l, { withAnimation: c = !1 } = t, { tag: d } = t, { hooks: h } = t, { renderMap: u = /* @__PURE__ */ new Map() } = t, { state: m } = t, { mediaStore: v } = t, { temporaryState: g } = t;
24512
24512
  Gr("hooks", h), Gr("mediaStore", v);
24513
24513
  let A, b;
24514
- function y(I) {
24515
- I ? h.emit("exposure", { id: r, type: "start" }) : h.emit("exposure", { id: r, type: "end" });
24514
+ function y(P) {
24515
+ P ? h.emit("exposure", { id: r, type: "start" }) : h.emit("exposure", { id: r, type: "end" });
24516
24516
  }
24517
- function P(I, z, M) {
24517
+ function I(P, z, M) {
24518
24518
  var F, q;
24519
- return !(!z.visible || !z.enabled || !M.visible || !((F = I.state) != null && F.visible) || ((q = I.temporaryState) == null ? void 0 : q.visible) === !1 || pt(I) && !I.mediaVisible);
24519
+ return !(!z.visible || !z.enabled || !M.visible || !((F = P.state) != null && F.visible) || ((q = P.temporaryState) == null ? void 0 : q.visible) === !1 || pt(P) && !P.mediaVisible);
24520
24520
  }
24521
- const k = (I) => h.emit("click", { event: I, target: "TagContent", tag: d }), S = (I) => h.emit("click", { event: I, target: "TagContent", tag: d });
24522
- return i.$$set = (I) => {
24523
- "withAnimation" in I && e(0, c = I.withAnimation), "tag" in I && e(1, d = I.tag), "hooks" in I && e(2, h = I.hooks), "renderMap" in I && e(3, u = I.renderMap), "state" in I && e(6, m = I.state), "mediaStore" in I && e(7, v = I.mediaStore), "temporaryState" in I && e(8, g = I.temporaryState);
24521
+ const k = (P) => h.emit("click", { event: P, target: "TagContent", tag: d }), S = (P) => h.emit("click", { event: P, target: "TagContent", tag: d });
24522
+ return i.$$set = (P) => {
24523
+ "withAnimation" in P && e(0, c = P.withAnimation), "tag" in P && e(1, d = P.tag), "hooks" in P && e(2, h = P.hooks), "renderMap" in P && e(3, u = P.renderMap), "state" in P && e(6, m = P.state), "mediaStore" in P && e(7, v = P.mediaStore), "temporaryState" in P && e(8, g = P.temporaryState);
24524
24524
  }, i.$$.update = () => {
24525
- var I, z, M, F, q, Q, R, H, B, G, U;
24525
+ var P, z, M, F, q, Q, R, H, B, G, U;
24526
24526
  i.$$.dirty & /*tag*/
24527
- 2 && e(12, n = (I = d.state) == null ? void 0 : I.unfolded), i.$$.dirty & /*tag*/
24527
+ 2 && e(12, n = (P = d.state) == null ? void 0 : P.unfolded), i.$$.dirty & /*tag*/
24528
24528
  2 && e(11, o = (z = d.state) == null ? void 0 : z.visible), i.$$.dirty & /*state, temporaryState, tag*/
24529
24529
  322 && e(13, s = m.visible && g.visible && ((M = d.state) == null ? void 0 : M.visible)), i.$$.dirty & /*tag*/
24530
24530
  2 && (r = d.id), i.$$.dirty & /*tag, state, temporaryState*/
24531
- 322 && e(5, a = !P(d, m, g)), i.$$.dirty & /*isVisible*/
24531
+ 322 && e(5, a = !I(d, m, g)), i.$$.dirty & /*isVisible*/
24532
24532
  8192 && y(s), i.$$.dirty & /*tag, unfolded, lastUnfoldedState, visible, lastVisibleState*/
24533
24533
  7682 && d.hooks && (n !== void 0 && n !== b && (e(10, b = n), n ? (q = (F = d.hooks).emit) == null || q.call(F, "unfolded") : (R = d == null ? void 0 : (Q = d.hooks).emit) == null || R.call(Q, "folded")), o !== void 0 && o !== A && (e(9, A = o), o ? (B = (H = d.hooks).emit) == null || B.call(H, "show") : (U = (G = d.hooks).emit) == null || U.call(G, "hide"))), i.$$.dirty & /*tag*/
24534
24534
  2 && e(4, l = (() => !(typeof d.config.unfoldedConfig == "object" && d.config.unfoldedConfig.keep === "folded"))());
@@ -24713,10 +24713,10 @@ function SC(i, t, e) {
24713
24713
  1 && e(3, o = !n), i.$$.dirty & /*tag*/
24714
24714
  64 && e(2, s = (b = (A = l.style) == null ? void 0 : A.point) != null && b.url ? (y = l.style) == null ? void 0 : y.point : { url: FA }), i.$$.dirty & /*tag*/
24715
24715
  64 && e(1, r = (() => {
24716
- var S, I, z, M;
24717
- const P = (I = (S = l.style) == null ? void 0 : S.point) == null ? void 0 : I.width;
24718
- if (typeof P == "number")
24719
- return P;
24716
+ var S, P, z, M;
24717
+ const I = (P = (S = l.style) == null ? void 0 : S.point) == null ? void 0 : P.width;
24718
+ if (typeof I == "number")
24719
+ return I;
24720
24720
  const k = (M = (z = l.style) == null ? void 0 : z.point) == null ? void 0 : M.size;
24721
24721
  if (typeof k == "number")
24722
24722
  return k;
@@ -24961,9 +24961,9 @@ function OC(i) {
24961
24961
  V(b, t, y), O(t, e), u[n].m(e, null), O(e, s), g[r].m(e, null), d = !0;
24962
24962
  },
24963
24963
  p(b, [y]) {
24964
- let P = n;
24965
- n = m(b), n === P ? u[n].p(b, y) : (de(), L(u[P], 1, 1, () => {
24966
- u[P] = null;
24964
+ let I = n;
24965
+ n = m(b), n === I ? u[n].p(b, y) : (de(), L(u[I], 1, 1, () => {
24966
+ u[I] = null;
24967
24967
  }), he(), o = u[n], o ? o.p(b, y) : (o = u[n] = h[n](b), o.c()), x(o, 1), o.m(e, s));
24968
24968
  let k = r;
24969
24969
  r = A(b), r === k ? g[r].p(b, y) : (de(), L(g[k], 1, 1, () => {
@@ -25052,10 +25052,10 @@ function OC(i) {
25052
25052
  function BC(i, t, e) {
25053
25053
  let n, o, s, r, a, l, c, d, h, { withAnimation: u = !1 } = t, { tag: m } = t, { mediaStore: v } = t, { renderMap: g = /* @__PURE__ */ new Map() } = t, { state: A } = t, { temporaryState: b } = t;
25054
25054
  const y = an("hooks");
25055
- return i.$$set = (P) => {
25056
- "withAnimation" in P && e(0, u = P.withAnimation), "tag" in P && e(1, m = P.tag), "mediaStore" in P && e(2, v = P.mediaStore), "renderMap" in P && e(3, g = P.renderMap), "state" in P && e(4, A = P.state), "temporaryState" in P && e(5, b = P.temporaryState);
25055
+ return i.$$set = (I) => {
25056
+ "withAnimation" in I && e(0, u = I.withAnimation), "tag" in I && e(1, m = I.tag), "mediaStore" in I && e(2, v = I.mediaStore), "renderMap" in I && e(3, g = I.renderMap), "state" in I && e(4, A = I.state), "temporaryState" in I && e(5, b = I.temporaryState);
25057
25057
  }, i.$$.update = () => {
25058
- var P, k, S, I, z, M, F, q;
25058
+ var I, k, S, P, z, M, F, q;
25059
25059
  i.$$.dirty & /*tag*/
25060
25060
  2 && e(14, n = (() => {
25061
25061
  var Q, R;
@@ -25063,8 +25063,8 @@ function BC(i, t, e) {
25063
25063
  })()), i.$$.dirty & /*tag*/
25064
25064
  2 && e(13, o = (() => m.stickType === "2DPoint")()), i.$$.dirty & /*tag*/
25065
25065
  2 && e(12, s = m.id), i.$$.dirty & /*tag*/
25066
- 2 && e(11, r = !((P = m.screenPosition) != null && P.leftPercent) || !((k = m.screenPosition) != null && k.topPercent) || m.enabled === !1 || !m.state), i.$$.dirty & /*tag*/
25067
- 2 && e(10, a = !((S = m.state) != null && S.visible) || ((I = m.temporaryState) == null ? void 0 : I.visible) === !1), i.$$.dirty & /*tag*/
25066
+ 2 && e(11, r = !((I = m.screenPosition) != null && I.leftPercent) || !((k = m.screenPosition) != null && k.topPercent) || m.enabled === !1 || !m.state), i.$$.dirty & /*tag*/
25067
+ 2 && e(10, a = !((S = m.state) != null && S.visible) || ((P = m.temporaryState) == null ? void 0 : P.visible) === !1), i.$$.dirty & /*tag*/
25068
25068
  2 && e(6, l = (z = m.state) == null ? void 0 : z.unfolded), i.$$.dirty & /*tag*/
25069
25069
  2 && e(9, c = ((M = m.screenPosition) == null ? void 0 : M.leftPercent) + "%"), i.$$.dirty & /*tag*/
25070
25070
  2 && e(8, d = ((F = m.screenPosition) == null ? void 0 : F.topPercent) + "%"), i.$$.dirty & /*tag, unfolded*/
@@ -26532,12 +26532,12 @@ class Es extends Sn {
26532
26532
  var y;
26533
26533
  return A.data.panoIndex !== ((y = c[b - 1]) == null ? void 0 : y.data.panoIndex);
26534
26534
  }).map((A) => A.data.panoIndex).forEach((A) => {
26535
- var y, P;
26535
+ var y, I;
26536
26536
  const b = (y = this.five.work.observers[A]) == null ? void 0 : y.floorIndex;
26537
26537
  if (b !== void 0)
26538
26538
  if (l === b) {
26539
26539
  const k = a.length - 1;
26540
- a[k] = [...(P = a[k]) != null ? P : [], A];
26540
+ a[k] = [...(I = a[k]) != null ? I : [], A];
26541
26541
  } else {
26542
26542
  l = b;
26543
26543
  const k = a.length;
@@ -26643,12 +26643,12 @@ class Es extends Sn {
26643
26643
  const { moveEffect: r, moveToFirstPanoEffect: a, moveToFirstPanoDuration: l } = o;
26644
26644
  return this.privateState.moveToFirstPanoEffect = a, this.privateState.moveToFirstPanoDuration = l, o.panoIndexList.forEach((c, d) => {
26645
26645
  const h = (() => {
26646
- var A, b, y, P;
26646
+ var A, b, y, I;
26647
26647
  const u = o.panoIndexList.slice(d).find((k) => k !== c);
26648
26648
  if (u === void 0)
26649
26649
  return;
26650
26650
  const m = (A = n[c]) == null ? void 0 : A.position, v = (b = n[u]) == null ? void 0 : b.position;
26651
- if (!v || !m || ((y = n[c]) == null ? void 0 : y.floorIndex) !== ((P = n[u]) == null ? void 0 : P.floorIndex))
26651
+ if (!v || !m || ((y = n[c]) == null ? void 0 : y.floorIndex) !== ((I = n[u]) == null ? void 0 : I.floorIndex))
26652
26652
  return;
26653
26653
  const g = new E.Vector3().subVectors(v, m);
26654
26654
  return lP(g.normalize());
@@ -27148,24 +27148,24 @@ class mP extends Sn {
27148
27148
  }
27149
27149
  load(e, n, o = !0) {
27150
27150
  return X(this, null, function* () {
27151
- var u, m, v, g, A, b, y;
27151
+ var m, v, g, A, b, y, I;
27152
27152
  if (this.disposed)
27153
27153
  return;
27154
27154
  const s = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
27155
27155
  this.hooks.emit("dataChange", r, s), this.data = r;
27156
- const a = r.config, l = {
27156
+ const a = r.config, c = {
27157
27157
  panorama_style: {
27158
- visible: !1,
27159
- unit_length: (u = a == null ? void 0 : a.unitHeight) != null ? u : 0.4,
27160
- width: (m = a == null ? void 0 : a.unitWidth) != null ? m : 0.6,
27161
- texture: { url: (v = a == null ? void 0 : a.arrowTextureUrl) != null ? v : this.staticPrefix + "/release/web/arrow6.b6ce0c62.png" }
27158
+ visible: !!(!r.lines && r.routes),
27159
+ unit_length: (m = a == null ? void 0 : a.unitHeight) != null ? m : 0.4,
27160
+ width: (v = a == null ? void 0 : a.unitWidth) != null ? v : 0.6,
27161
+ texture: { url: (g = a == null ? void 0 : a.arrowTextureUrl) != null ? g : this.staticPrefix + "/release/web/arrow6.b6ce0c62.png" }
27162
27162
  }
27163
- }, c = (A = (g = r.routes) == null ? void 0 : g.map((P) => {
27164
- var k;
27165
- return Xe({}, l, { id: (k = P.id) != null ? k : Date.now(), pano_group: P.panoIndexList });
27166
- })) != null ? A : [], d = (y = (b = r.lines) == null ? void 0 : b.map((P) => Xe({}, l, P))) != null ? y : [], h = [...c, ...d];
27167
- yield this.waitFiveLoaded(), this.clear(), h.forEach((P) => {
27168
- this.addGuideLineItem(P);
27163
+ }, d = (b = (A = r.routes) == null ? void 0 : A.map((k) => {
27164
+ var S;
27165
+ return Xe({}, c, { id: (S = k.id) != null ? S : Date.now(), pano_group: k.panoIndexList });
27166
+ })) != null ? b : [], h = (I = (y = r.lines) == null ? void 0 : y.map((k) => Xe({}, c, k))) != null ? I : [], u = [...d, ...h];
27167
+ yield this.waitFiveLoaded(), this.clear(), u.forEach((k) => {
27168
+ this.addGuideLineItem(k);
27169
27169
  }), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), n && this.setState(n, { userAction: o }), this.hooks.emit("dataLoaded", r), console.debug(`${Ed} loaded`, r);
27170
27170
  });
27171
27171
  }
@@ -28566,9 +28566,9 @@ class GP extends lo {
28566
28566
  case "nwse":
28567
28567
  A(), b();
28568
28568
  }
28569
- const y = new $().subVectors(r[1], r[0]).length() / h.length(), P = new $().subVectors(r[3], r[0]).length() / u.length(), k = new $(y, P, 1), S = new E.Matrix4().scale(k);
28569
+ const y = new $().subVectors(r[1], r[0]).length() / h.length(), I = new $().subVectors(r[3], r[0]).length() / u.length(), k = new $(y, I, 1), S = new E.Matrix4().scale(k);
28570
28570
  n.isCSS3DObjectPlus ? n.applyScaleMatrix4(S) : n.scale.applyMatrix4(S), o.position.copy(a);
28571
- const I = new $().addVectors(r[0], r[2]).divideScalar(2), z = new $().subVectors(I, l), M = new E.Matrix4().setPosition(z);
28571
+ const P = new $().addVectors(r[0], r[2]).divideScalar(2), z = new $().subVectors(P, l), M = new E.Matrix4().setPosition(z);
28572
28572
  n.applyMatrix4(M), (F = this.helperObject3D.css3DInstance) == null || F.css3DObject.applyMatrix4(M), (q = this.helperObject3D.plane) == null || q.applyMatrix4(M), this.hooks.emit("applyObjectScale", { matrix: S }), this.hooks.emit("applyObjectPosition", { matrix: M }), this.render();
28573
28573
  }
28574
28574
  dragEnd() {
@@ -28717,8 +28717,8 @@ class JP extends ao {
28717
28717
  const y = e;
28718
28718
  if (!y || y.mode !== "front")
28719
28719
  return;
28720
- const P = (A = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? A : Rd(this.five);
28721
- P && (this.css3DObjectParentMap.set(y, y.parent), y.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(P), (b = this.css3DRender.getBehindCSS3DObjectGroup()) == null || b.add(y), this.css3DRender.render(this.five.camera));
28720
+ const I = (A = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? A : Rd(this.five);
28721
+ I && (this.css3DObjectParentMap.set(y, y.parent), y.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(I), (b = this.css3DRender.getBehindCSS3DObjectGroup()) == null || b.add(y), this.css3DRender.render(this.five.camera));
28722
28722
  }
28723
28723
  });
28724
28724
  } else {