@realsee/dnalogel 2.3.6 → 2.3.7-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (422) 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 +24 -13
  6. package/dist/PanoTagPlugin/index.d.ts +1 -1
  7. package/dist/PanoTagPlugin/typings/controller.d.ts +21 -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 +50 -0
  13. package/dist/PanoTagPlugin/utils/color.d.ts +7 -0
  14. package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
  15. package/dist/PanoTagPlugin/utils/px2rem.d.ts +1 -0
  16. package/dist/PanoTagPlugin/utils/tag/format.d.ts +2 -0
  17. package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
  18. package/dist/PanoTagPlugin/utils/timeToString.d.ts +1 -0
  19. package/dist/index.cjs.js +56 -56
  20. package/dist/index.js +7077 -6025
  21. package/dist/index.umd.js +49 -49
  22. package/docs/assets/search.js +1 -1
  23. package/docs/classes/CSS3DRender.html +31 -31
  24. package/docs/classes/CruisePluginController.html +24 -24
  25. package/docs/classes/Magnifier.html +16 -16
  26. package/docs/classes/ModelRoomLabelController.html +11 -11
  27. package/docs/classes/Object3DHelperController.html +24 -24
  28. package/docs/classes/PaintBrush.html +15 -15
  29. package/docs/classes/PanoTagPluginController.html +221 -174
  30. package/docs/classes/Util.BetterTween.html +8 -8
  31. package/docs/classes/Util.FivePointSelector.html +12 -12
  32. package/docs/classes/Util.Interval.html +12 -12
  33. package/docs/classes/Util.Magnifier.html +17 -17
  34. package/docs/classes/Util.PointDomHelper.html +11 -11
  35. package/docs/classes/Util.PointHelper.html +11 -11
  36. package/docs/classes/Util.Rectangle.html +13 -13
  37. package/docs/enums/CameraMovementEffect.html +7 -7
  38. package/docs/enums/ContentType.html +75 -35
  39. package/docs/enums/DIRECTION.html +9 -9
  40. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  41. package/docs/enums/DimensionType.html +19 -15
  42. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  43. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  44. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  45. package/docs/enums/PointType.html +19 -15
  46. package/docs/enums/Rotation.html +8 -8
  47. package/docs/functions/CSS3DRenderPlugin.html +36 -13
  48. package/docs/functions/CameraMovementPlugin.html +36 -13
  49. package/docs/functions/CruisePlugin.html +36 -13
  50. package/docs/functions/GuideLinePlugin.html +37 -14
  51. package/docs/functions/ItemLabelPlugin.html +36 -13
  52. package/docs/functions/MapviewFloorplanPlugin.html +36 -13
  53. package/docs/functions/ModelChassisCompassPlugin.html +36 -13
  54. package/docs/functions/ModelEntryDoorGuidePlugin.html +36 -13
  55. package/docs/functions/ModelFloorplanPlugin.html +36 -13
  56. package/docs/functions/ModelItemLabelPlugin.html +36 -13
  57. package/docs/functions/ModelRoomLabelPlugin.html +36 -13
  58. package/docs/functions/ModelTVVideoPlugin.html +36 -13
  59. package/docs/functions/ModelViewPlugin.html +36 -13
  60. package/docs/functions/Object3DHelperPlugin.html +36 -13
  61. package/docs/functions/PanoCompassPlugin.html +36 -13
  62. package/docs/functions/PanoCursorRaycasterPlugin.html +36 -13
  63. package/docs/functions/PanoDoorLabelPlugin.html +36 -13
  64. package/docs/functions/PanoFloorplanRadarPlugin.html +36 -13
  65. package/docs/functions/PanoMeasurePlugin.html +36 -13
  66. package/docs/functions/PanoRulerPlugin.html +36 -13
  67. package/docs/functions/PanoRulerProPlugin.html +36 -13
  68. package/docs/functions/PanoSpatialTagPlugin.html +36 -13
  69. package/docs/functions/PanoTagPlugin.html +42 -23
  70. package/docs/functions/TopviewFloorplanPlugin.html +36 -13
  71. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  72. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  73. package/docs/functions/Util.getFrameTime.html +5 -5
  74. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  75. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  76. package/docs/functions/Util.isNil.html +5 -5
  77. package/docs/functions/Util.nextFrame.html +5 -5
  78. package/docs/functions/Util.notNil.html +5 -5
  79. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  80. package/docs/functions/Util.tweenProgress.html +5 -5
  81. package/docs/functions/pluginFlag.html +37 -14
  82. package/docs/index.html +36 -13
  83. package/docs/interfaces/AddTagConfig.html +64 -0
  84. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  85. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  86. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  87. package/docs/interfaces/EventMap.html +298 -0
  88. package/docs/interfaces/FloorplanBounding.html +8 -8
  89. package/docs/interfaces/FloorplanData.html +10 -10
  90. package/docs/interfaces/FloorplanEntrance.html +11 -11
  91. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  92. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  93. package/docs/interfaces/FloorplanFloorData.html +9 -9
  94. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  95. package/docs/interfaces/FloorplanObserver.html +9 -9
  96. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  97. package/docs/interfaces/FloorplanPosition.html +7 -7
  98. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  99. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  100. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  101. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  102. package/docs/interfaces/FloorplanServerData.html +7 -7
  103. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  104. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  105. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  106. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  107. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  108. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  109. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  110. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  111. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  112. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  113. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  114. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  115. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  116. package/docs/interfaces/LineJson.html +7 -7
  117. package/docs/interfaces/MinMax.html +71 -0
  118. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  119. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  120. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  121. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  122. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  123. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  124. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  125. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  126. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  127. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  128. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  129. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  130. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  131. package/docs/interfaces/Object3DHelperState.html +8 -8
  132. package/docs/interfaces/OpenParameter.html +7 -7
  133. package/docs/interfaces/PaintBrushAction.html +12 -12
  134. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  135. package/docs/interfaces/PaintBrushState.html +10 -10
  136. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  137. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +37 -14
  138. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  139. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  140. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  141. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  142. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  143. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  144. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  145. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  146. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +37 -14
  147. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +37 -14
  148. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  149. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  150. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  151. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  152. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  153. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  154. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  155. package/docs/interfaces/Point.html +8 -8
  156. package/docs/interfaces/PointJson.html +8 -8
  157. package/docs/interfaces/Room.html +9 -9
  158. package/docs/interfaces/RoomInfo.html +7 -7
  159. package/docs/interfaces/RoomLabel.html +14 -14
  160. package/docs/interfaces/RoomRules.html +37 -14
  161. package/docs/interfaces/Rooms.html +37 -14
  162. package/docs/interfaces/Scissor.html +9 -9
  163. package/docs/interfaces/State.html +89 -0
  164. package/docs/interfaces/TagCache.html +92 -0
  165. package/docs/interfaces/TagConfig.html +15 -19
  166. package/docs/interfaces/TagIconUrl.html +91 -0
  167. package/docs/interfaces/Tags.html +14 -12
  168. package/docs/interfaces/TemporaryState.html +64 -0
  169. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  170. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  171. package/docs/modules/Util.html +5 -5
  172. package/docs/modules.html +67 -21
  173. package/docs/types/ArrayPosition.html +38 -15
  174. package/docs/types/CSS3DRenderExportType.html +37 -14
  175. package/docs/types/CSS3DRenderPluginExportType.html +37 -14
  176. package/docs/types/CSS3DRenderPluginParameterType.html +37 -14
  177. package/docs/types/Color.html +37 -14
  178. package/docs/types/ContentTypeConfigKey.html +38 -15
  179. package/docs/types/ContentTypeMap.html +248 -0
  180. package/docs/types/Create3DDomContainerReturnType.html +37 -14
  181. package/docs/types/Create3DElementReturnType.html +37 -14
  182. package/docs/types/CruisePluginExportType.html +37 -14
  183. package/docs/types/Direction-1.html +37 -14
  184. package/docs/types/Direction4.html +37 -14
  185. package/docs/types/FloorplanRuleLabels.html +37 -14
  186. package/docs/types/FloorplanServerRuleLabels.html +37 -14
  187. package/docs/types/GuideLinePluginExportType.html +37 -14
  188. package/docs/types/HelperEventMap.html +37 -14
  189. package/docs/types/LoadTagConfig.html +248 -0
  190. package/docs/types/MapviewFloorplanPluginParameterType.html +37 -14
  191. package/docs/types/MapviewFloorplanPluginReturnType.html +37 -14
  192. package/docs/types/MediaData.html +37 -14
  193. package/docs/types/MediaStore.html +248 -0
  194. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +37 -14
  195. package/docs/types/ModelFloorplanPluginParameterType.html +37 -14
  196. package/docs/types/ModelFloorplanPluginReturnType.html +37 -14
  197. package/docs/types/ModelRoomLabelPluginParameters.html +37 -14
  198. package/docs/types/ModelRoomLabelPluginReturnType.html +37 -14
  199. package/docs/types/MoveArgs.html +37 -14
  200. package/docs/types/MoveOpts.html +37 -14
  201. package/docs/types/Object3DHelperEventMap.html +37 -14
  202. package/docs/types/ObjectFit.html +37 -14
  203. package/docs/types/PaintBrushEventMap.html +37 -14
  204. package/docs/types/PanoCompassPluginData.html +37 -14
  205. package/docs/types/PanoCompassPluginExportType.html +37 -14
  206. package/docs/types/PanoCompassPluginParameterType.html +37 -14
  207. package/docs/types/PanoFloorplanRadarPluginParameterType.html +37 -14
  208. package/docs/types/PanoFloorplanRadarPluginReturnType.html +37 -14
  209. package/docs/types/{ContentTypeConfigKeyArray.html → PanoIndex.html} +40 -17
  210. package/docs/types/PanoMeasurePluginEvent.html +37 -14
  211. package/docs/types/PanoMeasureReturnType.html +37 -14
  212. package/docs/types/PanoSpatialTagPluginId.html +37 -14
  213. package/docs/types/PanoTagPluginExportInterface.html +37 -14
  214. package/docs/types/PanoTagPluginParamsInterface.html +37 -14
  215. package/docs/types/PlaneTag.html +40 -19
  216. package/docs/types/PlaneTagElement.html +253 -0
  217. package/docs/types/Point2DElement.html +253 -0
  218. package/docs/types/Point2DTag.html +255 -0
  219. package/docs/types/Point3DElement.html +253 -0
  220. package/docs/types/Point3DTag.html +255 -0
  221. package/docs/types/PointTag.html +40 -23
  222. package/docs/types/PointTagElement.html +253 -0
  223. package/docs/types/Position.html +37 -14
  224. package/docs/types/RotateArgs.html +37 -14
  225. package/docs/types/RotateOpts.html +37 -14
  226. package/docs/types/RuleLabelsKey.html +37 -14
  227. package/docs/types/RuleLabelsValue.html +37 -14
  228. package/docs/types/StickType.html +248 -0
  229. package/docs/types/Tag.html +41 -22
  230. package/docs/types/Tag2D.html +42 -20
  231. package/docs/types/Tag3D.html +42 -20
  232. package/docs/types/TagContentType.html +248 -0
  233. package/docs/types/TagDimensionType.html +248 -0
  234. package/docs/types/TagElement.html +255 -0
  235. package/docs/types/TagEvents.html +283 -0
  236. package/docs/types/TagHooks.html +248 -0
  237. package/docs/types/TagIconSize.html +251 -0
  238. package/docs/types/TagId.html +37 -14
  239. package/docs/types/TagPointType.html +251 -0
  240. package/docs/types/TopviewFloorplanPluginParameterType.html +37 -14
  241. package/docs/types/TopviewFloorplanPluginReturnType.html +37 -14
  242. package/docs/types/WorkCode.html +248 -0
  243. package/docs/variables/FLOOR_TYPE_MAP.html +37 -14
  244. package/docs/variables/PLUGIN.html +37 -14
  245. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +37 -14
  246. package/docs/variables/ROOM_TYPE_MAP.html +37 -14
  247. package/docs/variables/VERSION.html +37 -14
  248. package/docs/variables/itemLabelPluginServerParams.html +37 -14
  249. package/docs/variables/modelItemLabelPluginServerParams.html +37 -14
  250. package/docs/variables/modelRoomLabelPluginServerParams.html +37 -14
  251. package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -1
  252. package/libs/CSS3DRenderPlugin/Controller.js +2 -2
  253. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +1 -1
  254. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +1 -1
  255. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +4 -4
  256. package/libs/CSS3DRenderPlugin/utils/index.js +12 -0
  257. package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  258. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +4 -3
  259. package/libs/CSS3DRenderPlugin/utils/random.js +6 -1
  260. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +3 -2
  261. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +2 -1
  262. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +6 -4
  263. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +1 -1
  264. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +6 -6
  265. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +13 -13
  266. package/libs/CruisePlugin/Controller.js +1 -1
  267. package/libs/CruisePlugin/utils/coordinatesAngle.js +3 -2
  268. package/libs/CruisePlugin/utils/linerValue.js +4 -4
  269. package/libs/GuideLinePlugin/Controller.js +1 -1
  270. package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
  271. package/libs/GuideLinePlugin/utils/getPoint.d.ts +3 -0
  272. package/libs/GuideLinePlugin/utils/getPoint.js +18 -0
  273. package/libs/Object3DHelperPlugin/Controller.js +38 -36
  274. package/libs/PanoMeasurePlugin/Controller/BaseController.js +25 -15
  275. package/libs/PanoMeasurePlugin/Controller/EditController.js +21 -9
  276. package/libs/PanoMeasurePlugin/Controller/MixedController.js +23 -10
  277. package/libs/PanoMeasurePlugin/Controller/ViewController.js +25 -14
  278. package/libs/PanoMeasurePlugin/Controller/WatchController.js +44 -29
  279. package/libs/PanoMeasurePlugin/Controller/index.js +58 -21
  280. package/libs/PanoMeasurePlugin/Model/index.js +47 -40
  281. package/libs/PanoMeasurePlugin/Model/line.js +15 -11
  282. package/libs/PanoMeasurePlugin/Model/point.js +5 -5
  283. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
  284. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
  285. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
  286. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
  287. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
  288. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +30 -30
  289. package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
  290. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +2 -2
  291. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -3
  292. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
  293. package/libs/PanoMeasurePlugin/Modules/UIController/style.js +24 -16
  294. package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +4 -3
  295. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +8 -5
  296. package/libs/PanoMeasurePlugin/index.js +2 -2
  297. package/libs/PanoMeasurePlugin/typings/data.js +1 -0
  298. package/libs/PanoMeasurePlugin/typings/event.type.js +1 -0
  299. package/libs/PanoMeasurePlugin/typings/index.js +1 -0
  300. package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +1 -0
  301. package/libs/PanoMeasurePlugin/typings/utils.type.js +1 -0
  302. package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
  303. package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -0
  304. package/libs/PanoMeasurePlugin/utils/clearGroup.js +6 -0
  305. package/libs/PanoMeasurePlugin/utils/constants.js +15 -16
  306. package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
  307. package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +7 -6
  308. package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
  309. package/libs/PanoMeasurePlugin/utils/line.js +1 -0
  310. package/libs/PanoMeasurePlugin/utils/math.js +2 -1
  311. package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
  312. package/libs/PanoSpatialTagPlugin/Components/origins.js +3 -2
  313. package/libs/PanoSpatialTagPlugin/Components/tag.js +3 -2
  314. package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
  315. package/libs/PanoTagPlugin/Assets/Icon.d.ts +3 -2
  316. package/libs/PanoTagPlugin/Assets/Icon.js +4 -3
  317. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  318. package/libs/PanoTagPlugin/Components/Common/Audio.js +137 -132
  319. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +175 -0
  320. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +110 -0
  321. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +30 -30
  322. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +95 -59
  323. package/libs/PanoTagPlugin/Components/Common/Media.js +275 -249
  324. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +143 -79
  325. package/libs/PanoTagPlugin/Components/Common/Shadow.js +10 -9
  326. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +81 -0
  327. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +145 -0
  328. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +147 -0
  329. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +166 -0
  330. package/libs/PanoTagPlugin/Components/Common/TextItem.js +106 -0
  331. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +213 -0
  332. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +215 -0
  333. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +120 -0
  334. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  335. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +126 -131
  336. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +58 -96
  337. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +5 -3
  338. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +75 -45
  339. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +102 -0
  340. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +134 -0
  341. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +115 -0
  342. package/libs/PanoTagPlugin/Components/Tag/index.js +235 -148
  343. package/libs/PanoTagPlugin/Components/TagContainer.js +144 -109
  344. package/libs/PanoTagPlugin/Components/TagItem.js +233 -0
  345. package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
  346. package/libs/PanoTagPlugin/controller/TagCacheController.js +3 -2
  347. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +19 -22
  348. package/libs/PanoTagPlugin/controller/TagComputer.js +174 -151
  349. package/libs/PanoTagPlugin/controller/index.d.ts +24 -13
  350. package/libs/PanoTagPlugin/controller/index.js +245 -165
  351. package/libs/PanoTagPlugin/index.d.ts +1 -1
  352. package/libs/PanoTagPlugin/index.js +32 -21
  353. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
  354. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
  355. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
  356. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
  357. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
  358. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
  359. package/libs/PanoTagPlugin/mocks/v1/mock1.js +122 -0
  360. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
  361. package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
  362. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
  363. package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
  364. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
  365. package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
  366. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
  367. package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
  368. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
  369. package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
  370. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
  371. package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
  372. package/libs/PanoTagPlugin/tag.config.js +23 -16
  373. package/libs/PanoTagPlugin/typings/controller.d.ts +21 -17
  374. package/libs/PanoTagPlugin/typings/index.d.ts +5 -1
  375. package/libs/PanoTagPlugin/typings/index.js +7 -1
  376. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
  377. package/libs/PanoTagPlugin/typings/tag/Tag.js +4 -0
  378. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
  379. package/libs/PanoTagPlugin/typings/tag/TagConfig.js +1 -0
  380. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
  381. package/libs/PanoTagPlugin/typings/tag/TagData.js +4 -0
  382. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +50 -0
  383. package/libs/PanoTagPlugin/typings/tag/Utils.js +5 -0
  384. package/libs/PanoTagPlugin/utils/color.d.ts +7 -0
  385. package/libs/PanoTagPlugin/utils/color.js +17 -0
  386. package/libs/PanoTagPlugin/utils/constants.js +2 -1
  387. package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
  388. package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
  389. package/libs/PanoTagPlugin/utils/getImageInfo.js +51 -0
  390. package/libs/PanoTagPlugin/utils/index.js +35 -0
  391. package/libs/PanoTagPlugin/utils/px2rem.d.ts +1 -0
  392. package/libs/PanoTagPlugin/utils/px2rem.js +6 -0
  393. package/libs/PanoTagPlugin/utils/search.js +27 -9
  394. package/libs/PanoTagPlugin/utils/tag/format.d.ts +2 -0
  395. package/libs/PanoTagPlugin/utils/tag/format.js +18 -0
  396. package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
  397. package/libs/PanoTagPlugin/utils/tag/tagCheck.js +26 -0
  398. package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
  399. package/libs/PanoTagPlugin/utils/timeToString.d.ts +1 -0
  400. package/libs/PanoTagPlugin/utils/timeToString.js +7 -0
  401. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  402. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +10 -6
  403. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
  404. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +83 -74
  405. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  406. package/libs/index.js +112 -101
  407. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +17 -20
  408. package/libs/vendor/svelte/internal/index.js +382 -338
  409. package/package.json +3 -3
  410. package/dist/PanoTagPlugin/typings/tag.d.ts +0 -247
  411. package/docs/enums/LinkType.html +0 -67
  412. package/docs/interfaces/ContentTypeMap.html +0 -212
  413. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +0 -170
  414. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +0 -50
  415. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +0 -50
  416. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +0 -166
  417. package/libs/PanoTagPlugin/Components/Common/Text.js +0 -130
  418. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +0 -131
  419. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +0 -122
  420. package/libs/PanoTagPlugin/Components/TagWrapper.js +0 -152
  421. package/libs/PanoTagPlugin/typings/tag.d.ts +0 -247
  422. package/libs/PanoTagPlugin/typings/tag.js +0 -7
@@ -1,165 +1,170 @@
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 O = Object.defineProperty;
2
+ var M = Object.getOwnPropertySymbols;
3
+ var Q = Object.prototype.hasOwnProperty, R = Object.prototype.propertyIsEnumerable;
4
+ var j = (e, l, t) => l in e ? O(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, N = (e, l) => {
5
+ for (var t in l || (l = {}))
6
+ Q.call(l, t) && j(e, t, l[t]);
7
+ if (M)
8
+ for (var t of M(l))
9
+ R.call(l, t) && j(e, t, l[t]);
10
+ return e;
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 U, init as V, safe_not_equal as X, append_styles as Y, create_slot as C, element as W, space as q, attr as _, src_url_equal as z, set_style as Z, insert as x, append as S, listen as m, stop_propagation as $, update_slot_base as w, get_all_dirty_from_scope as A, get_slot_changes as P, transition_in as v, transition_out as E, detach as ee, run_all as te, getContext as B, binding_callbacks as ne } from "../../../vendor/svelte/internal/index.js";
13
+ function se(e) {
14
+ Y(e, "svelte-kebunf", ".audio.svelte-kebunf{pointer-events:auto;cursor:pointer;width:100%;height:100%}.children.svelte-kebunf{width:100%;height:100%}");
18
15
  }
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);
16
+ const le = (e) => ({
17
+ currentTime: e & 256,
18
+ duration: e & 128,
19
+ playing: e & 512
20
+ }), D = (e) => ({
21
+ currentTime: typeof e[8] == "number" && !Number.isNaN(e[8]) ? e[8] : void 0,
22
+ duration: typeof e[7] == "number" && !Number.isNaN(e[7]) ? e[7] : void 0,
23
+ playing: e[9]
24
+ }), ue = (e) => ({ playing: e & 512 }), F = (e) => ({ playing: e[9] });
25
+ function oe(e) {
26
+ let l, t, h, k = !0, I, r, d, T, o, p, y;
27
+ const g = e[13].audioIcon, s = C(g, e, e[12], F), c = e[13].currentTime, a = C(c, e, e[12], D), b = e[13].default, f = C(b, e, e[12], null);
64
28
  return {
65
29
  c() {
66
- a && a.c(), e = H();
30
+ l = W("div"), t = W("audio"), I = q(), r = W("div"), s && s.c(), d = q(), a && a.c(), T = q(), f && f.c(), t.controls = !1, _(t, "playsinline", ""), _(t, "preload", "metadata"), z(t.src, h = e[1]) || _(t, "src", h), Z(t, "display", "none"), _(r, "class", "children svelte-kebunf"), _(r, "style", e[3]), _(l, "class", "audio svelte-kebunf"), _(l, "style", e[2]);
67
31
  },
68
- m(o, r) {
69
- a && a.m(o, r), q(o, e, r), i = !0;
32
+ m(n, i) {
33
+ x(n, l, i), S(l, t), e[14](t), S(l, I), S(l, r), s && s.m(r, null), S(r, d), a && a.m(r, null), S(r, T), f && f.m(r, null), o = !0, p || (y = [
34
+ m(t, "play", e[15]),
35
+ m(t, "pause", e[15]),
36
+ m(t, "play", e[16]),
37
+ m(t, "pause", e[17]),
38
+ m(t, "ended", e[18]),
39
+ m(t, "canplaythrough", e[19]),
40
+ m(t, "timeupdate", e[20]),
41
+ m(l, "click", $(e[11]))
42
+ ], p = !0);
70
43
  },
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());
44
+ p(n, [i]) {
45
+ (!o || i & 2 && !z(t.src, h = n[1])) && _(t, "src", h), i & 1 && k !== (k = n[0]) && t[k ? "pause" : "play"](), s && s.p && (!o || i & 4608) && w(
46
+ s,
47
+ g,
48
+ n,
49
+ n[12],
50
+ o ? P(g, n[12], i, ue) : A(n[12]),
51
+ F
52
+ ), a && a.p && (!o || i & 4992) && w(
53
+ a,
54
+ c,
55
+ n,
56
+ n[12],
57
+ o ? P(c, n[12], i, le) : A(n[12]),
58
+ D
59
+ ), f && f.p && (!o || i & 4096) && w(
60
+ f,
61
+ b,
62
+ n,
63
+ n[12],
64
+ o ? P(b, n[12], i, null) : A(n[12]),
65
+ null
66
+ ), (!o || i & 8) && _(r, "style", n[3]), (!o || i & 4) && _(l, "style", n[2]);
75
67
  },
76
- i(o) {
77
- i || (v(a), i = !0);
68
+ i(n) {
69
+ o || (v(s, n), v(a, n), v(f, n), o = !0);
78
70
  },
79
- o(o) {
80
- z(a), i = !1;
71
+ o(n) {
72
+ E(s, n), E(a, n), E(f, n), o = !1;
81
73
  },
82
- d(o) {
83
- a && a.d(o), o && R(e);
74
+ d(n) {
75
+ n && ee(l), e[14](null), s && s.d(n), a && a.d(n), f && f.d(n), p = !1, te(y);
84
76
  }
85
77
  };
86
78
  }
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());
79
+ function ae(e, l, t) {
80
+ let h, { $$slots: k = {}, $$scope: I } = l, { url: r } = l, { paused: d = !0 } = l, { style: T = "" } = l, { slotWrapperStyle: o = "" } = l, { hooksInfo: p } = l;
81
+ const y = B("hooks"), g = B("mediaStore");
82
+ let s, c = !0;
83
+ g.subscribe(({ currentMediaElement: u }) => {
84
+ u !== s && (s == null || s.pause());
93
85
  });
94
- function w(l) {
95
- g.set({ currentMediaUrl: u }), n && (c.emit("click", p({
96
- event: l,
86
+ let a = null, b = null;
87
+ function f(u) {
88
+ !s || (y.emit("click", N({
89
+ event: u,
97
90
  target: "AudioTagPlayIcon",
98
- audioInstance: n
99
- }, d)), n.paused ? n.play() : n.pause(), i(
100
- 5,
101
- n.onplay = (y) => c.emit("playStateChange", p({
102
- event: y,
103
- state: "playing",
104
- mediaInstance: n
105
- }, d)),
106
- n
107
- ), i(
108
- 5,
109
- n.onpause = (y) => c.emit("playStateChange", p({
110
- event: y,
111
- state: "paused",
112
- mediaInstance: n
113
- }, d)),
114
- n
115
- ));
91
+ audioInstance: s
92
+ }, p)), g.set({ currentMediaElement: s }), s.paused ? s.play() : s.pause());
116
93
  }
117
- function s(l) {
118
- ee[l ? "unshift" : "push"](() => {
119
- n = l, i(5, n);
94
+ function n(u) {
95
+ ne[u ? "unshift" : "push"](() => {
96
+ s = u, t(5, s);
120
97
  });
121
98
  }
122
- function _() {
123
- m = this.paused, i(6, m);
99
+ function i() {
100
+ d = this.paused, t(0, d);
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());
102
+ const G = (u) => {
103
+ y.emit("playStateChange", N({
104
+ event: u,
105
+ state: "playing",
106
+ mediaInstance: s
107
+ }, p)), t(6, c = !1);
108
+ }, H = (u) => {
109
+ y.emit("playStateChange", N({
110
+ event: u,
111
+ state: "paused",
112
+ mediaInstance: s
113
+ }, p)), t(6, c = !0);
114
+ }, J = (u) => {
115
+ t(6, c = !0);
116
+ }, K = (u) => {
117
+ t(7, a = s.duration);
118
+ }, L = (u) => {
119
+ t(8, b = s.currentTime);
120
+ };
121
+ return e.$$set = (u) => {
122
+ "url" in u && t(1, r = u.url), "paused" in u && t(0, d = u.paused), "style" in u && t(2, T = u.style), "slotWrapperStyle" in u && t(3, o = u.slotWrapperStyle), "hooksInfo" in u && t(4, p = u.hooksInfo), "$$scope" in u && t(12, I = u.$$scope);
123
+ }, e.$$.update = () => {
124
+ e.$$.dirty & 33 && (d || s == null || s.pause()), e.$$.dirty & 65 && t(9, h = !d && !c);
129
125
  }, [
130
- a,
131
- o,
126
+ d,
132
127
  r,
133
- u,
128
+ T,
129
+ o,
130
+ p,
131
+ s,
132
+ c,
133
+ a,
134
+ b,
135
+ h,
136
+ y,
134
137
  f,
138
+ I,
139
+ k,
135
140
  n,
136
- m,
137
- w,
138
- d,
139
- s,
140
- _
141
+ i,
142
+ G,
143
+ H,
144
+ J,
145
+ K,
146
+ L
141
147
  ];
142
148
  }
143
- class de extends T {
144
- constructor(e) {
145
- super(), U(
149
+ class fe extends U {
150
+ constructor(l) {
151
+ super(), V(
146
152
  this,
147
- e,
153
+ l,
148
154
  ae,
149
- ne,
150
- j,
155
+ oe,
156
+ X,
151
157
  {
152
- inDelay: 0,
153
- outDelay: 1,
154
- duration: 2,
155
- url: 3,
156
- unfolded: 4,
157
- hooksInfo: 8
158
+ url: 1,
159
+ paused: 0,
160
+ style: 2,
161
+ slotWrapperStyle: 3,
162
+ hooksInfo: 4
158
163
  },
159
- ie
164
+ se
160
165
  );
161
166
  }
162
167
  }
163
168
  export {
164
- de as Audio
169
+ fe as default
165
170
  };
@@ -0,0 +1,175 @@
1
+ import { SvelteComponent as N, init as R, safe_not_equal as S, append_styles as W, empty as H, insert as k, transition_in as _, transition_out as h, check_outros as I, detach as b, element as p, space as z, attr as u, set_style as f, append as g, group_outros as K, create_component as X, mount_component as A, destroy_component as B, src_url_equal as w, handle_promise as y, update_await_block_branch as D, noop as d } from "../../../../vendor/svelte/internal/index.js";
2
+ import { getKeyframeInfo as v } from "../../../utils/getImageInfo.js";
3
+ import s from "../../../utils/px2rem.js";
4
+ import E from "../Shadow.js";
5
+ import "../../../../vendor/svelte/transition/index.js";
6
+ import "../../../../vendor/svelte/easing/index.js";
7
+ function F(n) {
8
+ 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}");
9
+ }
10
+ function j(n) {
11
+ n[4] = n[12].url, n[5] = n[12].keyframesWidth, n[6] = n[12].keyframesHeight, n[7] = n[12].wrapperWidth, n[8] = n[12].wrapperHeight, n[9] = n[12].steps, n[10] = n[12].duration, n[11] = n[12].offsetX;
12
+ }
13
+ function q(n) {
14
+ let i, r, e, o = n[2] && C();
15
+ function l(m, c) {
16
+ return m[3] ? J : G;
17
+ }
18
+ let t = l(n), a = t(n);
19
+ return {
20
+ c() {
21
+ i = p("div"), o && o.c(), r = z(), a.c(), u(i, "class", "icon"), f(i, "width", typeof n[0] == "number" ? s(n[0]) : n[0]);
22
+ },
23
+ m(m, c) {
24
+ k(m, i, c), o && o.m(i, null), g(i, r), a.m(i, null), e = !0;
25
+ },
26
+ p(m, c) {
27
+ m[2] ? o ? c & 4 && _(o, 1) : (o = C(), o.c(), _(o, 1), o.m(i, r)) : o && (K(), h(o, 1, 1, () => {
28
+ o = null;
29
+ }), I()), t === (t = l(m)) && a ? a.p(m, c) : (a.d(1), a = t(m), a && (a.c(), a.m(i, null))), c & 1 && f(i, "width", typeof m[0] == "number" ? s(m[0]) : m[0]);
30
+ },
31
+ i(m) {
32
+ e || (_(o), e = !0);
33
+ },
34
+ o(m) {
35
+ h(o), e = !1;
36
+ },
37
+ d(m) {
38
+ m && b(i), o && o.d(), a.d();
39
+ }
40
+ };
41
+ }
42
+ function C(n) {
43
+ let i, r;
44
+ return i = new E({
45
+ props: {
46
+ center: !0,
47
+ blurRadius: 12,
48
+ spreadRadius: 5
49
+ }
50
+ }), {
51
+ c() {
52
+ X(i.$$.fragment);
53
+ },
54
+ m(e, o) {
55
+ A(i, e, o), r = !0;
56
+ },
57
+ i(e) {
58
+ r || (_(i.$$.fragment, e), r = !0);
59
+ },
60
+ o(e) {
61
+ h(i.$$.fragment, e), r = !1;
62
+ },
63
+ d(e) {
64
+ B(i, e);
65
+ }
66
+ };
67
+ }
68
+ function G(n) {
69
+ let i, r;
70
+ return {
71
+ c() {
72
+ i = p("img"), u(i, "class", "icon-image svelte-mhs8j5"), w(i.src, r = n[1].url) || u(i, "src", r), u(i, "alt", "icon");
73
+ },
74
+ m(e, o) {
75
+ k(e, i, o);
76
+ },
77
+ p(e, o) {
78
+ o & 2 && !w(i.src, r = e[1].url) && u(i, "src", r);
79
+ },
80
+ d(e) {
81
+ e && b(i);
82
+ }
83
+ };
84
+ }
85
+ function J(n) {
86
+ let i, r, e = {
87
+ ctx: n,
88
+ current: null,
89
+ token: null,
90
+ hasCatch: !1,
91
+ pending: O,
92
+ then: M,
93
+ catch: L,
94
+ value: 12
95
+ };
96
+ return y(r = v(n[1]), e), {
97
+ c() {
98
+ i = H(), e.block.c();
99
+ },
100
+ m(o, l) {
101
+ k(o, i, l), e.block.m(o, e.anchor = l), e.mount = () => i.parentNode, e.anchor = i;
102
+ },
103
+ p(o, l) {
104
+ n = o, e.ctx = n, l & 2 && r !== (r = v(n[1])) && y(r, e) || D(e, n, l);
105
+ },
106
+ d(o) {
107
+ o && b(i), e.block.d(o), e.token = null, e = null;
108
+ }
109
+ };
110
+ }
111
+ function L(n) {
112
+ return { c: d, m: d, p: d, d };
113
+ }
114
+ function M(n) {
115
+ j(n);
116
+ let i, r, e, o = `url(${n[4]})`, l = `steps(${n[9] - 1})`;
117
+ return {
118
+ c() {
119
+ i = p("div"), r = p("div"), e = p("div"), u(e, "class", "icon-keyframe svelte-mhs8j5"), f(e, "width", s(n[5])), f(e, "height", s(n[6])), f(e, "background-image", o), f(e, "animation-duration", n[10]), f(e, "animation-timing-function", l), f(e, "animation-delay", 0), f(e, "background-size", "100% 100%"), f(e, "--keyframe_offset_x", s(n[11])), u(r, "class", "icon-keyframe-wrapper svelte-mhs8j5"), f(r, "transform", typeof n[0] == "number" ? `scale(${n[0] / n[7]})` : void 0), u(i, "class", "icon-keyframe-container svelte-mhs8j5"), f(i, "width", typeof n[0] == "number" ? s(n[0]) : s(n[7])), f(i, "height", typeof n[0] == "number" ? s(n[8] * (n[0] / n[7])) : s(n[8]));
120
+ },
121
+ m(t, a) {
122
+ k(t, i, a), g(i, r), g(r, e);
123
+ },
124
+ p(t, a) {
125
+ j(t), a & 2 && f(e, "width", s(t[5])), a & 2 && f(e, "height", s(t[6])), a & 2 && o !== (o = `url(${t[4]})`) && f(e, "background-image", o), a & 2 && f(e, "animation-duration", t[10]), a & 2 && l !== (l = `steps(${t[9] - 1})`) && f(e, "animation-timing-function", l), a & 2 && f(e, "--keyframe_offset_x", s(t[11])), a & 3 && f(r, "transform", typeof t[0] == "number" ? `scale(${t[0] / t[7]})` : void 0), a & 3 && f(i, "width", typeof t[0] == "number" ? s(t[0]) : s(t[7])), a & 3 && f(i, "height", typeof t[0] == "number" ? s(t[8] * (t[0] / t[7])) : s(t[8]));
126
+ },
127
+ d(t) {
128
+ t && b(i);
129
+ }
130
+ };
131
+ }
132
+ function O(n) {
133
+ return { c: d, m: d, p: d, d };
134
+ }
135
+ function P(n) {
136
+ let i, r, e = n[1] && q(n);
137
+ return {
138
+ c() {
139
+ e && e.c(), i = H();
140
+ },
141
+ m(o, l) {
142
+ e && e.m(o, l), k(o, i, l), r = !0;
143
+ },
144
+ p(o, [l]) {
145
+ o[1] ? e ? (e.p(o, l), l & 2 && _(e, 1)) : (e = q(o), e.c(), _(e, 1), e.m(i.parentNode, i)) : e && (K(), h(e, 1, 1, () => {
146
+ e = null;
147
+ }), I());
148
+ },
149
+ i(o) {
150
+ r || (_(e), r = !0);
151
+ },
152
+ o(o) {
153
+ h(e), r = !1;
154
+ },
155
+ d(o) {
156
+ e && e.d(o), o && b(i);
157
+ }
158
+ };
159
+ }
160
+ function Q(n, i, r) {
161
+ let e, { width: o = null } = i, { icon: l = null } = i, { shadow: t = !1 } = i;
162
+ return n.$$set = (a) => {
163
+ "width" in a && r(0, o = a.width), "icon" in a && r(1, l = a.icon), "shadow" in a && r(2, t = a.shadow);
164
+ }, n.$$.update = () => {
165
+ n.$$.dirty & 2 && r(3, e = (l == null ? void 0 : l.steps) >= 2);
166
+ }, [o, l, t, e];
167
+ }
168
+ class x extends N {
169
+ constructor(i) {
170
+ super(), R(this, i, Q, P, S, { width: 0, icon: 1, shadow: 2 }, F);
171
+ }
172
+ }
173
+ export {
174
+ x as default
175
+ };
@@ -0,0 +1,110 @@
1
+ import { SvelteComponent as g, init as b, safe_not_equal as j, append_styles as R, element as m, space as S, attr as f, toggle_class as k, set_style as u, insert as W, append as _, transition_in as v, transition_out as w, check_outros as A, detach as C, create_component as H, mount_component as I, destroy_component as L, group_outros as M, binding_callbacks as h } from "../../../../vendor/svelte/internal/index.js";
2
+ import T from "../../../utils/px2rem.js";
3
+ import X from "../Shadow.js";
4
+ import "../../../../vendor/svelte/transition/index.js";
5
+ import "../../../../vendor/svelte/easing/index.js";
6
+ function z(i) {
7
+ R(i, "svelte-qf1c2k", ".audio-icon__wrapper.svelte-qf1c2k.svelte-qf1c2k{display:inline-block}.audio-icon.svelte-qf1c2k.svelte-qf1c2k{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-qf1c2k .sound-wave__container.svelte-qf1c2k{position:absolute;pointer-events:none;display:flex;justify-content:center;align-items:center;width:1.375rem;height:1.375rem}.audio-icon.svelte-qf1c2k .sound-wave__container .sound-wave__wrapper.svelte-qf1c2k{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translateX(-25%)}.audio-icon.svelte-qf1c2k .sound-wave__container .sound-wave__wrapper .sound-wave.svelte-qf1c2k{flex-shrink:0;flex-grow:0;border-radius:50%;border-color:transparent;border-style:solid;border-bottom-color:rgba(0, 0, 0, 0.6);transform:rotate(-90deg)}.sound-wave-1.svelte-qf1c2k.svelte-qf1c2k{position:absolute;width:0rem;height:0rem;border-width:0.125rem}.sound-wave-2.svelte-qf1c2k.svelte-qf1c2k{position:absolute;width:0.4375rem;height:0.4375rem;border-width:0.09375rem}.sound-wave-3.svelte-qf1c2k.svelte-qf1c2k{position:relative;width:0.875rem;height:0.875rem;border-width:0.09375rem}.sound-wave.svelte-qf1c2k.svelte-qf1c2k{animation-duration:2s;animation-iteration-count:infinite;animation-play-state:paused;transition:opacity 0}.playing.svelte-qf1c2k .sound-wave.svelte-qf1c2k{animation-play-state:running}.playing.svelte-qf1c2k .sound-wave-1.svelte-qf1c2k{animation-name:svelte-qf1c2k-sound_wave_1_animation}.playing.svelte-qf1c2k .sound-wave-2.svelte-qf1c2k{animation-name:svelte-qf1c2k-sound_wave_2_animation}.playing.svelte-qf1c2k .sound-wave-3.svelte-qf1c2k{animation-name:svelte-qf1c2k-sound_wave_3_animation}@keyframes svelte-qf1c2k-sound_wave_1_animation{0%,10%{opacity:0}25%,100%{opacity:1}}@keyframes svelte-qf1c2k-sound_wave_2_animation{0%,35%{opacity:0}50%,100%{opacity:1}}@keyframes svelte-qf1c2k-sound_wave_3_animation{0%,60%{opacity:0}75%,100%{opacity:1}}");
8
+ }
9
+ function p(i) {
10
+ let e, n;
11
+ return e = new X({
12
+ props: {
13
+ center: !0,
14
+ blurRadius: 12,
15
+ spreadRadius: 5
16
+ }
17
+ }), {
18
+ c() {
19
+ H(e.$$.fragment);
20
+ },
21
+ m(s, r) {
22
+ I(e, s, r), n = !0;
23
+ },
24
+ i(s) {
25
+ n || (v(e.$$.fragment, s), n = !0);
26
+ },
27
+ o(s) {
28
+ w(e.$$.fragment, s), n = !1;
29
+ },
30
+ d(s) {
31
+ L(e, s);
32
+ }
33
+ };
34
+ }
35
+ function B(i) {
36
+ let e, n, s, r, c, t = i[1] && p();
37
+ return {
38
+ c() {
39
+ e = m("div"), t && t.c(), n = S(), s = m("div"), r = m("div"), r.innerHTML = `<div class="sound-wave__wrapper svelte-qf1c2k"><div class="sound-wave sound-wave-1 svelte-qf1c2k"></div>
40
+ <div class="sound-wave sound-wave-2 svelte-qf1c2k"></div>
41
+ <div class="sound-wave sound-wave-3 svelte-qf1c2k"></div></div>`, f(r, "class", "sound-wave__container svelte-qf1c2k"), f(s, "class", "audio-icon svelte-qf1c2k"), k(s, "playing", i[0]), f(e, "class", "audio-icon__wrapper svelte-qf1c2k"), f(e, "style", i[2]), u(e, "width", i[5]), u(e, "height", i[5]);
42
+ },
43
+ m(o, a) {
44
+ W(o, e, a), t && t.m(e, null), _(e, n), _(e, s), _(s, r), i[7](r), i[8](e), c = !0;
45
+ },
46
+ p(o, [a]) {
47
+ o[1] ? t ? a & 2 && v(t, 1) : (t = p(), t.c(), v(t, 1), t.m(e, n)) : t && (M(), w(t, 1, 1, () => {
48
+ t = null;
49
+ }), A()), (!c || a & 1) && k(s, "playing", o[0]), (!c || a & 4) && f(e, "style", o[2]), a & 32 && u(e, "width", o[5]), a & 32 && u(e, "height", o[5]);
50
+ },
51
+ i(o) {
52
+ c || (v(t), c = !0);
53
+ },
54
+ o(o) {
55
+ w(t), c = !1;
56
+ },
57
+ d(o) {
58
+ o && C(e), t && t.d(), i[7](null), i[8](null);
59
+ }
60
+ };
61
+ }
62
+ function D(i, e, n) {
63
+ let s, { playing: r } = e, { shadow: c = !1 } = e, { style: t = null } = e, { width: o = "100%" } = e, a, d;
64
+ function q(l) {
65
+ h[l ? "unshift" : "push"](() => {
66
+ d = l, n(4, d), n(3, a);
67
+ });
68
+ }
69
+ function y(l) {
70
+ h[l ? "unshift" : "push"](() => {
71
+ a = l, n(3, a);
72
+ });
73
+ }
74
+ return i.$$set = (l) => {
75
+ "playing" in l && n(0, r = l.playing), "shadow" in l && n(1, c = l.shadow), "style" in l && n(2, t = l.style), "width" in l && n(6, o = l.width);
76
+ }, i.$$.update = () => {
77
+ i.$$.dirty & 64 && n(5, s = typeof o == "number" ? T(o) : o), i.$$.dirty & 8 && a != null && a.clientWidth && n(4, d.style.transform = `scale(${a.clientWidth / 22})`, d);
78
+ }, [
79
+ r,
80
+ c,
81
+ t,
82
+ a,
83
+ d,
84
+ s,
85
+ o,
86
+ q,
87
+ y
88
+ ];
89
+ }
90
+ class N extends g {
91
+ constructor(e) {
92
+ super(), b(
93
+ this,
94
+ e,
95
+ D,
96
+ B,
97
+ j,
98
+ {
99
+ playing: 0,
100
+ shadow: 1,
101
+ style: 2,
102
+ width: 6
103
+ },
104
+ z
105
+ );
106
+ }
107
+ }
108
+ export {
109
+ N as default
110
+ };