Files
awesome-copilot/extensions/arcade-canvas/game/phaser.min.js
T
github-actions[bot] ed1fa3aabc chore: publish from main
2026-07-07 03:45:40 +00:00

18 lines
596 B
JavaScript

(() => {
window.__agentArcadePhaserReady = (async () => {
if (!("DecompressionStream" in window)) {
throw new Error("This browser cannot load the compressed Phaser bundle.");
}
const response = await fetch("./phaser.min.js.gz");
if (!response.ok || !response.body) {
throw new Error("Failed to load the Phaser bundle.");
}
const stream = response.body.pipeThrough(new DecompressionStream("gzip"));
const source = await new Response(stream).text();
(0, eval)(`${source}\n//# sourceURL=phaser.min.bundle.js`);
return window.Phaser;
})();
})();