cubing 0.43.4 → 0.43.6
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/README.md +17 -1
- package/dist/lib/cubing/{Alg-c6770822.d.ts → Alg-3ed1d42c.d.ts} +1 -1
- package/dist/lib/cubing/{KPattern-60960997.d.ts → KPattern-7494403f.d.ts} +3 -2
- package/dist/lib/cubing/{TwizzleLink-3c302469.d.ts → TwizzleLink-4060845a.d.ts} +5 -5
- package/dist/lib/cubing/alg/{index.d.ts → index.d.cts} +4 -4
- package/dist/lib/cubing/bluetooth/{index.d.ts → index.d.cts} +5 -5
- package/dist/lib/cubing/bluetooth/index.js +4 -4
- package/dist/lib/cubing/bluetooth/index.js.map +2 -2
- package/dist/lib/cubing/{bluetooth-puzzle-c3224834.d.ts → bluetooth-puzzle-c9c778f2.d.ts} +2 -2
- package/dist/lib/cubing/chunks/{chunk-ZUPLJQAD.js → chunk-4MCJ7H5A.js} +8 -4
- package/dist/lib/cubing/chunks/{chunk-ZUPLJQAD.js.map → chunk-4MCJ7H5A.js.map} +2 -2
- package/dist/lib/cubing/chunks/{chunk-EBWRIEEZ.js → chunk-CP3NXNYV.js} +42 -299
- package/dist/lib/cubing/chunks/chunk-CP3NXNYV.js.map +7 -0
- package/dist/lib/cubing/chunks/{chunk-RS62HLA5.js → chunk-CULFM3I2.js} +22 -41
- package/dist/lib/cubing/chunks/chunk-CULFM3I2.js.map +7 -0
- package/dist/lib/cubing/chunks/{chunk-NDY3DEEE.js → chunk-DLLQL65B.js} +2 -29
- package/dist/lib/cubing/chunks/chunk-DLLQL65B.js.map +7 -0
- package/dist/lib/cubing/chunks/{chunk-3LQLRLXS.js → chunk-ITZZ44VH.js} +3 -3
- package/dist/lib/cubing/chunks/chunk-ITZZ44VH.js.map +7 -0
- package/dist/lib/cubing/chunks/{chunk-NB6OOT2E.js → chunk-NS47A66S.js} +3 -3
- package/dist/lib/cubing/chunks/chunk-NS47A66S.js.map +7 -0
- package/dist/lib/cubing/chunks/chunk-S6M5LVBU.js +28 -0
- package/dist/lib/cubing/chunks/chunk-S6M5LVBU.js.map +7 -0
- package/dist/lib/cubing/chunks/{chunk-QF4HTZYW.js → chunk-VIEFLN2D.js} +33 -3
- package/dist/lib/cubing/chunks/chunk-VIEFLN2D.js.map +7 -0
- package/dist/lib/cubing/chunks/{chunk-SODS5Y3A.js → chunk-ZQFNVOD5.js} +7 -7
- package/dist/lib/cubing/chunks/inside-NHJHFY3P.js +16 -0
- package/dist/lib/cubing/chunks/{puzzles-dynamic-unofficial-WXH65MSQ.js → puzzles-dynamic-unofficial-2RL6RPOO.js} +60 -60
- package/dist/lib/cubing/chunks/puzzles-dynamic-unofficial-2RL6RPOO.js.map +7 -0
- package/dist/lib/cubing/chunks/{search-dynamic-sgs-side-events-KBQTGXZR.js → search-dynamic-sgs-side-events-PFWJK7HL.js} +4 -4
- package/dist/lib/cubing/chunks/{search-dynamic-sgs-unofficial-KTHSSINP.js → search-dynamic-sgs-unofficial-YLGCKTJJ.js} +4 -4
- package/dist/lib/cubing/chunks/{search-dynamic-solve-4x4x4-JQRNWKAG.js → search-dynamic-solve-4x4x4-IKGRCFMI.js} +7 -7
- package/dist/lib/cubing/chunks/search-worker-entry.js +1 -1
- package/dist/lib/cubing/chunks/{twisty-dynamic-3d-GX34QIPC.js → twisty-dynamic-3d-IRLKRUGR.js} +16 -5
- package/dist/lib/cubing/chunks/twisty-dynamic-3d-IRLKRUGR.js.map +7 -0
- package/dist/lib/cubing/chunks/twsearch-I7ZWTUE4.js +482 -0
- package/dist/lib/cubing/chunks/twsearch-I7ZWTUE4.js.map +7 -0
- package/dist/lib/cubing/chunks/twsearch_wasm_bg-BXMNNHLU-USJMMACR.js +15 -0
- package/dist/lib/cubing/chunks/twsearch_wasm_bg-BXMNNHLU-USJMMACR.js.map +7 -0
- package/dist/lib/cubing/{outside-2f424d30.d.ts → index-34488522.d.ts} +3 -3
- package/dist/lib/cubing/kpuzzle/index.d.cts +2 -0
- package/dist/lib/cubing/kpuzzle/index.js +1 -1
- package/dist/lib/cubing/notation/{index.d.ts → index.d.cts} +4 -4
- package/dist/lib/cubing/notation/index.js +3 -3
- package/dist/lib/cubing/{parseAlg-d2c83795.d.ts → parseAlg-23e8b6cd.d.ts} +1 -1
- package/dist/lib/cubing/protocol/{index.d.ts → index.d.cts} +6 -6
- package/dist/lib/cubing/protocol/index.js +3 -3
- package/dist/lib/cubing/puzzle-geometry/index.d.cts +7 -0
- package/dist/lib/cubing/puzzles/{index.d.ts → index.d.cts} +5 -6
- package/dist/lib/cubing/puzzles/index.js +3 -3
- package/dist/lib/cubing/scramble/index.d.cts +3 -0
- package/dist/lib/cubing/scramble/index.js +6 -6
- package/dist/lib/cubing/search/{index.d.ts → index.d.cts} +3 -3
- package/dist/lib/cubing/search/index.js +6 -6
- package/dist/lib/cubing/stream/{index.d.ts → index.d.cts} +3 -3
- package/dist/lib/cubing/twisty/{index.d.ts → index.d.cts} +6 -6
- package/dist/lib/cubing/twisty/index.js +7 -7
- package/dist/lib/cubing/twisty/index.js.map +2 -2
- package/package.json +33 -28
- package/dist/lib/cubing/chunks/chunk-3LQLRLXS.js.map +0 -7
- package/dist/lib/cubing/chunks/chunk-EBWRIEEZ.js.map +0 -7
- package/dist/lib/cubing/chunks/chunk-NB6OOT2E.js.map +0 -7
- package/dist/lib/cubing/chunks/chunk-NDY3DEEE.js.map +0 -7
- package/dist/lib/cubing/chunks/chunk-QF4HTZYW.js.map +0 -7
- package/dist/lib/cubing/chunks/chunk-RS62HLA5.js.map +0 -7
- package/dist/lib/cubing/chunks/inside-5CIAPTLP.js +0 -16
- package/dist/lib/cubing/chunks/puzzles-dynamic-unofficial-WXH65MSQ.js.map +0 -7
- package/dist/lib/cubing/chunks/twisty-dynamic-3d-GX34QIPC.js.map +0 -7
- package/dist/lib/cubing/chunks/twsearch-BDAXZGZU-Q2YC2EQ6.js +0 -3155
- package/dist/lib/cubing/chunks/twsearch-BDAXZGZU-Q2YC2EQ6.js.map +0 -7
- package/dist/lib/cubing/chunks/twsearch-SLVE4NQH.js +0 -141
- package/dist/lib/cubing/chunks/twsearch-SLVE4NQH.js.map +0 -7
- package/dist/lib/cubing/kpuzzle/index.d.ts +0 -2
- package/dist/lib/cubing/puzzle-geometry/index.d.ts +0 -7
- package/dist/lib/cubing/scramble/index.d.ts +0 -3
- /package/dist/lib/cubing/chunks/{chunk-SODS5Y3A.js.map → chunk-ZQFNVOD5.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{inside-5CIAPTLP.js.map → inside-NHJHFY3P.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{search-dynamic-sgs-side-events-KBQTGXZR.js.map → search-dynamic-sgs-side-events-PFWJK7HL.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{search-dynamic-sgs-unofficial-KTHSSINP.js.map → search-dynamic-sgs-unofficial-YLGCKTJJ.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{search-dynamic-solve-4x4x4-JQRNWKAG.js.map → search-dynamic-solve-4x4x4-IKGRCFMI.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { K as KPattern,
|
|
1
|
+
import { A as Alg } from './Alg-3ed1d42c.js';
|
|
2
|
+
import { K as KPattern, s as KPuzzle } from './KPattern-7494403f.js';
|
|
3
3
|
|
|
4
4
|
declare enum PrefetchLevel {
|
|
5
5
|
Auto = "auto",
|
|
@@ -14,7 +14,7 @@ declare function solveSkewb(pattern: KPattern): Promise<Alg>;
|
|
|
14
14
|
declare function solvePyraminx(pattern: KPattern): Promise<Alg>;
|
|
15
15
|
declare function solveMegaminx(pattern: KPattern): Promise<Alg>;
|
|
16
16
|
interface SolveTwsearchOptions {
|
|
17
|
-
|
|
17
|
+
generatorMoves?: string[];
|
|
18
18
|
startPattern?: KPattern;
|
|
19
19
|
minDepth?: number;
|
|
20
20
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { P as PuzzleLoader } from '../TwizzleLink-
|
|
1
|
+
import { A as Alg } from '../Alg-3ed1d42c.js';
|
|
2
|
+
import { P as PuzzleLoader } from '../TwizzleLink-4060845a.js';
|
|
3
3
|
import 'three';
|
|
4
|
-
import '../parseAlg-
|
|
5
|
-
import '../KPattern-
|
|
4
|
+
import '../parseAlg-23e8b6cd.js';
|
|
5
|
+
import '../KPattern-7494403f.js';
|
|
6
6
|
|
|
7
7
|
declare enum CommonMetric {
|
|
8
8
|
OuterBlockTurnMetric = "OBTM",
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
countMetricMoves,
|
|
6
6
|
countMoves,
|
|
7
7
|
countMovesETM
|
|
8
|
-
} from "../chunks/chunk-
|
|
9
|
-
import "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
8
|
+
} from "../chunks/chunk-4MCJ7H5A.js";
|
|
9
|
+
import "../chunks/chunk-CULFM3I2.js";
|
|
10
|
+
import "../chunks/chunk-VIEFLN2D.js";
|
|
11
11
|
import "../chunks/chunk-7X47IY3P.js";
|
|
12
12
|
export {
|
|
13
13
|
CommonMetric as ExperimentalCommonMetric,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { K as KPattern } from '../KPattern-
|
|
2
|
-
import '../Alg-
|
|
1
|
+
import { K as KPattern } from '../KPattern-7494403f.js';
|
|
2
|
+
import '../Alg-3ed1d42c.js';
|
|
3
3
|
|
|
4
|
-
type Binary3x3x3Pattern =
|
|
4
|
+
type Binary3x3x3Pattern = Uint8Array;
|
|
5
5
|
interface Binary3x3x3Components {
|
|
6
6
|
epLex: number;
|
|
7
7
|
eoMask: number;
|
|
@@ -15,13 +15,13 @@ interface Binary3x3x3Components {
|
|
|
15
15
|
/** @category Binary 3x3x3 Format */
|
|
16
16
|
declare function reid3x3x3ToTwizzleBinary(pattern: KPattern): Binary3x3x3Pattern;
|
|
17
17
|
/** @category Binary 3x3x3 Format */
|
|
18
|
-
declare function twizzleBinaryToBinaryComponents(buffer: ArrayBuffer): Binary3x3x3Components;
|
|
18
|
+
declare function twizzleBinaryToBinaryComponents(buffer: ArrayBuffer | Uint8Array): Binary3x3x3Components;
|
|
19
19
|
/** @category Binary 3x3x3 Format */
|
|
20
20
|
declare function binaryComponentsToReid3x3x3(components: Binary3x3x3Components): KPattern;
|
|
21
21
|
/** @category Binary 3x3x3 Format */
|
|
22
|
-
declare function twizzleBinaryToReid3x3x3(buffy: ArrayBuffer): KPattern;
|
|
22
|
+
declare function twizzleBinaryToReid3x3x3(buffy: ArrayBuffer | Uint8Array): KPattern;
|
|
23
23
|
|
|
24
|
-
declare function bufferToSpacedHex(buffer: ArrayBuffer): string;
|
|
24
|
+
declare function bufferToSpacedHex(buffer: ArrayBuffer | Uint8Array): string;
|
|
25
25
|
declare function spacedHexToBuffer(hex: string): Uint8Array;
|
|
26
26
|
|
|
27
27
|
export { binaryComponentsToReid3x3x3 as experimentalBinaryComponentsToReid3x3x3, bufferToSpacedHex as experimentalBufferToSpacedHex, reid3x3x3ToTwizzleBinary as experimentalReid3x3x3ToTwizzleBinary, spacedHexToBuffer as experimentalSpacedHexToBuffer, twizzleBinaryToBinaryComponents as experimentalTwizzleBinaryToBinaryComponents, twizzleBinaryToReid3x3x3 as experimentalTwizzleBinaryToReid3x3x3 };
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
spacedHexToBuffer,
|
|
6
6
|
twizzleBinaryToBinaryComponents,
|
|
7
7
|
twizzleBinaryToReid3x3x3
|
|
8
|
-
} from "../chunks/chunk-
|
|
9
|
-
import "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
8
|
+
} from "../chunks/chunk-NS47A66S.js";
|
|
9
|
+
import "../chunks/chunk-CULFM3I2.js";
|
|
10
|
+
import "../chunks/chunk-VIEFLN2D.js";
|
|
11
11
|
import "../chunks/chunk-7X47IY3P.js";
|
|
12
12
|
export {
|
|
13
13
|
binaryComponentsToReid3x3x3 as experimentalBinaryComponentsToReid3x3x3,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { P as Perm } from '../KPattern-7494403f.js';
|
|
2
|
+
export { q as EXPERIMENTAL_PUZZLE_BASE_SHAPES, n as EXPERIMENTAL_PUZZLE_CUT_TYPES, k as ExperimentalPGNotation, r as ExperimentalPuzzleBaseShape, l as ExperimentalPuzzleCutDescription, o as ExperimentalPuzzleCutType, m as ExperimentalPuzzleDescription, j as ExperimentalPuzzleGeometryOptions, d as PuzzleGeometry, Q as Quat, S as StickerDat, e as StickerDatAxis, f as StickerDatFace, h as StickerDatSticker, c as getPG3DNamedPuzzles, g as getPuzzleDescriptionString, a as getPuzzleGeometryByDesc, b as getPuzzleGeometryByName, i as parseOptions, p as parsePuzzleDescription } from '../KPattern-7494403f.js';
|
|
3
|
+
import '../Alg-3ed1d42c.js';
|
|
4
|
+
|
|
5
|
+
declare function schreierSims(g: Perm[], disp: (s: string) => void): bigint;
|
|
6
|
+
|
|
7
|
+
export { schreierSims };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { a as PuzzleID, P as PuzzleLoader, E as ExperimentalStickering, S as StickeringMask } from '../TwizzleLink-
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
import { a as KPuzzle, P as PuzzleGeometry } from '../KPattern-60960997.js';
|
|
1
|
+
import { a as PuzzleID, P as PuzzleLoader, E as ExperimentalStickering, S as StickeringMask } from '../TwizzleLink-4060845a.js';
|
|
2
|
+
import { P as PuzzleSpecificSimplifyOptions } from '../Alg-3ed1d42c.js';
|
|
3
|
+
import { s as KPuzzle, d as PuzzleGeometry } from '../KPattern-7494403f.js';
|
|
5
4
|
import 'three';
|
|
6
|
-
import '../parseAlg-
|
|
5
|
+
import '../parseAlg-23e8b6cd.js';
|
|
7
6
|
|
|
8
7
|
interface EventInfo {
|
|
9
8
|
puzzleID: PuzzleID;
|
|
@@ -37,4 +36,4 @@ declare const cube3x3x3: {
|
|
|
37
36
|
/** @category All Puzzles */
|
|
38
37
|
declare const puzzles: Record<string, PuzzleLoader>;
|
|
39
38
|
|
|
40
|
-
export { cube2x2x2, cube3x3x3, eventInfo, puzzles, twizzleEvents, wcaEventInfo, wcaEvents };
|
|
39
|
+
export { PuzzleLoader, cube2x2x2, cube3x3x3, eventInfo, puzzles, twizzleEvents, wcaEventInfo, wcaEvents };
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
twizzleEvents,
|
|
7
7
|
wcaEventInfo,
|
|
8
8
|
wcaEvents
|
|
9
|
-
} from "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
11
|
-
import "../chunks/chunk-
|
|
9
|
+
} from "../chunks/chunk-ZQFNVOD5.js";
|
|
10
|
+
import "../chunks/chunk-CULFM3I2.js";
|
|
11
|
+
import "../chunks/chunk-VIEFLN2D.js";
|
|
12
12
|
import "../chunks/chunk-7X47IY3P.js";
|
|
13
13
|
export {
|
|
14
14
|
cube2x2x2,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../chunks/chunk-NAPITA3L.js";
|
|
2
2
|
import {
|
|
3
3
|
randomScrambleForEvent
|
|
4
|
-
} from "../chunks/chunk-
|
|
5
|
-
import "../chunks/chunk-
|
|
4
|
+
} from "../chunks/chunk-DLLQL65B.js";
|
|
5
|
+
import "../chunks/chunk-CP3NXNYV.js";
|
|
6
6
|
import "../chunks/chunk-7GUL3OBQ.js";
|
|
7
7
|
import "../chunks/chunk-VL22SFND.js";
|
|
8
|
-
import "../chunks/chunk-
|
|
9
|
-
import "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
11
|
-
import "../chunks/chunk-
|
|
8
|
+
import "../chunks/chunk-4MCJ7H5A.js";
|
|
9
|
+
import "../chunks/chunk-ZQFNVOD5.js";
|
|
10
|
+
import "../chunks/chunk-CULFM3I2.js";
|
|
11
|
+
import "../chunks/chunk-VIEFLN2D.js";
|
|
12
12
|
import "../chunks/chunk-7X47IY3P.js";
|
|
13
13
|
export {
|
|
14
14
|
randomScrambleForEvent
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { a as experimentalSolve2x2x2, e as experimentalSolve3x3x3IgnoringCenters, f as experimentalSolveTwsearch, d as setSearchDebug, c as solveMegaminx, b as solvePyraminx, s as solveSkewb } from '../
|
|
2
|
-
import { K as KPattern } from '../KPattern-
|
|
3
|
-
import '../Alg-
|
|
1
|
+
export { a as experimentalSolve2x2x2, e as experimentalSolve3x3x3IgnoringCenters, f as experimentalSolveTwsearch, d as setSearchDebug, c as solveMegaminx, b as solvePyraminx, s as solveSkewb } from '../index-34488522.js';
|
|
2
|
+
import { K as KPattern } from '../KPattern-7494403f.js';
|
|
3
|
+
import '../Alg-3ed1d42c.js';
|
|
4
4
|
|
|
5
5
|
declare function random333Pattern(): Promise<KPattern>;
|
|
6
6
|
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
solvePyraminx,
|
|
7
7
|
solveSkewb,
|
|
8
8
|
solveTwsearch
|
|
9
|
-
} from "../chunks/chunk-
|
|
9
|
+
} from "../chunks/chunk-DLLQL65B.js";
|
|
10
10
|
import {
|
|
11
11
|
random333Pattern
|
|
12
|
-
} from "../chunks/chunk-
|
|
12
|
+
} from "../chunks/chunk-CP3NXNYV.js";
|
|
13
13
|
import "../chunks/chunk-7GUL3OBQ.js";
|
|
14
14
|
import "../chunks/chunk-VL22SFND.js";
|
|
15
|
-
import "../chunks/chunk-
|
|
16
|
-
import "../chunks/chunk-
|
|
17
|
-
import "../chunks/chunk-
|
|
18
|
-
import "../chunks/chunk-
|
|
15
|
+
import "../chunks/chunk-4MCJ7H5A.js";
|
|
16
|
+
import "../chunks/chunk-ZQFNVOD5.js";
|
|
17
|
+
import "../chunks/chunk-CULFM3I2.js";
|
|
18
|
+
import "../chunks/chunk-VIEFLN2D.js";
|
|
19
19
|
import "../chunks/chunk-7X47IY3P.js";
|
|
20
20
|
export {
|
|
21
21
|
experimentalSolve2x2x2,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as AlgLeafEvent, O as OrientationEvent } from '../bluetooth-puzzle-
|
|
2
|
-
import '../Alg-
|
|
3
|
-
import '../KPattern-
|
|
1
|
+
import { A as AlgLeafEvent, O as OrientationEvent } from '../bluetooth-puzzle-c9c778f2.js';
|
|
2
|
+
import '../Alg-3ed1d42c.js';
|
|
3
|
+
import '../KPattern-7494403f.js';
|
|
4
4
|
|
|
5
5
|
interface ProxyMoveEvent {
|
|
6
6
|
event: "move";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AlgIndexer, T as Timestamp, D as Duration, S as StickeringMask } from '../TwizzleLink-
|
|
2
|
-
export {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { A as AlgIndexer, T as Timestamp, D as Duration, S as StickeringMask } from '../TwizzleLink-4060845a.js';
|
|
2
|
+
export { B as BackViewLayout, N as EXPERIMENTAL_PROP_NO_VALUE, M as ExperimentalMillisecondTimestamp, E as ExperimentalStickering, a as PuzzleID, d as TwistyAlgEditor, c as TwistyAlgViewer, b as TwistyPlayer, e as TwistyPlayerConfig, g as TwizzleLink, V as VisualizationFormat, f as backViewLayouts } from '../TwizzleLink-4060845a.js';
|
|
3
|
+
import { A as Alg, M as Move } from '../Alg-3ed1d42c.js';
|
|
4
|
+
import { s as KPuzzle, K as KPattern, t as KTransformation } from '../KPattern-7494403f.js';
|
|
5
5
|
import 'three';
|
|
6
|
-
import '../parseAlg-
|
|
6
|
+
import '../parseAlg-23e8b6cd.js';
|
|
7
7
|
|
|
8
8
|
declare const twistyDebugGlobals: {
|
|
9
9
|
shareAllNewRenderers: "auto" | "always" | "never";
|
|
@@ -59,4 +59,4 @@ declare class TwistyAnimatedSVG {
|
|
|
59
59
|
private elementByID;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
export { TwistyAnimatedSVG as ExperimentalSVGAnimator, SimpleAlgIndexer, TreeAlgIndexer, setTwistyDebug };
|
|
62
|
+
export { AlgIndexer, TwistyAnimatedSVG as ExperimentalSVGAnimator, SimpleAlgIndexer, TreeAlgIndexer, setTwistyDebug };
|
|
@@ -18,22 +18,22 @@ import {
|
|
|
18
18
|
rawRenderPooled,
|
|
19
19
|
setCameraFromOrbitCoordinates,
|
|
20
20
|
setTwistyDebug
|
|
21
|
-
} from "../chunks/chunk-
|
|
21
|
+
} from "../chunks/chunk-ITZZ44VH.js";
|
|
22
22
|
import {
|
|
23
23
|
countAnimatedLeaves,
|
|
24
24
|
countMetricMoves,
|
|
25
25
|
countMoves
|
|
26
|
-
} from "../chunks/chunk-
|
|
26
|
+
} from "../chunks/chunk-4MCJ7H5A.js";
|
|
27
27
|
import {
|
|
28
28
|
cube3x3x3,
|
|
29
29
|
puzzles
|
|
30
|
-
} from "../chunks/chunk-
|
|
30
|
+
} from "../chunks/chunk-ZQFNVOD5.js";
|
|
31
31
|
import {
|
|
32
32
|
customPGPuzzleLoader,
|
|
33
33
|
getPartialAppendOptionsForPuzzleSpecificSimplifyOptions,
|
|
34
34
|
getPieceStickeringMask
|
|
35
|
-
} from "../chunks/chunk-
|
|
36
|
-
import "../chunks/chunk-
|
|
35
|
+
} from "../chunks/chunk-CULFM3I2.js";
|
|
36
|
+
import "../chunks/chunk-VIEFLN2D.js";
|
|
37
37
|
import {
|
|
38
38
|
Alg,
|
|
39
39
|
AlgBuilder,
|
|
@@ -5160,6 +5160,7 @@ function pasteIntoTextArea(textArea, pastedText) {
|
|
|
5160
5160
|
const { selectionStart, selectionEnd } = textArea;
|
|
5161
5161
|
const textPrecedingSelection = oldValue.slice(0, selectionStart);
|
|
5162
5162
|
const textFollowingSelection = oldValue.slice(selectionEnd);
|
|
5163
|
+
pastedText = pastedText.replaceAll("\r\n", "\n");
|
|
5163
5164
|
const selectionStartsInExistingComment = textPrecedingSelection.match(/\/\/[^\n]*$/);
|
|
5164
5165
|
const pasteCreatesStartingComment = oldValue[selectionStart - 1] === "/" && pastedText[0] === "/";
|
|
5165
5166
|
const pasteStartsWithCommentText = selectionStartsInExistingComment || pasteCreatesStartingComment;
|
|
@@ -5188,7 +5189,7 @@ function pasteIntoTextArea(textArea, pastedText) {
|
|
|
5188
5189
|
tryAddSpaceBefore && tryAddSpaceAfter && adoptSpacingIfValid(" ", " ") || // Paste "R U R' U'" over " " in "F F'" to create "F R U R' U' F'"
|
|
5189
5190
|
tryAddSpaceBefore && adoptSpacingIfValid(" ", "") || // Paste "U" after "R'" in "R' L'" to create "R' U L'"
|
|
5190
5191
|
tryAddSpaceAfter && adoptSpacingIfValid("", " ");
|
|
5191
|
-
const execCommandSuccess =
|
|
5192
|
+
const execCommandSuccess = globalSafeDocument?.execCommand(
|
|
5192
5193
|
"insertText",
|
|
5193
5194
|
false,
|
|
5194
5195
|
replacement
|
|
@@ -5235,7 +5236,6 @@ textarea {
|
|
|
5235
5236
|
resize: none;
|
|
5236
5237
|
background: none;
|
|
5237
5238
|
z-index: 2;
|
|
5238
|
-
overflow: hidden;
|
|
5239
5239
|
border: 1px solid var(--border-color, rgba(0, 0, 0, 0.25));
|
|
5240
5240
|
}
|
|
5241
5241
|
|