@realsee/dnalogel 2.4.0 → 2.5.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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/{ContentTypeConfigKeyArray.html → PanoIndex.html} +43 -17
  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/WorkCode.html +256 -0
  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,165 +1,128 @@
1
- var N = Object.defineProperty;
2
- var E = Object.getOwnPropertySymbols;
3
- var O = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
4
- var F = (t, e, i) => e in t ? N(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, p = (t, e) => {
5
- for (var i in e || (e = {}))
6
- O.call(e, i) && F(t, i, e[i]);
7
- if (E)
8
- for (var i of E(e))
9
- P.call(e, i) && F(t, i, e[i]);
10
- return t;
1
+ var S = Object.defineProperty;
2
+ var _ = Object.getOwnPropertySymbols;
3
+ var C = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
4
+ var g = (o, n, t) => n in o ? S(o, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[n] = t, m = (o, n) => {
5
+ for (var t in n || (n = {}))
6
+ C.call(n, t) && g(o, t, n[t]);
7
+ if (_)
8
+ for (var t of _(n))
9
+ A.call(n, t) && g(o, t, n[t]);
10
+ return o;
11
11
  };
12
- import { SvelteComponent as T, init as U, safe_not_equal as j, append_styles as G, empty as H, insert as q, transition_in as v, group_outros as J, transition_out as z, check_outros as K, detach as R, getContext as A, element as b, create_component as Q, space as I, attr as h, src_url_equal as D, toggle_class as M, mount_component as V, append as k, listen as C, stop_propagation as W, add_render_callback as X, create_in_transition as Y, create_out_transition as Z, destroy_component as x, run_all as $, binding_callbacks as ee } from "../../../vendor/svelte/internal/index.js";
13
- import { fade as S } from "../../../vendor/svelte/transition/index.js";
14
- import { cubicInOut as B } from "../../../vendor/svelte/easing/index.js";
15
- import { Shadow as te } from "./Shadow.js";
16
- function ie(t) {
17
- G(t, "svelte-1ku3wt4", `.audio.svelte-1ku3wt4.svelte-1ku3wt4{position:relative;width:100%;height:100%;cursor:pointer}@keyframes svelte-1ku3wt4-playing{25%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='8' transform='translate(-1 -1)' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}50%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM5.533 6.685L4.169 8.049l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}75%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm-.656 4.874l-.906.905A3.35 3.35 0 0 1 7.369 8.1c0 .875-.333 1.67-.88 2.268l.906.906A4.628 4.628 0 0 0 8.65 8.101a4.627 4.627 0 0 0-1.306-3.227zm-1.811 1.81L4.169 8.05l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}}.paused.svelte-1ku3wt4 .audio-icon.svelte-1ku3wt4{animation:none}.audio-icon.svelte-1ku3wt4.svelte-1ku3wt4{width:100%;height:100%;border-radius:50%;background-size:100%;animation:svelte-1ku3wt4-playing 2s steps(1) infinite;background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm1.428 2.79l-.953.952a6.222 6.222 0 0 1 1.775 4.36c0 1.571-.58 3.006-1.538 4.103l-.184.202.793.794a7.344 7.344 0 0 0 2.21-5.26A7.341 7.341 0 0 0 9.428 2.79zM7.344 4.873l-.906.905A3.35 3.35 0 0 1 7.369 8.1c0 .802-.28 1.537-.748 2.115l-.132.153.906.906A4.628 4.628 0 0 0 8.65 8.101a4.627 4.627 0 0 0-1.306-3.227zm-1.811 1.81L4.169 8.05l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}`);
12
+ import { SvelteComponent as E, init as N, safe_not_equal as T, append_styles as v, create_slot as w, element as D, attr as y, insert as P, listen as R, stop_propagation as q, update_slot_base as L, get_all_dirty_from_scope as M, get_slot_changes as j, transition_in as z, transition_out as B, detach as F, createEventDispatcher as G, getContext as b } from "../../../vendor/svelte/internal/index.js";
13
+ import { getAudioDuration as H } from "../../../shared-utils/audio.js";
14
+ import { SharedAudio as J } from "../../utils/audio/SharedAudio.js";
15
+ function K(o) {
16
+ v(o, "svelte-13e7hxv", ".audio.svelte-13e7hxv{pointer-events:auto;cursor:pointer;width:100%;height:100%}");
18
17
  }
19
- function L(t) {
20
- let e, i, a, o, r, u, f, d = !0, c, g, n, m, w;
21
- return i = new te({
22
- props: {
23
- center: !0,
24
- blurRadius: 15,
25
- spreadRadius: 6
26
- }
27
- }), {
28
- c() {
29
- e = b("div"), Q(i.$$.fragment), a = I(), o = b("div"), r = I(), u = b("audio"), h(o, "class", "audio-icon svelte-1ku3wt4"), u.controls = !1, h(u, "playsinline", ""), D(u.src, f = t[3]) || h(u, "src", f), h(e, "class", "audio svelte-1ku3wt4"), M(e, "paused", t[6]);
30
- },
31
- m(s, _) {
32
- q(s, e, _), V(i, e, null), k(e, a), k(e, o), k(e, r), k(e, u), t[9](u), n = !0, m || (w = [
33
- C(u, "play", t[10]),
34
- C(u, "pause", t[10]),
35
- C(e, "click", W(t[7]))
36
- ], m = !0);
37
- },
38
- p(s, _) {
39
- t = s, (!n || _ & 8 && !D(u.src, f = t[3])) && h(u, "src", f), _ & 64 && d !== (d = t[6]) && u[d ? "pause" : "play"](), (!n || _ & 64) && M(e, "paused", t[6]);
40
- },
41
- i(s) {
42
- n || (v(i.$$.fragment, s), s && X(() => {
43
- g && g.end(1), c = Y(e, S, {
44
- duration: t[2],
45
- delay: t[0],
46
- easing: B
47
- }), c.start();
48
- }), n = !0);
49
- },
50
- o(s) {
51
- z(i.$$.fragment, s), c && c.invalidate(), s && (g = Z(e, S, {
52
- duration: t[2],
53
- delay: t[1],
54
- easing: B
55
- })), n = !1;
56
- },
57
- d(s) {
58
- s && R(e), x(i), t[9](null), s && g && g.end(), m = !1, $(w);
59
- }
60
- };
61
- }
62
- function ne(t) {
63
- let e, i, a = t[4] && L(t);
18
+ function O(o) {
19
+ let n, t, f, d;
20
+ const r = o[8].default, s = w(r, o, o[7], null);
64
21
  return {
65
22
  c() {
66
- a && a.c(), e = H();
23
+ n = D("div"), s && s.c(), y(n, "class", "audio svelte-13e7hxv"), y(n, "style", o[0]);
67
24
  },
68
- m(o, r) {
69
- a && a.m(o, r), q(o, e, r), i = !0;
25
+ m(a, u) {
26
+ P(a, n, u), s && s.m(n, null), t = !0, f || (d = R(n, "click", q(o[1])), f = !0);
70
27
  },
71
- p(o, [r]) {
72
- o[4] ? a ? (a.p(o, r), r & 16 && v(a, 1)) : (a = L(o), a.c(), v(a, 1), a.m(e.parentNode, e)) : a && (J(), z(a, 1, 1, () => {
73
- a = null;
74
- }), K());
28
+ p(a, [u]) {
29
+ s && s.p && (!t || u & 128) && L(
30
+ s,
31
+ r,
32
+ a,
33
+ a[7],
34
+ t ? j(r, a[7], u, null) : M(a[7]),
35
+ null
36
+ ), (!t || u & 1) && y(n, "style", a[0]);
75
37
  },
76
- i(o) {
77
- i || (v(a), i = !0);
38
+ i(a) {
39
+ t || (z(s, a), t = !0);
78
40
  },
79
- o(o) {
80
- z(a), i = !1;
41
+ o(a) {
42
+ B(s, a), t = !1;
81
43
  },
82
- d(o) {
83
- a && a.d(o), o && R(e);
44
+ d(a) {
45
+ a && F(n), s && s.d(a), f = !1, d();
84
46
  }
85
47
  };
86
48
  }
87
- function ae(t, e, i) {
88
- let { inDelay: a = 0 } = e, { outDelay: o = 0 } = e, { duration: r = 0 } = e, { url: u } = e, { unfolded: f } = e, { hooksInfo: d = {} } = e;
89
- const c = A("hooks"), g = A("mediaStore");
90
- let n, m = !0;
91
- g.subscribe(({ currentMediaUrl: l }) => {
92
- l !== u && (n == null || n.pause());
93
- });
94
- function w(l) {
95
- g.set({ currentMediaUrl: u }), n && (c.emit("click", p({
96
- event: l,
97
- target: "AudioTagPlayIcon",
98
- audioInstance: n
99
- }, d)), n.paused ? n.play() : n.pause(), i(
49
+ function Q(o, n, t) {
50
+ let { $$slots: f = {}, $$scope: d } = n, { url: r } = n, { enable: s = !0 } = n, { style: a = "" } = n, { hooksInfo: u } = n;
51
+ const l = G(), p = b("hooks"), h = b("mediaStore");
52
+ let e, c = !0;
53
+ function k() {
54
+ t(
100
55
  5,
101
- n.onplay = (y) => c.emit("playStateChange", p({
102
- event: y,
103
- state: "playing",
104
- mediaInstance: n
105
- }, d)),
106
- n
107
- ), i(
56
+ e.onplay = (i) => {
57
+ p.emit("playStateChange", m({
58
+ event: i,
59
+ state: "playing",
60
+ mediaInstance: e
61
+ }, u)), l("play"), t(6, c = !1);
62
+ },
63
+ e
64
+ ), t(
108
65
  5,
109
- n.onpause = (y) => c.emit("playStateChange", p({
110
- event: y,
111
- state: "paused",
112
- mediaInstance: n
113
- }, d)),
114
- n
115
- ));
116
- }
117
- function s(l) {
118
- ee[l ? "unshift" : "push"](() => {
119
- n = l, i(5, n);
120
- });
66
+ e.onpause = (i) => {
67
+ p.emit("playStateChange", m({
68
+ event: i,
69
+ state: "paused",
70
+ mediaInstance: e
71
+ }, u)), l("pause"), t(6, c = !0);
72
+ },
73
+ e
74
+ ), t(
75
+ 5,
76
+ e.onloadedmetadata = (i) => {
77
+ typeof e.duration == "number" && !Number.isNaN(e.duration) && l("duration", e.duration);
78
+ },
79
+ e
80
+ ), t(
81
+ 5,
82
+ e.ontimeupdate = (i) => {
83
+ l("timeupdate", e.currentTime);
84
+ },
85
+ e
86
+ );
121
87
  }
122
- function _() {
123
- m = this.paused, i(6, m);
88
+ h.subscribe(({ currentMediaElement: i }) => {
89
+ i !== e && (c || e == null || e.pause());
90
+ });
91
+ function I(i) {
92
+ !e || (p.emit("click", m({
93
+ event: i,
94
+ target: "AudioTagPlayIcon",
95
+ audioInstance: e
96
+ }, u)), h.set({ currentMediaElement: e }), p.emit("playStateChange", m({
97
+ event: i,
98
+ state: e.paused ? "playing" : "paused",
99
+ mediaInstance: e
100
+ }, u)), e.paused ? e.play() : e.pause());
124
101
  }
125
- return t.$$set = (l) => {
126
- "inDelay" in l && i(0, a = l.inDelay), "outDelay" in l && i(1, o = l.outDelay), "duration" in l && i(2, r = l.duration), "url" in l && i(3, u = l.url), "unfolded" in l && i(4, f = l.unfolded), "hooksInfo" in l && i(8, d = l.hooksInfo);
127
- }, t.$$.update = () => {
128
- t.$$.dirty & 48 && (f || n == null || n.pause());
129
- }, [
130
- a,
131
- o,
132
- r,
133
- u,
134
- f,
135
- n,
136
- m,
137
- w,
138
- d,
139
- s,
140
- _
141
- ];
102
+ return o.$$set = (i) => {
103
+ "url" in i && t(2, r = i.url), "enable" in i && t(3, s = i.enable), "style" in i && t(0, a = i.style), "hooksInfo" in i && t(4, u = i.hooksInfo), "$$scope" in i && t(7, d = i.$$scope);
104
+ }, o.$$.update = () => {
105
+ o.$$.dirty & 4 && (r || l("duration", 0)), o.$$.dirty & 36 && (e == null || e.dispose(), t(5, e = new J(r)), l("audioRef", e), setTimeout(() => l("audioRef", e), 200), H(r).then((i) => l("duration", i)), k()), o.$$.dirty & 40 && (s || e == null || e.pause()), o.$$.dirty & 72 && l(s && !c ? "play" : "pause");
106
+ }, [a, I, r, s, u, e, c, d, f];
142
107
  }
143
- class de extends T {
144
- constructor(e) {
145
- super(), U(
108
+ class Y extends E {
109
+ constructor(n) {
110
+ super(), N(
146
111
  this,
147
- e,
148
- ae,
149
- ne,
150
- j,
112
+ n,
113
+ Q,
114
+ O,
115
+ T,
151
116
  {
152
- inDelay: 0,
153
- outDelay: 1,
154
- duration: 2,
155
- url: 3,
156
- unfolded: 4,
157
- hooksInfo: 8
117
+ url: 2,
118
+ enable: 3,
119
+ style: 0,
120
+ hooksInfo: 4
158
121
  },
159
- ie
122
+ K
160
123
  );
161
124
  }
162
125
  }
163
126
  export {
164
- de as Audio
127
+ Y as default
165
128
  };
@@ -0,0 +1,198 @@
1
+ var w = (n, i, t) => new Promise((e, o) => {
2
+ var l = (f) => {
3
+ try {
4
+ a(t.next(f));
5
+ } catch (m) {
6
+ o(m);
7
+ }
8
+ }, r = (f) => {
9
+ try {
10
+ a(t.throw(f));
11
+ } catch (m) {
12
+ o(m);
13
+ }
14
+ }, a = (f) => f.done ? e(f.value) : Promise.resolve(f.value).then(l, r);
15
+ a((t = t.apply(n, i)).next());
16
+ });
17
+ import { SvelteComponent as N, init as R, safe_not_equal as S, append_styles as W, empty as C, insert as k, transition_in as _, transition_out as h, check_outros as H, detach as b, createEventDispatcher as z, element as p, space as D, attr as c, set_style as s, append as g, group_outros as I, create_component as E, mount_component as X, destroy_component as A, src_url_equal as y, handle_promise as v, update_await_block_branch as B, noop as d } from "../../../../vendor/svelte/internal/index.js";
18
+ import { getKeyframeInfo as F } from "../../../utils/getImageInfo.js";
19
+ import u from "../../../utils/px2rem.js";
20
+ import G from "../Shadow.js";
21
+ import "../../../../vendor/svelte/transition/index.js";
22
+ import "../../../../vendor/svelte/easing/index.js";
23
+ function J(n) {
24
+ W(n, "svelte-mhs8j5", "@keyframes svelte-mhs8j5-sprites-animation{0%{background-position:0 0}100%{background-position:var(--keyframe_offset_x) 0}}.icon-image.svelte-mhs8j5{display:block;width:100%}.icon-keyframe-container.svelte-mhs8j5{overflow:hidden}.icon-keyframe-wrapper.svelte-mhs8j5{transform-origin:0 0}.icon-keyframe.svelte-mhs8j5{background-repeat:no-repeat;animation-direction:normal;animation-iteration-count:infinite;animation-name:svelte-mhs8j5-sprites-animation}");
25
+ }
26
+ function j(n) {
27
+ n[6] = n[14].url, n[7] = n[14].keyframesWidth, n[8] = n[14].keyframesHeight, n[9] = n[14].wrapperWidth, n[10] = n[14].wrapperHeight, n[11] = n[14].steps, n[12] = n[14].duration, n[13] = n[14].offsetX;
28
+ }
29
+ function K(n) {
30
+ let i, t, e, o = n[2] && q();
31
+ function l(f, m) {
32
+ return f[3] ? O : M;
33
+ }
34
+ let r = l(n), a = r(n);
35
+ return {
36
+ c() {
37
+ i = p("div"), o && o.c(), t = D(), a.c(), c(i, "class", "icon"), s(i, "width", typeof n[0] == "number" ? u(n[0]) : n[0]);
38
+ },
39
+ m(f, m) {
40
+ k(f, i, m), o && o.m(i, null), g(i, t), a.m(i, null), e = !0;
41
+ },
42
+ p(f, m) {
43
+ f[2] ? o ? m & 4 && _(o, 1) : (o = q(), o.c(), _(o, 1), o.m(i, t)) : o && (I(), h(o, 1, 1, () => {
44
+ o = null;
45
+ }), H()), r === (r = l(f)) && a ? a.p(f, m) : (a.d(1), a = r(f), a && (a.c(), a.m(i, null))), m & 1 && s(i, "width", typeof f[0] == "number" ? u(f[0]) : f[0]);
46
+ },
47
+ i(f) {
48
+ e || (_(o), e = !0);
49
+ },
50
+ o(f) {
51
+ h(o), e = !1;
52
+ },
53
+ d(f) {
54
+ f && b(i), o && o.d(), a.d();
55
+ }
56
+ };
57
+ }
58
+ function q(n) {
59
+ let i, t;
60
+ return i = new G({
61
+ props: {
62
+ center: !0,
63
+ blurRadius: 24,
64
+ spreadRadius: 16
65
+ }
66
+ }), {
67
+ c() {
68
+ E(i.$$.fragment);
69
+ },
70
+ m(e, o) {
71
+ X(i, e, o), t = !0;
72
+ },
73
+ i(e) {
74
+ t || (_(i.$$.fragment, e), t = !0);
75
+ },
76
+ o(e) {
77
+ h(i.$$.fragment, e), t = !1;
78
+ },
79
+ d(e) {
80
+ A(i, e);
81
+ }
82
+ };
83
+ }
84
+ function M(n) {
85
+ let i, t;
86
+ return {
87
+ c() {
88
+ i = p("img"), c(i, "class", "icon-image svelte-mhs8j5"), y(i.src, t = n[1].url) || c(i, "src", t), c(i, "alt", "icon");
89
+ },
90
+ m(e, o) {
91
+ k(e, i, o);
92
+ },
93
+ p(e, o) {
94
+ o & 2 && !y(i.src, t = e[1].url) && c(i, "src", t);
95
+ },
96
+ d(e) {
97
+ e && b(i);
98
+ }
99
+ };
100
+ }
101
+ function O(n) {
102
+ let i, t, e = {
103
+ ctx: n,
104
+ current: null,
105
+ token: null,
106
+ hasCatch: !1,
107
+ pending: T,
108
+ then: Q,
109
+ catch: P,
110
+ value: 14
111
+ };
112
+ return v(t = n[4](n[1]), e), {
113
+ c() {
114
+ i = C(), e.block.c();
115
+ },
116
+ m(o, l) {
117
+ k(o, i, l), e.block.m(o, e.anchor = l), e.mount = () => i.parentNode, e.anchor = i;
118
+ },
119
+ p(o, l) {
120
+ n = o, e.ctx = n, l & 2 && t !== (t = n[4](n[1])) && v(t, e) || B(e, n, l);
121
+ },
122
+ d(o) {
123
+ o && b(i), e.block.d(o), e.token = null, e = null;
124
+ }
125
+ };
126
+ }
127
+ function P(n) {
128
+ return { c: d, m: d, p: d, d };
129
+ }
130
+ function Q(n) {
131
+ j(n);
132
+ let i, t, e, o = `url(${n[6]})`, l = `steps(${n[11] - 1})`;
133
+ return {
134
+ c() {
135
+ i = p("div"), t = p("div"), e = p("div"), c(e, "class", "icon-keyframe svelte-mhs8j5"), s(e, "width", u(n[7])), s(e, "height", u(n[8])), s(e, "background-image", o), s(e, "animation-duration", n[12]), s(e, "animation-timing-function", l), s(e, "animation-delay", 0), s(e, "background-size", "100% 100%"), s(e, "--keyframe_offset_x", u(n[13])), c(t, "class", "icon-keyframe-wrapper svelte-mhs8j5"), s(t, "transform", typeof n[0] == "number" ? `scale(${n[0] / n[9]})` : void 0), c(i, "class", "icon-keyframe-container svelte-mhs8j5"), s(i, "width", typeof n[0] == "number" ? u(n[0]) : u(n[9])), s(i, "height", typeof n[0] == "number" ? u(n[10] * (n[0] / n[9])) : u(n[10]));
136
+ },
137
+ m(r, a) {
138
+ k(r, i, a), g(i, t), g(t, e);
139
+ },
140
+ p(r, a) {
141
+ j(r), a & 2 && s(e, "width", u(r[7])), a & 2 && s(e, "height", u(r[8])), a & 2 && o !== (o = `url(${r[6]})`) && s(e, "background-image", o), a & 2 && s(e, "animation-duration", r[12]), a & 2 && l !== (l = `steps(${r[11] - 1})`) && s(e, "animation-timing-function", l), a & 2 && s(e, "--keyframe_offset_x", u(r[13])), a & 3 && s(t, "transform", typeof r[0] == "number" ? `scale(${r[0] / r[9]})` : void 0), a & 3 && s(i, "width", typeof r[0] == "number" ? u(r[0]) : u(r[9])), a & 3 && s(i, "height", typeof r[0] == "number" ? u(r[10] * (r[0] / r[9])) : u(r[10]));
142
+ },
143
+ d(r) {
144
+ r && b(i);
145
+ }
146
+ };
147
+ }
148
+ function T(n) {
149
+ return { c: d, m: d, p: d, d };
150
+ }
151
+ function U(n) {
152
+ let i, t, e = n[1] && K(n);
153
+ return {
154
+ c() {
155
+ e && e.c(), i = C();
156
+ },
157
+ m(o, l) {
158
+ e && e.m(o, l), k(o, i, l), t = !0;
159
+ },
160
+ p(o, [l]) {
161
+ o[1] ? e ? (e.p(o, l), l & 2 && _(e, 1)) : (e = K(o), e.c(), _(e, 1), e.m(i.parentNode, i)) : e && (I(), h(e, 1, 1, () => {
162
+ e = null;
163
+ }), H());
164
+ },
165
+ i(o) {
166
+ t || (_(e), t = !0);
167
+ },
168
+ o(o) {
169
+ h(e), t = !1;
170
+ },
171
+ d(o) {
172
+ e && e.d(o), o && b(i);
173
+ }
174
+ };
175
+ }
176
+ function V(n, i, t) {
177
+ let e, { width: o = null } = i, { icon: l = null } = i, { shadow: r = !1 } = i;
178
+ const a = z();
179
+ function f(m) {
180
+ return w(this, null, function* () {
181
+ const L = yield F(m);
182
+ return a("iconLoaded"), L;
183
+ });
184
+ }
185
+ return n.$$set = (m) => {
186
+ "width" in m && t(0, o = m.width), "icon" in m && t(1, l = m.icon), "shadow" in m && t(2, r = m.shadow);
187
+ }, n.$$.update = () => {
188
+ n.$$.dirty & 2 && t(3, e = (l == null ? void 0 : l.steps) >= 2), n.$$.dirty & 8 && !e && a("iconLoaded");
189
+ }, [o, l, r, e, f];
190
+ }
191
+ class oe extends N {
192
+ constructor(i) {
193
+ super(), R(this, i, V, U, S, { width: 0, icon: 1, shadow: 2 }, J);
194
+ }
195
+ }
196
+ export {
197
+ oe as default
198
+ };
@@ -0,0 +1,108 @@
1
+ import { SvelteComponent as b, init as A, safe_not_equal as M, append_styles as L, element as f, space as R, attr as u, toggle_class as h, set_style as d, insert as S, append as _, transition_in as c, transition_out as m, check_outros as W, detach as j, create_component as q, mount_component as B, destroy_component as C, group_outros as H, binding_callbacks as w } from "../../../../vendor/svelte/internal/index.js";
2
+ import I from "../../../utils/px2rem.js";
3
+ import T from "../Shadow.js";
4
+ import "../../../../vendor/svelte/transition/index.js";
5
+ import "../../../../vendor/svelte/easing/index.js";
6
+ function z(i) {
7
+ L(i, "svelte-srt2pi", ".audio-icon__wrapper.svelte-srt2pi.svelte-srt2pi{display:inline-block}.audio-icon.svelte-srt2pi.svelte-srt2pi{display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:100%;border-radius:50%;background-color:rgba(255, 255, 255, 0.8)}.audio-icon.svelte-srt2pi .sound-wave__container.svelte-srt2pi{position:absolute;pointer-events:none;width:60%;height:60%}.sound-wave.svelte-srt2pi.svelte-srt2pi{animation-duration:2s;animation-iteration-count:infinite;animation-play-state:paused;transition:opacity 0}.playing.svelte-srt2pi .sound-wave.svelte-srt2pi{animation-play-state:running}.playing.svelte-srt2pi .sound-wave-1.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_1_animation}.playing.svelte-srt2pi .sound-wave-2.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_2_animation}.playing.svelte-srt2pi .sound-wave-3.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_3_animation}@keyframes svelte-srt2pi-sound_wave_1_animation{0%,10%{opacity:0}25%,100%{opacity:1}}@keyframes svelte-srt2pi-sound_wave_2_animation{0%,35%{opacity:0}50%,100%{opacity:1}}@keyframes svelte-srt2pi-sound_wave_3_animation{0%,60%{opacity:0}75%,100%{opacity:1}}");
8
+ }
9
+ function y(i) {
10
+ let t, a;
11
+ return t = new T({
12
+ props: {
13
+ center: !0,
14
+ blurRadius: 12,
15
+ spreadRadius: 5
16
+ }
17
+ }), {
18
+ c() {
19
+ q(t.$$.fragment);
20
+ },
21
+ m(n, r) {
22
+ B(t, n, r), a = !0;
23
+ },
24
+ i(n) {
25
+ a || (c(t.$$.fragment, n), a = !0);
26
+ },
27
+ o(n) {
28
+ m(t.$$.fragment, n), a = !1;
29
+ },
30
+ d(n) {
31
+ C(t, n);
32
+ }
33
+ };
34
+ }
35
+ function D(i) {
36
+ let t, a, n, r, p, e = i[1] && y();
37
+ return {
38
+ c() {
39
+ t = f("div"), e && e.c(), a = R(), n = f("div"), r = f("div"), r.innerHTML = '<svg width="100%" height="100%" viewBox="0 0 128 128"><g transform="rotate(-45 12 64) translate(12 64)" fill="black" stroke="black" fill-opacity="0.6" stroke-opacity="0.6"><path stroke="none" class="sound-wave sound-wave-1 svelte-srt2pi" d="M0,23 A23,23 0 0,0 23,0 L0,0"></path><path fill="none" stroke-width="15" class="sound-wave sound-wave-2 svelte-srt2pi" d="M0,46 A46,46 0 0,0 46,0"></path><path fill="none" stroke-width="15" class="sound-wave sound-wave-3 svelte-srt2pi" d="M0,80 A80,80 0 0,0 80,0"></path></g></svg>', u(r, "class", "sound-wave__container svelte-srt2pi"), u(n, "class", "audio-icon svelte-srt2pi"), h(n, "playing", i[0]), u(t, "class", "audio-icon__wrapper svelte-srt2pi"), u(t, "style", i[2]), d(t, "width", i[5]), d(t, "height", i[5]);
40
+ },
41
+ m(s, l) {
42
+ S(s, t, l), e && e.m(t, null), _(t, a), _(t, n), _(n, r), i[7](r), i[8](t), p = !0;
43
+ },
44
+ p(s, [l]) {
45
+ s[1] ? e ? l & 2 && c(e, 1) : (e = y(), e.c(), c(e, 1), e.m(t, a)) : e && (H(), m(e, 1, 1, () => {
46
+ e = null;
47
+ }), W()), (!p || l & 1) && h(n, "playing", s[0]), (!p || l & 4) && u(t, "style", s[2]), l & 32 && d(t, "width", s[5]), l & 32 && d(t, "height", s[5]);
48
+ },
49
+ i(s) {
50
+ p || (c(e), p = !0);
51
+ },
52
+ o(s) {
53
+ m(e), p = !1;
54
+ },
55
+ d(s) {
56
+ s && j(t), e && e.d(), i[7](null), i[8](null);
57
+ }
58
+ };
59
+ }
60
+ function E(i, t, a) {
61
+ let n, { playing: r } = t, { shadow: p = !1 } = t, { style: e = null } = t, { width: s = "100%" } = t, l, v;
62
+ function g(o) {
63
+ w[o ? "unshift" : "push"](() => {
64
+ v = o, a(4, v);
65
+ });
66
+ }
67
+ function k(o) {
68
+ w[o ? "unshift" : "push"](() => {
69
+ l = o, a(3, l);
70
+ });
71
+ }
72
+ return i.$$set = (o) => {
73
+ "playing" in o && a(0, r = o.playing), "shadow" in o && a(1, p = o.shadow), "style" in o && a(2, e = o.style), "width" in o && a(6, s = o.width);
74
+ }, i.$$.update = () => {
75
+ i.$$.dirty & 64 && a(5, n = typeof s == "number" ? I(s) : s);
76
+ }, [
77
+ r,
78
+ p,
79
+ e,
80
+ l,
81
+ v,
82
+ n,
83
+ s,
84
+ g,
85
+ k
86
+ ];
87
+ }
88
+ class O extends b {
89
+ constructor(t) {
90
+ super(), A(
91
+ this,
92
+ t,
93
+ E,
94
+ D,
95
+ M,
96
+ {
97
+ playing: 0,
98
+ shadow: 1,
99
+ style: 2,
100
+ width: 6
101
+ },
102
+ z
103
+ );
104
+ }
105
+ }
106
+ export {
107
+ O as default
108
+ };