@realsee/dnalogel 2.16.0-10 → 2.16.0-11

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 (541) hide show
  1. package/components/index.js +688 -240
  2. package/dist/GuideLinePlugin/Controller.d.ts +4 -3
  3. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +6 -0
  4. package/dist/GuideLinePlugin/typing.d.ts +0 -1
  5. package/dist/index.cjs.js +100 -86
  6. package/dist/index.js +14560 -7717
  7. package/dist/index.umd.js +93 -79
  8. package/dist/shared-utils/animationFrame/BetterTween.d.ts +3 -2
  9. package/dist/shared-utils/animationFrame/index.d.ts +1 -1
  10. package/dist/shared-utils/animationFrame/tween.d.ts +32 -23
  11. package/dist/shared-utils/svelte/resizeObserver.d.ts +2 -10
  12. package/dist/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
  13. package/docs/assets/search.js +1 -1
  14. package/docs/classes/CSS3DRender.html +31 -31
  15. package/docs/classes/CruisePluginController.html +26 -26
  16. package/docs/classes/GuideLineItem.GuideLineItem.html +16 -16
  17. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +38 -26
  18. package/docs/classes/Magnifier.html +20 -20
  19. package/docs/classes/ModelRoomLabelController.html +11 -11
  20. package/docs/classes/Object3DHelperController.html +25 -25
  21. package/docs/classes/PaintBrush.html +15 -15
  22. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  23. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  24. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  25. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  26. package/docs/classes/PanoTagPluginController.html +47 -47
  27. package/docs/classes/Util.BetterTween.html +29 -18
  28. package/docs/classes/Util.FivePointSelector.html +12 -12
  29. package/docs/classes/Util.Interval.html +12 -12
  30. package/docs/classes/Util.Magnifier.html +17 -17
  31. package/docs/classes/Util.PointDomHelper.html +11 -11
  32. package/docs/classes/Util.PointHelper.html +11 -11
  33. package/docs/classes/Util.Rectangle.html +13 -13
  34. package/docs/enums/CameraMovementEffect.html +7 -7
  35. package/docs/enums/ContentType.html +19 -19
  36. package/docs/enums/DIRECTION.html +9 -9
  37. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  38. package/docs/enums/DimensionType.html +7 -7
  39. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  40. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  41. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  42. package/docs/enums/Rotation.html +8 -8
  43. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  44. package/docs/functions/CameraMovementPlugin.html +4 -4
  45. package/docs/functions/CruisePlugin.html +4 -4
  46. package/docs/functions/GuideLinePlugin.html +5 -5
  47. package/docs/functions/ItemLabelPlugin.html +4 -4
  48. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  49. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  50. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  51. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  52. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  53. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  54. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  55. package/docs/functions/ModelViewPlugin.html +4 -4
  56. package/docs/functions/Object3DHelperPlugin.html +4 -4
  57. package/docs/functions/PanoCompassPlugin.html +4 -4
  58. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  59. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  60. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  61. package/docs/functions/PanoMeasurePlugin.html +4 -4
  62. package/docs/functions/PanoRulerPlugin.html +4 -4
  63. package/docs/functions/PanoRulerProPlugin.html +4 -4
  64. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  65. package/docs/functions/PanoTagPlugin.html +4 -4
  66. package/docs/functions/PanoVideoPlugin.html +4 -4
  67. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  68. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  69. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  70. package/docs/functions/Util.getFrameTime.html +5 -5
  71. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  72. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  73. package/docs/functions/Util.isAbsoluteURL.html +5 -5
  74. package/docs/functions/Util.isModelLike.html +5 -5
  75. package/docs/functions/Util.isNil.html +5 -5
  76. package/docs/functions/Util.isPanoramaLike.html +5 -5
  77. package/docs/functions/Util.nextFrame.html +18 -7
  78. package/docs/functions/Util.notNil.html +5 -5
  79. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  80. package/docs/functions/Util.tweenProgress.html +7 -18
  81. package/docs/functions/Util.uuid.html +5 -5
  82. package/docs/functions/pluginFlag.html +5 -5
  83. package/docs/index.html +4 -4
  84. package/docs/interfaces/AddTagConfig.html +6 -6
  85. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  86. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  87. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  88. package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
  89. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
  90. package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
  91. package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
  92. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
  93. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
  94. package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
  95. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -7
  96. package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
  97. package/docs/interfaces/EventMap.html +15 -15
  98. package/docs/interfaces/FloorplanBounding.html +8 -8
  99. package/docs/interfaces/FloorplanData.html +10 -10
  100. package/docs/interfaces/FloorplanEntrance.html +11 -11
  101. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  102. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  103. package/docs/interfaces/FloorplanFloorData.html +9 -9
  104. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  105. package/docs/interfaces/FloorplanObserver.html +9 -9
  106. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  107. package/docs/interfaces/FloorplanPosition.html +7 -7
  108. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  109. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  110. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  111. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  112. package/docs/interfaces/FloorplanServerData.html +7 -7
  113. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  114. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  115. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  116. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  117. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  118. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  119. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  120. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  121. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  122. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  123. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
  124. package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
  125. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
  126. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
  127. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +11 -11
  128. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
  129. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
  130. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +19 -19
  131. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +16 -16
  132. package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +7 -7
  133. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -6
  134. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -7
  135. package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -15
  136. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  137. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
  138. package/docs/interfaces/HelperOffset.html +8 -8
  139. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  140. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  141. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  142. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  143. package/docs/interfaces/MinMax.html +7 -7
  144. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  145. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  146. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  147. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  148. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  149. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  150. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  151. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  152. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  153. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  154. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  155. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  156. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  157. package/docs/interfaces/Object3DHelperState.html +8 -8
  158. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  159. package/docs/interfaces/PaintBrushAction.html +12 -12
  160. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  161. package/docs/interfaces/PaintBrushState.html +10 -10
  162. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  163. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  164. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  165. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  166. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  167. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  168. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  169. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  170. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  171. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  172. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  173. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  174. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  175. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  176. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  177. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  178. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  179. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  180. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  181. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  182. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  183. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  184. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  185. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  186. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  187. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  188. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  189. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  190. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  191. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  192. package/docs/interfaces/Point.html +8 -8
  193. package/docs/interfaces/Room.html +9 -9
  194. package/docs/interfaces/RoomInfo.html +7 -7
  195. package/docs/interfaces/RoomLabel.html +14 -14
  196. package/docs/interfaces/RoomRules.html +5 -5
  197. package/docs/interfaces/Rooms.html +5 -5
  198. package/docs/interfaces/Scissor.html +9 -9
  199. package/docs/interfaces/State.html +8 -8
  200. package/docs/interfaces/TagCacheInterface.html +12 -12
  201. package/docs/interfaces/TagConfig.html +11 -11
  202. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  203. package/docs/interfaces/TagIconUrl.html +12 -12
  204. package/docs/interfaces/TagObjectGroup.html +6 -6
  205. package/docs/interfaces/TagStyle.html +6 -6
  206. package/docs/interfaces/Tags.html +9 -9
  207. package/docs/interfaces/TemporaryState.html +6 -6
  208. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  209. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  210. package/docs/modules/CruisePluginTypes.html +5 -5
  211. package/docs/modules/GuideLineItem.html +5 -5
  212. package/docs/modules/GuideLineModeItem.html +5 -5
  213. package/docs/modules/GuideLinePluginType.html +5 -5
  214. package/docs/modules/PanoVideoPluginType.html +5 -5
  215. package/docs/modules/Util.html +5 -5
  216. package/docs/modules.html +4 -4
  217. package/docs/types/ArrayPosition.html +5 -5
  218. package/docs/types/AudioAppearance.html +5 -5
  219. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  220. package/docs/types/CSS3DRenderExportType.html +5 -5
  221. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  222. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  223. package/docs/types/ClassFunctionParameters.html +5 -5
  224. package/docs/types/Color.html +5 -5
  225. package/docs/types/ContentTypeConfigKey.html +5 -5
  226. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  227. package/docs/types/ContentTypeMap.html +5 -5
  228. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  229. package/docs/types/Create3DElementReturnType.html +5 -5
  230. package/docs/types/CruisePluginExportType.html +5 -5
  231. package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
  232. package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
  233. package/docs/types/Direction-1.html +5 -5
  234. package/docs/types/Direction4.html +5 -5
  235. package/docs/types/FloorplanRuleLabels.html +5 -5
  236. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  237. package/docs/types/GuideLinePluginExportType.html +5 -5
  238. package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -5
  239. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -5
  240. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -5
  241. package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -5
  242. package/docs/types/GuideLinePluginType.PathItem.html +5 -5
  243. package/docs/types/GuideLinePluginType.PluginData.html +5 -5
  244. package/docs/types/HelperEventMap.html +5 -5
  245. package/docs/types/LoadTagConfig.html +5 -5
  246. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  247. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  248. package/docs/types/MediaData.html +5 -5
  249. package/docs/types/MediaStore.html +5 -5
  250. package/docs/types/ModelElement.html +5 -5
  251. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  252. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  253. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  254. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  255. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  256. package/docs/types/MoveArgs.html +5 -5
  257. package/docs/types/MoveOpts.html +5 -5
  258. package/docs/types/Object3DHelperEventMap.html +5 -5
  259. package/docs/types/ObjectFit.html +5 -5
  260. package/docs/types/PaintBrushEventMap.html +5 -5
  261. package/docs/types/PanoCompassPluginData.html +5 -5
  262. package/docs/types/PanoCompassPluginExportType.html +5 -5
  263. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  264. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  265. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  266. package/docs/types/PanoIndex.html +5 -5
  267. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  268. package/docs/types/PanoMeasureReturnType.html +5 -5
  269. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  270. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  271. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  272. package/docs/types/PanoVideoPluginParameterType.html +5 -5
  273. package/docs/types/PanoVideoPluginReturnType.html +5 -5
  274. package/docs/types/PlaneTag.html +5 -5
  275. package/docs/types/PlaneTagElement.html +5 -5
  276. package/docs/types/Point2DElement.html +5 -5
  277. package/docs/types/Point2DTag.html +5 -5
  278. package/docs/types/Point3DElement.html +5 -5
  279. package/docs/types/Point3DTag.html +5 -5
  280. package/docs/types/PointTag.html +5 -5
  281. package/docs/types/PointTagElement.html +5 -5
  282. package/docs/types/Position.html +5 -5
  283. package/docs/types/RotateArgs.html +5 -5
  284. package/docs/types/RotateOpts.html +5 -5
  285. package/docs/types/RuleLabelsKey.html +5 -5
  286. package/docs/types/RuleLabelsValue.html +5 -5
  287. package/docs/types/StickType.html +5 -5
  288. package/docs/types/Tag.html +5 -5
  289. package/docs/types/Tag2D.html +5 -5
  290. package/docs/types/Tag3D.html +5 -5
  291. package/docs/types/TagContentType.html +5 -5
  292. package/docs/types/TagDimensionType.html +5 -5
  293. package/docs/types/TagElement.html +5 -5
  294. package/docs/types/TagEvents.html +5 -5
  295. package/docs/types/TagGLTFObject.html +5 -5
  296. package/docs/types/TagHooks.html +5 -5
  297. package/docs/types/TagIconSize.html +5 -5
  298. package/docs/types/TagId.html +5 -5
  299. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  300. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  301. package/docs/types/WorkCode.html +5 -5
  302. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  303. package/docs/variables/PLUGIN.html +5 -5
  304. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  305. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  306. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  307. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  308. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  309. package/libs/CSS3DRenderPlugin/Controller.js +47 -13
  310. package/libs/CSS3DRenderPlugin/index.js +6 -8
  311. package/libs/CSS3DRenderPlugin/utils/even.js +1 -1
  312. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -0
  313. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +37 -2
  314. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +1 -1
  315. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +22 -18
  316. package/libs/CameraMovementPlugin/index.js +7 -9
  317. package/libs/CruisePlugin/Controller.js +161 -52
  318. package/libs/CruisePlugin/index.js +36 -30
  319. package/libs/CruisePlugin/utils/coordinatesToVector.js +3 -0
  320. package/libs/GuideLinePlugin/Components/Tag.js +14 -2
  321. package/libs/GuideLinePlugin/Controller.d.ts +4 -3
  322. package/libs/GuideLinePlugin/Controller.js +119 -100
  323. package/libs/GuideLinePlugin/GuideLineItem/index.js +6 -6
  324. package/libs/GuideLinePlugin/GuideLineItem.js +29 -22
  325. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +129 -73
  326. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +6 -0
  327. package/libs/GuideLinePlugin/GuideLineModeItem.js +28 -21
  328. package/libs/GuideLinePlugin/index.js +37 -30
  329. package/libs/GuideLinePlugin/typing.d.ts +0 -1
  330. package/libs/GuideLinePlugin/typing.js +7 -9
  331. package/libs/GuideLinePlugin/utils/createLineGeometry.js +24 -18
  332. package/libs/GuideLinePlugin/utils/getPoint.js +4 -0
  333. package/libs/GuideLinePlugin/utils/index.js +17 -14
  334. package/libs/ItemLabelPlugin/ItemLabelComponent.js +83 -34
  335. package/libs/ItemLabelPlugin/ItemLabelItem.js +91 -14
  336. package/libs/ItemLabelPlugin/Plugin.js +2 -2
  337. package/libs/ItemLabelPlugin/index.js +8 -9
  338. package/libs/ModelChassisCompassPlugin/Plugin.js +25 -25
  339. package/libs/ModelChassisCompassPlugin/index.js +3 -4
  340. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +14 -14
  341. package/libs/ModelEntryDoorGuidePlugin/index.js +3 -4
  342. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +46 -10
  343. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +60 -7
  344. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +3 -3
  345. package/libs/ModelItemLabelPlugin/index.js +6 -7
  346. package/libs/ModelRoomLabelPlugin/Controller.js +18 -1
  347. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +58 -4
  348. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +50 -20
  349. package/libs/ModelTVVideoPlugin/Plugin.js +6 -8
  350. package/libs/ModelTVVideoPlugin/index.js +6 -9
  351. package/libs/ModelViewPlugin/Plugin.js +3 -3
  352. package/libs/ModelViewPlugin/index.js +3 -4
  353. package/libs/Object3DHelperPlugin/Controller.js +62 -42
  354. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +2 -1
  355. package/libs/Object3DHelperPlugin/index.js +7 -9
  356. package/libs/PanoCompassPlugin/Controller.js +54 -4
  357. package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -1
  358. package/libs/PanoCompassPlugin/index.js +3 -3
  359. package/libs/PanoDoorLabelPlugin/BaseController.js +37 -12
  360. package/libs/PanoDoorLabelPlugin/Controller.js +9 -6
  361. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +39 -13
  362. package/libs/PanoDoorLabelPlugin/index.js +5 -7
  363. package/libs/PanoMeasurePlugin/Controller/EditController.js +22 -4
  364. package/libs/PanoMeasurePlugin/Controller/MixedController.js +9 -5
  365. package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +2 -2
  366. package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -3
  367. package/libs/PanoMeasurePlugin/Controller/WatchController.js +5 -5
  368. package/libs/PanoMeasurePlugin/Controller/index.js +42 -12
  369. package/libs/PanoMeasurePlugin/Model/index.js +4 -4
  370. package/libs/PanoMeasurePlugin/Model/line.js +8 -8
  371. package/libs/PanoMeasurePlugin/Model/polyline.js +25 -24
  372. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +2 -2
  373. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +2 -1
  374. package/libs/PanoMeasurePlugin/Modules/GuideController.js +21 -20
  375. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +14 -10
  376. package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +6 -4
  377. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -1
  378. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
  379. package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +3 -3
  380. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +15 -12
  381. package/libs/PanoMeasurePlugin/index.js +14 -15
  382. package/libs/PanoMeasurePlugin/typings/index.js +1 -3
  383. package/libs/PanoRulerPlugin/Plugin.js +54 -54
  384. package/libs/PanoRulerPlugin/index.js +3 -4
  385. package/libs/PanoRulerProPlugin/Controller.js +14 -15
  386. package/libs/PanoRulerProPlugin/RulerItem.js +134 -45
  387. package/libs/PanoRulerProPlugin/RulerItems.js +49 -40
  388. package/libs/PanoRulerProPlugin/index.js +4 -5
  389. package/libs/PanoSpatialTagPlugin/Components/origins.js +47 -8
  390. package/libs/PanoSpatialTagPlugin/Components/tag.js +79 -3
  391. package/libs/PanoSpatialTagPlugin/Plugin.js +5 -7
  392. package/libs/PanoSpatialTagPlugin/index.js +4 -7
  393. package/libs/PanoTagPlugin/Components/Common/Arrow.js +45 -20
  394. package/libs/PanoTagPlugin/Components/Common/Audio.js +46 -8
  395. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +218 -54
  396. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +64 -11
  397. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +50 -27
  398. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +151 -26
  399. package/libs/PanoTagPlugin/Components/Common/Media.js +222 -89
  400. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +171 -22
  401. package/libs/PanoTagPlugin/Components/Common/Shadow.js +100 -28
  402. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +87 -8
  403. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +66 -13
  404. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +69 -27
  405. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +87 -13
  406. package/libs/PanoTagPlugin/Components/Common/TextItem.js +29 -6
  407. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +99 -14
  408. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +169 -44
  409. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +31 -6
  410. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +11 -4
  411. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +90 -35
  412. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +33 -7
  413. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +174 -35
  414. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +76 -24
  415. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +87 -14
  416. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +84 -17
  417. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +23 -6
  418. package/libs/PanoTagPlugin/Components/Tag/index.js +265 -41
  419. package/libs/PanoTagPlugin/Components/TagContainer.js +111 -58
  420. package/libs/PanoTagPlugin/Components/TagItem.js +201 -28
  421. package/libs/PanoTagPlugin/controller/TagCache.js +21 -19
  422. package/libs/PanoTagPlugin/controller/TagComputer.js +39 -18
  423. package/libs/PanoTagPlugin/controller/TagRender.js +46 -15
  424. package/libs/PanoTagPlugin/controller/TagUtil.js +25 -9
  425. package/libs/PanoTagPlugin/controller/index.js +90 -28
  426. package/libs/PanoTagPlugin/index.js +18 -19
  427. package/libs/PanoTagPlugin/tag.config.js +4 -0
  428. package/libs/PanoTagPlugin/utils/addDebugPoints.js +4 -0
  429. package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +7 -7
  430. package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +4 -0
  431. package/libs/PanoTagPlugin/utils/tagPosition.js +1 -1
  432. package/libs/PanoVideoPlugin/Controller.js +53 -39
  433. package/libs/PanoVideoPlugin/VideoMeshController.js +89 -43
  434. package/libs/PanoVideoPlugin/index.js +6 -7
  435. package/libs/_commonjsHelpers.js +4 -0
  436. package/libs/base/BasePlugin.js +23 -15
  437. package/libs/base/BasePluginWithData.js +2 -2
  438. package/libs/components/PaintBrush/Controller.js +15 -4
  439. package/libs/components/PaintBrush/Subscribe.js +37 -0
  440. package/libs/components/PaintBrush/index.js +17 -4
  441. package/libs/components/PaintBrush/tween.js +2 -2
  442. package/libs/components/index.js +1 -1
  443. package/libs/floorplan/Components/BaseImage.js +24 -6
  444. package/libs/floorplan/Components/Camera.js +73 -27
  445. package/libs/floorplan/Components/Compass.js +20 -3
  446. package/libs/floorplan/Components/CurrentFloor.js +189 -50
  447. package/libs/floorplan/Components/Main.js +202 -54
  448. package/libs/floorplan/Components/Normalmage.js +5 -2
  449. package/libs/floorplan/Components/RoomHighlight/Room.js +38 -5
  450. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +105 -58
  451. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +91 -18
  452. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +106 -37
  453. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +42 -13
  454. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +15 -3
  455. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +40 -3
  456. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +37 -3
  457. package/libs/floorplan/Components/RuleLabels/RuleItem.js +125 -51
  458. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +80 -15
  459. package/libs/floorplan/Components/SvgImage.js +18 -6
  460. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +117 -75
  461. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -6
  462. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +96 -53
  463. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -6
  464. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +43 -15
  465. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +83 -22
  466. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +61 -39
  467. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +128 -33
  468. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +39 -36
  469. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -6
  470. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +83 -64
  471. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -6
  472. package/libs/floorplan/index.js +1 -3
  473. package/libs/floorplan/typings/floorplanServerData.js +80 -80
  474. package/libs/index.js +136 -129
  475. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +29 -1
  476. package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +10 -1
  477. package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -1
  478. package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +5 -2
  479. package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +9 -8
  480. package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -0
  481. package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -1
  482. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +4 -1
  483. package/libs/shared-utils/Object3DHelper/index.js +15 -0
  484. package/libs/shared-utils/Subscribe.js +38 -1
  485. package/libs/shared-utils/animationFrame/BetterTween.d.ts +3 -2
  486. package/libs/shared-utils/animationFrame/BetterTween.js +19 -12
  487. package/libs/shared-utils/animationFrame/index.d.ts +1 -1
  488. package/libs/shared-utils/animationFrame/index.js +14 -14
  489. package/libs/shared-utils/animationFrame/tween.d.ts +32 -23
  490. package/libs/shared-utils/animationFrame/tween.js +15 -15
  491. package/libs/shared-utils/audio.js +9 -9
  492. package/libs/shared-utils/changeModelCanvasOpacity.js +1 -1
  493. package/libs/shared-utils/createCanvasTextTexture.js +3 -3
  494. package/libs/shared-utils/five/changeMode.js +11 -11
  495. package/libs/shared-utils/index.js +15 -15
  496. package/libs/shared-utils/log.js +2 -2
  497. package/libs/shared-utils/math/Interval.js +2 -0
  498. package/libs/shared-utils/math/Rectangle.js +2 -0
  499. package/libs/shared-utils/svelte/resizeObserver.d.ts +2 -10
  500. package/libs/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
  501. package/libs/shared-utils/three/FivePointSelector.js +1 -1
  502. package/libs/shared-utils/three/Magnifier.js +10 -7
  503. package/libs/shared-utils/three/PointDomHelper.js +11 -10
  504. package/libs/shared-utils/three/index.js +1 -2
  505. package/libs/shared-utils/three/loadTexture.js +10 -10
  506. package/libs/shared-utils/threex/domevents/index.js +2 -2
  507. package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +403 -0
  508. package/libs/vendor/classnames/index.js +47 -0
  509. package/libs/vendor/easy-reactive/main.js +3 -0
  510. package/libs/vendor/{simply-reactive → easy-reactive}/src/simply-reactive.js +8 -8
  511. package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/object.js +1 -1
  512. package/libs/vendor/gl-vec2/add.js +7 -0
  513. package/libs/vendor/gl-vec2/dot.js +7 -0
  514. package/libs/vendor/gl-vec2/normalize.js +8 -0
  515. package/libs/vendor/gl-vec2/set.js +7 -0
  516. package/libs/vendor/gl-vec2/subtract.js +7 -0
  517. package/libs/vendor/lodash.clonedeep/index.js +457 -0
  518. package/libs/vendor/lodash.get/index.js +236 -0
  519. package/libs/vendor/lodash.isequal/index.js +489 -0
  520. package/libs/vendor/object-assign-deep/objectAssignDeep.js +62 -0
  521. package/libs/vendor/polyline-miter-util/index.js +18 -0
  522. package/libs/vendor/polyline-normals/index.js +28 -0
  523. package/libs/vendor/resize-observer-polyfill/dist/ResizeObserver.es.js +155 -134
  524. package/libs/vendor/svelte/easing/index.js +4 -5
  525. package/libs/vendor/svelte/index.js +1 -1
  526. package/libs/vendor/svelte/internal/index.js +412 -388
  527. package/libs/vendor/svelte/store/index.js +6 -6
  528. package/libs/vendor/svelte/transition/index.js +23 -20
  529. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +41 -3
  530. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +338 -71
  531. package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +7 -1
  532. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +19 -3
  533. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +30 -7
  534. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +15 -3
  535. package/libs/vendor/svelte-carousel/src/utils/clones.js +1 -0
  536. package/libs/vendor/svelte-carousel/src/utils/lazy.js +3 -0
  537. package/package.json +11 -13
  538. package/dist/GuideLinePlugin/utils/getArrowMaterial.d.ts +0 -4
  539. package/libs/vendor/simply-reactive/main.js +0 -3
  540. /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/subscription.js +0 -0
  541. /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/watcher.js +0 -0
@@ -1,678 +1,702 @@
1
1
  function E() {
2
2
  }
3
3
  const it = (t) => t;
4
- function bt(t, e) {
4
+ function kt(t, e) {
5
5
  for (const n in e)
6
6
  t[n] = e[n];
7
7
  return t;
8
8
  }
9
- function kt(t) {
10
- return t && typeof t == "object" && typeof t.then == "function";
9
+ function xt(t) {
10
+ return !!t && (typeof t == "object" || typeof t == "function") && typeof t.then == "function";
11
11
  }
12
- function st(t) {
12
+ function ot(t) {
13
13
  return t();
14
14
  }
15
- function et() {
15
+ function nt() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
- function N(t) {
19
- t.forEach(st);
18
+ function v(t) {
19
+ t.forEach(ot);
20
20
  }
21
- function P(t) {
21
+ function O(t) {
22
22
  return typeof t == "function";
23
23
  }
24
- function Rt(t, e) {
24
+ function Ft(t, e) {
25
25
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
26
26
  }
27
- let D;
28
- function qt(t, e) {
29
- return D || (D = document.createElement("a")), D.href = e, t === D.href;
27
+ let R;
28
+ function Wt(t, e) {
29
+ return R || (R = document.createElement("a")), R.href = e, t === R.href;
30
30
  }
31
- function xt(t) {
31
+ function Et(t) {
32
32
  return Object.keys(t).length === 0;
33
33
  }
34
- function Wt(t, e, n, r) {
34
+ function Bt(t, e, n, s) {
35
35
  if (t) {
36
- const i = ot(t, e, n, r);
37
- return t[0](i);
36
+ const r = ct(t, e, n, s);
37
+ return t[0](r);
38
38
  }
39
39
  }
40
- function ot(t, e, n, r) {
41
- return t[1] && r ? bt(n.ctx.slice(), t[1](r(e))) : n.ctx;
40
+ function ct(t, e, n, s) {
41
+ return t[1] && s ? kt(n.ctx.slice(), t[1](s(e))) : n.ctx;
42
42
  }
43
- function Bt(t, e, n, r) {
44
- if (t[2] && r) {
45
- const i = t[2](r(n));
43
+ function Ht(t, e, n, s) {
44
+ if (t[2] && s) {
45
+ const r = t[2](s(n));
46
46
  if (e.dirty === void 0)
47
+ return r;
48
+ if (typeof r == "object") {
49
+ const i = [], o = Math.max(e.dirty.length, r.length);
50
+ for (let l = 0; l < o; l += 1)
51
+ i[l] = e.dirty[l] | r[l];
47
52
  return i;
48
- if (typeof i == "object") {
49
- const s = [], o = Math.max(e.dirty.length, i.length);
50
- for (let a = 0; a < o; a += 1)
51
- s[a] = e.dirty[a] | i[a];
52
- return s;
53
53
  }
54
- return e.dirty | i;
54
+ return e.dirty | r;
55
55
  }
56
56
  return e.dirty;
57
57
  }
58
- function Ft(t, e, n, r, i, s) {
59
- if (i) {
60
- const o = ot(e, n, r, s);
61
- t.p(o, i);
58
+ function It(t, e, n, s, r, i) {
59
+ if (r) {
60
+ const o = ct(e, n, s, i);
61
+ t.p(o, r);
62
62
  }
63
63
  }
64
- function Ht(t) {
64
+ function Ut(t) {
65
65
  if (t.ctx.length > 32) {
66
66
  const e = [], n = t.ctx.length / 32;
67
- for (let r = 0; r < n; r++)
68
- e[r] = -1;
67
+ for (let s = 0; s < n; s++)
68
+ e[s] = -1;
69
69
  return e;
70
70
  }
71
71
  return -1;
72
72
  }
73
- function It(t) {
73
+ function Gt(t) {
74
74
  return t == null ? "" : t;
75
75
  }
76
- function Ut(t) {
77
- return t && P(t.destroy) ? t.destroy : E;
76
+ function Jt(t) {
77
+ return t && O(t.destroy) ? t.destroy : E;
78
78
  }
79
- const ct = typeof window != "undefined";
80
- let ut = ct ? () => window.performance.now() : () => Date.now(), V = ct ? (t) => requestAnimationFrame(t) : E;
81
- const C = /* @__PURE__ */ new Set();
82
- function lt(t) {
83
- C.forEach((e) => {
84
- e.c(t) || (C.delete(e), e.f());
85
- }), C.size !== 0 && V(lt);
79
+ function Kt(t) {
80
+ const e = typeof t == "string" && t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);
81
+ return e ? [parseFloat(e[1]), e[2] || "px"] : [t, "px"];
86
82
  }
83
+ const ut = typeof window != "undefined";
84
+ let lt = ut ? () => window.performance.now() : () => Date.now(), X = ut ? (t) => requestAnimationFrame(t) : E;
85
+ const T = /* @__PURE__ */ new Set();
87
86
  function ft(t) {
87
+ T.forEach((e) => {
88
+ e.c(t) || (T.delete(e), e.f());
89
+ }), T.size !== 0 && X(ft);
90
+ }
91
+ function at(t) {
88
92
  let e;
89
- return C.size === 0 && V(lt), {
93
+ return T.size === 0 && X(ft), {
90
94
  promise: new Promise((n) => {
91
- C.add(e = { c: t, f: n });
95
+ T.add(e = { c: t, f: n });
92
96
  }),
93
97
  abort() {
94
- C.delete(e);
98
+ T.delete(e);
95
99
  }
96
100
  };
97
101
  }
98
- function at(t, e) {
102
+ function dt(t, e) {
99
103
  t.appendChild(e);
100
104
  }
101
- function Gt(t, e, n) {
102
- const r = X(t);
103
- if (!r.getElementById(e)) {
104
- const i = I("style");
105
- i.id = e, i.textContent = n, dt(r, i);
105
+ function Qt(t, e, n) {
106
+ const s = Y(t);
107
+ if (!s.getElementById(e)) {
108
+ const r = U("style");
109
+ r.id = e, r.textContent = n, ht(s, r);
106
110
  }
107
111
  }
108
- function X(t) {
112
+ function Y(t) {
109
113
  if (!t)
110
114
  return document;
111
115
  const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
112
116
  return e && e.host ? e : t.ownerDocument;
113
117
  }
114
118
  function vt(t) {
115
- const e = I("style");
116
- return dt(X(t), e), e.sheet;
119
+ const e = U("style");
120
+ return ht(Y(t), e), e.sheet;
117
121
  }
118
- function dt(t, e) {
119
- return at(t.head || t, e), e.sheet;
122
+ function ht(t, e) {
123
+ return dt(t.head || t, e), e.sheet;
120
124
  }
121
- function Et(t, e, n) {
125
+ function Nt(t, e, n) {
122
126
  t.insertBefore(e, n || null);
123
127
  }
124
- function H(t) {
128
+ function I(t) {
125
129
  t.parentNode && t.parentNode.removeChild(t);
126
130
  }
127
- function Jt(t, e) {
131
+ function Vt(t, e) {
128
132
  for (let n = 0; n < t.length; n += 1)
129
133
  t[n] && t[n].d(e);
130
134
  }
131
- function I(t) {
135
+ function U(t) {
132
136
  return document.createElement(t);
133
137
  }
134
- function Ct(t) {
138
+ function At(t) {
135
139
  return document.createElementNS("http://www.w3.org/2000/svg", t);
136
140
  }
137
- function ht(t) {
141
+ function _t(t) {
138
142
  return document.createTextNode(t);
139
143
  }
140
- function Kt() {
141
- return ht(" ");
144
+ function Xt() {
145
+ return _t(" ");
142
146
  }
143
- function Qt() {
144
- return ht("");
147
+ function Yt() {
148
+ return _t("");
145
149
  }
146
- function nt(t, e, n, r) {
147
- return t.addEventListener(e, n, r), () => t.removeEventListener(e, n, r);
150
+ function st(t, e, n, s) {
151
+ return t.addEventListener(e, n, s), () => t.removeEventListener(e, n, s);
148
152
  }
149
- function Vt(t) {
153
+ function Zt(t) {
150
154
  return function(e) {
151
155
  return e.stopPropagation(), t.call(this, e);
152
156
  };
153
157
  }
154
- function Xt(t, e, n) {
158
+ function te(t, e, n) {
155
159
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
156
160
  }
157
- function Nt(t) {
161
+ function Mt(t) {
158
162
  return Array.from(t.childNodes);
159
163
  }
160
- function Yt(t, e) {
161
- e = "" + e, t.wholeText !== e && (t.data = e);
164
+ function ee(t, e) {
165
+ e = "" + e, t.data !== e && (t.data = e);
162
166
  }
163
- function Zt(t, e, n, r) {
164
- n === null ? t.style.removeProperty(e) : t.style.setProperty(e, n, r ? "important" : "");
167
+ function ne(t, e, n, s) {
168
+ n === null ? t.style.removeProperty(e) : t.style.setProperty(e, n, s ? "important" : "");
165
169
  }
166
- let O;
167
- function jt() {
168
- if (O === void 0) {
169
- O = !1;
170
+ let q;
171
+ function Tt() {
172
+ if (q === void 0) {
173
+ q = !1;
170
174
  try {
171
175
  typeof window != "undefined" && window.parent && window.parent.document;
172
176
  } catch (t) {
173
- O = !0;
177
+ q = !0;
174
178
  }
175
179
  }
176
- return O;
180
+ return q;
177
181
  }
178
- function te(t, e) {
182
+ function se(t, e) {
179
183
  getComputedStyle(t).position === "static" && (t.style.position = "relative");
180
- const r = I("iframe");
181
- r.setAttribute("style", "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"), r.setAttribute("aria-hidden", "true"), r.tabIndex = -1;
182
- const i = jt();
183
- let s;
184
- return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = nt(window, "message", (o) => {
185
- o.source === r.contentWindow && e();
186
- })) : (r.src = "about:blank", r.onload = () => {
187
- s = nt(r.contentWindow, "resize", e);
188
- }), at(t, r), () => {
189
- (i || s && r.contentWindow) && s(), H(r);
184
+ const s = U("iframe");
185
+ s.setAttribute("style", "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"), s.setAttribute("aria-hidden", "true"), s.tabIndex = -1;
186
+ const r = Tt();
187
+ let i;
188
+ return r ? (s.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", i = st(window, "message", (o) => {
189
+ o.source === s.contentWindow && e();
190
+ })) : (s.src = "about:blank", s.onload = () => {
191
+ i = st(s.contentWindow, "resize", e), e();
192
+ }), dt(t, s), () => {
193
+ (r || i && s.contentWindow) && i(), I(s);
190
194
  };
191
195
  }
192
- function ee(t, e, n) {
196
+ function re(t, e, n) {
193
197
  t.classList[n ? "add" : "remove"](e);
194
198
  }
195
- function _t(t, e, { bubbles: n = !1, cancelable: r = !1 } = {}) {
196
- const i = document.createEvent("CustomEvent");
197
- return i.initCustomEvent(t, n, r, e), i;
199
+ function pt(t, e, { bubbles: n = !1, cancelable: s = !1 } = {}) {
200
+ const r = document.createEvent("CustomEvent");
201
+ return r.initCustomEvent(t, n, s, e), r;
198
202
  }
199
- class ne {
203
+ class ie {
200
204
  constructor(e = !1) {
201
205
  this.is_svg = !1, this.is_svg = e, this.e = this.n = null;
202
206
  }
203
207
  c(e) {
204
208
  this.h(e);
205
209
  }
206
- m(e, n, r = null) {
207
- this.e || (this.is_svg ? this.e = Ct(n.nodeName) : this.e = I(n.nodeName), this.t = n, this.c(e)), this.i(r);
210
+ m(e, n, s = null) {
211
+ this.e || (this.is_svg ? this.e = At(n.nodeName) : this.e = U(n.nodeType === 11 ? "TEMPLATE" : n.nodeName), this.t = n.tagName !== "TEMPLATE" ? n : n.content, this.c(e)), this.i(s);
208
212
  }
209
213
  h(e) {
210
- this.e.innerHTML = e, this.n = Array.from(this.e.childNodes);
214
+ this.e.innerHTML = e, this.n = Array.from(this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes);
211
215
  }
212
216
  i(e) {
213
217
  for (let n = 0; n < this.n.length; n += 1)
214
- Et(this.t, this.n[n], e);
218
+ Nt(this.t, this.n[n], e);
215
219
  }
216
220
  p(e) {
217
221
  this.d(), this.h(e), this.i(this.a);
218
222
  }
219
223
  d() {
220
- this.n.forEach(H);
224
+ this.n.forEach(I);
221
225
  }
222
226
  }
223
227
  const W = /* @__PURE__ */ new Map();
224
228
  let B = 0;
225
- function At(t) {
229
+ function Ct(t) {
226
230
  let e = 5381, n = t.length;
227
231
  for (; n--; )
228
232
  e = (e << 5) - e ^ t.charCodeAt(n);
229
233
  return e >>> 0;
230
234
  }
231
- function Mt(t, e) {
235
+ function Pt(t, e) {
232
236
  const n = { stylesheet: vt(e), rules: {} };
233
237
  return W.set(t, n), n;
234
238
  }
235
- function pt(t, e, n, r, i, s, o, a = 0) {
236
- const u = 16.666 / r;
239
+ function mt(t, e, n, s, r, i, o, l = 0) {
240
+ const u = 16.666 / s;
237
241
  let c = `{
238
242
  `;
239
243
  for (let m = 0; m <= 1; m += u) {
240
- const b = e + (n - e) * s(m);
241
- c += m * 100 + `%{${o(b, 1 - b)}}
244
+ const y = e + (n - e) * i(m);
245
+ c += m * 100 + `%{${o(y, 1 - y)}}
242
246
  `;
243
247
  }
244
248
  const _ = c + `100% {${o(n, 1 - n)}}
245
- }`, l = `__svelte_${At(_)}_${a}`, f = X(t), { stylesheet: d, rules: h } = W.get(f) || Mt(f, t);
246
- h[l] || (h[l] = !0, d.insertRule(`@keyframes ${l} ${_}`, d.cssRules.length));
247
- const y = t.style.animation || "";
248
- return t.style.animation = `${y ? `${y}, ` : ""}${l} ${r}ms linear ${i}ms 1 both`, B += 1, l;
249
- }
250
- function J(t, e) {
251
- const n = (t.style.animation || "").split(", "), r = n.filter(
252
- e ? (s) => s.indexOf(e) < 0 : (s) => s.indexOf("__svelte") === -1
253
- ), i = n.length - r.length;
254
- i && (t.style.animation = r.join(", "), B -= i, B || St());
255
- }
256
- function St() {
257
- V(() => {
249
+ }`, f = `__svelte_${Ct(_)}_${l}`, a = Y(t), { stylesheet: h, rules: d } = W.get(a) || Pt(a, t);
250
+ d[f] || (d[f] = !0, h.insertRule(`@keyframes ${f} ${_}`, h.cssRules.length));
251
+ const g = t.style.animation || "";
252
+ return t.style.animation = `${g ? `${g}, ` : ""}${f} ${s}ms linear ${r}ms 1 both`, B += 1, f;
253
+ }
254
+ function K(t, e) {
255
+ const n = (t.style.animation || "").split(", "), s = n.filter(
256
+ e ? (i) => i.indexOf(e) < 0 : (i) => i.indexOf("__svelte") === -1
257
+ // remove all Svelte animations
258
+ ), r = n.length - s.length;
259
+ r && (t.style.animation = s.join(", "), B -= r, B || jt());
260
+ }
261
+ function jt() {
262
+ X(() => {
258
263
  B || (W.forEach((t) => {
259
264
  const { ownerNode: e } = t.stylesheet;
260
- e && H(e);
265
+ e && I(e);
261
266
  }), W.clear());
262
267
  });
263
268
  }
264
- let S;
265
- function $(t) {
266
- S = t;
269
+ let z;
270
+ function b(t) {
271
+ z = t;
267
272
  }
268
273
  function x() {
269
- if (!S)
274
+ if (!z)
270
275
  throw new Error("Function called outside component initialization");
271
- return S;
276
+ return z;
272
277
  }
273
- function re(t) {
278
+ function oe(t) {
274
279
  x().$$.before_update.push(t);
275
280
  }
276
- function ie(t) {
281
+ function ce(t) {
277
282
  x().$$.on_mount.push(t);
278
283
  }
279
- function se(t) {
284
+ function ue(t) {
280
285
  x().$$.after_update.push(t);
281
286
  }
282
- function oe(t) {
287
+ function le(t) {
283
288
  x().$$.on_destroy.push(t);
284
289
  }
285
- function ce() {
290
+ function fe() {
286
291
  const t = x();
287
- return (e, n, { cancelable: r = !1 } = {}) => {
288
- const i = t.$$.callbacks[e];
289
- if (i) {
290
- const s = _t(e, n, { cancelable: r });
291
- return i.slice().forEach((o) => {
292
- o.call(t, s);
293
- }), !s.defaultPrevented;
292
+ return (e, n, { cancelable: s = !1 } = {}) => {
293
+ const r = t.$$.callbacks[e];
294
+ if (r) {
295
+ const i = pt(e, n, { cancelable: s });
296
+ return r.slice().forEach((o) => {
297
+ o.call(t, i);
298
+ }), !i.defaultPrevented;
294
299
  }
295
300
  return !0;
296
301
  };
297
302
  }
298
- function ue(t, e) {
303
+ function ae(t, e) {
299
304
  return x().$$.context.set(t, e), e;
300
305
  }
301
- function le(t) {
306
+ function de(t) {
302
307
  return x().$$.context.get(t);
303
308
  }
304
- function fe(t, e) {
309
+ function he(t, e) {
305
310
  const n = t.$$.callbacks[e.type];
306
- n && n.slice().forEach((r) => r.call(this, e));
311
+ n && n.slice().forEach((s) => s.call(this, e));
307
312
  }
308
- const M = [], rt = [], R = [], K = [], mt = Promise.resolve();
309
- let Q = !1;
310
- function yt() {
311
- Q || (Q = !0, mt.then(Y));
313
+ const M = [], rt = [];
314
+ let C = [];
315
+ const Q = [], yt = /* @__PURE__ */ Promise.resolve();
316
+ let V = !1;
317
+ function gt() {
318
+ V || (V = !0, yt.then(Z));
312
319
  }
313
- function ae() {
314
- return yt(), mt;
320
+ function _e() {
321
+ return gt(), yt;
315
322
  }
316
- function z(t) {
317
- R.push(t);
323
+ function L(t) {
324
+ C.push(t);
318
325
  }
319
- function de(t) {
320
- K.push(t);
326
+ function pe(t) {
327
+ Q.push(t);
321
328
  }
322
- const G = /* @__PURE__ */ new Set();
323
- let L = 0;
324
- function Y() {
325
- const t = S;
329
+ const J = /* @__PURE__ */ new Set();
330
+ let A = 0;
331
+ function Z() {
332
+ if (A !== 0)
333
+ return;
334
+ const t = z;
326
335
  do {
327
- for (; L < M.length; ) {
328
- const e = M[L];
329
- L++, $(e), zt(e.$$);
336
+ try {
337
+ for (; A < M.length; ) {
338
+ const e = M[A];
339
+ A++, b(e), St(e.$$);
340
+ }
341
+ } catch (e) {
342
+ throw M.length = 0, A = 0, e;
330
343
  }
331
- for ($(null), M.length = 0, L = 0; rt.length; )
344
+ for (b(null), M.length = 0, A = 0; rt.length; )
332
345
  rt.pop()();
333
- for (let e = 0; e < R.length; e += 1) {
334
- const n = R[e];
335
- G.has(n) || (G.add(n), n());
346
+ for (let e = 0; e < C.length; e += 1) {
347
+ const n = C[e];
348
+ J.has(n) || (J.add(n), n());
336
349
  }
337
- R.length = 0;
350
+ C.length = 0;
338
351
  } while (M.length);
339
- for (; K.length; )
340
- K.pop()();
341
- Q = !1, G.clear(), $(t);
352
+ for (; Q.length; )
353
+ Q.pop()();
354
+ V = !1, J.clear(), b(t);
342
355
  }
343
- function zt(t) {
356
+ function St(t) {
344
357
  if (t.fragment !== null) {
345
- t.update(), N(t.before_update);
358
+ t.update(), v(t.before_update);
346
359
  const e = t.dirty;
347
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(z);
360
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(L);
348
361
  }
349
362
  }
350
- let A;
351
- function gt() {
352
- return A || (A = Promise.resolve(), A.then(() => {
353
- A = null;
354
- })), A;
363
+ function zt(t) {
364
+ const e = [], n = [];
365
+ C.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), C = e;
355
366
  }
356
- function F(t, e, n) {
357
- t.dispatchEvent(_t(`${e ? "intro" : "outro"}${n}`));
367
+ let S;
368
+ function wt() {
369
+ return S || (S = Promise.resolve(), S.then(() => {
370
+ S = null;
371
+ })), S;
358
372
  }
359
- const q = /* @__PURE__ */ new Set();
373
+ function H(t, e, n) {
374
+ t.dispatchEvent(pt(`${e ? "intro" : "outro"}${n}`));
375
+ }
376
+ const F = /* @__PURE__ */ new Set();
360
377
  let k;
361
- function Pt() {
378
+ function Lt() {
362
379
  k = {
363
380
  r: 0,
364
381
  c: [],
365
382
  p: k
383
+ // parent group
366
384
  };
367
385
  }
368
- function Tt() {
369
- k.r || N(k.c), k = k.p;
386
+ function Ot() {
387
+ k.r || v(k.c), k = k.p;
370
388
  }
371
- function Z(t, e) {
372
- t && t.i && (q.delete(t), t.i(e));
389
+ function tt(t, e) {
390
+ t && t.i && (F.delete(t), t.i(e));
373
391
  }
374
- function wt(t, e, n, r) {
392
+ function $t(t, e, n, s) {
375
393
  if (t && t.o) {
376
- if (q.has(t))
394
+ if (F.has(t))
377
395
  return;
378
- q.add(t), k.c.push(() => {
379
- q.delete(t), r && (n && t.d(1), r());
396
+ F.add(t), k.c.push(() => {
397
+ F.delete(t), s && (n && t.d(1), s());
380
398
  }), t.o(e);
381
399
  } else
382
- r && r();
400
+ s && s();
383
401
  }
384
- const $t = { duration: 0 };
385
- function he(t, e, n) {
386
- let r = e(t, n), i = !1, s, o, a = 0;
387
- function u() {
388
- s && J(t, s);
389
- }
402
+ const bt = { duration: 0 };
403
+ function me(t, e, n) {
404
+ const s = { direction: "in" };
405
+ let r = e(t, n, s), i = !1, o, l, u = 0;
390
406
  function c() {
391
- const { delay: l = 0, duration: f = 300, easing: d = it, tick: h = E, css: y } = r || $t;
392
- y && (s = pt(t, 0, 1, f, l, d, y, a++)), h(0, 1);
393
- const m = ut() + l, b = m + f;
394
- o && o.abort(), i = !0, z(() => F(t, !0, "start")), o = ft((v) => {
407
+ o && K(t, o);
408
+ }
409
+ function _() {
410
+ const { delay: a = 0, duration: h = 300, easing: d = it, tick: g = E, css: m } = r || bt;
411
+ m && (o = mt(t, 0, 1, h, a, d, m, u++)), g(0, 1);
412
+ const y = lt() + a, P = y + h;
413
+ l && l.abort(), i = !0, L(() => H(t, !0, "start")), l = at((N) => {
395
414
  if (i) {
396
- if (v >= b)
397
- return h(1, 0), F(t, !0, "end"), u(), i = !1;
398
- if (v >= m) {
399
- const j = d((v - m) / f);
400
- h(j, 1 - j);
415
+ if (N >= P)
416
+ return g(1, 0), H(t, !0, "end"), c(), i = !1;
417
+ if (N >= y) {
418
+ const j = d((N - y) / h);
419
+ g(j, 1 - j);
401
420
  }
402
421
  }
403
422
  return i;
404
423
  });
405
424
  }
406
- let _ = !1;
425
+ let f = !1;
407
426
  return {
408
427
  start() {
409
- _ || (_ = !0, J(t), P(r) ? (r = r(), gt().then(c)) : c());
428
+ f || (f = !0, K(t), O(r) ? (r = r(s), wt().then(_)) : _());
410
429
  },
411
430
  invalidate() {
412
- _ = !1;
431
+ f = !1;
413
432
  },
414
433
  end() {
415
- i && (u(), i = !1);
434
+ i && (c(), i = !1);
416
435
  }
417
436
  };
418
437
  }
419
- function _e(t, e, n) {
420
- let r = e(t, n), i = !0, s;
421
- const o = k;
422
- o.r += 1;
423
- function a() {
424
- const { delay: u = 0, duration: c = 300, easing: _ = it, tick: l = E, css: f } = r || $t;
425
- f && (s = pt(t, 1, 0, c, u, _, f));
426
- const d = ut() + u, h = d + c;
427
- z(() => F(t, !1, "start")), ft((y) => {
438
+ function ye(t, e, n) {
439
+ const s = { direction: "out" };
440
+ let r = e(t, n, s), i = !0, o;
441
+ const l = k;
442
+ l.r += 1;
443
+ function u() {
444
+ const { delay: c = 0, duration: _ = 300, easing: f = it, tick: a = E, css: h } = r || bt;
445
+ h && (o = mt(t, 1, 0, _, c, f, h));
446
+ const d = lt() + c, g = d + _;
447
+ L(() => H(t, !1, "start")), at((m) => {
428
448
  if (i) {
429
- if (y >= h)
430
- return l(0, 1), F(t, !1, "end"), --o.r || N(o.c), !1;
431
- if (y >= d) {
432
- const m = _((y - d) / c);
433
- l(1 - m, m);
449
+ if (m >= g)
450
+ return a(0, 1), H(t, !1, "end"), --l.r || v(l.c), !1;
451
+ if (m >= d) {
452
+ const y = f((m - d) / _);
453
+ a(1 - y, y);
434
454
  }
435
455
  }
436
456
  return i;
437
457
  });
438
458
  }
439
- return P(r) ? gt().then(() => {
440
- r = r(), a();
441
- }) : a(), {
442
- end(u) {
443
- u && r.tick && r.tick(1, 0), i && (s && J(t, s), i = !1);
459
+ return O(r) ? wt().then(() => {
460
+ r = r(s), u();
461
+ }) : u(), {
462
+ end(c) {
463
+ c && r.tick && r.tick(1, 0), i && (o && K(t, o), i = !1);
444
464
  }
445
465
  };
446
466
  }
447
- function pe(t, e) {
467
+ function ge(t, e) {
448
468
  const n = e.token = {};
449
- function r(i, s, o, a) {
469
+ function s(r, i, o, l) {
450
470
  if (e.token !== n)
451
471
  return;
452
- e.resolved = a;
472
+ e.resolved = l;
453
473
  let u = e.ctx;
454
- o !== void 0 && (u = u.slice(), u[o] = a);
455
- const c = i && (e.current = i)(u);
474
+ o !== void 0 && (u = u.slice(), u[o] = l);
475
+ const c = r && (e.current = r)(u);
456
476
  let _ = !1;
457
- e.block && (e.blocks ? e.blocks.forEach((l, f) => {
458
- f !== s && l && (Pt(), wt(l, 1, 1, () => {
459
- e.blocks[f] === l && (e.blocks[f] = null);
460
- }), Tt());
461
- }) : e.block.d(1), c.c(), Z(c, 1), c.m(e.mount(), e.anchor), _ = !0), e.block = c, e.blocks && (e.blocks[s] = c), _ && Y();
477
+ e.block && (e.blocks ? e.blocks.forEach((f, a) => {
478
+ a !== i && f && (Lt(), $t(f, 1, 1, () => {
479
+ e.blocks[a] === f && (e.blocks[a] = null);
480
+ }), Ot());
481
+ }) : e.block.d(1), c.c(), tt(c, 1), c.m(e.mount(), e.anchor), _ = !0), e.block = c, e.blocks && (e.blocks[i] = c), _ && Z();
462
482
  }
463
- if (kt(t)) {
464
- const i = x();
465
- if (t.then((s) => {
466
- $(i), r(e.then, 1, e.value, s), $(null);
467
- }, (s) => {
468
- if ($(i), r(e.catch, 2, e.error, s), $(null), !e.hasCatch)
469
- throw s;
483
+ if (xt(t)) {
484
+ const r = x();
485
+ if (t.then((i) => {
486
+ b(r), s(e.then, 1, e.value, i), b(null);
487
+ }, (i) => {
488
+ if (b(r), s(e.catch, 2, e.error, i), b(null), !e.hasCatch)
489
+ throw i;
470
490
  }), e.current !== e.pending)
471
- return r(e.pending, 0), !0;
491
+ return s(e.pending, 0), !0;
472
492
  } else {
473
493
  if (e.current !== e.then)
474
- return r(e.then, 1, e.value, t), !0;
494
+ return s(e.then, 1, e.value, t), !0;
475
495
  e.resolved = t;
476
496
  }
477
497
  }
478
- function me(t, e, n) {
479
- const r = e.slice(), { resolved: i } = t;
480
- t.current === t.then && (r[t.value] = i), t.current === t.catch && (r[t.error] = i), t.block.p(r, n);
498
+ function we(t, e, n) {
499
+ const s = e.slice(), { resolved: r } = t;
500
+ t.current === t.then && (s[t.value] = r), t.current === t.catch && (s[t.error] = r), t.block.p(s, n);
481
501
  }
482
- const ye = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : global;
483
- function ge(t, e) {
502
+ const $e = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : global;
503
+ function be(t, e) {
484
504
  t.d(1), e.delete(t.key);
485
505
  }
486
- function we(t, e) {
487
- wt(t, 1, 1, () => {
506
+ function ke(t, e) {
507
+ $t(t, 1, 1, () => {
488
508
  e.delete(t.key);
489
509
  });
490
510
  }
491
- function $e(t, e, n, r, i, s, o, a, u, c, _, l) {
492
- let f = t.length, d = s.length, h = f;
493
- const y = {};
494
- for (; h--; )
495
- y[t[h].key] = h;
496
- const m = [], b = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map();
497
- for (h = d; h--; ) {
498
- const p = l(i, s, h), g = n(p);
499
- let w = o.get(g);
500
- w ? r && w.p(p, e) : (w = c(g, p), w.c()), b.set(g, m[h] = w), g in y && v.set(g, Math.abs(h - y[g]));
511
+ function xe(t, e, n, s, r, i, o, l, u, c, _, f) {
512
+ let a = t.length, h = i.length, d = a;
513
+ const g = {};
514
+ for (; d--; )
515
+ g[t[d].key] = d;
516
+ const m = [], y = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), N = [];
517
+ for (d = h; d--; ) {
518
+ const p = f(r, i, d), w = n(p);
519
+ let $ = o.get(w);
520
+ $ ? s && N.push(() => $.p(p, e)) : ($ = c(w, p), $.c()), y.set(w, m[d] = $), w in g && P.set(w, Math.abs(d - g[w]));
501
521
  }
502
- const j = /* @__PURE__ */ new Set(), tt = /* @__PURE__ */ new Set();
503
- function U(p) {
504
- Z(p, 1), p.m(a, _), o.set(p.key, p), _ = p.first, d--;
522
+ const j = /* @__PURE__ */ new Set(), et = /* @__PURE__ */ new Set();
523
+ function G(p) {
524
+ tt(p, 1), p.m(l, _), o.set(p.key, p), _ = p.first, h--;
505
525
  }
506
- for (; f && d; ) {
507
- const p = m[d - 1], g = t[f - 1], w = p.key, T = g.key;
508
- p === g ? (_ = p.first, f--, d--) : b.has(T) ? !o.has(w) || j.has(w) ? U(p) : tt.has(T) ? f-- : v.get(w) > v.get(T) ? (tt.add(w), U(p)) : (j.add(T), f--) : (u(g, o), f--);
526
+ for (; a && h; ) {
527
+ const p = m[h - 1], w = t[a - 1], $ = p.key, D = w.key;
528
+ p === w ? (_ = p.first, a--, h--) : y.has(D) ? !o.has($) || j.has($) ? G(p) : et.has(D) ? a-- : P.get($) > P.get(D) ? (et.add($), G(p)) : (j.add(D), a--) : (u(w, o), a--);
509
529
  }
510
- for (; f--; ) {
511
- const p = t[f];
512
- b.has(p.key) || u(p, o);
530
+ for (; a--; ) {
531
+ const p = t[a];
532
+ y.has(p.key) || u(p, o);
513
533
  }
514
- for (; d; )
515
- U(m[d - 1]);
516
- return m;
517
- }
518
- function be(t, e) {
519
- const n = {}, r = {}, i = { $$scope: 1 };
520
- let s = t.length;
521
- for (; s--; ) {
522
- const o = t[s], a = e[s];
523
- if (a) {
534
+ for (; h; )
535
+ G(m[h - 1]);
536
+ return v(N), m;
537
+ }
538
+ function Ee(t, e) {
539
+ const n = {}, s = {}, r = { $$scope: 1 };
540
+ let i = t.length;
541
+ for (; i--; ) {
542
+ const o = t[i], l = e[i];
543
+ if (l) {
524
544
  for (const u in o)
525
- u in a || (r[u] = 1);
526
- for (const u in a)
527
- i[u] || (n[u] = a[u], i[u] = 1);
528
- t[s] = a;
545
+ u in l || (s[u] = 1);
546
+ for (const u in l)
547
+ r[u] || (n[u] = l[u], r[u] = 1);
548
+ t[i] = l;
529
549
  } else
530
550
  for (const u in o)
531
- i[u] = 1;
551
+ r[u] = 1;
532
552
  }
533
- for (const o in r)
553
+ for (const o in s)
534
554
  o in n || (n[o] = void 0);
535
555
  return n;
536
556
  }
537
- function ke(t) {
557
+ function ve(t) {
538
558
  return typeof t == "object" && t !== null ? t : {};
539
559
  }
540
- function xe(t, e, n) {
541
- const r = t.$$.props[e];
542
- r !== void 0 && (t.$$.bound[r] = n, n(t.$$.ctx[r]));
560
+ function Ne(t, e, n) {
561
+ const s = t.$$.props[e];
562
+ s !== void 0 && (t.$$.bound[s] = n, n(t.$$.ctx[s]));
543
563
  }
544
- function ve(t) {
564
+ function Ae(t) {
545
565
  t && t.c();
546
566
  }
547
- function Dt(t, e, n, r) {
548
- const { fragment: i, after_update: s } = t.$$;
549
- i && i.m(e, n), r || z(() => {
550
- const o = t.$$.on_mount.map(st).filter(P);
551
- t.$$.on_destroy ? t.$$.on_destroy.push(...o) : N(o), t.$$.on_mount = [];
552
- }), s.forEach(z);
567
+ function Dt(t, e, n, s) {
568
+ const { fragment: r, after_update: i } = t.$$;
569
+ r && r.m(e, n), s || L(() => {
570
+ const o = t.$$.on_mount.map(ot).filter(O);
571
+ t.$$.on_destroy ? t.$$.on_destroy.push(...o) : v(o), t.$$.on_mount = [];
572
+ }), i.forEach(L);
553
573
  }
554
- function Ot(t, e) {
574
+ function Rt(t, e) {
555
575
  const n = t.$$;
556
- n.fragment !== null && (N(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
576
+ n.fragment !== null && (zt(n.after_update), v(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
557
577
  }
558
- function Lt(t, e) {
559
- t.$$.dirty[0] === -1 && (M.push(t), yt(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
578
+ function qt(t, e) {
579
+ t.$$.dirty[0] === -1 && (M.push(t), gt(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
560
580
  }
561
- function Ee(t, e, n, r, i, s, o, a = [-1]) {
562
- const u = S;
563
- $(t);
581
+ function Me(t, e, n, s, r, i, o, l = [-1]) {
582
+ const u = z;
583
+ b(t);
564
584
  const c = t.$$ = {
565
585
  fragment: null,
566
586
  ctx: [],
567
- props: s,
587
+ // state
588
+ props: i,
568
589
  update: E,
569
- not_equal: i,
570
- bound: et(),
590
+ not_equal: r,
591
+ bound: nt(),
592
+ // lifecycle
571
593
  on_mount: [],
572
594
  on_destroy: [],
573
595
  on_disconnect: [],
574
596
  before_update: [],
575
597
  after_update: [],
576
598
  context: new Map(e.context || (u ? u.$$.context : [])),
577
- callbacks: et(),
578
- dirty: a,
599
+ // everything else
600
+ callbacks: nt(),
601
+ dirty: l,
579
602
  skip_bound: !1,
580
603
  root: e.target || u.$$.root
581
604
  };
582
605
  o && o(c.root);
583
606
  let _ = !1;
584
- if (c.ctx = n ? n(t, e.props || {}, (l, f, ...d) => {
585
- const h = d.length ? d[0] : f;
586
- return c.ctx && i(c.ctx[l], c.ctx[l] = h) && (!c.skip_bound && c.bound[l] && c.bound[l](h), _ && Lt(t, l)), f;
587
- }) : [], c.update(), _ = !0, N(c.before_update), c.fragment = r ? r(c.ctx) : !1, e.target) {
607
+ if (c.ctx = n ? n(t, e.props || {}, (f, a, ...h) => {
608
+ const d = h.length ? h[0] : a;
609
+ return c.ctx && r(c.ctx[f], c.ctx[f] = d) && (!c.skip_bound && c.bound[f] && c.bound[f](d), _ && qt(t, f)), a;
610
+ }) : [], c.update(), _ = !0, v(c.before_update), c.fragment = s ? s(c.ctx) : !1, e.target) {
588
611
  if (e.hydrate) {
589
- const l = Nt(e.target);
590
- c.fragment && c.fragment.l(l), l.forEach(H);
612
+ const f = Mt(e.target);
613
+ c.fragment && c.fragment.l(f), f.forEach(I);
591
614
  } else
592
615
  c.fragment && c.fragment.c();
593
- e.intro && Z(t.$$.fragment), Dt(t, e.target, e.anchor, e.customElement), Y();
616
+ e.intro && tt(t.$$.fragment), Dt(t, e.target, e.anchor, e.customElement), Z();
594
617
  }
595
- $(u);
618
+ b(u);
596
619
  }
597
- class Ce {
620
+ class Te {
598
621
  $destroy() {
599
- Ot(this, 1), this.$destroy = E;
622
+ Rt(this, 1), this.$destroy = E;
600
623
  }
601
624
  $on(e, n) {
602
- if (!P(n))
625
+ if (!O(n))
603
626
  return E;
604
- const r = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
605
- return r.push(n), () => {
606
- const i = r.indexOf(n);
607
- i !== -1 && r.splice(i, 1);
627
+ const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
628
+ return s.push(n), () => {
629
+ const r = s.indexOf(n);
630
+ r !== -1 && s.splice(r, 1);
608
631
  };
609
632
  }
610
633
  $set(e) {
611
- this.$$set && !xt(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
634
+ this.$$set && !Et(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
612
635
  }
613
636
  }
614
637
  export {
615
- ne as HtmlTag,
616
- Ce as SvelteComponent,
617
- Ut as action_destroyer,
618
- de as add_flush_callback,
619
- z as add_render_callback,
620
- te as add_resize_listener,
621
- se as afterUpdate,
622
- at as append,
623
- Gt as append_styles,
624
- bt as assign,
625
- Xt as attr,
626
- re as beforeUpdate,
627
- xe as bind,
638
+ ie as HtmlTag,
639
+ Te as SvelteComponent,
640
+ Jt as action_destroyer,
641
+ pe as add_flush_callback,
642
+ L as add_render_callback,
643
+ se as add_resize_listener,
644
+ ue as afterUpdate,
645
+ dt as append,
646
+ Qt as append_styles,
647
+ kt as assign,
648
+ te as attr,
649
+ oe as beforeUpdate,
650
+ Ne as bind,
628
651
  rt as binding_callbacks,
629
- fe as bubble,
630
- Tt as check_outros,
631
- ce as createEventDispatcher,
632
- ve as create_component,
633
- he as create_in_transition,
634
- _e as create_out_transition,
635
- Wt as create_slot,
636
- ge as destroy_block,
637
- Ot as destroy_component,
638
- Jt as destroy_each,
639
- H as detach,
640
- I as element,
641
- Qt as empty,
642
- le as getContext,
643
- Ht as get_all_dirty_from_scope,
644
- Bt as get_slot_changes,
645
- ke as get_spread_object,
646
- be as get_spread_update,
647
- ye as globals,
648
- Pt as group_outros,
649
- pe as handle_promise,
652
+ he as bubble,
653
+ Ot as check_outros,
654
+ fe as createEventDispatcher,
655
+ Ae as create_component,
656
+ me as create_in_transition,
657
+ ye as create_out_transition,
658
+ Bt as create_slot,
659
+ be as destroy_block,
660
+ Rt as destroy_component,
661
+ Vt as destroy_each,
662
+ I as detach,
663
+ U as element,
664
+ Yt as empty,
665
+ de as getContext,
666
+ Ut as get_all_dirty_from_scope,
667
+ Ht as get_slot_changes,
668
+ ve as get_spread_object,
669
+ Ee as get_spread_update,
670
+ $e as globals,
671
+ Lt as group_outros,
672
+ ge as handle_promise,
650
673
  it as identity,
651
- Ee as init,
652
- Et as insert,
653
- P as is_function,
654
- nt as listen,
674
+ Me as init,
675
+ Nt as insert,
676
+ O as is_function,
677
+ st as listen,
655
678
  Dt as mount_component,
656
679
  E as noop,
657
- It as null_to_empty,
658
- oe as onDestroy,
659
- ie as onMount,
660
- we as outro_and_destroy_block,
661
- N as run_all,
662
- Rt as safe_not_equal,
663
- ue as setContext,
664
- Yt as set_data,
665
- Zt as set_style,
666
- Kt as space,
667
- qt as src_url_equal,
668
- Vt as stop_propagation,
669
- Ct as svg_element,
670
- ht as text,
671
- ae as tick,
672
- ee as toggle_class,
673
- Z as transition_in,
674
- wt as transition_out,
675
- me as update_await_block_branch,
676
- $e as update_keyed_each,
677
- Ft as update_slot_base
680
+ Gt as null_to_empty,
681
+ le as onDestroy,
682
+ ce as onMount,
683
+ ke as outro_and_destroy_block,
684
+ v as run_all,
685
+ Ft as safe_not_equal,
686
+ ae as setContext,
687
+ ee as set_data,
688
+ ne as set_style,
689
+ Xt as space,
690
+ Kt as split_css_unit,
691
+ Wt as src_url_equal,
692
+ Zt as stop_propagation,
693
+ At as svg_element,
694
+ _t as text,
695
+ _e as tick,
696
+ re as toggle_class,
697
+ tt as transition_in,
698
+ $t as transition_out,
699
+ we as update_await_block_branch,
700
+ xe as update_keyed_each,
701
+ It as update_slot_base
678
702
  };