@realsee/dnalogel 2.1.2-alpha.0 → 2.1.2-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (521) hide show
  1. package/README.md +3 -12
  2. package/docs/classes/CruisePluginController.html +24 -24
  3. package/docs/classes/Magnifier.html +16 -16
  4. package/docs/classes/ModelRoomLabelController.html +11 -11
  5. package/docs/classes/Object3DHelperController.html +24 -24
  6. package/docs/classes/PaintBrush.html +15 -15
  7. package/docs/classes/PanoTagPluginController.html +39 -39
  8. package/docs/classes/Util.BetterTween.html +8 -8
  9. package/docs/classes/Util.FivePointSelector.html +12 -12
  10. package/docs/classes/Util.Interval.html +12 -12
  11. package/docs/classes/Util.Magnifier.html +17 -17
  12. package/docs/classes/Util.PointDomHelper.html +11 -11
  13. package/docs/classes/Util.PointHelper.html +11 -11
  14. package/docs/classes/Util.Rectangle.html +13 -13
  15. package/docs/enums/CameraMovementEffect.html +7 -7
  16. package/docs/enums/ContentType.html +12 -12
  17. package/docs/enums/DIRECTION.html +9 -9
  18. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  19. package/docs/enums/DimensionType.html +7 -7
  20. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  21. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  22. package/docs/enums/LinkType.html +7 -7
  23. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  24. package/docs/enums/PointType.html +7 -7
  25. package/docs/enums/Rotation.html +8 -8
  26. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  27. package/docs/functions/CameraMovementPlugin.html +4 -4
  28. package/docs/functions/CruisePlugin.html +4 -4
  29. package/docs/functions/GuideLinePlugin.html +5 -5
  30. package/docs/functions/ItemLabelPlugin.html +4 -4
  31. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  32. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  33. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  34. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  35. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  36. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  37. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  38. package/docs/functions/ModelViewPlugin.html +4 -4
  39. package/docs/functions/Object3DHelperPlugin.html +4 -4
  40. package/docs/functions/PanoCompassPlugin.html +4 -4
  41. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  42. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  43. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  44. package/docs/functions/PanoMeasurePlugin.html +4 -4
  45. package/docs/functions/PanoRulerPlugin.html +4 -4
  46. package/docs/functions/PanoRulerProPlugin.html +4 -4
  47. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  48. package/docs/functions/PanoTagPlugin.html +4 -4
  49. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  50. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  51. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  52. package/docs/functions/Util.getFrameTime.html +5 -5
  53. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  54. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  55. package/docs/functions/Util.isNil.html +5 -5
  56. package/docs/functions/Util.nextFrame.html +5 -5
  57. package/docs/functions/Util.notNil.html +5 -5
  58. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  59. package/docs/functions/Util.tweenProgress.html +5 -5
  60. package/docs/functions/pluginFlag.html +5 -5
  61. package/docs/index.html +6 -11
  62. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  63. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  64. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  65. package/docs/interfaces/ContentTypeMap.html +12 -12
  66. package/docs/interfaces/FloorplanBounding.html +8 -8
  67. package/docs/interfaces/FloorplanData.html +10 -10
  68. package/docs/interfaces/FloorplanEntrance.html +11 -11
  69. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  70. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  71. package/docs/interfaces/FloorplanFloorData.html +9 -9
  72. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  73. package/docs/interfaces/FloorplanObserver.html +9 -9
  74. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  75. package/docs/interfaces/FloorplanPosition.html +7 -7
  76. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  77. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  78. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  79. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  80. package/docs/interfaces/FloorplanServerData.html +7 -7
  81. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  82. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  83. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  84. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  85. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  86. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  87. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  88. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  89. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  90. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  91. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  92. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  93. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  94. package/docs/interfaces/LineJson.html +7 -7
  95. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  96. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  97. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  98. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  99. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  100. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  101. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  102. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  103. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  104. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  105. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  106. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  107. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  108. package/docs/interfaces/Object3DHelperState.html +8 -8
  109. package/docs/interfaces/OpenParameter.html +7 -7
  110. package/docs/interfaces/PaintBrushAction.html +12 -12
  111. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  112. package/docs/interfaces/PaintBrushState.html +10 -10
  113. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  114. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  115. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  116. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  117. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  118. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  119. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  120. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  121. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  122. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  123. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  124. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  125. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  126. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  127. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  128. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  129. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  130. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  131. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  132. package/docs/interfaces/Point.html +8 -8
  133. package/docs/interfaces/PointJson.html +8 -8
  134. package/docs/interfaces/Room.html +9 -9
  135. package/docs/interfaces/RoomInfo.html +7 -7
  136. package/docs/interfaces/RoomLabel.html +14 -14
  137. package/docs/interfaces/RoomRules.html +5 -5
  138. package/docs/interfaces/Rooms.html +5 -5
  139. package/docs/interfaces/Scissor.html +9 -9
  140. package/docs/interfaces/TagConfig.html +10 -10
  141. package/docs/interfaces/Tags.html +9 -9
  142. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  143. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  144. package/docs/modules/Util.html +5 -5
  145. package/docs/modules.html +4 -4
  146. package/docs/types/ArrayPosition.html +5 -5
  147. package/docs/types/CSS3DRenderExportType.html +5 -5
  148. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  149. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  150. package/docs/types/Color.html +5 -5
  151. package/docs/types/ContentTypeConfigKey.html +5 -5
  152. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  153. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  154. package/docs/types/Create3DElementReturnType.html +5 -5
  155. package/docs/types/CruisePluginExportType.html +5 -5
  156. package/docs/types/Direction-1.html +5 -5
  157. package/docs/types/Direction4.html +5 -5
  158. package/docs/types/FloorplanRuleLabels.html +5 -5
  159. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  160. package/docs/types/GuideLinePluginExportType.html +5 -5
  161. package/docs/types/HelperEventMap.html +5 -5
  162. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  163. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  164. package/docs/types/MediaData.html +5 -5
  165. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  166. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  167. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  168. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  169. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  170. package/docs/types/MoveArgs.html +5 -5
  171. package/docs/types/MoveOpts.html +5 -5
  172. package/docs/types/Object3DHelperEventMap.html +5 -5
  173. package/docs/types/ObjectFit.html +5 -5
  174. package/docs/types/PaintBrushEventMap.html +5 -5
  175. package/docs/types/PanoCompassPluginData.html +5 -5
  176. package/docs/types/PanoCompassPluginExportType.html +5 -5
  177. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  178. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  179. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  180. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  181. package/docs/types/PanoMeasureReturnType.html +5 -5
  182. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  183. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  184. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  185. package/docs/types/PlaneTag.html +5 -5
  186. package/docs/types/PointTag.html +5 -5
  187. package/docs/types/Position.html +5 -5
  188. package/docs/types/RotateArgs.html +5 -5
  189. package/docs/types/RotateOpts.html +5 -5
  190. package/docs/types/RuleLabelsKey.html +5 -5
  191. package/docs/types/RuleLabelsValue.html +5 -5
  192. package/docs/types/Tag.html +5 -5
  193. package/docs/types/Tag2D.html +5 -5
  194. package/docs/types/Tag3D.html +5 -5
  195. package/docs/types/TagId.html +5 -5
  196. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  197. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  198. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  199. package/docs/variables/PLUGIN.html +5 -5
  200. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  201. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  202. package/docs/variables/VERSION.html +5 -5
  203. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  204. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  205. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  206. package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -331
  207. package/libs/CSS3DRenderPlugin/Controller.js +1 -84
  208. package/libs/CSS3DRenderPlugin/index.js +1 -6
  209. package/libs/CSS3DRenderPlugin/typing.js +1 -0
  210. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +1 -67
  211. package/libs/CSS3DRenderPlugin/utils/centerPoint.js +1 -10
  212. package/libs/CSS3DRenderPlugin/utils/evenNumber.js +1 -7
  213. package/libs/CSS3DRenderPlugin/utils/index.js +1 -0
  214. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +1 -7
  215. package/libs/CSS3DRenderPlugin/utils/random.js +1 -0
  216. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +1 -88
  217. package/libs/CameraMovementPlugin/index.js +1 -0
  218. package/libs/CameraMovementPlugin/typing.js +1 -5
  219. package/libs/CruisePlugin/Controller.js +1 -484
  220. package/libs/CruisePlugin/index.js +1 -8
  221. package/libs/CruisePlugin/utils/coordinatesAngle.js +1 -8
  222. package/libs/CruisePlugin/utils/coordinatesToVector.js +1 -12
  223. package/libs/CruisePlugin/utils/formatRad.js +1 -7
  224. package/libs/CruisePlugin/utils/linerValue.js +1 -7
  225. package/libs/CruisePlugin/utils/safeCall.js +1 -28
  226. package/libs/CruisePlugin/utils/sleep.js +1 -10
  227. package/libs/CruisePlugin/utils/vectorToCoordinates.js +1 -10
  228. package/libs/GuideLinePlugin/Controller.js +1 -144
  229. package/libs/GuideLinePlugin/index.js +1 -6
  230. package/libs/GuideLinePlugin/utils/getArrowMaterial.js +1 -13
  231. package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -64
  232. package/libs/ItemLabelPlugin/ItemLabelComponent.js +1 -271
  233. package/libs/ItemLabelPlugin/ItemLabelItem.js +2 -133
  234. package/libs/ItemLabelPlugin/Plugin.js +2 -76
  235. package/libs/ItemLabelPlugin/index.js +1 -12
  236. package/libs/ItemLabelPlugin/typings.js +1 -4
  237. package/libs/ItemLabelPlugin/utils/getLabelTransform.js +1 -4
  238. package/libs/ItemLabelPlugin/utils/getStrokeLength.js +1 -16
  239. package/libs/ItemLabelPlugin/utils/isImpacted.js +1 -10
  240. package/libs/ItemLabelPlugin/utils/parseData.js +1 -21
  241. package/libs/ItemLabelPlugin/utils/transform2RenderData.js +1 -21
  242. package/libs/ModelChassisCompassPlugin/Plugin.js +1 -71
  243. package/libs/ModelChassisCompassPlugin/index.js +1 -0
  244. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +1 -78
  245. package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
  246. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +1 -212
  247. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +2 -42
  248. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +2 -74
  249. package/libs/ModelItemLabelPlugin/events.type.js +1 -0
  250. package/libs/ModelItemLabelPlugin/index.js +1 -12
  251. package/libs/ModelItemLabelPlugin/typings.js +1 -4
  252. package/libs/ModelItemLabelPlugin/utils/parseData.js +1 -19
  253. package/libs/ModelRoomLabelPlugin/Assets/roomLabelBg.js +1 -4
  254. package/libs/ModelRoomLabelPlugin/Controller.js +1 -60
  255. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +1 -45
  256. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +1 -162
  257. package/libs/ModelRoomLabelPlugin/index.js +1 -10
  258. package/libs/ModelRoomLabelPlugin/utils/parseData.js +1 -16
  259. package/libs/ModelTVVideoPlugin/Plugin.js +1 -164
  260. package/libs/ModelTVVideoPlugin/index.js +1 -0
  261. package/libs/ModelTVVideoPlugin/typings.js +1 -4
  262. package/libs/ModelTVVideoPlugin/utils/parseData.js +1 -20
  263. package/libs/ModelViewPlugin/Plugin.js +1 -107
  264. package/libs/ModelViewPlugin/index.js +1 -0
  265. package/libs/Object3DHelperPlugin/Controller.js +1 -145
  266. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +1 -32
  267. package/libs/Object3DHelperPlugin/index.js +1 -10
  268. package/libs/PanoCompassPlugin/Assets/roomInfoIcon.js +1 -4
  269. package/libs/PanoCompassPlugin/Controller.js +1 -224
  270. package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -24
  271. package/libs/PanoCompassPlugin/index.js +1 -6
  272. package/libs/PanoCursorRaycasterPlugin/index.js +1 -59
  273. package/libs/PanoDoorLabelPlugin/BaseController.js +1 -59
  274. package/libs/PanoDoorLabelPlugin/Controller.js +1 -219
  275. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +1 -65
  276. package/libs/PanoDoorLabelPlugin/index.js +1 -6
  277. package/libs/PanoDoorLabelPlugin/utils.js +1 -23
  278. package/libs/PanoMeasurePlugin/Controller/BaseController.js +1 -53
  279. package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -102
  280. package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -125
  281. package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +1 -33
  282. package/libs/PanoMeasurePlugin/Controller/ViewController.js +1 -90
  283. package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -154
  284. package/libs/PanoMeasurePlugin/Controller/index.js +1 -140
  285. package/libs/PanoMeasurePlugin/Model/index.js +1 -92
  286. package/libs/PanoMeasurePlugin/Model/line.js +1 -56
  287. package/libs/PanoMeasurePlugin/Model/point.js +1 -30
  288. package/libs/PanoMeasurePlugin/Model/polyline.js +1 -47
  289. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +2 -5
  290. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -4
  291. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -4
  292. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +3 -67
  293. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +1 -28
  294. package/libs/PanoMeasurePlugin/Modules/GuideController.js +1 -41
  295. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -103
  296. package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +8 -12
  297. package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +1 -50
  298. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -36
  299. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -48
  300. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +3 -8
  301. package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +1 -39
  302. package/libs/PanoMeasurePlugin/Modules/UIController/style.js +1 -62
  303. package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +2 -7
  304. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +1 -130
  305. package/libs/PanoMeasurePlugin/index.js +1 -11
  306. package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -12
  307. package/libs/PanoMeasurePlugin/utils/constants.js +1 -36
  308. package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -62
  309. package/libs/PanoMeasurePlugin/utils/findAssociatedLines.js +1 -13
  310. package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +1 -15
  311. package/libs/PanoMeasurePlugin/utils/getIntersectionFromEvent.js +1 -9
  312. package/libs/PanoMeasurePlugin/utils/getPointFromHammerEvent.js +1 -8
  313. package/libs/PanoMeasurePlugin/utils/ironbox.js +1 -4
  314. package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +1 -7
  315. package/libs/PanoMeasurePlugin/utils/line.js +1 -18
  316. package/libs/PanoMeasurePlugin/utils/math.js +1 -13
  317. package/libs/PanoMeasurePlugin/utils/mouseGroup.js +3 -33
  318. package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +1 -8
  319. package/libs/PanoRulerPlugin/Plugin.js +2 -263
  320. package/libs/PanoRulerPlugin/index.js +1 -0
  321. package/libs/PanoRulerPlugin/style.js +2 -5
  322. package/libs/PanoRulerProPlugin/Controller.js +1 -93
  323. package/libs/PanoRulerProPlugin/RulerItem.js +1 -128
  324. package/libs/PanoRulerProPlugin/RulerItems.js +1 -180
  325. package/libs/PanoRulerProPlugin/index.js +1 -6
  326. package/libs/PanoSpatialTagPlugin/Components/origins.js +1 -81
  327. package/libs/PanoSpatialTagPlugin/Components/tag.js +1 -124
  328. package/libs/PanoSpatialTagPlugin/Plugin.js +1 -247
  329. package/libs/PanoSpatialTagPlugin/index.js +1 -0
  330. package/libs/PanoSpatialTagPlugin/store.js +1 -5
  331. package/libs/PanoSpatialTagPlugin/style.js +1 -11
  332. package/libs/PanoSpatialTagPlugin/typings.js +1 -0
  333. package/libs/PanoTagPlugin/Assets/Icon.js +1 -6
  334. package/libs/PanoTagPlugin/Components/Common/Arrow.js +1 -103
  335. package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -166
  336. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +1 -93
  337. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +1 -90
  338. package/libs/PanoTagPlugin/Components/Common/Media.js +1 -393
  339. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -139
  340. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +1 -170
  341. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +1 -51
  342. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +1 -51
  343. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +1 -166
  344. package/libs/PanoTagPlugin/Components/Common/Shadow.js +15 -124
  345. package/libs/PanoTagPlugin/Components/Common/Text.js +1 -131
  346. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +1 -134
  347. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +1 -73
  348. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -192
  349. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +1 -126
  350. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -258
  351. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +1 -87
  352. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +1 -122
  353. package/libs/PanoTagPlugin/Components/Tag/index.js +2 -289
  354. package/libs/PanoTagPlugin/Components/TagContainer.js +1 -156
  355. package/libs/PanoTagPlugin/Components/TagWrapper.js +1 -153
  356. package/libs/PanoTagPlugin/controller/TagCacheController.js +1 -31
  357. package/libs/PanoTagPlugin/controller/TagComputer.js +1 -264
  358. package/libs/PanoTagPlugin/controller/index.js +1 -377
  359. package/libs/PanoTagPlugin/index.js +1 -9
  360. package/libs/PanoTagPlugin/tag.config.js +1 -44
  361. package/libs/PanoTagPlugin/typings/controller.js +1 -0
  362. package/libs/PanoTagPlugin/typings/index.js +1 -0
  363. package/libs/PanoTagPlugin/typings/tag.js +1 -7
  364. package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +1 -6
  365. package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -27
  366. package/libs/PanoTagPlugin/utils/checkRange.js +1 -10
  367. package/libs/PanoTagPlugin/utils/constants.js +1 -8
  368. package/libs/PanoTagPlugin/utils/debounce.js +1 -12
  369. package/libs/PanoTagPlugin/utils/doUtil.js +1 -12
  370. package/libs/PanoTagPlugin/utils/index.js +1 -0
  371. package/libs/PanoTagPlugin/utils/noTypecheck.js +1 -4
  372. package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +1 -13
  373. package/libs/PanoTagPlugin/utils/planeNormal.js +1 -11
  374. package/libs/PanoTagPlugin/utils/resizeObserver.js +1 -17
  375. package/libs/PanoTagPlugin/utils/search.js +1 -15
  376. package/libs/PanoTagPlugin/utils/tagPosition.js +1 -13
  377. package/libs/PanoTagPlugin/utils/throttle.js +1 -11
  378. package/libs/base/BasePlugin.js +1 -18
  379. package/libs/base/BasePluginWithData.js +1 -6
  380. package/libs/components/PaintBrush/Controller.js +1 -308
  381. package/libs/components/PaintBrush/Subscribe.js +1 -47
  382. package/libs/components/PaintBrush/index.js +1 -45
  383. package/libs/components/PaintBrush/style.js +2 -5
  384. package/libs/components/PaintBrush/tween.js +1 -11
  385. package/libs/components/PaintBrush/typings.js +1 -4
  386. package/libs/components/PaintBrush/utils.js +1 -45
  387. package/libs/components/index.js +1 -0
  388. package/libs/floorplan/Assets/camera.js +1 -4
  389. package/libs/floorplan/Assets/compass.js +1 -4
  390. package/libs/floorplan/Assets/floorplanExtraObject.js +1 -4
  391. package/libs/floorplan/Components/BaseImage.js +1 -103
  392. package/libs/floorplan/Components/Camera.js +1 -62
  393. package/libs/floorplan/Components/Compass.js +1 -60
  394. package/libs/floorplan/Components/CurrentFloor.js +1 -246
  395. package/libs/floorplan/Components/Main.js +1 -264
  396. package/libs/floorplan/Components/Normalmage.js +1 -37
  397. package/libs/floorplan/Components/RoomHighlight/Room.js +1 -61
  398. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +1 -121
  399. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +1 -153
  400. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +1 -174
  401. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +1 -196
  402. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +1 -37
  403. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +1 -39
  404. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +1 -37
  405. package/libs/floorplan/Components/RuleLabels/RuleItem.js +1 -134
  406. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +1 -139
  407. package/libs/floorplan/Components/SvgImage.js +2 -39
  408. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -321
  409. package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -6
  410. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -316
  411. package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -6
  412. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -85
  413. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +1 -129
  414. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +1 -72
  415. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +1 -183
  416. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -164
  417. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -6
  418. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -273
  419. package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -6
  420. package/libs/floorplan/constant.js +1 -4
  421. package/libs/floorplan/index.js +1 -0
  422. package/libs/floorplan/typings/floorplanData.js +1 -0
  423. package/libs/floorplan/typings/floorplanServerData.js +1 -101
  424. package/libs/floorplan/utils/constant.js +1 -7
  425. package/libs/floorplan/utils/correctFiveState.js +1 -54
  426. package/libs/floorplan/utils/formatData.js +1 -104
  427. package/libs/floorplan/utils/formatPosition.js +1 -35
  428. package/libs/index.js +1 -92
  429. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -152
  430. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +1 -53
  431. package/libs/shared-utils/Object3DHelper/Constants/color.js +1 -21
  432. package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.js +1 -18
  433. package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -66
  434. package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -109
  435. package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +1 -134
  436. package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -79
  437. package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -41
  438. package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js +1 -14
  439. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -30
  440. package/libs/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js +1 -35
  441. package/libs/shared-utils/Object3DHelper/Helper/OutlineHelper.js +1 -2
  442. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +1 -137
  443. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +1 -136
  444. package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -0
  445. package/libs/shared-utils/Object3DHelper/index.js +1 -169
  446. package/libs/shared-utils/Object3DHelper/typings/Direction.js +1 -0
  447. package/libs/shared-utils/Object3DHelper/typings/Hooks.js +1 -0
  448. package/libs/shared-utils/Object3DHelper/typings/Scissor.js +1 -0
  449. package/libs/shared-utils/Object3DHelper/typings/index.js +1 -0
  450. package/libs/shared-utils/Object3DHelper/utils/calculateThreeMouse.js +1 -11
  451. package/libs/shared-utils/Object3DHelper/utils/direction.js +1 -22
  452. package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +1 -0
  453. package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.js +1 -14
  454. package/libs/shared-utils/Object3DHelper/utils/getPoint.js +1 -0
  455. package/libs/shared-utils/Object3DHelper/utils/index.js +1 -0
  456. package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +1 -0
  457. package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +1 -0
  458. package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +1 -191
  459. package/libs/shared-utils/Object3DHelper/utils/vectorIsEqual.js +1 -6
  460. package/libs/shared-utils/Subscribe.js +1 -50
  461. package/libs/shared-utils/animationFrame/BetterTween.js +1 -26
  462. package/libs/shared-utils/animationFrame/calculateProgress.js +1 -6
  463. package/libs/shared-utils/animationFrame/formatRad.js +1 -11
  464. package/libs/shared-utils/animationFrame/index.js +1 -31
  465. package/libs/shared-utils/animationFrame/tween.js +1 -30
  466. package/libs/shared-utils/changeModelCanvasOpacity.js +1 -12
  467. package/libs/shared-utils/createCanvasTextTexture.js +1 -11
  468. package/libs/shared-utils/createLine/index.js +1 -9
  469. package/libs/shared-utils/debounce.js +1 -11
  470. package/libs/shared-utils/equal.js +1 -54
  471. package/libs/shared-utils/filter.js +1 -10
  472. package/libs/shared-utils/five/changeMode.js +1 -39
  473. package/libs/shared-utils/getPxmm.js +1 -21
  474. package/libs/shared-utils/index.js +1 -31
  475. package/libs/shared-utils/isNil.js +1 -10
  476. package/libs/shared-utils/isTruelyObject.js +1 -6
  477. package/libs/shared-utils/math/Interval.js +1 -23
  478. package/libs/shared-utils/math/Rectangle.js +1 -23
  479. package/libs/shared-utils/math/index.js +1 -0
  480. package/libs/shared-utils/math/planimetry.js +1 -48
  481. package/libs/shared-utils/math/rad2Deg.js +1 -6
  482. package/libs/shared-utils/nearlyEqual.js +1 -6
  483. package/libs/shared-utils/nextFrame.js +1 -6
  484. package/libs/shared-utils/noop.js +1 -5
  485. package/libs/shared-utils/object3d2LocalMatrix.js +1 -19
  486. package/libs/shared-utils/removeArrayItem.js +1 -8
  487. package/libs/shared-utils/tap.js +1 -6
  488. package/libs/shared-utils/three/Assets/index.js +1 -4
  489. package/libs/shared-utils/three/FivePointSelector.js +1 -49
  490. package/libs/shared-utils/three/Magnifier.js +1 -104
  491. package/libs/shared-utils/three/PointDomHelper.js +1 -60
  492. package/libs/shared-utils/three/PointHelper.js +3 -60
  493. package/libs/shared-utils/three/getCoords.js +1 -13
  494. package/libs/shared-utils/three/getIntersect.js +1 -8
  495. package/libs/shared-utils/three/getRaycaster.js +1 -12
  496. package/libs/shared-utils/three/index.js +1 -0
  497. package/libs/shared-utils/three/loadTexture.js +1 -28
  498. package/libs/shared-utils/three/transformPositionToVector3.js +1 -5
  499. package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +1 -24
  500. package/libs/shared-utils/throttle.js +1 -11
  501. package/libs/shared-utils/tinyEJSrender.js +14 -138
  502. package/libs/shared-utils/to.js +1 -29
  503. package/libs/shared-utils/uuid.js +1 -10
  504. package/libs/vendor/swiper/components-shared/get-changed-params.js +1 -0
  505. package/libs/vendor/swiper/components-shared/get-params.js +1 -0
  506. package/libs/vendor/swiper/components-shared/mount-swiper.js +1 -0
  507. package/libs/vendor/swiper/components-shared/params-list.js +1 -0
  508. package/libs/vendor/swiper/components-shared/update-swiper.js +1 -0
  509. package/libs/vendor/swiper/components-shared/utils.js +1 -0
  510. package/libs/vendor/swiper/svelte/swiper-slide.js +1 -0
  511. package/libs/vendor/swiper/svelte/swiper-svelte.js +1 -0
  512. package/libs/vendor/swiper/svelte/swiper.js +1 -0
  513. package/package.json +187 -17
  514. package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-changed-params.js +0 -29
  515. package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-params.js +0 -23
  516. package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/mount-swiper.js +0 -14
  517. package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/params-list.js +0 -120
  518. package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/update-swiper.js +0 -36
  519. package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/utils.js +0 -32
  520. package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/svelte/swiper-slide.js +0 -182
  521. package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/svelte/swiper.js +0 -254
@@ -1,104 +1 @@
1
- var P = Object.defineProperty;
2
- var b = (s, t, e) => t in s ? P(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
3
- var a = (s, t, e) => (b(s, typeof t != "symbol" ? t + "" : t, e), e);
4
- import w from "hammerjs";
5
- import * as m from "three";
6
- import { Subscribe as D } from "@realsee/five";
7
- function l(s, t, e) {
8
- const n = s[t], i = s[e];
9
- !n || !i || (s[t] = i, s[e] = n);
10
- }
11
- function C(s, t, e) {
12
- const n = e / 2;
13
- for (let i = 1; i <= n; i++) {
14
- const h = e - (i - 1);
15
- for (let r = 1; r <= t; r++) {
16
- const o = (i - 1) * t + r - 1, c = (h - 1) * t + r - 1;
17
- l(s, o * 4 + 0, c * 4 + 0), l(s, o * 4 + 1, c * 4 + 1), l(s, o * 4 + 2, c * 4 + 2), l(s, o * 4 + 3, c * 4 + 3);
18
- }
19
- }
20
- }
21
- class H {
22
- constructor(t, e) {
23
- a(this, "width");
24
- a(this, "height");
25
- a(this, "containerDom");
26
- a(this, "hooks", new D());
27
- a(this, "canvas", document.createElement("canvas"));
28
- a(this, "five");
29
- a(this, "scale");
30
- a(this, "config");
31
- a(this, "offset", { x: 0, y: 0 });
32
- a(this, "context");
33
- a(this, "renderCenter", new m.Vector3());
34
- a(this, "hammer");
35
- a(this, "state", { enabled: !1 });
36
- a(this, "onPan", (t) => {
37
- if (!this.containerDom || this.hooks.emit("wantsPanGesture", t))
38
- return;
39
- const n = this.offset.x + t.deltaX, i = this.offset.y + t.deltaY;
40
- this.canvas.style.boxShadow = "0 2px 30px 0 rgba(0,0,0,0.20)", this.canvas.style.transform = `translate3d(${n}px, ${i}px, 100px)`;
41
- });
42
- a(this, "onPanEnd", (t) => {
43
- this.offset = { x: this.offset.x + t.deltaX, y: this.offset.y + t.deltaY }, this.canvas.style.boxShadow = "none";
44
- });
45
- var i, h, r;
46
- if (!t.renderer)
47
- throw new Error("Five Render \u672A\u521D\u59CB\u5316");
48
- this.five = t, this.scale = (i = e == null ? void 0 : e.scale) != null ? i : 2, this.width = (h = e == null ? void 0 : e.width) != null ? h : 190, this.height = (r = e == null ? void 0 : e.height) != null ? r : 190, this.config = {
49
- dragEnabled: (e == null ? void 0 : e.dragEnabled) || !1,
50
- autoFixPCPosition: (e == null ? void 0 : e.autoFixPCPosition) || !1,
51
- initialPosition: (e == null ? void 0 : e.initialPosition) || { left: "0", top: "0" }
52
- };
53
- const n = this.canvas.getContext("2d");
54
- if (!n)
55
- throw new Error("CANNOT CREATE CONTEXT2D");
56
- this.context = n, this.config.dragEnabled && (this.hammer = new w(this.canvas), this.hammer.on("pan", this.onPan), this.hammer.on("panend", this.onPanEnd)), this.initStyle();
57
- }
58
- dispose() {
59
- var t;
60
- this.clear(), this.disable(), (t = this.hammer) == null || t.destroy();
61
- }
62
- enable() {
63
- var t;
64
- if (!this.state.enabled)
65
- return this.state.enabled = !0, (t = this.containerDom) == null || t.append(this.canvas), this;
66
- }
67
- disable() {
68
- if (!!this.state.enabled)
69
- return this.state.enabled = !1, this.canvas.remove(), this;
70
- }
71
- appendTo(t) {
72
- var e;
73
- return this.containerDom && ((e = this.containerDom) == null || e.removeChild(this.canvas)), this.containerDom = t, this.state.enabled && t.append(this.canvas), this;
74
- }
75
- clear() {
76
- return this.context.clearRect(0, 0, this.canvas.width, this.canvas.height), this;
77
- }
78
- renderWithPoint(t) {
79
- !this.containerDom || !this.state.enabled || (this.renderCenter = t, this.render(), this.config.autoFixPCPosition && this.autoFixPCPosition());
80
- }
81
- autoFixPCPosition() {
82
- if (!this.containerDom)
83
- return;
84
- const { width: t, height: e } = this, n = this.renderCenter.clone().project(this.five.camera), i = (n.x + 1) / 2 * this.containerDom.clientWidth, h = -(n.x - 1) / 2 * this.containerDom.clientWidth, r = -(n.y - 1) / 2 * this.containerDom.clientHeight;
85
- i < 183 ? (this.canvas.style.top = -e / 2 + "px", this.canvas.style.left = 90 + "px") : r < 183 ? (this.canvas.style.top = 90 + "px", this.canvas.style.left = -t / 2 + "px") : h < 183 ? (this.canvas.style.top = -e / 2 + "px", this.canvas.style.left = -t - 90 + "px") : (this.canvas.style.left = -t / 2 + "px", this.canvas.style.top = -e - 90 + "px"), this.canvas.style.transform = `translate3d(${i}px, ${r}px, 10px)`, this.offset = { x: i, y: r };
86
- }
87
- render() {
88
- if (!this.five.renderer || !this.containerDom)
89
- return;
90
- const { scale: t, context: e, width: n, height: i } = this, h = this.renderCenter.clone().project(this.five.camera), r = this.five.renderer.getSize(new m.Vector2()), o = 1, c = n / t, u = i / t, v = o * t, y = (h.x + 1) / 2 * r.x, p = (h.y + 1) / 2 * r.y, d = this.five.getPixels(y - c / 2, p - c / 2, c, u, v), f = Math.floor(n * o), x = Math.floor(i * o);
91
- C(d, f, x);
92
- const g = new ImageData(f, x);
93
- g.data.set(d), e.putImageData(g, 0, 0);
94
- }
95
- initStyle() {
96
- const t = this.canvas;
97
- t.classList.add("five-plugin__magnifier"), t.style.position = "absolute", t.style.pointerEvents = "all", t.style.borderRadius = "50%", t.style.zIndex = "99";
98
- const e = 1;
99
- t.setAttribute("width", (this.width * e).toString()), t.setAttribute("height", (this.height * e).toString()), t.style.border = "2px solid rgba(255,255,255,0.20)", t.style.width = this.width + "px", t.style.height = this.height + "px", t.style.top = this.config.initialPosition.top, t.style.left = this.config.initialPosition.left, t.style.transform = "translate(0,0,100px)", this.config.dragEnabled && (this.canvas.style.cursor = "pointer");
100
- }
101
- }
102
- export {
103
- H as Magnifier
104
- };
1
+ "use strict";var p=Object.defineProperty;var P=(i,t,e)=>t in i?p(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var a=(i,t,e)=>(P(i,typeof t!="symbol"?t+"":t,e),e);const w=require("hammerjs"),D=require("three"),E=require("@realsee/five"),C=i=>i&&typeof i=="object"&&"default"in i?i:{default:i};function S(i){if(i&&i.__esModule)return i;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const e in i)if(e!=="default"){const s=Object.getOwnPropertyDescriptor(i,e);Object.defineProperty(t,e,s.get?s:{enumerable:!0,get:()=>i[e]})}}return t.default=i,Object.freeze(t)}const _=C(w),x=S(D);function l(i,t,e){const s=i[t],n=i[e];!s||!n||(i[t]=n,i[e]=s)}function H(i,t,e){const s=e/2;for(let n=1;n<=s;n++){const h=e-(n-1);for(let r=1;r<=t;r++){const c=(n-1)*t+r-1,o=(h-1)*t+r-1;l(i,c*4+0,o*4+0),l(i,c*4+1,o*4+1),l(i,c*4+2,o*4+2),l(i,c*4+3,o*4+3)}}}class R{constructor(t,e){a(this,"width");a(this,"height");a(this,"containerDom");a(this,"hooks",new E.Subscribe);a(this,"canvas",document.createElement("canvas"));a(this,"five");a(this,"scale");a(this,"config");a(this,"offset",{x:0,y:0});a(this,"context");a(this,"renderCenter",new x.Vector3);a(this,"hammer");a(this,"state",{enabled:!1});a(this,"onPan",t=>{if(!this.containerDom||this.hooks.emit("wantsPanGesture",t))return;const s=this.offset.x+t.deltaX,n=this.offset.y+t.deltaY;this.canvas.style.boxShadow="0 2px 30px 0 rgba(0,0,0,0.20)",this.canvas.style.transform=`translate3d(${s}px, ${n}px, 100px)`});a(this,"onPanEnd",t=>{this.offset={x:this.offset.x+t.deltaX,y:this.offset.y+t.deltaY},this.canvas.style.boxShadow="none"});var n,h,r;if(!t.renderer)throw new Error("Five Render \u672A\u521D\u59CB\u5316");this.five=t,this.scale=(n=e==null?void 0:e.scale)!=null?n:2,this.width=(h=e==null?void 0:e.width)!=null?h:190,this.height=(r=e==null?void 0:e.height)!=null?r:190,this.config={dragEnabled:(e==null?void 0:e.dragEnabled)||!1,autoFixPCPosition:(e==null?void 0:e.autoFixPCPosition)||!1,initialPosition:(e==null?void 0:e.initialPosition)||{left:"0",top:"0"}};const s=this.canvas.getContext("2d");if(!s)throw new Error("CANNOT CREATE CONTEXT2D");this.context=s,this.config.dragEnabled&&(this.hammer=new _.default(this.canvas),this.hammer.on("pan",this.onPan),this.hammer.on("panend",this.onPanEnd)),this.initStyle()}dispose(){var t;this.clear(),this.disable(),(t=this.hammer)==null||t.destroy()}enable(){var t;if(!this.state.enabled)return this.state.enabled=!0,(t=this.containerDom)==null||t.append(this.canvas),this}disable(){if(!!this.state.enabled)return this.state.enabled=!1,this.canvas.remove(),this}appendTo(t){var e;return this.containerDom&&((e=this.containerDom)==null||e.removeChild(this.canvas)),this.containerDom=t,this.state.enabled&&t.append(this.canvas),this}clear(){return this.context.clearRect(0,0,this.canvas.width,this.canvas.height),this}renderWithPoint(t){!this.containerDom||!this.state.enabled||(this.renderCenter=t,this.render(),this.config.autoFixPCPosition&&this.autoFixPCPosition())}autoFixPCPosition(){if(!this.containerDom)return;const{width:t,height:e}=this,s=this.renderCenter.clone().project(this.five.camera),n=(s.x+1)/2*this.containerDom.clientWidth,h=-(s.x-1)/2*this.containerDom.clientWidth,r=-(s.y-1)/2*this.containerDom.clientHeight;n<183?(this.canvas.style.top=-e/2+"px",this.canvas.style.left=90+"px"):r<183?(this.canvas.style.top=90+"px",this.canvas.style.left=-t/2+"px"):h<183?(this.canvas.style.top=-e/2+"px",this.canvas.style.left=-t-90+"px"):(this.canvas.style.left=-t/2+"px",this.canvas.style.top=-e-90+"px"),this.canvas.style.transform=`translate3d(${n}px, ${r}px, 10px)`,this.offset={x:n,y:r}}render(){if(!this.five.renderer||!this.containerDom)return;const{scale:t,context:e,width:s,height:n}=this,h=this.renderCenter.clone().project(this.five.camera),r=this.five.renderer.getSize(new x.Vector2),c=1,o=s/t,m=n/t,v=c*t,y=(h.x+1)/2*r.x,b=(h.y+1)/2*r.y,f=this.five.getPixels(y-o/2,b-o/2,o,m,v),d=Math.floor(s*c),u=Math.floor(n*c);H(f,d,u);const g=new ImageData(d,u);g.data.set(f),e.putImageData(g,0,0)}initStyle(){const t=this.canvas;t.classList.add("five-plugin__magnifier"),t.style.position="absolute",t.style.pointerEvents="all",t.style.borderRadius="50%",t.style.zIndex="99";const e=1;t.setAttribute("width",(this.width*e).toString()),t.setAttribute("height",(this.height*e).toString()),t.style.border="2px solid rgba(255,255,255,0.20)",t.style.width=this.width+"px",t.style.height=this.height+"px",t.style.top=this.config.initialPosition.top,t.style.left=this.config.initialPosition.left,t.style.transform="translate(0,0,100px)",this.config.dragEnabled&&(this.canvas.style.cursor="pointer")}}exports.Magnifier=R;
@@ -1,60 +1 @@
1
- var l = Object.defineProperty;
2
- var m = (o, e, t) => e in o ? l(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
- var n = (o, e, t) => (m(o, typeof e != "symbol" ? e + "" : e, t), t);
4
- import * as a from "three";
5
- import * as p from "@tweenjs/tween.js";
6
- import "hammerjs";
7
- import "@realsee/five";
8
- import { rangePieceImg as h } from "../../PanoMeasurePlugin/Modules/rangePiece/html.js";
9
- import { CSS3DRenderPlugin as b } from "../../CSS3DRenderPlugin/index.js";
10
- import { BetterTween as u } from "../animationFrame/BetterTween.js";
11
- class w {
12
- constructor(e) {
13
- n(this, "five");
14
- n(this, "contentElement", document.createElement("div"));
15
- n(this, "animeIns");
16
- n(this, "container");
17
- n(this, "css3DObject");
18
- n(this, "disposeCss3DObject");
19
- n(this, "state", { enabled: !1 });
20
- this.five = e;
21
- const s = 0.4 / 2, r = b(e).create3DDomContainer(
22
- [
23
- [-s, s, 0],
24
- [-s, -s, 0],
25
- [s, -s, 0],
26
- [s, s, 0]
27
- ].map((i) => new a.Vector3().fromArray(i))
28
- );
29
- if (r) {
30
- const { container: i, dispose: c, css3DObject: d } = r;
31
- this.container = i, this.css3DObject = d, this.disposeCss3DObject = c;
32
- }
33
- this.contentElement.style.width = "100%", this.contentElement.style.height = "100%", this.contentElement.style.backgroundImage = `url(${h})`, this.contentElement.style.backgroundSize = "100%", this.contentElement.style.backgroundRepeat = "no-repeat";
34
- }
35
- enable() {
36
- var e;
37
- this.state.enabled || (this.state.enabled = !0, (e = this.container) == null || e.appendChild(this.contentElement));
38
- }
39
- disable() {
40
- !this.state.enabled || (this.state.enabled = !1, this.contentElement.remove());
41
- }
42
- updateWithIntersect(e) {
43
- if (!e.face || !this.css3DObject)
44
- return;
45
- const t = new a.Vector3().addVectors(e.point, e.face.normal);
46
- this.css3DObject.position.copy(e.point), this.css3DObject.lookAt(t), this.five.needsRender = !0;
47
- }
48
- doAnimation() {
49
- var e;
50
- (e = this.animeIns) == null || e.dispose(), new u({ progress: 0 }).to({ progress: [1, 0] }).duration(500).easing(p.Easing.Quadratic.InOut).onUpdate(({ progress: t }) => {
51
- }).play();
52
- }
53
- dispose() {
54
- var e;
55
- (e = this.disposeCss3DObject) == null || e.call(this);
56
- }
57
- }
58
- export {
59
- w as PointDomHelper
60
- };
1
+ "use strict";var u=Object.defineProperty;var m=(t,e,n)=>e in t?u(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var i=(t,e,n)=>(m(t,typeof e!="symbol"?e+"":e,n),n);const h=require("three"),p=require("@tweenjs/tween.js");require("hammerjs");require("@realsee/five");const g=require("../../PanoMeasurePlugin/Modules/rangePiece/html.js"),b=require("../../CSS3DRenderPlugin/index.js"),f=require("../animationFrame/BetterTween.js");function c(t){if(t&&t.__esModule)return t;const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,s.get?s:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const a=c(h),j=c(p);class D{constructor(e){i(this,"five");i(this,"contentElement",document.createElement("div"));i(this,"animeIns");i(this,"container");i(this,"css3DObject");i(this,"disposeCss3DObject");i(this,"state",{enabled:!1});this.five=e;const s=.4/2,o=b.CSS3DRenderPlugin(e).create3DDomContainer([[-s,s,0],[-s,-s,0],[s,-s,0],[s,s,0]].map(r=>new a.Vector3().fromArray(r)));if(o){const{container:r,dispose:l,css3DObject:d}=o;this.container=r,this.css3DObject=d,this.disposeCss3DObject=l}this.contentElement.style.width="100%",this.contentElement.style.height="100%",this.contentElement.style.backgroundImage=`url(${g.rangePieceImg})`,this.contentElement.style.backgroundSize="100%",this.contentElement.style.backgroundRepeat="no-repeat"}enable(){var e;this.state.enabled||(this.state.enabled=!0,(e=this.container)==null||e.appendChild(this.contentElement))}disable(){!this.state.enabled||(this.state.enabled=!1,this.contentElement.remove())}updateWithIntersect(e){if(!e.face||!this.css3DObject)return;const n=new a.Vector3().addVectors(e.point,e.face.normal);this.css3DObject.position.copy(e.point),this.css3DObject.lookAt(n),this.five.needsRender=!0}doAnimation(){var e;(e=this.animeIns)==null||e.dispose(),new f.BetterTween({progress:0}).to({progress:[1,0]}).duration(500).easing(j.Easing.Quadratic.InOut).onUpdate(({progress:n})=>{}).play()}dispose(){var e;(e=this.disposeCss3DObject)==null||e.call(this)}}exports.PointDomHelper=D;
@@ -1,16 +1,11 @@
1
- var r = Object.defineProperty;
2
- var i = (a, n, e) => n in a ? r(a, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[n] = e;
3
- var o = (a, n, e) => (i(a, typeof n != "symbol" ? n + "" : n, e), e);
4
- import * as t from "three";
5
- import { POINT_HELPER_TEXTURE_URL as l } from "./Assets/index.js";
6
- const c = `
1
+ "use strict";var r=Object.defineProperty;var i=(t,n,e)=>n in t?r(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e;var o=(t,n,e)=>(i(t,typeof n!="symbol"?n+"":n,e),e);const l=require("three"),c=require("./Assets/index.js");function h(t){if(t&&t.__esModule)return t;const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const a=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,a.get?a:{enumerable:!0,get:()=>t[e]})}}return n.default=t,Object.freeze(n)}const s=h(l),p=`
7
2
  varying vec2 vUv;
8
3
  void main() {
9
4
  vUv = uv;
10
5
  vec4 mvPosition = modelViewMatrix * vec4(position, 1);
11
6
  gl_Position = projectionMatrix * mvPosition;
12
7
  }
13
- `, h = `
8
+ `,u=`
14
9
  varying vec2 vUv;
15
10
  void main() {
16
11
  vec2 uv = vec2(vUv.x, vUv.y);
@@ -18,56 +13,4 @@ void main() {
18
13
  float match = 1.0 - uv.x;
19
14
  gl_FragColor = vec4(1.0,1.0,1.0,match);
20
15
  }
21
- `;
22
- function p() {
23
- const a = new t.PlaneGeometry(0.4, 0.4), n = l, e = new t.TextureLoader().load(n);
24
- e.encoding = t.sRGBEncoding;
25
- const s = new t.MeshBasicMaterial({
26
- map: e,
27
- transparent: !0,
28
- depthTest: !1
29
- });
30
- return new t.Mesh(a, s);
31
- }
32
- function M() {
33
- const a = new t.CurvePath();
34
- a.add(new t.LineCurve3(new t.Vector3(0, 0, 0), new t.Vector3(0, 0, 0.1)));
35
- const n = new t.TubeGeometry(a, 8, 3e-3), e = new t.ShaderMaterial({
36
- vertexShader: c,
37
- fragmentShader: h,
38
- depthTest: !1,
39
- transparent: !0
40
- });
41
- return new t.Mesh(n, e);
42
- }
43
- function v() {
44
- const a = new t.SphereGeometry(0.01, 20, 20), n = new t.MeshBasicMaterial({
45
- color: 10349931,
46
- depthTest: !1,
47
- transparent: !0,
48
- side: t.DoubleSide
49
- }), e = new t.Mesh(a, n);
50
- return e.position.set(0, 0, 0.1), e;
51
- }
52
- class w extends t.Object3D {
53
- constructor() {
54
- super();
55
- o(this, "planeMesh");
56
- o(this, "lineMesh");
57
- o(this, "ballMesh");
58
- this.planeMesh = p(), this.lineMesh = M(), this.ballMesh = v(), this.add(this.planeMesh, this.lineMesh, this.ballMesh);
59
- }
60
- updateWithIntersect(e) {
61
- if (!e.face)
62
- return;
63
- const s = new t.Vector3().addVectors(e.point, e.face.normal);
64
- this.position.copy(e.point), this.lookAt(s);
65
- }
66
- dispose() {
67
- var e;
68
- (e = this.planeMesh.material.map) == null || e.dispose();
69
- }
70
- }
71
- export {
72
- w as PointHelper
73
- };
16
+ `;function d(){const t=new s.PlaneGeometry(.4,.4),n=c.POINT_HELPER_TEXTURE_URL,e=new s.TextureLoader().load(n);e.encoding=s.sRGBEncoding;const a=new s.MeshBasicMaterial({map:e,transparent:!0,depthTest:!1});return new s.Mesh(t,a)}function M(){const t=new s.CurvePath;t.add(new s.LineCurve3(new s.Vector3(0,0,0),new s.Vector3(0,0,.1)));const n=new s.TubeGeometry(t,8,.003),e=new s.ShaderMaterial({vertexShader:p,fragmentShader:u,depthTest:!1,transparent:!0});return new s.Mesh(n,e)}function v(){const t=new s.SphereGeometry(.01,20,20),n=new s.MeshBasicMaterial({color:10349931,depthTest:!1,transparent:!0,side:s.DoubleSide}),e=new s.Mesh(t,n);return e.position.set(0,0,.1),e}class m extends s.Object3D{constructor(){super();o(this,"planeMesh");o(this,"lineMesh");o(this,"ballMesh");this.planeMesh=d(),this.lineMesh=M(),this.ballMesh=v(),this.add(this.planeMesh,this.lineMesh,this.ballMesh)}updateWithIntersect(e){if(!e.face)return;const a=new s.Vector3().addVectors(e.point,e.face.normal);this.position.copy(e.point),this.lookAt(a)}dispose(){var e;(e=this.planeMesh.material.map)==null||e.dispose()}}exports.PointHelper=m;
@@ -1,13 +1 @@
1
- import * as r from "three";
2
- function i(t, e) {
3
- const { offsetWidth: o, offsetHeight: n } = e, { top: f, left: h } = e.getBoundingClientRect();
4
- return new r.Vector2().set((t.x - h) / o * 2 - 1, -(t.y - f) / n * 2 + 1);
5
- }
6
- function s(t, e) {
7
- const { offsetWidth: o, offsetHeight: n } = e;
8
- return new r.Vector2().set(t.x / o * 2 - 1, -t.y / n * 2 + 1);
9
- }
10
- export {
11
- i as getCoordsFromClient,
12
- s as getCoordsFromElement
13
- };
1
+ "use strict";const i=require("three");function f(t){if(t&&t.__esModule)return t;const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(e,o,r.get?r:{enumerable:!0,get:()=>t[o]})}}return e.default=t,Object.freeze(e)}const n=f(i);function u(t,e){const{offsetWidth:o,offsetHeight:r}=e,{top:c,left:s}=e.getBoundingClientRect();return new n.Vector2().set((t.x-s)/o*2-1,-(t.y-c)/r*2+1)}function d(t,e){const{offsetWidth:o,offsetHeight:r}=e;return new n.Vector2().set(t.x/o*2-1,-t.y/r*2+1)}exports.getCoordsFromClient=u;exports.getCoordsFromElement=d;
@@ -1,8 +1 @@
1
- import * as r from "three";
2
- function y(t, o) {
3
- const { x: s, y: c } = o, n = s * 2 - 1, a = c * 2 - 1, m = new r.Vector2().fromArray([n, a]), e = new r.Raycaster();
4
- return e.setFromCamera(m, t.camera), t.model.intersectRaycaster(e)[0];
5
- }
6
- export {
7
- y as getIntersectFromRelativePosition
8
- };
1
+ "use strict";const u=require("three");function l(e){if(e&&e.__esModule)return e;const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const c=l(u);function f(e,r){const{x:t,y:n}=r,s=t*2-1,a=n*2-1,i=new c.Vector2().fromArray([s,a]),o=new c.Raycaster;return o.setFromCamera(i,e.camera),e.model.intersectRaycaster(o)[0]}exports.getIntersectFromRelativePosition=f;
@@ -1,12 +1 @@
1
- import * as n from "three";
2
- import { getCoordsFromElement as a } from "./getCoords.js";
3
- function c(e, o) {
4
- const r = e.getElement();
5
- if (!r)
6
- return;
7
- const m = a(o, r), t = new n.Raycaster();
8
- return t.setFromCamera(m, e.camera), t;
9
- }
10
- export {
11
- c as getRaycasterFromFivePointer
12
- };
1
+ "use strict";const s=require("three"),c=require("./getCoords.js");function a(e){if(e&&e.__esModule)return e;const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const i=a(s);function u(e,r){const t=e.getElement();if(!t)return;const o=c.getCoordsFromElement(r,t),n=new i.Raycaster;return n.setFromCamera(o,e.camera),n}exports.getRaycasterFromFivePointer=u;
@@ -0,0 +1 @@
1
+ "use strict";require("hammerjs");require("three");require("@realsee/five");require("@tweenjs/tween.js");require("../animationFrame/BetterTween.js");require("three/examples/jsm/renderers/CSS3DRenderer");
@@ -1,28 +1 @@
1
- var i = (r, n, o) => new Promise((s, a) => {
2
- var u = (e) => {
3
- try {
4
- t(o.next(e));
5
- } catch (d) {
6
- a(d);
7
- }
8
- }, m = (e) => {
9
- try {
10
- t(o.throw(e));
11
- } catch (d) {
12
- a(d);
13
- }
14
- }, t = (e) => e.done ? s(e.value) : Promise.resolve(e.value).then(u, m);
15
- t((o = o.apply(r, n)).next());
16
- });
17
- import * as c from "three";
18
- const x = new c.TextureLoader();
19
- function T(r) {
20
- return i(this, null, function* () {
21
- return new Promise((n, o) => {
22
- x.load(r, n, void 0, o);
23
- }).then((n) => (n.encoding = c.sRGBEncoding, n));
24
- });
25
- }
26
- export {
27
- T as loadTexture
28
- };
1
+ "use strict";var i=(e,n,t)=>new Promise((o,a)=>{var d=r=>{try{c(t.next(r))}catch(u){a(u)}},l=r=>{try{c(t.throw(r))}catch(u){a(u)}},c=r=>r.done?o(r.value):Promise.resolve(r.value).then(d,l);c((t=t.apply(e,n)).next())});const f=require("three");function g(e){if(e&&e.__esModule)return e;const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const s=g(f),b=new s.TextureLoader;function p(e){return i(this,null,function*(){return new Promise((n,t)=>{b.load(e,n,void 0,t)}).then(n=>(n.encoding=s.sRGBEncoding,n))})}exports.loadTexture=p;
@@ -1,5 +1 @@
1
- import { Vector3 as e } from "three";
2
- const s = ({ x: o, y: t, z: r }) => new e(o, t, r);
3
- export {
4
- s as default
5
- };
1
+ "use strict";const e=require("three"),s=({x:o,y:t,z:r})=>new e.Vector3(o,t,r);exports.transformPositionToVector3=s;
@@ -1,24 +1 @@
1
- var p = Object.defineProperty;
2
- var s = Object.getOwnPropertySymbols;
3
- var d = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
4
- var i = (e, a, r) => a in e ? p(e, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[a] = r, m = (e, a) => {
5
- for (var r in a || (a = {}))
6
- d.call(a, r) && i(e, r, a[r]);
7
- if (s)
8
- for (var r of s(a))
9
- f.call(a, r) && i(e, r, a[r]);
10
- return e;
11
- };
12
- import { MeshBasicMaterial as M } from "three";
13
- function O(e, a) {
14
- e.traverse((r) => {
15
- var n;
16
- if (r.type === "Mesh") {
17
- const t = r, o = m({ map: t.material.map || {} }, a);
18
- t.material = new M(o), t.renderOrder = 1, ((n = r.parent) == null ? void 0 : n.type) === "Mesh" && (r.renderOrder = r.parent.renderOrder + 1);
19
- }
20
- });
21
- }
22
- export {
23
- O as default
24
- };
1
+ "use strict";var m=Object.defineProperty;var i=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var n=(a,e,r)=>e in a?m(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r,o=(a,e)=>{for(var r in e||(e={}))M.call(e,r)&&n(a,r,e[r]);if(i)for(var r of i(e))h.call(e,r)&&n(a,r,e[r]);return a};const d=require("three");function f(a,e){a.traverse(r=>{var s;if(r.type==="Mesh"){const t=r,c=o({map:t.material.map||{}},e);t.material=new d.MeshBasicMaterial(c),t.renderOrder=1,((s=r.parent)==null?void 0:s.type)==="Mesh"&&(r.renderOrder=r.parent.renderOrder+1)}})}exports.transfromToMeshBasicMaterial=f;
@@ -1,11 +1 @@
1
- function l(n, e = 200) {
2
- let t;
3
- return function(...u) {
4
- t || (n(...u), t = setTimeout(function() {
5
- t = null;
6
- }, e));
7
- };
8
- }
9
- export {
10
- l as default
11
- };
1
+ "use strict";function r(n,e=200){let t;return function(...u){t||(n(...u),t=setTimeout(function(){t=null},e))}}exports.throttle=r;
@@ -1,140 +1,16 @@
1
- var f = Object.defineProperty;
2
- var m = (n, e, t) => e in n ? f(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var o = (n, e, t) => (m(n, typeof e != "symbol" ? e + "" : e, t), t);
4
- const i = "<", h = ">", _ = "%", d = "locals", l = "(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)", L = {
5
- "&": "&amp",
6
- "<": "&lt",
7
- ">": "&gt",
8
- '"': "&#34",
9
- "'": "&#39"
10
- }, a = {
11
- EVAL: "eval",
12
- ESCAPED: "escaped",
13
- RAW: "raw",
14
- COMMENT: "comment",
15
- LITERAL: "literal"
16
- };
17
- function E(n) {
18
- return n.replace(/;(\s*$)/, "$1");
19
- }
20
- function g(n, e) {
21
- return new T(n).compileFunction()(e);
22
- }
23
- class T {
24
- constructor(e) {
25
- o(this, "templateText");
26
- o(this, "mode", null);
27
- o(this, "truncate", !1);
28
- o(this, "currentLine", 1);
29
- o(this, "source", "");
30
- o(this, "regex", new RegExp(l));
31
- this.templateText = e;
32
- }
33
- compileFunction() {
34
- let e;
35
- const t = ` var __output = "";
1
+ "use strict";var m=Object.defineProperty;var f=(n,e,t)=>e in n?m(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var o=(n,e,t)=>(f(n,typeof e!="symbol"?e+"":e,t),t);const i="<",h=">",_="%",d="locals",L="(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)",l={"&":"&amp","<":"&lt",">":"&gt",'"':"&#34","'":"&#39"},a={EVAL:"eval",ESCAPED:"escaped",RAW:"raw",COMMENT:"comment",LITERAL:"literal"};function E(n){return n.replace(/;(\s*$)/,"$1")}function T(n,e){return new A(n).compileFunction()(e)}class A{constructor(e){o(this,"templateText");o(this,"mode",null);o(this,"truncate",!1);o(this,"currentLine",1);o(this,"source","");o(this,"regex",new RegExp(L));this.templateText=e}compileFunction(){let e;const t=` var __output = "";
36
2
  function __append(s) { if (s !== undefined && s !== null) __output += s }
37
- with (` + d + ` || {}) {
38
- `, s = ` }
3
+ with (`+d+` || {}) {
4
+ `,s=` }
39
5
  return __output;
40
- `, c = function(r) {
41
- return r == null ? "" : String(r).replace(/[&<>'"]/g, function(p) {
42
- return L[p] || p;
43
- });
44
- };
45
- return this._generateSource(), this.source = t + this.source + s, e = this.source, e = "escapeFn = escapeFn || " + c.toString() + `;
46
- ` + e, new Function(d + ", escapeFn", e);
47
- }
48
- _generateSource() {
49
- this.templateText = this.templateText.replace(/[ \t]*<%_/gm, "<%_").replace(/_%>[ \t]*/gm, "_%>");
50
- const e = this._parseTemplateText(), t = _, s = i, c = h;
51
- e && e.length && e.forEach((r, p) => {
52
- let u;
53
- if (r.indexOf(s + t) === 0 && r.indexOf(s + t + t) !== 0 && (u = e[p + 2], !(u == t + c || u == "-" + t + c || u == "_" + t + c)))
54
- throw new Error('Could not find matching close tag for "' + r + '".');
55
- this._scanLine(r);
56
- });
57
- }
58
- _parseTemplateText() {
59
- let e = this.templateText;
60
- const t = this.regex;
61
- let s = t.exec(e);
62
- const c = [];
63
- let r;
64
- for (; s; )
65
- r = s.index, r !== 0 && (c.push(e.substring(0, r)), e = e.slice(r)), c.push(s[0]), e = e.slice(s[0].length), s = t.exec(e);
66
- return e && c.push(e), c;
67
- }
68
- _addOutput(e) {
69
- if (this.truncate && (e = e.replace(/^(?:\r\n|\r|\n)/, ""), this.truncate = !1), !e)
70
- return e;
71
- e = e.replace(/\\/g, "\\\\"), e = e.replace(/\n/g, "\\n"), e = e.replace(/\r/g, "\\r"), e = e.replace(/"/g, '\\"'), this.source += ' ; __append("' + e + `")
72
- `;
73
- }
74
- _scanLine(e) {
75
- const t = _, s = i, c = h;
76
- switch (e.split(`
77
- `).length - 1, e) {
78
- case s + t:
79
- case s + t + "_":
80
- this.mode = a.EVAL;
81
- break;
82
- case s + t + "=":
83
- this.mode = a.ESCAPED;
84
- break;
85
- case s + t + "-":
86
- this.mode = a.RAW;
87
- break;
88
- case s + t + "#":
89
- this.mode = a.COMMENT;
90
- break;
91
- case s + t + t:
92
- this.mode = a.LITERAL, this.source += ' ; __append("' + e.replace(s + t + t, s + t) + `")
93
- `;
94
- break;
95
- case t + t + c:
96
- this.mode = a.LITERAL, this.source += ' ; __append("' + e.replace(t + t + c, t + c) + `")
97
- `;
98
- break;
99
- case t + c:
100
- case "-" + t + c:
101
- case "_" + t + c:
102
- this.mode == a.LITERAL && this._addOutput(e), this.mode = null, this.truncate = e.indexOf("-") === 0 || e.indexOf("_") === 0;
103
- break;
104
- default:
105
- if (this.mode) {
106
- switch (this.mode) {
107
- case a.EVAL:
108
- case a.ESCAPED:
109
- case a.RAW:
110
- e.lastIndexOf("//") > e.lastIndexOf(`
111
- `) && (e += `
112
- `);
113
- }
114
- switch (this.mode) {
115
- case a.EVAL:
116
- this.source += " ; " + e + `
117
- `;
118
- break;
119
- case a.ESCAPED:
120
- this.source += " ; __append(escapeFn(" + E(e) + `))
121
- `;
122
- break;
123
- case a.RAW:
124
- this.source += " ; __append(" + E(e) + `)
125
- `;
126
- break;
127
- case a.COMMENT:
128
- break;
129
- case a.LITERAL:
130
- this._addOutput(e);
131
- break;
132
- }
133
- } else
134
- this._addOutput(e);
135
- }
136
- }
137
- }
138
- export {
139
- g as default
140
- };
6
+ `,c=function(r){return r==null?"":String(r).replace(/[&<>'"]/g,function(p){return l[p]||p})};return this._generateSource(),this.source=t+this.source+s,e=this.source,e="escapeFn = escapeFn || "+c.toString()+`;
7
+ `+e,new Function(d+", escapeFn",e)}_generateSource(){this.templateText=this.templateText.replace(/[ \t]*<%_/gm,"<%_").replace(/_%>[ \t]*/gm,"_%>");const e=this._parseTemplateText(),t=_,s=i,c=h;e&&e.length&&e.forEach((r,p)=>{let u;if(r.indexOf(s+t)===0&&r.indexOf(s+t+t)!==0&&(u=e[p+2],!(u==t+c||u=="-"+t+c||u=="_"+t+c)))throw new Error('Could not find matching close tag for "'+r+'".');this._scanLine(r)})}_parseTemplateText(){let e=this.templateText;const t=this.regex;let s=t.exec(e);const c=[];let r;for(;s;)r=s.index,r!==0&&(c.push(e.substring(0,r)),e=e.slice(r)),c.push(s[0]),e=e.slice(s[0].length),s=t.exec(e);return e&&c.push(e),c}_addOutput(e){if(this.truncate&&(e=e.replace(/^(?:\r\n|\r|\n)/,""),this.truncate=!1),!e)return e;e=e.replace(/\\/g,"\\\\"),e=e.replace(/\n/g,"\\n"),e=e.replace(/\r/g,"\\r"),e=e.replace(/"/g,'\\"'),this.source+=' ; __append("'+e+`")
8
+ `}_scanLine(e){const t=_,s=i,c=h;switch(e.split(`
9
+ `).length-1,e){case s+t:case s+t+"_":this.mode=a.EVAL;break;case s+t+"=":this.mode=a.ESCAPED;break;case s+t+"-":this.mode=a.RAW;break;case s+t+"#":this.mode=a.COMMENT;break;case s+t+t:this.mode=a.LITERAL,this.source+=' ; __append("'+e.replace(s+t+t,s+t)+`")
10
+ `;break;case t+t+c:this.mode=a.LITERAL,this.source+=' ; __append("'+e.replace(t+t+c,t+c)+`")
11
+ `;break;case t+c:case"-"+t+c:case"_"+t+c:this.mode==a.LITERAL&&this._addOutput(e),this.mode=null,this.truncate=e.indexOf("-")===0||e.indexOf("_")===0;break;default:if(this.mode){switch(this.mode){case a.EVAL:case a.ESCAPED:case a.RAW:e.lastIndexOf("//")>e.lastIndexOf(`
12
+ `)&&(e+=`
13
+ `)}switch(this.mode){case a.EVAL:this.source+=" ; "+e+`
14
+ `;break;case a.ESCAPED:this.source+=" ; __append(escapeFn("+E(e)+`))
15
+ `;break;case a.RAW:this.source+=" ; __append("+E(e)+`)
16
+ `;break;case a.COMMENT:break;case a.LITERAL:this._addOutput(e);break}}else this._addOutput(e)}}}exports.render=T;
@@ -1,29 +1 @@
1
- var l = (a, t, n) => new Promise((c, u) => {
2
- var f = (r) => {
3
- try {
4
- e(n.next(r));
5
- } catch (o) {
6
- u(o);
7
- }
8
- }, i = (r) => {
9
- try {
10
- e(n.throw(r));
11
- } catch (o) {
12
- u(o);
13
- }
14
- }, e = (r) => r.done ? c(r.value) : Promise.resolve(r.value).then(f, i);
15
- e((n = n.apply(a, t)).next());
16
- });
17
- function d(a) {
18
- return l(this, null, function* () {
19
- try {
20
- return [null, yield a];
21
- } catch (t) {
22
- return t instanceof Error ? [t, null] : [new Error(""), null];
23
- }
24
- });
25
- }
26
- export {
27
- d as default,
28
- d as to
29
- };
1
+ "use strict";var e=(a,t,n)=>new Promise((l,c)=>{var i=r=>{try{o(n.next(r))}catch(u){c(u)}},s=r=>{try{o(n.throw(r))}catch(u){c(u)}},o=r=>r.done?l(r.value):Promise.resolve(r.value).then(i,s);o((n=n.apply(a,t)).next())});function f(a){return e(this,null,function*(){try{return[null,yield a]}catch(t){return t instanceof Error?[t,null]:[new Error(""),null]}})}exports.to=f;
@@ -1,10 +1 @@
1
- function t() {
2
- return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
3
- }
4
- function r() {
5
- return (t() + t() + "-" + t() + "-4" + t().substr(0, 3) + "-" + t() + "-" + t() + t() + t()).toLowerCase();
6
- }
7
- export {
8
- r as default,
9
- r as uuid
10
- };
1
+ "use strict";function t(){return((1+Math.random())*65536|0).toString(16).substring(1)}function u(){return(t()+t()+"-"+t()+"-4"+t().substr(0,3)+"-"+t()+"-"+t()+t()+t()).toLowerCase()}exports.uuid=u;
@@ -0,0 +1 @@
1
+ "use strict";const _=require("./params-list.js"),j=require("./utils.js");function g(i,n,h,o,r){const e=[];if(!n)return e;const s=t=>{e.indexOf(t)<0&&e.push(t)};if(h&&o){const t=o.map(r),f=h.map(r);t.join("")!==f.join("")&&s("children"),o.length!==h.length&&s("children")}return _.paramsList.filter(t=>t[0]==="_").map(t=>t.replace(/_/,"")).forEach(t=>{if(t in i&&t in n)if(j.isObject(i[t])&&j.isObject(n[t])){const f=Object.keys(i[t]),u=Object.keys(n[t]);f.length!==u.length?s(t):(f.forEach(c=>{i[t][c]!==n[t][c]&&s(t)}),u.forEach(c=>{i[t][c]!==n[t][c]&&s(t)}))}else i[t]!==n[t]&&s(t)}),e}exports.getChangedParams=g;
@@ -0,0 +1 @@
1
+ "use strict";const u=require("swiper"),a=require("./utils.js"),d=require("./params-list.js"),p=s=>s&&typeof s=="object"&&"default"in s?s:{default:s},o=p(u);function m(s={},c=!0){const e={on:{}},r={},n={};a.extend(e,o.default.defaults),a.extend(e,o.default.extendedDefaults),e._emitClasses=!0,e.init=!1;const i={},f=d.paramsList.map(t=>t.replace(/_/,"")),l=Object.assign({},s);return Object.keys(l).forEach(t=>{typeof s[t]!="undefined"&&(f.indexOf(t)>=0?a.isObject(s[t])?(e[t]={},n[t]={},a.extend(e[t],s[t]),a.extend(n[t],s[t])):(e[t]=s[t],n[t]=s[t]):t.search(/on[A-Z]/)===0&&typeof s[t]=="function"?c?r[`${t[2].toLowerCase()}${t.substr(3)}`]=s[t]:e.on[`${t[2].toLowerCase()}${t.substr(3)}`]=s[t]:i[t]=s[t])}),["navigation","pagination","scrollbar"].forEach(t=>{e[t]===!0&&(e[t]={}),e[t]===!1&&delete e[t]}),{params:e,passedParams:n,rest:i,events:r}}exports.getParams=m;
@@ -0,0 +1 @@
1
+ "use strict";const r=require("./utils.js");function m({el:e,nextEl:n,prevEl:i,paginationEl:o,scrollbarEl:t,swiper:a},g){r.needsNavigation(g)&&n&&i&&(a.params.navigation.nextEl=n,a.originalParams.navigation.nextEl=n,a.params.navigation.prevEl=i,a.originalParams.navigation.prevEl=i),r.needsPagination(g)&&o&&(a.params.pagination.el=o,a.originalParams.pagination.el=o),r.needsScrollbar(g)&&t&&(a.params.scrollbar.el=t,a.originalParams.scrollbar.el=t),a.init(e)}exports.mountSwiper=m;
@@ -0,0 +1 @@
1
+ "use strict";const e=["modules","init","_direction","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_preloadImages","updateOnImagesReady","_loop","_loopAdditionalSlides","_loopedSlides","_loopedSlidesLimit","_loopFillGroupWithBlank","loopPreventsSlide","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","lazy","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom"];exports.paramsList=e;
@@ -0,0 +1 @@
1
+ "use strict";const a=require("./utils.js");function O({swiper:t,slides:x,passedParams:n,changedParams:e,nextEl:c,prevEl:f,scrollbarEl:d,paginationEl:v}){const z=e.filter(i=>i!=="children"&&i!=="direction"),{params:l,pagination:o,navigation:r,scrollbar:u,virtual:b,thumbs:I}=t;let N,S,h,j,E;e.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&l.thumbs&&!l.thumbs.swiper&&(N=!0),e.includes("controller")&&n.controller&&n.controller.control&&l.controller&&!l.controller.control&&(S=!0),e.includes("pagination")&&n.pagination&&(n.pagination.el||v)&&(l.pagination||l.pagination===!1)&&o&&!o.el&&(h=!0),e.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||d)&&(l.scrollbar||l.scrollbar===!1)&&u&&!u.el&&(j=!0),e.includes("navigation")&&n.navigation&&(n.navigation.prevEl||f)&&(n.navigation.nextEl||c)&&(l.navigation||l.navigation===!1)&&r&&!r.prevEl&&!r.nextEl&&(E=!0);const _=i=>{!t[i]||(t[i].destroy(),i==="navigation"?(l[i].prevEl=void 0,l[i].nextEl=void 0,t[i].prevEl=void 0,t[i].nextEl=void 0):(l[i].el=void 0,t[i].el=void 0))};z.forEach(i=>{if(a.isObject(l[i])&&a.isObject(n[i]))a.extend(l[i],n[i]);else{const g=n[i];(g===!0||g===!1)&&(i==="navigation"||i==="pagination"||i==="scrollbar")?g===!1&&_(i):l[i]=n[i]}}),z.includes("controller")&&!S&&t.controller&&t.controller.control&&l.controller&&l.controller.control&&(t.controller.control=l.controller.control),e.includes("children")&&x&&b&&l.virtual.enabled?(b.slides=x,b.update(!0)):e.includes("children")&&t.lazy&&t.params.lazy.enabled&&t.lazy.load(),N&&I.init()&&I.update(!0),S&&(t.controller.control=l.controller.control),h&&(v&&(l.pagination.el=v),o.init(),o.render(),o.update()),j&&(d&&(l.scrollbar.el=d),u.init(),u.updateSize(),u.setTranslate()),E&&(c&&(l.navigation.nextEl=c),f&&(l.navigation.prevEl=f),r.init(),r.update()),e.includes("allowSlideNext")&&(t.allowSlideNext=n.allowSlideNext),e.includes("allowSlidePrev")&&(t.allowSlidePrev=n.allowSlidePrev),e.includes("direction")&&t.changeDirection(n.direction,!1),t.update()}exports.updateSwiper=O;
@@ -0,0 +1 @@
1
+ "use strict";function o(n){return typeof n=="object"&&n!==null&&n.constructor&&Object.prototype.toString.call(n).slice(8,-1)==="Object"}function f(n,i){const t=["__proto__","constructor","prototype"];Object.keys(i).filter(e=>t.indexOf(e)<0).forEach(e=>{typeof n[e]=="undefined"?n[e]=i[e]:o(i[e])&&o(n[e])&&Object.keys(i[e]).length>0?i[e].__swiper__?n[e]=i[e]:f(n[e],i[e]):n[e]=i[e]})}function l(n={}){return n.navigation&&typeof n.navigation.nextEl=="undefined"&&typeof n.navigation.prevEl=="undefined"}function u(n={}){return n.pagination&&typeof n.pagination.el=="undefined"}function s(n={}){return n.scrollbar&&typeof n.scrollbar.el=="undefined"}function c(n=""){const i=n.split(" ").map(e=>e.trim()).filter(e=>!!e),t=[];return i.forEach(e=>{t.indexOf(e)<0&&t.push(e)}),t.join(" ")}exports.extend=f;exports.isObject=o;exports.needsNavigation=l;exports.needsPagination=u;exports.needsScrollbar=s;exports.uniqueClasses=c;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("svelte/internal"),v=require("svelte"),w=require("../components-shared/utils.js"),S=i=>({data:i&32}),k=i=>({data:i[5]}),y=i=>({data:i&32}),z=i=>({data:i[5]});function D(i){let t;const l=i[8].default,s=e.create_slot(l,i,i[7],k);return{c(){s&&s.c()},m(o,r){s&&s.m(o,r),t=!0},p(o,r){s&&s.p&&(!t||r&160)&&e.update_slot_base(s,l,o,o[7],t?e.get_slot_changes(l,o[7],r,S):e.get_all_dirty_from_scope(o[7]),k)},i(o){t||(e.transition_in(s,o),t=!0)},o(o){e.transition_out(s,o),t=!1},d(o){s&&s.d(o)}}}function E(i){let t,l,s;const o=i[8].default,r=e.create_slot(o,i,i[7],z);return{c(){t=e.element("div"),r&&r.c(),e.attr(t,"class","swiper-zoom-container"),e.attr(t,"data-swiper-zoom",l=typeof i[0]=="number"?i[0]:void 0)},m(u,d){e.insert(u,t,d),r&&r.m(t,null),s=!0},p(u,d){r&&r.p&&(!s||d&160)&&e.update_slot_base(r,o,u,u[7],s?e.get_slot_changes(o,u[7],d,y):e.get_all_dirty_from_scope(u[7]),z),(!s||d&1&&l!==(l=typeof u[0]=="number"?u[0]:void 0))&&e.attr(t,"data-swiper-zoom",l)},i(u){s||(e.transition_in(r,u),s=!0)},o(u){e.transition_out(r,u),s=!1},d(u){u&&e.detach(t),r&&r.d(u)}}}function A(i){let t,l,s,o,r;const u=[E,D],d=[];function m(n,a){return n[0]?0:1}l=m(i),s=d[l]=u[l](i);let c=[{class:o=w.uniqueClasses(`${i[3]}${i[2]?` ${i[2]}`:""}`)},{"data-swiper-slide-index":i[1]},i[6]],p={};for(let n=0;n<c.length;n+=1)p=e.assign(p,c[n]);return{c(){t=e.element("div"),s.c(),e.set_attributes(t,p)},m(n,a){e.insert(n,t,a),d[l].m(t,null),i[9](t),r=!0},p(n,[a]){let f=l;l=m(n),l===f?d[l].p(n,a):(e.group_outros(),e.transition_out(d[f],1,1,()=>{d[f]=null}),e.check_outros(),s=d[l],s?s.p(n,a):(s=d[l]=u[l](n),s.c()),e.transition_in(s,1),s.m(t,null)),e.set_attributes(t,p=e.get_spread_update(c,[(!r||a&12&&o!==(o=w.uniqueClasses(`${n[3]}${n[2]?` ${n[2]}`:""}`)))&&{class:o},(!r||a&2)&&{"data-swiper-slide-index":n[1]},a&64&&n[6]]))},i(n){r||(e.transition_in(s),r=!0)},o(n){e.transition_out(s),r=!1},d(n){n&&e.detach(t),d[l].d(),i[9](null)}}}function N(i,t,l){let s;const o=["zoom","virtualIndex","class"];let r=e.compute_rest_props(t,o),{$$slots:u={},$$scope:d}=t,{zoom:m=void 0}=t,{virtualIndex:c=void 0}=t,{class:p=void 0}=t,n=null,a="swiper-slide",f=v.getContext("swiper"),b=!1;const h=(_,q,I)=>{q===n&&l(3,a=I)},g=()=>{!f||b||(f.on("_slideClass",h),b=!0)},C=()=>{!f||(f.off("_slideClass",h),b=!1)};v.onMount(()=>{typeof c!="undefined"&&(l(4,n.onSwiper=_=>{f=_,g()},n),g())}),v.afterUpdate(()=>{if(!(!n||!f)){if(f.destroyed){a!=="swiper-slide"&&l(3,a="swiper-slide");return}g()}}),v.beforeUpdate(()=>{g()}),v.onDestroy(()=>{!f||C()});function O(_){e.binding_callbacks[_?"unshift":"push"](()=>{n=_,l(4,n)})}return i.$$set=_=>{t=e.assign(e.assign({},t),e.exclude_internal_props(_)),l(6,r=e.compute_rest_props(t,o)),"zoom"in _&&l(0,m=_.zoom),"virtualIndex"in _&&l(1,c=_.virtualIndex),"class"in _&&l(2,p=_.class),"$$scope"in _&&l(7,d=_.$$scope)},i.$$.update=()=>{i.$$.dirty&8&&l(5,s={isActive:a.indexOf("swiper-slide-active")>=0||a.indexOf("swiper-slide-duplicate-active")>=0,isVisible:a.indexOf("swiper-slide-visible")>=0,isDuplicate:a.indexOf("swiper-slide-duplicate")>=0,isPrev:a.indexOf("swiper-slide-prev")>=0||a.indexOf("swiper-slide-duplicate-prev")>=0,isNext:a.indexOf("swiper-slide-next")>=0||a.indexOf("swiper-slide-duplicate-next")>=0})},[m,c,p,a,n,s,r,d,u,O]}class P extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,A,e.safe_not_equal,{zoom:0,virtualIndex:1,class:2})}}exports.Swiper_slide=P;