@realsee/dnalogel 2.3.9-alpha.7 → 2.4.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 (482) hide show
  1. package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  2. package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -5
  3. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +5 -6
  4. package/dist/PanoMeasurePlugin/Controller/MixedController.d.ts +7 -9
  5. package/dist/PanoMeasurePlugin/Controller/ViewController.d.ts +6 -10
  6. package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +3 -3
  7. package/dist/PanoMeasurePlugin/Controller/index.d.ts +27 -9
  8. package/dist/PanoMeasurePlugin/Model/index.d.ts +17 -17
  9. package/dist/PanoMeasurePlugin/Model/line.d.ts +6 -4
  10. package/dist/PanoMeasurePlugin/Model/point.d.ts +2 -4
  11. package/dist/PanoMeasurePlugin/Model/polyline.d.ts +37 -12
  12. package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +2 -0
  13. package/dist/PanoMeasurePlugin/Modules/Magnifier.d.ts +29 -16
  14. package/dist/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +3 -4
  15. package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -2
  16. package/dist/PanoMeasurePlugin/index.d.ts +6 -2
  17. package/dist/PanoMeasurePlugin/typings/data.d.ts +6 -16
  18. package/dist/PanoMeasurePlugin/typings/event.type.d.ts +18 -14
  19. package/dist/PanoMeasurePlugin/typings/index.d.ts +4 -2
  20. package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +5 -3
  21. package/dist/PanoTagPlugin/Assets/Icon.d.ts +2 -3
  22. package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +2 -1
  23. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +22 -19
  24. package/dist/PanoTagPlugin/controller/index.d.ts +14 -25
  25. package/dist/PanoTagPlugin/index.d.ts +1 -1
  26. package/dist/PanoTagPlugin/typings/controller.d.ts +17 -23
  27. package/dist/PanoTagPlugin/typings/index.d.ts +1 -5
  28. package/dist/PanoTagPlugin/typings/tag.d.ts +247 -0
  29. package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +0 -1
  30. package/dist/index.cjs.js +112 -110
  31. package/dist/index.js +7139 -8277
  32. package/dist/index.umd.js +108 -106
  33. package/docs/assets/search.js +1 -1
  34. package/docs/classes/CSS3DRender.html +31 -31
  35. package/docs/classes/CruisePluginController.html +24 -24
  36. package/docs/classes/Magnifier.html +90 -40
  37. package/docs/classes/ModelRoomLabelController.html +11 -11
  38. package/docs/classes/Object3DHelperController.html +24 -24
  39. package/docs/classes/PaintBrush.html +15 -15
  40. package/docs/classes/PanoMeasurePluginLine.html +318 -0
  41. package/docs/classes/PanoMeasurePluginModel.html +275 -0
  42. package/docs/classes/PanoMeasurePluginPoint.html +160 -0
  43. package/docs/classes/PanoMeasurePluginPolyline.html +306 -0
  44. package/docs/classes/PanoTagPluginController.html +176 -223
  45. package/docs/classes/Util.BetterTween.html +8 -8
  46. package/docs/classes/Util.FivePointSelector.html +12 -12
  47. package/docs/classes/Util.Interval.html +12 -12
  48. package/docs/classes/Util.Magnifier.html +17 -17
  49. package/docs/classes/Util.PointDomHelper.html +11 -11
  50. package/docs/classes/Util.PointHelper.html +11 -11
  51. package/docs/classes/Util.Rectangle.html +13 -13
  52. package/docs/enums/CameraMovementEffect.html +7 -7
  53. package/docs/enums/ContentType.html +35 -75
  54. package/docs/enums/DIRECTION.html +9 -9
  55. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  56. package/docs/enums/DimensionType.html +15 -19
  57. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  58. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  59. package/docs/enums/LinkType.html +67 -0
  60. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  61. package/docs/enums/PointType.html +15 -19
  62. package/docs/enums/Rotation.html +8 -8
  63. package/docs/functions/CSS3DRenderPlugin.html +21 -42
  64. package/docs/functions/CameraMovementPlugin.html +21 -42
  65. package/docs/functions/CruisePlugin.html +21 -42
  66. package/docs/functions/GuideLinePlugin.html +22 -43
  67. package/docs/functions/ItemLabelPlugin.html +21 -42
  68. package/docs/functions/MapviewFloorplanPlugin.html +21 -42
  69. package/docs/functions/ModelChassisCompassPlugin.html +21 -42
  70. package/docs/functions/ModelEntryDoorGuidePlugin.html +21 -42
  71. package/docs/functions/ModelFloorplanPlugin.html +21 -42
  72. package/docs/functions/ModelItemLabelPlugin.html +21 -42
  73. package/docs/functions/ModelRoomLabelPlugin.html +21 -42
  74. package/docs/functions/ModelTVVideoPlugin.html +21 -42
  75. package/docs/functions/ModelViewPlugin.html +21 -42
  76. package/docs/functions/Object3DHelperPlugin.html +21 -42
  77. package/docs/functions/PanoCompassPlugin.html +21 -42
  78. package/docs/functions/PanoCursorRaycasterPlugin.html +21 -42
  79. package/docs/functions/PanoDoorLabelPlugin.html +21 -42
  80. package/docs/functions/PanoFloorplanRadarPlugin.html +21 -42
  81. package/docs/functions/PanoMeasurePlugin.html +21 -42
  82. package/docs/functions/PanoRulerPlugin.html +21 -42
  83. package/docs/functions/PanoRulerProPlugin.html +21 -42
  84. package/docs/functions/PanoSpatialTagPlugin.html +21 -42
  85. package/docs/functions/PanoTagPlugin.html +31 -48
  86. package/docs/functions/TopviewFloorplanPlugin.html +21 -42
  87. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  88. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  89. package/docs/functions/Util.getFrameTime.html +5 -5
  90. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  91. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  92. package/docs/functions/Util.isNil.html +5 -5
  93. package/docs/functions/Util.nextFrame.html +5 -5
  94. package/docs/functions/Util.notNil.html +5 -5
  95. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  96. package/docs/functions/Util.tweenProgress.html +5 -5
  97. package/docs/functions/pluginFlag.html +22 -43
  98. package/docs/index.html +21 -42
  99. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  100. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  101. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  102. package/docs/interfaces/ContentTypeMap.html +212 -0
  103. package/docs/interfaces/FloorplanBounding.html +8 -8
  104. package/docs/interfaces/FloorplanData.html +10 -10
  105. package/docs/interfaces/FloorplanEntrance.html +11 -11
  106. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  107. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  108. package/docs/interfaces/FloorplanFloorData.html +9 -9
  109. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  110. package/docs/interfaces/FloorplanObserver.html +9 -9
  111. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  112. package/docs/interfaces/FloorplanPosition.html +7 -7
  113. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  114. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  115. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  116. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  117. package/docs/interfaces/FloorplanServerData.html +7 -7
  118. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  119. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  120. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  121. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  122. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  123. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  124. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  125. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  126. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  127. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  128. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  129. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  130. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  131. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  132. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  133. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  134. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  135. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  136. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  137. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  138. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  139. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  140. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  141. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  142. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  143. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  144. package/docs/interfaces/Object3DHelperState.html +8 -8
  145. package/docs/interfaces/PaintBrushAction.html +12 -12
  146. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  147. package/docs/interfaces/PaintBrushState.html +10 -10
  148. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  149. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +22 -43
  150. package/docs/interfaces/PanoMeasureParameterType.html +24 -14
  151. package/docs/interfaces/{PointJson.html → PanoMeasurePluginLineJson.html} +24 -24
  152. package/docs/interfaces/{OpenParameter.html → PanoMeasurePluginOpenParameter.html} +15 -15
  153. package/docs/interfaces/{LineJson.html → PanoMeasurePluginPointJson.html} +18 -18
  154. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +80 -0
  155. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  156. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  157. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  158. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  159. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  160. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  161. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  162. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +22 -43
  163. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +22 -43
  164. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  165. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  166. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  167. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  168. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  169. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  170. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  171. package/docs/interfaces/Point.html +8 -8
  172. package/docs/interfaces/Room.html +9 -9
  173. package/docs/interfaces/RoomInfo.html +7 -7
  174. package/docs/interfaces/RoomLabel.html +14 -14
  175. package/docs/interfaces/RoomRules.html +22 -43
  176. package/docs/interfaces/Rooms.html +22 -43
  177. package/docs/interfaces/Scissor.html +9 -9
  178. package/docs/interfaces/TagConfig.html +19 -15
  179. package/docs/interfaces/Tags.html +12 -14
  180. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  181. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  182. package/docs/modules/Util.html +5 -5
  183. package/docs/modules.html +37 -79
  184. package/docs/types/ArrayPosition.html +23 -44
  185. package/docs/types/CSS3DRenderExportType.html +22 -43
  186. package/docs/types/CSS3DRenderPluginExportType.html +22 -43
  187. package/docs/types/CSS3DRenderPluginParameterType.html +22 -43
  188. package/docs/types/Color.html +22 -43
  189. package/docs/types/ContentTypeConfigKey.html +23 -44
  190. package/docs/types/{PanoIndex.html → ContentTypeConfigKeyArray.html} +25 -46
  191. package/docs/types/Create3DDomContainerReturnType.html +22 -43
  192. package/docs/types/Create3DElementReturnType.html +22 -43
  193. package/docs/types/CruisePluginExportType.html +22 -43
  194. package/docs/types/Direction-1.html +22 -43
  195. package/docs/types/Direction4.html +22 -43
  196. package/docs/types/FloorplanRuleLabels.html +22 -43
  197. package/docs/types/FloorplanServerRuleLabels.html +22 -43
  198. package/docs/types/GuideLinePluginExportType.html +22 -43
  199. package/docs/types/HelperEventMap.html +22 -43
  200. package/docs/types/MapviewFloorplanPluginParameterType.html +22 -43
  201. package/docs/types/MapviewFloorplanPluginReturnType.html +22 -43
  202. package/docs/types/MediaData.html +22 -43
  203. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +22 -43
  204. package/docs/types/ModelFloorplanPluginParameterType.html +22 -43
  205. package/docs/types/ModelFloorplanPluginReturnType.html +22 -43
  206. package/docs/types/ModelRoomLabelPluginParameters.html +22 -43
  207. package/docs/types/ModelRoomLabelPluginReturnType.html +22 -43
  208. package/docs/types/MoveArgs.html +22 -43
  209. package/docs/types/MoveOpts.html +22 -43
  210. package/docs/types/Object3DHelperEventMap.html +22 -43
  211. package/docs/types/ObjectFit.html +22 -43
  212. package/docs/types/PaintBrushEventMap.html +22 -43
  213. package/docs/types/PanoCompassPluginData.html +22 -43
  214. package/docs/types/PanoCompassPluginExportType.html +22 -43
  215. package/docs/types/PanoCompassPluginParameterType.html +22 -43
  216. package/docs/types/PanoFloorplanRadarPluginParameterType.html +22 -43
  217. package/docs/types/PanoFloorplanRadarPluginReturnType.html +22 -43
  218. package/docs/types/PanoMeasurePluginEvent.html +22 -43
  219. package/docs/types/PanoMeasureReturnType.html +22 -43
  220. package/docs/types/PanoSpatialTagPluginId.html +22 -43
  221. package/docs/types/PanoTagPluginExportInterface.html +22 -43
  222. package/docs/types/PanoTagPluginParamsInterface.html +22 -43
  223. package/docs/types/PlaneTag.html +27 -46
  224. package/docs/types/PointTag.html +31 -46
  225. package/docs/types/Position.html +22 -43
  226. package/docs/types/RotateArgs.html +22 -43
  227. package/docs/types/RotateOpts.html +22 -43
  228. package/docs/types/RuleLabelsKey.html +22 -43
  229. package/docs/types/RuleLabelsValue.html +22 -43
  230. package/docs/types/Tag.html +30 -47
  231. package/docs/types/Tag2D.html +28 -48
  232. package/docs/types/Tag3D.html +28 -48
  233. package/docs/types/TagId.html +22 -43
  234. package/docs/types/TopviewFloorplanPluginParameterType.html +22 -43
  235. package/docs/types/TopviewFloorplanPluginReturnType.html +22 -43
  236. package/docs/variables/FLOOR_TYPE_MAP.html +22 -43
  237. package/docs/variables/PLUGIN.html +22 -43
  238. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +22 -43
  239. package/docs/variables/ROOM_TYPE_MAP.html +22 -43
  240. package/docs/variables/VERSION.html +22 -43
  241. package/docs/variables/itemLabelPluginServerParams.html +22 -43
  242. package/docs/variables/modelItemLabelPluginServerParams.html +22 -43
  243. package/docs/variables/modelRoomLabelPluginServerParams.html +22 -43
  244. package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -1
  245. package/libs/CSS3DRenderPlugin/Controller.js +2 -2
  246. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +1 -1
  247. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +1 -1
  248. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +4 -4
  249. package/libs/CSS3DRenderPlugin/utils/index.js +0 -12
  250. package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  251. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +3 -4
  252. package/libs/CSS3DRenderPlugin/utils/random.js +1 -6
  253. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +2 -3
  254. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +1 -2
  255. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +4 -6
  256. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +1 -1
  257. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +6 -6
  258. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +13 -13
  259. package/libs/CruisePlugin/Controller.js +2 -2
  260. package/libs/CruisePlugin/utils/coordinatesAngle.js +2 -3
  261. package/libs/CruisePlugin/utils/linerValue.js +4 -4
  262. package/libs/GuideLinePlugin/Controller.js +1 -1
  263. package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
  264. package/libs/Object3DHelperPlugin/Controller.js +36 -38
  265. package/libs/PanoCompassPlugin/Controller.js +3 -8
  266. package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -5
  267. package/libs/PanoMeasurePlugin/Controller/BaseController.js +18 -28
  268. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +5 -6
  269. package/libs/PanoMeasurePlugin/Controller/EditController.js +57 -70
  270. package/libs/PanoMeasurePlugin/Controller/MixedController.d.ts +7 -9
  271. package/libs/PanoMeasurePlugin/Controller/MixedController.js +43 -54
  272. package/libs/PanoMeasurePlugin/Controller/ViewController.d.ts +6 -10
  273. package/libs/PanoMeasurePlugin/Controller/ViewController.js +43 -84
  274. package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +3 -3
  275. package/libs/PanoMeasurePlugin/Controller/WatchController.js +51 -68
  276. package/libs/PanoMeasurePlugin/Controller/index.d.ts +27 -9
  277. package/libs/PanoMeasurePlugin/Controller/index.js +118 -130
  278. package/libs/PanoMeasurePlugin/Model/index.d.ts +17 -17
  279. package/libs/PanoMeasurePlugin/Model/index.js +47 -77
  280. package/libs/PanoMeasurePlugin/Model/line.d.ts +6 -4
  281. package/libs/PanoMeasurePlugin/Model/line.js +29 -29
  282. package/libs/PanoMeasurePlugin/Model/point.d.ts +2 -4
  283. package/libs/PanoMeasurePlugin/Model/point.js +7 -7
  284. package/libs/PanoMeasurePlugin/Model/polyline.d.ts +37 -12
  285. package/libs/PanoMeasurePlugin/Model/polyline.js +90 -37
  286. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
  287. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
  288. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
  289. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +5 -5
  290. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
  291. package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +2 -0
  292. package/libs/PanoMeasurePlugin/Modules/GuideController.js +16 -11
  293. package/libs/PanoMeasurePlugin/Modules/Magnifier.d.ts +29 -16
  294. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +114 -63
  295. package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +3 -3
  296. package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +5 -4
  297. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +3 -4
  298. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +21 -21
  299. package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -2
  300. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +24 -24
  301. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +2 -2
  302. package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +5 -4
  303. package/libs/PanoMeasurePlugin/Modules/UIController/style.js +18 -26
  304. package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +3 -4
  305. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +5 -8
  306. package/libs/PanoMeasurePlugin/index.d.ts +6 -2
  307. package/libs/PanoMeasurePlugin/index.js +33 -29
  308. package/libs/PanoMeasurePlugin/typings/data.d.ts +6 -16
  309. package/libs/PanoMeasurePlugin/typings/event.type.d.ts +18 -14
  310. package/libs/PanoMeasurePlugin/typings/index.d.ts +4 -2
  311. package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
  312. package/libs/PanoMeasurePlugin/utils/constants.js +16 -15
  313. package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +5 -3
  314. package/libs/PanoMeasurePlugin/utils/distanceDom.js +65 -41
  315. package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +6 -7
  316. package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
  317. package/libs/PanoMeasurePlugin/utils/line.js +0 -1
  318. package/libs/PanoMeasurePlugin/utils/math.js +1 -2
  319. package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
  320. package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -3
  321. package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
  322. package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
  323. package/libs/PanoTagPlugin/Assets/Icon.d.ts +2 -3
  324. package/libs/PanoTagPlugin/Assets/Icon.js +3 -4
  325. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  326. package/libs/PanoTagPlugin/Components/Common/Audio.js +140 -103
  327. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +30 -30
  328. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +59 -95
  329. package/libs/PanoTagPlugin/Components/Common/Media.js +249 -275
  330. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +79 -143
  331. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +170 -0
  332. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +50 -0
  333. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +50 -0
  334. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +166 -0
  335. package/libs/PanoTagPlugin/Components/Common/Shadow.js +10 -11
  336. package/libs/PanoTagPlugin/Components/Common/Text.js +130 -0
  337. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +131 -0
  338. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  339. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +131 -126
  340. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +97 -75
  341. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +143 -166
  342. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +45 -75
  343. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +122 -0
  344. package/libs/PanoTagPlugin/Components/Tag/index.js +157 -265
  345. package/libs/PanoTagPlugin/Components/TagContainer.js +109 -165
  346. package/libs/PanoTagPlugin/Components/TagWrapper.js +152 -0
  347. package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +2 -1
  348. package/libs/PanoTagPlugin/controller/TagCacheController.js +2 -3
  349. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +22 -19
  350. package/libs/PanoTagPlugin/controller/TagComputer.js +151 -186
  351. package/libs/PanoTagPlugin/controller/index.d.ts +14 -25
  352. package/libs/PanoTagPlugin/controller/index.js +170 -266
  353. package/libs/PanoTagPlugin/index.d.ts +1 -1
  354. package/libs/PanoTagPlugin/index.js +35 -52
  355. package/libs/PanoTagPlugin/tag.config.js +16 -31
  356. package/libs/PanoTagPlugin/typings/controller.d.ts +17 -23
  357. package/libs/PanoTagPlugin/typings/index.d.ts +1 -5
  358. package/libs/PanoTagPlugin/typings/index.js +1 -7
  359. package/libs/PanoTagPlugin/typings/tag.d.ts +247 -0
  360. package/libs/PanoTagPlugin/typings/tag.js +7 -0
  361. package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +0 -1
  362. package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +1 -7
  363. package/libs/PanoTagPlugin/utils/constants.js +1 -2
  364. package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
  365. package/libs/PanoTagPlugin/utils/index.js +0 -36
  366. package/libs/PanoTagPlugin/utils/search.js +9 -27
  367. package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
  368. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  369. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +6 -10
  370. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
  371. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -83
  372. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  373. package/libs/index.js +120 -129
  374. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +39 -29
  375. package/libs/vendor/svelte/internal/index.js +338 -382
  376. package/package.json +3 -3
  377. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +0 -53
  378. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -88
  379. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -155
  380. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -53
  381. package/dist/PanoTagPlugin/utils/audio/SharedAudio.d.ts +0 -16
  382. package/dist/PanoTagPlugin/utils/color.d.ts +0 -7
  383. package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +0 -16
  384. package/dist/PanoTagPlugin/utils/px2rem.d.ts +0 -1
  385. package/dist/PanoTagPlugin/utils/tag/format.d.ts +0 -2
  386. package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +0 -7
  387. package/dist/PanoTagPlugin/utils/timeToString.d.ts +0 -1
  388. package/dist/shared-utils/audio.d.ts +0 -31
  389. package/docs/interfaces/AddTagConfig.html +0 -64
  390. package/docs/interfaces/EventMap.html +0 -298
  391. package/docs/interfaces/MinMax.html +0 -71
  392. package/docs/interfaces/State.html +0 -89
  393. package/docs/interfaces/TagCache.html +0 -92
  394. package/docs/interfaces/TagIconUrl.html +0 -91
  395. package/docs/interfaces/TemporaryState.html +0 -64
  396. package/docs/types/AudioAppearance.html +0 -251
  397. package/docs/types/AudioTagTypeConfigKey.html +0 -251
  398. package/docs/types/ContentTypeConfigKeySplit.html +0 -251
  399. package/docs/types/ContentTypeMap.html +0 -251
  400. package/docs/types/LoadTagConfig.html +0 -251
  401. package/docs/types/MediaStore.html +0 -251
  402. package/docs/types/PlaneTagElement.html +0 -256
  403. package/docs/types/Point2DElement.html +0 -256
  404. package/docs/types/Point2DTag.html +0 -258
  405. package/docs/types/Point3DElement.html +0 -256
  406. package/docs/types/Point3DTag.html +0 -258
  407. package/docs/types/PointTagElement.html +0 -256
  408. package/docs/types/StickType.html +0 -251
  409. package/docs/types/TagContentType.html +0 -251
  410. package/docs/types/TagDimensionType.html +0 -251
  411. package/docs/types/TagElement.html +0 -258
  412. package/docs/types/TagEvents.html +0 -286
  413. package/docs/types/TagHooks.html +0 -251
  414. package/docs/types/TagIconSize.html +0 -254
  415. package/docs/types/TagPointType.html +0 -254
  416. package/docs/types/WorkCode.html +0 -251
  417. package/libs/GuideLinePlugin/utils/getPoint.d.ts +0 -3
  418. package/libs/GuideLinePlugin/utils/getPoint.js +0 -18
  419. package/libs/PanoMeasurePlugin/typings/data.js +0 -1
  420. package/libs/PanoMeasurePlugin/typings/event.type.js +0 -1
  421. package/libs/PanoMeasurePlugin/typings/index.js +0 -1
  422. package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +0 -1
  423. package/libs/PanoMeasurePlugin/typings/utils.type.js +0 -1
  424. package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +0 -2
  425. package/libs/PanoMeasurePlugin/utils/clearGroup.js +0 -6
  426. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +0 -198
  427. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +0 -108
  428. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +0 -81
  429. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +0 -145
  430. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +0 -195
  431. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +0 -166
  432. package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
  433. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +0 -195
  434. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +0 -223
  435. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +0 -125
  436. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +0 -102
  437. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +0 -134
  438. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +0 -115
  439. package/libs/PanoTagPlugin/Components/TagItem.js +0 -254
  440. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +0 -4
  441. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +0 -6
  442. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +0 -93
  443. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +0 -5622
  444. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +0 -1325
  445. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +0 -173
  446. package/libs/PanoTagPlugin/mocks/v1/mock1.js +0 -122
  447. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +0 -233
  448. package/libs/PanoTagPlugin/mocks/v1/mock2.js +0 -296
  449. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +0 -22
  450. package/libs/PanoTagPlugin/mocks/v1/mock3.js +0 -32
  451. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +0 -56
  452. package/libs/PanoTagPlugin/mocks/v1/mock4.js +0 -60
  453. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +0 -13
  454. package/libs/PanoTagPlugin/mocks/v1/mock5.js +0 -17
  455. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +0 -16
  456. package/libs/PanoTagPlugin/mocks/v1/mock6.js +0 -27
  457. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +0 -22
  458. package/libs/PanoTagPlugin/mocks/v1/mock7.js +0 -228
  459. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +0 -53
  460. package/libs/PanoTagPlugin/typings/tag/Tag.js +0 -4
  461. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -88
  462. package/libs/PanoTagPlugin/typings/tag/TagConfig.js +0 -1
  463. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -155
  464. package/libs/PanoTagPlugin/typings/tag/TagData.js +0 -4
  465. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -53
  466. package/libs/PanoTagPlugin/typings/tag/Utils.js +0 -5
  467. package/libs/PanoTagPlugin/utils/audio/SharedAudio.d.ts +0 -16
  468. package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +0 -107
  469. package/libs/PanoTagPlugin/utils/color.d.ts +0 -7
  470. package/libs/PanoTagPlugin/utils/color.js +0 -17
  471. package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +0 -16
  472. package/libs/PanoTagPlugin/utils/getImageInfo.js +0 -51
  473. package/libs/PanoTagPlugin/utils/px2rem.d.ts +0 -1
  474. package/libs/PanoTagPlugin/utils/px2rem.js +0 -6
  475. package/libs/PanoTagPlugin/utils/tag/format.d.ts +0 -2
  476. package/libs/PanoTagPlugin/utils/tag/format.js +0 -18
  477. package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +0 -7
  478. package/libs/PanoTagPlugin/utils/tag/tagCheck.js +0 -26
  479. package/libs/PanoTagPlugin/utils/timeToString.d.ts +0 -1
  480. package/libs/PanoTagPlugin/utils/timeToString.js +0 -7
  481. package/libs/shared-utils/audio.d.ts +0 -31
  482. package/libs/shared-utils/audio.js +0 -81
@@ -1,164 +1,141 @@
1
- import { SvelteComponent as de, init as ce, safe_not_equal as ge, append_styles as pe, element as h, create_component as be, space as A, text as D, attr as c, set_style as R, src_url_equal as j, toggle_class as Y, insert as S, mount_component as ue, append as d, set_data as E, transition_in as he, transition_out as ve, detach as T, destroy_component as ke, destroy_each as $, empty as fe } from "../../../vendor/svelte/internal/index.js";
2
- import "hammerjs";
3
- import "three";
4
- import "@realsee/five";
5
- import "@tweenjs/tween.js";
6
- import "../../../CSS3DRenderPlugin/CSS3DRender.js";
7
- import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
8
- import { notNil as L } from "../../../shared-utils/isNil.js";
9
- import "../../../shared-utils/animationFrame/BetterTween.js";
10
- import ye from "../Common/Shadow.js";
11
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
12
- import "three/examples/jsm/renderers/CSS3DRenderer";
13
- import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
14
- import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
15
- import "../../../CSS3DRenderPlugin/utils/even.js";
16
- import "../../../shared-utils/Subscribe.js";
17
- import "../../../CSS3DRenderPlugin/utils/positionToVector3.js";
18
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
19
- import "../../../CSS3DRenderPlugin/utils/centerPoint.js";
20
- import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
21
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
22
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
23
- import "../../../shared-utils/animationFrame/index.js";
24
- import "../../../vendor/svelte/transition/index.js";
25
- import "../../../vendor/svelte/easing/index.js";
26
- function _e(l) {
27
- pe(l, "svelte-8mby9k", ".svelte-8mby9k.svelte-8mby9k{box-sizing:border-box}.marketing.svelte-8mby9k.svelte-8mby9k{transform:translateY(-100%)}.content.svelte-8mby9k .headerImage.svelte-8mby9k{position:absolute;width:100%;top:0.25rem;transform:translateY(-100%);border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}.line.svelte-8mby9k.svelte-8mby9k{position:absolute;height:2.0625rem;width:0.0625rem;left:50%;transform:translateX(-50%);background-color:white;bottom:0;transform-origin:bottom;transition:all 500ms}.content.svelte-8mby9k.svelte-8mby9k{background-color:white;position:relative;display:flex;flex-direction:column;min-width:11.125rem;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;border-radius:0.25rem;top:-1.875rem;left:-1rem;padding:0.5rem 0rem 0.5625rem;transition:all 500ms}.title.svelte-8mby9k.svelte-8mby9k{position:absolute;background-color:white;border-radius:0.25rem;width:100%;top:0.5rem;padding-left:0.75rem;padding-right:0.75rem}.title.svelte-8mby9k .text.svelte-8mby9k{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:0.75rem;font-weight:bold;line-height:1.125rem;color:#000}.footer.svelte-8mby9k.svelte-8mby9k{position:relative;padding-left:0.75rem;padding-right:0.75rem;width:100%;height:1.375rem;display:flex;align-items:center}.footer.svelte-8mby9k .goto-button.svelte-8mby9k{flex-shrink:0;white-space:nowrap;background-image:linear-gradient(to right, rgba(87, 144, 253, 1) 0, rgba(42, 114, 254, 1) 100%);color:#fff;font-size:0.625rem;border-radius:0.875rem;font-weight:bold;padding-left:0.5rem;padding-right:0.5rem;height:1.25rem;margin-left:auto;display:flex;align-items:center}.footer.svelte-8mby9k .goto-icon.svelte-8mby9k::after{content:'';display:inline-block;width:0.75rem;height:0.75rem;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAeFBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////GqOSsAAAAJ3RSTlMAFNO2pYt4bErz8uP6ysawgVtBPDcR5C4s2L6ZmJBzZGJXUyEeDws/0G2zAAAAkklEQVQ4y+3TRw6DMBAF0OAeJ3QCpCe0uf8NwRILLBYfiS1/aT3JoymnI+sERZ5VCH0iVto3QDfBLmeSSMUTogRV9bBEpJAKaYpGijn13aTSLeraeG9D0NZFZv4/rRL5FDHnITlllqjv6tykWsmX4JHr05y7j6oFKq2P8He48B0tAM0EY0EDxquClw6vLz6EI35GmwwSZpe+WOgAAAAASUVORK5CYII=);background-size:100% auto;background-repeat:no-repeat}.price.svelte-8mby9k.svelte-8mby9k{flex-shrink:0;margin-right:0.75rem;white-space:nowrap;color:#ff6600;display:flex;align-items:baseline}.price.svelte-8mby9k .value.svelte-8mby9k{position:relative;top:0.0625rem;font-size:1.125rem;line-height:1.375rem;font-family:TG-TYPE, PingFangSC, Segoe UI, Rototo, sans-serif;letter-spacing:0rem}.price.svelte-8mby9k .unit.svelte-8mby9k{padding-left:0.125rem;font-size:0.625rem}.tag.svelte-8mby9k.svelte-8mby9k{position:relative;background-color:white;display:flex;width:-moz-max-content;width:max-content;padding-left:0.75rem;padding-right:0.75rem;min-height:1.75rem}.tag.svelte-8mby9k .base-tag.svelte-8mby9k{height:1rem;margin-top:1.375rem;margin-bottom:0.5rem;margin-right:0.25rem;font-size:0.625rem;line-height:0.875rem;padding:0.0625rem 0.25rem;border-radius:0.125rem;overflow:hidden}.tag.svelte-8mby9k .primary-tag.svelte-8mby9k{background:#e5eefe;color:#0055ff}.tag.svelte-8mby9k .secondary-tag.svelte-8mby9k{background:rgba(255, 102, 0, 0.08);color:rgba(255, 102, 0, 1)}.unfolded.svelte-8mby9k .line.svelte-8mby9k{transform:translateX(-50%) scale(1, 1)}.folded.svelte-8mby9k .line.svelte-8mby9k{transform:translateX(-50%) scale(1, 0);transition-timing-function:ease-in}.unfolded.svelte-8mby9k .content.svelte-8mby9k{opacity:1}.folded.svelte-8mby9k .content.svelte-8mby9k{opacity:0;transform:translateY(0.425rem);transition-timing-function:ease-in}");
1
+ import { SvelteComponent as fe, init as de, safe_not_equal as ce, append_styles as ge, element as p, create_component as ue, space as A, text as D, attr as g, set_style as R, src_url_equal as W, toggle_class as Y, insert as S, mount_component as be, append as f, set_data as E, transition_in as he, transition_out as ve, detach as T, destroy_component as pe, destroy_each as j, empty as me } from "../../../vendor/svelte/internal/index.js";
2
+ import { Shadow as ke } from "../Common/Shadow.js";
3
+ function ye(i) {
4
+ ge(i, "svelte-8mby9k", ".svelte-8mby9k.svelte-8mby9k{box-sizing:border-box}.marketing.svelte-8mby9k.svelte-8mby9k{transform:translateY(-100%)}.content.svelte-8mby9k .headerImage.svelte-8mby9k{position:absolute;width:100%;top:0.25rem;transform:translateY(-100%);border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}.line.svelte-8mby9k.svelte-8mby9k{position:absolute;height:2.0625rem;width:0.0625rem;left:50%;transform:translateX(-50%);background-color:white;bottom:0;transform-origin:bottom;transition:all 500ms}.content.svelte-8mby9k.svelte-8mby9k{background-color:white;position:relative;display:flex;flex-direction:column;min-width:11.125rem;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;border-radius:0.25rem;top:-1.875rem;left:-1rem;padding:0.5rem 0rem 0.5625rem;transition:all 500ms}.title.svelte-8mby9k.svelte-8mby9k{position:absolute;background-color:white;border-radius:0.25rem;width:100%;top:0.5rem;padding-left:0.75rem;padding-right:0.75rem}.title.svelte-8mby9k .text.svelte-8mby9k{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:0.75rem;font-weight:bold;line-height:1.125rem;color:#000}.footer.svelte-8mby9k.svelte-8mby9k{position:relative;padding-left:0.75rem;padding-right:0.75rem;width:100%;height:1.375rem;display:flex;align-items:center}.footer.svelte-8mby9k .goto-button.svelte-8mby9k{flex-shrink:0;white-space:nowrap;background-image:linear-gradient(to right, rgba(87, 144, 253, 1) 0, rgba(42, 114, 254, 1) 100%);color:#fff;font-size:0.625rem;border-radius:0.875rem;font-weight:bold;padding-left:0.5rem;padding-right:0.5rem;height:1.25rem;margin-left:auto;display:flex;align-items:center}.footer.svelte-8mby9k .goto-icon.svelte-8mby9k::after{content:'';display:inline-block;width:0.75rem;height:0.75rem;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAeFBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////GqOSsAAAAJ3RSTlMAFNO2pYt4bErz8uP6ysawgVtBPDcR5C4s2L6ZmJBzZGJXUyEeDws/0G2zAAAAkklEQVQ4y+3TRw6DMBAF0OAeJ3QCpCe0uf8NwRILLBYfiS1/aT3JoymnI+sERZ5VCH0iVto3QDfBLmeSSMUTogRV9bBEpJAKaYpGijn13aTSLeraeG9D0NZFZv4/rRL5FDHnITlllqjv6tykWsmX4JHr05y7j6oFKq2P8He48B0tAM0EY0EDxquClw6vLz6EI35GmwwSZpe+WOgAAAAASUVORK5CYII=);background-size:100% auto;background-repeat:no-repeat}.price.svelte-8mby9k.svelte-8mby9k{flex-shrink:0;margin-right:0.75rem;white-space:nowrap;color:#ff6600;display:flex;align-items:baseline}.price.svelte-8mby9k .value.svelte-8mby9k{position:relative;top:0.0625rem;font-size:1.125rem;line-height:1.375rem;font-family:TG-TYPE, PingFangSC, Segoe UI, Rototo, sans-serif;letter-spacing:0rem}.price.svelte-8mby9k .unit.svelte-8mby9k{padding-left:0.125rem;font-size:0.625rem}.tag.svelte-8mby9k.svelte-8mby9k{position:relative;background-color:white;display:flex;width:-moz-max-content;width:max-content;padding-left:0.75rem;padding-right:0.75rem;min-height:1.75rem}.tag.svelte-8mby9k .base-tag.svelte-8mby9k{height:1rem;margin-top:1.375rem;margin-bottom:0.5rem;margin-right:0.25rem;font-size:0.625rem;line-height:0.875rem;padding:0.0625rem 0.25rem;border-radius:0.125rem;overflow:hidden}.tag.svelte-8mby9k .primary-tag.svelte-8mby9k{background:#e5eefe;color:#0055ff}.tag.svelte-8mby9k .secondary-tag.svelte-8mby9k{background:rgba(255, 102, 0, 0.08);color:rgba(255, 102, 0, 1)}.unfolded.svelte-8mby9k .line.svelte-8mby9k{transform:translateX(-50%) scale(1, 1)}.folded.svelte-8mby9k .line.svelte-8mby9k{transform:translateX(-50%) scale(1, 0);transition-timing-function:ease-in}.unfolded.svelte-8mby9k .content.svelte-8mby9k{opacity:1}.folded.svelte-8mby9k .content.svelte-8mby9k{opacity:0;transform:translateY(0.425rem);transition-timing-function:ease-in}");
28
5
  }
29
- function x(l, t, e) {
30
- const i = l.slice();
31
- return i[0] = t[e], i;
6
+ function $(i, t, e) {
7
+ const l = i.slice();
8
+ return l[0] = t[e], l;
32
9
  }
33
- function ee(l, t, e) {
34
- const i = l.slice();
35
- return i[0] = t[e], i;
10
+ function x(i, t, e) {
11
+ const l = i.slice();
12
+ return l[0] = t[e], l;
36
13
  }
37
- function te(l) {
38
- let t, e = l[0] + "", i;
14
+ function ee(i) {
15
+ let t, e = i[0] + "", l;
39
16
  return {
40
17
  c() {
41
- t = h("div"), i = D(e), c(t, "class", "base-tag primary-tag svelte-8mby9k");
18
+ t = p("div"), l = D(e), g(t, "class", "base-tag primary-tag svelte-8mby9k");
42
19
  },
43
- m(r, m) {
44
- S(r, t, m), d(t, i);
20
+ m(n, s) {
21
+ S(n, t, s), f(t, l);
45
22
  },
46
- p(r, m) {
47
- m & 4 && e !== (e = r[0] + "") && E(i, e);
23
+ p(n, s) {
24
+ s & 4 && e !== (e = n[0] + "") && E(l, e);
48
25
  },
49
- d(r) {
50
- r && T(t);
26
+ d(n) {
27
+ n && T(t);
51
28
  }
52
29
  };
53
30
  }
54
- function ie(l) {
55
- let t, e = l[0] && te(l);
31
+ function te(i) {
32
+ let t, e = i[0] && ee(i);
56
33
  return {
57
34
  c() {
58
- e && e.c(), t = fe();
35
+ e && e.c(), t = me();
59
36
  },
60
- m(i, r) {
61
- e && e.m(i, r), S(i, t, r);
37
+ m(l, n) {
38
+ e && e.m(l, n), S(l, t, n);
62
39
  },
63
- p(i, r) {
64
- i[0] ? e ? e.p(i, r) : (e = te(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
40
+ p(l, n) {
41
+ l[0] ? e ? e.p(l, n) : (e = ee(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
65
42
  },
66
- d(i) {
67
- e && e.d(i), i && T(t);
43
+ d(l) {
44
+ e && e.d(l), l && T(t);
68
45
  }
69
46
  };
70
47
  }
71
- function le(l) {
72
- let t, e = l[0] + "", i;
48
+ function le(i) {
49
+ let t, e = i[0] + "", l;
73
50
  return {
74
51
  c() {
75
- t = h("div"), i = D(e), c(t, "class", "base-tag secondary-tag svelte-8mby9k");
52
+ t = p("div"), l = D(e), g(t, "class", "base-tag secondary-tag svelte-8mby9k");
76
53
  },
77
- m(r, m) {
78
- S(r, t, m), d(t, i);
54
+ m(n, s) {
55
+ S(n, t, s), f(t, l);
79
56
  },
80
- p(r, m) {
81
- m & 4 && e !== (e = r[0] + "") && E(i, e);
57
+ p(n, s) {
58
+ s & 4 && e !== (e = n[0] + "") && E(l, e);
82
59
  },
83
- d(r) {
84
- r && T(t);
60
+ d(n) {
61
+ n && T(t);
85
62
  }
86
63
  };
87
64
  }
88
- function re(l) {
89
- let t, e = l[0] && le(l);
65
+ function ie(i) {
66
+ let t, e = i[0] && le(i);
90
67
  return {
91
68
  c() {
92
- e && e.c(), t = fe();
69
+ e && e.c(), t = me();
93
70
  },
94
- m(i, r) {
95
- e && e.m(i, r), S(i, t, r);
71
+ m(l, n) {
72
+ e && e.m(l, n), S(l, t, n);
96
73
  },
97
- p(i, r) {
98
- i[0] ? e ? e.p(i, r) : (e = le(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
74
+ p(l, n) {
75
+ l[0] ? e ? e.p(l, n) : (e = le(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
99
76
  },
100
- d(i) {
101
- e && e.d(i), i && T(t);
77
+ d(l) {
78
+ e && e.d(l), l && T(t);
102
79
  }
103
80
  };
104
81
  }
105
- function oe(l) {
106
- let t, e, i = l[2].price.value + "", r, m, n = l[2].price.unit && ne(l);
82
+ function ne(i) {
83
+ let t, e, l = i[2].price.value + "", n, s, o = i[2].price.unit && re(i);
107
84
  return {
108
85
  c() {
109
- t = h("div"), e = h("span"), r = D(i), m = A(), n && n.c(), c(e, "class", "value svelte-8mby9k"), c(t, "class", "price svelte-8mby9k");
86
+ t = p("div"), e = p("span"), n = D(l), s = A(), o && o.c(), g(e, "class", "value svelte-8mby9k"), g(t, "class", "price svelte-8mby9k");
110
87
  },
111
- m(f, v) {
112
- S(f, t, v), d(t, e), d(e, r), d(t, m), n && n.m(t, null);
88
+ m(m, k) {
89
+ S(m, t, k), f(t, e), f(e, n), f(t, s), o && o.m(t, null);
113
90
  },
114
- p(f, v) {
115
- v & 4 && i !== (i = f[2].price.value + "") && E(r, i), f[2].price.unit ? n ? n.p(f, v) : (n = ne(f), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
91
+ p(m, k) {
92
+ k & 4 && l !== (l = m[2].price.value + "") && E(n, l), m[2].price.unit ? o ? o.p(m, k) : (o = re(m), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
116
93
  },
117
- d(f) {
118
- f && T(t), n && n.d();
94
+ d(m) {
95
+ m && T(t), o && o.d();
119
96
  }
120
97
  };
121
98
  }
122
- function ne(l) {
123
- let t, e = l[2].price.unit + "", i;
99
+ function re(i) {
100
+ let t, e = i[2].price.unit + "", l;
124
101
  return {
125
102
  c() {
126
- t = h("span"), i = D(e), c(t, "class", "unit svelte-8mby9k");
103
+ t = p("span"), l = D(e), g(t, "class", "unit svelte-8mby9k");
127
104
  },
128
- m(r, m) {
129
- S(r, t, m), d(t, i);
105
+ m(n, s) {
106
+ S(n, t, s), f(t, l);
130
107
  },
131
- p(r, m) {
132
- m & 4 && e !== (e = r[2].price.unit + "") && E(i, e);
108
+ p(n, s) {
109
+ s & 4 && e !== (e = n[2].price.unit + "") && E(l, e);
133
110
  },
134
- d(r) {
135
- r && T(t);
111
+ d(n) {
112
+ n && T(t);
136
113
  }
137
114
  };
138
115
  }
139
- function ae(l) {
140
- let t, e = l[2].highlightText + "", i;
116
+ function oe(i) {
117
+ let t, e = i[2].highlightText + "", l;
141
118
  return {
142
119
  c() {
143
- t = h("div"), i = D(e), c(t, "class", "goto-button goto-icon svelte-8mby9k");
120
+ t = p("div"), l = D(e), g(t, "class", "goto-button goto-icon svelte-8mby9k");
144
121
  },
145
- m(r, m) {
146
- S(r, t, m), d(t, i);
122
+ m(n, s) {
123
+ S(n, t, s), f(t, l);
147
124
  },
148
- p(r, m) {
149
- m & 4 && e !== (e = r[2].highlightText + "") && E(i, e);
125
+ p(n, s) {
126
+ s & 4 && e !== (e = n[2].highlightText + "") && E(l, e);
150
127
  },
151
- d(r) {
152
- r && T(t);
128
+ d(n) {
129
+ n && T(t);
153
130
  }
154
131
  };
155
132
  }
156
- function we(l) {
157
- var Q, X;
158
- let t, e, i, r, m, n, f, v, P, _, F, O, B, I, U = l[2].title + "", J, Z, k, M = L((Q = l[2].price) == null ? void 0 : Q.value) && ((X = l[2].price) == null ? void 0 : X.value) !== "", N, w;
159
- e = new ye({
133
+ function _e(i) {
134
+ var O, Z;
135
+ let t, e, l, n, s, o, m, k, M, _, q, P, B, I, U = i[2].title + "", F, N, y, J, w;
136
+ e = new ke({
160
137
  props: {
161
- visible: l[1],
138
+ visible: i[1],
162
139
  outDelay: 500,
163
140
  left: 61,
164
141
  bottom: 87,
@@ -166,86 +143,86 @@ function we(l) {
166
143
  spreadRadius: 75
167
144
  }
168
145
  });
169
- let z = l[2].brandTags || [], g = [];
170
- for (let o = 0; o < z.length; o += 1)
171
- g[o] = ie(ee(l, z, o));
172
- let C = l[2].tags || [], p = [];
173
- for (let o = 0; o < C.length; o += 1)
174
- p[o] = re(x(l, C, o));
175
- let b = M && oe(l), u = l[2].highlightText && ae(l);
146
+ let z = i[2].brandTags || [], u = [];
147
+ for (let r = 0; r < z.length; r += 1)
148
+ u[r] = te(x(i, z, r));
149
+ let C = i[2].tags || [], b = [];
150
+ for (let r = 0; r < C.length; r += 1)
151
+ b[r] = ie($(i, C, r));
152
+ let h = ((O = i[2].price) == null ? void 0 : O.value) !== void 0 && ((Z = i[2].price) == null ? void 0 : Z.value) !== null && ne(i), v = i[2].highlightText && oe(i);
176
153
  return {
177
154
  c() {
178
- var o;
179
- t = h("div"), be(e.$$.fragment), i = A(), r = h("div"), m = A(), n = h("div"), f = h("img"), P = A(), _ = h("div");
180
- for (let a = 0; a < g.length; a += 1)
181
- g[a].c();
182
- F = A();
183
- for (let a = 0; a < p.length; a += 1)
184
- p[a].c();
185
- O = A(), B = h("div"), I = h("div"), J = D(U), Z = A(), k = h("div"), b && b.c(), N = A(), u && u.c(), c(r, "class", "line svelte-8mby9k"), R(r, "transition-delay", l[1] ? V + "ms" : q + me - se - 40 + "ms"), c(f, "class", "headerImage svelte-8mby9k"), j(f.src, v = l[2].headerPictureUrl) || c(f, "src", v), c(f, "alt", ""), c(_, "class", "tag svelte-8mby9k"), c(I, "class", "text svelte-8mby9k"), c(B, "class", "title svelte-8mby9k"), c(k, "class", "footer svelte-8mby9k"), R(k, "height", L((o = l[2].price) == null ? void 0 : o.value) && l[2].highlightText ? void 0 : "1rem"), c(n, "class", "content svelte-8mby9k"), R(n, "transition-delay", l[1] ? V + q + "ms" : "0ms"), c(t, "class", "marketing svelte-8mby9k"), Y(t, "unfolded", l[1]), Y(t, "folded", l[3]);
186
- },
187
- m(o, a) {
188
- S(o, t, a), ue(e, t, null), d(t, i), d(t, r), d(t, m), d(t, n), d(n, f), d(n, P), d(n, _);
189
- for (let y = 0; y < g.length; y += 1)
190
- g[y].m(_, null);
191
- d(_, F);
192
- for (let y = 0; y < p.length; y += 1)
193
- p[y].m(_, null);
194
- d(n, O), d(n, B), d(B, I), d(I, J), d(n, Z), d(n, k), b && b.m(k, null), d(k, N), u && u.m(k, null), w = !0;
195
- },
196
- p(o, [a]) {
197
- var H, K, W;
198
- const y = {};
199
- if (a & 2 && (y.visible = o[1]), e.$set(y), a & 2 && R(r, "transition-delay", o[1] ? V + "ms" : q + me - se - 40 + "ms"), (!w || a & 4 && !j(f.src, v = o[2].headerPictureUrl)) && c(f, "src", v), a & 4) {
200
- z = o[2].brandTags || [];
201
- let s;
202
- for (s = 0; s < z.length; s += 1) {
203
- const G = ee(o, z, s);
204
- g[s] ? g[s].p(G, a) : (g[s] = ie(G), g[s].c(), g[s].m(_, F));
155
+ var r, d;
156
+ t = p("div"), ue(e.$$.fragment), l = A(), n = p("div"), s = A(), o = p("div"), m = p("img"), M = A(), _ = p("div");
157
+ for (let c = 0; c < u.length; c += 1)
158
+ u[c].c();
159
+ q = A();
160
+ for (let c = 0; c < b.length; c += 1)
161
+ b[c].c();
162
+ P = A(), B = p("div"), I = p("div"), F = D(U), N = A(), y = p("div"), h && h.c(), J = A(), v && v.c(), g(n, "class", "line svelte-8mby9k"), R(n, "transition-delay", i[1] ? L + "ms" : V + se - ae - 40 + "ms"), g(m, "class", "headerImage svelte-8mby9k"), W(m.src, k = i[2].headerPictureUrl) || g(m, "src", k), g(m, "alt", ""), g(_, "class", "tag svelte-8mby9k"), g(I, "class", "text svelte-8mby9k"), g(B, "class", "title svelte-8mby9k"), g(y, "class", "footer svelte-8mby9k"), R(y, "height", ((r = i[2].price) == null ? void 0 : r.value) !== void 0 && ((d = i[2].price) == null ? void 0 : d.value) !== null && i[2].highlightText ? void 0 : "1rem"), g(o, "class", "content svelte-8mby9k"), R(o, "transition-delay", i[1] ? L + V + "ms" : "0ms"), g(t, "class", "marketing svelte-8mby9k"), Y(t, "unfolded", i[1]), Y(t, "folded", i[3]);
163
+ },
164
+ m(r, d) {
165
+ S(r, t, d), be(e, t, null), f(t, l), f(t, n), f(t, s), f(t, o), f(o, m), f(o, M), f(o, _);
166
+ for (let c = 0; c < u.length; c += 1)
167
+ u[c].m(_, null);
168
+ f(_, q);
169
+ for (let c = 0; c < b.length; c += 1)
170
+ b[c].m(_, null);
171
+ f(o, P), f(o, B), f(B, I), f(I, F), f(o, N), f(o, y), h && h.m(y, null), f(y, J), v && v.m(y, null), w = !0;
172
+ },
173
+ p(r, [d]) {
174
+ var Q, X, H, K;
175
+ const c = {};
176
+ if (d & 2 && (c.visible = r[1]), e.$set(c), d & 2 && R(n, "transition-delay", r[1] ? L + "ms" : V + se - ae - 40 + "ms"), (!w || d & 4 && !W(m.src, k = r[2].headerPictureUrl)) && g(m, "src", k), d & 4) {
177
+ z = r[2].brandTags || [];
178
+ let a;
179
+ for (a = 0; a < z.length; a += 1) {
180
+ const G = x(r, z, a);
181
+ u[a] ? u[a].p(G, d) : (u[a] = te(G), u[a].c(), u[a].m(_, q));
205
182
  }
206
- for (; s < g.length; s += 1)
207
- g[s].d(1);
208
- g.length = z.length;
183
+ for (; a < u.length; a += 1)
184
+ u[a].d(1);
185
+ u.length = z.length;
209
186
  }
210
- if (a & 4) {
211
- C = o[2].tags || [];
212
- let s;
213
- for (s = 0; s < C.length; s += 1) {
214
- const G = x(o, C, s);
215
- p[s] ? p[s].p(G, a) : (p[s] = re(G), p[s].c(), p[s].m(_, null));
187
+ if (d & 4) {
188
+ C = r[2].tags || [];
189
+ let a;
190
+ for (a = 0; a < C.length; a += 1) {
191
+ const G = $(r, C, a);
192
+ b[a] ? b[a].p(G, d) : (b[a] = ie(G), b[a].c(), b[a].m(_, null));
216
193
  }
217
- for (; s < p.length; s += 1)
218
- p[s].d(1);
219
- p.length = C.length;
194
+ for (; a < b.length; a += 1)
195
+ b[a].d(1);
196
+ b.length = C.length;
220
197
  }
221
- (!w || a & 4) && U !== (U = o[2].title + "") && E(J, U), a & 4 && (M = L((H = o[2].price) == null ? void 0 : H.value) && ((K = o[2].price) == null ? void 0 : K.value) !== ""), M ? b ? b.p(o, a) : (b = oe(o), b.c(), b.m(k, N)) : b && (b.d(1), b = null), o[2].highlightText ? u ? u.p(o, a) : (u = ae(o), u.c(), u.m(k, null)) : u && (u.d(1), u = null), a & 4 && R(k, "height", L((W = o[2].price) == null ? void 0 : W.value) && o[2].highlightText ? void 0 : "1rem"), a & 2 && R(n, "transition-delay", o[1] ? V + q + "ms" : "0ms"), (!w || a & 2) && Y(t, "unfolded", o[1]), (!w || a & 8) && Y(t, "folded", o[3]);
198
+ (!w || d & 4) && U !== (U = r[2].title + "") && E(F, U), ((Q = r[2].price) == null ? void 0 : Q.value) !== void 0 && ((X = r[2].price) == null ? void 0 : X.value) !== null ? h ? h.p(r, d) : (h = ne(r), h.c(), h.m(y, J)) : h && (h.d(1), h = null), r[2].highlightText ? v ? v.p(r, d) : (v = oe(r), v.c(), v.m(y, null)) : v && (v.d(1), v = null), d & 4 && R(y, "height", ((H = r[2].price) == null ? void 0 : H.value) !== void 0 && ((K = r[2].price) == null ? void 0 : K.value) !== null && r[2].highlightText ? void 0 : "1rem"), d & 2 && R(o, "transition-delay", r[1] ? L + V + "ms" : "0ms"), (!w || d & 2) && Y(t, "unfolded", r[1]), (!w || d & 8) && Y(t, "folded", r[3]);
222
199
  },
223
- i(o) {
224
- w || (he(e.$$.fragment, o), w = !0);
200
+ i(r) {
201
+ w || (he(e.$$.fragment, r), w = !0);
225
202
  },
226
- o(o) {
227
- ve(e.$$.fragment, o), w = !1;
203
+ o(r) {
204
+ ve(e.$$.fragment, r), w = !1;
228
205
  },
229
- d(o) {
230
- o && T(t), ke(e), $(g, o), $(p, o), b && b.d(), u && u.d();
206
+ d(r) {
207
+ r && T(t), pe(e), j(u, r), j(b, r), h && h.d(), v && v.d();
231
208
  }
232
209
  };
233
210
  }
234
- const V = 400, se = 500, q = 180, me = 500;
235
- function Ae(l, t, e) {
236
- let i, r, m, { tag: n } = t;
237
- return l.$$set = (f) => {
238
- "tag" in f && e(0, n = f.tag);
239
- }, l.$$.update = () => {
240
- var f, v;
241
- l.$$.dirty & 1 && e(1, i = (v = (f = n.state) == null ? void 0 : f.unfolded) != null ? v : !1), l.$$.dirty & 2 && e(3, r = !i), l.$$.dirty & 1 && e(2, m = n.data);
242
- }, [n, i, m, r];
211
+ const L = 400, ae = 500, V = 180, se = 500;
212
+ function we(i, t, e) {
213
+ let l, n, s, { tag: o } = t;
214
+ return i.$$set = (m) => {
215
+ "tag" in m && e(0, o = m.tag);
216
+ }, i.$$.update = () => {
217
+ var m, k;
218
+ i.$$.dirty & 1 && e(1, l = (k = (m = o.state) == null ? void 0 : m.unfolded) != null ? k : !1), i.$$.dirty & 2 && e(3, n = !l), i.$$.dirty & 1 && e(2, s = o.data);
219
+ }, [o, l, s, n];
243
220
  }
244
- class Ke extends de {
221
+ class Te extends fe {
245
222
  constructor(t) {
246
- super(), ce(this, t, Ae, we, ge, { tag: 0 }, _e);
223
+ super(), de(this, t, we, _e, ce, { tag: 0 }, ye);
247
224
  }
248
225
  }
249
226
  export {
250
- Ke as default
227
+ Te as MarketingTag
251
228
  };
@@ -1,117 +1,87 @@
1
- import { SvelteComponent as _, init as b, safe_not_equal as I, append_styles as h, empty as w, insert as g, transition_in as d, transition_out as m, check_outros as C, detach as y, element as D, create_component as N, attr as P, mount_component as j, destroy_component as k, group_outros as B } from "../../../vendor/svelte/internal/index.js";
2
- import F from "../Common/Media.js";
3
- import "../../../vendor/svelte/transition/index.js";
4
- import "../../../vendor/svelte/easing/index.js";
5
- import "../../../vendor/swiper/svelte/swiper.js";
6
- import "swiper";
7
- import "../../../vendor/swiper/components-shared/get-params.js";
8
- import "../../../vendor/swiper/components-shared/utils.js";
9
- import "../../../vendor/swiper/components-shared/params-list.js";
10
- import "../../../vendor/swiper/components-shared/mount-swiper.js";
11
- import "../../../vendor/swiper/components-shared/get-changed-params.js";
12
- import "../../../vendor/swiper/components-shared/update-swiper.js";
13
- import "../../../vendor/swiper/svelte/swiper-slide.js";
14
- import "swiper/css";
15
- import "swiper/css/autoplay";
16
- import "three";
17
- import "../../utils/noTypecheck.js";
18
- import "../Common/MediaItem.js";
19
- import "../../Assets/Icon.js";
20
- import "../../../shared-utils/isNil.js";
21
- function M(a) {
1
+ import { SvelteComponent as g, init as y, safe_not_equal as b, append_styles as h, empty as w, insert as m, transition_in as f, group_outros as C, transition_out as d, check_outros as D, detach as _, element as j, create_component as k, attr as F, mount_component as M, destroy_component as v } from "../../../vendor/svelte/internal/index.js";
2
+ import { Media as N } from "../Common/Media.js";
3
+ function P(a) {
22
4
  h(a, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
23
5
  }
24
6
  function c(a) {
25
- var i;
26
- let r, o, t;
27
- return o = new F({
7
+ let i, n, t;
8
+ return n = new N({
28
9
  props: {
29
- mediaItemConfig: {
30
- canPlay: !0,
31
- playButtonSizeIfNeed: "large",
32
- playButtonIfNeed: (i = a[4]) != null ? i : "withText",
33
- disableVideoIfHavePoster: !1,
34
- objectFit: a[2]
35
- },
36
- unfolded: a[6],
37
- mediaData: a[5],
10
+ unfolded: a[5],
11
+ mediaData: a[4],
12
+ objectFit: a[2],
38
13
  enableCarousel: a[1],
39
14
  autoplayConfig: a[3],
40
15
  tag: a[0],
16
+ canPlay: !0,
17
+ playButtonIfNeed: "large",
41
18
  inDelay: 500,
42
19
  duration: 500
43
20
  }
44
21
  }), {
45
22
  c() {
46
- r = D("div"), N(o.$$.fragment), P(r, "class", "media-wrapper svelte-10cw0el");
23
+ i = j("div"), k(n.$$.fragment), F(i, "class", "media-wrapper svelte-10cw0el");
47
24
  },
48
- m(e, n) {
49
- g(e, r, n), j(o, r, null), t = !0;
25
+ m(e, o) {
26
+ m(e, i, o), M(n, i, null), t = !0;
50
27
  },
51
- p(e, n) {
52
- var p;
53
- const f = {};
54
- n & 20 && (f.mediaItemConfig = {
55
- canPlay: !0,
56
- playButtonSizeIfNeed: "large",
57
- playButtonIfNeed: (p = e[4]) != null ? p : "withText",
58
- disableVideoIfHavePoster: !1,
59
- objectFit: e[2]
60
- }), n & 64 && (f.unfolded = e[6]), n & 32 && (f.mediaData = e[5]), n & 2 && (f.enableCarousel = e[1]), n & 8 && (f.autoplayConfig = e[3]), n & 1 && (f.tag = e[0]), o.$set(f);
28
+ p(e, o) {
29
+ const r = {};
30
+ o & 32 && (r.unfolded = e[5]), o & 16 && (r.mediaData = e[4]), o & 4 && (r.objectFit = e[2]), o & 2 && (r.enableCarousel = e[1]), o & 8 && (r.autoplayConfig = e[3]), o & 1 && (r.tag = e[0]), n.$set(r);
61
31
  },
62
32
  i(e) {
63
- t || (d(o.$$.fragment, e), t = !0);
33
+ t || (f(n.$$.fragment, e), t = !0);
64
34
  },
65
35
  o(e) {
66
- m(o.$$.fragment, e), t = !1;
36
+ d(n.$$.fragment, e), t = !1;
67
37
  },
68
38
  d(e) {
69
- e && y(r), k(o);
39
+ e && _(i), v(n);
70
40
  }
71
41
  };
72
42
  }
73
- function v(a) {
74
- let r, o, t = a[0].state && a[5] && c(a);
43
+ function q(a) {
44
+ let i, n, t = a[0].state && a[4] && c(a);
75
45
  return {
76
46
  c() {
77
- t && t.c(), r = w();
47
+ t && t.c(), i = w();
78
48
  },
79
- m(i, e) {
80
- t && t.m(i, e), g(i, r, e), o = !0;
49
+ m(e, o) {
50
+ t && t.m(e, o), m(e, i, o), n = !0;
81
51
  },
82
- p(i, [e]) {
83
- i[0].state && i[5] ? t ? (t.p(i, e), e & 33 && d(t, 1)) : (t = c(i), t.c(), d(t, 1), t.m(r.parentNode, r)) : t && (B(), m(t, 1, 1, () => {
52
+ p(e, [o]) {
53
+ e[0].state && e[4] ? t ? (t.p(e, o), o & 17 && f(t, 1)) : (t = c(e), t.c(), f(t, 1), t.m(i.parentNode, i)) : t && (C(), d(t, 1, 1, () => {
84
54
  t = null;
85
- }), C());
55
+ }), D());
86
56
  },
87
- i(i) {
88
- o || (d(t), o = !0);
57
+ i(e) {
58
+ n || (f(t), n = !0);
89
59
  },
90
- o(i) {
91
- m(t), o = !1;
60
+ o(e) {
61
+ d(t), n = !1;
92
62
  },
93
- d(i) {
94
- t && t.d(i), i && y(r);
63
+ d(e) {
64
+ t && t.d(e), e && _(i);
95
65
  }
96
66
  };
97
67
  }
98
- function S(a, r, o) {
99
- let t, i, e, n, f, p, { tag: l } = r;
68
+ function B(a, i, n) {
69
+ let t, e, o, r, s, { tag: l } = i;
100
70
  return a.$$set = (u) => {
101
- "tag" in u && o(0, l = u.tag);
71
+ "tag" in u && n(0, l = u.tag);
102
72
  }, a.$$.update = () => {
103
- var u, s;
104
- a.$$.dirty & 1 && o(6, t = l.state ? l.state.unfolded : !1), a.$$.dirty & 1 && o(5, i = l.data.mediaData), a.$$.dirty & 1 && o(1, e = l.data.enableCarousel), a.$$.dirty & 1 && o(4, n = l.data.playIcon), a.$$.dirty & 3 && o(3, f = (u = l.data.autoplayConfig) != null ? u : {
105
- autoplay: e != null ? e : !0,
73
+ var u, p;
74
+ a.$$.dirty & 1 && n(5, t = l.state ? l.state.unfolded : !1), a.$$.dirty & 1 && n(4, e = l.data.mediaData), a.$$.dirty & 1 && n(1, o = l.data.enableCarousel), a.$$.dirty & 3 && n(3, r = (u = l.data.autoplayConfig) != null ? u : {
75
+ autoplay: o != null ? o : !0,
106
76
  autoplayVideo: !0
107
- }), a.$$.dirty & 1 && o(2, p = (s = l.data.objectFit) != null ? s : (() => l.data.adaptationMode === "stretch" ? "cover" : l.data.adaptationMode === "proportional" ? "contain" : void 0)());
108
- }, [l, e, p, f, n, i, t];
77
+ }), a.$$.dirty & 1 && n(2, s = (p = l.data.objectFit) != null ? p : (() => l.data.adaptationMode === "stretch" ? "cover" : l.data.adaptationMode === "proportional" ? "contain" : void 0)());
78
+ }, [l, o, s, r, e, t];
109
79
  }
110
- class x extends _ {
111
- constructor(r) {
112
- super(), b(this, r, S, v, I, { tag: 0 }, M);
80
+ class V extends g {
81
+ constructor(i) {
82
+ super(), y(this, i, B, q, b, { tag: 0 }, P);
113
83
  }
114
84
  }
115
85
  export {
116
- x as default
86
+ V as MediaPlane
117
87
  };