-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.98615576-account.js
25 lines (17 loc) · 1.19 KB
/
index.98615576-account.js
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
(function(){const r=document.createElement("link").relList;
if(r&&r.supports&&r.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const c of t.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&i(c)}).observe(document,{childList:!0,subtree:!0});function o(e){const t={};
return e.integrity&&(t.integrity=e.integrity),e.referrerpolicy&&(t.referrerPolicy=e.referrerpolicy),e.crossorigin==="use-credentials"?t.credentials="include":e.crossorigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function i(e){if(e.ep)return;e.ep=!0;const t=o(e);fetch(e.href,t)}})();
function s(n){let r=0;const o=i=>{r=i,n.innerHTML=`Your Account`};n.addEventListener("click",()=>o(r+1)),o(0)}document.querySelector("#app").innerHTML=`
<div>
<img src="/vite.svg" class="logo" alt="ZipppIT" />
<h1>Thanks!</h1>
<div class="card">
<button id="counter" type="button" onclick="openNav()"></button>
</div>
<!--
<p class="read-the-docs">
<strong>Thanks</strong>
</p>
-->
</div>
`;s(document.querySelector("#counter"));