This commit is contained in:
burningtree 2023-02-16 11:58:56 +00:00
parent c69a323cf7
commit 6fbb735eb5
5 changed files with 11 additions and 9 deletions

View file

@ -1,5 +1,5 @@
import { _ } from "./_layout-68f6d432.js"; import { _ } from "./_layout-68f6d432.js";
import { default as default2 } from "../components/pages/_layout.svelte-3e7b493d.js"; import { default as default2 } from "../components/pages/_layout.svelte-d6c79714.js";
export { export {
default2 as component, default2 as component,
_ as universal _ as universal

View file

@ -22,11 +22,13 @@ function animateText(ev) {
ev.target.setAttribute("data-animate", "1"); ev.target.setAttribute("data-animate", "1");
const orig = ev.target.getAttribute("data-text"); const orig = ev.target.getAttribute("data-text");
const steps = orig.length; const steps = orig.length;
const random = rand(orig.length); const genRand = (pos = 0, len = null) => orig.substring(pos, len).split(" ").map((x) => rand(x.length)).join(" ");
const random = genRand(0, orig.length);
ev.target.innerHTML = random; ev.target.innerHTML = random;
for (let i = 0; i <= steps; i++) { for (let i = 0; i <= steps; i++) {
setTimeout(() => { setTimeout(() => {
ev.target.innerHTML = orig.substring(0, i) + rand(orig.length - i); ev.target.innerHTML = orig.substring(0, i) + genRand(i, orig.length);
console.log(ev.target.innerHTML);
if (i === steps) { if (i === steps) {
ev.target.setAttribute("data-animate", "0"); ev.target.setAttribute("data-animate", "0");
} }

View file

@ -900,7 +900,7 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) {
}; };
const matchers = {}; const matchers = {};
const nodes = [ const nodes = [
() => __vitePreload(() => import("./chunks/0-e3cb5eaf.js"), true ? ["./chunks/0-e3cb5eaf.js","./chunks/_layout-68f6d432.js","./components/pages/_layout.svelte-3e7b493d.js","./chunks/index-858fda85.js","./chunks/SvelteMarkdown-6743e4fc.js","./assets/_layout-a1a19efe.css"] : void 0, import.meta.url), () => __vitePreload(() => import("./chunks/0-c0abe402.js"), true ? ["./chunks/0-c0abe402.js","./chunks/_layout-68f6d432.js","./components/pages/_layout.svelte-d6c79714.js","./chunks/index-858fda85.js","./chunks/SvelteMarkdown-6743e4fc.js","./assets/_layout-a1a19efe.css"] : void 0, import.meta.url),
() => __vitePreload(() => import("./chunks/1-a708a445.js"), true ? ["./chunks/1-a708a445.js","./components/error.svelte-b9497535.js","./chunks/index-858fda85.js","./chunks/singletons-1811cedd.js"] : void 0, import.meta.url), () => __vitePreload(() => import("./chunks/1-a708a445.js"), true ? ["./chunks/1-a708a445.js","./components/error.svelte-b9497535.js","./chunks/index-858fda85.js","./chunks/singletons-1811cedd.js"] : void 0, import.meta.url),
() => __vitePreload(() => import("./chunks/2-e5801a86.js"), true ? ["./chunks/2-e5801a86.js","./components/pages/_page.svelte-ee97f50d.js","./chunks/index-858fda85.js","./chunks/SvelteMarkdown-6743e4fc.js"] : void 0, import.meta.url) () => __vitePreload(() => import("./chunks/2-e5801a86.js"), true ? ["./chunks/2-e5801a86.js","./components/pages/_page.svelte-ee97f50d.js","./chunks/index-858fda85.js","./chunks/SvelteMarkdown-6743e4fc.js"] : void 0, import.meta.url)
]; ];

View file

@ -1 +1 @@
{"version":"1676546984932"} {"version":"1676548729626"}

View file

@ -7,10 +7,10 @@
<meta name="theme-color" content="#000000" /> <meta name="theme-color" content="#000000" />
<meta http-equiv="content-security-policy" content=""> <meta http-equiv="content-security-policy" content="">
<link href="./_app/immutable/assets/_layout-a1a19efe.css" rel="stylesheet"> <link href="./_app/immutable/assets/_layout-a1a19efe.css" rel="stylesheet">
<link rel="modulepreload" href="./_app/immutable/start-aeb415e7.js"> <link rel="modulepreload" href="./_app/immutable/start-e0469e7e.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index-858fda85.js"> <link rel="modulepreload" href="./_app/immutable/chunks/index-858fda85.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons-1811cedd.js"> <link rel="modulepreload" href="./_app/immutable/chunks/singletons-1811cedd.js">
<link rel="modulepreload" href="./_app/immutable/components/pages/_layout.svelte-3e7b493d.js"> <link rel="modulepreload" href="./_app/immutable/components/pages/_layout.svelte-d6c79714.js">
<link rel="modulepreload" href="./_app/immutable/chunks/SvelteMarkdown-6743e4fc.js"> <link rel="modulepreload" href="./_app/immutable/chunks/SvelteMarkdown-6743e4fc.js">
<link rel="modulepreload" href="./_app/immutable/modules/pages/_layout.js-23db4802.js"> <link rel="modulepreload" href="./_app/immutable/modules/pages/_layout.js-23db4802.js">
<link rel="modulepreload" href="./_app/immutable/chunks/_layout-68f6d432.js"> <link rel="modulepreload" href="./_app/immutable/chunks/_layout-68f6d432.js">
@ -179,13 +179,13 @@
<script type="module" data-sveltekit-hydrate="1445bpp"> <script type="module" data-sveltekit-hydrate="1445bpp">
import { start } from "./_app/immutable/start-aeb415e7.js"; import { start } from "./_app/immutable/start-e0469e7e.js";
start({ start({
assets: "", assets: "",
env: {}, env: {},
target: document.querySelector('[data-sveltekit-hydrate="1445bpp"]').parentNode, target: document.querySelector('[data-sveltekit-hydrate="1445bpp"]').parentNode,
version: "1676546984932", version: "1676548729626",
hydrate: { hydrate: {
node_ids: [0, 2], node_ids: [0, 2],
data: [{type:"data",data:null,uses:{}},null], data: [{type:"data",data:null,uses:{}},null],