cubing 0.25.0 → 0.25.1

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 (47) hide show
  1. package/dist/esm/{2x2x2.sgs.json-TCTAV5XU.js → 2x2x2.sgs.json-QKP2WRPT.js} +2 -2
  2. package/dist/esm/{2x2x2.sgs.json-TCTAV5XU.js.map → 2x2x2.sgs.json-QKP2WRPT.js.map} +0 -0
  3. package/dist/esm/{3d-dynamic-inside-MLJKFLGH.js → 3d-dynamic-inside-GKERM3IG.js} +3 -3
  4. package/dist/esm/{3d-dynamic-inside-MLJKFLGH.js.map → 3d-dynamic-inside-GKERM3IG.js.map} +0 -0
  5. package/dist/esm/bluetooth/index.js +1 -1
  6. package/dist/esm/{chunk-U2R5E2A4.js → chunk-37NJ765B.js} +6 -4
  7. package/dist/esm/{chunk-U2R5E2A4.js.map → chunk-37NJ765B.js.map} +2 -2
  8. package/dist/esm/{chunk-4SUQM4XH.js → chunk-GXV3K7MX.js} +2 -2
  9. package/dist/esm/{chunk-4SUQM4XH.js.map → chunk-GXV3K7MX.js.map} +0 -0
  10. package/dist/esm/{chunk-TVY3UOOK.js → chunk-HCNUMBT5.js} +2 -2
  11. package/dist/esm/{chunk-TVY3UOOK.js.map → chunk-HCNUMBT5.js.map} +0 -0
  12. package/dist/esm/{chunk-AAB2V4UB.js → chunk-QUTXXRPT.js} +2 -2
  13. package/dist/esm/{chunk-AAB2V4UB.js.map → chunk-QUTXXRPT.js.map} +0 -0
  14. package/dist/esm/{chunk-V7Z6KRM2.js → chunk-Z5INA5XR.js} +3 -3
  15. package/dist/esm/{chunk-V7Z6KRM2.js.map → chunk-Z5INA5XR.js.map} +0 -0
  16. package/dist/esm/{entry-Y2R6JXV7.js → entry-RSZSKW5X.js} +17 -9
  17. package/dist/esm/{entry-Y2R6JXV7.js.map → entry-RSZSKW5X.js.map} +3 -3
  18. package/dist/esm/{fto.sgs.json-2IU2J6W7.js → fto.sgs.json-T5WY2HR7.js} +2 -2
  19. package/dist/esm/{fto.sgs.json-2IU2J6W7.js.map → fto.sgs.json-T5WY2HR7.js.map} +0 -0
  20. package/dist/esm/{ftosolver-smaller-phase3-table-PUTNXKKW.js → ftosolver-smaller-phase3-table-UTQRO776.js} +283 -76
  21. package/dist/esm/ftosolver-smaller-phase3-table-UTQRO776.js.map +7 -0
  22. package/dist/esm/masterpyra-QOJCNGZM.js +732 -0
  23. package/dist/esm/masterpyra-QOJCNGZM.js.map +7 -0
  24. package/dist/esm/{module-entry-3WBGTDCZ.js → module-entry-UDFTQHXX.js} +2 -2
  25. package/dist/esm/{module-entry-3WBGTDCZ.js.map → module-entry-UDFTQHXX.js.map} +0 -0
  26. package/dist/esm/puzzles/index.js +1 -1
  27. package/dist/esm/{pyraminx.sgs.json-NZWNQPLL.js → pyraminx.sgs.json-5HPDQAOM.js} +3 -3
  28. package/dist/esm/{pyraminx.sgs.json-NZWNQPLL.js.map → pyraminx.sgs.json-5HPDQAOM.js.map} +0 -0
  29. package/dist/esm/scramble/index.js +3 -3
  30. package/dist/esm/{scramble_444-Q334Y5FH.js → scramble_444-FXLLIDCW.js} +3 -3
  31. package/dist/esm/{scramble_444-Q334Y5FH.js.map → scramble_444-FXLLIDCW.js.map} +0 -0
  32. package/dist/esm/search/index.js +3 -3
  33. package/dist/esm/twisty/index.js +2 -2
  34. package/dist/esm/worker-inside-generated-string-WGUQ4QSO.js +2828 -0
  35. package/dist/esm/worker-inside-generated-string-WGUQ4QSO.js.map +7 -0
  36. package/dist/types/puzzles/async/async-pg3d.d.ts +2 -0
  37. package/dist/types/search/inside/solve/puzzles/master_tetraminx.d.ts +2 -0
  38. package/dist/types/search/worker-inside-generated-string.d.ts +1 -1
  39. package/dist/types/vendor/xyzzy/ftosolver-smaller-phase3-table.d.ts +1 -1
  40. package/dist/types/vendor/xyzzy/ftosolver.d.ts +4 -25
  41. package/dist/types/vendor/xyzzy/kilosolver.d.ts +1 -19
  42. package/dist/types/vendor/xyzzy/masterpyra.d.ts +1 -217
  43. package/dist/types/vendor/xyzzy/rediscrambler.d.ts +1 -37
  44. package/package.json +2 -2
  45. package/dist/esm/ftosolver-smaller-phase3-table-PUTNXKKW.js.map +0 -7
  46. package/dist/esm/worker-inside-generated-string-BERQU3U7.js +0 -2828
  47. package/dist/esm/worker-inside-generated-string-BERQU3U7.js.map +0 -7
@@ -1 +1 @@
1
- export function randomFTOScrambleString(): any;
1
+ export function randomFTOScrambleString(): Promise<any>;
@@ -1,8 +1,6 @@
1
1
  declare function counter(A: any): any[];
2
2
  declare function counter(A: any): any[];
3
3
  declare function counter(A: any): any[];
4
- declare function counter(A: any): any[];
5
- declare function factorial(n: any): any;
6
4
  declare function factorial(n: any): any;
7
5
  declare function factorial(n: any): any;
8
6
  declare function factorial(n: any): any;
@@ -13,23 +11,18 @@ declare function C4(n: any, k0: any, k1: any, k2: any, k3?: number): number;
13
11
  declare function permutation_to_index(perm: any): number;
14
12
  declare function permutation_to_index(perm: any): number;
15
13
  declare function permutation_to_index(perm: any): number;
16
- declare function permutation_to_index(perm: any): number;
17
- declare function index_to_permutation(ind: any, n: any): number[];
18
14
  declare function index_to_permutation(ind: any, n: any): number[];
19
15
  declare function index_to_permutation(ind: any, n: any): number[];
20
16
  declare function index_to_permutation(ind: any, n: any): number[];
21
17
  declare function permutation_parity(A: any): number;
22
18
  declare function permutation_parity(A: any): number;
23
19
  declare function permutation_parity(A: any): number;
24
- declare function permutation_parity(A: any): number;
25
- declare function index_to_evenpermutation(ind: any, n: any): number[];
26
20
  declare function index_to_evenpermutation(ind: any, n: any): number[];
27
21
  declare function index_to_evenpermutation(ind: any, n: any): number[];
28
22
  declare function index_to_evenpermutation(ind: any, n: any): number[];
29
23
  declare function evenpermutation_to_index(perm: any): number;
30
24
  declare function evenpermutation_to_index(perm: any): number;
31
25
  declare function evenpermutation_to_index(perm: any): number;
32
- declare function evenpermutation_to_index(perm: any): number;
33
26
  declare function random_permutation(n: any): number[];
34
27
  declare function random_even_permutation(n: any): number[];
35
28
  declare function comb_to_index(l: any): number;
@@ -47,12 +40,10 @@ declare function generate_comb4_lookup_tables(n: any, k0: any, k1: any, k2: any,
47
40
  declare function compose(A: any, B: any): any[];
48
41
  declare function compose(A: any, B: any): any[];
49
42
  declare function compose(A: any, B: any): any[];
50
- declare function compose(A: any, B: any): any[];
51
43
  declare function compose3(A: any, B: any, C: any): any[];
52
44
  declare function compose_o(A: any, B: any): any[][];
53
45
  declare function compose_o(A: any, B: any): any[][];
54
46
  declare function permutation_from_cycles(cycles: any, n: any): any[];
55
- declare function permutation_from_cycles(cycles: any, n: any): any;
56
47
  declare function reduce_permutation(perm: any, keep: any): any[];
57
48
  declare function invert_permutation(perm: any): any[];
58
49
  declare function gcd(a: any, b: any): number;
@@ -75,21 +66,17 @@ declare function random_state(): any[][];
75
66
  declare function stringify_move_sequence(move_sequence: any, no_wide?: boolean): any;
76
67
  declare function stringify_move_sequence(move_sequence: any): any;
77
68
  declare function stringify_move_sequence(move_sequence: any): any;
78
- declare function stringify_move_sequence(move_sequence: any): any;
79
- declare function print_move_sequence(move_sequence: any): void;
80
69
  declare function print_move_sequence(move_sequence: any): void;
81
70
  declare function print_move_sequence(move_sequence: any): void;
82
71
  declare function print_move_sequence(move_sequence: any): void;
83
72
  declare function apply_move_sequence(state: any, move_sequence: any): any;
84
73
  declare function apply_move_sequence(state: any, move_sequence: any): any;
85
74
  declare function apply_move_sequence(state: any, move_sequence: any): any;
86
- declare function apply_move_sequence(state: any, move_sequence: any): any;
87
75
  declare function invert_move_sequence(move_sequence: any): any;
88
76
  declare function simplify_move_sequence(move_sequence: any, make_noise?: boolean): any[][];
89
77
  declare function generate_random_state_scramble(): any;
90
78
  declare function generate_random_state_scramble(): any;
91
79
  declare function generate_random_state_scramble(): any;
92
- declare function generate_random_state_scramble(): any;
93
80
  declare function generate_multiple_random_state_scrambles(n: any): any[];
94
81
  declare function generate_mtable_comb_generic(n: any, k: any, permutations: any): Uint32Array[];
95
82
  declare function generate_mtable_comb4_generic(n: any, k0: any, k1: any, k2: any, k3: any, permutations: any): Uint32Array[];
@@ -101,20 +88,15 @@ declare function generate_mirrored_coordinate_table(mtable: any, a: any, b: any)
101
88
  declare function bfs(mtable: any, goal_states: any): Int8Array;
102
89
  declare function bfs(mtable: any, goal_states: any): any[];
103
90
  declare function bfs(mtable: any, goal_states: any): any[];
104
- declare function bfs(mtable: any, goal_states: any): any[];
105
91
  declare function ida_solve_gen(indices: any, mtables: any, ptables: any, moves_left: any, commute: any): Generator<any, void, any>;
106
- declare function ida_solve_gen(indices: any, mtables: any, ptables: any, moves_left: any): Generator<any, void, any>;
107
92
  declare function ida_solve_gen(indices: any, mtables: any, ptables: any): Generator<any, void, any>;
108
93
  declare function ida_search_gen(indices: any, mtables: any, ptables: any, bound: any, last: any, commute: any): any;
109
- declare function ida_search_gen(indices: any, mtables: any, ptables: any, bound: any, last: any): Generator<number[][], void, unknown>;
110
94
  declare function ida_search_gen(indices: any, mtables: any, ptables: any, bound: any, last: any): any;
111
95
  declare function solve(facelets: any, readable?: boolean): any[][];
112
96
  declare function solve(state: any): any[];
113
97
  declare function solve(state: any): any;
114
- declare function solve(state: any): any;
115
98
  declare function index_phase1(facelets: any): any[];
116
99
  declare function index_phase1(state: any): number[];
117
- declare function index_phase1(state: any): number[];
118
100
  declare function generate_phase1_edge_mtable(): any;
119
101
  declare function generate_phase1_edge_mtable(): any;
120
102
  declare function generate_phase1_edge_ptable(): any;
@@ -124,12 +106,9 @@ declare function generate_phase1_centreB_mtable(): any;
124
106
  declare function generate_phase1_centre_ptable(): any;
125
107
  declare function solve_phase1_gen(facelets: any): Generator<any, void, any>;
126
108
  declare function phase1_ida_solve_gen(indices: any, mtables: any, ptables: any, moves_left: any): Generator<any, void, any>;
127
- declare function phase1_ida_solve_gen(coords: any): Generator<any, void, any>;
128
- declare function phase1_ida_search_gen(indices: any, mtables: any, ptables: any, bound: any, last: any): Generator<number[][], void, unknown>;
129
- declare function phase1_ida_search_gen(a: any, b: any, c: any, d: any, e: any, f: any, mtable: any, ptable: any, bound: any, last: any): any;
109
+ declare function phase1_ida_search_gen(indices: any, mtables: any, ptables: any, bound: any, last: any): any;
130
110
  declare function index_phase2(facelets: any): any[];
131
111
  declare function index_phase2(state: any): number[];
132
- declare function index_phase2(state: any): any[];
133
112
  declare function solve_phase2_gen(facelets: any): Generator<any, void, any>;
134
113
  declare function solve_phase2(facelets: any): any;
135
114
  declare function solve_phase2(state: any): any;
@@ -171,7 +150,7 @@ declare function index_to_evenpermutation8(ind: any, perm: any): any;
171
150
  declare let comb_lookup_tables: {};
172
151
  declare let comb4_lookup_tables: {};
173
152
  declare let solved_state: number[];
174
- declare let move_U: any;
153
+ declare let move_U: any[];
175
154
  declare let move_Ui: any[];
176
155
  declare let move_X: number[];
177
156
  declare let move_Y: number[];
@@ -179,7 +158,7 @@ declare let move_Z: number[];
179
158
  declare let move_L: any[];
180
159
  declare let move_F: any[];
181
160
  declare let move_R: any[];
182
- declare let move_Us: any;
161
+ declare let move_Us: any[];
183
162
  declare let move_Uw: any[];
184
163
  declare let move_Uwi: any[];
185
164
  declare let move_Lw: any[];
@@ -190,7 +169,7 @@ declare let corner_piece_facelets: number[][];
190
169
  declare let edge_piece_facelets: number[][];
191
170
  declare let centreA_piece_facelets: number[];
192
171
  declare let centreB_piece_facelets: number[];
193
- declare let moves: any[];
172
+ declare let moves: any[][];
194
173
  declare let move_names: string[];
195
174
  declare let move_permutations: {
196
175
  cp: number[];
@@ -1,8 +1,6 @@
1
1
  declare function counter(A: any): any[];
2
2
  declare function counter(A: any): any[];
3
3
  declare function counter(A: any): any[];
4
- declare function counter(A: any): any[];
5
- declare function factorial(n: any): any;
6
4
  declare function factorial(n: any): any;
7
5
  declare function factorial(n: any): any;
8
6
  declare function factorial(n: any): any;
@@ -12,20 +10,15 @@ declare function C(n: any, k: any): number;
12
10
  declare function permutation_to_index(perm: any): number;
13
11
  declare function permutation_to_index(perm: any): number;
14
12
  declare function permutation_to_index(perm: any): number;
15
- declare function permutation_to_index(perm: any): number;
16
13
  declare function index_to_permutation(ind: any, n: any): number[];
17
14
  declare function index_to_permutation(ind: any, n: any): number[];
18
15
  declare function index_to_permutation(ind: any, n: any): number[];
19
- declare function index_to_permutation(ind: any, n: any): number[];
20
- declare function permutation_parity(A: any): number;
21
16
  declare function permutation_parity(A: any): number;
22
17
  declare function permutation_parity(A: any): number;
23
18
  declare function permutation_parity(A: any): number;
24
19
  declare function index_to_evenpermutation(ind: any, n: any): number[];
25
20
  declare function index_to_evenpermutation(ind: any, n: any): number[];
26
21
  declare function index_to_evenpermutation(ind: any, n: any): number[];
27
- declare function index_to_evenpermutation(ind: any, n: any): number[];
28
- declare function evenpermutation_to_index(perm: any): number;
29
22
  declare function evenpermutation_to_index(perm: any): number;
30
23
  declare function evenpermutation_to_index(perm: any): number;
31
24
  declare function evenpermutation_to_index(perm: any): number;
@@ -38,12 +31,10 @@ declare function index_to_comb(ind: any, ones: any, bits: any): any[];
38
31
  declare function compose(A: any, B: any): any[];
39
32
  declare function compose(A: any, B: any): any[];
40
33
  declare function compose(A: any, B: any): any[];
41
- declare function compose(A: any, B: any): any[];
42
34
  declare function compose_o(A: any, B: any): any[][];
43
35
  declare function compose_o(A: any, B: any): any[][];
44
36
  declare function permutation_from_cycle(cycle: any, n: any): any[];
45
37
  declare function permutation_from_cycle(cycle: any, n: any): any[];
46
- declare function permutation_from_cycle(cycle: any, n: any): any[];
47
38
  declare function unsparsify_list(d: any, n: any): any[];
48
39
  declare function unsparsify_list(d: any, n: any): any[];
49
40
  declare function random_state(): any[];
@@ -51,16 +42,12 @@ declare function random_state(): any[][];
51
42
  declare function stringify_move_sequence(move_sequence: any, no_wide?: boolean): any;
52
43
  declare function stringify_move_sequence(move_sequence: any): any;
53
44
  declare function stringify_move_sequence(move_sequence: any): any;
54
- declare function stringify_move_sequence(move_sequence: any): any;
55
- declare function print_move_sequence(move_sequence: any): void;
56
45
  declare function print_move_sequence(move_sequence: any): void;
57
46
  declare function print_move_sequence(move_sequence: any): void;
58
47
  declare function print_move_sequence(move_sequence: any): void;
59
48
  declare function apply_move_sequence(state: any, move_sequence: any): any;
60
49
  declare function apply_move_sequence(state: any, move_sequence: any): any;
61
50
  declare function apply_move_sequence(state: any, move_sequence: any): any;
62
- declare function apply_move_sequence(state: any, move_sequence: any): any;
63
- declare function generate_random_state_scramble(): any;
64
51
  declare function generate_random_state_scramble(): any;
65
52
  declare function generate_random_state_scramble(): any;
66
53
  declare function generate_random_state_scramble(): any;
@@ -72,7 +59,6 @@ declare function solve_phase1(state: any): any;
72
59
  declare function search_phase1(flags: any, depth: any, last: any): any;
73
60
  declare function index_phase2(facelets: any): any[];
74
61
  declare function index_phase2(state: any): number[];
75
- declare function index_phase2(state: any): any[];
76
62
  declare function solve_phase2(facelets: any): any;
77
63
  declare function solve_phase2(state: any): any;
78
64
  declare function index_phase3(state: any): number[];
@@ -83,15 +69,12 @@ declare function solve_phase4_fast(state: any): any;
83
69
  declare function solve(facelets: any, readable?: boolean): any[][];
84
70
  declare function solve(state: any): any[];
85
71
  declare function solve(state: any): any;
86
- declare function solve(state: any): any;
87
72
  declare function cn_solve(state: any): any;
88
73
  declare function generate_phase23_orientation_mtable(): any;
89
74
  declare function generate_phase2_orientation_ptable(): any;
90
- declare function generate_phase2_orientation_ptable(): any;
91
75
  declare function generate_phase3_orientation_ptable(): any;
92
76
  declare function generate_phase23_permutation_mtable(): any;
93
77
  declare function generate_phase2_permutation_ptable(): any;
94
- declare function generate_phase2_permutation_ptable(): any;
95
78
  declare function generate_phase3_permutation_ptable(): any;
96
79
  declare function generate_phase4_orientation_mtable(): any;
97
80
  declare function generate_phase4_permutation_mtable(): any;
@@ -103,7 +86,6 @@ declare function cache_all_tables(): void;
103
86
  declare function bfs(mtable: any, goal_states: any): Int8Array;
104
87
  declare function bfs(mtable: any, goal_states: any): any[];
105
88
  declare function bfs(mtable: any, goal_states: any): any[];
106
- declare function bfs(mtable: any, goal_states: any): any[];
107
89
  declare function ida_solve(indices: any, mtables: any, ptables: any): any;
108
90
  declare function ida_solve(indices: any, mtables: any, ptables: any, max_bound: any): any;
109
91
  declare function ida_search(indices: any, mtables: any, ptables: any, bound: any, last: any): number[][] | undefined;
@@ -134,7 +116,7 @@ declare let move_BR: any[][];
134
116
  declare let move_x2: any[][];
135
117
  declare let move_y: any[][];
136
118
  declare let move_rot: number[][];
137
- declare let moves: any[];
119
+ declare let moves: any[][];
138
120
  declare let move_names: string[];
139
121
  declare let id: any[][];
140
122
  declare let moves_full: any[];
@@ -1,217 +1 @@
1
- declare function counter(A: any): any[];
2
- declare function counter(A: any): any[];
3
- declare function counter(A: any): any[];
4
- declare function counter(A: any): any[];
5
- declare function factorial(n: any): any;
6
- declare function factorial(n: any): any;
7
- declare function factorial(n: any): any;
8
- declare function factorial(n: any): any;
9
- declare function identity_permutation(n: any): any[];
10
- declare function permutation_to_index(perm: any): number;
11
- declare function permutation_to_index(perm: any): number;
12
- declare function permutation_to_index(perm: any): number;
13
- declare function permutation_to_index(perm: any): number;
14
- declare function index_to_permutation(ind: any, n: any): number[];
15
- declare function index_to_permutation(ind: any, n: any): number[];
16
- declare function index_to_permutation(ind: any, n: any): number[];
17
- declare function index_to_permutation(ind: any, n: any): number[];
18
- declare function permutation_parity(A: any): number;
19
- declare function permutation_parity(A: any): number;
20
- declare function permutation_parity(A: any): number;
21
- declare function permutation_parity(A: any): number;
22
- declare function index_to_evenpermutation(ind: any, n: any): number[];
23
- declare function index_to_evenpermutation(ind: any, n: any): number[];
24
- declare function index_to_evenpermutation(ind: any, n: any): number[];
25
- declare function index_to_evenpermutation(ind: any, n: any): number[];
26
- declare function evenpermutation_to_index(perm: any): number;
27
- declare function evenpermutation_to_index(perm: any): number;
28
- declare function evenpermutation_to_index(perm: any): number;
29
- declare function evenpermutation_to_index(perm: any): number;
30
- declare function compose(A: any, B: any): any[];
31
- declare function compose(A: any, B: any): any[];
32
- declare function compose(A: any, B: any): any[];
33
- declare function compose(A: any, B: any): any[];
34
- declare function double_compose(A: any, B: any, C: any): any[];
35
- declare function invert(perm: any): number[];
36
- declare function permutation_from_cycle(cycle: any, n: any): any[];
37
- declare function permutation_from_cycle(cycle: any, n: any): any[];
38
- declare function permutation_from_cycle(cycle: any, n: any): any[];
39
- declare function permutation_from_cycles(cycles: any, n: any): any[];
40
- declare function permutation_from_cycles(cycles: any, n: any): any;
41
- declare function compose_state(state1: any, state2: any): {
42
- co: any[];
43
- mp: any[];
44
- wp: any[];
45
- cp: any[];
46
- };
47
- declare function compose_state(state1: any, state2: any): any[][];
48
- declare function invert_state(state: any): {
49
- co: any[];
50
- mp: number[];
51
- wp: number[];
52
- cp: number[];
53
- };
54
- declare function moves_commute(i: any, j: any): boolean;
55
- declare function apply_move_sequence(state: any, move_sequence: any): any;
56
- declare function apply_move_sequence(state: any, move_sequence: any): any;
57
- declare function apply_move_sequence(state: any, move_sequence: any): any;
58
- declare function apply_move_sequence(state: any, move_sequence: any): any;
59
- declare function stringify_move_sequence(move_sequence: any, no_wide?: boolean): any;
60
- declare function stringify_move_sequence(move_sequence: any): any;
61
- declare function stringify_move_sequence(move_sequence: any): any;
62
- declare function stringify_move_sequence(move_sequence: any): any;
63
- declare function print_move_sequence(move_sequence: any): void;
64
- declare function print_move_sequence(move_sequence: any): void;
65
- declare function print_move_sequence(move_sequence: any): void;
66
- declare function print_move_sequence(move_sequence: any): void;
67
- declare function generate_random_move_sequence(length?: number): number[][];
68
- declare function generate_random_state(): {
69
- co: any[];
70
- mp: number[];
71
- wp: number[];
72
- cp: number[];
73
- };
74
- declare function generate_random_state(): any[][];
75
- declare function generate_random_state_scramble(): any;
76
- declare function generate_random_state_scramble(): any;
77
- declare function generate_random_state_scramble(): any;
78
- declare function generate_random_state_scramble(): any;
79
- declare function generate_scramble_sequence(tips?: boolean, obfuscate_tips?: boolean): any;
80
- declare function generate_scramble_sequence(): any;
81
- declare function solve(facelets: any, readable?: boolean): any[][];
82
- declare function solve(state: any): any[];
83
- declare function solve(state: any): any;
84
- declare function solve(state: any): any;
85
- declare function determine_V_coset(p: any): any;
86
- declare function index_phase1(facelets: any): any[];
87
- declare function index_phase1(state: any): number[];
88
- declare function index_phase1(state: any): number[];
89
- declare function phase1_benchmark(): number;
90
- declare function phase1_ida_solve_gen(indices: any, mtables: any, ptables: any, moves_left: any): Generator<any, void, any>;
91
- declare function phase1_ida_solve_gen(coords: any): Generator<any, void, any>;
92
- declare function phase1_ida_search_gen(indices: any, mtables: any, ptables: any, bound: any, last: any): Generator<number[][], void, unknown>;
93
- declare function phase1_ida_search_gen(a: any, b: any, c: any, d: any, e: any, f: any, mtable: any, ptable: any, bound: any, last: any): any;
94
- declare function index_phase2(facelets: any): any[];
95
- declare function index_phase2(state: any): number[];
96
- declare function index_phase2(state: any): any[];
97
- declare function generate_phase1_pairing_mtable(): any;
98
- declare function generate_phase1_pairingc_mtable(): any;
99
- declare function generate_phase1_pairing2c_ptable(): any;
100
- declare function generate_phase1_full_ptable(): any;
101
- declare function generate_phase2_permutation_mtable(): any;
102
- declare function generate_phase2_orientation_mtable(): any;
103
- declare function generate_phase2_permutation_ptable(): any;
104
- declare function generate_phase2_permutation_ptable(): any;
105
- declare function generate_phase2_orientation_ptable(): any;
106
- declare function generate_phase2_orientation_ptable(): any;
107
- declare function bfs(mtable: any, goal_states: any): Int8Array;
108
- declare function bfs(mtable: any, goal_states: any): any[];
109
- declare function bfs(mtable: any, goal_states: any): any[];
110
- declare function bfs(mtable: any, goal_states: any): any[];
111
- declare function ida_solve_gen(indices: any, mtables: any, ptables: any, moves_left: any, commute: any): Generator<any, void, any>;
112
- declare function ida_solve_gen(indices: any, mtables: any, ptables: any, moves_left: any): Generator<any, void, any>;
113
- declare function ida_solve_gen(indices: any, mtables: any, ptables: any): Generator<any, void, any>;
114
- declare function ida_search_gen(indices: any, mtables: any, ptables: any, bound: any, last: any, commute: any): any;
115
- declare function ida_search_gen(indices: any, mtables: any, ptables: any, bound: any, last: any): Generator<number[][], void, unknown>;
116
- declare function ida_search_gen(indices: any, mtables: any, ptables: any, bound: any, last: any): any;
117
- declare function evenpermutation12_to_index(perm: any): number;
118
- declare function index_to_evenpermutation12(ind: any, perm: any): any;
119
- declare namespace solved {
120
- const co: number[];
121
- const mp: any[];
122
- const wp: any[];
123
- const cp: number[];
124
- }
125
- declare namespace move_U {
126
- const co_1: number[];
127
- export { co_1 as co };
128
- const mp_1: any[];
129
- export { mp_1 as mp };
130
- const wp_1: any[];
131
- export { wp_1 as wp };
132
- const cp_1: number[];
133
- export { cp_1 as cp };
134
- }
135
- declare namespace move_L {
136
- const co_2: number[];
137
- export { co_2 as co };
138
- const mp_2: any[];
139
- export { mp_2 as mp };
140
- const wp_2: any[];
141
- export { wp_2 as wp };
142
- const cp_2: number[];
143
- export { cp_2 as cp };
144
- }
145
- declare namespace move_R {
146
- const co_3: number[];
147
- export { co_3 as co };
148
- const mp_3: any[];
149
- export { mp_3 as mp };
150
- const wp_3: any[];
151
- export { wp_3 as wp };
152
- const cp_3: number[];
153
- export { cp_3 as cp };
154
- }
155
- declare namespace move_B {
156
- const co_4: number[];
157
- export { co_4 as co };
158
- const mp_4: any[];
159
- export { mp_4 as mp };
160
- const wp_4: any[];
161
- export { wp_4 as wp };
162
- const cp_4: number[];
163
- export { cp_4 as cp };
164
- }
165
- declare namespace move_Uw {
166
- const co_5: number[];
167
- export { co_5 as co };
168
- const mp_5: any;
169
- export { mp_5 as mp };
170
- const wp_5: any;
171
- export { wp_5 as wp };
172
- const cp_5: number[];
173
- export { cp_5 as cp };
174
- }
175
- declare namespace move_Lw {
176
- const co_6: number[];
177
- export { co_6 as co };
178
- const mp_6: any;
179
- export { mp_6 as mp };
180
- const wp_6: any;
181
- export { wp_6 as wp };
182
- const cp_6: number[];
183
- export { cp_6 as cp };
184
- }
185
- declare namespace move_Rw {
186
- const co_7: number[];
187
- export { co_7 as co };
188
- const mp_7: any;
189
- export { mp_7 as mp };
190
- const wp_7: any;
191
- export { wp_7 as wp };
192
- const cp_7: number[];
193
- export { cp_7 as cp };
194
- }
195
- declare namespace move_Bw {
196
- const co_8: number[];
197
- export { co_8 as co };
198
- const mp_8: any;
199
- export { mp_8 as mp };
200
- const wp_8: any;
201
- export { wp_8 as wp };
202
- const cp_8: number[];
203
- export { cp_8 as cp };
204
- }
205
- declare let moves: any[];
206
- declare let move_names: string[];
207
- declare const N_MOVES: 8;
208
- declare const N_MOVES_PHASE2: 4;
209
- declare let phase1_permtable_m: any[];
210
- declare let phase1_permtable_minv: any[];
211
- declare let phase1_permtable_w: any[];
212
- declare let phase1_permtable_winv: any[];
213
- declare let phase1_c_update: number[];
214
- declare let phase1_score_ptable: number[][];
215
- declare let phase1_score_ptable_condensed: Int8Array;
216
- declare let phase1_coord_to_score: Int8Array;
217
- declare let tables: {};
1
+ export function randomMasterTetraminxScrambleString(): Promise<any>;
@@ -1,8 +1,6 @@
1
1
  declare function counter(A: any): any[];
2
2
  declare function counter(A: any): any[];
3
3
  declare function counter(A: any): any[];
4
- declare function counter(A: any): any[];
5
- declare function factorial(n: any): any;
6
4
  declare function factorial(n: any): any;
7
5
  declare function factorial(n: any): any;
8
6
  declare function factorial(n: any): any;
@@ -12,23 +10,18 @@ declare function C(n: any, k: any): number;
12
10
  declare function permutation_to_index(perm: any): number;
13
11
  declare function permutation_to_index(perm: any): number;
14
12
  declare function permutation_to_index(perm: any): number;
15
- declare function permutation_to_index(perm: any): number;
16
- declare function index_to_permutation(ind: any, n: any): number[];
17
13
  declare function index_to_permutation(ind: any, n: any): number[];
18
14
  declare function index_to_permutation(ind: any, n: any): number[];
19
15
  declare function index_to_permutation(ind: any, n: any): number[];
20
16
  declare function permutation_parity(A: any): number;
21
17
  declare function permutation_parity(A: any): number;
22
18
  declare function permutation_parity(A: any): number;
23
- declare function permutation_parity(A: any): number;
24
- declare function index_to_evenpermutation(ind: any, n: any): number[];
25
19
  declare function index_to_evenpermutation(ind: any, n: any): number[];
26
20
  declare function index_to_evenpermutation(ind: any, n: any): number[];
27
21
  declare function index_to_evenpermutation(ind: any, n: any): number[];
28
22
  declare function evenpermutation_to_index(perm: any): number;
29
23
  declare function evenpermutation_to_index(perm: any): number;
30
24
  declare function evenpermutation_to_index(perm: any): number;
31
- declare function evenpermutation_to_index(perm: any): number;
32
25
  declare function comb_to_index(l: any): number;
33
26
  declare function comb_to_index(l: any): number;
34
27
  declare function comb_to_index(l: any): number;
@@ -38,51 +31,30 @@ declare function index_to_comb(ind: any, ones: any, bits: any): any[];
38
31
  declare function compose(A: any, B: any): any[];
39
32
  declare function compose(A: any, B: any): any[];
40
33
  declare function compose(A: any, B: any): any[];
41
- declare function compose(A: any, B: any): any[];
42
- declare function permutation_from_cycle(cycle: any, n: any): any[];
43
34
  declare function permutation_from_cycle(cycle: any, n: any): any[];
44
35
  declare function permutation_from_cycle(cycle: any, n: any): any[];
45
36
  declare function unsparsify_list(d: any, n: any): any[];
46
37
  declare function unsparsify_list(d: any, n: any): any[];
47
- declare function compose_state(state1: any, state2: any): {
48
- co: any[];
49
- mp: any[];
50
- wp: any[];
51
- cp: any[];
52
- };
53
38
  declare function compose_state(state1: any, state2: any): any[][];
54
39
  declare function apply_move_sequence(state: any, move_sequence: any): any;
55
40
  declare function apply_move_sequence(state: any, move_sequence: any): any;
56
41
  declare function apply_move_sequence(state: any, move_sequence: any): any;
57
- declare function apply_move_sequence(state: any, move_sequence: any): any;
58
42
  declare function stringify_move_sequence(move_sequence: any, no_wide?: boolean): any;
59
43
  declare function stringify_move_sequence(move_sequence: any): any;
60
44
  declare function stringify_move_sequence(move_sequence: any): any;
61
- declare function stringify_move_sequence(move_sequence: any): any;
62
- declare function print_move_sequence(move_sequence: any): void;
63
45
  declare function print_move_sequence(move_sequence: any): void;
64
46
  declare function print_move_sequence(move_sequence: any): void;
65
47
  declare function print_move_sequence(move_sequence: any): void;
66
- declare function generate_random_state(): {
67
- co: any[];
68
- mp: number[];
69
- wp: number[];
70
- cp: number[];
71
- };
72
48
  declare function generate_random_state(): any[][];
73
49
  declare function generate_random_state_scramble(): any;
74
50
  declare function generate_random_state_scramble(): any;
75
51
  declare function generate_random_state_scramble(): any;
76
- declare function generate_random_state_scramble(): any;
77
- declare function generate_scramble_sequence(tips?: boolean, obfuscate_tips?: boolean): any;
78
52
  declare function generate_scramble_sequence(): any;
79
53
  declare function solve(facelets: any, readable?: boolean): any[][];
80
54
  declare function solve(state: any): any[];
81
55
  declare function solve(state: any): any;
82
- declare function solve(state: any): any;
83
56
  declare function index_phase1(facelets: any): any[];
84
57
  declare function index_phase1(state: any): number[];
85
- declare function index_phase1(state: any): number[];
86
58
  declare function generate_phase1_corner_mtable(): any;
87
59
  declare function generate_phase1_corner_ptable(): any;
88
60
  declare function generate_phase1_edge_mtable(): any;
@@ -99,16 +71,13 @@ declare function generate_phase2_edge_ptable(): any;
99
71
  declare function bfs(mtable: any, goal_states: any): Int8Array;
100
72
  declare function bfs(mtable: any, goal_states: any): any[];
101
73
  declare function bfs(mtable: any, goal_states: any): any[];
102
- declare function bfs(mtable: any, goal_states: any): any[];
103
74
  declare function ida_solve(indices: any, mtables: any, ptables: any): any;
104
75
  declare function ida_solve(indices: any, mtables: any, ptables: any, max_bound: any): any;
105
76
  declare function ida_search(indices: any, mtables: any, ptables: any, bound: any, last: any): number[][] | undefined;
106
77
  declare function ida_search(indices: any, mtables: any, ptables: any, bound: any, last: any): any;
107
78
  declare function ida_solve_gen(indices: any, mtables: any, ptables: any, moves_left: any, commute: any): Generator<any, void, any>;
108
- declare function ida_solve_gen(indices: any, mtables: any, ptables: any, moves_left: any): Generator<any, void, any>;
109
79
  declare function ida_solve_gen(indices: any, mtables: any, ptables: any): Generator<any, void, any>;
110
80
  declare function ida_search_gen(indices: any, mtables: any, ptables: any, bound: any, last: any, commute: any): any;
111
- declare function ida_search_gen(indices: any, mtables: any, ptables: any, bound: any, last: any): Generator<number[][], void, unknown>;
112
81
  declare function ida_search_gen(indices: any, mtables: any, ptables: any, bound: any, last: any): any;
113
82
  declare let move_L: any[][];
114
83
  declare let move_B: any[][];
@@ -119,12 +88,7 @@ declare let move_b: any[][];
119
88
  declare let move_r: any[][];
120
89
  declare let move_f: any[][];
121
90
  declare let solved: any[][];
122
- declare let moves: (any[] | {
123
- co: number[];
124
- mp: any[];
125
- wp: any[];
126
- cp: number[];
127
- })[];
91
+ declare let moves: any[][];
128
92
  declare let move_names: string[];
129
93
  declare let tetrad: number[];
130
94
  declare let tables: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cubing",
3
- "version": "0.25.0",
3
+ "version": "0.25.1",
4
4
  "description": "A collection of JavaScript cubing libraries.",
5
5
  "author": "The js.cubing.net team",
6
6
  "type": "module",
@@ -32,7 +32,7 @@
32
32
  "jszip": "^3.5.0",
33
33
  "peggy": "^1.1.0",
34
34
  "prettier": "^2.2.1",
35
- "puppeteer": "^13.1.1",
35
+ "puppeteer": "^13.1.2",
36
36
  "typescript": "^4.5.4",
37
37
  "yargs": "^16.2.0"
38
38
  },