@realsee/dnalogel 2.1.0-alpha.16 → 2.1.0-alpha.17

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 (202) hide show
  1. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  2. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  3. package/dist/CruisePlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  4. package/dist/GuideLinePlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  5. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  6. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  7. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  8. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  9. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  10. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  11. package/dist/ModelViewPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  12. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  13. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  14. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  15. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  16. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  17. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  18. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  19. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  20. package/dist/PanoTagPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  21. package/dist/PanoTagPlugin/index.js +89 -84
  22. package/dist/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  23. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  24. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  25. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  26. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  27. package/dist/index.es.js +89 -84
  28. package/dist/index.js +89 -84
  29. package/dist/index.umd.js +89 -84
  30. package/docs/classes/CruisePluginController.html +14 -14
  31. package/docs/classes/Magnifier.html +4 -4
  32. package/docs/classes/ModelRoomLabelController.html +4 -4
  33. package/docs/classes/Object3DHelperController.html +9 -9
  34. package/docs/classes/PanoTagPluginController.html +23 -23
  35. package/docs/enums/CameraMovementEffect.html +2 -2
  36. package/docs/enums/ContentType.html +7 -7
  37. package/docs/enums/DIRECTION.html +1 -1
  38. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
  39. package/docs/enums/DimensionType.html +1 -1
  40. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  41. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
  42. package/docs/enums/LinkType.html +1 -1
  43. package/docs/enums/PointType.html +1 -1
  44. package/docs/enums/Rotation.html +2 -2
  45. package/docs/index.html +1 -1
  46. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  47. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  48. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  49. package/docs/interfaces/FloorplanBounding.html +4 -4
  50. package/docs/interfaces/FloorplanData.html +2 -2
  51. package/docs/interfaces/FloorplanEntrance.html +7 -7
  52. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  53. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  54. package/docs/interfaces/FloorplanFloorData.html +2 -2
  55. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  56. package/docs/interfaces/FloorplanObserver.html +2 -2
  57. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  58. package/docs/interfaces/FloorplanPosition.html +2 -2
  59. package/docs/interfaces/FloorplanRoomItem.html +6 -6
  60. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  61. package/docs/interfaces/FloorplanServerBounding.html +4 -4
  62. package/docs/interfaces/FloorplanServerComputedData.html +1 -1
  63. package/docs/interfaces/FloorplanServerData.html +2 -2
  64. package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
  65. package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
  66. package/docs/interfaces/FloorplanServerEntrance.html +7 -7
  67. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  68. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  69. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  70. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  71. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  72. package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
  73. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  74. package/docs/interfaces/ItemLabelPluginData.html +1 -1
  75. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
  76. package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
  77. package/docs/interfaces/LineJson.html +1 -1
  78. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  79. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  80. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  81. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  82. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  83. package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
  84. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
  85. package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
  86. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  87. package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
  88. package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
  89. package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
  90. package/docs/interfaces/ModelViewPluginExportType.html +1 -1
  91. package/docs/interfaces/Object3DHelperState.html +1 -1
  92. package/docs/interfaces/OpenParameter.html +2 -2
  93. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  94. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  95. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  96. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  97. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  98. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  99. package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
  100. package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
  101. package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
  102. package/docs/interfaces/PanoRulerProPluginState.html +1 -1
  103. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  104. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  105. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  106. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
  107. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  108. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
  109. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  110. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
  111. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
  112. package/docs/interfaces/Point.html +1 -1
  113. package/docs/interfaces/PointJson.html +1 -1
  114. package/docs/interfaces/Room.html +1 -1
  115. package/docs/interfaces/RoomInfo.html +1 -1
  116. package/docs/interfaces/RoomLabel.html +7 -7
  117. package/docs/interfaces/RoomRules.html +1 -1
  118. package/docs/interfaces/Rooms.html +1 -1
  119. package/docs/interfaces/Scissor.html +5 -5
  120. package/docs/interfaces/TagConfig.html +3 -3
  121. package/docs/interfaces/Tags.html +3 -3
  122. package/docs/modules.html +21 -21
  123. package/libs/ItemLabelPlugin/Plugin.js +1 -1
  124. package/libs/ItemLabelPlugin/typings.d.ts +1 -1
  125. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +1 -1
  126. package/libs/ModelItemLabelPlugin/typings.d.ts +1 -1
  127. package/libs/ModelRoomLabelPlugin/Controller.js +1 -1
  128. package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
  129. package/libs/PanoRulerProPlugin/Controller.js +1 -1
  130. package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
  131. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +6 -5
  132. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +15 -13
  133. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +6 -5
  134. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +17 -15
  135. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +9 -9
  136. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +17 -15
  137. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +12 -18
  138. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +4 -3
  139. package/libs/PanoTagPlugin/controller/index.js +6 -6
  140. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -1
  141. package/libs/PanoTagPlugin/utils/nullishCoalescing.d.ts +2 -0
  142. package/libs/PanoTagPlugin/utils/nullishCoalescing.js +9 -0
  143. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
  144. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
  145. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  146. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
  147. package/package.json +1 -1
  148. package/libs/ItemLabelPlugin/ItemLabelComponent.svelte +0 -251
  149. package/libs/ItemLabelPlugin/ItemLabelItem.svelte +0 -183
  150. package/libs/ModelItemLabelPlugin/ItemLabelComponent.svelte +0 -155
  151. package/libs/ModelItemLabelPlugin/ItemLabelItem.svelte +0 -100
  152. package/libs/ModelRoomLabelPlugin/RoomLabelItem.svelte +0 -63
  153. package/libs/ModelRoomLabelPlugin/RoomLabelItems.svelte +0 -91
  154. package/libs/PanoDoorLabelPlugin/DoorLabelItem.svelte +0 -200
  155. package/libs/PanoRulerProPlugin/RulerItem.svelte +0 -166
  156. package/libs/PanoRulerProPlugin/RulerItems.svelte +0 -212
  157. package/libs/PanoSpatialTagPlugin/Components/origins.svelte +0 -58
  158. package/libs/PanoSpatialTagPlugin/Components/tag.svelte +0 -292
  159. package/libs/PanoTagPlugin/Components/Common/Arrow.svelte +0 -56
  160. package/libs/PanoTagPlugin/Components/Common/Audio.svelte +0 -82
  161. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.svelte +0 -36
  162. package/libs/PanoTagPlugin/Components/Common/Line/Straight.svelte +0 -36
  163. package/libs/PanoTagPlugin/Components/Common/Media.svelte +0 -96
  164. package/libs/PanoTagPlugin/Components/Common/MediaItem.svelte +0 -49
  165. package/libs/PanoTagPlugin/Components/Common/MultiLineText.svelte +0 -56
  166. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.svelte +0 -120
  167. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.svelte +0 -81
  168. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.svelte +0 -30
  169. package/libs/PanoTagPlugin/Components/Common/Shadow.svelte +0 -46
  170. package/libs/PanoTagPlugin/Components/Common/Text.svelte +0 -91
  171. package/libs/PanoTagPlugin/Components/Common/TextItem.svelte +0 -42
  172. package/libs/PanoTagPlugin/Components/PointTag.svelte +0 -55
  173. package/libs/PanoTagPlugin/Components/Tag/AudioTag.svelte +0 -105
  174. package/libs/PanoTagPlugin/Components/Tag/CustomTag.svelte +0 -33
  175. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.svelte +0 -63
  176. package/libs/PanoTagPlugin/Components/Tag/LinkTag.svelte +0 -167
  177. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.svelte +0 -235
  178. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.svelte +0 -32
  179. package/libs/PanoTagPlugin/Components/Tag/TextTag.svelte +0 -63
  180. package/libs/PanoTagPlugin/Components/Tag/index.svelte +0 -154
  181. package/libs/PanoTagPlugin/Components/TagWrapper.svelte +0 -64
  182. package/libs/floorplan/Components/BaseImage.svelte +0 -26
  183. package/libs/floorplan/Components/Camera.svelte +0 -46
  184. package/libs/floorplan/Components/Compass.svelte +0 -51
  185. package/libs/floorplan/Components/CurrentFloor.svelte +0 -57
  186. package/libs/floorplan/Components/Main.svelte +0 -55
  187. package/libs/floorplan/Components/Normalmage.svelte +0 -11
  188. package/libs/floorplan/Components/RoomHighlight/Room.svelte +0 -27
  189. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.svelte +0 -29
  190. package/libs/floorplan/Components/RoomLabels/RoomLabel.svelte +0 -120
  191. package/libs/floorplan/Components/RoomLabels/RoomLabels.svelte +0 -45
  192. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.svelte +0 -42
  193. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte +0 -7
  194. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte +0 -24
  195. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte +0 -33
  196. package/libs/floorplan/Components/RuleLabels/RuleItem.svelte +0 -175
  197. package/libs/floorplan/Components/RuleLabels/RuleLabels.svelte +0 -33
  198. package/libs/floorplan/Components/SvgImage.svelte +0 -28
  199. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte +0 -85
  200. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte +0 -18
  201. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte +0 -40
  202. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte +0 -64
@@ -1,5 +1,5 @@
1
1
  import { Five, Subscribe } from "@realsee/five";
2
- import ItemLabelComponent from './ItemLabelComponent.svelte';
2
+ import ItemLabelComponent from './ItemLabelComponent';
3
3
  import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE } from "./typings";
4
4
  import { parseItemLabelPluginData } from "./utils/parseData";
5
5
  const defaultMaxVisibleDistance = undefined;
@@ -1,6 +1,6 @@
1
1
  import type { Subscribe } from "@realsee/five";
2
2
  import type { PluginEvent } from "./events.type";
3
- import type ItemLabelComponent from './ItemLabelComponent.svelte';
3
+ import type ItemLabelComponent from './ItemLabelComponent';
4
4
  export declare enum ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE {
5
5
  SMALL = "small",
6
6
  MIDLLE = "middle",
@@ -1,5 +1,5 @@
1
1
  import { Five, Subscribe } from "@realsee/five";
2
- import ItemLabelComponent from './ItemLabelComponent.svelte';
2
+ import ItemLabelComponent from './ItemLabelComponent';
3
3
  import { DISPLAY_STRATEGY_TYPE } from "./typings";
4
4
  import { parseModelItemLabelPluginData } from "./utils/parseData";
5
5
  export const ModelItemLabelPlugin = (five, params) => {
@@ -1,6 +1,6 @@
1
1
  import type { Subscribe } from "@realsee/five";
2
2
  import type { PluginEvent } from "./events.type";
3
- import type ItemLabelComponent from './ItemLabelComponent.svelte';
3
+ import type ItemLabelComponent from './ItemLabelComponent';
4
4
  export declare enum DISPLAY_STRATEGY_TYPE {
5
5
  SMALL = "small",
6
6
  MIDLLE = "middle",
@@ -1,4 +1,4 @@
1
- import RoomLabelItems from './RoomLabelItems.svelte';
1
+ import RoomLabelItems from './RoomLabelItems';
2
2
  import { parseModelRoomLabelPluginData } from './utils/parseData';
3
3
  export class ModelRoomLabelController {
4
4
  constructor(five) {
@@ -1,6 +1,6 @@
1
1
  import { Euler, Quaternion, Raycaster, Vector3 } from 'three';
2
2
  import { BasePanoPluginController } from './BaseController';
3
- import DoorLabelItem from './DoorLabelItem.svelte';
3
+ import DoorLabelItem from './DoorLabelItem';
4
4
  import { getCameraToward, getDistance, getToward, isTwoRectOverlaped } from './utils';
5
5
  const defaultBaseOptions = { userAction: true };
6
6
  /**
@@ -1,4 +1,4 @@
1
- import RulerItems from './RulerItems.svelte';
1
+ import RulerItems from './RulerItems';
2
2
  export default class Controller {
3
3
  constructor(five, params) {
4
4
  var _a, _b;
@@ -1,8 +1,8 @@
1
1
  import * as THREE from 'three';
2
2
  import { Five, Subscribe } from '@realsee/five';
3
3
  import CSS3DRenderPlugin from '../CSS3DRenderPlugin';
4
- import Origins from './Components/origins.svelte';
5
- import Tag from './Components/tag.svelte';
4
+ import Origins from './Components/origins';
5
+ import Tag from './Components/tag';
6
6
  import { pluginStyle } from './style';
7
7
  import render from '../shared-utils/tinyEJSrender';
8
8
  const MESH_SIZE = 0.001;
@@ -16,12 +16,13 @@ import {
16
16
  } from "svelte/internal";
17
17
 
18
18
  import { Image_Play } from '../../Assets/Icon';
19
+ import { nc } from '../../utils/nullishCoalescing';
19
20
 
20
21
  function add_css(target) {
21
22
  append_styles(target, "svelte-6jwk1w", ".media-item.svelte-6jwk1w{height:100%}.media-content.svelte-6jwk1w{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-6jwk1w{width:1.75rem;height:1.75rem;background-size:100%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}");
22
23
  }
23
24
 
24
- // (6:0) {#if media}
25
+ // (7:0) {#if media}
25
26
  function create_if_block(ctx) {
26
27
  let div;
27
28
  let div_style_value;
@@ -72,7 +73,7 @@ function create_if_block(ctx) {
72
73
  };
73
74
  }
74
75
 
75
- // (10:37)
76
+ // (11:37)
76
77
  function create_if_block_2(ctx) {
77
78
  let video;
78
79
  let video_src_value;
@@ -90,7 +91,7 @@ function create_if_block_2(ctx) {
90
91
  div = element("div");
91
92
  attr(video, "class", "media-content svelte-6jwk1w");
92
93
  if (!src_url_equal(video.src, video_src_value = /*media*/ ctx[0].url)) attr(video, "src", video_src_value);
93
- attr(video, "poster", video_poster_value = /*media*/ ctx[0].videoCoverUrl ?? undefined);
94
+ attr(video, "poster", video_poster_value = nc(/*media*/ ctx[0].videoCoverUrl, undefined));
94
95
  attr(video, "preload", video_preload_value = /*media*/ ctx[0].videoCoverUrl ? undefined : 'auto');
95
96
  video.playsInline = true;
96
97
  attr(video, "paused", "");
@@ -111,7 +112,7 @@ function create_if_block_2(ctx) {
111
112
  attr(video, "src", video_src_value);
112
113
  }
113
114
 
114
- if (dirty & /*media*/ 1 && video_poster_value !== (video_poster_value = /*media*/ ctx[0].videoCoverUrl ?? undefined)) {
115
+ if (dirty & /*media*/ 1 && video_poster_value !== (video_poster_value = nc(/*media*/ ctx[0].videoCoverUrl, undefined))) {
115
116
  attr(video, "poster", video_poster_value);
116
117
  }
117
118
 
@@ -127,7 +128,7 @@ function create_if_block_2(ctx) {
127
128
  };
128
129
  }
129
130
 
130
- // (8:4) {#if media.type === 'Image'}
131
+ // (9:4) {#if media.type === 'Image'}
131
132
  function create_if_block_1(ctx) {
132
133
  let img;
133
134
  let img_src_value;
@@ -19,6 +19,7 @@ import {
19
19
  transition_out
20
20
  } from "svelte/internal";
21
21
 
22
+ import { nc } from '../../../utils/nullishCoalescing';
22
23
  import { ContentType } from '../../../typings';
23
24
  import CustomPoint from './CustomPoint';
24
25
  import DefaultPoint from './DefaultPoint';
@@ -27,7 +28,7 @@ function add_css(target) {
27
28
  append_styles(target, "svelte-r4i9gl", ".point-click-helper.svelte-r4i9gl{width:2.5rem;height:2.5rem;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}");
28
29
  }
29
30
 
30
- // (9:0) {#if tag.pointTagStyle?.leftPercent && tag.pointTagStyle?.topPercent && tag.enabled !== false && tag.state && tag.temporaryState?.visible !== false}
31
+ // (10:0) {#if tag.pointTagStyle?.leftPercent && tag.pointTagStyle?.topPercent && tag.enabled !== false && tag.state && tag.temporaryState?.visible !== false}
31
32
  function create_if_block(ctx) {
32
33
  let if_block_anchor;
33
34
  let current;
@@ -83,7 +84,7 @@ function create_if_block(ctx) {
83
84
  };
84
85
  }
85
86
 
86
- // (10:2) {#if tag.contentType !== ContentType.Link}
87
+ // (11:2) {#if tag.contentType !== ContentType.Link}
87
88
  function create_if_block_1(ctx) {
88
89
  let div;
89
90
  let t;
@@ -162,7 +163,7 @@ function create_if_block_1(ctx) {
162
163
  };
163
164
  }
164
165
 
165
- // (15:4) {:else}
166
+ // (16:4) {:else}
166
167
  function create_else_block(ctx) {
167
168
  let defaultpoint;
168
169
  let current;
@@ -203,7 +204,7 @@ function create_else_block(ctx) {
203
204
  };
204
205
  }
205
206
 
206
- // (13:4) {#if tag.style?.point?.style === 'CustomIcon' && tag.style?.point?.iconUrl}
207
+ // (14:4) {#if tag.style?.point?.style === 'CustomIcon' && tag.style?.point?.iconUrl}
207
208
  function create_if_block_2(ctx) {
208
209
  let custompoint;
209
210
  let current;
@@ -303,7 +304,7 @@ function create_fragment(ctx) {
303
304
 
304
305
  function instance($$self, $$props, $$invalidate) {
305
306
  let foldDelay;
306
- var _a, _b;
307
+ var _a;
307
308
  let { tag } = $$props;
308
309
 
309
310
  $$self.$$set = $$props => {
@@ -311,18 +312,19 @@ function instance($$self, $$props, $$invalidate) {
311
312
  };
312
313
 
313
314
  $$self.$$.update = () => {
314
- if ($$self.$$.dirty & /*tag, _a, _b*/ 13) {
315
- $: $$invalidate(1, foldDelay = $$invalidate(3, _b = $$invalidate(2, _a = tag.style) === null || _a === void 0
316
- ? void 0
317
- : _a.foldedPointDelay) !== null && _b !== void 0
318
- ? _b
319
- : tag.contentType === ContentType.Marketing
315
+ if ($$self.$$.dirty & /*tag, _a*/ 5) {
316
+ $: $$invalidate(1, foldDelay = nc(
317
+ $$invalidate(2, _a = tag.style) === null || _a === void 0
318
+ ? void 0
319
+ : _a.foldedPointDelay,
320
+ tag.contentType === ContentType.Marketing
320
321
  ? 600
321
- : undefined);
322
+ : undefined
323
+ ));
322
324
  }
323
325
  };
324
326
 
325
- return [tag, foldDelay, _a, _b];
327
+ return [tag, foldDelay, _a];
326
328
  }
327
329
 
328
330
  class Component extends SvelteComponent {
@@ -32,12 +32,13 @@ import Audio from '../Common/Audio';
32
32
  import Line from '../Common/Line/Straight';
33
33
  import Shadow from '../Common/Shadow';
34
34
  import MultiLineText from '../Common/MultiLineText';
35
+ import { nc } from '../../utils/nullishCoalescing';
35
36
 
36
37
  function add_css(target) {
37
38
  append_styles(target, "svelte-4r8s18", ".audio-tag.svelte-4r8s18.svelte-4r8s18{position:absolute;left:0;top:0;width:0;height:0;overflow:visible}.line.svelte-4r8s18.svelte-4r8s18{display:flex;position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-4r8s18.svelte-4r8s18{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0.125rem;overflow:hidden;box-sizing:border-box;font-size:0;white-space:nowrap;font-weight:600}.wrapper.svelte-4r8s18.svelte-4r8s18{position:relative;width:100%;height:100%}.audio-icon.svelte-4r8s18.svelte-4r8s18{vertical-align:top;display:inline-block;width:1rem;height:1rem;margin-right:0.25rem;margin-top:0.0625rem}.unfolded.svelte-4r8s18 .audio-icon.svelte-4r8s18{pointer-events:auto}");
38
39
  }
39
40
 
40
- // (28:0) {#if tag.state}
41
+ // (29:0) {#if tag.state}
41
42
  function create_if_block(ctx) {
42
43
  let div5;
43
44
  let shadow;
@@ -72,7 +73,7 @@ function create_if_block(ctx) {
72
73
  props: {
73
74
  unfolded: /*unfolded*/ ctx[6],
74
75
  duration: 1000,
75
- outDelay: /*foldTextDelay*/ ctx[5] + 20 * Math.min(/*textItems*/ ctx[4][0]?.content.length ?? 10, 15)
76
+ outDelay: /*foldTextDelay*/ ctx[5] + 20 * Math.min(nc(/*textItems*/ ctx[4][0]?.content.length, 10), 15)
76
77
  }
77
78
  });
78
79
 
@@ -82,7 +83,7 @@ function create_if_block(ctx) {
82
83
  mediaStore: /*mediaStore*/ ctx[0],
83
84
  url: /*tag*/ ctx[1].data.audioUrl,
84
85
  duration: 1000,
85
- outDelay: 20 * Math.min(/*textItems*/ ctx[4][0]?.content.length ?? 10, 15),
86
+ outDelay: 20 * Math.min(nc(/*textItems*/ ctx[4][0]?.content.length, 10), 15),
86
87
  hooksInfo: { tag: /*tag*/ ctx[1] }
87
88
  }
88
89
  });
@@ -149,7 +150,7 @@ function create_if_block(ctx) {
149
150
  shadow.$set(shadow_changes);
150
151
  const line_changes = {};
151
152
  if (dirty & /*unfolded*/ 64) line_changes.unfolded = /*unfolded*/ ctx[6];
152
- if (dirty & /*foldTextDelay, textItems*/ 48) line_changes.outDelay = /*foldTextDelay*/ ctx[5] + 20 * Math.min(/*textItems*/ ctx[4][0]?.content.length ?? 10, 15);
153
+ if (dirty & /*foldTextDelay, textItems*/ 48) line_changes.outDelay = /*foldTextDelay*/ ctx[5] + 20 * Math.min(nc(/*textItems*/ ctx[4][0]?.content.length, 10), 15);
153
154
  line.$set(line_changes);
154
155
 
155
156
  if (dirty & /*contentWidth*/ 8) {
@@ -160,7 +161,7 @@ function create_if_block(ctx) {
160
161
  if (dirty & /*unfolded*/ 64) audio_changes.unfolded = /*unfolded*/ ctx[6];
161
162
  if (dirty & /*mediaStore*/ 1) audio_changes.mediaStore = /*mediaStore*/ ctx[0];
162
163
  if (dirty & /*tag*/ 2) audio_changes.url = /*tag*/ ctx[1].data.audioUrl;
163
- if (dirty & /*textItems*/ 16) audio_changes.outDelay = 20 * Math.min(/*textItems*/ ctx[4][0]?.content.length ?? 10, 15);
164
+ if (dirty & /*textItems*/ 16) audio_changes.outDelay = 20 * Math.min(nc(/*textItems*/ ctx[4][0]?.content.length, 10), 15);
164
165
  if (dirty & /*tag*/ 2) audio_changes.hooksInfo = { tag: /*tag*/ ctx[1] };
165
166
  audio.$set(audio_changes);
166
167
  const multilinetext_changes = {};
@@ -26,6 +26,7 @@ import Text from '../Common/Text';
26
26
  import Line from '../Common/Line/Polyline';
27
27
  import Media from '../Common/Media';
28
28
  import Shadow from '../Common/Shadow';
29
+ import { nc } from '../../utils/nullishCoalescing';
29
30
 
30
31
  function add_css(target) {
31
32
  append_styles(target, "svelte-1p8f9wy", ".line.svelte-1p8f9wy{position:absolute;width:6.5625rem;height:1.3125rem;transform:translateY(-100%);z-index:10}.text.svelte-1p8f9wy{position:absolute;width:6.25rem;left:1rem;bottom:0.0625rem;z-index:10;font-weight:600}.media-wrapper.svelte-1p8f9wy{position:absolute;left:0.875rem;top:-5.3125rem;width:5.625rem;height:3.75rem;z-index:10;font-weight:600}");
@@ -33,12 +34,12 @@ function add_css(target) {
33
34
 
34
35
  function get_each_context(ctx, list, i) {
35
36
  const child_ctx = ctx.slice();
36
- child_ctx[8] = list[i].id;
37
+ child_ctx[7] = list[i].id;
37
38
  child_ctx[1] = list[i].content;
38
39
  return child_ctx;
39
40
  }
40
41
 
41
- // (19:0) {#if tag.state}
42
+ // (20:0) {#if tag.state}
42
43
  function create_if_block(ctx) {
43
44
  let shadow;
44
45
  let t0;
@@ -71,7 +72,7 @@ function create_if_block(ctx) {
71
72
  });
72
73
 
73
74
  let each_value = /*textItems*/ ctx[2];
74
- const get_key = ctx => /*id*/ ctx[8];
75
+ const get_key = ctx => /*id*/ ctx[7];
75
76
 
76
77
  for (let i = 0; i < each_value.length; i += 1) {
77
78
  let child_ctx = get_each_context(ctx, each_value, i);
@@ -193,7 +194,7 @@ function create_if_block(ctx) {
193
194
  };
194
195
  }
195
196
 
196
- // (24:2) {#each textItems as { id, content }
197
+ // (25:2) {#each textItems as { id, content }
197
198
  function create_each_block(key_1, ctx) {
198
199
  let div;
199
200
  let text_1;
@@ -244,7 +245,7 @@ function create_each_block(key_1, ctx) {
244
245
  };
245
246
  }
246
247
 
247
- // (29:2) {#if mediaData}
248
+ // (30:2) {#if mediaData}
248
249
  function create_if_block_1(ctx) {
249
250
  let div;
250
251
  let media;
@@ -352,7 +353,7 @@ function instance($$self, $$props, $$invalidate) {
352
353
  let unfolded;
353
354
  let content;
354
355
  let mediaData;
355
- var _a, _b, _c;
356
+ var _a, _b;
356
357
  let { tag } = $$props;
357
358
  let textItems;
358
359
 
@@ -365,15 +366,16 @@ function instance($$self, $$props, $$invalidate) {
365
366
  $: $$invalidate(4, unfolded = tag.state ? tag.state.unfolded : false);
366
367
  }
367
368
 
368
- if ($$self.$$.dirty & /*tag, _a, _b, _c*/ 225) {
369
- $: $$invalidate(1, content = ($$invalidate(6, _b = $$invalidate(5, _a = tag.data.text) === null || _a === void 0
370
- ? void 0
371
- : _a.length) !== null && _b !== void 0
372
- ? _b
373
- : 0) > 7
374
- ? ($$invalidate(7, _c = tag.data.text) === null || _c === void 0
369
+ if ($$self.$$.dirty & /*tag, _a, _b*/ 97) {
370
+ $: $$invalidate(1, content = nc(
371
+ $$invalidate(5, _a = tag.data.text) === null || _a === void 0
375
372
  ? void 0
376
- : _c.substring(0, 6)) + '...'
373
+ : _a.length,
374
+ 0
375
+ ) > 7
376
+ ? ($$invalidate(6, _b = tag.data.text) === null || _b === void 0
377
+ ? void 0
378
+ : _b.substring(0, 6)) + '...'
377
379
  : tag.data.text);
378
380
  }
379
381
 
@@ -389,7 +391,7 @@ function instance($$self, $$props, $$invalidate) {
389
391
  }
390
392
  };
391
393
 
392
- return [tag, content, textItems, mediaData, unfolded, _a, _b, _c];
394
+ return [tag, content, textItems, mediaData, unfolded, _a, _b];
393
395
  }
394
396
 
395
397
  class Component extends SvelteComponent {
@@ -25,7 +25,7 @@ import { LinkType } from '../../typings';
25
25
  import Shadow from '../Common/Shadow';
26
26
 
27
27
  function add_css(target) {
28
- append_styles(target, "svelte-1a3frz", ".wrapper.svelte-1a3frz{font-weight:600;cursor:pointer;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:auto}.text-wrapper.svelte-1a3frz{position:relative;display:flex;align-items:center;justify-content:center}.icon.svelte-1a3frz{position:relative;margin-bottom:0.6875rem}.arrow0.svelte-1a3frz,.arrow1.svelte-1a3frz,.arrow2.svelte-1a3frz{position:absolute;width:1.625rem;height:0.75rem;background-image:url(data:image/png;base64,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);background-repeat:no-repeat;background-size:contain;animation-fill-mode:backwards;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.2s}.arrow1.svelte-1a3frz{position:relative}.arrow0.svelte-1a3frz{top:-0.75rem;animation-name:svelte-1a3frz-up0}.arrow1.svelte-1a3frz{animation-name:svelte-1a3frz-up1}.arrow2.svelte-1a3frz{top:0.75rem;animation-name:svelte-1a3frz-up2}.text.svelte-1a3frz{position:absolute;top:0;font-size:0.875rem;color:#ffffff;letter-spacing:0;text-align:center;max-width:8.75rem;width:-moz-max-content;width:max-content;word-break:break-all;line-height:1.125rem;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}@keyframes svelte-1a3frz-up0{0%{opacity:0.8;transform:translate3d(0, 0, 0) scale(0.84)}33%,100%{opacity:0;transform:translate3d(0, -0.75rem, 0) scale(0.84)}}@keyframes svelte-1a3frz-up1{0%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}33%,100%{opacity:0.8;transform:translate3d(0, -0.75rem, 0) scale(0.84)}}@keyframes svelte-1a3frz-up2{0%{opacity:0}33%,100%{opacity:1;transform:translate3d(0, -0.75rem, 0)}}.link.svelte-1a3frz{position:relative;width:1.75rem;height:0.75rem;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAAAkCAMAAAAgl+0yAAAAnFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+TINBkAAAAM3RSTlMAjLy6ILM2Fi+Zng3BrPvao4VC9ceneQfKkmNdV1AbEeLOsHA77ujUtn5JLnRraSUUjVLj/+RVAAABhElEQVRIx63V2W6CQBiGYUBUQGDYdwTZQZZa7v/eimik/ket/7yZ4yeTTCYf8+dOX8etxGVoxAvCVbguR3g0uRTMA0w4odGi+CbzFnGKosCqrmHc5rdEwzCwqtGFJlC7DqtOcTxANY67BHnVKOpVoEZRjFPdLgxbqIZhhFTjINChGgThF06NhpGd35OGMcCppyDPfajm+YhUR8cRoeo4+RGlJnnbalBt2x6nHh1dt4Gq6bqDU886y2ZQZVn9jFJ51vcbqPo+Up18UeSgKoo3nHqVJEkGqi1JPk49aLZmQdW2xXf1zP+vUFHsC1QVReK33xdk+w9SaqAq+732UvvdZ2UEqrud8lR5Wc4a7pO8GaoL9VBjy7rMlMosq1lV43LhZlrtF+yuJlbtEXpqXXP3NYwI8VJqakOIziw5aepV1FQuTdfhvlWVZdJCrao6MPe0spRpqV5ZFivqNqYpq3RQ2TST5/h4quoRCmwqq6rymol6plV53IZSomTKE/MroWfxDevL/wAEdPq1eGDh4AAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-size:contain;animation-iteration-count:infinite;animation-timing-function:linear;animation-duration:1.2s;animation-name:svelte-1a3frz-left-right}@keyframes svelte-1a3frz-left-right{0%,100%{opacity:0.8;transform:translateX(-0.3125rem)}50%{opacity:1;transform:translateX(0)}}");
28
+ append_styles(target, "svelte-7x7u86", ".wrapper.svelte-7x7u86{font-weight:600;cursor:pointer;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:auto}.text-wrapper.svelte-7x7u86{position:relative;display:flex;align-items:center;justify-content:center}.icon.svelte-7x7u86{position:relative;margin-bottom:0.6875rem}.arrow0.svelte-7x7u86,.arrow1.svelte-7x7u86,.arrow2.svelte-7x7u86{position:absolute;width:1.625rem;height:0.75rem;background-image:url(data:image/png;base64,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);background-repeat:no-repeat;background-size:contain;animation-fill-mode:backwards;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:1.2s}.arrow1.svelte-7x7u86{position:relative}.arrow0.svelte-7x7u86{top:-0.75rem;animation-name:svelte-7x7u86-up0}.arrow1.svelte-7x7u86{animation-name:svelte-7x7u86-up1}.arrow2.svelte-7x7u86{top:0.75rem;animation-name:svelte-7x7u86-up2}.text.svelte-7x7u86{position:absolute;top:0;font-size:0.875rem;color:#ffffff;letter-spacing:0;text-align:center;max-width:8.75rem;width:-moz-max-content;width:max-content;word-break:break-all;line-height:1.125rem;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}@keyframes svelte-7x7u86-up0{0%{opacity:0.8;transform:translate3d(0, 0, 0) scale(0.84)}33.33%,100%{opacity:0;transform:translate3d(0, -0.75rem, 0) scale(0.84)}}@keyframes svelte-7x7u86-up1{0%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}33.33%,100%{opacity:0.8;transform:translate3d(0, -0.75rem, 0) scale(0.84)}}@keyframes svelte-7x7u86-up2{0%{opacity:0}33.33%,100%{opacity:1;transform:translate3d(0, -0.75rem, 0)}}.link.svelte-7x7u86{position:relative;width:1.75rem;height:0.75rem;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAAAkCAMAAAAgl+0yAAAAnFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+TINBkAAAAM3RSTlMAjLy6ILM2Fi+Zng3BrPvao4VC9ceneQfKkmNdV1AbEeLOsHA77ujUtn5JLnRraSUUjVLj/+RVAAABhElEQVRIx63V2W6CQBiGYUBUQGDYdwTZQZZa7v/eimik/ket/7yZ4yeTTCYf8+dOX8etxGVoxAvCVbguR3g0uRTMA0w4odGi+CbzFnGKosCqrmHc5rdEwzCwqtGFJlC7DqtOcTxANY67BHnVKOpVoEZRjFPdLgxbqIZhhFTjINChGgThF06NhpGd35OGMcCppyDPfajm+YhUR8cRoeo4+RGlJnnbalBt2x6nHh1dt4Gq6bqDU886y2ZQZVn9jFJ51vcbqPo+Up18UeSgKoo3nHqVJEkGqi1JPk49aLZmQdW2xXf1zP+vUFHsC1QVReK33xdk+w9SaqAq+732UvvdZ2UEqrud8lR5Wc4a7pO8GaoL9VBjy7rMlMosq1lV43LhZlrtF+yuJlbtEXpqXXP3NYwI8VJqakOIziw5aepV1FQuTdfhvlWVZdJCrao6MPe0spRpqV5ZFivqNqYpq3RQ2TST5/h4quoRCmwqq6rymol6plV53IZSomTKE/MroWfxDevL/wAEdPq1eGDh4AAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-size:contain;animation-iteration-count:infinite;animation-timing-function:linear;animation-duration:1.2s;animation-name:svelte-7x7u86-left-right}@keyframes svelte-7x7u86-left-right{0%,100%{opacity:0.8;transform:translateX(-0.3125rem)}50%{opacity:1;transform:translateX(0)}}");
29
29
  }
30
30
 
31
31
  // (14:52)
@@ -53,7 +53,7 @@ function create_if_block_1(ctx) {
53
53
  create_component(shadow.$$.fragment);
54
54
  t = space();
55
55
  div = element("div");
56
- attr(div, "class", "link svelte-1a3frz");
56
+ attr(div, "class", "link svelte-7x7u86");
57
57
  },
58
58
  m(target, anchor) {
59
59
  mount_component(shadow, target, anchor);
@@ -111,9 +111,9 @@ function create_if_block(ctx) {
111
111
  div1 = element("div");
112
112
  t2 = space();
113
113
  div2 = element("div");
114
- attr(div0, "class", "arrow0 svelte-1a3frz");
115
- attr(div1, "class", "arrow1 svelte-1a3frz");
116
- attr(div2, "class", "arrow2 svelte-1a3frz");
114
+ attr(div0, "class", "arrow0 svelte-7x7u86");
115
+ attr(div1, "class", "arrow1 svelte-7x7u86");
116
+ attr(div2, "class", "arrow2 svelte-7x7u86");
117
117
  },
118
118
  m(target, anchor) {
119
119
  mount_component(shadow, target, anchor);
@@ -197,10 +197,10 @@ function create_fragment(ctx) {
197
197
  t1 = space();
198
198
  div1 = element("div");
199
199
  t2 = text(t2_value);
200
- attr(div0, "class", "icon svelte-1a3frz");
201
- attr(div1, "class", "text svelte-1a3frz");
202
- attr(div2, "class", "text-wrapper svelte-1a3frz");
203
- attr(div3, "class", "wrapper svelte-1a3frz");
200
+ attr(div0, "class", "icon svelte-7x7u86");
201
+ attr(div1, "class", "text svelte-7x7u86");
202
+ attr(div2, "class", "text-wrapper svelte-7x7u86");
203
+ attr(div3, "class", "wrapper svelte-7x7u86");
204
204
  },
205
205
  m(target, anchor) {
206
206
  insert(target, div3, anchor);
@@ -24,6 +24,7 @@ import {
24
24
  transition_out
25
25
  } from "svelte/internal";
26
26
 
27
+ import { nc } from '../../utils/nullishCoalescing';
27
28
  import Shadow from '../Common/Shadow';
28
29
 
29
30
  function add_css(target) {
@@ -42,7 +43,7 @@ function get_each_context_1(ctx, list, i) {
42
43
  return child_ctx;
43
44
  }
44
45
 
45
- // (28:8) {#if tag}
46
+ // (29:8) {#if tag}
46
47
  function create_if_block_4(ctx) {
47
48
  let div;
48
49
  let t_value = /*tag*/ ctx[0] + "";
@@ -67,7 +68,7 @@ function create_if_block_4(ctx) {
67
68
  };
68
69
  }
69
70
 
70
- // (27:6) {#each data.brandTags || [] as tag}
71
+ // (28:6) {#each data.brandTags || [] as tag}
71
72
  function create_each_block_1(ctx) {
72
73
  let if_block_anchor;
73
74
  let if_block = /*tag*/ ctx[0] && create_if_block_4(ctx);
@@ -102,7 +103,7 @@ function create_each_block_1(ctx) {
102
103
  };
103
104
  }
104
105
 
105
- // (33:8) {#if tag}
106
+ // (34:8) {#if tag}
106
107
  function create_if_block_3(ctx) {
107
108
  let div;
108
109
  let t_value = /*tag*/ ctx[0] + "";
@@ -127,7 +128,7 @@ function create_if_block_3(ctx) {
127
128
  };
128
129
  }
129
130
 
130
- // (32:6) {#each data.tags || [] as tag}
131
+ // (33:6) {#each data.tags || [] as tag}
131
132
  function create_each_block(ctx) {
132
133
  let if_block_anchor;
133
134
  let if_block = /*tag*/ ctx[0] && create_if_block_3(ctx);
@@ -162,7 +163,7 @@ function create_each_block(ctx) {
162
163
  };
163
164
  }
164
165
 
165
- // (45:6) {#if data.price?.value !== undefined && data.price?.value !== null}
166
+ // (46:6) {#if data.price?.value !== undefined && data.price?.value !== null}
166
167
  function create_if_block_1(ctx) {
167
168
  let div;
168
169
  let span;
@@ -211,7 +212,7 @@ function create_if_block_1(ctx) {
211
212
  };
212
213
  }
213
214
 
214
- // (50:10) {#if data.price.unit}
215
+ // (51:10) {#if data.price.unit}
215
216
  function create_if_block_2(ctx) {
216
217
  let span;
217
218
  let t_value = /*data*/ ctx[2].price.unit + "";
@@ -236,7 +237,7 @@ function create_if_block_2(ctx) {
236
237
  };
237
238
  }
238
239
 
239
- // (57:6) {#if data.highlightText}
240
+ // (58:6) {#if data.highlightText}
240
241
  function create_if_block(ctx) {
241
242
  let div;
242
243
  let t_value = /*data*/ ctx[2].highlightText + "";
@@ -546,7 +547,7 @@ function instance($$self, $$props, $$invalidate) {
546
547
  let unfolded;
547
548
  let folded;
548
549
  let data;
549
- var _a, _b;
550
+ var _a;
550
551
  let { tag } = $$props;
551
552
 
552
553
  $$self.$$set = $$props => {
@@ -554,12 +555,13 @@ function instance($$self, $$props, $$invalidate) {
554
555
  };
555
556
 
556
557
  $$self.$$.update = () => {
557
- if ($$self.$$.dirty & /*tag, _a, _b*/ 49) {
558
- $: $$invalidate(1, unfolded = $$invalidate(5, _b = $$invalidate(4, _a = tag.state) === null || _a === void 0
559
- ? void 0
560
- : _a.unfolded) !== null && _b !== void 0
561
- ? _b
562
- : false);
558
+ if ($$self.$$.dirty & /*tag, _a*/ 17) {
559
+ $: $$invalidate(1, unfolded = nc(
560
+ $$invalidate(4, _a = tag.state) === null || _a === void 0
561
+ ? void 0
562
+ : _a.unfolded,
563
+ false
564
+ ));
563
565
  }
564
566
 
565
567
  if ($$self.$$.dirty & /*unfolded*/ 2) {
@@ -571,7 +573,7 @@ function instance($$self, $$props, $$invalidate) {
571
573
  }
572
574
  };
573
575
 
574
- return [tag, unfolded, data, folded, _a, _b];
576
+ return [tag, unfolded, data, folded, _a];
575
577
  }
576
578
 
577
579
  class Component extends SvelteComponent {
@@ -18,13 +18,14 @@ import {
18
18
  transition_out
19
19
  } from "svelte/internal";
20
20
 
21
+ import { nc } from '../../utils/nullishCoalescing';
21
22
  import Media from '../Common/Media';
22
23
 
23
24
  function add_css(target) {
24
25
  append_styles(target, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
25
26
  }
26
27
 
27
- // (20:0) {#if tag.state && mediaData}
28
+ // (19:0) {#if tag.state && mediaData}
28
29
  function create_if_block(ctx) {
29
30
  let div;
30
31
  let media;
@@ -139,7 +140,6 @@ function instance($$self, $$props, $$invalidate) {
139
140
  let enableCarousel;
140
141
  let autoplayConfig;
141
142
  let objectFit;
142
- var _a, _b;
143
143
  let { tag } = $$props;
144
144
 
145
145
  $$self.$$set = $$props => {
@@ -159,27 +159,21 @@ function instance($$self, $$props, $$invalidate) {
159
159
  $: $$invalidate(1, enableCarousel = tag.data.enableCarousel);
160
160
  }
161
161
 
162
- if ($$self.$$.dirty & /*tag, _a, enableCarousel*/ 67) {
163
- $: $$invalidate(3, autoplayConfig = $$invalidate(6, _a = tag.data.autoplayConfig) !== null && _a !== void 0
164
- ? _a
165
- : {
166
- autoplay: enableCarousel !== null && enableCarousel !== void 0
167
- ? enableCarousel
168
- : true,
169
- autoplayVideo: true
170
- });
162
+ if ($$self.$$.dirty & /*tag, enableCarousel*/ 3) {
163
+ $: $$invalidate(3, autoplayConfig = nc(tag.data.autoplayConfig, {
164
+ autoplay: nc(enableCarousel, true),
165
+ autoplayVideo: true
166
+ }));
171
167
  }
172
168
 
173
- if ($$self.$$.dirty & /*tag, _b*/ 129) {
174
- $: $$invalidate(2, objectFit = $$invalidate(7, _b = tag.data.objectFit) !== null && _b !== void 0
175
- ? _b
176
- : (() => {
177
- if (tag.data.adaptationMode === 'stretch') return 'cover'; else if (tag.data.adaptationMode === 'proportional') return 'contain'; else return undefined;
178
- })());
169
+ if ($$self.$$.dirty & /*tag*/ 1) {
170
+ $: $$invalidate(2, objectFit = nc(tag.data.objectFit, (() => {
171
+ if (tag.data.adaptationMode === 'stretch') return 'cover'; else if (tag.data.adaptationMode === 'proportional') return 'contain'; else return undefined;
172
+ })()));
179
173
  }
180
174
  };
181
175
 
182
- return [tag, enableCarousel, objectFit, autoplayConfig, mediaData, unfolded, _a, _b];
176
+ return [tag, enableCarousel, objectFit, autoplayConfig, mediaData, unfolded];
183
177
  }
184
178
 
185
179
  class Component extends SvelteComponent {
@@ -27,12 +27,13 @@ import Line from '../Common/Line/Straight';
27
27
  import uuid from '../../../shared-utils/uuid';
28
28
  import Shadow from '../Common/Shadow';
29
29
  import MultiLineText from '../Common/MultiLineText';
30
+ import { nc } from '../../utils/nullishCoalescing';
30
31
 
31
32
  function add_css(target) {
32
33
  append_styles(target, "svelte-18yy5x8", ".line.svelte-18yy5x8{position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-18yy5x8{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0;overflow:hidden;box-sizing:border-box;font-size:0;pointer-events:none;white-space:nowrap;font-weight:600}");
33
34
  }
34
35
 
35
- // (29:0) {#if tag.state}
36
+ // (30:0) {#if tag.state}
36
37
  function create_if_block(ctx) {
37
38
  let shadow;
38
39
  let t0;
@@ -61,7 +62,7 @@ function create_if_block(ctx) {
61
62
  props: {
62
63
  unfolded: /*unfolded*/ ctx[2],
63
64
  duration: 1000,
64
- outDelay: /*foldTextDelay*/ ctx[5] + 40 * Math.min(/*textItems*/ ctx[4][0]?.content.length ?? 10, 15)
65
+ outDelay: /*foldTextDelay*/ ctx[5] + 40 * Math.min(nc(/*textItems*/ ctx[4][0]?.content.length, 10), 15)
65
66
  }
66
67
  });
67
68
 
@@ -110,7 +111,7 @@ function create_if_block(ctx) {
110
111
  shadow.$set(shadow_changes);
111
112
  const line_changes = {};
112
113
  if (dirty & /*unfolded*/ 4) line_changes.unfolded = /*unfolded*/ ctx[2];
113
- if (dirty & /*foldTextDelay, textItems*/ 48) line_changes.outDelay = /*foldTextDelay*/ ctx[5] + 40 * Math.min(/*textItems*/ ctx[4][0]?.content.length ?? 10, 15);
114
+ if (dirty & /*foldTextDelay, textItems*/ 48) line_changes.outDelay = /*foldTextDelay*/ ctx[5] + 40 * Math.min(nc(/*textItems*/ ctx[4][0]?.content.length, 10), 15);
114
115
  line.$set(line_changes);
115
116
 
116
117
  if (dirty & /*contentWidth*/ 8) {