Updates
This commit is contained in:
parent
49092fb0df
commit
fe8fec3131
136 changed files with 93 additions and 93 deletions
1
assets/index-9IWimoUZ.js.map
Normal file
1
assets/index-9IWimoUZ.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-9IWimoUZ.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-B2v106LB.js.map
Normal file
1
assets/index-B2v106LB.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-B2v106LB.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-B5XOOL7K.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-B80hCOCm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-B94ou3qv.js.map
Normal file
1
assets/index-B94ou3qv.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-B94ou3qv.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-BATcLj5l.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-BAjs7kcm.js.map
Normal file
1
assets/index-BAjs7kcm.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-BAjs7kcm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/index-BVgeY77F.js.map
Normal file
1
assets/index-BVgeY77F.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-BVgeY77F.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-BViop_QB.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-BbZJC4RW.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-BdN-uLai.js.map
Normal file
1
assets/index-BdN-uLai.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-BdN-uLai.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-BfYW1eLP.js.map
Normal file
1
assets/index-BfYW1eLP.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-BfYW1eLP.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-BhQkYhcz.js.map
Normal file
1
assets/index-BhQkYhcz.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-BhQkYhcz.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-BiZ2UXM8.js.map
Normal file
1
assets/index-BiZ2UXM8.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-BiZ2UXM8.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-Bxo3ahrE.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-C0toT2NS.js.map
Normal file
1
assets/index-C0toT2NS.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-C0toT2NS.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-C2081l4O.js.map
Normal file
1
assets/index-C2081l4O.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-C2081l4O.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-C5JzqTGN.js.map
Normal file
1
assets/index-C5JzqTGN.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-C5JzqTGN.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-C6NzoPQQ.js.map
Normal file
1
assets/index-C6NzoPQQ.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-C6NzoPQQ.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-C8O0CDtT.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-C8YyUfH2.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-CC4Tit8D.js.map
Normal file
1
assets/index-CC4Tit8D.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-CC4Tit8D.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-CEfb1D9d.js.map
Normal file
1
assets/index-CEfb1D9d.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-CEfb1D9d.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-CEmActbj.js.map
Normal file
1
assets/index-CEmActbj.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-CEmActbj.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-CGVfll_F.js.map
Normal file
1
assets/index-CGVfll_F.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-CGVfll_F.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-CJA6C3vH.js.map
Normal file
1
assets/index-CJA6C3vH.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-CJA6C3vH.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-CLe7OMM-.js.map
Normal file
1
assets/index-CLe7OMM-.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-CLe7OMM-.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-CMW6timh.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-CRl_ZjVU.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-CY9o_qUH.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-CZBxGm_U.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-CZOKaU1Q.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-Ce-8AYNr.js.map
Normal file
1
assets/index-Ce-8AYNr.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-Ce-8AYNr.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-CelFiO5D.js.map
Normal file
1
assets/index-CelFiO5D.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-CelFiO5D.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-Cgqiwugk.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-Chj272hn.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-Ci4jLglx.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-Cis30Shz.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-CjBfvTbq.js.map
Normal file
1
assets/index-CjBfvTbq.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-CjBfvTbq.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-Ck6FF39c.js.map
Normal file
1
assets/index-Ck6FF39c.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-Ck6FF39c.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-CmRRz_w8.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-CoYl0SDr.js.map
Normal file
1
assets/index-CoYl0SDr.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-CoYl0SDr.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-CotfhY62.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-CxPLOyQb.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-CyDgG-WH.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-D1UzLZGv.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-D4I6IYvH.js.map
Normal file
1
assets/index-D4I6IYvH.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-D4I6IYvH.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-D4gqjq1P.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-D6ac0tV0.js.map
Normal file
1
assets/index-D6ac0tV0.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-D6ac0tV0.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-DA7kgeeC.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-DACGJWAT.js.map
Normal file
1
assets/index-DACGJWAT.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-DACGJWAT.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-DAFr3qQa.js.map
Normal file
1
assets/index-DAFr3qQa.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-DAFr3qQa.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-DHMnHxTL.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-DHztXsk7.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-DIu5meEw.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-DL-OYhpP.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-DPNgBYpV.js.map
Normal file
1
assets/index-DPNgBYpV.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-DPNgBYpV.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-DQyLKw-T.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-DYz_gGTW.js.map
Normal file
1
assets/index-DYz_gGTW.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-DYz_gGTW.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-DaOTprql.js.map
Normal file
1
assets/index-DaOTprql.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-DaOTprql.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-DcDdl4tu.js.map
Normal file
1
assets/index-DcDdl4tu.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-DcDdl4tu.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-DdgRKGCf.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-Dk2ExJh6.js.map
Normal file
1
assets/index-Dk2ExJh6.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-Dk2ExJh6.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-DmKPPIAD.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-DpG_qmZf.js.map
Normal file
1
assets/index-DpG_qmZf.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-DpG_qmZf.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-DsdbN-BE.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-DtUcuThD.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-DzmxbWGj.js.map
Normal file
1
assets/index-DzmxbWGj.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-DzmxbWGj.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-GasSjQGZ.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-MOrrz9S1.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-Nkyczsto.js.map
Normal file
1
assets/index-Nkyczsto.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-Nkyczsto.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-ObL1yN2l.js.map
Normal file
1
assets/index-ObL1yN2l.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-ObL1yN2l.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-OcMkLj5l.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-Q0iN54QK.js.map
Normal file
1
assets/index-Q0iN54QK.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-Q0iN54QK.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-Q_xlFsdW.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-WU5jo2Zf.js.map
Normal file
1
assets/index-WU5jo2Zf.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-WU5jo2Zf.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-ZB1c-t0B.js.map
Normal file
1
assets/index-ZB1c-t0B.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-ZB1c-t0B.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-_OK8qYc6.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-diU7i1og.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-e0JXyZgK.js.map
Normal file
1
assets/index-e0JXyZgK.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-e0JXyZgK.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-e6cUPT_X.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-fFMsaGJD.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-nYwN11Km.js.map
Normal file
1
assets/index-nYwN11Km.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-nYwN11Km.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
1
assets/index-s2KHLRqx.js.map
Normal file
1
assets/index-s2KHLRqx.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index-s2KHLRqx.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-sqQ7fOD4.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"index-xV1cRO7D.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
2
assets/main-CO6TUTfT.js
Normal file
2
assets/main-CO6TUTfT.js
Normal file
|
@ -0,0 +1,2 @@
|
|||
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))n(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function i(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?r.credentials="include":e.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(e){if(e.ep)return;e.ep=!0;const r=i(e);fetch(e.href,r)}})();function f({target:o}){const t=document.querySelector("#effects");if(t==null)return;Array.from(t.children).filter(n=>n.__effectParent===o).forEach(n=>{n.getAnimations().forEach(e=>{if(+(e.currentTime??0)<100){e.pause(),t.removeChild(n);return}e.pause(),e.updatePlaybackRate(-.25),e.play(),e.addEventListener("finish",()=>{t.contains(n)&&t.removeChild(n)})})})}function p(o){return o!==null&&typeof o.matches=="function"}function u({target:o}){const t=document.querySelector("#effects");if(!p(o)||!o.matches("a[href],.nav-toggle-button,button,input[type='radio']"))return;const i=window.getComputedStyle(o).getPropertyValue("--glowColor"),n=Array.from(o.getClientRects());Array.from(o.children).forEach(e=>{n.push(...Array.from(e.getClientRects()))}),n.forEach(e=>{const{top:r,left:s,width:d,height:a}=e,c=document.createElement("div");c.__effectParent=o,c.classList.add("effect-instance");const l="10rem";c.style.top=`calc(${r+window.scrollY}px - ${l})`,c.style.left=`calc(${s+window.scrollX}px - ${l})`,c.style.width=`calc(${d}px + 2 * ${l})`,c.style.height=`calc(${a}px + 2 * ${l})`,c.style.setProperty("--glowColor",i),t==null||t.appendChild(c)})}document.addEventListener("mouseenter",u,!0);document.addEventListener("focus",u,!0);document.addEventListener("mouseleave",f,!0);document.addEventListener("blur",f,!0);
|
||||
//# sourceMappingURL=main-CO6TUTfT.js.map
|
1
assets/main-CO6TUTfT.js.map
Normal file
1
assets/main-CO6TUTfT.js.map
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"main-CO6TUTfT.js","sources":["../../.11ty-vite/scripts/main.ts"],"sourcesContent":["/** @param {Event} evt */\nfunction removeEffect({ target }) {\n const effectsLayer = document.querySelector(\"#effects\")\n if (effectsLayer == null) {\n return\n }\n const effects = Array.from(effectsLayer.children).filter(\n (e) => e[\"__effectParent\"] === target\n )\n effects.forEach((e) => {\n e.getAnimations().forEach((anim) => {\n if (+(anim.currentTime ?? 0) < 100) {\n anim.pause()\n effectsLayer.removeChild(e)\n return\n }\n anim.pause()\n anim.updatePlaybackRate(-0.25)\n anim.play()\n anim.addEventListener(\"finish\", () => {\n if (effectsLayer.contains(e)) {\n effectsLayer.removeChild(e)\n }\n })\n })\n })\n}\n\nfunction isElement(target: EventTarget | null): target is Element {\n return target !== null && typeof target[\"matches\"] === \"function\"\n}\n\nfunction addEffect({ target }: UIEvent) {\n const effectsLayer = document.querySelector(\"#effects\")\n if (\n !isElement(target) ||\n !target.matches(\"a[href],.nav-toggle-button,button,input[type='radio']\")\n ) {\n return\n }\n const color = window.getComputedStyle(target).getPropertyValue(\"--glowColor\")\n const rects = Array.from(target.getClientRects())\n Array.from(target.children).forEach((child) => {\n rects.push(...Array.from(child.getClientRects()))\n })\n rects.forEach((rect) => {\n const { top, left, width, height } = rect\n const newEffect = document.createElement(\"div\")\n newEffect[\"__effectParent\"] = target\n newEffect.classList.add(\"effect-instance\")\n const padding = \"10rem\"\n newEffect.style.top = `calc(${top + window.scrollY}px - ${padding})`\n newEffect.style.left = `calc(${left + window.scrollX}px - ${padding})`\n newEffect.style.width = `calc(${width}px + 2 * ${padding})`\n newEffect.style.height = `calc(${height}px + 2 * ${padding})`\n newEffect.style.setProperty(\"--glowColor\", color)\n effectsLayer?.appendChild(newEffect)\n })\n}\n\ndocument.addEventListener(\"mouseenter\", addEffect, true)\ndocument.addEventListener(\"focus\", addEffect, true)\n\ndocument.addEventListener(\"mouseleave\", removeEffect, true)\ndocument.addEventListener(\"blur\", removeEffect, true)\n"],"names":["removeEffect","target","effectsLayer","e","anim","isElement","addEffect","color","rects","child","rect","top","left","width","height","newEffect","padding"],"mappings":"ssBACA,SAASA,EAAa,CAAE,OAAAC,GAAU,CAChC,MAAMC,EAAe,SAAS,cAAc,UAAU,EACtD,GAAIA,GAAgB,KAClB,OAEc,MAAM,KAAKA,EAAa,QAAQ,EAAE,OAC/CC,GAAMA,EAAE,iBAAsBF,CAAA,EAEzB,QAASE,GAAM,CACrBA,EAAE,cAAA,EAAgB,QAASC,GAAS,CAClC,GAAI,EAAEA,EAAK,aAAe,GAAK,IAAK,CAClCA,EAAK,MAAA,EACLF,EAAa,YAAYC,CAAC,EAC1B,MAAA,CAEFC,EAAK,MAAA,EACLA,EAAK,mBAAmB,IAAK,EAC7BA,EAAK,KAAA,EACLA,EAAK,iBAAiB,SAAU,IAAM,CAChCF,EAAa,SAASC,CAAC,GACzBD,EAAa,YAAYC,CAAC,CAC5B,CACD,CAAA,CACF,CAAA,CACF,CACH,CAEA,SAASE,EAAUJ,EAA+C,CAChE,OAAOA,IAAW,MAAQ,OAAOA,EAAO,SAAe,UACzD,CAEA,SAASK,EAAU,CAAE,OAAAL,GAAmB,CACtC,MAAMC,EAAe,SAAS,cAAc,UAAU,EACtD,GACE,CAACG,EAAUJ,CAAM,GACjB,CAACA,EAAO,QAAQ,uDAAuD,EAEvE,OAEF,MAAMM,EAAQ,OAAO,iBAAiBN,CAAM,EAAE,iBAAiB,aAAa,EACtEO,EAAQ,MAAM,KAAKP,EAAO,gBAAgB,EAChD,MAAM,KAAKA,EAAO,QAAQ,EAAE,QAASQ,GAAU,CAC7CD,EAAM,KAAK,GAAG,MAAM,KAAKC,EAAM,eAAA,CAAgB,CAAC,CAAA,CACjD,EACDD,EAAM,QAASE,GAAS,CACtB,KAAM,CAAE,IAAAC,EAAK,KAAAC,EAAM,MAAAC,EAAO,OAAAC,GAAWJ,EAC/BK,EAAY,SAAS,cAAc,KAAK,EAC9CA,EAAU,eAAoBd,EAC9Bc,EAAU,UAAU,IAAI,iBAAiB,EACzC,MAAMC,EAAU,QAChBD,EAAU,MAAM,IAAM,QAAQJ,EAAM,OAAO,OAAO,QAAQK,CAAO,IACjED,EAAU,MAAM,KAAO,QAAQH,EAAO,OAAO,OAAO,QAAQI,CAAO,IACnED,EAAU,MAAM,MAAQ,QAAQF,CAAK,YAAYG,CAAO,IACxDD,EAAU,MAAM,OAAS,QAAQD,CAAM,YAAYE,CAAO,IAC1DD,EAAU,MAAM,YAAY,cAAeR,CAAK,EAChDL,GAAA,MAAAA,EAAc,YAAYa,EAAS,CACpC,CACH,CAEA,SAAS,iBAAiB,aAAcT,EAAW,EAAI,EACvD,SAAS,iBAAiB,QAASA,EAAW,EAAI,EAElD,SAAS,iBAAiB,aAAcN,EAAc,EAAI,EAC1D,SAAS,iBAAiB,OAAQA,EAAc,EAAI"}
|
|
@ -1,2 +0,0 @@
|
|||
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))c(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&c(s)}).observe(document,{childList:!0,subtree:!0});function i(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?r.credentials="include":e.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function c(e){if(e.ep)return;e.ep=!0;const r=i(e);fetch(e.href,r)}})();window.matchMedia("(prefers-color-scheme: dark)");function f({target:o}){const t=document.querySelector("#effects");if(t==null)return;Array.from(t.children).filter(c=>c.__effectParent===o).forEach(c=>{c.getAnimations().forEach(e=>{if(+(e.currentTime??0)<100){e.pause(),t.removeChild(c);return}e.pause(),e.updatePlaybackRate(-.25),e.play(),e.addEventListener("finish",()=>{t.contains(c)&&t.removeChild(c)})})})}function p(o){return o!==null&&typeof o.matches=="function"}function d({target:o}){const t=document.querySelector("#effects");if(!p(o)||!o.matches("a[href],.nav-toggle-button,button,input[type='radio']"))return;const i=window.getComputedStyle(o).getPropertyValue("--glowColor"),c=Array.from(o.getClientRects());Array.from(o.children).forEach(e=>{c.push(...Array.from(e.getClientRects()))}),c.forEach(e=>{const{top:r,left:s,width:u,height:a}=e,n=document.createElement("div");n.__effectParent=o,n.classList.add("effect-instance");const l="10rem";n.style.top=`calc(${r+window.scrollY}px - ${l})`,n.style.left=`calc(${s+window.scrollX}px - ${l})`,n.style.width=`calc(${u}px + 2 * ${l})`,n.style.height=`calc(${a}px + 2 * ${l})`,n.style.setProperty("--glowColor",i),t==null||t.appendChild(n)})}document.addEventListener("mouseenter",d,!0);document.addEventListener("focus",d,!0);document.addEventListener("mouseleave",f,!0);document.addEventListener("blur",f,!0);
|
||||
//# sourceMappingURL=main-CdOn50KG.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"main-CdOn50KG.js","sources":["../../.11ty-vite/scripts/main.ts"],"sourcesContent":["const darkModeMediaQuery = window.matchMedia(\"(prefers-color-scheme: dark)\");\n\n/** @param {Event} evt */\nfunction removeEffect({ target }) {\n const effectsLayer = document.querySelector(\"#effects\");\n if (effectsLayer == null) { return };\n const effects = Array.from(effectsLayer.children).filter(\n (e) => e['__effectParent'] === target,\n );\n effects.forEach((e) => {\n e.getAnimations().forEach((anim) => {\n if (+(anim.currentTime ?? 0) < 100) {\n anim.pause();\n effectsLayer.removeChild(e);\n return;\n }\n anim.pause();\n anim.updatePlaybackRate(-0.25);\n anim.play();\n anim.addEventListener(\"finish\", () => {\n if (effectsLayer.contains(e)) {\n effectsLayer.removeChild(e);\n }\n });\n });\n });\n}\n\nfunction isElement(target: EventTarget | null): target is Element {\n return target !== null && typeof target[\"matches\"] === 'function'\n}\n\nfunction addEffect({ target }: UIEvent) {\n const effectsLayer = document.querySelector(\"#effects\");\n if (\n !isElement(target) ||\n !target.matches(\"a[href],.nav-toggle-button,button,input[type='radio']\")\n ) {\n return;\n }\n const color = window.getComputedStyle(target).getPropertyValue('--glowColor');\n const rects = Array.from(target.getClientRects());\n Array.from(target.children).forEach((child) => {\n rects.push(...Array.from(child.getClientRects()));\n });\n rects.forEach((rect) => {\n const { top, left, width, height } = rect;\n const newEffect = document.createElement(\"div\");\n newEffect['__effectParent'] = target;\n newEffect.classList.add(\"effect-instance\");\n const padding = \"10rem\";\n newEffect.style.top = `calc(${top + window.scrollY}px - ${padding})`;\n newEffect.style.left = `calc(${left + window.scrollX}px - ${padding})`;\n newEffect.style.width = `calc(${width}px + 2 * ${padding})`;\n newEffect.style.height = `calc(${height}px + 2 * ${padding})`;\n newEffect.style.setProperty('--glowColor', color);\n effectsLayer?.appendChild(newEffect);\n });\n}\n\ndocument.addEventListener(\"mouseenter\", addEffect, true);\ndocument.addEventListener(\"focus\", addEffect, true);\n\ndocument.addEventListener(\"mouseleave\", removeEffect, true);\ndocument.addEventListener(\"blur\", removeEffect, true);\n"],"names":["removeEffect","target","effectsLayer","e","anim","isElement","addEffect","color","rects","child","rect","top","left","width","height","newEffect","padding"],"mappings":"ssBAA2B,OAAO,WAAW,8BAA8B,EAG3E,SAASA,EAAa,CAAE,OAAAC,GAAU,CAChC,MAAMC,EAAe,SAAS,cAAc,UAAU,EACtD,GAAIA,GAAgB,KAAQ,OACZ,MAAM,KAAKA,EAAa,QAAQ,EAAE,OAC/CC,GAAMA,EAAE,iBAAsBF,CAAA,EAEzB,QAASE,GAAM,CACrBA,EAAE,cAAA,EAAgB,QAASC,GAAS,CAClC,GAAI,EAAEA,EAAK,aAAe,GAAK,IAAK,CAClCA,EAAK,MAAA,EACLF,EAAa,YAAYC,CAAC,EAC1B,MAAA,CAEFC,EAAK,MAAA,EACLA,EAAK,mBAAmB,IAAK,EAC7BA,EAAK,KAAA,EACLA,EAAK,iBAAiB,SAAU,IAAM,CAChCF,EAAa,SAASC,CAAC,GACzBD,EAAa,YAAYC,CAAC,CAC5B,CACD,CAAA,CACF,CAAA,CACF,CACH,CAEA,SAASE,EAAUJ,EAA+C,CAChE,OAAOA,IAAW,MAAQ,OAAOA,EAAO,SAAe,UACzD,CAEA,SAASK,EAAU,CAAE,OAAAL,GAAmB,CACtC,MAAMC,EAAe,SAAS,cAAc,UAAU,EACtD,GACE,CAACG,EAAUJ,CAAM,GACjB,CAACA,EAAO,QAAQ,uDAAuD,EAEvE,OAEF,MAAMM,EAAQ,OAAO,iBAAiBN,CAAM,EAAE,iBAAiB,aAAa,EACtEO,EAAQ,MAAM,KAAKP,EAAO,gBAAgB,EAChD,MAAM,KAAKA,EAAO,QAAQ,EAAE,QAASQ,GAAU,CAC7CD,EAAM,KAAK,GAAG,MAAM,KAAKC,EAAM,eAAA,CAAgB,CAAC,CAAA,CACjD,EACDD,EAAM,QAASE,GAAS,CACtB,KAAM,CAAE,IAAAC,EAAK,KAAAC,EAAM,MAAAC,EAAO,OAAAC,GAAWJ,EAC/BK,EAAY,SAAS,cAAc,KAAK,EAC9CA,EAAU,eAAoBd,EAC9Bc,EAAU,UAAU,IAAI,iBAAiB,EACzC,MAAMC,EAAU,QAChBD,EAAU,MAAM,IAAM,QAAQJ,EAAM,OAAO,OAAO,QAAQK,CAAO,IACjED,EAAU,MAAM,KAAO,QAAQH,EAAO,OAAO,OAAO,QAAQI,CAAO,IACnED,EAAU,MAAM,MAAQ,QAAQF,CAAK,YAAYG,CAAO,IACxDD,EAAU,MAAM,OAAS,QAAQD,CAAM,YAAYE,CAAO,IAC1DD,EAAU,MAAM,YAAY,cAAeR,CAAK,EAChDL,GAAA,MAAAA,EAAc,YAAYa,EAAS,CACpC,CACH,CAEA,SAAS,iBAAiB,aAAcT,EAAW,EAAI,EACvD,SAAS,iBAAiB,QAASA,EAAW,EAAI,EAElD,SAAS,iBAAiB,aAAcN,EAAc,EAAI,EAC1D,SAAS,iBAAiB,OAAQA,EAAc,EAAI"}
|
Loading…
Add table
Add a link
Reference in a new issue