From e8059702ac060502a5c03a0d165dbf6d7dfd8d0f Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sun, 8 Sep 2024 09:14:36 +0000 Subject: [PATCH] Deploy to GitHub Pages --- assets/index-BKpOrpp1.js | 1 + assets/index-CRdT5MiD.css | 1 + index.html | 20 ++++++++++++++++++++ vite.svg | 1 + 4 files changed, 23 insertions(+) create mode 100644 assets/index-BKpOrpp1.js create mode 100644 assets/index-CRdT5MiD.css create mode 100644 index.html create mode 100644 vite.svg diff --git a/assets/index-BKpOrpp1.js b/assets/index-BKpOrpp1.js new file mode 100644 index 0000000..099b659 --- /dev/null +++ b/assets/index-BKpOrpp1.js @@ -0,0 +1 @@ +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))n(t);new MutationObserver(t=>{for(const r of t)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function s(t){const r={};return t.integrity&&(r.integrity=t.integrity),t.referrerPolicy&&(r.referrerPolicy=t.referrerPolicy),t.crossOrigin==="use-credentials"?r.credentials="include":t.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(t){if(t.ep)return;t.ep=!0;const r=s(t);fetch(t.href,r)}})();class w{constructor(e){document.addEventListener("paste",s=>{var r;const n=(r=s.clipboardData)==null?void 0:r.items;let t=0;if(console.log("items",n),!n)throw new Error("Error: no items found");for(let i=0;i{var g,p;if(!((g=d.target)!=null&&g.result))throw new Error("Error: file format not supported");e((p=d.target)==null?void 0:p.result)},u.onerror=d=>{throw new Error(`${d}`)},!m)throw new Error("Error: blob was null");u.readAsDataURL(m)}else t++}if(t===n.length)throw new Error("No image/file found")})}}const c=document.createElement("canvas"),f=c.getContext("2d");if(!f)throw new Error("ERROR: 2d context not supported!");new w(o=>{if(typeof o!="string")throw new Error("Error: arraybuffer not supported!");const e=document.createElement("img");e.src=o,e.onload=()=>{console.log("loaded"),c.width=e.width,c.height=e.height,h(f,e,()=>{}),h(f,e,E)}});function h(o,e,s){var r;o.drawImage(e,0,0);const n=o.getImageData(0,0,c.width,c.height);s(n.data),o.putImageData(n,0,0);const t=document.createElement("img");t.src=c.toDataURL(),(r=document.getElementById("app"))==null||r.prepend(t)}function E(o){for(let e=0;e + + + + + + + Vite + TS + + + + + + +
+ + + \ No newline at end of file diff --git a/vite.svg b/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file