@realsee/dnalogel 2.9.0-alpha.0 → 2.9.0-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 (248) hide show
  1. package/dist/index.cjs.js +14 -14
  2. package/dist/index.js +1331 -1327
  3. package/dist/index.umd.js +26 -26
  4. package/docs/classes/CSS3DRender.html +4 -4
  5. package/docs/classes/CruisePluginController.html +4 -4
  6. package/docs/classes/Magnifier.html +4 -4
  7. package/docs/classes/ModelRoomLabelController.html +4 -4
  8. package/docs/classes/Object3DHelperController.html +4 -4
  9. package/docs/classes/PaintBrush.html +4 -4
  10. package/docs/classes/PanoMeasurePluginLine.html +4 -4
  11. package/docs/classes/PanoMeasurePluginModel.html +4 -4
  12. package/docs/classes/PanoMeasurePluginPoint.html +4 -4
  13. package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
  14. package/docs/classes/PanoTagPluginController.html +6 -6
  15. package/docs/classes/Util.BetterTween.html +4 -4
  16. package/docs/classes/Util.FivePointSelector.html +4 -4
  17. package/docs/classes/Util.Interval.html +4 -4
  18. package/docs/classes/Util.Magnifier.html +4 -4
  19. package/docs/classes/Util.PointDomHelper.html +4 -4
  20. package/docs/classes/Util.PointHelper.html +4 -4
  21. package/docs/classes/Util.Rectangle.html +4 -4
  22. package/docs/enums/CameraMovementEffect.html +4 -4
  23. package/docs/enums/ContentType.html +4 -4
  24. package/docs/enums/DIRECTION.html +4 -4
  25. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +4 -4
  26. package/docs/enums/DimensionType.html +4 -4
  27. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -4
  28. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +4 -4
  29. package/docs/enums/PaintBrushTypeEnum.html +4 -4
  30. package/docs/enums/PointType.html +4 -4
  31. package/docs/enums/Rotation.html +4 -4
  32. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  33. package/docs/functions/CameraMovementPlugin.html +4 -4
  34. package/docs/functions/CruisePlugin.html +4 -4
  35. package/docs/functions/GuideLinePlugin.html +4 -4
  36. package/docs/functions/ItemLabelPlugin.html +4 -4
  37. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  38. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  39. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  40. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  41. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  42. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  43. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  44. package/docs/functions/ModelViewPlugin.html +4 -4
  45. package/docs/functions/Object3DHelperPlugin.html +4 -4
  46. package/docs/functions/PanoCompassPlugin.html +4 -4
  47. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  48. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  49. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  50. package/docs/functions/PanoMeasurePlugin.html +4 -4
  51. package/docs/functions/PanoRulerPlugin.html +4 -4
  52. package/docs/functions/PanoRulerProPlugin.html +4 -4
  53. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  54. package/docs/functions/PanoTagPlugin.html +4 -4
  55. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  56. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  57. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  58. package/docs/functions/Util.getFrameTime.html +4 -4
  59. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  60. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  61. package/docs/functions/Util.isNil.html +4 -4
  62. package/docs/functions/Util.nextFrame.html +4 -4
  63. package/docs/functions/Util.notNil.html +4 -4
  64. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  65. package/docs/functions/Util.tweenProgress.html +4 -4
  66. package/docs/functions/pluginFlag.html +4 -4
  67. package/docs/index.html +4 -4
  68. package/docs/interfaces/AddTagConfig.html +4 -4
  69. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  70. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  71. package/docs/interfaces/CameraMovementPluginExportType.html +4 -4
  72. package/docs/interfaces/EventMap.html +4 -4
  73. package/docs/interfaces/FloorplanBounding.html +4 -4
  74. package/docs/interfaces/FloorplanData.html +4 -4
  75. package/docs/interfaces/FloorplanEntrance.html +4 -4
  76. package/docs/interfaces/FloorplanExtraObject.html +4 -4
  77. package/docs/interfaces/FloorplanExtraObject3D.html +4 -4
  78. package/docs/interfaces/FloorplanFloorData.html +4 -4
  79. package/docs/interfaces/FloorplanImagePosition.html +4 -4
  80. package/docs/interfaces/FloorplanObserver.html +4 -4
  81. package/docs/interfaces/FloorplanOutlineItem.html +4 -4
  82. package/docs/interfaces/FloorplanPosition.html +4 -4
  83. package/docs/interfaces/FloorplanRoomItem.html +4 -4
  84. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  85. package/docs/interfaces/FloorplanServerBounding.html +4 -4
  86. package/docs/interfaces/FloorplanServerComputedData.html +4 -4
  87. package/docs/interfaces/FloorplanServerData.html +4 -4
  88. package/docs/interfaces/FloorplanServerDoorItem.html +4 -4
  89. package/docs/interfaces/FloorplanServerDoorPosition.html +4 -4
  90. package/docs/interfaces/FloorplanServerEntrance.html +4 -4
  91. package/docs/interfaces/FloorplanServerFloorData.html +4 -4
  92. package/docs/interfaces/FloorplanServerImagePosition.html +4 -4
  93. package/docs/interfaces/FloorplanServerObserver.html +4 -4
  94. package/docs/interfaces/FloorplanServerOutlineItem.html +4 -4
  95. package/docs/interfaces/FloorplanServerPosition.html +4 -4
  96. package/docs/interfaces/FloorplanServerRoomItem.html +4 -4
  97. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  98. package/docs/interfaces/HelperOffset.html +4 -4
  99. package/docs/interfaces/ItemLabelPluginData.html +4 -4
  100. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +4 -4
  101. package/docs/interfaces/ItemLabelPluginParametersType.html +4 -4
  102. package/docs/interfaces/MinMax.html +4 -4
  103. package/docs/interfaces/ModelChassisCompassPluginData.html +4 -4
  104. package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -4
  105. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +4 -4
  106. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -4
  107. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -4
  108. package/docs/interfaces/ModelItemLabelPluginData.html +4 -4
  109. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +4 -4
  110. package/docs/interfaces/ModelItemLabelPluginParametersType.html +4 -4
  111. package/docs/interfaces/ModelRoomLabelPluginData.html +4 -4
  112. package/docs/interfaces/ModelTVVideoPluginData.html +4 -4
  113. package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -4
  114. package/docs/interfaces/ModelTVVideoPluginParameterType.html +4 -4
  115. package/docs/interfaces/ModelViewPluginExportType.html +4 -4
  116. package/docs/interfaces/Object3DHelperState.html +4 -4
  117. package/docs/interfaces/ObjectHelperControllers.html +4 -4
  118. package/docs/interfaces/PaintBrushAction.html +4 -4
  119. package/docs/interfaces/PaintBrushConfigs.html +4 -4
  120. package/docs/interfaces/PaintBrushState.html +4 -4
  121. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +4 -4
  122. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  123. package/docs/interfaces/PanoMeasureParameterType.html +4 -4
  124. package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -4
  125. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -4
  126. package/docs/interfaces/PanoMeasurePluginPointJson.html +4 -4
  127. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
  128. package/docs/interfaces/PanoRulerPluginExportType.html +4 -4
  129. package/docs/interfaces/PanoRulerPluginOptions.html +4 -4
  130. package/docs/interfaces/PanoRulerPluginParameterType.html +4 -4
  131. package/docs/interfaces/PanoRulerProPluginExportType.html +4 -4
  132. package/docs/interfaces/PanoRulerProPluginOptions.html +4 -4
  133. package/docs/interfaces/PanoRulerProPluginParameterType.html +4 -4
  134. package/docs/interfaces/PanoRulerProPluginState.html +4 -4
  135. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  136. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  137. package/docs/interfaces/PanoSpatialTagPluginData.html +4 -4
  138. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +4 -4
  139. package/docs/interfaces/PanoSpatialTagPluginExportType.html +4 -4
  140. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +4 -4
  141. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +4 -4
  142. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +4 -4
  143. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +4 -4
  144. package/docs/interfaces/Point.html +4 -4
  145. package/docs/interfaces/Room.html +4 -4
  146. package/docs/interfaces/RoomInfo.html +4 -4
  147. package/docs/interfaces/RoomLabel.html +4 -4
  148. package/docs/interfaces/RoomRules.html +4 -4
  149. package/docs/interfaces/Rooms.html +4 -4
  150. package/docs/interfaces/Scissor.html +4 -4
  151. package/docs/interfaces/State.html +4 -4
  152. package/docs/interfaces/TagCache.html +4 -4
  153. package/docs/interfaces/TagConfig.html +4 -4
  154. package/docs/interfaces/TagIconUrl.html +4 -4
  155. package/docs/interfaces/Tags.html +4 -4
  156. package/docs/interfaces/TemporaryState.html +4 -4
  157. package/docs/interfaces/Util.MagnifierParameter.html +4 -4
  158. package/docs/interfaces/Util.MouseGroupParameter.html +4 -4
  159. package/docs/modules/Util.html +4 -4
  160. package/docs/modules.html +4 -4
  161. package/docs/types/ArrayPosition.html +4 -4
  162. package/docs/types/AudioAppearance.html +4 -4
  163. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  164. package/docs/types/CSS3DRenderExportType.html +4 -4
  165. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  166. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  167. package/docs/types/ClassFunctionParameters.html +4 -4
  168. package/docs/types/Color.html +4 -4
  169. package/docs/types/ContentTypeConfigKey.html +4 -4
  170. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  171. package/docs/types/ContentTypeMap.html +4 -4
  172. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  173. package/docs/types/Create3DElementReturnType.html +4 -4
  174. package/docs/types/CruisePluginExportType.html +4 -4
  175. package/docs/types/Direction-1.html +4 -4
  176. package/docs/types/Direction4.html +4 -4
  177. package/docs/types/FloorplanRuleLabels.html +4 -4
  178. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  179. package/docs/types/GuideLinePluginExportType.html +4 -4
  180. package/docs/types/HelperEventMap.html +4 -4
  181. package/docs/types/LoadTagConfig.html +4 -4
  182. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  183. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  184. package/docs/types/MediaData.html +4 -4
  185. package/docs/types/MediaStore.html +4 -4
  186. package/docs/types/ModelElement.html +4 -4
  187. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  188. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  189. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  190. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  191. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  192. package/docs/types/MoveArgs.html +4 -4
  193. package/docs/types/MoveOpts.html +4 -4
  194. package/docs/types/Object3DHelperEventMap.html +4 -4
  195. package/docs/types/ObjectFit.html +4 -4
  196. package/docs/types/PaintBrushEventMap.html +4 -4
  197. package/docs/types/PanoCompassPluginData.html +4 -4
  198. package/docs/types/PanoCompassPluginExportType.html +4 -4
  199. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  200. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  201. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  202. package/docs/types/PanoIndex.html +4 -4
  203. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  204. package/docs/types/PanoMeasureReturnType.html +4 -4
  205. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  206. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  207. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  208. package/docs/types/PlaneTag.html +4 -4
  209. package/docs/types/PlaneTagElement.html +4 -4
  210. package/docs/types/Point2DElement.html +4 -4
  211. package/docs/types/Point2DTag.html +4 -4
  212. package/docs/types/Point3DElement.html +4 -4
  213. package/docs/types/Point3DTag.html +4 -4
  214. package/docs/types/PointTag.html +4 -4
  215. package/docs/types/PointTagElement.html +4 -4
  216. package/docs/types/Position.html +4 -4
  217. package/docs/types/RotateArgs.html +4 -4
  218. package/docs/types/RotateOpts.html +4 -4
  219. package/docs/types/RuleLabelsKey.html +4 -4
  220. package/docs/types/RuleLabelsValue.html +4 -4
  221. package/docs/types/StickType.html +4 -4
  222. package/docs/types/Tag.html +4 -4
  223. package/docs/types/Tag2D.html +4 -4
  224. package/docs/types/Tag3D.html +4 -4
  225. package/docs/types/TagContentType.html +4 -4
  226. package/docs/types/TagDimensionType.html +4 -4
  227. package/docs/types/TagElement.html +4 -4
  228. package/docs/types/TagEvents.html +4 -4
  229. package/docs/types/TagGLTFObject.html +4 -4
  230. package/docs/types/TagHooks.html +4 -4
  231. package/docs/types/TagIconSize.html +4 -4
  232. package/docs/types/TagId.html +4 -4
  233. package/docs/types/TagPointType.html +4 -4
  234. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  235. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  236. package/docs/types/WorkCode.html +4 -4
  237. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  238. package/docs/variables/PLUGIN.html +4 -4
  239. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  240. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  241. package/docs/variables/VERSION.html +4 -4
  242. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  243. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  244. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  245. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +122 -122
  246. package/libs/PanoTagPlugin/controller/TagComputer.js +5 -2
  247. package/libs/PanoTagPlugin/utils/tagPosition.js +18 -17
  248. package/package.json +1 -1
@@ -1,14 +1,14 @@
1
- import { SvelteComponent as ie, init as le, safe_not_equal as ae, append_styles as re, element as v, create_component as ne, space as C, text as S, attr as h, set_style as L, null_to_empty as M, toggle_class as G, insert as T, mount_component as se, append as d, set_data as P, transition_in as oe, transition_out as ge, detach as z, destroy_component as he, src_url_equal as j, add_render_callback as fe, add_resize_listener as me, destroy_each as E, svg_element as X } from "../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as le, init as ie, safe_not_equal as ae, append_styles as re, element as h, create_component as ne, space as C, text as S, attr as m, set_style as L, null_to_empty as M, toggle_class as G, insert as T, mount_component as se, append as c, set_data as P, transition_in as oe, transition_out as fe, detach as z, destroy_component as me, src_url_equal as j, add_render_callback as de, add_resize_listener as ge, destroy_each as E, svg_element as X } from "../../../vendor/svelte/internal/index.js";
2
2
  import "hammerjs";
3
3
  import "three";
4
4
  import "@realsee/five";
5
5
  import "@tweenjs/tween.js";
6
6
  import "../../../CSS3DRenderPlugin/CSS3DRender.js";
7
7
  import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
8
- import { notNil as de } from "../../../shared-utils/isNil.js";
8
+ import { notNil as ce } from "../../../shared-utils/isNil.js";
9
9
  import "../../../shared-utils/animationFrame/BetterTween.js";
10
- import ce from "../../utils/px2rem.js";
11
- import pe from "../Common/Shadow.js";
10
+ import pe from "../../utils/px2rem.js";
11
+ import ve from "../Common/Shadow.js";
12
12
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
13
13
  import "three/examples/jsm/renderers/CSS3DRenderer";
14
14
  import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
@@ -24,97 +24,97 @@ import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
24
24
  import "../../../shared-utils/animationFrame/index.js";
25
25
  import "../../../vendor/svelte/transition/index.js";
26
26
  import "../../../vendor/svelte/easing/index.js";
27
- function ve(i) {
28
- re(i, "svelte-g97iah", '@charset "UTF-8";.svelte-g97iah.svelte-g97iah{box-sizing:border-box}.marketing.svelte-g97iah.svelte-g97iah{transform:translateY(-100%)}.marketing.svelte-g97iah .line.svelte-g97iah{position:absolute;height:2.0625rem;width:0.0625rem;left:50%;transform:translateX(-50%);background-color:white;bottom:0;transform-origin:bottom;transition:all 500ms}.marketing.svelte-g97iah .content.svelte-g97iah{position:relative;min-width:7.5rem;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}.marketing.svelte-g97iah .content .headerImage.svelte-g97iah{position:absolute;width:100%;top:0.25rem;transform:translateY(-100%);border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}.title-wrapper.svelte-g97iah.svelte-g97iah{position:relative;width:100%;height:1.125rem}.title-wrapper.svelte-g97iah .title.svelte-g97iah{border-radius:0.25rem;width:100%;padding-left:0.625rem;padding-right:0.625rem}.title-wrapper.svelte-g97iah .title .text.svelte-g97iah{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:0.75rem;font-weight:bold;line-height:1.125rem}.footer.svelte-g97iah.svelte-g97iah{position:relative;padding:0.5rem 0.625rem 0 0;width:100%;display:flex;align-items:center}.footer.svelte-g97iah .goto-button.svelte-g97iah{display:flex;flex-wrap:wrap;align-items:center;overflow:hidden;font-size:0.625rem;height:0.875rem}.footer.svelte-g97iah .goto-button .gap.svelte-g97iah{height:100%;width:0.625rem}.footer.svelte-g97iah .goto-button .text.svelte-g97iah{display:inline-block}.footer.svelte-g97iah svg.arrow.svelte-g97iah{flex-grow:0;flex-shrink:0;margin-left:0.25rem;width:0.375rem;height:0.5625rem}.footer.svelte-g97iah .price.svelte-g97iah{flex-shrink:0;margin-right:auto;white-space:nowrap;display:flex;align-items:baseline;margin-left:0.625rem}.footer.svelte-g97iah .price .value.svelte-g97iah{position:relative;font-size:0.875rem;line-height:1rem;font-family:TG-TYPE, PingFangSC, Segoe UI, Rototo, sans-serif;letter-spacing:0rem}.footer.svelte-g97iah .price .unit.svelte-g97iah{padding-left:0.125rem;font-size:0.625rem}.tags-wrapper.svelte-g97iah.svelte-g97iah{position:relative;overflow:hidden;height:1rem;margin-top:0.25rem}.tags-wrapper.svelte-g97iah .tags.svelte-g97iah{position:relative;display:inline-flex;max-width:100%;flex-wrap:wrap;padding-left:0.625rem;padding-right:0.375rem}.tags-wrapper.svelte-g97iah .tags .tag.svelte-g97iah{display:flex;align-items:center;justify-content:center;flex-shrink:0;flex-grow:0;font-size:0.625rem;height:1rem;margin-right:0.25rem;margin-bottom:0.625rem;padding:0 0.25rem;border-radius:0.125rem;max-width:100%;text-overflow:ellipsis;overflow:hidden}.marketing.light.svelte-g97iah .content.svelte-g97iah{background-color:white}.marketing.light.svelte-g97iah .content .title-wrapper .title .text.svelte-g97iah{color:rgba(0, 0, 0, 0.8)}.marketing.light.svelte-g97iah .content .tags-wrapper .tags .primary-tag.svelte-g97iah{background:rgba(234, 208, 154, 0.5);color:#946700}.marketing.light.svelte-g97iah .content .tags-wrapper .tags .secondary-tag.svelte-g97iah{background:rgba(0, 0, 0, 0.06);color:rgba(0, 0, 0, 0.5)}.marketing.light.svelte-g97iah .content .footer.svelte-g97iah{color:#946700;fill:#946700}.marketing.dark.svelte-g97iah .content.svelte-g97iah{background-color:rgba(0, 0, 0, 0.5)}.marketing.dark.svelte-g97iah .content .title-wrapper .title .text.svelte-g97iah{color:white}.marketing.dark.svelte-g97iah .content .tags-wrapper .tags .primary-tag.svelte-g97iah{background:rgba(234, 208, 154, 0.5);color:white}.marketing.dark.svelte-g97iah .content .tags-wrapper .tags .secondary-tag.svelte-g97iah{background:rgba(255, 255, 255, 0.15);color:rgba(255, 255, 255, 0.85)}.marketing.dark.svelte-g97iah .content .footer.svelte-g97iah{color:#ead09a;fill:#ead09a}.marketing.unfolded.svelte-g97iah .line.svelte-g97iah{transform:translateX(-50%) scale(1, 1)}.marketing.folded.svelte-g97iah .line.svelte-g97iah{transform:translateX(-50%) scale(1, 0);transition-timing-function:ease-in}.marketing.unfolded.svelte-g97iah .content.svelte-g97iah{opacity:1}.marketing.folded.svelte-g97iah .content.svelte-g97iah{opacity:0;transform:translateY(0.425rem);transition-timing-function:ease-in}');
27
+ function he(l) {
28
+ re(l, "svelte-1yl9i3a", '@charset "UTF-8";.svelte-1yl9i3a.svelte-1yl9i3a{box-sizing:border-box}.marketing.svelte-1yl9i3a.svelte-1yl9i3a{transform:translateY(-100%)}.marketing.svelte-1yl9i3a .line.svelte-1yl9i3a{position:absolute;height:2.0625rem;width:0.0625rem;left:50%;transform:translateX(-50%);background-color:white;bottom:0;transform-origin:bottom;transition:all 500ms}.marketing.svelte-1yl9i3a .content.svelte-1yl9i3a{position:relative;min-width:7.5rem;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-property:opacity, transform;transition-duration:500ms}.marketing.svelte-1yl9i3a .content .headerImage.svelte-1yl9i3a{position:absolute;width:100%;top:0.25rem;transform:translateY(-100%);border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}.title-wrapper.svelte-1yl9i3a.svelte-1yl9i3a{position:relative;width:100%;height:1.125rem}.title-wrapper.svelte-1yl9i3a .title.svelte-1yl9i3a{border-radius:0.25rem;width:100%;padding-left:0.625rem;padding-right:0.625rem}.title-wrapper.svelte-1yl9i3a .title .text.svelte-1yl9i3a{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:0.75rem;font-weight:bold;line-height:1.125rem}.footer.svelte-1yl9i3a.svelte-1yl9i3a{position:relative;padding:0.5rem 0.625rem 0 0;width:100%;display:flex;align-items:center}.footer.svelte-1yl9i3a .goto-button.svelte-1yl9i3a{display:flex;flex-wrap:wrap;align-items:center;overflow:hidden;font-size:0.625rem;height:0.875rem}.footer.svelte-1yl9i3a .goto-button .gap.svelte-1yl9i3a{height:100%;width:0.625rem}.footer.svelte-1yl9i3a .goto-button .text.svelte-1yl9i3a{display:inline-block}.footer.svelte-1yl9i3a svg.arrow.svelte-1yl9i3a{flex-grow:0;flex-shrink:0;margin-left:0.25rem;width:0.375rem;height:0.5625rem}.footer.svelte-1yl9i3a .price.svelte-1yl9i3a{flex-shrink:0;margin-right:auto;white-space:nowrap;display:flex;align-items:baseline;margin-left:0.625rem}.footer.svelte-1yl9i3a .price .value.svelte-1yl9i3a{position:relative;font-size:0.875rem;line-height:1rem;font-family:TG-TYPE, PingFangSC, Segoe UI, Rototo, sans-serif;letter-spacing:0rem}.footer.svelte-1yl9i3a .price .unit.svelte-1yl9i3a{padding-left:0.125rem;font-size:0.625rem}.tags-wrapper.svelte-1yl9i3a.svelte-1yl9i3a{position:relative;overflow:hidden;height:1rem;margin-top:0.25rem}.tags-wrapper.svelte-1yl9i3a .tags.svelte-1yl9i3a{position:relative;display:inline-flex;max-width:100%;flex-wrap:wrap;padding-left:0.625rem;padding-right:0.375rem}.tags-wrapper.svelte-1yl9i3a .tags .tag.svelte-1yl9i3a{display:flex;align-items:center;justify-content:center;flex-shrink:0;flex-grow:0;font-size:0.625rem;height:1rem;margin-right:0.25rem;margin-bottom:0.625rem;padding:0 0.25rem;border-radius:0.125rem;max-width:100%;text-overflow:ellipsis;overflow:hidden}.marketing.light.svelte-1yl9i3a .content.svelte-1yl9i3a{background-color:white}.marketing.light.svelte-1yl9i3a .content .title-wrapper .title .text.svelte-1yl9i3a{color:rgba(0, 0, 0, 0.8)}.marketing.light.svelte-1yl9i3a .content .tags-wrapper .tags .primary-tag.svelte-1yl9i3a{background:rgba(234, 208, 154, 0.5);color:#946700}.marketing.light.svelte-1yl9i3a .content .tags-wrapper .tags .secondary-tag.svelte-1yl9i3a{background:rgba(0, 0, 0, 0.06);color:rgba(0, 0, 0, 0.5)}.marketing.light.svelte-1yl9i3a .content .footer.svelte-1yl9i3a{color:#946700;fill:#946700}.marketing.dark.svelte-1yl9i3a .content.svelte-1yl9i3a{background-color:rgba(0, 0, 0, 0.5)}.marketing.dark.svelte-1yl9i3a .content .title-wrapper .title .text.svelte-1yl9i3a{color:white}.marketing.dark.svelte-1yl9i3a .content .tags-wrapper .tags .primary-tag.svelte-1yl9i3a{background:rgba(234, 208, 154, 0.5);color:white}.marketing.dark.svelte-1yl9i3a .content .tags-wrapper .tags .secondary-tag.svelte-1yl9i3a{background:rgba(255, 255, 255, 0.15);color:rgba(255, 255, 255, 0.85)}.marketing.dark.svelte-1yl9i3a .content .footer.svelte-1yl9i3a{color:#ead09a;fill:#ead09a}.marketing.unfolded.svelte-1yl9i3a .line.svelte-1yl9i3a{transform:translateX(-50%) scale(1, 1)}.marketing.folded.svelte-1yl9i3a .line.svelte-1yl9i3a{transform:translateX(-50%) scale(1, 0);transition-timing-function:ease-in}.marketing.unfolded.svelte-1yl9i3a .content.svelte-1yl9i3a{opacity:1}.marketing.folded.svelte-1yl9i3a .content.svelte-1yl9i3a{opacity:0;transform:translateY(0.425rem);transition-timing-function:ease-in}');
29
29
  }
30
- function N(i, e, t) {
31
- const a = i.slice();
30
+ function N(l, e, t) {
31
+ const a = l.slice();
32
32
  return a[0] = e[t], a;
33
33
  }
34
- function O(i, e, t) {
35
- const a = i.slice();
34
+ function O(l, e, t) {
35
+ const a = l.slice();
36
36
  return a[0] = e[t], a;
37
37
  }
38
- function Z(i) {
38
+ function Z(l) {
39
39
  let e, t;
40
40
  return {
41
41
  c() {
42
- e = v("img"), h(e, "class", "headerImage svelte-g97iah"), j(e.src, t = i[3].headerPictureUrl) || h(e, "src", t), h(e, "alt", "");
42
+ e = h("img"), m(e, "class", "headerImage svelte-1yl9i3a"), j(e.src, t = l[3].headerPictureUrl) || m(e, "src", t), m(e, "alt", "");
43
43
  },
44
44
  m(a, r) {
45
45
  T(a, e, r);
46
46
  },
47
47
  p(a, r) {
48
- r & 8 && !j(e.src, t = a[3].headerPictureUrl) && h(e, "src", t);
48
+ r & 8 && !j(e.src, t = a[3].headerPictureUrl) && m(e, "src", t);
49
49
  },
50
50
  d(a) {
51
51
  a && z(e);
52
52
  }
53
53
  };
54
54
  }
55
- function A(i) {
56
- let e, t, a, r, s = i[2] || [], l = [];
55
+ function A(l) {
56
+ let e, t, a, r, s = l[2] || [], i = [];
57
57
  for (let o = 0; o < s.length; o += 1)
58
- l[o] = J(O(i, s, o));
59
- let f = i[5] || [], g = [];
60
- for (let o = 0; o < f.length; o += 1)
61
- g[o] = K(N(i, f, o));
58
+ i[o] = J(O(l, s, o));
59
+ let d = l[5] || [], f = [];
60
+ for (let o = 0; o < d.length; o += 1)
61
+ f[o] = K(N(l, d, o));
62
62
  return {
63
63
  c() {
64
- e = v("div"), t = v("div");
65
- for (let o = 0; o < l.length; o += 1)
66
- l[o].c();
64
+ e = h("div"), t = h("div");
65
+ for (let o = 0; o < i.length; o += 1)
66
+ i[o].c();
67
67
  a = C();
68
- for (let o = 0; o < g.length; o += 1)
69
- g[o].c();
70
- h(t, "class", "tags svelte-g97iah"), fe(() => i[11].call(t)), h(e, "class", "tags-wrapper svelte-g97iah");
68
+ for (let o = 0; o < f.length; o += 1)
69
+ f[o].c();
70
+ m(t, "class", "tags svelte-1yl9i3a"), de(() => l[11].call(t)), m(e, "class", "tags-wrapper svelte-1yl9i3a");
71
71
  },
72
- m(o, p) {
73
- T(o, e, p), d(e, t);
74
- for (let n = 0; n < l.length; n += 1)
75
- l[n].m(t, null);
76
- d(t, a);
77
- for (let n = 0; n < g.length; n += 1)
78
- g[n].m(t, null);
79
- r = me(t, i[11].bind(t));
72
+ m(o, v) {
73
+ T(o, e, v), c(e, t);
74
+ for (let n = 0; n < i.length; n += 1)
75
+ i[n].m(t, null);
76
+ c(t, a);
77
+ for (let n = 0; n < f.length; n += 1)
78
+ f[n].m(t, null);
79
+ r = ge(t, l[11].bind(t));
80
80
  },
81
- p(o, p) {
82
- if (p & 4) {
81
+ p(o, v) {
82
+ if (v & 4) {
83
83
  s = o[2] || [];
84
84
  let n;
85
85
  for (n = 0; n < s.length; n += 1) {
86
- const c = O(o, s, n);
87
- l[n] ? l[n].p(c, p) : (l[n] = J(c), l[n].c(), l[n].m(t, a));
86
+ const p = O(o, s, n);
87
+ i[n] ? i[n].p(p, v) : (i[n] = J(p), i[n].c(), i[n].m(t, a));
88
88
  }
89
- for (; n < l.length; n += 1)
90
- l[n].d(1);
91
- l.length = s.length;
89
+ for (; n < i.length; n += 1)
90
+ i[n].d(1);
91
+ i.length = s.length;
92
92
  }
93
- if (p & 32) {
94
- f = o[5] || [];
93
+ if (v & 32) {
94
+ d = o[5] || [];
95
95
  let n;
96
- for (n = 0; n < f.length; n += 1) {
97
- const c = N(o, f, n);
98
- g[n] ? g[n].p(c, p) : (g[n] = K(c), g[n].c(), g[n].m(t, null));
96
+ for (n = 0; n < d.length; n += 1) {
97
+ const p = N(o, d, n);
98
+ f[n] ? f[n].p(p, v) : (f[n] = K(p), f[n].c(), f[n].m(t, null));
99
99
  }
100
- for (; n < g.length; n += 1)
101
- g[n].d(1);
102
- g.length = f.length;
100
+ for (; n < f.length; n += 1)
101
+ f[n].d(1);
102
+ f.length = d.length;
103
103
  }
104
104
  },
105
105
  d(o) {
106
- o && z(e), E(l, o), E(g, o), r();
106
+ o && z(e), E(i, o), E(f, o), r();
107
107
  }
108
108
  };
109
109
  }
110
- function J(i) {
111
- let e, t = i[0] + "", a;
110
+ function J(l) {
111
+ let e, t = l[0] + "", a;
112
112
  return {
113
113
  c() {
114
- e = v("div"), a = S(t), h(e, "class", "tag primary-tag svelte-g97iah"), L(e, "min-width", q);
114
+ e = h("div"), a = S(t), m(e, "class", "tag primary-tag svelte-1yl9i3a"), L(e, "min-width", q);
115
115
  },
116
116
  m(r, s) {
117
- T(r, e, s), d(e, a);
117
+ T(r, e, s), c(e, a);
118
118
  },
119
119
  p(r, s) {
120
120
  s & 4 && t !== (t = r[0] + "") && P(a, t);
@@ -124,14 +124,14 @@ function J(i) {
124
124
  }
125
125
  };
126
126
  }
127
- function K(i) {
128
- let e, t = i[0] + "", a;
127
+ function K(l) {
128
+ let e, t = l[0] + "", a;
129
129
  return {
130
130
  c() {
131
- e = v("div"), a = S(t), h(e, "class", "tag secondary-tag svelte-g97iah"), L(e, "min-width", q);
131
+ e = h("div"), a = S(t), m(e, "class", "tag secondary-tag svelte-1yl9i3a"), L(e, "min-width", q);
132
132
  },
133
133
  m(r, s) {
134
- T(r, e, s), d(e, a);
134
+ T(r, e, s), c(e, a);
135
135
  },
136
136
  p(r, s) {
137
137
  s & 32 && t !== (t = r[0] + "") && P(a, t);
@@ -141,48 +141,48 @@ function K(i) {
141
141
  }
142
142
  };
143
143
  }
144
- function Q(i) {
145
- let e, t, a = i[7] && V(i), r = i[3].highlightText && $(i);
144
+ function Q(l) {
145
+ let e, t, a = l[7] && V(l), r = l[3].highlightText && $(l);
146
146
  return {
147
147
  c() {
148
- e = v("div"), a && a.c(), t = C(), r && r.c(), h(e, "class", "footer svelte-g97iah");
148
+ e = h("div"), a && a.c(), t = C(), r && r.c(), m(e, "class", "footer svelte-1yl9i3a");
149
149
  },
150
- m(s, l) {
151
- T(s, e, l), a && a.m(e, null), d(e, t), r && r.m(e, null);
150
+ m(s, i) {
151
+ T(s, e, i), a && a.m(e, null), c(e, t), r && r.m(e, null);
152
152
  },
153
- p(s, l) {
154
- s[7] ? a ? a.p(s, l) : (a = V(s), a.c(), a.m(e, t)) : a && (a.d(1), a = null), s[3].highlightText ? r ? r.p(s, l) : (r = $(s), r.c(), r.m(e, null)) : r && (r.d(1), r = null);
153
+ p(s, i) {
154
+ s[7] ? a ? a.p(s, i) : (a = V(s), a.c(), a.m(e, t)) : a && (a.d(1), a = null), s[3].highlightText ? r ? r.p(s, i) : (r = $(s), r.c(), r.m(e, null)) : r && (r.d(1), r = null);
155
155
  },
156
156
  d(s) {
157
157
  s && z(e), a && a.d(), r && r.d();
158
158
  }
159
159
  };
160
160
  }
161
- function V(i) {
162
- let e, t, a = i[3].price.value + "", r, s, l = i[3].price.unit && x(i);
161
+ function V(l) {
162
+ let e, t, a = l[3].price.value + "", r, s, i = l[3].price.unit && x(l);
163
163
  return {
164
164
  c() {
165
- e = v("div"), t = v("span"), r = S(a), s = C(), l && l.c(), h(t, "class", "value svelte-g97iah"), h(e, "class", "price svelte-g97iah");
165
+ e = h("div"), t = h("span"), r = S(a), s = C(), i && i.c(), m(t, "class", "value svelte-1yl9i3a"), m(e, "class", "price svelte-1yl9i3a");
166
166
  },
167
- m(f, g) {
168
- T(f, e, g), d(e, t), d(t, r), d(e, s), l && l.m(e, null);
167
+ m(d, f) {
168
+ T(d, e, f), c(e, t), c(t, r), c(e, s), i && i.m(e, null);
169
169
  },
170
- p(f, g) {
171
- g & 8 && a !== (a = f[3].price.value + "") && P(r, a), f[3].price.unit ? l ? l.p(f, g) : (l = x(f), l.c(), l.m(e, null)) : l && (l.d(1), l = null);
170
+ p(d, f) {
171
+ f & 8 && a !== (a = d[3].price.value + "") && P(r, a), d[3].price.unit ? i ? i.p(d, f) : (i = x(d), i.c(), i.m(e, null)) : i && (i.d(1), i = null);
172
172
  },
173
- d(f) {
174
- f && z(e), l && l.d();
173
+ d(d) {
174
+ d && z(e), i && i.d();
175
175
  }
176
176
  };
177
177
  }
178
- function x(i) {
179
- let e, t = i[3].price.unit + "", a;
178
+ function x(l) {
179
+ let e, t = l[3].price.unit + "", a;
180
180
  return {
181
181
  c() {
182
- e = v("span"), a = S(t), h(e, "class", "unit svelte-g97iah");
182
+ e = h("span"), a = S(t), m(e, "class", "unit svelte-1yl9i3a");
183
183
  },
184
184
  m(r, s) {
185
- T(r, e, s), d(e, a);
185
+ T(r, e, s), c(e, a);
186
186
  },
187
187
  p(r, s) {
188
188
  s & 8 && t !== (t = r[3].price.unit + "") && P(a, t);
@@ -192,29 +192,29 @@ function x(i) {
192
192
  }
193
193
  };
194
194
  }
195
- function $(i) {
196
- let e, t, a, r, s = i[3].highlightText + "", l, f, g, o, p;
195
+ function $(l) {
196
+ let e, t, a, r, s = l[3].highlightText + "", i, d, f, o, v;
197
197
  return {
198
198
  c() {
199
- e = v("div"), t = v("div"), a = C(), r = v("span"), l = S(s), f = C(), g = X("svg"), o = X("g"), p = X("path"), h(t, "class", "gap svelte-g97iah"), h(r, "class", "text svelte-g97iah"), h(e, "class", "goto-button goto-icon svelte-g97iah"), h(p, "d", "M4.43868724,2.12056563 C4.28121824,1.95989074 4.02582143,1.95979988 3.86824251,2.1203627 C3.72498894,2.26632889 3.71189225,2.49481723 3.82900374,2.65587166 L6.57092402,5.92894326 C6.72651763,6.11470411 6.72651763,6.38529589 6.57092402,6.57105674 L3.86804348,9.79798499 C3.72488984,9.94405307 3.71194952,10.1725507 3.8291712,10.3335217 L3.86824251,10.3796373 C4.01149607,10.5256035 4.23559087,10.5387981 4.39346025,10.4192733 L4.43868724,10.3794344 L8.1144599,6.5985342 C8.30312347,6.40447482 8.30312347,6.09552518 8.1144599,5.9014658 L4.43868724,2.12056563 Z"), h(p, "class", "svelte-g97iah"), h(o, "transform", "translate(-3, -2)"), h(o, "fill-rule", "nonzero"), h(o, "class", "svelte-g97iah"), h(g, "class", "arrow svelte-g97iah"), h(g, "viewBox", "0 0 6 9");
199
+ e = h("div"), t = h("div"), a = C(), r = h("span"), i = S(s), d = C(), f = X("svg"), o = X("g"), v = X("path"), m(t, "class", "gap svelte-1yl9i3a"), m(r, "class", "text svelte-1yl9i3a"), m(e, "class", "goto-button goto-icon svelte-1yl9i3a"), m(v, "d", "M4.43868724,2.12056563 C4.28121824,1.95989074 4.02582143,1.95979988 3.86824251,2.1203627 C3.72498894,2.26632889 3.71189225,2.49481723 3.82900374,2.65587166 L6.57092402,5.92894326 C6.72651763,6.11470411 6.72651763,6.38529589 6.57092402,6.57105674 L3.86804348,9.79798499 C3.72488984,9.94405307 3.71194952,10.1725507 3.8291712,10.3335217 L3.86824251,10.3796373 C4.01149607,10.5256035 4.23559087,10.5387981 4.39346025,10.4192733 L4.43868724,10.3794344 L8.1144599,6.5985342 C8.30312347,6.40447482 8.30312347,6.09552518 8.1144599,5.9014658 L4.43868724,2.12056563 Z"), m(v, "class", "svelte-1yl9i3a"), m(o, "transform", "translate(-3, -2)"), m(o, "fill-rule", "nonzero"), m(o, "class", "svelte-1yl9i3a"), m(f, "class", "arrow svelte-1yl9i3a"), m(f, "viewBox", "0 0 6 9");
200
200
  },
201
- m(n, c) {
202
- T(n, e, c), d(e, t), d(e, a), d(e, r), d(r, l), T(n, f, c), T(n, g, c), d(g, o), d(o, p);
201
+ m(n, p) {
202
+ T(n, e, p), c(e, t), c(e, a), c(e, r), c(r, i), T(n, d, p), T(n, f, p), c(f, o), c(o, v);
203
203
  },
204
- p(n, c) {
205
- c & 8 && s !== (s = n[3].highlightText + "") && P(l, s);
204
+ p(n, p) {
205
+ p & 8 && s !== (s = n[3].highlightText + "") && P(i, s);
206
206
  },
207
207
  d(n) {
208
- n && z(e), n && z(f), n && z(g);
208
+ n && z(e), n && z(d), n && z(f);
209
209
  }
210
210
  };
211
211
  }
212
- function ue(i) {
212
+ function ue(l) {
213
213
  var Y, B;
214
- let e, t, a, r, s, l, f, g, o, p, n = i[3].title + "", c, U, W, b, k;
215
- t = new pe({
214
+ let e, t, a, r, s, i, d, f, o, v, n = l[3].title + "", p, U, W, w, b;
215
+ t = new ve({
216
216
  props: {
217
- visible: i[4],
217
+ visible: l[4],
218
218
  outDelay: 500,
219
219
  left: 61,
220
220
  bottom: 87,
@@ -222,66 +222,66 @@ function ue(i) {
222
222
  spreadRadius: 75
223
223
  }
224
224
  });
225
- let u = i[3].headerPictureUrl && Z(i), _ = ((Y = i[2].length) != null ? Y : 0) + ((B = i[5].length) != null ? B : 0) > 0 && A(i), w = (i[7] || i[3].highlightText) && Q(i);
225
+ let u = l[3].headerPictureUrl && Z(l), y = ((Y = l[2].length) != null ? Y : 0) + ((B = l[5].length) != null ? B : 0) > 0 && A(l), _ = (l[7] || l[3].highlightText) && Q(l);
226
226
  return {
227
227
  c() {
228
- e = v("div"), ne(t.$$.fragment), a = C(), r = v("div"), s = C(), l = v("div"), u && u.c(), f = C(), g = v("div"), o = v("div"), p = v("div"), c = S(n), U = C(), _ && _.c(), W = C(), w && w.c(), h(r, "class", "line svelte-g97iah"), L(r, "transition-delay", i[4] ? I + "ms" : R + te - ee - 40 + "ms"), h(p, "class", "text svelte-g97iah"), h(o, "class", "title svelte-g97iah"), h(g, "class", "title-wrapper svelte-g97iah"), h(l, "class", "content svelte-g97iah"), L(l, "max-width", ce(i[9])), L(l, "transition-delay", i[4] ? I + R + "ms" : "0ms"), h(e, "class", b = M(`marketing ${i[6]}`) + " svelte-g97iah"), G(e, "unfolded", i[4]), G(e, "folded", i[8]);
228
+ e = h("div"), ne(t.$$.fragment), a = C(), r = h("div"), s = C(), i = h("div"), u && u.c(), d = C(), f = h("div"), o = h("div"), v = h("div"), p = S(n), U = C(), y && y.c(), W = C(), _ && _.c(), m(r, "class", "line svelte-1yl9i3a"), L(r, "transition-delay", l[4] ? I + "ms" : R + te - ee - 40 + "ms"), m(v, "class", "text svelte-1yl9i3a"), m(o, "class", "title svelte-1yl9i3a"), m(f, "class", "title-wrapper svelte-1yl9i3a"), m(i, "class", "content svelte-1yl9i3a"), L(i, "max-width", pe(l[9])), L(i, "transition-delay", l[4] ? I + R + "ms" : "0ms"), m(e, "class", w = M(`marketing ${l[6]}`) + " svelte-1yl9i3a"), G(e, "unfolded", l[4]), G(e, "folded", l[8]);
229
229
  },
230
- m(m, y) {
231
- T(m, e, y), se(t, e, null), d(e, a), d(e, r), d(e, s), d(e, l), u && u.m(l, null), d(l, f), d(l, g), d(g, o), d(o, p), d(p, c), d(l, U), _ && _.m(l, null), d(l, W), w && w.m(l, null), k = !0;
230
+ m(g, k) {
231
+ T(g, e, k), se(t, e, null), c(e, a), c(e, r), c(e, s), c(e, i), u && u.m(i, null), c(i, d), c(i, f), c(f, o), c(o, v), c(v, p), c(i, U), y && y.m(i, null), c(i, W), _ && _.m(i, null), b = !0;
232
232
  },
233
- p(m, [y]) {
233
+ p(g, [k]) {
234
234
  var F, H;
235
235
  const D = {};
236
- y & 16 && (D.visible = m[4]), t.$set(D), y & 16 && L(r, "transition-delay", m[4] ? I + "ms" : R + te - ee - 40 + "ms"), m[3].headerPictureUrl ? u ? u.p(m, y) : (u = Z(m), u.c(), u.m(l, f)) : u && (u.d(1), u = null), (!k || y & 8) && n !== (n = m[3].title + "") && P(c, n), ((F = m[2].length) != null ? F : 0) + ((H = m[5].length) != null ? H : 0) > 0 ? _ ? _.p(m, y) : (_ = A(m), _.c(), _.m(l, W)) : _ && (_.d(1), _ = null), m[7] || m[3].highlightText ? w ? w.p(m, y) : (w = Q(m), w.c(), w.m(l, null)) : w && (w.d(1), w = null), y & 16 && L(l, "transition-delay", m[4] ? I + R + "ms" : "0ms"), (!k || y & 64 && b !== (b = M(`marketing ${m[6]}`) + " svelte-g97iah")) && h(e, "class", b), (!k || y & 80) && G(e, "unfolded", m[4]), (!k || y & 320) && G(e, "folded", m[8]);
236
+ k & 16 && (D.visible = g[4]), t.$set(D), k & 16 && L(r, "transition-delay", g[4] ? I + "ms" : R + te - ee - 40 + "ms"), g[3].headerPictureUrl ? u ? u.p(g, k) : (u = Z(g), u.c(), u.m(i, d)) : u && (u.d(1), u = null), (!b || k & 8) && n !== (n = g[3].title + "") && P(p, n), ((F = g[2].length) != null ? F : 0) + ((H = g[5].length) != null ? H : 0) > 0 ? y ? y.p(g, k) : (y = A(g), y.c(), y.m(i, W)) : y && (y.d(1), y = null), g[7] || g[3].highlightText ? _ ? _.p(g, k) : (_ = Q(g), _.c(), _.m(i, null)) : _ && (_.d(1), _ = null), k & 16 && L(i, "transition-delay", g[4] ? I + R + "ms" : "0ms"), (!b || k & 64 && w !== (w = M(`marketing ${g[6]}`) + " svelte-1yl9i3a")) && m(e, "class", w), (!b || k & 80) && G(e, "unfolded", g[4]), (!b || k & 320) && G(e, "folded", g[8]);
237
237
  },
238
- i(m) {
239
- k || (oe(t.$$.fragment, m), k = !0);
238
+ i(g) {
239
+ b || (oe(t.$$.fragment, g), b = !0);
240
240
  },
241
- o(m) {
242
- ge(t.$$.fragment, m), k = !1;
241
+ o(g) {
242
+ fe(t.$$.fragment, g), b = !1;
243
243
  },
244
- d(m) {
245
- m && z(e), he(t), u && u.d(), _ && _.d(), w && w.d();
244
+ d(g) {
245
+ g && z(e), me(t), u && u.d(), y && y.d(), _ && _.d();
246
246
  }
247
247
  };
248
248
  }
249
249
  const q = 40, I = 400, ee = 500, R = 180, te = 500;
250
- function _e(i, e, t) {
251
- let a, r, s, l, f, g, o, p, { tag: n } = e, c, U = (() => {
252
- var k;
253
- const b = (k = n.data.limitWidth) != null ? k : !0;
254
- if (typeof b == "number")
255
- return b;
256
- if (b === !0)
250
+ function ye(l, e, t) {
251
+ let a, r, s, i, d, f, o, v, { tag: n } = e, p, U = (() => {
252
+ var b;
253
+ const w = (b = n.data.limitWidth) != null ? b : !0;
254
+ if (typeof w == "number")
255
+ return w;
256
+ if (w === !0)
257
257
  return 172;
258
258
  })();
259
259
  function W() {
260
- c = this.offsetHeight, t(1, c);
260
+ p = this.offsetHeight, t(1, p);
261
261
  }
262
- return i.$$set = (b) => {
263
- "tag" in b && t(0, n = b.tag);
264
- }, i.$$.update = () => {
265
- var b, k, u, _, w, Y, B;
266
- i.$$.dirty & 1 && t(4, a = (k = (b = n.state) == null ? void 0 : b.unfolded) != null ? k : !1), i.$$.dirty & 16 && t(8, r = !a), i.$$.dirty & 1 && t(3, s = n.data), i.$$.dirty & 8 && t(7, l = de((u = s.price) == null ? void 0 : u.value) && ((_ = s.price) == null ? void 0 : _.value) !== ""), i.$$.dirty & 1 && t(6, f = (w = n.data.theme) != null ? w : "light"), i.$$.dirty & 1026 && c > 40 && t(10, g = g - 1), i.$$.dirty & 1032 && t(2, o = ((Y = s.brandTags) == null ? void 0 : Y.slice(0, g).filter(Boolean)) || []), i.$$.dirty & 1036 && t(5, p = ((B = s.tags) == null ? void 0 : B.slice(0, g - o.length).filter(Boolean)) || []);
267
- }, t(10, g = (U - 20) / q), [
262
+ return l.$$set = (w) => {
263
+ "tag" in w && t(0, n = w.tag);
264
+ }, l.$$.update = () => {
265
+ var w, b, u, y, _, Y, B;
266
+ l.$$.dirty & 1 && t(4, a = (b = (w = n.state) == null ? void 0 : w.unfolded) != null ? b : !1), l.$$.dirty & 16 && t(8, r = !a), l.$$.dirty & 1 && t(3, s = n.data), l.$$.dirty & 8 && t(7, i = ce((u = s.price) == null ? void 0 : u.value) && ((y = s.price) == null ? void 0 : y.value) !== ""), l.$$.dirty & 1 && t(6, d = (_ = n.data.theme) != null ? _ : "light"), l.$$.dirty & 1026 && p > 40 && t(10, f = f - 1), l.$$.dirty & 1032 && t(2, o = ((Y = s.brandTags) == null ? void 0 : Y.slice(0, f).filter(Boolean)) || []), l.$$.dirty & 1036 && t(5, v = ((B = s.tags) == null ? void 0 : B.slice(0, f - o.length).filter(Boolean)) || []);
267
+ }, t(10, f = (U - 20) / q), [
268
268
  n,
269
- c,
269
+ p,
270
270
  o,
271
271
  s,
272
272
  a,
273
- p,
274
- f,
275
- l,
273
+ v,
274
+ d,
275
+ i,
276
276
  r,
277
277
  U,
278
- g,
278
+ f,
279
279
  W
280
280
  ];
281
281
  }
282
- class Oe extends ie {
282
+ class Oe extends le {
283
283
  constructor(e) {
284
- super(), le(this, e, _e, ue, ae, { tag: 0 }, ve);
284
+ super(), ie(this, e, ye, ue, ae, { tag: 0 }, he);
285
285
  }
286
286
  }
287
287
  export {
@@ -223,7 +223,10 @@ class ve extends S {
223
223
  const l = (s = (f = this.five.work) == null ? void 0 : f.observers[i]) == null ? void 0 : s.position;
224
224
  if (l === void 0)
225
225
  throw new Error(`getDistance(): observerPosition is ${l}`);
226
- const c = D(e), u = l.distanceTo(c);
226
+ const c = D(e);
227
+ if (!c)
228
+ return -1;
229
+ const u = l.distanceTo(c);
227
230
  return o.distance = u, u;
228
231
  }
229
232
  }
@@ -345,7 +348,7 @@ class ve extends S {
345
348
  });
346
349
  }
347
350
  getTagProject(e) {
348
- if (!this.getVisibleByPanoIndex(e))
351
+ if (!this.getVisibleByPanoIndex(e) || !e.position)
349
352
  return;
350
353
  const i = M(e.position), { x: o, y: n, z: f } = i.project(this.five.camera);
351
354
  if (!(f > 1))
@@ -1,25 +1,26 @@
1
- import { Matrix4 as s, Vector3 as m } from "three";
1
+ import { Matrix4 as m, Vector3 as p } from "three";
2
2
  import { centerPoint as n } from "../../CSS3DRenderPlugin/utils/centerPoint.js";
3
- import { anyPositionToVector3 as t, arrayPositionToVector3 as p } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
3
+ import { anyPositionToVector3 as t, arrayPositionToVector3 as a } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
4
4
  import "@realsee/five/gltf-loader";
5
- import { isPointTag as a, isMediaModelTag as c } from "./tag/tagCheck.js";
6
- function f(r) {
7
- if (Array.isArray(r) && r.length === 4) {
8
- const o = r.map(t);
9
- return n(o[0], o[2]);
10
- } else
11
- return t(r);
5
+ import { isPointTag as c, isMediaModelTag as f } from "./tag/tagCheck.js";
6
+ function e(r) {
7
+ if (!!e)
8
+ if (Array.isArray(r) && r.length === 4) {
9
+ const o = r.map(t);
10
+ return n(o[0], o[2]);
11
+ } else
12
+ return t(r);
12
13
  }
13
- function T(r) {
14
- if (a(r))
15
- return p(r == null ? void 0 : r.position);
16
- if (c(r) && r.matrix) {
17
- const i = new s().fromArray(r.matrix), o = r.data.mediaPosition.map((e) => new m().fromArray(e).applyMatrix4(i));
14
+ function d(r) {
15
+ if (c(r))
16
+ return a(r == null ? void 0 : r.position);
17
+ if (f(r) && r.matrix) {
18
+ const i = new m().fromArray(r.matrix), o = r.data.mediaPosition.map((s) => new p().fromArray(s).applyMatrix4(i));
18
19
  return n(o[0], o[2]);
19
20
  } else
20
- return f(r.position);
21
+ return e(r.position);
21
22
  }
22
23
  export {
23
- T as getTagPosition,
24
- f as tagPosition
24
+ d as getTagPosition,
25
+ e as tagPosition
25
26
  };
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "2.9.0-alpha.0",
10
+ "version": "2.9.0-alpha.2",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",