361 lines
9.3 KiB
HTML
Executable File
361 lines
9.3 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<script>
|
|
const ua = window.navigator.userAgent;
|
|
if (
|
|
ua.includes("Instagram")// || ua.includes("FBAN") || ua.includes("FBAV") || ua.includes("FBIOS")
|
|
) {
|
|
if (/iPad|iPhone|iPod/.test(ua)) {
|
|
window.location.href = "x-safari-" + window.location.href;
|
|
}
|
|
}
|
|
</script>
|
|
<!-- Start cookieyes banner -->
|
|
<script id="cookieyes" type="text/javascript"
|
|
src="https://cdn-cookieyes.com/client_data/818f2bf465f49092b0fd7078/script.js"></script>
|
|
<!-- End cookieyes banner -->
|
|
<style>
|
|
.varioqub-antiflicker {
|
|
opacity: 0 !important;
|
|
}
|
|
</style>
|
|
<script>
|
|
(function (a, n, t, i, f, li, c, k, e, r) {
|
|
a[t] =
|
|
a[t] ||
|
|
function () {
|
|
(a[t].a = a[t].a || []).push(arguments);
|
|
};
|
|
n.classList.add(i);
|
|
c = function () {
|
|
n.classList.remove(i);
|
|
};
|
|
li.callback = c;
|
|
a[t].antiFlicker = li;
|
|
setTimeout(c, f);
|
|
})(
|
|
window,
|
|
document.documentElement,
|
|
"ymab",
|
|
"varioqub-antiflicker",
|
|
4000,
|
|
{ "metrika.XXXX": true }
|
|
);
|
|
</script>
|
|
|
|
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
<meta name="robots" content="noindex, nofollow" />
|
|
<!-- <link rel="preload" as="image" href="/leo.webp" fetchpriority="high" /> -->
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
|
<link rel="manifest" href="/site.webmanifest" />
|
|
<meta name="msapplication-TileColor" content="#da532c" />
|
|
<meta name="theme-color" content="#ffffff" />
|
|
<title>WIT LAB</title>
|
|
<style>
|
|
.splash-screen {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin: 0 auto;
|
|
height: 100%;
|
|
max-width: 560px;
|
|
padding: 0 32px;
|
|
}
|
|
|
|
/* .splash-screen img {
|
|
width: 100%;
|
|
animation-name: loading;
|
|
animation-duration: 3s;
|
|
animation-iteration-count: infinite;
|
|
}
|
|
@keyframes loading {
|
|
from {
|
|
transform: scale(1.5);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: scale(1);
|
|
opacity: 100%;
|
|
}
|
|
} */
|
|
.loader {
|
|
display: block;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
margin: auto;
|
|
width: 32px;
|
|
height: 32px;
|
|
animation: loader-1-1 4.8s linear infinite;
|
|
}
|
|
|
|
.loader-container {
|
|
position: absolute;
|
|
/* position: relative; */
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
width: 32px;
|
|
height: 32px;
|
|
clear: both;
|
|
}
|
|
|
|
.loader.loader__black span::after {
|
|
border-color: #000;
|
|
}
|
|
|
|
.loader.loader__white span::after {
|
|
border-color: #fff;
|
|
}
|
|
|
|
.loader.loader__red span::after {
|
|
border-color: #ff2c57;
|
|
}
|
|
|
|
@keyframes loader-1-1 {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.loader span {
|
|
display: block;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
margin: auto;
|
|
height: 32px;
|
|
width: 32px;
|
|
clip: rect(0, 32px, 32px, 16px);
|
|
animation: loader-1-2 1.2s linear infinite;
|
|
}
|
|
|
|
@keyframes loader-1-2 {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
transform: rotate(220deg);
|
|
}
|
|
}
|
|
|
|
.loader span::after {
|
|
position: absolute;
|
|
box-sizing: border-box;
|
|
content: "";
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
margin: auto;
|
|
height: 32px;
|
|
width: 32px;
|
|
clip: rect(0, 32px, 32px, 16px);
|
|
border: 3px solid transparent;
|
|
border-radius: 50%;
|
|
animation: loader-1-3 1.2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
|
|
}
|
|
|
|
@keyframes loader-1-3 {
|
|
0% {
|
|
transform: rotate(-140deg);
|
|
}
|
|
|
|
50% {
|
|
transform: rotate(-160deg);
|
|
}
|
|
|
|
100% {
|
|
transform: rotate(140deg);
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<!-- Load NMI Collect.js -->
|
|
<script type="module">
|
|
import { createApi } from "/src/api/api.ts"
|
|
const api = createApi();
|
|
api.getPaymentConfig(null).then((paymentConfig) => {
|
|
const nmiPublicKey = paymentConfig?.data?.nmi?.publicKey;
|
|
|
|
const scriptElement = document.createElement("script");
|
|
scriptElement.src = "https://hms.transactiongateway.com/token/Collect.js";
|
|
scriptElement.setAttribute("data-tokenization-key", nmiPublicKey);
|
|
scriptElement.setAttribute("data-variant", "inline");
|
|
document.head.appendChild(scriptElement);
|
|
})
|
|
</script>
|
|
<!-- Load NMI Collect.js -->
|
|
<!-- Klaviyo Metric -->
|
|
<script type="module">
|
|
const klaviyoKeys = {
|
|
develop: "RM7w5r",
|
|
production: "Si7Jff",
|
|
};
|
|
const script = document.createElement("script");
|
|
script.src = `https://static.klaviyo.com/onsite/js/klaviyo.js?company_id=${klaviyoKeys[import.meta.env.MODE]
|
|
}`;
|
|
script.type = "text/javascript";
|
|
script.async = "";
|
|
document.head.appendChild(script);
|
|
</script>
|
|
<script>
|
|
!(function () {
|
|
if (!window.klaviyo) {
|
|
window._klOnsite = window._klOnsite || [];
|
|
try {
|
|
window.klaviyo = new Proxy(
|
|
{},
|
|
{
|
|
get: function (n, i) {
|
|
return "push" === i
|
|
? function () {
|
|
var n;
|
|
(n = window._klOnsite).push.apply(n, arguments);
|
|
}
|
|
: function () {
|
|
for (
|
|
var n = arguments.length, o = new Array(n), w = 0;
|
|
w < n;
|
|
w++
|
|
)
|
|
o[w] = arguments[w];
|
|
var t =
|
|
"function" == typeof o[o.length - 1]
|
|
? o.pop()
|
|
: void 0,
|
|
e = new Promise(function (n) {
|
|
window._klOnsite.push(
|
|
[i].concat(o, [
|
|
function (i) {
|
|
t && t(i), n(i);
|
|
},
|
|
])
|
|
);
|
|
});
|
|
return e;
|
|
};
|
|
},
|
|
}
|
|
);
|
|
} catch (n) {
|
|
(window.klaviyo = window.klaviyo || []),
|
|
(window.klaviyo.push = function () {
|
|
var n;
|
|
(n = window._klOnsite).push.apply(n, arguments);
|
|
});
|
|
}
|
|
}
|
|
})();
|
|
</script>
|
|
<!-- Klaviyo Metric -->
|
|
<!-- Varioqub experiments -->
|
|
<script type="text/javascript">
|
|
(function (e, x, pe, r, i, me, nt) {
|
|
(e[i] =
|
|
e[i] ||
|
|
function () {
|
|
(e[i].a = e[i].a || []).push(arguments);
|
|
}),
|
|
(me = x.createElement(pe)),
|
|
(me.async = 1),
|
|
(me.src = r),
|
|
(nt = x.getElementsByTagName(pe)[0]),
|
|
nt.parentNode.insertBefore(me, nt);
|
|
})(
|
|
window,
|
|
document,
|
|
"script",
|
|
"https://abt.s3.yandex.net/expjs/latest/exp.js",
|
|
"ymab"
|
|
);
|
|
ymab("metrika.95799066", "setConfig", {
|
|
enableJS: true,
|
|
enableWatch: true,
|
|
});
|
|
ymab("metrika.95799066", "init" /*, {clientFeatures}, {callback}*/);
|
|
</script>
|
|
<!-- Varioqub experiments -->
|
|
<!-- Yandex.Metrika counter -->
|
|
<script type="text/javascript">
|
|
(function (m, e, t, r, i, k, a) {
|
|
m[i] =
|
|
m[i] ||
|
|
function () {
|
|
(m[i].a = m[i].a || []).push(arguments);
|
|
};
|
|
m[i].l = 1 * new Date();
|
|
for (var j = 0; j < document.scripts.length; j++) {
|
|
if (document.scripts[j].src === r) {
|
|
return;
|
|
}
|
|
}
|
|
(k = e.createElement(t)),
|
|
(a = e.getElementsByTagName(t)[0]),
|
|
(k.async = 1),
|
|
(k.src = r),
|
|
a.parentNode.insertBefore(k, a);
|
|
})(
|
|
window,
|
|
document,
|
|
"script",
|
|
"https://cdn.jsdelivr.net/npm/yandex-metrica-watch/tag.js",
|
|
"ym"
|
|
);
|
|
</script>
|
|
<noscript>
|
|
<div>
|
|
<img src="https://mc.yandex.ru/watch/95799066" style="position: absolute; left: -9999px" alt="" />
|
|
</div>
|
|
</noscript>
|
|
<!-- /Yandex.Metrika counter -->
|
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
<!-- Google Tag Manager (noscript) -->
|
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P3Q4DBBT" height="0" width="0"
|
|
style="display: none; visibility: hidden"></iframe></noscript>
|
|
<!-- End Google Tag Manager (noscript) -->
|
|
|
|
<!-- Google tag (gtag.js) -->
|
|
<!-- <script async src="https://www.googletagmanager.com/gtag/js?id=G-4N17LL3BB5"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag() { dataLayer.push(arguments); }
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'G-4N17LL3BB5');
|
|
</script> -->
|
|
|
|
|
|
<div id="root">
|
|
<div class="splash-screen">
|
|
<!-- <img src="/leo.webp" alt="WIT LAB - Energy of your Horoscope" /> -->
|
|
<div class="loader-container">
|
|
<div class="loader loader__black">
|
|
<span></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
|
|
</html> |