excalibur 0.25.2 → 0.25.3

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 (446) hide show
  1. package/CHANGELOG.md +7 -2
  2. package/build/dist/Actions/Action/Blink.js +51 -0
  3. package/build/dist/Actions/Action/Blink.js.map +1 -0
  4. package/build/dist/Actions/Action/CallMethod.js +21 -0
  5. package/build/dist/Actions/Action/CallMethod.js.map +1 -0
  6. package/build/dist/Actions/Action/Delay.js +25 -0
  7. package/build/dist/Actions/Action/Delay.js.map +1 -0
  8. package/build/dist/Actions/Action/Die.js +22 -0
  9. package/build/dist/Actions/Action/Die.js.map +1 -0
  10. package/build/dist/Actions/Action/EaseTo.js +69 -0
  11. package/build/dist/Actions/Action/EaseTo.js.map +1 -0
  12. package/build/dist/Actions/Action/Fade.js +46 -0
  13. package/build/dist/Actions/Action/Fade.js.map +1 -0
  14. package/build/dist/Actions/Action/Follow.js +55 -0
  15. package/build/dist/Actions/Action/Follow.js.map +1 -0
  16. package/build/dist/Actions/Action/Meet.js +52 -0
  17. package/build/dist/Actions/Action/Meet.js.map +1 -0
  18. package/build/dist/Actions/Action/MoveBy.js +47 -0
  19. package/build/dist/Actions/Action/MoveBy.js.map +1 -0
  20. package/build/dist/Actions/Action/MoveTo.js +40 -0
  21. package/build/dist/Actions/Action/MoveTo.js.map +1 -0
  22. package/build/dist/Actions/Action/Repeat.js +31 -0
  23. package/build/dist/Actions/Action/Repeat.js.map +1 -0
  24. package/build/dist/Actions/Action/RepeatForever.js +37 -0
  25. package/build/dist/Actions/Action/RepeatForever.js.map +1 -0
  26. package/build/dist/Actions/Action/RotateBy.js +91 -0
  27. package/build/dist/Actions/Action/RotateBy.js.map +1 -0
  28. package/build/dist/Actions/Action/RotateTo.js +90 -0
  29. package/build/dist/Actions/Action/RotateTo.js.map +1 -0
  30. package/build/dist/Actions/Action/ScaleBy.js +45 -0
  31. package/build/dist/Actions/Action/ScaleBy.js.map +1 -0
  32. package/build/dist/Actions/Action/ScaleTo.js +56 -0
  33. package/build/dist/Actions/Action/ScaleTo.js.map +1 -0
  34. package/build/dist/Actions/Action.js +2 -0
  35. package/build/dist/Actions/Action.js.map +1 -0
  36. package/build/dist/Actions/ActionContext.js +305 -0
  37. package/build/dist/Actions/ActionContext.js.map +1 -0
  38. package/build/dist/Actions/ActionQueue.js +87 -0
  39. package/build/dist/Actions/ActionQueue.js.map +1 -0
  40. package/build/dist/Actions/Actionable.js +2 -0
  41. package/build/dist/Actions/Actionable.js.map +1 -0
  42. package/build/dist/Actions/ActionsComponent.js +198 -0
  43. package/build/dist/Actions/ActionsComponent.js.map +1 -0
  44. package/build/dist/Actions/ActionsSystem.js +18 -0
  45. package/build/dist/Actions/ActionsSystem.js.map +1 -0
  46. package/build/dist/Actions/Index.js +22 -0
  47. package/build/dist/Actions/Index.js.map +1 -0
  48. package/build/dist/Actions/RotationType.js +27 -0
  49. package/build/dist/Actions/RotationType.js.map +1 -0
  50. package/build/dist/Actor.js +831 -0
  51. package/build/dist/Actor.js.map +1 -0
  52. package/build/dist/Camera.js +663 -0
  53. package/build/dist/Camera.js.map +1 -0
  54. package/build/dist/Class.js +48 -0
  55. package/build/dist/Class.js.map +1 -0
  56. package/build/dist/Collision/BodyComponent.js +351 -0
  57. package/build/dist/Collision/BodyComponent.js.map +1 -0
  58. package/build/dist/Collision/BoundingBox.js +361 -0
  59. package/build/dist/Collision/BoundingBox.js.map +1 -0
  60. package/build/dist/Collision/ColliderComponent.js +198 -0
  61. package/build/dist/Collision/ColliderComponent.js.map +1 -0
  62. package/build/dist/Collision/Colliders/CircleCollider.js +264 -0
  63. package/build/dist/Collision/Colliders/CircleCollider.js.map +1 -0
  64. package/build/dist/Collision/Colliders/ClosestLineJumpTable.js +211 -0
  65. package/build/dist/Collision/Colliders/ClosestLineJumpTable.js.map +1 -0
  66. package/build/dist/Collision/Colliders/Collider.js +26 -0
  67. package/build/dist/Collision/Colliders/Collider.js.map +1 -0
  68. package/build/dist/Collision/Colliders/CollisionJumpTable.js +301 -0
  69. package/build/dist/Collision/Colliders/CollisionJumpTable.js.map +1 -0
  70. package/build/dist/Collision/Colliders/CompositeCollider.js +232 -0
  71. package/build/dist/Collision/Colliders/CompositeCollider.js.map +1 -0
  72. package/build/dist/Collision/Colliders/EdgeCollider.js +253 -0
  73. package/build/dist/Collision/Colliders/EdgeCollider.js.map +1 -0
  74. package/build/dist/Collision/Colliders/PolygonCollider.js +389 -0
  75. package/build/dist/Collision/Colliders/PolygonCollider.js.map +1 -0
  76. package/build/dist/Collision/Colliders/SeparatingAxis.js +67 -0
  77. package/build/dist/Collision/Colliders/SeparatingAxis.js.map +1 -0
  78. package/build/dist/Collision/Colliders/Shape.js +102 -0
  79. package/build/dist/Collision/Colliders/Shape.js.map +1 -0
  80. package/build/dist/Collision/CollisionSystem.js +116 -0
  81. package/build/dist/Collision/CollisionSystem.js.map +1 -0
  82. package/build/dist/Collision/CollisionType.js +33 -0
  83. package/build/dist/Collision/CollisionType.js.map +1 -0
  84. package/build/dist/Collision/Detection/CollisionContact.js +46 -0
  85. package/build/dist/Collision/Detection/CollisionContact.js.map +1 -0
  86. package/build/dist/Collision/Detection/CollisionProcessor.js +2 -0
  87. package/build/dist/Collision/Detection/CollisionProcessor.js.map +1 -0
  88. package/build/dist/Collision/Detection/DynamicTree.js +442 -0
  89. package/build/dist/Collision/Detection/DynamicTree.js.map +1 -0
  90. package/build/dist/Collision/Detection/DynamicTreeCollisionProcessor.js +211 -0
  91. package/build/dist/Collision/Detection/DynamicTreeCollisionProcessor.js.map +1 -0
  92. package/build/dist/Collision/Detection/Pair.js +92 -0
  93. package/build/dist/Collision/Detection/Pair.js.map +1 -0
  94. package/build/dist/Collision/Group/CollisionGroup.js +114 -0
  95. package/build/dist/Collision/Group/CollisionGroup.js.map +1 -0
  96. package/build/dist/Collision/Group/CollisionGroupManager.js +52 -0
  97. package/build/dist/Collision/Group/CollisionGroupManager.js.map +1 -0
  98. package/build/dist/Collision/Index.js +29 -0
  99. package/build/dist/Collision/Index.js.map +1 -0
  100. package/build/dist/Collision/Integrator.js +11 -0
  101. package/build/dist/Collision/Integrator.js.map +1 -0
  102. package/build/dist/Collision/MotionSystem.js +42 -0
  103. package/build/dist/Collision/MotionSystem.js.map +1 -0
  104. package/build/dist/Collision/Physics.js +163 -0
  105. package/build/dist/Collision/Physics.js.map +1 -0
  106. package/build/dist/Collision/Side.js +51 -0
  107. package/build/dist/Collision/Side.js.map +1 -0
  108. package/build/dist/Collision/Solver/ArcadeSolver.js +101 -0
  109. package/build/dist/Collision/Solver/ArcadeSolver.js.map +1 -0
  110. package/build/dist/Collision/Solver/ContactConstraintPoint.js +83 -0
  111. package/build/dist/Collision/Solver/ContactConstraintPoint.js.map +1 -0
  112. package/build/dist/Collision/Solver/RealisticSolver.js +248 -0
  113. package/build/dist/Collision/Solver/RealisticSolver.js.map +1 -0
  114. package/build/dist/Collision/Solver/Solver.js +37 -0
  115. package/build/dist/Collision/Solver/Solver.js.map +1 -0
  116. package/build/dist/Color.js +461 -0
  117. package/build/dist/Color.js.map +1 -0
  118. package/build/dist/Configurable.js +32 -0
  119. package/build/dist/Configurable.js.map +1 -0
  120. package/build/dist/Debug/Debug.js +375 -0
  121. package/build/dist/Debug/Debug.js.map +1 -0
  122. package/build/dist/Debug/DebugFlags.js +40 -0
  123. package/build/dist/Debug/DebugFlags.js.map +1 -0
  124. package/build/dist/Debug/DebugSystem.js +251 -0
  125. package/build/dist/Debug/DebugSystem.js.map +1 -0
  126. package/build/dist/Debug/index.js +4 -0
  127. package/build/dist/Debug/index.js.map +1 -0
  128. package/build/dist/Deprecated.js +2 -0
  129. package/build/dist/Deprecated.js.map +1 -0
  130. package/build/dist/Drawing/Animation.js +294 -0
  131. package/build/dist/Drawing/Animation.js.map +1 -0
  132. package/build/dist/Drawing/CanvasDrawComponent.js +16 -0
  133. package/build/dist/Drawing/CanvasDrawComponent.js.map +1 -0
  134. package/build/dist/Drawing/CanvasDrawingSystem.js +95 -0
  135. package/build/dist/Drawing/CanvasDrawingSystem.js.map +1 -0
  136. package/build/dist/Drawing/Index.js +10 -0
  137. package/build/dist/Drawing/Index.js.map +1 -0
  138. package/build/dist/Drawing/Polygon.js +139 -0
  139. package/build/dist/Drawing/Polygon.js.map +1 -0
  140. package/build/dist/Drawing/Sprite.js +355 -0
  141. package/build/dist/Drawing/Sprite.js.map +1 -0
  142. package/build/dist/Drawing/SpriteEffects.js +246 -0
  143. package/build/dist/Drawing/SpriteEffects.js.map +1 -0
  144. package/build/dist/Drawing/SpriteSheet.js +413 -0
  145. package/build/dist/Drawing/SpriteSheet.js.map +1 -0
  146. package/build/dist/Drawing/Texture.js +69 -0
  147. package/build/dist/Drawing/Texture.js.map +1 -0
  148. package/build/dist/Engine.d.ts +4 -1
  149. package/build/dist/Engine.js +985 -0
  150. package/build/dist/Engine.js.map +1 -0
  151. package/build/dist/EntityComponentSystem/Component.js +65 -0
  152. package/build/dist/EntityComponentSystem/Component.js.map +1 -0
  153. package/build/dist/EntityComponentSystem/Components/MotionComponent.js +33 -0
  154. package/build/dist/EntityComponentSystem/Components/MotionComponent.js.map +1 -0
  155. package/build/dist/EntityComponentSystem/Components/TransformComponent.js +249 -0
  156. package/build/dist/EntityComponentSystem/Components/TransformComponent.js.map +1 -0
  157. package/build/dist/EntityComponentSystem/Entity.js +452 -0
  158. package/build/dist/EntityComponentSystem/Entity.js.map +1 -0
  159. package/build/dist/EntityComponentSystem/EntityManager.js +128 -0
  160. package/build/dist/EntityComponentSystem/EntityManager.js.map +1 -0
  161. package/build/dist/EntityComponentSystem/Query.js +91 -0
  162. package/build/dist/EntityComponentSystem/Query.js.map +1 -0
  163. package/build/dist/EntityComponentSystem/QueryManager.js +90 -0
  164. package/build/dist/EntityComponentSystem/QueryManager.js.map +1 -0
  165. package/build/dist/EntityComponentSystem/System.js +76 -0
  166. package/build/dist/EntityComponentSystem/System.js.map +1 -0
  167. package/build/dist/EntityComponentSystem/SystemManager.js +102 -0
  168. package/build/dist/EntityComponentSystem/SystemManager.js.map +1 -0
  169. package/build/dist/EntityComponentSystem/Util.js +5 -0
  170. package/build/dist/EntityComponentSystem/Util.js.map +1 -0
  171. package/build/dist/EntityComponentSystem/World.js +55 -0
  172. package/build/dist/EntityComponentSystem/World.js.map +1 -0
  173. package/build/dist/EntityComponentSystem/index.js +11 -0
  174. package/build/dist/EntityComponentSystem/index.js.map +1 -0
  175. package/build/dist/EventDispatcher.js +114 -0
  176. package/build/dist/EventDispatcher.js.map +1 -0
  177. package/build/dist/Events/ExEvent.js +12 -0
  178. package/build/dist/Events/ExEvent.js.map +1 -0
  179. package/build/dist/Events/MediaEvents.js +75 -0
  180. package/build/dist/Events/MediaEvents.js.map +1 -0
  181. package/build/dist/Events/PointerEvents.js +52 -0
  182. package/build/dist/Events/PointerEvents.js.map +1 -0
  183. package/build/dist/Events.js +497 -0
  184. package/build/dist/Events.js.map +1 -0
  185. package/build/dist/Flags.js +90 -0
  186. package/build/dist/Flags.js.map +1 -0
  187. package/build/dist/Graphics/Animation.js +310 -0
  188. package/build/dist/Graphics/Animation.js.map +1 -0
  189. package/build/dist/Graphics/Canvas.js +38 -0
  190. package/build/dist/Graphics/Canvas.js.map +1 -0
  191. package/build/dist/Graphics/Circle.js +47 -0
  192. package/build/dist/Graphics/Circle.js.map +1 -0
  193. package/build/dist/Graphics/Context/ExcaliburGraphicsContext.js +2 -0
  194. package/build/dist/Graphics/Context/ExcaliburGraphicsContext.js.map +1 -0
  195. package/build/dist/Graphics/Context/ExcaliburGraphicsContext2DCanvas.js +207 -0
  196. package/build/dist/Graphics/Context/ExcaliburGraphicsContext2DCanvas.js.map +1 -0
  197. package/build/dist/Graphics/Context/ExcaliburGraphicsContextWebGL.js +331 -0
  198. package/build/dist/Graphics/Context/ExcaliburGraphicsContextWebGL.js.map +1 -0
  199. package/build/dist/Graphics/Context/circle-renderer/circle-renderer.js +160 -0
  200. package/build/dist/Graphics/Context/circle-renderer/circle-renderer.js.map +1 -0
  201. package/build/dist/Graphics/Context/debug-text.js +47 -0
  202. package/build/dist/Graphics/Context/debug-text.js.map +1 -0
  203. package/build/dist/Graphics/Context/image-renderer/image-renderer.js +209 -0
  204. package/build/dist/Graphics/Context/image-renderer/image-renderer.js.map +1 -0
  205. package/build/dist/Graphics/Context/line-renderer/line-renderer.js +87 -0
  206. package/build/dist/Graphics/Context/line-renderer/line-renderer.js.map +1 -0
  207. package/build/dist/Graphics/Context/point-renderer/point-renderer.js +82 -0
  208. package/build/dist/Graphics/Context/point-renderer/point-renderer.js.map +1 -0
  209. package/build/dist/Graphics/Context/quad-index-buffer.js +69 -0
  210. package/build/dist/Graphics/Context/quad-index-buffer.js.map +1 -0
  211. package/build/dist/Graphics/Context/rectangle-renderer/rectangle-renderer.js +272 -0
  212. package/build/dist/Graphics/Context/rectangle-renderer/rectangle-renderer.js.map +1 -0
  213. package/build/dist/Graphics/Context/render-source.js +16 -0
  214. package/build/dist/Graphics/Context/render-source.js.map +1 -0
  215. package/build/dist/Graphics/Context/render-target.js +65 -0
  216. package/build/dist/Graphics/Context/render-target.js.map +1 -0
  217. package/build/dist/Graphics/Context/renderer.js +2 -0
  218. package/build/dist/Graphics/Context/renderer.js.map +1 -0
  219. package/build/dist/Graphics/Context/screen-pass-painter/screen-pass-painter.js +53 -0
  220. package/build/dist/Graphics/Context/screen-pass-painter/screen-pass-painter.js.map +1 -0
  221. package/build/dist/Graphics/Context/shader.js +236 -0
  222. package/build/dist/Graphics/Context/shader.js.map +1 -0
  223. package/build/dist/Graphics/Context/state-stack.js +27 -0
  224. package/build/dist/Graphics/Context/state-stack.js.map +1 -0
  225. package/build/dist/Graphics/Context/texture-loader.d.ts +8 -0
  226. package/build/dist/Graphics/Context/texture-loader.js +121 -0
  227. package/build/dist/Graphics/Context/texture-loader.js.map +1 -0
  228. package/build/dist/Graphics/Context/transform-stack.js +30 -0
  229. package/build/dist/Graphics/Context/transform-stack.js.map +1 -0
  230. package/build/dist/Graphics/Context/vertex-buffer.js +45 -0
  231. package/build/dist/Graphics/Context/vertex-buffer.js.map +1 -0
  232. package/build/dist/Graphics/Context/vertex-layout.js +93 -0
  233. package/build/dist/Graphics/Context/vertex-layout.js.map +1 -0
  234. package/build/dist/Graphics/Context/webgl-adapter.js +19 -0
  235. package/build/dist/Graphics/Context/webgl-adapter.js.map +1 -0
  236. package/build/dist/Graphics/Context/webgl-util.js +105 -0
  237. package/build/dist/Graphics/Context/webgl-util.js.map +1 -0
  238. package/build/dist/Graphics/DebugGraphicsComponent.js +15 -0
  239. package/build/dist/Graphics/DebugGraphicsComponent.js.map +1 -0
  240. package/build/dist/Graphics/Filtering.js +17 -0
  241. package/build/dist/Graphics/Filtering.js.map +1 -0
  242. package/build/dist/Graphics/Font.js +293 -0
  243. package/build/dist/Graphics/Font.js.map +1 -0
  244. package/build/dist/Graphics/FontCommon.js +109 -0
  245. package/build/dist/Graphics/FontCommon.js.map +1 -0
  246. package/build/dist/Graphics/Graphic.js +200 -0
  247. package/build/dist/Graphics/Graphic.js.map +1 -0
  248. package/build/dist/Graphics/GraphicsComponent.js +290 -0
  249. package/build/dist/Graphics/GraphicsComponent.js.map +1 -0
  250. package/build/dist/Graphics/GraphicsDiagnostics.js +9 -0
  251. package/build/dist/Graphics/GraphicsDiagnostics.js.map +1 -0
  252. package/build/dist/Graphics/GraphicsGroup.js +69 -0
  253. package/build/dist/Graphics/GraphicsGroup.js.map +1 -0
  254. package/build/dist/Graphics/GraphicsSystem.js +153 -0
  255. package/build/dist/Graphics/GraphicsSystem.js.map +1 -0
  256. package/build/dist/Graphics/ImageSource.js +116 -0
  257. package/build/dist/Graphics/ImageSource.js.map +1 -0
  258. package/build/dist/Graphics/Polygon.js +59 -0
  259. package/build/dist/Graphics/Polygon.js.map +1 -0
  260. package/build/dist/Graphics/PostProcessor/ColorBlindnessMode.js +7 -0
  261. package/build/dist/Graphics/PostProcessor/ColorBlindnessMode.js.map +1 -0
  262. package/build/dist/Graphics/PostProcessor/ColorBlindnessPostProcessor.js +52 -0
  263. package/build/dist/Graphics/PostProcessor/ColorBlindnessPostProcessor.js.map +1 -0
  264. package/build/dist/Graphics/PostProcessor/PostProcessor.js +2 -0
  265. package/build/dist/Graphics/PostProcessor/PostProcessor.js.map +1 -0
  266. package/build/dist/Graphics/PostProcessor/ScreenShader.js +56 -0
  267. package/build/dist/Graphics/PostProcessor/ScreenShader.js.map +1 -0
  268. package/build/dist/Graphics/Raster.js +207 -0
  269. package/build/dist/Graphics/Raster.js.map +1 -0
  270. package/build/dist/Graphics/Rectangle.js +29 -0
  271. package/build/dist/Graphics/Rectangle.js.map +1 -0
  272. package/build/dist/Graphics/Sprite.js +103 -0
  273. package/build/dist/Graphics/Sprite.js.map +1 -0
  274. package/build/dist/Graphics/SpriteFont.js +120 -0
  275. package/build/dist/Graphics/SpriteFont.js.map +1 -0
  276. package/build/dist/Graphics/SpriteSheet.js +115 -0
  277. package/build/dist/Graphics/SpriteSheet.js.map +1 -0
  278. package/build/dist/Graphics/Text.js +94 -0
  279. package/build/dist/Graphics/Text.js.map +1 -0
  280. package/build/dist/Graphics/index.js +42 -0
  281. package/build/dist/Graphics/index.js.map +1 -0
  282. package/build/dist/Id.js +8 -0
  283. package/build/dist/Id.js.map +1 -0
  284. package/build/dist/Input/CapturePointerConfig.js +5 -0
  285. package/build/dist/Input/CapturePointerConfig.js.map +1 -0
  286. package/build/dist/Input/EngineInput.js +2 -0
  287. package/build/dist/Input/EngineInput.js.map +1 -0
  288. package/build/dist/Input/Gamepad.js +358 -0
  289. package/build/dist/Input/Gamepad.js.map +1 -0
  290. package/build/dist/Input/Index.js +22 -0
  291. package/build/dist/Input/Index.js.map +1 -0
  292. package/build/dist/Input/Keyboard.js +267 -0
  293. package/build/dist/Input/Keyboard.js.map +1 -0
  294. package/build/dist/Input/NativePointerButton.js +12 -0
  295. package/build/dist/Input/NativePointerButton.js.map +1 -0
  296. package/build/dist/Input/PointerAbstraction.js +41 -0
  297. package/build/dist/Input/PointerAbstraction.js.map +1 -0
  298. package/build/dist/Input/PointerButton.js +12 -0
  299. package/build/dist/Input/PointerButton.js.map +1 -0
  300. package/build/dist/Input/PointerComponent.js +28 -0
  301. package/build/dist/Input/PointerComponent.js.map +1 -0
  302. package/build/dist/Input/PointerEvent.js +25 -0
  303. package/build/dist/Input/PointerEvent.js.map +1 -0
  304. package/build/dist/Input/PointerEventReceiver.js +414 -0
  305. package/build/dist/Input/PointerEventReceiver.js.map +1 -0
  306. package/build/dist/Input/PointerScope.js +16 -0
  307. package/build/dist/Input/PointerScope.js.map +1 -0
  308. package/build/dist/Input/PointerSystem.js +217 -0
  309. package/build/dist/Input/PointerSystem.js.map +1 -0
  310. package/build/dist/Input/PointerType.js +11 -0
  311. package/build/dist/Input/PointerType.js.map +1 -0
  312. package/build/dist/Input/WheelDeltaMode.js +7 -0
  313. package/build/dist/Input/WheelDeltaMode.js.map +1 -0
  314. package/build/dist/Input/WheelEvent.js +21 -0
  315. package/build/dist/Input/WheelEvent.js.map +1 -0
  316. package/build/dist/Interfaces/Audio.js +2 -0
  317. package/build/dist/Interfaces/Audio.js.map +1 -0
  318. package/build/dist/Interfaces/AudioImplementation.js +11 -0
  319. package/build/dist/Interfaces/AudioImplementation.js.map +1 -0
  320. package/build/dist/Interfaces/Clonable.js +2 -0
  321. package/build/dist/Interfaces/Clonable.js.map +1 -0
  322. package/build/dist/Interfaces/Drawable.js +2 -0
  323. package/build/dist/Interfaces/Drawable.js.map +1 -0
  324. package/build/dist/Interfaces/Evented.js +2 -0
  325. package/build/dist/Interfaces/Evented.js.map +1 -0
  326. package/build/dist/Interfaces/Index.js +10 -0
  327. package/build/dist/Interfaces/Index.js.map +1 -0
  328. package/build/dist/Interfaces/LifecycleEvents.js +51 -0
  329. package/build/dist/Interfaces/LifecycleEvents.js.map +1 -0
  330. package/build/dist/Interfaces/Loadable.js +2 -0
  331. package/build/dist/Interfaces/Loadable.js.map +1 -0
  332. package/build/dist/Interfaces/PointerEventHandlers.js +2 -0
  333. package/build/dist/Interfaces/PointerEventHandlers.js.map +1 -0
  334. package/build/dist/Interfaces/Trait.js +2 -0
  335. package/build/dist/Interfaces/Trait.js.map +1 -0
  336. package/build/dist/Label.js +273 -0
  337. package/build/dist/Label.js.map +1 -0
  338. package/build/dist/Loader.js +367 -0
  339. package/build/dist/Loader.js.map +1 -0
  340. package/build/dist/Math/Index.js +10 -0
  341. package/build/dist/Math/Index.js.map +1 -0
  342. package/build/dist/Math/Random.js +239 -0
  343. package/build/dist/Math/Random.js.map +1 -0
  344. package/build/dist/Math/global-coordinates.js +30 -0
  345. package/build/dist/Math/global-coordinates.js.map +1 -0
  346. package/build/dist/Math/line.js +194 -0
  347. package/build/dist/Math/line.js.map +1 -0
  348. package/build/dist/Math/matrix.js +446 -0
  349. package/build/dist/Math/matrix.js.map +1 -0
  350. package/build/dist/Math/projection.js +24 -0
  351. package/build/dist/Math/projection.js.map +1 -0
  352. package/build/dist/Math/ray.js +52 -0
  353. package/build/dist/Math/ray.js.map +1 -0
  354. package/build/dist/Math/util.js +82 -0
  355. package/build/dist/Math/util.js.map +1 -0
  356. package/build/dist/Math/vector-view.js +25 -0
  357. package/build/dist/Math/vector-view.js.map +1 -0
  358. package/build/dist/Math/vector.js +326 -0
  359. package/build/dist/Math/vector.js.map +1 -0
  360. package/build/dist/Particles.js +449 -0
  361. package/build/dist/Particles.js.map +1 -0
  362. package/build/dist/Polyfill.js +56 -0
  363. package/build/dist/Polyfill.js.map +1 -0
  364. package/build/dist/Promises.js +205 -0
  365. package/build/dist/Promises.js.map +1 -0
  366. package/build/dist/Resources/Gif.js +479 -0
  367. package/build/dist/Resources/Gif.js.map +1 -0
  368. package/build/dist/Resources/Index.js +4 -0
  369. package/build/dist/Resources/Index.js.map +1 -0
  370. package/build/dist/Resources/Resource.js +74 -0
  371. package/build/dist/Resources/Resource.js.map +1 -0
  372. package/build/dist/Resources/Sound/AudioContext.js +16 -0
  373. package/build/dist/Resources/Sound/AudioContext.js.map +1 -0
  374. package/build/dist/Resources/Sound/Index.js +4 -0
  375. package/build/dist/Resources/Sound/Index.js.map +1 -0
  376. package/build/dist/Resources/Sound/Sound.js +240 -0
  377. package/build/dist/Resources/Sound/Sound.js.map +1 -0
  378. package/build/dist/Resources/Sound/WebAudioInstance.js +160 -0
  379. package/build/dist/Resources/Sound/WebAudioInstance.js.map +1 -0
  380. package/build/dist/Scene.js +458 -0
  381. package/build/dist/Scene.js.map +1 -0
  382. package/build/dist/Screen.js +634 -0
  383. package/build/dist/Screen.js.map +1 -0
  384. package/build/dist/ScreenElement.js +29 -0
  385. package/build/dist/ScreenElement.js.map +1 -0
  386. package/build/dist/TileMap.js +488 -0
  387. package/build/dist/TileMap.js.map +1 -0
  388. package/build/dist/Timer.js +198 -0
  389. package/build/dist/Timer.js.map +1 -0
  390. package/build/dist/Traits/Index.js +5 -0
  391. package/build/dist/Traits/Index.js.map +1 -0
  392. package/build/dist/Traits/OffscreenCulling.js +35 -0
  393. package/build/dist/Traits/OffscreenCulling.js.map +1 -0
  394. package/build/dist/Trigger.js +113 -0
  395. package/build/dist/Trigger.js.map +1 -0
  396. package/build/dist/Util/Actors.js +19 -0
  397. package/build/dist/Util/Actors.js.map +1 -0
  398. package/build/dist/Util/Browser.js +66 -0
  399. package/build/dist/Util/Browser.js.map +1 -0
  400. package/build/dist/Util/Clock.js +219 -0
  401. package/build/dist/Util/Clock.js.map +1 -0
  402. package/build/dist/Util/CullingBox.js +104 -0
  403. package/build/dist/Util/CullingBox.js.map +1 -0
  404. package/build/dist/Util/Decorators.js +78 -0
  405. package/build/dist/Util/Decorators.js.map +1 -0
  406. package/build/dist/Util/Detector.js +167 -0
  407. package/build/dist/Util/Detector.js.map +1 -0
  408. package/build/dist/Util/DrawUtil.js +117 -0
  409. package/build/dist/Util/DrawUtil.js.map +1 -0
  410. package/build/dist/Util/EasingFunctions.js +118 -0
  411. package/build/dist/Util/EasingFunctions.js.map +1 -0
  412. package/build/dist/Util/Fps.js +47 -0
  413. package/build/dist/Util/Fps.js.map +1 -0
  414. package/build/dist/Util/Index.js +7 -0
  415. package/build/dist/Util/Index.js.map +1 -0
  416. package/build/dist/Util/Log.js +195 -0
  417. package/build/dist/Util/Log.js.map +1 -0
  418. package/build/dist/Util/Observable.js +60 -0
  419. package/build/dist/Util/Observable.js.map +1 -0
  420. package/build/dist/Util/Pool.js +66 -0
  421. package/build/dist/Util/Pool.js.map +1 -0
  422. package/build/dist/Util/SortedList.js +261 -0
  423. package/build/dist/Util/SortedList.js.map +1 -0
  424. package/build/dist/Util/Sound.js +22 -0
  425. package/build/dist/Util/Sound.js.map +1 -0
  426. package/build/dist/Util/Util.js +294 -0
  427. package/build/dist/Util/Util.js.map +1 -0
  428. package/build/dist/Util/Watch.js +67 -0
  429. package/build/dist/Util/Watch.js.map +1 -0
  430. package/build/dist/Util/WebAudio.js +62 -0
  431. package/build/dist/Util/WebAudio.js.map +1 -0
  432. package/build/dist/excalibur.js +101 -22
  433. package/build/dist/excalibur.js.map +1 -1
  434. package/build/dist/excalibur.min.js +1 -1
  435. package/build/dist/excalibur.min.js.LICENSE.txt +1 -1
  436. package/build/dist/excalibur.min.js.map +1 -1
  437. package/build/dist/index.js +74 -0
  438. package/build/dist/index.js.map +1 -0
  439. package/build/esm/Engine.d.ts +4 -1
  440. package/build/esm/Graphics/Context/texture-loader.d.ts +8 -0
  441. package/build/esm/excalibur.js +101 -22
  442. package/build/esm/excalibur.js.map +1 -1
  443. package/build/esm/excalibur.min.js +1 -1
  444. package/build/esm/excalibur.min.js.LICENSE.txt +1 -1
  445. package/build/esm/excalibur.min.js.map +1 -1
  446. package/package.json +23 -22
@@ -0,0 +1,48 @@
1
+ import { EventDispatcher } from './EventDispatcher';
2
+ /**
3
+ * Excalibur base class that provides basic functionality such as [[EventDispatcher]]
4
+ * and extending abilities for vanilla Javascript projects
5
+ */
6
+ export class Class {
7
+ constructor() {
8
+ this.eventDispatcher = new EventDispatcher();
9
+ }
10
+ /**
11
+ * Alias for `addEventListener`. You can listen for a variety of
12
+ * events off of the engine; see the events section below for a complete list.
13
+ * @param eventName Name of the event to listen for
14
+ * @param handler Event handler for the thrown event
15
+ */
16
+ on(eventName, handler) {
17
+ this.eventDispatcher.on(eventName, handler);
18
+ }
19
+ /**
20
+ * Alias for `removeEventListener`. If only the eventName is specified
21
+ * it will remove all handlers registered for that specific event. If the eventName
22
+ * and the handler instance are specified only that handler will be removed.
23
+ *
24
+ * @param eventName Name of the event to listen for
25
+ * @param handler Event handler for the thrown event
26
+ */
27
+ off(eventName, handler) {
28
+ this.eventDispatcher.off(eventName, handler);
29
+ }
30
+ /**
31
+ * Emits a new event
32
+ * @param eventName Name of the event to emit
33
+ * @param eventObject Data associated with this event
34
+ */
35
+ emit(eventName, eventObject) {
36
+ this.eventDispatcher.emit(eventName, eventObject);
37
+ }
38
+ /**
39
+ * Once listens to an event one time, then unsubscribes from that event
40
+ *
41
+ * @param eventName The name of the event to subscribe to once
42
+ * @param handler The handler of the event that will be auto unsubscribed
43
+ */
44
+ once(eventName, handler) {
45
+ this.eventDispatcher.once(eventName, handler);
46
+ }
47
+ }
48
+ //# sourceMappingURL=Class.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Class.js","sourceRoot":"","sources":["../../src/engine/Class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD;;;GAGG;AACH,MAAM,OAAO,KAAK;IAMhB;QACE,IAAI,CAAC,eAAe,GAAG,IAAI,eAAe,EAAE,CAAC;IAC/C,CAAC;IAED;;;;;OAKG;IACI,EAAE,CAAC,SAAiB,EAAE,OAA6B;QACxD,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;;;OAOG;IACI,GAAG,CAAC,SAAiB,EAAE,OAA8B;QAC1D,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC/C,CAAC;IAED;;;;OAIG;IACI,IAAI,CAAC,SAAiB,EAAE,WAAgB;QAC7C,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IACpD,CAAC;IAED;;;;;OAKG;IACI,IAAI,CAAC,SAAiB,EAAE,OAA6B;QAC1D,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAChD,CAAC;CACF"}
@@ -0,0 +1,351 @@
1
+ import { Vector } from '../Math/vector';
2
+ import { CollisionType } from './CollisionType';
3
+ import { Physics } from './Physics';
4
+ import { TransformComponent } from '../EntityComponentSystem/Components/TransformComponent';
5
+ import { MotionComponent } from '../EntityComponentSystem/Components/MotionComponent';
6
+ import { Component } from '../EntityComponentSystem/Component';
7
+ import { CollisionGroup } from './Group/CollisionGroup';
8
+ import { EventDispatcher } from '../EventDispatcher';
9
+ import { createId } from '../Id';
10
+ import { clamp } from '../Math/util';
11
+ import { ColliderComponent } from './ColliderComponent';
12
+ export var DegreeOfFreedom;
13
+ (function (DegreeOfFreedom) {
14
+ DegreeOfFreedom["Rotation"] = "rotation";
15
+ DegreeOfFreedom["X"] = "x";
16
+ DegreeOfFreedom["Y"] = "y";
17
+ })(DegreeOfFreedom || (DegreeOfFreedom = {}));
18
+ /**
19
+ * Body describes all the physical properties pos, vel, acc, rotation, angular velocity for the purpose of
20
+ * of physics simulation.
21
+ */
22
+ export class BodyComponent extends Component {
23
+ constructor(options) {
24
+ var _a, _b, _c;
25
+ super();
26
+ this.type = 'ex.body';
27
+ this.dependencies = [TransformComponent, MotionComponent];
28
+ this.id = createId('body', BodyComponent._ID++);
29
+ this.events = new EventDispatcher();
30
+ /**
31
+ * Collision type for the rigidbody physics simulation, by default [[CollisionType.PreventCollision]]
32
+ */
33
+ this.collisionType = CollisionType.PreventCollision;
34
+ /**
35
+ * The collision group for the body's colliders, by default body colliders collide with everything
36
+ */
37
+ this.group = CollisionGroup.All;
38
+ /**
39
+ * The amount of mass the body has
40
+ */
41
+ this.mass = Physics.defaultMass;
42
+ /**
43
+ * Amount of "motion" the body has before sleeping. If below [[Physics.sleepEpsilon]] it goes to "sleep"
44
+ */
45
+ this.sleepMotion = Physics.sleepEpsilon * 5;
46
+ /**
47
+ * Can this body sleep, by default bodies do not sleep
48
+ */
49
+ this.canSleep = Physics.bodiesCanSleepByDefault;
50
+ this._sleeping = false;
51
+ /**
52
+ * The also known as coefficient of restitution of this actor, represents the amount of energy preserved after collision or the
53
+ * bounciness. If 1, it is 100% bouncy, 0 it completely absorbs.
54
+ */
55
+ this.bounciness = 0.2;
56
+ /**
57
+ * The coefficient of friction on this actor
58
+ */
59
+ this.friction = 0.99;
60
+ /**
61
+ * Should use global gravity [[Physics.gravity]] in it's physics simulation, default is true
62
+ */
63
+ this.useGravity = true;
64
+ /**
65
+ * Degrees of freedom to limit
66
+ */
67
+ this.limitDegreeOfFreedom = [];
68
+ /**
69
+ * The position of the actor last frame (x, y) in pixels
70
+ */
71
+ this.oldPos = new Vector(0, 0);
72
+ /**
73
+ * The velocity of the actor last frame (vx, vy) in pixels/second
74
+ */
75
+ this.oldVel = new Vector(0, 0);
76
+ /**
77
+ * Gets/sets the acceleration of the actor from the last frame. This does not include the global acc [[Physics.acc]].
78
+ */
79
+ this.oldAcc = Vector.Zero;
80
+ /**
81
+ * Gets/sets the rotation of the body from the last frame.
82
+ */
83
+ this.oldRotation = 0; // radians
84
+ /**
85
+ * The scale of the actor last frame
86
+ * @deprecated ex.Body.scale will be removed in v0.25.0
87
+ */
88
+ this.oldScale = Vector.One;
89
+ if (options) {
90
+ this.collisionType = (_a = options.type) !== null && _a !== void 0 ? _a : this.collisionType;
91
+ this.group = (_b = options.group) !== null && _b !== void 0 ? _b : this.group;
92
+ this.useGravity = (_c = options.useGravity) !== null && _c !== void 0 ? _c : this.useGravity;
93
+ }
94
+ }
95
+ /**
96
+ * The inverse mass (1/mass) of the body. If [[CollisionType.Fixed]] this is 0, meaning "infinite" mass
97
+ */
98
+ get inverseMass() {
99
+ return this.collisionType === CollisionType.Fixed ? 0 : 1 / this.mass;
100
+ }
101
+ /**
102
+ * Whether this body is sleeping or not
103
+ */
104
+ get sleeping() {
105
+ return this._sleeping;
106
+ }
107
+ /**
108
+ * Set the sleep state of the body
109
+ * @param sleeping
110
+ */
111
+ setSleeping(sleeping) {
112
+ this._sleeping = sleeping;
113
+ if (!sleeping) {
114
+ // Give it a kick to keep it from falling asleep immediately
115
+ this.sleepMotion = Physics.sleepEpsilon * 5;
116
+ }
117
+ else {
118
+ this.vel = Vector.Zero;
119
+ this.acc = Vector.Zero;
120
+ this.angularVelocity = 0;
121
+ this.sleepMotion = 0;
122
+ }
123
+ }
124
+ /**
125
+ * Update body's [[BodyComponent.sleepMotion]] for the purpose of sleeping
126
+ */
127
+ updateMotion() {
128
+ if (this._sleeping) {
129
+ this.setSleeping(true);
130
+ }
131
+ const currentMotion = this.vel.size * this.vel.size + Math.abs(this.angularVelocity * this.angularVelocity);
132
+ const bias = Physics.sleepBias;
133
+ this.sleepMotion = bias * this.sleepMotion + (1 - bias) * currentMotion;
134
+ this.sleepMotion = clamp(this.sleepMotion, 0, 10 * Physics.sleepEpsilon);
135
+ if (this.canSleep && this.sleepMotion < Physics.sleepEpsilon) {
136
+ this.setSleeping(true);
137
+ }
138
+ }
139
+ /**
140
+ * Get the moment of inertia from the [[ColliderComponent]]
141
+ */
142
+ get inertia() {
143
+ // Inertia is a property of the geometry, so this is a little goofy but seems to be okay?
144
+ const collider = this.owner.get(ColliderComponent);
145
+ if (collider === null || collider === void 0 ? void 0 : collider.get()) {
146
+ return collider.get().getInertia(this.mass);
147
+ }
148
+ return 0;
149
+ }
150
+ /**
151
+ * Get the inverse moment of inertial from the [[ColliderComponent]]. If [[CollisionType.Fixed]] this is 0, meaning "infinite" mass
152
+ */
153
+ get inverseInertia() {
154
+ return this.collisionType === CollisionType.Fixed ? 0 : 1 / this.inertia;
155
+ }
156
+ /**
157
+ * Returns if the owner is active
158
+ */
159
+ get active() {
160
+ var _a;
161
+ return !!((_a = this.owner) === null || _a === void 0 ? void 0 : _a.active);
162
+ }
163
+ get center() {
164
+ return this.pos;
165
+ }
166
+ get transform() {
167
+ var _a;
168
+ return (_a = this.owner) === null || _a === void 0 ? void 0 : _a.get(TransformComponent);
169
+ }
170
+ get motion() {
171
+ var _a;
172
+ return (_a = this.owner) === null || _a === void 0 ? void 0 : _a.get(MotionComponent);
173
+ }
174
+ /**
175
+ * The (x, y) position of the actor this will be in the middle of the actor if the
176
+ * [[Actor.anchor]] is set to (0.5, 0.5) which is default.
177
+ * If you want the (x, y) position to be the top left of the actor specify an anchor of (0, 0).
178
+ */
179
+ get pos() {
180
+ return this.transform.globalPos;
181
+ }
182
+ set pos(val) {
183
+ this.transform.globalPos = val;
184
+ }
185
+ /**
186
+ * The current velocity vector (vx, vy) of the actor in pixels/second
187
+ */
188
+ get vel() {
189
+ return this.motion.vel;
190
+ }
191
+ set vel(val) {
192
+ this.motion.vel = val;
193
+ }
194
+ /**
195
+ * The current acceleration vector (ax, ay) of the actor in pixels/second/second. An acceleration pointing down such as (0, 100) may
196
+ * be useful to simulate a gravitational effect.
197
+ */
198
+ get acc() {
199
+ return this.motion.acc;
200
+ }
201
+ set acc(val) {
202
+ this.motion.acc = val;
203
+ }
204
+ /**
205
+ * The current torque applied to the actor
206
+ */
207
+ get torque() {
208
+ return this.motion.torque;
209
+ }
210
+ set torque(val) {
211
+ this.motion.torque = val;
212
+ }
213
+ /**
214
+ * The rotation of the body in radians
215
+ */
216
+ get rotation() {
217
+ return this.transform.globalRotation;
218
+ }
219
+ set rotation(val) {
220
+ this.transform.globalRotation = val;
221
+ }
222
+ /**
223
+ * The scale vector of the actor
224
+ * @deprecated ex.Body.scale will be removed in v0.25.0, Use ex.Transform.scale
225
+ */
226
+ get scale() {
227
+ return this.transform.globalScale;
228
+ }
229
+ set scale(val) {
230
+ this.transform.globalScale = val;
231
+ }
232
+ /**
233
+ * The x scalar velocity of the actor in scale/second
234
+ * @deprecated ex.Body.scale will be removed in v0.25.0
235
+ */
236
+ get sx() {
237
+ return this.motion.scaleFactor.x;
238
+ }
239
+ set sx(xFactor) {
240
+ this.motion.scaleFactor.x = xFactor;
241
+ }
242
+ /**
243
+ * The y scalar velocity of the actor in scale/second
244
+ * @deprecated ex.Body.scale will be removed in v0.25.0
245
+ */
246
+ get sy() {
247
+ return this.motion.scaleFactor.y;
248
+ }
249
+ set sy(yFactor) {
250
+ this.motion.scaleFactor.y = yFactor;
251
+ }
252
+ /**
253
+ * The rotational velocity of the actor in radians/second
254
+ * @deprecated
255
+ */
256
+ get rx() {
257
+ return this.motion.angularVelocity;
258
+ }
259
+ /**
260
+ * The rotational velocity of the actor in radians/second
261
+ * @deprecated
262
+ */
263
+ set rx(value) {
264
+ this.motion.angularVelocity = value;
265
+ }
266
+ /**
267
+ * Get the angular velocity in radians/second
268
+ */
269
+ get angularVelocity() {
270
+ return this.motion.angularVelocity;
271
+ }
272
+ /**
273
+ * Set the angular velocity in radians/second
274
+ */
275
+ set angularVelocity(value) {
276
+ this.motion.angularVelocity = value;
277
+ }
278
+ /**
279
+ * Apply a specific impulse to the body
280
+ * @param point
281
+ * @param impulse
282
+ */
283
+ applyImpulse(point, impulse) {
284
+ if (this.collisionType !== CollisionType.Active) {
285
+ return; // only active objects participate in the simulation
286
+ }
287
+ const finalImpulse = impulse.scale(this.inverseMass);
288
+ if (this.limitDegreeOfFreedom.includes(DegreeOfFreedom.X)) {
289
+ finalImpulse.x = 0;
290
+ }
291
+ if (this.limitDegreeOfFreedom.includes(DegreeOfFreedom.Y)) {
292
+ finalImpulse.y = 0;
293
+ }
294
+ this.vel.addEqual(finalImpulse);
295
+ if (!this.limitDegreeOfFreedom.includes(DegreeOfFreedom.Rotation)) {
296
+ const distanceFromCenter = point.sub(this.pos);
297
+ this.angularVelocity += this.inverseInertia * distanceFromCenter.cross(impulse);
298
+ }
299
+ }
300
+ /**
301
+ * Apply only linear impulse to the body
302
+ * @param impulse
303
+ */
304
+ applyLinearImpulse(impulse) {
305
+ if (this.collisionType !== CollisionType.Active) {
306
+ return; // only active objects participate in the simulation
307
+ }
308
+ const finalImpulse = impulse.scale(this.inverseMass);
309
+ if (this.limitDegreeOfFreedom.includes(DegreeOfFreedom.X)) {
310
+ finalImpulse.x = 0;
311
+ }
312
+ if (this.limitDegreeOfFreedom.includes(DegreeOfFreedom.Y)) {
313
+ finalImpulse.y = 0;
314
+ }
315
+ this.vel = this.vel.add(finalImpulse);
316
+ }
317
+ /**
318
+ * Apply only angular impulse to the body
319
+ * @param point
320
+ * @param impulse
321
+ */
322
+ applyAngularImpulse(point, impulse) {
323
+ if (this.collisionType !== CollisionType.Active) {
324
+ return; // only active objects participate in the simulation
325
+ }
326
+ if (!this.limitDegreeOfFreedom.includes(DegreeOfFreedom.Rotation)) {
327
+ const distanceFromCenter = point.sub(this.pos);
328
+ this.angularVelocity += this.inverseInertia * distanceFromCenter.cross(impulse);
329
+ }
330
+ }
331
+ /**
332
+ * Sets the old versions of pos, vel, acc, and scale.
333
+ */
334
+ captureOldTransform() {
335
+ // Capture old values before integration step updates them
336
+ this.oldVel.setTo(this.vel.x, this.vel.y);
337
+ this.oldPos.setTo(this.pos.x, this.pos.y);
338
+ this.oldAcc.setTo(this.acc.x, this.acc.y);
339
+ this.oldScale.setTo(this.scale.x, this.scale.y);
340
+ this.oldRotation = this.rotation;
341
+ }
342
+ /**
343
+ * @deprecated signature will change in v0.26.0
344
+ * @param _ctx
345
+ */
346
+ debugDraw(_ctx) {
347
+ // pass
348
+ }
349
+ }
350
+ BodyComponent._ID = 0;
351
+ //# sourceMappingURL=BodyComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BodyComponent.js","sourceRoot":"","sources":["../../../src/engine/Collision/BodyComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OA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