build: web

This commit is contained in:
github-actions[bot]
2026-03-11 03:14:05 +00:00
parent 3014c6cae2
commit 4d5c68784d
3 changed files with 5 additions and 3 deletions

4
dist/web/assets/index-BGlJv24G.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))i(t);new MutationObserver(t=>{for(const n of t)if(n.type==="childList")for(const d of n.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&i(d)}).observe(document,{childList:!0,subtree:!0});function u(t){const n={};return t.integrity&&(n.integrity=t.integrity),t.referrerPolicy&&(n.referrerPolicy=t.referrerPolicy),t.crossOrigin==="use-credentials"?n.credentials="include":t.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function i(t){if(t.ep)return;t.ep=!0;const n=u(t);fetch(t.href,n)}})();const o={3:{unifier:"­",0:"",1:"",2:""},6:{unifier:"",0:"",1:"",2:"­",3:"",4:"",5:""},8:{unifier:"",0:"",1:"",2:"­",3:"",4:"",5:"",6:"",7:"\uFEFF"},encodeString:(r,e=3)=>Array.from(r,u=>u.codePointAt(0).toString(e).split("").map(i=>o[e][i]).join("")).join(o[e].unifier),encodeNumberArray:(r,e=3)=>r.map(u=>u.toString(e).split("").map(i=>o[e][i]).join("")).join(o[e].unifier),decodeToString:(r,e=3)=>r.split(o[e].unifier).map(u=>String.fromCodePoint(parseInt(Array.from(u).map(i=>Object.keys(o[e]).find(t=>o[e][t]===i)).join(""),e))).join(""),decodeToNumberArray:(r,e=3)=>r.split(o[e].unifier).map(u=>parseInt(Array.from(u).map(i=>Object.keys(o[e]).find(t=>o[e][t]===i)).join(""),e))},c=document.getElementById("textarea"),s=document.getElementById("encoder");document.getElementById("cipher");document.getElementById("encodeButton").addEventListener("click",l);document.getElementById("decodeButton").addEventListener("click",l);function l(r){if(c.value===""){c.value="The text box is empty.";return}const e=r.target.id==="encodeButton"?"NO":"YES";c.value=f[e].PLAIN(c.value,s.value.split("-")[1]),e==="NO"&&(c.select(),document.execCommand("copy"),c.value=`Copied to your clipboard.
A copy has been placed between these brackets [`+c.value+"]")}var f={NO:{PLAIN:(r,e)=>o.encodeString(r,e)},YES:{PLAIN:(r,e)=>o.decodeToString(r,e)}};

2
dist/web/index.html vendored
View File

@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="module" crossorigin src="/assets/index-D9P9EoIK.js"></script> <script type="module" crossorigin src="/assets/index-BGlJv24G.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BtIxyDe5.css"> <link rel="stylesheet" crossorigin href="/assets/index-BtIxyDe5.css">
</head> </head>
<body> <body>