Files
EventSnap/backend/static/export-viewer/index.html
MechaCat02 3654aca18b feat(export): single-file offline keepsake viewer + guest download
Rebuild the guest "keepsake" (offline HTML gallery) so it renders when the
extracted index.html is opened over file://. Browsers block external ES-module
scripts and fetch() at origin null, so a normal multi-file SvelteKit build shows
a blank window. Build the viewer as one self-contained index.html (inlined
JS/CSS via vite-plugin-singlefile, standalone non-SvelteKit entry) and inject
the data as window.__EXPORT_DATA__; the backend embeds the built viewer via
include_dir! and writes the data global into index.html when zipping.

Also surface the guest-facing download: a feed banner and the BottomNav Export
tab, both shown once the host releases the export.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-18 17:28:54 +02:00

15 lines
79 KiB
HTML

<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>EventSnap — Galerie</title>
<script type="module" crossorigin>var is=Object.defineProperty;var Nn=e=>{throw TypeError(e)};var ss=(e,t,r)=>t in e?is(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Pe=(e,t,r)=>ss(e,typeof t!="symbol"?t+"":t,r),qr=(e,t,r)=>t.has(e)||Nn("Cannot "+r);var l=(e,t,r)=>(qr(e,t,"read from private field"),r?r.call(e):t.get(e)),k=(e,t,r)=>t.has(e)?Nn("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),A=(e,t,r,n)=>(qr(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),V=(e,t,r)=>(qr(e,t,"access private method"),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(i){if(i.ep)return;i.ep=!0;const s=r(i);fetch(i.href,s)}})();const as=!1;var qn=Array.isArray,ls=Array.prototype.indexOf,Xt=Array.prototype.includes,Dr=Array.from,os=Object.defineProperty,fr=Object.getOwnPropertyDescriptor,fs=Object.getOwnPropertyDescriptors,us=Object.prototype,cs=Array.prototype,Un=Object.getPrototypeOf,jn=Object.isExtensible;const vs=()=>{};function ds(e){for(var t=0;t<e.length;t++)e[t]()}function Kn(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}function hs(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const r=[];for(const n of e)if(r.push(n),r.length===t)break;return r}const te=2,vr=4,Pr=8,Yn=1<<24,ut=16,Ve=32,Ft=64,Gr=128,Ne=512,G=1024,le=2048,$e=4096,pe=8192,je=16384,Bt=32768,On=1<<25,$t=65536,Xr=1<<17,_s=1<<18,tr=1<<19,ps=1<<20,Xe=1<<25,Dt=65536,$r=1<<21,zr=1<<22,wt=1<<23,Ur=Symbol("$state"),gs=Symbol(""),st=new class extends Error{constructor(){super(...arguments);Pe(this,"name","StaleReactionError");Pe(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function ms(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function ws(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function bs(e,t,r){throw new Error("https://svelte.dev/e/each_key_duplicate")}function xs(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ys(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function ks(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Es(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ms(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Ss(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function As(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ts(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const Cs=1,Ls=2,Wn=4,Ns=8,js=16,Os=1,Rs=2,ae=Symbol(),Zn="http://www.w3.org/1999/xhtml";function Fs(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function Gn(e){return e===this.v}function Ds(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Xn(e){return!Ds(e,this.v)}let Ps=!1,Ee=null;function Qt(e){Ee=e}function $n(e,t=!1,r){Ee={p:Ee,i:!1,c:null,e:null,s:e,x:null,r:j,l:null}}function Qn(e){var t=Ee,r=t.e;if(r!==null){t.e=null;for(var n of r)wi(n)}return t.i=!0,Ee=t.p,{}}function Jn(){return!0}let St=[];function ei(){var e=St;St=[],ds(e)}function bt(e){if(St.length===0&&!ur){var t=St;queueMicrotask(()=>{t===St&&ei()})}St.push(e)}function zs(){for(;St.length>0;)ei()}function ti(e){var t=j;if(t===null)return M.f|=wt,e;if((t.f&Bt)===0&&(t.f&vr)===0)throw e;mt(e,t)}function mt(e,t){for(;t!==null;){if((t.f&Gr)!==0){if((t.f&Bt)===0)throw e;try{t.b.error(e);return}catch(r){e=r}}t=t.parent}throw e}const Is=-7169;function q(e,t){e.f=e.f&Is|t}function cn(e){(e.f&Ne)!==0||e.deps===null?q(e,G):q(e,$e)}function ri(e){if(e!==null)for(const t of e)(t.f&te)===0||(t.f&Dt)===0||(t.f^=Dt,ri(t.deps))}function ni(e,t,r){(e.f&le)!==0?t.add(e):(e.f&$e)!==0&&r.add(e),ri(e.deps),q(e,G)}const dt=new Set;let N=null,Be=null,Qr=null,ur=!1,Kr=!1,Ut=null,Mr=null;var Rn=0;let Bs=1;var Yt,Wt,at,Ke,hr,xe,_r,pt,lt,Ye,Zt,Ct,Y,Sr,ii,Ar,Jr,en,si;const Or=class Or{constructor(){k(this,Y);Pe(this,"id",Bs++);Pe(this,"current",new Map);Pe(this,"previous",new Map);k(this,Yt,new Set);k(this,Wt,new Set);k(this,at,new Map);k(this,Ke,new Map);k(this,hr,null);k(this,xe,[]);k(this,_r,[]);k(this,pt,new Set);k(this,lt,new Set);k(this,Ye,new Map);Pe(this,"is_fork",!1);k(this,Zt,!1);k(this,Ct,new Set)}skip_effect(t){l(this,Ye).has(t)||l(this,Ye).set(t,{d:[],m:[]})}unskip_effect(t){var r=l(this,Ye).get(t);if(r){l(this,Ye).delete(t);for(var n of r.d)q(n,le),this.schedule(n);for(n of r.m)q(n,$e),this.schedule(n)}}capture(t,r,n=!1){r!==ae&&!this.previous.has(t)&&this.previous.set(t,r),(t.f&wt)===0&&(this.current.set(t,[t.v,n]),Be?.set(t,t.v))}activate(){N=this}deactivate(){N=null,Be=null}flush(){try{Kr=!0,N=this,V(this,Y,Ar).call(this)}finally{Rn=0,Qr=null,Ut=null,Mr=null,Kr=!1,N=null,Be=null,xt.clear()}}discard(){for(const t of l(this,Wt))t(this);l(this,Wt).clear(),dt.delete(this)}register_created_effect(t){l(this,_r).push(t)}increment(t,r){let n=l(this,at).get(r)??0;if(l(this,at).set(r,n+1),t){let i=l(this,Ke).get(r)??0;l(this,Ke).set(r,i+1)}}decrement(t,r,n){let i=l(this,at).get(r)??0;if(i===1?l(this,at).delete(r):l(this,at).set(r,i-1),t){let s=l(this,Ke).get(r)??0;s===1?l(this,Ke).delete(r):l(this,Ke).set(r,s-1)}l(this,Zt)||n||(A(this,Zt,!0),bt(()=>{A(this,Zt,!1),this.flush()}))}transfer_effects(t,r){for(const n of t)l(this,pt).add(n);for(const n of r)l(this,lt).add(n);t.clear(),r.clear()}oncommit(t){l(this,Yt).add(t)}ondiscard(t){l(this,Wt).add(t)}settled(){return(l(this,hr)??A(this,hr,Kn())).promise}static ensure(){if(N===null){const t=N=new Or;Kr||(dt.add(N),ur||bt(()=>{N===t&&t.flush()}))}return N}apply(){{Be=null;return}}schedule(t){if(Qr=t,t.b?.is_pending&&(t.f&(vr|Pr|Yn))!==0&&(t.f&Bt)===0){t.b.defer_effect(t);return}for(var r=t;r.parent!==null;){r=r.parent;var n=r.f;if(Ut!==null&&r===j&&(M===null||(M.f&te)===0))return;if((n&(Ft|Ve))!==0){if((n&G)===0)return;r.f^=G}}l(this,xe).push(r)}};Yt=new WeakMap,Wt=new WeakMap,at=new WeakMap,Ke=new WeakMap,hr=new WeakMap,xe=new WeakMap,_r=new WeakMap,pt=new WeakMap,lt=new WeakMap,Ye=new WeakMap,Zt=new WeakMap,Ct=new WeakMap,Y=new WeakSet,Sr=function(){return this.is_fork||l(this,Ke).size>0},ii=function(){for(const n of l(this,Ct))for(const i of l(n,Ke).keys()){for(var t=!1,r=i;r.parent!==null;){if(l(this,Ye).has(r)){t=!0;break}r=r.parent}if(!t)return!0}return!1},Ar=function(){var u;if(Rn++>1e3&&(dt.delete(this),Vs()),!V(this,Y,Sr).call(this)){for(const a of l(this,pt))l(this,lt).delete(a),q(a,le),this.schedule(a);for(const a of l(this,lt))q(a,$e),this.schedule(a)}const t=l(this,xe);A(this,xe,[]),this.apply();var r=Ut=[],n=[],i=Mr=[];for(const a of t)try{V(this,Y,Jr).call(this,a,r,n)}catch(f){throw oi(a),f}if(N=null,i.length>0){var s=Or.ensure();for(const a of i)s.schedule(a)}if(Ut=null,Mr=null,V(this,Y,Sr).call(this)||V(this,Y,ii).call(this)){V(this,Y,en).call(this,n),V(this,Y,en).call(this,r);for(const[a,f]of l(this,Ye))li(a,f)}else{l(this,at).size===0&&dt.delete(this),l(this,pt).clear(),l(this,lt).clear();for(const a of l(this,Yt))a(this);l(this,Yt).clear(),Fn(n),Fn(r),l(this,hr)?.resolve()}var o=N;if(l(this,xe).length>0){const a=o??(o=this);l(a,xe).push(...l(this,xe).filter(f=>!l(a,xe).includes(f)))}o!==null&&(dt.add(o),V(u=o,Y,Ar).call(u)),dt.has(this)||V(this,Y,si).call(this)},Jr=function(t,r,n){t.f^=G;for(var i=t.first;i!==null;){var s=i.f,o=(s&(Ve|Ft))!==0,u=o&&(s&G)!==0,a=u||(s&pe)!==0||l(this,Ye).has(i);if(!a&&i.fn!==null){o?i.f^=G:(s&vr)!==0?r.push(i):xr(i)&&((s&ut)!==0&&l(this,lt).add(i),er(i));var f=i.first;if(f!==null){i=f;continue}}for(;i!==null;){var v=i.next;if(v!==null){i=v;break}i=i.parent}}},en=function(t){for(var r=0;r<t.length;r+=1)ni(t[r],l(this,pt),l(this,lt))},si=function(){var v,w,d;for(const h of dt){var t=h.id<this.id,r=[];for(const[p,[L,_]]of this.current){if(h.current.has(p)){var n=h.current.get(p)[0];if(t&&L!==n)h.current.set(p,[L,_]);else continue}r.push(p)}var i=[...h.current.keys()].filter(p=>!this.current.has(p));if(i.length===0)t&&h.discard();else if(r.length>0){h.activate();var s=new Set,o=new Map;for(var u of r)ai(u,i,s,o);o=new Map;var a=[...h.current.keys()].filter(p=>this.current.has(p)?this.current.get(p)[0]!==p:!0);for(const p of l(this,_r))(p.f&(je|pe|Xr))===0&&vn(p,a,o)&&((p.f&(zr|ut))!==0?(q(p,le),h.schedule(p)):l(h,pt).add(p));if(l(h,xe).length>0){h.apply();for(var f of l(h,xe))V(v=h,Y,Jr).call(v,f,[],[]);A(h,xe,[])}h.deactivate()}}for(const h of dt)l(h,Ct).has(this)&&(l(h,Ct).delete(this),l(h,Ct).size===0&&!V(w=h,Y,Sr).call(w)&&(h.activate(),V(d=h,Y,Ar).call(d)))};let Pt=Or;function Hs(e){var t=ur;ur=!0;try{for(var r;;){if(zs(),N===null)return r;N.flush()}}finally{ur=t}}function Vs(){try{Es()}catch(e){mt(e,Qr)}}let it=null;function Fn(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(je|pe))===0&&xr(n)&&(it=new Set,er(n),n.deps===null&&n.first===null&&n.nodes===null&&n.teardown===null&&n.ac===null&&yi(n),it?.size>0)){xt.clear();for(const i of it){if((i.f&(je|pe))!==0)continue;const s=[i];let o=i.parent;for(;o!==null;)it.has(o)&&(it.delete(o),s.push(o)),o=o.parent;for(let u=s.length-1;u>=0;u--){const a=s[u];(a.f&(je|pe))===0&&er(a)}}it.clear()}}it=null}}function ai(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&te)!==0?ai(i,t,r,n):(s&(zr|ut))!==0&&(s&le)===0&&vn(i,t,n)&&(q(i,le),dn(i))}}function vn(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const i of e.deps){if(Xt.call(t,i))return!0;if((i.f&te)!==0&&vn(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function dn(e){N.schedule(e)}function li(e,t){if(!((e.f&Ve)!==0&&(e.f&G)!==0)){(e.f&le)!==0?t.d.push(e):(e.f&$e)!==0&&t.m.push(e),q(e,G);for(var r=e.first;r!==null;)li(r,t),r=r.next}}function oi(e){q(e,G);for(var t=e.first;t!==null;)oi(t),t=t.next}function qs(e){let t=0,r=zt(0),n;return()=>{pn()&&(c(r),bi(()=>(t===0&&(n=xn(()=>e(()=>cr(r)))),t+=1,()=>{bt(()=>{t-=1,t===0&&(n?.(),n=void 0,cr(r))})})))}}var Us=$t|tr;function Ks(e,t,r,n){new Ys(e,t,r,n)}var Ce,un,We,Lt,he,Ze,ye,ze,ot,Nt,gt,Gt,pr,gr,ft,Rr,X,Ws,Zs,Gs,tn,Tr,Cr,rn;class Ys{constructor(t,r,n,i){k(this,X);Pe(this,"parent");Pe(this,"is_pending",!1);Pe(this,"transform_error");k(this,Ce);k(this,un,null);k(this,We);k(this,Lt);k(this,he);k(this,Ze,null);k(this,ye,null);k(this,ze,null);k(this,ot,null);k(this,Nt,0);k(this,gt,0);k(this,Gt,!1);k(this,pr,new Set);k(this,gr,new Set);k(this,ft,null);k(this,Rr,qs(()=>(A(this,ft,zt(l(this,Nt))),()=>{A(this,ft,null)})));A(this,Ce,t),A(this,We,r),A(this,Lt,s=>{var o=j;o.b=this,o.f|=Gr,n(s)}),this.parent=j.b,this.transform_error=i??this.parent?.transform_error??(s=>s),A(this,he,gn(()=>{V(this,X,tn).call(this)},Us))}defer_effect(t){ni(t,l(this,pr),l(this,gr))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!l(this,We).pending}update_pending_count(t,r){V(this,X,rn).call(this,t,r),A(this,Nt,l(this,Nt)+t),!(!l(this,ft)||l(this,Gt))&&(A(this,Gt,!0),bt(()=>{A(this,Gt,!1),l(this,ft)&&Jt(l(this,ft),l(this,Nt))}))}get_effect_pending(){return l(this,Rr).call(this),c(l(this,ft))}error(t){var r=l(this,We).onerror;let n=l(this,We).failed;if(!r&&!n)throw t;l(this,Ze)&&(ge(l(this,Ze)),A(this,Ze,null)),l(this,ye)&&(ge(l(this,ye)),A(this,ye,null)),l(this,ze)&&(ge(l(this,ze)),A(this,ze,null));var i=!1,s=!1;const o=()=>{if(i){Fs();return}i=!0,s&&Ts(),l(this,ze)!==null&&Ot(l(this,ze),()=>{A(this,ze,null)}),V(this,X,Cr).call(this,()=>{V(this,X,tn).call(this)})},u=a=>{try{s=!0,r?.(a,o),s=!1}catch(f){mt(f,l(this,he)&&l(this,he).parent)}n&&A(this,ze,V(this,X,Cr).call(this,()=>{try{return Le(()=>{var f=j;f.b=this,f.f|=Gr,n(l(this,Ce),()=>a,()=>o)})}catch(f){return mt(f,l(this,he).parent),null}}))};bt(()=>{var a;try{a=this.transform_error(t)}catch(f){mt(f,l(this,he)&&l(this,he).parent);return}a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(u,f=>mt(f,l(this,he)&&l(this,he).parent)):u(a)})}}Ce=new WeakMap,un=new WeakMap,We=new WeakMap,Lt=new WeakMap,he=new WeakMap,Ze=new WeakMap,ye=new WeakMap,ze=new WeakMap,ot=new WeakMap,Nt=new WeakMap,gt=new WeakMap,Gt=new WeakMap,pr=new WeakMap,gr=new WeakMap,ft=new WeakMap,Rr=new WeakMap,X=new WeakSet,Ws=function(){try{A(this,Ze,Le(()=>l(this,Lt).call(this,l(this,Ce))))}catch(t){this.error(t)}},Zs=function(t){const r=l(this,We).failed;r&&A(this,ze,Le(()=>{r(l(this,Ce),()=>t,()=>()=>{})}))},Gs=function(){const t=l(this,We).pending;t&&(this.is_pending=!0,A(this,ye,Le(()=>t(l(this,Ce)))),bt(()=>{var r=A(this,ot,document.createDocumentFragment()),n=yt();r.append(n),A(this,Ze,V(this,X,Cr).call(this,()=>Le(()=>l(this,Lt).call(this,n)))),l(this,gt)===0&&(l(this,Ce).before(r),A(this,ot,null),Ot(l(this,ye),()=>{A(this,ye,null)}),V(this,X,Tr).call(this,N))}))},tn=function(){try{if(this.is_pending=this.has_pending_snippet(),A(this,gt,0),A(this,Nt,0),A(this,Ze,Le(()=>{l(this,Lt).call(this,l(this,Ce))})),l(this,gt)>0){var t=A(this,ot,document.createDocumentFragment());bn(l(this,Ze),t);const r=l(this,We).pending;A(this,ye,Le(()=>r(l(this,Ce))))}else V(this,X,Tr).call(this,N)}catch(r){this.error(r)}},Tr=function(t){this.is_pending=!1,t.transfer_effects(l(this,pr),l(this,gr))},Cr=function(t){var r=j,n=M,i=Ee;Qe(l(this,he)),Re(l(this,he)),Qt(l(this,he).ctx);try{return Pt.ensure(),t()}catch(s){return ti(s),null}finally{Qe(r),Re(n),Qt(i)}},rn=function(t,r){var n;if(!this.has_pending_snippet()){this.parent&&V(n=this.parent,X,rn).call(n,t,r);return}A(this,gt,l(this,gt)+t),l(this,gt)===0&&(V(this,X,Tr).call(this,r),l(this,ye)&&Ot(l(this,ye),()=>{A(this,ye,null)}),l(this,ot)&&(l(this,Ce).before(l(this,ot)),A(this,ot,null)))};function Xs(e,t,r,n){const i=hn;var s=e.filter(d=>!d.settled);if(r.length===0&&s.length===0){n(t.map(i));return}var o=j,u=$s(),a=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(d=>d.promise)):null;function f(d){u();try{n(d)}catch(h){(o.f&je)===0&&mt(h,o)}Nr()}if(r.length===0){a.then(()=>f(t.map(i)));return}var v=fi();function w(){Promise.all(r.map(d=>Qs(d))).then(d=>f([...t.map(i),...d])).catch(d=>mt(d,o)).finally(()=>v())}a?a.then(()=>{u(),w(),Nr()}):w()}function $s(){var e=j,t=M,r=Ee,n=N;return function(s=!0){Qe(e),Re(t),Qt(r),s&&(e.f&je)===0&&(n?.activate(),n?.apply())}}function Nr(e=!0){Qe(null),Re(null),Qt(null),e&&N?.deactivate()}function fi(){var e=j,t=e.b,r=N,n=t.is_rendered();return t.update_pending_count(1,r),r.increment(n,e),(i=!1)=>{t.update_pending_count(-1,r),r.decrement(n,e,i)}}function hn(e){var t=te|le,r=M!==null&&(M.f&te)!==0?M:null;return j!==null&&(j.f|=tr),{ctx:Ee,deps:null,effects:null,equals:Gn,f:t,fn:e,reactions:null,rv:0,v:ae,wv:0,parent:r??j,ac:null}}function Qs(e,t,r){let n=j;n===null&&ws();var i=void 0,s=zt(ae),o=!M,u=new Map;return ha(()=>{var a=j,f=Kn();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).finally(Nr)}catch(h){f.reject(h),Nr()}var v=N;if(o){if((a.f&Bt)!==0)var w=fi();if(n.b.is_rendered())u.get(v)?.reject(st),u.delete(v);else{for(const h of u.values())h.reject(st);u.clear()}u.set(v,f)}const d=(h,p=void 0)=>{if(w){var L=p===st;w(L)}if(!(p===st||(a.f&je)!==0)){if(v.activate(),p)s.f|=wt,Jt(s,p);else{(s.f&wt)!==0&&(s.f^=wt),Jt(s,h);for(const[_,T]of u){if(u.delete(_),_===v)break;T.reject(st)}}v.deactivate()}};f.promise.then(d,h=>d(null,h||"unknown"))}),mi(()=>{for(const a of u.values())a.reject(st)}),new Promise(a=>{function f(v){function w(){v===i?a(s):f(i)}v.then(w,w)}f(i)})}function ht(e){const t=hn(e);return Mi(t),t}function Js(e){const t=hn(e);return t.equals=Xn,t}function ea(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)ge(t[r])}}function ta(e){for(var t=e.parent;t!==null;){if((t.f&te)===0)return(t.f&je)===0?t:null;t=t.parent}return null}function _n(e){var t,r=j;Qe(ta(e));try{e.f&=~Dt,ea(e),t=Ci(e)}finally{Qe(r)}return t}function ui(e){var t=e.v,r=_n(e);if(!e.equals(r)&&(e.wv=Ai(),(!N?.is_fork||e.deps===null)&&(e.v=r,N?.capture(e,t,!0),e.deps===null))){q(e,G);return}It||(Be!==null?(pn()||N?.is_fork)&&Be.set(e,r):cn(e))}function ra(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(st),t.teardown=vs,t.ac=null,dr(t,0),mn(t))}function ci(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&er(t)}let nn=new Set;const xt=new Map;let vi=!1;function zt(e,t){var r={f:0,v:e,reactions:null,equals:Gn,rv:0,wv:0};return r}function ee(e,t){const r=zt(e);return Mi(r),r}function na(e,t=!1,r=!0){const n=zt(e);return t||(n.equals=Xn),n}function R(e,t,r=!1){M!==null&&(!He||(M.f&Xr)!==0)&&Jn()&&(M.f&(te|ut|zr|Xr))!==0&&(Oe===null||!Xt.call(Oe,e))&&As();let n=r?Kt(t):t;return Jt(e,n,Mr)}function Jt(e,t,r=null){if(!e.equals(t)){var n=e.v;It?xt.set(e,t):xt.set(e,n),e.v=t;var i=Pt.ensure();if(i.capture(e,n),(e.f&te)!==0){const s=e;(e.f&le)!==0&&_n(s),Be===null&&cn(s)}e.wv=Ai(),di(e,le,r),j!==null&&(j.f&G)!==0&&(j.f&(Ve|Ft))===0&&(Te===null?ga([e]):Te.push(e)),!i.is_fork&&nn.size>0&&!vi&&ia()}return t}function ia(){vi=!1;for(const e of nn)(e.f&G)!==0&&q(e,$e),xr(e)&&er(e);nn.clear()}function cr(e){R(e,e.v+1)}function di(e,t,r){var n=e.reactions;if(n!==null)for(var i=n.length,s=0;s<i;s++){var o=n[s],u=o.f,a=(u&le)===0;if(a&&q(o,t),(u&te)!==0){var f=o;Be?.delete(f),(u&Dt)===0&&(u&Ne&&(o.f|=Dt),di(f,$e,r))}else if(a){var v=o;(u&ut)!==0&&it!==null&&it.add(v),r!==null?r.push(v):dn(v)}}}function Kt(e){if(typeof e!="object"||e===null||Ur in e)return e;const t=Un(e);if(t!==us&&t!==cs)return e;var r=new Map,n=qn(e),i=ee(0),s=Rt,o=u=>{if(Rt===s)return u();var a=M,f=Rt;Re(null),zn(s);var v=u();return Re(a),zn(f),v};return n&&r.set("length",ee(e.length)),new Proxy(e,{defineProperty(u,a,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Ms();var v=r.get(a);return v===void 0?o(()=>{var w=ee(f.value);return r.set(a,w),w}):R(v,f.value,!0),!0},deleteProperty(u,a){var f=r.get(a);if(f===void 0){if(a in u){const v=o(()=>ee(ae));r.set(a,v),cr(i)}}else R(f,ae),cr(i);return!0},get(u,a,f){if(a===Ur)return e;var v=r.get(a),w=a in u;if(v===void 0&&(!w||fr(u,a)?.writable)&&(v=o(()=>{var h=Kt(w?u[a]:ae),p=ee(h);return p}),r.set(a,v)),v!==void 0){var d=c(v);return d===ae?void 0:d}return Reflect.get(u,a,f)},getOwnPropertyDescriptor(u,a){var f=Reflect.getOwnPropertyDescriptor(u,a);if(f&&"value"in f){var v=r.get(a);v&&(f.value=c(v))}else if(f===void 0){var w=r.get(a),d=w?.v;if(w!==void 0&&d!==ae)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return f},has(u,a){if(a===Ur)return!0;var f=r.get(a),v=f!==void 0&&f.v!==ae||Reflect.has(u,a);if(f!==void 0||j!==null&&(!v||fr(u,a)?.writable)){f===void 0&&(f=o(()=>{var d=v?Kt(u[a]):ae,h=ee(d);return h}),r.set(a,f));var w=c(f);if(w===ae)return!1}return v},set(u,a,f,v){var w=r.get(a),d=a in u;if(n&&a==="length")for(var h=f;h<w.v;h+=1){var p=r.get(h+"");p!==void 0?R(p,ae):h in u&&(p=o(()=>ee(ae)),r.set(h+"",p))}if(w===void 0)(!d||fr(u,a)?.writable)&&(w=o(()=>ee(void 0)),R(w,Kt(f)),r.set(a,w));else{d=w.v!==ae;var L=o(()=>Kt(f));R(w,L)}var _=Reflect.getOwnPropertyDescriptor(u,a);if(_?.set&&_.set.call(v,f),!d){if(n&&typeof a=="string"){var T=r.get("length"),re=Number(a);Number.isInteger(re)&&re>=T.v&&R(T,re+1)}cr(i)}return!0},ownKeys(u){c(i);var a=Reflect.ownKeys(u).filter(w=>{var d=r.get(w);return d===void 0||d.v!==ae});for(var[f,v]of r)v.v!==ae&&!(f in u)&&a.push(f);return a},setPrototypeOf(){Ss()}})}var sn,hi,_i,pi;function sa(){if(sn===void 0){sn=window,hi=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;_i=fr(t,"firstChild").get,pi=fr(t,"nextSibling").get,jn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),jn(r)&&(r.__t=void 0)}}function yt(e=""){return document.createTextNode(e)}function jr(e){return _i.call(e)}function br(e){return pi.call(e)}function m(e,t){return jr(e)}function sr(e,t=!1){{var r=jr(e);return r instanceof Comment&&r.data===""?br(r):r}}function x(e,t=1,r=!1){let n=e;for(;t--;)n=br(n);return n}function aa(e){e.textContent=""}function gi(){return!1}function la(e,t,r){return document.createElementNS(Zn,e,void 0)}let Dn=!1;function oa(){Dn||(Dn=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Ir(e){var t=M,r=j;Re(null),Qe(null);try{return e()}finally{Re(t),Qe(r)}}function fa(e,t,r,n=r){e.addEventListener(t,()=>Ir(r));const i=e.__on_r;i?e.__on_r=()=>{i(),n(!0)}:e.__on_r=()=>n(!0),oa()}function ua(e){j===null&&(M===null&&ks(),ys()),It&&xs()}function ca(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function kt(e,t){var r=j;r!==null&&(r.f&pe)!==0&&(e|=pe);var n={ctx:Ee,deps:null,nodes:null,f:e|le|Ne,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};N?.register_created_effect(n);var i=n;if((e&vr)!==0)Ut!==null?Ut.push(n):Pt.ensure().schedule(n);else if(t!==null){try{er(n)}catch(o){throw ge(n),o}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&tr)===0&&(i=i.first,(e&ut)!==0&&(e&$t)!==0&&i!==null&&(i.f|=$t))}if(i!==null&&(i.parent=r,r!==null&&ca(i,r),M!==null&&(M.f&te)!==0&&(e&Ft)===0)){var s=M;(s.effects??(s.effects=[])).push(i)}return n}function pn(){return M!==null&&!He}function mi(e){const t=kt(Pr,null);return q(t,G),t.teardown=e,t}function va(e){ua();var t=j.f,r=!M&&(t&Ve)!==0&&(t&Bt)===0;if(r){var n=Ee;(n.e??(n.e=[])).push(e)}else return wi(e)}function wi(e){return kt(vr|ps,e)}function da(e){Pt.ensure();const t=kt(Ft|tr,e);return(r={})=>new Promise(n=>{r.outro?Ot(t,()=>{ge(t),n(void 0)}):(ge(t),n(void 0))})}function ha(e){return kt(zr|tr,e)}function bi(e,t=0){return kt(Pr|t,e)}function Z(e,t=[],r=[],n=[]){Xs(n,t,r,i=>{kt(Pr,()=>e(...i.map(c)))})}function gn(e,t=0){var r=kt(ut|t,e);return r}function Le(e){return kt(Ve|tr,e)}function xi(e){var t=e.teardown;if(t!==null){const r=It,n=M;Pn(!0),Re(null);try{t.call(null)}finally{Pn(r),Re(n)}}}function mn(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Ir(()=>{i.abort(st)});var n=r.next;(r.f&Ft)!==0?r.parent=null:ge(r,t),r=n}}function _a(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&Ve)===0&&ge(t),t=r}}function ge(e,t=!0){var r=!1;(t||(e.f&_s)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(pa(e.nodes.start,e.nodes.end),r=!0),q(e,On),mn(e,t&&!r),dr(e,0);var n=e.nodes&&e.nodes.t;if(n!==null)for(const s of n)s.stop();xi(e),e.f^=On,e.f|=je;var i=e.parent;i!==null&&i.first!==null&&yi(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function pa(e,t){for(;e!==null;){var r=e===t?null:br(e);e.remove(),e=r}}function yi(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function Ot(e,t,r=!0){var n=[];ki(e,n,!0);var i=()=>{r&&ge(e),t&&t()},s=n.length;if(s>0){var o=()=>--s||i();for(var u of n)u.out(o)}else i()}function ki(e,t,r){if((e.f&pe)===0){e.f^=pe;var n=e.nodes&&e.nodes.t;if(n!==null)for(const u of n)(u.is_global||r)&&t.push(u);for(var i=e.first;i!==null;){var s=i.next,o=(i.f&$t)!==0||(i.f&Ve)!==0&&(e.f&ut)!==0;ki(i,t,o?r:!1),i=s}}}function wn(e){Ei(e,!0)}function Ei(e,t){if((e.f&pe)!==0){e.f^=pe,(e.f&G)===0&&(q(e,le),Pt.ensure().schedule(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&$t)!==0||(r.f&Ve)!==0;Ei(r,i?t:!1),r=n}var s=e.nodes&&e.nodes.t;if(s!==null)for(const o of s)(o.is_global||t)&&o.in()}}function bn(e,t){if(e.nodes)for(var r=e.nodes.start,n=e.nodes.end;r!==null;){var i=r===n?null:br(r);t.append(r),r=i}}let Lr=!1,It=!1;function Pn(e){It=e}let M=null,He=!1;function Re(e){M=e}let j=null;function Qe(e){j=e}let Oe=null;function Mi(e){M!==null&&(Oe===null?Oe=[e]:Oe.push(e))}let _e=null,be=0,Te=null;function ga(e){Te=e}let Si=1,At=0,Rt=At;function zn(e){Rt=e}function Ai(){return++Si}function xr(e){var t=e.f;if((t&le)!==0)return!0;if(t&te&&(e.f&=~Dt),(t&$e)!==0){for(var r=e.deps,n=r.length,i=0;i<n;i++){var s=r[i];if(xr(s)&&ui(s),s.wv>e.wv)return!0}(t&Ne)!==0&&Be===null&&q(e,G)}return!1}function Ti(e,t,r=!0){var n=e.reactions;if(n!==null&&!(Oe!==null&&Xt.call(Oe,e)))for(var i=0;i<n.length;i++){var s=n[i];(s.f&te)!==0?Ti(s,t,!1):t===s&&(r?q(s,le):(s.f&G)!==0&&q(s,$e),dn(s))}}function Ci(e){var L;var t=_e,r=be,n=Te,i=M,s=Oe,o=Ee,u=He,a=Rt,f=e.f;_e=null,be=0,Te=null,M=(f&(Ve|Ft))===0?e:null,Oe=null,Qt(e.ctx),He=!1,Rt=++At,e.ac!==null&&(Ir(()=>{e.ac.abort(st)}),e.ac=null);try{e.f|=$r;var v=e.fn,w=v();e.f|=Bt;var d=e.deps,h=N?.is_fork;if(_e!==null){var p;if(h||dr(e,be),d!==null&&be>0)for(d.length=be+_e.length,p=0;p<_e.length;p++)d[be+p]=_e[p];else e.deps=d=_e;if(pn()&&(e.f&Ne)!==0)for(p=be;p<d.length;p++)((L=d[p]).reactions??(L.reactions=[])).push(e)}else!h&&d!==null&&be<d.length&&(dr(e,be),d.length=be);if(Jn()&&Te!==null&&!He&&d!==null&&(e.f&(te|$e|le))===0)for(p=0;p<Te.length;p++)Ti(Te[p],e);if(i!==null&&i!==e){if(At++,i.deps!==null)for(let _=0;_<r;_+=1)i.deps[_].rv=At;if(t!==null)for(const _ of t)_.rv=At;Te!==null&&(n===null?n=Te:n.push(...Te))}return(e.f&wt)!==0&&(e.f^=wt),w}catch(_){return ti(_)}finally{e.f^=$r,_e=t,be=r,Te=n,M=i,Oe=s,Qt(o),He=u,Rt=a}}function ma(e,t){let r=t.reactions;if(r!==null){var n=ls.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}if(r===null&&(t.f&te)!==0&&(_e===null||!Xt.call(_e,t))){var s=t;(s.f&Ne)!==0&&(s.f^=Ne,s.f&=~Dt),cn(s),ra(s),dr(s,0)}}function dr(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)ma(e,r[n])}function er(e){var t=e.f;if((t&je)===0){q(e,G);var r=j,n=Lr;j=e,Lr=!0;try{(t&(ut|Yn))!==0?_a(e):mn(e),xi(e);var i=Ci(e);e.teardown=typeof i=="function"?i:null,e.wv=Si;var s;as&&Ps&&(e.f&le)!==0&&e.deps}finally{Lr=n,j=r}}}async function wa(){await Promise.resolve(),Hs()}function c(e){var t=e.f,r=(t&te)!==0;if(M!==null&&!He){var n=j!==null&&(j.f&je)!==0;if(!n&&(Oe===null||!Xt.call(Oe,e))){var i=M.deps;if((M.f&$r)!==0)e.rv<At&&(e.rv=At,_e===null&&i!==null&&i[be]===e?be++:_e===null?_e=[e]:_e.push(e));else{(M.deps??(M.deps=[])).push(e);var s=e.reactions;s===null?e.reactions=[M]:Xt.call(s,M)||s.push(M)}}}if(It&&xt.has(e))return xt.get(e);if(r){var o=e;if(It){var u=o.v;return((o.f&G)===0&&o.reactions!==null||Ni(o))&&(u=_n(o)),xt.set(o,u),u}var a=(o.f&Ne)===0&&!He&&M!==null&&(Lr||(M.f&Ne)!==0),f=(o.f&Bt)===0;xr(o)&&(a&&(o.f|=Ne),ui(o)),a&&!f&&(ci(o),Li(o))}if(Be?.has(e))return Be.get(e);if((e.f&wt)!==0)throw e.v;return e.v}function Li(e){if(e.f|=Ne,e.deps!==null)for(const t of e.deps)(t.reactions??(t.reactions=[])).push(e),(t.f&te)!==0&&(t.f&Ne)===0&&(ci(t),Li(t))}function Ni(e){if(e.v===ae)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(xt.has(t)||(t.f&te)!==0&&Ni(t))return!0;return!1}function xn(e){var t=He;try{return He=!0,e()}finally{He=t}}const ba=["touchstart","touchmove"];function xa(e){return ba.includes(e)}const Tt=Symbol("events"),ji=new Set,an=new Set;function ya(e,t,r,n={}){function i(s){if(n.capture||ln.call(t,s),!s.cancelBubble)return Ir(()=>r?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?bt(()=>{t.addEventListener(e,i,n)}):t.addEventListener(e,i,n),i}function Yr(e,t,r,n,i){var s={capture:n,passive:i},o=ya(e,t,r,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&mi(()=>{t.removeEventListener(e,o,s)})}function se(e,t,r){(t[Tt]??(t[Tt]={}))[e]=r}function ka(e){for(var t=0;t<e.length;t++)ji.add(e[t]);for(var r of an)r(e)}let In=null;function ln(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;In=e;var o=0,u=In===e&&e[Tt];if(u){var a=i.indexOf(u);if(a!==-1&&(t===document||t===window)){e[Tt]=t;return}var f=i.indexOf(t);if(f===-1)return;a<=f&&(o=a)}if(s=i[o]||e.target,s!==t){os(e,"currentTarget",{configurable:!0,get(){return s||r}});var v=M,w=j;Re(null),Qe(null);try{for(var d,h=[];s!==null;){var p=s.assignedSlot||s.parentNode||s.host||null;try{var L=s[Tt]?.[n];L!=null&&(!s.disabled||e.target===s)&&L.call(s,e)}catch(_){d?h.push(_):d=_}if(e.cancelBubble||p===t||p===null)break;s=p}if(d){for(let _ of h)queueMicrotask(()=>{throw _});throw d}}finally{e[Tt]=t,delete e.currentTarget,Re(v),Qe(w)}}}const Ea=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Ma(e){return Ea?.createHTML(e)??e}function Sa(e){var t=la("template");return t.innerHTML=Ma(e.replaceAll("<!>","\x3C!---->")),t.content}function on(e,t){var r=j;r.nodes===null&&(r.nodes={start:e,end:t,a:null,t:null})}function S(e,t){var r=(t&Os)!==0,n=(t&Rs)!==0,i,s=!e.startsWith("<!>");return()=>{i===void 0&&(i=Sa(s?e:"<!>"+e),r||(i=jr(i)));var o=n||hi?document.importNode(i,!0):i.cloneNode(!0);if(r){var u=jr(o),a=o.lastChild;on(u,a)}else on(o,o);return o}}function Aa(){var e=document.createDocumentFragment(),t=document.createComment(""),r=yt();return e.append(t,r),on(t,r),e}function E(e,t){e!==null&&e.before(t)}function P(e,t){var r=t==null?"":typeof t=="object"?`${t}`:t;r!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=r,e.nodeValue=`${r}`)}function Ta(e,t){return Ca(e,t)}const Er=new Map;function Ca(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:o=!0,transformError:u}){sa();var a=void 0,f=da(()=>{var v=r??t.appendChild(yt());Ks(v,{pending:()=>{}},h=>{$n({});var p=Ee;s&&(p.c=s),i&&(n.$$events=i),a=e(h,n)||{},Qn()},u);var w=new Set,d=h=>{for(var p=0;p<h.length;p++){var L=h[p];if(!w.has(L)){w.add(L);var _=xa(L);for(const F of[t,document]){var T=Er.get(F);T===void 0&&(T=new Map,Er.set(F,T));var re=T.get(L);re===void 0?(F.addEventListener(L,ln,{passive:_}),T.set(L,1)):T.set(L,re+1)}}}};return d(Dr(ji)),an.add(d),()=>{for(var h of w)for(const _ of[t,document]){var p=Er.get(_),L=p.get(h);--L==0?(_.removeEventListener(h,ln),p.delete(h),p.size===0&&Er.delete(_)):p.set(h,L)}an.delete(d),v!==r&&v.parentNode?.removeChild(v)}});return La.set(a,f),a}let La=new WeakMap;var Ie,Ge,ke,jt,mr,wr,Fr;class Na{constructor(t,r=!0){Pe(this,"anchor");k(this,Ie,new Map);k(this,Ge,new Map);k(this,ke,new Map);k(this,jt,new Set);k(this,mr,!0);k(this,wr,t=>{if(l(this,Ie).has(t)){var r=l(this,Ie).get(t),n=l(this,Ge).get(r);if(n)wn(n),l(this,jt).delete(r);else{var i=l(this,ke).get(r);i&&(l(this,Ge).set(r,i.effect),l(this,ke).delete(r),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[s,o]of l(this,Ie)){if(l(this,Ie).delete(s),s===t)break;const u=l(this,ke).get(o);u&&(ge(u.effect),l(this,ke).delete(o))}for(const[s,o]of l(this,Ge)){if(s===r||l(this,jt).has(s))continue;const u=()=>{if(Array.from(l(this,Ie).values()).includes(s)){var f=document.createDocumentFragment();bn(o,f),f.append(yt()),l(this,ke).set(s,{effect:o,fragment:f})}else ge(o);l(this,jt).delete(s),l(this,Ge).delete(s)};l(this,mr)||!n?(l(this,jt).add(s),Ot(o,u,!1)):u()}}});k(this,Fr,t=>{l(this,Ie).delete(t);const r=Array.from(l(this,Ie).values());for(const[n,i]of l(this,ke))r.includes(n)||(ge(i.effect),l(this,ke).delete(n))});this.anchor=t,A(this,mr,r)}ensure(t,r){var n=N,i=gi();if(r&&!l(this,Ge).has(t)&&!l(this,ke).has(t))if(i){var s=document.createDocumentFragment(),o=yt();s.append(o),l(this,ke).set(t,{effect:Le(()=>r(o)),fragment:s})}else l(this,Ge).set(t,Le(()=>r(this.anchor)));if(l(this,Ie).set(n,t),i){for(const[u,a]of l(this,Ge))u===t?n.unskip_effect(a):n.skip_effect(a);for(const[u,a]of l(this,ke))u===t?n.unskip_effect(a.effect):n.skip_effect(a.effect);n.oncommit(l(this,wr)),n.ondiscard(l(this,Fr))}else l(this,wr).call(this,n)}}Ie=new WeakMap,Ge=new WeakMap,ke=new WeakMap,jt=new WeakMap,mr=new WeakMap,wr=new WeakMap,Fr=new WeakMap;function K(e,t,r=!1){var n=new Na(e),i=r?$t:0;function s(o,u){n.ensure(o,u)}gn(()=>{var o=!1;t((u,a=0)=>{o=!0,s(a,u)}),o||s(-1,null)},i)}function ja(e,t){return t}function Oa(e,t,r){for(var n=[],i=t.length,s,o=t.length,u=0;u<i;u++){let w=t[u];Ot(w,()=>{if(s){if(s.pending.delete(w),s.done.add(w),s.pending.size===0){var d=e.outrogroups;fn(e,Dr(s.done)),d.delete(s),d.size===0&&(e.outrogroups=null)}}else o-=1},!1)}if(o===0){var a=n.length===0&&r!==null;if(a){var f=r,v=f.parentNode;aa(v),v.append(f),e.items.clear()}fn(e,t,!a)}else s={pending:new Set(t),done:new Set},(e.outrogroups??(e.outrogroups=new Set)).add(s)}function fn(e,t,r=!0){var n;if(e.pending.size>0){n=new Set;for(const o of e.pending.values())for(const u of o)n.add(e.items.get(u).e)}for(var i=0;i<t.length;i++){var s=t[i];if(n?.has(s)){s.f|=Xe;const o=document.createDocumentFragment();bn(s,o)}else ge(t[i],r)}}var Bn;function qt(e,t,r,n,i,s=null){var o=e,u=new Map,a=(t&Wn)!==0;if(a){var f=e;o=f.appendChild(yt())}var v=null,w=Js(()=>{var F=r();return qn(F)?F:F==null?[]:Dr(F)}),d,h=new Map,p=!0;function L(F){(re.effect.f&je)===0&&(re.pending.delete(F),re.fallback=v,Ra(re,d,o,t,n),v!==null&&(d.length===0?(v.f&Xe)===0?wn(v):(v.f^=Xe,or(v,null,o)):Ot(v,()=>{v=null})))}function _(F){re.pending.delete(F)}var T=gn(()=>{d=c(w);for(var F=d.length,oe=new Set,Me=N,ct=gi(),fe=0;fe<F;fe+=1){var Je=d[fe],et=n(Je,fe),$=p?null:u.get(et);$?($.v&&Jt($.v,Je),$.i&&Jt($.i,fe),ct&&Me.unskip_effect($.e)):($=Fa(u,p?o:Bn??(Bn=yt()),Je,et,fe,i,t,r),p||($.e.f|=Xe),u.set(et,$)),oe.add(et)}if(F===0&&s&&!v&&(p?v=Le(()=>s(o)):(v=Le(()=>s(Bn??(Bn=yt()))),v.f|=Xe)),F>oe.size&&bs(),!p)if(h.set(Me,oe),ct){for(const[Br,yr]of u)oe.has(Br)||Me.skip_effect(yr.e);Me.oncommit(L),Me.ondiscard(_)}else L(Me);c(w)}),re={effect:T,items:u,pending:h,outrogroups:null,fallback:v};p=!1}function ar(e){for(;e!==null&&(e.f&Ve)===0;)e=e.next;return e}function Ra(e,t,r,n,i){var s=(n&Ns)!==0,o=t.length,u=e.items,a=ar(e.effect.first),f,v=null,w,d=[],h=[],p,L,_,T;if(s)for(T=0;T<o;T+=1)p=t[T],L=i(p,T),_=u.get(L).e,(_.f&Xe)===0&&(_.nodes?.a?.measure(),(w??(w=new Set)).add(_));for(T=0;T<o;T+=1){if(p=t[T],L=i(p,T),_=u.get(L).e,e.outrogroups!==null)for(const $ of e.outrogroups)$.pending.delete(_),$.done.delete(_);if((_.f&pe)!==0&&(wn(_),s&&(_.nodes?.a?.unfix(),(w??(w=new Set)).delete(_))),(_.f&Xe)!==0)if(_.f^=Xe,_===a)or(_,null,r);else{var re=v?v.next:a;_===e.effect.last&&(e.effect.last=_.prev),_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),_t(e,v,_),_t(e,_,re),or(_,re,r),v=_,d=[],h=[],a=ar(v.next);continue}if(_!==a){if(f!==void 0&&f.has(_)){if(d.length<h.length){var F=h[0],oe;v=F.prev;var Me=d[0],ct=d[d.length-1];for(oe=0;oe<d.length;oe+=1)or(d[oe],F,r);for(oe=0;oe<h.length;oe+=1)f.delete(h[oe]);_t(e,Me.prev,ct.next),_t(e,v,Me),_t(e,ct,F),a=F,v=ct,T-=1,d=[],h=[]}else f.delete(_),or(_,a,r),_t(e,_.prev,_.next),_t(e,_,v===null?e.effect.first:v.next),_t(e,v,_),v=_;continue}for(d=[],h=[];a!==null&&a!==_;)(f??(f=new Set)).add(a),h.push(a),a=ar(a.next);if(a===null)continue}(_.f&Xe)===0&&d.push(_),v=_,a=ar(_.next)}if(e.outrogroups!==null){for(const $ of e.outrogroups)$.pending.size===0&&(fn(e,Dr($.done)),e.outrogroups?.delete($));e.outrogroups.size===0&&(e.outrogroups=null)}if(a!==null||f!==void 0){var fe=[];if(f!==void 0)for(_ of f)(_.f&pe)===0&&fe.push(_);for(;a!==null;)(a.f&pe)===0&&a!==e.fallback&&fe.push(a),a=ar(a.next);var Je=fe.length;if(Je>0){var et=(n&Wn)!==0&&o===0?r:null;if(s){for(T=0;T<Je;T+=1)fe[T].nodes?.a?.measure();for(T=0;T<Je;T+=1)fe[T].nodes?.a?.fix()}Oa(e,fe,et)}}s&&bt(()=>{if(w!==void 0)for(_ of w)_.nodes?.a?.apply()})}function Fa(e,t,r,n,i,s,o,u){var a=(o&Cs)!==0?(o&js)===0?na(r,!1,!1):zt(r):null,f=(o&Ls)!==0?zt(i):null;return{v:a,i:f,e:Le(()=>(s(t,a??r,f??i,u),()=>{e.delete(n)}))}}function or(e,t,r){if(e.nodes)for(var n=e.nodes.start,i=e.nodes.end,s=t&&(t.f&Xe)===0?t.nodes.start:r;n!==null;){var o=br(n);if(s.before(n),n===i)return;n=o}}function _t(e,t,r){t===null?e.effect.first=r:t.next=r,r===null?e.effect.last=t:r.prev=t}function Da(e,t,r){var n=e==null?"":""+e;return n===""?null:n}function lr(e,t,r,n,i,s){var o=e.__className;if(o!==r||o===void 0){var u=Da(r);u==null?e.removeAttribute("class"):e.className=u,e.__className=r}return s}const Pa=Symbol("is custom element"),za=Symbol("is html");function Mt(e,t,r,n){var i=Ia(e);i[t]!==(i[t]=r)&&(t==="loading"&&(e[gs]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Ba(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Ia(e){return e.__attributes??(e.__attributes={[Pa]:e.nodeName.includes("-"),[za]:e.namespaceURI===Zn})}var Hn=new Map;function Ba(e){var t=e.getAttribute("is")||e.nodeName,r=Hn.get(t);if(r)return r;Hn.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=fs(i);for(var o in n)n[o].set&&r.push(o);i=Un(i)}return r}function Ha(e,t,r=t){var n=new WeakSet;fa(e,"input",async i=>{var s=i?e.defaultValue:e.value;if(s=Wr(e)?Zr(s):s,r(s),N!==null&&n.add(N),await wa(),s!==(s=t())){var o=e.selectionStart,u=e.selectionEnd,a=e.value.length;if(e.value=s??"",u!==null){var f=e.value.length;o===u&&u===a&&f>a?(e.selectionStart=f,e.selectionEnd=f):(e.selectionStart=o,e.selectionEnd=Math.min(u,f))}}}),xn(t)==null&&e.value&&(r(Wr(e)?Zr(e.value):e.value),N!==null&&n.add(N)),bi(()=>{var i=t();if(e===document.activeElement){var s=N;if(n.has(s))return}Wr(e)&&i===Zr(e.value)||e.type==="date"&&!i&&!e.value||i!==e.value&&(e.value=i??"")})}function Wr(e){var t=e.type;return t==="number"||t==="range"}function Zr(e){return e===""?null:+e}function Va(e){Ee===null&&ms(),va(()=>{const t=xn(e);if(typeof t=="function")return t})}const qa="5";var Vn;typeof window<"u"&&((Vn=window.__svelte??(window.__svelte={})).v??(Vn.v=new Set)).add(qa);var Ua=S('<div class="flex min-h-screen items-center justify-center bg-gray-50"><div class="inline-block h-8 w-8 animate-spin rounded-full border-2 border-gray-300 border-t-blue-600"></div></div>'),Ka=S('<div class="flex min-h-screen items-center justify-center bg-gray-50 p-4"><div class="rounded-xl border border-red-200 bg-red-50 p-6 text-center"><p class="text-sm text-red-700"> </p></div></div>'),Ya=S('<button> <span class="ml-1 text-xs opacity-70"> </span></button>'),Wa=S('<div class="mx-auto max-w-2xl px-4 pb-2"><div class="flex gap-2 overflow-x-auto pb-2"><button>Alle</button> <!></div></div>'),Za=S('<button class="shrink-0 text-gray-400 hover:text-gray-600" aria-label="Suche loschen"><svg class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12"></path></svg></button>'),Ga=S('<svg class="h-4 w-4 shrink-0 text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"></path></svg> <span class="font-medium text-gray-900"> </span>',1),Xa=S('<span class="font-medium text-blue-500">#</span> <span class="font-medium text-gray-900"> </span>',1),$a=S('<button class="flex w-full items-center gap-3 px-4 py-2.5 text-left text-sm hover:bg-gray-50"><!></button>'),Qa=S('<div class="absolute left-0 right-0 top-full z-50 mt-1 overflow-hidden rounded-xl border border-gray-200 bg-white shadow-lg"></div>'),Ja=S('<span class="flex items-center gap-1 rounded-full bg-blue-100 px-2.5 py-0.5 text-xs font-medium text-blue-700"> <button class="ml-0.5 hover:text-blue-900" aria-label="Filter entfernen"><svg class="h-3 w-3" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12"></path></svg></button></span>'),el=S('<button class="text-xs text-gray-400 hover:text-gray-600">Alle loschen</button>'),tl=S('<div class="mt-2 flex flex-wrap items-center gap-1.5"><!> <!></div>'),rl=S('<div class="mx-auto max-w-2xl px-4 pb-3"><div class="relative"><div class="flex items-center gap-2 rounded-xl border border-gray-200 bg-gray-50 px-3 py-2 focus-within:border-blue-400 focus-within:bg-white focus-within:ring-1 focus-within:ring-blue-200"><svg class="h-4 w-4 shrink-0 text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"></path></svg> <input type="search" placeholder="Nutzer oder #Tag suchen..." class="min-w-0 flex-1 bg-transparent text-sm text-gray-900 placeholder-gray-400 outline-none"/> <!></div> <!></div> <!></div>'),nl=S('<button class="mt-2 text-sm text-blue-600 hover:underline">Filter zurucksetzen</button>'),il=S('<div class="py-20 text-center"><p class="text-lg text-gray-400">Noch keine Fotos.</p> <!></div>'),sl=S('<img alt="" class="h-full w-full object-cover opacity-80"/>'),al=S('<div class="relative aspect-video w-full bg-gray-900"><!> <div class="absolute inset-0 flex items-center justify-center"><span class="flex h-14 w-14 items-center justify-center rounded-full bg-black/50 text-white"><svg class="h-7 w-7 pl-0.5" fill="currentColor" viewBox="0 0 24 24"><path d="M8 5v14l11-7z"></path></svg></span></div></div>'),ll=S('<img alt="" class="w-full object-cover" style="max-height: 80svh" loading="lazy"/>'),ol=S('<div class="flex aspect-square w-full items-center justify-center bg-gray-100"><svg class="h-12 w-12 text-gray-300" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"></path></svg></div>'),fl=S('<p class="px-4 pb-3 text-sm text-gray-800 [overflow-wrap:anywhere]"> </p>'),ul=S('<article class="bg-white"><div class="flex items-center gap-3 px-4 py-3"><div> </div> <div class="min-w-0"><p class="truncate text-sm font-semibold text-gray-900"> </p> <p class="text-xs text-gray-400"> </p></div></div> <button class="block w-full" aria-label="Bild vergrößern"><!></button> <div class="flex items-center gap-4 px-4 py-2"><span class="flex items-center gap-1.5 text-sm font-medium text-gray-500"><svg class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"></path></svg> </span> <span class="flex items-center gap-1.5 text-sm font-medium text-gray-500"><svg class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"></path></svg> </span></div> <!> <div class="border-b border-gray-100"></div></article>'),cl=S('<div class="mx-auto max-w-2xl"></div>'),vl=S('<img alt="" class="h-full w-full object-cover"/>'),dl=S('<div class="flex h-full items-center justify-center bg-gray-800"><!> <div class="absolute inset-0 flex items-center justify-center"><svg class="h-10 w-10 text-white/80" fill="currentColor" viewBox="0 0 24 24"><path d="M8 5v14l11-7z"></path></svg></div></div>'),hl=S('<img alt="" class="h-full w-full object-cover" loading="lazy"/>'),_l=S('<div class="flex h-full items-center justify-center text-gray-400"><svg class="h-8 w-8" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"></path></svg></div>'),pl=S('<div class="group relative aspect-square cursor-pointer overflow-hidden rounded-lg bg-gray-100"><button class="block h-full w-full" aria-label="Upload anzeigen"><!></button> <div class="pointer-events-none absolute inset-x-0 bottom-0 bg-gradient-to-t from-black/60 to-transparent p-2"><p class="truncate text-xs font-medium text-white"> </p> <div class="mt-0.5 flex items-center gap-3 text-xs text-white/80"><span class="flex items-center gap-0.5"><svg class="h-3.5 w-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"></path></svg> </span> <span class="flex items-center gap-0.5"><svg class="h-3.5 w-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"></path></svg> </span></div></div></div>'),gl=S('<div class="mx-auto max-w-2xl"><div class="grid grid-cols-3 gap-0.5"></div></div>'),ml=S('<button class="absolute left-2 top-1/2 z-10 -translate-y-1/2 rounded-full bg-black/50 p-1.5 text-white hover:bg-black/70" aria-label="Vorheriges"><svg class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M15.75 19.5 8.25 12l7.5-7.5"></path></svg></button> <button class="absolute right-2 top-1/2 z-10 -translate-y-1/2 rounded-full bg-black/50 p-1.5 text-white hover:bg-black/70" aria-label="Nachstes"><svg class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="m8.25 4.5 7.5 7.5-7.5 7.5"></path></svg></button>',1),wl=S('<video controls="" class="max-h-[50vh] w-full object-contain"></video>',2),bl=S('<img alt="" class="max-h-[50vh] w-full object-contain"/>'),xl=S('<p class="mt-1 text-sm text-gray-700 [overflow-wrap:anywhere]"> </p>'),yl=S('<p class="text-center text-sm text-gray-400">Keine Kommentare.</p>'),kl=S('<div><span class="text-sm font-medium text-gray-900"> </span> <span class="ml-1 text-sm text-gray-700"> </span> <div class="mt-0.5 text-xs text-gray-400"> </div></div>'),El=S('<div class="space-y-3"></div>'),Ml=S('<div class="fixed inset-0 z-50 flex items-center justify-center bg-black/80" role="dialog" tabindex="-1"><div class="flex max-h-[95vh] w-full max-w-2xl flex-col overflow-hidden rounded-xl bg-white sm:m-4"><div class="relative bg-black"><button class="absolute right-2 top-2 z-10 rounded-full bg-black/50 p-1.5 text-white hover:bg-black/70"><svg class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></button> <!> <!></div> <div class="flex flex-1 flex-col overflow-hidden"><div class="border-b border-gray-100 p-3"><div class="flex items-center justify-between"><div><span class="font-medium text-gray-900"> </span> <span class="ml-2 text-xs text-gray-400"> </span></div> <span class="flex items-center gap-1 rounded-full bg-gray-100 px-2.5 py-1 text-sm text-gray-600"><svg class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"></path></svg> </span></div> <!></div> <div class="flex-1 overflow-y-auto p-3"><!></div></div></div></div>'),Sl=S('<div class="min-h-screen bg-gray-50 pb-8"><div class="sticky top-0 z-30 border-b border-gray-200 bg-white/95 backdrop-blur"><div class="mx-auto flex max-w-2xl items-center justify-between px-4 py-3"><h1 class="text-lg font-bold text-gray-900"> </h1> <div class="flex items-center gap-1 rounded-lg bg-gray-100 p-1"><button aria-label="Listenansicht"><svg class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"></path></svg></button> <button aria-label="Rasteransicht"><svg class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 6A2.25 2.25 0 0 1 6 3.75h2.25A2.25 2.25 0 0 1 10.5 6v2.25a2.25 2.25 0 0 1-2.25 2.25H6a2.25 2.25 0 0 1-2.25-2.25V6ZM3.75 15.75A2.25 2.25 0 0 1 6 13.5h2.25a2.25 2.25 0 0 1 2.25 2.25V18a2.25 2.25 0 0 1-2.25 2.25H6A2.25 2.25 0 0 1 3.75 18v-2.25ZM13.5 6a2.25 2.25 0 0 1 2.25-2.25H18A2.25 2.25 0 0 1 20.25 6v2.25A2.25 2.25 0 0 1 18 10.5h-2.25a2.25 2.25 0 0 1-2.25-2.25V6ZM13.5 15.75a2.25 2.25 0 0 1 2.25-2.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-2.25A2.25 2.25 0 0 1 13.5 18v-2.25Z"></path></svg></button></div></div> <!> <!></div> <!> <footer class="mt-8 border-t border-gray-200 py-6 text-center text-xs text-gray-400"><p> </p> <p class="mt-1"> </p></footer></div> <!>',1);function Al(e,t){$n(t,!0);let r=ee(null),n=ee(!0),i=ee(""),s=ee("list"),o=ee(""),u=ee(!1),a=ee(Kt([])),f=ee(null),v=ee(0),w=0,d=ee(null),h=ht(()=>c(r)?.posts??[]),p=ht(()=>{const g=new Map;for(const b of c(h))for(const C of b.tags){const me=C.toLowerCase();g.set(me,(g.get(me)??0)+1)}return[...g.entries()].sort((b,C)=>C[1]-b[1])}),L=ht(()=>[...new Set(c(h).map(g=>g.uploader))].sort()),_=ht(()=>{const g=c(o).trim();if(!g)return c(u)?[...c(L).slice(0,3).map(C=>({type:"user",value:C})),...c(p).slice(0,3).map(([C])=>({type:"tag",value:C}))]:[];if(g.startsWith("#")){const C=g.slice(1).toLowerCase();return c(p).filter(([me])=>me.startsWith(C)).slice(0,8).map(([me])=>({type:"tag",value:me}))}const b=g.toLowerCase();return[...c(L).filter(C=>C.toLowerCase().includes(b)).slice(0,4).map(C=>({type:"user",value:C})),...c(p).filter(([C])=>C.includes(b)).slice(0,4).map(([C])=>({type:"tag",value:C}))]}),T=ht(()=>c(d)?c(h).filter(g=>g.tags.some(b=>b.toLowerCase()===c(d))):c(h)),re=ht(()=>{if(c(a).length===0)return c(h);const g=c(a).filter(C=>C.type==="tag").map(C=>C.value),b=c(a).filter(C=>C.type==="user").map(C=>C.value);return c(h).filter(C=>{const me=C.tags.map(nr=>nr.toLowerCase()),Ht=!g.length||g.some(nr=>me.includes(nr)),kr=!b.length||b.includes(C.uploader);return Ht&&kr})}),F=ht(()=>c(s)==="list"?c(T):c(re));Va(async()=>{try{const g=globalThis.__EXPORT_DATA__;if(g)R(r,g,!0);else{const b=await fetch("./data.json");if(!b.ok)throw new Error(`HTTP ${b.status}`);R(r,await b.json(),!0)}}catch{R(i,"Daten konnten nicht geladen werden. Stelle sicher, dass data.json im selben Ordner liegt.")}finally{R(n,!1)}});function oe(g){return new Date(g).toLocaleString("de-DE",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"})}function Me(g){return new Date(g).toLocaleString("de-DE",{day:"2-digit",month:"2-digit",hour:"2-digit",minute:"2-digit"})}function ct(g){return g[0]?.toUpperCase()??"?"}const fe=["bg-blue-100 text-blue-700","bg-purple-100 text-purple-700","bg-green-100 text-green-700","bg-amber-100 text-amber-700","bg-rose-100 text-rose-700","bg-teal-100 text-teal-700"];function Je(g){let b=0;for(const C of g)b=b*31+C.charCodeAt(0)&255;return fe[b%fe.length]}function et(g){R(s,g,!0),g==="list"&&(R(o,""),R(u,!1))}function $(g){c(a).some(b=>b.type===g.type&&b.value===g.value)||R(a,[...c(a),g],!0),R(o,""),R(u,!1)}function Br(g){R(a,c(a).filter(b=>!(b.type===g.type&&b.value===g.value)),!0)}function yr(){R(a,[],!0),R(o,"")}function yn(g){R(d,g,!0)}function kn(g){const b=c(F).indexOf(g);R(v,b>=0?b:0,!0),R(f,g,!0)}function Hr(){R(f,null)}function rr(g){const b=c(F).length;b!==0&&(R(v,(c(v)+g+b)%b),R(f,c(F)[c(v)],!0))}function Oi(g){c(f)&&(g.key==="Escape"?Hr():g.key==="ArrowLeft"?rr(-1):g.key==="ArrowRight"&&rr(1))}function Ri(g){w=g.touches[0].clientX}function Fi(g){const b=g.changedTouches[0].clientX-w;Math.abs(b)>50&&rr(b>0?-1:1)}var En=Aa();Yr("keydown",sn,Oi);var Di=sr(En);{var Pi=g=>{var b=Ua();E(g,b)},zi=g=>{var b=Ka(),C=m(b),me=m(C),Ht=m(me);Z(()=>P(Ht,c(i))),E(g,b)},Ii=g=>{var b=Sl(),C=sr(b),me=m(C),Ht=m(me),kr=m(Ht),nr=m(kr),Bi=x(kr,2),Vr=m(Bi),Mn=x(Vr,2),Sn=x(Ht,2);{var Hi=I=>{var U=Wa(),ce=m(U),O=m(ce),D=x(O,2);qt(D,17,()=>c(p),([ne,ve])=>ne,(ne,ve)=>{var qe=ht(()=>hs(c(ve),2));let Fe=()=>c(qe)[0],Ue=()=>c(qe)[1];var Se=Ya(),B=m(Se),Q=x(B),J=m(Q);Z(()=>{lr(Se,1,`shrink-0 rounded-full px-3 py-1 text-sm font-medium transition ${c(d)===Fe()?"bg-blue-600 text-white":"bg-gray-200 text-gray-700 hover:bg-gray-300"}`),P(B,`#${Fe()??""} `),P(J,Ue())}),se("click",Se,()=>yn(Fe())),E(ne,Se)}),Z(()=>lr(O,1,`shrink-0 rounded-full px-3 py-1 text-sm font-medium transition ${c(d)===null?"bg-blue-600 text-white":"bg-gray-200 text-gray-700 hover:bg-gray-300"}`)),se("click",O,()=>yn(null)),E(I,U)};K(Sn,I=>{c(s)==="list"&&c(p).length>0&&I(Hi)})}var Vi=x(Sn,2);{var qi=I=>{var U=rl(),ce=m(U),O=m(ce),D=x(m(O),2),ne=x(D,2);{var ve=B=>{var Q=Za();se("click",Q,()=>{R(o,"")}),E(B,Q)};K(ne,B=>{c(o)&&B(ve)})}var qe=x(O,2);{var Fe=B=>{var Q=Qa();qt(Q,21,()=>c(_),J=>J.type+":"+J.value,(J,we)=>{var Ae=$a(),ue=m(Ae);{var de=z=>{var W=Ga(),tt=x(sr(W),2),rt=m(tt);Z(()=>P(rt,c(we).value)),E(z,W)},De=z=>{var W=Xa(),tt=x(sr(W),2),rt=m(tt);Z(()=>P(rt,c(we).value)),E(z,W)};K(ue,z=>{c(we).type==="user"?z(de):z(De,-1)})}se("mousedown",Ae,()=>$(c(we))),E(J,Ae)}),E(B,Q)};K(qe,B=>{c(u)&&c(_).length>0&&B(Fe)})}var Ue=x(ce,2);{var Se=B=>{var Q=tl(),J=m(Q);qt(J,17,()=>c(a),ue=>ue.type+":"+ue.value,(ue,de)=>{var De=Ja(),z=m(De),W=x(z);Z(()=>P(z,`${c(de).type==="tag"?"#":""}${c(de).value??""} `)),se("click",W,()=>Br(c(de))),E(ue,De)});var we=x(J,2);{var Ae=ue=>{var de=el();se("click",de,yr),E(ue,de)};K(we,ue=>{c(a).length>=2&&ue(Ae)})}E(B,Q)};K(Ue,B=>{c(a).length>0&&B(Se)})}Yr("focus",D,()=>R(u,!0)),Yr("blur",D,()=>setTimeout(()=>R(u,!1),150)),Ha(D,()=>c(o),B=>R(o,B)),E(I,U)};K(Vi,I=>{c(s)==="grid"&&I(qi)})}var An=x(me,2);{var Ui=I=>{var U=il(),ce=x(m(U),2);{var O=D=>{var ne=nl();se("click",ne,yr),E(D,ne)};K(ce,D=>{c(a).length>0&&D(O)})}E(I,U)},Ki=I=>{var U=cl();qt(U,21,()=>c(F),ce=>ce.id,(ce,O)=>{var D=ul(),ne=m(D),ve=m(ne),qe=m(ve),Fe=x(ve,2),Ue=m(Fe),Se=m(Ue),B=x(Ue,2),Q=m(B),J=x(ne,2),we=m(J);{var Ae=ie=>{var y=al(),H=m(y);{var vt=nt=>{var ir=sl();Z(()=>Mt(ir,"src",c(O).media.thumb)),E(nt,ir)};K(H,nt=>{c(O).media.thumb&&nt(vt)})}E(ie,y)},ue=ie=>{var y=ll();Z(()=>Mt(y,"src",c(O).media.full)),E(ie,y)},de=ie=>{var y=ol();E(ie,y)};K(we,ie=>{c(O).media.type==="video"?ie(Ae):c(O).media.full?ie(ue,1):ie(de,-1)})}var De=x(J,2),z=m(De),W=x(m(z)),tt=x(z,2),rt=x(m(tt)),Et=x(De,2);{var Vt=ie=>{var y=fl(),H=m(y);Z(()=>P(H,c(O).caption)),E(ie,y)};K(Et,ie=>{c(O).caption&&ie(Vt)})}Z((ie,y,H)=>{lr(ve,1,`flex h-9 w-9 shrink-0 items-center justify-center rounded-full text-sm font-bold
${ie??""}`),P(qe,y),P(Se,c(O).uploader),P(Q,H),P(W,` ${c(O).likes??""}`),P(rt,` ${c(O).comments.length??""}`)},[()=>Je(c(O).uploader),()=>ct(c(O).uploader),()=>oe(c(O).timestamp)]),se("click",J,()=>kn(c(O))),E(ce,D)}),E(I,U)},Yi=I=>{var U=gl(),ce=m(U);qt(ce,21,()=>c(F),O=>O.id,(O,D)=>{var ne=pl(),ve=m(ne),qe=m(ve);{var Fe=z=>{var W=dl(),tt=m(W);{var rt=Et=>{var Vt=vl();Z(()=>Mt(Vt,"src",c(D).media.thumb)),E(Et,Vt)};K(tt,Et=>{c(D).media.thumb&&Et(rt)})}E(z,W)},Ue=z=>{var W=hl();Z(()=>Mt(W,"src",c(D).media.thumb)),E(z,W)},Se=z=>{var W=_l();E(z,W)};K(qe,z=>{c(D).media.type==="video"?z(Fe):c(D).media.thumb?z(Ue,1):z(Se,-1)})}var B=x(ve,2),Q=m(B),J=m(Q),we=x(Q,2),Ae=m(we),ue=x(m(Ae)),de=x(Ae,2),De=x(m(de));Z(()=>{P(J,c(D).uploader),P(ue,` ${c(D).likes??""}`),P(De,` ${c(D).comments.length??""}`)}),se("click",ve,()=>kn(c(D))),E(O,ne)}),E(I,U)};K(An,I=>{c(F).length===0?I(Ui):c(s)==="list"?I(Ki,1):I(Yi,-1)})}var Wi=x(An,2),Tn=m(Wi),Zi=m(Tn),Gi=x(Tn,2),Xi=m(Gi),$i=x(C,2);{var Qi=I=>{var U=Ml(),ce=m(U),O=m(ce),D=m(O),ne=x(D,2);{var ve=y=>{var H=ml(),vt=sr(H),nt=x(vt,2);se("click",vt,()=>rr(-1)),se("click",nt,()=>rr(1)),E(y,H)};K(ne,y=>{c(F).length>1&&y(ve)})}var qe=x(ne,2);{var Fe=y=>{var H=wl();Z(()=>{Mt(H,"src",c(f).media.full),Mt(H,"poster",c(f).media.thumb||void 0)}),E(y,H)},Ue=y=>{var H=bl();Z(()=>Mt(H,"src",c(f).media.full)),E(y,H)};K(qe,y=>{c(f).media.type==="video"?y(Fe):y(Ue,-1)})}var Se=x(O,2),B=m(Se),Q=m(B),J=m(Q),we=m(J),Ae=m(we),ue=x(we,2),de=m(ue),De=x(J,2),z=x(m(De)),W=x(Q,2);{var tt=y=>{var H=xl(),vt=m(H);Z(()=>P(vt,c(f).caption)),E(y,H)};K(W,y=>{c(f).caption&&y(tt)})}var rt=x(B,2),Et=m(rt);{var Vt=y=>{var H=yl();E(y,H)},ie=y=>{var H=El();qt(H,21,()=>c(f).comments,ja,(vt,nt)=>{var ir=kl(),Cn=m(ir),Ji=m(Cn),Ln=x(Cn,2),es=m(Ln),ts=x(Ln,2),rs=m(ts);Z(ns=>{P(Ji,c(nt).author),P(es,c(nt).text),P(rs,ns)},[()=>Me(c(nt).timestamp)]),E(vt,ir)}),E(y,H)};K(Et,y=>{c(f).comments.length===0?y(Vt):y(ie,-1)})}Z(y=>{P(Ae,c(f).uploader),P(de,y),P(z,` ${c(f).likes??""}`)},[()=>Me(c(f).timestamp)]),se("click",U,y=>{y.target===y.currentTarget&&Hr()}),se("touchstart",U,Ri),se("touchend",U,Fi),se("click",D,Hr),E(I,U)};K($i,I=>{c(f)&&I(Qi)})}Z(I=>{P(nr,c(r).event.name),lr(Vr,1,`rounded-md p-1.5 transition-colors ${c(s)==="list"?"bg-white text-gray-900 shadow-sm":"text-gray-400 hover:text-gray-600"}`),lr(Mn,1,`rounded-md p-1.5 transition-colors ${c(s)==="grid"?"bg-white text-gray-900 shadow-sm":"text-gray-400 hover:text-gray-600"}`),P(Zi,`${c(r).event.name??""} · Offline-Galerie · EventSnap`),P(Xi,`Exportiert am ${I??""}`)},[()=>oe(c(r).event.exported_at)]),se("click",Vr,()=>et("list")),se("click",Mn,()=>et("grid")),E(g,b)};K(Di,g=>{c(n)?g(Pi):c(i)?g(zi,1):c(r)&&g(Ii,2)})}E(e,En),Qn()}ka(["click","mousedown","touchstart","touchend"]);Ta(Al,{target:document.getElementById("app")});</script>
<style rel="stylesheet" crossorigin>@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@layer theme{:root,:host{--font-sans:"Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-mono:ui-monospace, SFMono-Regular, "SF Mono", "Courier New", monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-200:oklch(88.5% .062 18.334);--color-red-700:oklch(50.5% .213 27.518);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-700:oklch(55.5% .163 48.998);--color-green-100:oklch(96.2% .044 156.743);--color-green-700:oklch(52.7% .154 150.069);--color-teal-100:oklch(95.3% .051 180.801);--color-teal-700:oklch(51.1% .096 186.391);--color-blue-100:#f3ead0;--color-blue-200:#e8d6a3;--color-blue-400:#c6a24a;--color-blue-500:#ab8433;--color-blue-600:#8a6a2b;--color-blue-700:#6f5523;--color-blue-900:#493819;--color-purple-100:#f3ead0;--color-purple-700:#6f5523;--color-rose-100:oklch(94.1% .03 12.58);--color-rose-700:oklch(51.4% .222 16.935);--color-gray-50:#faf9f7;--color-gray-100:#f2f1ef;--color-gray-200:#e5e4e1;--color-gray-300:#d1cfcc;--color-gray-400:#a6a4a1;--color-gray-500:#767471;--color-gray-600:#545350;--color-gray-700:#3b3a38;--color-gray-800:#262524;--color-gray-900:#1a1918;--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-2xl:42rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--animate-spin:spin 1s linear infinite;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-display:"Fraunces", ui-serif, Georgia, "Times New Roman", serif}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}html{color:#1a1918;color-scheme:light;font-family:var(--font-sans);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;background-color:#faf9f7}html.dark{color:#f2f1ef;color-scheme:dark;background-color:#100f0f}h1,h2,h3{font-family:var(--font-display);letter-spacing:-.015em;font-weight:600}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.inset-x-0{inset-inline:calc(var(--spacing) * 0)}.top-0{top:calc(var(--spacing) * 0)}.top-1\/2{top:50%}.top-2{top:calc(var(--spacing) * 2)}.top-full{top:100%}.right-0{right:calc(var(--spacing) * 0)}.right-2{right:calc(var(--spacing) * 2)}.bottom-0{bottom:calc(var(--spacing) * 0)}.left-0{left:calc(var(--spacing) * 0)}.left-2{left:calc(var(--spacing) * 2)}.z-10{z-index:10}.z-30{z-index:30}.z-50{z-index:50}.mx-auto{margin-inline:auto}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-8{margin-top:calc(var(--spacing) * 8)}.ml-0\.5{margin-left:calc(var(--spacing) * .5)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-2{margin-left:calc(var(--spacing) * 2)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.inline-block{display:inline-block}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-14{height:calc(var(--spacing) * 14)}.h-full{height:100%}.max-h-\[50vh\]{max-height:50vh}.max-h-\[95vh\]{max-height:95vh}.min-h-screen{min-height:100vh}.w-3{width:calc(var(--spacing) * 3)}.w-3\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:calc(var(--spacing) * 10)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.min-w-0{min-width:calc(var(--spacing) * 0)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-red-200{border-color:var(--color-red-200)}.border-t-blue-600{border-top-color:var(--color-blue-600)}.bg-amber-100{background-color:var(--color-amber-100)}.bg-black{background-color:var(--color-black)}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black) 50%,transparent)}}.bg-black\/80{background-color:#000c}@supports (color:color-mix(in lab,red,red)){.bg-black\/80{background-color:color-mix(in oklab,var(--color-black) 80%,transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-green-100{background-color:var(--color-green-100)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-red-50{background-color:var(--color-red-50)}.bg-rose-100{background-color:var(--color-rose-100)}.bg-teal-100{background-color:var(--color-teal-100)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\/95{background-color:#fffffff2}@supports (color:color-mix(in lab,red,red)){.bg-white\/95{background-color:color-mix(in oklab,var(--color-white) 95%,transparent)}}.bg-gradient-to-t{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-black\/60{--tw-gradient-from:#0009}@supports (color:color-mix(in lab,red,red)){.from-black\/60{--tw-gradient-from:color-mix(in oklab, var(--color-black) 60%, transparent)}}.from-black\/60{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing) * 1)}.p-1\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-20{padding-block:calc(var(--spacing) * 20)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-8{padding-bottom:calc(var(--spacing) * 8)}.pl-0\.5{padding-left:calc(var(--spacing) * .5)}.text-center{text-align:center}.text-left{text-align:left}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.\[overflow-wrap\:anywhere\]{overflow-wrap:anywhere}.text-amber-700{color:var(--color-amber-700)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-700{color:var(--color-green-700)}.text-purple-700{color:var(--color-purple-700)}.text-red-700{color:var(--color-red-700)}.text-rose-700{color:var(--color-rose-700)}.text-teal-700{color:var(--color-teal-700)}.text-white{color:var(--color-white)}.text-white\/80{color:#fffc}@supports (color:color-mix(in lab,red,red)){.text-white\/80{color:color-mix(in oklab,var(--color-white) 80%,transparent)}}.placeholder-gray-400::placeholder{color:var(--color-gray-400)}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.shadow-lg{--tw-shadow:0 12px 28px -6px var(--tw-shadow-color,#1c1c231a), 0 4px 10px -4px var(--tw-shadow-color,#1c1c2312);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 2px 6px -1px var(--tw-shadow-color,#1c1c2312), 0 1px 2px -1px var(--tw-shadow-color,#1c1c230d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}.focus-within\:border-blue-400:focus-within{border-color:var(--color-blue-400)}.focus-within\:bg-white:focus-within{background-color:var(--color-white)}.focus-within\:ring-1:focus-within{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-within\:ring-blue-200:focus-within{--tw-ring-color:var(--color-blue-200)}@media(hover:hover){.hover\:bg-black\/70:hover{background-color:#000000b3}@supports (color:color-mix(in lab,red,red)){.hover\:bg-black\/70:hover{background-color:color-mix(in oklab,var(--color-black) 70%,transparent)}}.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\:bg-gray-300:hover{background-color:var(--color-gray-300)}.hover\:text-blue-900:hover{color:var(--color-blue-900)}.hover\:text-gray-600:hover{color:var(--color-gray-600)}.hover\:underline:hover{text-decoration-line:underline}}@media(min-width:40rem){.sm\:m-4{margin:calc(var(--spacing) * 4)}}}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/Inter.woff2)format("woff2")}@font-face{font-family:Fraunces;font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/Fraunces.woff2)format("woff2")}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}</style>
</head>
<body>
<div id="app"></div>
</body>
</html>