Browse Source

anti hype

master
gsd 3 months ago
commit
01e10f9129
  1. BIN
      01a429b4b1866a3e897d.jpg
  2. BIN
      3333a55c4289b6796612.ttf
  3. BIN
      3473535b7a6bbefd1c75.ttf
  4. BIN
      505661ef4a58f705208f.jpg
  5. BIN
      76114dd9fe17dfad9510.png
  6. BIN
      80cd38b27f20cbe1159c.png
  7. BIN
      85a8b980d879d38f1cd0.jpg
  8. BIN
      8b05c8efd64c747dab96.png
  9. BIN
      ac8bce54ef554e9de5c0.jpg
  10. BIN
      b22418957a3b4e7b02c8.png
  11. BIN
      c9ef69de4daecf8fb4e8.jpg
  12. BIN
      d069d945f78e5d40b20e.jpg
  13. BIN
      ddca47c5e2aff147e4b7.jpg
  14. BIN
      e91f85107150f78b5305.jpg
  15. BIN
      f636da7d24bf8b43e4e3.jpg
  16. 5
      fb2b6ea568c4ad86c79b.svg
  17. 246
      index.html
  18. 3
      initcode.js
  19. 7
      initcode.local.js
  20. 2
      js/index.04e43cbac50332817385.bundle.js
  21. 92
      js/index.04e43cbac50332817385.bundle.js.LICENSE.txt
  22. 82385
      js/result.js
  23. BIN
      jy4gofnzg95z4mzh1mfk8dnfqn.ttf
  24. BIN
      swyswxm5x1jvdj6eoupayes7kh.ttf

BIN
01a429b4b1866a3e897d.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
3333a55c4289b6796612.ttf

Binary file not shown.

BIN
3473535b7a6bbefd1c75.ttf

Binary file not shown.

BIN
505661ef4a58f705208f.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
76114dd9fe17dfad9510.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
80cd38b27f20cbe1159c.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 925 B

BIN
85a8b980d879d38f1cd0.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
8b05c8efd64c747dab96.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
ac8bce54ef554e9de5c0.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
b22418957a3b4e7b02c8.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
c9ef69de4daecf8fb4e8.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
d069d945f78e5d40b20e.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
ddca47c5e2aff147e4b7.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

BIN
e91f85107150f78b5305.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
f636da7d24bf8b43e4e3.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

5
fb2b6ea568c4ad86c79b.svg

@ -0,0 +1,5 @@
<!--prepared-->
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M25 7L7 25" stroke="#65707B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M7 7L25 25" stroke="#65707B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 327 B

246
index.html

@ -0,0 +1,246 @@
<!doctype html><html lang="en" dir="{{%dir}}"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,viewport-fit=cover"/><title>tele2-panda-kombat</title><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><style>html {
background-color: #0A0A0A;
}</style><script>// prevent Can't find variable: pauseUI
window.pauseUI = function () { };
// prevent Can't find variable: resumeUI
window.resumeUI = function () { };
window.iasGamePackageName = '"tele2-panda-kombat"'.replace(/"/g, "");
window.iasGameBuildVersion = '"v1.0.9"'.replace(/"/g, "");</script><script>if (console.logOrigin == null) {
console.logOrigin = console.log;
console.infoOrigin = console.info;
console.debugOrigin = console.debug;
console.warnOrigin = console.warn;
console.errorOrigin = console.error;
}
var messagesLimit = 100;
var messagesCount = 0;
window._sendErrorLog = function (payload) {
if (messagesCount < messagesLimit && "sendBeacon" in navigator) {
var keys = Object.keys(payload);
var formData = new FormData();
for (var i = 0; i < keys.length; ++i) {
formData.append(keys[i], payload[keys[i]]);
}
//navigator.sendBeacon("https://games.inappstory.com/" + window.iasGamePackageName + "/" + window.iasGameBuildVersion + "/error.log", formData);
++messagesCount;
}
};
// canTryReload - for Script error. and unexpected EOL
if (window.gameLoadFailed == null) {
var isAndroid = Boolean(window.Android);
var isIos = true;//Boolean(window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.gameLoaded);
var isWeb = !isAndroid && !isIos;
var sourceWindow, sourceWindowOrigin;
function initWebSource(event) {
// call only for initGame msg from sdk
// prevent override webSource.sourceWindowOrigin from game itself msg (mobile safari issue)
sourceWindow = event.source;
sourceWindowOrigin = event.origin;
// enable broadcast for corner case (VK WKWebView)
if (event.origin === "null" || event.origin == null || !Boolean(event.origin)) {
sourceWindowOrigin = "*";
}
// save to gameLoadingInfo
if (window.gameLoadingInfo == null) {
window.gameLoadingInfo = {
sourceWindow: sourceWindow,
sourceWindowOrigin: sourceWindowOrigin,
};
}
}
if (isWeb) {
var messageListener = function (event) {
var data = event.data;
if (Array.isArray(data)) {
switch (data[0]) {
case "initGame":
initWebSource(event);
window.removeEventListener("message", messageListener);
break;
case "cb":
if (data[1] && data[1].cb != null) {
if (data[1].cb === "initGame") {
initWebSource(event);
window.removeEventListener("message", messageListener);
}
}
break;
}
}
};
window.addEventListener("message", messageListener, false);
}
window.gameLoadFailed = function (reason, canTryReload) {
if (window.Android) {
if (window.Android.gameLoadFailed) {
window.Android.gameLoadFailed(reason, canTryReload);
}
} else if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.gameLoaded) {
if (window.webkit.messageHandlers.gameLoadFailed) {
window.webkit.messageHandlers.gameLoadFailed.postMessage(
JSON.stringify({
reason: reason,
canTryReload: canTryReload,
})
);
}
} else if (isWeb) {
if (sourceWindow != null && sourceWindowOrigin != null) {
sourceWindow.postMessage(["gameLoadFailed", reason, canTryReload], sourceWindowOrigin);
}
}
};
}
setTimeout(function () {
var loadStarted = false;
var error = "";
if (window.gameLoadingInfo != null) {
if (window.gameLoadingInfo.loadStarted != null) {
loadStarted = window.gameLoadingInfo.loadStarted;
}
if (window.gameLoadingInfo.error != null) {
error = window.gameLoadingInfo.error;
}
}
if (!loadStarted) {
// call only on serious js failure (when loadStarted false - parse error, Syntax error, EOL error)
if (window.gameLoadFailed != null) {
window.gameLoadFailed(error, false);
}
}
}, 30000);
window.onerror = function (msg, url, lineNo, columnNo, error) {
// console.log({msg, url, lineNo, columnNo, error});
if (window.gameLoadingInfo == null) {
window.gameLoadingInfo = {};
}
var payload = {
type: "onerror event",
message: msg,
lineno: lineNo,
colno: columnNo,
source: url,
errorMessage: error ? error.message : "",
errorStack: error ? error.stack : "",
};
if (error) {
payload.errorMessage = error.message;
payload.errorStack = error.stack;
}
if (window.gameLoadingInfo != null) {
payload.loadingState = window.gameLoadingInfo.state;
payload.loadingDescription = window.gameLoadingInfo.description;
}
payload.gameReaderExists = window.gameReader != null;
payload.initGameExists = window.initGame != null;
payload.readyState = document.readyState;
payload.androidExists = window.Android != null;
payload.androidGameLoadedExists = window.Android != null && window.Android.gameLoaded != null;
window.gameLoadingInfo.error = msg;
if (msg === "Script error.") {
// skip sendErrorLog for Script error. (this is error from other scripts, not from oyr game.
// When a syntax(?) error occurs in a script, loaded from a different origin,
// the details of the syntax error are not reported to prevent leaking information (see bug 363897).
// Instead, the error reported is simply "Script error." This behavior can be overriden in some browsers
// using the crossorigin attribute on and having the server send the appropriate CORS HTTP response headers.
// A workaround is to isolate "Script error." and handle it knowing that the error detail is only viewable
// in the browser console and not accessible via JavaScript.
// https://ravikiranj.net/posts/2014/code/how-fix-cryptic-script-error-javascript/
// https://stackoverflow.com/questions/45844565/script-error-errors-in-window-onerror-in-safari-only
return false;
}
window._sendErrorLog(payload);
return false;
};
window.onunhandledrejection = function (event) {
var payload = {
type: "onunhandledrejection",
reason: event.reason,
};
window._sendErrorLog(payload);
};
window.console.log = function () {
var messages = Array.prototype.slice.call(arguments);
console.logOrigin(messages);
if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.logHandler && messages.length) {
window.webkit.messageHandlers.logHandler.postMessage(messages[0]);
}
};
window.console.info = function () {
var messages = Array.prototype.slice.call(arguments);
console.infoOrigin(messages);
if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.infoHandler && messages.length) {
window.webkit.messageHandlers.infoHandler.postMessage(messages[0]);
}
};
window.console.debug = function () {
var messages = Array.prototype.slice.call(arguments);
console.debugOrigin(messages);
if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.debugOrigin && messages.length) {
window.webkit.messageHandlers.debugOrigin.postMessage(messages[0]);
}
};
window.console.debug = function () {
var messages = Array.prototype.slice.call(arguments);
console.debugOrigin(messages);
if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.debugHandler && messages.length) {
window.webkit.messageHandlers.debugHandler.postMessage(messages[0]);
}
};
window.console.warn = function () {
var messages = Array.prototype.slice.call(arguments);
console.warnOrigin(messages);
if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.warnHandler && messages.length) {
window.webkit.messageHandlers.warnHandler.postMessage(messages[0]);
}
};
window.console.error = function () {
var messages = Array.prototype.slice.call(arguments);
var payload = {
type: "console error",
};
for (var i = 0; i < messages.length; ++i) {
var field = "message" + String(i);
var value = messages[i];
if (!(typeof value === "string" || value instanceof Error)) {
try {
value = JSON.stringify(value);
} catch (e) {
value = e.message;
}
}
payload[field] = value;
}
window._sendErrorLog(payload);
console.errorOrigin(messages);
if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.errorHandler && messages.length) {
window.webkit.messageHandlers.errorHandler.postMessage(messages[0]);
}
};</script><script defer="defer" src="./js/result.js"></script><script src="./initcode.local.js"></script></head><body><div id="root"></div><div id="modal-layer"></div></body></html>

3
initcode.js

@ -0,0 +1,3 @@
var code = `window.gameReader = (function(){var self = window.gameReader || {};self._e = self._e || [];self.ready = self.ready || function (f) {self._e.push(f);};return self;})();window.gameReader.ready(function(){window.initGame({"gameInstanceId":755,"gameResources":{"fonts":{"InternalPrimaryFontNormalNormal":"https://cs.inappstory.ru/file/el/gf/pq/swyswxm5x1jvdj6eoupayes7kh.ttf?k=CwAAAAAAAAAEAA","InternalPrimaryFontBoldNormal":"https://cs.inappstory.ru/file/v7/kq/m4/jy4gofnzg95z4mzh1mfk8dnfqn.ttf?k=CwAAAAAAAAAEAA"},"assets":[]},"storyId":null,"elementId":null,"projectSlug":"tele2-app","demoMode":false,"projectEnv":"prod","verbose":false,"gameDomain":"https://games.inappstory.com/tele2-panda-kombat/1.0.9/build/","gameSlug":"tele2-panda-kombat","gameVersion":"1.0.9","clientConfig":"{{%sdkConfig}}"});});`;
var onLoad = function() { try{ eval(code); } catch (e) { window.gameLoadingInfo && (window.gameLoadingInfo.error = e.message); window.gameLoadFailed && window.gameLoadFailed(window.gameLoadingInfo.error, false); console.error(e); window._sendErrorLog && window._sendErrorLog({message: e.message, code: code}); }};
if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", onLoad);} else { onLoad();}if (window.Android && window.sessionStorage != null) { window.sessionStorage.setItem("_initQueue", JSON.stringify([`window.initGame({"gameInstanceId":755,"gameResources":{"fonts":{"InternalPrimaryFontNormalNormal":"https://cs.inappstory.ru/file/el/gf/pq/swyswxm5x1jvdj6eoupayes7kh.ttf?k=CwAAAAAAAAAEAA","InternalPrimaryFontBoldNormal":"https://cs.inappstory.ru/file/v7/kq/m4/jy4gofnzg95z4mzh1mfk8dnfqn.ttf?k=CwAAAAAAAAAEAA"},"assets":[]},"storyId":null,"elementId":null,"projectSlug":"tele2-app","demoMode":false,"projectEnv":"prod","verbose":false,"gameDomain":"https://games.inappstory.com/tele2-panda-kombat/1.0.9/build/","gameSlug":"tele2-panda-kombat","gameVersion":"1.0.9","clientConfig":"{{%sdkConfig}}"})`]));}

7
initcode.local.js

@ -0,0 +1,7 @@
function run() {
var code = `window.gameReader = (function(){var self = window.gameReader || {};self._e = self._e || [];self.ready = self.ready || function (f) {self._e.push(f);};return self;})();window.gameReader.ready(function(){window.initGame({"gameInstanceId":755,"gameResources":{"fonts":{"InternalPrimaryFontNormalNormal":"swyswxm5x1jvdj6eoupayes7kh.ttf","InternalPrimaryFontBoldNormal":"jy4gofnzg95z4mzh1mfk8dnfqn.ttf"},"assets":[]},"storyId":null,"elementId":null,"projectSlug":"tele2-app","demoMode":false,"projectEnv":"prod","verbose":false,"gameDomain":"https://games.inappstory.com/tele2-panda-kombat/1.0.9/build/","gameSlug":"tele2-panda-kombat","gameVersion":"1.0.9","clientConfig":"{{%sdkConfig}}"});});`;
var onLoad = function() { try{ eval(code); } catch (e) { window.gameLoadingInfo && (window.gameLoadingInfo.error = e.message); window.gameLoadFailed && window.gameLoadFailed(window.gameLoadingInfo.error, false); console.error(e); window._sendErrorLog && window._sendErrorLog({message: e.message, code: code}); }};
if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", onLoad);} else { onLoad();}if (window.Android && window.sessionStorage != null) { window.sessionStorage.setItem("_initQueue", JSON.stringify([`window.initGame({"gameInstanceId":755,"gameResources":{"fonts":{"InternalPrimaryFontNormalNormal":"swyswxm5x1jvdj6eoupayes7kh.ttf","InternalPrimaryFontBoldNormal":"jy4gofnzg95z4mzh1mfk8dnfqn.ttf"},"assets":[]},"storyId":null,"elementId":null,"projectSlug":"tele2-app","demoMode":false,"projectEnv":"prod","verbose":false,"gameDomain":"https://games.inappstory.com/tele2-panda-kombat/1.0.9/build/","gameSlug":"tele2-panda-kombat","gameVersion":"1.0.9","clientConfig":"{{%sdkConfig}}"})`]));}
}
window.onload = run();

2
js/index.04e43cbac50332817385.bundle.js

File diff suppressed because one or more lines are too long

92
js/index.04e43cbac50332817385.bundle.js.LICENSE.txt

@ -0,0 +1,92 @@
/*!
* Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported.
*
* howler.js v2.2.4
* howlerjs.com
*
* (c) 2013-2020, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
*/
/*!
* howler.js v2.2.4
* howlerjs.com
*
* (c) 2013-2020, James Simpson of GoldFire Studios
* goldfirestudios.com
*
* MIT License
*/
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react-is.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* use-sync-external-store-shim.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* use-sync-external-store-shim/with-selector.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

82385
js/result.js

File diff suppressed because one or more lines are too long

BIN
jy4gofnzg95z4mzh1mfk8dnfqn.ttf

Binary file not shown.

BIN
swyswxm5x1jvdj6eoupayes7kh.ttf

Binary file not shown.
Loading…
Cancel
Save