@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
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.2.5</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.2.5"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.2.6</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.2.6"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,13 +6,13 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.2.5</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.2.6</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-8 col-content">
13
13
  <div class="tsd-page-title">
14
14
  <ul class="tsd-breadcrumb">
15
- <li><a href="../modules.html">如视看房插件合集 - v2.2.5</a></li>
15
+ <li><a href="../modules.html">如视看房插件合集 - v2.2.6</a></li>
16
16
  <li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul>
17
17
  <h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
18
18
  <div class="tsd-signature">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
@@ -24,7 +24,7 @@
24
24
  <li class="tsd-parameter">
25
25
  <h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
26
26
  <ul>
27
- <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/f2a7819/plugins/src/ModelRoomLabelPlugin/index.ts#L12">plugins/src/ModelRoomLabelPlugin/index.ts:12</a></li></ul></aside></div>
27
+ <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/f314091/plugins/src/ModelRoomLabelPlugin/index.ts#L12">plugins/src/ModelRoomLabelPlugin/index.ts:12</a></li></ul></aside></div>
28
28
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
29
29
  <div class="tsd-navigation settings">
30
30
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -41,7 +41,7 @@
41
41
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
42
42
  <div class="tsd-accordion-details">
43
43
  <ul>
44
- <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.2.5</a>
44
+ <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.2.6</a>
45
45
  <ul>
46
46
  <li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
47
47
  <nav class="tsd-navigation secondary menu-sticky">
@@ -98,7 +98,7 @@ function Te(i) {
98
98
  t = _e("div");
99
99
  for (let c = 0; c < e.length; c += 1)
100
100
  e[c].c();
101
- be(t, "class", "item-labels-container svelte-gk8s47"), Ie(() => i[12].call(t)), W(t, "opacity", i[5] ? 1 : 0, !1);
101
+ be(t, "class", "item-labels-container svelte-gk8s47"), Ie(() => i[12].call(t)), W(t, "opacity", i[5] ? 1 : 0);
102
102
  },
103
103
  m(c, a) {
104
104
  v(c, t, a);
@@ -107,7 +107,7 @@ function Te(i) {
107
107
  f = ge(t, i[12].bind(t)), o = !0;
108
108
  },
109
109
  p(c, a) {
110
- a[0] & 71 && (d = c[1], G(), e = ke(e, a, h, 1, c, d, r, t, Le, Y, null, q), Z()), a[0] & 32 && W(t, "opacity", c[5] ? 1 : 0, !1);
110
+ a[0] & 71 && (d = c[1], G(), e = ke(e, a, h, 1, c, d, r, t, Le, Y, null, q), Z()), a[0] & 32 && W(t, "opacity", c[5] ? 1 : 0);
111
111
  },
112
112
  i(c) {
113
113
  if (!o) {
@@ -11,11 +11,11 @@ function D(l) {
11
11
  c() {
12
12
  a && a.c(), e = z(), t = w("div"), n = w("span"), h = L(s), o = z(), m = w("span"), g = L(r), c(n, "class", "item-model svelte-gduhqw"), c(m, "class", "item-name svelte-gduhqw"), c(t, "class", "item-label-text svelte-gduhqw");
13
13
  },
14
- m(i, f) {
15
- a && a.m(i, f), q(i, e, f), q(i, t, f), v(t, n), v(n, h), v(t, o), v(t, m), v(m, g);
14
+ m(i, b) {
15
+ a && a.m(i, b), q(i, e, b), q(i, t, b), v(t, n), v(n, h), v(t, o), v(t, m), v(m, g);
16
16
  },
17
- p(i, f) {
18
- i[0].icon ? a ? a.p(i, f) : (a = E(i), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null), f & 1 && s !== (s = (i[0].code || i[0].id) + "") && C(h, s), f & 1 && r !== (r = i[0].name + "") && C(g, r);
17
+ p(i, b) {
18
+ i[0].icon ? a ? a.p(i, b) : (a = E(i), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null), b & 1 && s !== (s = (i[0].code || i[0].id) + "") && C(h, s), b & 1 && r !== (r = i[0].name + "") && C(g, r);
19
19
  },
20
20
  d(i) {
21
21
  a && a.d(i), i && y(e), i && y(t);
@@ -59,25 +59,25 @@ function H(l) {
59
59
  function i(d, u) {
60
60
  return u & 1 && (n = null), n == null && (n = !!Boolean(typeof d[0].render == "function")), n ? G : D;
61
61
  }
62
- let f = i(l, -1), b = f(l);
62
+ let b = i(l, -1), f = b(l);
63
63
  return {
64
64
  c() {
65
- e = w("div"), t = w("div"), b.c(), h = z(), o = w("div"), c(t, "class", s = p(k("item-label-item__text-wrap", {
65
+ e = w("div"), t = w("div"), f.c(), h = z(), o = w("div"), c(t, "class", s = p(k("item-label-item__text-wrap", {
66
66
  "item-label-item__custom": Boolean(typeof l[0].render == "function")
67
- })) + " svelte-gduhqw"), _(t, "bottom", `${l[0].strokeLength}px`), c(o, "class", m = p(k("item-label-item__bar", { anchor: l[1] })) + " svelte-gduhqw"), _(o, "height", `${l[0].strokeLength}px`), c(e, "class", r = p(k("item-label-item", { fold: l[0].isFold })) + " svelte-gduhqw"), _(e, "z-index", l[0].zIndex, !1), _(e, "transform", l[0].transform, !1);
67
+ })) + " svelte-gduhqw"), _(t, "bottom", `${l[0].strokeLength}px`), c(o, "class", m = p(k("item-label-item__bar", { anchor: l[1] })) + " svelte-gduhqw"), _(o, "height", `${l[0].strokeLength}px`), c(e, "class", r = p(k("item-label-item", { fold: l[0].isFold })) + " svelte-gduhqw"), _(e, "z-index", l[0].zIndex), _(e, "transform", l[0].transform);
68
68
  },
69
69
  m(d, u) {
70
- q(d, e, u), v(e, t), b.m(t, null), v(e, h), v(e, o), g || (a = j(t, "click", l[4]), g = !0);
70
+ q(d, e, u), v(e, t), f.m(t, null), v(e, h), v(e, o), g || (a = j(t, "click", l[4]), g = !0);
71
71
  },
72
72
  p(d, [u]) {
73
- f === (f = i(d, u)) && b ? b.p(d, u) : (b.d(1), b = f(d), b && (b.c(), b.m(t, null))), u & 1 && s !== (s = p(k("item-label-item__text-wrap", {
73
+ b === (b = i(d, u)) && f ? f.p(d, u) : (f.d(1), f = b(d), f && (f.c(), f.m(t, null))), u & 1 && s !== (s = p(k("item-label-item__text-wrap", {
74
74
  "item-label-item__custom": Boolean(typeof d[0].render == "function")
75
- })) + " svelte-gduhqw") && c(t, "class", s), u & 1 && _(t, "bottom", `${d[0].strokeLength}px`), u & 2 && m !== (m = p(k("item-label-item__bar", { anchor: d[1] })) + " svelte-gduhqw") && c(o, "class", m), u & 1 && _(o, "height", `${d[0].strokeLength}px`), u & 1 && r !== (r = p(k("item-label-item", { fold: d[0].isFold })) + " svelte-gduhqw") && c(e, "class", r), u & 1 && _(e, "z-index", d[0].zIndex, !1), u & 1 && _(e, "transform", d[0].transform, !1);
75
+ })) + " svelte-gduhqw") && c(t, "class", s), u & 1 && _(t, "bottom", `${d[0].strokeLength}px`), u & 2 && m !== (m = p(k("item-label-item__bar", { anchor: d[1] })) + " svelte-gduhqw") && c(o, "class", m), u & 1 && _(o, "height", `${d[0].strokeLength}px`), u & 1 && r !== (r = p(k("item-label-item", { fold: d[0].isFold })) + " svelte-gduhqw") && c(e, "class", r), u & 1 && _(e, "z-index", d[0].zIndex), u & 1 && _(e, "transform", d[0].transform);
76
76
  },
77
77
  i: I,
78
78
  o: I,
79
79
  d(d) {
80
- d && y(e), b.d(), g = !1, a();
80
+ d && y(e), f.d(), g = !1, a();
81
81
  }
82
82
  };
83
83
  }
@@ -17,7 +17,7 @@ var M = (t, i, s) => new Promise((l, o) => {
17
17
  import * as h from "three";
18
18
  import { FBXLoader as E } from "three/examples/jsm/loaders/FBXLoader";
19
19
  import { bject3d2LocalMatrix as U } from "../shared-utils/object3d2LocalMatrix.js";
20
- import { transfromToMeshBasicMaterial as C } from "../shared-utils/three/transfromToMeshBasicMaterial.js";
20
+ import { transfromToMeshBasicMaterial as C } from "../shared-utils/three/transformToMeshBasicMaterial.js";
21
21
  const X = (t, i) => {
22
22
  var x;
23
23
  const s = i.fbx_url || "//vrlab-static.ljcdn.com/release/web/v3/dipan3/dipan.FBX", l = (x = i.north_rad) != null ? x : void 0, o = {}, m = (e) => M(void 0, null, function* () {
@@ -7,6 +7,7 @@ export interface ModelEntryDoorGuidePluginData {
7
7
  }
8
8
  export declare type ModelEntryDoorGuidePluginParameterType = {
9
9
  animationEnabled?: boolean;
10
+ name?: string;
10
11
  } & ModelEntryDoorGuidePluginData;
11
12
  export interface ModelEntryDoorGuidePluginExportType {
12
13
  enable: (config?: {
@@ -1,77 +1,80 @@
1
- var R = (t, s, e) => new Promise((x, M) => {
1
+ var C = (t, s, e) => new Promise((x, E) => {
2
2
  var y = (r) => {
3
3
  try {
4
4
  c(e.next(r));
5
5
  } catch (m) {
6
- M(m);
6
+ E(m);
7
7
  }
8
8
  }, P = (r) => {
9
9
  try {
10
10
  c(e.throw(r));
11
11
  } catch (m) {
12
- M(m);
12
+ E(m);
13
13
  }
14
14
  }, c = (r) => r.done ? x(r.value) : Promise.resolve(r.value).then(y, P);
15
15
  c((e = e.apply(t, s)).next());
16
16
  });
17
- import * as C from "three";
18
- import { MeshBasicMaterial as z, AnimationMixer as B } from "three";
19
- import { FBXLoader as S } from "three/examples/jsm/loaders/FBXLoader";
20
- import { createCanvasTextTexture as _ } from "../shared-utils/createCanvasTextTexture.js";
21
- import { transformPositionToVector3 as H } from "../shared-utils/three/transformPositionToVector3.js";
22
- import { transfromToMeshBasicMaterial as L } from "../shared-utils/three/transfromToMeshBasicMaterial.js";
23
- const J = (t, s) => {
24
- var g, w, G;
25
- const e = {}, x = (g = s.animationEnabled) != null ? g : !0, M = (w = s.position) != null ? w : void 0, y = (G = s.rad) != null ? G : void 0, P = s.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", c = [], r = (o) => R(void 0, null, function* () {
26
- var E, u, b, h, p, f, j;
27
- const l = (E = o == null ? void 0 : o.position) != null ? E : M;
17
+ import * as z from "three";
18
+ import { MeshBasicMaterial as B, AnimationMixer as S } from "three";
19
+ import { FBXLoader as _ } from "three/examples/jsm/loaders/FBXLoader";
20
+ import { createCanvasTextTexture as H } from "../shared-utils/createCanvasTextTexture.js";
21
+ import { transformPositionToVector3 as L } from "../shared-utils/three/transformPositionToVector3.js";
22
+ import { transfromToMeshBasicMaterial as U } from "../shared-utils/three/transformToMeshBasicMaterial.js";
23
+ const K = (t, s) => {
24
+ var g, G, R;
25
+ const e = {}, x = (g = s.animationEnabled) != null ? g : !0, E = (G = s.position) != null ? G : void 0, y = (R = s.rad) != null ? R : void 0, P = s.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", c = [], r = (n) => C(void 0, null, function* () {
26
+ var u, b, M, f, p, j, h, q;
27
+ const l = (u = n == null ? void 0 : n.position) != null ? u : E;
28
28
  if (!l)
29
- return Promise.reject("ModelEntryDoorGuidePlugin.load(): position is undefined");
30
- const i = H(l), n = (u = o == null ? void 0 : o.rad) != null ? u : y, D = (b = o == null ? void 0 : o.fbx_url) != null ? b : P;
31
- if (e.rad = n, n === void 0)
32
- return Promise.reject(`ModelEntryDoorGuidePlugin.load(): rad is ${n}`);
33
- const a = yield new S().loadAsync(D);
34
- a.position.copy(i), a.rotation.z = n, a.scale.set(0.8, 0.8, 0.8), L(a, { transparent: !0, side: C.DoubleSide });
35
- const d = (j = (f = (p = (h = a.children) == null ? void 0 : h[0]) == null ? void 0 : p.children) == null ? void 0 : f[3]) == null ? void 0 : j.clone();
36
- return d ? (d.material = new z({ transparent: !0, map: _("\u5165\u6237\u95E8") }), d.renderOrder = 3, a.children[0].add(d), e.object = a, !0) : Promise.reject(`ModelEntryDoorGuidePlugin.load(): textMesh is ${d}`);
29
+ return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
30
+ const i = L(l), o = (b = n == null ? void 0 : n.rad) != null ? b : y, D = (M = n == null ? void 0 : n.fbx_url) != null ? M : P;
31
+ if (e.rad = o, o === void 0)
32
+ return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${o}`));
33
+ const a = yield new _().loadAsync(D);
34
+ a.position.copy(i), a.rotation.z = o, a.scale.set(0.8, 0.8, 0.8), U(a, { transparent: !0, side: z.DoubleSide });
35
+ const d = (h = (j = (p = (f = a.children) == null ? void 0 : f[0]) == null ? void 0 : p.children) == null ? void 0 : j[3]) == null ? void 0 : h.clone();
36
+ if (!d)
37
+ return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${d}`));
38
+ const w = (q = s.name) != null ? q : "\u5165\u6237\u95E8";
39
+ return d.material = new B({ transparent: !0, map: H(w) }), d.renderOrder = 3, a.children[0].add(d), e.object = a, !0;
37
40
  }), m = () => {
38
41
  if (e.animation)
39
42
  return;
40
43
  if (!e.object)
41
44
  return console.error("ModelEntryDoorGuidePlugin.initAnimation(): state.object is ", e.object);
42
- const o = 1, l = new B(e.object);
45
+ const n = 1, l = new S(e.object);
43
46
  c.push(l);
44
47
  const i = l.clipAction(e.object.animations[0]);
45
- i.timeScale = o;
46
- let n;
48
+ i.timeScale = n;
49
+ let o;
47
50
  const D = () => {
48
51
  let u = 0, b = 0;
49
- const h = 1e3 / 30, p = (f) => {
50
- u = requestAnimationFrame(p);
51
- const j = f - b;
52
- j < h || (b = f, c.forEach((q) => q.update(j / 1e3)), t.needsRender = !0);
52
+ const M = 1e3 / 30, f = (p) => {
53
+ u = requestAnimationFrame(f);
54
+ const j = p - b;
55
+ j < M || (b = p, c.forEach((h) => h.update(j / 1e3)), t.needsRender = !0);
53
56
  };
54
- return u = requestAnimationFrame(p), () => {
57
+ return u = requestAnimationFrame(f), () => {
55
58
  cancelAnimationFrame(u);
56
59
  };
57
- }, E = { play: () => {
58
- n || (i.play(), n = D(), requestAnimationFrame(() => {
60
+ }, w = { play: () => {
61
+ o || (i.play(), o = D(), requestAnimationFrame(() => {
59
62
  e.object && e.object.rotation.z !== e.rad && (e.object.rotation.z = e.rad);
60
63
  }));
61
64
  }, stop: () => {
62
- i.stop(), n == null || n(), n = void 0;
65
+ i.stop(), o == null || o(), o = void 0;
63
66
  } };
64
- e.animation = E;
65
- }, F = (o) => {
67
+ e.animation = w;
68
+ }, F = (n) => {
66
69
  var i;
67
70
  if (!e.object)
68
71
  return console.error("ModelEntryDoorGuidePlugin.enable(): object is ", e.object);
69
- ((i = o == null ? void 0 : o.animationEnable) != null ? i : x) && (e.animation || m(), e.animation.play()), t.scene.add(e.object), t.needsRender = !0;
72
+ ((i = n == null ? void 0 : n.animationEnable) != null ? i : x) && (e.animation || m(), e.animation.play()), t.scene.add(e.object), t.needsRender = !0;
70
73
  }, T = () => {
71
74
  !e.object || (e.animation && e.animation.stop(), t.scene.remove(e.object), t.needsRender = !0);
72
- }, A = (o) => o === "Floorplan" ? F() : T();
73
- return { load: r, enable: (o) => (e.enabled || (e.enabled = !0, A(t.currentMode), t.on("modeChange", A), F(o)), !0), disable: () => (e.enabled && (e.enabled = !1, T(), t.off("modeChange", A)), !0) };
75
+ }, A = (n) => n === "Floorplan" ? F() : T();
76
+ return { load: r, enable: (n) => (e.enabled || (e.enabled = !0, A(t.currentMode), t.on("modeChange", A), F(n)), !0), disable: () => (e.enabled && (e.enabled = !1, T(), t.off("modeChange", A)), !0) };
74
77
  };
75
78
  export {
76
- J as ModelEntryDoorGuidePlugin
79
+ K as ModelEntryDoorGuidePlugin
77
80
  };
@@ -67,7 +67,7 @@ function Te(o) {
67
67
  t = le("div");
68
68
  for (let l = 0; l < e.length; l += 1)
69
69
  e[l].c();
70
- ae(t, "class", "item-labels-container svelte-gk8s47"), ce(() => o[9].call(t)), U(t, "opacity", o[4] ? 1 : 0, !1);
70
+ ae(t, "class", "item-labels-container svelte-gk8s47"), ce(() => o[9].call(t)), U(t, "opacity", o[4] ? 1 : 0);
71
71
  },
72
72
  m(l, s) {
73
73
  V(l, t, s);
@@ -76,7 +76,7 @@ function Te(o) {
76
76
  h = me(t, o[9].bind(t)), r = !0;
77
77
  },
78
78
  p(l, [s]) {
79
- s & 3 && (m = l[1], pe(), e = de(e, s, d, 1, l, m, c, t, ke, S, null, C), ue()), s & 16 && U(t, "opacity", l[4] ? 1 : 0, !1);
79
+ s & 3 && (m = l[1], pe(), e = de(e, s, d, 1, l, m, c, t, ke, S, null, C), ue()), s & 16 && U(t, "opacity", l[4] ? 1 : 0);
80
80
  },
81
81
  i(l) {
82
82
  if (!r) {
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as y, init as k, safe_not_equal as L, append_styles as w, element as g, text as z, space as I, attr as b, set_style as r, null_to_empty as v, insert as x, append as c, listen as C, set_data as F, noop as h, detach as j } from "../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as y, init as k, safe_not_equal as L, append_styles as w, element as f, text as z, space as I, attr as b, set_style as r, null_to_empty as v, insert as x, append as c, listen as C, set_data as F, noop as h, detach as j } from "../vendor/svelte/internal/index.js";
2
2
  import u from "classnames";
3
3
  function q(t) {
4
4
  w(t, "svelte-1ir3cyd", `.item-label-item.svelte-1ir3cyd{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0}.item-label-item.visible.svelte-1ir3cyd{opacity:1;animation:svelte-1ir3cyd-fadeIn .3s ease-in}.item-label-item__text-wrap.svelte-1ir3cyd::before{content:'';position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);filter:blur(1rem);z-index:-1}.item-label-item__text-wrap.svelte-1ir3cyd{padding:0.375rem 0.375rem 0;position:absolute;height:1.25rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap;line-height:0.625rem;font-size:0.6875rem;font-weight:bold;color:#FFEAC0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center}.item-label-item__text.svelte-1ir3cyd{padding-bottom:0.25rem;border-top:0 solid;border-left:0 solid;border-right:0 solid;border-bottom:0.0625rem solid;-o-border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5;border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5}.item-label-item__bar.svelte-1ir3cyd{position:absolute;bottom:0;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(234, 208, 154, 0), rgba(234, 208, 154, 1))}@keyframes svelte-1ir3cyd-fadeIn{from{opacity:0
@@ -6,16 +6,16 @@ function q(t) {
6
6
  }}`);
7
7
  }
8
8
  function A(t) {
9
- let e, a, l, o = (t[0].name.length > 6 ? `${t[0].name.slice(0, 6)}...` : t[0].name) + "", m, s, d, f, p, _;
9
+ let e, o, l, n = (t[0].name.length > 6 ? `${t[0].name.slice(0, 6)}...` : t[0].name) + "", m, s, d, g, p, _;
10
10
  return {
11
11
  c() {
12
- e = g("div"), a = g("div"), l = g("span"), m = z(o), s = I(), d = g("div"), b(l, "class", "item-label-item__text svelte-1ir3cyd"), b(a, "class", "item-label-item__text-wrap svelte-1ir3cyd"), r(a, "top", `-${t[0].strokeLength + 26}px`), b(d, "class", "item-label-item__bar svelte-1ir3cyd"), r(d, "height", `${t[0].strokeLength}px`), b(e, "class", f = v(u("item-label-item", { visible: t[0].visible })) + " svelte-1ir3cyd"), r(e, "z-index", t[0].zIndex, !1), r(e, "transform", t[0].transform, !1);
12
+ e = f("div"), o = f("div"), l = f("span"), m = z(n), s = I(), d = f("div"), b(l, "class", "item-label-item__text svelte-1ir3cyd"), b(o, "class", "item-label-item__text-wrap svelte-1ir3cyd"), r(o, "top", `-${t[0].strokeLength + 26}px`), b(d, "class", "item-label-item__bar svelte-1ir3cyd"), r(d, "height", `${t[0].strokeLength}px`), b(e, "class", g = v(u("item-label-item", { visible: t[0].visible })) + " svelte-1ir3cyd"), r(e, "z-index", t[0].zIndex), r(e, "transform", t[0].transform);
13
13
  },
14
- m(i, n) {
15
- x(i, e, n), c(e, a), c(a, l), c(l, m), c(e, s), c(e, d), p || (_ = C(l, "click", t[1]), p = !0);
14
+ m(i, a) {
15
+ x(i, e, a), c(e, o), c(o, l), c(l, m), c(e, s), c(e, d), p || (_ = C(l, "click", t[1]), p = !0);
16
16
  },
17
- p(i, [n]) {
18
- n & 1 && o !== (o = (i[0].name.length > 6 ? `${i[0].name.slice(0, 6)}...` : i[0].name) + "") && F(m, o), n & 1 && r(a, "top", `-${i[0].strokeLength + 26}px`), n & 1 && r(d, "height", `${i[0].strokeLength}px`), n & 1 && f !== (f = v(u("item-label-item", { visible: i[0].visible })) + " svelte-1ir3cyd") && b(e, "class", f), n & 1 && r(e, "z-index", i[0].zIndex, !1), n & 1 && r(e, "transform", i[0].transform, !1);
17
+ p(i, [a]) {
18
+ a & 1 && n !== (n = (i[0].name.length > 6 ? `${i[0].name.slice(0, 6)}...` : i[0].name) + "") && F(m, n), a & 1 && r(o, "top", `-${i[0].strokeLength + 26}px`), a & 1 && r(d, "height", `${i[0].strokeLength}px`), a & 1 && g !== (g = v(u("item-label-item", { visible: i[0].visible })) + " svelte-1ir3cyd") && b(e, "class", g), a & 1 && r(e, "z-index", i[0].zIndex), a & 1 && r(e, "transform", i[0].transform);
19
19
  },
20
20
  i: h,
21
21
  o: h,
@@ -24,14 +24,14 @@ function A(t) {
24
24
  }
25
25
  };
26
26
  }
27
- function E(t, e, a) {
28
- let { itemLabel: l } = e, { hooks: o } = e;
27
+ function E(t, e, o) {
28
+ let { itemLabel: l } = e, { hooks: n } = e;
29
29
  function m() {
30
- console.log("__onclick___: ", l), o.emit("onLabelClick", l);
30
+ console.log("__onclick___: ", l), n.emit("onLabelClick", l);
31
31
  }
32
32
  return t.$$set = (s) => {
33
- "itemLabel" in s && a(0, l = s.itemLabel), "hooks" in s && a(2, o = s.hooks);
34
- }, [l, m, o];
33
+ "itemLabel" in s && o(0, l = s.itemLabel), "hooks" in s && o(2, n = s.hooks);
34
+ }, [l, m, n];
35
35
  }
36
36
  class B extends y {
37
37
  constructor(e) {
@@ -1,39 +1,39 @@
1
- import { SvelteComponent as g, init as h, safe_not_equal as _, append_styles as z, element as u, text as w, space as k, attr as b, set_style as r, toggle_class as p, insert as L, append as d, listen as I, set_data as x, noop as v, detach as y } from "../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as g, init as h, safe_not_equal as _, append_styles as z, element as f, text as w, space as k, attr as b, set_style as r, toggle_class as p, insert as L, append as d, listen as I, set_data as x, noop as v, detach as y } from "../vendor/svelte/internal/index.js";
2
2
  import { ROOM_LABEL_BG as B } from "./Assets/roomLabelBg.js";
3
3
  function C(t) {
4
4
  z(t, "svelte-1d7uzh5", ".room-label-item.svelte-1d7uzh5{position:absolute;font-size:0.5rem;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.room-label-item__text.svelte-1d7uzh5{position:absolute;left:0;top:-4rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;height:1.25rem;min-width:2rem;padding:0 0.375rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-1d7uzh5{position:absolute;top:-2.75rem;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}.wide.svelte-1d7uzh5{font-size:0.625rem}");
5
5
  }
6
6
  function O(t) {
7
- let e, n, a = t[0].name + "", l, m, i, f, c;
7
+ let e, n, i = t[0].name + "", a, m, l, u, c;
8
8
  return {
9
9
  c() {
10
- e = u("div"), n = u("span"), l = w(a), m = k(), i = u("div"), b(n, "class", "room-label-item__text svelte-1d7uzh5"), r(n, "background-image", "url(" + B + ")"), p(n, "wide", t[0].name.length > 3), b(i, "class", "room-label-item__bar svelte-1d7uzh5"), b(e, "class", "room-label-item svelte-1d7uzh5"), r(e, "z-index", t[0].zIndex, !1), r(e, "transform", t[0].transform, !1), r(e, "opacity", t[0].visible ? 1 : 0, !1);
10
+ e = f("div"), n = f("span"), a = w(i), m = k(), l = f("div"), b(n, "class", "room-label-item__text svelte-1d7uzh5"), r(n, "background-image", "url(" + B + ")"), p(n, "wide", t[0].name.length > 3), b(l, "class", "room-label-item__bar svelte-1d7uzh5"), b(e, "class", "room-label-item svelte-1d7uzh5"), r(e, "z-index", t[0].zIndex), r(e, "transform", t[0].transform), r(e, "opacity", t[0].visible ? 1 : 0);
11
11
  },
12
12
  m(o, s) {
13
- L(o, e, s), d(e, n), d(n, l), d(e, m), d(e, i), f || (c = I(n, "click", t[1]), f = !0);
13
+ L(o, e, s), d(e, n), d(n, a), d(e, m), d(e, l), u || (c = I(n, "click", t[1]), u = !0);
14
14
  },
15
15
  p(o, [s]) {
16
- s & 1 && a !== (a = o[0].name + "") && x(l, a), s & 1 && p(n, "wide", o[0].name.length > 3), s & 1 && r(e, "z-index", o[0].zIndex, !1), s & 1 && r(e, "transform", o[0].transform, !1), s & 1 && r(e, "opacity", o[0].visible ? 1 : 0, !1);
16
+ s & 1 && i !== (i = o[0].name + "") && x(a, i), s & 1 && p(n, "wide", o[0].name.length > 3), s & 1 && r(e, "z-index", o[0].zIndex), s & 1 && r(e, "transform", o[0].transform), s & 1 && r(e, "opacity", o[0].visible ? 1 : 0);
17
17
  },
18
18
  i: v,
19
19
  o: v,
20
20
  d(o) {
21
- o && y(e), f = !1, c();
21
+ o && y(e), u = !1, c();
22
22
  }
23
23
  };
24
24
  }
25
25
  function R(t, e, n) {
26
- let { five: a } = e, { roomLabel: l } = e;
26
+ let { five: i } = e, { roomLabel: a } = e;
27
27
  function m() {
28
- a.setState({
29
- panoIndex: l.panoIndex,
28
+ i.setState({
29
+ panoIndex: a.panoIndex,
30
30
  mode: "Panorama",
31
- longitude: l.longitude
31
+ longitude: a.longitude
32
32
  });
33
33
  }
34
- return t.$$set = (i) => {
35
- "five" in i && n(2, a = i.five), "roomLabel" in i && n(0, l = i.roomLabel);
36
- }, [l, m, a];
34
+ return t.$$set = (l) => {
35
+ "five" in l && n(2, i = l.five), "roomLabel" in l && n(0, a = l.roomLabel);
36
+ }, [a, m, i];
37
37
  }
38
38
  class q extends g {
39
39
  constructor(e) {
@@ -1,122 +1,112 @@
1
- import { SvelteComponent as R, init as W, safe_not_equal as H, append_styles as M, element as c, space as z, text as N, attr as d, add_render_callback as j, set_style as r, insert as P, append as g, add_resize_listener as B, set_data as S, noop as G, detach as w, destroy_each as V, null_to_empty as Z } from "../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as R, init as W, safe_not_equal as H, append_styles as M, element as c, space as z, text as N, attr as d, add_render_callback as j, set_style as a, insert as P, append as g, add_resize_listener as B, set_data as S, noop as G, detach as w, destroy_each as V, null_to_empty as Z } from "../vendor/svelte/internal/index.js";
2
2
  function J(i) {
3
3
  M(i, "svelte-1h27ktp", ".PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp{position:absolute;transform-origin:left 0.0625rem;width:0;height:0.125rem;pointer-events:none}.PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp::after{content:'';position:absolute;left:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;animation:svelte-1h27ktp-viewport-rule-point 0.1s 1s;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp::before{content:'';position:absolute;right:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;animation:svelte-1h27ktp-viewport-rule-point 0.1s 1.5s;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-1h27ktp em.svelte-1h27ktp{display:block;height:0.0625rem;animation:svelte-1h27ktp-viewport-rule-line 0.5s ease 1s;animation-fill-mode:both;box-shadow:0 0 0.25rem rgb(0 0 0 / 40%);position:relative}.rule-mixed-line.svelte-1h27ktp.svelte-1h27ktp{display:flex;height:0.0625rem;animation:svelte-1h27ktp-viewport-rule-line 0.5s ease 1s;animation-fill-mode:both;align-items:center}.em-solid.svelte-1h27ktp.svelte-1h27ktp{height:100%;background:#ffffff}.em-dotted.svelte-1h27ktp.svelte-1h27ktp{height:0.125rem;background:var(--background-image);background-position:center;background-repeat:repeat}.PanoRulerPlugin-rule-label.svelte-1h27ktp.svelte-1h27ktp{position:absolute;width:0;height:0;top:0.0625rem;pointer-events:none}.PanoRulerPlugin-rule-label-name.svelte-1h27ktp.svelte-1h27ktp{position:absolute;padding:0.1875rem 0.375rem;background:rgba(195, 195, 195, 0.3);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem);border-radius:6.25rem;border:0.0625rem solid rgba(255, 255, 255, 0.6);white-space:nowrap;overflow:hidden;color:#ffffff;font-weight:500;font-size:0.75rem;line-height:1;animation:svelte-1h27ktp-viewport-rule-label 0.25s ease 1s;animation-fill-mode:both;box-shadow:inset 0 0 0.625rem 0 rgba(255, 255, 255, 0.3)}@keyframes svelte-1h27ktp-viewport-rule-line{0%{width:0%}100%{width:100%}}@keyframes svelte-1h27ktp-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@keyframes svelte-1h27ktp-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}");
4
4
  }
5
- function y(i, e, s) {
6
- const t = i.slice();
7
- return t[6] = e[s], t;
5
+ function y(i, e, n) {
6
+ const l = i.slice();
7
+ return l[6] = e[n], l;
8
8
  }
9
9
  function D(i) {
10
- let e, s = i[0].children, t = [];
11
- for (let l = 0; l < s.length; l += 1)
12
- t[l] = X(y(i, s, l));
10
+ let e, n = i[0].children, l = [];
11
+ for (let t = 0; t < n.length; t += 1)
12
+ l[t] = X(y(i, n, t));
13
13
  return {
14
14
  c() {
15
15
  e = c("div");
16
- for (let l = 0; l < t.length; l += 1)
17
- t[l].c();
16
+ for (let t = 0; t < l.length; t += 1)
17
+ l[t].c();
18
18
  d(e, "class", "rule-mixed-line svelte-1h27ktp");
19
19
  },
20
- m(l, n) {
21
- P(l, e, n);
22
- for (let a = 0; a < t.length; a += 1)
23
- t[a].m(e, null);
20
+ m(t, o) {
21
+ P(t, e, o);
22
+ for (let s = 0; s < l.length; s += 1)
23
+ l[s].m(e, null);
24
24
  },
25
- p(l, n) {
26
- if (n & 9) {
27
- s = l[0].children;
28
- let a;
29
- for (a = 0; a < s.length; a += 1) {
30
- const p = y(l, s, a);
31
- t[a] ? t[a].p(p, n) : (t[a] = X(p), t[a].c(), t[a].m(e, null));
25
+ p(t, o) {
26
+ if (o & 9) {
27
+ n = t[0].children;
28
+ let s;
29
+ for (s = 0; s < n.length; s += 1) {
30
+ const p = y(t, n, s);
31
+ l[s] ? l[s].p(p, o) : (l[s] = X(p), l[s].c(), l[s].m(e, null));
32
32
  }
33
- for (; a < t.length; a += 1)
34
- t[a].d(1);
35
- t.length = s.length;
33
+ for (; s < l.length; s += 1)
34
+ l[s].d(1);
35
+ l.length = n.length;
36
36
  }
37
37
  },
38
- d(l) {
39
- l && w(e), V(t, l);
38
+ d(t) {
39
+ t && w(e), V(l, t);
40
40
  }
41
41
  };
42
42
  }
43
43
  function A(i) {
44
- let e, s;
44
+ let e, n;
45
45
  return {
46
46
  c() {
47
- e = c("em"), d(e, "class", s = Z(i[0].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp"), d(e, "style", i[3]);
47
+ e = c("em"), d(e, "class", n = Z(i[0].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp"), d(e, "style", i[3]);
48
48
  },
49
- m(t, l) {
50
- P(t, e, l);
49
+ m(l, t) {
50
+ P(l, e, t);
51
51
  },
52
- p(t, l) {
53
- l & 1 && s !== (s = Z(t[0].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp") && d(e, "class", s), l & 8 && d(e, "style", t[3]);
52
+ p(l, t) {
53
+ t & 1 && n !== (n = Z(l[0].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp") && d(e, "class", n), t & 8 && d(e, "style", l[3]);
54
54
  },
55
- d(t) {
56
- t && w(e);
55
+ d(l) {
56
+ l && w(e);
57
57
  }
58
58
  };
59
59
  }
60
60
  function X(i) {
61
- let e, s, t = `${i[6].width}px`;
61
+ let e, n, l = `${i[6].width}px`;
62
62
  return {
63
63
  c() {
64
- e = c("div"), d(e, "class", s = Z(i[6].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp"), d(e, "style", i[3]), r(e, "width", t, !1);
64
+ e = c("div"), d(e, "class", n = Z(i[6].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp"), d(e, "style", i[3]), a(e, "width", l);
65
65
  },
66
- m(l, n) {
67
- P(l, e, n);
66
+ m(t, o) {
67
+ P(t, e, o);
68
68
  },
69
- p(l, n) {
70
- n & 1 && s !== (s = Z(l[6].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp") && d(e, "class", s), n & 8 && d(e, "style", l[3]), n & 1 && t !== (t = `${l[6].width}px`) && r(e, "width", t, !1);
69
+ p(t, o) {
70
+ o & 1 && n !== (n = Z(t[6].state ? "em-solid" : "em-dotted") + " svelte-1h27ktp") && d(e, "class", n), o & 8 && d(e, "style", t[3]), o & 1 && l !== (l = `${t[6].width}px`) && a(e, "width", l);
71
71
  },
72
- d(l) {
73
- l && w(e);
72
+ d(t) {
73
+ t && w(e);
74
74
  }
75
75
  };
76
76
  }
77
77
  function C(i) {
78
- let e, s, t, l, n = i[0].labelElement + "", a, p, u = `${i[0].labelOffset}%`, f = `${i[0].width}px`, v = `${i[0].left}px`, b = `${i[0].top}px`, I = `rotate(${i[0].rotateDeg}deg)`;
79
- function _(o, m) {
80
- return o[0].children.length === 0 ? A : D;
78
+ let e, n, l, t, o = i[0].labelElement + "", s, p, f = `${i[0].labelOffset}%`, u = `${i[0].width}px`, v = `${i[0].left}px`, b = `${i[0].top}px`, I = `rotate(${i[0].rotateDeg}deg)`;
79
+ function _(r, m) {
80
+ return r[0].children.length === 0 ? A : D;
81
81
  }
82
82
  let k = _(i), h = k(i);
83
83
  return {
84
84
  c() {
85
- e = c("div"), h.c(), s = z(), t = c("div"), l = c("div"), a = N(n), d(l, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), j(() => i[4].call(l)), d(t, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), r(t, "left", u, !1), d(e, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), r(e, "width", f, !1), r(e, "left", v, !1), r(e, "top", b, !1), r(e, "transform", I, !1), r(
86
- e,
87
- "display",
88
- i[0].visible && i[2] ? "block" : "none",
89
- !1
90
- );
85
+ e = c("div"), h.c(), n = z(), l = c("div"), t = c("div"), s = N(o), d(t, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), j(() => i[4].call(t)), d(l, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), a(l, "left", f), d(e, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), a(e, "width", u), a(e, "left", v), a(e, "top", b), a(e, "transform", I), a(e, "display", i[0].visible && i[2] ? "block" : "none");
91
86
  },
92
- m(o, m) {
93
- P(o, e, m), h.m(e, null), g(e, s), g(e, t), g(t, l), g(l, a), p = B(l, i[4].bind(l));
87
+ m(r, m) {
88
+ P(r, e, m), h.m(e, null), g(e, n), g(e, l), g(l, t), g(t, s), p = B(t, i[4].bind(t));
94
89
  },
95
- p(o, [m]) {
96
- k === (k = _(o)) && h ? h.p(o, m) : (h.d(1), h = k(o), h && (h.c(), h.m(e, s))), m & 1 && n !== (n = o[0].labelElement + "") && S(a, n), m & 1 && u !== (u = `${o[0].labelOffset}%`) && r(t, "left", u, !1), m & 1 && f !== (f = `${o[0].width}px`) && r(e, "width", f, !1), m & 1 && v !== (v = `${o[0].left}px`) && r(e, "left", v, !1), m & 1 && b !== (b = `${o[0].top}px`) && r(e, "top", b, !1), m & 1 && I !== (I = `rotate(${o[0].rotateDeg}deg)`) && r(e, "transform", I, !1), m & 5 && r(
97
- e,
98
- "display",
99
- o[0].visible && o[2] ? "block" : "none",
100
- !1
101
- );
90
+ p(r, [m]) {
91
+ k === (k = _(r)) && h ? h.p(r, m) : (h.d(1), h = k(r), h && (h.c(), h.m(e, n))), m & 1 && o !== (o = r[0].labelElement + "") && S(s, o), m & 1 && f !== (f = `${r[0].labelOffset}%`) && a(l, "left", f), m & 1 && u !== (u = `${r[0].width}px`) && a(e, "width", u), m & 1 && v !== (v = `${r[0].left}px`) && a(e, "left", v), m & 1 && b !== (b = `${r[0].top}px`) && a(e, "top", b), m & 1 && I !== (I = `rotate(${r[0].rotateDeg}deg)`) && a(e, "transform", I), m & 5 && a(e, "display", r[0].visible && r[2] ? "block" : "none");
102
92
  },
103
93
  i: G,
104
94
  o: G,
105
- d(o) {
106
- o && w(e), h.d(), p();
95
+ d(r) {
96
+ r && w(e), h.d(), p();
107
97
  }
108
98
  };
109
99
  }
110
- function Y(i, e, s) {
111
- let t, { rulerItemProp: l } = e, n = !0, a, p = "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQiIHdpZHRoPSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PGZpbHRlciBpZD0icHJlZml4X19hIiBoZWlnaHQ9IjQwMCUiIHdpZHRoPSIxMzcuNCUiIHg9Ii0xOC43JSIgeT0iLTE1MCUiPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiBvcGVyYXRvcj0iZGlsYXRlIiByYWRpdXM9Ii41IiByZXN1bHQ9InNoYWRvd1NwcmVhZE91dGVyMSIvPjxmZU9mZnNldCBpbj0ic2hhZG93U3ByZWFkT3V0ZXIxIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiByYWRpdXM9IjEiIHJlc3VsdD0ic2hhZG93SW5uZXIiLz48ZmVPZmZzZXQgaW49InNoYWRvd0lubmVyIiByZXN1bHQ9InNoYWRvd0lubmVyIi8+PGZlQ29tcG9zaXRlIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIGluMj0ic2hhZG93SW5uZXIiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93T2Zmc2V0T3V0ZXIxIi8+PGZlR2F1c3NpYW5CbHVyIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIgc3RkRGV2aWF0aW9uPSIuNSIvPjxmZUNvbG9yTWF0cml4IGluPSJzaGFkb3dCbHVyT3V0ZXIxIiB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMiAwIi8+PC9maWx0ZXI+PHBhdGggaWQ9InByZWZpeF9fYiIgZD0iTS44ODkgMkgxMS41OCIvPjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZS1kYXNoYXJyYXk9IjUgNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48dXNlIGZpbGw9IiMwMDAiIGZpbHRlcj0idXJsKCNwcmVmaXhfX2EpIiB4bGluazpocmVmPSIjcHJlZml4X19iIi8+PHVzZSBzdHJva2U9IiNmZmYiIHN0cm9rZS1vcGFjaXR5PSIuNCIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjwvZz48L3N2Zz4=";
112
- function u() {
113
- a = this.offsetWidth, s(1, a);
100
+ function Y(i, e, n) {
101
+ let l, { rulerItemProp: t } = e, o = !0, s, p = "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQiIHdpZHRoPSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PGZpbHRlciBpZD0icHJlZml4X19hIiBoZWlnaHQ9IjQwMCUiIHdpZHRoPSIxMzcuNCUiIHg9Ii0xOC43JSIgeT0iLTE1MCUiPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiBvcGVyYXRvcj0iZGlsYXRlIiByYWRpdXM9Ii41IiByZXN1bHQ9InNoYWRvd1NwcmVhZE91dGVyMSIvPjxmZU9mZnNldCBpbj0ic2hhZG93U3ByZWFkT3V0ZXIxIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiByYWRpdXM9IjEiIHJlc3VsdD0ic2hhZG93SW5uZXIiLz48ZmVPZmZzZXQgaW49InNoYWRvd0lubmVyIiByZXN1bHQ9InNoYWRvd0lubmVyIi8+PGZlQ29tcG9zaXRlIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIGluMj0ic2hhZG93SW5uZXIiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93T2Zmc2V0T3V0ZXIxIi8+PGZlR2F1c3NpYW5CbHVyIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIgc3RkRGV2aWF0aW9uPSIuNSIvPjxmZUNvbG9yTWF0cml4IGluPSJzaGFkb3dCbHVyT3V0ZXIxIiB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMiAwIi8+PC9maWx0ZXI+PHBhdGggaWQ9InByZWZpeF9fYiIgZD0iTS44ODkgMkgxMS41OCIvPjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZS1kYXNoYXJyYXk9IjUgNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48dXNlIGZpbGw9IiMwMDAiIGZpbHRlcj0idXJsKCNwcmVmaXhfX2EpIiB4bGluazpocmVmPSIjcHJlZml4X19iIi8+PHVzZSBzdHJva2U9IiNmZmYiIHN0cm9rZS1vcGFjaXR5PSIuNCIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjwvZz48L3N2Zz4=";
102
+ function f() {
103
+ s = this.offsetWidth, n(1, s);
114
104
  }
115
- return i.$$set = (f) => {
116
- "rulerItemProp" in f && s(0, l = f.rulerItemProp);
105
+ return i.$$set = (u) => {
106
+ "rulerItemProp" in u && n(0, t = u.rulerItemProp);
117
107
  }, i.$$.update = () => {
118
- i.$$.dirty & 3 && (a >= l.width || a / 2 >= l.labelOffset / 100 * l.width || a / 2 >= (1 - l.labelOffset / 100) * l.width ? s(2, n = !1) : s(2, n = !0));
119
- }, s(3, t = `--background-image: url(${p})`), [l, a, n, t, u];
108
+ i.$$.dirty & 3 && (s >= t.width || s / 2 >= t.labelOffset / 100 * t.width || s / 2 >= (1 - t.labelOffset / 100) * t.width ? n(2, o = !1) : n(2, o = !0));
109
+ }, n(3, l = `--background-image: url(${p})`), [t, s, o, l, f];
120
110
  }
121
111
  class U extends R {
122
112
  constructor(e) {