@realsee/dnalogel 2.1.0-alpha.10 → 2.1.0-alpha.12

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 (324) hide show
  1. package/dist/CSS3DRenderPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  2. package/dist/CSS3DRenderPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  3. package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  4. package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  5. package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  6. package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  7. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  8. package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  9. package/dist/CameraMovementPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  10. package/dist/CameraMovementPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  11. package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  12. package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  13. package/dist/CameraMovementPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  14. package/dist/CameraMovementPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  15. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  16. package/dist/CameraMovementPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  17. package/dist/CruisePlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  18. package/dist/CruisePlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  19. package/dist/CruisePlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  20. package/dist/CruisePlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  21. package/dist/CruisePlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  22. package/dist/CruisePlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  23. package/dist/CruisePlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  24. package/dist/CruisePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  25. package/dist/GuideLinePlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  26. package/dist/GuideLinePlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  27. package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  28. package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  29. package/dist/GuideLinePlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  30. package/dist/GuideLinePlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  31. package/dist/GuideLinePlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  32. package/dist/GuideLinePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  33. package/dist/ItemLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  34. package/dist/ItemLabelPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  35. package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  36. package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  37. package/dist/ItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  38. package/dist/ItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  39. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  40. package/dist/ItemLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  41. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  42. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  43. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  44. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  45. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  46. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  47. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  48. package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  49. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  50. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  51. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  52. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  53. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  54. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  55. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  56. package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  57. package/dist/ModelItemLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  58. package/dist/ModelItemLabelPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  59. package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  60. package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  61. package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  62. package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  63. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  64. package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  65. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  66. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  67. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  68. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  69. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  70. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  71. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  72. package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  73. package/dist/ModelTVVideoPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  74. package/dist/ModelTVVideoPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  75. package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  76. package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  77. package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  78. package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  79. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  80. package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  81. package/dist/ModelViewPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  82. package/dist/ModelViewPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  83. package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  84. package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  85. package/dist/ModelViewPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  86. package/dist/ModelViewPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  87. package/dist/ModelViewPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  88. package/dist/ModelViewPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  89. package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  90. package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  91. package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  92. package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  93. package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  94. package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  95. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  96. package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  97. package/dist/PanoCompassPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  98. package/dist/PanoCompassPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  99. package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  100. package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  101. package/dist/PanoCompassPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  102. package/dist/PanoCompassPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  103. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  104. package/dist/PanoCompassPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  105. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  106. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  107. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  108. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  109. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  110. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  111. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  112. package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  113. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  114. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  115. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  116. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  117. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  118. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  119. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  120. package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  121. package/dist/PanoMeasurePlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  122. package/dist/PanoMeasurePlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  123. package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  124. package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  125. package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  126. package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  127. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  128. package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  129. package/dist/PanoRulerPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  130. package/dist/PanoRulerPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  131. package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  132. package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  133. package/dist/PanoRulerPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  134. package/dist/PanoRulerPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  135. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  136. package/dist/PanoRulerPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  137. package/dist/PanoRulerProPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  138. package/dist/PanoRulerProPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  139. package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  140. package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  141. package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  142. package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  143. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  144. package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  145. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  146. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  147. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  148. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  149. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  150. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  151. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  152. package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  153. package/dist/PanoTagPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  154. package/dist/PanoTagPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  155. package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  156. package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  157. package/dist/PanoTagPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  158. package/dist/PanoTagPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  159. package/dist/PanoTagPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  160. package/dist/PanoTagPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  161. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  162. package/dist/PanoTagPlugin/controller/index.d.ts +9 -4
  163. package/dist/PanoTagPlugin/index.js +723 -311
  164. package/dist/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  165. package/dist/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  166. package/dist/PanoTagPlugin/typings/controller.d.ts +3 -0
  167. package/dist/PanoTagPlugin/typings/tag.d.ts +10 -0
  168. package/dist/PanoTagPlugin/utils/constants.d.ts +3 -0
  169. package/dist/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  170. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  171. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  172. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  173. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  174. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  175. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  176. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  177. package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  178. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  179. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  180. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  181. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  182. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  183. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  184. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  185. package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  186. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  187. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  188. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  189. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  190. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  191. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  192. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  193. package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  194. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  195. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
  196. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  197. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  198. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
  199. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
  200. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/constants.d.ts +3 -0
  201. package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  202. package/dist/index.es.js +922 -510
  203. package/dist/index.js +922 -510
  204. package/dist/index.umd.js +922 -514
  205. package/docs/assets/search.js +1 -1
  206. package/docs/classes/CruisePluginController.html +14 -14
  207. package/docs/classes/Magnifier.html +4 -4
  208. package/docs/classes/ModelRoomLabelController.html +4 -4
  209. package/docs/classes/Object3DHelperController.html +9 -9
  210. package/docs/classes/PanoTagPluginController.html +23 -51
  211. package/docs/enums/CameraMovementEffect.html +2 -2
  212. package/docs/enums/ContentType.html +7 -7
  213. package/docs/enums/DIRECTION.html +1 -1
  214. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
  215. package/docs/enums/DimensionType.html +1 -1
  216. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
  217. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
  218. package/docs/enums/LinkType.html +1 -1
  219. package/docs/enums/PointType.html +1 -1
  220. package/docs/enums/Rotation.html +2 -2
  221. package/docs/index.html +1 -1
  222. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  223. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  224. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  225. package/docs/interfaces/FloorplanBounding.html +4 -4
  226. package/docs/interfaces/FloorplanData.html +2 -2
  227. package/docs/interfaces/FloorplanEntrance.html +7 -7
  228. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  229. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  230. package/docs/interfaces/FloorplanFloorData.html +2 -2
  231. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  232. package/docs/interfaces/FloorplanObserver.html +2 -2
  233. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  234. package/docs/interfaces/FloorplanPosition.html +2 -2
  235. package/docs/interfaces/FloorplanRoomItem.html +6 -6
  236. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  237. package/docs/interfaces/FloorplanServerBounding.html +4 -4
  238. package/docs/interfaces/FloorplanServerComputedData.html +1 -1
  239. package/docs/interfaces/FloorplanServerData.html +2 -2
  240. package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
  241. package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
  242. package/docs/interfaces/FloorplanServerEntrance.html +7 -7
  243. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  244. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  245. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  246. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  247. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  248. package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
  249. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  250. package/docs/interfaces/ItemLabelPluginData.html +1 -1
  251. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
  252. package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
  253. package/docs/interfaces/LineJson.html +1 -1
  254. package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
  255. package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
  256. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
  257. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
  258. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
  259. package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
  260. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
  261. package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
  262. package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
  263. package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
  264. package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
  265. package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
  266. package/docs/interfaces/ModelViewPluginExportType.html +1 -1
  267. package/docs/interfaces/Object3DHelperState.html +1 -1
  268. package/docs/interfaces/OpenParameter.html +2 -2
  269. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  270. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  271. package/docs/interfaces/PanoMeasureParameterType.html +1 -1
  272. package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
  273. package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
  274. package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
  275. package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
  276. package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
  277. package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
  278. package/docs/interfaces/PanoRulerProPluginState.html +1 -1
  279. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  280. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  281. package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
  282. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
  283. package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
  284. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
  285. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
  286. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
  287. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
  288. package/docs/interfaces/Point.html +1 -1
  289. package/docs/interfaces/PointJson.html +1 -1
  290. package/docs/interfaces/Room.html +1 -1
  291. package/docs/interfaces/RoomInfo.html +1 -1
  292. package/docs/interfaces/RoomLabel.html +7 -7
  293. package/docs/interfaces/RoomRules.html +1 -1
  294. package/docs/interfaces/Rooms.html +1 -1
  295. package/docs/interfaces/Scissor.html +5 -5
  296. package/docs/interfaces/TagConfig.html +3 -3
  297. package/docs/interfaces/Tags.html +3 -3
  298. package/docs/modules.html +21 -21
  299. package/libs/PanoTagPlugin/Components/Common/Media.js +347 -194
  300. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +216 -0
  301. package/libs/PanoTagPlugin/Components/Common/Text.js +18 -2
  302. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -0
  303. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +37 -17
  304. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
  305. package/libs/PanoTagPlugin/controller/TagComputer.js +14 -22
  306. package/libs/PanoTagPlugin/controller/index.d.ts +9 -4
  307. package/libs/PanoTagPlugin/controller/index.js +50 -23
  308. package/libs/PanoTagPlugin/mocks/mock1.d.ts +12 -11
  309. package/libs/PanoTagPlugin/mocks/mock1.js +12 -7
  310. package/libs/PanoTagPlugin/mocks/mock3.d.ts +11 -3
  311. package/libs/PanoTagPlugin/mocks/mock3.js +21 -22
  312. package/libs/PanoTagPlugin/typings/controller.d.ts +3 -0
  313. package/libs/PanoTagPlugin/typings/tag.d.ts +10 -0
  314. package/libs/PanoTagPlugin/utils/constants.d.ts +3 -0
  315. package/libs/PanoTagPlugin/utils/constants.js +5 -0
  316. package/libs/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
  317. package/package.json +1 -1
  318. package/libs/CSS3DRenderPlugin/Plugin.d.ts +0 -49
  319. package/libs/CSS3DRenderPlugin/Plugin.js +0 -182
  320. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
  321. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +0 -18
  322. package/libs/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
  323. package/libs/GuideLinePlugin/utils/getLineGeometry.js +0 -64
  324. package/libs/PanoTagPlugin/Components/Tag/MediaPanel.js +0 -159
package/dist/index.es.js CHANGED
@@ -15,6 +15,10 @@ import Hammer from 'hammerjs';
15
15
  import classNames from 'classnames';
16
16
  import objectAssignDeep from 'object-assign-deep';
17
17
  import anime from 'animejs';
18
+ import { Swiper, SwiperSlide } from 'swiper/svelte';
19
+ import { Autoplay } from 'swiper';
20
+ import 'swiper/css';
21
+ import 'swiper/css/autoplay';
18
22
 
19
23
  /**
20
24
  * Five 模型插件
@@ -300,7 +304,7 @@ function evenNumber(num, config) {
300
304
  return roundNum % 2 === 0 ? roundNum : roundNum + Number((config === null || config === void 0 ? void 0 : config.smaller) ? -1 : 1);
301
305
  }
302
306
 
303
- function random() {
307
+ function random$1() {
304
308
  return Math.random().toString(36).slice(-6);
305
309
  }
306
310
 
@@ -887,7 +891,7 @@ class CSS3DRender {
887
891
  }
888
892
 
889
893
  const VERSION$5 = 'v2.0.0';
890
- const PLUGIN_NAME$4 = `CSS3DRenderPlugin-${random()}@${VERSION$5}`;
894
+ const PLUGIN_NAME$4 = `CSS3DRenderPlugin-${random$1()}@${VERSION$5}`;
891
895
  class Controller$8 extends CSS3DRender {
892
896
  constructor(five) {
893
897
  super();
@@ -1080,11 +1084,11 @@ const ROOM_LABEL_BG = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAA8CAY
1080
1084
 
1081
1085
  /* src/ModelRoomLabelPlugin/RoomLabelItem.svelte generated by Svelte v3.50.1 */
1082
1086
 
1083
- function add_css$L(target) {
1087
+ function add_css$M(target) {
1084
1088
  append_styles(target, "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}");
1085
1089
  }
1086
1090
 
1087
- function create_fragment$Q(ctx) {
1091
+ function create_fragment$R(ctx) {
1088
1092
  let div1;
1089
1093
  let span;
1090
1094
  let t0_value = /*roomLabel*/ ctx[0].name + "";
@@ -1151,7 +1155,7 @@ function create_fragment$Q(ctx) {
1151
1155
  };
1152
1156
  }
1153
1157
 
1154
- function instance$Q($$self, $$props, $$invalidate) {
1158
+ function instance$R($$self, $$props, $$invalidate) {
1155
1159
  let { five } = $$props;
1156
1160
  let { roomLabel } = $$props;
1157
1161
 
@@ -1174,7 +1178,7 @@ function instance$Q($$self, $$props, $$invalidate) {
1174
1178
  class RoomLabelItem extends SvelteComponent {
1175
1179
  constructor(options) {
1176
1180
  super();
1177
- init(this, options, instance$Q, create_fragment$Q, safe_not_equal, { five: 2, roomLabel: 0 }, add_css$L);
1181
+ init(this, options, instance$R, create_fragment$R, safe_not_equal, { five: 2, roomLabel: 0 }, add_css$M);
1178
1182
  }
1179
1183
  }
1180
1184
 
@@ -1182,7 +1186,7 @@ class RoomLabelItem extends SvelteComponent {
1182
1186
 
1183
1187
  const { Map: Map_1 } = globals;
1184
1188
 
1185
- function add_css$K(target) {
1189
+ function add_css$L(target) {
1186
1190
  append_styles(target, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
1187
1191
  }
1188
1192
 
@@ -1241,7 +1245,7 @@ function create_each_block$i(key_1, ctx) {
1241
1245
  };
1242
1246
  }
1243
1247
 
1244
- function create_fragment$P(ctx) {
1248
+ function create_fragment$Q(ctx) {
1245
1249
  let div;
1246
1250
  let each_blocks = [];
1247
1251
  let each_1_lookup = new Map_1();
@@ -1313,7 +1317,7 @@ function create_fragment$P(ctx) {
1313
1317
  };
1314
1318
  }
1315
1319
 
1316
- function instance$P($$self, $$props, $$invalidate) {
1320
+ function instance$Q($$self, $$props, $$invalidate) {
1317
1321
  let rendererSize;
1318
1322
  let { five } = $$props;
1319
1323
  let { roomLabels } = $$props;
@@ -1438,7 +1442,7 @@ function instance$P($$self, $$props, $$invalidate) {
1438
1442
  class RoomLabelItems extends SvelteComponent {
1439
1443
  constructor(options) {
1440
1444
  super();
1441
- init(this, options, instance$P, create_fragment$P, safe_not_equal, { five: 1, roomLabels: 0 }, add_css$K);
1445
+ init(this, options, instance$Q, create_fragment$Q, safe_not_equal, { five: 1, roomLabels: 0 }, add_css$L);
1442
1446
  }
1443
1447
  }
1444
1448
 
@@ -1744,11 +1748,11 @@ function rad2Deg$1(rad) {
1744
1748
 
1745
1749
  /* src/floorplan/Components/Camera.svelte generated by Svelte v3.50.1 */
1746
1750
 
1747
- function add_css$J(target) {
1751
+ function add_css$K(target) {
1748
1752
  append_styles(target, "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%}");
1749
1753
  }
1750
1754
 
1751
- function create_fragment$O(ctx) {
1755
+ function create_fragment$P(ctx) {
1752
1756
  let div1;
1753
1757
  let div0;
1754
1758
 
@@ -1785,7 +1789,7 @@ function create_fragment$O(ctx) {
1785
1789
  };
1786
1790
  }
1787
1791
 
1788
- function instance$O($$self, $$props, $$invalidate) {
1792
+ function instance$P($$self, $$props, $$invalidate) {
1789
1793
  let { panoIndex } = $$props;
1790
1794
  let { floorplanData } = $$props;
1791
1795
  let { lastPanoramaLongitude } = $$props;
@@ -1831,8 +1835,8 @@ class Camera$1 extends SvelteComponent {
1831
1835
  init(
1832
1836
  this,
1833
1837
  options,
1834
- instance$O,
1835
- create_fragment$O,
1838
+ instance$P,
1839
+ create_fragment$P,
1836
1840
  safe_not_equal,
1837
1841
  {
1838
1842
  panoIndex: 5,
@@ -1840,7 +1844,7 @@ class Camera$1 extends SvelteComponent {
1840
1844
  lastPanoramaLongitude: 7,
1841
1845
  cameraImageUrl: 0
1842
1846
  },
1843
- add_css$J
1847
+ add_css$K
1844
1848
  );
1845
1849
  }
1846
1850
  }
@@ -1849,12 +1853,12 @@ const COMPASS_IMAGE = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArUAAAB7CAM
1849
1853
 
1850
1854
  /* src/floorplan/Components/Compass.svelte generated by Svelte v3.50.1 */
1851
1855
 
1852
- function add_css$I(target) {
1856
+ function add_css$J(target) {
1853
1857
  append_styles(target, "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}");
1854
1858
  }
1855
1859
 
1856
1860
  // (14:0) {#if canCompassShow}
1857
- function create_if_block$s(ctx) {
1861
+ function create_if_block$t(ctx) {
1858
1862
  let div1;
1859
1863
  let div0;
1860
1864
  let t0;
@@ -1890,9 +1894,9 @@ function create_if_block$s(ctx) {
1890
1894
  };
1891
1895
  }
1892
1896
 
1893
- function create_fragment$N(ctx) {
1897
+ function create_fragment$O(ctx) {
1894
1898
  let if_block_anchor;
1895
- let if_block = /*canCompassShow*/ ctx[1] && create_if_block$s(ctx);
1899
+ let if_block = /*canCompassShow*/ ctx[1] && create_if_block$t(ctx);
1896
1900
 
1897
1901
  return {
1898
1902
  c() {
@@ -1919,7 +1923,7 @@ function rad2Deg(rad) {
1919
1923
  return rad / Math.PI * 180;
1920
1924
  }
1921
1925
 
1922
- function instance$N($$self, $$props, $$invalidate) {
1926
+ function instance$O($$self, $$props, $$invalidate) {
1923
1927
  var _a;
1924
1928
  let { floorplanData } = $$props;
1925
1929
  let { northDesc } = $$props;
@@ -1943,17 +1947,17 @@ function instance$N($$self, $$props, $$invalidate) {
1943
1947
  class Compass extends SvelteComponent {
1944
1948
  constructor(options) {
1945
1949
  super();
1946
- init(this, options, instance$N, create_fragment$N, safe_not_equal, { floorplanData: 3, northDesc: 0 }, add_css$I);
1950
+ init(this, options, instance$O, create_fragment$O, safe_not_equal, { floorplanData: 3, northDesc: 0 }, add_css$J);
1947
1951
  }
1948
1952
  }
1949
1953
 
1950
1954
  /* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.50.1 */
1951
1955
 
1952
- function add_css$H(target) {
1956
+ function add_css$I(target) {
1953
1957
  append_styles(target, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
1954
1958
  }
1955
1959
 
1956
- function create_fragment$M(ctx) {
1960
+ function create_fragment$N(ctx) {
1957
1961
  let img;
1958
1962
  let img_src_value;
1959
1963
 
@@ -1980,7 +1984,7 @@ function create_fragment$M(ctx) {
1980
1984
  };
1981
1985
  }
1982
1986
 
1983
- function instance$M($$self, $$props, $$invalidate) {
1987
+ function instance$N($$self, $$props, $$invalidate) {
1984
1988
  let { url } = $$props;
1985
1989
 
1986
1990
  $$self.$$set = $$props => {
@@ -1993,17 +1997,17 @@ function instance$M($$self, $$props, $$invalidate) {
1993
1997
  class Normalmage extends SvelteComponent {
1994
1998
  constructor(options) {
1995
1999
  super();
1996
- init(this, options, instance$M, create_fragment$M, safe_not_equal, { url: 0 }, add_css$H);
2000
+ init(this, options, instance$N, create_fragment$N, safe_not_equal, { url: 0 }, add_css$I);
1997
2001
  }
1998
2002
  }
1999
2003
 
2000
2004
  /* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.50.1 */
2001
2005
 
2002
- function add_css$G(target) {
2006
+ function add_css$H(target) {
2003
2007
  append_styles(target, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
2004
2008
  }
2005
2009
 
2006
- function create_fragment$L(ctx) {
2010
+ function create_fragment$M(ctx) {
2007
2011
  let div;
2008
2012
  let html_tag;
2009
2013
  let t;
@@ -2036,7 +2040,7 @@ function create_fragment$L(ctx) {
2036
2040
  };
2037
2041
  }
2038
2042
 
2039
- function instance$L($$self, $$props, $$invalidate) {
2043
+ function instance$M($$self, $$props, $$invalidate) {
2040
2044
  let { content } = $$props;
2041
2045
 
2042
2046
  const svgStyle = `
@@ -2060,18 +2064,18 @@ function instance$L($$self, $$props, $$invalidate) {
2060
2064
  class SvgImage extends SvelteComponent {
2061
2065
  constructor(options) {
2062
2066
  super();
2063
- init(this, options, instance$L, create_fragment$L, safe_not_equal, { content: 0 }, add_css$G);
2067
+ init(this, options, instance$M, create_fragment$M, safe_not_equal, { content: 0 }, add_css$H);
2064
2068
  }
2065
2069
  }
2066
2070
 
2067
2071
  /* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.50.1 */
2068
2072
 
2069
- function add_css$F(target) {
2073
+ function add_css$G(target) {
2070
2074
  append_styles(target, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
2071
2075
  }
2072
2076
 
2073
2077
  // (13:22)
2074
- function create_if_block_1$d(ctx) {
2078
+ function create_if_block_1$e(ctx) {
2075
2079
  let normalimage;
2076
2080
  let current;
2077
2081
  normalimage = new Normalmage({ props: { url: /*imageData*/ ctx[1].url } });
@@ -2105,7 +2109,7 @@ function create_if_block_1$d(ctx) {
2105
2109
  }
2106
2110
 
2107
2111
  // (11:2) {#if svgContent}
2108
- function create_if_block$r(ctx) {
2112
+ function create_if_block$s(ctx) {
2109
2113
  let svgimage;
2110
2114
  let current;
2111
2115
 
@@ -2141,12 +2145,12 @@ function create_if_block$r(ctx) {
2141
2145
  };
2142
2146
  }
2143
2147
 
2144
- function create_fragment$K(ctx) {
2148
+ function create_fragment$L(ctx) {
2145
2149
  let div;
2146
2150
  let current_block_type_index;
2147
2151
  let if_block;
2148
2152
  let current;
2149
- const if_block_creators = [create_if_block$r, create_if_block_1$d];
2153
+ const if_block_creators = [create_if_block$s, create_if_block_1$e];
2150
2154
  const if_blocks = [];
2151
2155
 
2152
2156
  function select_block_type(ctx, dirty) {
@@ -2229,7 +2233,7 @@ function create_fragment$K(ctx) {
2229
2233
  };
2230
2234
  }
2231
2235
 
2232
- function instance$K($$self, $$props, $$invalidate) {
2236
+ function instance$L($$self, $$props, $$invalidate) {
2233
2237
  let imageData;
2234
2238
  let svgContent;
2235
2239
  var _a, _b;
@@ -2261,18 +2265,18 @@ function instance$K($$self, $$props, $$invalidate) {
2261
2265
  class BaseImage extends SvelteComponent {
2262
2266
  constructor(options) {
2263
2267
  super();
2264
- init(this, options, instance$K, create_fragment$K, safe_not_equal, { floorIndex: 2, floorplanData: 3 }, add_css$F);
2268
+ init(this, options, instance$L, create_fragment$L, safe_not_equal, { floorIndex: 2, floorplanData: 3 }, add_css$G);
2265
2269
  }
2266
2270
  }
2267
2271
 
2268
2272
  /* src/floorplan/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.50.1 */
2269
2273
 
2270
- function add_css$E(target) {
2274
+ function add_css$F(target) {
2271
2275
  append_styles(target, "svelte-12pzct5", ".floorplan-plugin__room-label-item.svelte-12pzct5{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-size.svelte-12pzct5{opacity:0.45}");
2272
2276
  }
2273
2277
 
2274
2278
  // (95:30)
2275
- function create_if_block_1$c(ctx) {
2279
+ function create_if_block_1$d(ctx) {
2276
2280
  let html_tag;
2277
2281
  let raw_value = /*userConfigElement*/ ctx[4].outerHTML + "";
2278
2282
  let html_anchor;
@@ -2298,7 +2302,7 @@ function create_if_block_1$c(ctx) {
2298
2302
  }
2299
2303
 
2300
2304
  // (89:2) {#if getLabelElement === undefined}
2301
- function create_if_block$q(ctx) {
2305
+ function create_if_block$r(ctx) {
2302
2306
  let span0;
2303
2307
  let t0_value = /*room*/ ctx[0].name + "";
2304
2308
  let t0;
@@ -2332,12 +2336,12 @@ function create_if_block$q(ctx) {
2332
2336
  };
2333
2337
  }
2334
2338
 
2335
- function create_fragment$J(ctx) {
2339
+ function create_fragment$K(ctx) {
2336
2340
  let div;
2337
2341
 
2338
2342
  function select_block_type(ctx, dirty) {
2339
- if (/*getLabelElement*/ ctx[1] === undefined) return create_if_block$q;
2340
- if (/*userConfigElement*/ ctx[4]) return create_if_block_1$c;
2343
+ if (/*getLabelElement*/ ctx[1] === undefined) return create_if_block$r;
2344
+ if (/*userConfigElement*/ ctx[4]) return create_if_block_1$d;
2341
2345
  }
2342
2346
 
2343
2347
  let current_block_type = select_block_type(ctx);
@@ -2406,7 +2410,7 @@ function isPointInPolygon(point, polygon) {
2406
2410
  return inside;
2407
2411
  }
2408
2412
 
2409
- function instance$J($$self, $$props, $$invalidate) {
2413
+ function instance$K($$self, $$props, $$invalidate) {
2410
2414
  let isLabelInRoom;
2411
2415
  let userConfigElement;
2412
2416
  let labelVisible;
@@ -2550,8 +2554,8 @@ class RoomLabel extends SvelteComponent {
2550
2554
  init(
2551
2555
  this,
2552
2556
  options,
2553
- instance$J,
2554
- create_fragment$J,
2557
+ instance$K,
2558
+ create_fragment$K,
2555
2559
  safe_not_equal,
2556
2560
  {
2557
2561
  pxmm: 9,
@@ -2560,14 +2564,14 @@ class RoomLabel extends SvelteComponent {
2560
2564
  getLabelElement: 1,
2561
2565
  adaptiveRoomLabelVisibleEnable: 11
2562
2566
  },
2563
- add_css$E
2567
+ add_css$F
2564
2568
  );
2565
2569
  }
2566
2570
  }
2567
2571
 
2568
2572
  /* src/floorplan/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.50.1 */
2569
2573
 
2570
- function add_css$D(target) {
2574
+ function add_css$E(target) {
2571
2575
  append_styles(target, "svelte-13xux0b", ".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}");
2572
2576
  }
2573
2577
 
@@ -2578,7 +2582,7 @@ function get_each_context$h(ctx, list, i) {
2578
2582
  }
2579
2583
 
2580
2584
  // (17:0) {#if rooms}
2581
- function create_if_block$p(ctx) {
2585
+ function create_if_block$q(ctx) {
2582
2586
  let div;
2583
2587
  let each_blocks = [];
2584
2588
  let each_1_lookup = new Map();
@@ -2720,10 +2724,10 @@ function create_each_block$h(key_1, ctx) {
2720
2724
  };
2721
2725
  }
2722
2726
 
2723
- function create_fragment$I(ctx) {
2727
+ function create_fragment$J(ctx) {
2724
2728
  let if_block_anchor;
2725
2729
  let current;
2726
- let if_block = /*rooms*/ ctx[5] && create_if_block$p(ctx);
2730
+ let if_block = /*rooms*/ ctx[5] && create_if_block$q(ctx);
2727
2731
 
2728
2732
  return {
2729
2733
  c() {
@@ -2744,7 +2748,7 @@ function create_fragment$I(ctx) {
2744
2748
  transition_in(if_block, 1);
2745
2749
  }
2746
2750
  } else {
2747
- if_block = create_if_block$p(ctx);
2751
+ if_block = create_if_block$q(ctx);
2748
2752
  if_block.c();
2749
2753
  transition_in(if_block, 1);
2750
2754
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -2775,7 +2779,7 @@ function create_fragment$I(ctx) {
2775
2779
  };
2776
2780
  }
2777
2781
 
2778
- function instance$I($$self, $$props, $$invalidate) {
2782
+ function instance$J($$self, $$props, $$invalidate) {
2779
2783
  let rooms;
2780
2784
  let { floorIndex } = $$props;
2781
2785
  let { floorplanData } = $$props;
@@ -2832,8 +2836,8 @@ class RoomLabels extends SvelteComponent {
2832
2836
  init(
2833
2837
  this,
2834
2838
  options,
2835
- instance$I,
2836
- create_fragment$I,
2839
+ instance$J,
2840
+ create_fragment$J,
2837
2841
  safe_not_equal,
2838
2842
  {
2839
2843
  floorIndex: 6,
@@ -2842,14 +2846,14 @@ class RoomLabels extends SvelteComponent {
2842
2846
  getLabelElement: 1,
2843
2847
  adaptiveRoomLabelVisibleEnable: 2
2844
2848
  },
2845
- add_css$D
2849
+ add_css$E
2846
2850
  );
2847
2851
  }
2848
2852
  }
2849
2853
 
2850
2854
  /* src/floorplan/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.50.1 */
2851
2855
 
2852
- function add_css$C(target) {
2856
+ function add_css$D(target) {
2853
2857
  append_styles(target, "svelte-xt7p1v", ".floorplan-plugin__rule-labels.svelte-xt7p1v.svelte-xt7p1v{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-xt7p1v.svelte-xt7p1v{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-xt7p1v.svelte-xt7p1v{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-xt7p1v.svelte-xt7p1v{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-xt7p1v.svelte-xt7p1v{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-xt7p1v.svelte-xt7p1v{background:#fff;opacity:0.05;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-xt7p1v.svelte-xt7p1v{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-scale-wrapper.svelte-xt7p1v{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-xt7p1v.svelte-xt7p1v{position:absolute;background:#fff;opacity:0.05;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-scale.svelte-xt7p1v{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-xt7p1v.svelte-xt7p1v{position:absolute}.floorplan-plugin__rule-labels--top.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-xt7p1v.svelte-xt7p1v{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-text-item.svelte-xt7p1v{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-xt7p1v.svelte-xt7p1v{width:-webkit-max-content;width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.2}");
2854
2858
  }
2855
2859
 
@@ -2925,7 +2929,7 @@ function create_each_block$g(key_1, ctx) {
2925
2929
  };
2926
2930
  }
2927
2931
 
2928
- function create_fragment$H(ctx) {
2932
+ function create_fragment$I(ctx) {
2929
2933
  let div3;
2930
2934
  let div0;
2931
2935
  let t0;
@@ -3048,7 +3052,7 @@ function create_fragment$H(ctx) {
3048
3052
  const padding$1 = 1000;
3049
3053
  const exteriorWallOffset$1 = 180;
3050
3054
 
3051
- function instance$H($$self, $$props, $$invalidate) {
3055
+ function instance$I($$self, $$props, $$invalidate) {
3052
3056
  let { type } = $$props;
3053
3057
  let { data } = $$props;
3054
3058
  let { bounding } = $$props;
@@ -3107,13 +3111,13 @@ function instance$H($$self, $$props, $$invalidate) {
3107
3111
  class RuleItem extends SvelteComponent {
3108
3112
  constructor(options) {
3109
3113
  super();
3110
- init(this, options, instance$H, create_fragment$H, safe_not_equal, { type: 0, data: 4, bounding: 5 }, add_css$C);
3114
+ init(this, options, instance$I, create_fragment$I, safe_not_equal, { type: 0, data: 4, bounding: 5 }, add_css$D);
3111
3115
  }
3112
3116
  }
3113
3117
 
3114
3118
  /* src/floorplan/Components/RuleLabels/RuleLabels.svelte generated by Svelte v3.50.1 */
3115
3119
 
3116
- function add_css$B(target) {
3120
+ function add_css$C(target) {
3117
3121
  append_styles(target, "svelte-1mzj9p3", ".floorplan-plugin__rule-labels-wrapper.svelte-1mzj9p3{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}");
3118
3122
  }
3119
3123
 
@@ -3190,7 +3194,7 @@ function create_each_block$f(key_1, ctx) {
3190
3194
  };
3191
3195
  }
3192
3196
 
3193
- function create_fragment$G(ctx) {
3197
+ function create_fragment$H(ctx) {
3194
3198
  let div;
3195
3199
  let each_blocks = [];
3196
3200
  let each_1_lookup = new Map();
@@ -3270,7 +3274,7 @@ function create_fragment$G(ctx) {
3270
3274
  const padding = 1000;
3271
3275
  const exteriorWallOffset = 180;
3272
3276
 
3273
- function instance$G($$self, $$props, $$invalidate) {
3277
+ function instance$H($$self, $$props, $$invalidate) {
3274
3278
  let bounding;
3275
3279
  let ruleLabelData;
3276
3280
  let ruleLabelDataKeys;
@@ -3350,7 +3354,7 @@ function instance$G($$self, $$props, $$invalidate) {
3350
3354
  class RuleLabels extends SvelteComponent {
3351
3355
  constructor(options) {
3352
3356
  super();
3353
- init(this, options, instance$G, create_fragment$G, safe_not_equal, { floorIndex: 4, floorplanData: 5 }, add_css$B);
3357
+ init(this, options, instance$H, create_fragment$H, safe_not_equal, { floorIndex: 4, floorplanData: 5 }, add_css$C);
3354
3358
  }
3355
3359
  }
3356
3360
 
@@ -3407,7 +3411,7 @@ function getFloorIndexFromModelPosition(position, five) {
3407
3411
 
3408
3412
  /* src/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte generated by Svelte v3.50.1 */
3409
3413
 
3410
- function create_fragment$F(ctx) {
3414
+ function create_fragment$G(ctx) {
3411
3415
  let path_1;
3412
3416
 
3413
3417
  return {
@@ -3432,7 +3436,7 @@ function create_fragment$F(ctx) {
3432
3436
  };
3433
3437
  }
3434
3438
 
3435
- function instance$F($$self, $$props, $$invalidate) {
3439
+ function instance$G($$self, $$props, $$invalidate) {
3436
3440
  let d;
3437
3441
  let { path } = $$props;
3438
3442
 
@@ -3452,13 +3456,13 @@ function instance$F($$self, $$props, $$invalidate) {
3452
3456
  class RoomMaterial_0 extends SvelteComponent {
3453
3457
  constructor(options) {
3454
3458
  super();
3455
- init(this, options, instance$F, create_fragment$F, safe_not_equal, { path: 1 });
3459
+ init(this, options, instance$G, create_fragment$G, safe_not_equal, { path: 1 });
3456
3460
  }
3457
3461
  }
3458
3462
 
3459
3463
  /* src/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte generated by Svelte v3.50.1 */
3460
3464
 
3461
- function create_fragment$E(ctx) {
3465
+ function create_fragment$F(ctx) {
3462
3466
  let defs;
3463
3467
  let pattern;
3464
3468
  let rect;
@@ -3519,7 +3523,7 @@ function create_fragment$E(ctx) {
3519
3523
 
3520
3524
  const halfWidth = 6;
3521
3525
 
3522
- function instance$E($$self, $$props, $$invalidate) {
3526
+ function instance$F($$self, $$props, $$invalidate) {
3523
3527
  let d;
3524
3528
  let { path } = $$props;
3525
3529
  const width = halfWidth * 2;
@@ -3541,13 +3545,13 @@ function instance$E($$self, $$props, $$invalidate) {
3541
3545
  class RoomMaterial_1 extends SvelteComponent {
3542
3546
  constructor(options) {
3543
3547
  super();
3544
- init(this, options, instance$E, create_fragment$E, safe_not_equal, { path: 3 });
3548
+ init(this, options, instance$F, create_fragment$F, safe_not_equal, { path: 3 });
3545
3549
  }
3546
3550
  }
3547
3551
 
3548
3552
  /* src/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte generated by Svelte v3.50.1 */
3549
3553
 
3550
- function create_fragment$D(ctx) {
3554
+ function create_fragment$E(ctx) {
3551
3555
  let defs;
3552
3556
  let pattern0;
3553
3557
  let rect0;
@@ -3648,7 +3652,7 @@ function create_fragment$D(ctx) {
3648
3652
  };
3649
3653
  }
3650
3654
 
3651
- function instance$D($$self, $$props, $$invalidate) {
3655
+ function instance$E($$self, $$props, $$invalidate) {
3652
3656
  let d;
3653
3657
  let { path } = $$props;
3654
3658
 
@@ -3668,13 +3672,13 @@ function instance$D($$self, $$props, $$invalidate) {
3668
3672
  class RoomMaterial_2 extends SvelteComponent {
3669
3673
  constructor(options) {
3670
3674
  super();
3671
- init(this, options, instance$D, create_fragment$D, safe_not_equal, { path: 1 });
3675
+ init(this, options, instance$E, create_fragment$E, safe_not_equal, { path: 1 });
3672
3676
  }
3673
3677
  }
3674
3678
 
3675
3679
  /* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.50.1 */
3676
3680
 
3677
- function add_css$A(target) {
3681
+ function add_css$B(target) {
3678
3682
  append_styles(target, "svelte-1dykexu", ".floorplan-plugin__room-material.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%}svg.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}");
3679
3683
  }
3680
3684
 
@@ -3685,7 +3689,7 @@ function get_each_context$e(ctx, list, i) {
3685
3689
  }
3686
3690
 
3687
3691
  // (19:6) {:else}
3688
- function create_else_block$3(ctx) {
3692
+ function create_else_block$4(ctx) {
3689
3693
  let roommaterial_1;
3690
3694
  let current;
3691
3695
  roommaterial_1 = new RoomMaterial_1({ props: { path: /*room*/ ctx[5].path } });
@@ -3719,7 +3723,7 @@ function create_else_block$3(ctx) {
3719
3723
  }
3720
3724
 
3721
3725
  // (17:37)
3722
- function create_if_block_1$b(ctx) {
3726
+ function create_if_block_1$c(ctx) {
3723
3727
  let roommaterial_2;
3724
3728
  let current;
3725
3729
  roommaterial_2 = new RoomMaterial_2({ props: { path: /*room*/ ctx[5].path } });
@@ -3753,7 +3757,7 @@ function create_if_block_1$b(ctx) {
3753
3757
  }
3754
3758
 
3755
3759
  // (15:6) {#if room.floorType === 1}
3756
- function create_if_block$o(ctx) {
3760
+ function create_if_block$p(ctx) {
3757
3761
  let roommaterial_0;
3758
3762
  let current;
3759
3763
  roommaterial_0 = new RoomMaterial_0({ props: { path: /*room*/ ctx[5].path } });
@@ -3792,7 +3796,7 @@ function create_each_block$e(ctx) {
3792
3796
  let current_block_type_index;
3793
3797
  let if_block;
3794
3798
  let current;
3795
- const if_block_creators = [create_if_block$o, create_if_block_1$b, create_else_block$3];
3799
+ const if_block_creators = [create_if_block$p, create_if_block_1$c, create_else_block$4];
3796
3800
  const if_blocks = [];
3797
3801
 
3798
3802
  function select_block_type(ctx, dirty) {
@@ -3861,7 +3865,7 @@ function create_each_block$e(ctx) {
3861
3865
  };
3862
3866
  }
3863
3867
 
3864
- function create_fragment$C(ctx) {
3868
+ function create_fragment$D(ctx) {
3865
3869
  let div;
3866
3870
  let current;
3867
3871
  let each_value = /*rooms*/ ctx[0];
@@ -3947,7 +3951,7 @@ function create_fragment$C(ctx) {
3947
3951
  };
3948
3952
  }
3949
3953
 
3950
- function instance$C($$self, $$props, $$invalidate) {
3954
+ function instance$D($$self, $$props, $$invalidate) {
3951
3955
  let rooms;
3952
3956
  let { floorIndex } = $$props;
3953
3957
  let { floorplanData } = $$props;
@@ -3973,17 +3977,17 @@ function instance$C($$self, $$props, $$invalidate) {
3973
3977
  class RoomMaterial extends SvelteComponent {
3974
3978
  constructor(options) {
3975
3979
  super();
3976
- init(this, options, instance$C, create_fragment$C, safe_not_equal, { floorIndex: 3, floorplanData: 4 }, add_css$A);
3980
+ init(this, options, instance$D, create_fragment$D, safe_not_equal, { floorIndex: 3, floorplanData: 4 }, add_css$B);
3977
3981
  }
3978
3982
  }
3979
3983
 
3980
3984
  /* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.50.1 */
3981
3985
 
3982
- function add_css$z(target) {
3986
+ function add_css$A(target) {
3983
3987
  append_styles(target, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
3984
3988
  }
3985
3989
 
3986
- function create_fragment$B(ctx) {
3990
+ function create_fragment$C(ctx) {
3987
3991
  let path;
3988
3992
  let mounted;
3989
3993
  let dispose;
@@ -4018,7 +4022,7 @@ function create_fragment$B(ctx) {
4018
4022
  };
4019
4023
  }
4020
4024
 
4021
- function instance$B($$self, $$props, $$invalidate) {
4025
+ function instance$C($$self, $$props, $$invalidate) {
4022
4026
  let { room } = $$props;
4023
4027
  let { floorplanData } = $$props;
4024
4028
  let { hoveredRoom } = $$props;
@@ -4054,22 +4058,22 @@ class Room extends SvelteComponent {
4054
4058
  init(
4055
4059
  this,
4056
4060
  options,
4057
- instance$B,
4058
- create_fragment$B,
4061
+ instance$C,
4062
+ create_fragment$C,
4059
4063
  safe_not_equal,
4060
4064
  {
4061
4065
  room: 3,
4062
4066
  floorplanData: 4,
4063
4067
  hoveredRoom: 5
4064
4068
  },
4065
- add_css$z
4069
+ add_css$A
4066
4070
  );
4067
4071
  }
4068
4072
  }
4069
4073
 
4070
4074
  /* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.50.1 */
4071
4075
 
4072
- function add_css$y(target) {
4076
+ function add_css$z(target) {
4073
4077
  append_styles(target, "svelte-1kqo6e4", ".floorplan-plugin__room-highlight.svelte-1kqo6e4{position:absolute;width:100%;height:100%}svg.svelte-1kqo6e4{width:100%;height:100%;overflow:visible}");
4074
4078
  }
4075
4079
 
@@ -4145,7 +4149,7 @@ function create_each_block$d(key_1, ctx) {
4145
4149
  };
4146
4150
  }
4147
4151
 
4148
- function create_fragment$A(ctx) {
4152
+ function create_fragment$B(ctx) {
4149
4153
  let div;
4150
4154
  let svg;
4151
4155
  let each_blocks = [];
@@ -4219,7 +4223,7 @@ function create_fragment$A(ctx) {
4219
4223
  };
4220
4224
  }
4221
4225
 
4222
- function instance$A($$self, $$props, $$invalidate) {
4226
+ function instance$B($$self, $$props, $$invalidate) {
4223
4227
  let { floorIndex } = $$props;
4224
4228
  let { floorplanData } = $$props;
4225
4229
  let { hoveredRoom } = $$props;
@@ -4242,22 +4246,22 @@ class RoomHighlight extends SvelteComponent {
4242
4246
  init(
4243
4247
  this,
4244
4248
  options,
4245
- instance$A,
4246
- create_fragment$A,
4249
+ instance$B,
4250
+ create_fragment$B,
4247
4251
  safe_not_equal,
4248
4252
  {
4249
4253
  floorIndex: 0,
4250
4254
  floorplanData: 1,
4251
4255
  hoveredRoom: 2
4252
4256
  },
4253
- add_css$y
4257
+ add_css$z
4254
4258
  );
4255
4259
  }
4256
4260
  }
4257
4261
 
4258
4262
  /* src/floorplan/Components/CurrentFloor.svelte generated by Svelte v3.50.1 */
4259
4263
 
4260
- function add_css$x(target) {
4264
+ function add_css$y(target) {
4261
4265
  append_styles(target, "svelte-bl8zrz", ".floorplan-plugin__floor.svelte-bl8zrz{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;pointer-events:none}.floorplan-plugin__floor--is-current.svelte-bl8zrz{opacity:1;pointer-events:auto}");
4262
4266
  }
4263
4267
 
@@ -4319,7 +4323,7 @@ function create_if_block_2$4(ctx) {
4319
4323
  }
4320
4324
 
4321
4325
  // (24:2) {#if roomLabelsEnable}
4322
- function create_if_block_1$a(ctx) {
4326
+ function create_if_block_1$b(ctx) {
4323
4327
  let roomlabels;
4324
4328
  let current;
4325
4329
 
@@ -4380,7 +4384,7 @@ function create_if_block_1$a(ctx) {
4380
4384
  }
4381
4385
 
4382
4386
  // (27:2) {#if ruleLabelsEnable}
4383
- function create_if_block$n(ctx) {
4387
+ function create_if_block$o(ctx) {
4384
4388
  let rulelabels;
4385
4389
  let current;
4386
4390
 
@@ -4434,7 +4438,7 @@ function create_if_block$n(ctx) {
4434
4438
  };
4435
4439
  }
4436
4440
 
4437
- function create_fragment$z(ctx) {
4441
+ function create_fragment$A(ctx) {
4438
4442
  let div;
4439
4443
  let roommaterial;
4440
4444
  let t0;
@@ -4475,8 +4479,8 @@ function create_fragment$z(ctx) {
4475
4479
  }
4476
4480
 
4477
4481
  baseimage = new BaseImage({ props: baseimage_props });
4478
- let if_block1 = /*roomLabelsEnable*/ ctx[3] && create_if_block_1$a(ctx);
4479
- let if_block2 = /*ruleLabelsEnable*/ ctx[4] && create_if_block$n(ctx);
4482
+ let if_block1 = /*roomLabelsEnable*/ ctx[3] && create_if_block_1$b(ctx);
4483
+ let if_block2 = /*ruleLabelsEnable*/ ctx[4] && create_if_block$o(ctx);
4480
4484
 
4481
4485
  return {
4482
4486
  c() {
@@ -4562,7 +4566,7 @@ function create_fragment$z(ctx) {
4562
4566
  transition_in(if_block1, 1);
4563
4567
  }
4564
4568
  } else {
4565
- if_block1 = create_if_block_1$a(ctx);
4569
+ if_block1 = create_if_block_1$b(ctx);
4566
4570
  if_block1.c();
4567
4571
  transition_in(if_block1, 1);
4568
4572
  if_block1.m(div, t3);
@@ -4585,7 +4589,7 @@ function create_fragment$z(ctx) {
4585
4589
  transition_in(if_block2, 1);
4586
4590
  }
4587
4591
  } else {
4588
- if_block2 = create_if_block$n(ctx);
4592
+ if_block2 = create_if_block$o(ctx);
4589
4593
  if_block2.c();
4590
4594
  transition_in(if_block2, 1);
4591
4595
  if_block2.m(div, null);
@@ -4634,7 +4638,7 @@ function create_fragment$z(ctx) {
4634
4638
  };
4635
4639
  }
4636
4640
 
4637
- function instance$z($$self, $$props, $$invalidate) {
4641
+ function instance$A($$self, $$props, $$invalidate) {
4638
4642
  let { isCurrent } = $$props;
4639
4643
  let { floorIndex } = $$props;
4640
4644
  let { hoverEnable } = $$props;
@@ -4676,8 +4680,8 @@ class CurrentFloor$1 extends SvelteComponent {
4676
4680
  init(
4677
4681
  this,
4678
4682
  options,
4679
- instance$z,
4680
- create_fragment$z,
4683
+ instance$A,
4684
+ create_fragment$A,
4681
4685
  safe_not_equal,
4682
4686
  {
4683
4687
  isCurrent: 0,
@@ -4689,14 +4693,14 @@ class CurrentFloor$1 extends SvelteComponent {
4689
4693
  getLabelElement: 6,
4690
4694
  adaptiveRoomLabelVisibleEnable: 7
4691
4695
  },
4692
- add_css$x
4696
+ add_css$y
4693
4697
  );
4694
4698
  }
4695
4699
  }
4696
4700
 
4697
4701
  /* src/floorplan/Components/Main.svelte generated by Svelte v3.50.1 */
4698
4702
 
4699
- function add_css$w(target) {
4703
+ function add_css$x(target) {
4700
4704
  append_styles(target, "svelte-86bqav", ".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}");
4701
4705
  }
4702
4706
 
@@ -4707,7 +4711,7 @@ function get_each_context$c(ctx, list, i) {
4707
4711
  }
4708
4712
 
4709
4713
  // (22:0) {#if visible}
4710
- function create_if_block$m(ctx) {
4714
+ function create_if_block$n(ctx) {
4711
4715
  let div;
4712
4716
  let t0;
4713
4717
  let camera;
@@ -4741,7 +4745,7 @@ function create_if_block$m(ctx) {
4741
4745
  }
4742
4746
 
4743
4747
  camera = new Camera$1({ props: camera_props });
4744
- let if_block = /*compassEnable*/ ctx[6] && create_if_block_1$9(ctx);
4748
+ let if_block = /*compassEnable*/ ctx[6] && create_if_block_1$a(ctx);
4745
4749
 
4746
4750
  return {
4747
4751
  c() {
@@ -4821,7 +4825,7 @@ function create_if_block$m(ctx) {
4821
4825
  transition_in(if_block, 1);
4822
4826
  }
4823
4827
  } else {
4824
- if_block = create_if_block_1$9(ctx);
4828
+ if_block = create_if_block_1$a(ctx);
4825
4829
  if_block.c();
4826
4830
  transition_in(if_block, 1);
4827
4831
  if_block.m(div, null);
@@ -4955,7 +4959,7 @@ function create_each_block$c(ctx) {
4955
4959
  }
4956
4960
 
4957
4961
  // (39:4) {#if compassEnable}
4958
- function create_if_block_1$9(ctx) {
4962
+ function create_if_block_1$a(ctx) {
4959
4963
  let compass;
4960
4964
  let current;
4961
4965
 
@@ -4995,10 +4999,10 @@ function create_if_block_1$9(ctx) {
4995
4999
  };
4996
5000
  }
4997
5001
 
4998
- function create_fragment$y(ctx) {
5002
+ function create_fragment$z(ctx) {
4999
5003
  let if_block_anchor;
5000
5004
  let current;
5001
- let if_block = /*visible*/ ctx[1] && create_if_block$m(ctx);
5005
+ let if_block = /*visible*/ ctx[1] && create_if_block$n(ctx);
5002
5006
 
5003
5007
  return {
5004
5008
  c() {
@@ -5019,7 +5023,7 @@ function create_fragment$y(ctx) {
5019
5023
  transition_in(if_block, 1);
5020
5024
  }
5021
5025
  } else {
5022
- if_block = create_if_block$m(ctx);
5026
+ if_block = create_if_block$n(ctx);
5023
5027
  if_block.c();
5024
5028
  transition_in(if_block, 1);
5025
5029
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -5050,7 +5054,7 @@ function create_fragment$y(ctx) {
5050
5054
  };
5051
5055
  }
5052
5056
 
5053
- function instance$y($$self, $$props, $$invalidate) {
5057
+ function instance$z($$self, $$props, $$invalidate) {
5054
5058
  let { duration = 0 } = $$props;
5055
5059
  let { visible } = $$props;
5056
5060
  let { northDesc } = $$props;
@@ -5108,8 +5112,8 @@ class Main$1 extends SvelteComponent {
5108
5112
  init(
5109
5113
  this,
5110
5114
  options,
5111
- instance$y,
5112
- create_fragment$y,
5115
+ instance$z,
5116
+ create_fragment$z,
5113
5117
  safe_not_equal,
5114
5118
  {
5115
5119
  duration: 0,
@@ -5127,7 +5131,7 @@ class Main$1 extends SvelteComponent {
5127
5131
  getLabelElement: 12,
5128
5132
  adaptiveRoomLabelVisibleEnable: 13
5129
5133
  },
5130
- add_css$w
5134
+ add_css$x
5131
5135
  );
5132
5136
  }
5133
5137
  }
@@ -7323,11 +7327,11 @@ function throttle$1(func, wait = 200) {
7323
7327
 
7324
7328
  /* src/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte generated by Svelte v3.50.1 */
7325
7329
 
7326
- function add_css$v(target) {
7330
+ function add_css$w(target) {
7327
7331
  append_styles(target, "svelte-1nqrlxd", ".plugin-radar__camera-wrapper.svelte-1nqrlxd{width:100%;height:100%;position:absolute;pointer-events:none}.plugin-radar__camera-position.svelte-1nqrlxd{position:absolute;left:0;top:0;width:0;height:0;transform:none;pointer-events:none;transition:transform 1s linear}.plugin-radar__camera-rotate.svelte-1nqrlxd{position:absolute;left:-0.9375rem;top:-0.9375rem;width:1.0625rem;height:1.0625rem;transform-origin:0.9375rem 0.9375rem;transform:rotate(45deg);background-repeat:no-repeat;background-size:100%}");
7328
7332
  }
7329
7333
 
7330
- function create_fragment$x(ctx) {
7334
+ function create_fragment$y(ctx) {
7331
7335
  let div2;
7332
7336
  let div1;
7333
7337
  let div0;
@@ -7377,7 +7381,7 @@ function getCameraRotateTransform(longitude) {
7377
7381
  return `rotate(${rotate}deg)`;
7378
7382
  }
7379
7383
 
7380
- function instance$x($$self, $$props, $$invalidate) {
7384
+ function instance$y($$self, $$props, $$invalidate) {
7381
7385
  let positionTransform;
7382
7386
  let rotateTransform;
7383
7387
  let { five } = $$props;
@@ -7457,8 +7461,8 @@ class Camera extends SvelteComponent {
7457
7461
  init(
7458
7462
  this,
7459
7463
  options,
7460
- instance$x,
7461
- create_fragment$x,
7464
+ instance$y,
7465
+ create_fragment$y,
7462
7466
  safe_not_equal,
7463
7467
  {
7464
7468
  five: 3,
@@ -7466,14 +7470,14 @@ class Camera extends SvelteComponent {
7466
7470
  floorplanData: 5,
7467
7471
  cameraImageUrl: 0
7468
7472
  },
7469
- add_css$v
7473
+ add_css$w
7470
7474
  );
7471
7475
  }
7472
7476
  }
7473
7477
 
7474
7478
  /* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte generated by Svelte v3.50.1 */
7475
7479
 
7476
- function add_css$u(target) {
7480
+ function add_css$v(target) {
7477
7481
  append_styles(target, "svelte-1i87fz7", ".plugin-pano-floorplan__extra-objects.svelte-1i87fz7{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.plugin-pano-floorplan__extra-object-item--position.svelte-1i87fz7{position:absolute;width:0;height:0}.plugin-pano-floorplan__extra-object-item.svelte-1i87fz7{transform:translate(-50%, -50%)}");
7478
7482
  }
7479
7483
 
@@ -7543,7 +7547,7 @@ function create_each_block$b(key_1, ctx) {
7543
7547
  };
7544
7548
  }
7545
7549
 
7546
- function create_fragment$w(ctx) {
7550
+ function create_fragment$x(ctx) {
7547
7551
  let div;
7548
7552
  let each_blocks = [];
7549
7553
  let each_1_lookup = new Map();
@@ -7591,7 +7595,7 @@ function create_fragment$w(ctx) {
7591
7595
  };
7592
7596
  }
7593
7597
 
7594
- function instance$w($$self, $$props, $$invalidate) {
7598
+ function instance$x($$self, $$props, $$invalidate) {
7595
7599
  let { extraObjects = [] } = $$props;
7596
7600
 
7597
7601
  $$self.$$set = $$props => {
@@ -7604,13 +7608,13 @@ function instance$w($$self, $$props, $$invalidate) {
7604
7608
  class ExtraObjects extends SvelteComponent {
7605
7609
  constructor(options) {
7606
7610
  super();
7607
- init(this, options, instance$w, create_fragment$w, safe_not_equal, { extraObjects: 0 }, add_css$u);
7611
+ init(this, options, instance$x, create_fragment$x, safe_not_equal, { extraObjects: 0 }, add_css$v);
7608
7612
  }
7609
7613
  }
7610
7614
 
7611
7615
  /* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte generated by Svelte v3.50.1 */
7612
7616
 
7613
- function create_if_block$l(ctx) {
7617
+ function create_if_block$m(ctx) {
7614
7618
  let highlight;
7615
7619
  let current;
7616
7620
 
@@ -7670,7 +7674,7 @@ function create_if_block$l(ctx) {
7670
7674
  };
7671
7675
  }
7672
7676
 
7673
- function create_fragment$v(ctx) {
7677
+ function create_fragment$w(ctx) {
7674
7678
  let baseimage;
7675
7679
  let t0;
7676
7680
  let extraobjects;
@@ -7699,7 +7703,7 @@ function create_fragment$v(ctx) {
7699
7703
  }
7700
7704
  });
7701
7705
 
7702
- let if_block = /*hoverEnable*/ ctx[3] && create_if_block$l(ctx);
7706
+ let if_block = /*hoverEnable*/ ctx[3] && create_if_block$m(ctx);
7703
7707
 
7704
7708
  return {
7705
7709
  c() {
@@ -7742,7 +7746,7 @@ function create_fragment$v(ctx) {
7742
7746
  transition_in(if_block, 1);
7743
7747
  }
7744
7748
  } else {
7745
- if_block = create_if_block$l(ctx);
7749
+ if_block = create_if_block$m(ctx);
7746
7750
  if_block.c();
7747
7751
  transition_in(if_block, 1);
7748
7752
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -7781,7 +7785,7 @@ function create_fragment$v(ctx) {
7781
7785
  };
7782
7786
  }
7783
7787
 
7784
- function instance$v($$self, $$props, $$invalidate) {
7788
+ function instance$w($$self, $$props, $$invalidate) {
7785
7789
  let currentFloorExtraObjects;
7786
7790
  let { five } = $$props;
7787
7791
  let { pxmm } = $$props;
@@ -7824,7 +7828,7 @@ class CurrentFloor extends SvelteComponent {
7824
7828
  constructor(options) {
7825
7829
  super();
7826
7830
 
7827
- init(this, options, instance$v, create_fragment$v, safe_not_equal, {
7831
+ init(this, options, instance$w, create_fragment$w, safe_not_equal, {
7828
7832
  five: 0,
7829
7833
  pxmm: 1,
7830
7834
  floorIndex: 2,
@@ -7837,16 +7841,16 @@ class CurrentFloor extends SvelteComponent {
7837
7841
 
7838
7842
  /* src/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte generated by Svelte v3.50.1 */
7839
7843
 
7840
- function add_css$t(target) {
7844
+ function add_css$u(target) {
7841
7845
  append_styles(target, "svelte-1mvqyqq", ".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}");
7842
7846
  }
7843
7847
 
7844
7848
  // (41:0) {#if visible}
7845
- function create_if_block$k(ctx) {
7849
+ function create_if_block$l(ctx) {
7846
7850
  let div;
7847
7851
  let div_resize_listener;
7848
7852
  let current;
7849
- let if_block = /*clientWidth*/ ctx[6] !== 0 && create_if_block_1$8(ctx);
7853
+ let if_block = /*clientWidth*/ ctx[6] !== 0 && create_if_block_1$9(ctx);
7850
7854
 
7851
7855
  return {
7852
7856
  c() {
@@ -7870,7 +7874,7 @@ function create_if_block$k(ctx) {
7870
7874
  transition_in(if_block, 1);
7871
7875
  }
7872
7876
  } else {
7873
- if_block = create_if_block_1$8(ctx);
7877
+ if_block = create_if_block_1$9(ctx);
7874
7878
  if_block.c();
7875
7879
  transition_in(if_block, 1);
7876
7880
  if_block.m(div, null);
@@ -7903,7 +7907,7 @@ function create_if_block$k(ctx) {
7903
7907
  }
7904
7908
 
7905
7909
  // (43:4) {#if clientWidth !== 0}
7906
- function create_if_block_1$8(ctx) {
7910
+ function create_if_block_1$9(ctx) {
7907
7911
  let div;
7908
7912
  let currentfloor;
7909
7913
  let t;
@@ -8021,10 +8025,10 @@ function create_if_block_1$8(ctx) {
8021
8025
  };
8022
8026
  }
8023
8027
 
8024
- function create_fragment$u(ctx) {
8028
+ function create_fragment$v(ctx) {
8025
8029
  let if_block_anchor;
8026
8030
  let current;
8027
- let if_block = /*visible*/ ctx[1] && create_if_block$k(ctx);
8031
+ let if_block = /*visible*/ ctx[1] && create_if_block$l(ctx);
8028
8032
 
8029
8033
  return {
8030
8034
  c() {
@@ -8045,7 +8049,7 @@ function create_fragment$u(ctx) {
8045
8049
  transition_in(if_block, 1);
8046
8050
  }
8047
8051
  } else {
8048
- if_block = create_if_block$k(ctx);
8052
+ if_block = create_if_block$l(ctx);
8049
8053
  if_block.c();
8050
8054
  transition_in(if_block, 1);
8051
8055
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -8076,7 +8080,7 @@ function create_fragment$u(ctx) {
8076
8080
  };
8077
8081
  }
8078
8082
 
8079
- function instance$u($$self, $$props, $$invalidate) {
8083
+ function instance$v($$self, $$props, $$invalidate) {
8080
8084
  let { five } = $$props;
8081
8085
  let { visible } = $$props;
8082
8086
  let { hoverEnable } = $$props;
@@ -8162,8 +8166,8 @@ class Main extends SvelteComponent {
8162
8166
  init(
8163
8167
  this,
8164
8168
  options,
8165
- instance$u,
8166
- create_fragment$u,
8169
+ instance$v,
8170
+ create_fragment$v,
8167
8171
  safe_not_equal,
8168
8172
  {
8169
8173
  five: 0,
@@ -8173,7 +8177,7 @@ class Main extends SvelteComponent {
8173
8177
  cameraImageUrl: 4,
8174
8178
  extraObjects: 5
8175
8179
  },
8176
- add_css$t
8180
+ add_css$u
8177
8181
  );
8178
8182
  }
8179
8183
  }
@@ -9642,7 +9646,7 @@ const PanoRulerPlugin = (five, params) => {
9642
9646
 
9643
9647
  /* src/PanoRulerProPlugin/RulerItem.svelte generated by Svelte v3.50.1 */
9644
9648
 
9645
- function add_css$s(target) {
9649
+ function add_css$t(target) {
9646
9650
  append_styles(target, "svelte-qy4ud2", ".PanoRulerPlugin-rule-line.svelte-qy4ud2.svelte-qy4ud2{position:absolute;transform-origin:left 0.0625rem;width:0;height:0.125rem;pointer-events:none}.PanoRulerPlugin-rule-line.svelte-qy4ud2.svelte-qy4ud2::after{content:'';position:absolute;left:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;-webkit-animation:svelte-qy4ud2-viewport-rule-point 0.1s 1s;animation:svelte-qy4ud2-viewport-rule-point 0.1s 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-qy4ud2.svelte-qy4ud2::before{content:'';position:absolute;right:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;-webkit-animation:svelte-qy4ud2-viewport-rule-point 0.1s 1.5s;animation:svelte-qy4ud2-viewport-rule-point 0.1s 1.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-qy4ud2 em.svelte-qy4ud2{display:block;height:0.0625rem;-webkit-animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;box-shadow:0 0 0.25rem rgb(0 0 0 / 40%);position:relative}.rule-mixed-line.svelte-qy4ud2.svelte-qy4ud2{display:flex;height:0.0625rem;-webkit-animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;align-items:center}.em-solid.svelte-qy4ud2.svelte-qy4ud2{height:100%;background:#ffffff}.em-dotted.svelte-qy4ud2.svelte-qy4ud2{height:0.125rem;background:var(--background-image);background-position:center;background-repeat:repeat}.PanoRulerPlugin-rule-label.svelte-qy4ud2.svelte-qy4ud2{position:absolute;width:0;height:0;top:0.0625rem;pointer-events:none}.PanoRulerPlugin-rule-label-name.svelte-qy4ud2.svelte-qy4ud2{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;-webkit-animation:svelte-qy4ud2-viewport-rule-label 0.25s ease 1s;animation:svelte-qy4ud2-viewport-rule-label 0.25s ease 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;box-shadow:inset 0 0 0.625rem 0 rgba(255, 255, 255, 0.3)}@-webkit-keyframes svelte-qy4ud2-viewport-rule-line{0%{width:0%}100%{width:100%}}@keyframes svelte-qy4ud2-viewport-rule-line{0%{width:0%}100%{width:100%}}@-webkit-keyframes svelte-qy4ud2-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@keyframes svelte-qy4ud2-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@-webkit-keyframes svelte-qy4ud2-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}@keyframes svelte-qy4ud2-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}");
9647
9651
  }
9648
9652
 
@@ -9653,7 +9657,7 @@ function get_each_context$a(ctx, list, i) {
9653
9657
  }
9654
9658
 
9655
9659
  // (28:2) {:else}
9656
- function create_else_block$2(ctx) {
9660
+ function create_else_block$3(ctx) {
9657
9661
  let div;
9658
9662
  let each_value = /*rulerItemProp*/ ctx[0].children;
9659
9663
  let each_blocks = [];
@@ -9711,7 +9715,7 @@ function create_else_block$2(ctx) {
9711
9715
  }
9712
9716
 
9713
9717
  // (26:2) {#if rulerItemProp.children.length === 0}
9714
- function create_if_block$j(ctx) {
9718
+ function create_if_block$k(ctx) {
9715
9719
  let em;
9716
9720
  let em_class_value;
9717
9721
 
@@ -9780,7 +9784,7 @@ function create_each_block$a(ctx) {
9780
9784
  };
9781
9785
  }
9782
9786
 
9783
- function create_fragment$t(ctx) {
9787
+ function create_fragment$u(ctx) {
9784
9788
  let div2;
9785
9789
  let t0;
9786
9790
  let div1;
@@ -9795,8 +9799,8 @@ function create_fragment$t(ctx) {
9795
9799
  let style_transform = `rotate(${/*rulerItemProp*/ ctx[0].rotateDeg}deg)`;
9796
9800
 
9797
9801
  function select_block_type(ctx, dirty) {
9798
- if (/*rulerItemProp*/ ctx[0].children.length === 0) return create_if_block$j;
9799
- return create_else_block$2;
9802
+ if (/*rulerItemProp*/ ctx[0].children.length === 0) return create_if_block$k;
9803
+ return create_else_block$3;
9800
9804
  }
9801
9805
 
9802
9806
  let current_block_type = select_block_type(ctx);
@@ -9894,7 +9898,7 @@ function create_fragment$t(ctx) {
9894
9898
  };
9895
9899
  }
9896
9900
 
9897
- function instance$t($$self, $$props, $$invalidate) {
9901
+ function instance$u($$self, $$props, $$invalidate) {
9898
9902
  let vars;
9899
9903
  let { rulerItemProp } = $$props;
9900
9904
  let _visible = true;
@@ -9929,7 +9933,7 @@ function instance$t($$self, $$props, $$invalidate) {
9929
9933
  class RulerItem extends SvelteComponent {
9930
9934
  constructor(options) {
9931
9935
  super();
9932
- init(this, options, instance$t, create_fragment$t, safe_not_equal, { rulerItemProp: 0 }, add_css$s);
9936
+ init(this, options, instance$u, create_fragment$u, safe_not_equal, { rulerItemProp: 0 }, add_css$t);
9933
9937
  }
9934
9938
  }
9935
9939
 
@@ -9978,7 +9982,7 @@ function create_each_block$9(ctx) {
9978
9982
  };
9979
9983
  }
9980
9984
 
9981
- function create_fragment$s(ctx) {
9985
+ function create_fragment$t(ctx) {
9982
9986
  let div;
9983
9987
  let current;
9984
9988
  let each_value = /*rulerItemProp*/ ctx[0];
@@ -10062,7 +10066,7 @@ function create_fragment$s(ctx) {
10062
10066
  };
10063
10067
  }
10064
10068
 
10065
- function instance$s($$self, $$props, $$invalidate) {
10069
+ function instance$t($$self, $$props, $$invalidate) {
10066
10070
  var _a, _b, _c, _d;
10067
10071
  let { five } = $$props;
10068
10072
  let { rulerDatas } = $$props;
@@ -10280,7 +10284,7 @@ function instance$s($$self, $$props, $$invalidate) {
10280
10284
  class RulerItems extends SvelteComponent {
10281
10285
  constructor(options) {
10282
10286
  super();
10283
- init(this, options, instance$s, create_fragment$s, safe_not_equal, { five: 1, rulerDatas: 2, options: 3 });
10287
+ init(this, options, instance$t, create_fragment$t, safe_not_equal, { five: 1, rulerDatas: 2, options: 3 });
10284
10288
  }
10285
10289
  }
10286
10290
 
@@ -15013,7 +15017,7 @@ const currentTarget = writable(null);
15013
15017
 
15014
15018
  /* src/PanoSpatialTagPlugin/Components/origins.svelte generated by Svelte v3.50.1 */
15015
15019
 
15016
- function add_css$r(target) {
15020
+ function add_css$s(target) {
15017
15021
  append_styles(target, "svelte-1kuu68s", ".PanoSpatialTagPlugin__tag-origin.svelte-1kuu68s{position:absolute;width:0.5rem;height:0.5rem;border-radius:50%;background:#fff;box-shadow:0 0 .6rem #fff;transform:translate(-50%, -50%) scale(1);transform-origin:center center;-webkit-animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin 1.2s forwards;animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin 1.2s forwards;pointer-events:auto}.PanoSpatialTagPlugin__tag-origin.svelte-1kuu68s:after{content:'';position:absolute;top:50%;height:50%;width:2rem;height:2rem;transform:translate(-50%, -50%)}.PanoSpatialTagPlugin__tag-origin-destroy.svelte-1kuu68s{transform:translate(-50%, -50%) scale(0.6);-webkit-animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s;animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s}@-webkit-keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@-webkit-keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy{0%{transform:translate(-50%, -50%) scale(0.6);opacity:1}10%{transform:translate(-50%, -50%) scale(1);opacity:0.9}100%{transform:translate(-50%, -50%) scale(1);opacity:0}}@keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy{0%{transform:translate(-50%, -50%) scale(0.6);opacity:1}10%{transform:translate(-50%, -50%) scale(1);opacity:0.9}100%{transform:translate(-50%, -50%) scale(1);opacity:0}}");
15018
15022
  }
15019
15023
 
@@ -15080,7 +15084,7 @@ function create_each_block$8(ctx) {
15080
15084
  };
15081
15085
  }
15082
15086
 
15083
- function create_fragment$r(ctx) {
15087
+ function create_fragment$s(ctx) {
15084
15088
  let each_1_anchor;
15085
15089
  let each_value = /*origins*/ ctx[0];
15086
15090
  let each_blocks = [];
@@ -15137,7 +15141,7 @@ function create_fragment$r(ctx) {
15137
15141
  };
15138
15142
  }
15139
15143
 
15140
- function instance$r($$self, $$props, $$invalidate) {
15144
+ function instance$s($$self, $$props, $$invalidate) {
15141
15145
  let { origins } = $$props;
15142
15146
 
15143
15147
  const handleClick = id => {
@@ -15156,17 +15160,17 @@ function instance$r($$self, $$props, $$invalidate) {
15156
15160
  class Origins extends SvelteComponent {
15157
15161
  constructor(options) {
15158
15162
  super();
15159
- init(this, options, instance$r, create_fragment$r, safe_not_equal, { origins: 0 }, add_css$r);
15163
+ init(this, options, instance$s, create_fragment$s, safe_not_equal, { origins: 0 }, add_css$s);
15160
15164
  }
15161
15165
  }
15162
15166
 
15163
15167
  /* src/PanoSpatialTagPlugin/Components/tag.svelte generated by Svelte v3.50.1 */
15164
15168
 
15165
- function add_css$q(target) {
15169
+ function add_css$r(target) {
15166
15170
  append_styles(target, "svelte-eb8bdm", ".PanoSpatialTagPlugin__tag-x.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:0;display:block;white-space:nowrap;box-sizing:border-box;width:25rem;height:14rem;color:#FFF;transform:translate(0, -100%);transition:height .5s linear}.PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm.svelte-eb8bdm{content:'';position:absolute;width:30rem;height:30rem;top:-15rem;left:-15rem;z-index:-1;opacity:0;transition:opacity .8s .6s;background:url('https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png');background-size:30rem 30rem}.PanoSpatialTagPlugin__tag-line.svelte-eb8bdm.svelte-eb8bdm{position:absolute;left:-1rem;width:2rem;height:100%;overflow:hidden}.PanoSpatialTagPlugin__tag-flagpole.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:1rem;height:calc(100% - 1.5rem);width:.15rem;background:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, .1));box-shadow:0 .1rem .5rem rgba(0, 0, 0, .2);opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform .4s cubic-bezier(.44,.44,.74,.98) , opacity .4s cubic-bezier(.44,.44,.74,.98), width .5s linear, height .5s linear ;transform-origin:center bottom}.PanoSpatialTagPlugin__tag-line1.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:0.3rem;height:1.8rem;width:.1rem;background:#fff;opacity:0;transform:translate(-50%, 200%) scaleY(0);transform-origin:center top}.PanoSpatialTagPlugin__tag-line2.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:0.5rem;height:1.8rem;width:.1rem;background:#fff;opacity:0;transform:translate(-50%, 200%) scaleY(0);transform-origin:center top}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line1.svelte-eb8bdm{-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1 linear .5s forwards .45s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1 linear .5s forwards .45s}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line2.svelte-eb8bdm{-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2 linear .5s forwards .65s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2 linear .5s forwards .65s}.PanoSpatialTagPlugin__tag-x.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm.svelte-eb8bdm{transform:translate(0, 0)}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line.svelte-eb8bdm{transform:scaleY(-1)}.PanoSpatialTagPlugin__tag-animate.svelte-eb8bdm.svelte-eb8bdm{position:relative;height:100%;overflow:hidden;transform-origin:left top;transition:transform .5s linear}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-animate.svelte-eb8bdm{transform-origin:left bottom}.PanoSpatialTagPlugin__tag-content.svelte-eb8bdm.svelte-eb8bdm{position:absolute;display:inline-block;transform:translate(-100%, 0);transition:transform .9s cubic-bezier(0,.65,.16,1.08) .6s;padding-left:.5rem;font-size:1rem}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content.svelte-eb8bdm{bottom:0}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-flagpole.svelte-eb8bdm{opacity:1;transform:translate(-50%, 0) scaleY(1)}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm{top:unset;bottom:-15rem}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm{opacity:.32}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content.svelte-eb8bdm{transform:translate(0, 0)}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-flagpole.svelte-eb8bdm{opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform .5s .55s, opacity .4s .55s}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm{opacity:0;transition:opacity .8s}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content.svelte-eb8bdm{transform:translate(-100%, 0);transition:transform .6s cubic-bezier(.53,.06,.88,.59)}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content .svelte-eb8bdm{pointer-events:none}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line1.svelte-eb8bdm{opacity:0.5;transform:translate(-50%, 10%) scaleY(0);-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide linear .28s forwards .3s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide linear .28s forwards .3s}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line2.svelte-eb8bdm{opacity:0.5;transform:translate(-50%, 0) scaleY(0);-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide linear .28s forwards .45s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide linear .28s forwards .45s}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 135%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 20%) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 135%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 20%) scaleY(0)}}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 125%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 125%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide{0%{opacity:0.5;transform:translate(-50%, 10%) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 105%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide{0%{opacity:0.5;transform:translate(-50%, 10%) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 105%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide{0%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 100%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide{0%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 100%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}");
15167
15171
  }
15168
15172
 
15169
- function create_fragment$q(ctx) {
15173
+ function create_fragment$r(ctx) {
15170
15174
  let div4;
15171
15175
  let div0;
15172
15176
  let t0;
@@ -15281,7 +15285,7 @@ function create_fragment$q(ctx) {
15281
15285
  };
15282
15286
  }
15283
15287
 
15284
- function instance$q($$self, $$props, $$invalidate) {
15288
+ function instance$r($$self, $$props, $$invalidate) {
15285
15289
  let { id } = $$props;
15286
15290
  let { upsideDown } = $$props;
15287
15291
  let { content } = $$props;
@@ -15418,8 +15422,8 @@ class Tag$1 extends SvelteComponent {
15418
15422
  init(
15419
15423
  this,
15420
15424
  options,
15421
- instance$q,
15422
- create_fragment$q,
15425
+ instance$r,
15426
+ create_fragment$r,
15423
15427
  safe_not_equal,
15424
15428
  {
15425
15429
  id: 0,
@@ -15434,7 +15438,7 @@ class Tag$1 extends SvelteComponent {
15434
15438
  events: 14,
15435
15439
  hooks: 15
15436
15440
  },
15437
- add_css$q
15441
+ add_css$r
15438
15442
  );
15439
15443
  }
15440
15444
  }
@@ -16088,11 +16092,11 @@ var DISPLAY_STRATEGY_TYPE;
16088
16092
 
16089
16093
  /* src/ModelItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.50.1 */
16090
16094
 
16091
- function add_css$p(target) {
16095
+ function add_css$q(target) {
16092
16096
  append_styles(target, "svelte-lmta6z", ".item-label-item.svelte-lmta6z{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-lmta6z{opacity:1;-webkit-animation:svelte-lmta6z-fadeIn .3s ease-in;animation:svelte-lmta6z-fadeIn .3s ease-in}.item-label-item__text-wrap.svelte-lmta6z::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-lmta6z{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-lmta6z{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-lmta6z{position:absolute;bottom:0;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(234, 208, 154, 0), rgba(234, 208, 154, 1))}@-webkit-keyframes svelte-lmta6z-fadeIn{from{opacity:0\n }to{opacity:1\n }}@keyframes svelte-lmta6z-fadeIn{from{opacity:0\n }to{opacity:1\n }}");
16093
16097
  }
16094
16098
 
16095
- function create_fragment$p(ctx) {
16099
+ function create_fragment$q(ctx) {
16096
16100
  let div2;
16097
16101
  let div0;
16098
16102
  let span;
@@ -16173,7 +16177,7 @@ function create_fragment$p(ctx) {
16173
16177
  };
16174
16178
  }
16175
16179
 
16176
- function instance$p($$self, $$props, $$invalidate) {
16180
+ function instance$q($$self, $$props, $$invalidate) {
16177
16181
  let { itemLabel } = $$props;
16178
16182
  let { hooks } = $$props;
16179
16183
 
@@ -16193,7 +16197,7 @@ function instance$p($$self, $$props, $$invalidate) {
16193
16197
  class ItemLabelItem$1 extends SvelteComponent {
16194
16198
  constructor(options) {
16195
16199
  super();
16196
- init(this, options, instance$p, create_fragment$p, safe_not_equal, { itemLabel: 0, hooks: 2 }, add_css$p);
16200
+ init(this, options, instance$q, create_fragment$q, safe_not_equal, { itemLabel: 0, hooks: 2 }, add_css$q);
16197
16201
  }
16198
16202
  }
16199
16203
 
@@ -16214,7 +16218,7 @@ function debounce$1(func, wait = 200) {
16214
16218
 
16215
16219
  /* src/ModelItemLabelPlugin/ItemLabelComponent.svelte generated by Svelte v3.50.1 */
16216
16220
 
16217
- function add_css$o(target) {
16221
+ function add_css$p(target) {
16218
16222
  append_styles(target, "svelte-gk8s47", ".item-labels-container.svelte-gk8s47{width:100%;height:100%;position:relative}");
16219
16223
  }
16220
16224
 
@@ -16273,7 +16277,7 @@ function create_each_block$7(key_1, ctx) {
16273
16277
  };
16274
16278
  }
16275
16279
 
16276
- function create_fragment$o(ctx) {
16280
+ function create_fragment$p(ctx) {
16277
16281
  let div;
16278
16282
  let each_blocks = [];
16279
16283
  let each_1_lookup = new Map();
@@ -16353,7 +16357,7 @@ function create_fragment$o(ctx) {
16353
16357
  let cssHeight = 26;
16354
16358
  let basicWidth$1 = 11;
16355
16359
 
16356
- function instance$o($$self, $$props, $$invalidate) {
16360
+ function instance$p($$self, $$props, $$invalidate) {
16357
16361
  const { Raycaster, Vector3 } = THREE;
16358
16362
  let { five } = $$props;
16359
16363
  let { modelOcclusionEnable } = $$props;
@@ -16555,8 +16559,8 @@ class ItemLabelComponent$1 extends SvelteComponent {
16555
16559
  init(
16556
16560
  this,
16557
16561
  options,
16558
- instance$o,
16559
- create_fragment$o,
16562
+ instance$p,
16563
+ create_fragment$p,
16560
16564
  safe_not_equal,
16561
16565
  {
16562
16566
  five: 5,
@@ -16565,7 +16569,7 @@ class ItemLabelComponent$1 extends SvelteComponent {
16565
16569
  hooks: 0,
16566
16570
  displayStrategyType: 8
16567
16571
  },
16568
- add_css$o
16572
+ add_css$p
16569
16573
  );
16570
16574
  }
16571
16575
  }
@@ -16979,12 +16983,12 @@ var ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE;
16979
16983
 
16980
16984
  /* src/ItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.50.1 */
16981
16985
 
16982
- function add_css$n(target) {
16986
+ function add_css$o(target) {
16983
16987
  append_styles(target, "svelte-pd1uj6", ".item-label-item.svelte-pd1uj6.svelte-pd1uj6{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-animation:svelte-pd1uj6-fadeIn .3s ease-in;animation:svelte-pd1uj6-fadeIn .3s ease-in}.item-label-item.fold.svelte-pd1uj6>.item-label-item__text-wrap.svelte-pd1uj6{visibility:hidden}.item-label-item.fold.svelte-pd1uj6>.item-label-item__bar.anchor.svelte-pd1uj6{visibility:hidden}.item-label-item.fold.svelte-pd1uj6>.item-label-item__bar.anchor.svelte-pd1uj6:after{visibility:visible}.item-label-item__text-wrap.svelte-pd1uj6.svelte-pd1uj6{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;padding:0.75rem 1.25rem 0.75rem 0.75rem;position:absolute;width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:29.5625rem;min-height:5.75rem;background-image:linear-gradient(269deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.60) 49%, rgba(31, 38, 46, 0.70) 100%);border:0.09375rem solid rgba(255, 255, 255, .65);border-radius:0.1875rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.item-label-item__custom.svelte-pd1uj6.svelte-pd1uj6{padding:0;max-width:unset;min-height:unset;background-image:unset;border:0;border-radius:0}.icon-wrap.svelte-pd1uj6.svelte-pd1uj6{width:4.25rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-pd1uj6.svelte-pd1uj6{width:4.25rem;height:4.25rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-pd1uj6.svelte-pd1uj6{margin-left:0.75rem;padding-left:0.75rem;min-height:4.25rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, .2) 0.0625rem;border-top:solid rgba(255, 255, 255, .2) 0;border-right:solid rgba(255, 255, 255, .2) 0;border-bottom:solid rgba(255, 255, 255, .2) 0;pointer-events:auto}.item-model.svelte-pd1uj6.svelte-pd1uj6{white-space:nowrap;font-size:1.375rem;font-weight:bold;line-height:1.875rem}.item-name.svelte-pd1uj6.svelte-pd1uj6{height:auto;word-wrap:break-word;word-break:break-all;font-size:1.25rem;line-height:1.75rem}.item-label-item__bar.svelte-pd1uj6.svelte-pd1uj6{position:absolute;bottom:0;width:0.1875rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.20);pointer-events:none}.item-label-item__bar.anchor.svelte-pd1uj6.svelte-pd1uj6:after{content:'';position:absolute;bottom:0;width:1.5rem;height:1.5rem;background-image:url(\"//vrlab-public.ljcdn.com/common/file/web/67e7a198-28c9-47dc-879b-507bd3ae600c.png \");background-position:center;background-size:contain;transform:translate(-0.65625rem, 50%)}@-webkit-keyframes svelte-pd1uj6-fadeIn{from{opacity:0\n }to{opacity:1\n }}@keyframes svelte-pd1uj6-fadeIn{from{opacity:0\n }to{opacity:1\n }}");
16984
16988
  }
16985
16989
 
16986
16990
  // (34:8) {:else}
16987
- function create_else_block$1(ctx) {
16991
+ function create_else_block$2(ctx) {
16988
16992
  let t0;
16989
16993
  let div;
16990
16994
  let span0;
@@ -16994,7 +16998,7 @@ function create_else_block$1(ctx) {
16994
16998
  let span1;
16995
16999
  let t3_value = /*itemLabel*/ ctx[0].name + "";
16996
17000
  let t3;
16997
- let if_block = /*itemLabel*/ ctx[0].icon && create_if_block_1$7(ctx);
17001
+ let if_block = /*itemLabel*/ ctx[0].icon && create_if_block_1$8(ctx);
16998
17002
 
16999
17003
  return {
17000
17004
  c() {
@@ -17025,7 +17029,7 @@ function create_else_block$1(ctx) {
17025
17029
  if (if_block) {
17026
17030
  if_block.p(ctx, dirty);
17027
17031
  } else {
17028
- if_block = create_if_block_1$7(ctx);
17032
+ if_block = create_if_block_1$8(ctx);
17029
17033
  if_block.c();
17030
17034
  if_block.m(t0.parentNode, t0);
17031
17035
  }
@@ -17046,7 +17050,7 @@ function create_else_block$1(ctx) {
17046
17050
  }
17047
17051
 
17048
17052
  // (32:8) {#if Boolean(typeof itemLabel.render === 'function')}
17049
- function create_if_block$i(ctx) {
17053
+ function create_if_block$j(ctx) {
17050
17054
  let div;
17051
17055
 
17052
17056
  return {
@@ -17066,7 +17070,7 @@ function create_if_block$i(ctx) {
17066
17070
  }
17067
17071
 
17068
17072
  // (35:12) {#if itemLabel.icon}
17069
- function create_if_block_1$7(ctx) {
17073
+ function create_if_block_1$8(ctx) {
17070
17074
  let div1;
17071
17075
  let div0;
17072
17076
  let div0_style_value;
@@ -17103,7 +17107,7 @@ function create_if_block_1$7(ctx) {
17103
17107
  };
17104
17108
  }
17105
17109
 
17106
- function create_fragment$n(ctx) {
17110
+ function create_fragment$o(ctx) {
17107
17111
  let div2;
17108
17112
  let div0;
17109
17113
  let show_if;
@@ -17118,8 +17122,8 @@ function create_fragment$n(ctx) {
17118
17122
  function select_block_type(ctx, dirty) {
17119
17123
  if (dirty & /*itemLabel*/ 1) show_if = null;
17120
17124
  if (show_if == null) show_if = !!Boolean(typeof /*itemLabel*/ ctx[0].render === 'function');
17121
- if (show_if) return create_if_block$i;
17122
- return create_else_block$1;
17125
+ if (show_if) return create_if_block$j;
17126
+ return create_else_block$2;
17123
17127
  }
17124
17128
 
17125
17129
  let current_block_type = select_block_type(ctx, -1);
@@ -17210,7 +17214,7 @@ function create_fragment$n(ctx) {
17210
17214
  };
17211
17215
  }
17212
17216
 
17213
- function instance$n($$self, $$props, $$invalidate) {
17217
+ function instance$o($$self, $$props, $$invalidate) {
17214
17218
  let { itemLabel } = $$props;
17215
17219
  let { hooks } = $$props;
17216
17220
  let { anchorEnabled } = $$props;
@@ -17274,8 +17278,8 @@ class ItemLabelItem extends SvelteComponent {
17274
17278
  init(
17275
17279
  this,
17276
17280
  options,
17277
- instance$n,
17278
- create_fragment$n,
17281
+ instance$o,
17282
+ create_fragment$o,
17279
17283
  safe_not_equal,
17280
17284
  {
17281
17285
  itemLabel: 0,
@@ -17283,7 +17287,7 @@ class ItemLabelItem extends SvelteComponent {
17283
17287
  anchorEnabled: 1,
17284
17288
  onIconClick: 2
17285
17289
  },
17286
- add_css$n
17290
+ add_css$o
17287
17291
  );
17288
17292
  }
17289
17293
  }
@@ -17328,7 +17332,7 @@ function transform2RenderData(data) {
17328
17332
 
17329
17333
  /* src/ItemLabelPlugin/ItemLabelComponent.svelte generated by Svelte v3.50.1 */
17330
17334
 
17331
- function add_css$m(target) {
17335
+ function add_css$n(target) {
17332
17336
  append_styles(target, "svelte-gk8s47", ".item-labels-container.svelte-gk8s47{width:100%;height:100%;position:relative}");
17333
17337
  }
17334
17338
 
@@ -17339,7 +17343,7 @@ function get_each_context$6(ctx, list, i) {
17339
17343
  }
17340
17344
 
17341
17345
  // (234:2) {#if itemLabelItem.visible}
17342
- function create_if_block$h(ctx) {
17346
+ function create_if_block$i(ctx) {
17343
17347
  let itemlabelitem;
17344
17348
  let current;
17345
17349
 
@@ -17387,7 +17391,7 @@ function create_each_block$6(key_1, ctx) {
17387
17391
  let first;
17388
17392
  let if_block_anchor;
17389
17393
  let current;
17390
- let if_block = /*itemLabelItem*/ ctx[31].visible && create_if_block$h(ctx);
17394
+ let if_block = /*itemLabelItem*/ ctx[31].visible && create_if_block$i(ctx);
17391
17395
 
17392
17396
  return {
17393
17397
  key: key_1,
@@ -17415,7 +17419,7 @@ function create_each_block$6(key_1, ctx) {
17415
17419
  transition_in(if_block, 1);
17416
17420
  }
17417
17421
  } else {
17418
- if_block = create_if_block$h(ctx);
17422
+ if_block = create_if_block$i(ctx);
17419
17423
  if_block.c();
17420
17424
  transition_in(if_block, 1);
17421
17425
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -17447,7 +17451,7 @@ function create_each_block$6(key_1, ctx) {
17447
17451
  };
17448
17452
  }
17449
17453
 
17450
- function create_fragment$m(ctx) {
17454
+ function create_fragment$n(ctx) {
17451
17455
  let div;
17452
17456
  let each_blocks = [];
17453
17457
  let each_1_lookup = new Map();
@@ -17525,7 +17529,7 @@ function create_fragment$m(ctx) {
17525
17529
  }
17526
17530
  let basicWidth = 11;
17527
17531
 
17528
- function instance$m($$self, $$props, $$invalidate) {
17532
+ function instance$n($$self, $$props, $$invalidate) {
17529
17533
  const { Raycaster, Vector3 } = THREE;
17530
17534
  let { five } = $$props;
17531
17535
  let { modelOcclusionEnable } = $$props;
@@ -17818,8 +17822,8 @@ class ItemLabelComponent extends SvelteComponent {
17818
17822
  init(
17819
17823
  this,
17820
17824
  options,
17821
- instance$m,
17822
- create_fragment$m,
17825
+ instance$n,
17826
+ create_fragment$n,
17823
17827
  safe_not_equal,
17824
17828
  {
17825
17829
  five: 7,
@@ -17830,7 +17834,7 @@ class ItemLabelComponent extends SvelteComponent {
17830
17834
  displayStrategyType: 11,
17831
17835
  maxVisibleDistance: 12
17832
17836
  },
17833
- add_css$m,
17837
+ add_css$n,
17834
17838
  [-1, -1]
17835
17839
  );
17836
17840
  }
@@ -18072,11 +18076,11 @@ class BasePanoPluginController extends Controller$7 {
18072
18076
 
18073
18077
  /* src/PanoDoorLabelPlugin/DoorLabelItem.svelte generated by Svelte v3.50.1 */
18074
18078
 
18075
- function add_css$l(target) {
18079
+ function add_css$m(target) {
18076
18080
  append_styles(target, "svelte-wpy7pz", ".plugin-DoorLabelPlugin-item.svelte-wpy7pz.svelte-wpy7pz{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;transition:opacity 0.3s ease}.plugin-DoorLabelPlugin-cnt.svelte-wpy7pz.svelte-wpy7pz{position:absolute;top:50%;left:50%;border-radius:0.125rem;background:rgba(0, 0, 0, 0.35);line-height:0.75rem;padding:0.375rem;white-space:nowrap;font-size:0.75rem;font-style:normal;color:white;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform ease 1s, background ease 0.3s, color ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-wpy7pz.svelte-wpy7pz::after{content:\"\";display:block;position:absolute;top:-0.0625rem;left:-0.0625rem;bottom:-0.0625rem;right:-0.0625rem;border-radius:0.125rem;border:0.0625rem solid rgba(0, 0, 0, 0);-o-border-image:url(\"//vrlab-image4.ljcdn.com/release/web/highlightCarouseal-border-image.14b51834.png\") 4;border-image:url(\"//vrlab-image4.ljcdn.com/release/web/highlightCarouseal-border-image.14b51834.png\") 4;transition:opacity ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-wpy7pz.svelte-wpy7pz:active,.plugin-DoorLabelPlugin-cnt.svelte-wpy7pz.svelte-wpy7pz:focus{background:rgba(0, 0, 0, 0.5);color:rgba(255, 255, 255, 0.5)}.plugin-DoorLabelPlugin-icon.svelte-wpy7pz.svelte-wpy7pz{background:url(\"//vrlab-image4.ljcdn.com/release/web/DoorLabel-icon.de1304ae.svg\") no-repeat;background-size:100%;display:inline-block;width:0.625rem;height:0.625rem;margin-left:0.25rem;transform-origin:center}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].left.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-wpy7pz .plugin-DoorLabelPlugin-txt.svelte-wpy7pz{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].forward.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-wpy7pz .plugin-DoorLabelPlugin-txt.svelte-wpy7pz{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].back.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-wpy7pz .plugin-DoorLabelPlugin-txt.svelte-wpy7pz{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].right.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-wpy7pz .plugin-DoorLabelPlugin-txt.svelte-wpy7pz{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-wpy7pz.svelte-wpy7pz{color:#f9eac1}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{background:url(\"//vrlab-image4.ljcdn.com/release/web/arrow.6e8ec00e.svg\") no-repeat}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-wpy7pz.svelte-wpy7pz:active,.plugin-DoorLabelPlugin-cnt--customBrand.svelte-wpy7pz.svelte-wpy7pz:focus{background:rgba(0, 0, 0, 0.5);color:rgba(249, 234, 193, 0.5)}");
18077
18081
  }
18078
18082
 
18079
- function create_fragment$l(ctx) {
18083
+ function create_fragment$m(ctx) {
18080
18084
  let div1;
18081
18085
  let div0;
18082
18086
  let span;
@@ -18131,7 +18135,7 @@ function create_fragment$l(ctx) {
18131
18135
  };
18132
18136
  }
18133
18137
 
18134
- function instance$l($$self, $$props, $$invalidate) {
18138
+ function instance$m($$self, $$props, $$invalidate) {
18135
18139
  let { props } = $$props;
18136
18140
  let { onClick } = $$props;
18137
18141
  let divElement;
@@ -18204,7 +18208,7 @@ function instance$l($$self, $$props, $$invalidate) {
18204
18208
  class DoorLabelItem extends SvelteComponent {
18205
18209
  constructor(options) {
18206
18210
  super();
18207
- init(this, options, instance$l, create_fragment$l, safe_not_equal, { props: 0, onClick: 1 }, add_css$l);
18211
+ init(this, options, instance$m, create_fragment$m, safe_not_equal, { props: 0, onClick: 1 }, add_css$m);
18208
18212
  }
18209
18213
  }
18210
18214
 
@@ -20323,12 +20327,12 @@ var LinkType;
20323
20327
 
20324
20328
  /* src/PanoTagPlugin/Components/Common/Line/Straight.svelte generated by Svelte v3.50.1 */
20325
20329
 
20326
- function add_css$k(target) {
20330
+ function add_css$l(target) {
20327
20331
  append_styles(target, "svelte-1omzoh4", ".straight-line.svelte-1omzoh4{display:block;width:100%;height:100%;overflow:visible}");
20328
20332
  }
20329
20333
 
20330
20334
  // (17:2) {#if unfolded}
20331
- function create_if_block$g(ctx) {
20335
+ function create_if_block$h(ctx) {
20332
20336
  let path;
20333
20337
  let path_intro;
20334
20338
  let path_outro;
@@ -20386,13 +20390,13 @@ function create_if_block$g(ctx) {
20386
20390
  };
20387
20391
  }
20388
20392
 
20389
- function create_fragment$k(ctx) {
20393
+ function create_fragment$l(ctx) {
20390
20394
  let svg;
20391
20395
  let defs;
20392
20396
  let linearGradient;
20393
20397
  let stop0;
20394
20398
  let stop1;
20395
- let if_block = /*unfolded*/ ctx[3] && create_if_block$g(ctx);
20399
+ let if_block = /*unfolded*/ ctx[3] && create_if_block$h(ctx);
20396
20400
 
20397
20401
  return {
20398
20402
  c() {
@@ -20431,7 +20435,7 @@ function create_fragment$k(ctx) {
20431
20435
  transition_in(if_block, 1);
20432
20436
  }
20433
20437
  } else {
20434
- if_block = create_if_block$g(ctx);
20438
+ if_block = create_if_block$h(ctx);
20435
20439
  if_block.c();
20436
20440
  transition_in(if_block, 1);
20437
20441
  if_block.m(svg, null);
@@ -20459,7 +20463,7 @@ function create_fragment$k(ctx) {
20459
20463
  };
20460
20464
  }
20461
20465
 
20462
- function instance$k($$self, $$props, $$invalidate) {
20466
+ function instance$l($$self, $$props, $$invalidate) {
20463
20467
  let { inDelay = 0 } = $$props;
20464
20468
  let { duration = 0 } = $$props;
20465
20469
  let { outDelay = 0 } = $$props;
@@ -20483,8 +20487,8 @@ class Straight extends SvelteComponent {
20483
20487
  init(
20484
20488
  this,
20485
20489
  options,
20486
- instance$k,
20487
- create_fragment$k,
20490
+ instance$l,
20491
+ create_fragment$l,
20488
20492
  safe_not_equal,
20489
20493
  {
20490
20494
  inDelay: 0,
@@ -20492,19 +20496,19 @@ class Straight extends SvelteComponent {
20492
20496
  outDelay: 2,
20493
20497
  unfolded: 3
20494
20498
  },
20495
- add_css$k
20499
+ add_css$l
20496
20500
  );
20497
20501
  }
20498
20502
  }
20499
20503
 
20500
20504
  /* src/PanoTagPlugin/Components/Common/Shadow.svelte generated by Svelte v3.50.1 */
20501
20505
 
20502
- function add_css$j(target) {
20506
+ function add_css$k(target) {
20503
20507
  append_styles(target, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
20504
20508
  }
20505
20509
 
20506
20510
  // (23:0) {#if visible}
20507
- function create_if_block$f(ctx) {
20511
+ function create_if_block$g(ctx) {
20508
20512
  let div;
20509
20513
  let div_style_value;
20510
20514
  let div_intro;
@@ -20600,9 +20604,9 @@ function create_if_block$f(ctx) {
20600
20604
  };
20601
20605
  }
20602
20606
 
20603
- function create_fragment$j(ctx) {
20607
+ function create_fragment$k(ctx) {
20604
20608
  let if_block_anchor;
20605
- let if_block = /*visible*/ ctx[2] && create_if_block$f(ctx);
20609
+ let if_block = /*visible*/ ctx[2] && create_if_block$g(ctx);
20606
20610
 
20607
20611
  return {
20608
20612
  c() {
@@ -20622,7 +20626,7 @@ function create_fragment$j(ctx) {
20622
20626
  transition_in(if_block, 1);
20623
20627
  }
20624
20628
  } else {
20625
- if_block = create_if_block$f(ctx);
20629
+ if_block = create_if_block$g(ctx);
20626
20630
  if_block.c();
20627
20631
  transition_in(if_block, 1);
20628
20632
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -20654,7 +20658,7 @@ function px2rem(value) {
20654
20658
  return typeof value === 'number' ? value / 16 + 'rem' : value;
20655
20659
  }
20656
20660
 
20657
- function instance$j($$self, $$props, $$invalidate) {
20661
+ function instance$k($$self, $$props, $$invalidate) {
20658
20662
  let { inDelay = 1000 } = $$props;
20659
20663
  let { outDelay = 1000 } = $$props;
20660
20664
  let { visible = true } = $$props;
@@ -20712,8 +20716,8 @@ class Shadow extends SvelteComponent {
20712
20716
  init(
20713
20717
  this,
20714
20718
  options,
20715
- instance$j,
20716
- create_fragment$j,
20719
+ instance$k,
20720
+ create_fragment$k,
20717
20721
  safe_not_equal,
20718
20722
  {
20719
20723
  inDelay: 0,
@@ -20731,14 +20735,19 @@ class Shadow extends SvelteComponent {
20731
20735
  opacity: 12,
20732
20736
  zIndex: 13
20733
20737
  },
20734
- add_css$j
20738
+ add_css$k
20735
20739
  );
20736
20740
  }
20737
20741
  }
20738
20742
 
20743
+ function random() {
20744
+ return Math.random().toString(36).slice(-6);
20745
+ }
20746
+ const RANDON_STRING = random();
20747
+
20739
20748
  /* src/PanoTagPlugin/Components/Common/Text.svelte generated by Svelte v3.50.1 */
20740
20749
 
20741
- function add_css$i(target) {
20750
+ function add_css$j(target) {
20742
20751
  append_styles(target, "svelte-1b2n9wi", ".text-char.svelte-1b2n9wi{display:inline-block;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
20743
20752
  }
20744
20753
 
@@ -20750,7 +20759,7 @@ function get_each_context$5(ctx, list, i) {
20750
20759
  return child_ctx;
20751
20760
  }
20752
20761
 
20753
- // (60:0) {#each contentList as item, index}
20762
+ // (79:0) {#each contentList as item, index}
20754
20763
  function create_each_block$5(ctx) {
20755
20764
  let span;
20756
20765
  let t_value = /*item*/ ctx[10] + "";
@@ -20787,7 +20796,7 @@ function create_each_block$5(ctx) {
20787
20796
  };
20788
20797
  }
20789
20798
 
20790
- function create_fragment$i(ctx) {
20799
+ function create_fragment$j(ctx) {
20791
20800
  let each_1_anchor;
20792
20801
  let each_value = /*contentList*/ ctx[1];
20793
20802
  let each_blocks = [];
@@ -20844,7 +20853,7 @@ function create_fragment$i(ctx) {
20844
20853
  };
20845
20854
  }
20846
20855
 
20847
- function instance$i($$self, $$props, $$invalidate) {
20856
+ function instance$j($$self, $$props, $$invalidate) {
20848
20857
  let contentList;
20849
20858
  let { inDelay = 0 } = $$props;
20850
20859
  let { outDelay = 0 } = $$props;
@@ -20918,7 +20927,22 @@ function instance$i($$self, $$props, $$invalidate) {
20918
20927
 
20919
20928
  $$self.$$.update = () => {
20920
20929
  if ($$self.$$.dirty & /*content*/ 16) {
20921
- $$invalidate(1, contentList = content.slice().split(''));
20930
+ // v0.3.7 emoji support
20931
+ $$invalidate(1, contentList = (() => {
20932
+ const result = [];
20933
+
20934
+ // eslint-disable-next-line prettier/prettier
20935
+ const emojiRegExp = new RegExp(/\p{RI}\p{RI}|\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?(\u{200D}\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?)+|\p{EPres}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?|\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})/gu);
20936
+
20937
+ const emojiSplitFlag = `__EMOJI_SPLIT_${RANDON_STRING}__`;
20938
+ const emojiFlag = `__EMOJI_${RANDON_STRING}__`;
20939
+
20940
+ content.slice().replace(emojiRegExp, emoji => `${emojiSplitFlag}${emojiFlag}${emoji}${emojiSplitFlag}`).split(emojiSplitFlag).forEach(item => {
20941
+ if (item.startsWith(emojiFlag)) return result.push(item.slice(emojiFlag.length)); else return result.push(...item.split(''));
20942
+ });
20943
+
20944
+ return result.filter(Boolean);
20945
+ })());
20922
20946
  }
20923
20947
 
20924
20948
  if ($$self.$$.dirty & /*unfolded*/ 32) {
@@ -20938,8 +20962,8 @@ class Text extends SvelteComponent {
20938
20962
  init(
20939
20963
  this,
20940
20964
  options,
20941
- instance$i,
20942
- create_fragment$i,
20965
+ instance$j,
20966
+ create_fragment$j,
20943
20967
  safe_not_equal,
20944
20968
  {
20945
20969
  inDelay: 2,
@@ -20947,7 +20971,7 @@ class Text extends SvelteComponent {
20947
20971
  content: 4,
20948
20972
  unfolded: 5
20949
20973
  },
20950
- add_css$i
20974
+ add_css$j
20951
20975
  );
20952
20976
  }
20953
20977
  }
@@ -20957,12 +20981,12 @@ const Image_Play = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAA
20957
20981
 
20958
20982
  /* src/PanoTagPlugin/Components/Common/Arrow.svelte generated by Svelte v3.50.1 */
20959
20983
 
20960
- function add_css$h(target) {
20984
+ function add_css$i(target) {
20961
20985
  append_styles(target, "svelte-1ogmlqq", ".arrow.svelte-1ogmlqq{width:100%;height:100%;background-size:100%;transition:transform 400ms ease-in-out;cursor:pointer;pointer-events:auto}.arrow-wrapper.svelte-1ogmlqq{position:relative;width:100%;height:100%}.arrow.left.svelte-1ogmlqq{transform:rotate(0deg)}.arrow.right.svelte-1ogmlqq{transform:rotate(-180deg)}.arrow.top.svelte-1ogmlqq{transform:rotate(90deg)}.arrow.bottom.svelte-1ogmlqq{transform:rotate(-90deg)}");
20962
20986
  }
20963
20987
 
20964
20988
  // (12:0) {#if visible}
20965
- function create_if_block$e(ctx) {
20989
+ function create_if_block$f(ctx) {
20966
20990
  let div1;
20967
20991
  let shadow;
20968
20992
  let t;
@@ -21055,10 +21079,10 @@ function create_if_block$e(ctx) {
21055
21079
  };
21056
21080
  }
21057
21081
 
21058
- function create_fragment$h(ctx) {
21082
+ function create_fragment$i(ctx) {
21059
21083
  let if_block_anchor;
21060
21084
  let current;
21061
- let if_block = /*visible*/ ctx[1] && create_if_block$e(ctx);
21085
+ let if_block = /*visible*/ ctx[1] && create_if_block$f(ctx);
21062
21086
 
21063
21087
  return {
21064
21088
  c() {
@@ -21079,7 +21103,7 @@ function create_fragment$h(ctx) {
21079
21103
  transition_in(if_block, 1);
21080
21104
  }
21081
21105
  } else {
21082
- if_block = create_if_block$e(ctx);
21106
+ if_block = create_if_block$f(ctx);
21083
21107
  if_block.c();
21084
21108
  transition_in(if_block, 1);
21085
21109
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -21110,7 +21134,7 @@ function create_fragment$h(ctx) {
21110
21134
  };
21111
21135
  }
21112
21136
 
21113
- function instance$h($$self, $$props, $$invalidate) {
21137
+ function instance$i($$self, $$props, $$invalidate) {
21114
21138
  let { direction = 'right' } = $$props;
21115
21139
  let { visible = true } = $$props;
21116
21140
  let { duration = 0 } = $$props;
@@ -21139,8 +21163,8 @@ class Arrow extends SvelteComponent {
21139
21163
  init(
21140
21164
  this,
21141
21165
  options,
21142
- instance$h,
21143
- create_fragment$h,
21166
+ instance$i,
21167
+ create_fragment$i,
21144
21168
  safe_not_equal,
21145
21169
  {
21146
21170
  direction: 0,
@@ -21149,14 +21173,14 @@ class Arrow extends SvelteComponent {
21149
21173
  inDelay: 3,
21150
21174
  outDelay: 4
21151
21175
  },
21152
- add_css$h
21176
+ add_css$i
21153
21177
  );
21154
21178
  }
21155
21179
  }
21156
21180
 
21157
21181
  /* src/PanoTagPlugin/Components/Common/MultiLineText.svelte generated by Svelte v3.50.1 */
21158
21182
 
21159
- function add_css$g(target) {
21183
+ function add_css$h(target) {
21160
21184
  append_styles(target, "svelte-1fuzm7v", ".text.svelte-1fuzm7v{pointer-events:auto;box-sizing:border-box;display:inline-block;max-width:7.5rem;transition:transform 400ms ease-in-out;font-size:0.75rem;line-height:1.125rem;white-space:initial;cursor:pointer}.arrow.svelte-1fuzm7v{pointer-events:auto;display:inline-block;vertical-align:top;width:0.875rem;height:0.875rem;margin-left:0.125rem;margin-top:0.125rem}");
21161
21185
  }
21162
21186
 
@@ -21228,7 +21252,7 @@ function create_each_block$4(key_1, ctx) {
21228
21252
  }
21229
21253
 
21230
21254
  // (28:0) {#if lineHeight < textHeight}
21231
- function create_if_block$d(ctx) {
21255
+ function create_if_block$e(ctx) {
21232
21256
  let div;
21233
21257
  let arrow;
21234
21258
  let current;
@@ -21275,7 +21299,7 @@ function create_if_block$d(ctx) {
21275
21299
  };
21276
21300
  }
21277
21301
 
21278
- function create_fragment$g(ctx) {
21302
+ function create_fragment$h(ctx) {
21279
21303
  let each_blocks = [];
21280
21304
  let each_1_lookup = new Map();
21281
21305
  let t;
@@ -21290,7 +21314,7 @@ function create_fragment$g(ctx) {
21290
21314
  each_1_lookup.set(key, each_blocks[i] = create_each_block$4(key, child_ctx));
21291
21315
  }
21292
21316
 
21293
- let if_block = /*lineHeight*/ ctx[3] < /*textHeight*/ ctx[4] && create_if_block$d(ctx);
21317
+ let if_block = /*lineHeight*/ ctx[3] < /*textHeight*/ ctx[4] && create_if_block$e(ctx);
21294
21318
 
21295
21319
  return {
21296
21320
  c() {
@@ -21328,7 +21352,7 @@ function create_fragment$g(ctx) {
21328
21352
  transition_in(if_block, 1);
21329
21353
  }
21330
21354
  } else {
21331
- if_block = create_if_block$d(ctx);
21355
+ if_block = create_if_block$e(ctx);
21332
21356
  if_block.c();
21333
21357
  transition_in(if_block, 1);
21334
21358
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -21373,7 +21397,7 @@ function create_fragment$g(ctx) {
21373
21397
  };
21374
21398
  }
21375
21399
 
21376
- function instance$g($$self, $$props, $$invalidate) {
21400
+ function instance$h($$self, $$props, $$invalidate) {
21377
21401
  let transform;
21378
21402
  let arrowDirection;
21379
21403
  let foldTextDelay;
@@ -21448,27 +21472,27 @@ class MultiLineText extends SvelteComponent {
21448
21472
  init(
21449
21473
  this,
21450
21474
  options,
21451
- instance$g,
21452
- create_fragment$g,
21475
+ instance$h,
21476
+ create_fragment$h,
21453
21477
  safe_not_equal,
21454
21478
  {
21455
21479
  visible: 0,
21456
21480
  textUnfolded: 8,
21457
21481
  textItems: 1
21458
21482
  },
21459
- add_css$g
21483
+ add_css$h
21460
21484
  );
21461
21485
  }
21462
21486
  }
21463
21487
 
21464
21488
  /* src/PanoTagPlugin/Components/Tag/TextTag.svelte generated by Svelte v3.50.1 */
21465
21489
 
21466
- function add_css$f(target) {
21490
+ function add_css$g(target) {
21467
21491
  append_styles(target, "svelte-4fxqxl", ".line.svelte-4fxqxl{position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-4fxqxl{width:-webkit-max-content;width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0;overflow:hidden;box-sizing:border-box;font-size:0;pointer-events:none;white-space:nowrap;font-weight:600}");
21468
21492
  }
21469
21493
 
21470
21494
  // (29:0) {#if tag.state}
21471
- function create_if_block$c(ctx) {
21495
+ function create_if_block$d(ctx) {
21472
21496
  let shadow;
21473
21497
  let t0;
21474
21498
  let div0;
@@ -21586,10 +21610,10 @@ function create_if_block$c(ctx) {
21586
21610
  };
21587
21611
  }
21588
21612
 
21589
- function create_fragment$f(ctx) {
21613
+ function create_fragment$g(ctx) {
21590
21614
  let if_block_anchor;
21591
21615
  let current;
21592
- let if_block = /*tag*/ ctx[0].state && create_if_block$c(ctx);
21616
+ let if_block = /*tag*/ ctx[0].state && create_if_block$d(ctx);
21593
21617
 
21594
21618
  return {
21595
21619
  c() {
@@ -21610,7 +21634,7 @@ function create_fragment$f(ctx) {
21610
21634
  transition_in(if_block, 1);
21611
21635
  }
21612
21636
  } else {
21613
- if_block = create_if_block$c(ctx);
21637
+ if_block = create_if_block$d(ctx);
21614
21638
  if_block.c();
21615
21639
  transition_in(if_block, 1);
21616
21640
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -21641,7 +21665,7 @@ function create_fragment$f(ctx) {
21641
21665
  };
21642
21666
  }
21643
21667
 
21644
- function instance$f($$self, $$props, $$invalidate) {
21668
+ function instance$g($$self, $$props, $$invalidate) {
21645
21669
  let unfolded;
21646
21670
  let text;
21647
21671
  let foldTextDelay;
@@ -21716,18 +21740,18 @@ function instance$f($$self, $$props, $$invalidate) {
21716
21740
  class TextTag extends SvelteComponent {
21717
21741
  constructor(options) {
21718
21742
  super();
21719
- init(this, options, instance$f, create_fragment$f, safe_not_equal, { tag: 0 }, add_css$f);
21743
+ init(this, options, instance$g, create_fragment$g, safe_not_equal, { tag: 0 }, add_css$g);
21720
21744
  }
21721
21745
  }
21722
21746
 
21723
21747
  /* src/PanoTagPlugin/Components/Common/Line/Polyline.svelte generated by Svelte v3.50.1 */
21724
21748
 
21725
- function add_css$e(target) {
21749
+ function add_css$f(target) {
21726
21750
  append_styles(target, "svelte-e72ouh", ".line.svelte-e72ouh{width:100%;height:100%;overflow:visible}");
21727
21751
  }
21728
21752
 
21729
21753
  // (18:2) {#if unfolded}
21730
- function create_if_block$b(ctx) {
21754
+ function create_if_block$c(ctx) {
21731
21755
  let path;
21732
21756
  let path_intro;
21733
21757
  let path_outro;
@@ -21787,13 +21811,13 @@ function create_if_block$b(ctx) {
21787
21811
  };
21788
21812
  }
21789
21813
 
21790
- function create_fragment$e(ctx) {
21814
+ function create_fragment$f(ctx) {
21791
21815
  let svg;
21792
21816
  let defs;
21793
21817
  let linearGradient;
21794
21818
  let stop0;
21795
21819
  let stop1;
21796
- let if_block = /*unfolded*/ ctx[3] && create_if_block$b(ctx);
21820
+ let if_block = /*unfolded*/ ctx[3] && create_if_block$c(ctx);
21797
21821
 
21798
21822
  return {
21799
21823
  c() {
@@ -21831,7 +21855,7 @@ function create_fragment$e(ctx) {
21831
21855
  transition_in(if_block, 1);
21832
21856
  }
21833
21857
  } else {
21834
- if_block = create_if_block$b(ctx);
21858
+ if_block = create_if_block$c(ctx);
21835
21859
  if_block.c();
21836
21860
  transition_in(if_block, 1);
21837
21861
  if_block.m(svg, null);
@@ -21859,7 +21883,7 @@ function create_fragment$e(ctx) {
21859
21883
  };
21860
21884
  }
21861
21885
 
21862
- function instance$e($$self, $$props, $$invalidate) {
21886
+ function instance$f($$self, $$props, $$invalidate) {
21863
21887
  let { inDelay = 0 } = $$props;
21864
21888
  let { duration = 0 } = $$props;
21865
21889
  let { outDelay = 0 } = $$props;
@@ -21883,8 +21907,8 @@ class Polyline extends SvelteComponent {
21883
21907
  init(
21884
21908
  this,
21885
21909
  options,
21886
- instance$e,
21887
- create_fragment$e,
21910
+ instance$f,
21911
+ create_fragment$f,
21888
21912
  safe_not_equal,
21889
21913
  {
21890
21914
  inDelay: 0,
@@ -21892,98 +21916,295 @@ class Polyline extends SvelteComponent {
21892
21916
  outDelay: 2,
21893
21917
  unfolded: 3
21894
21918
  },
21895
- add_css$e
21919
+ add_css$f
21896
21920
  );
21897
21921
  }
21898
21922
  }
21899
21923
 
21924
+ /* src/PanoTagPlugin/Components/Common/MediaItem.svelte generated by Svelte v3.50.1 */
21925
+
21926
+ function add_css$e(target) {
21927
+ append_styles(target, "svelte-6jwk1w", ".media-item.svelte-6jwk1w{height:100%}.media-content.svelte-6jwk1w{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-6jwk1w{width:1.75rem;height:1.75rem;background-size:100%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}");
21928
+ }
21929
+
21930
+ // (6:0) {#if media}
21931
+ function create_if_block$b(ctx) {
21932
+ let div;
21933
+ let div_style_value;
21934
+
21935
+ function select_block_type(ctx, dirty) {
21936
+ if (/*media*/ ctx[0].type === 'Image') return create_if_block_1$7;
21937
+ if (/*media*/ ctx[0].type === 'Video') return create_if_block_2$3;
21938
+ }
21939
+
21940
+ let current_block_type = select_block_type(ctx);
21941
+ let if_block = current_block_type && current_block_type(ctx);
21942
+
21943
+ return {
21944
+ c() {
21945
+ div = element("div");
21946
+ if (if_block) if_block.c();
21947
+ attr(div, "class", "media-item svelte-6jwk1w");
21948
+ attr(div, "style", div_style_value = `object-fit: ${/*objectFit*/ ctx[1]};`);
21949
+ },
21950
+ m(target, anchor) {
21951
+ insert(target, div, anchor);
21952
+ if (if_block) if_block.m(div, null);
21953
+ },
21954
+ p(ctx, dirty) {
21955
+ if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
21956
+ if_block.p(ctx, dirty);
21957
+ } else {
21958
+ if (if_block) if_block.d(1);
21959
+ if_block = current_block_type && current_block_type(ctx);
21960
+
21961
+ if (if_block) {
21962
+ if_block.c();
21963
+ if_block.m(div, null);
21964
+ }
21965
+ }
21966
+
21967
+ if (dirty & /*objectFit*/ 2 && div_style_value !== (div_style_value = `object-fit: ${/*objectFit*/ ctx[1]};`)) {
21968
+ attr(div, "style", div_style_value);
21969
+ }
21970
+ },
21971
+ d(detaching) {
21972
+ if (detaching) detach(div);
21973
+
21974
+ if (if_block) {
21975
+ if_block.d();
21976
+ }
21977
+ }
21978
+ };
21979
+ }
21980
+
21981
+ // (10:37)
21982
+ function create_if_block_2$3(ctx) {
21983
+ let video;
21984
+ let video_src_value;
21985
+ let video_poster_value;
21986
+ let video_preload_value;
21987
+ let t;
21988
+ let div;
21989
+
21990
+ return {
21991
+ c() {
21992
+ video = element("video");
21993
+ t = space();
21994
+ div = element("div");
21995
+ attr(video, "class", "media-content svelte-6jwk1w");
21996
+ if (!src_url_equal(video.src, video_src_value = /*media*/ ctx[0].url)) attr(video, "src", video_src_value);
21997
+ attr(video, "poster", video_poster_value = /*media*/ ctx[0].videoCoverUrl ?? undefined);
21998
+ attr(video, "preload", video_preload_value = /*media*/ ctx[0].videoCoverUrl ? undefined : 'auto');
21999
+ video.playsInline = true;
22000
+ attr(video, "paused", "");
22001
+ video.loop = false;
22002
+ attr(video, "crossorigin", "");
22003
+ video.controls = false;
22004
+ video.muted = true;
22005
+ attr(div, "class", "video-icon svelte-6jwk1w");
22006
+ set_style(div, "background-image", "url(" + Image_Play + ")");
22007
+ },
22008
+ m(target, anchor) {
22009
+ insert(target, video, anchor);
22010
+ insert(target, t, anchor);
22011
+ insert(target, div, anchor);
22012
+ },
22013
+ p(ctx, dirty) {
22014
+ if (dirty & /*media*/ 1 && !src_url_equal(video.src, video_src_value = /*media*/ ctx[0].url)) {
22015
+ attr(video, "src", video_src_value);
22016
+ }
22017
+
22018
+ if (dirty & /*media*/ 1 && video_poster_value !== (video_poster_value = /*media*/ ctx[0].videoCoverUrl ?? undefined)) {
22019
+ attr(video, "poster", video_poster_value);
22020
+ }
22021
+
22022
+ if (dirty & /*media*/ 1 && video_preload_value !== (video_preload_value = /*media*/ ctx[0].videoCoverUrl ? undefined : 'auto')) {
22023
+ attr(video, "preload", video_preload_value);
22024
+ }
22025
+ },
22026
+ d(detaching) {
22027
+ if (detaching) detach(video);
22028
+ if (detaching) detach(t);
22029
+ if (detaching) detach(div);
22030
+ }
22031
+ };
22032
+ }
22033
+
22034
+ // (8:4) {#if media.type === 'Image'}
22035
+ function create_if_block_1$7(ctx) {
22036
+ let img;
22037
+ let img_src_value;
22038
+ let img_alt_value;
22039
+
22040
+ return {
22041
+ c() {
22042
+ img = element("img");
22043
+ attr(img, "class", "media-content svelte-6jwk1w");
22044
+ if (!src_url_equal(img.src, img_src_value = /*media*/ ctx[0].url)) attr(img, "src", img_src_value);
22045
+ attr(img, "alt", img_alt_value = /*media*/ ctx[0].name);
22046
+ },
22047
+ m(target, anchor) {
22048
+ insert(target, img, anchor);
22049
+ },
22050
+ p(ctx, dirty) {
22051
+ if (dirty & /*media*/ 1 && !src_url_equal(img.src, img_src_value = /*media*/ ctx[0].url)) {
22052
+ attr(img, "src", img_src_value);
22053
+ }
22054
+
22055
+ if (dirty & /*media*/ 1 && img_alt_value !== (img_alt_value = /*media*/ ctx[0].name)) {
22056
+ attr(img, "alt", img_alt_value);
22057
+ }
22058
+ },
22059
+ d(detaching) {
22060
+ if (detaching) detach(img);
22061
+ }
22062
+ };
22063
+ }
22064
+
22065
+ function create_fragment$e(ctx) {
22066
+ let if_block_anchor;
22067
+ let if_block = /*media*/ ctx[0] && create_if_block$b(ctx);
22068
+
22069
+ return {
22070
+ c() {
22071
+ if (if_block) if_block.c();
22072
+ if_block_anchor = empty();
22073
+ },
22074
+ m(target, anchor) {
22075
+ if (if_block) if_block.m(target, anchor);
22076
+ insert(target, if_block_anchor, anchor);
22077
+ },
22078
+ p(ctx, [dirty]) {
22079
+ if (/*media*/ ctx[0]) {
22080
+ if (if_block) {
22081
+ if_block.p(ctx, dirty);
22082
+ } else {
22083
+ if_block = create_if_block$b(ctx);
22084
+ if_block.c();
22085
+ if_block.m(if_block_anchor.parentNode, if_block_anchor);
22086
+ }
22087
+ } else if (if_block) {
22088
+ if_block.d(1);
22089
+ if_block = null;
22090
+ }
22091
+ },
22092
+ i: noop$1,
22093
+ o: noop$1,
22094
+ d(detaching) {
22095
+ if (if_block) if_block.d(detaching);
22096
+ if (detaching) detach(if_block_anchor);
22097
+ }
22098
+ };
22099
+ }
22100
+
22101
+ function instance$e($$self, $$props, $$invalidate) {
22102
+ let { media } = $$props;
22103
+ let { objectFit = 'cover' } = $$props;
22104
+
22105
+ $$self.$$set = $$props => {
22106
+ if ('media' in $$props) $$invalidate(0, media = $$props.media);
22107
+ if ('objectFit' in $$props) $$invalidate(1, objectFit = $$props.objectFit);
22108
+ };
22109
+
22110
+ return [media, objectFit];
22111
+ }
22112
+
22113
+ class MediaItem extends SvelteComponent {
22114
+ constructor(options) {
22115
+ super();
22116
+ init(this, options, instance$e, create_fragment$e, safe_not_equal, { media: 0, objectFit: 1 }, add_css$e);
22117
+ }
22118
+ }
22119
+
21900
22120
  /* src/PanoTagPlugin/Components/Common/Media.svelte generated by Svelte v3.50.1 */
21901
22121
 
21902
22122
  function add_css$d(target) {
21903
- append_styles(target, "svelte-129jnm", ".media.svelte-129jnm{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}.carousel-item.svelte-129jnm{height:100%}.media-content.svelte-129jnm{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-129jnm{width:1.75rem;height:1.75rem;background-size:100%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}");
22123
+ append_styles(target, "svelte-ai0lv9", ".media.svelte-ai0lv9{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}");
21904
22124
  }
21905
22125
 
21906
22126
  function get_each_context$3(ctx, list, i) {
21907
22127
  const child_ctx = ctx.slice();
21908
- child_ctx[9] = list[i];
22128
+ child_ctx[14] = list[i];
21909
22129
  return child_ctx;
21910
22130
  }
21911
22131
 
21912
- // (16:0) {#if unfolded}
22132
+ // (24:0) {#if unfolded}
21913
22133
  function create_if_block$a(ctx) {
21914
22134
  let div;
22135
+ let current_block_type_index;
22136
+ let if_block;
21915
22137
  let div_intro;
21916
22138
  let div_outro;
21917
22139
  let current;
21918
- let each_value = /*mediaDataList*/ ctx[6];
21919
- let each_blocks = [];
22140
+ const if_block_creators = [create_if_block_1$6, create_else_block$1];
22141
+ const if_blocks = [];
21920
22142
 
21921
- for (let i = 0; i < each_value.length; i += 1) {
21922
- each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
22143
+ function select_block_type(ctx, dirty) {
22144
+ if (/*carouselEnabled*/ ctx[11]) return 0;
22145
+ return 1;
21923
22146
  }
21924
22147
 
22148
+ current_block_type_index = select_block_type(ctx);
22149
+ if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
22150
+
21925
22151
  return {
21926
22152
  c() {
21927
22153
  div = element("div");
21928
-
21929
- for (let i = 0; i < each_blocks.length; i += 1) {
21930
- each_blocks[i].c();
21931
- }
21932
-
21933
- attr(div, "class", "media svelte-129jnm");
21934
- toggle_class(div, "unfolded", /*unfolded*/ ctx[3]);
22154
+ if_block.c();
22155
+ attr(div, "class", "media svelte-ai0lv9");
22156
+ toggle_class(div, "unfolded", /*unfolded*/ ctx[4]);
21935
22157
  },
21936
22158
  m(target, anchor) {
21937
22159
  insert(target, div, anchor);
21938
-
21939
- for (let i = 0; i < each_blocks.length; i += 1) {
21940
- each_blocks[i].m(div, null);
21941
- }
21942
-
22160
+ if_blocks[current_block_type_index].m(div, null);
21943
22161
  current = true;
21944
22162
  },
21945
22163
  p(new_ctx, dirty) {
21946
22164
  ctx = new_ctx;
22165
+ let previous_block_index = current_block_type_index;
22166
+ current_block_type_index = select_block_type(ctx);
21947
22167
 
21948
- if (dirty & /*objectFit, Image_Play, mediaDataList*/ 96) {
21949
- each_value = /*mediaDataList*/ ctx[6];
21950
- let i;
22168
+ if (current_block_type_index === previous_block_index) {
22169
+ if_blocks[current_block_type_index].p(ctx, dirty);
22170
+ } else {
22171
+ group_outros();
21951
22172
 
21952
- for (i = 0; i < each_value.length; i += 1) {
21953
- const child_ctx = get_each_context$3(ctx, each_value, i);
22173
+ transition_out(if_blocks[previous_block_index], 1, 1, () => {
22174
+ if_blocks[previous_block_index] = null;
22175
+ });
21954
22176
 
21955
- if (each_blocks[i]) {
21956
- each_blocks[i].p(child_ctx, dirty);
21957
- } else {
21958
- each_blocks[i] = create_each_block$3(child_ctx);
21959
- each_blocks[i].c();
21960
- each_blocks[i].m(div, null);
21961
- }
21962
- }
22177
+ check_outros();
22178
+ if_block = if_blocks[current_block_type_index];
21963
22179
 
21964
- for (; i < each_blocks.length; i += 1) {
21965
- each_blocks[i].d(1);
22180
+ if (!if_block) {
22181
+ if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
22182
+ if_block.c();
22183
+ } else {
22184
+ if_block.p(ctx, dirty);
21966
22185
  }
21967
22186
 
21968
- each_blocks.length = each_value.length;
22187
+ transition_in(if_block, 1);
22188
+ if_block.m(div, null);
21969
22189
  }
21970
22190
 
21971
- if (!current || dirty & /*unfolded*/ 8) {
21972
- toggle_class(div, "unfolded", /*unfolded*/ ctx[3]);
22191
+ if (!current || dirty & /*unfolded*/ 16) {
22192
+ toggle_class(div, "unfolded", /*unfolded*/ ctx[4]);
21973
22193
  }
21974
22194
  },
21975
22195
  i(local) {
21976
22196
  if (current) return;
22197
+ transition_in(if_block);
21977
22198
 
21978
22199
  if (local) {
21979
22200
  add_render_callback(() => {
21980
22201
  if (div_outro) div_outro.end(1);
21981
22202
 
21982
- div_intro = create_in_transition(div, fly, /*animation*/ ctx[4]
22203
+ div_intro = create_in_transition(div, fly, /*animation*/ ctx[5]
21983
22204
  ? {
21984
22205
  y: 4,
21985
- duration: /*duration*/ ctx[2],
21986
- delay: /*inDelay*/ ctx[0],
22206
+ duration: /*duration*/ ctx[3],
22207
+ delay: /*inDelay*/ ctx[1],
21987
22208
  easing: linear
21988
22209
  }
21989
22210
  : undefined);
@@ -21995,14 +22216,15 @@ function create_if_block$a(ctx) {
21995
22216
  current = true;
21996
22217
  },
21997
22218
  o(local) {
22219
+ transition_out(if_block);
21998
22220
  if (div_intro) div_intro.invalidate();
21999
22221
 
22000
22222
  if (local) {
22001
- div_outro = create_out_transition(div, fly, /*animation*/ ctx[4]
22223
+ div_outro = create_out_transition(div, fly, /*animation*/ ctx[5]
22002
22224
  ? {
22003
22225
  y: 4,
22004
- duration: /*duration*/ ctx[2],
22005
- delay: /*outDelay*/ ctx[1],
22226
+ duration: /*duration*/ ctx[3],
22227
+ delay: /*outDelay*/ ctx[2],
22006
22228
  easing: linear
22007
22229
  }
22008
22230
  : undefined);
@@ -22012,211 +22234,295 @@ function create_if_block$a(ctx) {
22012
22234
  },
22013
22235
  d(detaching) {
22014
22236
  if (detaching) detach(div);
22015
- destroy_each(each_blocks, detaching);
22237
+ if_blocks[current_block_type_index].d();
22016
22238
  if (detaching && div_outro) div_outro.end();
22017
22239
  }
22018
22240
  };
22019
22241
  }
22020
22242
 
22021
- // (29:65)
22022
- function create_if_block_4$2(ctx) {
22023
- let video;
22024
- let video_src_value;
22025
- let video_poster_value;
22243
+ // (80:4) {:else}
22244
+ function create_else_block$1(ctx) {
22245
+ let mediaitem;
22246
+ let current;
22247
+
22248
+ mediaitem = new MediaItem({
22249
+ props: {
22250
+ media: /*mediaData*/ ctx[0][0],
22251
+ objectFit: /*objectFit*/ ctx[6]
22252
+ }
22253
+ });
22026
22254
 
22027
22255
  return {
22028
22256
  c() {
22029
- video = element("video");
22030
- attr(video, "class", "media-content svelte-129jnm");
22031
- if (!src_url_equal(video.src, video_src_value = /*media*/ ctx[9].url)) attr(video, "src", video_src_value);
22032
- attr(video, "poster", video_poster_value = /*media*/ ctx[9].videoCoverUrl);
22033
- video.playsInline = true;
22034
- attr(video, "paused", "");
22035
- video.loop = false;
22036
- attr(video, "preload", "auto");
22037
- attr(video, "crossorigin", "");
22038
- video.controls = false;
22039
- video.muted = true;
22257
+ create_component(mediaitem.$$.fragment);
22040
22258
  },
22041
22259
  m(target, anchor) {
22042
- insert(target, video, anchor);
22260
+ mount_component(mediaitem, target, anchor);
22261
+ current = true;
22043
22262
  },
22044
22263
  p(ctx, dirty) {
22045
- if (dirty & /*mediaDataList*/ 64 && !src_url_equal(video.src, video_src_value = /*media*/ ctx[9].url)) {
22046
- attr(video, "src", video_src_value);
22047
- }
22048
-
22049
- if (dirty & /*mediaDataList*/ 64 && video_poster_value !== (video_poster_value = /*media*/ ctx[9].videoCoverUrl)) {
22050
- attr(video, "poster", video_poster_value);
22051
- }
22264
+ const mediaitem_changes = {};
22265
+ if (dirty & /*mediaData*/ 1) mediaitem_changes.media = /*mediaData*/ ctx[0][0];
22266
+ if (dirty & /*objectFit*/ 64) mediaitem_changes.objectFit = /*objectFit*/ ctx[6];
22267
+ mediaitem.$set(mediaitem_changes);
22268
+ },
22269
+ i(local) {
22270
+ if (current) return;
22271
+ transition_in(mediaitem.$$.fragment, local);
22272
+ current = true;
22273
+ },
22274
+ o(local) {
22275
+ transition_out(mediaitem.$$.fragment, local);
22276
+ current = false;
22052
22277
  },
22053
22278
  d(detaching) {
22054
- if (detaching) detach(video);
22279
+ destroy_component(mediaitem, detaching);
22055
22280
  }
22056
22281
  };
22057
22282
  }
22058
22283
 
22059
- // (27:64)
22060
- function create_if_block_3$2(ctx) {
22061
- let img;
22062
- let img_src_value;
22063
- let img_alt_value;
22284
+ // (31:4) {#if carouselEnabled}
22285
+ function create_if_block_1$6(ctx) {
22286
+ let swiper;
22287
+ let current;
22288
+
22289
+ swiper = new Swiper({
22290
+ props: {
22291
+ style: "height: 100%",
22292
+ modules: [Autoplay],
22293
+ spaceBetween: 30,
22294
+ autoplay: /*autoplay*/ ctx[10]
22295
+ ? noTypecheck({
22296
+ delay: 2000,
22297
+ stopOnLastSlide: false,
22298
+ disableOnInteraction: false
22299
+ })
22300
+ : false,
22301
+ loop: true,
22302
+ $$slots: { default: [create_default_slot] },
22303
+ $$scope: { ctx }
22304
+ }
22305
+ });
22306
+
22307
+ swiper.$on("slideChange", /*slideChange_handler*/ ctx[13]);
22064
22308
 
22065
22309
  return {
22066
22310
  c() {
22067
- img = element("img");
22068
- attr(img, "class", "media-content svelte-129jnm");
22069
- if (!src_url_equal(img.src, img_src_value = /*media*/ ctx[9].videoCoverUrl)) attr(img, "src", img_src_value);
22070
- attr(img, "alt", img_alt_value = /*media*/ ctx[9].name);
22311
+ create_component(swiper.$$.fragment);
22071
22312
  },
22072
22313
  m(target, anchor) {
22073
- insert(target, img, anchor);
22314
+ mount_component(swiper, target, anchor);
22315
+ current = true;
22074
22316
  },
22075
22317
  p(ctx, dirty) {
22076
- if (dirty & /*mediaDataList*/ 64 && !src_url_equal(img.src, img_src_value = /*media*/ ctx[9].videoCoverUrl)) {
22077
- attr(img, "src", img_src_value);
22078
- }
22318
+ const swiper_changes = {};
22319
+
22320
+ if (dirty & /*autoplay*/ 1024) swiper_changes.autoplay = /*autoplay*/ ctx[10]
22321
+ ? noTypecheck({
22322
+ delay: 2000,
22323
+ stopOnLastSlide: false,
22324
+ disableOnInteraction: false
22325
+ })
22326
+ : false;
22079
22327
 
22080
- if (dirty & /*mediaDataList*/ 64 && img_alt_value !== (img_alt_value = /*media*/ ctx[9].name)) {
22081
- attr(img, "alt", img_alt_value);
22328
+ if (dirty & /*$$scope, mediaDataList, objectFit*/ 131392) {
22329
+ swiper_changes.$$scope = { dirty, ctx };
22082
22330
  }
22331
+
22332
+ swiper.$set(swiper_changes);
22333
+ },
22334
+ i(local) {
22335
+ if (current) return;
22336
+ transition_in(swiper.$$.fragment, local);
22337
+ current = true;
22338
+ },
22339
+ o(local) {
22340
+ transition_out(swiper.$$.fragment, local);
22341
+ current = false;
22083
22342
  },
22084
22343
  d(detaching) {
22085
- if (detaching) detach(img);
22344
+ destroy_component(swiper, detaching);
22086
22345
  }
22087
22346
  };
22088
22347
  }
22089
22348
 
22090
- // (25:8) {#if media.type === 'Image'}
22091
- function create_if_block_2$3(ctx) {
22092
- let img;
22093
- let img_src_value;
22094
- let img_alt_value;
22349
+ // (75:10) <SwiperSlide>
22350
+ function create_default_slot_1(ctx) {
22351
+ let mediaitem;
22352
+ let t;
22353
+ let current;
22354
+
22355
+ mediaitem = new MediaItem({
22356
+ props: {
22357
+ media: /*media*/ ctx[14],
22358
+ objectFit: /*objectFit*/ ctx[6]
22359
+ }
22360
+ });
22095
22361
 
22096
22362
  return {
22097
22363
  c() {
22098
- img = element("img");
22099
- attr(img, "class", "media-content carousel-indicator-item svelte-129jnm");
22100
- if (!src_url_equal(img.src, img_src_value = /*media*/ ctx[9].url)) attr(img, "src", img_src_value);
22101
- attr(img, "alt", img_alt_value = /*media*/ ctx[9].name);
22364
+ create_component(mediaitem.$$.fragment);
22365
+ t = space();
22102
22366
  },
22103
22367
  m(target, anchor) {
22104
- insert(target, img, anchor);
22368
+ mount_component(mediaitem, target, anchor);
22369
+ insert(target, t, anchor);
22370
+ current = true;
22105
22371
  },
22106
22372
  p(ctx, dirty) {
22107
- if (dirty & /*mediaDataList*/ 64 && !src_url_equal(img.src, img_src_value = /*media*/ ctx[9].url)) {
22108
- attr(img, "src", img_src_value);
22109
- }
22110
-
22111
- if (dirty & /*mediaDataList*/ 64 && img_alt_value !== (img_alt_value = /*media*/ ctx[9].name)) {
22112
- attr(img, "alt", img_alt_value);
22113
- }
22373
+ const mediaitem_changes = {};
22374
+ if (dirty & /*mediaDataList*/ 256) mediaitem_changes.media = /*media*/ ctx[14];
22375
+ if (dirty & /*objectFit*/ 64) mediaitem_changes.objectFit = /*objectFit*/ ctx[6];
22376
+ mediaitem.$set(mediaitem_changes);
22377
+ },
22378
+ i(local) {
22379
+ if (current) return;
22380
+ transition_in(mediaitem.$$.fragment, local);
22381
+ current = true;
22382
+ },
22383
+ o(local) {
22384
+ transition_out(mediaitem.$$.fragment, local);
22385
+ current = false;
22114
22386
  },
22115
22387
  d(detaching) {
22116
- if (detaching) detach(img);
22388
+ destroy_component(mediaitem, detaching);
22389
+ if (detaching) detach(t);
22117
22390
  }
22118
22391
  };
22119
22392
  }
22120
22393
 
22121
- // (33:8) {#if media.type === 'Video'}
22122
- function create_if_block_1$6(ctx) {
22123
- let div;
22394
+ // (74:8) {#each mediaDataList as media}
22395
+ function create_each_block$3(ctx) {
22396
+ let swiperslide;
22397
+ let current;
22398
+
22399
+ swiperslide = new SwiperSlide({
22400
+ props: {
22401
+ $$slots: { default: [create_default_slot_1] },
22402
+ $$scope: { ctx }
22403
+ }
22404
+ });
22124
22405
 
22125
22406
  return {
22126
22407
  c() {
22127
- div = element("div");
22128
- attr(div, "class", "video-icon svelte-129jnm");
22129
- set_style(div, "background-image", "url(" + Image_Play + ")");
22408
+ create_component(swiperslide.$$.fragment);
22130
22409
  },
22131
22410
  m(target, anchor) {
22132
- insert(target, div, anchor);
22411
+ mount_component(swiperslide, target, anchor);
22412
+ current = true;
22413
+ },
22414
+ p(ctx, dirty) {
22415
+ const swiperslide_changes = {};
22416
+
22417
+ if (dirty & /*$$scope, mediaDataList, objectFit*/ 131392) {
22418
+ swiperslide_changes.$$scope = { dirty, ctx };
22419
+ }
22420
+
22421
+ swiperslide.$set(swiperslide_changes);
22422
+ },
22423
+ i(local) {
22424
+ if (current) return;
22425
+ transition_in(swiperslide.$$.fragment, local);
22426
+ current = true;
22427
+ },
22428
+ o(local) {
22429
+ transition_out(swiperslide.$$.fragment, local);
22430
+ current = false;
22133
22431
  },
22134
- p: noop$1,
22135
22432
  d(detaching) {
22136
- if (detaching) detach(div);
22433
+ destroy_component(swiperslide, detaching);
22137
22434
  }
22138
22435
  };
22139
22436
  }
22140
22437
 
22141
- // (23:4) {#each mediaDataList as media}
22142
- function create_each_block$3(ctx) {
22143
- let div;
22144
- let t0;
22145
- let t1;
22146
- let div_style_value;
22438
+ // (32:6) <Swiper style="height: 100%" modules={[Autoplay]} spaceBetween={30} autoplay={autoplay ? noTypecheck({ delay: 2000, stopOnLastSlide: false, disableOnInteraction: false }) : false} loop on:slideChange={async (event) => { if (!autoplay) return if (!autoplayConfig.autoplayVideo) return const swiper = event.detail[0] if (!swiper) return const index = swiper.realIndex // loop 完一圈后,swiper.realIndex 会重复一次,比如有三张图片 [0,1,2],slideChange 触发后输出的 index 为 [0,1,2,0,0,1,2,0,0,1,2,0], 添加 lastAutoPlayIndex 判断后,输出为[0,1,2,0,1,2,0,1,2,0] if (index === lastAutoPlayIndex) return lastAutoPlayIndex = index const media = mediaDataList[index] if (!media) return if (media.type !== 'Video') return // 先暂停自动轮播 swiper.autoplay.stop() // 播放视频 await new Promise((resolve) => { const video = swiper.slides[swiper.activeIndex]?.querySelector('video') if (!video) { resolve(noTypecheck(null)) return } video.play() video.onerror = () => resolve(noTypecheck(null)) video.onended = () => resolve(noTypecheck(null)) video.onclick = () => { video.pause() resolve(noTypecheck(null)) } }) // 恢复自动轮播 swiper.autoplay.start() }} >
22439
+ function create_default_slot(ctx) {
22440
+ let each_1_anchor;
22441
+ let current;
22442
+ let each_value = /*mediaDataList*/ ctx[8];
22443
+ let each_blocks = [];
22147
22444
 
22148
- function select_block_type(ctx, dirty) {
22149
- if (/*media*/ ctx[9].type === 'Image') return create_if_block_2$3;
22150
- if (/*media*/ ctx[9].type === 'Video' && /*media*/ ctx[9].videoCoverUrl) return create_if_block_3$2;
22151
- if (/*media*/ ctx[9].type === 'Video' && !/*media*/ ctx[9].videoCoverUrl) return create_if_block_4$2;
22445
+ for (let i = 0; i < each_value.length; i += 1) {
22446
+ each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
22152
22447
  }
22153
22448
 
22154
- let current_block_type = select_block_type(ctx);
22155
- let if_block0 = current_block_type && current_block_type(ctx);
22156
- let if_block1 = /*media*/ ctx[9].type === 'Video' && create_if_block_1$6();
22449
+ const out = i => transition_out(each_blocks[i], 1, 1, () => {
22450
+ each_blocks[i] = null;
22451
+ });
22157
22452
 
22158
22453
  return {
22159
22454
  c() {
22160
- div = element("div");
22161
- if (if_block0) if_block0.c();
22162
- t0 = space();
22163
- if (if_block1) if_block1.c();
22164
- t1 = space();
22165
- attr(div, "class", "carousel-item svelte-129jnm");
22166
- attr(div, "style", div_style_value = `object-fit: ${/*objectFit*/ ctx[5]};`);
22455
+ for (let i = 0; i < each_blocks.length; i += 1) {
22456
+ each_blocks[i].c();
22457
+ }
22458
+
22459
+ each_1_anchor = empty();
22167
22460
  },
22168
22461
  m(target, anchor) {
22169
- insert(target, div, anchor);
22170
- if (if_block0) if_block0.m(div, null);
22171
- append(div, t0);
22172
- if (if_block1) if_block1.m(div, null);
22173
- append(div, t1);
22462
+ for (let i = 0; i < each_blocks.length; i += 1) {
22463
+ each_blocks[i].m(target, anchor);
22464
+ }
22465
+
22466
+ insert(target, each_1_anchor, anchor);
22467
+ current = true;
22174
22468
  },
22175
22469
  p(ctx, dirty) {
22176
- if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block0) {
22177
- if_block0.p(ctx, dirty);
22178
- } else {
22179
- if (if_block0) if_block0.d(1);
22180
- if_block0 = current_block_type && current_block_type(ctx);
22470
+ if (dirty & /*mediaDataList, objectFit*/ 320) {
22471
+ each_value = /*mediaDataList*/ ctx[8];
22472
+ let i;
22181
22473
 
22182
- if (if_block0) {
22183
- if_block0.c();
22184
- if_block0.m(div, t0);
22474
+ for (i = 0; i < each_value.length; i += 1) {
22475
+ const child_ctx = get_each_context$3(ctx, each_value, i);
22476
+
22477
+ if (each_blocks[i]) {
22478
+ each_blocks[i].p(child_ctx, dirty);
22479
+ transition_in(each_blocks[i], 1);
22480
+ } else {
22481
+ each_blocks[i] = create_each_block$3(child_ctx);
22482
+ each_blocks[i].c();
22483
+ transition_in(each_blocks[i], 1);
22484
+ each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
22485
+ }
22185
22486
  }
22186
- }
22187
22487
 
22188
- if (/*media*/ ctx[9].type === 'Video') {
22189
- if (if_block1) {
22190
- if_block1.p(ctx, dirty);
22191
- } else {
22192
- if_block1 = create_if_block_1$6();
22193
- if_block1.c();
22194
- if_block1.m(div, t1);
22488
+ group_outros();
22489
+
22490
+ for (i = each_value.length; i < each_blocks.length; i += 1) {
22491
+ out(i);
22195
22492
  }
22196
- } else if (if_block1) {
22197
- if_block1.d(1);
22198
- if_block1 = null;
22493
+
22494
+ check_outros();
22199
22495
  }
22496
+ },
22497
+ i(local) {
22498
+ if (current) return;
22200
22499
 
22201
- if (dirty & /*objectFit*/ 32 && div_style_value !== (div_style_value = `object-fit: ${/*objectFit*/ ctx[5]};`)) {
22202
- attr(div, "style", div_style_value);
22500
+ for (let i = 0; i < each_value.length; i += 1) {
22501
+ transition_in(each_blocks[i]);
22203
22502
  }
22503
+
22504
+ current = true;
22204
22505
  },
22205
- d(detaching) {
22206
- if (detaching) detach(div);
22506
+ o(local) {
22507
+ each_blocks = each_blocks.filter(Boolean);
22207
22508
 
22208
- if (if_block0) {
22209
- if_block0.d();
22509
+ for (let i = 0; i < each_blocks.length; i += 1) {
22510
+ transition_out(each_blocks[i]);
22210
22511
  }
22211
22512
 
22212
- if (if_block1) if_block1.d();
22513
+ current = false;
22514
+ },
22515
+ d(detaching) {
22516
+ destroy_each(each_blocks, detaching);
22517
+ if (detaching) detach(each_1_anchor);
22213
22518
  }
22214
22519
  };
22215
22520
  }
22216
22521
 
22217
22522
  function create_fragment$d(ctx) {
22218
22523
  let if_block_anchor;
22219
- let if_block = /*unfolded*/ ctx[3] && create_if_block$a(ctx);
22524
+ let current;
22525
+ let if_block = /*unfolded*/ ctx[4] && create_if_block$a(ctx);
22220
22526
 
22221
22527
  return {
22222
22528
  c() {
@@ -22226,13 +22532,14 @@ function create_fragment$d(ctx) {
22226
22532
  m(target, anchor) {
22227
22533
  if (if_block) if_block.m(target, anchor);
22228
22534
  insert(target, if_block_anchor, anchor);
22535
+ current = true;
22229
22536
  },
22230
22537
  p(ctx, [dirty]) {
22231
- if (/*unfolded*/ ctx[3]) {
22538
+ if (/*unfolded*/ ctx[4]) {
22232
22539
  if (if_block) {
22233
22540
  if_block.p(ctx, dirty);
22234
22541
 
22235
- if (dirty & /*unfolded*/ 8) {
22542
+ if (dirty & /*unfolded*/ 16) {
22236
22543
  transition_in(if_block, 1);
22237
22544
  }
22238
22545
  } else {
@@ -22252,10 +22559,13 @@ function create_fragment$d(ctx) {
22252
22559
  }
22253
22560
  },
22254
22561
  i(local) {
22562
+ if (current) return;
22255
22563
  transition_in(if_block);
22564
+ current = true;
22256
22565
  },
22257
22566
  o(local) {
22258
22567
  transition_out(if_block);
22568
+ current = false;
22259
22569
  },
22260
22570
  d(detaching) {
22261
22571
  if (if_block) if_block.d(detaching);
@@ -22265,7 +22575,9 @@ function create_fragment$d(ctx) {
22265
22575
  }
22266
22576
 
22267
22577
  function instance$d($$self, $$props, $$invalidate) {
22578
+ let carouselEnabled;
22268
22579
  let mediaDataList;
22580
+ let autoplay;
22269
22581
  let { mediaData } = $$props;
22270
22582
  let { inDelay = 0 } = $$props;
22271
22583
  let { outDelay = 0 } = $$props;
@@ -22274,34 +22586,93 @@ function instance$d($$self, $$props, $$invalidate) {
22274
22586
  let { animation = true } = $$props;
22275
22587
  let { objectFit = 'cover' } = $$props;
22276
22588
  let { enableCarousel = true } = $$props;
22589
+ let { autoplayConfig = { autoplay: true, autoplayVideo: false } } = $$props;
22590
+ let lastAutoPlayIndex = null;
22591
+
22592
+ const slideChange_handler = async event => {
22593
+ if (!autoplay) return;
22594
+ if (!autoplayConfig.autoplayVideo) return;
22595
+ const swiper = event.detail[0];
22596
+ if (!swiper) return;
22597
+ const index = swiper.realIndex;
22598
+
22599
+ // loop 完一圈后,swiper.realIndex 会重复一次,比如有三张图片 [0,1,2],slideChange 触发后输出的 index 为 [0,1,2,0,0,1,2,0,0,1,2,0], 添加 lastAutoPlayIndex 判断后,输出为[0,1,2,0,1,2,0,1,2,0]
22600
+ if (index === lastAutoPlayIndex) return;
22601
+
22602
+ $$invalidate(9, lastAutoPlayIndex = index);
22603
+ const media = mediaDataList[index];
22604
+ if (!media) return;
22605
+ if (media.type !== 'Video') return;
22606
+
22607
+ // 先暂停自动轮播
22608
+ swiper.autoplay.stop();
22609
+
22610
+ // 播放视频
22611
+ await new Promise(resolve => {
22612
+ const video = swiper.slides[swiper.activeIndex]?.querySelector('video');
22613
+
22614
+ if (!video) {
22615
+ resolve(noTypecheck(null));
22616
+ return;
22617
+ }
22618
+
22619
+ video.play();
22620
+ video.onerror = () => resolve(noTypecheck(null));
22621
+ video.onended = () => resolve(noTypecheck(null));
22622
+
22623
+ video.onclick = () => {
22624
+ video.pause();
22625
+ resolve(noTypecheck(null));
22626
+ };
22627
+ });
22628
+
22629
+ // 恢复自动轮播
22630
+ swiper.autoplay.start();
22631
+ };
22277
22632
 
22278
22633
  $$self.$$set = $$props => {
22279
- if ('mediaData' in $$props) $$invalidate(7, mediaData = $$props.mediaData);
22280
- if ('inDelay' in $$props) $$invalidate(0, inDelay = $$props.inDelay);
22281
- if ('outDelay' in $$props) $$invalidate(1, outDelay = $$props.outDelay);
22282
- if ('duration' in $$props) $$invalidate(2, duration = $$props.duration);
22283
- if ('unfolded' in $$props) $$invalidate(3, unfolded = $$props.unfolded);
22284
- if ('animation' in $$props) $$invalidate(4, animation = $$props.animation);
22285
- if ('objectFit' in $$props) $$invalidate(5, objectFit = $$props.objectFit);
22286
- if ('enableCarousel' in $$props) $$invalidate(8, enableCarousel = $$props.enableCarousel);
22634
+ if ('mediaData' in $$props) $$invalidate(0, mediaData = $$props.mediaData);
22635
+ if ('inDelay' in $$props) $$invalidate(1, inDelay = $$props.inDelay);
22636
+ if ('outDelay' in $$props) $$invalidate(2, outDelay = $$props.outDelay);
22637
+ if ('duration' in $$props) $$invalidate(3, duration = $$props.duration);
22638
+ if ('unfolded' in $$props) $$invalidate(4, unfolded = $$props.unfolded);
22639
+ if ('animation' in $$props) $$invalidate(5, animation = $$props.animation);
22640
+ if ('objectFit' in $$props) $$invalidate(6, objectFit = $$props.objectFit);
22641
+ if ('enableCarousel' in $$props) $$invalidate(12, enableCarousel = $$props.enableCarousel);
22642
+ if ('autoplayConfig' in $$props) $$invalidate(7, autoplayConfig = $$props.autoplayConfig);
22287
22643
  };
22288
22644
 
22289
22645
  $$self.$$.update = () => {
22290
- if ($$self.$$.dirty & /*enableCarousel, mediaData*/ 384) {
22291
- $$invalidate(6, mediaDataList = (enableCarousel ? mediaData : [mediaData[0]]).filter(notNil));
22646
+ if ($$self.$$.dirty & /*enableCarousel, mediaData*/ 4097) {
22647
+ $$invalidate(11, carouselEnabled = enableCarousel && (mediaData === null || mediaData === void 0
22648
+ ? void 0
22649
+ : mediaData.length) > 1);
22650
+ }
22651
+
22652
+ if ($$self.$$.dirty & /*mediaData*/ 1) {
22653
+ $$invalidate(8, mediaDataList = mediaData);
22654
+ }
22655
+
22656
+ if ($$self.$$.dirty & /*mediaDataList, autoplayConfig*/ 384) {
22657
+ $$invalidate(10, autoplay = mediaDataList.length > 1 && autoplayConfig.autoplay);
22292
22658
  }
22293
22659
  };
22294
22660
 
22295
22661
  return [
22662
+ mediaData,
22296
22663
  inDelay,
22297
22664
  outDelay,
22298
22665
  duration,
22299
22666
  unfolded,
22300
22667
  animation,
22301
22668
  objectFit,
22669
+ autoplayConfig,
22302
22670
  mediaDataList,
22303
- mediaData,
22304
- enableCarousel
22671
+ lastAutoPlayIndex,
22672
+ autoplay,
22673
+ carouselEnabled,
22674
+ enableCarousel,
22675
+ slideChange_handler
22305
22676
  ];
22306
22677
  }
22307
22678
 
@@ -22316,14 +22687,15 @@ class Media extends SvelteComponent {
22316
22687
  create_fragment$d,
22317
22688
  safe_not_equal,
22318
22689
  {
22319
- mediaData: 7,
22320
- inDelay: 0,
22321
- outDelay: 1,
22322
- duration: 2,
22323
- unfolded: 3,
22324
- animation: 4,
22325
- objectFit: 5,
22326
- enableCarousel: 8
22690
+ mediaData: 0,
22691
+ inDelay: 1,
22692
+ outDelay: 2,
22693
+ duration: 3,
22694
+ unfolded: 4,
22695
+ animation: 5,
22696
+ objectFit: 6,
22697
+ enableCarousel: 12,
22698
+ autoplayConfig: 7
22327
22699
  },
22328
22700
  add_css$d
22329
22701
  );
@@ -22557,6 +22929,7 @@ function create_if_block_1$5(ctx) {
22557
22929
 
22558
22930
  media = new Media({
22559
22931
  props: {
22932
+ autoplayConfig: { autoplay: false },
22560
22933
  unfolded: /*unfolded*/ ctx[4],
22561
22934
  mediaData: /*mediaData*/ ctx[3],
22562
22935
  inDelay: 500,
@@ -23904,7 +24277,7 @@ function add_css$8(target) {
23904
24277
  append_styles(target, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
23905
24278
  }
23906
24279
 
23907
- // (18:0) {#if tag.state && mediaData}
24280
+ // (20:0) {#if tag.state && mediaData}
23908
24281
  function create_if_block$5(ctx) {
23909
24282
  let div;
23910
24283
  let media;
@@ -23912,10 +24285,11 @@ function create_if_block$5(ctx) {
23912
24285
 
23913
24286
  media = new Media({
23914
24287
  props: {
23915
- unfolded: /*unfolded*/ ctx[3],
23916
- mediaData: /*mediaData*/ ctx[2],
23917
- objectFit: /*objectFit*/ ctx[1],
23918
- enableCarousel: true,
24288
+ unfolded: /*unfolded*/ ctx[5],
24289
+ mediaData: /*mediaData*/ ctx[4],
24290
+ objectFit: /*objectFit*/ ctx[2],
24291
+ enableCarousel: /*enableCarousel*/ ctx[1],
24292
+ autoplayConfig: /*autoplayConfig*/ ctx[3],
23919
24293
  inDelay: 500,
23920
24294
  duration: 500
23921
24295
  }
@@ -23934,9 +24308,11 @@ function create_if_block$5(ctx) {
23934
24308
  },
23935
24309
  p(ctx, dirty) {
23936
24310
  const media_changes = {};
23937
- if (dirty & /*unfolded*/ 8) media_changes.unfolded = /*unfolded*/ ctx[3];
23938
- if (dirty & /*mediaData*/ 4) media_changes.mediaData = /*mediaData*/ ctx[2];
23939
- if (dirty & /*objectFit*/ 2) media_changes.objectFit = /*objectFit*/ ctx[1];
24311
+ if (dirty & /*unfolded*/ 32) media_changes.unfolded = /*unfolded*/ ctx[5];
24312
+ if (dirty & /*mediaData*/ 16) media_changes.mediaData = /*mediaData*/ ctx[4];
24313
+ if (dirty & /*objectFit*/ 4) media_changes.objectFit = /*objectFit*/ ctx[2];
24314
+ if (dirty & /*enableCarousel*/ 2) media_changes.enableCarousel = /*enableCarousel*/ ctx[1];
24315
+ if (dirty & /*autoplayConfig*/ 8) media_changes.autoplayConfig = /*autoplayConfig*/ ctx[3];
23940
24316
  media.$set(media_changes);
23941
24317
  },
23942
24318
  i(local) {
@@ -23958,7 +24334,7 @@ function create_if_block$5(ctx) {
23958
24334
  function create_fragment$8(ctx) {
23959
24335
  let if_block_anchor;
23960
24336
  let current;
23961
- let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[2] && create_if_block$5(ctx);
24337
+ let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[4] && create_if_block$5(ctx);
23962
24338
 
23963
24339
  return {
23964
24340
  c() {
@@ -23971,11 +24347,11 @@ function create_fragment$8(ctx) {
23971
24347
  current = true;
23972
24348
  },
23973
24349
  p(ctx, [dirty]) {
23974
- if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[2]) {
24350
+ if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[4]) {
23975
24351
  if (if_block) {
23976
24352
  if_block.p(ctx, dirty);
23977
24353
 
23978
- if (dirty & /*tag, mediaData*/ 5) {
24354
+ if (dirty & /*tag, mediaData*/ 17) {
23979
24355
  transition_in(if_block, 1);
23980
24356
  }
23981
24357
  } else {
@@ -24013,8 +24389,10 @@ function create_fragment$8(ctx) {
24013
24389
  function instance$8($$self, $$props, $$invalidate) {
24014
24390
  let unfolded;
24015
24391
  let mediaData;
24392
+ let enableCarousel;
24393
+ let autoplayConfig;
24016
24394
  let objectFit;
24017
- var _a;
24395
+ var _a, _b;
24018
24396
  let { tag } = $$props;
24019
24397
 
24020
24398
  $$self.$$set = $$props => {
@@ -24023,23 +24401,38 @@ function instance$8($$self, $$props, $$invalidate) {
24023
24401
 
24024
24402
  $$self.$$.update = () => {
24025
24403
  if ($$self.$$.dirty & /*tag*/ 1) {
24026
- $$invalidate(3, unfolded = tag.state ? tag.state.unfolded : false);
24404
+ $$invalidate(5, unfolded = tag.state ? tag.state.unfolded : false);
24405
+ }
24406
+
24407
+ if ($$self.$$.dirty & /*tag*/ 1) {
24408
+ $$invalidate(4, mediaData = tag.data.mediaData);
24027
24409
  }
24028
24410
 
24029
24411
  if ($$self.$$.dirty & /*tag*/ 1) {
24030
- $$invalidate(2, mediaData = tag.data.mediaData);
24412
+ $$invalidate(1, enableCarousel = tag.data.enableCarousel);
24031
24413
  }
24032
24414
 
24033
- if ($$self.$$.dirty & /*tag, _a*/ 17) {
24034
- $$invalidate(1, objectFit = $$invalidate(4, _a = tag.data.objectFit) !== null && _a !== void 0
24415
+ if ($$self.$$.dirty & /*tag, _a, enableCarousel*/ 67) {
24416
+ $$invalidate(3, autoplayConfig = $$invalidate(6, _a = tag.data.autoplayConfig) !== null && _a !== void 0
24035
24417
  ? _a
24418
+ : {
24419
+ autoplay: enableCarousel !== null && enableCarousel !== void 0
24420
+ ? enableCarousel
24421
+ : true,
24422
+ autoplayVideo: true
24423
+ });
24424
+ }
24425
+
24426
+ if ($$self.$$.dirty & /*tag, _b*/ 129) {
24427
+ $$invalidate(2, objectFit = $$invalidate(7, _b = tag.data.objectFit) !== null && _b !== void 0
24428
+ ? _b
24036
24429
  : (() => {
24037
24430
  if (tag.data.adaptationMode === 'stretch') return 'cover'; else if (tag.data.adaptationMode === 'proportional') return 'contain'; else return undefined;
24038
24431
  })());
24039
24432
  }
24040
24433
  };
24041
24434
 
24042
- return [tag, objectFit, mediaData, unfolded, _a];
24435
+ return [tag, enableCarousel, objectFit, autoplayConfig, mediaData, unfolded, _a, _b];
24043
24436
  }
24044
24437
 
24045
24438
  class MediaPlane extends SvelteComponent {
@@ -26180,6 +26573,16 @@ class TagComputer extends TagCacheController {
26180
26573
  value: new THREE.Raycaster()
26181
26574
  });
26182
26575
  }
26576
+ getTagById(id) {
26577
+ const tag = this.tags.find((tag) => {
26578
+ return tag.id === id;
26579
+ });
26580
+ if (!tag) {
26581
+ console.error(`getTagById(): tag is ${tag}, id is ${id}`);
26582
+ return undefined;
26583
+ }
26584
+ return tag;
26585
+ }
26183
26586
  /**
26184
26587
  * @description: 改变配置
26185
26588
  */
@@ -26234,7 +26637,6 @@ class TagComputer extends TagCacheController {
26234
26637
  const visible = (() => {
26235
26638
  var _a, _b, _c, _d, _e;
26236
26639
  const config = (_a = this.getTagConfig(tag).visibleConfig) !== null && _a !== void 0 ? _a : {};
26237
- // console.log(config)
26238
26640
  const distance = this.getDistance(tag);
26239
26641
  if (typeof config === 'function') {
26240
26642
  return config(this.five, { tag, distance });
@@ -26510,18 +26912,11 @@ class TagComputer extends TagCacheController {
26510
26912
  const unfolded = this.getUnfoldedByPanoIndex(tag);
26511
26913
  if (!tag.state)
26512
26914
  return;
26513
- if (unfolded === undefined)
26514
- return;
26515
- tag.state.unfolded = unfolded;
26516
- });
26517
- }
26518
- setVisibleAndUnfoldedByPanoIndex() {
26519
- this.setVisibleByPanoIndex();
26520
- this.setUnfoldedByPanoIndex();
26521
- this.tags.forEach((tag) => {
26522
- var _a, _b;
26915
+ if (unfolded !== undefined) {
26916
+ tag.state.unfolded = unfolded;
26917
+ }
26523
26918
  // 如果标签展开但不可见,就要判断autoUnfoldWhenHide
26524
- if (((_a = tag.state) === null || _a === void 0 ? void 0 : _a.unfolded) && !((_b = tag.state) === null || _b === void 0 ? void 0 : _b.visible)) {
26919
+ if (unfolded && !tag.state.visible) {
26525
26920
  const config = this.getTagConfig(tag);
26526
26921
  if (typeof config.unfoldedConfig === 'object' && config.unfoldedConfig.autoUnfoldWhenHide !== false) {
26527
26922
  tag.state.unfolded = false;
@@ -26542,16 +26937,6 @@ class TagComputer extends TagCacheController {
26542
26937
  return;
26543
26938
  return { x, y, z };
26544
26939
  }
26545
- getTagById(id) {
26546
- const tag = this.tags.find((tag) => {
26547
- return tag.id === id;
26548
- });
26549
- if (!tag) {
26550
- console.error(`getTagById(): tag is ${tag}, id is ${id}`);
26551
- return undefined;
26552
- }
26553
- return tag;
26554
- }
26555
26940
  // TODO: 优化点:下面这些函数,调用比较频繁,可以按点位加缓存
26556
26941
  filterPointTag() {
26557
26942
  return this.tags.filter((tag) => tag.pointType === PointType.PointTag);
@@ -26571,9 +26956,10 @@ class TagComputer extends TagCacheController {
26571
26956
  }
26572
26957
 
26573
26958
  // declare const __APP_VERSION__: string
26574
- const VERSION$2 = '0.3.6';
26959
+ const VERSION$2 = '1.0.0';
26575
26960
  const PLUGIN_NAME$1 = `DnalogelPlugin-PanoTagPlugin@${VERSION$2}`;
26576
- const TAG_INITIAL_UNFOLDED = true;
26961
+ // 初始是否展开
26962
+ const TAG_INITIAL_UNFOLDED = false;
26577
26963
  const pluginFlag = (name) => `${PLUGIN_NAME$1}--${name}`;
26578
26964
  class PanoTagPluginController extends TagComputer {
26579
26965
  constructor(five, params) {
@@ -26683,8 +27069,9 @@ class PanoTagPluginController extends TagComputer {
26683
27069
  /**
26684
27070
  * @description: 加载数据
26685
27071
  */
26686
- load(data) {
27072
+ load(data, config) {
26687
27073
  var _a, _b;
27074
+ this.clearTags();
26688
27075
  console.log(PLUGIN_NAME$1, 'load:', { data });
26689
27076
  if (this.params.mergePluginDefaultConfigToLoadDataConfig) {
26690
27077
  this.config = objectAssignDeep({}, this.config, {
@@ -26698,17 +27085,15 @@ class PanoTagPluginController extends TagComputer {
26698
27085
  if (data.contentTypeConfig)
26699
27086
  this.config.contentTypeConfig = data.contentTypeConfig;
26700
27087
  }
26701
- this.clearCache();
26702
- this.disposeAllCSS3DContainer();
26703
- this.tags = [];
26704
- this.addTag(data.tagList);
27088
+ this.addTag(data.tagList, config);
27089
+ // debug
26705
27090
  if (this.debug)
26706
27091
  addDebugPoints(this.five, this.tags);
26707
27092
  }
26708
27093
  /**
26709
27094
  * @description: 添加标签
26710
27095
  */
26711
- addTag(tag) {
27096
+ addTag(tag, config) {
26712
27097
  const tags = Array.isArray(tag) ? tag : [tag];
26713
27098
  const _tags = tags
26714
27099
  .map((tag) => {
@@ -26718,7 +27103,7 @@ class PanoTagPluginController extends TagComputer {
26718
27103
  .filter((tag) => tag.position);
26719
27104
  this.tags.push(..._tags);
26720
27105
  actionAfterFiveModelLoad(this.five, () => {
26721
- var _a, _b;
27106
+ var _a, _b, _c;
26722
27107
  // 添加事件
26723
27108
  if (this.store.eventListenerDisposer) {
26724
27109
  (_b = (_a = this.store).eventListenerDisposer) === null || _b === void 0 ? void 0 : _b.call(_a);
@@ -26734,10 +27119,18 @@ class PanoTagPluginController extends TagComputer {
26734
27119
  }, 200);
26735
27120
  }
26736
27121
  this.checkPanelTag();
26737
- this.setVisibleAndUnfoldedByPanoIndex();
26738
- this.updateRenderAllTag();
27122
+ // v0.3.8 新增 withAnimation,默认 false
27123
+ // v1.0.0 withAnimation 默认值改为 true
27124
+ this.setVisibleAndUnfolded({ withAnimation: (_c = config === null || config === void 0 ? void 0 : config.withAnimation) !== null && _c !== void 0 ? _c : true }).then(() => this.updateRenderAllTags());
27125
+ this.updateRenderAllTags();
26739
27126
  });
26740
27127
  }
27128
+ clearTags() {
27129
+ this.tags = [];
27130
+ this.clearCache();
27131
+ this.disposeAllCSS3DContainer();
27132
+ this.updateRenderAllTags();
27133
+ }
26741
27134
  async show(params) {
26742
27135
  const { userAction = true, withAnimation = false } = params !== null && params !== void 0 ? params : {};
26743
27136
  if (this.store.disposed)
@@ -26828,7 +27221,7 @@ class PanoTagPluginController extends TagComputer {
26828
27221
  }
26829
27222
  // 3D 转 2D 的时候要销毁 3D container
26830
27223
  this.checkPanelTag();
26831
- this.updateRenderAllTag();
27224
+ this.updateRenderAllTags();
26832
27225
  }
26833
27226
  /**
26834
27227
  * @description: 改变tag任意属性
@@ -26846,7 +27239,7 @@ class PanoTagPluginController extends TagComputer {
26846
27239
  if ((currentTag === null || currentTag === void 0 ? void 0 : currentTag.tag3DContentSvelte) && (tag === null || tag === void 0 ? void 0 : tag.normal)) {
26847
27240
  currentTag.tag3DContentSvelte.currentNormal = arrayPositionToVector3(tag.normal);
26848
27241
  }
26849
- this.updateRenderAllTag();
27242
+ this.updateRenderAllTags();
26850
27243
  this.checkPanelTag();
26851
27244
  }
26852
27245
  /**
@@ -26860,12 +27253,31 @@ class PanoTagPluginController extends TagComputer {
26860
27253
  return;
26861
27254
  this.tags.splice(index, 1);
26862
27255
  });
26863
- this.updateRenderAllTag();
27256
+ this.updateRenderAllTags();
26864
27257
  }
26865
27258
  /** 暂停当前标签内进行的所有多媒体 */
26866
27259
  pauseCurrentMedia() {
26867
27260
  this.mediaStore.set({ currentMediaUrl: '' });
26868
27261
  }
27262
+ /**
27263
+ * @description: 设置 visible 和 unfolded
27264
+ */
27265
+ async setVisibleAndUnfolded({ withAnimation } = { withAnimation: false }) {
27266
+ this.setVisibleByPanoIndex();
27267
+ if (withAnimation) {
27268
+ return new Promise((resolve, reject) => {
27269
+ // setTimeout 初始隐藏,然后展开,而不是一步到位,要不就没动画了
27270
+ setTimeout(() => {
27271
+ this.setUnfoldedByPanoIndex();
27272
+ resolve();
27273
+ }, 10); // 10ms 是等待 TextTag onMount
27274
+ });
27275
+ }
27276
+ else {
27277
+ this.setUnfoldedByPanoIndex();
27278
+ return Promise.resolve();
27279
+ }
27280
+ }
26869
27281
  handleShow() {
26870
27282
  this.state.visible = true;
26871
27283
  this.updateTagContainerVisible();
@@ -26876,7 +27288,7 @@ class PanoTagPluginController extends TagComputer {
26876
27288
  }
26877
27289
  handleEnable() {
26878
27290
  this.state.enabled = true;
26879
- this.updateRenderAllTag();
27291
+ this.updateRenderAllTags();
26880
27292
  }
26881
27293
  handleDisable() {
26882
27294
  var _a;
@@ -26922,7 +27334,7 @@ class PanoTagPluginController extends TagComputer {
26922
27334
  // resize
26923
27335
  const show = () => {
26924
27336
  this.show();
26925
- this.updateRenderAllTag();
27337
+ this.updateRenderAllTags();
26926
27338
  };
26927
27339
  const { observe: hideObserve, unobserve: hideUnobserve } = resizeObserver(throttle(() => {
26928
27340
  /**
@@ -26960,7 +27372,7 @@ class PanoTagPluginController extends TagComputer {
26960
27372
  tag.temporaryState = Object.assign(Object.assign({}, tag.temporaryState), { visible: false });
26961
27373
  }
26962
27374
  });
26963
- this.updateRenderAllTag();
27375
+ this.updateRenderAllTags();
26964
27376
  }
26965
27377
  /**
26966
27378
  * @description: 走点/切换模型后显示
@@ -26998,13 +27410,13 @@ class PanoTagPluginController extends TagComputer {
26998
27410
  tag.state.unfolded = false;
26999
27411
  });
27000
27412
  }
27001
- this.updateRenderAllTag();
27413
+ this.updateRenderAllTags();
27002
27414
  }
27003
27415
  }
27004
27416
  /**
27005
27417
  * @description: 更新所有标签
27006
27418
  */
27007
- updateRenderAllTag() {
27419
+ updateRenderAllTags() {
27008
27420
  this.updateRenderPointTag();
27009
27421
  this.updateRenderPlaneTag();
27010
27422
  }
@@ -27025,20 +27437,20 @@ class PanoTagPluginController extends TagComputer {
27025
27437
  // 设置展开/收起
27026
27438
  this.setUnfoldedByCamera();
27027
27439
  // 渲染
27028
- this.updateRenderAllTag();
27440
+ this.updateRenderAllTags();
27029
27441
  }, 100);
27030
27442
  }
27031
27443
  handleFiveCameraUpdate() {
27032
27444
  // 渲染
27033
27445
  this.updateRenderPointTag();
27034
27446
  }
27035
- handleFivePanoArrived() {
27036
- this.setVisibleAndUnfoldedByPanoIndex();
27447
+ async handleFivePanoArrived() {
27448
+ await this.setVisibleAndUnfolded();
27037
27449
  this.tags.forEach((tag) => {
27038
27450
  tag.temporaryState = Object.assign(Object.assign({}, tag.temporaryState), { visible: true });
27039
27451
  });
27040
27452
  // 渲染
27041
- this.updateRenderAllTag();
27453
+ this.updateRenderAllTags();
27042
27454
  }
27043
27455
  setUnfoldedByCamera() {
27044
27456
  let hasTagUnfolded = false; // 是否有标签由于camera的转动而展开