forked from pelikhan/arcade-webcam
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
193 lines (175 loc) · 9.53 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
---
# this is an empty front matter
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ site.github.project_title }}</title>
<meta name="description" content="{{ site.github.project_tagline }}" />
<meta name="author" content="{{ site.github.owner_name }}">
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="/" />
<meta name="twitter:title" content="{{ site.github.project_tagline }}" />
<meta name="twitter:description" content="{{ site.github.project_tagline }}" />
<meta name="twitter:image" content="./icon.png" />
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="{{ site.github.project_title }}">
<meta name="apple-mobile-web-app-status-bar-style" content="translucent-black">
<meta name="format-detection" content="telephone=no">
<meta name="application-name" content="{{ site.github.project_title }}">
<meta name="theme-color" content="#000">
<meta property="og:title" content="{{ site.github.project_title }}" />
<meta property="og:site_name" content="{{ site.github.project_title }}" />
<meta property="og:description" content="{{ site.github.project_tagline }}" />
<meta property="og:image" content="./icon.png" />
<link rel="apple-touch-icon" href="./icon.png">
<link rel="icon" type="image/png" href="./icon.png">
<link rel="shortcut icon" href="./icon.png">
<script type="text/javascript" src="./assets/js/seriously/seriously.js"></script>
<script type="text/javascript" src="./assets/js/seriously/effects/seriously.colorcube.js"></script>
<script type="text/javascript" src="./assets/js/loader.js?v={{ site.github.build_revision }}"></script>
<script type="text/javascript" src="./assets/js/custom.js?v={{ site.github.build_revision }}"></script>
<style>
body {
background: black;
color: white;
font-family: monospace;
overflow: hidden;
font-size: 14pt;
}
.embed {
background: transparent;
}
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: calc(100% - 1.5em);
border: none;
}
.nofooter iframe {
height: 100%;
}
footer {
color: grey;
position: absolute;
bottom: 0;
width: 100%;
left: 0;
z-index: 100;
text-align: center;
font-size: 1em;
margin-bottom: 0.25em;
}
footer a {
color: grey;
}
.embed footer,
.embed footer a {
color: black;
}
#fullscreen {
position: absolute;
right: 0.25rem;
bottom: 0;
cursor: pointer;
}
.lds-ripple {
width: 80px;
height: 80px;
margin: auto;
position: absolute;
margin: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -1;
}
.lds-ripple div {
position: absolute;
border: 4px solid #fff;
opacity: 1;
border-radius: 50%;
animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
animation-delay: -0.5s;
}
@keyframes lds-ripple {
0% {
top: 36px;
left: 36px;
width: 0;
height: 0;
opacity: 1;
}
100% {
top: 0px;
left: 0px;
width: 72px;
height: 72px;
opacity: 0;
}
}
</style>
</head>
<body id="root">
<div id="loader" class="lds-ripple">
<div></div>
<div></div>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" viewBox="0 0 32 32" xml:space="preserve"
id="svg2">
<style type="text/css" id="style4"></style>
<g id="g4212" transform="matrix(.79626 0 0 .79626 -68.322 9.868)">
<path
d="M105.989-5.487v.01a1.91 1.91 0 00-1.613 1.83c0 .779.417 1.119.417 1.15.413.435.238.913-.589.874 0 0-3.009.015-3.066 0a.724.724 0 00-.53.696v9.894c-.001.39.314.705.705.705h9.848c.39 0 .705-.314.705-.705V5.475c-.126-.423-.489-.463-.827-.141-.032 0-.369.417-1.147.417-.93-.03-1.69-.72-1.83-1.616h-.013a6.771 6.771 0 010-.494h.012c.142-.897.9-1.587 1.83-1.616.78 0 1.116.417 1.148.417.329.313.695.238.827-.138V-.927a.72.72 0 00-.527-.696c-.057.015-3.07 0-3.07 0-.74.06-.998-.44-.585-.874 0-.031.417-.371.417-1.15-.029-.93-.72-1.69-1.616-1.83v-.01a6.241 6.241 0 00-.496 0z"
id="path167" fill="#fff" fill-opacity="1" stroke-width="1.57" />
<path
d="M98.633-7.18c-.917 0-1.624.252-2.158.774-.534.521-.802 1.208-.822 2.094a552.379 552.379 0 01-.062 2.732c-.02.776-.081 1.354-.187 1.766-.118.46-.331.853-.637 1.168-.272.28-.684.587-1.254.938-.255.156-.368.387-.368.748 0 .351.077.481.11.521.12.145.32.3.592.463.376.226.702.494.972.795.3.334.518.786.662 1.38.052.213.112.882.172 4.228.006.566.138 1.07.39 1.502.25.431.584.753 1.02.984.443.235.971.356 1.57.356.974 0 1.055-.377 1.055-.764 0-.266-.054-.465-.157-.591a.501.501 0 00-.334-.2c-.374-.042-.66-.103-.87-.187a1.29 1.29 0 01-.678-.622c-.127-.244-.206-.588-.242-1.049a22.82 22.82 0 01-.046-1.68c0-.707-.034-1.327-.099-1.846a4.868 4.868 0 00-.31-1.26 2.848 2.848 0 00-.52-.843 4.267 4.267 0 00-.874-.702l-.773-.485.773-.487c.502-.318.88-.657 1.128-1.012.244-.35.413-.783.503-1.282.099-.55.153-1.333.169-2.333 0-.713.014-1.247.042-1.625.032-.437.105-.774.221-1.027.147-.317.382-.548.68-.672.214-.086.506-.152.896-.205a.429.429 0 00.224-.089.622.622 0 00.178-.251 1.11 1.11 0 00.089-.451c0-.268-.07-.45-.215-.57-.175-.144-.456-.215-.84-.215z"
id="path165" fill="#fff" fill-opacity="1" stroke-width="1.57" />
<path
d="M113.887-7.182c-.974 0-1.055.377-1.055.763 0 .267.05.467.153.592.1.12.205.182.338.2.374.042.658.103.867.186.294.116.524.326.678.623.127.245.206.588.242 1.048.032.397.046.945.046 1.68 0 .708.034 1.328.098 1.846.06.49.166.917.31 1.264.138.332.313.616.521.843.22.239.511.473.871.699l.773.487-.77.488c-.502.317-.882.656-1.128 1.009-.244.35-.414.78-.503 1.278-.099.551-.154 1.338-.169 2.337 0 .712-.015 1.246-.043 1.625-.03.437-.1.77-.217 1.024a1.294 1.294 0 01-.68.674c-.214.087-.506.154-.896.206a.44.44 0 00-.227.089.64.64 0 00-.178.251c-.06.135-.086.282-.086.45 0 .268.066.45.212.571.174.144.458.218.843.218.917 0 1.62-.254 2.155-.776.534-.522.802-1.205.822-2.091.023-1.095.046-2.007.064-2.735.02-.777.079-1.355.184-1.766.12-.46.333-.854.638-1.168.273-.28.684-.587 1.254-.938.254-.157.368-.385.368-.746 0-.35-.077-.483-.11-.524-.119-.143-.316-.298-.589-.463a4.268 4.268 0 01-.975-.794c-.3-.334-.515-.784-.66-1.377-.051-.213-.114-.885-.174-4.23-.007-.568-.138-1.072-.39-1.503a2.524 2.524 0 00-1.02-.984c-.443-.235-.968-.356-1.567-.356z"
id="path163" fill="#fff" fill-opacity="1" stroke-width="1.57" />
</g>
<path
d="M28.621 31.422c.224-.102.208 1.099.208-15.49 0-16.588.016-15.388-.208-15.49-.144-.065-24.6-.065-24.744 0-.223.102-.207-1.1-.206 15.498.001 12.58.01 15.259.052 15.334.112.203-.702.19 12.515.192 9.446.001 12.307-.01 12.383-.044zm-9.415-1.705c-.283-.11-.57-.4-.678-.687a1.216 1.216 0 011.131-1.655c.669 0 1.213.544 1.213 1.213 0 .853-.862 1.437-1.666 1.129zm-8.337-1.054v-.757H9.353v-1.668h1.516V24.723H12.536V26.238h1.516v1.668h-1.516V29.42H10.869zm10.99-1.22c-.284-.109-.57-.399-.678-.686a1.204 1.204 0 01.276-1.298c.762-.762 2.067-.222 2.067.855 0 .854-.862 1.438-1.666 1.13zM4.765 23.475l-.111-.11V1.377l.11-.111.111-.11h22.746l.11.11.112.11V23.366l-.111.11-.11.111H4.875z"
id="path4210" fill="#fff" fill-opacity="1" />
</svg>
</div>
<iframe id="simframe" allowfullscreen="allowfullscreen"
sandbox="allow-popups allow-forms allow-scripts allow-same-origin">
</iframe>
<footer id="footer">
<a target="blank" rel="nofollow noopener"
href="https://{{ site.github.owner_name }}.github.io/{{ site.github.repository_name }}/README">Manual</a>
<a target="blank" rel="nofollow noopener"
href="https://arcade.makecode.com/#pub:github:{{ site.github.owner_name }}/{{ site.github.repository_name }}">Edit</a>
<a target="blank" rel="nofollow noopener"
href="https://github.com/{{ site.github.owner_name }}/{{ site.github.repository_name }}">GitHub</a>
<span id="version"></span>
<div id="fullscreen">⇲</div>
</footer>
<script type="text/javascript">
makeCodeRun({ js: "./assets/js/binary.js?v={{ site.github.build_revision }}" });
if (window.location && window.location.search) {
var noFooter = /nofooter=1/i.test(window.location.search);
var embed = /embed=1/i.test(window.location.search);
var root = document.querySelector("#root");
if (noFooter) {
var footer = document.querySelector("#footer");
if (root)
root.className += " nofooter";
if (footer)
footer.remove();
}
if (embed && root) {
root.className += " embed";
}
}
</script>
</body>
</html>