This commit is contained in:
2026-06-26 20:39:52 -04:00
commit d017075cad
16 changed files with 1246 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e=`curr-time`,t=`pre-jam`,n=`during-jam`,r=`post-jam`,{VITE_PRE_TEXT:i,VITE_DURING_TEXT:a,VITE_POST_TEXT:o,VITE_JAM_START:s,VITE_JAM_END:c}={VITE_DURING_TEXT:``,VITE_JAM_END:`Jun 2, 2026 12:00:00`,VITE_JAM_START:`Jun 2, 2026 12:00:00`,VITE_POST_TEXT:`Ruh-roh, deadline passed :o`,VITE_PRE_TEXT:`Deadline to submit slideshow files`},l={before:t,during:n,after:r},u={[t]:i,[n]:a,[r]:o},d=new Date(s).getTime(),f=new Date(c).getTime(),p=()=>new Date().getTime(),m=e=>document.getElementById(e),h=e=>{let t=String(Math.abs(e));return t.length===1?`0${t}`:t},g=e=>({d:Math.floor(e/(1e3*60*60*24)),h:Math.floor(e%(1e3*60*60*24)/(1e3*60*60)),m:Math.floor(e%(1e3*60*60)/(1e3*60)),s:Math.floor(e%(1e3*60)/1e3)}),_=e=>{let{d:t,h:n,m:r,s:i}=g(e);return`${e<0?`-`:``}${t}d ${h(n)}h ${h(r)}m ${h(i)}s`},v=()=>{let e=p();return e>f?`after`:e<d?`before`:`during`},y=()=>{let e=v();Object.values(l).map(m).filter(Boolean).forEach(e=>e.style.display=`none`),m(l[e]).style.display=`block`},b=()=>{y();let t=p(),n=_((v()===`before`?d:f)-t);m(e).innerHTML=n,document.querySelector(`title`).innerHTML=n};Object.keys(u).forEach(e=>document.getElementById(e).innerHTML=u[e]),b(),setInterval(b,1e3);