cubing 0.22.0 → 0.24.0-pre2

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 (1061) hide show
  1. package/README.md +5 -8
  2. package/alg/package.json +1 -3
  3. package/bluetooth/package.json +1 -3
  4. package/dist/esm/{2x2x2.kpuzzle.json-JOGUSQ4N.js → 2x2x2.kpuzzle.json-U5KOZCMU.js} +11 -11
  5. package/dist/esm/2x2x2.kpuzzle.json-U5KOZCMU.js.map +7 -0
  6. package/{src/cubing/search/inside/solve/puzzles/2x2x2.sgs.json.ts → dist/esm/2x2x2.sgs.json-UAYPCQVL.js} +21 -13
  7. package/dist/esm/2x2x2.sgs.json-UAYPCQVL.js.map +7 -0
  8. package/dist/esm/{3d-3WQVOHX5.js → 3d-NFF7OGTI.js} +4 -4
  9. package/dist/esm/{3d-3WQVOHX5.js.map → 3d-NFF7OGTI.js.map} +0 -0
  10. package/dist/esm/bluetooth/index.d.ts +1 -1
  11. package/dist/esm/bluetooth/index.js +46 -38
  12. package/dist/esm/bluetooth/index.js.map +3 -3
  13. package/dist/esm/chunk-27KJGD3S.js +84 -0
  14. package/dist/esm/chunk-27KJGD3S.js.map +7 -0
  15. package/dist/esm/chunk-37EHU3GZ.js +66 -0
  16. package/dist/esm/chunk-37EHU3GZ.js.map +7 -0
  17. package/dist/esm/chunk-7OPCF2OL.js +274 -0
  18. package/dist/esm/chunk-7OPCF2OL.js.map +7 -0
  19. package/dist/esm/chunk-BJIOROQC.js +18 -0
  20. package/dist/esm/chunk-BJIOROQC.js.map +7 -0
  21. package/dist/{bin/puzzle-geometry-bin.js → esm/chunk-J2U2GRS4.js} +104 -1488
  22. package/dist/esm/chunk-J2U2GRS4.js.map +7 -0
  23. package/dist/esm/chunk-KCRFOAR4.js +122 -0
  24. package/dist/esm/chunk-KCRFOAR4.js.map +7 -0
  25. package/{src/cubing/search/inside/solve/puzzles/pyraminx.sgs.json.ts → dist/esm/chunk-NPK6Z4AU.js} +22 -17
  26. package/dist/esm/chunk-NPK6Z4AU.js.map +7 -0
  27. package/dist/esm/chunk-NV5ESXTN.js +505 -0
  28. package/dist/esm/chunk-NV5ESXTN.js.map +7 -0
  29. package/dist/esm/{chunk-DLN5QS4V.js → chunk-REMJV2GO.js} +38 -51
  30. package/dist/esm/chunk-REMJV2GO.js.map +7 -0
  31. package/dist/esm/chunk-TB4D4E2W.js +226 -0
  32. package/dist/esm/chunk-TB4D4E2W.js.map +7 -0
  33. package/dist/esm/chunk-TNRZDNGH.js +822 -0
  34. package/dist/esm/chunk-TNRZDNGH.js.map +7 -0
  35. package/{src/cubing/search/inside/solve/puzzles/megaminx.sgs.json.ts → dist/esm/chunk-YN7E5RGM.js} +36 -24
  36. package/dist/esm/chunk-YN7E5RGM.js.map +7 -0
  37. package/dist/esm/{chunk-HXKINJ7U.js → chunk-ZLIK3DZT.js} +79 -57
  38. package/dist/esm/chunk-ZLIK3DZT.js.map +7 -0
  39. package/dist/esm/{clock.kpuzzle.json-EKWRMHJM.js → clock.kpuzzle.json-J3YBOI3G.js} +7 -45
  40. package/dist/esm/clock.kpuzzle.json-J3YBOI3G.js.map +7 -0
  41. package/dist/esm/entry-PHAJAE4E.js +536 -0
  42. package/dist/esm/entry-PHAJAE4E.js.map +7 -0
  43. package/dist/esm/esm-test-worker.js +3 -14
  44. package/dist/esm/esm-test-worker.js.map +3 -3
  45. package/dist/esm/fto.sgs.json-VO6HST2V.js +641 -0
  46. package/dist/esm/fto.sgs.json-VO6HST2V.js.map +7 -0
  47. package/{src/cubing/search/inside/solve/vendor/min2phase/gwt.js → dist/esm/gwt-B7CBESZR.js} +350 -1380
  48. package/dist/esm/gwt-B7CBESZR.js.map +7 -0
  49. package/dist/esm/kpuzzle/index.js +5 -35
  50. package/dist/esm/megaminx.sgs.json-R3MK4HXM.js +16 -0
  51. package/dist/esm/megaminx.sgs.json-R3MK4HXM.js.map +7 -0
  52. package/dist/esm/module-entry-UYTOFYBC.js +18 -0
  53. package/dist/esm/module-entry-UYTOFYBC.js.map +7 -0
  54. package/dist/esm/{node-BSAQKO3G.js → node-SP4L2AKI.js} +2 -2
  55. package/dist/esm/{node-BSAQKO3G.js.map → node-SP4L2AKI.js.map} +1 -1
  56. package/dist/esm/{node-WEHVBEKP.js → node-W3AD4HBK.js} +3 -2
  57. package/dist/esm/node-W3AD4HBK.js.map +7 -0
  58. package/dist/esm/protocol/index.js +2 -1
  59. package/dist/esm/puzzle-geometry/index.js +15 -4053
  60. package/dist/esm/puzzle-geometry/index.js.map +3 -3
  61. package/dist/esm/puzzles/index.js +4 -4
  62. package/dist/esm/pyraminx.sgs.json-R3J3JHMV.js +14 -0
  63. package/dist/esm/pyraminx.sgs.json-R3J3JHMV.js.map +7 -0
  64. package/dist/esm/scramble/index.js +5 -3
  65. package/{src/cubing/search/inside/solve/vendor/cstimer/src/js/scramble/scramble_444.ts → dist/esm/scramble_444-F3YANDPO.js} +367 -586
  66. package/dist/esm/scramble_444-F3YANDPO.js.map +7 -0
  67. package/{src/cubing/search/inside/solve/vendor/sq12phase/scramble_sq1.js → dist/esm/scramble_sq1-PQ2AYBFW.js} +143 -290
  68. package/dist/esm/scramble_sq1-PQ2AYBFW.js.map +7 -0
  69. package/dist/esm/search/index.js +7 -4
  70. package/dist/esm/skewb.sgs.json-T6CO36WU.js +16 -0
  71. package/dist/esm/skewb.sgs.json-T6CO36WU.js.map +7 -0
  72. package/dist/esm/{sq1-hyperorbit.kpuzzle.json-N3FGCPML.js → sq1-hyperorbit.kpuzzle.json-AWDGN4ZW.js} +6 -6
  73. package/dist/esm/sq1-hyperorbit.kpuzzle.json-AWDGN4ZW.js.map +7 -0
  74. package/dist/esm/twisty/index.js +342 -231
  75. package/dist/esm/twisty/index.js.map +3 -3
  76. package/dist/esm/worker-inside-generated-string-6YDSDSRJ.js +3447 -0
  77. package/dist/esm/worker-inside-generated-string-6YDSDSRJ.js.map +7 -0
  78. package/dist/{esm → types}/.DS_Store +0 -0
  79. package/dist/types/alg/Alg.d.ts +0 -1
  80. package/dist/types/alg/Alg.spec.d.ts +0 -1
  81. package/dist/types/alg/AlgBuilder.d.ts +0 -1
  82. package/dist/types/alg/Serializable.d.ts +0 -1
  83. package/dist/types/alg/common.d.ts +0 -1
  84. package/dist/types/alg/debug.d.ts +0 -1
  85. package/dist/types/alg/example.d.ts +0 -1
  86. package/dist/types/alg/index.d.ts +0 -1
  87. package/dist/types/alg/is.d.ts +0 -1
  88. package/dist/types/alg/iteration.d.ts +0 -1
  89. package/dist/types/alg/keyboard.d.ts +0 -1
  90. package/dist/types/alg/limits.d.ts +0 -1
  91. package/dist/types/alg/operation.d.ts +0 -1
  92. package/dist/types/alg/operation.spec.d.ts +0 -1
  93. package/dist/types/alg/parse.d.ts +0 -1
  94. package/dist/types/alg/parse.spec.d.ts +0 -1
  95. package/dist/types/alg/test/alg-comparison.d.ts +0 -1
  96. package/dist/types/alg/test/alg.spec.d.ts +0 -1
  97. package/dist/types/alg/traversal.d.ts +0 -1
  98. package/dist/types/alg/units/QuantumWithAmount.d.ts +0 -1
  99. package/dist/types/alg/units/Unit.d.ts +0 -1
  100. package/dist/types/alg/units/containers/Commutator.d.ts +0 -1
  101. package/dist/types/alg/units/containers/Conjugate.d.ts +0 -1
  102. package/dist/types/alg/units/containers/Grouping.d.ts +0 -1
  103. package/dist/types/alg/units/index.d.ts +0 -1
  104. package/dist/types/alg/units/leaves/LineComment.d.ts +0 -1
  105. package/dist/types/alg/units/leaves/LineComment.spec.d.ts +0 -1
  106. package/dist/types/alg/units/leaves/Move.d.ts +0 -1
  107. package/dist/types/alg/units/leaves/Move.spec.d.ts +0 -1
  108. package/dist/types/alg/units/leaves/Newline.d.ts +0 -1
  109. package/dist/types/alg/units/leaves/Pause.d.ts +0 -1
  110. package/dist/types/alg/url.d.ts +0 -1
  111. package/dist/types/alg/url.spec.d.ts +0 -1
  112. package/dist/types/alg/validation.d.ts +0 -1
  113. package/dist/types/alg/warnOnce.d.ts +0 -1
  114. package/dist/types/bluetooth/connect/index.d.ts +0 -1
  115. package/dist/types/bluetooth/debug.d.ts +0 -1
  116. package/dist/types/bluetooth/index.d.ts +0 -1
  117. package/dist/types/bluetooth/keyboard.d.ts +5 -5
  118. package/dist/types/bluetooth/smart-puzzle/Heykube.d.ts +3 -3
  119. package/dist/types/bluetooth/smart-puzzle/bluetooth-puzzle.d.ts +3 -5
  120. package/dist/types/bluetooth/smart-puzzle/connect.d.ts +0 -1
  121. package/dist/types/bluetooth/smart-puzzle/endianness.d.ts +0 -1
  122. package/dist/types/bluetooth/smart-puzzle/gan.d.ts +5 -4
  123. package/dist/types/bluetooth/smart-puzzle/giiker.d.ts +3 -3
  124. package/dist/types/bluetooth/smart-puzzle/giiker.spec.d.ts +0 -1
  125. package/dist/types/bluetooth/smart-puzzle/gocube.d.ts +0 -1
  126. package/dist/types/bluetooth/smart-robot/GanRobot.d.ts +0 -1
  127. package/dist/types/bluetooth/smart-robot/index.d.ts +0 -1
  128. package/dist/types/bluetooth/smart-timer/GanTimer.d.ts +0 -1
  129. package/dist/types/bluetooth/smart-timer/index.d.ts +0 -1
  130. package/dist/types/bluetooth/transformer.d.ts +0 -1
  131. package/dist/types/cubing.bundle-global.d.ts +0 -1
  132. package/{src/cubing/cubing.bundle-global.ts → dist/types/cubing.bundle-global.exports.d.ts} +12 -19
  133. package/dist/types/esm-test-worker.d.ts +0 -1
  134. package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.d.ts +2 -3
  135. package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.spec.d.ts +0 -1
  136. package/dist/types/kpuzzle/3x3x3/puzzle-orientation.d.ts +4 -0
  137. package/dist/types/kpuzzle/KPuzzle.d.ts +25 -0
  138. package/dist/types/kpuzzle/KPuzzleDefinition.d.ts +20 -0
  139. package/dist/types/kpuzzle/KState.d.ts +16 -0
  140. package/dist/types/kpuzzle/KTransformation.d.ts +20 -0
  141. package/dist/types/kpuzzle/calculate.d.ts +16 -0
  142. package/dist/types/kpuzzle/combine.d.ts +3 -0
  143. package/dist/types/kpuzzle/construct.d.ts +5 -0
  144. package/dist/types/kpuzzle/index.d.ts +6 -10
  145. package/dist/types/notation/CountAnimatedLeaves.d.ts +0 -1
  146. package/dist/types/notation/CountMoves.d.ts +0 -1
  147. package/dist/types/notation/index.d.ts +0 -1
  148. package/dist/types/protocol/binary/binary3x3x3.d.ts +5 -6
  149. package/dist/types/protocol/binary/binary3x3x3.spec.d.ts +0 -1
  150. package/dist/types/protocol/binary/hex.d.ts +0 -1
  151. package/dist/types/protocol/binary/hex.spec.d.ts +0 -1
  152. package/dist/types/protocol/binary/orbit-indexing.d.ts +0 -1
  153. package/dist/types/protocol/binary/orbit-indexing.spec.d.ts +0 -1
  154. package/dist/types/protocol/binary/puzzle-orientation.d.ts +4 -5
  155. package/dist/types/protocol/index.d.ts +0 -1
  156. package/dist/types/puzzle-geometry/FaceNameSwizzler.d.ts +0 -1
  157. package/dist/types/puzzle-geometry/Options.d.ts +0 -1
  158. package/dist/types/puzzle-geometry/PGPuzzles.d.ts +0 -1
  159. package/dist/types/puzzle-geometry/PGPuzzles.spec.d.ts +0 -1
  160. package/dist/types/puzzle-geometry/Perm.d.ts +0 -1
  161. package/dist/types/puzzle-geometry/PermOriSet.d.ts +4 -5
  162. package/dist/types/puzzle-geometry/PlatonicGenerator.d.ts +0 -1
  163. package/dist/types/puzzle-geometry/PuzzleGeometry.d.ts +11 -5
  164. package/dist/types/puzzle-geometry/Quat.d.ts +0 -1
  165. package/dist/types/puzzle-geometry/Quat.spec.d.ts +0 -1
  166. package/dist/types/puzzle-geometry/SchreierSims.d.ts +0 -1
  167. package/dist/types/puzzle-geometry/index.d.ts +2 -2
  168. package/dist/types/puzzle-geometry/notation-mapping/FTONotationMapper.d.ts +0 -1
  169. package/dist/types/puzzle-geometry/notation-mapping/FaceRenamingMapper.d.ts +0 -1
  170. package/dist/types/puzzle-geometry/notation-mapping/MegaminxScramblingNotationMapper.d.ts +0 -1
  171. package/dist/types/puzzle-geometry/notation-mapping/NotationMapper.d.ts +3 -2
  172. package/dist/types/puzzle-geometry/notation-mapping/NullMapper.d.ts +0 -1
  173. package/dist/types/puzzle-geometry/notation-mapping/NxNxNCubeMapper.d.ts +0 -1
  174. package/dist/types/puzzle-geometry/notation-mapping/PyraminxNotationMapper.d.ts +0 -1
  175. package/dist/types/puzzle-geometry/notation-mapping/SkewbNotationMapper.d.ts +0 -1
  176. package/dist/types/puzzle-geometry/notation-mapping/index.d.ts +0 -1
  177. package/dist/types/puzzle-geometry/orientcenters.spec.d.ts +0 -1
  178. package/dist/types/puzzles/PuzzleLoader.d.ts +3 -3
  179. package/dist/types/puzzles/async/async-pg3d.d.ts +3 -3
  180. package/dist/types/puzzles/async/lazy-cached-kpuzzle.d.ts +2 -0
  181. package/dist/types/puzzles/customPGPuzzleLoader.d.ts +2 -3
  182. package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.json.d.ts +1 -2
  183. package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.svg.d.ts +0 -1
  184. package/dist/types/puzzles/implementations/2x2x2/index.d.ts +0 -1
  185. package/dist/types/puzzles/implementations/3x3x3/3x3x3-ll.kpuzzle.svg.d.ts +0 -1
  186. package/dist/types/puzzles/implementations/3x3x3/3x3x3.kpuzzle.svg.d.ts +0 -1
  187. package/dist/types/puzzles/implementations/3x3x3/index.d.ts +0 -1
  188. package/dist/types/puzzles/implementations/clock/clock.kpuzzle.json.d.ts +1 -2
  189. package/dist/types/puzzles/implementations/clock/clock.kpuzzle.svg.d.ts +0 -1
  190. package/dist/types/puzzles/implementations/clock/index.d.ts +0 -1
  191. package/dist/types/puzzles/implementations/fto/index.d.ts +0 -1
  192. package/dist/types/puzzles/implementations/megaminx/index.d.ts +0 -1
  193. package/dist/types/puzzles/implementations/pyraminx/index.d.ts +0 -1
  194. package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.json.d.ts +0 -1
  195. package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.svg.d.ts +0 -1
  196. package/dist/types/puzzles/implementations/square1/index.d.ts +0 -1
  197. package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.json.d.ts +1 -2
  198. package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.svg.d.ts +0 -1
  199. package/dist/types/puzzles/index.d.ts +1 -2
  200. package/dist/types/puzzles/stickerings/appearance.d.ts +6 -7
  201. package/dist/types/puzzles/stickerings/cube-stickerings.d.ts +0 -1
  202. package/dist/types/puzzles/stickerings/fto-stickerings.d.ts +0 -1
  203. package/dist/types/puzzles/stickerings/global-custom-stickering-hack.d.ts +0 -1
  204. package/dist/types/puzzles/stickerings/megaminx-stickerings.d.ts +0 -1
  205. package/dist/types/scramble/index.d.ts +0 -1
  206. package/dist/types/search/esm-test-worker.d.ts +0 -1
  207. package/dist/types/search/index.d.ts +0 -1
  208. package/dist/types/search/inside/api.d.ts +6 -7
  209. package/dist/types/search/inside/api.spec.d.ts +0 -1
  210. package/dist/types/search/inside/entry.d.ts +0 -1
  211. package/dist/types/search/inside/inside-worker.d.ts +0 -1
  212. package/dist/types/search/inside/module-entry-path-getter.d.ts +1 -0
  213. package/dist/types/search/inside/module-entry.d.ts +1 -0
  214. package/dist/types/search/inside/solve/addOrientationSuffix.d.ts +0 -1
  215. package/dist/types/search/inside/solve/parseSGS.d.ts +3 -4
  216. package/dist/types/search/inside/solve/puzzles/2x2x2.d.ts +3 -4
  217. package/dist/types/search/inside/solve/puzzles/2x2x2.sgs.json.d.ts +0 -1
  218. package/dist/types/search/inside/solve/puzzles/3x3x3/convert.d.ts +2 -3
  219. package/dist/types/search/inside/solve/puzzles/3x3x3/filter.d.ts +4 -4
  220. package/dist/types/search/inside/solve/puzzles/3x3x3/index.d.ts +3 -4
  221. package/dist/types/search/inside/solve/puzzles/3x3x3/legacy-sgs.d.ts +0 -1
  222. package/dist/types/search/inside/solve/puzzles/3x3x3-inefficient.sgs.json.d.ts +0 -1
  223. package/dist/types/search/inside/solve/puzzles/4x4x4.d.ts +2 -2
  224. package/dist/types/search/inside/solve/puzzles/5x5x5.d.ts +0 -1
  225. package/dist/types/search/inside/solve/puzzles/big-cubes.d.ts +0 -1
  226. package/dist/types/search/inside/solve/puzzles/clock.d.ts +0 -1
  227. package/dist/types/search/inside/solve/puzzles/fto.d.ts +5 -0
  228. package/dist/types/search/inside/solve/puzzles/fto.sgs.json.d.ts +2 -0
  229. package/dist/types/search/inside/solve/puzzles/megaminx.d.ts +2 -3
  230. package/dist/types/search/inside/solve/puzzles/megaminx.sgs.json.d.ts +2 -3
  231. package/dist/types/search/inside/solve/puzzles/pyraminx.d.ts +3 -4
  232. package/dist/types/search/inside/solve/puzzles/pyraminx.sgs.json.d.ts +0 -1
  233. package/dist/types/search/inside/solve/puzzles/sgs-defs.spec.d.ts +0 -1
  234. package/dist/types/search/inside/solve/puzzles/skewb.d.ts +3 -4
  235. package/dist/types/search/inside/solve/puzzles/skewb.sgs.json.d.ts +2 -3
  236. package/dist/types/search/inside/solve/puzzles/sq1.d.ts +0 -1
  237. package/dist/types/search/inside/solve/puzzles/wca-minx.d.ts +0 -1
  238. package/dist/types/search/inside/solve/tremble.d.ts +6 -6
  239. package/dist/types/search/instantiator.d.ts +1 -3
  240. package/dist/types/search/outside.d.ts +6 -7
  241. package/dist/types/search/worker-inside-generated-string.d.ts +1 -2
  242. package/dist/types/stream/index.d.ts +0 -1
  243. package/dist/types/stream/process/ReorientedStream.d.ts +1 -3
  244. package/dist/types/stream/proxy-event.d.ts +0 -1
  245. package/dist/types/stream/twizzle/TwizzleStream.d.ts +0 -1
  246. package/dist/types/stream/twizzle/stream-types.d.ts +0 -1
  247. package/dist/types/stream/websocket-proxy.d.ts +0 -1
  248. package/dist/types/twisty/controllers/AnimationTypes.d.ts +2 -3
  249. package/dist/types/twisty/controllers/RenderScheduler.d.ts +0 -1
  250. package/dist/types/twisty/controllers/TwistyAnimationController.d.ts +0 -1
  251. package/dist/types/twisty/controllers/TwistyPlayerController.d.ts +0 -1
  252. package/dist/types/twisty/controllers/easing.d.ts +0 -1
  253. package/dist/types/twisty/controllers/indexer/AlgDuration.d.ts +0 -1
  254. package/dist/types/twisty/controllers/indexer/AlgIndexer.d.ts +6 -6
  255. package/dist/types/twisty/controllers/indexer/SimpleAlgIndexer.d.ts +7 -7
  256. package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexer.d.ts +8 -8
  257. package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexerV2.d.ts +9 -9
  258. package/dist/types/twisty/controllers/indexer/simultaneous-moves/simul-moves.d.ts +0 -1
  259. package/dist/types/twisty/controllers/indexer/tree/AlgWalker.d.ts +36 -37
  260. package/dist/types/twisty/controllers/indexer/tree/TreeAlgIndexer.d.ts +7 -7
  261. package/dist/types/twisty/controllers/indexer/tree/chunkAlgs.d.ts +0 -1
  262. package/dist/types/twisty/controllers/stream/timeline-move-calculation-draft.d.ts +0 -1
  263. package/dist/types/twisty/heavy-code-imports/3d.d.ts +0 -1
  264. package/dist/types/twisty/heavy-code-imports/dynamic-entries/3d.d.ts +0 -1
  265. package/dist/types/twisty/index.d.ts +1 -2
  266. package/dist/types/twisty/model/PromiseFreshener.d.ts +0 -1
  267. package/dist/types/twisty/model/TwistyPlayerModel.d.ts +6 -7
  268. package/dist/types/twisty/model/UserVisibleErrorTracker.d.ts +0 -1
  269. package/dist/types/twisty/model/helpers.d.ts +0 -1
  270. package/dist/types/twisty/model/props/TwistyProp.d.ts +0 -1
  271. package/dist/types/twisty/model/props/TwistyProp.spec.d.ts +0 -1
  272. package/dist/types/twisty/model/props/TwistyPropDebugger.d.ts +0 -1
  273. package/dist/types/twisty/model/props/general/URLProp.d.ts +0 -1
  274. package/dist/types/twisty/model/props/puzzle/display/FoundationDisplayProp.d.ts +0 -1
  275. package/dist/types/twisty/model/props/puzzle/display/HintFaceletProp.d.ts +0 -1
  276. package/dist/types/twisty/model/props/puzzle/display/SpriteProp.d.ts +0 -1
  277. package/dist/types/twisty/model/props/puzzle/display/StickeringProp.d.ts +2 -1
  278. package/dist/types/twisty/model/props/puzzle/state/AlgProp.d.ts +0 -1
  279. package/dist/types/twisty/model/props/puzzle/state/AlgTransformationProp.d.ts +5 -8
  280. package/dist/types/twisty/model/props/puzzle/state/AnchoredStartProp.d.ts +5 -7
  281. package/dist/types/twisty/model/props/puzzle/state/CatchUpMoveProp.d.ts +0 -1
  282. package/dist/types/twisty/model/props/puzzle/state/CurrentLeavesSimplified.d.ts +0 -1
  283. package/dist/types/twisty/model/props/puzzle/state/{CurrentLeavesProp.d.ts → CurrentMoveInfoProp.d.ts} +2 -3
  284. package/dist/types/twisty/model/props/puzzle/state/CurrentStateProp.d.ts +14 -0
  285. package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorProp.d.ts +7 -8
  286. package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.d.ts +0 -1
  287. package/dist/types/twisty/model/props/puzzle/state/IndexerProp.d.ts +5 -6
  288. package/dist/types/twisty/model/props/puzzle/state/LegacyPositionProp.d.ts +2 -3
  289. package/dist/types/twisty/model/props/puzzle/state/MovePressInputProp.d.ts +6 -2
  290. package/dist/types/twisty/model/props/puzzle/state/NaiveMoveCountProp.d.ts +0 -1
  291. package/dist/types/twisty/model/props/puzzle/state/PuzzleAlgProp.d.ts +4 -5
  292. package/dist/types/twisty/model/props/puzzle/state/SetupAnchorProp.d.ts +0 -1
  293. package/dist/types/twisty/model/props/puzzle/structure/KPuzzleProp.d.ts +10 -0
  294. package/dist/types/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.d.ts +0 -1
  295. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDProp.d.ts +0 -1
  296. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts +0 -1
  297. package/dist/types/twisty/model/props/puzzle/structure/PuzzleLoaderProp.d.ts +0 -1
  298. package/dist/types/twisty/model/props/timeline/CoarseTimelineInfoProp.d.ts +0 -1
  299. package/dist/types/twisty/model/props/timeline/DetailedTimelineInfoProp.d.ts +0 -1
  300. package/dist/types/twisty/model/props/timeline/PlayingInfoProp.d.ts +0 -1
  301. package/dist/types/twisty/model/props/timeline/TempoScaleProp.d.ts +0 -1
  302. package/dist/types/twisty/model/props/timeline/TimestampRequestProp.d.ts +0 -1
  303. package/dist/types/twisty/model/props/viewer/BackViewProp.d.ts +0 -1
  304. package/dist/types/twisty/model/props/viewer/BackgroundProp.d.ts +0 -1
  305. package/dist/types/twisty/model/props/viewer/ButtonAppearanceProp.d.ts +0 -1
  306. package/dist/types/twisty/model/props/viewer/ControlPanelProp.d.ts +0 -1
  307. package/dist/types/twisty/model/props/viewer/LatitudeLimit.d.ts +0 -1
  308. package/dist/types/twisty/model/props/viewer/OrbitCoordinatesProp.d.ts +0 -1
  309. package/dist/types/twisty/model/props/viewer/OrbitCoordinatesRequestProp.d.ts +0 -1
  310. package/dist/types/twisty/model/props/viewer/TimeRangeProp.d.ts +2 -3
  311. package/dist/types/twisty/model/props/viewer/ViewerLinkProp.d.ts +0 -1
  312. package/dist/types/twisty/model/props/viewer/VisualizationProp.d.ts +0 -1
  313. package/dist/types/twisty/model/props/viewer/VisualizationStrategyProp.d.ts +0 -1
  314. package/dist/types/twisty/views/2D/KPuzzleSVGWrapper.d.ts +17 -0
  315. package/dist/types/twisty/views/2D/Twisty2DPuzzle.css.d.ts +0 -1
  316. package/dist/types/twisty/views/2D/Twisty2DPuzzle.d.ts +4 -4
  317. package/dist/types/twisty/views/2D/Twisty2DPuzzleWrapper.d.ts +0 -1
  318. package/dist/types/twisty/views/2D/Twisty2DSceneWrapper.d.ts +0 -1
  319. package/dist/types/twisty/views/3D/DragTracker.d.ts +0 -1
  320. package/dist/types/twisty/views/3D/RendererPool.d.ts +0 -1
  321. package/dist/types/twisty/views/3D/TAU.d.ts +0 -1
  322. package/dist/types/twisty/views/3D/Twisty3DPuzzleWrapper.d.ts +0 -1
  323. package/dist/types/twisty/views/3D/Twisty3DRenderTarget.d.ts +0 -1
  324. package/dist/types/twisty/views/3D/Twisty3DScene.d.ts +0 -1
  325. package/dist/types/twisty/views/3D/Twisty3DSceneWrapper.d.ts +0 -1
  326. package/dist/types/twisty/views/3D/Twisty3DVantage.css.d.ts +0 -1
  327. package/dist/types/twisty/views/3D/Twisty3DVantage.d.ts +0 -1
  328. package/dist/types/twisty/views/3D/TwistyOrbitControls.d.ts +0 -1
  329. package/dist/types/twisty/views/3D/TwistyOrbitControls.spec.d.ts +0 -1
  330. package/dist/types/twisty/views/3D/puzzles/Cube3D.d.ts +4 -5
  331. package/dist/types/twisty/views/3D/puzzles/PG3D.d.ts +5 -6
  332. package/dist/types/twisty/views/3D/puzzles/Twisty3DPuzzle.d.ts +0 -1
  333. package/dist/types/twisty/views/ClassListManager.d.ts +0 -1
  334. package/dist/types/twisty/views/ManagedCustomElement.d.ts +0 -1
  335. package/dist/types/twisty/views/TwistyAlgEditor/LeafTokens.d.ts +0 -1
  336. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.css.d.ts +0 -1
  337. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.d.ts +0 -1
  338. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.spec.d.ts +0 -1
  339. package/dist/types/twisty/views/TwistyAlgEditor/model.d.ts +0 -1
  340. package/dist/types/twisty/views/TwistyAlgViewer.css.d.ts +0 -1
  341. package/dist/types/twisty/views/TwistyAlgViewer.d.ts +0 -1
  342. package/dist/types/twisty/views/TwistyPlayer.css.d.ts +0 -1
  343. package/dist/types/twisty/views/TwistyPlayer.d.ts +0 -1
  344. package/dist/types/twisty/views/TwistyPlayerSettable.d.ts +0 -1
  345. package/dist/types/twisty/views/TwistyViewerWrapper.css.d.ts +0 -1
  346. package/dist/types/twisty/views/canvas.d.ts +0 -1
  347. package/dist/types/twisty/views/control-panel/TwistyButtonsV2.css.d.ts +0 -1
  348. package/dist/types/twisty/views/control-panel/TwistyButtonsV2.d.ts +0 -1
  349. package/dist/types/twisty/views/control-panel/TwistyScrubber.css.d.ts +0 -1
  350. package/dist/types/twisty/views/control-panel/TwistyScrubberV2.d.ts +0 -1
  351. package/dist/types/twisty/views/control-panel/webkit-fullscreen.d.ts +0 -1
  352. package/dist/types/twisty/views/document.d.ts +0 -1
  353. package/dist/types/twisty/views/node-custom-element-shims.d.ts +0 -1
  354. package/dist/types/twisty/views/screenshot.d.ts +0 -1
  355. package/dist/types/twisty/views/stream/TwistyStreamSource.css.d.ts +0 -1
  356. package/dist/types/twisty/views/stream/TwistyStreamSource.d.ts +0 -1
  357. package/{src/cubing/search → dist/types}/vendor/comlink-everywhere/inside/index.d.ts +0 -0
  358. package/dist/types/{search/vendor → vendor}/comlink-everywhere/inside/node.d.ts +0 -1
  359. package/dist/types/{search/vendor → vendor}/comlink-everywhere/outside/index.d.ts +0 -1
  360. package/dist/types/{search/vendor → vendor}/comlink-everywhere/outside/node.d.ts +0 -1
  361. package/dist/types/{search/inside/solve/vendor → vendor}/cstimer/src/js/lib/mathlib.d.ts +0 -1
  362. package/dist/types/{search/inside/solve/vendor → vendor}/cstimer/src/js/scramble/scramble_444.d.ts +1 -2
  363. package/dist/types/{search/inside/solve/vendor → vendor}/min2phase/gwt.d.ts +0 -1
  364. package/dist/types/vendor/p-lazy/p-lazy.d.ts +0 -1
  365. package/dist/types/{search/inside/solve/vendor → vendor}/random-uint-below/get-random-values.d.ts +0 -1
  366. package/dist/types/{search/inside/solve/vendor → vendor}/random-uint-below/index.d.ts +1 -2
  367. package/dist/types/{search/inside/solve/vendor → vendor}/random-uint-below/random-choice.d.ts +0 -1
  368. package/dist/types/{search/inside/solve/vendor/random-uint-below/random-int.d.ts → vendor/random-uint-below/random53BitValue.d.ts} +0 -1
  369. package/dist/types/{search/inside/solve/vendor → vendor}/sq12phase/scramble_sq1.d.ts +0 -1
  370. package/dist/types/vendor/three/examples/jsm/libs/stats.modified.module.d.ts +0 -1
  371. package/dist/types/{bluetooth/smart-puzzle → vendor/unsafe-raw-aes}/unsafe-raw-aes.d.ts +0 -1
  372. package/kpuzzle/package.json +1 -3
  373. package/notation/package.json +1 -3
  374. package/package.json +11 -17
  375. package/protocol/package.json +1 -3
  376. package/puzzle-geometry/package.json +1 -3
  377. package/puzzles/package.json +1 -3
  378. package/scramble/package.json +1 -3
  379. package/search/package.json +1 -3
  380. package/stream/package.json +1 -3
  381. package/twisty/package.json +1 -3
  382. package/alg/index.d.ts +0 -1
  383. package/bluetooth/index.d.ts +0 -1
  384. package/dist/.DS_Store +0 -0
  385. package/dist/bin/puzzle-geometry-bin.js.map +0 -7
  386. package/dist/bundle-global/cubing.bundle-global.js +0 -7419
  387. package/dist/esm/2x2x2.kpuzzle.json-JOGUSQ4N.js.map +0 -7
  388. package/dist/esm/chunk-7KI3I3Y7.js +0 -1379
  389. package/dist/esm/chunk-7KI3I3Y7.js.map +0 -7
  390. package/dist/esm/chunk-DLN5QS4V.js.map +0 -7
  391. package/dist/esm/chunk-HXKINJ7U.js.map +0 -7
  392. package/dist/esm/chunk-X6JHXPDX.js +0 -2359
  393. package/dist/esm/chunk-X6JHXPDX.js.map +0 -7
  394. package/dist/esm/clock.kpuzzle.json-EKWRMHJM.js.map +0 -7
  395. package/dist/esm/index.d.ts +0 -1
  396. package/dist/esm/node-WEHVBEKP.js.map +0 -7
  397. package/dist/esm/sq1-hyperorbit.kpuzzle.json-N3FGCPML.js.map +0 -7
  398. package/dist/esm/worker-inside-generated-string-ZA6E6672.js +0 -2831
  399. package/dist/esm/worker-inside-generated-string-ZA6E6672.js.map +0 -7
  400. package/dist/types/alg/Alg.d.ts.map +0 -1
  401. package/dist/types/alg/Alg.spec.d.ts.map +0 -1
  402. package/dist/types/alg/AlgBuilder.d.ts.map +0 -1
  403. package/dist/types/alg/Serializable.d.ts.map +0 -1
  404. package/dist/types/alg/common.d.ts.map +0 -1
  405. package/dist/types/alg/debug.d.ts.map +0 -1
  406. package/dist/types/alg/example.d.ts.map +0 -1
  407. package/dist/types/alg/index.d.ts.map +0 -1
  408. package/dist/types/alg/is.d.ts.map +0 -1
  409. package/dist/types/alg/iteration.d.ts.map +0 -1
  410. package/dist/types/alg/keyboard.d.ts.map +0 -1
  411. package/dist/types/alg/limits.d.ts.map +0 -1
  412. package/dist/types/alg/operation.d.ts.map +0 -1
  413. package/dist/types/alg/operation.spec.d.ts.map +0 -1
  414. package/dist/types/alg/parse.d.ts.map +0 -1
  415. package/dist/types/alg/parse.spec.d.ts.map +0 -1
  416. package/dist/types/alg/test/alg-comparison.d.ts.map +0 -1
  417. package/dist/types/alg/test/alg.spec.d.ts.map +0 -1
  418. package/dist/types/alg/traversal.d.ts.map +0 -1
  419. package/dist/types/alg/units/QuantumWithAmount.d.ts.map +0 -1
  420. package/dist/types/alg/units/Unit.d.ts.map +0 -1
  421. package/dist/types/alg/units/containers/Commutator.d.ts.map +0 -1
  422. package/dist/types/alg/units/containers/Conjugate.d.ts.map +0 -1
  423. package/dist/types/alg/units/containers/Grouping.d.ts.map +0 -1
  424. package/dist/types/alg/units/index.d.ts.map +0 -1
  425. package/dist/types/alg/units/leaves/LineComment.d.ts.map +0 -1
  426. package/dist/types/alg/units/leaves/LineComment.spec.d.ts.map +0 -1
  427. package/dist/types/alg/units/leaves/Move.d.ts.map +0 -1
  428. package/dist/types/alg/units/leaves/Move.spec.d.ts.map +0 -1
  429. package/dist/types/alg/units/leaves/Newline.d.ts.map +0 -1
  430. package/dist/types/alg/units/leaves/Pause.d.ts.map +0 -1
  431. package/dist/types/alg/url.d.ts.map +0 -1
  432. package/dist/types/alg/url.spec.d.ts.map +0 -1
  433. package/dist/types/alg/validation.d.ts.map +0 -1
  434. package/dist/types/alg/warnOnce.d.ts.map +0 -1
  435. package/dist/types/bluetooth/connect/index.d.ts.map +0 -1
  436. package/dist/types/bluetooth/debug.d.ts.map +0 -1
  437. package/dist/types/bluetooth/index.d.ts.map +0 -1
  438. package/dist/types/bluetooth/keyboard.d.ts.map +0 -1
  439. package/dist/types/bluetooth/smart-puzzle/Heykube.d.ts.map +0 -1
  440. package/dist/types/bluetooth/smart-puzzle/bluetooth-puzzle.d.ts.map +0 -1
  441. package/dist/types/bluetooth/smart-puzzle/connect.d.ts.map +0 -1
  442. package/dist/types/bluetooth/smart-puzzle/endianness.d.ts.map +0 -1
  443. package/dist/types/bluetooth/smart-puzzle/gan.d.ts.map +0 -1
  444. package/dist/types/bluetooth/smart-puzzle/giiker.d.ts.map +0 -1
  445. package/dist/types/bluetooth/smart-puzzle/giiker.spec.d.ts.map +0 -1
  446. package/dist/types/bluetooth/smart-puzzle/gocube.d.ts.map +0 -1
  447. package/dist/types/bluetooth/smart-puzzle/unsafe-raw-aes.d.ts.map +0 -1
  448. package/dist/types/bluetooth/smart-robot/GanRobot.d.ts.map +0 -1
  449. package/dist/types/bluetooth/smart-robot/index.d.ts.map +0 -1
  450. package/dist/types/bluetooth/smart-timer/GanTimer.d.ts.map +0 -1
  451. package/dist/types/bluetooth/smart-timer/index.d.ts.map +0 -1
  452. package/dist/types/bluetooth/transformer.d.ts.map +0 -1
  453. package/dist/types/cubing.bundle-global.d.ts.map +0 -1
  454. package/dist/types/esm-test-worker.d.ts.map +0 -1
  455. package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.d.ts.map +0 -1
  456. package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.spec.d.ts.map +0 -1
  457. package/dist/types/kpuzzle/canon.spec.d.ts +0 -2
  458. package/dist/types/kpuzzle/canon.spec.d.ts.map +0 -1
  459. package/dist/types/kpuzzle/canonicalize.d.ts +0 -55
  460. package/dist/types/kpuzzle/canonicalize.d.ts.map +0 -1
  461. package/dist/types/kpuzzle/definition_types.d.ts +0 -19
  462. package/dist/types/kpuzzle/definition_types.d.ts.map +0 -1
  463. package/dist/types/kpuzzle/index.d.ts.map +0 -1
  464. package/dist/types/kpuzzle/kpuzzle.d.ts +0 -17
  465. package/dist/types/kpuzzle/kpuzzle.d.ts.map +0 -1
  466. package/dist/types/kpuzzle/kpuzzle.spec.d.ts +0 -2
  467. package/dist/types/kpuzzle/kpuzzle.spec.d.ts.map +0 -1
  468. package/dist/types/kpuzzle/move_notation.d.ts +0 -6
  469. package/dist/types/kpuzzle/move_notation.d.ts.map +0 -1
  470. package/dist/types/kpuzzle/parser/index.d.ts +0 -2
  471. package/dist/types/kpuzzle/parser/index.d.ts.map +0 -1
  472. package/dist/types/kpuzzle/parser/parser-peggy.d.ts +0 -15
  473. package/dist/types/kpuzzle/parser/parser-peggy.d.ts.map +0 -1
  474. package/dist/types/kpuzzle/parser/parser-shim.d.ts +0 -4
  475. package/dist/types/kpuzzle/parser/parser-shim.d.ts.map +0 -1
  476. package/dist/types/kpuzzle/parser/parser.d.ts +0 -1
  477. package/dist/types/kpuzzle/parser/parser.d.ts.map +0 -1
  478. package/dist/types/kpuzzle/prunetable.spec.d.ts +0 -2
  479. package/dist/types/kpuzzle/prunetable.spec.d.ts.map +0 -1
  480. package/dist/types/kpuzzle/pruningtable.d.ts +0 -16
  481. package/dist/types/kpuzzle/pruningtable.d.ts.map +0 -1
  482. package/dist/types/kpuzzle/puzzle-orientation.d.ts +0 -5
  483. package/dist/types/kpuzzle/puzzle-orientation.d.ts.map +0 -1
  484. package/dist/types/kpuzzle/svg.d.ts +0 -18
  485. package/dist/types/kpuzzle/svg.d.ts.map +0 -1
  486. package/dist/types/kpuzzle/transformations.d.ts +0 -13
  487. package/dist/types/kpuzzle/transformations.d.ts.map +0 -1
  488. package/dist/types/kpuzzle/transformations.spec.d.ts +0 -2
  489. package/dist/types/kpuzzle/transformations.spec.d.ts.map +0 -1
  490. package/dist/types/notation/CountAnimatedLeaves.d.ts.map +0 -1
  491. package/dist/types/notation/CountMoves.d.ts.map +0 -1
  492. package/dist/types/notation/index.d.ts.map +0 -1
  493. package/dist/types/protocol/binary/binary3x3x3.d.ts.map +0 -1
  494. package/dist/types/protocol/binary/binary3x3x3.spec.d.ts.map +0 -1
  495. package/dist/types/protocol/binary/hex.d.ts.map +0 -1
  496. package/dist/types/protocol/binary/hex.spec.d.ts.map +0 -1
  497. package/dist/types/protocol/binary/orbit-indexing.d.ts.map +0 -1
  498. package/dist/types/protocol/binary/orbit-indexing.spec.d.ts.map +0 -1
  499. package/dist/types/protocol/binary/puzzle-orientation.d.ts.map +0 -1
  500. package/dist/types/protocol/index.d.ts.map +0 -1
  501. package/dist/types/puzzle-geometry/FaceNameSwizzler.d.ts.map +0 -1
  502. package/dist/types/puzzle-geometry/Options.d.ts.map +0 -1
  503. package/dist/types/puzzle-geometry/PGPuzzles.d.ts.map +0 -1
  504. package/dist/types/puzzle-geometry/PGPuzzles.spec.d.ts.map +0 -1
  505. package/dist/types/puzzle-geometry/Perm.d.ts.map +0 -1
  506. package/dist/types/puzzle-geometry/PermOriSet.d.ts.map +0 -1
  507. package/dist/types/puzzle-geometry/PlatonicGenerator.d.ts.map +0 -1
  508. package/dist/types/puzzle-geometry/PuzzleGeometry.d.ts.map +0 -1
  509. package/dist/types/puzzle-geometry/Quat.d.ts.map +0 -1
  510. package/dist/types/puzzle-geometry/Quat.spec.d.ts.map +0 -1
  511. package/dist/types/puzzle-geometry/SchreierSims.d.ts.map +0 -1
  512. package/dist/types/puzzle-geometry/index.d.ts.map +0 -1
  513. package/dist/types/puzzle-geometry/interfaces.d.ts +0 -6
  514. package/dist/types/puzzle-geometry/interfaces.d.ts.map +0 -1
  515. package/dist/types/puzzle-geometry/notation-mapping/FTONotationMapper.d.ts.map +0 -1
  516. package/dist/types/puzzle-geometry/notation-mapping/FaceRenamingMapper.d.ts.map +0 -1
  517. package/dist/types/puzzle-geometry/notation-mapping/MegaminxScramblingNotationMapper.d.ts.map +0 -1
  518. package/dist/types/puzzle-geometry/notation-mapping/NotationMapper.d.ts.map +0 -1
  519. package/dist/types/puzzle-geometry/notation-mapping/NullMapper.d.ts.map +0 -1
  520. package/dist/types/puzzle-geometry/notation-mapping/NxNxNCubeMapper.d.ts.map +0 -1
  521. package/dist/types/puzzle-geometry/notation-mapping/PyraminxNotationMapper.d.ts.map +0 -1
  522. package/dist/types/puzzle-geometry/notation-mapping/SkewbNotationMapper.d.ts.map +0 -1
  523. package/dist/types/puzzle-geometry/notation-mapping/index.d.ts.map +0 -1
  524. package/dist/types/puzzle-geometry/orientcenters.spec.d.ts.map +0 -1
  525. package/dist/types/puzzles/PuzzleLoader.d.ts.map +0 -1
  526. package/dist/types/puzzles/async/async-pg3d.d.ts.map +0 -1
  527. package/dist/types/puzzles/customPGPuzzleLoader.d.ts.map +0 -1
  528. package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.json.d.ts.map +0 -1
  529. package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.svg.d.ts.map +0 -1
  530. package/dist/types/puzzles/implementations/2x2x2/index.d.ts.map +0 -1
  531. package/dist/types/puzzles/implementations/3x3x3/3x3x3-ll.kpuzzle.svg.d.ts.map +0 -1
  532. package/dist/types/puzzles/implementations/3x3x3/3x3x3.kpuzzle.svg.d.ts.map +0 -1
  533. package/dist/types/puzzles/implementations/3x3x3/index.d.ts.map +0 -1
  534. package/dist/types/puzzles/implementations/clock/clock.kpuzzle.json.d.ts.map +0 -1
  535. package/dist/types/puzzles/implementations/clock/clock.kpuzzle.svg.d.ts.map +0 -1
  536. package/dist/types/puzzles/implementations/clock/index.d.ts.map +0 -1
  537. package/dist/types/puzzles/implementations/fto/index.d.ts.map +0 -1
  538. package/dist/types/puzzles/implementations/megaminx/index.d.ts.map +0 -1
  539. package/dist/types/puzzles/implementations/pyraminx/index.d.ts.map +0 -1
  540. package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.json.d.ts.map +0 -1
  541. package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.svg.d.ts.map +0 -1
  542. package/dist/types/puzzles/implementations/square1/index.d.ts.map +0 -1
  543. package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.json.d.ts.map +0 -1
  544. package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.svg.d.ts.map +0 -1
  545. package/dist/types/puzzles/index.d.ts.map +0 -1
  546. package/dist/types/puzzles/stickerings/appearance.d.ts.map +0 -1
  547. package/dist/types/puzzles/stickerings/cube-stickerings.d.ts.map +0 -1
  548. package/dist/types/puzzles/stickerings/fto-stickerings.d.ts.map +0 -1
  549. package/dist/types/puzzles/stickerings/global-custom-stickering-hack.d.ts.map +0 -1
  550. package/dist/types/puzzles/stickerings/megaminx-stickerings.d.ts.map +0 -1
  551. package/dist/types/scramble/index.d.ts.map +0 -1
  552. package/dist/types/search/esm-test-worker.d.ts.map +0 -1
  553. package/dist/types/search/index.d.ts.map +0 -1
  554. package/dist/types/search/inside/api.d.ts.map +0 -1
  555. package/dist/types/search/inside/api.spec.d.ts.map +0 -1
  556. package/dist/types/search/inside/entry.d.ts.map +0 -1
  557. package/dist/types/search/inside/inside-worker.d.ts.map +0 -1
  558. package/dist/types/search/inside/solve/addOrientationSuffix.d.ts.map +0 -1
  559. package/dist/types/search/inside/solve/parseSGS.d.ts.map +0 -1
  560. package/dist/types/search/inside/solve/puzzles/2x2x2.d.ts.map +0 -1
  561. package/dist/types/search/inside/solve/puzzles/2x2x2.sgs.json.d.ts.map +0 -1
  562. package/dist/types/search/inside/solve/puzzles/3x3x3/convert.d.ts.map +0 -1
  563. package/dist/types/search/inside/solve/puzzles/3x3x3/filter.d.ts.map +0 -1
  564. package/dist/types/search/inside/solve/puzzles/3x3x3/index.d.ts.map +0 -1
  565. package/dist/types/search/inside/solve/puzzles/3x3x3/legacy-sgs.d.ts.map +0 -1
  566. package/dist/types/search/inside/solve/puzzles/3x3x3-inefficient.sgs.json.d.ts.map +0 -1
  567. package/dist/types/search/inside/solve/puzzles/4x4x4.d.ts.map +0 -1
  568. package/dist/types/search/inside/solve/puzzles/5x5x5.d.ts.map +0 -1
  569. package/dist/types/search/inside/solve/puzzles/big-cubes.d.ts.map +0 -1
  570. package/dist/types/search/inside/solve/puzzles/clock.d.ts.map +0 -1
  571. package/dist/types/search/inside/solve/puzzles/megaminx.d.ts.map +0 -1
  572. package/dist/types/search/inside/solve/puzzles/megaminx.sgs.json.d.ts.map +0 -1
  573. package/dist/types/search/inside/solve/puzzles/pyraminx.d.ts.map +0 -1
  574. package/dist/types/search/inside/solve/puzzles/pyraminx.sgs.json.d.ts.map +0 -1
  575. package/dist/types/search/inside/solve/puzzles/sgs-defs.spec.d.ts.map +0 -1
  576. package/dist/types/search/inside/solve/puzzles/skewb.d.ts.map +0 -1
  577. package/dist/types/search/inside/solve/puzzles/skewb.sgs.json.d.ts.map +0 -1
  578. package/dist/types/search/inside/solve/puzzles/sq1.d.ts.map +0 -1
  579. package/dist/types/search/inside/solve/puzzles/wca-minx.d.ts.map +0 -1
  580. package/dist/types/search/inside/solve/tremble.d.ts.map +0 -1
  581. package/dist/types/search/inside/solve/vendor/cstimer/src/js/lib/mathlib.d.ts.map +0 -1
  582. package/dist/types/search/inside/solve/vendor/cstimer/src/js/scramble/scramble_444.d.ts.map +0 -1
  583. package/dist/types/search/inside/solve/vendor/min2phase/gwt.d.ts.map +0 -1
  584. package/dist/types/search/inside/solve/vendor/random-uint-below/get-random-values.d.ts.map +0 -1
  585. package/dist/types/search/inside/solve/vendor/random-uint-below/index.d.ts.map +0 -1
  586. package/dist/types/search/inside/solve/vendor/random-uint-below/random-choice.d.ts.map +0 -1
  587. package/dist/types/search/inside/solve/vendor/random-uint-below/random-int.d.ts.map +0 -1
  588. package/dist/types/search/inside/solve/vendor/sq12phase/scramble_sq1.d.ts.map +0 -1
  589. package/dist/types/search/instantiator.d.ts.map +0 -1
  590. package/dist/types/search/outside.d.ts.map +0 -1
  591. package/dist/types/search/vendor/comlink-everywhere/inside/index.d.ts +0 -2
  592. package/dist/types/search/vendor/comlink-everywhere/inside/index.d.ts.map +0 -1
  593. package/dist/types/search/vendor/comlink-everywhere/inside/node.d.ts.map +0 -1
  594. package/dist/types/search/vendor/comlink-everywhere/outside/index.d.ts.map +0 -1
  595. package/dist/types/search/vendor/comlink-everywhere/outside/node.d.ts.map +0 -1
  596. package/dist/types/search/worker-inside-generated-string.d.ts.map +0 -1
  597. package/dist/types/stream/index.d.ts.map +0 -1
  598. package/dist/types/stream/process/ReorientedStream.d.ts.map +0 -1
  599. package/dist/types/stream/proxy-event.d.ts.map +0 -1
  600. package/dist/types/stream/twizzle/TwizzleStream.d.ts.map +0 -1
  601. package/dist/types/stream/twizzle/stream-types.d.ts.map +0 -1
  602. package/dist/types/stream/websocket-proxy.d.ts.map +0 -1
  603. package/dist/types/twisty/controllers/AnimationTypes.d.ts.map +0 -1
  604. package/dist/types/twisty/controllers/RenderScheduler.d.ts.map +0 -1
  605. package/dist/types/twisty/controllers/TwistyAnimationController.d.ts.map +0 -1
  606. package/dist/types/twisty/controllers/TwistyPlayerController.d.ts.map +0 -1
  607. package/dist/types/twisty/controllers/easing.d.ts.map +0 -1
  608. package/dist/types/twisty/controllers/indexer/AlgDuration.d.ts.map +0 -1
  609. package/dist/types/twisty/controllers/indexer/AlgIndexer.d.ts.map +0 -1
  610. package/dist/types/twisty/controllers/indexer/SimpleAlgIndexer.d.ts.map +0 -1
  611. package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexer.d.ts.map +0 -1
  612. package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexerV2.d.ts.map +0 -1
  613. package/dist/types/twisty/controllers/indexer/simultaneous-moves/simul-moves.d.ts.map +0 -1
  614. package/dist/types/twisty/controllers/indexer/tree/AlgWalker.d.ts.map +0 -1
  615. package/dist/types/twisty/controllers/indexer/tree/TreeAlgIndexer.d.ts.map +0 -1
  616. package/dist/types/twisty/controllers/indexer/tree/chunkAlgs.d.ts.map +0 -1
  617. package/dist/types/twisty/controllers/stream/timeline-move-calculation-draft.d.ts.map +0 -1
  618. package/dist/types/twisty/heavy-code-imports/3d.d.ts.map +0 -1
  619. package/dist/types/twisty/heavy-code-imports/dynamic-entries/3d.d.ts.map +0 -1
  620. package/dist/types/twisty/index.d.ts.map +0 -1
  621. package/dist/types/twisty/model/PromiseFreshener.d.ts.map +0 -1
  622. package/dist/types/twisty/model/TwistyPlayerModel.d.ts.map +0 -1
  623. package/dist/types/twisty/model/UserVisibleErrorTracker.d.ts.map +0 -1
  624. package/dist/types/twisty/model/helpers.d.ts.map +0 -1
  625. package/dist/types/twisty/model/props/TwistyProp.d.ts.map +0 -1
  626. package/dist/types/twisty/model/props/TwistyProp.spec.d.ts.map +0 -1
  627. package/dist/types/twisty/model/props/TwistyPropDebugger.d.ts.map +0 -1
  628. package/dist/types/twisty/model/props/general/URLProp.d.ts.map +0 -1
  629. package/dist/types/twisty/model/props/puzzle/display/FoundationDisplayProp.d.ts.map +0 -1
  630. package/dist/types/twisty/model/props/puzzle/display/HintFaceletProp.d.ts.map +0 -1
  631. package/dist/types/twisty/model/props/puzzle/display/SpriteProp.d.ts.map +0 -1
  632. package/dist/types/twisty/model/props/puzzle/display/StickeringProp.d.ts.map +0 -1
  633. package/dist/types/twisty/model/props/puzzle/state/AlgProp.d.ts.map +0 -1
  634. package/dist/types/twisty/model/props/puzzle/state/AlgTransformationProp.d.ts.map +0 -1
  635. package/dist/types/twisty/model/props/puzzle/state/AnchoredStartProp.d.ts.map +0 -1
  636. package/dist/types/twisty/model/props/puzzle/state/CatchUpMoveProp.d.ts.map +0 -1
  637. package/dist/types/twisty/model/props/puzzle/state/CurrentLeavesProp.d.ts.map +0 -1
  638. package/dist/types/twisty/model/props/puzzle/state/CurrentLeavesSimplified.d.ts.map +0 -1
  639. package/dist/types/twisty/model/props/puzzle/state/CurrentTransformationProp.d.ts +0 -15
  640. package/dist/types/twisty/model/props/puzzle/state/CurrentTransformationProp.d.ts.map +0 -1
  641. package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorProp.d.ts.map +0 -1
  642. package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.d.ts.map +0 -1
  643. package/dist/types/twisty/model/props/puzzle/state/IndexerProp.d.ts.map +0 -1
  644. package/dist/types/twisty/model/props/puzzle/state/LegacyPositionProp.d.ts.map +0 -1
  645. package/dist/types/twisty/model/props/puzzle/state/MovePressInputProp.d.ts.map +0 -1
  646. package/dist/types/twisty/model/props/puzzle/state/NaiveMoveCountProp.d.ts.map +0 -1
  647. package/dist/types/twisty/model/props/puzzle/state/PuzzleAlgProp.d.ts.map +0 -1
  648. package/dist/types/twisty/model/props/puzzle/state/SetupAnchorProp.d.ts.map +0 -1
  649. package/dist/types/twisty/model/props/puzzle/structure/PuzzleDefProp.d.ts +0 -11
  650. package/dist/types/twisty/model/props/puzzle/structure/PuzzleDefProp.d.ts.map +0 -1
  651. package/dist/types/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.d.ts.map +0 -1
  652. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDProp.d.ts.map +0 -1
  653. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts.map +0 -1
  654. package/dist/types/twisty/model/props/puzzle/structure/PuzzleLoaderProp.d.ts.map +0 -1
  655. package/dist/types/twisty/model/props/timeline/CoarseTimelineInfoProp.d.ts.map +0 -1
  656. package/dist/types/twisty/model/props/timeline/DetailedTimelineInfoProp.d.ts.map +0 -1
  657. package/dist/types/twisty/model/props/timeline/PlayingInfoProp.d.ts.map +0 -1
  658. package/dist/types/twisty/model/props/timeline/TempoScaleProp.d.ts.map +0 -1
  659. package/dist/types/twisty/model/props/timeline/TimestampRequestProp.d.ts.map +0 -1
  660. package/dist/types/twisty/model/props/viewer/BackViewProp.d.ts.map +0 -1
  661. package/dist/types/twisty/model/props/viewer/BackgroundProp.d.ts.map +0 -1
  662. package/dist/types/twisty/model/props/viewer/ButtonAppearanceProp.d.ts.map +0 -1
  663. package/dist/types/twisty/model/props/viewer/ControlPanelProp.d.ts.map +0 -1
  664. package/dist/types/twisty/model/props/viewer/LatitudeLimit.d.ts.map +0 -1
  665. package/dist/types/twisty/model/props/viewer/OrbitCoordinatesProp.d.ts.map +0 -1
  666. package/dist/types/twisty/model/props/viewer/OrbitCoordinatesRequestProp.d.ts.map +0 -1
  667. package/dist/types/twisty/model/props/viewer/TimeRangeProp.d.ts.map +0 -1
  668. package/dist/types/twisty/model/props/viewer/ViewerLinkProp.d.ts.map +0 -1
  669. package/dist/types/twisty/model/props/viewer/VisualizationProp.d.ts.map +0 -1
  670. package/dist/types/twisty/model/props/viewer/VisualizationStrategyProp.d.ts.map +0 -1
  671. package/dist/types/twisty/views/2D/Twisty2DPuzzle.css.d.ts.map +0 -1
  672. package/dist/types/twisty/views/2D/Twisty2DPuzzle.d.ts.map +0 -1
  673. package/dist/types/twisty/views/2D/Twisty2DPuzzleWrapper.d.ts.map +0 -1
  674. package/dist/types/twisty/views/2D/Twisty2DSceneWrapper.d.ts.map +0 -1
  675. package/dist/types/twisty/views/3D/DragTracker.d.ts.map +0 -1
  676. package/dist/types/twisty/views/3D/RendererPool.d.ts.map +0 -1
  677. package/dist/types/twisty/views/3D/TAU.d.ts.map +0 -1
  678. package/dist/types/twisty/views/3D/Twisty3DPuzzleWrapper.d.ts.map +0 -1
  679. package/dist/types/twisty/views/3D/Twisty3DRenderTarget.d.ts.map +0 -1
  680. package/dist/types/twisty/views/3D/Twisty3DScene.d.ts.map +0 -1
  681. package/dist/types/twisty/views/3D/Twisty3DSceneWrapper.d.ts.map +0 -1
  682. package/dist/types/twisty/views/3D/Twisty3DVantage.css.d.ts.map +0 -1
  683. package/dist/types/twisty/views/3D/Twisty3DVantage.d.ts.map +0 -1
  684. package/dist/types/twisty/views/3D/TwistyOrbitControls.d.ts.map +0 -1
  685. package/dist/types/twisty/views/3D/TwistyOrbitControls.spec.d.ts.map +0 -1
  686. package/dist/types/twisty/views/3D/puzzles/Cube3D.d.ts.map +0 -1
  687. package/dist/types/twisty/views/3D/puzzles/KPuzzleWrapper.d.ts +0 -48
  688. package/dist/types/twisty/views/3D/puzzles/KPuzzleWrapper.d.ts.map +0 -1
  689. package/dist/types/twisty/views/3D/puzzles/PG3D.d.ts.map +0 -1
  690. package/dist/types/twisty/views/3D/puzzles/Twisty3DPuzzle.d.ts.map +0 -1
  691. package/dist/types/twisty/views/ClassListManager.d.ts.map +0 -1
  692. package/dist/types/twisty/views/ManagedCustomElement.d.ts.map +0 -1
  693. package/dist/types/twisty/views/TwistyAlgEditor/LeafTokens.d.ts.map +0 -1
  694. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.css.d.ts.map +0 -1
  695. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.d.ts.map +0 -1
  696. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.spec.d.ts.map +0 -1
  697. package/dist/types/twisty/views/TwistyAlgEditor/model.d.ts.map +0 -1
  698. package/dist/types/twisty/views/TwistyAlgViewer.css.d.ts.map +0 -1
  699. package/dist/types/twisty/views/TwistyAlgViewer.d.ts.map +0 -1
  700. package/dist/types/twisty/views/TwistyPlayer.css.d.ts.map +0 -1
  701. package/dist/types/twisty/views/TwistyPlayer.d.ts.map +0 -1
  702. package/dist/types/twisty/views/TwistyPlayerSettable.d.ts.map +0 -1
  703. package/dist/types/twisty/views/TwistyViewerWrapper.css.d.ts.map +0 -1
  704. package/dist/types/twisty/views/canvas.d.ts.map +0 -1
  705. package/dist/types/twisty/views/control-panel/TwistyButtonsV2.css.d.ts.map +0 -1
  706. package/dist/types/twisty/views/control-panel/TwistyButtonsV2.d.ts.map +0 -1
  707. package/dist/types/twisty/views/control-panel/TwistyScrubber.css.d.ts.map +0 -1
  708. package/dist/types/twisty/views/control-panel/TwistyScrubberV2.d.ts.map +0 -1
  709. package/dist/types/twisty/views/control-panel/webkit-fullscreen.d.ts.map +0 -1
  710. package/dist/types/twisty/views/document.d.ts.map +0 -1
  711. package/dist/types/twisty/views/node-custom-element-shims.d.ts.map +0 -1
  712. package/dist/types/twisty/views/screenshot.d.ts.map +0 -1
  713. package/dist/types/twisty/views/stream/TwistyStreamSource.css.d.ts.map +0 -1
  714. package/dist/types/twisty/views/stream/TwistyStreamSource.d.ts.map +0 -1
  715. package/dist/types/vendor/p-lazy/p-lazy.d.ts.map +0 -1
  716. package/dist/types/vendor/three/examples/jsm/libs/stats.modified.module.d.ts.map +0 -1
  717. package/docs/.DS_Store +0 -0
  718. package/docs/CNAME +0 -1
  719. package/docs/cubing/.DS_Store +0 -0
  720. package/docs/cubing/alg/index.html +0 -174
  721. package/docs/cubing/api/index.html +0 -158
  722. package/docs/cubing/index.html +0 -151
  723. package/docs/cubing/scramble/index.html +0 -138
  724. package/docs/cubing/twisty/index.html +0 -329
  725. package/docs/favicon.ico +0 -0
  726. package/docs/index.html +0 -20
  727. package/docs/main.css +0 -192
  728. package/kpuzzle/index.d.ts +0 -1
  729. package/notation/index.d.ts +0 -1
  730. package/protocol/index.d.ts +0 -1
  731. package/puzzle-geometry/index.d.ts +0 -1
  732. package/puzzles/index.d.ts +0 -1
  733. package/scramble/index.d.ts +0 -1
  734. package/search/index.d.ts +0 -1
  735. package/src/cubing/.DS_Store +0 -0
  736. package/src/cubing/alg/Alg.spec.ts +0 -10
  737. package/src/cubing/alg/Alg.ts +0 -290
  738. package/src/cubing/alg/AlgBuilder.ts +0 -33
  739. package/src/cubing/alg/Serializable.ts +0 -29
  740. package/src/cubing/alg/common.ts +0 -59
  741. package/src/cubing/alg/debug.ts +0 -27
  742. package/src/cubing/alg/example.ts +0 -152
  743. package/src/cubing/alg/index.ts +0 -21
  744. package/src/cubing/alg/is.ts +0 -38
  745. package/src/cubing/alg/iteration.ts +0 -45
  746. package/src/cubing/alg/keyboard.ts +0 -48
  747. package/src/cubing/alg/limits.ts +0 -4
  748. package/src/cubing/alg/operation.spec.ts +0 -48
  749. package/src/cubing/alg/operation.ts +0 -36
  750. package/src/cubing/alg/parse.spec.ts +0 -75
  751. package/src/cubing/alg/parse.ts +0 -408
  752. package/src/cubing/alg/test/alg-comparison.ts +0 -23
  753. package/src/cubing/alg/test/alg.spec.ts +0 -348
  754. package/src/cubing/alg/traversal.ts +0 -284
  755. package/src/cubing/alg/units/QuantumWithAmount.ts +0 -55
  756. package/src/cubing/alg/units/Unit.ts +0 -11
  757. package/src/cubing/alg/units/containers/Commutator.ts +0 -85
  758. package/src/cubing/alg/units/containers/Conjugate.ts +0 -53
  759. package/src/cubing/alg/units/containers/Grouping.ts +0 -116
  760. package/src/cubing/alg/units/index.ts +0 -8
  761. package/src/cubing/alg/units/leaves/LineComment.spec.ts +0 -35
  762. package/src/cubing/alg/units/leaves/LineComment.ts +0 -48
  763. package/src/cubing/alg/units/leaves/Move.spec.ts +0 -15
  764. package/src/cubing/alg/units/leaves/Move.ts +0 -265
  765. package/src/cubing/alg/units/leaves/Newline.ts +0 -24
  766. package/src/cubing/alg/units/leaves/Pause.ts +0 -24
  767. package/src/cubing/alg/url.spec.ts +0 -10
  768. package/src/cubing/alg/url.ts +0 -133
  769. package/src/cubing/alg/validation.ts +0 -62
  770. package/src/cubing/alg/warnOnce.ts +0 -7
  771. package/src/cubing/bluetooth/connect/index.ts +0 -93
  772. package/src/cubing/bluetooth/debug.ts +0 -18
  773. package/src/cubing/bluetooth/docs/gan-robot.md +0 -60
  774. package/src/cubing/bluetooth/docs/gan356i.md +0 -309
  775. package/src/cubing/bluetooth/index.ts +0 -19
  776. package/src/cubing/bluetooth/keyboard.ts +0 -55
  777. package/src/cubing/bluetooth/smart-puzzle/Heykube.ts +0 -165
  778. package/src/cubing/bluetooth/smart-puzzle/bluetooth-puzzle.ts +0 -95
  779. package/src/cubing/bluetooth/smart-puzzle/connect.ts +0 -19
  780. package/src/cubing/bluetooth/smart-puzzle/endianness.ts +0 -15
  781. package/src/cubing/bluetooth/smart-puzzle/gan.ts +0 -481
  782. package/src/cubing/bluetooth/smart-puzzle/giiker.spec.ts +0 -28
  783. package/src/cubing/bluetooth/smart-puzzle/giiker.ts +0 -277
  784. package/src/cubing/bluetooth/smart-puzzle/gocube.ts +0 -167
  785. package/src/cubing/bluetooth/smart-puzzle/unsafe-raw-aes.ts +0 -66
  786. package/src/cubing/bluetooth/smart-robot/GanRobot.ts +0 -311
  787. package/src/cubing/bluetooth/smart-robot/index.ts +0 -13
  788. package/src/cubing/bluetooth/smart-timer/GanTimer.ts +0 -141
  789. package/src/cubing/bluetooth/smart-timer/index.ts +0 -13
  790. package/src/cubing/bluetooth/transformer.ts +0 -74
  791. package/src/cubing/esm-test-worker.js +0 -5
  792. package/src/cubing/kpuzzle/3x3x3/3x3x3.kpuzzle.json.spec.ts +0 -40
  793. package/src/cubing/kpuzzle/3x3x3/3x3x3.kpuzzle.json.ts +0 -339
  794. package/src/cubing/kpuzzle/canon.spec.ts +0 -48
  795. package/src/cubing/kpuzzle/canonicalize.ts +0 -325
  796. package/src/cubing/kpuzzle/definition_types.ts +0 -23
  797. package/src/cubing/kpuzzle/index.ts +0 -33
  798. package/src/cubing/kpuzzle/kpuzzle.spec.ts +0 -12
  799. package/src/cubing/kpuzzle/kpuzzle.ts +0 -124
  800. package/src/cubing/kpuzzle/move_notation.ts +0 -9
  801. package/src/cubing/kpuzzle/parser/index.ts +0 -1
  802. package/src/cubing/kpuzzle/parser/parser-peggy.js +0 -1221
  803. package/src/cubing/kpuzzle/parser/parser-peggy.peggy +0 -72
  804. package/src/cubing/kpuzzle/parser/parser-shim.ts +0 -11
  805. package/src/cubing/kpuzzle/parser/parser.js +0 -0
  806. package/src/cubing/kpuzzle/prunetable.spec.ts +0 -19
  807. package/src/cubing/kpuzzle/pruningtable.ts +0 -99
  808. package/src/cubing/kpuzzle/puzzle-orientation.ts +0 -34
  809. package/src/cubing/kpuzzle/svg.ts +0 -290
  810. package/src/cubing/kpuzzle/transformations.spec.ts +0 -75
  811. package/src/cubing/kpuzzle/transformations.ts +0 -258
  812. package/src/cubing/notation/CountAnimatedLeaves.ts +0 -56
  813. package/src/cubing/notation/CountMoves.ts +0 -89
  814. package/src/cubing/notation/index.ts +0 -4
  815. package/src/cubing/protocol/binary/binary3x3x3.spec.ts +0 -143
  816. package/src/cubing/protocol/binary/binary3x3x3.ts +0 -226
  817. package/src/cubing/protocol/binary/hex.spec.ts +0 -17
  818. package/src/cubing/protocol/binary/hex.ts +0 -12
  819. package/src/cubing/protocol/binary/orbit-indexing.spec.ts +0 -49
  820. package/src/cubing/protocol/binary/orbit-indexing.ts +0 -68
  821. package/src/cubing/protocol/binary/puzzle-orientation.ts +0 -69
  822. package/src/cubing/protocol/index.ts +0 -12
  823. package/src/cubing/puzzle-geometry/FaceNameSwizzler.ts +0 -148
  824. package/src/cubing/puzzle-geometry/Options.ts +0 -179
  825. package/src/cubing/puzzle-geometry/PGPuzzles.spec.ts +0 -127
  826. package/src/cubing/puzzle-geometry/PGPuzzles.ts +0 -80
  827. package/src/cubing/puzzle-geometry/Perm.ts +0 -154
  828. package/src/cubing/puzzle-geometry/PermOriSet.ts +0 -765
  829. package/src/cubing/puzzle-geometry/PlatonicGenerator.ts +0 -146
  830. package/src/cubing/puzzle-geometry/PuzzleGeometry.ts +0 -3009
  831. package/src/cubing/puzzle-geometry/Quat.spec.ts +0 -10
  832. package/src/cubing/puzzle-geometry/Quat.ts +0 -325
  833. package/src/cubing/puzzle-geometry/SchreierSims.ts +0 -144
  834. package/src/cubing/puzzle-geometry/index.ts +0 -17
  835. package/src/cubing/puzzle-geometry/interfaces.ts +0 -6
  836. package/src/cubing/puzzle-geometry/notation-mapping/FTONotationMapper.ts +0 -38
  837. package/src/cubing/puzzle-geometry/notation-mapping/FaceRenamingMapper.ts +0 -59
  838. package/src/cubing/puzzle-geometry/notation-mapping/MegaminxScramblingNotationMapper.ts +0 -50
  839. package/src/cubing/puzzle-geometry/notation-mapping/NotationMapper.ts +0 -6
  840. package/src/cubing/puzzle-geometry/notation-mapping/NullMapper.ts +0 -12
  841. package/src/cubing/puzzle-geometry/notation-mapping/NxNxNCubeMapper.ts +0 -77
  842. package/src/cubing/puzzle-geometry/notation-mapping/PyraminxNotationMapper.ts +0 -121
  843. package/src/cubing/puzzle-geometry/notation-mapping/SkewbNotationMapper.ts +0 -103
  844. package/src/cubing/puzzle-geometry/notation-mapping/index.ts +0 -13
  845. package/src/cubing/puzzle-geometry/orientcenters.spec.ts +0 -55
  846. package/src/cubing/puzzles/PuzzleLoader.ts +0 -20
  847. package/src/cubing/puzzles/async/async-pg3d.ts +0 -73
  848. package/src/cubing/puzzles/customPGPuzzleLoader.ts +0 -60
  849. package/src/cubing/puzzles/implementations/2x2x2/2x2x2.kpuzzle.json.ts +0 -92
  850. package/src/cubing/puzzles/implementations/2x2x2/2x2x2.kpuzzle.svg.ts +0 -45
  851. package/src/cubing/puzzles/implementations/2x2x2/index.ts +0 -25
  852. package/src/cubing/puzzles/implementations/2x2x2/svg/2x2x2.kpuzzle.svg +0 -45
  853. package/src/cubing/puzzles/implementations/3x3x3/3x3x3-ll.kpuzzle.svg.ts +0 -108
  854. package/src/cubing/puzzles/implementations/3x3x3/3x3x3.kpuzzle.svg.ts +0 -128
  855. package/src/cubing/puzzles/implementations/3x3x3/index.ts +0 -33
  856. package/src/cubing/puzzles/implementations/3x3x3/src/3x3x3-ll.kpuzzle.svg +0 -108
  857. package/src/cubing/puzzles/implementations/3x3x3/src/3x3x3.kpuzzle.svg +0 -128
  858. package/src/cubing/puzzles/implementations/TODO/svg/alg/3x3x3.kpuzzle.original.svg +0 -128
  859. package/src/cubing/puzzles/implementations/TODO/svg/alg/3x3x3.kpuzzle.outlined.svg +0 -486
  860. package/src/cubing/puzzles/implementations/TODO/svg/alg/3x3x3.kpuzzle.spaced.svg +0 -128
  861. package/src/cubing/puzzles/implementations/clock/clock.kpuzzle.json.ts +0 -241
  862. package/src/cubing/puzzles/implementations/clock/clock.kpuzzle.svg.ts +0 -369
  863. package/src/cubing/puzzles/implementations/clock/index.ts +0 -14
  864. package/src/cubing/puzzles/implementations/clock/src/clock.kpuzzle.svg +0 -369
  865. package/src/cubing/puzzles/implementations/fto/index.ts +0 -28
  866. package/src/cubing/puzzles/implementations/megaminx/index.ts +0 -20
  867. package/src/cubing/puzzles/implementations/pyraminx/index.ts +0 -18
  868. package/src/cubing/puzzles/implementations/pyraminx/pyraminx.kpuzzle.json.ts +0 -84
  869. package/src/cubing/puzzles/implementations/pyraminx/pyraminx.kpuzzle.svg.ts +0 -88
  870. package/src/cubing/puzzles/implementations/pyraminx/src/pyraminx.kpuzzle.svg +0 -87
  871. package/src/cubing/puzzles/implementations/square1/index.ts +0 -14
  872. package/src/cubing/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.json.ts +0 -62
  873. package/src/cubing/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.svg.ts +0 -295
  874. package/src/cubing/puzzles/implementations/square1/src/sq1-hyperorbit.kpuzzle.svg +0 -295
  875. package/src/cubing/puzzles/implementations/square1/src/sq1-simple.svg +0 -60
  876. package/src/cubing/puzzles/index.ts +0 -92
  877. package/src/cubing/puzzles/stickerings/appearance.ts +0 -292
  878. package/src/cubing/puzzles/stickerings/cube-stickerings.ts +0 -286
  879. package/src/cubing/puzzles/stickerings/fto-stickerings.ts +0 -105
  880. package/src/cubing/puzzles/stickerings/global-custom-stickering-hack.ts +0 -61
  881. package/src/cubing/puzzles/stickerings/megaminx-stickerings.ts +0 -26
  882. package/src/cubing/scramble/index.ts +0 -1
  883. package/src/cubing/search/.gitignore +0 -1
  884. package/src/cubing/search/esm-test-worker.js +0 -14
  885. package/src/cubing/search/index.ts +0 -12
  886. package/src/cubing/search/inside/api.spec.ts +0 -37
  887. package/src/cubing/search/inside/api.ts +0 -171
  888. package/src/cubing/search/inside/entry.js +0 -4
  889. package/src/cubing/search/inside/inside-worker.ts +0 -13
  890. package/src/cubing/search/inside/solve/addOrientationSuffix.ts +0 -17
  891. package/src/cubing/search/inside/solve/parseSGS.ts +0 -119
  892. package/src/cubing/search/inside/solve/puzzles/2x2x2.ts +0 -92
  893. package/src/cubing/search/inside/solve/puzzles/3x3x3/convert.ts +0 -137
  894. package/src/cubing/search/inside/solve/puzzles/3x3x3/filter.ts +0 -60
  895. package/src/cubing/search/inside/solve/puzzles/3x3x3/index.ts +0 -57
  896. package/src/cubing/search/inside/solve/puzzles/3x3x3/legacy-sgs.ts +0 -291
  897. package/src/cubing/search/inside/solve/puzzles/3x3x3-inefficient.sgs.json.ts +0 -272
  898. package/src/cubing/search/inside/solve/puzzles/4x4x4.ts +0 -16
  899. package/src/cubing/search/inside/solve/puzzles/5x5x5.ts +0 -12
  900. package/src/cubing/search/inside/solve/puzzles/FTO.sgs +0 -264
  901. package/src/cubing/search/inside/solve/puzzles/big-cubes.ts +0 -78
  902. package/src/cubing/search/inside/solve/puzzles/clock.ts +0 -48
  903. package/src/cubing/search/inside/solve/puzzles/megaminx.ts +0 -51
  904. package/src/cubing/search/inside/solve/puzzles/pyraminx.ts +0 -48
  905. package/src/cubing/search/inside/solve/puzzles/sgs-defs.spec.ts +0 -27
  906. package/src/cubing/search/inside/solve/puzzles/skewb.sgs.json.ts +0 -113
  907. package/src/cubing/search/inside/solve/puzzles/skewb.ts +0 -65
  908. package/src/cubing/search/inside/solve/puzzles/sq1.ts +0 -6
  909. package/src/cubing/search/inside/solve/puzzles/wca-minx.ts +0 -32
  910. package/src/cubing/search/inside/solve/tremble.ts +0 -212
  911. package/src/cubing/search/inside/solve/vendor/cstimer/LICENSE +0 -674
  912. package/src/cubing/search/inside/solve/vendor/cstimer/src/js/lib/mathlib.ts +0 -54
  913. package/src/cubing/search/inside/solve/vendor/min2phase/gwt.d.ts +0 -2
  914. package/src/cubing/search/inside/solve/vendor/random-uint-below/get-random-values.ts +0 -38
  915. package/src/cubing/search/inside/solve/vendor/random-uint-below/index.ts +0 -12
  916. package/src/cubing/search/inside/solve/vendor/random-uint-below/random-choice.ts +0 -9
  917. package/src/cubing/search/inside/solve/vendor/random-uint-below/random-int.ts +0 -64
  918. package/src/cubing/search/instantiator.ts +0 -60
  919. package/src/cubing/search/outside.ts +0 -110
  920. package/src/cubing/search/vendor/comlink-everywhere/comlink-everywhere.webloc +0 -8
  921. package/src/cubing/search/vendor/comlink-everywhere/inside/index.js +0 -16
  922. package/src/cubing/search/vendor/comlink-everywhere/inside/node.js +0 -6
  923. package/src/cubing/search/vendor/comlink-everywhere/outside/index.d.ts +0 -6
  924. package/src/cubing/search/vendor/comlink-everywhere/outside/index.js +0 -31
  925. package/src/cubing/search/vendor/comlink-everywhere/outside/node.js +0 -41
  926. package/src/cubing/search/worker-inside-generated-string.js +0 -1
  927. package/src/cubing/stream/index.ts +0 -12
  928. package/src/cubing/stream/process/ReorientedStream.ts +0 -93
  929. package/src/cubing/stream/proxy-event.ts +0 -16
  930. package/src/cubing/stream/twizzle/TwizzleStream.ts +0 -53
  931. package/src/cubing/stream/twizzle/stream-types.ts +0 -45
  932. package/src/cubing/stream/websocket-proxy.ts +0 -73
  933. package/src/cubing/twisty/.DS_Store +0 -0
  934. package/src/cubing/twisty/controllers/.DS_Store +0 -0
  935. package/src/cubing/twisty/controllers/AnimationTypes.ts +0 -50
  936. package/src/cubing/twisty/controllers/RenderScheduler.ts +0 -28
  937. package/src/cubing/twisty/controllers/TwistyAnimationController.ts +0 -325
  938. package/src/cubing/twisty/controllers/TwistyPlayerController.ts +0 -38
  939. package/src/cubing/twisty/controllers/animation/.DS_Store +0 -0
  940. package/src/cubing/twisty/controllers/easing.ts +0 -3
  941. package/src/cubing/twisty/controllers/indexer/.DS_Store +0 -0
  942. package/src/cubing/twisty/controllers/indexer/AlgDuration.ts +0 -94
  943. package/src/cubing/twisty/controllers/indexer/AlgIndexer.ts +0 -87
  944. package/src/cubing/twisty/controllers/indexer/SimpleAlgIndexer.ts +0 -76
  945. package/src/cubing/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexer.ts +0 -181
  946. package/src/cubing/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexerV2.ts +0 -243
  947. package/src/cubing/twisty/controllers/indexer/simultaneous-moves/simul-moves.ts +0 -193
  948. package/src/cubing/twisty/controllers/indexer/tree/AlgWalker.ts +0 -439
  949. package/src/cubing/twisty/controllers/indexer/tree/TreeAlgIndexer.ts +0 -97
  950. package/src/cubing/twisty/controllers/indexer/tree/chunkAlgs.ts +0 -81
  951. package/src/cubing/twisty/controllers/stream/timeline-move-calculation-draft.spec.ts.TODO +0 -59
  952. package/src/cubing/twisty/controllers/stream/timeline-move-calculation-draft.ts +0 -162
  953. package/src/cubing/twisty/heavy-code-imports/.DS_Store +0 -0
  954. package/src/cubing/twisty/heavy-code-imports/3d.ts +0 -18
  955. package/src/cubing/twisty/heavy-code-imports/dynamic-entries/3d.ts +0 -31
  956. package/src/cubing/twisty/index.ts +0 -24
  957. package/src/cubing/twisty/model/.DS_Store +0 -0
  958. package/src/cubing/twisty/model/PromiseFreshener.ts +0 -49
  959. package/src/cubing/twisty/model/TwistyPlayerModel.ts +0 -254
  960. package/src/cubing/twisty/model/UserVisibleErrorTracker.ts +0 -22
  961. package/src/cubing/twisty/model/helpers.ts +0 -47
  962. package/src/cubing/twisty/model/props/.DS_Store +0 -0
  963. package/src/cubing/twisty/model/props/TwistyProp.spec.ts +0 -38
  964. package/src/cubing/twisty/model/props/TwistyProp.ts +0 -366
  965. package/src/cubing/twisty/model/props/TwistyPropDebugger.ts +0 -370
  966. package/src/cubing/twisty/model/props/general/URLProp.ts +0 -14
  967. package/src/cubing/twisty/model/props/puzzle/.DS_Store +0 -0
  968. package/src/cubing/twisty/model/props/puzzle/display/FoundationDisplayProp.ts +0 -9
  969. package/src/cubing/twisty/model/props/puzzle/display/HintFaceletProp.ts +0 -15
  970. package/src/cubing/twisty/model/props/puzzle/display/SpriteProp.ts +0 -43
  971. package/src/cubing/twisty/model/props/puzzle/display/StickeringProp.ts +0 -54
  972. package/src/cubing/twisty/model/props/puzzle/state/AlgProp.ts +0 -91
  973. package/src/cubing/twisty/model/props/puzzle/state/AlgTransformationProp.ts +0 -28
  974. package/src/cubing/twisty/model/props/puzzle/state/AnchoredStartProp.ts +0 -44
  975. package/src/cubing/twisty/model/props/puzzle/state/CatchUpMoveProp.ts +0 -17
  976. package/src/cubing/twisty/model/props/puzzle/state/CurrentLeavesProp.ts +0 -109
  977. package/src/cubing/twisty/model/props/puzzle/state/CurrentLeavesSimplified.ts +0 -48
  978. package/src/cubing/twisty/model/props/puzzle/state/CurrentTransformationProp.ts +0 -46
  979. package/src/cubing/twisty/model/props/puzzle/state/IndexerConstructorProp.ts +0 -53
  980. package/src/cubing/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.ts +0 -15
  981. package/src/cubing/twisty/model/props/puzzle/state/IndexerProp.ts +0 -24
  982. package/src/cubing/twisty/model/props/puzzle/state/LegacyPositionProp.ts +0 -22
  983. package/src/cubing/twisty/model/props/puzzle/state/MovePressInputProp.ts +0 -9
  984. package/src/cubing/twisty/model/props/puzzle/state/NaiveMoveCountProp.ts +0 -20
  985. package/src/cubing/twisty/model/props/puzzle/state/PuzzleAlgProp.ts +0 -28
  986. package/src/cubing/twisty/model/props/puzzle/state/SetupAnchorProp.ts +0 -14
  987. package/src/cubing/twisty/model/props/puzzle/structure/PuzzleDefProp.ts +0 -14
  988. package/src/cubing/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.ts +0 -14
  989. package/src/cubing/twisty/model/props/puzzle/structure/PuzzleIDProp.ts +0 -12
  990. package/src/cubing/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.ts +0 -36
  991. package/src/cubing/twisty/model/props/puzzle/structure/PuzzleLoaderProp.ts +0 -38
  992. package/src/cubing/twisty/model/props/timeline/CoarseTimelineInfoProp.ts +0 -45
  993. package/src/cubing/twisty/model/props/timeline/DetailedTimelineInfoProp.ts +0 -78
  994. package/src/cubing/twisty/model/props/timeline/PlayingInfoProp.ts +0 -48
  995. package/src/cubing/twisty/model/props/timeline/TempoScaleProp.ts +0 -13
  996. package/src/cubing/twisty/model/props/timeline/TimestampRequestProp.ts +0 -38
  997. package/src/cubing/twisty/model/props/viewer/BackViewProp.ts +0 -16
  998. package/src/cubing/twisty/model/props/viewer/BackgroundProp.ts +0 -15
  999. package/src/cubing/twisty/model/props/viewer/ButtonAppearanceProp.ts +0 -86
  1000. package/src/cubing/twisty/model/props/viewer/ControlPanelProp.ts +0 -14
  1001. package/src/cubing/twisty/model/props/viewer/LatitudeLimit.ts +0 -11
  1002. package/src/cubing/twisty/model/props/viewer/OrbitCoordinatesProp.ts +0 -127
  1003. package/src/cubing/twisty/model/props/viewer/OrbitCoordinatesRequestProp.ts +0 -69
  1004. package/src/cubing/twisty/model/props/viewer/TimeRangeProp.ts +0 -15
  1005. package/src/cubing/twisty/model/props/viewer/ViewerLinkProp.ts +0 -14
  1006. package/src/cubing/twisty/model/props/viewer/VisualizationProp.ts +0 -17
  1007. package/src/cubing/twisty/model/props/viewer/VisualizationStrategyProp.ts +0 -45
  1008. package/src/cubing/twisty/old/.DS_Store +0 -0
  1009. package/src/cubing/twisty/old/animation/.DS_Store +0 -0
  1010. package/src/cubing/twisty/old/dom/.DS_Store +0 -0
  1011. package/src/cubing/twisty/views/.DS_Store +0 -0
  1012. package/src/cubing/twisty/views/2D/Twisty2DPuzzle.css.ts +0 -26
  1013. package/src/cubing/twisty/views/2D/Twisty2DPuzzle.ts +0 -146
  1014. package/src/cubing/twisty/views/2D/Twisty2DPuzzleWrapper.ts +0 -52
  1015. package/src/cubing/twisty/views/2D/Twisty2DSceneWrapper.ts +0 -77
  1016. package/src/cubing/twisty/views/3D/.DS_Store +0 -0
  1017. package/src/cubing/twisty/views/3D/DragTracker.ts +0 -184
  1018. package/src/cubing/twisty/views/3D/RendererPool.ts +0 -54
  1019. package/src/cubing/twisty/views/3D/TAU.ts +0 -2
  1020. package/src/cubing/twisty/views/3D/Twisty3DPuzzleWrapper.ts +0 -214
  1021. package/src/cubing/twisty/views/3D/Twisty3DRenderTarget.ts +0 -5
  1022. package/src/cubing/twisty/views/3D/Twisty3DScene.ts +0 -42
  1023. package/src/cubing/twisty/views/3D/Twisty3DSceneWrapper.ts +0 -189
  1024. package/src/cubing/twisty/views/3D/Twisty3DVantage.css.ts +0 -32
  1025. package/src/cubing/twisty/views/3D/Twisty3DVantage.ts +0 -312
  1026. package/src/cubing/twisty/views/3D/TwistyOrbitControls.spec.ts +0 -213
  1027. package/src/cubing/twisty/views/3D/TwistyOrbitControls.ts +0 -176
  1028. package/src/cubing/twisty/views/3D/puzzles/Cube3D.ts +0 -966
  1029. package/src/cubing/twisty/views/3D/puzzles/KPuzzleWrapper.ts +0 -142
  1030. package/src/cubing/twisty/views/3D/puzzles/PG3D.ts +0 -1078
  1031. package/src/cubing/twisty/views/3D/puzzles/Twisty3DPuzzle.ts +0 -6
  1032. package/src/cubing/twisty/views/ClassListManager.ts +0 -34
  1033. package/src/cubing/twisty/views/ManagedCustomElement.ts +0 -76
  1034. package/src/cubing/twisty/views/TwistyAlgEditor/LeafTokens.ts +0 -116
  1035. package/src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.css.ts +0 -72
  1036. package/src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.spec.ts +0 -57
  1037. package/src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.ts +0 -368
  1038. package/src/cubing/twisty/views/TwistyAlgEditor/model.ts +0 -179
  1039. package/src/cubing/twisty/views/TwistyAlgViewer.css.ts +0 -25
  1040. package/src/cubing/twisty/views/TwistyAlgViewer.ts +0 -502
  1041. package/src/cubing/twisty/views/TwistyPlayer.css.ts +0 -73
  1042. package/src/cubing/twisty/views/TwistyPlayer.ts +0 -362
  1043. package/src/cubing/twisty/views/TwistyPlayerSettable.ts +0 -115
  1044. package/src/cubing/twisty/views/TwistyViewerWrapper.css.ts +0 -41
  1045. package/src/cubing/twisty/views/canvas.ts +0 -9
  1046. package/src/cubing/twisty/views/control-panel/TwistyButtonsV2.css.ts +0 -127
  1047. package/src/cubing/twisty/views/control-panel/TwistyButtonsV2.ts +0 -156
  1048. package/src/cubing/twisty/views/control-panel/TwistyScrubber.css.ts +0 -48
  1049. package/src/cubing/twisty/views/control-panel/TwistyScrubberV2.ts +0 -145
  1050. package/src/cubing/twisty/views/control-panel/webkit-fullscreen.ts +0 -44
  1051. package/src/cubing/twisty/views/document.ts +0 -4
  1052. package/src/cubing/twisty/views/node-custom-element-shims.ts +0 -30
  1053. package/src/cubing/twisty/views/screenshot.ts +0 -90
  1054. package/src/cubing/twisty/views/stream/TwistyStreamSource.css.ts +0 -17
  1055. package/src/cubing/twisty/views/stream/TwistyStreamSource.ts +0 -155
  1056. package/src/cubing/vendor/p-lazy/license +0 -9
  1057. package/src/cubing/vendor/p-lazy/p-lazy.ts +0 -52
  1058. package/src/cubing/vendor/p-lazy/readme.md +0 -54
  1059. package/src/cubing/vendor/three/examples/jsm/libs/stats.modified.module.ts +0 -179
  1060. package/stream/index.d.ts +0 -1
  1061. package/twisty/index.d.ts +0 -1
@@ -1,53 +1,101 @@
1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
- // @ts-nocheck
3
-
4
- /*eslint no-implicit-globals: "error"*/
5
- /* eslint-disable @typescript-eslint/no-unsafe-return */
6
- import { Alg } from "../../../../../../../../alg";
7
- import { random333Scramble as getRandomScramble333 } from "../../../../../puzzles/3x3x3";
8
- import { circle, Cnk, set8Perm } from "../lib/mathlib";
9
- import { randomUIntBelowFactory } from "../../../../random-uint-below";
10
- import { mustBeInsideWorker } from "../../../../../../inside-worker";
1
+ import {
2
+ mustBeInsideWorker,
3
+ random333Scramble
4
+ } from "./chunk-NV5ESXTN.js";
5
+ import {
6
+ randomUIntBelowFactory
7
+ } from "./chunk-37EHU3GZ.js";
8
+ import "./chunk-ZLIK3DZT.js";
9
+ import "./chunk-TNRZDNGH.js";
10
+ import {
11
+ Alg
12
+ } from "./chunk-EWRBHQFX.js";
13
+ import "./chunk-WO2AXYFE.js";
14
+
15
+ // src/cubing/vendor/cstimer/src/js/lib/mathlib.ts
16
+ var Cnk = [];
17
+ var fact = [1];
18
+ for (let i = 0; i < 32; ++i) {
19
+ Cnk[i] = [];
20
+ for (let j = 0; j < 32; ++j) {
21
+ Cnk[i][j] = 0;
22
+ }
23
+ }
24
+ for (let i = 0; i < 32; ++i) {
25
+ Cnk[i][0] = Cnk[i][i] = 1;
26
+ fact[i + 1] = fact[i] * (i + 1);
27
+ for (let j = 1; j < i; ++j) {
28
+ Cnk[i][j] = Cnk[i - 1][j - 1] + Cnk[i - 1][j];
29
+ }
30
+ }
31
+ function circle(arr, ...moreArgs) {
32
+ const length = moreArgs.length, temp = arr[moreArgs[length - 1]];
33
+ for (let i = length; i > 0; i--) {
34
+ arr[moreArgs[i]] = arr[moreArgs[i - 1]];
35
+ }
36
+ arr[moreArgs[0]] = temp;
37
+ return circle;
38
+ }
39
+ function set8Perm(arr, idx, n, even) {
40
+ n = (n || 8) - 1;
41
+ let val = 1985229328;
42
+ let prt = 0;
43
+ even ?? (even = 0);
44
+ if (even < 0) {
45
+ idx <<= 1;
46
+ }
47
+ for (let i = 0; i < n; ++i) {
48
+ const p = fact[n - i];
49
+ let v = ~~(idx / p);
50
+ prt ^= v;
51
+ idx %= p;
52
+ v <<= 2;
53
+ arr[i] = val >> v & 7;
54
+ const m = (1 << v) - 1;
55
+ val = (val & m) + (val >> 4 & ~m);
56
+ }
57
+ if (even < 0 && (prt & 1) !== 0) {
58
+ arr[n] = arr[n - 1];
59
+ arr[n - 1] = val & 7;
60
+ } else {
61
+ arr[n] = val & 7;
62
+ }
63
+ return arr;
64
+ }
11
65
 
12
- function createArray(length1: number, length2?: number) {
13
- const result = new Array<number[]>(length1);
14
- if (length2 !== undefined) {
66
+ // src/cubing/vendor/cstimer/src/js/scramble/scramble_444.ts
67
+ function createArray(length1, length2) {
68
+ const result = new Array(length1);
69
+ if (length2 !== void 0) {
15
70
  for (let i = 0; i < length1; i++) {
16
71
  result[i] = new Array(length2);
17
72
  }
18
73
  }
19
74
  return result;
20
75
  }
21
-
22
- let _: any;
23
- const seedTable: Record<number, any> = {},
24
- CM$ = {};
25
- const Q$Object = 0,
26
- Q$Serializable = 30,
27
- Q$Center1 = 21,
28
- Q$CornerCube = 22,
29
- Q$Edge3 = 23,
30
- Q$FullCube_0 = 24,
31
- Q$FullCube_$1 = 25,
32
- Q$Comparable = 34,
33
- Q$Search_0 = 26,
34
- Q$Object_$1 = 40;
35
-
36
- function newSeed(id: number) {
76
+ var _;
77
+ var seedTable = {};
78
+ var CM$ = {};
79
+ var Q$Object = 0;
80
+ var Q$Serializable = 30;
81
+ var Q$Center1 = 21;
82
+ var Q$CornerCube = 22;
83
+ var Q$Edge3 = 23;
84
+ var Q$FullCube_0 = 24;
85
+ var Q$FullCube_$1 = 25;
86
+ var Q$Comparable = 34;
87
+ var Q$Search_0 = 26;
88
+ var Q$Object_$1 = 40;
89
+ function newSeed(id) {
37
90
  return new seedTable[id]();
38
91
  }
39
-
40
- function defineSeed(
41
- id: number,
42
- superSeed: number,
43
- castableTypeMap: any, // TODO
44
- ...moreArgs: any[]
45
- ) {
92
+ function defineSeed(id, superSeed, castableTypeMap, ...moreArgs) {
46
93
  let seed = seedTable[id];
47
94
  if (seed && !seed.___clazz$) {
48
95
  _ = seed.prototype;
49
96
  } else {
50
- !seed && (seed = seedTable[id] = function () {});
97
+ !seed && (seed = seedTable[id] = function() {
98
+ });
51
99
  _ = seed.prototype = superSeed < 0 ? {} : newSeed(superSeed);
52
100
  _.castableTypeMap$ = castableTypeMap;
53
101
  }
@@ -59,35 +107,30 @@ function defineSeed(
59
107
  seed.___clazz$ = null;
60
108
  }
61
109
  }
62
-
63
- function makeCastMap(a: number[]) {
64
- const result: Record<number, number> = {};
110
+ function makeCastMap(a) {
111
+ const result = {};
65
112
  for (let i_0 = 0, c = a.length; i_0 < c; ++i_0) {
66
113
  result[a[i_0]] = 1;
67
114
  }
68
115
  return result;
69
116
  }
70
-
71
117
  defineSeed(1, -1, CM$);
72
-
73
118
  _.value = null;
74
-
75
- function Array_0() {}
76
-
77
- function createFrom(a: any, length_0: number) {
119
+ function Array_0() {
120
+ }
121
+ function createFrom(a, length_0) {
78
122
  const result = createFromSeed(0, length_0);
79
123
  initValues(a.___clazz$, a.castableTypeMap$, a.queryId$, result);
80
124
  return result;
81
125
  }
82
-
83
- function createFromSeed(seedType: number, length_0: number) {
126
+ function createFromSeed(seedType, length_0) {
84
127
  const array = new Array(length_0);
85
128
  if (seedType === 3) {
86
129
  for (let i_0 = 0; i_0 < length_0; ++i_0) {
87
130
  const value = {
88
131
  m: 0,
89
132
  l: 0,
90
- h: 0,
133
+ h: 0
91
134
  };
92
135
  value.l = value.m = value.h = 0;
93
136
  array[i_0] = value;
@@ -100,13 +143,11 @@ function createFromSeed(seedType: number, length_0: number) {
100
143
  }
101
144
  return array;
102
145
  }
103
-
104
146
  function initDim(arrayClass, castableTypeMap, queryId, length_0, seedType) {
105
147
  const result = createFromSeed(seedType, length_0);
106
148
  initValues(arrayClass, castableTypeMap, queryId, result);
107
149
  return result;
108
150
  }
109
-
110
151
  function initValues(arrayClass, castableTypeMap, queryId, array) {
111
152
  $clinit_Array$ExpandoWrapper();
112
153
  wrapArray(array, expandoNames_0, expandoValues_0);
@@ -115,15 +156,12 @@ function initValues(arrayClass, castableTypeMap, queryId, array) {
115
156
  array.queryId$ = queryId;
116
157
  return array;
117
158
  }
118
-
119
159
  function setCheck(array, index, value) {
120
- return (array[index] = value);
160
+ return array[index] = value;
121
161
  }
122
-
123
162
  defineSeed(73, 1, {}, Array_0);
124
163
  _.queryId$ = 0;
125
-
126
- let ran$clinit_Array$ExpandoWrapper = false;
164
+ var ran$clinit_Array$ExpandoWrapper = false;
127
165
  function $clinit_Array$ExpandoWrapper() {
128
166
  if (ran$clinit_Array$ExpandoWrapper) {
129
167
  return;
@@ -133,37 +171,31 @@ function $clinit_Array$ExpandoWrapper() {
133
171
  expandoValues_0 = [];
134
172
  initExpandos(new Array_0(), expandoNames_0, expandoValues_0);
135
173
  }
136
-
137
174
  function initExpandos(protoType, expandoNames, expandoValues) {
138
- let i_0 = 0,
139
- value;
175
+ let i_0 = 0, value;
140
176
  for (const name_0 in protoType) {
141
- if ((value = protoType[name_0])) {
177
+ if (value = protoType[name_0]) {
142
178
  expandoNames[i_0] = name_0;
143
179
  expandoValues[i_0] = value;
144
180
  ++i_0;
145
181
  }
146
182
  }
147
183
  }
148
-
149
184
  function wrapArray(array, expandoNames, expandoValues) {
150
185
  $clinit_Array$ExpandoWrapper();
151
186
  for (let i_0 = 0, c = expandoNames.length; i_0 < c; ++i_0) {
152
187
  array[expandoNames[i_0]] = expandoValues[i_0];
153
188
  }
154
189
  }
155
-
156
- let expandoNames_0, expandoValues_0;
157
-
190
+ var expandoNames_0;
191
+ var expandoValues_0;
158
192
  function canCast(src, dstId) {
159
193
  return src.castableTypeMap$ && !!src.castableTypeMap$[dstId];
160
194
  }
161
-
162
195
  function instanceOf(src, dstId) {
163
196
  return src !== null && canCast(src, dstId);
164
197
  }
165
-
166
- let ran$clinit_Center1 = false;
198
+ var ran$clinit_Center1 = false;
167
199
  function $clinit_Center1() {
168
200
  if (ran$clinit_Center1) {
169
201
  return false;
@@ -177,11 +209,9 @@ function $clinit_Center1() {
177
209
  syminv = createArray(48);
178
210
  finish_0 = createArray(48);
179
211
  }
180
-
181
212
  function $$init_1(this$static) {
182
213
  this$static.ct = createArray(24);
183
214
  }
184
-
185
215
  function $equals(this$static, obj) {
186
216
  let c, i_0;
187
217
  if (instanceOf(obj, Q$Center1)) {
@@ -195,7 +225,6 @@ function $equals(this$static, obj) {
195
225
  }
196
226
  return false;
197
227
  }
198
-
199
228
  function $get_1(this$static) {
200
229
  let i_0, idx, r;
201
230
  idx = 0;
@@ -205,7 +234,6 @@ function $get_1(this$static) {
205
234
  }
206
235
  return idx;
207
236
  }
208
-
209
237
  function $getsym(this$static) {
210
238
  let cord, j;
211
239
  if (raw2sym !== null) {
@@ -213,14 +241,14 @@ function $getsym(this$static) {
213
241
  }
214
242
  for (j = 0; j < 48; ++j) {
215
243
  cord = raw2sym_0($get_1(this$static));
216
- if (cord !== -1) return cord * 64 + j;
244
+ if (cord !== -1)
245
+ return cord * 64 + j;
217
246
  $rot(this$static, 0);
218
247
  j % 2 === 1 && $rot(this$static, 1);
219
248
  j % 8 === 7 && $rot(this$static, 2);
220
249
  j % 16 === 15 && $rot(this$static, 3);
221
250
  }
222
251
  }
223
-
224
252
  function $move(this$static, m_0) {
225
253
  const key = m_0 % 3;
226
254
  m_0 = ~~(m_0 / 3);
@@ -274,7 +302,6 @@ function $move(this$static, m_0) {
274
302
  swap(this$static.ct, 0, 23, 6, 17, key);
275
303
  }
276
304
  }
277
-
278
305
  function $rot(this$static, r) {
279
306
  switch (r) {
280
307
  case 0:
@@ -300,7 +327,6 @@ function $rot(this$static, r) {
300
327
  $move(this$static, 35);
301
328
  }
302
329
  }
303
-
304
330
  function $rotate(this$static, r) {
305
331
  let j;
306
332
  for (j = 0; j < r; ++j) {
@@ -310,7 +336,6 @@ function $rotate(this$static, r) {
310
336
  j % 16 === 15 && $rot(this$static, 3);
311
337
  }
312
338
  }
313
-
314
339
  function $set_0(this$static, idx) {
315
340
  let i_0, r;
316
341
  r = 8;
@@ -322,14 +347,12 @@ function $set_0(this$static, idx) {
322
347
  }
323
348
  }
324
349
  }
325
-
326
350
  function $set_1(this$static, c) {
327
351
  let i_0;
328
352
  for (i_0 = 0; i_0 < 24; ++i_0) {
329
353
  this$static.ct[i_0] = c.ct[i_0];
330
354
  }
331
355
  }
332
-
333
356
  function Center1_0() {
334
357
  let i_0;
335
358
  $$init_1(this);
@@ -340,7 +363,6 @@ function Center1_0() {
340
363
  this.ct[i_0] = 0;
341
364
  }
342
365
  }
343
-
344
366
  function Center1_1(c, urf) {
345
367
  let i_0;
346
368
  $$init_1(this);
@@ -348,7 +370,6 @@ function Center1_1(c, urf) {
348
370
  this.ct[i_0] = ~~(c.ct[i_0] / 2) === urf ? 1 : 0;
349
371
  }
350
372
  }
351
-
352
373
  function Center1_2(ct) {
353
374
  let i_0;
354
375
  $$init_1(this);
@@ -356,7 +377,6 @@ function Center1_2(ct) {
356
377
  this.ct[i_0] = ct[i_0];
357
378
  }
358
379
  }
359
-
360
380
  function createMoveTable() {
361
381
  let i_0, m_0;
362
382
  const c = new Center1_0();
@@ -370,7 +390,6 @@ function createMoveTable() {
370
390
  }
371
391
  }
372
392
  }
373
-
374
393
  function createPrun() {
375
394
  let check, depth, done, i_0, idx, inv, m_0, select;
376
395
  fill_0(csprun);
@@ -402,7 +421,6 @@ function createPrun() {
402
421
  }
403
422
  }
404
423
  }
405
-
406
424
  function getSolvedSym(cube) {
407
425
  let check, i_0, j;
408
426
  const c = new Center1_2(cube.ct);
@@ -424,7 +442,6 @@ function getSolvedSym(cube) {
424
442
  }
425
443
  return -1;
426
444
  }
427
-
428
445
  function initSym_0() {
429
446
  let i_0, j, k_0;
430
447
  const c = new Center1_0();
@@ -482,7 +499,6 @@ function initSym_0() {
482
499
  i_0 % 16 === 15 && $rot(c, 3);
483
500
  }
484
501
  }
485
-
486
502
  function initSym2Raw() {
487
503
  let count, i_0, idx, j;
488
504
  const c = new Center1_0();
@@ -492,12 +508,12 @@ function initSym2Raw() {
492
508
  }
493
509
  count = 0;
494
510
  for (i_0 = 0; i_0 < 735471; ++i_0) {
495
- if ((occ[~~i_0 >>> 5] & (1 << (i_0 & 31))) === 0) {
511
+ if ((occ[~~i_0 >>> 5] & 1 << (i_0 & 31)) === 0) {
496
512
  $set_0(c, i_0);
497
513
  for (j = 0; j < 48; ++j) {
498
514
  idx = $get_1(c);
499
515
  occ[~~idx >>> 5] |= 1 << (idx & 31);
500
- raw2sym !== null && (raw2sym[idx] = (count << 6) | syminv[j]);
516
+ raw2sym !== null && (raw2sym[idx] = count << 6 | syminv[j]);
501
517
  $rot(c, 0);
502
518
  j % 2 === 1 && $rot(c, 1);
503
519
  j % 8 === 7 && $rot(c, 2);
@@ -507,24 +523,20 @@ function initSym2Raw() {
507
523
  }
508
524
  }
509
525
  }
510
-
511
526
  function raw2sym_0(n) {
512
527
  const m_0 = binarySearch_0(sym2raw, n);
513
528
  return m_0 >= 0 ? m_0 : -1;
514
529
  }
515
-
516
530
  defineSeed(153, 1, makeCastMap([Q$Center1]), Center1_0, Center1_1, Center1_2);
517
-
518
- let csprun,
519
- ctsmv,
520
- finish_0,
521
- raw2sym = null,
522
- sym2raw,
523
- syminv,
524
- symmove,
525
- symmult;
526
-
527
- let ran$clinit_Center2 = false;
531
+ var csprun;
532
+ var ctsmv;
533
+ var finish_0;
534
+ var raw2sym = null;
535
+ var sym2raw;
536
+ var syminv;
537
+ var symmove;
538
+ var symmult;
539
+ var ran$clinit_Center2 = false;
528
540
  function $clinit_Center2() {
529
541
  if (ran$clinit_Center2) {
530
542
  return;
@@ -536,11 +548,44 @@ function $clinit_Center2() {
536
548
  ctrot = createArray(6435, 16);
537
549
  ctprun = createArray(450450);
538
550
  pmv = [
539
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0,
540
- 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0,
551
+ 0,
552
+ 0,
553
+ 0,
554
+ 0,
555
+ 0,
556
+ 0,
557
+ 0,
558
+ 0,
559
+ 0,
560
+ 0,
561
+ 0,
562
+ 0,
563
+ 0,
564
+ 0,
565
+ 0,
566
+ 0,
567
+ 0,
568
+ 0,
569
+ 0,
570
+ 0,
571
+ 0,
572
+ 1,
573
+ 0,
574
+ 1,
575
+ 0,
576
+ 0,
577
+ 0,
578
+ 0,
579
+ 0,
580
+ 0,
581
+ 1,
582
+ 0,
583
+ 1,
584
+ 0,
585
+ 0,
586
+ 0
541
587
  ];
542
588
  }
543
-
544
589
  function $getct(this$static) {
545
590
  let i_0, idx, r;
546
591
  idx = 0;
@@ -550,7 +595,6 @@ function $getct(this$static) {
550
595
  }
551
596
  return idx;
552
597
  }
553
-
554
598
  function $getrl(this$static) {
555
599
  let i_0, idx, r;
556
600
  idx = 0;
@@ -560,7 +604,6 @@ function $getrl(this$static) {
560
604
  }
561
605
  return idx * 2 + this$static.parity;
562
606
  }
563
-
564
607
  function $move_0(this$static, m_0) {
565
608
  this$static.parity ^= pmv[m_0];
566
609
  const key = m_0 % 3;
@@ -615,7 +658,6 @@ function $move_0(this$static, m_0) {
615
658
  swap(this$static.ct, 1, 0, 7, 6, key);
616
659
  }
617
660
  }
618
-
619
661
  function $rot_0(this$static, r) {
620
662
  switch (r) {
621
663
  case 0:
@@ -635,7 +677,6 @@ function $rot_0(this$static, r) {
635
677
  swap(this$static.rl, 1, 2, 4, 7, 1);
636
678
  }
637
679
  }
638
-
639
680
  function $set_2(this$static, c, edgeParity) {
640
681
  let i_0;
641
682
  for (i_0 = 0; i_0 < 16; ++i_0) {
@@ -646,7 +687,6 @@ function $set_2(this$static, c, edgeParity) {
646
687
  }
647
688
  this$static.parity = edgeParity;
648
689
  }
649
-
650
690
  function $setct(this$static, idx) {
651
691
  let i_0, r;
652
692
  r = 8;
@@ -660,7 +700,6 @@ function $setct(this$static, idx) {
660
700
  }
661
701
  }
662
702
  }
663
-
664
703
  function $setrl(this$static, idx) {
665
704
  let i_0, r;
666
705
  this$static.parity = idx & 1;
@@ -676,12 +715,10 @@ function $setrl(this$static, idx) {
676
715
  }
677
716
  }
678
717
  }
679
-
680
718
  function Center2_0() {
681
719
  this.rl = createArray(8);
682
720
  this.ct = createArray(16);
683
721
  }
684
-
685
722
  function init_3() {
686
723
  let ct, ctx, depth, done, i_0, idx, j, m_0, rl, rlx;
687
724
  const c = new Center2_0();
@@ -718,16 +755,9 @@ function init_3() {
718
755
  }
719
756
  }
720
757
  fill_0(ctprun);
721
- ctprun[0] =
722
- ctprun[18] =
723
- ctprun[28] =
724
- ctprun[46] =
725
- ctprun[54] =
726
- ctprun[56] =
727
- 0;
758
+ ctprun[0] = ctprun[18] = ctprun[28] = ctprun[46] = ctprun[54] = ctprun[56] = 0;
728
759
  depth = 0;
729
760
  done = 6;
730
-
731
761
  while (done !== 450450) {
732
762
  const inv = depth > 6;
733
763
  const select = inv ? -1 : depth;
@@ -757,12 +787,15 @@ function init_3() {
757
787
  }
758
788
  }
759
789
  }
760
-
761
790
  defineSeed(154, 1, {}, Center2_0);
762
791
  _.parity = 0;
763
- let ctmv, ctprun, ctrot, pmv, rlmv, rlrot;
764
-
765
- let ran$clinit_Center3 = false;
792
+ var ctmv;
793
+ var ctprun;
794
+ var ctrot;
795
+ var pmv;
796
+ var rlmv;
797
+ var rlrot;
798
+ var ran$clinit_Center3 = false;
766
799
  function $clinit_Center3() {
767
800
  if (ran$clinit_Center3) {
768
801
  return;
@@ -774,7 +807,6 @@ function $clinit_Center3() {
774
807
  rl2std = [0, 9, 14, 23, 27, 28, 41, 42, 46, 55, 60, 69];
775
808
  std2rl = createArray(70);
776
809
  }
777
-
778
810
  function $getct_0(this$static) {
779
811
  let i_0, idx, idxrl, r;
780
812
  idx = 0;
@@ -796,7 +828,6 @@ function $getct_0(this$static) {
796
828
  }
797
829
  return this$static.parity + 2 * (idx + std2rl[idxrl]);
798
830
  }
799
-
800
831
  function $move_1(this$static, i_0) {
801
832
  this$static.parity ^= pmove[i_0];
802
833
  switch (i_0) {
@@ -857,23 +888,16 @@ function $move_1(this$static, i_0) {
857
888
  swap(this$static.rl, 1, 4, 7, 2, 1);
858
889
  }
859
890
  }
860
-
861
891
  function $set_3(this$static, c, eXc_parity) {
862
892
  let i_0;
863
- const parity =
864
- (c.ct[0] > c.ct[8] ? 1 : 0) ^
865
- (c.ct[8] > c.ct[16] ? 1 : 0) ^
866
- (c.ct[0] > c.ct[16] ? 1 : 0)
867
- ? 1
868
- : 0;
893
+ const parity = (c.ct[0] > c.ct[8] ? 1 : 0) ^ (c.ct[8] > c.ct[16] ? 1 : 0) ^ (c.ct[0] > c.ct[16] ? 1 : 0) ? 1 : 0;
869
894
  for (i_0 = 0; i_0 < 8; ++i_0) {
870
- this$static.ud[i_0] = (c.ct[i_0] & 1) ^ 1;
871
- this$static.fb[i_0] = (c.ct[i_0 + 8] & 1) ^ 1;
872
- this$static.rl[i_0] = (c.ct[i_0 + 16] & 1) ^ 1 ^ parity;
895
+ this$static.ud[i_0] = c.ct[i_0] & 1 ^ 1;
896
+ this$static.fb[i_0] = c.ct[i_0 + 8] & 1 ^ 1;
897
+ this$static.rl[i_0] = c.ct[i_0 + 16] & 1 ^ 1 ^ parity;
873
898
  }
874
899
  this$static.parity = parity ^ eXc_parity;
875
900
  }
876
-
877
901
  function $setct_0(this$static, idx) {
878
902
  let i_0, idxfb, idxrl, r;
879
903
  this$static.parity = idx & 1;
@@ -911,13 +935,11 @@ function $setct_0(this$static, idx) {
911
935
  }
912
936
  }
913
937
  }
914
-
915
938
  function Center3_0() {
916
939
  this.ud = createArray(8);
917
940
  this.rl = createArray(8);
918
941
  this.fb = createArray(8);
919
942
  }
920
-
921
943
  function init_4() {
922
944
  let depth, done, i_0, m_0;
923
945
  for (i_0 = 0; i_0 < 12; ++i_0) {
@@ -950,18 +972,19 @@ function init_4() {
950
972
  ++depth;
951
973
  }
952
974
  }
953
-
954
975
  defineSeed(155, 1, {}, Center3_0);
955
976
  _.parity = 0;
956
- let ctmove, pmove, prun_0, rl2std, std2rl;
957
-
977
+ var ctmove;
978
+ var pmove;
979
+ var prun_0;
980
+ var rl2std;
981
+ var std2rl;
958
982
  function $copy_1(this$static, c) {
959
983
  let i_0;
960
984
  for (i_0 = 0; i_0 < 24; ++i_0) {
961
985
  this$static.ct[i_0] = c.ct[i_0];
962
986
  }
963
987
  }
964
-
965
988
  function $move_2(this$static, m_0) {
966
989
  const key = m_0 % 3;
967
990
  m_0 = ~~(m_0 / 3);
@@ -1015,7 +1038,6 @@ function $move_2(this$static, m_0) {
1015
1038
  swap(this$static.ct, 0, 23, 6, 17, key);
1016
1039
  }
1017
1040
  }
1018
-
1019
1041
  function CenterCube_0() {
1020
1042
  let i_0;
1021
1043
  this.ct = createArray(24);
@@ -1023,7 +1045,6 @@ function CenterCube_0() {
1023
1045
  this.ct[i_0] = ~~(i_0 / 4);
1024
1046
  }
1025
1047
  }
1026
-
1027
1048
  function CenterCube_1(randomUIntBelow) {
1028
1049
  let i_0, m_0, t;
1029
1050
  CenterCube_0.call(this);
@@ -1036,10 +1057,8 @@ function CenterCube_1(randomUIntBelow) {
1036
1057
  }
1037
1058
  }
1038
1059
  }
1039
-
1040
1060
  defineSeed(156, 1, {}, CenterCube_0, CenterCube_1);
1041
-
1042
- let ran$clinit_CornerCube = false;
1061
+ var ran$clinit_CornerCube = false;
1043
1062
  function $clinit_CornerCube() {
1044
1063
  if (ran$clinit_CornerCube) {
1045
1064
  return;
@@ -1048,12 +1067,10 @@ function $clinit_CornerCube() {
1048
1067
  moveCube_0 = createArray(18);
1049
1068
  initMove_0();
1050
1069
  }
1051
-
1052
1070
  function $$init_2(this$static) {
1053
1071
  this$static.cp = [0, 1, 2, 3, 4, 5, 6, 7];
1054
1072
  this$static.co = [0, 0, 0, 0, 0, 0, 0, 0];
1055
1073
  }
1056
-
1057
1074
  function $copy_2(this$static, c) {
1058
1075
  let i_0;
1059
1076
  for (i_0 = 0; i_0 < 8; ++i_0) {
@@ -1061,13 +1078,11 @@ function $copy_2(this$static, c) {
1061
1078
  this$static.co[i_0] = c.co[i_0];
1062
1079
  }
1063
1080
  }
1064
-
1065
1081
  function $move_3(this$static, idx) {
1066
1082
  !this$static.temps && (this$static.temps = new CornerCube_0());
1067
1083
  CornMult_0(this$static, moveCube_0[idx], this$static.temps);
1068
1084
  $copy_2(this$static, this$static.temps);
1069
1085
  }
1070
-
1071
1086
  function $setTwist_0(this$static, idx) {
1072
1087
  let i_0, twst;
1073
1088
  twst = 0;
@@ -1077,7 +1092,6 @@ function $setTwist_0(this$static, idx) {
1077
1092
  }
1078
1093
  this$static.co[7] = (15 - twst) % 3;
1079
1094
  }
1080
-
1081
1095
  function CornMult_0(a, b, prod) {
1082
1096
  let corn, ori, oriA, oriB;
1083
1097
  for (corn = 0; corn < 8; ++corn) {
@@ -1091,21 +1105,17 @@ function CornMult_0(a, b, prod) {
1091
1105
  prod.co[corn] = ori;
1092
1106
  }
1093
1107
  }
1094
-
1095
1108
  function CornerCube_0() {
1096
1109
  $$init_2(this);
1097
1110
  }
1098
-
1099
1111
  function CornerCube_1(cperm, twist) {
1100
1112
  $$init_2(this);
1101
1113
  set8Perm(this.cp, cperm);
1102
1114
  $setTwist_0(this, twist);
1103
1115
  }
1104
-
1105
1116
  function CornerCube_2(randomUIntBelow) {
1106
1117
  CornerCube_1.call(this, randomUIntBelow(40320), randomUIntBelow(2187));
1107
1118
  }
1108
-
1109
1119
  function initMove_0() {
1110
1120
  let a, p_0;
1111
1121
  moveCube_0[0] = new CornerCube_1(15120, 0);
@@ -1121,19 +1131,10 @@ function initMove_0() {
1121
1131
  }
1122
1132
  }
1123
1133
  }
1124
-
1125
- defineSeed(
1126
- 157,
1127
- 1,
1128
- makeCastMap([Q$CornerCube]),
1129
- CornerCube_0,
1130
- CornerCube_1,
1131
- CornerCube_2,
1132
- );
1134
+ defineSeed(157, 1, makeCastMap([Q$CornerCube]), CornerCube_0, CornerCube_1, CornerCube_2);
1133
1135
  _.temps = null;
1134
- let moveCube_0;
1135
-
1136
- let ran$clinit_Edge3 = false;
1136
+ var moveCube_0;
1137
+ var ran$clinit_Edge3 = false;
1137
1138
  function $clinit_Edge3() {
1138
1139
  if (ran$clinit_Edge3) {
1139
1140
  return;
@@ -1147,11 +1148,22 @@ function $clinit_Edge3() {
1147
1148
  mvrot = createArray(160, 12);
1148
1149
  mvroto = createArray(160, 12);
1149
1150
  factX = [
1150
- 1, 1, 1, 3, 12, 60, 360, 2520, 20160, 181440, 1814400, 19958400, 239500800,
1151
+ 1,
1152
+ 1,
1153
+ 1,
1154
+ 3,
1155
+ 12,
1156
+ 60,
1157
+ 360,
1158
+ 2520,
1159
+ 20160,
1160
+ 181440,
1161
+ 1814400,
1162
+ 19958400,
1163
+ 239500800
1151
1164
  ];
1152
1165
  FullEdgeMap = [0, 2, 4, 6, 1, 3, 7, 5, 8, 9, 10, 11];
1153
1166
  }
1154
-
1155
1167
  function $circlex(this$static, a, b, c, d) {
1156
1168
  const temp = this$static.edgeo[d];
1157
1169
  this$static.edgeo[d] = this$static.edge[c];
@@ -1159,7 +1171,6 @@ function $circlex(this$static, a, b, c, d) {
1159
1171
  this$static.edgeo[b] = this$static.edge[a];
1160
1172
  this$static.edge[a] = temp;
1161
1173
  }
1162
-
1163
1174
  function $get_2(this$static, end) {
1164
1175
  let i_0, idx, v, valh, vall;
1165
1176
  this$static.isStd || $std(this$static);
@@ -1170,17 +1181,16 @@ function $get_2(this$static, end) {
1170
1181
  v = this$static.edge[i_0] << 2;
1171
1182
  idx *= 12 - i_0;
1172
1183
  if (v >= 32) {
1173
- idx += (valh >> (v - 32)) & 15;
1174
- valh -= 4368 << (v - 32);
1184
+ idx += valh >> v - 32 & 15;
1185
+ valh -= 4368 << v - 32;
1175
1186
  } else {
1176
- idx += (vall >> v) & 15;
1187
+ idx += vall >> v & 15;
1177
1188
  valh -= 4369;
1178
1189
  vall -= 286331152 << v;
1179
1190
  }
1180
1191
  }
1181
1192
  return idx;
1182
1193
  }
1183
-
1184
1194
  function $getsym_0(this$static) {
1185
1195
  let symcord1x;
1186
1196
  const cord1x = $get_2(this$static, 4);
@@ -1191,7 +1201,6 @@ function $getsym_0(this$static) {
1191
1201
  const cord2x = $get_2(this$static, 10) % 20160;
1192
1202
  return symcord1x * 20160 + cord2x;
1193
1203
  }
1194
-
1195
1204
  function $move_4(this$static, i_0) {
1196
1205
  this$static.isStd = false;
1197
1206
  switch (i_0) {
@@ -1288,7 +1297,6 @@ function $move_4(this$static, i_0) {
1288
1297
  circle(this$static.edgeo, 5, 7);
1289
1298
  }
1290
1299
  }
1291
-
1292
1300
  function $rot_1(this$static, r) {
1293
1301
  this$static.isStd = false;
1294
1302
  switch (r) {
@@ -1319,7 +1327,6 @@ function $rot_1(this$static, r) {
1319
1327
  $swapx(this$static, 2, 2);
1320
1328
  }
1321
1329
  }
1322
-
1323
1330
  function $rotate_0(this$static, r) {
1324
1331
  while (r >= 2) {
1325
1332
  r -= 2;
@@ -1328,11 +1335,10 @@ function $rotate_0(this$static, r) {
1328
1335
  }
1329
1336
  r !== 0 && $rot_1(this$static, 0);
1330
1337
  }
1331
-
1332
1338
  function $set_4(this$static, idx) {
1333
1339
  let i_0, p_0, parity, v, vall, valh;
1334
- vall = 0x76543210;
1335
- valh = 0xba98;
1340
+ vall = 1985229328;
1341
+ valh = 47768;
1336
1342
  parity = 0;
1337
1343
  for (i_0 = 0; i_0 < 11; ++i_0) {
1338
1344
  p_0 = factX[11 - i_0];
@@ -1342,13 +1348,13 @@ function $set_4(this$static, idx) {
1342
1348
  v <<= 2;
1343
1349
  if (v >= 32) {
1344
1350
  v = v - 32;
1345
- this$static.edge[i_0] = (valh >> v) & 15;
1351
+ this$static.edge[i_0] = valh >> v & 15;
1346
1352
  const m = (1 << v) - 1;
1347
- valh = (valh & m) + ((valh >> 4) & ~m);
1353
+ valh = (valh & m) + (valh >> 4 & ~m);
1348
1354
  } else {
1349
- this$static.edge[i_0] = (vall >> v) & 15;
1355
+ this$static.edge[i_0] = vall >> v & 15;
1350
1356
  const m = (1 << v) - 1;
1351
- vall = (vall & m) + ((vall >>> 4) & ~m) + (valh << 28);
1357
+ vall = (vall & m) + (vall >>> 4 & ~m) + (valh << 28);
1352
1358
  valh = valh >> 4;
1353
1359
  }
1354
1360
  }
@@ -1363,7 +1369,6 @@ function $set_4(this$static, idx) {
1363
1369
  }
1364
1370
  this$static.isStd = true;
1365
1371
  }
1366
-
1367
1372
  function $set_5(this$static, e) {
1368
1373
  let i_0;
1369
1374
  for (i_0 = 0; i_0 < 12; ++i_0) {
@@ -1372,7 +1377,6 @@ function $set_5(this$static, e) {
1372
1377
  }
1373
1378
  this$static.isStd = e.isStd;
1374
1379
  }
1375
-
1376
1380
  function $set_6(this$static, c) {
1377
1381
  let i_0, parity, s, t;
1378
1382
  this$static.temp === null && (this$static.temp = createArray(12));
@@ -1397,7 +1401,6 @@ function $set_6(this$static, c) {
1397
1401
  }
1398
1402
  return parity;
1399
1403
  }
1400
-
1401
1404
  function $std(this$static) {
1402
1405
  let i_0;
1403
1406
  this$static.temp === null && (this$static.temp = createArray(12));
@@ -1410,7 +1413,6 @@ function $std(this$static) {
1410
1413
  }
1411
1414
  this$static.isStd = true;
1412
1415
  }
1413
-
1414
1416
  function $swap_0(arr, a, b, c, d) {
1415
1417
  let temp;
1416
1418
  temp = arr[a];
@@ -1420,41 +1422,17 @@ function $swap_0(arr, a, b, c, d) {
1420
1422
  arr[b] = arr[d];
1421
1423
  arr[d] = temp;
1422
1424
  }
1423
-
1424
1425
  function $swapx(this$static, x, y) {
1425
1426
  const temp = this$static.edge[x];
1426
1427
  this$static.edge[x] = this$static.edgeo[y];
1427
1428
  this$static.edgeo[y] = temp;
1428
1429
  }
1429
-
1430
1430
  function Edge3_0() {
1431
1431
  this.edge = createArray(12);
1432
1432
  this.edgeo = createArray(12);
1433
1433
  }
1434
-
1435
1434
  function createPrun_0() {
1436
- let chk,
1437
- cord1,
1438
- cord1x,
1439
- cord2,
1440
- cord2x,
1441
- dep1m3,
1442
- depm3,
1443
- depth,
1444
- end,
1445
- find_0,
1446
- i_0,
1447
- i_,
1448
- idx,
1449
- idxx,
1450
- inv,
1451
- j,
1452
- m_0,
1453
- symState,
1454
- symcord1,
1455
- symcord1x,
1456
- symx,
1457
- val;
1435
+ let chk, cord1, cord1x, cord2, cord2x, dep1m3, depm3, depth, end, find_0, i_0, i_, idx, idxx, inv, j, m_0, symState, symcord1, symcord1x, symx, val;
1458
1436
  const e = new Edge3_0();
1459
1437
  const f = new Edge3_0();
1460
1438
  const g = new Edge3_0();
@@ -1462,7 +1440,6 @@ function createPrun_0() {
1462
1440
  depth = 0;
1463
1441
  done_0 = 1;
1464
1442
  setPruning_0(eprun, 0, 0);
1465
- // var start = +new Date;
1466
1443
  while (done_0 !== 31006080) {
1467
1444
  inv = depth > 9;
1468
1445
  depm3 = depth % 3;
@@ -1490,7 +1467,7 @@ function createPrun_0() {
1490
1467
  symcord1x = raw2sym_1[cord1x];
1491
1468
  symx = symcord1x & 7;
1492
1469
  symcord1x >>= 3;
1493
- cord2x = getmvrot(e.edge, (m_0 << 3) | symx, 10) % 20160;
1470
+ cord2x = getmvrot(e.edge, m_0 << 3 | symx, 10) % 20160;
1494
1471
  idx = symcord1x * 20160 + cord2x;
1495
1472
  if (getPruning_0(eprun, idx) !== chk) {
1496
1473
  continue;
@@ -1507,13 +1484,13 @@ function createPrun_0() {
1507
1484
  $set_5(f, e);
1508
1485
  $move_4(f, m_0);
1509
1486
  $rotate_0(f, symx);
1510
- for (j = 1; (symState = (~~symState >> 1) & 65535) !== 0; ++j) {
1487
+ for (j = 1; (symState = ~~symState >> 1 & 65535) !== 0; ++j) {
1511
1488
  if ((symState & 1) !== 1) {
1512
1489
  continue;
1513
1490
  }
1514
1491
  $set_5(g, f);
1515
1492
  $rotate_0(g, j);
1516
- idxx = symcord1x * 20160 + ($get_2(g, 10) % 20160);
1493
+ idxx = symcord1x * 20160 + $get_2(g, 10) % 20160;
1517
1494
  if (getPruning_0(eprun, idxx) === chk) {
1518
1495
  setPruning_0(eprun, idxx, dep1m3);
1519
1496
  ++done_0;
@@ -1523,14 +1500,11 @@ function createPrun_0() {
1523
1500
  }
1524
1501
  }
1525
1502
  ++depth;
1526
- // console.log(depth + '\t' + done_0 + '\t' + (+new Date - start));
1527
1503
  }
1528
1504
  }
1529
-
1530
1505
  function getPruning_0(table, index) {
1531
- return (table[index >> 4] >> ((index & 15) << 1)) & 3;
1506
+ return table[index >> 4] >> ((index & 15) << 1) & 3;
1532
1507
  }
1533
-
1534
1508
  function getmvrot(ep, mrIdx, end) {
1535
1509
  let i_0, idx, v, valh, vall;
1536
1510
  const movo = mvroto[mrIdx];
@@ -1542,29 +1516,18 @@ function getmvrot(ep, mrIdx, end) {
1542
1516
  v = movo[ep[mov[i_0]]] << 2;
1543
1517
  idx *= 12 - i_0;
1544
1518
  if (v >= 32) {
1545
- idx += (valh >> (v - 32)) & 15;
1546
- valh -= 4368 << (v - 32);
1519
+ idx += valh >> v - 32 & 15;
1520
+ valh -= 4368 << v - 32;
1547
1521
  } else {
1548
- idx += (vall >> v) & 15;
1522
+ idx += vall >> v & 15;
1549
1523
  valh -= 4369;
1550
1524
  vall -= 286331152 << v;
1551
1525
  }
1552
1526
  }
1553
1527
  return idx;
1554
1528
  }
1555
-
1556
1529
  function getprun(edge) {
1557
- let cord1,
1558
- cord1x,
1559
- cord2,
1560
- cord2x,
1561
- depm3,
1562
- depth,
1563
- idx,
1564
- m_0,
1565
- symcord1,
1566
- symcord1x,
1567
- symx;
1530
+ let cord1, cord1x, cord2, cord2x, depm3, depth, idx, m_0, symcord1, symcord1x, symx;
1568
1531
  const e = new Edge3_0();
1569
1532
  depth = 0;
1570
1533
  depm3 = getPruning_0(eprun, edge);
@@ -1572,7 +1535,7 @@ function getprun(edge) {
1572
1535
  return 10;
1573
1536
  }
1574
1537
  while (edge !== 0) {
1575
- depm3 === 0 ? (depm3 = 2) : --depm3;
1538
+ depm3 === 0 ? depm3 = 2 : --depm3;
1576
1539
  symcord1 = ~~(edge / 20160);
1577
1540
  cord1 = sym2raw_0[symcord1];
1578
1541
  cord2 = edge % 20160;
@@ -1582,7 +1545,7 @@ function getprun(edge) {
1582
1545
  symcord1x = raw2sym_1[cord1x];
1583
1546
  symx = symcord1x & 7;
1584
1547
  symcord1x >>= 3;
1585
- cord2x = getmvrot(e.edge, (m_0 << 3) | symx, 10) % 20160;
1548
+ cord2x = getmvrot(e.edge, m_0 << 3 | symx, 10) % 20160;
1586
1549
  idx = symcord1x * 20160 + cord2x;
1587
1550
  if (getPruning_0(eprun, idx) === depm3) {
1588
1551
  ++depth;
@@ -1593,16 +1556,13 @@ function getprun(edge) {
1593
1556
  }
1594
1557
  return depth;
1595
1558
  }
1596
-
1597
1559
  function getprun_0(edge, prun) {
1598
1560
  const depm3 = getPruning_0(eprun, edge);
1599
1561
  if (depm3 === 3) {
1600
1562
  return 10;
1601
1563
  }
1602
- return (((0x49249249 << depm3) >> prun) & 3) + prun - 1;
1603
- // (depm3 - prun + 16) % 3 + prun - 1;
1564
+ return (1227133513 << depm3 >> prun & 3) + prun - 1;
1604
1565
  }
1605
-
1606
1566
  function initMvrot() {
1607
1567
  let i_0, m_0, r;
1608
1568
  const e = new Edge3_0();
@@ -1612,16 +1572,15 @@ function initMvrot() {
1612
1572
  $move_4(e, m_0);
1613
1573
  $rotate_0(e, r);
1614
1574
  for (i_0 = 0; i_0 < 12; ++i_0) {
1615
- mvrot[(m_0 << 3) | r][i_0] = e.edge[i_0];
1575
+ mvrot[m_0 << 3 | r][i_0] = e.edge[i_0];
1616
1576
  }
1617
1577
  $std(e);
1618
1578
  for (i_0 = 0; i_0 < 12; ++i_0) {
1619
- mvroto[(m_0 << 3) | r][i_0] = e.temp[i_0];
1579
+ mvroto[m_0 << 3 | r][i_0] = e.temp[i_0];
1620
1580
  }
1621
1581
  }
1622
1582
  }
1623
1583
  }
1624
-
1625
1584
  function initRaw2Sym() {
1626
1585
  let count, i_0, idx, j;
1627
1586
  const e = new Edge3_0();
@@ -1631,13 +1590,13 @@ function initRaw2Sym() {
1631
1590
  }
1632
1591
  count = 0;
1633
1592
  for (i_0 = 0; i_0 < 11880; ++i_0) {
1634
- if ((occ[~~i_0 >>> 3] & (1 << (i_0 & 7))) === 0) {
1593
+ if ((occ[~~i_0 >>> 3] & 1 << (i_0 & 7)) === 0) {
1635
1594
  $set_4(e, i_0 * factX[8]);
1636
1595
  for (j = 0; j < 8; ++j) {
1637
1596
  idx = $get_2(e, 4);
1638
- idx === i_0 && (symstate[count] = (symstate[count] | (1 << j)) & 65535);
1639
- occ[~~idx >> 3] = occ[~~idx >> 3] | (1 << (idx & 7));
1640
- raw2sym_1[idx] = (count << 3) | syminv_0[j];
1597
+ idx === i_0 && (symstate[count] = (symstate[count] | 1 << j) & 65535);
1598
+ occ[~~idx >> 3] = occ[~~idx >> 3] | 1 << (idx & 7);
1599
+ raw2sym_1[idx] = count << 3 | syminv_0[j];
1641
1600
  $rot_1(e, 0);
1642
1601
  if (j % 2 === 1) {
1643
1602
  $rot_1(e, 1);
@@ -1648,33 +1607,29 @@ function initRaw2Sym() {
1648
1607
  }
1649
1608
  }
1650
1609
  }
1651
-
1652
1610
  function setPruning_0(table, index, value) {
1653
1611
  table[index >> 4] ^= (3 ^ value) << ((index & 15) << 1);
1654
1612
  }
1655
-
1656
1613
  defineSeed(158, 1, makeCastMap([Q$Edge3]), Edge3_0);
1657
1614
  _.isStd = true;
1658
1615
  _.temp = null;
1659
- let FullEdgeMap,
1660
- done_0 = 0,
1661
- eprun,
1662
- factX,
1663
- mvrot,
1664
- mvroto,
1665
- raw2sym_1,
1666
- sym2raw_0,
1667
- syminv_0,
1668
- symstate;
1669
-
1670
- let ran$clinit_EdgeCube = false;
1616
+ var FullEdgeMap;
1617
+ var done_0 = 0;
1618
+ var eprun;
1619
+ var factX;
1620
+ var mvrot;
1621
+ var mvroto;
1622
+ var raw2sym_1;
1623
+ var sym2raw_0;
1624
+ var syminv_0;
1625
+ var symstate;
1626
+ var ran$clinit_EdgeCube = false;
1671
1627
  function $clinit_EdgeCube() {
1672
1628
  if (ran$clinit_EdgeCube) {
1673
1629
  return;
1674
1630
  }
1675
1631
  ran$clinit_EdgeCube = true;
1676
1632
  }
1677
-
1678
1633
  function $checkEdge(this$static) {
1679
1634
  let ck, i_0, parity;
1680
1635
  ck = 0;
@@ -1686,14 +1641,12 @@ function $checkEdge(this$static) {
1686
1641
  ck &= ~~ck >> 12;
1687
1642
  return ck === 0 && !parity;
1688
1643
  }
1689
-
1690
1644
  function $copy_3(this$static, c) {
1691
1645
  let i_0;
1692
1646
  for (i_0 = 0; i_0 < 24; ++i_0) {
1693
1647
  this$static.ep[i_0] = c.ep[i_0];
1694
1648
  }
1695
1649
  }
1696
-
1697
1650
  function $move_5(this$static, m_0) {
1698
1651
  const key = m_0 % 3;
1699
1652
  m_0 = ~~(m_0 / 3);
@@ -1753,7 +1706,6 @@ function $move_5(this$static, m_0) {
1753
1706
  swap(this$static.ep, 7, 15, 1, 17, key);
1754
1707
  }
1755
1708
  }
1756
-
1757
1709
  function EdgeCube_0() {
1758
1710
  let i_0;
1759
1711
  this.ep = createArray(24);
@@ -1761,7 +1713,6 @@ function EdgeCube_0() {
1761
1713
  this.ep[i_0] = i_0;
1762
1714
  }
1763
1715
  }
1764
-
1765
1716
  function EdgeCube_1(randomUIntBelow) {
1766
1717
  let i_0, m_0, t;
1767
1718
  EdgeCube_0.call(this);
@@ -1774,10 +1725,8 @@ function EdgeCube_1(randomUIntBelow) {
1774
1725
  }
1775
1726
  }
1776
1727
  }
1777
-
1778
1728
  defineSeed(159, 1, {}, EdgeCube_0, EdgeCube_1);
1779
-
1780
- let ran$clinit_FullCube_0 = false;
1729
+ var ran$clinit_FullCube_0 = false;
1781
1730
  function $clinit_FullCube_0() {
1782
1731
  if (ran$clinit_FullCube_0) {
1783
1732
  return;
@@ -1785,15 +1734,12 @@ function $clinit_FullCube_0() {
1785
1734
  ran$clinit_FullCube_0 = true;
1786
1735
  move2rot = [35, 1, 34, 2, 4, 6, 22, 5, 19];
1787
1736
  }
1788
-
1789
1737
  function $$init_3(this$static) {
1790
1738
  this$static.moveBuffer = createArray(60);
1791
1739
  }
1792
-
1793
1740
  function $compareTo_1(this$static, c) {
1794
1741
  return this$static.value - c.value;
1795
1742
  }
1796
-
1797
1743
  function $copy_4(this$static, c) {
1798
1744
  let i_0;
1799
1745
  $copy_3(this$static.edge, c.edge);
@@ -1813,49 +1759,33 @@ function $copy_4(this$static, c) {
1813
1759
  this$static.centerAvail = c.centerAvail;
1814
1760
  this$static.cornerAvail = c.cornerAvail;
1815
1761
  }
1816
-
1817
1762
  function $getCenter(this$static) {
1818
1763
  while (this$static.centerAvail < this$static.moveLength) {
1819
- $move_2(
1820
- this$static.center,
1821
- this$static.moveBuffer[this$static.centerAvail++],
1822
- );
1764
+ $move_2(this$static.center, this$static.moveBuffer[this$static.centerAvail++]);
1823
1765
  }
1824
1766
  return this$static.center;
1825
1767
  }
1826
-
1827
1768
  function $getCorner(this$static) {
1828
1769
  while (this$static.cornerAvail < this$static.moveLength) {
1829
- $move_3(
1830
- this$static.corner,
1831
- this$static.moveBuffer[this$static.cornerAvail++] % 18,
1832
- );
1770
+ $move_3(this$static.corner, this$static.moveBuffer[this$static.cornerAvail++] % 18);
1833
1771
  }
1834
1772
  return this$static.corner;
1835
1773
  }
1836
-
1837
1774
  function $getEdge(this$static) {
1838
1775
  while (this$static.edgeAvail < this$static.moveLength) {
1839
1776
  $move_5(this$static.edge, this$static.moveBuffer[this$static.edgeAvail++]);
1840
1777
  }
1841
1778
  return this$static.edge;
1842
1779
  }
1843
-
1844
1780
  function $getMoveString(this$static) {
1845
1781
  let i_0, idx, move, rot, sb, sym;
1846
- const fixedMoves = new Array(
1847
- this$static.moveLength - (this$static.add1 ? 2 : 0),
1848
- );
1782
+ const fixedMoves = new Array(this$static.moveLength - (this$static.add1 ? 2 : 0));
1849
1783
  idx = 0;
1850
1784
  for (i_0 = 0; i_0 < this$static.length1; ++i_0) {
1851
1785
  fixedMoves[idx++] = this$static.moveBuffer[i_0];
1852
1786
  }
1853
1787
  sym = this$static.sym;
1854
- for (
1855
- i_0 = this$static.length1 + (this$static.add1 ? 2 : 0);
1856
- i_0 < this$static.moveLength;
1857
- ++i_0
1858
- ) {
1788
+ for (i_0 = this$static.length1 + (this$static.add1 ? 2 : 0); i_0 < this$static.moveLength; ++i_0) {
1859
1789
  if (symmove[sym][this$static.moveBuffer[i_0]] >= 27) {
1860
1790
  fixedMoves[idx++] = symmove[sym][this$static.moveBuffer[i_0]] - 9;
1861
1791
  rot = move2rot[symmove[sym][this$static.moveBuffer[i_0]] - 27];
@@ -1869,7 +1799,7 @@ function $getMoveString(this$static) {
1869
1799
  sym = finishSym;
1870
1800
  for (i_0 = idx - 1; i_0 >= 0; --i_0) {
1871
1801
  move = fixedMoves[i_0];
1872
- move = ~~(move / 3) * 3 + (2 - (move % 3));
1802
+ move = ~~(move / 3) * 3 + (2 - move % 3);
1873
1803
  if (symmove[sym][move] >= 27) {
1874
1804
  sb = sb + move2str_1[symmove[sym][move] - 9] + " ";
1875
1805
  rot = move2rot[symmove[sym][move] - 27];
@@ -1880,39 +1810,27 @@ function $getMoveString(this$static) {
1880
1810
  }
1881
1811
  return sb;
1882
1812
  }
1883
-
1884
1813
  function $move_6(this$static, m_0) {
1885
1814
  this$static.moveBuffer[this$static.moveLength++] = m_0;
1886
1815
  return;
1887
1816
  }
1888
-
1889
1817
  function FullCube_3() {
1890
1818
  $$init_3(this);
1891
1819
  this.edge = new EdgeCube_0();
1892
1820
  this.center = new CenterCube_0();
1893
1821
  this.corner = new CornerCube_0();
1894
1822
  }
1895
-
1896
1823
  function FullCube_4(c) {
1897
1824
  FullCube_3.call(this);
1898
1825
  $copy_4(this, c);
1899
1826
  }
1900
-
1901
1827
  function FullCube_5(randomUIntBelow) {
1902
1828
  $$init_3(this);
1903
1829
  this.edge = new EdgeCube_1(randomUIntBelow);
1904
1830
  this.center = new CenterCube_1(randomUIntBelow);
1905
1831
  this.corner = new CornerCube_2(randomUIntBelow);
1906
1832
  }
1907
-
1908
- defineSeed(
1909
- 160,
1910
- 1,
1911
- makeCastMap([Q$FullCube_0, Q$Comparable]),
1912
- FullCube_3,
1913
- FullCube_4,
1914
- FullCube_5,
1915
- );
1833
+ defineSeed(160, 1, makeCastMap([Q$FullCube_0, Q$Comparable]), FullCube_3, FullCube_4, FullCube_5);
1916
1834
  _.compareTo$ = function compareTo_1(c) {
1917
1835
  return $compareTo_1(this, c);
1918
1836
  };
@@ -1929,24 +1847,20 @@ _.length3 = 0;
1929
1847
  _.moveLength = 0;
1930
1848
  _.sym = 0;
1931
1849
  _.value = 0;
1932
- let move2rot;
1933
-
1850
+ var move2rot;
1934
1851
  function $compare(c1, c2) {
1935
1852
  return c2.value - c1.value;
1936
1853
  }
1937
-
1938
1854
  function $compare_0(c1, c2) {
1939
1855
  return $compare(c1, c2);
1940
1856
  }
1941
-
1942
- function FullCube$ValueComparator_0() {}
1943
-
1857
+ function FullCube$ValueComparator_0() {
1858
+ }
1944
1859
  defineSeed(161, 1, {}, FullCube$ValueComparator_0);
1945
1860
  _.compare = function compare(c1, c2) {
1946
1861
  return $compare_0(c1, c2);
1947
1862
  };
1948
-
1949
- let ran$clinit_Moves = false;
1863
+ var ran$clinit_Moves = false;
1950
1864
  function $clinit_Moves() {
1951
1865
  if (ran$clinit_Moves) {
1952
1866
  return;
@@ -1989,14 +1903,61 @@ function $clinit_Moves() {
1989
1903
  "Lw'",
1990
1904
  "Bw ",
1991
1905
  "Bw2",
1992
- "Bw'",
1906
+ "Bw'"
1993
1907
  ];
1994
1908
  move2std = [
1995
- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 21, 22,
1996
- 23, 25, 28, 30, 31, 32, 34, 36,
1909
+ 0,
1910
+ 1,
1911
+ 2,
1912
+ 3,
1913
+ 4,
1914
+ 5,
1915
+ 6,
1916
+ 7,
1917
+ 8,
1918
+ 9,
1919
+ 10,
1920
+ 11,
1921
+ 12,
1922
+ 13,
1923
+ 14,
1924
+ 15,
1925
+ 16,
1926
+ 17,
1927
+ 19,
1928
+ 21,
1929
+ 22,
1930
+ 23,
1931
+ 25,
1932
+ 28,
1933
+ 30,
1934
+ 31,
1935
+ 32,
1936
+ 34,
1937
+ 36
1997
1938
  ];
1998
1939
  move3std = [
1999
- 0, 1, 2, 4, 6, 7, 8, 9, 10, 11, 13, 15, 16, 17, 19, 22, 25, 28, 31, 34, 36,
1940
+ 0,
1941
+ 1,
1942
+ 2,
1943
+ 4,
1944
+ 6,
1945
+ 7,
1946
+ 8,
1947
+ 9,
1948
+ 10,
1949
+ 11,
1950
+ 13,
1951
+ 15,
1952
+ 16,
1953
+ 17,
1954
+ 19,
1955
+ 22,
1956
+ 25,
1957
+ 28,
1958
+ 31,
1959
+ 34,
1960
+ 36
2000
1961
  ];
2001
1962
  std2move = createArray(37);
2002
1963
  std3move = createArray(37);
@@ -2014,9 +1975,7 @@ function $clinit_Moves() {
2014
1975
  }
2015
1976
  for (i_0 = 0; i_0 < 36; ++i_0) {
2016
1977
  for (j = 0; j < 36; ++j) {
2017
- ckmv[i_0][j] =
2018
- ~~(i_0 / 3) === ~~(j / 3) ||
2019
- (~~(i_0 / 3) % 3 === ~~(j / 3) % 3 && i_0 > j);
1978
+ ckmv[i_0][j] = ~~(i_0 / 3) === ~~(j / 3) || ~~(i_0 / 3) % 3 === ~~(j / 3) % 3 && i_0 > j;
2020
1979
  }
2021
1980
  ckmv[36][i_0] = false;
2022
1981
  }
@@ -2058,32 +2017,19 @@ function $clinit_Moves() {
2058
2017
  }
2059
2018
  }
2060
2019
  }
2061
-
2062
- let ckmv,
2063
- ckmv2_0,
2064
- ckmv3,
2065
- move2std,
2066
- move2str_1,
2067
- move3std,
2068
- skipAxis,
2069
- skipAxis2,
2070
- skipAxis3,
2071
- std2move,
2072
- std3move;
2073
-
2020
+ var ckmv;
2021
+ var ckmv2_0;
2022
+ var ckmv3;
2023
+ var move2std;
2024
+ var move2str_1;
2025
+ var move3std;
2026
+ var skipAxis;
2027
+ var skipAxis2;
2028
+ var skipAxis3;
2029
+ var std2move;
2030
+ var std3move;
2074
2031
  function $doSearch(this$static) {
2075
- let MAX_LENGTH2,
2076
- MAX_LENGTH3,
2077
- ct,
2078
- edge,
2079
- eparity,
2080
- i_0,
2081
- index,
2082
- length12,
2083
- length123,
2084
- prun,
2085
- s2ct,
2086
- s2rl;
2032
+ let MAX_LENGTH2, MAX_LENGTH3, ct, edge, eparity, i_0, index, length12, length123, prun, s2ct, s2rl;
2087
2033
  this$static.solution = "";
2088
2034
  const ud = $getsym(new Center1_1($getCenter(this$static.c), 0));
2089
2035
  const fb = $getsym(new Center1_1($getCenter(this$static.c), 1));
@@ -2094,136 +2040,65 @@ function $doSearch(this$static) {
2094
2040
  this$static.p1SolsCnt = 0;
2095
2041
  this$static.arr2idx = 0;
2096
2042
  $clear(this$static.p1sols.heap);
2097
- for (
2098
- this$static.length1 =
2099
- (udprun < fbprun ? udprun : fbprun) < rlprun
2100
- ? udprun < fbprun
2101
- ? udprun
2102
- : fbprun
2103
- : rlprun;
2104
- this$static.length1 < 100;
2105
- ++this$static.length1
2106
- ) {
2107
- if (
2108
- (rlprun <= this$static.length1 &&
2109
- $search1(
2110
- this$static,
2111
- ~~rl >>> 6,
2112
- rl & 63,
2113
- this$static.length1,
2114
- -1,
2115
- 0,
2116
- )) ||
2117
- (udprun <= this$static.length1 &&
2118
- $search1(
2119
- this$static,
2120
- ~~ud >>> 6,
2121
- ud & 63,
2122
- this$static.length1,
2123
- -1,
2124
- 0,
2125
- )) ||
2126
- (fbprun <= this$static.length1 &&
2127
- $search1(this$static, ~~fb >>> 6, fb & 63, this$static.length1, -1, 0))
2128
- ) {
2043
+ for (this$static.length1 = (udprun < fbprun ? udprun : fbprun) < rlprun ? udprun < fbprun ? udprun : fbprun : rlprun; this$static.length1 < 100; ++this$static.length1) {
2044
+ if (rlprun <= this$static.length1 && $search1(this$static, ~~rl >>> 6, rl & 63, this$static.length1, -1, 0) || udprun <= this$static.length1 && $search1(this$static, ~~ud >>> 6, ud & 63, this$static.length1, -1, 0) || fbprun <= this$static.length1 && $search1(this$static, ~~fb >>> 6, fb & 63, this$static.length1, -1, 0)) {
2129
2045
  break;
2130
2046
  }
2131
2047
  }
2132
- const p1SolsArr = $toArray_1(
2133
- this$static.p1sols,
2134
- initDim(
2135
- _3Lcs_threephase_FullCube_2_classLit,
2136
- makeCastMap([Q$FullCube_$1, Q$Serializable, Q$Object_$1]),
2137
- Q$FullCube_0,
2138
- 0,
2139
- 0,
2140
- ),
2141
- );
2142
-
2143
- p1SolsArr.sort(function (a, b) {
2048
+ const p1SolsArr = $toArray_1(this$static.p1sols, initDim(_3Lcs_threephase_FullCube_2_classLit, makeCastMap([Q$FullCube_$1, Q$Serializable, Q$Object_$1]), Q$FullCube_0, 0, 0));
2049
+ p1SolsArr.sort(function(a, b) {
2144
2050
  return a.value - b.value;
2145
2051
  });
2146
2052
  MAX_LENGTH2 = 9;
2147
2053
  do {
2148
- OUT: for (length12 = p1SolsArr[0].value; length12 < 100; ++length12) {
2149
- for (i_0 = 0; i_0 < p1SolsArr.length; ++i_0) {
2150
- if (p1SolsArr[i_0].value > length12) {
2151
- break;
2152
- }
2153
- if (length12 - p1SolsArr[i_0].length1 > MAX_LENGTH2) {
2154
- continue;
2155
- }
2156
- $copy_4(this$static.c1, p1SolsArr[i_0]);
2157
- $set_2(
2158
- this$static.ct2,
2159
- $getCenter(this$static.c1),
2160
- parity_0($getEdge(this$static.c1).ep),
2161
- );
2162
- s2ct = $getct(this$static.ct2);
2163
- s2rl = $getrl(this$static.ct2);
2164
- this$static.length1 = p1SolsArr[i_0].length1;
2165
- this$static.length2 = length12 - p1SolsArr[i_0].length1;
2166
- if ($search2(this$static, s2ct, s2rl, this$static.length2, 28, 0)) {
2167
- break OUT;
2054
+ OUT:
2055
+ for (length12 = p1SolsArr[0].value; length12 < 100; ++length12) {
2056
+ for (i_0 = 0; i_0 < p1SolsArr.length; ++i_0) {
2057
+ if (p1SolsArr[i_0].value > length12) {
2058
+ break;
2059
+ }
2060
+ if (length12 - p1SolsArr[i_0].length1 > MAX_LENGTH2) {
2061
+ continue;
2062
+ }
2063
+ $copy_4(this$static.c1, p1SolsArr[i_0]);
2064
+ $set_2(this$static.ct2, $getCenter(this$static.c1), parity_0($getEdge(this$static.c1).ep));
2065
+ s2ct = $getct(this$static.ct2);
2066
+ s2rl = $getrl(this$static.ct2);
2067
+ this$static.length1 = p1SolsArr[i_0].length1;
2068
+ this$static.length2 = length12 - p1SolsArr[i_0].length1;
2069
+ if ($search2(this$static, s2ct, s2rl, this$static.length2, 28, 0)) {
2070
+ break OUT;
2071
+ }
2168
2072
  }
2169
2073
  }
2170
- }
2171
2074
  ++MAX_LENGTH2;
2172
2075
  } while (length12 === 100);
2173
- this$static.arr2.sort(function (a, b) {
2076
+ this$static.arr2.sort(function(a, b) {
2174
2077
  return a.value - b.value;
2175
2078
  });
2176
2079
  index = 0;
2177
2080
  MAX_LENGTH3 = 13;
2178
2081
  do {
2179
- OUT2: for (
2180
- length123 = this$static.arr2[0].value;
2181
- length123 < 100;
2182
- ++length123
2183
- ) {
2184
- for (i_0 = 0; i_0 < Math.min(this$static.arr2idx, 100); ++i_0) {
2185
- if (this$static.arr2[i_0].value > length123) {
2186
- break;
2187
- }
2188
- if (
2189
- length123 -
2190
- this$static.arr2[i_0].length1 -
2191
- this$static.arr2[i_0].length2 >
2192
- MAX_LENGTH3
2193
- ) {
2194
- continue;
2195
- }
2196
- eparity = $set_6(this$static.e12, $getEdge(this$static.arr2[i_0]));
2197
- $set_3(
2198
- this$static.ct3,
2199
- $getCenter(this$static.arr2[i_0]),
2200
- eparity ^ parity_0($getCorner(this$static.arr2[i_0]).cp),
2201
- );
2202
- ct = $getct_0(this$static.ct3);
2203
- edge = $get_2(this$static.e12, 10);
2204
- prun = getprun($getsym_0(this$static.e12));
2205
- if (
2206
- prun <=
2207
- length123 -
2208
- this$static.arr2[i_0].length1 -
2209
- this$static.arr2[i_0].length2 &&
2210
- $search3(
2211
- this$static,
2212
- edge,
2213
- ct,
2214
- prun,
2215
- length123 -
2216
- this$static.arr2[i_0].length1 -
2217
- this$static.arr2[i_0].length2,
2218
- 20,
2219
- 0,
2220
- )
2221
- ) {
2222
- index = i_0;
2223
- break OUT2;
2082
+ OUT2:
2083
+ for (length123 = this$static.arr2[0].value; length123 < 100; ++length123) {
2084
+ for (i_0 = 0; i_0 < Math.min(this$static.arr2idx, 100); ++i_0) {
2085
+ if (this$static.arr2[i_0].value > length123) {
2086
+ break;
2087
+ }
2088
+ if (length123 - this$static.arr2[i_0].length1 - this$static.arr2[i_0].length2 > MAX_LENGTH3) {
2089
+ continue;
2090
+ }
2091
+ eparity = $set_6(this$static.e12, $getEdge(this$static.arr2[i_0]));
2092
+ $set_3(this$static.ct3, $getCenter(this$static.arr2[i_0]), eparity ^ parity_0($getCorner(this$static.arr2[i_0]).cp));
2093
+ ct = $getct_0(this$static.ct3);
2094
+ edge = $get_2(this$static.e12, 10);
2095
+ prun = getprun($getsym_0(this$static.e12));
2096
+ if (prun <= length123 - this$static.arr2[i_0].length1 - this$static.arr2[i_0].length2 && $search3(this$static, edge, ct, prun, length123 - this$static.arr2[i_0].length1 - this$static.arr2[i_0].length2, 20, 0)) {
2097
+ index = i_0;
2098
+ break OUT2;
2099
+ }
2224
2100
  }
2225
2101
  }
2226
- }
2227
2102
  ++MAX_LENGTH3;
2228
2103
  } while (length123 === 100);
2229
2104
  const solcube = new FullCube_4(this$static.arr2[index]);
@@ -2235,7 +2110,6 @@ function $doSearch(this$static) {
2235
2110
  }
2236
2111
  this$static.solution = $getMoveString(solcube);
2237
2112
  }
2238
-
2239
2113
  function $init2_0(this$static, sym) {
2240
2114
  let i_0, next;
2241
2115
  $copy_4(this$static.c1, this$static.c);
@@ -2263,11 +2137,7 @@ function $init2_0(this$static, sym) {
2263
2137
  this$static.add1 = false;
2264
2138
  sym = 0;
2265
2139
  }
2266
- $set_2(
2267
- this$static.ct2,
2268
- $getCenter(this$static.c1),
2269
- parity_0($getEdge(this$static.c1).ep),
2270
- );
2140
+ $set_2(this$static.ct2, $getCenter(this$static.c1), parity_0($getEdge(this$static.c1).ep));
2271
2141
  const s2ct = $getct(this$static.ct2);
2272
2142
  const s2rl = $getrl(this$static.ct2);
2273
2143
  const ctp = ctprun[s2ct * 70 + s2rl];
@@ -2283,9 +2153,8 @@ function $init2_0(this$static, sym) {
2283
2153
  next.value > this$static.c1.value && $copy_4(next, this$static.c1);
2284
2154
  }
2285
2155
  $add(this$static.p1sols, next);
2286
- return this$static.p1SolsCnt === 10000;
2156
+ return this$static.p1SolsCnt === 1e4;
2287
2157
  }
2288
-
2289
2158
  function $init3(this$static) {
2290
2159
  let i_0;
2291
2160
  $copy_4(this$static.c2, this$static.c1);
@@ -2296,31 +2165,22 @@ function $init3(this$static) {
2296
2165
  return false;
2297
2166
  }
2298
2167
  const eparity = $set_6(this$static.e12, $getEdge(this$static.c2));
2299
- $set_3(
2300
- this$static.ct3,
2301
- $getCenter(this$static.c2),
2302
- eparity ^ parity_0($getCorner(this$static.c2).cp),
2303
- );
2168
+ $set_3(this$static.ct3, $getCenter(this$static.c2), eparity ^ parity_0($getCorner(this$static.c2).cp));
2304
2169
  const ct = $getct_0(this$static.ct3);
2305
2170
  $get_2(this$static.e12, 10);
2306
2171
  const prun = getprun($getsym_0(this$static.e12));
2307
- !this$static.arr2[this$static.arr2idx]
2308
- ? (this$static.arr2[this$static.arr2idx] = new FullCube_4(this$static.c2))
2309
- : $copy_4(this$static.arr2[this$static.arr2idx], this$static.c2);
2310
- this$static.arr2[this$static.arr2idx].value =
2311
- this$static.length1 + this$static.length2 + Math.max(prun, prun_0[ct]);
2172
+ !this$static.arr2[this$static.arr2idx] ? this$static.arr2[this$static.arr2idx] = new FullCube_4(this$static.c2) : $copy_4(this$static.arr2[this$static.arr2idx], this$static.c2);
2173
+ this$static.arr2[this$static.arr2idx].value = this$static.length1 + this$static.length2 + Math.max(prun, prun_0[ct]);
2312
2174
  this$static.arr2[this$static.arr2idx].length2 = this$static.length2;
2313
2175
  ++this$static.arr2idx;
2314
2176
  return this$static.arr2idx === this$static.arr2.length;
2315
2177
  }
2316
-
2317
2178
  function $randomState(this$static, randomUIntBelow) {
2318
2179
  init_5();
2319
2180
  this$static.c = new FullCube_5(randomUIntBelow);
2320
2181
  $doSearch(this$static);
2321
2182
  return this$static.solution;
2322
2183
  }
2323
-
2324
2184
  function $search1(this$static, ct, sym, maxl, lm, depth) {
2325
2185
  let axis, ctx, m_0, power, prun, symx;
2326
2186
  if (ct === 0) {
@@ -2350,7 +2210,6 @@ function $search1(this$static, ct, sym, maxl, lm, depth) {
2350
2210
  }
2351
2211
  return false;
2352
2212
  }
2353
-
2354
2213
  function $search2(this$static, ct, rl, maxl, lm, depth) {
2355
2214
  let ctx, m_0, prun, rlx;
2356
2215
  if (ct === 0 && ctprun[rl] === 0) {
@@ -2375,7 +2234,6 @@ function $search2(this$static, ct, rl, maxl, lm, depth) {
2375
2234
  }
2376
2235
  return false;
2377
2236
  }
2378
-
2379
2237
  function $search3(this$static, edge, ct, prun, maxl, lm, depth) {
2380
2238
  let cord1x, cord2x, ctx, edgex, m_0, prun1, prunx, symcord1x, symx;
2381
2239
  if (maxl === 0) {
@@ -2398,8 +2256,7 @@ function $search3(this$static, edge, ct, prun, maxl, lm, depth) {
2398
2256
  symcord1x = raw2sym_1[cord1x];
2399
2257
  symx = symcord1x & 7;
2400
2258
  symcord1x >>= 3;
2401
- cord2x =
2402
- getmvrot(this$static.tempe[depth].edge, (m_0 << 3) | symx, 10) % 20160;
2259
+ cord2x = getmvrot(this$static.tempe[depth].edge, m_0 << 3 | symx, 10) % 20160;
2403
2260
  prunx = getprun_0(symcord1x * 20160 + cord2x, prun);
2404
2261
  if (prunx >= maxl) {
2405
2262
  prunx > maxl && m_0 < 14 && (m_0 = skipAxis3[m_0]);
@@ -2412,7 +2269,6 @@ function $search3(this$static, edge, ct, prun, maxl, lm, depth) {
2412
2269
  }
2413
2270
  return false;
2414
2271
  }
2415
-
2416
2272
  function Search_4() {
2417
2273
  let i_0;
2418
2274
  this.p1sols = new PriorityQueue_0(new FullCube$ValueComparator_0());
@@ -2430,7 +2286,6 @@ function Search_4() {
2430
2286
  this.tempe[i_0] = new Edge3_0();
2431
2287
  }
2432
2288
  }
2433
-
2434
2289
  function init_5() {
2435
2290
  if (inited_2) {
2436
2291
  return;
@@ -2448,7 +2303,6 @@ function init_5() {
2448
2303
  createPrun_0();
2449
2304
  inited_2 = true;
2450
2305
  }
2451
-
2452
2306
  defineSeed(163, 1, makeCastMap([Q$Search_0]), Search_4);
2453
2307
  _.add1 = false;
2454
2308
  _.arr2idx = 0;
@@ -2457,16 +2311,14 @@ _.length1 = 0;
2457
2311
  _.length2 = 0;
2458
2312
  _.p1SolsCnt = 0;
2459
2313
  _.solution = "";
2460
- let inited_2 = false;
2461
-
2462
- let ran$clinit_Util_0 = false;
2314
+ var inited_2 = false;
2315
+ var ran$clinit_Util_0 = false;
2463
2316
  function $clinit_Util_0() {
2464
2317
  if (ran$clinit_Util_0) {
2465
2318
  return;
2466
2319
  }
2467
2320
  ran$clinit_Util_0 = true;
2468
2321
  }
2469
-
2470
2322
  function parity_0(arr) {
2471
2323
  let i_0, j, len, parity;
2472
2324
  parity = 0;
@@ -2477,7 +2329,6 @@ function parity_0(arr) {
2477
2329
  }
2478
2330
  return parity;
2479
2331
  }
2480
-
2481
2332
  function swap(arr, a, b, c, d, key) {
2482
2333
  let temp;
2483
2334
  switch (key) {
@@ -2505,20 +2356,17 @@ function swap(arr, a, b, c, d, key) {
2505
2356
  return;
2506
2357
  }
2507
2358
  }
2508
-
2509
- function Class_0() {}
2510
-
2359
+ function Class_0() {
2360
+ }
2511
2361
  function createForArray(packageName, className, seedId, componentType) {
2512
2362
  const clazz = new Class_0();
2513
2363
  clazz.typeName = packageName + className;
2514
- isInstantiable(seedId !== 0 ? -seedId : 0) &&
2515
- setClassLiteral(seedId !== 0 ? -seedId : 0, clazz);
2364
+ isInstantiable(seedId !== 0 ? -seedId : 0) && setClassLiteral(seedId !== 0 ? -seedId : 0, clazz);
2516
2365
  clazz.modifiers = 4;
2517
2366
  clazz.superclass = Ljava_lang_Object_2_classLit;
2518
2367
  clazz.componentType = componentType;
2519
2368
  return clazz;
2520
2369
  }
2521
-
2522
2370
  function createForClass(packageName, className, seedId, superclass) {
2523
2371
  const clazz = new Class_0();
2524
2372
  clazz.typeName = packageName + className;
@@ -2526,17 +2374,14 @@ function createForClass(packageName, className, seedId, superclass) {
2526
2374
  clazz.superclass = superclass;
2527
2375
  return clazz;
2528
2376
  }
2529
-
2530
2377
  function getSeedFunction(clazz) {
2531
2378
  const func = seedTable[clazz.seedId];
2532
2379
  clazz = null;
2533
2380
  return func;
2534
2381
  }
2535
-
2536
2382
  function isInstantiable(seedId) {
2537
2383
  return typeof seedId === "number" && seedId > 0;
2538
2384
  }
2539
-
2540
2385
  function setClassLiteral(seedId, clazz) {
2541
2386
  let proto;
2542
2387
  clazz.seedId = seedId;
@@ -2548,7 +2393,8 @@ function setClassLiteral(seedId, clazz) {
2548
2393
  if (seed) {
2549
2394
  proto = seed.prototype;
2550
2395
  } else {
2551
- seed = seedTable[seedId] = function () {};
2396
+ seed = seedTable[seedId] = function() {
2397
+ };
2552
2398
  seed.___clazz$ = clazz;
2553
2399
  return;
2554
2400
  }
@@ -2558,58 +2404,37 @@ function setClassLiteral(seedId, clazz) {
2558
2404
  }
2559
2405
  proto.___clazz$ = clazz;
2560
2406
  }
2561
-
2562
2407
  _.val$outerIter = null;
2563
-
2564
2408
  function $add(this$static, o) {
2565
2409
  if ($offer(this$static, o)) {
2566
2410
  return true;
2567
2411
  }
2568
2412
  }
2569
-
2570
2413
  function $$init_6(this$static) {
2571
- this$static.array = initDim(
2572
- _3Ljava_lang_Object_2_classLit,
2573
- makeCastMap([Q$Serializable, Q$Object_$1]),
2574
- Q$Object,
2575
- 0,
2576
- 0,
2577
- );
2414
+ this$static.array = initDim(_3Ljava_lang_Object_2_classLit, makeCastMap([Q$Serializable, Q$Object_$1]), Q$Object, 0, 0);
2578
2415
  }
2579
-
2580
2416
  function $add_0(this$static, o) {
2581
2417
  setCheck(this$static.array, this$static.size++, o);
2582
2418
  return true;
2583
2419
  }
2584
-
2585
2420
  function $clear(this$static) {
2586
- this$static.array = initDim(
2587
- _3Ljava_lang_Object_2_classLit,
2588
- makeCastMap([Q$Serializable, Q$Object_$1]),
2589
- Q$Object,
2590
- 0,
2591
- 0,
2592
- );
2421
+ this$static.array = initDim(_3Ljava_lang_Object_2_classLit, makeCastMap([Q$Serializable, Q$Object_$1]), Q$Object, 0, 0);
2593
2422
  this$static.size = 0;
2594
2423
  }
2595
-
2596
2424
  function $get_4(this$static, index) {
2597
2425
  return this$static.array[index];
2598
2426
  }
2599
-
2600
2427
  function $remove_0(this$static, index) {
2601
2428
  const previous = this$static.array[index];
2602
2429
  splice_0(this$static.array, index, 1);
2603
2430
  --this$static.size;
2604
2431
  return previous;
2605
2432
  }
2606
-
2607
2433
  function $set_7(this$static, index, o) {
2608
2434
  const previous = this$static.array[index];
2609
2435
  setCheck(this$static.array, index, o);
2610
2436
  return previous;
2611
2437
  }
2612
-
2613
2438
  function $toArray_0(this$static, out) {
2614
2439
  let i_0;
2615
2440
  out.length < this$static.size && (out = createFrom(out, this$static.size));
@@ -2619,17 +2444,14 @@ function $toArray_0(this$static, out) {
2619
2444
  out.length > this$static.size && setCheck(out, this$static.size, null);
2620
2445
  return out;
2621
2446
  }
2622
-
2623
2447
  function ArrayList_1() {
2624
2448
  $$init_6(this);
2625
2449
  this.array.length = 500;
2626
2450
  }
2627
-
2628
2451
  function splice_0(array, index, deleteCount) {
2629
2452
  array.splice(index, deleteCount);
2630
2453
  }
2631
2454
  _.size = 0;
2632
-
2633
2455
  function binarySearch_0(sortedArray, key) {
2634
2456
  let high, low, mid, midVal;
2635
2457
  low = 0;
@@ -2647,34 +2469,21 @@ function binarySearch_0(sortedArray, key) {
2647
2469
  }
2648
2470
  return -low - 1;
2649
2471
  }
2650
-
2651
2472
  function fill_0(a) {
2652
2473
  fill_1(a, a.length);
2653
2474
  }
2654
-
2655
2475
  function fill_1(a, toIndex) {
2656
2476
  let i_0;
2657
2477
  for (i_0 = 0; i_0 < toIndex; ++i_0) {
2658
2478
  a[i_0] = -1;
2659
2479
  }
2660
2480
  }
2661
-
2662
2481
  function $mergeHeaps(this$static, node) {
2663
2482
  let smallestChild, leftChild, rightChild, smallestChild_0;
2664
2483
  const heapSize = this$static.heap.size;
2665
2484
  const value = $get_4(this$static.heap, node);
2666
2485
  while (node * 2 + 1 < heapSize) {
2667
- smallestChild =
2668
- ((leftChild = 2 * node + 1),
2669
- (rightChild = leftChild + 1),
2670
- (smallestChild_0 = leftChild),
2671
- rightChild < heapSize &&
2672
- $compare_0(
2673
- $get_4(this$static.heap, rightChild),
2674
- $get_4(this$static.heap, leftChild),
2675
- ) < 0 &&
2676
- (smallestChild_0 = rightChild),
2677
- smallestChild_0);
2486
+ smallestChild = (leftChild = 2 * node + 1, rightChild = leftChild + 1, smallestChild_0 = leftChild, rightChild < heapSize && $compare_0($get_4(this$static.heap, rightChild), $get_4(this$static.heap, leftChild)) < 0 && (smallestChild_0 = rightChild), smallestChild_0);
2678
2487
  if ($compare_0(value, $get_4(this$static.heap, smallestChild)) < 0) {
2679
2488
  break;
2680
2489
  }
@@ -2683,7 +2492,6 @@ function $mergeHeaps(this$static, node) {
2683
2492
  }
2684
2493
  $set_7(this$static.heap, node, value);
2685
2494
  }
2686
-
2687
2495
  function $offer(this$static, e) {
2688
2496
  let childNode, node;
2689
2497
  node = this$static.heap.size;
@@ -2700,7 +2508,6 @@ function $offer(this$static, e) {
2700
2508
  $set_7(this$static.heap, node, e);
2701
2509
  return true;
2702
2510
  }
2703
-
2704
2511
  function $poll(this$static) {
2705
2512
  if (this$static.heap.size === 0) {
2706
2513
  return null;
@@ -2709,7 +2516,6 @@ function $poll(this$static) {
2709
2516
  $removeAtIndex(this$static);
2710
2517
  return value;
2711
2518
  }
2712
-
2713
2519
  function $removeAtIndex(this$static) {
2714
2520
  const lastValue = $remove_0(this$static.heap, this$static.heap.size - 1);
2715
2521
  if (0 < this$static.heap.size) {
@@ -2717,48 +2523,22 @@ function $removeAtIndex(this$static) {
2717
2523
  $mergeHeaps(this$static, 0);
2718
2524
  }
2719
2525
  }
2720
-
2721
2526
  function $toArray_1(this$static, a) {
2722
2527
  return $toArray_0(this$static.heap, a);
2723
2528
  }
2724
-
2725
2529
  function PriorityQueue_0(cmp) {
2726
2530
  this.heap = new ArrayList_1();
2727
2531
  this.cmp = cmp;
2728
2532
  }
2729
-
2730
2533
  defineSeed(239, 1, {}, PriorityQueue_0);
2731
2534
  _.cmp = null;
2732
2535
  _.heap = null;
2733
-
2734
- const Ljava_lang_Object_2_classLit = createForClass(
2735
- "java.lang.",
2736
- "Object",
2737
- 1,
2738
- null,
2739
- ),
2740
- _3Ljava_lang_Object_2_classLit = createForArray(
2741
- "[Ljava.lang.",
2742
- "Object;",
2743
- 356,
2744
- Ljava_lang_Object_2_classLit,
2745
- ),
2746
- Lcs_threephase_FullCube_2_classLit = createForClass(
2747
- "cs.threephase.",
2748
- "FullCube",
2749
- 160,
2750
- Ljava_lang_Object_2_classLit,
2751
- ),
2752
- _3Lcs_threephase_FullCube_2_classLit = createForArray(
2753
- "[Lcs.threephase.",
2754
- "FullCube;",
2755
- 381,
2756
- Lcs_threephase_FullCube_2_classLit,
2757
- );
2758
-
2759
- let searcher;
2760
-
2761
- let raninit = false;
2536
+ var Ljava_lang_Object_2_classLit = createForClass("java.lang.", "Object", 1, null);
2537
+ var _3Ljava_lang_Object_2_classLit = createForArray("[Ljava.lang.", "Object;", 356, Ljava_lang_Object_2_classLit);
2538
+ var Lcs_threephase_FullCube_2_classLit = createForClass("cs.threephase.", "FullCube", 160, Ljava_lang_Object_2_classLit);
2539
+ var _3Lcs_threephase_FullCube_2_classLit = createForArray("[Lcs.threephase.", "FullCube;", 381, Lcs_threephase_FullCube_2_classLit);
2540
+ var searcher;
2541
+ var raninit = false;
2762
2542
  function init() {
2763
2543
  if (raninit) {
2764
2544
  return;
@@ -2775,17 +2555,18 @@ function init() {
2775
2555
  $clinit_FullCube_0();
2776
2556
  searcher = new Search_4();
2777
2557
  }
2778
-
2779
- export function initialize(): void {
2558
+ function initialize() {
2780
2559
  init();
2781
2560
  init_5();
2782
2561
  }
2783
-
2784
- export async function random444Scramble(): Promise<Alg> {
2562
+ async function random444Scramble() {
2785
2563
  mustBeInsideWorker();
2786
2564
  init();
2787
- const suffix = Alg.fromString(
2788
- $randomState(searcher, await randomUIntBelowFactory()),
2789
- );
2790
- return (await getRandomScramble333()).concat(suffix);
2565
+ const suffix = Alg.fromString($randomState(searcher, await randomUIntBelowFactory()));
2566
+ return (await random333Scramble()).concat(suffix);
2791
2567
  }
2568
+ export {
2569
+ initialize,
2570
+ random444Scramble
2571
+ };
2572
+ //# sourceMappingURL=scramble_444-F3YANDPO.js.map