cubing 0.21.0-pre8 → 0.21.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) hide show
  1. package/{src/cubing/search/inside/solve → dist}/.DS_Store +0 -0
  2. package/dist/bin/puzzle-geometry-bin.js +1 -1
  3. package/dist/bin/puzzle-geometry-bin.js.map +2 -2
  4. package/dist/bundle-global/cubing.bundle-global.js +876 -797
  5. package/dist/esm/{3d-TYWC5MQY.js → 3d-B25DP5PE.js} +3 -3
  6. package/dist/esm/{3d-TYWC5MQY.js.map → 3d-B25DP5PE.js.map} +0 -0
  7. package/dist/esm/bluetooth/index.js +1 -1
  8. package/dist/esm/bluetooth/index.js.map +1 -1
  9. package/dist/esm/{chunk-6BXLPCNQ.js → chunk-APIIMJG6.js} +98 -95
  10. package/dist/esm/chunk-APIIMJG6.js.map +7 -0
  11. package/dist/esm/{chunk-HUPF5GPN.js → chunk-CSVAFZSB.js} +3 -3
  12. package/dist/esm/{chunk-HUPF5GPN.js.map → chunk-CSVAFZSB.js.map} +0 -0
  13. package/dist/esm/{chunk-L6K5FKPV.js → chunk-MUQMBH2S.js} +48 -26
  14. package/dist/esm/{chunk-L6K5FKPV.js.map → chunk-MUQMBH2S.js.map} +2 -2
  15. package/dist/esm/puzzle-geometry/index.js +1 -1
  16. package/dist/esm/puzzle-geometry/index.js.map +2 -2
  17. package/dist/esm/puzzles/index.js +5 -5
  18. package/dist/esm/scramble/index.js +2 -2
  19. package/dist/esm/search/index.js +2 -2
  20. package/dist/esm/twisty/index.js +313 -78
  21. package/dist/esm/twisty/index.js.map +3 -3
  22. package/dist/esm/{worker-inside-generated-string-DOHINKQX.js → worker-inside-generated-string-KDZOUGJF.js} +20 -20
  23. package/dist/esm/worker-inside-generated-string-KDZOUGJF.js.map +7 -0
  24. package/{src/cubing/search/inside/solve/vendor/cstimer → dist/types}/.DS_Store +0 -0
  25. package/dist/types/bluetooth/smart-puzzle/bluetooth-puzzle.d.ts +1 -1
  26. package/dist/types/bluetooth/smart-puzzle/bluetooth-puzzle.d.ts.map +1 -1
  27. package/dist/types/cubing.bundle-global.d.ts +1 -24
  28. package/dist/types/cubing.bundle-global.d.ts.map +1 -1
  29. package/dist/types/puzzles/implementations/fto/index.d.ts +2 -2
  30. package/dist/types/puzzles/implementations/fto/index.d.ts.map +1 -1
  31. package/dist/types/puzzles/index.d.ts +5 -1
  32. package/dist/types/puzzles/index.d.ts.map +1 -1
  33. package/dist/types/puzzles/stickerings/fto-stickerings.d.ts.map +1 -1
  34. package/dist/types/search/inside/api.d.ts.map +1 -1
  35. package/dist/types/search/worker-inside-generated-string.d.ts +1 -1
  36. package/dist/types/search/worker-inside-generated-string.d.ts.map +1 -1
  37. package/dist/types/twisty/controllers/TwistyAnimationController.d.ts +4 -1
  38. package/dist/types/twisty/controllers/TwistyAnimationController.d.ts.map +1 -1
  39. package/dist/types/twisty/index.d.ts +3 -2
  40. package/dist/types/twisty/index.d.ts.map +1 -1
  41. package/dist/types/twisty/model/TwistyPlayerModel.d.ts +41 -37
  42. package/dist/types/twisty/model/TwistyPlayerModel.d.ts.map +1 -1
  43. package/dist/types/twisty/model/UserVisibleErrorTracker.d.ts +11 -0
  44. package/dist/types/twisty/model/UserVisibleErrorTracker.d.ts.map +1 -0
  45. package/dist/types/twisty/model/{TwistyProp.d.ts → props/TwistyProp.d.ts} +3 -1
  46. package/dist/types/twisty/model/props/TwistyProp.d.ts.map +1 -0
  47. package/dist/types/twisty/model/{TwistyProp.spec.d.ts → props/TwistyProp.spec.d.ts} +0 -0
  48. package/dist/types/twisty/model/props/TwistyProp.spec.d.ts.map +1 -0
  49. package/dist/types/twisty/model/{TwistyPropDebugger.d.ts → props/TwistyPropDebugger.d.ts} +2 -2
  50. package/dist/types/twisty/model/props/TwistyPropDebugger.d.ts.map +1 -0
  51. package/dist/types/twisty/model/{depth-0 → props/general}/URLProp.d.ts +0 -0
  52. package/dist/types/twisty/model/props/general/URLProp.d.ts.map +1 -0
  53. package/dist/types/twisty/model/{depth-0 → props/puzzle/display}/HintFaceletProp.d.ts +2 -2
  54. package/dist/types/twisty/model/props/puzzle/display/HintFaceletProp.d.ts.map +1 -0
  55. package/dist/types/twisty/model/{depth-1 → props/puzzle/display}/SpriteProp.d.ts +1 -1
  56. package/dist/types/twisty/model/props/puzzle/display/SpriteProp.d.ts.map +1 -0
  57. package/dist/types/twisty/model/props/puzzle/display/StickeringProp.d.ts +6 -0
  58. package/dist/types/twisty/model/props/puzzle/display/StickeringProp.d.ts.map +1 -0
  59. package/dist/types/twisty/model/{depth-0 → props/puzzle/state}/AlgProp.d.ts +2 -2
  60. package/dist/types/twisty/model/props/puzzle/state/AlgProp.d.ts.map +1 -0
  61. package/dist/types/twisty/model/{depth-4 → props/puzzle/state}/AlgTransformationProp.d.ts +4 -4
  62. package/dist/types/twisty/model/props/puzzle/state/AlgTransformationProp.d.ts.map +1 -0
  63. package/dist/types/twisty/model/{depth-6 → props/puzzle/state}/AnchoredStartProp.d.ts +4 -4
  64. package/dist/types/twisty/model/props/puzzle/state/AnchoredStartProp.d.ts.map +1 -0
  65. package/dist/types/twisty/model/props/puzzle/state/CatchUpMoveProp.d.ts +11 -0
  66. package/dist/types/twisty/model/props/puzzle/state/CatchUpMoveProp.d.ts.map +1 -0
  67. package/dist/types/twisty/model/props/puzzle/state/CurrentLeavesProp.d.ts +14 -0
  68. package/dist/types/twisty/model/props/puzzle/state/CurrentLeavesProp.d.ts.map +1 -0
  69. package/dist/types/twisty/model/{depth-9 → props/puzzle/state}/CurrentLeavesSimplified.d.ts +3 -3
  70. package/dist/types/twisty/model/props/puzzle/state/CurrentLeavesSimplified.d.ts.map +1 -0
  71. package/dist/types/twisty/model/{depth-10 → props/puzzle/state}/CurrentTransformationProp.d.ts +4 -4
  72. package/dist/types/twisty/model/props/puzzle/state/CurrentTransformationProp.d.ts.map +1 -0
  73. package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorProp.d.ts +17 -0
  74. package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorProp.d.ts.map +1 -0
  75. package/dist/types/twisty/model/{depth-0 → props/puzzle/state}/IndexerConstructorRequestProp.d.ts +1 -1
  76. package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.d.ts.map +1 -0
  77. package/dist/types/twisty/model/props/puzzle/state/IndexerProp.d.ts +15 -0
  78. package/dist/types/twisty/model/props/puzzle/state/IndexerProp.d.ts.map +1 -0
  79. package/dist/types/twisty/model/props/puzzle/state/LegacyPositionProp.d.ts +12 -0
  80. package/dist/types/twisty/model/props/puzzle/state/LegacyPositionProp.d.ts.map +1 -0
  81. package/dist/types/twisty/model/{depth-3 → props/puzzle/state}/PuzzleAlgProp.d.ts +3 -3
  82. package/dist/types/twisty/model/props/puzzle/state/PuzzleAlgProp.d.ts.map +1 -0
  83. package/dist/types/twisty/model/props/puzzle/state/SetupAnchorProp.d.ts +6 -0
  84. package/dist/types/twisty/model/props/puzzle/state/SetupAnchorProp.d.ts.map +1 -0
  85. package/dist/types/twisty/model/props/puzzle/structure/PuzzleDefProp.d.ts +11 -0
  86. package/dist/types/twisty/model/props/puzzle/structure/PuzzleDefProp.d.ts.map +1 -0
  87. package/dist/types/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.d.ts +6 -0
  88. package/dist/types/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.d.ts.map +1 -0
  89. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDProp.d.ts +11 -0
  90. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDProp.d.ts.map +1 -0
  91. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts +6 -0
  92. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts.map +1 -0
  93. package/dist/types/twisty/model/props/puzzle/structure/PuzzleLoaderProp.d.ts +13 -0
  94. package/dist/types/twisty/model/props/puzzle/structure/PuzzleLoaderProp.d.ts.map +1 -0
  95. package/dist/types/twisty/model/{depth-8 → props/timeline}/CoarseTimelineInfoProp.d.ts +3 -3
  96. package/dist/types/twisty/model/props/timeline/CoarseTimelineInfoProp.d.ts.map +1 -0
  97. package/dist/types/twisty/model/{depth-7 → props/timeline}/DetailedTimelineInfoProp.d.ts +4 -4
  98. package/dist/types/twisty/model/props/timeline/DetailedTimelineInfoProp.d.ts.map +1 -0
  99. package/dist/types/twisty/model/{depth-0 → props/timeline}/PlayingInfoProp.d.ts +1 -1
  100. package/dist/types/twisty/model/props/timeline/PlayingInfoProp.d.ts.map +1 -0
  101. package/dist/types/twisty/model/{depth-0 → props/timeline}/TempoScaleProp.d.ts +0 -0
  102. package/dist/types/twisty/model/props/timeline/TempoScaleProp.d.ts.map +1 -0
  103. package/dist/types/twisty/model/{depth-0 → props/timeline}/TimestampRequestProp.d.ts +1 -1
  104. package/dist/types/twisty/model/props/timeline/TimestampRequestProp.d.ts.map +1 -0
  105. package/dist/types/twisty/model/{depth-0 → props/viewer}/BackViewProp.d.ts +1 -1
  106. package/dist/types/twisty/model/props/viewer/BackViewProp.d.ts.map +1 -0
  107. package/dist/types/twisty/model/{depth-0 → props/viewer}/BackgroundProp.d.ts +1 -1
  108. package/dist/types/twisty/model/props/viewer/BackgroundProp.d.ts.map +1 -0
  109. package/dist/types/twisty/model/{depth-9 → props/viewer}/ButtonAppearanceProp.d.ts +3 -3
  110. package/dist/types/twisty/model/props/viewer/ButtonAppearanceProp.d.ts.map +1 -0
  111. package/dist/types/twisty/model/{depth-0 → props/viewer}/ControlPanelProp.d.ts +1 -1
  112. package/dist/types/twisty/model/props/viewer/ControlPanelProp.d.ts.map +1 -0
  113. package/dist/types/twisty/model/{depth-0 → props/viewer}/LatitudeLimit.d.ts +0 -0
  114. package/dist/types/twisty/model/props/viewer/LatitudeLimit.d.ts.map +1 -0
  115. package/dist/types/twisty/model/{depth-4 → props/viewer}/OrbitCoordinatesProp.d.ts +3 -3
  116. package/dist/types/twisty/model/props/viewer/OrbitCoordinatesProp.d.ts.map +1 -0
  117. package/dist/types/twisty/model/{depth-0 → props/viewer}/OrbitCoordinatesRequestProp.d.ts +0 -0
  118. package/dist/types/twisty/model/props/viewer/OrbitCoordinatesRequestProp.d.ts.map +1 -0
  119. package/dist/types/twisty/model/{depth-6 → props/viewer}/TimeRangeProp.d.ts +2 -2
  120. package/dist/types/twisty/model/props/viewer/TimeRangeProp.d.ts.map +1 -0
  121. package/dist/types/twisty/model/{depth-0 → props/viewer}/ViewerLinkProp.d.ts +1 -1
  122. package/dist/types/twisty/model/props/viewer/ViewerLinkProp.d.ts.map +1 -0
  123. package/dist/types/twisty/model/{depth-0 → props/viewer}/VisualizationProp.d.ts +1 -1
  124. package/dist/types/twisty/model/props/viewer/VisualizationProp.d.ts.map +1 -0
  125. package/dist/types/twisty/model/{depth-3 → props/viewer}/VisualizationStrategyProp.d.ts +2 -2
  126. package/dist/types/twisty/model/props/viewer/VisualizationStrategyProp.d.ts.map +1 -0
  127. package/dist/types/twisty/old/animation/indexer/AlgIndexer.d.ts.map +1 -1
  128. package/dist/types/twisty/old/dom/TwistyPlayer.css.d.ts.map +1 -1
  129. package/dist/types/twisty/old/dom/TwistyPlayerConfig.d.ts +2 -1
  130. package/dist/types/twisty/old/dom/TwistyPlayerConfig.d.ts.map +1 -1
  131. package/dist/types/twisty/old/dom/viewers/Twisty3DCanvas.d.ts +0 -1
  132. package/dist/types/twisty/old/dom/viewers/Twisty3DCanvas.d.ts.map +1 -1
  133. package/dist/types/twisty/views/3D/RendererPool.d.ts +4 -0
  134. package/dist/types/twisty/views/3D/RendererPool.d.ts.map +1 -0
  135. package/dist/types/twisty/views/3D/Twisty3DPuzzleWrapper.d.ts +1 -1
  136. package/dist/types/twisty/views/3D/Twisty3DPuzzleWrapper.d.ts.map +1 -1
  137. package/dist/types/twisty/views/3D/Twisty3DSceneWrapper.d.ts +2 -1
  138. package/dist/types/twisty/views/3D/Twisty3DSceneWrapper.d.ts.map +1 -1
  139. package/dist/types/twisty/views/3D/Twisty3DVantage.d.ts +5 -3
  140. package/dist/types/twisty/views/3D/Twisty3DVantage.d.ts.map +1 -1
  141. package/dist/types/twisty/views/3D/TwistyOrbitControlsV2.d.ts +1 -1
  142. package/dist/types/twisty/views/3D/TwistyOrbitControlsV2.d.ts.map +1 -1
  143. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.d.ts.map +1 -1
  144. package/dist/types/twisty/views/TwistyAlgEditor/model.d.ts +2 -2
  145. package/dist/types/twisty/views/TwistyAlgEditor/model.d.ts.map +1 -1
  146. package/dist/types/twisty/views/TwistyPlayer.d.ts +12 -7
  147. package/dist/types/twisty/views/TwistyPlayer.d.ts.map +1 -1
  148. package/dist/types/twisty/views/TwistyPlayerSettable.d.ts +8 -8
  149. package/dist/types/twisty/views/TwistyPlayerSettable.d.ts.map +1 -1
  150. package/dist/types/twisty/views/control-panel/TwistyButtonsV2.d.ts +1 -1
  151. package/dist/types/twisty/views/control-panel/TwistyButtonsV2.d.ts.map +1 -1
  152. package/dist/types/twisty/views/control-panel/TwistyScrubberV2.d.ts +1 -1
  153. package/dist/types/twisty/views/control-panel/TwistyScrubberV2.d.ts.map +1 -1
  154. package/dist/types/vendor/three/examples/jsm/libs/stats.modified.module.d.ts +33 -0
  155. package/dist/types/vendor/three/examples/jsm/libs/stats.modified.module.d.ts.map +1 -0
  156. package/docs/.DS_Store +0 -0
  157. package/docs/cubing/.DS_Store +0 -0
  158. package/docs/cubing/scramble/index.html +35 -19
  159. package/package.json +5 -5
  160. package/src/cubing/.DS_Store +0 -0
  161. package/src/cubing/bluetooth/connect/index.ts +1 -1
  162. package/src/cubing/bluetooth/smart-puzzle/bluetooth-puzzle.ts +1 -1
  163. package/src/cubing/cubing.bundle-global.ts +5 -1
  164. package/src/cubing/puzzle-geometry/PermOriSet.ts +1 -1
  165. package/src/cubing/puzzles/PuzzleLoader.ts +1 -1
  166. package/src/cubing/puzzles/implementations/fto/index.ts +19 -11
  167. package/src/cubing/puzzles/index.ts +25 -18
  168. package/src/cubing/puzzles/stickerings/fto-stickerings.ts +9 -0
  169. package/src/cubing/search/inside/api.spec.ts +1 -0
  170. package/src/cubing/search/inside/api.ts +1 -0
  171. package/src/cubing/search/worker-inside-generated-string.js +1 -1
  172. package/src/cubing/twisty/.DS_Store +0 -0
  173. package/src/cubing/twisty/controllers/TwistyAnimationController.ts +80 -3
  174. package/src/cubing/twisty/index.ts +2 -2
  175. package/src/cubing/twisty/model/TwistyPlayerModel.ts +52 -41
  176. package/src/cubing/twisty/model/UserVisibleErrorTracker.ts +22 -0
  177. package/src/cubing/twisty/model/{TwistyProp.spec.ts → props/TwistyProp.spec.ts} +0 -0
  178. package/src/cubing/twisty/model/{TwistyProp.ts → props/TwistyProp.ts} +17 -9
  179. package/src/cubing/twisty/model/{TwistyPropDebugger.ts → props/TwistyPropDebugger.ts} +7 -7
  180. package/src/cubing/twisty/model/{depth-0 → props/general}/URLProp.ts +0 -0
  181. package/src/cubing/twisty/model/{depth-0 → props/puzzle/display}/HintFaceletProp.ts +2 -2
  182. package/src/cubing/twisty/model/{depth-1 → props/puzzle/display}/SpriteProp.ts +2 -2
  183. package/src/cubing/twisty/model/{depth-0 → props/puzzle/display}/StickeringProp.ts +2 -2
  184. package/src/cubing/twisty/model/{depth-0 → props/puzzle/state}/AlgProp.ts +3 -3
  185. package/src/cubing/twisty/model/{depth-4 → props/puzzle/state}/AlgTransformationProp.ts +6 -6
  186. package/src/cubing/twisty/model/{depth-6 → props/puzzle/state}/AnchoredStartProp.ts +4 -4
  187. package/src/cubing/twisty/model/props/puzzle/state/CatchUpMoveProp.ts +17 -0
  188. package/src/cubing/twisty/model/{depth-8 → props/puzzle/state}/CurrentLeavesProp.ts +27 -9
  189. package/src/cubing/twisty/model/{depth-9 → props/puzzle/state}/CurrentLeavesSimplified.ts +4 -4
  190. package/src/cubing/twisty/model/{depth-10 → props/puzzle/state}/CurrentTransformationProp.ts +5 -5
  191. package/src/cubing/twisty/model/{depth-4 → props/puzzle/state}/IndexerConstructorProp.ts +10 -10
  192. package/src/cubing/twisty/model/{depth-0 → props/puzzle/state}/IndexerConstructorRequestProp.ts +1 -1
  193. package/src/cubing/twisty/model/{depth-5 → props/puzzle/state}/IndexerProp.ts +6 -6
  194. package/src/cubing/twisty/model/{depth-11 → props/puzzle/state}/LegacyPositionProp.ts +4 -4
  195. package/src/cubing/twisty/model/{depth-3 → props/puzzle/state}/PuzzleAlgProp.ts +4 -4
  196. package/src/cubing/twisty/model/{depth-0 → props/puzzle/state}/SetupAnchorProp.ts +2 -2
  197. package/src/cubing/twisty/model/{depth-2 → props/puzzle/structure}/PuzzleDefProp.ts +3 -3
  198. package/src/cubing/twisty/model/{depth-0 → props/puzzle/structure}/PuzzleDescriptionProp.ts +6 -2
  199. package/src/cubing/twisty/model/{depth-2 → props/puzzle/structure}/PuzzleIDProp.ts +3 -3
  200. package/src/cubing/twisty/model/{depth-0 → props/puzzle/structure}/PuzzleIDRequestProp.ts +6 -2
  201. package/src/cubing/twisty/model/{depth-1 → props/puzzle/structure}/PuzzleLoaderProp.ts +11 -5
  202. package/src/cubing/twisty/model/{depth-8 → props/timeline}/CoarseTimelineInfoProp.ts +3 -3
  203. package/src/cubing/twisty/model/{depth-7 → props/timeline}/DetailedTimelineInfoProp.ts +4 -4
  204. package/src/cubing/twisty/model/{depth-0 → props/timeline}/PlayingInfoProp.ts +1 -1
  205. package/src/cubing/twisty/model/{depth-0 → props/timeline}/TempoScaleProp.ts +0 -0
  206. package/src/cubing/twisty/model/{depth-0 → props/timeline}/TimestampRequestProp.ts +1 -1
  207. package/src/cubing/twisty/model/{depth-0 → props/viewer}/BackViewProp.ts +1 -1
  208. package/src/cubing/twisty/model/{depth-0 → props/viewer}/BackgroundProp.ts +1 -1
  209. package/src/cubing/twisty/model/{depth-9 → props/viewer}/ButtonAppearanceProp.ts +4 -4
  210. package/src/cubing/twisty/model/{depth-0 → props/viewer}/ControlPanelProp.ts +1 -1
  211. package/src/cubing/twisty/model/{depth-0 → props/viewer}/LatitudeLimit.ts +0 -0
  212. package/src/cubing/twisty/model/{depth-4 → props/viewer}/OrbitCoordinatesProp.ts +3 -3
  213. package/src/cubing/twisty/model/{depth-0 → props/viewer}/OrbitCoordinatesRequestProp.ts +1 -1
  214. package/src/cubing/twisty/model/{depth-6 → props/viewer}/TimeRangeProp.ts +2 -2
  215. package/src/cubing/twisty/model/{depth-0 → props/viewer}/ViewerLinkProp.ts +1 -1
  216. package/src/cubing/twisty/model/{depth-0 → props/viewer}/VisualizationProp.ts +1 -1
  217. package/src/cubing/twisty/model/{depth-3 → props/viewer}/VisualizationStrategyProp.ts +2 -2
  218. package/src/cubing/twisty/old/animation/indexer/AlgIndexer.ts +1 -0
  219. package/src/cubing/twisty/old/dom/TwistyPlayer.css.ts +20 -0
  220. package/src/cubing/twisty/old/dom/TwistyPlayerConfig.ts +2 -1
  221. package/src/cubing/twisty/old/dom/viewers/Twisty3DCanvas.ts +3 -10
  222. package/src/cubing/twisty/{old → views}/.DS_Store +0 -0
  223. package/src/cubing/twisty/views/2D/Twisty2DPuzzle.ts +2 -2
  224. package/src/cubing/twisty/views/2D/Twisty2DPuzzleWrapper.ts +1 -1
  225. package/src/cubing/twisty/views/2D/Twisty2DSceneWrapper.ts +1 -1
  226. package/src/cubing/{search/inside → twisty/views/3D}/.DS_Store +0 -0
  227. package/src/cubing/twisty/views/3D/RendererPool.ts +53 -0
  228. package/src/cubing/twisty/views/3D/Twisty3DPuzzleWrapper.ts +9 -8
  229. package/src/cubing/twisty/views/3D/Twisty3DSceneWrapper.ts +7 -3
  230. package/src/cubing/twisty/views/3D/Twisty3DVantage.ts +69 -33
  231. package/src/cubing/twisty/views/3D/TwistyOrbitControlsV2.spec.ts +7 -7
  232. package/src/cubing/twisty/views/3D/TwistyOrbitControlsV2.ts +1 -1
  233. package/src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.ts +6 -2
  234. package/src/cubing/twisty/views/TwistyAlgEditor/model.ts +2 -2
  235. package/src/cubing/twisty/views/TwistyAlgViewer.ts +2 -2
  236. package/src/cubing/twisty/views/TwistyPlayer.ts +67 -11
  237. package/src/cubing/twisty/views/TwistyPlayerSettable.ts +8 -8
  238. package/src/cubing/twisty/views/control-panel/TwistyButtonsV2.ts +1 -1
  239. package/src/cubing/twisty/views/control-panel/TwistyScrubberV2.ts +1 -1
  240. package/src/cubing/vendor/three/examples/jsm/libs/stats.modified.module.ts +179 -0
  241. package/dist/esm/chunk-6BXLPCNQ.js.map +0 -7
  242. package/dist/esm/worker-inside-generated-string-DOHINKQX.js.map +0 -7
  243. package/dist/types/twisty/model/TwistyProp.d.ts.map +0 -1
  244. package/dist/types/twisty/model/TwistyProp.spec.d.ts.map +0 -1
  245. package/dist/types/twisty/model/TwistyPropDebugger.d.ts.map +0 -1
  246. package/dist/types/twisty/model/depth-0/AlgProp.d.ts.map +0 -1
  247. package/dist/types/twisty/model/depth-0/BackViewProp.d.ts.map +0 -1
  248. package/dist/types/twisty/model/depth-0/BackgroundProp.d.ts.map +0 -1
  249. package/dist/types/twisty/model/depth-0/ControlPanelProp.d.ts.map +0 -1
  250. package/dist/types/twisty/model/depth-0/HintFaceletProp.d.ts.map +0 -1
  251. package/dist/types/twisty/model/depth-0/IndexerConstructorRequestProp.d.ts.map +0 -1
  252. package/dist/types/twisty/model/depth-0/LatitudeLimit.d.ts.map +0 -1
  253. package/dist/types/twisty/model/depth-0/OrbitCoordinatesRequestProp.d.ts.map +0 -1
  254. package/dist/types/twisty/model/depth-0/PlayingInfoProp.d.ts.map +0 -1
  255. package/dist/types/twisty/model/depth-0/PuzzleDescriptionProp.d.ts +0 -6
  256. package/dist/types/twisty/model/depth-0/PuzzleDescriptionProp.d.ts.map +0 -1
  257. package/dist/types/twisty/model/depth-0/PuzzleIDRequestProp.d.ts +0 -6
  258. package/dist/types/twisty/model/depth-0/PuzzleIDRequestProp.d.ts.map +0 -1
  259. package/dist/types/twisty/model/depth-0/SetupAnchorProp.d.ts +0 -6
  260. package/dist/types/twisty/model/depth-0/SetupAnchorProp.d.ts.map +0 -1
  261. package/dist/types/twisty/model/depth-0/StickeringProp.d.ts +0 -6
  262. package/dist/types/twisty/model/depth-0/StickeringProp.d.ts.map +0 -1
  263. package/dist/types/twisty/model/depth-0/TempoScaleProp.d.ts.map +0 -1
  264. package/dist/types/twisty/model/depth-0/TimestampRequestProp.d.ts.map +0 -1
  265. package/dist/types/twisty/model/depth-0/URLProp.d.ts.map +0 -1
  266. package/dist/types/twisty/model/depth-0/ViewerLinkProp.d.ts.map +0 -1
  267. package/dist/types/twisty/model/depth-0/VisualizationProp.d.ts.map +0 -1
  268. package/dist/types/twisty/model/depth-1/PuzzleLoaderProp.d.ts +0 -13
  269. package/dist/types/twisty/model/depth-1/PuzzleLoaderProp.d.ts.map +0 -1
  270. package/dist/types/twisty/model/depth-1/SpriteProp.d.ts.map +0 -1
  271. package/dist/types/twisty/model/depth-10/CurrentTransformationProp.d.ts.map +0 -1
  272. package/dist/types/twisty/model/depth-11/LegacyPositionProp.d.ts +0 -12
  273. package/dist/types/twisty/model/depth-11/LegacyPositionProp.d.ts.map +0 -1
  274. package/dist/types/twisty/model/depth-2/PuzzleDefProp.d.ts +0 -11
  275. package/dist/types/twisty/model/depth-2/PuzzleDefProp.d.ts.map +0 -1
  276. package/dist/types/twisty/model/depth-2/PuzzleIDProp.d.ts +0 -11
  277. package/dist/types/twisty/model/depth-2/PuzzleIDProp.d.ts.map +0 -1
  278. package/dist/types/twisty/model/depth-3/PuzzleAlgProp.d.ts.map +0 -1
  279. package/dist/types/twisty/model/depth-3/VisualizationStrategyProp.d.ts.map +0 -1
  280. package/dist/types/twisty/model/depth-4/AlgTransformationProp.d.ts.map +0 -1
  281. package/dist/types/twisty/model/depth-4/IndexerConstructorProp.d.ts +0 -17
  282. package/dist/types/twisty/model/depth-4/IndexerConstructorProp.d.ts.map +0 -1
  283. package/dist/types/twisty/model/depth-4/OrbitCoordinatesProp.d.ts.map +0 -1
  284. package/dist/types/twisty/model/depth-5/IndexerProp.d.ts +0 -15
  285. package/dist/types/twisty/model/depth-5/IndexerProp.d.ts.map +0 -1
  286. package/dist/types/twisty/model/depth-6/AnchoredStartProp.d.ts.map +0 -1
  287. package/dist/types/twisty/model/depth-6/TimeRangeProp.d.ts.map +0 -1
  288. package/dist/types/twisty/model/depth-7/DetailedTimelineInfoProp.d.ts.map +0 -1
  289. package/dist/types/twisty/model/depth-8/CoarseTimelineInfoProp.d.ts.map +0 -1
  290. package/dist/types/twisty/model/depth-8/CurrentLeavesProp.d.ts +0 -12
  291. package/dist/types/twisty/model/depth-8/CurrentLeavesProp.d.ts.map +0 -1
  292. package/dist/types/twisty/model/depth-9/ButtonAppearanceProp.d.ts.map +0 -1
  293. package/dist/types/twisty/model/depth-9/CurrentLeavesSimplified.d.ts.map +0 -1
  294. package/dist/types/twisty/views/3D/puzzles/TwistyTestBox.d.ts +0 -9
  295. package/dist/types/twisty/views/3D/puzzles/TwistyTestBox.d.ts.map +0 -1
  296. package/dist/types/vendor/three/examples/jsm/libs/stats.module.d.ts +0 -21
  297. package/dist/types/vendor/three/examples/jsm/libs/stats.module.d.ts.map +0 -1
  298. package/src/cubing/alg/.DS_Store +0 -0
  299. package/src/cubing/bluetooth/.DS_Store +0 -0
  300. package/src/cubing/kpuzzle/.DS_Store +0 -0
  301. package/src/cubing/puzzles/.DS_Store +0 -0
  302. package/src/cubing/search/.DS_Store +0 -0
  303. package/src/cubing/search/inside/solve/vendor/.DS_Store +0 -0
  304. package/src/cubing/search/inside/solve/vendor/cstimer/src/.DS_Store +0 -0
  305. package/src/cubing/search/inside/solve/vendor/cstimer/src/js/.DS_Store +0 -0
  306. package/src/cubing/stream/.DS_Store +0 -0
  307. package/src/cubing/twisty/old/dom/.DS_Store +0 -0
  308. package/src/cubing/twisty/views/3D/puzzles/TwistyTestBox.ts +0 -22
  309. package/src/cubing/vendor/.DS_Store +0 -0
  310. package/src/cubing/vendor/three/examples/jsm/libs/stats.module.d.ts +0 -24
  311. package/src/cubing/vendor/three/examples/jsm/libs/stats.module.js +0 -179
@@ -1 +0,0 @@
1
- {"version":3,"file":"TwistyProp.d.ts","sourceRoot":"","sources":["../../../../src/cubing/twisty/model/TwistyProp.ts"],"names":[],"mappings":"AAIA,aAAK,WAAW,GAAG,EAAE,CAAC;AAEtB,oBAAY,UAAU,CAAC,CAAC,SAAS,WAAW,IAAI;KAC7C,CAAC,IAAI,MAAM,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACvC,CAAC;AAMF,UAAU,iBAAiB,CAAC,UAAU;IACpC,UAAU,EAAE,gBAAgB,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;IAC9C,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,aAAK,WAAW,CAAC,CAAC,IAAI,WAAW,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;AAExD,aAAK,cAAc,CAAC,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;AAIxC,8BAAsB,gBAAgB,CAAC,CAAC;;aACtB,GAAG,IAAI,OAAO,CAAC,CAAC,CAAC;IAGjC,QAAQ,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,GAAG,OAAO;IAM/B,aAAa,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,OAAO;IAItC,gBAAgB,IAAI,KAAK,CAAC,iBAAiB,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IAOtD,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,iBAAiB,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,IAAI;IAI5D,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,iBAAiB,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,IAAI;IAI/D,SAAS,CAAC,oBAAoB,EAAE,MAAM,CAAK;IAI3C,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,WAAW,CAAC,GAAG,CAAC,GAAG,IAAI;IAmBxD,kBAAkB;IAClB,cAAc,CAAC,QAAQ,EAAE,MAAM,IAAI,EAAE,OAAO,CAAC,EAAE;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI;IAO1E,kBAAkB;IAClB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IAyB7C,gBAAgB,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,GAAG,IAAI;IAepD,mBAAmB,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,GAAG,IAAI;CAIxD;AAED,8BAAsB,gBAAgB,CACpC,UAAU,EACV,SAAS,GAAG,UAAU,CACtB,SAAQ,gBAAgB,CAAC,UAAU,CAAC;;aAGpB,eAAe,IAAI,cAAc,CAAC,UAAU,CAAC;gBAEjD,YAAY,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC;IAQpD,GAAG,CAAC,KAAK,EAAE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI;IAerC,GAAG,IAAI,OAAO,CAAC,UAAU,CAAC;IAI1B,wBAAwB,CAC5B,KAAK,EAAE,cAAc,CAAC,SAAS,CAAC,EAChC,eAAe,EAAE,OAAO,CAAC,UAAU,CAAC,GACnC,OAAO,CAAC,UAAU,CAAC;IAKtB,SAAS,CAAC,QAAQ,CAAC,MAAM,CACvB,KAAK,EAAE,SAAS,EAChB,eAAe,EAAE,OAAO,CAAC,UAAU,CAAC,GACnC,cAAc,CAAC,UAAU,CAAC;CAC9B;AAED,8BAAsB,sBAAsB,CAC1C,UAAU,CACV,SAAQ,gBAAgB,CAAC,UAAU,CAAC;IACpC,MAAM,CAAC,KAAK,EAAE,UAAU,GAAG,cAAc,CAAC,UAAU,CAAC;CAGtD;AAID,eAAO,MAAM,QAAQ,eAAqB,CAAC;AAC3C,oBAAY,WAAW,GAAG,OAAO,QAAQ,CAAC;AAE1C,8BAAsB,iBAAiB,CACrC,UAAU,SAAS,WAAW,EAC9B,UAAU,CACV,SAAQ,gBAAgB,CAAC,UAAU,CAAC;;gBAIxB,OAAO,EAAE,UAAU,CAAC,UAAU,CAAC;IAqB9B,GAAG,IAAI,OAAO,CAAC,UAAU,CAAC;IAwEvC,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,UAAU,GAAG,cAAc,CAAC,UAAU,CAAC;CACzE;AAED,qBAAa,oBAAoB;;IAG/B,WAAW,CAAC,CAAC,EACX,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,EACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,GAC3B,IAAI;IAkBP,gBAAgB,CAAC,CAAC,EAAE,CAAC,EACnB,KAAK,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,EACjD,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,IAAI;IA4BpC,UAAU,IAAI,IAAI;CAKnB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TwistyProp.spec.d.ts","sourceRoot":"","sources":["../../../../src/cubing/twisty/model/TwistyProp.spec.ts"],"names":[],"mappings":"AAAA;;GAEG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TwistyPropDebugger.d.ts","sourceRoot":"","sources":["../../../../src/cubing/twisty/model/TwistyPropDebugger.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,oBAAoB,EACrB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAErD,wBAAgB,cAAc,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAShD;AAeD,qBAAa,kBAAmB,SAAQ,oBAAoB;;IAC9C,OAAO,CAAC,IAAI;IAAiB,UAAU,EAAE,gBAAgB,CAAC,GAAG,CAAC;gBAAtD,IAAI,EAAE,MAAM,EAAS,UAAU,EAAE,gBAAgB,CAAC,GAAG,CAAC;IAI1E,SAAS,EAAE,WAAW,GAAG,IAAI,CAAQ;IAErC,iBAAiB,IAAI,IAAI;IA8EnB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAc1B,MAAM,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAwEvC,YAAY,CACV,aAAa,EACT,cAAc,GACd,wBAAwB,GACxB,QAAQ,GACR,MAAM,GACN,OAAO,GACP,uBAAuB,GACvB,IAAI,GACP,IAAI;CAOR;AAID,qBAAa,oBAAqB,SAAQ,oBAAoB;IAChD,OAAO,CAAC,MAAM;gBAAN,MAAM,EAAE,YAAY;IAIxC,iBAAiB,IAAI,IAAI;IAoDzB,mBAAmB,EAAE,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,EAAE,kBAAkB,CAAC,CACvD;IAEZ,eAAe,EAAE,GAAG,CAAC,kBAAkB,EAAE,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAa;IAC9E,cAAc,EAAE,GAAG,CAAC,kBAAkB,EAAE,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAa;IAE7E,kBAAkB,EAAE,kBAAkB,GAAG,IAAI,CAAQ;IACrD,mBAAmB,CAAC,IAAI,EAAE,kBAAkB;IAmD5C,cAAc,CACZ,IAAI,EAAE,kBAAkB,EACxB,WAAW,GAAE,GAAG,CAAC,kBAAkB,CAAa,GAC/C,GAAG,CAAC,kBAAkB,CAAC;IAU1B,YAAY,CACV,IAAI,EAAE,kBAAkB,EACxB,WAAW,GAAE,GAAG,CAAC,kBAAkB,CAAa,GAC/C,GAAG,CAAC,kBAAkB,CAAC;CAS3B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlgProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/AlgProp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAEnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,qBAAa,SAAS;IAGpB,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;gBAEvB,MAAM,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE;IAO/D,GAAG,CAAC,MAAM,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE;IAOvD,kBAAkB;IAClB,GAAG;CASJ;AAED,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,GAAG,CAAC;IACT,MAAM,EAAE,SAAS,CAAC;CACnB;AAED,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,MAAM,GAAG,aAAa,CAoBhE;AAUD,qBAAa,OAAQ,SAAQ,gBAAgB,CAAC,aAAa,EAAE,GAAG,GAAG,MAAM,CAAC;IACxE,eAAe,IAAI,aAAa;IAIhC,aAAa,CAAC,EAAE,EAAE,aAAa,EAAE,EAAE,EAAE,aAAa;IAI5C,MAAM,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;CAU3D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"BackViewProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/BackViewProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEvD,oBAAY,sBAAsB,GAAG,cAAc,GAAG,MAAM,CAAC;AAE7D,qBAAa,YAAa,SAAQ,sBAAsB,CAAC,sBAAsB,CAAC;IAC9E,eAAe,IAAI,sBAAsB;CAG1C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"BackgroundProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/BackgroundProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEvD,oBAAY,uBAAuB,GAAG,eAAe,GAAG,MAAM,CAAC;AAE/D,qBAAa,cAAe,SAAQ,sBAAsB,CAAC,uBAAuB,CAAC;IACjF,eAAe,IAAI,uBAAuB;CAG3C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ControlPanelProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/ControlPanelProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEvD,oBAAY,yBAAyB,GAAG,gBAAgB,GAAG,MAAM,CAAC;AAElE,qBAAa,gBAAiB,SAAQ,sBAAsB,CAAC,yBAAyB,CAAC;IACrF,eAAe,IAAI,yBAAyB;CAG7C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"HintFaceletProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/HintFaceletProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEvD,oBAAY,wBAAwB,GAAG,gBAAgB,GAAG,MAAM,CAAC;AAEjE,qBAAa,eAAgB,SAAQ,sBAAsB,CAAC,wBAAwB,CAAC;IACnF,eAAe,IAAI,wBAAwB;CAG5C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"IndexerConstructorRequestProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/IndexerConstructorRequestProp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEvD,eAAO,MAAM,oBAAoB;;;;;CAKhC,CAAC;AACF,oBAAY,mBAAmB,GAAG,MAAM,OAAO,oBAAoB,CAAC;AAEpE,qBAAa,6BAA8B,SAAQ,sBAAsB,CAAC,mBAAmB,CAAC;IAC5F,eAAe,IAAI,mBAAmB;CAGvC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LatitudeLimit.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/LatitudeLimit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAKvE,qBAAa,iBAAkB,SAAQ,sBAAsB,CAAC,iBAAiB,CAAC;IAC9E,eAAe,IAAI,iBAAiB;CAGrC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"OrbitCoordinatesRequestProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/OrbitCoordinatesRequestProp.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,oBAAY,iBAAiB,GAAG,MAAM,CAAC;AAEvC,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,SAAS,EAAE,iBAAiB,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,qBAAqB,CACnC,EAAE,EAAE,kBAAkB,EACtB,EAAE,EAAE,kBAAkB,GACrB,OAAO,CAMT;AASD,oBAAY,uBAAuB,GAAG,OAAO,CAAC,kBAAkB,CAAC,GAAG,MAAM,CAAC;AAG3E,qBAAa,2BAA4B,SAAQ,gBAAgB,CAC/D,uBAAuB,EACvB,OAAO,CAAC,kBAAkB,CAAC,GAAG,MAAM,CACrC;IACC,eAAe,IAAI,uBAAuB;IAI1C,aAAa,CAAC,EAAE,EAAE,kBAAkB,EAAE,EAAE,EAAE,kBAAkB;IAItD,MAAM,CACV,cAAc,EAAE,OAAO,CAAC,kBAAkB,CAAC,GAAG,MAAM,EACpD,eAAe,EAAE,OAAO,CAAC,uBAAuB,CAAC,GAChD,OAAO,CAAC,uBAAuB,CAAC;CAqBpC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PlayingInfoProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/PlayingInfoProp.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,SAAS,EACV,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,oBAAY,eAAe,GAAG,SAAS,CAAC,QAAQ,GAAG,SAAS,CAAC,SAAS,CAAC;AAEvE,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,eAAe,CAAC;IAC3B,aAAa,EAAE,YAAY,CAAC;IAG5B,IAAI,EAAE,OAAO,CAAC;CACf;AAGD,qBAAa,eAAgB,SAAQ,gBAAgB,CACnD,WAAW,EACX,OAAO,CAAC,WAAW,CAAC,CACrB;IACO,eAAe,IAAI,OAAO,CAAC,WAAW,CAAC;IASvC,MAAM,CACV,OAAO,EAAE,OAAO,CAAC,WAAW,CAAC,EAC7B,eAAe,EAAE,OAAO,CAAC,WAAW,CAAC,GACpC,OAAO,CAAC,WAAW,CAAC;IAQvB,aAAa,CAAC,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,WAAW;CAQ/C"}
@@ -1,6 +0,0 @@
1
- import type { PuzzleDescriptionString } from "../../../puzzle-geometry/PGPuzzles";
2
- import { NoValueType, SimpleTwistyPropSource } from "../TwistyProp";
3
- export declare class PGPuzzleDescriptionStringProp extends SimpleTwistyPropSource<PuzzleDescriptionString | NoValueType> {
4
- getDefaultValue(): PuzzleDescriptionString | NoValueType;
5
- }
6
- //# sourceMappingURL=PuzzleDescriptionProp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PuzzleDescriptionProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/PuzzleDescriptionProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,WAAW,EAAY,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAE9E,qBAAa,6BAA8B,SAAQ,sBAAsB,CACvE,uBAAuB,GAAG,WAAW,CACtC;IACC,eAAe,IAAI,uBAAuB,GAAG,WAAW;CAGzD"}
@@ -1,6 +0,0 @@
1
- import type { PuzzleID } from "../../old/dom/TwistyPlayerConfig";
2
- import { NoValueType, SimpleTwistyPropSource } from "../TwistyProp";
3
- export declare class PuzzleIDRequestProp extends SimpleTwistyPropSource<PuzzleID | NoValueType> {
4
- getDefaultValue(): PuzzleID | NoValueType;
5
- }
6
- //# sourceMappingURL=PuzzleIDRequestProp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PuzzleIDRequestProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/PuzzleIDRequestProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,WAAW,EAAY,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAK9E,qBAAa,mBAAoB,SAAQ,sBAAsB,CAC7D,QAAQ,GAAG,WAAW,CACvB;IACC,eAAe,IAAI,QAAQ,GAAG,WAAW;CAG1C"}
@@ -1,6 +0,0 @@
1
- import type { SetupToLocation } from "../../old/dom/TwistyPlayerConfig";
2
- import { SimpleTwistyPropSource } from "../TwistyProp";
3
- export declare class SetupAnchorProp extends SimpleTwistyPropSource<SetupToLocation> {
4
- getDefaultValue(): SetupToLocation;
5
- }
6
- //# sourceMappingURL=SetupAnchorProp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SetupAnchorProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/SetupAnchorProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEvD,qBAAa,eAAgB,SAAQ,sBAAsB,CAAC,eAAe,CAAC;IAC1E,eAAe,IAAI,eAAe;CAGnC"}
@@ -1,6 +0,0 @@
1
- import type { ExperimentalStickering } from "../../../twisty";
2
- import { SimpleTwistyPropSource } from "../TwistyProp";
3
- export declare class StickeringProp extends SimpleTwistyPropSource<ExperimentalStickering> {
4
- getDefaultValue(): ExperimentalStickering;
5
- }
6
- //# sourceMappingURL=StickeringProp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StickeringProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/StickeringProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEvD,qBAAa,cAAe,SAAQ,sBAAsB,CAAC,sBAAsB,CAAC;IAChF,eAAe,IAAI,sBAAsB;CAG1C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TempoScaleProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/TempoScaleProp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAIjD,qBAAa,cAAe,SAAQ,gBAAgB,CAAC,MAAM,EAAE,MAAM,CAAC;IAClE,eAAe,IAAI,MAAM;IAIzB,MAAM,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM;CAG1B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TimestampRequestProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/TimestampRequestProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEvD,QAAA,MAAM,eAAe;;;;;CAKpB,CAAC;AAEF,oBAAY,gBAAgB,GACxB,oBAAoB,GACpB,MAAM,OAAO,eAAe,CAAC;AAEjC,qBAAa,oBAAqB,SAAQ,sBAAsB,CAAC,gBAAgB,CAAC;IAChF,eAAe,IAAI,gBAAgB;IAKnC,GAAG,CAAC,CAAC,EAAE,gBAAgB;IAQvB,UAAU,CAAC,CAAC,EAAE,gBAAgB,GAAG,OAAO;CASzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"URLProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/URLProp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,qBAAa,OAAQ,SAAQ,gBAAgB,CAAC,GAAG,GAAG,IAAI,EAAE,GAAG,GAAG,MAAM,GAAG,IAAI,CAAC;IAC5E,eAAe,IAAI,GAAG,GAAG,IAAI;IAI7B,MAAM,CAAC,KAAK,EAAE,GAAG,GAAG,MAAM,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI;CAM/C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ViewerLinkProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/ViewerLinkProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEvD,oBAAY,sBAAsB,GAAG,cAAc,GAAG,MAAM,CAAC;AAE7D,qBAAa,cAAe,SAAQ,sBAAsB,CAAC,sBAAsB,CAAC;IAChF,eAAe,IAAI,sBAAsB;CAG1C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"VisualizationProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-0/VisualizationProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEvD,oBAAY,2BAA2B,GAAG,mBAAmB,GAAG,MAAM,CAAC;AAEvE,qBAAa,uBAAwB,SAAQ,sBAAsB,CAAC,2BAA2B,CAAC;IAC9F,eAAe,IAAI,2BAA2B;CAG/C"}
@@ -1,13 +0,0 @@
1
- import type { PuzzleDescriptionString } from "../../../puzzle-geometry/PGPuzzles";
2
- import { PuzzleLoader } from "../../../puzzles";
3
- import type { PuzzleID } from "../../old/dom/TwistyPlayerConfig";
4
- import { NoValueType, TwistyPropDerived } from "../TwistyProp";
5
- interface PuzzleLoaderPropInputs {
6
- puzzleIDRequest: PuzzleID | NoValueType;
7
- puzzleDescriptionRequest: PuzzleDescriptionString | NoValueType;
8
- }
9
- export declare class PuzzleLoaderProp extends TwistyPropDerived<PuzzleLoaderPropInputs, PuzzleLoader> {
10
- derive(inputs: PuzzleLoaderPropInputs): PuzzleLoader;
11
- }
12
- export {};
13
- //# sourceMappingURL=PuzzleLoaderProp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PuzzleLoaderProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-1/PuzzleLoaderProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAGL,YAAY,EAEb,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,WAAW,EAAY,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEzE,UAAU,sBAAsB;IAC9B,eAAe,EAAE,QAAQ,GAAG,WAAW,CAAC;IACxC,wBAAwB,EAAE,uBAAuB,GAAG,WAAW,CAAC;CACjE;AAED,qBAAa,gBAAiB,SAAQ,iBAAiB,CACrD,sBAAsB,EACtB,YAAY,CACb;IACC,MAAM,CAAC,MAAM,EAAE,sBAAsB,GAAG,YAAY;CAYrD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SpriteProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-1/SpriteProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAiB,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAOlD,aAAK,gBAAgB,GAAG;IACtB,SAAS,EAAE,GAAG,GAAG,IAAI,CAAC;CACvB,CAAC;AAGF,qBAAa,UAAW,SAAQ,iBAAiB,CAC/C,gBAAgB,EAChB,OAAO,GAAG,IAAI,CACf;IACO,MAAM,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;CAwBhE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CurrentTransformationProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-10/CurrentTransformationProp.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EACjB,cAAc,EACf,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,UAAU,+BAA+B;IACvC,aAAa,EAAE,cAAc,CAAC;IAC9B,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,OAAO,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;IACzB,GAAG,EAAE,iBAAiB,CAAC;CACxB;AAGD,qBAAa,yBAA0B,SAAQ,iBAAiB,CAC9D,+BAA+B,EAC/B,cAAc,CACf;IACC,MAAM,CAAC,MAAM,EAAE,+BAA+B,GAAG,cAAc;CAuBhE"}
@@ -1,12 +0,0 @@
1
- import type { Transformation } from "../../../kpuzzle";
2
- import type { PuzzlePosition } from "../../old/animation/cursor/CursorTypes";
3
- import type { CurrentMoveInfo } from "../../old/animation/indexer/AlgIndexer";
4
- import { TwistyPropDerived } from "../TwistyProp";
5
- export interface LegacyPositionPropInputs {
6
- currentMoveInfo: CurrentMoveInfo;
7
- transformation: Transformation;
8
- }
9
- export declare class LegacyPositionProp extends TwistyPropDerived<LegacyPositionPropInputs, PuzzlePosition> {
10
- derive(inputs: LegacyPositionPropInputs): PuzzlePosition;
11
- }
12
- //# sourceMappingURL=LegacyPositionProp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LegacyPositionProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-11/LegacyPositionProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,MAAM,WAAW,wBAAwB;IACvC,eAAe,EAAE,eAAe,CAAC;IACjC,cAAc,EAAE,cAAc,CAAC;CAChC;AAGD,qBAAa,kBAAmB,SAAQ,iBAAiB,CACvD,wBAAwB,EACxB,cAAc,CACf;IACC,MAAM,CAAC,MAAM,EAAE,wBAAwB,GAAG,cAAc;CAMzD"}
@@ -1,11 +0,0 @@
1
- import type { KPuzzleDefinition } from "../../../kpuzzle";
2
- import type { PuzzleLoader } from "../../../puzzles";
3
- import { TwistyPropDerived } from "../TwistyProp";
4
- export declare class PuzzleDefProp extends TwistyPropDerived<{
5
- puzzleLoader: PuzzleLoader;
6
- }, KPuzzleDefinition> {
7
- derive(inputs: {
8
- puzzleLoader: PuzzleLoader;
9
- }): Promise<KPuzzleDefinition>;
10
- }
11
- //# sourceMappingURL=PuzzleDefProp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PuzzleDefProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-2/PuzzleDefProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,qBAAa,aAAc,SAAQ,iBAAiB,CAClD;IAAE,YAAY,EAAE,YAAY,CAAA;CAAE,EAC9B,iBAAiB,CAClB;IACO,MAAM,CAAC,MAAM,EAAE;QACnB,YAAY,EAAE,YAAY,CAAC;KAC5B,GAAG,OAAO,CAAC,iBAAiB,CAAC;CAG/B"}
@@ -1,11 +0,0 @@
1
- import type { PuzzleLoader } from "../../../puzzles";
2
- import type { PuzzleID } from "../../old/dom/TwistyPlayerConfig";
3
- import { TwistyPropDerived } from "../TwistyProp";
4
- export declare class PuzzleIDProp extends TwistyPropDerived<{
5
- puzzleLoader: PuzzleLoader;
6
- }, PuzzleID> {
7
- derive(inputs: {
8
- puzzleLoader: PuzzleLoader;
9
- }): Promise<PuzzleID>;
10
- }
11
- //# sourceMappingURL=PuzzleIDProp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PuzzleIDProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-2/PuzzleIDProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,qBAAa,YAAa,SAAQ,iBAAiB,CACjD;IAAE,YAAY,EAAE,YAAY,CAAA;CAAE,EAC9B,QAAQ,CACT;IACO,MAAM,CAAC,MAAM,EAAE;QAAE,YAAY,EAAE,YAAY,CAAA;KAAE,GAAG,OAAO,CAAC,QAAQ,CAAC;CAGxE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PuzzleAlgProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-3/PuzzleAlgProp.ts"],"names":[],"mappings":"AACA,OAAO,EAAW,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAa,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,qBAAa,aAAc,SAAQ,iBAAiB,CAClD;IAAE,aAAa,EAAE,aAAa,CAAC;IAAC,SAAS,EAAE,iBAAiB,CAAA;CAAE,EAC9D,aAAa,CACd;IACO,MAAM,CAAC,MAAM,EAAE;QACnB,aAAa,EAAE,aAAa,CAAC;QAC7B,SAAS,EAAE,iBAAiB,CAAC;KAC9B,GAAG,OAAO,CAAC,aAAa,CAAC;CAe3B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"VisualizationStrategyProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-3/VisualizationStrategyProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,aAAK,+BAA+B,GAAG;IACrC,oBAAoB,EAAE,2BAA2B,CAAC;IAClD,QAAQ,EAAE,QAAQ,CAAC;CACpB,CAAC;AAEF,oBAAY,qBAAqB,GAC7B,QAAQ,GACR,IAAI,GACJ,oBAAoB,GACpB,MAAM,CAAC;AAEX,qBAAa,yBAA0B,SAAQ,iBAAiB,CAC9D,+BAA+B,EAC/B,qBAAqB,CACtB;IACC,MAAM,CAAC,MAAM,EAAE,+BAA+B,GAAG,qBAAqB;CAyBvE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlgTransformationProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-4/AlgTransformationProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAG1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,aAAK,2BAA2B,GAAG;IACjC,GAAG,EAAE,aAAa,CAAC;IACnB,GAAG,EAAE,iBAAiB,CAAC;CACxB,CAAC;AAEF,qBAAa,qBAAsB,SAAQ,iBAAiB,CAC1D,2BAA2B,EAC3B,cAAc,CACf;IACC,MAAM,CAAC,KAAK,EAAE,2BAA2B,GAAG,cAAc;IAI1D,QAAQ,CAAC,GAAG,EAAE,iBAAiB,EAAE,GAAG,EAAE,GAAG,GAAG,cAAc;CAO3D"}
@@ -1,17 +0,0 @@
1
- import type { IndexerConstructor } from "../../old/animation/cursor/AlgCursor";
2
- import type { PuzzleID } from "../../old/dom/TwistyPlayerConfig";
3
- import type { AlgWithIssues } from "../depth-0/AlgProp";
4
- import type { IndexerStrategyName } from "../depth-0/IndexerConstructorRequestProp";
5
- import type { VisualizationStrategy } from "../depth-3/VisualizationStrategyProp";
6
- import { TwistyPropDerived } from "../TwistyProp";
7
- interface IndexerConstructorPropInputs {
8
- puzzle: PuzzleID;
9
- alg: AlgWithIssues;
10
- visualizationStrategy: VisualizationStrategy;
11
- indexerConstructorRequest: IndexerStrategyName;
12
- }
13
- export declare class IndexerConstructorProp extends TwistyPropDerived<IndexerConstructorPropInputs, IndexerConstructor> {
14
- derive(inputs: IndexerConstructorPropInputs): IndexerConstructor;
15
- }
16
- export {};
17
- //# sourceMappingURL=IndexerConstructorProp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IndexerConstructorProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-4/IndexerConstructorProp.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAI/E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,UAAU,4BAA4B;IACpC,MAAM,EAAE,QAAQ,CAAC;IACjB,GAAG,EAAE,aAAa,CAAC;IACnB,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,yBAAyB,EAAE,mBAAmB,CAAC;CAChD;AAGD,qBAAa,sBAAuB,SAAQ,iBAAiB,CAC3D,4BAA4B,EAC5B,kBAAkB,CACnB;IACC,MAAM,CAAC,MAAM,EAAE,4BAA4B,GAAG,kBAAkB;CAsBjE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"OrbitCoordinatesProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-4/OrbitCoordinatesProp.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EACT,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,iBAAiB,EAEjB,uBAAuB,EACvB,kBAAkB,EACnB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAElF,UAAU,0BAA0B;IAClC,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,aAAa,EAAE,iBAAiB,CAAC;IACjC,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,qBAAqB,CAAC;CACjC;AAED,qBAAa,oBAAqB,SAAQ,iBAAiB,CACzD,0BAA0B,EAC1B,kBAAkB,CACnB;IACC,aAAa,CAAC,EAAE,EAAE,kBAAkB,EAAE,EAAE,EAAE,kBAAkB;IAItD,MAAM,CACV,MAAM,EAAE,0BAA0B,GACjC,OAAO,CAAC,kBAAkB,CAAC;CAyB/B"}
@@ -1,15 +0,0 @@
1
- import type { KPuzzleDefinition } from "../../../kpuzzle";
2
- import type { IndexerConstructor } from "../../old/animation/cursor/AlgCursor";
3
- import type { AlgIndexer } from "../../old/animation/indexer/AlgIndexer";
4
- import type { AlgWithIssues } from "../depth-0/AlgProp";
5
- import { TwistyPropDerived } from "../TwistyProp";
6
- declare type IndexerPropInputs = {
7
- indexerConstructor: IndexerConstructor;
8
- algWithIssues: AlgWithIssues;
9
- def: KPuzzleDefinition;
10
- };
11
- export declare class IndexerProp extends TwistyPropDerived<IndexerPropInputs, AlgIndexer<any>> {
12
- derive(input: IndexerPropInputs): AlgIndexer<any>;
13
- }
14
- export {};
15
- //# sourceMappingURL=IndexerProp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IndexerProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-5/IndexerProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,aAAK,iBAAiB,GAAG;IACvB,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,aAAa,EAAE,aAAa,CAAC;IAC7B,GAAG,EAAE,iBAAiB,CAAC;CACxB,CAAC;AACF,qBAAa,WAAY,SAAQ,iBAAiB,CAChD,iBAAiB,EACjB,UAAU,CAAC,GAAG,CAAC,CAChB;IACC,MAAM,CAAC,KAAK,EAAE,iBAAiB,GAAG,UAAU,CAAC,GAAG,CAAC;CAOlD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnchoredStartProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-6/AnchoredStartProp.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,iBAAiB,EACjB,cAAc,EACf,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,UAAU,uBAAuB;IAC/B,WAAW,EAAE,eAAe,CAAC;IAC7B,mBAAmB,EAAE,cAAc,CAAC;IACpC,OAAO,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;IACzB,GAAG,EAAE,iBAAiB,CAAC;CACxB;AAED,qBAAa,iBAAkB,SAAQ,iBAAiB,CACtD,uBAAuB,EACvB,cAAc,CACf;IACC,MAAM,CAAC,MAAM,EAAE,uBAAuB,GAAG,cAAc;CAsBxD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TimeRangeProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-6/TimeRangeProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,qBAAa,aAAc,SAAQ,iBAAiB,CAClD;IAAE,OAAO,EAAE,UAAU,CAAC,GAAG,CAAC,CAAA;CAAE,EAC5B,SAAS,CACV;IACC,MAAM,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,UAAU,CAAC,GAAG,CAAC,CAAA;KAAE,GAAG,SAAS;CAMxD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DetailedTimelineInfoProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-7/DetailedTimelineInfoProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,UAAU,0BAA0B;IAClC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,eAAe,CAAC;CAC9B;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,oBAAoB,CAAC;IAChC,SAAS,EAAE,SAAS,CAAC;IAGrB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,qBAAa,wBAAyB,SAAQ,iBAAiB,CAC7D,0BAA0B,EAC1B,oBAAoB,CACrB;;IACC,MAAM,CAAC,MAAM,EAAE,0BAA0B,GAAG,oBAAoB;IAyChE,QAAQ,CAAC,EAAE,EAAE,oBAAoB,EAAE,EAAE,EAAE,oBAAoB;CAS5D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CoarseTimelineInfoProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-8/CoarseTimelineInfoProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,UAAU,gBAAgB;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AACD,oBAAY,iBAAiB,GAAG,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAAC;AAExE,UAAU,wBAAwB;IAChC,WAAW,EAAE,WAAW,CAAC;IACzB,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;CAChB;AAID,qBAAa,sBAAuB,SAAQ,iBAAiB,CAC3D,wBAAwB,EACxB,kBAAkB,CACnB;IACC,MAAM,CAAC,MAAM,EAAE,wBAAwB,GAAG,kBAAkB;IAQ5D,aAAa,CAAC,EAAE,EAAE,kBAAkB,EAAE,EAAE,EAAE,kBAAkB,GAAG,OAAO;CAOvE"}
@@ -1,12 +0,0 @@
1
- import type { AlgIndexer, CurrentMoveInfo } from "../../old/animation/indexer/AlgIndexer";
2
- import type { DetailedTimelineInfo } from "../depth-7/DetailedTimelineInfoProp";
3
- import { TwistyPropDerived } from "../TwistyProp";
4
- interface PositionPropInputs {
5
- indexer: AlgIndexer<any>;
6
- detailedTimelineInfo: DetailedTimelineInfo;
7
- }
8
- export declare class CurrentLeavesProp extends TwistyPropDerived<PositionPropInputs, CurrentMoveInfo> {
9
- derive(inputs: PositionPropInputs): CurrentMoveInfo;
10
- }
11
- export {};
12
- //# sourceMappingURL=CurrentLeavesProp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CurrentLeavesProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-8/CurrentLeavesProp.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,UAAU,EACV,eAAe,EAChB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,UAAU,kBAAkB;IAC1B,OAAO,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;IACzB,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C;AAGD,qBAAa,iBAAkB,SAAQ,iBAAiB,CACtD,kBAAkB,EAClB,eAAe,CAChB;IACC,MAAM,CAAC,MAAM,EAAE,kBAAkB,GAAG,eAAe;CAuEpD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ButtonAppearanceProp.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-9/ButtonAppearanceProp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAE/E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,KAAK,EAAE,kBAAkB,IAAI,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAClG,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,WAAW,UAUvB,CAAC;AACF,oBAAY,UAAU,GAAG,OAAO,WAAW,CAAC,MAAM,CAAC,CAAC;AAEpD,UAAU,gBAAgB;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AACD,oBAAY,iBAAiB,GAAG,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAAC;AAGxE,UAAU,0BAA0B;IAClC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,UAAU,EAAE,sBAAsB,CAAC;CACpC;AAED,qBAAa,oBAAqB,SAAQ,iBAAiB,CACzD,0BAA0B,EAC1B,iBAAiB,CAClB;IAEC,MAAM,CAAC,MAAM,EAAE,0BAA0B,GAAG,iBAAiB;CA+C9D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CurrentLeavesSimplified.d.ts","sourceRoot":"","sources":["../../../../../src/cubing/twisty/model/depth-9/CurrentLeavesSimplified.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,UAAU,iCAAiC;IACzC,eAAe,EAAE,eAAe,CAAC;CAClC;AAED,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,IAAI,EAAE,CAAC;IACvB,aAAa,EAAE,IAAI,EAAE,CAAC;CACvB;AAGD,qBAAa,2BAA4B,SAAQ,iBAAiB,CAChE,iCAAiC,EACjC,uBAAuB,CACxB;IACC,MAAM,CAAC,MAAM,EAAE,iCAAiC,GAAG,uBAAuB;IAY1E,QAAQ,CAAC,EAAE,EAAE,uBAAuB,EAAE,EAAE,EAAE,uBAAuB,GAAG,OAAO;CAe5E"}
@@ -1,9 +0,0 @@
1
- import type { Twisty3DPuzzle } from "./Twisty3DPuzzle";
2
- import { Object3D } from "three";
3
- import type { AlgCursor } from "../../../old/animation/cursor/AlgCursor";
4
- import type { PuzzlePosition } from "../../../old/animation/cursor/CursorTypes";
5
- export declare class TwistyTestBox extends Object3D implements Twisty3DPuzzle {
6
- constructor(cursor: AlgCursor);
7
- onPositionChange(_position: PuzzlePosition): void;
8
- }
9
- //# sourceMappingURL=TwistyTestBox.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TwistyTestBox.d.ts","sourceRoot":"","sources":["../../../../../../src/cubing/twisty/views/3D/puzzles/TwistyTestBox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAkC,QAAQ,EAAQ,MAAM,OAAO,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAEhF,qBAAa,aAAc,SAAQ,QAAS,YAAW,cAAc;gBACvD,MAAM,EAAE,SAAS;IAY7B,gBAAgB,CAAC,SAAS,EAAE,cAAc,GAAG,IAAI;CAGlD"}
@@ -1,21 +0,0 @@
1
- /**
2
- * @author mrdoob / http://mrdoob.com/
3
- */
4
- export function Stats(): {
5
- REVISION: number;
6
- dom: HTMLDivElement;
7
- addPanel: (panel: any) => any;
8
- showPanel: (id: any) => void;
9
- begin: () => void;
10
- end: () => number;
11
- update: () => void;
12
- domElement: HTMLDivElement;
13
- setMode: (id: any) => void;
14
- };
15
- export namespace Stats {
16
- function Panel(name: any, fg: any, bg: any): {
17
- dom: HTMLCanvasElement;
18
- update: (value: any, maxValue: any) => void;
19
- };
20
- }
21
- //# sourceMappingURL=stats.module.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stats.module.d.ts","sourceRoot":"","sources":["../../../../../../../src/cubing/vendor/three/examples/jsm/libs/stats.module.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;;;EA2FC;;IAED;;;MA6EC"}
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,22 +0,0 @@
1
- import type { Twisty3DPuzzle } from "./Twisty3DPuzzle";
2
- import { BoxGeometry, MeshBasicMaterial, Object3D, Mesh } from "three";
3
- import type { AlgCursor } from "../../../old/animation/cursor/AlgCursor";
4
- import type { PuzzlePosition } from "../../../old/animation/cursor/CursorTypes";
5
-
6
- export class TwistyTestBox extends Object3D implements Twisty3DPuzzle {
7
- constructor(cursor: AlgCursor) {
8
- super();
9
- const geometry = new BoxGeometry(1, 1, 1);
10
- const material = new MeshBasicMaterial({ color: 0x00ff00 });
11
- const cube = new Mesh(geometry, material);
12
-
13
- this.add(cube);
14
-
15
- /*...*/
16
- cursor.addPositionListener(this);
17
- }
18
-
19
- onPositionChange(_position: PuzzlePosition): void {
20
- // nothing
21
- }
22
- }
Binary file
@@ -1,24 +0,0 @@
1
- declare interface Stats {
2
- REVISION: number;
3
- dom: HTMLDivElement;
4
- addPanel(panel: Stats.Panel): Stats.Panel;
5
- showPanel(id: number): void;
6
- begin(): void;
7
- end(): void;
8
- update(): void;
9
- domElement: HTMLDivElement;
10
- setMode(id: number): void;
11
- }
12
-
13
- declare function Stats(): Stats;
14
-
15
- declare namespace Stats {
16
- interface Panel {
17
- dom: HTMLCanvasElement;
18
- update(value: number, maxValue: number): void;
19
- }
20
-
21
- function Panel(name?: string, fg?: string, bg?: string): Panel;
22
- }
23
-
24
- export { Stats };
@@ -1,179 +0,0 @@
1
- /**
2
- * @author mrdoob / http://mrdoob.com/
3
- */
4
-
5
- var Stats = function () {
6
- var mode = 0;
7
-
8
- var container = document.createElement("div");
9
- container.style.cssText =
10
- "position:fixed;top:0;left:0;cursor:pointer;opacity:0.9;z-index:10000";
11
- container.addEventListener(
12
- "click",
13
- function (event) {
14
- event.preventDefault();
15
- showPanel(++mode % container.children.length);
16
- },
17
- false,
18
- );
19
-
20
- //
21
-
22
- function addPanel(panel) {
23
- container.appendChild(panel.dom);
24
- return panel;
25
- }
26
-
27
- function showPanel(id) {
28
- for (var i = 0; i < container.children.length; i++) {
29
- container.children[i].style.display = i === id ? "block" : "none";
30
- }
31
-
32
- mode = id;
33
- }
34
-
35
- //
36
-
37
- var beginTime = (performance || Date).now(),
38
- prevTime = beginTime,
39
- frames = 0;
40
-
41
- var fpsPanel = addPanel(new Stats.Panel("FPS", "#0ff", "#002"));
42
- var msPanel = addPanel(new Stats.Panel("MS", "#0f0", "#020"));
43
-
44
- if (self.performance && self.performance.memory) {
45
- var memPanel = addPanel(new Stats.Panel("MB", "#f08", "#201"));
46
- }
47
-
48
- showPanel(0);
49
-
50
- return {
51
- REVISION: 16,
52
-
53
- dom: container,
54
-
55
- addPanel: addPanel,
56
- showPanel: showPanel,
57
-
58
- begin: function () {
59
- beginTime = (performance || Date).now();
60
- },
61
-
62
- end: function () {
63
- frames++;
64
-
65
- var time = (performance || Date).now();
66
-
67
- msPanel.update(time - beginTime, 200);
68
-
69
- if (time >= prevTime + 1000) {
70
- fpsPanel.update((frames * 1000) / (time - prevTime), 100);
71
-
72
- prevTime = time;
73
- frames = 0;
74
-
75
- if (memPanel) {
76
- var memory = performance.memory;
77
- memPanel.update(
78
- memory.usedJSHeapSize / 1048576,
79
- memory.jsHeapSizeLimit / 1048576,
80
- );
81
- }
82
- }
83
-
84
- return time;
85
- },
86
-
87
- update: function () {
88
- beginTime = this.end();
89
- },
90
-
91
- // Backwards Compatibility
92
-
93
- domElement: container,
94
- setMode: showPanel,
95
- };
96
- };
97
-
98
- Stats.Panel = function (name, fg, bg) {
99
- var min = Infinity,
100
- max = 0,
101
- round = Math.round;
102
- var PR = round(window.devicePixelRatio || 1);
103
-
104
- var WIDTH = 80 * PR,
105
- HEIGHT = 48 * PR,
106
- TEXT_X = 3 * PR,
107
- TEXT_Y = 2 * PR,
108
- GRAPH_X = 3 * PR,
109
- GRAPH_Y = 15 * PR,
110
- GRAPH_WIDTH = 74 * PR,
111
- GRAPH_HEIGHT = 30 * PR;
112
-
113
- var canvas = document.createElement("canvas");
114
- canvas.width = WIDTH;
115
- canvas.height = HEIGHT;
116
- canvas.style.cssText = "width:80px;height:48px";
117
-
118
- var context = canvas.getContext("2d");
119
- context.font = `bold ${9 * PR}px Helvetica,Arial,sans-serif`;
120
- context.textBaseline = "top";
121
-
122
- context.fillStyle = bg;
123
- context.fillRect(0, 0, WIDTH, HEIGHT);
124
-
125
- context.fillStyle = fg;
126
- context.fillText(name, TEXT_X, TEXT_Y);
127
- context.fillRect(GRAPH_X, GRAPH_Y, GRAPH_WIDTH, GRAPH_HEIGHT);
128
-
129
- context.fillStyle = bg;
130
- context.globalAlpha = 0.9;
131
- context.fillRect(GRAPH_X, GRAPH_Y, GRAPH_WIDTH, GRAPH_HEIGHT);
132
-
133
- return {
134
- dom: canvas,
135
-
136
- update: function (value, maxValue) {
137
- min = Math.min(min, value);
138
- max = Math.max(max, value);
139
-
140
- context.fillStyle = bg;
141
- context.globalAlpha = 1;
142
- context.fillRect(0, 0, WIDTH, GRAPH_Y);
143
- context.fillStyle = fg;
144
- context.fillText(
145
- // eslint-disable-next-line @typescript-eslint/restrict-plus-operands
146
- round(value) + " " + name + " (" + round(min) + "-" + round(max) + ")",
147
- TEXT_X,
148
- TEXT_Y,
149
- );
150
-
151
- context.drawImage(
152
- canvas,
153
- GRAPH_X + PR,
154
- GRAPH_Y,
155
- GRAPH_WIDTH - PR,
156
- GRAPH_HEIGHT,
157
- GRAPH_X,
158
- GRAPH_Y,
159
- GRAPH_WIDTH - PR,
160
- GRAPH_HEIGHT,
161
- );
162
-
163
- context.fillRect(GRAPH_X + GRAPH_WIDTH - PR, GRAPH_Y, PR, GRAPH_HEIGHT);
164
-
165
- context.fillStyle = bg;
166
- context.globalAlpha = 0.9;
167
- context.fillRect(
168
- GRAPH_X + GRAPH_WIDTH - PR,
169
- GRAPH_Y,
170
- PR,
171
- round((1 - value / maxValue) * GRAPH_HEIGHT),
172
- );
173
- },
174
- };
175
- };
176
-
177
- // This has been changed from `export default` because otherwise `npx jest`
178
- // trips up on it.
179
- export { Stats };