@etherplay/dev-wallet-host 0.0.0 → 0.1.1
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 +112 -0
- package/bin/dev-wallet-host.js +163 -0
- package/config.example.json +30 -0
- package/lib/server.js +141 -0
- package/package.json +52 -2
- package/site/Facebook_Logo_Primary.png +0 -0
- package/site/README.txt +12 -0
- package/site/_etherplay_accounts.html +168 -0
- package/site/assets/App-81EXtqUY.css +495 -0
- package/site/assets/App-DKwr3SmI.js +21249 -0
- package/site/assets/App-DKwr3SmI.js.map +1 -0
- package/site/assets/bignumbers-CXLDZ_hX.js +12 -0
- package/site/assets/bignumbers-CXLDZ_hX.js.map +1 -0
- package/site/assets/index-BpymDBD4.js +24364 -0
- package/site/assets/index-BpymDBD4.js.map +1 -0
- package/site/assets/index-CXJHxToF.js +28 -0
- package/site/assets/index-CXJHxToF.js.map +1 -0
- package/site/assets/index-ClPYLG7G.js +918 -0
- package/site/assets/index-ClPYLG7G.js.map +1 -0
- package/site/assets/index-DhaZfSXv.js +6227 -0
- package/site/assets/index-DhaZfSXv.js.map +1 -0
- package/site/assets/index-MU9KXKKX.js +4020 -0
- package/site/assets/index-MU9KXKKX.js.map +1 -0
- package/site/assets/index-client-8kPxwRn_.js +1771 -0
- package/site/assets/index-client-8kPxwRn_.js.map +1 -0
- package/site/assets/index-kfVihtzM.js +5153 -0
- package/site/assets/index-kfVihtzM.js.map +1 -0
- package/site/assets/index-l0sNRNKZ.js.map +1 -0
- package/site/assets/login-BHg03x5C.js +339 -0
- package/site/assets/login-BHg03x5C.js.map +1 -0
- package/site/assets/login-bn0FJsfM.css +30 -0
- package/site/assets/typed-data-BgFaC7At.js +834 -0
- package/site/assets/typed-data-BgFaC7At.js.map +1 -0
- package/site/assets/utf8-C_RblMvC.js +172 -0
- package/site/assets/utf8-C_RblMvC.js.map +1 -0
- package/site/build-info.json +4 -0
- package/site/google_logo.png +0 -0
- package/site/index.html +12 -0
- package/site/login/index.html +49 -0
- package/site/logo.svg +104 -0
- package/site/x-logo-black.png +0 -0
- package/site/x-logo-white.png +0 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<title>Completing Sign-In...</title>
|
|
6
|
+
<style>
|
|
7
|
+
body {
|
|
8
|
+
font-family: system-ui, sans-serif;
|
|
9
|
+
padding: 16px;
|
|
10
|
+
}
|
|
11
|
+
#close-button {
|
|
12
|
+
display: none;
|
|
13
|
+
margin-top: 12px;
|
|
14
|
+
padding: 8px 16px;
|
|
15
|
+
font-size: 1rem;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
}
|
|
18
|
+
#debug-log {
|
|
19
|
+
display: none;
|
|
20
|
+
margin-top: 12px;
|
|
21
|
+
white-space: pre-wrap;
|
|
22
|
+
font-family: monospace;
|
|
23
|
+
font-size: 0.8rem;
|
|
24
|
+
background: #f4f4f4;
|
|
25
|
+
padding: 8px;
|
|
26
|
+
border-radius: 4px;
|
|
27
|
+
}
|
|
28
|
+
</style>
|
|
29
|
+
<script>
|
|
30
|
+
(function () {
|
|
31
|
+
var LOG = '[etherplay-bridge]';
|
|
32
|
+
var hashParams = new URLSearchParams(window.location.hash.slice(1));
|
|
33
|
+
var queryParams = new URLSearchParams(window.location.search);
|
|
34
|
+
var data = hashParams.get('data');
|
|
35
|
+
var iv = hashParams.get('iv');
|
|
36
|
+
var pubKey = hashParams.get('pubKey');
|
|
37
|
+
var id = hashParams.get('id');
|
|
38
|
+
|
|
39
|
+
// Testing aid: `?forceBroadcastChannel=true` skips the direct opener path
|
|
40
|
+
// so the BroadcastChannel fallback can be exercised even when the opener
|
|
41
|
+
// relationship survived.
|
|
42
|
+
var forceBroadcastChannel = queryParams.get('forceBroadcastChannel') === 'true';
|
|
43
|
+
|
|
44
|
+
// Debug mode: keep this window open (do NOT auto-close on ack or timeout)
|
|
45
|
+
// so the popup can be inspected, mirroring the :50000 login app behavior.
|
|
46
|
+
// A "close" button is shown instead. Activated by `?debug` (any value, even empty).
|
|
47
|
+
var debug = queryParams.has('debug');
|
|
48
|
+
|
|
49
|
+
var debugLogEl = null;
|
|
50
|
+
function log() {
|
|
51
|
+
var args = Array.prototype.slice.call(arguments);
|
|
52
|
+
console.log.apply(console, [LOG].concat(args));
|
|
53
|
+
if (debug && debugLogEl) {
|
|
54
|
+
try {
|
|
55
|
+
debugLogEl.textContent +=
|
|
56
|
+
args
|
|
57
|
+
.map(function (a) {
|
|
58
|
+
return typeof a === 'string' ? a : JSON.stringify(a);
|
|
59
|
+
})
|
|
60
|
+
.join(' ') + '\n';
|
|
61
|
+
} catch (e) {}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function closeWindow() {
|
|
66
|
+
window.close();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
function onReady() {
|
|
70
|
+
if (debug) {
|
|
71
|
+
debugLogEl = document.getElementById('debug-log');
|
|
72
|
+
debugLogEl.style.display = 'block';
|
|
73
|
+
var btn = document.getElementById('close-button');
|
|
74
|
+
btn.style.display = 'inline-block';
|
|
75
|
+
btn.addEventListener('click', closeWindow);
|
|
76
|
+
document.getElementById('status').textContent =
|
|
77
|
+
'Debug mode: result delivered. Inspect the console, then click "close".';
|
|
78
|
+
}
|
|
79
|
+
start();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function start() {
|
|
83
|
+
log('loaded', {id: id, forceBroadcastChannel: forceBroadcastChannel, debug: debug, origin: window.origin});
|
|
84
|
+
|
|
85
|
+
if (!(data && iv && pubKey && id)) {
|
|
86
|
+
console.error(LOG, 'missing redirect parameters');
|
|
87
|
+
document.getElementById('status').textContent =
|
|
88
|
+
'Error: missing redirect parameters. You can close this window.';
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
var payload = {
|
|
93
|
+
type: 'domain-redirect-result',
|
|
94
|
+
encryptedResult: data,
|
|
95
|
+
iv: iv,
|
|
96
|
+
ephemeralPublicKey: pubKey,
|
|
97
|
+
id: id,
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
// This page is SAME-ORIGIN with the parent. Two delivery paths are available;
|
|
101
|
+
// try the direct opener first (often re-established once same-origin),
|
|
102
|
+
// then fall back to BroadcastChannel. Parent accepts BOTH.
|
|
103
|
+
var channel = new BroadcastChannel('etherplay-connect');
|
|
104
|
+
|
|
105
|
+
// Close only after the parent acknowledges receipt (avoids dropping the message).
|
|
106
|
+
channel.onmessage = function (event) {
|
|
107
|
+
if (event && event.data && event.data.type === 'ack' && event.data.id === id) {
|
|
108
|
+
if (debug) {
|
|
109
|
+
log('received ack (debug mode: not auto-closing, use the close button)');
|
|
110
|
+
try {
|
|
111
|
+
channel.close();
|
|
112
|
+
} catch (e) {}
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
log('received ack, closing');
|
|
116
|
+
try {
|
|
117
|
+
channel.close();
|
|
118
|
+
} catch (e) {}
|
|
119
|
+
closeWindow();
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
// Path 1: direct opener (same-origin here, so our own origin is fine).
|
|
124
|
+
if (forceBroadcastChannel) {
|
|
125
|
+
log('forceBroadcastChannel=true -> skipping window.opener.postMessage path');
|
|
126
|
+
} else {
|
|
127
|
+
try {
|
|
128
|
+
if (window.opener && !window.opener.closed) {
|
|
129
|
+
log('delivering via window.opener.postMessage');
|
|
130
|
+
window.opener.postMessage(payload, window.origin);
|
|
131
|
+
} else {
|
|
132
|
+
log('window.opener not available, relying on BroadcastChannel');
|
|
133
|
+
}
|
|
134
|
+
} catch (e) {
|
|
135
|
+
console.warn(LOG, 'window.opener.postMessage failed', e);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// Path 2: BroadcastChannel (works even if opener is null).
|
|
140
|
+
log('delivering via BroadcastChannel');
|
|
141
|
+
channel.postMessage(payload);
|
|
142
|
+
|
|
143
|
+
// Safety fallback: close even if no ack arrives. Skipped in debug mode.
|
|
144
|
+
if (!debug) {
|
|
145
|
+
setTimeout(function () {
|
|
146
|
+
log('no ack within timeout, closing anyway');
|
|
147
|
+
try {
|
|
148
|
+
channel.close();
|
|
149
|
+
} catch (e) {}
|
|
150
|
+
closeWindow();
|
|
151
|
+
}, 3000);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
if (document.readyState === 'loading') {
|
|
156
|
+
document.addEventListener('DOMContentLoaded', onReady);
|
|
157
|
+
} else {
|
|
158
|
+
onReady();
|
|
159
|
+
}
|
|
160
|
+
})();
|
|
161
|
+
</script>
|
|
162
|
+
</head>
|
|
163
|
+
<body>
|
|
164
|
+
<p id="status">Completing sign-in, redirecting back to application...</p>
|
|
165
|
+
<button id="close-button" type="button">close</button>
|
|
166
|
+
<pre id="debug-log"></pre>
|
|
167
|
+
</body>
|
|
168
|
+
</html>
|
|
@@ -0,0 +1,495 @@
|
|
|
1
|
+
|
|
2
|
+
main.svelte-17t2b8q {
|
|
3
|
+
padding: 16px;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
min-height: 100vh;
|
|
8
|
+
max-width: 510px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
button.svelte-17t2b8q {
|
|
12
|
+
padding: 0.75rem 1rem;
|
|
13
|
+
border: 0.0625rem solid #524ed2;
|
|
14
|
+
border-radius: 0.25rem;
|
|
15
|
+
outline: none;
|
|
16
|
+
background-color: #524ed2;
|
|
17
|
+
box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
|
18
|
+
color: #fff;
|
|
19
|
+
font-weight: 400;
|
|
20
|
+
font-size: 1rem;
|
|
21
|
+
line-height: 1.5;
|
|
22
|
+
text-align: center;
|
|
23
|
+
text-decoration: none;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
user-select: none;
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 50px;
|
|
28
|
+
margin-bottom: 1rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
p.svelte-17t2b8q {
|
|
32
|
+
color: #222222;
|
|
33
|
+
font-size: 1.5rem;
|
|
34
|
+
margin-block: 1rem;
|
|
35
|
+
font-weight: 400;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@media (prefers-color-scheme: dark) {
|
|
39
|
+
p.svelte-17t2b8q {
|
|
40
|
+
color: #c2c7d0;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/*
|
|
45
|
+
* Copied from the mechanism components rather than inherited, because Svelte scopes styles to
|
|
46
|
+
* the component that declares them: these buttons live here now, so their appearance has to as
|
|
47
|
+
* well, or the security decision gets unstyled controls.
|
|
48
|
+
*/
|
|
49
|
+
button.svelte-6x8unw {
|
|
50
|
+
padding: 0.75rem 1rem;
|
|
51
|
+
border: 0.0625rem solid #524ed2;
|
|
52
|
+
border-radius: 0.25rem;
|
|
53
|
+
outline: none;
|
|
54
|
+
background-color: #524ed2;
|
|
55
|
+
box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
|
56
|
+
color: #fff;
|
|
57
|
+
font-weight: 400;
|
|
58
|
+
font-size: 1rem;
|
|
59
|
+
line-height: 1.5;
|
|
60
|
+
text-align: center;
|
|
61
|
+
text-decoration: none;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
user-select: none;
|
|
64
|
+
width: 100%;
|
|
65
|
+
height: 50px;
|
|
66
|
+
margin-bottom: 1rem;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.deny.svelte-6x8unw {
|
|
70
|
+
border: 0.0625rem solid #c74a24;
|
|
71
|
+
background-color: #c74a24;
|
|
72
|
+
color: #fff;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
p.svelte-6x8unw {
|
|
76
|
+
color: #222222;
|
|
77
|
+
font-size: 1.5rem;
|
|
78
|
+
margin-block: 1rem;
|
|
79
|
+
font-weight: 400;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.detail.svelte-6x8unw {
|
|
83
|
+
font-size: 1.1rem;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.small.svelte-6x8unw {
|
|
87
|
+
font-size: 0.9rem;
|
|
88
|
+
color: #555555;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.permissions.svelte-6x8unw {
|
|
92
|
+
font-size: 1rem;
|
|
93
|
+
color: #555555;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
code.svelte-6x8unw {
|
|
97
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
98
|
+
font-size: 0.95em;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
main.svelte-ic5k7a {
|
|
102
|
+
width: 100%;
|
|
103
|
+
height: 100%;
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-direction: column;
|
|
106
|
+
justify-content: center;
|
|
107
|
+
align-items: center;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
main.svelte-ic5k7a picture:where(.svelte-ic5k7a) {
|
|
111
|
+
max-width: min(30%, 128px);
|
|
112
|
+
max-height: min(30%, 128px);
|
|
113
|
+
}
|
|
114
|
+
main.svelte-ic5k7a img:where(.svelte-ic5k7a) {
|
|
115
|
+
width: 100%;
|
|
116
|
+
height: 100%;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
main.svelte-ic5k7a img.animated:where(.svelte-ic5k7a) {
|
|
120
|
+
animation: svelte-ic5k7a-pulse ease-in 1400ms infinite alternate;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.wrapper.svelte-ic5k7a {
|
|
124
|
+
display: flex;
|
|
125
|
+
gap: 1rem;
|
|
126
|
+
flex-direction: column;
|
|
127
|
+
justify-content: center;
|
|
128
|
+
align-items: center;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
button.svelte-ic5k7a {
|
|
132
|
+
padding: 0.75rem 1rem;
|
|
133
|
+
border: 0.0625rem solid black;
|
|
134
|
+
border-radius: 0.25rem;
|
|
135
|
+
outline: none;
|
|
136
|
+
background-color: black;
|
|
137
|
+
box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
|
138
|
+
color: white;
|
|
139
|
+
font-weight: 400;
|
|
140
|
+
font-size: 1rem;
|
|
141
|
+
line-height: 1.5;
|
|
142
|
+
text-align: center;
|
|
143
|
+
text-decoration: none;
|
|
144
|
+
cursor: pointer;
|
|
145
|
+
user-select: none;
|
|
146
|
+
width: 100%;
|
|
147
|
+
height: 50px;
|
|
148
|
+
margin-bottom: 1rem;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
@media (prefers-color-scheme: dark) {
|
|
153
|
+
button.svelte-ic5k7a {
|
|
154
|
+
background-color: white;
|
|
155
|
+
color: black;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
@keyframes svelte-ic5k7a-pulse {
|
|
160
|
+
50% {
|
|
161
|
+
transform: scale(0.9);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.otp-form.svelte-ntyijn {
|
|
166
|
+
width: 100%;
|
|
167
|
+
display: flex;
|
|
168
|
+
gap: 20px;
|
|
169
|
+
align-items: center;
|
|
170
|
+
justify-content: center;
|
|
171
|
+
}
|
|
172
|
+
.otp-form.svelte-ntyijn input:where(.svelte-ntyijn) {
|
|
173
|
+
background-color: #f4f4f4;
|
|
174
|
+
color: #121517;
|
|
175
|
+
outline: 2px solid rgb(66, 66, 66);
|
|
176
|
+
border: none;
|
|
177
|
+
font-size: 32px;
|
|
178
|
+
text-align: center;
|
|
179
|
+
padding: 10px;
|
|
180
|
+
width: 100%;
|
|
181
|
+
max-width: 70px;
|
|
182
|
+
height: 70px;
|
|
183
|
+
border-radius: 4px;
|
|
184
|
+
}
|
|
185
|
+
@media (prefers-color-scheme: dark) {
|
|
186
|
+
.otp-form.svelte-ntyijn input:where(.svelte-ntyijn) {
|
|
187
|
+
background-color: #121517;
|
|
188
|
+
color: white;
|
|
189
|
+
outline: 2px solid rgb(66, 66, 66);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
.otp-form.svelte-ntyijn input:where(.svelte-ntyijn):focus-visible {
|
|
193
|
+
outline: 4px solid royalblue;
|
|
194
|
+
}
|
|
195
|
+
@media (prefers-color-scheme: dark) {
|
|
196
|
+
.otp-form.svelte-ntyijn input:where(.svelte-ntyijn):focus-visible {
|
|
197
|
+
outline: 2px solid royalblue;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
.otp-form.svelte-ntyijn input.filled:where(.svelte-ntyijn) {
|
|
201
|
+
outline: 4px solid rgb(7, 192, 99);
|
|
202
|
+
}
|
|
203
|
+
@media (prefers-color-scheme: dark) {
|
|
204
|
+
.otp-form.svelte-ntyijn input.filled:where(.svelte-ntyijn) {
|
|
205
|
+
outline: 2px solid rgb(7, 192, 99);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
main.svelte-oxfbbx {
|
|
210
|
+
padding: 16px;
|
|
211
|
+
display: flex;
|
|
212
|
+
flex-direction: column;
|
|
213
|
+
justify-content: space-between;
|
|
214
|
+
min-height: 100vh;
|
|
215
|
+
max-width: 510px;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
hr.svelte-oxfbbx {
|
|
219
|
+
border: 4px solid #eeeeee;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
@media (prefers-color-scheme: dark) {
|
|
223
|
+
hr.svelte-oxfbbx {
|
|
224
|
+
border: 4px solid #202632;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
h1.svelte-oxfbbx {
|
|
229
|
+
font-size: max(min(5vw, 2rem), 1.5rem);
|
|
230
|
+
color: #222222;
|
|
231
|
+
font-weight: 700;
|
|
232
|
+
line-height: 1.125;
|
|
233
|
+
margin-bottom: 1rem;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
@media (prefers-color-scheme: dark) {
|
|
237
|
+
h1.svelte-oxfbbx {
|
|
238
|
+
color: #f0f1f3;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
input.svelte-oxfbbx {
|
|
243
|
+
border: 0.0625rem solid #aaa1a0;
|
|
244
|
+
background-color: #eeeeee;
|
|
245
|
+
color: #222222;
|
|
246
|
+
border-radius: 0.25rem;
|
|
247
|
+
outline: none;
|
|
248
|
+
box-shadow: none;
|
|
249
|
+
font-weight: 400;
|
|
250
|
+
font-size: 1rem;
|
|
251
|
+
line-height: 1.5;
|
|
252
|
+
width: 100%;
|
|
253
|
+
height: 50px;
|
|
254
|
+
margin-bottom: 1rem;
|
|
255
|
+
padding: 0.75rem 1rem;
|
|
256
|
+
font-family: inherit;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
@media (prefers-color-scheme: dark) {
|
|
260
|
+
input.svelte-oxfbbx {
|
|
261
|
+
border: 0.0625rem solid #2a3140;
|
|
262
|
+
background-color: #1c212c;
|
|
263
|
+
color: #e0e3e7;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
input.svelte-oxfbbx::placeholder {
|
|
268
|
+
color: #8891a4;
|
|
269
|
+
font-family: inherit;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
button.svelte-oxfbbx {
|
|
273
|
+
padding: 0.75rem 1rem;
|
|
274
|
+
border: 0.0625rem solid #524ed2;
|
|
275
|
+
border-radius: 0.25rem;
|
|
276
|
+
outline: none;
|
|
277
|
+
background-color: #524ed2;
|
|
278
|
+
box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
|
279
|
+
color: #fff;
|
|
280
|
+
font-weight: 400;
|
|
281
|
+
font-size: 1rem;
|
|
282
|
+
line-height: 1.5;
|
|
283
|
+
text-align: center;
|
|
284
|
+
text-decoration: none;
|
|
285
|
+
cursor: pointer;
|
|
286
|
+
user-select: none;
|
|
287
|
+
width: 100%;
|
|
288
|
+
height: 50px;
|
|
289
|
+
margin-bottom: 1rem;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
p.svelte-oxfbbx {
|
|
294
|
+
color: #222222;
|
|
295
|
+
font-size: 1.5rem;
|
|
296
|
+
margin-block: 1rem;
|
|
297
|
+
font-weight: 400;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
@media (prefers-color-scheme: dark) {
|
|
301
|
+
p.svelte-oxfbbx {
|
|
302
|
+
color: #c2c7d0;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.logo.svelte-oxfbbx {
|
|
307
|
+
width: 100%;
|
|
308
|
+
max-width: 100%;
|
|
309
|
+
display: flex;
|
|
310
|
+
justify-content: center;
|
|
311
|
+
gap: 0.5rem;
|
|
312
|
+
padding: 0.3rem;
|
|
313
|
+
align-items: center;
|
|
314
|
+
font-size: max(min(10vw, 3rem), 1rem);
|
|
315
|
+
font-family: Audiowide;
|
|
316
|
+
text-decoration: none;
|
|
317
|
+
color: #222222;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
@media (prefers-color-scheme: dark) {
|
|
321
|
+
.logo.svelte-oxfbbx {
|
|
322
|
+
color: #ffffff;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
main.svelte-1ff7dxh {
|
|
327
|
+
width: 100%;
|
|
328
|
+
height: 100%;
|
|
329
|
+
display: flex;
|
|
330
|
+
flex-direction: column;
|
|
331
|
+
justify-content: center;
|
|
332
|
+
align-items: center;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
main.svelte-1ff7dxh .wrapper:where(.svelte-1ff7dxh) {
|
|
336
|
+
max-width: min(30%, 128px);
|
|
337
|
+
max-height: min(30%, 128px);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.rotate.svelte-1ff7dxh {
|
|
341
|
+
animation: svelte-1ff7dxh-spinner 1.5s linear infinite;
|
|
342
|
+
}
|
|
343
|
+
@keyframes svelte-1ff7dxh-spinner {
|
|
344
|
+
to {
|
|
345
|
+
transform: rotate(360deg);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/* SPINNER JUST FOR DEMO */
|
|
350
|
+
.spinner.svelte-1ff7dxh {
|
|
351
|
+
display: inline-block;
|
|
352
|
+
width: 50px;
|
|
353
|
+
height: 50px;
|
|
354
|
+
border-radius: 50%;
|
|
355
|
+
box-shadow: inset -2px 0 0 2px #0bf;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
main.svelte-1sfrr42 {
|
|
359
|
+
padding: 16px;
|
|
360
|
+
display: flex;
|
|
361
|
+
flex-direction: column;
|
|
362
|
+
justify-content: space-between;
|
|
363
|
+
min-height: 100vh;
|
|
364
|
+
max-width: 510px;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
hr.svelte-1sfrr42 {
|
|
368
|
+
border: 4px solid #eeeeee;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
@media (prefers-color-scheme: dark) {
|
|
372
|
+
hr.svelte-1sfrr42 {
|
|
373
|
+
border: 4px solid #202632;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
h1.svelte-1sfrr42 {
|
|
378
|
+
font-size: max(min(5vw, 2rem), 1.5rem);
|
|
379
|
+
color: #222222;
|
|
380
|
+
font-weight: 700;
|
|
381
|
+
line-height: 1.125;
|
|
382
|
+
margin-bottom: 1rem;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
@media (prefers-color-scheme: dark) {
|
|
386
|
+
h1.svelte-1sfrr42 {
|
|
387
|
+
color: #f0f1f3;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
button.svelte-1sfrr42 {
|
|
392
|
+
padding: 0.75rem 1rem;
|
|
393
|
+
border: 0.0625rem solid #524ed2;
|
|
394
|
+
border-radius: 0.25rem;
|
|
395
|
+
outline: none;
|
|
396
|
+
background-color: #524ed2;
|
|
397
|
+
box-shadow: 0 0 0 rgba(0, 0, 0, 0);
|
|
398
|
+
color: #fff;
|
|
399
|
+
font-weight: 400;
|
|
400
|
+
font-size: 1rem;
|
|
401
|
+
line-height: 1.5;
|
|
402
|
+
text-align: center;
|
|
403
|
+
text-decoration: none;
|
|
404
|
+
cursor: pointer;
|
|
405
|
+
user-select: none;
|
|
406
|
+
width: 100%;
|
|
407
|
+
height: 50px;
|
|
408
|
+
margin-bottom: 1rem;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
p.svelte-1sfrr42 {
|
|
413
|
+
color: #222222;
|
|
414
|
+
font-size: 1.5rem;
|
|
415
|
+
margin-block: 1rem;
|
|
416
|
+
font-weight: 400;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
@media (prefers-color-scheme: dark) {
|
|
420
|
+
p.svelte-1sfrr42 {
|
|
421
|
+
color: #c2c7d0;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.logo.svelte-1sfrr42 {
|
|
426
|
+
width: 100%;
|
|
427
|
+
max-width: 100%;
|
|
428
|
+
display: flex;
|
|
429
|
+
justify-content: center;
|
|
430
|
+
gap: 0.5rem;
|
|
431
|
+
padding: 0.3rem;
|
|
432
|
+
align-items: center;
|
|
433
|
+
font-size: max(min(10vw, 3rem), 1rem);
|
|
434
|
+
font-family: Audiowide;
|
|
435
|
+
text-decoration: none;
|
|
436
|
+
color: #222222;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
@media (prefers-color-scheme: dark) {
|
|
440
|
+
.logo.svelte-1sfrr42 {
|
|
441
|
+
color: #ffffff;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.container.svelte-1sfrr42 {
|
|
446
|
+
display: grid;
|
|
447
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
448
|
+
grid-template-rows: 1fr 1fr 1fr;
|
|
449
|
+
gap: 3px 3px;
|
|
450
|
+
grid-template-areas:
|
|
451
|
+
'. . .'
|
|
452
|
+
'. . .'
|
|
453
|
+
'. . .';
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
main.svelte-i2fmd0 {
|
|
457
|
+
padding: 16px;
|
|
458
|
+
display: flex;
|
|
459
|
+
flex-direction: column;
|
|
460
|
+
justify-content: space-between;
|
|
461
|
+
min-height: 100vh;
|
|
462
|
+
max-width: 510px;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
p.svelte-i2fmd0 {
|
|
466
|
+
color: #222222;
|
|
467
|
+
font-size: 1.5rem;
|
|
468
|
+
margin-block: 1rem;
|
|
469
|
+
font-weight: 400;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.root.svelte-i2fmd0 {
|
|
473
|
+
width: 100%;
|
|
474
|
+
height: 100%;
|
|
475
|
+
line-height: 1.5;
|
|
476
|
+
font-family: system-ui, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, 'Helvetica Neue',
|
|
477
|
+
sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
478
|
+
display: flex;
|
|
479
|
+
justify-content: center;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.banner.svelte-i2fmd0 {
|
|
483
|
+
padding: 1rem;
|
|
484
|
+
position: absolute;
|
|
485
|
+
width: 100%;
|
|
486
|
+
opacity: 0.9;
|
|
487
|
+
display: flex;
|
|
488
|
+
justify-content: space-between;
|
|
489
|
+
|
|
490
|
+
background-color: #d93526;
|
|
491
|
+
> p:where(.svelte-i2fmd0) {
|
|
492
|
+
color: white;
|
|
493
|
+
font-size: 1rem;
|
|
494
|
+
}
|
|
495
|
+
}
|