diff --git a/_app/immutable/chunks/entry.rRlb-y_N.js b/_app/immutable/chunks/entry.D8-RXTqP.js similarity index 99% rename from _app/immutable/chunks/entry.rRlb-y_N.js rename to _app/immutable/chunks/entry.D8-RXTqP.js index 9c586df..658f85f 100644 --- a/_app/immutable/chunks/entry.rRlb-y_N.js +++ b/_app/immutable/chunks/entry.D8-RXTqP.js @@ -1,3 +1,3 @@ -import{n as lt,s as ie,t as ce}from"./scheduler._RQNZmqd.js";import{a as le,b as P}from"./paths.BCP9n3Ti.js";new URL("sveltekit-internal://");function fe(t,n){return t==="/"||n==="ignore"?t:n==="never"?t.endsWith("/")?t.slice(0,-1):t:n==="always"&&!t.endsWith("/")?t+"/":t}function ue(t){return t.split("%25").map(decodeURI).join("%25")}function de(t){for(const n in t)t[n]=decodeURIComponent(t[n]);return t}function ft({href:t}){return t.split("#")[0]}const he=["href","pathname","search","toString","toJSON"];function pe(t,n,e){const a=new URL(t);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(r,o){if(o==="get"||o==="getAll"||o==="has")return s=>(e(s),r[o](s));n();const i=Reflect.get(r,o);return typeof i=="function"?i.bind(r):i}}),enumerable:!0,configurable:!0});for(const r of he)Object.defineProperty(a,r,{get(){return n(),t[r]},enumerable:!0,configurable:!0});return a}const ge="/__data.json",me=".html__data.json";function _e(t){return t.endsWith(".html")?t.replace(/\.html$/,me):t.replace(/\/$/,"")+ge}function ye(...t){let n=5381;for(const e of t)if(typeof e=="string"){let a=e.length;for(;a;)n=n*33^e.charCodeAt(--a)}else if(ArrayBuffer.isView(e)){const a=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);let r=a.length;for(;r;)n=n*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function we(t){const n=atob(t),e=new Uint8Array(n.length);for(let a=0;a((t instanceof Request?t.method:(n==null?void 0:n.method)||"GET")!=="GET"&&G.delete(mt(t)),Dt(t,n));const G=new Map;function ve(t,n){const e=mt(t,n),a=document.querySelector(e);if(a!=null&&a.textContent){let{body:r,...o}=JSON.parse(a.textContent);const i=a.getAttribute("data-ttl");return i&&G.set(e,{body:r,init:o,ttl:1e3*Number(i)}),a.getAttribute("data-b64")!==null&&(r=we(r)),Promise.resolve(new Response(r,o))}return window.fetch(t,n)}function be(t,n,e){if(G.size>0){const a=mt(t,e),r=G.get(a);if(r){if(performance.now(){const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return n.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const i=a.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return ut(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return ut(String.fromCharCode(...c.slice(2).split("-").map(f=>parseInt(f,16))));const u=Ee.exec(c),[,h,g,d,_]=u;return n.push({name:d,matcher:_,optional:!!h,rest:!!g,chained:g?l===1&&i[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return ut(c)}).join("")}).join("")}/?$`),params:n}}function Se(t){return!/^\([^)]+\)$/.test(t)}function Ae(t){return t.slice(1).split("/").filter(Se)}function Re(t,n,e){const a={},r=t.slice(1),o=r.filter(s=>s!==void 0);let i=0;for(let s=0;su).join("/"),i=0),l===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||e[c.matcher](l)){a[c.name]=l;const u=n[s+1],h=r[s+1];u&&!u.rest&&u.optional&&h&&c.chained&&(i=0),!u&&!h&&Object.keys(a).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return a}function ut(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ie({nodes:t,server_loads:n,dictionary:e,matchers:a}){const r=new Set(n);return Object.entries(e).map(([s,[c,l,u]])=>{const{pattern:h,params:g}=ke(s),d={id:s,exec:_=>{const f=h.exec(_);if(f)return Re(f,g,a)},errors:[1,...u||[]].map(_=>t[_]),layouts:[0,...l||[]].map(i),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(s){const c=s<0;return c&&(s=~s),[c,t[s]]}function i(s){return s===void 0?s:[r.has(s),t[s]]}}function Ct(t,n=JSON.parse){try{return n(sessionStorage[t])}catch{}}function Pt(t,n,e=JSON.stringify){const a=e(n);try{sessionStorage[t]=a}catch{}}const O=[];function _t(t,n=lt){let e;const a=new Set;function r(s){if(ie(t,s)&&(t=s,e)){const c=!O.length;for(const l of a)l[1](),O.push(l,t);if(c){for(let l=0;l{a.delete(l),a.size===0&&e&&(e(),e=null)}}return{set:r,update:o,subscribe:i}}const Le="1718221837839",Vt="sveltekit:snapshot",Ft="sveltekit:scroll",qt="sveltekit:states",Pe="sveltekit:pageurl",D="sveltekit:history",H="sveltekit:navigation",J={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},z=location.origin;function Gt(t){if(t instanceof URL)return t;let n=document.baseURI;if(!n){const e=document.getElementsByTagName("base");n=e.length?e[0].href:document.URL}return new URL(t,n)}function yt(){return{x:pageXOffset,y:pageYOffset}}function j(t,n){return t.getAttribute(`data-sveltekit-${n}`)}const Tt={...J,"":J.hover};function Mt(t){let n=t.assignedSlot??t.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function Ht(t,n){for(;t&&t!==n;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=Mt(t)}}function ht(t,n){let e;try{e=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI)}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,r=!e||!!a||at(e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(e==null?void 0:e.origin)===z&&t.hasAttribute("download");return{url:e,external:r,target:a,download:o}}function W(t){let n=null,e=null,a=null,r=null,o=null,i=null,s=t;for(;s&&s!==document.documentElement;)a===null&&(a=j(s,"preload-code")),r===null&&(r=j(s,"preload-data")),n===null&&(n=j(s,"keepfocus")),e===null&&(e=j(s,"noscroll")),o===null&&(o=j(s,"reload")),i===null&&(i=j(s,"replacestate")),s=Mt(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Tt[a??"off"],preload_data:Tt[r??"off"],keepfocus:c(n),noscroll:c(e),reload:c(o),replace_state:c(i)}}function Ut(t){const n=_t(t);let e=!0;function a(){e=!0,n.update(i=>i)}function r(i){e=!1,n.set(i)}function o(i){let s;return n.subscribe(c=>{(s===void 0||e&&c!==s)&&i(s=c)})}return{notify:a,set:r,subscribe:o}}function Te(){const{set:t,subscribe:n}=_t(!1);let e;async function a(){clearTimeout(e);try{const r=await fetch(`${le}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const i=(await r.json()).version!==Le;return i&&(t(!0),clearTimeout(e)),i}catch{return!1}}return{subscribe:n,check:a}}function at(t,n){return t.origin!==z||!t.pathname.startsWith(n)}const Ue=-1,xe=-2,Ne=-3,Oe=-4,je=-5,$e=-6;function De(t,n){if(typeof t=="number")return r(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const e=t,a=Array(e.length);function r(o,i=!1){if(o===Ue)return;if(o===Ne)return NaN;if(o===Oe)return 1/0;if(o===je)return-1/0;if(o===$e)return-0;if(i)throw new Error("Invalid input");if(o in a)return a[o];const s=e[o];if(!s||typeof s!="object")a[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],l=n==null?void 0:n[c];if(l)return a[o]=l(r(s[1]));switch(c){case"Date":a[o]=new Date(s[1]);break;case"Set":const u=new Set;a[o]=u;for(let d=1;dn!=null)}class rt{constructor(n,e){this.status=n,typeof e=="string"?this.body={message:e}:e?this.body=e:this.body={message:`Error: ${n}`}}toString(){return JSON.stringify(this.body)}}class Kt{constructor(n,e){this.status=n,this.location=e}}class wt extends Error{constructor(n,e,a){super(a),this.status=n,this.text=e}}const Fe="x-sveltekit-invalidated",qe="x-sveltekit-trailing-slash";function X(t){return t instanceof rt||t instanceof wt?t.status:500}function Ge(t){return t instanceof wt?t.text:"Internal Error"}const N=Ct(Ft)??{},B=Ct(Vt)??{},U={url:Ut({}),page:Ut({}),navigating:_t(null),updated:Te()};function vt(t){N[t]=yt()}function Me(t,n){let e=t+1;for(;N[e];)delete N[e],e+=1;for(e=n+1;B[e];)delete B[e],e+=1}function V(t){return location.href=t.href,new Promise(()=>{})}function xt(){}let ot,pt,Z,T,gt,F;const zt=[],Q=[];let R=null;const Yt=[],He=[];let $=[],y={branch:[],error:null,url:null},bt=!1,tt=!1,Nt=!0,K=!1,q=!1,Jt=!1,Et=!1,kt,S,L,I,et;const M=new Set;async function nn(t,n,e){var r,o;document.URL!==location.href&&(location.href=location.href),F=t,ot=Ie(t),T=document.documentElement,gt=n,pt=t.nodes[0],Z=t.nodes[1],pt(),Z(),S=(r=history.state)==null?void 0:r[D],L=(o=history.state)==null?void 0:o[H],S||(S=L=Date.now(),history.replaceState({...history.state,[D]:S,[H]:L},""));const a=N[S];a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y)),e?await Ze(gt,e):We(location.href,{replaceState:!0}),Xe()}function Be(){zt.length=0,Et=!1}function Wt(t){Q.some(n=>n==null?void 0:n.snapshot)&&(B[t]=Q.map(n=>{var e;return(e=n==null?void 0:n.snapshot)==null?void 0:e.capture()}))}function Xt(t){var n;(n=B[t])==null||n.forEach((e,a)=>{var r,o;(o=(r=Q[a])==null?void 0:r.snapshot)==null||o.restore(e)})}function Ot(){vt(S),Pt(Ft,N),Wt(L),Pt(Vt,B)}async function Zt(t,n,e,a){return Y({type:"goto",url:Gt(t),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:e,nav_token:a,accept:()=>{n.invalidateAll&&(Et=!0)}})}async function Ke(t){if(t.id!==(R==null?void 0:R.id)){const n={};M.add(n),R={id:t.id,token:n,promise:te({...t,preload:n}).then(e=>(M.delete(n),e.type==="loaded"&&e.state.error&&(R=null),e))}}return R.promise}async function dt(t){const n=ot.find(e=>e.exec(ee(t)));n&&await Promise.all([...n.layouts,n.leaf].map(e=>e==null?void 0:e[1]()))}function Qt(t,n,e){var o;y=t.state;const a=document.querySelector("style[data-sveltekit]");a&&a.remove(),I=t.props.page,kt=new F.root({target:n,props:{...t.props,stores:U,components:Q},hydrate:e}),Xt(L);const r={from:null,to:{params:y.params,route:{id:((o=y.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};$.forEach(i=>i(r)),tt=!0}async function nt({url:t,params:n,branch:e,status:a,error:r,route:o,form:i}){let s="never";if(P&&(t.pathname===P||t.pathname===P+"/"))s="always";else for(const d of e)(d==null?void 0:d.slash)!==void 0&&(s=d.slash);t.pathname=fe(t.pathname,s),t.search=t.search;const c={type:"loaded",state:{url:t,params:n,branch:e,error:r,route:o},props:{constructors:Ve(e).map(d=>d.node.component),page:I}};i!==void 0&&(c.props.form=i);let l={},u=!I,h=0;for(let d=0;d(s&&(c.route=!0),f[m])}),params:new Proxy(a,{get:(f,m)=>(s&&c.params.add(m),f[m])}),data:(o==null?void 0:o.data)??null,url:pe(e,()=>{s&&(c.url=!0)},f=>{s&&c.search_params.add(f)}),async fetch(f,m){let b;f instanceof Request?(b=f.url,m={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:f.headers,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...m}):b=f;const A=new URL(b,e);return s&&d(A.href),A.origin===e.origin&&(b=A.href.slice(e.origin.length)),tt?be(b,A.href,m):ve(b,m)},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),n()},untrack(f){s=!1;try{return f()}finally{s=!0}}};i=await l.universal.load.call(null,_)??null}return{node:l,loader:t,server:o,universal:(h=l.universal)!=null&&h.load?{type:"data",data:i,uses:c}:null,data:i??(o==null?void 0:o.data)??null,slash:((g=l.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function jt(t,n,e,a,r,o){if(Et)return!0;if(!r)return!1;if(r.parent&&t||r.route&&n||r.url&&e)return!0;for(const i of r.search_params)if(a.has(i))return!0;for(const i of r.params)if(o[i]!==y.params[i])return!0;for(const i of r.dependencies)if(zt.some(s=>s(new URL(i))))return!0;return!1}function At(t,n){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?n??null:null}function ze(t,n){if(!t)return new Set(n.searchParams.keys());const e=new Set([...t.searchParams.keys(),...n.searchParams.keys()]);for(const a of e){const r=t.searchParams.getAll(a),o=n.searchParams.getAll(a);r.every(i=>o.includes(i))&&o.every(i=>r.includes(i))&&e.delete(a)}return e}function $t({error:t,url:n,route:e,params:a}){return{type:"loaded",state:{error:t,url:n,route:e,params:a,branch:[]},props:{page:I,constructors:[]}}}async function te({id:t,invalidating:n,url:e,params:a,route:r,preload:o}){if((R==null?void 0:R.id)===t)return M.delete(R.token),R.promise;const{errors:i,layouts:s,leaf:c}=r,l=[...s,c];i.forEach(p=>p==null?void 0:p().catch(()=>{})),l.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let u=null;const h=y.url?t!==y.url.pathname+y.url.search:!1,g=y.route?r.id!==y.route.id:!1,d=ze(y.url,e);let _=!1;const f=l.map((p,v)=>{var x;const E=y.branch[v],k=!!(p!=null&&p[0])&&((E==null?void 0:E.loader)!==p[1]||jt(_,g,h,d,(x=E.server)==null?void 0:x.uses,a));return k&&(_=!0),k});if(f.some(Boolean)){try{u=await re(e,f)}catch(p){const v=await C(p,{url:e,params:a,route:{id:t}});return M.has(o)?$t({error:v,url:e,params:a,route:r}):st({status:X(p),error:v,url:e,route:r})}if(u.type==="redirect")return u}const m=u==null?void 0:u.nodes;let b=!1;const A=l.map(async(p,v)=>{var it;if(!p)return;const E=y.branch[v],k=m==null?void 0:m[v];if((!k||k.type==="skip")&&p[1]===(E==null?void 0:E.loader)&&!jt(b,g,h,d,(it=E.universal)==null?void 0:it.uses,a))return E;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return St({loader:p[1],url:e,params:a,route:r,parent:async()=>{var Lt;const It={};for(let ct=0;ct{});const w=[];for(let p=0;pPromise.resolve({}),server_data_node:At(o)}),c={node:await Z(),loader:Z,universal:null,server:null,data:null};return await nt({url:e,params:r,branch:[s,c],status:t,error:n,route:null})}function Rt(t,n){if(!t||at(t,P))return;let e;try{e=F.hooks.reroute({url:new URL(t)})??t.pathname}catch{return}const a=ee(e);for(const r of ot){const o=r.exec(a);if(o)return{id:t.pathname+t.search,invalidating:n,route:r,params:de(o),url:t}}}function ee(t){return ue(t.slice(P.length)||"/")}function ne({url:t,type:n,intent:e,delta:a}){let r=!1;const o=se(y,e,t,n);a!==void 0&&(o.navigation.delta=a);const i={...o.navigation,cancel:()=>{r=!0,o.reject(new Error("navigation cancelled"))}};return K||Yt.forEach(s=>s(i)),r?null:o}async function Y({type:t,url:n,popped:e,keepfocus:a,noscroll:r,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:l=xt,block:u=xt}){const h=Rt(n,!1),g=ne({url:n,type:t,delta:e==null?void 0:e.delta,intent:h});if(!g){u();return}const d=S,_=L;l(),K=!0,tt&&U.navigating.set(g.navigation),et=c;let f=h&&await te(h);if(!f){if(at(n,P))return await V(n);f=await ae(n,{id:null},await C(new wt(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,et!==c)return g.reject(new Error("navigation aborted")),!1;if(f.type==="redirect")if(s>=20)f=await st({status:500,error:await C(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return Zt(new URL(f.location,n).href,{},s+1,c),!1;else f.props.page.status>=400&&await U.updated.check()&&await V(n);if(Be(),vt(d),Wt(_),f.props.page.url.pathname!==n.pathname&&(n.pathname=f.props.page.url.pathname),i=e?e.state:i,!e){const w=o?0:1,p={[D]:S+=w,[H]:L+=w,[qt]:i};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Me(S,L)}if(R=null,f.props.page.state=i,tt){y=f.state,f.props.page&&(f.props.page.url=n);const w=(await Promise.all(He.map(p=>p(g.navigation)))).filter(p=>typeof p=="function");if(w.length>0){let p=function(){$=$.filter(v=>!w.includes(v))};w.push(p),$.push(...w)}kt.$set(f.props),Jt=!0}else Qt(f,gt,!1);const{activeElement:m}=document;await ce();const b=e?e.scroll:r?yt():null;if(Nt){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):w?w.scrollIntoView():scrollTo(0,0)}const A=document.activeElement!==m&&document.activeElement!==document.body;!a&&!A&&Qe(),Nt=!0,f.props.page&&(I=f.props.page),K=!1,t==="popstate"&&Xt(L),g.fulfil(void 0),$.forEach(w=>w(g.navigation)),U.navigating.set(null)}async function ae(t,n,e,a){return t.origin===z&&t.pathname===location.pathname&&!bt?await st({status:a,error:e,url:t,route:n}):await V(t)}function Je(){let t;T.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(t),t=setTimeout(()=>{a(i,2)},20)});function n(o){a(o.composedPath()[0],1)}T.addEventListener("mousedown",n),T.addEventListener("touchstart",n,{passive:!0});const e=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(dt(i.target.href),e.unobserve(i.target))},{threshold:0});function a(o,i){const s=Ht(o,T);if(!s)return;const{url:c,external:l,download:u}=ht(s,P);if(l||u)return;const h=W(s);if(!h.reload)if(i<=h.preload_data){const g=Rt(c,!1);g&&Ke(g)}else i<=h.preload_code&&dt(c.pathname)}function r(){e.disconnect();for(const o of T.querySelectorAll("a")){const{url:i,external:s,download:c}=ht(o,P);if(s||c)continue;const l=W(o);l.reload||(l.preload_code===J.viewport&&e.observe(o),l.preload_code===J.eager&&dt(i.pathname))}}$.push(r),r()}function C(t,n){if(t instanceof rt)return t.body;const e=X(t),a=Ge(t);return F.hooks.handleError({error:t,event:n,status:e,message:a})??{message:a}}function We(t,n={}){return t=Gt(t),t.origin!==z?Promise.reject(new Error("goto: invalid URL")):Zt(t,n,0)}function Xe(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",e=>{let a=!1;if(Ot(),!K){const r=se(y,void 0,null,"leave"),o={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Yt.forEach(i=>i(o))}a?(e.preventDefault(),e.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ot()}),(n=navigator.connection)!=null&&n.saveData||Je(),T.addEventListener("click",async e=>{var g;if(e.button||e.which!==1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.defaultPrevented)return;const a=Ht(e.composedPath()[0],T);if(!a)return;const{url:r,external:o,target:i,download:s}=ht(a,P);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=W(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;if(o||c.reload){ne({url:r,type:"link"})?K=!0:e.preventDefault();return}const[u,h]=r.href.split("#");if(h!==void 0&&u===ft(location)){const[,d]=y.url.href.split("#");if(d===h){e.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=a.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(q=!0,vt(S),t(r),!c.replace_state)return;q=!1}e.preventDefault(),await new Promise(d=>{requestAnimationFrame(()=>{setTimeout(d,0)}),setTimeout(d,100)}),Y({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href})}),T.addEventListener("submit",e=>{if(e.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(e.target),r=e.submitter;if(((r==null?void 0:r.formMethod)||a.method)!=="get")return;const i=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(at(i,P))return;const s=e.target,c=W(s);if(c.reload)return;e.preventDefault(),e.stopPropagation();const l=new FormData(s),u=r==null?void 0:r.getAttribute("name");u&&l.append(u,(r==null?void 0:r.getAttribute("value"))??""),i.search=new URLSearchParams(l).toString(),Y({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href})}),addEventListener("popstate",async e=>{var a;if((a=e.state)!=null&&a[D]){const r=e.state[D];if(et={},r===S)return;const o=N[r],i=e.state[qt]??{},s=new URL(e.state[Pe]??location.href),c=e.state[H],l=ft(location)===ft(y.url);if(c===L&&(Jt||l)){t(s),N[S]=yt(),o&&scrollTo(o.x,o.y),i!==I.state&&(I={...I,state:i},kt.$set({page:I})),S=r;return}const h=r-S;await Y({type:"popstate",url:s,popped:{state:i,scroll:o,delta:h},accept:()=>{S=r,L=c},block:()=>{history.go(-h)},nav_token:et})}else if(!q){const r=new URL(location.href);t(r)}}),addEventListener("hashchange",()=>{q&&(q=!1,history.replaceState({...history.state,[D]:++S,[H]:L},"",location.href))});for(const e of document.querySelectorAll("link"))e.rel==="icon"&&(e.href=e.href);addEventListener("pageshow",e=>{e.persisted&&U.navigating.set(null)});function t(e){y.url=e,U.page.set({...I,url:e}),U.page.notify()}}async function Ze(t,{status:n=200,error:e,node_ids:a,params:r,route:o,data:i,form:s}){bt=!0;const c=new URL(location.href);({params:r={},route:o={id:null}}=Rt(c,!1)||{});let l;try{const u=a.map(async(d,_)=>{const f=i[_];return f!=null&&f.uses&&(f.uses=oe(f.uses)),St({loader:F.nodes[d],url:c,params:r,route:o,parent:async()=>{const m={};for(let b=0;b<_;b+=1)Object.assign(m,(await u[b]).data);return m},server_data_node:At(f)})}),h=await Promise.all(u),g=ot.find(({id:d})=>d===o.id);if(g){const d=g.layouts;for(let _=0;_o?"1":"0").join(""));const a=await Dt(e.href);if(!a.ok){let o;throw(r=a.headers.get("content-type"))!=null&&r.includes("application/json")?o=await a.json():a.status===404?o="Not Found":a.status===500&&(o="Internal Error"),new rt(a.status,o)}return new Promise(async o=>{var h;const i=new Map,s=a.body.getReader(),c=new TextDecoder;function l(g){return De(g,{Promise:d=>new Promise((_,f)=>{i.set(d,{fulfil:_,reject:f})})})}let u="";for(;;){const{done:g,value:d}=await s.read();if(g&&!u)break;for(u+=!d&&u?` +import{n as lt,s as ie,t as ce}from"./scheduler._RQNZmqd.js";import{a as le,b as P}from"./paths.vvy4Sixn.js";new URL("sveltekit-internal://");function fe(t,n){return t==="/"||n==="ignore"?t:n==="never"?t.endsWith("/")?t.slice(0,-1):t:n==="always"&&!t.endsWith("/")?t+"/":t}function ue(t){return t.split("%25").map(decodeURI).join("%25")}function de(t){for(const n in t)t[n]=decodeURIComponent(t[n]);return t}function ft({href:t}){return t.split("#")[0]}const he=["href","pathname","search","toString","toJSON"];function pe(t,n,e){const a=new URL(t);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(r,o){if(o==="get"||o==="getAll"||o==="has")return s=>(e(s),r[o](s));n();const i=Reflect.get(r,o);return typeof i=="function"?i.bind(r):i}}),enumerable:!0,configurable:!0});for(const r of he)Object.defineProperty(a,r,{get(){return n(),t[r]},enumerable:!0,configurable:!0});return a}const ge="/__data.json",me=".html__data.json";function _e(t){return t.endsWith(".html")?t.replace(/\.html$/,me):t.replace(/\/$/,"")+ge}function ye(...t){let n=5381;for(const e of t)if(typeof e=="string"){let a=e.length;for(;a;)n=n*33^e.charCodeAt(--a)}else if(ArrayBuffer.isView(e)){const a=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);let r=a.length;for(;r;)n=n*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function we(t){const n=atob(t),e=new Uint8Array(n.length);for(let a=0;a((t instanceof Request?t.method:(n==null?void 0:n.method)||"GET")!=="GET"&&G.delete(mt(t)),Dt(t,n));const G=new Map;function ve(t,n){const e=mt(t,n),a=document.querySelector(e);if(a!=null&&a.textContent){let{body:r,...o}=JSON.parse(a.textContent);const i=a.getAttribute("data-ttl");return i&&G.set(e,{body:r,init:o,ttl:1e3*Number(i)}),a.getAttribute("data-b64")!==null&&(r=we(r)),Promise.resolve(new Response(r,o))}return window.fetch(t,n)}function be(t,n,e){if(G.size>0){const a=mt(t,e),r=G.get(a);if(r){if(performance.now(){const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return n.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const i=a.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return ut(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return ut(String.fromCharCode(...c.slice(2).split("-").map(f=>parseInt(f,16))));const u=Ee.exec(c),[,h,g,d,_]=u;return n.push({name:d,matcher:_,optional:!!h,rest:!!g,chained:g?l===1&&i[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return ut(c)}).join("")}).join("")}/?$`),params:n}}function Se(t){return!/^\([^)]+\)$/.test(t)}function Ae(t){return t.slice(1).split("/").filter(Se)}function Re(t,n,e){const a={},r=t.slice(1),o=r.filter(s=>s!==void 0);let i=0;for(let s=0;su).join("/"),i=0),l===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||e[c.matcher](l)){a[c.name]=l;const u=n[s+1],h=r[s+1];u&&!u.rest&&u.optional&&h&&c.chained&&(i=0),!u&&!h&&Object.keys(a).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return a}function ut(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ie({nodes:t,server_loads:n,dictionary:e,matchers:a}){const r=new Set(n);return Object.entries(e).map(([s,[c,l,u]])=>{const{pattern:h,params:g}=ke(s),d={id:s,exec:_=>{const f=h.exec(_);if(f)return Re(f,g,a)},errors:[1,...u||[]].map(_=>t[_]),layouts:[0,...l||[]].map(i),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(s){const c=s<0;return c&&(s=~s),[c,t[s]]}function i(s){return s===void 0?s:[r.has(s),t[s]]}}function Ct(t,n=JSON.parse){try{return n(sessionStorage[t])}catch{}}function Pt(t,n,e=JSON.stringify){const a=e(n);try{sessionStorage[t]=a}catch{}}const O=[];function _t(t,n=lt){let e;const a=new Set;function r(s){if(ie(t,s)&&(t=s,e)){const c=!O.length;for(const l of a)l[1](),O.push(l,t);if(c){for(let l=0;l{a.delete(l),a.size===0&&e&&(e(),e=null)}}return{set:r,update:o,subscribe:i}}const Le="1718221861393",Vt="sveltekit:snapshot",Ft="sveltekit:scroll",qt="sveltekit:states",Pe="sveltekit:pageurl",D="sveltekit:history",H="sveltekit:navigation",J={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},z=location.origin;function Gt(t){if(t instanceof URL)return t;let n=document.baseURI;if(!n){const e=document.getElementsByTagName("base");n=e.length?e[0].href:document.URL}return new URL(t,n)}function yt(){return{x:pageXOffset,y:pageYOffset}}function j(t,n){return t.getAttribute(`data-sveltekit-${n}`)}const Tt={...J,"":J.hover};function Mt(t){let n=t.assignedSlot??t.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function Ht(t,n){for(;t&&t!==n;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=Mt(t)}}function ht(t,n){let e;try{e=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI)}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,r=!e||!!a||at(e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(e==null?void 0:e.origin)===z&&t.hasAttribute("download");return{url:e,external:r,target:a,download:o}}function W(t){let n=null,e=null,a=null,r=null,o=null,i=null,s=t;for(;s&&s!==document.documentElement;)a===null&&(a=j(s,"preload-code")),r===null&&(r=j(s,"preload-data")),n===null&&(n=j(s,"keepfocus")),e===null&&(e=j(s,"noscroll")),o===null&&(o=j(s,"reload")),i===null&&(i=j(s,"replacestate")),s=Mt(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Tt[a??"off"],preload_data:Tt[r??"off"],keepfocus:c(n),noscroll:c(e),reload:c(o),replace_state:c(i)}}function Ut(t){const n=_t(t);let e=!0;function a(){e=!0,n.update(i=>i)}function r(i){e=!1,n.set(i)}function o(i){let s;return n.subscribe(c=>{(s===void 0||e&&c!==s)&&i(s=c)})}return{notify:a,set:r,subscribe:o}}function Te(){const{set:t,subscribe:n}=_t(!1);let e;async function a(){clearTimeout(e);try{const r=await fetch(`${le}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const i=(await r.json()).version!==Le;return i&&(t(!0),clearTimeout(e)),i}catch{return!1}}return{subscribe:n,check:a}}function at(t,n){return t.origin!==z||!t.pathname.startsWith(n)}const Ue=-1,xe=-2,Ne=-3,Oe=-4,je=-5,$e=-6;function De(t,n){if(typeof t=="number")return r(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const e=t,a=Array(e.length);function r(o,i=!1){if(o===Ue)return;if(o===Ne)return NaN;if(o===Oe)return 1/0;if(o===je)return-1/0;if(o===$e)return-0;if(i)throw new Error("Invalid input");if(o in a)return a[o];const s=e[o];if(!s||typeof s!="object")a[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],l=n==null?void 0:n[c];if(l)return a[o]=l(r(s[1]));switch(c){case"Date":a[o]=new Date(s[1]);break;case"Set":const u=new Set;a[o]=u;for(let d=1;dn!=null)}class rt{constructor(n,e){this.status=n,typeof e=="string"?this.body={message:e}:e?this.body=e:this.body={message:`Error: ${n}`}}toString(){return JSON.stringify(this.body)}}class Kt{constructor(n,e){this.status=n,this.location=e}}class wt extends Error{constructor(n,e,a){super(a),this.status=n,this.text=e}}const Fe="x-sveltekit-invalidated",qe="x-sveltekit-trailing-slash";function X(t){return t instanceof rt||t instanceof wt?t.status:500}function Ge(t){return t instanceof wt?t.text:"Internal Error"}const N=Ct(Ft)??{},B=Ct(Vt)??{},U={url:Ut({}),page:Ut({}),navigating:_t(null),updated:Te()};function vt(t){N[t]=yt()}function Me(t,n){let e=t+1;for(;N[e];)delete N[e],e+=1;for(e=n+1;B[e];)delete B[e],e+=1}function V(t){return location.href=t.href,new Promise(()=>{})}function xt(){}let ot,pt,Z,T,gt,F;const zt=[],Q=[];let R=null;const Yt=[],He=[];let $=[],y={branch:[],error:null,url:null},bt=!1,tt=!1,Nt=!0,K=!1,q=!1,Jt=!1,Et=!1,kt,S,L,I,et;const M=new Set;async function nn(t,n,e){var r,o;document.URL!==location.href&&(location.href=location.href),F=t,ot=Ie(t),T=document.documentElement,gt=n,pt=t.nodes[0],Z=t.nodes[1],pt(),Z(),S=(r=history.state)==null?void 0:r[D],L=(o=history.state)==null?void 0:o[H],S||(S=L=Date.now(),history.replaceState({...history.state,[D]:S,[H]:L},""));const a=N[S];a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y)),e?await Ze(gt,e):We(location.href,{replaceState:!0}),Xe()}function Be(){zt.length=0,Et=!1}function Wt(t){Q.some(n=>n==null?void 0:n.snapshot)&&(B[t]=Q.map(n=>{var e;return(e=n==null?void 0:n.snapshot)==null?void 0:e.capture()}))}function Xt(t){var n;(n=B[t])==null||n.forEach((e,a)=>{var r,o;(o=(r=Q[a])==null?void 0:r.snapshot)==null||o.restore(e)})}function Ot(){vt(S),Pt(Ft,N),Wt(L),Pt(Vt,B)}async function Zt(t,n,e,a){return Y({type:"goto",url:Gt(t),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:e,nav_token:a,accept:()=>{n.invalidateAll&&(Et=!0)}})}async function Ke(t){if(t.id!==(R==null?void 0:R.id)){const n={};M.add(n),R={id:t.id,token:n,promise:te({...t,preload:n}).then(e=>(M.delete(n),e.type==="loaded"&&e.state.error&&(R=null),e))}}return R.promise}async function dt(t){const n=ot.find(e=>e.exec(ee(t)));n&&await Promise.all([...n.layouts,n.leaf].map(e=>e==null?void 0:e[1]()))}function Qt(t,n,e){var o;y=t.state;const a=document.querySelector("style[data-sveltekit]");a&&a.remove(),I=t.props.page,kt=new F.root({target:n,props:{...t.props,stores:U,components:Q},hydrate:e}),Xt(L);const r={from:null,to:{params:y.params,route:{id:((o=y.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};$.forEach(i=>i(r)),tt=!0}async function nt({url:t,params:n,branch:e,status:a,error:r,route:o,form:i}){let s="never";if(P&&(t.pathname===P||t.pathname===P+"/"))s="always";else for(const d of e)(d==null?void 0:d.slash)!==void 0&&(s=d.slash);t.pathname=fe(t.pathname,s),t.search=t.search;const c={type:"loaded",state:{url:t,params:n,branch:e,error:r,route:o},props:{constructors:Ve(e).map(d=>d.node.component),page:I}};i!==void 0&&(c.props.form=i);let l={},u=!I,h=0;for(let d=0;d(s&&(c.route=!0),f[m])}),params:new Proxy(a,{get:(f,m)=>(s&&c.params.add(m),f[m])}),data:(o==null?void 0:o.data)??null,url:pe(e,()=>{s&&(c.url=!0)},f=>{s&&c.search_params.add(f)}),async fetch(f,m){let b;f instanceof Request?(b=f.url,m={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:f.headers,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...m}):b=f;const A=new URL(b,e);return s&&d(A.href),A.origin===e.origin&&(b=A.href.slice(e.origin.length)),tt?be(b,A.href,m):ve(b,m)},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),n()},untrack(f){s=!1;try{return f()}finally{s=!0}}};i=await l.universal.load.call(null,_)??null}return{node:l,loader:t,server:o,universal:(h=l.universal)!=null&&h.load?{type:"data",data:i,uses:c}:null,data:i??(o==null?void 0:o.data)??null,slash:((g=l.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function jt(t,n,e,a,r,o){if(Et)return!0;if(!r)return!1;if(r.parent&&t||r.route&&n||r.url&&e)return!0;for(const i of r.search_params)if(a.has(i))return!0;for(const i of r.params)if(o[i]!==y.params[i])return!0;for(const i of r.dependencies)if(zt.some(s=>s(new URL(i))))return!0;return!1}function At(t,n){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?n??null:null}function ze(t,n){if(!t)return new Set(n.searchParams.keys());const e=new Set([...t.searchParams.keys(),...n.searchParams.keys()]);for(const a of e){const r=t.searchParams.getAll(a),o=n.searchParams.getAll(a);r.every(i=>o.includes(i))&&o.every(i=>r.includes(i))&&e.delete(a)}return e}function $t({error:t,url:n,route:e,params:a}){return{type:"loaded",state:{error:t,url:n,route:e,params:a,branch:[]},props:{page:I,constructors:[]}}}async function te({id:t,invalidating:n,url:e,params:a,route:r,preload:o}){if((R==null?void 0:R.id)===t)return M.delete(R.token),R.promise;const{errors:i,layouts:s,leaf:c}=r,l=[...s,c];i.forEach(p=>p==null?void 0:p().catch(()=>{})),l.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let u=null;const h=y.url?t!==y.url.pathname+y.url.search:!1,g=y.route?r.id!==y.route.id:!1,d=ze(y.url,e);let _=!1;const f=l.map((p,v)=>{var x;const E=y.branch[v],k=!!(p!=null&&p[0])&&((E==null?void 0:E.loader)!==p[1]||jt(_,g,h,d,(x=E.server)==null?void 0:x.uses,a));return k&&(_=!0),k});if(f.some(Boolean)){try{u=await re(e,f)}catch(p){const v=await C(p,{url:e,params:a,route:{id:t}});return M.has(o)?$t({error:v,url:e,params:a,route:r}):st({status:X(p),error:v,url:e,route:r})}if(u.type==="redirect")return u}const m=u==null?void 0:u.nodes;let b=!1;const A=l.map(async(p,v)=>{var it;if(!p)return;const E=y.branch[v],k=m==null?void 0:m[v];if((!k||k.type==="skip")&&p[1]===(E==null?void 0:E.loader)&&!jt(b,g,h,d,(it=E.universal)==null?void 0:it.uses,a))return E;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return St({loader:p[1],url:e,params:a,route:r,parent:async()=>{var Lt;const It={};for(let ct=0;ct{});const w=[];for(let p=0;pPromise.resolve({}),server_data_node:At(o)}),c={node:await Z(),loader:Z,universal:null,server:null,data:null};return await nt({url:e,params:r,branch:[s,c],status:t,error:n,route:null})}function Rt(t,n){if(!t||at(t,P))return;let e;try{e=F.hooks.reroute({url:new URL(t)})??t.pathname}catch{return}const a=ee(e);for(const r of ot){const o=r.exec(a);if(o)return{id:t.pathname+t.search,invalidating:n,route:r,params:de(o),url:t}}}function ee(t){return ue(t.slice(P.length)||"/")}function ne({url:t,type:n,intent:e,delta:a}){let r=!1;const o=se(y,e,t,n);a!==void 0&&(o.navigation.delta=a);const i={...o.navigation,cancel:()=>{r=!0,o.reject(new Error("navigation cancelled"))}};return K||Yt.forEach(s=>s(i)),r?null:o}async function Y({type:t,url:n,popped:e,keepfocus:a,noscroll:r,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:l=xt,block:u=xt}){const h=Rt(n,!1),g=ne({url:n,type:t,delta:e==null?void 0:e.delta,intent:h});if(!g){u();return}const d=S,_=L;l(),K=!0,tt&&U.navigating.set(g.navigation),et=c;let f=h&&await te(h);if(!f){if(at(n,P))return await V(n);f=await ae(n,{id:null},await C(new wt(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,et!==c)return g.reject(new Error("navigation aborted")),!1;if(f.type==="redirect")if(s>=20)f=await st({status:500,error:await C(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return Zt(new URL(f.location,n).href,{},s+1,c),!1;else f.props.page.status>=400&&await U.updated.check()&&await V(n);if(Be(),vt(d),Wt(_),f.props.page.url.pathname!==n.pathname&&(n.pathname=f.props.page.url.pathname),i=e?e.state:i,!e){const w=o?0:1,p={[D]:S+=w,[H]:L+=w,[qt]:i};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Me(S,L)}if(R=null,f.props.page.state=i,tt){y=f.state,f.props.page&&(f.props.page.url=n);const w=(await Promise.all(He.map(p=>p(g.navigation)))).filter(p=>typeof p=="function");if(w.length>0){let p=function(){$=$.filter(v=>!w.includes(v))};w.push(p),$.push(...w)}kt.$set(f.props),Jt=!0}else Qt(f,gt,!1);const{activeElement:m}=document;await ce();const b=e?e.scroll:r?yt():null;if(Nt){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):w?w.scrollIntoView():scrollTo(0,0)}const A=document.activeElement!==m&&document.activeElement!==document.body;!a&&!A&&Qe(),Nt=!0,f.props.page&&(I=f.props.page),K=!1,t==="popstate"&&Xt(L),g.fulfil(void 0),$.forEach(w=>w(g.navigation)),U.navigating.set(null)}async function ae(t,n,e,a){return t.origin===z&&t.pathname===location.pathname&&!bt?await st({status:a,error:e,url:t,route:n}):await V(t)}function Je(){let t;T.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(t),t=setTimeout(()=>{a(i,2)},20)});function n(o){a(o.composedPath()[0],1)}T.addEventListener("mousedown",n),T.addEventListener("touchstart",n,{passive:!0});const e=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(dt(i.target.href),e.unobserve(i.target))},{threshold:0});function a(o,i){const s=Ht(o,T);if(!s)return;const{url:c,external:l,download:u}=ht(s,P);if(l||u)return;const h=W(s);if(!h.reload)if(i<=h.preload_data){const g=Rt(c,!1);g&&Ke(g)}else i<=h.preload_code&&dt(c.pathname)}function r(){e.disconnect();for(const o of T.querySelectorAll("a")){const{url:i,external:s,download:c}=ht(o,P);if(s||c)continue;const l=W(o);l.reload||(l.preload_code===J.viewport&&e.observe(o),l.preload_code===J.eager&&dt(i.pathname))}}$.push(r),r()}function C(t,n){if(t instanceof rt)return t.body;const e=X(t),a=Ge(t);return F.hooks.handleError({error:t,event:n,status:e,message:a})??{message:a}}function We(t,n={}){return t=Gt(t),t.origin!==z?Promise.reject(new Error("goto: invalid URL")):Zt(t,n,0)}function Xe(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",e=>{let a=!1;if(Ot(),!K){const r=se(y,void 0,null,"leave"),o={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Yt.forEach(i=>i(o))}a?(e.preventDefault(),e.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ot()}),(n=navigator.connection)!=null&&n.saveData||Je(),T.addEventListener("click",async e=>{var g;if(e.button||e.which!==1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.defaultPrevented)return;const a=Ht(e.composedPath()[0],T);if(!a)return;const{url:r,external:o,target:i,download:s}=ht(a,P);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=W(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;if(o||c.reload){ne({url:r,type:"link"})?K=!0:e.preventDefault();return}const[u,h]=r.href.split("#");if(h!==void 0&&u===ft(location)){const[,d]=y.url.href.split("#");if(d===h){e.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=a.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(q=!0,vt(S),t(r),!c.replace_state)return;q=!1}e.preventDefault(),await new Promise(d=>{requestAnimationFrame(()=>{setTimeout(d,0)}),setTimeout(d,100)}),Y({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href})}),T.addEventListener("submit",e=>{if(e.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(e.target),r=e.submitter;if(((r==null?void 0:r.formMethod)||a.method)!=="get")return;const i=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(at(i,P))return;const s=e.target,c=W(s);if(c.reload)return;e.preventDefault(),e.stopPropagation();const l=new FormData(s),u=r==null?void 0:r.getAttribute("name");u&&l.append(u,(r==null?void 0:r.getAttribute("value"))??""),i.search=new URLSearchParams(l).toString(),Y({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href})}),addEventListener("popstate",async e=>{var a;if((a=e.state)!=null&&a[D]){const r=e.state[D];if(et={},r===S)return;const o=N[r],i=e.state[qt]??{},s=new URL(e.state[Pe]??location.href),c=e.state[H],l=ft(location)===ft(y.url);if(c===L&&(Jt||l)){t(s),N[S]=yt(),o&&scrollTo(o.x,o.y),i!==I.state&&(I={...I,state:i},kt.$set({page:I})),S=r;return}const h=r-S;await Y({type:"popstate",url:s,popped:{state:i,scroll:o,delta:h},accept:()=>{S=r,L=c},block:()=>{history.go(-h)},nav_token:et})}else if(!q){const r=new URL(location.href);t(r)}}),addEventListener("hashchange",()=>{q&&(q=!1,history.replaceState({...history.state,[D]:++S,[H]:L},"",location.href))});for(const e of document.querySelectorAll("link"))e.rel==="icon"&&(e.href=e.href);addEventListener("pageshow",e=>{e.persisted&&U.navigating.set(null)});function t(e){y.url=e,U.page.set({...I,url:e}),U.page.notify()}}async function Ze(t,{status:n=200,error:e,node_ids:a,params:r,route:o,data:i,form:s}){bt=!0;const c=new URL(location.href);({params:r={},route:o={id:null}}=Rt(c,!1)||{});let l;try{const u=a.map(async(d,_)=>{const f=i[_];return f!=null&&f.uses&&(f.uses=oe(f.uses)),St({loader:F.nodes[d],url:c,params:r,route:o,parent:async()=>{const m={};for(let b=0;b<_;b+=1)Object.assign(m,(await u[b]).data);return m},server_data_node:At(f)})}),h=await Promise.all(u),g=ot.find(({id:d})=>d===o.id);if(g){const d=g.layouts;for(let _=0;_o?"1":"0").join(""));const a=await Dt(e.href);if(!a.ok){let o;throw(r=a.headers.get("content-type"))!=null&&r.includes("application/json")?o=await a.json():a.status===404?o="Not Found":a.status===500&&(o="Internal Error"),new rt(a.status,o)}return new Promise(async o=>{var h;const i=new Map,s=a.body.getReader(),c=new TextDecoder;function l(g){return De(g,{Promise:d=>new Promise((_,f)=>{i.set(d,{fulfil:_,reject:f})})})}let u="";for(;;){const{done:g,value:d}=await s.read();if(g&&!u)break;for(u+=!d&&u?` `:c.decode(d,{stream:!0});;){const _=u.indexOf(` `);if(_===-1)break;const f=JSON.parse(u.slice(0,_));if(u=u.slice(_+1),f.type==="redirect")return o(f);if(f.type==="data")(h=f.nodes)==null||h.forEach(m=>{(m==null?void 0:m.type)==="data"&&(m.uses=oe(m.uses),m.data=l(m.data))}),o(f);else if(f.type==="chunk"){const{id:m,data:b,error:A}=f,w=i.get(m);i.delete(m),A?w.reject(l(A)):w.fulfil(l(b))}}}})}function oe(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url),search_params:new Set((t==null?void 0:t.search_params)??[])}}function Qe(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const n=document.body,e=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),e!==null?n.setAttribute("tabindex",e):n.removeAttribute("tabindex");const a=getSelection();if(a&&a.type!=="None"){const r=[];for(let o=0;o{if(a.rangeCount===r.length){for(let o=0;o{r=u,o=h});return i.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:e&&{params:(n==null?void 0:n.params)??null,route:{id:((l=n==null?void 0:n.route)==null?void 0:l.id)??null},url:e},willUnload:!n,type:a,complete:i},fulfil:r,reject:o}}export{nn as a,U as s}; diff --git a/_app/immutable/chunks/paths.BCP9n3Ti.js b/_app/immutable/chunks/paths.BCP9n3Ti.js deleted file mode 100644 index 486451a..0000000 --- a/_app/immutable/chunks/paths.BCP9n3Ti.js +++ /dev/null @@ -1 +0,0 @@ -var s;const e=((s=globalThis.__sveltekit_uiyss5)==null?void 0:s.base)??"";var a;const t=((a=globalThis.__sveltekit_uiyss5)==null?void 0:a.assets)??e;export{t as a,e as b}; diff --git a/_app/immutable/chunks/paths.vvy4Sixn.js b/_app/immutable/chunks/paths.vvy4Sixn.js new file mode 100644 index 0000000..4bce335 --- /dev/null +++ b/_app/immutable/chunks/paths.vvy4Sixn.js @@ -0,0 +1 @@ +var s;const e=((s=globalThis.__sveltekit_s5pmyl)==null?void 0:s.base)??"";var a;const t=((a=globalThis.__sveltekit_s5pmyl)==null?void 0:a.assets)??e;export{t as a,e as b}; diff --git a/_app/immutable/entry/app.BLVgx8o1.js b/_app/immutable/entry/app.C37fuznp.js similarity index 88% rename from _app/immutable/entry/app.BLVgx8o1.js rename to _app/immutable/entry/app.C37fuznp.js index c9584bb..26fa79e 100644 --- a/_app/immutable/entry/app.BLVgx8o1.js +++ b/_app/immutable/entry/app.C37fuznp.js @@ -1,2 +1,2 @@ -const __vite__fileDeps=["../nodes/0.Cmw6li57.js","../chunks/scheduler._RQNZmqd.js","../chunks/index.BquU_noq.js","../chunks/paths.BCP9n3Ti.js","../nodes/1.DquBkeYA.js","../chunks/entry.rRlb-y_N.js","../nodes/2.B__fkNp6.js","../chunks/each.D6YF6ztN.js","../nodes/3.C-xDZ88B.js","../nodes/4.B5kB_D0l.js","../chunks/VoteCounts.B47na8yU.js","../assets/VoteCounts.BGQUMCx7.css","../nodes/5.DhrxtW1z.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{s as N,e as B,o as U,f as I,t as z}from"../chunks/scheduler._RQNZmqd.js";import{S as W,i as j,s as F,m as d,a as G,h as k,u as h,y as A,r as w,d as g,e as H,c as J,b as K,f as O,x as p,t as Q,l as X,w as Y,z as D,A as y,n as R,p as S,q as P,v as L}from"../chunks/index.BquU_noq.js";const Z="modulepreload",M=function(a,e){return new URL(a,e).href},T={},E=function(e,n,i){let s=Promise.resolve();if(n&&n.length>0){const u=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),r=(t==null?void 0:t.nonce)||(t==null?void 0:t.getAttribute("nonce"));s=Promise.all(n.map(o=>{if(o=M(o,i),o in T)return;T[o]=!0;const f=o.endsWith(".css"),l=f?'[rel="stylesheet"]':"";if(!!i)for(let b=u.length-1;b>=0;b--){const v=u[b];if(v.href===o&&(!f||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const _=document.createElement("link");if(_.rel=f?"stylesheet":Z,f||(_.as="script",_.crossOrigin=""),_.href=o,r&&_.setAttribute("nonce",r),document.head.appendChild(_),f)return new Promise((b,v)=>{_.addEventListener("load",b),_.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${o}`)))})}))}return s.then(()=>e()).catch(u=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=u,window.dispatchEvent(t),!t.defaultPrevented)throw u})},re={};function $(a){let e,n,i;var s=a[1][0];function u(t,r){return{props:{data:t[3],form:t[2]}}}return s&&(e=y(s,u(a)),a[12](e)),{c(){e&&R(e.$$.fragment),n=d()},l(t){e&&S(e.$$.fragment,t),n=d()},m(t,r){e&&P(e,t,r),k(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){D();const o=e;h(o.$$.fragment,1,0,()=>{L(o,1)}),A()}s?(e=y(s,u(t)),t[12](e),R(e.$$.fragment),w(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const o={};r&8&&(o.data=t[3]),r&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&w(e.$$.fragment,t),i=!0)},o(t){e&&h(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[12](null),e&&L(e,t)}}}function x(a){let e,n,i;var s=a[1][0];function u(t,r){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return s&&(e=y(s,u(a)),a[11](e)),{c(){e&&R(e.$$.fragment),n=d()},l(t){e&&S(e.$$.fragment,t),n=d()},m(t,r){e&&P(e,t,r),k(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){D();const o=e;h(o.$$.fragment,1,0,()=>{L(o,1)}),A()}s?(e=y(s,u(t)),t[11](e),R(e.$$.fragment),w(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const o={};r&8&&(o.data=t[3]),r&8215&&(o.$$scope={dirty:r,ctx:t}),e.$set(o)}},i(t){i||(e&&w(e.$$.fragment,t),i=!0)},o(t){e&&h(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[11](null),e&&L(e,t)}}}function ee(a){let e,n,i;var s=a[1][1];function u(t,r){return{props:{data:t[4],form:t[2]}}}return s&&(e=y(s,u(a)),a[10](e)),{c(){e&&R(e.$$.fragment),n=d()},l(t){e&&S(e.$$.fragment,t),n=d()},m(t,r){e&&P(e,t,r),k(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][1])){if(e){D();const o=e;h(o.$$.fragment,1,0,()=>{L(o,1)}),A()}s?(e=y(s,u(t)),t[10](e),R(e.$$.fragment),w(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const o={};r&16&&(o.data=t[4]),r&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&w(e.$$.fragment,t),i=!0)},o(t){e&&h(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[10](null),e&&L(e,t)}}}function V(a){let e,n=a[6]&&q(a);return{c(){e=H("div"),n&&n.c(),this.h()},l(i){e=J(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=K(e);n&&n.l(s),s.forEach(g),this.h()},h(){O(e,"id","svelte-announcer"),O(e,"aria-live","assertive"),O(e,"aria-atomic","true"),p(e,"position","absolute"),p(e,"left","0"),p(e,"top","0"),p(e,"clip","rect(0 0 0 0)"),p(e,"clip-path","inset(50%)"),p(e,"overflow","hidden"),p(e,"white-space","nowrap"),p(e,"width","1px"),p(e,"height","1px")},m(i,s){k(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=q(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&g(e),n&&n.d()}}}function q(a){let e;return{c(){e=Q(a[7])},l(n){e=X(n,a[7])},m(n,i){k(n,e,i)},p(n,i){i&128&&Y(e,n[7])},d(n){n&&g(e)}}}function te(a){let e,n,i,s,u;const t=[x,$],r=[];function o(l,m){return l[1][1]?0:1}e=o(a),n=r[e]=t[e](a);let f=a[5]&&V(a);return{c(){n.c(),i=F(),f&&f.c(),s=d()},l(l){n.l(l),i=G(l),f&&f.l(l),s=d()},m(l,m){r[e].m(l,m),k(l,i,m),f&&f.m(l,m),k(l,s,m),u=!0},p(l,[m]){let _=e;e=o(l),e===_?r[e].p(l,m):(D(),h(r[_],1,1,()=>{r[_]=null}),A(),n=r[e],n?n.p(l,m):(n=r[e]=t[e](l),n.c()),w(n,1),n.m(i.parentNode,i)),l[5]?f?f.p(l,m):(f=V(l),f.c(),f.m(s.parentNode,s)):f&&(f.d(1),f=null)},i(l){u||(w(n),u=!0)},o(l){h(n),u=!1},d(l){l&&(g(i),g(s)),r[e].d(l),f&&f.d(l)}}}function ne(a,e,n){let{stores:i}=e,{page:s}=e,{constructors:u}=e,{components:t=[]}=e,{form:r}=e,{data_0:o=null}=e,{data_1:f=null}=e;B(i.page.notify);let l=!1,m=!1,_=null;U(()=>{const c=i.page.subscribe(()=>{l&&(n(6,m=!0),z().then(()=>{n(7,_=document.title||"untitled page")}))});return n(5,l=!0),c});function b(c){I[c?"unshift":"push"](()=>{t[1]=c,n(0,t)})}function v(c){I[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}function C(c){I[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}return a.$$set=c=>{"stores"in c&&n(8,i=c.stores),"page"in c&&n(9,s=c.page),"constructors"in c&&n(1,u=c.constructors),"components"in c&&n(0,t=c.components),"form"in c&&n(2,r=c.form),"data_0"in c&&n(3,o=c.data_0),"data_1"in c&&n(4,f=c.data_1)},a.$$.update=()=>{a.$$.dirty&768&&i.page.set(s)},[t,u,r,o,f,l,m,_,i,s,b,v,C]}class oe extends W{constructor(e){super(),j(this,e,ne,te,N,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>E(()=>import("../nodes/0.Cmw6li57.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),()=>E(()=>import("../nodes/1.DquBkeYA.js"),__vite__mapDeps([4,1,2,5,3]),import.meta.url),()=>E(()=>import("../nodes/2.B__fkNp6.js"),__vite__mapDeps([6,1,2,7,3]),import.meta.url),()=>E(()=>import("../nodes/3.C-xDZ88B.js"),__vite__mapDeps([8,1,2,3]),import.meta.url),()=>E(()=>import("../nodes/4.B5kB_D0l.js"),__vite__mapDeps([9,1,2,3,10,7,11]),import.meta.url),()=>E(()=>import("../nodes/5.DhrxtW1z.js"),__vite__mapDeps([12,1,2,3,7,10,11]),import.meta.url)],le=[],fe={"/":[-3],"/about":[3],"/card/[...path]":[-5],"/report/[...path]":[-6]},ce={handleError:({error:a})=>{console.error(a)},reroute:()=>{}};export{fe as dictionary,ce as hooks,re as matchers,ae as nodes,oe as root,le as server_loads}; +const __vite__fileDeps=["../nodes/0.BIOCvegu.js","../chunks/scheduler._RQNZmqd.js","../chunks/index.BquU_noq.js","../chunks/paths.vvy4Sixn.js","../nodes/1.ieN4XGix.js","../chunks/entry.D8-RXTqP.js","../nodes/2.C_DQUQ02.js","../chunks/each.D6YF6ztN.js","../nodes/3.BwegS3W5.js","../nodes/4.4cqXk508.js","../chunks/VoteCounts.B47na8yU.js","../assets/VoteCounts.BGQUMCx7.css","../nodes/5.iP8Mqy64.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import{s as N,e as B,o as U,f as I,t as z}from"../chunks/scheduler._RQNZmqd.js";import{S as W,i as j,s as F,m as d,a as G,h as k,u as h,y as A,r as w,d as g,e as H,c as J,b as K,f as O,x as p,t as Q,l as X,w as Y,z as D,A as y,n as R,p as S,q as P,v as L}from"../chunks/index.BquU_noq.js";const Z="modulepreload",M=function(a,e){return new URL(a,e).href},T={},E=function(e,n,i){let s=Promise.resolve();if(n&&n.length>0){const u=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),r=(t==null?void 0:t.nonce)||(t==null?void 0:t.getAttribute("nonce"));s=Promise.all(n.map(o=>{if(o=M(o,i),o in T)return;T[o]=!0;const f=o.endsWith(".css"),l=f?'[rel="stylesheet"]':"";if(!!i)for(let b=u.length-1;b>=0;b--){const v=u[b];if(v.href===o&&(!f||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const _=document.createElement("link");if(_.rel=f?"stylesheet":Z,f||(_.as="script",_.crossOrigin=""),_.href=o,r&&_.setAttribute("nonce",r),document.head.appendChild(_),f)return new Promise((b,v)=>{_.addEventListener("load",b),_.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${o}`)))})}))}return s.then(()=>e()).catch(u=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=u,window.dispatchEvent(t),!t.defaultPrevented)throw u})},re={};function $(a){let e,n,i;var s=a[1][0];function u(t,r){return{props:{data:t[3],form:t[2]}}}return s&&(e=y(s,u(a)),a[12](e)),{c(){e&&R(e.$$.fragment),n=d()},l(t){e&&S(e.$$.fragment,t),n=d()},m(t,r){e&&P(e,t,r),k(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){D();const o=e;h(o.$$.fragment,1,0,()=>{L(o,1)}),A()}s?(e=y(s,u(t)),t[12](e),R(e.$$.fragment),w(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const o={};r&8&&(o.data=t[3]),r&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&w(e.$$.fragment,t),i=!0)},o(t){e&&h(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[12](null),e&&L(e,t)}}}function x(a){let e,n,i;var s=a[1][0];function u(t,r){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return s&&(e=y(s,u(a)),a[11](e)),{c(){e&&R(e.$$.fragment),n=d()},l(t){e&&S(e.$$.fragment,t),n=d()},m(t,r){e&&P(e,t,r),k(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){D();const o=e;h(o.$$.fragment,1,0,()=>{L(o,1)}),A()}s?(e=y(s,u(t)),t[11](e),R(e.$$.fragment),w(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const o={};r&8&&(o.data=t[3]),r&8215&&(o.$$scope={dirty:r,ctx:t}),e.$set(o)}},i(t){i||(e&&w(e.$$.fragment,t),i=!0)},o(t){e&&h(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[11](null),e&&L(e,t)}}}function ee(a){let e,n,i;var s=a[1][1];function u(t,r){return{props:{data:t[4],form:t[2]}}}return s&&(e=y(s,u(a)),a[10](e)),{c(){e&&R(e.$$.fragment),n=d()},l(t){e&&S(e.$$.fragment,t),n=d()},m(t,r){e&&P(e,t,r),k(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][1])){if(e){D();const o=e;h(o.$$.fragment,1,0,()=>{L(o,1)}),A()}s?(e=y(s,u(t)),t[10](e),R(e.$$.fragment),w(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const o={};r&16&&(o.data=t[4]),r&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&w(e.$$.fragment,t),i=!0)},o(t){e&&h(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[10](null),e&&L(e,t)}}}function V(a){let e,n=a[6]&&q(a);return{c(){e=H("div"),n&&n.c(),this.h()},l(i){e=J(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=K(e);n&&n.l(s),s.forEach(g),this.h()},h(){O(e,"id","svelte-announcer"),O(e,"aria-live","assertive"),O(e,"aria-atomic","true"),p(e,"position","absolute"),p(e,"left","0"),p(e,"top","0"),p(e,"clip","rect(0 0 0 0)"),p(e,"clip-path","inset(50%)"),p(e,"overflow","hidden"),p(e,"white-space","nowrap"),p(e,"width","1px"),p(e,"height","1px")},m(i,s){k(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=q(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&g(e),n&&n.d()}}}function q(a){let e;return{c(){e=Q(a[7])},l(n){e=X(n,a[7])},m(n,i){k(n,e,i)},p(n,i){i&128&&Y(e,n[7])},d(n){n&&g(e)}}}function te(a){let e,n,i,s,u;const t=[x,$],r=[];function o(l,m){return l[1][1]?0:1}e=o(a),n=r[e]=t[e](a);let f=a[5]&&V(a);return{c(){n.c(),i=F(),f&&f.c(),s=d()},l(l){n.l(l),i=G(l),f&&f.l(l),s=d()},m(l,m){r[e].m(l,m),k(l,i,m),f&&f.m(l,m),k(l,s,m),u=!0},p(l,[m]){let _=e;e=o(l),e===_?r[e].p(l,m):(D(),h(r[_],1,1,()=>{r[_]=null}),A(),n=r[e],n?n.p(l,m):(n=r[e]=t[e](l),n.c()),w(n,1),n.m(i.parentNode,i)),l[5]?f?f.p(l,m):(f=V(l),f.c(),f.m(s.parentNode,s)):f&&(f.d(1),f=null)},i(l){u||(w(n),u=!0)},o(l){h(n),u=!1},d(l){l&&(g(i),g(s)),r[e].d(l),f&&f.d(l)}}}function ne(a,e,n){let{stores:i}=e,{page:s}=e,{constructors:u}=e,{components:t=[]}=e,{form:r}=e,{data_0:o=null}=e,{data_1:f=null}=e;B(i.page.notify);let l=!1,m=!1,_=null;U(()=>{const c=i.page.subscribe(()=>{l&&(n(6,m=!0),z().then(()=>{n(7,_=document.title||"untitled page")}))});return n(5,l=!0),c});function b(c){I[c?"unshift":"push"](()=>{t[1]=c,n(0,t)})}function v(c){I[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}function C(c){I[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}return a.$$set=c=>{"stores"in c&&n(8,i=c.stores),"page"in c&&n(9,s=c.page),"constructors"in c&&n(1,u=c.constructors),"components"in c&&n(0,t=c.components),"form"in c&&n(2,r=c.form),"data_0"in c&&n(3,o=c.data_0),"data_1"in c&&n(4,f=c.data_1)},a.$$.update=()=>{a.$$.dirty&768&&i.page.set(s)},[t,u,r,o,f,l,m,_,i,s,b,v,C]}class oe extends W{constructor(e){super(),j(this,e,ne,te,N,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>E(()=>import("../nodes/0.BIOCvegu.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),()=>E(()=>import("../nodes/1.ieN4XGix.js"),__vite__mapDeps([4,1,2,5,3]),import.meta.url),()=>E(()=>import("../nodes/2.C_DQUQ02.js"),__vite__mapDeps([6,1,2,7,3]),import.meta.url),()=>E(()=>import("../nodes/3.BwegS3W5.js"),__vite__mapDeps([8,1,2,3]),import.meta.url),()=>E(()=>import("../nodes/4.4cqXk508.js"),__vite__mapDeps([9,1,2,3,10,7,11]),import.meta.url),()=>E(()=>import("../nodes/5.iP8Mqy64.js"),__vite__mapDeps([12,1,2,3,7,10,11]),import.meta.url)],le=[],fe={"/":[-3],"/about":[3],"/card/[...path]":[-5],"/report/[...path]":[-6]},ce={handleError:({error:a})=>{console.error(a)},reroute:()=>{}};export{fe as dictionary,ce as hooks,re as matchers,ae as nodes,oe as root,le as server_loads}; diff --git a/_app/immutable/entry/start.Cynm-kvy.js b/_app/immutable/entry/start.Cynm-kvy.js new file mode 100644 index 0000000..1679bd0 --- /dev/null +++ b/_app/immutable/entry/start.Cynm-kvy.js @@ -0,0 +1 @@ +import{a as t}from"../chunks/entry.D8-RXTqP.js";export{t as start}; diff --git a/_app/immutable/entry/start.DXOKKkJ3.js b/_app/immutable/entry/start.DXOKKkJ3.js deleted file mode 100644 index c614070..0000000 --- a/_app/immutable/entry/start.DXOKKkJ3.js +++ /dev/null @@ -1 +0,0 @@ -import{a as t}from"../chunks/entry.rRlb-y_N.js";export{t as start}; diff --git a/_app/immutable/nodes/0.Cmw6li57.js b/_app/immutable/nodes/0.BIOCvegu.js similarity index 95% rename from _app/immutable/nodes/0.Cmw6li57.js rename to _app/immutable/nodes/0.BIOCvegu.js index ebd2a69..59f10cf 100644 --- a/_app/immutable/nodes/0.Cmw6li57.js +++ b/_app/immutable/nodes/0.BIOCvegu.js @@ -1 +1 @@ -import{s as g,c as $,u as b,g as v,a as k}from"../chunks/scheduler._RQNZmqd.js";import{S,i as j,e as _,s as I,o as L,c as m,d as u,a as N,b as z,f as c,j as p,h,r as E,u as K}from"../chunks/index.BquU_noq.js";import{b as y}from"../chunks/paths.BCP9n3Ti.js";const M=!0,T=Object.freeze(Object.defineProperty({__proto__:null,prerender:M},Symbol.toStringTag,{value:"Module"}));function O(r){let s,a,i,n,l;const f=r[1].default,t=$(f,r,r[0],null);return{c(){s=_("link"),a=_("link"),i=I(),n=_("main"),t&&t.c(),this.h()},l(e){const o=L("svelte-160zly4",document.head);s=m(o,"LINK",{rel:!0,href:!0}),a=m(o,"LINK",{rel:!0,type:!0,href:!0}),o.forEach(u),i=N(e),n=m(e,"MAIN",{});var d=z(n);t&&t.l(d),d.forEach(u),this.h()},h(){c(s,"rel","stylesheet"),c(s,"href",y+"/style.css"),c(a,"rel","icon"),c(a,"type","image/png"),c(a,"href",y+"/icons/icon.png")},m(e,o){p(document.head,s),p(document.head,a),h(e,i,o),h(e,n,o),t&&t.m(n,null),l=!0},p(e,[o]){t&&t.p&&(!l||o&1)&&b(t,f,e,e[0],l?k(f,e[0],o,null):v(e[0]),null)},i(e){l||(E(t,e),l=!0)},o(e){K(t,e),l=!1},d(e){e&&(u(i),u(n)),u(s),u(a),t&&t.d(e)}}}function q(r,s,a){let{$$slots:i={},$$scope:n}=s;return r.$$set=l=>{"$$scope"in l&&a(0,n=l.$$scope)},[n,i]}class w extends S{constructor(s){super(),j(this,s,q,O,g,{})}}export{w as component,T as universal}; +import{s as g,c as $,u as b,g as v,a as k}from"../chunks/scheduler._RQNZmqd.js";import{S,i as j,e as _,s as I,o as L,c as m,d as u,a as N,b as z,f as c,j as p,h,r as E,u as K}from"../chunks/index.BquU_noq.js";import{b as y}from"../chunks/paths.vvy4Sixn.js";const M=!0,T=Object.freeze(Object.defineProperty({__proto__:null,prerender:M},Symbol.toStringTag,{value:"Module"}));function O(r){let s,a,i,n,l;const f=r[1].default,t=$(f,r,r[0],null);return{c(){s=_("link"),a=_("link"),i=I(),n=_("main"),t&&t.c(),this.h()},l(e){const o=L("svelte-160zly4",document.head);s=m(o,"LINK",{rel:!0,href:!0}),a=m(o,"LINK",{rel:!0,type:!0,href:!0}),o.forEach(u),i=N(e),n=m(e,"MAIN",{});var d=z(n);t&&t.l(d),d.forEach(u),this.h()},h(){c(s,"rel","stylesheet"),c(s,"href",y+"/style.css"),c(a,"rel","icon"),c(a,"type","image/png"),c(a,"href",y+"/icons/icon.png")},m(e,o){p(document.head,s),p(document.head,a),h(e,i,o),h(e,n,o),t&&t.m(n,null),l=!0},p(e,[o]){t&&t.p&&(!l||o&1)&&b(t,f,e,e[0],l?k(f,e[0],o,null):v(e[0]),null)},i(e){l||(E(t,e),l=!0)},o(e){K(t,e),l=!1},d(e){e&&(u(i),u(n)),u(s),u(a),t&&t.d(e)}}}function q(r,s,a){let{$$slots:i={},$$scope:n}=s;return r.$$set=l=>{"$$scope"in l&&a(0,n=l.$$scope)},[n,i]}class w extends S{constructor(s){super(),j(this,s,q,O,g,{})}}export{w as component,T as universal}; diff --git a/_app/immutable/nodes/1.DquBkeYA.js b/_app/immutable/nodes/1.ieN4XGix.js similarity index 94% rename from _app/immutable/nodes/1.DquBkeYA.js rename to _app/immutable/nodes/1.ieN4XGix.js index 4aaabcc..56ea9ac 100644 --- a/_app/immutable/nodes/1.DquBkeYA.js +++ b/_app/immutable/nodes/1.ieN4XGix.js @@ -1 +1 @@ -import{s as C,n as f,b as H}from"../chunks/scheduler._RQNZmqd.js";import{S as P,i as k,s as h,e as g,t as v,o as x,d as n,a as E,c as $,b as S,l as j,h as d,j as q,w}from"../chunks/index.BquU_noq.js";import{s as y}from"../chunks/entry.rRlb-y_N.js";const z=()=>{const s=y;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},A={subscribe(s){return z().page.subscribe(s)}};function B(s){let r,i,t,o=s[0].status+"",u,p,c,l=s[0].error.message+"",m;return document.title=r=s[0].status,{c(){i=h(),t=g("h1"),u=v(o),p=h(),c=g("p"),m=v(l)},l(e){x("svelte-1pmtc3j",document.head).forEach(n),i=E(e),t=$(e,"H1",{});var _=S(t);u=j(_,o),_.forEach(n),p=E(e),c=$(e,"P",{});var b=S(c);m=j(b,l),b.forEach(n)},m(e,a){d(e,i,a),d(e,t,a),q(t,u),d(e,p,a),d(e,c,a),q(c,m)},p(e,[a]){a&1&&r!==(r=e[0].status)&&(document.title=r),a&1&&o!==(o=e[0].status+"")&&w(u,o),a&1&&l!==(l=e[0].error.message+"")&&w(m,l)},i:f,o:f,d(e){e&&(n(i),n(t),n(p),n(c))}}}function D(s,r,i){let t;return H(s,A,o=>i(0,t=o)),[t]}let J=class extends P{constructor(r){super(),k(this,r,D,B,C,{})}};export{J as component}; +import{s as C,n as f,b as H}from"../chunks/scheduler._RQNZmqd.js";import{S as P,i as k,s as h,e as g,t as v,o as x,d as n,a as E,c as $,b as S,l as j,h as d,j as q,w}from"../chunks/index.BquU_noq.js";import{s as y}from"../chunks/entry.D8-RXTqP.js";const z=()=>{const s=y;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},A={subscribe(s){return z().page.subscribe(s)}};function B(s){let r,i,t,o=s[0].status+"",u,p,c,l=s[0].error.message+"",m;return document.title=r=s[0].status,{c(){i=h(),t=g("h1"),u=v(o),p=h(),c=g("p"),m=v(l)},l(e){x("svelte-1pmtc3j",document.head).forEach(n),i=E(e),t=$(e,"H1",{});var _=S(t);u=j(_,o),_.forEach(n),p=E(e),c=$(e,"P",{});var b=S(c);m=j(b,l),b.forEach(n)},m(e,a){d(e,i,a),d(e,t,a),q(t,u),d(e,p,a),d(e,c,a),q(c,m)},p(e,[a]){a&1&&r!==(r=e[0].status)&&(document.title=r),a&1&&o!==(o=e[0].status+"")&&w(u,o),a&1&&l!==(l=e[0].error.message+"")&&w(m,l)},i:f,o:f,d(e){e&&(n(i),n(t),n(p),n(c))}}}function D(s,r,i){let t;return H(s,A,o=>i(0,t=o)),[t]}let J=class extends P{constructor(r){super(),k(this,r,D,B,C,{})}};export{J as component}; diff --git a/_app/immutable/nodes/2.B__fkNp6.js b/_app/immutable/nodes/2.C_DQUQ02.js similarity index 98% rename from _app/immutable/nodes/2.B__fkNp6.js rename to _app/immutable/nodes/2.C_DQUQ02.js index ad725ca..115cea4 100644 --- a/_app/immutable/nodes/2.B__fkNp6.js +++ b/_app/immutable/nodes/2.C_DQUQ02.js @@ -1,4 +1,4 @@ -import{s as Y,n as P}from"../chunks/scheduler._RQNZmqd.js";import{S as Z,i as ee,e as k,s as x,c as E,g as M,a as S,b as V,d as u,f as w,h as C,j as _,k as G,t as T,l as H,m as q}from"../chunks/index.BquU_noq.js";import{e as y}from"../chunks/each.D6YF6ztN.js";import{b as X}from"../chunks/paths.BCP9n3Ti.js";function z(c,t,i){const l=c.slice();return l[2]=t[i][0],l[3]=t[i][1],l}function B(c,t,i){const l=c.slice();return l[6]=t[i],l}function $(c,t,i){const l=c.slice();return l[9]=t[i],l}function J(c,t,i){const l=c.slice();return l[12]=t[i],l[14]=i,l}function K(c){let t,i=c[12]+"",l,d=c[14]==c[9].winners.length-1?"":", ",f;return{c(){t=k("span"),l=T(i),f=T(d),this.h()},l(v){t=E(v,"SPAN",{class:!0});var m=V(t);l=H(m,i),f=H(m,d),m.forEach(u),this.h()},h(){w(t,"class","winner")},m(v,m){C(v,t,m),_(t,l),_(t,f)},p:P,d(v){v&&u(t)}}}function Q(c){let t,i,l,d,f,v=c[9].officeName+"",m,b,r,o,n,e=c[9].numCandidates+"",a,s,h,D=y(c[9].winners),p=[];for(let I=0;I

approval.vote

: detailed reports on approval voting elections.

In an Approval Voting election voters can pick all the candidates that they like, which produces more +import{s as Y,n as P}from"../chunks/scheduler._RQNZmqd.js";import{S as Z,i as ee,e as k,s as x,c as E,g as M,a as S,b as V,d as u,f as w,h as C,j as _,k as G,t as T,l as H,m as q}from"../chunks/index.BquU_noq.js";import{e as y}from"../chunks/each.D6YF6ztN.js";import{b as X}from"../chunks/paths.vvy4Sixn.js";function z(c,t,i){const l=c.slice();return l[2]=t[i][0],l[3]=t[i][1],l}function B(c,t,i){const l=c.slice();return l[6]=t[i],l}function $(c,t,i){const l=c.slice();return l[9]=t[i],l}function J(c,t,i){const l=c.slice();return l[12]=t[i],l[14]=i,l}function K(c){let t,i=c[12]+"",l,d=c[14]==c[9].winners.length-1?"":", ",f;return{c(){t=k("span"),l=T(i),f=T(d),this.h()},l(v){t=E(v,"SPAN",{class:!0});var m=V(t);l=H(m,i),f=H(m,d),m.forEach(u),this.h()},h(){w(t,"class","winner")},m(v,m){C(v,t,m),_(t,l),_(t,f)},p:P,d(v){v&&u(t)}}}function Q(c){let t,i,l,d,f,v=c[9].officeName+"",m,b,r,o,n,e=c[9].numCandidates+"",a,s,h,D=y(c[9].winners),p=[];for(let I=0;I

approval.vote

: detailed reports on approval voting elections.

In an Approval Voting election voters can pick all the candidates that they like, which produces more data on voter preferences than pick-one elections.

approval.vote is a project of Felix Sargent. It is a fork of Paul Butler's ranked.vote. It is non-partisan and diff --git a/_app/immutable/nodes/3.C-xDZ88B.js b/_app/immutable/nodes/3.BwegS3W5.js similarity index 97% rename from _app/immutable/nodes/3.C-xDZ88B.js rename to _app/immutable/nodes/3.BwegS3W5.js index 73464c4..ea85d92 100644 --- a/_app/immutable/nodes/3.C-xDZ88B.js +++ b/_app/immutable/nodes/3.BwegS3W5.js @@ -1,4 +1,4 @@ -import{s as v,n as o}from"../chunks/scheduler._RQNZmqd.js";import{S as f,i as b,e as h,s as m,c as d,g as c,a as g,f as y,h as n,d as r}from"../chunks/index.BquU_noq.js";import{b as w}from"../chunks/paths.BCP9n3Ti.js";function _(u){let e,l="About approval.vote",s,a,p=`

Approval Voting elections +import{s as v,n as o}from"../chunks/scheduler._RQNZmqd.js";import{S as f,i as b,e as h,s as m,c as d,g as c,a as g,f as y,h as n,d as r}from"../chunks/index.BquU_noq.js";import{b as w}from"../chunks/paths.vvy4Sixn.js";function _(u){let e,l="About approval.vote",s,a,p=`

Approval Voting elections produce a lot of data about voter preferences. Typically, this information is made available by election boards in specialized file formats and requires processing to interpret. The purpose of approval.vote is to increase transparency into these diff --git a/_app/immutable/nodes/4.B5kB_D0l.js b/_app/immutable/nodes/4.4cqXk508.js similarity index 96% rename from _app/immutable/nodes/4.B5kB_D0l.js rename to _app/immutable/nodes/4.4cqXk508.js index 4f9e5fd..28ff24c 100644 --- a/_app/immutable/nodes/4.B5kB_D0l.js +++ b/_app/immutable/nodes/4.4cqXk508.js @@ -1,4 +1,4 @@ -import{s as K,n as L}from"../chunks/scheduler._RQNZmqd.js";import{S as O,i as P,e as c,s as I,t as N,n as R,o as T,c as d,d as r,a as q,b as g,g as B,l as D,p as F,f as v,j as s,h as A,q as J,r as M,u as Q,v as U}from"../chunks/index.BquU_noq.js";import{b as G}from"../chunks/paths.BCP9n3Ti.js";import{V as W}from"../chunks/VoteCounts.B47na8yU.js";function X(f){let n,m,e,o,t,l,S="approval.vote",x,_,j=f[0].info.jurisdictionName+"",C,V,k=f[0].info.officeName+"",b,y,h,i,$;return i=new W({props:{report:f[0]}}),{c(){n=c("link"),m=I(),e=c("div"),o=c("div"),t=c("h3"),l=c("a"),l.textContent=S,x=N(` +import{s as K,n as L}from"../chunks/scheduler._RQNZmqd.js";import{S as O,i as P,e as c,s as I,t as N,n as R,o as T,c as d,d as r,a as q,b as g,g as B,l as D,p as F,f as v,j as s,h as A,q as J,r as M,u as Q,v as U}from"../chunks/index.BquU_noq.js";import{b as G}from"../chunks/paths.vvy4Sixn.js";import{V as W}from"../chunks/VoteCounts.B47na8yU.js";function X(f){let n,m,e,o,t,l,S="approval.vote",x,_,j=f[0].info.jurisdictionName+"",C,V,k=f[0].info.officeName+"",b,y,h,i,$;return i=new W({props:{report:f[0]}}),{c(){n=c("link"),m=I(),e=c("div"),o=c("div"),t=c("h3"),l=c("a"),l.textContent=S,x=N(` // `),_=c("strong"),C=N(j),V=I(),b=N(k),y=I(),h=c("div"),R(i.$$.fragment),this.h()},l(a){const p=T("svelte-zd2vis",document.head);n=d(p,"LINK",{rel:!0,href:!0}),p.forEach(r),m=q(a),e=d(a,"DIV",{class:!0});var E=g(e);o=d(E,"DIV",{class:!0});var w=g(o);t=d(w,"H3",{});var u=g(t);l=d(u,"A",{href:!0,"data-svelte-h":!0}),B(l)!=="svelte-1ibrwq9"&&(l.textContent=S),x=D(u,` // diff --git a/_app/immutable/nodes/5.DhrxtW1z.js b/_app/immutable/nodes/5.iP8Mqy64.js similarity index 76% rename from _app/immutable/nodes/5.DhrxtW1z.js rename to _app/immutable/nodes/5.iP8Mqy64.js index 7142d49..de1a31b 100644 --- a/_app/immutable/nodes/5.DhrxtW1z.js +++ b/_app/immutable/nodes/5.iP8Mqy64.js @@ -1,26 +1,26 @@ -import{s as Fe,d as Ze}from"../chunks/scheduler._RQNZmqd.js";import{S as Pe,i as Je,e as _,s as j,t as u,n as Ue,c as m,b as y,d as s,a as D,g as Ye,l as d,p as Be,f as b,h as w,j as i,q as We,w as A,r as ze,u as Ke,k as xe,v as Qe,m as Ve,o as et,x as tt}from"../chunks/index.BquU_noq.js";import{b as _e}from"../chunks/paths.BCP9n3Ti.js";import{e as Ge}from"../chunks/each.D6YF6ztN.js";import{V as nt}from"../chunks/VoteCounts.B47na8yU.js";function Ie(o,e,t){const r=o.slice();return r[5]=e[t],r[7]=t,r}function rt(o){let e=o[0].info.jurisdictionName+"",t,r,a=o[0].info.electionName+"",n;return{c(){t=u(e),r=j(),n=u(a)},l(l){t=d(l,e),r=D(l),n=d(l,a)},m(l,k){w(l,t,k),w(l,r,k),w(l,n,k)},p(l,k){k&1&&e!==(e=l[0].info.jurisdictionName+"")&&A(t,e),k&1&&a!==(a=l[0].info.electionName+"")&&A(n,a)},d(l){l&&(s(t),s(r),s(n))}}}function ot(o){let e,t=o[0].info.jurisdictionName+"",r,a,n=o[0].info.electionName+"",l,k;return{c(){e=_("a"),r=u(t),a=j(),l=u(n),this.h()},l(c){e=m(c,"A",{href:!0});var p=y(e);r=d(p,t),a=D(p),l=d(p,n),p.forEach(s),this.h()},h(){b(e,"href",k=o[0].info.website)},m(c,p){w(c,e,p),i(e,r),i(e,a),i(e,l)},p(c,p){p&1&&t!==(t=c[0].info.jurisdictionName+"")&&A(r,t),p&1&&n!==(n=c[0].info.electionName+"")&&A(l,n),p&1&&k!==(k=c[0].info.website)&&b(e,"href",k)},d(c){c&&s(e)}}}function at(o){let e,t,r=o[5].name+"",a;return{c(){e=u(`, +import{s as Fe,d as Ze}from"../chunks/scheduler._RQNZmqd.js";import{S as Pe,i as Je,e as _,s as j,t as u,n as Ue,c as m,b as y,d as s,a as D,g as Ye,l as d,p as ze,f as b,h as w,j as i,q as Be,w as A,r as We,u as Ke,k as xe,v as Qe,m as Ve,o as et,x as tt}from"../chunks/index.BquU_noq.js";import{b as _e}from"../chunks/paths.vvy4Sixn.js";import{e as Ge}from"../chunks/each.D6YF6ztN.js";import{V as nt}from"../chunks/VoteCounts.B47na8yU.js";function Ie(o,e,t){const r=o.slice();return r[5]=e[t],r[7]=t,r}function rt(o){let e=o[0].info.jurisdictionName+"",t,r,a=o[0].info.electionName+"",n;return{c(){t=u(e),r=j(),n=u(a)},l(l){t=d(l,e),r=D(l),n=d(l,a)},m(l,k){w(l,t,k),w(l,r,k),w(l,n,k)},p(l,k){k&1&&e!==(e=l[0].info.jurisdictionName+"")&&A(t,e),k&1&&a!==(a=l[0].info.electionName+"")&&A(n,a)},d(l){l&&(s(t),s(r),s(n))}}}function ot(o){let e,t=o[0].info.jurisdictionName+"",r,a,n=o[0].info.electionName+"",l,k;return{c(){e=_("a"),r=u(t),a=j(),l=u(n),this.h()},l(c){e=m(c,"A",{href:!0});var p=y(e);r=d(p,t),a=D(p),l=d(p,n),p.forEach(s),this.h()},h(){b(e,"href",k=o[0].info.website)},m(c,p){w(c,e,p),i(e,r),i(e,a),i(e,l)},p(c,p){p&1&&t!==(t=c[0].info.jurisdictionName+"")&&A(r,t),p&1&&n!==(n=c[0].info.electionName+"")&&A(l,n),p&1&&k!==(k=c[0].info.website)&&b(e,"href",k)},d(c){c&&s(e)}}}function at(o){let e,t,r=o[5].name+"",a;return{c(){e=u(`, `),t=_("strong"),a=u(r)},l(n){e=d(n,`, `),t=m(n,"STRONG",{});var l=y(t);a=d(l,r),l.forEach(s)},m(n,l){w(n,e,l),w(n,t,l),i(t,a)},p(n,l){l&1&&r!==(r=n[5].name+"")&&A(a,r)},d(n){n&&(s(e),s(t))}}}function lt(o){let e,t,r=o[5].name+"",a;return{c(){e=u(`, and `),t=_("strong"),a=u(r)},l(n){e=d(n,`, and - `),t=m(n,"STRONG",{});var l=y(t);a=d(l,r),l.forEach(s)},m(n,l){w(n,e,l),w(n,t,l),i(t,a)},p(n,l){l&1&&r!==(r=n[5].name+"")&&A(a,r)},d(n){n&&(s(e),s(t))}}}function it(o){let e,t=o[5].name+"",r;return{c(){e=_("strong"),r=u(t)},l(a){e=m(a,"STRONG",{});var n=y(e);r=d(n,t),n.forEach(s)},m(a,n){w(a,e,n),i(e,r)},p(a,n){n&1&&t!==(t=a[5].name+"")&&A(r,t)},d(a){a&&s(e)}}}function Le(o){let e;function t(n,l){return n[7]==0?it:n[7]==n[0].winners.length-1?lt:at}let r=t(o),a=r(o);return{c(){a.c(),e=Ve()},l(n){a.l(n),e=Ve()},m(n,l){a.m(n,l),w(n,e,l)},p(n,l){r===(r=t(n))&&a?a.p(n,l):(a.d(1),a=r(n),a&&(a.c(),a.m(e.parentNode,e)))},d(n){n&&s(e),a.d(n)}}}function st(o){let e;return{c(){e=u("were the winners out of")},l(t){e=d(t,"were the winners out of")},m(t,r){w(t,e,r)},d(t){t&&s(e)}}}function ft(o){let e;return{c(){e=u("was the winner out of")},l(t){e=d(t,"was the winner out of")},m(t,r){w(t,e,r)},d(t){t&&s(e)}}}function ct(o){let e;return{c(){e=u("candidates")},l(t){e=d(t,"candidates")},m(t,r){w(t,e,r)},d(t){t&&s(e)}}}function ut(o){let e;return{c(){e=u("candidate")},l(t){e=d(t,"candidate")},m(t,r){w(t,e,r)},d(t){t&&s(e)}}}function He(o){let e=o[0].info.notes+"",t;return{c(){t=u(e)},l(r){t=d(r,e)},m(r,a){w(r,t,a)},p(r,a){a&1&&e!==(e=r[0].info.notes+"")&&A(t,e)},d(r){r&&s(t)}}}function dt(o){let e,t,r,a,n,l,k="approval.vote",c,p,L=o[0].info.jurisdictionName+"",P,B,R=o[0].info.officeName+"",W,H,E,M,h,v,T,O,J=qe(o[0].info.date)+"",re,me,oe,ae,Q,pe,he,ve,ge,V,be,X,Z=o[0].ballotCount.toLocaleString()+"",le,we,x,$e=o[2].toLocaleString()+"",ke,ye,ee,te=(o[2]/o[0].ballotCount).toFixed(1)+"",ie,Ne,Ee,z,U,q;function Ce(f,g){return f[0].info.website?ot:rt}let se=Ce(o),G=se(o),K=Ge(o[1](o[0].candidates)),$=[];for(let f=0;fp.winner===!0)}Ze("candidates",{getCandidate:a});const l=r.candidates.map(c=>c.votes).reduce((c,p)=>c+p),k=r.candidates.filter(c=>!c.writeIn).length;return o.$$set=c=>{"report"in c&&t(0,r=c.report)},[r,n,l,k]}class mt extends Pe{constructor(e){super(),Je(this,e,_t,dt,Fe,{report:0})}}function pt(o){let e,t,r,a,n,l,k,c,p,L,P,B,R,W=`

This report was generated by approval.vote + per ballot in this race.`),Y.forEach(s),de.forEach(s),Ee=D(ue),W=m(ue,"DIV",{class:!0});var Oe=y(W);ze(U.$$.fragment,Oe),Oe.forEach(s),ue.forEach(s),this.h()},h(){b(t,"class","description"),b(l,"href",_e+"/"),b(a,"class","electionHeader"),b(e,"class","row"),b(M,"class","leftCol"),b(W,"class","rightCol"),b(E,"class","row")},m(f,g){w(f,e,g),i(e,t),i(e,r),i(e,a),i(a,n),i(n,l),i(n,c),i(n,p),i(p,P),i(n,z),i(n,B),w(f,H,g),w(f,E,g),i(E,M),i(M,h),i(h,v),G.m(h,null),i(h,T),i(h,O),i(O,re),i(h,me);for(let I=0;I<$.length;I+=1)$[I]&&$[I].m(h,null);i(h,oe),F.m(h,null),i(h,ae),i(h,Q),i(Q,pe),i(h,he),ce.m(h,null),i(h,ve),C&&C.m(h,null),i(M,ge),i(M,V),i(V,be),i(V,X),i(X,le),i(V,we),i(V,x),i(x,ke),i(V,ye),i(V,ee),i(ee,ie),i(V,Ne),i(E,Ee),i(E,W),Be(U,W,null),q=!0},p(f,[g]){if((!q||g&1)&&L!==(L=f[0].info.jurisdictionName+"")&&A(P,L),(!q||g&1)&&R!==(R=f[0].info.officeName+"")&&A(B,R),se===(se=Ce(f))&&G?G.p(f,g):(G.d(1),G=se(f),G&&(G.c(),G.m(h,T))),(!q||g&1)&&J!==(J=qe(f[0].info.date)+"")&&A(re,J),g&3){K=Ge(f[1](f[0].candidates));let N;for(N=0;Np.winner===!0)}Ze("candidates",{getCandidate:a});const l=r.candidates.map(c=>c.votes).reduce((c,p)=>c+p),k=r.candidates.filter(c=>!c.writeIn).length;return o.$$set=c=>{"report"in c&&t(0,r=c.report)},[r,n,l,k]}class mt extends Pe{constructor(e){super(),Je(this,e,_t,dt,Fe,{report:0})}}function pt(o){let e,t,r,a,n,l,k,c,p,L,P,z,R,B=`

This report was generated by approval.vote and may be reproduced under CC-BY. Learn - more about approval.vote.

`,H,E,M,h;return document.title=e="approval.vote: "+o[0].info.jurisdictionName+" / "+o[0].info.name+" / "+o[0].info.date.slice(0,4),p=new mt({props:{report:o[0]}}),{c(){t=_("meta"),r=_("meta"),a=_("meta"),n=_("meta"),l=_("meta"),k=j(),c=_("div"),Ue(p.$$.fragment),L=j(),P=_("hr"),B=j(),R=_("div"),R.innerHTML=W,H=j(),E=_("a"),M=u("card"),this.h()},l(v){const T=et("svelte-1ce35gr",document.head);t=m(T,"META",{property:!0,content:!0}),r=m(T,"META",{property:!0,content:!0}),a=m(T,"META",{property:!0,content:!0}),n=m(T,"META",{property:!0,content:!0}),l=m(T,"META",{name:!0,content:!0}),T.forEach(s),k=D(v),c=m(v,"DIV",{class:!0});var O=y(c);Be(p.$$.fragment,O),L=D(O),P=m(O,"HR",{}),B=D(O),R=m(O,"DIV",{class:!0,"data-svelte-h":!0}),Ye(R)!=="svelte-12xp6gq"&&(R.innerHTML=W),O.forEach(s),H=D(v),E=m(v,"A",{style:!0,href:!0});var J=y(E);M=d(J,"card"),J.forEach(s),this.h()},h(){b(t,"property","og:title"),b(t,"content",o[0].info.jurisdictionName+" / "+o[0].info.name),b(r,"property","twitter:card"),b(r,"content","summary"),b(a,"property","twitter:creator"),b(a,"content","@fsargent"),b(n,"property","twitter:title"),b(n,"content",o[0].info.jurisdictionName+" / "+o[0].info.name),b(l,"name","twitter:description"),b(l,"content","approval.vote: "+o[0].info.jurisdictionName+" / "+o[0].info.name+" / "+o[0].info.date.slice(0,4)),b(R,"class","row"),b(c,"class","wide container"),tt(E,"display","none"),b(E,"href",_e+"/card/"+o[1])},m(v,T){i(document.head,t),i(document.head,r),i(document.head,a),i(document.head,n),i(document.head,l),w(v,k,T),w(v,c,T),We(p,c,null),i(c,L),i(c,P),i(c,B),i(c,R),w(v,H,T),w(v,E,T),i(E,M),h=!0},p(v,[T]){(!h||T&1)&&e!==(e="approval.vote: "+v[0].info.jurisdictionName+" / "+v[0].info.name+" / "+v[0].info.date.slice(0,4))&&(document.title=e)},i(v){h||(ze(p.$$.fragment,v),h=!0)},o(v){Ke(p.$$.fragment,v),h=!1},d(v){v&&(s(k),s(c),s(H),s(E)),s(t),s(r),s(a),s(n),s(l),Qe(p)}}}function ht(o,e,t){let{data:r}=e,a=r.report,n=r.path;return o.$$set=l=>{"data"in l&&t(2,r=l.data)},[a,n,r]}class Nt extends Pe{constructor(e){super(),Je(this,e,ht,pt,Fe,{data:2})}}export{Nt as component}; + more about approval.vote.

`,H,E,M,h;return document.title=e="approval.vote: "+o[0].info.jurisdictionName+" / "+o[0].info.name+" / "+o[0].info.date.slice(0,4),p=new mt({props:{report:o[0]}}),{c(){t=_("meta"),r=_("meta"),a=_("meta"),n=_("meta"),l=_("meta"),k=j(),c=_("div"),Ue(p.$$.fragment),L=j(),P=_("hr"),z=j(),R=_("div"),R.innerHTML=B,H=j(),E=_("a"),M=u("card"),this.h()},l(v){const T=et("svelte-19hisgz",document.head);t=m(T,"META",{property:!0,content:!0}),r=m(T,"META",{property:!0,content:!0}),a=m(T,"META",{property:!0,content:!0}),n=m(T,"META",{property:!0,content:!0}),l=m(T,"META",{name:!0,content:!0}),T.forEach(s),k=D(v),c=m(v,"DIV",{class:!0});var O=y(c);ze(p.$$.fragment,O),L=D(O),P=m(O,"HR",{}),z=D(O),R=m(O,"DIV",{class:!0,"data-svelte-h":!0}),Ye(R)!=="svelte-12xp6gq"&&(R.innerHTML=B),O.forEach(s),H=D(v),E=m(v,"A",{style:!0,href:!0});var J=y(E);M=d(J,"card"),J.forEach(s),this.h()},h(){b(t,"property","og:title"),b(t,"content",o[0].info.jurisdictionName+" / "+o[0].info.name),b(r,"property","twitter:card"),b(r,"content","summary"),b(a,"property","twitter:creator"),b(a,"content","@felixsargent"),b(n,"property","twitter:title"),b(n,"content",o[0].info.jurisdictionName+" / "+o[0].info.name),b(l,"name","twitter:description"),b(l,"content","approval.vote: "+o[0].info.jurisdictionName+" / "+o[0].info.name+" / "+o[0].info.date.slice(0,4)),b(R,"class","row"),b(c,"class","wide container"),tt(E,"display","none"),b(E,"href",_e+"/card/"+o[1])},m(v,T){i(document.head,t),i(document.head,r),i(document.head,a),i(document.head,n),i(document.head,l),w(v,k,T),w(v,c,T),Be(p,c,null),i(c,L),i(c,P),i(c,z),i(c,R),w(v,H,T),w(v,E,T),i(E,M),h=!0},p(v,[T]){(!h||T&1)&&e!==(e="approval.vote: "+v[0].info.jurisdictionName+" / "+v[0].info.name+" / "+v[0].info.date.slice(0,4))&&(document.title=e)},i(v){h||(We(p.$$.fragment,v),h=!0)},o(v){Ke(p.$$.fragment,v),h=!1},d(v){v&&(s(k),s(c),s(H),s(E)),s(t),s(r),s(a),s(n),s(l),Qe(p)}}}function ht(o,e,t){let{data:r}=e,a=r.report,n=r.path;return o.$$set=l=>{"data"in l&&t(2,r=l.data)},[a,n,r]}class Nt extends Pe{constructor(e){super(),Je(this,e,ht,pt,Fe,{data:2})}}export{Nt as component}; diff --git a/_app/version.json b/_app/version.json index 253d9fa..eb9adff 100644 --- a/_app/version.json +++ b/_app/version.json @@ -1 +1 @@ -{"version":"1718221837839"} \ No newline at end of file +{"version":"1718221861393"} \ No newline at end of file diff --git a/about.html b/about.html index 161597f..f880b98 100644 --- a/about.html +++ b/about.html @@ -16,14 +16,14 @@ - - + + - - + + - - + +
About approval.vote

Approval Voting elections produce a lot of data about voter preferences. Typically, this information is @@ -43,7 +43,7 @@