cubing 0.23.0 → 0.24.0-pre1

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 (1040) hide show
  1. package/dist/esm/{2x2x2.kpuzzle.json-JOGUSQ4N.js → 2x2x2.kpuzzle.json-U5KOZCMU.js} +11 -11
  2. package/dist/esm/2x2x2.kpuzzle.json-U5KOZCMU.js.map +7 -0
  3. package/dist/esm/{2x2x2.sgs.json-FRBWMMA7.js → 2x2x2.sgs.json-VLYEQLNB.js} +5 -5
  4. package/dist/esm/2x2x2.sgs.json-VLYEQLNB.js.map +7 -0
  5. package/dist/esm/{3d-Q4WSD4BC.js → 3d-KAC5GXA4.js} +4 -4
  6. package/dist/esm/{3d-Q4WSD4BC.js.map → 3d-KAC5GXA4.js.map} +0 -0
  7. package/dist/esm/bluetooth/index.js +39 -33
  8. package/dist/esm/bluetooth/index.js.map +2 -2
  9. package/dist/esm/{chunk-FK2SCC3Z.js → chunk-23FEDDYH.js} +33 -27
  10. package/dist/esm/chunk-23FEDDYH.js.map +7 -0
  11. package/dist/esm/{chunk-DK6PXBB2.js → chunk-25PPOENI.js} +66 -56
  12. package/dist/esm/chunk-25PPOENI.js.map +7 -0
  13. package/dist/esm/{chunk-XVZOMB6J.js → chunk-27KJGD3S.js} +15 -20
  14. package/dist/esm/chunk-27KJGD3S.js.map +7 -0
  15. package/dist/esm/{chunk-DPMEZY7V.js → chunk-DBWASN5Q.js} +19 -10
  16. package/dist/esm/chunk-DBWASN5Q.js.map +7 -0
  17. package/dist/esm/{chunk-PUPUQWJC.js → chunk-J2U2GRS4.js} +27 -32
  18. package/dist/esm/chunk-J2U2GRS4.js.map +7 -0
  19. package/dist/esm/{chunk-Z6X7HTPP.js → chunk-MQYHOXEK.js} +4 -4
  20. package/dist/esm/{chunk-Z6X7HTPP.js.map → chunk-MQYHOXEK.js.map} +2 -2
  21. package/dist/esm/chunk-PMAQZQHL.js +810 -0
  22. package/dist/esm/chunk-PMAQZQHL.js.map +7 -0
  23. package/dist/esm/{chunk-N3RNWU5T.js → chunk-PQKDEV4Z.js} +36 -51
  24. package/dist/esm/chunk-PQKDEV4Z.js.map +7 -0
  25. package/dist/esm/{chunk-JZWB7AIU.js → chunk-PYOHTUEC.js} +17 -10
  26. package/dist/esm/chunk-PYOHTUEC.js.map +7 -0
  27. package/dist/esm/chunk-W6AA6TVR.js +274 -0
  28. package/dist/esm/chunk-W6AA6TVR.js.map +7 -0
  29. package/dist/esm/{chunk-MLOCDLUF.js → chunk-YLKDBBMW.js} +13 -13
  30. package/dist/esm/{chunk-MLOCDLUF.js.map → chunk-YLKDBBMW.js.map} +2 -2
  31. package/dist/esm/{clock.kpuzzle.json-EKWRMHJM.js → clock.kpuzzle.json-J3YBOI3G.js} +7 -45
  32. package/dist/esm/clock.kpuzzle.json-J3YBOI3G.js.map +7 -0
  33. package/dist/esm/{entry-L6CE2HLF.js → entry-ZLEDRTCM.js} +172 -167
  34. package/dist/esm/entry-ZLEDRTCM.js.map +7 -0
  35. package/dist/esm/{fto.sgs.json-62YNULOK.js → fto.sgs.json-PUAEKD7W.js} +6 -14
  36. package/dist/esm/fto.sgs.json-PUAEKD7W.js.map +7 -0
  37. package/dist/esm/kpuzzle/index.js +5 -35
  38. package/dist/esm/megaminx.sgs.json-DPQBIFB6.js +16 -0
  39. package/dist/esm/{megaminx.sgs.json-PRL46G5J.js.map → megaminx.sgs.json-DPQBIFB6.js.map} +0 -0
  40. package/dist/esm/{module-entry-J2N3UZP7.js → module-entry-UAGINHYL.js} +2 -2
  41. package/dist/esm/{module-entry-J2N3UZP7.js.map → module-entry-UAGINHYL.js.map} +0 -0
  42. package/dist/esm/protocol/index.js +2 -1
  43. package/dist/esm/puzzle-geometry/index.js +3 -1
  44. package/dist/esm/puzzles/index.js +4 -4
  45. package/dist/esm/{pyraminx.sgs.json-7QMPT5XP.js → pyraminx.sgs.json-5UKE76QP.js} +5 -5
  46. package/dist/esm/{pyraminx.sgs.json-7QMPT5XP.js.map → pyraminx.sgs.json-5UKE76QP.js.map} +0 -0
  47. package/dist/esm/scramble/index.js +4 -4
  48. package/dist/esm/{scramble_444-JP3CWLJM.js → scramble_444-ZNWCGUX5.js} +4 -4
  49. package/dist/esm/{scramble_444-JP3CWLJM.js.map → scramble_444-ZNWCGUX5.js.map} +0 -0
  50. package/dist/esm/search/index.js +4 -4
  51. package/dist/esm/skewb.sgs.json-O2CG5ALM.js +16 -0
  52. package/dist/esm/{skewb.sgs.json-FWHYACJG.js.map → skewb.sgs.json-O2CG5ALM.js.map} +0 -0
  53. package/dist/esm/{sq1-hyperorbit.kpuzzle.json-N3FGCPML.js → sq1-hyperorbit.kpuzzle.json-AWDGN4ZW.js} +6 -6
  54. package/dist/esm/sq1-hyperorbit.kpuzzle.json-AWDGN4ZW.js.map +7 -0
  55. package/dist/esm/twisty/index.js +334 -227
  56. package/dist/esm/twisty/index.js.map +3 -3
  57. package/dist/esm/worker-inside-generated-string-K4KJGMPV.js +3447 -0
  58. package/dist/esm/worker-inside-generated-string-K4KJGMPV.js.map +7 -0
  59. package/dist/types/alg/Alg.d.ts +0 -1
  60. package/dist/types/alg/Alg.spec.d.ts +0 -1
  61. package/dist/types/alg/AlgBuilder.d.ts +0 -1
  62. package/dist/types/alg/Serializable.d.ts +0 -1
  63. package/dist/types/alg/common.d.ts +0 -1
  64. package/dist/types/alg/debug.d.ts +0 -1
  65. package/dist/types/alg/example.d.ts +0 -1
  66. package/dist/types/alg/index.d.ts +0 -1
  67. package/dist/types/alg/is.d.ts +0 -1
  68. package/dist/types/alg/iteration.d.ts +0 -1
  69. package/dist/types/alg/keyboard.d.ts +0 -1
  70. package/dist/types/alg/limits.d.ts +0 -1
  71. package/dist/types/alg/operation.d.ts +0 -1
  72. package/dist/types/alg/operation.spec.d.ts +0 -1
  73. package/dist/types/alg/parse.d.ts +0 -1
  74. package/dist/types/alg/parse.spec.d.ts +0 -1
  75. package/dist/types/alg/test/alg-comparison.d.ts +0 -1
  76. package/dist/types/alg/test/alg.spec.d.ts +0 -1
  77. package/dist/types/alg/traversal.d.ts +0 -1
  78. package/dist/types/alg/units/QuantumWithAmount.d.ts +0 -1
  79. package/dist/types/alg/units/Unit.d.ts +0 -1
  80. package/dist/types/alg/units/containers/Commutator.d.ts +0 -1
  81. package/dist/types/alg/units/containers/Conjugate.d.ts +0 -1
  82. package/dist/types/alg/units/containers/Grouping.d.ts +0 -1
  83. package/dist/types/alg/units/index.d.ts +0 -1
  84. package/dist/types/alg/units/leaves/LineComment.d.ts +0 -1
  85. package/dist/types/alg/units/leaves/LineComment.spec.d.ts +0 -1
  86. package/dist/types/alg/units/leaves/Move.d.ts +0 -1
  87. package/dist/types/alg/units/leaves/Move.spec.d.ts +0 -1
  88. package/dist/types/alg/units/leaves/Newline.d.ts +0 -1
  89. package/dist/types/alg/units/leaves/Pause.d.ts +0 -1
  90. package/dist/types/alg/url.d.ts +0 -1
  91. package/dist/types/alg/url.spec.d.ts +0 -1
  92. package/dist/types/alg/validation.d.ts +0 -1
  93. package/dist/types/alg/warnOnce.d.ts +0 -1
  94. package/dist/types/bluetooth/connect/index.d.ts +0 -1
  95. package/dist/types/bluetooth/debug.d.ts +0 -1
  96. package/dist/types/bluetooth/index.d.ts +0 -1
  97. package/dist/types/bluetooth/keyboard.d.ts +5 -5
  98. package/dist/types/bluetooth/smart-puzzle/Heykube.d.ts +3 -3
  99. package/dist/types/bluetooth/smart-puzzle/bluetooth-puzzle.d.ts +3 -5
  100. package/dist/types/bluetooth/smart-puzzle/connect.d.ts +0 -1
  101. package/dist/types/bluetooth/smart-puzzle/endianness.d.ts +0 -1
  102. package/dist/types/bluetooth/smart-puzzle/gan.d.ts +5 -4
  103. package/dist/types/bluetooth/smart-puzzle/giiker.d.ts +3 -3
  104. package/dist/types/bluetooth/smart-puzzle/giiker.spec.d.ts +0 -1
  105. package/dist/types/bluetooth/smart-puzzle/gocube.d.ts +0 -1
  106. package/dist/types/bluetooth/smart-robot/GanRobot.d.ts +0 -1
  107. package/dist/types/bluetooth/smart-robot/index.d.ts +0 -1
  108. package/dist/types/bluetooth/smart-timer/GanTimer.d.ts +0 -1
  109. package/dist/types/bluetooth/smart-timer/index.d.ts +0 -1
  110. package/dist/types/bluetooth/transformer.d.ts +0 -1
  111. package/dist/types/cubing.bundle-global.d.ts +0 -1
  112. package/dist/types/cubing.bundle-global.exports.d.ts +0 -1
  113. package/dist/types/esm-test-worker.d.ts +0 -1
  114. package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.d.ts +2 -3
  115. package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.spec.d.ts +0 -1
  116. package/dist/types/kpuzzle/3x3x3/puzzle-orientation.d.ts +4 -0
  117. package/dist/types/kpuzzle/KPuzzle.d.ts +21 -0
  118. package/dist/types/kpuzzle/KPuzzleDefinition.d.ts +20 -0
  119. package/dist/types/kpuzzle/KState.d.ts +16 -0
  120. package/dist/types/kpuzzle/KTransformation.d.ts +20 -0
  121. package/dist/types/kpuzzle/calculate.d.ts +16 -0
  122. package/dist/types/kpuzzle/combine.d.ts +3 -0
  123. package/dist/types/kpuzzle/construct.d.ts +5 -0
  124. package/dist/types/kpuzzle/index.d.ts +6 -10
  125. package/dist/types/notation/CountAnimatedLeaves.d.ts +0 -1
  126. package/dist/types/notation/CountMoves.d.ts +0 -1
  127. package/dist/types/notation/index.d.ts +0 -1
  128. package/dist/types/protocol/binary/binary3x3x3.d.ts +5 -6
  129. package/dist/types/protocol/binary/binary3x3x3.spec.d.ts +0 -1
  130. package/dist/types/protocol/binary/hex.d.ts +0 -1
  131. package/dist/types/protocol/binary/hex.spec.d.ts +0 -1
  132. package/dist/types/protocol/binary/orbit-indexing.d.ts +0 -1
  133. package/dist/types/protocol/binary/orbit-indexing.spec.d.ts +0 -1
  134. package/dist/types/protocol/binary/puzzle-orientation.d.ts +4 -5
  135. package/dist/types/protocol/index.d.ts +0 -1
  136. package/dist/types/puzzle-geometry/FaceNameSwizzler.d.ts +0 -1
  137. package/dist/types/puzzle-geometry/Options.d.ts +0 -1
  138. package/dist/types/puzzle-geometry/PGPuzzles.d.ts +0 -1
  139. package/dist/types/puzzle-geometry/PGPuzzles.spec.d.ts +0 -1
  140. package/dist/types/puzzle-geometry/Perm.d.ts +0 -1
  141. package/dist/types/puzzle-geometry/PermOriSet.d.ts +4 -5
  142. package/dist/types/puzzle-geometry/PlatonicGenerator.d.ts +0 -1
  143. package/dist/types/puzzle-geometry/PuzzleGeometry.d.ts +9 -3
  144. package/dist/types/puzzle-geometry/Quat.d.ts +0 -1
  145. package/dist/types/puzzle-geometry/Quat.spec.d.ts +0 -1
  146. package/dist/types/puzzle-geometry/SchreierSims.d.ts +0 -1
  147. package/dist/types/puzzle-geometry/index.d.ts +1 -1
  148. package/dist/types/puzzle-geometry/notation-mapping/FTONotationMapper.d.ts +0 -1
  149. package/dist/types/puzzle-geometry/notation-mapping/FaceRenamingMapper.d.ts +0 -1
  150. package/dist/types/puzzle-geometry/notation-mapping/MegaminxScramblingNotationMapper.d.ts +0 -1
  151. package/dist/types/puzzle-geometry/notation-mapping/NotationMapper.d.ts +3 -2
  152. package/dist/types/puzzle-geometry/notation-mapping/NullMapper.d.ts +0 -1
  153. package/dist/types/puzzle-geometry/notation-mapping/NxNxNCubeMapper.d.ts +0 -1
  154. package/dist/types/puzzle-geometry/notation-mapping/PyraminxNotationMapper.d.ts +0 -1
  155. package/dist/types/puzzle-geometry/notation-mapping/SkewbNotationMapper.d.ts +0 -1
  156. package/dist/types/puzzle-geometry/notation-mapping/index.d.ts +0 -1
  157. package/dist/types/puzzle-geometry/orientcenters.spec.d.ts +0 -1
  158. package/dist/types/puzzles/PuzzleLoader.d.ts +3 -3
  159. package/dist/types/puzzles/async/async-pg3d.d.ts +3 -3
  160. package/dist/types/puzzles/async/lazy-cached-kpuzzle.d.ts +2 -0
  161. package/dist/types/puzzles/customPGPuzzleLoader.d.ts +2 -3
  162. package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.json.d.ts +1 -2
  163. package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.svg.d.ts +0 -1
  164. package/dist/types/puzzles/implementations/2x2x2/index.d.ts +0 -1
  165. package/dist/types/puzzles/implementations/3x3x3/3x3x3-ll.kpuzzle.svg.d.ts +0 -1
  166. package/dist/types/puzzles/implementations/3x3x3/3x3x3.kpuzzle.svg.d.ts +0 -1
  167. package/dist/types/puzzles/implementations/3x3x3/index.d.ts +0 -1
  168. package/dist/types/puzzles/implementations/clock/clock.kpuzzle.json.d.ts +1 -2
  169. package/dist/types/puzzles/implementations/clock/clock.kpuzzle.svg.d.ts +0 -1
  170. package/dist/types/puzzles/implementations/clock/index.d.ts +0 -1
  171. package/dist/types/puzzles/implementations/fto/index.d.ts +0 -1
  172. package/dist/types/puzzles/implementations/megaminx/index.d.ts +0 -1
  173. package/dist/types/puzzles/implementations/pyraminx/index.d.ts +0 -1
  174. package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.json.d.ts +0 -1
  175. package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.svg.d.ts +0 -1
  176. package/dist/types/puzzles/implementations/square1/index.d.ts +0 -1
  177. package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.json.d.ts +1 -2
  178. package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.svg.d.ts +0 -1
  179. package/dist/types/puzzles/index.d.ts +1 -2
  180. package/dist/types/puzzles/stickerings/appearance.d.ts +6 -7
  181. package/dist/types/puzzles/stickerings/cube-stickerings.d.ts +0 -1
  182. package/dist/types/puzzles/stickerings/fto-stickerings.d.ts +0 -1
  183. package/dist/types/puzzles/stickerings/global-custom-stickering-hack.d.ts +0 -1
  184. package/dist/types/puzzles/stickerings/megaminx-stickerings.d.ts +0 -1
  185. package/dist/types/scramble/index.d.ts +0 -1
  186. package/dist/types/search/esm-test-worker.d.ts +0 -1
  187. package/dist/types/search/index.d.ts +0 -1
  188. package/dist/types/search/inside/api.d.ts +6 -7
  189. package/dist/types/search/inside/api.spec.d.ts +0 -1
  190. package/dist/types/search/inside/entry.d.ts +0 -1
  191. package/dist/types/search/inside/inside-worker.d.ts +0 -1
  192. package/dist/types/search/inside/module-entry-path-getter.d.ts +0 -1
  193. package/dist/types/search/inside/module-entry.d.ts +0 -1
  194. package/dist/types/search/inside/solve/addOrientationSuffix.d.ts +0 -1
  195. package/dist/types/search/inside/solve/parseSGS.d.ts +3 -4
  196. package/dist/types/search/inside/solve/puzzles/2x2x2.d.ts +3 -4
  197. package/dist/types/search/inside/solve/puzzles/2x2x2.sgs.json.d.ts +0 -1
  198. package/dist/types/search/inside/solve/puzzles/3x3x3/convert.d.ts +2 -3
  199. package/dist/types/search/inside/solve/puzzles/3x3x3/filter.d.ts +4 -4
  200. package/dist/types/search/inside/solve/puzzles/3x3x3/index.d.ts +3 -4
  201. package/dist/types/search/inside/solve/puzzles/3x3x3/legacy-sgs.d.ts +0 -1
  202. package/dist/types/search/inside/solve/puzzles/3x3x3-inefficient.sgs.json.d.ts +0 -1
  203. package/dist/types/search/inside/solve/puzzles/4x4x4.d.ts +0 -1
  204. package/dist/types/search/inside/solve/puzzles/5x5x5.d.ts +0 -1
  205. package/dist/types/search/inside/solve/puzzles/big-cubes.d.ts +0 -1
  206. package/dist/types/search/inside/solve/puzzles/clock.d.ts +0 -1
  207. package/dist/types/search/inside/solve/puzzles/fto.d.ts +2 -3
  208. package/dist/types/search/inside/solve/puzzles/fto.sgs.json.d.ts +0 -3
  209. package/dist/types/search/inside/solve/puzzles/megaminx.d.ts +2 -3
  210. package/dist/types/search/inside/solve/puzzles/megaminx.sgs.json.d.ts +2 -3
  211. package/dist/types/search/inside/solve/puzzles/pyraminx.d.ts +3 -4
  212. package/dist/types/search/inside/solve/puzzles/pyraminx.sgs.json.d.ts +0 -1
  213. package/dist/types/search/inside/solve/puzzles/sgs-defs.spec.d.ts +0 -1
  214. package/dist/types/search/inside/solve/puzzles/skewb.d.ts +3 -4
  215. package/dist/types/search/inside/solve/puzzles/skewb.sgs.json.d.ts +2 -3
  216. package/dist/types/search/inside/solve/puzzles/sq1.d.ts +0 -1
  217. package/dist/types/search/inside/solve/puzzles/wca-minx.d.ts +0 -1
  218. package/dist/types/search/inside/solve/tremble.d.ts +6 -6
  219. package/dist/types/search/instantiator.d.ts +0 -1
  220. package/dist/types/search/outside.d.ts +6 -7
  221. package/dist/types/search/worker-inside-generated-string.d.ts +1 -2
  222. package/dist/types/stream/index.d.ts +0 -1
  223. package/dist/types/stream/process/ReorientedStream.d.ts +1 -3
  224. package/dist/types/stream/proxy-event.d.ts +0 -1
  225. package/dist/types/stream/twizzle/TwizzleStream.d.ts +0 -1
  226. package/dist/types/stream/twizzle/stream-types.d.ts +0 -1
  227. package/dist/types/stream/websocket-proxy.d.ts +0 -1
  228. package/dist/types/twisty/controllers/AnimationTypes.d.ts +2 -3
  229. package/dist/types/twisty/controllers/RenderScheduler.d.ts +0 -1
  230. package/dist/types/twisty/controllers/TwistyAnimationController.d.ts +0 -1
  231. package/dist/types/twisty/controllers/TwistyPlayerController.d.ts +0 -1
  232. package/dist/types/twisty/controllers/easing.d.ts +0 -1
  233. package/dist/types/twisty/controllers/indexer/AlgDuration.d.ts +0 -1
  234. package/dist/types/twisty/controllers/indexer/AlgIndexer.d.ts +6 -6
  235. package/dist/types/twisty/controllers/indexer/SimpleAlgIndexer.d.ts +7 -7
  236. package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexer.d.ts +8 -8
  237. package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexerV2.d.ts +9 -9
  238. package/dist/types/twisty/controllers/indexer/simultaneous-moves/simul-moves.d.ts +0 -1
  239. package/dist/types/twisty/controllers/indexer/tree/AlgWalker.d.ts +36 -37
  240. package/dist/types/twisty/controllers/indexer/tree/TreeAlgIndexer.d.ts +7 -7
  241. package/dist/types/twisty/controllers/indexer/tree/chunkAlgs.d.ts +0 -1
  242. package/dist/types/twisty/controllers/stream/timeline-move-calculation-draft.d.ts +0 -1
  243. package/dist/types/twisty/heavy-code-imports/3d.d.ts +0 -1
  244. package/dist/types/twisty/heavy-code-imports/dynamic-entries/3d.d.ts +0 -1
  245. package/dist/types/twisty/index.d.ts +1 -2
  246. package/dist/types/twisty/model/PromiseFreshener.d.ts +0 -1
  247. package/dist/types/twisty/model/TwistyPlayerModel.d.ts +6 -7
  248. package/dist/types/twisty/model/UserVisibleErrorTracker.d.ts +0 -1
  249. package/dist/types/twisty/model/helpers.d.ts +0 -1
  250. package/dist/types/twisty/model/props/TwistyProp.d.ts +0 -1
  251. package/dist/types/twisty/model/props/TwistyProp.spec.d.ts +0 -1
  252. package/dist/types/twisty/model/props/TwistyPropDebugger.d.ts +0 -1
  253. package/dist/types/twisty/model/props/general/URLProp.d.ts +0 -1
  254. package/dist/types/twisty/model/props/puzzle/display/FoundationDisplayProp.d.ts +0 -1
  255. package/dist/types/twisty/model/props/puzzle/display/HintFaceletProp.d.ts +0 -1
  256. package/dist/types/twisty/model/props/puzzle/display/SpriteProp.d.ts +0 -1
  257. package/dist/types/twisty/model/props/puzzle/display/StickeringProp.d.ts +0 -1
  258. package/dist/types/twisty/model/props/puzzle/state/AlgProp.d.ts +0 -1
  259. package/dist/types/twisty/model/props/puzzle/state/AlgTransformationProp.d.ts +5 -8
  260. package/dist/types/twisty/model/props/puzzle/state/AnchoredStartProp.d.ts +5 -7
  261. package/dist/types/twisty/model/props/puzzle/state/CatchUpMoveProp.d.ts +0 -1
  262. package/dist/types/twisty/model/props/puzzle/state/CurrentLeavesSimplified.d.ts +0 -1
  263. package/dist/types/twisty/model/props/puzzle/state/{CurrentLeavesProp.d.ts → CurrentMoveInfoProp.d.ts} +2 -3
  264. package/dist/types/twisty/model/props/puzzle/state/CurrentStateProp.d.ts +14 -0
  265. package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorProp.d.ts +7 -8
  266. package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.d.ts +0 -1
  267. package/dist/types/twisty/model/props/puzzle/state/IndexerProp.d.ts +5 -6
  268. package/dist/types/twisty/model/props/puzzle/state/LegacyPositionProp.d.ts +2 -3
  269. package/dist/types/twisty/model/props/puzzle/state/MovePressInputProp.d.ts +0 -1
  270. package/dist/types/twisty/model/props/puzzle/state/NaiveMoveCountProp.d.ts +0 -1
  271. package/dist/types/twisty/model/props/puzzle/state/PuzzleAlgProp.d.ts +4 -5
  272. package/dist/types/twisty/model/props/puzzle/state/SetupAnchorProp.d.ts +0 -1
  273. package/dist/types/twisty/model/props/puzzle/structure/KPuzzleProp.d.ts +10 -0
  274. package/dist/types/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.d.ts +0 -1
  275. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDProp.d.ts +0 -1
  276. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts +0 -1
  277. package/dist/types/twisty/model/props/puzzle/structure/PuzzleLoaderProp.d.ts +0 -1
  278. package/dist/types/twisty/model/props/timeline/CoarseTimelineInfoProp.d.ts +0 -1
  279. package/dist/types/twisty/model/props/timeline/DetailedTimelineInfoProp.d.ts +0 -1
  280. package/dist/types/twisty/model/props/timeline/PlayingInfoProp.d.ts +0 -1
  281. package/dist/types/twisty/model/props/timeline/TempoScaleProp.d.ts +0 -1
  282. package/dist/types/twisty/model/props/timeline/TimestampRequestProp.d.ts +0 -1
  283. package/dist/types/twisty/model/props/viewer/BackViewProp.d.ts +0 -1
  284. package/dist/types/twisty/model/props/viewer/BackgroundProp.d.ts +0 -1
  285. package/dist/types/twisty/model/props/viewer/ButtonAppearanceProp.d.ts +0 -1
  286. package/dist/types/twisty/model/props/viewer/ControlPanelProp.d.ts +0 -1
  287. package/dist/types/twisty/model/props/viewer/LatitudeLimit.d.ts +0 -1
  288. package/dist/types/twisty/model/props/viewer/OrbitCoordinatesProp.d.ts +0 -1
  289. package/dist/types/twisty/model/props/viewer/OrbitCoordinatesRequestProp.d.ts +0 -1
  290. package/dist/types/twisty/model/props/viewer/TimeRangeProp.d.ts +2 -3
  291. package/dist/types/twisty/model/props/viewer/ViewerLinkProp.d.ts +0 -1
  292. package/dist/types/twisty/model/props/viewer/VisualizationProp.d.ts +0 -1
  293. package/dist/types/twisty/model/props/viewer/VisualizationStrategyProp.d.ts +0 -1
  294. package/dist/types/twisty/views/2D/KPuzzleSVGWrapper.d.ts +17 -0
  295. package/dist/types/twisty/views/2D/Twisty2DPuzzle.css.d.ts +0 -1
  296. package/dist/types/twisty/views/2D/Twisty2DPuzzle.d.ts +4 -4
  297. package/dist/types/twisty/views/2D/Twisty2DPuzzleWrapper.d.ts +0 -1
  298. package/dist/types/twisty/views/2D/Twisty2DSceneWrapper.d.ts +0 -1
  299. package/dist/types/twisty/views/3D/DragTracker.d.ts +0 -1
  300. package/dist/types/twisty/views/3D/RendererPool.d.ts +0 -1
  301. package/dist/types/twisty/views/3D/TAU.d.ts +0 -1
  302. package/dist/types/twisty/views/3D/Twisty3DPuzzleWrapper.d.ts +0 -1
  303. package/dist/types/twisty/views/3D/Twisty3DRenderTarget.d.ts +0 -1
  304. package/dist/types/twisty/views/3D/Twisty3DScene.d.ts +0 -1
  305. package/dist/types/twisty/views/3D/Twisty3DSceneWrapper.d.ts +0 -1
  306. package/dist/types/twisty/views/3D/Twisty3DVantage.css.d.ts +0 -1
  307. package/dist/types/twisty/views/3D/Twisty3DVantage.d.ts +0 -1
  308. package/dist/types/twisty/views/3D/TwistyOrbitControls.d.ts +0 -1
  309. package/dist/types/twisty/views/3D/TwistyOrbitControls.spec.d.ts +0 -1
  310. package/dist/types/twisty/views/3D/puzzles/Cube3D.d.ts +4 -5
  311. package/dist/types/twisty/views/3D/puzzles/PG3D.d.ts +5 -6
  312. package/dist/types/twisty/views/3D/puzzles/Twisty3DPuzzle.d.ts +0 -1
  313. package/dist/types/twisty/views/ClassListManager.d.ts +0 -1
  314. package/dist/types/twisty/views/ManagedCustomElement.d.ts +0 -1
  315. package/dist/types/twisty/views/TwistyAlgEditor/LeafTokens.d.ts +0 -1
  316. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.css.d.ts +0 -1
  317. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.d.ts +0 -1
  318. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.spec.d.ts +0 -1
  319. package/dist/types/twisty/views/TwistyAlgEditor/model.d.ts +0 -1
  320. package/dist/types/twisty/views/TwistyAlgViewer.css.d.ts +0 -1
  321. package/dist/types/twisty/views/TwistyAlgViewer.d.ts +0 -1
  322. package/dist/types/twisty/views/TwistyPlayer.css.d.ts +0 -1
  323. package/dist/types/twisty/views/TwistyPlayer.d.ts +0 -1
  324. package/dist/types/twisty/views/TwistyPlayerSettable.d.ts +0 -1
  325. package/dist/types/twisty/views/TwistyViewerWrapper.css.d.ts +0 -1
  326. package/dist/types/twisty/views/canvas.d.ts +0 -1
  327. package/dist/types/twisty/views/control-panel/TwistyButtonsV2.css.d.ts +0 -1
  328. package/dist/types/twisty/views/control-panel/TwistyButtonsV2.d.ts +0 -1
  329. package/dist/types/twisty/views/control-panel/TwistyScrubber.css.d.ts +0 -1
  330. package/dist/types/twisty/views/control-panel/TwistyScrubberV2.d.ts +0 -1
  331. package/dist/types/twisty/views/control-panel/webkit-fullscreen.d.ts +0 -1
  332. package/dist/types/twisty/views/document.d.ts +0 -1
  333. package/dist/types/twisty/views/node-custom-element-shims.d.ts +0 -1
  334. package/dist/types/twisty/views/screenshot.d.ts +0 -1
  335. package/dist/types/twisty/views/stream/TwistyStreamSource.css.d.ts +0 -1
  336. package/dist/types/twisty/views/stream/TwistyStreamSource.d.ts +0 -1
  337. package/dist/types/vendor/comlink-everywhere/inside/index.d.ts +0 -1
  338. package/dist/types/vendor/comlink-everywhere/inside/node.d.ts +0 -1
  339. package/dist/types/vendor/comlink-everywhere/outside/index.d.ts +0 -1
  340. package/dist/types/vendor/comlink-everywhere/outside/node.d.ts +0 -1
  341. package/dist/types/vendor/cstimer/src/js/lib/mathlib.d.ts +0 -1
  342. package/dist/types/vendor/cstimer/src/js/scramble/scramble_444.d.ts +0 -1
  343. package/dist/types/vendor/min2phase/gwt.d.ts +0 -1
  344. package/dist/types/vendor/p-lazy/p-lazy.d.ts +0 -1
  345. package/dist/types/vendor/random-uint-below/get-random-values.d.ts +0 -1
  346. package/dist/types/vendor/random-uint-below/index.d.ts +0 -1
  347. package/dist/types/vendor/random-uint-below/random-choice.d.ts +0 -1
  348. package/dist/types/vendor/random-uint-below/random53BitValue.d.ts +0 -1
  349. package/dist/types/vendor/sq12phase/scramble_sq1.d.ts +0 -1
  350. package/dist/types/vendor/three/examples/jsm/libs/stats.modified.module.d.ts +0 -1
  351. package/dist/types/vendor/unsafe-raw-aes/unsafe-raw-aes.d.ts +0 -1
  352. package/package.json +3 -4
  353. package/dist/bin/order.js +0 -16675
  354. package/dist/bin/order.js.map +0 -7
  355. package/dist/bin/puzzle-geometry-bin.js +0 -5444
  356. package/dist/bin/puzzle-geometry-bin.js.map +0 -7
  357. package/dist/bundle-global/cubing.bundle-global.js +0 -10432
  358. package/dist/esm/2x2x2.kpuzzle.json-JOGUSQ4N.js.map +0 -7
  359. package/dist/esm/2x2x2.sgs.json-FRBWMMA7.js.map +0 -7
  360. package/dist/esm/chunk-DK6PXBB2.js.map +0 -7
  361. package/dist/esm/chunk-DPMEZY7V.js.map +0 -7
  362. package/dist/esm/chunk-FK2SCC3Z.js.map +0 -7
  363. package/dist/esm/chunk-JZWB7AIU.js.map +0 -7
  364. package/dist/esm/chunk-N3RNWU5T.js.map +0 -7
  365. package/dist/esm/chunk-PUPUQWJC.js.map +0 -7
  366. package/dist/esm/chunk-X6JHXPDX.js +0 -2359
  367. package/dist/esm/chunk-X6JHXPDX.js.map +0 -7
  368. package/dist/esm/chunk-XVZOMB6J.js.map +0 -7
  369. package/dist/esm/clock.kpuzzle.json-EKWRMHJM.js.map +0 -7
  370. package/dist/esm/entry-L6CE2HLF.js.map +0 -7
  371. package/dist/esm/fto.sgs.json-62YNULOK.js.map +0 -7
  372. package/dist/esm/megaminx.sgs.json-PRL46G5J.js +0 -16
  373. package/dist/esm/skewb.sgs.json-FWHYACJG.js +0 -16
  374. package/dist/esm/sq1-hyperorbit.kpuzzle.json-N3FGCPML.js.map +0 -7
  375. package/dist/esm/worker-inside-generated-string-OWJA5IIQ.js +0 -3450
  376. package/dist/esm/worker-inside-generated-string-OWJA5IIQ.js.map +0 -7
  377. package/dist/types/alg/Alg.d.ts.map +0 -1
  378. package/dist/types/alg/Alg.spec.d.ts.map +0 -1
  379. package/dist/types/alg/AlgBuilder.d.ts.map +0 -1
  380. package/dist/types/alg/Serializable.d.ts.map +0 -1
  381. package/dist/types/alg/common.d.ts.map +0 -1
  382. package/dist/types/alg/debug.d.ts.map +0 -1
  383. package/dist/types/alg/example.d.ts.map +0 -1
  384. package/dist/types/alg/index.d.ts.map +0 -1
  385. package/dist/types/alg/is.d.ts.map +0 -1
  386. package/dist/types/alg/iteration.d.ts.map +0 -1
  387. package/dist/types/alg/keyboard.d.ts.map +0 -1
  388. package/dist/types/alg/limits.d.ts.map +0 -1
  389. package/dist/types/alg/operation.d.ts.map +0 -1
  390. package/dist/types/alg/operation.spec.d.ts.map +0 -1
  391. package/dist/types/alg/parse.d.ts.map +0 -1
  392. package/dist/types/alg/parse.spec.d.ts.map +0 -1
  393. package/dist/types/alg/test/alg-comparison.d.ts.map +0 -1
  394. package/dist/types/alg/test/alg.spec.d.ts.map +0 -1
  395. package/dist/types/alg/traversal.d.ts.map +0 -1
  396. package/dist/types/alg/units/QuantumWithAmount.d.ts.map +0 -1
  397. package/dist/types/alg/units/Unit.d.ts.map +0 -1
  398. package/dist/types/alg/units/containers/Commutator.d.ts.map +0 -1
  399. package/dist/types/alg/units/containers/Conjugate.d.ts.map +0 -1
  400. package/dist/types/alg/units/containers/Grouping.d.ts.map +0 -1
  401. package/dist/types/alg/units/index.d.ts.map +0 -1
  402. package/dist/types/alg/units/leaves/LineComment.d.ts.map +0 -1
  403. package/dist/types/alg/units/leaves/LineComment.spec.d.ts.map +0 -1
  404. package/dist/types/alg/units/leaves/Move.d.ts.map +0 -1
  405. package/dist/types/alg/units/leaves/Move.spec.d.ts.map +0 -1
  406. package/dist/types/alg/units/leaves/Newline.d.ts.map +0 -1
  407. package/dist/types/alg/units/leaves/Pause.d.ts.map +0 -1
  408. package/dist/types/alg/url.d.ts.map +0 -1
  409. package/dist/types/alg/url.spec.d.ts.map +0 -1
  410. package/dist/types/alg/validation.d.ts.map +0 -1
  411. package/dist/types/alg/warnOnce.d.ts.map +0 -1
  412. package/dist/types/bluetooth/connect/index.d.ts.map +0 -1
  413. package/dist/types/bluetooth/debug.d.ts.map +0 -1
  414. package/dist/types/bluetooth/index.d.ts.map +0 -1
  415. package/dist/types/bluetooth/keyboard.d.ts.map +0 -1
  416. package/dist/types/bluetooth/smart-puzzle/Heykube.d.ts.map +0 -1
  417. package/dist/types/bluetooth/smart-puzzle/bluetooth-puzzle.d.ts.map +0 -1
  418. package/dist/types/bluetooth/smart-puzzle/connect.d.ts.map +0 -1
  419. package/dist/types/bluetooth/smart-puzzle/endianness.d.ts.map +0 -1
  420. package/dist/types/bluetooth/smart-puzzle/gan.d.ts.map +0 -1
  421. package/dist/types/bluetooth/smart-puzzle/giiker.d.ts.map +0 -1
  422. package/dist/types/bluetooth/smart-puzzle/giiker.spec.d.ts.map +0 -1
  423. package/dist/types/bluetooth/smart-puzzle/gocube.d.ts.map +0 -1
  424. package/dist/types/bluetooth/smart-robot/GanRobot.d.ts.map +0 -1
  425. package/dist/types/bluetooth/smart-robot/index.d.ts.map +0 -1
  426. package/dist/types/bluetooth/smart-timer/GanTimer.d.ts.map +0 -1
  427. package/dist/types/bluetooth/smart-timer/index.d.ts.map +0 -1
  428. package/dist/types/bluetooth/transformer.d.ts.map +0 -1
  429. package/dist/types/cubing.bundle-global.d.ts.map +0 -1
  430. package/dist/types/cubing.bundle-global.exports.d.ts.map +0 -1
  431. package/dist/types/esm-test-worker.d.ts.map +0 -1
  432. package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.d.ts.map +0 -1
  433. package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.spec.d.ts.map +0 -1
  434. package/dist/types/kpuzzle/canon.spec.d.ts +0 -2
  435. package/dist/types/kpuzzle/canon.spec.d.ts.map +0 -1
  436. package/dist/types/kpuzzle/canonicalize.d.ts +0 -55
  437. package/dist/types/kpuzzle/canonicalize.d.ts.map +0 -1
  438. package/dist/types/kpuzzle/definition_types.d.ts +0 -19
  439. package/dist/types/kpuzzle/definition_types.d.ts.map +0 -1
  440. package/dist/types/kpuzzle/index.d.ts.map +0 -1
  441. package/dist/types/kpuzzle/kpuzzle.d.ts +0 -17
  442. package/dist/types/kpuzzle/kpuzzle.d.ts.map +0 -1
  443. package/dist/types/kpuzzle/kpuzzle.spec.d.ts +0 -2
  444. package/dist/types/kpuzzle/kpuzzle.spec.d.ts.map +0 -1
  445. package/dist/types/kpuzzle/move_notation.d.ts +0 -6
  446. package/dist/types/kpuzzle/move_notation.d.ts.map +0 -1
  447. package/dist/types/kpuzzle/parser/index.d.ts +0 -2
  448. package/dist/types/kpuzzle/parser/index.d.ts.map +0 -1
  449. package/dist/types/kpuzzle/parser/parser-peggy.d.ts +0 -15
  450. package/dist/types/kpuzzle/parser/parser-peggy.d.ts.map +0 -1
  451. package/dist/types/kpuzzle/parser/parser-shim.d.ts +0 -4
  452. package/dist/types/kpuzzle/parser/parser-shim.d.ts.map +0 -1
  453. package/dist/types/kpuzzle/parser/parser.d.ts +0 -1
  454. package/dist/types/kpuzzle/parser/parser.d.ts.map +0 -1
  455. package/dist/types/kpuzzle/prunetable.spec.d.ts +0 -2
  456. package/dist/types/kpuzzle/prunetable.spec.d.ts.map +0 -1
  457. package/dist/types/kpuzzle/pruningtable.d.ts +0 -16
  458. package/dist/types/kpuzzle/pruningtable.d.ts.map +0 -1
  459. package/dist/types/kpuzzle/puzzle-orientation.d.ts +0 -5
  460. package/dist/types/kpuzzle/puzzle-orientation.d.ts.map +0 -1
  461. package/dist/types/kpuzzle/svg.d.ts +0 -18
  462. package/dist/types/kpuzzle/svg.d.ts.map +0 -1
  463. package/dist/types/kpuzzle/transformations.d.ts +0 -13
  464. package/dist/types/kpuzzle/transformations.d.ts.map +0 -1
  465. package/dist/types/kpuzzle/transformations.spec.d.ts +0 -2
  466. package/dist/types/kpuzzle/transformations.spec.d.ts.map +0 -1
  467. package/dist/types/notation/CountAnimatedLeaves.d.ts.map +0 -1
  468. package/dist/types/notation/CountMoves.d.ts.map +0 -1
  469. package/dist/types/notation/index.d.ts.map +0 -1
  470. package/dist/types/protocol/binary/binary3x3x3.d.ts.map +0 -1
  471. package/dist/types/protocol/binary/binary3x3x3.spec.d.ts.map +0 -1
  472. package/dist/types/protocol/binary/hex.d.ts.map +0 -1
  473. package/dist/types/protocol/binary/hex.spec.d.ts.map +0 -1
  474. package/dist/types/protocol/binary/orbit-indexing.d.ts.map +0 -1
  475. package/dist/types/protocol/binary/orbit-indexing.spec.d.ts.map +0 -1
  476. package/dist/types/protocol/binary/puzzle-orientation.d.ts.map +0 -1
  477. package/dist/types/protocol/index.d.ts.map +0 -1
  478. package/dist/types/puzzle-geometry/FaceNameSwizzler.d.ts.map +0 -1
  479. package/dist/types/puzzle-geometry/Options.d.ts.map +0 -1
  480. package/dist/types/puzzle-geometry/PGPuzzles.d.ts.map +0 -1
  481. package/dist/types/puzzle-geometry/PGPuzzles.spec.d.ts.map +0 -1
  482. package/dist/types/puzzle-geometry/Perm.d.ts.map +0 -1
  483. package/dist/types/puzzle-geometry/PermOriSet.d.ts.map +0 -1
  484. package/dist/types/puzzle-geometry/PlatonicGenerator.d.ts.map +0 -1
  485. package/dist/types/puzzle-geometry/PuzzleGeometry.d.ts.map +0 -1
  486. package/dist/types/puzzle-geometry/Quat.d.ts.map +0 -1
  487. package/dist/types/puzzle-geometry/Quat.spec.d.ts.map +0 -1
  488. package/dist/types/puzzle-geometry/SchreierSims.d.ts.map +0 -1
  489. package/dist/types/puzzle-geometry/index.d.ts.map +0 -1
  490. package/dist/types/puzzle-geometry/interfaces.d.ts +0 -6
  491. package/dist/types/puzzle-geometry/interfaces.d.ts.map +0 -1
  492. package/dist/types/puzzle-geometry/notation-mapping/FTONotationMapper.d.ts.map +0 -1
  493. package/dist/types/puzzle-geometry/notation-mapping/FaceRenamingMapper.d.ts.map +0 -1
  494. package/dist/types/puzzle-geometry/notation-mapping/MegaminxScramblingNotationMapper.d.ts.map +0 -1
  495. package/dist/types/puzzle-geometry/notation-mapping/NotationMapper.d.ts.map +0 -1
  496. package/dist/types/puzzle-geometry/notation-mapping/NullMapper.d.ts.map +0 -1
  497. package/dist/types/puzzle-geometry/notation-mapping/NxNxNCubeMapper.d.ts.map +0 -1
  498. package/dist/types/puzzle-geometry/notation-mapping/PyraminxNotationMapper.d.ts.map +0 -1
  499. package/dist/types/puzzle-geometry/notation-mapping/SkewbNotationMapper.d.ts.map +0 -1
  500. package/dist/types/puzzle-geometry/notation-mapping/index.d.ts.map +0 -1
  501. package/dist/types/puzzle-geometry/orientcenters.spec.d.ts.map +0 -1
  502. package/dist/types/puzzles/PuzzleLoader.d.ts.map +0 -1
  503. package/dist/types/puzzles/async/async-pg3d.d.ts.map +0 -1
  504. package/dist/types/puzzles/customPGPuzzleLoader.d.ts.map +0 -1
  505. package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.json.d.ts.map +0 -1
  506. package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.svg.d.ts.map +0 -1
  507. package/dist/types/puzzles/implementations/2x2x2/index.d.ts.map +0 -1
  508. package/dist/types/puzzles/implementations/3x3x3/3x3x3-ll.kpuzzle.svg.d.ts.map +0 -1
  509. package/dist/types/puzzles/implementations/3x3x3/3x3x3.kpuzzle.svg.d.ts.map +0 -1
  510. package/dist/types/puzzles/implementations/3x3x3/index.d.ts.map +0 -1
  511. package/dist/types/puzzles/implementations/clock/clock.kpuzzle.json.d.ts.map +0 -1
  512. package/dist/types/puzzles/implementations/clock/clock.kpuzzle.svg.d.ts.map +0 -1
  513. package/dist/types/puzzles/implementations/clock/index.d.ts.map +0 -1
  514. package/dist/types/puzzles/implementations/fto/index.d.ts.map +0 -1
  515. package/dist/types/puzzles/implementations/megaminx/index.d.ts.map +0 -1
  516. package/dist/types/puzzles/implementations/pyraminx/index.d.ts.map +0 -1
  517. package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.json.d.ts.map +0 -1
  518. package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.svg.d.ts.map +0 -1
  519. package/dist/types/puzzles/implementations/square1/index.d.ts.map +0 -1
  520. package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.json.d.ts.map +0 -1
  521. package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.svg.d.ts.map +0 -1
  522. package/dist/types/puzzles/index.d.ts.map +0 -1
  523. package/dist/types/puzzles/stickerings/appearance.d.ts.map +0 -1
  524. package/dist/types/puzzles/stickerings/cube-stickerings.d.ts.map +0 -1
  525. package/dist/types/puzzles/stickerings/fto-stickerings.d.ts.map +0 -1
  526. package/dist/types/puzzles/stickerings/global-custom-stickering-hack.d.ts.map +0 -1
  527. package/dist/types/puzzles/stickerings/megaminx-stickerings.d.ts.map +0 -1
  528. package/dist/types/scramble/index.d.ts.map +0 -1
  529. package/dist/types/search/esm-test-worker.d.ts.map +0 -1
  530. package/dist/types/search/index.d.ts.map +0 -1
  531. package/dist/types/search/inside/api.d.ts.map +0 -1
  532. package/dist/types/search/inside/api.spec.d.ts.map +0 -1
  533. package/dist/types/search/inside/entry.d.ts.map +0 -1
  534. package/dist/types/search/inside/inside-worker.d.ts.map +0 -1
  535. package/dist/types/search/inside/module-entry-path-getter.d.ts.map +0 -1
  536. package/dist/types/search/inside/module-entry.d.ts.map +0 -1
  537. package/dist/types/search/inside/solve/addOrientationSuffix.d.ts.map +0 -1
  538. package/dist/types/search/inside/solve/parseSGS.d.ts.map +0 -1
  539. package/dist/types/search/inside/solve/puzzles/2x2x2.d.ts.map +0 -1
  540. package/dist/types/search/inside/solve/puzzles/2x2x2.sgs.json.d.ts.map +0 -1
  541. package/dist/types/search/inside/solve/puzzles/3x3x3/convert.d.ts.map +0 -1
  542. package/dist/types/search/inside/solve/puzzles/3x3x3/filter.d.ts.map +0 -1
  543. package/dist/types/search/inside/solve/puzzles/3x3x3/index.d.ts.map +0 -1
  544. package/dist/types/search/inside/solve/puzzles/3x3x3/legacy-sgs.d.ts.map +0 -1
  545. package/dist/types/search/inside/solve/puzzles/3x3x3-inefficient.sgs.json.d.ts.map +0 -1
  546. package/dist/types/search/inside/solve/puzzles/4x4x4.d.ts.map +0 -1
  547. package/dist/types/search/inside/solve/puzzles/5x5x5.d.ts.map +0 -1
  548. package/dist/types/search/inside/solve/puzzles/big-cubes.d.ts.map +0 -1
  549. package/dist/types/search/inside/solve/puzzles/clock.d.ts.map +0 -1
  550. package/dist/types/search/inside/solve/puzzles/fto.d.ts.map +0 -1
  551. package/dist/types/search/inside/solve/puzzles/fto.sgs.json.d.ts.map +0 -1
  552. package/dist/types/search/inside/solve/puzzles/megaminx.d.ts.map +0 -1
  553. package/dist/types/search/inside/solve/puzzles/megaminx.sgs.json.d.ts.map +0 -1
  554. package/dist/types/search/inside/solve/puzzles/pyraminx.d.ts.map +0 -1
  555. package/dist/types/search/inside/solve/puzzles/pyraminx.sgs.json.d.ts.map +0 -1
  556. package/dist/types/search/inside/solve/puzzles/sgs-defs.spec.d.ts.map +0 -1
  557. package/dist/types/search/inside/solve/puzzles/skewb.d.ts.map +0 -1
  558. package/dist/types/search/inside/solve/puzzles/skewb.sgs.json.d.ts.map +0 -1
  559. package/dist/types/search/inside/solve/puzzles/sq1.d.ts.map +0 -1
  560. package/dist/types/search/inside/solve/puzzles/wca-minx.d.ts.map +0 -1
  561. package/dist/types/search/inside/solve/tremble.d.ts.map +0 -1
  562. package/dist/types/search/instantiator.d.ts.map +0 -1
  563. package/dist/types/search/outside.d.ts.map +0 -1
  564. package/dist/types/search/worker-inside-generated-string.d.ts.map +0 -1
  565. package/dist/types/stream/index.d.ts.map +0 -1
  566. package/dist/types/stream/process/ReorientedStream.d.ts.map +0 -1
  567. package/dist/types/stream/proxy-event.d.ts.map +0 -1
  568. package/dist/types/stream/twizzle/TwizzleStream.d.ts.map +0 -1
  569. package/dist/types/stream/twizzle/stream-types.d.ts.map +0 -1
  570. package/dist/types/stream/websocket-proxy.d.ts.map +0 -1
  571. package/dist/types/twisty/controllers/AnimationTypes.d.ts.map +0 -1
  572. package/dist/types/twisty/controllers/RenderScheduler.d.ts.map +0 -1
  573. package/dist/types/twisty/controllers/TwistyAnimationController.d.ts.map +0 -1
  574. package/dist/types/twisty/controllers/TwistyPlayerController.d.ts.map +0 -1
  575. package/dist/types/twisty/controllers/easing.d.ts.map +0 -1
  576. package/dist/types/twisty/controllers/indexer/AlgDuration.d.ts.map +0 -1
  577. package/dist/types/twisty/controllers/indexer/AlgIndexer.d.ts.map +0 -1
  578. package/dist/types/twisty/controllers/indexer/SimpleAlgIndexer.d.ts.map +0 -1
  579. package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexer.d.ts.map +0 -1
  580. package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexerV2.d.ts.map +0 -1
  581. package/dist/types/twisty/controllers/indexer/simultaneous-moves/simul-moves.d.ts.map +0 -1
  582. package/dist/types/twisty/controllers/indexer/tree/AlgWalker.d.ts.map +0 -1
  583. package/dist/types/twisty/controllers/indexer/tree/TreeAlgIndexer.d.ts.map +0 -1
  584. package/dist/types/twisty/controllers/indexer/tree/chunkAlgs.d.ts.map +0 -1
  585. package/dist/types/twisty/controllers/stream/timeline-move-calculation-draft.d.ts.map +0 -1
  586. package/dist/types/twisty/heavy-code-imports/3d.d.ts.map +0 -1
  587. package/dist/types/twisty/heavy-code-imports/dynamic-entries/3d.d.ts.map +0 -1
  588. package/dist/types/twisty/index.d.ts.map +0 -1
  589. package/dist/types/twisty/model/PromiseFreshener.d.ts.map +0 -1
  590. package/dist/types/twisty/model/TwistyPlayerModel.d.ts.map +0 -1
  591. package/dist/types/twisty/model/UserVisibleErrorTracker.d.ts.map +0 -1
  592. package/dist/types/twisty/model/helpers.d.ts.map +0 -1
  593. package/dist/types/twisty/model/props/TwistyProp.d.ts.map +0 -1
  594. package/dist/types/twisty/model/props/TwistyProp.spec.d.ts.map +0 -1
  595. package/dist/types/twisty/model/props/TwistyPropDebugger.d.ts.map +0 -1
  596. package/dist/types/twisty/model/props/general/URLProp.d.ts.map +0 -1
  597. package/dist/types/twisty/model/props/puzzle/display/FoundationDisplayProp.d.ts.map +0 -1
  598. package/dist/types/twisty/model/props/puzzle/display/HintFaceletProp.d.ts.map +0 -1
  599. package/dist/types/twisty/model/props/puzzle/display/SpriteProp.d.ts.map +0 -1
  600. package/dist/types/twisty/model/props/puzzle/display/StickeringProp.d.ts.map +0 -1
  601. package/dist/types/twisty/model/props/puzzle/state/AlgProp.d.ts.map +0 -1
  602. package/dist/types/twisty/model/props/puzzle/state/AlgTransformationProp.d.ts.map +0 -1
  603. package/dist/types/twisty/model/props/puzzle/state/AnchoredStartProp.d.ts.map +0 -1
  604. package/dist/types/twisty/model/props/puzzle/state/CatchUpMoveProp.d.ts.map +0 -1
  605. package/dist/types/twisty/model/props/puzzle/state/CurrentLeavesProp.d.ts.map +0 -1
  606. package/dist/types/twisty/model/props/puzzle/state/CurrentLeavesSimplified.d.ts.map +0 -1
  607. package/dist/types/twisty/model/props/puzzle/state/CurrentTransformationProp.d.ts +0 -15
  608. package/dist/types/twisty/model/props/puzzle/state/CurrentTransformationProp.d.ts.map +0 -1
  609. package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorProp.d.ts.map +0 -1
  610. package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.d.ts.map +0 -1
  611. package/dist/types/twisty/model/props/puzzle/state/IndexerProp.d.ts.map +0 -1
  612. package/dist/types/twisty/model/props/puzzle/state/LegacyPositionProp.d.ts.map +0 -1
  613. package/dist/types/twisty/model/props/puzzle/state/MovePressInputProp.d.ts.map +0 -1
  614. package/dist/types/twisty/model/props/puzzle/state/NaiveMoveCountProp.d.ts.map +0 -1
  615. package/dist/types/twisty/model/props/puzzle/state/PuzzleAlgProp.d.ts.map +0 -1
  616. package/dist/types/twisty/model/props/puzzle/state/SetupAnchorProp.d.ts.map +0 -1
  617. package/dist/types/twisty/model/props/puzzle/structure/PuzzleDefProp.d.ts +0 -11
  618. package/dist/types/twisty/model/props/puzzle/structure/PuzzleDefProp.d.ts.map +0 -1
  619. package/dist/types/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.d.ts.map +0 -1
  620. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDProp.d.ts.map +0 -1
  621. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts.map +0 -1
  622. package/dist/types/twisty/model/props/puzzle/structure/PuzzleLoaderProp.d.ts.map +0 -1
  623. package/dist/types/twisty/model/props/timeline/CoarseTimelineInfoProp.d.ts.map +0 -1
  624. package/dist/types/twisty/model/props/timeline/DetailedTimelineInfoProp.d.ts.map +0 -1
  625. package/dist/types/twisty/model/props/timeline/PlayingInfoProp.d.ts.map +0 -1
  626. package/dist/types/twisty/model/props/timeline/TempoScaleProp.d.ts.map +0 -1
  627. package/dist/types/twisty/model/props/timeline/TimestampRequestProp.d.ts.map +0 -1
  628. package/dist/types/twisty/model/props/viewer/BackViewProp.d.ts.map +0 -1
  629. package/dist/types/twisty/model/props/viewer/BackgroundProp.d.ts.map +0 -1
  630. package/dist/types/twisty/model/props/viewer/ButtonAppearanceProp.d.ts.map +0 -1
  631. package/dist/types/twisty/model/props/viewer/ControlPanelProp.d.ts.map +0 -1
  632. package/dist/types/twisty/model/props/viewer/LatitudeLimit.d.ts.map +0 -1
  633. package/dist/types/twisty/model/props/viewer/OrbitCoordinatesProp.d.ts.map +0 -1
  634. package/dist/types/twisty/model/props/viewer/OrbitCoordinatesRequestProp.d.ts.map +0 -1
  635. package/dist/types/twisty/model/props/viewer/TimeRangeProp.d.ts.map +0 -1
  636. package/dist/types/twisty/model/props/viewer/ViewerLinkProp.d.ts.map +0 -1
  637. package/dist/types/twisty/model/props/viewer/VisualizationProp.d.ts.map +0 -1
  638. package/dist/types/twisty/model/props/viewer/VisualizationStrategyProp.d.ts.map +0 -1
  639. package/dist/types/twisty/views/2D/Twisty2DPuzzle.css.d.ts.map +0 -1
  640. package/dist/types/twisty/views/2D/Twisty2DPuzzle.d.ts.map +0 -1
  641. package/dist/types/twisty/views/2D/Twisty2DPuzzleWrapper.d.ts.map +0 -1
  642. package/dist/types/twisty/views/2D/Twisty2DSceneWrapper.d.ts.map +0 -1
  643. package/dist/types/twisty/views/3D/DragTracker.d.ts.map +0 -1
  644. package/dist/types/twisty/views/3D/RendererPool.d.ts.map +0 -1
  645. package/dist/types/twisty/views/3D/TAU.d.ts.map +0 -1
  646. package/dist/types/twisty/views/3D/Twisty3DPuzzleWrapper.d.ts.map +0 -1
  647. package/dist/types/twisty/views/3D/Twisty3DRenderTarget.d.ts.map +0 -1
  648. package/dist/types/twisty/views/3D/Twisty3DScene.d.ts.map +0 -1
  649. package/dist/types/twisty/views/3D/Twisty3DSceneWrapper.d.ts.map +0 -1
  650. package/dist/types/twisty/views/3D/Twisty3DVantage.css.d.ts.map +0 -1
  651. package/dist/types/twisty/views/3D/Twisty3DVantage.d.ts.map +0 -1
  652. package/dist/types/twisty/views/3D/TwistyOrbitControls.d.ts.map +0 -1
  653. package/dist/types/twisty/views/3D/TwistyOrbitControls.spec.d.ts.map +0 -1
  654. package/dist/types/twisty/views/3D/puzzles/Cube3D.d.ts.map +0 -1
  655. package/dist/types/twisty/views/3D/puzzles/KPuzzleWrapper.d.ts +0 -48
  656. package/dist/types/twisty/views/3D/puzzles/KPuzzleWrapper.d.ts.map +0 -1
  657. package/dist/types/twisty/views/3D/puzzles/PG3D.d.ts.map +0 -1
  658. package/dist/types/twisty/views/3D/puzzles/Twisty3DPuzzle.d.ts.map +0 -1
  659. package/dist/types/twisty/views/ClassListManager.d.ts.map +0 -1
  660. package/dist/types/twisty/views/ManagedCustomElement.d.ts.map +0 -1
  661. package/dist/types/twisty/views/TwistyAlgEditor/LeafTokens.d.ts.map +0 -1
  662. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.css.d.ts.map +0 -1
  663. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.d.ts.map +0 -1
  664. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.spec.d.ts.map +0 -1
  665. package/dist/types/twisty/views/TwistyAlgEditor/model.d.ts.map +0 -1
  666. package/dist/types/twisty/views/TwistyAlgViewer.css.d.ts.map +0 -1
  667. package/dist/types/twisty/views/TwistyAlgViewer.d.ts.map +0 -1
  668. package/dist/types/twisty/views/TwistyPlayer.css.d.ts.map +0 -1
  669. package/dist/types/twisty/views/TwistyPlayer.d.ts.map +0 -1
  670. package/dist/types/twisty/views/TwistyPlayerSettable.d.ts.map +0 -1
  671. package/dist/types/twisty/views/TwistyViewerWrapper.css.d.ts.map +0 -1
  672. package/dist/types/twisty/views/canvas.d.ts.map +0 -1
  673. package/dist/types/twisty/views/control-panel/TwistyButtonsV2.css.d.ts.map +0 -1
  674. package/dist/types/twisty/views/control-panel/TwistyButtonsV2.d.ts.map +0 -1
  675. package/dist/types/twisty/views/control-panel/TwistyScrubber.css.d.ts.map +0 -1
  676. package/dist/types/twisty/views/control-panel/TwistyScrubberV2.d.ts.map +0 -1
  677. package/dist/types/twisty/views/control-panel/webkit-fullscreen.d.ts.map +0 -1
  678. package/dist/types/twisty/views/document.d.ts.map +0 -1
  679. package/dist/types/twisty/views/node-custom-element-shims.d.ts.map +0 -1
  680. package/dist/types/twisty/views/screenshot.d.ts.map +0 -1
  681. package/dist/types/twisty/views/stream/TwistyStreamSource.css.d.ts.map +0 -1
  682. package/dist/types/twisty/views/stream/TwistyStreamSource.d.ts.map +0 -1
  683. package/dist/types/vendor/comlink-everywhere/inside/index.d.ts.map +0 -1
  684. package/dist/types/vendor/comlink-everywhere/inside/node.d.ts.map +0 -1
  685. package/dist/types/vendor/comlink-everywhere/outside/index.d.ts.map +0 -1
  686. package/dist/types/vendor/comlink-everywhere/outside/node.d.ts.map +0 -1
  687. package/dist/types/vendor/cstimer/src/js/lib/mathlib.d.ts.map +0 -1
  688. package/dist/types/vendor/cstimer/src/js/scramble/scramble_444.d.ts.map +0 -1
  689. package/dist/types/vendor/min2phase/gwt.d.ts.map +0 -1
  690. package/dist/types/vendor/p-lazy/p-lazy.d.ts.map +0 -1
  691. package/dist/types/vendor/random-uint-below/get-random-values.d.ts.map +0 -1
  692. package/dist/types/vendor/random-uint-below/index.d.ts.map +0 -1
  693. package/dist/types/vendor/random-uint-below/random-choice.d.ts.map +0 -1
  694. package/dist/types/vendor/random-uint-below/random53BitValue.d.ts.map +0 -1
  695. package/dist/types/vendor/sq12phase/scramble_sq1.d.ts.map +0 -1
  696. package/dist/types/vendor/three/examples/jsm/libs/stats.modified.module.d.ts.map +0 -1
  697. package/dist/types/vendor/unsafe-raw-aes/unsafe-raw-aes.d.ts.map +0 -1
  698. package/docs/.DS_Store +0 -0
  699. package/docs/CNAME +0 -1
  700. package/docs/cubing/.DS_Store +0 -0
  701. package/docs/cubing/alg/index.html +0 -174
  702. package/docs/cubing/api/index.html +0 -158
  703. package/docs/cubing/index.html +0 -191
  704. package/docs/cubing/scramble/index.html +0 -138
  705. package/docs/cubing/twisty/index.html +0 -329
  706. package/docs/favicon.ico +0 -0
  707. package/docs/index.html +0 -20
  708. package/docs/main.css +0 -193
  709. package/src/cubing/.DS_Store +0 -0
  710. package/src/cubing/alg/Alg.spec.ts +0 -10
  711. package/src/cubing/alg/Alg.ts +0 -290
  712. package/src/cubing/alg/AlgBuilder.ts +0 -33
  713. package/src/cubing/alg/Serializable.ts +0 -29
  714. package/src/cubing/alg/common.ts +0 -59
  715. package/src/cubing/alg/debug.ts +0 -27
  716. package/src/cubing/alg/example.ts +0 -152
  717. package/src/cubing/alg/index.ts +0 -21
  718. package/src/cubing/alg/is.ts +0 -38
  719. package/src/cubing/alg/iteration.ts +0 -45
  720. package/src/cubing/alg/keyboard.ts +0 -48
  721. package/src/cubing/alg/limits.ts +0 -4
  722. package/src/cubing/alg/operation.spec.ts +0 -48
  723. package/src/cubing/alg/operation.ts +0 -36
  724. package/src/cubing/alg/parse.spec.ts +0 -75
  725. package/src/cubing/alg/parse.ts +0 -408
  726. package/src/cubing/alg/test/alg-comparison.ts +0 -23
  727. package/src/cubing/alg/test/alg.spec.ts +0 -348
  728. package/src/cubing/alg/traversal.ts +0 -284
  729. package/src/cubing/alg/units/QuantumWithAmount.ts +0 -55
  730. package/src/cubing/alg/units/Unit.ts +0 -11
  731. package/src/cubing/alg/units/containers/Commutator.ts +0 -85
  732. package/src/cubing/alg/units/containers/Conjugate.ts +0 -53
  733. package/src/cubing/alg/units/containers/Grouping.ts +0 -116
  734. package/src/cubing/alg/units/index.ts +0 -8
  735. package/src/cubing/alg/units/leaves/LineComment.spec.ts +0 -35
  736. package/src/cubing/alg/units/leaves/LineComment.ts +0 -48
  737. package/src/cubing/alg/units/leaves/Move.spec.ts +0 -15
  738. package/src/cubing/alg/units/leaves/Move.ts +0 -265
  739. package/src/cubing/alg/units/leaves/Newline.ts +0 -24
  740. package/src/cubing/alg/units/leaves/Pause.ts +0 -24
  741. package/src/cubing/alg/url.spec.ts +0 -10
  742. package/src/cubing/alg/url.ts +0 -133
  743. package/src/cubing/alg/validation.ts +0 -62
  744. package/src/cubing/alg/warnOnce.ts +0 -7
  745. package/src/cubing/bluetooth/connect/index.ts +0 -93
  746. package/src/cubing/bluetooth/debug.ts +0 -18
  747. package/src/cubing/bluetooth/docs/gan-robot.md +0 -60
  748. package/src/cubing/bluetooth/docs/gan356i.md +0 -309
  749. package/src/cubing/bluetooth/index.ts +0 -19
  750. package/src/cubing/bluetooth/keyboard.ts +0 -55
  751. package/src/cubing/bluetooth/smart-puzzle/Heykube.ts +0 -165
  752. package/src/cubing/bluetooth/smart-puzzle/bluetooth-puzzle.ts +0 -95
  753. package/src/cubing/bluetooth/smart-puzzle/connect.ts +0 -19
  754. package/src/cubing/bluetooth/smart-puzzle/endianness.ts +0 -15
  755. package/src/cubing/bluetooth/smart-puzzle/gan.ts +0 -484
  756. package/src/cubing/bluetooth/smart-puzzle/giiker.spec.ts +0 -28
  757. package/src/cubing/bluetooth/smart-puzzle/giiker.ts +0 -277
  758. package/src/cubing/bluetooth/smart-puzzle/gocube.ts +0 -167
  759. package/src/cubing/bluetooth/smart-robot/GanRobot.ts +0 -311
  760. package/src/cubing/bluetooth/smart-robot/index.ts +0 -13
  761. package/src/cubing/bluetooth/smart-timer/GanTimer.ts +0 -141
  762. package/src/cubing/bluetooth/smart-timer/index.ts +0 -13
  763. package/src/cubing/bluetooth/transformer.ts +0 -74
  764. package/src/cubing/cubing.bundle-global.exports.ts +0 -25
  765. package/src/cubing/cubing.bundle-global.ts +0 -7
  766. package/src/cubing/esm-test-worker.js +0 -5
  767. package/src/cubing/kpuzzle/3x3x3/3x3x3.kpuzzle.json.spec.ts +0 -40
  768. package/src/cubing/kpuzzle/3x3x3/3x3x3.kpuzzle.json.ts +0 -339
  769. package/src/cubing/kpuzzle/canon.spec.ts +0 -48
  770. package/src/cubing/kpuzzle/canonicalize.ts +0 -325
  771. package/src/cubing/kpuzzle/definition_types.ts +0 -23
  772. package/src/cubing/kpuzzle/index.ts +0 -33
  773. package/src/cubing/kpuzzle/kpuzzle.spec.ts +0 -12
  774. package/src/cubing/kpuzzle/kpuzzle.ts +0 -124
  775. package/src/cubing/kpuzzle/move_notation.ts +0 -9
  776. package/src/cubing/kpuzzle/parser/index.ts +0 -1
  777. package/src/cubing/kpuzzle/parser/parser-peggy.js +0 -1221
  778. package/src/cubing/kpuzzle/parser/parser-peggy.peggy +0 -72
  779. package/src/cubing/kpuzzle/parser/parser-shim.ts +0 -11
  780. package/src/cubing/kpuzzle/parser/parser.js +0 -0
  781. package/src/cubing/kpuzzle/prunetable.spec.ts +0 -19
  782. package/src/cubing/kpuzzle/pruningtable.ts +0 -99
  783. package/src/cubing/kpuzzle/puzzle-orientation.ts +0 -34
  784. package/src/cubing/kpuzzle/svg.ts +0 -290
  785. package/src/cubing/kpuzzle/transformations.spec.ts +0 -75
  786. package/src/cubing/kpuzzle/transformations.ts +0 -258
  787. package/src/cubing/notation/CountAnimatedLeaves.ts +0 -56
  788. package/src/cubing/notation/CountMoves.ts +0 -89
  789. package/src/cubing/notation/index.ts +0 -4
  790. package/src/cubing/protocol/binary/binary3x3x3.spec.ts +0 -143
  791. package/src/cubing/protocol/binary/binary3x3x3.ts +0 -226
  792. package/src/cubing/protocol/binary/hex.spec.ts +0 -17
  793. package/src/cubing/protocol/binary/hex.ts +0 -12
  794. package/src/cubing/protocol/binary/orbit-indexing.spec.ts +0 -49
  795. package/src/cubing/protocol/binary/orbit-indexing.ts +0 -68
  796. package/src/cubing/protocol/binary/puzzle-orientation.ts +0 -69
  797. package/src/cubing/protocol/index.ts +0 -12
  798. package/src/cubing/puzzle-geometry/FaceNameSwizzler.ts +0 -148
  799. package/src/cubing/puzzle-geometry/Options.ts +0 -179
  800. package/src/cubing/puzzle-geometry/PGPuzzles.spec.ts +0 -127
  801. package/src/cubing/puzzle-geometry/PGPuzzles.ts +0 -80
  802. package/src/cubing/puzzle-geometry/Perm.ts +0 -154
  803. package/src/cubing/puzzle-geometry/PermOriSet.ts +0 -765
  804. package/src/cubing/puzzle-geometry/PlatonicGenerator.ts +0 -146
  805. package/src/cubing/puzzle-geometry/PuzzleGeometry.ts +0 -3013
  806. package/src/cubing/puzzle-geometry/Quat.spec.ts +0 -10
  807. package/src/cubing/puzzle-geometry/Quat.ts +0 -325
  808. package/src/cubing/puzzle-geometry/SchreierSims.ts +0 -144
  809. package/src/cubing/puzzle-geometry/index.ts +0 -17
  810. package/src/cubing/puzzle-geometry/interfaces.ts +0 -6
  811. package/src/cubing/puzzle-geometry/notation-mapping/FTONotationMapper.ts +0 -38
  812. package/src/cubing/puzzle-geometry/notation-mapping/FaceRenamingMapper.ts +0 -59
  813. package/src/cubing/puzzle-geometry/notation-mapping/MegaminxScramblingNotationMapper.ts +0 -50
  814. package/src/cubing/puzzle-geometry/notation-mapping/NotationMapper.ts +0 -6
  815. package/src/cubing/puzzle-geometry/notation-mapping/NullMapper.ts +0 -12
  816. package/src/cubing/puzzle-geometry/notation-mapping/NxNxNCubeMapper.ts +0 -77
  817. package/src/cubing/puzzle-geometry/notation-mapping/PyraminxNotationMapper.ts +0 -121
  818. package/src/cubing/puzzle-geometry/notation-mapping/SkewbNotationMapper.ts +0 -103
  819. package/src/cubing/puzzle-geometry/notation-mapping/index.ts +0 -13
  820. package/src/cubing/puzzle-geometry/orientcenters.spec.ts +0 -55
  821. package/src/cubing/puzzles/PuzzleLoader.ts +0 -20
  822. package/src/cubing/puzzles/async/async-pg3d.ts +0 -73
  823. package/src/cubing/puzzles/customPGPuzzleLoader.ts +0 -60
  824. package/src/cubing/puzzles/implementations/2x2x2/2x2x2.kpuzzle.json.ts +0 -92
  825. package/src/cubing/puzzles/implementations/2x2x2/2x2x2.kpuzzle.svg.ts +0 -45
  826. package/src/cubing/puzzles/implementations/2x2x2/index.ts +0 -25
  827. package/src/cubing/puzzles/implementations/2x2x2/svg/2x2x2.kpuzzle.svg +0 -45
  828. package/src/cubing/puzzles/implementations/3x3x3/3x3x3-ll.kpuzzle.svg.ts +0 -108
  829. package/src/cubing/puzzles/implementations/3x3x3/3x3x3.kpuzzle.svg.ts +0 -128
  830. package/src/cubing/puzzles/implementations/3x3x3/index.ts +0 -33
  831. package/src/cubing/puzzles/implementations/3x3x3/src/3x3x3-ll.kpuzzle.svg +0 -108
  832. package/src/cubing/puzzles/implementations/3x3x3/src/3x3x3.kpuzzle.svg +0 -128
  833. package/src/cubing/puzzles/implementations/TODO/svg/alg/3x3x3.kpuzzle.original.svg +0 -128
  834. package/src/cubing/puzzles/implementations/TODO/svg/alg/3x3x3.kpuzzle.outlined.svg +0 -486
  835. package/src/cubing/puzzles/implementations/TODO/svg/alg/3x3x3.kpuzzle.spaced.svg +0 -128
  836. package/src/cubing/puzzles/implementations/clock/clock.kpuzzle.json.ts +0 -241
  837. package/src/cubing/puzzles/implementations/clock/clock.kpuzzle.svg.ts +0 -369
  838. package/src/cubing/puzzles/implementations/clock/index.ts +0 -14
  839. package/src/cubing/puzzles/implementations/clock/src/clock.kpuzzle.svg +0 -369
  840. package/src/cubing/puzzles/implementations/fto/index.ts +0 -28
  841. package/src/cubing/puzzles/implementations/megaminx/index.ts +0 -20
  842. package/src/cubing/puzzles/implementations/pyraminx/index.ts +0 -18
  843. package/src/cubing/puzzles/implementations/pyraminx/pyraminx.kpuzzle.json.ts +0 -84
  844. package/src/cubing/puzzles/implementations/pyraminx/pyraminx.kpuzzle.svg.ts +0 -88
  845. package/src/cubing/puzzles/implementations/pyraminx/src/pyraminx.kpuzzle.svg +0 -87
  846. package/src/cubing/puzzles/implementations/square1/index.ts +0 -14
  847. package/src/cubing/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.json.ts +0 -62
  848. package/src/cubing/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.svg.ts +0 -295
  849. package/src/cubing/puzzles/implementations/square1/src/sq1-hyperorbit.kpuzzle.svg +0 -295
  850. package/src/cubing/puzzles/implementations/square1/src/sq1-simple.svg +0 -60
  851. package/src/cubing/puzzles/index.ts +0 -92
  852. package/src/cubing/puzzles/stickerings/appearance.ts +0 -292
  853. package/src/cubing/puzzles/stickerings/cube-stickerings.ts +0 -304
  854. package/src/cubing/puzzles/stickerings/fto-stickerings.ts +0 -105
  855. package/src/cubing/puzzles/stickerings/global-custom-stickering-hack.ts +0 -61
  856. package/src/cubing/puzzles/stickerings/megaminx-stickerings.ts +0 -26
  857. package/src/cubing/scramble/index.ts +0 -1
  858. package/src/cubing/search/.DS_Store +0 -0
  859. package/src/cubing/search/.gitignore +0 -1
  860. package/src/cubing/search/esm-test-worker.js +0 -14
  861. package/src/cubing/search/index.ts +0 -12
  862. package/src/cubing/search/inside/.DS_Store +0 -0
  863. package/src/cubing/search/inside/api.spec.ts +0 -37
  864. package/src/cubing/search/inside/api.ts +0 -174
  865. package/src/cubing/search/inside/entry.js +0 -4
  866. package/src/cubing/search/inside/inside-worker.ts +0 -13
  867. package/src/cubing/search/inside/module-entry-path-getter.ts +0 -5
  868. package/src/cubing/search/inside/module-entry.ts +0 -20
  869. package/src/cubing/search/inside/solve/addOrientationSuffix.ts +0 -17
  870. package/src/cubing/search/inside/solve/parseSGS.ts +0 -119
  871. package/src/cubing/search/inside/solve/puzzles/2x2x2.sgs.json.ts +0 -114
  872. package/src/cubing/search/inside/solve/puzzles/2x2x2.ts +0 -92
  873. package/src/cubing/search/inside/solve/puzzles/3x3x3/convert.ts +0 -137
  874. package/src/cubing/search/inside/solve/puzzles/3x3x3/filter.ts +0 -60
  875. package/src/cubing/search/inside/solve/puzzles/3x3x3/index.ts +0 -67
  876. package/src/cubing/search/inside/solve/puzzles/3x3x3/legacy-sgs.ts +0 -291
  877. package/src/cubing/search/inside/solve/puzzles/3x3x3-inefficient.sgs.json.ts +0 -272
  878. package/src/cubing/search/inside/solve/puzzles/4x4x4.ts +0 -30
  879. package/src/cubing/search/inside/solve/puzzles/5x5x5.ts +0 -12
  880. package/src/cubing/search/inside/solve/puzzles/big-cubes.ts +0 -78
  881. package/src/cubing/search/inside/solve/puzzles/clock.ts +0 -48
  882. package/src/cubing/search/inside/solve/puzzles/fto.sgs.json.ts +0 -643
  883. package/src/cubing/search/inside/solve/puzzles/fto.ts +0 -58
  884. package/src/cubing/search/inside/solve/puzzles/megaminx.sgs.json.ts +0 -1549
  885. package/src/cubing/search/inside/solve/puzzles/megaminx.ts +0 -51
  886. package/src/cubing/search/inside/solve/puzzles/pyraminx.sgs.json.ts +0 -98
  887. package/src/cubing/search/inside/solve/puzzles/pyraminx.ts +0 -48
  888. package/src/cubing/search/inside/solve/puzzles/sgs-defs.spec.ts +0 -27
  889. package/src/cubing/search/inside/solve/puzzles/skewb.sgs.json.ts +0 -113
  890. package/src/cubing/search/inside/solve/puzzles/skewb.ts +0 -65
  891. package/src/cubing/search/inside/solve/puzzles/sq1.ts +0 -16
  892. package/src/cubing/search/inside/solve/puzzles/wca-minx.ts +0 -32
  893. package/src/cubing/search/inside/solve/tremble.ts +0 -213
  894. package/src/cubing/search/instantiator.ts +0 -95
  895. package/src/cubing/search/outside.ts +0 -110
  896. package/src/cubing/search/worker-inside-generated-string.js +0 -1
  897. package/src/cubing/stream/index.ts +0 -12
  898. package/src/cubing/stream/process/ReorientedStream.ts +0 -93
  899. package/src/cubing/stream/proxy-event.ts +0 -16
  900. package/src/cubing/stream/twizzle/TwizzleStream.ts +0 -53
  901. package/src/cubing/stream/twizzle/stream-types.ts +0 -45
  902. package/src/cubing/stream/websocket-proxy.ts +0 -73
  903. package/src/cubing/twisty/controllers/AnimationTypes.ts +0 -50
  904. package/src/cubing/twisty/controllers/RenderScheduler.ts +0 -28
  905. package/src/cubing/twisty/controllers/TwistyAnimationController.ts +0 -325
  906. package/src/cubing/twisty/controllers/TwistyPlayerController.ts +0 -38
  907. package/src/cubing/twisty/controllers/easing.ts +0 -3
  908. package/src/cubing/twisty/controllers/indexer/AlgDuration.ts +0 -94
  909. package/src/cubing/twisty/controllers/indexer/AlgIndexer.ts +0 -87
  910. package/src/cubing/twisty/controllers/indexer/SimpleAlgIndexer.ts +0 -76
  911. package/src/cubing/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexer.ts +0 -181
  912. package/src/cubing/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexerV2.ts +0 -243
  913. package/src/cubing/twisty/controllers/indexer/simultaneous-moves/simul-moves.ts +0 -193
  914. package/src/cubing/twisty/controllers/indexer/tree/AlgWalker.ts +0 -439
  915. package/src/cubing/twisty/controllers/indexer/tree/TreeAlgIndexer.ts +0 -97
  916. package/src/cubing/twisty/controllers/indexer/tree/chunkAlgs.ts +0 -81
  917. package/src/cubing/twisty/controllers/stream/timeline-move-calculation-draft.spec.ts.TODO +0 -59
  918. package/src/cubing/twisty/controllers/stream/timeline-move-calculation-draft.ts +0 -162
  919. package/src/cubing/twisty/heavy-code-imports/3d.ts +0 -18
  920. package/src/cubing/twisty/heavy-code-imports/dynamic-entries/3d.ts +0 -31
  921. package/src/cubing/twisty/index.ts +0 -24
  922. package/src/cubing/twisty/model/PromiseFreshener.ts +0 -49
  923. package/src/cubing/twisty/model/TwistyPlayerModel.ts +0 -256
  924. package/src/cubing/twisty/model/UserVisibleErrorTracker.ts +0 -22
  925. package/src/cubing/twisty/model/helpers.ts +0 -47
  926. package/src/cubing/twisty/model/props/TwistyProp.spec.ts +0 -38
  927. package/src/cubing/twisty/model/props/TwistyProp.ts +0 -366
  928. package/src/cubing/twisty/model/props/TwistyPropDebugger.ts +0 -370
  929. package/src/cubing/twisty/model/props/general/URLProp.ts +0 -14
  930. package/src/cubing/twisty/model/props/puzzle/display/FoundationDisplayProp.ts +0 -9
  931. package/src/cubing/twisty/model/props/puzzle/display/HintFaceletProp.ts +0 -15
  932. package/src/cubing/twisty/model/props/puzzle/display/SpriteProp.ts +0 -43
  933. package/src/cubing/twisty/model/props/puzzle/display/StickeringProp.ts +0 -56
  934. package/src/cubing/twisty/model/props/puzzle/state/AlgProp.ts +0 -91
  935. package/src/cubing/twisty/model/props/puzzle/state/AlgTransformationProp.ts +0 -28
  936. package/src/cubing/twisty/model/props/puzzle/state/AnchoredStartProp.ts +0 -44
  937. package/src/cubing/twisty/model/props/puzzle/state/CatchUpMoveProp.ts +0 -17
  938. package/src/cubing/twisty/model/props/puzzle/state/CurrentLeavesProp.ts +0 -109
  939. package/src/cubing/twisty/model/props/puzzle/state/CurrentLeavesSimplified.ts +0 -48
  940. package/src/cubing/twisty/model/props/puzzle/state/CurrentTransformationProp.ts +0 -46
  941. package/src/cubing/twisty/model/props/puzzle/state/IndexerConstructorProp.ts +0 -53
  942. package/src/cubing/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.ts +0 -15
  943. package/src/cubing/twisty/model/props/puzzle/state/IndexerProp.ts +0 -24
  944. package/src/cubing/twisty/model/props/puzzle/state/LegacyPositionProp.ts +0 -22
  945. package/src/cubing/twisty/model/props/puzzle/state/MovePressInputProp.ts +0 -14
  946. package/src/cubing/twisty/model/props/puzzle/state/NaiveMoveCountProp.ts +0 -20
  947. package/src/cubing/twisty/model/props/puzzle/state/PuzzleAlgProp.ts +0 -28
  948. package/src/cubing/twisty/model/props/puzzle/state/SetupAnchorProp.ts +0 -14
  949. package/src/cubing/twisty/model/props/puzzle/structure/PuzzleDefProp.ts +0 -14
  950. package/src/cubing/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.ts +0 -14
  951. package/src/cubing/twisty/model/props/puzzle/structure/PuzzleIDProp.ts +0 -12
  952. package/src/cubing/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.ts +0 -36
  953. package/src/cubing/twisty/model/props/puzzle/structure/PuzzleLoaderProp.ts +0 -38
  954. package/src/cubing/twisty/model/props/timeline/CoarseTimelineInfoProp.ts +0 -45
  955. package/src/cubing/twisty/model/props/timeline/DetailedTimelineInfoProp.ts +0 -78
  956. package/src/cubing/twisty/model/props/timeline/PlayingInfoProp.ts +0 -48
  957. package/src/cubing/twisty/model/props/timeline/TempoScaleProp.ts +0 -13
  958. package/src/cubing/twisty/model/props/timeline/TimestampRequestProp.ts +0 -38
  959. package/src/cubing/twisty/model/props/viewer/BackViewProp.ts +0 -16
  960. package/src/cubing/twisty/model/props/viewer/BackgroundProp.ts +0 -15
  961. package/src/cubing/twisty/model/props/viewer/ButtonAppearanceProp.ts +0 -86
  962. package/src/cubing/twisty/model/props/viewer/ControlPanelProp.ts +0 -14
  963. package/src/cubing/twisty/model/props/viewer/LatitudeLimit.ts +0 -11
  964. package/src/cubing/twisty/model/props/viewer/OrbitCoordinatesProp.ts +0 -127
  965. package/src/cubing/twisty/model/props/viewer/OrbitCoordinatesRequestProp.ts +0 -69
  966. package/src/cubing/twisty/model/props/viewer/TimeRangeProp.ts +0 -15
  967. package/src/cubing/twisty/model/props/viewer/ViewerLinkProp.ts +0 -14
  968. package/src/cubing/twisty/model/props/viewer/VisualizationProp.ts +0 -17
  969. package/src/cubing/twisty/model/props/viewer/VisualizationStrategyProp.ts +0 -45
  970. package/src/cubing/twisty/views/2D/Twisty2DPuzzle.css.ts +0 -26
  971. package/src/cubing/twisty/views/2D/Twisty2DPuzzle.ts +0 -146
  972. package/src/cubing/twisty/views/2D/Twisty2DPuzzleWrapper.ts +0 -52
  973. package/src/cubing/twisty/views/2D/Twisty2DSceneWrapper.ts +0 -77
  974. package/src/cubing/twisty/views/3D/DragTracker.ts +0 -184
  975. package/src/cubing/twisty/views/3D/RendererPool.ts +0 -54
  976. package/src/cubing/twisty/views/3D/TAU.ts +0 -2
  977. package/src/cubing/twisty/views/3D/Twisty3DPuzzleWrapper.ts +0 -214
  978. package/src/cubing/twisty/views/3D/Twisty3DRenderTarget.ts +0 -5
  979. package/src/cubing/twisty/views/3D/Twisty3DScene.ts +0 -42
  980. package/src/cubing/twisty/views/3D/Twisty3DSceneWrapper.ts +0 -189
  981. package/src/cubing/twisty/views/3D/Twisty3DVantage.css.ts +0 -32
  982. package/src/cubing/twisty/views/3D/Twisty3DVantage.ts +0 -312
  983. package/src/cubing/twisty/views/3D/TwistyOrbitControls.spec.ts +0 -213
  984. package/src/cubing/twisty/views/3D/TwistyOrbitControls.ts +0 -176
  985. package/src/cubing/twisty/views/3D/puzzles/Cube3D.ts +0 -966
  986. package/src/cubing/twisty/views/3D/puzzles/KPuzzleWrapper.ts +0 -142
  987. package/src/cubing/twisty/views/3D/puzzles/PG3D.ts +0 -1078
  988. package/src/cubing/twisty/views/3D/puzzles/Twisty3DPuzzle.ts +0 -6
  989. package/src/cubing/twisty/views/ClassListManager.ts +0 -34
  990. package/src/cubing/twisty/views/ManagedCustomElement.ts +0 -76
  991. package/src/cubing/twisty/views/TwistyAlgEditor/LeafTokens.ts +0 -116
  992. package/src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.css.ts +0 -72
  993. package/src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.spec.ts +0 -57
  994. package/src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.ts +0 -368
  995. package/src/cubing/twisty/views/TwistyAlgEditor/model.ts +0 -179
  996. package/src/cubing/twisty/views/TwistyAlgViewer.css.ts +0 -25
  997. package/src/cubing/twisty/views/TwistyAlgViewer.ts +0 -502
  998. package/src/cubing/twisty/views/TwistyPlayer.css.ts +0 -73
  999. package/src/cubing/twisty/views/TwistyPlayer.ts +0 -362
  1000. package/src/cubing/twisty/views/TwistyPlayerSettable.ts +0 -115
  1001. package/src/cubing/twisty/views/TwistyViewerWrapper.css.ts +0 -41
  1002. package/src/cubing/twisty/views/canvas.ts +0 -9
  1003. package/src/cubing/twisty/views/control-panel/TwistyButtonsV2.css.ts +0 -127
  1004. package/src/cubing/twisty/views/control-panel/TwistyButtonsV2.ts +0 -156
  1005. package/src/cubing/twisty/views/control-panel/TwistyScrubber.css.ts +0 -48
  1006. package/src/cubing/twisty/views/control-panel/TwistyScrubberV2.ts +0 -145
  1007. package/src/cubing/twisty/views/control-panel/webkit-fullscreen.ts +0 -44
  1008. package/src/cubing/twisty/views/document.ts +0 -4
  1009. package/src/cubing/twisty/views/node-custom-element-shims.ts +0 -30
  1010. package/src/cubing/twisty/views/screenshot.ts +0 -90
  1011. package/src/cubing/twisty/views/stream/TwistyStreamSource.css.ts +0 -17
  1012. package/src/cubing/twisty/views/stream/TwistyStreamSource.ts +0 -155
  1013. package/src/cubing/vendor/.DS_Store +0 -0
  1014. package/src/cubing/vendor/comlink-everywhere/.DS_Store +0 -0
  1015. package/src/cubing/vendor/comlink-everywhere/comlink-everywhere.webloc +0 -8
  1016. package/src/cubing/vendor/comlink-everywhere/inside/index.d.ts +0 -1
  1017. package/src/cubing/vendor/comlink-everywhere/inside/index.js +0 -16
  1018. package/src/cubing/vendor/comlink-everywhere/inside/node.js +0 -6
  1019. package/src/cubing/vendor/comlink-everywhere/outside/index.d.ts +0 -6
  1020. package/src/cubing/vendor/comlink-everywhere/outside/index.js +0 -31
  1021. package/src/cubing/vendor/comlink-everywhere/outside/node.js +0 -42
  1022. package/src/cubing/vendor/cstimer/.DS_Store +0 -0
  1023. package/src/cubing/vendor/cstimer/LICENSE +0 -674
  1024. package/src/cubing/vendor/cstimer/src/.DS_Store +0 -0
  1025. package/src/cubing/vendor/cstimer/src/js/lib/mathlib.ts +0 -54
  1026. package/src/cubing/vendor/cstimer/src/js/scramble/scramble_444.ts +0 -2791
  1027. package/src/cubing/vendor/min2phase/gwt.d.ts +0 -2
  1028. package/src/cubing/vendor/min2phase/gwt.js +0 -2699
  1029. package/src/cubing/vendor/p-lazy/license +0 -9
  1030. package/src/cubing/vendor/p-lazy/p-lazy.ts +0 -52
  1031. package/src/cubing/vendor/p-lazy/readme.md +0 -54
  1032. package/src/cubing/vendor/random-uint-below/get-random-values.ts +0 -23
  1033. package/src/cubing/vendor/random-uint-below/index.ts +0 -12
  1034. package/src/cubing/vendor/random-uint-below/random-choice.ts +0 -9
  1035. package/src/cubing/vendor/random-uint-below/random53BitValue.ts +0 -64
  1036. package/src/cubing/vendor/sq12phase/scramble_sq1.js +0 -853
  1037. package/src/cubing/vendor/three/.DS_Store +0 -0
  1038. package/src/cubing/vendor/three/examples/.DS_Store +0 -0
  1039. package/src/cubing/vendor/three/examples/jsm/libs/stats.modified.module.ts +0 -179
  1040. package/src/cubing/vendor/unsafe-raw-aes/unsafe-raw-aes.ts +0 -64
@@ -1,85 +0,0 @@
1
- import { Alg, experimentalEnsureAlg, FlexibleAlgSource } from "../../Alg";
2
- import { AlgCommon, Comparable } from "../../common";
3
- import { IterationDirection } from "../../iteration";
4
- import type { LeafUnit } from "../Unit";
5
-
6
- export class Commutator extends AlgCommon<Commutator> {
7
- readonly #A: Alg;
8
- readonly #B: Alg;
9
-
10
- constructor(aSource: FlexibleAlgSource, bSource: FlexibleAlgSource) {
11
- super();
12
- this.#A = experimentalEnsureAlg(aSource);
13
- this.#B = experimentalEnsureAlg(bSource);
14
- }
15
-
16
- get A(): Alg {
17
- return this.#A;
18
- }
19
-
20
- get B(): Alg {
21
- return this.#B;
22
- }
23
-
24
- isIdentical(other: Comparable): boolean {
25
- const otherAsCommutator = other.as(Commutator);
26
- return !!(
27
- otherAsCommutator?.A.isIdentical(this.A) &&
28
- otherAsCommutator?.B.isIdentical(this.B)
29
- );
30
- }
31
-
32
- invert(): Commutator {
33
- return new Commutator(this.#B, this.#A);
34
- }
35
-
36
- *experimentalExpand(
37
- iterDir: IterationDirection = IterationDirection.Forwards,
38
- depth?: number,
39
- ): Generator<LeafUnit> {
40
- depth ??= Infinity;
41
- if (depth === 0) {
42
- yield iterDir === IterationDirection.Forwards ? this : this.invert();
43
- } else {
44
- if (iterDir === IterationDirection.Forwards) {
45
- yield* this.A.experimentalExpand(
46
- IterationDirection.Forwards,
47
- depth - 1,
48
- );
49
- yield* this.B.experimentalExpand(
50
- IterationDirection.Forwards,
51
- depth - 1,
52
- );
53
- yield* this.A.experimentalExpand(
54
- IterationDirection.Backwards,
55
- depth - 1,
56
- );
57
- yield* this.B.experimentalExpand(
58
- IterationDirection.Backwards,
59
- depth - 1,
60
- );
61
- } else {
62
- yield* this.B.experimentalExpand(
63
- IterationDirection.Forwards,
64
- depth - 1,
65
- );
66
- yield* this.A.experimentalExpand(
67
- IterationDirection.Forwards,
68
- depth - 1,
69
- );
70
- yield* this.B.experimentalExpand(
71
- IterationDirection.Backwards,
72
- depth - 1,
73
- );
74
- yield* this.A.experimentalExpand(
75
- IterationDirection.Backwards,
76
- depth - 1,
77
- );
78
- }
79
- }
80
- }
81
-
82
- toString(): string {
83
- return `[${this.#A.toString()}, ${this.#B.toString()}]`;
84
- }
85
- }
@@ -1,53 +0,0 @@
1
- import { Alg, experimentalEnsureAlg, FlexibleAlgSource } from "../../Alg";
2
- import { AlgCommon, Comparable } from "../../common";
3
- import { IterationDirection } from "../../iteration";
4
- import type { LeafUnit } from "../Unit";
5
-
6
- export class Conjugate extends AlgCommon<Conjugate> {
7
- readonly #A: Alg;
8
- readonly #B: Alg;
9
-
10
- constructor(aSource: FlexibleAlgSource, bSource: FlexibleAlgSource) {
11
- super();
12
- this.#A = experimentalEnsureAlg(aSource);
13
- this.#B = experimentalEnsureAlg(bSource);
14
- }
15
-
16
- get A(): Alg {
17
- return this.#A;
18
- }
19
-
20
- get B(): Alg {
21
- return this.#B;
22
- }
23
-
24
- isIdentical(other: Comparable): boolean {
25
- const otherAsConjugate = other.as(Conjugate);
26
- return !!(
27
- otherAsConjugate?.A.isIdentical(this.A) &&
28
- otherAsConjugate?.B.isIdentical(this.B)
29
- );
30
- }
31
-
32
- invert(): Conjugate {
33
- return new Conjugate(this.#A, this.#B.invert());
34
- }
35
-
36
- *experimentalExpand(
37
- iterDir: IterationDirection,
38
- depth?: number,
39
- ): Generator<LeafUnit> {
40
- depth ??= Infinity;
41
- if (depth === 0) {
42
- yield iterDir === IterationDirection.Forwards ? this : this.invert();
43
- } else {
44
- yield* this.A.experimentalExpand(IterationDirection.Forwards, depth - 1);
45
- yield* this.B.experimentalExpand(iterDir, depth - 1);
46
- yield* this.A.experimentalExpand(IterationDirection.Backwards, depth - 1);
47
- }
48
- }
49
-
50
- toString(): string {
51
- return `[${this.A}: ${this.B}]`;
52
- }
53
- }
@@ -1,116 +0,0 @@
1
- import { Alg, experimentalEnsureAlg, FlexibleAlgSource } from "../../Alg";
2
- import { AlgCommon, Comparable } from "../../common";
3
- import { IterationDirection } from "../../iteration";
4
- import { Move, QuantumMove } from "../leaves/Move";
5
- import { QuantumWithAmount } from "../QuantumWithAmount";
6
- import type { LeafUnit } from "../Unit";
7
-
8
- // This is a workaround for `jest`, which doesn't handle cycles of imports inside `cubing/alg`.
9
- // We need to lazy-initialize the reusable quantum moves for Square-1, so we create this wrapper for it.
10
- class Square1TupleFormatter {
11
- quantumU_SQ_: QuantumMove | null = null;
12
- quantumD_SQ_: QuantumMove | null = null;
13
-
14
- format(grouping: Grouping): string | null {
15
- const amounts = this.tuple(grouping);
16
- if (!amounts) {
17
- return null;
18
- }
19
- return `(${amounts.map((move) => move.amount).join(", ")})`;
20
- }
21
-
22
- tuple(grouping: Grouping): [moveU: Move, moveD: Move] | null {
23
- this.quantumU_SQ_ ||= new QuantumMove("U_SQ_");
24
- this.quantumD_SQ_ ||= new QuantumMove("D_SQ_");
25
-
26
- const quantumAlg = grouping.alg;
27
- if (quantumAlg.experimentalNumUnits() === 2) {
28
- const [U, D] = quantumAlg.units();
29
- if (
30
- U.as(Move)?.quantum.isIdentical(this.quantumU_SQ_) &&
31
- D.as(Move)?.quantum.isIdentical(this.quantumD_SQ_)
32
- ) {
33
- if (grouping.amount !== 1) {
34
- throw new Error(
35
- "Square-1 tuples cannot have an amount other than 1.",
36
- );
37
- }
38
- return [U as Move, D as Move]; // TODO: can we reuse the casting from above?
39
- }
40
- }
41
- return null;
42
- }
43
- }
44
- const square1TupleFormatterInstance = new Square1TupleFormatter();
45
-
46
- export class Grouping extends AlgCommon<Grouping> {
47
- readonly #quantumWithAmount: QuantumWithAmount<Alg>;
48
-
49
- constructor(algSource: FlexibleAlgSource, amount?: number) {
50
- super();
51
- const alg = experimentalEnsureAlg(algSource);
52
- this.#quantumWithAmount = new QuantumWithAmount(alg, amount);
53
- }
54
-
55
- isIdentical(other: Comparable): boolean {
56
- const otherAsGrouping = other as Grouping;
57
- return (
58
- other.is(Grouping) &&
59
- this.#quantumWithAmount.isIdentical(otherAsGrouping.#quantumWithAmount)
60
- );
61
- }
62
-
63
- get alg(): Alg {
64
- return this.#quantumWithAmount.quantum;
65
- }
66
-
67
- get amount(): number {
68
- return this.#quantumWithAmount.amount;
69
- }
70
-
71
- /** @deprecated */
72
- get experimentalRepetitionSuffix(): string {
73
- return this.#quantumWithAmount.suffix();
74
- }
75
-
76
- invert(): Grouping {
77
- return new Grouping(
78
- this.#quantumWithAmount.quantum,
79
- -this.#quantumWithAmount.amount,
80
- );
81
- }
82
-
83
- *experimentalExpand(
84
- iterDir: IterationDirection = IterationDirection.Forwards,
85
- depth?: number,
86
- ): Generator<LeafUnit> {
87
- depth ??= Infinity;
88
- if (depth === 0) {
89
- yield iterDir === IterationDirection.Forwards ? this : this.invert();
90
- } else {
91
- yield* this.#quantumWithAmount.experimentalExpand(iterDir, depth - 1);
92
- }
93
- }
94
-
95
- static fromString(): Grouping {
96
- throw new Error("unimplemented");
97
- }
98
-
99
- toString(): string {
100
- return (
101
- square1TupleFormatterInstance.format(this) ??
102
- `(${this.#quantumWithAmount.quantum.toString()})${this.#quantumWithAmount.suffix()}`
103
- );
104
- }
105
-
106
- experimentalAsSquare1Tuple(): [moveU: Move, moveD: Move] | null {
107
- return square1TupleFormatterInstance.tuple(this);
108
- }
109
-
110
- // toJSON(): GroupingJSON {
111
- // return {
112
- // type: "grouping",
113
- // alg: this.#quanta.quantum.toJSON(),
114
- // };
115
- // }
116
- }
@@ -1,8 +0,0 @@
1
- export { Grouping } from "./containers/Grouping";
2
- export { LineComment } from "./leaves/LineComment";
3
- export { Commutator } from "./containers/Commutator";
4
- export { Conjugate } from "./containers/Conjugate";
5
- export { Move, QuantumMove } from "./leaves/Move";
6
- export { Newline } from "./leaves/Newline";
7
- export { Pause } from "./leaves/Pause";
8
- export type { Unit } from "./Unit";
@@ -1,35 +0,0 @@
1
- import { LineComment } from "./LineComment";
2
-
3
- describe("LineComment", () => {
4
- const expectedErrorMessage = "LineComment cannot contain newline";
5
-
6
- it("throws an error when a newline is provided in the input", () => {
7
- expect(
8
- () => new LineComment("This is a comment \n with a newline"),
9
- ).toThrow(expectedErrorMessage);
10
- expect(() => new LineComment("A newline character \r")).toThrow(
11
- expectedErrorMessage,
12
- );
13
- });
14
-
15
- it("does not throw an error when emojis are provided in the input", () => {
16
- expect(
17
- () => new LineComment("This string contains emojis 😀 😅"),
18
- ).not.toThrow(expectedErrorMessage);
19
- });
20
-
21
- it("does not throw an error when text characters are provided in the input", () => {
22
- expect(
23
- () =>
24
- new LineComment(
25
- "This is just a bunch of text characters in a comment.",
26
- ),
27
- ).not.toThrow(expectedErrorMessage);
28
- });
29
-
30
- it("does not throw an error when special characters are provided in the input", () => {
31
- expect(() => new LineComment("Th!s cont@in$ $pec!@l ch@r$")).not.toThrow(
32
- expectedErrorMessage,
33
- );
34
- });
35
- });
@@ -1,48 +0,0 @@
1
- import { AlgCommon, Comparable } from "../../common";
2
- import { IterationDirection } from "../../iteration";
3
- import type { LeafUnit } from "../Unit";
4
-
5
- // TODO: hash
6
- // TODO: this conflicts with the HTML `LineComment` class
7
- export class LineComment extends AlgCommon<LineComment> {
8
- readonly #text: string;
9
-
10
- constructor(commentText: string) {
11
- super();
12
- if (commentText.includes("\n") || commentText.includes("\r")) {
13
- throw new Error("LineComment cannot contain newline");
14
- }
15
- this.#text = commentText;
16
- }
17
-
18
- get text(): string {
19
- return this.#text;
20
- }
21
-
22
- isIdentical(other: Comparable): boolean {
23
- const otherAsLineComment = other as LineComment;
24
- return other.is(LineComment) && this.#text === otherAsLineComment.#text;
25
- }
26
-
27
- invert(): LineComment {
28
- return this;
29
- }
30
-
31
- *experimentalExpand(
32
- _iterDir: IterationDirection = IterationDirection.Forwards,
33
- _depth: number = Infinity,
34
- ): Generator<LeafUnit> {
35
- yield this;
36
- }
37
-
38
- toString(): string {
39
- return `//${this.#text}`;
40
- }
41
-
42
- // toJSON(): LineCommentJSON {
43
- // return {
44
- // type: "comment",
45
- // text: this.#text,
46
- // };
47
- // }
48
- }
@@ -1,15 +0,0 @@
1
- import { Move } from "./Move";
2
-
3
- describe("Move", () => {
4
- it("can be modified", () => {
5
- expect(new Move("R").modified({ amount: 2 }).toString()).toBe("R2");
6
- expect(
7
- new Move("4r", 3)
8
- .modified({
9
- family: "u",
10
- outerLayer: 2,
11
- })
12
- .toString(),
13
- ).toBe("2-4u3");
14
- });
15
- });
@@ -1,265 +0,0 @@
1
- import { AlgCommon, Comparable } from "../../common";
2
- import { IterationDirection } from "../../iteration";
3
- import { MAX_INT, MAX_INT_DESCRIPTION } from "../../limits";
4
- import { parseMove, parseQuantumMove, transferCharIndex } from "../../parse";
5
- import { warnOnce } from "../../warnOnce";
6
- import { QuantumWithAmount } from "../QuantumWithAmount";
7
- import type { LeafUnit } from "../Unit";
8
-
9
- interface QuantumMoveModifications {
10
- outerLayer?: number;
11
- innerLayer?: number;
12
- family?: string;
13
- }
14
-
15
- export class QuantumMove extends Comparable {
16
- readonly #family: string;
17
- readonly #innerLayer: number | null;
18
- readonly #outerLayer: number | null;
19
-
20
- constructor(
21
- family: string,
22
- innerLayer?: number | null,
23
- outerLayer?: number | null,
24
- ) {
25
- super();
26
- this.#family = family;
27
- this.#innerLayer = innerLayer ?? null;
28
- this.#outerLayer = outerLayer ?? null;
29
- Object.freeze(this);
30
-
31
- if (
32
- this.#innerLayer !== null &&
33
- (!Number.isInteger(this.#innerLayer) ||
34
- this.#innerLayer < 1 ||
35
- this.#innerLayer > MAX_INT)
36
- ) {
37
- throw new Error(
38
- `QuantumMove inner layer must be a positive integer below ${MAX_INT_DESCRIPTION}.`,
39
- );
40
- }
41
-
42
- if (
43
- this.#outerLayer !== null &&
44
- (!Number.isInteger(this.#outerLayer) ||
45
- this.#outerLayer < 1 ||
46
- this.#outerLayer > MAX_INT)
47
- ) {
48
- throw new Error(
49
- `QuantumMove outer layer must be a positive integer below ${MAX_INT_DESCRIPTION}.`,
50
- );
51
- }
52
-
53
- if (
54
- this.#outerLayer !== null &&
55
- this.#innerLayer !== null &&
56
- this.#innerLayer <= this.#outerLayer
57
- ) {
58
- throw new Error(
59
- "QuantumMove outer layer must be smaller than inner layer.",
60
- );
61
- }
62
-
63
- if (this.#outerLayer !== null && this.#innerLayer === null) {
64
- throw new Error(
65
- "QuantumMove with an outer layer must have an inner layer",
66
- ); // TODO: test
67
- }
68
- }
69
-
70
- static fromString(s: string): QuantumMove {
71
- return parseQuantumMove(s);
72
- }
73
-
74
- // TODO: `modify`?
75
- modified(modifications: QuantumMoveModifications): QuantumMove {
76
- return new QuantumMove(
77
- modifications.family ?? this.#family,
78
- modifications.innerLayer ?? this.#innerLayer,
79
- modifications.outerLayer ?? this.#outerLayer,
80
- );
81
- }
82
-
83
- isIdentical(other: QuantumMove): boolean {
84
- const otherAsQuantumMove = other;
85
- return (
86
- other.is(QuantumMove) &&
87
- this.#family === otherAsQuantumMove.#family &&
88
- this.#innerLayer === otherAsQuantumMove.#innerLayer &&
89
- this.#outerLayer === otherAsQuantumMove.#outerLayer
90
- );
91
- }
92
-
93
- // TODO: provide something more useful on average.
94
- /** @deprecated */
95
- get family(): string {
96
- return this.#family;
97
- }
98
-
99
- // TODO: provide something more useful on average.
100
- /** @deprecated */
101
- get outerLayer(): number | null {
102
- return this.#outerLayer;
103
- }
104
-
105
- // TODO: provide something more useful on average.
106
- /** @deprecated */
107
- get innerLayer(): number | null {
108
- return this.#innerLayer;
109
- }
110
-
111
- experimentalExpand(): Generator<LeafUnit> {
112
- throw new Error(
113
- "experimentalExpand() cannot be called on a `QuantumMove` directly.",
114
- );
115
- }
116
-
117
- toString(): string {
118
- let s = this.#family;
119
- if (this.#innerLayer !== null) {
120
- s = String(this.#innerLayer) + s;
121
- if (this.#outerLayer !== null) {
122
- s = String(this.#outerLayer) + "-" + s;
123
- }
124
- }
125
- return s;
126
- }
127
- }
128
-
129
- export interface MoveModifications {
130
- outerLayer?: number;
131
- innerLayer?: number;
132
- family?: string;
133
- amount?: number;
134
- }
135
-
136
- export class Move extends AlgCommon<Move> {
137
- readonly #quantumWithAmount: QuantumWithAmount<QuantumMove>;
138
-
139
- constructor(
140
- ...args: [QuantumMove] | [QuantumMove, number] | [string] | [string, number]
141
- ) {
142
- super();
143
- if (typeof args[0] === "string") {
144
- if (args[1] ?? null) {
145
- this.#quantumWithAmount = new QuantumWithAmount(
146
- QuantumMove.fromString(args[0]),
147
- args[1],
148
- );
149
- return;
150
- } else {
151
- return Move.fromString(args[0]); // TODO: can we return here?
152
- }
153
- }
154
- this.#quantumWithAmount = new QuantumWithAmount<QuantumMove>(
155
- args[0],
156
- args[1],
157
- );
158
- }
159
-
160
- isIdentical(other: Comparable): boolean {
161
- const otherAsMove = other.as(Move);
162
- return (
163
- !!otherAsMove &&
164
- this.#quantumWithAmount.isIdentical(otherAsMove.#quantumWithAmount)
165
- );
166
- }
167
-
168
- invert(): Move {
169
- // TODO: handle char indices more consistently among units.
170
- return transferCharIndex(
171
- this,
172
- new Move(this.#quantumWithAmount.quantum, -this.amount),
173
- );
174
- }
175
-
176
- *experimentalExpand(
177
- iterDir: IterationDirection = IterationDirection.Forwards,
178
- ): Generator<LeafUnit> {
179
- if (iterDir === IterationDirection.Forwards) {
180
- yield this;
181
- } else {
182
- yield this.modified({
183
- amount: -this.amount,
184
- });
185
- }
186
- }
187
-
188
- get quantum(): QuantumMove {
189
- return this.#quantumWithAmount.quantum;
190
- }
191
-
192
- // TODO: `modify`?
193
- modified(modifications: MoveModifications): Move {
194
- // TODO: Avoid creating a new quantum move
195
- return new Move(
196
- this.#quantumWithAmount.quantum.modified(modifications),
197
- modifications.amount ?? this.amount,
198
- );
199
- }
200
-
201
- static fromString(s: string): Move {
202
- return parseMove(s);
203
- }
204
-
205
- get amount(): number {
206
- return this.#quantumWithAmount.amount;
207
- }
208
-
209
- /** @deprecated */
210
- get type(): string {
211
- warnOnce("deprecated: type");
212
- return "blockMove";
213
- }
214
-
215
- /** @deprecated */
216
- get family(): string {
217
- return this.#quantumWithAmount.quantum.family ?? undefined;
218
- }
219
-
220
- /** @deprecated */
221
- get outerLayer(): number | undefined {
222
- return this.#quantumWithAmount.quantum.outerLayer ?? undefined;
223
- }
224
-
225
- /** @deprecated */
226
- get innerLayer(): number | undefined {
227
- return this.#quantumWithAmount.quantum.innerLayer ?? undefined;
228
- }
229
-
230
- toString(): string {
231
- if (this.family === "_SLASH_") {
232
- return "/"; // TODO: validate no amount
233
- }
234
- if (this.family.endsWith("_PLUS_")) {
235
- return (
236
- this.#quantumWithAmount.quantum.toString().slice(0, -6) +
237
- Math.abs(this.amount) +
238
- (this.amount < 0 ? "-" : "+")
239
- ); // TODO
240
- }
241
- if (this.family.endsWith("_PLUSPLUS_")) {
242
- const absAmount = Math.abs(this.amount);
243
- return (
244
- this.#quantumWithAmount.quantum.toString().slice(0, -10) +
245
- (absAmount === 1 ? "" : absAmount) +
246
- (this.amount < 0 ? "--" : "++")
247
- ); // TODO
248
- }
249
-
250
- return (
251
- this.#quantumWithAmount.quantum.toString() +
252
- this.#quantumWithAmount.suffix()
253
- );
254
- }
255
-
256
- // // TODO: Serialize as a string?
257
- // toJSON(): MoveJSON {
258
- // return {
259
- // type: "move",
260
- // family: this.family,
261
- // innerLayer: this.innerLayer,
262
- // outerLayer: this.outerLayer,
263
- // };
264
- // }
265
- }
@@ -1,24 +0,0 @@
1
- import { AlgCommon, Comparable } from "../../common";
2
- import { IterationDirection } from "../../iteration";
3
- import type { LeafUnit } from "../Unit";
4
-
5
- export class Newline extends AlgCommon<Newline> {
6
- toString(): string {
7
- return `\n`;
8
- }
9
-
10
- isIdentical(other: Comparable): boolean {
11
- return other.is(Newline);
12
- }
13
-
14
- invert(): Newline {
15
- return this;
16
- }
17
-
18
- *experimentalExpand(
19
- _iterDir: IterationDirection = IterationDirection.Forwards,
20
- _depth: number = Infinity,
21
- ): Generator<LeafUnit> {
22
- yield this;
23
- }
24
- }
@@ -1,24 +0,0 @@
1
- import { AlgCommon, Comparable } from "../../common";
2
- import { IterationDirection } from "../../iteration";
3
- import type { LeafUnit } from "../Unit";
4
-
5
- export class Pause extends AlgCommon<Pause> {
6
- toString(): string {
7
- return `.`;
8
- }
9
-
10
- isIdentical(other: Comparable): boolean {
11
- return other.is(Pause);
12
- }
13
-
14
- invert(): Pause {
15
- return this;
16
- }
17
-
18
- *experimentalExpand(
19
- _iterDir: IterationDirection = IterationDirection.Forwards,
20
- _depth: number = Infinity,
21
- ): Generator<LeafUnit> {
22
- yield this;
23
- }
24
- }
@@ -1,10 +0,0 @@
1
- import { Alg } from "./Alg";
2
- import { algCubingNetLink } from "./url";
3
-
4
- describe("algCubingNetLink", () => {
5
- it("algCubingNetLink to generate proper URLs", () => {
6
- expect(algCubingNetLink({ alg: Alg.fromString("R U R'") })).toEqual(
7
- "https://alg.cubing.net/?alg=R_U_R-",
8
- );
9
- });
10
- });