@realsee/dnalogel 2.4.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (440) hide show
  1. package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  2. package/dist/PanoTagPlugin/Assets/Icon.d.ts +3 -2
  3. package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
  4. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +19 -22
  5. package/dist/PanoTagPlugin/controller/index.d.ts +25 -14
  6. package/dist/PanoTagPlugin/index.d.ts +1 -1
  7. package/dist/PanoTagPlugin/typings/controller.d.ts +23 -17
  8. package/dist/PanoTagPlugin/typings/index.d.ts +5 -1
  9. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
  10. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
  11. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
  12. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +53 -0
  13. package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +1 -0
  14. package/dist/PanoTagPlugin/utils/audio/SharedAudio.d.ts +16 -0
  15. package/dist/PanoTagPlugin/utils/color.d.ts +7 -0
  16. package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
  17. package/dist/PanoTagPlugin/utils/px2rem.d.ts +1 -0
  18. package/dist/PanoTagPlugin/utils/tag/format.d.ts +2 -0
  19. package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
  20. package/dist/PanoTagPlugin/utils/timeToString.d.ts +1 -0
  21. package/dist/index.cjs.js +52 -54
  22. package/dist/index.js +7771 -6537
  23. package/dist/index.umd.js +44 -46
  24. package/dist/shared-utils/audio.d.ts +31 -0
  25. package/docs/assets/search.js +1 -1
  26. package/docs/classes/CSS3DRender.html +31 -31
  27. package/docs/classes/CruisePluginController.html +24 -24
  28. package/docs/classes/Magnifier.html +20 -20
  29. package/docs/classes/ModelRoomLabelController.html +11 -11
  30. package/docs/classes/Object3DHelperController.html +24 -24
  31. package/docs/classes/PaintBrush.html +15 -15
  32. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  33. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  34. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  35. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  36. package/docs/classes/PanoTagPluginController.html +223 -176
  37. package/docs/classes/Util.BetterTween.html +8 -8
  38. package/docs/classes/Util.FivePointSelector.html +12 -12
  39. package/docs/classes/Util.Interval.html +12 -12
  40. package/docs/classes/Util.Magnifier.html +17 -17
  41. package/docs/classes/Util.PointDomHelper.html +11 -11
  42. package/docs/classes/Util.PointHelper.html +11 -11
  43. package/docs/classes/Util.Rectangle.html +13 -13
  44. package/docs/enums/CameraMovementEffect.html +7 -7
  45. package/docs/enums/ContentType.html +75 -35
  46. package/docs/enums/DIRECTION.html +9 -9
  47. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  48. package/docs/enums/DimensionType.html +19 -15
  49. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  50. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  51. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  52. package/docs/enums/PointType.html +19 -15
  53. package/docs/enums/Rotation.html +8 -8
  54. package/docs/functions/CSS3DRenderPlugin.html +39 -13
  55. package/docs/functions/CameraMovementPlugin.html +39 -13
  56. package/docs/functions/CruisePlugin.html +39 -13
  57. package/docs/functions/GuideLinePlugin.html +40 -14
  58. package/docs/functions/ItemLabelPlugin.html +39 -13
  59. package/docs/functions/MapviewFloorplanPlugin.html +39 -13
  60. package/docs/functions/ModelChassisCompassPlugin.html +39 -13
  61. package/docs/functions/ModelEntryDoorGuidePlugin.html +39 -13
  62. package/docs/functions/ModelFloorplanPlugin.html +39 -13
  63. package/docs/functions/ModelItemLabelPlugin.html +39 -13
  64. package/docs/functions/ModelRoomLabelPlugin.html +39 -13
  65. package/docs/functions/ModelTVVideoPlugin.html +39 -13
  66. package/docs/functions/ModelViewPlugin.html +39 -13
  67. package/docs/functions/Object3DHelperPlugin.html +39 -13
  68. package/docs/functions/PanoCompassPlugin.html +39 -13
  69. package/docs/functions/PanoCursorRaycasterPlugin.html +39 -13
  70. package/docs/functions/PanoDoorLabelPlugin.html +39 -13
  71. package/docs/functions/PanoFloorplanRadarPlugin.html +39 -13
  72. package/docs/functions/PanoMeasurePlugin.html +39 -13
  73. package/docs/functions/PanoRulerPlugin.html +39 -13
  74. package/docs/functions/PanoRulerProPlugin.html +39 -13
  75. package/docs/functions/PanoSpatialTagPlugin.html +39 -13
  76. package/docs/functions/PanoTagPlugin.html +45 -23
  77. package/docs/functions/TopviewFloorplanPlugin.html +39 -13
  78. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  79. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  80. package/docs/functions/Util.getFrameTime.html +5 -5
  81. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  82. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  83. package/docs/functions/Util.isNil.html +5 -5
  84. package/docs/functions/Util.nextFrame.html +5 -5
  85. package/docs/functions/Util.notNil.html +5 -5
  86. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  87. package/docs/functions/Util.tweenProgress.html +5 -5
  88. package/docs/functions/pluginFlag.html +40 -14
  89. package/docs/index.html +39 -13
  90. package/docs/interfaces/AddTagConfig.html +64 -0
  91. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  92. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  93. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  94. package/docs/interfaces/EventMap.html +298 -0
  95. package/docs/interfaces/FloorplanBounding.html +8 -8
  96. package/docs/interfaces/FloorplanData.html +10 -10
  97. package/docs/interfaces/FloorplanEntrance.html +11 -11
  98. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  99. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  100. package/docs/interfaces/FloorplanFloorData.html +9 -9
  101. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  102. package/docs/interfaces/FloorplanObserver.html +9 -9
  103. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  104. package/docs/interfaces/FloorplanPosition.html +7 -7
  105. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  106. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  107. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  108. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  109. package/docs/interfaces/FloorplanServerData.html +7 -7
  110. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  111. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  112. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  113. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  114. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  115. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  116. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  117. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  118. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  119. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  120. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  121. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  122. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  123. package/docs/interfaces/MinMax.html +71 -0
  124. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  125. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  126. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  127. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  128. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  129. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  130. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  131. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  132. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  133. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  134. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  135. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  136. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  137. package/docs/interfaces/Object3DHelperState.html +8 -8
  138. package/docs/interfaces/PaintBrushAction.html +12 -12
  139. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  140. package/docs/interfaces/PaintBrushState.html +10 -10
  141. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  142. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +40 -14
  143. package/docs/interfaces/PanoMeasureParameterType.html +12 -12
  144. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  145. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  146. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  147. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  148. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  149. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  150. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  151. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  152. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  153. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  154. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  155. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +40 -14
  156. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +40 -14
  157. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  158. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  159. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  160. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  161. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  162. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  163. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  164. package/docs/interfaces/Point.html +8 -8
  165. package/docs/interfaces/Room.html +9 -9
  166. package/docs/interfaces/RoomInfo.html +7 -7
  167. package/docs/interfaces/RoomLabel.html +14 -14
  168. package/docs/interfaces/RoomRules.html +40 -14
  169. package/docs/interfaces/Rooms.html +40 -14
  170. package/docs/interfaces/Scissor.html +9 -9
  171. package/docs/interfaces/State.html +89 -0
  172. package/docs/interfaces/TagCache.html +92 -0
  173. package/docs/interfaces/TagConfig.html +15 -19
  174. package/docs/interfaces/TagIconUrl.html +91 -0
  175. package/docs/interfaces/Tags.html +14 -12
  176. package/docs/interfaces/TemporaryState.html +64 -0
  177. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  178. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  179. package/docs/modules/Util.html +5 -5
  180. package/docs/modules.html +73 -21
  181. package/docs/types/ArrayPosition.html +41 -15
  182. package/docs/types/AudioAppearance.html +256 -0
  183. package/docs/types/AudioTagTypeConfigKey.html +256 -0
  184. package/docs/types/CSS3DRenderExportType.html +40 -14
  185. package/docs/types/CSS3DRenderPluginExportType.html +40 -14
  186. package/docs/types/CSS3DRenderPluginParameterType.html +40 -14
  187. package/docs/types/Color.html +40 -14
  188. package/docs/types/ContentTypeConfigKey.html +41 -15
  189. package/docs/types/ContentTypeConfigKeySplit.html +256 -0
  190. package/docs/types/ContentTypeMap.html +256 -0
  191. package/docs/types/Create3DDomContainerReturnType.html +40 -14
  192. package/docs/types/Create3DElementReturnType.html +40 -14
  193. package/docs/types/CruisePluginExportType.html +40 -14
  194. package/docs/types/Direction-1.html +40 -14
  195. package/docs/types/Direction4.html +40 -14
  196. package/docs/types/FloorplanRuleLabels.html +40 -14
  197. package/docs/types/FloorplanServerRuleLabels.html +40 -14
  198. package/docs/types/GuideLinePluginExportType.html +40 -14
  199. package/docs/types/HelperEventMap.html +40 -14
  200. package/docs/types/LoadTagConfig.html +256 -0
  201. package/docs/types/MapviewFloorplanPluginParameterType.html +40 -14
  202. package/docs/types/MapviewFloorplanPluginReturnType.html +40 -14
  203. package/docs/types/MediaData.html +40 -14
  204. package/docs/types/MediaStore.html +256 -0
  205. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +40 -14
  206. package/docs/types/ModelFloorplanPluginParameterType.html +40 -14
  207. package/docs/types/ModelFloorplanPluginReturnType.html +40 -14
  208. package/docs/types/ModelRoomLabelPluginParameters.html +40 -14
  209. package/docs/types/ModelRoomLabelPluginReturnType.html +40 -14
  210. package/docs/types/MoveArgs.html +40 -14
  211. package/docs/types/MoveOpts.html +40 -14
  212. package/docs/types/Object3DHelperEventMap.html +40 -14
  213. package/docs/types/ObjectFit.html +40 -14
  214. package/docs/types/PaintBrushEventMap.html +40 -14
  215. package/docs/types/PanoCompassPluginData.html +40 -14
  216. package/docs/types/PanoCompassPluginExportType.html +40 -14
  217. package/docs/types/PanoCompassPluginParameterType.html +40 -14
  218. package/docs/types/PanoFloorplanRadarPluginParameterType.html +40 -14
  219. package/docs/types/PanoFloorplanRadarPluginReturnType.html +40 -14
  220. package/docs/types/PanoIndex.html +256 -0
  221. package/docs/types/PanoMeasurePluginEvent.html +40 -14
  222. package/docs/types/PanoMeasureReturnType.html +40 -14
  223. package/docs/types/PanoSpatialTagPluginId.html +40 -14
  224. package/docs/types/PanoTagPluginExportInterface.html +40 -14
  225. package/docs/types/PanoTagPluginParamsInterface.html +40 -14
  226. package/docs/types/PlaneTag.html +43 -19
  227. package/docs/types/PlaneTagElement.html +261 -0
  228. package/docs/types/Point2DElement.html +261 -0
  229. package/docs/types/Point2DTag.html +263 -0
  230. package/docs/types/Point3DElement.html +261 -0
  231. package/docs/types/Point3DTag.html +263 -0
  232. package/docs/types/PointTag.html +43 -23
  233. package/docs/types/PointTagElement.html +261 -0
  234. package/docs/types/Position.html +40 -14
  235. package/docs/types/RotateArgs.html +40 -14
  236. package/docs/types/RotateOpts.html +40 -14
  237. package/docs/types/RuleLabelsKey.html +40 -14
  238. package/docs/types/RuleLabelsValue.html +40 -14
  239. package/docs/types/StickType.html +256 -0
  240. package/docs/types/Tag.html +44 -22
  241. package/docs/types/Tag2D.html +45 -20
  242. package/docs/types/Tag3D.html +45 -20
  243. package/docs/types/TagContentType.html +256 -0
  244. package/docs/types/TagDimensionType.html +256 -0
  245. package/docs/types/TagElement.html +263 -0
  246. package/docs/types/TagEvents.html +291 -0
  247. package/docs/types/TagHooks.html +256 -0
  248. package/docs/types/TagIconSize.html +259 -0
  249. package/docs/types/TagId.html +40 -14
  250. package/docs/types/TagPointType.html +259 -0
  251. package/docs/types/TopviewFloorplanPluginParameterType.html +40 -14
  252. package/docs/types/TopviewFloorplanPluginReturnType.html +40 -14
  253. package/docs/types/{ContentTypeConfigKeyArray.html → WorkCode.html} +43 -17
  254. package/docs/variables/FLOOR_TYPE_MAP.html +40 -14
  255. package/docs/variables/PLUGIN.html +40 -14
  256. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +40 -14
  257. package/docs/variables/ROOM_TYPE_MAP.html +40 -14
  258. package/docs/variables/VERSION.html +40 -14
  259. package/docs/variables/itemLabelPluginServerParams.html +40 -14
  260. package/docs/variables/modelItemLabelPluginServerParams.html +40 -14
  261. package/docs/variables/modelRoomLabelPluginServerParams.html +40 -14
  262. package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -1
  263. package/libs/CSS3DRenderPlugin/Controller.js +2 -2
  264. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +1 -1
  265. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +1 -1
  266. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +4 -4
  267. package/libs/CSS3DRenderPlugin/utils/index.js +12 -0
  268. package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  269. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +4 -3
  270. package/libs/CSS3DRenderPlugin/utils/random.js +6 -1
  271. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +3 -2
  272. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +2 -1
  273. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +6 -4
  274. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +1 -1
  275. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +6 -6
  276. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +13 -13
  277. package/libs/CruisePlugin/Controller.js +2 -2
  278. package/libs/CruisePlugin/utils/coordinatesAngle.js +3 -2
  279. package/libs/CruisePlugin/utils/linerValue.js +4 -4
  280. package/libs/GuideLinePlugin/Controller.js +1 -1
  281. package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
  282. package/libs/GuideLinePlugin/utils/getPoint.d.ts +3 -0
  283. package/libs/GuideLinePlugin/utils/getPoint.js +18 -0
  284. package/libs/Object3DHelperPlugin/Controller.js +38 -36
  285. package/libs/PanoMeasurePlugin/Controller/BaseController.js +18 -9
  286. package/libs/PanoMeasurePlugin/Controller/EditController.js +16 -5
  287. package/libs/PanoMeasurePlugin/Controller/MixedController.js +38 -19
  288. package/libs/PanoMeasurePlugin/Controller/ViewController.js +13 -5
  289. package/libs/PanoMeasurePlugin/Controller/WatchController.js +31 -20
  290. package/libs/PanoMeasurePlugin/Controller/index.js +54 -18
  291. package/libs/PanoMeasurePlugin/Model/index.js +41 -34
  292. package/libs/PanoMeasurePlugin/Model/line.js +9 -6
  293. package/libs/PanoMeasurePlugin/Model/point.js +3 -3
  294. package/libs/PanoMeasurePlugin/Model/polyline.js +19 -12
  295. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
  296. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
  297. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
  298. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
  299. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
  300. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +24 -24
  301. package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
  302. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -1
  303. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -15
  304. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
  305. package/libs/PanoMeasurePlugin/Modules/UIController/style.js +24 -16
  306. package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +4 -3
  307. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +8 -5
  308. package/libs/PanoMeasurePlugin/index.js +16 -16
  309. package/libs/PanoMeasurePlugin/typings/data.js +1 -0
  310. package/libs/PanoMeasurePlugin/typings/event.type.js +4 -0
  311. package/libs/PanoMeasurePlugin/typings/index.js +1 -0
  312. package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +1 -0
  313. package/libs/PanoMeasurePlugin/typings/utils.type.js +1 -0
  314. package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
  315. package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -0
  316. package/libs/PanoMeasurePlugin/utils/clearGroup.js +6 -0
  317. package/libs/PanoMeasurePlugin/utils/constants.js +15 -16
  318. package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
  319. package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +7 -6
  320. package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
  321. package/libs/PanoMeasurePlugin/utils/line.js +1 -0
  322. package/libs/PanoMeasurePlugin/utils/math.js +2 -1
  323. package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
  324. package/libs/PanoSpatialTagPlugin/Components/origins.js +3 -2
  325. package/libs/PanoSpatialTagPlugin/Components/tag.js +3 -2
  326. package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
  327. package/libs/PanoTagPlugin/Assets/Icon.d.ts +3 -2
  328. package/libs/PanoTagPlugin/Assets/Icon.js +4 -3
  329. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  330. package/libs/PanoTagPlugin/Components/Common/Audio.js +103 -140
  331. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +198 -0
  332. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +108 -0
  333. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +30 -30
  334. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +95 -59
  335. package/libs/PanoTagPlugin/Components/Common/Media.js +275 -249
  336. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +143 -79
  337. package/libs/PanoTagPlugin/Components/Common/Shadow.js +11 -10
  338. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +81 -0
  339. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +145 -0
  340. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +195 -0
  341. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +166 -0
  342. package/libs/PanoTagPlugin/Components/Common/TextItem.js +106 -0
  343. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +172 -0
  344. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +223 -0
  345. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +123 -0
  346. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  347. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +126 -131
  348. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +75 -97
  349. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +166 -143
  350. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +75 -45
  351. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +130 -0
  352. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +134 -0
  353. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +115 -0
  354. package/libs/PanoTagPlugin/Components/Tag/index.js +264 -157
  355. package/libs/PanoTagPlugin/Components/TagContainer.js +164 -109
  356. package/libs/PanoTagPlugin/Components/TagItem.js +253 -0
  357. package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
  358. package/libs/PanoTagPlugin/controller/TagCacheController.js +3 -2
  359. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +19 -22
  360. package/libs/PanoTagPlugin/controller/TagComputer.js +186 -151
  361. package/libs/PanoTagPlugin/controller/index.d.ts +25 -14
  362. package/libs/PanoTagPlugin/controller/index.js +265 -170
  363. package/libs/PanoTagPlugin/index.d.ts +1 -1
  364. package/libs/PanoTagPlugin/index.js +51 -35
  365. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
  366. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
  367. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
  368. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
  369. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
  370. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
  371. package/libs/PanoTagPlugin/mocks/v1/mock1.js +122 -0
  372. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
  373. package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
  374. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
  375. package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
  376. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
  377. package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
  378. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
  379. package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
  380. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
  381. package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
  382. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
  383. package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
  384. package/libs/PanoTagPlugin/tag.config.js +31 -16
  385. package/libs/PanoTagPlugin/typings/controller.d.ts +23 -17
  386. package/libs/PanoTagPlugin/typings/index.d.ts +5 -1
  387. package/libs/PanoTagPlugin/typings/index.js +7 -1
  388. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
  389. package/libs/PanoTagPlugin/typings/tag/Tag.js +4 -0
  390. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
  391. package/libs/PanoTagPlugin/typings/tag/TagConfig.js +1 -0
  392. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
  393. package/libs/PanoTagPlugin/typings/tag/TagData.js +4 -0
  394. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +53 -0
  395. package/libs/PanoTagPlugin/typings/tag/Utils.js +5 -0
  396. package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +1 -0
  397. package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +7 -1
  398. package/libs/PanoTagPlugin/utils/audio/SharedAudio.d.ts +16 -0
  399. package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +107 -0
  400. package/libs/PanoTagPlugin/utils/color.d.ts +7 -0
  401. package/libs/PanoTagPlugin/utils/color.js +17 -0
  402. package/libs/PanoTagPlugin/utils/constants.js +2 -1
  403. package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
  404. package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
  405. package/libs/PanoTagPlugin/utils/getImageInfo.js +51 -0
  406. package/libs/PanoTagPlugin/utils/index.js +36 -0
  407. package/libs/PanoTagPlugin/utils/px2rem.d.ts +1 -0
  408. package/libs/PanoTagPlugin/utils/px2rem.js +6 -0
  409. package/libs/PanoTagPlugin/utils/search.js +27 -9
  410. package/libs/PanoTagPlugin/utils/tag/format.d.ts +2 -0
  411. package/libs/PanoTagPlugin/utils/tag/format.js +18 -0
  412. package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
  413. package/libs/PanoTagPlugin/utils/tag/tagCheck.js +26 -0
  414. package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
  415. package/libs/PanoTagPlugin/utils/timeToString.d.ts +1 -0
  416. package/libs/PanoTagPlugin/utils/timeToString.js +7 -0
  417. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  418. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +10 -6
  419. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
  420. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +83 -74
  421. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  422. package/libs/index.js +126 -114
  423. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +29 -39
  424. package/libs/shared-utils/audio.d.ts +31 -0
  425. package/libs/shared-utils/audio.js +81 -0
  426. package/libs/vendor/svelte/internal/index.js +382 -338
  427. package/package.json +3 -3
  428. package/dist/PanoTagPlugin/typings/tag.d.ts +0 -247
  429. package/docs/enums/LinkType.html +0 -67
  430. package/docs/interfaces/ContentTypeMap.html +0 -212
  431. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +0 -170
  432. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +0 -50
  433. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +0 -50
  434. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +0 -166
  435. package/libs/PanoTagPlugin/Components/Common/Text.js +0 -130
  436. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +0 -131
  437. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +0 -122
  438. package/libs/PanoTagPlugin/Components/TagWrapper.js +0 -152
  439. package/libs/PanoTagPlugin/typings/tag.d.ts +0 -247
  440. package/libs/PanoTagPlugin/typings/tag.js +0 -7
@@ -1,139 +1,203 @@
1
- import { SvelteComponent as C, init as N, safe_not_equal as F, append_styles as U, empty as L, insert as _, noop as y, detach as w, element as m, attr as a, binding_callbacks as q, space as E, src_url_equal as b, toggle_class as d, set_style as z, append as k, listen as P, run_all as S } from "../../../vendor/svelte/internal/index.js";
2
- import { Image_Play_Large as j, Image_Play_Small as B } from "../../Assets/Icon.js";
1
+ import { SvelteComponent as V, init as z, safe_not_equal as F, append_styles as O, empty as W, insert as k, noop as w, detach as g, getContext as I, element as _, attr as a, binding_callbacks as H, space as T, set_style as P, toggle_class as m, append as B, listen as S, src_url_equal as y } from "../../../vendor/svelte/internal/index.js";
2
+ import { Image_Play_Icon_With_Text as A, Image_Play_Icon as J } from "../../Assets/Icon.js";
3
3
  function M(o) {
4
- U(o, "svelte-cwtvzu", ".media-item.svelte-cwtvzu.svelte-cwtvzu{height:100%}.media-content.svelte-cwtvzu.svelte-cwtvzu{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-cwtvzu.svelte-cwtvzu{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-cwtvzu.svelte-cwtvzu{display:none;pointer-events:auto;position:absolute;width:100%;height:100%;top:0;left:0}.video-play-button-container.showPlayButton.svelte-cwtvzu.svelte-cwtvzu{display:block}.video-icon.large.svelte-cwtvzu.svelte-cwtvzu{width:12.5rem;height:6.25rem}.video-icon.small.svelte-cwtvzu.svelte-cwtvzu{width:1.75rem;height:1.75rem}.video-icon.svelte-cwtvzu .video-icon-img.svelte-cwtvzu{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-cwtvzu .video-icon-img.canPlay.svelte-cwtvzu{cursor:pointer}");
4
+ O(o, "svelte-q6hk4f", ".media-item.svelte-q6hk4f.svelte-q6hk4f{height:100%}.media-content.svelte-q6hk4f.svelte-q6hk4f{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-q6hk4f.svelte-q6hk4f{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-q6hk4f.svelte-q6hk4f{display:none;pointer-events:auto;position:absolute;width:100%;height:100%;top:0;left:0;transform:translate3d(0, 0, 0)}.video-play-button-container.showPlayButton.svelte-q6hk4f.svelte-q6hk4f{display:block}.video-icon.large.svelte-q6hk4f.svelte-q6hk4f{width:12.5rem;height:6.25rem}.video-icon.small.svelte-q6hk4f.svelte-q6hk4f{width:1.75rem;height:1.75rem}.video-icon.svelte-q6hk4f .video-icon-img.svelte-q6hk4f{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-q6hk4f .video-icon-img.canPlay.svelte-q6hk4f{cursor:pointer}");
5
5
  }
6
- function I(o) {
6
+ function C(o) {
7
7
  let e;
8
- function t(s, c) {
9
- if (s[0].type === "Image")
10
- return A;
11
- if (s[0].type === "Video")
12
- return V;
8
+ function i(n, r) {
9
+ if (n[1].type === "Image")
10
+ return X;
11
+ if (n[1].type === "Video")
12
+ return R;
13
13
  }
14
- let n = t(o), i = n && n(o);
14
+ let l = i(o), t = l && l(o);
15
15
  return {
16
16
  c() {
17
- e = m("div"), i && i.c(), a(e, "class", "media-item svelte-cwtvzu");
17
+ e = _("div"), t && t.c(), a(e, "class", "media-item svelte-q6hk4f");
18
18
  },
19
- m(s, c) {
20
- _(s, e, c), i && i.m(e, null);
19
+ m(n, r) {
20
+ k(n, e, r), t && t.m(e, null);
21
21
  },
22
- p(s, c) {
23
- n === (n = t(s)) && i ? i.p(s, c) : (i && i.d(1), i = n && n(s), i && (i.c(), i.m(e, null)));
22
+ p(n, r) {
23
+ l === (l = i(n)) && t ? t.p(n, r) : (t && t.d(1), t = l && l(n), t && (t.c(), t.m(e, null)));
24
24
  },
25
- d(s) {
26
- s && w(e), i && i.d();
25
+ d(n) {
26
+ n && g(e), t && t.d();
27
27
  }
28
28
  };
29
29
  }
30
- function V(o) {
31
- let e, t, n, i, s, c, u, v, f, p, g;
30
+ function R(o) {
31
+ let e, i, l, t, n, r;
32
+ function v(u, s) {
33
+ return u[6] && u[1].videoCoverUrl ? G : D;
34
+ }
35
+ let c = v(o), d = c(o);
32
36
  return {
33
37
  c() {
34
- var l;
35
- e = m("video"), c = E(), u = m("div"), v = m("div"), f = m("div"), a(e, "class", "media-content svelte-cwtvzu"), a(e, "style", t = `object-fit: ${o[3]};`), b(e.src, n = o[0].url + "#t=0.1") || a(e, "src", n), a(e, "poster", i = (l = o[0].videoCoverUrl) != null ? l : void 0), a(e, "preload", s = o[0].videoCoverUrl ? void 0 : "auto"), e.playsInline = !0, a(e, "paused", ""), e.loop = !1, a(e, "crossorigin", ""), e.controls = !1, d(e, "showPlayButton", o[5]), a(f, "class", "video-icon-img svelte-cwtvzu"), z(f, "background-image", "url(" + (o[1] === "large" ? j : B) + ")"), d(f, "canPlay", o[2]), a(v, "class", "video-icon svelte-cwtvzu"), d(v, "large", o[1] === "large"), d(v, "small", o[1] === "small"), a(u, "class", "video-play-button-container svelte-cwtvzu"), d(u, "showPlayButton", o[5]);
38
+ d.c(), e = T(), i = _("div"), l = _("div"), t = _("div"), a(t, "class", "video-icon-img svelte-q6hk4f"), P(t, "background-image", "url(" + o[14]() + ")"), m(t, "canPlay", o[4]), a(l, "class", "video-icon svelte-q6hk4f"), m(l, "large", o[3] === "large"), m(l, "small", o[3] === "small"), a(i, "class", "video-play-button-container svelte-q6hk4f"), m(i, "showPlayButton", o[8]);
36
39
  },
37
- m(l, r) {
38
- _(l, e, r), o[7](e), _(l, c, r), _(l, u, r), k(u, v), k(v, f), p || (g = [
39
- P(e, "click", o[6]),
40
- P(f, "click", o[8])
41
- ], p = !0);
40
+ m(u, s) {
41
+ d.m(u, s), k(u, e, s), k(u, i, s), B(i, l), B(l, t), n || (r = S(t, "click", o[15]), n = !0);
42
42
  },
43
- p(l, r) {
44
- var h;
45
- r & 8 && t !== (t = `object-fit: ${l[3]};`) && a(e, "style", t), r & 1 && !b(e.src, n = l[0].url + "#t=0.1") && a(e, "src", n), r & 1 && i !== (i = (h = l[0].videoCoverUrl) != null ? h : void 0) && a(e, "poster", i), r & 1 && s !== (s = l[0].videoCoverUrl ? void 0 : "auto") && a(e, "preload", s), r & 32 && d(e, "showPlayButton", l[5]), r & 2 && z(f, "background-image", "url(" + (l[1] === "large" ? j : B) + ")"), r & 4 && d(f, "canPlay", l[2]), r & 2 && d(v, "large", l[1] === "large"), r & 2 && d(v, "small", l[1] === "small"), r & 32 && d(u, "showPlayButton", l[5]);
43
+ p(u, s) {
44
+ c === (c = v(u)) && d ? d.p(u, s) : (d.d(1), d = c(u), d && (d.c(), d.m(e.parentNode, e))), s & 4 && P(t, "background-image", "url(" + u[14]() + ")"), s & 16 && m(t, "canPlay", u[4]), s & 8 && m(l, "large", u[3] === "large"), s & 8 && m(l, "small", u[3] === "small"), s & 256 && m(i, "showPlayButton", u[8]);
46
45
  },
47
- d(l) {
48
- l && w(e), o[7](null), l && w(c), l && w(u), p = !1, S(g);
46
+ d(u) {
47
+ d.d(u), u && g(e), u && g(i), n = !1, r();
49
48
  }
50
49
  };
51
50
  }
52
- function A(o) {
53
- let e, t, n, i;
51
+ function X(o) {
52
+ let e, i, l, t;
54
53
  return {
55
54
  c() {
56
- e = m("img"), a(e, "class", "media-content svelte-cwtvzu"), a(e, "style", t = `object-fit: ${o[3]};`), b(e.src, n = o[0].url) || a(e, "src", n), a(e, "alt", i = o[0].name);
55
+ e = _("img"), a(e, "class", "media-content svelte-q6hk4f"), a(e, "style", i = `object-fit: ${o[5]};`), y(e.src, l = o[1].url) || a(e, "src", l), a(e, "alt", t = o[1].name);
57
56
  },
58
- m(s, c) {
59
- _(s, e, c);
57
+ m(n, r) {
58
+ k(n, e, r);
60
59
  },
61
- p(s, c) {
62
- c & 8 && t !== (t = `object-fit: ${s[3]};`) && a(e, "style", t), c & 1 && !b(e.src, n = s[0].url) && a(e, "src", n), c & 1 && i !== (i = s[0].name) && a(e, "alt", i);
60
+ p(n, r) {
61
+ r & 32 && i !== (i = `object-fit: ${n[5]};`) && a(e, "style", i), r & 2 && !y(e.src, l = n[1].url) && a(e, "src", l), r & 2 && t !== (t = n[1].name) && a(e, "alt", t);
63
62
  },
64
- d(s) {
65
- s && w(e);
63
+ d(n) {
64
+ n && g(e);
66
65
  }
67
66
  };
68
67
  }
69
68
  function D(o) {
70
- let e, t = o[0] && I(o);
69
+ let e, i, l, t, n, r, v;
71
70
  return {
72
71
  c() {
73
- t && t.c(), e = L();
72
+ e = _("video"), a(e, "class", "media-content svelte-q6hk4f"), a(e, "style", i = `object-fit: ${o[5]};`), y(e.src, l = o[1].videoCoverUrl ? o[1].url : o[1].url + "#t=0.1") || a(e, "src", l), a(e, "poster", t = o[1].videoCoverUrl), a(e, "preload", n = o[1].videoCoverUrl ? "none" : "auto"), e.playsInline = !0, a(e, "paused", ""), e.muted = !0, e.loop = !1, a(e, "crossorigin", ""), e.controls = !1, m(e, "showPlayButton", o[8]), P(e, "position", "relative");
74
73
  },
75
- m(n, i) {
76
- t && t.m(n, i), _(n, e, i);
74
+ m(c, d) {
75
+ k(c, e, d), o[13](e), r || (v = S(e, "click", o[12]), r = !0);
77
76
  },
78
- p(n, [i]) {
79
- n[0] ? t ? t.p(n, i) : (t = I(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
77
+ p(c, d) {
78
+ d & 32 && i !== (i = `object-fit: ${c[5]};`) && a(e, "style", i), d & 2 && !y(e.src, l = c[1].videoCoverUrl ? c[1].url : c[1].url + "#t=0.1") && a(e, "src", l), d & 2 && t !== (t = c[1].videoCoverUrl) && a(e, "poster", t), d & 2 && n !== (n = c[1].videoCoverUrl ? "none" : "auto") && a(e, "preload", n), d & 256 && m(e, "showPlayButton", c[8]);
79
+ },
80
+ d(c) {
81
+ c && g(e), o[13](null), r = !1, v();
82
+ }
83
+ };
84
+ }
85
+ function G(o) {
86
+ let e, i, l, t;
87
+ return {
88
+ c() {
89
+ e = _("img"), a(e, "class", "media-content svelte-q6hk4f"), a(e, "style", i = `object-fit: ${o[5]};`), y(e.src, l = o[1].videoCoverUrl) || a(e, "src", l), a(e, "alt", t = o[1].name);
90
+ },
91
+ m(n, r) {
92
+ k(n, e, r);
93
+ },
94
+ p(n, r) {
95
+ r & 32 && i !== (i = `object-fit: ${n[5]};`) && a(e, "style", i), r & 2 && !y(e.src, l = n[1].videoCoverUrl) && a(e, "src", l), r & 2 && t !== (t = n[1].name) && a(e, "alt", t);
80
96
  },
81
- i: y,
82
- o: y,
83
97
  d(n) {
84
- t && t.d(n), n && w(e);
98
+ n && g(e);
85
99
  }
86
100
  };
87
101
  }
88
- function G(o, e, t) {
89
- let { media: n } = e, { playButtonIfNeed: i = "small" } = e, { canPlay: s = !0 } = e, { objectFit: c = "cover" } = e, u, v = !1;
90
- const f = () => u == null ? void 0 : u.pause();
91
- function p(l) {
92
- q[l ? "unshift" : "push"](() => {
93
- u = l, t(4, u);
102
+ function K(o) {
103
+ let e, i = o[1] && C(o);
104
+ return {
105
+ c() {
106
+ i && i.c(), e = W();
107
+ },
108
+ m(l, t) {
109
+ i && i.m(l, t), k(l, e, t);
110
+ },
111
+ p(l, [t]) {
112
+ l[1] ? i ? i.p(l, t) : (i = C(l), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
113
+ },
114
+ i: w,
115
+ o: w,
116
+ d(l) {
117
+ i && i.d(l), l && g(e);
118
+ }
119
+ };
120
+ }
121
+ function Q(o, e, i) {
122
+ let { tag: l } = e, { media: t } = e, { playButtonIfNeed: n = "withoutText" } = e, { playButtonSizeIfNeed: r = "small" } = e, { canPlay: v = !0 } = e, { objectFit: c = "cover" } = e, { disableVideoIfHavePoster: d = !1 } = e, u = (t == null ? void 0 : t.type) === "Video" && Boolean(t == null ? void 0 : t.videoCoverUrl), s, b = !1;
123
+ const q = I("mediaStore"), p = I("hooks"), h = () => {
124
+ u || (s == null || s.play(), s == null || s.pause(), i(11, u = !0));
125
+ };
126
+ p.on("loadVideoFirstFrame", h);
127
+ const j = (f) => {
128
+ s && (s.pause(), p.emit("playStateChange", {
129
+ event: f,
130
+ state: "paused",
131
+ tag: l,
132
+ mediaInstance: s
133
+ }));
134
+ };
135
+ function L(f) {
136
+ H[f ? "unshift" : "push"](() => {
137
+ s = f, i(7, s);
94
138
  });
95
139
  }
96
- const g = () => {
97
- !s || u && u.play();
140
+ const N = () => n === "withText" ? A : n === "withoutText" ? J : n, U = (f) => {
141
+ !v || s && (i(7, s.muted = !1, s), s.play(), q.set({ currentMediaElement: s }), p.emit("playStateChange", {
142
+ event: f,
143
+ state: "playing",
144
+ tag: l,
145
+ mediaInstance: s
146
+ }));
98
147
  };
99
- return o.$$set = (l) => {
100
- "media" in l && t(0, n = l.media), "playButtonIfNeed" in l && t(1, i = l.playButtonIfNeed), "canPlay" in l && t(2, s = l.canPlay), "objectFit" in l && t(3, c = l.objectFit);
148
+ return o.$$set = (f) => {
149
+ "tag" in f && i(0, l = f.tag), "media" in f && i(1, t = f.media), "playButtonIfNeed" in f && i(2, n = f.playButtonIfNeed), "playButtonSizeIfNeed" in f && i(3, r = f.playButtonSizeIfNeed), "canPlay" in f && i(4, v = f.canPlay), "objectFit" in f && i(5, c = f.objectFit), "disableVideoIfHavePoster" in f && i(6, d = f.disableVideoIfHavePoster);
101
150
  }, o.$$.update = () => {
102
- o.$$.dirty & 16 && u && (t(5, v = u.paused), u.addEventListener("play", () => {
103
- t(5, v = !1);
104
- }), u.addEventListener("pause", () => {
105
- t(5, v = !0);
106
- }));
151
+ if (o.$$.dirty & 128 && s && (i(8, b = s.paused), s.addEventListener("play", () => {
152
+ i(8, b = !1);
153
+ }), s.addEventListener("pause", () => {
154
+ i(8, b = !0);
155
+ }), q.subscribe(({ currentMediaElement: f }) => {
156
+ f !== s && (s == null || s.pause());
157
+ })), o.$$.dirty & 2178 && (t == null ? void 0 : t.type) === "Video" && !u) {
158
+ const f = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, E = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && f;
159
+ s && E && s.paused && (document.removeEventListener("WeixinJSBridgeReady", h), document.removeEventListener("touchstart", h), document.removeEventListener("click", h), document.addEventListener("WeixinJSBridgeReady", h), document.addEventListener("touchstart", h), document.addEventListener("click", h));
160
+ }
107
161
  }, [
162
+ l,
163
+ t,
108
164
  n,
109
- i,
110
- s,
111
- c,
112
- u,
165
+ r,
113
166
  v,
114
- f,
167
+ c,
168
+ d,
169
+ s,
170
+ b,
171
+ q,
115
172
  p,
116
- g
173
+ u,
174
+ j,
175
+ L,
176
+ N,
177
+ U
117
178
  ];
118
179
  }
119
- class K extends C {
180
+ class $ extends V {
120
181
  constructor(e) {
121
- super(), N(
182
+ super(), z(
122
183
  this,
123
184
  e,
124
- G,
125
- D,
185
+ Q,
186
+ K,
126
187
  F,
127
188
  {
128
- media: 0,
129
- playButtonIfNeed: 1,
130
- canPlay: 2,
131
- objectFit: 3
189
+ tag: 0,
190
+ media: 1,
191
+ playButtonIfNeed: 2,
192
+ playButtonSizeIfNeed: 3,
193
+ canPlay: 4,
194
+ objectFit: 5,
195
+ disableVideoIfHavePoster: 6
132
196
  },
133
197
  M
134
198
  );
135
199
  }
136
200
  }
137
201
  export {
138
- K as MediaItem
202
+ $ as default
139
203
  };
@@ -1,5 +1,6 @@
1
- import { SvelteComponent as X, init as S, safe_not_equal as q, append_styles as N, empty as j, insert as v, transition_in as s, group_outros as A, transition_out as R, check_outros as B, detach as I, element as E, attr as h, set_style as d, add_render_callback as F, create_in_transition as G, create_out_transition as H } from "../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as X, init as S, safe_not_equal as q, append_styles as N, empty as j, insert as v, transition_in as s, transition_out as R, check_outros as A, detach as I, element as B, attr as h, set_style as d, add_render_callback as E, create_in_transition as F, create_out_transition as G, group_outros as H } from "../../../vendor/svelte/internal/index.js";
2
2
  import { fade as g } from "../../../vendor/svelte/transition/index.js";
3
+ import "../../../vendor/svelte/easing/index.js";
3
4
  function J(t) {
4
5
  N(t, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
5
6
  }
@@ -7,7 +8,7 @@ function k(t) {
7
8
  let i, e, l, f, u;
8
9
  return {
9
10
  c() {
10
- i = E("div"), h(i, "class", "shadow svelte-faoauy"), h(i, "style", e = `
11
+ i = B("div"), h(i, "class", "shadow svelte-faoauy"), h(i, "style", e = `
11
12
  left:${o(t[5])};
12
13
  bottom:${o(t[6])};
13
14
  box-shadow: 0 0 ${o(t[10])} ${o(t[11])} rgba(0, 0, 0, ${t[12]});
@@ -30,12 +31,12 @@ function k(t) {
30
31
  `)) && h(i, "style", e), r & 8 && d(i, "width", o(t[3])), r & 16 && d(i, "height", o(t[4])), r & 8192 && d(i, "z-index", t[13]);
31
32
  },
32
33
  i(a) {
33
- u || (a && F(() => {
34
- f && f.end(1), l = G(i, g, { duration: t[0] }), l.start();
34
+ u || (a && E(() => {
35
+ f && f.end(1), l = F(i, g, { duration: t[0] }), l.start();
35
36
  }), u = !0);
36
37
  },
37
38
  o(a) {
38
- l && l.invalidate(), a && (f = H(i, g, { duration: t[1] })), u = !1;
39
+ l && l.invalidate(), a && (f = G(i, g, { duration: t[1] })), u = !1;
39
40
  },
40
41
  d(a) {
41
42
  a && I(i), a && f && f.end();
@@ -52,9 +53,9 @@ function K(t) {
52
53
  e && e.m(l, f), v(l, i, f);
53
54
  },
54
55
  p(l, [f]) {
55
- l[2] ? e ? (e.p(l, f), f & 4 && s(e, 1)) : (e = k(l), e.c(), s(e, 1), e.m(i.parentNode, i)) : e && (A(), R(e, 1, 1, () => {
56
+ l[2] ? e ? (e.p(l, f), f & 4 && s(e, 1)) : (e = k(l), e.c(), s(e, 1), e.m(i.parentNode, i)) : e && (H(), R(e, 1, 1, () => {
56
57
  e = null;
57
- }), B());
58
+ }), A());
58
59
  },
59
60
  i(l) {
60
61
  s(e);
@@ -71,7 +72,7 @@ function o(t) {
71
72
  return typeof t == "number" ? t / 16 + "rem" : t;
72
73
  }
73
74
  function L(t, i, e) {
74
- let { inDelay: l = 1e3 } = i, { outDelay: f = 1e3 } = i, { visible: u = !0 } = i, { width: a = 0 } = i, { height: r = 0 } = i, { left: m = 0 } = i, { bottom: _ = 0 } = i, { center: b = !1 } = i, { horizontalCenter: y = !1 } = i, { verticalCenter: c = !1 } = i, { blurRadius: w } = i, { spreadRadius: z } = i, { opacity: C = 0.15 } = i, { zIndex: D = void 0 } = i;
75
+ let { inDelay: l = 1e3 } = i, { outDelay: f = 1e3 } = i, { visible: u = !0 } = i, { width: a = 0 } = i, { height: r = 0 } = i, { left: m = 0 } = i, { bottom: _ = 0 } = i, { center: b = !1 } = i, { horizontalCenter: y = !1 } = i, { verticalCenter: c = !1 } = i, { blurRadius: w } = i, { spreadRadius: z } = i, { opacity: C = 0.15 } = i, { zIndex: D = -1 } = i;
75
76
  return t.$$set = (n) => {
76
77
  "inDelay" in n && e(0, l = n.inDelay), "outDelay" in n && e(1, f = n.outDelay), "visible" in n && e(2, u = n.visible), "width" in n && e(3, a = n.width), "height" in n && e(4, r = n.height), "left" in n && e(5, m = n.left), "bottom" in n && e(6, _ = n.bottom), "center" in n && e(7, b = n.center), "horizontalCenter" in n && e(8, y = n.horizontalCenter), "verticalCenter" in n && e(9, c = n.verticalCenter), "blurRadius" in n && e(10, w = n.blurRadius), "spreadRadius" in n && e(11, z = n.spreadRadius), "opacity" in n && e(12, C = n.opacity), "zIndex" in n && e(13, D = n.zIndex);
77
78
  }, [
@@ -91,7 +92,7 @@ function L(t, i, e) {
91
92
  D
92
93
  ];
93
94
  }
94
- class P extends X {
95
+ class Q extends X {
95
96
  constructor(i) {
96
97
  super(), S(
97
98
  this,
@@ -120,5 +121,5 @@ class P extends X {
120
121
  }
121
122
  }
122
123
  export {
123
- P as Shadow
124
+ Q as default
124
125
  };
@@ -0,0 +1,81 @@
1
+ import { SvelteComponent as A, init as F, safe_not_equal as M, append_styles as U, element as v, space as k, create_component as I, attr as h, set_style as f, toggle_class as w, insert as T, mount_component as L, append as x, listen as X, transition_in as R, transition_out as j, detach as $, destroy_component as q, getContext as B } from "../../../vendor/svelte/internal/index.js";
2
+ import E from "./Shadow.js";
3
+ import G from "./Icon/Icon.js";
4
+ import { Image_Default_Point as H } from "../../Assets/Icon.js";
5
+ import _ from "../../utils/px2rem.js";
6
+ import "../../../vendor/svelte/transition/index.js";
7
+ import "../../../vendor/svelte/easing/index.js";
8
+ import "../../utils/getImageInfo.js";
9
+ function J(t) {
10
+ U(t, "svelte-yex9rb", '@charset "UTF-8";.tag-point-click-helper.svelte-yex9rb.svelte-yex9rb{position:absolute;pointer-events:auto;cursor:pointer;width:2.5rem;height:2.5rem;left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-yex9rb.svelte-yex9rb{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-yex9rb.svelte-yex9rb,.tag-unfolded-point.svelte-yex9rb.svelte-yex9rb{transition:all 0.5s}.tag-point-wrapper.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-yex9rb .tag-folded-point.svelte-yex9rb{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-yex9rb .tag-folded-point.svelte-yex9rb{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-yex9rb .tag-unfolded-point.svelte-yex9rb{opacity:1;scale:1}');
11
+ }
12
+ function K(t) {
13
+ let s, a, o, p, g, d, c, n, i, l, y, b;
14
+ return p = new E({
15
+ props: {
16
+ center: !0,
17
+ blurRadius: 15,
18
+ spreadRadius: 5,
19
+ opacity: 0.3
20
+ }
21
+ }), i = new G({
22
+ props: {
23
+ icon: t[2],
24
+ width: t[1]
25
+ }
26
+ }), {
27
+ c() {
28
+ s = v("div"), a = k(), o = v("div"), I(p.$$.fragment), g = k(), d = v("div"), c = k(), n = v("div"), I(i.$$.fragment), h(s, "class", "tag-point-click-helper svelte-yex9rb"), h(d, "class", "tag-unfolded-point svelte-yex9rb"), f(d, "transition-delay", (t[3] ? t[5] : 0) + "ms"), h(n, "class", "tag-folded-point svelte-yex9rb"), f(n, "transition-delay", (t[3] ? t[5] : 0) + "ms"), h(o, "class", "tag-point-wrapper svelte-yex9rb"), w(o, "unfolded", t[0]), w(o, "folded", t[3]), f(o, "width", _(t[1])), f(o, "height", _(t[1]));
29
+ },
30
+ m(e, r) {
31
+ T(e, s, r), T(e, a, r), T(e, o, r), L(p, o, null), x(o, g), x(o, d), x(o, c), x(o, n), L(i, n, null), l = !0, y || (b = X(s, "click", t[4]), y = !0);
32
+ },
33
+ p(e, [r]) {
34
+ r & 8 && f(d, "transition-delay", (e[3] ? e[5] : 0) + "ms");
35
+ const u = {};
36
+ r & 4 && (u.icon = e[2]), r & 2 && (u.width = e[1]), i.$set(u), r & 8 && f(n, "transition-delay", (e[3] ? e[5] : 0) + "ms"), (!l || r & 1) && w(o, "unfolded", e[0]), (!l || r & 8) && w(o, "folded", e[3]), r & 2 && f(o, "width", _(e[1])), r & 2 && f(o, "height", _(e[1]));
37
+ },
38
+ i(e) {
39
+ l || (R(p.$$.fragment, e), R(i.$$.fragment, e), l = !0);
40
+ },
41
+ o(e) {
42
+ j(p.$$.fragment, e), j(i.$$.fragment, e), l = !1;
43
+ },
44
+ d(e) {
45
+ e && $(s), e && $(a), e && $(o), q(p), q(i), y = !1, b();
46
+ }
47
+ };
48
+ }
49
+ function N(t, s, a) {
50
+ let o, p, g, d;
51
+ const c = B("hooks");
52
+ let { tag: n } = s, i, l = !1;
53
+ const y = () => {
54
+ i !== void 0 && clearTimeout(i), l = !0, i = setTimeout(
55
+ () => {
56
+ l = !1;
57
+ },
58
+ 800
59
+ );
60
+ }, b = (r) => {
61
+ l || c.emit("click", { event: r, target: "TagPoint", tag: n });
62
+ }, e = (() => n.contentType === "Text" && n.data.appearance === "plane" ? 500 : 800)();
63
+ return t.$$set = (r) => {
64
+ "tag" in r && a(6, n = r.tag);
65
+ }, t.$$.update = () => {
66
+ var r, u, P, S;
67
+ t.$$.dirty & 64 && a(0, o = (r = n.state) == null ? void 0 : r.unfolded), t.$$.dirty & 1 && a(3, p = !o), t.$$.dirty & 64 && a(2, g = (P = (u = n.style) == null ? void 0 : u.point) != null && P.url ? (S = n.style) == null ? void 0 : S.point : { url: H }), t.$$.dirty & 64 && a(1, d = (() => {
68
+ var z, C, D;
69
+ const m = (D = (C = (z = n.style) == null ? void 0 : z.point) == null ? void 0 : C.size) != null ? D : "S";
70
+ return typeof m == "number" ? m : m === "S" ? 18 : m === "M" ? 20 : m === "L" ? 24 : m === "XL" ? 28 : 18;
71
+ })());
72
+ }, y(), [o, d, g, p, b, e, n];
73
+ }
74
+ class oe extends A {
75
+ constructor(s) {
76
+ super(), F(this, s, N, K, M, { tag: 6 }, J);
77
+ }
78
+ }
79
+ export {
80
+ oe as default
81
+ };
@@ -0,0 +1,145 @@
1
+ import { SvelteComponent as T, init as C, safe_not_equal as F, append_styles as Y, space as q, empty as A, insert as p, transition_in as u, transition_out as a, check_outros as h, detach as d, element as z, create_component as H, attr as D, set_style as v, mount_component as U, destroy_component as N, group_outros as y, binding_callbacks as B } from "../../../../vendor/svelte/internal/index.js";
2
+ import M from "./FlyText.js";
3
+ import j from "../Arrow.js";
4
+ import G from "../../../utils/doUtil.js";
5
+ import "animejs";
6
+ import "../../../../shared-utils/uuid.js";
7
+ import "../../../../shared-utils/isNil.js";
8
+ import "three";
9
+ import "../../../utils/search.js";
10
+ import "../../../utils/constants.js";
11
+ import "../../../../vendor/svelte/transition/index.js";
12
+ import "../../../../vendor/svelte/easing/index.js";
13
+ import "../../../Assets/Icon.js";
14
+ import "../Shadow.js";
15
+ function I(o) {
16
+ Y(o, "svelte-1fuzm7v", ".text.svelte-1fuzm7v{pointer-events:auto;box-sizing:border-box;display:inline-block;max-width:7.5rem;transition:transform 400ms ease-in-out;font-size:0.75rem;line-height:1.125rem;white-space:initial;cursor:pointer}.arrow.svelte-1fuzm7v{pointer-events:auto;display:inline-block;vertical-align:top;width:0.875rem;height:0.875rem;margin-left:0.125rem;margin-top:0.125rem}");
17
+ }
18
+ function w(o) {
19
+ let r, t, l;
20
+ return t = new M({
21
+ props: {
22
+ unfolded: o[0],
23
+ content: o[1],
24
+ inDelay: 500,
25
+ outDelay: o[5]
26
+ }
27
+ }), {
28
+ c() {
29
+ r = z("div"), H(t.$$.fragment), D(r, "class", "text svelte-1fuzm7v"), v(r, "transform", o[7]);
30
+ },
31
+ m(e, i) {
32
+ p(e, r, i), U(t, r, null), o[10](r), l = !0;
33
+ },
34
+ p(e, i) {
35
+ const n = {};
36
+ i & 1 && (n.unfolded = e[0]), i & 2 && (n.content = e[1]), i & 32 && (n.outDelay = e[5]), t.$set(n), i & 128 && v(r, "transform", e[7]);
37
+ },
38
+ i(e) {
39
+ l || (u(t.$$.fragment, e), l = !0);
40
+ },
41
+ o(e) {
42
+ a(t.$$.fragment, e), l = !1;
43
+ },
44
+ d(e) {
45
+ e && d(r), N(t), o[10](null);
46
+ }
47
+ };
48
+ }
49
+ function k(o) {
50
+ let r, t, l;
51
+ return t = new j({
52
+ props: {
53
+ direction: o[6],
54
+ visible: o[0],
55
+ inDelay: 600,
56
+ duration: 1e3
57
+ }
58
+ }), {
59
+ c() {
60
+ r = z("div"), H(t.$$.fragment), D(r, "class", "arrow svelte-1fuzm7v");
61
+ },
62
+ m(e, i) {
63
+ p(e, r, i), U(t, r, null), l = !0;
64
+ },
65
+ p(e, i) {
66
+ const n = {};
67
+ i & 64 && (n.direction = e[6]), i & 1 && (n.visible = e[0]), t.$set(n);
68
+ },
69
+ i(e) {
70
+ l || (u(t.$$.fragment, e), l = !0);
71
+ },
72
+ o(e) {
73
+ a(t.$$.fragment, e), l = !1;
74
+ },
75
+ d(e) {
76
+ e && d(r), N(t);
77
+ }
78
+ };
79
+ }
80
+ function J(o) {
81
+ let r, t, l, e = o[1] && w(o), i = o[3] < o[4] && k(o);
82
+ return {
83
+ c() {
84
+ e && e.c(), r = q(), i && i.c(), t = A();
85
+ },
86
+ m(n, f) {
87
+ e && e.m(n, f), p(n, r, f), i && i.m(n, f), p(n, t, f), l = !0;
88
+ },
89
+ p(n, [f]) {
90
+ n[1] ? e ? (e.p(n, f), f & 2 && u(e, 1)) : (e = w(n), e.c(), u(e, 1), e.m(r.parentNode, r)) : e && (y(), a(e, 1, 1, () => {
91
+ e = null;
92
+ }), h()), n[3] < n[4] ? i ? (i.p(n, f), f & 24 && u(i, 1)) : (i = k(n), i.c(), u(i, 1), i.m(t.parentNode, t)) : i && (y(), a(i, 1, 1, () => {
93
+ i = null;
94
+ }), h());
95
+ },
96
+ i(n) {
97
+ l || (u(e), u(i), l = !0);
98
+ },
99
+ o(n) {
100
+ a(e), a(i), l = !1;
101
+ },
102
+ d(n) {
103
+ e && e.d(n), n && d(r), i && i.d(n), n && d(t);
104
+ }
105
+ };
106
+ }
107
+ function K(o, r, t) {
108
+ let l, e, i, { visible: n = !1 } = r, { textUnfolded: f = !1 } = r, { content: _ } = r, m, g = 0, b = 0, c = 0;
109
+ function S(s) {
110
+ B[s ? "unshift" : "push"](() => {
111
+ m = s, t(2, m);
112
+ });
113
+ }
114
+ return o.$$set = (s) => {
115
+ "visible" in s && t(0, n = s.visible), "textUnfolded" in s && t(8, f = s.textUnfolded), "content" in s && t(1, _ = s.content);
116
+ }, o.$$.update = () => {
117
+ if (o.$$.dirty & 7 && m && n && _) {
118
+ const { lineHeight: s } = getComputedStyle(m);
119
+ t(4, c = m.offsetHeight), G(() => m == null ? void 0 : m.offsetHeight, Boolean).then(() => {
120
+ t(4, c = m.offsetHeight);
121
+ }), t(3, b = Number(s.replace("px", "")));
122
+ }
123
+ o.$$.dirty & 280 && t(9, g = f ? b - c : 0), o.$$.dirty & 512 && t(7, l = `translateY(${g}px)`), o.$$.dirty & 256 && t(6, e = f ? "left" : "right"), o.$$.dirty & 256 && t(5, i = f ? 450 : 0);
124
+ }, [
125
+ n,
126
+ _,
127
+ m,
128
+ b,
129
+ c,
130
+ i,
131
+ e,
132
+ l,
133
+ f,
134
+ g,
135
+ S
136
+ ];
137
+ }
138
+ class ie extends T {
139
+ constructor(r) {
140
+ super(), C(this, r, K, J, F, { visible: 0, textUnfolded: 8, content: 1 }, I);
141
+ }
142
+ }
143
+ export {
144
+ ie as default
145
+ };