@ywkrlerche/richardwho 1.0.44 → 1.0.46

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.
@@ -0,0 +1,134 @@
1
+ <!--
2
+ 60 Seconds! Reatomized downloaded from gn-math! at 11/13/2026
3
+
4
+ https://gn-math.dev
5
+ https://discord.gg/gn-math
6
+ -->
7
+ <!DOCTYPE html>
8
+ <html lang="en-us">
9
+ <head>
10
+ <base
11
+ href="https://raw.githubusercontent.com/freebuisness/html/main/858.html"
12
+ />
13
+ <link
14
+ rel="shortcut icon"
15
+ href="https://cdn.jsdelivr.net/gh/usheje883-maker/60-Seconds-Webport@main/Image.png"
16
+ />
17
+ <link
18
+ rel="stylesheet"
19
+ href="https://cdn.jsdelivr.net/gh/usheje883-maker/60-Seconds-Webport@main/TemplateData/style.css"
20
+ />
21
+ <script
22
+ async=""
23
+ src="https://www.googletagmanager.com/gtag/js?id=G-PXHK7Q7G3Z"
24
+ ></script>
25
+ <script>
26
+ window.dataLayer = window.dataLayer || [];
27
+ function gtag() {
28
+ dataLayer.push(arguments);
29
+ }
30
+ gtag("js", new Date());
31
+ gtag("config", "G-PXHK7Q7G3Z");
32
+ </script>
33
+ </head>
34
+ <body>
35
+ <div id="unity-container" class="unity-desktop">
36
+ <canvas id="unity-canvas"></canvas>
37
+ <div id="unity-loading-bar">
38
+ <div id="unity-logo"></div>
39
+ <div id="unity-progress-bar-empty">
40
+ <div id="unity-progress-bar-full"></div>
41
+ </div>
42
+ </div>
43
+ <div id="unity-warning"></div>
44
+ </div>
45
+ <script>
46
+ var container = document.querySelector("#unity-container");
47
+ var canvas = document.querySelector("#unity-canvas");
48
+ var loadingBar = document.querySelector("#unity-loading-bar");
49
+ var progressBarFull = document.querySelector("#unity-progress-bar-full");
50
+ var warningBanner = document.querySelector("#unity-warning");
51
+ function unityShowBanner(msg, type) {
52
+ function updateBannerVisibility() {
53
+ warningBanner.style.display = warningBanner.children.length
54
+ ? "block"
55
+ : "none";
56
+ }
57
+ var div = document.createElement("div");
58
+ div.innerHTML = msg;
59
+ warningBanner.appendChild(div);
60
+ if (type == "error") div.style = "background: red; padding: 10px;";
61
+ else {
62
+ if (type == "warning")
63
+ div.style = "background: yellow; padding: 10px;";
64
+ setTimeout(function () {
65
+ warningBanner.removeChild(div);
66
+ updateBannerVisibility();
67
+ }, 5000);
68
+ }
69
+ updateBannerVisibility();
70
+ }
71
+ var baseUrl =
72
+ "https://cdn.jsdelivr.net/gh/usheje883-maker/60-Seconds-Webport@main/";
73
+ var buildUrl = baseUrl + "Build";
74
+ var loaderUrl = buildUrl + "/Build.loader.js";
75
+ loadingBar.style.display = "block";
76
+ var dataFiles = [
77
+ "Build.data.unityweb.0",
78
+ "Build.data.unityweb.1",
79
+ "Build.data.unityweb.2",
80
+ "Build.data.unityweb.3",
81
+ "Build.data.unityweb.4",
82
+ "Build.data.unityweb.5",
83
+ ];
84
+ Promise.all(
85
+ dataFiles.map(function (f) {
86
+ return fetch(buildUrl + "/" + f).then(function (r) {
87
+ if (!r.ok) throw Error("Failed " + f);
88
+ return r.arrayBuffer();
89
+ });
90
+ }),
91
+ ).then(function (parts) {
92
+ var total = parts.reduce(function (s, b) {
93
+ return s + b.byteLength;
94
+ }, 0);
95
+ var combined = new Uint8Array(total);
96
+ var off = 0;
97
+ parts.forEach(function (buf) {
98
+ combined.set(new Uint8Array(buf), off);
99
+ off += buf.byteLength;
100
+ });
101
+ var dataBlob = URL.createObjectURL(new Blob([combined]));
102
+ var config = {
103
+ dataUrl: dataBlob,
104
+ frameworkUrl: buildUrl + "/Build.framework.js.unityweb",
105
+ codeUrl: buildUrl + "/Build.wasm.unityweb",
106
+ streamingAssetsUrl: baseUrl + "StreamingAssets",
107
+ companyName: "Robot Gentleman",
108
+ productName: "60 Seconds",
109
+ productVersion: "1.0",
110
+ showBanner: unityShowBanner,
111
+ };
112
+ if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
113
+ container.className = "unity-mobile";
114
+ config.devicePixelRatio = 1;
115
+ unityShowBanner("WebGL builds are not supported on mobile devices.");
116
+ }
117
+ var script = document.createElement("script");
118
+ script.src = loaderUrl;
119
+ script.onload = function () {
120
+ createUnityInstance(canvas, config, function (progress) {
121
+ progressBarFull.style.width = 100 * progress + "%";
122
+ })
123
+ .then(function (unityInstance) {
124
+ loadingBar.style.display = "none";
125
+ })
126
+ .catch(function (message) {
127
+ alert(message);
128
+ });
129
+ };
130
+ document.body.appendChild(script);
131
+ });
132
+ </script>
133
+ </body>
134
+ </html>