@realsee/dnalogel 2.2.5 → 2.2.6

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 (244) hide show
  1. package/dist/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
  2. package/dist/index.cjs.js +17 -17
  3. package/dist/index.js +849 -887
  4. package/dist/index.umd.js +17 -17
  5. package/dist/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
  6. package/docs/classes/CruisePluginController.html +24 -24
  7. package/docs/classes/Magnifier.html +16 -16
  8. package/docs/classes/ModelRoomLabelController.html +11 -11
  9. package/docs/classes/Object3DHelperController.html +24 -24
  10. package/docs/classes/PaintBrush.html +15 -15
  11. package/docs/classes/PanoTagPluginController.html +39 -39
  12. package/docs/classes/Util.BetterTween.html +8 -8
  13. package/docs/classes/Util.FivePointSelector.html +12 -12
  14. package/docs/classes/Util.Interval.html +12 -12
  15. package/docs/classes/Util.Magnifier.html +17 -17
  16. package/docs/classes/Util.PointDomHelper.html +11 -11
  17. package/docs/classes/Util.PointHelper.html +11 -11
  18. package/docs/classes/Util.Rectangle.html +13 -13
  19. package/docs/enums/CameraMovementEffect.html +7 -7
  20. package/docs/enums/ContentType.html +12 -12
  21. package/docs/enums/DIRECTION.html +9 -9
  22. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  23. package/docs/enums/DimensionType.html +7 -7
  24. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  25. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  26. package/docs/enums/LinkType.html +7 -7
  27. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  28. package/docs/enums/PointType.html +7 -7
  29. package/docs/enums/Rotation.html +8 -8
  30. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  31. package/docs/functions/CameraMovementPlugin.html +4 -4
  32. package/docs/functions/CruisePlugin.html +4 -4
  33. package/docs/functions/GuideLinePlugin.html +5 -5
  34. package/docs/functions/ItemLabelPlugin.html +4 -4
  35. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  36. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  37. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  38. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  39. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  40. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  41. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  42. package/docs/functions/ModelViewPlugin.html +4 -4
  43. package/docs/functions/Object3DHelperPlugin.html +4 -4
  44. package/docs/functions/PanoCompassPlugin.html +4 -4
  45. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  46. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  47. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  48. package/docs/functions/PanoMeasurePlugin.html +4 -4
  49. package/docs/functions/PanoRulerPlugin.html +4 -4
  50. package/docs/functions/PanoRulerProPlugin.html +4 -4
  51. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  52. package/docs/functions/PanoTagPlugin.html +4 -4
  53. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  54. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  55. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  56. package/docs/functions/Util.getFrameTime.html +5 -5
  57. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  58. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  59. package/docs/functions/Util.isNil.html +5 -5
  60. package/docs/functions/Util.nextFrame.html +5 -5
  61. package/docs/functions/Util.notNil.html +5 -5
  62. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  63. package/docs/functions/Util.tweenProgress.html +5 -5
  64. package/docs/functions/pluginFlag.html +5 -5
  65. package/docs/index.html +4 -4
  66. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  67. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  68. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  69. package/docs/interfaces/ContentTypeMap.html +12 -12
  70. package/docs/interfaces/FloorplanBounding.html +8 -8
  71. package/docs/interfaces/FloorplanData.html +10 -10
  72. package/docs/interfaces/FloorplanEntrance.html +11 -11
  73. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  74. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  75. package/docs/interfaces/FloorplanFloorData.html +9 -9
  76. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  77. package/docs/interfaces/FloorplanObserver.html +9 -9
  78. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  79. package/docs/interfaces/FloorplanPosition.html +7 -7
  80. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  81. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  82. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  83. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  84. package/docs/interfaces/FloorplanServerData.html +7 -7
  85. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  86. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  87. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  88. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  89. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  90. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  91. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  92. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  93. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  94. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  95. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  96. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  97. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  98. package/docs/interfaces/LineJson.html +7 -7
  99. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  100. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  101. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  102. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  103. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  104. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  105. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  106. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  107. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  108. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  109. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  110. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  111. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  112. package/docs/interfaces/Object3DHelperState.html +8 -8
  113. package/docs/interfaces/OpenParameter.html +7 -7
  114. package/docs/interfaces/PaintBrushAction.html +12 -12
  115. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  116. package/docs/interfaces/PaintBrushState.html +10 -10
  117. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  118. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  119. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  120. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  121. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  122. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  123. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  124. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  125. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  126. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  127. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  128. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  129. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  130. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  131. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  132. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  133. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  134. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  135. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  136. package/docs/interfaces/Point.html +8 -8
  137. package/docs/interfaces/PointJson.html +8 -8
  138. package/docs/interfaces/Room.html +9 -9
  139. package/docs/interfaces/RoomInfo.html +7 -7
  140. package/docs/interfaces/RoomLabel.html +14 -14
  141. package/docs/interfaces/RoomRules.html +5 -5
  142. package/docs/interfaces/Rooms.html +5 -5
  143. package/docs/interfaces/Scissor.html +9 -9
  144. package/docs/interfaces/TagConfig.html +10 -10
  145. package/docs/interfaces/Tags.html +9 -9
  146. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  147. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  148. package/docs/modules/Util.html +5 -5
  149. package/docs/modules.html +4 -4
  150. package/docs/types/ArrayPosition.html +5 -5
  151. package/docs/types/CSS3DRenderExportType.html +5 -5
  152. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  153. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  154. package/docs/types/Color.html +5 -5
  155. package/docs/types/ContentTypeConfigKey.html +5 -5
  156. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  157. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  158. package/docs/types/Create3DElementReturnType.html +5 -5
  159. package/docs/types/CruisePluginExportType.html +5 -5
  160. package/docs/types/Direction-1.html +5 -5
  161. package/docs/types/Direction4.html +5 -5
  162. package/docs/types/FloorplanRuleLabels.html +5 -5
  163. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  164. package/docs/types/GuideLinePluginExportType.html +5 -5
  165. package/docs/types/HelperEventMap.html +5 -5
  166. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  167. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  168. package/docs/types/MediaData.html +5 -5
  169. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -6
  170. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  171. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  172. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  173. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  174. package/docs/types/MoveArgs.html +5 -5
  175. package/docs/types/MoveOpts.html +5 -5
  176. package/docs/types/Object3DHelperEventMap.html +5 -5
  177. package/docs/types/ObjectFit.html +5 -5
  178. package/docs/types/PaintBrushEventMap.html +5 -5
  179. package/docs/types/PanoCompassPluginData.html +5 -5
  180. package/docs/types/PanoCompassPluginExportType.html +5 -5
  181. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  182. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  183. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  184. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  185. package/docs/types/PanoMeasureReturnType.html +5 -5
  186. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  187. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  188. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  189. package/docs/types/PlaneTag.html +5 -5
  190. package/docs/types/PointTag.html +5 -5
  191. package/docs/types/Position.html +5 -5
  192. package/docs/types/RotateArgs.html +5 -5
  193. package/docs/types/RotateOpts.html +5 -5
  194. package/docs/types/RuleLabelsKey.html +5 -5
  195. package/docs/types/RuleLabelsValue.html +5 -5
  196. package/docs/types/Tag.html +5 -5
  197. package/docs/types/Tag2D.html +5 -5
  198. package/docs/types/Tag3D.html +5 -5
  199. package/docs/types/TagId.html +5 -5
  200. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  201. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  202. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  203. package/docs/variables/PLUGIN.html +5 -5
  204. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  205. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  206. package/docs/variables/VERSION.html +5 -5
  207. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  208. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  209. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  210. package/libs/ItemLabelPlugin/ItemLabelComponent.js +2 -2
  211. package/libs/ItemLabelPlugin/ItemLabelItem.js +11 -11
  212. package/libs/ModelChassisCompassPlugin/Plugin.js +1 -1
  213. package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
  214. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +42 -39
  215. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +2 -2
  216. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +12 -12
  217. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +13 -13
  218. package/libs/PanoRulerProPlugin/RulerItem.js +59 -69
  219. package/libs/PanoSpatialTagPlugin/Components/origins.js +39 -39
  220. package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -1
  221. package/libs/PanoTagPlugin/Components/Common/Media.js +53 -53
  222. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +2 -2
  223. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +8 -8
  224. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +13 -13
  225. package/libs/PanoTagPlugin/Components/Common/Shadow.js +5 -5
  226. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +12 -12
  227. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +48 -78
  228. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +25 -25
  229. package/libs/PanoTagPlugin/Components/Tag/index.js +35 -35
  230. package/libs/PanoTagPlugin/Components/TagContainer.js +2 -2
  231. package/libs/PanoTagPlugin/Components/TagWrapper.js +2 -2
  232. package/libs/floorplan/Components/Camera.js +23 -23
  233. package/libs/floorplan/Components/Compass.js +2 -2
  234. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +31 -31
  235. package/libs/floorplan/Components/RuleLabels/RuleItem.js +51 -51
  236. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +2 -2
  237. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +2 -2
  238. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +26 -26
  239. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +16 -16
  240. package/libs/index.js +1 -1
  241. package/libs/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
  242. package/libs/shared-utils/three/{transfromToMeshBasicMaterial.js → transformToMeshBasicMaterial.js} +0 -0
  243. package/libs/vendor/svelte/internal/index.js +151 -152
  244. package/package.json +1 -2
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as T, init as Y, safe_not_equal as J, append_styles as U, element as G, attr as k, toggle_class as m, set_style as M, insert as W, append as y, listen as H, stop_propagation as P, transition_out as c, check_outros as S, transition_in as B, detach as F, setContext as I, group_outros as O, create_component as w, mount_component as C, destroy_component as D } from "../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as T, init as Y, safe_not_equal as J, append_styles as U, element as G, attr as k, toggle_class as u, set_style as M, insert as W, append as y, listen as H, stop_propagation as P, transition_out as B, check_outros as S, transition_in as p, detach as F, setContext as I, group_outros as O, create_component as w, mount_component as C, destroy_component as D } from "../../../vendor/svelte/internal/index.js";
2
2
  import { ContentType as h } from "../../typings/tag.js";
3
3
  import x from "./TextTag.js";
4
4
  import L from "./ImageTextTag.js";
@@ -59,10 +59,10 @@ function q(i) {
59
59
  t & 2 && (o.tag = s(e[1])), A.$set(o);
60
60
  },
61
61
  i(e) {
62
- n || (B(A.$$.fragment, e), n = !0);
62
+ n || (p(A.$$.fragment, e), n = !0);
63
63
  },
64
64
  o(e) {
65
- c(A.$$.fragment, e), n = !1;
65
+ B(A.$$.fragment, e), n = !1;
66
66
  },
67
67
  d(e) {
68
68
  D(A, e);
@@ -85,10 +85,10 @@ function X(i) {
85
85
  t & 2 && (o.tag = s(e[1])), A.$set(o);
86
86
  },
87
87
  i(e) {
88
- n || (B(A.$$.fragment, e), n = !0);
88
+ n || (p(A.$$.fragment, e), n = !0);
89
89
  },
90
90
  o(e) {
91
- c(A.$$.fragment, e), n = !1;
91
+ B(A.$$.fragment, e), n = !1;
92
92
  },
93
93
  d(e) {
94
94
  D(A, e);
@@ -111,10 +111,10 @@ function j(i) {
111
111
  t & 2 && (o.tag = s(e[1])), A.$set(o);
112
112
  },
113
113
  i(e) {
114
- n || (B(A.$$.fragment, e), n = !0);
114
+ n || (p(A.$$.fragment, e), n = !0);
115
115
  },
116
116
  o(e) {
117
- c(A.$$.fragment, e), n = !1;
117
+ B(A.$$.fragment, e), n = !1;
118
118
  },
119
119
  d(e) {
120
120
  D(A, e);
@@ -137,10 +137,10 @@ function $(i) {
137
137
  t & 2 && (o.tag = s(e[1])), A.$set(o);
138
138
  },
139
139
  i(e) {
140
- n || (B(A.$$.fragment, e), n = !0);
140
+ n || (p(A.$$.fragment, e), n = !0);
141
141
  },
142
142
  o(e) {
143
- c(A.$$.fragment, e), n = !1;
143
+ B(A.$$.fragment, e), n = !1;
144
144
  },
145
145
  d(e) {
146
146
  D(A, e);
@@ -163,10 +163,10 @@ function AA(i) {
163
163
  t & 2 && (o.tag = s(e[1])), A.$set(o);
164
164
  },
165
165
  i(e) {
166
- n || (B(A.$$.fragment, e), n = !0);
166
+ n || (p(A.$$.fragment, e), n = !0);
167
167
  },
168
168
  o(e) {
169
- c(A.$$.fragment, e), n = !1;
169
+ B(A.$$.fragment, e), n = !1;
170
170
  },
171
171
  d(e) {
172
172
  D(A, e);
@@ -189,10 +189,10 @@ function eA(i) {
189
189
  t & 2 && (o.tag = s(e[1])), A.$set(o);
190
190
  },
191
191
  i(e) {
192
- n || (B(A.$$.fragment, e), n = !0);
192
+ n || (p(A.$$.fragment, e), n = !0);
193
193
  },
194
194
  o(e) {
195
- c(A.$$.fragment, e), n = !1;
195
+ B(A.$$.fragment, e), n = !1;
196
196
  },
197
197
  d(e) {
198
198
  D(A, e);
@@ -215,10 +215,10 @@ function tA(i) {
215
215
  t & 2 && (o.tag = s(e[1])), A.$set(o);
216
216
  },
217
217
  i(e) {
218
- n || (B(A.$$.fragment, e), n = !0);
218
+ n || (p(A.$$.fragment, e), n = !0);
219
219
  },
220
220
  o(e) {
221
- c(A.$$.fragment, e), n = !1;
221
+ B(A.$$.fragment, e), n = !1;
222
222
  },
223
223
  d(e) {
224
224
  D(A, e);
@@ -226,7 +226,7 @@ function tA(i) {
226
226
  };
227
227
  }
228
228
  function nA(i) {
229
- let A, n, e, t, o, p, d, g, u;
229
+ let A, n, e, t, o, d, f, g, c;
230
230
  const E = [
231
231
  tA,
232
232
  eA,
@@ -235,56 +235,56 @@ function nA(i) {
235
235
  j,
236
236
  X,
237
237
  q
238
- ], f = [];
238
+ ], m = [];
239
239
  function b(r, l) {
240
240
  return r[1].element ? 0 : r[1].contentType === h.Text ? 1 : r[1].contentType === h.ImageText ? 2 : r[1].contentType === h.Audio ? 3 : r[1].contentType === h.Marketing ? 4 : r[1].contentType === h.Link ? 5 : r[1].contentType === h.MediaPlane ? 6 : -1;
241
241
  }
242
- return ~(t = b(i)) && (o = f[t] = E[t](i)), {
242
+ return ~(t = b(i)) && (o = m[t] = E[t](i)), {
243
243
  c() {
244
244
  var r, l, Q;
245
- A = G("div"), n = G("div"), e = G("div"), o && o.c(), k(e, "class", "content svelte-95x526"), m(e, "unfolded", (r = i[1].state) == null ? void 0 : r.unfolded), k(n, "class", "content__wrapper svelte-95x526"), k(A, "class", "content__container svelte-95x526"), k(A, "data-id", p = i[1].id), m(A, "disable", i[1].enabled === !1 || ((l = i[1].temporaryState) == null ? void 0 : l.visible) === !1), m(A, "hide", !i[3].visible || !i[3].enabled || !i[4].visible || !((Q = i[1].state) != null && Q.visible)), m(A, "withAnimation", i[0]), m(A, "unClickable", i[1].clickable === !1), M(A, "width", i[1].pointType === "PointTag" ? 0 : "100%", !1), M(A, "height", i[1].pointType === "PointTag" ? 0 : "100%", !1);
245
+ A = G("div"), n = G("div"), e = G("div"), o && o.c(), k(e, "class", "content svelte-95x526"), u(e, "unfolded", (r = i[1].state) == null ? void 0 : r.unfolded), k(n, "class", "content__wrapper svelte-95x526"), k(A, "class", "content__container svelte-95x526"), k(A, "data-id", d = i[1].id), u(A, "disable", i[1].enabled === !1 || ((l = i[1].temporaryState) == null ? void 0 : l.visible) === !1), u(A, "hide", !i[3].visible || !i[3].enabled || !i[4].visible || !((Q = i[1].state) != null && Q.visible)), u(A, "withAnimation", i[0]), u(A, "unClickable", i[1].clickable === !1), M(A, "width", i[1].pointType === "PointTag" ? 0 : "100%"), M(A, "height", i[1].pointType === "PointTag" ? 0 : "100%");
246
246
  },
247
247
  m(r, l) {
248
- W(r, A, l), y(A, n), y(n, e), ~t && f[t].m(e, null), d = !0, g || (u = H(A, "click", P(i[11])), g = !0);
248
+ W(r, A, l), y(A, n), y(n, e), ~t && m[t].m(e, null), f = !0, g || (c = H(A, "click", P(i[11])), g = !0);
249
249
  },
250
250
  p(r, [l]) {
251
251
  var _, a, v;
252
252
  let Q = t;
253
- t = b(r), t === Q ? ~t && f[t].p(r, l) : (o && (O(), c(f[Q], 1, 1, () => {
254
- f[Q] = null;
255
- }), S()), ~t ? (o = f[t], o ? o.p(r, l) : (o = f[t] = E[t](r), o.c()), B(o, 1), o.m(e, null)) : o = null), l & 2 && m(e, "unfolded", (_ = r[1].state) == null ? void 0 : _.unfolded), (!d || l & 2 && p !== (p = r[1].id)) && k(A, "data-id", p), l & 2 && m(A, "disable", r[1].enabled === !1 || ((a = r[1].temporaryState) == null ? void 0 : a.visible) === !1), l & 26 && m(A, "hide", !r[3].visible || !r[3].enabled || !r[4].visible || !((v = r[1].state) != null && v.visible)), l & 1 && m(A, "withAnimation", r[0]), l & 2 && m(A, "unClickable", r[1].clickable === !1), l & 2 && M(A, "width", r[1].pointType === "PointTag" ? 0 : "100%", !1), l & 2 && M(A, "height", r[1].pointType === "PointTag" ? 0 : "100%", !1);
253
+ t = b(r), t === Q ? ~t && m[t].p(r, l) : (o && (O(), B(m[Q], 1, 1, () => {
254
+ m[Q] = null;
255
+ }), S()), ~t ? (o = m[t], o ? o.p(r, l) : (o = m[t] = E[t](r), o.c()), p(o, 1), o.m(e, null)) : o = null), (!f || l & 2) && u(e, "unfolded", (_ = r[1].state) == null ? void 0 : _.unfolded), (!f || l & 2 && d !== (d = r[1].id)) && k(A, "data-id", d), (!f || l & 2) && u(A, "disable", r[1].enabled === !1 || ((a = r[1].temporaryState) == null ? void 0 : a.visible) === !1), (!f || l & 26) && u(A, "hide", !r[3].visible || !r[3].enabled || !r[4].visible || !((v = r[1].state) != null && v.visible)), (!f || l & 1) && u(A, "withAnimation", r[0]), (!f || l & 2) && u(A, "unClickable", r[1].clickable === !1), l & 2 && M(A, "width", r[1].pointType === "PointTag" ? 0 : "100%"), l & 2 && M(A, "height", r[1].pointType === "PointTag" ? 0 : "100%");
256
256
  },
257
257
  i(r) {
258
- d || (B(o), d = !0);
258
+ f || (p(o), f = !0);
259
259
  },
260
260
  o(r) {
261
- c(o), d = !1;
261
+ B(o), f = !1;
262
262
  },
263
263
  d(r) {
264
- r && F(A), ~t && f[t].d(), g = !1, u();
264
+ r && F(A), ~t && m[t].d(), g = !1, c();
265
265
  }
266
266
  };
267
267
  }
268
268
  function iA(i, A, n) {
269
- let e, t, o, p, { withAnimation: d = !1 } = A, { tag: g } = A, { hooks: u } = A, { state: E } = A, { mediaStore: f } = A, { temporaryState: b } = A;
270
- I("hooks", u), I("mediaStore", f);
269
+ let e, t, o, d, { withAnimation: f = !1 } = A, { tag: g } = A, { hooks: c } = A, { state: E } = A, { mediaStore: m } = A, { temporaryState: b } = A;
270
+ I("hooks", c), I("mediaStore", m);
271
271
  let r, l;
272
272
  function Q(a) {
273
- a ? u.emit("exposure", { id: p, type: "start" }) : u.emit("exposure", { id: p, type: "end" });
273
+ a ? c.emit("exposure", { id: d, type: "start" }) : c.emit("exposure", { id: d, type: "end" });
274
274
  }
275
- const _ = (a) => u.emit("click", { event: a, target: "TagContent", tag: g });
275
+ const _ = (a) => c.emit("click", { event: a, target: "TagContent", tag: g });
276
276
  return i.$$set = (a) => {
277
- "withAnimation" in a && n(0, d = a.withAnimation), "tag" in a && n(1, g = a.tag), "hooks" in a && n(2, u = a.hooks), "state" in a && n(3, E = a.state), "mediaStore" in a && n(5, f = a.mediaStore), "temporaryState" in a && n(4, b = a.temporaryState);
277
+ "withAnimation" in a && n(0, f = a.withAnimation), "tag" in a && n(1, g = a.tag), "hooks" in a && n(2, c = a.hooks), "state" in a && n(3, E = a.state), "mediaStore" in a && n(5, m = a.mediaStore), "temporaryState" in a && n(4, b = a.temporaryState);
278
278
  }, i.$$.update = () => {
279
279
  var a, v;
280
- i.$$.dirty & 2 && n(9, e = (a = g.state) == null ? void 0 : a.unfolded), i.$$.dirty & 2 && n(8, t = (v = g.state) == null ? void 0 : v.visible), i.$$.dirty & 280 && n(10, o = E.visible && b.visible && t), i.$$.dirty & 2 && (p = g.id), i.$$.dirty & 1024 && Q(o), i.$$.dirty & 962 && g.hooks && (e !== void 0 && e !== l && (n(7, l = e), e ? g.hooks.emit("unfolded") : g.hooks.emit("folded")), t !== void 0 && t !== r && (n(6, r = t), t ? g.hooks.emit("show") : g.hooks.emit("hide")));
280
+ i.$$.dirty & 2 && n(9, e = (a = g.state) == null ? void 0 : a.unfolded), i.$$.dirty & 2 && n(8, t = (v = g.state) == null ? void 0 : v.visible), i.$$.dirty & 280 && n(10, o = E.visible && b.visible && t), i.$$.dirty & 2 && (d = g.id), i.$$.dirty & 1024 && Q(o), i.$$.dirty & 962 && g.hooks && (e !== void 0 && e !== l && (n(7, l = e), e ? g.hooks.emit("unfolded") : g.hooks.emit("folded")), t !== void 0 && t !== r && (n(6, r = t), t ? g.hooks.emit("show") : g.hooks.emit("hide")));
281
281
  }, [
282
- d,
282
+ f,
283
283
  g,
284
- u,
284
+ c,
285
285
  E,
286
286
  b,
287
- f,
287
+ m,
288
288
  r,
289
289
  l,
290
290
  t,
@@ -71,7 +71,7 @@ function v(s) {
71
71
  a = !0;
72
72
  },
73
73
  p(r, t) {
74
- t & 63 && (l = r[1], T(), i = N(i, t, m, 1, r, l, o, e, W, y, null, k), S()), t & 40 && p(e, "hide", !r[3].visible || !r[5].visible), t & 1 && p(e, "withAnimation", r[0]);
74
+ t & 63 && (l = r[1], T(), i = N(i, t, m, 1, r, l, o, e, W, y, null, k), S()), (!a || t & 40) && p(e, "hide", !r[3].visible || !r[5].visible), (!a || t & 1) && p(e, "withAnimation", r[0]);
75
75
  },
76
76
  i(r) {
77
77
  if (!a) {
@@ -130,7 +130,7 @@ function y(s, e) {
130
130
  withAnimation: e[0]
131
131
  }
132
132
  ]) : {};
133
- o.$set(c), n & 2 && p(i, "hide", !((_ = e[6].pointTagStyle) != null && _.leftPercent) || !((d = e[6].pointTagStyle) != null && d.topPercent) || e[6].enabled === !1 || !e[6].state || ((b = e[6].temporaryState) == null ? void 0 : b.visible) === !1);
133
+ o.$set(c), (!l || n & 2) && p(i, "hide", !((_ = e[6].pointTagStyle) != null && _.leftPercent) || !((d = e[6].pointTagStyle) != null && d.topPercent) || e[6].enabled === !1 || !e[6].state || ((b = e[6].temporaryState) == null ? void 0 : b.visible) === !1);
134
134
  },
135
135
  i(t) {
136
136
  l || (f(o.$$.fragment, t), l = !0);
@@ -107,7 +107,7 @@ function $(e) {
107
107
  let t, n, r, m, i = e[1].dimensionType === q.Two && I(e), o = e[1].pointType === D.PointTag && ((s = (p = e[1].style) == null ? void 0 : p.point) == null ? void 0 : s.style) !== "noPoint" && L(e);
108
108
  return {
109
109
  c() {
110
- t = W("div"), i && i.c(), n = Q(), o && o.c(), T(t, "class", "wrapper svelte-1vzhbu2"), T(t, "data-id", r = e[1].id), _(t, "hide", e[10]), _(t, "unfolded", e[6]), d(t, "left", e[9], !1), d(t, "top", e[8], !1), d(t, "z-index", e[7], !1);
110
+ t = W("div"), i && i.c(), n = Q(), o && o.c(), T(t, "class", "wrapper svelte-1vzhbu2"), T(t, "data-id", r = e[1].id), _(t, "hide", e[10]), _(t, "unfolded", e[6]), d(t, "left", e[9]), d(t, "top", e[8]), d(t, "z-index", e[7]);
111
111
  },
112
112
  m(a, l) {
113
113
  j(a, t, l), i && i.m(t, null), R(t, n), o && o.m(t, null), m = !0;
@@ -118,7 +118,7 @@ function $(e) {
118
118
  i = null;
119
119
  }), z()), a[1].pointType === D.PointTag && ((c = (g = a[1].style) == null ? void 0 : g.point) == null ? void 0 : c.style) !== "noPoint" ? o ? (o.p(a, l), l & 2 && u(o, 1)) : (o = L(a), o.c(), u(o, 1), o.m(t, null)) : o && (A(), h(o, 1, 1, () => {
120
120
  o = null;
121
- }), z()), (!m || l & 2 && r !== (r = a[1].id)) && T(t, "data-id", r), l & 1024 && _(t, "hide", a[10]), l & 64 && _(t, "unfolded", a[6]), l & 512 && d(t, "left", a[9], !1), l & 256 && d(t, "top", a[8], !1), l & 128 && d(t, "z-index", a[7], !1);
121
+ }), z()), (!m || l & 2 && r !== (r = a[1].id)) && T(t, "data-id", r), (!m || l & 1024) && _(t, "hide", a[10]), (!m || l & 64) && _(t, "unfolded", a[6]), l & 512 && d(t, "left", a[9]), l & 256 && d(t, "top", a[8]), l & 128 && d(t, "z-index", a[7]);
122
122
  },
123
123
  i(a) {
124
124
  m || (u(i), u(o), m = !0);
@@ -1,49 +1,49 @@
1
- import { SvelteComponent as L, init as k, safe_not_equal as z, append_styles as P, element as m, attr as c, set_style as o, insert as U, append as A, noop as d, detach as C } from "../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as L, init as k, safe_not_equal as z, append_styles as P, element as c, attr as d, set_style as a, insert as U, append as A, noop as f, detach as C } from "../../vendor/svelte/internal/index.js";
2
2
  import { CAMERA_IMAGE as g } from "../Assets/camera.js";
3
3
  import { rad2Deg as R } from "../../shared-utils/math/rad2Deg.js";
4
- function S(a) {
5
- P(a, "svelte-17cl35n", ".floorplan__camera-position.svelte-17cl35n{position:absolute;width:0;height:0}.floorplan__camera-rotate.svelte-17cl35n{position:absolute;background-repeat:no-repeat;background-size:100%}");
4
+ function S(t) {
5
+ P(t, "svelte-17cl35n", ".floorplan__camera-position.svelte-17cl35n{position:absolute;width:0;height:0}.floorplan__camera-rotate.svelte-17cl35n{position:absolute;background-repeat:no-repeat;background-size:100%}");
6
6
  }
7
- function w(a) {
8
- let t, e;
7
+ function w(t) {
8
+ let o, e;
9
9
  return {
10
10
  c() {
11
- t = m("div"), e = m("div"), c(e, "class", "floorplan__camera-rotate svelte-17cl35n"), o(e, "background-image", `url(${a[0] || g})`), o(e, "width", a[4], !1), o(e, "height", a[4], !1), o(e, "left", "-" + a[4], !1), o(e, "top", "-" + a[4], !1), o(e, "transform", `rotate(${a[3]}deg)`, !1), o(e, "transform-origin", `${a[4]} ${a[4]}`, !1), c(t, "class", "floorplan__camera-position svelte-17cl35n"), o(t, "left", a[1], !1), o(t, "top", a[2], !1);
11
+ o = c("div"), e = c("div"), d(e, "class", "floorplan__camera-rotate svelte-17cl35n"), a(e, "background-image", `url(${t[0] || g})`), a(e, "width", t[4]), a(e, "height", t[4]), a(e, "left", "-" + t[4]), a(e, "top", "-" + t[4]), a(e, "transform", `rotate(${t[3]}deg)`), a(e, "transform-origin", `${t[4]} ${t[4]}`), d(o, "class", "floorplan__camera-position svelte-17cl35n"), a(o, "left", t[1]), a(o, "top", t[2]);
12
12
  },
13
- m(n, i) {
14
- U(n, t, i), A(t, e);
13
+ m(n, l) {
14
+ U(n, o, l), A(o, e);
15
15
  },
16
- p(n, [i]) {
17
- i & 1 && o(e, "background-image", `url(${n[0] || g})`);
16
+ p(n, [l]) {
17
+ l & 1 && a(e, "background-image", `url(${n[0] || g})`);
18
18
  },
19
- i: d,
20
- o: d,
19
+ i: f,
20
+ o: f,
21
21
  d(n) {
22
- n && C(t);
22
+ n && C(o);
23
23
  }
24
24
  };
25
25
  }
26
- function E(a, t, e) {
27
- let { panoIndex: n } = t, { floorplanData: i } = t, { lastPanoramaLongitude: s } = t, { cameraImageUrl: r } = t;
28
- const { observers: u } = i, f = u[n], p = f.positionInImage.x, _ = f.positionInImage.y, I = p * 100 + "%", b = _ * 100 + "%", h = -R(s) + 45, v = document.body.clientWidth, y = document.body.clientHeight, D = `${(v < 500 || y < 500 ? 17 : 37) / 16}rem`;
29
- return a.$$set = (l) => {
30
- "panoIndex" in l && e(5, n = l.panoIndex), "floorplanData" in l && e(6, i = l.floorplanData), "lastPanoramaLongitude" in l && e(7, s = l.lastPanoramaLongitude), "cameraImageUrl" in l && e(0, r = l.cameraImageUrl);
26
+ function E(t, o, e) {
27
+ let { panoIndex: n } = o, { floorplanData: l } = o, { lastPanoramaLongitude: r } = o, { cameraImageUrl: s } = o;
28
+ const { observers: u } = l, m = u[n], p = m.positionInImage.x, _ = m.positionInImage.y, I = p * 100 + "%", b = _ * 100 + "%", h = -R(r) + 45, v = document.body.clientWidth, y = document.body.clientHeight, D = `${(v < 500 || y < 500 ? 17 : 37) / 16}rem`;
29
+ return t.$$set = (i) => {
30
+ "panoIndex" in i && e(5, n = i.panoIndex), "floorplanData" in i && e(6, l = i.floorplanData), "lastPanoramaLongitude" in i && e(7, r = i.lastPanoramaLongitude), "cameraImageUrl" in i && e(0, s = i.cameraImageUrl);
31
31
  }, [
32
- r,
32
+ s,
33
33
  I,
34
34
  b,
35
35
  h,
36
36
  D,
37
37
  n,
38
- i,
39
- s
38
+ l,
39
+ r
40
40
  ];
41
41
  }
42
42
  class G extends L {
43
- constructor(t) {
43
+ constructor(o) {
44
44
  super(), k(
45
45
  this,
46
- t,
46
+ o,
47
47
  E,
48
48
  w,
49
49
  z,
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as k, init as b, safe_not_equal as v, append_styles as D, empty as y, insert as d, noop as u, detach as g, element as f, space as w, text as S, attr as c, set_style as _, append as p, set_data as C } from "../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as k, init as b, safe_not_equal as v, append_styles as D, empty as y, insert as d, noop as u, detach as g, element as c, space as w, text as S, attr as f, set_style as _, append as p, set_data as C } from "../../vendor/svelte/internal/index.js";
2
2
  import { COMPASS_IMAGE as x } from "../Assets/compass.js";
3
3
  function M(a) {
4
4
  D(a, "svelte-rpkaro", ".floorplan-plugin__compass.svelte-rpkaro{position:absolute;left:50%;top:-2.875rem;width:14.4375rem;height:2.5625rem;will-change:opacity;transform-origin:center 11.5rem}.floorplan-plugin__compass-image.svelte-rpkaro{width:100%;height:100%;position:absolute;left:0;top:0;opacity:0.1;background-repeat:no-repeat;background-size:100% 100%}.floorplan-plugin__compass-text.svelte-rpkaro{position:absolute;left:50%;top:0.9375rem;transform:translateX(-50%);opacity:0.2;font-weight:bold;font-size:0.625rem;color:#fff}");
@@ -7,7 +7,7 @@ function z(a) {
7
7
  let t, e, o, n, r;
8
8
  return {
9
9
  c() {
10
- t = f("div"), e = f("div"), o = w(), n = f("span"), r = S(a[0]), c(e, "class", "floorplan-plugin__compass-image svelte-rpkaro"), _(e, "background-image", `url(${x})`), c(n, "class", "floorplan-plugin__compass-text svelte-rpkaro"), c(t, "class", "floorplan-plugin__compass svelte-rpkaro"), _(t, "transform", a[2], !1);
10
+ t = c("div"), e = c("div"), o = w(), n = c("span"), r = S(a[0]), f(e, "class", "floorplan-plugin__compass-image svelte-rpkaro"), _(e, "background-image", `url(${x})`), f(n, "class", "floorplan-plugin__compass-text svelte-rpkaro"), f(t, "class", "floorplan-plugin__compass svelte-rpkaro"), _(t, "transform", a[2]);
11
11
  },
12
12
  m(s, l) {
13
13
  d(s, t, l), p(t, e), p(t, o), p(t, n), p(n, r);
@@ -19,41 +19,41 @@ function se(i) {
19
19
  }
20
20
  };
21
21
  }
22
- function fe(i) {
23
- let e, n = i[0].name + "", l, t, o, c;
22
+ function ce(i) {
23
+ let e, n = i[0].name + "", l, t, o, a;
24
24
  return {
25
25
  c() {
26
- e = k("span"), l = V(n), t = ie(), o = k("span"), c = V(i[5]), C(e, "class", "floorplan-plugin__room-name"), C(o, "class", "floorplan-plugin__room-size svelte-12pzct5");
26
+ e = k("span"), l = V(n), t = ie(), o = k("span"), a = V(i[5]), C(e, "class", "floorplan-plugin__room-name"), C(o, "class", "floorplan-plugin__room-size svelte-12pzct5");
27
27
  },
28
- m(a, f) {
29
- p(a, e, f), A(e, l), p(a, t, f), p(a, o, f), A(o, c);
28
+ m(f, c) {
29
+ p(f, e, c), A(e, l), p(f, t, c), p(f, o, c), A(o, a);
30
30
  },
31
- p(a, f) {
32
- f & 1 && n !== (n = a[0].name + "") && j(l, n), f & 32 && j(c, a[5]);
31
+ p(f, c) {
32
+ c & 1 && n !== (n = f[0].name + "") && j(l, n), c & 32 && j(a, f[5]);
33
33
  },
34
- d(a) {
35
- a && g(e), a && g(t), a && g(o);
34
+ d(f) {
35
+ f && g(e), f && g(t), f && g(o);
36
36
  }
37
37
  };
38
38
  }
39
- function ae(i) {
39
+ function fe(i) {
40
40
  let e;
41
- function n(o, c) {
41
+ function n(o, a) {
42
42
  if (o[1] === void 0)
43
- return fe;
43
+ return ce;
44
44
  if (o[4])
45
45
  return se;
46
46
  }
47
47
  let l = n(i), t = l && l(i);
48
48
  return {
49
49
  c() {
50
- e = k("div"), t && t.c(), C(e, "class", "floorplan-plugin__room-label-item svelte-12pzct5"), _(e, "left", i[6], !1), _(e, "top", i[7], !1), _(e, "font-size", i[8], !1), _(e, "opacity", i[3] ? "1" : "0", !1);
50
+ e = k("div"), t && t.c(), C(e, "class", "floorplan-plugin__room-label-item svelte-12pzct5"), _(e, "left", i[6]), _(e, "top", i[7]), _(e, "font-size", i[8]), _(e, "opacity", i[3] ? "1" : "0");
51
51
  },
52
- m(o, c) {
53
- p(o, e, c), t && t.m(e, null), i[16](e);
52
+ m(o, a) {
53
+ p(o, e, a), t && t.m(e, null), i[16](e);
54
54
  },
55
- p(o, [c]) {
56
- l === (l = n(o)) && t ? t.p(o, c) : (t && t.d(1), t = l && l(o), t && (t.c(), t.m(e, null))), c & 8 && _(e, "opacity", o[3] ? "1" : "0", !1);
55
+ p(o, [a]) {
56
+ l === (l = n(o)) && t ? t.p(o, a) : (t && t.d(1), t = l && l(o), t && (t.c(), t.m(e, null))), a & 8 && _(e, "opacity", o[3] ? "1" : "0");
57
57
  },
58
58
  i: E,
59
59
  o: E,
@@ -62,17 +62,17 @@ function ae(i) {
62
62
  }
63
63
  };
64
64
  }
65
- function ce(i, e) {
65
+ function ae(i, e) {
66
66
  const n = i[0], l = i[1];
67
67
  let t = !1;
68
- for (let o = 0, c = e.length - 1; o < e.length; c = o++) {
69
- const a = e[o][0], f = e[o][1], h = e[c][0], r = e[c][1];
70
- f > l != r > l && n < (h - a) * (l - f) / (r - f) + a && (t = !t);
68
+ for (let o = 0, a = e.length - 1; o < e.length; a = o++) {
69
+ const f = e[o][0], c = e[o][1], h = e[a][0], r = e[a][1];
70
+ c > l != r > l && n < (h - f) * (l - c) / (r - c) + f && (t = !t);
71
71
  }
72
72
  return t;
73
73
  }
74
74
  function re(i, e, n) {
75
- let l, t, o, c, { pxmm: a } = e, { room: f } = e, { hoveredRoom: h } = e, { getRoomAreaText: r } = e, { getLabelElement: m } = e, { adaptiveRoomLabelVisibleEnable: v } = e;
75
+ let l, t, o, a, { pxmm: f } = e, { room: c } = e, { hoveredRoom: h } = e, { getRoomAreaText: r } = e, { getLabelElement: m } = e, { adaptiveRoomLabelVisibleEnable: v } = e;
76
76
  function M(s, b) {
77
77
  if (b.width === 0 || b.height === 0)
78
78
  return () => !1;
@@ -84,13 +84,13 @@ function re(i, e, n) {
84
84
  [z - R, w - L],
85
85
  [z - R, w + L],
86
86
  [z + R, w + L]
87
- ].every((T) => ce(T, K));
87
+ ].every((T) => ae(T, K));
88
88
  };
89
89
  }
90
- const W = document.body.clientWidth, x = document.body.clientHeight, I = f.roomLabel, D = I.positionInImage.x * 100 + "%", S = I.positionInImage.y * 100 + "%", q = (W < 500 || x < 500 ? 10 : 14) / 16 + "rem";
90
+ const W = document.body.clientWidth, x = document.body.clientHeight, I = c.roomLabel, D = I.positionInImage.x * 100 + "%", S = I.positionInImage.y * 100 + "%", q = (W < 500 || x < 500 ? 10 : 14) / 16 + "rem";
91
91
  let H = !1, u, y;
92
92
  h.subscribe(function(b) {
93
- n(13, H = !!b && b.id === f.id);
93
+ n(13, H = !!b && b.id === c.id);
94
94
  }), ee(() => {
95
95
  const s = u == null ? void 0 : u.getClientRects()[0];
96
96
  n(14, y = {
@@ -104,20 +104,20 @@ function re(i, e, n) {
104
104
  });
105
105
  }
106
106
  return i.$$set = (s) => {
107
- "pxmm" in s && n(9, a = s.pxmm), "room" in s && n(0, f = s.room), "hoveredRoom" in s && n(10, h = s.hoveredRoom), "getRoomAreaText" in s && n(11, r = s.getRoomAreaText), "getLabelElement" in s && n(1, m = s.getLabelElement), "adaptiveRoomLabelVisibleEnable" in s && n(12, v = s.adaptiveRoomLabelVisibleEnable);
107
+ "pxmm" in s && n(9, f = s.pxmm), "room" in s && n(0, c = s.room), "hoveredRoom" in s && n(10, h = s.hoveredRoom), "getRoomAreaText" in s && n(11, r = s.getRoomAreaText), "getLabelElement" in s && n(1, m = s.getLabelElement), "adaptiveRoomLabelVisibleEnable" in s && n(12, v = s.adaptiveRoomLabelVisibleEnable);
108
108
  }, i.$$.update = () => {
109
- i.$$.dirty & 2049 && n(5, l = f.size ? r(f.size) : ""), i.$$.dirty & 16385 && n(15, t = y ? M(f, y) : void 0), i.$$.dirty & 3 && n(4, o = m == null ? void 0 : m(f)), i.$$.dirty & 45568 && n(3, c = v ? H ? !0 : !!(t != null && t(a)) : !0);
109
+ i.$$.dirty & 2049 && n(5, l = c.size ? r(c.size) : ""), i.$$.dirty & 16385 && n(15, t = y ? M(c, y) : void 0), i.$$.dirty & 3 && n(4, o = m == null ? void 0 : m(c)), i.$$.dirty & 45568 && n(3, a = v ? H ? !0 : !!(t != null && t(f)) : !0);
110
110
  }, [
111
- f,
111
+ c,
112
112
  m,
113
113
  u,
114
- c,
114
+ a,
115
115
  o,
116
116
  l,
117
117
  D,
118
118
  S,
119
119
  q,
120
- a,
120
+ f,
121
121
  h,
122
122
  r,
123
123
  v,
@@ -133,7 +133,7 @@ class be extends O {
133
133
  this,
134
134
  e,
135
135
  re,
136
- ae,
136
+ fe,
137
137
  Z,
138
138
  {
139
139
  pxmm: 9,
@@ -1,20 +1,20 @@
1
1
  import { SvelteComponent as N, init as O, safe_not_equal as P, append_styles as S, element as h, space as R, attr as d, toggle_class as x, set_style as j, insert as D, append as c, update_keyed_each as X, noop as T, detach as z, destroy_each as Y, text as A, set_data as B, destroy_block as E } from "../../../vendor/svelte/internal/index.js";
2
- function F(s) {
3
- S(s, "svelte-djlmk4", ".floorplan-plugin__rule-labels.svelte-djlmk4.svelte-djlmk4{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-djlmk4.svelte-djlmk4{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-djlmk4.svelte-djlmk4{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-djlmk4.svelte-djlmk4{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-djlmk4.svelte-djlmk4{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-djlmk4.svelte-djlmk4{background:#fff;opacity:0.05;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-djlmk4.svelte-djlmk4{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-scale-wrapper.svelte-djlmk4{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-djlmk4.svelte-djlmk4{position:absolute;background:#fff;opacity:0.05;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-scale.svelte-djlmk4{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-djlmk4.svelte-djlmk4{position:absolute}.floorplan-plugin__rule-labels--top.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-djlmk4.svelte-djlmk4{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-text-item.svelte-djlmk4{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-djlmk4.svelte-djlmk4{width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.2}");
2
+ function F(r) {
3
+ S(r, "svelte-djlmk4", ".floorplan-plugin__rule-labels.svelte-djlmk4.svelte-djlmk4{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-djlmk4.svelte-djlmk4{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-djlmk4.svelte-djlmk4{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-djlmk4.svelte-djlmk4{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-djlmk4.svelte-djlmk4{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-djlmk4.svelte-djlmk4{background:#fff;opacity:0.05;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-djlmk4.svelte-djlmk4{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-scale-wrapper.svelte-djlmk4{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-djlmk4.svelte-djlmk4{position:absolute;background:#fff;opacity:0.05;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-scale.svelte-djlmk4{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-djlmk4.svelte-djlmk4{position:absolute}.floorplan-plugin__rule-labels--top.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-djlmk4.svelte-djlmk4{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-text-item.svelte-djlmk4{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-djlmk4.svelte-djlmk4{width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.2}");
4
4
  }
5
- function q(s, e, n) {
6
- const i = s.slice();
5
+ function q(r, e, n) {
6
+ const i = r.slice();
7
7
  return i[11] = e[n], i[13] = n, i;
8
8
  }
9
- function C(s, e, n) {
10
- const i = s.slice();
9
+ function C(r, e, n) {
10
+ const i = r.slice();
11
11
  return i[14] = e[n], i;
12
12
  }
13
- function H(s) {
13
+ function H(r) {
14
14
  let e;
15
15
  return {
16
16
  c() {
17
- e = h("div"), d(e, "class", "floorplan-plugin__rule-scale svelte-djlmk4"), j(e, "left", s[14].left * 100 + "%", !1), j(e, "bottom", s[14].bottom * 100 + "%", !1);
17
+ e = h("div"), d(e, "class", "floorplan-plugin__rule-scale svelte-djlmk4"), j(e, "left", r[14].left * 100 + "%"), j(e, "bottom", r[14].bottom * 100 + "%");
18
18
  },
19
19
  m(n, i) {
20
20
  D(n, e, i);
@@ -25,91 +25,91 @@ function H(s) {
25
25
  }
26
26
  };
27
27
  }
28
- function I(s, e) {
29
- let n, i, f = e[1](e[11].distance) + "", u, m;
28
+ function I(r, e) {
29
+ let n, i, p = e[1](e[11].distance) + "", u, m;
30
30
  return {
31
- key: s,
31
+ key: r,
32
32
  first: null,
33
33
  c() {
34
- n = h("div"), i = h("div"), u = A(f), m = R(), d(i, "class", "floorplan-plugin__rule-text svelte-djlmk4"), x(i, "is-row", e[2]), d(n, "class", "floorplan-plugin__rule-text-item svelte-djlmk4"), j(n, "left", e[11].left * 100 + "%", !1), j(n, "bottom", e[11].bottom * 100 + "%", !1), this.first = n;
34
+ n = h("div"), i = h("div"), u = A(p), m = R(), d(i, "class", "floorplan-plugin__rule-text svelte-djlmk4"), x(i, "is-row", e[2]), d(n, "class", "floorplan-plugin__rule-text-item svelte-djlmk4"), j(n, "left", e[11].left * 100 + "%"), j(n, "bottom", e[11].bottom * 100 + "%"), this.first = n;
35
35
  },
36
- m(r, _) {
37
- D(r, n, _), c(n, i), c(i, u), c(n, m);
36
+ m(s, _) {
37
+ D(s, n, _), c(n, i), c(i, u), c(n, m);
38
38
  },
39
- p(r, _) {
40
- e = r, _ & 2 && f !== (f = e[1](e[11].distance) + "") && B(u, f);
39
+ p(s, _) {
40
+ e = s, _ & 2 && p !== (p = e[1](e[11].distance) + "") && B(u, p);
41
41
  },
42
- d(r) {
43
- r && z(n);
42
+ d(s) {
43
+ s && z(n);
44
44
  }
45
45
  };
46
46
  }
47
- function G(s) {
48
- let e, n, i, f, u, m, r = [], _ = /* @__PURE__ */ new Map(), g, p = s[3], a = [];
49
- for (let l = 0; l < p.length; l += 1)
50
- a[l] = H(C(s, p, l));
51
- let v = s[4];
47
+ function G(r) {
48
+ let e, n, i, p, u, m, s = [], _ = /* @__PURE__ */ new Map(), g, f = r[3], a = [];
49
+ for (let l = 0; l < f.length; l += 1)
50
+ a[l] = H(C(r, f, l));
51
+ let v = r[4];
52
52
  const w = (l) => l[13];
53
53
  for (let l = 0; l < v.length; l += 1) {
54
- let o = q(s, v, l), t = w(o);
55
- _.set(t, r[l] = I(t, o));
54
+ let o = q(r, v, l), t = w(o);
55
+ _.set(t, s[l] = I(t, o));
56
56
  }
57
57
  return {
58
58
  c() {
59
- e = h("div"), n = h("div"), i = R(), f = h("div");
59
+ e = h("div"), n = h("div"), i = R(), p = h("div");
60
60
  for (let l = 0; l < a.length; l += 1)
61
61
  a[l].c();
62
62
  u = R(), m = h("div");
63
- for (let l = 0; l < r.length; l += 1)
64
- r[l].c();
65
- d(n, "class", "floorplan-plugin__rule-line svelte-djlmk4"), d(f, "class", "floorplan-plugin__rule-scale-wrapper svelte-djlmk4"), x(f, "is-row", s[2]), d(m, "class", "floorplan-plugin__rule-text-wrapper svelte-djlmk4"), d(e, "class", g = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + s[0] + " svelte-djlmk4"), x(e, "is-row", s[2]), j(e, "width", s[2] ? "100%" : 1 / 16 + "rem", !1), j(e, "height", s[2] ? 1 / 16 + "rem" : "100%", !1);
63
+ for (let l = 0; l < s.length; l += 1)
64
+ s[l].c();
65
+ d(n, "class", "floorplan-plugin__rule-line svelte-djlmk4"), d(p, "class", "floorplan-plugin__rule-scale-wrapper svelte-djlmk4"), x(p, "is-row", r[2]), d(m, "class", "floorplan-plugin__rule-text-wrapper svelte-djlmk4"), d(e, "class", g = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + r[0] + " svelte-djlmk4"), x(e, "is-row", r[2]), j(e, "width", r[2] ? "100%" : 1 / 16 + "rem"), j(e, "height", r[2] ? 1 / 16 + "rem" : "100%");
66
66
  },
67
67
  m(l, o) {
68
- D(l, e, o), c(e, n), c(e, i), c(e, f);
68
+ D(l, e, o), c(e, n), c(e, i), c(e, p);
69
69
  for (let t = 0; t < a.length; t += 1)
70
- a[t].m(f, null);
70
+ a[t].m(p, null);
71
71
  c(e, u), c(e, m);
72
- for (let t = 0; t < r.length; t += 1)
73
- r[t].m(m, null);
72
+ for (let t = 0; t < s.length; t += 1)
73
+ s[t].m(m, null);
74
74
  },
75
75
  p(l, [o]) {
76
76
  if (o & 8) {
77
- p = l[3];
77
+ f = l[3];
78
78
  let t;
79
- for (t = 0; t < p.length; t += 1) {
80
- const y = C(l, p, t);
81
- a[t] ? a[t].p(y, o) : (a[t] = H(y), a[t].c(), a[t].m(f, null));
79
+ for (t = 0; t < f.length; t += 1) {
80
+ const y = C(l, f, t);
81
+ a[t] ? a[t].p(y, o) : (a[t] = H(y), a[t].c(), a[t].m(p, null));
82
82
  }
83
83
  for (; t < a.length; t += 1)
84
84
  a[t].d(1);
85
- a.length = p.length;
85
+ a.length = f.length;
86
86
  }
87
- o & 22 && (v = l[4], r = X(r, o, w, 1, l, v, _, m, E, I, null, q)), o & 1 && g !== (g = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + l[0] + " svelte-djlmk4") && d(e, "class", g), o & 5 && x(e, "is-row", l[2]);
87
+ o & 22 && (v = l[4], s = X(s, o, w, 1, l, v, _, m, E, I, null, q)), o & 1 && g !== (g = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + l[0] + " svelte-djlmk4") && d(e, "class", g), o & 5 && x(e, "is-row", l[2]);
88
88
  },
89
89
  i: T,
90
90
  o: T,
91
91
  d(l) {
92
92
  l && z(e), Y(a, l);
93
- for (let o = 0; o < r.length; o += 1)
94
- r[o].d();
93
+ for (let o = 0; o < s.length; o += 1)
94
+ s[o].d();
95
95
  }
96
96
  };
97
97
  }
98
98
  const k = 1e3, b = 180;
99
- function J(s, e, n) {
100
- let { type: i } = e, { data: f } = e, { bounding: u } = e, { getRuleDistanceText: m } = e;
101
- const r = i === "top" || i === "bottom", _ = u.max.x - u.min.x - (k - b) * 2, g = u.max.y - u.min.y - (k - b) * 2, p = f.map(([l, o]) => r ? [l.x, o.x] : [l.y, o.y]).flat().sort().filter((l, o, t) => o === 0 ? !0 : l !== t[o - 1]), a = p.map((l) => {
102
- const o = r ? (l - u.min.x - k + b) / _ : 0, t = r ? 0 : (l - u.min.y - k + b) / g;
99
+ function J(r, e, n) {
100
+ let { type: i } = e, { data: p } = e, { bounding: u } = e, { getRuleDistanceText: m } = e;
101
+ const s = i === "top" || i === "bottom", _ = u.max.x - u.min.x - (k - b) * 2, g = u.max.y - u.min.y - (k - b) * 2, f = p.map(([l, o]) => s ? [l.x, o.x] : [l.y, o.y]).flat().sort().filter((l, o, t) => o === 0 ? !0 : l !== t[o - 1]), a = f.map((l) => {
102
+ const o = s ? (l - u.min.x - k + b) / _ : 0, t = s ? 0 : (l - u.min.y - k + b) / g;
103
103
  return { left: o, bottom: t };
104
104
  });
105
- a.unshift({ left: 0, bottom: 0 }), a.push(r ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
106
- const v = p[p.length - 1] - p[0], w = p.map((l, o, t) => {
107
- const y = o === 0 ? 0 : l - t[o - 1], W = o === 0 ? 0 : (l + t[o - 1]) / 2, L = r ? (W - u.min.x - k + b) / _ : 0, M = r ? 0 : (W - u.min.y - k + b) / g;
105
+ a.unshift({ left: 0, bottom: 0 }), a.push(s ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
106
+ const v = f[f.length - 1] - f[0], w = f.map((l, o, t) => {
107
+ const y = o === 0 ? 0 : l - t[o - 1], W = o === 0 ? 0 : (l + t[o - 1]) / 2, L = s ? (W - u.min.x - k + b) / _ : 0, M = s ? 0 : (W - u.min.y - k + b) / g;
108
108
  return { left: L, bottom: M, distance: y };
109
109
  }).filter(({ distance: l }) => l / v > 0.1);
110
- return s.$$set = (l) => {
111
- "type" in l && n(0, i = l.type), "data" in l && n(5, f = l.data), "bounding" in l && n(6, u = l.bounding), "getRuleDistanceText" in l && n(1, m = l.getRuleDistanceText);
112
- }, [i, m, r, a, w, f, u];
110
+ return r.$$set = (l) => {
111
+ "type" in l && n(0, i = l.type), "data" in l && n(5, p = l.data), "bounding" in l && n(6, u = l.bounding), "getRuleDistanceText" in l && n(1, m = l.getRuleDistanceText);
112
+ }, [i, m, s, a, w, p, u];
113
113
  }
114
114
  class Q extends N {
115
115
  constructor(e) {