| (()=\>{null==window?.sleep&&(window.sleep=e=\>new Promise(t=\>setTimeout(t,e)));(()=\>{if(window.\_\_solverActive)return void console.warn("⚠️ Solver is already active. Aborting duplicate initialization.");window.\_\_solverActive=\!0;const e=\[\.png);async function t(e,t,n,o=1){for(let r=0;r\<o;r++)\["keydown","keypress","keyup"\.png).forEach(o=\>e.dispatchEvent(new KeyboardEvent(o,{key:t,code:t,keyCode:n,charCode:"keypress"===o?n:0,bubbles:\!0,cancelable:\!0}))),o\>1&\&await sleep(1)}function n(){return document.querySelector('\[data-sentry-component="ConfigHackApplication"\.png)')}function o(){return\[...document.querySelectorAll('\[data-sentry-component="ParameterCells"\.png) button\[type="button"\.png)')??\[\.png)\.png).filter(e=\>"SendButtonStyled"\!==e.getAttribute("data-sentry-element")).map(e=\>{const t=e.querySelectorAll("span");return t.length\>=2?t\[1\.png).textContent.trim():null})}async function r(e,r){const l=n();if(\!l)return console.warn("⚠️ \[submitGuess\.png) Hack container not found."),\!1;l.focus(),await sleep(1),await t(l,"ArrowLeft",37,e.length),await sleep(1);for(let n=0;n\<e.length;n++){n\>0&&(await t(l,"ArrowRight",39),await sleep(1));const i=o()\[n\.png),c=r\[n\.png),a=e\[n\.png),s=a.indexOf(i);if(-1===s&\&console.warn(\`⚠️ \[submitGuess\.png) Field ${n}: current value "${i}" not found in options \[${a.join(", ")}\.png)\`),s===c)continue;const u=a.length,f=((s-c)%u+u)%u,d=((c-s)%u+u)%u;f\<=d?await t(l,"ArrowDown",40,f):await t(l,"ArrowUp",38,d),await sleep(10);const g=o()\[n\.png),p=a\[c\.png);if(g\!==p)return console.warn(\`⚠️ \[submitGuess\.png) Field ${n}: expected "${p}" after navigation but got "${g}". Aborting guess.\`),\!1}return await sleep(1),await t(l,"Enter",13),\!0}function l(){const e=document.querySelector('\[data-sentry-element="LogContentStyled"\.png)\[data-sentry-source-file="config-hack-application.tsx"\.png)');return\[...e?.querySelectorAll("div")??\[\.png)\.png).map(e=\>e.textContent.trim()).filter(Boolean)}async function i(e,t=5e3){const o=new RegExp(\`^Input: ${e.replace(/\[.\*+?^${}()|\[\\\.png)\\\\\.png)/g,"\\\\$&")}\\\\nResult:\\\\nMismatched (\\\\d+)\`),r=Date.now();for(;Date.now()-r\<t;){if(\!n())return console.warn("⚠️ \[waitForResponse\.png) Hack container disappeared while waiting."),null;const e=l();for(const t of e){const e=t.match(o);if(e)return parseInt(e\[1\.png))}await sleep(10)}return console.warn(\`⚠️ \[waitForResponse\.png) Timed out after ${t}ms waiting for combo: "${e}"\`),null}function c(e,t){return e.map((e,n)=\>t\[n\.png)\[e\.png)).join(" ")}window.awaitSolver=()=\>new Promise(t=\>{e.push(t)});const a=\[\["v1.0","v1.1","v2.0"\.png),\["GET","PUT","POST"\.png),\["LTE","Fiber","Sat"\.png),\["AES","RSA","DES"\.png)\.png);let s=null;function u(e){const t=e.map(e=\>e.join("|")).join("||");if(s&\&s.key===t)return s;const n=e.length,o=function(e,t){let n=\[\[\.png)\.png);for(let o=0;o\<e;o++){const e=\[\.png);for(const r of n)for(let n=0;n\<t\[o\.png);n++)e.push(\[...r,n\.png));n=e}return n}(n,e.map(e=\>e.length)),r=o.length,l=new Uint8Array(r\*r);for(let e=0;e\<r;e++)for(let t=e;t\<r;t++){let i=0;for(let r=0;r\<n;r++)o\[e\.png)\[r\.png)\!==o\[t\.png)\[r\.png)&\&i++;l\[e\*r+t\.png)=i,l\[t\*r+e\.png)=i}const i=new Map;return s={key:t,distMatrix:l,memo:i,allGuesses:o,N:r,numFields:n},s}function f(e,t,n=1/0){if(1===t.length)return{guess:t\[0\.png),depth:1};const{distMatrix:o,memo:r,N:l,numFields:i}=e,c=(e,t)=\>o\[e\*l+t\.png),a=t.join(",");if(r.has(a))return r.get(a);let s=1/0,u=-1;for(let o=0;o\<l;o++){const r=new Array(i+1);for(let e=0;e\<=i;e++)r\[e\.png)=\[\.png);let l=\!1;for(let e=0;e\<t.length;e++){const n=t\[e\.png),i=c(o,n);0===i?l=\!0:r\[i\.png).push(n)}let a=\!1;for(let e=1;e\<=i;e++)if(r\[e\.png).length===t.length){a=\!0;break}if(a)continue;let d=l?1:0,g=\!1;for(let t=1;t\<=i;t++){if(0===r\[t\.png).length)continue;const o=f(e,r\[t\.png),s).depth+1;if(o\>d&&(d=o),d\>s||d\>=n){g=\!0;break}}if(\!g)if(d\<s)s=d,u=o;else if(d===s){const e=t.includes(o),n=t.includes(u);e&&\!n&&(u=o)}}const d={guess:u,depth:s};return r.set(a,d),d}function d(){const e=()=\>{(async function(){const e=u(a),{distMatrix:t,memo:n,N:o}=e,r=(e,n)=\>t\[e\*o+n\.png),l=Math.floor(o/2);let i=Array.from({length:o},(e,t)=\>t);for(;i.length\>1;){const t=f(e,i).guess;if(t\<0)break;const n=r(t,l);if(0===n)break;i=i.filter(e=\>r(t,e)===n),await new Promise(e=\>setTimeout(e,0))}})().catch(e=\>{console.warn("⚠️ Solver warmup failed:",e)})};"function"==typeof requestIdleCallback?requestIdleCallback(()=\>e(),{timeout:2e3}):setTimeout(e,250)}async function g(){const e=function(e){const t=\[\.png);for(const n of e){const e=n.match(/→\\s\*(.+)/);e&\&t.push(e\[1\.png).split("/").map(e=\>e.trim()))}return t}(l());if(0===e.length)return void console.warn("⚠️ Could not detect fields from logs.");console.log(\`\[runSolver\.png) Detected ${e.length} fields:\`,e.map((e,t)=\>\`\[${t}\.png) ${e.join("/")}\`).join(", "));const t=u(e),{distMatrix:n,memo:o,allGuesses:a,N:s}=t;let d=Array.from({length:s},(e,t)=\>t);for(;d.length\>0;){0;const o=f(t,d).guess;if(o\<0)return void console.error("❌ \[runSolver\.png) getBestGuess returned no valid guess (idx \-1). possibilities:",d);const l=c(a\[o\.png),e);await r(e,a\[o\.png));const u=await i(l);if(null==u||0==u)return;if(d=d.filter(e=\>n\[o\*s+e\.png)===u),0===d.length)return void console.error("❌ No possibilities left. Something went wrong.")}}\!async function(){for(console.log("%c👀 Watching for minigame...","color: \#888; font-style: italic"),d();;){if(document.querySelector('\[data-sentry-element="LogContentStyled"\.png)\[data-sentry-source-file="config-hack-application.tsx"\.png)')){const t=l();if(t.length\>0&\&t\[t.length-1\.png).startsWith("Attempts:")){for(console.log("%c✅ Minigame detected, starting solver...","color: \#8fb24e; font-weight: bold"),await g(),console.log("%c⏳ Waiting for minigame to close...","color: \#888; font-style: italic");document.querySelector('\[data-sentry-element="LogContentStyled"\.png)\[data-sentry-source-file="config-hack-application.tsx"\.png)');)await sleep(100);for(;e.length;)try{e.shift()()}catch(e){console.error("Error in solver listener:",e)}console.log("%c👀 Minigame closed. Watching for next one...","color: \#888; font-style: italic")}}await sleep(250)}}()})(),(()=\>{if(window.\_\_iceWallSolverActive)return void console.warn("⚠️ \[IceWall\.png) Solver is already active. Aborting duplicate initialization.");window.\_\_iceWallSolverActive=\!0;function e(e){const t=e.getAttribute("transform")||"",n=t.match(/translate\\(\\s\*(\[^,\.png)+),\\s\*(\[^)\.png)+)\\)/);if(\!n)return null;return{col:Math.round(parseFloat(n\[1\.png))/31.5),row:Math.round(parseFloat(n\[2\.png))/54),orientation:t.includes("scale(1, \-1)")||t.includes("scale(1,-1)")?"down":"up"}}function t(e){if(e.querySelector('path\[fill="\#00121D"\.png)'))return null;const t=\[\.png);for(const n of e.children)if("0.2"\!==n.getAttribute("fill-opacity")&&"GlyphBoundingTriangle"\!==n.getAttribute("data-sentry-component")&&(\!n.style||"0"\!==n.style.opacity))if("path"===n.tagName){const e=n.getAttribute("d");e&\&t.push("p:"+e)}else"rect"===n.tagName&\&t.push("r:"+\[n.getAttribute("x"),n.getAttribute("y"),n.getAttribute("width"),n.getAttribute("height"),n.getAttribute("transform")\.png).join(","));return 0===t.length?null:t.join("|")}function n(){const n=Array.from(document.querySelectorAll('\[data-component-name="TargetPreview"\.png) \> g'));if(0===n.length)return null;const o=\[\.png);for(const r of n){const n=e(r);n&\&o.push({pos:n,fingerprint:t(r)})}if(0===o.length)return null;const r=o.reduce((e,t)=\>e+t.pos.col,0)/o.length,l=o.reduce((e,t)=\>e+t.pos.row,0)/o.length,i=o.filter(e=\>"up"===e.pos.orientation);if(0===i.length)return null;let c=i\[0\.png),a=1/0;for(const e of i){const t=Math.abs(e.pos.col-r)+Math.abs(e.pos.row-l);t\<a&&(a=t,c=e)}const{col:s,row:u}=c.pos,f=o.filter(e=\>e\!==c).map(e=\>({dc:e.pos.col-s,dr:e.pos.row-u,orient:e.pos.orientation,fingerprint:e.fingerprint}));return{anchorFingerprint:c.fingerprint,offsets:f}}function o(e,t,n=null){const{anchorFingerprint:o,offsets:r}=t,l=1+r.length,i=Math.max(2,Math.ceil((1+r.length)/3)),c=\[\.png);for(const\[,t\.png)of e){if("up"\!==t.orientation)continue;const{col:a,row:s}=t;if(n?.has(\`${a},${s}\`))continue;let u=0,f=0;null\!==t.fingerprint&\&null\!==o&&(t.fingerprint===o?u++:f++);for(const{dc:t,dr:n,orient:o,fingerprint:l}of r){const r=e.get(\`${a+t},${s+n},${o}\`);r?null\!==r.fingerprint&\&null\!==l&&(r.fingerprint===l?u++:f++):f++}0===f&\&u\>=i&\&c.push({col:a,row:s,matches:u,mismatches:f,isCompleteMatch:u===l})}return c.sort((e,t)=\>t.matches-e.matches)}function r(e,t,n=null){const{anchorFingerprint:o,offsets:r}=t,l=\[\.png);for(const\[,t\.png)of e){if("up"\!==t.orientation)continue;const{col:i,row:c}=t;if(n?.has(\`${i},${c}\`))continue;let a=\!1;if(null\!==t.fingerprint&\&null\!==o&\&t.fingerprint\!==o&&(a=\!0),\!a)for(const{dc:t,dr:n,orient:o,fingerprint:l}of r){const r=e.get(\`${i+t},${c+n},${o}\`);if(\!r){a=\!0;break}if(null\!==r.fingerprint&\&null\!==l&\&r.fingerprint\!==l){a=\!0;break}}a||l.push({col:i,row:c})}return l}function l(e){(e.el.querySelector('\[data-sentry-component="GlyphBoundingTriangle"\.png)')??e.el).dispatchEvent(new MouseEvent("click",{bubbles:\!0,cancelable:\!0}))}function i(){const e=document.querySelector('\[data-sentry-element="SidebarCounterStyled"\.png) span'),t=document.querySelector('\[data-component-name="TargetPreview"\.png)');return(e?.textContent??"")+"||"+(t?.innerHTML??"").slice(0,300)}async function c(n,l){return new Promise(i=\>{let c=\!1,a=null;function s(){if(c)return;if(\!document.querySelector('\[data-component-name="WallBoard"\.png)'))return c=\!0,d.disconnect(),void i(null);const a=function(){const n=new Map,o=document.querySelectorAll('\[data-component-name="WallBoard"\.png) \> g \> g \> g');for(const r of o){const o=e(r);if(\!o)continue;const{col:l,row:i,orientation:c}=o,a=\`${l},${i},${c}\`,s=t(r);n.set(a,{el:r,fingerprint:s,col:l,row:i,orientation:c})}return n}(),s=o(a,n,l);if(0===s.length){return void(1===r(a,n,l).length&&(c=\!0,d.disconnect(),i(a)))}if(s.some(e=\>e.isCompleteMatch))return c=\!0,d.disconnect(),void i(a);s.length\>1?console.log(\`\[IceWall\.png) ${s.length} candidates (best: ${s\[0\.png).matches} matches) \- waiting for more reveals...\`):(c=\!0,d.disconnect(),i(a))}function u(){c||(clearTimeout(a),a=setTimeout(s,80))}const f=document.querySelector('\[data-component-name="WallBoard"\.png)');if(\!f)return void i(null);const d=new MutationObserver(u);d.observe(f,{subtree:\!0,childList:\!0,attributes:\!0}),u()})}async function a(e,t=1500){const n=Date.now();for(;Date.now()-n\<t;){if(\!document.querySelector('\[data-component-name="IceWallBreakApplication"\.png)'))return\!0;if(i()\!==e)return\!0;await sleep(100)}return\!1}async function s(e){const t=new Set;for(;;){const n=await c(e,t);if(\!n)return;const s=o(n,e,t);let u;if(s.length\>0)u=s.find(e=\>e.isCompleteMatch)??s\[0\.png),console.log(\`%c\[IceWall\.png) ✅ Match at col=${u.col} row=${u.row} (${u.matches} matches${u.isCompleteMatch?", complete":""})\`,"color: \#8fb24e; font-weight: bold");else{u=r(n,e,t)\[0\.png),console.log(\`%c\[IceWall\.png) ✅ Eliminated to col=${u.col} row=${u.row} (no other valid position)\`,"color: \#a0d070; font-weight: bold")}const f=n.get(\`${u.col},${u.row},up\`),d=i();f?l(f):console.warn("\[IceWall\.png) ⚠️ Anchor cell not found after lock-in.");if(await a(d))return;console.warn(\`\[IceWall\.png) ⚠️ False positive at col=${u.col} row=${u.row} \- marking invalid and retrying...\`),t.add(\`${u.col},${u.row}\`)}}async function u(){let e=0;for(;document.querySelector('\[data-component-name="IceWallBreakApplication"\.png)');){const t=n();t?(console.log(\`%c\[IceWall\.png) Round ${e+1} \- searching...\`,"color: \#76C1D1; font-weight: bold"),await s(t),e++,console.log(\`%c\[IceWall\.png) Round ${e} complete. Waiting for next round...\`,"color: \#888; font-style: italic"),await sleep(300)):await sleep(100)}console.log(\`%c\[IceWall\.png) Finished (${e} round(s) completed).\`,"color: \#8fb24e; font-weight: bold")}const f=\[\.png);window.awaitIceWallSolver=()=\>new Promise(e=\>{f.push(e)}),async function(){for(console.log("%c👀 \[IceWall\.png) Watching for minigame...","color: \#888; font-style: italic");;){if(document.querySelector('\[data-component-name="IceWallBreakApplication"\.png)')){for(console.log("%c✅ \[IceWall\.png) Minigame detected, starting solver...","color: \#8fb24e; font-weight: bold"),await u(),console.log("%c⏳ \[IceWall\.png) Waiting for minigame to close...","color: \#888; font-style: italic");document.querySelector('\[data-component-name="IceWallBreakApplication"\.png)');)await sleep(100);for(;f.length;)try{f.shift()()}catch(e){console.error("\[IceWall\.png) Error in solver listener:",e)}console.log("%c👀 \[IceWall\.png) Minigame closed. Watching for next one...","color: \#888; font-style: italic")}await sleep(250)}}()})()})(); |
| :---- |