From 27aaf4563997349c6267d435b5ad256e59aa844a Mon Sep 17 00:00:00 2001 From: mhkeller Date: Wed, 6 Mar 2024 13:00:02 -0500 Subject: [PATCH] auto-deploy --- .../{entry.um-Vilx2.js => entry.Qp2A1TQf.js} | 2 +- ...{stores.oIE_5171.js => stores.WdWAdzn3.js} | 2 +- .../{app.CtA4rf38.js => app.b4q6reyI.js} | 4 ++-- docs/_app/immutable/entry/start.gFoMMKL-.js | 1 - docs/_app/immutable/entry/start.tKxK1BSP.js | 1 + .../nodes/{0.UfJU99ct.js => 0.bboizCHc.js} | 2 +- .../nodes/{1.q4VJREWz.js => 1.oClJOsws.js} | 2 +- docs/_app/version.json | 2 +- docs/components.html | 16 +++++++-------- docs/components/Annotations.html.svelte.html | 16 +++++++-------- .../AnnotationsData.html.svelte.html | 16 +++++++-------- docs/components/Area-D3.svelte.html | 16 +++++++-------- docs/components/Area.svelte.html | 16 +++++++-------- docs/components/AreaStacked.svelte.html | 16 +++++++-------- docs/components/Arrows.svelte.html | 16 +++++++-------- docs/components/AxisRadial.svelte.html | 16 +++++++-------- docs/components/AxisX.html.svelte.html | 16 +++++++-------- docs/components/AxisX.svelte.html | 16 +++++++-------- docs/components/AxisY.html.svelte.html | 16 +++++++-------- docs/components/AxisY.svelte.html | 16 +++++++-------- docs/components/Bar.svelte.html | 16 +++++++-------- docs/components/BarStacked.svelte.html | 16 +++++++-------- docs/components/Beeswarm.html.svelte.html | 16 +++++++-------- docs/components/Beeswarm.svelte.html | 16 +++++++-------- .../components/BeeswarmForce.html.svelte.html | 16 +++++++-------- docs/components/BeeswarmForce.svelte.html | 16 +++++++-------- docs/components/Brush.html.svelte.html | 16 +++++++-------- docs/components/CalendarMonth.svelte.html | 16 +++++++-------- docs/components/CirclePack.html.svelte.html | 16 +++++++-------- docs/components/CirclePackForce.svelte.html | 16 +++++++-------- ...landDotPlot.percent-range.html.svelte.html | 16 +++++++-------- docs/components/ClevelandDotPlot.svelte.html | 16 +++++++-------- docs/components/Column.svelte.html | 16 +++++++-------- docs/components/ColumnStacked.svelte.html | 16 +++++++-------- docs/components/GroupLabels.html.svelte.html | 16 +++++++-------- docs/components/Key.html.svelte.html | 16 +++++++-------- docs/components/Labels.html.svelte.html | 16 +++++++-------- docs/components/Line-D3.svelte.html | 16 +++++++-------- docs/components/Line.svelte.html | 16 +++++++-------- docs/components/Map.canvas.svelte.html | 16 +++++++-------- docs/components/Map.svg.svelte.html | 16 +++++++-------- docs/components/MapLabels.html.svelte.html | 16 +++++++-------- docs/components/MapLabels.svg.svelte.html | 16 +++++++-------- docs/components/MapPoints.canvas.svelte.html | 16 +++++++-------- docs/components/MapPoints.html.svelte.html | 16 +++++++-------- docs/components/MapPoints.svelte.html | 16 +++++++-------- docs/components/MultiLine.svelte.html | 16 +++++++-------- docs/components/QuadTree.html.svelte.html | 16 +++++++-------- .../QuadTree.percent-range.html.svelte.html | 16 +++++++-------- docs/components/Radar.svelte.html | 16 +++++++-------- docs/components/Sankey.svelte.html | 16 +++++++-------- docs/components/Scatter.canvas.svelte.html | 16 +++++++-------- docs/components/Scatter.html.svelte.html | 16 +++++++-------- docs/components/Scatter.svg.svelte.html | 16 +++++++-------- docs/components/Scatter.webgl.svelte.html | 16 +++++++-------- .../components/SharedTooltip.html.svelte.html | 16 +++++++-------- ...aredTooltip.percent-range.html.svelte.html | 16 +++++++-------- docs/components/Tooltip.html.svelte.html | 16 +++++++-------- docs/components/Voronoi.svelte.html | 16 +++++++-------- docs/example-ssr/AreaStacked.html | 16 +++++++-------- docs/example-ssr/Bar.html | 16 +++++++-------- docs/example-ssr/BarStacked.html | 16 +++++++-------- docs/example-ssr/Brush.html | 16 +++++++-------- docs/example-ssr/Calendar.html | 16 +++++++-------- docs/example-ssr/ClevelandDotPlot.html | 16 +++++++-------- docs/example-ssr/Column.html | 16 +++++++-------- docs/example-ssr/ColumnStacked.html | 16 +++++++-------- docs/example-ssr/Histogram.html | 16 +++++++-------- docs/example-ssr/Line.html | 16 +++++++-------- docs/example-ssr/MapLayered.html | 16 +++++++-------- docs/example-ssr/MapSvg.html | 16 +++++++-------- docs/example-ssr/MultiLine.html | 16 +++++++-------- docs/example-ssr/Scatter.html | 16 +++++++-------- docs/example-ssr/ScatterWebgl.html | 16 +++++++-------- docs/example-ssr/SmallMultiples.html | 16 +++++++-------- docs/example-ssr/SyncedBrush.html | 16 +++++++-------- docs/example-ssr/Timeplot.html | 16 +++++++-------- docs/example/AreaStacked.html | 16 +++++++-------- docs/example/Bar.html | 16 +++++++-------- docs/example/BarStacked.html | 16 +++++++-------- docs/example/Beeswarm.html | 16 +++++++-------- docs/example/BeeswarmForce.html | 16 +++++++-------- docs/example/Brush.html | 16 +++++++-------- docs/example/Calendar.html | 16 +++++++-------- docs/example/CirclePack.html | 16 +++++++-------- docs/example/CirclePackForce.html | 16 +++++++-------- docs/example/CirclePackNested.html | 16 +++++++-------- docs/example/ClevelandDotPlot.html | 16 +++++++-------- docs/example/Column.html | 16 +++++++-------- docs/example/ColumnStacked.html | 16 +++++++-------- docs/example/Histogram.html | 16 +++++++-------- docs/example/Line.html | 16 +++++++-------- docs/example/MapLayered.html | 16 +++++++-------- docs/example/MapSvg.html | 16 +++++++-------- docs/example/MultiLine.html | 16 +++++++-------- docs/example/Radar.html | 16 +++++++-------- docs/example/Sankey.html | 16 +++++++-------- docs/example/Scatter.html | 16 +++++++-------- docs/example/ScatterWebgl.html | 16 +++++++-------- docs/example/SmallMultiples.html | 16 +++++++-------- docs/example/SyncedBrush.html | 16 +++++++-------- docs/example/Timeplot.html | 16 +++++++-------- docs/guide.html | 20 +++++++++---------- docs/guide.json | 2 +- docs/index.html | 16 +++++++-------- 105 files changed, 779 insertions(+), 779 deletions(-) rename docs/_app/immutable/chunks/{entry.um-Vilx2.js => entry.Qp2A1TQf.js} (90%) rename docs/_app/immutable/chunks/{stores.oIE_5171.js => stores.WdWAdzn3.js} (72%) rename docs/_app/immutable/entry/{app.CtA4rf38.js => app.b4q6reyI.js} (95%) delete mode 100644 docs/_app/immutable/entry/start.gFoMMKL-.js create mode 100644 docs/_app/immutable/entry/start.tKxK1BSP.js rename docs/_app/immutable/nodes/{0.UfJU99ct.js => 0.bboizCHc.js} (98%) rename docs/_app/immutable/nodes/{1.q4VJREWz.js => 1.oClJOsws.js} (92%) diff --git a/docs/_app/immutable/chunks/entry.um-Vilx2.js b/docs/_app/immutable/chunks/entry.Qp2A1TQf.js similarity index 90% rename from docs/_app/immutable/chunks/entry.um-Vilx2.js rename to docs/_app/immutable/chunks/entry.Qp2A1TQf.js index ab11e9b6..b4ea0455 100644 --- a/docs/_app/immutable/chunks/entry.um-Vilx2.js +++ b/docs/_app/immutable/chunks/entry.Qp2A1TQf.js @@ -1,3 +1,3 @@ -import{G as rt}from"./scheduler.P37s_KnH.js";import{w as de}from"./index.Kwf8FJOX.js";import{H as ee,S as he,R as Oe}from"./control.pJ1mnnAb.js";new URL("sveltekit-internal://");function ot(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function it(e){return e.split("%25").map(decodeURI).join("%25")}function st(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ie({href:e}){return e.split("#")[0]}const ct=["href","pathname","search","toString","toJSON"];function lt(e,t,n){const r=new URL(e);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return i=>(n(i),a[o](i));t();const s=Reflect.get(a,o);return typeof s=="function"?s.bind(a):s}}),enumerable:!0,configurable:!0});for(const a of ct)Object.defineProperty(r,a,{get(){return t(),e[a]},enumerable:!0,configurable:!0});return r}const ft="/__data.json",ut=".html__data.json";function dt(e){return e.endsWith(".html")?e.replace(/\.html$/,ut):e.replace(/\/$/,"")+ft}function ht(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}function pt(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r((e instanceof Request?e.method:(t==null?void 0:t.method)||"GET")!=="GET"&&V.delete(pe(e)),je(e,t));const V=new Map;function gt(e,t){const n=pe(e,t),r=document.querySelector(n);if(r!=null&&r.textContent){let{body:a,...o}=JSON.parse(r.textContent);const s=r.getAttribute("data-ttl");return s&&V.set(n,{body:a,init:o,ttl:1e3*Number(s)}),r.getAttribute("data-b64")!==null&&(a=pt(a)),Promise.resolve(new Response(a,o))}return window.fetch(e,t)}function mt(e,t,n){if(V.size>0){const r=pe(e,n),a=V.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(o)return t.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const s=r.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return se(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return se(String.fromCharCode(...c.slice(2).split("-").map(l=>parseInt(l,16))));const u=_t.exec(c),[,h,g,d,m]=u;return t.push({name:d,matcher:m,optional:!!h,rest:!!g,chained:g?f===1&&s[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return se(c)}).join("")}).join("")}/?$`),params:t}}function wt(e){return!/^\([^)]+\)$/.test(e)}function vt(e){return e.slice(1).split("/").filter(wt)}function bt(e,t,n){const r={},a=e.slice(1),o=a.filter(i=>i!==void 0);let s=0;for(let i=0;iu).join("/"),s=0),f===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](f)){r[c.name]=f;const u=t[i+1],h=a[i+1];u&&!u.rest&&u.optional&&h&&c.chained&&(s=0),!u&&!h&&Object.keys(r).length===o.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return r}function se(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function kt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([i,[c,f,u]])=>{const{pattern:h,params:g}=yt(i),d={id:i,exec:m=>{const l=h.exec(m);if(l)return bt(l,g,r)},errors:[1,...u||[]].map(m=>e[m]),layouts:[0,...f||[]].map(s),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(i){const c=i<0;return c&&(i=~i),[c,e[i]]}function s(i){return i===void 0?i:[a.has(i),e[i]]}}function De(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Ae(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}var xe;const I=((xe=globalThis.__sveltekit_1y97kai)==null?void 0:xe.base)??"";var Ne;const Et=((Ne=globalThis.__sveltekit_1y97kai)==null?void 0:Ne.assets)??I,St="1707595043819",$e="sveltekit:snapshot",Ce="sveltekit:scroll",Ve="sveltekit:states",At="sveltekit:pageurl",j="sveltekit:history",F="sveltekit:navigation",K={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},q=location.origin;function Fe(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function ge(){return{x:pageXOffset,y:pageYOffset}}function N(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Re={...K,"":K.hover};function Ge(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function He(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ge(e)}}function le(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,a=!n||!!r||te(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(n==null?void 0:n.origin)===q&&e.hasAttribute("download");return{url:n,external:a,target:r,download:o}}function Y(e){let t=null,n=null,r=null,a=null,o=null,s=null,i=e;for(;i&&i!==document.documentElement;)r===null&&(r=N(i,"preload-code")),a===null&&(a=N(i,"preload-data")),t===null&&(t=N(i,"keepfocus")),n===null&&(n=N(i,"noscroll")),o===null&&(o=N(i,"reload")),s===null&&(s=N(i,"replacestate")),i=Ge(i);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Re[r??"off"],preload_data:Re[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(o),replace_state:c(s)}}function Ie(e){const t=de(e);let n=!0;function r(){n=!0,t.update(s=>s)}function a(s){n=!1,t.set(s)}function o(s){let i;return t.subscribe(c=>{(i===void 0||n&&c!==i)&&s(i=c)})}return{notify:r,set:a,subscribe:o}}function Rt(){const{set:e,subscribe:t}=de(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Et}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const s=(await a.json()).version!==St;return s&&(e(!0),clearTimeout(n)),s}catch{return!1}}return{subscribe:t,check:r}}function te(e,t){return e.origin!==q||!e.pathname.startsWith(t)}const It=-1,Lt=-2,Pt=-3,Tt=-4,Ut=-5,xt=-6;function Nt(e,t){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function a(o,s=!1){if(o===It)return;if(o===Pt)return NaN;if(o===Tt)return 1/0;if(o===Ut)return-1/0;if(o===xt)return-0;if(s)throw new Error("Invalid input");if(o in r)return r[o];const i=n[o];if(!i||typeof i!="object")r[o]=i;else if(Array.isArray(i))if(typeof i[0]=="string"){const c=i[0],f=t==null?void 0:t[c];if(f)return r[o]=f(a(i[1]));switch(c){case"Date":r[o]=new Date(i[1]);break;case"Set":const u=new Set;r[o]=u;for(let d=1;dt!=null)}const Dt="x-sveltekit-invalidated",$t="x-sveltekit-trailing-slash";function W(e){return e instanceof ee||e instanceof he?e.status:500}function Ct(e){return e instanceof he?e.text:"Internal Error"}const x=De(Ce)??{},G=De($e)??{},T={url:Ie({}),page:Ie({}),navigating:de(null),updated:Rt()};function me(e){x[e]=ge()}function Vt(e,t){let n=e+1;for(;x[n];)delete x[n],n+=1;for(n=t+1;G[n];)delete G[n],n+=1}function D(e){return location.href=e.href,new Promise(()=>{})}function Le(){}let ne,fe,z,L,ue,$;const qe=[],J=[];let P=null;const Be=[],Ft=[];let O=[],w={branch:[],error:null,url:null},_e=!1,X=!1,Pe=!0,H=!1,C=!1,Ke=!1,ye=!1,we,E,A,R,Z;async function Zt(e,t,n){var a,o;document.URL!==location.href&&(location.href=location.href),$=e,ne=kt(e),L=document.documentElement,ue=t,fe=e.nodes[0],z=e.nodes[1],fe(),z(),E=(a=history.state)==null?void 0:a[j],A=(o=history.state)==null?void 0:o[F],E||(E=A=Date.now(),history.replaceState({...history.state,[j]:E,[F]:A},""));const r=x[E];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),n?await Yt(ue,n):Bt(location.href,{replaceState:!0}),Kt()}function Ye(e){J.some(t=>t==null?void 0:t.snapshot)&&(G[e]=J.map(t=>{var n;return(n=t==null?void 0:t.snapshot)==null?void 0:n.capture()}))}function We(e){var t;(t=G[e])==null||t.forEach((n,r)=>{var a,o;(o=(a=J[r])==null?void 0:a.snapshot)==null||o.restore(n)})}function Te(){me(E),Ae(Ce,x),Ye(A),Ae($e,G)}async function ze(e,t,n,r){return B({type:"goto",url:Fe(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(ye=!0)}})}async function Gt(e){return P={id:e.id,promise:Xe(e).then(t=>(t.type==="loaded"&&t.state.error&&(P=null),t))},P.promise}async function ce(e){const t=ne.find(n=>n.exec(Ze(e)));t&&await Promise.all([...t.layouts,t.leaf].map(n=>n==null?void 0:n[1]()))}function Je(e,t){var a;w=e.state;const n=document.querySelector("style[data-sveltekit]");n&&n.remove(),R=e.props.page,we=new $.root({target:t,props:{...e.props,stores:T,components:J},hydrate:!0}),We(A);const r={from:null,to:{params:w.params,route:{id:((a=w.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};O.forEach(o=>o(r)),X=!0}async function Q({url:e,params:t,branch:n,status:r,error:a,route:o,form:s}){let i="never";if(I&&(e.pathname===I||e.pathname===I+"/"))i="always";else for(const d of n)(d==null?void 0:d.slash)!==void 0&&(i=d.slash);e.pathname=ot(e.pathname,i),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:o},props:{constructors:jt(n).map(d=>d.node.component),page:R}};s!==void 0&&(c.props.form=s);let f={},u=!R,h=0;for(let d=0;d(i&&(c.route=!0),l[_])}),params:new Proxy(r,{get:(l,_)=>(i&&c.params.add(_),l[_])}),data:(o==null?void 0:o.data)??null,url:lt(n,()=>{i&&(c.url=!0)},l=>{i&&c.search_params.add(l)}),async fetch(l,_){let v;l instanceof Request?(v=l.url,_={body:l.method==="GET"||l.method==="HEAD"?void 0:await l.blob(),cache:l.cache,credentials:l.credentials,headers:l.headers,integrity:l.integrity,keepalive:l.keepalive,method:l.method,mode:l.mode,redirect:l.redirect,referrer:l.referrer,referrerPolicy:l.referrerPolicy,signal:l.signal,..._}):v=l;const S=new URL(v,n);return i&&d(S.href),S.origin===n.origin&&(v=S.href.slice(n.origin.length)),X?mt(v,S.href,_):gt(v,_)},setHeaders:()=>{},depends:d,parent(){return i&&(c.parent=!0),t()},untrack(l){i=!1;try{return l()}finally{i=!0}}};s=await f.universal.load.call(null,m)??null}return{node:f,loader:e,server:o,universal:(h=f.universal)!=null&&h.load?{type:"data",data:s,uses:c}:null,data:s??(o==null?void 0:o.data)??null,slash:((g=f.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function Ue(e,t,n,r,a,o){if(ye)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const s of a.search_params)if(r.has(s))return!0;for(const s of a.params)if(o[s]!==w.params[s])return!0;for(const s of a.dependencies)if(qe.some(i=>i(new URL(s))))return!0;return!1}function be(e,t){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?t??null:null}function Ht(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),o=t.searchParams.getAll(r);a.every(s=>o.includes(s))&&o.every(s=>a.includes(s))&&n.delete(r)}return n}async function Xe({id:e,invalidating:t,url:n,params:r,route:a}){if((P==null?void 0:P.id)===e)return P.promise;const{errors:o,layouts:s,leaf:i}=a,c=[...s,i];o.forEach(p=>p==null?void 0:p().catch(()=>{})),c.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let f=null;const u=w.url?e!==w.url.pathname+w.url.search:!1,h=w.route?a.id!==w.route.id:!1,g=Ht(w.url,n);let d=!1;const m=c.map((p,y)=>{var U;const b=w.branch[y],k=!!(p!=null&&p[0])&&((b==null?void 0:b.loader)!==p[1]||Ue(d,h,u,g,(U=b.server)==null?void 0:U.uses,r));return k&&(d=!0),k});if(m.some(Boolean)){try{f=await tt(n,m)}catch(p){return ae({status:W(p),error:await M(p,{url:n,params:r,route:{id:a.id}}),url:n,route:a})}if(f.type==="redirect")return f}const l=f==null?void 0:f.nodes;let _=!1;const v=c.map(async(p,y)=>{var re;if(!p)return;const b=w.branch[y],k=l==null?void 0:l[y];if((!k||k.type==="skip")&&p[1]===(b==null?void 0:b.loader)&&!Ue(_,h,u,g,(re=b.universal)==null?void 0:re.uses,r))return b;if(_=!0,(k==null?void 0:k.type)==="error")throw k;return ve({loader:p[1],url:n,params:r,route:a,parent:async()=>{var Se;const Ee={};for(let oe=0;oe{});const S=[];for(let p=0;pPromise.resolve({}),server_data_node:be(o)}),c={node:await z(),loader:z,universal:null,server:null,data:null};return await Q({url:n,params:a,branch:[i,c],status:e,error:t,route:null})}function ke(e,t){if(!e||te(e,I))return;let n;try{n=$.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const r=Ze(n);for(const a of ne){const o=a.exec(r);if(o)return{id:e.pathname+e.search,invalidating:t,route:a,params:st(o),url:e}}}function Ze(e){return it(e.slice(I.length)||"/")}function Qe({url:e,type:t,intent:n,delta:r}){let a=!1;const o=at(w,n,e,t);r!==void 0&&(o.navigation.delta=r);const s={...o.navigation,cancel:()=>{a=!0,o.reject(new Error("navigation cancelled"))}};return H||Be.forEach(i=>i(s)),a?null:o}async function B({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:o,state:s={},redirect_count:i=0,nav_token:c={},accept:f=Le,block:u=Le}){const h=ke(t,!1),g=Qe({url:t,type:e,delta:n==null?void 0:n.delta,intent:h});if(!g){u();return}const d=E,m=A;f(),H=!0,X&&T.navigating.set(g.navigation),Z=c;let l=h&&await Xe(h);if(!l){if(te(t,I))return await D(t);l=await et(t,{id:null},await M(new he(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404)}if(t=(h==null?void 0:h.url)||t,Z!==c)return g.reject(new Error("navigation aborted")),!1;if(l.type==="redirect")if(i>=20)l=await ae({status:500,error:await M(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}});else return ze(new URL(l.location,t).href,{},i+1,c),!1;else l.props.page.status>=400&&await T.updated.check()&&await D(t);if(qe.length=0,ye=!1,me(d),Ye(m),l.props.page.url.pathname!==t.pathname&&(t.pathname=l.props.page.url.pathname),s=n?n.state:s,!n){const p=o?0:1,y={[j]:E+=p,[F]:A+=p,[Ve]:s};(o?history.replaceState:history.pushState).call(history,y,"",t),o||Vt(E,A)}if(P=null,l.props.page.state=s,X){w=l.state,l.props.page&&(l.props.page.url=t);const p=(await Promise.all(Ft.map(y=>y(g.navigation)))).filter(y=>typeof y=="function");if(p.length>0){let y=function(){O=O.filter(b=>!p.includes(b))};p.push(y),O.push(...p)}we.$set(l.props),Ke=!0}else Je(l,ue);const{activeElement:_}=document;await rt();const v=n?n.scroll:a?ge():null;if(Pe){const p=t.hash&&document.getElementById(decodeURIComponent(t.hash.slice(1)));v?scrollTo(v.x,v.y):p?p.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==_&&document.activeElement!==document.body;!r&&!S&&Wt(),Pe=!0,l.props.page&&(R=l.props.page),H=!1,e==="popstate"&&We(A),g.fulfil(void 0),O.forEach(p=>p(g.navigation)),T.navigating.set(null)}async function et(e,t,n,r){return e.origin===q&&e.pathname===location.pathname&&!_e?await ae({status:r,error:n,url:e,route:t}):await D(e)}function qt(){let e;L.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{r(s,2)},20)});function t(o){r(o.composedPath()[0],1)}L.addEventListener("mousedown",t),L.addEventListener("touchstart",t,{passive:!0});const n=new IntersectionObserver(o=>{for(const s of o)s.isIntersecting&&(ce(s.target.href),n.unobserve(s.target))},{threshold:0});function r(o,s){const i=He(o,L);if(!i)return;const{url:c,external:f,download:u}=le(i,I);if(f||u)return;const h=Y(i);if(!h.reload)if(s<=h.preload_data){const g=ke(c,!1);g&&Gt(g)}else s<=h.preload_code&&ce(c.pathname)}function a(){n.disconnect();for(const o of L.querySelectorAll("a")){const{url:s,external:i,download:c}=le(o,I);if(i||c)continue;const f=Y(o);f.reload||(f.preload_code===K.viewport&&n.observe(o),f.preload_code===K.eager&&ce(s.pathname))}}O.push(a),a()}function M(e,t){if(e instanceof ee)return e.body;const n=W(e),r=Ct(e);return $.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function Bt(e,t={}){return e=Fe(e),e.origin!==q?Promise.reject(new Error("goto: invalid URL")):ze(e,t,0)}function Kt(){var t;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(Te(),!H){const a=at(w,void 0,null,"leave"),o={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Be.forEach(s=>s(o))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Te()}),(t=navigator.connection)!=null&&t.saveData||qt(),L.addEventListener("click",n=>{var g;if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=He(n.composedPath()[0],L);if(!r)return;const{url:a,external:o,target:s,download:i}=le(r,I);if(!a)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const c=Y(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;if(o||c.reload){Qe({url:a,type:"link"})?H=!0:n.preventDefault();return}const[u,h]=a.href.split("#");if(h!==void 0&&u===ie(location)){const[,d]=w.url.href.split("#");if(d===h){n.preventDefault(),h===""||h==="top"&&r.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=r.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(C=!0,me(E),e(a),!c.replace_state)return;C=!1}n.preventDefault(),B({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),L.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formMethod)||r.method)!=="get")return;const s=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(te(s,I))return;const i=n.target,c=Y(i);if(c.reload)return;n.preventDefault(),n.stopPropagation();const f=new FormData(i),u=a==null?void 0:a.getAttribute("name");u&&f.append(u,(a==null?void 0:a.getAttribute("value"))??""),s.search=new URLSearchParams(f).toString(),B({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href})}),addEventListener("popstate",async n=>{var r;if((r=n.state)!=null&&r[j]){const a=n.state[j];if(Z={},a===E)return;const o=x[a],s=n.state[Ve]??{},i=new URL(n.state[At]??location.href),c=n.state[F],f=ie(location)===ie(w.url);if(c===A&&(Ke||f)){e(i),x[E]=ge(),o&&scrollTo(o.x,o.y),s!==R.state&&(R={...R,state:s},we.$set({page:R})),E=a;return}const h=a-E;await B({type:"popstate",url:i,popped:{state:s,scroll:o,delta:h},accept:()=>{E=a,A=c},block:()=>{history.go(-h)},nav_token:Z})}else if(!C){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{C&&(C=!1,history.replaceState({...history.state,[j]:++E,[F]:A},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&T.navigating.set(null)});function e(n){w.url=n,T.page.set({...R,url:n}),T.page.notify()}}async function Yt(e,{status:t=200,error:n,node_ids:r,params:a,route:o,data:s,form:i}){_e=!0;const c=new URL(location.href);({params:a={},route:o={id:null}}=ke(c,!1)||{});let f;try{const u=r.map(async(d,m)=>{const l=s[m];return l!=null&&l.uses&&(l.uses=nt(l.uses)),ve({loader:$.nodes[d],url:c,params:a,route:o,parent:async()=>{const _={};for(let v=0;vd===o.id);if(g){const d=g.layouts;for(let m=0;mo?"1":"0").join(""));const r=await je(n.href);if(!r.ok){let o;throw(a=r.headers.get("content-type"))!=null&&a.includes("application/json")?o=await r.json():r.status===404?o="Not Found":r.status===500&&(o="Internal Error"),new ee(r.status,o)}return new Promise(async o=>{var h;const s=new Map,i=r.body.getReader(),c=new TextDecoder;function f(g){return Nt(g,{Promise:d=>new Promise((m,l)=>{s.set(d,{fulfil:m,reject:l})})})}let u="";for(;;){const{done:g,value:d}=await i.read();if(g&&!u)break;for(u+=!d&&u?` +import{G as rt}from"./scheduler.P37s_KnH.js";import{w as de}from"./index.Kwf8FJOX.js";import{H as ee,S as he,R as Oe}from"./control.pJ1mnnAb.js";new URL("sveltekit-internal://");function ot(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function it(e){return e.split("%25").map(decodeURI).join("%25")}function st(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ie({href:e}){return e.split("#")[0]}const ct=["href","pathname","search","toString","toJSON"];function lt(e,t,n){const r=new URL(e);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return i=>(n(i),a[o](i));t();const s=Reflect.get(a,o);return typeof s=="function"?s.bind(a):s}}),enumerable:!0,configurable:!0});for(const a of ct)Object.defineProperty(r,a,{get(){return t(),e[a]},enumerable:!0,configurable:!0});return r}const ft="/__data.json",ut=".html__data.json";function dt(e){return e.endsWith(".html")?e.replace(/\.html$/,ut):e.replace(/\/$/,"")+ft}function ht(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}function pt(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r((e instanceof Request?e.method:(t==null?void 0:t.method)||"GET")!=="GET"&&V.delete(pe(e)),je(e,t));const V=new Map;function gt(e,t){const n=pe(e,t),r=document.querySelector(n);if(r!=null&&r.textContent){let{body:a,...o}=JSON.parse(r.textContent);const s=r.getAttribute("data-ttl");return s&&V.set(n,{body:a,init:o,ttl:1e3*Number(s)}),r.getAttribute("data-b64")!==null&&(a=pt(a)),Promise.resolve(new Response(a,o))}return window.fetch(e,t)}function mt(e,t,n){if(V.size>0){const r=pe(e,n),a=V.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(o)return t.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const s=r.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return se(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return se(String.fromCharCode(...c.slice(2).split("-").map(l=>parseInt(l,16))));const u=_t.exec(c),[,h,g,d,m]=u;return t.push({name:d,matcher:m,optional:!!h,rest:!!g,chained:g?f===1&&s[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return se(c)}).join("")}).join("")}/?$`),params:t}}function wt(e){return!/^\([^)]+\)$/.test(e)}function vt(e){return e.slice(1).split("/").filter(wt)}function bt(e,t,n){const r={},a=e.slice(1),o=a.filter(i=>i!==void 0);let s=0;for(let i=0;iu).join("/"),s=0),f===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](f)){r[c.name]=f;const u=t[i+1],h=a[i+1];u&&!u.rest&&u.optional&&h&&c.chained&&(s=0),!u&&!h&&Object.keys(r).length===o.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return r}function se(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Et({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([i,[c,f,u]])=>{const{pattern:h,params:g}=yt(i),d={id:i,exec:m=>{const l=h.exec(m);if(l)return bt(l,g,r)},errors:[1,...u||[]].map(m=>e[m]),layouts:[0,...f||[]].map(s),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(i){const c=i<0;return c&&(i=~i),[c,e[i]]}function s(i){return i===void 0?i:[a.has(i),e[i]]}}function De(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Ae(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}var xe;const I=((xe=globalThis.__sveltekit_16nvfbv)==null?void 0:xe.base)??"";var Ne;const kt=((Ne=globalThis.__sveltekit_16nvfbv)==null?void 0:Ne.assets)??I,St="1709747994551",$e="sveltekit:snapshot",Ce="sveltekit:scroll",Ve="sveltekit:states",At="sveltekit:pageurl",j="sveltekit:history",F="sveltekit:navigation",K={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},q=location.origin;function Fe(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function ge(){return{x:pageXOffset,y:pageYOffset}}function N(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Re={...K,"":K.hover};function Ge(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function He(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ge(e)}}function le(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,a=!n||!!r||te(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(n==null?void 0:n.origin)===q&&e.hasAttribute("download");return{url:n,external:a,target:r,download:o}}function Y(e){let t=null,n=null,r=null,a=null,o=null,s=null,i=e;for(;i&&i!==document.documentElement;)r===null&&(r=N(i,"preload-code")),a===null&&(a=N(i,"preload-data")),t===null&&(t=N(i,"keepfocus")),n===null&&(n=N(i,"noscroll")),o===null&&(o=N(i,"reload")),s===null&&(s=N(i,"replacestate")),i=Ge(i);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Re[r??"off"],preload_data:Re[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(o),replace_state:c(s)}}function Ie(e){const t=de(e);let n=!0;function r(){n=!0,t.update(s=>s)}function a(s){n=!1,t.set(s)}function o(s){let i;return t.subscribe(c=>{(i===void 0||n&&c!==i)&&s(i=c)})}return{notify:r,set:a,subscribe:o}}function Rt(){const{set:e,subscribe:t}=de(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${kt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const s=(await a.json()).version!==St;return s&&(e(!0),clearTimeout(n)),s}catch{return!1}}return{subscribe:t,check:r}}function te(e,t){return e.origin!==q||!e.pathname.startsWith(t)}const It=-1,Lt=-2,Pt=-3,Tt=-4,Ut=-5,xt=-6;function Nt(e,t){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function a(o,s=!1){if(o===It)return;if(o===Pt)return NaN;if(o===Tt)return 1/0;if(o===Ut)return-1/0;if(o===xt)return-0;if(s)throw new Error("Invalid input");if(o in r)return r[o];const i=n[o];if(!i||typeof i!="object")r[o]=i;else if(Array.isArray(i))if(typeof i[0]=="string"){const c=i[0],f=t==null?void 0:t[c];if(f)return r[o]=f(a(i[1]));switch(c){case"Date":r[o]=new Date(i[1]);break;case"Set":const u=new Set;r[o]=u;for(let d=1;dt!=null)}const Dt="x-sveltekit-invalidated",$t="x-sveltekit-trailing-slash";function W(e){return e instanceof ee||e instanceof he?e.status:500}function Ct(e){return e instanceof he?e.text:"Internal Error"}const x=De(Ce)??{},G=De($e)??{},T={url:Ie({}),page:Ie({}),navigating:de(null),updated:Rt()};function me(e){x[e]=ge()}function Vt(e,t){let n=e+1;for(;x[n];)delete x[n],n+=1;for(n=t+1;G[n];)delete G[n],n+=1}function D(e){return location.href=e.href,new Promise(()=>{})}function Le(){}let ne,fe,z,L,ue,$;const qe=[],J=[];let P=null;const Be=[],Ft=[];let O=[],w={branch:[],error:null,url:null},_e=!1,X=!1,Pe=!0,H=!1,C=!1,Ke=!1,ye=!1,we,k,A,R,Z;async function Zt(e,t,n){var a,o;document.URL!==location.href&&(location.href=location.href),$=e,ne=Et(e),L=document.documentElement,ue=t,fe=e.nodes[0],z=e.nodes[1],fe(),z(),k=(a=history.state)==null?void 0:a[j],A=(o=history.state)==null?void 0:o[F],k||(k=A=Date.now(),history.replaceState({...history.state,[j]:k,[F]:A},""));const r=x[k];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),n?await Yt(ue,n):Bt(location.href,{replaceState:!0}),Kt()}function Ye(e){J.some(t=>t==null?void 0:t.snapshot)&&(G[e]=J.map(t=>{var n;return(n=t==null?void 0:t.snapshot)==null?void 0:n.capture()}))}function We(e){var t;(t=G[e])==null||t.forEach((n,r)=>{var a,o;(o=(a=J[r])==null?void 0:a.snapshot)==null||o.restore(n)})}function Te(){me(k),Ae(Ce,x),Ye(A),Ae($e,G)}async function ze(e,t,n,r){return B({type:"goto",url:Fe(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(ye=!0)}})}async function Gt(e){return P={id:e.id,promise:Xe(e).then(t=>(t.type==="loaded"&&t.state.error&&(P=null),t))},P.promise}async function ce(e){const t=ne.find(n=>n.exec(Ze(e)));t&&await Promise.all([...t.layouts,t.leaf].map(n=>n==null?void 0:n[1]()))}function Je(e,t){var a;w=e.state;const n=document.querySelector("style[data-sveltekit]");n&&n.remove(),R=e.props.page,we=new $.root({target:t,props:{...e.props,stores:T,components:J},hydrate:!0}),We(A);const r={from:null,to:{params:w.params,route:{id:((a=w.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};O.forEach(o=>o(r)),X=!0}async function Q({url:e,params:t,branch:n,status:r,error:a,route:o,form:s}){let i="never";if(I&&(e.pathname===I||e.pathname===I+"/"))i="always";else for(const d of n)(d==null?void 0:d.slash)!==void 0&&(i=d.slash);e.pathname=ot(e.pathname,i),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:o},props:{constructors:jt(n).map(d=>d.node.component),page:R}};s!==void 0&&(c.props.form=s);let f={},u=!R,h=0;for(let d=0;d(i&&(c.route=!0),l[_])}),params:new Proxy(r,{get:(l,_)=>(i&&c.params.add(_),l[_])}),data:(o==null?void 0:o.data)??null,url:lt(n,()=>{i&&(c.url=!0)},l=>{i&&c.search_params.add(l)}),async fetch(l,_){let v;l instanceof Request?(v=l.url,_={body:l.method==="GET"||l.method==="HEAD"?void 0:await l.blob(),cache:l.cache,credentials:l.credentials,headers:l.headers,integrity:l.integrity,keepalive:l.keepalive,method:l.method,mode:l.mode,redirect:l.redirect,referrer:l.referrer,referrerPolicy:l.referrerPolicy,signal:l.signal,..._}):v=l;const S=new URL(v,n);return i&&d(S.href),S.origin===n.origin&&(v=S.href.slice(n.origin.length)),X?mt(v,S.href,_):gt(v,_)},setHeaders:()=>{},depends:d,parent(){return i&&(c.parent=!0),t()},untrack(l){i=!1;try{return l()}finally{i=!0}}};s=await f.universal.load.call(null,m)??null}return{node:f,loader:e,server:o,universal:(h=f.universal)!=null&&h.load?{type:"data",data:s,uses:c}:null,data:s??(o==null?void 0:o.data)??null,slash:((g=f.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function Ue(e,t,n,r,a,o){if(ye)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const s of a.search_params)if(r.has(s))return!0;for(const s of a.params)if(o[s]!==w.params[s])return!0;for(const s of a.dependencies)if(qe.some(i=>i(new URL(s))))return!0;return!1}function be(e,t){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?t??null:null}function Ht(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),o=t.searchParams.getAll(r);a.every(s=>o.includes(s))&&o.every(s=>a.includes(s))&&n.delete(r)}return n}async function Xe({id:e,invalidating:t,url:n,params:r,route:a}){if((P==null?void 0:P.id)===e)return P.promise;const{errors:o,layouts:s,leaf:i}=a,c=[...s,i];o.forEach(p=>p==null?void 0:p().catch(()=>{})),c.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let f=null;const u=w.url?e!==w.url.pathname+w.url.search:!1,h=w.route?a.id!==w.route.id:!1,g=Ht(w.url,n);let d=!1;const m=c.map((p,y)=>{var U;const b=w.branch[y],E=!!(p!=null&&p[0])&&((b==null?void 0:b.loader)!==p[1]||Ue(d,h,u,g,(U=b.server)==null?void 0:U.uses,r));return E&&(d=!0),E});if(m.some(Boolean)){try{f=await tt(n,m)}catch(p){return ae({status:W(p),error:await M(p,{url:n,params:r,route:{id:a.id}}),url:n,route:a})}if(f.type==="redirect")return f}const l=f==null?void 0:f.nodes;let _=!1;const v=c.map(async(p,y)=>{var re;if(!p)return;const b=w.branch[y],E=l==null?void 0:l[y];if((!E||E.type==="skip")&&p[1]===(b==null?void 0:b.loader)&&!Ue(_,h,u,g,(re=b.universal)==null?void 0:re.uses,r))return b;if(_=!0,(E==null?void 0:E.type)==="error")throw E;return ve({loader:p[1],url:n,params:r,route:a,parent:async()=>{var Se;const ke={};for(let oe=0;oe{});const S=[];for(let p=0;pPromise.resolve({}),server_data_node:be(o)}),c={node:await z(),loader:z,universal:null,server:null,data:null};return await Q({url:n,params:a,branch:[i,c],status:e,error:t,route:null})}function Ee(e,t){if(!e||te(e,I))return;let n;try{n=$.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const r=Ze(n);for(const a of ne){const o=a.exec(r);if(o)return{id:e.pathname+e.search,invalidating:t,route:a,params:st(o),url:e}}}function Ze(e){return it(e.slice(I.length)||"/")}function Qe({url:e,type:t,intent:n,delta:r}){let a=!1;const o=at(w,n,e,t);r!==void 0&&(o.navigation.delta=r);const s={...o.navigation,cancel:()=>{a=!0,o.reject(new Error("navigation cancelled"))}};return H||Be.forEach(i=>i(s)),a?null:o}async function B({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:o,state:s={},redirect_count:i=0,nav_token:c={},accept:f=Le,block:u=Le}){const h=Ee(t,!1),g=Qe({url:t,type:e,delta:n==null?void 0:n.delta,intent:h});if(!g){u();return}const d=k,m=A;f(),H=!0,X&&T.navigating.set(g.navigation),Z=c;let l=h&&await Xe(h);if(!l){if(te(t,I))return await D(t);l=await et(t,{id:null},await M(new he(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404)}if(t=(h==null?void 0:h.url)||t,Z!==c)return g.reject(new Error("navigation aborted")),!1;if(l.type==="redirect")if(i>=20)l=await ae({status:500,error:await M(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}});else return ze(new URL(l.location,t).href,{},i+1,c),!1;else l.props.page.status>=400&&await T.updated.check()&&await D(t);if(qe.length=0,ye=!1,me(d),Ye(m),l.props.page.url.pathname!==t.pathname&&(t.pathname=l.props.page.url.pathname),s=n?n.state:s,!n){const p=o?0:1,y={[j]:k+=p,[F]:A+=p,[Ve]:s};(o?history.replaceState:history.pushState).call(history,y,"",t),o||Vt(k,A)}if(P=null,l.props.page.state=s,X){w=l.state,l.props.page&&(l.props.page.url=t);const p=(await Promise.all(Ft.map(y=>y(g.navigation)))).filter(y=>typeof y=="function");if(p.length>0){let y=function(){O=O.filter(b=>!p.includes(b))};p.push(y),O.push(...p)}we.$set(l.props),Ke=!0}else Je(l,ue);const{activeElement:_}=document;await rt();const v=n?n.scroll:a?ge():null;if(Pe){const p=t.hash&&document.getElementById(decodeURIComponent(t.hash.slice(1)));v?scrollTo(v.x,v.y):p?p.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==_&&document.activeElement!==document.body;!r&&!S&&Wt(),Pe=!0,l.props.page&&(R=l.props.page),H=!1,e==="popstate"&&We(A),g.fulfil(void 0),O.forEach(p=>p(g.navigation)),T.navigating.set(null)}async function et(e,t,n,r){return e.origin===q&&e.pathname===location.pathname&&!_e?await ae({status:r,error:n,url:e,route:t}):await D(e)}function qt(){let e;L.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{r(s,2)},20)});function t(o){r(o.composedPath()[0],1)}L.addEventListener("mousedown",t),L.addEventListener("touchstart",t,{passive:!0});const n=new IntersectionObserver(o=>{for(const s of o)s.isIntersecting&&(ce(s.target.href),n.unobserve(s.target))},{threshold:0});function r(o,s){const i=He(o,L);if(!i)return;const{url:c,external:f,download:u}=le(i,I);if(f||u)return;const h=Y(i);if(!h.reload)if(s<=h.preload_data){const g=Ee(c,!1);g&&Gt(g)}else s<=h.preload_code&&ce(c.pathname)}function a(){n.disconnect();for(const o of L.querySelectorAll("a")){const{url:s,external:i,download:c}=le(o,I);if(i||c)continue;const f=Y(o);f.reload||(f.preload_code===K.viewport&&n.observe(o),f.preload_code===K.eager&&ce(s.pathname))}}O.push(a),a()}function M(e,t){if(e instanceof ee)return e.body;const n=W(e),r=Ct(e);return $.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function Bt(e,t={}){return e=Fe(e),e.origin!==q?Promise.reject(new Error("goto: invalid URL")):ze(e,t,0)}function Kt(){var t;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(Te(),!H){const a=at(w,void 0,null,"leave"),o={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Be.forEach(s=>s(o))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Te()}),(t=navigator.connection)!=null&&t.saveData||qt(),L.addEventListener("click",n=>{var g;if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=He(n.composedPath()[0],L);if(!r)return;const{url:a,external:o,target:s,download:i}=le(r,I);if(!a)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const c=Y(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;if(o||c.reload){Qe({url:a,type:"link"})?H=!0:n.preventDefault();return}const[u,h]=a.href.split("#");if(h!==void 0&&u===ie(location)){const[,d]=w.url.href.split("#");if(d===h){n.preventDefault(),h===""||h==="top"&&r.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=r.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(C=!0,me(k),e(a),!c.replace_state)return;C=!1}n.preventDefault(),B({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),L.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formMethod)||r.method)!=="get")return;const s=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(te(s,I))return;const i=n.target,c=Y(i);if(c.reload)return;n.preventDefault(),n.stopPropagation();const f=new FormData(i),u=a==null?void 0:a.getAttribute("name");u&&f.append(u,(a==null?void 0:a.getAttribute("value"))??""),s.search=new URLSearchParams(f).toString(),B({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href})}),addEventListener("popstate",async n=>{var r;if((r=n.state)!=null&&r[j]){const a=n.state[j];if(Z={},a===k)return;const o=x[a],s=n.state[Ve]??{},i=new URL(n.state[At]??location.href),c=n.state[F],f=ie(location)===ie(w.url);if(c===A&&(Ke||f)){e(i),x[k]=ge(),o&&scrollTo(o.x,o.y),s!==R.state&&(R={...R,state:s},we.$set({page:R})),k=a;return}const h=a-k;await B({type:"popstate",url:i,popped:{state:s,scroll:o,delta:h},accept:()=>{k=a,A=c},block:()=>{history.go(-h)},nav_token:Z})}else if(!C){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{C&&(C=!1,history.replaceState({...history.state,[j]:++k,[F]:A},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&T.navigating.set(null)});function e(n){w.url=n,T.page.set({...R,url:n}),T.page.notify()}}async function Yt(e,{status:t=200,error:n,node_ids:r,params:a,route:o,data:s,form:i}){_e=!0;const c=new URL(location.href);({params:a={},route:o={id:null}}=Ee(c,!1)||{});let f;try{const u=r.map(async(d,m)=>{const l=s[m];return l!=null&&l.uses&&(l.uses=nt(l.uses)),ve({loader:$.nodes[d],url:c,params:a,route:o,parent:async()=>{const _={};for(let v=0;vd===o.id);if(g){const d=g.layouts;for(let m=0;mo?"1":"0").join(""));const r=await je(n.href);if(!r.ok){let o;throw(a=r.headers.get("content-type"))!=null&&a.includes("application/json")?o=await r.json():r.status===404?o="Not Found":r.status===500&&(o="Internal Error"),new ee(r.status,o)}return new Promise(async o=>{var h;const s=new Map,i=r.body.getReader(),c=new TextDecoder;function f(g){return Nt(g,{Promise:d=>new Promise((m,l)=>{s.set(d,{fulfil:m,reject:l})})})}let u="";for(;;){const{done:g,value:d}=await i.read();if(g&&!u)break;for(u+=!d&&u?` `:c.decode(d,{stream:!0});;){const m=u.indexOf(` `);if(m===-1)break;const l=JSON.parse(u.slice(0,m));if(u=u.slice(m+1),l.type==="redirect")return o(l);if(l.type==="data")(h=l.nodes)==null||h.forEach(_=>{(_==null?void 0:_.type)==="data"&&(_.uses=nt(_.uses),_.data=f(_.data))}),o(l);else if(l.type==="chunk"){const{id:_,data:v,error:S}=l,p=s.get(_);s.delete(_),S?p.reject(f(S)):p.fulfil(f(v))}}}})}function nt(e){return{dependencies:new Set((e==null?void 0:e.dependencies)??[]),params:new Set((e==null?void 0:e.params)??[]),parent:!!(e!=null&&e.parent),route:!!(e!=null&&e.route),url:!!(e!=null&&e.url),search_params:new Set((e==null?void 0:e.search_params)??[])}}function Wt(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const t=document.body,n=t.getAttribute("tabindex");t.tabIndex=-1,t.focus({preventScroll:!0,focusVisible:!1}),n!==null?t.setAttribute("tabindex",n):t.removeAttribute("tabindex");const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let o=0;o{if(r.rangeCount===a.length){for(let o=0;o{a=u,o=h});return s.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:((c=e.route)==null?void 0:c.id)??null},url:e.url},to:n&&{params:(t==null?void 0:t.params)??null,route:{id:((f=t==null?void 0:t.route)==null?void 0:f.id)??null},url:n},willUnload:!t,type:r,complete:s},fulfil:a,reject:o}}export{Zt as a,Bt as g,T as s}; diff --git a/docs/_app/immutable/chunks/stores.oIE_5171.js b/docs/_app/immutable/chunks/stores.WdWAdzn3.js similarity index 72% rename from docs/_app/immutable/chunks/stores.oIE_5171.js rename to docs/_app/immutable/chunks/stores.WdWAdzn3.js index 6eaef199..658ffc91 100644 --- a/docs/_app/immutable/chunks/stores.oIE_5171.js +++ b/docs/_app/immutable/chunks/stores.WdWAdzn3.js @@ -1 +1 @@ -import{s as e}from"./entry.um-Vilx2.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; +import{s as e}from"./entry.Qp2A1TQf.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; diff --git a/docs/_app/immutable/entry/app.CtA4rf38.js b/docs/_app/immutable/entry/app.b4q6reyI.js similarity index 95% rename from docs/_app/immutable/entry/app.CtA4rf38.js rename to docs/_app/immutable/entry/app.b4q6reyI.js index 75d1f035..76d1aae3 100644 --- a/docs/_app/immutable/entry/app.CtA4rf38.js +++ b/docs/_app/immutable/entry/app.b4q6reyI.js @@ -1,7 +1,7 @@ -import{s as C,a as U,E as h,g as q,i as E,f as g,D as j,F,e as G,c as M,b as W,u as D,A as p,t as z,d as H,j as J,B as A,w as k,G as K}from"../chunks/scheduler.P37s_KnH.js";import{S as Q,i as X,a as w,e as L,t as b,g as y,c as v,b as I,m as R,d as P}from"../chunks/index.GooPGtyi.js";const Y="modulepreload",Z=function(a,e){return new URL(a,e).href},O={},d=function(e,n,i){let s=Promise.resolve();if(n&&n.length>0){const c=document.getElementsByTagName("link");s=Promise.all(n.map(t=>{if(t=Z(t,i),t in O)return;O[t]=!0;const r=t.endsWith(".css"),l=r?'[rel="stylesheet"]':"";if(!!i)for(let u=c.length-1;u>=0;u--){const m=c[u];if(m.href===t&&(!r||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${t}"]${l}`))return;const o=document.createElement("link");if(o.rel=r?"stylesheet":Y,r||(o.as="script",o.crossOrigin=""),o.href=t,document.head.appendChild(o),r)return new Promise((u,m)=>{o.addEventListener("load",u),o.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${t}`)))})}))}return s.then(()=>e()).catch(c=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=c,window.dispatchEvent(t),!t.defaultPrevented)throw c})},re={};function $(a){let e,n,i;var s=a[1][0];function c(t,r){return{props:{data:t[3],form:t[2]}}}return s&&(e=k(s,c(a)),a[12](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&I(e.$$.fragment,t),n=h()},m(t,r){e&&R(e,t,r),E(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){y();const l=e;w(l.$$.fragment,1,0,()=>{P(l,1)}),L()}s?(e=k(s,c(t)),t[12](e),v(e.$$.fragment),b(e.$$.fragment,1),R(e,n.parentNode,n)):e=null}else if(s){const l={};r&8&&(l.data=t[3]),r&4&&(l.form=t[2]),e.$set(l)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[12](null),e&&P(e,t)}}}function x(a){let e,n,i;var s=a[1][0];function c(t,r){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return s&&(e=k(s,c(a)),a[11](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&I(e.$$.fragment,t),n=h()},m(t,r){e&&R(e,t,r),E(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){y();const l=e;w(l.$$.fragment,1,0,()=>{P(l,1)}),L()}s?(e=k(s,c(t)),t[11](e),v(e.$$.fragment),b(e.$$.fragment,1),R(e,n.parentNode,n)):e=null}else if(s){const l={};r&8&&(l.data=t[3]),r&8215&&(l.$$scope={dirty:r,ctx:t}),e.$set(l)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[11](null),e&&P(e,t)}}}function ee(a){let e,n,i;var s=a[1][1];function c(t,r){return{props:{data:t[4],form:t[2]}}}return s&&(e=k(s,c(a)),a[10](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&I(e.$$.fragment,t),n=h()},m(t,r){e&&R(e,t,r),E(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][1])){if(e){y();const l=e;w(l.$$.fragment,1,0,()=>{P(l,1)}),L()}s?(e=k(s,c(t)),t[10](e),v(e.$$.fragment),b(e.$$.fragment,1),R(e,n.parentNode,n)):e=null}else if(s){const l={};r&16&&(l.data=t[4]),r&4&&(l.form=t[2]),e.$set(l)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[10](null),e&&P(e,t)}}}function T(a){let e,n=a[6]&&V(a);return{c(){e=G("div"),n&&n.c(),this.h()},l(i){e=M(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=W(e);n&&n.l(s),s.forEach(g),this.h()},h(){D(e,"id","svelte-announcer"),D(e,"aria-live","assertive"),D(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){E(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=V(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&g(e),n&&n.d()}}}function V(a){let e;return{c(){e=z(a[7])},l(n){e=H(n,a[7])},m(n,i){E(n,e,i)},p(n,i){i&128&&J(e,n[7])},d(n){n&&g(e)}}}function te(a){let e,n,i,s,c;const t=[x,$],r=[];function l(o,u){return o[1][1]?0:1}e=l(a),n=r[e]=t[e](a);let _=a[5]&&T(a);return{c(){n.c(),i=U(),_&&_.c(),s=h()},l(o){n.l(o),i=q(o),_&&_.l(o),s=h()},m(o,u){r[e].m(o,u),E(o,i,u),_&&_.m(o,u),E(o,s,u),c=!0},p(o,[u]){let m=e;e=l(o),e===m?r[e].p(o,u):(y(),w(r[m],1,1,()=>{r[m]=null}),L(),n=r[e],n?n.p(o,u):(n=r[e]=t[e](o),n.c()),b(n,1),n.m(i.parentNode,i)),o[5]?_?_.p(o,u):(_=T(o),_.c(),_.m(s.parentNode,s)):_&&(_.d(1),_=null)},i(o){c||(b(n),c=!0)},o(o){w(n),c=!1},d(o){o&&(g(i),g(s)),r[e].d(o),_&&_.d(o)}}}function ne(a,e,n){let{stores:i}=e,{page:s}=e,{constructors:c}=e,{components:t=[]}=e,{form:r}=e,{data_0:l=null}=e,{data_1:_=null}=e;j(i.page.notify);let o=!1,u=!1,m=null;F(()=>{const f=i.page.subscribe(()=>{o&&(n(6,u=!0),K().then(()=>{n(7,m=document.title||"untitled page")}))});return n(5,o=!0),f});function N(f){A[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function S(f){A[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function B(f){A[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return a.$$set=f=>{"stores"in f&&n(8,i=f.stores),"page"in f&&n(9,s=f.page),"constructors"in f&&n(1,c=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(2,r=f.form),"data_0"in f&&n(3,l=f.data_0),"data_1"in f&&n(4,_=f.data_1)},a.$$.update=()=>{a.$$.dirty&768&&i.page.set(s)},[t,c,r,l,_,o,u,m,i,s,N,S,B]}class oe extends Q{constructor(e){super(),X(this,e,ne,te,C,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>d(()=>import("../nodes/0.UfJU99ct.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url),()=>d(()=>import("../nodes/1.q4VJREWz.js"),__vite__mapDeps([23,3,4,8,6,7,2]),import.meta.url),()=>d(()=>import("../nodes/2.HjCng5yB.js"),__vite__mapDeps([24,3,4,5,25,12,7,13,11,14,15,16,17,18,19,20,21,26]),import.meta.url),()=>d(()=>import("../nodes/3.OrBIEJbB.js"),__vite__mapDeps([27,3,4,5,28,12,7,13,14,15,19,20,29,30]),import.meta.url),()=>d(()=>import("../nodes/4.YMYfSkUl.js"),__vite__mapDeps([31,1,2,3,4,32,12,7,5,13,25,28,14,15,19,20,29,33]),import.meta.url),()=>d(()=>import("../nodes/5.q_8iwz2x.js"),__vite__mapDeps([34,1,2,3,4,32,12,7,5,13,25,35,36,11,14,15,16,17,37]),import.meta.url),()=>d(()=>import("../nodes/6.cqhTbLkA.js"),__vite__mapDeps([38,1,2,3,4,32,12,7,5,13,25,35,36,18,19,20,16,21,39]),import.meta.url),()=>d(()=>import("../nodes/7.aR520pKK.js"),__vite__mapDeps([40,1,2,3,4,5,9,10,41]),import.meta.url)],le=[],fe={"/":[2],"/components":[3],"/components/[slug]":[4],"/example-ssr/[slug]":[6],"/example/[slug]":[5],"/guide":[7]},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}; +import{s as C,a as U,E as h,g as q,i as E,f as g,D as j,F,e as G,c as M,b as W,u as D,A as p,t as z,d as H,j as J,B as A,w as k,G as K}from"../chunks/scheduler.P37s_KnH.js";import{S as Q,i as X,a as w,e as L,t as b,g as y,c as v,b as I,m as R,d as P}from"../chunks/index.GooPGtyi.js";const Y="modulepreload",Z=function(a,e){return new URL(a,e).href},O={},d=function(e,n,i){let s=Promise.resolve();if(n&&n.length>0){const c=document.getElementsByTagName("link");s=Promise.all(n.map(t=>{if(t=Z(t,i),t in O)return;O[t]=!0;const r=t.endsWith(".css"),l=r?'[rel="stylesheet"]':"";if(!!i)for(let u=c.length-1;u>=0;u--){const m=c[u];if(m.href===t&&(!r||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${t}"]${l}`))return;const o=document.createElement("link");if(o.rel=r?"stylesheet":Y,r||(o.as="script",o.crossOrigin=""),o.href=t,document.head.appendChild(o),r)return new Promise((u,m)=>{o.addEventListener("load",u),o.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${t}`)))})}))}return s.then(()=>e()).catch(c=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=c,window.dispatchEvent(t),!t.defaultPrevented)throw c})},re={};function $(a){let e,n,i;var s=a[1][0];function c(t,r){return{props:{data:t[3],form:t[2]}}}return s&&(e=k(s,c(a)),a[12](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&I(e.$$.fragment,t),n=h()},m(t,r){e&&R(e,t,r),E(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){y();const l=e;w(l.$$.fragment,1,0,()=>{P(l,1)}),L()}s?(e=k(s,c(t)),t[12](e),v(e.$$.fragment),b(e.$$.fragment,1),R(e,n.parentNode,n)):e=null}else if(s){const l={};r&8&&(l.data=t[3]),r&4&&(l.form=t[2]),e.$set(l)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[12](null),e&&P(e,t)}}}function x(a){let e,n,i;var s=a[1][0];function c(t,r){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return s&&(e=k(s,c(a)),a[11](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&I(e.$$.fragment,t),n=h()},m(t,r){e&&R(e,t,r),E(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){y();const l=e;w(l.$$.fragment,1,0,()=>{P(l,1)}),L()}s?(e=k(s,c(t)),t[11](e),v(e.$$.fragment),b(e.$$.fragment,1),R(e,n.parentNode,n)):e=null}else if(s){const l={};r&8&&(l.data=t[3]),r&8215&&(l.$$scope={dirty:r,ctx:t}),e.$set(l)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[11](null),e&&P(e,t)}}}function ee(a){let e,n,i;var s=a[1][1];function c(t,r){return{props:{data:t[4],form:t[2]}}}return s&&(e=k(s,c(a)),a[10](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&I(e.$$.fragment,t),n=h()},m(t,r){e&&R(e,t,r),E(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][1])){if(e){y();const l=e;w(l.$$.fragment,1,0,()=>{P(l,1)}),L()}s?(e=k(s,c(t)),t[10](e),v(e.$$.fragment),b(e.$$.fragment,1),R(e,n.parentNode,n)):e=null}else if(s){const l={};r&16&&(l.data=t[4]),r&4&&(l.form=t[2]),e.$set(l)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[10](null),e&&P(e,t)}}}function T(a){let e,n=a[6]&&V(a);return{c(){e=G("div"),n&&n.c(),this.h()},l(i){e=M(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=W(e);n&&n.l(s),s.forEach(g),this.h()},h(){D(e,"id","svelte-announcer"),D(e,"aria-live","assertive"),D(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){E(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=V(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&g(e),n&&n.d()}}}function V(a){let e;return{c(){e=z(a[7])},l(n){e=H(n,a[7])},m(n,i){E(n,e,i)},p(n,i){i&128&&J(e,n[7])},d(n){n&&g(e)}}}function te(a){let e,n,i,s,c;const t=[x,$],r=[];function l(o,u){return o[1][1]?0:1}e=l(a),n=r[e]=t[e](a);let _=a[5]&&T(a);return{c(){n.c(),i=U(),_&&_.c(),s=h()},l(o){n.l(o),i=q(o),_&&_.l(o),s=h()},m(o,u){r[e].m(o,u),E(o,i,u),_&&_.m(o,u),E(o,s,u),c=!0},p(o,[u]){let m=e;e=l(o),e===m?r[e].p(o,u):(y(),w(r[m],1,1,()=>{r[m]=null}),L(),n=r[e],n?n.p(o,u):(n=r[e]=t[e](o),n.c()),b(n,1),n.m(i.parentNode,i)),o[5]?_?_.p(o,u):(_=T(o),_.c(),_.m(s.parentNode,s)):_&&(_.d(1),_=null)},i(o){c||(b(n),c=!0)},o(o){w(n),c=!1},d(o){o&&(g(i),g(s)),r[e].d(o),_&&_.d(o)}}}function ne(a,e,n){let{stores:i}=e,{page:s}=e,{constructors:c}=e,{components:t=[]}=e,{form:r}=e,{data_0:l=null}=e,{data_1:_=null}=e;j(i.page.notify);let o=!1,u=!1,m=null;F(()=>{const f=i.page.subscribe(()=>{o&&(n(6,u=!0),K().then(()=>{n(7,m=document.title||"untitled page")}))});return n(5,o=!0),f});function N(f){A[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function S(f){A[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function B(f){A[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return a.$$set=f=>{"stores"in f&&n(8,i=f.stores),"page"in f&&n(9,s=f.page),"constructors"in f&&n(1,c=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(2,r=f.form),"data_0"in f&&n(3,l=f.data_0),"data_1"in f&&n(4,_=f.data_1)},a.$$.update=()=>{a.$$.dirty&768&&i.page.set(s)},[t,c,r,l,_,o,u,m,i,s,N,S,B]}class oe extends Q{constructor(e){super(),X(this,e,ne,te,C,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>d(()=>import("../nodes/0.bboizCHc.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url),()=>d(()=>import("../nodes/1.oClJOsws.js"),__vite__mapDeps([23,3,4,8,6,7,2]),import.meta.url),()=>d(()=>import("../nodes/2.HjCng5yB.js"),__vite__mapDeps([24,3,4,5,25,12,7,13,11,14,15,16,17,18,19,20,21,26]),import.meta.url),()=>d(()=>import("../nodes/3.OrBIEJbB.js"),__vite__mapDeps([27,3,4,5,28,12,7,13,14,15,19,20,29,30]),import.meta.url),()=>d(()=>import("../nodes/4.YMYfSkUl.js"),__vite__mapDeps([31,1,2,3,4,32,12,7,5,13,25,28,14,15,19,20,29,33]),import.meta.url),()=>d(()=>import("../nodes/5.q_8iwz2x.js"),__vite__mapDeps([34,1,2,3,4,32,12,7,5,13,25,35,36,11,14,15,16,17,37]),import.meta.url),()=>d(()=>import("../nodes/6.cqhTbLkA.js"),__vite__mapDeps([38,1,2,3,4,32,12,7,5,13,25,35,36,18,19,20,16,21,39]),import.meta.url),()=>d(()=>import("../nodes/7.aR520pKK.js"),__vite__mapDeps([40,1,2,3,4,5,9,10,41]),import.meta.url)],le=[],fe={"/":[2],"/components":[3],"/components/[slug]":[4],"/example-ssr/[slug]":[6],"/example/[slug]":[5],"/guide":[7]},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}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["../nodes/0.UfJU99ct.js","../chunks/index.oiCz_B55.js","../chunks/control.pJ1mnnAb.js","../chunks/scheduler.P37s_KnH.js","../chunks/index.GooPGtyi.js","../chunks/each.zMdpk9aP.js","../chunks/entry.um-Vilx2.js","../chunks/index.Kwf8FJOX.js","../chunks/stores.oIE_5171.js","../chunks/GuideContents.ryhBIpq-.js","../assets/GuideContents.eeIw4edl.css","../chunks/_examples.fA4sVCBz.js","../chunks/Brush.html.YHBGkGt5.js","../assets/Brush.WOb55UIa.css","../chunks/dots.0wOzoJ2Q.js","../assets/dots.RR9VrI9H.css","../chunks/pointsFour.6q1_wRAi.js","../assets/_examples.I60mRfSI.css","../chunks/_examples_ssr.--yLb8OQ.js","../chunks/ClevelandDotPlot.percent-range.html.gRpQl0aY.js","../assets/ClevelandDotPlot.percent-range.d4cTJbwW.css","../assets/_examples_ssr.__jtvDKf.css","../assets/0.BdUKNY1T.css","../nodes/1.q4VJREWz.js","../nodes/2.HjCng5yB.js","../chunks/hljsDefineSvelte.2k-0_hXR.js","../assets/2.cNkqmLdY.css","../nodes/3.OrBIEJbB.js","../chunks/_components.CXVnDM14.js","../assets/_components.nTtgBwcr.css","../assets/3.A_C7p0_A.css","../nodes/4.YMYfSkUl.js","../chunks/downloadBlob.D177aSsN.js","../assets/4.nfVJSDK7.css","../nodes/5.q_8iwz2x.js","../chunks/cleanTitle.fxKrcVU9.js","../assets/cleanTitle.g9qNC6PL.css","../assets/5.L1iD5KWO.css","../nodes/6.cqhTbLkA.js","../assets/6.tv_A3Rsk.css","../nodes/7.aR520pKK.js","../assets/7.EaB1AJU9.css"] + __vite__mapDeps.viteFileDeps = ["../nodes/0.bboizCHc.js","../chunks/index.oiCz_B55.js","../chunks/control.pJ1mnnAb.js","../chunks/scheduler.P37s_KnH.js","../chunks/index.GooPGtyi.js","../chunks/each.zMdpk9aP.js","../chunks/entry.Qp2A1TQf.js","../chunks/index.Kwf8FJOX.js","../chunks/stores.WdWAdzn3.js","../chunks/GuideContents.ryhBIpq-.js","../assets/GuideContents.eeIw4edl.css","../chunks/_examples.fA4sVCBz.js","../chunks/Brush.html.YHBGkGt5.js","../assets/Brush.WOb55UIa.css","../chunks/dots.0wOzoJ2Q.js","../assets/dots.RR9VrI9H.css","../chunks/pointsFour.6q1_wRAi.js","../assets/_examples.I60mRfSI.css","../chunks/_examples_ssr.--yLb8OQ.js","../chunks/ClevelandDotPlot.percent-range.html.gRpQl0aY.js","../assets/ClevelandDotPlot.percent-range.d4cTJbwW.css","../assets/_examples_ssr.__jtvDKf.css","../assets/0.BdUKNY1T.css","../nodes/1.oClJOsws.js","../nodes/2.HjCng5yB.js","../chunks/hljsDefineSvelte.2k-0_hXR.js","../assets/2.cNkqmLdY.css","../nodes/3.OrBIEJbB.js","../chunks/_components.CXVnDM14.js","../assets/_components.nTtgBwcr.css","../assets/3.A_C7p0_A.css","../nodes/4.YMYfSkUl.js","../chunks/downloadBlob.D177aSsN.js","../assets/4.nfVJSDK7.css","../nodes/5.q_8iwz2x.js","../chunks/cleanTitle.fxKrcVU9.js","../assets/cleanTitle.g9qNC6PL.css","../assets/5.L1iD5KWO.css","../nodes/6.cqhTbLkA.js","../assets/6.tv_A3Rsk.css","../nodes/7.aR520pKK.js","../assets/7.EaB1AJU9.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/docs/_app/immutable/entry/start.gFoMMKL-.js b/docs/_app/immutable/entry/start.gFoMMKL-.js deleted file mode 100644 index 4fd29bdd..00000000 --- a/docs/_app/immutable/entry/start.gFoMMKL-.js +++ /dev/null @@ -1 +0,0 @@ -import{a as t}from"../chunks/entry.um-Vilx2.js";export{t as start}; diff --git a/docs/_app/immutable/entry/start.tKxK1BSP.js b/docs/_app/immutable/entry/start.tKxK1BSP.js new file mode 100644 index 00000000..a823e5f7 --- /dev/null +++ b/docs/_app/immutable/entry/start.tKxK1BSP.js @@ -0,0 +1 @@ +import{a as t}from"../chunks/entry.Qp2A1TQf.js";export{t as start}; diff --git a/docs/_app/immutable/nodes/0.UfJU99ct.js b/docs/_app/immutable/nodes/0.bboizCHc.js similarity index 98% rename from docs/_app/immutable/nodes/0.UfJU99ct.js rename to docs/_app/immutable/nodes/0.bboizCHc.js index 36b5bbf3..440d6a48 100644 --- a/docs/_app/immutable/nodes/0.UfJU99ct.js +++ b/docs/_app/immutable/nodes/0.bboizCHc.js @@ -1 +1 @@ -import{e as it}from"../chunks/index.oiCz_B55.js";import{s as Re,B as $e,e as v,a as Y,t as ie,E as De,c as d,b as g,f as i,g as Z,d as re,p as R,u as _,U as w,L as rt,z as oe,i as N,h as f,V as Ue,y as X,j as ct,C as ut,v as qe,r as _t,k as ft,n as xe,W as pt,X as ht,Y as vt,Z as dt,_ as mt}from"../chunks/scheduler.P37s_KnH.js";import{S as et,i as tt,f as gt,c as st,b as lt,m as nt,t as Ie,a as Ne,d as at}from"../chunks/index.GooPGtyi.js";import{e as me}from"../chunks/each.zMdpk9aP.js";import{g as bt}from"../chunks/entry.um-Vilx2.js";import{p as yt}from"../chunks/stores.oIE_5171.js";import{G as kt}from"../chunks/GuideContents.ryhBIpq-.js";import{e as ze}from"../chunks/_examples.fA4sVCBz.js";import{e as He}from"../chunks/_examples_ssr.--yLb8OQ.js";const Ct=!0,Et="never";async function Ot({fetch:t}){const e=await t("/api/guide-sections.json"),l=await e.json();if(e.status===200)return{sections:l};it(500,`Could not load guide sections: ${l.message}`)}const Ut=Object.freeze(Object.defineProperty({__proto__:null,load:Ot,prerender:Ct,trailingSlash:Et},Symbol.toStringTag,{value:"Module"}));function Be(t,e,l){const a=t.slice();return a[19]=e[l],a}function Xe(t,e,l){const a=t.slice();return a[19]=e[l],a}function Ye(t){let e,l;return{c(){e=v("option"),l=ie("Select..."),this.h()},l(a){e=d(a,"OPTION",{});var n=g(e);l=re(n,"Select..."),n.forEach(i),this.h()},h(){e.__value=t[1],w(e,e.__value),e.disabled=!0},m(a,n){N(a,e,n),f(e,l)},p(a,n){n&2&&(e.__value=a[1],w(e,e.__value))},d(a){a&&i(e)}}}function Ze(t){let e,l;return{c(){e=v("option"),l=ie("Select..."),this.h()},l(a){e=d(a,"OPTION",{});var n=g(e);l=re(n,"Select..."),n.forEach(i),this.h()},h(){e.__value=t[1],w(e,e.__value),e.disabled=!0},m(a,n){N(a,e,n),f(e,l)},p(a,n){n&2&&(e.__value=a[1],w(e,e.__value))},d(a){a&&i(e)}}}function Fe(t){let e,l=t[4](t[19].title)+"",a;return{c(){e=v("option"),a=ie(l),this.h()},l(n){e=d(n,"OPTION",{});var u=g(e);a=re(u,l),u.forEach(i),this.h()},h(){e.__value="/example/"+t[19].slug,w(e,e.__value)},m(n,u){N(n,e,u),f(e,a)},p:xe,d(n){n&&i(e)}}}function Je(t){let e,l=t[4](t[19].title)+"",a;return{c(){e=v("option"),a=ie(l),this.h()},l(n){e=d(n,"OPTION",{});var u=g(e);a=re(u,l),u.forEach(i),this.h()},h(){e.__value="/example-ssr/"+t[19].slug,w(e,e.__value)},m(n,u){N(n,e,u),f(e,a)},p:xe,d(n){n&&i(e)}}}function It(t){let e,l,a,n,u,r=t[2]?"Close":"Menu",o,p,O,A,_e="Layer Cake",$,D,H,m,ce=t[1].startsWith("/components"),x,ue=t[1].startsWith("/guide"),S,I="All",U,T,Se="Client-side",j,P,Te="Server-side",fe,L,M,ee,W,F,Pe="Component gallery",J,Le="Components",pe,ge,te,q,be,he,ye,K,we='',ke,se,z,Ce,ve,V,Ee,Ae,k=ce&&Ye(t),C=ue&&Ze(t),le=me(ze.slice().sort(Ke)),b=[];for(let s=0;sgt(z,"open",ot)),{c(){e=v("div"),a=Y(),n=v("div"),u=v("span"),o=ie(r),O=Y(),A=v("a"),A.textContent=_e,$=Y(),D=v("ul"),H=v("li"),m=v("select"),k&&k.c(),x=De(),C&&C.c(),S=v("option"),S.textContent=I,U=v("option"),T=v("option"),T.textContent=Se;for(let s=0;st[12].call(m)),_(H,"class","svelte-6iinyn"),_(D,"class","dropdown svelte-6iinyn"),_(F,"class","wide-name svelte-6iinyn"),_(J,"class","short-name svelte-6iinyn"),_(W,"class",pe=oe(t[1]==="/components"?"active":"")+" svelte-6iinyn"),_(W,"href","/components"),_(ee,"class","svelte-6iinyn"),_(q,"class",he=oe(t[1]==="/guide"?"active":"")+" svelte-6iinyn"),_(q,"href","/guide"),_(te,"class","svelte-6iinyn"),_(K,"class","svelte-6iinyn"),_(M,"class","primary svelte-6iinyn"),_(se,"class","secondary svelte-6iinyn"),_(L,"class",ve=oe(t[2]?"open":"closed")+" svelte-6iinyn")},m(s,c){N(s,e,c),N(s,a,c),N(s,n,c),f(n,u),f(u,o),f(n,O),f(n,A),N(s,$,c),N(s,D,c),f(D,H),f(H,m),k&&k.m(m,null),f(m,x),C&&C.m(m,null),f(m,S),f(m,U),f(m,T);for(let E=0;ECe=!1)),z.$set(E),(!V||c&4&&ve!==(ve=oe(s[2]?"open":"closed")+" svelte-6iinyn"))&&_(L,"class",ve)},i(s){V||(Ie(z.$$.fragment,s),V=!0)},o(s){Ne(z.$$.fragment,s),V=!1},d(s){s&&(i(e),i(a),i(n),i($),i(D),i(fe),i(L)),k&&k.d(),C&&C.d(),qe(b,s),qe(y,s),at(z),t[16](null),Ee=!1,_t(Ae)}}}const Ke=(t,e)=>t.titlet.titlel(9,n=I));let{sections:u}=e,r,o="",p=!1,O;const A=I=>I.split(" (")[0];function _e(){l(2,p=!1),bt(this.value||"/")}function $(){p?setTimeout(()=>{p||l(3,O.scrollTop=0,O)},350):l(3,O.scrollTop=0,O),l(2,p=!p)}const D=()=>l(2,p=!1),H=()=>l(2,p=!1);function m(){o=pt(this),l(1,o),l(8,a),l(9,n),l(7,r)}const ce=()=>l(2,p=!1),x=()=>l(2,p=!1);function ue(I){p=I,l(2,p)}function S(I){$e[I?"unshift":"push"](()=>{O=I,l(3,O)})}return t.$$set=I=>{"sections"in I&&l(0,u=I.sections)},t.$$.update=()=>{t.$$.dirty&512&&l(8,a=n.url.pathname==="/service-worker.js"),t.$$.dirty&896&&(a||(l(7,r=n.url.pathname),r.split("/")[1],l(1,o=`/${r.replace("/","")}`),r.replace(/\/$/,"").split("/").pop()))},[u,o,p,O,A,_e,$,r,a,n,D,H,m,ce,x,ue,S]}class St extends et{constructor(e){super(),tt(this,e,Nt,It,Re,{sections:0})}}function Tt(t){let e,l,a,n;e=new St({props:{sections:t[0].sections}});const u=t[2].default,r=ht(u,t,t[1],null);return{c(){st(e.$$.fragment),l=Y(),a=v("main"),r&&r.c()},l(o){lt(e.$$.fragment,o),l=Z(o),a=d(o,"MAIN",{});var p=g(a);r&&r.l(p),p.forEach(i)},m(o,p){nt(e,o,p),N(o,l,p),N(o,a,p),r&&r.m(a,null),n=!0},p(o,[p]){const O={};p&1&&(O.sections=o[0].sections),e.$set(O),r&&r.p&&(!n||p&2)&&vt(r,u,o,o[1],n?mt(u,o[1],p,null):dt(o[1]),null)},i(o){n||(Ie(e.$$.fragment,o),Ie(r,o),n=!0)},o(o){Ne(e.$$.fragment,o),Ne(r,o),n=!1},d(o){o&&(i(l),i(a)),at(e,o),r&&r.d(o)}}}function Pt(t,e,l){let{$$slots:a={},$$scope:n}=e,{data:u}=e;return t.$$set=r=>{"data"in r&&l(0,u=r.data),"$$scope"in r&&l(1,n=r.$$scope)},[u,n,a]}class qt extends et{constructor(e){super(),tt(this,e,Pt,Tt,Re,{data:0})}}export{qt as component,Ut as universal}; +import{e as it}from"../chunks/index.oiCz_B55.js";import{s as Re,B as $e,e as v,a as Y,t as ie,E as De,c as d,b as g,f as i,g as Z,d as re,p as R,u as _,U as w,L as rt,z as oe,i as N,h as f,V as Ue,y as X,j as ct,C as ut,v as qe,r as _t,k as ft,n as xe,W as pt,X as ht,Y as vt,Z as dt,_ as mt}from"../chunks/scheduler.P37s_KnH.js";import{S as et,i as tt,f as gt,c as st,b as lt,m as nt,t as Ie,a as Ne,d as at}from"../chunks/index.GooPGtyi.js";import{e as me}from"../chunks/each.zMdpk9aP.js";import{g as bt}from"../chunks/entry.Qp2A1TQf.js";import{p as yt}from"../chunks/stores.WdWAdzn3.js";import{G as kt}from"../chunks/GuideContents.ryhBIpq-.js";import{e as ze}from"../chunks/_examples.fA4sVCBz.js";import{e as He}from"../chunks/_examples_ssr.--yLb8OQ.js";const Ct=!0,Et="never";async function Ot({fetch:t}){const e=await t("/api/guide-sections.json"),l=await e.json();if(e.status===200)return{sections:l};it(500,`Could not load guide sections: ${l.message}`)}const Ut=Object.freeze(Object.defineProperty({__proto__:null,load:Ot,prerender:Ct,trailingSlash:Et},Symbol.toStringTag,{value:"Module"}));function Be(t,e,l){const a=t.slice();return a[19]=e[l],a}function Xe(t,e,l){const a=t.slice();return a[19]=e[l],a}function Ye(t){let e,l;return{c(){e=v("option"),l=ie("Select..."),this.h()},l(a){e=d(a,"OPTION",{});var n=g(e);l=re(n,"Select..."),n.forEach(i),this.h()},h(){e.__value=t[1],w(e,e.__value),e.disabled=!0},m(a,n){N(a,e,n),f(e,l)},p(a,n){n&2&&(e.__value=a[1],w(e,e.__value))},d(a){a&&i(e)}}}function Ze(t){let e,l;return{c(){e=v("option"),l=ie("Select..."),this.h()},l(a){e=d(a,"OPTION",{});var n=g(e);l=re(n,"Select..."),n.forEach(i),this.h()},h(){e.__value=t[1],w(e,e.__value),e.disabled=!0},m(a,n){N(a,e,n),f(e,l)},p(a,n){n&2&&(e.__value=a[1],w(e,e.__value))},d(a){a&&i(e)}}}function Fe(t){let e,l=t[4](t[19].title)+"",a;return{c(){e=v("option"),a=ie(l),this.h()},l(n){e=d(n,"OPTION",{});var u=g(e);a=re(u,l),u.forEach(i),this.h()},h(){e.__value="/example/"+t[19].slug,w(e,e.__value)},m(n,u){N(n,e,u),f(e,a)},p:xe,d(n){n&&i(e)}}}function Je(t){let e,l=t[4](t[19].title)+"",a;return{c(){e=v("option"),a=ie(l),this.h()},l(n){e=d(n,"OPTION",{});var u=g(e);a=re(u,l),u.forEach(i),this.h()},h(){e.__value="/example-ssr/"+t[19].slug,w(e,e.__value)},m(n,u){N(n,e,u),f(e,a)},p:xe,d(n){n&&i(e)}}}function It(t){let e,l,a,n,u,r=t[2]?"Close":"Menu",o,p,O,A,_e="Layer Cake",$,D,H,m,ce=t[1].startsWith("/components"),x,ue=t[1].startsWith("/guide"),S,I="All",U,T,Se="Client-side",j,P,Te="Server-side",fe,L,M,ee,W,F,Pe="Component gallery",J,Le="Components",pe,ge,te,q,be,he,ye,K,we='',ke,se,z,Ce,ve,V,Ee,Ae,k=ce&&Ye(t),C=ue&&Ze(t),le=me(ze.slice().sort(Ke)),b=[];for(let s=0;sgt(z,"open",ot)),{c(){e=v("div"),a=Y(),n=v("div"),u=v("span"),o=ie(r),O=Y(),A=v("a"),A.textContent=_e,$=Y(),D=v("ul"),H=v("li"),m=v("select"),k&&k.c(),x=De(),C&&C.c(),S=v("option"),S.textContent=I,U=v("option"),T=v("option"),T.textContent=Se;for(let s=0;st[12].call(m)),_(H,"class","svelte-6iinyn"),_(D,"class","dropdown svelte-6iinyn"),_(F,"class","wide-name svelte-6iinyn"),_(J,"class","short-name svelte-6iinyn"),_(W,"class",pe=oe(t[1]==="/components"?"active":"")+" svelte-6iinyn"),_(W,"href","/components"),_(ee,"class","svelte-6iinyn"),_(q,"class",he=oe(t[1]==="/guide"?"active":"")+" svelte-6iinyn"),_(q,"href","/guide"),_(te,"class","svelte-6iinyn"),_(K,"class","svelte-6iinyn"),_(M,"class","primary svelte-6iinyn"),_(se,"class","secondary svelte-6iinyn"),_(L,"class",ve=oe(t[2]?"open":"closed")+" svelte-6iinyn")},m(s,c){N(s,e,c),N(s,a,c),N(s,n,c),f(n,u),f(u,o),f(n,O),f(n,A),N(s,$,c),N(s,D,c),f(D,H),f(H,m),k&&k.m(m,null),f(m,x),C&&C.m(m,null),f(m,S),f(m,U),f(m,T);for(let E=0;ECe=!1)),z.$set(E),(!V||c&4&&ve!==(ve=oe(s[2]?"open":"closed")+" svelte-6iinyn"))&&_(L,"class",ve)},i(s){V||(Ie(z.$$.fragment,s),V=!0)},o(s){Ne(z.$$.fragment,s),V=!1},d(s){s&&(i(e),i(a),i(n),i($),i(D),i(fe),i(L)),k&&k.d(),C&&C.d(),qe(b,s),qe(y,s),at(z),t[16](null),Ee=!1,_t(Ae)}}}const Ke=(t,e)=>t.titlet.titlel(9,n=I));let{sections:u}=e,r,o="",p=!1,O;const A=I=>I.split(" (")[0];function _e(){l(2,p=!1),bt(this.value||"/")}function $(){p?setTimeout(()=>{p||l(3,O.scrollTop=0,O)},350):l(3,O.scrollTop=0,O),l(2,p=!p)}const D=()=>l(2,p=!1),H=()=>l(2,p=!1);function m(){o=pt(this),l(1,o),l(8,a),l(9,n),l(7,r)}const ce=()=>l(2,p=!1),x=()=>l(2,p=!1);function ue(I){p=I,l(2,p)}function S(I){$e[I?"unshift":"push"](()=>{O=I,l(3,O)})}return t.$$set=I=>{"sections"in I&&l(0,u=I.sections)},t.$$.update=()=>{t.$$.dirty&512&&l(8,a=n.url.pathname==="/service-worker.js"),t.$$.dirty&896&&(a||(l(7,r=n.url.pathname),r.split("/")[1],l(1,o=`/${r.replace("/","")}`),r.replace(/\/$/,"").split("/").pop()))},[u,o,p,O,A,_e,$,r,a,n,D,H,m,ce,x,ue,S]}class St extends et{constructor(e){super(),tt(this,e,Nt,It,Re,{sections:0})}}function Tt(t){let e,l,a,n;e=new St({props:{sections:t[0].sections}});const u=t[2].default,r=ht(u,t,t[1],null);return{c(){st(e.$$.fragment),l=Y(),a=v("main"),r&&r.c()},l(o){lt(e.$$.fragment,o),l=Z(o),a=d(o,"MAIN",{});var p=g(a);r&&r.l(p),p.forEach(i)},m(o,p){nt(e,o,p),N(o,l,p),N(o,a,p),r&&r.m(a,null),n=!0},p(o,[p]){const O={};p&1&&(O.sections=o[0].sections),e.$set(O),r&&r.p&&(!n||p&2)&&vt(r,u,o,o[1],n?mt(u,o[1],p,null):dt(o[1]),null)},i(o){n||(Ie(e.$$.fragment,o),Ie(r,o),n=!0)},o(o){Ne(e.$$.fragment,o),Ne(r,o),n=!1},d(o){o&&(i(l),i(a)),at(e,o),r&&r.d(o)}}}function Pt(t,e,l){let{$$slots:a={},$$scope:n}=e,{data:u}=e;return t.$$set=r=>{"data"in r&&l(0,u=r.data),"$$scope"in r&&l(1,n=r.$$scope)},[u,n,a]}class qt extends et{constructor(e){super(),tt(this,e,Pt,Tt,Re,{data:0})}}export{qt as component,Ut as universal}; diff --git a/docs/_app/immutable/nodes/1.q4VJREWz.js b/docs/_app/immutable/nodes/1.oClJOsws.js similarity index 92% rename from docs/_app/immutable/nodes/1.q4VJREWz.js rename to docs/_app/immutable/nodes/1.oClJOsws.js index 60781d3c..d1b36b36 100644 --- a/docs/_app/immutable/nodes/1.q4VJREWz.js +++ b/docs/_app/immutable/nodes/1.oClJOsws.js @@ -1 +1 @@ -import{s as x,e as u,t as h,a as S,c as d,b as v,d as g,f as m,g as j,i as _,h as b,j as E,n as $,k}from"../chunks/scheduler.P37s_KnH.js";import{S as q,i as y}from"../chunks/index.GooPGtyi.js";import{p as C}from"../chunks/stores.oIE_5171.js";function H(i){var f;let a,s=i[0].status+"",r,o,n,p=((f=i[0].error)==null?void 0:f.message)+"",c;return{c(){a=u("h1"),r=h(s),o=S(),n=u("p"),c=h(p)},l(e){a=d(e,"H1",{});var t=v(a);r=g(t,s),t.forEach(m),o=j(e),n=d(e,"P",{});var l=v(n);c=g(l,p),l.forEach(m)},m(e,t){_(e,a,t),b(a,r),_(e,o,t),_(e,n,t),b(n,c)},p(e,[t]){var l;t&1&&s!==(s=e[0].status+"")&&E(r,s),t&1&&p!==(p=((l=e[0].error)==null?void 0:l.message)+"")&&E(c,p)},i:$,o:$,d(e){e&&(m(a),m(o),m(n))}}}function P(i,a,s){let r;return k(i,C,o=>s(0,r=o)),[r]}class B extends q{constructor(a){super(),y(this,a,P,H,x,{})}}export{B as component}; +import{s as x,e as u,t as h,a as S,c as d,b as v,d as g,f as m,g as j,i as _,h as b,j as E,n as $,k}from"../chunks/scheduler.P37s_KnH.js";import{S as q,i as y}from"../chunks/index.GooPGtyi.js";import{p as C}from"../chunks/stores.WdWAdzn3.js";function H(i){var f;let a,s=i[0].status+"",r,o,n,p=((f=i[0].error)==null?void 0:f.message)+"",c;return{c(){a=u("h1"),r=h(s),o=S(),n=u("p"),c=h(p)},l(e){a=d(e,"H1",{});var t=v(a);r=g(t,s),t.forEach(m),o=j(e),n=d(e,"P",{});var l=v(n);c=g(l,p),l.forEach(m)},m(e,t){_(e,a,t),b(a,r),_(e,o,t),_(e,n,t),b(n,c)},p(e,[t]){var l;t&1&&s!==(s=e[0].status+"")&&E(r,s),t&1&&p!==(p=((l=e[0].error)==null?void 0:l.message)+"")&&E(c,p)},i:$,o:$,d(e){e&&(m(a),m(o),m(n))}}}function P(i,a,s){let r;return k(i,C,o=>s(0,r=o)),[r]}class B extends q{constructor(a){super(),y(this,a,P,H,x,{})}}export{B as component}; diff --git a/docs/_app/version.json b/docs/_app/version.json index 6de7f625..3c523996 100644 --- a/docs/_app/version.json +++ b/docs/_app/version.json @@ -1 +1 @@ -{"version":"1707595043819"} \ No newline at end of file +{"version":"1709747994551"} \ No newline at end of file diff --git a/docs/components.html b/docs/components.html index 3b44849d..1e6de108 100644 --- a/docs/components.html +++ b/docs/components.html @@ -32,17 +32,17 @@ - - + + - + - + - + @@ -58,7 +58,7 @@ - +