@realsee/dnalogel 2.3.9-alpha.1 → 2.3.9-alpha.2

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 (242) hide show
  1. package/dist/index.cjs.js +16 -16
  2. package/dist/index.js +2494 -2494
  3. package/dist/index.umd.js +17 -17
  4. package/docs/classes/CSS3DRender.html +31 -31
  5. package/docs/classes/CruisePluginController.html +24 -24
  6. package/docs/classes/Magnifier.html +16 -16
  7. package/docs/classes/ModelRoomLabelController.html +11 -11
  8. package/docs/classes/Object3DHelperController.html +24 -24
  9. package/docs/classes/PaintBrush.html +15 -15
  10. package/docs/classes/PanoTagPluginController.html +41 -41
  11. package/docs/classes/Util.BetterTween.html +8 -8
  12. package/docs/classes/Util.FivePointSelector.html +12 -12
  13. package/docs/classes/Util.Interval.html +12 -12
  14. package/docs/classes/Util.Magnifier.html +17 -17
  15. package/docs/classes/Util.PointDomHelper.html +11 -11
  16. package/docs/classes/Util.PointHelper.html +11 -11
  17. package/docs/classes/Util.Rectangle.html +13 -13
  18. package/docs/enums/CameraMovementEffect.html +7 -7
  19. package/docs/enums/ContentType.html +16 -16
  20. package/docs/enums/DIRECTION.html +9 -9
  21. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  22. package/docs/enums/DimensionType.html +7 -7
  23. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  24. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  25. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  26. package/docs/enums/PointType.html +7 -7
  27. package/docs/enums/Rotation.html +8 -8
  28. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  29. package/docs/functions/CameraMovementPlugin.html +4 -4
  30. package/docs/functions/CruisePlugin.html +4 -4
  31. package/docs/functions/GuideLinePlugin.html +5 -5
  32. package/docs/functions/ItemLabelPlugin.html +4 -4
  33. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  34. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  35. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  36. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  37. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  38. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  39. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  40. package/docs/functions/ModelViewPlugin.html +4 -4
  41. package/docs/functions/Object3DHelperPlugin.html +4 -4
  42. package/docs/functions/PanoCompassPlugin.html +4 -4
  43. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  44. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  45. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  46. package/docs/functions/PanoMeasurePlugin.html +4 -4
  47. package/docs/functions/PanoRulerPlugin.html +4 -4
  48. package/docs/functions/PanoRulerProPlugin.html +4 -4
  49. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  50. package/docs/functions/PanoTagPlugin.html +4 -4
  51. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  52. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  53. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  54. package/docs/functions/Util.getFrameTime.html +5 -5
  55. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  56. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  57. package/docs/functions/Util.isNil.html +5 -5
  58. package/docs/functions/Util.nextFrame.html +5 -5
  59. package/docs/functions/Util.notNil.html +5 -5
  60. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  61. package/docs/functions/Util.tweenProgress.html +5 -5
  62. package/docs/functions/pluginFlag.html +5 -5
  63. package/docs/index.html +4 -4
  64. package/docs/interfaces/AddTagConfig.html +6 -6
  65. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  66. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  67. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  68. package/docs/interfaces/EventMap.html +15 -15
  69. package/docs/interfaces/FloorplanBounding.html +8 -8
  70. package/docs/interfaces/FloorplanData.html +10 -10
  71. package/docs/interfaces/FloorplanEntrance.html +11 -11
  72. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  73. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  74. package/docs/interfaces/FloorplanFloorData.html +9 -9
  75. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  76. package/docs/interfaces/FloorplanObserver.html +9 -9
  77. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  78. package/docs/interfaces/FloorplanPosition.html +7 -7
  79. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  80. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  81. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  82. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  83. package/docs/interfaces/FloorplanServerData.html +7 -7
  84. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  85. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  86. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  87. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  88. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  89. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  90. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  91. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  92. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  93. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  94. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  95. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  96. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  97. package/docs/interfaces/LineJson.html +7 -7
  98. package/docs/interfaces/MinMax.html +7 -7
  99. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  100. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  101. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  102. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  103. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  104. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  105. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  106. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  107. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  108. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  109. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  110. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  111. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  112. package/docs/interfaces/Object3DHelperState.html +8 -8
  113. package/docs/interfaces/OpenParameter.html +7 -7
  114. package/docs/interfaces/PaintBrushAction.html +12 -12
  115. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  116. package/docs/interfaces/PaintBrushState.html +10 -10
  117. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  118. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  119. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  120. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  121. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  122. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  123. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  124. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  125. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  126. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  127. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  128. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  129. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  130. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  131. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  132. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  133. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  134. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  135. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  136. package/docs/interfaces/Point.html +8 -8
  137. package/docs/interfaces/PointJson.html +8 -8
  138. package/docs/interfaces/Room.html +9 -9
  139. package/docs/interfaces/RoomInfo.html +7 -7
  140. package/docs/interfaces/RoomLabel.html +14 -14
  141. package/docs/interfaces/RoomRules.html +5 -5
  142. package/docs/interfaces/Rooms.html +5 -5
  143. package/docs/interfaces/Scissor.html +9 -9
  144. package/docs/interfaces/State.html +8 -8
  145. package/docs/interfaces/TagCache.html +10 -10
  146. package/docs/interfaces/TagConfig.html +10 -10
  147. package/docs/interfaces/TagIconUrl.html +9 -9
  148. package/docs/interfaces/Tags.html +9 -9
  149. package/docs/interfaces/TemporaryState.html +6 -6
  150. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  151. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  152. package/docs/modules/Util.html +5 -5
  153. package/docs/modules.html +4 -4
  154. package/docs/types/ArrayPosition.html +5 -5
  155. package/docs/types/AudioAppearance.html +5 -5
  156. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  157. package/docs/types/CSS3DRenderExportType.html +5 -5
  158. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  159. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  160. package/docs/types/Color.html +5 -5
  161. package/docs/types/ContentTypeConfigKey.html +5 -5
  162. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  163. package/docs/types/ContentTypeMap.html +5 -5
  164. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  165. package/docs/types/Create3DElementReturnType.html +5 -5
  166. package/docs/types/CruisePluginExportType.html +5 -5
  167. package/docs/types/Direction-1.html +5 -5
  168. package/docs/types/Direction4.html +5 -5
  169. package/docs/types/FloorplanRuleLabels.html +5 -5
  170. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  171. package/docs/types/GuideLinePluginExportType.html +5 -5
  172. package/docs/types/HelperEventMap.html +5 -5
  173. package/docs/types/LoadTagConfig.html +5 -5
  174. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  175. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  176. package/docs/types/MediaData.html +5 -5
  177. package/docs/types/MediaStore.html +5 -5
  178. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  179. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  180. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  181. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  182. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  183. package/docs/types/MoveArgs.html +5 -5
  184. package/docs/types/MoveOpts.html +5 -5
  185. package/docs/types/Object3DHelperEventMap.html +5 -5
  186. package/docs/types/ObjectFit.html +5 -5
  187. package/docs/types/PaintBrushEventMap.html +5 -5
  188. package/docs/types/PanoCompassPluginData.html +5 -5
  189. package/docs/types/PanoCompassPluginExportType.html +5 -5
  190. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  191. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  192. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  193. package/docs/types/PanoIndex.html +5 -5
  194. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  195. package/docs/types/PanoMeasureReturnType.html +5 -5
  196. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  197. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  198. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  199. package/docs/types/PlaneTag.html +5 -5
  200. package/docs/types/PlaneTagElement.html +5 -5
  201. package/docs/types/Point2DElement.html +5 -5
  202. package/docs/types/Point2DTag.html +5 -5
  203. package/docs/types/Point3DElement.html +5 -5
  204. package/docs/types/Point3DTag.html +5 -5
  205. package/docs/types/PointTag.html +5 -5
  206. package/docs/types/PointTagElement.html +5 -5
  207. package/docs/types/Position.html +5 -5
  208. package/docs/types/RotateArgs.html +5 -5
  209. package/docs/types/RotateOpts.html +5 -5
  210. package/docs/types/RuleLabelsKey.html +5 -5
  211. package/docs/types/RuleLabelsValue.html +5 -5
  212. package/docs/types/StickType.html +5 -5
  213. package/docs/types/Tag.html +5 -5
  214. package/docs/types/Tag2D.html +5 -5
  215. package/docs/types/Tag3D.html +5 -5
  216. package/docs/types/TagContentType.html +5 -5
  217. package/docs/types/TagDimensionType.html +5 -5
  218. package/docs/types/TagElement.html +5 -5
  219. package/docs/types/TagEvents.html +5 -5
  220. package/docs/types/TagHooks.html +5 -5
  221. package/docs/types/TagIconSize.html +5 -5
  222. package/docs/types/TagId.html +5 -5
  223. package/docs/types/TagPointType.html +5 -5
  224. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  225. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  226. package/docs/types/WorkCode.html +5 -5
  227. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  228. package/docs/variables/PLUGIN.html +5 -5
  229. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  230. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  231. package/docs/variables/VERSION.html +5 -5
  232. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  233. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  234. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  235. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +164 -143
  236. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +54 -54
  237. package/libs/PanoTagPlugin/Components/Tag/index.js +110 -91
  238. package/libs/PanoTagPlugin/Components/TagContainer.js +37 -18
  239. package/libs/PanoTagPlugin/Components/TagItem.js +63 -44
  240. package/libs/PanoTagPlugin/controller/index.js +33 -29
  241. package/libs/PanoTagPlugin/index.js +29 -25
  242. package/package.json +1 -1
@@ -1,143 +1,164 @@
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 ke from "../Common/Shadow.js";
1
+ import { SvelteComponent as me, init as fe, safe_not_equal as de, append_styles as ce, element as h, create_component as ge, space as A, text as D, attr as c, set_style as R, src_url_equal as K, toggle_class as Y, insert as S, mount_component as pe, append as d, set_data as E, transition_in as be, transition_out as ue, detach as T, destroy_component as he, destroy_each as W, empty as se } 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 ve 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";
3
24
  import "../../../vendor/svelte/transition/index.js";
4
25
  import "../../../vendor/svelte/easing/index.js";
5
- function ye(i) {
6
- 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}");
26
+ function ke(l) {
27
+ ce(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}");
7
28
  }
8
- function $(i, t, e) {
9
- const l = i.slice();
10
- return l[0] = t[e], l;
29
+ function j(l, t, e) {
30
+ const i = l.slice();
31
+ return i[0] = t[e], i;
11
32
  }
12
- function x(i, t, e) {
13
- const l = i.slice();
14
- return l[0] = t[e], l;
33
+ function $(l, t, e) {
34
+ const i = l.slice();
35
+ return i[0] = t[e], i;
15
36
  }
16
- function ee(i) {
17
- let t, e = i[0] + "", l;
37
+ function x(l) {
38
+ let t, e = l[0] + "", i;
18
39
  return {
19
40
  c() {
20
- t = p("div"), l = D(e), g(t, "class", "base-tag primary-tag svelte-8mby9k");
41
+ t = h("div"), i = D(e), c(t, "class", "base-tag primary-tag svelte-8mby9k");
21
42
  },
22
- m(n, s) {
23
- S(n, t, s), f(t, l);
43
+ m(r, m) {
44
+ S(r, t, m), d(t, i);
24
45
  },
25
- p(n, s) {
26
- s & 4 && e !== (e = n[0] + "") && E(l, e);
46
+ p(r, m) {
47
+ m & 4 && e !== (e = r[0] + "") && E(i, e);
27
48
  },
28
- d(n) {
29
- n && T(t);
49
+ d(r) {
50
+ r && T(t);
30
51
  }
31
52
  };
32
53
  }
33
- function te(i) {
34
- let t, e = i[0] && ee(i);
54
+ function ee(l) {
55
+ let t, e = l[0] && x(l);
35
56
  return {
36
57
  c() {
37
- e && e.c(), t = me();
58
+ e && e.c(), t = se();
38
59
  },
39
- m(l, n) {
40
- e && e.m(l, n), S(l, t, n);
60
+ m(i, r) {
61
+ e && e.m(i, r), S(i, t, r);
41
62
  },
42
- p(l, n) {
43
- l[0] ? e ? e.p(l, n) : (e = ee(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
63
+ p(i, r) {
64
+ i[0] ? e ? e.p(i, r) : (e = x(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
44
65
  },
45
- d(l) {
46
- e && e.d(l), l && T(t);
66
+ d(i) {
67
+ e && e.d(i), i && T(t);
47
68
  }
48
69
  };
49
70
  }
50
- function le(i) {
51
- let t, e = i[0] + "", l;
71
+ function te(l) {
72
+ let t, e = l[0] + "", i;
52
73
  return {
53
74
  c() {
54
- t = p("div"), l = D(e), g(t, "class", "base-tag secondary-tag svelte-8mby9k");
75
+ t = h("div"), i = D(e), c(t, "class", "base-tag secondary-tag svelte-8mby9k");
55
76
  },
56
- m(n, s) {
57
- S(n, t, s), f(t, l);
77
+ m(r, m) {
78
+ S(r, t, m), d(t, i);
58
79
  },
59
- p(n, s) {
60
- s & 4 && e !== (e = n[0] + "") && E(l, e);
80
+ p(r, m) {
81
+ m & 4 && e !== (e = r[0] + "") && E(i, e);
61
82
  },
62
- d(n) {
63
- n && T(t);
83
+ d(r) {
84
+ r && T(t);
64
85
  }
65
86
  };
66
87
  }
67
- function ie(i) {
68
- let t, e = i[0] && le(i);
88
+ function ie(l) {
89
+ let t, e = l[0] && te(l);
69
90
  return {
70
91
  c() {
71
- e && e.c(), t = me();
92
+ e && e.c(), t = se();
72
93
  },
73
- m(l, n) {
74
- e && e.m(l, n), S(l, t, n);
94
+ m(i, r) {
95
+ e && e.m(i, r), S(i, t, r);
75
96
  },
76
- p(l, n) {
77
- l[0] ? e ? e.p(l, n) : (e = le(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
97
+ p(i, r) {
98
+ i[0] ? e ? e.p(i, r) : (e = te(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
78
99
  },
79
- d(l) {
80
- e && e.d(l), l && T(t);
100
+ d(i) {
101
+ e && e.d(i), i && T(t);
81
102
  }
82
103
  };
83
104
  }
84
- function ne(i) {
85
- let t, e, l = i[2].price.value + "", n, s, o = i[2].price.unit && re(i);
105
+ function le(l) {
106
+ let t, e, i = l[2].price.value + "", r, m, n = l[2].price.unit && re(l);
86
107
  return {
87
108
  c() {
88
- 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");
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");
89
110
  },
90
- m(m, k) {
91
- S(m, t, k), f(t, e), f(e, n), f(t, s), o && o.m(t, null);
111
+ m(f, v) {
112
+ S(f, t, v), d(t, e), d(e, r), d(t, m), n && n.m(t, null);
92
113
  },
93
- p(m, k) {
94
- 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);
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 = re(f), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
95
116
  },
96
- d(m) {
97
- m && T(t), o && o.d();
117
+ d(f) {
118
+ f && T(t), n && n.d();
98
119
  }
99
120
  };
100
121
  }
101
- function re(i) {
102
- let t, e = i[2].price.unit + "", l;
122
+ function re(l) {
123
+ let t, e = l[2].price.unit + "", i;
103
124
  return {
104
125
  c() {
105
- t = p("span"), l = D(e), g(t, "class", "unit svelte-8mby9k");
126
+ t = h("span"), i = D(e), c(t, "class", "unit svelte-8mby9k");
106
127
  },
107
- m(n, s) {
108
- S(n, t, s), f(t, l);
128
+ m(r, m) {
129
+ S(r, t, m), d(t, i);
109
130
  },
110
- p(n, s) {
111
- s & 4 && e !== (e = n[2].price.unit + "") && E(l, e);
131
+ p(r, m) {
132
+ m & 4 && e !== (e = r[2].price.unit + "") && E(i, e);
112
133
  },
113
- d(n) {
114
- n && T(t);
134
+ d(r) {
135
+ r && T(t);
115
136
  }
116
137
  };
117
138
  }
118
- function oe(i) {
119
- let t, e = i[2].highlightText + "", l;
139
+ function oe(l) {
140
+ let t, e = l[2].highlightText + "", i;
120
141
  return {
121
142
  c() {
122
- t = p("div"), l = D(e), g(t, "class", "goto-button goto-icon svelte-8mby9k");
143
+ t = h("div"), i = D(e), c(t, "class", "goto-button goto-icon svelte-8mby9k");
123
144
  },
124
- m(n, s) {
125
- S(n, t, s), f(t, l);
145
+ m(r, m) {
146
+ S(r, t, m), d(t, i);
126
147
  },
127
- p(n, s) {
128
- s & 4 && e !== (e = n[2].highlightText + "") && E(l, e);
148
+ p(r, m) {
149
+ m & 4 && e !== (e = r[2].highlightText + "") && E(i, e);
129
150
  },
130
- d(n) {
131
- n && T(t);
151
+ d(r) {
152
+ r && T(t);
132
153
  }
133
154
  };
134
155
  }
135
- function _e(i) {
136
- var O, Z;
137
- let t, e, l, n, s, o, m, k, M, _, q, P, B, I, U = i[2].title + "", F, N, y, J, w;
138
- e = new ke({
156
+ function ye(l) {
157
+ var Q;
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), N, w;
159
+ e = new ve({
139
160
  props: {
140
- visible: i[1],
161
+ visible: l[1],
141
162
  outDelay: 500,
142
163
  left: 61,
143
164
  bottom: 87,
@@ -145,86 +166,86 @@ function _e(i) {
145
166
  spreadRadius: 75
146
167
  }
147
168
  });
148
- let z = i[2].brandTags || [], u = [];
149
- for (let r = 0; r < z.length; r += 1)
150
- u[r] = te(x(i, z, r));
151
- let C = i[2].tags || [], b = [];
152
- for (let r = 0; r < C.length; r += 1)
153
- b[r] = ie($(i, C, r));
154
- 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);
169
+ let z = l[2].brandTags || [], g = [];
170
+ for (let o = 0; o < z.length; o += 1)
171
+ g[o] = ee($(l, z, o));
172
+ let C = l[2].tags || [], p = [];
173
+ for (let o = 0; o < C.length; o += 1)
174
+ p[o] = ie(j(l, C, o));
175
+ let b = M && le(l), u = l[2].highlightText && oe(l);
155
176
  return {
156
177
  c() {
157
- var r, d;
158
- t = p("div"), ue(e.$$.fragment), l = A(), n = p("div"), s = A(), o = p("div"), m = p("img"), M = A(), _ = p("div");
159
- for (let c = 0; c < u.length; c += 1)
160
- u[c].c();
161
- q = A();
162
- for (let c = 0; c < b.length; c += 1)
163
- b[c].c();
164
- 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]);
165
- },
166
- m(r, d) {
167
- 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, _);
168
- for (let c = 0; c < u.length; c += 1)
169
- u[c].m(_, null);
170
- f(_, q);
171
- for (let c = 0; c < b.length; c += 1)
172
- b[c].m(_, null);
173
- 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;
174
- },
175
- p(r, [d]) {
176
- var Q, X, H, K;
177
- const c = {};
178
- 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) {
179
- z = r[2].brandTags || [];
180
- let a;
181
- for (a = 0; a < z.length; a += 1) {
182
- const G = x(r, z, a);
183
- u[a] ? u[a].p(G, d) : (u[a] = te(G), u[a].c(), u[a].m(_, q));
178
+ var o;
179
+ t = h("div"), ge(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 + ae - ne - 40 + "ms"), c(f, "class", "headerImage svelte-8mby9k"), K(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), pe(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 X, H;
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 + ae - ne - 40 + "ms"), (!w || a & 4 && !K(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 = $(o, z, s);
204
+ g[s] ? g[s].p(G, a) : (g[s] = ee(G), g[s].c(), g[s].m(_, F));
184
205
  }
185
- for (; a < u.length; a += 1)
186
- u[a].d(1);
187
- u.length = z.length;
206
+ for (; s < g.length; s += 1)
207
+ g[s].d(1);
208
+ g.length = z.length;
188
209
  }
189
- if (d & 4) {
190
- C = r[2].tags || [];
191
- let a;
192
- for (a = 0; a < C.length; a += 1) {
193
- const G = $(r, C, a);
194
- b[a] ? b[a].p(G, d) : (b[a] = ie(G), b[a].c(), b[a].m(_, null));
210
+ if (a & 4) {
211
+ C = o[2].tags || [];
212
+ let s;
213
+ for (s = 0; s < C.length; s += 1) {
214
+ const G = j(o, C, s);
215
+ p[s] ? p[s].p(G, a) : (p[s] = ie(G), p[s].c(), p[s].m(_, null));
195
216
  }
196
- for (; a < b.length; a += 1)
197
- b[a].d(1);
198
- b.length = C.length;
217
+ for (; s < p.length; s += 1)
218
+ p[s].d(1);
219
+ p.length = C.length;
199
220
  }
200
- (!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]);
221
+ (!w || a & 4) && U !== (U = o[2].title + "") && E(J, U), a & 4 && (M = L((X = o[2].price) == null ? void 0 : X.value)), M ? b ? b.p(o, a) : (b = le(o), b.c(), b.m(k, N)) : b && (b.d(1), b = null), o[2].highlightText ? u ? u.p(o, a) : (u = oe(o), u.c(), u.m(k, null)) : u && (u.d(1), u = null), a & 4 && R(k, "height", L((H = o[2].price) == null ? void 0 : H.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]);
201
222
  },
202
- i(r) {
203
- w || (he(e.$$.fragment, r), w = !0);
223
+ i(o) {
224
+ w || (be(e.$$.fragment, o), w = !0);
204
225
  },
205
- o(r) {
206
- ve(e.$$.fragment, r), w = !1;
226
+ o(o) {
227
+ ue(e.$$.fragment, o), w = !1;
207
228
  },
208
- d(r) {
209
- r && T(t), pe(e), j(u, r), j(b, r), h && h.d(), v && v.d();
229
+ d(o) {
230
+ o && T(t), he(e), W(g, o), W(p, o), b && b.d(), u && u.d();
210
231
  }
211
232
  };
212
233
  }
213
- const L = 400, ae = 500, V = 180, se = 500;
214
- function we(i, t, e) {
215
- let l, n, s, { tag: o } = t;
216
- return i.$$set = (m) => {
217
- "tag" in m && e(0, o = m.tag);
218
- }, i.$$.update = () => {
219
- var m, k;
220
- 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);
221
- }, [o, l, s, n];
234
+ const V = 400, ne = 500, q = 180, ae = 500;
235
+ function _e(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];
222
243
  }
223
- class Ce extends fe {
244
+ class Xe extends me {
224
245
  constructor(t) {
225
- super(), de(this, t, we, _e, ce, { tag: 0 }, ye);
246
+ super(), fe(this, t, _e, ye, de, { tag: 0 }, ke);
226
247
  }
227
248
  }
228
249
  export {
229
- Ce as default
250
+ Xe as default
230
251
  };
@@ -1,102 +1,102 @@
1
- import { SvelteComponent as P, init as j, safe_not_equal as A, append_styles as B, empty as E, insert as T, transition_in as u, transition_out as $, check_outros as F, detach as x, create_component as k, space as D, element as _, attr as v, toggle_class as b, mount_component as y, append as g, destroy_component as z, group_outros as G } from "../../../../vendor/svelte/internal/index.js";
2
- import H from "../../Common/Line/Straight.js";
3
- import M from "../../Common/Text/MText.js";
1
+ import { SvelteComponent as j, init as A, safe_not_equal as B, append_styles as E, empty as F, insert as Y, transition_in as u, transition_out as x, check_outros as G, detach as z, create_component as w, space as D, element as c, attr as v, set_style as M, toggle_class as $, mount_component as k, append as g, destroy_component as y, group_outros as H } from "../../../../vendor/svelte/internal/index.js";
2
+ import I from "../../Common/Line/Straight.js";
3
+ import N from "../../Common/Text/MText.js";
4
4
  import "../../../../vendor/svelte/transition/index.js";
5
5
  import "../../../../vendor/svelte/easing/index.js";
6
6
  import "../../../../shared-utils/uuid.js";
7
7
  import "../../../utils/px2rem.js";
8
- function I(a) {
9
- B(a, "svelte-7a4m", ".plane__container.svelte-7a4m.svelte-7a4m{position:absolute;left:50%;transform:translate(-50%, -100%);width:-moz-max-content;width:max-content}.plane__wrapper.svelte-7a4m.svelte-7a4m{transition:transform 500ms linear, opacity 200ms linear;padding:0.625rem;background-color:rgba(0, 0, 0, 0.5);border:0.03125rem solid rgba(255, 255, 255, 0.5);border-radius:0.25rem}.unfolded.svelte-7a4m .plane__wrapper.svelte-7a4m{transform:translateY(-0.9375rem);transition-delay:200ms, 500ms;opacity:1}.folded.svelte-7a4m .plane__wrapper.svelte-7a4m{transform:translateY(0);opacity:0}.plane.svelte-7a4m.svelte-7a4m{max-width:11.75rem}.title.svelte-7a4m.svelte-7a4m{font-weight:bold;font-size:0.75rem;line-height:1.125rem;margin-bottom:0.25rem}.description.svelte-7a4m.svelte-7a4m{font-size:0.6875rem;line-height:1rem}");
8
+ function J(i) {
9
+ E(i, "svelte-10r5rix", ".plane__container.svelte-10r5rix.svelte-10r5rix{position:absolute;left:50%;transform:translate(-50%, -100%);width:-moz-max-content;width:max-content}.plane__wrapper.svelte-10r5rix.svelte-10r5rix{transition:transform 500ms linear, opacity 200ms linear;padding:0.625rem;background-color:rgba(0, 0, 0, 0.5);border:0.03125rem solid rgba(255, 255, 255, 0.5);border-radius:0.25rem}.unfolded.svelte-10r5rix .plane__wrapper.svelte-10r5rix{transition-delay:200ms, 500ms;opacity:1}.folded.svelte-10r5rix .plane__wrapper.svelte-10r5rix{opacity:0}.plane.svelte-10r5rix.svelte-10r5rix{max-width:11.75rem}.title.svelte-10r5rix.svelte-10r5rix{font-weight:bold;font-size:0.75rem;line-height:1.125rem;margin-bottom:0.25rem}.description.svelte-10r5rix.svelte-10r5rix{font-size:0.6875rem;line-height:1rem}");
10
10
  }
11
- function N(a) {
12
- var C, L;
13
- let i, l, e, n, r, m, o, c, d, f, p;
14
- return i = new H({
11
+ function P(i) {
12
+ var T, C;
13
+ let n, l, e, r, a, d, s, _, f, m, p;
14
+ return n = new I({
15
15
  props: {
16
- unfolded: a[1],
16
+ unfolded: i[1],
17
17
  direction: "vertical",
18
18
  length: 15,
19
19
  duration: 500,
20
20
  inDelay: 200,
21
21
  useLinearColor: !0
22
22
  }
23
- }), o = new M({
23
+ }), s = new N({
24
24
  props: {
25
- text: a[2],
26
- edit: (C = a[0].data.edit) == null ? void 0 : C.title
25
+ text: i[2],
26
+ edit: (T = i[0].data.edit) == null ? void 0 : T.title
27
27
  }
28
- }), f = new M({
28
+ }), m = new N({
29
29
  props: {
30
- text: a[0].data.description,
31
- edit: (L = a[0].data.edit) == null ? void 0 : L.description,
30
+ text: i[0].data.description,
31
+ edit: (C = i[0].data.edit) == null ? void 0 : C.description,
32
32
  maxLine: 3
33
33
  }
34
34
  }), {
35
35
  c() {
36
- k(i.$$.fragment), l = D(), e = _("div"), n = _("div"), r = _("div"), m = _("div"), k(o.$$.fragment), c = D(), d = _("div"), k(f.$$.fragment), v(m, "class", "title svelte-7a4m"), v(d, "class", "description svelte-7a4m"), v(r, "class", "plane svelte-7a4m"), v(n, "class", "plane__wrapper svelte-7a4m"), v(e, "class", "plane__container svelte-7a4m"), b(e, "unfolded", a[1]), b(e, "folded", a[3]);
36
+ w(n.$$.fragment), l = D(), e = c("div"), r = c("div"), a = c("div"), d = c("div"), w(s.$$.fragment), _ = D(), f = c("div"), w(m.$$.fragment), v(d, "class", "title svelte-10r5rix"), v(f, "class", "description svelte-10r5rix"), v(a, "class", "plane svelte-10r5rix"), v(r, "class", "plane__wrapper svelte-10r5rix"), M(r, "transform", i[1] ? "translateY(-15px)" : "translateY(0)"), v(e, "class", "plane__container svelte-10r5rix"), $(e, "unfolded", i[1]), $(e, "folded", i[3]);
37
37
  },
38
- m(t, s) {
39
- y(i, t, s), T(t, l, s), T(t, e, s), g(e, n), g(n, r), g(r, m), y(o, m, null), g(r, c), g(r, d), y(f, d, null), p = !0;
38
+ m(t, o) {
39
+ k(n, t, o), Y(t, l, o), Y(t, e, o), g(e, r), g(r, a), g(a, d), k(s, d, null), g(a, _), g(a, f), k(m, f, null), p = !0;
40
40
  },
41
- p(t, s) {
42
- var Y, q;
43
- const S = {};
44
- s & 2 && (S.unfolded = t[1]), i.$set(S);
41
+ p(t, o) {
42
+ var S, q;
43
+ const L = {};
44
+ o & 2 && (L.unfolded = t[1]), n.$set(L);
45
+ const b = {};
46
+ o & 4 && (b.text = t[2]), o & 1 && (b.edit = (S = t[0].data.edit) == null ? void 0 : S.title), s.$set(b);
45
47
  const h = {};
46
- s & 4 && (h.text = t[2]), s & 1 && (h.edit = (Y = t[0].data.edit) == null ? void 0 : Y.title), o.$set(h);
47
- const w = {};
48
- s & 1 && (w.text = t[0].data.description), s & 1 && (w.edit = (q = t[0].data.edit) == null ? void 0 : q.description), f.$set(w), (!p || s & 2) && b(e, "unfolded", t[1]), (!p || s & 8) && b(e, "folded", t[3]);
48
+ o & 1 && (h.text = t[0].data.description), o & 1 && (h.edit = (q = t[0].data.edit) == null ? void 0 : q.description), m.$set(h), o & 2 && M(r, "transform", t[1] ? "translateY(-15px)" : "translateY(0)"), (!p || o & 2) && $(e, "unfolded", t[1]), (!p || o & 8) && $(e, "folded", t[3]);
49
49
  },
50
50
  i(t) {
51
- p || (u(i.$$.fragment, t), u(o.$$.fragment, t), u(f.$$.fragment, t), p = !0);
51
+ p || (u(n.$$.fragment, t), u(s.$$.fragment, t), u(m.$$.fragment, t), p = !0);
52
52
  },
53
53
  o(t) {
54
- $(i.$$.fragment, t), $(o.$$.fragment, t), $(f.$$.fragment, t), p = !1;
54
+ x(n.$$.fragment, t), x(s.$$.fragment, t), x(m.$$.fragment, t), p = !1;
55
55
  },
56
56
  d(t) {
57
- z(i, t), t && x(l), t && x(e), z(o), z(f);
57
+ y(n, t), t && z(l), t && z(e), y(s), y(m);
58
58
  }
59
59
  };
60
60
  }
61
- function J(a) {
62
- let i, l, e = a[0].state && N(a);
61
+ function K(i) {
62
+ let n, l, e = i[0].state && P(i);
63
63
  return {
64
64
  c() {
65
- e && e.c(), i = E();
65
+ e && e.c(), n = F();
66
66
  },
67
- m(n, r) {
68
- e && e.m(n, r), T(n, i, r), l = !0;
67
+ m(r, a) {
68
+ e && e.m(r, a), Y(r, n, a), l = !0;
69
69
  },
70
- p(n, [r]) {
71
- n[0].state ? e ? (e.p(n, r), r & 1 && u(e, 1)) : (e = N(n), e.c(), u(e, 1), e.m(i.parentNode, i)) : e && (G(), $(e, 1, 1, () => {
70
+ p(r, [a]) {
71
+ r[0].state ? e ? (e.p(r, a), a & 1 && u(e, 1)) : (e = P(r), e.c(), u(e, 1), e.m(n.parentNode, n)) : e && (H(), x(e, 1, 1, () => {
72
72
  e = null;
73
- }), F());
73
+ }), G());
74
74
  },
75
- i(n) {
75
+ i(r) {
76
76
  l || (u(e), l = !0);
77
77
  },
78
- o(n) {
79
- $(e), l = !1;
78
+ o(r) {
79
+ x(e), l = !1;
80
80
  },
81
- d(n) {
82
- e && e.d(n), n && x(i);
81
+ d(r) {
82
+ e && e.d(r), r && z(n);
83
83
  }
84
84
  };
85
85
  }
86
- function K(a, i, l) {
87
- let e, n, r, { tag: m } = i;
88
- return a.$$set = (o) => {
89
- "tag" in o && l(0, m = o.tag);
90
- }, a.$$.update = () => {
91
- var o, c, d;
92
- a.$$.dirty & 1 && l(1, e = !!((o = m.state) != null && o.unfolded)), a.$$.dirty & 2 && l(3, n = !e), a.$$.dirty & 1 && l(2, r = (d = (c = m.data.title) != null ? c : m.data.text) != null ? d : "");
93
- }, [m, e, r, n];
86
+ function O(i, n, l) {
87
+ let e, r, a, { tag: d } = n;
88
+ return i.$$set = (s) => {
89
+ "tag" in s && l(0, d = s.tag);
90
+ }, i.$$.update = () => {
91
+ var s, _, f;
92
+ i.$$.dirty & 1 && l(1, e = !!((s = d.state) != null && s.unfolded)), i.$$.dirty & 2 && l(3, r = !e), i.$$.dirty & 1 && l(2, a = (f = (_ = d.data.title) != null ? _ : d.data.text) != null ? f : "");
93
+ }, [d, e, a, r];
94
94
  }
95
- class Z extends P {
96
- constructor(i) {
97
- super(), j(this, i, K, J, A, { tag: 0 }, I);
95
+ class ee extends j {
96
+ constructor(n) {
97
+ super(), A(this, n, O, K, B, { tag: 0 }, J);
98
98
  }
99
99
  }
100
100
  export {
101
- Z as default
101
+ ee as default
102
102
  };