diff --git a/docs/_app/immutable/chunks/entry.C07_Srvu.js b/docs/_app/immutable/chunks/entry.C07_Srvu.js new file mode 100644 index 00000000..3cf1369d --- /dev/null +++ b/docs/_app/immutable/chunks/entry.C07_Srvu.js @@ -0,0 +1,3 @@ +import{aC as lt}from"./runtime.B3Do0ZXm.js";import{w as pe}from"./index.W79Utxw_.js";import{H as ne,S as ge,R as $e}from"./control.CYgJF_JY.js";new URL("sveltekit-internal://");function ft(e,n){return e==="/"||n==="ignore"?e:n==="never"?e.endsWith("/")?e.slice(0,-1):e:n==="always"&&!e.endsWith("/")?e+"/":e}function ut(e){return e.split("%25").map(decodeURI).join("%25")}function dt(e){for(const n in e)e[n]=decodeURIComponent(e[n]);return e}function ce({href:e}){return e.split("#")[0]}const ht=["href","pathname","search","toString","toJSON"];function pt(e,n,t){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(r,o){if(o==="get"||o==="getAll"||o==="has")return i=>(t(i),r[o](i));n();const s=Reflect.get(r,o);return typeof s=="function"?s.bind(r):s}}),enumerable:!0,configurable:!0});for(const r of ht)Object.defineProperty(a,r,{get(){return n(),e[r]},enumerable:!0,configurable:!0});return a}const gt="/__data.json",mt=".html__data.json";function yt(e){return e.endsWith(".html")?e.replace(/\.html$/,mt):e.replace(/\/$/,"")+gt}function _t(...e){let n=5381;for(const t of e)if(typeof t=="string"){let a=t.length;for(;a;)n=n*33^t.charCodeAt(--a)}else if(ArrayBuffer.isView(t)){const a=new Uint8Array(t.buffer,t.byteOffset,t.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 wt(e){const n=atob(e),t=new Uint8Array(n.length);for(let a=0;a((e instanceof Request?e.method:(n==null?void 0:n.method)||"GET")!=="GET"&&B.delete(me(e)),Fe(e,n));const B=new Map;function vt(e,n){const t=me(e,n),a=document.querySelector(t);if(a!=null&&a.textContent){let{body:r,...o}=JSON.parse(a.textContent);const s=a.getAttribute("data-ttl");return s&&B.set(t,{body:r,init:o,ttl:1e3*Number(s)}),a.getAttribute("data-b64")!==null&&(r=wt(r)),Promise.resolve(new Response(r,o))}return window.fetch(e,n)}function bt(e,n,t){if(B.size>0){const a=me(e,t),r=B.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 s=a.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return le(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return le(String.fromCharCode(...c.slice(2).split("-").map(l=>parseInt(l,16))));const d=At.exec(c),[,h,y,u,g]=d;return n.push({name:u,matcher:g,optional:!!h,rest:!!y,chained:y?f===1&&s[0]==="":!1}),y?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return le(c)}).join("")}).join("")}/?$`),params:n}}function Et(e){return!/^\([^)]+\)$/.test(e)}function St(e){return e.slice(1).split("/").filter(Et)}function Rt(e,n,t){const a={},r=e.slice(1),o=r.filter(i=>i!==void 0);let s=0;for(let i=0;id).join("/"),s=0),f===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||t[c.matcher](f)){a[c.name]=f;const d=n[i+1],h=r[i+1];d&&!d.rest&&d.optional&&h&&c.chained&&(s=0),!d&&!h&&Object.keys(a).length===o.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return a}function le(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function It({nodes:e,server_loads:n,dictionary:t,matchers:a}){const r=new Set(n);return Object.entries(t).map(([i,[c,f,d]])=>{const{pattern:h,params:y}=kt(i),u={id:i,exec:g=>{const l=h.exec(g);if(l)return Rt(l,y,a)},errors:[1,...d||[]].map(g=>e[g]),layouts:[0,...f||[]].map(s),leaf:o(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function o(i){const c=i<0;return c&&(i=~i),[c,e[i]]}function s(i){return i===void 0?i:[r.has(i),e[i]]}}function Ve(e,n=JSON.parse){try{return n(sessionStorage[e])}catch{}}function Ie(e,n,t=JSON.stringify){const a=t(n);try{sessionStorage[e]=a}catch{}}var je;const U=((je=globalThis.__sveltekit_mpbu43)==null?void 0:je.base)??"";var De;const Tt=((De=globalThis.__sveltekit_mpbu43)==null?void 0:De.assets)??U,Ut="1729379101622",Be="sveltekit:snapshot",Ge="sveltekit:scroll",qe="sveltekit:states",Lt="sveltekit:pageurl",j="sveltekit:history",q="sveltekit:navigation",Y={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},K=location.origin;function He(e){if(e instanceof URL)return e;let n=document.baseURI;if(!n){const t=document.getElementsByTagName("base");n=t.length?t[0].href:document.URL}return new URL(e,n)}function ye(){return{x:pageXOffset,y:pageYOffset}}function N(e,n){return e.getAttribute(`data-sveltekit-${n}`)}const Te={...Y,"":Y.hover};function Me(e){let n=e.assignedSlot??e.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function Ke(e,n){for(;e&&e!==n;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Me(e)}}function ue(e,n){let t;try{t=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,r=!t||!!a||ae(t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(t==null?void 0:t.origin)===K&&e.hasAttribute("download");return{url:t,external:r,target:a,download:o}}function z(e){let n=null,t=null,a=null,r=null,o=null,s=null,i=e;for(;i&&i!==document.documentElement;)a===null&&(a=N(i,"preload-code")),r===null&&(r=N(i,"preload-data")),n===null&&(n=N(i,"keepfocus")),t===null&&(t=N(i,"noscroll")),o===null&&(o=N(i,"reload")),s===null&&(s=N(i,"replacestate")),i=Me(i);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Te[a??"off"],preload_data:Te[r??"off"],keepfocus:c(n),noscroll:c(t),reload:c(o),replace_state:c(s)}}function Ue(e){const n=pe(e);let t=!0;function a(){t=!0,n.update(s=>s)}function r(s){t=!1,n.set(s)}function o(s){let i;return n.subscribe(c=>{(i===void 0||t&&c!==i)&&s(i=c)})}return{notify:a,set:r,subscribe:o}}function Pt(){const{set:e,subscribe:n}=pe(!1);let t;async function a(){clearTimeout(t);try{const r=await fetch(`${Tt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const s=(await r.json()).version!==Ut;return s&&(e(!0),clearTimeout(t)),s}catch{return!1}}return{subscribe:n,check:a}}function ae(e,n){return e.origin!==K||!e.pathname.startsWith(n)}function Le(e){const n=Ct(e),t=new ArrayBuffer(n.length),a=new DataView(t);for(let r=0;r>16),n+=String.fromCharCode((t&65280)>>8),n+=String.fromCharCode(t&255),t=a=0);return a===12?(t>>=4,n+=String.fromCharCode(t)):a===18&&(t>>=2,n+=String.fromCharCode((t&65280)>>8),n+=String.fromCharCode(t&255)),n}const Nt=-1,Ot=-2,jt=-3,Dt=-4,$t=-5,Ft=-6;function Vt(e,n){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const t=e,a=Array(t.length);function r(o,s=!1){if(o===Nt)return;if(o===jt)return NaN;if(o===Dt)return 1/0;if(o===$t)return-1/0;if(o===Ft)return-0;if(s)throw new Error("Invalid input");if(o in a)return a[o];const i=t[o];if(!i||typeof i!="object")a[o]=i;else if(Array.isArray(i))if(typeof i[0]=="string"){const c=i[0],f=n==null?void 0:n[c];if(f)return a[o]=f(r(i[1]));switch(c){case"Date":a[o]=new Date(i[1]);break;case"Set":const d=new Set;a[o]=d;for(let u=1;un!=null)}const qt="x-sveltekit-invalidated",Ht="x-sveltekit-trailing-slash";function J(e){return e instanceof ne||e instanceof ge?e.status:500}function Mt(e){return e instanceof ge?e.text:"Internal Error"}const C=Ve(Ge)??{},H=Ve(Be)??{},P={url:Ue({}),page:Ue({}),navigating:pe(null),updated:Pt()};function _e(e){C[e]=ye()}function Kt(e,n){let t=e+1;for(;C[t];)delete C[t],t+=1;for(t=n+1;H[t];)delete H[t],t+=1}function $(e){return location.href=e.href,new Promise(()=>{})}async function Ye(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(U||"/");e&&await e.update()}}function Pe(){}let re,de,X,L,he,F;const ze=[],Z=[];let R=null;const Je=[],Wt=[];let O=[],_={branch:[],error:null,url:null},we=!1,Q=!1,xe=!0,M=!1,V=!1,Xe=!1,ve=!1,be,E,T,I,ee;const G=new Set;async function sn(e,n,t){var r,o;document.URL!==location.href&&(location.href=location.href),F=e,re=It(e),L=document.documentElement,he=n,de=e.nodes[0],X=e.nodes[1],de(),X(),E=(r=history.state)==null?void 0:r[j],T=(o=history.state)==null?void 0:o[q],E||(E=T=Date.now(),history.replaceState({...history.state,[j]:E,[q]:T},""));const a=C[E];a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y)),t?await tn(he,t):Qt(location.href,{replaceState:!0}),en()}function Yt(){ze.length=0,ve=!1}function Ze(e){Z.some(n=>n==null?void 0:n.snapshot)&&(H[e]=Z.map(n=>{var t;return(t=n==null?void 0:n.snapshot)==null?void 0:t.capture()}))}function Qe(e){var n;(n=H[e])==null||n.forEach((t,a)=>{var r,o;(o=(r=Z[a])==null?void 0:r.snapshot)==null||o.restore(t)})}function Ce(){_e(E),Ie(Ge,C),Ze(T),Ie(Be,H)}async function et(e,n,t,a){return W({type:"goto",url:He(e),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:t,nav_token:a,accept:()=>{n.invalidateAll&&(ve=!0)}})}async function zt(e){if(e.id!==(R==null?void 0:R.id)){const n={};G.add(n),R={id:e.id,token:n,promise:nt({...e,preload:n}).then(t=>(G.delete(n),t.type==="loaded"&&t.state.error&&(R=null),t))}}return R.promise}async function fe(e){const n=re.find(t=>t.exec(at(e)));n&&await Promise.all([...n.layouts,n.leaf].map(t=>t==null?void 0:t[1]()))}function tt(e,n,t){var o;_=e.state;const a=document.querySelector("style[data-sveltekit]");a&&a.remove(),I=e.props.page,be=new F.root({target:n,props:{...e.props,stores:P,components:Z},hydrate:t,sync:!1}),Qe(T);const r={from:null,to:{params:_.params,route:{id:((o=_.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};O.forEach(s=>s(r)),Q=!0}function te({url:e,params:n,branch:t,status:a,error:r,route:o,form:s}){let i="never";if(U&&(e.pathname===U||e.pathname===U+"/"))i="always";else for(const u of t)(u==null?void 0:u.slash)!==void 0&&(i=u.slash);e.pathname=ft(e.pathname,i),e.search=e.search;const c={type:"loaded",state:{url:e,params:n,branch:t,error:r,route:o},props:{constructors:Gt(t).map(u=>u.node.component),page:I}};s!==void 0&&(c.props.form=s);let f={},d=!I,h=0;for(let u=0;u(i&&(c.route=!0),l[m])}),params:new Proxy(a,{get:(l,m)=>(i&&c.params.add(m),l[m])}),data:(o==null?void 0:o.data)??null,url:pt(t,()=>{i&&(c.url=!0)},l=>{i&&c.search_params.add(l)}),async fetch(l,m){let b;l instanceof Request?(b=l.url,m={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,...m}):b=l;const S=new URL(b,t);return i&&u(S.href),S.origin===t.origin&&(b=S.href.slice(t.origin.length)),Q?bt(b,S.href,m):vt(b,m)},setHeaders:()=>{},depends:u,parent(){return i&&(c.parent=!0),n()},untrack(l){i=!1;try{return l()}finally{i=!0}}};s=await f.universal.load.call(null,g)??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:((y=f.universal)==null?void 0:y.trailingSlash)??(o==null?void 0:o.slash)}}function Ne(e,n,t,a,r,o){if(ve)return!0;if(!r)return!1;if(r.parent&&e||r.route&&n||r.url&&t)return!0;for(const s of r.search_params)if(a.has(s))return!0;for(const s of r.params)if(o[s]!==_.params[s])return!0;for(const s of r.dependencies)if(ze.some(i=>i(new URL(s))))return!0;return!1}function ke(e,n){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?n??null:null}function Jt(e,n){if(!e)return new Set(n.searchParams.keys());const t=new Set([...e.searchParams.keys(),...n.searchParams.keys()]);for(const a of t){const r=e.searchParams.getAll(a),o=n.searchParams.getAll(a);r.every(s=>o.includes(s))&&o.every(s=>r.includes(s))&&t.delete(a)}return t}function Oe({error:e,url:n,route:t,params:a}){return{type:"loaded",state:{error:e,url:n,route:t,params:a,branch:[]},props:{page:I,constructors:[]}}}async function nt({id:e,invalidating:n,url:t,params:a,route:r,preload:o}){if((R==null?void 0:R.id)===e)return G.delete(R.token),R.promise;const{errors:s,layouts:i,leaf:c}=r,f=[...i,c];s.forEach(p=>p==null?void 0:p().catch(()=>{})),f.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let d=null;const h=_.url?e!==_.url.pathname+_.url.search:!1,y=_.route?r.id!==_.route.id:!1,u=Jt(_.url,t);let g=!1;const l=f.map((p,v)=>{var x;const A=_.branch[v],k=!!(p!=null&&p[0])&&((A==null?void 0:A.loader)!==p[1]||Ne(g,y,h,u,(x=A.server)==null?void 0:x.uses,a));return k&&(g=!0),k});if(l.some(Boolean)){try{d=await it(t,l)}catch(p){const v=await D(p,{url:t,params:a,route:{id:e}});return G.has(o)?Oe({error:v,url:t,params:a,route:r}):oe({status:J(p),error:v,url:t,route:r})}if(d.type==="redirect")return d}const m=d==null?void 0:d.nodes;let b=!1;const S=f.map(async(p,v)=>{var ie;if(!p)return;const A=_.branch[v],k=m==null?void 0:m[v];if((!k||k.type==="skip")&&p[1]===(A==null?void 0:A.loader)&&!Ne(b,y,h,u,(ie=A.universal)==null?void 0:ie.uses,a))return A;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return Ae({loader:p[1],url:t,params:a,route:r,parent:async()=>{var Re;const Se={};for(let se=0;se{});const w=[];for(let p=0;pPromise.resolve({}),server_data_node:ke(o)}),c={node:await X(),loader:X,universal:null,server:null,data:null};return te({url:t,params:r,branch:[i,c],status:e,error:n,route:null})}function Ee(e,n){if(!e||ae(e,U))return;let t;try{t=F.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const a=at(t);for(const r of re){const o=r.exec(a);if(o)return{id:e.pathname+e.search,invalidating:n,route:r,params:dt(o),url:e}}}function at(e){return ut(e.slice(U.length)||"/")}function rt({url:e,type:n,intent:t,delta:a}){let r=!1;const o=ct(_,t,e,n);a!==void 0&&(o.navigation.delta=a);const s={...o.navigation,cancel:()=>{r=!0,o.reject(new Error("navigation cancelled"))}};return M||Je.forEach(i=>i(s)),r?null:o}async function W({type:e,url:n,popped:t,keepfocus:a,noscroll:r,replace_state:o,state:s={},redirect_count:i=0,nav_token:c={},accept:f=Pe,block:d=Pe}){const h=Ee(n,!1),y=rt({url:n,type:e,delta:t==null?void 0:t.delta,intent:h});if(!y){d();return}const u=E,g=T;f(),M=!0,Q&&P.navigating.set(y.navigation),ee=c;let l=h&&await nt(h);if(!l){if(ae(n,U))return await $(n);l=await ot(n,{id:null},await D(new ge(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,ee!==c)return y.reject(new Error("navigation aborted")),!1;if(l.type==="redirect")if(i>=20)l=await oe({status:500,error:await D(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return et(new URL(l.location,n).href,{},i+1,c),!1;else l.props.page.status>=400&&await P.updated.check()&&(await Ye(),await $(n));if(Yt(),_e(u),Ze(g),l.props.page.url.pathname!==n.pathname&&(n.pathname=l.props.page.url.pathname),s=t?t.state:s,!t){const w=o?0:1,p={[j]:E+=w,[q]:T+=w,[qe]:s};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Kt(E,T)}if(R=null,l.props.page.state=s,Q){_=l.state,l.props.page&&(l.props.page.url=n);const w=(await Promise.all(Wt.map(p=>p(y.navigation)))).filter(p=>typeof p=="function");if(w.length>0){let p=function(){O=O.filter(v=>!w.includes(v))};w.push(p),O.push(...w)}be.$set(l.props),Xe=!0}else tt(l,he,!1);const{activeElement:m}=document;await lt();const b=t?t.scroll:r?ye():null;if(xe){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):w?w.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==m&&document.activeElement!==document.body;!a&&!S&&nn(),xe=!0,l.props.page&&(I=l.props.page),M=!1,e==="popstate"&&Qe(T),y.fulfil(void 0),O.forEach(w=>w(y.navigation)),P.navigating.set(null)}async function ot(e,n,t,a){return e.origin===K&&e.pathname===location.pathname&&!we?await oe({status:a,error:t,url:e,route:n}):await $(e)}function Zt(){let e;L.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{a(s,2)},20)});function n(o){a(o.composedPath()[0],1)}L.addEventListener("mousedown",n),L.addEventListener("touchstart",n,{passive:!0});const t=new IntersectionObserver(o=>{for(const s of o)s.isIntersecting&&(fe(s.target.href),t.unobserve(s.target))},{threshold:0});function a(o,s){const i=Ke(o,L);if(!i)return;const{url:c,external:f,download:d}=ue(i,U);if(f||d)return;const h=z(i),y=c&&_.url.pathname+_.url.search===c.pathname+c.search;if(!h.reload&&!y)if(s<=h.preload_data){const u=Ee(c,!1);u&&zt(u)}else s<=h.preload_code&&fe(c.pathname)}function r(){t.disconnect();for(const o of L.querySelectorAll("a")){const{url:s,external:i,download:c}=ue(o,U);if(i||c)continue;const f=z(o);f.reload||(f.preload_code===Y.viewport&&t.observe(o),f.preload_code===Y.eager&&fe(s.pathname))}}O.push(r),r()}function D(e,n){if(e instanceof ne)return e.body;const t=J(e),a=Mt(e);return F.hooks.handleError({error:e,event:n,status:t,message:a})??{message:a}}function Qt(e,n={}){return e=He(e),e.origin!==K?Promise.reject(new Error("goto: invalid URL")):et(e,n,0)}function en(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let a=!1;if(Ce(),!M){const r=ct(_,void 0,null,"leave"),o={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Je.forEach(s=>s(o))}a?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ce()}),(n=navigator.connection)!=null&&n.saveData||Zt(),L.addEventListener("click",async t=>{var y;if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const a=Ke(t.composedPath()[0],L);if(!a)return;const{url:r,external:o,target:s,download:i}=ue(a,U);if(!r)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const c=z(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;if(o||c.reload){rt({url:r,type:"link"})?M=!0:t.preventDefault();return}const[d,h]=r.href.split("#");if(h!==void 0&&d===ce(location)){const[,u]=_.url.href.split("#");if(u===h){t.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(y=a.ownerDocument.getElementById(decodeURIComponent(h)))==null||y.scrollIntoView();return}if(V=!0,_e(E),e(r),!c.replace_state)return;V=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),W({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href})}),L.addEventListener("submit",t=>{if(t.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if(((r==null?void 0:r.formTarget)||a.target)==="_blank"||((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(ae(i,U))return;const c=t.target,f=z(c);if(f.reload)return;t.preventDefault(),t.stopPropagation();const d=new FormData(c),h=r==null?void 0:r.getAttribute("name");h&&d.append(h,(r==null?void 0:r.getAttribute("value"))??""),i.search=new URLSearchParams(d).toString(),W({type:"form",url:i,keepfocus:f.keepfocus,noscroll:f.noscroll,replace_state:f.replace_state??i.href===location.href})}),addEventListener("popstate",async t=>{var a;if((a=t.state)!=null&&a[j]){const r=t.state[j];if(ee={},r===E)return;const o=C[r],s=t.state[qe]??{},i=new URL(t.state[Lt]??location.href),c=t.state[q],f=ce(location)===ce(_.url);if(c===T&&(Xe||f)){e(i),C[E]=ye(),o&&scrollTo(o.x,o.y),s!==I.state&&(I={...I,state:s},be.$set({page:I})),E=r;return}const h=r-E;await W({type:"popstate",url:i,popped:{state:s,scroll:o,delta:h},accept:()=>{E=r,T=c},block:()=>{history.go(-h)},nav_token:ee})}else if(!V){const r=new URL(location.href);e(r)}}),addEventListener("hashchange",()=>{V&&(V=!1,history.replaceState({...history.state,[j]:++E,[q]:T},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&P.navigating.set(null)});function e(t){_.url=t,P.page.set({...I,url:t}),P.page.notify()}}async function tn(e,{status:n=200,error:t,node_ids:a,params:r,route:o,data:s,form:i}){we=!0;const c=new URL(location.href);({params:r={},route:o={id:null}}=Ee(c,!1)||{});let f;try{const d=a.map(async(u,g)=>{const l=s[g];return l!=null&&l.uses&&(l.uses=st(l.uses)),Ae({loader:F.nodes[u],url:c,params:r,route:o,parent:async()=>{const m={};for(let b=0;bu===o.id);if(y){const u=y.layouts;for(let g=0;go?"1":"0").join(""));const a=await Fe(t.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 ne(a.status,o)}return new Promise(async o=>{var h;const s=new Map,i=a.body.getReader(),c=new TextDecoder;function f(y){return Vt(y,{Promise:u=>new Promise((g,l)=>{s.set(u,{fulfil:g,reject:l})})})}let d="";for(;;){const{done:y,value:u}=await i.read();if(y&&!d)break;for(d+=!u&&d?` +`:c.decode(u,{stream:!0});;){const g=d.indexOf(` +`);if(g===-1)break;const l=JSON.parse(d.slice(0,g));if(d=d.slice(g+1),l.type==="redirect")return o(l);if(l.type==="data")(h=l.nodes)==null||h.forEach(m=>{(m==null?void 0:m.type)==="data"&&(m.uses=st(m.uses),m.data=f(m.data))}),o(l);else if(l.type==="chunk"){const{id:m,data:b,error:S}=l,w=s.get(m);s.delete(m),S?w.reject(f(S)):w.fulfil(f(b))}}}})}function st(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 nn(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const n=document.body,t=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),t!==null?n.setAttribute("tabindex",t):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=d,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:t&&{params:(n==null?void 0:n.params)??null,route:{id:((f=n==null?void 0:n.route)==null?void 0:f.id)??null},url:t},willUnload:!n,type:a,complete:s},fulfil:r,reject:o}}export{sn as a,Qt as g,P as s}; diff --git a/docs/_app/immutable/chunks/entry.Yu3DVtRK.js b/docs/_app/immutable/chunks/entry.Yu3DVtRK.js deleted file mode 100644 index a83210c2..00000000 --- a/docs/_app/immutable/chunks/entry.Yu3DVtRK.js +++ /dev/null @@ -1,3 +0,0 @@ -import{aC as lt}from"./runtime.B3Do0ZXm.js";import{w as pe}from"./index.W79Utxw_.js";import{H as ne,S as ge,R as $e}from"./control.CYgJF_JY.js";new URL("sveltekit-internal://");function ft(e,n){return e==="/"||n==="ignore"?e:n==="never"?e.endsWith("/")?e.slice(0,-1):e:n==="always"&&!e.endsWith("/")?e+"/":e}function ut(e){return e.split("%25").map(decodeURI).join("%25")}function dt(e){for(const n in e)e[n]=decodeURIComponent(e[n]);return e}function ce({href:e}){return e.split("#")[0]}const ht=["href","pathname","search","toString","toJSON"];function pt(e,n,t){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(r,o){if(o==="get"||o==="getAll"||o==="has")return i=>(t(i),r[o](i));n();const s=Reflect.get(r,o);return typeof s=="function"?s.bind(r):s}}),enumerable:!0,configurable:!0});for(const r of ht)Object.defineProperty(a,r,{get(){return n(),e[r]},enumerable:!0,configurable:!0});return a}const gt="/__data.json",mt=".html__data.json";function yt(e){return e.endsWith(".html")?e.replace(/\.html$/,mt):e.replace(/\/$/,"")+gt}function _t(...e){let n=5381;for(const t of e)if(typeof t=="string"){let a=t.length;for(;a;)n=n*33^t.charCodeAt(--a)}else if(ArrayBuffer.isView(t)){const a=new Uint8Array(t.buffer,t.byteOffset,t.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 wt(e){const n=atob(e),t=new Uint8Array(n.length);for(let a=0;a((e instanceof Request?e.method:(n==null?void 0:n.method)||"GET")!=="GET"&&B.delete(me(e)),Fe(e,n));const B=new Map;function vt(e,n){const t=me(e,n),a=document.querySelector(t);if(a!=null&&a.textContent){let{body:r,...o}=JSON.parse(a.textContent);const s=a.getAttribute("data-ttl");return s&&B.set(t,{body:r,init:o,ttl:1e3*Number(s)}),a.getAttribute("data-b64")!==null&&(r=wt(r)),Promise.resolve(new Response(r,o))}return window.fetch(e,n)}function bt(e,n,t){if(B.size>0){const a=me(e,t),r=B.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 s=a.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return le(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return le(String.fromCharCode(...c.slice(2).split("-").map(l=>parseInt(l,16))));const d=At.exec(c),[,h,y,u,g]=d;return n.push({name:u,matcher:g,optional:!!h,rest:!!y,chained:y?f===1&&s[0]==="":!1}),y?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return le(c)}).join("")}).join("")}/?$`),params:n}}function Et(e){return!/^\([^)]+\)$/.test(e)}function St(e){return e.slice(1).split("/").filter(Et)}function Rt(e,n,t){const a={},r=e.slice(1),o=r.filter(i=>i!==void 0);let s=0;for(let i=0;id).join("/"),s=0),f===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||t[c.matcher](f)){a[c.name]=f;const d=n[i+1],h=r[i+1];d&&!d.rest&&d.optional&&h&&c.chained&&(s=0),!d&&!h&&Object.keys(a).length===o.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return a}function le(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function It({nodes:e,server_loads:n,dictionary:t,matchers:a}){const r=new Set(n);return Object.entries(t).map(([i,[c,f,d]])=>{const{pattern:h,params:y}=kt(i),u={id:i,exec:g=>{const l=h.exec(g);if(l)return Rt(l,y,a)},errors:[1,...d||[]].map(g=>e[g]),layouts:[0,...f||[]].map(s),leaf:o(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function o(i){const c=i<0;return c&&(i=~i),[c,e[i]]}function s(i){return i===void 0?i:[r.has(i),e[i]]}}function Ve(e,n=JSON.parse){try{return n(sessionStorage[e])}catch{}}function Ie(e,n,t=JSON.stringify){const a=t(n);try{sessionStorage[e]=a}catch{}}var je;const U=((je=globalThis.__sveltekit_1tv26tx)==null?void 0:je.base)??"";var De;const Tt=((De=globalThis.__sveltekit_1tv26tx)==null?void 0:De.assets)??U,Ut="1729379032155",Be="sveltekit:snapshot",Ge="sveltekit:scroll",qe="sveltekit:states",Lt="sveltekit:pageurl",j="sveltekit:history",q="sveltekit:navigation",Y={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},K=location.origin;function He(e){if(e instanceof URL)return e;let n=document.baseURI;if(!n){const t=document.getElementsByTagName("base");n=t.length?t[0].href:document.URL}return new URL(e,n)}function ye(){return{x:pageXOffset,y:pageYOffset}}function N(e,n){return e.getAttribute(`data-sveltekit-${n}`)}const Te={...Y,"":Y.hover};function Me(e){let n=e.assignedSlot??e.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function Ke(e,n){for(;e&&e!==n;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Me(e)}}function ue(e,n){let t;try{t=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,r=!t||!!a||ae(t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(t==null?void 0:t.origin)===K&&e.hasAttribute("download");return{url:t,external:r,target:a,download:o}}function z(e){let n=null,t=null,a=null,r=null,o=null,s=null,i=e;for(;i&&i!==document.documentElement;)a===null&&(a=N(i,"preload-code")),r===null&&(r=N(i,"preload-data")),n===null&&(n=N(i,"keepfocus")),t===null&&(t=N(i,"noscroll")),o===null&&(o=N(i,"reload")),s===null&&(s=N(i,"replacestate")),i=Me(i);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Te[a??"off"],preload_data:Te[r??"off"],keepfocus:c(n),noscroll:c(t),reload:c(o),replace_state:c(s)}}function Ue(e){const n=pe(e);let t=!0;function a(){t=!0,n.update(s=>s)}function r(s){t=!1,n.set(s)}function o(s){let i;return n.subscribe(c=>{(i===void 0||t&&c!==i)&&s(i=c)})}return{notify:a,set:r,subscribe:o}}function Pt(){const{set:e,subscribe:n}=pe(!1);let t;async function a(){clearTimeout(t);try{const r=await fetch(`${Tt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const s=(await r.json()).version!==Ut;return s&&(e(!0),clearTimeout(t)),s}catch{return!1}}return{subscribe:n,check:a}}function ae(e,n){return e.origin!==K||!e.pathname.startsWith(n)}function Le(e){const n=Ct(e),t=new ArrayBuffer(n.length),a=new DataView(t);for(let r=0;r>16),n+=String.fromCharCode((t&65280)>>8),n+=String.fromCharCode(t&255),t=a=0);return a===12?(t>>=4,n+=String.fromCharCode(t)):a===18&&(t>>=2,n+=String.fromCharCode((t&65280)>>8),n+=String.fromCharCode(t&255)),n}const Nt=-1,Ot=-2,jt=-3,Dt=-4,$t=-5,Ft=-6;function Vt(e,n){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const t=e,a=Array(t.length);function r(o,s=!1){if(o===Nt)return;if(o===jt)return NaN;if(o===Dt)return 1/0;if(o===$t)return-1/0;if(o===Ft)return-0;if(s)throw new Error("Invalid input");if(o in a)return a[o];const i=t[o];if(!i||typeof i!="object")a[o]=i;else if(Array.isArray(i))if(typeof i[0]=="string"){const c=i[0],f=n==null?void 0:n[c];if(f)return a[o]=f(r(i[1]));switch(c){case"Date":a[o]=new Date(i[1]);break;case"Set":const d=new Set;a[o]=d;for(let u=1;un!=null)}const qt="x-sveltekit-invalidated",Ht="x-sveltekit-trailing-slash";function J(e){return e instanceof ne||e instanceof ge?e.status:500}function Mt(e){return e instanceof ge?e.text:"Internal Error"}const C=Ve(Ge)??{},H=Ve(Be)??{},P={url:Ue({}),page:Ue({}),navigating:pe(null),updated:Pt()};function _e(e){C[e]=ye()}function Kt(e,n){let t=e+1;for(;C[t];)delete C[t],t+=1;for(t=n+1;H[t];)delete H[t],t+=1}function $(e){return location.href=e.href,new Promise(()=>{})}async function Ye(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(U||"/");e&&await e.update()}}function Pe(){}let re,de,X,L,he,F;const ze=[],Z=[];let R=null;const Je=[],Wt=[];let O=[],_={branch:[],error:null,url:null},we=!1,Q=!1,xe=!0,M=!1,V=!1,Xe=!1,ve=!1,be,E,T,I,ee;const G=new Set;async function sn(e,n,t){var r,o;document.URL!==location.href&&(location.href=location.href),F=e,re=It(e),L=document.documentElement,he=n,de=e.nodes[0],X=e.nodes[1],de(),X(),E=(r=history.state)==null?void 0:r[j],T=(o=history.state)==null?void 0:o[q],E||(E=T=Date.now(),history.replaceState({...history.state,[j]:E,[q]:T},""));const a=C[E];a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y)),t?await tn(he,t):Qt(location.href,{replaceState:!0}),en()}function Yt(){ze.length=0,ve=!1}function Ze(e){Z.some(n=>n==null?void 0:n.snapshot)&&(H[e]=Z.map(n=>{var t;return(t=n==null?void 0:n.snapshot)==null?void 0:t.capture()}))}function Qe(e){var n;(n=H[e])==null||n.forEach((t,a)=>{var r,o;(o=(r=Z[a])==null?void 0:r.snapshot)==null||o.restore(t)})}function Ce(){_e(E),Ie(Ge,C),Ze(T),Ie(Be,H)}async function et(e,n,t,a){return W({type:"goto",url:He(e),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:t,nav_token:a,accept:()=>{n.invalidateAll&&(ve=!0)}})}async function zt(e){if(e.id!==(R==null?void 0:R.id)){const n={};G.add(n),R={id:e.id,token:n,promise:nt({...e,preload:n}).then(t=>(G.delete(n),t.type==="loaded"&&t.state.error&&(R=null),t))}}return R.promise}async function fe(e){const n=re.find(t=>t.exec(at(e)));n&&await Promise.all([...n.layouts,n.leaf].map(t=>t==null?void 0:t[1]()))}function tt(e,n,t){var o;_=e.state;const a=document.querySelector("style[data-sveltekit]");a&&a.remove(),I=e.props.page,be=new F.root({target:n,props:{...e.props,stores:P,components:Z},hydrate:t,sync:!1}),Qe(T);const r={from:null,to:{params:_.params,route:{id:((o=_.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};O.forEach(s=>s(r)),Q=!0}function te({url:e,params:n,branch:t,status:a,error:r,route:o,form:s}){let i="never";if(U&&(e.pathname===U||e.pathname===U+"/"))i="always";else for(const u of t)(u==null?void 0:u.slash)!==void 0&&(i=u.slash);e.pathname=ft(e.pathname,i),e.search=e.search;const c={type:"loaded",state:{url:e,params:n,branch:t,error:r,route:o},props:{constructors:Gt(t).map(u=>u.node.component),page:I}};s!==void 0&&(c.props.form=s);let f={},d=!I,h=0;for(let u=0;u(i&&(c.route=!0),l[m])}),params:new Proxy(a,{get:(l,m)=>(i&&c.params.add(m),l[m])}),data:(o==null?void 0:o.data)??null,url:pt(t,()=>{i&&(c.url=!0)},l=>{i&&c.search_params.add(l)}),async fetch(l,m){let b;l instanceof Request?(b=l.url,m={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,...m}):b=l;const S=new URL(b,t);return i&&u(S.href),S.origin===t.origin&&(b=S.href.slice(t.origin.length)),Q?bt(b,S.href,m):vt(b,m)},setHeaders:()=>{},depends:u,parent(){return i&&(c.parent=!0),n()},untrack(l){i=!1;try{return l()}finally{i=!0}}};s=await f.universal.load.call(null,g)??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:((y=f.universal)==null?void 0:y.trailingSlash)??(o==null?void 0:o.slash)}}function Ne(e,n,t,a,r,o){if(ve)return!0;if(!r)return!1;if(r.parent&&e||r.route&&n||r.url&&t)return!0;for(const s of r.search_params)if(a.has(s))return!0;for(const s of r.params)if(o[s]!==_.params[s])return!0;for(const s of r.dependencies)if(ze.some(i=>i(new URL(s))))return!0;return!1}function ke(e,n){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?n??null:null}function Jt(e,n){if(!e)return new Set(n.searchParams.keys());const t=new Set([...e.searchParams.keys(),...n.searchParams.keys()]);for(const a of t){const r=e.searchParams.getAll(a),o=n.searchParams.getAll(a);r.every(s=>o.includes(s))&&o.every(s=>r.includes(s))&&t.delete(a)}return t}function Oe({error:e,url:n,route:t,params:a}){return{type:"loaded",state:{error:e,url:n,route:t,params:a,branch:[]},props:{page:I,constructors:[]}}}async function nt({id:e,invalidating:n,url:t,params:a,route:r,preload:o}){if((R==null?void 0:R.id)===e)return G.delete(R.token),R.promise;const{errors:s,layouts:i,leaf:c}=r,f=[...i,c];s.forEach(p=>p==null?void 0:p().catch(()=>{})),f.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let d=null;const h=_.url?e!==_.url.pathname+_.url.search:!1,y=_.route?r.id!==_.route.id:!1,u=Jt(_.url,t);let g=!1;const l=f.map((p,v)=>{var x;const A=_.branch[v],k=!!(p!=null&&p[0])&&((A==null?void 0:A.loader)!==p[1]||Ne(g,y,h,u,(x=A.server)==null?void 0:x.uses,a));return k&&(g=!0),k});if(l.some(Boolean)){try{d=await it(t,l)}catch(p){const v=await D(p,{url:t,params:a,route:{id:e}});return G.has(o)?Oe({error:v,url:t,params:a,route:r}):oe({status:J(p),error:v,url:t,route:r})}if(d.type==="redirect")return d}const m=d==null?void 0:d.nodes;let b=!1;const S=f.map(async(p,v)=>{var ie;if(!p)return;const A=_.branch[v],k=m==null?void 0:m[v];if((!k||k.type==="skip")&&p[1]===(A==null?void 0:A.loader)&&!Ne(b,y,h,u,(ie=A.universal)==null?void 0:ie.uses,a))return A;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return Ae({loader:p[1],url:t,params:a,route:r,parent:async()=>{var Re;const Se={};for(let se=0;se{});const w=[];for(let p=0;pPromise.resolve({}),server_data_node:ke(o)}),c={node:await X(),loader:X,universal:null,server:null,data:null};return te({url:t,params:r,branch:[i,c],status:e,error:n,route:null})}function Ee(e,n){if(!e||ae(e,U))return;let t;try{t=F.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const a=at(t);for(const r of re){const o=r.exec(a);if(o)return{id:e.pathname+e.search,invalidating:n,route:r,params:dt(o),url:e}}}function at(e){return ut(e.slice(U.length)||"/")}function rt({url:e,type:n,intent:t,delta:a}){let r=!1;const o=ct(_,t,e,n);a!==void 0&&(o.navigation.delta=a);const s={...o.navigation,cancel:()=>{r=!0,o.reject(new Error("navigation cancelled"))}};return M||Je.forEach(i=>i(s)),r?null:o}async function W({type:e,url:n,popped:t,keepfocus:a,noscroll:r,replace_state:o,state:s={},redirect_count:i=0,nav_token:c={},accept:f=Pe,block:d=Pe}){const h=Ee(n,!1),y=rt({url:n,type:e,delta:t==null?void 0:t.delta,intent:h});if(!y){d();return}const u=E,g=T;f(),M=!0,Q&&P.navigating.set(y.navigation),ee=c;let l=h&&await nt(h);if(!l){if(ae(n,U))return await $(n);l=await ot(n,{id:null},await D(new ge(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,ee!==c)return y.reject(new Error("navigation aborted")),!1;if(l.type==="redirect")if(i>=20)l=await oe({status:500,error:await D(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return et(new URL(l.location,n).href,{},i+1,c),!1;else l.props.page.status>=400&&await P.updated.check()&&(await Ye(),await $(n));if(Yt(),_e(u),Ze(g),l.props.page.url.pathname!==n.pathname&&(n.pathname=l.props.page.url.pathname),s=t?t.state:s,!t){const w=o?0:1,p={[j]:E+=w,[q]:T+=w,[qe]:s};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Kt(E,T)}if(R=null,l.props.page.state=s,Q){_=l.state,l.props.page&&(l.props.page.url=n);const w=(await Promise.all(Wt.map(p=>p(y.navigation)))).filter(p=>typeof p=="function");if(w.length>0){let p=function(){O=O.filter(v=>!w.includes(v))};w.push(p),O.push(...w)}be.$set(l.props),Xe=!0}else tt(l,he,!1);const{activeElement:m}=document;await lt();const b=t?t.scroll:r?ye():null;if(xe){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):w?w.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==m&&document.activeElement!==document.body;!a&&!S&&nn(),xe=!0,l.props.page&&(I=l.props.page),M=!1,e==="popstate"&&Qe(T),y.fulfil(void 0),O.forEach(w=>w(y.navigation)),P.navigating.set(null)}async function ot(e,n,t,a){return e.origin===K&&e.pathname===location.pathname&&!we?await oe({status:a,error:t,url:e,route:n}):await $(e)}function Zt(){let e;L.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{a(s,2)},20)});function n(o){a(o.composedPath()[0],1)}L.addEventListener("mousedown",n),L.addEventListener("touchstart",n,{passive:!0});const t=new IntersectionObserver(o=>{for(const s of o)s.isIntersecting&&(fe(s.target.href),t.unobserve(s.target))},{threshold:0});function a(o,s){const i=Ke(o,L);if(!i)return;const{url:c,external:f,download:d}=ue(i,U);if(f||d)return;const h=z(i),y=c&&_.url.pathname+_.url.search===c.pathname+c.search;if(!h.reload&&!y)if(s<=h.preload_data){const u=Ee(c,!1);u&&zt(u)}else s<=h.preload_code&&fe(c.pathname)}function r(){t.disconnect();for(const o of L.querySelectorAll("a")){const{url:s,external:i,download:c}=ue(o,U);if(i||c)continue;const f=z(o);f.reload||(f.preload_code===Y.viewport&&t.observe(o),f.preload_code===Y.eager&&fe(s.pathname))}}O.push(r),r()}function D(e,n){if(e instanceof ne)return e.body;const t=J(e),a=Mt(e);return F.hooks.handleError({error:e,event:n,status:t,message:a})??{message:a}}function Qt(e,n={}){return e=He(e),e.origin!==K?Promise.reject(new Error("goto: invalid URL")):et(e,n,0)}function en(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let a=!1;if(Ce(),!M){const r=ct(_,void 0,null,"leave"),o={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Je.forEach(s=>s(o))}a?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ce()}),(n=navigator.connection)!=null&&n.saveData||Zt(),L.addEventListener("click",async t=>{var y;if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const a=Ke(t.composedPath()[0],L);if(!a)return;const{url:r,external:o,target:s,download:i}=ue(a,U);if(!r)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const c=z(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;if(o||c.reload){rt({url:r,type:"link"})?M=!0:t.preventDefault();return}const[d,h]=r.href.split("#");if(h!==void 0&&d===ce(location)){const[,u]=_.url.href.split("#");if(u===h){t.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(y=a.ownerDocument.getElementById(decodeURIComponent(h)))==null||y.scrollIntoView();return}if(V=!0,_e(E),e(r),!c.replace_state)return;V=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),W({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href})}),L.addEventListener("submit",t=>{if(t.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if(((r==null?void 0:r.formTarget)||a.target)==="_blank"||((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(ae(i,U))return;const c=t.target,f=z(c);if(f.reload)return;t.preventDefault(),t.stopPropagation();const d=new FormData(c),h=r==null?void 0:r.getAttribute("name");h&&d.append(h,(r==null?void 0:r.getAttribute("value"))??""),i.search=new URLSearchParams(d).toString(),W({type:"form",url:i,keepfocus:f.keepfocus,noscroll:f.noscroll,replace_state:f.replace_state??i.href===location.href})}),addEventListener("popstate",async t=>{var a;if((a=t.state)!=null&&a[j]){const r=t.state[j];if(ee={},r===E)return;const o=C[r],s=t.state[qe]??{},i=new URL(t.state[Lt]??location.href),c=t.state[q],f=ce(location)===ce(_.url);if(c===T&&(Xe||f)){e(i),C[E]=ye(),o&&scrollTo(o.x,o.y),s!==I.state&&(I={...I,state:s},be.$set({page:I})),E=r;return}const h=r-E;await W({type:"popstate",url:i,popped:{state:s,scroll:o,delta:h},accept:()=>{E=r,T=c},block:()=>{history.go(-h)},nav_token:ee})}else if(!V){const r=new URL(location.href);e(r)}}),addEventListener("hashchange",()=>{V&&(V=!1,history.replaceState({...history.state,[j]:++E,[q]:T},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&P.navigating.set(null)});function e(t){_.url=t,P.page.set({...I,url:t}),P.page.notify()}}async function tn(e,{status:n=200,error:t,node_ids:a,params:r,route:o,data:s,form:i}){we=!0;const c=new URL(location.href);({params:r={},route:o={id:null}}=Ee(c,!1)||{});let f;try{const d=a.map(async(u,g)=>{const l=s[g];return l!=null&&l.uses&&(l.uses=st(l.uses)),Ae({loader:F.nodes[u],url:c,params:r,route:o,parent:async()=>{const m={};for(let b=0;bu===o.id);if(y){const u=y.layouts;for(let g=0;go?"1":"0").join(""));const a=await Fe(t.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 ne(a.status,o)}return new Promise(async o=>{var h;const s=new Map,i=a.body.getReader(),c=new TextDecoder;function f(y){return Vt(y,{Promise:u=>new Promise((g,l)=>{s.set(u,{fulfil:g,reject:l})})})}let d="";for(;;){const{done:y,value:u}=await i.read();if(y&&!d)break;for(d+=!u&&d?` -`:c.decode(u,{stream:!0});;){const g=d.indexOf(` -`);if(g===-1)break;const l=JSON.parse(d.slice(0,g));if(d=d.slice(g+1),l.type==="redirect")return o(l);if(l.type==="data")(h=l.nodes)==null||h.forEach(m=>{(m==null?void 0:m.type)==="data"&&(m.uses=st(m.uses),m.data=f(m.data))}),o(l);else if(l.type==="chunk"){const{id:m,data:b,error:S}=l,w=s.get(m);s.delete(m),S?w.reject(f(S)):w.fulfil(f(b))}}}})}function st(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 nn(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const n=document.body,t=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),t!==null?n.setAttribute("tabindex",t):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=d,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:t&&{params:(n==null?void 0:n.params)??null,route:{id:((f=n==null?void 0:n.route)==null?void 0:f.id)??null},url:t},willUnload:!n,type:a,complete:s},fulfil:r,reject:o}}export{sn as a,Qt as g,P as s}; diff --git a/docs/_app/immutable/chunks/stores.BbGttWuu.js b/docs/_app/immutable/chunks/stores.DQXSEgIk.js similarity index 72% rename from docs/_app/immutable/chunks/stores.BbGttWuu.js rename to docs/_app/immutable/chunks/stores.DQXSEgIk.js index 6b7c5f5f..aea82d74 100644 --- a/docs/_app/immutable/chunks/stores.BbGttWuu.js +++ b/docs/_app/immutable/chunks/stores.DQXSEgIk.js @@ -1 +1 @@ -import{s as e}from"./entry.Yu3DVtRK.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.C07_Srvu.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.DI_U7HGz.js b/docs/_app/immutable/entry/app.B5ekLNC4.js similarity index 95% rename from docs/_app/immutable/entry/app.DI_U7HGz.js rename to docs/_app/immutable/entry/app.B5ekLNC4.js index a402893b..5f3e02ad 100644 --- a/docs/_app/immutable/entry/app.DI_U7HGz.js +++ b/docs/_app/immutable/entry/app.B5ekLNC4.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BEt-IUF-.js","../chunks/index.CzR0xuCU.js","../chunks/control.CYgJF_JY.js","../chunks/disclose-version.CmtI0EPl.js","../chunks/runtime.B3Do0ZXm.js","../chunks/Brush.html.DSgXU-YJ.js","../chunks/class.B1rLQBbq.js","../chunks/index-client.CfugqxwE.js","../chunks/if.DMXaGV_-.js","../chunks/lifecycle.B5gl02A_.js","../chunks/store.C8KVTQwS.js","../chunks/index.W79Utxw_.js","../assets/Brush.DMLwbjG7.css","../chunks/select.D9Eu9FIL.js","../chunks/entry.Yu3DVtRK.js","../chunks/stores.BbGttWuu.js","../chunks/GuideContents.BiWaB4Wu.js","../assets/GuideContents.f1heazyz.css","../chunks/_examples.Dxdjqc8E.js","../chunks/dots.BSRmhrTK.js","../assets/dots.CclTdKbK.css","../chunks/pointsFour.B2oqJjZo.js","../assets/_examples.DkYu3IhO.css","../chunks/_examples_ssr.BkbL8euZ.js","../chunks/ClevelandDotPlot.percent-range.html.D2nRcx6g.js","../assets/ClevelandDotPlot.percent-range.B685fjVw.css","../assets/_examples_ssr.CZL980Pp.css","../assets/0.DOJ79Bg0.css","../nodes/1.B51I9t77.js","../nodes/2.BjHJF-6x.js","../chunks/html.DHUwS5Lv.js","../chunks/svelte-component.DC_MlXxY.js","../chunks/hljsDefineSvelte.DvPdTMHb.js","../assets/2.6JXoYB_H.css","../nodes/3.fQ9YmG4s.js","../chunks/_components.OvQIMUCM.js","../assets/_components.D4RKhXhC.css","../assets/3.B1O8FLrr.css","../nodes/4.CyzTSJHM.js","../chunks/downloadBlob.DPn4pLDi.js","../assets/4.DihtRuWg.css","../nodes/5.DlYHyn-t.js","../chunks/cleanTitle.BHIW8-x7.js","../assets/cleanTitle.CYj-YFyY.css","../assets/5.D7cTbUmA.css","../nodes/6.4GaNZYSt.js","../assets/6.CBC8UK4C.css","../nodes/7.hn92Jztu.js","../assets/7.DFWJosVe.css"])))=>i.map(i=>d[i]); -var q=n=>{throw TypeError(n)};var U=(n,t,r)=>t.has(n)||q("Cannot "+r);var i=(n,t,r)=>(U(n,t,"read from private field"),r?r.call(n):t.get(n)),A=(n,t,r)=>t.has(n)?q("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(n):t.set(n,r),O=(n,t,r,a)=>(U(n,t,"write to private field"),a?a.call(n,r):t.set(n,r),r);import{w as v,v as L,aA as J,aB as K,q as Q,p as X,C as Y,D as Z,aC as M,f as x,a as N,aD as D,L as T,s as $,c as tt,t as et,r as rt}from"../chunks/runtime.B3Do0ZXm.js";import{f as st,m as nt,u as ot,d as C,a as R,t as z,g as at,s as it}from"../chunks/disclose-version.CmtI0EPl.js";import{i as I}from"../chunks/if.DMXaGV_-.js";import{c as V}from"../chunks/svelte-component.DC_MlXxY.js";import{p as S,o as ct,c as lt,b as B}from"../chunks/index-client.CfugqxwE.js";function ut(n){return class extends mt{constructor(t){super({component:n,...t})}}}var g,u;class mt{constructor(t){A(this,g);A(this,u);var h;var r=new Map,a=(s,e)=>{var m=Q(e);return r.set(s,m),m};const c=new Proxy({...t.props||{},$$events:{}},{get(s,e){return v(r.get(e)??a(e,Reflect.get(s,e)))},has(s,e){return v(r.get(e)??a(e,Reflect.get(s,e))),Reflect.has(s,e)},set(s,e,m){return L(r.get(e)??a(e,m),m),Reflect.set(s,e,m)}});O(this,u,(t.hydrate?st:nt)(t.component,{target:t.target,props:c,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((h=t==null?void 0:t.props)!=null&&h.$$host)||t.sync===!1)&&J(),O(this,g,c.$$events);for(const s of Object.keys(i(this,u)))s==="$set"||s==="$destroy"||s==="$on"||K(this,s,{get(){return i(this,u)[s]},set(e){i(this,u)[s]=e},enumerable:!0});i(this,u).$set=s=>{Object.assign(c,s)},i(this,u).$destroy=()=>{ot(i(this,u))}}$set(t){i(this,u).$set(t)}$on(t,r){i(this,g)[t]=i(this,g)[t]||[];const a=(...c)=>r.call(this,...c);return i(this,g)[t].push(a),()=>{i(this,g)[t]=i(this,g)[t].filter(c=>c!==a)}}$destroy(){i(this,u).$destroy()}}g=new WeakMap,u=new WeakMap;const dt="modulepreload",_t=function(n,t){return new URL(n,t).href},W={},P=function(t,r,a){let c=Promise.resolve();if(r&&r.length>0){const s=document.getElementsByTagName("link"),e=document.querySelector("meta[property=csp-nonce]"),m=(e==null?void 0:e.nonce)||(e==null?void 0:e.getAttribute("nonce"));c=Promise.allSettled(r.map(l=>{if(l=_t(l,a),l in W)return;W[l]=!0;const y=l.endsWith(".css"),p=y?'[rel="stylesheet"]':"";if(!!a)for(let d=s.length-1;d>=0;d--){const f=s[d];if(f.href===l&&(!y||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${p}`))return;const o=document.createElement("link");if(o.rel=y?"stylesheet":dt,y||(o.as="script"),o.crossOrigin="",o.href=l,m&&o.setAttribute("nonce",m),document.head.appendChild(o),y)return new Promise((d,f)=>{o.addEventListener("load",d),o.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${l}`)))})}))}function h(s){const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=s,window.dispatchEvent(e),!e.defaultPrevented)throw s}return c.then(s=>{for(const e of s||[])e.status==="rejected"&&h(e.reason);return t().catch(h)})},xt={};var ft=z('
'),ht=z(" ",1);function vt(n,t){X(t,!0);let r=S(t,"components",23,()=>[]),a=S(t,"data_0",3,null),c=S(t,"data_1",3,null);Y(()=>t.stores.page.set(t.page)),Z(()=>{t.stores,t.page,t.constructors,r(),t.form,a(),c(),t.stores.page.notify()});let h=D(!1),s=D(!1),e=D(null);ct(()=>{const E=t.stores.page.subscribe(()=>{v(h)&&(L(s,!0),M().then(()=>{L(e,lt(document.title||"untitled page"))}))});return L(h,!0),E});const m=T(()=>t.constructors[1]);var l=ht(),y=x(l);I(y,()=>t.constructors[1],E=>{var o=C();const d=T(()=>t.constructors[0]);var f=x(o);V(f,()=>v(d),(b,k)=>{B(k(b,{get data(){return a()},get form(){return t.form},children:(_,gt)=>{var j=C(),F=x(j);V(F,()=>v(m),(G,H)=>{B(H(G,{get data(){return c()},get form(){return t.form}}),w=>r()[1]=w,()=>{var w;return(w=r())==null?void 0:w[1]})}),R(_,j)},$$slots:{default:!0}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),R(E,o)},E=>{var o=C();const d=T(()=>t.constructors[0]);var f=x(o);V(f,()=>v(d),(b,k)=>{B(k(b,{get data(){return a()},get form(){return t.form}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),R(E,o)});var p=$(y,2);I(p,()=>v(h),E=>{var o=ft(),d=tt(o);I(d,()=>v(s),f=>{var b=at();et(()=>it(b,v(e))),R(f,b)}),rt(o),R(E,o)}),R(n,l),N()}const Lt=ut(vt),pt=[()=>P(()=>import("../nodes/0.BEt-IUF-.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,23,24,25,26,27]),import.meta.url),()=>P(()=>import("../nodes/1.B51I9t77.js"),__vite__mapDeps([28,3,4,9,10,11,15,14,2]),import.meta.url),()=>P(()=>import("../nodes/2.BjHJF-6x.js"),__vite__mapDeps([29,3,4,6,30,31,9,32,5,7,8,10,11,12,18,19,20,21,22,23,24,25,26,33]),import.meta.url),()=>P(()=>import("../nodes/3.fQ9YmG4s.js"),__vite__mapDeps([34,3,4,8,6,30,31,7,9,35,5,10,11,12,19,20,13,24,25,36,37]),import.meta.url),()=>P(()=>import("../nodes/4.CyzTSJHM.js"),__vite__mapDeps([38,1,2,3,4,8,6,30,31,9,7,39,32,5,10,11,12,35,19,20,13,24,25,36,40]),import.meta.url),()=>P(()=>import("../nodes/5.DlYHyn-t.js"),__vite__mapDeps([41,1,2,3,4,8,6,30,31,9,7,39,32,5,10,11,12,42,43,18,19,20,21,22,44]),import.meta.url),()=>P(()=>import("../nodes/6.4GaNZYSt.js"),__vite__mapDeps([45,1,2,3,4,8,6,30,31,9,7,39,32,5,10,11,12,42,43,23,24,25,21,26,46]),import.meta.url),()=>P(()=>import("../nodes/7.hn92Jztu.js"),__vite__mapDeps([47,1,2,3,4,6,30,7,9,16,17,48]),import.meta.url)],kt=[],At={"/":[2],"/components":[3],"/components/[slug]":[4],"/example-ssr/[slug]":[6],"/example/[slug]":[5],"/guide":[7]},Ot={handleError:({error:n})=>{console.error(n)},reroute:()=>{}};export{At as dictionary,Ot as hooks,xt as matchers,pt as nodes,Lt as root,kt as server_loads}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.1UV5W5pH.js","../chunks/index.CzR0xuCU.js","../chunks/control.CYgJF_JY.js","../chunks/disclose-version.CmtI0EPl.js","../chunks/runtime.B3Do0ZXm.js","../chunks/Brush.html.DSgXU-YJ.js","../chunks/class.B1rLQBbq.js","../chunks/index-client.CfugqxwE.js","../chunks/if.DMXaGV_-.js","../chunks/lifecycle.B5gl02A_.js","../chunks/store.C8KVTQwS.js","../chunks/index.W79Utxw_.js","../assets/Brush.DMLwbjG7.css","../chunks/select.D9Eu9FIL.js","../chunks/entry.C07_Srvu.js","../chunks/stores.DQXSEgIk.js","../chunks/GuideContents.BiWaB4Wu.js","../assets/GuideContents.f1heazyz.css","../chunks/_examples.Dxdjqc8E.js","../chunks/dots.BSRmhrTK.js","../assets/dots.CclTdKbK.css","../chunks/pointsFour.B2oqJjZo.js","../assets/_examples.DkYu3IhO.css","../chunks/_examples_ssr.BkbL8euZ.js","../chunks/ClevelandDotPlot.percent-range.html.D2nRcx6g.js","../assets/ClevelandDotPlot.percent-range.B685fjVw.css","../assets/_examples_ssr.CZL980Pp.css","../assets/0.DOJ79Bg0.css","../nodes/1.DCF0QzXw.js","../nodes/2.BjHJF-6x.js","../chunks/html.DHUwS5Lv.js","../chunks/svelte-component.DC_MlXxY.js","../chunks/hljsDefineSvelte.DvPdTMHb.js","../assets/2.6JXoYB_H.css","../nodes/3.fQ9YmG4s.js","../chunks/_components.OvQIMUCM.js","../assets/_components.D4RKhXhC.css","../assets/3.B1O8FLrr.css","../nodes/4.CyzTSJHM.js","../chunks/downloadBlob.DPn4pLDi.js","../assets/4.DihtRuWg.css","../nodes/5.DlYHyn-t.js","../chunks/cleanTitle.BHIW8-x7.js","../assets/cleanTitle.CYj-YFyY.css","../assets/5.D7cTbUmA.css","../nodes/6.4GaNZYSt.js","../assets/6.CBC8UK4C.css","../nodes/7.hn92Jztu.js","../assets/7.DFWJosVe.css"])))=>i.map(i=>d[i]); +var q=n=>{throw TypeError(n)};var U=(n,t,r)=>t.has(n)||q("Cannot "+r);var i=(n,t,r)=>(U(n,t,"read from private field"),r?r.call(n):t.get(n)),A=(n,t,r)=>t.has(n)?q("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(n):t.set(n,r),O=(n,t,r,a)=>(U(n,t,"write to private field"),a?a.call(n,r):t.set(n,r),r);import{w as v,v as L,aA as J,aB as K,q as Q,p as X,C as Y,D as Z,aC as M,f as x,a as N,aD as D,L as T,s as $,c as tt,t as et,r as rt}from"../chunks/runtime.B3Do0ZXm.js";import{f as st,m as nt,u as ot,d as C,a as R,t as z,g as at,s as it}from"../chunks/disclose-version.CmtI0EPl.js";import{i as I}from"../chunks/if.DMXaGV_-.js";import{c as V}from"../chunks/svelte-component.DC_MlXxY.js";import{p as S,o as ct,c as lt,b as B}from"../chunks/index-client.CfugqxwE.js";function ut(n){return class extends mt{constructor(t){super({component:n,...t})}}}var g,u;class mt{constructor(t){A(this,g);A(this,u);var h;var r=new Map,a=(s,e)=>{var m=Q(e);return r.set(s,m),m};const c=new Proxy({...t.props||{},$$events:{}},{get(s,e){return v(r.get(e)??a(e,Reflect.get(s,e)))},has(s,e){return v(r.get(e)??a(e,Reflect.get(s,e))),Reflect.has(s,e)},set(s,e,m){return L(r.get(e)??a(e,m),m),Reflect.set(s,e,m)}});O(this,u,(t.hydrate?st:nt)(t.component,{target:t.target,props:c,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((h=t==null?void 0:t.props)!=null&&h.$$host)||t.sync===!1)&&J(),O(this,g,c.$$events);for(const s of Object.keys(i(this,u)))s==="$set"||s==="$destroy"||s==="$on"||K(this,s,{get(){return i(this,u)[s]},set(e){i(this,u)[s]=e},enumerable:!0});i(this,u).$set=s=>{Object.assign(c,s)},i(this,u).$destroy=()=>{ot(i(this,u))}}$set(t){i(this,u).$set(t)}$on(t,r){i(this,g)[t]=i(this,g)[t]||[];const a=(...c)=>r.call(this,...c);return i(this,g)[t].push(a),()=>{i(this,g)[t]=i(this,g)[t].filter(c=>c!==a)}}$destroy(){i(this,u).$destroy()}}g=new WeakMap,u=new WeakMap;const dt="modulepreload",_t=function(n,t){return new URL(n,t).href},W={},P=function(t,r,a){let c=Promise.resolve();if(r&&r.length>0){const s=document.getElementsByTagName("link"),e=document.querySelector("meta[property=csp-nonce]"),m=(e==null?void 0:e.nonce)||(e==null?void 0:e.getAttribute("nonce"));c=Promise.allSettled(r.map(l=>{if(l=_t(l,a),l in W)return;W[l]=!0;const y=l.endsWith(".css"),p=y?'[rel="stylesheet"]':"";if(!!a)for(let d=s.length-1;d>=0;d--){const f=s[d];if(f.href===l&&(!y||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${p}`))return;const o=document.createElement("link");if(o.rel=y?"stylesheet":dt,y||(o.as="script"),o.crossOrigin="",o.href=l,m&&o.setAttribute("nonce",m),document.head.appendChild(o),y)return new Promise((d,f)=>{o.addEventListener("load",d),o.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${l}`)))})}))}function h(s){const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=s,window.dispatchEvent(e),!e.defaultPrevented)throw s}return c.then(s=>{for(const e of s||[])e.status==="rejected"&&h(e.reason);return t().catch(h)})},xt={};var ft=z('
'),ht=z(" ",1);function vt(n,t){X(t,!0);let r=S(t,"components",23,()=>[]),a=S(t,"data_0",3,null),c=S(t,"data_1",3,null);Y(()=>t.stores.page.set(t.page)),Z(()=>{t.stores,t.page,t.constructors,r(),t.form,a(),c(),t.stores.page.notify()});let h=D(!1),s=D(!1),e=D(null);ct(()=>{const E=t.stores.page.subscribe(()=>{v(h)&&(L(s,!0),M().then(()=>{L(e,lt(document.title||"untitled page"))}))});return L(h,!0),E});const m=T(()=>t.constructors[1]);var l=ht(),y=x(l);I(y,()=>t.constructors[1],E=>{var o=C();const d=T(()=>t.constructors[0]);var f=x(o);V(f,()=>v(d),(b,k)=>{B(k(b,{get data(){return a()},get form(){return t.form},children:(_,gt)=>{var j=C(),F=x(j);V(F,()=>v(m),(G,H)=>{B(H(G,{get data(){return c()},get form(){return t.form}}),w=>r()[1]=w,()=>{var w;return(w=r())==null?void 0:w[1]})}),R(_,j)},$$slots:{default:!0}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),R(E,o)},E=>{var o=C();const d=T(()=>t.constructors[0]);var f=x(o);V(f,()=>v(d),(b,k)=>{B(k(b,{get data(){return a()},get form(){return t.form}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),R(E,o)});var p=$(y,2);I(p,()=>v(h),E=>{var o=ft(),d=tt(o);I(d,()=>v(s),f=>{var b=at();et(()=>it(b,v(e))),R(f,b)}),rt(o),R(E,o)}),R(n,l),N()}const Lt=ut(vt),pt=[()=>P(()=>import("../nodes/0.1UV5W5pH.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,23,24,25,26,27]),import.meta.url),()=>P(()=>import("../nodes/1.DCF0QzXw.js"),__vite__mapDeps([28,3,4,9,10,11,15,14,2]),import.meta.url),()=>P(()=>import("../nodes/2.BjHJF-6x.js"),__vite__mapDeps([29,3,4,6,30,31,9,32,5,7,8,10,11,12,18,19,20,21,22,23,24,25,26,33]),import.meta.url),()=>P(()=>import("../nodes/3.fQ9YmG4s.js"),__vite__mapDeps([34,3,4,8,6,30,31,7,9,35,5,10,11,12,19,20,13,24,25,36,37]),import.meta.url),()=>P(()=>import("../nodes/4.CyzTSJHM.js"),__vite__mapDeps([38,1,2,3,4,8,6,30,31,9,7,39,32,5,10,11,12,35,19,20,13,24,25,36,40]),import.meta.url),()=>P(()=>import("../nodes/5.DlYHyn-t.js"),__vite__mapDeps([41,1,2,3,4,8,6,30,31,9,7,39,32,5,10,11,12,42,43,18,19,20,21,22,44]),import.meta.url),()=>P(()=>import("../nodes/6.4GaNZYSt.js"),__vite__mapDeps([45,1,2,3,4,8,6,30,31,9,7,39,32,5,10,11,12,42,43,23,24,25,21,26,46]),import.meta.url),()=>P(()=>import("../nodes/7.hn92Jztu.js"),__vite__mapDeps([47,1,2,3,4,6,30,7,9,16,17,48]),import.meta.url)],kt=[],At={"/":[2],"/components":[3],"/components/[slug]":[4],"/example-ssr/[slug]":[6],"/example/[slug]":[5],"/guide":[7]},Ot={handleError:({error:n})=>{console.error(n)},reroute:()=>{}};export{At as dictionary,Ot as hooks,xt as matchers,pt as nodes,Lt as root,kt as server_loads}; diff --git a/docs/_app/immutable/entry/start.B0wmHSmQ.js b/docs/_app/immutable/entry/start.B0wmHSmQ.js new file mode 100644 index 00000000..b445c948 --- /dev/null +++ b/docs/_app/immutable/entry/start.B0wmHSmQ.js @@ -0,0 +1 @@ +import{a as t}from"../chunks/entry.C07_Srvu.js";export{t as start}; diff --git a/docs/_app/immutable/entry/start.Bpw4dvvj.js b/docs/_app/immutable/entry/start.Bpw4dvvj.js deleted file mode 100644 index 142a4742..00000000 --- a/docs/_app/immutable/entry/start.Bpw4dvvj.js +++ /dev/null @@ -1 +0,0 @@ -import{a as t}from"../chunks/entry.Yu3DVtRK.js";export{t as start}; diff --git a/docs/_app/immutable/nodes/0.BEt-IUF-.js b/docs/_app/immutable/nodes/0.1UV5W5pH.js similarity index 97% rename from docs/_app/immutable/nodes/0.BEt-IUF-.js rename to docs/_app/immutable/nodes/0.1UV5W5pH.js index ac420576..73dd62db 100644 --- a/docs/_app/immutable/nodes/0.BEt-IUF-.js +++ b/docs/_app/immutable/nodes/0.1UV5W5pH.js @@ -1 +1 @@ -import{e as ne}from"../chunks/index.CzR0xuCU.js";import{e as d,a as h,t as g,s as z}from"../chunks/disclose-version.CmtI0EPl.js";import{p as Z,Q as J,R as ve,f as ee,t as p,a as ae,w as e,s as v,v as n,P as y,c as i,r,M as K,aE as U,aF as ue}from"../chunks/runtime.B3Do0ZXm.js";import{s as pe}from"../chunks/Brush.html.DSgXU-YJ.js";import{i as se}from"../chunks/lifecycle.B5gl02A_.js";import{p as te,b as ce}from"../chunks/index-client.CfugqxwE.js";import{i as V}from"../chunks/if.DMXaGV_-.js";import{e as X,i as Y,a as C}from"../chunks/class.B1rLQBbq.js";import{b as de}from"../chunks/select.D9Eu9FIL.js";import{s as _e,a as me}from"../chunks/store.C8KVTQwS.js";import{g as fe}from"../chunks/entry.Yu3DVtRK.js";import{p as he}from"../chunks/stores.BbGttWuu.js";import{G as ge}from"../chunks/GuideContents.BiWaB4Wu.js";import{e as ke}from"../chunks/_examples.Dxdjqc8E.js";import{e as xe}from"../chunks/_examples_ssr.BkbL8euZ.js";const be=!0,$e="never";async function ye({fetch:k}){const u=await k("/api/guide-sections.json"),_=await u.json();if(u.status===200)return{sections:_};ne(500,`Could not load guide sections: ${_.message}`)}const Ie=Object.freeze(Object.defineProperty({__proto__:null,load:ye,prerender:be,trailingSlash:$e},Symbol.toStringTag,{value:"Module"}));var Ce=g(""),Se=g(""),we=g(""),je=g(""),Te=g('
',1);function Ge(k,u){Z(u,!1);const _=_e(),c=()=>me(he,"$page",_),m=y();let S=te(u,"sections",8),x=y(),o=y(""),l=y(!1),f=y();const A=s=>s.split(" (")[0];function le(){n(l,!1),fe(this.value||"/")}function E(){e(l)?setTimeout(()=>{e(l)||U(f,e(f).scrollTop=0)},350):U(f,e(f).scrollTop=0),n(l,!e(l))}J(()=>c(),()=>{n(m,c().url.pathname==="/service-worker.js")}),J(()=>(e(m),e(x),c()),()=>{e(m)||(n(x,c().url.pathname),n(o,`/${e(x).replace("/","")}`))}),ve(),se();var F=Te(),w=ee(F),G=v(w,2),b=i(G),oe=i(b);r(b),K(2),r(G);var M=v(G,2),L=i(M),j=i(L);p(()=>{e(o),ue(()=>{})});var Q=i(j);V(Q,()=>e(o).startsWith("/components"),s=>{var a=Ce(),t={};p(()=>{t!==(t=e(o))&&(a.value=(a.__value=e(o))==null?"":e(o))}),h(s,a)});var R=v(Q);V(R,()=>e(o).startsWith("/guide"),s=>{var a=Se(),t={};p(()=>{t!==(t=e(o))&&(a.value=(a.__value=e(o))==null?"":e(o))}),h(s,a)});var O=v(R);O.value=(O.__value="/")==null?"":"/";var q=v(O,3);X(q,1,()=>ke.slice().sort((s,a)=>s.title{var t=we(),$={},N=i(t);p(()=>z(N,A(e(a).title))),r(t),p(()=>{$!==($=`/example/${e(a).slug??""}`)&&(t.value=(t.__value=`/example/${e(a).slug??""}`)==null?"":`/example/${e(a).slug??""}`)}),h(s,t)});var ie=v(q,3);X(ie,1,()=>xe.slice().sort((s,a)=>s.title{var t=je(),$={},N=i(t);p(()=>z(N,A(e(a).title))),r(t),p(()=>{$!==($=`/example-ssr/${e(a).slug??""}`)&&(t.value=(t.__value=`/example-ssr/${e(a).slug??""}`)==null?"":`/example-ssr/${e(a).slug??""}`)}),h(s,t)}),r(j),r(L),r(M);var T=v(M,2);ce(T,s=>n(f,s),()=>e(f));var P=i(T),W=i(P),B=i(W);r(W);var D=v(W,2),H=i(D);r(D),K(2),r(P);var I=v(P,2),re=i(I);ge(re,{get sections(){return S()},get open(){return e(l)},set open(s){n(l,s)},$$legacy:!0}),r(I),r(T),p(()=>{C(w,`${(e(l)?"open":"closed")??""} mousecatcher svelte-1kuhx2l`),C(b,`menu-link ${(e(l)?"menu-open":"menu-closed")??""} svelte-1kuhx2l`),z(oe,e(l)?"Close":"Menu"),C(T,`${(e(l)?"open":"closed")??""} svelte-1kuhx2l`),C(B,`${(e(o)==="/components"?"active":"")??""} svelte-1kuhx2l`),C(H,`${(e(o)==="/guide"?"active":"")??""} svelte-1kuhx2l`)}),d("click",w,()=>n(l,!1)),d("keypress",w,()=>n(l,!1)),d("click",b,E),d("keypress",b,E),d("change",j,le),de(j,()=>e(o),s=>n(o,s)),d("click",B,()=>n(l,!1)),d("click",H,()=>n(l,!1)),h(k,F),ae()}var Me=g("
",1);function Je(k,u){Z(u,!1);let _=te(u,"data",8);se();var c=Me(),m=ee(c);Ge(m,{get sections(){return _().sections}});var S=v(m,2),x=i(S);pe(x,u,"default",{},null),r(S),h(k,c),ae()}export{Je as component,Ie as universal}; +import{e as ne}from"../chunks/index.CzR0xuCU.js";import{e as d,a as h,t as g,s as z}from"../chunks/disclose-version.CmtI0EPl.js";import{p as Z,Q as J,R as ve,f as ee,t as p,a as ae,w as e,s as v,v as n,P as y,c as i,r,M as K,aE as U,aF as ue}from"../chunks/runtime.B3Do0ZXm.js";import{s as pe}from"../chunks/Brush.html.DSgXU-YJ.js";import{i as se}from"../chunks/lifecycle.B5gl02A_.js";import{p as te,b as ce}from"../chunks/index-client.CfugqxwE.js";import{i as V}from"../chunks/if.DMXaGV_-.js";import{e as X,i as Y,a as C}from"../chunks/class.B1rLQBbq.js";import{b as de}from"../chunks/select.D9Eu9FIL.js";import{s as _e,a as me}from"../chunks/store.C8KVTQwS.js";import{g as fe}from"../chunks/entry.C07_Srvu.js";import{p as he}from"../chunks/stores.DQXSEgIk.js";import{G as ge}from"../chunks/GuideContents.BiWaB4Wu.js";import{e as ke}from"../chunks/_examples.Dxdjqc8E.js";import{e as xe}from"../chunks/_examples_ssr.BkbL8euZ.js";const be=!0,$e="never";async function ye({fetch:k}){const u=await k("/api/guide-sections.json"),_=await u.json();if(u.status===200)return{sections:_};ne(500,`Could not load guide sections: ${_.message}`)}const Ie=Object.freeze(Object.defineProperty({__proto__:null,load:ye,prerender:be,trailingSlash:$e},Symbol.toStringTag,{value:"Module"}));var Ce=g(""),Se=g(""),we=g(""),je=g(""),Te=g('
',1);function Ge(k,u){Z(u,!1);const _=_e(),c=()=>me(he,"$page",_),m=y();let S=te(u,"sections",8),x=y(),o=y(""),l=y(!1),f=y();const A=s=>s.split(" (")[0];function le(){n(l,!1),fe(this.value||"/")}function E(){e(l)?setTimeout(()=>{e(l)||U(f,e(f).scrollTop=0)},350):U(f,e(f).scrollTop=0),n(l,!e(l))}J(()=>c(),()=>{n(m,c().url.pathname==="/service-worker.js")}),J(()=>(e(m),e(x),c()),()=>{e(m)||(n(x,c().url.pathname),n(o,`/${e(x).replace("/","")}`))}),ve(),se();var F=Te(),w=ee(F),G=v(w,2),b=i(G),oe=i(b);r(b),K(2),r(G);var M=v(G,2),L=i(M),j=i(L);p(()=>{e(o),ue(()=>{})});var Q=i(j);V(Q,()=>e(o).startsWith("/components"),s=>{var a=Ce(),t={};p(()=>{t!==(t=e(o))&&(a.value=(a.__value=e(o))==null?"":e(o))}),h(s,a)});var R=v(Q);V(R,()=>e(o).startsWith("/guide"),s=>{var a=Se(),t={};p(()=>{t!==(t=e(o))&&(a.value=(a.__value=e(o))==null?"":e(o))}),h(s,a)});var O=v(R);O.value=(O.__value="/")==null?"":"/";var q=v(O,3);X(q,1,()=>ke.slice().sort((s,a)=>s.title{var t=we(),$={},N=i(t);p(()=>z(N,A(e(a).title))),r(t),p(()=>{$!==($=`/example/${e(a).slug??""}`)&&(t.value=(t.__value=`/example/${e(a).slug??""}`)==null?"":`/example/${e(a).slug??""}`)}),h(s,t)});var ie=v(q,3);X(ie,1,()=>xe.slice().sort((s,a)=>s.title{var t=je(),$={},N=i(t);p(()=>z(N,A(e(a).title))),r(t),p(()=>{$!==($=`/example-ssr/${e(a).slug??""}`)&&(t.value=(t.__value=`/example-ssr/${e(a).slug??""}`)==null?"":`/example-ssr/${e(a).slug??""}`)}),h(s,t)}),r(j),r(L),r(M);var T=v(M,2);ce(T,s=>n(f,s),()=>e(f));var P=i(T),W=i(P),B=i(W);r(W);var D=v(W,2),H=i(D);r(D),K(2),r(P);var I=v(P,2),re=i(I);ge(re,{get sections(){return S()},get open(){return e(l)},set open(s){n(l,s)},$$legacy:!0}),r(I),r(T),p(()=>{C(w,`${(e(l)?"open":"closed")??""} mousecatcher svelte-1kuhx2l`),C(b,`menu-link ${(e(l)?"menu-open":"menu-closed")??""} svelte-1kuhx2l`),z(oe,e(l)?"Close":"Menu"),C(T,`${(e(l)?"open":"closed")??""} svelte-1kuhx2l`),C(B,`${(e(o)==="/components"?"active":"")??""} svelte-1kuhx2l`),C(H,`${(e(o)==="/guide"?"active":"")??""} svelte-1kuhx2l`)}),d("click",w,()=>n(l,!1)),d("keypress",w,()=>n(l,!1)),d("click",b,E),d("keypress",b,E),d("change",j,le),de(j,()=>e(o),s=>n(o,s)),d("click",B,()=>n(l,!1)),d("click",H,()=>n(l,!1)),h(k,F),ae()}var Me=g("
",1);function Je(k,u){Z(u,!1);let _=te(u,"data",8);se();var c=Me(),m=ee(c);Ge(m,{get sections(){return _().sections}});var S=v(m,2),x=i(S);pe(x,u,"default",{},null),r(S),h(k,c),ae()}export{Je as component,Ie as universal}; diff --git a/docs/_app/immutable/nodes/1.B51I9t77.js b/docs/_app/immutable/nodes/1.DCF0QzXw.js similarity index 88% rename from docs/_app/immutable/nodes/1.B51I9t77.js rename to docs/_app/immutable/nodes/1.DCF0QzXw.js index 049dae20..8af4bf47 100644 --- a/docs/_app/immutable/nodes/1.B51I9t77.js +++ b/docs/_app/immutable/nodes/1.DCF0QzXw.js @@ -1 +1 @@ -import{a as h,t as l,s as o}from"../chunks/disclose-version.CmtI0EPl.js";import{p as v,f as _,t as u,a as x,c as p,r as m,s as $}from"../chunks/runtime.B3Do0ZXm.js";import{i as d}from"../chunks/lifecycle.B5gl02A_.js";import{s as b,a as E}from"../chunks/store.C8KVTQwS.js";import{p as j}from"../chunks/stores.BbGttWuu.js";var k=l("

",1);function B(i,f){v(f,!1);const n=b(),t=()=>E(j,"$page",n);d();var a=k(),s=_(a),c=p(s);m(s);var r=$(s,2),g=p(r);m(r),u(()=>{var e;o(c,t().status),o(g,(e=t().error)==null?void 0:e.message)}),h(i,a),x()}export{B as component}; +import{a as h,t as l,s as o}from"../chunks/disclose-version.CmtI0EPl.js";import{p as v,f as _,t as u,a as x,c as p,r as m,s as $}from"../chunks/runtime.B3Do0ZXm.js";import{i as d}from"../chunks/lifecycle.B5gl02A_.js";import{s as b,a as E}from"../chunks/store.C8KVTQwS.js";import{p as j}from"../chunks/stores.DQXSEgIk.js";var k=l("

",1);function B(i,f){v(f,!1);const n=b(),t=()=>E(j,"$page",n);d();var a=k(),s=_(a),c=p(s);m(s);var r=$(s,2),g=p(r);m(r),u(()=>{var e;o(c,t().status),o(g,(e=t().error)==null?void 0:e.message)}),h(i,a),x()}export{B as component}; diff --git a/docs/_app/version.json b/docs/_app/version.json index 60aa738c..4f02f7b7 100644 --- a/docs/_app/version.json +++ b/docs/_app/version.json @@ -1 +1 @@ -{"version":"1729379032155"} \ No newline at end of file +{"version":"1729379101622"} \ No newline at end of file diff --git a/docs/components.html b/docs/components.html index 8e5c8706..b15058fc 100644 --- a/docs/components.html +++ b/docs/components.html @@ -38,24 +38,24 @@ - - + + - + - + - + @@ -76,7 +76,7 @@