cubing 0.65.1 → 0.65.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/chunks/{chunk-PDPPBQ4O.js → chunk-Z5QOJAME.js} +2 -2
- package/dist/bin/order.js +1 -1
- package/dist/bin/puzzle-geometry-bin.js +1 -1
- package/dist/bin/scramble.js +1 -1
- package/dist/bin/svg.js +1 -1
- package/dist/lib/cubing/alg/index.d.ts +2 -2
- package/dist/lib/cubing/alg/index.js +1 -1
- package/dist/lib/cubing/bluetooth/index.d.ts +12 -13
- package/dist/lib/cubing/bluetooth/index.js +5 -5
- package/dist/lib/cubing/chunks/{big-puzzle-orientation-G75BXW2W.js → big-puzzle-orientation-7WHPJCCO.js} +2 -2
- package/dist/lib/cubing/chunks/{chunk-4ADGSRLK.js → chunk-2BVL5OQE.js} +5 -5
- package/dist/lib/cubing/chunks/{chunk-KHUP3BPA.js → chunk-2IA2R7XV.js} +4 -4
- package/dist/lib/cubing/chunks/{chunk-5LBACZOM.js → chunk-5FXQPBXH.js} +4 -4
- package/dist/lib/cubing/chunks/{chunk-GO2SL6SC.js → chunk-6K433TB5.js} +3 -3
- package/dist/lib/cubing/chunks/{chunk-THRYJMRP.js → chunk-BQPY6252.js} +2 -2
- package/dist/lib/cubing/chunks/{chunk-O2QJENHE.js → chunk-IRY6MBI2.js} +3 -3
- package/dist/lib/cubing/chunks/{chunk-DT3GVMDI.js → chunk-MFKLAFPQ.js} +3 -3
- package/dist/lib/cubing/chunks/{chunk-UWJ575HH.js → chunk-MIHF623Z.js} +3 -3
- package/dist/lib/cubing/chunks/{chunk-YFNXHRNE.js → chunk-UP5VP7GL.js} +60 -7
- package/dist/lib/cubing/chunks/chunk-UP5VP7GL.js.map +7 -0
- package/dist/lib/cubing/chunks/{chunk-ALR6ZQFC.js → chunk-YSAQ6DRT.js} +2 -2
- package/dist/lib/cubing/chunks/{inside-IHWUJJ56.js → inside-N5WSMI7I.js} +14 -14
- package/dist/lib/cubing/chunks/{search-dynamic-sgs-side-events-YSB3MWLK.js → search-dynamic-sgs-side-events-5EIXNDVI.js} +6 -6
- package/dist/lib/cubing/chunks/{search-dynamic-sgs-unofficial-OLK64DE6.js → search-dynamic-sgs-unofficial-Y7SIOVIX.js} +6 -6
- package/dist/lib/cubing/chunks/search-dynamic-sgs-unofficial-Y7SIOVIX.js.map +7 -0
- package/dist/lib/cubing/chunks/{search-dynamic-solve-4x4x4-2A2XBBWI.js → search-dynamic-solve-4x4x4-FRAX3IPQ.js} +7 -7
- package/dist/lib/cubing/chunks/search-dynamic-solve-4x4x4-FRAX3IPQ.js.map +7 -0
- package/dist/lib/cubing/chunks/{search-dynamic-solve-fto-ZZKLTONP.js → search-dynamic-solve-fto-TI4TFL6X.js} +2 -2
- package/dist/lib/cubing/chunks/search-dynamic-solve-fto-TI4TFL6X.js.map +7 -0
- package/dist/lib/cubing/chunks/{search-dynamic-solve-kilominx-PUF4PRHS.js → search-dynamic-solve-kilominx-UKFT6I42.js} +2 -2
- package/dist/lib/cubing/chunks/search-dynamic-solve-kilominx-UKFT6I42.js.map +7 -0
- package/dist/lib/cubing/chunks/search-worker-entry.js +1 -1
- package/dist/lib/cubing/chunks/{twips-LHO3IYJC.js → twips-UCWWA2WI.js} +2 -2
- package/dist/lib/cubing/chunks/{twisty-dynamic-3d-A2G22YLA.js → twisty-dynamic-3d-O5TGOSAO.js} +105 -90
- package/dist/lib/cubing/chunks/twisty-dynamic-3d-O5TGOSAO.js.map +7 -0
- package/dist/lib/cubing/{index-DVoQwgPC.d.ts → index-BQdS3h4z.d.ts} +42 -38
- package/dist/lib/cubing/{index-DO__MgsX.d.ts → index-COSxNAgV.d.ts} +1 -2
- package/dist/lib/cubing/kpuzzle/index.d.ts +2 -2
- package/dist/lib/cubing/kpuzzle/index.js +2 -2
- package/dist/lib/cubing/notation/index.d.ts +1 -2
- package/dist/lib/cubing/notation/index.js +4 -4
- package/dist/lib/cubing/{outside-D6O0WicV.d.ts → outside-BRtF0DA2.d.ts} +2 -1
- package/dist/lib/cubing/protocol/index.d.ts +1 -2
- package/dist/lib/cubing/protocol/index.js +4 -4
- package/dist/lib/cubing/puzzle-geometry/index.d.ts +2 -2
- package/dist/lib/cubing/puzzle-geometry/index.js +1 -1
- package/dist/lib/cubing/puzzles/index.d.ts +2 -2
- package/dist/lib/cubing/puzzles/index.js +4 -4
- package/dist/lib/cubing/scramble/index.d.ts +1 -1
- package/dist/lib/cubing/scramble/index.js +6 -6
- package/dist/lib/cubing/search/index.d.ts +3 -4
- package/dist/lib/cubing/search/index.js +6 -6
- package/dist/lib/cubing/stream/index.d.ts +2 -2
- package/dist/lib/cubing/stream/index.js +1 -1
- package/dist/lib/cubing/twisty/index.d.ts +2 -2
- package/dist/lib/cubing/twisty/index.js +6 -6
- package/package.json +10 -9
- package/dist/lib/cubing/chunks/chunk-YFNXHRNE.js.map +0 -7
- package/dist/lib/cubing/chunks/search-dynamic-sgs-unofficial-OLK64DE6.js.map +0 -7
- package/dist/lib/cubing/chunks/search-dynamic-solve-4x4x4-2A2XBBWI.js.map +0 -7
- package/dist/lib/cubing/chunks/search-dynamic-solve-fto-ZZKLTONP.js.map +0 -7
- package/dist/lib/cubing/chunks/search-dynamic-solve-kilominx-PUF4PRHS.js.map +0 -7
- package/dist/lib/cubing/chunks/twisty-dynamic-3d-A2G22YLA.js.map +0 -7
- /package/dist/bin/chunks/{chunk-PDPPBQ4O.js.map → chunk-Z5QOJAME.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{big-puzzle-orientation-G75BXW2W.js.map → big-puzzle-orientation-7WHPJCCO.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-4ADGSRLK.js.map → chunk-2BVL5OQE.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-KHUP3BPA.js.map → chunk-2IA2R7XV.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-5LBACZOM.js.map → chunk-5FXQPBXH.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-GO2SL6SC.js.map → chunk-6K433TB5.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-THRYJMRP.js.map → chunk-BQPY6252.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-O2QJENHE.js.map → chunk-IRY6MBI2.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-DT3GVMDI.js.map → chunk-MFKLAFPQ.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-UWJ575HH.js.map → chunk-MIHF623Z.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-ALR6ZQFC.js.map → chunk-YSAQ6DRT.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{inside-IHWUJJ56.js.map → inside-N5WSMI7I.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{search-dynamic-sgs-side-events-YSB3MWLK.js.map → search-dynamic-sgs-side-events-5EIXNDVI.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{twips-LHO3IYJC.js.map → twips-UCWWA2WI.js.map} +0 -0
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
var packageVersion = (
|
|
5
5
|
// biome-ignore lint/suspicious/noTsIgnore: This comment is still present in the compiled file, where an error is *not* expected.
|
|
6
6
|
/** @ts-ignore Populated by `esbuild` at compile time. */
|
|
7
|
-
"0.65.
|
|
7
|
+
"0.65.2"
|
|
8
8
|
);
|
|
9
9
|
|
|
10
10
|
export {
|
|
11
11
|
packageVersion
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=chunk-
|
|
13
|
+
//# sourceMappingURL=chunk-Z5QOJAME.js.map
|
package/dist/bin/order.js
CHANGED
package/dist/bin/scramble.js
CHANGED
package/dist/bin/svg.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
export { Alg, AlgBranch, AlgBuilder, AlgCubingNetOptions, AlgLeaf, AlgNode, AppendCancelOptions, Commutator, Conjugate, Example, ExperimentalNotationType, Parsed as ExperimentalParsed, ExperimentalSerializationOptions, Grouping, GroupingModifications, LineComment, Move, MoveModifications, Newline, Pause, PuzzleSpecificSimplifyOptions, QuantumMove, SimplifyOptions, TraversalDownUp, TraversalUp, Unit, experimentalAlgCubingNetLink, experimentalAppendMove, experimentalIs, functionFromTraversal, keyToMove, setAlgDebug };
|
|
1
|
+
import { At as Pause, Ct as AlgNode, Dt as MoveModifications, Et as Move, Ft as ExperimentalNotationType, It as ExperimentalSerializationOptions, Mt as LineComment, Nt as Conjugate, Ot as QuantumMove, Pt as Commutator, St as AlgLeaf, Tt as GroupingModifications, _t as experimentalAppendMove, a as functionFromTraversal, bt as SimplifyOptions, f as Parsed, ft as experimentalIs, gt as Alg, ht as AlgBuilder, i as TraversalUp, jt as Newline, kt as Unit, mt as setAlgDebug, n as experimentalAlgCubingNetLink, o as keyToMove, pt as Example, r as TraversalDownUp, t as AlgCubingNetOptions, vt as AppendCancelOptions, wt as Grouping, xt as AlgBranch, yt as PuzzleSpecificSimplifyOptions } from "../index-BQdS3h4z.js";
|
|
2
|
+
export { Alg, type AlgBranch, AlgBuilder, type AlgCubingNetOptions, type AlgLeaf, type AlgNode, type AppendCancelOptions, Commutator, Conjugate, Example, type ExperimentalNotationType, type Parsed as ExperimentalParsed, type ExperimentalSerializationOptions, Grouping, type GroupingModifications, LineComment, Move, type MoveModifications, Newline, Pause, type PuzzleSpecificSimplifyOptions, QuantumMove, type SimplifyOptions, TraversalDownUp, TraversalUp, Unit, experimentalAlgCubingNetLink, experimentalAppendMove, experimentalIs, functionFromTraversal, keyToMove, setAlgDebug };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/// <reference types="web-bluetooth" />
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { a as OrientationEvent, i as AlgLeafEvent } from "../index-
|
|
5
|
-
|
|
3
|
+
import { D as PuzzleID, Et as Move, I as MillisecondTimestamp, R as KPattern, c as PuzzleLoader, gt as Alg, s as KeyMapping } from "../index-BQdS3h4z.js";
|
|
4
|
+
import { a as OrientationEvent, i as AlgLeafEvent } from "../index-COSxNAgV.js";
|
|
6
5
|
//#region ../src/cubing/bluetooth/debug.d.ts
|
|
7
|
-
declare function enableDebugLogging(enable: boolean): void;
|
|
6
|
+
export declare function enableDebugLogging(enable: boolean): void;
|
|
8
7
|
//#endregion
|
|
9
8
|
//#region ../src/cubing/bluetooth/transformer.d.ts
|
|
10
9
|
interface StreamTransformer {
|
|
@@ -30,7 +29,7 @@ declare abstract class BluetoothPuzzle extends EventTarget {
|
|
|
30
29
|
//#endregion
|
|
31
30
|
//#region ../src/cubing/bluetooth/keyboard.d.ts
|
|
32
31
|
/** @category Keyboard Puzzles */
|
|
33
|
-
declare class KeyboardPuzzle extends BluetoothPuzzle {
|
|
32
|
+
export declare class KeyboardPuzzle extends BluetoothPuzzle {
|
|
34
33
|
private keyMappingAndPatternPromise;
|
|
35
34
|
listener: EventListener;
|
|
36
35
|
private target;
|
|
@@ -42,7 +41,7 @@ declare class KeyboardPuzzle extends BluetoothPuzzle {
|
|
|
42
41
|
private onKeyDown;
|
|
43
42
|
}
|
|
44
43
|
/** @category Keyboard Puzzles */
|
|
45
|
-
declare function debugKeyboardConnect(target?: any, puzzle?: PuzzleID | PuzzleLoader): Promise<KeyboardPuzzle>;
|
|
44
|
+
export declare function debugKeyboardConnect(target?: any, puzzle?: PuzzleID | PuzzleLoader): Promise<KeyboardPuzzle>;
|
|
46
45
|
//#endregion
|
|
47
46
|
//#region ../src/cubing/bluetooth/connect/index.d.ts
|
|
48
47
|
/******** connect() ********/
|
|
@@ -52,11 +51,11 @@ interface BluetoothConnectOptions {
|
|
|
52
51
|
//#endregion
|
|
53
52
|
//#region ../src/cubing/bluetooth/smart-puzzle/connect.d.ts
|
|
54
53
|
/** @category Smart Puzzles */
|
|
55
|
-
declare function connectSmartPuzzle(options?: BluetoothConnectOptions): Promise<BluetoothPuzzle>;
|
|
54
|
+
export declare function connectSmartPuzzle(options?: BluetoothConnectOptions): Promise<BluetoothPuzzle>;
|
|
56
55
|
//#endregion
|
|
57
56
|
//#region ../src/cubing/bluetooth/smart-puzzle/gan.d.ts
|
|
58
57
|
/** @category Smart Puzzles */
|
|
59
|
-
declare class GanCube extends BluetoothPuzzle {
|
|
58
|
+
export declare class GanCube extends BluetoothPuzzle {
|
|
60
59
|
static connect(server: BluetoothRemoteGATTServer): Promise<GanCube>;
|
|
61
60
|
INTERVAL_MS: number;
|
|
62
61
|
private intervalHandle;
|
|
@@ -89,7 +88,7 @@ declare class GanCube extends BluetoothPuzzle {
|
|
|
89
88
|
//#endregion
|
|
90
89
|
//#region ../src/cubing/bluetooth/smart-puzzle/giiker.d.ts
|
|
91
90
|
/** @category Smart Puzzles */
|
|
92
|
-
declare class GiiKERCube extends BluetoothPuzzle {
|
|
91
|
+
export declare class GiiKERCube extends BluetoothPuzzle {
|
|
93
92
|
static connect(server: BluetoothRemoteGATTServer): Promise<GiiKERCube>;
|
|
94
93
|
private server;
|
|
95
94
|
private cubeCharacteristic;
|
|
@@ -106,7 +105,7 @@ declare class GiiKERCube extends BluetoothPuzzle {
|
|
|
106
105
|
//#endregion
|
|
107
106
|
//#region ../src/cubing/bluetooth/smart-puzzle/gocube.d.ts
|
|
108
107
|
/** @category Smart Puzzles */
|
|
109
|
-
declare class GoCube extends BluetoothPuzzle {
|
|
108
|
+
export declare class GoCube extends BluetoothPuzzle {
|
|
110
109
|
static connect(server: BluetoothRemoteGATTServer): Promise<GoCube>;
|
|
111
110
|
private recorded;
|
|
112
111
|
private homeQuatInverse;
|
|
@@ -159,7 +158,7 @@ declare class GanRobot extends EventTarget {
|
|
|
159
158
|
/** @category Robots */
|
|
160
159
|
type BluetoothRobot = GanRobot;
|
|
161
160
|
/** @category Robots */
|
|
162
|
-
declare function connectSmartRobot(options?: BluetoothConnectOptions): Promise<BluetoothRobot>;
|
|
161
|
+
export declare function connectSmartRobot(options?: BluetoothConnectOptions): Promise<BluetoothRobot>;
|
|
163
162
|
//#endregion
|
|
164
163
|
//#region ../src/cubing/bluetooth/smart-timer/GanTimer.d.ts
|
|
165
164
|
/** @category Timers */
|
|
@@ -184,6 +183,6 @@ declare class GanTimer extends EventTarget {
|
|
|
184
183
|
/** @category Timers */
|
|
185
184
|
type BluetoothTimer = GanTimer;
|
|
186
185
|
/** @category Timers */
|
|
187
|
-
declare function connectSmartTimer(options?: BluetoothConnectOptions): Promise<BluetoothTimer>;
|
|
186
|
+
export declare function connectSmartTimer(options?: BluetoothConnectOptions): Promise<BluetoothTimer>;
|
|
188
187
|
//#endregion
|
|
189
|
-
export {
|
|
188
|
+
export type { BluetoothPuzzle, BluetoothRobot, BluetoothTimer, AlgLeafEvent as MoveEvent, OrientationEvent };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
binaryComponentsToReid3x3x3,
|
|
3
3
|
twizzleBinaryToBinaryComponents
|
|
4
|
-
} from "../chunks/chunk-
|
|
4
|
+
} from "../chunks/chunk-IRY6MBI2.js";
|
|
5
5
|
import {
|
|
6
6
|
puzzles
|
|
7
|
-
} from "../chunks/chunk-
|
|
7
|
+
} from "../chunks/chunk-2IA2R7XV.js";
|
|
8
8
|
import {
|
|
9
9
|
cube3x3x3,
|
|
10
10
|
experimental3x3x3KPuzzle
|
|
11
|
-
} from "../chunks/chunk-
|
|
11
|
+
} from "../chunks/chunk-5FXQPBXH.js";
|
|
12
12
|
import {
|
|
13
13
|
KPattern
|
|
14
|
-
} from "../chunks/chunk-
|
|
14
|
+
} from "../chunks/chunk-BQPY6252.js";
|
|
15
15
|
import {
|
|
16
16
|
Alg,
|
|
17
17
|
Move,
|
|
18
18
|
experimentalAppendMove,
|
|
19
19
|
keyToMove
|
|
20
|
-
} from "../chunks/chunk-
|
|
20
|
+
} from "../chunks/chunk-UP5VP7GL.js";
|
|
21
21
|
|
|
22
22
|
// src/cubing/bluetooth/debug.ts
|
|
23
23
|
var DEBUG_LOGGING_ENABLED = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Alg,
|
|
3
3
|
Grouping
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UP5VP7GL.js";
|
|
5
5
|
|
|
6
6
|
// src/cubing/puzzles/implementations/dynamic/big-cubes/big-puzzle-orientation.ts
|
|
7
7
|
function puzzleOrientationBigCubeIdx(pattern) {
|
|
@@ -65,4 +65,4 @@ export {
|
|
|
65
65
|
puzzleOrientationBigCubeCache,
|
|
66
66
|
puzzleOrientationBigCubeIdx
|
|
67
67
|
};
|
|
68
|
-
//# sourceMappingURL=big-puzzle-orientation-
|
|
68
|
+
//# sourceMappingURL=big-puzzle-orientation-7WHPJCCO.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
puzzles
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2IA2R7XV.js";
|
|
4
4
|
import {
|
|
5
5
|
LazyPromise
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5FXQPBXH.js";
|
|
7
7
|
import {
|
|
8
8
|
KPattern
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BQPY6252.js";
|
|
10
10
|
import {
|
|
11
11
|
Alg,
|
|
12
12
|
AlgBuilder,
|
|
13
13
|
Move
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UP5VP7GL.js";
|
|
15
15
|
|
|
16
16
|
// src/cubing/search/inside/solve/puzzles/3x3x3/index.ts
|
|
17
17
|
import { randomChoice as randomChoice2 } from "random-uint-below";
|
|
@@ -1068,4 +1068,4 @@ export {
|
|
|
1068
1068
|
* SPDX-License-Identifier: Apache-2.0
|
|
1069
1069
|
*)
|
|
1070
1070
|
*/
|
|
1071
|
-
//# sourceMappingURL=chunk-
|
|
1071
|
+
//# sourceMappingURL=chunk-2BVL5OQE.js.map
|
|
@@ -16,14 +16,14 @@ import {
|
|
|
16
16
|
descAsyncGetPuzzleGeometry,
|
|
17
17
|
experimentalIs2x2x2Solved,
|
|
18
18
|
getCached
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5FXQPBXH.js";
|
|
20
20
|
import {
|
|
21
21
|
KPuzzle
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BQPY6252.js";
|
|
23
23
|
import {
|
|
24
24
|
Move,
|
|
25
25
|
Pause
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UP5VP7GL.js";
|
|
27
27
|
|
|
28
28
|
// src/cubing/puzzles/events.ts
|
|
29
29
|
var wcaEvents = {
|
|
@@ -769,4 +769,4 @@ export {
|
|
|
769
769
|
cube2x2x2,
|
|
770
770
|
puzzles
|
|
771
771
|
};
|
|
772
|
-
//# sourceMappingURL=chunk-
|
|
772
|
+
//# sourceMappingURL=chunk-2IA2R7XV.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
KPattern,
|
|
3
3
|
KPuzzle
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BQPY6252.js";
|
|
5
5
|
import {
|
|
6
6
|
Alg,
|
|
7
7
|
Commutator,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
QuantumMove,
|
|
12
12
|
TraversalDownUp,
|
|
13
13
|
functionFromTraversal
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UP5VP7GL.js";
|
|
15
15
|
|
|
16
16
|
// ../../../../../.cache/.bun/install/cache/links/@cubing+lazy-promise@0.1.3-c407e8e01ee82605/node_modules/@cubing/lazy-promise/dist/lib/@cubing/lazy-promise/index.js
|
|
17
17
|
var LazyPromise = class {
|
|
@@ -1402,7 +1402,7 @@ var experimental3x3x3KPuzzle = new KPuzzle(
|
|
|
1402
1402
|
);
|
|
1403
1403
|
cube3x3x3KPuzzleDefinition.experimentalIsPatternSolved = experimentalIs3x3x3Solved;
|
|
1404
1404
|
var bigCubePuzzleOrientation = getCached(
|
|
1405
|
-
() => import("./big-puzzle-orientation-
|
|
1405
|
+
() => import("./big-puzzle-orientation-7WHPJCCO.js")
|
|
1406
1406
|
);
|
|
1407
1407
|
|
|
1408
1408
|
// src/cubing/puzzles/implementations/3x3x3/cube3x3x3KeyMapping.ts
|
|
@@ -1777,4 +1777,4 @@ export {
|
|
|
1777
1777
|
PGPuzzleLoader,
|
|
1778
1778
|
CubePGPuzzleLoader
|
|
1779
1779
|
};
|
|
1780
|
-
//# sourceMappingURL=chunk-
|
|
1780
|
+
//# sourceMappingURL=chunk-5FXQPBXH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LazyPromise
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5FXQPBXH.js";
|
|
4
4
|
|
|
5
5
|
// src/cubing/twisty/debug.ts
|
|
6
6
|
var twistyDebugGlobals = {
|
|
@@ -531,7 +531,7 @@ var StatsPanel = class {
|
|
|
531
531
|
|
|
532
532
|
// src/cubing/twisty/heavy-code-imports/3d.ts
|
|
533
533
|
var bulk3DCode = new LazyPromise(
|
|
534
|
-
() => import("./twisty-dynamic-3d-
|
|
534
|
+
() => import("./twisty-dynamic-3d-O5TGOSAO.js")
|
|
535
535
|
);
|
|
536
536
|
|
|
537
537
|
// src/cubing/twisty/views/canvas.ts
|
|
@@ -1192,4 +1192,4 @@ export {
|
|
|
1192
1192
|
Twisty3DVantage,
|
|
1193
1193
|
bulk3DCode
|
|
1194
1194
|
};
|
|
1195
|
-
//# sourceMappingURL=chunk-
|
|
1195
|
+
//# sourceMappingURL=chunk-6K433TB5.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
Move,
|
|
4
4
|
TraversalDownUp,
|
|
5
5
|
functionFromTraversal
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UP5VP7GL.js";
|
|
7
7
|
|
|
8
8
|
// src/cubing/kpuzzle/combine.ts
|
|
9
9
|
function combineTransformationData(definition, transformationData1, transformationData2) {
|
|
@@ -662,4 +662,4 @@ export {
|
|
|
662
662
|
KPattern,
|
|
663
663
|
KPuzzle
|
|
664
664
|
};
|
|
665
|
-
//# sourceMappingURL=chunk-
|
|
665
|
+
//# sourceMappingURL=chunk-BQPY6252.js.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
normalize3x3x3Orientation,
|
|
4
4
|
puzzleOrientation3x3x3Cache,
|
|
5
5
|
puzzleOrientation3x3x3Idx
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5FXQPBXH.js";
|
|
7
7
|
import {
|
|
8
8
|
KPattern
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BQPY6252.js";
|
|
10
10
|
|
|
11
11
|
// src/cubing/protocol/binary/orbit-indexing.ts
|
|
12
12
|
function identityPermutation(numElems) {
|
|
@@ -262,4 +262,4 @@ export {
|
|
|
262
262
|
bufferToSpacedHex,
|
|
263
263
|
spacedHexToBuffer
|
|
264
264
|
};
|
|
265
|
-
//# sourceMappingURL=chunk-
|
|
265
|
+
//# sourceMappingURL=chunk-IRY6MBI2.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PortableWorker,
|
|
3
3
|
wrap
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2BVL5OQE.js";
|
|
5
5
|
import {
|
|
6
6
|
exposeAPI
|
|
7
7
|
} from "./chunk-7GUL3OBQ.js";
|
|
8
8
|
import {
|
|
9
9
|
Alg
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UP5VP7GL.js";
|
|
11
11
|
|
|
12
12
|
// src/cubing/search/worker-workarounds/index.ts
|
|
13
13
|
function searchWorkerURLImportMetaResolve() {
|
|
@@ -267,4 +267,4 @@ export {
|
|
|
267
267
|
solveTwips,
|
|
268
268
|
setSearchDebug
|
|
269
269
|
};
|
|
270
|
-
//# sourceMappingURL=chunk-
|
|
270
|
+
//# sourceMappingURL=chunk-MFKLAFPQ.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cube3x3x3KPuzzleDefinition
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5FXQPBXH.js";
|
|
4
4
|
import {
|
|
5
5
|
TraversalUp,
|
|
6
6
|
functionFromTraversal
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UP5VP7GL.js";
|
|
8
8
|
|
|
9
9
|
// src/cubing/notation/CountAnimatedLeaves.ts
|
|
10
10
|
var CountAnimatedLeaves = class extends TraversalUp {
|
|
@@ -283,4 +283,4 @@ export {
|
|
|
283
283
|
countLeavesInExpansionForSimultaneousMoveIndexer,
|
|
284
284
|
countMetricMoves
|
|
285
285
|
};
|
|
286
|
-
//# sourceMappingURL=chunk-
|
|
286
|
+
//# sourceMappingURL=chunk-MIHF623Z.js.map
|
|
@@ -20,7 +20,7 @@ var AlgCommon = class extends Comparable {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
get log() {
|
|
23
|
-
return console.log.bind(console, this
|
|
23
|
+
return console.log.bind(console, this);
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
|
|
@@ -162,11 +162,6 @@ var Conjugate = class _Conjugate extends AlgCommon {
|
|
|
162
162
|
}
|
|
163
163
|
};
|
|
164
164
|
|
|
165
|
-
// src/cubing/alg/limits.ts
|
|
166
|
-
var MAX_INT = 2147483647;
|
|
167
|
-
var MAX_INT_DESCRIPTION = "2^31 - 1";
|
|
168
|
-
var MIN_INT = -2147483648;
|
|
169
|
-
|
|
170
165
|
// src/cubing/alg/AlgBuilder.ts
|
|
171
166
|
var AlgBuilder = class {
|
|
172
167
|
#algNodes = [];
|
|
@@ -662,6 +657,46 @@ var AlgParser = class {
|
|
|
662
657
|
}
|
|
663
658
|
};
|
|
664
659
|
|
|
660
|
+
// src/cubing/alg/inspect.ts
|
|
661
|
+
var NODEJS_UTIL_INSPECT_CUSTOM = /* @__PURE__ */ Symbol.for(
|
|
662
|
+
"nodejs.util.inspect.custom"
|
|
663
|
+
);
|
|
664
|
+
var NODE_DEFAULT_STRING_COLOR = "green";
|
|
665
|
+
var DE_EMPHASIZED = "gray";
|
|
666
|
+
function formatForCustomInspect(className, soleParameterQuotedString, annotation) {
|
|
667
|
+
const { styleText } = globalThis.process.getBuiltinModule("node:util");
|
|
668
|
+
const annotationPart = (() => {
|
|
669
|
+
if (annotation) {
|
|
670
|
+
return ` ${styleText(DE_EMPHASIZED, "/* with parse data */")}`;
|
|
671
|
+
}
|
|
672
|
+
return "";
|
|
673
|
+
})();
|
|
674
|
+
return `${className}(${styleText(NODE_DEFAULT_STRING_COLOR, soleParameterQuotedString)}${annotationPart})`;
|
|
675
|
+
}
|
|
676
|
+
function formatForCustomInspectWithParseDataAnnotation(className, soleParameterQuotedString, value) {
|
|
677
|
+
const annotation = (() => {
|
|
678
|
+
if (startCharIndexKey in value || endCharIndexKey in value) {
|
|
679
|
+
if (startCharIndexKey in value !== endCharIndexKey in value) {
|
|
680
|
+
console.warn(
|
|
681
|
+
"Encountered an alg with start char info but no end char info. `cubing.js` should never produce this by itself."
|
|
682
|
+
);
|
|
683
|
+
}
|
|
684
|
+
return "with parse data";
|
|
685
|
+
}
|
|
686
|
+
return "";
|
|
687
|
+
})();
|
|
688
|
+
return formatForCustomInspect(
|
|
689
|
+
className,
|
|
690
|
+
soleParameterQuotedString,
|
|
691
|
+
annotation
|
|
692
|
+
);
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
// src/cubing/alg/limits.ts
|
|
696
|
+
var MAX_INT = 2147483647;
|
|
697
|
+
var MAX_INT_DESCRIPTION = "2^31 - 1";
|
|
698
|
+
var MIN_INT = -2147483648;
|
|
699
|
+
|
|
665
700
|
// src/cubing/alg/warnOnce.ts
|
|
666
701
|
var warned = /* @__PURE__ */ new Set();
|
|
667
702
|
function warnOnce(s) {
|
|
@@ -892,6 +927,13 @@ var Move = class _Move extends AlgCommon {
|
|
|
892
927
|
// outerLayer: this.outerLayer,
|
|
893
928
|
// };
|
|
894
929
|
// }
|
|
930
|
+
[NODEJS_UTIL_INSPECT_CUSTOM]() {
|
|
931
|
+
return formatForCustomInspectWithParseDataAnnotation(
|
|
932
|
+
"Move",
|
|
933
|
+
JSON.stringify(this.toString()),
|
|
934
|
+
this
|
|
935
|
+
);
|
|
936
|
+
}
|
|
895
937
|
};
|
|
896
938
|
|
|
897
939
|
// src/cubing/alg/alg-nodes/containers/Grouping.ts
|
|
@@ -1613,6 +1655,17 @@ var Alg = class _Alg extends AlgCommon {
|
|
|
1613
1655
|
simplify(options) {
|
|
1614
1656
|
return this.experimentalSimplify(options);
|
|
1615
1657
|
}
|
|
1658
|
+
[NODEJS_UTIL_INSPECT_CUSTOM]() {
|
|
1659
|
+
const string = (() => {
|
|
1660
|
+
const asString = this.toString();
|
|
1661
|
+
if (asString.includes("\n")) {
|
|
1662
|
+
return `\`${asString.replaceAll(/(`\$)/g, "\\$1")}\``;
|
|
1663
|
+
} else {
|
|
1664
|
+
return JSON.stringify(asString);
|
|
1665
|
+
}
|
|
1666
|
+
})();
|
|
1667
|
+
return formatForCustomInspectWithParseDataAnnotation("Alg", string, this);
|
|
1668
|
+
}
|
|
1616
1669
|
};
|
|
1617
1670
|
function spaceBetween(u1, u2) {
|
|
1618
1671
|
if (u1.is(Newline) || u2.is(Newline)) {
|
|
@@ -1879,4 +1932,4 @@ export {
|
|
|
1879
1932
|
keyToMove,
|
|
1880
1933
|
experimentalAlgCubingNetLink
|
|
1881
1934
|
};
|
|
1882
|
-
//# sourceMappingURL=chunk-
|
|
1935
|
+
//# sourceMappingURL=chunk-UP5VP7GL.js.map
|