cubing 0.24.4 → 0.25.0
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 +12 -5
- package/dist/esm/{2x2x2.sgs.json-FGJMEY7L.js → 2x2x2.sgs.json-TCTAV5XU.js} +3 -3
- package/dist/esm/{2x2x2.sgs.json-FGJMEY7L.js.map → 2x2x2.sgs.json-TCTAV5XU.js.map} +0 -0
- package/dist/esm/{3d-dynamic-inside-OI3KFE53.js → 3d-dynamic-inside-MLJKFLGH.js} +4 -4
- package/dist/esm/{3d-dynamic-inside-OI3KFE53.js.map → 3d-dynamic-inside-MLJKFLGH.js.map} +0 -0
- package/dist/esm/bluetooth/index.js +3 -3
- package/dist/esm/{chunk-ZA7DHVIG.js → chunk-4SUQM4XH.js} +2 -2
- package/dist/esm/{chunk-ZA7DHVIG.js.map → chunk-4SUQM4XH.js.map} +0 -0
- package/dist/esm/{chunk-PJXFSZFG.js → chunk-AAB2V4UB.js} +2 -2
- package/dist/esm/{chunk-PJXFSZFG.js.map → chunk-AAB2V4UB.js.map} +0 -0
- package/dist/esm/{chunk-BJIOROQC.js → chunk-L7W7Q42Q.js} +2 -2
- package/dist/esm/{chunk-BJIOROQC.js.map → chunk-L7W7Q42Q.js.map} +0 -0
- package/dist/esm/{chunk-63M53ZZ5.js → chunk-QMZKTP7F.js} +2 -2
- package/dist/esm/{chunk-63M53ZZ5.js.map → chunk-QMZKTP7F.js.map} +0 -0
- package/dist/esm/{chunk-37EHU3GZ.js → chunk-RENZB7QN.js} +4 -2
- package/dist/esm/chunk-RENZB7QN.js.map +7 -0
- package/dist/esm/{chunk-V5DHYMZ7.js → chunk-T5KQKRR3.js} +2 -2
- package/dist/esm/{chunk-V5DHYMZ7.js.map → chunk-T5KQKRR3.js.map} +0 -0
- package/dist/esm/{chunk-2DZQQRAX.js → chunk-TVY3UOOK.js} +4 -4
- package/dist/esm/{chunk-2DZQQRAX.js.map → chunk-TVY3UOOK.js.map} +0 -0
- package/dist/esm/{chunk-GBIDMAJS.js → chunk-TXTMBIUR.js} +2 -2
- package/dist/esm/{chunk-GBIDMAJS.js.map → chunk-TXTMBIUR.js.map} +0 -0
- package/dist/esm/{chunk-IS5V7Y6I.js → chunk-U2R5E2A4.js} +4 -3
- package/dist/esm/chunk-U2R5E2A4.js.map +7 -0
- package/dist/esm/{chunk-ARBPSZE4.js → chunk-V7Z6KRM2.js} +6 -6
- package/dist/esm/{chunk-ARBPSZE4.js.map → chunk-V7Z6KRM2.js.map} +0 -0
- package/dist/esm/{chunk-B27E6KTE.js → chunk-Y32HHZUY.js} +1 -1
- package/dist/esm/{chunk-B27E6KTE.js.map → chunk-Y32HHZUY.js.map} +2 -2
- package/dist/esm/{entry-35P24GUC.js → entry-Y2R6JXV7.js} +35 -64
- package/dist/esm/{entry-35P24GUC.js.map → entry-Y2R6JXV7.js.map} +2 -2
- package/dist/esm/esm-test-worker.js +1 -1
- package/dist/esm/{fto.sgs.json-5DLOFNGP.js → fto.sgs.json-2IU2J6W7.js} +3 -3
- package/dist/esm/{fto.sgs.json-5DLOFNGP.js.map → fto.sgs.json-2IU2J6W7.js.map} +0 -0
- package/dist/esm/ftosolver-smaller-phase3-table-PUTNXKKW.js +1330 -0
- package/dist/esm/ftosolver-smaller-phase3-table-PUTNXKKW.js.map +7 -0
- package/dist/esm/kpuzzle/index.js +1 -1
- package/dist/esm/{megaminx.sgs.json-6QTJOWQY.js → megaminx.sgs.json-KKR4VPHV.js} +3 -3
- package/dist/esm/{megaminx.sgs.json-6QTJOWQY.js.map → megaminx.sgs.json-KKR4VPHV.js.map} +0 -0
- package/dist/esm/{module-entry-EAI3JQ2N.js → module-entry-3WBGTDCZ.js} +3 -3
- package/dist/esm/{module-entry-EAI3JQ2N.js.map → module-entry-3WBGTDCZ.js.map} +0 -0
- package/dist/esm/{node-W3AD4HBK.js → node-KTVORTZB.js} +4 -2
- package/dist/esm/node-KTVORTZB.js.map +7 -0
- package/dist/esm/{node-SP4L2AKI.js → node-LMAS5PGZ.js} +4 -2
- package/dist/esm/node-LMAS5PGZ.js.map +7 -0
- package/dist/esm/protocol/index.js +2 -2
- package/dist/esm/puzzles/index.js +2 -2
- package/dist/esm/{pyraminx.sgs.json-P7ND22JU.js → pyraminx.sgs.json-NZWNQPLL.js} +4 -4
- package/dist/esm/{pyraminx.sgs.json-P7ND22JU.js.map → pyraminx.sgs.json-NZWNQPLL.js.map} +0 -0
- package/dist/esm/scramble/index.js +5 -5
- package/dist/esm/{scramble_444-Q22ZMCV5.js → scramble_444-Q334Y5FH.js} +5 -5
- package/dist/esm/{scramble_444-Q22ZMCV5.js.map → scramble_444-Q334Y5FH.js.map} +0 -0
- package/dist/esm/{scramble_sq1-PQ2AYBFW.js → scramble_sq1-OZR6K4WV.js} +2 -2
- package/dist/esm/{scramble_sq1-PQ2AYBFW.js.map → scramble_sq1-OZR6K4WV.js.map} +0 -0
- package/dist/esm/search/index.js +5 -5
- package/dist/esm/{skewb.sgs.json-PE7DQP2D.js → skewb.sgs.json-MWONK6HT.js} +3 -3
- package/dist/esm/{skewb.sgs.json-PE7DQP2D.js.map → skewb.sgs.json-MWONK6HT.js.map} +0 -0
- package/dist/esm/twisty/index.js +12 -4
- package/dist/esm/twisty/index.js.map +2 -2
- package/dist/esm/worker-inside-generated-string-BERQU3U7.js +2828 -0
- package/dist/esm/worker-inside-generated-string-BERQU3U7.js.map +7 -0
- package/dist/types/search/inside/solve/puzzles/fto.d.ts +1 -1
- package/dist/types/search/worker-inside-generated-string.d.ts +1 -1
- package/dist/types/vendor/xyzzy/ftosolver-smaller-phase3-table.d.ts +1 -0
- package/dist/types/vendor/xyzzy/ftosolver.d.ts +224 -0
- package/dist/types/vendor/xyzzy/kilosolver.d.ts +158 -0
- package/dist/types/vendor/xyzzy/masterpyra.d.ts +217 -0
- package/dist/types/vendor/xyzzy/rediscrambler.d.ts +130 -0
- package/package.json +1 -1
- package/dist/esm/chunk-37EHU3GZ.js.map +0 -7
- package/dist/esm/chunk-IS5V7Y6I.js.map +0 -7
- package/dist/esm/node-SP4L2AKI.js.map +0 -7
- package/dist/esm/node-W3AD4HBK.js.map +0 -7
- package/dist/esm/worker-inside-generated-string-4JQKOQND.js +0 -3447
- package/dist/esm/worker-inside-generated-string-4JQKOQND.js.map +0 -7
|
@@ -0,0 +1,2828 @@
|
|
|
1
|
+
import "./chunk-WO2AXYFE.js";
|
|
2
|
+
|
|
3
|
+
// src/cubing/search/worker-inside-generated-string.js
|
|
4
|
+
var workerSource = `var f0=Object.defineProperty;var rm=e=>f0(e,"__esModule",{value:!0});var S=(e,t)=>()=>(e&&(t=e(e=0)),t);var be=(e,t)=>{rm(e);for(var r in t)f0(e,r,{get:t[r],enumerable:!0})};var Qi=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var D=(e,t,r)=>(Qi(e,t,"read from private field"),r?r.call(e):t.get(e)),ne=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},q=(e,t,r,n)=>(Qi(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),ji=(e,t,r,n)=>({set _(o){q(e,t,o,r)},get _(){return D(e,t,n)}}),c0=(e,t,r)=>(Qi(e,t,"access private method"),r);var D0={};be(D0,{default:()=>gm});function pm(e){let t=new WeakMap;return{postMessage:e.postMessage.bind(e),addEventListener:(r,n)=>{let o=l=>{"handleEvent"in n?n.handleEvent({data:l}):n({data:l})};e.on("message",o),t.set(n,o)},removeEventListener:(r,n)=>{let o=t.get(n);!o||(e.off("message",o),t.delete(n))},start:e.start&&e.start.bind(e)}}var gm,A0=S(()=>{gm=pm});var R0={};be(R0,{port:()=>Lm});async function Lm(){let{parentPort:e}=await import(hm()).catch();return(await Promise.resolve().then(()=>(A0(),D0))).default(e)}var dm,hm,y0=S(()=>{dm="w-orker-_threa-ds",hm=()=>dm.replace(/-/g,"")});var Am,ol,_e,It=S(()=>{Am=!1,ol=class{is(t){return this instanceof t}as(t){return this instanceof t?this:null}},_e=class extends ol{constructor(){super();Am&&Object.defineProperty(this,"_debugStr",{get:()=>this.toString()})}get log(){return console.log.bind(console,this,this.toString())}}});function B0(e,t=!0){if(!t)return e;switch(e){case 1:return-1;case-1:return 1}}function Yi(e,t){return t===-1?Array.from(e).reverse():e}function b0(e){return Array.from(e).reverse()}var V,Dt=S(()=>{(function(r){r[r.Forwards=1]="Forwards",r[r.Backwards=-1]="Backwards"})(V||(V={}))});var no,ln,S0,Xi=S(()=>{no=2147483647,ln="2^31 - 1",S0=-2147483648});var vr,mt,Zi=S(()=>{Nt();mt=class{constructor(){ne(this,vr,[])}push(t){D(this,vr).push(t)}experimentalPushAlg(t){for(let r of t.units())this.push(r)}experimentalNumUnits(){return D(this,vr).length}toAlg(){return new z(D(this,vr))}reset(){q(this,vr,[])}};vr=new WeakMap});var Ur,Er,ll,Ce,oo=S(()=>{Nt();It();Dt();ll=class extends _e{constructor(t,r){super();ne(this,Ur,void 0);ne(this,Er,void 0);q(this,Ur,tr(t)),q(this,Er,tr(r))}get A(){return D(this,Ur)}get B(){return D(this,Er)}isIdentical(t){let r=t.as(ll);return!!(r?.A.isIdentical(this.A)&&r?.B.isIdentical(this.B))}invert(){return new ll(D(this,Er),D(this,Ur))}*experimentalExpand(t=V.Forwards,r){r??(r=1/0),r===0?yield t===V.Forwards?this:this.invert():t===V.Forwards?(yield*this.A.experimentalExpand(V.Forwards,r-1),yield*this.B.experimentalExpand(V.Forwards,r-1),yield*this.A.experimentalExpand(V.Backwards,r-1),yield*this.B.experimentalExpand(V.Backwards,r-1)):(yield*this.B.experimentalExpand(V.Forwards,r-1),yield*this.A.experimentalExpand(V.Forwards,r-1),yield*this.B.experimentalExpand(V.Backwards,r-1),yield*this.A.experimentalExpand(V.Backwards,r-1))}toString(){return\`[\${D(this,Ur).toString()}, \${D(this,Er).toString()}]\`}},Ce=ll;Ur=new WeakMap,Er=new WeakMap});var an,sn,il,Pe,lo=S(()=>{Nt();It();Dt();il=class extends _e{constructor(t,r){super();ne(this,an,void 0);ne(this,sn,void 0);q(this,an,tr(t)),q(this,sn,tr(r))}get A(){return D(this,an)}get B(){return D(this,sn)}isIdentical(t){let r=t.as(il);return!!(r?.A.isIdentical(this.A)&&r?.B.isIdentical(this.B))}invert(){return new il(D(this,an),D(this,sn).invert())}*experimentalExpand(t,r){r??(r=1/0),r===0?yield t===V.Forwards?this:this.invert():(yield*this.A.experimentalExpand(V.Forwards,r-1),yield*this.B.experimentalExpand(t,r-1),yield*this.A.experimentalExpand(V.Backwards,r-1))}toString(){return\`[\${this.A}: \${this.B}]\`}},Pe=il;an=new WeakMap,sn=new WeakMap});var rr,Ji,At,io=S(()=>{It();Dt();Ji=class extends _e{constructor(t){super();ne(this,rr,void 0);if(t.includes(\`
|
|
5
|
+
\`)||t.includes("\\r"))throw new Error("LineComment cannot contain newline");q(this,rr,t)}get text(){return D(this,rr)}isIdentical(t){let r=t;return t.is(Ji)&&D(this,rr)===D(r,rr)}invert(){return this}*experimentalExpand(t=V.Forwards,r=1/0){yield this}toString(){return\`//\${D(this,rr)}\`}},At=Ji;rr=new WeakMap});var Ve,ao=S(()=>{It();Dt();Ve=class extends _e{toString(){return\`
|
|
6
|
+
\`}isIdentical(t){return t.is(Ve)}invert(){return this}*experimentalExpand(t=V.Forwards,r=1/0){yield this}}});var He,so=S(()=>{It();Dt();He=class extends _e{toString(){return"."}isIdentical(t){return t.is(He)}invert(){return this}*experimentalExpand(t=V.Forwards,r=1/0){yield this}}});function al(e,t){return e?parseInt(e):t}function $i(e){return new sl().parseAlg(e)}function w0(e){return new sl().parseMove(e)}function v0(e){return new sl().parseQuantumMove(e)}function Ye(e,t,r){let n=e;return n.startCharIndex=t,n.endCharIndex=r,n}function U0(e,t){return"startCharIndex"in e&&(t.startCharIndex=e.startCharIndex),"endCharIndex"in e&&(t.endCharIndex=e.endCharIndex),t}var x0,Rm,ym,Fm,Bm,bm,tt,N,sl,ea=S(()=>{Nt();Zi();oo();lo();ul();io();Ot();ao();so();x0=/^(\\d+)?('?)/,Rm=/^[_\\dA-Za-z]/,ym=/^((([1-9]\\d*)-)?([1-9]\\d*))?([_A-Za-z]+)?/,Fm=/^[^\\n]*/,Bm=/^(-?\\d+), ?/,bm=/^(-?\\d+)\\)/;sl=class{constructor(){ne(this,tt,"");ne(this,N,0)}parseAlg(t){q(this,tt,t),q(this,N,0);let r=this.parseAlgWithStopping([]);return this.mustBeAtEndOfInput(),r}parseMove(t){q(this,tt,t),q(this,N,0);let r=this.parseMoveImpl();return this.mustBeAtEndOfInput(),r}parseQuantumMove(t){q(this,tt,t),q(this,N,0);let r=this.parseQuantumMoveImpl();return this.mustBeAtEndOfInput(),r}mustBeAtEndOfInput(){if(D(this,N)!==D(this,tt).length)throw new Error("parsing unexpectedly ended early")}parseAlgWithStopping(t){let r=D(this,N),n=D(this,N),o=new mt,l=!1,i=a=>{if(l)throw new Error(\`Unexpected character at index \${a}. Are you missing a space?\`)};e:for(;D(this,N)<D(this,tt).length;){let a=D(this,N);if(t.includes(D(this,tt)[D(this,N)]))return Ye(o.toAlg(),r,n);if(this.tryConsumeNext(" ")){l=!1,o.experimentalNumUnits()===0&&(r=D(this,N));continue e}else if(Rm.test(D(this,tt)[D(this,N)])){i(a);let u=this.parseMoveImpl();o.push(u),l=!0,n=D(this,N);continue e}else if(this.tryConsumeNext("(")){i(a);let u=this.tryRegex(Bm);if(u){let s=u[1],f=D(this,N),c=this.parseRegex(bm),m=Ye(new h(new P("U_SQ_"),parseInt(s)),a+1,a+1+s.length),p=Ye(new h(new P("D_SQ_"),parseInt(c[1])),f,D(this,N)-1),g=Ye(new z([m,p]),a+1,D(this,N)-1);o.push(Ye(new st(g),a,D(this,N))),l=!0,n=D(this,N);continue e}else{let s=this.parseAlgWithStopping([")"]);this.mustConsumeNext(")");let f=this.parseAmount();o.push(Ye(new st(s,f),a,D(this,N))),l=!0,n=D(this,N);continue e}}else if(this.tryConsumeNext("[")){i(a);let u=this.parseAlgWithStopping([",",":"]),s=this.popNext(),f=this.parseAlgWithStopping(["]"]);switch(this.mustConsumeNext("]"),s){case":":o.push(Ye(new Pe(u,f),a,D(this,N))),l=!0,n=D(this,N);continue e;case",":o.push(Ye(new Ce(u,f),a,D(this,N))),l=!0,n=D(this,N);continue e;default:throw"unexpected parsing error"}}else if(this.tryConsumeNext(\`
|
|
7
|
+
\`)){o.push(Ye(new Ve,a,D(this,N))),l=!1,n=D(this,N);continue e}else if(this.tryConsumeNext("/"))if(this.tryConsumeNext("/")){i(a);let[u]=this.parseRegex(Fm);o.push(Ye(new At(u),a,D(this,N))),l=!1,n=D(this,N);continue e}else{o.push(Ye(new h("_SLASH_"),a,D(this,N))),l=!0,n=D(this,N);continue e}else if(this.tryConsumeNext(".")){i(a),o.push(Ye(new He,a,D(this,N))),l=!0,n=D(this,N);continue e}else throw new Error(\`Unexpected character: \${this.popNext()}\`)}if(D(this,N)!==D(this,tt).length)throw new Error("did not finish parsing?");if(t.length>0)throw new Error("expected stopping");return Ye(o.toAlg(),r,n)}parseQuantumMoveImpl(){let[,,,t,r,n]=this.parseRegex(ym);return new P(n,al(r,void 0),al(t,void 0))}parseMoveImpl(){let t=D(this,N);if(this.tryConsumeNext("/"))return Ye(new h("_SLASH_"),t,D(this,N));let r=this.parseQuantumMoveImpl(),[n,o]=this.parseAmountAndTrackEmptyAbsAmount(),l=this.parseMoveSuffix();if(l){if(n<0)throw new Error("uh-oh");if((l==="++"||l==="--")&&n!==1)throw new Error("Pochmann ++ or -- moves cannot have an amount other than 1.");if((l==="++"||l==="--")&&!o)throw new Error("Pochmann ++ or -- moves cannot have an amount written as a number.");if((l==="+"||l==="-")&&o)throw new Error("Clock dial moves must have an amount written as a natural number followed by + or -.");l.startsWith("+")&&(r=r.modified({family:\`\${r.family}_\${l==="+"?"PLUS":"PLUSPLUS"}_\`})),l.startsWith("-")&&(r=r.modified({family:\`\${r.family}_\${l==="-"?"PLUS":"PLUSPLUS"}_\`}),n*=-1)}return Ye(new h(r,n),t,D(this,N))}parseMoveSuffix(){return this.tryConsumeNext("+")?this.tryConsumeNext("+")?"++":"+":this.tryConsumeNext("-")?this.tryConsumeNext("-")?"--":"-":null}parseAmountAndTrackEmptyAbsAmount(){let t=D(this,N),[,r,n]=this.parseRegex(x0);if(r?.startsWith("0")&&r!=="0")throw new Error(\`Error at char index \${t}: An amount can only start with 0 if it's exactly the digit 0.\`);return[al(r,1)*(n==="'"?-1:1),!r]}parseAmount(){let t=D(this,N),[,r,n]=this.parseRegex(x0);if(r?.startsWith("0")&&r!=="0")throw new Error(\`Error at char index \${t}: An amount number can only start with 0 if it's exactly the digit 0.\`);return al(r,1)*(n==="'"?-1:1)}parseRegex(t){let r=t.exec(this.remaining());if(r===null)throw new Error("internal parsing error");return q(this,N,D(this,N)+r[0].length),r}tryRegex(t){let r=t.exec(this.remaining());return r===null?null:(q(this,N,D(this,N)+r[0].length),r)}remaining(){return D(this,tt).slice(D(this,N))}popNext(){let t=D(this,tt)[D(this,N)];return ji(this,N)._++,t}tryConsumeNext(t){return D(this,tt)[D(this,N)]===t?(ji(this,N)._++,!0):!1}mustConsumeNext(t){let r=this.popNext();if(r!==t)throw new Error(\`expected \\\`\${t}\\\` while parsing, encountered \${r}\`);return r}};tt=new WeakMap,N=new WeakMap});function fl(e){E0.has(e)||(console.warn(e),E0.add(e))}var E0,ta=S(()=>{E0=new Set});var un,ra=S(()=>{Dt();Xi();un=class{constructor(t,r=1){if(this.quantum=t,this.amount=r,!Number.isInteger(this.amount)||this.amount<S0||this.amount>no)throw new Error(\`Unit amount absolute value must be a non-negative integer from \${ln} to \${ln}.\`)}suffix(){let t="",r=Math.abs(this.amount);return r!==1&&(t+=r),this.amount<0&&(t+="'"),t}isIdentical(t){return this.quantum.isIdentical(t.quantum)&&this.amount===t.amount}*experimentalExpand(t,r){let n=Math.abs(this.amount),o=B0(t,this.amount<0);for(let l=0;l<n;l++)yield*this.quantum.experimentalExpand(o,r)}}});var Wt,Me,Ge,cl,P,ve,fn,h,Ot=S(()=>{It();Dt();Xi();ea();ta();ra();cl=class extends ol{constructor(t,r,n){super();ne(this,Wt,void 0);ne(this,Me,void 0);ne(this,Ge,void 0);if(q(this,Wt,t),q(this,Me,r??null),q(this,Ge,n??null),Object.freeze(this),D(this,Me)!==null&&(!Number.isInteger(D(this,Me))||D(this,Me)<1||D(this,Me)>no))throw new Error(\`QuantumMove inner layer must be a positive integer below \${ln}.\`);if(D(this,Ge)!==null&&(!Number.isInteger(D(this,Ge))||D(this,Ge)<1||D(this,Ge)>no))throw new Error(\`QuantumMove outer layer must be a positive integer below \${ln}.\`);if(D(this,Ge)!==null&&D(this,Me)!==null&&D(this,Me)<=D(this,Ge))throw new Error("QuantumMove outer layer must be smaller than inner layer.");if(D(this,Ge)!==null&&D(this,Me)===null)throw new Error("QuantumMove with an outer layer must have an inner layer")}static fromString(t){return v0(t)}modified(t){return new cl(t.family??D(this,Wt),t.innerLayer??D(this,Me),t.outerLayer??D(this,Ge))}isIdentical(t){let r=t;return t.is(cl)&&D(this,Wt)===D(r,Wt)&&D(this,Me)===D(r,Me)&&D(this,Ge)===D(r,Ge)}get family(){return D(this,Wt)}get outerLayer(){return D(this,Ge)}get innerLayer(){return D(this,Me)}experimentalExpand(){throw new Error("experimentalExpand() cannot be called on a \`QuantumMove\` directly.")}toString(){let t=D(this,Wt);return D(this,Me)!==null&&(t=String(D(this,Me))+t,D(this,Ge)!==null&&(t=String(D(this,Ge))+"-"+t)),t}},P=cl;Wt=new WeakMap,Me=new WeakMap,Ge=new WeakMap;fn=class extends _e{constructor(...t){super();ne(this,ve,void 0);if(typeof t[0]=="string")if(t[1]??null){q(this,ve,new un(P.fromString(t[0]),t[1]));return}else return fn.fromString(t[0]);q(this,ve,new un(t[0],t[1]))}isIdentical(t){let r=t.as(fn);return!!r&&D(this,ve).isIdentical(D(r,ve))}invert(){return U0(this,new fn(D(this,ve).quantum,-this.amount))}*experimentalExpand(t=V.Forwards){t===V.Forwards?yield this:yield this.modified({amount:-this.amount})}get quantum(){return D(this,ve).quantum}modified(t){return new fn(D(this,ve).quantum.modified(t),t.amount??this.amount)}static fromString(t){return w0(t)}get amount(){return D(this,ve).amount}get type(){return fl("deprecated: type"),"blockMove"}get family(){return D(this,ve).quantum.family??void 0}get outerLayer(){return D(this,ve).quantum.outerLayer??void 0}get innerLayer(){return D(this,ve).quantum.innerLayer??void 0}toString(){if(this.family==="_SLASH_")return"/";if(this.family.endsWith("_PLUS_"))return D(this,ve).quantum.toString().slice(0,-6)+Math.abs(this.amount)+(this.amount<0?"-":"+");if(this.family.endsWith("_PLUSPLUS_")){let t=Math.abs(this.amount);return D(this,ve).quantum.toString().slice(0,-10)+(t===1?"":t)+(this.amount<0?"--":"++")}return D(this,ve).quantum.toString()+D(this,ve).suffix()}},h=fn;ve=new WeakMap});var k0,z0,rt,ml,st,ul=S(()=>{Nt();It();Dt();Ot();ra();k0=class{constructor(){this.quantumU_SQ_=null;this.quantumD_SQ_=null}format(t){let r=this.tuple(t);return r?\`(\${r.map(n=>n.amount).join(", ")})\`:null}tuple(t){this.quantumU_SQ_||(this.quantumU_SQ_=new P("U_SQ_")),this.quantumD_SQ_||(this.quantumD_SQ_=new P("D_SQ_"));let r=t.alg;if(r.experimentalNumUnits()===2){let[n,o]=r.units();if(n.as(h)?.quantum.isIdentical(this.quantumU_SQ_)&&o.as(h)?.quantum.isIdentical(this.quantumD_SQ_)){if(t.amount!==1)throw new Error("Square-1 tuples cannot have an amount other than 1.");return[n,o]}}return null}},z0=new k0,ml=class extends _e{constructor(t,r){super();ne(this,rt,void 0);let n=tr(t);q(this,rt,new un(n,r))}isIdentical(t){let r=t;return t.is(ml)&&D(this,rt).isIdentical(D(r,rt))}get alg(){return D(this,rt).quantum}get amount(){return D(this,rt).amount}get experimentalRepetitionSuffix(){return D(this,rt).suffix()}invert(){return new ml(D(this,rt).quantum,-D(this,rt).amount)}*experimentalExpand(t=V.Forwards,r){r??(r=1/0),r===0?yield t===V.Forwards?this:this.invert():yield*D(this,rt).experimentalExpand(t,r-1)}static fromString(){throw new Error("unimplemented")}toString(){return z0.format(this)??\`(\${D(this,rt).quantum.toString()})\${D(this,rt).suffix()}\`}experimentalAsSquare1Tuple(){return z0.tuple(this)}},st=ml;rt=new WeakMap});var pl=S(()=>{ul();io();oo();lo();Ot();ao();so()});function Rt(e,t){return e instanceof t}function _0(e){return Rt(e,st)||Rt(e,At)||Rt(e,Ce)||Rt(e,Pe)||Rt(e,h)||Rt(e,Ve)||Rt(e,He)}var na=S(()=>{pl()});function C0(e,t,r){if(t.is(st))return e.traverseGrouping(t,r);if(t.is(h))return e.traverseMove(t,r);if(t.is(Ce))return e.traverseCommutator(t,r);if(t.is(Pe))return e.traverseConjugate(t,r);if(t.is(He))return e.traversePause(t,r);if(t.is(Ve))return e.traverseNewline(t,r);if(t.is(At))return e.traverseLineComment(t,r);throw new Error("unknown unit")}function P0(e){if(e.is(st)||e.is(h)||e.is(Ce)||e.is(Pe)||e.is(He)||e.is(Ve)||e.is(At))return e;throw"internal error: expected unit"}var cn,mn,gl,Sm,la,oa,M0,G0,ia=S(()=>{ul();oo();Ot();ao();so();lo();io();cn=class{traverseUnit(t,r){return C0(this,t,r)}traverseIntoUnit(t,r){return P0(this.traverseUnit(t,r))}},mn=class extends cn{traverseUnit(t){return C0(this,t,void 0)}traverseIntoUnit(t){return P0(this.traverseUnit(t))}},la=class extends cn{*traverseAlg(t,r){if(r.depth===0){yield*t.units();return}let n=[],o=null,l=r?.collapseMoves??!0;function i(s,f){var p;let c=c0(p=la,gl,Sm).call(p,s,f,r);if(c===0)return!1;let m=new h(s.quantum,c);return n.push(m),o=m,!0}function a(s){l&&o?.is(h)&&s.is(h)&&o.quantum.isIdentical(s.quantum)?(n.pop(),i(o,s.amount)||(o=n.slice(-1)[0])):s.is(h)?i(s,0):(n.push(s),o=s)}let u={depth:r.depth?r.depth-1:null};for(let s of t.units())for(let f of this.traverseUnit(s,u))a(f);for(let s of n)yield s}*traverseGrouping(t,r){if(r.depth===0){yield t;return}let n={depth:r.depth?r.depth-1:null};yield new st(this.traverseAlg(t.alg,n))}*traverseMove(t,r){yield t}*traverseCommutator(t,r){if(r.depth===0){yield t;return}let n={depth:r.depth?r.depth-1:null};yield new Ce(this.traverseAlg(t.A,n),this.traverseAlg(t.B,n))}*traverseConjugate(t,r){if(r.depth===0){yield t;return}let n={depth:r.depth?r.depth-1:null};yield new Pe(this.traverseAlg(t.A,n),this.traverseAlg(t.B,n))}*traversePause(t,r){yield t}*traverseNewline(t,r){yield t}*traverseLineComment(t,r){yield t}},oa=la;gl=new WeakSet,Sm=function(t,r,n){let o=t.amount+r;if(n?.quantumMoveOrder){let l=n.quantumMoveOrder(t.quantum),i=Math.floor(l/2)+1-l;o=(o%l+l-i)%l+i}return o},ne(oa,gl);M0=new oa,G0=M0.traverseAlg.bind(M0)});function T0(e){if(!e)return[];if(Rt(e,z))return e.units();if(typeof e=="string")return $i(e).units();let t=e;if(typeof t[Symbol.iterator]=="function")return t;throw"Invalid unit"}function tr(e){return Rt(e,z)?e:new z(e)}function xm(e,t){return e.is(Ve)||t.is(Ve)?"":e.is(At)&&!t.is(Ve)?\`
|
|
8
|
+
\`:" "}var nt,kr,z,Nt=S(()=>{It();na();Dt();ea();ia();io();Ot();ao();ta();kr=class extends _e{constructor(t){super();ne(this,nt,void 0);q(this,nt,Array.from(T0(t)));for(let r of D(this,nt))if(!_0(r))throw new Error("An alg can only contain units.")}isIdentical(t){let r=t;if(!t.is(kr))return!1;let n=Array.from(D(this,nt)),o=Array.from(D(r,nt));if(n.length!==o.length)return!1;for(let l=0;l<n.length;l++)if(!n[l].isIdentical(o[l]))return!1;return!0}invert(){return new kr(b0(Array.from(D(this,nt)).map(t=>t.invert())))}*experimentalExpand(t=V.Forwards,r){r??(r=1/0);for(let n of Yi(D(this,nt),t))yield*n.experimentalExpand(t,r)}expand(t){return new kr(this.experimentalExpand(V.Forwards,t?.depth??1/0))}*experimentalLeafMoves(){for(let t of this.experimentalExpand())t.is(h)&&(yield t)}concat(t){return new kr(Array.from(D(this,nt)).concat(Array.from(T0(t))))}experimentalIsEmpty(){for(let t of D(this,nt))return!1;return!0}static fromString(t){return $i(t)}*units(){for(let t of D(this,nt))yield t}experimentalNumUnits(){return Array.from(D(this,nt)).length}get type(){return fl("deprecated: type"),"sequence"}toString(){let t="",r=null;for(let n of D(this,nt))r&&(t+=xm(r,n)),t+=n.toString(),r=n;return t}simplify(t){return new kr(G0(this,t??{}))}},z=kr;nt=new WeakMap});var wm,I0=S(()=>{Nt();pl();oo();lo();Ot();so();wm={Sune:new z([new h("R",1),new h("U",1),new h("R",-1),new h("U",1),new h("R",1),new h("U",-2),new h("R",-1)]),AntiSune:new z([new h("R",1),new h("U",2),new h("R",-1),new h("U",-1),new h("R",1),new h("U",-1),new h("R",-1)]),SuneCommutator:new z([new Ce(new z([new h("R",1),new h("U",1),new h("R",-2)]),new z([new Pe(new z([new h("R",1)]),new z([new h("U",1)]))]))]),Niklas:new z([new h("R",1),new h("U",-1),new h("L",-1),new h("U",1),new h("R",-1),new h("U",-1),new h("L",1),new h("U",1)]),EPerm:new z([new h("x",-1),new Ce(new z([new Pe(new z([new h("R",1)]),new z([new h("U",-1)]))]),new z([new h("D",1)])),new Ce(new z([new Pe(new z([new h("R",1)]),new z([new h("U",1)]))]),new z([new h("D",1)])),new h("x",1)]),FURURFCompact:new z([new Pe(new z([new h("F",1)]),new z([new Ce(new z([new h("U",1)]),new z([new h("R",1)]))]))]),APermCompact:new z([new Pe(new z([new h("R",2)]),new z([new Ce(new z([new h("F",2)]),new z([new h("R",-1),new h("B",-1),new h("R",1)]))]))]),FURURFMoves:new z([new h("F",1),new h("U",1),new h("R",1),new h("U",-1),new h("R",-1),new h("F",-1)]),TPerm:new z([new h("R",1),new h("U",1),new h("R",-1),new h("U",-1),new h("R",-1),new h("F",1),new h("R",2),new h("U",-1),new h("R",-1),new h("U",-1),new h("R",1),new h("U",1),new h("R",-1),new h("F",-1)]),HeadlightSwaps:new z([new Pe(new z([new h("F",1)]),new z([new st(new z([new Ce(new z([new h("R",1)]),new z([new h("U",1)]))]),3)]))]),TriplePause:new z([new He,new He,new He])}});var C6,N0=S(()=>{Ot();C6={73:new h("R"),75:new h("R'"),87:new h("B"),79:new h("B'"),83:new h("D"),76:new h("D'"),68:new h("L"),69:new h("L'"),74:new h("U"),70:new h("U'"),72:new h("F"),71:new h("F'"),78:new h("x'"),67:new h("l"),82:new h("l'"),85:new h("r"),77:new h("r'"),88:new h("d"),188:new h("d'"),84:new h("x"),89:new h("x"),66:new h("x'"),186:new h("y"),59:new h("y"),65:new h("y'"),80:new h("z"),81:new h("z'"),90:new h("M'"),190:new h("M'")}});var O0=S(()=>{});var W0=S(()=>{Nt()});var De=S(()=>{Nt();Zi();ia();I0();N0();pl();Ot();O0();W0();na();Dt()});function uo(e,t,r){let n={};for(let o in e.orbits){let l=e.orbits[o],i=t[o],a=r[o];if(fo(l.numOrientations,a))n[o]=i;else if(fo(l.numOrientations,i))n[o]=a;else{let u=new Array(l.numPieces);if(l.numOrientations===1){for(let s=0;s<l.numPieces;s++)u[s]=i.permutation[a.permutation[s]];n[o]={permutation:u,orientation:i.orientation}}else{let s=new Array(l.numPieces);for(let f=0;f<l.numPieces;f++)s[f]=(i.orientation[a.permutation[f]]+a.orientation[f])%l.numOrientations,u[f]=i.permutation[a.permutation[f]];n[o]={permutation:u,orientation:s}}}}return n}function aa(e,t,r){let n={};for(let o in e.orbits){let l=e.orbits[o],i=t[o],a=r[o];if(fo(l.numOrientations,a))n[o]=i;else{let u=new Array(l.numPieces);if(l.numOrientations===1){for(let s=0;s<l.numPieces;s++)u[s]=i.pieces[a.permutation[s]];n[o]={pieces:u,orientation:i.orientation}}else{let s=new Array(l.numPieces);for(let f=0;f<l.numPieces;f++)s[f]=(i.orientation[a.permutation[f]]+a.orientation[f])%l.numOrientations,u[f]=i.pieces[a.permutation[f]];n[o]={pieces:u,orientation:s}}}}return n}var dl=S(()=>{co()});function vm(e){let t=Q0.get(e);if(t)return t;let r=new Array(e),n=new Array(e);for(let l=0;l<e;l++)r[l]=l,n[l]=0;let o={permutation:r,orientation:n};return K0&&(Object.freeze(r),Object.freeze(n),Object.freeze(o)),Q0.set(e,o),o}function j0(e){let t={};for(let[r,n]of Object.entries(e.orbits))t[r]=vm(n.numPieces);return K0&&Object.freeze(t),t}function q0(e,t){let r=t.quantum.toString(),n=e.definition.moves[r];if(n)return nr(e,n,t.amount);let o=e.definition.moves[t.toString()];if(o)return o;let l=e.definition.moves[t.invert().toString()];if(l)return nr(e,l,-1);throw new Error(\`Invalid move for KPuzzle (\${e.name()}): \${t}\`)}var K0,Q0,sa=S(()=>{co();K0=!1,Q0=new Map});var ge,hl=S(()=>{dl();mo();ge=class{constructor(t,r){this.kpuzzle=t;this.stateData=r}static fromTransformation(t){let r=aa(t.kpuzzle.definition,t.kpuzzle.definition.startStateData,t.transformationData);return new ge(t.kpuzzle,r)}apply(t){return this.applyTransformation(this.kpuzzle.toTransformation(t))}applyTransformation(t){if(t.isIdentityTransformation())return new ge(this.kpuzzle,this.stateData);let r=aa(this.kpuzzle.definition,this.stateData,t.transformationData);return new ge(this.kpuzzle,r)}applyMove(t){return this.applyTransformation(this.kpuzzle.moveToTransformation(t))}applyAlg(t){return this.applyTransformation(this.kpuzzle.algToTransformation(t))}experimentalToTransformation(){if(!this.kpuzzle.canConvertStateToUniqueTransformation())return null;let t={};for(let[r,n]of Object.entries(this.stateData)){let o={permutation:n.pieces,orientation:n.orientation};t[r]=o}return new yt(this.kpuzzle,t)}}});var zr,or,yt,mo=S(()=>{co();dl();sa();hl();or=class{constructor(t,r){this.kpuzzle=t;this.transformationData=r;ne(this,zr,void 0)}invert(){return new or(this.kpuzzle,ua(this.kpuzzle,this.transformationData))}isIdentityTransformation(){return D(this,zr)??q(this,zr,this.isIdentical(this.kpuzzle.identityTransformation()))}static experimentalConstructIdentity(t){let r=new or(t,j0(t.definition));return q(r,zr,!0),r}isIdentical(t){return V0(this.kpuzzle,this.transformationData,t.transformationData)}apply(t){return this.applyTransformation(this.kpuzzle.toTransformation(t))}applyTransformation(t){if(this.kpuzzle!==t.kpuzzle)throw new Error(\`Tried to apply a transformation for a KPuzzle (\${t.kpuzzle.name()}) to a different KPuzzle (\${this.kpuzzle.name()}).\`);return D(this,zr)?new or(this.kpuzzle,t.transformationData):D(t,zr)?new or(this.kpuzzle,this.transformationData):new or(this.kpuzzle,uo(this.kpuzzle.definition,this.transformationData,t.transformationData))}applyMove(t){return this.applyTransformation(this.kpuzzle.moveToTransformation(t))}applyAlg(t){return this.applyTransformation(this.kpuzzle.algToTransformation(t))}toKState(){return ge.fromTransformation(this)}repetitionOrder(){return H0(this.kpuzzle.definition,this)}selfMultiply(t){return new or(this.kpuzzle,nr(this.kpuzzle,this.transformationData,t))}},yt=or;zr=new WeakMap});function fo(e,t){let{permutation:r}=t,n=r.length;for(let o=0;o<n;o++)if(r[o]!==o)return!1;if(e>1){let{orientation:o}=t;for(let l=0;l<n;l++)if(o[l]!==0)return!1}return!0}function Um(e,t,r,n={}){for(let o=0;o<e.numPieces;o++)if(!n?.ignoreOrientation&&t.orientation[o]!==r.orientation[o]||!n?.ignorePermutation&&t.permutation[o]!==r.permutation[o])return!1;return!0}function V0(e,t,r){for(let[n,o]of Object.entries(e.definition.orbits))if(!Um(o,t[n],r[n]))return!1;return!0}function ua(e,t){let r={};for(let n in e.definition.orbits){let o=e.definition.orbits[n],l=t[n];if(fo(o.numOrientations,l))r[n]=l;else if(o.numOrientations===1){let i=new Array(o.numPieces);for(let a=0;a<o.numPieces;a++)i[l.permutation[a]]=a;r[n]={permutation:i,orientation:l.orientation}}else{let i=new Array(o.numPieces),a=new Array(o.numPieces);for(let u=0;u<o.numPieces;u++){let s=l.permutation[u];i[s]=u,a[s]=(o.numOrientations-l.orientation[u]+o.numOrientations)%o.numOrientations}r[n]={permutation:i,orientation:a}}}return r}function nr(e,t,r){if(r===1)return t;if(r<0)return nr(e,ua(e,t),-r);if(r===0){let{transformationData:l}=e.identityTransformation();return l}let n=t;r!==2&&(n=nr(e,t,Math.floor(r/2)));let o=uo(e.definition,n,n);return r%2==0?o:uo(e.definition,t,o)}function fa(e,t){return t?fa(t,e%t):e}function H0(e,t){let r=1;for(let n in e.orbits){let o=e.orbits[n],l=t.transformationData[n],i=new Array(o.numPieces);for(let a=0;a<o.numPieces;a++)if(!i[a]){let u=a,s=0,f=0;for(;i[u]=!0,s=s+l.orientation[u],f=f+1,u=l.permutation[u],u!==a;);s!==0&&(f=f*o.numOrientations/fa(o.numOrientations,s)),r=r*f/fa(r,f)}}return r}var Y0,X0,Z0,co=S(()=>{De();dl();mo();Y0=class extends cn{traverseAlg(t,r){let n=null;for(let o of t.units())n?n=n.applyTransformation(this.traverseUnit(o,r)):n=this.traverseUnit(o,r);return n??r.identityTransformation()}traverseGrouping(t,r){let n=this.traverseAlg(t.alg,r);return new yt(r,nr(r,n.transformationData,t.amount))}traverseMove(t,r){return r.moveToTransformation(t)}traverseCommutator(t,r){let n=this.traverseAlg(t.A,r),o=this.traverseAlg(t.B,r);return n.applyTransformation(o).applyTransformation(n.invert()).applyTransformation(o.invert())}traverseConjugate(t,r){let n=this.traverseAlg(t.A,r),o=this.traverseAlg(t.B,r);return n.applyTransformation(o).applyTransformation(n.invert())}traversePause(t,r){return r.identityTransformation()}traverseNewline(t,r){return r.identityTransformation()}traverseLineComment(t,r){return r.identityTransformation()}},X0=new Y0,Z0=X0.traverseAlg.bind(X0)});var pn,Ll,Te,ca=S(()=>{De();co();sa();hl();mo();Te=class{constructor(t,r){this.definition=t;ne(this,pn,new Map);ne(this,Ll,void 0);this.experimentalPGNotation=r?.experimentalPGNotation}name(){return this.definition.name}identityTransformation(){return yt.experimentalConstructIdentity(this)}moveToTransformation(t){typeof t=="string"&&(t=new h(t));let r=t.toString(),n=D(this,pn).get(r);if(n)return new yt(this,n);if(this.experimentalPGNotation){let l=this.experimentalPGNotation.lookupMove(t);if(!l)throw new Error(\`could not map to internal move: \${t}\`);return D(this,pn).set(r,l),new yt(this,l)}let o=q0(this,t);return D(this,pn).set(r,o),new yt(this,o)}algToTransformation(t){return typeof t=="string"&&(t=new z(t)),Z0(t,this)}toTransformation(t){return typeof t=="string"?this.algToTransformation(t):t?.is?.(z)?this.algToTransformation(t):t?.is?.(h)?this.moveToTransformation(t):t}startState(){return new ge(this,this.definition.startStateData)}canConvertStateToUniqueTransformation(){return D(this,Ll)??q(this,Ll,(()=>{for(let[t,r]of Object.entries(this.definition.orbits)){let n=new Array(r.numPieces).fill(!1);for(let o of this.definition.startStateData[t].pieces)n[o]=!0;for(let o of n)if(!o)return!1}return!0})())}get state(){throw new Error("KPuzzle is now a different (stateless) class.")}reset(){throw new Error("KPuzzle is now a different (stateless) class.")}applyMove(t){throw new Error("KPuzzle is now a different class. Try \`.moveToTransformation()\` to get the transformation for a move.")}applyAlg(t){throw new Error("KPuzzle is now a different class. Try \`.algToTransformation()\` to get the transformation for an alg.")}};pn=new WeakMap,Ll=new WeakMap});var Le,J0=S(()=>{Le={name:"3x3x3",orbits:{EDGES:{numPieces:12,numOrientations:2},CORNERS:{numPieces:8,numOrientations:3},CENTERS:{numPieces:6,numOrientations:4}},startStateData:{EDGES:{pieces:[0,1,2,3,4,5,6,7,8,9,10,11],orientation:[0,0,0,0,0,0,0,0,0,0,0,0]},CORNERS:{pieces:[0,1,2,3,4,5,6,7],orientation:[0,0,0,0,0,0,0,0]},CENTERS:{pieces:[0,1,2,3,4,5],orientation:[0,0,0,0,0,0]}},moves:{U:{EDGES:{permutation:[1,2,3,0,4,5,6,7,8,9,10,11],orientation:[0,0,0,0,0,0,0,0,0,0,0,0]},CORNERS:{permutation:[1,2,3,0,4,5,6,7],orientation:[0,0,0,0,0,0,0,0]},CENTERS:{permutation:[0,1,2,3,4,5],orientation:[1,0,0,0,0,0]}},y:{EDGES:{permutation:[1,2,3,0,5,6,7,4,10,8,11,9],orientation:[0,0,0,0,0,0,0,0,1,1,1,1]},CORNERS:{permutation:[1,2,3,0,7,4,5,6],orientation:[0,0,0,0,0,0,0,0]},CENTERS:{permutation:[0,2,3,4,1,5],orientation:[1,0,0,0,0,3]}},x:{EDGES:{permutation:[4,8,0,9,6,10,2,11,5,7,1,3],orientation:[1,0,1,0,1,0,1,0,0,0,0,0]},CORNERS:{permutation:[4,0,3,5,7,6,2,1],orientation:[2,1,2,1,1,2,1,2]},CENTERS:{permutation:[2,1,5,3,0,4],orientation:[0,3,0,1,2,2]}},L:{EDGES:{permutation:[0,1,2,11,4,5,6,9,8,3,10,7],orientation:[0,0,0,0,0,0,0,0,0,0,0,0]},CORNERS:{permutation:[0,1,6,2,4,3,5,7],orientation:[0,0,2,1,0,2,1,0]},CENTERS:{permutation:[0,1,2,3,4,5],orientation:[0,1,0,0,0,0]}},F:{EDGES:{permutation:[9,1,2,3,8,5,6,7,0,4,10,11],orientation:[1,0,0,0,1,0,0,0,1,1,0,0]},CORNERS:{permutation:[3,1,2,5,0,4,6,7],orientation:[1,0,0,2,2,1,0,0]},CENTERS:{permutation:[0,1,2,3,4,5],orientation:[0,0,1,0,0,0]}},R:{EDGES:{permutation:[0,8,2,3,4,10,6,7,5,9,1,11],orientation:[0,0,0,0,0,0,0,0,0,0,0,0]},CORNERS:{permutation:[4,0,2,3,7,5,6,1],orientation:[2,1,0,0,1,0,0,2]},CENTERS:{permutation:[0,1,2,3,4,5],orientation:[0,0,0,1,0,0]}},B:{EDGES:{permutation:[0,1,10,3,4,5,11,7,8,9,6,2],orientation:[0,0,1,0,0,0,1,0,0,0,1,1]},CORNERS:{permutation:[0,7,1,3,4,5,2,6],orientation:[0,2,1,0,0,0,2,1]},CENTERS:{permutation:[0,1,2,3,4,5],orientation:[0,0,0,0,1,0]}},D:{EDGES:{permutation:[0,1,2,3,7,4,5,6,8,9,10,11],orientation:[0,0,0,0,0,0,0,0,0,0,0,0]},CORNERS:{permutation:[0,1,2,3,5,6,7,4],orientation:[0,0,0,0,0,0,0,0]},CENTERS:{permutation:[0,1,2,3,4,5],orientation:[0,0,0,0,0,1]}},z:{EDGES:{permutation:[9,3,11,7,8,1,10,5,0,4,2,6],orientation:[1,1,1,1,1,1,1,1,1,1,1,1]},CORNERS:{permutation:[3,2,6,5,0,4,7,1],orientation:[1,2,1,2,2,1,2,1]},CENTERS:{permutation:[1,5,2,0,4,3],orientation:[1,1,1,1,3,1]}},M:{EDGES:{permutation:[2,1,6,3,0,5,4,7,8,9,10,11],orientation:[1,0,1,0,1,0,1,0,0,0,0,0]},CORNERS:{permutation:[0,1,2,3,4,5,6,7],orientation:[0,0,0,0,0,0,0,0]},CENTERS:{permutation:[4,1,0,3,5,2],orientation:[2,0,0,0,2,0]}},E:{EDGES:{permutation:[0,1,2,3,4,5,6,7,9,11,8,10],orientation:[0,0,0,0,0,0,0,0,1,1,1,1]},CORNERS:{permutation:[0,1,2,3,4,5,6,7],orientation:[0,0,0,0,0,0,0,0]},CENTERS:{permutation:[0,4,1,2,3,5],orientation:[0,0,0,0,0,0]}},S:{EDGES:{permutation:[0,3,2,7,4,1,6,5,8,9,10,11],orientation:[0,1,0,1,0,1,0,1,0,0,0,0]},CORNERS:{permutation:[0,1,2,3,4,5,6,7],orientation:[0,0,0,0,0,0,0,0]},CENTERS:{permutation:[1,5,2,0,4,3],orientation:[1,1,0,1,0,1]}},u:{EDGES:{permutation:[1,2,3,0,4,5,6,7,10,8,11,9],orientation:[0,0,0,0,0,0,0,0,1,1,1,1]},CORNERS:{permutation:[1,2,3,0,4,5,6,7],orientation:[0,0,0,0,0,0,0,0]},CENTERS:{permutation:[0,2,3,4,1,5],orientation:[1,0,0,0,0,0]}},l:{EDGES:{permutation:[2,1,6,11,0,5,4,9,8,3,10,7],orientation:[1,0,1,0,1,0,1,0,0,0,0,0]},CORNERS:{permutation:[0,1,6,2,4,3,5,7],orientation:[0,0,2,1,0,2,1,0]},CENTERS:{permutation:[4,1,0,3,5,2],orientation:[2,1,0,0,2,0]}},f:{EDGES:{permutation:[9,3,2,7,8,1,6,5,0,4,10,11],orientation:[1,1,0,1,1,1,0,1,1,1,0,0]},CORNERS:{permutation:[3,1,2,5,0,4,6,7],orientation:[1,0,0,2,2,1,0,0]},CENTERS:{permutation:[1,5,2,0,4,3],orientation:[1,1,1,1,0,1]}},r:{EDGES:{permutation:[4,8,0,3,6,10,2,7,5,9,1,11],orientation:[1,0,1,0,1,0,1,0,0,0,0,0]},CORNERS:{permutation:[4,0,2,3,7,5,6,1],orientation:[2,1,0,0,1,0,0,2]},CENTERS:{permutation:[2,1,5,3,0,4],orientation:[0,0,0,1,2,2]}},b:{EDGES:{permutation:[0,5,10,1,4,7,11,3,8,9,6,2],orientation:[0,1,1,1,0,1,1,1,0,0,1,1]},CORNERS:{permutation:[0,7,1,3,4,5,2,6],orientation:[0,2,1,0,0,0,2,1]},CENTERS:{permutation:[3,0,2,5,4,1],orientation:[3,3,0,3,1,3]}},d:{EDGES:{permutation:[0,1,2,3,7,4,5,6,9,11,8,10],orientation:[0,0,0,0,0,0,0,0,1,1,1,1]},CORNERS:{permutation:[0,1,2,3,5,6,7,4],orientation:[0,0,0,0,0,0,0,0]},CENTERS:{permutation:[0,4,1,2,3,5],orientation:[0,0,0,0,0,1]}}}};Le.moves.Uw=Le.moves.u;Le.moves.Lw=Le.moves.l;Le.moves.Fw=Le.moves.f;Le.moves.Rw=Le.moves.r;Le.moves.Bw=Le.moves.b;Le.moves.Dw=Le.moves.d;Le.moves.Rv=Le.moves.x;Le.moves.Uv=Le.moves.y;Le.moves.Fv=Le.moves.z;Le.moves.Lv={EDGES:{permutation:[2,10,6,11,0,8,4,9,1,3,5,7],orientation:[1,0,1,0,1,0,1,0,0,0,0,0]},CORNERS:{permutation:[1,7,6,2,0,3,5,4],orientation:[2,1,2,1,1,2,1,2]},CENTERS:{permutation:[4,1,0,3,5,2],orientation:[2,1,0,3,2,0]}};Le.moves.Dv={EDGES:{permutation:[3,0,1,2,7,4,5,6,9,11,8,10],orientation:[0,0,0,0,0,0,0,0,1,1,1,1]},CORNERS:{permutation:[3,0,1,2,5,6,7,4],orientation:[0,0,0,0,0,0,0,0]},CENTERS:{permutation:[0,4,1,2,3,5],orientation:[3,0,0,0,0,1]}};Le.moves.Bv={EDGES:{permutation:[8,5,10,1,9,7,11,3,4,0,6,2],orientation:[1,1,1,1,1,1,1,1,1,1,1,1]},CORNERS:{permutation:[4,7,1,0,5,3,2,6],orientation:[1,2,1,2,2,1,2,1]},CENTERS:{permutation:[3,0,2,5,4,1],orientation:[3,3,3,3,1,3]}}});var ma,Xe=S(()=>{ca();hl();mo();J0();ca();ma=new Te(Le)});var $0=S(()=>{Xe()});function Im(e){switch(e){case x.Regular:return Em;case x.Dim:return Mm;case x.Ignored:return km;case x.OrientationStickers:return zm;case x.Invisible:return _m;case x.IgnoreNonPrimary:return Cm;case x.PermuteNonPrimary:return Pm;case x.Ignoriented:return Gm;case x.OrientationWithoutPermutation:return Tm}}var x,gn,kt,Ie,dn,Dl,_r,Em,km,zm,_m,Cm,Pm,Mm,Gm,Tm,po,go,ho=S(()=>{(function(s){s.Regular="Regular",s.Dim="Dim",s.Ignored="Ignored",s.OrientationStickers="OrientationStickers",s.Invisible="Invisible",s.Ignoriented="Ignoriented",s.IgnoreNonPrimary="IgnoreNonPrimary",s.PermuteNonPrimary="PermuteNonPrimary",s.OrientationWithoutPermutation="OrientationWithoutPermutation"})(x||(x={}));gn=class{constructor(t,r){this.stickerings=new Map;for(let[n,o]of Object.entries(t.definition.orbits))this.stickerings.set(n,new Array(o.numPieces).fill(r))}},kt="regular",Ie="ignored",dn="oriented",Dl="invisible",_r="dim",Em={facelets:[kt,kt,kt,kt,kt]},km={facelets:[Ie,Ie,Ie,Ie,Ie]},zm={facelets:[dn,dn,dn,dn,dn]},_m={facelets:[Dl,Dl,Dl,Dl]},Cm={facelets:[kt,Ie,Ie,Ie,Ie]},Pm={facelets:[_r,kt,kt,kt,kt]},Mm={facelets:[_r,_r,_r,_r,_r]},Gm={facelets:[_r,Ie,Ie,Ie,Ie]},Tm={facelets:[dn,Ie,Ie,Ie,Ie]};po=class extends gn{constructor(t){super(t,x.Regular)}set(t,r){for(let[n,o]of this.stickerings.entries())for(let l=0;l<o.length;l++)t.stickerings.get(n)[l]&&(o[l]=r);return this}toAppearance(){let t={orbits:{}};for(let[r,n]of this.stickerings.entries()){let o=[],l={pieces:o};t.orbits[r]=l;for(let i of n)o.push(Im(i))}return t}},go=class{constructor(t){this.kpuzzle=t}and(t){let r=new gn(this.kpuzzle,!1);for(let[n,o]of Object.entries(this.kpuzzle.definition.orbits)){e:for(let l=0;l<o.numPieces;l++){r.stickerings.get(n)[l]=!0;for(let i of t)if(!i.stickerings.get(n)[l]){r.stickerings.get(n)[l]=!1;continue e}}}return r}or(t){let r=new gn(this.kpuzzle,!1);for(let[n,o]of Object.entries(this.kpuzzle.definition.orbits)){e:for(let l=0;l<o.numPieces;l++){r.stickerings.get(n)[l]=!1;for(let i of t)if(i.stickerings.get(n)[l]){r.stickerings.get(n)[l]=!0;continue e}}}return r}not(t){let r=new gn(this.kpuzzle,!1);for(let[n,o]of Object.entries(this.kpuzzle.definition.orbits))for(let l=0;l<o.numPieces;l++)r.stickerings.get(n)[l]=!t.stickerings.get(n)[l];return r}all(){return this.and(this.moves([]))}move(t){let r=this.kpuzzle.moveToTransformation(t),n=new gn(this.kpuzzle,!1);for(let[o,l]of Object.entries(this.kpuzzle.definition.orbits))for(let i=0;i<l.numPieces;i++)(r.transformationData[o].permutation[i]!==i||r.transformationData[o].orientation[i]!==0)&&(n.stickerings.get(o)[i]=!0);return n}moves(t){return t.map(r=>this.move(r))}}});function Nm(e){(async()=>{e2=e;let t=Array.from(document.body.querySelectorAll("twisty-player"));console.log(\`Setting the custom stickering for \${t.length} players!\`);let r=[];for(let n of t)r.push((async()=>{let o=await n.experimentalModel.stickering.get();n.experimentalStickering=o==="experimental-global-custom-1"?"experimental-global-custom-2":"experimental-global-custom-1"})());await Promise.all(r),console.log("Success!")})()}function t2(e,t){e2(e,t)}var e2,r2=S(()=>{ho();e2=()=>{};globalThis.location&&new URL(location.href).searchParams.get("global-custom-stickerer")==="true"&&(window.setGlobalCustomStickerer=Nm,window.PieceStickering=x,console.log("Global custom stickerer enabled! (using: global-custom-stickerer=true)"),console.log("Look here for inspiration:","https://github.com/cubing/cubing.js/blob/81b5cab3e27d8defb39dd1e0a10bc9e8ba894d26/src/cubing/puzzles/stickerings/cube-stickerings.ts#L67"))});async function zt(e,t){let r=await e.kpuzzle(),n=new po(r),o=new go(r),l=()=>o.move("U"),i=()=>o.or(o.moves(["U","D"])),a=()=>o.not(i()),u=()=>o.or(o.moves(["L","R"])),s=()=>o.not(u()),f=()=>o.or(o.moves(["F","B"])),c=()=>o.not(f()),m=()=>o.not(l()),p=()=>o.and([l(),s(),c()]),g=()=>o.and([o.and(o.moves(["F","R"])),o.not(i())]),d=()=>o.and(o.moves(["D","R","F"])),L=()=>o.or([d(),g()]),A=()=>o.or([o.and([s(),a()]),o.and([s(),c()]),o.and([a(),c()])]),B=()=>o.or([o.and([s(),i(),f()]),o.and([a(),u(),f()]),o.and([c(),i(),u()])]),F=()=>o.not(o.or([A(),B()])),k=()=>o.or([s(),o.and([l(),B()])]);function E(){n.set(m(),x.Dim)}function j(){n.set(l(),x.PermuteNonPrimary),n.set(p(),x.Dim)}function te(){n.set(l(),x.IgnoreNonPrimary),n.set(p(),x.Regular)}function G(){n.set(l(),x.Ignoriented),n.set(p(),x.Dim)}switch(t){case"full":break;case"PLL":E(),j();break;case"CLS":E(),n.set(o.and(o.moves(["D","R","F"])),x.Regular),n.set(l(),x.Ignoriented),n.set(o.and([l(),s(),c()]),x.Dim),n.set(o.and([l(),F()]),x.IgnoreNonPrimary);break;case"OLL":E(),te();break;case"COLL":E(),j(),n.set(o.and([l(),F()]),x.Regular);break;case"OCLL":E(),G(),n.set(o.and([l(),F()]),x.IgnoreNonPrimary);break;case"CLL":E(),n.set(o.not(o.and([F(),l()])),x.Dim);break;case"ELL":E(),n.set(l(),x.Dim),n.set(o.and([l(),B()]),x.Regular);break;case"ELS":E(),te(),n.set(o.and([l(),F()]),x.Ignored),n.set(g(),x.Regular),n.set(d(),x.Ignored);break;case"LL":E();break;case"F2L":n.set(l(),x.Ignored);break;case"ZBLL":E(),n.set(l(),x.PermuteNonPrimary),n.set(p(),x.Dim),n.set(o.and([l(),F()]),x.Regular);break;case"ZBLS":E(),n.set(L(),x.Regular),te(),n.set(o.and([l(),F()]),x.Ignored);break;case"WVLS":case"VLS":E(),n.set(L(),x.Regular),te();break;case"LS":E(),n.set(L(),x.Regular),n.set(l(),x.Ignored),n.set(p(),x.Dim);break;case"EO":n.set(F(),x.Ignored),n.set(B(),x.OrientationWithoutPermutation);break;case"EOline":n.set(F(),x.Ignored),n.set(B(),x.OrientationWithoutPermutation),n.set(o.and(o.moves(["D","M"])),x.Regular);break;case"EOcross":n.set(B(),x.OrientationWithoutPermutation),n.set(o.move("D"),x.Regular),n.set(F(),x.Ignored);break;case"CMLL":n.set(m(),x.Dim),n.set(k(),x.Ignored),n.set(o.and([l(),F()]),x.Regular);break;case"L6E":n.set(o.not(k()),x.Dim);break;case"L6EO":n.set(o.not(k()),x.Dim),n.set(k(),x.OrientationWithoutPermutation),n.set(o.and([A(),i()]),x.OrientationStickers);break;case"Daisy":n.set(o.all(),x.Ignored),n.set(A(),x.Dim),n.set(o.and([o.move("D"),A()]),x.Regular),n.set(o.and([o.move("U"),B()]),x.IgnoreNonPrimary);break;case"Cross":n.set(o.all(),x.Ignored),n.set(A(),x.Dim),n.set(o.and([o.move("D"),A()]),x.Regular),n.set(o.and([o.move("D"),B()]),x.Regular);break;case"2x2x2":n.set(o.or(o.moves(["U","F","R"])),x.Ignored),n.set(o.and([o.or(o.moves(["U","F","R"])),A()]),x.Dim);break;case"2x2x3":n.set(o.all(),x.Dim),n.set(o.or(o.moves(["U","F","R"])),x.Ignored),n.set(o.and([o.or(o.moves(["U","F","R"])),A()]),x.Dim),n.set(o.and([o.move("F"),o.not(o.or(o.moves(["U","R"])))]),x.Regular);break;case"Void Cube":n.set(A(),x.Invisible);break;case"picture":case"invisible":n.set(o.all(),x.Invisible);break;case"centers-only":n.set(o.not(A()),x.Ignored);break;case"experimental-global-custom-1":case"experimental-global-custom-2":t2(n,o);break;default:console.warn(\`Unsupported stickering for \${e.id}: \${t}. Setting all pieces to dim.\`),n.set(o.and(o.moves([])),x.Dim)}return n.toAppearance()}async function hn(){return["full","PLL","CLS","OLL","COLL","OCLL","ELL","ELS","LL","F2L","ZBLL","ZBLS","WVLS","VLS","LS","EO","EOline","EOcross","CMLL","L6E","L6EO","Daisy","Cross","2x2x2","2x2x3","Void Cube","picture","invisible","centers-only"]}var Ln=S(()=>{ho();r2()});function Ne(e){let t=null;return()=>t??(t=e())}var Cr=S(()=>{});var Lo,n2=S(()=>{Lo=class{constructor(t,r){this.facenames=t;this.prefixFree=!0;this.gripnames=[];r&&(this.gripnames=r);for(let n=0;this.prefixFree&&n<t.length;n++)for(let o=0;this.prefixFree&&o<t.length;o++)n!==o&&t[n].startsWith(t[o])&&(this.prefixFree=!1)}setGripNames(t){this.gripnames=t}splitByFaceNames(t){let r=[],n=0;for(;n<t.length;){n>0&&n<t.length&&t[n]==="_"&&n++;let o=-1;for(let l=0;l<this.facenames.length;l++)t.substr(n).startsWith(this.facenames[l])&&(o<0||this.facenames[l].length>this.facenames[o].length)&&(o=l);if(o>=0)r.push(o),n+=this.facenames[o].length;else throw new Error("Could not split "+t+" into face names.")}return r}joinByFaceIndices(t){let r="",n=[];for(let o=0;o<t.length;o++)n.push(r),n.push(this.facenames[t[o]]),this.prefixFree||(r="_");return n.join("")}spinmatch(t,r){if(t===r)return!0;try{let n=this.splitByFaceNames(t),o=this.splitByFaceNames(r);if(n.length!==o.length&&n.length<3)return!1;for(let l=0;l<n.length;l++){for(let a=0;a<l;a++)if(n[l]===n[a])return!1;let i=!1;for(let a=0;a<o.length;a++)if(n[l]===o[a]){i=!0;break}if(!i)return!1}return!0}catch(n){return!1}}spinmatchv(t,r){return t.endsWith("v")&&r.endsWith("v")?this.spinmatch(t.slice(0,t.length-1),r.slice(0,r.length-1)):this.spinmatch(t,r)}unswizzle(t){(t.endsWith("v")||t.endsWith("w"))&&t[0]<="Z"&&(t=t.slice(0,t.length-1));let r=t.toUpperCase();for(let n=0;n<this.gripnames.length;n++){let o=this.gripnames[n];if(this.spinmatch(r,o))return o}return t}}});var Dn,o2=S(()=>{Dn=class{notationToInternal(t){return t}notationToExternal(t){return t}}});var Al,l2=S(()=>{De();Al=class{constructor(t,r){this.child=t;this.sw=r}notationToInternal(t){return t.family==="T"&&t.innerLayer===void 0&&t.outerLayer===void 0?new h(new P("FLRv",t.innerLayer,t.outerLayer),t.amount):this.child.notationToInternal(t)}notationToExternal(t){let r=t.family;return r.length>0&&r[r.length-1]==="v"&&(r=r.substring(0,r.length-1)),this.sw.spinmatch(r,"FLUR")?new h(new P("T",t.innerLayer,t.outerLayer),t.amount):this.child.notationToExternal(t)}}});var Do,i2=S(()=>{De();Do=class{constructor(t,r){this.internalNames=t;this.externalNames=r}convertString(t,r,n){let o="";(t.endsWith("v")||t.endsWith("v"))&&t<="_"&&(o=t.slice(t.length-1),t=t.slice(0,t.length-1));let l=t.toUpperCase(),i=!1;return t!==l&&(i=!0,t=l),t=n.joinByFaceIndices(r.splitByFaceNames(t)),i&&(t=t.toLowerCase()),t+o}convert(t,r,n){let o=t.family,l=this.convertString(o,r,n);return o===l?t:new h(new P(l,t.innerLayer,t.outerLayer),t.amount)}notationToInternal(t){return this.convert(t,this.externalNames,this.internalNames)}notationToExternal(t){return this.convert(t,this.internalNames,this.externalNames)}}});var Rl,a2=S(()=>{De();Rl=class{constructor(t){this.child=t}notationToInternal(t){if(t.innerLayer===void 0&&t.outerLayer===void 0){if(Math.abs(t.amount)===1){if(t.family==="R++")return new h(new P("L",3,2),-2*t.amount);if(t.family==="R--")return new h(new P("L",3,2),2*t.amount);if(t.family==="D++")return new h(new P("U",3,2),-2*t.amount);if(t.family==="D--")return new h(new P("U",3,2),2*t.amount);if(t.family==="R_PLUSPLUS_")return new h(new P("L",3,2),-2*t.amount);if(t.family==="D_PLUSPLUS_")return new h(new P("U",3,2),-2*t.amount)}if(t.family==="y")return new h("Uv",t.amount)}return this.child.notationToInternal(t)}notationToExternal(t){return t.family==="Uv"?new h(new P("y",t.innerLayer,t.outerLayer),t.amount):t.family==="Dv"?new h("y",-t.amount):this.child.notationToExternal(t)}}});var yl,s2=S(()=>{De();yl=class{constructor(t){this.slices=t}notationToInternal(t){let r=t.family;return!t.innerLayer&&!t.outerLayer&&(r==="x"?t=new h("Rv",t.amount):r==="y"?t=new h("Uv",t.amount):r==="z"&&(t=new h("Fv",t.amount)),(this.slices&1)==1&&(r==="E"?t=new h(new P("D",(this.slices+1)/2),t.amount):r==="M"?t=new h(new P("L",(this.slices+1)/2),t.amount):r==="S"&&(t=new h(new P("F",(this.slices+1)/2),t.amount))),this.slices>2&&(r==="e"?t=new h(new P("D",this.slices-1,2),t.amount):r==="m"?t=new h(new P("L",this.slices-1,2),t.amount):r==="s"&&(t=new h(new P("F",this.slices-1,2),t.amount)))),t}notationToExternal(t){let r=t.family;if(!t.innerLayer&&!t.outerLayer){if(r==="Rv")return new h("x",t.amount);if(r==="Uv")return new h("y",t.amount);if(r==="Fv")return new h("z",t.amount);if(r==="Lv")return new h("x",-t.amount);if(r==="Dv")return new h("y",-t.amount);if(r==="Bv")return new h("z",-t.amount)}return t}}});var Om,Wm,u2,f2,c2,Ao,Fl,m2=S(()=>{De();Om={U:"frl",L:"fld",R:"fdr",B:"dlr",u:"FRL",l:"FLD",r:"FDR",b:"DLR",Uv:"FRLv",Lv:"FLDv",Rv:"FDRv",Bv:"DLRv",D:"D",F:"F",BL:"L",BR:"R"},Wm={U:"FRL",L:"FLD",R:"FDR",B:"DLR",u:"frl",l:"fld",r:"fdr",b:"dlr",Uv:"FRLv",Lv:"FLDv",Rv:"FDRv",Bv:"DLRv",D:"D",F:"F",BL:"L",BR:"R",d:"d",f:"f",bl:"l",br:"r"},u2={U:"FRL",L:"FLD",R:"FDR",B:"DLR"},f2=new P("y"),c2=new P("Dv"),Ao=class{constructor(t){this.child=t;this.wcaHack=!1;this.map=Om}notationToInternal(t){if(this.wcaHack&&t.innerLayer===2&&t.outerLayer===null){let n=u2[t.family];if(n)return new h(new P(n,t.innerLayer,t.outerLayer),t.amount)}let r=this.map[t.family];return r?new h(new P(r,t.innerLayer,t.outerLayer),t.amount):f2.isIdentical(t.quantum)?new h(c2,-t.amount):null}notationToExternal(t){if(this.wcaHack&&t.innerLayer===2&&t.outerLayer===null){for(let[r,n]of Object.entries(u2))if(this.child.spinmatch(t.family,n))return new h(new P(r,t.innerLayer,t.outerLayer),t.amount)}for(let[r,n]of Object.entries(this.map))if(this.child.spinmatch(t.family,n))return new h(new P(r,t.innerLayer,t.outerLayer),t.amount);return c2.isIdentical(t.quantum)?new h(f2,-t.amount):null}},Fl=class extends Ao{constructor(t){super(t);this.map=Wm}}});var p2,pa,g2,Km,ga,d2,Qm,da,h2,jm,Bl,L2=S(()=>{De();p2={U:"UBL",UL:"ULF",F:"UFR",UR:"URB",B:"DBL",D:"DFR",L:"DLF",R:"DRB",Uv:"UBLv",ULv:"ULFv",Fv:"UFRv",URv:"URBv",Bv:"DBLv",Dv:"DFRv",Lv:"DLFv",Rv:"DRBv"},pa=new P("x"),g2=new P("Rv"),Km=new P("Lv"),ga=new P("y"),d2=new P("Uv"),Qm=new P("Dv"),da=new P("z"),h2=new P("Fv"),jm=new P("Bv"),Bl=class{constructor(t){this.child=t}notationToInternal(t){if(t.innerLayer||t.outerLayer)return null;let r=p2[t.family];return r?new h(new P(r,t.outerLayer,t.innerLayer),t.amount):pa.isIdentical(t.quantum)?new h(g2,t.amount):ga.isIdentical(t.quantum)?new h(d2,t.amount):da.isIdentical(t.quantum)?new h(h2,t.amount):null}notationToExternal(t){for(let[r,n]of Object.entries(p2))if(this.child.spinmatchv(t.family,n))return new h(new P(r,t.innerLayer,t.outerLayer),t.amount);return g2.isIdentical(t.quantum)?new h(pa,t.amount):Km.isIdentical(t.quantum)?new h(pa,-t.amount):d2.isIdentical(t.quantum)?new h(ga,t.amount):Qm.isIdentical(t.quantum)?new h(ga,-t.amount):h2.isIdentical(t.quantum)?new h(da,t.amount):jm.isIdentical(t.quantum)?new h(da,-t.amount):null}}});var ha=S(()=>{o2();l2();i2();a2();s2();m2();L2()});function D2(e){let t=0,r={};for(;t<e.length&&e[t][0]==="-";){let o=e[t++];if(o==="--rotations")r.addRotations=!0;else if(o==="--allmoves")r.allMoves=!0;else if(o==="--outerblockmoves")r.outerBlockMoves=!0;else if(o==="--vertexmoves")r.vertexMoves=!0;else if(o==="--nocorners")r.includeCornerOrbits=!1;else if(o==="--noedges")r.includeEdgeOrbits=!1;else if(o==="--noorientation")r.fixedOrientation=!0;else if(o==="--nocenters")r.includeCenterOrbits=!1;else if(o==="--omit")r.excludeOrbits=e[t].split(","),t++;else if(o==="--moves")r.moveList=e[t].split(","),t++;else if(o==="--optimize")r.optimizeOrbits=!0;else if(o==="--scramble")r.scrambleAmount=100;else if(o==="--fixcorner")r.fixedPieceType="v";else if(o==="--fixedge")r.fixedPieceType="e";else if(o==="--fixcenter")r.fixedPieceType="f";else if(o==="--orientcenters")r.orientCenters=!0;else if(o==="--puzzleorientation")r.puzzleOrientation=JSON.parse(e[t]),t++;else throw new Error("Bad option: "+o)}return{puzzleDescription:Ro(e.slice(t).join(" ")),options:r}}var La,Da=S(()=>{bl();La=class{constructor(t={}){this.verbosity=0;this.allMoves=!1;this.vertexMoves=!1;this.addRotations=!1;this.moveList=null;this.fixedOrientation=!1;this.fixedPieceType=null;this.orientCenters=!1;this.includeCornerOrbits=!0;this.includeCenterOrbits=!0;this.includeEdgeOrbits=!0;this.excludeOrbits=[];this.optimizeOrbits=!1;this.grayCorners=!1;this.grayCenters=!1;this.grayEdges=!1;this.puzzleOrientation=null;this.puzzleOrientations=null;this.scrambleAmount=0;Object.assign(this,t)}}});function lr(e){if(!Aa[e]){let t=Array(e);for(let r=0;r<e;r++)t[r]=0;Aa[e]=t}return Aa[e]}function _t(e){if(!Ra[e]){let t=Array(e);for(let r=0;r<e;r++)t[r]=r;Ra[e]=t}return Ra[e]}function A2(e){return new pt(_t(e))}function R2(e){let t=1;for(;e>1;)t*=e,e--;return t}function qm(e,t){if(e>t){let r=e;e=t,t=r}for(;e>0;){let r=t%e;t=e,e=r}return t}function ya(e,t){return e/qm(e,t)*t}var Aa,Ra,pt,Sl=S(()=>{Aa=[],Ra=[];pt=class{constructor(t){this.n=t.length,this.p=t}toString(){return"Perm["+this.p.join(" ")+"]"}mul(t){let r=Array(this.n);for(let n=0;n<this.n;n++)r[n]=t.p[this.p[n]];return new pt(r)}rmul(t){let r=Array(this.n);for(let n=0;n<this.n;n++)r[n]=this.p[t.p[n]];return new pt(r)}inv(){let t=Array(this.n);for(let r=0;r<this.n;r++)t[this.p[r]]=r;return new pt(t)}compareTo(t){for(let r=0;r<this.n;r++)if(this.p[r]!==t.p[r])return this.p[r]-t.p[r];return 0}toGap(){let t=new Array,r=new Array(this.n);for(let n=0;n<this.p.length;n++){if(r[n]||this.p[n]===n)continue;let o=new Array;for(let l=n;!r[l];l=this.p[l])o.push(1+l),r[l]=!0;t.push("("+o.join(",")+")")}return t.join("")}order(){let t=1,r=new Array(this.n);for(let n=0;n<this.p.length;n++){if(r[n]||this.p[n]===n)continue;let o=0;for(let l=n;!r[l];l=this.p[l])o++,r[l]=!0;t=ya(t,o)}return t}}});function Fa(e,t){let r=h.fromString(t),n=e.notationToExternal(r);return n===null||r===n?t:n.toString()}function y2(e,t){let r=e.moveops.length;if(r>30)throw new Error("Canon info too big for bitmask");let n=[],o=[];for(let i=0;i<r;i++){let a=e.moveops[i];n.push(a.order());let u=0;for(let s=0;s<r;s++){if(s===i)continue;let f=e.moveops[s];a.mul(f).equal(f.mul(a))&&(u|=1<<s)}o.push(u)}let l={};l[0]=1;for(let i=0;i<100;i++){let a=0,u={},s=0;for(let f in l){let c=+f,m=l[c];a+=m,s++;for(let p=0;p<n.length;p++)if((c>>p&1)==0&&(c&o[p]&(1<<p)-1)==0){let g=c&o[p]|1<<p;u[g]===void 0&&(u[g]=0),u[g]+=(n[p]-1)*m}}t(\`\${i}: canonseq \${a} states \${s}\`),l=u}}var yo,Vm,An,Ft,Kt,Ba,ir,Rn,ba,F2=S(()=>{De();ha();Sl();yo=class{constructor(t,r){this.size=t;this.mod=r}reassemblySize(){return R2(this.size)*Math.pow(this.mod,this.size)}},Vm=0;An=class{constructor(t,r,n,o,l){this.orbitnames=t;this.orbitdefs=r;this.solved=n;this.movenames=o;this.moveops=l}transformToKTransformationData(t){let r={};for(let n=0;n<this.orbitnames.length;n++)r[this.orbitnames[n]]=t.orbits[n].toKPuzzle();return r}static transformToKTransformationData(t,r){let n={};for(let o=0;o<t.length;o++)n[t[o]]=r.orbits[o].toKPuzzle();return n}toKsolve(t,r=new Dn){let n=[];n.push("Name "+t),n.push("");for(let o=0;o<this.orbitnames.length;o++)n.push(\`Set \${this.orbitnames[o]} \${this.orbitdefs[o].size} \${this.orbitdefs[o].mod}\`);n.push(""),n.push("Solved");for(let o=0;o<this.orbitnames.length;o++)this.solved.orbits[o].appendDefinition(n,this.orbitnames[o],!1,!1);n.push("End");for(let o=0;o<this.movenames.length;o++){n.push("");let l=Fa(r,this.movenames[o]),i=!1;l[l.length-1]==="'"&&(i=!0,l=l.substring(0,l.length-1)),n.push("Move "+l);for(let a=0;a<this.orbitnames.length;a++)i?this.moveops[o].orbits[a].inv().appendDefinition(n,this.orbitnames[a],!0):this.moveops[o].orbits[a].appendDefinition(n,this.orbitnames[a],!0);n.push("End")}return n}toKPuzzleDefinition(t){let r={},n={};for(let l=0;l<this.orbitnames.length;l++){r[this.orbitnames[l]]={numPieces:this.orbitdefs[l].size,numOrientations:this.orbitdefs[l].mod};let i=this.solved.orbits[l].toKPuzzle();n[this.orbitnames[l]]={pieces:i.permutation,orientation:i.orientation}}let o={};if(t)for(let l=0;l<this.movenames.length;l++)o[this.movenames[l]]=this.transformToKTransformationData(this.moveops[l]);return{name:\`PG3D #\${++Vm}\`,orbits:r,startStateData:n,moves:o}}optimize(){let t=[],r=[],n=[],o=[];for(let l=0;l<this.moveops.length;l++)o.push([]);for(let l=0;l<this.orbitdefs.length;l++){let i=this.orbitdefs[l].mod,a=this.orbitdefs[l].size,u=new ba(a),s=new Array(this.orbitdefs[l].size);for(let p=0;p<a;p++)s[p]=!1;for(let p=0;p<this.moveops.length;p++)for(let g=0;g<a;g++)(this.moveops[p].orbits[l].perm[g]!==g||this.moveops[p].orbits[l].ori[g]!==0)&&(s[g]=!0,u.union(g,this.moveops[p].orbits[l].perm[g]));let f=!0;if(i>1){f=!1;let p=new ba(this.orbitdefs[l].size*i);for(let g=0;g<this.moveops.length;g++)for(let d=0;d<a;d++)if(this.moveops[g].orbits[l].perm[d]!==d||this.moveops[g].orbits[l].ori[d]!==0)for(let L=0;L<i;L++)p.union(d*i+L,this.moveops[g].orbits[l].perm[d]*i+(L+this.moveops[g].orbits[l].ori[d])%i);for(let g=0;!f&&g<a;g++)for(let d=1;d<i;d++)p.find(g*i)===p.find(g*i+d)&&(f=!0);for(let g=0;!f&&g<a;g++)for(let d=0;d<g;d++)this.solved.orbits[l].perm[g]===this.solved.orbits[l].perm[d]&&(f=!0)}let c=-1,m=!1;for(let p=0;p<this.orbitdefs[l].size;p++)if(s[p]){let g=u.find(p);c<0?c=g:c!==g&&(m=!0)}for(let p=0;p<this.orbitdefs[l].size;p++){if(!s[p]||u.find(p)!==p)continue;let d=[],L=[],A=0;for(let B=0;B<this.orbitdefs[l].size;B++)u.find(B)===p&&(d[A]=B,L[B]=A,A++);if(m?t.push(\`\${this.orbitnames[l]}_p\${p}\`):t.push(this.orbitnames[l]),f){r.push(new yo(A,this.orbitdefs[l].mod)),n.push(this.solved.orbits[l].remapVS(d,A));for(let B=0;B<this.moveops.length;B++)o[B].push(this.moveops[B].orbits[l].remap(d,L,A))}else{r.push(new yo(A,1)),n.push(this.solved.orbits[l].remapVS(d,A).killOri());for(let B=0;B<this.moveops.length;B++)o[B].push(this.moveops[B].orbits[l].remap(d,L,A).killOri())}}}return new An(t,r,new Rn(n),this.movenames,o.map(l=>new ir(l)))}scramble(t){this.solved=this.solved.mul(this.getScrambleTransformation(t))}getScrambleTransformation(t){t<100&&(t=100);let r=[];for(let o=0;o<this.moveops.length;o++)r[o]=this.moveops[o];for(let o=0;o<r.length;o++){let l=Math.floor(Math.random()*r.length),i=r[o];r[o]=r[l],r[l]=i}t<r.length&&(t=r.length);for(let o=0;o<t;o++){let l=Math.floor(Math.random()*r.length),i=Math.floor(Math.random()*r.length),a=Math.floor(Math.random()*this.moveops.length);r[l]=r[l].mul(r[i]).mul(this.moveops[a]),Math.random()<.1&&(r[l]=r[l].mul(this.moveops[a]))}let n=r[0];for(let o=1;o<r.length;o++)n=n.mul(r[o]);return n}reassemblySize(){let t=1;for(let r=0;r<this.orbitdefs.length;r++)t*=this.orbitdefs[r].reassemblySize();return t}},Ft=class{constructor(t,r,n){this.perm=t;this.ori=r;this.orimod=n}static e(t,r){return new Ft(_t(t),lr(t),r)}mul(t){let r=this.perm.length,n=new Array(r);if(this.orimod===1){for(let o=0;o<r;o++)n[o]=this.perm[t.perm[o]];return new Ft(n,this.ori,this.orimod)}else{let o=new Array(r);for(let l=0;l<r;l++)n[l]=this.perm[t.perm[l]],o[l]=(this.ori[t.perm[l]]+t.ori[l])%this.orimod;return new Ft(n,o,this.orimod)}}inv(){let t=this.perm.length,r=new Array(t),n=new Array(t);for(let o=0;o<t;o++)r[this.perm[o]]=o,n[this.perm[o]]=(this.orimod-this.ori[o])%this.orimod;return new Ft(r,n,this.orimod)}equal(t){let r=this.perm.length;for(let n=0;n<r;n++)if(this.perm[n]!==t.perm[n]||this.ori[n]!==t.ori[n])return!1;return!0}killOri(){let t=this.perm.length;for(let r=0;r<t;r++)this.ori[r]=0;return this.orimod=1,this}toPerm(){let t=this.orimod;if(t===1)return new pt(this.perm);let r=this.perm.length,n=new Array(r*t);for(let o=0;o<r;o++)for(let l=0;l<t;l++)n[o*t+l]=t*this.perm[o]+(this.ori[o]+l)%t;return new pt(n)}identicalPieces(){let t=[],r=this.perm.length,n=[];for(let o=0;o<r;o++){let l=this.perm[o];if(t[l]===void 0){let i=[o];t[l]=!0;for(let a=o+1;a<r;a++)this.perm[a]===l&&i.push(a);n.push(i)}}return n}order(){return this.toPerm().order()}isIdentity(){let t=this.perm.length;if(this.perm===_t(t)&&this.ori===lr(t))return!0;for(let r=0;r<t;r++)if(this.perm[r]!==r||this.ori[r]!==0)return!1;return!0}zeroOris(){let t=this.perm.length;if(this.ori===lr(t))return!0;for(let r=0;r<t;r++)if(this.ori[r]!==0)return!1;return!0}remap(t,r,n){let o=new Array(n),l=new Array(n);for(let i=0;i<n;i++)o[i]=r[this.perm[t[i]]],l[i]=this.ori[t[i]];return new Ft(o,l,this.orimod)}remapVS(t,r){let n=new Array(r),o=new Array(r),l=0,i=[];for(let a=0;a<r;a++){let u=this.perm[t[a]];i[u]===void 0&&(i[u]=l++),n[a]=i[u],o[a]=this.ori[t[a]]}return new Ft(n,o,this.orimod)}appendDefinition(t,r,n,o=!0){if(!(o&&this.isIdentity())&&(t.push(r),t.push(this.perm.map(l=>l+1).join(" ")),!this.zeroOris()))if(n){let l=new Array(this.ori.length);for(let i=0;i<l.length;i++)l[this.perm[i]]=this.ori[i];t.push(l.join(" "))}else t.push(this.ori.join(" "))}toKPuzzle(){let t=this.perm.length;return this.isIdentity()?(Ft.kcache[t]||(Ft.kcache[t]={permutation:_t(t),orientation:lr(t)}),Ft.kcache[t]):{permutation:this.perm,orientation:this.ori}}},Kt=Ft;Kt.kcache=[];Ba=class{constructor(t){this.orbits=t}internalMul(t){let r=[];for(let n=0;n<this.orbits.length;n++)r.push(this.orbits[n].mul(t.orbits[n]));return r}internalInv(){let t=[];for(let r of this.orbits)t.push(r.inv());return t}equal(t){for(let r=0;r<this.orbits.length;r++)if(!this.orbits[r].equal(t.orbits[r]))return!1;return!0}killOri(){for(let t of this.orbits)t.killOri();return this}toPerm(){let t=new Array,r=0;for(let o of this.orbits){let l=o.toPerm();t.push(l),r+=l.n}let n=new Array(r);r=0;for(let o of t){for(let l=0;l<o.n;l++)n[r+l]=r+o.p[l];r+=o.n}return new pt(n)}identicalPieces(){let t=[],r=0;for(let n of this.orbits){let o=n.orimod,l=n.identicalPieces();for(let i=0;i<l.length;i++)t.push(l[i].map(a=>a*o+r));r+=o*n.perm.length}return t}order(){let t=1;for(let r of this.orbits)t=ya(t,r.order());return t}},ir=class extends Ba{constructor(t){super(t)}mul(t){return new ir(this.internalMul(t))}mulScalar(t){if(t===0)return this.e();let r=this;for(t<0&&(r=r.inv(),t=-t);(t&1)==0;)r=r.mul(r),t>>=1;if(t===1)return r;let n=r,o=this.e();for(;t>0;)t&1&&(o=o.mul(n)),t>1&&(n=n.mul(n)),t>>=1;return o}inv(){return new ir(this.internalInv())}e(){return new ir(this.orbits.map(t=>Kt.e(t.perm.length,t.orimod)))}},Rn=class extends Ba{constructor(t){super(t)}mul(t){return new Rn(this.internalMul(t))}},ba=class{constructor(t){this.n=t;this.heads=new Array(t);for(let r=0;r<t;r++)this.heads[r]=r}find(t){let r=this.heads[t];return this.heads[r]===r||(r=this.find(this.heads[r]),this.heads[t]=r),r}union(t,r){let n=this.find(t),o=this.find(r);n<o?this.heads[o]=n:n>o&&(this.heads[n]=o)}}});var xl,B2=S(()=>{xl={"2x2x2":"c f 0","3x3x3":"c f 0.333333333333333","4x4x4":"c f 0.5 f 0","5x5x5":"c f 0.6 f 0.2","6x6x6":"c f 0.666666666666667 f 0.333333333333333 f 0","7x7x7":"c f 0.714285714285714 f 0.428571428571429 f 0.142857142857143","8x8x8":"c f 0.75 f 0.5 f 0.25 f 0","9x9x9":"c f 0.777777777777778 f 0.555555555555556 f 0.333333333333333 f 0.111111111111111","10x10x10":"c f 0.8 f 0.6 f 0.4 f 0.2 f 0","11x11x11":"c f 0.818181818181818 f 0.636363636363636 f 0.454545454545455 f 0.272727272727273 f 0.0909090909090909","12x12x12":"c f 0.833333333333333 f 0.666666666666667 f 0.5 f 0.333333333333333 f 0.166666666666667 f 0","13x13x13":"c f 0.846153846153846 f 0.692307692307692 f 0.538461538461538 f 0.384615384615385 f 0.230769230769231 f 0.0769230769230769","20x20x20":"c f 0 f .1 f .2 f .3 f .4 f .5 f .6 f .7 f .8 f .9","30x30x30":"c f 0 f .066667 f .133333 f .2 f .266667 f .333333 f .4 f .466667 f .533333 f .6 f .666667 f .733333 f .8 f .866667 f .933333","40x40x40":"c f 0 f .05 f .1 f .15 f .2 f .25 f .3 f .35 f .4 f .45 f .5 f .55 f .6 f .65 f .7 f .75 f .8 f .85 f .9 f .95",skewb:"c v 0","master skewb":"c v 0.275","professor skewb":"c v 0 v 0.38","compy cube":"c v 0.915641442663986",helicopter:"c e 0.707106781186547","curvy copter":"c e 0.83",dino:"c v 0.577350269189626","little chop":"c e 0",pyramorphix:"t e 0",mastermorphix:"t e 0.346184634065199",pyraminx:"t v 0.333333333333333 v 1.66666666666667",tetraminx:"t v 0.333333333333333","master pyraminx":"t v 0 v 1 v 2","master tetraminx":"t v 0 v 1","professor pyraminx":"t v -0.2 v 0.6 v 1.4 v 2.2","professor tetraminx":"t v -0.2 v 0.6 v 1.4","Jing pyraminx":"t f 0","master pyramorphix":"t e 0.866025403784437",megaminx:"d f 0.7",gigaminx:"d f 0.64 f 0.82",teraminx:"d f 0.64 f 0.76 f 0.88",petaminx:"d f 0.64 f 0.73 f 0.82 f 0.91",examinx:"d f 0.64 f 0.712 f 0.784 f 0.856 f 0.928",zetaminx:"d f 0.64 f 0.7 f 0.76 f 0.82 f 0.88 f 0.94",yottaminx:"d f 0.64 f 0.6914 f 0.7429 f 0.7943 f 0.8457 f 0.8971 f 0.9486",pentultimate:"d f 0","master pentultimate":"d f 0.1","elite pentultimate":"d f 0 f 0.145905",starminx:"d v 0.937962370425399","starminx 2":"d f 0.23606797749979","pyraminx crystal":"d f 0.447213595499989",chopasaurus:"d v 0","big chop":"d e 0","skewb diamond":"o f 0",FTO:"o f 0.333333333333333","master FTO":"o f 0.5 f 0","Christopher's jewel":"o v 0.577350269189626",octastar:"o e 0","Trajber's octahedron":"o v 0.433012701892219","radio chop":"i f 0",icosamate:"i v 0","icosahedron 2":"i v 0.18759247376021","icosahedron 3":"i v 0.18759247376021 e 0","icosahedron static faces":"i v 0.84","icosahedron moving faces":"i v 0.73","Eitan's star":"i f 0.61803398874989","2x2x2 + dino":"c f 0 v 0.577350269189626","2x2x2 + little chop":"c f 0 e 0","dino + little chop":"c v 0.577350269189626 e 0","2x2x2 + dino + little chop":"c f 0 v 0.577350269189626 e 0","megaminx + chopasaurus":"d f 0.61803398875 v 0","starminx combo":"d f 0.23606797749979 v 0.937962370425399"}});function wl(e){let t=new O(0,0,0,0);for(let r=0;r<e.length;r++)t=t.sum(e[r]);return t.smul(1/e.length)}function b2(e,t,r,n){let o=n[e].intersect3(n[t],n[r]);if(!o)return o;for(let l=0;l<n.length;l++)if(l!==e&&l!==t&&l!==r){let i=n[l].b*o.b+n[l].c*o.c+n[l].d*o.d;if(n[l].a>0&&i>n[l].a||n[l].a<0&&i<n[l].a)return!1}return o}var Pr,O,vl=S(()=>{Pr=1e-9;O=class{constructor(t,r,n,o){this.a=t;this.b=r;this.c=n;this.d=o}mul(t){return new O(this.a*t.a-this.b*t.b-this.c*t.c-this.d*t.d,this.a*t.b+this.b*t.a+this.c*t.d-this.d*t.c,this.a*t.c-this.b*t.d+this.c*t.a+this.d*t.b,this.a*t.d+this.b*t.c-this.c*t.b+this.d*t.a)}toString(){return\`Q[\${this.a},\${this.b},\${this.c},\${this.d}]\`}dist(t){return Math.hypot(this.a-t.a,this.b-t.b,this.c-t.c,this.d-t.d)}len(){return Math.hypot(this.a,this.b,this.c,this.d)}cross(t){return new O(0,this.c*t.d-this.d*t.c,this.d*t.b-this.b*t.d,this.b*t.c-this.c*t.b)}dot(t){return this.b*t.b+this.c*t.c+this.d*t.d}normalize(){let t=Math.sqrt(this.dot(this));return new O(this.a/t,this.b/t,this.c/t,this.d/t)}makenormal(){return new O(0,this.b,this.c,this.d).normalize()}normalizeplane(){let t=Math.hypot(this.b,this.c,this.d);return new O(this.a/t,this.b/t,this.c/t,this.d/t)}smul(t){return new O(this.a*t,this.b*t,this.c*t,this.d*t)}sum(t){return new O(this.a+t.a,this.b+t.b,this.c+t.c,this.d+t.d)}sub(t){return new O(this.a-t.a,this.b-t.b,this.c-t.c,this.d-t.d)}angle(){return 2*Math.acos(this.a)}invrot(){return new O(this.a,-this.b,-this.c,-this.d)}det3x3(t,r,n,o,l,i,a,u,s){return t*(l*s-i*u)+r*(i*a-o*s)+n*(o*u-l*a)}rotateplane(t){let r=t.mul(new O(0,this.b,this.c,this.d)).mul(t.invrot());return r.a=this.a,r}orthogonal(){let t=Math.abs(this.b),r=Math.abs(this.c),n=Math.abs(this.d);return t<r&&t<n?this.cross(new O(0,1,0,0)).normalize():r<t&&r<n?this.cross(new O(0,0,1,0)).normalize():this.cross(new O(0,0,0,1)).normalize()}pointrotation(t){let r=this.normalize();if(t=t.normalize(),r.sub(t).len()<Pr)return new O(1,0,0,0);let n=r.sum(t);n.len()<Pr?n=n.orthogonal():n=n.normalize();let o=r.cross(n);return o.a=r.dot(n),o}unproject(t){return this.sum(t.smul(-this.dot(t)/(this.len()*t.len())))}rotatepoint(t){return t.mul(this).mul(t.invrot())}rotateface(t){return t.map(r=>r.rotatepoint(this))}intersect3(t,r){let n=this.det3x3(this.b,this.c,this.d,t.b,t.c,t.d,r.b,r.c,r.d);return Math.abs(n)<Pr?!1:new O(0,this.det3x3(this.a,this.c,this.d,t.a,t.c,t.d,r.a,r.c,r.d)/n,this.det3x3(this.b,this.a,this.d,t.b,t.a,t.d,r.b,r.a,r.d)/n,this.det3x3(this.b,this.c,this.a,t.b,t.c,t.a,r.b,r.c,r.a)/n)}side(t){return t>Pr?1:t<-Pr?-1:0}cutface(t){let r=this.a,n=0,o=null;for(let l=0;l<t.length;l++)n|=1<<this.side(t[l].dot(this)-r)+1;if((n&5)==5){o=[];let l=t.map(i=>this.side(i.dot(this)-r));for(let i=-1;i<=1;i+=2){let a=[];for(let u=0;u<t.length;u++){(l[u]===i||l[u]===0)&&a.push(t[u]);let s=(u+1)%t.length;if(l[u]+l[s]===0&&l[u]!==0){let f=t[u].dot(this)-r,c=t[s].dot(this)-r,m=f/(f-c),p=t[u].smul(1-m).sum(t[s].smul(m));a.push(p)}}o.push(a)}}return o}cutfaces(t){let r=[];for(let n=0;n<t.length;n++){let o=t[n],l=this.cutface(o);l?(r.push(l[0]),r.push(l[1])):r.push(o)}return r}faceside(t){let r=this.a;for(let n=0;n<t.length;n++){let o=this.side(t[n].dot(this)-r);if(o!==0)return o}throw new Error("Could not determine side of plane in faceside")}sameplane(t){let r=this.normalize(),n=t.normalize();return r.dist(n)<Pr||r.dist(n.smul(-1))<Pr}makecut(t){return new O(t,this.b,this.c,this.d)}}});function S2(){let e=Math.sqrt(.5);return[new O(e,e,0,0),new O(e,0,e,0)]}function x2(){return[new O(.5,.5,.5,.5),new O(.5,.5,.5,-.5)]}function w2(){let e=2*Math.PI/10,t=.5+.3*Math.sqrt(5),r=.5+.1*Math.sqrt(5),n=Math.sqrt(t*t+r*r);return t/=n,r/=n,[new O(Math.cos(e),t*Math.sin(e),r*Math.sin(e),0),new O(.5,.5,.5,.5)]}function v2(){let e=1/6+Math.sqrt(5)/6,t=2/3+Math.sqrt(5)/3,r=Math.sqrt(e*e+t*t);e/=r,t/=r;let n=2*Math.PI/6;return[new O(Math.cos(n),e*Math.sin(n),t*Math.sin(n),0),new O(Math.cos(n),-e*Math.sin(n),t*Math.sin(n),0)]}function U2(){let e=Math.sqrt(.5);return[new O(.5,.5,.5,.5),new O(e,0,0,e)]}function E2(e){let t=[new O(1,0,0,0)];for(let r=0;r<t.length;r++)for(let n=0;n<e.length;n++){let o=e[n].mul(t[r]),l=o.smul(-1),i=!1;for(let a=0;a<t.length;a++)if(o.dist(t[a])<Ul||l.dist(t[a])<Ul){i=!0;break}i||t.push(o)}return t}function Sa(e,t){let r=[],n=[];for(let o=0;o<t.length;o++){let l=e.rotateplane(t[o]),i=!1;for(let a=0;a<r.length;a++)if(l.dist(r[a])<Ul){i=!0;break}i||(r.push(l),n.push(t[o]))}return n}function xa(e){let t=[];for(let r=1;r<e.length;r++)for(let n=r+1;n<e.length;n++){let o=b2(0,r,n,e);if(o){let l=!1;for(let i=0;i<t.length;i++)if(o.dist(t[i])<Ul){l=!0;break}l||t.push(o)}}for(;;){let r=!1;for(let n=0;n<t.length;n++){let o=(n+1)%t.length;if(e[0].dot(t[n].cross(t[o]))<0){let l=t[n];t[n]=t[o],t[o]=l,r=!0}}if(!r)break}return t}var Ul,k2=S(()=>{vl();Ul=1e-9});function El(e,t){let r=e[0].p.length,n=A2(r),o=[],l=[],i=[],a=[],u=[];function s(p){for(let g=p.p.length-1;g>=0;g--){let d=p.p[g];if(d!==g){if(!o[g][d])return!1;p=p.mul(l[g][d])}}return!0}function f(p,g,d){a[p].push(g),u[p].push(d);for(let L=0;L<o[p].length;L++)o[p][L]&&c(p,o[p][L].mul(g),d+i[p][L])}function c(p,g,d){let L=g.p[p];if(!o[p][L]){o[p][L]=g,l[p][L]=g.inv(),i[p][L]=d;for(let B=0;B<a[p].length;B++)c(p,g.mul(a[p][B]),d+u[p][B]);return}let A=g.mul(l[p][L]);s(A)||f(p-1,A,d+i[p][L])}function m(){o=[],l=[],a=[],i=[],u=[];for(let d=0;d<r;d++)o.push([]),l.push([]),i.push([]),a.push([]),u.push([]),o[d][d]=n,l[d][d]=n,i[d][d]=0;let p=0,g=1;for(let d=0;d<e.length;d++){f(r-1,e[d],1),g=1;let L=0,A=0,B=[],F=new z2;for(let k=0;k<r;k++){let E=0,j=0;for(let G=0;G<r;G++)o[k][G]&&(E++,j+=i[k][G],k!==G&&p++);L+=a[k].length,g*=E,E>1&&F.multiply(E);let te=j/E;B.push(te),A+=te}t(\`\${d}: sz \${g} T \${L} sol \${A} none \${p} mults \${F.toString()}\`)}return g}return m()}var z2,wa=S(()=>{Sl();z2=class{constructor(){this.mult=[]}multiply(t){for(let r=2;r*r<=t;r++)for(;t%r==0;)this.mult[r]!==void 0?this.mult[r]++:this.mult[r]=1,t/=r;t>1&&(this.mult[t]!==void 0?this.mult[t]++:this.mult[t]=1)}toString(){let t="";for(let r=0;r<this.mult.length;r++)this.mult[r]!==void 0&&(t!==""&&(t+="*"),t+=r,this.mult[r]>1&&(t+=\`^\${this.mult[r]}\`));return t}}});function va(e){return e}function Ua(e){}function Hm(e,t){let r=[];for(let n of e)for(let o of t)r.push(o.rotate(n));return r}function Zm(){return{4:[["F","D","L","R"]],6:[["F","D","L","U","R"],["R","F","","B",""]],8:[["F","D","L","R"],["D","F","BR",""],["BR","D","","BB"],["BB","BR","U","BL"]],12:[["U","F","","","",""],["F","U","R","C","A","L"],["R","F","","","E",""],["E","R","","BF","",""],["BF","E","BR","BL","I","D"]],20:[["R","C","F","E"],["F","R","L","U"],["L","F","A",""],["E","R","G","I"],["I","E","S","H"],["S","I","J","B"],["B","S","K","D"],["K","B","M","O"],["O","K","P","N"],["P","O","Q",""]]}}function Jm(){return{4:{F:"#00ff00",D:"#ffff00",L:"#ff0000",R:"#0000ff"},6:{U:"#ffffff",F:"#00ff00",R:"#ff0000",D:"#ffff00",B:"#0000ff",L:"#ff8000"},8:{U:"#ffffff",F:"#ff0000",R:"#00bb00",D:"#ffff00",BB:"#1122ff",L:"#9524c5",BL:"#ff8800",BR:"#aaaaaa"},12:{U:"#ffffff",F:"#006633",R:"#ff0000",C:"#ffffd0",A:"#3399ff",L:"#660099",E:"#ff66cc",BF:"#99ff00",BR:"#0000ff",BL:"#ffff00",I:"#ff6633",D:"#999999"},20:{R:"#db69f0",C:"#178fde",F:"#23238b",E:"#9cc726",L:"#2c212d",U:"#177fa7",A:"#e0de7f",G:"#2b57c0",I:"#41126b",S:"#4b8c28",H:"#7c098d",J:"#7fe7b4",B:"#85fb74",K:"#3f4bc3",D:"#0ff555",M:"#f1c2c8",O:"#58d340",P:"#c514f2",N:"#14494e",Q:"#8b1be1"}}}function $m(){return{4:["F","D","L","R"],6:["U","D","F","B","L","R"],8:["F","BB","D","U","BR","L","R","BL"],12:["L","E","F","BF","R","I","U","D","BR","A","BL","C"],20:["L","S","E","O","F","B","I","P","R","K","U","D","J","A","Q","H","G","N","M","C"]}}function ep(){return{4:[["FLR",[0,1,0]],["F",[0,0,1]]],6:[["U",[0,1,0]],["F",[0,0,1]]],8:[["U",[0,1,0]],["F",[0,0,1]]],12:[["U",[0,1,0]],["F",[0,0,1]]],20:[["GUQMJ",[0,1,0]],["F",[0,0,1]]]}}function kl(e,t){for(let r=0;r<e.length;r++)if(e[r][0].dist(t)<Se)return r;throw new Error("Element not found")}function _2(){return xl}function C2(e){return xl[e]}function Ro(e){let t=e.split(/ /).filter(Boolean);if(t.length%2==0)return null;let r=t[0];if(r!=="o"&&r!=="c"&&r!=="i"&&r!=="d"&&r!=="t")return null;let n=[];for(let o=1;o<t.length;o+=2){if(t[o]!=="f"&&t[o]!=="v"&&t[o]!=="e")return null;n.push({cutType:t[o],distance:parseFloat(t[o+1])})}return{shape:r,cuts:n}}function Ea(e,t={}){let r=Ro(e);if(r===null)throw new Error("Could not parse the puzzle description");let n=new _l(r,Object.assign({},{allMoves:!0},t));return n.allstickers(),n.genperms(),n}function Fn(e,t){return Ea(xl[e],t)}function tp(e,t,r){let n=!1;r-t[1]<t[0]&&(e=[e[2],e[3],e[0],e[1]],t=[r-t[1],r-t[0]],n=!0);let o=e[0],l="";if(t[0]===0&&t[1]===r)o=o+"v";else if(t[0]===t[1])t[1]>0&&(l=String(t[1]+1));else if(t[0]===0)o=o.toLowerCase(),t[1]>1&&(l=String(t[1]+1));else throw\`We only support slice and outer block moves right now. \${t}\`;return[l+o,n]}function rp(e,t){let r=[],n=0;for(;n<e.length;){n>0&&n<e.length&&e[n]==="_"&&n++;let o="";for(let l of t)e.substr(n).startsWith(l[1])&&l[1].length>o.length&&(o=l[1]);if(o!=="")r.push(o),n+=o.length;else throw new Error("Could not split "+e+" into face names.")}return r}function zl(e,t){return[e.b/t,-e.c/t,e.d/t]}function ka(e,t){let r=[],n=e.length;for(let o=0;o<n;o++){let l=zl(e.get(n-o-1),t);r[3*o]=l[0],r[3*o+1]=l[1],r[3*o+2]=l[2]}return r}var yn,Fo,Se,Ym,Xm,_l,Mr,bl=S(()=>{De();n2();ha();Da();Sl();F2();B2();k2();vl();wa();yn=class{constructor(t){this.coords=new Array(t.length*3);for(let r=0;r<t.length;r++)this.coords[3*r]=t[r].b,this.coords[3*r+1]=t[r].c,this.coords[3*r+2]=t[r].d;this.length=t.length}get(t){return new O(0,this.coords[3*t],this.coords[3*t+1],this.coords[3*t+2])}centermass(){let t=0,r=0,n=0;for(let o=0;o<this.length;o++)t+=this.coords[3*o],r+=this.coords[3*o+1],n+=this.coords[3*o+2];return new O(0,t/this.length,r/this.length,n/this.length)}rotate(t){let r=[];for(let n=0;n<this.length;n++)r.push(this.get(n).rotatepoint(t));return new yn(r)}rotateforward(){let t=[];for(let r=1;r<this.length;r++)t.push(this.get(r));return t.push(this.get(0)),new yn(t)}},Fo=class{constructor(t,r,n){this.face=t;this.left=r;this.right=n}split(t){let r=t.cutface(this.face);return r!==null&&(this.left===void 0?(this.left=new Fo(r[0]),this.right=new Fo(r[1])):(this.left=this.left?.split(t),this.right=this.right?.split(t))),this}collect(t,r){return this.left===void 0?t.push(new yn(this.face)):r?(this.left?.collect(t,!1),this.right?.collect(t,!0)):(this.right?.collect(t,!1),this.left?.collect(t,!0)),t}};Se=1e-9,Ym="PuzzleGeometry 0.1 Copyright 2018 Tomas Rokicki.",Xm=!1;_l=class{constructor(t,r){this.puzzleDescription=t;this.cmovesbyslice=[];this.duplicatedFaces=[];this.duplicatedCubies=[];this.fixedCubie=-1;this.net=[];this.colors=[];this.faceorder=[];this.faceprecedence=[];this.notationMapper=new Dn;this.addNotationMapper="";this.setReidOrder=!1;let n=va("genperms");this.options=new La(r),this.options.verbosity>0&&console.log(this.header("# ")),this.create(t),Ua(n)}create(t){let{shape:r,cuts:n}=t;this.moveplanes=[],this.moveplanes2=[],this.faces=[],this.cubies=[];let o=null;switch(r){case"c":o=S2();break;case"o":o=U2();break;case"i":o=v2();break;case"t":o=x2();break;case"d":o=w2();break;default:throw new Error("Bad shape argument: "+r)}this.rotations=E2(o),this.options.verbosity&&console.log("# Rotations: "+this.rotations.length);let l=o[0];this.baseplanerot=Sa(l,this.rotations);let i=this.baseplanerot.map(y=>l.rotateplane(y));this.baseplanes=i,this.baseFaceCount=i.length;let a=Zm()[i.length];this.net=a,this.colors=Jm()[i.length],this.faceorder=$m()[i.length],this.options.verbosity>0&&console.log("# Base planes: "+i.length);let u=xa(i),s=new O(0,0,0,0);this.options.verbosity>0&&console.log("# Face vertices: "+u.length);let f=i[0].makenormal(),c=u[0].sum(u[1]).makenormal(),m=u[0].makenormal(),p=new O(1,f.b,f.c,f.d);this.options.verbosity>0&&console.log("# Boundary is "+p);let d=Sa(p,this.rotations).map(y=>p.rotateplane(y)),L=xa(d);this.edgedistance=L[0].sum(L[1]).smul(.5).dist(s),this.vertexdistance=L[0].dist(s);let A=[],B=[],F=!1,k=!1,E=!1;for(let y of n){let U=null,I=0;switch(y.cutType){case"f":U=f,I=1,F=!0;break;case"v":U=m,I=this.vertexdistance,E=!0;break;case"e":U=c,I=this.edgedistance,k=!0;break;default:throw new Error("Bad cut argument: "+y.cutType)}A.push(U.makecut(y.distance)),B.push(y.distance<I)}this.options.addRotations&&(F||A.push(f.makecut(10)),E||A.push(m.makecut(10)),k||A.push(c.makecut(10))),this.basefaces=[];for(let y of this.baseplanerot){let U=y.rotateface(L);this.basefaces.push(new yn(U))}let j=[],te=[],G=[],oe=[],b=L.length;function _(y,U,I){for(let K of y)if(K[0].dist(U)<Se){K.push(I);return}y.push([U,I])}for(let y=0;y<this.baseplanerot.length;y++){let U=this.baseplanerot[y].rotateface(L);for(let I=0;I<U.length;I++){let K=(I+1)%U.length,le=U[I].sum(U[K]).smul(.5);_(oe,le,y)}}let M=[];for(let y=0;y<this.baseplanerot.length;y++){let U=this.baseplanerot[y].rotateface(L),I=[];for(let K=0;K<U.length;K++){let le=(K+1)%U.length,Qe=U[K].sum(U[le]).smul(.5),at=oe[kl(oe,Qe)];if(y===at[1])I.push(at[2]);else if(y===at[2])I.push(at[1]);else throw new Error("Could not find edge")}M.push(I)}let w={},v=[];v.push(a[0][0]),w[a[0][0]]=0,v[M[0][0]]=a[0][1],w[a[0][1]]=M[0][0];for(let y of a){let U=y[0],I=w[U];if(I===void 0)throw new Error("Bad edge description; first edge not connected");let K=-1;for(let le=0;le<M[I].length;le++){let Qe=v[M[I][le]];if(Qe!==void 0&&Qe===y[1]){K=le;break}}if(K<0)throw new Error("First element of a net not known");for(let le=2;le<y.length;le++){if(y[le]==="")continue;let Qe=M[I][(le+K-1)%b],at=v[Qe];if(at!==void 0&&at!==y[le])throw new Error("Face mismatch in net");v[Qe]=y[le],w[y[le]]=Qe}}for(let y=0;y<v.length;y++){let U=!1;for(let I=0;I<this.faceorder.length;I++)if(v[y]===this.faceorder[I]){this.faceprecedence[y]=I,U=!0;break}if(!U)throw new Error("Could not find face "+v[y]+" in face order list "+this.faceorder)}for(let y=0;y<this.baseplanerot.length;y++){let U=this.baseplanerot[y].rotateface(L),I=p.rotateplane(this.baseplanerot[y]),K=v[y];j.push([U,K]),te.push([I,K])}for(let y=0;y<this.baseplanerot.length;y++){let U=this.baseplanerot[y].rotateface(L),I=v[y];for(let K=0;K<U.length;K++){let le=(K+1)%U.length,Qe=U[K].sum(U[le]).smul(.5),at=(K+2)%U.length,$c=U[le].sum(U[at]).smul(.5),em=kl(oe,Qe),tm=kl(oe,$c);_(G,U[le],[I,tm,em])}}this.swizzler=new Lo(j.map(y=>y[1]));let C=this.swizzler.prefixFree?"":"_";for(let y=0;y<oe.length;y++){if(oe[y].length!==3)throw new Error("Bad length in edge names "+oe[y]);let U=v[oe[y][1]],I=v[oe[y][2]];this.faceprecedence[oe[y][1]]<this.faceprecedence[oe[y][2]]?U=U+C+I:U=I+C+U,oe[y]=[oe[y][0],U]}for(let y=0;y<G.length;y++){if(G[y].length<4)throw new Error("Bad length in vertex names");let U=1;for(let K=2;K<G[y].length;K++)this.faceprecedence[w[G[y][K][0]]]<this.faceprecedence[w[G[y][U][0]]]&&(U=K);let I="";for(let K=1;K<G[y].length;K++){K===1?I=G[y][U][0]:I=I+C+G[y][U][0];for(let le=1;le<G[y].length;le++)if(G[y][U][1]===G[y][le][2]){U=le;break}}G[y]=[G[y][0],I]}this.options.verbosity>1&&(console.log("# Face precedence list: "+this.faceorder.join(" ")),console.log("# Face names: "+j.map(y=>y[1]).join(" ")),console.log("# Edge names: "+oe.map(y=>y[1]).join(" ")),console.log("# Vertex names: "+G.map(y=>y[1]).join(" ")));let Q=[];for(let y of te)Q.push([y[0].makenormal(),y[1],"f"]);for(let y of oe)Q.push([y[0].makenormal(),y[1],"e"]);for(let y of G)Q.push([y[0].makenormal(),y[1],"v"]);this.facenames=j,this.faceplanes=te,this.edgenames=oe,this.vertexnames=G,this.geonormals=Q;let X=Q.map(y=>y[1]);this.swizzler.setGripNames(X),this.options.verbosity>0&&console.log("# Distances: face "+1+" edge "+this.edgedistance+" vertex "+this.vertexdistance);for(let y=0;y<A.length;y++)for(let U of this.rotations){let I=A[y].rotateplane(U),K=!1;for(let le of this.moveplanes)if(I.sameplane(le)){K=!0;break}K||(this.moveplanes.push(I),B[y]&&this.moveplanes2.push(I))}let me=new Fo(L),de=this.moveplanes2.slice(),Fe=31;for(let y=0;y<de.length;y++){let U=y+Math.floor((de.length-y)*(Fe/65536));me=me.split(de[U]),de[U]=de[y],Fe=(Fe*1657+101)%65536}let Be=me.collect([],!0);this.faces=Be,this.options.verbosity>0&&console.log("# Faces is now "+Be.length),this.stickersperface=Be.length;let Et=[],ze=wl(L);for(let y of this.rotations){let U=y.rotateface(L);ze.dist(wl(U))<Se&&Et.push(y)}let et=new Array(Be.length),we=[];for(let y=0;y<Be.length;y++){let U=Be[y].centermass();we.push([ze.dist(U),U,y])}we.sort((y,U)=>y[0]-U[0]);for(let y=0;y<Be.length;y++){let U=we[y][2];if(!et[U]){et[U]=!0;for(let I of Et){let K=Be[U].rotate(I),le=K.centermass();for(let Qe=y+1;Qe<Be.length&&!(we[Qe][0]-we[y][0]>Se);Qe++){let at=we[Qe][2];if(!et[at]&&le.dist(we[Qe][1])<Se){et[at]=!0,Be[at]=K;break}}}}}this.shortedge=1e99;for(let y of Be)for(let U=0;U<y.length;U++){let I=(U+1)%y.length,K=y.get(U).dist(y.get(I));K<this.shortedge&&(this.shortedge=K)}this.options.verbosity>0&&console.log("# Short edge is "+this.shortedge),r==="c"&&F&&!k&&!E&&(this.addNotationMapper="NxNxNCubeMapper",this.setReidOrder=!0),r==="c"&&E&&!F&&!k&&(this.addNotationMapper="SkewbMapper"),r==="t"&&(E||F)&&!k&&(this.addNotationMapper="PyraminxOrTetraminxMapper"),r==="o"&&F&&(this.notationMapper=new Do(this.swizzler,new Lo(["F","D","L","BL","R","U","BR","B"])),!k&&!E&&(this.addNotationMapper="FTOMapper")),r==="d"&&F&&(this.addNotationMapper="MegaminxMapper",this.notationMapper=new Do(this.swizzler,new Lo(["U","F","L","BL","BR","R","FR","FL","DL","B","DR","D"])))}keyface(t){return this.keyface2(t.centermass())}keyface2(t){let r="",n=String.fromCharCode;for(let o of this.moveplanesets)if(o.length>0){let l=t.dot(o[0]),i=0,a=1;for(;a*2<=o.length;)a*=2;for(;a>0;a>>=1)i+a<=o.length&&l>o[i+a-1].a&&(i+=a);if(i<47)r=r+n(33+i);else if(i<47+47*47)r=r+n(33+47+Math.floor(i/47)-1)+n(33+i%47);else if(i<47+47*47+47*47*47)r=r+n(33+47+Math.floor((i-47)/(47*47)-1))+n(33+47+Math.floor((i-47)/47)%47)+n(33+i%47);else throw Error("Too many slices for cubie encoding")}return r}keyface3(t){let r=t.centermass(),n=[];for(let o of this.moveplanesets)if(o.length>0){let l=r.dot(o[0]),i=0,a=1;for(;a*2<=o.length;)a*=2;for(;a>0;a>>=1)i+a<=o.length&&l>o[i+a-1].a&&(i+=a);n.push(i)}return n}findface(t){let r=this.keyface2(t),n=this.facelisthash.get(r);if(n.length===1)return n[0];for(let o=0;o+1<n.length;o++){let l=this.facelisthash.get(r)[o];if(Math.abs(t.dist(this.facecentermass[l]))<Se)return l}return n[n.length-1]}project2d(t,r,n){let o=this.facenames[t][0],l=(r+1)%o.length,i=this.baseplanes[t],a=o[l].sub(o[r]),u=a.len();a=a.normalize();let s=a.cross(i).normalize(),f=n[1].sub(n[0]),c=f.len()/u;f=f.normalize();let m=f.b,p=f.c,g=a.smul(m).sub(s.smul(p)).smul(c),d=s.smul(m).sum(a.smul(p)).smul(c),L=new O(0,n[0].b-g.dot(o[r]),n[0].c-d.dot(o[r]),0);return[g,d,L]}allstickers(){let t=va("allstickers");this.faces=Hm(this.baseplanerot,this.faces),this.options.verbosity>0&&console.log("# Total stickers is now "+this.faces.length),this.facecentermass=new Array(this.faces.length);for(let b=0;b<this.faces.length;b++)this.facecentermass[b]=this.faces[b].centermass();let r=[],n=[];for(let b of this.moveplanes){let _=b.makenormal(),M=!1;for(let w of n)_.sameplane(w.makenormal())&&(M=!0);M||(n.push(_),r.push([]))}for(let b of this.moveplanes2){let _=b.makenormal();for(let M=0;M<n.length;M++)if(_.sameplane(n[M])){r[M].push(b);break}}for(let b=0;b<r.length;b++){let _=r[b].map(w=>w.normalizeplane()),M=n[b];for(let w=0;w<_.length;w++)_[w].makenormal().dist(M)>Se&&(_[w]=_[w].smul(-1));_.sort((w,v)=>w.a-v.a),r[b]=_}this.moveplanesets=r,this.moveplanenormals=n;let o=r.map(b=>b.length);this.options.verbosity>0&&console.log("# Move plane sets: "+o);let l=[];for(let b=0;b<r.length;b++)l.push([]);for(let b of this.rotations){if(Math.abs(Math.abs(b.a)-1)<Se)continue;let _=b.makenormal();for(let M=0;M<r.length;M++)if(_.sameplane(n[M])){l[M].push(b);break}}this.moverotations=l;for(let b=0;b<l.length;b++){let _=l[b],M=_[0].makenormal();for(let w=0;w<_.length;w++)M.dist(_[w].makenormal())>Se&&(_[w]=_[w].smul(-1));_.sort((w,v)=>w.angle()-v.angle()),l[b][0].dot(n[b])<0&&_.reverse()}let i=l.map(b=>1+b.length);this.movesetorders=i;let a=[],u="?";for(let b=0;b<r.length;b++){let _=n[b],M=null,w=null;for(let v of this.geonormals){let C=_.dot(v[0]);Math.abs(C-1)<Se?(w=[v[1],v[2]],u=v[2]):Math.abs(C+1)<Se&&(M=[v[1],v[2]],u=v[2])}if(w===null||M===null)throw new Error("Saw positive or negative sides as null");a.push([w[0],w[1],M[0],M[1],1+r[b].length]),this.addNotationMapper==="NxNxNCubeMapper"&&u==="f"&&(this.notationMapper=new yl(1+r[b].length),this.addNotationMapper=""),this.addNotationMapper==="SkewbMapper"&&r[0].length===1&&(this.notationMapper=new Bl(this.swizzler),this.addNotationMapper=""),this.addNotationMapper==="PyraminxOrTetraminxMapper"&&(r[0].length===2&&r[0][0].a===.333333333333333&&r[0][1].a===1.66666666666667?(this.notationMapper=new Ao(this.swizzler),this.addNotationMapper=""):(this.notationMapper=new Fl(this.swizzler),this.addNotationMapper="")),this.addNotationMapper==="MegaminxMapper"&&u==="f"&&(1+r[b].length===3&&(this.notationMapper=new Rl(this.notationMapper)),this.addNotationMapper=""),this.addNotationMapper==="FTOMapper"&&u==="f"&&(1+r[b].length===3&&(this.notationMapper=new Al(this.notationMapper,this.swizzler)),this.addNotationMapper="")}this.movesetgeos=a;let s=new Map,f=this.faces;for(let b=0;b<f.length;b++){let _=f[b],M=this.keyface(_);if(!s.get(M))s.set(M,[b]);else{let w=s.get(M);if(w.push(b),w.length===this.baseFaceCount){this.options.verbosity>0&&console.log("# Splitting core.");for(let v=0;v<w.length;v++){let C=M+" "+v;s.set(C,[w[v]])}}}}this.facelisthash=s,this.options.verbosity>0&&console.log("# Cubies: "+s.size);let c=[],m=[],p=[];for(let b of s.values())if(b.length!==this.baseFaceCount){if(b.length>1){let _=b.map(C=>f[C].centermass()),M=wl(_);for(let C=0;b.length>2;C++){let Q=!1;for(let X=0;X<b.length;X++){let me=(X+1)%b.length;if(M.dot(_[X].cross(_[me]))<0){let de=_[X];_[X]=_[me],_[me]=de;let Fe=b[X];b[X]=b[me],b[me]=Fe,Q=!0}}if(!Q)break;if(C>1e3)throw new Error("Bad epsilon math; too close to border")}let w=0,v=b[w];for(let C=1;C<b.length;C++){let Q=b[C];this.faceprecedence[this.getfaceindex(Q)]<this.faceprecedence[this.getfaceindex(v)]&&(w=C,v=Q)}if(w!==0){let C=b.slice();for(let Q=0;Q<b.length;Q++)b[Q]=C[(w+Q)%b.length]}}for(let _=0;_<b.length;_++){let M=b[_];m[M]=c.length,p[M]=_}c.push(b)}this.cubies=c,this.facetocubie=m,this.facetoord=p;let g=["?","CENTERS","EDGES","CORNERS","C4RNER","C5RNER"],d=[],L=[0,0,0,0,0,0],A=[],B=[],F=0,k=[],E=[],j=[],te=[],G=b=>c[b].map(_=>this.getfaceindex(_)).join(" "),oe=[];for(let b=0;b<c.length;b++){if(B[b])continue;let _=c[b];if(_.length===0)continue;let M={},w=0;j.push(0),oe.push([]);let v=_.length,C=L[v]++,Q=g[v];(Q===void 0||v===this.baseFaceCount)&&(Q="CORE"),Q=Q+(C===0?"":C+1),d[F]=Q,A[F]=v;let X=[b],me=0;for(B[b]=!0;me<X.length;){let de=X[me++],Fe=G(de);if((_.length>1||M[Fe]===void 0)&&(M[Fe]=w++),te[de]=M[Fe],k[de]=F,oe[F].push(de),E[de]=j[F]++,X.length<this.rotations.length){let Be=this.facecentermass[c[de][0]];for(let Et of l){let ze=this.facetocubie[this.findface(Be.rotatepoint(Et[0]))];B[ze]||(X.push(ze),B[ze]=!0)}}}F++}if(this.setReidOrder&&4<=this.stickersperface&&this.stickersperface<=9){let b=[["UF","UR","UB","UL","DF","DR","DB","DL","FR","FL","BR","BL"],["UFR","URB","UBL","ULF","DRF","DFL","DLB","DBR"],["U","L","F","R","B","D"]],_={};for(let M of b)for(let w=0;w<M.length;w++){let v=0;for(let C=0;C<M[w].length;C++)v|=1<<M[w].charCodeAt(C)-65;_[v]=w}for(let M of oe)for(let w of M){let v=0;for(let C of c[w])v|=1<<this.facenames[this.getfaceindex(C)][1].charCodeAt(0)-65;E[w]=_[v]}}if(this.cubiesetnums=k,this.cubieordnums=E,this.cubiesetnames=d,this.cubieords=j,this.orbitoris=A,this.cubievaluemap=te,this.cubiesetcubies=oe,this.options.fixedPieceType!==null){for(let b=0;b<c.length;b++)if(this.options.fixedPieceType==="v"&&c[b].length>2||this.options.fixedPieceType==="e"&&c[b].length===2||this.options.fixedPieceType==="f"&&c[b].length===1){this.fixedCubie=b;break}if(this.fixedCubie<0)throw new Error("Could not find a cubie of type "+this.options.fixedPieceType+" to fix.")}this.options.verbosity>0&&console.log("# Cubie orbit sizes "+j),Ua(t)}unswizzle(t){let r=this.notationMapper.notationToInternal(t);return r===null?"":this.swizzler.unswizzle(r.family)}stringToBlockMove(t){let r=RegExp("^(([0-9]+)-)?([0-9]+)?([^0-9]+)([0-9]+'?)?$"),n=t.match(r);if(n===null)throw new Error("Bad move passed "+t);let o=n[4],l,i;if(n[2]!==void 0){if(n[3]===void 0)throw new Error("Missing second number in range");l=parseInt(n[2],10)}n[3]!==void 0&&(i=parseInt(n[3],10));let a="1",u=1;return n[5]!==void 0&&(a=n[5],a[0]==="'"&&(a="-"+a.substring(1)),u=parseInt(a,10)),new h(new P(o,i,l),u)}parseMove(t){let r=this.notationMapper.notationToInternal(t);if(r===null)throw new Error("Bad move "+t.family);t=r;let n=t.family,o=!1;if(n.endsWith("v")&&n[0]<="Z"){if(t.innerLayer!==void 0||t.outerLayer!==void 0)throw new Error("Cannot use a prefix with full cube rotations");n=n.slice(0,-1),o=!0}n.endsWith("w")&&n[0]<="Z"&&(n=n.slice(0,-1).toLowerCase());let l,i=-1,a=this.swizzler.unswizzle(n),u=!1;for(let c=0;c<this.movesetgeos.length;c++){let m=this.movesetgeos[c];a===m[0]&&(u=!0,l=m,i=c),a===m[2]&&(u=!1,l=m,i=c)}let s=1,f=1;if(n.toUpperCase()!==n&&(f=2),l===void 0)throw new Error("Bad grip in move "+t.family);if(t.outerLayer!==void 0&&(s=t.outerLayer),t.innerLayer!==void 0&&(t.outerLayer===void 0?(f=t.innerLayer,n<="Z"?s=f:s=1):f=t.innerLayer),s--,f--,o&&(s=0,f=this.moveplanesets[i].length),s<0||s>this.moveplanesets[i].length||f<0||f>this.moveplanesets[i].length)throw new Error("Bad slice spec "+s+" "+f+" vs "+this.moveplanesets[i].length);if(!Xm&&s===0&&f===this.moveplanesets[i].length&&!o)throw new Error("! full puzzle rotations must be specified with v suffix.");return[void 0,i,s,f,u,t.amount]}parsemove(t){let r=this.parseMove(this.stringToBlockMove(t));return r[0]=t,r}genperms(){let t=va("genperms");if(this.cmovesbyslice.length>0)return;let r=[];if(this.options.orientCenters){for(let n=0;n<this.cubies.length;n++)if(this.cubies[n].length===1){let o=this.cubies[n][0],l=this.getfaceindex(o);if(this.basefaces[l].centermass().dist(this.facecentermass[o])<Se){let i=this.basefaces[l].length;for(let a=1;a<i;a++)this.cubies[n].push(this.cubies[n][a-1]);this.duplicatedFaces[o]=i,this.duplicatedCubies[n]=i,this.orbitoris[this.cubiesetnums[n]]=i}}}for(let n=0;n<this.moveplanesets.length;n++){let o=this.moveplanesets[n],l=[],i=[o.length+1,0],a=1;for(;a*2<=o.length;)a*=2;for(let f=0;f<this.faces.length;f++){let c=0;if(o.length>0){let m=this.facecentermass[f].dot(o[0]);for(let p=a;p>0;p>>=1)c+p<=o.length&&m>o[c+p-1].a&&(c+=p);c=o.length-c}for(l.push(c);i.length<=c;)i.push(0);i[c]++}let u=new Array(i.length);for(let f=0;f<i.length;f++)u[f]=[];let s=[];for(let f=0;f<this.faces.length;f++){if(l[f]<0)continue;let c=[this.facetocubie[f],this.facetoord[f]],m=this.facecentermass[f],p=m,g=f,d=l[g];for(;;){l[g]=-1;let L=m.rotatepoint(this.moverotations[n][0]);if(L.dist(p)<Se)break;g=this.findface(L),c.push(this.facetocubie[g],this.facetoord[g]),m=L}if(c.length>2&&this.options.orientCenters&&(this.cubies[c[0]].length===1||this.duplicatedCubies[c[0]]>1)&&this.facecentermass[f].dist(this.basefaces[this.getfaceindex(f)].centermass())<Se){let L=this.faces[this.cubies[c[0]][0]];for(let A=0;A<c.length;A+=2){let B=this.faces[this.cubies[c[A]][0]],F=-1;for(let k=0;k<L.length;k++)if(B.get(k).dist(L.get(0))<Se){F=k;break}if(F<0)throw new Error("Couldn't find rotation of center faces; ignoring for now.");c[A+1]=F,L=L.rotate(this.moverotations[n][0])}}if(c.length===2&&this.options.orientCenters)for(let L=1;L<this.movesetorders[n];L++)d===0?c.push(c[0],L):c.push(c[0],(this.movesetorders[n]-L)%this.movesetorders[n]);if(c.length>2&&!s[c[0]]){if(c.length!==2*this.movesetorders[n])throw new Error("Bad length in perm gen");for(let L of c)u[d].push(L)}for(let L=0;L<c.length;L+=2)s[c[L]]=!0}for(let f=0;f<u.length;f++)u[f]=u[f].slice();r.push(u)}if(this.cmovesbyslice=r,this.options.moveList){let n=[];for(let o of this.options.moveList)n.push(this.parsemove(o));this.parsedmovelist=n}this.facelisthash.clear(),this.facecentermass=[],Ua(t)}getboundarygeometry(){return{baseplanes:this.baseplanes,facenames:this.facenames,faceplanes:this.faceplanes,vertexnames:this.vertexnames,edgenames:this.edgenames,geonormals:this.geonormals}}getmovesets(t){let r=this.moveplanesets[t].length,n=[];if(this.parsedmovelist!==void 0)for(let o of this.parsedmovelist)o[1]===t&&(o[4]?n.push([o[2],o[3]]):n.push([r-o[3],r-o[2]]),n.push(o[5]));else if(this.options.vertexMoves&&!this.options.allMoves){let o=this.movesetgeos[t];if(o[1]!==o[3])for(let l=0;l<r;l++)o[1]!=="v"?(this.options.outerBlockMoves?n.push([l+1,r]):n.push([l+1]),n.push(1)):(this.options.outerBlockMoves?n.push([0,l]):n.push([l,l]),n.push(1))}else for(let o=0;o<=r;o++)!this.options.allMoves&&o+o===r||(this.options.outerBlockMoves?o+o>r?n.push([o,r]):n.push([0,o]):n.push([o,o]),n.push(1));if(this.fixedCubie>=0){let o=this.keyface3(this.faces[this.cubies[this.fixedCubie][0]])[t],l=[];for(let i=0;i<n.length;i+=2){let a=n[i];if(o>=a[0]&&o<=a[1])if(a[0]===0)a=[a[1]+1,r];else if(r===a[1])a=[0,a[0]-1];else throw Error("fixed cubie option would disconnect move");let u=!1;for(let s=0;s<l.length;s+=2)if(l[s][0]===a[0]&&l[s][1]===a[1]&&l[s+1]===n[i+1]){u=!0;break}u||(l.push(a),l.push(n[i+1]))}n=l}return n}graybyori(t){let r=this.cubies[t].length;return this.duplicatedCubies[t]&&(r=1),r===1&&(this.options.grayCenters||!this.options.includeCenterOrbits)||r===2&&(this.options.grayEdges||!this.options.includeEdgeOrbits)||r>2&&(this.options.grayCorners||!this.options.includeCornerOrbits)}skipbyori(t){let r=this.cubies[t].length;return this.duplicatedCubies[t]&&(r=1),r===1&&!this.options.includeCenterOrbits||r===2&&!this.options.includeEdgeOrbits||r>2&&!this.options.includeCornerOrbits}skipcubie(t){return this.skipbyori(t)}header(t){return t+Ym+\`
|
|
9
|
+
\`+t+\`
|
|
10
|
+
\`}writegap(){let t=this.getOrbitsDef(!1),r=[],n=[];for(let l=0;l<t.moveops.length;l++){let i="M_"+Fa(this.notationMapper,t.movenames[l]),a=!1;i[i.length-1]==="'"&&(i=i.substring(0,i.length-1),a=!0),n.push(i),a?r.push(i+":="+t.moveops[l].toPerm().inv().toGap()+";"):r.push(i+":="+t.moveops[l].toPerm().toGap()+";")}r.push("Gen:=["),r.push(n.join(",")),r.push("];");let o=t.solved.identicalPieces();return r.push("ip:=["+o.map(l=>"["+l.map(i=>i+1).join(",")+"]").join(",")+"];"),r.push("# Size(Group(Gen));"),r.push("# Size(Stabilizer(Group(Gen), ip, OnTuplesSets));"),r.push(""),this.header("# ")+r.join(\`
|
|
11
|
+
\`)}writeksolve(t="PuzzleGeometryPuzzle"){let r=this.getOrbitsDef(!1);return this.header("# ")+r.toKsolve(t,this.notationMapper).join(\`
|
|
12
|
+
\`)}getKPuzzleDefinition(t=!0,r=!0){let o=this.getOrbitsDef(t,r).toKPuzzleDefinition(r);if(o.exprimentalPuzzleDescription=this.puzzleDescription,!o)throw new Error("Missing definition!");return o}getMoveFromBits(t,r,n,o,l,i){let a=[],u=[],s=[];for(let m of this.cubieords)u.push(_t(m)),s.push(lr(m));for(let m=t[0];m<=t[1];m++){let p=o[m];for(let g=0;g<p.length;g+=2*i){let d=p.slice(g,g+2*i),L=this.cubiesetnums[d[0]];for(let F=0;F<d.length;F+=2)d[F]=this.cubieordnums[d[F]];let A=2,B=3;n&&(A=d.length-2,B=d.length-1),u[L]===_t(this.cubieords[L])&&(u[L]=u[L].slice(),this.orbitoris[L]>1&&!this.options.fixedOrientation&&(s[L]=s[L].slice()));for(let F=0;F<d.length;F+=2)u[L][d[(F+A)%d.length]]=d[F],this.orbitoris[L]>1&&!this.options.fixedOrientation&&(s[L][d[F]]=(d[(F+B)%d.length]-d[(F+1)%d.length]+2*this.orbitoris[L])%this.orbitoris[L])}}let f=new Kt(_t(24),lr(24),1);for(let m=0;m<this.cubiesetnames.length;m++)if(!(l&&!l[m]))if(this.orbitoris[m]===1||this.options.fixedOrientation)u[m]===_t(f.perm.length)?(u[m]!==f.perm&&(f=new Kt(u[m],s[m],1)),a.push(f)):a.push(new Kt(u[m],s[m],1));else{let p=new Array(s[m].length);for(let g=0;g<u[m].length;g++)p[g]=s[m][u[m][g]];a.push(new Kt(u[m],p,this.orbitoris[m]))}let c=new ir(a);return r!==1&&(c=c.mulScalar(r)),c}omitSet(t){for(let r of this.options.excludeOrbits)if(r===t)return!0;return!1}diffmvsets(t,r,n,o){for(let l=0;l<t.length;l+=2){let i=!1;for(let a=0;!i&&a<r.length;a+=2)o?t[l][0]+r[a][1]===n&&t[l][1]+r[a][0]===n&&t[l+1]===r[a+1]&&(i=!0):t[l][0]===r[a][0]&&t[l][1]===r[a][1]&&t[l+1]===r[a+1]&&(i=!0);if(!i)return!0}return!1}getOrbitsDef(t,r=!0){let n=[];if(t)for(let m=0;m<this.cubiesetnames.length;m++)n.push(1);let o=[],l=[],i=[],a=[];for(let m=0;m<this.moveplanesets.length;m++){let p=this.getmovesets(m);i.push(p),this.options.addRotations?a.push(1):a.push(0)}if(this.options.moveList&&this.options.addRotations){for(let m=0;m<this.moverotations.length;m++)a[m]=0;for(let m=0;m<this.moveplanesets.length;m++)for(let p=0;p<this.moverotations.length;p++){let g=this.moveplanenormals[m];for(let d=1;d*2<=this.movesetorders[p];d++){if(g=g.rotatepoint(this.moverotations[p][0]),a[p]&d)continue;let L=-1,A=!1;for(let F=0;F<this.moveplanenormals.length;F++)if(g.dist(this.moveplanenormals[F])<Se){L=F;break}else if(g.dist(this.moveplanenormals[F].smul(-1))<Se){L=F,A=!0;break}if(L<0)throw new Error("Could not find rotation");let B=i[L];(B.length!==i[m].length||this.moveplanesets[m].length!==this.moveplanesets[L].length||this.diffmvsets(B,i[m],this.moveplanesets[L].length,A))&&(a[p]|=d)}}for(let m=0;m<this.moverotations.length;m++)if(a[m]===0)a[m]=1;else if(a[m]===1)this.movesetorders[m]>3?a[m]=2:a[m]=0;else if(a[m]===3)a[m]=0;else throw new Error("Impossible addrot val")}for(let m=0;m<this.moveplanesets.length;m++)a[m]!==0&&(i[m].push([0,this.moveplanesets[m].length]),i[m].push(a[m]));for(let m=0;m<this.moveplanesets.length;m++){let p=i[m],g=this.movesetorders[m];for(let A=0;A<p.length;A+=2)for(let B=0;B<A;B+=2)if(p[A]===p[B]&&p[A+1]===p[B+1])throw new Error("Redundant moves in moveset.");let d=[];for(let A=0;A<p.length;A+=2)for(let B=p[A][0];B<=p[A][1];B++)d[B]=1;let L=this.cmovesbyslice[m];for(let A=0;A<L.length;A++){if(d[A]!==1)continue;let B=L[A];for(let F=0;F<B.length;F+=2*g){if(this.skipcubie(B[F]))continue;let k=this.cubiesetnums[B[F]];n[k]=1}}}for(let m=0;m<this.cubiesetnames.length;m++)if(!!n[m]){if(this.omitSet(this.cubiesetnames[m])){n[m]=0;continue}o.push(this.cubiesetnames[m]),l.push(new yo(this.cubieords[m],this.options.fixedOrientation?1:this.orbitoris[m]))}let u=[];for(let m=0;m<this.cubiesetnames.length;m++){if(!n[m]||this.omitSet(this.cubiesetnames[m]))continue;let p=[],g=[];for(let d=0;d<this.cubieords[m];d++){if(t)p.push(d);else{let L=this.cubiesetcubies[m][d];p.push(this.cubievaluemap[L])}g.push(0)}u.push(new Kt(p,g,this.options.fixedOrientation?1:this.orbitoris[m]))}let s=[],f=[];if(r)for(let m=0;m<this.moveplanesets.length;m++){let g=this.moveplanesets[m].length,d=i[m],L=this.movesetgeos[m];for(let A=0;A<d.length;A+=2){let B=d[A],F=tp(L,B,g),k=F[0],E=F[1];d[A+1]===1?s.push(k):s.push(k+d[A+1]);let j=this.getMoveFromBits(B,d[A+1],E,this.cmovesbyslice[m],n,this.movesetorders[m]);f.push(j)}}let c=new An(o,l,new Rn(u),s,f);return this.options.optimizeOrbits&&(c=c.optimize()),this.options.scrambleAmount!==0&&c.scramble(this.options.scrambleAmount),c}getScramble(t=0){let r=this.getOrbitsDef(!1);return r.transformToKTransformationData(r.getScrambleTransformation(t))}getMovesAsPerms(){return this.getOrbitsDef(!1).moveops.map(t=>t.toPerm())}showcanon(t){y2(this.getOrbitsDef(!1),t)}getsolved(){let t=[];for(let r=0;r<this.baseFaceCount;r++)for(let n=0;n<this.stickersperface;n++)t.push(r);return new pt(t)}getOrientationRotation(t){let[r,[n,o,l]]=t[0],i=new O(0,n,-o,l),[a,[u,s,f]]=t[1],c=new O(0,u,-s,f),m=null,p=null,g=this.swizzler.unswizzle(r),d=this.swizzler.unswizzle(a);for(let F of this.geonormals)g===F[1]&&(m=F[0]),d===F[1]&&(p=F[0]);if(!m)throw new Error("Could not find feature "+r);if(!p)throw new Error("Could not find feature "+a);let L=m.pointrotation(i);return p.rotatepoint(L).unproject(i).pointrotation(c.unproject(i)).mul(L)}getInitial3DRotation(){let t=this.baseFaceCount,r=null;if(this.options.puzzleOrientation?r=this.options.puzzleOrientation:this.options.puzzleOrientations&&(r=this.options.puzzleOrientations[t]),r||(r=ep()[t]),!r)throw new Error("No default orientation?");return this.getOrientationRotation(r)}generate2dmapping(t=800,r=500,n=10,o=!1,l=.92){t-=2*n,r-=2*n;function i(w,v){let C=w[1][0]-w[0][0],Q=w[1][1]-w[0][1],X=2*Math.PI/v,me=Math.cos(X),de=Math.sin(X);for(let Fe=2;Fe<v;Fe++){let Be=C*me+Q*de;Q=Q*me-C*de,C=Be,w.push([w[Fe-1][0]+C,w[Fe-1][1]+Q])}}this.genperms();let s=this.getboundarygeometry().facenames[0][0].length,f=this.net;if(f===null)throw new Error("No net?");let c={},m=0,p=0,g=1,d=0;c[f[0][0]]=[[1,0],[0,0]],i(c[f[0][0]],s);for(let w of f){let v=w[0];if(!c[v])throw new Error("Bad edge description; first edge not connected.");for(let C=1;C<w.length;C++){let Q=w[C];Q===""||c[Q]||(c[Q]=[c[v][C%s],c[v][(C+s-1)%s]],i(c[Q],s))}}for(let w in c){let v=c[w];for(let C of v)m=Math.min(m,C[0]),g=Math.max(g,C[0]),p=Math.min(p,C[1]),d=Math.max(d,C[1])}let L=Math.min(t/(g-m),r/(d-p)),A=.5*(t-L*(g+m)),B=.5*(r-L*(d+p)),F={},k=this.getboundarygeometry(),E={},j=[[L+A,B],[A,B]];E[f[0][0]]=j,i(E[f[0][0]],s),F[this.facenames[0][1]]=this.project2d(0,0,[new O(0,j[0][0],j[0][1],0),new O(0,j[1][0],j[1][1],0)]);let te=[];te[0]=0;for(let w of f){let v=w[0];if(!E[v])throw new Error("Bad edge description; first edge not connected.");let C=-1;for(let X=0;X<k.facenames.length;X++)if(v===k.facenames[X][1]){C=X;break}if(C<0)throw new Error("Could not find first face name "+v);let Q=k.facenames[C][0];for(let X=1;X<w.length;X++){let me=w[X];if(me===""||E[me])continue;E[me]=[E[v][X%s],E[v][(X+s-1)%s]],i(E[me],s);let de=te[C],Fe=Q[(de+X)%s].sum(Q[(de+X+s-1)%s]).smul(.5),Be=kl(k.edgenames,Fe),Et=k.edgenames[Be][1],ze=rp(Et,this.facenames),et=ze[v===ze[0]?1:0],we=-1;for(let U=0;U<k.facenames.length;U++)if(et===k.facenames[U][1]){we=U;break}if(we<0)throw new Error("Could not find second face name");let y=k.facenames[we][0];for(let U=0;U<y.length;U++)if(y[U].sum(y[(U+1)%s]).smul(.5).dist(Fe)<=Se){let K=E[v][(X+s-1)%s],le=E[v][X%s];te[we]=U,F[et]=this.project2d(we,U,[new O(0,le[0],le[1],0),new O(0,K[0],K[1],0)]);break}}}let G=0,oe=0,b=this.getInitial3DRotation();for(let w of this.faces){o&&(w=w.rotate(b));for(let v=0;v<w.length;v++)G=Math.max(G,Math.abs(w.get(v).b)),oe=Math.max(oe,Math.abs(w.get(v).c))}let _=Math.min(r/oe/2,(t-n)/G/4);return(w,v)=>{if(o){v=v.rotatepoint(b);let C=.5*n+.25*t,Q=this.baseplanes[w].rotateplane(b).d<0?1:-1;return[n+t*.5+Q*(C-v.b*_),n+r*.5+v.c*_]}else{let C=F[this.facenames[w][1]];return[n+l*v.dot(C[0])+C[2].b,n+r-l*v.dot(C[1])-C[2].c]}}}generatesvg(t=800,r=500,n=10,o=!1){let l=this.generate2dmapping(t,r,n,o);function i(m,p,g){return'<polygon id="'+m+'" class="sticker" style="fill: '+g+'" points="'+p.map(d=>d[0]+" "+d[1]).join(" ")+\`"/>
|
|
13
|
+
\`}let a=this.getsolved(),u=[],s=[];for(let m=0;m<this.baseFaceCount;m++)u[m]=this.colors[this.facenames[m][1]];for(let m=0;m<this.faces.length;m++){let p=this.faces[m],g=Math.floor(m/this.stickersperface),d=[];for(let L=0;L<p.length;L++)d.push(l(g,p.get(L)));s.push(d)}let f=[];for(let m=0;m<this.baseFaceCount;m++){f.push("<g>"),f.push("<title>"+this.facenames[m][1]+\`</title>
|
|
14
|
+
\`);for(let p=0;p<this.stickersperface;p++){let g=m*this.stickersperface+p,d=this.facetocubie[g],L=this.facetoord[g],A=this.cubiesetnums[d],B=this.cubieordnums[d],F=this.graybyori(d)?"#808080":u[a.p[g]],k=this.cubiesetnames[A]+"-l"+B+"-o"+L;if(f.push(i(k,s[g],F)),this.duplicatedFaces[g])for(let E=1;E<this.duplicatedFaces[g];E++)k=this.cubiesetnames[A]+"-l"+B+"-o"+E,f.push(i(k,s[g],F))}f.push("</g>")}return\`<svg id="svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 800 500">
|
|
15
|
+
<style type="text/css"><![CDATA[.sticker { stroke: #000000; stroke-width: 1px; }]]></style>
|
|
16
|
+
\`+f.join("")+"</svg>"}get3d(t){let r=[],n=this.getInitial3DRotation(),o=[],l=.52*this.basefaces[0].get(0).len();for(let s=0;s<this.basefaces.length;s++){let f=this.basefaces[s].rotate(n),c=this.facenames[s][1];o.push({coords:ka(f,l),name:c})}for(let s=0;s<this.faces.length;s++){let f=Math.floor(s/this.stickersperface),c=this.facetocubie[s],m=this.facetoord[s],p=this.cubiesetnums[c],g=this.cubieordnums[c],d=this.graybyori(c)?"#808080":this.colors[this.facenames[f][1]];t?.stickerColors&&(d=t.stickerColors[s]);let L=this.faces[s].rotate(n);r.push({coords:ka(L,l),color:d,orbit:this.cubiesetnames[p],ord:g,ori:m,face:f});let A=L;if(this.duplicatedFaces[s]){let B=A.length/this.duplicatedFaces[s];for(let F=1;F<this.duplicatedFaces[s];F++){for(let k=0;k<B;k++)A=A.rotateforward();r.push({coords:ka(A,l),color:d,orbit:this.cubiesetnames[p],ord:g,ori:F,face:f,isDup:!0})}}}let i=[];for(let s=0;s<this.movesetgeos.length;s++){let f=this.movesetgeos[s],c=this.movesetorders[s];for(let m of this.geonormals)f[0]===m[1]&&f[1]===m[2]&&(i.push({coordinates:zl(m[0].rotatepoint(n),1),quantumMove:new h(f[0]),order:c}),i.push({coordinates:zl(m[0].rotatepoint(n).smul(-1),1),quantumMove:new h(f[2]),order:c}))}let a=this.generate2dmapping(2880,2160,0,!1,1),u=function(){let s=n.invrot();return function(f,c){let m=new O(0,c[0]*l,-c[1]*l,c[2]*l);m=m.rotatepoint(s);let p=a(f,m);return p[0]/=2880,p[1]=1-p[1]/2160,p}}().bind(this);return{stickers:r,faces:o,axis:i,unswizzle:this.unswizzle.bind(this),notationMapper:this.notationMapper,textureMapper:{getuv:u}}}getGeoNormal(t){let r=this.getInitial3DRotation(),n=this.swizzler.unswizzle(t);for(let o of this.geonormals)if(n===o[1]){let l=zl(o[0].rotatepoint(r),1);return Math.abs(l[0])<Se&&Math.abs(l[2])<Se&&(l[0]=0,l[2]=1e-6),l}}getfaceindex(t){let r=this.stickersperface;return Math.floor(t/r)}textForTwizzleExplorer(){return\`Faces \${this.baseplanerot.length}
|
|
17
|
+
Stickers per face \${this.stickersperface}
|
|
18
|
+
Short edge \${this.shortedge}
|
|
19
|
+
Cubies \${this.cubies.length}
|
|
20
|
+
Edge distance \${this.edgedistance}
|
|
21
|
+
Vertex distance \${this.vertexdistance}\`}writeSchreierSims(t){let n=this.getOrbitsDef(!1).reassemblySize();t(\`Reassembly size is \${n}\`);let o=El(this.getMovesAsPerms(),t),l=n/o;t(\`Ratio is \${l}\`)}},Mr=class{constructor(t,r){this.pg=t;this.orbitNames=r.orbitnames}lookupMove(t){let r=this.pg.parseMove(t);if(this.pg.parsedmovelist){let i=!1;for(let a of this.pg.parsedmovelist)a[1]===r[1]&&a[2]===r[2]&&a[3]===r[3]&&a[4]===r[4]&&(i=!0);if(!i)return null}let n=[r[2],r[3]];if(!r[4]){let i=this.pg.moveplanesets[r[1]].length;n=[i-r[3],i-r[2]]}let o=this.pg.getMoveFromBits(n,r[5],!r[4],this.pg.cmovesbyslice[r[1]],void 0,this.pg.movesetorders[r[1]]);return An.transformToKTransformationData(this.orbitNames,o)}}});var za={};be(za,{ExperimentalPGNotation:()=>Mr,PuzzleGeometry:()=>_l,Quat:()=>O,getPG3DNamedPuzzles:()=>_2,getPuzzleDescriptionString:()=>C2,getPuzzleGeometryByDesc:()=>Ea,getPuzzleGeometryByName:()=>Fn,parseOptions:()=>D2,parsePuzzleDescription:()=>Ro,schreierSims:()=>El});var Bo=S(()=>{bl();Da();vl();wa();bl()});async function bo(e){return(await Promise.resolve().then(()=>(Bo(),za))).getPuzzleGeometryByName(e,{allMoves:!0,orientCenters:!0,addRotations:!0})}async function np(e,t){let r=await e,n=r.getKPuzzleDefinition(!0);n.name=t;let o=await Promise.resolve().then(()=>(Bo(),za)),l=new o.ExperimentalPGNotation(r,r.getOrbitsDef(!0));return new Te(n,{experimentalPGNotation:l})}var Cl,Pl,Ml,gt,Gr,Tr=S(()=>{Xe();Ln();Cr();gt=class{constructor(t){ne(this,Cl,void 0);ne(this,Pl,void 0);ne(this,Ml,void 0);this.id=t.id,this.fullName=t.fullName,this.inventedBy=t.inventedBy,this.inventionYear=t.inventionYear}pg(){let t=this.id==="fto"?"FTO":this.id;return D(this,Cl)??q(this,Cl,bo(t))}kpuzzle(){return D(this,Pl)??q(this,Pl,np(this.pg(),this.id))}svg(){return D(this,Ml)??q(this,Ml,(async()=>(await this.pg()).generatesvg())())}};Cl=new WeakMap,Pl=new WeakMap,Ml=new WeakMap;Gr=class extends gt{constructor(){super(...arguments);this.stickerings=hn}appearance(t){return zt(this,t)}}});var P2={};be(P2,{cube2x2x2KPuzzleDefinition:()=>Ct});var Ct,M2=S(()=>{Ct={name:"2x2x2",orbits:{CORNERS:{numPieces:8,numOrientations:3}},startStateData:{CORNERS:{pieces:[0,1,2,3,4,5,6,7],orientation:[0,0,0,0,0,0,0,0]}},moves:{U:{CORNERS:{permutation:[1,2,3,0,4,5,6,7],orientation:[0,0,0,0,0,0,0,0]}},y:{CORNERS:{permutation:[1,2,3,0,7,4,5,6],orientation:[0,0,0,0,0,0,0,0]}},x:{CORNERS:{permutation:[4,0,3,5,7,6,2,1],orientation:[2,1,2,1,1,2,1,2]}},L:{CORNERS:{permutation:[0,1,6,2,4,3,5,7],orientation:[0,0,2,1,0,2,1,0]}},F:{CORNERS:{permutation:[3,1,2,5,0,4,6,7],orientation:[1,0,0,2,2,1,0,0]}},R:{CORNERS:{permutation:[4,0,2,3,7,5,6,1],orientation:[2,1,0,0,1,0,0,2]}},B:{CORNERS:{permutation:[0,7,1,3,4,5,2,6],orientation:[0,2,1,0,0,0,2,1]}},D:{CORNERS:{permutation:[0,1,2,3,5,6,7,4],orientation:[0,0,0,0,0,0,0,0]}},z:{CORNERS:{permutation:[3,2,6,5,0,4,7,1],orientation:[1,2,1,2,2,1,2,1]}}}};Ct.moves.Rv=Ct.moves.x;Ct.moves.Uv=Ct.moves.y;Ct.moves.Fv=Ct.moves.z;Ct.moves.Lv={CORNERS:{permutation:[1,7,6,2,0,3,5,4],orientation:[2,1,2,1,1,2,1,2]}};Ct.moves.Dv={CORNERS:{permutation:[3,0,1,2,5,6,7,4],orientation:[0,0,0,0,0,0,0,0]}};Ct.moves.Bv={CORNERS:{permutation:[4,7,1,0,5,3,2,6],orientation:[1,2,1,2,2,1,2,1]}}});var G2={};be(G2,{default:()=>op});var op,T2=S(()=>{op=\`<?xml version="1.0" encoding="UTF-8"?>
|
|
22
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
|
|
23
|
+
"http://www.w3.org/TR/2001/REC-SVG-20050904/DTD/svg11.dtd">
|
|
24
|
+
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 520 394" preserveAspectRatio="xMidYMid meet">
|
|
25
|
+
<title>2x2x2</title>
|
|
26
|
+
<defs>
|
|
27
|
+
<g id="sticker">
|
|
28
|
+
<rect x="0" y="0" width="1" height="1" stroke="black" stroke-width="0.04px" />
|
|
29
|
+
</g>
|
|
30
|
+
</defs>
|
|
31
|
+
<g id="puzzle" transform="translate(5, 5) scale(60)">
|
|
32
|
+
<use id="CORNERS-l0-o0" xlink:href="#sticker" transform="translate(3.2, 1)" style="fill: white"/>
|
|
33
|
+
<use id="CORNERS-l0-o1" xlink:href="#sticker" transform="translate(4.4, 2.2)" style="fill: red"/>
|
|
34
|
+
<use id="CORNERS-l0-o2" xlink:href="#sticker" transform="translate(3.2, 2.2)" style="fill: limegreen"/>
|
|
35
|
+
|
|
36
|
+
<use id="CORNERS-l1-o0" xlink:href="#sticker" transform="translate(3.2, 0)" style="fill: white"/>
|
|
37
|
+
<use id="CORNERS-l1-o1" xlink:href="#sticker" transform="translate(6.6, 2.2)" style="fill: #26f"/>
|
|
38
|
+
<use id="CORNERS-l1-o2" xlink:href="#sticker" transform="translate(5.4, 2.2)" style="fill: red"/>
|
|
39
|
+
|
|
40
|
+
<use id="CORNERS-l2-o0" xlink:href="#sticker" transform="translate(2.2, 0)" style="fill: white"/>
|
|
41
|
+
<use id="CORNERS-l2-o1" xlink:href="#sticker" transform="translate(0, 2.2)" style="fill: orange"/>
|
|
42
|
+
<use id="CORNERS-l2-o2" xlink:href="#sticker" transform="translate(7.6, 2.2)" style="fill: #26f"/>
|
|
43
|
+
|
|
44
|
+
<use id="CORNERS-l3-o0" xlink:href="#sticker" transform="translate(2.2, 1)" style="fill: white"/>
|
|
45
|
+
<use id="CORNERS-l3-o1" xlink:href="#sticker" transform="translate(2.2, 2.2)" style="fill: limegreen"/>
|
|
46
|
+
<use id="CORNERS-l3-o2" xlink:href="#sticker" transform="translate(1, 2.2)" style="fill: orange"/>
|
|
47
|
+
|
|
48
|
+
<use id="CORNERS-l4-o0" xlink:href="#sticker" transform="translate(3.2, 4.4)" style="fill: yellow"/>
|
|
49
|
+
<use id="CORNERS-l4-o1" xlink:href="#sticker" transform="translate(3.2, 3.2)" style="fill: limegreen"/>
|
|
50
|
+
<use id="CORNERS-l4-o2" xlink:href="#sticker" transform="translate(4.4, 3.2)" style="fill: red"/>
|
|
51
|
+
|
|
52
|
+
<use id="CORNERS-l5-o0" xlink:href="#sticker" transform="translate(2.2, 4.4)" style="fill: yellow"/>
|
|
53
|
+
<use id="CORNERS-l5-o1" xlink:href="#sticker" transform="translate(1, 3.2)" style="fill: orange"/>
|
|
54
|
+
<use id="CORNERS-l5-o2" xlink:href="#sticker" transform="translate(2.2, 3.2)" style="fill: limegreen"/>
|
|
55
|
+
|
|
56
|
+
<use id="CORNERS-l6-o0" xlink:href="#sticker" transform="translate(2.2, 5.4)" style="fill: yellow"/>
|
|
57
|
+
<use id="CORNERS-l6-o1" xlink:href="#sticker" transform="translate(7.6, 3.2)" style="fill: #26f"/>
|
|
58
|
+
<use id="CORNERS-l6-o2" xlink:href="#sticker" transform="translate(0, 3.2)" style="fill: orange"/>
|
|
59
|
+
|
|
60
|
+
<use id="CORNERS-l7-o0" xlink:href="#sticker" transform="translate(3.2, 5.4)" style="fill: yellow"/>
|
|
61
|
+
<use id="CORNERS-l7-o1" xlink:href="#sticker" transform="translate(5.4, 3.2)" style="fill: red"/>
|
|
62
|
+
<use id="CORNERS-l7-o2" xlink:href="#sticker" transform="translate(6.6, 3.2)" style="fill: #26f"/>
|
|
63
|
+
</g>
|
|
64
|
+
|
|
65
|
+
</svg>\`});var So,I2=S(()=>{Xe();Tr();Cr();Ln();So={id:"2x2x2",fullName:"2\\xD72\\xD72 Cube",kpuzzle:Ne(async()=>new Te((await Promise.resolve().then(()=>(M2(),P2))).cube2x2x2KPuzzleDefinition)),svg:async()=>(await Promise.resolve().then(()=>(T2(),G2))).default,pg:Ne(async()=>bo("2x2x2")),appearance:e=>zt(So,e),stickerings:hn}});var N2={};be(N2,{default:()=>lp});var lp,O2=S(()=>{lp=\`<?xml version="1.0" encoding="UTF-8"?>
|
|
66
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
|
|
67
|
+
"http://www.w3.org/TR/2001/REC-SVG-20050904/DTD/svg11.dtd">
|
|
68
|
+
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 518 392" preserveAspectRatio="xMidYMid meet">
|
|
69
|
+
<title>3x3x3</title>
|
|
70
|
+
<defs>
|
|
71
|
+
<g id="sticker">
|
|
72
|
+
<rect x="0" y="0" width="1" height="1" stroke="black" stroke-width="0.04px" />
|
|
73
|
+
</g>
|
|
74
|
+
</defs>
|
|
75
|
+
|
|
76
|
+
<!-- 0 1 2 3 4 5 6 7 8 9 10 11 -->
|
|
77
|
+
<!-- | | | | | | | | | | | |<- -->
|
|
78
|
+
<!-- 0 - . . . -->
|
|
79
|
+
<!-- 1 - . . . -->
|
|
80
|
+
<!-- 2 - . . . -->
|
|
81
|
+
<!-- 3 - . . . . . . . . . . . . -->
|
|
82
|
+
<!-- 4 - . . . . . . . . . . . . -->
|
|
83
|
+
<!-- 5 - . . . . . . . . . . . . -->
|
|
84
|
+
<!-- 6 - . . . -->
|
|
85
|
+
<!-- 7 - . . . -->
|
|
86
|
+
<!-- 8 - . . . -->
|
|
87
|
+
|
|
88
|
+
<g id="puzzle" transform="translate(5,5) scale(40)">
|
|
89
|
+
<!-- CORNERS -->
|
|
90
|
+
<use id="CORNERS-l0-o0" xlink:href="#sticker" transform="translate(5.3,2.1)" style="fill: white"/>
|
|
91
|
+
<use id="CORNERS-l0-o1" xlink:href="#sticker" transform="translate(6.5,3.3)" style="fill: red"/>
|
|
92
|
+
<use id="CORNERS-l0-o2" xlink:href="#sticker" transform="translate(5.3,3.3)" style="fill: limegreen"/>
|
|
93
|
+
|
|
94
|
+
<use id="CORNERS-l1-o0" xlink:href="#sticker" transform="translate(5.3,0.1)" style="fill: white"/>
|
|
95
|
+
<use id="CORNERS-l1-o1" xlink:href="#sticker" transform="translate(9.7,3.3)" style="fill: #26f"/>
|
|
96
|
+
<use id="CORNERS-l1-o2" xlink:href="#sticker" transform="translate(8.5,3.3)" style="fill: red"/>
|
|
97
|
+
|
|
98
|
+
<use id="CORNERS-l2-o0" xlink:href="#sticker" transform="translate(3.3,0.1)" style="fill: white"/>
|
|
99
|
+
<use id="CORNERS-l2-o1" xlink:href="#sticker" transform="translate(0.1,3.3)" style="fill: orange"/>
|
|
100
|
+
<use id="CORNERS-l2-o2" xlink:href="#sticker" transform="translate(11.7,3.3)" style="fill: #26f"/>
|
|
101
|
+
|
|
102
|
+
<use id="CORNERS-l3-o0" xlink:href="#sticker" transform="translate(3.3,2.1)" style="fill: white"/>
|
|
103
|
+
<use id="CORNERS-l3-o1" xlink:href="#sticker" transform="translate(3.3,3.3)" style="fill: limegreen"/>
|
|
104
|
+
<use id="CORNERS-l3-o2" xlink:href="#sticker" transform="translate(2.1,3.3)" style="fill: orange"/>
|
|
105
|
+
|
|
106
|
+
<use id="CORNERS-l4-o0" xlink:href="#sticker" transform="translate(5.3,6.5)" style="fill: yellow"/>
|
|
107
|
+
<use id="CORNERS-l4-o1" xlink:href="#sticker" transform="translate(5.3,5.3)" style="fill: limegreen"/>
|
|
108
|
+
<use id="CORNERS-l4-o2" xlink:href="#sticker" transform="translate(6.5,5.3)" style="fill: red"/>
|
|
109
|
+
|
|
110
|
+
<use id="CORNERS-l5-o0" xlink:href="#sticker" transform="translate(3.3,6.5)" style="fill: yellow"/>
|
|
111
|
+
<use id="CORNERS-l5-o1" xlink:href="#sticker" transform="translate(2.1,5.3)" style="fill: orange"/>
|
|
112
|
+
<use id="CORNERS-l5-o2" xlink:href="#sticker" transform="translate(3.3,5.3)" style="fill: limegreen"/>
|
|
113
|
+
|
|
114
|
+
<use id="CORNERS-l6-o0" xlink:href="#sticker" transform="translate(3.3,8.5)" style="fill: yellow"/>
|
|
115
|
+
<use id="CORNERS-l6-o1" xlink:href="#sticker" transform="translate(11.7,5.3)" style="fill: #26f"/>
|
|
116
|
+
<use id="CORNERS-l6-o2" xlink:href="#sticker" transform="translate(0.1,5.3)" style="fill: orange"/>
|
|
117
|
+
|
|
118
|
+
<use id="CORNERS-l7-o0" xlink:href="#sticker" transform="translate(5.3,8.5)" style="fill: yellow"/>
|
|
119
|
+
<use id="CORNERS-l7-o1" xlink:href="#sticker" transform="translate(8.5,5.3)" style="fill: red"/>
|
|
120
|
+
<use id="CORNERS-l7-o2" xlink:href="#sticker" transform="translate(9.7,5.3)" style="fill: #26f"/>
|
|
121
|
+
|
|
122
|
+
<!-- EDGES -->
|
|
123
|
+
<use id="EDGES-l0-o0" xlink:href="#sticker" transform="translate(4.3,2.1)" style="fill: white"/>
|
|
124
|
+
<use id="EDGES-l0-o1" xlink:href="#sticker" transform="translate(4.3,3.3)" style="fill: limegreen"/>
|
|
125
|
+
|
|
126
|
+
<use id="EDGES-l1-o0" xlink:href="#sticker" transform="translate(5.3,1.1)" style="fill: white"/>
|
|
127
|
+
<use id="EDGES-l1-o1" xlink:href="#sticker" transform="translate(7.5,3.3)" style="fill: red"/>
|
|
128
|
+
|
|
129
|
+
<use id="EDGES-l2-o0" xlink:href="#sticker" transform="translate(4.3,0.1)" style="fill: white"/>
|
|
130
|
+
<use id="EDGES-l2-o1" xlink:href="#sticker" transform="translate(10.7,3.3)" style="fill: #26f"/>
|
|
131
|
+
|
|
132
|
+
<use id="EDGES-l3-o0" xlink:href="#sticker" transform="translate(3.3,1.1)" style="fill: white"/>
|
|
133
|
+
<use id="EDGES-l3-o1" xlink:href="#sticker" transform="translate(1.1,3.3)" style="fill: orange"/>
|
|
134
|
+
|
|
135
|
+
<use id="EDGES-l4-o0" xlink:href="#sticker" transform="translate(4.3,6.5)" style="fill: yellow"/>
|
|
136
|
+
<use id="EDGES-l4-o1" xlink:href="#sticker" transform="translate(4.3,5.3)" style="fill: limegreen"/>
|
|
137
|
+
|
|
138
|
+
<use id="EDGES-l5-o0" xlink:href="#sticker" transform="translate(5.3,7.5)" style="fill: yellow"/>
|
|
139
|
+
<use id="EDGES-l5-o1" xlink:href="#sticker" transform="translate(7.5,5.3)" style="fill: red"/>
|
|
140
|
+
|
|
141
|
+
<use id="EDGES-l6-o0" xlink:href="#sticker" transform="translate(4.3,8.5)" style="fill: yellow"/>
|
|
142
|
+
<use id="EDGES-l6-o1" xlink:href="#sticker" transform="translate(10.7,5.3)" style="fill: #26f"/>
|
|
143
|
+
|
|
144
|
+
<use id="EDGES-l7-o0" xlink:href="#sticker" transform="translate(3.3,7.5)" style="fill: yellow"/>
|
|
145
|
+
<use id="EDGES-l7-o1" xlink:href="#sticker" transform="translate(1.1,5.3)" style="fill: orange"/>
|
|
146
|
+
|
|
147
|
+
<use id="EDGES-l8-o0" xlink:href="#sticker" transform="translate(5.3,4.3)" style="fill: limegreen"/>
|
|
148
|
+
<use id="EDGES-l8-o1" xlink:href="#sticker" transform="translate(6.5,4.3)" style="fill: red"/>
|
|
149
|
+
|
|
150
|
+
<use id="EDGES-l9-o0" xlink:href="#sticker" transform="translate(3.3,4.3)" style="fill: limegreen"/>
|
|
151
|
+
<use id="EDGES-l9-o1" xlink:href="#sticker" transform="translate(2.1,4.3)" style="fill: orange"/>
|
|
152
|
+
|
|
153
|
+
<use id="EDGES-l10-o0" xlink:href="#sticker" transform="translate(9.7,4.3)" style="fill: #26f"/>
|
|
154
|
+
<use id="EDGES-l10-o1" xlink:href="#sticker" transform="translate(8.5,4.3)" style="fill: red"/>
|
|
155
|
+
|
|
156
|
+
<use id="EDGES-l11-o0" xlink:href="#sticker" transform="translate(11.7,4.3)" style="fill: #26f"/>
|
|
157
|
+
<use id="EDGES-l11-o1" xlink:href="#sticker" transform="translate(0.1,4.3)" style="fill: orange"/>
|
|
158
|
+
|
|
159
|
+
<!-- CENTERS -->
|
|
160
|
+
<!-- TODO: Allow the same sticker to be reused for multiple orientations -->
|
|
161
|
+
<use id="CENTERS-l0-o0" xlink:href="#sticker" transform="translate(4.3,1.1)" style="fill: white"/>
|
|
162
|
+
<use id="CENTERS-l0-o1" xlink:href="#sticker" transform="translate(4.3,1.1)" style="fill: white"/>
|
|
163
|
+
<use id="CENTERS-l0-o2" xlink:href="#sticker" transform="translate(4.3,1.1)" style="fill: white"/>
|
|
164
|
+
<use id="CENTERS-l0-o3" xlink:href="#sticker" transform="translate(4.3,1.1)" style="fill: white"/>
|
|
165
|
+
|
|
166
|
+
<use id="CENTERS-l1-o0" xlink:href="#sticker" transform="translate(1.1,4.3)" style="fill: orange"/>
|
|
167
|
+
<use id="CENTERS-l1-o1" xlink:href="#sticker" transform="translate(1.1,4.3)" style="fill: orange"/>
|
|
168
|
+
<use id="CENTERS-l1-o2" xlink:href="#sticker" transform="translate(1.1,4.3)" style="fill: orange"/>
|
|
169
|
+
<use id="CENTERS-l1-o3" xlink:href="#sticker" transform="translate(1.1,4.3)" style="fill: orange"/>
|
|
170
|
+
|
|
171
|
+
<use id="CENTERS-l2-o0" xlink:href="#sticker" transform="translate(4.3,4.3)" style="fill: limegreen"/>
|
|
172
|
+
<use id="CENTERS-l2-o1" xlink:href="#sticker" transform="translate(4.3,4.3)" style="fill: limegreen"/>
|
|
173
|
+
<use id="CENTERS-l2-o2" xlink:href="#sticker" transform="translate(4.3,4.3)" style="fill: limegreen"/>
|
|
174
|
+
<use id="CENTERS-l2-o3" xlink:href="#sticker" transform="translate(4.3,4.3)" style="fill: limegreen"/>
|
|
175
|
+
|
|
176
|
+
<use id="CENTERS-l3-o0" xlink:href="#sticker" transform="translate(7.5,4.3)" style="fill: red"/>
|
|
177
|
+
<use id="CENTERS-l3-o1" xlink:href="#sticker" transform="translate(7.5,4.3)" style="fill: red"/>
|
|
178
|
+
<use id="CENTERS-l3-o2" xlink:href="#sticker" transform="translate(7.5,4.3)" style="fill: red"/>
|
|
179
|
+
<use id="CENTERS-l3-o3" xlink:href="#sticker" transform="translate(7.5,4.3)" style="fill: red"/>
|
|
180
|
+
|
|
181
|
+
<use id="CENTERS-l4-o0" xlink:href="#sticker" transform="translate(10.7,4.3)" style="fill: #26f"/>
|
|
182
|
+
<use id="CENTERS-l4-o1" xlink:href="#sticker" transform="translate(10.7,4.3)" style="fill: #26f"/>
|
|
183
|
+
<use id="CENTERS-l4-o2" xlink:href="#sticker" transform="translate(10.7,4.3)" style="fill: #26f"/>
|
|
184
|
+
<use id="CENTERS-l4-o3" xlink:href="#sticker" transform="translate(10.7,4.3)" style="fill: #26f"/>
|
|
185
|
+
|
|
186
|
+
<use id="CENTERS-l5-o0" xlink:href="#sticker" transform="translate(4.3,7.5)" style="fill: yellow"/>
|
|
187
|
+
<use id="CENTERS-l5-o1" xlink:href="#sticker" transform="translate(4.3,7.5)" style="fill: yellow"/>
|
|
188
|
+
<use id="CENTERS-l5-o2" xlink:href="#sticker" transform="translate(4.3,7.5)" style="fill: yellow"/>
|
|
189
|
+
<use id="CENTERS-l5-o3" xlink:href="#sticker" transform="translate(4.3,7.5)" style="fill: yellow"/>
|
|
190
|
+
</g>
|
|
191
|
+
|
|
192
|
+
</svg>\`});var W2={};be(W2,{default:()=>ip});var ip,K2=S(()=>{ip=\`<?xml version="1.0" encoding="UTF-8"?>
|
|
193
|
+
<svg width="288px" height="288px" viewBox="-16 -16 288 288" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
194
|
+
<title>3x3x3 LL</title>
|
|
195
|
+
<defs>
|
|
196
|
+
<g id="sticker">
|
|
197
|
+
<rect x="-10" y="-10" width="1" height="1" stroke="black" stroke-width="0.04px" />
|
|
198
|
+
</g>
|
|
199
|
+
</defs>
|
|
200
|
+
<g id="3x3x3-LL" stroke="none" stroke-width="4" style="none" stroke-linejoin="round">
|
|
201
|
+
<rect id="CENTERS-l0-o0" stroke="#000000" style="fill: white" x="96" y="96" width="64" height="64"></rect>
|
|
202
|
+
<rect id="CENTERS-l0-o1" stroke="#000000" style="fill: white" x="96" y="96" width="64" height="64"></rect>
|
|
203
|
+
<rect id="CENTERS-l0-o2" stroke="#000000" style="fill: white" x="96" y="96" width="64" height="64"></rect>
|
|
204
|
+
<rect id="CENTERS-l0-o3" stroke="#000000" style="fill: white" x="96" y="96" width="64" height="64"></rect>
|
|
205
|
+
|
|
206
|
+
<rect id="CORNERS-l0-o0" stroke="#000000" style="fill: white" x="160" y="160" width="64" height="64"></rect>
|
|
207
|
+
<polygon id="CORNERS-l0-o1" stroke="#000000" style="fill: red" points="224 160 252 160 252 252 224 224"></polygon>
|
|
208
|
+
<polygon id="CORNERS-l0-o2" stroke="#000000" style="fill: limegreen" transform="translate(206, 238) scale(1, -1) rotate(-90) translate(-206, -238) " points="192 192 220 192 220 284 192 256"></polygon>
|
|
209
|
+
<rect id="CORNERS-l1-o0" stroke="#000000" style="fill: white" x="160" y="32" width="64" height="64"></rect>
|
|
210
|
+
<polygon id="CORNERS-l1-o1" stroke="#000000" style="fill: #26f" transform="translate(206, 18) rotate(-90) translate(-206, -18) " points="192 -28 220 -28 220 64 192 36"></polygon>
|
|
211
|
+
<polygon id="CORNERS-l1-o2" stroke="#000000" style="fill: red" transform="translate(238, 50) scale(1, -1) translate(-238, -50) " points="224 4 252 4 252 96 224 68"></polygon>
|
|
212
|
+
<rect id="CORNERS-l2-o0" stroke="#000000" style="fill: white" x="32" y="32" width="64" height="64"></rect>
|
|
213
|
+
<polygon id="CORNERS-l2-o1" stroke="#000000" style="fill: orange" transform="translate(18, 50) scale(-1, -1) translate(-18, -50) " points="4 4 32 4 32 96 4 68"></polygon>
|
|
214
|
+
<polygon id="CORNERS-l2-o2" stroke="#000000" style="fill: #26f" transform="translate(50, 18) scale(1, -1) rotate(90) translate(-50, -18) " points="36 -28 64 -28 64 64 36 36"></polygon>
|
|
215
|
+
<rect id="CORNERS-l3-o0" stroke="#000000" style="fill: white" x="32" y="160" width="64" height="64"></rect>
|
|
216
|
+
<polygon id="CORNERS-l3-o1" stroke="#000000" style="fill: limegreen" transform="translate(50, 238) rotate(90) translate(-50, -238) " points="36 192 64 192 64 284 36 256"></polygon>
|
|
217
|
+
<polygon id="CORNERS-l3-o2" stroke="#000000" style="fill: orange" transform="translate(18, 206) scale(-1, 1) translate(-18, -206) " points="4 160 32 160 32 252 4 224"></polygon>
|
|
218
|
+
|
|
219
|
+
<rect id="EDGES-l0-o0" stroke="#000000" style="fill: white" x="96" y="160" width="64" height="64"></rect>
|
|
220
|
+
<rect id="EDGES-l0-o1" stroke="#000000" style="fill: limegreen" transform="translate(128, 238) scale(1, -1) rotate(90) translate(-128, -238) " x="114" y="206" width="28" height="64"></rect>
|
|
221
|
+
<rect id="EDGES-l1-o0" stroke="#000000" style="fill: white" x="160" y="96" width="64" height="64"></rect>
|
|
222
|
+
<rect id="EDGES-l1-o1" stroke="#000000" style="fill: red" x="224" y="96" width="28" height="64"></rect>
|
|
223
|
+
<rect id="EDGES-l2-o0" stroke="#000000" style="fill: white" x="96" y="32" width="64" height="64"></rect>
|
|
224
|
+
<rect id="EDGES-l2-o1" stroke="#000000" style="fill: #26f" transform="translate(128, 18) scale(1, -1) rotate(90) translate(-128, -18) " x="114" y="-14" width="28" height="64"></rect>
|
|
225
|
+
<rect id="EDGES-l3-o0" stroke="#000000" style="fill: white" x="32" y="96" width="64" height="64"></rect>
|
|
226
|
+
<rect id="EDGES-l3-o1" stroke="#000000" style="fill: orange" x="4" y="96" width="28" height="64"></rect>
|
|
227
|
+
|
|
228
|
+
</g>
|
|
229
|
+
<g style="opacity: 0">
|
|
230
|
+
<!-- CORNERS -->
|
|
231
|
+
<use id="CORNERS-l4-o0" xlink:href="#sticker" style="fill: yellow"/>
|
|
232
|
+
<use id="CORNERS-l4-o1" xlink:href="#sticker" style="fill: limegreen"/>
|
|
233
|
+
<use id="CORNERS-l4-o2" xlink:href="#sticker" style="fill: red"/>
|
|
234
|
+
|
|
235
|
+
<use id="CORNERS-l5-o0" xlink:href="#sticker" style="fill: yellow"/>
|
|
236
|
+
<use id="CORNERS-l5-o1" xlink:href="#sticker" style="fill: orange"/>
|
|
237
|
+
<use id="CORNERS-l5-o2" xlink:href="#sticker" style="fill: limegreen"/>
|
|
238
|
+
|
|
239
|
+
<use id="CORNERS-l6-o0" xlink:href="#sticker" style="fill: yellow"/>
|
|
240
|
+
<use id="CORNERS-l6-o1" xlink:href="#sticker" style="fill: #26f"/>
|
|
241
|
+
<use id="CORNERS-l6-o2" xlink:href="#sticker" style="fill: orange"/>
|
|
242
|
+
|
|
243
|
+
<use id="CORNERS-l7-o0" xlink:href="#sticker" style="fill: yellow"/>
|
|
244
|
+
<use id="CORNERS-l7-o1" xlink:href="#sticker" style="fill: red"/>
|
|
245
|
+
<use id="CORNERS-l7-o2" xlink:href="#sticker" style="fill: #26f"/>
|
|
246
|
+
|
|
247
|
+
<!-- EDGES -->
|
|
248
|
+
<use id="EDGES-l4-o0" xlink:href="#sticker" style="fill: yellow"/>
|
|
249
|
+
<use id="EDGES-l4-o1" xlink:href="#sticker" style="fill: limegreen"/>
|
|
250
|
+
|
|
251
|
+
<use id="EDGES-l5-o0" xlink:href="#sticker" style="fill: yellow"/>
|
|
252
|
+
<use id="EDGES-l5-o1" xlink:href="#sticker" style="fill: red"/>
|
|
253
|
+
|
|
254
|
+
<use id="EDGES-l6-o0" xlink:href="#sticker" style="fill: yellow"/>
|
|
255
|
+
<use id="EDGES-l6-o1" xlink:href="#sticker" style="fill: #26f"/>
|
|
256
|
+
|
|
257
|
+
<use id="EDGES-l7-o0" xlink:href="#sticker" style="fill: yellow"/>
|
|
258
|
+
<use id="EDGES-l7-o1" xlink:href="#sticker" style="fill: orange"/>
|
|
259
|
+
|
|
260
|
+
<use id="EDGES-l8-o0" xlink:href="#sticker" style="fill: limegreen"/>
|
|
261
|
+
<use id="EDGES-l8-o1" xlink:href="#sticker" style="fill: red"/>
|
|
262
|
+
|
|
263
|
+
<use id="EDGES-l9-o0" xlink:href="#sticker" style="fill: limegreen"/>
|
|
264
|
+
<use id="EDGES-l9-o1" xlink:href="#sticker" style="fill: orange"/>
|
|
265
|
+
|
|
266
|
+
<use id="EDGES-l10-o0" xlink:href="#sticker" style="fill: #26f"/>
|
|
267
|
+
<use id="EDGES-l10-o1" xlink:href="#sticker" style="fill: red"/>
|
|
268
|
+
|
|
269
|
+
<use id="EDGES-l11-o0" xlink:href="#sticker" style="fill: #26f"/>
|
|
270
|
+
<use id="EDGES-l11-o1" xlink:href="#sticker" style="fill: orange"/>
|
|
271
|
+
|
|
272
|
+
<!-- CENTERS -->
|
|
273
|
+
<!-- TODO: Allow the same sticker to be reused for multiple orientations -->
|
|
274
|
+
<use id="CENTERS-l1-o0" xlink:href="#sticker" style="fill: orange"/>
|
|
275
|
+
<use id="CENTERS-l1-o1" xlink:href="#sticker" style="fill: orange"/>
|
|
276
|
+
<use id="CENTERS-l1-o2" xlink:href="#sticker" style="fill: orange"/>
|
|
277
|
+
<use id="CENTERS-l1-o3" xlink:href="#sticker" style="fill: orange"/>
|
|
278
|
+
|
|
279
|
+
<use id="CENTERS-l2-o0" xlink:href="#sticker" style="fill: limegreen"/>
|
|
280
|
+
<use id="CENTERS-l2-o1" xlink:href="#sticker" style="fill: limegreen"/>
|
|
281
|
+
<use id="CENTERS-l2-o2" xlink:href="#sticker" style="fill: limegreen"/>
|
|
282
|
+
<use id="CENTERS-l2-o3" xlink:href="#sticker" style="fill: limegreen"/>
|
|
283
|
+
|
|
284
|
+
<use id="CENTERS-l3-o0" xlink:href="#sticker" style="fill: red"/>
|
|
285
|
+
<use id="CENTERS-l3-o1" xlink:href="#sticker" style="fill: red"/>
|
|
286
|
+
<use id="CENTERS-l3-o2" xlink:href="#sticker" style="fill: red"/>
|
|
287
|
+
<use id="CENTERS-l3-o3" xlink:href="#sticker" style="fill: red"/>
|
|
288
|
+
|
|
289
|
+
<use id="CENTERS-l4-o0" xlink:href="#sticker" style="fill: #26f"/>
|
|
290
|
+
<use id="CENTERS-l4-o1" xlink:href="#sticker" style="fill: #26f"/>
|
|
291
|
+
<use id="CENTERS-l4-o2" xlink:href="#sticker" style="fill: #26f"/>
|
|
292
|
+
<use id="CENTERS-l4-o3" xlink:href="#sticker" style="fill: #26f"/>
|
|
293
|
+
|
|
294
|
+
<use id="CENTERS-l5-o0" xlink:href="#sticker" style="fill: yellow"/>
|
|
295
|
+
<use id="CENTERS-l5-o1" xlink:href="#sticker" style="fill: yellow"/>
|
|
296
|
+
<use id="CENTERS-l5-o2" xlink:href="#sticker" style="fill: yellow"/>
|
|
297
|
+
<use id="CENTERS-l5-o3" xlink:href="#sticker" style="fill: yellow"/>
|
|
298
|
+
</g>
|
|
299
|
+
</svg>\`});var _a,Q2=S(()=>{Xe();Tr();Cr();Ln();_a={id:"3x3x3",fullName:"3\\xD73\\xD73 Cube",inventedBy:["Ern\\u0151 Rubik"],inventionYear:1974,kpuzzle:Ne(async()=>ma),svg:Ne(async()=>(await Promise.resolve().then(()=>(O2(),N2))).default),llSVG:Ne(async()=>(await Promise.resolve().then(()=>(K2(),W2))).default),pg:Ne(async()=>bo("3x3x3")),appearance:e=>zt(_a,e),stickerings:hn}});var j2={};be(j2,{clockKPuzzleDefinition:()=>ap});var ap,q2=S(()=>{ap={name:"Clock",orbits:{DIALS:{numPieces:18,numOrientations:12},FACES:{numPieces:18,numOrientations:1},FRAME:{numPieces:1,numOrientations:2}},startStateData:{DIALS:{pieces:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FACES:{pieces:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FRAME:{pieces:[0],orientation:[0]}},moves:{UR_PLUS_:{DIALS:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,1,1,0,1,1,0,0,0,-1,0,0,0,0,0,0,0,0]},FACES:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FRAME:{permutation:[0],orientation:[0]}},DR_PLUS_:{DIALS:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,-1,0,0]},FACES:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FRAME:{permutation:[0],orientation:[0]}},DL_PLUS_:{DIALS:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,-1]},FACES:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FRAME:{permutation:[0],orientation:[0]}},UL_PLUS_:{DIALS:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[1,1,0,1,1,0,0,0,0,0,0,-1,0,0,0,0,0,0]},FACES:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FRAME:{permutation:[0],orientation:[0]}},U_PLUS_:{DIALS:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[1,1,1,1,1,1,0,0,0,-1,0,-1,0,0,0,0,0,0]},FACES:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FRAME:{permutation:[0],orientation:[0]}},R_PLUS_:{DIALS:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,1,1,0,1,1,0,1,1,-1,0,0,0,0,0,-1,0,0]},FACES:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FRAME:{permutation:[0],orientation:[0]}},D_PLUS_:{DIALS:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,-1,0,-1]},FACES:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FRAME:{permutation:[0],orientation:[0]}},L_PLUS_:{DIALS:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[1,1,0,1,1,0,1,1,0,0,0,-1,0,0,0,0,0,-1]},FACES:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FRAME:{permutation:[0],orientation:[0]}},ALL_PLUS_:{DIALS:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[1,1,1,1,1,1,1,1,1,-1,0,-1,0,0,0,-1,0,-1]},FACES:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FRAME:{permutation:[0],orientation:[0]}},y2:{DIALS:{permutation:[9,10,11,12,13,14,15,16,17,0,1,2,3,4,5,6,7,8],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FACES:{permutation:[9,10,11,12,13,14,15,16,17,0,1,2,3,4,5,6,7,8],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FRAME:{permutation:[0],orientation:[1]}},UL:{DIALS:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FACES:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FRAME:{permutation:[0],orientation:[0]}},UR:{DIALS:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FACES:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FRAME:{permutation:[0],orientation:[0]}},DL:{DIALS:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FACES:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FRAME:{permutation:[0],orientation:[0]}},DR:{DIALS:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FACES:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},FRAME:{permutation:[0],orientation:[0]}}}}});var V2={};be(V2,{default:()=>sp});var sp,H2=S(()=>{sp=\`<?xml version="1.0" encoding="UTF-8"?>
|
|
300
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 480 240" preserveAspectRatio="xMidYMid meet">
|
|
301
|
+
<title>clock</title>
|
|
302
|
+
<defs>
|
|
303
|
+
<g id="hand" transform="translate(-20, -20)">
|
|
304
|
+
<path d="M19.9995197,2.22079449 L23.8791657,19.0203611 C23.9580836,19.3338406 24,19.6620253 24,20 C24,22.209139 22.209139,24 20,24 C17.790861,24 16,22.209139 16,20 C16,19.6620253 16.0419164,19.3338406 16.1208343,19.0203611 L19.9995197,2.22079449 Z"></path>
|
|
305
|
+
</g>
|
|
306
|
+
<g id="cardinal_hours" style="fill: #FFFFFF">
|
|
307
|
+
<circle cx="0" cy="24" r="2"></circle>
|
|
308
|
+
<circle cx="-24" cy="0" r="2"></circle>
|
|
309
|
+
<circle cx="24" cy="0" r="2"></circle>
|
|
310
|
+
<circle cx="0" cy="-24" r="2"></circle>
|
|
311
|
+
</g>
|
|
312
|
+
<g id="face_hours">
|
|
313
|
+
<g>
|
|
314
|
+
<use xlink:href="#cardinal_hours"/>
|
|
315
|
+
</g>
|
|
316
|
+
<g transform="rotate(30)">
|
|
317
|
+
<use xlink:href="#cardinal_hours"/>
|
|
318
|
+
</g>
|
|
319
|
+
<g transform="rotate(60)">
|
|
320
|
+
<use xlink:href="#cardinal_hours"/>
|
|
321
|
+
</g>
|
|
322
|
+
</g>
|
|
323
|
+
<g id="pegs" stroke="#000000" style="fill: #FFD000">
|
|
324
|
+
<circle id="PEG4" cx="90" cy="90" r="10"></circle>
|
|
325
|
+
<circle id="PEG3" cx="30" cy="90" r="10"></circle>
|
|
326
|
+
<circle id="PEG2" cx="90" cy="30" r="10"></circle>
|
|
327
|
+
<circle id="PEG1" cx="30" cy="30" r="10"></circle>
|
|
328
|
+
</g>
|
|
329
|
+
<g id="frame" transform="translate(-24, -24)">
|
|
330
|
+
<path stroke="#000000" d="M120,20 C137.495665,20 153.941932,24.4930026 168.247913,32.3881183 C171.855881,30.8514056 175.828512,30 180,30 C196.568542,30 210,43.4314575 210,60 C210,64.1714878 209.148594,68.1441192 207.610077,71.7536009 C215.506997,86.0580678 220,102.504335 220,120 C220,137.495665 215.506997,153.941932 207.611882,168.247913 C209.148594,171.855881 210,175.828512 210,180 C210,196.568542 196.568542,210 180,210 C175.828512,210 171.855881,209.148594 168.246399,207.610077 C153.941932,215.506997 137.495665,220 120,220 C102.504335,220 86.0580678,215.506997 71.7520869,207.611882 C68.1441192,209.148594 64.1714878,210 60,210 C43.4314575,210 30,196.568542 30,180 C30,175.828512 30.8514056,171.855881 32.3899234,168.246399 C24.4930026,153.941932 20,137.495665 20,120 C20,102.504335 24.4930026,86.0580678 32.3881183,71.7520869 C30.8514056,68.1441192 30,64.1714878 30,60 C30,43.4314575 43.4314575,30 60,30 C64.1714878,30 68.1441192,30.8514056 71.7536009,32.3899234 C86.0580678,24.4930026 102.504335,20 120,20 Z"></path>
|
|
331
|
+
</g>
|
|
332
|
+
</defs>
|
|
333
|
+
<g>
|
|
334
|
+
<g transform="translate(24, 24)">
|
|
335
|
+
<use xlink:href="#frame" id="FRAME-l0-o0" style="fill: #0C5093"/>
|
|
336
|
+
<use xlink:href="#pegs" transform="translate(36, 36)"/>
|
|
337
|
+
<g transform="translate(36, 36)">
|
|
338
|
+
<circle id="FACES-l0-o0" stroke="#000000" style="fill: #90B8DF" r="20"></circle>
|
|
339
|
+
<use xlink:href="#face_hours"/>
|
|
340
|
+
<g>
|
|
341
|
+
<use id="DIALS-l0-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
342
|
+
<use id="DIALS-l0-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
343
|
+
<use id="DIALS-l0-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
344
|
+
<use id="DIALS-l0-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
345
|
+
<use id="DIALS-l0-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
346
|
+
<use id="DIALS-l0-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
347
|
+
<use id="DIALS-l0-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
348
|
+
<use id="DIALS-l0-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
349
|
+
<use id="DIALS-l0-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
350
|
+
<use id="DIALS-l0-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
351
|
+
<use id="DIALS-l0-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
352
|
+
<use id="DIALS-l0-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
353
|
+
</g>
|
|
354
|
+
</g>
|
|
355
|
+
<g transform="translate(96, 36)">
|
|
356
|
+
<circle id="FACES-l1-o0" stroke="#000000" style="fill: #90B8DF" r="20"></circle>
|
|
357
|
+
<use xlink:href="#face_hours"/>
|
|
358
|
+
<g>
|
|
359
|
+
<use id="DIALS-l1-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
360
|
+
<use id="DIALS-l1-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
361
|
+
<use id="DIALS-l1-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
362
|
+
<use id="DIALS-l1-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
363
|
+
<use id="DIALS-l1-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
364
|
+
<use id="DIALS-l1-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
365
|
+
<use id="DIALS-l1-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
366
|
+
<use id="DIALS-l1-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
367
|
+
<use id="DIALS-l1-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
368
|
+
<use id="DIALS-l1-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
369
|
+
<use id="DIALS-l1-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
370
|
+
<use id="DIALS-l1-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
371
|
+
</g>
|
|
372
|
+
</g>
|
|
373
|
+
<g transform="translate(156, 36)">
|
|
374
|
+
<circle id="FACES-l2-o0" stroke="#000000" style="fill: #90B8DF" r="20"></circle>
|
|
375
|
+
<use xlink:href="#face_hours"/>
|
|
376
|
+
<g>
|
|
377
|
+
<use id="DIALS-l2-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
378
|
+
<use id="DIALS-l2-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
379
|
+
<use id="DIALS-l2-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
380
|
+
<use id="DIALS-l2-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
381
|
+
<use id="DIALS-l2-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
382
|
+
<use id="DIALS-l2-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
383
|
+
<use id="DIALS-l2-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
384
|
+
<use id="DIALS-l2-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
385
|
+
<use id="DIALS-l2-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
386
|
+
<use id="DIALS-l2-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
387
|
+
<use id="DIALS-l2-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
388
|
+
<use id="DIALS-l2-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
389
|
+
</g>
|
|
390
|
+
</g>
|
|
391
|
+
<g transform="translate(36, 96)">
|
|
392
|
+
<circle id="FACES-l3-o0" stroke="#000000" style="fill: #90B8DF" r="20"></circle>
|
|
393
|
+
<use xlink:href="#face_hours"/>
|
|
394
|
+
<g>
|
|
395
|
+
<use id="DIALS-l3-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
396
|
+
<use id="DIALS-l3-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
397
|
+
<use id="DIALS-l3-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
398
|
+
<use id="DIALS-l3-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
399
|
+
<use id="DIALS-l3-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
400
|
+
<use id="DIALS-l3-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
401
|
+
<use id="DIALS-l3-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
402
|
+
<use id="DIALS-l3-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
403
|
+
<use id="DIALS-l3-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
404
|
+
<use id="DIALS-l3-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
405
|
+
<use id="DIALS-l3-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
406
|
+
<use id="DIALS-l3-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
407
|
+
</g>
|
|
408
|
+
</g>
|
|
409
|
+
<g transform="translate(96, 96)">
|
|
410
|
+
<circle id="FACES-l4-o0" stroke="#000000" style="fill: #90B8DF" r="20"></circle>
|
|
411
|
+
<use xlink:href="#face_hours"/>
|
|
412
|
+
<g>
|
|
413
|
+
<use id="DIALS-l4-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
414
|
+
<use id="DIALS-l4-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
415
|
+
<use id="DIALS-l4-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
416
|
+
<use id="DIALS-l4-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
417
|
+
<use id="DIALS-l4-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
418
|
+
<use id="DIALS-l4-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
419
|
+
<use id="DIALS-l4-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
420
|
+
<use id="DIALS-l4-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
421
|
+
<use id="DIALS-l4-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
422
|
+
<use id="DIALS-l4-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
423
|
+
<use id="DIALS-l4-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
424
|
+
<use id="DIALS-l4-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
425
|
+
</g>
|
|
426
|
+
</g>
|
|
427
|
+
<g transform="translate(156, 96)">
|
|
428
|
+
<circle id="FACES-l5-o0" stroke="#000000" style="fill: #90B8DF" r="20"></circle>
|
|
429
|
+
<use xlink:href="#face_hours"/>
|
|
430
|
+
<g>
|
|
431
|
+
<use id="DIALS-l5-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
432
|
+
<use id="DIALS-l5-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
433
|
+
<use id="DIALS-l5-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
434
|
+
<use id="DIALS-l5-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
435
|
+
<use id="DIALS-l5-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
436
|
+
<use id="DIALS-l5-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
437
|
+
<use id="DIALS-l5-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
438
|
+
<use id="DIALS-l5-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
439
|
+
<use id="DIALS-l5-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
440
|
+
<use id="DIALS-l5-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
441
|
+
<use id="DIALS-l5-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
442
|
+
<use id="DIALS-l5-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
443
|
+
</g>
|
|
444
|
+
</g>
|
|
445
|
+
<g transform="translate(36, 156)">
|
|
446
|
+
<circle id="FACES-l6-o0" stroke="#000000" style="fill: #90B8DF" r="20"></circle>
|
|
447
|
+
<use xlink:href="#face_hours"/>
|
|
448
|
+
<g>
|
|
449
|
+
<use id="DIALS-l6-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
450
|
+
<use id="DIALS-l6-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
451
|
+
<use id="DIALS-l6-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
452
|
+
<use id="DIALS-l6-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
453
|
+
<use id="DIALS-l6-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
454
|
+
<use id="DIALS-l6-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
455
|
+
<use id="DIALS-l6-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
456
|
+
<use id="DIALS-l6-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
457
|
+
<use id="DIALS-l6-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
458
|
+
<use id="DIALS-l6-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
459
|
+
<use id="DIALS-l6-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
460
|
+
<use id="DIALS-l6-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
461
|
+
</g>
|
|
462
|
+
</g>
|
|
463
|
+
<g transform="translate(96, 156)">
|
|
464
|
+
<circle id="FACES-l7-o0" stroke="#000000" style="fill: #90B8DF" r="20"></circle>
|
|
465
|
+
<use xlink:href="#face_hours"/>
|
|
466
|
+
<g>
|
|
467
|
+
<use id="DIALS-l7-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
468
|
+
<use id="DIALS-l7-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
469
|
+
<use id="DIALS-l7-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
470
|
+
<use id="DIALS-l7-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
471
|
+
<use id="DIALS-l7-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
472
|
+
<use id="DIALS-l7-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
473
|
+
<use id="DIALS-l7-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
474
|
+
<use id="DIALS-l7-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
475
|
+
<use id="DIALS-l7-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
476
|
+
<use id="DIALS-l7-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
477
|
+
<use id="DIALS-l7-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
478
|
+
<use id="DIALS-l7-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
479
|
+
</g>
|
|
480
|
+
</g>
|
|
481
|
+
<g transform="translate(156, 156)">
|
|
482
|
+
<circle id="FACES-l8-o0" stroke="#000000" style="fill: #90B8DF" r="20"></circle>
|
|
483
|
+
<use xlink:href="#face_hours"/>
|
|
484
|
+
<g>
|
|
485
|
+
<use id="DIALS-l8-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
486
|
+
<use id="DIALS-l8-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
487
|
+
<use id="DIALS-l8-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
488
|
+
<use id="DIALS-l8-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
489
|
+
<use id="DIALS-l8-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
490
|
+
<use id="DIALS-l8-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
491
|
+
<use id="DIALS-l8-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
492
|
+
<use id="DIALS-l8-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
493
|
+
<use id="DIALS-l8-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
494
|
+
<use id="DIALS-l8-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
495
|
+
<use id="DIALS-l8-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
496
|
+
<use id="DIALS-l8-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
497
|
+
</g>
|
|
498
|
+
</g>
|
|
499
|
+
</g>
|
|
500
|
+
<g transform="translate(264, 24)">
|
|
501
|
+
<use xlink:href="#frame" id="FRAME-l0-o1" style="fill: #90B8DF"/>
|
|
502
|
+
<use xlink:href="#pegs" transform="translate(36, 36)"/>
|
|
503
|
+
<g transform="translate(36, 36)">
|
|
504
|
+
<circle id="FACES-l9-o0" stroke="#000000" style="fill: #0C5093" r="20"></circle>
|
|
505
|
+
<use xlink:href="#face_hours"/>
|
|
506
|
+
<g>
|
|
507
|
+
<use id="DIALS-l9-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
508
|
+
<use id="DIALS-l9-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
509
|
+
<use id="DIALS-l9-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
510
|
+
<use id="DIALS-l9-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
511
|
+
<use id="DIALS-l9-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
512
|
+
<use id="DIALS-l9-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
513
|
+
<use id="DIALS-l9-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
514
|
+
<use id="DIALS-l9-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
515
|
+
<use id="DIALS-l9-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
516
|
+
<use id="DIALS-l9-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
517
|
+
<use id="DIALS-l9-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
518
|
+
<use id="DIALS-l9-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
519
|
+
</g>
|
|
520
|
+
</g>
|
|
521
|
+
<g transform="translate(96, 36)">
|
|
522
|
+
<circle id="FACES-l10-o0" stroke="#000000" style="fill: #0C5093" r="20"></circle>
|
|
523
|
+
<use xlink:href="#face_hours"/>
|
|
524
|
+
<g>
|
|
525
|
+
<use id="DIALS-l10-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
526
|
+
<use id="DIALS-l10-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
527
|
+
<use id="DIALS-l10-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
528
|
+
<use id="DIALS-l10-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
529
|
+
<use id="DIALS-l10-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
530
|
+
<use id="DIALS-l10-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
531
|
+
<use id="DIALS-l10-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
532
|
+
<use id="DIALS-l10-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
533
|
+
<use id="DIALS-l10-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
534
|
+
<use id="DIALS-l10-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
535
|
+
<use id="DIALS-l10-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
536
|
+
<use id="DIALS-l10-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
537
|
+
</g>
|
|
538
|
+
</g>
|
|
539
|
+
<g transform="translate(156, 36)">
|
|
540
|
+
<circle id="FACES-l11-o0" stroke="#000000" style="fill: #0C5093" r="20"></circle>
|
|
541
|
+
<use xlink:href="#face_hours"/>
|
|
542
|
+
<g>
|
|
543
|
+
<use id="DIALS-l11-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
544
|
+
<use id="DIALS-l11-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
545
|
+
<use id="DIALS-l11-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
546
|
+
<use id="DIALS-l11-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
547
|
+
<use id="DIALS-l11-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
548
|
+
<use id="DIALS-l11-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
549
|
+
<use id="DIALS-l11-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
550
|
+
<use id="DIALS-l11-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
551
|
+
<use id="DIALS-l11-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
552
|
+
<use id="DIALS-l11-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
553
|
+
<use id="DIALS-l11-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
554
|
+
<use id="DIALS-l11-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
555
|
+
</g>
|
|
556
|
+
</g>
|
|
557
|
+
<g transform="translate(36, 96)">
|
|
558
|
+
<circle id="FACES-l12-o0" stroke="#000000" style="fill: #0C5093" r="20"></circle>
|
|
559
|
+
<use xlink:href="#face_hours"/>
|
|
560
|
+
<g>
|
|
561
|
+
<use id="DIALS-l12-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
562
|
+
<use id="DIALS-l12-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
563
|
+
<use id="DIALS-l12-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
564
|
+
<use id="DIALS-l12-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
565
|
+
<use id="DIALS-l12-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
566
|
+
<use id="DIALS-l12-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
567
|
+
<use id="DIALS-l12-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
568
|
+
<use id="DIALS-l12-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
569
|
+
<use id="DIALS-l12-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
570
|
+
<use id="DIALS-l12-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
571
|
+
<use id="DIALS-l12-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
572
|
+
<use id="DIALS-l12-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
573
|
+
</g>
|
|
574
|
+
</g>
|
|
575
|
+
<g transform="translate(96, 96)">
|
|
576
|
+
<circle id="FACES-l13-o0" stroke="#000000" style="fill: #0C5093" r="20"></circle>
|
|
577
|
+
<use xlink:href="#face_hours"/>
|
|
578
|
+
<g>
|
|
579
|
+
<use id="DIALS-l13-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
580
|
+
<use id="DIALS-l13-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
581
|
+
<use id="DIALS-l13-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
582
|
+
<use id="DIALS-l13-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
583
|
+
<use id="DIALS-l13-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
584
|
+
<use id="DIALS-l13-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
585
|
+
<use id="DIALS-l13-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
586
|
+
<use id="DIALS-l13-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
587
|
+
<use id="DIALS-l13-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
588
|
+
<use id="DIALS-l13-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
589
|
+
<use id="DIALS-l13-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
590
|
+
<use id="DIALS-l13-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
591
|
+
</g>
|
|
592
|
+
</g>
|
|
593
|
+
<g transform="translate(156, 96)">
|
|
594
|
+
<circle id="FACES-l14-o0" stroke="#000000" style="fill: #0C5093" r="20"></circle>
|
|
595
|
+
<use xlink:href="#face_hours"/>
|
|
596
|
+
<g>
|
|
597
|
+
<use id="DIALS-l14-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
598
|
+
<use id="DIALS-l14-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
599
|
+
<use id="DIALS-l14-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
600
|
+
<use id="DIALS-l14-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
601
|
+
<use id="DIALS-l14-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
602
|
+
<use id="DIALS-l14-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
603
|
+
<use id="DIALS-l14-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
604
|
+
<use id="DIALS-l14-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
605
|
+
<use id="DIALS-l14-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
606
|
+
<use id="DIALS-l14-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
607
|
+
<use id="DIALS-l14-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
608
|
+
<use id="DIALS-l14-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
609
|
+
</g>
|
|
610
|
+
</g>
|
|
611
|
+
<g transform="translate(36, 156)">
|
|
612
|
+
<circle id="FACES-l15-o0" stroke="#000000" style="fill: #0C5093" r="20"></circle>
|
|
613
|
+
<use xlink:href="#face_hours"/>
|
|
614
|
+
<g>
|
|
615
|
+
<use id="DIALS-l15-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
616
|
+
<use id="DIALS-l15-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
617
|
+
<use id="DIALS-l15-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
618
|
+
<use id="DIALS-l15-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
619
|
+
<use id="DIALS-l15-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
620
|
+
<use id="DIALS-l15-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
621
|
+
<use id="DIALS-l15-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
622
|
+
<use id="DIALS-l15-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
623
|
+
<use id="DIALS-l15-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
624
|
+
<use id="DIALS-l15-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
625
|
+
<use id="DIALS-l15-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
626
|
+
<use id="DIALS-l15-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
627
|
+
</g>
|
|
628
|
+
</g>
|
|
629
|
+
<g transform="translate(96, 156)">
|
|
630
|
+
<circle id="FACES-l16-o0" stroke="#000000" style="fill: #0C5093" r="20"></circle>
|
|
631
|
+
<use xlink:href="#face_hours"/>
|
|
632
|
+
<g>
|
|
633
|
+
<use id="DIALS-l16-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
634
|
+
<use id="DIALS-l16-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
635
|
+
<use id="DIALS-l16-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
636
|
+
<use id="DIALS-l16-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
637
|
+
<use id="DIALS-l16-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
638
|
+
<use id="DIALS-l16-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
639
|
+
<use id="DIALS-l16-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
640
|
+
<use id="DIALS-l16-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
641
|
+
<use id="DIALS-l16-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
642
|
+
<use id="DIALS-l16-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
643
|
+
<use id="DIALS-l16-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
644
|
+
<use id="DIALS-l16-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
645
|
+
</g>
|
|
646
|
+
</g>
|
|
647
|
+
<g transform="translate(156, 156)">
|
|
648
|
+
<circle id="FACES-l17-o0" stroke="#000000" style="fill: #0C5093" r="20"></circle>
|
|
649
|
+
<use xlink:href="#face_hours"/>
|
|
650
|
+
<g>
|
|
651
|
+
<use id="DIALS-l17-o0" xlink:href="#hand" transform="rotate(0)" style="fill: #FFD000"/>
|
|
652
|
+
<use id="DIALS-l17-o1" xlink:href="#hand" transform="rotate(30)" style="fill: #0000"/>
|
|
653
|
+
<use id="DIALS-l17-o2" xlink:href="#hand" transform="rotate(60)" style="fill: #0000"/>
|
|
654
|
+
<use id="DIALS-l17-o3" xlink:href="#hand" transform="rotate(90)" style="fill: #0000"/>
|
|
655
|
+
<use id="DIALS-l17-o4" xlink:href="#hand" transform="rotate(120)" style="fill: #0000"/>
|
|
656
|
+
<use id="DIALS-l17-o5" xlink:href="#hand" transform="rotate(150)" style="fill: #0000"/>
|
|
657
|
+
<use id="DIALS-l17-o6" xlink:href="#hand" transform="rotate(180)" style="fill: #0000"/>
|
|
658
|
+
<use id="DIALS-l17-o7" xlink:href="#hand" transform="rotate(210)" style="fill: #0000"/>
|
|
659
|
+
<use id="DIALS-l17-o8" xlink:href="#hand" transform="rotate(240)" style="fill: #0000"/>
|
|
660
|
+
<use id="DIALS-l17-o9" xlink:href="#hand" transform="rotate(270)" style="fill: #0000"/>
|
|
661
|
+
<use id="DIALS-l17-o10" xlink:href="#hand" transform="rotate(300)" style="fill: #0000"/>
|
|
662
|
+
<use id="DIALS-l17-o11" xlink:href="#hand" transform="rotate(330)" style="fill: #0000"/>
|
|
663
|
+
</g>
|
|
664
|
+
</g>
|
|
665
|
+
</g>
|
|
666
|
+
</g>
|
|
667
|
+
</svg>\`});var Y2,X2=S(()=>{Xe();Cr();Y2={id:"clock",fullName:"Clock",inventedBy:["Christopher C. Wiggs","Christopher J. Taylor"],inventionYear:1988,kpuzzle:Ne(async()=>new Te((await Promise.resolve().then(()=>(q2(),j2))).clockKPuzzleDefinition)),svg:Ne(async()=>(await Promise.resolve().then(()=>(H2(),V2))).default)}});async function Z2(e,t){let r=await e.kpuzzle(),n=new po(r),o=new go(r),l=()=>o.and([o.move("U"),o.not(o.or(o.moves(["F","BL","BR"])))]),i=()=>o.and([o.move("U"),o.not(o.move("F"))]),a=()=>o.or([i(),o.and([o.move("F"),o.not(o.or(o.moves(["U","BL","BR"])))])]),u=()=>o.not(o.or([o.and([o.move("U"),o.move("F")]),o.and([o.move("F"),o.move("BL")]),o.and([o.move("F"),o.move("BR")]),o.and([o.move("BL"),o.move("BR")])])),s=()=>o.not(o.or([o.and([o.move("F"),o.move("BL")]),o.and([o.move("F"),o.move("BR")]),o.and([o.move("BL"),o.move("BR")])]));switch(t){case"full":break;case"experimental-fto-fc":n.set(o.not(l()),x.Ignored);break;case"experimental-fto-f2t":n.set(o.not(i()),x.Ignored),n.set(l(),x.Dim);break;case"experimental-fto-sc":n.set(o.not(a()),x.Ignored),n.set(i(),x.Dim);break;case"experimental-fto-l2c":n.set(o.not(u()),x.Ignored),n.set(a(),x.Dim);break;case"experimental-fto-lbt":n.set(o.not(s()),x.Ignored),n.set(u(),x.Dim);break;case"experimental-fto-l3t":n.set(s(),x.Dim);break;default:console.warn(\`Unsupported stickering for \${e.id}: \${t}. Setting all pieces to dim.\`),n.set(o.and(o.moves([])),x.Dim)}return n.toAppearance()}async function J2(){return["full","experimental-fto-fc","experimental-fto-f2t","experimental-fto-sc","experimental-fto-l2c","experimental-fto-lbt","experimental-fto-l3t"]}var $2=S(()=>{ho()});var e1,t1,r1=S(()=>{Tr();$2();e1=class extends gt{constructor(){super({id:"fto",fullName:"Face-Turning Octahedron",inventedBy:["Karl Rohrbach","David Pitcher"],inventionYear:1983});this.stickerings=J2}appearance(t){return Z2(this,t)}},t1=new e1});async function n1(e,t){switch(t){case"full":case"F2L":case"LL":return zt(e,t);default:console.warn(\`Unsupported stickering for \${e.id}: \${t}. Setting all pieces to dim.\`)}return zt(e,"full")}async function o1(){return["full","F2L","LL"]}var l1=S(()=>{Ln()});var i1,a1,s1=S(()=>{Tr();l1();i1=class extends gt{constructor(){super({id:"megaminx",fullName:"Megaminx",inventionYear:1981});this.stickerings=o1}appearance(t){return n1(this,t)}},a1=new i1});var u1={};be(u1,{default:()=>up});var up,f1=S(()=>{up=\`<?xml version="1.0" encoding="UTF-8"?>
|
|
668
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
|
|
669
|
+
"http://www.w3.org/TR/2001/REC-SVG-20050904/DTD/svg11.dtd">
|
|
670
|
+
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-20 -20 546 480" preserveAspectRatio="xMidYMid meet">
|
|
671
|
+
<defs>
|
|
672
|
+
</defs>
|
|
673
|
+
<title>pyraminx</title>
|
|
674
|
+
<defs>
|
|
675
|
+
<g id="stickerA" transform="scale(1, 0.577350269)">
|
|
676
|
+
<path
|
|
677
|
+
d="m 0,1.732050808 1,-1.732050808 1,1.732050808 z"
|
|
678
|
+
stroke="black" stroke-width="0.04px" stroke-linecap="butt" stroke-linejoin="round"
|
|
679
|
+
/>
|
|
680
|
+
</g>
|
|
681
|
+
<g id="stickerV" transform="scale(1, 0.577350269)">
|
|
682
|
+
<path
|
|
683
|
+
d="m 0,0 1,1.732050808 1,-1.732050808 z"
|
|
684
|
+
stroke="black" stroke-width="0.04px" stroke-linecap="butt" stroke-linejoin="round"
|
|
685
|
+
/>
|
|
686
|
+
</g>
|
|
687
|
+
</defs>
|
|
688
|
+
|
|
689
|
+
<!-- 0 1 2 3 4 5 6 7 8 9 10 -->
|
|
690
|
+
<!-- | | | | | | | | | | | -->
|
|
691
|
+
<!-- 0 - L L L L L F R R R R R -->
|
|
692
|
+
<!-- 1 - L L L F F F R R R -->
|
|
693
|
+
<!-- 2 - L F F F F F R -->
|
|
694
|
+
<!-- 3 - D D D D D -->
|
|
695
|
+
<!-- 4 - D D D -->
|
|
696
|
+
<!-- 5 - D -->
|
|
697
|
+
|
|
698
|
+
<g id="puzzle" transform="translate(5, 5) scale(40, 69.28203232)">
|
|
699
|
+
<!-- CORNERS -->
|
|
700
|
+
<use id="CORNERS-l0-o0" xlink:href="#stickerV" transform="translate(5.2, 1.066666667)" style="fill: limegreen"/>
|
|
701
|
+
<use id="CORNERS-l0-o1" xlink:href="#stickerA" transform="translate(3, 0)" style="fill: red"/>
|
|
702
|
+
<use id="CORNERS-l0-o2" xlink:href="#stickerA" transform="translate(7.4, 0)" style="fill: blue"/>
|
|
703
|
+
|
|
704
|
+
<use id="CORNERS-l3-o0" xlink:href="#stickerV" transform="translate(4.2, 2.066666667)" style="fill: limegreen"/>
|
|
705
|
+
<use id="CORNERS-l3-o1" xlink:href="#stickerA" transform="translate(4.2, 3.2)" style="fill: yellow"/>
|
|
706
|
+
<use id="CORNERS-l3-o2" xlink:href="#stickerA" transform="translate(2, 1)" style="fill: red"/>
|
|
707
|
+
|
|
708
|
+
<use id="CORNERS-l2-o0" xlink:href="#stickerV" transform="translate(6.2, 2.066666667)" style="fill: limegreen"/>
|
|
709
|
+
<use id="CORNERS-l2-o1" xlink:href="#stickerA" transform="translate(8.4, 1)" style="fill: blue"/>
|
|
710
|
+
<use id="CORNERS-l2-o2" xlink:href="#stickerA" transform="translate(6.2, 3.2)" style="fill: yellow"/>
|
|
711
|
+
|
|
712
|
+
<use id="CORNERS-l1-o1" xlink:href="#stickerA" transform="translate(9.4, 0)" style="fill: blue"/>
|
|
713
|
+
<use id="CORNERS-l1-o2" xlink:href="#stickerA" transform="translate(1, 0)" style="fill: red"/>
|
|
714
|
+
<use id="CORNERS-l1-o0" xlink:href="#stickerA" transform="translate(5.2, 4.2)" style="fill: yellow"/>
|
|
715
|
+
|
|
716
|
+
<!-- "TIPS" -->
|
|
717
|
+
<!-- CORNERS2 -->
|
|
718
|
+
<use id="CORNERS2-l0-o0" xlink:href="#stickerA" transform="translate(5.2, 0.066666667)" style="fill: limegreen"/>
|
|
719
|
+
<use id="CORNERS2-l0-o1" xlink:href="#stickerV" transform="translate(4, 0)" style="fill: red"/>
|
|
720
|
+
<use id="CORNERS2-l0-o2" xlink:href="#stickerV" transform="translate(6.4, 0)" style="fill: blue"/>
|
|
721
|
+
|
|
722
|
+
<use id="CORNERS2-l3-o0" xlink:href="#stickerA" transform="translate(3.2, 2.066666667)" style="fill: limegreen"/>
|
|
723
|
+
<use id="CORNERS2-l3-o1" xlink:href="#stickerV" transform="translate(3.2, 3.2)" style="fill: yellow"/>
|
|
724
|
+
<use id="CORNERS2-l3-o2" xlink:href="#stickerV" transform="translate(2, 2)" style="fill: red"/>
|
|
725
|
+
|
|
726
|
+
<use id="CORNERS2-l2-o1" xlink:href="#stickerV" transform="translate(8.4, 2)" style="fill: blue"/>
|
|
727
|
+
<use id="CORNERS2-l2-o2" xlink:href="#stickerV" transform="translate(7.2, 3.2)" style="fill: yellow"/>
|
|
728
|
+
<use id="CORNERS2-l2-o0" xlink:href="#stickerA" transform="translate(7.2, 2.066666667)" style="fill: limegreen"/>
|
|
729
|
+
|
|
730
|
+
<use id="CORNERS2-l1-o1" xlink:href="#stickerV" transform="translate(10.4,0)" style="fill: blue"/>
|
|
731
|
+
<use id="CORNERS2-l1-o2" xlink:href="#stickerV" transform="translate(0, 0)" style="fill: red"/>
|
|
732
|
+
<use id="CORNERS2-l1-o0" xlink:href="#stickerV" transform="translate(5.2, 5.2)" style="fill: yellow"/>
|
|
733
|
+
|
|
734
|
+
<!-- EDGES -->
|
|
735
|
+
<use id="EDGES-l0-o0" xlink:href="#stickerA" transform="translate(4.2, 1.066666667)" style="fill: limegreen"/>
|
|
736
|
+
<use id="EDGES-l0-o1" xlink:href="#stickerV" transform="translate(3, 1)" style="fill: red"/>
|
|
737
|
+
|
|
738
|
+
<use id="EDGES-l5-o0" xlink:href="#stickerA" transform="translate(6.2, 1.066666667)" style="fill: limegreen"/>
|
|
739
|
+
<use id="EDGES-l5-o1" xlink:href="#stickerV" transform="translate(7.4, 1)" style="fill: blue"/>
|
|
740
|
+
|
|
741
|
+
<use id="EDGES-l1-o1" xlink:href="#stickerV" transform="translate(8.4, 0)" style="fill: blue"/>
|
|
742
|
+
<use id="EDGES-l1-o0" xlink:href="#stickerV" transform="translate(2, 0)" style="fill: red"/>
|
|
743
|
+
|
|
744
|
+
<use id="EDGES-l2-o1" xlink:href="#stickerV" transform="translate(5.2, 3.2)" style="fill: yellow"/>
|
|
745
|
+
<use id="EDGES-l2-o0" xlink:href="#stickerA" transform="translate(5.2, 2.066666667)" style="fill: limegreen"/>
|
|
746
|
+
|
|
747
|
+
<use id="EDGES-l3-o0" xlink:href="#stickerV" transform="translate(6.2, 4.2)" style="fill: yellow"/>
|
|
748
|
+
<use id="EDGES-l3-o1" xlink:href="#stickerV" transform="translate(9.4, 1)" style="fill: blue"/>
|
|
749
|
+
|
|
750
|
+
<use id="EDGES-l4-o0" xlink:href="#stickerV" transform="translate(4.2, 4.2)" style="fill: yellow"/>
|
|
751
|
+
<use id="EDGES-l4-o1" xlink:href="#stickerV" transform="translate(1, 1)" style="fill: red"/>
|
|
752
|
+
</g>
|
|
753
|
+
|
|
754
|
+
</svg>\`});var c1,m1,p1=S(()=>{Tr();Cr();c1=class extends gt{constructor(){super({id:"pyraminx",fullName:"Pyraminx",inventedBy:["Uwe Meffert"]});this.svg=Ne(async()=>(await Promise.resolve().then(()=>(f1(),u1))).default)}},m1=new c1});var g1={};be(g1,{sq1HyperOrbitKPuzzleDefinition:()=>fp});var fp,d1=S(()=>{fp={name:"Square-1",orbits:{WEDGES:{numPieces:24,numOrientations:9},EQUATOR:{numPieces:2,numOrientations:6}},startStateData:{WEDGES:{pieces:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},EQUATOR:{pieces:[0,1],orientation:[0,0]}},moves:{U_SQ_:{WEDGES:{permutation:[11,0,1,2,3,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,21,22,23],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},EQUATOR:{permutation:[0,1],orientation:[0,0]}},D_SQ_:{WEDGES:{permutation:[0,1,2,3,4,5,6,7,8,9,10,11,23,12,13,14,15,16,17,18,19,20,21,22],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},EQUATOR:{permutation:[0,1],orientation:[0,0]}},_SLASH_:{WEDGES:{permutation:[0,1,2,3,4,5,12,13,14,15,16,17,6,7,8,9,10,11,18,19,20,21,22,23],orientation:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},EQUATOR:{permutation:[0,1],orientation:[0,3]}}}}});var h1={};be(h1,{default:()=>cp});var cp,L1=S(()=>{cp=\`<?xml version="1.0" encoding="UTF-8"?>
|
|
755
|
+
<svg width="360px" height="552px" viewBox="0 0 360 552" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
756
|
+
<!-- Generator: Sketch 59.1 (86144) - https://sketch.com -->
|
|
757
|
+
<title>sq1-fancy</title>
|
|
758
|
+
<desc>Created with Sketch.</desc>
|
|
759
|
+
<!-- stroke="none" -->
|
|
760
|
+
<g id="sq1-fancy" stroke="#888" stroke-width="0.25" fill="none" fill-rule="evenodd">
|
|
761
|
+
<g id="EQUATOR" transform="translate(24.000000, 264.000000)">
|
|
762
|
+
<rect id="EQUATOR-l1-o3" style="fill: red" x="168" y="0" width="24" height="24"></rect>
|
|
763
|
+
<rect id="EQUATOR-l1-o4" style="fill: red" x="192" y="0" width="24" height="24"></rect>
|
|
764
|
+
<rect id="EQUATOR-l1-o5" style="fill: limegreen" x="216" y="0" width="24" height="24"></rect>
|
|
765
|
+
<rect id="EQUATOR-l1-o2" style="fill: limegreen" x="240" y="0" width="24" height="24"></rect>
|
|
766
|
+
<rect id="EQUATOR-l1-o1" style="fill: limegreen" x="264" y="0" width="24" height="24"></rect>
|
|
767
|
+
<rect id="EQUATOR-l1-o0" style="fill: orange" x="288" y="0" width="24" height="24"></rect>
|
|
768
|
+
<rect id="EQUATOR-l0-o3" style="fill: orange" x="0" y="0" width="24" height="24"></rect>
|
|
769
|
+
<rect id="EQUATOR-l0-o4" style="fill: orange" x="24" y="0" width="24" height="24"></rect>
|
|
770
|
+
<rect id="EQUATOR-l0-o5" style="fill: limegreen" x="48" y="0" width="24" height="24"></rect>
|
|
771
|
+
<rect id="EQUATOR-l0-o2" style="fill: limegreen" x="72" y="0" width="24" height="24"></rect>
|
|
772
|
+
<rect id="EQUATOR-l0-o1" style="fill: limegreen" x="96" y="0" width="24" height="24"></rect>
|
|
773
|
+
<rect id="EQUATOR-l0-o0" style="fill: red" x="120" y="0" width="24" height="24"></rect>
|
|
774
|
+
</g>
|
|
775
|
+
<g id="BOTTOM" transform="translate(41.000000, 257.000000)" stroke-linejoin="round">
|
|
776
|
+
<g id="WEDGES-23" transform="translate(130.000000, 88.588457) rotate(120.000000) translate(-130.000000, -88.588457) translate(82.000000, 22.588457)">
|
|
777
|
+
<polygon id="WEDGES-l23-o8" style="fill: #D8D8D8" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
778
|
+
<polygon id="WEDGES-l23-o7" style="fill: red" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
779
|
+
<polygon id="WEDGES-l23-o6" style="fill: red" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
780
|
+
<polygon id="WEDGES-l23-o5" style="fill: red" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
781
|
+
<polygon id="WEDGES-l23-o4" style="fill: red" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
782
|
+
<polygon id="WEDGES-l23-o3" style="fill: white" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
783
|
+
<polygon id="WEDGES-l23-o2" style="fill: white" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
784
|
+
<polygon id="WEDGES-l23-o1" style="fill: white" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
785
|
+
<polygon id="WEDGES-l23-o0" style="fill: red" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
786
|
+
</g>
|
|
787
|
+
<g id="WEDGES-22" transform="translate(97.157677, 115.157677) rotate(90.000000) translate(-97.157677, -115.157677) translate(49.157677, 49.157677)">
|
|
788
|
+
<polygon id="WEDGES-l22-o8" style="fill: blue" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
789
|
+
<polygon id="WEDGES-l22-o7" style="fill: #D8D8D8" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
790
|
+
<polygon id="WEDGES-l22-o6" style="fill: blue" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
791
|
+
<polygon id="WEDGES-l22-o5" style="fill: blue" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
792
|
+
<polygon id="WEDGES-l22-o4" style="fill: white" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
793
|
+
<polygon id="WEDGES-l22-o3" style="fill: blue" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
794
|
+
<polygon id="WEDGES-l22-o2" style="fill: white" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
795
|
+
<polygon id="WEDGES-l22-o1" style="fill: white" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
796
|
+
<polygon id="WEDGES-l22-o0" style="fill: blue" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
797
|
+
</g>
|
|
798
|
+
<g id="WEDGES-21" transform="translate(82.000000, 154.588457) rotate(60.000000) translate(-82.000000, -154.588457) translate(34.000000, 88.588457)">
|
|
799
|
+
<polygon id="WEDGES-l21-o8" style="fill: #D8D8D8" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
800
|
+
<polygon id="WEDGES-l21-o7" style="fill: #D8D8D8" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
801
|
+
<polygon id="WEDGES-l21-o6" style="fill: #D8D8D8" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
802
|
+
<polygon id="WEDGES-l21-o5" style="fill: blue" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
803
|
+
<polygon id="WEDGES-l21-o4" style="fill: blue" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
804
|
+
<polygon id="WEDGES-l21-o3" style="fill: blue" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
805
|
+
<polygon id="WEDGES-l21-o2" style="fill: blue" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
806
|
+
<polygon id="WEDGES-l21-o1" style="fill: white" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
807
|
+
<polygon id="WEDGES-l21-o0" style="fill: blue" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
808
|
+
</g>
|
|
809
|
+
<g id="WEDGES-20" transform="translate(88.588457, 196.315353) rotate(30.000000) translate(-88.588457, -196.315353) translate(40.588457, 130.315353)">
|
|
810
|
+
<polygon id="WEDGES-l20-o8" style="fill: #D8D8D8" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
811
|
+
<polygon id="WEDGES-l20-o7" style="fill: blue" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
812
|
+
<polygon id="WEDGES-l20-o6" style="fill: blue" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
813
|
+
<polygon id="WEDGES-l20-o5" style="fill: blue" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
814
|
+
<polygon id="WEDGES-l20-o4" style="fill: blue" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
815
|
+
<polygon id="WEDGES-l20-o3" style="fill: white" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
816
|
+
<polygon id="WEDGES-l20-o2" style="fill: white" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
817
|
+
<polygon id="WEDGES-l20-o1" style="fill: white" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
818
|
+
<polygon id="WEDGES-l20-o0" style="fill: blue" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
819
|
+
</g>
|
|
820
|
+
<g id="WEDGES-19" transform="translate(67.157677, 163.157677)">
|
|
821
|
+
<polygon id="WEDGES-l19-o8" style="fill: orange" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
822
|
+
<polygon id="WEDGES-l19-o7" style="fill: #D8D8D8" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
823
|
+
<polygon id="WEDGES-l19-o6" style="fill: orange" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
824
|
+
<polygon id="WEDGES-l19-o5" style="fill: orange" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
825
|
+
<polygon id="WEDGES-l19-o4" style="fill: white" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
826
|
+
<polygon id="WEDGES-l19-o3" style="fill: orange" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
827
|
+
<polygon id="WEDGES-l19-o2" style="fill: white" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
828
|
+
<polygon id="WEDGES-l19-o1" style="fill: white" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
829
|
+
<polygon id="WEDGES-l19-o0" style="fill: orange" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
830
|
+
</g>
|
|
831
|
+
<g id="WEDGES-18" transform="translate(154.588457, 244.315353) scale(-1, -1) rotate(150.000000) translate(-154.588457, -244.315353) translate(106.588457, 178.315353)">
|
|
832
|
+
<polygon id="WEDGES-l18-o8" style="fill: #D8D8D8" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
833
|
+
<polygon id="WEDGES-l18-o7" style="fill: #D8D8D8" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
834
|
+
<polygon id="WEDGES-l18-o6" style="fill: #D8D8D8" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
835
|
+
<polygon id="WEDGES-l18-o5" style="fill: orange" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
836
|
+
<polygon id="WEDGES-l18-o4" style="fill: orange" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
837
|
+
<polygon id="WEDGES-l18-o3" style="fill: orange" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
838
|
+
<polygon id="WEDGES-l18-o2" style="fill: orange" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
839
|
+
<polygon id="WEDGES-l18-o1" style="fill: white" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
840
|
+
<polygon id="WEDGES-l18-o0" style="fill: orange" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
841
|
+
</g>
|
|
842
|
+
<g id="WEDGES-17" transform="translate(196.315353, 237.726896) scale(-1, -1) rotate(120.000000) translate(-196.315353, -237.726896) translate(148.315353, 171.726896)">
|
|
843
|
+
<polygon id="WEDGES-l17-o8" style="fill: #D8D8D8" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
844
|
+
<polygon id="WEDGES-l17-o7" style="fill: orange" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
845
|
+
<polygon id="WEDGES-l17-o6" style="fill: orange" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
846
|
+
<polygon id="WEDGES-l17-o5" style="fill: orange" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
847
|
+
<polygon id="WEDGES-l17-o4" style="fill: orange" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
848
|
+
<polygon id="WEDGES-l17-o3" style="fill: white" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
849
|
+
<polygon id="WEDGES-l17-o2" style="fill: white" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
850
|
+
<polygon id="WEDGES-l17-o1" style="fill: white" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
851
|
+
<polygon id="WEDGES-l17-o0" style="fill: orange" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
852
|
+
</g>
|
|
853
|
+
<g id="WEDGES-16" transform="translate(229.157677, 211.157677) scale(-1, -1) rotate(90.000000) translate(-229.157677, -211.157677) translate(181.157677, 145.157677)">
|
|
854
|
+
<polygon id="WEDGES-l16-o8" style="fill: limegreen" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
855
|
+
<polygon id="WEDGES-l16-o7" style="fill: #D8D8D8" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
856
|
+
<polygon id="WEDGES-l16-o6" style="fill: limegreen" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
857
|
+
<polygon id="WEDGES-l16-o5" style="fill: limegreen" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
858
|
+
<polygon id="WEDGES-l16-o4" style="fill: white" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
859
|
+
<polygon id="WEDGES-l16-o3" style="fill: limegreen" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
860
|
+
<polygon id="WEDGES-l16-o2" style="fill: white" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
861
|
+
<polygon id="WEDGES-l16-o1" style="fill: white" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
862
|
+
<polygon id="WEDGES-l16-o0" style="fill: limegreen" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
863
|
+
</g>
|
|
864
|
+
<g id="WEDGES-15" transform="translate(244.315353, 171.726896) scale(-1, -1) rotate(60.000000) translate(-244.315353, -171.726896) translate(196.315353, 105.726896)">
|
|
865
|
+
<polygon id="WEDGES-l15-o8" style="fill: #D8D8D8" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
866
|
+
<polygon id="WEDGES-l15-o7" style="fill: #D8D8D8" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
867
|
+
<polygon id="WEDGES-l15-o6" style="fill: #D8D8D8" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
868
|
+
<polygon id="WEDGES-l15-o5" style="fill: limegreen" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
869
|
+
<polygon id="WEDGES-l15-o4" style="fill: limegreen" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
870
|
+
<polygon id="WEDGES-l15-o3" style="fill: limegreen" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
871
|
+
<polygon id="WEDGES-l15-o2" style="fill: limegreen" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
872
|
+
<polygon id="WEDGES-l15-o1" style="fill: white" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
873
|
+
<polygon id="WEDGES-l15-o0" style="fill: limegreen" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
874
|
+
</g>
|
|
875
|
+
<g id="WEDGES-14" transform="translate(237.726896, 130.000000) scale(-1, -1) rotate(30.000000) translate(-237.726896, -130.000000) translate(189.726896, 64.000000)">
|
|
876
|
+
<polygon id="WEDGES-l14-o8" style="fill: #D8D8D8" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
877
|
+
<polygon id="WEDGES-l14-o7" style="fill: limegreen" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
878
|
+
<polygon id="WEDGES-l14-o6" style="fill: limegreen" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
879
|
+
<polygon id="WEDGES-l14-o5" style="fill: limegreen" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
880
|
+
<polygon id="WEDGES-l14-o4" style="fill: limegreen" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
881
|
+
<polygon id="WEDGES-l14-o3" style="fill: white" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
882
|
+
<polygon id="WEDGES-l14-o2" style="fill: white" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
883
|
+
<polygon id="WEDGES-l14-o1" style="fill: white" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
884
|
+
<polygon id="WEDGES-l14-o0" style="fill: limegreen" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
885
|
+
</g>
|
|
886
|
+
<g id="WEDGES-13" transform="translate(211.157677, 97.157677) scale(-1, -1) translate(-211.157677, -97.157677) translate(163.157677, 31.157677)">
|
|
887
|
+
<polygon id="WEDGES-l13-o8" style="fill: red" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
888
|
+
<polygon id="WEDGES-l13-o7" style="fill: #D8D8D8" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
889
|
+
<polygon id="WEDGES-l13-o6" style="fill: red" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
890
|
+
<polygon id="WEDGES-l13-o5" style="fill: red" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
891
|
+
<polygon id="WEDGES-l13-o4" style="fill: white" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
892
|
+
<polygon id="WEDGES-l13-o3" style="fill: red" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
893
|
+
<polygon id="WEDGES-l13-o2" style="fill: white" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
894
|
+
<polygon id="WEDGES-l13-o1" style="fill: white" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
895
|
+
<polygon id="WEDGES-l13-o0" style="fill: red" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
896
|
+
</g>
|
|
897
|
+
<g id="WEDGES-12" transform="translate(171.726896, 82.000000) rotate(150.000000) translate(-171.726896, -82.000000) translate(123.726896, 16.000000)">
|
|
898
|
+
<polygon id="WEDGES-l12-o8" style="fill: #D8D8D8" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
899
|
+
<polygon id="WEDGES-l12-o7" style="fill: #D8D8D8" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
900
|
+
<polygon id="WEDGES-l12-o6" style="fill: #D8D8D8" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
901
|
+
<polygon id="WEDGES-l12-o5" style="fill: red" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
902
|
+
<polygon id="WEDGES-l12-o4" style="fill: red" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
903
|
+
<polygon id="WEDGES-l12-o3" style="fill: red" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
904
|
+
<polygon id="WEDGES-l12-o2" style="fill: red" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
905
|
+
<polygon id="WEDGES-l12-o1" style="fill: white" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
906
|
+
<polygon id="WEDGES-l12-o0" style="fill: red" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
907
|
+
</g>
|
|
908
|
+
</g>
|
|
909
|
+
<g id="TOP" transform="translate(41.000000, -31.000000)" stroke-linejoin="round">
|
|
910
|
+
<g id="WEDGES-11" transform="translate(154.588457, 244.315353) scale(-1, -1) rotate(150.000000) translate(-154.588457, -244.315353) translate(106.588457, 178.315353)">
|
|
911
|
+
<polygon id="WEDGES-l11-o8" style="fill: #D8D8D8" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
912
|
+
<polygon id="WEDGES-l11-o7" style="fill: #D8D8D8" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
913
|
+
<polygon id="WEDGES-l11-o6" style="fill: #D8D8D8" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
914
|
+
<polygon id="WEDGES-l11-o5" style="fill: red" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
915
|
+
<polygon id="WEDGES-l11-o4" style="fill: red" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
916
|
+
<polygon id="WEDGES-l11-o3" style="fill: red" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
917
|
+
<polygon id="WEDGES-l11-o2" style="fill: red" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
918
|
+
<polygon id="WEDGES-l11-o1" style="fill: yellow" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
919
|
+
<polygon id="WEDGES-l11-o0" style="fill: red" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
920
|
+
</g>
|
|
921
|
+
<g id="WEDGES-10" transform="translate(196.315353, 237.726896) scale(-1, -1) rotate(120.000000) translate(-196.315353, -237.726896) translate(148.315353, 171.726896)">
|
|
922
|
+
<polygon id="WEDGES-l10-o8" style="fill: #D8D8D8" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
923
|
+
<polygon id="WEDGES-l10-o7" style="fill: red" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
924
|
+
<polygon id="WEDGES-l10-o6" style="fill: red" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
925
|
+
<polygon id="WEDGES-l10-o5" style="fill: red" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
926
|
+
<polygon id="WEDGES-l10-o4" style="fill: red" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
927
|
+
<polygon id="WEDGES-l10-o3" style="fill: yellow" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
928
|
+
<polygon id="WEDGES-l10-o2" style="fill: yellow" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
929
|
+
<polygon id="WEDGES-l10-o1" style="fill: yellow" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
930
|
+
<polygon id="WEDGES-l10-o0" style="fill: red" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
931
|
+
</g>
|
|
932
|
+
<g id="WEDGES-9" transform="translate(229.157677, 211.157677) scale(-1, -1) rotate(90.000000) translate(-229.157677, -211.157677) translate(181.157677, 145.157677)">
|
|
933
|
+
<polygon id="WEDGES-l9-o8" style="fill: limegreen" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
934
|
+
<polygon id="WEDGES-l9-o7" style="fill: #D8D8D8" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
935
|
+
<polygon id="WEDGES-l9-o6" style="fill: limegreen" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
936
|
+
<polygon id="WEDGES-l9-o5" style="fill: limegreen" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
937
|
+
<polygon id="WEDGES-l9-o4" style="fill: yellow" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
938
|
+
<polygon id="WEDGES-l9-o3" style="fill: limegreen" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
939
|
+
<polygon id="WEDGES-l9-o2" style="fill: yellow" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
940
|
+
<polygon id="WEDGES-l9-o1" style="fill: yellow" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
941
|
+
<polygon id="WEDGES-l9-o0" style="fill: limegreen" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
942
|
+
</g>
|
|
943
|
+
<g id="WEDGES-8" transform="translate(244.315353, 171.726896) scale(-1, -1) rotate(60.000000) translate(-244.315353, -171.726896) translate(196.315353, 105.726896)">
|
|
944
|
+
<polygon id="WEDGES-l8-o8" style="fill: #D8D8D8" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
945
|
+
<polygon id="WEDGES-l8-o7" style="fill: #D8D8D8" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
946
|
+
<polygon id="WEDGES-l8-o6" style="fill: #D8D8D8" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
947
|
+
<polygon id="WEDGES-l8-o5" style="fill: limegreen" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
948
|
+
<polygon id="WEDGES-l8-o4" style="fill: limegreen" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
949
|
+
<polygon id="WEDGES-l8-o3" style="fill: limegreen" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
950
|
+
<polygon id="WEDGES-l8-o2" style="fill: limegreen" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
951
|
+
<polygon id="WEDGES-l8-o1" style="fill: yellow" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
952
|
+
<polygon id="WEDGES-l8-o0" style="fill: limegreen" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
953
|
+
</g>
|
|
954
|
+
<g id="WEDGES-7" transform="translate(237.726896, 130.000000) scale(-1, -1) rotate(30.000000) translate(-237.726896, -130.000000) translate(189.726896, 64.000000)">
|
|
955
|
+
<polygon id="WEDGES-l7-o8" style="fill: #D8D8D8" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
956
|
+
<polygon id="WEDGES-l7-o7" style="fill: limegreen" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
957
|
+
<polygon id="WEDGES-l7-o6" style="fill: limegreen" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
958
|
+
<polygon id="WEDGES-l7-o5" style="fill: limegreen" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
959
|
+
<polygon id="WEDGES-l7-o4" style="fill: limegreen" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
960
|
+
<polygon id="WEDGES-l7-o3" style="fill: yellow" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
961
|
+
<polygon id="WEDGES-l7-o2" style="fill: yellow" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
962
|
+
<polygon id="WEDGES-l7-o1" style="fill: yellow" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
963
|
+
<polygon id="WEDGES-l7-o0" style="fill: limegreen" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
964
|
+
</g>
|
|
965
|
+
<g id="WEDGES-6" transform="translate(211.157677, 97.157677) scale(-1, -1) translate(-211.157677, -97.157677) translate(163.157677, 31.157677)">
|
|
966
|
+
<polygon id="WEDGES-l6-o8" style="fill: orange" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
967
|
+
<polygon id="WEDGES-l6-o7" style="fill: #D8D8D8" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
968
|
+
<polygon id="WEDGES-l6-o6" style="fill: orange" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
969
|
+
<polygon id="WEDGES-l6-o5" style="fill: orange" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
970
|
+
<polygon id="WEDGES-l6-o4" style="fill: yellow" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
971
|
+
<polygon id="WEDGES-l6-o3" style="fill: orange" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
972
|
+
<polygon id="WEDGES-l6-o2" style="fill: yellow" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
973
|
+
<polygon id="WEDGES-l6-o1" style="fill: yellow" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
974
|
+
<polygon id="WEDGES-l6-o0" style="fill: orange" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
975
|
+
</g>
|
|
976
|
+
<g id="WEDGES-5" transform="translate(171.726896, 82.000000) rotate(150.000000) translate(-171.726896, -82.000000) translate(123.726896, 16.000000)">
|
|
977
|
+
<polygon id="WEDGES-l5-o8" style="fill: #D8D8D8" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
978
|
+
<polygon id="WEDGES-l5-o7" style="fill: #D8D8D8" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
979
|
+
<polygon id="WEDGES-l5-o6" style="fill: #D8D8D8" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
980
|
+
<polygon id="WEDGES-l5-o5" style="fill: orange" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
981
|
+
<polygon id="WEDGES-l5-o4" style="fill: orange" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
982
|
+
<polygon id="WEDGES-l5-o3" style="fill: orange" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
983
|
+
<polygon id="WEDGES-l5-o2" style="fill: orange" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
984
|
+
<polygon id="WEDGES-l5-o1" style="fill: yellow" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
985
|
+
<polygon id="WEDGES-l5-o0" style="fill: orange" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
986
|
+
</g>
|
|
987
|
+
<g id="WEDGES-4" transform="translate(130.000000, 88.588457) rotate(120.000000) translate(-130.000000, -88.588457) translate(82.000000, 22.588457)">
|
|
988
|
+
<polygon id="WEDGES-l4-o8" style="fill: #D8D8D8" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
989
|
+
<polygon id="WEDGES-l4-o7" style="fill: orange" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
990
|
+
<polygon id="WEDGES-l4-o6" style="fill: orange" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
991
|
+
<polygon id="WEDGES-l4-o5" style="fill: orange" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
992
|
+
<polygon id="WEDGES-l4-o4" style="fill: orange" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
993
|
+
<polygon id="WEDGES-l4-o3" style="fill: yellow" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
994
|
+
<polygon id="WEDGES-l4-o2" style="fill: yellow" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
995
|
+
<polygon id="WEDGES-l4-o1" style="fill: yellow" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
996
|
+
<polygon id="WEDGES-l4-o0" style="fill: orange" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
997
|
+
</g>
|
|
998
|
+
<g id="WEDGES-3" transform="translate(97.157677, 115.157677) rotate(90.000000) translate(-97.157677, -115.157677) translate(49.157677, 49.157677)">
|
|
999
|
+
<polygon id="WEDGES-l3-o8" style="fill: blue" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
1000
|
+
<polygon id="WEDGES-l3-o7" style="fill: #D8D8D8" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
1001
|
+
<polygon id="WEDGES-l3-o6" style="fill: blue" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
1002
|
+
<polygon id="WEDGES-l3-o5" style="fill: blue" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
1003
|
+
<polygon id="WEDGES-l3-o4" style="fill: yellow" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
1004
|
+
<polygon id="WEDGES-l3-o3" style="fill: blue" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
1005
|
+
<polygon id="WEDGES-l3-o2" style="fill: yellow" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
1006
|
+
<polygon id="WEDGES-l3-o1" style="fill: yellow" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
1007
|
+
<polygon id="WEDGES-l3-o0" style="fill: blue" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
1008
|
+
</g>
|
|
1009
|
+
<g id="WEDGES-2" transform="translate(82.000000, 154.588457) rotate(60.000000) translate(-82.000000, -154.588457) translate(34.000000, 88.588457)">
|
|
1010
|
+
<polygon id="WEDGES-l2-o8" style="fill: #D8D8D8" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
1011
|
+
<polygon id="WEDGES-l2-o7" style="fill: #D8D8D8" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
1012
|
+
<polygon id="WEDGES-l2-o6" style="fill: #D8D8D8" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
1013
|
+
<polygon id="WEDGES-l2-o5" style="fill: blue" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
1014
|
+
<polygon id="WEDGES-l2-o4" style="fill: blue" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
1015
|
+
<polygon id="WEDGES-l2-o3" style="fill: blue" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
1016
|
+
<polygon id="WEDGES-l2-o2" style="fill: blue" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
1017
|
+
<polygon id="WEDGES-l2-o1" style="fill: yellow" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
1018
|
+
<polygon id="WEDGES-l2-o0" style="fill: blue" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
1019
|
+
</g>
|
|
1020
|
+
<g id="WEDGES-1" transform="translate(88.588457, 196.315353) rotate(30.000000) translate(-88.588457, -196.315353) translate(40.588457, 130.315353)">
|
|
1021
|
+
<polygon id="WEDGES-l1-o8" style="fill: #D8D8D8" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
1022
|
+
<polygon id="WEDGES-l1-o7" style="fill: blue" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
1023
|
+
<polygon id="WEDGES-l1-o6" style="fill: blue" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
1024
|
+
<polygon id="WEDGES-l1-o5" style="fill: blue" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
1025
|
+
<polygon id="WEDGES-l1-o4" style="fill: blue" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
1026
|
+
<polygon id="WEDGES-l1-o3" style="fill: yellow" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
1027
|
+
<polygon id="WEDGES-l1-o2" style="fill: yellow" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
1028
|
+
<polygon id="WEDGES-l1-o1" style="fill: yellow" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
1029
|
+
<polygon id="WEDGES-l1-o0" style="fill: blue" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
1030
|
+
</g>
|
|
1031
|
+
<g id="WEDGES-0" transform="translate(67.157677, 163.157677)">
|
|
1032
|
+
<polygon id="WEDGES-l0-o8" style="fill: red" points="25.723 70.277 40.574 95.999 -2.27373675e-13 96"></polygon>
|
|
1033
|
+
<polygon id="WEDGES-l0-o7" style="fill: #D8D8D8" points="70.2768775 96 60.8615612 131.138439 40.5741225 95.9988775"></polygon>
|
|
1034
|
+
<polygon id="WEDGES-l0-o6" style="fill: red" points="70.2768775 96 40.574 95.999 25.7231225 70.2768775"></polygon>
|
|
1035
|
+
<polygon id="WEDGES-l0-o5" style="fill: red" points="48.0001225 47.9995 68.287 47.9995 78.4307806 65.5692194"></polygon>
|
|
1036
|
+
<polygon id="WEDGES-l0-o4" style="fill: yellow" points="60.8615 35.1385 68.287 47.9995 48 48"></polygon>
|
|
1037
|
+
<polygon id="WEDGES-l0-o3" style="fill: red" points="83.1384388 48 78.4307806 65.5692194 68.2870612 47.9994388"></polygon>
|
|
1038
|
+
<polygon id="WEDGES-l0-o2" style="fill: yellow" points="83.1384388 48 68.287 47.9995 60.8615612 35.1384388"></polygon>
|
|
1039
|
+
<polygon id="WEDGES-l0-o1" style="fill: yellow" points="96 0 83.1384388 48 60.8615612 35.1384388"></polygon>
|
|
1040
|
+
<polygon id="WEDGES-l0-o0" style="fill: red" points="70.2768775 96 25.7231225 70.2768775 48.0001225 47.9995 78.4307806 65.5692194"></polygon>
|
|
1041
|
+
</g>
|
|
1042
|
+
</g>
|
|
1043
|
+
<g id="DIAGONALS" transform="translate(168.861561, 1.019238)" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
|
|
1044
|
+
<line x1="0" y1="287.842323" x2="70.2768775" y2="550.119201" id="BOTTOM"></line>
|
|
1045
|
+
<line x1="0.15767665" y1="262.276878" x2="70.4345542" y2="2.27488928e-16" id="TOP"></line>
|
|
1046
|
+
</g>
|
|
1047
|
+
</g>
|
|
1048
|
+
</svg>\`});var D1,A1=S(()=>{Xe();Cr();D1={id:"square1",fullName:"Square-1",inventedBy:["Karel Hr\\u0161el","Vojtech Kopsk\\xFD"],inventionYear:1990,kpuzzle:Ne(async()=>new Te((await Promise.resolve().then(()=>(d1(),g1))).sq1HyperOrbitKPuzzleDefinition)),svg:Ne(async()=>(await Promise.resolve().then(()=>(L1(),h1))).default)}});var Oe,ar=S(()=>{$0();Xe();Ln();Tr();I2();Q2();X2();r1();s1();p1();A1();ho();Oe={"3x3x3":_a,"2x2x2":So,"4x4x4":new Gr({id:"4x4x4",fullName:"4\\xD74\\xD74 Cube"}),"5x5x5":new Gr({id:"5x5x5",fullName:"5\\xD75\\xD75 Cube"}),"6x6x6":new Gr({id:"6x6x6",fullName:"6\\xD76\\xD76 Cube"}),"7x7x7":new Gr({id:"7x7x7",fullName:"7\\xD77\\xD77 Cube"}),"40x40x40":new Gr({id:"40x40x40",fullName:"40\\xD740\\xD740 Cube"}),clock:Y2,megaminx:a1,pyraminx:m1,skewb:new gt({id:"skewb",fullName:"Skewb",inventedBy:["Tony Durham"]}),square1:D1,fto:t1,gigaminx:new gt({id:"gigaminx",fullName:"Gigaminx",inventedBy:["Tyler Fox"],inventionYear:2006}),master_tetraminx:new gt({id:"master tetraminx",fullName:"Master Tetraminx",inventedBy:["Katsuhiko Okamoto"],inventionYear:2002})}});function y1(e){R1=e}function ut(){if(!R1)throw new Error("Must be called from inside a worker, to avoid impact on page performance. Try importing from the top level of \`cubing/solve\`?")}var R1,Qt=S(()=>{R1=!1});async function F1(){return globalThis?.crypto?.getRandomValues?crypto.getRandomValues.bind(crypto):(await(mp??(mp=import(gp())))).webcrypto.getRandomValues}var mp,pp,gp,B1=S(()=>{mp=null,pp="cr-yp-to",gp=()=>pp.replace(/-/g,"")});function Lp(e){let t=new Uint32Array(2);e(t);let r=t[0],n=t[1];return Math.floor(r*dp)+Math.floor(n/hp)}function Dp(e){if(typeof e!="number"||e<0||Math.floor(e)!==e)throw new Error("randomInt.below() not called with a positive integer value.");if(e>b1)throw new Error(\`Called randomInt.below() with max == \${e}, which is larger than JavaScript can handle with integer precision.\`)}async function ft(){let e=await F1(),t=r=>{Dp(r);let n=Lp(e),o=Math.floor(b1/r)*r;return n<o?n%r:t(r)};return t}var b1,dp,hp,Gl=S(()=>{B1();b1=9007199254740992,dp=2097152,hp=2048});async function jt(){let e=await ft();return t=>t[e(t.length)]}var S1=S(()=>{Gl()});async function x1(e){for(let t=1;t<e.length;t++){let r=(await Ap)(t);[e[t],e[r]]=[e[r],e[t]]}}var Ap,sr=S(()=>{S1();Gl();Gl();Ap=ft()});function ur(e,t){let r=[],n=[];for(let f of t.split(\`
|
|
1049
|
+
\`)){let c=f.split(" ");if(!f.startsWith("SetOrder ")){if(f.startsWith("Alg ")){let m=z.fromString(f.substring(4));n.push({alg:m,transformation:e.algToTransformation(m)})}else if(f.startsWith("SubgroupSizes "))for(let m=1;m<c.length;m++)r.push(parseInt(c[m]))}}let o={ordering:new Array(r.length)},l=[],i=0;l.push(0);let a=z.fromString(""),u=e.identityTransformation();for(let f=0;f<r.length;f++)i+=r[f],l.push(i),n.splice(i-1,0,{alg:a,transformation:u});if(n.length!==i)throw Error(\`Bad sgs; expected \${i-r.length} algs but saw \${n.length-r.length}\`);let s={};for(let f in e.definition.orbits){let c=e.definition.orbits[f];s[f]=new Array(c.numPieces).fill(!1)}for(let f=r.length-1;f>=0;f--){let c=[];for(let p=l[f];p<l[f+1];p++){let g=n[p].transformation;for(let d in e.definition.orbits){let L=e.definition.orbits[d];for(let A=0;A<L.numPieces;A++)(g.transformationData[d].permutation[A]!==A||g.transformationData[d].orientation[A]!==0)&&(s[d][A]||(c.push({orbitName:d,permutationIdx:A}),s[d][A]=!0))}}let m={};for(let p=l[f];p<l[f+1];p++){let g=n[p].transformation.invert(),d="";for(let L=0;L<c.length;L++){let A=c[L];d=\`\${d} \${g.transformationData[A.orbitName].permutation[A.permutationIdx]} \${g.transformationData[A.orbitName].orientation[A.permutationIdx]}\`}m[d]=n[p],n[p].alg=n[p].alg.invert(),n[p].transformation=n[p].transformation.invert()}o.ordering[f]={pieceOrdering:c,lookup:m}}return o}var xo=S(()=>{De()});var _1={};be(_1,{cachedData222:()=>Up,data222:()=>z1});async function Up(){return vp??(vp=z1())}async function z1(){return ur(await So.kpuzzle(),\`SubgroupSizes 24 21 18 15 12 9 6
|
|
1050
|
+
|
|
1051
|
+
Alg F
|
|
1052
|
+
Alg F2
|
|
1053
|
+
Alg F'
|
|
1054
|
+
Alg D
|
|
1055
|
+
Alg D2
|
|
1056
|
+
Alg D'
|
|
1057
|
+
Alg L
|
|
1058
|
+
Alg L2
|
|
1059
|
+
Alg L'
|
|
1060
|
+
Alg F U
|
|
1061
|
+
Alg F U2
|
|
1062
|
+
Alg F U'
|
|
1063
|
+
Alg F L
|
|
1064
|
+
Alg F L2
|
|
1065
|
+
Alg F L'
|
|
1066
|
+
Alg F2 U
|
|
1067
|
+
Alg F2 U'
|
|
1068
|
+
Alg F2 R
|
|
1069
|
+
Alg F2 R'
|
|
1070
|
+
Alg F' D
|
|
1071
|
+
Alg F' D'
|
|
1072
|
+
Alg F' R
|
|
1073
|
+
Alg F' R'
|
|
1074
|
+
Alg B
|
|
1075
|
+
Alg B2
|
|
1076
|
+
Alg B'
|
|
1077
|
+
Alg B R
|
|
1078
|
+
Alg B R2
|
|
1079
|
+
Alg B R'
|
|
1080
|
+
Alg B2 U
|
|
1081
|
+
Alg B2 U2
|
|
1082
|
+
Alg B2 U'
|
|
1083
|
+
Alg B2 R
|
|
1084
|
+
Alg B2 R2
|
|
1085
|
+
Alg B2 R'
|
|
1086
|
+
Alg B' U
|
|
1087
|
+
Alg B' U'
|
|
1088
|
+
Alg F D' F'
|
|
1089
|
+
Alg F2 L F2
|
|
1090
|
+
Alg B R' B2
|
|
1091
|
+
Alg B R' U2
|
|
1092
|
+
Alg B2 U R'
|
|
1093
|
+
Alg B2 R B'
|
|
1094
|
+
Alg R
|
|
1095
|
+
Alg R2
|
|
1096
|
+
Alg R'
|
|
1097
|
+
Alg R2 U
|
|
1098
|
+
Alg R2 U2
|
|
1099
|
+
Alg R2 U'
|
|
1100
|
+
Alg R' U
|
|
1101
|
+
Alg R' U2
|
|
1102
|
+
Alg R' U'
|
|
1103
|
+
Alg F R F'
|
|
1104
|
+
Alg F R2 F'
|
|
1105
|
+
Alg L2 D' L2
|
|
1106
|
+
Alg L' B L
|
|
1107
|
+
Alg R2 U' R
|
|
1108
|
+
Alg R' U R2
|
|
1109
|
+
Alg R' U R'
|
|
1110
|
+
Alg F R F' U2
|
|
1111
|
+
Alg F' U F
|
|
1112
|
+
Alg F' U2 F
|
|
1113
|
+
Alg F' U' F
|
|
1114
|
+
Alg L F L'
|
|
1115
|
+
Alg L F2 L'
|
|
1116
|
+
Alg L F' L'
|
|
1117
|
+
Alg F' D R D'
|
|
1118
|
+
Alg F' U2 F U'
|
|
1119
|
+
Alg F D2 B D2 F'
|
|
1120
|
+
Alg F2 D' L2 D F2
|
|
1121
|
+
Alg F2 L F L' F
|
|
1122
|
+
Alg L' F2 L' F2 L
|
|
1123
|
+
Alg F L' U' L2 F L'
|
|
1124
|
+
Alg F2 L F L' U2 F
|
|
1125
|
+
Alg U
|
|
1126
|
+
Alg U2
|
|
1127
|
+
Alg U'
|
|
1128
|
+
Alg F2 D2 B D2 F2
|
|
1129
|
+
Alg F2 D2 B' D2 F2
|
|
1130
|
+
Alg L2 D2 R D2 L2
|
|
1131
|
+
Alg L2 D2 R' D2 L2
|
|
1132
|
+
Alg F2 D2 B D2 F2 U
|
|
1133
|
+
Alg F2 D2 B D2 F2 U'
|
|
1134
|
+
Alg U F2 D2 B D2 F2
|
|
1135
|
+
Alg U F2 D2 B' D2 F2
|
|
1136
|
+
Alg F D B D' R' F' U
|
|
1137
|
+
Alg F' D L F U B' L'
|
|
1138
|
+
Alg F' L' F U L U L'
|
|
1139
|
+
Alg D' L F D R' U' F'
|
|
1140
|
+
Alg L F L' U' F' U' F
|
|
1141
|
+
Alg L D' F' L' U' R F
|
|
1142
|
+
Alg F D F U F' L' F' R'
|
|
1143
|
+
Alg F2 D' F L F2 D F' R'
|
|
1144
|
+
Alg F D' F L' D F R2 U2 F' U'
|
|
1145
|
+
Alg F D' L D' L F D2 L2 B' R'
|
|
1146
|
+
Alg F L' D F R2 D2 L D F' U2
|
|
1147
|
+
Alg F L' D F2 D' L F L2 F2 U
|
|
1148
|
+
Alg F D F' D L2 F R' F' D' B2 U'\`)}var vp,C1=S(()=>{ar();xo();vp=null});async function Bn(e,t){let r=new mt;r.experimentalPushAlg(e);for(let n of t){let o=(await jt())(n);o!==null&&r.push(h.fromString(o))}return r.toAlg()}var Il=S(()=>{De();sr()});function I1(e,t){return e.slice(t)+e.slice(0,t)}function Gp(e){let t=[[],[]];for(let r=0;r<6;r++)if(e.stateData.CENTERS.pieces[r]!==r)throw new Error("non-oriented puzzles are not supported");for(let r=0;r<12;r++)t[0].push(I1(_p[e.stateData.EDGES.pieces[r]],e.stateData.EDGES.orientation[r]));for(let r=0;r<8;r++)t[1].push(I1(Cp[e.stateData.CORNERS.pieces[r]],e.stateData.CORNERS.orientation[r]));return t.push(Pp),t}function N1(e){let t=Gp(e);return Mp.map(([r,n,o])=>t[r][n][o]).join("")}var _p,Cp,Pp,Mp,O1=S(()=>{_p="UF UR UB UL DF DR DB DL FR FL BR BL".split(" "),Cp="UFR URB UBL ULF DRF DFL DLB DBR".split(" "),Pp="U L F R B D".split(" "),Mp=[[1,2,0],[0,2,0],[1,1,0],[0,3,0],[2,0,0],[0,1,0],[1,3,0],[0,0,0],[1,0,0],[1,0,2],[0,1,1],[1,1,1],[0,8,1],[2,3,0],[0,10,1],[1,4,1],[0,5,1],[1,7,2],[1,3,2],[0,0,1],[1,0,1],[0,9,0],[2,2,0],[0,8,0],[1,5,1],[0,4,1],[1,4,2],[1,5,0],[0,4,0],[1,4,0],[0,7,0],[2,5,0],[0,5,0],[1,6,0],[0,6,0],[1,7,0],[1,2,2],[0,3,1],[1,3,1],[0,11,1],[2,1,0],[0,9,1],[1,6,1],[0,7,1],[1,5,2],[1,1,2],[0,2,1],[1,2,1],[0,10,0],[2,4,0],[0,11,0],[1,7,1],[0,6,1],[1,6,2]]});function W1(e,t){let r=new ge(e.kpuzzle,{EDGES:e.stateData.EDGES,CORNERS:e.stateData.CORNERS,CENTERS:{pieces:e.stateData.CENTERS.pieces,orientation:new Array(6).fill(0)}}).experimentalToTransformation(),n=new ge(t.kpuzzle,{EDGES:t.stateData.EDGES,CORNERS:t.stateData.CORNERS,CENTERS:{pieces:t.stateData.CENTERS.pieces,orientation:new Array(6).fill(0)}}).experimentalToTransformation();return r.isIdentical(n)}function K1(e,t){if(W1(e.startState(),t))return!1;for(let r of"ULFRBD")for(let n=1;n<4;n++){let o=e.moveToTransformation(new h(r,n)).toKState();if(W1(o,t))return!1}return!0}var Q1=S(()=>{De();Xe()});var j1,q1=S(()=>{j1=[["R U'","R2 B","D2 B2","D' L B'","R' U'","B","D B2","R' B","L' U","L2 B'","B2","D L B'","L U","B'","U'","R B","D' B2","L B'","U2","U L' B'","","U' L' B'","U","L' B'"],["F2 L2","F' L'","R' F L2","D' L2","F L2","F2 L'","R' F' L'","R2 F L2","R2 F2 L'","L2","F L'","D' L","D2 L2","R2 F' L'","D L","","L2 F L'","L F' L2","L F L'","F' L2","L'","D L2","D F L'","L"],["R B U2 B'","R2 B U' B'","F2 B U B'","F B2 L' B2","B2 L B2","B U' B'","R2 B U2 B'","R' B U' B'","B2 L' B2","F B U B'","B2 U' B2","B' L B","L F' B D' B'","B' U' B2 D B'","B U2 B'","R B U' B'","B2 L2 B2","D' B' L B","B U B'","F' B2 L' B2","","B2 L' B' U' B'"],["U F2 L2 U'","F' U L' U'","F2 U L' U'","U F L2 U'","U2 B2 U2","R' U' B U","D2 U L U'","D U2 B' U2","U L2 U'","F U L' U'","D U L U'","U2 B' U2","","U2 B' U' L' U'","U2 L' U2","U' B U","U L U'","D' U2 B' U2","U L' U'","U2 B U2"],["R' D' F2","F'","F2","D R F'","R D' F2","R2 F'","D' F2","R F'","F2 R' D' F2","F","D2 F2","D' R F'","R2 D' F2","R' F'","D F2","D2 R F'","","F R' D' F2"],["R' D2 F' D F","R F2 R2 F2","R2 F' D2 F","F' R2 D2 F","L D' L'","D F' D2 F","F2 R2 F2","R F' D2 F","F' R2 D' F","F' R' D2 F","F2 R' F2","L D L'","F' R D' F","F2 R F2","F' D2 F","","L D2 R D' L'","F' D2 F' R F2","D2 R2 F2 R2 F2","D F' D' F","F' D F"],["U F2 U'","R U F' U'","D R U F2 U'","U F U'","R2 U F2 U'","R' U F' U'","R U F2 U'","R2 U F' U'","","U L D L' F U'","F2 D' R D F2","D2 U F U'","R' U F2 U'","U F' U'","F2 D2 R D2 F2","D U F U'"],["R2","R' B' D B","D R'","F' R2 F","","R B' D B","R'","B' D B","D' R'","D2 F' R2 F","R","R2 B' D B","D2 R'","B' D' B"],["R2 D' R2","F' R' F R","R D' R2 D R'","D2 R2 D2 R2","R' D' F' R F","U F D F' U'","","R2 D2 B R' B' R'","R' F D' F2 R F","R2 D R2","F2 U F U' F","R' D F' R F","D R2 D2 R2","U F D' F' U'","D R' D2 F' R F","R2 D2 R2","U F D2 F' U'","R' D2 F' R F"],["B R B'","F D F' B R2 B'","D B R2 B'","D2 B R' B'","B R2 B'","D B R' B'","D' B R2 B'","B R' B'","","B R2 B' D B R' B'","D2 B R2 B'","D' B R' B'"],["","R' D R F D2 F'","R' D R","D F D' F'","R F' R' F","F D' F'","R' D' R","F D2 F'","R' D2 R","F D F'"],["","F2 D2 R F' R' D2 F' D2 F'","F2 D2 F' D' F D' F' D2 F'","F2 D F2 D F2 D2 F2","D2 F L D2 L' D2 F'","D F D2 L D2 L' F'","R' D B' D2 B D' R","R' D2 B' D2 B R","F D2 F' D F D F'","F D' L D2 L' D F'","B D' F D B' D' F'","F D2 L D2 L' F'","F D' L D L' D F'","F L D2 L' D2 F'","R' B' D2 B D2 R"],["D'","F L D L' D' F'","D2","L B D B' D' L'","D","B' L' D' L D B","","D F L D L' D' F'"],["F' D2 F D F' D F","F' D' R' D R F","F' R' D' R D F","B D R D' R' B'","","D B' D' L' D L B"],["D F D F' D F D2 F'","F' U2 B' R' B U2 F' L F' L' F'","","D2 L D L2 F L F2 D F"],["L B' L' F L B L' F'","F2 U F' D2 F U' F' D2 F'","D' F' D B D' F D B'","F L2 F R2 F' L2 F R2 F2","D B D' F' D B' D' F","R F L F' R' F L' F'","","D2 B L' U2 L B' D2 B L' U2 L B'","D2 F R' U2 R F' D2 F R' U2 R F'","R F L' F' R' F L F'","D F D' B' D F' D' B","L2 F2 L' B2 L F2 L' B2 L'"],["L B R' B' L' B R B'","R' B R F' R' B' R F","L D2 L U L' D2 L U' L2","","D2 B' D2 F D' L2 F L2 F' D2 B D' F'","D2 F' R' F R2 B' D2 B D2 R' F D2 F'","L B L' F L B' L' F'","F' D2 F' U' F D2 F' U F2","D' B' D F D' B D F'"],["","D2 F' L U2 L' F D2 F' L U2 L' F","D2 B' R U2 R' B D2 B' R U2 R' B"]]});var bu={};be(bu,{initialize:()=>wg,solveState:()=>vg});function V1(){}function Ip(e){function t(){}return t.prototype=e||{},new t}function Np(e){return e instanceof Array?e[0]:null}function vo(e,t,r){var n=Nl,o=Op,l=Np,i=n[e],a=l(i);i&&!a?H=i:(H=n[e]=t?o(t):{},H.castableTypeMap$=r,H.constructor=H,!t&&(H.typeMarker$=V1));for(var u=3;u<arguments.length;++u)arguments[u].prototype=H;a&&(H.___clazz$=a)}function Op(e){var t=Nl;return Ip(t[e])}function Wp(){}function Ol(e){return e<<24>>24}function Ta(){this.typeName=null,this.simpleName=null,this.packageName=null,this.compoundName=null,this.canonicalName=null,this.typeId=null,this.arrayLiterals=null}function Ia(e,t){var r;return r=new Ta,r.packageName=e,r.compoundName=t,r}function cr(e,t,r){var n;return n=Ia(e,t),jp(r,n),n}function Kp(e,t){var r;return r=Ia(e,t),r.modifiers=2,r}function Wl(e,t){var r;return r=Ia("",e),r.typeId=t,r.modifiers=1,r}function H1(e,t){var r=e.arrayLiterals=e.arrayLiterals||[];return r[t]||(r[t]=e.createClassLiteralForArray(t))}function Qp(e){if(e.isPrimitive())return null;var t=e.typeId,r=Nl[t];return r}function jp(e,t){if(!!e){t.typeId=e;var r=Qp(t);if(!r){Nl[e]=[t];return}r.___clazz$=t}}function $(e,t){return H1(e,t)}function Z(e,t,r,n,o,l){var i;return i=X1(o,n),ee($(e,l),t,r,o,i),i}function Je(e,t,r,n,o,l){return Y1(e,t,r,n,o,0,l)}function Y1(e,t,r,n,o,l,i){var a,u,s,f,c;if(f=o[l],s=l==i-1,a=s?n:0,c=X1(a,f),ee($(e,i-l),t[l],r[l],a,c),!s)for(++l,u=0;u<f;++u)c[u]=Y1(e,t,r,n,o,l,i);return c}function ee(e,t,r,n,o){return o.___clazz$=e,o.castableTypeMap$=t,o.typeMarker$=V1,o.__elementTypeId$=r,o.__elementTypeCategory$=n,o}function X1(e,t){var r=new Array(t),n;switch(e){case 6:n={l:0,m:0,h:0};break;case 7:n=0;break;case 8:n=!1;break;default:return r}for(var o=0;o<t;++o)r[o]=n;return r}function Z1(e){var t,r,n;return t=e&Ze,r=e>>22&Ze,n=e<0?fr:0,qp(t,r,n)}function qp(e,t,r){return{l:e,m:t,h:r}}function Vp(e,t){var r,n,o;return r=e.l+t.l,n=e.m+t.m+(r>>22),o=e.h+t.h+(n>>22),{l:r&Ze,m:n&Ze,h:o&fr}}function Mt(e,t){return{l:e.l&t.l,m:e.m&t.m,h:e.h&t.h}}function Na(e){var t,r;return e>-129&&e<128?(t=e+128,Ql==null&&(Ql=Z(Sg,se,293,256,0,1)),r=Ql[t],!r&&(r=Ql[t]=Z1(e)),r):Z1(e)}function J1(e,t){var r,n;return r=e.h>>19,n=t.h>>19,r==0?n!=0||e.h>t.h||e.h==t.h&&e.m>t.m||e.h==t.h&&e.m==t.m&&e.l>=t.l:!(n==0||e.h<t.h||e.h==t.h&&e.m<t.m||e.h==t.h&&e.m==t.m&&e.l<t.l)}function Oa(e,t){return e.l!=t.l||e.m!=t.m||e.h!=t.h}function Wa(e,t){return{l:e.l|t.l,m:e.m|t.m,h:e.h|t.h}}function Kl(e,t){var r,n,o;return t&=63,t<22?(r=e.l<<t,n=e.m<<t|e.l>>22-t,o=e.h<<t|e.m>>22-t):t<44?(r=0,n=e.l<<t-22,o=e.m<<t-22|e.l>>44-t):(r=0,n=0,o=e.l<<t-44),{l:r&Ze,m:n&Ze,h:o&fr}}function Ir(e,t){var r,n,o,l,i;return t&=63,r=e.h,n=(r&Tp)!=0,n&&(r|=-1048576),t<22?(i=r>>t,l=e.m>>t|r<<22-t,o=e.l>>t|e.m<<22-t):t<44?(i=n?fr:0,l=r>>t-22,o=e.m>>t-22|r<<44-t):(i=n?fr:0,l=n?Ze:0,o=r>>t-44),{l:o&Ze,m:l&Ze,h:i&fr}}function $1(e,t){var r,n,o;return r=e.l-t.l,n=e.m-t.m+(r>>22),o=e.h-t.h+(n>>22),{l:r&Ze,m:n&Ze,h:o&fr}}function Nr(e){return e.l|e.m<<22}function Hp(e){this.string=e}function mr(e,t){return e>t?e:t}function Ka(e,t){return e<t?e:t}function Yp(e,t){return e.indexOf(t)}function Xp(e){return Zp(e,0,e.length)}function Zp(e,t,r){for(var n="",o=t;o<r;){var l=Math.min(o+1e4,r);n+=String.fromCharCode.apply(null,e.slice(o,l)),o=l}return n}function Jp(e){return String.fromCharCode(e&We)}function eu(e){return e.string+=" ",e}function tu(e,t){return e.string+=t,e}function eg(){Hp.call(this,"")}function jl(e,t){var r;if(e===t)return!0;if(e.length!=t.length)return!1;for(r=0;r<e.length;++r)if(e[r]!=t[r])return!1;return!0}function Or(){ru||(ru=!0,gr=Je(Re,[se,Ae],[11,0],7,[495,18],2),En=Je(Re,[se,Ae],[11,0],7,[324,18],2),wn=Je(Re,[se,Ae],[11,0],7,[336,18],2),pr=Je(Re,[se,Ae],[11,0],7,[495,8],2),Hl=Z(Ee,Ue,0,20048,7,1),Vl=Z(Ee,Ue,0,20791,7,1),Un=Z(Ee,Ue,0,82945,7,1),bn=Je(Re,[se,Ae],[11,0],7,[2768,10],2),xn=Je(Re,[se,Ae],[11,0],7,[2768,10],2),vn=Je(Re,[se,Ae],[11,0],7,[24,10],2),ko=Je(Re,[se,Ae],[11,0],7,[24,16],2),Wr=Je(Re,[se,Ae],[11,0],7,[140,16],2),ql=Z(Ee,Ue,0,8305,7,1),Sn=Z(Ee,Ue,0,48441,7,1))}function tg(e,t,r){return e.slice_0=gr[t.slice_0][r],e.flip=wn[t.flip][(J(),Qr)[r<<3|t.fsym]],e.fsym=e.flip&7^t.fsym,e.flip>>=3,e.twist=En[t.twist][Qr[r<<3|t.tsym]],e.tsym=e.twist&7^t.tsym,e.twist>>=3,e.prun=mr(mr(ot(Hl,e.twist*495+pr[e.slice_0][e.tsym]),ot(Vl,e.flip*495+pr[e.slice_0][e.fsym])),ot(Un,e.twist<<11|Lr[e.flip<<3|e.fsym^e.tsym])),e.prun}function rg(e,t,r){return r=(J(),Co)[3][r],e.flipc=wn[t.flipc>>3][Qr[r<<3|t.flipc&7]]^t.flipc&7,e.twistc=En[t.twistc>>3][Qr[r<<3|t.twistc&7]]^t.twistc&7,ot(Un,e.twistc>>3<<11|Lr[e.flipc^e.twistc&7])}function nu(e,t,r){var n;return e.twist=(J(),Po)[Jl(t)],e.flip=Kr[Zl(t)],e.tsym=e.twist&7,e.twist=e.twist>>3,e.prun=ot(Un,e.twist<<11|Lr[e.flip^e.tsym]),e.prun>r||(e.fsym=e.flip&7,e.flip=e.flip>>3,e.slice_0=494-_n(t.ea,8,!0),e.prun=mr(e.prun,mr(ot(Hl,e.twist*495+pr[e.slice_0][e.tsym]),ot(Vl,e.flip*495+pr[e.slice_0][e.fsym]))),e.prun>r)?!1:(n=new fe,zo(t,1,n),_o(t,1,n),e.twistc=Po[Jl(n)],e.flipc=Kr[Zl(n)],e.prun=mr(e.prun,ot(Un,e.twistc>>3<<11|Lr[e.flipc^e.twistc&7])),e.prun<=r)}function Uo(){Or()}function ot(e,t){return Or(),e[t>>3]>>(t<<2)&15}function ou(e){Or(),!(Yl==2||Yl==1&&!e)&&(Yl==0&&(dg(),ng(),lg(),ag(),og(),J(),Ya(2048,Xa,Kr,cu=Z(Re,Ae,0,336,7,1),0),Ya(2187,es,Po,$a=Z(Re,Ae,0,324,7,1),1),ig(),sg(),ug()),Eo(ql,vn,ko,bn,(J(),Ja),584244,e),Eo(Sn,Qa,Wr,xn,Ja,514084,e),Eo(Hl,gr,pr,En,$a,431619,e),Eo(Vl,gr,pr,wn,cu,431619,e),Eo(Un,null,null,En,$a,103939,e),Yl=e?2:1)}function ng(){var e,t,r,n;for(e=new fe,t=new fe,r=0;r<2768;r++)for(mg(e,(J(),kn)[r]),n=0;n<10;n++)dr(e,ce[(je(),bt)[n]],t),bn[r][n]=ti(Vt[it(t.ca,8,!1)])&We}function og(){var e,t,r,n,o;for(e=new fe,t=new fe,Qa=Je(Re,[se,Ae],[11,0],7,[140,10],2),r=0;r<140;r++){for(Ru(e.ca,r%70,0,!1),o=0;o<10;o++)dr(e,(J(),ce)[(je(),bt)[o]],t),Qa[r][o]=_n(t.ca,0,!1)+70*(165>>o&1^~~(r/70))&We;for(n=0;n<16;n++)zo(e,(J(),lt)[0][n],t),Wr[r][n]=_n(t.ca,0,!1)+70*~~(r/70)&We}}function lg(){var e,t,r,n;for(e=new fe,t=new fe,r=0;r<2768;r++)for(su(e,(J(),kn)[r]),n=0;n<10;n++)dt(e,ce[(je(),bt)[n]],t),xn[r][n]=Vt[it(t.ea,8,!0)]}function ig(){var e,t,r,n;for(e=new fe,t=new fe,r=0;r<336;r++)for(Va(e,(J(),Xa)[r]),n=0;n<18;n++)dt(e,ce[n],t),wn[r][n]=Kr[Zl(t)]}function ag(){var e,t,r,n,o;for(e=new fe,t=new fe,r=0;r<24;r++){for(jr(e.ea,r,12,!0),o=0;o<10;o++)dt(e,(J(),ce)[(je(),bt)[o]],t),vn[r][o]=it(t.ea,12,!0)%24&We;for(n=0;n<16;n++)_o(e,(J(),lt)[0][n],t),ko[r][n]=it(t.ea,12,!0)%24&We}}function Eo(e,t,r,n,o,l,i){var a,u,s,f,c,m,p,g,d,L,A,B,F,k,E,j,te,G,oe,b,_,M,w,v,C,Q,X,me,de,Fe,Be,Et,ze,et,we,y;if(F=l&15,A=(l>>4&1)==1?Ga:0,s=(l>>5&1)==1,a=l>>8&15,f=l>>12&15,c=l>>16&15,L=i?f:c,B=(1<<F)-1,u=t==null,g=u?2048:t.length,d=g*n.length,p=s?10:18,m=p==10?66:599186,E=(e[d>>3]>>(d<<2)&15)-1,E==-1){for(G=0;G<~~(d/8)+1;G++)e[G]=wo;e[0]^=1,E=0}for(;E<L;){for(C=(E+1)*wo^-1,oe=0;oe<e.length;oe++)we=e[oe]^C,we&=we>>1,e[oe]+=we&we>>2&wo;for(M=E>a,Fe=M?E+2:E,de=Fe*wo,k=M?E:E+2,++E,y=E^E+1,et=0,G=0;G<d;++G,et>>=4){if((G&7)==0&&(et=e[G>>3],((et^de)-wo&~(et^de)&-2004318072)==0)){G+=7;continue}if((et&15)==Fe)for(X=G%g,Be=~~(G/g),j=0,te=0,u&&(j=(J(),Kr)[X],te=j&7,j>>=3),v=0;v<p;v++){if(ze=n[Be][v],u?me=(J(),Lr)[wn[j][Qr[v<<3|te]]^te^ze&B]:me=r[t[X][v]][ze&B],ze>>=F,b=ze*g+me,Q=e[b>>3]>>(b<<2)&15,Q!=k){Q<E-1&&(v+=m>>v&3);continue}if(M){e[G>>3]^=y<<(G<<2);break}for(e[b>>3]^=y<<(b<<2),w=1,Et=o[ze];(Et>>=1)!=0;w++)(Et&1)==1&&(_=ze*g,u?_+=(J(),Lr)[Kr[me]^w]:_+=r[me][w^A>>(w<<1)&3],(e[_>>3]>>(_<<2)&15)==k&&(e[_>>3]^=y<<(_<<2)))}}}}function sg(){var e,t,r,n;for(e=new fe,t=new fe,r=0;r<324;r++)for(Ha(e,(J(),es)[r]),n=0;n<18;n++)dr(e,ce[n],t),En[r][n]=Po[Jl(t)]}function ug(){var e,t,r,n,o,l,i,a;for(e=new fe,t=new fe,n=0;n<495;n++){for(Ru(e.ea,494-n,8,!0),l=0;l<18;l+=3)dt(e,(J(),ce)[l],t),gr[n][l]=494-_n(t.ea,8,!0)&We;for(o=0;o<16;o+=2)_o(e,(J(),lt)[0][o],t),pr[n][o>>1]=494-_n(t.ea,8,!0)&We}for(r=0;r<495;r++)for(o=0;o<18;o+=3)for(a=gr[r][o],i=1;i<3;i++)a=gr[a][o],gr[r][o+i]=a&We}function J(){lu||(lu=!0,qt=Z(Mo,se,7,16,0,1),ce=Z(Mo,se,7,18,0,1),ni=Z(xg,se,0,18,6,1),mu=Z(Ee,Ue,0,48,7,1),Ht=Je(Ee,[se,Ue],[17,0],7,[16,16],2),lt=Je(Ee,[se,Ue],[17,0],7,[16,16],2),Co=Je(Ee,[se,Ue],[17,0],7,[16,18],2),Qr=Z(Ee,Ue,0,144,7,1),Dr=Je(Ee,[se,Ue],[17,0],7,[16,18],2),Xa=Z(Re,Ae,0,336,7,1),es=Z(Re,Ae,0,324,7,1),kn=Z(Re,Ae,0,2768,7,1),zn=Z(re,ae,0,2768,7,1),Za=Z(Re,Ae,0,2768,7,1),ri=Z(re,ae,0,24,7,1),Kr=Z(Re,Ae,0,2048,7,1),Po=Z(Re,Ae,0,2187,7,1),Vt=Z(Re,Ae,0,40320,7,1),Lr=Z(Re,Ae,0,2688,7,1),ts=new Bt(2531,1373,67026819,1367),rs=new Bt(2089,1906,322752913,2040),oi=ee($(re,2),se,10,0,[ee($(re,1),ae,0,7,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),ee($(re,1),ae,0,7,[6,7,8,0,1,2,3,4,5,15,16,17,9,10,11,12,13,14]),ee($(re,1),ae,0,7,[3,4,5,6,7,8,0,1,2,12,13,14,15,16,17,9,10,11]),ee($(re,1),ae,0,7,[2,1,0,5,4,3,8,7,6,11,10,9,14,13,12,17,16,15]),ee($(re,1),ae,0,7,[8,7,6,2,1,0,5,4,3,17,16,15,11,10,9,14,13,12]),ee($(re,1),ae,0,7,[5,4,3,8,7,6,2,1,0,14,13,12,17,16,15,11,10,9])]),gg(),hg())}function ja(e){e.ca=ee($(re,1),ae,0,7,[0,1,2,3,4,5,6,7]),e.ea=ee($(re,1),ae,0,7,[0,2,4,6,8,10,12,14,16,18,20,22])}function iu(e){!e.temps&&(e.temps=new fe),dr(rs,e,e.temps),dr(e.temps,ts,e),dt(rs,e,e.temps),dt(e.temps,ts,e)}function qa(e,t){var r,n;for(n=0;n<8;n++)e.ca[n]=t.ca[n];for(r=0;r<12;r++)e.ea[r]=t.ea[r]}function fg(e){return ti(Vt[it(e.ca,8,!1)])}function cg(e){return Vt[it(e.ea,8,!0)]}function Zl(e){var t,r;for(r=0,t=0;t<11;t++)r=r<<1|e.ea[t]&1;return r}function Jl(e){var t,r;for(r=0,t=0;t<7;t++)r+=(r<<1)+(e.ca[t]>>3);return r}function $l(e){var t,r;for(!e.temps&&(e.temps=new fe),r=0;r<12;r++)e.temps.ea[e.ea[r]>>1]=(r<<1|e.ea[r]&1)<<24>>24;for(t=0;t<8;t++)e.temps.ca[e.ca[t]&7]=(t|32>>(e.ca[t]>>3)&24)<<24>>24;qa(e,e.temps)}function au(e){var t,r,n,o,l,i,a;for(t=new uu(e),o=new fe,r=ti(Vt[it(t.ca,8,!1)])>>4,i={l:0,m:0,h:0},a=0;a<6;a++){if(n=ti(Vt[it(t.ca,8,!1)])>>4,r==n)for(l=0;l<16;l++)zo(t,lt[0][l],o),jl(o.ca,e.ca)&&(_o(t,lt[0][l],o),jl(o.ea,e.ea)&&(i=Wa(i,Kl({l:1,m:0,h:0},(a<<4|l)<48?a<<4|l:48))));iu(t),a%3==2&&$l(t)}return i}function mg(e,t){jr(e.ca,t,8,!1)}function su(e,t){jr(e.ea,t,8,!0)}function Va(e,t){var r,n,o;for(n=0,r=10;r>=0;--r,t>>=1)n^=o=t&1,e.ea[r]=(e.ea[r]&-2|o)<<24>>24;e.ea[11]=(e.ea[11]&-2|n)<<24>>24}function Ha(e,t){var r,n,o;for(n=15,r=6;r>=0;--r,t=~~(t/3))n-=o=t%3,e.ca[r]=(e.ca[r]&7|o<<3)<<24>>24;e.ca[7]=(e.ca[7]&7|n%3<<3)<<24>>24}function pg(e){var t,r,n,o,l;for(l=0,o=0,n=0;n<12;n++)o|=1<<(e.ea[n]>>1),l^=e.ea[n]&1;if(o!=4095)return-2;if(l!=0)return-3;for(r=0,l=0,t=0;t<8;t++)r|=1<<(e.ca[t]&7),l+=e.ca[t]>>3;return r!=255?-4:l%3!=0?-5:(os(it(e.ea,12,!0),12)^os(it(e.ca,8,!1),8))!=0?-6:0}function zo(e,t,r){J();var n,o,l,i,a,u;for(u=qt[lt[0][t]],a=qt[t],n=0;n<8;n++)l=u.ca[e.ca[a.ca[n]&7]&7]>>3,i=e.ca[a.ca[n]&7]>>3,o=l<3?i:(3-i)%3,r.ca[n]=(u.ca[e.ca[a.ca[n]&7]&7]&7|o<<3)<<24>>24}function dr(e,t,r){J();var n,o,l;for(n=0;n<8;n++)o=e.ca[t.ca[n]&7]>>3,l=t.ca[n]>>3,r.ca[n]=(e.ca[t.ca[n]&7]&7|(o+l)%3<<3)<<24>>24}function ei(e,t,r){var n,o,l,i;for(n=0;n<8;n++)l=e.ca[t.ca[n]&7]>>3,i=t.ca[n]>>3,o=l+(l<3?i:6-i),o=o%3+(l<3==i<3?0:3),r.ca[n]=(e.ca[t.ca[n]&7]&7|o<<3)<<24>>24}function fe(){J(),ja(this)}function Bt(e,t,r,n){ja(this),jr(this.ca,e,8,!1),Ha(this,t),jr(this.ea,r,12,!0),Va(this,n)}function uu(e){ja(this),qa(this,e)}function ti(e){return J(),e^Ga>>((e&15)<<1)&3}function _o(e,t,r){J();var n,o,l;for(l=qt[lt[0][t]],o=qt[t],n=0;n<12;n++)r.ea[n]=(l.ea[e.ea[o.ea[n]>>1]>>1]^e.ea[o.ea[n]>>1]&1^o.ea[n]&1)<<24>>24}function dt(e,t,r){J();var n;for(n=0;n<12;n++)r.ea[n]=(e.ea[t.ea[n]>>1]^t.ea[n]&1)<<24>>24}function hr(e,t,r){J();var n;return n=Za[e],r&&(n=n^Ga>>((n&15)<<1)&3),n&65520|Ht[n&15][t]}function fu(){return J(),0}function gg(){var e,t;for(ce[0]=new Bt(15120,0,119750400,0),ce[3]=new Bt(21021,1494,323403417,0),ce[6]=new Bt(8064,1236,29441808,550),ce[9]=new Bt(9,0,5880,0),ce[12]=new Bt(1230,412,2949660,0),ce[15]=new Bt(224,137,328552,137),e=0;e<18;e+=3)for(t=0;t<2;t++)ce[e+t+1]=new fe,dt(ce[e+t],ce[e],ce[e+t+1]),dr(ce[e+t],ce[e],ce[e+t+1])}function dg(){J();var e,t,r;for(Ya(40320,kn,Vt,Ja=Z(Re,Ae,0,2768,7,1),2),e=new fe,r=0;r<2768;r++)su(e,kn[r]),zn[r]=_n(e.ea,0,!0)+os(kn[r],8)*70<<24>>24,$l(e),Za[r]=Vt[it(e.ea,8,!0)];for(t=0;t<24;t++)jr(e.ea,t,12,!0),$l(e),ri[t]=it(e.ea,12,!0)%24<<24>>24}function hg(){var e,t,r,n,o,l,i,a,u,s,f,c,m,p,g,d;for(e=new fe,t=new fe,r=new Bt(28783,0,259268407,0),d=new Bt(15138,0,119765538,7),c=new Bt(5167,0,83473207,0),o=0;o<8;o++)c.ca[o]=Ol(c.ca[o]|24);for(l=0;l<16;l++)qt[l]=new uu(e),ei(e,d,t),dt(e,d,t),g=t,t=e,e=g,l%4==3&&(ei(g,c,t),dt(g,c,t),g=t,t=e,e=g),l%8==7&&(ei(g,r,t),dt(g,r,t),g=t,t=e,e=g);for(i=0;i<16;i++)for(u=0;u<16;u++)for(ei(qt[i],qt[u],e),f=0;f<16;f++)if(jl(qt[f].ca,e.ca)){Ht[i][u]=f,lt[f][u]=i;break}for(s=0;s<18;s++)for(p=0;p<16;p++){for(zo(ce[s],lt[0][p],e),m=0;m<18;m++)if(jl(ce[m].ca,e.ca)){Co[p][s]=m,Dr[p][(je(),Cn)[s]]=Cn[m];break}p%2==0&&(Qr[s<<3|p>>1]=Co[p][s])}for(n=0;n<18;n++)for(ni[n]=au(ce[n]),a=n,p=0;p<48;p++)Co[p%16][a]<n&&(mu[p]|=1<<n),p%16==15&&(a=oi[2][a])}function Ya(e,t,r,n,o){J();var l,i,a,u,s,f,c,m,p;for(l=new fe,a=new fe,i=0,s=0,p=o>=2?1:2,f=o!=1,u=0;u<e;u++)if(r[u]==0){switch(o){case 0:Va(l,u);break;case 1:Ha(l,u);break;case 2:jr(l.ea,u,8,!0)}for(c=0;c<16;c+=p){switch(f?_o(l,c,a):zo(l,c,a),o){case 0:s=Zl(a);break;case 1:s=Jl(a);break;case 2:s=it(a.ea,8,!0)}o==0&&(Lr[i<<3|c>>1]=s&We),s==u&&(n[i]=(n[i]|1<<~~(c/p))&We),m=~~((i<<4|c)/p),r[s]=m&We}t[i++]=u&We}return i}function Lg(e,t,r,n,o,l,i,a){var u,s,f,c,m;if(c=mr(ot((Or(),Sn),(i>>4)*140+Wr[(J(),zn)[a>>4]&255][lt[i&15][a&15]]),mr(ot(Sn,n*140+Wr[zn[t]&255][lt[o][r]]),ot(ql,t*24+ko[l][r]))),c>e.maxDep2)return c-e.maxDep2;for(u=e.maxDep2;u>=c&&(m=du(e,n,o,t,r,l,u,e.depth1,10),!(m<0));u--){for(u-=m,e.solLen=0,e.solution=new Bu,bg(e.solution,e.verbose,e.urfIdx,e.depth1),f=0;f<e.depth1+u;f++)yu(e.solution,e.move[f]);for(s=e.preMoveLen-1;s>=0;s--)yu(e.solution,e.preMoves[s]);e.solLen=e.solution.length_0}return u!=e.maxDep2?(e.maxDep2=Ka(Lu,e.solLen-e.length1-1),J1(e.probe,e.probeMin)?0:1):1}function Dg(e){var t,r,n,o,l,i,a,u,s,f,c,m,p,g,d;if(e.isRec=!1,J1(e.probe,e.solution?e.probeMin:e.probeMax))return 0;for(e.probe=Vp(e.probe,{l:1,m:0,h:0}),n=e.valid1;n<e.depth1;n++)dr(e.phase1Cubie[n],(J(),ce)[e.move[n]],e.phase1Cubie[n+1]),dt(e.phase1Cubie[n],ce[e.move[n]],e.phase1Cubie[n+1]);for(e.valid1=e.depth1,a=fg(e.phase1Cubie[e.depth1]),u=a&15,a>>=4,s=cg(e.phase1Cubie[e.depth1]),f=s&15,s>>=4,c=it(e.phase1Cubie[e.depth1].ea,12,!0)%24,r=hr(s,f,!1),t=hr(a,u,!0),o=e.depth1==0?-1:e.move[e.depth1-1],l=e.preMoveLen==0?-1:e.preMoves[e.preMoveLen-1],d=0,g=(e.preMoveLen==0?1:2)*(e.depth1==0?1:2),m=0,p=(1<<g)-1;m<g;m++){if((p>>m&1)!=0){if(p&=~(1<<m),d=Lg(e,a,u,s,f,c,r,t),d==0||d>2)break;d==2&&(p&=4<<m)}if(p==0)break;(m&1)==0&&e.depth1>0?(i=(je(),Cn)[~~(o/3)*3+1],e.move[e.depth1-1]=bt[i]*2-e.move[e.depth1-1],c=(Or(),vn)[c][i],a=bn[a][(J(),Dr)[u][i]],u=Ht[a&15][u],a>>=4,s=xn[s][Dr[f][i]],f=Ht[s&15][f],s>>=4,t=hr(a,u,!0),r=hr(s,f,!1)):e.preMoveLen>0&&(i=(je(),Cn)[~~(l/3)*3+1],e.preMoves[e.preMoveLen-1]=bt[i]*2-e.preMoves[e.preMoveLen-1],c=(J(),ri)[(Or(),vn)[ri[c]][i]],a=bn[t>>4][Dr[t&15][i]],t=a&-16|Ht[a&15][t&15],a=hr(t>>4,t&15,!0),u=a&15,a>>=4,s=xn[r>>4][Dr[r&15][i]],r=s&-16|Ht[s&15][r&15],s=hr(r>>4,r&15,!1),f=s&15,s>>=4)}return e.depth1>0&&(e.move[e.depth1-1]=o),e.preMoveLen>0&&(e.preMoves[e.preMoveLen-1]=l),d==0?0:2}function Ag(e){var t;for(e.conjMask=0,e.selfSym=au(e.cc),e.conjMask|=Oa(Mt(Ir(e.selfSym,16),{l:We,m:0,h:0}),{l:0,m:0,h:0})?18:0,e.conjMask|=Oa(Mt(Ir(e.selfSym,32),{l:We,m:0,h:0}),{l:0,m:0,h:0})?36:0,e.conjMask|=Oa(Mt(Ir(e.selfSym,48),{l:We,m:0,h:0}),{l:0,m:0,h:0})?56:0,e.selfSym=Mt(e.selfSym,{l:Ze,m:Ze,h:15}),e.maxPreMoves=e.conjMask>7?0:20,t=0;t<6;t++)qa(e.urfCubieCube[t],e.cc),nu(e.urfCoordCube[t],e.urfCubieCube[t],20),iu(e.cc),t%3==2&&$l(e.cc)}function pu(e,t,r,n,o){var l,i,a,u,s,f;if(t.prun==0&&n<5)return e.allowShorter||n==0?(e.depth1-=n,s=Dg(e),e.depth1+=n,s):1;for(f=fu(Na(r)),l=0;l<18;l+=3)if(!(l==o||l==o-9)){for(a=0;a<3;a++)if(i=l+a,!(e.isRec&&i!=e.move[e.depth1-n]||f!=0&&(f&1<<i)!=0)){if(u=tg(e.nodeUD[n],t,i),u>n)break;if(u==n)continue;if(u=rg(e.nodeUD[n],t,i),u>n)break;if(u==n)continue;if(e.move[e.depth1-n]=i,e.valid1=Ka(e.valid1,e.depth1-n),s=pu(e,e.nodeUD[n],r&Nr((J(),ni)[i]),n-1,l),s==0)return 0;if(s>=2)break}}return 1}function gu(e,t,r,n,o){var l,i,a;if(e.preMoveLen=e.maxPreMoves-t,(e.isRec?e.depth1==e.length1-e.preMoveLen:e.preMoveLen==0||(225207>>r&1)==0)&&(e.depth1=e.length1-e.preMoveLen,e.phase1Cubie[0]=n,e.allowShorter=e.depth1==ns&&e.preMoveLen!=0,nu(e.nodeUD[e.depth1+1],n,e.depth1)&&pu(e,e.nodeUD[e.depth1+1],o,e.depth1,-1)==0))return 0;if(t==0||e.preMoveLen+ns>=e.length1)return 1;for(a=fu(Na(o)),(t==1||e.preMoveLen+1+ns>=e.length1)&&(a|=225207),r=~~(r/3)*3,l=0;l<18;l++){if(l==r||l==r-9||l==r+9){l+=2;continue}if(!(e.isRec&&l!=e.preMoves[e.maxPreMoves-t]||(a&1<<l)!=0)&&(dr((J(),ce)[l],n,e.preMoveCubes[t]),dt(ce[l],n,e.preMoveCubes[t]),e.preMoves[e.maxPreMoves-t]=l,i=gu(e,t-1,l,e.preMoveCubes[t],o&Nr(ni[l])),i==0))return 0}return 1}function du(e,t,r,n,o,l,i,a,u){var s,f,c,m,p,g,d,L,A,B,F;if(t==0&&n==0&&l==0)return i;for(A=(je(),Go)[u],d=0;d<10;d++){if((A>>d&1)!=0){d+=66>>d&3;continue}if(L=(Or(),vn)[l][d],f=bn[n][(J(),Dr)[o][d]],c=Ht[f&15][o],f>>=4,p=xn[t][Dr[r][d]],g=Ht[p&15][r],p>>=4,m=hr(p,g,!1),s=hr(f,c,!0),B=ot(Sn,(m>>4)*140+Wr[zn[s>>4]&255][lt[m&15][s&15]]),B>i+1)return i-B+1;if(B>=i){d+=66>>d&3&i-B;continue}if(B=mr(ot(ql,f*24+ko[L][c]),ot(Sn,p*140+Wr[zn[f]&255][lt[g][c]])),B>=i){d+=66>>d&3&i-B;continue}if(F=du(e,p,g,f,c,L,i-1,a+1,d),F>=0)return e.move[a]=bt[d],F;if(F<-2)break;F<-1&&(d+=66>>d&3)}return-1}function Rg(e){for(e.length1=e.isRec?e.length1:0;e.length1<e.solLen;e.length1++)for(e.maxDep2=Ka(Lu,e.solLen-e.length1-1),e.urfIdx=e.isRec?e.urfIdx:0;e.urfIdx<6;e.urfIdx++)if((e.conjMask&1<<e.urfIdx)==0&&gu(e,e.maxPreMoves,-30,e.urfCubieCube[e.urfIdx],Nr(Mt(e.selfSym,{l:We,m:0,h:0})))==0)return e.solution?Fu(e.solution):"Error 8";return e.solution?Fu(e.solution):"Error 7"}function yg(e,t){var r;return r=Fg(e,t),r!=0?"Error "+(r<0?-r:r):(e.solLen=22,e.probe={l:0,m:0,h:0},e.probeMax={l:3531008,m:23,h:0},e.probeMin={l:0,m:0,h:0},e.verbose=0,e.solution=null,e.isRec=!1,ou(!1),Ag(e),Rg(e))}function Fg(e,t){var r,n,o,l;for(n=0,o=Z(re,ae,0,54,7,1),r=Xp(ee($(Re,1),Ae,0,7,[t.charCodeAt(4),t.charCodeAt(13),t.charCodeAt(22),t.charCodeAt(31),t.charCodeAt(40),t.charCodeAt(49)])),l=0;l<54;l++){if(o[l]=Yp(r,Jp(t.charCodeAt(l)))<<24>>24,o[l]==-1)return-1;n+=1<<(o[l]<<2)}return n!=10066329?-1:(Bg(o,e.cc),pg(e.cc))}function hu(){var e,t,r;for(this.move=Z(Ee,Ue,0,31,7,1),this.nodeUD=Z(Xl,se,31,21,0,1),this.nodeRL=Z(Xl,se,31,21,0,1),this.nodeFB=Z(Xl,se,31,21,0,1),this.cc=new fe,this.urfCubieCube=Z(Mo,se,7,6,0,1),this.urfCoordCube=Z(Xl,se,31,6,0,1),this.phase1Cubie=Z(Mo,se,7,21,0,1),this.preMoveCubes=Z(Mo,se,7,21,0,1),this.preMoves=Z(Ee,Ue,0,20,7,1),t=0;t<21;t++)this.nodeUD[t]=new Uo,this.nodeRL[t]=new Uo,this.nodeFB[t]=new Uo,this.phase1Cubie[t]=new fe;for(r=0;r<6;r++)this.urfCubieCube[r]=new fe,this.urfCoordCube[r]=new Uo;for(e=0;e<20;e++)this.preMoveCubes[e+1]=new fe}function je(){if(!Du){Du=!0;var e,t,r,n,o,l;for(qr=ee($(re,2),se,10,0,[ee($(re,1),ae,0,7,[8,9,20]),ee($(re,1),ae,0,7,[6,18,38]),ee($(re,1),ae,0,7,[0,36,47]),ee($(re,1),ae,0,7,[2,45,11]),ee($(re,1),ae,0,7,[29,26,15]),ee($(re,1),ae,0,7,[27,44,24]),ee($(re,1),ae,0,7,[33,53,42]),ee($(re,1),ae,0,7,[35,17,51])]),Xt=ee($(re,2),se,10,0,[ee($(re,1),ae,0,7,[5,10]),ee($(re,1),ae,0,7,[7,19]),ee($(re,1),ae,0,7,[3,37]),ee($(re,1),ae,0,7,[1,46]),ee($(re,1),ae,0,7,[32,16]),ee($(re,1),ae,0,7,[28,25]),ee($(re,1),ae,0,7,[30,43]),ee($(re,1),ae,0,7,[34,52]),ee($(re,1),ae,0,7,[23,12]),ee($(re,1),ae,0,7,[21,41]),ee($(re,1),ae,0,7,[50,39]),ee($(re,1),ae,0,7,[48,14])]),Yt=Je(Ee,[se,Ue],[17,0],7,[13,13],2),ls=ee($($p,1),se,2,4,["U ","U2","U'","R ","R2","R'","F ","F2","F'","D ","D2","D'","L ","L2","L'","B ","B2","B'"]),bt=ee($(Ee,1),Ue,0,7,[0,1,2,4,7,9,10,11,13,16,3,5,6,8,12,14,15,17]),Cn=Z(Ee,Ue,0,18,7,1),Go=Z(Ee,Ue,0,11,7,1),t=0;t<18;t++)Cn[bt[t]]=t;for(r=0;r<10;r++)for(n=~~(bt[r]/3),Go[r]=0,o=0;o<10;o++)l=~~(bt[o]/3),Go[r]|=(n==l||n%3==l%3&&n>=l?1:0)<<o;for(Go[10]=0,e=0;e<13;e++)for(Yt[e][0]=Yt[e][e]=1,o=1;o<e;o++)Yt[e][o]=Yt[e-1][o-1]+Yt[e-1][o]}}function _n(e,t,r){je();var n,o,l,i,a;for(n=e.length-1,l=0,a=4,o=n;o>=0;o--)i=Au(e[o],r),(i&12)==t&&(l+=Yt[o][a--]);return l}function os(e,t){je();var r,n;for(n=0,r=t-2;r>=0;r--)n^=e%(t-r),e=~~(e/(t-r));return n&1}function it(e,t,r){je();var n,o,l,i;for(o=0,i={l:1323536,m:2777561,h:1043915},n=0;n<t-1;n++)l=Au(e[n],r)<<2,o=(t-n)*o+Nr(Mt(Ir(i,l),{l:15,m:0,h:0})),i=$1(i,Kl({l:1118480,m:279620,h:69905},l));return o}function Au(e,t){return t?e>>1:e&7}function Ru(e,t,r,n){je();var o,l,i,a;for(o=e.length-1,a=4,l=o,i=o;i>=0;i--)t>=Yt[i][a]?(t-=Yt[i][a--],e[i]=li(e[i],a|r,n)):((l&12)==r&&(l-=4),e[i]=li(e[i],l--,n))}function jr(e,t,r,n){je();var o,l,i,a,u,s;for(s={l:1323536,m:2777561,h:1043915},o={l:0,m:0,h:0},a=2;a<=r;a++)o=Wa(Kl(o,4),Na(t%a)),t=~~(t/a);for(l=0;l<r-1;l++)u=(Nr(o)&15)<<2,o=Ir(o,4),e[l]=li(e[l],Nr(Mt(Ir(s,u),{l:15,m:0,h:0})),n),i=$1(Kl({l:1,m:0,h:0},u),{l:1,m:0,h:0}),s=Wa(Mt(s,i),Mt(Ir(s,4),{l:~i.l&Ze,m:~i.m&Ze,h:~i.h&fr}));e[r-1]=li(e[r-1],Nr(Mt(s,{l:15,m:0,h:0})),n)}function li(e,t,r){return(r?t<<1|e&1:t|e&-8)<<24>>24}function Bg(e,t){je();var r,n,o,l,i,a,u,s;for(l=0;l<8;l++)t.ca[l]=0;for(i=0;i<12;i++)t.ea[i]=0;for(a=0;a<8;a++){for(s=0;s<3&&!(e[qr[a][s]]==0||e[qr[a][s]]==3);s++);for(r=e[qr[a][(s+1)%3]],n=e[qr[a][(s+2)%3]],u=0;u<8;u++)if(r==~~(qr[u][1]/9)&&n==~~(qr[u][2]/9)){t.ca[a]=Ol(s%3<<3|u);break}}for(o=0;o<12;o++)for(u=0;u<12;u++){if(e[Xt[o][0]]==~~(Xt[u][0]/9)&&e[Xt[o][1]]==~~(Xt[u][1]/9)){t.ea[o]=Ol(u<<1);break}if(e[Xt[o][0]]==~~(Xt[u][1]/9)&&e[Xt[o][1]]==~~(Xt[u][0]/9)){t.ea[o]=Ol(u<<1|1);break}}}function yu(e,t){var r,n,o;if(e.length_0==0){e.moves[e.length_0++]=t;return}if(r=~~(t/3),n=~~(e.moves[e.length_0-1]/3),r==n){o=(t%3+e.moves[e.length_0-1]%3+1)%4,o==3?--e.length_0:e.moves[e.length_0-1]=r*3+o;return}if(e.length_0>1&&r%3==n%3&&r==~~(e.moves[e.length_0-2]/3)){o=(t%3+e.moves[e.length_0-2]%3+1)%4,o==3?(e.moves[e.length_0-2]=e.moves[e.length_0-1],--e.length_0):e.moves[e.length_0-2]=r*3+o;return}e.moves[e.length_0++]=t}function bg(e,t,r,n){e.verbose=t,e.urfIdx=r,e.depth1=n}function Fu(e){var t,r,n;if(r=new eg,n=(e.verbose&2)!=0?(e.urfIdx+3)%6:e.urfIdx,n<3)for(t=0;t<e.length_0;t++)(e.verbose&1)!=0&&t==e.depth1&&(r.string+=". "),eu(tu(r,(je(),ls)[(J(),oi)[n][e.moves[t]]]));else for(t=e.length_0-1;t>=0;t--)eu(tu(r,(je(),ls)[(J(),oi)[n][e.moves[t]]])),(e.verbose&1)!=0&&t==e.depth1&&(r.string+=". ");return r.string}function Bu(){this.moves=Z(Ee,Ue,0,31,7,1)}var se,Ze,fr,Tp,We,Ae,Ue,Ga,wo,ae,H,Nl,Ql,$p,ru,Wr,Qa,bn,Sn,xn,wn,ql,ko,vn,Un,En,pr,Vl,gr,Hl,Yl,Xl,lu,qt,Vt,kn,Kr,Xa,Lr,ri,zn,Za,Qr,Co,Dr,Ht,lt,cu,Ja,$a,Po,es,mu,ce,ni,ts,rs,oi,Mo,Lu,ns,Du,Yt,Go,qr,Xt,ls,Cn,bt,Ee,Sg,re,xg,Re,wg,vg,Su=S(()=>{se={3:1},Ze=4194303,fr=1048575,Tp=524288,We=65535,Ae={11:1,3:1},Ue={17:1,3:1},Ga=14540032,wo=286331153,ae={10:1,3:1},Nl={};vo(1,null,{},Wp);vo(79,1,{},Ta);H.createClassLiteralForArray=function(t){var r;return r=new Ta,r.modifiers=4,t>1?r.componentType=H1(this,t-1):r.componentType=this,r};H.isPrimitive=function(){return(this.modifiers&1)!=0};$p=cr("java.lang","String",2);ru=!1;vo(31,1,{31:1},Uo);H.flip=0;H.flipc=0;H.fsym=0;H.prun=0;H.slice_0=0;H.tsym=0;H.twist=0;H.twistc=0;Yl=0,Xl=cr("org.cubing.min2phase.client","CoordCube",31),lu=!1;Mo=cr("org.cubing.min2phase.client","CubieCube",7);vo(72,1,{},hu);H.allowShorter=!1;H.conjMask=0;H.depth1=0;H.isRec=!1;H.length1=0;H.maxDep2=0;H.maxPreMoves=0;H.preMoveLen=0;H.probe={l:0,m:0,h:0};H.probeMax={l:0,m:0,h:0};H.probeMin={l:0,m:0,h:0};H.selfSym={l:0,m:0,h:0};H.solLen=0;H.urfIdx=0;H.valid1=0;H.verbose=0;Lu=12,ns=7,Du=!1;vo(150,1,{},Bu);H.depth1=0;H.length_0=0;H.urfIdx=0;H.verbose=0;Ee=Wl("int","I");cr("com.google.gwt.lang","CollapsedPropertyHolder",252);cr("com.google.gwt.lang","JavaClassHierarchySetupUtil",254);Sg=cr("com.google.gwt.lang","LongLibBase/LongEmul",null);cr("com.google.gwt.lang","ModuleUtils",257);re=Wl("byte","B"),xg=Wl("long","J"),Re=Wl("char","C");cr("com.google.gwt.user.client.rpc","XsrfToken",null),Kp("java.util","Map/Entry");wg=function(){ou(!1)},vg=function(e){return yg(new hu,e)}});async function xu(){let e=await Oe["3x3x3"].kpuzzle(),t=e.startState();for(let r of j1)t=t.applyAlg(z.fromString((await jt())(r)));return K1(e,t)?t:xu()}function wu(){return Ug??(Ug=Promise.resolve().then(()=>(Su(),bu)))}async function is(e){return ut(),z.fromString((await wu()).solveState(N1(e)))}async function Pn(){return is(await xu())}async function vu(){(await wu()).initialize()}async function Uu(){return Bn(await Pn(),Eg)}async function ku(){let e=new mt,t=await Pn();return e.experimentalPushAlg(Eu),e.experimentalPushAlg(t),e.experimentalPushAlg(Eu),e.toAlg()}var Ug,Eg,Eu,as=S(()=>{De();ar();sr();Qt();Il();O1();Q1();q1();Ug=null;Eg=[[null,"Rw","Rw2","Rw'","Fw","Fw'"],[null,"Dw","Dw2","Dw'"]];Eu=new z("R' U' F")});function ue(e,...t){let r=t.length,n=e[t[r-1]];for(let o=r;o>0;o--)e[t[o]]=e[t[o-1]];return e[t[0]]=n,ue}function zu(e,t,r,n){r=(r||8)-1;let o=1985229328,l=0;n??(n=0),n<0&&(t<<=1);for(let i=0;i<r;++i){let a=ss[r-i],u=~~(t/a);l^=u,t%=a,u<<=2,e[i]=o>>u&7;let s=(1<<u)-1;o=(o&s)+(o>>4&~s)}return n<0&&(l&1)!=0?(e[r]=e[r-1],e[r-1]=o&7):e[r]=o&7,e}var pe,ss,_u=S(()=>{pe=[],ss=[1];for(let e=0;e<32;++e){pe[e]=[];for(let t=0;t<32;++t)pe[e][t]=0}for(let e=0;e<32;++e){pe[e][0]=pe[e][e]=1,ss[e+1]=ss[e]*(e+1);for(let t=1;t<e;++t)pe[e][t]=pe[e-1][t-1]+pe[e-1][t]}});var Of={};be(Of,{initialize:()=>j3,random444Scramble:()=>q3});function T(e,t){let r=new Array(e);if(t!==void 0)for(let n=0;n<e;n++)r[n]=new Array(t);return r}function Gg(e){return new To[e]}function ct(e,t,r,...n){let o=To[e];o&&!o.___clazz$?Y=o.prototype:(!o&&(o=To[e]=function(){}),Y=o.prototype=t<0?{}:Gg(t),Y.castableTypeMap$=r);for(let l of n)l.prototype=Y;o.___clazz$&&(Y.___clazz$=o.___clazz$,o.___clazz$=null)}function Ar(e){let t={};for(let r=0,n=e.length;r<n;++r)t[e[r]]=1;return t}function Gu(){}function Tg(e,t){let r=Tu(0,t);return Iu(e.___clazz$,e.castableTypeMap$,e.queryId$,r),r}function Tu(e,t){let r=new Array(t);if(e===3)for(let n=0;n<t;++n){let o={m:0,l:0,h:0};o.l=o.m=o.h=0,r[n]=o}else if(e>0){let n=[null,0,!1][e];for(let o=0;o<t;++o)r[o]=n}return r}function cs(e,t,r,n,o){let l=Tu(o,n);return Iu(e,t,r,l),l}function Iu(e,t,r,n){return Ou(),Ng(n,ms,ps),n.___clazz$=e,n.castableTypeMap$=t,n.queryId$=r,n}function ii(e,t,r){return e[t]=r}function Ou(){Nu||(Nu=!0,ms=[],ps=[],Ig(new Gu,ms,ps))}function Ig(e,t,r){let n=0,o;for(let l in e)(o=e[l])&&(t[n]=l,r[n]=o,++n)}function Ng(e,t,r){Ou();for(let n=0,o=t.length;n<o;++n)e[t[n]]=r[n]}function Og(e,t){return e.castableTypeMap$&&!!e.castableTypeMap$[t]}function Wg(e,t){return e!==null&&Og(e,t)}function Kg(){if(Wu)return!1;Wu=!0,ci=T(15582,36),mi=T(15582),xt=T(15582),Tn=T(48,48),wt=T(48,36),Gn=T(48),hs=T(48)}function gs(e){e.ct=T(24)}function Ku(e,t){let r,n;if(Wg(t,Pu)){for(r=t,n=0;n<24;++n)if(e.ct[n]!==r.ct[n])return!1;return!0}return!1}function ai(e){let t,r,n;for(r=0,n=8,t=23;t>=0;--t)e.ct[t]===1&&(r+=pe[t][n--]);return r}function si(e){let t,r;if(Mn!==null)return Mn[ai(e)];for(r=0;r<48;++r){if(t=Yg(ai(e)),t!==-1)return t*64+r;ie(e,0),r%2==1&&ie(e,1),r%8==7&&ie(e,2),r%16==15&&ie(e,3)}}function St(e,t){let r=t%3;switch(t=~~(t/3),t){case 0:R(e.ct,0,1,2,3,r);break;case 1:R(e.ct,16,17,18,19,r);break;case 2:R(e.ct,8,9,10,11,r);break;case 3:R(e.ct,4,5,6,7,r);break;case 4:R(e.ct,20,21,22,23,r);break;case 5:R(e.ct,12,13,14,15,r);break;case 6:R(e.ct,0,1,2,3,r),R(e.ct,8,20,12,16,r),R(e.ct,9,21,13,17,r);break;case 7:R(e.ct,16,17,18,19,r),R(e.ct,1,15,5,9,r),R(e.ct,2,12,6,10,r);break;case 8:R(e.ct,8,9,10,11,r),R(e.ct,2,19,4,21,r),R(e.ct,3,16,5,22,r);break;case 9:R(e.ct,4,5,6,7,r),R(e.ct,10,18,14,22,r),R(e.ct,11,19,15,23,r);break;case 10:R(e.ct,20,21,22,23,r),R(e.ct,0,8,4,14,r),R(e.ct,3,11,7,13,r);break;case 11:R(e.ct,12,13,14,15,r),R(e.ct,1,20,7,18,r),R(e.ct,0,23,6,17,r)}}function ie(e,t){switch(t){case 0:St(e,19),St(e,28);break;case 1:St(e,21),St(e,32);break;case 2:R(e.ct,0,3,1,2,1),R(e.ct,8,11,9,10,1),R(e.ct,4,7,5,6,1),R(e.ct,12,15,13,14,1),R(e.ct,16,19,21,22,1),R(e.ct,17,18,20,23,1);break;case 3:St(e,18),St(e,29),St(e,24),St(e,35)}}function Qu(e,t){let r;for(r=0;r<t;++r)ie(e,0),r%2==1&&ie(e,1),r%8==7&&ie(e,2),r%16==15&&ie(e,3)}function ds(e,t){let r,n;for(n=8,r=23;r>=0;--r)e.ct[r]=0,t>=pe[r][n]&&(t-=pe[r][n--],e.ct[r]=1)}function ui(e,t){let r;for(r=0;r<24;++r)e.ct[r]=t.ct[r]}function Io(){let e;for(gs(this),e=0;e<8;++e)this.ct[e]=1;for(e=8;e<24;++e)this.ct[e]=0}function fi(e,t){let r;for(gs(this),r=0;r<24;++r)this.ct[r]=~~(e.ct[r]/2)===t?1:0}function No(e){let t;for(gs(this),t=0;t<24;++t)this.ct[t]=e[t]}function Qg(){let e,t,r=new Io,n=new Io;for(e=0;e<15582;++e)for(ds(n,mi[e]),t=0;t<36;++t)ui(r,n),St(r,t),ci[e][t]=si(r)}function jg(){let e,t,r,n,o,l,i,a;for(Ei(xt),xt[0]=0,t=0,r=1;r!==15582;)for(l=t>4,a=l?-1:t,e=l?t:-1,++t,n=0;n<15582;++n)if(xt[n]===a){for(i=0;i<27;++i)if(o=~~ci[n][i]>>>6,xt[o]===e)if(++r,l){xt[n]=t;break}else xt[o]=t}}function qg(e){let t,r,n,o=new No(e.ct);for(n=0;n<48;++n){for(t=!0,r=0;r<24;++r)if(o.ct[r]!==~~(r/4)){t=!1;break}if(t)return n;ie(o,0),n%2==1&&ie(o,1),n%8==7&&ie(o,2),n%16==15&&ie(o,3)}return-1}function Vg(){let e,t,r,n=new Io;for(e=0;e<24;++e)n.ct[e]=e;let o=new No(n.ct),l=new No(n.ct),i=new No(n.ct);for(e=0;e<48;++e){for(t=0;t<48;++t){for(r=0;r<48;++r)Ku(n,o)&&(Tn[e][t]=r,r===0&&(Gn[e]=t)),ie(o,0),r%2==1&&ie(o,1),r%8==7&&ie(o,2),r%16==15&&ie(o,3);ie(n,0),t%2==1&&ie(n,1),t%8==7&&ie(n,2),t%16==15&&ie(n,3)}ie(n,0),e%2==1&&ie(n,1),e%8==7&&ie(n,2),e%16==15&&ie(n,3)}for(e=0;e<48;++e)for(ui(n,l),Qu(n,Gn[e]),t=0;t<36;++t)for(ui(o,n),St(o,t),Qu(o,e),r=0;r<36;++r)if(ui(i,l),St(i,r),Ku(i,o)){wt[e][t]=r;break}for(ds(n,0),e=0;e<48;++e)hs[Gn[e]]=ai(n),ie(n,0),e%2==1&&ie(n,1),e%8==7&&ie(n,2),e%16==15&&ie(n,3)}function Hg(){let e,t,r,n,o=new Io,l=T(22984);for(t=0;t<22984;t++)l[t]=0;for(e=0,t=0;t<735471;++t)if((l[~~t>>>5]&1<<(t&31))==0){for(ds(o,t),n=0;n<48;++n)r=ai(o),l[~~r>>>5]|=1<<(r&31),Mn!==null&&(Mn[r]=e<<6|Gn[n]),ie(o,0),n%2==1&&ie(o,1),n%8==7&&ie(o,2),n%16==15&&ie(o,3);mi[e++]=t}}function Yg(e){let t=M3(mi,e);return t>=0?t:-1}function Xg(){ju||(ju=!0,hi=T(70,28),di=T(6435,28),Zu=T(70,16),Yu=T(6435,16),$e=T(450450),Xu=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,1,0,1,0,0,0])}function pi(e){let t,r,n;for(r=0,n=8,t=14;t>=0;--t)e.ct[t]!==e.ct[15]&&(r+=pe[t][n--]);return r}function gi(e){let t,r,n;for(r=0,n=4,t=6;t>=0;--t)e.rl[t]!==e.rl[7]&&(r+=pe[t][n--]);return r*2+e.parity}function In(e,t){e.parity^=Xu[t];let r=t%3;switch(t=~~(t/3),t){case 0:R(e.ct,0,1,2,3,r);break;case 1:R(e.rl,0,1,2,3,r);break;case 2:R(e.ct,8,9,10,11,r);break;case 3:R(e.ct,4,5,6,7,r);break;case 4:R(e.rl,4,5,6,7,r);break;case 5:R(e.ct,12,13,14,15,r);break;case 6:R(e.ct,0,1,2,3,r),R(e.rl,0,5,4,1,r),R(e.ct,8,9,12,13,r);break;case 7:R(e.rl,0,1,2,3,r),R(e.ct,1,15,5,9,r),R(e.ct,2,12,6,10,r);break;case 8:R(e.ct,8,9,10,11,r),R(e.rl,0,3,6,5,r),R(e.ct,3,2,5,4,r);break;case 9:R(e.ct,4,5,6,7,r),R(e.rl,3,2,7,6,r),R(e.ct,11,10,15,14,r);break;case 10:R(e.rl,4,5,6,7,r),R(e.ct,0,8,4,14,r),R(e.ct,3,11,7,13,r);break;case 11:R(e.ct,12,13,14,15,r),R(e.rl,1,4,7,2,r),R(e.ct,1,0,7,6,r)}}function Nn(e,t){switch(t){case 0:In(e,19),In(e,28);break;case 1:In(e,21),In(e,32);break;case 2:R(e.ct,0,3,1,2,1),R(e.ct,8,11,9,10,1),R(e.ct,4,7,5,6,1),R(e.ct,12,15,13,14,1),R(e.rl,0,3,5,6,1),R(e.rl,1,2,4,7,1)}}function qu(e,t,r){let n;for(n=0;n<16;++n)e.ct[n]=~~(t.ct[n]/2);for(n=0;n<8;++n)e.rl[n]=t.ct[n+16];e.parity=r}function Vu(e,t){let r,n;for(n=8,e.ct[15]=0,r=14;r>=0;--r)t>=pe[r][n]?(t-=pe[r][n--],e.ct[r]=1):e.ct[r]=0}function Hu(e,t){let r,n;for(e.parity=t&1,t>>>=1,n=4,e.rl[7]=0,r=6;r>=0;--r)t>=pe[r][n]?(t-=pe[r][n--],e.rl[r]=1):e.rl[r]=0}function Ls(){this.rl=T(8),this.ct=T(16)}function Zg(){let e,t,r,n,o,l,i,a,u,s,f=new Ls;for(o=0;o<70;++o)for(a=0;a<28;++a)Hu(f,o),In(f,Hr[a]),hi[o][a]=gi(f);for(o=0;o<70;++o)for(Hu(f,o),i=0;i<16;++i)Zu[o][i]=gi(f),Nn(f,0),i%2==1&&Nn(f,1),i%8==7&&Nn(f,2);for(o=0;o<6435;++o)for(Vu(f,o),i=0;i<16;++i)Yu[o][i]=pi(f)&65535,Nn(f,0),i%2==1&&Nn(f,1),i%8==7&&Nn(f,2);for(o=0;o<6435;++o)for(a=0;a<28;++a)Vu(f,o),In(f,Hr[a]),di[o][a]=pi(f)&65535;for(Ei($e),$e[0]=$e[18]=$e[28]=$e[46]=$e[54]=$e[56]=0,r=0,n=6;n!==450450;){let c=r>6,m=c?-1:r,p=c?r:-1;for(++r,o=0;o<450450;++o)if($e[o]===m){for(e=~~(o/70),u=o%70,a=0;a<23;++a)if(t=di[e][a],s=hi[u][a],l=t*70+s,$e[l]===p)if(++n,c){$e[o]=r;break}else $e[l]=r}}}function Jg(){Ju||(Ju=!0,Oo=T(29400,20),ef=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1],Rr=T(29400),Rs=[0,9,14,23,27,28,41,42,46,55,60,69],ys=T(70))}function Ds(e){let t,r,n,o;for(r=0,o=4,t=6;t>=0;--t)e.ud[t]!==e.ud[7]&&(r+=pe[t][o--]);for(r*=35,o=4,t=6;t>=0;--t)e.fb[t]!==e.fb[7]&&(r+=pe[t][o--]);r*=12;let l=e.fb[7]^e.ud[7];for(n=0,o=4,t=7;t>=0;--t)e.rl[t]!==l&&(n+=pe[t][o--]);return e.parity+2*(r+ys[n])}function $g(e,t){switch(e.parity^=ef[t],t){case 0:case 1:case 2:R(e.ud,0,1,2,3,t%3);break;case 3:R(e.rl,0,1,2,3,1);break;case 4:case 5:case 6:R(e.fb,0,1,2,3,(t-1)%3);break;case 7:case 8:case 9:R(e.ud,4,5,6,7,(t-1)%3);break;case 10:R(e.rl,4,5,6,7,1);break;case 11:case 12:case 13:R(e.fb,4,5,6,7,(t+1)%3);break;case 14:R(e.ud,0,1,2,3,1),R(e.rl,0,5,4,1,1),R(e.fb,0,5,4,1,1);break;case 15:R(e.rl,0,1,2,3,1),R(e.fb,1,4,7,2,1),R(e.ud,1,6,5,2,1);break;case 16:R(e.fb,0,1,2,3,1),R(e.ud,3,2,5,4,1),R(e.rl,0,3,6,5,1);break;case 17:R(e.ud,4,5,6,7,1),R(e.rl,3,2,7,6,1),R(e.fb,3,2,7,6,1);break;case 18:R(e.rl,4,5,6,7,1),R(e.fb,0,3,6,5,1),R(e.ud,0,3,4,7,1);break;case 19:R(e.fb,4,5,6,7,1),R(e.ud,0,7,6,1,1),R(e.rl,1,4,7,2,1)}}function $u(e,t,r){let n,o=(t.ct[0]>t.ct[8]?1:0)^(t.ct[8]>t.ct[16]?1:0)^(t.ct[0]>t.ct[16]?1:0)?1:0;for(n=0;n<8;++n)e.ud[n]=t.ct[n]&1^1,e.fb[n]=t.ct[n+8]&1^1,e.rl[n]=t.ct[n+16]&1^1^o;e.parity=o^r}function e3(e,t){let r,n,o,l;for(e.parity=t&1,t>>>=1,o=Rs[t%12],t=~~(t/12),l=4,r=7;r>=0;--r)e.rl[r]=0,o>=pe[r][l]&&(o-=pe[r][l--],e.rl[r]=1);for(n=t%35,t=~~(t/35),l=4,e.fb[7]=0,r=6;r>=0;--r)n>=pe[r][l]?(n-=pe[r][l--],e.fb[r]=1):e.fb[r]=0;for(l=4,e.ud[7]=0,r=6;r>=0;--r)t>=pe[r][l]?(t-=pe[r][l--],e.ud[r]=1):e.ud[r]=0}function As(){this.ud=T(8),this.rl=T(8),this.fb=T(8)}function t3(){let e,t,r,n;for(r=0;r<12;++r)ys[Rs[r]]=r;let o=new As;for(r=0;r<29400;++r)for(n=0;n<20;++n)e3(o,r),$g(o,n),Oo[r][n]=Ds(o)&65535;for(Ei(Rr),Rr[0]=0,e=0,t=1;t!==29400;){for(r=0;r<29400;++r)if(Rr[r]===e)for(n=0;n<17;++n)Rr[Oo[r][n]]===-1&&(Rr[Oo[r][n]]=e+1,++t);++e}}function r3(e,t){let r;for(r=0;r<24;++r)e.ct[r]=t.ct[r]}function n3(e,t){let r=t%3;switch(t=~~(t/3),t){case 0:R(e.ct,0,1,2,3,r);break;case 1:R(e.ct,16,17,18,19,r);break;case 2:R(e.ct,8,9,10,11,r);break;case 3:R(e.ct,4,5,6,7,r);break;case 4:R(e.ct,20,21,22,23,r);break;case 5:R(e.ct,12,13,14,15,r);break;case 6:R(e.ct,0,1,2,3,r),R(e.ct,8,20,12,16,r),R(e.ct,9,21,13,17,r);break;case 7:R(e.ct,16,17,18,19,r),R(e.ct,1,15,5,9,r),R(e.ct,2,12,6,10,r);break;case 8:R(e.ct,8,9,10,11,r),R(e.ct,2,19,4,21,r),R(e.ct,3,16,5,22,r);break;case 9:R(e.ct,4,5,6,7,r),R(e.ct,10,18,14,22,r),R(e.ct,11,19,15,23,r);break;case 10:R(e.ct,20,21,22,23,r),R(e.ct,0,8,4,14,r),R(e.ct,3,11,7,13,r);break;case 11:R(e.ct,12,13,14,15,r),R(e.ct,1,20,7,18,r),R(e.ct,0,23,6,17,r)}}function Fs(){let e;for(this.ct=T(24),e=0;e<24;++e)this.ct[e]=~~(e/4)}function tf(e){let t,r,n;for(Fs.call(this),t=0;t<23;++t)n=t+e(24-t),this.ct[n]!==this.ct[t]&&(r=this.ct[t],this.ct[t]=this.ct[n],this.ct[n]=r)}function o3(){rf||(rf=!0,ht=T(18),a3())}function nf(e){e.cp=[0,1,2,3,4,5,6,7],e.co=[0,0,0,0,0,0,0,0]}function of(e,t){let r;for(r=0;r<8;++r)e.cp[r]=t.cp[r],e.co[r]=t.co[r]}function l3(e,t){!e.temps&&(e.temps=new Li),lf(e,ht[t],e.temps),of(e,e.temps)}function i3(e,t){let r,n;for(n=0,r=6;r>=0;--r)n+=e.co[r]=t%3,t=~~(t/3);e.co[7]=(15-n)%3}function lf(e,t,r){let n,o,l,i;for(n=0;n<8;++n)r.cp[n]=e.cp[t.cp[n]],l=e.co[t.cp[n]],i=t.co[n],o=l,o=o+(l<3?i:6-i),o=o%3,(l>=3?1:0)^(i>=3?1:0)&&(o=o+3),r.co[n]=o}function Li(){nf(this)}function yr(e,t){nf(this),zu(this.cp,e),i3(this,t)}function af(e){yr.call(this,e(40320),e(2187))}function a3(){let e,t;for(ht[0]=new yr(15120,0),ht[3]=new yr(21021,1494),ht[6]=new yr(8064,1236),ht[9]=new yr(9,0),ht[12]=new yr(1230,412),ht[15]=new yr(224,137),e=0;e<18;e+=3)for(t=0;t<2;++t)ht[e+t+1]=new Li,lf(ht[e+t],ht[e],ht[e+t+1])}function s3(){sf||(sf=!0,vt=T(1937880),yi=T(1538),Fi=T(1538),jn=T(11880),gf=[0,1,6,3,4,5,2,7],xs=T(160,12),ws=T(160,12),Ss=[1,1,1,3,12,60,360,2520,20160,181440,1814400,19958400,239500800],bs=[0,2,4,6,1,3,7,5,8,9,10,11])}function On(e,t,r,n,o){let l=e.edgeo[o];e.edgeo[o]=e.edge[n],e.edge[n]=e.edgeo[r],e.edgeo[r]=e.edge[t],e.edge[t]=l}function Wn(e,t){let r,n,o,l,i;for(e.isStd||mf(e),n=0,i=1985229328,l=47768,r=0;r<t;++r)o=e.edge[r]<<2,n*=12-r,o>=32?(n+=l>>o-32&15,l-=4368<<o-32):(n+=i>>o&15,l-=4369,i-=286331152<<o);return n}function uf(e){let t,r=Wn(e,4);t=jn[r];let n=t&7;t>>=3,Ai(e,n);let o=Wn(e,10)%20160;return t*20160+o}function Di(e,t){switch(e.isStd=!1,t){case 0:ue(e.edge,0,4,1,5),ue(e.edgeo,0,4,1,5);break;case 1:he(e.edge,0,4,1,5),he(e.edgeo,0,4,1,5);break;case 2:ue(e.edge,0,5,1,4),ue(e.edgeo,0,5,1,4);break;case 3:he(e.edge,5,10,6,11),he(e.edgeo,5,10,6,11);break;case 4:ue(e.edge,0,11,3,8),ue(e.edgeo,0,11,3,8);break;case 5:he(e.edge,0,11,3,8),he(e.edgeo,0,11,3,8);break;case 6:ue(e.edge,0,8,3,11),ue(e.edgeo,0,8,3,11);break;case 7:ue(e.edge,2,7,3,6),ue(e.edgeo,2,7,3,6);break;case 8:he(e.edge,2,7,3,6),he(e.edgeo,2,7,3,6);break;case 9:ue(e.edge,2,6,3,7),ue(e.edgeo,2,6,3,7);break;case 10:he(e.edge,4,8,7,9),he(e.edgeo,4,8,7,9);break;case 11:ue(e.edge,1,9,2,10),ue(e.edgeo,1,9,2,10);break;case 12:he(e.edge,1,9,2,10),he(e.edgeo,1,9,2,10);break;case 13:ue(e.edge,1,10,2,9),ue(e.edgeo,1,10,2,9);break;case 14:he(e.edge,0,4,1,5),he(e.edgeo,0,4,1,5),ue(e.edge,9,11),ue(e.edgeo,8,10);break;case 15:he(e.edge,5,10,6,11),he(e.edgeo,5,10,6,11),ue(e.edge,1,3),ue(e.edgeo,0,2);break;case 16:he(e.edge,0,11,3,8),he(e.edgeo,0,11,3,8),ue(e.edge,5,7),ue(e.edgeo,4,6);break;case 17:he(e.edge,2,7,3,6),he(e.edgeo,2,7,3,6),ue(e.edge,8,10),ue(e.edgeo,9,11);break;case 18:he(e.edge,4,8,7,9),he(e.edgeo,4,8,7,9),ue(e.edge,0,2),ue(e.edgeo,1,3);break;case 19:he(e.edge,1,9,2,10),he(e.edgeo,1,9,2,10),ue(e.edge,4,6),ue(e.edgeo,5,7)}}function Kn(e,t){switch(e.isStd=!1,t){case 0:Di(e,14),Di(e,17);break;case 1:On(e,11,5,10,6),On(e,5,10,6,11),On(e,1,2,3,0),On(e,4,9,7,8),On(e,8,4,9,7),On(e,0,1,2,3);break;case 2:Lt(e,4,5),Lt(e,5,4),Lt(e,11,8),Lt(e,8,11),Lt(e,7,6),Lt(e,6,7),Lt(e,9,10),Lt(e,10,9),Lt(e,1,1),Lt(e,0,0),Lt(e,3,3),Lt(e,2,2)}}function Ai(e,t){for(;t>=2;)t-=2,Kn(e,1),Kn(e,2);t!==0&&Kn(e,0)}function Wo(e,t){let r,n,o,l,i,a;for(i=1985229328,a=47768,o=0,r=0;r<11;++r)if(n=Ss[11-r],l=~~(t/n),t=t%n,o^=l,l<<=2,l>=32){l=l-32,e.edge[r]=a>>l&15;let u=(1<<l)-1;a=(a&u)+(a>>4&~u)}else{e.edge[r]=i>>l&15;let u=(1<<l)-1;i=(i&u)+(i>>>4&~u)+(a<<28),a=a>>4}for((o&1)==0?e.edge[11]=i:(e.edge[11]=e.edge[10],e.edge[10]=i),r=0;r<12;++r)e.edgeo[r]=r;e.isStd=!0}function ff(e,t){let r;for(r=0;r<12;++r)e.edge[r]=t.edge[r],e.edgeo[r]=t.edgeo[r];e.isStd=t.isStd}function cf(e,t){let r,n,o,l;for(e.temp===null&&(e.temp=T(12)),r=0;r<12;++r)e.temp[r]=r,e.edge[r]=t.ep[bs[r]+12]%12;for(n=1,r=0;r<12;++r)for(;e.edge[r]!==r;)l=e.edge[r],e.edge[r]=e.edge[l],e.edge[l]=l,o=e.temp[r],e.temp[r]=e.temp[l],e.temp[l]=o,n^=1;for(r=0;r<12;++r)e.edge[r]=e.temp[t.ep[bs[r]]%12];return n}function mf(e){let t;for(e.temp===null&&(e.temp=T(12)),t=0;t<12;++t)e.temp[e.edgeo[t]]=t;for(t=0;t<12;++t)e.edge[t]=e.temp[e.edge[t]],e.edgeo[t]=t;e.isStd=!0}function he(e,t,r,n,o){let l;l=e[t],e[t]=e[n],e[n]=l,l=e[r],e[r]=e[o],e[o]=l}function Lt(e,t,r){let n=e.edge[t];e.edge[t]=e.edgeo[r],e.edgeo[r]=n}function Zt(){this.edge=T(12),this.edgeo=T(12)}function u3(){let e,t,r,n,o,l,i,a,u,s,f,c,m,p,g,d,L,A,B,F,k,E,j=new Zt,te=new Zt,G=new Zt;for(Ei(vt),a=0,Ri=1,Bs(vt,0,0);Ri!==31006080&&(g=a>9,i=a%3,l=(a+1)%3,s=g?3:i,e=g?i:3,!(a>=9));){for(c=0;c<31006080;c+=16)if(E=vt[~~c>>4],!(!g&&E===-1)){for(f=c,u=c+16;f<u;++f,E>>=2)if((E&3)===s){for(B=~~(f/20160),t=yi[B],n=f%20160,Wo(j,t*20160+n),L=0;L<17;++L)if(r=Qn(j.edge,L<<3,4),F=jn[r],k=F&7,F>>=3,o=Qn(j.edge,L<<3|k,10)%20160,m=F*20160+o,Ko(vt,m)===e){if(Bs(vt,g?f:m,l),++Ri,g)break;if(A=Fi[F],A!==1)for(ff(te,j),Di(te,L),Ai(te,k),d=1;(A=~~A>>1&65535)!=0;++d)(A&1)==1&&(ff(G,te),Ai(G,d),p=F*20160+Wn(G,10)%20160,Ko(vt,p)===e&&(Bs(vt,p,l),++Ri))}}}++a}}function Ko(e,t){return e[t>>4]>>((t&15)<<1)&3}function Qn(e,t,r){let n,o,l,i,a,u=ws[t],s=xs[t];for(o=0,a=1985229328,i=47768,n=0;n<r;++n)l=u[e[s[n]]]<<2,o*=12-n,l>=32?(o+=i>>l-32&15,i-=4368<<l-32):(o+=a>>l&15,i-=4369,a-=286331152<<l);return o}function pf(e){let t,r,n,o,l,i,a,u,s,f,c,m=new Zt;if(i=0,l=Ko(vt,e),l===3)return 10;for(;e!==0;)for(l===0?l=2:--l,s=~~(e/20160),t=yi[s],n=e%20160,Wo(m,t*20160+n),u=0;u<17;++u)if(r=Qn(m.edge,u<<3,4),f=jn[r],c=f&7,f>>=3,o=Qn(m.edge,u<<3|c,10)%20160,a=f*20160+o,Ko(vt,a)===l){++i,e=a;break}return i}function f3(e,t){let r=Ko(vt,e);return r===3?10:(1227133513<<r>>t&3)+t-1}function c3(){let e,t,r,n=new Zt;for(t=0;t<20;++t)for(r=0;r<8;++r){for(Wo(n,0),Di(n,t),Ai(n,r),e=0;e<12;++e)xs[t<<3|r][e]=n.edge[e];for(mf(n),e=0;e<12;++e)ws[t<<3|r][e]=n.temp[e]}}function m3(){let e,t,r,n,o=new Zt,l=T(1485);for(t=0;t<1485;t++)l[t]=0;for(e=0,t=0;t<11880;++t)if((l[~~t>>>3]&1<<(t&7))==0){for(Wo(o,t*Ss[8]),n=0;n<8;++n)r=Wn(o,4),r===t&&(Fi[e]=(Fi[e]|1<<n)&65535),l[~~r>>3]=l[~~r>>3]|1<<(r&7),jn[r]=e<<3|gf[n],Kn(o,0),n%2==1&&(Kn(o,1),Kn(o,2));yi[e++]=t}}function Bs(e,t,r){e[t>>4]^=(3^r)<<((t&15)<<1)}function p3(){df||(df=!0)}function g3(e){let t,r,n;for(t=0,n=!1,r=0;r<12;++r)t|=1<<e.ep[r],n=n!==e.ep[r]>=12;return t&=~~t>>12,t===0&&!n}function d3(e,t){let r;for(r=0;r<24;++r)e.ep[r]=t.ep[r]}function h3(e,t){let r=t%3;switch(t=~~(t/3),t){case 0:R(e.ep,0,1,2,3,r),R(e.ep,12,13,14,15,r);break;case 1:R(e.ep,11,15,10,19,r),R(e.ep,23,3,22,7,r);break;case 2:R(e.ep,0,11,6,8,r),R(e.ep,12,23,18,20,r);break;case 3:R(e.ep,4,5,6,7,r),R(e.ep,16,17,18,19,r);break;case 4:R(e.ep,1,20,5,21,r),R(e.ep,13,8,17,9,r);break;case 5:R(e.ep,2,9,4,10,r),R(e.ep,14,21,16,22,r);break;case 6:R(e.ep,0,1,2,3,r),R(e.ep,12,13,14,15,r),R(e.ep,9,22,11,20,r);break;case 7:R(e.ep,11,15,10,19,r),R(e.ep,23,3,22,7,r),R(e.ep,2,16,6,12,r);break;case 8:R(e.ep,0,11,6,8,r),R(e.ep,12,23,18,20,r),R(e.ep,3,19,5,13,r);break;case 9:R(e.ep,4,5,6,7,r),R(e.ep,16,17,18,19,r),R(e.ep,8,23,10,21,r);break;case 10:R(e.ep,1,20,5,21,r),R(e.ep,13,8,17,9,r),R(e.ep,14,0,18,4,r);break;case 11:R(e.ep,2,9,4,10,r),R(e.ep,14,21,16,22,r),R(e.ep,7,15,1,17,r)}}function vs(){let e;for(this.ep=T(24),e=0;e<24;++e)this.ep[e]=e}function hf(e){let t,r,n;for(vs.call(this),t=0;t<23;++t)n=t+e(24-t),n!==t&&(r=this.ep[t],this.ep[t]=this.ep[n],this.ep[n]=r)}function L3(){Lf||(Lf=!0,Us=[35,1,34,2,4,6,22,5,19])}function Df(e){e.moveBuffer=T(60)}function D3(e,t){return e.value-t.value}function qn(e,t){let r;for(d3(e.edge,t.edge),r3(e.center,t.center),of(e.corner,t.corner),e.value=t.value,e.add1=t.add1,e.length1=t.length1,e.length2=t.length2,e.length3=t.length3,e.sym=t.sym,r=0;r<60;++r)e.moveBuffer[r]=t.moveBuffer[r];e.moveLength=t.moveLength,e.edgeAvail=t.edgeAvail,e.centerAvail=t.centerAvail,e.cornerAvail=t.cornerAvail}function Fr(e){for(;e.centerAvail<e.moveLength;)n3(e.center,e.moveBuffer[e.centerAvail++]);return e.center}function Af(e){for(;e.cornerAvail<e.moveLength;)l3(e.corner,e.moveBuffer[e.cornerAvail++]%18);return e.corner}function Qo(e){for(;e.edgeAvail<e.moveLength;)h3(e.edge,e.moveBuffer[e.edgeAvail++]);return e.edge}function A3(e){let t,r,n,o,l,i,a=new Array(e.moveLength-(e.add1?2:0));for(r=0,t=0;t<e.length1;++t)a[r++]=e.moveBuffer[t];for(i=e.sym,t=e.length1+(e.add1?2:0);t<e.moveLength;++t)wt[i][e.moveBuffer[t]]>=27?(a[r++]=wt[i][e.moveBuffer[t]]-9,o=Us[wt[i][e.moveBuffer[t]]-27],i=Tn[i][o]):a[r++]=wt[i][e.moveBuffer[t]];let u=Tn[Gn[i]][qg(Fr(e))];for(l="",i=u,t=r-1;t>=0;--t)n=a[t],n=~~(n/3)*3+(2-n%3),wt[i][n]>=27?(l=l+Es[wt[i][n]-9]+" ",o=Us[wt[i][n]-27],i=Tn[i][o]):l=l+Es[wt[i][n]]+" ";return l}function Vr(e,t){e.moveBuffer[e.moveLength++]=t}function Bi(){Df(this),this.edge=new vs,this.center=new Fs,this.corner=new Li}function bi(e){Bi.call(this),qn(this,e)}function Rf(e){Df(this),this.edge=new hf(e),this.center=new tf(e),this.corner=new af(e)}function R3(e,t){return t.value-e.value}function Si(e,t){return R3(e,t)}function yf(){}function y3(){if(Ff)return;Ff=!0;let e,t;for(Es=["U ","U2 ","U' ","R ","R2 ","R' ","F ","F2 ","F' ","D ","D2 ","D' ","L ","L2 ","L' ","B ","B2 ","B' ","Uw ","Uw2","Uw'","Rw ","Rw2","Rw'","Fw ","Fw2","Fw'","Dw ","Dw2","Dw'","Lw ","Lw2","Lw'","Bw ","Bw2","Bw'"],Hr=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,21,22,23,25,28,30,31,32,34,36],jo=[0,1,2,4,6,7,8,9,10,11,13,15,16,17,19,22,25,28,31,34,36],Bf=T(37),bf=T(37),Vn=T(37,36),xi=T(29,28),wi=T(21,20),ks=T(36),qo=T(28),Hn=T(20),e=0;e<29;++e)Bf[Hr[e]]=e;for(e=0;e<21;++e)bf[jo[e]]=e;for(e=0;e<36;++e){for(t=0;t<36;++t)Vn[e][t]=~~(e/3)==~~(t/3)||~~(e/3)%3==~~(t/3)%3&&e>t;Vn[36][e]=!1}for(e=0;e<29;++e)for(t=0;t<28;++t)xi[e][t]=Vn[Hr[e]][Hr[t]];for(e=0;e<21;++e)for(t=0;t<20;++t)wi[e][t]=Vn[jo[e]][jo[t]];for(e=0;e<36;++e)for(ks[e]=36,t=e;t<36;++t)if(!Vn[e][t]){ks[e]=t-1;break}for(e=0;e<28;++e)for(qo[e]=28,t=e;t<28;++t)if(!xi[e][t]){qo[e]=t-1;break}for(e=0;e<20;++e)for(Hn[e]=20,t=e;t<20;++t)if(!wi[e][t]){Hn[e]=t-1;break}}function F3(e){let t,r,n,o,l,i,a,u,s,f,c,m;e.solution="";let p=si(new fi(Fr(e.c),0)),g=si(new fi(Fr(e.c),1)),d=si(new fi(Fr(e.c),2)),L=xt[~~p>>6],A=xt[~~g>>6],B=xt[~~d>>6];for(e.p1SolsCnt=0,e.arr2idx=0,k3(e.p1sols.heap),e.length1=(L<A?L:A)<B?L<A?L:A:B;e.length1<100&&!(B<=e.length1&&vi(e,~~d>>>6,d&63,e.length1,-1,0)||L<=e.length1&&vi(e,~~p>>>6,p&63,e.length1,-1,0)||A<=e.length1&&vi(e,~~g>>>6,g&63,e.length1,-1,0));++e.length1);let F=W3(e.p1sols,cs(Q3,Ar([Cg,us,fs]),Mu,0,0));F.sort(function(j,te){return j.value-te.value}),t=9;do{e:for(u=F[0].value;u<100;++u)for(i=0;i<F.length&&!(F[i].value>u);++i)if(!(u-F[i].length1>t)&&(qn(e.c1,F[i]),qu(e.ct2,Fr(e.c1),Ui(Qo(e.c1).ep)),c=pi(e.ct2),m=gi(e.ct2),e.length1=F[i].length1,e.length2=u-F[i].length1,Sf(e,c,m,e.length2,28,0)))break e;++t}while(u===100);e.arr2.sort(function(j,te){return j.value-te.value}),a=0,r=13;do{e:for(s=e.arr2[0].value;s<100;++s)for(i=0;i<Math.min(e.arr2idx,100)&&!(e.arr2[i].value>s);++i)if(!(s-e.arr2[i].length1-e.arr2[i].length2>r)&&(l=cf(e.e12,Qo(e.arr2[i])),$u(e.ct3,Fr(e.arr2[i]),l^Ui(Af(e.arr2[i]).cp)),n=Ds(e.ct3),o=Wn(e.e12,10),f=pf(uf(e.e12)),f<=s-e.arr2[i].length1-e.arr2[i].length2&&xf(e,o,n,f,s-e.arr2[i].length1-e.arr2[i].length2,20,0))){a=i;break e}++r}while(s===100);let k=new bi(e.arr2[a]);e.length1=k.length1,e.length2=k.length2;let E=s-e.length1-e.length2;for(i=0;i<E;++i)Vr(k,jo[e.move3[i]]);e.solution=A3(k)}function B3(e,t){let r,n;for(qn(e.c1,e.c),r=0;r<e.length1;++r)Vr(e.c1,e.move1[r]);switch(hs[t]){case 0:Vr(e.c1,24),Vr(e.c1,35),e.move1[e.length1]=24,e.move1[e.length1+1]=35,e.add1=!0,t=19;break;case 12869:Vr(e.c1,18),Vr(e.c1,29),e.move1[e.length1]=18,e.move1[e.length1+1]=29,e.add1=!0,t=34;break;case 735470:e.add1=!1,t=0}qu(e.ct2,Fr(e.c1),Ui(Qo(e.c1).ep));let o=pi(e.ct2),l=gi(e.ct2),i=$e[o*70+l];return e.c1.value=i+e.length1,e.c1.length1=e.length1,e.c1.add1=e.add1,e.c1.sym=t,++e.p1SolsCnt,e.p1sols.heap.size<500?n=new bi(e.c1):(n=N3(e.p1sols),n.value>e.c1.value&&qn(n,e.c1)),v3(e.p1sols,n),e.p1SolsCnt===1e4}function b3(e){let t;for(qn(e.c2,e.c1),t=0;t<e.length2;++t)Vr(e.c2,e.move2[t]);if(!g3(Qo(e.c2)))return!1;let r=cf(e.e12,Qo(e.c2));$u(e.ct3,Fr(e.c2),r^Ui(Af(e.c2).cp));let n=Ds(e.ct3);Wn(e.e12,10);let o=pf(uf(e.e12));return e.arr2[e.arr2idx]?qn(e.arr2[e.arr2idx],e.c2):e.arr2[e.arr2idx]=new bi(e.c2),e.arr2[e.arr2idx].value=e.length1+e.length2+Math.max(o,Rr[n]),e.arr2[e.arr2idx].length2=e.length2,++e.arr2idx,e.arr2idx===e.arr2.length}function S3(e,t){return vf(),e.c=new Rf(t),F3(e),e.solution}function vi(e,t,r,n,o,l){let i,a,u,s,f,c;if(t===0)return n===0&&B3(e,r);for(i=0;i<27;i+=3)if(!(i===o||i===o-9||i===o-18))for(s=0;s<3;++s){if(u=i+s,a=ci[t][wt[r][u]],f=xt[~~a>>>6],f>=n){if(f>n)break;continue}if(c=Tn[r][a&63],a>>>=6,e.move1[l]=u,vi(e,a,c,n-1,i,l+1))return!0}return!1}function Sf(e,t,r,n,o,l){let i,a,u,s;if(t===0&&$e[r]===0)return n===0&&b3(e);for(a=0;a<23;++a){if(xi[o][a]){a=qo[a];continue}if(i=di[t][a],s=hi[r][a],u=$e[i*70+s],u>=n){u>n&&(a=qo[a]);continue}if(e.move2[l]=Hr[a],Sf(e,i,s,n-1,a,l+1))return!0}return!1}function xf(e,t,r,n,o,l,i){let a,u,s,f,c,m,p,g,d;if(o===0)return t===0&&r===0;for(Wo(e.tempe[i],t),c=0;c<17;++c){if(wi[l][c]){c=Hn[c];continue}if(s=Oo[r][c],m=Rr[s],m>=o){m>o&&c<14&&(c=Hn[c]);continue}if(f=Qn(e.tempe[i].edge,c<<3,10),a=~~(f/20160),g=jn[a],d=g&7,g>>=3,u=Qn(e.tempe[i].edge,c<<3|d,10)%20160,p=f3(g*20160+u,n),p>=o){p>o&&c<14&&(c=Hn[c]);continue}if(xf(e,f,s,p,o-1,c,i+1))return e.move3[i]=c,!0}return!1}function wf(){let e;for(this.p1sols=new Mf(new yf),this.move1=T(15),this.move2=T(20),this.move3=T(20),this.c1=new Bi,this.c2=new Bi,this.ct2=new Ls,this.ct3=new As,this.e12=new Zt,this.tempe=T(20),this.arr2=T(100),e=0;e<20;++e)this.tempe[e]=new Zt}function vf(){Uf||(Vg(),Mn=T(735471),Hg(),Qg(),Mn=null,jg(),Zg(),t3(),c3(),m3(),u3(),Uf=!0)}function x3(){Ef||(Ef=!0)}function Ui(e){let t,r,n,o;for(o=0,t=0,n=e.length;t<n;++t)for(r=t;r<n;++r)e[t]>e[r]&&(o^=1);return o}function R(e,t,r,n,o,l){let i;switch(l){case 0:i=e[o],e[o]=e[n],e[n]=e[r],e[r]=e[t],e[t]=i;return;case 1:i=e[t],e[t]=e[n],e[n]=i,i=e[r],e[r]=e[o],e[o]=i;return;case 2:i=e[t],e[t]=e[r],e[r]=e[n],e[n]=e[o],e[o]=i;return}}function kf(){}function zf(e,t,r,n){let o=new kf;return o.typeName=e+t,Cf(r!==0?-r:0)&&Pf(r!==0?-r:0,o),o.modifiers=4,o.superclass=zs,o.componentType=n,o}function _f(e,t,r,n){let o=new kf;return o.typeName=e+t,Cf(r)&&Pf(r,o),o.superclass=n,o}function w3(e){let t=To[e.seedId];return e=null,t}function Cf(e){return typeof e=="number"&&e>0}function Pf(e,t){let r;if(t.seedId=e,e===2)r=String.prototype;else if(e>0){let n=w3(t);if(n)r=n.prototype;else{n=To[e]=function(){},n.___clazz$=t;return}}else return;r.___clazz$=t}function v3(e,t){if(I3(e,t))return!0}function U3(e){e.array=cs(Gf,Ar([us,fs]),Cu,0,0)}function E3(e,t){return ii(e.array,e.size++,t),!0}function k3(e){e.array=cs(Gf,Ar([us,fs]),Cu,0,0),e.size=0}function Br(e,t){return e.array[t]}function z3(e,t){let r=e.array[t];return P3(e.array,t,1),--e.size,r}function Yn(e,t,r){let n=e.array[t];return ii(e.array,t,r),n}function _3(e,t){let r;for(t.length<e.size&&(t=Tg(t,e.size)),r=0;r<e.size;++r)ii(t,r,e.array[r]);return t.length>e.size&&ii(t,e.size,null),t}function C3(){U3(this),this.array.length=500}function P3(e,t,r){e.splice(t,r)}function M3(e,t){let r,n,o,l;for(n=0,r=e.length-1;n<=r;)if(o=n+(~~(r-n)>>1),l=e[o],l<t)n=o+1;else if(l>t)r=o-1;else return o;return-n-1}function Ei(e){G3(e,e.length)}function G3(e,t){let r;for(r=0;r<t;++r)e[r]=-1}function T3(e,t){let r,n,o,l,i=e.heap.size,a=Br(e.heap,t);for(;t*2+1<i&&(r=(n=2*t+1,o=n+1,l=n,o<i&&Si(Br(e.heap,o),Br(e.heap,n))<0&&(l=o),l),!(Si(a,Br(e.heap,r))<0));)Yn(e.heap,t,Br(e.heap,r)),t=r;Yn(e.heap,t,a)}function I3(e,t){let r,n;for(n=e.heap.size,E3(e.heap,t);n>0;){if(r=n,n=~~((n-1)/2),Si(Br(e.heap,n),t)<=0)return Yn(e.heap,r,t),!0;Yn(e.heap,r,Br(e.heap,n))}return Yn(e.heap,n,t),!0}function N3(e){if(e.heap.size===0)return null;let t=Br(e.heap,0);return O3(e),t}function O3(e){let t=z3(e.heap,e.heap.size-1);0<e.heap.size&&(Yn(e.heap,0,t),T3(e,0))}function W3(e,t){return _3(e.heap,t)}function Mf(e){this.heap=new C3,this.cmp=e}function Nf(){If||(If=!0,y3(),x3(),Kg(),Xg(),Jg(),s3(),o3(),p3(),L3(),Tf=new wf)}function j3(){Nf(),vf()}async function q3(){ut(),Nf();let e=z.fromString(S3(Tf,await ft()));return(await Pn()).concat(e)}var Y,To,kg,Cu,us,Pu,zg,_g,Mu,Cg,Pg,Mg,fs,Nu,ms,ps,Wu,xt,ci,hs,Mn,mi,Gn,wt,Tn,ju,di,$e,Yu,Xu,hi,Zu,Ju,Oo,ef,Rr,Rs,ys,rf,ht,sf,bs,Ri,vt,Ss,xs,ws,jn,yi,gf,Fi,df,Lf,Us,Ff,Vn,xi,wi,Hr,Es,jo,ks,qo,Hn,Bf,bf,Uf,Ef,zs,Gf,K3,Q3,Tf,If,Wf=S(()=>{De();as();_u();sr();Qt();To={},kg={},Cu=0,us=30,Pu=21,zg=22,_g=23,Mu=24,Cg=25,Pg=34,Mg=26,fs=40;ct(1,-1,kg);Y.value=null;ct(73,1,{},Gu);Y.queryId$=0;Nu=!1;Wu=!1;ct(153,1,Ar([Pu]),Io,fi,No);Mn=null,ju=!1;ct(154,1,{},Ls);Y.parity=0;Ju=!1;ct(155,1,{},As);Y.parity=0;ct(156,1,{},Fs,tf);rf=!1;ct(157,1,Ar([zg]),Li,yr,af);Y.temps=null;sf=!1;ct(158,1,Ar([_g]),Zt);Y.isStd=!0;Y.temp=null;Ri=0,df=!1;ct(159,1,{},vs,hf);Lf=!1;ct(160,1,Ar([Mu,Pg]),Bi,bi,Rf);Y.compareTo$=function(t){return D3(this,t)};Y.add1=!1;Y.center=null;Y.centerAvail=0;Y.corner=null;Y.cornerAvail=0;Y.edge=null;Y.edgeAvail=0;Y.length1=0;Y.length2=0;Y.length3=0;Y.moveLength=0;Y.sym=0;Y.value=0;ct(161,1,{},yf);Y.compare=function(t,r){return Si(t,r)};Ff=!1;ct(163,1,Ar([Mg]),wf);Y.add1=!1;Y.arr2idx=0;Y.c=null;Y.length1=0;Y.length2=0;Y.p1SolsCnt=0;Y.solution="";Uf=!1,Ef=!1;Y.val$outerIter=null;Y.size=0;ct(239,1,{},Mf);Y.cmp=null;Y.heap=null;zs=_f("java.lang.","Object",1,null),Gf=zf("[Ljava.lang.","Object;",356,zs),K3=_f("cs.threephase.","FullCube",160,zs),Q3=zf("[Lcs.threephase.","FullCube;",381,K3),If=!1});var Sc={};be(Sc,{randomFTOScrambleString:()=>j7});function Vo(e){if(e<2)return e;let t=1;for(let r=2;r<=e;r++)t*=r;return t}function ki(e,t){if(t<0||t>e)return 0;if(t===0||t===e)return 1;let r=1;for(let n=0;n<t;n++)r=r*(e-n)/(n+1)|0;return r}function Yf(e,t,r,n,o=e-t-r-n){return ki(e,t+r)*ki(t+r,t)*ki(n+o,n)}function $3(e){e=e.slice();let t=e.length,r=Vo(t-1),n=0;for(;t>1;){t--;let o=e[0];n+=o*r;for(let l=0;l<t;l++){let i=e[l+1];e[l]=i-(i>o)}r/=t}return n}function e7(e){let t=e.length,r=0;for(let n=0;n<t-1;n++)for(let o=n;o<t;o++)e[n]>e[o]&&(r^=1);return r}function Cs(e,t){let r=[],n=Vo(t-1)/2,o=0;for(let l=0;l<t-1;l++)r[l]=e/n|0,e%=n,n/=t-1-l;r[t-1]=0;for(let l=t-2;l>=0;l--)for(let i=l+1;i<t;i++)r[i]>=r[l]?r[i]++:o^=1;return o===1&&([r[t-2],r[t-1]]=[r[t-1],r[t-2]]),r}function Yr(e){return $3(e)>>1}function Ps(e){let t=[0];for(let r=1;r<e;r++){let n=Hf.next(r+1);t[r]=t[n],t[n]=r}return t}function Xf(e){let t=Ps(e);return e7(t)===1&&([t[0],t[1]]=[t[1],t[0]]),t}function t7(e){return e|=0,31-Math.clz32(e^e-1)}function Zf(e,t){e|=0,t|=0;let r=e+" "+t;if(Ms[r])return Ms[r];let n=ki(e,t),o=new Uint32Array(n),l=new Uint32Array(1<<e).fill(-1);for(let i=0,a=(1<<t)-1;i<n;i++){o[i]=a,l[a]=i;let u=a|a-1;a=u+1|(~u&-~u)-1>>t7(a)+1}return Ms[r]=[o,l]}function r7(e){e|=0;let t=0;for(;e!==0;)e&=e-1,t++;return t}function Jf(e){return e&=65535,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,e}function n7(e,t){return Jf(e)|Jf(t)<<1}function Xn(e,t,r,n,o){if(e|=0,t|=0,r|=0,n|=0,o|=0,e!==t+r+n+o)throw"generate_comb4_lookup_tables: invalid parameters";let l=[e,t,r,n,o].join(" ");if(Gs[l])return Gs[l];let[i,a]=Zf(e,r+o),[u,s]=Zf(e,n+o),f=Yf(e,t,r,n,o),c=new Uint32Array(f),m=new Uint32Array(4**e).fill(-1);for(let p=0,g=0;p<u.length;p++){let d=u[p];for(let L=0;L<i.length;L++){let A=i[L];if(r7(A&d)===o){let B=n7(A,d);c[g]=B,m[B]=g,g++}}}return Gs[l]=[c,m]}function qe(e,t){let r=[];for(let n=0;n<t.length;n++)r[n]=e[t[n]];return r}function Zn(e,t,r){let n=[];for(let o=0;o<r.length;o++)n[o]=e[t[r[o]]];return n}function Ts(e,t){let r=[];for(let n=0;n<t;n++)r[n]=n;for(let n of e)for(let o=0;o<n.length;o++)r[n[o]]=n[(o+1)%n.length];return r}function Xr(e,t){let r=e.length,n=Array(r).fill(0);for(let i=1;i<r;i++)n[i]=n[i-1]+t[i-1];let o=n[r-1]+t[r-1],l=Array(o);for(let i=0;i<r;i++)t[i]&&(l[n[i]]=n[e[i]]);return l}function Is(e){let t=e.length,r=Array(t);for(let n=0;n<t;n++)r[e[n]]=n;return r}function o7(e,t){for(;e&&t;)[e,t]=[t%e,e];return Math.abs(e+t)}function l7(e,t){return e*t/o7(e,t)}function i7(e){let t=1,r=e.length,n=Array(r).fill(!1),o=-1;for(;o=n.indexOf(!1,o+1),o!==-1;){let l=0,i=o;for(;!n[i];)n[i]=!0,i=e[i],l++;t=l7(t,l)}return t}function g7(e,t){for(let r=0;r<6;r++){if(e===Ut[br[r][0]]&&t===Ut[br[r][2]])return[r,0];if(e===Ut[br[r][2]]&&t===Ut[br[r][0]])return[r,1]}throw"unknown corner piece"}function d7(e,t){for(let r=0;r<12;r++)if(e===Ut[Sr[r][0]]&&t===Ut[Sr[r][1]]||t===Ut[Sr[r][0]]&&e===Ut[Sr[r][1]])return r;throw"unknown edge piece"}function Ns(e,t){return g7(e[br[t][0]],e[br[t][2]])}function Ci(e,t){return d7(e[Sr[t][0]],e[Sr[t][1]])}function h7(e,t,r,n){let o=br[t],l=br[r].map(i=>Ut[i]);n%2!=0&&(l=[l[2],l[3],l[0],l[1]]);for(let i=0;i<4;i++)e[o[i]]=l[i]}function L7(e,t,r){let n=Sr[t],o=Sr[r].map(l=>Ut[l]);for(let l=0;l<2;l++)e[n[l]]=o[l]}function tc(e){let t=e.map(u=>Ut[u]),n=Array(6).fill().map((u,s)=>Ns(t,s)).map(([u,s])=>u+6*s),o=n.concat(n.map(u=>(u+6)%12)),l=Array(12).fill().map((u,s)=>Ci(t,s)),i=Array(12).fill().map((u,s)=>Zr.indexOf(e[Zr[s]])),a=Array(12).fill().map((u,s)=>Jn.indexOf(e[Jn[s]]));return{cp:o,ep:l,ap:i,bp:a}}function A7(){let e=Array(72),t=Xf(5);t.push(5);let r=Array(4).fill().map(i=>Hf.next(2));r.push(r.reduce((i,a)=>i^a)),r.push(0);for(let i=0;i<6;i++)h7(e,i,t[i],r[i]);let n=Xf(12);for(let i=0;i<12;i++)L7(e,i,n[i]);let o=Ps(12).map(i=>i/3|0),l=Ps(12).map(i=>4+(i/3|0));for(let i=0;i<12;i++)e[Zr[i]]=o[i],e[Jn[i]]=l[i];return e}function nc(e,t=!1){if(t){let l=0,i=1,a=2,u=3,s=4,f=5,c=6,m=7;e=e.map(d=>d.slice());let p=[l,i,a,u,s,f,c,m],g=[[l,u,f,c,s,m,i,a],[m,i,l,c,u,f,s,a],[m,s,a,i,u,l,c,f],[a,s,f,u,c,l,i,m]];g=g.concat(g.map(d=>Is(d)));for(let d=0;d<e.length;d++)if(e[d][0]<4)e[d][0]=p[e[d][0]];else{let L=p[e[d][0]],A=e[d][1];e[d][0]=L,p=qe(A===1?g[L^4]:g[L],p)}}let r=t?"U L F R D BR B BL".split(" "):D7,n=["0","","'"];return e.map(([l,i])=>r[l]+n[i]).join(" ")}function xr(e,t){for(let[r,n]of t)for(let o=0;o<n;o++)e=qe(e,rc[r]);return e}function oc(e){return e.map(([t,r])=>[t,(3-r)%3]).reverse()}function Pi(e,t=!1){if(e.length===0)return[];let r=[],n;for(let[o,l]of e)n&&n[0]===o?(n[1]+=l,n[1]%=3,n[1]===0&&(r.pop(),n=r.length===0?void 0:r[r.length-1])):r.length>=2&&(n[0]^o)==4&&r[r.length-2][0]===o?(r[r.length-2][1]+=l,r[r.length-2][1]%=3,r[r.length-2][1]===0&&r.splice(r.length-2,1)):(n=[o,l],r.push(n));return t&&""+e!=""+r&&console.log(\`simplified \${e} to \${r}\`),r}function R7(){return nc(oc(B7(A7(),!0)),!0)}function $n(e,t,r,n,o,l){let i=Yf(e,t,r,n,o),a=l.length,[u,s]=Xn(e,t,r,n,o),f=Array(a).fill().map(()=>new Uint32Array(i));for(let c=0;c<i;c++){let m=u[c],p=Array(e);for(let g=0;g<e;g++)p[g]=m>>2*g&3;for(let g=0;g<a;g++){let L=qe(p,l[g]).reduce((A,B,F)=>A|B<<2*F,0);f[g][c]=s[L]}}return f}function lc(e){let t=e[0].length,r=e.length,n=Array(r).fill().map(()=>new Uint32Array(t));for(let o=0;o<t;o++)for(let l=0;l<r;l++)n[l][e[l][o]]=o;return n}function $r(e,t){let r=e[0].length,n=t[0].length,o=e.length,l=Array(o).fill().map(()=>new Uint32Array(r*n));for(let i=0;i<n;i++)for(let a=0;a<r;a++){let u=a+r*i;for(let s=0;s<o;s++)l[s][u]=e[s][a]+r*t[s][i]}return l}function y7(e,t){let r=e.length,n=e[0].length,o=new Uint8Array(n);o[t]=1;let l=!1;for(;!l;){l=!0;for(let a=0;a<n;a++)if(!!o[a])for(let u=0;u<r;u++)o[e[u][a]]||(o[e[u][a]]=1,l=!1)}let i=new Int32Array(n).fill(-1);for(let a=0,u=0;a<n;a++)!o[a]||(i[a]=u,u++);return[e.map(a=>Xr(a,o)),i]}function F7(e,t){let r=e.length,n=e[0].length,o=new Int32Array(n).fill(-1);t.forEach(u=>{o[u]=0});let l=[t];for(let u=0;u<l.length;u++){let s=l[u];for(let f=0;f<r;f++){let c=e[f][s[0]];if(o[c]!==-1)continue;let m=s.map(g=>e[f][g]),p=l.length;l.push(m);for(let g of m){if(o[g]!==-1)throw"quotienting failed";o[g]=p}}}let i=l.length,a=Array(r).fill().map(()=>new Int32Array(i));for(let u=0;u<r;u++)for(let s=0;s<i;s++)a[u][s]=o[e[u][l[s][0]]];return[a,o]}function ic(e,t,r){let n=e[0].length,o=e.length,l=new Int32Array(n).fill(-1);l[t]=r,l[r]=t;let i=!1;for(;!i;){i=!0;for(let a=0;a<n;a++){if(l[a]===-1)continue;let u=l[a];for(let s=0;s<o;s++){let f=s^1,c=e[s][a],m=e[f][e[f][u]];if(l[c]===-1)i=!1,l[c]=m,l[m]=c;else if(l[c]!==m)throw"mirroring failed - is the initial map correct?"}}}return l}function ac(e,t){let r=e[0].length,n=e.length,o=new Int8Array(r).fill(-1);for(let a of t)o[a]=0;let l=0,i=!1;for(;!i;){i=!0;for(let a=0;a<r;a++)if(o[a]===l)for(let u=0;u<n;u++){let s=e[u][a];for(;s!==a;)o[s]===-1&&(i=!1,o[s]=l+1),s=e[u][s]}l++}return o}function B7(e,t=!1){let r=v7(e).next().value,n=xr(e,r),o=(t?Q7:K7)(n),l=Pi(r.concat(o),!1);return xr(e,l).join("")!==Ho.join("")&&(console.log("solving failed!"),console.log(e),console.log(r),console.log(n),console.log(o),console.log(xr(e,l))),l}function S7(e){let[t,r]=Xn(12,6,0,3,3),n=Array(12).fill().map((a,u)=>Ci(e,u)),o=n.indexOf(8)+12*n.indexOf(9)+12**2*n.indexOf(10)+12**3*n.indexOf(11),[l,i]=[Zr,Jn].map(a=>{let u=a.map(s=>b7[e[s]]);return r[u.reduce((s,f,c)=>s|f<<2*c,0)]});return[o,l,i]}function sc(){if(W.phase1_edge)return W.phase1_edge;let e=lc(Jr.map(n=>n.ep)),t=$r(e,e),r=$r(t,t);return W.phase1_edge=r}function x7(){return $t.phase1_edge?$t.phase1_edge:$t.phase1_edge=ac(sc(),[8+12*9+12**2*10+12**3*11])}function w7(){return W.phase1_centreA?W.phase1_centreA:W.phase1_centreA=$n(12,6,0,3,3,Jr.map(e=>e.ap))}function uc(){return W.phase1_centreB?W.phase1_centreB:W.phase1_centreB=$n(12,6,0,3,3,Jr.map(e=>e.bp))}function fc(){if($t.phase1_centre)return $t.phase1_centre;let[e,t]=Xn(12,6,0,3,3),r=e.filter(n=>{let o=n>>12&3,l=n>>18&3;return o===2&&l===3}).map(n=>t[n]);return $t.phase1_centre=ac(uc(),r)}function*v7(e){let t=[sc(),w7(),uc()],r=[x7(),fc(),fc()];yield*U7(S7(e),t,r,15)}function*U7(e,t,r,n){let o=e.length,l=0;for(let i=0;i<o;i++)l=Math.max(l,r[i][e[i]]);for(;l<=n;)yield*cc(e,t,r,l,-1),l++}function*cc(e,t,r,n,o){let l=3,i=8,a=Math.max(r[0][e[0]],r[1][e[1]],r[2][e[2]]);if(!(a>n)){if(n===0){yield[];return}if(!(a===0&&n===1))for(let u=0;u<i;u++){if(u===o||u===o-4)continue;let s=[];s[0]=t[0][u][e[0]],s[1]=t[1][u][e[1]],s[2]=t[2][u][e[2]];let f=1;for(;e.some((c,m)=>e[m]!=s[m]);){let c=cc(s,t,r,n-1,u);for(;;){let{value:m,done:p}=c.next();if(p)break;yield[[u,f]].concat(m)}s[0]=t[0][u][s[0]],s[1]=t[1][u][s[1]],s[2]=t[2][u][s[2]],f++}}}}function Os(e){let[t,r]=Xn(10,5,3,2,0),n=Array(8).fill().map((m,p)=>Ci(e,p)),o=n.indexOf(5)+8*n.indexOf(6)+8**2*n.indexOf(7),l=Array(5).fill().map((m,p)=>Ns(e,p)),i=Is(l.map(([m,p])=>m+5*p).concat(l.map(([m,p])=>m+5*(p^1)))),a=i.slice(0,5).map(m=>m%5),u=i.slice(0,5).map(m=>m/5|0),s=Yr(a)*8+(u[0]^u[2])+2*(u[0]^u[3])+4*u[4],[f,c]=[Zr,Jn].map(m=>{let p=qe(m,k7).map(g=>E7[e[g]]);return r[p.reduce((g,d,L)=>g|d<<2*L,0)]});return dc(),Dc(),[f,c,Lc[s]+40*gc[o]]}function*Mi(e){yield*M7(Os(e),30)}function pc(){if(W.phase2_centre)return W.phase2_centre;let e=$n(10,5,3,2,0,Jr.slice(0,4).map(r=>Xr(r.ap,mc))),t=$n(10,5,3,2,0,Jr.slice(0,4).map(r=>Xr(r.bp,mc)));return W.phase2_centre=[e,t]}function dc(){if(W.phase2_edge)return W.phase2_edge;let e=lc(Jr.slice(0,4).map(n=>n.ep.slice(0,8))),t=$r(e,$r(e,e)),r;return[r,gc]=y7(t,501),W.phase2_edge=r}function hc(){if(W.phase2_corner)return W.phase2_corner;let t=Vo(5)/2*8,r=[!0,!0,!0,!0,!0,!1,!0,!0,!0,!0,!0,!1],n=Array(4).fill().map(()=>new Uint32Array(t)),o=Jr.slice(0,4).map(l=>Is(Xr(l.cp,r)));for(let l=0;l<t;l++){let i=Cs(l>>3,5),a=[0,0,l&1,l>>1&1,l>>2&1];a[1]=a[2]^a[3]^a[4];let u=Array(10);for(let s=0;s<5;s++)u[s]=i[s]+5*a[s],u[s+5]=i[s]+5*(a[s]^1);for(let s=0;s<4;s++){let f=qe(o[s],u),c=f.slice(0,5).map(g=>g%5),m=f.slice(0,5).map(g=>g/5|0),p=(m[0]^m[2])+2*(m[0]^m[3])+4*m[4];n[s][l]=Yr(c)*8+p}}return W.phase2_corner=n}function Dc(){return W.phase2_corner_compact||([W.phase2_corner_compact,Lc]=F7(hc(),C7())),W.phase2_corner_compact}function Ws(){if(W.phase2_ce)return W.phase2_ce;let e=Dc(),t=dc();return W.phase2_ce=$r(e,t)}function z7(){if(Ks)return Ks;let e=Os(Ho)[2];return Ks=ic(Ws(),e,e)}function _7(){let[e,t]=Xn(10,5,3,2,0);return e.filter(r=>(r>>10&63)==41).map(r=>t[r])}function C7(){let e=hc(),t=e[0].length,r=Array(t).fill(!1);r[0]=!0;let n=!1;for(;!n;){n=!0;for(let o=0;o<t;o++)r[o]&&(r[e[0][o]]||(n=!1,r[e[0][o]]=!0),r[e[1][o]]||(n=!1,r[e[1][o]]=!0))}return r.map((o,l)=>l).filter(o=>r[o])}function P7(){if($t.phase2_ace)return $t.phase2_ace;let[e,t]=pc(),r=Ws(),n=2520,o=40*336,l=n*o,i=Os(Ho)[2],a=9,u=new Int8Array(l).fill(a);for(let s of _7())u[s+n*i]=0;for(let s=0;s<a-1;s++)for(let f=u.indexOf(s);f!==-1;f=u.indexOf(s,f+1)){let c=f%n,m=f/n|0;for(let p=0;p<4;p++){let g=e[p][c],d=r[p][m],L=g+n*d;u[L]===a&&(u[L]=s+1),g=e[p][g],d=r[p][d],L=g+n*d,u[L]===a&&(u[L]=s+1)}}return $t.phase2_ace=u}function*M7(e,t){let[r,n]=pc(),o=Ws(),l=P7(),i=z7(),[a,u,s]=e,f=i[s],c=Math.max(l[a+2520*s],l[u+2520*f]);for(;c<=t;)yield*Ac(a,u,s,r,n,o,l,i,c,-1),c++}function*Ac(e,t,r,n,o,l,i,a,u,s){let f=Math.max(i[e+2520*r],i[t+2520*a[r]]);if(!(f>u)){if(u===0){yield[];return}else if(f===0)return;for(let c=0;c<4;c++){if(c===s)continue;let m=e,p=t,g=r;for(let d=1;d<=2;d++){m=n[c][m],p=o[c][p],g=l[c][g];let L=Ac(m,p,g,n,o,l,i,a,u-1,c);for(;;){let{value:A,done:B}=L.next();if(B)break;yield[[c,d]].concat(A)}}}}}function Ti(e){let[t,r]=Xn(7,3,2,0,2),n=Array(5).fill().map((s,f)=>Ci(e,f)),o=Yr(n),l=Array(4).fill().map((s,f)=>Ns(e,f)),i=Yr(l.map(s=>s[0]))*2+l.find(s=>s[0]===0)[1],[a,u]=[Zr,Jn].map(s=>{let f=qe(s,G7).map(c=>e[c]%4);return r[f.reduce((c,m,p)=>c|m<<2*p,0)]});return[a+210*u,i+24*o]}function I7(){if(W.phase3_2gen_edge)return W.phase3_2gen_edge;let e=Vo(5)/2,t=Array(eo).fill().map(()=>new Uint32Array(e)),r=Gi.map(n=>n.ep.slice(0,5));for(let n=0;n<e;n++){let o=Cs(n,5);for(let l=0;l<eo;l++)t[l][n]=Yr(qe(o,r[l]))}return W.phase3_2gen_edge=t}function N7(){if(W.phase3_2gen_corner)return W.phase3_2gen_corner;let t=Vo(4)/2*2,r=[!0,!0,!0,!0,!1,!1,!0,!0,!0,!0,!1,!1],n=Array(eo).fill().map(()=>new Uint32Array(t)),o=Gi.map(l=>Xr(l.cp,r).slice(0,4));for(let l=0;l<t;l+=2){let i=Cs(l>>1,4),a=i.concat(i.map(u=>u+4));for(let u=0;u<eo;u++){let s=qe(a,o[u]),f=s.map(m=>m%4),c=s.find(m=>m%4==0)>>2;n[u][l]=Yr(f)*2+c,n[u][l+1]=Yr(f)*2+(c^1)}}return W.phase3_2gen_corner=n}function Ii(){return W.phase3_2gen_corneredge?W.phase3_2gen_corneredge:W.phase3_2gen_corneredge=$r(N7(),I7())}function Qs(){if(W.phase3_2gen_centre)return W.phase3_2gen_centre;let e=$n(7,3,2,0,2,Gi.map(r=>Xr(r.ap,Rc))),t=$n(7,3,2,0,2,Gi.map(r=>Xr(r.bp,Rc)));return W.phase3_2gen_centreA=e,W.phase3_2gen_centreB=t,W.phase3_2gen_centre=$r(e,t)}function Fc(){if(js)return js;let e=Qs(),t=W.phase3_2gen_centreA,r=Ii(),n=t[0].length,o=r[0].length,l=n*o,i=25,a=er.map(m=>m.length),u=new Int8Array(l).fill(i),s=Ti(Ho);u[s[0]%n+n*s[1]]=0;let f=0,c=!1;for(;!c&&f<i-1;){c=!0;let m=Array(eo).fill().map((A,B)=>B).filter(A=>a[A]+f<i);m.sort((A,B)=>a[A]-a[B]);let p=qe(a,m),g=qe(t,m),d=qe(r,m),L=m.length;for(let A=u.indexOf(f);A!==-1;A=u.indexOf(f,A+1)){let B=A%n,F=A/n|0;for(let k=0;k<L;k++){let E=p[k],j=g[k][B],te=d[k][F],G=j+n*te;u[G]>f+E&&(c=!1,u[G]=f+E)}}f++}return js=u}function Bc(){if(qs)return qs;let e=Ii().slice(0,2),t=Ti(Ho);return qs=ic(e,t[1],t[1])}function Vs(e,t=Ti(e)){let[r,n]=t,o=r%210,l=Math.floor(r/210),i=Qs(),a=W.phase3_2gen_centreA,u=W.phase3_2gen_centreB,s=Ii(),f=Fc(),c=Bc(),m=0;for(;;){let p=Ys(o,l,n,a,u,s,f,c,m);for(let g of p)return g.map(d=>er[d]).flat();m++}}function bc(e,t=Ti(e)){let[r,n]=t,o=r%210,l=Math.floor(r/210),i=Qs(),a=W.phase3_2gen_centreA,u=W.phase3_2gen_centreB,s=Ii(),f=Fc(),c=Bc(),m=Vs(e).length,p=1/0,g;for(let d=m;d<=m+0;d++){let L=Ys(o,l,n,a,u,s,f,c,d);for(let A of L){let B=A.map(E=>er[E]).flat(),F=Pi(B),k=Hs(F);k<p&&(p=k,g=F)}}return g}function O7(e){return(e-1)*(e-2)/2}function Hs(e){let t=nc(e,!0).replace(/'/g,"").split(" ");return e.length+W7(t).map(O7).reduce((r,n)=>r+n,0)}function W7(e){if(e.length<3)return[];let t=e.length,r=[];for(let l=0;l<t-2;l++)r[l]=e[l]===e[l+2];r.push(!1);let n=-1,o=[];for(;n<t-2&&(n=r.indexOf(!0,n+1),n!==-1);){let l=r.indexOf(!1,n+1);o.push(l-n),n=l}return o}function*Ys(e,t,r,n,o,l,i,a,u,s=-1){let f=i[e+210*r],c=i[t+210*a[r]],m=Math.max(f,c);if(!(m>u)){if(u===0){yield[];return}if(m!==0)for(let p=0;p<eo;p++){if(p===s&&T7[p]<=3)continue;let g=n[p][e],d=o[p][t],L=l[p][r],A=u-er[p].length;if(A<0)continue;let B=Ys(g,d,L,n,o,l,i,a,A,p);for(;;){let{value:F,done:k}=B.next();if(k)break;yield[p].concat(F)}}}}function K7(e,t=200,r=24){let n=[],o=Mi(e),l=qe(e,Gt).map(u=>u^1),i=Mi(l),a=Array(1e3);for(let u=0;u<t;u++){{let{value:s,done:f}=o.next();if(!f){let c=xr(e,s),m=s.concat(Vs(c));if(m.length<=r)return m;m.length<a.length&&(a=m)}}{let{value:s,done:f}=i.next();if(!f){let c=xr(l,s),m=s.concat(Vs(c)).map(([p,g])=>[p^2,g]);if(m.length<=r)return m;m.length<a.length&&(a=m)}}}return a}function Q7(e,t=20,r=30){let n=[],o=Mi(e),l=qe(e,Gt).map(s=>s^1),i=Mi(l),a,u=1/0;for(let s=0;s<t;s++){{let{value:f,done:c}=o.next();if(!c){let m=xr(e,f),p=Pi(f.concat(bc(m))),g=Hs(p);if(g<=r)return p;g<u&&(a=p,u=g)}}{let{value:f,done:c}=i.next();if(!c){let m=xr(l,f),p=Pi(f.concat(bc(m)));p=p.map(([d,L])=>[d^2,L]);let g=Hs(p);if(g<=r)return p;g<u&&(a=p,u=g)}}}return a}var Hf,kA,zA,Ms,Gs,Ho,Yo,a7,Gt,_A,zi,$f,s7,u7,f7,_i,c7,ec,m7,p7,Ut,br,Sr,Zr,Jn,rc,D7,Jr,W,$t,b7,E7,k7,mc,gc,Lc,Ks,G7,Rc,er,eo,yc,Gi,T7,js,qs,j7,xc=S(()=>{"use strict";Hf=(()=>{let e=0,t=1,r=globalThis.crypto?()=>crypto.getRandomValues(new Uint8Array(1))[0]&1:()=>Math.round(Math.random()),n=1e4,o=20;function l(i){if(i<=0||i>2**32||i!==Math.floor(i))throw"invalid bound";for(let a=0;a<=o;a++){for(let s=0;s<53&&t<=2**52&&t<i*n;s++)e+=r()*t,t*=2;let u=t-t%i;if(e<u||a===o){let s=e%i;return e=(e-s)/i,t=u/i,e===t&&(e=0,t=1),s}e-=u,t-=u}}return{next:l,is_crypto:!!globalThis.crypto}})();[kA,zA]=(()=>{let e=new Int8Array(256*8),t=new Int8Array(256*8);for(let o=0;o<256;o++)for(let l=0,i=0;l<8;l++)(o>>>l&1)!=0&&(e[l<<8|o]=i,t[i<<8|o]=l,i++);function r(o){let l=255,i=2520,a=0;for(let u=0;u<6;u++){let s=o[u];a+=e[l|s<<8]*i,l&=~(1<<s),i/=7-u}return a}function n(o,l){let i=255,a=2520,u=0;for(let s=0;s<6;s++){let f=o/a|0;o-=f*a,u^=f&1;let c=t[i|f<<8];l[s]=c,i&=~(1<<c),a/=7-s}return l[6]=t[i|u<<8],l[7]=t[i|(u^1)<<8],l}return[r,n]})();Ms={};Gs={};Ho=Array(72).fill().map((e,t)=>t/9|0),Yo=Ts([[0,4,8],[1,6,3],[2,5,7],[9,22,35],[45,67,44],[47,68,43],[46,69,39],[50,70,38],[49,71,36]],72),a7=qe(Yo,Yo),Gt=Array(72).fill().map((e,t)=>(t/18|0)*18+(t+9)%18),_A=Array(72).fill().map((e,t)=>(t/36|0)*36+(t+18)%36),zi=Array(72).fill().map((e,t)=>(t+36)%72),$f=Zn(zi,a7,zi),s7=Zn(Gt,Yo,Gt),u7=Zn(Gt,$f,Gt),f7=Ts([[10,24,30],[11,23,34],[12,19,33],[42,48,64],[41,52,65],[37,51,66]],72),_i=qe(Yo,f7),c7=qe(_i,_i),ec=Zn(zi,c7,zi),m7=Zn(Gt,_i,Gt),p7=Zn(Gt,ec,Gt),Ut=Array(72).fill().map((e,t)=>t/9|0),br=[[0,45,9,36],[4,67,22,49],[8,44,35,71],[13,58,31,40],[17,53,26,62],[18,63,27,54]],Sr=[[1,46],[3,39],[6,69],[10,37],[33,42],[12,48],[15,60],[24,51],[19,64],[28,55],[30,66],[21,57]],Zr=Array(12).fill().map((e,t)=>(t/3|0)*9+[2,5,7][t%3]),Jn=Zr.map(e=>e+36);rc=[Yo,$f,s7,u7,_i,ec,m7,p7],D7=["U","L","F","R","u","l","f","r"],Jr=rc.map(tc);W={},$t={},b7=[0,0,2,3,0,0,2,3];E7=[0,1,2,0,0,1,2,0],k7=[0,1,2,3,4,5,7,8,10,11],mc=[!0,!0,!0,!0,!0,!0,!1,!0,!0,!1,!0,!0];G7=[0,1,2,3,4,10,11],Rc=[!0,!0,!0,!0,!0,!1,!1,!1,!1,!1,!0,!0],er=[[[0,1]],[[1,1]],[[2,1],[0,1],[3,1],[0,2],[3,2],[2,2]],[[3,2],[1,2],[2,2],[1,1],[2,1],[3,1]],[[6,1],[0,1],[3,1],[0,2],[3,2],[6,2]],[[7,2],[1,2],[2,2],[1,1],[2,1],[7,1]],[[2,1],[0,1],[2,2],[0,1],[2,1],[0,1],[2,2]],[[3,2],[1,1],[3,1],[1,1],[3,2],[1,1],[3,1]],[[2,1],[3,1],[2,2],[1,2],[0,2],[2,1],[3,1],[2,2]],[[3,2],[2,2],[3,1],[0,1],[1,1],[3,2],[2,2],[3,1]],[[6,1],[0,1],[6,2],[0,2],[1,2],[6,1],[0,1],[6,2]],[[7,2],[1,2],[7,1],[1,1],[0,1],[7,2],[1,2],[7,1]],[[2,1],[3,2],[2,2],[3,1],[0,1],[2,2],[1,1],[2,1]],[[3,2],[2,1],[3,1],[2,2],[1,2],[3,1],[0,2],[3,2]],[[6,1],[0,2],[6,2],[7,1],[6,1],[1,2],[7,1],[6,1]],[[7,2],[1,1],[7,1],[6,2],[7,2],[0,1],[6,2],[7,2]],[[2,2],[1,2],[2,2],[3,2],[2,2],[3,2],[0,2],[3,2]],[[6,2],[7,2],[1,2],[0,2],[1,2],[0,2],[6,2],[7,2]]];er=er.concat(er.map(e=>oc(e)));eo=er.length,yc=er.map(e=>xr(Ts([],72),e)),Gi=yc.map(tc),T7=yc.map(i7);j7=R7});var Uc={};be(Uc,{cachedMegaminxKPuzzleWithoutMO:()=>Xo,cachedSGSDataMegaminx:()=>Y7,sgsDataMegaminx:()=>vc});async function q7(){let e=Fn("megaminx",{allMoves:!0,addRotations:!0}),t=new Te(e.getKPuzzleDefinition(!0),{experimentalPGNotation:new Mr(e,e.getOrbitsDef(!0))});return t.definition.name="megaminx",t}async function Xo(){return V7??(V7=q7())}async function Y7(){return H7??(H7=vc())}async function vc(){return ur(await Xo(),\`SubgroupSizes 12 5 60 58 60 56 54 57 52 50 54 48 46 51 44 42 48 40 45 38 36 42 34 32 39 30 36 28 26 33 24 30 22 20 27 18 24 16 14 21 12 18 10 15 8 6 2 12 9 3
|
|
1149
|
+
|
|
1150
|
+
Alg Rv
|
|
1151
|
+
Alg Rv2
|
|
1152
|
+
Alg Rv2'
|
|
1153
|
+
Alg Rv'
|
|
1154
|
+
Alg Lv'
|
|
1155
|
+
Alg Lv2
|
|
1156
|
+
Alg Lv2'
|
|
1157
|
+
Alg Fv
|
|
1158
|
+
Alg Fv'
|
|
1159
|
+
Alg BRv2
|
|
1160
|
+
Alg Lv2 Rv'
|
|
1161
|
+
|
|
1162
|
+
Alg Uv
|
|
1163
|
+
Alg Uv2
|
|
1164
|
+
Alg Uv2'
|
|
1165
|
+
Alg Uv'
|
|
1166
|
+
|
|
1167
|
+
Alg D
|
|
1168
|
+
Alg D2
|
|
1169
|
+
Alg D2'
|
|
1170
|
+
Alg D'
|
|
1171
|
+
Alg B
|
|
1172
|
+
Alg B2
|
|
1173
|
+
Alg B2'
|
|
1174
|
+
Alg B'
|
|
1175
|
+
Alg D DL
|
|
1176
|
+
Alg D DL2
|
|
1177
|
+
Alg D DL2'
|
|
1178
|
+
Alg D DL'
|
|
1179
|
+
Alg D2 FL
|
|
1180
|
+
Alg D2 FL2
|
|
1181
|
+
Alg D2 FL2'
|
|
1182
|
+
Alg D2 FL'
|
|
1183
|
+
Alg D2' FR
|
|
1184
|
+
Alg D2' FR2
|
|
1185
|
+
Alg D2' FR2'
|
|
1186
|
+
Alg D2' FR'
|
|
1187
|
+
Alg D' DR
|
|
1188
|
+
Alg D' DR2
|
|
1189
|
+
Alg D' DR2'
|
|
1190
|
+
Alg D' DR'
|
|
1191
|
+
Alg B DR
|
|
1192
|
+
Alg B DR2'
|
|
1193
|
+
Alg B DR'
|
|
1194
|
+
Alg B2 BR2
|
|
1195
|
+
Alg B2 BR2'
|
|
1196
|
+
Alg B2 BR'
|
|
1197
|
+
Alg B2' BL
|
|
1198
|
+
Alg B2' BL2
|
|
1199
|
+
Alg B2' BL2'
|
|
1200
|
+
Alg B' DL
|
|
1201
|
+
Alg B' DL2
|
|
1202
|
+
Alg B' DL'
|
|
1203
|
+
Alg D DL B
|
|
1204
|
+
Alg D DL B2'
|
|
1205
|
+
Alg D DL B'
|
|
1206
|
+
Alg D DL2' L
|
|
1207
|
+
Alg D DL2' L2
|
|
1208
|
+
Alg D DL2' L2'
|
|
1209
|
+
Alg D DL' FL
|
|
1210
|
+
Alg D DL' FL2
|
|
1211
|
+
Alg D DL' FL'
|
|
1212
|
+
Alg D2 FL2' F
|
|
1213
|
+
Alg D2 FL2' F2
|
|
1214
|
+
Alg D2 FL2' F2'
|
|
1215
|
+
Alg D2 FL' FR
|
|
1216
|
+
Alg D2 FL' FR2
|
|
1217
|
+
Alg D2 FL' FR'
|
|
1218
|
+
Alg D2' FR2' R
|
|
1219
|
+
Alg D2' FR2' R2
|
|
1220
|
+
Alg D2' FR2' R2'
|
|
1221
|
+
Alg B DR2' R2'
|
|
1222
|
+
Alg B DR' BR2
|
|
1223
|
+
Alg B2 BR' BL
|
|
1224
|
+
Alg B2' BL2' L
|
|
1225
|
+
Alg D DL2' L2' F
|
|
1226
|
+
Alg DL
|
|
1227
|
+
Alg DL2
|
|
1228
|
+
Alg DL2'
|
|
1229
|
+
Alg DL'
|
|
1230
|
+
Alg DL BL
|
|
1231
|
+
Alg DL BL2
|
|
1232
|
+
Alg DL BL2'
|
|
1233
|
+
Alg DL BL'
|
|
1234
|
+
Alg DL2 L
|
|
1235
|
+
Alg DL2 L2
|
|
1236
|
+
Alg DL2 L2'
|
|
1237
|
+
Alg DL2 L'
|
|
1238
|
+
Alg DL2' FL
|
|
1239
|
+
Alg DL2' FL2
|
|
1240
|
+
Alg DL2' FL2'
|
|
1241
|
+
Alg DL2' FL'
|
|
1242
|
+
Alg D B D'
|
|
1243
|
+
Alg D B2 D'
|
|
1244
|
+
Alg D B2' D'
|
|
1245
|
+
Alg D B' D'
|
|
1246
|
+
Alg D2 B D2'
|
|
1247
|
+
Alg D2 DL' D2'
|
|
1248
|
+
Alg D2' DL' D2
|
|
1249
|
+
Alg D' B D
|
|
1250
|
+
Alg D' DL' D
|
|
1251
|
+
Alg B2 DR2 B2'
|
|
1252
|
+
Alg B2 DR2' B2'
|
|
1253
|
+
Alg B2 DR' B2'
|
|
1254
|
+
Alg B2' BR B2
|
|
1255
|
+
Alg B2' BR2 B2
|
|
1256
|
+
Alg B2' BR2' B2
|
|
1257
|
+
Alg B' BL B
|
|
1258
|
+
Alg B' BL2 B
|
|
1259
|
+
Alg B' BL' B
|
|
1260
|
+
Alg DL BL2' U
|
|
1261
|
+
Alg DL BL2' U2
|
|
1262
|
+
Alg DL BL2' U2'
|
|
1263
|
+
Alg DL BL' L
|
|
1264
|
+
Alg DL BL' L2
|
|
1265
|
+
Alg DL BL' L'
|
|
1266
|
+
Alg DL2 L2' F
|
|
1267
|
+
Alg DL2 L2' F2
|
|
1268
|
+
Alg DL2 L2' F2'
|
|
1269
|
+
Alg DL2 L' FL
|
|
1270
|
+
Alg DL2 L' FL2
|
|
1271
|
+
Alg DL2 L' FL'
|
|
1272
|
+
Alg DL2' FL2' FR
|
|
1273
|
+
Alg DL2' FL2' FR2
|
|
1274
|
+
Alg DL2' FL2' FR2'
|
|
1275
|
+
Alg D B D' DR2
|
|
1276
|
+
Alg D B D' DR'
|
|
1277
|
+
Alg D2 B D2' FR2'
|
|
1278
|
+
Alg D' B D DL
|
|
1279
|
+
Alg B2 DR' B2' BR
|
|
1280
|
+
Alg B2 DR' B2' BR'
|
|
1281
|
+
Alg B2' BR2' B2 U
|
|
1282
|
+
Alg DL BL2' U2' F
|
|
1283
|
+
Alg D FL D'
|
|
1284
|
+
Alg D FL2 D'
|
|
1285
|
+
Alg D FL2' D'
|
|
1286
|
+
Alg D FL' D'
|
|
1287
|
+
Alg D2 FR D2'
|
|
1288
|
+
Alg D2 FR2 D2'
|
|
1289
|
+
Alg D2 FR2' D2'
|
|
1290
|
+
Alg D2' DR D2
|
|
1291
|
+
Alg D2' DR2 D2
|
|
1292
|
+
Alg D2' DR2' D2
|
|
1293
|
+
Alg DL2 BL DL2'
|
|
1294
|
+
Alg DL2 BL2 DL2'
|
|
1295
|
+
Alg DL2 BL2' DL2'
|
|
1296
|
+
Alg DL2 BL' DL2'
|
|
1297
|
+
Alg DL2' L2 DL2
|
|
1298
|
+
Alg DL2' L2' DL2
|
|
1299
|
+
Alg DL' FL2 DL
|
|
1300
|
+
Alg DL' FL' DL
|
|
1301
|
+
Alg D FL D' FL2'
|
|
1302
|
+
Alg D FL L D'
|
|
1303
|
+
Alg D FL L2 D'
|
|
1304
|
+
Alg D FL L2' D'
|
|
1305
|
+
Alg D FL2 F D'
|
|
1306
|
+
Alg D FL2 F2 D'
|
|
1307
|
+
Alg D FL2 F2' D'
|
|
1308
|
+
Alg D FL2 L D'
|
|
1309
|
+
Alg D FL2 L2 D'
|
|
1310
|
+
Alg D FL2' D' FR
|
|
1311
|
+
Alg D FL2' D' FR2
|
|
1312
|
+
Alg D FL2' D' FR2'
|
|
1313
|
+
Alg D FL2' F D'
|
|
1314
|
+
Alg D FL2' F2' D'
|
|
1315
|
+
Alg D FL2' FR2' D'
|
|
1316
|
+
Alg D FL2' FR' D'
|
|
1317
|
+
Alg D FL' D' FL
|
|
1318
|
+
Alg D FL' FR D'
|
|
1319
|
+
Alg D2 FR D2' FR2'
|
|
1320
|
+
Alg D2 FR2 R D2'
|
|
1321
|
+
Alg D2 FR2 R2 D2'
|
|
1322
|
+
Alg D2 FR2 R2' D2'
|
|
1323
|
+
Alg D2 FR2' D2' DR
|
|
1324
|
+
Alg D2 FR2' D2' DR2
|
|
1325
|
+
Alg D2 FR2' D2' DR2'
|
|
1326
|
+
Alg D2 FR2' D2' DR'
|
|
1327
|
+
Alg D2 FR2' R2' D2'
|
|
1328
|
+
Alg D2 FR' DR2' D2'
|
|
1329
|
+
Alg D2' DR D2 DR2'
|
|
1330
|
+
Alg D2' DR2 BR D2
|
|
1331
|
+
Alg D2' DR2 BR2' D2
|
|
1332
|
+
Alg D2' DR2' BR2' D2
|
|
1333
|
+
Alg D2' DR2' BR' D2
|
|
1334
|
+
Alg DL2 BL2 DL2' BL'
|
|
1335
|
+
Alg DL2 BL2 DL2' BR'
|
|
1336
|
+
Alg DL2 BL' DL2' L'
|
|
1337
|
+
Alg DL2' L2 DL2 BL2
|
|
1338
|
+
Alg D FL L2 BL2 D'
|
|
1339
|
+
Alg D FL L' FL2' D'
|
|
1340
|
+
Alg D FL2 L FL' D'
|
|
1341
|
+
Alg D FL2' D' FR2 DR2'
|
|
1342
|
+
Alg B DL B'
|
|
1343
|
+
Alg B DL2 B'
|
|
1344
|
+
Alg B DL2' B'
|
|
1345
|
+
Alg B DL' B'
|
|
1346
|
+
Alg B2 D B2'
|
|
1347
|
+
Alg B2 D2 B2'
|
|
1348
|
+
Alg B2 D2' B2'
|
|
1349
|
+
Alg B2 D' B2'
|
|
1350
|
+
Alg B2 DL B2'
|
|
1351
|
+
Alg B2' D' B2
|
|
1352
|
+
Alg B2' DL B2
|
|
1353
|
+
Alg B' D' B
|
|
1354
|
+
Alg B DL B' BL
|
|
1355
|
+
Alg B DL B' BL2
|
|
1356
|
+
Alg B DL B' BL2'
|
|
1357
|
+
Alg B DL B' BL'
|
|
1358
|
+
Alg B DL2 B' BL2
|
|
1359
|
+
Alg B DL2 B' BL2'
|
|
1360
|
+
Alg B DL2 B' BL'
|
|
1361
|
+
Alg B DL2' L2 B'
|
|
1362
|
+
Alg B DL2' L2' B'
|
|
1363
|
+
Alg B DL2' L' B'
|
|
1364
|
+
Alg B DL' FL B'
|
|
1365
|
+
Alg B DL' FL2 B'
|
|
1366
|
+
Alg B DL' FL2' B'
|
|
1367
|
+
Alg B DL' FL' B'
|
|
1368
|
+
Alg B2 D FL B2'
|
|
1369
|
+
Alg B2 D FL2' B2'
|
|
1370
|
+
Alg B2 D FL' B2'
|
|
1371
|
+
Alg B2 D2 FR2 B2'
|
|
1372
|
+
Alg B2 D2 FR2' B2'
|
|
1373
|
+
Alg B2 D2 FR' B2'
|
|
1374
|
+
Alg B2 D2' B2' DR
|
|
1375
|
+
Alg B2 D2' B2' DR2
|
|
1376
|
+
Alg B2 D2' B2' DR2'
|
|
1377
|
+
Alg B2 DL B2' BR
|
|
1378
|
+
Alg B2 DL B2' BR2
|
|
1379
|
+
Alg B2 DL B2' BR2'
|
|
1380
|
+
Alg B2' D' B2 BR2
|
|
1381
|
+
Alg B2' D' B2 BR2'
|
|
1382
|
+
Alg B' D' B DR
|
|
1383
|
+
Alg B' D' B DR2'
|
|
1384
|
+
Alg D FL' D FR D2'
|
|
1385
|
+
Alg D DL FL DL' D'
|
|
1386
|
+
Alg D2' FR DR FR' D2
|
|
1387
|
+
Alg B DL B D B2'
|
|
1388
|
+
Alg B DL B D2' B2'
|
|
1389
|
+
Alg B DL B' BL2 U2
|
|
1390
|
+
Alg B DL B' BL2 U2'
|
|
1391
|
+
Alg B DL B' BL2 U'
|
|
1392
|
+
Alg B DL2 B' BL2' U2
|
|
1393
|
+
Alg B DL2 B' BL2' U2'
|
|
1394
|
+
Alg B DL2 B' BL' L2
|
|
1395
|
+
Alg B DL2' L2' B' F2
|
|
1396
|
+
Alg B2 D FL2' B2' F2'
|
|
1397
|
+
Alg DR
|
|
1398
|
+
Alg DR2
|
|
1399
|
+
Alg DR2'
|
|
1400
|
+
Alg DR'
|
|
1401
|
+
Alg DR2 FR
|
|
1402
|
+
Alg DR2 FR2
|
|
1403
|
+
Alg DR2 FR2'
|
|
1404
|
+
Alg DR2 FR'
|
|
1405
|
+
Alg DR2' R
|
|
1406
|
+
Alg DR2' R2
|
|
1407
|
+
Alg DR2' R2'
|
|
1408
|
+
Alg DR2' R'
|
|
1409
|
+
Alg DR' BR
|
|
1410
|
+
Alg DR' BR2
|
|
1411
|
+
Alg DR' BR2'
|
|
1412
|
+
Alg DR' BR'
|
|
1413
|
+
Alg D DR D'
|
|
1414
|
+
Alg D2 DR D2'
|
|
1415
|
+
Alg B BR B'
|
|
1416
|
+
Alg B BR2' B'
|
|
1417
|
+
Alg B BR' B'
|
|
1418
|
+
Alg B2 BL2 B2'
|
|
1419
|
+
Alg B2 BL2' B2'
|
|
1420
|
+
Alg B2 BL' B2'
|
|
1421
|
+
Alg DR2 FR2 FL2
|
|
1422
|
+
Alg DR2 FR2 FL2'
|
|
1423
|
+
Alg DR2 FR2 FL'
|
|
1424
|
+
Alg DR2 FR2' F
|
|
1425
|
+
Alg DR2 FR2' F2
|
|
1426
|
+
Alg DR2 FR2' F2'
|
|
1427
|
+
Alg DR2 FR' R
|
|
1428
|
+
Alg DR2 FR' R2
|
|
1429
|
+
Alg DR2 FR' R'
|
|
1430
|
+
Alg DR2' R FR
|
|
1431
|
+
Alg DR2' R FR2'
|
|
1432
|
+
Alg DR2' R FR'
|
|
1433
|
+
Alg DR2' R2' U
|
|
1434
|
+
Alg DR2' R2' U2
|
|
1435
|
+
Alg DR2' R2' U2'
|
|
1436
|
+
Alg DR2' R' BR2'
|
|
1437
|
+
Alg DR' BR2' BL'
|
|
1438
|
+
Alg D DR2 FR D'
|
|
1439
|
+
Alg B BR B' DR
|
|
1440
|
+
Alg B BR B' DR2
|
|
1441
|
+
Alg B BR2' B' U2'
|
|
1442
|
+
Alg B BR' B' BL2
|
|
1443
|
+
Alg B BR' B' BL2'
|
|
1444
|
+
Alg B BR' B' BL'
|
|
1445
|
+
Alg B2 BL2' L' B2'
|
|
1446
|
+
Alg DR2 FR2 FL' F
|
|
1447
|
+
Alg DR2 FR2' F FL2'
|
|
1448
|
+
Alg DR2 FR2' F FL'
|
|
1449
|
+
Alg B BR2' U2' L2' B'
|
|
1450
|
+
Alg D2' FL D2
|
|
1451
|
+
Alg D2' FL2 D2
|
|
1452
|
+
Alg D2' FL2' D2
|
|
1453
|
+
Alg D2' FL' D2
|
|
1454
|
+
Alg D' FR2 D
|
|
1455
|
+
Alg D' FR2' D
|
|
1456
|
+
Alg D' FR' D
|
|
1457
|
+
Alg DR FR DR'
|
|
1458
|
+
Alg DR FR2' DR'
|
|
1459
|
+
Alg DR FR' DR'
|
|
1460
|
+
Alg DR2 R2 DR2'
|
|
1461
|
+
Alg DR2 R2' DR2'
|
|
1462
|
+
Alg DR2' BR DR2
|
|
1463
|
+
Alg DR2' BR2 DR2
|
|
1464
|
+
Alg DR2' BR2' DR2
|
|
1465
|
+
Alg D DR2 D' DR2'
|
|
1466
|
+
Alg D DR2' D' DR2
|
|
1467
|
+
Alg D2' FL D2 FR'
|
|
1468
|
+
Alg D2' FL2 D2 FL2'
|
|
1469
|
+
Alg D2' FL2 D2 FL'
|
|
1470
|
+
Alg D2' FL2 L D2
|
|
1471
|
+
Alg D2' FL2 L2 D2
|
|
1472
|
+
Alg D2' FL2 L2' D2
|
|
1473
|
+
Alg D2' FL2 L' D2
|
|
1474
|
+
Alg D2' FL2' F D2
|
|
1475
|
+
Alg D2' FL2' F2 D2
|
|
1476
|
+
Alg D2' FL2' F2' D2
|
|
1477
|
+
Alg D2' FL2' L D2
|
|
1478
|
+
Alg D2' FL2' L2 D2
|
|
1479
|
+
Alg D2' FL2' L2' D2
|
|
1480
|
+
Alg D2' FL2' L' D2
|
|
1481
|
+
Alg D2' FL' F D2
|
|
1482
|
+
Alg D2' FL' F2' D2
|
|
1483
|
+
Alg D' FR FL' D
|
|
1484
|
+
Alg D' FR2 D FR'
|
|
1485
|
+
Alg D' FR2 D FL2
|
|
1486
|
+
Alg D' FR2 D FL2'
|
|
1487
|
+
Alg D' FR2 FL D
|
|
1488
|
+
Alg D' FR2' R2' D
|
|
1489
|
+
Alg D' FR' R2' D
|
|
1490
|
+
Alg DR2 R2 DR2' U2'
|
|
1491
|
+
Alg DR2 R2' DR2' BR
|
|
1492
|
+
Alg DR2 R2' DR2' BR2
|
|
1493
|
+
Alg DR2 R2' DR2' BR2'
|
|
1494
|
+
Alg DR2 R2' DR2' BR'
|
|
1495
|
+
Alg DR2 R' BR2' DR2'
|
|
1496
|
+
Alg DR2' BR DR2 BR2'
|
|
1497
|
+
Alg DR2' BR2 BL DR2
|
|
1498
|
+
Alg DR2' BR2 BL2' DR2
|
|
1499
|
+
Alg DR2' BR2' BL' DR2
|
|
1500
|
+
Alg D B2' BL2' B2 D'
|
|
1501
|
+
Alg D2 B2 DL2 B2' D2'
|
|
1502
|
+
Alg D2' FL2 L' FL2 D2
|
|
1503
|
+
Alg D2' FL2' L D2 FL'
|
|
1504
|
+
Alg D2' FL2' L FL2' D2
|
|
1505
|
+
Alg D2' FL2' L2' BL2 D2
|
|
1506
|
+
Alg B2' DR B2
|
|
1507
|
+
Alg B2' DR2 B2
|
|
1508
|
+
Alg B2' DR2' B2
|
|
1509
|
+
Alg B2' DR' B2
|
|
1510
|
+
Alg B' DR' B
|
|
1511
|
+
Alg B2' DR FR B2
|
|
1512
|
+
Alg B2' DR FR2 B2
|
|
1513
|
+
Alg B2' DR FR2' B2
|
|
1514
|
+
Alg B2' DR FR' B2
|
|
1515
|
+
Alg B2' DR2 R B2
|
|
1516
|
+
Alg B2' DR2 R2 B2
|
|
1517
|
+
Alg B2' DR2 R2' B2
|
|
1518
|
+
Alg B2' DR2 R' B2
|
|
1519
|
+
Alg B2' DR2' B2 BR
|
|
1520
|
+
Alg B2' DR2' B2 BR2
|
|
1521
|
+
Alg B2' DR2' B2 BR2'
|
|
1522
|
+
Alg B2' DR2' B2 BR'
|
|
1523
|
+
Alg B2' DR' B2 BL2
|
|
1524
|
+
Alg B2' DR' B2 BL2'
|
|
1525
|
+
Alg B2' DR' B2 BL'
|
|
1526
|
+
Alg B' DR2' BR' B
|
|
1527
|
+
Alg B' DR' B BR
|
|
1528
|
+
Alg B' DR' B BR2'
|
|
1529
|
+
Alg B' DR' B BR'
|
|
1530
|
+
Alg D2' FR2' FL FR2 D2
|
|
1531
|
+
Alg D2' FR2' FL2 FR2 D2
|
|
1532
|
+
Alg D2' FR2' FL2' FR2 D2
|
|
1533
|
+
Alg D' DR2' FR DR2 D
|
|
1534
|
+
Alg D' DR2' FR2 DR2 D
|
|
1535
|
+
Alg D' DR' FR' DR D
|
|
1536
|
+
Alg D' FR D' FL' D2
|
|
1537
|
+
Alg B2 D2 DL2 D2' B2'
|
|
1538
|
+
Alg B2 D2 DL2' D2' B2'
|
|
1539
|
+
Alg B2 D2 DL' D2' B2'
|
|
1540
|
+
Alg B2 D' FR' D B2'
|
|
1541
|
+
Alg B2 DL D2' DL' B2'
|
|
1542
|
+
Alg B2 DL D' DL' B2'
|
|
1543
|
+
Alg B2' DR FR2' B2 F2
|
|
1544
|
+
Alg B2' DR FR2' B2 F2'
|
|
1545
|
+
Alg B2' DR FR' R B2
|
|
1546
|
+
Alg B2' DR FR' R2 B2
|
|
1547
|
+
Alg B2' DR2 R2' B2 U
|
|
1548
|
+
Alg B2' DR2 R2' B2 U2
|
|
1549
|
+
Alg B2' DR2 R2' B2 U2'
|
|
1550
|
+
Alg B2' DR' B2 BL2 U'
|
|
1551
|
+
Alg B' DR2' BR' B BL2'
|
|
1552
|
+
Alg DR D FR D' DR'
|
|
1553
|
+
Alg DL2' B D B' DL2
|
|
1554
|
+
Alg D2' FR2' FL2' FR2 F D2
|
|
1555
|
+
Alg D' DR2' FR DR2 D FL2'
|
|
1556
|
+
Alg B2 D B D' DR B2
|
|
1557
|
+
Alg FR
|
|
1558
|
+
Alg FR2
|
|
1559
|
+
Alg FR2'
|
|
1560
|
+
Alg FR'
|
|
1561
|
+
Alg FR2 FL
|
|
1562
|
+
Alg FR2 FL2
|
|
1563
|
+
Alg FR2 FL2'
|
|
1564
|
+
Alg FR2 FL'
|
|
1565
|
+
Alg FR2' F
|
|
1566
|
+
Alg FR2' F2
|
|
1567
|
+
Alg FR2' F2'
|
|
1568
|
+
Alg FR2' F'
|
|
1569
|
+
Alg FR' R
|
|
1570
|
+
Alg FR' R2
|
|
1571
|
+
Alg FR' R2'
|
|
1572
|
+
Alg FR' R'
|
|
1573
|
+
Alg D FR D'
|
|
1574
|
+
Alg DR R DR'
|
|
1575
|
+
Alg DR R2' DR'
|
|
1576
|
+
Alg DR R' DR'
|
|
1577
|
+
Alg DR2 BR2 DR2'
|
|
1578
|
+
Alg DR2 BR2' DR2'
|
|
1579
|
+
Alg DR2 BR' DR2'
|
|
1580
|
+
Alg FR2 FL2' L
|
|
1581
|
+
Alg FR2 FL2' L2
|
|
1582
|
+
Alg FR2 FL2' L2'
|
|
1583
|
+
Alg FR2 FL' F
|
|
1584
|
+
Alg FR2 FL' F2
|
|
1585
|
+
Alg FR2 FL' F'
|
|
1586
|
+
Alg FR2' F FL
|
|
1587
|
+
Alg FR2' F FL2'
|
|
1588
|
+
Alg FR2' F FL'
|
|
1589
|
+
Alg FR2' F2' U
|
|
1590
|
+
Alg FR2' F2' U2
|
|
1591
|
+
Alg FR2' F2' U2'
|
|
1592
|
+
Alg FR2' F' R2'
|
|
1593
|
+
Alg FR' R2' BR'
|
|
1594
|
+
Alg DR R DR' FR
|
|
1595
|
+
Alg DR R DR' FR2
|
|
1596
|
+
Alg DR R2' DR' U2'
|
|
1597
|
+
Alg DR R' DR' BR2
|
|
1598
|
+
Alg DR R' DR' BR2'
|
|
1599
|
+
Alg DR R' DR' BR'
|
|
1600
|
+
Alg DR2 BR2' BL2' DR2'
|
|
1601
|
+
Alg DR2 BR2' BL' DR2'
|
|
1602
|
+
Alg FR2 FL' F L2
|
|
1603
|
+
Alg FR2 FL' F L2'
|
|
1604
|
+
Alg B' DR2 BR' DR2' B
|
|
1605
|
+
Alg DR R2' U2' BL2 DR'
|
|
1606
|
+
Alg D' FL D
|
|
1607
|
+
Alg D' FL2 D
|
|
1608
|
+
Alg D' FL2' D
|
|
1609
|
+
Alg D' FL' D
|
|
1610
|
+
Alg FR FL FR'
|
|
1611
|
+
Alg FR FL2 FR'
|
|
1612
|
+
Alg FR FL2' FR'
|
|
1613
|
+
Alg FR FL' FR'
|
|
1614
|
+
Alg FR2 F2 FR2'
|
|
1615
|
+
Alg FR2 F2' FR2'
|
|
1616
|
+
Alg FR2' R FR2
|
|
1617
|
+
Alg FR2' R2 FR2
|
|
1618
|
+
Alg FR2' R2' FR2
|
|
1619
|
+
Alg D FR2 D' FR2'
|
|
1620
|
+
Alg D FR2' D' FR2
|
|
1621
|
+
Alg D' FL D FL'
|
|
1622
|
+
Alg D' FL2 D FL'
|
|
1623
|
+
Alg D' FL2 L D
|
|
1624
|
+
Alg D' FL2 L2 D
|
|
1625
|
+
Alg D' FL2 L2' D
|
|
1626
|
+
Alg D' FL2 L' D
|
|
1627
|
+
Alg D' FL2' F2' D
|
|
1628
|
+
Alg D' FL2' L2 D
|
|
1629
|
+
Alg D' FL2' L2' D
|
|
1630
|
+
Alg D' FL2' L' D
|
|
1631
|
+
Alg D' FL' F2' D
|
|
1632
|
+
Alg FR FL2' F' FR'
|
|
1633
|
+
Alg FR FL2' FR' L
|
|
1634
|
+
Alg FR FL2' FR' L2
|
|
1635
|
+
Alg FR FL2' FR' L2'
|
|
1636
|
+
Alg FR2 F2 FR2' U2
|
|
1637
|
+
Alg FR2 F2 FR2' U2'
|
|
1638
|
+
Alg FR2 F2' FR2' U2'
|
|
1639
|
+
Alg FR2 F2' FR2' R
|
|
1640
|
+
Alg FR2 F2' FR2' R2
|
|
1641
|
+
Alg FR2 F2' FR2' R2'
|
|
1642
|
+
Alg FR2 F2' FR2' R'
|
|
1643
|
+
Alg FR2 F' R2' FR2'
|
|
1644
|
+
Alg FR2' R FR2 R2'
|
|
1645
|
+
Alg FR2' R2 BR FR2
|
|
1646
|
+
Alg FR2' R2 BR2 FR2
|
|
1647
|
+
Alg FR2' R2 BR2' FR2
|
|
1648
|
+
Alg FR2' R2' BR2' FR2
|
|
1649
|
+
Alg FR2' R2' BR' FR2
|
|
1650
|
+
Alg D DR2' BR2' DR2 D'
|
|
1651
|
+
Alg D FR2' D' FR2 FL2
|
|
1652
|
+
Alg D2' B DL B' D2
|
|
1653
|
+
Alg D2' B2' D' B2 D2'
|
|
1654
|
+
Alg D' FL2 L BL D
|
|
1655
|
+
Alg D' FL2 L' FL2 D
|
|
1656
|
+
Alg D' FL2' F2' R' D
|
|
1657
|
+
Alg D' FL2' L FL2' D
|
|
1658
|
+
Alg D' FL2' L2' BL2 D
|
|
1659
|
+
Alg DR2' FR DR2
|
|
1660
|
+
Alg DR2' FR2 DR2
|
|
1661
|
+
Alg DR2' FR2' DR2
|
|
1662
|
+
Alg DR2' FR' DR2
|
|
1663
|
+
Alg DR' FR' DR
|
|
1664
|
+
Alg DR2' FR FL DR2
|
|
1665
|
+
Alg DR2' FR FL2 DR2
|
|
1666
|
+
Alg DR2' FR FL2' DR2
|
|
1667
|
+
Alg DR2' FR FL' DR2
|
|
1668
|
+
Alg DR2' FR2 DR2 F
|
|
1669
|
+
Alg DR2' FR2 DR2 F2
|
|
1670
|
+
Alg DR2' FR2 DR2 F2'
|
|
1671
|
+
Alg DR2' FR2 DR2 F'
|
|
1672
|
+
Alg DR2' FR2' DR2 R
|
|
1673
|
+
Alg DR2' FR2' DR2 R2
|
|
1674
|
+
Alg DR2' FR2' DR2 R2'
|
|
1675
|
+
Alg DR2' FR2' DR2 R'
|
|
1676
|
+
Alg DR2' FR' DR2 BR2
|
|
1677
|
+
Alg DR2' FR' DR2 BR2'
|
|
1678
|
+
Alg DR2' FR' DR2 BR'
|
|
1679
|
+
Alg DR' FR2' R' DR
|
|
1680
|
+
Alg DR' FR' DR R
|
|
1681
|
+
Alg DR' FR' DR R2'
|
|
1682
|
+
Alg DR' FR' DR R'
|
|
1683
|
+
Alg D' FR2' FL FR2 D
|
|
1684
|
+
Alg D' FR2' FL2 FR2 D
|
|
1685
|
+
Alg D' FR' FL' FR D
|
|
1686
|
+
Alg B2' DR2 FR' DR2' B2
|
|
1687
|
+
Alg B' DR2 FR' DR2' B
|
|
1688
|
+
Alg DR2 D' FL' D DR2'
|
|
1689
|
+
Alg DR2' FR FL2' DR2 L
|
|
1690
|
+
Alg DR2' FR FL2' DR2 L2
|
|
1691
|
+
Alg DR2' FR FL2' DR2 L2'
|
|
1692
|
+
Alg DR2' FR FL' DR2 F
|
|
1693
|
+
Alg DR2' FR FL' DR2 F2
|
|
1694
|
+
Alg DR2' FR2 F FL2 DR2
|
|
1695
|
+
Alg DR2' FR2 DR2 F2' U
|
|
1696
|
+
Alg DR2' FR2 DR2 F2' U2
|
|
1697
|
+
Alg DR2' FR2 DR2 F2' U2'
|
|
1698
|
+
Alg DR2' FR' DR2 BR2 U'
|
|
1699
|
+
Alg DR2' FR' DR2 BR2' BL2'
|
|
1700
|
+
Alg DR' FR2' R' DR BR2'
|
|
1701
|
+
Alg D' FR2' FL2 FR2 L D
|
|
1702
|
+
Alg D' FR2' FL2 FR2 L2 D
|
|
1703
|
+
Alg B2' DR2' FR2' R' DR2 B2
|
|
1704
|
+
Alg DR2 D DR D' FR DR2
|
|
1705
|
+
Alg DR2' FR' DR2 BR2 U' BL2
|
|
1706
|
+
Alg FL
|
|
1707
|
+
Alg FL2
|
|
1708
|
+
Alg FL2'
|
|
1709
|
+
Alg FL'
|
|
1710
|
+
Alg FL L
|
|
1711
|
+
Alg FL L2
|
|
1712
|
+
Alg FL L2'
|
|
1713
|
+
Alg FL L'
|
|
1714
|
+
Alg FL2 F
|
|
1715
|
+
Alg FL2 F2
|
|
1716
|
+
Alg FL2 F2'
|
|
1717
|
+
Alg FL2 F'
|
|
1718
|
+
Alg FR2' FL2' FR2
|
|
1719
|
+
Alg FR' FL2' FR
|
|
1720
|
+
Alg FL L2 BL
|
|
1721
|
+
Alg FL L2 BL2
|
|
1722
|
+
Alg FL L2 BL2'
|
|
1723
|
+
Alg FL L2 BL'
|
|
1724
|
+
Alg FL L2' U
|
|
1725
|
+
Alg FL L2' U2
|
|
1726
|
+
Alg FL L2' U2'
|
|
1727
|
+
Alg FL L' F
|
|
1728
|
+
Alg FL L' F2
|
|
1729
|
+
Alg FL L' F'
|
|
1730
|
+
Alg FL2 F L
|
|
1731
|
+
Alg FL2 F L2
|
|
1732
|
+
Alg FL2 F L2'
|
|
1733
|
+
Alg FL2 F L'
|
|
1734
|
+
Alg FL2 F2' R
|
|
1735
|
+
Alg FL2 F2' R2
|
|
1736
|
+
Alg FL2 F2' R2'
|
|
1737
|
+
Alg FR' FL2 F' FR
|
|
1738
|
+
Alg FL L2 BL2' BR
|
|
1739
|
+
Alg FL L2 BL2' BR2
|
|
1740
|
+
Alg FL L2 BL' U
|
|
1741
|
+
Alg FL L2' U BL2
|
|
1742
|
+
Alg FL L2' U BL2'
|
|
1743
|
+
Alg FL L2' U BL'
|
|
1744
|
+
Alg FL L2' U2' R
|
|
1745
|
+
Alg FL L2' U2' R2
|
|
1746
|
+
Alg FL L' F' FL
|
|
1747
|
+
Alg FL L' F' FL2
|
|
1748
|
+
Alg FL L' F' FL2'
|
|
1749
|
+
Alg B DL2' BL DL2 B'
|
|
1750
|
+
Alg FL L2 BL' U BR2'
|
|
1751
|
+
Alg FL2 L FL2'
|
|
1752
|
+
Alg FL2 L2 FL2'
|
|
1753
|
+
Alg FL2 L2' FL2'
|
|
1754
|
+
Alg FL2 L' FL2'
|
|
1755
|
+
Alg FL2' F2 FL2
|
|
1756
|
+
Alg FL2' F2' FL2
|
|
1757
|
+
Alg FL2' F' FL2
|
|
1758
|
+
Alg FR2' FL' FR2 FL
|
|
1759
|
+
Alg FL2 L2 FL2' L2'
|
|
1760
|
+
Alg FL2 L2 FL2' L'
|
|
1761
|
+
Alg FL2 L2 FL2' BL
|
|
1762
|
+
Alg FL2 L2 FL2' BL2
|
|
1763
|
+
Alg FL2 L2 FL2' BL2'
|
|
1764
|
+
Alg FL2 L2 FL2' BL'
|
|
1765
|
+
Alg FL2 L2' FL2' U
|
|
1766
|
+
Alg FL2 L2' FL2' U2
|
|
1767
|
+
Alg FL2 L2' FL2' U2'
|
|
1768
|
+
Alg FL2 L2' FL2' BL
|
|
1769
|
+
Alg FL2 L2' FL2' BL2
|
|
1770
|
+
Alg FL2 L2' FL2' BL2'
|
|
1771
|
+
Alg FL2 L2' FL2' BL'
|
|
1772
|
+
Alg FL2 L' FL2' U
|
|
1773
|
+
Alg FL2 L' FL2' U2'
|
|
1774
|
+
Alg FL2 L' FL2' F
|
|
1775
|
+
Alg FL2 L' FL2' F2
|
|
1776
|
+
Alg FL2 L' FL2' F2'
|
|
1777
|
+
Alg FL2 L' FL2' F'
|
|
1778
|
+
Alg FL2' F L FL2
|
|
1779
|
+
Alg FL2' F L' FL2
|
|
1780
|
+
Alg FL2' F2 L FL2
|
|
1781
|
+
Alg FL2' F2 L2 FL2
|
|
1782
|
+
Alg FL2' F2 L2' FL2
|
|
1783
|
+
Alg FL2' F2 FL2 F'
|
|
1784
|
+
Alg FL2' F2 FL2 L2
|
|
1785
|
+
Alg FL2' F2' R FL2
|
|
1786
|
+
Alg FL2' F2' R2 FL2
|
|
1787
|
+
Alg FL2' F2' R2' FL2
|
|
1788
|
+
Alg FL2' F' R2' FL2
|
|
1789
|
+
Alg FL2' F' R' FL2
|
|
1790
|
+
Alg FL' FR2' FL FR2
|
|
1791
|
+
Alg D DR2' FR2' DR2 D'
|
|
1792
|
+
Alg D FR2' R' FR2 D'
|
|
1793
|
+
Alg D' DL2 BL2 DL2' D
|
|
1794
|
+
Alg B2 D2' B D2 B2
|
|
1795
|
+
Alg DR2 D2 DR D2' DR2
|
|
1796
|
+
Alg FR2 D FR D' FR2
|
|
1797
|
+
Alg FL2 L2 BL' L2 FL2'
|
|
1798
|
+
Alg FL2 L2 FL2' BL2 BR
|
|
1799
|
+
Alg FL2 L2' BL L2' FL2'
|
|
1800
|
+
Alg FL2 L2' FL2' BL L'
|
|
1801
|
+
Alg DL FL DL'
|
|
1802
|
+
Alg DL FL2 DL'
|
|
1803
|
+
Alg DL FL2' DL'
|
|
1804
|
+
Alg DL FL' DL'
|
|
1805
|
+
Alg DL2 FL DL2'
|
|
1806
|
+
Alg DL FL DL' L
|
|
1807
|
+
Alg DL FL DL' L2
|
|
1808
|
+
Alg DL FL DL' L2'
|
|
1809
|
+
Alg DL FL DL' L'
|
|
1810
|
+
Alg DL FL2 L DL'
|
|
1811
|
+
Alg DL FL2 L2 DL'
|
|
1812
|
+
Alg DL FL2 L2' DL'
|
|
1813
|
+
Alg DL FL2 L' DL'
|
|
1814
|
+
Alg DL FL2 DL' L
|
|
1815
|
+
Alg DL FL2' DL' F2
|
|
1816
|
+
Alg DL FL2' DL' F2'
|
|
1817
|
+
Alg DL FL2' DL' F'
|
|
1818
|
+
Alg DL2 FL DL2' BL
|
|
1819
|
+
Alg DL2 FL DL2' BL2
|
|
1820
|
+
Alg DL2 FL DL2' BL2'
|
|
1821
|
+
Alg B DL2' FL DL2 B'
|
|
1822
|
+
Alg B2 DL2' FL DL2 B2'
|
|
1823
|
+
Alg FL2 F2 L' F2' FL2'
|
|
1824
|
+
Alg FL2 F2' L' F2 FL2'
|
|
1825
|
+
Alg FL2 F' L' F FL2'
|
|
1826
|
+
Alg FL2' FR2' FL FR2 FL2
|
|
1827
|
+
Alg FL2' FR' F' FR FL2
|
|
1828
|
+
Alg DL FL DL' L BL2'
|
|
1829
|
+
Alg DL FL DL' L BL'
|
|
1830
|
+
Alg DL FL DL' L2 U2
|
|
1831
|
+
Alg DL FL DL' L2 U2'
|
|
1832
|
+
Alg DL FL2 L2' DL' U2
|
|
1833
|
+
Alg DL FL2 L2' DL' U2'
|
|
1834
|
+
Alg DL FL2 L' DL' F'
|
|
1835
|
+
Alg DL FL2' DL' F2' R2
|
|
1836
|
+
Alg DL FL2' DL' F2' R2'
|
|
1837
|
+
Alg DL2 FL DL2' BL2 BR2
|
|
1838
|
+
Alg B DL2 FL DL2' BL B'
|
|
1839
|
+
Alg FL2 F2' L' F2 R2 FL2'
|
|
1840
|
+
Alg FL2 F2' L' F2 R2' FL2'
|
|
1841
|
+
Alg FL2' FR' F FR L FL2
|
|
1842
|
+
Alg DL FL DL' L BL2' BR2
|
|
1843
|
+
Alg DL FL2 L DL FL' DL2'
|
|
1844
|
+
Alg FR F FR'
|
|
1845
|
+
Alg FR F2 FR'
|
|
1846
|
+
Alg FR F2' FR'
|
|
1847
|
+
Alg FR F' FR'
|
|
1848
|
+
Alg FR2 R FR2'
|
|
1849
|
+
Alg FR2 R2 FR2'
|
|
1850
|
+
Alg FR2 R2' FR2'
|
|
1851
|
+
Alg FR2 R' FR2'
|
|
1852
|
+
Alg FL2' L FL2
|
|
1853
|
+
Alg FL2' L2 FL2
|
|
1854
|
+
Alg FL2' L2' FL2
|
|
1855
|
+
Alg FL' F FL
|
|
1856
|
+
Alg FL' F2 FL
|
|
1857
|
+
Alg FL' F' FL
|
|
1858
|
+
Alg FR F FR' F'
|
|
1859
|
+
Alg FR F2 FR' L
|
|
1860
|
+
Alg FR F2' FR' U
|
|
1861
|
+
Alg FR F2' FR' U2
|
|
1862
|
+
Alg FR F2' FR' U2'
|
|
1863
|
+
Alg FR F' FR' R
|
|
1864
|
+
Alg FR F' FR' R2
|
|
1865
|
+
Alg FR F' FR' R2'
|
|
1866
|
+
Alg FR F' FR' R'
|
|
1867
|
+
Alg FR2 R FR2' F2
|
|
1868
|
+
Alg FR2 R FR2' R'
|
|
1869
|
+
Alg FR2 R2' BR FR2'
|
|
1870
|
+
Alg FR2 R2' BR2 FR2'
|
|
1871
|
+
Alg FR2 R2' BR2' FR2'
|
|
1872
|
+
Alg FR2 R2' BR' FR2'
|
|
1873
|
+
Alg FL2' L2 FL2 BL
|
|
1874
|
+
Alg FL2' L2 FL2 BL2
|
|
1875
|
+
Alg FL2' L2' FL2 U
|
|
1876
|
+
Alg FL' F L2 FL
|
|
1877
|
+
Alg FL' F L2' FL
|
|
1878
|
+
Alg FL' F FL L
|
|
1879
|
+
Alg DR' FR2 R' FR2' DR
|
|
1880
|
+
Alg FR F2' U2' BR FR'
|
|
1881
|
+
Alg FR F2' U2' BR2 FR'
|
|
1882
|
+
Alg FR F' FR R' FR2'
|
|
1883
|
+
Alg FL2' L2' FL2 U BL2
|
|
1884
|
+
Alg FL2' L2' FL2 U BL2'
|
|
1885
|
+
Alg FR F L F' FR'
|
|
1886
|
+
Alg FR F L2 F' FR'
|
|
1887
|
+
Alg FR F L2' F' FR'
|
|
1888
|
+
Alg FR F L' F' FR'
|
|
1889
|
+
Alg FR F2 U F2' FR'
|
|
1890
|
+
Alg FR F2 U2 F2' FR'
|
|
1891
|
+
Alg FR F2 U2' F2' FR'
|
|
1892
|
+
Alg FR F2' R F2 FR'
|
|
1893
|
+
Alg FR F2' R2 F2 FR'
|
|
1894
|
+
Alg FR F2' R2' F2 FR'
|
|
1895
|
+
Alg FR FL' L FL FR'
|
|
1896
|
+
Alg FR FL' L2 FL FR'
|
|
1897
|
+
Alg FR FL' L' FL FR'
|
|
1898
|
+
Alg FR2 F2' L F2 FR2'
|
|
1899
|
+
Alg FR2 F2' L2 F2 FR2'
|
|
1900
|
+
Alg FR2 F' U2 F FR2'
|
|
1901
|
+
Alg FR2 F' U2' F FR2'
|
|
1902
|
+
Alg FR2 R U R' FR2'
|
|
1903
|
+
Alg FR2 R U' R' FR2'
|
|
1904
|
+
Alg FR2 R2 BR2 R2' FR2'
|
|
1905
|
+
Alg FR2 R2 BR2' R2' FR2'
|
|
1906
|
+
Alg FR2' DR BR DR' FR2
|
|
1907
|
+
Alg FR2' R2' U R2 FR2
|
|
1908
|
+
Alg FR2' R2' U2 R2 FR2
|
|
1909
|
+
Alg FR2' R' BR2 R FR2
|
|
1910
|
+
Alg FR2' R' BR2' R FR2
|
|
1911
|
+
Alg FR2' R' BR' R FR2
|
|
1912
|
+
Alg FL2 L BL L' FL2'
|
|
1913
|
+
Alg FL2 L2 U2' L2' FL2'
|
|
1914
|
+
Alg FL2 DL' BL2 DL FL2'
|
|
1915
|
+
Alg FL2' F2 R2' F2' FL2
|
|
1916
|
+
Alg FL2' L2' BL2 L2 FL2
|
|
1917
|
+
Alg FL' F2 L F2' FL
|
|
1918
|
+
Alg FL' F2 L2 F2' FL
|
|
1919
|
+
Alg FL' F' R' F FL
|
|
1920
|
+
Alg FL' FR R' FR' FL
|
|
1921
|
+
Alg FR F L2' F' FR' BL
|
|
1922
|
+
Alg FR F L2' F' FR' BL2
|
|
1923
|
+
Alg FR F L' F' FR' F'
|
|
1924
|
+
Alg FR F2 U2 BR2 F2' FR'
|
|
1925
|
+
Alg FR F2 U2 BR2' F2' FR'
|
|
1926
|
+
Alg FR F2' R F2 R2' FR'
|
|
1927
|
+
Alg FR F2' R2' F2 FR' R'
|
|
1928
|
+
Alg FR FL' L FL FR' F'
|
|
1929
|
+
Alg FR2 F' U2 F FR2' L2'
|
|
1930
|
+
Alg FR F L2 BL' L2 F' FR'
|
|
1931
|
+
Alg FR F L2' F U' F2' FR'
|
|
1932
|
+
Alg R
|
|
1933
|
+
Alg R2
|
|
1934
|
+
Alg R2'
|
|
1935
|
+
Alg R'
|
|
1936
|
+
Alg R2 F
|
|
1937
|
+
Alg R2 F2
|
|
1938
|
+
Alg R2 F2'
|
|
1939
|
+
Alg R2 F'
|
|
1940
|
+
Alg R2' U
|
|
1941
|
+
Alg R2' U2
|
|
1942
|
+
Alg R2' U2'
|
|
1943
|
+
Alg R2' U'
|
|
1944
|
+
Alg R' BR
|
|
1945
|
+
Alg R' BR2
|
|
1946
|
+
Alg R' BR2'
|
|
1947
|
+
Alg R' BR'
|
|
1948
|
+
Alg DR BR DR'
|
|
1949
|
+
Alg DR BR2' DR'
|
|
1950
|
+
Alg DR BR' DR'
|
|
1951
|
+
Alg FR R FR'
|
|
1952
|
+
Alg R2 F2' L
|
|
1953
|
+
Alg R2 F2' L2
|
|
1954
|
+
Alg R2 F2' L2'
|
|
1955
|
+
Alg R2 F' U
|
|
1956
|
+
Alg R2 F' U2
|
|
1957
|
+
Alg R2 F' U'
|
|
1958
|
+
Alg R2' U F
|
|
1959
|
+
Alg R2' U F2'
|
|
1960
|
+
Alg R2' U F'
|
|
1961
|
+
Alg R2' U2' BL
|
|
1962
|
+
Alg R2' U2' BL2
|
|
1963
|
+
Alg R2' U2' BL2'
|
|
1964
|
+
Alg R2' U' BR2'
|
|
1965
|
+
Alg DR BR DR' R
|
|
1966
|
+
Alg DR BR DR' R2
|
|
1967
|
+
Alg DR BR2' BL2' DR'
|
|
1968
|
+
Alg DR BR2' BL' DR'
|
|
1969
|
+
Alg R2 F' U L2
|
|
1970
|
+
Alg R2 F' U L2'
|
|
1971
|
+
Alg FR' F FR
|
|
1972
|
+
Alg FR' F2 FR
|
|
1973
|
+
Alg FR' F2' FR
|
|
1974
|
+
Alg FR' F' FR
|
|
1975
|
+
Alg R F R'
|
|
1976
|
+
Alg R F2 R'
|
|
1977
|
+
Alg R F2' R'
|
|
1978
|
+
Alg R F' R'
|
|
1979
|
+
Alg R2 U2 R2'
|
|
1980
|
+
Alg R2 U2' R2'
|
|
1981
|
+
Alg R2' BR R2
|
|
1982
|
+
Alg R2' BR2 R2
|
|
1983
|
+
Alg R2' BR2' R2
|
|
1984
|
+
Alg FR R2 FR' R2'
|
|
1985
|
+
Alg FR R2' FR' R2
|
|
1986
|
+
Alg FR' F FR F'
|
|
1987
|
+
Alg FR' F2 FR F'
|
|
1988
|
+
Alg FR' F2 FR L
|
|
1989
|
+
Alg FR' F2 FR L2
|
|
1990
|
+
Alg FR' F2 FR L2'
|
|
1991
|
+
Alg FR' F2 FR L'
|
|
1992
|
+
Alg FR' F2' FR U2'
|
|
1993
|
+
Alg FR' F2' FR L2
|
|
1994
|
+
Alg FR' F2' FR L2'
|
|
1995
|
+
Alg FR' F2' FR L'
|
|
1996
|
+
Alg FR' F' FR U2'
|
|
1997
|
+
Alg R F2' U' R'
|
|
1998
|
+
Alg R F2' R' L
|
|
1999
|
+
Alg R F2' R' L2
|
|
2000
|
+
Alg R F2' R' L2'
|
|
2001
|
+
Alg R2 U2 R2' BL2
|
|
2002
|
+
Alg R2 U2 R2' BL2'
|
|
2003
|
+
Alg R2 U2' BR R2'
|
|
2004
|
+
Alg R2 U2' BR2 R2'
|
|
2005
|
+
Alg R2 U2' R2' BL2'
|
|
2006
|
+
Alg R2 U2' R2' BR2'
|
|
2007
|
+
Alg R2 U2' R2' BR'
|
|
2008
|
+
Alg R2 U' BR2' R2'
|
|
2009
|
+
Alg R2' BR R2 BR2'
|
|
2010
|
+
Alg DR BR2 BL2' BR2' DR'
|
|
2011
|
+
Alg FR R2' FR' R2 F2
|
|
2012
|
+
Alg FR' F2 L' F2 FR
|
|
2013
|
+
Alg FR' F2' U2' BR' FR
|
|
2014
|
+
Alg FR' F2' L F2' FR
|
|
2015
|
+
Alg DR' R DR
|
|
2016
|
+
Alg DR' R2 DR
|
|
2017
|
+
Alg DR' R2' DR
|
|
2018
|
+
Alg DR' R' DR
|
|
2019
|
+
Alg DR' R DR F
|
|
2020
|
+
Alg DR' R DR F2
|
|
2021
|
+
Alg DR' R DR F2'
|
|
2022
|
+
Alg DR' R DR F'
|
|
2023
|
+
Alg DR' R2 DR U
|
|
2024
|
+
Alg DR' R2 DR U2
|
|
2025
|
+
Alg DR' R2 DR U2'
|
|
2026
|
+
Alg DR' R2 DR U'
|
|
2027
|
+
Alg DR' R2' DR BR
|
|
2028
|
+
Alg DR' R2' DR BR2
|
|
2029
|
+
Alg DR' R2' DR BR2'
|
|
2030
|
+
Alg DR' R2' DR BR'
|
|
2031
|
+
Alg DR' R' DR BR
|
|
2032
|
+
Alg DR' R' DR BR2'
|
|
2033
|
+
Alg DR' R' DR BR'
|
|
2034
|
+
Alg B2' DR2' R' DR2 B2
|
|
2035
|
+
Alg DR2' FR' F FR DR2
|
|
2036
|
+
Alg DR2' FR' F2 FR DR2
|
|
2037
|
+
Alg DR2' FR' F' FR DR2
|
|
2038
|
+
Alg DR' R DR F2' L
|
|
2039
|
+
Alg DR' R DR F2' L2
|
|
2040
|
+
Alg DR' R DR F2' L2'
|
|
2041
|
+
Alg DR' R DR F' U
|
|
2042
|
+
Alg DR' R DR F' U2
|
|
2043
|
+
Alg DR' R DR F' U'
|
|
2044
|
+
Alg DR' R2 U2' BL DR
|
|
2045
|
+
Alg DR' R2 U2' BL2 DR
|
|
2046
|
+
Alg DR' R2 U2' BL2' DR
|
|
2047
|
+
Alg DR' R2 DR U F2
|
|
2048
|
+
Alg DR' R' DR BR2' BL2'
|
|
2049
|
+
Alg DR2' FR' F2 FR DR2 L
|
|
2050
|
+
Alg DR2' FR' F2 FR DR2 L2
|
|
2051
|
+
Alg DR' FR' F' FR R' DR
|
|
2052
|
+
Alg BR
|
|
2053
|
+
Alg BR2
|
|
2054
|
+
Alg BR2'
|
|
2055
|
+
Alg BR'
|
|
2056
|
+
Alg BR2' U
|
|
2057
|
+
Alg BR2' U2
|
|
2058
|
+
Alg BR2' U2'
|
|
2059
|
+
Alg BR2' U'
|
|
2060
|
+
Alg BR' BL
|
|
2061
|
+
Alg BR' BL2
|
|
2062
|
+
Alg BR' BL2'
|
|
2063
|
+
Alg BR' BL'
|
|
2064
|
+
Alg B BL B'
|
|
2065
|
+
Alg B BL2' B'
|
|
2066
|
+
Alg B BL' B'
|
|
2067
|
+
Alg BR2' U2 F
|
|
2068
|
+
Alg BR2' U2 F2
|
|
2069
|
+
Alg BR2' U2 F2'
|
|
2070
|
+
Alg BR2' U2 F'
|
|
2071
|
+
Alg BR2' U2' L
|
|
2072
|
+
Alg BR2' U2' L2
|
|
2073
|
+
Alg BR2' U2' L2'
|
|
2074
|
+
Alg BR2' U' BL2'
|
|
2075
|
+
Alg BR' BL U
|
|
2076
|
+
Alg BR' BL U2
|
|
2077
|
+
Alg BR' BL U2'
|
|
2078
|
+
Alg BR' BL U'
|
|
2079
|
+
Alg B BL B' BR
|
|
2080
|
+
Alg B BL B' BR2
|
|
2081
|
+
Alg B BL B' BR2'
|
|
2082
|
+
Alg B BL2' L2' B'
|
|
2083
|
+
Alg B BL2' L' B'
|
|
2084
|
+
Alg BR2' U2' L F2
|
|
2085
|
+
Alg BR2' U2' L F2'
|
|
2086
|
+
Alg BR2' U2' L F'
|
|
2087
|
+
Alg BR2 U BR2'
|
|
2088
|
+
Alg BR2 U2 BR2'
|
|
2089
|
+
Alg BR2 U2' BR2'
|
|
2090
|
+
Alg BR2 U' BR2'
|
|
2091
|
+
Alg BR2' BL BR2
|
|
2092
|
+
Alg BR2' BL2 BR2
|
|
2093
|
+
Alg BR2' BL2' BR2
|
|
2094
|
+
Alg BR R BR' R'
|
|
2095
|
+
Alg BR2 U BR2' U2'
|
|
2096
|
+
Alg BR2 U BR2' U'
|
|
2097
|
+
Alg BR2 U BR2' F
|
|
2098
|
+
Alg BR2 U BR2' F2
|
|
2099
|
+
Alg BR2 U BR2' F2'
|
|
2100
|
+
Alg BR2 U BR2' F'
|
|
2101
|
+
Alg BR2 U2 BR2' F
|
|
2102
|
+
Alg BR2 U2 BR2' F2
|
|
2103
|
+
Alg BR2 U2 BR2' F2'
|
|
2104
|
+
Alg BR2 U2 BR2' F'
|
|
2105
|
+
Alg BR2 U2 BR2' L
|
|
2106
|
+
Alg BR2 U2 BR2' L2
|
|
2107
|
+
Alg BR2 U2 BR2' L2'
|
|
2108
|
+
Alg BR2 U2' BL BR2'
|
|
2109
|
+
Alg BR2 U2' BL2 BR2'
|
|
2110
|
+
Alg BR2 U2' BL' BR2'
|
|
2111
|
+
Alg BR2 U2' BR2' L
|
|
2112
|
+
Alg BR2 U2' BR2' L2'
|
|
2113
|
+
Alg BR2 U2' BR2' BL2'
|
|
2114
|
+
Alg BR2 U2' BR2' BL'
|
|
2115
|
+
Alg BR2 U' BL BR2'
|
|
2116
|
+
Alg BR2 U' BL2' BR2'
|
|
2117
|
+
Alg BR2 U' BL' BR2'
|
|
2118
|
+
Alg BR2' BL BR2 U2
|
|
2119
|
+
Alg BR2' BL BR2 U2'
|
|
2120
|
+
Alg BR2' BL BR2 BL2'
|
|
2121
|
+
Alg BR2' BL BR2 BL'
|
|
2122
|
+
Alg B BL2 L2' BL2' B'
|
|
2123
|
+
Alg DR' R2 F R2' DR
|
|
2124
|
+
Alg BR2 U F' U2' BR2'
|
|
2125
|
+
Alg BR2 U BR2' U2' BL'
|
|
2126
|
+
Alg BR2 U2 F U' BR2'
|
|
2127
|
+
Alg BR2 U2 BR2' L F2'
|
|
2128
|
+
Alg B' BR B
|
|
2129
|
+
Alg B' BR2 B
|
|
2130
|
+
Alg B' BR2' B
|
|
2131
|
+
Alg B' BR' B
|
|
2132
|
+
Alg B' BR2 B U
|
|
2133
|
+
Alg B' BR2 B U2
|
|
2134
|
+
Alg B' BR2 B U2'
|
|
2135
|
+
Alg B' BR2 B U'
|
|
2136
|
+
Alg B' BR2' B BL
|
|
2137
|
+
Alg B' BR2' B BL2
|
|
2138
|
+
Alg B' BR2' B BL2'
|
|
2139
|
+
Alg B' BR2' B BL'
|
|
2140
|
+
Alg B' BR' B BL
|
|
2141
|
+
Alg B' BR' B BL2'
|
|
2142
|
+
Alg B' BR' B BL'
|
|
2143
|
+
Alg B' BR2 U2' L B
|
|
2144
|
+
Alg B' BR2 U2' L2 B
|
|
2145
|
+
Alg B' BR2 U2' L2' B
|
|
2146
|
+
Alg B' BR2 B U2 F
|
|
2147
|
+
Alg B' BR2 B U2 F2
|
|
2148
|
+
Alg B' BR2 B U2 F2'
|
|
2149
|
+
Alg B' BR2 B U2 F'
|
|
2150
|
+
Alg B' BR2' B BL U
|
|
2151
|
+
Alg B' BR2' B BL U2
|
|
2152
|
+
Alg B' BR2' B BL U2'
|
|
2153
|
+
Alg B' BR2' B BL U'
|
|
2154
|
+
Alg B' BR' B BL2' L2'
|
|
2155
|
+
Alg B' BR' B BL2' L'
|
|
2156
|
+
Alg BR2 R U R' BR2'
|
|
2157
|
+
Alg B' BR2 U2' L B F2'
|
|
2158
|
+
Alg B' BR2 U2' L B F'
|
|
2159
|
+
Alg B' BR' B BR2 BL BR2'
|
|
2160
|
+
Alg B' BR2 U R BR' R' B
|
|
2161
|
+
Alg BR U BR'
|
|
2162
|
+
Alg BR U2 BR'
|
|
2163
|
+
Alg BR U2' BR'
|
|
2164
|
+
Alg BR U' BR'
|
|
2165
|
+
Alg BR2 BL BR2'
|
|
2166
|
+
Alg BR2 BL2 BR2'
|
|
2167
|
+
Alg BR2 BL2' BR2'
|
|
2168
|
+
Alg BR2 BL' BR2'
|
|
2169
|
+
Alg R2' F R2
|
|
2170
|
+
Alg R2' F2 R2
|
|
2171
|
+
Alg R2' F2' R2
|
|
2172
|
+
Alg R' U R
|
|
2173
|
+
Alg R' U2 R
|
|
2174
|
+
Alg R' U' R
|
|
2175
|
+
Alg BR U BR' U'
|
|
2176
|
+
Alg BR U2 BR' F
|
|
2177
|
+
Alg BR U2' BR' L
|
|
2178
|
+
Alg BR U2' BR' L2
|
|
2179
|
+
Alg BR U2' BR' L2'
|
|
2180
|
+
Alg BR U' BL BR'
|
|
2181
|
+
Alg BR U' BL2 BR'
|
|
2182
|
+
Alg BR U' BL2' BR'
|
|
2183
|
+
Alg BR U' BR' BL'
|
|
2184
|
+
Alg BR2 BL BR2' U2
|
|
2185
|
+
Alg BR2 BL BR2' BL'
|
|
2186
|
+
Alg R2' F2' R2 L
|
|
2187
|
+
Alg R2' F2' R2 L2
|
|
2188
|
+
Alg R' U F2 R
|
|
2189
|
+
Alg R' U F2' R
|
|
2190
|
+
Alg R' U R F
|
|
2191
|
+
Alg BR U' BR BL' BR2'
|
|
2192
|
+
Alg BR U F U' BR'
|
|
2193
|
+
Alg BR U F2 U' BR'
|
|
2194
|
+
Alg BR U F2' U' BR'
|
|
2195
|
+
Alg BR U F' U' BR'
|
|
2196
|
+
Alg BR U2 L U2' BR'
|
|
2197
|
+
Alg BR U2 L2 U2' BR'
|
|
2198
|
+
Alg BR U2 L2' U2' BR'
|
|
2199
|
+
Alg BR U2' BL U2 BR'
|
|
2200
|
+
Alg BR U2' BL2 U2 BR'
|
|
2201
|
+
Alg BR U2' BL2' U2 BR'
|
|
2202
|
+
Alg BR R' F R BR'
|
|
2203
|
+
Alg BR R' F2 R BR'
|
|
2204
|
+
Alg BR R' F' R BR'
|
|
2205
|
+
Alg BR2 U2' F U2 BR2'
|
|
2206
|
+
Alg BR2 U2' F2 U2 BR2'
|
|
2207
|
+
Alg BR2 U' L2 U BR2'
|
|
2208
|
+
Alg BR2 U' L2' U BR2'
|
|
2209
|
+
Alg BR2 BL L BL' BR2'
|
|
2210
|
+
Alg BR2 BL L' BL' BR2'
|
|
2211
|
+
Alg BR2' BL2' L BL2 BR2
|
|
2212
|
+
Alg BR2' BL2' L2 BL2 BR2
|
|
2213
|
+
Alg R2 F2 L F2' R2'
|
|
2214
|
+
Alg R2 F2 L2 F2' R2'
|
|
2215
|
+
Alg R2 F2 L2' F2' R2'
|
|
2216
|
+
Alg R2' U2 BL2' U2' R2
|
|
2217
|
+
Alg R' U2 F U2' R
|
|
2218
|
+
Alg R' U2 F2 U2' R
|
|
2219
|
+
Alg R' U' BL' U R
|
|
2220
|
+
Alg R' BR BL' BR' R
|
|
2221
|
+
Alg BR U F' U' BR' U'
|
|
2222
|
+
Alg BR U2 L' BL2 U2' BR'
|
|
2223
|
+
Alg BR U2' BL U2 BL2' BR'
|
|
2224
|
+
Alg BR U2' BL2' U2 BR' BL'
|
|
2225
|
+
Alg BR R' F R BR' U'
|
|
2226
|
+
Alg BR2 U' L2 U BR2' F2'
|
|
2227
|
+
Alg BR2 U' L2 U BR2' F'
|
|
2228
|
+
Alg BR U F2' U L' U2' BR'
|
|
2229
|
+
Alg BR U F2' L' F U' BR'
|
|
2230
|
+
Alg F
|
|
2231
|
+
Alg F2
|
|
2232
|
+
Alg F2'
|
|
2233
|
+
Alg F'
|
|
2234
|
+
Alg F L
|
|
2235
|
+
Alg F L2
|
|
2236
|
+
Alg F L2'
|
|
2237
|
+
Alg F L'
|
|
2238
|
+
Alg F2 U
|
|
2239
|
+
Alg F2 U2
|
|
2240
|
+
Alg F2 U2'
|
|
2241
|
+
Alg F2 U'
|
|
2242
|
+
Alg F L2' BL
|
|
2243
|
+
Alg F L2' BL2
|
|
2244
|
+
Alg F L2' BL2'
|
|
2245
|
+
Alg F L' U
|
|
2246
|
+
Alg F L' U2
|
|
2247
|
+
Alg F L' U2'
|
|
2248
|
+
Alg F L' U'
|
|
2249
|
+
Alg F2 U L
|
|
2250
|
+
Alg F2 U L2
|
|
2251
|
+
Alg F2 U L2'
|
|
2252
|
+
Alg F2 U L'
|
|
2253
|
+
Alg F L' U BL2
|
|
2254
|
+
Alg F L' U BL2'
|
|
2255
|
+
Alg F L' U BL'
|
|
2256
|
+
Alg F L' U' F
|
|
2257
|
+
Alg F L' U' F2
|
|
2258
|
+
Alg F L' U' F2'
|
|
2259
|
+
Alg F2 L F2'
|
|
2260
|
+
Alg F2 L2 F2'
|
|
2261
|
+
Alg F2 L2' F2'
|
|
2262
|
+
Alg F2 L' F2'
|
|
2263
|
+
Alg F2' U2 F2
|
|
2264
|
+
Alg F2' U2' F2
|
|
2265
|
+
Alg F2' U' F2
|
|
2266
|
+
Alg F2 L2 F2' L2'
|
|
2267
|
+
Alg F2 L2 F2' L'
|
|
2268
|
+
Alg F2 L2' BL F2'
|
|
2269
|
+
Alg F2 L2' BL2 F2'
|
|
2270
|
+
Alg F2 L2' BL2' F2'
|
|
2271
|
+
Alg F2 L' F2' U
|
|
2272
|
+
Alg F2 L' F2' U2
|
|
2273
|
+
Alg F2 L' F2' U2'
|
|
2274
|
+
Alg F2 L' F2' U'
|
|
2275
|
+
Alg F2 L' BL F2'
|
|
2276
|
+
Alg F2 L' BL2 F2'
|
|
2277
|
+
Alg F2 L' BL2' F2'
|
|
2278
|
+
Alg F2' U L F2
|
|
2279
|
+
Alg F2' U L2 F2
|
|
2280
|
+
Alg F2' U L' F2
|
|
2281
|
+
Alg F2' U2 F2 U2'
|
|
2282
|
+
Alg F2' U2 F2 U'
|
|
2283
|
+
Alg F2' U2 F2 L2
|
|
2284
|
+
Alg F2' U2 F2 L2'
|
|
2285
|
+
Alg F2' U2 F2 L'
|
|
2286
|
+
Alg F2' U2 L F2
|
|
2287
|
+
Alg F' R' F R
|
|
2288
|
+
Alg F L2 BL L2' F'
|
|
2289
|
+
Alg F L2 BL2 L2' F'
|
|
2290
|
+
Alg F2 L2 F2' L2' U2'
|
|
2291
|
+
Alg F2 L2' BL' L F2'
|
|
2292
|
+
Alg F2 L' F U2' F2
|
|
2293
|
+
Alg F2 L' F' U' F'
|
|
2294
|
+
Alg FL F FL'
|
|
2295
|
+
Alg FL F2 FL'
|
|
2296
|
+
Alg FL F2' FL'
|
|
2297
|
+
Alg FL F' FL'
|
|
2298
|
+
Alg FL F FL' L
|
|
2299
|
+
Alg FL F FL' L2
|
|
2300
|
+
Alg FL F FL' L2'
|
|
2301
|
+
Alg FL F FL' L'
|
|
2302
|
+
Alg FL F2 FL' L
|
|
2303
|
+
Alg FL F2 FL' L2
|
|
2304
|
+
Alg FL F2 FL' L2'
|
|
2305
|
+
Alg FL F2 FL' L'
|
|
2306
|
+
Alg FL F2' FL' U2
|
|
2307
|
+
Alg FL F2' FL' U2'
|
|
2308
|
+
Alg FL F2' FL' U'
|
|
2309
|
+
Alg F2 U2 L' U2' F2'
|
|
2310
|
+
Alg F2 U2' L' U2 F2'
|
|
2311
|
+
Alg F2 U' L' U F2'
|
|
2312
|
+
Alg FL F FL' L2 BL
|
|
2313
|
+
Alg FL F FL' L2 BL2
|
|
2314
|
+
Alg FL F FL' L2 BL2'
|
|
2315
|
+
Alg FL F2 FL' L2' BL
|
|
2316
|
+
Alg FL F2 FL' L2' BL2
|
|
2317
|
+
Alg FL F2 FL' L2' BL2'
|
|
2318
|
+
Alg FL F2 FL' L' U'
|
|
2319
|
+
Alg FL F FL' F2' L' F2
|
|
2320
|
+
Alg F2 U F U L U2' F2'
|
|
2321
|
+
Alg F2' L F2
|
|
2322
|
+
Alg F2' L2 F2
|
|
2323
|
+
Alg F2' L2' F2
|
|
2324
|
+
Alg F2' L' F2
|
|
2325
|
+
Alg F' U F
|
|
2326
|
+
Alg F' U2 F
|
|
2327
|
+
Alg F' U2' F
|
|
2328
|
+
Alg F' U' F
|
|
2329
|
+
Alg R U R'
|
|
2330
|
+
Alg R U2' R'
|
|
2331
|
+
Alg R U' R'
|
|
2332
|
+
Alg F R' F' R
|
|
2333
|
+
Alg F2' L F2 L'
|
|
2334
|
+
Alg F2' L2' BL F2
|
|
2335
|
+
Alg F2' L2' BL2 F2
|
|
2336
|
+
Alg F2' L2' BL2' F2
|
|
2337
|
+
Alg F' U F U'
|
|
2338
|
+
Alg F' U F L
|
|
2339
|
+
Alg F' U F L2
|
|
2340
|
+
Alg F' U F L2'
|
|
2341
|
+
Alg F' U F L'
|
|
2342
|
+
Alg R U2' R' BL2
|
|
2343
|
+
Alg R U2' R' BL2'
|
|
2344
|
+
Alg R U2' R' BL'
|
|
2345
|
+
Alg F2' L' F U' F
|
|
2346
|
+
Alg F2 L2 BL L2' F2'
|
|
2347
|
+
Alg F2 L2 BL2 L2' F2'
|
|
2348
|
+
Alg F2 L2 BL2' L2' F2'
|
|
2349
|
+
Alg F2 L2 BL' L2' F2'
|
|
2350
|
+
Alg F2' U BL U' F2
|
|
2351
|
+
Alg F2' U BL' U' F2
|
|
2352
|
+
Alg F2' L' BL L F2
|
|
2353
|
+
Alg F2' L' BL2 L F2
|
|
2354
|
+
Alg F2' L' BL2' L F2
|
|
2355
|
+
Alg F2' L' BL' L F2
|
|
2356
|
+
Alg F' U2 L U2' F
|
|
2357
|
+
Alg F' U2 L2 U2' F
|
|
2358
|
+
Alg F' U2 L2' U2' F
|
|
2359
|
+
Alg F' U2' BL2 U2 F
|
|
2360
|
+
Alg R U L U' R'
|
|
2361
|
+
Alg R U L' U' R'
|
|
2362
|
+
Alg R F' L F R'
|
|
2363
|
+
Alg R2 U2' L2 U2 R2'
|
|
2364
|
+
Alg R2 U' BL2 U R2'
|
|
2365
|
+
Alg R2 U' BL2' U R2'
|
|
2366
|
+
Alg R2 U' BL' U R2'
|
|
2367
|
+
Alg R2 BR BL' BR' R2'
|
|
2368
|
+
Alg F2 L2 BL2' L2' F2' U2
|
|
2369
|
+
Alg F2' U BL U' F2 L
|
|
2370
|
+
Alg F2' U BL' U' F2 L2
|
|
2371
|
+
Alg F2' U BL' U' F2 L2'
|
|
2372
|
+
Alg F2' L' BL L F2 U2
|
|
2373
|
+
Alg F2' L' BL L F2 U2'
|
|
2374
|
+
Alg F2' L' BL' L F2 U
|
|
2375
|
+
Alg F2' L' BL' L F2 U2
|
|
2376
|
+
Alg F' U2 L' U BL2' U2 F
|
|
2377
|
+
Alg F' U2' BL L' BL2' U2 F
|
|
2378
|
+
Alg U
|
|
2379
|
+
Alg U2
|
|
2380
|
+
Alg U2'
|
|
2381
|
+
Alg U'
|
|
2382
|
+
Alg U L
|
|
2383
|
+
Alg U L2
|
|
2384
|
+
Alg U L2'
|
|
2385
|
+
Alg U L'
|
|
2386
|
+
Alg U2 BL
|
|
2387
|
+
Alg U2 BL2
|
|
2388
|
+
Alg U2 BL2'
|
|
2389
|
+
Alg U2 BL'
|
|
2390
|
+
Alg U L' BL
|
|
2391
|
+
Alg U L' BL2
|
|
2392
|
+
Alg U L' BL2'
|
|
2393
|
+
Alg U L' BL'
|
|
2394
|
+
Alg U2 BL L
|
|
2395
|
+
Alg U2 BL L2
|
|
2396
|
+
Alg U2 BL L2'
|
|
2397
|
+
Alg U2 BL L'
|
|
2398
|
+
Alg U F' L F
|
|
2399
|
+
Alg U L' BL' U
|
|
2400
|
+
Alg U L' BL' U2
|
|
2401
|
+
Alg U2 L U2'
|
|
2402
|
+
Alg U2 L2 U2'
|
|
2403
|
+
Alg U2 L2' U2'
|
|
2404
|
+
Alg U2 L' U2'
|
|
2405
|
+
Alg U2' BL2 U2
|
|
2406
|
+
Alg U2' BL2' U2
|
|
2407
|
+
Alg U2' BL' U2
|
|
2408
|
+
Alg U2 L2 U2' L2'
|
|
2409
|
+
Alg U2 L2 U2' L'
|
|
2410
|
+
Alg U2 L' U2' BL
|
|
2411
|
+
Alg U2 L' U2' BL2
|
|
2412
|
+
Alg U2 L' U2' BL2'
|
|
2413
|
+
Alg U2 L' U2' BL'
|
|
2414
|
+
Alg U2' BL L U2
|
|
2415
|
+
Alg U2' BL L2 U2
|
|
2416
|
+
Alg U2' BL L2' U2
|
|
2417
|
+
Alg U2' BL L' U2
|
|
2418
|
+
Alg U2' BL2 U2 L2
|
|
2419
|
+
Alg U2' BL2 U2 L2'
|
|
2420
|
+
Alg U2' BL2 U2 L'
|
|
2421
|
+
Alg U2' BL2 U2 BL2'
|
|
2422
|
+
Alg U2' BL2 U2 BL'
|
|
2423
|
+
Alg U2' BL2 L U2
|
|
2424
|
+
Alg U' BR' U BR
|
|
2425
|
+
Alg U2 L' U BL2' U2
|
|
2426
|
+
Alg U2 L2' U2' L2 BL2
|
|
2427
|
+
Alg U2 L2' U2' L2 BL2'
|
|
2428
|
+
Alg U2 L' U' BL' U'
|
|
2429
|
+
Alg U2' BL2 U' L U2'
|
|
2430
|
+
Alg F U F'
|
|
2431
|
+
Alg F U2 F'
|
|
2432
|
+
Alg F U2' F'
|
|
2433
|
+
Alg F U' F'
|
|
2434
|
+
Alg F U F' L
|
|
2435
|
+
Alg F U F' L2
|
|
2436
|
+
Alg F U F' L2'
|
|
2437
|
+
Alg F U F' L'
|
|
2438
|
+
Alg F U2 F' L
|
|
2439
|
+
Alg F U2 F' L2
|
|
2440
|
+
Alg F U2 F' L2'
|
|
2441
|
+
Alg F U2 F' L'
|
|
2442
|
+
Alg F U2' BL2 F'
|
|
2443
|
+
Alg F U2' BL2' F'
|
|
2444
|
+
Alg F U2' BL' F'
|
|
2445
|
+
Alg U2 BL2 L' BL2' U2'
|
|
2446
|
+
Alg U2 BL' L' BL U2'
|
|
2447
|
+
Alg U2 BL2' L' BL2 U2'
|
|
2448
|
+
Alg F U2 F' L' BL'
|
|
2449
|
+
Alg F U F' U2' L' U2
|
|
2450
|
+
Alg U2 L U2 L2' U' BL' U2
|
|
2451
|
+
Alg U2' L U2
|
|
2452
|
+
Alg U2' L2 U2
|
|
2453
|
+
Alg U2' L2' U2
|
|
2454
|
+
Alg U2' L' U2
|
|
2455
|
+
Alg U' BL U
|
|
2456
|
+
Alg U' BL2 U
|
|
2457
|
+
Alg U' BL2' U
|
|
2458
|
+
Alg U' BL' U
|
|
2459
|
+
Alg BR BL BR'
|
|
2460
|
+
Alg BR BL2' BR'
|
|
2461
|
+
Alg BR BL' BR'
|
|
2462
|
+
Alg U BR' U' BR
|
|
2463
|
+
Alg U2' L U2 L'
|
|
2464
|
+
Alg U' BL U L
|
|
2465
|
+
Alg U' BL U L2
|
|
2466
|
+
Alg U' BL U L2'
|
|
2467
|
+
Alg U' BL U L'
|
|
2468
|
+
Alg U' BL U BL'
|
|
2469
|
+
Alg U2' L' U BL' U
|
|
2470
|
+
Alg U' BL2 L BL2' U
|
|
2471
|
+
Alg U' BL2 L2 BL2' U
|
|
2472
|
+
Alg U' BL2 L2' BL2' U
|
|
2473
|
+
Alg U' BL2 L' BL2' U
|
|
2474
|
+
Alg BR U' L U BR'
|
|
2475
|
+
Alg BR U' L2 U BR'
|
|
2476
|
+
Alg BR U' L2' U BR'
|
|
2477
|
+
Alg BR U' L' U BR'
|
|
2478
|
+
Alg BR BL L BL' BR'
|
|
2479
|
+
Alg BR BL L' BL' BR'
|
|
2480
|
+
Alg BR2 BL2' L BL2 BR2'
|
|
2481
|
+
Alg BR2 BL2' L2 BL2 BR2'
|
|
2482
|
+
Alg U2' L BL2' L' BL2 U2
|
|
2483
|
+
Alg U2' L2 F' L2' F U2
|
|
2484
|
+
Alg U2' L' DL L DL' U2
|
|
2485
|
+
Alg U2' BL2' L BL2 L' U2
|
|
2486
|
+
Alg U2' BL2' L2 BL2 L2' U2
|
|
2487
|
+
Alg U' BL2 L BL2' U BL
|
|
2488
|
+
Alg U' BL2 L2 BL2' U L
|
|
2489
|
+
Alg U' BL2 L2 BL2' U BL2'
|
|
2490
|
+
Alg U' BL2 L2 BL2' U BL'
|
|
2491
|
+
Alg U' BL2 L2 BL2' L2' U
|
|
2492
|
+
Alg BR BL L' BL' BR' BL2'
|
|
2493
|
+
Alg BR BL L' BL' BR' BL'
|
|
2494
|
+
Alg U' BL U BL U' L2' BL2' U
|
|
2495
|
+
Alg U' BL2 U' L2 U L' BL2' U
|
|
2496
|
+
Alg L
|
|
2497
|
+
Alg L2
|
|
2498
|
+
Alg L2'
|
|
2499
|
+
Alg L'
|
|
2500
|
+
Alg L' BL
|
|
2501
|
+
Alg L' BL2
|
|
2502
|
+
Alg L' BL2'
|
|
2503
|
+
Alg L' BL'
|
|
2504
|
+
Alg U BL U'
|
|
2505
|
+
Alg U BL2 U'
|
|
2506
|
+
Alg U BL2' U'
|
|
2507
|
+
Alg U BL' U'
|
|
2508
|
+
Alg U BL U' L
|
|
2509
|
+
Alg U BL U' L2
|
|
2510
|
+
Alg U BL U' L2'
|
|
2511
|
+
Alg U BL U' L'
|
|
2512
|
+
Alg U BL U' BL'
|
|
2513
|
+
Alg L2' BL L2
|
|
2514
|
+
Alg L2' BL2 L2
|
|
2515
|
+
Alg L2' BL2' L2
|
|
2516
|
+
Alg L2' BL' L2
|
|
2517
|
+
Alg L2 DL L2' DL'
|
|
2518
|
+
Alg L2' BL L2 BL2'
|
|
2519
|
+
Alg L2' BL L2 BL'
|
|
2520
|
+
Alg F' L2 BL L2' F
|
|
2521
|
+
Alg F' L2 BL2 L2' F
|
|
2522
|
+
Alg F' L2 BL2' L2' F
|
|
2523
|
+
Alg F' L2 BL' L2' F
|
|
2524
|
+
Alg L2 DL L' DL' L'
|
|
2525
|
+
Alg L2' U BL2' U' L2
|
|
2526
|
+
Alg L2' BL L2' BL2' L'
|
|
2527
|
+
Alg L2' BL L' BL2' L2'
|
|
2528
|
+
Alg L2' DL L' DL' L2
|
|
2529
|
+
Alg L' U' L' U L2
|
|
2530
|
+
Alg U L' DL L DL' U'
|
|
2531
|
+
Alg F' L2 BL L2' BL2' F
|
|
2532
|
+
Alg L2 DL' BL DL2 L2' DL'
|
|
2533
|
+
Alg L2' U BL2' U' BL L2
|
|
2534
|
+
Alg L2' BL' U BL' U' L2
|
|
2535
|
+
Alg L2' BL' L2 U' L' U
|
|
2536
|
+
Alg U' L U
|
|
2537
|
+
Alg U' L2 U
|
|
2538
|
+
Alg U' L2' U
|
|
2539
|
+
Alg U' L' U
|
|
2540
|
+
Alg U' L2' U BL
|
|
2541
|
+
Alg U' L2' U BL2
|
|
2542
|
+
Alg U' L2' U BL2'
|
|
2543
|
+
Alg U' L2' U BL'
|
|
2544
|
+
Alg U' L' U BL
|
|
2545
|
+
Alg U' L' U BL2
|
|
2546
|
+
Alg U' L' U BL2'
|
|
2547
|
+
Alg U' L' U BL'
|
|
2548
|
+
Alg U' L' U L BL L'
|
|
2549
|
+
Alg U' L' U L2 BL L2'
|
|
2550
|
+
Alg U' L' U BL U' L2 U
|
|
2551
|
+
Alg L2 BL L2'
|
|
2552
|
+
Alg L2 BL2 L2'
|
|
2553
|
+
Alg L2 BL2' L2'
|
|
2554
|
+
Alg L2 BL' L2'
|
|
2555
|
+
Alg L2 BL L2' BL'
|
|
2556
|
+
Alg L DL L' DL'
|
|
2557
|
+
Alg DL L DL' L'
|
|
2558
|
+
Alg L U' L2 U L2
|
|
2559
|
+
Alg L DL' BL DL L'
|
|
2560
|
+
Alg L DL' BL2 DL L'
|
|
2561
|
+
Alg L DL' BL' DL L'
|
|
2562
|
+
Alg DL L DL' L' BL'
|
|
2563
|
+
Alg L2 BL L' DL L' DL'
|
|
2564
|
+
Alg FL' L BL L' FL
|
|
2565
|
+
Alg FL' L BL2 L' FL
|
|
2566
|
+
Alg FL' L BL2' L' FL
|
|
2567
|
+
Alg FL' L BL' L' FL
|
|
2568
|
+
Alg FL' DL' BL DL FL
|
|
2569
|
+
Alg FL' DL' BL2 DL FL
|
|
2570
|
+
Alg FL' DL' BL2' DL FL
|
|
2571
|
+
Alg FL' DL' BL' DL FL
|
|
2572
|
+
Alg L2 BL2' U BL2 U' L2'
|
|
2573
|
+
Alg FL' L BL L' FL BL2'
|
|
2574
|
+
Alg FL' L BL' L' FL BL
|
|
2575
|
+
Alg U' F U BL U' F' U
|
|
2576
|
+
Alg U' F U BL2 U' F' U
|
|
2577
|
+
Alg U' F U BL2' U' F' U
|
|
2578
|
+
Alg F' FL2' DL' BL' DL FL2 F
|
|
2579
|
+
Alg L2' BL2 L2' BL' L2 BL' L2
|
|
2580
|
+
Alg DL L DL2' BL' DL2 L' DL'
|
|
2581
|
+
Alg DL2 FL2' DL2 BL' DL2' FL2 DL2'
|
|
2582
|
+
Alg FL' L U BL2' U' BL L' FL
|
|
2583
|
+
Alg FL' L2 U' L' U BL2 L' FL
|
|
2584
|
+
Alg L BL L'
|
|
2585
|
+
Alg L BL2 L'
|
|
2586
|
+
Alg L BL2' L'
|
|
2587
|
+
Alg L BL' L'
|
|
2588
|
+
Alg DL' BL DL
|
|
2589
|
+
Alg DL' BL2 DL
|
|
2590
|
+
Alg DL' BL2' DL
|
|
2591
|
+
Alg DL' BL' DL
|
|
2592
|
+
Alg L BL L' BL'
|
|
2593
|
+
Alg L' DL L DL'
|
|
2594
|
+
Alg L BL2 L' DL' BL' DL
|
|
2595
|
+
Alg L U BL2' U' BL2 L'
|
|
2596
|
+
Alg L BL2' U BL2 U' L'
|
|
2597
|
+
Alg DL' B' BL2 B BL2' DL
|
|
2598
|
+
Alg DL' BL2 B' BL2' B DL
|
|
2599
|
+
Alg U BL2' DL2' BL2 U' BL2' DL2
|
|
2600
|
+
Alg B' BL2 L2 BL2' B BL2 L2'
|
|
2601
|
+
Alg L U BL2' U' BL2 L' BL2'
|
|
2602
|
+
Alg L U BL2' U' BL2 L' BL'
|
|
2603
|
+
Alg L BL B BL' L' BL B'
|
|
2604
|
+
Alg L BL2' U BL2 U' L' BL2
|
|
2605
|
+
Alg L BL' U BL2 U' BL L'
|
|
2606
|
+
Alg L BL' U BL2' U' BL L'
|
|
2607
|
+
Alg L BL' U BL' U' BL L'
|
|
2608
|
+
Alg L2 BL2 L2' BL' L2 BL' L2'
|
|
2609
|
+
Alg DL' BL B' BL2' B BL' DL
|
|
2610
|
+
Alg L BL2' L U2 BR' U' BR U' L2'
|
|
2611
|
+
Alg L BL2' L BL L' BL L BL2' L2'
|
|
2612
|
+
Alg BL
|
|
2613
|
+
Alg BL2
|
|
2614
|
+
Alg BL2'
|
|
2615
|
+
Alg BL'
|
|
2616
|
+
Alg U BR BL2 BR' BL2' U'
|
|
2617
|
+
Alg B BL DL BL' DL' B'
|
|
2618
|
+
Alg L' BL2' DL' BL2 DL L
|
|
2619
|
+
Alg BR B BL B' BL' BR'
|
|
2620
|
+
Alg U BR BL2 BR' BL2' U' BL2
|
|
2621
|
+
Alg U BL BR BL' BR' U'
|
|
2622
|
+
Alg U BR BL BR' BL' U'
|
|
2623
|
+
Alg U' L' BL2' L BL2 U
|
|
2624
|
+
Alg B' BR' BL2' BR BL2 B
|
|
2625
|
+
Alg L BL2 U BL2' U' L'
|
|
2626
|
+
Alg BR B BL2 B' BL2' BR'
|
|
2627
|
+
Alg U BL2 U' BL' U BL' U'
|
|
2628
|
+
Alg B BL DL BL DL' BL2' B'
|
|
2629
|
+
Alg B BL2 DL BL' DL' BL' B'
|
|
2630
|
+
Alg B' BL' B BL2' B' BL2' B
|
|
2631
|
+
Alg U BL U' BL2 U BL2 U' BL2
|
|
2632
|
+
Alg U BR2 B' BR2' U' BR B BR'
|
|
2633
|
+
Alg BL2 BR B DL' B DL B2' BR'
|
|
2634
|
+
Alg B BL2' B2' BR B BR' B BL2 B'
|
|
2635
|
+
Alg U' BL' L' BL L U BL
|
|
2636
|
+
Alg B' BL2 B BL B' BL2 B
|
|
2637
|
+
Alg B' BL2' B BL' B' BL2' B
|
|
2638
|
+
Alg B' BL' BR' BL' BR BL2 B
|
|
2639
|
+
Alg B' BL2' BR' BL BR BL B
|
|
2640
|
+
Alg U' BL' L' BL' L BL2 U BL'
|
|
2641
|
+
Alg L' BL' L' DL L DL' BL L BL
|
|
2642
|
+
Alg L U BL U' BL' L'
|
|
2643
|
+
Alg L BL U BL' U' L'
|
|
2644
|
+
Alg BR' U' BL' U BL BR
|
|
2645
|
+
Alg L U2 BR' U' BR U' L'
|
|
2646
|
+
Alg U BL U2' L U L2' BL L BL2'
|
|
2647
|
+
Alg U' L2 F' L' F2 U' F' U2 L'
|
|
2648
|
+
Alg U BR' U' L U BR U' L'
|
|
2649
|
+
Alg U BR B BR' U' BR B' BR'
|
|
2650
|
+
Alg U' L U BR' U' L' U BR
|
|
2651
|
+
Alg B DL' B' BR B DL B' BR'
|
|
2652
|
+
Alg L' DL' B DL L DL' B' DL
|
|
2653
|
+
Alg BR B BR' U BR B' BR' U'
|
|
2654
|
+
Alg BR B DL' B' BR' B DL B'
|
|
2655
|
+
Alg U BR2' U2 L2 U2' BR2 U2 L2' U2
|
|
2656
|
+
Alg U2' L2 U2' BR2' U2 L2' U2' BR2 U'
|
|
2657
|
+
Alg U BL' B' BL U' L U2 BL' B BL U2' L'
|
|
2658
|
+
Alg U BR' U' L F' L2' U BR U' L2 F L'
|
|
2659
|
+
Alg U BR U' L U BR' U' L'
|
|
2660
|
+
Alg U' BL2 B BL2' U BL2 B' BL2'
|
|
2661
|
+
Alg L U BR U' L' U BR' U'
|
|
2662
|
+
Alg L BL2' B' BL2 L' BL2' B BL2
|
|
2663
|
+
Alg U BR' U2 L2 U2' BR U2 L2' U2
|
|
2664
|
+
Alg L' BL2 L2' F' L2 BL2' L2' F L2'
|
|
2665
|
+
Alg U BL2' U R U' BL2 U' L U2 R' U2' L'
|
|
2666
|
+
Alg U BR U' L2 F L' U BR' U' L F' L2'
|
|
2667
|
+
Alg U L' BL2 L' FL' L BL2' L U' L2' FL L2
|
|
2668
|
+
Alg U BR2' U R' U2' L U2 R U' BR2 U' L'\`)}var V7,H7,Xs=S(()=>{Xe();Bo();xo();V7=null;H7=null});var _c={};be(_c,{sgsDataPyraminx:()=>zc,sgsDataPyraminxFixedOrientation:()=>Zs});async function zc(){return J7??(J7=$7())}async function Zs(){return{ordering:(await zc()).ordering.slice(2)}}async function $7(){return ur(await Oe.pyraminx.kpuzzle(),\`SubgroupSizes 12 9 12 3 10 3 8 6 2 3 3 3 3
|
|
2669
|
+
|
|
2670
|
+
Alg B
|
|
2671
|
+
Alg B'
|
|
2672
|
+
Alg y
|
|
2673
|
+
Alg B y
|
|
2674
|
+
Alg B' y
|
|
2675
|
+
Alg y'
|
|
2676
|
+
Alg B y'
|
|
2677
|
+
Alg B' y'
|
|
2678
|
+
Alg BR'
|
|
2679
|
+
Alg B BR'
|
|
2680
|
+
Alg B' BR'
|
|
2681
|
+
|
|
2682
|
+
Alg L
|
|
2683
|
+
Alg L'
|
|
2684
|
+
Alg L F
|
|
2685
|
+
Alg L' F
|
|
2686
|
+
Alg F
|
|
2687
|
+
Alg L F'
|
|
2688
|
+
Alg L' F'
|
|
2689
|
+
Alg F'
|
|
2690
|
+
|
|
2691
|
+
Alg L B' U L' B
|
|
2692
|
+
Alg L U L'
|
|
2693
|
+
Alg L U' L'
|
|
2694
|
+
Alg L U L' U'
|
|
2695
|
+
Alg B' U B
|
|
2696
|
+
Alg B' U' B
|
|
2697
|
+
Alg B' U' B U
|
|
2698
|
+
Alg L U' L' R
|
|
2699
|
+
Alg L U' L' R'
|
|
2700
|
+
Alg L' R' L
|
|
2701
|
+
Alg L' R' L R
|
|
2702
|
+
|
|
2703
|
+
Alg R
|
|
2704
|
+
Alg R'
|
|
2705
|
+
|
|
2706
|
+
Alg R' U R
|
|
2707
|
+
Alg R' U' R
|
|
2708
|
+
Alg R' U R U'
|
|
2709
|
+
Alg B U B'
|
|
2710
|
+
Alg B U' B'
|
|
2711
|
+
Alg R B' R' B
|
|
2712
|
+
Alg L R L' R U' R
|
|
2713
|
+
Alg R L R' L'
|
|
2714
|
+
Alg L' R' U R L
|
|
2715
|
+
|
|
2716
|
+
Alg U
|
|
2717
|
+
Alg U'
|
|
2718
|
+
|
|
2719
|
+
Alg R U R' U'
|
|
2720
|
+
Alg U R U' R'
|
|
2721
|
+
Alg L' U' L U
|
|
2722
|
+
Alg U' L' U L
|
|
2723
|
+
Alg U L R' L' R U'
|
|
2724
|
+
Alg U' R' L R L' U
|
|
2725
|
+
Alg L' U' L U' R U' R'
|
|
2726
|
+
|
|
2727
|
+
Alg R U' R' U
|
|
2728
|
+
Alg L' U L U'
|
|
2729
|
+
Alg U' R U R'
|
|
2730
|
+
Alg U L' U' L
|
|
2731
|
+
Alg L R' L' R L' U L U'
|
|
2732
|
+
|
|
2733
|
+
Alg L' U L U' L R' L' R
|
|
2734
|
+
|
|
2735
|
+
Alg b
|
|
2736
|
+
Alg b'
|
|
2737
|
+
|
|
2738
|
+
Alg l
|
|
2739
|
+
Alg l'
|
|
2740
|
+
|
|
2741
|
+
Alg r
|
|
2742
|
+
Alg r'
|
|
2743
|
+
|
|
2744
|
+
Alg u
|
|
2745
|
+
Alg u'\`)}var J7,Js=S(()=>{ar();xo();J7=null});var Gc={};be(Gc,{sgsDataSkewb:()=>Mc,sgsDataSkewbFixedCorner:()=>e0,skewbKPuzzleWithoutMOCached:()=>Ni});async function nd(){let e=Fn("skewb",{allMoves:!0,addRotations:!0});return new Te(e.getKPuzzleDefinition(!0),{experimentalPGNotation:new Mr(e,e.getOrbitsDef(!0))})}async function Ni(){return od??(od=nd())}async function Mc(){return ld??(ld=id())}async function e0(){return{ordering:(await Mc()).ordering.slice(1)}}async function id(){return ur(await Ni(),\`SubgroupSizes 24 6 5 12 9 3 4 9 3 3
|
|
2746
|
+
|
|
2747
|
+
Alg y
|
|
2748
|
+
Alg y2
|
|
2749
|
+
Alg y'
|
|
2750
|
+
Alg F
|
|
2751
|
+
Alg F'
|
|
2752
|
+
Alg y U
|
|
2753
|
+
Alg y U'
|
|
2754
|
+
Alg y L
|
|
2755
|
+
Alg y L'
|
|
2756
|
+
Alg y F
|
|
2757
|
+
Alg y F'
|
|
2758
|
+
Alg y2 U
|
|
2759
|
+
Alg y2 U'
|
|
2760
|
+
Alg y2 B
|
|
2761
|
+
Alg y2 B'
|
|
2762
|
+
Alg y' U
|
|
2763
|
+
Alg y' F'
|
|
2764
|
+
Alg y U L'
|
|
2765
|
+
Alg y U B
|
|
2766
|
+
Alg y2 U B
|
|
2767
|
+
Alg y2 U B'
|
|
2768
|
+
Alg y2 U' B
|
|
2769
|
+
Alg y2 U' B'
|
|
2770
|
+
|
|
2771
|
+
Alg U
|
|
2772
|
+
Alg U'
|
|
2773
|
+
Alg U L
|
|
2774
|
+
Alg U L'
|
|
2775
|
+
Alg U' R'
|
|
2776
|
+
|
|
2777
|
+
Alg R
|
|
2778
|
+
Alg R'
|
|
2779
|
+
Alg R B
|
|
2780
|
+
Alg R' L'
|
|
2781
|
+
|
|
2782
|
+
Alg U B' U
|
|
2783
|
+
Alg U' L U
|
|
2784
|
+
Alg U' L' U
|
|
2785
|
+
Alg U' B U'
|
|
2786
|
+
Alg R L R'
|
|
2787
|
+
Alg R B' R
|
|
2788
|
+
Alg U B L U'
|
|
2789
|
+
Alg U B' U B'
|
|
2790
|
+
Alg U B' L' U
|
|
2791
|
+
Alg U' L B U'
|
|
2792
|
+
Alg R' B L' R'
|
|
2793
|
+
|
|
2794
|
+
Alg L
|
|
2795
|
+
Alg L'
|
|
2796
|
+
Alg L B
|
|
2797
|
+
Alg L B'
|
|
2798
|
+
Alg L B L
|
|
2799
|
+
Alg L B L'
|
|
2800
|
+
Alg L B' L
|
|
2801
|
+
Alg L B' L'
|
|
2802
|
+
|
|
2803
|
+
Alg B
|
|
2804
|
+
Alg B'
|
|
2805
|
+
|
|
2806
|
+
Alg L' B L
|
|
2807
|
+
Alg L' B' L
|
|
2808
|
+
Alg R' L' B L R
|
|
2809
|
+
|
|
2810
|
+
Alg B L' B L B'
|
|
2811
|
+
Alg B L' B' L B'
|
|
2812
|
+
Alg U L U B U' L' U'
|
|
2813
|
+
Alg R L R' B' R L' R'
|
|
2814
|
+
Alg U B' R L R' B' U B
|
|
2815
|
+
Alg U' B U L U' B' U L'
|
|
2816
|
+
Alg L U' B U L' U' B' U
|
|
2817
|
+
Alg R B' U R B L U' B
|
|
2818
|
+
|
|
2819
|
+
Alg U L U' B' U L' U' B
|
|
2820
|
+
Alg U' B L U L B' U' L'
|
|
2821
|
+
|
|
2822
|
+
Alg U R' U' L B R' B' R
|
|
2823
|
+
Alg R' U' R U B' U' B L\`)}var od,ld,t0=S(()=>{Xe();Bo();xo();od=null;ld=null});var Hc={};be(Hc,{getRandomSquare1ScrambleString:()=>_d});function cd(e,t){e.ul=t.ul,e.ur=t.ur,e.dl=t.dl,e.dr=t.dr,e.ml=t.ml}function Nc(e,t){var r;t<<=2,t>24?(t=48-t,r=e.ul,e.ul=(~~e.ul>>t|e.ur<<24-t)&16777215,e.ur=(~~e.ur>>t|r<<24-t)&16777215):t>0?(r=e.ul,e.ul=(e.ul<<t|~~e.ur>>24-t)&16777215,e.ur=(e.ur<<t|~~r>>24-t)&16777215):t==0?(r=e.ur,e.ur=e.dl,e.dl=r,e.ml=1-e.ml):t>=-24?(t=-t,r=e.dl,e.dl=(e.dl<<t|~~e.dr>>24-t)&16777215,e.dr=(e.dr<<t|~~r>>24-t)&16777215):t<-24&&(t=48+t,r=e.dl,e.dl=(~~e.dl>>t|e.dr<<24-t)&16777215,e.dr=(~~e.dr>>t|r<<24-t)&16777215)}function md(e){var t,r,n,o,l;for(n=0,e.arr[0]=Tt(e,0),o=1;o<24;++o)Tt(e,o)!=e.arr[n]&&(e.arr[++n]=Tt(e,o));for(l=0,t=0;t<16;++t)for(r=t+1;r<16;++r)e.arr[t]>e.arr[r]&&(l^=1);return l}function pd(e){var t,r,n,o;return o=e.ur&1118481,o|=~~o>>3,o|=~~o>>6,o=o&15|~~o>>12&48,n=e.ul&1118481,n|=~~n>>3,n|=~~n>>6,n=n&15|~~n>>12&48,r=e.dr&1118481,r|=~~r>>3,r|=~~r>>6,r=r&15|~~r>>12&48,t=e.dl&1118481,t|=~~t>>3,t|=~~t>>6,t=t&15|~~t>>12&48,Zo(md(e)<<24|n<<18|o<<12|t<<6|r)}function gd(e,t){var r,n;for(r=0;r<8;++r)e.prm[r]=~~(~~Tt(e,r*3+1)>>1<<24)>>24;for(t.cornperm=tl(e.prm),t.topEdgeFirst=Tt(e,0)==Tt(e,1),r=t.topEdgeFirst?2:0,n=0;n<4;r+=3,++n)e.prm[n]=~~(~~Tt(e,r)>>1<<24)>>24;for(t.botEdgeFirst=Tt(e,12)==Tt(e,13),r=t.botEdgeFirst?14:12;n<8;r+=3,++n)e.prm[n]=~~(~~Tt(e,r)>>1<<24)>>24;t.edgeperm=tl(e.prm),t.ml=e.ml}function Tt(e,t){var r;return t<6?r=~~e.ul>>(5-t<<2):t<12?r=~~e.ur>>(11-t<<2):t<18?r=~~e.dl>>(17-t<<2):r=~~e.dr>>(23-t<<2),~~((r&15)<<24)>>24}function n0(e,t,r){t<6?(e.ul&=~(15<<(5-t<<2)),e.ul|=r<<(5-t<<2)):t<12?(e.ur&=~(15<<(11-t<<2)),e.ur|=r<<(11-t<<2)):t<18?(e.dl&=~(15<<(17-t<<2)),e.dl|=r<<(17-t<<2)):(e.dr&=~(15<<(23-t<<2)),e.dr|=r<<(23-t<<2))}function o0(){this.arr=[],this.prm=[]}async function dd(){let e=await ft();var t,r,n,o,l,i,a,u,s;for(t=new o0,n=to[e(3678)],l=19088743<<1|286331153,o=19088743<<1,a=i=8,r=0;r<24;r++)(n>>r&1)==0?(u=e(i)<<2,n0(t,23-r,o>>u&15),s=(1<<u)-1,o=(o&s)+(o>>4&~s),--i):(u=e(a)<<2,n0(t,23-r,l>>u&15),n0(t,22-r,l>>u&15),s=(1<<u)-1,l=(l&s)+(l>>4&~s),--a,++r);return t.ml=e(2),t}function hd(){}function Ld(e){var t,r,n,o,l,i;for(cd(e.Search_d,e.Search_c),n=0;n<e.Search_length1;++n)Nc(e.Search_d,e.Search_move[n]);for(gd(e.Search_d,e.Search_sq),r=e.Search_sq.edgeperm,t=e.Search_sq.cornperm,l=e.Search_sq.ml,i=Math.max(ye[e.Search_sq.edgeperm<<1|l],ye[e.Search_sq.cornperm<<1|l]),n=i;n<e.Search_maxlen2;++n)if(Wi(e,r,t,e.Search_sq.topEdgeFirst,e.Search_sq.botEdgeFirst,l,n,e.Search_length1,0)){for(o=0;o<n;++o)Nc(e.Search_d,e.Search_move[e.Search_length1+o]);return e.Search_sol_string=Dd(e,n+e.Search_length1),!0}return!1}function Dd(e,t){for(var r="",n=0,o=0,l=t-1;l>=0;l--){var i=e.Search_move[l];i>0?(i=12-i,n=i>6?i-12:i):i<0?(i=12+i,o=i>6?i-12:i):(n==0&&o==0?r+=" / ":r+="("+n+", "+o+") / ",n=o=0)}return(n!==0||o!==0)&&(r+="("+n+", "+o+")"),r}function Oi(e,t,r,n,o,l){var i,a,u;if(r==0&&n<4)return n==0&&Ld(e);if(l!=0&&(u=Ki[t],a=ke[u],a<n&&(e.Search_move[o]=0,Oi(e,u,a,n-1,o+1,0))))return!0;if(u=t,l<=0){for(i=0;i+=$o[u],u=~~i>>4,i&=15,!(i>=12||(a=ke[u],a>n));)if(a<n&&(e.Search_move[o]=i,Oi(e,u,a,n-1,o+1,1)))return!0}if(u=t,l<=1){for(i=0;i+=Jo[u],u=~~i>>4,i&=15,!(i>=6||(a=ke[u],a>n));)if(a<n&&(e.Search_move[o]=-i,Oi(e,u,a,n-1,o+1,2)))return!0}return!1}function Wi(e,t,r,n,o,l,i,a,u){var s,f,c,m,p,g,d;if(i==0&&!n&&o||u!=0&&n==o&&(c=rl[t],f=rl[r],ye[c<<1|1-l]<i&&ye[f<<1|1-l]<i&&(e.Search_move[a]=0,Wi(e,c,f,n,o,1-l,i-1,a+1,0))))return!0;if(u<=0)for(d=!n,c=d?rn[t]:t,f=d?r:rn[r],m=d?1:2,p=ye[c<<1|l],g=ye[f<<1|l];m<12&&p<=i&&p<=i;){if(p<i&&g<i&&(e.Search_move[a]=m,Wi(e,c,f,d,o,l,i-1,a+1,1)))return!0;d=!d,d?(c=rn[c],p=ye[c<<1|l],m+=1):(f=rn[f],g=ye[f<<1|l],m+=2)}if(u<=1)for(s=!o,c=s?en[t]:t,f=s?r:en[r],m=s?1:2,p=ye[c<<1|l],g=ye[f<<1|l];m<(i>3?6:12)&&p<=i&&p<=i;){if(p<i&&g<i&&(e.Search_move[a]=-m,Wi(e,c,f,n,s,l,i-1,a+1,2)))return!0;s=!s,s?(c=en[c],p=ye[c<<1|l],m+=1):(f=en[f],g=ye[f<<1|l],m+=2)}return!1}function Ad(e,t){var r;for(e.Search_c=t,r=pd(t),e.Search_length1=ke[r];e.Search_length1<100&&(e.Search_maxlen2=Math.min(31-e.Search_length1,17),!Oi(e,r,ke[r],e.Search_length1,0,-1));++e.Search_length1);return e.Search_sol_string}function Oc(){this.Search_move=[],this.Search_d=new o0,this.Search_sq=new jc}function Rd(){}function yd(){Wc||(Wc=!0,el=[0,3,6,12,15,24,27,30,48,51,54,60,63],to=[],ke=[],$o=[],Jo=[],Ki=[],bd())}function Fd(e){var t,r;t=0,r=0;do(e.bottom&2048)==0?(t+=1,e.bottom=e.bottom<<1):(t+=2,e.bottom=e.bottom<<2^12291),r=1-r;while((nn(e.bottom&63)&1)!=0);return(nn(e.bottom)&2)==0&&(e.Shape_parity^=r),t}function l0(e){var t;return t=Vc(to,e.top<<12|e.bottom)<<1|e.Shape_parity,t}function i0(e,t){e.Shape_parity=t&1,e.top=to[~~t>>1],e.bottom=e.top&4095,e.top>>=12}function Bd(e){var t,r;t=0,r=0;do(e.top&2048)==0?(t+=1,e.top=e.top<<1):(t+=2,e.top=e.top<<2^12291),r=1-r;while((nn(e.top&63)&1)!=0);return(nn(e.top)&2)==0&&(e.Shape_parity^=r),t}function Kc(){}function Zo(e){var t;return t=Vc(to,e&16777215)<<1|~~e>>24,t}function bd(){var e,t,r,n,o,l,i,a,u,s,f,c,m,p,g,d;for(e=0,i=0;i<28561;++i)l=el[i%13],r=el[~~(i/13)%13],c=el[~~(~~(i/13)/13)%13],f=el[~~(~~(~~(i/13)/13)/13)],m=f<<18|c<<12|r<<6|l,nn(m)==16&&(to[e++]=m);for(s=new Kc,i=0;i<7356;++i)i0(s,i),$o[i]=Bd(s),$o[i]|=l0(s)<<4,i0(s,i),Jo[i]=Fd(s),Jo[i]|=l0(s)<<4,i0(s,i),d=s.top&63,p=nn(d),g=nn(s.bottom&4032),s.Shape_parity^=1&~~(p&g)>>1,s.top=s.top&4032|~~s.bottom>>6&63,s.bottom=s.bottom&63|d<<6,Ki[i]=l0(s);for(i=0;i<7536;++i)ke[i]=-1;for(ke[Zo(14378715)]=0,ke[Zo(31157686)]=0,ke[Zo(23967451)]=0,ke[Zo(7191990)]=0,n=4,o=0,t=-1;n!=o;)for(o=n,++t,i=0;i<7536;++i)if(ke[i]==t){u=0,a=i;do a=$o[a],u+=a&15,a>>=4,ke[a]==-1&&(++n,ke[a]=t+1);while(u!=12);u=0,a=i;do a=Jo[a],u+=a&15,a>>=4,ke[a]==-1&&(++n,ke[a]=t+1);while(u!=12);a=Ki[i],ke[a]==-1&&(++n,ke[a]=t+1)}}function Sd(){}function xd(){if(!Qc){Qc=!0,ye=[],rl=[],rn=[],en=[],qc=[1,1,2,6,24,120,720,5040],tn=[];for(var e=0;e<12;++e)tn[e]=[];wd()}}function jc(){}function tl(e){var t,r,n,o;for(r=0,o=1985229328,t=0;t<7;++t)n=e[t]<<2,r=(8-t)*r+(~~o>>n&7),o-=286331152<<n;return r&65535}function wd(){var e,t,r,n,o,l,i,a,u,s,f,c,m;for(o=0;o<12;++o)for(tn[o][0]=1,tn[o][o]=1,u=1;u<o;++u)tn[o][u]=tn[o-1][u-1]+tn[o-1][u];for(c=[],o=0;o<40320;++o)a0(c,o),m=c[2],c[2]=c[4],c[4]=m,m=c[3],c[3]=c[5],c[5]=m,rl[o]=tl(c),a0(c,o),m=c[0],c[0]=c[1],c[1]=c[2],c[2]=c[3],c[3]=m,rn[o]=tl(c),a0(c,o),m=c[4],c[4]=c[5],c[5]=c[6],c[6]=c[7],c[7]=m,en[o]=tl(c);for(o=0;o<80640;++o)ye[o]=-1;for(ye[0]=0,t=0,r=1;r<80640;){a=t>=11,n=a?-1:t,e=a?t:-1,++t;e:for(o=0;o<80640;++o)if(ye[o]==n){if(l=~~o>>1,f=o&1,i=rl[l]<<1|1-f,ye[i]==e&&(++r,ye[a?o:i]=~~(t<<24)>>24,a))continue e;for(i=l,s=0;s<4;++s)if(i=rn[i],ye[i<<1|f]==e&&(++r,ye[a?o:i<<1|f]=~~(t<<24)>>24,a))continue e;for(s=0;s<4;++s)if(i=en[i],ye[i<<1|f]==e&&(++r,ye[a?o:i<<1|f]=~~(t<<24)>>24,a))continue e}}}function a0(e,t){var r,n,o,l,i;for(i=1985229328,r=0;r<7;++r)o=qc[7-r],l=~~(t/o),t-=l*o,l<<=2,e[r]=~~((~~i>>l&7)<<24)>>24,n=(1<<l)-1,i=(i&n)+(~~i>>4&~n);e[7]=~~(i<<24)>>24}function vd(){}function nn(e){return e-=~~e>>1&1431655765,e=(~~e>>2&858993459)+(e&858993459),e=(~~e>>4)+e&252645135,e+=~~e>>8,e+=~~e>>16,e&63}function Vc(e,t){var r,n,o,l;for(n=0,r=e.length-1;n<=r;)if(o=n+(~~(r-n)>>1),l=e[o],l<t)n=o+1;else if(l>t)r=o-1;else return o;return-n-1}async function _d(){return(await zd()).scramble_string}var xe,Wc,Jo,to,ke,$o,Ki,el,Qc,en,tn,ye,rn,rl,qc,s0,Ud,Ed,kd,zd,Yc=S(()=>{sr();xe=o0.prototype=hd.prototype;xe.dl=10062778;xe.dr=14536702;xe.ml=0;xe.ul=70195;xe.ur=4544119;xe=Oc.prototype=Rd.prototype;xe.Search_c=null;xe.Search_length1=0;xe.Search_maxlen2=0;xe.Search_sol_string=null;Wc=!1;xe=Kc.prototype=Sd.prototype;xe.bottom=0;xe.Shape_parity=0;xe.top=0;Qc=!1;xe=jc.prototype=vd.prototype;xe.botEdgeFirst=!1;xe.cornperm=0;xe.edgeperm=0;xe.ml=0;xe.topEdgeFirst=!1;s0=!1,Ud=function(e,t,r){s0||(yd(),xd()),r&&r("Done initializing Square-1."),s0=!0,e!=null&&e()},Ed=async function(){return s0||Ud(),dd()},kd=function(e){var t=new Oc;return Ad(t,e)},zd=async function(){var e=await Ed(),t=kd(e);return{state:e,scramble_string:t}}});var m0=Symbol("Comlink.proxy"),nm=Symbol("Comlink.endpoint"),om=Symbol("Comlink.releaseProxy"),qi=Symbol("Comlink.thrown"),p0=e=>typeof e=="object"&&e!==null||typeof e=="function",lm={canHandle:e=>p0(e)&&e[m0],serialize(e){let{port1:t,port2:r}=new MessageChannel;return ro(e,t),[r,[r]]},deserialize(e){return e.start(),sm(e)}},im={canHandle:e=>p0(e)&&qi in e,serialize({value:e}){let t;return e instanceof Error?t={isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:t={isError:!1,value:e},[t,[]]},deserialize(e){throw e.isError?Object.assign(new Error(e.value.message),e.value):e.value}},g0=new Map([["proxy",lm],["throw",im]]);function ro(e,t=self){t.addEventListener("message",function r(n){if(!n||!n.data)return;let{id:o,type:l,path:i}=Object.assign({path:[]},n.data),a=(n.data.argumentList||[]).map(wr),u;try{let s=i.slice(0,-1).reduce((c,m)=>c[m],e),f=i.reduce((c,m)=>c[m],e);switch(l){case"GET":u=f;break;case"SET":s[i.slice(-1)[0]]=wr(n.data.value),u=!0;break;case"APPLY":u=f.apply(s,a);break;case"CONSTRUCT":{let c=new f(...a);u=cm(c)}break;case"ENDPOINT":{let{port1:c,port2:m}=new MessageChannel;ro(e,m),u=fm(c,[c])}break;case"RELEASE":u=void 0;break;default:return}}catch(s){u={value:s,[qi]:0}}Promise.resolve(u).catch(s=>({value:s,[qi]:0})).then(s=>{let[f,c]=Hi(s);t.postMessage(Object.assign(Object.assign({},f),{id:o}),c),l==="RELEASE"&&(t.removeEventListener("message",r),d0(t))})}),t.start&&t.start()}function am(e){return e.constructor.name==="MessagePort"}function d0(e){am(e)&&e.close()}function sm(e,t){return Vi(e,[],t)}function nl(e){if(e)throw new Error("Proxy has been released and is not useable")}function Vi(e,t=[],r=function(){}){let n=!1,o=new Proxy(r,{get(l,i){if(nl(n),i===om)return()=>on(e,{type:"RELEASE",path:t.map(a=>a.toString())}).then(()=>{d0(e),n=!0});if(i==="then"){if(t.length===0)return{then:()=>o};let a=on(e,{type:"GET",path:t.map(u=>u.toString())}).then(wr);return a.then.bind(a)}return Vi(e,[...t,i])},set(l,i,a){nl(n);let[u,s]=Hi(a);return on(e,{type:"SET",path:[...t,i].map(f=>f.toString()),value:u},s).then(wr)},apply(l,i,a){nl(n);let u=t[t.length-1];if(u===nm)return on(e,{type:"ENDPOINT"}).then(wr);if(u==="bind")return Vi(e,t.slice(0,-1));let[s,f]=h0(a);return on(e,{type:"APPLY",path:t.map(c=>c.toString()),argumentList:s},f).then(wr)},construct(l,i){nl(n);let[a,u]=h0(i);return on(e,{type:"CONSTRUCT",path:t.map(s=>s.toString()),argumentList:a},u).then(wr)}});return o}function um(e){return Array.prototype.concat.apply([],e)}function h0(e){let t=e.map(Hi);return[t.map(r=>r[0]),um(t.map(r=>r[1]))]}var L0=new WeakMap;function fm(e,t){return L0.set(e,t),e}function cm(e){return Object.assign(e,{[m0]:!0})}function Hi(e){for(let[t,r]of g0)if(r.canHandle(e)){let[n,o]=r.serialize(e);return[{type:"HANDLER",name:t,value:n},o]}return[{type:"RAW",value:e},L0.get(e)||[]]}function wr(e){switch(e.type){case"HANDLER":return g0.get(e.name).deserialize(e.value);case"RAW":return e.value}}function on(e,t,r){return new Promise(n=>{let o=mm();e.addEventListener("message",function l(i){!i.data||!i.data.id||i.data.id!==o||(e.removeEventListener("message",l),n(i.data))}),e.start&&e.start(),e.postMessage(Object.assign({id:o},t),r)})}function mm(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}var Dm=typeof globalThis.Worker=="undefined"&&typeof globalThis.WorkerNavigator=="undefined";function F0(e){Dm?(async()=>{let{port:t}=await Promise.resolve().then(()=>(y0(),R0));ro(e,await t())})():ro(e)}Xe();ar();Qt();Xe();ar();sr();Qt();De();De();var Ca=class extends mn{constructor(t){super();this.metric=t}traverseAlg(t){let r=0;for(let n of t.units())r+=this.traverseUnit(n);return r}traverseGrouping(t){let r=t.alg;return this.traverseAlg(r)*Math.abs(t.amount)}traverseMove(t){return this.metric(t)}traverseCommutator(t){return 2*(this.traverseAlg(t.A)+this.traverseAlg(t.B))}traverseConjugate(t){return 2*this.traverseAlg(t.A)+this.traverseAlg(t.B)}traversePause(t){return 0}traverseNewline(t){return 0}traverseLineComment(t){return 0}};function w1(e){return"A"<=e&&e<="Z"}function Rp(e){let t=e.family;return w1(t[0])&&t[t.length-1]==="v"||t==="x"||t==="y"||t==="z"||t==="T"?0:1}function yp(e){let t=e.family;return w1(t[0])&&t[t.length-1]==="v"||t==="x"||t==="y"||t==="z"||t==="T"?0:Math.abs(e.amount)}var v1=new Ca(Rp),Pa=v1.traverseAlg.bind(v1),U1=new Ca(yp),Fp=U1.traverseAlg.bind(U1);De();var E1=class extends mn{traverseAlg(t){let r=0;for(let n of t.units())r+=this.traverseUnit(n);return r}traverseGrouping(t){return this.traverseAlg(t.alg)*Math.abs(t.amount)}traverseMove(t){return 1}traverseCommutator(t){return 2*(this.traverseAlg(t.A)+this.traverseAlg(t.B))}traverseConjugate(t){return 2*this.traverseAlg(t.A)+this.traverseAlg(t.B)}traversePause(t){return 1}traverseNewline(t){return 0}traverseLineComment(t){return 0}},k1=new E1,Bp=k1.traverseAlg.bind(k1);sr();var bp=2,Sp=!0,xp=!1;function wp(e,t){let r=[];return t.forEach(function(n){let o=new h(n);if(o.amount!==1)throw new Error("SGS cannot handle def moves with an amount other than 1 yet.");let l=e.identityTransformation();for(let i=1;l=l.applyMove(o),!l.isIdentityTransformation();i++)r.push({move:o.modified({amount:i}),transformation:l})}),r}var Pt=class{constructor(t,r,n){this.kpuzzle=t;this.sgs=r;this.searchMoves=wp(this.kpuzzle,n??Object.keys(this.kpuzzle.definition.moves))}async solve(t,r=bp,n){let o=t.experimentalToTransformation();if(!o)throw new Error("distinguishable pieces are not supported in tremble solver yt");let l=null,i=1e6,a=(u,s,f)=>{if(s===0){let c=this.sgsPhaseSolve(u,i);if(!c)return;let m=f.concat(c).simplify({collapseMoves:!0,quantumMoveOrder:n}),p=Pa(m);(l===null||p<i)&&(xp&&(console.log(\`New best (\${p} moves): \${m.toString()}\`),console.log(\`Tremble moves are: \${f.toString()}\`)),l=m,i=p);return}for(let c of this.searchMoves)a(u.applyTransformation(c.transformation),s-1,f.concat([c.move]))};for(let u=0;u<=r;u++)a(o,u,new z);if(l===null)throw new Error("SGS search failed.");return l}sgsPhaseSolve(t,r){let n=new mt,o=t;for(let l of this.sgs.ordering){let i=l.pieceOrdering,a="",u=o.invert();for(let f=0;f<i.length;f++){let c=i[f],m=c.orbitName,p=c.permutationIdx;a+=\` \${u.transformationData[m].permutation[p]} \${u.transformationData[m].orientation[p]}\`}let s=l.lookup[a];if(!s)throw new Error("Missing algorithm in sgs or esgs?");if(n.experimentalPushAlg(s.alg),n.experimentalNumUnits()>=r)return null;if(o=o.applyTransformation(s.transformation),Sp)for(let f=0;f<i.length;f++){let c=i[f],m=c.orbitName,p=c.permutationIdx;if(o.transformationData[m].permutation[p]!==p||o.transformationData[m].orientation[p]!==0)throw new Error("bad SGS :-(")}}return n.toAlg()}};async function Tl(e,t){let r=await jt(),n=e.identityTransformation();for(let o of t.ordering){let l=r(Object.values(o.lookup));n=n.applyTransformation(l.transformation)}return n.toKState()}var Ep=3,P1=null;async function M1(){return P1||(P1=(async()=>{let e=await(await Promise.resolve().then(()=>(C1(),_1))).cachedData222();return new Pt(await Oe["2x2x2"].kpuzzle(),e,"URFLBD".split(""))})())}async function G1(){await M1()}async function Ma(e){return ut(),await(await M1()).solve(e,Ep,()=>4)}async function kp(e,t,r,n){let o=await ft();await x1(r.stateData[t].pieces);let l=e.definition.orbits[t],i=r.stateData[t].orientation,a=0;for(let u=0;u<l.numPieces;u++){let s=o(l.numOrientations);i[u]=s,a+=s}n&&"orientationSum"in n&&(i[0]=((i[0]+n.orientationSum-a)%l.numOrientations+l.numOrientations)%l.numOrientations)}async function zp(){let e=await Oe["2x2x2"].kpuzzle(),t=new ge(e,JSON.parse(JSON.stringify(e.startState().stateData)));return await kp(e,"CORNERS",t,{orientationSum:0}),t}async function T1(){return await Ma(await zp())}as();Il();var V3=[[null,"x","x2","x'","z","z'"],[null,"y","y2","y'"]],H3=null;function Kf(){return H3??(H3=Promise.resolve().then(()=>(Wf(),Of)))}async function Qf(){return(await Kf()).initialize()}async function _s(){return(await Kf()).random444Scramble()}async function jf(){return Bn(await _s(),V3)}Il();De();sr();function Y3(e){switch(e){case 5:return 60;case 6:return 80;default:return 100}}var X3=[["U","D"],["L","R"],["F","B"]],qf=new Map;function Z3(e){let t=qf.get(e);if(t)return t;let r=[];for(let n of X3){let o=[];r.push(o);for(let l of n){o.push(new P(l)),e>3&&o.push(new P(\`\${l}w\`));for(let i=3;i<=e/2;i++)o.push(new P(\`\${l}w\`,i))}}return qf.set(e,r),r}async function Jt(e){let t=await ft(),r=await jt(),n=r,o=Z3(e),l=Y3(e),i=new mt,a=0,u=new Set;for(;i.experimentalNumUnits()<l;){let s=t(3);s!==a&&u.clear(),a=s;let f=r(o[a]),c=f.toString();u.has(c)||(u.add(c),i.push(new h(f,n([1,2,-1]))))}return i.toAlg()}var J3=[[null,"3Rw","3Rw2","3Rw'","3Fw","3Fw'"],[null,"3Dw","3Dw2","3Dw'"]];async function Vf(){return Bn(await Jt(5),J3)}De();ar();Qt();async function wc(){let{randomFTOScrambleString:e}=await Promise.resolve().then(()=>(xc(),Sc));return new z(e())}Xe();Qt();Xs();var X7=2,Ec=null;async function Z7(){return Ec||(Ec=(async()=>{let t=await(await Promise.resolve().then(()=>(Xs(),Uc))).cachedSGSDataMegaminx();return new Pt(await Xo(),t,["U","R","F","L","BR","BL","FR","FL","DR","DL","B","D"])})())}async function kc(e){ut();let t=await Z7(),r=JSON.parse(JSON.stringify(e.stateData));r.CENTERS.orientation=new Array(12).fill(0);let n=new ge(await Xo(),r);return await t.solve(n,X7,()=>5)}ar();Qt();Js();var ed=3,Cc=null;async function td(){return Cc||(Cc=(async()=>{let t=await(await Promise.resolve().then(()=>(Js(),_c))).sgsDataPyraminx();return new Pt(await Oe.pyraminx.kpuzzle(),t,"RLUB".split(""))})())}async function $s(e){return ut(),await(await td()).solve(e,ed,()=>3)}async function rd(){return Tl(await Oe.pyraminx.kpuzzle(),await Zs())}async function Pc(){return $s(await rd())}Xe();Qt();t0();var ad=3,Tc=null;async function sd(){return Tc||(Tc=(async()=>{let e=await Promise.resolve().then(()=>(t0(),Gc)),t=await e.sgsDataSkewb();return new Pt(await e.skewbKPuzzleWithoutMOCached(),t,"RLUB".split(""))})())}function ud(e){return new ge(e.kpuzzle,{CORNERS:e.stateData.CORNERS,CENTERS:{pieces:e.stateData.CENTERS.pieces,orientation:new Array(6).fill(0)}})}async function r0(e){return ut(),await(await sd()).solve(ud(e),ad,n=>n.family==="y"?4:3)}async function fd(){return Tl(await Ni(),await e0())}async function Ic(){return r0(await fd())}De();var Cd=null;function Pd(){return Cd??(Cd=Promise.resolve().then(()=>(Yc(),Hc)))}async function Xc(){return z.fromString(await(await Pd()).getRandomSquare1ScrambleString())}y1(!0);var Zc=!0;function Md(e){Zc=e}function Jc(){return(typeof performance=="undefined"?Date:performance).now()}async function Ke(e,t){if(!Zc)return t();let r=Jc(),n=t();n?.then&&await n;let o=Jc();return console.warn(\`\${e}: \${Math.round(o-r)}ms\`),n}var u0={initialize:async e=>{switch(e){case"222":return Ke("preInitialize222",G1);case"333":case"333oh":case"333ft":return Ke("initialize333",vu);case"444":return Ke("initialize444",Qf);default:throw new Error(\`unsupported event: \${e}\`)}},randomScrambleForEvent:async e=>{switch(e){case"222":return Ke("random222Scramble",T1);case"333":case"333oh":case"333ft":return Ke("random333Scramble",Pn);case"333fm":return Ke("random333FewestMovesScramble",ku);case"333bf":case"333mb":return Ke("random333OrientedScramble",Uu);case"444":return Ke("random444Scramble",_s);case"444bf":return Ke("random444OrientedScramble",jf);case"555":return Ke("bigCubeScramble(5)",Jt.bind(Jt,5));case"555bf":return Ke("oriented555RandomMoves",Vf);case"666":return Ke("bigCubeScramble(6)",Jt.bind(Jt,6));case"777":return Ke("bigCubeScramble(7)",Jt.bind(Jt,7));case"skewb":return Ke("randomSkewbFixedCornerScramble",Ic);case"pyram":return Ke("randomPyraminxScrambleFixedOrientation",Pc);case"sq1":return Ke("getRandomSquare1Scramble",Xc);case"fto":return Ke("randomFTOScramble",wc);default:throw new Error(\`unsupported event: \${e}\`)}},randomScrambleStringForEvent:async e=>(await u0.randomScrambleForEvent(e)).toString(),solve333ToString:async e=>{let t=new ge(await Oe["3x3x3"].kpuzzle(),e);return(await is(t)).toString()},solve222ToString:async e=>{let t=new ge(await Oe["2x2x2"].kpuzzle(),e);return(await Ma(t)).toString()},solveSkewbToString:async e=>{let t=new ge(await Oe.skewb.kpuzzle(),e);return(await r0(t)).toString()},solvePyraminxToString:async e=>{let t=new ge(await Oe.pyraminx.kpuzzle(),e);return(await $s(t)).toString()},solveMegaminxToString:async e=>{let t=new ge(await Oe.megaminx.kpuzzle(),e);return(await kc(t)).toString()},setDebugMeasurePerf:async e=>{Md(e)}};F0(u0);
|
|
2824
|
+
`;
|
|
2825
|
+
export {
|
|
2826
|
+
workerSource
|
|
2827
|
+
};
|
|
2828
|
+
//# sourceMappingURL=worker-inside-generated-string-BERQU3U7.js.map
|