diff --git a/README.md b/README.md index 1cb961c..bd3dc52 100644 --- a/README.md +++ b/README.md @@ -17,38 +17,63 @@ npm install "@warren-bank/svelte-glider" ```html - 1 - 2 - 3 - 4 - 5 +

1

+

2

+

3

+

4

+

5

+

6

+

7

+

8

+

9

+

10

+

11

+

12

``` ### CSS -To use the CSS for _Glider.js_, you may import it from the `npm` module: +You may import the _Glider.js_ CSS: ```js -import "glider-js/glider.min.css"; +import 'glider-js/glider.min.css' ``` -or reference the CSS file in your `` (not recommended): +_Note that the `glider-js` module is a dependency of _this_ package. As such, your project can import its CSS file without needing to add `glider-js` as an explicit dependency._ + +_Note that this CSS only includes the minimal set of rules required for basic functionality. You will want to include additional style for proper appearance._ + +Additionally, _this_ package exposes a CSS file containing minimal appearance styling intended to provide sane defaults. The above [usage example](#usage) is styled by this CSS file: + +```js +import '@warren-bank/svelte-glider/glider.defaults.css' +``` + +Though CSS bundling is recommended, if necessary, both of these CSS files could be included into an HTML document by external links: ```html + + ``` diff --git a/defaults/glider.defaults.css b/defaults/glider.defaults.css new file mode 100644 index 0000000..7694bc9 --- /dev/null +++ b/defaults/glider.defaults.css @@ -0,0 +1,53 @@ +.glider-contain > .glider-prev, +.glider-contain > .glider-next { + font-size: 2.5rem; + width: 3.125rem; + height: 3.125rem; + line-height: 3.125rem; + text-align: center; + top: calc(50% - 3.125rem/2); +} +.glider-contain > .glider-prev { + left: 0; +} +.glider-contain > .glider-next { + right: 0; +} + +.glider-contain > .glider { + margin: 0 3.125rem; + height: 300px; +} +.glider-contain > .glider > .glider-track { + height: 100%; +} + +.glider-contain > .glider-dots { + margin-top: 15px; +} + +.glider-contain > .glider .glider-slide { + background: white; + display: flex; + justify-content: center; + align-items: center; + border: 1px solid #f5f5f5; +} +.glider-contain > .glider .glider-slide h1 { + color: #8cc9f0; + font-weight: bold; +} +.glider-contain > .glider .glider-slide:nth-child(2n) h1 { + color: #a89cc8; +} +.glider-contain > .glider .glider-slide:nth-child(3n) h1 { + color: #efa8b0; +} + +.glider-contain > .glider.gradient-outline { + border: 3px solid !important; + border-image: linear-gradient(to right, #8cc9f0, #efa8b0, #a89cc8) 5 !important; +} +.glider-contain > .glider.hide-scrollbar { + overflow: hidden; +} diff --git a/docs/build/_app/immutable/chunks/entry.CfnwebpS.js b/docs/build/_app/immutable/chunks/entry.CfnwebpS.js deleted file mode 100644 index ab95299..0000000 --- a/docs/build/_app/immutable/chunks/entry.CfnwebpS.js +++ /dev/null @@ -1,4 +0,0 @@ -import{n as lt,s as le,t as fe}from"./scheduler.DiDVusXj.js";new URL("sveltekit-internal://");function ue(t,n){return t==="/"||n==="ignore"?t:n==="never"?t.endsWith("/")?t.slice(0,-1):t:n==="always"&&!t.endsWith("/")?t+"/":t}function de(t){return t.split("%25").map(decodeURI).join("%25")}function he(t){for(const n in t)t[n]=decodeURIComponent(t[n]);return t}function ft({href:t}){return t.split("#")[0]}const pe=["href","pathname","search","toString","toJSON"];function ge(t,n,e){const a=new URL(t);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(r,o){if(o==="get"||o==="getAll"||o==="has")return s=>(e(s),r[o](s));n();const i=Reflect.get(r,o);return typeof i=="function"?i.bind(r):i}}),enumerable:!0,configurable:!0});for(const r of pe)Object.defineProperty(a,r,{get(){return n(),t[r]},enumerable:!0,configurable:!0});return a}const me="/__data.json",_e=".html__data.json";function ye(t){return t.endsWith(".html")?t.replace(/\.html$/,_e):t.replace(/\/$/,"")+me}function we(...t){let n=5381;for(const e of t)if(typeof e=="string"){let a=e.length;for(;a;)n=n*33^e.charCodeAt(--a)}else if(ArrayBuffer.isView(e)){const a=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);let r=a.length;for(;r;)n=n*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function ve(t){const n=atob(t),e=new Uint8Array(n.length);for(let a=0;a((t instanceof Request?t.method:(n==null?void 0:n.method)||"GET")!=="GET"&&G.delete(mt(t)),Vt(t,n));const G=new Map;function be(t,n){const e=mt(t,n),a=document.querySelector(e);if(a!=null&&a.textContent){let{body:r,...o}=JSON.parse(a.textContent);const i=a.getAttribute("data-ttl");return i&&G.set(e,{body:r,init:o,ttl:1e3*Number(i)}),a.getAttribute("data-b64")!==null&&(r=ve(r)),Promise.resolve(new Response(r,o))}return window.fetch(t,n)}function Ee(t,n,e){if(G.size>0){const a=mt(t,e),r=G.get(a);if(r){if(performance.now(){const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return n.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const i=a.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return ut(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return ut(String.fromCharCode(...c.slice(2).split("-").map(f=>parseInt(f,16))));const u=ke.exec(c),[,h,g,d,_]=u;return n.push({name:d,matcher:_,optional:!!h,rest:!!g,chained:g?l===1&&i[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return ut(c)}).join("")}).join("")}/?$`),params:n}}function Ae(t){return!/^\([^)]+\)$/.test(t)}function Re(t){return t.slice(1).split("/").filter(Ae)}function Ie(t,n,e){const a={},r=t.slice(1),o=r.filter(s=>s!==void 0);let i=0;for(let s=0;su).join("/"),i=0),l===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||e[c.matcher](l)){a[c.name]=l;const u=n[s+1],h=r[s+1];u&&!u.rest&&u.optional&&h&&c.chained&&(i=0),!u&&!h&&Object.keys(a).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return a}function ut(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Le({nodes:t,server_loads:n,dictionary:e,matchers:a}){const r=new Set(n);return Object.entries(e).map(([s,[c,l,u]])=>{const{pattern:h,params:g}=Se(s),d={id:s,exec:_=>{const f=h.exec(_);if(f)return Ie(f,g,a)},errors:[1,...u||[]].map(_=>t[_]),layouts:[0,...l||[]].map(i),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(s){const c=s<0;return c&&(s=~s),[c,t[s]]}function i(s){return s===void 0?s:[r.has(s),t[s]]}}function Ft(t,n=JSON.parse){try{return n(sessionStorage[t])}catch{}}function Pt(t,n,e=JSON.stringify){const a=e(n);try{sessionStorage[t]=a}catch{}}const O=[];function _t(t,n=lt){let e;const a=new Set;function r(s){if(le(t,s)&&(t=s,e)){const c=!O.length;for(const l of a)l[1](),O.push(l,t);if(c){for(let l=0;l{a.delete(l),a.size===0&&e&&(e(),e=null)}}return{set:r,update:o,subscribe:i}}var Dt;const P=((Dt=globalThis.__sveltekit_vp8i8t)==null?void 0:Dt.base)??"";var Ct;const Pe=((Ct=globalThis.__sveltekit_vp8i8t)==null?void 0:Ct.assets)??P,Te="1717662409676",qt="sveltekit:snapshot",Gt="sveltekit:scroll",Mt="sveltekit:states",Ue="sveltekit:pageurl",D="sveltekit:history",H="sveltekit:navigation",J={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},z=location.origin;function Ht(t){if(t instanceof URL)return t;let n=document.baseURI;if(!n){const e=document.getElementsByTagName("base");n=e.length?e[0].href:document.URL}return new URL(t,n)}function yt(){return{x:pageXOffset,y:pageYOffset}}function j(t,n){return t.getAttribute(`data-sveltekit-${n}`)}const Tt={...J,"":J.hover};function Bt(t){let n=t.assignedSlot??t.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function Kt(t,n){for(;t&&t!==n;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=Bt(t)}}function ht(t,n){let e;try{e=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI)}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,r=!e||!!a||at(e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(e==null?void 0:e.origin)===z&&t.hasAttribute("download");return{url:e,external:r,target:a,download:o}}function W(t){let n=null,e=null,a=null,r=null,o=null,i=null,s=t;for(;s&&s!==document.documentElement;)a===null&&(a=j(s,"preload-code")),r===null&&(r=j(s,"preload-data")),n===null&&(n=j(s,"keepfocus")),e===null&&(e=j(s,"noscroll")),o===null&&(o=j(s,"reload")),i===null&&(i=j(s,"replacestate")),s=Bt(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Tt[a??"off"],preload_data:Tt[r??"off"],keepfocus:c(n),noscroll:c(e),reload:c(o),replace_state:c(i)}}function Ut(t){const n=_t(t);let e=!0;function a(){e=!0,n.update(i=>i)}function r(i){e=!1,n.set(i)}function o(i){let s;return n.subscribe(c=>{(s===void 0||e&&c!==s)&&i(s=c)})}return{notify:a,set:r,subscribe:o}}function xe(){const{set:t,subscribe:n}=_t(!1);let e;async function a(){clearTimeout(e);try{const r=await fetch(`${Pe}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const i=(await r.json()).version!==Te;return i&&(t(!0),clearTimeout(e)),i}catch{return!1}}return{subscribe:n,check:a}}function at(t,n){return t.origin!==z||!t.pathname.startsWith(n)}const Ne=-1,Oe=-2,je=-3,$e=-4,De=-5,Ce=-6;function Ve(t,n){if(typeof t=="number")return r(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const e=t,a=Array(e.length);function r(o,i=!1){if(o===Ne)return;if(o===je)return NaN;if(o===$e)return 1/0;if(o===De)return-1/0;if(o===Ce)return-0;if(i)throw new Error("Invalid input");if(o in a)return a[o];const s=e[o];if(!s||typeof s!="object")a[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],l=n==null?void 0:n[c];if(l)return a[o]=l(r(s[1]));switch(c){case"Date":a[o]=new Date(s[1]);break;case"Set":const u=new Set;a[o]=u;for(let d=1;dn!=null)}class rt{constructor(n,e){this.status=n,typeof e=="string"?this.body={message:e}:e?this.body=e:this.body={message:`Error: ${n}`}}toString(){return JSON.stringify(this.body)}}class Yt{constructor(n,e){this.status=n,this.location=e}}class wt extends Error{constructor(n,e,a){super(a),this.status=n,this.text=e}}const Ge="x-sveltekit-invalidated",Me="x-sveltekit-trailing-slash";function X(t){return t instanceof rt||t instanceof wt?t.status:500}function He(t){return t instanceof wt?t.text:"Internal Error"}const N=Ft(Gt)??{},B=Ft(qt)??{},U={url:Ut({}),page:Ut({}),navigating:_t(null),updated:xe()};function vt(t){N[t]=yt()}function Be(t,n){let e=t+1;for(;N[e];)delete N[e],e+=1;for(e=n+1;B[e];)delete B[e],e+=1}function V(t){return location.href=t.href,new Promise(()=>{})}function xt(){}let ot,pt,Z,T,gt,F;const Jt=[],Q=[];let R=null;const Wt=[],Ke=[];let $=[],y={branch:[],error:null,url:null},bt=!1,tt=!1,Nt=!0,K=!1,q=!1,Xt=!1,Et=!1,kt,S,L,I,et;const M=new Set;async function an(t,n,e){var r,o;document.URL!==location.href&&(location.href=location.href),F=t,ot=Le(t),T=document.documentElement,gt=n,pt=t.nodes[0],Z=t.nodes[1],pt(),Z(),S=(r=history.state)==null?void 0:r[D],L=(o=history.state)==null?void 0:o[H],S||(S=L=Date.now(),history.replaceState({...history.state,[D]:S,[H]:L},""));const a=N[S];a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y)),e?await tn(gt,e):Ze(location.href,{replaceState:!0}),Qe()}function ze(){Jt.length=0,Et=!1}function Zt(t){Q.some(n=>n==null?void 0:n.snapshot)&&(B[t]=Q.map(n=>{var e;return(e=n==null?void 0:n.snapshot)==null?void 0:e.capture()}))}function Qt(t){var n;(n=B[t])==null||n.forEach((e,a)=>{var r,o;(o=(r=Q[a])==null?void 0:r.snapshot)==null||o.restore(e)})}function Ot(){vt(S),Pt(Gt,N),Zt(L),Pt(qt,B)}async function te(t,n,e,a){return Y({type:"goto",url:Ht(t),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:e,nav_token:a,accept:()=>{n.invalidateAll&&(Et=!0)}})}async function Ye(t){if(t.id!==(R==null?void 0:R.id)){const n={};M.add(n),R={id:t.id,token:n,promise:ne({...t,preload:n}).then(e=>(M.delete(n),e.type==="loaded"&&e.state.error&&(R=null),e))}}return R.promise}async function dt(t){const n=ot.find(e=>e.exec(ae(t)));n&&await Promise.all([...n.layouts,n.leaf].map(e=>e==null?void 0:e[1]()))}function ee(t,n,e){var o;y=t.state;const a=document.querySelector("style[data-sveltekit]");a&&a.remove(),I=t.props.page,kt=new F.root({target:n,props:{...t.props,stores:U,components:Q},hydrate:e}),Qt(L);const r={from:null,to:{params:y.params,route:{id:((o=y.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};$.forEach(i=>i(r)),tt=!0}async function nt({url:t,params:n,branch:e,status:a,error:r,route:o,form:i}){let s="never";if(P&&(t.pathname===P||t.pathname===P+"/"))s="always";else for(const d of e)(d==null?void 0:d.slash)!==void 0&&(s=d.slash);t.pathname=ue(t.pathname,s),t.search=t.search;const c={type:"loaded",state:{url:t,params:n,branch:e,error:r,route:o},props:{constructors:qe(e).map(d=>d.node.component),page:I}};i!==void 0&&(c.props.form=i);let l={},u=!I,h=0;for(let d=0;d(s&&(c.route=!0),f[m])}),params:new Proxy(a,{get:(f,m)=>(s&&c.params.add(m),f[m])}),data:(o==null?void 0:o.data)??null,url:ge(e,()=>{s&&(c.url=!0)},f=>{s&&c.search_params.add(f)}),async fetch(f,m){let b;f instanceof Request?(b=f.url,m={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:f.headers,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...m}):b=f;const A=new URL(b,e);return s&&d(A.href),A.origin===e.origin&&(b=A.href.slice(e.origin.length)),tt?Ee(b,A.href,m):be(b,m)},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),n()},untrack(f){s=!1;try{return f()}finally{s=!0}}};i=await l.universal.load.call(null,_)??null}return{node:l,loader:t,server:o,universal:(h=l.universal)!=null&&h.load?{type:"data",data:i,uses:c}:null,data:i??(o==null?void 0:o.data)??null,slash:((g=l.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function jt(t,n,e,a,r,o){if(Et)return!0;if(!r)return!1;if(r.parent&&t||r.route&&n||r.url&&e)return!0;for(const i of r.search_params)if(a.has(i))return!0;for(const i of r.params)if(o[i]!==y.params[i])return!0;for(const i of r.dependencies)if(Jt.some(s=>s(new URL(i))))return!0;return!1}function At(t,n){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?n??null:null}function Je(t,n){if(!t)return new Set(n.searchParams.keys());const e=new Set([...t.searchParams.keys(),...n.searchParams.keys()]);for(const a of e){const r=t.searchParams.getAll(a),o=n.searchParams.getAll(a);r.every(i=>o.includes(i))&&o.every(i=>r.includes(i))&&e.delete(a)}return e}function $t({error:t,url:n,route:e,params:a}){return{type:"loaded",state:{error:t,url:n,route:e,params:a,branch:[]},props:{page:I,constructors:[]}}}async function ne({id:t,invalidating:n,url:e,params:a,route:r,preload:o}){if((R==null?void 0:R.id)===t)return M.delete(R.token),R.promise;const{errors:i,layouts:s,leaf:c}=r,l=[...s,c];i.forEach(p=>p==null?void 0:p().catch(()=>{})),l.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let u=null;const h=y.url?t!==y.url.pathname+y.url.search:!1,g=y.route?r.id!==y.route.id:!1,d=Je(y.url,e);let _=!1;const f=l.map((p,v)=>{var x;const E=y.branch[v],k=!!(p!=null&&p[0])&&((E==null?void 0:E.loader)!==p[1]||jt(_,g,h,d,(x=E.server)==null?void 0:x.uses,a));return k&&(_=!0),k});if(f.some(Boolean)){try{u=await se(e,f)}catch(p){const v=await C(p,{url:e,params:a,route:{id:t}});return M.has(o)?$t({error:v,url:e,params:a,route:r}):st({status:X(p),error:v,url:e,route:r})}if(u.type==="redirect")return u}const m=u==null?void 0:u.nodes;let b=!1;const A=l.map(async(p,v)=>{var it;if(!p)return;const E=y.branch[v],k=m==null?void 0:m[v];if((!k||k.type==="skip")&&p[1]===(E==null?void 0:E.loader)&&!jt(b,g,h,d,(it=E.universal)==null?void 0:it.uses,a))return E;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return St({loader:p[1],url:e,params:a,route:r,parent:async()=>{var Lt;const It={};for(let ct=0;ct{});const w=[];for(let p=0;pPromise.resolve({}),server_data_node:At(o)}),c={node:await Z(),loader:Z,universal:null,server:null,data:null};return await nt({url:e,params:r,branch:[s,c],status:t,error:n,route:null})}function Rt(t,n){if(!t||at(t,P))return;let e;try{e=F.hooks.reroute({url:new URL(t)})??t.pathname}catch{return}const a=ae(e);for(const r of ot){const o=r.exec(a);if(o)return{id:t.pathname+t.search,invalidating:n,route:r,params:he(o),url:t}}}function ae(t){return de(t.slice(P.length)||"/")}function re({url:t,type:n,intent:e,delta:a}){let r=!1;const o=ce(y,e,t,n);a!==void 0&&(o.navigation.delta=a);const i={...o.navigation,cancel:()=>{r=!0,o.reject(new Error("navigation cancelled"))}};return K||Wt.forEach(s=>s(i)),r?null:o}async function Y({type:t,url:n,popped:e,keepfocus:a,noscroll:r,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:l=xt,block:u=xt}){const h=Rt(n,!1),g=re({url:n,type:t,delta:e==null?void 0:e.delta,intent:h});if(!g){u();return}const d=S,_=L;l(),K=!0,tt&&U.navigating.set(g.navigation),et=c;let f=h&&await ne(h);if(!f){if(at(n,P))return await V(n);f=await oe(n,{id:null},await C(new wt(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,et!==c)return g.reject(new Error("navigation aborted")),!1;if(f.type==="redirect")if(s>=20)f=await st({status:500,error:await C(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return te(new URL(f.location,n).href,{},s+1,c),!1;else f.props.page.status>=400&&await U.updated.check()&&await V(n);if(ze(),vt(d),Zt(_),f.props.page.url.pathname!==n.pathname&&(n.pathname=f.props.page.url.pathname),i=e?e.state:i,!e){const w=o?0:1,p={[D]:S+=w,[H]:L+=w,[Mt]:i};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Be(S,L)}if(R=null,f.props.page.state=i,tt){y=f.state,f.props.page&&(f.props.page.url=n);const w=(await Promise.all(Ke.map(p=>p(g.navigation)))).filter(p=>typeof p=="function");if(w.length>0){let p=function(){$=$.filter(v=>!w.includes(v))};w.push(p),$.push(...w)}kt.$set(f.props),Xt=!0}else ee(f,gt,!1);const{activeElement:m}=document;await fe();const b=e?e.scroll:r?yt():null;if(Nt){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):w?w.scrollIntoView():scrollTo(0,0)}const A=document.activeElement!==m&&document.activeElement!==document.body;!a&&!A&&en(),Nt=!0,f.props.page&&(I=f.props.page),K=!1,t==="popstate"&&Qt(L),g.fulfil(void 0),$.forEach(w=>w(g.navigation)),U.navigating.set(null)}async function oe(t,n,e,a){return t.origin===z&&t.pathname===location.pathname&&!bt?await st({status:a,error:e,url:t,route:n}):await V(t)}function Xe(){let t;T.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(t),t=setTimeout(()=>{a(i,2)},20)});function n(o){a(o.composedPath()[0],1)}T.addEventListener("mousedown",n),T.addEventListener("touchstart",n,{passive:!0});const e=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(dt(i.target.href),e.unobserve(i.target))},{threshold:0});function a(o,i){const s=Kt(o,T);if(!s)return;const{url:c,external:l,download:u}=ht(s,P);if(l||u)return;const h=W(s);if(!h.reload)if(i<=h.preload_data){const g=Rt(c,!1);g&&Ye(g)}else i<=h.preload_code&&dt(c.pathname)}function r(){e.disconnect();for(const o of T.querySelectorAll("a")){const{url:i,external:s,download:c}=ht(o,P);if(s||c)continue;const l=W(o);l.reload||(l.preload_code===J.viewport&&e.observe(o),l.preload_code===J.eager&&dt(i.pathname))}}$.push(r),r()}function C(t,n){if(t instanceof rt)return t.body;const e=X(t),a=He(t);return F.hooks.handleError({error:t,event:n,status:e,message:a})??{message:a}}function Ze(t,n={}){return t=Ht(t),t.origin!==z?Promise.reject(new Error("goto: invalid URL")):te(t,n,0)}function Qe(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",e=>{let a=!1;if(Ot(),!K){const r=ce(y,void 0,null,"leave"),o={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Wt.forEach(i=>i(o))}a?(e.preventDefault(),e.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ot()}),(n=navigator.connection)!=null&&n.saveData||Xe(),T.addEventListener("click",async e=>{var g;if(e.button||e.which!==1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.defaultPrevented)return;const a=Kt(e.composedPath()[0],T);if(!a)return;const{url:r,external:o,target:i,download:s}=ht(a,P);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=W(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;if(o||c.reload){re({url:r,type:"link"})?K=!0:e.preventDefault();return}const[u,h]=r.href.split("#");if(h!==void 0&&u===ft(location)){const[,d]=y.url.href.split("#");if(d===h){e.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=a.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(q=!0,vt(S),t(r),!c.replace_state)return;q=!1}e.preventDefault(),await new Promise(d=>{requestAnimationFrame(()=>{setTimeout(d,0)}),setTimeout(d,100)}),Y({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href})}),T.addEventListener("submit",e=>{if(e.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(e.target),r=e.submitter;if(((r==null?void 0:r.formMethod)||a.method)!=="get")return;const i=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(at(i,P))return;const s=e.target,c=W(s);if(c.reload)return;e.preventDefault(),e.stopPropagation();const l=new FormData(s),u=r==null?void 0:r.getAttribute("name");u&&l.append(u,(r==null?void 0:r.getAttribute("value"))??""),i.search=new URLSearchParams(l).toString(),Y({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href})}),addEventListener("popstate",async e=>{var a;if((a=e.state)!=null&&a[D]){const r=e.state[D];if(et={},r===S)return;const o=N[r],i=e.state[Mt]??{},s=new URL(e.state[Ue]??location.href),c=e.state[H],l=ft(location)===ft(y.url);if(c===L&&(Xt||l)){t(s),N[S]=yt(),o&&scrollTo(o.x,o.y),i!==I.state&&(I={...I,state:i},kt.$set({page:I})),S=r;return}const h=r-S;await Y({type:"popstate",url:s,popped:{state:i,scroll:o,delta:h},accept:()=>{S=r,L=c},block:()=>{history.go(-h)},nav_token:et})}else if(!q){const r=new URL(location.href);t(r)}}),addEventListener("hashchange",()=>{q&&(q=!1,history.replaceState({...history.state,[D]:++S,[H]:L},"",location.href))});for(const e of document.querySelectorAll("link"))e.rel==="icon"&&(e.href=e.href);addEventListener("pageshow",e=>{e.persisted&&U.navigating.set(null)});function t(e){y.url=e,U.page.set({...I,url:e}),U.page.notify()}}async function tn(t,{status:n=200,error:e,node_ids:a,params:r,route:o,data:i,form:s}){bt=!0;const c=new URL(location.href);({params:r={},route:o={id:null}}=Rt(c,!1)||{});let l;try{const u=a.map(async(d,_)=>{const f=i[_];return f!=null&&f.uses&&(f.uses=ie(f.uses)),St({loader:F.nodes[d],url:c,params:r,route:o,parent:async()=>{const m={};for(let b=0;b<_;b+=1)Object.assign(m,(await u[b]).data);return m},server_data_node:At(f)})}),h=await Promise.all(u),g=ot.find(({id:d})=>d===o.id);if(g){const d=g.layouts;for(let _=0;_o?"1":"0").join(""));const a=await Vt(e.href);if(!a.ok){let o;throw(r=a.headers.get("content-type"))!=null&&r.includes("application/json")?o=await a.json():a.status===404?o="Not Found":a.status===500&&(o="Internal Error"),new rt(a.status,o)}return new Promise(async o=>{var h;const i=new Map,s=a.body.getReader(),c=new TextDecoder;function l(g){return Ve(g,{Promise:d=>new Promise((_,f)=>{i.set(d,{fulfil:_,reject:f})})})}let u="";for(;;){const{done:g,value:d}=await s.read();if(g&&!u)break;for(u+=!d&&u?` -`:c.decode(d,{stream:!0});;){const _=u.indexOf(` -`);if(_===-1)break;const f=JSON.parse(u.slice(0,_));if(u=u.slice(_+1),f.type==="redirect")return o(f);if(f.type==="data")(h=f.nodes)==null||h.forEach(m=>{(m==null?void 0:m.type)==="data"&&(m.uses=ie(m.uses),m.data=l(m.data))}),o(f);else if(f.type==="chunk"){const{id:m,data:b,error:A}=f,w=i.get(m);i.delete(m),A?w.reject(l(A)):w.fulfil(l(b))}}}})}function ie(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url),search_params:new Set((t==null?void 0:t.search_params)??[])}}function en(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const n=document.body,e=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),e!==null?n.setAttribute("tabindex",e):n.removeAttribute("tabindex");const a=getSelection();if(a&&a.type!=="None"){const r=[];for(let o=0;o{if(a.rangeCount===r.length){for(let o=0;o{r=u,o=h});return i.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:e&&{params:(n==null?void 0:n.params)??null,route:{id:((l=n==null?void 0:n.route)==null?void 0:l.id)??null},url:e},willUnload:!n,type:a,complete:i},fulfil:r,reject:o}}export{an as a,U as s}; -//# sourceMappingURL=entry.CfnwebpS.js.map diff --git a/docs/build/_app/immutable/chunks/entry.ltnidPkD.js b/docs/build/_app/immutable/chunks/entry.ltnidPkD.js new file mode 100644 index 0000000..bb0abef --- /dev/null +++ b/docs/build/_app/immutable/chunks/entry.ltnidPkD.js @@ -0,0 +1,4 @@ +import{n as lt,s as le,t as fe}from"./scheduler.DiDVusXj.js";new URL("sveltekit-internal://");function ue(t,n){return t==="/"||n==="ignore"?t:n==="never"?t.endsWith("/")?t.slice(0,-1):t:n==="always"&&!t.endsWith("/")?t+"/":t}function de(t){return t.split("%25").map(decodeURI).join("%25")}function he(t){for(const n in t)t[n]=decodeURIComponent(t[n]);return t}function ft({href:t}){return t.split("#")[0]}const pe=["href","pathname","search","toString","toJSON"];function ge(t,n,e){const a=new URL(t);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(r,o){if(o==="get"||o==="getAll"||o==="has")return s=>(e(s),r[o](s));n();const i=Reflect.get(r,o);return typeof i=="function"?i.bind(r):i}}),enumerable:!0,configurable:!0});for(const r of pe)Object.defineProperty(a,r,{get(){return n(),t[r]},enumerable:!0,configurable:!0});return a}const me="/__data.json",_e=".html__data.json";function ye(t){return t.endsWith(".html")?t.replace(/\.html$/,_e):t.replace(/\/$/,"")+me}function we(...t){let n=5381;for(const e of t)if(typeof e=="string"){let a=e.length;for(;a;)n=n*33^e.charCodeAt(--a)}else if(ArrayBuffer.isView(e)){const a=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);let r=a.length;for(;r;)n=n*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function ve(t){const n=atob(t),e=new Uint8Array(n.length);for(let a=0;a((t instanceof Request?t.method:(n==null?void 0:n.method)||"GET")!=="GET"&&G.delete(mt(t)),Vt(t,n));const G=new Map;function be(t,n){const e=mt(t,n),a=document.querySelector(e);if(a!=null&&a.textContent){let{body:r,...o}=JSON.parse(a.textContent);const i=a.getAttribute("data-ttl");return i&&G.set(e,{body:r,init:o,ttl:1e3*Number(i)}),a.getAttribute("data-b64")!==null&&(r=ve(r)),Promise.resolve(new Response(r,o))}return window.fetch(t,n)}function Ee(t,n,e){if(G.size>0){const a=mt(t,e),r=G.get(a);if(r){if(performance.now(){const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return n.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const i=a.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return ut(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return ut(String.fromCharCode(...c.slice(2).split("-").map(f=>parseInt(f,16))));const u=ke.exec(c),[,h,g,d,_]=u;return n.push({name:d,matcher:_,optional:!!h,rest:!!g,chained:g?l===1&&i[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return ut(c)}).join("")}).join("")}/?$`),params:n}}function Ae(t){return!/^\([^)]+\)$/.test(t)}function Re(t){return t.slice(1).split("/").filter(Ae)}function Ie(t,n,e){const a={},r=t.slice(1),o=r.filter(s=>s!==void 0);let i=0;for(let s=0;su).join("/"),i=0),l===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||e[c.matcher](l)){a[c.name]=l;const u=n[s+1],h=r[s+1];u&&!u.rest&&u.optional&&h&&c.chained&&(i=0),!u&&!h&&Object.keys(a).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return a}function ut(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Le({nodes:t,server_loads:n,dictionary:e,matchers:a}){const r=new Set(n);return Object.entries(e).map(([s,[c,l,u]])=>{const{pattern:h,params:g}=Se(s),d={id:s,exec:_=>{const f=h.exec(_);if(f)return Ie(f,g,a)},errors:[1,...u||[]].map(_=>t[_]),layouts:[0,...l||[]].map(i),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(s){const c=s<0;return c&&(s=~s),[c,t[s]]}function i(s){return s===void 0?s:[r.has(s),t[s]]}}function Ft(t,n=JSON.parse){try{return n(sessionStorage[t])}catch{}}function Pt(t,n,e=JSON.stringify){const a=e(n);try{sessionStorage[t]=a}catch{}}const O=[];function _t(t,n=lt){let e;const a=new Set;function r(s){if(le(t,s)&&(t=s,e)){const c=!O.length;for(const l of a)l[1](),O.push(l,t);if(c){for(let l=0;l{a.delete(l),a.size===0&&e&&(e(),e=null)}}return{set:r,update:o,subscribe:i}}var Dt;const P=((Dt=globalThis.__sveltekit_18atg7s)==null?void 0:Dt.base)??"";var Ct;const Pe=((Ct=globalThis.__sveltekit_18atg7s)==null?void 0:Ct.assets)??P,Te="1717716051823",qt="sveltekit:snapshot",Gt="sveltekit:scroll",Mt="sveltekit:states",Ue="sveltekit:pageurl",D="sveltekit:history",H="sveltekit:navigation",J={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},z=location.origin;function Ht(t){if(t instanceof URL)return t;let n=document.baseURI;if(!n){const e=document.getElementsByTagName("base");n=e.length?e[0].href:document.URL}return new URL(t,n)}function yt(){return{x:pageXOffset,y:pageYOffset}}function j(t,n){return t.getAttribute(`data-sveltekit-${n}`)}const Tt={...J,"":J.hover};function Bt(t){let n=t.assignedSlot??t.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function Kt(t,n){for(;t&&t!==n;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=Bt(t)}}function ht(t,n){let e;try{e=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI)}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,r=!e||!!a||at(e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(e==null?void 0:e.origin)===z&&t.hasAttribute("download");return{url:e,external:r,target:a,download:o}}function W(t){let n=null,e=null,a=null,r=null,o=null,i=null,s=t;for(;s&&s!==document.documentElement;)a===null&&(a=j(s,"preload-code")),r===null&&(r=j(s,"preload-data")),n===null&&(n=j(s,"keepfocus")),e===null&&(e=j(s,"noscroll")),o===null&&(o=j(s,"reload")),i===null&&(i=j(s,"replacestate")),s=Bt(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Tt[a??"off"],preload_data:Tt[r??"off"],keepfocus:c(n),noscroll:c(e),reload:c(o),replace_state:c(i)}}function Ut(t){const n=_t(t);let e=!0;function a(){e=!0,n.update(i=>i)}function r(i){e=!1,n.set(i)}function o(i){let s;return n.subscribe(c=>{(s===void 0||e&&c!==s)&&i(s=c)})}return{notify:a,set:r,subscribe:o}}function xe(){const{set:t,subscribe:n}=_t(!1);let e;async function a(){clearTimeout(e);try{const r=await fetch(`${Pe}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const i=(await r.json()).version!==Te;return i&&(t(!0),clearTimeout(e)),i}catch{return!1}}return{subscribe:n,check:a}}function at(t,n){return t.origin!==z||!t.pathname.startsWith(n)}const Ne=-1,Oe=-2,je=-3,$e=-4,De=-5,Ce=-6;function Ve(t,n){if(typeof t=="number")return r(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const e=t,a=Array(e.length);function r(o,i=!1){if(o===Ne)return;if(o===je)return NaN;if(o===$e)return 1/0;if(o===De)return-1/0;if(o===Ce)return-0;if(i)throw new Error("Invalid input");if(o in a)return a[o];const s=e[o];if(!s||typeof s!="object")a[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],l=n==null?void 0:n[c];if(l)return a[o]=l(r(s[1]));switch(c){case"Date":a[o]=new Date(s[1]);break;case"Set":const u=new Set;a[o]=u;for(let d=1;dn!=null)}class rt{constructor(n,e){this.status=n,typeof e=="string"?this.body={message:e}:e?this.body=e:this.body={message:`Error: ${n}`}}toString(){return JSON.stringify(this.body)}}class Yt{constructor(n,e){this.status=n,this.location=e}}class wt extends Error{constructor(n,e,a){super(a),this.status=n,this.text=e}}const Ge="x-sveltekit-invalidated",Me="x-sveltekit-trailing-slash";function X(t){return t instanceof rt||t instanceof wt?t.status:500}function He(t){return t instanceof wt?t.text:"Internal Error"}const N=Ft(Gt)??{},B=Ft(qt)??{},U={url:Ut({}),page:Ut({}),navigating:_t(null),updated:xe()};function vt(t){N[t]=yt()}function Be(t,n){let e=t+1;for(;N[e];)delete N[e],e+=1;for(e=n+1;B[e];)delete B[e],e+=1}function V(t){return location.href=t.href,new Promise(()=>{})}function xt(){}let ot,pt,Z,T,gt,F;const Jt=[],Q=[];let R=null;const Wt=[],Ke=[];let $=[],y={branch:[],error:null,url:null},bt=!1,tt=!1,Nt=!0,K=!1,q=!1,Xt=!1,Et=!1,kt,S,L,I,et;const M=new Set;async function an(t,n,e){var r,o;document.URL!==location.href&&(location.href=location.href),F=t,ot=Le(t),T=document.documentElement,gt=n,pt=t.nodes[0],Z=t.nodes[1],pt(),Z(),S=(r=history.state)==null?void 0:r[D],L=(o=history.state)==null?void 0:o[H],S||(S=L=Date.now(),history.replaceState({...history.state,[D]:S,[H]:L},""));const a=N[S];a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y)),e?await tn(gt,e):Ze(location.href,{replaceState:!0}),Qe()}function ze(){Jt.length=0,Et=!1}function Zt(t){Q.some(n=>n==null?void 0:n.snapshot)&&(B[t]=Q.map(n=>{var e;return(e=n==null?void 0:n.snapshot)==null?void 0:e.capture()}))}function Qt(t){var n;(n=B[t])==null||n.forEach((e,a)=>{var r,o;(o=(r=Q[a])==null?void 0:r.snapshot)==null||o.restore(e)})}function Ot(){vt(S),Pt(Gt,N),Zt(L),Pt(qt,B)}async function te(t,n,e,a){return Y({type:"goto",url:Ht(t),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:e,nav_token:a,accept:()=>{n.invalidateAll&&(Et=!0)}})}async function Ye(t){if(t.id!==(R==null?void 0:R.id)){const n={};M.add(n),R={id:t.id,token:n,promise:ne({...t,preload:n}).then(e=>(M.delete(n),e.type==="loaded"&&e.state.error&&(R=null),e))}}return R.promise}async function dt(t){const n=ot.find(e=>e.exec(ae(t)));n&&await Promise.all([...n.layouts,n.leaf].map(e=>e==null?void 0:e[1]()))}function ee(t,n,e){var o;y=t.state;const a=document.querySelector("style[data-sveltekit]");a&&a.remove(),I=t.props.page,kt=new F.root({target:n,props:{...t.props,stores:U,components:Q},hydrate:e}),Qt(L);const r={from:null,to:{params:y.params,route:{id:((o=y.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};$.forEach(i=>i(r)),tt=!0}async function nt({url:t,params:n,branch:e,status:a,error:r,route:o,form:i}){let s="never";if(P&&(t.pathname===P||t.pathname===P+"/"))s="always";else for(const d of e)(d==null?void 0:d.slash)!==void 0&&(s=d.slash);t.pathname=ue(t.pathname,s),t.search=t.search;const c={type:"loaded",state:{url:t,params:n,branch:e,error:r,route:o},props:{constructors:qe(e).map(d=>d.node.component),page:I}};i!==void 0&&(c.props.form=i);let l={},u=!I,h=0;for(let d=0;d(s&&(c.route=!0),f[m])}),params:new Proxy(a,{get:(f,m)=>(s&&c.params.add(m),f[m])}),data:(o==null?void 0:o.data)??null,url:ge(e,()=>{s&&(c.url=!0)},f=>{s&&c.search_params.add(f)}),async fetch(f,m){let b;f instanceof Request?(b=f.url,m={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:f.headers,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...m}):b=f;const A=new URL(b,e);return s&&d(A.href),A.origin===e.origin&&(b=A.href.slice(e.origin.length)),tt?Ee(b,A.href,m):be(b,m)},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),n()},untrack(f){s=!1;try{return f()}finally{s=!0}}};i=await l.universal.load.call(null,_)??null}return{node:l,loader:t,server:o,universal:(h=l.universal)!=null&&h.load?{type:"data",data:i,uses:c}:null,data:i??(o==null?void 0:o.data)??null,slash:((g=l.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function jt(t,n,e,a,r,o){if(Et)return!0;if(!r)return!1;if(r.parent&&t||r.route&&n||r.url&&e)return!0;for(const i of r.search_params)if(a.has(i))return!0;for(const i of r.params)if(o[i]!==y.params[i])return!0;for(const i of r.dependencies)if(Jt.some(s=>s(new URL(i))))return!0;return!1}function At(t,n){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?n??null:null}function Je(t,n){if(!t)return new Set(n.searchParams.keys());const e=new Set([...t.searchParams.keys(),...n.searchParams.keys()]);for(const a of e){const r=t.searchParams.getAll(a),o=n.searchParams.getAll(a);r.every(i=>o.includes(i))&&o.every(i=>r.includes(i))&&e.delete(a)}return e}function $t({error:t,url:n,route:e,params:a}){return{type:"loaded",state:{error:t,url:n,route:e,params:a,branch:[]},props:{page:I,constructors:[]}}}async function ne({id:t,invalidating:n,url:e,params:a,route:r,preload:o}){if((R==null?void 0:R.id)===t)return M.delete(R.token),R.promise;const{errors:i,layouts:s,leaf:c}=r,l=[...s,c];i.forEach(p=>p==null?void 0:p().catch(()=>{})),l.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let u=null;const h=y.url?t!==y.url.pathname+y.url.search:!1,g=y.route?r.id!==y.route.id:!1,d=Je(y.url,e);let _=!1;const f=l.map((p,v)=>{var x;const E=y.branch[v],k=!!(p!=null&&p[0])&&((E==null?void 0:E.loader)!==p[1]||jt(_,g,h,d,(x=E.server)==null?void 0:x.uses,a));return k&&(_=!0),k});if(f.some(Boolean)){try{u=await se(e,f)}catch(p){const v=await C(p,{url:e,params:a,route:{id:t}});return M.has(o)?$t({error:v,url:e,params:a,route:r}):st({status:X(p),error:v,url:e,route:r})}if(u.type==="redirect")return u}const m=u==null?void 0:u.nodes;let b=!1;const A=l.map(async(p,v)=>{var it;if(!p)return;const E=y.branch[v],k=m==null?void 0:m[v];if((!k||k.type==="skip")&&p[1]===(E==null?void 0:E.loader)&&!jt(b,g,h,d,(it=E.universal)==null?void 0:it.uses,a))return E;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return St({loader:p[1],url:e,params:a,route:r,parent:async()=>{var Lt;const It={};for(let ct=0;ct{});const w=[];for(let p=0;pPromise.resolve({}),server_data_node:At(o)}),c={node:await Z(),loader:Z,universal:null,server:null,data:null};return await nt({url:e,params:r,branch:[s,c],status:t,error:n,route:null})}function Rt(t,n){if(!t||at(t,P))return;let e;try{e=F.hooks.reroute({url:new URL(t)})??t.pathname}catch{return}const a=ae(e);for(const r of ot){const o=r.exec(a);if(o)return{id:t.pathname+t.search,invalidating:n,route:r,params:he(o),url:t}}}function ae(t){return de(t.slice(P.length)||"/")}function re({url:t,type:n,intent:e,delta:a}){let r=!1;const o=ce(y,e,t,n);a!==void 0&&(o.navigation.delta=a);const i={...o.navigation,cancel:()=>{r=!0,o.reject(new Error("navigation cancelled"))}};return K||Wt.forEach(s=>s(i)),r?null:o}async function Y({type:t,url:n,popped:e,keepfocus:a,noscroll:r,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:l=xt,block:u=xt}){const h=Rt(n,!1),g=re({url:n,type:t,delta:e==null?void 0:e.delta,intent:h});if(!g){u();return}const d=S,_=L;l(),K=!0,tt&&U.navigating.set(g.navigation),et=c;let f=h&&await ne(h);if(!f){if(at(n,P))return await V(n);f=await oe(n,{id:null},await C(new wt(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,et!==c)return g.reject(new Error("navigation aborted")),!1;if(f.type==="redirect")if(s>=20)f=await st({status:500,error:await C(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return te(new URL(f.location,n).href,{},s+1,c),!1;else f.props.page.status>=400&&await U.updated.check()&&await V(n);if(ze(),vt(d),Zt(_),f.props.page.url.pathname!==n.pathname&&(n.pathname=f.props.page.url.pathname),i=e?e.state:i,!e){const w=o?0:1,p={[D]:S+=w,[H]:L+=w,[Mt]:i};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Be(S,L)}if(R=null,f.props.page.state=i,tt){y=f.state,f.props.page&&(f.props.page.url=n);const w=(await Promise.all(Ke.map(p=>p(g.navigation)))).filter(p=>typeof p=="function");if(w.length>0){let p=function(){$=$.filter(v=>!w.includes(v))};w.push(p),$.push(...w)}kt.$set(f.props),Xt=!0}else ee(f,gt,!1);const{activeElement:m}=document;await fe();const b=e?e.scroll:r?yt():null;if(Nt){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):w?w.scrollIntoView():scrollTo(0,0)}const A=document.activeElement!==m&&document.activeElement!==document.body;!a&&!A&&en(),Nt=!0,f.props.page&&(I=f.props.page),K=!1,t==="popstate"&&Qt(L),g.fulfil(void 0),$.forEach(w=>w(g.navigation)),U.navigating.set(null)}async function oe(t,n,e,a){return t.origin===z&&t.pathname===location.pathname&&!bt?await st({status:a,error:e,url:t,route:n}):await V(t)}function Xe(){let t;T.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(t),t=setTimeout(()=>{a(i,2)},20)});function n(o){a(o.composedPath()[0],1)}T.addEventListener("mousedown",n),T.addEventListener("touchstart",n,{passive:!0});const e=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(dt(i.target.href),e.unobserve(i.target))},{threshold:0});function a(o,i){const s=Kt(o,T);if(!s)return;const{url:c,external:l,download:u}=ht(s,P);if(l||u)return;const h=W(s);if(!h.reload)if(i<=h.preload_data){const g=Rt(c,!1);g&&Ye(g)}else i<=h.preload_code&&dt(c.pathname)}function r(){e.disconnect();for(const o of T.querySelectorAll("a")){const{url:i,external:s,download:c}=ht(o,P);if(s||c)continue;const l=W(o);l.reload||(l.preload_code===J.viewport&&e.observe(o),l.preload_code===J.eager&&dt(i.pathname))}}$.push(r),r()}function C(t,n){if(t instanceof rt)return t.body;const e=X(t),a=He(t);return F.hooks.handleError({error:t,event:n,status:e,message:a})??{message:a}}function Ze(t,n={}){return t=Ht(t),t.origin!==z?Promise.reject(new Error("goto: invalid URL")):te(t,n,0)}function Qe(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",e=>{let a=!1;if(Ot(),!K){const r=ce(y,void 0,null,"leave"),o={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Wt.forEach(i=>i(o))}a?(e.preventDefault(),e.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ot()}),(n=navigator.connection)!=null&&n.saveData||Xe(),T.addEventListener("click",async e=>{var g;if(e.button||e.which!==1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.defaultPrevented)return;const a=Kt(e.composedPath()[0],T);if(!a)return;const{url:r,external:o,target:i,download:s}=ht(a,P);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=W(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;if(o||c.reload){re({url:r,type:"link"})?K=!0:e.preventDefault();return}const[u,h]=r.href.split("#");if(h!==void 0&&u===ft(location)){const[,d]=y.url.href.split("#");if(d===h){e.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=a.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(q=!0,vt(S),t(r),!c.replace_state)return;q=!1}e.preventDefault(),await new Promise(d=>{requestAnimationFrame(()=>{setTimeout(d,0)}),setTimeout(d,100)}),Y({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href})}),T.addEventListener("submit",e=>{if(e.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(e.target),r=e.submitter;if(((r==null?void 0:r.formMethod)||a.method)!=="get")return;const i=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(at(i,P))return;const s=e.target,c=W(s);if(c.reload)return;e.preventDefault(),e.stopPropagation();const l=new FormData(s),u=r==null?void 0:r.getAttribute("name");u&&l.append(u,(r==null?void 0:r.getAttribute("value"))??""),i.search=new URLSearchParams(l).toString(),Y({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href})}),addEventListener("popstate",async e=>{var a;if((a=e.state)!=null&&a[D]){const r=e.state[D];if(et={},r===S)return;const o=N[r],i=e.state[Mt]??{},s=new URL(e.state[Ue]??location.href),c=e.state[H],l=ft(location)===ft(y.url);if(c===L&&(Xt||l)){t(s),N[S]=yt(),o&&scrollTo(o.x,o.y),i!==I.state&&(I={...I,state:i},kt.$set({page:I})),S=r;return}const h=r-S;await Y({type:"popstate",url:s,popped:{state:i,scroll:o,delta:h},accept:()=>{S=r,L=c},block:()=>{history.go(-h)},nav_token:et})}else if(!q){const r=new URL(location.href);t(r)}}),addEventListener("hashchange",()=>{q&&(q=!1,history.replaceState({...history.state,[D]:++S,[H]:L},"",location.href))});for(const e of document.querySelectorAll("link"))e.rel==="icon"&&(e.href=e.href);addEventListener("pageshow",e=>{e.persisted&&U.navigating.set(null)});function t(e){y.url=e,U.page.set({...I,url:e}),U.page.notify()}}async function tn(t,{status:n=200,error:e,node_ids:a,params:r,route:o,data:i,form:s}){bt=!0;const c=new URL(location.href);({params:r={},route:o={id:null}}=Rt(c,!1)||{});let l;try{const u=a.map(async(d,_)=>{const f=i[_];return f!=null&&f.uses&&(f.uses=ie(f.uses)),St({loader:F.nodes[d],url:c,params:r,route:o,parent:async()=>{const m={};for(let b=0;b<_;b+=1)Object.assign(m,(await u[b]).data);return m},server_data_node:At(f)})}),h=await Promise.all(u),g=ot.find(({id:d})=>d===o.id);if(g){const d=g.layouts;for(let _=0;_o?"1":"0").join(""));const a=await Vt(e.href);if(!a.ok){let o;throw(r=a.headers.get("content-type"))!=null&&r.includes("application/json")?o=await a.json():a.status===404?o="Not Found":a.status===500&&(o="Internal Error"),new rt(a.status,o)}return new Promise(async o=>{var h;const i=new Map,s=a.body.getReader(),c=new TextDecoder;function l(g){return Ve(g,{Promise:d=>new Promise((_,f)=>{i.set(d,{fulfil:_,reject:f})})})}let u="";for(;;){const{done:g,value:d}=await s.read();if(g&&!u)break;for(u+=!d&&u?` +`:c.decode(d,{stream:!0});;){const _=u.indexOf(` +`);if(_===-1)break;const f=JSON.parse(u.slice(0,_));if(u=u.slice(_+1),f.type==="redirect")return o(f);if(f.type==="data")(h=f.nodes)==null||h.forEach(m=>{(m==null?void 0:m.type)==="data"&&(m.uses=ie(m.uses),m.data=l(m.data))}),o(f);else if(f.type==="chunk"){const{id:m,data:b,error:A}=f,w=i.get(m);i.delete(m),A?w.reject(l(A)):w.fulfil(l(b))}}}})}function ie(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url),search_params:new Set((t==null?void 0:t.search_params)??[])}}function en(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const n=document.body,e=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),e!==null?n.setAttribute("tabindex",e):n.removeAttribute("tabindex");const a=getSelection();if(a&&a.type!=="None"){const r=[];for(let o=0;o{if(a.rangeCount===r.length){for(let o=0;o{r=u,o=h});return i.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:e&&{params:(n==null?void 0:n.params)??null,route:{id:((l=n==null?void 0:n.route)==null?void 0:l.id)??null},url:e},willUnload:!n,type:a,complete:i},fulfil:r,reject:o}}export{an as a,U as s}; +//# sourceMappingURL=entry.ltnidPkD.js.map diff --git a/docs/build/_app/immutable/chunks/entry.CfnwebpS.js.map b/docs/build/_app/immutable/chunks/entry.ltnidPkD.js.map similarity index 99% rename from docs/build/_app/immutable/chunks/entry.CfnwebpS.js.map rename to docs/build/_app/immutable/chunks/entry.ltnidPkD.js.map index f2424b7..6238eb0 100644 --- a/docs/build/_app/immutable/chunks/entry.CfnwebpS.js.map +++ b/docs/build/_app/immutable/chunks/entry.ltnidPkD.js.map @@ -1 +1 @@ -{"version":3,"file":"entry.CfnwebpS.js","sources":["../../../../../../node_modules/@sveltejs/kit/src/utils/url.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/hash.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/utils.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/client/fetcher.js","../../../../../../node_modules/@sveltejs/kit/src/utils/routing.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/client/parse.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/client/session-storage.js","../../../../../../node_modules/svelte/src/runtime/store/index.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/client/constants.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/client/utils.js","../../../../../../node_modules/devalue/src/constants.js","../../../../../../node_modules/devalue/src/parse.js","../../../../../../node_modules/@sveltejs/kit/src/utils/exports.js","../../../../../../node_modules/@sveltejs/kit/src/utils/array.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/control.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/shared.js","../../../../../../node_modules/@sveltejs/kit/src/utils/error.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/client/client.js"],"sourcesContent":["import { BROWSER, DEV } from 'esm-env';\n\n/**\n * Matches a URI scheme. See https://www.rfc-editor.org/rfc/rfc3986#section-3.1\n * @type {RegExp}\n */\nexport const SCHEME = /^[a-z][a-z\\d+\\-.]+:/i;\n\nconst internal = new URL('sveltekit-internal://');\n\n/**\n * @param {string} base\n * @param {string} path\n */\nexport function resolve(base, path) {\n\t// special case\n\tif (path[0] === '/' && path[1] === '/') return path;\n\n\tlet url = new URL(base, internal);\n\turl = new URL(path, url);\n\n\treturn url.protocol === internal.protocol ? url.pathname + url.search + url.hash : url.href;\n}\n\n/** @param {string} path */\nexport function is_root_relative(path) {\n\treturn path[0] === '/' && path[1] !== '/';\n}\n\n/**\n * @param {string} path\n * @param {import('types').TrailingSlash} trailing_slash\n */\nexport function normalize_path(path, trailing_slash) {\n\tif (path === '/' || trailing_slash === 'ignore') return path;\n\n\tif (trailing_slash === 'never') {\n\t\treturn path.endsWith('/') ? path.slice(0, -1) : path;\n\t} else if (trailing_slash === 'always' && !path.endsWith('/')) {\n\t\treturn path + '/';\n\t}\n\n\treturn path;\n}\n\n/**\n * Decode pathname excluding %25 to prevent further double decoding of params\n * @param {string} pathname\n */\nexport function decode_pathname(pathname) {\n\treturn pathname.split('%25').map(decodeURI).join('%25');\n}\n\n/** @param {Record} params */\nexport function decode_params(params) {\n\tfor (const key in params) {\n\t\t// input has already been decoded by decodeURI\n\t\t// now handle the rest\n\t\tparams[key] = decodeURIComponent(params[key]);\n\t}\n\n\treturn params;\n}\n\n/**\n * The error when a URL is malformed is not very helpful, so we augment it with the URI\n * @param {string} uri\n */\nexport function decode_uri(uri) {\n\ttry {\n\t\treturn decodeURI(uri);\n\t} catch (e) {\n\t\tif (e instanceof Error) {\n\t\t\te.message = `Failed to decode URI: ${uri}\\n` + e.message;\n\t\t}\n\t\tthrow e;\n\t}\n}\n\n/**\n * Returns everything up to the first `#` in a URL\n * @param {{href: string}} url_like\n */\nexport function strip_hash({ href }) {\n\treturn href.split('#')[0];\n}\n\n/**\n * URL properties that could change during the lifetime of the page,\n * which excludes things like `origin`\n */\nconst tracked_url_properties = /** @type {const} */ ([\n\t'href',\n\t'pathname',\n\t'search',\n\t'toString',\n\t'toJSON'\n]);\n\n/**\n * @param {URL} url\n * @param {() => void} callback\n * @param {(search_param: string) => void} search_params_callback\n */\nexport function make_trackable(url, callback, search_params_callback) {\n\tconst tracked = new URL(url);\n\n\tObject.defineProperty(tracked, 'searchParams', {\n\t\tvalue: new Proxy(tracked.searchParams, {\n\t\t\tget(obj, key) {\n\t\t\t\tif (key === 'get' || key === 'getAll' || key === 'has') {\n\t\t\t\t\treturn (/**@type {string}*/ param) => {\n\t\t\t\t\t\tsearch_params_callback(param);\n\t\t\t\t\t\treturn obj[key](param);\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t// if they try to access something different from what is in `tracked_search_params_properties`\n\t\t\t\t// we track the whole url (entries, values, keys etc)\n\t\t\t\tcallback();\n\n\t\t\t\tconst value = Reflect.get(obj, key);\n\t\t\t\treturn typeof value === 'function' ? value.bind(obj) : value;\n\t\t\t}\n\t\t}),\n\t\tenumerable: true,\n\t\tconfigurable: true\n\t});\n\n\tfor (const property of tracked_url_properties) {\n\t\tObject.defineProperty(tracked, property, {\n\t\t\tget() {\n\t\t\t\tcallback();\n\t\t\t\treturn url[property];\n\t\t\t},\n\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true\n\t\t});\n\t}\n\n\tif (!BROWSER) {\n\t\t// @ts-ignore\n\t\ttracked[Symbol.for('nodejs.util.inspect.custom')] = (depth, opts, inspect) => {\n\t\t\treturn inspect(url, opts);\n\t\t};\n\t}\n\n\tif (DEV || !BROWSER) {\n\t\tdisable_hash(tracked);\n\t}\n\n\treturn tracked;\n}\n\n/**\n * Disallow access to `url.hash` on the server and in `load`\n * @param {URL} url\n */\nfunction disable_hash(url) {\n\tallow_nodejs_console_log(url);\n\n\tObject.defineProperty(url, 'hash', {\n\t\tget() {\n\t\t\tthrow new Error(\n\t\t\t\t'Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead'\n\t\t\t);\n\t\t}\n\t});\n}\n\n/**\n * Disallow access to `url.search` and `url.searchParams` during prerendering\n * @param {URL} url\n */\nexport function disable_search(url) {\n\tallow_nodejs_console_log(url);\n\n\tfor (const property of ['search', 'searchParams']) {\n\t\tObject.defineProperty(url, property, {\n\t\t\tget() {\n\t\t\t\tthrow new Error(`Cannot access url.${property} on a page with prerendering enabled`);\n\t\t\t}\n\t\t});\n\t}\n}\n\n/**\n * Allow URL to be console logged, bypassing disabled properties.\n * @param {URL} url\n */\nfunction allow_nodejs_console_log(url) {\n\tif (!BROWSER) {\n\t\t// @ts-ignore\n\t\turl[Symbol.for('nodejs.util.inspect.custom')] = (depth, opts, inspect) => {\n\t\t\treturn inspect(new URL(url), opts);\n\t\t};\n\t}\n}\n\nconst DATA_SUFFIX = '/__data.json';\nconst HTML_DATA_SUFFIX = '.html__data.json';\n\n/** @param {string} pathname */\nexport function has_data_suffix(pathname) {\n\treturn pathname.endsWith(DATA_SUFFIX) || pathname.endsWith(HTML_DATA_SUFFIX);\n}\n\n/** @param {string} pathname */\nexport function add_data_suffix(pathname) {\n\tif (pathname.endsWith('.html')) return pathname.replace(/\\.html$/, HTML_DATA_SUFFIX);\n\treturn pathname.replace(/\\/$/, '') + DATA_SUFFIX;\n}\n\n/** @param {string} pathname */\nexport function strip_data_suffix(pathname) {\n\tif (pathname.endsWith(HTML_DATA_SUFFIX)) {\n\t\treturn pathname.slice(0, -HTML_DATA_SUFFIX.length) + '.html';\n\t}\n\n\treturn pathname.slice(0, -DATA_SUFFIX.length);\n}\n","/**\n * Hash using djb2\n * @param {import('types').StrictBody[]} values\n */\nexport function hash(...values) {\n\tlet hash = 5381;\n\n\tfor (const value of values) {\n\t\tif (typeof value === 'string') {\n\t\t\tlet i = value.length;\n\t\t\twhile (i) hash = (hash * 33) ^ value.charCodeAt(--i);\n\t\t} else if (ArrayBuffer.isView(value)) {\n\t\t\tconst buffer = new Uint8Array(value.buffer, value.byteOffset, value.byteLength);\n\t\t\tlet i = buffer.length;\n\t\t\twhile (i) hash = (hash * 33) ^ buffer[--i];\n\t\t} else {\n\t\t\tthrow new TypeError('value must be a string or TypedArray');\n\t\t}\n\t}\n\n\treturn (hash >>> 0).toString(36);\n}\n","/**\n * @param {string} text\n * @returns {ArrayBufferLike}\n */\nexport function b64_decode(text) {\n\tconst d = atob(text);\n\n\tconst u8 = new Uint8Array(d.length);\n\n\tfor (let i = 0; i < d.length; i++) {\n\t\tu8[i] = d.charCodeAt(i);\n\t}\n\n\treturn u8.buffer;\n}\n\n/**\n * @param {ArrayBuffer} buffer\n * @returns {string}\n */\nexport function b64_encode(buffer) {\n\tif (globalThis.Buffer) {\n\t\treturn Buffer.from(buffer).toString('base64');\n\t}\n\n\tconst little_endian = new Uint8Array(new Uint16Array([1]).buffer)[0] > 0;\n\n\t// The Uint16Array(Uint8Array(...)) ensures the code points are padded with 0's\n\treturn btoa(\n\t\tnew TextDecoder(little_endian ? 'utf-16le' : 'utf-16be').decode(\n\t\t\tnew Uint16Array(new Uint8Array(buffer))\n\t\t)\n\t);\n}\n","import { BROWSER, DEV } from 'esm-env';\nimport { hash } from '../hash.js';\nimport { b64_decode } from '../utils.js';\n\nlet loading = 0;\n\n/** @type {typeof fetch} */\nexport const native_fetch = BROWSER ? window.fetch : /** @type {any} */ (() => {});\n\nexport function lock_fetch() {\n\tloading += 1;\n}\n\nexport function unlock_fetch() {\n\tloading -= 1;\n}\n\nif (DEV && BROWSER) {\n\tlet can_inspect_stack_trace = false;\n\n\t// detect whether async stack traces work\n\tconst check_stack_trace = async () => {\n\t\tconst stack = /** @type {string} */ (new Error().stack);\n\t\tcan_inspect_stack_trace = stack.includes('check_stack_trace');\n\t};\n\n\tcheck_stack_trace();\n\n\t/**\n\t * @param {RequestInfo | URL} input\n\t * @param {RequestInit & Record | undefined} init\n\t */\n\twindow.fetch = (input, init) => {\n\t\t// Check if fetch was called via load_node. the lock method only checks if it was called at the\n\t\t// same time, but not necessarily if it was called from `load`.\n\t\t// We use just the filename as the method name sometimes does not appear on the CI.\n\t\tconst url = input instanceof Request ? input.url : input.toString();\n\t\tconst stack_array = /** @type {string} */ (new Error().stack).split('\\n');\n\t\t// We need to do a cutoff because Safari and Firefox maintain the stack\n\t\t// across events and for example traces a `fetch` call triggered from a button\n\t\t// back to the creation of the event listener and the element creation itself,\n\t\t// where at some point client.js will show up, leading to false positives.\n\t\tconst cutoff = stack_array.findIndex((a) => a.includes('load@') || a.includes('at load'));\n\t\tconst stack = stack_array.slice(0, cutoff + 2).join('\\n');\n\n\t\tconst in_load_heuristic = can_inspect_stack_trace\n\t\t\t? stack.includes('src/runtime/client/client.js')\n\t\t\t: loading;\n\n\t\t// This flag is set in initial_fetch and subsequent_fetch\n\t\tconst used_kit_fetch = init?.__sveltekit_fetch__;\n\n\t\tif (in_load_heuristic && !used_kit_fetch) {\n\t\t\tconsole.warn(\n\t\t\t\t`Loading ${url} using \\`window.fetch\\`. For best results, use the \\`fetch\\` that is passed to your \\`load\\` function: https://kit.svelte.dev/docs/load#making-fetch-requests`\n\t\t\t);\n\t\t}\n\n\t\tconst method = input instanceof Request ? input.method : init?.method || 'GET';\n\n\t\tif (method !== 'GET') {\n\t\t\tcache.delete(build_selector(input));\n\t\t}\n\n\t\treturn native_fetch(input, init);\n\t};\n} else if (BROWSER) {\n\twindow.fetch = (input, init) => {\n\t\tconst method = input instanceof Request ? input.method : init?.method || 'GET';\n\n\t\tif (method !== 'GET') {\n\t\t\tcache.delete(build_selector(input));\n\t\t}\n\n\t\treturn native_fetch(input, init);\n\t};\n}\n\nconst cache = new Map();\n\n/**\n * Should be called on the initial run of load functions that hydrate the page.\n * Saves any requests with cache-control max-age to the cache.\n * @param {URL | string} resource\n * @param {RequestInit} [opts]\n */\nexport function initial_fetch(resource, opts) {\n\tconst selector = build_selector(resource, opts);\n\n\tconst script = document.querySelector(selector);\n\tif (script?.textContent) {\n\t\tlet { body, ...init } = JSON.parse(script.textContent);\n\n\t\tconst ttl = script.getAttribute('data-ttl');\n\t\tif (ttl) cache.set(selector, { body, init, ttl: 1000 * Number(ttl) });\n\t\tconst b64 = script.getAttribute('data-b64');\n\t\tif (b64 !== null) {\n\t\t\t// Can't use native_fetch('data:...;base64,${body}')\n\t\t\t// csp can block the request\n\t\t\tbody = b64_decode(body);\n\t\t}\n\n\t\treturn Promise.resolve(new Response(body, init));\n\t}\n\n\treturn DEV ? dev_fetch(resource, opts) : window.fetch(resource, opts);\n}\n\n/**\n * Tries to get the response from the cache, if max-age allows it, else does a fetch.\n * @param {URL | string} resource\n * @param {string} resolved\n * @param {RequestInit} [opts]\n */\nexport function subsequent_fetch(resource, resolved, opts) {\n\tif (cache.size > 0) {\n\t\tconst selector = build_selector(resource, opts);\n\t\tconst cached = cache.get(selector);\n\t\tif (cached) {\n\t\t\t// https://developer.mozilla.org/en-US/docs/Web/API/Request/cache#value\n\t\t\tif (\n\t\t\t\tperformance.now() < cached.ttl &&\n\t\t\t\t['default', 'force-cache', 'only-if-cached', undefined].includes(opts?.cache)\n\t\t\t) {\n\t\t\t\treturn new Response(cached.body, cached.init);\n\t\t\t}\n\n\t\t\tcache.delete(selector);\n\t\t}\n\t}\n\n\treturn DEV ? dev_fetch(resolved, opts) : window.fetch(resolved, opts);\n}\n\n/**\n * @param {RequestInfo | URL} resource\n * @param {RequestInit & Record | undefined} opts\n */\nfunction dev_fetch(resource, opts) {\n\tconst patched_opts = { ...opts };\n\t// This assigns the __sveltekit_fetch__ flag and makes it non-enumerable\n\tObject.defineProperty(patched_opts, '__sveltekit_fetch__', {\n\t\tvalue: true,\n\t\twritable: true,\n\t\tconfigurable: true\n\t});\n\treturn window.fetch(resource, patched_opts);\n}\n\n/**\n * Build the cache key for a given request\n * @param {URL | RequestInfo} resource\n * @param {RequestInit} [opts]\n */\nfunction build_selector(resource, opts) {\n\tconst url = JSON.stringify(resource instanceof Request ? resource.url : resource);\n\n\tlet selector = `script[data-sveltekit-fetched][data-url=${url}]`;\n\n\tif (opts?.headers || opts?.body) {\n\t\t/** @type {import('types').StrictBody[]} */\n\t\tconst values = [];\n\n\t\tif (opts.headers) {\n\t\t\tvalues.push([...new Headers(opts.headers)].join(','));\n\t\t}\n\n\t\tif (opts.body && (typeof opts.body === 'string' || ArrayBuffer.isView(opts.body))) {\n\t\t\tvalues.push(opts.body);\n\t\t}\n\n\t\tselector += `[data-hash=\"${hash(...values)}\"]`;\n\t}\n\n\treturn selector;\n}\n","import { BROWSER } from 'esm-env';\n\nconst param_pattern = /^(\\[)?(\\.\\.\\.)?(\\w+)(?:=(\\w+))?(\\])?$/;\n\n/**\n * Creates the regex pattern, extracts parameter names, and generates types for a route\n * @param {string} id\n */\nexport function parse_route_id(id) {\n\t/** @type {import('types').RouteParam[]} */\n\tconst params = [];\n\n\tconst pattern =\n\t\tid === '/'\n\t\t\t? /^\\/$/\n\t\t\t: new RegExp(\n\t\t\t\t\t`^${get_route_segments(id)\n\t\t\t\t\t\t.map((segment) => {\n\t\t\t\t\t\t\t// special case — /[...rest]/ could contain zero segments\n\t\t\t\t\t\t\tconst rest_match = /^\\[\\.\\.\\.(\\w+)(?:=(\\w+))?\\]$/.exec(segment);\n\t\t\t\t\t\t\tif (rest_match) {\n\t\t\t\t\t\t\t\tparams.push({\n\t\t\t\t\t\t\t\t\tname: rest_match[1],\n\t\t\t\t\t\t\t\t\tmatcher: rest_match[2],\n\t\t\t\t\t\t\t\t\toptional: false,\n\t\t\t\t\t\t\t\t\trest: true,\n\t\t\t\t\t\t\t\t\tchained: true\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\treturn '(?:/(.*))?';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// special case — /[[optional]]/ could contain zero segments\n\t\t\t\t\t\t\tconst optional_match = /^\\[\\[(\\w+)(?:=(\\w+))?\\]\\]$/.exec(segment);\n\t\t\t\t\t\t\tif (optional_match) {\n\t\t\t\t\t\t\t\tparams.push({\n\t\t\t\t\t\t\t\t\tname: optional_match[1],\n\t\t\t\t\t\t\t\t\tmatcher: optional_match[2],\n\t\t\t\t\t\t\t\t\toptional: true,\n\t\t\t\t\t\t\t\t\trest: false,\n\t\t\t\t\t\t\t\t\tchained: true\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\treturn '(?:/([^/]+))?';\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (!segment) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tconst parts = segment.split(/\\[(.+?)\\](?!\\])/);\n\t\t\t\t\t\t\tconst result = parts\n\t\t\t\t\t\t\t\t.map((content, i) => {\n\t\t\t\t\t\t\t\t\tif (i % 2) {\n\t\t\t\t\t\t\t\t\t\tif (content.startsWith('x+')) {\n\t\t\t\t\t\t\t\t\t\t\treturn escape(String.fromCharCode(parseInt(content.slice(2), 16)));\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tif (content.startsWith('u+')) {\n\t\t\t\t\t\t\t\t\t\t\treturn escape(\n\t\t\t\t\t\t\t\t\t\t\t\tString.fromCharCode(\n\t\t\t\t\t\t\t\t\t\t\t\t\t...content\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.slice(2)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.split('-')\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.map((code) => parseInt(code, 16))\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t// We know the match cannot be null in the browser because manifest generation\n\t\t\t\t\t\t\t\t\t\t// would have invoked this during build and failed if we hit an invalid\n\t\t\t\t\t\t\t\t\t\t// param/matcher name with non-alphanumeric character.\n\t\t\t\t\t\t\t\t\t\tconst match = /** @type {RegExpExecArray} */ (param_pattern.exec(content));\n\t\t\t\t\t\t\t\t\t\tif (!BROWSER && !match) {\n\t\t\t\t\t\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\t\t\t\t\t`Invalid param: ${content}. Params and matcher names can only have underscores and alphanumeric characters.`\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tconst [, is_optional, is_rest, name, matcher] = match;\n\t\t\t\t\t\t\t\t\t\t// It's assumed that the following invalid route id cases are already checked\n\t\t\t\t\t\t\t\t\t\t// - unbalanced brackets\n\t\t\t\t\t\t\t\t\t\t// - optional param following rest param\n\n\t\t\t\t\t\t\t\t\t\tparams.push({\n\t\t\t\t\t\t\t\t\t\t\tname,\n\t\t\t\t\t\t\t\t\t\t\tmatcher,\n\t\t\t\t\t\t\t\t\t\t\toptional: !!is_optional,\n\t\t\t\t\t\t\t\t\t\t\trest: !!is_rest,\n\t\t\t\t\t\t\t\t\t\t\tchained: is_rest ? i === 1 && parts[0] === '' : false\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\treturn is_rest ? '(.*?)' : is_optional ? '([^/]*)?' : '([^/]+?)';\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\treturn escape(content);\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t.join('');\n\n\t\t\t\t\t\t\treturn '/' + result;\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.join('')}/?$`\n\t\t\t\t);\n\n\treturn { pattern, params };\n}\n\nconst optional_param_regex = /\\/\\[\\[\\w+?(?:=\\w+)?\\]\\]/;\n\n/**\n * Removes optional params from a route ID.\n * @param {string} id\n * @returns The route id with optional params removed\n */\nexport function remove_optional_params(id) {\n\treturn id.replace(optional_param_regex, '');\n}\n\n/**\n * Returns `false` for `(group)` segments\n * @param {string} segment\n */\nfunction affects_path(segment) {\n\treturn !/^\\([^)]+\\)$/.test(segment);\n}\n\n/**\n * Splits a route id into its segments, removing segments that\n * don't affect the path (i.e. groups). The root route is represented by `/`\n * and will be returned as `['']`.\n * @param {string} route\n * @returns string[]\n */\nexport function get_route_segments(route) {\n\treturn route.slice(1).split('/').filter(affects_path);\n}\n\n/**\n * @param {RegExpMatchArray} match\n * @param {import('types').RouteParam[]} params\n * @param {Record} matchers\n */\nexport function exec(match, params, matchers) {\n\t/** @type {Record} */\n\tconst result = {};\n\n\tconst values = match.slice(1);\n\tconst values_needing_match = values.filter((value) => value !== undefined);\n\n\tlet buffered = 0;\n\n\tfor (let i = 0; i < params.length; i += 1) {\n\t\tconst param = params[i];\n\t\tlet value = values[i - buffered];\n\n\t\t// in the `[[a=b]]/.../[...rest]` case, if one or more optional parameters\n\t\t// weren't matched, roll the skipped values into the rest\n\t\tif (param.chained && param.rest && buffered) {\n\t\t\tvalue = values\n\t\t\t\t.slice(i - buffered, i + 1)\n\t\t\t\t.filter((s) => s)\n\t\t\t\t.join('/');\n\n\t\t\tbuffered = 0;\n\t\t}\n\n\t\t// if `value` is undefined, it means this is an optional or rest parameter\n\t\tif (value === undefined) {\n\t\t\tif (param.rest) result[param.name] = '';\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (!param.matcher || matchers[param.matcher](value)) {\n\t\t\tresult[param.name] = value;\n\n\t\t\t// Now that the params match, reset the buffer if the next param isn't the [...rest]\n\t\t\t// and the next value is defined, otherwise the buffer will cause us to skip values\n\t\t\tconst next_param = params[i + 1];\n\t\t\tconst next_value = values[i + 1];\n\t\t\tif (next_param && !next_param.rest && next_param.optional && next_value && param.chained) {\n\t\t\t\tbuffered = 0;\n\t\t\t}\n\n\t\t\t// There are no more params and no more values, but all non-empty values have been matched\n\t\t\tif (\n\t\t\t\t!next_param &&\n\t\t\t\t!next_value &&\n\t\t\t\tObject.keys(result).length === values_needing_match.length\n\t\t\t) {\n\t\t\t\tbuffered = 0;\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\n\t\t// in the `/[[a=b]]/...` case, if the value didn't satisfy the matcher,\n\t\t// keep track of the number of skipped optional parameters and continue\n\t\tif (param.optional && param.chained) {\n\t\t\tbuffered++;\n\t\t\tcontinue;\n\t\t}\n\n\t\t// otherwise, if the matcher returns `false`, the route did not match\n\t\treturn;\n\t}\n\n\tif (buffered) return;\n\treturn result;\n}\n\n/** @param {string} str */\nfunction escape(str) {\n\treturn (\n\t\tstr\n\t\t\t.normalize()\n\t\t\t// escape [ and ] before escaping other characters, since they are used in the replacements\n\t\t\t.replace(/[[\\]]/g, '\\\\$&')\n\t\t\t// replace %, /, ? and # with their encoded versions because decode_pathname leaves them untouched\n\t\t\t.replace(/%/g, '%25')\n\t\t\t.replace(/\\//g, '%2[Ff]')\n\t\t\t.replace(/\\?/g, '%3[Ff]')\n\t\t\t.replace(/#/g, '%23')\n\t\t\t// escape characters that have special meaning in regex\n\t\t\t.replace(/[.*+?^${}()|\\\\]/g, '\\\\$&')\n\t);\n}\n\nconst basic_param_pattern = /\\[(\\[)?(\\.\\.\\.)?(\\w+?)(?:=(\\w+))?\\]\\]?/g;\n\n/**\n * Populate a route ID with params to resolve a pathname.\n * @example\n * ```js\n * resolveRoute(\n * `/blog/[slug]/[...somethingElse]`,\n * {\n * slug: 'hello-world',\n * somethingElse: 'something/else'\n * }\n * ); // `/blog/hello-world/something/else`\n * ```\n * @param {string} id\n * @param {Record} params\n * @returns {string}\n */\nexport function resolve_route(id, params) {\n\tconst segments = get_route_segments(id);\n\treturn (\n\t\t'/' +\n\t\tsegments\n\t\t\t.map((segment) =>\n\t\t\t\tsegment.replace(basic_param_pattern, (_, optional, rest, name) => {\n\t\t\t\t\tconst param_value = params[name];\n\n\t\t\t\t\t// This is nested so TS correctly narrows the type\n\t\t\t\t\tif (!param_value) {\n\t\t\t\t\t\tif (optional) return '';\n\t\t\t\t\t\tif (rest && param_value !== undefined) return '';\n\t\t\t\t\t\tthrow new Error(`Missing parameter '${name}' in route ${id}`);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (param_value.startsWith('/') || param_value.endsWith('/'))\n\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t`Parameter '${name}' in route ${id} cannot start or end with a slash -- this would cause an invalid route like foo//bar`\n\t\t\t\t\t\t);\n\t\t\t\t\treturn param_value;\n\t\t\t\t})\n\t\t\t)\n\t\t\t.filter(Boolean)\n\t\t\t.join('/')\n\t);\n}\n","import { exec, parse_route_id } from '../../utils/routing.js';\n\n/**\n * @param {import('./types.js').SvelteKitApp} app\n * @returns {import('types').CSRRoute[]}\n */\nexport function parse({ nodes, server_loads, dictionary, matchers }) {\n\tconst layouts_with_server_load = new Set(server_loads);\n\n\treturn Object.entries(dictionary).map(([id, [leaf, layouts, errors]]) => {\n\t\tconst { pattern, params } = parse_route_id(id);\n\n\t\tconst route = {\n\t\t\tid,\n\t\t\t/** @param {string} path */\n\t\t\texec: (path) => {\n\t\t\t\tconst match = pattern.exec(path);\n\t\t\t\tif (match) return exec(match, params, matchers);\n\t\t\t},\n\t\t\terrors: [1, ...(errors || [])].map((n) => nodes[n]),\n\t\t\tlayouts: [0, ...(layouts || [])].map(create_layout_loader),\n\t\t\tleaf: create_leaf_loader(leaf)\n\t\t};\n\n\t\t// bit of a hack, but ensures that layout/error node lists are the same\n\t\t// length, without which the wrong data will be applied if the route\n\t\t// manifest looks like `[[a, b], [c,], d]`\n\t\troute.errors.length = route.layouts.length = Math.max(\n\t\t\troute.errors.length,\n\t\t\troute.layouts.length\n\t\t);\n\n\t\treturn route;\n\t});\n\n\t/**\n\t * @param {number} id\n\t * @returns {[boolean, import('types').CSRPageNodeLoader]}\n\t */\n\tfunction create_leaf_loader(id) {\n\t\t// whether or not the route uses the server data is\n\t\t// encoded using the ones' complement, to save space\n\t\tconst uses_server_data = id < 0;\n\t\tif (uses_server_data) id = ~id;\n\t\treturn [uses_server_data, nodes[id]];\n\t}\n\n\t/**\n\t * @param {number | undefined} id\n\t * @returns {[boolean, import('types').CSRPageNodeLoader] | undefined}\n\t */\n\tfunction create_layout_loader(id) {\n\t\t// whether or not the layout uses the server data is\n\t\t// encoded in the layouts array, to save space\n\t\treturn id === undefined ? id : [layouts_with_server_load.has(id), nodes[id]];\n\t}\n}\n","/**\n * Read a value from `sessionStorage`\n * @param {string} key\n * @param {(value: string) => any} parse\n */\nexport function get(key, parse = JSON.parse) {\n\ttry {\n\t\treturn parse(sessionStorage[key]);\n\t} catch {\n\t\t// do nothing\n\t}\n}\n\n/**\n * Write a value to `sessionStorage`\n * @param {string} key\n * @param {any} value\n * @param {(value: any) => string} stringify\n */\nexport function set(key, value, stringify = JSON.stringify) {\n\tconst data = stringify(value);\n\ttry {\n\t\tsessionStorage[key] = data;\n\t} catch {\n\t\t// do nothing\n\t}\n}\n","import {\n\trun_all,\n\tsubscribe,\n\tnoop,\n\tsafe_not_equal,\n\tis_function,\n\tget_store_value\n} from '../internal/index.js';\n\nconst subscriber_queue = [];\n\n/**\n * Creates a `Readable` store that allows reading by subscription.\n *\n * https://svelte.dev/docs/svelte-store#readable\n * @template T\n * @param {T} [value] initial value\n * @param {import('./public.js').StartStopNotifier} [start]\n * @returns {import('./public.js').Readable}\n */\nexport function readable(value, start) {\n\treturn {\n\t\tsubscribe: writable(value, start).subscribe\n\t};\n}\n\n/**\n * Create a `Writable` store that allows both updating and reading by subscription.\n *\n * https://svelte.dev/docs/svelte-store#writable\n * @template T\n * @param {T} [value] initial value\n * @param {import('./public.js').StartStopNotifier} [start]\n * @returns {import('./public.js').Writable}\n */\nexport function writable(value, start = noop) {\n\t/** @type {import('./public.js').Unsubscriber} */\n\tlet stop;\n\t/** @type {Set>} */\n\tconst subscribers = new Set();\n\t/** @param {T} new_value\n\t * @returns {void}\n\t */\n\tfunction set(new_value) {\n\t\tif (safe_not_equal(value, new_value)) {\n\t\t\tvalue = new_value;\n\t\t\tif (stop) {\n\t\t\t\t// store is ready\n\t\t\t\tconst run_queue = !subscriber_queue.length;\n\t\t\t\tfor (const subscriber of subscribers) {\n\t\t\t\t\tsubscriber[1]();\n\t\t\t\t\tsubscriber_queue.push(subscriber, value);\n\t\t\t\t}\n\t\t\t\tif (run_queue) {\n\t\t\t\t\tfor (let i = 0; i < subscriber_queue.length; i += 2) {\n\t\t\t\t\t\tsubscriber_queue[i][0](subscriber_queue[i + 1]);\n\t\t\t\t\t}\n\t\t\t\t\tsubscriber_queue.length = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {import('./public.js').Updater} fn\n\t * @returns {void}\n\t */\n\tfunction update(fn) {\n\t\tset(fn(value));\n\t}\n\n\t/**\n\t * @param {import('./public.js').Subscriber} run\n\t * @param {import('./private.js').Invalidator} [invalidate]\n\t * @returns {import('./public.js').Unsubscriber}\n\t */\n\tfunction subscribe(run, invalidate = noop) {\n\t\t/** @type {import('./private.js').SubscribeInvalidateTuple} */\n\t\tconst subscriber = [run, invalidate];\n\t\tsubscribers.add(subscriber);\n\t\tif (subscribers.size === 1) {\n\t\t\tstop = start(set, update) || noop;\n\t\t}\n\t\trun(value);\n\t\treturn () => {\n\t\t\tsubscribers.delete(subscriber);\n\t\t\tif (subscribers.size === 0 && stop) {\n\t\t\t\tstop();\n\t\t\t\tstop = null;\n\t\t\t}\n\t\t};\n\t}\n\treturn { set, update, subscribe };\n}\n\n/**\n * Derived value store by synchronizing one or more readable stores and\n * applying an aggregation function over its input values.\n *\n * https://svelte.dev/docs/svelte-store#derived\n * @template {import('./private.js').Stores} S\n * @template T\n * @overload\n * @param {S} stores - input stores\n * @param {(values: import('./private.js').StoresValues, set: (value: T) => void, update: (fn: import('./public.js').Updater) => void) => import('./public.js').Unsubscriber | void} fn - function callback that aggregates the values\n * @param {T} [initial_value] - initial value\n * @returns {import('./public.js').Readable}\n */\n\n/**\n * Derived value store by synchronizing one or more readable stores and\n * applying an aggregation function over its input values.\n *\n * https://svelte.dev/docs/svelte-store#derived\n * @template {import('./private.js').Stores} S\n * @template T\n * @overload\n * @param {S} stores - input stores\n * @param {(values: import('./private.js').StoresValues) => T} fn - function callback that aggregates the values\n * @param {T} [initial_value] - initial value\n * @returns {import('./public.js').Readable}\n */\n\n/**\n * @template {import('./private.js').Stores} S\n * @template T\n * @param {S} stores\n * @param {Function} fn\n * @param {T} [initial_value]\n * @returns {import('./public.js').Readable}\n */\nexport function derived(stores, fn, initial_value) {\n\tconst single = !Array.isArray(stores);\n\t/** @type {Array>} */\n\tconst stores_array = single ? [stores] : stores;\n\tif (!stores_array.every(Boolean)) {\n\t\tthrow new Error('derived() expects stores as input, got a falsy value');\n\t}\n\tconst auto = fn.length < 2;\n\treturn readable(initial_value, (set, update) => {\n\t\tlet started = false;\n\t\tconst values = [];\n\t\tlet pending = 0;\n\t\tlet cleanup = noop;\n\t\tconst sync = () => {\n\t\t\tif (pending) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tcleanup();\n\t\t\tconst result = fn(single ? values[0] : values, set, update);\n\t\t\tif (auto) {\n\t\t\t\tset(result);\n\t\t\t} else {\n\t\t\t\tcleanup = is_function(result) ? result : noop;\n\t\t\t}\n\t\t};\n\t\tconst unsubscribers = stores_array.map((store, i) =>\n\t\t\tsubscribe(\n\t\t\t\tstore,\n\t\t\t\t(value) => {\n\t\t\t\t\tvalues[i] = value;\n\t\t\t\t\tpending &= ~(1 << i);\n\t\t\t\t\tif (started) {\n\t\t\t\t\t\tsync();\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t() => {\n\t\t\t\t\tpending |= 1 << i;\n\t\t\t\t}\n\t\t\t)\n\t\t);\n\t\tstarted = true;\n\t\tsync();\n\t\treturn function stop() {\n\t\t\trun_all(unsubscribers);\n\t\t\tcleanup();\n\t\t\t// We need to set this to false because callbacks can still happen despite having unsubscribed:\n\t\t\t// Callbacks might already be placed in the queue which doesn't know it should no longer\n\t\t\t// invoke this derived store.\n\t\t\tstarted = false;\n\t\t};\n\t});\n}\n\n/**\n * Takes a store and returns a new one derived from the old one that is readable.\n *\n * https://svelte.dev/docs/svelte-store#readonly\n * @template T\n * @param {import('./public.js').Readable} store - store to make readonly\n * @returns {import('./public.js').Readable}\n */\nexport function readonly(store) {\n\treturn {\n\t\tsubscribe: store.subscribe.bind(store)\n\t};\n}\n\nexport { get_store_value as get };\n","export const SNAPSHOT_KEY = 'sveltekit:snapshot';\nexport const SCROLL_KEY = 'sveltekit:scroll';\nexport const STATES_KEY = 'sveltekit:states';\nexport const PAGE_URL_KEY = 'sveltekit:pageurl';\n\nexport const HISTORY_INDEX = 'sveltekit:history';\nexport const NAVIGATION_INDEX = 'sveltekit:navigation';\n\nexport const PRELOAD_PRIORITIES = /** @type {const} */ ({\n\ttap: 1,\n\thover: 2,\n\tviewport: 3,\n\teager: 4,\n\toff: -1,\n\tfalse: -1\n});\n","import { BROWSER, DEV } from 'esm-env';\nimport { writable } from 'svelte/store';\nimport { assets } from '__sveltekit/paths';\nimport { version } from '__sveltekit/environment';\nimport { PRELOAD_PRIORITIES } from './constants.js';\n\n/* global __SVELTEKIT_APP_VERSION_FILE__, __SVELTEKIT_APP_VERSION_POLL_INTERVAL__ */\n\nexport const origin = BROWSER ? location.origin : '';\n\n/** @param {string | URL} url */\nexport function resolve_url(url) {\n\tif (url instanceof URL) return url;\n\n\tlet baseURI = document.baseURI;\n\n\tif (!baseURI) {\n\t\tconst baseTags = document.getElementsByTagName('base');\n\t\tbaseURI = baseTags.length ? baseTags[0].href : document.URL;\n\t}\n\n\treturn new URL(url, baseURI);\n}\n\nexport function scroll_state() {\n\treturn {\n\t\tx: pageXOffset,\n\t\ty: pageYOffset\n\t};\n}\n\nconst warned = new WeakSet();\n\n/** @typedef {keyof typeof valid_link_options} LinkOptionName */\n\nconst valid_link_options = /** @type {const} */ ({\n\t'preload-code': ['', 'off', 'false', 'tap', 'hover', 'viewport', 'eager'],\n\t'preload-data': ['', 'off', 'false', 'tap', 'hover'],\n\tkeepfocus: ['', 'true', 'off', 'false'],\n\tnoscroll: ['', 'true', 'off', 'false'],\n\treload: ['', 'true', 'off', 'false'],\n\treplacestate: ['', 'true', 'off', 'false']\n});\n\n/**\n * @template {LinkOptionName} T\n * @typedef {typeof valid_link_options[T][number]} ValidLinkOptions\n */\n\n/**\n * @template {LinkOptionName} T\n * @param {Element} element\n * @param {T} name\n */\nfunction link_option(element, name) {\n\tconst value = /** @type {ValidLinkOptions | null} */ (\n\t\telement.getAttribute(`data-sveltekit-${name}`)\n\t);\n\n\tif (DEV) {\n\t\tvalidate_link_option(element, name, value);\n\t}\n\n\treturn value;\n}\n\n/**\n * @template {LinkOptionName} T\n * @template {ValidLinkOptions | null} U\n * @param {Element} element\n * @param {T} name\n * @param {U} value\n */\nfunction validate_link_option(element, name, value) {\n\tif (value === null) return;\n\n\t// @ts-expect-error - includes is dumb\n\tif (!warned.has(element) && !valid_link_options[name].includes(value)) {\n\t\tconsole.error(\n\t\t\t`Unexpected value for ${name} — should be one of ${valid_link_options[name]\n\t\t\t\t.map((option) => JSON.stringify(option))\n\t\t\t\t.join(', ')}`,\n\t\t\telement\n\t\t);\n\n\t\twarned.add(element);\n\t}\n}\n\nconst levels = {\n\t...PRELOAD_PRIORITIES,\n\t'': PRELOAD_PRIORITIES.hover\n};\n\n/**\n * @param {Element} element\n * @returns {Element | null}\n */\nfunction parent_element(element) {\n\tlet parent = element.assignedSlot ?? element.parentNode;\n\n\t// @ts-expect-error handle shadow roots\n\tif (parent?.nodeType === 11) parent = parent.host;\n\n\treturn /** @type {Element} */ (parent);\n}\n\n/**\n * @param {Element} element\n * @param {Element} target\n */\nexport function find_anchor(element, target) {\n\twhile (element && element !== target) {\n\t\tif (element.nodeName.toUpperCase() === 'A' && element.hasAttribute('href')) {\n\t\t\treturn /** @type {HTMLAnchorElement | SVGAElement} */ (element);\n\t\t}\n\n\t\telement = /** @type {Element} */ (parent_element(element));\n\t}\n}\n\n/**\n * @param {HTMLAnchorElement | SVGAElement} a\n * @param {string} base\n */\nexport function get_link_info(a, base) {\n\t/** @type {URL | undefined} */\n\tlet url;\n\n\ttry {\n\t\turl = new URL(a instanceof SVGAElement ? a.href.baseVal : a.href, document.baseURI);\n\t} catch {}\n\n\tconst target = a instanceof SVGAElement ? a.target.baseVal : a.target;\n\n\tconst external =\n\t\t!url ||\n\t\t!!target ||\n\t\tis_external_url(url, base) ||\n\t\t(a.getAttribute('rel') || '').split(/\\s+/).includes('external');\n\n\tconst download = url?.origin === origin && a.hasAttribute('download');\n\n\treturn { url, external, target, download };\n}\n\n/**\n * @param {HTMLFormElement | HTMLAnchorElement | SVGAElement} element\n */\nexport function get_router_options(element) {\n\t/** @type {ValidLinkOptions<'keepfocus'> | null} */\n\tlet keepfocus = null;\n\n\t/** @type {ValidLinkOptions<'noscroll'> | null} */\n\tlet noscroll = null;\n\n\t/** @type {ValidLinkOptions<'preload-code'> | null} */\n\tlet preload_code = null;\n\n\t/** @type {ValidLinkOptions<'preload-data'> | null} */\n\tlet preload_data = null;\n\n\t/** @type {ValidLinkOptions<'reload'> | null} */\n\tlet reload = null;\n\n\t/** @type {ValidLinkOptions<'replacestate'> | null} */\n\tlet replace_state = null;\n\n\t/** @type {Element} */\n\tlet el = element;\n\n\twhile (el && el !== document.documentElement) {\n\t\tif (preload_code === null) preload_code = link_option(el, 'preload-code');\n\t\tif (preload_data === null) preload_data = link_option(el, 'preload-data');\n\t\tif (keepfocus === null) keepfocus = link_option(el, 'keepfocus');\n\t\tif (noscroll === null) noscroll = link_option(el, 'noscroll');\n\t\tif (reload === null) reload = link_option(el, 'reload');\n\t\tif (replace_state === null) replace_state = link_option(el, 'replacestate');\n\n\t\tel = /** @type {Element} */ (parent_element(el));\n\t}\n\n\t/** @param {string | null} value */\n\tfunction get_option_state(value) {\n\t\tswitch (value) {\n\t\t\tcase '':\n\t\t\tcase 'true':\n\t\t\t\treturn true;\n\t\t\tcase 'off':\n\t\t\tcase 'false':\n\t\t\t\treturn false;\n\t\t\tdefault:\n\t\t\t\treturn undefined;\n\t\t}\n\t}\n\n\treturn {\n\t\tpreload_code: levels[preload_code ?? 'off'],\n\t\tpreload_data: levels[preload_data ?? 'off'],\n\t\tkeepfocus: get_option_state(keepfocus),\n\t\tnoscroll: get_option_state(noscroll),\n\t\treload: get_option_state(reload),\n\t\treplace_state: get_option_state(replace_state)\n\t};\n}\n\n/** @param {any} value */\nexport function notifiable_store(value) {\n\tconst store = writable(value);\n\tlet ready = true;\n\n\tfunction notify() {\n\t\tready = true;\n\t\tstore.update((val) => val);\n\t}\n\n\t/** @param {any} new_value */\n\tfunction set(new_value) {\n\t\tready = false;\n\t\tstore.set(new_value);\n\t}\n\n\t/** @param {(value: any) => void} run */\n\tfunction subscribe(run) {\n\t\t/** @type {any} */\n\t\tlet old_value;\n\t\treturn store.subscribe((new_value) => {\n\t\t\tif (old_value === undefined || (ready && new_value !== old_value)) {\n\t\t\t\trun((old_value = new_value));\n\t\t\t}\n\t\t});\n\t}\n\n\treturn { notify, set, subscribe };\n}\n\nexport function create_updated_store() {\n\tconst { set, subscribe } = writable(false);\n\n\tif (DEV || !BROWSER) {\n\t\treturn {\n\t\t\tsubscribe,\n\t\t\tcheck: async () => false\n\t\t};\n\t}\n\n\tconst interval = __SVELTEKIT_APP_VERSION_POLL_INTERVAL__;\n\n\t/** @type {NodeJS.Timeout} */\n\tlet timeout;\n\n\t/** @type {() => Promise} */\n\tasync function check() {\n\t\tclearTimeout(timeout);\n\n\t\tif (interval) timeout = setTimeout(check, interval);\n\n\t\ttry {\n\t\t\tconst res = await fetch(`${assets}/${__SVELTEKIT_APP_VERSION_FILE__}`, {\n\t\t\t\theaders: {\n\t\t\t\t\tpragma: 'no-cache',\n\t\t\t\t\t'cache-control': 'no-cache'\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tif (!res.ok) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tconst data = await res.json();\n\t\t\tconst updated = data.version !== version;\n\n\t\t\tif (updated) {\n\t\t\t\tset(true);\n\t\t\t\tclearTimeout(timeout);\n\t\t\t}\n\n\t\t\treturn updated;\n\t\t} catch {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tif (interval) timeout = setTimeout(check, interval);\n\n\treturn {\n\t\tsubscribe,\n\t\tcheck\n\t};\n}\n\n/**\n * @param {URL} url\n * @param {string} base\n */\nexport function is_external_url(url, base) {\n\treturn url.origin !== origin || !url.pathname.startsWith(base);\n}\n","export const UNDEFINED = -1;\nexport const HOLE = -2;\nexport const NAN = -3;\nexport const POSITIVE_INFINITY = -4;\nexport const NEGATIVE_INFINITY = -5;\nexport const NEGATIVE_ZERO = -6;\n","import {\n\tHOLE,\n\tNAN,\n\tNEGATIVE_INFINITY,\n\tNEGATIVE_ZERO,\n\tPOSITIVE_INFINITY,\n\tUNDEFINED\n} from './constants.js';\n\n/**\n * Revive a value serialized with `devalue.stringify`\n * @param {string} serialized\n * @param {Record any>} [revivers]\n */\nexport function parse(serialized, revivers) {\n\treturn unflatten(JSON.parse(serialized), revivers);\n}\n\n/**\n * Revive a value flattened with `devalue.stringify`\n * @param {number | any[]} parsed\n * @param {Record any>} [revivers]\n */\nexport function unflatten(parsed, revivers) {\n\tif (typeof parsed === 'number') return hydrate(parsed, true);\n\n\tif (!Array.isArray(parsed) || parsed.length === 0) {\n\t\tthrow new Error('Invalid input');\n\t}\n\n\tconst values = /** @type {any[]} */ (parsed);\n\n\tconst hydrated = Array(values.length);\n\n\t/**\n\t * @param {number} index\n\t * @returns {any}\n\t */\n\tfunction hydrate(index, standalone = false) {\n\t\tif (index === UNDEFINED) return undefined;\n\t\tif (index === NAN) return NaN;\n\t\tif (index === POSITIVE_INFINITY) return Infinity;\n\t\tif (index === NEGATIVE_INFINITY) return -Infinity;\n\t\tif (index === NEGATIVE_ZERO) return -0;\n\n\t\tif (standalone) throw new Error(`Invalid input`);\n\n\t\tif (index in hydrated) return hydrated[index];\n\n\t\tconst value = values[index];\n\n\t\tif (!value || typeof value !== 'object') {\n\t\t\thydrated[index] = value;\n\t\t} else if (Array.isArray(value)) {\n\t\t\tif (typeof value[0] === 'string') {\n\t\t\t\tconst type = value[0];\n\n\t\t\t\tconst reviver = revivers?.[type];\n\t\t\t\tif (reviver) {\n\t\t\t\t\treturn (hydrated[index] = reviver(hydrate(value[1])));\n\t\t\t\t}\n\n\t\t\t\tswitch (type) {\n\t\t\t\t\tcase 'Date':\n\t\t\t\t\t\thydrated[index] = new Date(value[1]);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'Set':\n\t\t\t\t\t\tconst set = new Set();\n\t\t\t\t\t\thydrated[index] = set;\n\t\t\t\t\t\tfor (let i = 1; i < value.length; i += 1) {\n\t\t\t\t\t\t\tset.add(hydrate(value[i]));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'Map':\n\t\t\t\t\t\tconst map = new Map();\n\t\t\t\t\t\thydrated[index] = map;\n\t\t\t\t\t\tfor (let i = 1; i < value.length; i += 2) {\n\t\t\t\t\t\t\tmap.set(hydrate(value[i]), hydrate(value[i + 1]));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'RegExp':\n\t\t\t\t\t\thydrated[index] = new RegExp(value[1], value[2]);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'Object':\n\t\t\t\t\t\thydrated[index] = Object(value[1]);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'BigInt':\n\t\t\t\t\t\thydrated[index] = BigInt(value[1]);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'null':\n\t\t\t\t\t\tconst obj = Object.create(null);\n\t\t\t\t\t\thydrated[index] = obj;\n\t\t\t\t\t\tfor (let i = 1; i < value.length; i += 2) {\n\t\t\t\t\t\t\tobj[value[i]] = hydrate(value[i + 1]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tthrow new Error(`Unknown type ${type}`);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst array = new Array(value.length);\n\t\t\t\thydrated[index] = array;\n\n\t\t\t\tfor (let i = 0; i < value.length; i += 1) {\n\t\t\t\t\tconst n = value[i];\n\t\t\t\t\tif (n === HOLE) continue;\n\n\t\t\t\t\tarray[i] = hydrate(n);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\t/** @type {Record} */\n\t\t\tconst object = {};\n\t\t\thydrated[index] = object;\n\n\t\t\tfor (const key in value) {\n\t\t\t\tconst n = value[key];\n\t\t\t\tobject[key] = hydrate(n);\n\t\t\t}\n\t\t}\n\n\t\treturn hydrated[index];\n\t}\n\n\treturn hydrate(0);\n}\n","/**\n * @param {Set} expected\n */\nfunction validator(expected) {\n\t/**\n\t * @param {any} module\n\t * @param {string} [file]\n\t */\n\tfunction validate(module, file) {\n\t\tif (!module) return;\n\n\t\tfor (const key in module) {\n\t\t\tif (key[0] === '_' || expected.has(key)) continue; // key is valid in this module\n\n\t\t\tconst values = [...expected.values()];\n\n\t\t\tconst hint =\n\t\t\t\thint_for_supported_files(key, file?.slice(file.lastIndexOf('.'))) ??\n\t\t\t\t`valid exports are ${values.join(', ')}, or anything with a '_' prefix`;\n\n\t\t\tthrow new Error(`Invalid export '${key}'${file ? ` in ${file}` : ''} (${hint})`);\n\t\t}\n\t}\n\n\treturn validate;\n}\n\n/**\n * @param {string} key\n * @param {string} ext\n * @returns {string | void}\n */\nfunction hint_for_supported_files(key, ext = '.js') {\n\tconst supported_files = [];\n\n\tif (valid_layout_exports.has(key)) {\n\t\tsupported_files.push(`+layout${ext}`);\n\t}\n\n\tif (valid_page_exports.has(key)) {\n\t\tsupported_files.push(`+page${ext}`);\n\t}\n\n\tif (valid_layout_server_exports.has(key)) {\n\t\tsupported_files.push(`+layout.server${ext}`);\n\t}\n\n\tif (valid_page_server_exports.has(key)) {\n\t\tsupported_files.push(`+page.server${ext}`);\n\t}\n\n\tif (valid_server_exports.has(key)) {\n\t\tsupported_files.push(`+server${ext}`);\n\t}\n\n\tif (supported_files.length > 0) {\n\t\treturn `'${key}' is a valid export in ${supported_files.slice(0, -1).join(', ')}${\n\t\t\tsupported_files.length > 1 ? ' or ' : ''\n\t\t}${supported_files.at(-1)}`;\n\t}\n}\n\nconst valid_layout_exports = new Set([\n\t'load',\n\t'prerender',\n\t'csr',\n\t'ssr',\n\t'trailingSlash',\n\t'config'\n]);\nconst valid_page_exports = new Set([...valid_layout_exports, 'entries']);\nconst valid_layout_server_exports = new Set([...valid_layout_exports]);\nconst valid_page_server_exports = new Set([...valid_layout_server_exports, 'actions', 'entries']);\nconst valid_server_exports = new Set([\n\t'GET',\n\t'POST',\n\t'PATCH',\n\t'PUT',\n\t'DELETE',\n\t'OPTIONS',\n\t'HEAD',\n\t'fallback',\n\t'prerender',\n\t'trailingSlash',\n\t'config',\n\t'entries'\n]);\n\nexport const validate_layout_exports = validator(valid_layout_exports);\nexport const validate_page_exports = validator(valid_page_exports);\nexport const validate_layout_server_exports = validator(valid_layout_server_exports);\nexport const validate_page_server_exports = validator(valid_page_server_exports);\nexport const validate_server_exports = validator(valid_server_exports);\n","/**\n * Removes nullish values from an array.\n *\n * @template T\n * @param {Array} arr\n */\nexport function compact(arr) {\n\treturn arr.filter(/** @returns {val is NonNullable} */ (val) => val != null);\n}\n","export class HttpError {\n\t/**\n\t * @param {number} status\n\t * @param {{message: string} extends App.Error ? (App.Error | string | undefined) : App.Error} body\n\t */\n\tconstructor(status, body) {\n\t\tthis.status = status;\n\t\tif (typeof body === 'string') {\n\t\t\tthis.body = { message: body };\n\t\t} else if (body) {\n\t\t\tthis.body = body;\n\t\t} else {\n\t\t\tthis.body = { message: `Error: ${status}` };\n\t\t}\n\t}\n\n\ttoString() {\n\t\treturn JSON.stringify(this.body);\n\t}\n}\n\nexport class Redirect {\n\t/**\n\t * @param {300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308} status\n\t * @param {string} location\n\t */\n\tconstructor(status, location) {\n\t\tthis.status = status;\n\t\tthis.location = location;\n\t}\n}\n\n/**\n * An error that was thrown from within the SvelteKit runtime that is not fatal and doesn't result in a 500, such as a 404.\n * `SvelteKitError` goes through `handleError`.\n * @extends Error\n */\nexport class SvelteKitError extends Error {\n\t/**\n\t * @param {number} status\n\t * @param {string} text\n\t * @param {string} message\n\t */\n\tconstructor(status, text, message) {\n\t\tsuper(message);\n\t\tthis.status = status;\n\t\tthis.text = text;\n\t}\n}\n\n/**\n * @template {Record | undefined} [T=undefined]\n */\nexport class ActionFailure {\n\t/**\n\t * @param {number} status\n\t * @param {T} data\n\t */\n\tconstructor(status, data) {\n\t\tthis.status = status;\n\t\tthis.data = data;\n\t}\n}\n\n/**\n * This is a grotesque hack that, in dev, allows us to replace the implementations\n * of these classes that you'd get by importing them from `@sveltejs/kit` with the\n * ones that are imported via Vite and loaded internally, so that instanceof\n * checks work even though SvelteKit imports this module via Vite and consumers\n * import it via Node\n * @param {{\n * ActionFailure: typeof ActionFailure;\n * HttpError: typeof HttpError;\n * Redirect: typeof Redirect;\n * SvelteKitError: typeof SvelteKitError;\n * }} implementations\n */\nexport function replace_implementations(implementations) {\n\t// @ts-expect-error\n\tActionFailure = implementations.ActionFailure; // eslint-disable-line no-class-assign\n\t// @ts-expect-error\n\tHttpError = implementations.HttpError; // eslint-disable-line no-class-assign\n\t// @ts-expect-error\n\tRedirect = implementations.Redirect; // eslint-disable-line no-class-assign\n\t// @ts-expect-error\n\tSvelteKitError = implementations.SvelteKitError; // eslint-disable-line no-class-assign\n}\n","/**\n * @param {string} route_id\n * @param {string} dep\n */\nexport function validate_depends(route_id, dep) {\n\tconst match = /^(moz-icon|view-source|jar):/.exec(dep);\n\tif (match) {\n\t\tconsole.warn(\n\t\t\t`${route_id}: Calling \\`depends('${dep}')\\` will throw an error in Firefox because \\`${match[1]}\\` is a special URI scheme`\n\t\t);\n\t}\n}\n\nexport const INVALIDATED_PARAM = 'x-sveltekit-invalidated';\n\nexport const TRAILING_SLASH_PARAM = 'x-sveltekit-trailing-slash';\n","import { HttpError, SvelteKitError } from '../runtime/control.js';\n\n/**\n * @param {unknown} err\n * @return {Error}\n */\nexport function coalesce_to_error(err) {\n\treturn err instanceof Error ||\n\t\t(err && /** @type {any} */ (err).name && /** @type {any} */ (err).message)\n\t\t? /** @type {Error} */ (err)\n\t\t: new Error(JSON.stringify(err));\n}\n\n/**\n * This is an identity function that exists to make TypeScript less\n * paranoid about people throwing things that aren't errors, which\n * frankly is not something we should care about\n * @param {unknown} error\n */\nexport function normalize_error(error) {\n\treturn /** @type {import('../runtime/control.js').Redirect | HttpError | SvelteKitError | Error} */ (\n\t\terror\n\t);\n}\n\n/**\n * @param {unknown} error\n */\nexport function get_status(error) {\n\treturn error instanceof HttpError || error instanceof SvelteKitError ? error.status : 500;\n}\n\n/**\n * @param {unknown} error\n */\nexport function get_message(error) {\n\treturn error instanceof SvelteKitError ? error.text : 'Internal Error';\n}\n","import { BROWSER, DEV } from 'esm-env';\nimport { onMount, tick } from 'svelte';\nimport {\n\tadd_data_suffix,\n\tdecode_params,\n\tdecode_pathname,\n\tstrip_hash,\n\tmake_trackable,\n\tnormalize_path\n} from '../../utils/url.js';\nimport {\n\tinitial_fetch,\n\tlock_fetch,\n\tnative_fetch,\n\tsubsequent_fetch,\n\tunlock_fetch\n} from './fetcher.js';\nimport { parse } from './parse.js';\nimport * as storage from './session-storage.js';\nimport {\n\tfind_anchor,\n\tresolve_url,\n\tget_link_info,\n\tget_router_options,\n\tis_external_url,\n\torigin,\n\tscroll_state,\n\tnotifiable_store,\n\tcreate_updated_store\n} from './utils.js';\nimport { base } from '__sveltekit/paths';\nimport * as devalue from 'devalue';\nimport {\n\tHISTORY_INDEX,\n\tNAVIGATION_INDEX,\n\tPRELOAD_PRIORITIES,\n\tSCROLL_KEY,\n\tSTATES_KEY,\n\tSNAPSHOT_KEY,\n\tPAGE_URL_KEY\n} from './constants.js';\nimport { validate_page_exports } from '../../utils/exports.js';\nimport { compact } from '../../utils/array.js';\nimport { HttpError, Redirect, SvelteKitError } from '../control.js';\nimport { INVALIDATED_PARAM, TRAILING_SLASH_PARAM, validate_depends } from '../shared.js';\nimport { get_message, get_status } from '../../utils/error.js';\nimport { writable } from 'svelte/store';\n\nlet errored = false;\n\n// We track the scroll position associated with each history entry in sessionStorage,\n// rather than on history.state itself, because when navigation is driven by\n// popstate it's too late to update the scroll position associated with the\n// state we're navigating from\n/**\n * history index -> { x, y }\n * @type {Record}\n */\nconst scroll_positions = storage.get(SCROLL_KEY) ?? {};\n\n/**\n * navigation index -> any\n * @type {Record}\n */\nconst snapshots = storage.get(SNAPSHOT_KEY) ?? {};\n\nif (DEV && BROWSER) {\n\tlet warned = false;\n\n\tconst current_module_url = import.meta.url.split('?')[0]; // remove query params that vite adds to the URL when it is loaded from node_modules\n\n\tconst warn = () => {\n\t\tif (warned) return;\n\n\t\t// Rather than saving a pointer to the original history methods, which would prevent monkeypatching by other libs,\n\t\t// inspect the stack trace to see if we're being called from within SvelteKit.\n\t\tlet stack = new Error().stack?.split('\\n');\n\t\tif (!stack) return;\n\t\tif (!stack[0].includes('https:') && !stack[0].includes('http:')) stack = stack.slice(1); // Chrome includes the error message in the stack\n\t\tstack = stack.slice(2); // remove `warn` and the place where `warn` was called\n\t\t// Can be falsy if was called directly from an anonymous function\n\t\tif (stack[0]?.includes(current_module_url)) return;\n\n\t\twarned = true;\n\n\t\tconsole.warn(\n\t\t\t\"Avoid using `history.pushState(...)` and `history.replaceState(...)` as these will conflict with SvelteKit's router. Use the `pushState` and `replaceState` imports from `$app/navigation` instead.\"\n\t\t);\n\t};\n\n\tconst push_state = history.pushState;\n\thistory.pushState = (...args) => {\n\t\twarn();\n\t\treturn push_state.apply(history, args);\n\t};\n\n\tconst replace_state = history.replaceState;\n\thistory.replaceState = (...args) => {\n\t\twarn();\n\t\treturn replace_state.apply(history, args);\n\t};\n}\n\nexport const stores = {\n\turl: /* @__PURE__ */ notifiable_store({}),\n\tpage: /* @__PURE__ */ notifiable_store({}),\n\tnavigating: /* @__PURE__ */ writable(\n\t\t/** @type {import('@sveltejs/kit').Navigation | null} */ (null)\n\t),\n\tupdated: /* @__PURE__ */ create_updated_store()\n};\n\n/** @param {number} index */\nfunction update_scroll_positions(index) {\n\tscroll_positions[index] = scroll_state();\n}\n\n/**\n * @param {number} current_history_index\n * @param {number} current_navigation_index\n */\nfunction clear_onward_history(current_history_index, current_navigation_index) {\n\t// if we navigated back, then pushed a new state, we can\n\t// release memory by pruning the scroll/snapshot lookup\n\tlet i = current_history_index + 1;\n\twhile (scroll_positions[i]) {\n\t\tdelete scroll_positions[i];\n\t\ti += 1;\n\t}\n\n\ti = current_navigation_index + 1;\n\twhile (snapshots[i]) {\n\t\tdelete snapshots[i];\n\t\ti += 1;\n\t}\n}\n\n/**\n * Loads `href` the old-fashioned way, with a full page reload.\n * Returns a `Promise` that never resolves (to prevent any\n * subsequent work, e.g. history manipulation, from happening)\n * @param {URL} url\n */\nfunction native_navigation(url) {\n\tlocation.href = url.href;\n\treturn new Promise(() => {});\n}\n\nfunction noop() {}\n\n/** @type {import('types').CSRRoute[]} */\nlet routes;\n/** @type {import('types').CSRPageNodeLoader} */\nlet default_layout_loader;\n/** @type {import('types').CSRPageNodeLoader} */\nlet default_error_loader;\n/** @type {HTMLElement} */\nlet container;\n/** @type {HTMLElement} */\nlet target;\n/** @type {import('./types.js').SvelteKitApp} */\nlet app;\n\n/** @type {Array<((url: URL) => boolean)>} */\nconst invalidated = [];\n\n/**\n * An array of the `+layout.svelte` and `+page.svelte` component instances\n * that currently live on the page — used for capturing and restoring snapshots.\n * It's updated/manipulated through `bind:this` in `Root.svelte`.\n * @type {import('svelte').SvelteComponent[]}\n */\nconst components = [];\n\n/** @type {{id: string, token: {}, promise: Promise} | null} */\nlet load_cache = null;\n\n/** @type {Array<(navigation: import('@sveltejs/kit').BeforeNavigate) => void>} */\nconst before_navigate_callbacks = [];\n\n/** @type {Array<(navigation: import('@sveltejs/kit').OnNavigate) => import('types').MaybePromise<(() => void) | void>>} */\nconst on_navigate_callbacks = [];\n\n/** @type {Array<(navigation: import('@sveltejs/kit').AfterNavigate) => void>} */\nlet after_navigate_callbacks = [];\n\n/** @type {import('./types.js').NavigationState} */\nlet current = {\n\tbranch: [],\n\terror: null,\n\t// @ts-ignore - we need the initial value to be null\n\turl: null\n};\n\n/** this being true means we SSR'd */\nlet hydrated = false;\nlet started = false;\nlet autoscroll = true;\nlet updating = false;\nlet navigating = false;\nlet hash_navigating = false;\n/** True as soon as there happened one client-side navigation (excluding the SvelteKit-initialized initial one when in SPA mode) */\nlet has_navigated = false;\n\nlet force_invalidation = false;\n\n/** @type {import('svelte').SvelteComponent} */\nlet root;\n\n/** @type {number} keeping track of the history index in order to prevent popstate navigation events if needed */\nlet current_history_index;\n\n/** @type {number} */\nlet current_navigation_index;\n\n/** @type {import('@sveltejs/kit').Page} */\nlet page;\n\n/** @type {{}} */\nlet token;\n\n/**\n * A set of tokens which are associated to current preloads.\n * If a preload becomes a real navigation, it's removed from the set.\n * If a preload token is in the set and the preload errors, the error\n * handling logic (for example reloading) is skipped.\n */\nconst preload_tokens = new Set();\n\n/** @type {Promise | null} */\nlet pending_invalidate;\n\n/**\n * @param {import('./types.js').SvelteKitApp} _app\n * @param {HTMLElement} _target\n * @param {Parameters[1]} [hydrate]\n */\nexport async function start(_app, _target, hydrate) {\n\tif (DEV && _target === document.body) {\n\t\tconsole.warn(\n\t\t\t'Placing %sveltekit.body% directly inside is not recommended, as your app may break for users who have certain browser extensions installed.\\n\\nConsider wrapping it in an element:\\n\\n
\\n %sveltekit.body%\\n
'\n\t\t);\n\t}\n\n\t// detect basic auth credentials in the current URL\n\t// https://github.com/sveltejs/kit/pull/11179\n\t// if so, refresh the page without credentials\n\tif (document.URL !== location.href) {\n\t\t// eslint-disable-next-line no-self-assign\n\t\tlocation.href = location.href;\n\t}\n\n\tapp = _app;\n\troutes = parse(_app);\n\tcontainer = __SVELTEKIT_EMBEDDED__ ? _target : document.documentElement;\n\ttarget = _target;\n\n\t// we import the root layout/error nodes eagerly, so that\n\t// connectivity errors after initialisation don't nuke the app\n\tdefault_layout_loader = _app.nodes[0];\n\tdefault_error_loader = _app.nodes[1];\n\tdefault_layout_loader();\n\tdefault_error_loader();\n\n\tcurrent_history_index = history.state?.[HISTORY_INDEX];\n\tcurrent_navigation_index = history.state?.[NAVIGATION_INDEX];\n\n\tif (!current_history_index) {\n\t\t// we use Date.now() as an offset so that cross-document navigations\n\t\t// within the app don't result in data loss\n\t\tcurrent_history_index = current_navigation_index = Date.now();\n\n\t\t// create initial history entry, so we can return here\n\t\thistory.replaceState(\n\t\t\t{\n\t\t\t\t...history.state,\n\t\t\t\t[HISTORY_INDEX]: current_history_index,\n\t\t\t\t[NAVIGATION_INDEX]: current_navigation_index\n\t\t\t},\n\t\t\t''\n\t\t);\n\t}\n\n\t// if we reload the page, or Cmd-Shift-T back to it,\n\t// recover scroll position\n\tconst scroll = scroll_positions[current_history_index];\n\tif (scroll) {\n\t\thistory.scrollRestoration = 'manual';\n\t\tscrollTo(scroll.x, scroll.y);\n\t}\n\n\tif (hydrate) {\n\t\tawait _hydrate(target, hydrate);\n\t} else {\n\t\tgoto(location.href, { replaceState: true });\n\t}\n\n\t_start_router();\n}\n\nasync function _invalidate() {\n\t// Accept all invalidations as they come, don't swallow any while another invalidation\n\t// is running because subsequent invalidations may make earlier ones outdated,\n\t// but batch multiple synchronous invalidations.\n\tawait (pending_invalidate ||= Promise.resolve());\n\tif (!pending_invalidate) return;\n\tpending_invalidate = null;\n\n\tconst intent = get_navigation_intent(current.url, true);\n\n\t// Clear preload, it might be affected by the invalidation.\n\t// Also solves an edge case where a preload is triggered, the navigation for it\n\t// was then triggered and is still running while the invalidation kicks in,\n\t// at which point the invalidation should take over and \"win\".\n\tload_cache = null;\n\n\tconst nav_token = (token = {});\n\tconst navigation_result = intent && (await load_route(intent));\n\tif (!navigation_result || nav_token !== token) return;\n\n\tif (navigation_result.type === 'redirect') {\n\t\treturn _goto(new URL(navigation_result.location, current.url).href, {}, 1, nav_token);\n\t}\n\n\tif (navigation_result.props.page) {\n\t\tpage = navigation_result.props.page;\n\t}\n\tcurrent = navigation_result.state;\n\treset_invalidation();\n\troot.$set(navigation_result.props);\n}\n\nfunction reset_invalidation() {\n\tinvalidated.length = 0;\n\tforce_invalidation = false;\n}\n\n/** @param {number} index */\nfunction capture_snapshot(index) {\n\tif (components.some((c) => c?.snapshot)) {\n\t\tsnapshots[index] = components.map((c) => c?.snapshot?.capture());\n\t}\n}\n\n/** @param {number} index */\nfunction restore_snapshot(index) {\n\tsnapshots[index]?.forEach((value, i) => {\n\t\tcomponents[i]?.snapshot?.restore(value);\n\t});\n}\n\nfunction persist_state() {\n\tupdate_scroll_positions(current_history_index);\n\tstorage.set(SCROLL_KEY, scroll_positions);\n\n\tcapture_snapshot(current_navigation_index);\n\tstorage.set(SNAPSHOT_KEY, snapshots);\n}\n\n/**\n * @param {string | URL} url\n * @param {{ replaceState?: boolean; noScroll?: boolean; keepFocus?: boolean; invalidateAll?: boolean; state?: Record }} options\n * @param {number} redirect_count\n * @param {{}} [nav_token]\n */\nasync function _goto(url, options, redirect_count, nav_token) {\n\treturn navigate({\n\t\ttype: 'goto',\n\t\turl: resolve_url(url),\n\t\tkeepfocus: options.keepFocus,\n\t\tnoscroll: options.noScroll,\n\t\treplace_state: options.replaceState,\n\t\tstate: options.state,\n\t\tredirect_count,\n\t\tnav_token,\n\t\taccept: () => {\n\t\t\tif (options.invalidateAll) {\n\t\t\t\tforce_invalidation = true;\n\t\t\t}\n\t\t}\n\t});\n}\n\n/** @param {import('./types.js').NavigationIntent} intent */\nasync function _preload_data(intent) {\n\t// Reuse the existing pending preload if it's for the same navigation.\n\t// Prevents an edge case where same preload is triggered multiple times,\n\t// then a later one is becoming the real navigation and the preload tokens\n\t// get out of sync.\n\tif (intent.id !== load_cache?.id) {\n\t\tconst preload = {};\n\t\tpreload_tokens.add(preload);\n\t\tload_cache = {\n\t\t\tid: intent.id,\n\t\t\ttoken: preload,\n\t\t\tpromise: load_route({ ...intent, preload }).then((result) => {\n\t\t\t\tpreload_tokens.delete(preload);\n\t\t\t\tif (result.type === 'loaded' && result.state.error) {\n\t\t\t\t\t// Don't cache errors, because they might be transient\n\t\t\t\t\tload_cache = null;\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t})\n\t\t};\n\t}\n\n\treturn load_cache.promise;\n}\n\n/** @param {string} pathname */\nasync function _preload_code(pathname) {\n\tconst route = routes.find((route) => route.exec(get_url_path(pathname)));\n\n\tif (route) {\n\t\tawait Promise.all([...route.layouts, route.leaf].map((load) => load?.[1]()));\n\t}\n}\n\n/**\n * @param {import('./types.js').NavigationFinished} result\n * @param {HTMLElement} target\n * @param {boolean} hydrate\n */\nfunction initialize(result, target, hydrate) {\n\tif (DEV && result.state.error && document.querySelector('vite-error-overlay')) return;\n\n\tcurrent = result.state;\n\n\tconst style = document.querySelector('style[data-sveltekit]');\n\tif (style) style.remove();\n\n\tpage = /** @type {import('@sveltejs/kit').Page} */ (result.props.page);\n\n\troot = new app.root({\n\t\ttarget,\n\t\tprops: { ...result.props, stores, components },\n\t\thydrate\n\t});\n\n\trestore_snapshot(current_navigation_index);\n\n\t/** @type {import('@sveltejs/kit').AfterNavigate} */\n\tconst navigation = {\n\t\tfrom: null,\n\t\tto: {\n\t\t\tparams: current.params,\n\t\t\troute: { id: current.route?.id ?? null },\n\t\t\turl: new URL(location.href)\n\t\t},\n\t\twillUnload: false,\n\t\ttype: 'enter',\n\t\tcomplete: Promise.resolve()\n\t};\n\n\tafter_navigate_callbacks.forEach((fn) => fn(navigation));\n\n\tstarted = true;\n}\n\n/**\n *\n * @param {{\n * url: URL;\n * params: Record;\n * branch: Array;\n * status: number;\n * error: App.Error | null;\n * route: import('types').CSRRoute | null;\n * form?: Record | null;\n * }} opts\n */\nasync function get_navigation_result_from_branch({\n\turl,\n\tparams,\n\tbranch,\n\tstatus,\n\terror,\n\troute,\n\tform\n}) {\n\t/** @type {import('types').TrailingSlash} */\n\tlet slash = 'never';\n\n\t// if `paths.base === '/a/b/c`, then the root route is always `/a/b/c/`, regardless of\n\t// the `trailingSlash` route option, so that relative paths to JS and CSS work\n\tif (base && (url.pathname === base || url.pathname === base + '/')) {\n\t\tslash = 'always';\n\t} else {\n\t\tfor (const node of branch) {\n\t\t\tif (node?.slash !== undefined) slash = node.slash;\n\t\t}\n\t}\n\n\turl.pathname = normalize_path(url.pathname, slash);\n\n\t// eslint-disable-next-line\n\turl.search = url.search; // turn `/?` into `/`\n\n\t/** @type {import('./types.js').NavigationFinished} */\n\tconst result = {\n\t\ttype: 'loaded',\n\t\tstate: {\n\t\t\turl,\n\t\t\tparams,\n\t\t\tbranch,\n\t\t\terror,\n\t\t\troute\n\t\t},\n\t\tprops: {\n\t\t\t// @ts-ignore Somehow it's getting SvelteComponent and SvelteComponentDev mixed up\n\t\t\tconstructors: compact(branch).map((branch_node) => branch_node.node.component),\n\t\t\tpage\n\t\t}\n\t};\n\n\tif (form !== undefined) {\n\t\tresult.props.form = form;\n\t}\n\n\tlet data = {};\n\tlet data_changed = !page;\n\n\tlet p = 0;\n\n\tfor (let i = 0; i < Math.max(branch.length, current.branch.length); i += 1) {\n\t\tconst node = branch[i];\n\t\tconst prev = current.branch[i];\n\n\t\tif (node?.data !== prev?.data) data_changed = true;\n\t\tif (!node) continue;\n\n\t\tdata = { ...data, ...node.data };\n\n\t\t// Only set props if the node actually updated. This prevents needless rerenders.\n\t\tif (data_changed) {\n\t\t\tresult.props[`data_${p}`] = data;\n\t\t}\n\n\t\tp += 1;\n\t}\n\n\tconst page_changed =\n\t\t!current.url ||\n\t\turl.href !== current.url.href ||\n\t\tcurrent.error !== error ||\n\t\t(form !== undefined && form !== page.form) ||\n\t\tdata_changed;\n\n\tif (page_changed) {\n\t\tresult.props.page = {\n\t\t\terror,\n\t\t\tparams,\n\t\t\troute: {\n\t\t\t\tid: route?.id ?? null\n\t\t\t},\n\t\t\tstate: {},\n\t\t\tstatus,\n\t\t\turl: new URL(url),\n\t\t\tform: form ?? null,\n\t\t\t// The whole page store is updated, but this way the object reference stays the same\n\t\t\tdata: data_changed ? data : page.data\n\t\t};\n\t}\n\n\treturn result;\n}\n\n/**\n * Call the load function of the given node, if it exists.\n * If `server_data` is passed, this is treated as the initial run and the page endpoint is not requested.\n *\n * @param {{\n * loader: import('types').CSRPageNodeLoader;\n * \t parent: () => Promise>;\n * url: URL;\n * params: Record;\n * route: { id: string | null };\n * \t server_data_node: import('./types.js').DataNode | null;\n * }} options\n * @returns {Promise}\n */\nasync function load_node({ loader, parent, url, params, route, server_data_node }) {\n\t/** @type {Record | null} */\n\tlet data = null;\n\n\tlet is_tracking = true;\n\n\t/** @type {import('types').Uses} */\n\tconst uses = {\n\t\tdependencies: new Set(),\n\t\tparams: new Set(),\n\t\tparent: false,\n\t\troute: false,\n\t\turl: false,\n\t\tsearch_params: new Set()\n\t};\n\n\tconst node = await loader();\n\n\tif (DEV) {\n\t\tvalidate_page_exports(node.universal);\n\t}\n\n\tif (node.universal?.load) {\n\t\t/** @param {string[]} deps */\n\t\tfunction depends(...deps) {\n\t\t\tfor (const dep of deps) {\n\t\t\t\tif (DEV) validate_depends(/** @type {string} */ (route.id), dep);\n\n\t\t\t\tconst { href } = new URL(dep, url);\n\t\t\t\tuses.dependencies.add(href);\n\t\t\t}\n\t\t}\n\n\t\t/** @type {import('@sveltejs/kit').LoadEvent} */\n\t\tconst load_input = {\n\t\t\troute: new Proxy(route, {\n\t\t\t\tget: (target, key) => {\n\t\t\t\t\tif (is_tracking) {\n\t\t\t\t\t\tuses.route = true;\n\t\t\t\t\t}\n\t\t\t\t\treturn target[/** @type {'id'} */ (key)];\n\t\t\t\t}\n\t\t\t}),\n\t\t\tparams: new Proxy(params, {\n\t\t\t\tget: (target, key) => {\n\t\t\t\t\tif (is_tracking) {\n\t\t\t\t\t\tuses.params.add(/** @type {string} */ (key));\n\t\t\t\t\t}\n\t\t\t\t\treturn target[/** @type {string} */ (key)];\n\t\t\t\t}\n\t\t\t}),\n\t\t\tdata: server_data_node?.data ?? null,\n\t\t\turl: make_trackable(\n\t\t\t\turl,\n\t\t\t\t() => {\n\t\t\t\t\tif (is_tracking) {\n\t\t\t\t\t\tuses.url = true;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t(param) => {\n\t\t\t\t\tif (is_tracking) {\n\t\t\t\t\t\tuses.search_params.add(param);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t),\n\t\t\tasync fetch(resource, init) {\n\t\t\t\t/** @type {URL | string} */\n\t\t\t\tlet requested;\n\n\t\t\t\tif (resource instanceof Request) {\n\t\t\t\t\trequested = resource.url;\n\n\t\t\t\t\t// we're not allowed to modify the received `Request` object, so in order\n\t\t\t\t\t// to fixup relative urls we create a new equivalent `init` object instead\n\t\t\t\t\tinit = {\n\t\t\t\t\t\t// the request body must be consumed in memory until browsers\n\t\t\t\t\t\t// implement streaming request bodies and/or the body getter\n\t\t\t\t\t\tbody:\n\t\t\t\t\t\t\tresource.method === 'GET' || resource.method === 'HEAD'\n\t\t\t\t\t\t\t\t? undefined\n\t\t\t\t\t\t\t\t: await resource.blob(),\n\t\t\t\t\t\tcache: resource.cache,\n\t\t\t\t\t\tcredentials: resource.credentials,\n\t\t\t\t\t\theaders: resource.headers,\n\t\t\t\t\t\tintegrity: resource.integrity,\n\t\t\t\t\t\tkeepalive: resource.keepalive,\n\t\t\t\t\t\tmethod: resource.method,\n\t\t\t\t\t\tmode: resource.mode,\n\t\t\t\t\t\tredirect: resource.redirect,\n\t\t\t\t\t\treferrer: resource.referrer,\n\t\t\t\t\t\treferrerPolicy: resource.referrerPolicy,\n\t\t\t\t\t\tsignal: resource.signal,\n\t\t\t\t\t\t...init\n\t\t\t\t\t};\n\t\t\t\t} else {\n\t\t\t\t\trequested = resource;\n\t\t\t\t}\n\n\t\t\t\t// we must fixup relative urls so they are resolved from the target page\n\t\t\t\tconst resolved = new URL(requested, url);\n\t\t\t\tif (is_tracking) {\n\t\t\t\t\tdepends(resolved.href);\n\t\t\t\t}\n\n\t\t\t\t// match ssr serialized data url, which is important to find cached responses\n\t\t\t\tif (resolved.origin === url.origin) {\n\t\t\t\t\trequested = resolved.href.slice(url.origin.length);\n\t\t\t\t}\n\n\t\t\t\t// prerendered pages may be served from any origin, so `initial_fetch` urls shouldn't be resolved\n\t\t\t\treturn started\n\t\t\t\t\t? subsequent_fetch(requested, resolved.href, init)\n\t\t\t\t\t: initial_fetch(requested, init);\n\t\t\t},\n\t\t\tsetHeaders: () => {}, // noop\n\t\t\tdepends,\n\t\t\tparent() {\n\t\t\t\tif (is_tracking) {\n\t\t\t\t\tuses.parent = true;\n\t\t\t\t}\n\t\t\t\treturn parent();\n\t\t\t},\n\t\t\tuntrack(fn) {\n\t\t\t\tis_tracking = false;\n\t\t\t\ttry {\n\t\t\t\t\treturn fn();\n\t\t\t\t} finally {\n\t\t\t\t\tis_tracking = true;\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tif (DEV) {\n\t\t\ttry {\n\t\t\t\tlock_fetch();\n\t\t\t\tdata = (await node.universal.load.call(null, load_input)) ?? null;\n\t\t\t\tif (data != null && Object.getPrototypeOf(data) !== Object.prototype) {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`a load function related to route '${route.id}' returned ${\n\t\t\t\t\t\t\ttypeof data !== 'object'\n\t\t\t\t\t\t\t\t? `a ${typeof data}`\n\t\t\t\t\t\t\t\t: data instanceof Response\n\t\t\t\t\t\t\t\t\t? 'a Response object'\n\t\t\t\t\t\t\t\t\t: Array.isArray(data)\n\t\t\t\t\t\t\t\t\t\t? 'an array'\n\t\t\t\t\t\t\t\t\t\t: 'a non-plain object'\n\t\t\t\t\t\t}, but must return a plain object at the top level (i.e. \\`return {...}\\`)`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t} finally {\n\t\t\t\tunlock_fetch();\n\t\t\t}\n\t\t} else {\n\t\t\tdata = (await node.universal.load.call(null, load_input)) ?? null;\n\t\t}\n\t}\n\n\treturn {\n\t\tnode,\n\t\tloader,\n\t\tserver: server_data_node,\n\t\tuniversal: node.universal?.load ? { type: 'data', data, uses } : null,\n\t\tdata: data ?? server_data_node?.data ?? null,\n\t\tslash: node.universal?.trailingSlash ?? server_data_node?.slash\n\t};\n}\n\n/**\n * @param {boolean} parent_changed\n * @param {boolean} route_changed\n * @param {boolean} url_changed\n * @param {Set} search_params_changed\n * @param {import('types').Uses | undefined} uses\n * @param {Record} params\n */\nfunction has_changed(\n\tparent_changed,\n\troute_changed,\n\turl_changed,\n\tsearch_params_changed,\n\tuses,\n\tparams\n) {\n\tif (force_invalidation) return true;\n\n\tif (!uses) return false;\n\n\tif (uses.parent && parent_changed) return true;\n\tif (uses.route && route_changed) return true;\n\tif (uses.url && url_changed) return true;\n\n\tfor (const tracked_params of uses.search_params) {\n\t\tif (search_params_changed.has(tracked_params)) return true;\n\t}\n\n\tfor (const param of uses.params) {\n\t\tif (params[param] !== current.params[param]) return true;\n\t}\n\n\tfor (const href of uses.dependencies) {\n\t\tif (invalidated.some((fn) => fn(new URL(href)))) return true;\n\t}\n\n\treturn false;\n}\n\n/**\n * @param {import('types').ServerDataNode | import('types').ServerDataSkippedNode | null} node\n * @param {import('./types.js').DataNode | null} [previous]\n * @returns {import('./types.js').DataNode | null}\n */\nfunction create_data_node(node, previous) {\n\tif (node?.type === 'data') return node;\n\tif (node?.type === 'skip') return previous ?? null;\n\treturn null;\n}\n\n/**\n *\n * @param {URL | null} old_url\n * @param {URL} new_url\n */\nfunction diff_search_params(old_url, new_url) {\n\tif (!old_url) return new Set(new_url.searchParams.keys());\n\n\tconst changed = new Set([...old_url.searchParams.keys(), ...new_url.searchParams.keys()]);\n\n\tfor (const key of changed) {\n\t\tconst old_values = old_url.searchParams.getAll(key);\n\t\tconst new_values = new_url.searchParams.getAll(key);\n\n\t\tif (\n\t\t\told_values.every((value) => new_values.includes(value)) &&\n\t\t\tnew_values.every((value) => old_values.includes(value))\n\t\t) {\n\t\t\tchanged.delete(key);\n\t\t}\n\t}\n\n\treturn changed;\n}\n\n/**\n * @param {Omit & { error: App.Error }} opts\n * @returns {import('./types.js').NavigationFinished}\n */\nfunction preload_error({ error, url, route, params }) {\n\treturn {\n\t\ttype: 'loaded',\n\t\tstate: {\n\t\t\terror,\n\t\t\turl,\n\t\t\troute,\n\t\t\tparams,\n\t\t\tbranch: []\n\t\t},\n\t\tprops: { page, constructors: [] }\n\t};\n}\n\n/**\n * @param {import('./types.js').NavigationIntent & { preload?: {} }} intent\n * @returns {Promise}\n */\nasync function load_route({ id, invalidating, url, params, route, preload }) {\n\tif (load_cache?.id === id) {\n\t\t// the preload becomes the real navigation\n\t\tpreload_tokens.delete(load_cache.token);\n\t\treturn load_cache.promise;\n\t}\n\n\tconst { errors, layouts, leaf } = route;\n\n\tconst loaders = [...layouts, leaf];\n\n\t// preload modules to avoid waterfall, but handle rejections\n\t// so they don't get reported to Sentry et al (we don't need\n\t// to act on the failures at this point)\n\terrors.forEach((loader) => loader?.().catch(() => {}));\n\tloaders.forEach((loader) => loader?.[1]().catch(() => {}));\n\n\t/** @type {import('types').ServerNodesResponse | import('types').ServerRedirectNode | null} */\n\tlet server_data = null;\n\tconst url_changed = current.url ? id !== current.url.pathname + current.url.search : false;\n\tconst route_changed = current.route ? route.id !== current.route.id : false;\n\tconst search_params_changed = diff_search_params(current.url, url);\n\n\tlet parent_invalid = false;\n\tconst invalid_server_nodes = loaders.map((loader, i) => {\n\t\tconst previous = current.branch[i];\n\n\t\tconst invalid =\n\t\t\t!!loader?.[0] &&\n\t\t\t(previous?.loader !== loader[1] ||\n\t\t\t\thas_changed(\n\t\t\t\t\tparent_invalid,\n\t\t\t\t\troute_changed,\n\t\t\t\t\turl_changed,\n\t\t\t\t\tsearch_params_changed,\n\t\t\t\t\tprevious.server?.uses,\n\t\t\t\t\tparams\n\t\t\t\t));\n\n\t\tif (invalid) {\n\t\t\t// For the next one\n\t\t\tparent_invalid = true;\n\t\t}\n\n\t\treturn invalid;\n\t});\n\n\tif (invalid_server_nodes.some(Boolean)) {\n\t\ttry {\n\t\t\tserver_data = await load_data(url, invalid_server_nodes);\n\t\t} catch (error) {\n\t\t\tconst handled_error = await handle_error(error, { url, params, route: { id } });\n\n\t\t\tif (preload_tokens.has(preload)) {\n\t\t\t\treturn preload_error({ error: handled_error, url, params, route });\n\t\t\t}\n\n\t\t\treturn load_root_error_page({\n\t\t\t\tstatus: get_status(error),\n\t\t\t\terror: handled_error,\n\t\t\t\turl,\n\t\t\t\troute\n\t\t\t});\n\t\t}\n\n\t\tif (server_data.type === 'redirect') {\n\t\t\treturn server_data;\n\t\t}\n\t}\n\n\tconst server_data_nodes = server_data?.nodes;\n\n\tlet parent_changed = false;\n\n\tconst branch_promises = loaders.map(async (loader, i) => {\n\t\tif (!loader) return;\n\n\t\t/** @type {import('./types.js').BranchNode | undefined} */\n\t\tconst previous = current.branch[i];\n\n\t\tconst server_data_node = server_data_nodes?.[i];\n\n\t\t// re-use data from previous load if it's still valid\n\t\tconst valid =\n\t\t\t(!server_data_node || server_data_node.type === 'skip') &&\n\t\t\tloader[1] === previous?.loader &&\n\t\t\t!has_changed(\n\t\t\t\tparent_changed,\n\t\t\t\troute_changed,\n\t\t\t\turl_changed,\n\t\t\t\tsearch_params_changed,\n\t\t\t\tprevious.universal?.uses,\n\t\t\t\tparams\n\t\t\t);\n\t\tif (valid) return previous;\n\n\t\tparent_changed = true;\n\n\t\tif (server_data_node?.type === 'error') {\n\t\t\t// rethrow and catch below\n\t\t\tthrow server_data_node;\n\t\t}\n\n\t\treturn load_node({\n\t\t\tloader: loader[1],\n\t\t\turl,\n\t\t\tparams,\n\t\t\troute,\n\t\t\tparent: async () => {\n\t\t\t\tconst data = {};\n\t\t\t\tfor (let j = 0; j < i; j += 1) {\n\t\t\t\t\tObject.assign(data, (await branch_promises[j])?.data);\n\t\t\t\t}\n\t\t\t\treturn data;\n\t\t\t},\n\t\t\tserver_data_node: create_data_node(\n\t\t\t\t// server_data_node is undefined if it wasn't reloaded from the server;\n\t\t\t\t// and if current loader uses server data, we want to reuse previous data.\n\t\t\t\tserver_data_node === undefined && loader[0] ? { type: 'skip' } : server_data_node ?? null,\n\t\t\t\tloader[0] ? previous?.server : undefined\n\t\t\t)\n\t\t});\n\t});\n\n\t// if we don't do this, rejections will be unhandled\n\tfor (const p of branch_promises) p.catch(() => {});\n\n\t/** @type {Array} */\n\tconst branch = [];\n\n\tfor (let i = 0; i < loaders.length; i += 1) {\n\t\tif (loaders[i]) {\n\t\t\ttry {\n\t\t\t\tbranch.push(await branch_promises[i]);\n\t\t\t} catch (err) {\n\t\t\t\tif (err instanceof Redirect) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: 'redirect',\n\t\t\t\t\t\tlocation: err.location\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\tif (preload_tokens.has(preload)) {\n\t\t\t\t\treturn preload_error({\n\t\t\t\t\t\terror: await handle_error(err, { params, url, route: { id: route.id } }),\n\t\t\t\t\t\turl,\n\t\t\t\t\t\tparams,\n\t\t\t\t\t\troute\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\tlet status = get_status(err);\n\t\t\t\t/** @type {App.Error} */\n\t\t\t\tlet error;\n\n\t\t\t\tif (server_data_nodes?.includes(/** @type {import('types').ServerErrorNode} */ (err))) {\n\t\t\t\t\t// this is the server error rethrown above, reconstruct but don't invoke\n\t\t\t\t\t// the client error handler; it should've already been handled on the server\n\t\t\t\t\tstatus = /** @type {import('types').ServerErrorNode} */ (err).status ?? status;\n\t\t\t\t\terror = /** @type {import('types').ServerErrorNode} */ (err).error;\n\t\t\t\t} else if (err instanceof HttpError) {\n\t\t\t\t\terror = err.body;\n\t\t\t\t} else {\n\t\t\t\t\t// Referenced node could have been removed due to redeploy, check\n\t\t\t\t\tconst updated = await stores.updated.check();\n\t\t\t\t\tif (updated) {\n\t\t\t\t\t\treturn await native_navigation(url);\n\t\t\t\t\t}\n\n\t\t\t\t\terror = await handle_error(err, { params, url, route: { id: route.id } });\n\t\t\t\t}\n\n\t\t\t\tconst error_load = await load_nearest_error_page(i, branch, errors);\n\t\t\t\tif (error_load) {\n\t\t\t\t\treturn await get_navigation_result_from_branch({\n\t\t\t\t\t\turl,\n\t\t\t\t\t\tparams,\n\t\t\t\t\t\tbranch: branch.slice(0, error_load.idx).concat(error_load.node),\n\t\t\t\t\t\tstatus,\n\t\t\t\t\t\terror,\n\t\t\t\t\t\troute\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\treturn await server_fallback(url, { id: route.id }, error, status);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\t// push an empty slot so we can rewind past gaps to the\n\t\t\t// layout that corresponds with an +error.svelte page\n\t\t\tbranch.push(undefined);\n\t\t}\n\t}\n\n\treturn await get_navigation_result_from_branch({\n\t\turl,\n\t\tparams,\n\t\tbranch,\n\t\tstatus: 200,\n\t\terror: null,\n\t\troute,\n\t\t// Reset `form` on navigation, but not invalidation\n\t\tform: invalidating ? undefined : null\n\t});\n}\n\n/**\n * @param {number} i Start index to backtrack from\n * @param {Array} branch Branch to backtrack\n * @param {Array} errors All error pages for this branch\n * @returns {Promise<{idx: number; node: import('./types.js').BranchNode} | undefined>}\n */\nasync function load_nearest_error_page(i, branch, errors) {\n\twhile (i--) {\n\t\tif (errors[i]) {\n\t\t\tlet j = i;\n\t\t\twhile (!branch[j]) j -= 1;\n\t\t\ttry {\n\t\t\t\treturn {\n\t\t\t\t\tidx: j + 1,\n\t\t\t\t\tnode: {\n\t\t\t\t\t\tnode: await /** @type {import('types').CSRPageNodeLoader } */ (errors[i])(),\n\t\t\t\t\t\tloader: /** @type {import('types').CSRPageNodeLoader } */ (errors[i]),\n\t\t\t\t\t\tdata: {},\n\t\t\t\t\t\tserver: null,\n\t\t\t\t\t\tuniversal: null\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t} catch (e) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * @param {{\n * status: number;\n * error: App.Error;\n * url: URL;\n * route: { id: string | null }\n * }} opts\n * @returns {Promise}\n */\nasync function load_root_error_page({ status, error, url, route }) {\n\t/** @type {Record} */\n\tconst params = {}; // error page does not have params\n\n\t/** @type {import('types').ServerDataNode | null} */\n\tlet server_data_node = null;\n\n\tconst default_layout_has_server_load = app.server_loads[0] === 0;\n\n\tif (default_layout_has_server_load) {\n\t\t// TODO post-https://github.com/sveltejs/kit/discussions/6124 we can use\n\t\t// existing root layout data\n\t\ttry {\n\t\t\tconst server_data = await load_data(url, [true]);\n\n\t\t\tif (\n\t\t\t\tserver_data.type !== 'data' ||\n\t\t\t\t(server_data.nodes[0] && server_data.nodes[0].type !== 'data')\n\t\t\t) {\n\t\t\t\tthrow 0;\n\t\t\t}\n\n\t\t\tserver_data_node = server_data.nodes[0] ?? null;\n\t\t} catch {\n\t\t\t// at this point we have no choice but to fall back to the server, if it wouldn't\n\t\t\t// bring us right back here, turning this into an endless loop\n\t\t\tif (url.origin !== origin || url.pathname !== location.pathname || hydrated) {\n\t\t\t\tawait native_navigation(url);\n\t\t\t}\n\t\t}\n\t}\n\n\tconst root_layout = await load_node({\n\t\tloader: default_layout_loader,\n\t\turl,\n\t\tparams,\n\t\troute,\n\t\tparent: () => Promise.resolve({}),\n\t\tserver_data_node: create_data_node(server_data_node)\n\t});\n\n\t/** @type {import('./types.js').BranchNode} */\n\tconst root_error = {\n\t\tnode: await default_error_loader(),\n\t\tloader: default_error_loader,\n\t\tuniversal: null,\n\t\tserver: null,\n\t\tdata: null\n\t};\n\n\treturn await get_navigation_result_from_branch({\n\t\turl,\n\t\tparams,\n\t\tbranch: [root_layout, root_error],\n\t\tstatus,\n\t\terror,\n\t\troute: null\n\t});\n}\n\n/**\n * Resolve the full info (which route, params, etc.) for a client-side navigation from the URL,\n * taking the reroute hook into account. If this isn't a client-side-navigation (or the URL is undefined),\n * returns undefined.\n * @param {URL | undefined} url\n * @param {boolean} invalidating\n */\nfunction get_navigation_intent(url, invalidating) {\n\tif (!url) return undefined;\n\tif (is_external_url(url, base)) return;\n\n\t// reroute could alter the given URL, so we pass a copy\n\tlet rerouted;\n\ttry {\n\t\trerouted = app.hooks.reroute({ url: new URL(url) }) ?? url.pathname;\n\t} catch (e) {\n\t\tif (DEV) {\n\t\t\t// in development, print the error...\n\t\t\tconsole.error(e);\n\n\t\t\t// ...and pause execution, since otherwise we will immediately reload the page\n\t\t\tdebugger; // eslint-disable-line\n\t\t}\n\n\t\t// fall back to native navigation\n\t\treturn undefined;\n\t}\n\n\tconst path = get_url_path(rerouted);\n\n\tfor (const route of routes) {\n\t\tconst params = route.exec(path);\n\n\t\tif (params) {\n\t\t\tconst id = url.pathname + url.search;\n\t\t\t/** @type {import('./types.js').NavigationIntent} */\n\t\t\tconst intent = {\n\t\t\t\tid,\n\t\t\t\tinvalidating,\n\t\t\t\troute,\n\t\t\t\tparams: decode_params(params),\n\t\t\t\turl\n\t\t\t};\n\t\t\treturn intent;\n\t\t}\n\t}\n}\n\n/** @param {string} pathname */\nfunction get_url_path(pathname) {\n\treturn decode_pathname(pathname.slice(base.length) || '/');\n}\n\n/**\n * @param {{\n * url: URL;\n * type: import('@sveltejs/kit').Navigation[\"type\"];\n * intent?: import('./types.js').NavigationIntent;\n * delta?: number;\n * }} opts\n */\nfunction _before_navigate({ url, type, intent, delta }) {\n\tlet should_block = false;\n\n\tconst nav = create_navigation(current, intent, url, type);\n\n\tif (delta !== undefined) {\n\t\tnav.navigation.delta = delta;\n\t}\n\n\tconst cancellable = {\n\t\t...nav.navigation,\n\t\tcancel: () => {\n\t\t\tshould_block = true;\n\t\t\tnav.reject(new Error('navigation cancelled'));\n\t\t}\n\t};\n\n\tif (!navigating) {\n\t\t// Don't run the event during redirects\n\t\tbefore_navigate_callbacks.forEach((fn) => fn(cancellable));\n\t}\n\n\treturn should_block ? null : nav;\n}\n\n/**\n * @param {{\n * type: import('@sveltejs/kit').Navigation[\"type\"];\n * url: URL;\n * popped?: {\n * state: Record;\n * scroll: { x: number, y: number };\n * delta: number;\n * };\n * keepfocus?: boolean;\n * noscroll?: boolean;\n * replace_state?: boolean;\n * state?: Record;\n * redirect_count?: number;\n * nav_token?: {};\n * accept?: () => void;\n * block?: () => void;\n * }} opts\n */\nasync function navigate({\n\ttype,\n\turl,\n\tpopped,\n\tkeepfocus,\n\tnoscroll,\n\treplace_state,\n\tstate = {},\n\tredirect_count = 0,\n\tnav_token = {},\n\taccept = noop,\n\tblock = noop\n}) {\n\tconst intent = get_navigation_intent(url, false);\n\tconst nav = _before_navigate({ url, type, delta: popped?.delta, intent });\n\n\tif (!nav) {\n\t\tblock();\n\t\treturn;\n\t}\n\n\t// store this before calling `accept()`, which may change the index\n\tconst previous_history_index = current_history_index;\n\tconst previous_navigation_index = current_navigation_index;\n\n\taccept();\n\n\tnavigating = true;\n\n\tif (started) {\n\t\tstores.navigating.set(nav.navigation);\n\t}\n\n\ttoken = nav_token;\n\tlet navigation_result = intent && (await load_route(intent));\n\n\tif (!navigation_result) {\n\t\tif (is_external_url(url, base)) {\n\t\t\treturn await native_navigation(url);\n\t\t}\n\t\tnavigation_result = await server_fallback(\n\t\t\turl,\n\t\t\t{ id: null },\n\t\t\tawait handle_error(new SvelteKitError(404, 'Not Found', `Not found: ${url.pathname}`), {\n\t\t\t\turl,\n\t\t\t\tparams: {},\n\t\t\t\troute: { id: null }\n\t\t\t}),\n\t\t\t404\n\t\t);\n\t}\n\n\t// if this is an internal navigation intent, use the normalized\n\t// URL for the rest of the function\n\turl = intent?.url || url;\n\n\t// abort if user navigated during update\n\tif (token !== nav_token) {\n\t\tnav.reject(new Error('navigation aborted'));\n\t\treturn false;\n\t}\n\n\tif (navigation_result.type === 'redirect') {\n\t\t// whatwg fetch spec https://fetch.spec.whatwg.org/#http-redirect-fetch says to error after 20 redirects\n\t\tif (redirect_count >= 20) {\n\t\t\tnavigation_result = await load_root_error_page({\n\t\t\t\tstatus: 500,\n\t\t\t\terror: await handle_error(new Error('Redirect loop'), {\n\t\t\t\t\turl,\n\t\t\t\t\tparams: {},\n\t\t\t\t\troute: { id: null }\n\t\t\t\t}),\n\t\t\t\turl,\n\t\t\t\troute: { id: null }\n\t\t\t});\n\t\t} else {\n\t\t\t_goto(new URL(navigation_result.location, url).href, {}, redirect_count + 1, nav_token);\n\t\t\treturn false;\n\t\t}\n\t} else if (/** @type {number} */ (navigation_result.props.page.status) >= 400) {\n\t\tconst updated = await stores.updated.check();\n\t\tif (updated) {\n\t\t\tawait native_navigation(url);\n\t\t}\n\t}\n\n\t// reset invalidation only after a finished navigation. If there are redirects or\n\t// additional invalidations, they should get the same invalidation treatment\n\treset_invalidation();\n\n\tupdating = true;\n\n\tupdate_scroll_positions(previous_history_index);\n\tcapture_snapshot(previous_navigation_index);\n\n\t// ensure the url pathname matches the page's trailing slash option\n\tif (navigation_result.props.page.url.pathname !== url.pathname) {\n\t\turl.pathname = navigation_result.props.page.url.pathname;\n\t}\n\n\tstate = popped ? popped.state : state;\n\n\tif (!popped) {\n\t\t// this is a new navigation, rather than a popstate\n\t\tconst change = replace_state ? 0 : 1;\n\n\t\tconst entry = {\n\t\t\t[HISTORY_INDEX]: (current_history_index += change),\n\t\t\t[NAVIGATION_INDEX]: (current_navigation_index += change),\n\t\t\t[STATES_KEY]: state\n\t\t};\n\n\t\tconst fn = replace_state ? history.replaceState : history.pushState;\n\t\tfn.call(history, entry, '', url);\n\n\t\tif (!replace_state) {\n\t\t\tclear_onward_history(current_history_index, current_navigation_index);\n\t\t}\n\t}\n\n\t// reset preload synchronously after the history state has been set to avoid race conditions\n\tload_cache = null;\n\n\tnavigation_result.props.page.state = state;\n\n\tif (started) {\n\t\tcurrent = navigation_result.state;\n\n\t\t// reset url before updating page store\n\t\tif (navigation_result.props.page) {\n\t\t\tnavigation_result.props.page.url = url;\n\t\t}\n\n\t\tconst after_navigate = (\n\t\t\tawait Promise.all(\n\t\t\t\ton_navigate_callbacks.map((fn) =>\n\t\t\t\t\tfn(/** @type {import('@sveltejs/kit').OnNavigate} */ (nav.navigation))\n\t\t\t\t)\n\t\t\t)\n\t\t).filter(/** @returns {value is () => void} */ (value) => typeof value === 'function');\n\n\t\tif (after_navigate.length > 0) {\n\t\t\tfunction cleanup() {\n\t\t\t\tafter_navigate_callbacks = after_navigate_callbacks.filter(\n\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t(fn) => !after_navigate.includes(fn)\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tafter_navigate.push(cleanup);\n\t\t\tafter_navigate_callbacks.push(...after_navigate);\n\t\t}\n\n\t\troot.$set(navigation_result.props);\n\t\thas_navigated = true;\n\t} else {\n\t\tinitialize(navigation_result, target, false);\n\t}\n\n\tconst { activeElement } = document;\n\n\t// need to render the DOM before we can scroll to the rendered elements and do focus management\n\tawait tick();\n\n\t// we reset scroll before dealing with focus, to avoid a flash of unscrolled content\n\tconst scroll = popped ? popped.scroll : noscroll ? scroll_state() : null;\n\n\tif (autoscroll) {\n\t\tconst deep_linked = url.hash && document.getElementById(decodeURIComponent(url.hash.slice(1)));\n\t\tif (scroll) {\n\t\t\tscrollTo(scroll.x, scroll.y);\n\t\t} else if (deep_linked) {\n\t\t\t// Here we use `scrollIntoView` on the element instead of `scrollTo`\n\t\t\t// because it natively supports the `scroll-margin` and `scroll-behavior`\n\t\t\t// CSS properties.\n\t\t\tdeep_linked.scrollIntoView();\n\t\t} else {\n\t\t\tscrollTo(0, 0);\n\t\t}\n\t}\n\n\tconst changed_focus =\n\t\t// reset focus only if any manual focus management didn't override it\n\t\tdocument.activeElement !== activeElement &&\n\t\t// also refocus when activeElement is body already because the\n\t\t// focus event might not have been fired on it yet\n\t\tdocument.activeElement !== document.body;\n\n\tif (!keepfocus && !changed_focus) {\n\t\treset_focus();\n\t}\n\n\tautoscroll = true;\n\n\tif (navigation_result.props.page) {\n\t\tpage = navigation_result.props.page;\n\t}\n\n\tnavigating = false;\n\n\tif (type === 'popstate') {\n\t\trestore_snapshot(current_navigation_index);\n\t}\n\n\tnav.fulfil(undefined);\n\n\tafter_navigate_callbacks.forEach((fn) =>\n\t\tfn(/** @type {import('@sveltejs/kit').AfterNavigate} */ (nav.navigation))\n\t);\n\n\tstores.navigating.set(null);\n\n\tupdating = false;\n}\n\n/**\n * Does a full page reload if it wouldn't result in an endless loop in the SPA case\n * @param {URL} url\n * @param {{ id: string | null }} route\n * @param {App.Error} error\n * @param {number} status\n * @returns {Promise}\n */\nasync function server_fallback(url, route, error, status) {\n\tif (url.origin === origin && url.pathname === location.pathname && !hydrated) {\n\t\t// We would reload the same page we're currently on, which isn't hydrated,\n\t\t// which means no SSR, which means we would end up in an endless loop\n\t\treturn await load_root_error_page({\n\t\t\tstatus,\n\t\t\terror,\n\t\t\turl,\n\t\t\troute\n\t\t});\n\t}\n\n\tif (DEV && status !== 404) {\n\t\tconsole.error(\n\t\t\t'An error occurred while loading the page. This will cause a full page reload. (This message will only appear during development.)'\n\t\t);\n\n\t\tdebugger; // eslint-disable-line\n\t}\n\n\treturn await native_navigation(url);\n}\n\nif (import.meta.hot) {\n\timport.meta.hot.on('vite:beforeUpdate', () => {\n\t\tif (current.error) location.reload();\n\t});\n}\n\nfunction setup_preload() {\n\t/** @type {NodeJS.Timeout} */\n\tlet mousemove_timeout;\n\n\tcontainer.addEventListener('mousemove', (event) => {\n\t\tconst target = /** @type {Element} */ (event.target);\n\n\t\tclearTimeout(mousemove_timeout);\n\t\tmousemove_timeout = setTimeout(() => {\n\t\t\tpreload(target, 2);\n\t\t}, 20);\n\t});\n\n\t/** @param {Event} event */\n\tfunction tap(event) {\n\t\tpreload(/** @type {Element} */ (event.composedPath()[0]), 1);\n\t}\n\n\tcontainer.addEventListener('mousedown', tap);\n\tcontainer.addEventListener('touchstart', tap, { passive: true });\n\n\tconst observer = new IntersectionObserver(\n\t\t(entries) => {\n\t\t\tfor (const entry of entries) {\n\t\t\t\tif (entry.isIntersecting) {\n\t\t\t\t\t_preload_code(/** @type {HTMLAnchorElement} */ (entry.target).href);\n\t\t\t\t\tobserver.unobserve(entry.target);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t{ threshold: 0 }\n\t);\n\n\t/**\n\t * @param {Element} element\n\t * @param {number} priority\n\t */\n\tfunction preload(element, priority) {\n\t\tconst a = find_anchor(element, container);\n\t\tif (!a) return;\n\n\t\tconst { url, external, download } = get_link_info(a, base);\n\t\tif (external || download) return;\n\n\t\tconst options = get_router_options(a);\n\n\t\tif (!options.reload) {\n\t\t\tif (priority <= options.preload_data) {\n\t\t\t\tconst intent = get_navigation_intent(url, false);\n\t\t\t\tif (intent) {\n\t\t\t\t\tif (DEV) {\n\t\t\t\t\t\t_preload_data(intent).then((result) => {\n\t\t\t\t\t\t\tif (result.type === 'loaded' && result.state.error) {\n\t\t\t\t\t\t\t\tconsole.warn(\n\t\t\t\t\t\t\t\t\t`Preloading data for ${intent.url.pathname} failed with the following error: ${result.state.error.message}\\n` +\n\t\t\t\t\t\t\t\t\t\t'If this error is transient, you can ignore it. Otherwise, consider disabling preloading for this route. ' +\n\t\t\t\t\t\t\t\t\t\t'This route was preloaded due to a data-sveltekit-preload-data attribute. ' +\n\t\t\t\t\t\t\t\t\t\t'See https://kit.svelte.dev/docs/link-options for more info'\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\t_preload_data(intent);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (priority <= options.preload_code) {\n\t\t\t\t_preload_code(/** @type {URL} */ (url).pathname);\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction after_navigate() {\n\t\tobserver.disconnect();\n\n\t\tfor (const a of container.querySelectorAll('a')) {\n\t\t\tconst { url, external, download } = get_link_info(a, base);\n\t\t\tif (external || download) continue;\n\n\t\t\tconst options = get_router_options(a);\n\t\t\tif (options.reload) continue;\n\n\t\t\tif (options.preload_code === PRELOAD_PRIORITIES.viewport) {\n\t\t\t\tobserver.observe(a);\n\t\t\t}\n\n\t\t\tif (options.preload_code === PRELOAD_PRIORITIES.eager) {\n\t\t\t\t_preload_code(/** @type {URL} */ (url).pathname);\n\t\t\t}\n\t\t}\n\t}\n\n\tafter_navigate_callbacks.push(after_navigate);\n\tafter_navigate();\n}\n\n/**\n * @param {unknown} error\n * @param {import('@sveltejs/kit').NavigationEvent} event\n * @returns {import('types').MaybePromise}\n */\nfunction handle_error(error, event) {\n\tif (error instanceof HttpError) {\n\t\treturn error.body;\n\t}\n\n\tif (DEV) {\n\t\terrored = true;\n\t\tconsole.warn('The next HMR update will cause the page to reload');\n\t}\n\n\tconst status = get_status(error);\n\tconst message = get_message(error);\n\n\treturn (\n\t\tapp.hooks.handleError({ error, event, status, message }) ?? /** @type {any} */ ({ message })\n\t);\n}\n\n/**\n * @template {Function} T\n * @param {T[]} callbacks\n * @param {T} callback\n */\nfunction add_navigation_callback(callbacks, callback) {\n\tonMount(() => {\n\t\tcallbacks.push(callback);\n\n\t\treturn () => {\n\t\t\tconst i = callbacks.indexOf(callback);\n\t\t\tcallbacks.splice(i, 1);\n\t\t};\n\t});\n}\n\n/**\n * A lifecycle function that runs the supplied `callback` when the current component mounts, and also whenever we navigate to a new URL.\n *\n * `afterNavigate` must be called during a component initialization. It remains active as long as the component is mounted.\n * @param {(navigation: import('@sveltejs/kit').AfterNavigate) => void} callback\n * @returns {void}\n */\nexport function afterNavigate(callback) {\n\tadd_navigation_callback(after_navigate_callbacks, callback);\n}\n\n/**\n * A navigation interceptor that triggers before we navigate to a new URL, whether by clicking a link, calling `goto(...)`, or using the browser back/forward controls.\n *\n * Calling `cancel()` will prevent the navigation from completing. If `navigation.type === 'leave'` — meaning the user is navigating away from the app (or closing the tab) — calling `cancel` will trigger the native browser unload confirmation dialog. In this case, the navigation may or may not be cancelled depending on the user's response.\n *\n * When a navigation isn't to a SvelteKit-owned route (and therefore controlled by SvelteKit's client-side router), `navigation.to.route.id` will be `null`.\n *\n * If the navigation will (if not cancelled) cause the document to unload — in other words `'leave'` navigations and `'link'` navigations where `navigation.to.route === null` — `navigation.willUnload` is `true`.\n *\n * `beforeNavigate` must be called during a component initialization. It remains active as long as the component is mounted.\n * @param {(navigation: import('@sveltejs/kit').BeforeNavigate) => void} callback\n * @returns {void}\n */\nexport function beforeNavigate(callback) {\n\tadd_navigation_callback(before_navigate_callbacks, callback);\n}\n\n/**\n * A lifecycle function that runs the supplied `callback` immediately before we navigate to a new URL except during full-page navigations.\n *\n * If you return a `Promise`, SvelteKit will wait for it to resolve before completing the navigation. This allows you to — for example — use `document.startViewTransition`. Avoid promises that are slow to resolve, since navigation will appear stalled to the user.\n *\n * If a function (or a `Promise` that resolves to a function) is returned from the callback, it will be called once the DOM has updated.\n *\n * `onNavigate` must be called during a component initialization. It remains active as long as the component is mounted.\n * @param {(navigation: import('@sveltejs/kit').OnNavigate) => import('types').MaybePromise<(() => void) | void>} callback\n * @returns {void}\n */\nexport function onNavigate(callback) {\n\tadd_navigation_callback(on_navigate_callbacks, callback);\n}\n\n/**\n * If called when the page is being updated following a navigation (in `onMount` or `afterNavigate` or an action, for example), this disables SvelteKit's built-in scroll handling.\n * This is generally discouraged, since it breaks user expectations.\n * @returns {void}\n */\nexport function disableScrollHandling() {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call disableScrollHandling() on the server');\n\t}\n\n\tif (DEV && started && !updating) {\n\t\tthrow new Error('Can only disable scroll handling during navigation');\n\t}\n\n\tif (updating || !started) {\n\t\tautoscroll = false;\n\t}\n}\n\n/**\n * Returns a Promise that resolves when SvelteKit navigates (or fails to navigate, in which case the promise rejects) to the specified `url`.\n * For external URLs, use `window.location = url` instead of calling `goto(url)`.\n *\n * @param {string | URL} url Where to navigate to. Note that if you've set [`config.kit.paths.base`](https://kit.svelte.dev/docs/configuration#paths) and the URL is root-relative, you need to prepend the base path if you want to navigate within the app.\n * @param {Object} [opts] Options related to the navigation\n * @param {boolean} [opts.replaceState] If `true`, will replace the current `history` entry rather than creating a new one with `pushState`\n * @param {boolean} [opts.noScroll] If `true`, the browser will maintain its scroll position rather than scrolling to the top of the page after navigation\n * @param {boolean} [opts.keepFocus] If `true`, the currently focused element will retain focus after navigation. Otherwise, focus will be reset to the body\n * @param {boolean} [opts.invalidateAll] If `true`, all `load` functions of the page will be rerun. See https://kit.svelte.dev/docs/load#rerunning-load-functions for more info on invalidation.\n * @param {App.PageState} [opts.state] An optional object that will be available on the `$page.state` store\n * @returns {Promise}\n */\nexport function goto(url, opts = {}) {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call goto(...) on the server');\n\t}\n\n\turl = resolve_url(url);\n\n\tif (url.origin !== origin) {\n\t\treturn Promise.reject(\n\t\t\tnew Error(\n\t\t\t\tDEV\n\t\t\t\t\t? `Cannot use \\`goto\\` with an external URL. Use \\`window.location = \"${url}\"\\` instead`\n\t\t\t\t\t: 'goto: invalid URL'\n\t\t\t)\n\t\t);\n\t}\n\n\treturn _goto(url, opts, 0);\n}\n\n/**\n * Causes any `load` functions belonging to the currently active page to re-run if they depend on the `url` in question, via `fetch` or `depends`. Returns a `Promise` that resolves when the page is subsequently updated.\n *\n * If the argument is given as a `string` or `URL`, it must resolve to the same URL that was passed to `fetch` or `depends` (including query parameters).\n * To create a custom identifier, use a string beginning with `[a-z]+:` (e.g. `custom:state`) — this is a valid URL.\n *\n * The `function` argument can be used define a custom predicate. It receives the full `URL` and causes `load` to rerun if `true` is returned.\n * This can be useful if you want to invalidate based on a pattern instead of a exact match.\n *\n * ```ts\n * // Example: Match '/path' regardless of the query parameters\n * import { invalidate } from '$app/navigation';\n *\n * invalidate((url) => url.pathname === '/path');\n * ```\n * @param {string | URL | ((url: URL) => boolean)} resource The invalidated URL\n * @returns {Promise}\n */\nexport function invalidate(resource) {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call invalidate(...) on the server');\n\t}\n\n\tif (typeof resource === 'function') {\n\t\tinvalidated.push(resource);\n\t} else {\n\t\tconst { href } = new URL(resource, location.href);\n\t\tinvalidated.push((url) => url.href === href);\n\t}\n\n\treturn _invalidate();\n}\n\n/**\n * Causes all `load` functions belonging to the currently active page to re-run. Returns a `Promise` that resolves when the page is subsequently updated.\n * @returns {Promise}\n */\nexport function invalidateAll() {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call invalidateAll() on the server');\n\t}\n\n\tforce_invalidation = true;\n\treturn _invalidate();\n}\n\n/**\n * Programmatically preloads the given page, which means\n * 1. ensuring that the code for the page is loaded, and\n * 2. calling the page's load function with the appropriate options.\n *\n * This is the same behaviour that SvelteKit triggers when the user taps or mouses over an `` element with `data-sveltekit-preload-data`.\n * If the next navigation is to `href`, the values returned from load will be used, making navigation instantaneous.\n * Returns a Promise that resolves with the result of running the new route's `load` functions once the preload is complete.\n *\n * @param {string} href Page to preload\n * @returns {Promise<{ type: 'loaded'; status: number; data: Record } | { type: 'redirect'; location: string }>}\n */\nexport async function preloadData(href) {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call preloadData(...) on the server');\n\t}\n\n\tconst url = resolve_url(href);\n\tconst intent = get_navigation_intent(url, false);\n\n\tif (!intent) {\n\t\tthrow new Error(`Attempted to preload a URL that does not belong to this app: ${url}`);\n\t}\n\n\tconst result = await _preload_data(intent);\n\tif (result.type === 'redirect') {\n\t\treturn {\n\t\t\ttype: result.type,\n\t\t\tlocation: result.location\n\t\t};\n\t}\n\n\tconst { status, data } = result.props.page ?? page;\n\treturn { type: result.type, status, data };\n}\n\n/**\n * Programmatically imports the code for routes that haven't yet been fetched.\n * Typically, you might call this to speed up subsequent navigation.\n *\n * You can specify routes by any matching pathname such as `/about` (to match `src/routes/about/+page.svelte`) or `/blog/*` (to match `src/routes/blog/[slug]/+page.svelte`).\n *\n * Unlike `preloadData`, this won't call `load` functions.\n * Returns a Promise that resolves when the modules have been imported.\n *\n * @param {string} pathname\n * @returns {Promise}\n */\nexport function preloadCode(pathname) {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call preloadCode(...) on the server');\n\t}\n\n\tif (DEV) {\n\t\tif (!pathname.startsWith(base)) {\n\t\t\tthrow new Error(\n\t\t\t\t`pathnames passed to preloadCode must start with \\`paths.base\\` (i.e. \"${base}${pathname}\" rather than \"${pathname}\")`\n\t\t\t);\n\t\t}\n\n\t\tif (!routes.find((route) => route.exec(get_url_path(pathname)))) {\n\t\t\tthrow new Error(`'${pathname}' did not match any routes`);\n\t\t}\n\t}\n\n\treturn _preload_code(pathname);\n}\n\n/**\n * Programmatically create a new history entry with the given `$page.state`. To use the current URL, you can pass `''` as the first argument. Used for [shallow routing](https://kit.svelte.dev/docs/shallow-routing).\n *\n * @param {string | URL} url\n * @param {App.PageState} state\n * @returns {void}\n */\nexport function pushState(url, state) {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call pushState(...) on the server');\n\t}\n\n\tif (DEV) {\n\t\ttry {\n\t\t\t// use `devalue.stringify` as a convenient way to ensure we exclude values that can't be properly rehydrated, such as custom class instances\n\t\t\tdevalue.stringify(state);\n\t\t} catch (error) {\n\t\t\t// @ts-expect-error\n\t\t\tthrow new Error(`Could not serialize state${error.path}`);\n\t\t}\n\t}\n\n\tupdate_scroll_positions(current_history_index);\n\n\tconst opts = {\n\t\t[HISTORY_INDEX]: (current_history_index += 1),\n\t\t[NAVIGATION_INDEX]: current_navigation_index,\n\t\t[PAGE_URL_KEY]: page.url.href,\n\t\t[STATES_KEY]: state\n\t};\n\n\thistory.pushState(opts, '', resolve_url(url));\n\thas_navigated = true;\n\n\tpage = { ...page, state };\n\troot.$set({ page });\n\n\tclear_onward_history(current_history_index, current_navigation_index);\n}\n\n/**\n * Programmatically replace the current history entry with the given `$page.state`. To use the current URL, you can pass `''` as the first argument. Used for [shallow routing](https://kit.svelte.dev/docs/shallow-routing).\n *\n * @param {string | URL} url\n * @param {App.PageState} state\n * @returns {void}\n */\nexport function replaceState(url, state) {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call replaceState(...) on the server');\n\t}\n\n\tif (DEV) {\n\t\ttry {\n\t\t\t// use `devalue.stringify` as a convenient way to ensure we exclude values that can't be properly rehydrated, such as custom class instances\n\t\t\tdevalue.stringify(state);\n\t\t} catch (error) {\n\t\t\t// @ts-expect-error\n\t\t\tthrow new Error(`Could not serialize state${error.path}`);\n\t\t}\n\t}\n\n\tconst opts = {\n\t\t[HISTORY_INDEX]: current_history_index,\n\t\t[NAVIGATION_INDEX]: current_navigation_index,\n\t\t[PAGE_URL_KEY]: page.url.href,\n\t\t[STATES_KEY]: state\n\t};\n\n\thistory.replaceState(opts, '', resolve_url(url));\n\n\tpage = { ...page, state };\n\troot.$set({ page });\n}\n\n/**\n * This action updates the `form` property of the current page with the given data and updates `$page.status`.\n * In case of an error, it redirects to the nearest error page.\n * @template {Record | undefined} Success\n * @template {Record | undefined} Failure\n * @param {import('@sveltejs/kit').ActionResult} result\n * @returns {Promise}\n */\nexport async function applyAction(result) {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call applyAction(...) on the server');\n\t}\n\n\tif (result.type === 'error') {\n\t\tconst url = new URL(location.href);\n\n\t\tconst { branch, route } = current;\n\t\tif (!route) return;\n\n\t\tconst error_load = await load_nearest_error_page(current.branch.length, branch, route.errors);\n\t\tif (error_load) {\n\t\t\tconst navigation_result = await get_navigation_result_from_branch({\n\t\t\t\turl,\n\t\t\t\tparams: current.params,\n\t\t\t\tbranch: branch.slice(0, error_load.idx).concat(error_load.node),\n\t\t\t\tstatus: result.status ?? 500,\n\t\t\t\terror: result.error,\n\t\t\t\troute\n\t\t\t});\n\n\t\t\tcurrent = navigation_result.state;\n\n\t\t\troot.$set(navigation_result.props);\n\n\t\t\ttick().then(reset_focus);\n\t\t}\n\t} else if (result.type === 'redirect') {\n\t\t_goto(result.location, { invalidateAll: true }, 0);\n\t} else {\n\t\t/** @type {Record} */\n\t\troot.$set({\n\t\t\t// this brings Svelte's view of the world in line with SvelteKit's\n\t\t\t// after use:enhance reset the form....\n\t\t\tform: null,\n\t\t\tpage: { ...page, form: result.data, status: result.status }\n\t\t});\n\n\t\t// ...so that setting the `form` prop takes effect and isn't ignored\n\t\tawait tick();\n\t\troot.$set({ form: result.data });\n\n\t\tif (result.type === 'success') {\n\t\t\treset_focus();\n\t\t}\n\t}\n}\n\nfunction _start_router() {\n\thistory.scrollRestoration = 'manual';\n\n\t// Adopted from Nuxt.js\n\t// Reset scrollRestoration to auto when leaving page, allowing page reload\n\t// and back-navigation from other pages to use the browser to restore the\n\t// scrolling position.\n\taddEventListener('beforeunload', (e) => {\n\t\tlet should_block = false;\n\n\t\tpersist_state();\n\n\t\tif (!navigating) {\n\t\t\tconst nav = create_navigation(current, undefined, null, 'leave');\n\n\t\t\t// If we're navigating, beforeNavigate was already called. If we end up in here during navigation,\n\t\t\t// it's due to an external or full-page-reload link, for which we don't want to call the hook again.\n\t\t\t/** @type {import('@sveltejs/kit').BeforeNavigate} */\n\t\t\tconst navigation = {\n\t\t\t\t...nav.navigation,\n\t\t\t\tcancel: () => {\n\t\t\t\t\tshould_block = true;\n\t\t\t\t\tnav.reject(new Error('navigation cancelled'));\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tbefore_navigate_callbacks.forEach((fn) => fn(navigation));\n\t\t}\n\n\t\tif (should_block) {\n\t\t\te.preventDefault();\n\t\t\te.returnValue = '';\n\t\t} else {\n\t\t\thistory.scrollRestoration = 'auto';\n\t\t}\n\t});\n\n\taddEventListener('visibilitychange', () => {\n\t\tif (document.visibilityState === 'hidden') {\n\t\t\tpersist_state();\n\t\t}\n\t});\n\n\t// @ts-expect-error this isn't supported everywhere yet\n\tif (!navigator.connection?.saveData) {\n\t\tsetup_preload();\n\t}\n\n\t/** @param {MouseEvent} event */\n\tcontainer.addEventListener('click', async (event) => {\n\t\t// Adapted from https://github.com/visionmedia/page.js\n\t\t// MIT license https://github.com/visionmedia/page.js#license\n\t\tif (event.button || event.which !== 1) return;\n\t\tif (event.metaKey || event.ctrlKey || event.shiftKey || event.altKey) return;\n\t\tif (event.defaultPrevented) return;\n\n\t\tconst a = find_anchor(/** @type {Element} */ (event.composedPath()[0]), container);\n\t\tif (!a) return;\n\n\t\tconst { url, external, target, download } = get_link_info(a, base);\n\t\tif (!url) return;\n\n\t\t// bail out before `beforeNavigate` if link opens in a different tab\n\t\tif (target === '_parent' || target === '_top') {\n\t\t\tif (window.parent !== window) return;\n\t\t} else if (target && target !== '_self') {\n\t\t\treturn;\n\t\t}\n\n\t\tconst options = get_router_options(a);\n\t\tconst is_svg_a_element = a instanceof SVGAElement;\n\n\t\t// Ignore URL protocols that differ to the current one and are not http(s) (e.g. `mailto:`, `tel:`, `myapp:`, etc.)\n\t\t// This may be wrong when the protocol is x: and the link goes to y:.. which should be treated as an external\n\t\t// navigation, but it's not clear how to handle that case and it's not likely to come up in practice.\n\t\t// MEMO: Without this condition, firefox will open mailer twice.\n\t\t// See:\n\t\t// - https://github.com/sveltejs/kit/issues/4045\n\t\t// - https://github.com/sveltejs/kit/issues/5725\n\t\t// - https://github.com/sveltejs/kit/issues/6496\n\t\tif (\n\t\t\t!is_svg_a_element &&\n\t\t\turl.protocol !== location.protocol &&\n\t\t\t!(url.protocol === 'https:' || url.protocol === 'http:')\n\t\t)\n\t\t\treturn;\n\n\t\tif (download) return;\n\n\t\t// Ignore the following but fire beforeNavigate\n\t\tif (external || options.reload) {\n\t\t\tif (_before_navigate({ url, type: 'link' })) {\n\t\t\t\t// set `navigating` to `true` to prevent `beforeNavigate` callbacks\n\t\t\t\t// being called when the page unloads\n\t\t\t\tnavigating = true;\n\t\t\t} else {\n\t\t\t\tevent.preventDefault();\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\t// Check if new url only differs by hash and use the browser default behavior in that case\n\t\t// This will ensure the `hashchange` event is fired\n\t\t// Removing the hash does a full page navigation in the browser, so make sure a hash is present\n\t\tconst [nonhash, hash] = url.href.split('#');\n\t\tif (hash !== undefined && nonhash === strip_hash(location)) {\n\t\t\t// If we are trying to navigate to the same hash, we should only\n\t\t\t// attempt to scroll to that element and avoid any history changes.\n\t\t\t// Otherwise, this can cause Firefox to incorrectly assign a null\n\t\t\t// history state value without any signal that we can detect.\n\t\t\tconst [, current_hash] = current.url.href.split('#');\n\t\t\tif (current_hash === hash) {\n\t\t\t\tevent.preventDefault();\n\n\t\t\t\t// We're already on /# and click on a link that goes to /#, or we're on\n\t\t\t\t// /#top and click on a link that goes to /#top. In those cases just go to\n\t\t\t\t// the top of the page, and avoid a history change.\n\t\t\t\tif (hash === '' || (hash === 'top' && a.ownerDocument.getElementById('top') === null)) {\n\t\t\t\t\twindow.scrollTo({ top: 0 });\n\t\t\t\t} else {\n\t\t\t\t\ta.ownerDocument.getElementById(hash)?.scrollIntoView();\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// set this flag to distinguish between navigations triggered by\n\t\t\t// clicking a hash link and those triggered by popstate\n\t\t\thash_navigating = true;\n\n\t\t\tupdate_scroll_positions(current_history_index);\n\n\t\t\tupdate_url(url);\n\n\t\t\tif (!options.replace_state) return;\n\n\t\t\t// hashchange event shouldn't occur if the router is replacing state.\n\t\t\thash_navigating = false;\n\t\t}\n\n\t\tevent.preventDefault();\n\n\t\t// allow the browser to repaint before navigating —\n\t\t// this prevents INP scores being penalised\n\t\tawait new Promise((fulfil) => {\n\t\t\trequestAnimationFrame(() => {\n\t\t\t\tsetTimeout(fulfil, 0);\n\t\t\t});\n\n\t\t\tsetTimeout(fulfil, 100); // fallback for edge case where rAF doesn't fire because e.g. tab was backgrounded\n\t\t});\n\n\t\tnavigate({\n\t\t\ttype: 'link',\n\t\t\turl,\n\t\t\tkeepfocus: options.keepfocus,\n\t\t\tnoscroll: options.noscroll,\n\t\t\treplace_state: options.replace_state ?? url.href === location.href\n\t\t});\n\t});\n\n\tcontainer.addEventListener('submit', (event) => {\n\t\tif (event.defaultPrevented) return;\n\n\t\tconst form = /** @type {HTMLFormElement} */ (\n\t\t\tHTMLFormElement.prototype.cloneNode.call(event.target)\n\t\t);\n\n\t\tconst submitter = /** @type {HTMLButtonElement | HTMLInputElement | null} */ (event.submitter);\n\n\t\tconst method = submitter?.formMethod || form.method;\n\n\t\tif (method !== 'get') return;\n\n\t\tconst url = new URL(\n\t\t\t(submitter?.hasAttribute('formaction') && submitter?.formAction) || form.action\n\t\t);\n\n\t\tif (is_external_url(url, base)) return;\n\n\t\tconst event_form = /** @type {HTMLFormElement} */ (event.target);\n\n\t\tconst options = get_router_options(event_form);\n\t\tif (options.reload) return;\n\n\t\tevent.preventDefault();\n\t\tevent.stopPropagation();\n\n\t\tconst data = new FormData(event_form);\n\n\t\tconst submitter_name = submitter?.getAttribute('name');\n\t\tif (submitter_name) {\n\t\t\tdata.append(submitter_name, submitter?.getAttribute('value') ?? '');\n\t\t}\n\n\t\t// @ts-expect-error `URLSearchParams(fd)` is kosher, but typescript doesn't know that\n\t\turl.search = new URLSearchParams(data).toString();\n\n\t\tnavigate({\n\t\t\ttype: 'form',\n\t\t\turl,\n\t\t\tkeepfocus: options.keepfocus,\n\t\t\tnoscroll: options.noscroll,\n\t\t\treplace_state: options.replace_state ?? url.href === location.href\n\t\t});\n\t});\n\n\taddEventListener('popstate', async (event) => {\n\t\tif (event.state?.[HISTORY_INDEX]) {\n\t\t\tconst history_index = event.state[HISTORY_INDEX];\n\t\t\ttoken = {};\n\n\t\t\t// if a popstate-driven navigation is cancelled, we need to counteract it\n\t\t\t// with history.go, which means we end up back here, hence this check\n\t\t\tif (history_index === current_history_index) return;\n\n\t\t\tconst scroll = scroll_positions[history_index];\n\t\t\tconst state = event.state[STATES_KEY] ?? {};\n\t\t\tconst url = new URL(event.state[PAGE_URL_KEY] ?? location.href);\n\t\t\tconst navigation_index = event.state[NAVIGATION_INDEX];\n\t\t\tconst is_hash_change = strip_hash(location) === strip_hash(current.url);\n\t\t\tconst shallow =\n\t\t\t\tnavigation_index === current_navigation_index && (has_navigated || is_hash_change);\n\n\t\t\tif (shallow) {\n\t\t\t\t// We don't need to navigate, we just need to update scroll and/or state.\n\t\t\t\t// This happens with hash links and `pushState`/`replaceState`. The\n\t\t\t\t// exception is if we haven't navigated yet, since we could have\n\t\t\t\t// got here after a modal navigation then a reload\n\t\t\t\tupdate_url(url);\n\n\t\t\t\tscroll_positions[current_history_index] = scroll_state();\n\t\t\t\tif (scroll) scrollTo(scroll.x, scroll.y);\n\n\t\t\t\tif (state !== page.state) {\n\t\t\t\t\tpage = { ...page, state };\n\t\t\t\t\troot.$set({ page });\n\t\t\t\t}\n\n\t\t\t\tcurrent_history_index = history_index;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst delta = history_index - current_history_index;\n\n\t\t\tawait navigate({\n\t\t\t\ttype: 'popstate',\n\t\t\t\turl,\n\t\t\t\tpopped: {\n\t\t\t\t\tstate,\n\t\t\t\t\tscroll,\n\t\t\t\t\tdelta\n\t\t\t\t},\n\t\t\t\taccept: () => {\n\t\t\t\t\tcurrent_history_index = history_index;\n\t\t\t\t\tcurrent_navigation_index = navigation_index;\n\t\t\t\t},\n\t\t\t\tblock: () => {\n\t\t\t\t\thistory.go(-delta);\n\t\t\t\t},\n\t\t\t\tnav_token: token\n\t\t\t});\n\t\t} else {\n\t\t\t// since popstate event is also emitted when an anchor referencing the same\n\t\t\t// document is clicked, we have to check that the router isn't already handling\n\t\t\t// the navigation. otherwise we would be updating the page store twice.\n\t\t\tif (!hash_navigating) {\n\t\t\t\tconst url = new URL(location.href);\n\t\t\t\tupdate_url(url);\n\t\t\t}\n\t\t}\n\t});\n\n\taddEventListener('hashchange', () => {\n\t\t// if the hashchange happened as a result of clicking on a link,\n\t\t// we need to update history, otherwise we have to leave it alone\n\t\tif (hash_navigating) {\n\t\t\thash_navigating = false;\n\t\t\thistory.replaceState(\n\t\t\t\t{\n\t\t\t\t\t...history.state,\n\t\t\t\t\t[HISTORY_INDEX]: ++current_history_index,\n\t\t\t\t\t[NAVIGATION_INDEX]: current_navigation_index\n\t\t\t\t},\n\t\t\t\t'',\n\t\t\t\tlocation.href\n\t\t\t);\n\t\t}\n\t});\n\n\t// fix link[rel=icon], because browsers will occasionally try to load relative\n\t// URLs after a pushState/replaceState, resulting in a 404 — see\n\t// https://github.com/sveltejs/kit/issues/3748#issuecomment-1125980897\n\tfor (const link of document.querySelectorAll('link')) {\n\t\tif (link.rel === 'icon') link.href = link.href; // eslint-disable-line\n\t}\n\n\taddEventListener('pageshow', (event) => {\n\t\t// If the user navigates to another site and then uses the back button and\n\t\t// bfcache hits, we need to set navigating to null, the site doesn't know\n\t\t// the navigation away from it was successful.\n\t\t// Info about bfcache here: https://web.dev/bfcache\n\t\tif (event.persisted) {\n\t\t\tstores.navigating.set(null);\n\t\t}\n\t});\n\n\t/**\n\t * @param {URL} url\n\t */\n\tfunction update_url(url) {\n\t\tcurrent.url = url;\n\t\tstores.page.set({ ...page, url });\n\t\tstores.page.notify();\n\t}\n}\n\n/**\n * @param {HTMLElement} target\n * @param {{\n * status: number;\n * error: App.Error | null;\n * node_ids: number[];\n * params: Record;\n * route: { id: string | null };\n * data: Array;\n * form: Record | null;\n * }} opts\n */\nasync function _hydrate(\n\ttarget,\n\t{ status = 200, error, node_ids, params, route, data: server_data_nodes, form }\n) {\n\thydrated = true;\n\n\tconst url = new URL(location.href);\n\n\tif (!__SVELTEKIT_EMBEDDED__) {\n\t\t// See https://github.com/sveltejs/kit/pull/4935#issuecomment-1328093358 for one motivation\n\t\t// of determining the params on the client side.\n\t\t({ params = {}, route = { id: null } } = get_navigation_intent(url, false) || {});\n\t}\n\n\t/** @type {import('./types.js').NavigationFinished | undefined} */\n\tlet result;\n\n\ttry {\n\t\tconst branch_promises = node_ids.map(async (n, i) => {\n\t\t\tconst server_data_node = server_data_nodes[i];\n\t\t\t// Type isn't completely accurate, we still need to deserialize uses\n\t\t\tif (server_data_node?.uses) {\n\t\t\t\tserver_data_node.uses = deserialize_uses(server_data_node.uses);\n\t\t\t}\n\n\t\t\treturn load_node({\n\t\t\t\tloader: app.nodes[n],\n\t\t\t\turl,\n\t\t\t\tparams,\n\t\t\t\troute,\n\t\t\t\tparent: async () => {\n\t\t\t\t\tconst data = {};\n\t\t\t\t\tfor (let j = 0; j < i; j += 1) {\n\t\t\t\t\t\tObject.assign(data, (await branch_promises[j]).data);\n\t\t\t\t\t}\n\t\t\t\t\treturn data;\n\t\t\t\t},\n\t\t\t\tserver_data_node: create_data_node(server_data_node)\n\t\t\t});\n\t\t});\n\n\t\t/** @type {Array} */\n\t\tconst branch = await Promise.all(branch_promises);\n\n\t\tconst parsed_route = routes.find(({ id }) => id === route.id);\n\n\t\t// server-side will have compacted the branch, reinstate empty slots\n\t\t// so that error boundaries can be lined up correctly\n\t\tif (parsed_route) {\n\t\t\tconst layouts = parsed_route.layouts;\n\t\t\tfor (let i = 0; i < layouts.length; i++) {\n\t\t\t\tif (!layouts[i]) {\n\t\t\t\t\tbranch.splice(i, 0, undefined);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tresult = await get_navigation_result_from_branch({\n\t\t\turl,\n\t\t\tparams,\n\t\t\tbranch,\n\t\t\tstatus,\n\t\t\terror,\n\t\t\tform,\n\t\t\troute: parsed_route ?? null\n\t\t});\n\t} catch (error) {\n\t\tif (error instanceof Redirect) {\n\t\t\t// this is a real edge case — `load` would need to return\n\t\t\t// a redirect but only in the browser\n\t\t\tawait native_navigation(new URL(error.location, location.href));\n\t\t\treturn;\n\t\t}\n\n\t\tresult = await load_root_error_page({\n\t\t\tstatus: get_status(error),\n\t\t\terror: await handle_error(error, { url, params, route }),\n\t\t\turl,\n\t\t\troute\n\t\t});\n\t}\n\n\tif (result.props.page) {\n\t\tresult.props.page.state = {};\n\t}\n\n\tinitialize(result, target, true);\n}\n\n/**\n * @param {URL} url\n * @param {boolean[]} invalid\n * @returns {Promise}\n */\nasync function load_data(url, invalid) {\n\tconst data_url = new URL(url);\n\tdata_url.pathname = add_data_suffix(url.pathname);\n\tif (url.pathname.endsWith('/')) {\n\t\tdata_url.searchParams.append(TRAILING_SLASH_PARAM, '1');\n\t}\n\tif (DEV && url.searchParams.has(INVALIDATED_PARAM)) {\n\t\tthrow new Error(`Cannot used reserved query parameter \"${INVALIDATED_PARAM}\"`);\n\t}\n\tdata_url.searchParams.append(INVALIDATED_PARAM, invalid.map((i) => (i ? '1' : '0')).join(''));\n\n\tconst res = await native_fetch(data_url.href);\n\n\tif (!res.ok) {\n\t\t// error message is a JSON-stringified string which devalue can't handle at the top level\n\t\t// turn it into a HttpError to not call handleError on the client again (was already handled on the server)\n\t\t// if `__data.json` doesn't exist or the server has an internal error,\n\t\t// avoid parsing the HTML error page as a JSON\n\t\t/** @type {string | undefined} */\n\t\tlet message;\n\t\tif (res.headers.get('content-type')?.includes('application/json')) {\n\t\t\tmessage = await res.json();\n\t\t} else if (res.status === 404) {\n\t\t\tmessage = 'Not Found';\n\t\t} else if (res.status === 500) {\n\t\t\tmessage = 'Internal Error';\n\t\t}\n\t\tthrow new HttpError(res.status, message);\n\t}\n\n\t// TODO: fix eslint error / figure out if it actually applies to our situation\n\t// eslint-disable-next-line\n\treturn new Promise(async (resolve) => {\n\t\t/**\n\t\t * Map of deferred promises that will be resolved by a subsequent chunk of data\n\t\t * @type {Map}\n\t\t */\n\t\tconst deferreds = new Map();\n\t\tconst reader = /** @type {ReadableStream} */ (res.body).getReader();\n\t\tconst decoder = new TextDecoder();\n\n\t\t/**\n\t\t * @param {any} data\n\t\t */\n\t\tfunction deserialize(data) {\n\t\t\treturn devalue.unflatten(data, {\n\t\t\t\tPromise: (id) => {\n\t\t\t\t\treturn new Promise((fulfil, reject) => {\n\t\t\t\t\t\tdeferreds.set(id, { fulfil, reject });\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\tlet text = '';\n\n\t\twhile (true) {\n\t\t\t// Format follows ndjson (each line is a JSON object) or regular JSON spec\n\t\t\tconst { done, value } = await reader.read();\n\t\t\tif (done && !text) break;\n\n\t\t\ttext += !value && text ? '\\n' : decoder.decode(value, { stream: true }); // no value -> final chunk -> add a new line to trigger the last parse\n\n\t\t\twhile (true) {\n\t\t\t\tconst split = text.indexOf('\\n');\n\t\t\t\tif (split === -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tconst node = JSON.parse(text.slice(0, split));\n\t\t\t\ttext = text.slice(split + 1);\n\n\t\t\t\tif (node.type === 'redirect') {\n\t\t\t\t\treturn resolve(node);\n\t\t\t\t}\n\n\t\t\t\tif (node.type === 'data') {\n\t\t\t\t\t// This is the first (and possibly only, if no pending promises) chunk\n\t\t\t\t\tnode.nodes?.forEach((/** @type {any} */ node) => {\n\t\t\t\t\t\tif (node?.type === 'data') {\n\t\t\t\t\t\t\tnode.uses = deserialize_uses(node.uses);\n\t\t\t\t\t\t\tnode.data = deserialize(node.data);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\tresolve(node);\n\t\t\t\t} else if (node.type === 'chunk') {\n\t\t\t\t\t// This is a subsequent chunk containing deferred data\n\t\t\t\t\tconst { id, data, error } = node;\n\t\t\t\t\tconst deferred = /** @type {import('types').Deferred} */ (deferreds.get(id));\n\t\t\t\t\tdeferreds.delete(id);\n\n\t\t\t\t\tif (error) {\n\t\t\t\t\t\tdeferred.reject(deserialize(error));\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdeferred.fulfil(deserialize(data));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t});\n\n\t// TODO edge case handling necessary? stream() read fails?\n}\n\n/**\n * @param {any} uses\n * @return {import('types').Uses}\n */\nfunction deserialize_uses(uses) {\n\treturn {\n\t\tdependencies: new Set(uses?.dependencies ?? []),\n\t\tparams: new Set(uses?.params ?? []),\n\t\tparent: !!uses?.parent,\n\t\troute: !!uses?.route,\n\t\turl: !!uses?.url,\n\t\tsearch_params: new Set(uses?.search_params ?? [])\n\t};\n}\n\nfunction reset_focus() {\n\tconst autofocus = document.querySelector('[autofocus]');\n\tif (autofocus) {\n\t\t// @ts-ignore\n\t\tautofocus.focus();\n\t} else {\n\t\t// Reset page selection and focus\n\t\t// We try to mimic browsers' behaviour as closely as possible by targeting the\n\t\t// first scrollable region, but unfortunately it's not a perfect match — e.g.\n\t\t// shift-tabbing won't immediately cycle up from the end of the page on Chromium\n\t\t// See https://html.spec.whatwg.org/multipage/interaction.html#get-the-focusable-area\n\t\tconst root = document.body;\n\t\tconst tabindex = root.getAttribute('tabindex');\n\n\t\troot.tabIndex = -1;\n\t\t// @ts-expect-error\n\t\troot.focus({ preventScroll: true, focusVisible: false });\n\n\t\t// restore `tabindex` as to prevent `root` from stealing input from elements\n\t\tif (tabindex !== null) {\n\t\t\troot.setAttribute('tabindex', tabindex);\n\t\t} else {\n\t\t\troot.removeAttribute('tabindex');\n\t\t}\n\n\t\t// capture current selection, so we can compare the state after\n\t\t// snapshot restoration and afterNavigate callbacks have run\n\t\tconst selection = getSelection();\n\n\t\tif (selection && selection.type !== 'None') {\n\t\t\t/** @type {Range[]} */\n\t\t\tconst ranges = [];\n\n\t\t\tfor (let i = 0; i < selection.rangeCount; i += 1) {\n\t\t\t\tranges.push(selection.getRangeAt(i));\n\t\t\t}\n\n\t\t\tsetTimeout(() => {\n\t\t\t\tif (selection.rangeCount !== ranges.length) return;\n\n\t\t\t\tfor (let i = 0; i < selection.rangeCount; i += 1) {\n\t\t\t\t\tconst a = ranges[i];\n\t\t\t\t\tconst b = selection.getRangeAt(i);\n\n\t\t\t\t\t// we need to do a deep comparison rather than just `a !== b` because\n\t\t\t\t\t// Safari behaves differently to other browsers\n\t\t\t\t\tif (\n\t\t\t\t\t\ta.commonAncestorContainer !== b.commonAncestorContainer ||\n\t\t\t\t\t\ta.startContainer !== b.startContainer ||\n\t\t\t\t\t\ta.endContainer !== b.endContainer ||\n\t\t\t\t\t\ta.startOffset !== b.startOffset ||\n\t\t\t\t\t\ta.endOffset !== b.endOffset\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// if the selection hasn't changed (as a result of an element being (auto)focused,\n\t\t\t\t// or a programmatic selection, we reset everything as part of the navigation)\n\t\t\t\t// fixes https://github.com/sveltejs/kit/issues/8439\n\t\t\t\tselection.removeAllRanges();\n\t\t\t});\n\t\t}\n\t}\n}\n\n/**\n * @param {import('./types.js').NavigationState} current\n * @param {import('./types.js').NavigationIntent | undefined} intent\n * @param {URL | null} url\n * @param {Exclude} type\n */\nfunction create_navigation(current, intent, url, type) {\n\t/** @type {(value: any) => void} */\n\tlet fulfil;\n\n\t/** @type {(error: any) => void} */\n\tlet reject;\n\n\tconst complete = new Promise((f, r) => {\n\t\tfulfil = f;\n\t\treject = r;\n\t});\n\n\t// Handle any errors off-chain so that it doesn't show up as an unhandled rejection\n\tcomplete.catch(() => {});\n\n\t/** @type {import('@sveltejs/kit').Navigation} */\n\tconst navigation = {\n\t\tfrom: {\n\t\t\tparams: current.params,\n\t\t\troute: { id: current.route?.id ?? null },\n\t\t\turl: current.url\n\t\t},\n\t\tto: url && {\n\t\t\tparams: intent?.params ?? null,\n\t\t\troute: { id: intent?.route?.id ?? null },\n\t\t\turl\n\t\t},\n\t\twillUnload: !intent,\n\t\ttype,\n\t\tcomplete\n\t};\n\n\treturn {\n\t\tnavigation,\n\t\t// @ts-expect-error\n\t\tfulfil,\n\t\t// @ts-expect-error\n\t\treject\n\t};\n}\n\nif (DEV) {\n\t// Nasty hack to silence harmless warnings the user can do nothing about\n\tconst console_warn = console.warn;\n\tconsole.warn = function warn(...args) {\n\t\tif (\n\t\t\targs.length === 1 &&\n\t\t\t/<(Layout|Page|Error)(_[\\w$]+)?> was created (with unknown|without expected) prop '(data|form)'/.test(\n\t\t\t\targs[0]\n\t\t\t)\n\t\t) {\n\t\t\treturn;\n\t\t}\n\t\tconsole_warn(...args);\n\t};\n\n\tif (import.meta.hot) {\n\t\timport.meta.hot.on('vite:beforeUpdate', () => {\n\t\t\tif (errored) {\n\t\t\t\tlocation.reload();\n\t\t\t}\n\t\t});\n\t}\n}\n"],"names":["normalize_path","path","trailing_slash","decode_pathname","pathname","decode_params","params","key","strip_hash","href","tracked_url_properties","make_trackable","url","callback","search_params_callback","tracked","obj","param","value","property","DATA_SUFFIX","HTML_DATA_SUFFIX","add_data_suffix","hash","values","i","buffer","b64_decode","text","d","u8","native_fetch","input","init","cache","build_selector","initial_fetch","resource","opts","selector","script","body","ttl","subsequent_fetch","resolved","cached","param_pattern","parse_route_id","id","get_route_segments","segment","rest_match","optional_match","parts","content","escape","code","match","is_optional","is_rest","name","matcher","affects_path","route","exec","matchers","result","values_needing_match","buffered","s","next_param","next_value","str","parse","nodes","server_loads","dictionary","layouts_with_server_load","leaf","layouts","errors","pattern","n","create_layout_loader","create_leaf_loader","uses_server_data","get","set","stringify","data","subscriber_queue","writable","start","noop","stop","subscribers","new_value","safe_not_equal","run_queue","subscriber","update","fn","subscribe","run","invalidate","SNAPSHOT_KEY","SCROLL_KEY","STATES_KEY","PAGE_URL_KEY","HISTORY_INDEX","NAVIGATION_INDEX","PRELOAD_PRIORITIES","origin","resolve_url","baseURI","baseTags","scroll_state","link_option","element","levels","parent_element","parent","find_anchor","target","get_link_info","a","base","external","is_external_url","download","get_router_options","keepfocus","noscroll","preload_code","preload_data","reload","replace_state","el","get_option_state","notifiable_store","store","ready","notify","val","old_value","create_updated_store","timeout","check","res","assets","updated","version","UNDEFINED","HOLE","NAN","POSITIVE_INFINITY","NEGATIVE_INFINITY","NEGATIVE_ZERO","unflatten","parsed","revivers","hydrate","hydrated","index","standalone","type","reviver","map","array","object","valid_layout_exports","valid_layout_server_exports","compact","arr","HttpError","status","Redirect","location","SvelteKitError","message","INVALIDATED_PARAM","TRAILING_SLASH_PARAM","get_status","error","get_message","scroll_positions","storage.get","snapshots","stores","update_scroll_positions","clear_onward_history","current_history_index","current_navigation_index","native_navigation","routes","default_layout_loader","default_error_loader","container","app","invalidated","components","load_cache","before_navigate_callbacks","on_navigate_callbacks","after_navigate_callbacks","current","started","autoscroll","navigating","hash_navigating","has_navigated","force_invalidation","root","page","token","preload_tokens","_app","_target","_a","_b","scroll","_hydrate","goto","_start_router","reset_invalidation","capture_snapshot","c","restore_snapshot","persist_state","storage.set","_goto","options","redirect_count","nav_token","navigate","_preload_data","intent","preload","load_route","_preload_code","get_url_path","load","initialize","style","navigation","get_navigation_result_from_branch","branch","form","slash","node","branch_node","data_changed","p","prev","load_node","loader","server_data_node","is_tracking","uses","depends","deps","dep","load_input","requested","_c","has_changed","parent_changed","route_changed","url_changed","search_params_changed","tracked_params","create_data_node","previous","diff_search_params","old_url","new_url","changed","old_values","new_values","preload_error","invalidating","loaders","server_data","parent_invalid","invalid_server_nodes","invalid","load_data","handled_error","handle_error","load_root_error_page","server_data_nodes","branch_promises","j","err","error_load","load_nearest_error_page","server_fallback","root_layout","root_error","get_navigation_intent","rerouted","_before_navigate","delta","should_block","nav","create_navigation","cancellable","popped","state","accept","block","previous_history_index","previous_navigation_index","navigation_result","change","entry","after_navigate","cleanup","activeElement","tick","deep_linked","changed_focus","reset_focus","setup_preload","mousemove_timeout","event","tap","observer","entries","priority","nonhash","current_hash","update_url","fulfil","submitter","event_form","submitter_name","history_index","navigation_index","is_hash_change","link","node_ids","deserialize_uses","parsed_route","data_url","resolve","deferreds","reader","decoder","deserialize","devalue.unflatten","reject","done","split","deferred","autofocus","tabindex","selection","ranges","b","complete","f","r"],"mappings":"6DAQiB,IAAI,IAAI,uBAAuB,EAyBzC,SAASA,GAAeC,EAAMC,EAAgB,CACpD,OAAID,IAAS,KAAOC,IAAmB,SAAiBD,EAEpDC,IAAmB,QACfD,EAAK,SAAS,GAAG,EAAIA,EAAK,MAAM,EAAG,EAAE,EAAIA,EACtCC,IAAmB,UAAY,CAACD,EAAK,SAAS,GAAG,EACpDA,EAAO,IAGRA,CACR,CAMO,SAASE,GAAgBC,EAAU,CACzC,OAAOA,EAAS,MAAM,KAAK,EAAE,IAAI,SAAS,EAAE,KAAK,KAAK,CACvD,CAGO,SAASC,GAAcC,EAAQ,CACrC,UAAWC,KAAOD,EAGjBA,EAAOC,CAAG,EAAI,mBAAmBD,EAAOC,CAAG,CAAC,EAG7C,OAAOD,CACR,CAqBO,SAASE,GAAW,CAAE,KAAAC,GAAQ,CACpC,OAAOA,EAAK,M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,IAAM,CAC7B7B,EAAA4B,EACAV,EAAAW,CAAA,CACT,EAGD,OAAAF,EAAS,MAAM,IAAM,CAAA,CAAE,EAmBhB,CACN,WAjBkB,CAClB,KAAM,CACL,OAAQ3J,EAAQ,OAChB,MAAO,CAAE,KAAIA,EAAAA,EAAQ,QAARA,YAAAA,EAAe,KAAM,IAAK,EACvC,IAAKA,EAAQ,GACd,EACA,GAAIjM,GAAO,CACV,QAAQgO,GAAA,YAAAA,EAAQ,SAAU,KAC1B,MAAO,CAAE,KAAIjB,EAAAiB,GAAA,YAAAA,EAAQ,QAAR,YAAAjB,EAAe,KAAM,IAAK,EACvC,IAAA/M,CACD,EACA,WAAY,CAACgO,EACb,KAAAvE,EACA,SAAAmM,CAAA,EAMA,OAAA3B,EAEA,OAAAkB,CAAA,CAEF","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]} \ No newline at end of file +{"version":3,"file":"entry.ltnidPkD.js","sources":["../../../../../../node_modules/@sveltejs/kit/src/utils/url.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/hash.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/utils.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/client/fetcher.js","../../../../../../node_modules/@sveltejs/kit/src/utils/routing.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/client/parse.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/client/session-storage.js","../../../../../../node_modules/svelte/src/runtime/store/index.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/client/constants.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/client/utils.js","../../../../../../node_modules/devalue/src/constants.js","../../../../../../node_modules/devalue/src/parse.js","../../../../../../node_modules/@sveltejs/kit/src/utils/exports.js","../../../../../../node_modules/@sveltejs/kit/src/utils/array.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/control.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/shared.js","../../../../../../node_modules/@sveltejs/kit/src/utils/error.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/client/client.js"],"sourcesContent":["import { BROWSER, DEV } from 'esm-env';\n\n/**\n * Matches a URI scheme. See https://www.rfc-editor.org/rfc/rfc3986#section-3.1\n * @type {RegExp}\n */\nexport const SCHEME = /^[a-z][a-z\\d+\\-.]+:/i;\n\nconst internal = new URL('sveltekit-internal://');\n\n/**\n * @param {string} base\n * @param {string} path\n */\nexport function resolve(base, path) {\n\t// special case\n\tif (path[0] === '/' && path[1] === '/') return path;\n\n\tlet url = new URL(base, internal);\n\turl = new URL(path, url);\n\n\treturn url.protocol === internal.protocol ? url.pathname + url.search + url.hash : url.href;\n}\n\n/** @param {string} path */\nexport function is_root_relative(path) {\n\treturn path[0] === '/' && path[1] !== '/';\n}\n\n/**\n * @param {string} path\n * @param {import('types').TrailingSlash} trailing_slash\n */\nexport function normalize_path(path, trailing_slash) {\n\tif (path === '/' || trailing_slash === 'ignore') return path;\n\n\tif (trailing_slash === 'never') {\n\t\treturn path.endsWith('/') ? path.slice(0, -1) : path;\n\t} else if (trailing_slash === 'always' && !path.endsWith('/')) {\n\t\treturn path + '/';\n\t}\n\n\treturn path;\n}\n\n/**\n * Decode pathname excluding %25 to prevent further double decoding of params\n * @param {string} pathname\n */\nexport function decode_pathname(pathname) {\n\treturn pathname.split('%25').map(decodeURI).join('%25');\n}\n\n/** @param {Record} params */\nexport function decode_params(params) {\n\tfor (const key in params) {\n\t\t// input has already been decoded by decodeURI\n\t\t// now handle the rest\n\t\tparams[key] = decodeURIComponent(params[key]);\n\t}\n\n\treturn params;\n}\n\n/**\n * The error when a URL is malformed is not very helpful, so we augment it with the URI\n * @param {string} uri\n */\nexport function decode_uri(uri) {\n\ttry {\n\t\treturn decodeURI(uri);\n\t} catch (e) {\n\t\tif (e instanceof Error) {\n\t\t\te.message = `Failed to decode URI: ${uri}\\n` + e.message;\n\t\t}\n\t\tthrow e;\n\t}\n}\n\n/**\n * Returns everything up to the first `#` in a URL\n * @param {{href: string}} url_like\n */\nexport function strip_hash({ href }) {\n\treturn href.split('#')[0];\n}\n\n/**\n * URL properties that could change during the lifetime of the page,\n * which excludes things like `origin`\n */\nconst tracked_url_properties = /** @type {const} */ ([\n\t'href',\n\t'pathname',\n\t'search',\n\t'toString',\n\t'toJSON'\n]);\n\n/**\n * @param {URL} url\n * @param {() => void} callback\n * @param {(search_param: string) => void} search_params_callback\n */\nexport function make_trackable(url, callback, search_params_callback) {\n\tconst tracked = new URL(url);\n\n\tObject.defineProperty(tracked, 'searchParams', {\n\t\tvalue: new Proxy(tracked.searchParams, {\n\t\t\tget(obj, key) {\n\t\t\t\tif (key === 'get' || key === 'getAll' || key === 'has') {\n\t\t\t\t\treturn (/**@type {string}*/ param) => {\n\t\t\t\t\t\tsearch_params_callback(param);\n\t\t\t\t\t\treturn obj[key](param);\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t// if they try to access something different from what is in `tracked_search_params_properties`\n\t\t\t\t// we track the whole url (entries, values, keys etc)\n\t\t\t\tcallback();\n\n\t\t\t\tconst value = Reflect.get(obj, key);\n\t\t\t\treturn typeof value === 'function' ? value.bind(obj) : value;\n\t\t\t}\n\t\t}),\n\t\tenumerable: true,\n\t\tconfigurable: true\n\t});\n\n\tfor (const property of tracked_url_properties) {\n\t\tObject.defineProperty(tracked, property, {\n\t\t\tget() {\n\t\t\t\tcallback();\n\t\t\t\treturn url[property];\n\t\t\t},\n\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true\n\t\t});\n\t}\n\n\tif (!BROWSER) {\n\t\t// @ts-ignore\n\t\ttracked[Symbol.for('nodejs.util.inspect.custom')] = (depth, opts, inspect) => {\n\t\t\treturn inspect(url, opts);\n\t\t};\n\t}\n\n\tif (DEV || !BROWSER) {\n\t\tdisable_hash(tracked);\n\t}\n\n\treturn tracked;\n}\n\n/**\n * Disallow access to `url.hash` on the server and in `load`\n * @param {URL} url\n */\nfunction disable_hash(url) {\n\tallow_nodejs_console_log(url);\n\n\tObject.defineProperty(url, 'hash', {\n\t\tget() {\n\t\t\tthrow new Error(\n\t\t\t\t'Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead'\n\t\t\t);\n\t\t}\n\t});\n}\n\n/**\n * Disallow access to `url.search` and `url.searchParams` during prerendering\n * @param {URL} url\n */\nexport function disable_search(url) {\n\tallow_nodejs_console_log(url);\n\n\tfor (const property of ['search', 'searchParams']) {\n\t\tObject.defineProperty(url, property, {\n\t\t\tget() {\n\t\t\t\tthrow new Error(`Cannot access url.${property} on a page with prerendering enabled`);\n\t\t\t}\n\t\t});\n\t}\n}\n\n/**\n * Allow URL to be console logged, bypassing disabled properties.\n * @param {URL} url\n */\nfunction allow_nodejs_console_log(url) {\n\tif (!BROWSER) {\n\t\t// @ts-ignore\n\t\turl[Symbol.for('nodejs.util.inspect.custom')] = (depth, opts, inspect) => {\n\t\t\treturn inspect(new URL(url), opts);\n\t\t};\n\t}\n}\n\nconst DATA_SUFFIX = '/__data.json';\nconst HTML_DATA_SUFFIX = '.html__data.json';\n\n/** @param {string} pathname */\nexport function has_data_suffix(pathname) {\n\treturn pathname.endsWith(DATA_SUFFIX) || pathname.endsWith(HTML_DATA_SUFFIX);\n}\n\n/** @param {string} pathname */\nexport function add_data_suffix(pathname) {\n\tif (pathname.endsWith('.html')) return pathname.replace(/\\.html$/, HTML_DATA_SUFFIX);\n\treturn pathname.replace(/\\/$/, '') + DATA_SUFFIX;\n}\n\n/** @param {string} pathname */\nexport function strip_data_suffix(pathname) {\n\tif (pathname.endsWith(HTML_DATA_SUFFIX)) {\n\t\treturn pathname.slice(0, -HTML_DATA_SUFFIX.length) + '.html';\n\t}\n\n\treturn pathname.slice(0, -DATA_SUFFIX.length);\n}\n","/**\n * Hash using djb2\n * @param {import('types').StrictBody[]} values\n */\nexport function hash(...values) {\n\tlet hash = 5381;\n\n\tfor (const value of values) {\n\t\tif (typeof value === 'string') {\n\t\t\tlet i = value.length;\n\t\t\twhile (i) hash = (hash * 33) ^ value.charCodeAt(--i);\n\t\t} else if (ArrayBuffer.isView(value)) {\n\t\t\tconst buffer = new Uint8Array(value.buffer, value.byteOffset, value.byteLength);\n\t\t\tlet i = buffer.length;\n\t\t\twhile (i) hash = (hash * 33) ^ buffer[--i];\n\t\t} else {\n\t\t\tthrow new TypeError('value must be a string or TypedArray');\n\t\t}\n\t}\n\n\treturn (hash >>> 0).toString(36);\n}\n","/**\n * @param {string} text\n * @returns {ArrayBufferLike}\n */\nexport function b64_decode(text) {\n\tconst d = atob(text);\n\n\tconst u8 = new Uint8Array(d.length);\n\n\tfor (let i = 0; i < d.length; i++) {\n\t\tu8[i] = d.charCodeAt(i);\n\t}\n\n\treturn u8.buffer;\n}\n\n/**\n * @param {ArrayBuffer} buffer\n * @returns {string}\n */\nexport function b64_encode(buffer) {\n\tif (globalThis.Buffer) {\n\t\treturn Buffer.from(buffer).toString('base64');\n\t}\n\n\tconst little_endian = new Uint8Array(new Uint16Array([1]).buffer)[0] > 0;\n\n\t// The Uint16Array(Uint8Array(...)) ensures the code points are padded with 0's\n\treturn btoa(\n\t\tnew TextDecoder(little_endian ? 'utf-16le' : 'utf-16be').decode(\n\t\t\tnew Uint16Array(new Uint8Array(buffer))\n\t\t)\n\t);\n}\n","import { BROWSER, DEV } from 'esm-env';\nimport { hash } from '../hash.js';\nimport { b64_decode } from '../utils.js';\n\nlet loading = 0;\n\n/** @type {typeof fetch} */\nexport const native_fetch = BROWSER ? window.fetch : /** @type {any} */ (() => {});\n\nexport function lock_fetch() {\n\tloading += 1;\n}\n\nexport function unlock_fetch() {\n\tloading -= 1;\n}\n\nif (DEV && BROWSER) {\n\tlet can_inspect_stack_trace = false;\n\n\t// detect whether async stack traces work\n\tconst check_stack_trace = async () => {\n\t\tconst stack = /** @type {string} */ (new Error().stack);\n\t\tcan_inspect_stack_trace = stack.includes('check_stack_trace');\n\t};\n\n\tcheck_stack_trace();\n\n\t/**\n\t * @param {RequestInfo | URL} input\n\t * @param {RequestInit & Record | undefined} init\n\t */\n\twindow.fetch = (input, init) => {\n\t\t// Check if fetch was called via load_node. the lock method only checks if it was called at the\n\t\t// same time, but not necessarily if it was called from `load`.\n\t\t// We use just the filename as the method name sometimes does not appear on the CI.\n\t\tconst url = input instanceof Request ? input.url : input.toString();\n\t\tconst stack_array = /** @type {string} */ (new Error().stack).split('\\n');\n\t\t// We need to do a cutoff because Safari and Firefox maintain the stack\n\t\t// across events and for example traces a `fetch` call triggered from a button\n\t\t// back to the creation of the event listener and the element creation itself,\n\t\t// where at some point client.js will show up, leading to false positives.\n\t\tconst cutoff = stack_array.findIndex((a) => a.includes('load@') || a.includes('at load'));\n\t\tconst stack = stack_array.slice(0, cutoff + 2).join('\\n');\n\n\t\tconst in_load_heuristic = can_inspect_stack_trace\n\t\t\t? stack.includes('src/runtime/client/client.js')\n\t\t\t: loading;\n\n\t\t// This flag is set in initial_fetch and subsequent_fetch\n\t\tconst used_kit_fetch = init?.__sveltekit_fetch__;\n\n\t\tif (in_load_heuristic && !used_kit_fetch) {\n\t\t\tconsole.warn(\n\t\t\t\t`Loading ${url} using \\`window.fetch\\`. For best results, use the \\`fetch\\` that is passed to your \\`load\\` function: https://kit.svelte.dev/docs/load#making-fetch-requests`\n\t\t\t);\n\t\t}\n\n\t\tconst method = input instanceof Request ? input.method : init?.method || 'GET';\n\n\t\tif (method !== 'GET') {\n\t\t\tcache.delete(build_selector(input));\n\t\t}\n\n\t\treturn native_fetch(input, init);\n\t};\n} else if (BROWSER) {\n\twindow.fetch = (input, init) => {\n\t\tconst method = input instanceof Request ? input.method : init?.method || 'GET';\n\n\t\tif (method !== 'GET') {\n\t\t\tcache.delete(build_selector(input));\n\t\t}\n\n\t\treturn native_fetch(input, init);\n\t};\n}\n\nconst cache = new Map();\n\n/**\n * Should be called on the initial run of load functions that hydrate the page.\n * Saves any requests with cache-control max-age to the cache.\n * @param {URL | string} resource\n * @param {RequestInit} [opts]\n */\nexport function initial_fetch(resource, opts) {\n\tconst selector = build_selector(resource, opts);\n\n\tconst script = document.querySelector(selector);\n\tif (script?.textContent) {\n\t\tlet { body, ...init } = JSON.parse(script.textContent);\n\n\t\tconst ttl = script.getAttribute('data-ttl');\n\t\tif (ttl) cache.set(selector, { body, init, ttl: 1000 * Number(ttl) });\n\t\tconst b64 = script.getAttribute('data-b64');\n\t\tif (b64 !== null) {\n\t\t\t// Can't use native_fetch('data:...;base64,${body}')\n\t\t\t// csp can block the request\n\t\t\tbody = b64_decode(body);\n\t\t}\n\n\t\treturn Promise.resolve(new Response(body, init));\n\t}\n\n\treturn DEV ? dev_fetch(resource, opts) : window.fetch(resource, opts);\n}\n\n/**\n * Tries to get the response from the cache, if max-age allows it, else does a fetch.\n * @param {URL | string} resource\n * @param {string} resolved\n * @param {RequestInit} [opts]\n */\nexport function subsequent_fetch(resource, resolved, opts) {\n\tif (cache.size > 0) {\n\t\tconst selector = build_selector(resource, opts);\n\t\tconst cached = cache.get(selector);\n\t\tif (cached) {\n\t\t\t// https://developer.mozilla.org/en-US/docs/Web/API/Request/cache#value\n\t\t\tif (\n\t\t\t\tperformance.now() < cached.ttl &&\n\t\t\t\t['default', 'force-cache', 'only-if-cached', undefined].includes(opts?.cache)\n\t\t\t) {\n\t\t\t\treturn new Response(cached.body, cached.init);\n\t\t\t}\n\n\t\t\tcache.delete(selector);\n\t\t}\n\t}\n\n\treturn DEV ? dev_fetch(resolved, opts) : window.fetch(resolved, opts);\n}\n\n/**\n * @param {RequestInfo | URL} resource\n * @param {RequestInit & Record | undefined} opts\n */\nfunction dev_fetch(resource, opts) {\n\tconst patched_opts = { ...opts };\n\t// This assigns the __sveltekit_fetch__ flag and makes it non-enumerable\n\tObject.defineProperty(patched_opts, '__sveltekit_fetch__', {\n\t\tvalue: true,\n\t\twritable: true,\n\t\tconfigurable: true\n\t});\n\treturn window.fetch(resource, patched_opts);\n}\n\n/**\n * Build the cache key for a given request\n * @param {URL | RequestInfo} resource\n * @param {RequestInit} [opts]\n */\nfunction build_selector(resource, opts) {\n\tconst url = JSON.stringify(resource instanceof Request ? resource.url : resource);\n\n\tlet selector = `script[data-sveltekit-fetched][data-url=${url}]`;\n\n\tif (opts?.headers || opts?.body) {\n\t\t/** @type {import('types').StrictBody[]} */\n\t\tconst values = [];\n\n\t\tif (opts.headers) {\n\t\t\tvalues.push([...new Headers(opts.headers)].join(','));\n\t\t}\n\n\t\tif (opts.body && (typeof opts.body === 'string' || ArrayBuffer.isView(opts.body))) {\n\t\t\tvalues.push(opts.body);\n\t\t}\n\n\t\tselector += `[data-hash=\"${hash(...values)}\"]`;\n\t}\n\n\treturn selector;\n}\n","import { BROWSER } from 'esm-env';\n\nconst param_pattern = /^(\\[)?(\\.\\.\\.)?(\\w+)(?:=(\\w+))?(\\])?$/;\n\n/**\n * Creates the regex pattern, extracts parameter names, and generates types for a route\n * @param {string} id\n */\nexport function parse_route_id(id) {\n\t/** @type {import('types').RouteParam[]} */\n\tconst params = [];\n\n\tconst pattern =\n\t\tid === '/'\n\t\t\t? /^\\/$/\n\t\t\t: new RegExp(\n\t\t\t\t\t`^${get_route_segments(id)\n\t\t\t\t\t\t.map((segment) => {\n\t\t\t\t\t\t\t// special case — /[...rest]/ could contain zero segments\n\t\t\t\t\t\t\tconst rest_match = /^\\[\\.\\.\\.(\\w+)(?:=(\\w+))?\\]$/.exec(segment);\n\t\t\t\t\t\t\tif (rest_match) {\n\t\t\t\t\t\t\t\tparams.push({\n\t\t\t\t\t\t\t\t\tname: rest_match[1],\n\t\t\t\t\t\t\t\t\tmatcher: rest_match[2],\n\t\t\t\t\t\t\t\t\toptional: false,\n\t\t\t\t\t\t\t\t\trest: true,\n\t\t\t\t\t\t\t\t\tchained: true\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\treturn '(?:/(.*))?';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// special case — /[[optional]]/ could contain zero segments\n\t\t\t\t\t\t\tconst optional_match = /^\\[\\[(\\w+)(?:=(\\w+))?\\]\\]$/.exec(segment);\n\t\t\t\t\t\t\tif (optional_match) {\n\t\t\t\t\t\t\t\tparams.push({\n\t\t\t\t\t\t\t\t\tname: optional_match[1],\n\t\t\t\t\t\t\t\t\tmatcher: optional_match[2],\n\t\t\t\t\t\t\t\t\toptional: true,\n\t\t\t\t\t\t\t\t\trest: false,\n\t\t\t\t\t\t\t\t\tchained: true\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\treturn '(?:/([^/]+))?';\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (!segment) {\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tconst parts = segment.split(/\\[(.+?)\\](?!\\])/);\n\t\t\t\t\t\t\tconst result = parts\n\t\t\t\t\t\t\t\t.map((content, i) => {\n\t\t\t\t\t\t\t\t\tif (i % 2) {\n\t\t\t\t\t\t\t\t\t\tif (content.startsWith('x+')) {\n\t\t\t\t\t\t\t\t\t\t\treturn escape(String.fromCharCode(parseInt(content.slice(2), 16)));\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tif (content.startsWith('u+')) {\n\t\t\t\t\t\t\t\t\t\t\treturn escape(\n\t\t\t\t\t\t\t\t\t\t\t\tString.fromCharCode(\n\t\t\t\t\t\t\t\t\t\t\t\t\t...content\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.slice(2)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.split('-')\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.map((code) => parseInt(code, 16))\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t// We know the match cannot be null in the browser because manifest generation\n\t\t\t\t\t\t\t\t\t\t// would have invoked this during build and failed if we hit an invalid\n\t\t\t\t\t\t\t\t\t\t// param/matcher name with non-alphanumeric character.\n\t\t\t\t\t\t\t\t\t\tconst match = /** @type {RegExpExecArray} */ (param_pattern.exec(content));\n\t\t\t\t\t\t\t\t\t\tif (!BROWSER && !match) {\n\t\t\t\t\t\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t\t\t\t\t\t`Invalid param: ${content}. Params and matcher names can only have underscores and alphanumeric characters.`\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tconst [, is_optional, is_rest, name, matcher] = match;\n\t\t\t\t\t\t\t\t\t\t// It's assumed that the following invalid route id cases are already checked\n\t\t\t\t\t\t\t\t\t\t// - unbalanced brackets\n\t\t\t\t\t\t\t\t\t\t// - optional param following rest param\n\n\t\t\t\t\t\t\t\t\t\tparams.push({\n\t\t\t\t\t\t\t\t\t\t\tname,\n\t\t\t\t\t\t\t\t\t\t\tmatcher,\n\t\t\t\t\t\t\t\t\t\t\toptional: !!is_optional,\n\t\t\t\t\t\t\t\t\t\t\trest: !!is_rest,\n\t\t\t\t\t\t\t\t\t\t\tchained: is_rest ? i === 1 && parts[0] === '' : false\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\treturn is_rest ? '(.*?)' : is_optional ? '([^/]*)?' : '([^/]+?)';\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\treturn escape(content);\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t.join('');\n\n\t\t\t\t\t\t\treturn '/' + result;\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.join('')}/?$`\n\t\t\t\t);\n\n\treturn { pattern, params };\n}\n\nconst optional_param_regex = /\\/\\[\\[\\w+?(?:=\\w+)?\\]\\]/;\n\n/**\n * Removes optional params from a route ID.\n * @param {string} id\n * @returns The route id with optional params removed\n */\nexport function remove_optional_params(id) {\n\treturn id.replace(optional_param_regex, '');\n}\n\n/**\n * Returns `false` for `(group)` segments\n * @param {string} segment\n */\nfunction affects_path(segment) {\n\treturn !/^\\([^)]+\\)$/.test(segment);\n}\n\n/**\n * Splits a route id into its segments, removing segments that\n * don't affect the path (i.e. groups). The root route is represented by `/`\n * and will be returned as `['']`.\n * @param {string} route\n * @returns string[]\n */\nexport function get_route_segments(route) {\n\treturn route.slice(1).split('/').filter(affects_path);\n}\n\n/**\n * @param {RegExpMatchArray} match\n * @param {import('types').RouteParam[]} params\n * @param {Record} matchers\n */\nexport function exec(match, params, matchers) {\n\t/** @type {Record} */\n\tconst result = {};\n\n\tconst values = match.slice(1);\n\tconst values_needing_match = values.filter((value) => value !== undefined);\n\n\tlet buffered = 0;\n\n\tfor (let i = 0; i < params.length; i += 1) {\n\t\tconst param = params[i];\n\t\tlet value = values[i - buffered];\n\n\t\t// in the `[[a=b]]/.../[...rest]` case, if one or more optional parameters\n\t\t// weren't matched, roll the skipped values into the rest\n\t\tif (param.chained && param.rest && buffered) {\n\t\t\tvalue = values\n\t\t\t\t.slice(i - buffered, i + 1)\n\t\t\t\t.filter((s) => s)\n\t\t\t\t.join('/');\n\n\t\t\tbuffered = 0;\n\t\t}\n\n\t\t// if `value` is undefined, it means this is an optional or rest parameter\n\t\tif (value === undefined) {\n\t\t\tif (param.rest) result[param.name] = '';\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (!param.matcher || matchers[param.matcher](value)) {\n\t\t\tresult[param.name] = value;\n\n\t\t\t// Now that the params match, reset the buffer if the next param isn't the [...rest]\n\t\t\t// and the next value is defined, otherwise the buffer will cause us to skip values\n\t\t\tconst next_param = params[i + 1];\n\t\t\tconst next_value = values[i + 1];\n\t\t\tif (next_param && !next_param.rest && next_param.optional && next_value && param.chained) {\n\t\t\t\tbuffered = 0;\n\t\t\t}\n\n\t\t\t// There are no more params and no more values, but all non-empty values have been matched\n\t\t\tif (\n\t\t\t\t!next_param &&\n\t\t\t\t!next_value &&\n\t\t\t\tObject.keys(result).length === values_needing_match.length\n\t\t\t) {\n\t\t\t\tbuffered = 0;\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\n\t\t// in the `/[[a=b]]/...` case, if the value didn't satisfy the matcher,\n\t\t// keep track of the number of skipped optional parameters and continue\n\t\tif (param.optional && param.chained) {\n\t\t\tbuffered++;\n\t\t\tcontinue;\n\t\t}\n\n\t\t// otherwise, if the matcher returns `false`, the route did not match\n\t\treturn;\n\t}\n\n\tif (buffered) return;\n\treturn result;\n}\n\n/** @param {string} str */\nfunction escape(str) {\n\treturn (\n\t\tstr\n\t\t\t.normalize()\n\t\t\t// escape [ and ] before escaping other characters, since they are used in the replacements\n\t\t\t.replace(/[[\\]]/g, '\\\\$&')\n\t\t\t// replace %, /, ? and # with their encoded versions because decode_pathname leaves them untouched\n\t\t\t.replace(/%/g, '%25')\n\t\t\t.replace(/\\//g, '%2[Ff]')\n\t\t\t.replace(/\\?/g, '%3[Ff]')\n\t\t\t.replace(/#/g, '%23')\n\t\t\t// escape characters that have special meaning in regex\n\t\t\t.replace(/[.*+?^${}()|\\\\]/g, '\\\\$&')\n\t);\n}\n\nconst basic_param_pattern = /\\[(\\[)?(\\.\\.\\.)?(\\w+?)(?:=(\\w+))?\\]\\]?/g;\n\n/**\n * Populate a route ID with params to resolve a pathname.\n * @example\n * ```js\n * resolveRoute(\n * `/blog/[slug]/[...somethingElse]`,\n * {\n * slug: 'hello-world',\n * somethingElse: 'something/else'\n * }\n * ); // `/blog/hello-world/something/else`\n * ```\n * @param {string} id\n * @param {Record} params\n * @returns {string}\n */\nexport function resolve_route(id, params) {\n\tconst segments = get_route_segments(id);\n\treturn (\n\t\t'/' +\n\t\tsegments\n\t\t\t.map((segment) =>\n\t\t\t\tsegment.replace(basic_param_pattern, (_, optional, rest, name) => {\n\t\t\t\t\tconst param_value = params[name];\n\n\t\t\t\t\t// This is nested so TS correctly narrows the type\n\t\t\t\t\tif (!param_value) {\n\t\t\t\t\t\tif (optional) return '';\n\t\t\t\t\t\tif (rest && param_value !== undefined) return '';\n\t\t\t\t\t\tthrow new Error(`Missing parameter '${name}' in route ${id}`);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (param_value.startsWith('/') || param_value.endsWith('/'))\n\t\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t\t`Parameter '${name}' in route ${id} cannot start or end with a slash -- this would cause an invalid route like foo//bar`\n\t\t\t\t\t\t);\n\t\t\t\t\treturn param_value;\n\t\t\t\t})\n\t\t\t)\n\t\t\t.filter(Boolean)\n\t\t\t.join('/')\n\t);\n}\n","import { exec, parse_route_id } from '../../utils/routing.js';\n\n/**\n * @param {import('./types.js').SvelteKitApp} app\n * @returns {import('types').CSRRoute[]}\n */\nexport function parse({ nodes, server_loads, dictionary, matchers }) {\n\tconst layouts_with_server_load = new Set(server_loads);\n\n\treturn Object.entries(dictionary).map(([id, [leaf, layouts, errors]]) => {\n\t\tconst { pattern, params } = parse_route_id(id);\n\n\t\tconst route = {\n\t\t\tid,\n\t\t\t/** @param {string} path */\n\t\t\texec: (path) => {\n\t\t\t\tconst match = pattern.exec(path);\n\t\t\t\tif (match) return exec(match, params, matchers);\n\t\t\t},\n\t\t\terrors: [1, ...(errors || [])].map((n) => nodes[n]),\n\t\t\tlayouts: [0, ...(layouts || [])].map(create_layout_loader),\n\t\t\tleaf: create_leaf_loader(leaf)\n\t\t};\n\n\t\t// bit of a hack, but ensures that layout/error node lists are the same\n\t\t// length, without which the wrong data will be applied if the route\n\t\t// manifest looks like `[[a, b], [c,], d]`\n\t\troute.errors.length = route.layouts.length = Math.max(\n\t\t\troute.errors.length,\n\t\t\troute.layouts.length\n\t\t);\n\n\t\treturn route;\n\t});\n\n\t/**\n\t * @param {number} id\n\t * @returns {[boolean, import('types').CSRPageNodeLoader]}\n\t */\n\tfunction create_leaf_loader(id) {\n\t\t// whether or not the route uses the server data is\n\t\t// encoded using the ones' complement, to save space\n\t\tconst uses_server_data = id < 0;\n\t\tif (uses_server_data) id = ~id;\n\t\treturn [uses_server_data, nodes[id]];\n\t}\n\n\t/**\n\t * @param {number | undefined} id\n\t * @returns {[boolean, import('types').CSRPageNodeLoader] | undefined}\n\t */\n\tfunction create_layout_loader(id) {\n\t\t// whether or not the layout uses the server data is\n\t\t// encoded in the layouts array, to save space\n\t\treturn id === undefined ? id : [layouts_with_server_load.has(id), nodes[id]];\n\t}\n}\n","/**\n * Read a value from `sessionStorage`\n * @param {string} key\n * @param {(value: string) => any} parse\n */\nexport function get(key, parse = JSON.parse) {\n\ttry {\n\t\treturn parse(sessionStorage[key]);\n\t} catch {\n\t\t// do nothing\n\t}\n}\n\n/**\n * Write a value to `sessionStorage`\n * @param {string} key\n * @param {any} value\n * @param {(value: any) => string} stringify\n */\nexport function set(key, value, stringify = JSON.stringify) {\n\tconst data = stringify(value);\n\ttry {\n\t\tsessionStorage[key] = data;\n\t} catch {\n\t\t// do nothing\n\t}\n}\n","import {\n\trun_all,\n\tsubscribe,\n\tnoop,\n\tsafe_not_equal,\n\tis_function,\n\tget_store_value\n} from '../internal/index.js';\n\nconst subscriber_queue = [];\n\n/**\n * Creates a `Readable` store that allows reading by subscription.\n *\n * https://svelte.dev/docs/svelte-store#readable\n * @template T\n * @param {T} [value] initial value\n * @param {import('./public.js').StartStopNotifier} [start]\n * @returns {import('./public.js').Readable}\n */\nexport function readable(value, start) {\n\treturn {\n\t\tsubscribe: writable(value, start).subscribe\n\t};\n}\n\n/**\n * Create a `Writable` store that allows both updating and reading by subscription.\n *\n * https://svelte.dev/docs/svelte-store#writable\n * @template T\n * @param {T} [value] initial value\n * @param {import('./public.js').StartStopNotifier} [start]\n * @returns {import('./public.js').Writable}\n */\nexport function writable(value, start = noop) {\n\t/** @type {import('./public.js').Unsubscriber} */\n\tlet stop;\n\t/** @type {Set>} */\n\tconst subscribers = new Set();\n\t/** @param {T} new_value\n\t * @returns {void}\n\t */\n\tfunction set(new_value) {\n\t\tif (safe_not_equal(value, new_value)) {\n\t\t\tvalue = new_value;\n\t\t\tif (stop) {\n\t\t\t\t// store is ready\n\t\t\t\tconst run_queue = !subscriber_queue.length;\n\t\t\t\tfor (const subscriber of subscribers) {\n\t\t\t\t\tsubscriber[1]();\n\t\t\t\t\tsubscriber_queue.push(subscriber, value);\n\t\t\t\t}\n\t\t\t\tif (run_queue) {\n\t\t\t\t\tfor (let i = 0; i < subscriber_queue.length; i += 2) {\n\t\t\t\t\t\tsubscriber_queue[i][0](subscriber_queue[i + 1]);\n\t\t\t\t\t}\n\t\t\t\t\tsubscriber_queue.length = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * @param {import('./public.js').Updater} fn\n\t * @returns {void}\n\t */\n\tfunction update(fn) {\n\t\tset(fn(value));\n\t}\n\n\t/**\n\t * @param {import('./public.js').Subscriber} run\n\t * @param {import('./private.js').Invalidator} [invalidate]\n\t * @returns {import('./public.js').Unsubscriber}\n\t */\n\tfunction subscribe(run, invalidate = noop) {\n\t\t/** @type {import('./private.js').SubscribeInvalidateTuple} */\n\t\tconst subscriber = [run, invalidate];\n\t\tsubscribers.add(subscriber);\n\t\tif (subscribers.size === 1) {\n\t\t\tstop = start(set, update) || noop;\n\t\t}\n\t\trun(value);\n\t\treturn () => {\n\t\t\tsubscribers.delete(subscriber);\n\t\t\tif (subscribers.size === 0 && stop) {\n\t\t\t\tstop();\n\t\t\t\tstop = null;\n\t\t\t}\n\t\t};\n\t}\n\treturn { set, update, subscribe };\n}\n\n/**\n * Derived value store by synchronizing one or more readable stores and\n * applying an aggregation function over its input values.\n *\n * https://svelte.dev/docs/svelte-store#derived\n * @template {import('./private.js').Stores} S\n * @template T\n * @overload\n * @param {S} stores - input stores\n * @param {(values: import('./private.js').StoresValues, set: (value: T) => void, update: (fn: import('./public.js').Updater) => void) => import('./public.js').Unsubscriber | void} fn - function callback that aggregates the values\n * @param {T} [initial_value] - initial value\n * @returns {import('./public.js').Readable}\n */\n\n/**\n * Derived value store by synchronizing one or more readable stores and\n * applying an aggregation function over its input values.\n *\n * https://svelte.dev/docs/svelte-store#derived\n * @template {import('./private.js').Stores} S\n * @template T\n * @overload\n * @param {S} stores - input stores\n * @param {(values: import('./private.js').StoresValues) => T} fn - function callback that aggregates the values\n * @param {T} [initial_value] - initial value\n * @returns {import('./public.js').Readable}\n */\n\n/**\n * @template {import('./private.js').Stores} S\n * @template T\n * @param {S} stores\n * @param {Function} fn\n * @param {T} [initial_value]\n * @returns {import('./public.js').Readable}\n */\nexport function derived(stores, fn, initial_value) {\n\tconst single = !Array.isArray(stores);\n\t/** @type {Array>} */\n\tconst stores_array = single ? [stores] : stores;\n\tif (!stores_array.every(Boolean)) {\n\t\tthrow new Error('derived() expects stores as input, got a falsy value');\n\t}\n\tconst auto = fn.length < 2;\n\treturn readable(initial_value, (set, update) => {\n\t\tlet started = false;\n\t\tconst values = [];\n\t\tlet pending = 0;\n\t\tlet cleanup = noop;\n\t\tconst sync = () => {\n\t\t\tif (pending) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tcleanup();\n\t\t\tconst result = fn(single ? values[0] : values, set, update);\n\t\t\tif (auto) {\n\t\t\t\tset(result);\n\t\t\t} else {\n\t\t\t\tcleanup = is_function(result) ? result : noop;\n\t\t\t}\n\t\t};\n\t\tconst unsubscribers = stores_array.map((store, i) =>\n\t\t\tsubscribe(\n\t\t\t\tstore,\n\t\t\t\t(value) => {\n\t\t\t\t\tvalues[i] = value;\n\t\t\t\t\tpending &= ~(1 << i);\n\t\t\t\t\tif (started) {\n\t\t\t\t\t\tsync();\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t() => {\n\t\t\t\t\tpending |= 1 << i;\n\t\t\t\t}\n\t\t\t)\n\t\t);\n\t\tstarted = true;\n\t\tsync();\n\t\treturn function stop() {\n\t\t\trun_all(unsubscribers);\n\t\t\tcleanup();\n\t\t\t// We need to set this to false because callbacks can still happen despite having unsubscribed:\n\t\t\t// Callbacks might already be placed in the queue which doesn't know it should no longer\n\t\t\t// invoke this derived store.\n\t\t\tstarted = false;\n\t\t};\n\t});\n}\n\n/**\n * Takes a store and returns a new one derived from the old one that is readable.\n *\n * https://svelte.dev/docs/svelte-store#readonly\n * @template T\n * @param {import('./public.js').Readable} store - store to make readonly\n * @returns {import('./public.js').Readable}\n */\nexport function readonly(store) {\n\treturn {\n\t\tsubscribe: store.subscribe.bind(store)\n\t};\n}\n\nexport { get_store_value as get };\n","export const SNAPSHOT_KEY = 'sveltekit:snapshot';\nexport const SCROLL_KEY = 'sveltekit:scroll';\nexport const STATES_KEY = 'sveltekit:states';\nexport const PAGE_URL_KEY = 'sveltekit:pageurl';\n\nexport const HISTORY_INDEX = 'sveltekit:history';\nexport const NAVIGATION_INDEX = 'sveltekit:navigation';\n\nexport const PRELOAD_PRIORITIES = /** @type {const} */ ({\n\ttap: 1,\n\thover: 2,\n\tviewport: 3,\n\teager: 4,\n\toff: -1,\n\tfalse: -1\n});\n","import { BROWSER, DEV } from 'esm-env';\nimport { writable } from 'svelte/store';\nimport { assets } from '__sveltekit/paths';\nimport { version } from '__sveltekit/environment';\nimport { PRELOAD_PRIORITIES } from './constants.js';\n\n/* global __SVELTEKIT_APP_VERSION_FILE__, __SVELTEKIT_APP_VERSION_POLL_INTERVAL__ */\n\nexport const origin = BROWSER ? location.origin : '';\n\n/** @param {string | URL} url */\nexport function resolve_url(url) {\n\tif (url instanceof URL) return url;\n\n\tlet baseURI = document.baseURI;\n\n\tif (!baseURI) {\n\t\tconst baseTags = document.getElementsByTagName('base');\n\t\tbaseURI = baseTags.length ? baseTags[0].href : document.URL;\n\t}\n\n\treturn new URL(url, baseURI);\n}\n\nexport function scroll_state() {\n\treturn {\n\t\tx: pageXOffset,\n\t\ty: pageYOffset\n\t};\n}\n\nconst warned = new WeakSet();\n\n/** @typedef {keyof typeof valid_link_options} LinkOptionName */\n\nconst valid_link_options = /** @type {const} */ ({\n\t'preload-code': ['', 'off', 'false', 'tap', 'hover', 'viewport', 'eager'],\n\t'preload-data': ['', 'off', 'false', 'tap', 'hover'],\n\tkeepfocus: ['', 'true', 'off', 'false'],\n\tnoscroll: ['', 'true', 'off', 'false'],\n\treload: ['', 'true', 'off', 'false'],\n\treplacestate: ['', 'true', 'off', 'false']\n});\n\n/**\n * @template {LinkOptionName} T\n * @typedef {typeof valid_link_options[T][number]} ValidLinkOptions\n */\n\n/**\n * @template {LinkOptionName} T\n * @param {Element} element\n * @param {T} name\n */\nfunction link_option(element, name) {\n\tconst value = /** @type {ValidLinkOptions | null} */ (\n\t\telement.getAttribute(`data-sveltekit-${name}`)\n\t);\n\n\tif (DEV) {\n\t\tvalidate_link_option(element, name, value);\n\t}\n\n\treturn value;\n}\n\n/**\n * @template {LinkOptionName} T\n * @template {ValidLinkOptions | null} U\n * @param {Element} element\n * @param {T} name\n * @param {U} value\n */\nfunction validate_link_option(element, name, value) {\n\tif (value === null) return;\n\n\t// @ts-expect-error - includes is dumb\n\tif (!warned.has(element) && !valid_link_options[name].includes(value)) {\n\t\tconsole.error(\n\t\t\t`Unexpected value for ${name} — should be one of ${valid_link_options[name]\n\t\t\t\t.map((option) => JSON.stringify(option))\n\t\t\t\t.join(', ')}`,\n\t\t\telement\n\t\t);\n\n\t\twarned.add(element);\n\t}\n}\n\nconst levels = {\n\t...PRELOAD_PRIORITIES,\n\t'': PRELOAD_PRIORITIES.hover\n};\n\n/**\n * @param {Element} element\n * @returns {Element | null}\n */\nfunction parent_element(element) {\n\tlet parent = element.assignedSlot ?? element.parentNode;\n\n\t// @ts-expect-error handle shadow roots\n\tif (parent?.nodeType === 11) parent = parent.host;\n\n\treturn /** @type {Element} */ (parent);\n}\n\n/**\n * @param {Element} element\n * @param {Element} target\n */\nexport function find_anchor(element, target) {\n\twhile (element && element !== target) {\n\t\tif (element.nodeName.toUpperCase() === 'A' && element.hasAttribute('href')) {\n\t\t\treturn /** @type {HTMLAnchorElement | SVGAElement} */ (element);\n\t\t}\n\n\t\telement = /** @type {Element} */ (parent_element(element));\n\t}\n}\n\n/**\n * @param {HTMLAnchorElement | SVGAElement} a\n * @param {string} base\n */\nexport function get_link_info(a, base) {\n\t/** @type {URL | undefined} */\n\tlet url;\n\n\ttry {\n\t\turl = new URL(a instanceof SVGAElement ? a.href.baseVal : a.href, document.baseURI);\n\t} catch {}\n\n\tconst target = a instanceof SVGAElement ? a.target.baseVal : a.target;\n\n\tconst external =\n\t\t!url ||\n\t\t!!target ||\n\t\tis_external_url(url, base) ||\n\t\t(a.getAttribute('rel') || '').split(/\\s+/).includes('external');\n\n\tconst download = url?.origin === origin && a.hasAttribute('download');\n\n\treturn { url, external, target, download };\n}\n\n/**\n * @param {HTMLFormElement | HTMLAnchorElement | SVGAElement} element\n */\nexport function get_router_options(element) {\n\t/** @type {ValidLinkOptions<'keepfocus'> | null} */\n\tlet keepfocus = null;\n\n\t/** @type {ValidLinkOptions<'noscroll'> | null} */\n\tlet noscroll = null;\n\n\t/** @type {ValidLinkOptions<'preload-code'> | null} */\n\tlet preload_code = null;\n\n\t/** @type {ValidLinkOptions<'preload-data'> | null} */\n\tlet preload_data = null;\n\n\t/** @type {ValidLinkOptions<'reload'> | null} */\n\tlet reload = null;\n\n\t/** @type {ValidLinkOptions<'replacestate'> | null} */\n\tlet replace_state = null;\n\n\t/** @type {Element} */\n\tlet el = element;\n\n\twhile (el && el !== document.documentElement) {\n\t\tif (preload_code === null) preload_code = link_option(el, 'preload-code');\n\t\tif (preload_data === null) preload_data = link_option(el, 'preload-data');\n\t\tif (keepfocus === null) keepfocus = link_option(el, 'keepfocus');\n\t\tif (noscroll === null) noscroll = link_option(el, 'noscroll');\n\t\tif (reload === null) reload = link_option(el, 'reload');\n\t\tif (replace_state === null) replace_state = link_option(el, 'replacestate');\n\n\t\tel = /** @type {Element} */ (parent_element(el));\n\t}\n\n\t/** @param {string | null} value */\n\tfunction get_option_state(value) {\n\t\tswitch (value) {\n\t\t\tcase '':\n\t\t\tcase 'true':\n\t\t\t\treturn true;\n\t\t\tcase 'off':\n\t\t\tcase 'false':\n\t\t\t\treturn false;\n\t\t\tdefault:\n\t\t\t\treturn undefined;\n\t\t}\n\t}\n\n\treturn {\n\t\tpreload_code: levels[preload_code ?? 'off'],\n\t\tpreload_data: levels[preload_data ?? 'off'],\n\t\tkeepfocus: get_option_state(keepfocus),\n\t\tnoscroll: get_option_state(noscroll),\n\t\treload: get_option_state(reload),\n\t\treplace_state: get_option_state(replace_state)\n\t};\n}\n\n/** @param {any} value */\nexport function notifiable_store(value) {\n\tconst store = writable(value);\n\tlet ready = true;\n\n\tfunction notify() {\n\t\tready = true;\n\t\tstore.update((val) => val);\n\t}\n\n\t/** @param {any} new_value */\n\tfunction set(new_value) {\n\t\tready = false;\n\t\tstore.set(new_value);\n\t}\n\n\t/** @param {(value: any) => void} run */\n\tfunction subscribe(run) {\n\t\t/** @type {any} */\n\t\tlet old_value;\n\t\treturn store.subscribe((new_value) => {\n\t\t\tif (old_value === undefined || (ready && new_value !== old_value)) {\n\t\t\t\trun((old_value = new_value));\n\t\t\t}\n\t\t});\n\t}\n\n\treturn { notify, set, subscribe };\n}\n\nexport function create_updated_store() {\n\tconst { set, subscribe } = writable(false);\n\n\tif (DEV || !BROWSER) {\n\t\treturn {\n\t\t\tsubscribe,\n\t\t\tcheck: async () => false\n\t\t};\n\t}\n\n\tconst interval = __SVELTEKIT_APP_VERSION_POLL_INTERVAL__;\n\n\t/** @type {NodeJS.Timeout} */\n\tlet timeout;\n\n\t/** @type {() => Promise} */\n\tasync function check() {\n\t\tclearTimeout(timeout);\n\n\t\tif (interval) timeout = setTimeout(check, interval);\n\n\t\ttry {\n\t\t\tconst res = await fetch(`${assets}/${__SVELTEKIT_APP_VERSION_FILE__}`, {\n\t\t\t\theaders: {\n\t\t\t\t\tpragma: 'no-cache',\n\t\t\t\t\t'cache-control': 'no-cache'\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tif (!res.ok) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tconst data = await res.json();\n\t\t\tconst updated = data.version !== version;\n\n\t\t\tif (updated) {\n\t\t\t\tset(true);\n\t\t\t\tclearTimeout(timeout);\n\t\t\t}\n\n\t\t\treturn updated;\n\t\t} catch {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tif (interval) timeout = setTimeout(check, interval);\n\n\treturn {\n\t\tsubscribe,\n\t\tcheck\n\t};\n}\n\n/**\n * @param {URL} url\n * @param {string} base\n */\nexport function is_external_url(url, base) {\n\treturn url.origin !== origin || !url.pathname.startsWith(base);\n}\n","export const UNDEFINED = -1;\nexport const HOLE = -2;\nexport const NAN = -3;\nexport const POSITIVE_INFINITY = -4;\nexport const NEGATIVE_INFINITY = -5;\nexport const NEGATIVE_ZERO = -6;\n","import {\n\tHOLE,\n\tNAN,\n\tNEGATIVE_INFINITY,\n\tNEGATIVE_ZERO,\n\tPOSITIVE_INFINITY,\n\tUNDEFINED\n} from './constants.js';\n\n/**\n * Revive a value serialized with `devalue.stringify`\n * @param {string} serialized\n * @param {Record any>} [revivers]\n */\nexport function parse(serialized, revivers) {\n\treturn unflatten(JSON.parse(serialized), revivers);\n}\n\n/**\n * Revive a value flattened with `devalue.stringify`\n * @param {number | any[]} parsed\n * @param {Record any>} [revivers]\n */\nexport function unflatten(parsed, revivers) {\n\tif (typeof parsed === 'number') return hydrate(parsed, true);\n\n\tif (!Array.isArray(parsed) || parsed.length === 0) {\n\t\tthrow new Error('Invalid input');\n\t}\n\n\tconst values = /** @type {any[]} */ (parsed);\n\n\tconst hydrated = Array(values.length);\n\n\t/**\n\t * @param {number} index\n\t * @returns {any}\n\t */\n\tfunction hydrate(index, standalone = false) {\n\t\tif (index === UNDEFINED) return undefined;\n\t\tif (index === NAN) return NaN;\n\t\tif (index === POSITIVE_INFINITY) return Infinity;\n\t\tif (index === NEGATIVE_INFINITY) return -Infinity;\n\t\tif (index === NEGATIVE_ZERO) return -0;\n\n\t\tif (standalone) throw new Error(`Invalid input`);\n\n\t\tif (index in hydrated) return hydrated[index];\n\n\t\tconst value = values[index];\n\n\t\tif (!value || typeof value !== 'object') {\n\t\t\thydrated[index] = value;\n\t\t} else if (Array.isArray(value)) {\n\t\t\tif (typeof value[0] === 'string') {\n\t\t\t\tconst type = value[0];\n\n\t\t\t\tconst reviver = revivers?.[type];\n\t\t\t\tif (reviver) {\n\t\t\t\t\treturn (hydrated[index] = reviver(hydrate(value[1])));\n\t\t\t\t}\n\n\t\t\t\tswitch (type) {\n\t\t\t\t\tcase 'Date':\n\t\t\t\t\t\thydrated[index] = new Date(value[1]);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'Set':\n\t\t\t\t\t\tconst set = new Set();\n\t\t\t\t\t\thydrated[index] = set;\n\t\t\t\t\t\tfor (let i = 1; i < value.length; i += 1) {\n\t\t\t\t\t\t\tset.add(hydrate(value[i]));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'Map':\n\t\t\t\t\t\tconst map = new Map();\n\t\t\t\t\t\thydrated[index] = map;\n\t\t\t\t\t\tfor (let i = 1; i < value.length; i += 2) {\n\t\t\t\t\t\t\tmap.set(hydrate(value[i]), hydrate(value[i + 1]));\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'RegExp':\n\t\t\t\t\t\thydrated[index] = new RegExp(value[1], value[2]);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'Object':\n\t\t\t\t\t\thydrated[index] = Object(value[1]);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'BigInt':\n\t\t\t\t\t\thydrated[index] = BigInt(value[1]);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'null':\n\t\t\t\t\t\tconst obj = Object.create(null);\n\t\t\t\t\t\thydrated[index] = obj;\n\t\t\t\t\t\tfor (let i = 1; i < value.length; i += 2) {\n\t\t\t\t\t\t\tobj[value[i]] = hydrate(value[i + 1]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tthrow new Error(`Unknown type ${type}`);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst array = new Array(value.length);\n\t\t\t\thydrated[index] = array;\n\n\t\t\t\tfor (let i = 0; i < value.length; i += 1) {\n\t\t\t\t\tconst n = value[i];\n\t\t\t\t\tif (n === HOLE) continue;\n\n\t\t\t\t\tarray[i] = hydrate(n);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\t/** @type {Record} */\n\t\t\tconst object = {};\n\t\t\thydrated[index] = object;\n\n\t\t\tfor (const key in value) {\n\t\t\t\tconst n = value[key];\n\t\t\t\tobject[key] = hydrate(n);\n\t\t\t}\n\t\t}\n\n\t\treturn hydrated[index];\n\t}\n\n\treturn hydrate(0);\n}\n","/**\n * @param {Set} expected\n */\nfunction validator(expected) {\n\t/**\n\t * @param {any} module\n\t * @param {string} [file]\n\t */\n\tfunction validate(module, file) {\n\t\tif (!module) return;\n\n\t\tfor (const key in module) {\n\t\t\tif (key[0] === '_' || expected.has(key)) continue; // key is valid in this module\n\n\t\t\tconst values = [...expected.values()];\n\n\t\t\tconst hint =\n\t\t\t\thint_for_supported_files(key, file?.slice(file.lastIndexOf('.'))) ??\n\t\t\t\t`valid exports are ${values.join(', ')}, or anything with a '_' prefix`;\n\n\t\t\tthrow new Error(`Invalid export '${key}'${file ? ` in ${file}` : ''} (${hint})`);\n\t\t}\n\t}\n\n\treturn validate;\n}\n\n/**\n * @param {string} key\n * @param {string} ext\n * @returns {string | void}\n */\nfunction hint_for_supported_files(key, ext = '.js') {\n\tconst supported_files = [];\n\n\tif (valid_layout_exports.has(key)) {\n\t\tsupported_files.push(`+layout${ext}`);\n\t}\n\n\tif (valid_page_exports.has(key)) {\n\t\tsupported_files.push(`+page${ext}`);\n\t}\n\n\tif (valid_layout_server_exports.has(key)) {\n\t\tsupported_files.push(`+layout.server${ext}`);\n\t}\n\n\tif (valid_page_server_exports.has(key)) {\n\t\tsupported_files.push(`+page.server${ext}`);\n\t}\n\n\tif (valid_server_exports.has(key)) {\n\t\tsupported_files.push(`+server${ext}`);\n\t}\n\n\tif (supported_files.length > 0) {\n\t\treturn `'${key}' is a valid export in ${supported_files.slice(0, -1).join(', ')}${\n\t\t\tsupported_files.length > 1 ? ' or ' : ''\n\t\t}${supported_files.at(-1)}`;\n\t}\n}\n\nconst valid_layout_exports = new Set([\n\t'load',\n\t'prerender',\n\t'csr',\n\t'ssr',\n\t'trailingSlash',\n\t'config'\n]);\nconst valid_page_exports = new Set([...valid_layout_exports, 'entries']);\nconst valid_layout_server_exports = new Set([...valid_layout_exports]);\nconst valid_page_server_exports = new Set([...valid_layout_server_exports, 'actions', 'entries']);\nconst valid_server_exports = new Set([\n\t'GET',\n\t'POST',\n\t'PATCH',\n\t'PUT',\n\t'DELETE',\n\t'OPTIONS',\n\t'HEAD',\n\t'fallback',\n\t'prerender',\n\t'trailingSlash',\n\t'config',\n\t'entries'\n]);\n\nexport const validate_layout_exports = validator(valid_layout_exports);\nexport const validate_page_exports = validator(valid_page_exports);\nexport const validate_layout_server_exports = validator(valid_layout_server_exports);\nexport const validate_page_server_exports = validator(valid_page_server_exports);\nexport const validate_server_exports = validator(valid_server_exports);\n","/**\n * Removes nullish values from an array.\n *\n * @template T\n * @param {Array} arr\n */\nexport function compact(arr) {\n\treturn arr.filter(/** @returns {val is NonNullable} */ (val) => val != null);\n}\n","export class HttpError {\n\t/**\n\t * @param {number} status\n\t * @param {{message: string} extends App.Error ? (App.Error | string | undefined) : App.Error} body\n\t */\n\tconstructor(status, body) {\n\t\tthis.status = status;\n\t\tif (typeof body === 'string') {\n\t\t\tthis.body = { message: body };\n\t\t} else if (body) {\n\t\t\tthis.body = body;\n\t\t} else {\n\t\t\tthis.body = { message: `Error: ${status}` };\n\t\t}\n\t}\n\n\ttoString() {\n\t\treturn JSON.stringify(this.body);\n\t}\n}\n\nexport class Redirect {\n\t/**\n\t * @param {300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308} status\n\t * @param {string} location\n\t */\n\tconstructor(status, location) {\n\t\tthis.status = status;\n\t\tthis.location = location;\n\t}\n}\n\n/**\n * An error that was thrown from within the SvelteKit runtime that is not fatal and doesn't result in a 500, such as a 404.\n * `SvelteKitError` goes through `handleError`.\n * @extends Error\n */\nexport class SvelteKitError extends Error {\n\t/**\n\t * @param {number} status\n\t * @param {string} text\n\t * @param {string} message\n\t */\n\tconstructor(status, text, message) {\n\t\tsuper(message);\n\t\tthis.status = status;\n\t\tthis.text = text;\n\t}\n}\n\n/**\n * @template {Record | undefined} [T=undefined]\n */\nexport class ActionFailure {\n\t/**\n\t * @param {number} status\n\t * @param {T} data\n\t */\n\tconstructor(status, data) {\n\t\tthis.status = status;\n\t\tthis.data = data;\n\t}\n}\n\n/**\n * This is a grotesque hack that, in dev, allows us to replace the implementations\n * of these classes that you'd get by importing them from `@sveltejs/kit` with the\n * ones that are imported via Vite and loaded internally, so that instanceof\n * checks work even though SvelteKit imports this module via Vite and consumers\n * import it via Node\n * @param {{\n * ActionFailure: typeof ActionFailure;\n * HttpError: typeof HttpError;\n * Redirect: typeof Redirect;\n * SvelteKitError: typeof SvelteKitError;\n * }} implementations\n */\nexport function replace_implementations(implementations) {\n\t// @ts-expect-error\n\tActionFailure = implementations.ActionFailure; // eslint-disable-line no-class-assign\n\t// @ts-expect-error\n\tHttpError = implementations.HttpError; // eslint-disable-line no-class-assign\n\t// @ts-expect-error\n\tRedirect = implementations.Redirect; // eslint-disable-line no-class-assign\n\t// @ts-expect-error\n\tSvelteKitError = implementations.SvelteKitError; // eslint-disable-line no-class-assign\n}\n","/**\n * @param {string} route_id\n * @param {string} dep\n */\nexport function validate_depends(route_id, dep) {\n\tconst match = /^(moz-icon|view-source|jar):/.exec(dep);\n\tif (match) {\n\t\tconsole.warn(\n\t\t\t`${route_id}: Calling \\`depends('${dep}')\\` will throw an error in Firefox because \\`${match[1]}\\` is a special URI scheme`\n\t\t);\n\t}\n}\n\nexport const INVALIDATED_PARAM = 'x-sveltekit-invalidated';\n\nexport const TRAILING_SLASH_PARAM = 'x-sveltekit-trailing-slash';\n","import { HttpError, SvelteKitError } from '../runtime/control.js';\n\n/**\n * @param {unknown} err\n * @return {Error}\n */\nexport function coalesce_to_error(err) {\n\treturn err instanceof Error ||\n\t\t(err && /** @type {any} */ (err).name && /** @type {any} */ (err).message)\n\t\t? /** @type {Error} */ (err)\n\t\t: new Error(JSON.stringify(err));\n}\n\n/**\n * This is an identity function that exists to make TypeScript less\n * paranoid about people throwing things that aren't errors, which\n * frankly is not something we should care about\n * @param {unknown} error\n */\nexport function normalize_error(error) {\n\treturn /** @type {import('../runtime/control.js').Redirect | HttpError | SvelteKitError | Error} */ (\n\t\terror\n\t);\n}\n\n/**\n * @param {unknown} error\n */\nexport function get_status(error) {\n\treturn error instanceof HttpError || error instanceof SvelteKitError ? error.status : 500;\n}\n\n/**\n * @param {unknown} error\n */\nexport function get_message(error) {\n\treturn error instanceof SvelteKitError ? error.text : 'Internal Error';\n}\n","import { BROWSER, DEV } from 'esm-env';\nimport { onMount, tick } from 'svelte';\nimport {\n\tadd_data_suffix,\n\tdecode_params,\n\tdecode_pathname,\n\tstrip_hash,\n\tmake_trackable,\n\tnormalize_path\n} from '../../utils/url.js';\nimport {\n\tinitial_fetch,\n\tlock_fetch,\n\tnative_fetch,\n\tsubsequent_fetch,\n\tunlock_fetch\n} from './fetcher.js';\nimport { parse } from './parse.js';\nimport * as storage from './session-storage.js';\nimport {\n\tfind_anchor,\n\tresolve_url,\n\tget_link_info,\n\tget_router_options,\n\tis_external_url,\n\torigin,\n\tscroll_state,\n\tnotifiable_store,\n\tcreate_updated_store\n} from './utils.js';\nimport { base } from '__sveltekit/paths';\nimport * as devalue from 'devalue';\nimport {\n\tHISTORY_INDEX,\n\tNAVIGATION_INDEX,\n\tPRELOAD_PRIORITIES,\n\tSCROLL_KEY,\n\tSTATES_KEY,\n\tSNAPSHOT_KEY,\n\tPAGE_URL_KEY\n} from './constants.js';\nimport { validate_page_exports } from '../../utils/exports.js';\nimport { compact } from '../../utils/array.js';\nimport { HttpError, Redirect, SvelteKitError } from '../control.js';\nimport { INVALIDATED_PARAM, TRAILING_SLASH_PARAM, validate_depends } from '../shared.js';\nimport { get_message, get_status } from '../../utils/error.js';\nimport { writable } from 'svelte/store';\n\nlet errored = false;\n\n// We track the scroll position associated with each history entry in sessionStorage,\n// rather than on history.state itself, because when navigation is driven by\n// popstate it's too late to update the scroll position associated with the\n// state we're navigating from\n/**\n * history index -> { x, y }\n * @type {Record}\n */\nconst scroll_positions = storage.get(SCROLL_KEY) ?? {};\n\n/**\n * navigation index -> any\n * @type {Record}\n */\nconst snapshots = storage.get(SNAPSHOT_KEY) ?? {};\n\nif (DEV && BROWSER) {\n\tlet warned = false;\n\n\tconst current_module_url = import.meta.url.split('?')[0]; // remove query params that vite adds to the URL when it is loaded from node_modules\n\n\tconst warn = () => {\n\t\tif (warned) return;\n\n\t\t// Rather than saving a pointer to the original history methods, which would prevent monkeypatching by other libs,\n\t\t// inspect the stack trace to see if we're being called from within SvelteKit.\n\t\tlet stack = new Error().stack?.split('\\n');\n\t\tif (!stack) return;\n\t\tif (!stack[0].includes('https:') && !stack[0].includes('http:')) stack = stack.slice(1); // Chrome includes the error message in the stack\n\t\tstack = stack.slice(2); // remove `warn` and the place where `warn` was called\n\t\t// Can be falsy if was called directly from an anonymous function\n\t\tif (stack[0]?.includes(current_module_url)) return;\n\n\t\twarned = true;\n\n\t\tconsole.warn(\n\t\t\t\"Avoid using `history.pushState(...)` and `history.replaceState(...)` as these will conflict with SvelteKit's router. Use the `pushState` and `replaceState` imports from `$app/navigation` instead.\"\n\t\t);\n\t};\n\n\tconst push_state = history.pushState;\n\thistory.pushState = (...args) => {\n\t\twarn();\n\t\treturn push_state.apply(history, args);\n\t};\n\n\tconst replace_state = history.replaceState;\n\thistory.replaceState = (...args) => {\n\t\twarn();\n\t\treturn replace_state.apply(history, args);\n\t};\n}\n\nexport const stores = {\n\turl: /* @__PURE__ */ notifiable_store({}),\n\tpage: /* @__PURE__ */ notifiable_store({}),\n\tnavigating: /* @__PURE__ */ writable(\n\t\t/** @type {import('@sveltejs/kit').Navigation | null} */ (null)\n\t),\n\tupdated: /* @__PURE__ */ create_updated_store()\n};\n\n/** @param {number} index */\nfunction update_scroll_positions(index) {\n\tscroll_positions[index] = scroll_state();\n}\n\n/**\n * @param {number} current_history_index\n * @param {number} current_navigation_index\n */\nfunction clear_onward_history(current_history_index, current_navigation_index) {\n\t// if we navigated back, then pushed a new state, we can\n\t// release memory by pruning the scroll/snapshot lookup\n\tlet i = current_history_index + 1;\n\twhile (scroll_positions[i]) {\n\t\tdelete scroll_positions[i];\n\t\ti += 1;\n\t}\n\n\ti = current_navigation_index + 1;\n\twhile (snapshots[i]) {\n\t\tdelete snapshots[i];\n\t\ti += 1;\n\t}\n}\n\n/**\n * Loads `href` the old-fashioned way, with a full page reload.\n * Returns a `Promise` that never resolves (to prevent any\n * subsequent work, e.g. history manipulation, from happening)\n * @param {URL} url\n */\nfunction native_navigation(url) {\n\tlocation.href = url.href;\n\treturn new Promise(() => {});\n}\n\nfunction noop() {}\n\n/** @type {import('types').CSRRoute[]} */\nlet routes;\n/** @type {import('types').CSRPageNodeLoader} */\nlet default_layout_loader;\n/** @type {import('types').CSRPageNodeLoader} */\nlet default_error_loader;\n/** @type {HTMLElement} */\nlet container;\n/** @type {HTMLElement} */\nlet target;\n/** @type {import('./types.js').SvelteKitApp} */\nlet app;\n\n/** @type {Array<((url: URL) => boolean)>} */\nconst invalidated = [];\n\n/**\n * An array of the `+layout.svelte` and `+page.svelte` component instances\n * that currently live on the page — used for capturing and restoring snapshots.\n * It's updated/manipulated through `bind:this` in `Root.svelte`.\n * @type {import('svelte').SvelteComponent[]}\n */\nconst components = [];\n\n/** @type {{id: string, token: {}, promise: Promise} | null} */\nlet load_cache = null;\n\n/** @type {Array<(navigation: import('@sveltejs/kit').BeforeNavigate) => void>} */\nconst before_navigate_callbacks = [];\n\n/** @type {Array<(navigation: import('@sveltejs/kit').OnNavigate) => import('types').MaybePromise<(() => void) | void>>} */\nconst on_navigate_callbacks = [];\n\n/** @type {Array<(navigation: import('@sveltejs/kit').AfterNavigate) => void>} */\nlet after_navigate_callbacks = [];\n\n/** @type {import('./types.js').NavigationState} */\nlet current = {\n\tbranch: [],\n\terror: null,\n\t// @ts-ignore - we need the initial value to be null\n\turl: null\n};\n\n/** this being true means we SSR'd */\nlet hydrated = false;\nlet started = false;\nlet autoscroll = true;\nlet updating = false;\nlet navigating = false;\nlet hash_navigating = false;\n/** True as soon as there happened one client-side navigation (excluding the SvelteKit-initialized initial one when in SPA mode) */\nlet has_navigated = false;\n\nlet force_invalidation = false;\n\n/** @type {import('svelte').SvelteComponent} */\nlet root;\n\n/** @type {number} keeping track of the history index in order to prevent popstate navigation events if needed */\nlet current_history_index;\n\n/** @type {number} */\nlet current_navigation_index;\n\n/** @type {import('@sveltejs/kit').Page} */\nlet page;\n\n/** @type {{}} */\nlet token;\n\n/**\n * A set of tokens which are associated to current preloads.\n * If a preload becomes a real navigation, it's removed from the set.\n * If a preload token is in the set and the preload errors, the error\n * handling logic (for example reloading) is skipped.\n */\nconst preload_tokens = new Set();\n\n/** @type {Promise | null} */\nlet pending_invalidate;\n\n/**\n * @param {import('./types.js').SvelteKitApp} _app\n * @param {HTMLElement} _target\n * @param {Parameters[1]} [hydrate]\n */\nexport async function start(_app, _target, hydrate) {\n\tif (DEV && _target === document.body) {\n\t\tconsole.warn(\n\t\t\t'Placing %sveltekit.body% directly inside is not recommended, as your app may break for users who have certain browser extensions installed.\\n\\nConsider wrapping it in an element:\\n\\n
\\n %sveltekit.body%\\n
'\n\t\t);\n\t}\n\n\t// detect basic auth credentials in the current URL\n\t// https://github.com/sveltejs/kit/pull/11179\n\t// if so, refresh the page without credentials\n\tif (document.URL !== location.href) {\n\t\t// eslint-disable-next-line no-self-assign\n\t\tlocation.href = location.href;\n\t}\n\n\tapp = _app;\n\troutes = parse(_app);\n\tcontainer = __SVELTEKIT_EMBEDDED__ ? _target : document.documentElement;\n\ttarget = _target;\n\n\t// we import the root layout/error nodes eagerly, so that\n\t// connectivity errors after initialisation don't nuke the app\n\tdefault_layout_loader = _app.nodes[0];\n\tdefault_error_loader = _app.nodes[1];\n\tdefault_layout_loader();\n\tdefault_error_loader();\n\n\tcurrent_history_index = history.state?.[HISTORY_INDEX];\n\tcurrent_navigation_index = history.state?.[NAVIGATION_INDEX];\n\n\tif (!current_history_index) {\n\t\t// we use Date.now() as an offset so that cross-document navigations\n\t\t// within the app don't result in data loss\n\t\tcurrent_history_index = current_navigation_index = Date.now();\n\n\t\t// create initial history entry, so we can return here\n\t\thistory.replaceState(\n\t\t\t{\n\t\t\t\t...history.state,\n\t\t\t\t[HISTORY_INDEX]: current_history_index,\n\t\t\t\t[NAVIGATION_INDEX]: current_navigation_index\n\t\t\t},\n\t\t\t''\n\t\t);\n\t}\n\n\t// if we reload the page, or Cmd-Shift-T back to it,\n\t// recover scroll position\n\tconst scroll = scroll_positions[current_history_index];\n\tif (scroll) {\n\t\thistory.scrollRestoration = 'manual';\n\t\tscrollTo(scroll.x, scroll.y);\n\t}\n\n\tif (hydrate) {\n\t\tawait _hydrate(target, hydrate);\n\t} else {\n\t\tgoto(location.href, { replaceState: true });\n\t}\n\n\t_start_router();\n}\n\nasync function _invalidate() {\n\t// Accept all invalidations as they come, don't swallow any while another invalidation\n\t// is running because subsequent invalidations may make earlier ones outdated,\n\t// but batch multiple synchronous invalidations.\n\tawait (pending_invalidate ||= Promise.resolve());\n\tif (!pending_invalidate) return;\n\tpending_invalidate = null;\n\n\tconst intent = get_navigation_intent(current.url, true);\n\n\t// Clear preload, it might be affected by the invalidation.\n\t// Also solves an edge case where a preload is triggered, the navigation for it\n\t// was then triggered and is still running while the invalidation kicks in,\n\t// at which point the invalidation should take over and \"win\".\n\tload_cache = null;\n\n\tconst nav_token = (token = {});\n\tconst navigation_result = intent && (await load_route(intent));\n\tif (!navigation_result || nav_token !== token) return;\n\n\tif (navigation_result.type === 'redirect') {\n\t\treturn _goto(new URL(navigation_result.location, current.url).href, {}, 1, nav_token);\n\t}\n\n\tif (navigation_result.props.page) {\n\t\tpage = navigation_result.props.page;\n\t}\n\tcurrent = navigation_result.state;\n\treset_invalidation();\n\troot.$set(navigation_result.props);\n}\n\nfunction reset_invalidation() {\n\tinvalidated.length = 0;\n\tforce_invalidation = false;\n}\n\n/** @param {number} index */\nfunction capture_snapshot(index) {\n\tif (components.some((c) => c?.snapshot)) {\n\t\tsnapshots[index] = components.map((c) => c?.snapshot?.capture());\n\t}\n}\n\n/** @param {number} index */\nfunction restore_snapshot(index) {\n\tsnapshots[index]?.forEach((value, i) => {\n\t\tcomponents[i]?.snapshot?.restore(value);\n\t});\n}\n\nfunction persist_state() {\n\tupdate_scroll_positions(current_history_index);\n\tstorage.set(SCROLL_KEY, scroll_positions);\n\n\tcapture_snapshot(current_navigation_index);\n\tstorage.set(SNAPSHOT_KEY, snapshots);\n}\n\n/**\n * @param {string | URL} url\n * @param {{ replaceState?: boolean; noScroll?: boolean; keepFocus?: boolean; invalidateAll?: boolean; state?: Record }} options\n * @param {number} redirect_count\n * @param {{}} [nav_token]\n */\nasync function _goto(url, options, redirect_count, nav_token) {\n\treturn navigate({\n\t\ttype: 'goto',\n\t\turl: resolve_url(url),\n\t\tkeepfocus: options.keepFocus,\n\t\tnoscroll: options.noScroll,\n\t\treplace_state: options.replaceState,\n\t\tstate: options.state,\n\t\tredirect_count,\n\t\tnav_token,\n\t\taccept: () => {\n\t\t\tif (options.invalidateAll) {\n\t\t\t\tforce_invalidation = true;\n\t\t\t}\n\t\t}\n\t});\n}\n\n/** @param {import('./types.js').NavigationIntent} intent */\nasync function _preload_data(intent) {\n\t// Reuse the existing pending preload if it's for the same navigation.\n\t// Prevents an edge case where same preload is triggered multiple times,\n\t// then a later one is becoming the real navigation and the preload tokens\n\t// get out of sync.\n\tif (intent.id !== load_cache?.id) {\n\t\tconst preload = {};\n\t\tpreload_tokens.add(preload);\n\t\tload_cache = {\n\t\t\tid: intent.id,\n\t\t\ttoken: preload,\n\t\t\tpromise: load_route({ ...intent, preload }).then((result) => {\n\t\t\t\tpreload_tokens.delete(preload);\n\t\t\t\tif (result.type === 'loaded' && result.state.error) {\n\t\t\t\t\t// Don't cache errors, because they might be transient\n\t\t\t\t\tload_cache = null;\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t})\n\t\t};\n\t}\n\n\treturn load_cache.promise;\n}\n\n/** @param {string} pathname */\nasync function _preload_code(pathname) {\n\tconst route = routes.find((route) => route.exec(get_url_path(pathname)));\n\n\tif (route) {\n\t\tawait Promise.all([...route.layouts, route.leaf].map((load) => load?.[1]()));\n\t}\n}\n\n/**\n * @param {import('./types.js').NavigationFinished} result\n * @param {HTMLElement} target\n * @param {boolean} hydrate\n */\nfunction initialize(result, target, hydrate) {\n\tif (DEV && result.state.error && document.querySelector('vite-error-overlay')) return;\n\n\tcurrent = result.state;\n\n\tconst style = document.querySelector('style[data-sveltekit]');\n\tif (style) style.remove();\n\n\tpage = /** @type {import('@sveltejs/kit').Page} */ (result.props.page);\n\n\troot = new app.root({\n\t\ttarget,\n\t\tprops: { ...result.props, stores, components },\n\t\thydrate\n\t});\n\n\trestore_snapshot(current_navigation_index);\n\n\t/** @type {import('@sveltejs/kit').AfterNavigate} */\n\tconst navigation = {\n\t\tfrom: null,\n\t\tto: {\n\t\t\tparams: current.params,\n\t\t\troute: { id: current.route?.id ?? null },\n\t\t\turl: new URL(location.href)\n\t\t},\n\t\twillUnload: false,\n\t\ttype: 'enter',\n\t\tcomplete: Promise.resolve()\n\t};\n\n\tafter_navigate_callbacks.forEach((fn) => fn(navigation));\n\n\tstarted = true;\n}\n\n/**\n *\n * @param {{\n * url: URL;\n * params: Record;\n * branch: Array;\n * status: number;\n * error: App.Error | null;\n * route: import('types').CSRRoute | null;\n * form?: Record | null;\n * }} opts\n */\nasync function get_navigation_result_from_branch({\n\turl,\n\tparams,\n\tbranch,\n\tstatus,\n\terror,\n\troute,\n\tform\n}) {\n\t/** @type {import('types').TrailingSlash} */\n\tlet slash = 'never';\n\n\t// if `paths.base === '/a/b/c`, then the root route is always `/a/b/c/`, regardless of\n\t// the `trailingSlash` route option, so that relative paths to JS and CSS work\n\tif (base && (url.pathname === base || url.pathname === base + '/')) {\n\t\tslash = 'always';\n\t} else {\n\t\tfor (const node of branch) {\n\t\t\tif (node?.slash !== undefined) slash = node.slash;\n\t\t}\n\t}\n\n\turl.pathname = normalize_path(url.pathname, slash);\n\n\t// eslint-disable-next-line\n\turl.search = url.search; // turn `/?` into `/`\n\n\t/** @type {import('./types.js').NavigationFinished} */\n\tconst result = {\n\t\ttype: 'loaded',\n\t\tstate: {\n\t\t\turl,\n\t\t\tparams,\n\t\t\tbranch,\n\t\t\terror,\n\t\t\troute\n\t\t},\n\t\tprops: {\n\t\t\t// @ts-ignore Somehow it's getting SvelteComponent and SvelteComponentDev mixed up\n\t\t\tconstructors: compact(branch).map((branch_node) => branch_node.node.component),\n\t\t\tpage\n\t\t}\n\t};\n\n\tif (form !== undefined) {\n\t\tresult.props.form = form;\n\t}\n\n\tlet data = {};\n\tlet data_changed = !page;\n\n\tlet p = 0;\n\n\tfor (let i = 0; i < Math.max(branch.length, current.branch.length); i += 1) {\n\t\tconst node = branch[i];\n\t\tconst prev = current.branch[i];\n\n\t\tif (node?.data !== prev?.data) data_changed = true;\n\t\tif (!node) continue;\n\n\t\tdata = { ...data, ...node.data };\n\n\t\t// Only set props if the node actually updated. This prevents needless rerenders.\n\t\tif (data_changed) {\n\t\t\tresult.props[`data_${p}`] = data;\n\t\t}\n\n\t\tp += 1;\n\t}\n\n\tconst page_changed =\n\t\t!current.url ||\n\t\turl.href !== current.url.href ||\n\t\tcurrent.error !== error ||\n\t\t(form !== undefined && form !== page.form) ||\n\t\tdata_changed;\n\n\tif (page_changed) {\n\t\tresult.props.page = {\n\t\t\terror,\n\t\t\tparams,\n\t\t\troute: {\n\t\t\t\tid: route?.id ?? null\n\t\t\t},\n\t\t\tstate: {},\n\t\t\tstatus,\n\t\t\turl: new URL(url),\n\t\t\tform: form ?? null,\n\t\t\t// The whole page store is updated, but this way the object reference stays the same\n\t\t\tdata: data_changed ? data : page.data\n\t\t};\n\t}\n\n\treturn result;\n}\n\n/**\n * Call the load function of the given node, if it exists.\n * If `server_data` is passed, this is treated as the initial run and the page endpoint is not requested.\n *\n * @param {{\n * loader: import('types').CSRPageNodeLoader;\n * \t parent: () => Promise>;\n * url: URL;\n * params: Record;\n * route: { id: string | null };\n * \t server_data_node: import('./types.js').DataNode | null;\n * }} options\n * @returns {Promise}\n */\nasync function load_node({ loader, parent, url, params, route, server_data_node }) {\n\t/** @type {Record | null} */\n\tlet data = null;\n\n\tlet is_tracking = true;\n\n\t/** @type {import('types').Uses} */\n\tconst uses = {\n\t\tdependencies: new Set(),\n\t\tparams: new Set(),\n\t\tparent: false,\n\t\troute: false,\n\t\turl: false,\n\t\tsearch_params: new Set()\n\t};\n\n\tconst node = await loader();\n\n\tif (DEV) {\n\t\tvalidate_page_exports(node.universal);\n\t}\n\n\tif (node.universal?.load) {\n\t\t/** @param {string[]} deps */\n\t\tfunction depends(...deps) {\n\t\t\tfor (const dep of deps) {\n\t\t\t\tif (DEV) validate_depends(/** @type {string} */ (route.id), dep);\n\n\t\t\t\tconst { href } = new URL(dep, url);\n\t\t\t\tuses.dependencies.add(href);\n\t\t\t}\n\t\t}\n\n\t\t/** @type {import('@sveltejs/kit').LoadEvent} */\n\t\tconst load_input = {\n\t\t\troute: new Proxy(route, {\n\t\t\t\tget: (target, key) => {\n\t\t\t\t\tif (is_tracking) {\n\t\t\t\t\t\tuses.route = true;\n\t\t\t\t\t}\n\t\t\t\t\treturn target[/** @type {'id'} */ (key)];\n\t\t\t\t}\n\t\t\t}),\n\t\t\tparams: new Proxy(params, {\n\t\t\t\tget: (target, key) => {\n\t\t\t\t\tif (is_tracking) {\n\t\t\t\t\t\tuses.params.add(/** @type {string} */ (key));\n\t\t\t\t\t}\n\t\t\t\t\treturn target[/** @type {string} */ (key)];\n\t\t\t\t}\n\t\t\t}),\n\t\t\tdata: server_data_node?.data ?? null,\n\t\t\turl: make_trackable(\n\t\t\t\turl,\n\t\t\t\t() => {\n\t\t\t\t\tif (is_tracking) {\n\t\t\t\t\t\tuses.url = true;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t(param) => {\n\t\t\t\t\tif (is_tracking) {\n\t\t\t\t\t\tuses.search_params.add(param);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t),\n\t\t\tasync fetch(resource, init) {\n\t\t\t\t/** @type {URL | string} */\n\t\t\t\tlet requested;\n\n\t\t\t\tif (resource instanceof Request) {\n\t\t\t\t\trequested = resource.url;\n\n\t\t\t\t\t// we're not allowed to modify the received `Request` object, so in order\n\t\t\t\t\t// to fixup relative urls we create a new equivalent `init` object instead\n\t\t\t\t\tinit = {\n\t\t\t\t\t\t// the request body must be consumed in memory until browsers\n\t\t\t\t\t\t// implement streaming request bodies and/or the body getter\n\t\t\t\t\t\tbody:\n\t\t\t\t\t\t\tresource.method === 'GET' || resource.method === 'HEAD'\n\t\t\t\t\t\t\t\t? undefined\n\t\t\t\t\t\t\t\t: await resource.blob(),\n\t\t\t\t\t\tcache: resource.cache,\n\t\t\t\t\t\tcredentials: resource.credentials,\n\t\t\t\t\t\theaders: resource.headers,\n\t\t\t\t\t\tintegrity: resource.integrity,\n\t\t\t\t\t\tkeepalive: resource.keepalive,\n\t\t\t\t\t\tmethod: resource.method,\n\t\t\t\t\t\tmode: resource.mode,\n\t\t\t\t\t\tredirect: resource.redirect,\n\t\t\t\t\t\treferrer: resource.referrer,\n\t\t\t\t\t\treferrerPolicy: resource.referrerPolicy,\n\t\t\t\t\t\tsignal: resource.signal,\n\t\t\t\t\t\t...init\n\t\t\t\t\t};\n\t\t\t\t} else {\n\t\t\t\t\trequested = resource;\n\t\t\t\t}\n\n\t\t\t\t// we must fixup relative urls so they are resolved from the target page\n\t\t\t\tconst resolved = new URL(requested, url);\n\t\t\t\tif (is_tracking) {\n\t\t\t\t\tdepends(resolved.href);\n\t\t\t\t}\n\n\t\t\t\t// match ssr serialized data url, which is important to find cached responses\n\t\t\t\tif (resolved.origin === url.origin) {\n\t\t\t\t\trequested = resolved.href.slice(url.origin.length);\n\t\t\t\t}\n\n\t\t\t\t// prerendered pages may be served from any origin, so `initial_fetch` urls shouldn't be resolved\n\t\t\t\treturn started\n\t\t\t\t\t? subsequent_fetch(requested, resolved.href, init)\n\t\t\t\t\t: initial_fetch(requested, init);\n\t\t\t},\n\t\t\tsetHeaders: () => {}, // noop\n\t\t\tdepends,\n\t\t\tparent() {\n\t\t\t\tif (is_tracking) {\n\t\t\t\t\tuses.parent = true;\n\t\t\t\t}\n\t\t\t\treturn parent();\n\t\t\t},\n\t\t\tuntrack(fn) {\n\t\t\t\tis_tracking = false;\n\t\t\t\ttry {\n\t\t\t\t\treturn fn();\n\t\t\t\t} finally {\n\t\t\t\t\tis_tracking = true;\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tif (DEV) {\n\t\t\ttry {\n\t\t\t\tlock_fetch();\n\t\t\t\tdata = (await node.universal.load.call(null, load_input)) ?? null;\n\t\t\t\tif (data != null && Object.getPrototypeOf(data) !== Object.prototype) {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`a load function related to route '${route.id}' returned ${\n\t\t\t\t\t\t\ttypeof data !== 'object'\n\t\t\t\t\t\t\t\t? `a ${typeof data}`\n\t\t\t\t\t\t\t\t: data instanceof Response\n\t\t\t\t\t\t\t\t\t? 'a Response object'\n\t\t\t\t\t\t\t\t\t: Array.isArray(data)\n\t\t\t\t\t\t\t\t\t\t? 'an array'\n\t\t\t\t\t\t\t\t\t\t: 'a non-plain object'\n\t\t\t\t\t\t}, but must return a plain object at the top level (i.e. \\`return {...}\\`)`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t} finally {\n\t\t\t\tunlock_fetch();\n\t\t\t}\n\t\t} else {\n\t\t\tdata = (await node.universal.load.call(null, load_input)) ?? null;\n\t\t}\n\t}\n\n\treturn {\n\t\tnode,\n\t\tloader,\n\t\tserver: server_data_node,\n\t\tuniversal: node.universal?.load ? { type: 'data', data, uses } : null,\n\t\tdata: data ?? server_data_node?.data ?? null,\n\t\tslash: node.universal?.trailingSlash ?? server_data_node?.slash\n\t};\n}\n\n/**\n * @param {boolean} parent_changed\n * @param {boolean} route_changed\n * @param {boolean} url_changed\n * @param {Set} search_params_changed\n * @param {import('types').Uses | undefined} uses\n * @param {Record} params\n */\nfunction has_changed(\n\tparent_changed,\n\troute_changed,\n\turl_changed,\n\tsearch_params_changed,\n\tuses,\n\tparams\n) {\n\tif (force_invalidation) return true;\n\n\tif (!uses) return false;\n\n\tif (uses.parent && parent_changed) return true;\n\tif (uses.route && route_changed) return true;\n\tif (uses.url && url_changed) return true;\n\n\tfor (const tracked_params of uses.search_params) {\n\t\tif (search_params_changed.has(tracked_params)) return true;\n\t}\n\n\tfor (const param of uses.params) {\n\t\tif (params[param] !== current.params[param]) return true;\n\t}\n\n\tfor (const href of uses.dependencies) {\n\t\tif (invalidated.some((fn) => fn(new URL(href)))) return true;\n\t}\n\n\treturn false;\n}\n\n/**\n * @param {import('types').ServerDataNode | import('types').ServerDataSkippedNode | null} node\n * @param {import('./types.js').DataNode | null} [previous]\n * @returns {import('./types.js').DataNode | null}\n */\nfunction create_data_node(node, previous) {\n\tif (node?.type === 'data') return node;\n\tif (node?.type === 'skip') return previous ?? null;\n\treturn null;\n}\n\n/**\n *\n * @param {URL | null} old_url\n * @param {URL} new_url\n */\nfunction diff_search_params(old_url, new_url) {\n\tif (!old_url) return new Set(new_url.searchParams.keys());\n\n\tconst changed = new Set([...old_url.searchParams.keys(), ...new_url.searchParams.keys()]);\n\n\tfor (const key of changed) {\n\t\tconst old_values = old_url.searchParams.getAll(key);\n\t\tconst new_values = new_url.searchParams.getAll(key);\n\n\t\tif (\n\t\t\told_values.every((value) => new_values.includes(value)) &&\n\t\t\tnew_values.every((value) => old_values.includes(value))\n\t\t) {\n\t\t\tchanged.delete(key);\n\t\t}\n\t}\n\n\treturn changed;\n}\n\n/**\n * @param {Omit & { error: App.Error }} opts\n * @returns {import('./types.js').NavigationFinished}\n */\nfunction preload_error({ error, url, route, params }) {\n\treturn {\n\t\ttype: 'loaded',\n\t\tstate: {\n\t\t\terror,\n\t\t\turl,\n\t\t\troute,\n\t\t\tparams,\n\t\t\tbranch: []\n\t\t},\n\t\tprops: { page, constructors: [] }\n\t};\n}\n\n/**\n * @param {import('./types.js').NavigationIntent & { preload?: {} }} intent\n * @returns {Promise}\n */\nasync function load_route({ id, invalidating, url, params, route, preload }) {\n\tif (load_cache?.id === id) {\n\t\t// the preload becomes the real navigation\n\t\tpreload_tokens.delete(load_cache.token);\n\t\treturn load_cache.promise;\n\t}\n\n\tconst { errors, layouts, leaf } = route;\n\n\tconst loaders = [...layouts, leaf];\n\n\t// preload modules to avoid waterfall, but handle rejections\n\t// so they don't get reported to Sentry et al (we don't need\n\t// to act on the failures at this point)\n\terrors.forEach((loader) => loader?.().catch(() => {}));\n\tloaders.forEach((loader) => loader?.[1]().catch(() => {}));\n\n\t/** @type {import('types').ServerNodesResponse | import('types').ServerRedirectNode | null} */\n\tlet server_data = null;\n\tconst url_changed = current.url ? id !== current.url.pathname + current.url.search : false;\n\tconst route_changed = current.route ? route.id !== current.route.id : false;\n\tconst search_params_changed = diff_search_params(current.url, url);\n\n\tlet parent_invalid = false;\n\tconst invalid_server_nodes = loaders.map((loader, i) => {\n\t\tconst previous = current.branch[i];\n\n\t\tconst invalid =\n\t\t\t!!loader?.[0] &&\n\t\t\t(previous?.loader !== loader[1] ||\n\t\t\t\thas_changed(\n\t\t\t\t\tparent_invalid,\n\t\t\t\t\troute_changed,\n\t\t\t\t\turl_changed,\n\t\t\t\t\tsearch_params_changed,\n\t\t\t\t\tprevious.server?.uses,\n\t\t\t\t\tparams\n\t\t\t\t));\n\n\t\tif (invalid) {\n\t\t\t// For the next one\n\t\t\tparent_invalid = true;\n\t\t}\n\n\t\treturn invalid;\n\t});\n\n\tif (invalid_server_nodes.some(Boolean)) {\n\t\ttry {\n\t\t\tserver_data = await load_data(url, invalid_server_nodes);\n\t\t} catch (error) {\n\t\t\tconst handled_error = await handle_error(error, { url, params, route: { id } });\n\n\t\t\tif (preload_tokens.has(preload)) {\n\t\t\t\treturn preload_error({ error: handled_error, url, params, route });\n\t\t\t}\n\n\t\t\treturn load_root_error_page({\n\t\t\t\tstatus: get_status(error),\n\t\t\t\terror: handled_error,\n\t\t\t\turl,\n\t\t\t\troute\n\t\t\t});\n\t\t}\n\n\t\tif (server_data.type === 'redirect') {\n\t\t\treturn server_data;\n\t\t}\n\t}\n\n\tconst server_data_nodes = server_data?.nodes;\n\n\tlet parent_changed = false;\n\n\tconst branch_promises = loaders.map(async (loader, i) => {\n\t\tif (!loader) return;\n\n\t\t/** @type {import('./types.js').BranchNode | undefined} */\n\t\tconst previous = current.branch[i];\n\n\t\tconst server_data_node = server_data_nodes?.[i];\n\n\t\t// re-use data from previous load if it's still valid\n\t\tconst valid =\n\t\t\t(!server_data_node || server_data_node.type === 'skip') &&\n\t\t\tloader[1] === previous?.loader &&\n\t\t\t!has_changed(\n\t\t\t\tparent_changed,\n\t\t\t\troute_changed,\n\t\t\t\turl_changed,\n\t\t\t\tsearch_params_changed,\n\t\t\t\tprevious.universal?.uses,\n\t\t\t\tparams\n\t\t\t);\n\t\tif (valid) return previous;\n\n\t\tparent_changed = true;\n\n\t\tif (server_data_node?.type === 'error') {\n\t\t\t// rethrow and catch below\n\t\t\tthrow server_data_node;\n\t\t}\n\n\t\treturn load_node({\n\t\t\tloader: loader[1],\n\t\t\turl,\n\t\t\tparams,\n\t\t\troute,\n\t\t\tparent: async () => {\n\t\t\t\tconst data = {};\n\t\t\t\tfor (let j = 0; j < i; j += 1) {\n\t\t\t\t\tObject.assign(data, (await branch_promises[j])?.data);\n\t\t\t\t}\n\t\t\t\treturn data;\n\t\t\t},\n\t\t\tserver_data_node: create_data_node(\n\t\t\t\t// server_data_node is undefined if it wasn't reloaded from the server;\n\t\t\t\t// and if current loader uses server data, we want to reuse previous data.\n\t\t\t\tserver_data_node === undefined && loader[0] ? { type: 'skip' } : server_data_node ?? null,\n\t\t\t\tloader[0] ? previous?.server : undefined\n\t\t\t)\n\t\t});\n\t});\n\n\t// if we don't do this, rejections will be unhandled\n\tfor (const p of branch_promises) p.catch(() => {});\n\n\t/** @type {Array} */\n\tconst branch = [];\n\n\tfor (let i = 0; i < loaders.length; i += 1) {\n\t\tif (loaders[i]) {\n\t\t\ttry {\n\t\t\t\tbranch.push(await branch_promises[i]);\n\t\t\t} catch (err) {\n\t\t\t\tif (err instanceof Redirect) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: 'redirect',\n\t\t\t\t\t\tlocation: err.location\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\tif (preload_tokens.has(preload)) {\n\t\t\t\t\treturn preload_error({\n\t\t\t\t\t\terror: await handle_error(err, { params, url, route: { id: route.id } }),\n\t\t\t\t\t\turl,\n\t\t\t\t\t\tparams,\n\t\t\t\t\t\troute\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\tlet status = get_status(err);\n\t\t\t\t/** @type {App.Error} */\n\t\t\t\tlet error;\n\n\t\t\t\tif (server_data_nodes?.includes(/** @type {import('types').ServerErrorNode} */ (err))) {\n\t\t\t\t\t// this is the server error rethrown above, reconstruct but don't invoke\n\t\t\t\t\t// the client error handler; it should've already been handled on the server\n\t\t\t\t\tstatus = /** @type {import('types').ServerErrorNode} */ (err).status ?? status;\n\t\t\t\t\terror = /** @type {import('types').ServerErrorNode} */ (err).error;\n\t\t\t\t} else if (err instanceof HttpError) {\n\t\t\t\t\terror = err.body;\n\t\t\t\t} else {\n\t\t\t\t\t// Referenced node could have been removed due to redeploy, check\n\t\t\t\t\tconst updated = await stores.updated.check();\n\t\t\t\t\tif (updated) {\n\t\t\t\t\t\treturn await native_navigation(url);\n\t\t\t\t\t}\n\n\t\t\t\t\terror = await handle_error(err, { params, url, route: { id: route.id } });\n\t\t\t\t}\n\n\t\t\t\tconst error_load = await load_nearest_error_page(i, branch, errors);\n\t\t\t\tif (error_load) {\n\t\t\t\t\treturn await get_navigation_result_from_branch({\n\t\t\t\t\t\turl,\n\t\t\t\t\t\tparams,\n\t\t\t\t\t\tbranch: branch.slice(0, error_load.idx).concat(error_load.node),\n\t\t\t\t\t\tstatus,\n\t\t\t\t\t\terror,\n\t\t\t\t\t\troute\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\treturn await server_fallback(url, { id: route.id }, error, status);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\t// push an empty slot so we can rewind past gaps to the\n\t\t\t// layout that corresponds with an +error.svelte page\n\t\t\tbranch.push(undefined);\n\t\t}\n\t}\n\n\treturn await get_navigation_result_from_branch({\n\t\turl,\n\t\tparams,\n\t\tbranch,\n\t\tstatus: 200,\n\t\terror: null,\n\t\troute,\n\t\t// Reset `form` on navigation, but not invalidation\n\t\tform: invalidating ? undefined : null\n\t});\n}\n\n/**\n * @param {number} i Start index to backtrack from\n * @param {Array} branch Branch to backtrack\n * @param {Array} errors All error pages for this branch\n * @returns {Promise<{idx: number; node: import('./types.js').BranchNode} | undefined>}\n */\nasync function load_nearest_error_page(i, branch, errors) {\n\twhile (i--) {\n\t\tif (errors[i]) {\n\t\t\tlet j = i;\n\t\t\twhile (!branch[j]) j -= 1;\n\t\t\ttry {\n\t\t\t\treturn {\n\t\t\t\t\tidx: j + 1,\n\t\t\t\t\tnode: {\n\t\t\t\t\t\tnode: await /** @type {import('types').CSRPageNodeLoader } */ (errors[i])(),\n\t\t\t\t\t\tloader: /** @type {import('types').CSRPageNodeLoader } */ (errors[i]),\n\t\t\t\t\t\tdata: {},\n\t\t\t\t\t\tserver: null,\n\t\t\t\t\t\tuniversal: null\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t} catch (e) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * @param {{\n * status: number;\n * error: App.Error;\n * url: URL;\n * route: { id: string | null }\n * }} opts\n * @returns {Promise}\n */\nasync function load_root_error_page({ status, error, url, route }) {\n\t/** @type {Record} */\n\tconst params = {}; // error page does not have params\n\n\t/** @type {import('types').ServerDataNode | null} */\n\tlet server_data_node = null;\n\n\tconst default_layout_has_server_load = app.server_loads[0] === 0;\n\n\tif (default_layout_has_server_load) {\n\t\t// TODO post-https://github.com/sveltejs/kit/discussions/6124 we can use\n\t\t// existing root layout data\n\t\ttry {\n\t\t\tconst server_data = await load_data(url, [true]);\n\n\t\t\tif (\n\t\t\t\tserver_data.type !== 'data' ||\n\t\t\t\t(server_data.nodes[0] && server_data.nodes[0].type !== 'data')\n\t\t\t) {\n\t\t\t\tthrow 0;\n\t\t\t}\n\n\t\t\tserver_data_node = server_data.nodes[0] ?? null;\n\t\t} catch {\n\t\t\t// at this point we have no choice but to fall back to the server, if it wouldn't\n\t\t\t// bring us right back here, turning this into an endless loop\n\t\t\tif (url.origin !== origin || url.pathname !== location.pathname || hydrated) {\n\t\t\t\tawait native_navigation(url);\n\t\t\t}\n\t\t}\n\t}\n\n\tconst root_layout = await load_node({\n\t\tloader: default_layout_loader,\n\t\turl,\n\t\tparams,\n\t\troute,\n\t\tparent: () => Promise.resolve({}),\n\t\tserver_data_node: create_data_node(server_data_node)\n\t});\n\n\t/** @type {import('./types.js').BranchNode} */\n\tconst root_error = {\n\t\tnode: await default_error_loader(),\n\t\tloader: default_error_loader,\n\t\tuniversal: null,\n\t\tserver: null,\n\t\tdata: null\n\t};\n\n\treturn await get_navigation_result_from_branch({\n\t\turl,\n\t\tparams,\n\t\tbranch: [root_layout, root_error],\n\t\tstatus,\n\t\terror,\n\t\troute: null\n\t});\n}\n\n/**\n * Resolve the full info (which route, params, etc.) for a client-side navigation from the URL,\n * taking the reroute hook into account. If this isn't a client-side-navigation (or the URL is undefined),\n * returns undefined.\n * @param {URL | undefined} url\n * @param {boolean} invalidating\n */\nfunction get_navigation_intent(url, invalidating) {\n\tif (!url) return undefined;\n\tif (is_external_url(url, base)) return;\n\n\t// reroute could alter the given URL, so we pass a copy\n\tlet rerouted;\n\ttry {\n\t\trerouted = app.hooks.reroute({ url: new URL(url) }) ?? url.pathname;\n\t} catch (e) {\n\t\tif (DEV) {\n\t\t\t// in development, print the error...\n\t\t\tconsole.error(e);\n\n\t\t\t// ...and pause execution, since otherwise we will immediately reload the page\n\t\t\tdebugger; // eslint-disable-line\n\t\t}\n\n\t\t// fall back to native navigation\n\t\treturn undefined;\n\t}\n\n\tconst path = get_url_path(rerouted);\n\n\tfor (const route of routes) {\n\t\tconst params = route.exec(path);\n\n\t\tif (params) {\n\t\t\tconst id = url.pathname + url.search;\n\t\t\t/** @type {import('./types.js').NavigationIntent} */\n\t\t\tconst intent = {\n\t\t\t\tid,\n\t\t\t\tinvalidating,\n\t\t\t\troute,\n\t\t\t\tparams: decode_params(params),\n\t\t\t\turl\n\t\t\t};\n\t\t\treturn intent;\n\t\t}\n\t}\n}\n\n/** @param {string} pathname */\nfunction get_url_path(pathname) {\n\treturn decode_pathname(pathname.slice(base.length) || '/');\n}\n\n/**\n * @param {{\n * url: URL;\n * type: import('@sveltejs/kit').Navigation[\"type\"];\n * intent?: import('./types.js').NavigationIntent;\n * delta?: number;\n * }} opts\n */\nfunction _before_navigate({ url, type, intent, delta }) {\n\tlet should_block = false;\n\n\tconst nav = create_navigation(current, intent, url, type);\n\n\tif (delta !== undefined) {\n\t\tnav.navigation.delta = delta;\n\t}\n\n\tconst cancellable = {\n\t\t...nav.navigation,\n\t\tcancel: () => {\n\t\t\tshould_block = true;\n\t\t\tnav.reject(new Error('navigation cancelled'));\n\t\t}\n\t};\n\n\tif (!navigating) {\n\t\t// Don't run the event during redirects\n\t\tbefore_navigate_callbacks.forEach((fn) => fn(cancellable));\n\t}\n\n\treturn should_block ? null : nav;\n}\n\n/**\n * @param {{\n * type: import('@sveltejs/kit').Navigation[\"type\"];\n * url: URL;\n * popped?: {\n * state: Record;\n * scroll: { x: number, y: number };\n * delta: number;\n * };\n * keepfocus?: boolean;\n * noscroll?: boolean;\n * replace_state?: boolean;\n * state?: Record;\n * redirect_count?: number;\n * nav_token?: {};\n * accept?: () => void;\n * block?: () => void;\n * }} opts\n */\nasync function navigate({\n\ttype,\n\turl,\n\tpopped,\n\tkeepfocus,\n\tnoscroll,\n\treplace_state,\n\tstate = {},\n\tredirect_count = 0,\n\tnav_token = {},\n\taccept = noop,\n\tblock = noop\n}) {\n\tconst intent = get_navigation_intent(url, false);\n\tconst nav = _before_navigate({ url, type, delta: popped?.delta, intent });\n\n\tif (!nav) {\n\t\tblock();\n\t\treturn;\n\t}\n\n\t// store this before calling `accept()`, which may change the index\n\tconst previous_history_index = current_history_index;\n\tconst previous_navigation_index = current_navigation_index;\n\n\taccept();\n\n\tnavigating = true;\n\n\tif (started) {\n\t\tstores.navigating.set(nav.navigation);\n\t}\n\n\ttoken = nav_token;\n\tlet navigation_result = intent && (await load_route(intent));\n\n\tif (!navigation_result) {\n\t\tif (is_external_url(url, base)) {\n\t\t\treturn await native_navigation(url);\n\t\t}\n\t\tnavigation_result = await server_fallback(\n\t\t\turl,\n\t\t\t{ id: null },\n\t\t\tawait handle_error(new SvelteKitError(404, 'Not Found', `Not found: ${url.pathname}`), {\n\t\t\t\turl,\n\t\t\t\tparams: {},\n\t\t\t\troute: { id: null }\n\t\t\t}),\n\t\t\t404\n\t\t);\n\t}\n\n\t// if this is an internal navigation intent, use the normalized\n\t// URL for the rest of the function\n\turl = intent?.url || url;\n\n\t// abort if user navigated during update\n\tif (token !== nav_token) {\n\t\tnav.reject(new Error('navigation aborted'));\n\t\treturn false;\n\t}\n\n\tif (navigation_result.type === 'redirect') {\n\t\t// whatwg fetch spec https://fetch.spec.whatwg.org/#http-redirect-fetch says to error after 20 redirects\n\t\tif (redirect_count >= 20) {\n\t\t\tnavigation_result = await load_root_error_page({\n\t\t\t\tstatus: 500,\n\t\t\t\terror: await handle_error(new Error('Redirect loop'), {\n\t\t\t\t\turl,\n\t\t\t\t\tparams: {},\n\t\t\t\t\troute: { id: null }\n\t\t\t\t}),\n\t\t\t\turl,\n\t\t\t\troute: { id: null }\n\t\t\t});\n\t\t} else {\n\t\t\t_goto(new URL(navigation_result.location, url).href, {}, redirect_count + 1, nav_token);\n\t\t\treturn false;\n\t\t}\n\t} else if (/** @type {number} */ (navigation_result.props.page.status) >= 400) {\n\t\tconst updated = await stores.updated.check();\n\t\tif (updated) {\n\t\t\tawait native_navigation(url);\n\t\t}\n\t}\n\n\t// reset invalidation only after a finished navigation. If there are redirects or\n\t// additional invalidations, they should get the same invalidation treatment\n\treset_invalidation();\n\n\tupdating = true;\n\n\tupdate_scroll_positions(previous_history_index);\n\tcapture_snapshot(previous_navigation_index);\n\n\t// ensure the url pathname matches the page's trailing slash option\n\tif (navigation_result.props.page.url.pathname !== url.pathname) {\n\t\turl.pathname = navigation_result.props.page.url.pathname;\n\t}\n\n\tstate = popped ? popped.state : state;\n\n\tif (!popped) {\n\t\t// this is a new navigation, rather than a popstate\n\t\tconst change = replace_state ? 0 : 1;\n\n\t\tconst entry = {\n\t\t\t[HISTORY_INDEX]: (current_history_index += change),\n\t\t\t[NAVIGATION_INDEX]: (current_navigation_index += change),\n\t\t\t[STATES_KEY]: state\n\t\t};\n\n\t\tconst fn = replace_state ? history.replaceState : history.pushState;\n\t\tfn.call(history, entry, '', url);\n\n\t\tif (!replace_state) {\n\t\t\tclear_onward_history(current_history_index, current_navigation_index);\n\t\t}\n\t}\n\n\t// reset preload synchronously after the history state has been set to avoid race conditions\n\tload_cache = null;\n\n\tnavigation_result.props.page.state = state;\n\n\tif (started) {\n\t\tcurrent = navigation_result.state;\n\n\t\t// reset url before updating page store\n\t\tif (navigation_result.props.page) {\n\t\t\tnavigation_result.props.page.url = url;\n\t\t}\n\n\t\tconst after_navigate = (\n\t\t\tawait Promise.all(\n\t\t\t\ton_navigate_callbacks.map((fn) =>\n\t\t\t\t\tfn(/** @type {import('@sveltejs/kit').OnNavigate} */ (nav.navigation))\n\t\t\t\t)\n\t\t\t)\n\t\t).filter(/** @returns {value is () => void} */ (value) => typeof value === 'function');\n\n\t\tif (after_navigate.length > 0) {\n\t\t\tfunction cleanup() {\n\t\t\t\tafter_navigate_callbacks = after_navigate_callbacks.filter(\n\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t(fn) => !after_navigate.includes(fn)\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tafter_navigate.push(cleanup);\n\t\t\tafter_navigate_callbacks.push(...after_navigate);\n\t\t}\n\n\t\troot.$set(navigation_result.props);\n\t\thas_navigated = true;\n\t} else {\n\t\tinitialize(navigation_result, target, false);\n\t}\n\n\tconst { activeElement } = document;\n\n\t// need to render the DOM before we can scroll to the rendered elements and do focus management\n\tawait tick();\n\n\t// we reset scroll before dealing with focus, to avoid a flash of unscrolled content\n\tconst scroll = popped ? popped.scroll : noscroll ? scroll_state() : null;\n\n\tif (autoscroll) {\n\t\tconst deep_linked = url.hash && document.getElementById(decodeURIComponent(url.hash.slice(1)));\n\t\tif (scroll) {\n\t\t\tscrollTo(scroll.x, scroll.y);\n\t\t} else if (deep_linked) {\n\t\t\t// Here we use `scrollIntoView` on the element instead of `scrollTo`\n\t\t\t// because it natively supports the `scroll-margin` and `scroll-behavior`\n\t\t\t// CSS properties.\n\t\t\tdeep_linked.scrollIntoView();\n\t\t} else {\n\t\t\tscrollTo(0, 0);\n\t\t}\n\t}\n\n\tconst changed_focus =\n\t\t// reset focus only if any manual focus management didn't override it\n\t\tdocument.activeElement !== activeElement &&\n\t\t// also refocus when activeElement is body already because the\n\t\t// focus event might not have been fired on it yet\n\t\tdocument.activeElement !== document.body;\n\n\tif (!keepfocus && !changed_focus) {\n\t\treset_focus();\n\t}\n\n\tautoscroll = true;\n\n\tif (navigation_result.props.page) {\n\t\tpage = navigation_result.props.page;\n\t}\n\n\tnavigating = false;\n\n\tif (type === 'popstate') {\n\t\trestore_snapshot(current_navigation_index);\n\t}\n\n\tnav.fulfil(undefined);\n\n\tafter_navigate_callbacks.forEach((fn) =>\n\t\tfn(/** @type {import('@sveltejs/kit').AfterNavigate} */ (nav.navigation))\n\t);\n\n\tstores.navigating.set(null);\n\n\tupdating = false;\n}\n\n/**\n * Does a full page reload if it wouldn't result in an endless loop in the SPA case\n * @param {URL} url\n * @param {{ id: string | null }} route\n * @param {App.Error} error\n * @param {number} status\n * @returns {Promise}\n */\nasync function server_fallback(url, route, error, status) {\n\tif (url.origin === origin && url.pathname === location.pathname && !hydrated) {\n\t\t// We would reload the same page we're currently on, which isn't hydrated,\n\t\t// which means no SSR, which means we would end up in an endless loop\n\t\treturn await load_root_error_page({\n\t\t\tstatus,\n\t\t\terror,\n\t\t\turl,\n\t\t\troute\n\t\t});\n\t}\n\n\tif (DEV && status !== 404) {\n\t\tconsole.error(\n\t\t\t'An error occurred while loading the page. This will cause a full page reload. (This message will only appear during development.)'\n\t\t);\n\n\t\tdebugger; // eslint-disable-line\n\t}\n\n\treturn await native_navigation(url);\n}\n\nif (import.meta.hot) {\n\timport.meta.hot.on('vite:beforeUpdate', () => {\n\t\tif (current.error) location.reload();\n\t});\n}\n\nfunction setup_preload() {\n\t/** @type {NodeJS.Timeout} */\n\tlet mousemove_timeout;\n\n\tcontainer.addEventListener('mousemove', (event) => {\n\t\tconst target = /** @type {Element} */ (event.target);\n\n\t\tclearTimeout(mousemove_timeout);\n\t\tmousemove_timeout = setTimeout(() => {\n\t\t\tpreload(target, 2);\n\t\t}, 20);\n\t});\n\n\t/** @param {Event} event */\n\tfunction tap(event) {\n\t\tpreload(/** @type {Element} */ (event.composedPath()[0]), 1);\n\t}\n\n\tcontainer.addEventListener('mousedown', tap);\n\tcontainer.addEventListener('touchstart', tap, { passive: true });\n\n\tconst observer = new IntersectionObserver(\n\t\t(entries) => {\n\t\t\tfor (const entry of entries) {\n\t\t\t\tif (entry.isIntersecting) {\n\t\t\t\t\t_preload_code(/** @type {HTMLAnchorElement} */ (entry.target).href);\n\t\t\t\t\tobserver.unobserve(entry.target);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t{ threshold: 0 }\n\t);\n\n\t/**\n\t * @param {Element} element\n\t * @param {number} priority\n\t */\n\tfunction preload(element, priority) {\n\t\tconst a = find_anchor(element, container);\n\t\tif (!a) return;\n\n\t\tconst { url, external, download } = get_link_info(a, base);\n\t\tif (external || download) return;\n\n\t\tconst options = get_router_options(a);\n\n\t\tif (!options.reload) {\n\t\t\tif (priority <= options.preload_data) {\n\t\t\t\tconst intent = get_navigation_intent(url, false);\n\t\t\t\tif (intent) {\n\t\t\t\t\tif (DEV) {\n\t\t\t\t\t\t_preload_data(intent).then((result) => {\n\t\t\t\t\t\t\tif (result.type === 'loaded' && result.state.error) {\n\t\t\t\t\t\t\t\tconsole.warn(\n\t\t\t\t\t\t\t\t\t`Preloading data for ${intent.url.pathname} failed with the following error: ${result.state.error.message}\\n` +\n\t\t\t\t\t\t\t\t\t\t'If this error is transient, you can ignore it. Otherwise, consider disabling preloading for this route. ' +\n\t\t\t\t\t\t\t\t\t\t'This route was preloaded due to a data-sveltekit-preload-data attribute. ' +\n\t\t\t\t\t\t\t\t\t\t'See https://kit.svelte.dev/docs/link-options for more info'\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\t_preload_data(intent);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (priority <= options.preload_code) {\n\t\t\t\t_preload_code(/** @type {URL} */ (url).pathname);\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction after_navigate() {\n\t\tobserver.disconnect();\n\n\t\tfor (const a of container.querySelectorAll('a')) {\n\t\t\tconst { url, external, download } = get_link_info(a, base);\n\t\t\tif (external || download) continue;\n\n\t\t\tconst options = get_router_options(a);\n\t\t\tif (options.reload) continue;\n\n\t\t\tif (options.preload_code === PRELOAD_PRIORITIES.viewport) {\n\t\t\t\tobserver.observe(a);\n\t\t\t}\n\n\t\t\tif (options.preload_code === PRELOAD_PRIORITIES.eager) {\n\t\t\t\t_preload_code(/** @type {URL} */ (url).pathname);\n\t\t\t}\n\t\t}\n\t}\n\n\tafter_navigate_callbacks.push(after_navigate);\n\tafter_navigate();\n}\n\n/**\n * @param {unknown} error\n * @param {import('@sveltejs/kit').NavigationEvent} event\n * @returns {import('types').MaybePromise}\n */\nfunction handle_error(error, event) {\n\tif (error instanceof HttpError) {\n\t\treturn error.body;\n\t}\n\n\tif (DEV) {\n\t\terrored = true;\n\t\tconsole.warn('The next HMR update will cause the page to reload');\n\t}\n\n\tconst status = get_status(error);\n\tconst message = get_message(error);\n\n\treturn (\n\t\tapp.hooks.handleError({ error, event, status, message }) ?? /** @type {any} */ ({ message })\n\t);\n}\n\n/**\n * @template {Function} T\n * @param {T[]} callbacks\n * @param {T} callback\n */\nfunction add_navigation_callback(callbacks, callback) {\n\tonMount(() => {\n\t\tcallbacks.push(callback);\n\n\t\treturn () => {\n\t\t\tconst i = callbacks.indexOf(callback);\n\t\t\tcallbacks.splice(i, 1);\n\t\t};\n\t});\n}\n\n/**\n * A lifecycle function that runs the supplied `callback` when the current component mounts, and also whenever we navigate to a new URL.\n *\n * `afterNavigate` must be called during a component initialization. It remains active as long as the component is mounted.\n * @param {(navigation: import('@sveltejs/kit').AfterNavigate) => void} callback\n * @returns {void}\n */\nexport function afterNavigate(callback) {\n\tadd_navigation_callback(after_navigate_callbacks, callback);\n}\n\n/**\n * A navigation interceptor that triggers before we navigate to a new URL, whether by clicking a link, calling `goto(...)`, or using the browser back/forward controls.\n *\n * Calling `cancel()` will prevent the navigation from completing. If `navigation.type === 'leave'` — meaning the user is navigating away from the app (or closing the tab) — calling `cancel` will trigger the native browser unload confirmation dialog. In this case, the navigation may or may not be cancelled depending on the user's response.\n *\n * When a navigation isn't to a SvelteKit-owned route (and therefore controlled by SvelteKit's client-side router), `navigation.to.route.id` will be `null`.\n *\n * If the navigation will (if not cancelled) cause the document to unload — in other words `'leave'` navigations and `'link'` navigations where `navigation.to.route === null` — `navigation.willUnload` is `true`.\n *\n * `beforeNavigate` must be called during a component initialization. It remains active as long as the component is mounted.\n * @param {(navigation: import('@sveltejs/kit').BeforeNavigate) => void} callback\n * @returns {void}\n */\nexport function beforeNavigate(callback) {\n\tadd_navigation_callback(before_navigate_callbacks, callback);\n}\n\n/**\n * A lifecycle function that runs the supplied `callback` immediately before we navigate to a new URL except during full-page navigations.\n *\n * If you return a `Promise`, SvelteKit will wait for it to resolve before completing the navigation. This allows you to — for example — use `document.startViewTransition`. Avoid promises that are slow to resolve, since navigation will appear stalled to the user.\n *\n * If a function (or a `Promise` that resolves to a function) is returned from the callback, it will be called once the DOM has updated.\n *\n * `onNavigate` must be called during a component initialization. It remains active as long as the component is mounted.\n * @param {(navigation: import('@sveltejs/kit').OnNavigate) => import('types').MaybePromise<(() => void) | void>} callback\n * @returns {void}\n */\nexport function onNavigate(callback) {\n\tadd_navigation_callback(on_navigate_callbacks, callback);\n}\n\n/**\n * If called when the page is being updated following a navigation (in `onMount` or `afterNavigate` or an action, for example), this disables SvelteKit's built-in scroll handling.\n * This is generally discouraged, since it breaks user expectations.\n * @returns {void}\n */\nexport function disableScrollHandling() {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call disableScrollHandling() on the server');\n\t}\n\n\tif (DEV && started && !updating) {\n\t\tthrow new Error('Can only disable scroll handling during navigation');\n\t}\n\n\tif (updating || !started) {\n\t\tautoscroll = false;\n\t}\n}\n\n/**\n * Returns a Promise that resolves when SvelteKit navigates (or fails to navigate, in which case the promise rejects) to the specified `url`.\n * For external URLs, use `window.location = url` instead of calling `goto(url)`.\n *\n * @param {string | URL} url Where to navigate to. Note that if you've set [`config.kit.paths.base`](https://kit.svelte.dev/docs/configuration#paths) and the URL is root-relative, you need to prepend the base path if you want to navigate within the app.\n * @param {Object} [opts] Options related to the navigation\n * @param {boolean} [opts.replaceState] If `true`, will replace the current `history` entry rather than creating a new one with `pushState`\n * @param {boolean} [opts.noScroll] If `true`, the browser will maintain its scroll position rather than scrolling to the top of the page after navigation\n * @param {boolean} [opts.keepFocus] If `true`, the currently focused element will retain focus after navigation. Otherwise, focus will be reset to the body\n * @param {boolean} [opts.invalidateAll] If `true`, all `load` functions of the page will be rerun. See https://kit.svelte.dev/docs/load#rerunning-load-functions for more info on invalidation.\n * @param {App.PageState} [opts.state] An optional object that will be available on the `$page.state` store\n * @returns {Promise}\n */\nexport function goto(url, opts = {}) {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call goto(...) on the server');\n\t}\n\n\turl = resolve_url(url);\n\n\tif (url.origin !== origin) {\n\t\treturn Promise.reject(\n\t\t\tnew Error(\n\t\t\t\tDEV\n\t\t\t\t\t? `Cannot use \\`goto\\` with an external URL. Use \\`window.location = \"${url}\"\\` instead`\n\t\t\t\t\t: 'goto: invalid URL'\n\t\t\t)\n\t\t);\n\t}\n\n\treturn _goto(url, opts, 0);\n}\n\n/**\n * Causes any `load` functions belonging to the currently active page to re-run if they depend on the `url` in question, via `fetch` or `depends`. Returns a `Promise` that resolves when the page is subsequently updated.\n *\n * If the argument is given as a `string` or `URL`, it must resolve to the same URL that was passed to `fetch` or `depends` (including query parameters).\n * To create a custom identifier, use a string beginning with `[a-z]+:` (e.g. `custom:state`) — this is a valid URL.\n *\n * The `function` argument can be used define a custom predicate. It receives the full `URL` and causes `load` to rerun if `true` is returned.\n * This can be useful if you want to invalidate based on a pattern instead of a exact match.\n *\n * ```ts\n * // Example: Match '/path' regardless of the query parameters\n * import { invalidate } from '$app/navigation';\n *\n * invalidate((url) => url.pathname === '/path');\n * ```\n * @param {string | URL | ((url: URL) => boolean)} resource The invalidated URL\n * @returns {Promise}\n */\nexport function invalidate(resource) {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call invalidate(...) on the server');\n\t}\n\n\tif (typeof resource === 'function') {\n\t\tinvalidated.push(resource);\n\t} else {\n\t\tconst { href } = new URL(resource, location.href);\n\t\tinvalidated.push((url) => url.href === href);\n\t}\n\n\treturn _invalidate();\n}\n\n/**\n * Causes all `load` functions belonging to the currently active page to re-run. Returns a `Promise` that resolves when the page is subsequently updated.\n * @returns {Promise}\n */\nexport function invalidateAll() {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call invalidateAll() on the server');\n\t}\n\n\tforce_invalidation = true;\n\treturn _invalidate();\n}\n\n/**\n * Programmatically preloads the given page, which means\n * 1. ensuring that the code for the page is loaded, and\n * 2. calling the page's load function with the appropriate options.\n *\n * This is the same behaviour that SvelteKit triggers when the user taps or mouses over an `
` element with `data-sveltekit-preload-data`.\n * If the next navigation is to `href`, the values returned from load will be used, making navigation instantaneous.\n * Returns a Promise that resolves with the result of running the new route's `load` functions once the preload is complete.\n *\n * @param {string} href Page to preload\n * @returns {Promise<{ type: 'loaded'; status: number; data: Record } | { type: 'redirect'; location: string }>}\n */\nexport async function preloadData(href) {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call preloadData(...) on the server');\n\t}\n\n\tconst url = resolve_url(href);\n\tconst intent = get_navigation_intent(url, false);\n\n\tif (!intent) {\n\t\tthrow new Error(`Attempted to preload a URL that does not belong to this app: ${url}`);\n\t}\n\n\tconst result = await _preload_data(intent);\n\tif (result.type === 'redirect') {\n\t\treturn {\n\t\t\ttype: result.type,\n\t\t\tlocation: result.location\n\t\t};\n\t}\n\n\tconst { status, data } = result.props.page ?? page;\n\treturn { type: result.type, status, data };\n}\n\n/**\n * Programmatically imports the code for routes that haven't yet been fetched.\n * Typically, you might call this to speed up subsequent navigation.\n *\n * You can specify routes by any matching pathname such as `/about` (to match `src/routes/about/+page.svelte`) or `/blog/*` (to match `src/routes/blog/[slug]/+page.svelte`).\n *\n * Unlike `preloadData`, this won't call `load` functions.\n * Returns a Promise that resolves when the modules have been imported.\n *\n * @param {string} pathname\n * @returns {Promise}\n */\nexport function preloadCode(pathname) {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call preloadCode(...) on the server');\n\t}\n\n\tif (DEV) {\n\t\tif (!pathname.startsWith(base)) {\n\t\t\tthrow new Error(\n\t\t\t\t`pathnames passed to preloadCode must start with \\`paths.base\\` (i.e. \"${base}${pathname}\" rather than \"${pathname}\")`\n\t\t\t);\n\t\t}\n\n\t\tif (!routes.find((route) => route.exec(get_url_path(pathname)))) {\n\t\t\tthrow new Error(`'${pathname}' did not match any routes`);\n\t\t}\n\t}\n\n\treturn _preload_code(pathname);\n}\n\n/**\n * Programmatically create a new history entry with the given `$page.state`. To use the current URL, you can pass `''` as the first argument. Used for [shallow routing](https://kit.svelte.dev/docs/shallow-routing).\n *\n * @param {string | URL} url\n * @param {App.PageState} state\n * @returns {void}\n */\nexport function pushState(url, state) {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call pushState(...) on the server');\n\t}\n\n\tif (DEV) {\n\t\ttry {\n\t\t\t// use `devalue.stringify` as a convenient way to ensure we exclude values that can't be properly rehydrated, such as custom class instances\n\t\t\tdevalue.stringify(state);\n\t\t} catch (error) {\n\t\t\t// @ts-expect-error\n\t\t\tthrow new Error(`Could not serialize state${error.path}`);\n\t\t}\n\t}\n\n\tupdate_scroll_positions(current_history_index);\n\n\tconst opts = {\n\t\t[HISTORY_INDEX]: (current_history_index += 1),\n\t\t[NAVIGATION_INDEX]: current_navigation_index,\n\t\t[PAGE_URL_KEY]: page.url.href,\n\t\t[STATES_KEY]: state\n\t};\n\n\thistory.pushState(opts, '', resolve_url(url));\n\thas_navigated = true;\n\n\tpage = { ...page, state };\n\troot.$set({ page });\n\n\tclear_onward_history(current_history_index, current_navigation_index);\n}\n\n/**\n * Programmatically replace the current history entry with the given `$page.state`. To use the current URL, you can pass `''` as the first argument. Used for [shallow routing](https://kit.svelte.dev/docs/shallow-routing).\n *\n * @param {string | URL} url\n * @param {App.PageState} state\n * @returns {void}\n */\nexport function replaceState(url, state) {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call replaceState(...) on the server');\n\t}\n\n\tif (DEV) {\n\t\ttry {\n\t\t\t// use `devalue.stringify` as a convenient way to ensure we exclude values that can't be properly rehydrated, such as custom class instances\n\t\t\tdevalue.stringify(state);\n\t\t} catch (error) {\n\t\t\t// @ts-expect-error\n\t\t\tthrow new Error(`Could not serialize state${error.path}`);\n\t\t}\n\t}\n\n\tconst opts = {\n\t\t[HISTORY_INDEX]: current_history_index,\n\t\t[NAVIGATION_INDEX]: current_navigation_index,\n\t\t[PAGE_URL_KEY]: page.url.href,\n\t\t[STATES_KEY]: state\n\t};\n\n\thistory.replaceState(opts, '', resolve_url(url));\n\n\tpage = { ...page, state };\n\troot.$set({ page });\n}\n\n/**\n * This action updates the `form` property of the current page with the given data and updates `$page.status`.\n * In case of an error, it redirects to the nearest error page.\n * @template {Record | undefined} Success\n * @template {Record | undefined} Failure\n * @param {import('@sveltejs/kit').ActionResult} result\n * @returns {Promise}\n */\nexport async function applyAction(result) {\n\tif (!BROWSER) {\n\t\tthrow new Error('Cannot call applyAction(...) on the server');\n\t}\n\n\tif (result.type === 'error') {\n\t\tconst url = new URL(location.href);\n\n\t\tconst { branch, route } = current;\n\t\tif (!route) return;\n\n\t\tconst error_load = await load_nearest_error_page(current.branch.length, branch, route.errors);\n\t\tif (error_load) {\n\t\t\tconst navigation_result = await get_navigation_result_from_branch({\n\t\t\t\turl,\n\t\t\t\tparams: current.params,\n\t\t\t\tbranch: branch.slice(0, error_load.idx).concat(error_load.node),\n\t\t\t\tstatus: result.status ?? 500,\n\t\t\t\terror: result.error,\n\t\t\t\troute\n\t\t\t});\n\n\t\t\tcurrent = navigation_result.state;\n\n\t\t\troot.$set(navigation_result.props);\n\n\t\t\ttick().then(reset_focus);\n\t\t}\n\t} else if (result.type === 'redirect') {\n\t\t_goto(result.location, { invalidateAll: true }, 0);\n\t} else {\n\t\t/** @type {Record} */\n\t\troot.$set({\n\t\t\t// this brings Svelte's view of the world in line with SvelteKit's\n\t\t\t// after use:enhance reset the form....\n\t\t\tform: null,\n\t\t\tpage: { ...page, form: result.data, status: result.status }\n\t\t});\n\n\t\t// ...so that setting the `form` prop takes effect and isn't ignored\n\t\tawait tick();\n\t\troot.$set({ form: result.data });\n\n\t\tif (result.type === 'success') {\n\t\t\treset_focus();\n\t\t}\n\t}\n}\n\nfunction _start_router() {\n\thistory.scrollRestoration = 'manual';\n\n\t// Adopted from Nuxt.js\n\t// Reset scrollRestoration to auto when leaving page, allowing page reload\n\t// and back-navigation from other pages to use the browser to restore the\n\t// scrolling position.\n\taddEventListener('beforeunload', (e) => {\n\t\tlet should_block = false;\n\n\t\tpersist_state();\n\n\t\tif (!navigating) {\n\t\t\tconst nav = create_navigation(current, undefined, null, 'leave');\n\n\t\t\t// If we're navigating, beforeNavigate was already called. If we end up in here during navigation,\n\t\t\t// it's due to an external or full-page-reload link, for which we don't want to call the hook again.\n\t\t\t/** @type {import('@sveltejs/kit').BeforeNavigate} */\n\t\t\tconst navigation = {\n\t\t\t\t...nav.navigation,\n\t\t\t\tcancel: () => {\n\t\t\t\t\tshould_block = true;\n\t\t\t\t\tnav.reject(new Error('navigation cancelled'));\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tbefore_navigate_callbacks.forEach((fn) => fn(navigation));\n\t\t}\n\n\t\tif (should_block) {\n\t\t\te.preventDefault();\n\t\t\te.returnValue = '';\n\t\t} else {\n\t\t\thistory.scrollRestoration = 'auto';\n\t\t}\n\t});\n\n\taddEventListener('visibilitychange', () => {\n\t\tif (document.visibilityState === 'hidden') {\n\t\t\tpersist_state();\n\t\t}\n\t});\n\n\t// @ts-expect-error this isn't supported everywhere yet\n\tif (!navigator.connection?.saveData) {\n\t\tsetup_preload();\n\t}\n\n\t/** @param {MouseEvent} event */\n\tcontainer.addEventListener('click', async (event) => {\n\t\t// Adapted from https://github.com/visionmedia/page.js\n\t\t// MIT license https://github.com/visionmedia/page.js#license\n\t\tif (event.button || event.which !== 1) return;\n\t\tif (event.metaKey || event.ctrlKey || event.shiftKey || event.altKey) return;\n\t\tif (event.defaultPrevented) return;\n\n\t\tconst a = find_anchor(/** @type {Element} */ (event.composedPath()[0]), container);\n\t\tif (!a) return;\n\n\t\tconst { url, external, target, download } = get_link_info(a, base);\n\t\tif (!url) return;\n\n\t\t// bail out before `beforeNavigate` if link opens in a different tab\n\t\tif (target === '_parent' || target === '_top') {\n\t\t\tif (window.parent !== window) return;\n\t\t} else if (target && target !== '_self') {\n\t\t\treturn;\n\t\t}\n\n\t\tconst options = get_router_options(a);\n\t\tconst is_svg_a_element = a instanceof SVGAElement;\n\n\t\t// Ignore URL protocols that differ to the current one and are not http(s) (e.g. `mailto:`, `tel:`, `myapp:`, etc.)\n\t\t// This may be wrong when the protocol is x: and the link goes to y:.. which should be treated as an external\n\t\t// navigation, but it's not clear how to handle that case and it's not likely to come up in practice.\n\t\t// MEMO: Without this condition, firefox will open mailer twice.\n\t\t// See:\n\t\t// - https://github.com/sveltejs/kit/issues/4045\n\t\t// - https://github.com/sveltejs/kit/issues/5725\n\t\t// - https://github.com/sveltejs/kit/issues/6496\n\t\tif (\n\t\t\t!is_svg_a_element &&\n\t\t\turl.protocol !== location.protocol &&\n\t\t\t!(url.protocol === 'https:' || url.protocol === 'http:')\n\t\t)\n\t\t\treturn;\n\n\t\tif (download) return;\n\n\t\t// Ignore the following but fire beforeNavigate\n\t\tif (external || options.reload) {\n\t\t\tif (_before_navigate({ url, type: 'link' })) {\n\t\t\t\t// set `navigating` to `true` to prevent `beforeNavigate` callbacks\n\t\t\t\t// being called when the page unloads\n\t\t\t\tnavigating = true;\n\t\t\t} else {\n\t\t\t\tevent.preventDefault();\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\t// Check if new url only differs by hash and use the browser default behavior in that case\n\t\t// This will ensure the `hashchange` event is fired\n\t\t// Removing the hash does a full page navigation in the browser, so make sure a hash is present\n\t\tconst [nonhash, hash] = url.href.split('#');\n\t\tif (hash !== undefined && nonhash === strip_hash(location)) {\n\t\t\t// If we are trying to navigate to the same hash, we should only\n\t\t\t// attempt to scroll to that element and avoid any history changes.\n\t\t\t// Otherwise, this can cause Firefox to incorrectly assign a null\n\t\t\t// history state value without any signal that we can detect.\n\t\t\tconst [, current_hash] = current.url.href.split('#');\n\t\t\tif (current_hash === hash) {\n\t\t\t\tevent.preventDefault();\n\n\t\t\t\t// We're already on /# and click on a link that goes to /#, or we're on\n\t\t\t\t// /#top and click on a link that goes to /#top. In those cases just go to\n\t\t\t\t// the top of the page, and avoid a history change.\n\t\t\t\tif (hash === '' || (hash === 'top' && a.ownerDocument.getElementById('top') === null)) {\n\t\t\t\t\twindow.scrollTo({ top: 0 });\n\t\t\t\t} else {\n\t\t\t\t\ta.ownerDocument.getElementById(hash)?.scrollIntoView();\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// set this flag to distinguish between navigations triggered by\n\t\t\t// clicking a hash link and those triggered by popstate\n\t\t\thash_navigating = true;\n\n\t\t\tupdate_scroll_positions(current_history_index);\n\n\t\t\tupdate_url(url);\n\n\t\t\tif (!options.replace_state) return;\n\n\t\t\t// hashchange event shouldn't occur if the router is replacing state.\n\t\t\thash_navigating = false;\n\t\t}\n\n\t\tevent.preventDefault();\n\n\t\t// allow the browser to repaint before navigating —\n\t\t// this prevents INP scores being penalised\n\t\tawait new Promise((fulfil) => {\n\t\t\trequestAnimationFrame(() => {\n\t\t\t\tsetTimeout(fulfil, 0);\n\t\t\t});\n\n\t\t\tsetTimeout(fulfil, 100); // fallback for edge case where rAF doesn't fire because e.g. tab was backgrounded\n\t\t});\n\n\t\tnavigate({\n\t\t\ttype: 'link',\n\t\t\turl,\n\t\t\tkeepfocus: options.keepfocus,\n\t\t\tnoscroll: options.noscroll,\n\t\t\treplace_state: options.replace_state ?? url.href === location.href\n\t\t});\n\t});\n\n\tcontainer.addEventListener('submit', (event) => {\n\t\tif (event.defaultPrevented) return;\n\n\t\tconst form = /** @type {HTMLFormElement} */ (\n\t\t\tHTMLFormElement.prototype.cloneNode.call(event.target)\n\t\t);\n\n\t\tconst submitter = /** @type {HTMLButtonElement | HTMLInputElement | null} */ (event.submitter);\n\n\t\tconst method = submitter?.formMethod || form.method;\n\n\t\tif (method !== 'get') return;\n\n\t\tconst url = new URL(\n\t\t\t(submitter?.hasAttribute('formaction') && submitter?.formAction) || form.action\n\t\t);\n\n\t\tif (is_external_url(url, base)) return;\n\n\t\tconst event_form = /** @type {HTMLFormElement} */ (event.target);\n\n\t\tconst options = get_router_options(event_form);\n\t\tif (options.reload) return;\n\n\t\tevent.preventDefault();\n\t\tevent.stopPropagation();\n\n\t\tconst data = new FormData(event_form);\n\n\t\tconst submitter_name = submitter?.getAttribute('name');\n\t\tif (submitter_name) {\n\t\t\tdata.append(submitter_name, submitter?.getAttribute('value') ?? '');\n\t\t}\n\n\t\t// @ts-expect-error `URLSearchParams(fd)` is kosher, but typescript doesn't know that\n\t\turl.search = new URLSearchParams(data).toString();\n\n\t\tnavigate({\n\t\t\ttype: 'form',\n\t\t\turl,\n\t\t\tkeepfocus: options.keepfocus,\n\t\t\tnoscroll: options.noscroll,\n\t\t\treplace_state: options.replace_state ?? url.href === location.href\n\t\t});\n\t});\n\n\taddEventListener('popstate', async (event) => {\n\t\tif (event.state?.[HISTORY_INDEX]) {\n\t\t\tconst history_index = event.state[HISTORY_INDEX];\n\t\t\ttoken = {};\n\n\t\t\t// if a popstate-driven navigation is cancelled, we need to counteract it\n\t\t\t// with history.go, which means we end up back here, hence this check\n\t\t\tif (history_index === current_history_index) return;\n\n\t\t\tconst scroll = scroll_positions[history_index];\n\t\t\tconst state = event.state[STATES_KEY] ?? {};\n\t\t\tconst url = new URL(event.state[PAGE_URL_KEY] ?? location.href);\n\t\t\tconst navigation_index = event.state[NAVIGATION_INDEX];\n\t\t\tconst is_hash_change = strip_hash(location) === strip_hash(current.url);\n\t\t\tconst shallow =\n\t\t\t\tnavigation_index === current_navigation_index && (has_navigated || is_hash_change);\n\n\t\t\tif (shallow) {\n\t\t\t\t// We don't need to navigate, we just need to update scroll and/or state.\n\t\t\t\t// This happens with hash links and `pushState`/`replaceState`. The\n\t\t\t\t// exception is if we haven't navigated yet, since we could have\n\t\t\t\t// got here after a modal navigation then a reload\n\t\t\t\tupdate_url(url);\n\n\t\t\t\tscroll_positions[current_history_index] = scroll_state();\n\t\t\t\tif (scroll) scrollTo(scroll.x, scroll.y);\n\n\t\t\t\tif (state !== page.state) {\n\t\t\t\t\tpage = { ...page, state };\n\t\t\t\t\troot.$set({ page });\n\t\t\t\t}\n\n\t\t\t\tcurrent_history_index = history_index;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst delta = history_index - current_history_index;\n\n\t\t\tawait navigate({\n\t\t\t\ttype: 'popstate',\n\t\t\t\turl,\n\t\t\t\tpopped: {\n\t\t\t\t\tstate,\n\t\t\t\t\tscroll,\n\t\t\t\t\tdelta\n\t\t\t\t},\n\t\t\t\taccept: () => {\n\t\t\t\t\tcurrent_history_index = history_index;\n\t\t\t\t\tcurrent_navigation_index = navigation_index;\n\t\t\t\t},\n\t\t\t\tblock: () => {\n\t\t\t\t\thistory.go(-delta);\n\t\t\t\t},\n\t\t\t\tnav_token: token\n\t\t\t});\n\t\t} else {\n\t\t\t// since popstate event is also emitted when an anchor referencing the same\n\t\t\t// document is clicked, we have to check that the router isn't already handling\n\t\t\t// the navigation. otherwise we would be updating the page store twice.\n\t\t\tif (!hash_navigating) {\n\t\t\t\tconst url = new URL(location.href);\n\t\t\t\tupdate_url(url);\n\t\t\t}\n\t\t}\n\t});\n\n\taddEventListener('hashchange', () => {\n\t\t// if the hashchange happened as a result of clicking on a link,\n\t\t// we need to update history, otherwise we have to leave it alone\n\t\tif (hash_navigating) {\n\t\t\thash_navigating = false;\n\t\t\thistory.replaceState(\n\t\t\t\t{\n\t\t\t\t\t...history.state,\n\t\t\t\t\t[HISTORY_INDEX]: ++current_history_index,\n\t\t\t\t\t[NAVIGATION_INDEX]: current_navigation_index\n\t\t\t\t},\n\t\t\t\t'',\n\t\t\t\tlocation.href\n\t\t\t);\n\t\t}\n\t});\n\n\t// fix link[rel=icon], because browsers will occasionally try to load relative\n\t// URLs after a pushState/replaceState, resulting in a 404 — see\n\t// https://github.com/sveltejs/kit/issues/3748#issuecomment-1125980897\n\tfor (const link of document.querySelectorAll('link')) {\n\t\tif (link.rel === 'icon') link.href = link.href; // eslint-disable-line\n\t}\n\n\taddEventListener('pageshow', (event) => {\n\t\t// If the user navigates to another site and then uses the back button and\n\t\t// bfcache hits, we need to set navigating to null, the site doesn't know\n\t\t// the navigation away from it was successful.\n\t\t// Info about bfcache here: https://web.dev/bfcache\n\t\tif (event.persisted) {\n\t\t\tstores.navigating.set(null);\n\t\t}\n\t});\n\n\t/**\n\t * @param {URL} url\n\t */\n\tfunction update_url(url) {\n\t\tcurrent.url = url;\n\t\tstores.page.set({ ...page, url });\n\t\tstores.page.notify();\n\t}\n}\n\n/**\n * @param {HTMLElement} target\n * @param {{\n * status: number;\n * error: App.Error | null;\n * node_ids: number[];\n * params: Record;\n * route: { id: string | null };\n * data: Array;\n * form: Record | null;\n * }} opts\n */\nasync function _hydrate(\n\ttarget,\n\t{ status = 200, error, node_ids, params, route, data: server_data_nodes, form }\n) {\n\thydrated = true;\n\n\tconst url = new URL(location.href);\n\n\tif (!__SVELTEKIT_EMBEDDED__) {\n\t\t// See https://github.com/sveltejs/kit/pull/4935#issuecomment-1328093358 for one motivation\n\t\t// of determining the params on the client side.\n\t\t({ params = {}, route = { id: null } } = get_navigation_intent(url, false) || {});\n\t}\n\n\t/** @type {import('./types.js').NavigationFinished | undefined} */\n\tlet result;\n\n\ttry {\n\t\tconst branch_promises = node_ids.map(async (n, i) => {\n\t\t\tconst server_data_node = server_data_nodes[i];\n\t\t\t// Type isn't completely accurate, we still need to deserialize uses\n\t\t\tif (server_data_node?.uses) {\n\t\t\t\tserver_data_node.uses = deserialize_uses(server_data_node.uses);\n\t\t\t}\n\n\t\t\treturn load_node({\n\t\t\t\tloader: app.nodes[n],\n\t\t\t\turl,\n\t\t\t\tparams,\n\t\t\t\troute,\n\t\t\t\tparent: async () => {\n\t\t\t\t\tconst data = {};\n\t\t\t\t\tfor (let j = 0; j < i; j += 1) {\n\t\t\t\t\t\tObject.assign(data, (await branch_promises[j]).data);\n\t\t\t\t\t}\n\t\t\t\t\treturn data;\n\t\t\t\t},\n\t\t\t\tserver_data_node: create_data_node(server_data_node)\n\t\t\t});\n\t\t});\n\n\t\t/** @type {Array} */\n\t\tconst branch = await Promise.all(branch_promises);\n\n\t\tconst parsed_route = routes.find(({ id }) => id === route.id);\n\n\t\t// server-side will have compacted the branch, reinstate empty slots\n\t\t// so that error boundaries can be lined up correctly\n\t\tif (parsed_route) {\n\t\t\tconst layouts = parsed_route.layouts;\n\t\t\tfor (let i = 0; i < layouts.length; i++) {\n\t\t\t\tif (!layouts[i]) {\n\t\t\t\t\tbranch.splice(i, 0, undefined);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tresult = await get_navigation_result_from_branch({\n\t\t\turl,\n\t\t\tparams,\n\t\t\tbranch,\n\t\t\tstatus,\n\t\t\terror,\n\t\t\tform,\n\t\t\troute: parsed_route ?? null\n\t\t});\n\t} catch (error) {\n\t\tif (error instanceof Redirect) {\n\t\t\t// this is a real edge case — `load` would need to return\n\t\t\t// a redirect but only in the browser\n\t\t\tawait native_navigation(new URL(error.location, location.href));\n\t\t\treturn;\n\t\t}\n\n\t\tresult = await load_root_error_page({\n\t\t\tstatus: get_status(error),\n\t\t\terror: await handle_error(error, { url, params, route }),\n\t\t\turl,\n\t\t\troute\n\t\t});\n\t}\n\n\tif (result.props.page) {\n\t\tresult.props.page.state = {};\n\t}\n\n\tinitialize(result, target, true);\n}\n\n/**\n * @param {URL} url\n * @param {boolean[]} invalid\n * @returns {Promise}\n */\nasync function load_data(url, invalid) {\n\tconst data_url = new URL(url);\n\tdata_url.pathname = add_data_suffix(url.pathname);\n\tif (url.pathname.endsWith('/')) {\n\t\tdata_url.searchParams.append(TRAILING_SLASH_PARAM, '1');\n\t}\n\tif (DEV && url.searchParams.has(INVALIDATED_PARAM)) {\n\t\tthrow new Error(`Cannot used reserved query parameter \"${INVALIDATED_PARAM}\"`);\n\t}\n\tdata_url.searchParams.append(INVALIDATED_PARAM, invalid.map((i) => (i ? '1' : '0')).join(''));\n\n\tconst res = await native_fetch(data_url.href);\n\n\tif (!res.ok) {\n\t\t// error message is a JSON-stringified string which devalue can't handle at the top level\n\t\t// turn it into a HttpError to not call handleError on the client again (was already handled on the server)\n\t\t// if `__data.json` doesn't exist or the server has an internal error,\n\t\t// avoid parsing the HTML error page as a JSON\n\t\t/** @type {string | undefined} */\n\t\tlet message;\n\t\tif (res.headers.get('content-type')?.includes('application/json')) {\n\t\t\tmessage = await res.json();\n\t\t} else if (res.status === 404) {\n\t\t\tmessage = 'Not Found';\n\t\t} else if (res.status === 500) {\n\t\t\tmessage = 'Internal Error';\n\t\t}\n\t\tthrow new HttpError(res.status, message);\n\t}\n\n\t// TODO: fix eslint error / figure out if it actually applies to our situation\n\t// eslint-disable-next-line\n\treturn new Promise(async (resolve) => {\n\t\t/**\n\t\t * Map of deferred promises that will be resolved by a subsequent chunk of data\n\t\t * @type {Map}\n\t\t */\n\t\tconst deferreds = new Map();\n\t\tconst reader = /** @type {ReadableStream} */ (res.body).getReader();\n\t\tconst decoder = new TextDecoder();\n\n\t\t/**\n\t\t * @param {any} data\n\t\t */\n\t\tfunction deserialize(data) {\n\t\t\treturn devalue.unflatten(data, {\n\t\t\t\tPromise: (id) => {\n\t\t\t\t\treturn new Promise((fulfil, reject) => {\n\t\t\t\t\t\tdeferreds.set(id, { fulfil, reject });\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\tlet text = '';\n\n\t\twhile (true) {\n\t\t\t// Format follows ndjson (each line is a JSON object) or regular JSON spec\n\t\t\tconst { done, value } = await reader.read();\n\t\t\tif (done && !text) break;\n\n\t\t\ttext += !value && text ? '\\n' : decoder.decode(value, { stream: true }); // no value -> final chunk -> add a new line to trigger the last parse\n\n\t\t\twhile (true) {\n\t\t\t\tconst split = text.indexOf('\\n');\n\t\t\t\tif (split === -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tconst node = JSON.parse(text.slice(0, split));\n\t\t\t\ttext = text.slice(split + 1);\n\n\t\t\t\tif (node.type === 'redirect') {\n\t\t\t\t\treturn resolve(node);\n\t\t\t\t}\n\n\t\t\t\tif (node.type === 'data') {\n\t\t\t\t\t// This is the first (and possibly only, if no pending promises) chunk\n\t\t\t\t\tnode.nodes?.forEach((/** @type {any} */ node) => {\n\t\t\t\t\t\tif (node?.type === 'data') {\n\t\t\t\t\t\t\tnode.uses = deserialize_uses(node.uses);\n\t\t\t\t\t\t\tnode.data = deserialize(node.data);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\tresolve(node);\n\t\t\t\t} else if (node.type === 'chunk') {\n\t\t\t\t\t// This is a subsequent chunk containing deferred data\n\t\t\t\t\tconst { id, data, error } = node;\n\t\t\t\t\tconst deferred = /** @type {import('types').Deferred} */ (deferreds.get(id));\n\t\t\t\t\tdeferreds.delete(id);\n\n\t\t\t\t\tif (error) {\n\t\t\t\t\t\tdeferred.reject(deserialize(error));\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdeferred.fulfil(deserialize(data));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t});\n\n\t// TODO edge case handling necessary? stream() read fails?\n}\n\n/**\n * @param {any} uses\n * @return {import('types').Uses}\n */\nfunction deserialize_uses(uses) {\n\treturn {\n\t\tdependencies: new Set(uses?.dependencies ?? []),\n\t\tparams: new Set(uses?.params ?? []),\n\t\tparent: !!uses?.parent,\n\t\troute: !!uses?.route,\n\t\turl: !!uses?.url,\n\t\tsearch_params: new Set(uses?.search_params ?? [])\n\t};\n}\n\nfunction reset_focus() {\n\tconst autofocus = document.querySelector('[autofocus]');\n\tif (autofocus) {\n\t\t// @ts-ignore\n\t\tautofocus.focus();\n\t} else {\n\t\t// Reset page selection and focus\n\t\t// We try to mimic browsers' behaviour as closely as possible by targeting the\n\t\t// first scrollable region, but unfortunately it's not a perfect match — e.g.\n\t\t// shift-tabbing won't immediately cycle up from the end of the page on Chromium\n\t\t// See https://html.spec.whatwg.org/multipage/interaction.html#get-the-focusable-area\n\t\tconst root = document.body;\n\t\tconst tabindex = root.getAttribute('tabindex');\n\n\t\troot.tabIndex = -1;\n\t\t// @ts-expect-error\n\t\troot.focus({ preventScroll: true, focusVisible: false });\n\n\t\t// restore `tabindex` as to prevent `root` from stealing input from elements\n\t\tif (tabindex !== null) {\n\t\t\troot.setAttribute('tabindex', tabindex);\n\t\t} else {\n\t\t\troot.removeAttribute('tabindex');\n\t\t}\n\n\t\t// capture current selection, so we can compare the state after\n\t\t// snapshot restoration and afterNavigate callbacks have run\n\t\tconst selection = getSelection();\n\n\t\tif (selection && selection.type !== 'None') {\n\t\t\t/** @type {Range[]} */\n\t\t\tconst ranges = [];\n\n\t\t\tfor (let i = 0; i < selection.rangeCount; i += 1) {\n\t\t\t\tranges.push(selection.getRangeAt(i));\n\t\t\t}\n\n\t\t\tsetTimeout(() => {\n\t\t\t\tif (selection.rangeCount !== ranges.length) return;\n\n\t\t\t\tfor (let i = 0; i < selection.rangeCount; i += 1) {\n\t\t\t\t\tconst a = ranges[i];\n\t\t\t\t\tconst b = selection.getRangeAt(i);\n\n\t\t\t\t\t// we need to do a deep comparison rather than just `a !== b` because\n\t\t\t\t\t// Safari behaves differently to other browsers\n\t\t\t\t\tif (\n\t\t\t\t\t\ta.commonAncestorContainer !== b.commonAncestorContainer ||\n\t\t\t\t\t\ta.startContainer !== b.startContainer ||\n\t\t\t\t\t\ta.endContainer !== b.endContainer ||\n\t\t\t\t\t\ta.startOffset !== b.startOffset ||\n\t\t\t\t\t\ta.endOffset !== b.endOffset\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// if the selection hasn't changed (as a result of an element being (auto)focused,\n\t\t\t\t// or a programmatic selection, we reset everything as part of the navigation)\n\t\t\t\t// fixes https://github.com/sveltejs/kit/issues/8439\n\t\t\t\tselection.removeAllRanges();\n\t\t\t});\n\t\t}\n\t}\n}\n\n/**\n * @param {import('./types.js').NavigationState} current\n * @param {import('./types.js').NavigationIntent | undefined} intent\n * @param {URL | null} url\n * @param {Exclude} type\n */\nfunction create_navigation(current, intent, url, type) {\n\t/** @type {(value: any) => void} */\n\tlet fulfil;\n\n\t/** @type {(error: any) => void} */\n\tlet reject;\n\n\tconst complete = new Promise((f, r) => {\n\t\tfulfil = f;\n\t\treject = r;\n\t});\n\n\t// Handle any errors off-chain so that it doesn't show up as an unhandled rejection\n\tcomplete.catch(() => {});\n\n\t/** @type {import('@sveltejs/kit').Navigation} */\n\tconst navigation = {\n\t\tfrom: {\n\t\t\tparams: current.params,\n\t\t\troute: { id: current.route?.id ?? null },\n\t\t\turl: current.url\n\t\t},\n\t\tto: url && {\n\t\t\tparams: intent?.params ?? null,\n\t\t\troute: { id: intent?.route?.id ?? null },\n\t\t\turl\n\t\t},\n\t\twillUnload: !intent,\n\t\ttype,\n\t\tcomplete\n\t};\n\n\treturn {\n\t\tnavigation,\n\t\t// @ts-expect-error\n\t\tfulfil,\n\t\t// @ts-expect-error\n\t\treject\n\t};\n}\n\nif (DEV) {\n\t// Nasty hack to silence harmless warnings the user can do nothing about\n\tconst console_warn = console.warn;\n\tconsole.warn = function warn(...args) {\n\t\tif (\n\t\t\targs.length === 1 &&\n\t\t\t/<(Layout|Page|Error)(_[\\w$]+)?> was created (with unknown|without expected) prop '(data|form)'/.test(\n\t\t\t\targs[0]\n\t\t\t)\n\t\t) {\n\t\t\treturn;\n\t\t}\n\t\tconsole_warn(...args);\n\t};\n\n\tif (import.meta.hot) {\n\t\timport.meta.hot.on('vite:beforeUpdate', () => {\n\t\t\tif (errored) {\n\t\t\t\tlocation.reload();\n\t\t\t}\n\t\t});\n\t}\n}\n"],"names":["normalize_path","path","trailing_slash","decode_pathname","pathname","decode_params","params","key","strip_hash","href","tracked_url_properties","make_trackable","url","callback","search_params_callback","tracked","obj","param","value","property","DATA_SUFFIX","HTML_DATA_SUFFIX","add_data_suffix","hash","values","i","buffer","b64_decode","text","d","u8","native_fetch","input","init","cache","build_selector","initial_fetch","resource","opts","selector","script","body","ttl","subsequent_fetch","resolved","cached","param_pattern","parse_route_id","id","get_route_segments","segment","rest_match","optional_match","parts","content","escape","code","match","is_optional","is_rest","name","matcher","affects_path","route","exec","matchers","result","values_needing_match","buffered","s","next_param","next_value","str","parse","nodes","server_loads","dictionary","layouts_with_server_load","leaf","layouts","errors","pattern","n","create_layout_loader","create_leaf_loader","uses_server_data","get","set","stringify","data","subscriber_queue","writable","start","noop","stop","subscribers","new_value","safe_not_equal","run_queue","subscriber","update","fn","subscribe","run","invalidate","SNAPSHOT_KEY","SCROLL_KEY","STATES_KEY","PAGE_URL_KEY","HISTORY_INDEX","NAVIGATION_INDEX","PRELOAD_PRIORITIES","origin","resolve_url","baseURI","baseTags","scroll_state","link_option","element","levels","parent_element","parent","find_anchor","target","get_link_info","a","base","external","is_external_url","download","get_router_options","keepfocus","noscroll","preload_code","preload_data","reload","replace_state","el","get_option_state","notifiable_store","store","ready","notify","val","old_value","create_updated_store","timeout","check","res","assets","updated","version","UNDEFINED","HOLE","NAN","POSITIVE_INFINITY","NEGATIVE_INFINITY","NEGATIVE_ZERO","unflatten","parsed","revivers","hydrate","hydrated","index","standalone","type","reviver","map","array","object","valid_layout_exports","valid_layout_server_exports","compact","arr","HttpError","status","Redirect","location","SvelteKitError","message","INVALIDATED_PARAM","TRAILING_SLASH_PARAM","get_status","error","get_message","scroll_positions","storage.get","snapshots","stores","update_scroll_positions","clear_onward_history","current_history_index","current_navigation_index","native_navigation","routes","default_layout_loader","default_error_loader","container","app","invalidated","components","load_cache","before_navigate_callbacks","on_navigate_callbacks","after_navigate_callbacks","current","started","autoscroll","navigating","hash_navigating","has_navigated","force_invalidation","root","page","token","preload_tokens","_app","_target","_a","_b","scroll","_hydrate","goto","_start_router","reset_invalidation","capture_snapshot","c","restore_snapshot","persist_state","storage.set","_goto","options","redirect_count","nav_token","navigate","_preload_data","intent","preload","load_route","_preload_code","get_url_path","load","initialize","style","navigation","get_navigation_result_from_branch","branch","form","slash","node","branch_node","data_changed","p","prev","load_node","loader","server_data_node","is_tracking","uses","depends","deps","dep","load_input","requested","_c","has_changed","parent_changed","route_changed","url_changed","search_params_changed","tracked_params","create_data_node","previous","diff_search_params","old_url","new_url","changed","old_values","new_values","preload_error","invalidating","loaders","server_data","parent_invalid","invalid_server_nodes","invalid","load_data","handled_error","handle_error","load_root_error_page","server_data_nodes","branch_promises","j","err","error_load","load_nearest_error_page","server_fallback","root_layout","root_error","get_navigation_intent","rerouted","_before_navigate","delta","should_block","nav","create_navigation","cancellable","popped","state","accept","block","previous_history_index","previous_navigation_index","navigation_result","change","entry","after_navigate","cleanup","activeElement","tick","deep_linked","changed_focus","reset_focus","setup_preload","mousemove_timeout","event","tap","observer","entries","priority","nonhash","current_hash","update_url","fulfil","submitter","event_form","submitter_name","history_index","navigation_index","is_hash_change","link","node_ids","deserialize_uses","parsed_route","data_url","resolve","deferreds","reader","decoder","deserialize","devalue.unflatten","reject","done","split","deferred","autofocus","tabindex","selection","ranges","b","complete","f","r"],"mappings":"6DAQiB,IAAI,IAAI,uBAAuB,EAyBzC,SAASA,GAAeC,EAAMC,EAAgB,CACpD,OAAID,IAAS,KAAOC,IAAmB,SAAiBD,EAEpDC,IAAmB,QACfD,EAAK,SAAS,GAAG,EAAIA,EAAK,MAAM,EAAG,EAAE,EAAIA,EACtCC,IAAmB,UAAY,CAACD,EAAK,SAAS,GAAG,EACpDA,EAAO,IAGRA,CACR,CAMO,SAASE,GAAgBC,EAAU,CACzC,OAAOA,EAAS,MAAM,KAAK,EAAE,IAAI,SAAS,EAAE,KAAK,KAAK,CACvD,CAGO,SAASC,GAAcC,EAAQ,CACrC,UAAWC,KAAOD,EAGjBA,EAAOC,CAAG,EAAI,mBAAmBD,EAAOC,CAAG,CAAC,EAG7C,OAAOD,CACR,CAqBO,SAASE,GAAW,CAAE,KAAAC,GAAQ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AI,QAAQ,CAACC,EAAGC,IAAM,CAC7B7B,EAAA4B,EACAV,EAAAW,CAAA,CACT,EAGD,OAAAF,EAAS,MAAM,IAAM,CAAA,CAAE,EAmBhB,CACN,WAjBkB,CAClB,KAAM,CACL,OAAQ3J,EAAQ,OAChB,MAAO,CAAE,KAAIA,EAAAA,EAAQ,QAARA,YAAAA,EAAe,KAAM,IAAK,EACvC,IAAKA,EAAQ,GACd,EACA,GAAIjM,GAAO,CACV,QAAQgO,GAAA,YAAAA,EAAQ,SAAU,KAC1B,MAAO,CAAE,KAAIjB,EAAAiB,GAAA,YAAAA,EAAQ,QAAR,YAAAjB,EAAe,KAAM,IAAK,EACvC,IAAA/M,CACD,EACA,WAAY,CAACgO,EACb,KAAAvE,EACA,SAAAmM,CAAA,EAMA,OAAA3B,EAEA,OAAAkB,CAAA,CAEF","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]} \ No newline at end of file diff --git a/docs/build/_app/immutable/entry/app.D2Ik5anz.js b/docs/build/_app/immutable/entry/app.4ikYODxS.js similarity index 94% rename from docs/build/_app/immutable/entry/app.D2Ik5anz.js rename to docs/build/_app/immutable/entry/app.4ikYODxS.js index f53db92..71fe98f 100644 --- a/docs/build/_app/immutable/entry/app.D2Ik5anz.js +++ b/docs/build/_app/immutable/entry/app.4ikYODxS.js @@ -1,3 +1,3 @@ -const __vite__fileDeps=["../nodes/0.BOXooZH6.js","../chunks/scheduler.DiDVusXj.js","../chunks/index.C7jmqWWw.js","../nodes/1.MqhD8MiD.js","../chunks/entry.CfnwebpS.js","../nodes/2.itH8zw3k.js","../chunks/preload-helper.D6kgxu3v.js","../assets/2.kvJUxlZ_.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{_ as I}from"../chunks/preload-helper.D6kgxu3v.js";import{s as S,d as j,o as C,e as P,t as M}from"../chunks/scheduler.DiDVusXj.js";import{S as U,i as z,s as B,m as p,h as F,j as w,a as d,n as N,t as h,g,e as G,c as H,d as J,o as R,p as m,b as K,f as Q,l as W,q as D,r as k,u as v,v as V,w as E,x as y}from"../chunks/index.C7jmqWWw.js";const ie={};function X(o){let e,n,i;var s=o[1][0];function _(t,r){return{props:{data:t[3],form:t[2]}}}return s&&(e=k(s,_(o)),o[12](e)),{c(){e&&v(e.$$.fragment),n=p()},l(t){e&&V(e.$$.fragment,t),n=p()},m(t,r){e&&E(e,t,r),w(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){D();const a=e;d(a.$$.fragment,1,0,()=>{y(a,1)}),N()}s?(e=k(s,_(t)),t[12](e),v(e.$$.fragment),h(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const a={};r&8&&(a.data=t[3]),r&4&&(a.form=t[2]),e.$set(a)}},i(t){i||(e&&h(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&g(n),o[12](null),e&&y(e,t)}}}function Y(o){let e,n,i;var s=o[1][0];function _(t,r){return{props:{data:t[3],$$slots:{default:[Z]},$$scope:{ctx:t}}}}return s&&(e=k(s,_(o)),o[11](e)),{c(){e&&v(e.$$.fragment),n=p()},l(t){e&&V(e.$$.fragment,t),n=p()},m(t,r){e&&E(e,t,r),w(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){D();const a=e;d(a.$$.fragment,1,0,()=>{y(a,1)}),N()}s?(e=k(s,_(t)),t[11](e),v(e.$$.fragment),h(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const a={};r&8&&(a.data=t[3]),r&8215&&(a.$$scope={dirty:r,ctx:t}),e.$set(a)}},i(t){i||(e&&h(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&g(n),o[11](null),e&&y(e,t)}}}function Z(o){let e,n,i;var s=o[1][1];function _(t,r){return{props:{data:t[4],form:t[2]}}}return s&&(e=k(s,_(o)),o[10](e)),{c(){e&&v(e.$$.fragment),n=p()},l(t){e&&V(e.$$.fragment,t),n=p()},m(t,r){e&&E(e,t,r),w(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][1])){if(e){D();const a=e;d(a.$$.fragment,1,0,()=>{y(a,1)}),N()}s?(e=k(s,_(t)),t[10](e),v(e.$$.fragment),h(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const a={};r&16&&(a.data=t[4]),r&4&&(a.form=t[2]),e.$set(a)}},i(t){i||(e&&h(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&g(n),o[10](null),e&&y(e,t)}}}function A(o){let e,n=o[6]&&L(o);return{c(){e=G("div"),n&&n.c(),this.h()},l(i){e=H(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=J(e);n&&n.l(s),s.forEach(g),this.h()},h(){R(e,"id","svelte-announcer"),R(e,"aria-live","assertive"),R(e,"aria-atomic","true"),m(e,"position","absolute"),m(e,"left","0"),m(e,"top","0"),m(e,"clip","rect(0 0 0 0)"),m(e,"clip-path","inset(50%)"),m(e,"overflow","hidden"),m(e,"white-space","nowrap"),m(e,"width","1px"),m(e,"height","1px")},m(i,s){w(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=L(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&g(e),n&&n.d()}}}function L(o){let e;return{c(){e=K(o[7])},l(n){e=Q(n,o[7])},m(n,i){w(n,e,i)},p(n,i){i&128&&W(e,n[7])},d(n){n&&g(e)}}}function $(o){let e,n,i,s,_;const t=[Y,X],r=[];function a(f,u){return f[1][1]?0:1}e=a(o),n=r[e]=t[e](o);let c=o[5]&&A(o);return{c(){n.c(),i=B(),c&&c.c(),s=p()},l(f){n.l(f),i=F(f),c&&c.l(f),s=p()},m(f,u){r[e].m(f,u),w(f,i,u),c&&c.m(f,u),w(f,s,u),_=!0},p(f,[u]){let b=e;e=a(f),e===b?r[e].p(f,u):(D(),d(r[b],1,1,()=>{r[b]=null}),N(),n=r[e],n?n.p(f,u):(n=r[e]=t[e](f),n.c()),h(n,1),n.m(i.parentNode,i)),f[5]?c?c.p(f,u):(c=A(f),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},i(f){_||(h(n),_=!0)},o(f){d(n),_=!1},d(f){f&&(g(i),g(s)),r[e].d(f),c&&c.d(f)}}}function x(o,e,n){let{stores:i}=e,{page:s}=e,{constructors:_}=e,{components:t=[]}=e,{form:r}=e,{data_0:a=null}=e,{data_1:c=null}=e;j(i.page.notify);let f=!1,u=!1,b=null;C(()=>{const l=i.page.subscribe(()=>{f&&(n(6,u=!0),M().then(()=>{n(7,b=document.title||"untitled page")}))});return n(5,f=!0),l});function O(l){P[l?"unshift":"push"](()=>{t[1]=l,n(0,t)})}function T(l){P[l?"unshift":"push"](()=>{t[0]=l,n(0,t)})}function q(l){P[l?"unshift":"push"](()=>{t[0]=l,n(0,t)})}return o.$$set=l=>{"stores"in l&&n(8,i=l.stores),"page"in l&&n(9,s=l.page),"constructors"in l&&n(1,_=l.constructors),"components"in l&&n(0,t=l.components),"form"in l&&n(2,r=l.form),"data_0"in l&&n(3,a=l.data_0),"data_1"in l&&n(4,c=l.data_1)},o.$$.update=()=>{o.$$.dirty&768&&i.page.set(s)},[t,_,r,a,c,f,u,b,i,s,O,T,q]}class se extends U{constructor(e){super(),z(this,e,x,$,S,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const re=[()=>I(()=>import("../nodes/0.BOXooZH6.js"),__vite__mapDeps([0,1,2]),import.meta.url),()=>I(()=>import("../nodes/1.MqhD8MiD.js"),__vite__mapDeps([3,1,2,4]),import.meta.url),()=>I(()=>import("../nodes/2.itH8zw3k.js"),__vite__mapDeps([5,1,2,6,7]),import.meta.url)],oe=[],ae={"/":[2]},fe={handleError:({error:o})=>{console.error(o)},reroute:()=>{}};export{ae as dictionary,fe as hooks,ie as matchers,re as nodes,se as root,oe as server_loads}; -//# sourceMappingURL=app.D2Ik5anz.js.map +const __vite__fileDeps=["../nodes/0.BOXooZH6.js","../chunks/scheduler.DiDVusXj.js","../chunks/index.C7jmqWWw.js","../nodes/1.BKZT0SWT.js","../chunks/entry.ltnidPkD.js","../nodes/2.lJgaJZ4e.js","../chunks/preload-helper.D6kgxu3v.js","../assets/2.kvJUxlZ_.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import{_ as I}from"../chunks/preload-helper.D6kgxu3v.js";import{s as S,d as j,o as C,e as P,t as M}from"../chunks/scheduler.DiDVusXj.js";import{S as U,i as z,s as B,m as p,h as F,j as w,a as d,n as N,t as h,g,e as G,c as H,d as J,o as R,p as m,b as K,f as Q,l as W,q as D,r as k,u as v,v as V,w as E,x as y}from"../chunks/index.C7jmqWWw.js";const ie={};function X(o){let e,n,i;var s=o[1][0];function _(t,r){return{props:{data:t[3],form:t[2]}}}return s&&(e=k(s,_(o)),o[12](e)),{c(){e&&v(e.$$.fragment),n=p()},l(t){e&&V(e.$$.fragment,t),n=p()},m(t,r){e&&E(e,t,r),w(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){D();const a=e;d(a.$$.fragment,1,0,()=>{y(a,1)}),N()}s?(e=k(s,_(t)),t[12](e),v(e.$$.fragment),h(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const a={};r&8&&(a.data=t[3]),r&4&&(a.form=t[2]),e.$set(a)}},i(t){i||(e&&h(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&g(n),o[12](null),e&&y(e,t)}}}function Y(o){let e,n,i;var s=o[1][0];function _(t,r){return{props:{data:t[3],$$slots:{default:[Z]},$$scope:{ctx:t}}}}return s&&(e=k(s,_(o)),o[11](e)),{c(){e&&v(e.$$.fragment),n=p()},l(t){e&&V(e.$$.fragment,t),n=p()},m(t,r){e&&E(e,t,r),w(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){D();const a=e;d(a.$$.fragment,1,0,()=>{y(a,1)}),N()}s?(e=k(s,_(t)),t[11](e),v(e.$$.fragment),h(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const a={};r&8&&(a.data=t[3]),r&8215&&(a.$$scope={dirty:r,ctx:t}),e.$set(a)}},i(t){i||(e&&h(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&g(n),o[11](null),e&&y(e,t)}}}function Z(o){let e,n,i;var s=o[1][1];function _(t,r){return{props:{data:t[4],form:t[2]}}}return s&&(e=k(s,_(o)),o[10](e)),{c(){e&&v(e.$$.fragment),n=p()},l(t){e&&V(e.$$.fragment,t),n=p()},m(t,r){e&&E(e,t,r),w(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][1])){if(e){D();const a=e;d(a.$$.fragment,1,0,()=>{y(a,1)}),N()}s?(e=k(s,_(t)),t[10](e),v(e.$$.fragment),h(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const a={};r&16&&(a.data=t[4]),r&4&&(a.form=t[2]),e.$set(a)}},i(t){i||(e&&h(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&g(n),o[10](null),e&&y(e,t)}}}function A(o){let e,n=o[6]&&L(o);return{c(){e=G("div"),n&&n.c(),this.h()},l(i){e=H(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=J(e);n&&n.l(s),s.forEach(g),this.h()},h(){R(e,"id","svelte-announcer"),R(e,"aria-live","assertive"),R(e,"aria-atomic","true"),m(e,"position","absolute"),m(e,"left","0"),m(e,"top","0"),m(e,"clip","rect(0 0 0 0)"),m(e,"clip-path","inset(50%)"),m(e,"overflow","hidden"),m(e,"white-space","nowrap"),m(e,"width","1px"),m(e,"height","1px")},m(i,s){w(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=L(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&g(e),n&&n.d()}}}function L(o){let e;return{c(){e=K(o[7])},l(n){e=Q(n,o[7])},m(n,i){w(n,e,i)},p(n,i){i&128&&W(e,n[7])},d(n){n&&g(e)}}}function $(o){let e,n,i,s,_;const t=[Y,X],r=[];function a(f,u){return f[1][1]?0:1}e=a(o),n=r[e]=t[e](o);let c=o[5]&&A(o);return{c(){n.c(),i=B(),c&&c.c(),s=p()},l(f){n.l(f),i=F(f),c&&c.l(f),s=p()},m(f,u){r[e].m(f,u),w(f,i,u),c&&c.m(f,u),w(f,s,u),_=!0},p(f,[u]){let b=e;e=a(f),e===b?r[e].p(f,u):(D(),d(r[b],1,1,()=>{r[b]=null}),N(),n=r[e],n?n.p(f,u):(n=r[e]=t[e](f),n.c()),h(n,1),n.m(i.parentNode,i)),f[5]?c?c.p(f,u):(c=A(f),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},i(f){_||(h(n),_=!0)},o(f){d(n),_=!1},d(f){f&&(g(i),g(s)),r[e].d(f),c&&c.d(f)}}}function x(o,e,n){let{stores:i}=e,{page:s}=e,{constructors:_}=e,{components:t=[]}=e,{form:r}=e,{data_0:a=null}=e,{data_1:c=null}=e;j(i.page.notify);let f=!1,u=!1,b=null;C(()=>{const l=i.page.subscribe(()=>{f&&(n(6,u=!0),M().then(()=>{n(7,b=document.title||"untitled page")}))});return n(5,f=!0),l});function O(l){P[l?"unshift":"push"](()=>{t[1]=l,n(0,t)})}function T(l){P[l?"unshift":"push"](()=>{t[0]=l,n(0,t)})}function q(l){P[l?"unshift":"push"](()=>{t[0]=l,n(0,t)})}return o.$$set=l=>{"stores"in l&&n(8,i=l.stores),"page"in l&&n(9,s=l.page),"constructors"in l&&n(1,_=l.constructors),"components"in l&&n(0,t=l.components),"form"in l&&n(2,r=l.form),"data_0"in l&&n(3,a=l.data_0),"data_1"in l&&n(4,c=l.data_1)},o.$$.update=()=>{o.$$.dirty&768&&i.page.set(s)},[t,_,r,a,c,f,u,b,i,s,O,T,q]}class se extends U{constructor(e){super(),z(this,e,x,$,S,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const re=[()=>I(()=>import("../nodes/0.BOXooZH6.js"),__vite__mapDeps([0,1,2]),import.meta.url),()=>I(()=>import("../nodes/1.BKZT0SWT.js"),__vite__mapDeps([3,1,2,4]),import.meta.url),()=>I(()=>import("../nodes/2.lJgaJZ4e.js"),__vite__mapDeps([5,1,2,6,7]),import.meta.url)],oe=[],ae={"/":[2]},fe={handleError:({error:o})=>{console.error(o)},reroute:()=>{}};export{ae as dictionary,fe as hooks,ie as matchers,re as nodes,se as root,oe as server_loads}; +//# sourceMappingURL=app.4ikYODxS.js.map diff --git a/docs/build/_app/immutable/entry/app.D2Ik5anz.js.map b/docs/build/_app/immutable/entry/app.4ikYODxS.js.map similarity index 98% rename from docs/build/_app/immutable/entry/app.D2Ik5anz.js.map rename to docs/build/_app/immutable/entry/app.4ikYODxS.js.map index 1e911f3..7d1779f 100644 --- a/docs/build/_app/immutable/entry/app.D2Ik5anz.js.map +++ b/docs/build/_app/immutable/entry/app.4ikYODxS.js.map @@ -1 +1 @@ -{"version":3,"mappings":";qVAAY,MAACA,GAAW,2BC+CC,IAAAC,EAAAC,KAAa,CAAC,qCAAmCA,EAAM,2JAAvD,GAAAC,EAAA,GAAAF,OAAAC,KAAa,CAAC,yLAAmCA,EAAM,uKAJvD,IAAAD,EAAAC,KAAa,CAAC,qCAAmCA,EAAM,uLAAvD,GAAAC,EAAA,GAAAF,OAAAC,KAAa,CAAC,yLAAmCA,EAAM,wLACtD,IAAAD,EAAAC,KAAa,CAAC,qCAAmCA,EAAM,2JAAvD,GAAAC,EAAA,GAAAF,OAAAC,KAAa,CAAC,0LAAmCA,EAAM,qKAQ1EA,EAAS,IAAAE,EAAAF,CAAA,0cADfG,EAIKC,EAAAC,EAAAC,CAAA,yBAHCN,EAAS,wHACZA,EAAK,gBAALA,EAAK,wCAALA,EAAK,mFAXJ,OAAAA,KAAa,CAAC,kCAQdA,EAAO,IAAAO,EAAAP,CAAA,wRAAPA,EAAO,0KA3CA,OAAAQ,CAAM,EAAAC,GACN,KAAAC,CAAI,EAAAD,GAEJ,aAAAE,CAAY,EAAAF,GACZ,WAAAG,EAAU,IAAAH,GACV,KAAAI,CAAI,EAAAJ,EACJ,QAAAK,EAAS,IAAI,EAAAL,EACb,QAAAM,EAAS,IAAI,EAAAN,EAOxBO,EAAYR,EAAO,KAAK,MAAM,EAE1B,IAAAS,EAAU,GACVC,EAAY,GACZC,EAAQ,KAEZC,EAAO,KACA,MAAAC,EAAcb,EAAO,KAAK,UAAS,KACpCS,IACHK,EAAA,EAAAJ,EAAY,EAAI,EAChBK,EAAI,EAAG,KAAI,KACVD,EAAA,EAAAH,EAAQ,SAAS,OAAS,eAAe,OAK5C,OAAAG,EAAA,EAAAL,EAAU,EAAI,EACPI,6CAM6CT,EAAW,CAAC,EAAAY,oDADbZ,EAAW,CAAC,EAAAY,oDAIZZ,EAAW,CAAC,EAAAY,8RA3B7DhB,EAAO,KAAK,IAAIE,CAAI,iKClBZ,MAACe,GAAQ,CACpB,UAAM,OAAO,wBAAW,4CACxB,UAAM,OAAO,wBAAW,8CACxB,IAAMC,EAAA,WAAO,wBAAW,EAAC,6CAC1B,EAEaC,GAAe,CAAG,EAElBC,GAAa,CACxB,IAAK,CAAC,CAAC,CACN,EAEUC,GAAQ,CACpB,YAAc,CAAC,CAAE,MAAAC,CAAO,IAAK,CAAE,QAAQ,MAAMA,CAAK,GAElD,QAAU,IAAM,EACjB","names":["matchers","switch_value","ctx","dirty","create_if_block_1","insert_hydration","target","div","anchor","create_if_block","stores","$$props","page","constructors","components","form","data_0","data_1","afterUpdate","mounted","navigated","title","onMount","unsubscribe","$$invalidate","tick","$$value","nodes","__vitePreload","server_loads","dictionary","hooks","error"],"ignoreList":[],"sources":["../../../../../generated/client-optimized/matchers.js","../../../../../generated/root.svelte","../../../../../generated/client-optimized/app.js"],"sourcesContent":["export const matchers = {};","\n\n\n\n{#if constructors[1]}\n\t\n\t\t\n\t\n{:else}\n\t\n{/if}\n\n{#if mounted}\n\t
\n\t\t{#if navigated}\n\t\t\t{title}\n\t\t{/if}\n\t
\n{/if}","export { matchers } from './matchers.js';\n\nexport const nodes = [\n\t() => import('./nodes/0'),\n\t() => import('./nodes/1'),\n\t() => import('./nodes/2')\n];\n\nexport const server_loads = [];\n\nexport const dictionary = {\n\t\t\"/\": [2]\n\t};\n\nexport const hooks = {\n\thandleError: (({ error }) => { console.error(error) }),\n\n\treroute: (() => {})\n};\n\nexport { default as root } from '../root.svelte';"],"file":"_app/immutable/entry/app.D2Ik5anz.js"} \ No newline at end of file +{"version":3,"mappings":";qVAAY,MAACA,GAAW,2BC+CC,IAAAC,EAAAC,KAAa,CAAC,qCAAmCA,EAAM,2JAAvD,GAAAC,EAAA,GAAAF,OAAAC,KAAa,CAAC,yLAAmCA,EAAM,uKAJvD,IAAAD,EAAAC,KAAa,CAAC,qCAAmCA,EAAM,uLAAvD,GAAAC,EAAA,GAAAF,OAAAC,KAAa,CAAC,yLAAmCA,EAAM,wLACtD,IAAAD,EAAAC,KAAa,CAAC,qCAAmCA,EAAM,2JAAvD,GAAAC,EAAA,GAAAF,OAAAC,KAAa,CAAC,0LAAmCA,EAAM,qKAQ1EA,EAAS,IAAAE,EAAAF,CAAA,0cADfG,EAIKC,EAAAC,EAAAC,CAAA,yBAHCN,EAAS,wHACZA,EAAK,gBAALA,EAAK,wCAALA,EAAK,mFAXJ,OAAAA,KAAa,CAAC,kCAQdA,EAAO,IAAAO,EAAAP,CAAA,wRAAPA,EAAO,0KA3CA,OAAAQ,CAAM,EAAAC,GACN,KAAAC,CAAI,EAAAD,GAEJ,aAAAE,CAAY,EAAAF,GACZ,WAAAG,EAAU,IAAAH,GACV,KAAAI,CAAI,EAAAJ,EACJ,QAAAK,EAAS,IAAI,EAAAL,EACb,QAAAM,EAAS,IAAI,EAAAN,EAOxBO,EAAYR,EAAO,KAAK,MAAM,EAE1B,IAAAS,EAAU,GACVC,EAAY,GACZC,EAAQ,KAEZC,EAAO,KACA,MAAAC,EAAcb,EAAO,KAAK,UAAS,KACpCS,IACHK,EAAA,EAAAJ,EAAY,EAAI,EAChBK,EAAI,EAAG,KAAI,KACVD,EAAA,EAAAH,EAAQ,SAAS,OAAS,eAAe,OAK5C,OAAAG,EAAA,EAAAL,EAAU,EAAI,EACPI,6CAM6CT,EAAW,CAAC,EAAAY,oDADbZ,EAAW,CAAC,EAAAY,oDAIZZ,EAAW,CAAC,EAAAY,8RA3B7DhB,EAAO,KAAK,IAAIE,CAAI,iKClBZ,MAACe,GAAQ,CACpB,UAAM,OAAO,wBAAW,4CACxB,UAAM,OAAO,wBAAW,8CACxB,IAAMC,EAAA,WAAO,wBAAW,EAAC,6CAC1B,EAEaC,GAAe,CAAG,EAElBC,GAAa,CACxB,IAAK,CAAC,CAAC,CACN,EAEUC,GAAQ,CACpB,YAAc,CAAC,CAAE,MAAAC,CAAO,IAAK,CAAE,QAAQ,MAAMA,CAAK,GAElD,QAAU,IAAM,EACjB","names":["matchers","switch_value","ctx","dirty","create_if_block_1","insert_hydration","target","div","anchor","create_if_block","stores","$$props","page","constructors","components","form","data_0","data_1","afterUpdate","mounted","navigated","title","onMount","unsubscribe","$$invalidate","tick","$$value","nodes","__vitePreload","server_loads","dictionary","hooks","error"],"ignoreList":[],"sources":["../../../../../generated/client-optimized/matchers.js","../../../../../generated/root.svelte","../../../../../generated/client-optimized/app.js"],"sourcesContent":["export const matchers = {};","\n\n\n\n{#if constructors[1]}\n\t\n\t\t\n\t\n{:else}\n\t\n{/if}\n\n{#if mounted}\n\t
\n\t\t{#if navigated}\n\t\t\t{title}\n\t\t{/if}\n\t
\n{/if}","export { matchers } from './matchers.js';\n\nexport const nodes = [\n\t() => import('./nodes/0'),\n\t() => import('./nodes/1'),\n\t() => import('./nodes/2')\n];\n\nexport const server_loads = [];\n\nexport const dictionary = {\n\t\t\"/\": [2]\n\t};\n\nexport const hooks = {\n\thandleError: (({ error }) => { console.error(error) }),\n\n\treroute: (() => {})\n};\n\nexport { default as root } from '../root.svelte';"],"file":"_app/immutable/entry/app.4ikYODxS.js"} \ No newline at end of file diff --git a/docs/build/_app/immutable/entry/start.CDWvcRl2.js b/docs/build/_app/immutable/entry/start.CDWvcRl2.js new file mode 100644 index 0000000..a496de6 --- /dev/null +++ b/docs/build/_app/immutable/entry/start.CDWvcRl2.js @@ -0,0 +1,2 @@ +import{a as t}from"../chunks/entry.ltnidPkD.js";export{t as start}; +//# sourceMappingURL=start.CDWvcRl2.js.map diff --git a/docs/build/_app/immutable/entry/start.CDWvcRl2.js.map b/docs/build/_app/immutable/entry/start.CDWvcRl2.js.map new file mode 100644 index 0000000..91a523c --- /dev/null +++ b/docs/build/_app/immutable/entry/start.CDWvcRl2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"start.CDWvcRl2.js","sources":[],"sourcesContent":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/docs/build/_app/immutable/entry/start.e1tQP_4L.js b/docs/build/_app/immutable/entry/start.e1tQP_4L.js deleted file mode 100644 index 57ab3b7..0000000 --- a/docs/build/_app/immutable/entry/start.e1tQP_4L.js +++ /dev/null @@ -1,2 +0,0 @@ -import{a as t}from"../chunks/entry.CfnwebpS.js";export{t as start}; -//# sourceMappingURL=start.e1tQP_4L.js.map diff --git a/docs/build/_app/immutable/entry/start.e1tQP_4L.js.map b/docs/build/_app/immutable/entry/start.e1tQP_4L.js.map deleted file mode 100644 index 5926d7e..0000000 --- a/docs/build/_app/immutable/entry/start.e1tQP_4L.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"start.e1tQP_4L.js","sources":[],"sourcesContent":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/docs/build/_app/immutable/nodes/1.MqhD8MiD.js b/docs/build/_app/immutable/nodes/1.BKZT0SWT.js similarity index 90% rename from docs/build/_app/immutable/nodes/1.MqhD8MiD.js rename to docs/build/_app/immutable/nodes/1.BKZT0SWT.js index c2d0421..b9a307c 100644 --- a/docs/build/_app/immutable/nodes/1.MqhD8MiD.js +++ b/docs/build/_app/immutable/nodes/1.BKZT0SWT.js @@ -1,2 +1,2 @@ -import{s as S,n as _,b as x}from"../chunks/scheduler.DiDVusXj.js";import{S as j,i as k,e as f,b as d,s as q,c as g,d as h,f as v,g as l,h as y,j as m,k as $,l as E}from"../chunks/index.C7jmqWWw.js";import{s as C}from"../chunks/entry.CfnwebpS.js";const H=()=>{const s=C;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},P={subscribe(s){return H().page.subscribe(s)}};function w(s){var b;let t,r=s[0].status+"",o,n,i,c=((b=s[0].error)==null?void 0:b.message)+"",u;return{c(){t=f("h1"),o=d(r),n=q(),i=f("p"),u=d(c)},l(e){t=g(e,"H1",{});var a=h(t);o=v(a,r),a.forEach(l),n=y(e),i=g(e,"P",{});var p=h(i);u=v(p,c),p.forEach(l)},m(e,a){m(e,t,a),$(t,o),m(e,n,a),m(e,i,a),$(i,u)},p(e,[a]){var p;a&1&&r!==(r=e[0].status+"")&&E(o,r),a&1&&c!==(c=((p=e[0].error)==null?void 0:p.message)+"")&&E(u,c)},i:_,o:_,d(e){e&&(l(t),l(n),l(i))}}}function z(s,t,r){let o;return x(s,P,n=>r(0,o=n)),[o]}let F=class extends j{constructor(t){super(),k(this,t,z,w,S,{})}};export{F as component}; -//# sourceMappingURL=1.MqhD8MiD.js.map +import{s as S,n as _,b as x}from"../chunks/scheduler.DiDVusXj.js";import{S as j,i as k,e as f,b as d,s as q,c as g,d as h,f as v,g as l,h as y,j as m,k as $,l as E}from"../chunks/index.C7jmqWWw.js";import{s as C}from"../chunks/entry.ltnidPkD.js";const H=()=>{const s=C;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},P={subscribe(s){return H().page.subscribe(s)}};function w(s){var b;let t,r=s[0].status+"",o,n,i,c=((b=s[0].error)==null?void 0:b.message)+"",u;return{c(){t=f("h1"),o=d(r),n=q(),i=f("p"),u=d(c)},l(e){t=g(e,"H1",{});var a=h(t);o=v(a,r),a.forEach(l),n=y(e),i=g(e,"P",{});var p=h(i);u=v(p,c),p.forEach(l)},m(e,a){m(e,t,a),$(t,o),m(e,n,a),m(e,i,a),$(i,u)},p(e,[a]){var p;a&1&&r!==(r=e[0].status+"")&&E(o,r),a&1&&c!==(c=((p=e[0].error)==null?void 0:p.message)+"")&&E(u,c)},i:_,o:_,d(e){e&&(l(t),l(n),l(i))}}}function z(s,t,r){let o;return x(s,P,n=>r(0,o=n)),[o]}let F=class extends j{constructor(t){super(),k(this,t,z,w,S,{})}};export{F as component}; +//# sourceMappingURL=1.BKZT0SWT.js.map diff --git a/docs/build/_app/immutable/nodes/1.MqhD8MiD.js.map b/docs/build/_app/immutable/nodes/1.BKZT0SWT.js.map similarity index 98% rename from docs/build/_app/immutable/nodes/1.MqhD8MiD.js.map rename to docs/build/_app/immutable/nodes/1.BKZT0SWT.js.map index d345846..8100e1d 100644 --- a/docs/build/_app/immutable/nodes/1.MqhD8MiD.js.map +++ b/docs/build/_app/immutable/nodes/1.BKZT0SWT.js.map @@ -1 +1 @@ -{"version":3,"file":"1.MqhD8MiD.js","sources":["../../../../../../node_modules/@sveltejs/kit/src/runtime/app/stores.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/components/error.svelte"],"sourcesContent":["import { getContext } from 'svelte';\nimport { BROWSER } from 'esm-env';\nimport { stores as browser_stores } from '../client/client.js';\n\n/**\n * A function that returns all of the contextual stores. On the server, this must be called during component initialization.\n * Only use this if you need to defer store subscription until after the component has mounted, for some reason.\n */\nexport const getStores = () => {\n\tconst stores = BROWSER ? browser_stores : getContext('__svelte__');\n\n\treturn {\n\t\t/** @type {typeof page} */\n\t\tpage: {\n\t\t\tsubscribe: stores.page.subscribe\n\t\t},\n\t\t/** @type {typeof navigating} */\n\t\tnavigating: {\n\t\t\tsubscribe: stores.navigating.subscribe\n\t\t},\n\t\t/** @type {typeof updated} */\n\t\tupdated: stores.updated\n\t};\n};\n\n/**\n * A readable store whose value contains page data.\n *\n * On the server, this store can only be subscribed to during component initialization. In the browser, it can be subscribed to at any time.\n *\n * @type {import('svelte/store').Readable}\n */\nexport const page = {\n\tsubscribe(fn) {\n\t\tconst store = __SVELTEKIT_DEV__ ? get_store('page') : getStores().page;\n\t\treturn store.subscribe(fn);\n\t}\n};\n\n/**\n * A readable store.\n * When navigating starts, its value is a `Navigation` object with `from`, `to`, `type` and (if `type === 'popstate'`) `delta` properties.\n * When navigating finishes, its value reverts to `null`.\n *\n * On the server, this store can only be subscribed to during component initialization. In the browser, it can be subscribed to at any time.\n * @type {import('svelte/store').Readable}\n */\nexport const navigating = {\n\tsubscribe(fn) {\n\t\tconst store = __SVELTEKIT_DEV__ ? get_store('navigating') : getStores().navigating;\n\t\treturn store.subscribe(fn);\n\t}\n};\n\n/**\n * A readable store whose initial value is `false`. If [`version.pollInterval`](https://kit.svelte.dev/docs/configuration#version) is a non-zero value, SvelteKit will poll for new versions of the app and update the store value to `true` when it detects one. `updated.check()` will force an immediate check, regardless of polling.\n *\n * On the server, this store can only be subscribed to during component initialization. In the browser, it can be subscribed to at any time.\n * @type {import('svelte/store').Readable & { check(): Promise }}\n */\nexport const updated = {\n\tsubscribe(fn) {\n\t\tconst store = __SVELTEKIT_DEV__ ? get_store('updated') : getStores().updated;\n\n\t\tif (BROWSER) {\n\t\t\tupdated.check = store.check;\n\t\t}\n\n\t\treturn store.subscribe(fn);\n\t},\n\tcheck: () => {\n\t\tthrow new Error(\n\t\t\tBROWSER\n\t\t\t\t? 'Cannot check updated store before subscribing'\n\t\t\t\t: 'Can only check updated store in browser'\n\t\t);\n\t}\n};\n\n/**\n * @template {keyof ReturnType} Name\n * @param {Name} name\n * @returns {ReturnType[Name]}\n */\nfunction get_store(name) {\n\ttry {\n\t\treturn getStores()[name];\n\t} catch (e) {\n\t\tthrow new Error(\n\t\t\t`Cannot subscribe to '${name}' store on the server outside of a Svelte component, as it is bound to the current request via component context. This prevents state from leaking between users.` +\n\t\t\t\t'For more information, see https://kit.svelte.dev/docs/state-management#avoid-shared-state-on-the-server'\n\t\t);\n\t}\n}\n","\n\n

{$page.status}

\n

{$page.error?.message}

\n"],"names":["getStores","stores","browser_stores","page","fn","t0_value","ctx","_a","insert_hydration","target","h1","anchor","p","dirty","set_data","t0","t2","t2_value"],"mappings":"sPAQO,MAAMA,EAAY,IAAM,CAC9B,MAAMC,EAAmBC,EAElB,MAAA,CAEN,KAAM,CACL,UAAWD,EAAO,KAAK,SACxB,EAEA,WAAY,CACX,UAAWA,EAAO,WAAW,SAC9B,EAEA,QAASA,EAAO,OAAA,CAElB,EASaE,EAAO,CACnB,UAAUC,EAAI,CAEN,OAD+CJ,EAAY,EAAA,KACrD,UAAUI,CAAE,CAC1B,CACD,4BCjCKC,EAAAC,KAAM,OAAM,aACbC,EAAAD,EAAK,CAAA,EAAC,QAAN,YAAAC,EAAa,SAAO,2KADxBC,EAAsBC,EAAAC,EAAAC,CAAA,kBACtBH,EAA4BC,EAAAG,EAAAD,CAAA,yBADvBE,EAAA,GAAAR,KAAAA,EAAAC,KAAM,OAAM,KAAAQ,EAAAC,EAAAV,CAAA,gBACbE,EAAAD,EAAK,CAAA,EAAC,QAAN,YAAAC,EAAa,SAAO,KAAAO,EAAAE,EAAAC,CAAA","x_google_ignoreList":[0,1]} \ No newline at end of file +{"version":3,"file":"1.BKZT0SWT.js","sources":["../../../../../../node_modules/@sveltejs/kit/src/runtime/app/stores.js","../../../../../../node_modules/@sveltejs/kit/src/runtime/components/error.svelte"],"sourcesContent":["import { getContext } from 'svelte';\nimport { BROWSER } from 'esm-env';\nimport { stores as browser_stores } from '../client/client.js';\n\n/**\n * A function that returns all of the contextual stores. On the server, this must be called during component initialization.\n * Only use this if you need to defer store subscription until after the component has mounted, for some reason.\n */\nexport const getStores = () => {\n\tconst stores = BROWSER ? browser_stores : getContext('__svelte__');\n\n\treturn {\n\t\t/** @type {typeof page} */\n\t\tpage: {\n\t\t\tsubscribe: stores.page.subscribe\n\t\t},\n\t\t/** @type {typeof navigating} */\n\t\tnavigating: {\n\t\t\tsubscribe: stores.navigating.subscribe\n\t\t},\n\t\t/** @type {typeof updated} */\n\t\tupdated: stores.updated\n\t};\n};\n\n/**\n * A readable store whose value contains page data.\n *\n * On the server, this store can only be subscribed to during component initialization. In the browser, it can be subscribed to at any time.\n *\n * @type {import('svelte/store').Readable}\n */\nexport const page = {\n\tsubscribe(fn) {\n\t\tconst store = __SVELTEKIT_DEV__ ? get_store('page') : getStores().page;\n\t\treturn store.subscribe(fn);\n\t}\n};\n\n/**\n * A readable store.\n * When navigating starts, its value is a `Navigation` object with `from`, `to`, `type` and (if `type === 'popstate'`) `delta` properties.\n * When navigating finishes, its value reverts to `null`.\n *\n * On the server, this store can only be subscribed to during component initialization. In the browser, it can be subscribed to at any time.\n * @type {import('svelte/store').Readable}\n */\nexport const navigating = {\n\tsubscribe(fn) {\n\t\tconst store = __SVELTEKIT_DEV__ ? get_store('navigating') : getStores().navigating;\n\t\treturn store.subscribe(fn);\n\t}\n};\n\n/**\n * A readable store whose initial value is `false`. If [`version.pollInterval`](https://kit.svelte.dev/docs/configuration#version) is a non-zero value, SvelteKit will poll for new versions of the app and update the store value to `true` when it detects one. `updated.check()` will force an immediate check, regardless of polling.\n *\n * On the server, this store can only be subscribed to during component initialization. In the browser, it can be subscribed to at any time.\n * @type {import('svelte/store').Readable & { check(): Promise }}\n */\nexport const updated = {\n\tsubscribe(fn) {\n\t\tconst store = __SVELTEKIT_DEV__ ? get_store('updated') : getStores().updated;\n\n\t\tif (BROWSER) {\n\t\t\tupdated.check = store.check;\n\t\t}\n\n\t\treturn store.subscribe(fn);\n\t},\n\tcheck: () => {\n\t\tthrow new Error(\n\t\t\tBROWSER\n\t\t\t\t? 'Cannot check updated store before subscribing'\n\t\t\t\t: 'Can only check updated store in browser'\n\t\t);\n\t}\n};\n\n/**\n * @template {keyof ReturnType} Name\n * @param {Name} name\n * @returns {ReturnType[Name]}\n */\nfunction get_store(name) {\n\ttry {\n\t\treturn getStores()[name];\n\t} catch (e) {\n\t\tthrow new Error(\n\t\t\t`Cannot subscribe to '${name}' store on the server outside of a Svelte component, as it is bound to the current request via component context. This prevents state from leaking between users.` +\n\t\t\t\t'For more information, see https://kit.svelte.dev/docs/state-management#avoid-shared-state-on-the-server'\n\t\t);\n\t}\n}\n","\n\n

{$page.status}

\n

{$page.error?.message}

\n"],"names":["getStores","stores","browser_stores","page","fn","t0_value","ctx","_a","insert_hydration","target","h1","anchor","p","dirty","set_data","t0","t2","t2_value"],"mappings":"sPAQO,MAAMA,EAAY,IAAM,CAC9B,MAAMC,EAAmBC,EAElB,MAAA,CAEN,KAAM,CACL,UAAWD,EAAO,KAAK,SACxB,EAEA,WAAY,CACX,UAAWA,EAAO,WAAW,SAC9B,EAEA,QAASA,EAAO,OAAA,CAElB,EASaE,EAAO,CACnB,UAAUC,EAAI,CAEN,OAD+CJ,EAAY,EAAA,KACrD,UAAUI,CAAE,CAC1B,CACD,4BCjCKC,EAAAC,KAAM,OAAM,aACbC,EAAAD,EAAK,CAAA,EAAC,QAAN,YAAAC,EAAa,SAAO,2KADxBC,EAAsBC,EAAAC,EAAAC,CAAA,kBACtBH,EAA4BC,EAAAG,EAAAD,CAAA,yBADvBE,EAAA,GAAAR,KAAAA,EAAAC,KAAM,OAAM,KAAAQ,EAAAC,EAAAV,CAAA,gBACbE,EAAAD,EAAK,CAAA,EAAC,QAAN,YAAAC,EAAa,SAAO,KAAAO,EAAAE,EAAAC,CAAA","x_google_ignoreList":[0,1]} \ No newline at end of file diff --git a/docs/build/_app/immutable/nodes/2.itH8zw3k.js.map b/docs/build/_app/immutable/nodes/2.itH8zw3k.js.map deleted file mode 100644 index 2074cca..0000000 --- a/docs/build/_app/immutable/nodes/2.itH8zw3k.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"mappings":"ifAKO,SAASA,GAAkBC,EAAwB,CACzD,OAAOA,GA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AAO;;;;;;;;;;;;;;;;;;;;+0BAxCpBpJ,EA8CKC,EAAAmF,EAAAlF,CAAA,WACLF,EAwBKC,EAAAqF,EAAApF,CAAA,WACLF,EAEKC,EAAAsF,EAAArF,CAAA,uBACLF,EAMQC,EAAAoJ,EAAAnJ,CAAA","names":["ensure_array_like","array_like_or_iterator","destroy_block","block","lookup","update_keyed_each","old_blocks","dirty","get_key","dynamic","ctx","list","node","destroy","create_each_block","next","get_context","o","n","i","old_indexes","new_blocks","new_lookup","deltas","updates","child_ctx","key","will_move","did_move","insert","transition_in","new_block","old_block","new_key","old_key","run_all","factory","module","_window","Glider","element","settings","_","x","t","b","c","d","gliderPrototype","refresh","paging","width","height","breakpointChanged","slideCount","__","mouseup","move","events","e","dot","direction","arrow","event","disableArrows","middle","extraMiddle","slide","index","slideClasses","wasVisible","start","end","itemStart","itemEnd","className","isVisible","originalSlide","prevSlide","position","backwards","scrollLeft","resp","a","size","scrollTarget","scrollDuration","callback","animateIndex","animate","now","ele","double","step","inv","opt","global","v","replace","clear","name","arg","type","args","eventHandler","k","previous_tag","svelte_element","create_dynamic_element","safe_not_equal","claim_element","nodes","set_dynamic_element_data","insert_hydration","target","anchor","containerComponent","$$props","containerElement","button","div","if_block0","create_if_block_3","if_block2","create_if_block_1","if_block3","create_if_block","attr","div_class_value","current","id","hasArrows","hasDots","scrollToSlide","scrollToPage","slidesToShow","slidesToScroll","itemWidth","exactWidth","resizeLock","rewind","duration","dots","arrows","draggable","dragVelocity","scrollPropagate","scrollLock","skipTrack","scrollLockDelay","responsive","easing","onLoad","onAnimated","onRemove","onSlideVisible","onRefresh","onAdd","onDestroy","onSlideHidden","getGliderProps","gliderProps","getRestProps","restProps","makeGliderOptions","nextButtonEl","prevButtonEl","dotsEl","prevButtonRef","nextButtonRef","dotsRef","elementRef","gliderJs","getGliderJs","addEventListener","fn","removeEventListener","previousEventListeners","addEventListeners","removeOnly","onMount","GliderJs","onPropsUpdate","onEventListenerUpdate","afterUpdate","onUnmount","$$value","details","append_hydration","summary","pre","code_1","example","code","$$invalidate","__variableDynamicImportRuntimeHelper","__vitePreload","div0","div1","div2","div3","div4","div5","div6","div7","div8","div9","div10","div11","INTERVAL","MAX","timer","gliderRef","startTimer","stopTimer","t_value","option","each_value","add_render_callback","select","select_value","randomize","random","h5","MSG_TIMEOUT","message","updateMessage","subject","value","div12","span","set_data","t0","t0_value","randomValues","updateRandomValues","count","getRandomInt","array","min","max","div15","h2","h30","h31","h32","h33","h34","h35","h36","h37","h38","h39","h310","h311","h312","div13","h313","div14","h314","npm_logo","gh_logo","footer"],"ignoreList":[0,1],"sources":["../../../../../../node_modules/svelte/src/runtime/internal/each.js","../../../../../../../node_modules/glider-js/glider.js","../../../../../../../src/Container.svelte","../../../../../../../src/Glider.svelte","../../../../../../../examples/lib/Details.svelte","../../../../../../../examples/MultipleItemsGlider.svelte","../../../../../../../examples/SingleItemGlider.svelte","../../../../../../../examples/ResponsiveGlider.svelte","../../../../../../../examples/AutoplayGlider.svelte","../../../../../../../examples/UpdatingPropsGlider.svelte","../../../../../../../examples/GliderJsMethods.svelte","../../../../../../../examples/PerspectiveViewGlider.svelte","../../../../../../../examples/ScrollToGlider.svelte","../../../../../../../examples/FractionalSlidesGlider.svelte","../../../../../../../examples/CustomEventsGlider.svelte","../../../../../../../examples/CustomElementArrowsGliderSlots.svelte","../../../../../../../examples/CustomElementArrowsGliderDomSelector.svelte","../../../../../../../examples/RemountingGlider.svelte","../../../../../../../examples/SkipTrackGlider.svelte","../../../../../../../examples/DynamicDataGlider.svelte","../../../../../../src/lib/Examples.svelte","../../../../../../src/lib/assets/img/npm.png","../../../../../../src/lib/assets/img/github.png","../../../../../../src/routes/+page.svelte"],"sourcesContent":["import { transition_in, transition_out } from './transitions.js';\nimport { run_all } from './utils.js';\n\n// general each functions:\n\nexport function ensure_array_like(array_like_or_iterator) {\n\treturn array_like_or_iterator?.length !== undefined\n\t\t? array_like_or_iterator\n\t\t: Array.from(array_like_or_iterator);\n}\n\n// keyed each functions:\n\n/** @returns {void} */\nexport function destroy_block(block, lookup) {\n\tblock.d(1);\n\tlookup.delete(block.key);\n}\n\n/** @returns {void} */\nexport function outro_and_destroy_block(block, lookup) {\n\ttransition_out(block, 1, 1, () => {\n\t\tlookup.delete(block.key);\n\t});\n}\n\n/** @returns {void} */\nexport function fix_and_destroy_block(block, lookup) {\n\tblock.f();\n\tdestroy_block(block, lookup);\n}\n\n/** @returns {void} */\nexport function fix_and_outro_and_destroy_block(block, lookup) {\n\tblock.f();\n\toutro_and_destroy_block(block, lookup);\n}\n\n/** @returns {any[]} */\nexport function update_keyed_each(\n\told_blocks,\n\tdirty,\n\tget_key,\n\tdynamic,\n\tctx,\n\tlist,\n\tlookup,\n\tnode,\n\tdestroy,\n\tcreate_each_block,\n\tnext,\n\tget_context\n) {\n\tlet o = old_blocks.length;\n\tlet n = list.length;\n\tlet i = o;\n\tconst old_indexes = {};\n\twhile (i--) old_indexes[old_blocks[i].key] = i;\n\tconst new_blocks = [];\n\tconst new_lookup = new Map();\n\tconst deltas = new Map();\n\tconst updates = [];\n\ti = n;\n\twhile (i--) {\n\t\tconst child_ctx = get_context(ctx, list, i);\n\t\tconst key = get_key(child_ctx);\n\t\tlet block = lookup.get(key);\n\t\tif (!block) {\n\t\t\tblock = create_each_block(key, child_ctx);\n\t\t\tblock.c();\n\t\t} else if (dynamic) {\n\t\t\t// defer updates until all the DOM shuffling is done\n\t\t\tupdates.push(() => block.p(child_ctx, dirty));\n\t\t}\n\t\tnew_lookup.set(key, (new_blocks[i] = block));\n\t\tif (key in old_indexes) deltas.set(key, Math.abs(i - old_indexes[key]));\n\t}\n\tconst will_move = new Set();\n\tconst did_move = new Set();\n\t/** @returns {void} */\n\tfunction insert(block) {\n\t\ttransition_in(block, 1);\n\t\tblock.m(node, next);\n\t\tlookup.set(block.key, block);\n\t\tnext = block.first;\n\t\tn--;\n\t}\n\twhile (o && n) {\n\t\tconst new_block = new_blocks[n - 1];\n\t\tconst old_block = old_blocks[o - 1];\n\t\tconst new_key = new_block.key;\n\t\tconst old_key = old_block.key;\n\t\tif (new_block === old_block) {\n\t\t\t// do nothing\n\t\t\tnext = new_block.first;\n\t\t\to--;\n\t\t\tn--;\n\t\t} else if (!new_lookup.has(old_key)) {\n\t\t\t// remove old block\n\t\t\tdestroy(old_block, lookup);\n\t\t\to--;\n\t\t} else if (!lookup.has(new_key) || will_move.has(new_key)) {\n\t\t\tinsert(new_block);\n\t\t} else if (did_move.has(old_key)) {\n\t\t\to--;\n\t\t} else if (deltas.get(new_key) > deltas.get(old_key)) {\n\t\t\tdid_move.add(new_key);\n\t\t\tinsert(new_block);\n\t\t} else {\n\t\t\twill_move.add(old_key);\n\t\t\to--;\n\t\t}\n\t}\n\twhile (o--) {\n\t\tconst old_block = old_blocks[o];\n\t\tif (!new_lookup.has(old_block.key)) destroy(old_block, lookup);\n\t}\n\twhile (n) insert(new_blocks[n - 1]);\n\trun_all(updates);\n\treturn new_blocks;\n}\n\n/** @returns {void} */\nexport function validate_each_keys(ctx, list, get_context, get_key) {\n\tconst keys = new Map();\n\tfor (let i = 0; i < list.length; i++) {\n\t\tconst key = get_key(get_context(ctx, list, i));\n\t\tif (keys.has(key)) {\n\t\t\tlet value = '';\n\t\t\ttry {\n\t\t\t\tvalue = `with value '${String(key)}' `;\n\t\t\t} catch (e) {\n\t\t\t\t// can't stringify\n\t\t\t}\n\t\t\tthrow new Error(\n\t\t\t\t`Cannot have duplicate keys in a keyed each: Keys at index ${keys.get(\n\t\t\t\t\tkey\n\t\t\t\t)} and ${i} ${value}are duplicates`\n\t\t\t);\n\t\t}\n\t\tkeys.set(key, i);\n\t}\n}\n","/* @preserve\n _____ __ _ __ _\n / ___// /(_)___/ /___ ____ (_)___\n / (_ // // // _ // -_)/ __/_ / /(_-<\n \\___//_//_/ \\_,_/ \\__//_/ (_)__/ //___/\n |___/\n\n Version: 1.7.4\n Author: Nick Piscitelli (pickykneee)\n Website: https://nickpiscitelli.com\n Documentation: http://nickpiscitelli.github.io/Glider.js\n License: MIT License\n Release Date: October 25th, 2018\n\n*/\n\n/* global define */\n\n(function (factory) {\n typeof define === 'function' && define.amd\n ? define(factory)\n : typeof exports === 'object'\n ? (module.exports = factory())\n : factory()\n})(function () {\n ('use strict') // eslint-disable-line no-unused-expressions\n\n /* globals window:true */\n var _window = typeof window !== 'undefined' ? window : this\n\n var Glider = (_window.Glider = function (element, settings) {\n var _ = this\n\n if (element._glider) return element._glider\n\n _.ele = element\n _.ele.classList.add('glider')\n\n // expose glider object to its DOM element\n _.ele._glider = _\n\n // merge user setting with defaults\n _.opt = Object.assign(\n {},\n {\n slidesToScroll: 1,\n slidesToShow: 1,\n resizeLock: true,\n duration: 0.5,\n passiveListeners: false,\n // easeInQuad\n easing: function (x, t, b, c, d) {\n return c * (t /= d) * t + b\n }\n },\n settings\n )\n\n // set defaults\n _.animate_id = _.page = _.slide = 0\n _.arrows = {}\n\n // preserve original options to\n // extend breakpoint settings\n _._opt = _.opt\n\n if (_.opt.skipTrack) {\n // first and only child is the track\n _.track = _.ele.children[0]\n } else {\n // create track and wrap slides\n _.track = document.createElement('div')\n _.ele.appendChild(_.track)\n while (_.ele.children.length !== 1) {\n _.track.appendChild(_.ele.children[0])\n }\n }\n\n _.track.classList.add('glider-track')\n\n // start glider\n _.init()\n\n // set events\n _.resize = _.init.bind(_, true)\n _.event(\n _.ele,\n 'add',\n {\n scroll: _.updateControls.bind(_)\n },\n { passive: _.opt.passiveListeners }\n )\n _.event(_window, 'add', {\n resize: _.resize\n })\n })\n\n var gliderPrototype = Glider.prototype\n gliderPrototype.init = function (refresh, paging) {\n var _ = this\n\n var width = 0\n\n var height = 0\n\n _.slides = _.track.children;\n\n [].forEach.call(_.slides, function (_, i) {\n _.classList.add('glider-slide')\n _.setAttribute('data-gslide', i)\n })\n\n _.containerWidth = _.ele.clientWidth\n\n var breakpointChanged = _.settingsBreakpoint()\n if (!paging) paging = breakpointChanged\n\n if (\n _.opt.slidesToShow === 'auto' ||\n typeof _.opt._autoSlide !== 'undefined'\n ) {\n var slideCount = _.containerWidth / _.opt.itemWidth\n\n _.opt._autoSlide = _.opt.slidesToShow = _.opt.exactWidth\n ? slideCount\n : Math.max(1, Math.floor(slideCount))\n }\n if (_.opt.slidesToScroll === 'auto') {\n _.opt.slidesToScroll = Math.floor(_.opt.slidesToShow)\n }\n\n _.itemWidth = _.opt.exactWidth\n ? _.opt.itemWidth\n : _.containerWidth / _.opt.slidesToShow;\n\n // set slide dimensions\n [].forEach.call(_.slides, function (__) {\n __.style.height = 'auto'\n __.style.width = _.itemWidth + 'px'\n width += _.itemWidth\n height = Math.max(__.offsetHeight, height)\n })\n\n _.track.style.width = width + 'px'\n _.trackWidth = width\n _.isDrag = false\n _.preventClick = false\n _.move = false\n\n _.opt.resizeLock && _.scrollTo(_.slide * _.itemWidth, 0)\n\n if (breakpointChanged || paging) {\n _.bindArrows()\n _.buildDots()\n _.bindDrag()\n }\n\n _.updateControls()\n\n _.emit(refresh ? 'refresh' : 'loaded')\n }\n\n gliderPrototype.bindDrag = function () {\n var _ = this\n _.mouse = _.mouse || _.handleMouse.bind(_)\n\n var mouseup = function () {\n _.mouseDown = undefined\n _.ele.classList.remove('drag')\n if (_.isDrag) {\n _.preventClick = true\n }\n _.isDrag = false\n }\n\n const move = function () {\n _.move = true\n }\n\n var events = {\n mouseup: mouseup,\n mouseleave: mouseup,\n mousedown: function (e) {\n e.preventDefault()\n e.stopPropagation()\n _.mouseDown = e.clientX\n _.ele.classList.add('drag')\n _.move = false\n setTimeout(move, 300)\n },\n touchstart: function (e) {\n _.ele.classList.add('drag')\n _.move = false\n setTimeout(move, 300)\n },\n mousemove: _.mouse,\n click: function (e) {\n if (_.preventClick && _.move) {\n e.preventDefault()\n e.stopPropagation()\n }\n _.preventClick = false\n _.move = false\n }\n }\n\n _.ele.classList.toggle('draggable', _.opt.draggable === true)\n _.event(_.ele, 'remove', events)\n if (_.opt.draggable) {\n _.event(_.ele, 'add', events, {\n passive: _.opt.passiveListeners\n })\n }\n }\n\n gliderPrototype.buildDots = function () {\n var _ = this\n\n if (!_.opt.dots) {\n if (_.dots) _.dots.innerHTML = ''\n return\n }\n\n if (typeof _.opt.dots === 'string') {\n _.dots = document.querySelector(_.opt.dots)\n } else _.dots = _.opt.dots\n if (!_.dots) return\n\n _.dots.innerHTML = ''\n _.dots.setAttribute('role', 'tablist')\n _.dots.classList.add('glider-dots')\n\n for (var i = 0; i < Math.ceil(_.slides.length / _.opt.slidesToShow); ++i) {\n var dot = document.createElement('button')\n dot.dataset.index = i\n dot.setAttribute('aria-label', 'Page ' + (i + 1))\n dot.setAttribute('role', 'tab')\n dot.className = 'glider-dot ' + (i ? '' : 'active')\n _.event(dot, 'add', {\n click: _.scrollItem.bind(_, i, true)\n })\n _.dots.appendChild(dot)\n }\n }\n\n gliderPrototype.bindArrows = function () {\n var _ = this\n if (!_.opt.arrows) {\n Object.keys(_.arrows).forEach(function (direction) {\n var element = _.arrows[direction]\n _.event(element, 'remove', { click: element._func })\n })\n return\n }\n ['prev', 'next'].forEach(function (direction) {\n var arrow = _.opt.arrows[direction]\n if (arrow) {\n if (typeof arrow === 'string') arrow = document.querySelector(arrow)\n if (arrow) {\n arrow._func = arrow._func || _.scrollItem.bind(_, direction)\n _.event(arrow, 'remove', {\n click: arrow._func\n })\n _.event(arrow, 'add', {\n click: arrow._func\n })\n _.arrows[direction] = arrow\n }\n }\n })\n }\n\n gliderPrototype.updateControls = function (event) {\n var _ = this\n\n if (event && !_.opt.scrollPropagate) {\n event.stopPropagation()\n }\n\n var disableArrows = _.containerWidth >= _.trackWidth\n\n if (!_.opt.rewind) {\n if (_.arrows.prev) {\n _.arrows.prev.classList.toggle(\n 'disabled',\n _.ele.scrollLeft <= 0 || disableArrows\n )\n\n _.arrows.prev.setAttribute(\n 'aria-disabled',\n _.arrows.prev.classList.contains('disabled')\n )\n }\n if (_.arrows.next) {\n _.arrows.next.classList.toggle(\n 'disabled',\n Math.ceil(_.ele.scrollLeft + _.containerWidth) >=\n Math.floor(_.trackWidth) || disableArrows\n )\n\n _.arrows.next.setAttribute(\n 'aria-disabled',\n _.arrows.next.classList.contains('disabled')\n )\n }\n }\n\n _.slide = Math.round(_.ele.scrollLeft / _.itemWidth)\n _.page = Math.round(_.ele.scrollLeft / _.containerWidth)\n\n var middle = _.slide + Math.floor(Math.floor(_.opt.slidesToShow) / 2)\n\n var extraMiddle = Math.floor(_.opt.slidesToShow) % 2 ? 0 : middle + 1\n if (Math.floor(_.opt.slidesToShow) === 1) {\n extraMiddle = 0\n }\n\n // the last page may be less than one half of a normal page width so\n // the page is rounded down. when at the end, force the page to turn\n if (_.ele.scrollLeft + _.containerWidth >= Math.floor(_.trackWidth)) {\n _.page = _.dots ? _.dots.children.length - 1 : 0\n }\n\n [].forEach.call(_.slides, function (slide, index) {\n var slideClasses = slide.classList\n\n var wasVisible = slideClasses.contains('visible')\n\n var start = _.ele.scrollLeft\n\n var end = _.ele.scrollLeft + _.containerWidth\n\n var itemStart = _.itemWidth * index\n\n var itemEnd = itemStart + _.itemWidth;\n\n [].forEach.call(slideClasses, function (className) {\n /^left|right/.test(className) && slideClasses.remove(className)\n })\n slideClasses.toggle('active', _.slide === index)\n if (middle === index || (extraMiddle && extraMiddle === index)) {\n slideClasses.add('center')\n } else {\n slideClasses.remove('center')\n slideClasses.add(\n [\n index < middle ? 'left' : 'right',\n Math.abs(index - (index < middle ? middle : extraMiddle || middle))\n ].join('-')\n )\n }\n\n var isVisible =\n Math.ceil(itemStart) >= Math.floor(start) &&\n Math.floor(itemEnd) <= Math.ceil(end)\n slideClasses.toggle('visible', isVisible)\n if (isVisible !== wasVisible) {\n _.emit('slide-' + (isVisible ? 'visible' : 'hidden'), {\n slide: index\n })\n }\n })\n if (_.dots) {\n [].forEach.call(_.dots.children, function (dot, index) {\n dot.classList.toggle('active', _.page === index)\n })\n }\n\n if (event && _.opt.scrollLock) {\n clearTimeout(_.scrollLock)\n _.scrollLock = setTimeout(function () {\n clearTimeout(_.scrollLock)\n // dont attempt to scroll less than a pixel fraction - causes looping\n if (Math.abs(_.ele.scrollLeft / _.itemWidth - _.slide) > 0.02) {\n if (!_.mouseDown) {\n // Only scroll if not at the end (#94)\n if (_.trackWidth > _.containerWidth + _.ele.scrollLeft) {\n _.scrollItem(_.getCurrentSlide())\n }\n }\n }\n }, _.opt.scrollLockDelay || 250)\n }\n }\n\n gliderPrototype.getCurrentSlide = function () {\n var _ = this\n return _.round(_.ele.scrollLeft / _.itemWidth)\n }\n\n gliderPrototype.scrollItem = function (slide, dot, e) {\n if (e) e.preventDefault()\n\n var _ = this\n\n var originalSlide = slide\n ++_.animate_id\n\n var prevSlide = _.slide\n var position\n\n if (dot === true) {\n slide = Math.round((slide * _.containerWidth) / _.itemWidth)\n position = slide * _.itemWidth\n } else {\n if (typeof slide === 'string') {\n var backwards = slide === 'prev'\n\n // use precise location if fractional slides are on\n if (_.opt.slidesToScroll % 1 || _.opt.slidesToShow % 1) {\n slide = _.getCurrentSlide()\n } else {\n slide = _.slide\n }\n\n if (backwards) slide -= _.opt.slidesToScroll\n else slide += _.opt.slidesToScroll\n\n if (_.opt.rewind) {\n var scrollLeft = _.ele.scrollLeft\n slide =\n backwards && !scrollLeft\n ? _.slides.length\n : !backwards &&\n scrollLeft + _.containerWidth >= Math.floor(_.trackWidth)\n ? 0\n : slide\n }\n }\n\n slide = Math.max(Math.min(slide, _.slides.length), 0)\n\n _.slide = slide\n position = _.itemWidth * slide\n }\n\n _.emit('scroll-item', { prevSlide, slide })\n\n _.scrollTo(\n position,\n _.opt.duration * Math.abs(_.ele.scrollLeft - position),\n function () {\n _.updateControls()\n _.emit('animated', {\n value: originalSlide,\n type:\n typeof originalSlide === 'string' ? 'arrow' : dot ? 'dot' : 'slide'\n })\n }\n )\n\n return false\n }\n\n gliderPrototype.settingsBreakpoint = function () {\n var _ = this\n\n var resp = _._opt.responsive\n\n if (resp) {\n // Sort the breakpoints in mobile first order\n resp.sort(function (a, b) {\n return b.breakpoint - a.breakpoint\n })\n\n for (var i = 0; i < resp.length; ++i) {\n var size = resp[i]\n if (_window.innerWidth >= size.breakpoint) {\n if (_.breakpoint !== size.breakpoint) {\n _.opt = Object.assign({}, _._opt, size.settings)\n _.breakpoint = size.breakpoint\n return true\n }\n return false\n }\n }\n }\n // set back to defaults in case they were overriden\n var breakpointChanged = _.breakpoint !== 0\n _.opt = Object.assign({}, _._opt)\n _.breakpoint = 0\n return breakpointChanged\n }\n\n gliderPrototype.scrollTo = function (scrollTarget, scrollDuration, callback) {\n var _ = this\n\n var start = new Date().getTime()\n\n var animateIndex = _.animate_id\n\n var animate = function () {\n var now = new Date().getTime() - start\n _.ele.scrollLeft =\n _.ele.scrollLeft +\n (scrollTarget - _.ele.scrollLeft) *\n _.opt.easing(0, now, 0, 1, scrollDuration)\n if (now < scrollDuration && animateIndex === _.animate_id) {\n _window.requestAnimationFrame(animate)\n } else {\n _.ele.scrollLeft = scrollTarget\n callback && callback.call(_)\n }\n }\n\n _window.requestAnimationFrame(animate)\n }\n\n gliderPrototype.removeItem = function (index) {\n var _ = this\n\n if (_.slides.length) {\n _.track.removeChild(_.slides[index])\n _.refresh(true)\n _.emit('remove')\n }\n }\n\n gliderPrototype.addItem = function (ele) {\n var _ = this\n\n _.track.appendChild(ele)\n _.refresh(true)\n _.emit('add')\n }\n\n gliderPrototype.handleMouse = function (e) {\n var _ = this\n if (_.mouseDown) {\n _.isDrag = true\n _.ele.scrollLeft +=\n (_.mouseDown - e.clientX) * (_.opt.dragVelocity || 3.3)\n _.mouseDown = e.clientX\n }\n }\n\n // used to round to the nearest 0.XX fraction\n gliderPrototype.round = function (double) {\n var _ = this\n var step = _.opt.slidesToScroll % 1 || 1\n var inv = 1.0 / step\n return Math.round(double * inv) / inv\n }\n\n gliderPrototype.refresh = function (paging) {\n var _ = this\n _.init(true, paging)\n }\n\n gliderPrototype.setOption = function (opt, global) {\n var _ = this\n\n if (_.breakpoint && !global) {\n _._opt.responsive.forEach(function (v) {\n if (v.breakpoint === _.breakpoint) {\n v.settings = Object.assign({}, v.settings, opt)\n }\n })\n } else {\n _._opt = Object.assign({}, _._opt, opt)\n }\n\n _.breakpoint = 0\n _.settingsBreakpoint()\n }\n\n gliderPrototype.destroy = function () {\n var _ = this\n\n var replace = _.ele.cloneNode(true)\n\n var clear = function (ele) {\n ele.removeAttribute('style');\n [].forEach.call(ele.classList, function (className) {\n /^glider/.test(className) && ele.classList.remove(className)\n })\n }\n // remove track if it was created by glider\n if (!_.opt.skipTrack) {\n replace.children[0].outerHTML = replace.children[0].innerHTML\n }\n clear(replace);\n [].forEach.call(replace.getElementsByTagName('*'), clear)\n _.ele.parentNode.replaceChild(replace, _.ele)\n _.event(_window, 'remove', {\n resize: _.resize\n })\n _.emit('destroy')\n }\n\n gliderPrototype.emit = function (name, arg) {\n var _ = this\n\n var e = new _window.CustomEvent('glider-' + name, {\n bubbles: !_.opt.eventPropagate,\n detail: arg\n })\n _.ele.dispatchEvent(e)\n }\n\n gliderPrototype.event = function (ele, type, args) {\n var eventHandler = ele[type + 'EventListener'].bind(ele)\n Object.keys(args).forEach(function (k) {\n eventHandler(k, args[k])\n })\n }\n\n return Glider\n})\n","\n\n{#if containerComponent}\n \n \n \n{:else}\n \n \n \n{/if}\n","\n\n\n {#if hasArrows && !arrows}\n \n «\n \n {/if}\n\n
\n {#if skipTrack}\n \n {:else}\n
\n {/if}\n
\n\n {#if hasDots && !dots}\n
\n {/if}\n\n {#if hasArrows && !arrows}\n \n »\n \n {/if}\n\n","\n\n{#if code}\n
\n View Source Code\n
{code}
\n
\n{/if}\n","\n\n\n\n
\n \n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n
\n","\n\n\n\n
\n \n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\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8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n
\n","\n\n\n\n\n\n
\n {#if message}\n
{message}
\n {/if}\n {updateMessage('Loaded', [e.detail.target.tagName, ...e.detail.target.classList].join('.'))}}\n onSlideVisible={(e) => {updateMessage('Slide Visible', e.detail.slide)}}\n onSlideHidden={ (e) => {updateMessage('Slide Hidden', e.detail.slide)}}\n onRefresh={ ( ) => {updateMessage('Refresh')}}\n >\n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n
\n","\n\n\n\n\n\n
\n \n\n \n \n \n \n \n \n\n \n \n \n \n \n \n\n \n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n
\n","\n\n\n\n
\n div.custom-arrows > button.custom-arrow.prev',\n next: 'div.container > div.custom-arrows > button.custom-arrow.next'\n }}\n hasDots\n slidesToShow={1}\n scrollLock\n >\n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n \n \n \n \n \n \n\n \n \n \n \n \n \n
\n
\n
\n","\n\n\n\n
\n \n {#if isVisible}\n \n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n {/if}\n
\n
\n","\n\n\n\n
\n \n
\n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n
\n \n
\n
\n","\n\n\n\n
\n \n \n {#each randomValues as value (value)}\n
\n {value}\n
\n {/each}\n \n
\n
\n","\n\n
\n

Demos

\n
\n
\n

\n \n Single Item with Scroll Lock\n \n

\n \n
\n
\n

\n \n Responsive Glider\n \n

\n \n
\n
\n

\n \n Autoplay Glider\n \n

\n \n
\n
\n

\n \n Updating Props\n \n

\n \n
\n
\n

\n \n Glider.js instance methods\n \n

\n \n
\n
\n

\n \n Perspective View\n \n

\n \n
\n \n
\n

\n \n Fractional Slides\n \n

\n \n
\n
\n

\n \n Custom Events\n \n

\n \n
\n
\n

\n \n Custom Element Arrows (w/ named slots)\n \n

\n \n
\n
\n

\n \n Custom Element Arrows (w/ DOM query selector)\n \n

\n \n
\n
\n

\n \n Unmounting / Remounting\n \n

\n \n
\n
\n

\n \n Skip Track\n \n

\n \n
\n
\n

\n \n Dynamic Data\n \n

\n \n
\n
\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAAAgCAMAAAC2GN9jAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABelBMVEUAAADLODfVX17ikI/hj47ikJDbeHfZcG/ikZDXaGfdf37ikpHxy8vMPj3subnnpaXORUT129rsubn12tr89PT89fT89fX99/f89vbwyMjWYmHVYWDXZmb01tboqanVX17VYWHVYF/adHThjIzkmprdf3/suLjLOzrxy8r9+fnYa2rdfX3UW1r78fHYbWzUXVz78vLjk5P23d3uwMDvwcHuwcHxycn129rdf37df3/02Nj019b12dnln57pra356enhj4712Nj019fz0tLZcG/SVVTxzMzNQ0LNQD/kmJjNQUDNQkHikZHLODfLODfLODfLODfLODfLODfLODfLODfLODfLODfLODfLODfKNjXKNDPKNTTKNzbLOjnMPT3////LNzb++/v+/Pz9+f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Mq6IK34vtfUGMJ4fAlamYtw+7UDzTCx4LKSZdp5L4ylG5rloo9ZZ/QHOyrjhWDWaewAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0xMC0wNVQwODozNjowNSswMDowMKE1o64AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTMtMTAtMjhUMjE6NTU6MjQrMDA6MDDt+Ce9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==\"","\n svelte-glider - Svelte wrapper for Glider.js - A fast, lightweight carousel alternative.\n\n\n\n\n
\n

Svelte Glider

\n

\n A\n \n Svelte\n wrapper for\n \n Glider.js\n \n

\n

\n \n \n \n \n \n \n

\n
\n
\n
\n

Usage

\n
\n<script lang=\"ts\">\n  import Glider from '@warren-bank/svelte-glider'\n  import 'glider-js/glider.min.css'\n</script>\n\n<Glider\n  draggable\n  hasArrows\n  hasDots\n  slidesToShow={2}\n  slidesToScroll={1}\n>\n  <Pane>1</Pane>\n  <Pane>2</Pane>\n  <Pane>3</Pane>\n  <Pane>4</Pane>\n  <Pane>5</Pane>\n</Glider>\n
\n
\n
\n
\n \n
\n
\n
Released under the GPLv2 License
\n
\n Copyright © 2024\n Warren Bank\n
\n
\n"],"file":"_app/immutable/nodes/2.itH8zw3k.js"} \ No newline at end of file diff --git a/docs/build/_app/immutable/nodes/2.itH8zw3k.js b/docs/build/_app/immutable/nodes/2.lJgaJZ4e.js similarity index 66% rename from docs/build/_app/immutable/nodes/2.itH8zw3k.js rename to docs/build/_app/immutable/nodes/2.lJgaJZ4e.js index cc1c6d3..58f46da 100644 --- a/docs/build/_app/immutable/nodes/2.itH8zw3k.js +++ b/docs/build/_app/immutable/nodes/2.lJgaJZ4e.js @@ -1,4 +1,4 @@ -import{r as il,s as ne,c as Ze,u as Qe,g as Ye,a as Xe,o as yt,d as nl,x as ll,y as Wt,z as zt,e as qe,n as ie,k as rl}from"../chunks/scheduler.DiDVusXj.js";import{t as z,S as re,i as ae,m as Me,j as u,q as Je,a as U,n as Fe,g as a,r as Ut,u as Q,v as K,w as Y,x as X,e as v,c as p,d as ee,y as al,s as h,h as _,o as M,b as Pe,f as Ge,z as H,k as w,l as St,A as Nt,B as Ht,C as dl,D as ul,E as fl,F as ol}from"../chunks/index.C7jmqWWw.js";import{_ as ue}from"../chunks/preload-helper.D6kgxu3v.js";function wt(m){return(m==null?void 0:m.length)!==void 0?m:Array.from(m)}function cl(m,t){m.d(1),t.delete(m.key)}function vl(m,t,r,d,i,n,s,l,o,T,c,D){let E=m.length,L=n.length,B=E;const x={};for(;B--;)x[m[B].key]=B;const V=[],P=new Map,y=new Map,$=[];for(B=L;B--;){const W=D(i,n,B),S=r(W);let g=s.get(S);g?$.push(()=>g.p(W,t)):(g=T(S,W),g.c()),P.set(S,V[B]=g),S in x&&y.set(S,Math.abs(B-x[S]))}const Z=new Set,R=new Set;function b(W){z(W,1),W.m(l,c),s.set(W.key,W),c=W.first,L--}for(;E&&L;){const W=V[L-1],S=m[E-1],g=W.key,J=S.key;W===S?(c=W.first,E--,L--):P.has(J)?!s.has(g)||Z.has(g)?b(W):R.has(J)?E--:y.get(g)>y.get(J)?(R.add(g),b(W)):(Z.add(J),E--):(o(S,s),E--)}for(;E--;){const W=m[E];P.has(W.key)||o(W,s)}for(;L;)b(V[L-1]);return il($),V}function pl(m){return m&&m.__esModule&&Object.prototype.hasOwnProperty.call(m,"default")?m.default:m}var sl={exports:{}};/* @preserve +import{r as il,s as ne,c as Ze,u as Qe,g as Ye,a as Xe,o as yt,d as nl,x as ll,y as qt,z as Wt,e as Ne,n as ie,k as rl}from"../chunks/scheduler.DiDVusXj.js";import{t as W,S as re,i as ae,m as Me,j as u,q as Je,a as z,n as Fe,g as a,r as zt,u as Q,v as K,w as Y,x as X,e as v,c as p,d as ee,y as al,s as h,h as _,o as M,b as Pe,f as Ge,z as H,k as w,l as St,A as Ut,B as Ht,C as dl,D as ul,E as fl,F as ol}from"../chunks/index.C7jmqWWw.js";import{_ as ue}from"../chunks/preload-helper.D6kgxu3v.js";function wt(m){return(m==null?void 0:m.length)!==void 0?m:Array.from(m)}function cl(m,t){m.d(1),t.delete(m.key)}function vl(m,t,r,d,i,n,s,l,o,T,c,D){let g=m.length,L=n.length,B=g;const x={};for(;B--;)x[m[B].key]=B;const V=[],P=new Map,y=new Map,$=[];for(B=L;B--;){const q=D(i,n,B),S=r(q);let E=s.get(S);E?$.push(()=>E.p(q,t)):(E=T(S,q),E.c()),P.set(S,V[B]=E),S in x&&y.set(S,Math.abs(B-x[S]))}const Z=new Set,R=new Set;function b(q){W(q,1),q.m(l,c),s.set(q.key,q),c=q.first,L--}for(;g&&L;){const q=V[L-1],S=m[g-1],E=q.key,J=S.key;q===S?(c=q.first,g--,L--):P.has(J)?!s.has(E)||Z.has(E)?b(q):R.has(J)?g--:y.get(E)>y.get(J)?(R.add(E),b(q)):(Z.add(J),g--):(o(S,s),g--)}for(;g--;){const q=m[g];P.has(q.key)||o(q,s)}for(;L;)b(V[L-1]);return il($),V}function pl(m){return m&&m.__esModule&&Object.prototype.hasOwnProperty.call(m,"default")?m.default:m}var sl={exports:{}};/* @preserve _____ __ _ __ _ / ___// /(_)___/ /___ ____ (_)___ / (_ // // // _ // -_)/ __/_ / /(_-< @@ -12,30 +12,40 @@ import{r as il,s as ne,c as Ze,u as Qe,g as Ye,a as Xe,o as yt,d as nl,x as ll,y License: MIT License Release Date: October 25th, 2018 -*/(function(m,t){(function(r){m.exports=r()})(function(){var r=typeof window<"u"?window:this,d=r.Glider=function(n,s){var l=this;if(n._glider)return n._glider;if(l.ele=n,l.ele.classList.add("glider"),l.ele._glider=l,l.opt=Object.assign({},{slidesToScroll:1,slidesToShow:1,resizeLock:!0,duration:.5,passiveListeners:!1,easing:function(o,T,c,D,E){return D*(T/=E)*T+c}},s),l.animate_id=l.page=l.slide=0,l.arrows={},l._opt=l.opt,l.opt.skipTrack)l.track=l.ele.children[0];else for(l.track=document.createElement("div"),l.ele.appendChild(l.track);l.ele.children.length!==1;)l.track.appendChild(l.ele.children[0]);l.track.classList.add("glider-track"),l.init(),l.resize=l.init.bind(l,!0),l.event(l.ele,"add",{scroll:l.updateControls.bind(l)},{passive:l.opt.passiveListeners}),l.event(r,"add",{resize:l.resize})},i=d.prototype;return i.init=function(n,s){var l=this,o=0,T=0;l.slides=l.track.children,[].forEach.call(l.slides,function(E,L){E.classList.add("glider-slide"),E.setAttribute("data-gslide",L)}),l.containerWidth=l.ele.clientWidth;var c=l.settingsBreakpoint();if(s||(s=c),l.opt.slidesToShow==="auto"||typeof l.opt._autoSlide<"u"){var D=l.containerWidth/l.opt.itemWidth;l.opt._autoSlide=l.opt.slidesToShow=l.opt.exactWidth?D:Math.max(1,Math.floor(D))}l.opt.slidesToScroll==="auto"&&(l.opt.slidesToScroll=Math.floor(l.opt.slidesToShow)),l.itemWidth=l.opt.exactWidth?l.opt.itemWidth:l.containerWidth/l.opt.slidesToShow,[].forEach.call(l.slides,function(E){E.style.height="auto",E.style.width=l.itemWidth+"px",o+=l.itemWidth,T=Math.max(E.offsetHeight,T)}),l.track.style.width=o+"px",l.trackWidth=o,l.isDrag=!1,l.preventClick=!1,l.move=!1,l.opt.resizeLock&&l.scrollTo(l.slide*l.itemWidth,0),(c||s)&&(l.bindArrows(),l.buildDots(),l.bindDrag()),l.updateControls(),l.emit(n?"refresh":"loaded")},i.bindDrag=function(){var n=this;n.mouse=n.mouse||n.handleMouse.bind(n);var s=function(){n.mouseDown=void 0,n.ele.classList.remove("drag"),n.isDrag&&(n.preventClick=!0),n.isDrag=!1};const l=function(){n.move=!0};var o={mouseup:s,mouseleave:s,mousedown:function(T){T.preventDefault(),T.stopPropagation(),n.mouseDown=T.clientX,n.ele.classList.add("drag"),n.move=!1,setTimeout(l,300)},touchstart:function(T){n.ele.classList.add("drag"),n.move=!1,setTimeout(l,300)},mousemove:n.mouse,click:function(T){n.preventClick&&n.move&&(T.preventDefault(),T.stopPropagation()),n.preventClick=!1,n.move=!1}};n.ele.classList.toggle("draggable",n.opt.draggable===!0),n.event(n.ele,"remove",o),n.opt.draggable&&n.event(n.ele,"add",o,{passive:n.opt.passiveListeners})},i.buildDots=function(){var n=this;if(!n.opt.dots){n.dots&&(n.dots.innerHTML="");return}if(typeof n.opt.dots=="string"?n.dots=document.querySelector(n.opt.dots):n.dots=n.opt.dots,!!n.dots){n.dots.innerHTML="",n.dots.setAttribute("role","tablist"),n.dots.classList.add("glider-dots");for(var s=0;s=s.trackWidth;s.opt.rewind||(s.arrows.prev&&(s.arrows.prev.classList.toggle("disabled",s.ele.scrollLeft<=0||l),s.arrows.prev.setAttribute("aria-disabled",s.arrows.prev.classList.contains("disabled"))),s.arrows.next&&(s.arrows.next.classList.toggle("disabled",Math.ceil(s.ele.scrollLeft+s.containerWidth)>=Math.floor(s.trackWidth)||l),s.arrows.next.setAttribute("aria-disabled",s.arrows.next.classList.contains("disabled")))),s.slide=Math.round(s.ele.scrollLeft/s.itemWidth),s.page=Math.round(s.ele.scrollLeft/s.containerWidth);var o=s.slide+Math.floor(Math.floor(s.opt.slidesToShow)/2),T=Math.floor(s.opt.slidesToShow)%2?0:o+1;Math.floor(s.opt.slidesToShow)===1&&(T=0),s.ele.scrollLeft+s.containerWidth>=Math.floor(s.trackWidth)&&(s.page=s.dots?s.dots.children.length-1:0),[].forEach.call(s.slides,function(c,D){var E=c.classList,L=E.contains("visible"),B=s.ele.scrollLeft,x=s.ele.scrollLeft+s.containerWidth,V=s.itemWidth*D,P=V+s.itemWidth;[].forEach.call(E,function($){/^left|right/.test($)&&E.remove($)}),E.toggle("active",s.slide===D),o===D||T&&T===D?E.add("center"):(E.remove("center"),E.add([D=Math.floor(B)&&Math.floor(P)<=Math.ceil(x);E.toggle("visible",y),y!==L&&s.emit("slide-"+(y?"visible":"hidden"),{slide:D})}),s.dots&&[].forEach.call(s.dots.children,function(c,D){c.classList.toggle("active",s.page===D)}),n&&s.opt.scrollLock&&(clearTimeout(s.scrollLock),s.scrollLock=setTimeout(function(){clearTimeout(s.scrollLock),Math.abs(s.ele.scrollLeft/s.itemWidth-s.slide)>.02&&(s.mouseDown||s.trackWidth>s.containerWidth+s.ele.scrollLeft&&s.scrollItem(s.getCurrentSlide()))},s.opt.scrollLockDelay||250))},i.getCurrentSlide=function(){var n=this;return n.round(n.ele.scrollLeft/n.itemWidth)},i.scrollItem=function(n,s,l){l&&l.preventDefault();var o=this,T=n;++o.animate_id;var c=o.slide,D;if(s===!0)n=Math.round(n*o.containerWidth/o.itemWidth),D=n*o.itemWidth;else{if(typeof n=="string"){var E=n==="prev";if(o.opt.slidesToScroll%1||o.opt.slidesToShow%1?n=o.getCurrentSlide():n=o.slide,E?n-=o.opt.slidesToScroll:n+=o.opt.slidesToScroll,o.opt.rewind){var L=o.ele.scrollLeft;n=E&&!L?o.slides.length:!E&&L+o.containerWidth>=Math.floor(o.trackWidth)?0:n}}n=Math.max(Math.min(n,o.slides.length),0),o.slide=n,D=o.itemWidth*n}return o.emit("scroll-item",{prevSlide:c,slide:n}),o.scrollTo(D,o.opt.duration*Math.abs(o.ele.scrollLeft-D),function(){o.updateControls(),o.emit("animated",{value:T,type:typeof T=="string"?"arrow":s?"dot":"slide"})}),!1},i.settingsBreakpoint=function(){var n=this,s=n._opt.responsive;if(s){s.sort(function(c,D){return D.breakpoint-c.breakpoint});for(var l=0;l=o.breakpoint)return n.breakpoint!==o.breakpoint?(n.opt=Object.assign({},n._opt,o.settings),n.breakpoint=o.breakpoint,!0):!1}}var T=n.breakpoint!==0;return n.opt=Object.assign({},n._opt),n.breakpoint=0,T},i.scrollTo=function(n,s,l){var o=this,T=new Date().getTime(),c=o.animate_id,D=function(){var E=new Date().getTime()-T;o.ele.scrollLeft=o.ele.scrollLeft+(n-o.ele.scrollLeft)*o.opt.easing(0,E,0,1,s),E{X(o,1)}),Fe()}i?(t=Ut(i,n(s)),Q(t.$$.fragment),z(t.$$.fragment,1),Y(t,r.parentNode,r)):t=null}else if(i){const o={};l&8&&(o.$$scope={dirty:l,ctx:s}),t.$set(o)}},i(s){d||(t&&z(t.$$.fragment,s),d=!0)},o(s){t&&U(t.$$.fragment,s),d=!1},d(s){s&&a(r),t&&X(t,s)}}}function kt(m){let t,r;const d=m[2].default,i=Ze(d,m,m[3],null);return{c(){t=v(m[1]||"div"),i&&i.c(),this.h()},l(n){t=p(n,(m[1]||"div").toUpperCase(),{class:!0});var s=ee(t);i&&i.l(s),s.forEach(a),this.h()},h(){al(m[1]||"div")(t,{class:"glider-contain"})},m(n,s){u(n,t,s),i&&i.m(t,null),r=!0},p(n,s){i&&i.p&&(!r||s&8)&&Qe(i,d,n,n[3],r?Xe(d,n[3],s,null):Ye(n[3]),null)},i(n){r||(z(i,n),r=!0)},o(n){U(i,n),r=!1},d(n){n&&a(t),i&&i.d(n)}}}function Tl(m){let t;const r=m[2].default,d=Ze(r,m,m[3],null);return{c(){d&&d.c()},l(i){d&&d.l(i)},m(i,n){d&&d.m(i,n),t=!0},p(i,n){d&&d.p&&(!t||n&8)&&Qe(d,r,i,i[3],t?Xe(r,i[3],n,null):Ye(i[3]),null)},i(i){t||(z(d,i),t=!0)},o(i){U(d,i),t=!1},d(i){d&&d.d(i)}}}function Ll(m){let t,r,d,i;const n=[_l,hl],s=[];function l(o,T){return o[0]?0:1}return t=l(m),r=s[t]=n[t](m),{c(){r.c(),d=Me()},l(o){r.l(o),d=Me()},m(o,T){s[t].m(o,T),u(o,d,T),i=!0},p(o,[T]){let c=t;t=l(o),t===c?s[t].p(o,T):(Je(),U(s[c],1,1,()=>{s[c]=null}),Fe(),r=s[t],r?r.p(o,T):(r=s[t]=n[t](o),r.c()),z(r,1),r.m(d.parentNode,d))},i(o){i||(z(r),i=!0)},o(o){U(r),i=!1},d(o){o&&a(d),s[t].d(o)}}}function Vl(m,t,r){let{$$slots:d={},$$scope:i}=t,{containerComponent:n}=t,{containerElement:s}=t;return m.$$set=l=>{"containerComponent"in l&&r(0,n=l.containerComponent),"containerElement"in l&&r(1,s=l.containerElement),"$$scope"in l&&r(3,i=l.$$scope)},[n,s,d,i]}class Hl extends re{constructor(t){super(),ae(this,t,Vl,Ll,ne,{containerComponent:0,containerElement:1})}}const El=m=>({}),qt=m=>({}),gl=m=>({}),Jt=m=>({});function Ft(m){let t,r;const d=m[38].iconLeft,i=Ze(d,m,m[43],Jt),n=i||Dl();return{c(){t=v("button"),n&&n.c(),this.h()},l(s){t=p(s,"BUTTON",{type:!0,class:!0,"aria-label":!0});var l=ee(t);n&&n.l(l),l.forEach(a),this.h()},h(){M(t,"type","button"),M(t,"class","glider-prev"),M(t,"aria-label","Previous")},m(s,l){u(s,t,l),n&&n.m(t,null),m[39](t),r=!0},p(s,l){i&&i.p&&(!r||l[1]&4096)&&Qe(i,d,s,s[43],r?Xe(d,s[43],l,gl):Ye(s[43]),Jt)},i(s){r||(z(n,s),r=!0)},o(s){U(n,s),r=!1},d(s){s&&a(t),n&&n.d(s),m[39](null)}}}function Dl(m){let t;return{c(){t=Pe("«")},l(r){t=Ge(r,"«")},m(r,d){u(r,t,d)},d(r){r&&a(t)}}}function $l(m){let t,r;const d=m[38].default,i=Ze(d,m,m[43],null);return{c(){t=v("div"),i&&i.c()},l(n){t=p(n,"DIV",{});var s=ee(t);i&&i.l(s),s.forEach(a)},m(n,s){u(n,t,s),i&&i.m(t,null),r=!0},p(n,s){i&&i.p&&(!r||s[1]&4096)&&Qe(i,d,n,n[43],r?Xe(d,n[43],s,null):Ye(n[43]),null)},i(n){r||(z(i,n),r=!0)},o(n){U(i,n),r=!1},d(n){n&&a(t),i&&i.d(n)}}}function bl(m){let t;const r=m[38].default,d=Ze(r,m,m[43],null);return{c(){d&&d.c()},l(i){d&&d.l(i)},m(i,n){d&&d.m(i,n),t=!0},p(i,n){d&&d.p&&(!t||n[1]&4096)&&Qe(d,r,i,i[43],t?Xe(r,i[43],n,null):Ye(i[43]),null)},i(i){t||(z(d,i),t=!0)},o(i){U(d,i),t=!1},d(i){d&&d.d(i)}}}function Zt(m){let t;return{c(){t=v("div")},l(r){t=p(r,"DIV",{}),ee(t).forEach(a)},m(r,d){u(r,t,d),m[41](t)},p:ie,d(r){r&&a(t),m[41](null)}}}function Qt(m){let t,r;const d=m[38].iconRight,i=Ze(d,m,m[43],qt),n=i||Cl();return{c(){t=v("button"),n&&n.c(),this.h()},l(s){t=p(s,"BUTTON",{type:!0,class:!0,"aria-label":!0});var l=ee(t);n&&n.l(l),l.forEach(a),this.h()},h(){M(t,"type","button"),M(t,"class","glider-next"),M(t,"aria-label","Next")},m(s,l){u(s,t,l),n&&n.m(t,null),m[42](t),r=!0},p(s,l){i&&i.p&&(!r||l[1]&4096)&&Qe(i,d,s,s[43],r?Xe(d,s[43],l,El):Ye(s[43]),qt)},i(s){r||(z(n,s),r=!0)},o(s){U(n,s),r=!1},d(s){s&&a(t),n&&n.d(s),m[42](null)}}}function Cl(m){let t;return{c(){t=Pe("»")},l(r){t=Ge(r,"»")},m(r,d){u(r,t,d)},d(r){r&&a(t)}}}function Al(m){let t,r,d,i,n,s,l,o,T,c=m[1]&&!m[4]&&Ft(m);const D=[bl,$l],E=[];function L(V,P){return V[5]?0:1}d=L(m),i=E[d]=D[d](m);let B=m[2]&&!m[3]&&Zt(m),x=m[1]&&!m[4]&&Qt(m);return{c(){c&&c.c(),t=h(),r=v("div"),i.c(),s=h(),B&&B.c(),l=h(),x&&x.c(),o=Me(),this.h()},l(V){c&&c.l(V),t=_(V),r=p(V,"DIV",{id:!0,class:!0});var P=ee(r);i.l(P),P.forEach(a),s=_(V),B&&B.l(V),l=_(V),x&&x.l(V),o=Me(),this.h()},h(){M(r,"id",m[0]),M(r,"class",n=m[12].class)},m(V,P){c&&c.m(V,P),u(V,t,P),u(V,r,P),E[d].m(r,null),m[40](r),u(V,s,P),B&&B.m(V,P),u(V,l,P),x&&x.m(V,P),u(V,o,P),T=!0},p(V,P){V[1]&&!V[4]?c?(c.p(V,P),P[0]&18&&z(c,1)):(c=Ft(V),c.c(),z(c,1),c.m(t.parentNode,t)):c&&(Je(),U(c,1,1,()=>{c=null}),Fe());let y=d;d=L(V),d===y?E[d].p(V,P):(Je(),U(E[y],1,1,()=>{E[y]=null}),Fe(),i=E[d],i?i.p(V,P):(i=E[d]=D[d](V),i.c()),z(i,1),i.m(r,null)),(!T||P[0]&1)&&M(r,"id",V[0]),(!T||P[0]&4096&&n!==(n=V[12].class))&&M(r,"class",n),V[2]&&!V[3]?B?B.p(V,P):(B=Zt(V),B.c(),B.m(l.parentNode,l)):B&&(B.d(1),B=null),V[1]&&!V[4]?x?(x.p(V,P),P[0]&18&&z(x,1)):(x=Qt(V),x.c(),z(x,1),x.m(o.parentNode,o)):x&&(Je(),U(x,1,1,()=>{x=null}),Fe())},i(V){T||(z(c),z(i),z(x),T=!0)},o(V){U(c),U(i),U(x),T=!1},d(V){V&&(a(t),a(r),a(s),a(l),a(o)),c&&c.d(V),E[d].d(),m[40](null),B&&B.d(V),x&&x.d(V)}}}function xl(m){let t,r;return t=new Hl({props:{containerComponent:m[6],containerElement:m[7],$$slots:{default:[Al]},$$scope:{ctx:m}}}),{c(){Q(t.$$.fragment)},l(d){K(t.$$.fragment,d)},m(d,i){Y(t,d,i),r=!0},p(d,i){const n={};i[0]&64&&(n.containerComponent=d[6]),i[0]&128&&(n.containerElement=d[7]),i[0]&7999|i[1]&4096&&(n.$$scope={dirty:i,ctx:d}),t.$set(n)},i(d){r||(z(t.$$.fragment,d),r=!0)},o(d){U(t.$$.fragment,d),r=!1},d(d){X(t,d)}}}function Il(m,t,r){let{$$slots:d={},$$scope:i}=t,{id:n}=t,{hasArrows:s}=t,{hasDots:l}=t,{scrollToSlide:o}=t,{scrollToPage:T}=t,{slidesToShow:c}=t,{slidesToScroll:D}=t,{itemWidth:E}=t,{exactWidth:L}=t,{resizeLock:B}=t,{rewind:x}=t,{duration:V}=t,{dots:P}=t,{arrows:y}=t,{draggable:$}=t,{dragVelocity:Z}=t,{scrollPropagate:R}=t,{scrollLock:b}=t,{skipTrack:W}=t,{scrollLockDelay:S}=t,{responsive:g}=t,{containerComponent:J}=t,{containerElement:j}=t,{easing:I}=t,{onLoad:q}=t,{onAnimated:O}=t,{onRemove:A}=t,{onSlideVisible:F}=t,{onRefresh:G}=t,{onAdd:C}=t,{onDestroy:N}=t,{onSlideHidden:e}=t;const f=()=>{const k={id:n,hasArrows:s,hasDots:l,scrollToSlide:o,scrollToPage:T,slidesToShow:c,slidesToScroll:D,itemWidth:E,exactWidth:L,resizeLock:B,rewind:x,duration:V,dots:P,arrows:y,draggable:$,dragVelocity:Z,scrollPropagate:R,scrollLock:b,skipTrack:W,scrollLockDelay:S,responsive:g,containerComponent:J,containerElement:j,easing:I,onLoad:q,onAnimated:O,onRemove:A,onSlideVisible:F,onRefresh:G,onAdd:C,onDestroy:N,onSlideHidden:e};for(let se in k)k[se]===void 0&&delete k[se];return k},Re=()=>{const k=f();for(let se of["id","containerComponent","containerElement","hasArrows","arrows","hasDots","dots","scrollToSlide","scrollToPage","skipTrack","onLoad","onSlideVisible","onAnimated","onRemove","onRefresh","onAdd","onDestroy","onSlideHidden"])delete k[se];return k},he=({arrows:k,hasArrows:se,dots:lt,hasDots:Le,nextButtonEl:$e,prevButtonEl:nt,dotsEl:st,...ge})=>({...ge,skipTrack:!0,arrows:se&&{next:k&&k.next||$e,prev:k&&k.prev||nt}||void 0,dots:Le&<||st||void 0});let Ve,ce,me,pe,de;const He=()=>de,Ke=(k,se)=>{pe&&typeof se=="function"&&pe.addEventListener(k,se)},_e=(k,se)=>{pe&&typeof se=="function"&&pe.removeEventListener(k,se)};let ve;const Oe=(k=!1)=>{if(ve)for(let se in ve)_e(se,ve[se]);if(k){ve=void 0;return}ve={"glider-slide-visible":F==null?void 0:F.bind(null),"glider-animated":O==null?void 0:O.bind(null),"glider-remove":A==null?void 0:A.bind(null),"glider-refresh":G==null?void 0:G.bind(null),"glider-add":C==null?void 0:C.bind(null),"glider-destroy":N==null?void 0:N.bind(null),"glider-slide-hidden":e==null?void 0:e.bind(null)};for(let se in ve)Ke(se,ve[se])};yt(()=>{if(pe&&!de){const k=Re();de=new Ml(pe,he({...k,arrows:y,hasArrows:s,dots:P,hasDots:l,nextButtonEl:ce,prevButtonEl:Ve,dotsEl:me})),q&&q.call(de,new CustomEvent("glider-loaded",{detail:{target:pe}})),o?de.scrollItem(o-1):T&&de.scrollItem(T-1,!0),Oe(!1)}});const et=()=>{if(de){const k=Re();de.setOption(he({...k,arrows:y,hasArrows:s,dots:P,hasDots:l,nextButtonEl:ce,prevButtonEl:Ve,dotsEl:me}),!0),de.refresh(!0)}},Ee=Oe.bind(null,!1);nl(()=>{de==null||de.refresh(!0)}),ll(()=>{Oe(!0),de==null||de.destroy()});function tt(k){qe[k?"unshift":"push"](()=>{Ve=k,r(8,Ve)})}function Te(k){qe[k?"unshift":"push"](()=>{pe=k,r(11,pe)})}function De(k){qe[k?"unshift":"push"](()=>{me=k,r(10,me)})}function it(k){qe[k?"unshift":"push"](()=>{ce=k,r(9,ce)})}return m.$$set=k=>{r(12,t=Wt(Wt({},t),zt(k))),"id"in k&&r(0,n=k.id),"hasArrows"in k&&r(1,s=k.hasArrows),"hasDots"in k&&r(2,l=k.hasDots),"scrollToSlide"in k&&r(13,o=k.scrollToSlide),"scrollToPage"in k&&r(14,T=k.scrollToPage),"slidesToShow"in k&&r(15,c=k.slidesToShow),"slidesToScroll"in k&&r(16,D=k.slidesToScroll),"itemWidth"in k&&r(17,E=k.itemWidth),"exactWidth"in k&&r(18,L=k.exactWidth),"resizeLock"in k&&r(19,B=k.resizeLock),"rewind"in k&&r(20,x=k.rewind),"duration"in k&&r(21,V=k.duration),"dots"in k&&r(3,P=k.dots),"arrows"in k&&r(4,y=k.arrows),"draggable"in k&&r(22,$=k.draggable),"dragVelocity"in k&&r(23,Z=k.dragVelocity),"scrollPropagate"in k&&r(24,R=k.scrollPropagate),"scrollLock"in k&&r(25,b=k.scrollLock),"skipTrack"in k&&r(5,W=k.skipTrack),"scrollLockDelay"in k&&r(26,S=k.scrollLockDelay),"responsive"in k&&r(27,g=k.responsive),"containerComponent"in k&&r(6,J=k.containerComponent),"containerElement"in k&&r(7,j=k.containerElement),"easing"in k&&r(28,I=k.easing),"onLoad"in k&&r(29,q=k.onLoad),"onAnimated"in k&&r(30,O=k.onAnimated),"onRemove"in k&&r(31,A=k.onRemove),"onSlideVisible"in k&&r(32,F=k.onSlideVisible),"onRefresh"in k&&r(33,G=k.onRefresh),"onAdd"in k&&r(34,C=k.onAdd),"onDestroy"in k&&r(35,N=k.onDestroy),"onSlideHidden"in k&&r(36,e=k.onSlideHidden),"$$scope"in k&&r(43,i=k.$$scope)},m.$$.update=()=>{m.$$.dirty[0]&536838174&&et(),m.$$.dirty[0]&1073741824|m.$$.dirty[1]&63&&Ee(C,O,N,G,A,e,F)},t=zt(t),[n,s,l,P,y,W,J,j,Ve,ce,me,pe,t,o,T,c,D,E,L,B,x,V,$,Z,R,b,S,g,I,q,O,A,F,G,C,N,e,He,d,tt,Te,De,it,i]}class fe extends re{constructor(t){super(),ae(this,t,Il,xl,ne,{id:0,hasArrows:1,hasDots:2,scrollToSlide:13,scrollToPage:14,slidesToShow:15,slidesToScroll:16,itemWidth:17,exactWidth:18,resizeLock:19,rewind:20,duration:21,dots:3,arrows:4,draggable:22,dragVelocity:23,scrollPropagate:24,scrollLock:25,skipTrack:5,scrollLockDelay:26,responsive:27,containerComponent:6,containerElement:7,easing:28,onLoad:29,onAnimated:30,onRemove:31,onSlideVisible:32,onRefresh:33,onAdd:34,onDestroy:35,onSlideHidden:36,getGliderJs:37},null,[-1,-1])}get getGliderJs(){return this.$$.ctx[37]}}const Bl=(m,t,r)=>{const d=m[t];return d?typeof d=="function"?d():Promise.resolve(d):new Promise((i,n)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==r?". Note that variables only represent file names one level deep.":""))))})};function Yt(m){let t,r,d="View Source Code",i,n,s,l;return{c(){t=v("details"),r=v("summary"),r.textContent=d,i=h(),n=v("pre"),s=v("code"),l=Pe(m[0])},l(o){t=p(o,"DETAILS",{});var T=ee(t);r=p(T,"SUMMARY",{"data-svelte-h":!0}),H(r)!=="svelte-vayu5d"&&(r.textContent=d),i=_(T),n=p(T,"PRE",{});var c=ee(n);s=p(c,"CODE",{});var D=ee(s);l=Ge(D,m[0]),D.forEach(a),c.forEach(a),T.forEach(a)},m(o,T){u(o,t,T),w(t,r),w(t,i),w(t,n),w(n,s),w(s,l)},p(o,T){T&1&&St(l,o[0])},d(o){o&&a(t)}}}function kl(m){let t,r=m[0]&&Yt(m);return{c(){r&&r.c(),t=Me()},l(d){r&&r.l(d),t=Me()},m(d,i){r&&r.m(d,i),u(d,t,i)},p(d,[i]){d[0]?r?r.p(d,i):(r=Yt(d),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},i:ie,o:ie,d(d){d&&a(t),r&&r.d(d)}}}function wl(m,t,r){let{example:d}=t,i;return(async()=>{r(0,i=(await Bl(Object.assign({"../AutoplayGlider.svelte":()=>ue(()=>import("../chunks/AutoplayGlider.gxSk7Yji.js"),[],import.meta.url),"../CustomElementArrowsGliderDomSelector.svelte":()=>ue(()=>import("../chunks/CustomElementArrowsGliderDomSelector.BfJKlfXV.js"),[],import.meta.url),"../CustomElementArrowsGliderSlots.svelte":()=>ue(()=>import("../chunks/CustomElementArrowsGliderSlots.D7bFAva1.js"),[],import.meta.url),"../CustomEventsGlider.svelte":()=>ue(()=>import("../chunks/CustomEventsGlider.Dp8E6u1f.js"),[],import.meta.url),"../DynamicDataGlider.svelte":()=>ue(()=>import("../chunks/DynamicDataGlider.Cd5UyDeT.js"),[],import.meta.url),"../FractionalSlidesGlider.svelte":()=>ue(()=>import("../chunks/FractionalSlidesGlider.BI2n-eao.js"),[],import.meta.url),"../GliderJsMethods.svelte":()=>ue(()=>import("../chunks/GliderJsMethods.QxLOxWzX.js"),[],import.meta.url),"../MultipleItemsGlider.svelte":()=>ue(()=>import("../chunks/MultipleItemsGlider.C1631XqC.js"),[],import.meta.url),"../PerspectiveViewGlider.svelte":()=>ue(()=>import("../chunks/PerspectiveViewGlider.Cnfi0g63.js"),[],import.meta.url),"../RemountingGlider.svelte":()=>ue(()=>import("../chunks/RemountingGlider.DCjiWw5I.js"),[],import.meta.url),"../ResponsiveGlider.svelte":()=>ue(()=>import("../chunks/ResponsiveGlider.F3L_-jXr.js"),[],import.meta.url),"../ScrollToGlider.svelte":()=>ue(()=>import("../chunks/ScrollToGlider.CioNY5-3.js"),[],import.meta.url),"../SingleItemGlider.svelte":()=>ue(()=>import("../chunks/SingleItemGlider.DaUgZU7h.js"),[],import.meta.url),"../SkipTrackGlider.svelte":()=>ue(()=>import("../chunks/SkipTrackGlider.Ds6ga1YL.js"),[],import.meta.url),"../UpdatingPropsGlider.svelte":()=>ue(()=>import("../chunks/UpdatingPropsGlider.y2tMw-c3.js"),[],import.meta.url)}),`../${d}.svelte`,2)).default),r(0,i=i.replaceAll("from '..'","from '@warren-bank/svelte-glider'"))})(),m.$$set=s=>{"example"in s&&r(1,d=s.example)},[i,d]}class oe extends re{constructor(t){super(),ae(this,t,wl,kl,ne,{example:1})}}function yl(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",E,L,B="5",x,V,P="6",y,$,Z="7",R,b,W="8",S,g,J="9",j,I,q="10",O,A,F="11",G,C,N="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,E=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=W,S=h(),g=v("div"),g.innerHTML=J,j=h(),I=v("div"),I.innerHTML=q,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=N,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),E=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=W),S=_(e),g=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(g)!=="svelte-kvy8xs"&&(g.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=q),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=N),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(g,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,E,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,g,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(E),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(g),a(j),a(I),a(O),a(A),a(G),a(C))}}}function Sl(m){let t,r,d,i,n;return r=new fe({props:{class:"glider-container",draggable:!0,hasArrows:!0,hasDots:!0,slidesToShow:3,$$slots:{default:[yl]},$$scope:{ctx:m}}}),i=new oe({props:{example:Pl}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(s){t=p(s,"DIV",{class:!0});var l=ee(t);K(r.$$.fragment,l),d=_(l),K(i.$$.fragment,l),l.forEach(a),this.h()},h(){M(t,"class","container")},m(s,l){u(s,t,l),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(s,[l]){const o={};l&1&&(o.$$scope={dirty:l,ctx:s}),r.$set(o)},i(s){n||(z(r.$$.fragment,s),z(i.$$.fragment,s),n=!0)},o(s){U(r.$$.fragment,s),U(i.$$.fragment,s),n=!1},d(s){s&&a(t),X(r),X(i)}}}const Pl="MultipleItemsGlider";class Gl extends re{constructor(t){super(),ae(this,t,null,Sl,ne,{})}}function Rl(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",E,L,B="5",x,V,P="6",y,$,Z="7",R,b,W="8",S,g,J="9",j,I,q="10",O,A,F="11",G,C,N="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,E=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=W,S=h(),g=v("div"),g.innerHTML=J,j=h(),I=v("div"),I.innerHTML=q,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=N,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),E=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=W),S=_(e),g=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(g)!=="svelte-kvy8xs"&&(g.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=q),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=N),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(g,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,E,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,g,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(E),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(g),a(j),a(I),a(O),a(A),a(G),a(C))}}}function Ol(m){let t,r,d,i,n;return r=new fe({props:{class:"glider-container",draggable:!0,hasDots:!0,slidesToShow:1,scrollLock:!0,$$slots:{default:[Rl]},$$scope:{ctx:m}}}),i=new oe({props:{example:jl}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(s){t=p(s,"DIV",{class:!0});var l=ee(t);K(r.$$.fragment,l),d=_(l),K(i.$$.fragment,l),l.forEach(a),this.h()},h(){M(t,"class","container")},m(s,l){u(s,t,l),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(s,[l]){const o={};l&1&&(o.$$scope={dirty:l,ctx:s}),r.$set(o)},i(s){n||(z(r.$$.fragment,s),z(i.$$.fragment,s),n=!0)},o(s){U(r.$$.fragment,s),U(i.$$.fragment,s),n=!1},d(s){s&&a(t),X(r),X(i)}}}const jl="SingleItemGlider";class Wl extends re{constructor(t){super(),ae(this,t,null,Ol,ne,{})}}function zl(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",E,L,B="5",x,V,P="6",y,$,Z="7",R,b,W="8",S,g,J="9",j,I,q="10",O,A,F="11",G,C,N="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,E=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=W,S=h(),g=v("div"),g.innerHTML=J,j=h(),I=v("div"),I.innerHTML=q,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=N,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),E=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=W),S=_(e),g=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(g)!=="svelte-kvy8xs"&&(g.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=q),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=N),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(g,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,E,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,g,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(E),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(g),a(j),a(I),a(O),a(A),a(G),a(C))}}}function Ul(m){let t,r,d,i,n;return r=new fe({props:{class:"glider-container",hasArrows:!0,hasDots:!0,slidesToShow:1,slidesToScroll:1,responsive:[{breakpoint:775,settings:{slidesToShow:"auto",slidesToScroll:"auto",itemWidth:150,duration:.25}}],$$slots:{default:[zl]},$$scope:{ctx:m}}}),i=new oe({props:{example:Nl}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(s){t=p(s,"DIV",{class:!0});var l=ee(t);K(r.$$.fragment,l),d=_(l),K(i.$$.fragment,l),l.forEach(a),this.h()},h(){M(t,"class","container")},m(s,l){u(s,t,l),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(s,[l]){const o={};l&1&&(o.$$scope={dirty:l,ctx:s}),r.$set(o)},i(s){n||(z(r.$$.fragment,s),z(i.$$.fragment,s),n=!0)},o(s){U(r.$$.fragment,s),U(i.$$.fragment,s),n=!1},d(s){s&&a(t),X(r),X(i)}}}const Nl="ResponsiveGlider";class ql extends re{constructor(t){super(),ae(this,t,null,Ul,ne,{})}}function Jl(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",E,L,B="5",x,V,P="6",y,$,Z="7",R,b,W="8",S,g,J="9",j,I,q="10",O,A,F="11",G,C,N="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,E=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=W,S=h(),g=v("div"),g.innerHTML=J,j=h(),I=v("div"),I.innerHTML=q,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=N,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),E=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=W),S=_(e),g=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(g)!=="svelte-kvy8xs"&&(g.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=q),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=N),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(g,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,E,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,g,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(E),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(g),a(j),a(I),a(O),a(A),a(G),a(C))}}}function Fl(m){let t,r,d,i,n,s={class:"glider-container",draggable:!0,hasDots:!0,slidesToShow:1,scrollLock:!0,$$slots:{default:[Jl]},$$scope:{ctx:m}};return r=new fe({props:s}),m[1](r),i=new oe({props:{example:Zl}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(l){t=p(l,"DIV",{class:!0});var o=ee(t);K(r.$$.fragment,o),d=_(o),K(i.$$.fragment,o),o.forEach(a),this.h()},h(){M(t,"class","container")},m(l,o){u(l,t,o),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(l,[o]){const T={};o&64&&(T.$$scope={dirty:o,ctx:l}),r.$set(T)},i(l){n||(z(r.$$.fragment,l),z(i.$$.fragment,l),n=!0)},o(l){U(r.$$.fragment,l),U(i.$$.fragment,l),n=!1},d(l){l&&a(t),m[1](null),X(r),X(i)}}}const Zl="AutoplayGlider",Ql=5e3,Yl=11;function Xl(m,t,r){let d=0,i,n;const s=()=>{d=setInterval(()=>{let T=n.page;T{d>0&&(clearInterval(d),d=-1)};yt(()=>{n=i==null?void 0:i.getGliderJs(),n&&!d&&s()}),ll(l);function o(T){qe[T?"unshift":"push"](()=>{i=T,r(0,i)})}return[i,o]}class Kl extends re{constructor(t){super(),ae(this,t,Xl,Fl,ne,{})}}function es(m,t,r){const d=m.slice();return d[2]=t[r],d[4]=r,d}function ts(m){let t,r=m[4]+1+"",d;return{c(){t=v("option"),d=Pe(r),this.h()},l(i){t=p(i,"OPTION",{});var n=ee(t);d=Ge(n,r),n.forEach(a),this.h()},h(){t.__value=m[4]+1,ul(t,t.__value)},m(i,n){u(i,t,n),w(t,d)},p:ie,d(i){i&&a(t)}}}function ls(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",E,L,B="5",x,V,P="6",y,$,Z="7",R,b,W="8",S,g,J="9",j,I,q="10",O,A,F="11",G,C,N="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,E=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=W,S=h(),g=v("div"),g.innerHTML=J,j=h(),I=v("div"),I.innerHTML=q,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=N,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),E=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=W),S=_(e),g=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(g)!=="svelte-kvy8xs"&&(g.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=q),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=N),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(g,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,E,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,g,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(E),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(g),a(j),a(I),a(O),a(A),a(G),a(C))}}}function ss(m){let t,r,d,i,n,s,l,o,T,c,D=wt(Array(4)),E=[];for(let L=0;Lm[1].call(d)),M(t,"class","container")},m(L,B){u(L,t,B),w(t,r),w(t,d);for(let x=0;x{if(i){const l=Math.floor(Math.random()*12);i.scrollItem(l)}};yt(()=>{i=d==null?void 0:d.getGliderJs()});function s(l){qe[l?"unshift":"push"](()=>{d=l,r(0,d)})}return[d,n,s]}class os extends re{constructor(t){super(),ae(this,t,fs,ds,ne,{})}}function cs(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",E,L,B="5",x,V,P="6",y,$,Z="7",R,b,W="8",S,g,J="9",j,I,q="10",O,A,F="11",G,C,N="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,E=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=W,S=h(),g=v("div"),g.innerHTML=J,j=h(),I=v("div"),I.innerHTML=q,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=N,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-bkzh6i"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-umu78x"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-gpp0i8"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1a3qmz3"&&(c.innerHTML=D),E=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-1qo5vbi"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-thqc2t"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-156l03o"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-14btzg3"&&(b.innerHTML=W),S=_(e),g=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(g)!=="svelte-1beya5u"&&(g.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-xw9fty"&&(I.innerHTML=q),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-zs7mfx"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-qkpbt4"&&(C.innerHTML=N),this.h()},h(){M(t,"class","slide-outer"),M(i,"class","slide-outer"),M(l,"class","slide-outer"),M(c,"class","slide-outer"),M(L,"class","slide-outer"),M(V,"class","slide-outer"),M($,"class","slide-outer"),M(b,"class","slide-outer"),M(g,"class","slide-outer"),M(I,"class","slide-outer"),M(A,"class","slide-outer"),M(C,"class","slide-outer")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,E,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,g,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(E),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(g),a(j),a(I),a(O),a(A),a(G),a(C))}}}function vs(m){let t,r,d,i,n;return r=new fe({props:{class:"glider-perspective",draggable:!0,hasDots:!0,slidesToShow:5,slidesToScroll:1,$$slots:{default:[cs]},$$scope:{ctx:m}}}),i=new oe({props:{example:ps}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(s){t=p(s,"DIV",{class:!0});var l=ee(t);K(r.$$.fragment,l),d=_(l),K(i.$$.fragment,l),l.forEach(a),this.h()},h(){M(t,"class","container")},m(s,l){u(s,t,l),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(s,[l]){const o={};l&1&&(o.$$scope={dirty:l,ctx:s}),r.$set(o)},i(s){n||(z(r.$$.fragment,s),z(i.$$.fragment,s),n=!0)},o(s){U(r.$$.fragment,s),U(i.$$.fragment,s),n=!1},d(s){s&&a(t),X(r),X(i)}}}const ps="PerspectiveViewGlider";class ms extends re{constructor(t){super(),ae(this,t,null,vs,ne,{})}}function Ms(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",E,L,B="5",x,V,P="6",y,$,Z="7",R,b,W="8",S,g,J="9",j,I,q="10",O,A,F="11",G,C,N="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,E=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=W,S=h(),g=v("div"),g.innerHTML=J,j=h(),I=v("div"),I.innerHTML=q,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=N,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),E=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=W),S=_(e),g=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(g)!=="svelte-kvy8xs"&&(g.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=q),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=N),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(g,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,E,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,g,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(E),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(g),a(j),a(I),a(O),a(A),a(G),a(C))}}}function hs(m){let t,r,d,i,n;return r=new fe({props:{class:"glider-container",draggable:!0,hasDots:!0,slidesToShow:3.5,slidesToScroll:1,scrollToSlide:5,$$slots:{default:[Ms]},$$scope:{ctx:m}}}),i=new oe({props:{example:_s}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(s){t=p(s,"DIV",{class:!0});var l=ee(t);K(r.$$.fragment,l),d=_(l),K(i.$$.fragment,l),l.forEach(a),this.h()},h(){M(t,"class","container")},m(s,l){u(s,t,l),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(s,[l]){const o={};l&1&&(o.$$scope={dirty:l,ctx:s}),r.$set(o)},i(s){n||(z(r.$$.fragment,s),z(i.$$.fragment,s),n=!0)},o(s){U(r.$$.fragment,s),U(i.$$.fragment,s),n=!1},d(s){s&&a(t),X(r),X(i)}}}const _s="ScrollToGlider";class Ts extends re{constructor(t){super(),ae(this,t,null,hs,ne,{})}}function Ls(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",E,L,B="5",x,V,P="6",y,$,Z="7",R,b,W="8",S,g,J="9",j,I,q="10",O,A,F="11",G,C,N="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,E=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=W,S=h(),g=v("div"),g.innerHTML=J,j=h(),I=v("div"),I.innerHTML=q,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=N,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),E=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=W),S=_(e),g=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(g)!=="svelte-kvy8xs"&&(g.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=q),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=N),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(g,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,E,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,g,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(E),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(g),a(j),a(I),a(O),a(A),a(G),a(C))}}}function Vs(m){let t,r,d,i,n;return r=new fe({props:{class:"glider-container",draggable:!0,hasArrows:!0,hasDots:!0,slidesToShow:5.5,slidesToScroll:1,$$slots:{default:[Ls]},$$scope:{ctx:m}}}),i=new oe({props:{example:Hs}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(s){t=p(s,"DIV",{class:!0});var l=ee(t);K(r.$$.fragment,l),d=_(l),K(i.$$.fragment,l),l.forEach(a),this.h()},h(){M(t,"class","container")},m(s,l){u(s,t,l),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(s,[l]){const o={};l&1&&(o.$$scope={dirty:l,ctx:s}),r.$set(o)},i(s){n||(z(r.$$.fragment,s),z(i.$$.fragment,s),n=!0)},o(s){U(r.$$.fragment,s),U(i.$$.fragment,s),n=!1},d(s){s&&a(t),X(r),X(i)}}}const Hs="FractionalSlidesGlider";class Es extends re{constructor(t){super(),ae(this,t,null,Vs,ne,{})}}function Xt(m){let t,r;return{c(){t=v("h5"),r=Pe(m[0]),this.h()},l(d){t=p(d,"H5",{class:!0});var i=ee(t);r=Ge(i,m[0]),i.forEach(a),this.h()},h(){M(t,"class","svelte-1vjpf7d")},m(d,i){u(d,t,i),w(t,r)},p(d,i){i&1&&St(r,d[0])},d(d){d&&a(t)}}}function gs(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",E,L,B="5",x,V,P="6",y,$,Z="7",R,b,W="8",S,g,J="9",j,I,q="10",O,A,F="11",G,C,N="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,E=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=W,S=h(),g=v("div"),g.innerHTML=J,j=h(),I=v("div"),I.innerHTML=q,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=N,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),E=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=W),S=_(e),g=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(g)!=="svelte-kvy8xs"&&(g.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=q),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=N),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(g,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,E,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,g,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(E),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(g),a(j),a(I),a(O),a(A),a(G),a(C))}}}function Ds(m){let t,r,d,i,n,s,l=m[0]&&Xt(m);return d=new fe({props:{class:"glider-container",draggable:!0,hasDots:!0,slidesToShow:3,onLoad:m[2],onSlideVisible:m[3],onSlideHidden:m[4],onRefresh:m[5],$$slots:{default:[gs]},$$scope:{ctx:m}}}),n=new oe({props:{example:$s}}),{c(){t=v("div"),l&&l.c(),r=h(),Q(d.$$.fragment),i=h(),Q(n.$$.fragment),this.h()},l(o){t=p(o,"DIV",{class:!0});var T=ee(t);l&&l.l(T),r=_(T),K(d.$$.fragment,T),i=_(T),K(n.$$.fragment,T),T.forEach(a),this.h()},h(){M(t,"class","container svelte-1vjpf7d")},m(o,T){u(o,t,T),l&&l.m(t,null),w(t,r),Y(d,t,null),w(t,i),Y(n,t,null),s=!0},p(o,[T]){o[0]?l?l.p(o,T):(l=Xt(o),l.c(),l.m(t,r)):l&&(l.d(1),l=null);const c={};T&128&&(c.$$scope={dirty:T,ctx:o}),d.$set(c)},i(o){s||(z(d.$$.fragment,o),z(n.$$.fragment,o),s=!0)},o(o){U(d.$$.fragment,o),U(n.$$.fragment,o),s=!1},d(o){o&&a(t),l&&l.d(),X(d),X(n)}}}const $s="CustomEventsGlider",bs=5e3;function Cs(m,t,r){let d=null,i=0;const n=(c,D)=>{i>0&&(clearTimeout(i),i=0),r(0,d=c+(D||D===0?`: ${JSON.stringify(D,null,2)}`:"")),i=setTimeout(()=>{r(0,d=null)},bs)};return[d,n,c=>{n("Loaded",[c.detail.target.tagName,...c.detail.target.classList].join("."))},c=>{n("Slide Visible",c.detail.slide)},c=>{n("Slide Hidden",c.detail.slide)},()=>{n("Refresh")}]}class As extends re{constructor(t){super(),ae(this,t,Cs,Ds,ne,{})}}function xs(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",E,L,B="5",x,V,P="6",y,$,Z="7",R,b,W="8",S,g,J="9",j,I,q="10",O,A,F="11",G,C,N="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,E=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=W,S=h(),g=v("div"),g.innerHTML=J,j=h(),I=v("div"),I.innerHTML=q,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=N,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),E=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=W),S=_(e),g=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(g)!=="svelte-kvy8xs"&&(g.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=q),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=N),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(g,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,E,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,g,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(E),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(g),a(j),a(I),a(O),a(A),a(G),a(C))}}}function Is(m){let t,r='';return{c(){t=v("button"),t.innerHTML=r,this.h()},l(d){t=p(d,"BUTTON",{slot:!0,type:!0,"aria-label":!0,class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ib087p"&&(t.innerHTML=r),this.h()},h(){M(t,"slot","iconLeft"),M(t,"type","button"),M(t,"aria-label","Previous"),M(t,"class","custom-arrow prev svelte-1teanvu")},m(d,i){u(d,t,i)},p:ie,d(d){d&&a(t)}}}function Bs(m){let t,r='';return{c(){t=v("button"),t.innerHTML=r,this.h()},l(d){t=p(d,"BUTTON",{slot:!0,type:!0,"aria-label":!0,class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ws2xgz"&&(t.innerHTML=r),this.h()},h(){M(t,"slot","iconRight"),M(t,"type","button"),M(t,"aria-label","Next"),M(t,"class","custom-arrow next svelte-1teanvu")},m(d,i){u(d,t,i)},p:ie,d(d){d&&a(t)}}}function ks(m){let t,r,d,i,n;return r=new fe({props:{class:"glider-container",draggable:!0,hasArrows:!0,hasDots:!0,slidesToShow:1,scrollLock:!0,$$slots:{iconRight:[Bs],iconLeft:[Is],default:[xs]},$$scope:{ctx:m}}}),i=new oe({props:{example:ws}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(s){t=p(s,"DIV",{class:!0});var l=ee(t);K(r.$$.fragment,l),d=_(l),K(i.$$.fragment,l),l.forEach(a),this.h()},h(){M(t,"class","container")},m(s,l){u(s,t,l),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(s,[l]){const o={};l&1&&(o.$$scope={dirty:l,ctx:s}),r.$set(o)},i(s){n||(z(r.$$.fragment,s),z(i.$$.fragment,s),n=!0)},o(s){U(r.$$.fragment,s),U(i.$$.fragment,s),n=!1},d(s){s&&a(t),X(r),X(i)}}}const ws="CustomElementArrowsGliderSlots";class ys extends re{constructor(t){super(),ae(this,t,null,ks,ne,{})}}function Ss(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",E,L,B="5",x,V,P="6",y,$,Z="7",R,b,W="8",S,g,J="9",j,I,q="10",O,A,F="11",G,C,N="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,E=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=W,S=h(),g=v("div"),g.innerHTML=J,j=h(),I=v("div"),I.innerHTML=q,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=N,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),E=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=W),S=_(e),g=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(g)!=="svelte-kvy8xs"&&(g.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=q),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=N),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(g,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,E,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,g,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(E),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(g),a(j),a(I),a(O),a(A),a(G),a(C))}}}function Ps(m){let t,r,d,i,n=' ',s,l,o;return r=new fe({props:{class:"glider-container",draggable:!0,hasArrows:!0,arrows:{prev:"div.container > div.custom-arrows > button.custom-arrow.prev",next:"div.container > div.custom-arrows > button.custom-arrow.next"},hasDots:!0,slidesToShow:1,scrollLock:!0,$$slots:{default:[Ss]},$$scope:{ctx:m}}}),l=new oe({props:{example:Gs}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),i=v("div"),i.innerHTML=n,s=h(),Q(l.$$.fragment),this.h()},l(T){t=p(T,"DIV",{class:!0});var c=ee(t);K(r.$$.fragment,c),d=_(c),i=p(c,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1fd5g7j"&&(i.innerHTML=n),s=_(c),K(l.$$.fragment,c),c.forEach(a),this.h()},h(){M(i,"class","custom-arrows"),M(t,"class","container")},m(T,c){u(T,t,c),Y(r,t,null),w(t,d),w(t,i),w(t,s),Y(l,t,null),o=!0},p(T,[c]){const D={};c&1&&(D.$$scope={dirty:c,ctx:T}),r.$set(D)},i(T){o||(z(r.$$.fragment,T),z(l.$$.fragment,T),o=!0)},o(T){U(r.$$.fragment,T),U(l.$$.fragment,T),o=!1},d(T){T&&a(t),X(r),X(l)}}}const Gs="CustomElementArrowsGliderDomSelector";class Rs extends re{constructor(t){super(),ae(this,t,null,Ps,ne,{})}}function Kt(m){let t,r;return t=new fe({props:{class:"glider-container",draggable:!0,hasDots:!0,slidesToShow:1,scrollLock:!0,$$slots:{default:[Os]},$$scope:{ctx:m}}}),{c(){Q(t.$$.fragment)},l(d){K(t.$$.fragment,d)},m(d,i){Y(t,d,i),r=!0},i(d){r||(z(t.$$.fragment,d),r=!0)},o(d){U(t.$$.fragment,d),r=!1},d(d){X(t,d)}}}function Os(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",E,L,B="5",x,V,P="6",y,$,Z="7",R,b,W="8",S,g,J="9",j,I,q="10",O,A,F="11",G,C,N="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,E=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=W,S=h(),g=v("div"),g.innerHTML=J,j=h(),I=v("div"),I.innerHTML=q,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=N,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-3p3avc"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-bowmkb"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-6g8kpq"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-mds4wp"&&(c.innerHTML=D),E=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-1xgm5s4"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-1rvffev"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-caehmy"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-1wbew2d"&&(b.innerHTML=W),S=_(e),g=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(g)!=="svelte-1iy4kao"&&(g.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1kuldj0"&&(I.innerHTML=q),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-1et7ye7"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-pn02nq"&&(C.innerHTML=N),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(g,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,E,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,g,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(E),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(g),a(j),a(I),a(O),a(A),a(G),a(C))}}}function js(m){let t,r,d="Toggle",i,n,s,l,o,T,c=m[0]&&Kt(m);return s=new oe({props:{example:Ws}}),{c(){t=v("div"),r=v("button"),r.textContent=d,i=h(),c&&c.c(),n=h(),Q(s.$$.fragment),this.h()},l(D){t=p(D,"DIV",{class:!0});var E=ee(t);r=p(E,"BUTTON",{type:!0,"data-svelte-h":!0}),H(r)!=="svelte-hzt8qv"&&(r.textContent=d),i=_(E),c&&c.l(E),n=_(E),K(s.$$.fragment,E),E.forEach(a),this.h()},h(){M(r,"type","button"),M(t,"class","container")},m(D,E){u(D,t,E),w(t,r),w(t,i),c&&c.m(t,null),w(t,n),Y(s,t,null),l=!0,o||(T=Ht(r,"click",m[1]),o=!0)},p(D,[E]){D[0]?c?E&1&&z(c,1):(c=Kt(D),c.c(),z(c,1),c.m(t,n)):c&&(Je(),U(c,1,1,()=>{c=null}),Fe())},i(D){l||(z(c),z(s.$$.fragment,D),l=!0)},o(D){U(c),U(s.$$.fragment,D),l=!1},d(D){D&&a(t),c&&c.d(),X(s),o=!1,T()}}}const Ws="RemountingGlider";function zs(m,t,r){let d=!1;return[d,()=>{r(0,d=!d)}]}class Us extends re{constructor(t){super(),ae(this,t,zs,js,ne,{})}}function Ns(m){let t,r='
1
2
3
4
5
6
7
8
9
10
11
12
';return{c(){t=v("div"),t.innerHTML=r,this.h()},l(d){t=p(d,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-sltgy5"&&(t.innerHTML=r),this.h()},h(){M(t,"class","custom-track")},m(d,i){u(d,t,i)},p:ie,d(d){d&&a(t)}}}function qs(m){let t,r,d,i,n;return r=new fe({props:{class:"glider-container",draggable:!0,hasDots:!0,slidesToShow:3,skipTrack:!0,$$slots:{default:[Ns]},$$scope:{ctx:m}}}),i=new oe({props:{example:Js}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(s){t=p(s,"DIV",{class:!0});var l=ee(t);K(r.$$.fragment,l),d=_(l),K(i.$$.fragment,l),l.forEach(a),this.h()},h(){M(t,"class","container")},m(s,l){u(s,t,l),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(s,[l]){const o={};l&1&&(o.$$scope={dirty:l,ctx:s}),r.$set(o)},i(s){n||(z(r.$$.fragment,s),z(i.$$.fragment,s),n=!0)},o(s){U(r.$$.fragment,s),U(i.$$.fragment,s),n=!1},d(s){s&&a(t),X(r),X(i)}}}const Js="SkipTrackGlider";class Fs extends re{constructor(t){super(),ae(this,t,null,qs,ne,{})}}function el(m,t,r){const d=m.slice();return d[3]=t[r],d}function tl(m,t){let r,d,i=t[3]+"",n,s;return{key:m,first:null,c(){r=v("div"),d=v("span"),n=Pe(i),s=h(),this.h()},l(l){r=p(l,"DIV",{class:!0});var o=ee(r);d=p(o,"SPAN",{});var T=ee(d);n=Ge(T,i),T.forEach(a),s=_(o),o.forEach(a),this.h()},h(){M(r,"class","slide"),this.first=r},m(l,o){u(l,r,o),w(r,d),w(d,n),w(r,s)},p(l,o){t=l,o&1&&i!==(i=t[3]+"")&&St(n,i)},d(l){l&&a(r)}}}function Zs(m){let t=[],r=new Map,d,i=wt(m[0]);const n=s=>s[3];for(let s=0;s{const s=n(1,12),l=new Array(s).fill();r(0,d=l.map(()=>n(-100,100)))},n=(s,l)=>Math.floor(Math.random()*(l-s+1)+s);return i(),[d,i]}class Ks extends re{constructor(t){super(),ae(this,t,Xs,Qs,ne,{})}}function ei(m){let t,r,d="Demos",i,n,s,l='Multiple Items',o,T,c,D,E,L='Single Item with Scroll Lock',B,x,V,P,y,$='Responsive Glider',Z,R,b,W,S,g='Autoplay Glider',J,j,I,q,O,A='Updating Props',F,G,C,N,e,f='Glider.js instance methods',Re,he,Ve,ce,me,pe='Perspective View',de,He,Ke,_e,ve,Oe='Scroll to slide #5',et,Ee,tt,Te,De,it='Fractional Slides',k,se,lt,Le,$e,nt='Custom Events',st,ge,Et,be,je,Pt='Custom Element Arrows (w/ named slots)',gt,Be,Dt,Ce,We,Gt='Custom Element Arrows (w/ DOM query selector)',$t,ke,bt,Ae,ze,Rt='Unmounting / Remounting',Ct,we,At,xe,Ue,Ot='Skip Track',xt,ye,It,Ie,Ne,jt='Dynamic Data',Bt,Se,rt;return T=new Gl({}),x=new Wl({}),R=new ql({}),j=new Kl({}),G=new rs({}),he=new os({}),He=new ms({}),Ee=new Ts({}),se=new Es({}),ge=new As({}),Be=new ys({}),ke=new Rs({}),we=new Us({}),ye=new Fs({}),Se=new Ks({}),{c(){t=v("div"),r=v("h2"),r.textContent=d,i=h(),n=v("div"),s=v("h3"),s.innerHTML=l,o=h(),Q(T.$$.fragment),c=h(),D=v("div"),E=v("h3"),E.innerHTML=L,B=h(),Q(x.$$.fragment),V=h(),P=v("div"),y=v("h3"),y.innerHTML=$,Z=h(),Q(R.$$.fragment),b=h(),W=v("div"),S=v("h3"),S.innerHTML=g,J=h(),Q(j.$$.fragment),I=h(),q=v("div"),O=v("h3"),O.innerHTML=A,F=h(),Q(G.$$.fragment),C=h(),N=v("div"),e=v("h3"),e.innerHTML=f,Re=h(),Q(he.$$.fragment),Ve=h(),ce=v("div"),me=v("h3"),me.innerHTML=pe,de=h(),Q(He.$$.fragment),Ke=h(),_e=v("div"),ve=v("h3"),ve.innerHTML=Oe,et=h(),Q(Ee.$$.fragment),tt=h(),Te=v("div"),De=v("h3"),De.innerHTML=it,k=h(),Q(se.$$.fragment),lt=h(),Le=v("div"),$e=v("h3"),$e.innerHTML=nt,st=h(),Q(ge.$$.fragment),Et=h(),be=v("div"),je=v("h3"),je.innerHTML=Pt,gt=h(),Q(Be.$$.fragment),Dt=h(),Ce=v("div"),We=v("h3"),We.innerHTML=Gt,$t=h(),Q(ke.$$.fragment),bt=h(),Ae=v("div"),ze=v("h3"),ze.innerHTML=Rt,Ct=h(),Q(we.$$.fragment),At=h(),xe=v("div"),Ue=v("h3"),Ue.innerHTML=Ot,xt=h(),Q(ye.$$.fragment),It=h(),Ie=v("div"),Ne=v("h3"),Ne.innerHTML=jt,Bt=h(),Q(Se.$$.fragment),this.h()},l(te){t=p(te,"DIV",{class:!0});var le=ee(t);r=p(le,"H2",{"data-svelte-h":!0}),H(r)!=="svelte-1vnreci"&&(r.textContent=d),i=_(le),n=p(le,"DIV",{class:!0});var at=ee(n);s=p(at,"H3",{"data-svelte-h":!0}),H(s)!=="svelte-18iblru"&&(s.innerHTML=l),o=_(at),K(T.$$.fragment,at),at.forEach(a),c=_(le),D=p(le,"DIV",{class:!0});var dt=ee(D);E=p(dt,"H3",{"data-svelte-h":!0}),H(E)!=="svelte-1yzuk39"&&(E.innerHTML=L),B=_(dt),K(x.$$.fragment,dt),dt.forEach(a),V=_(le),P=p(le,"DIV",{class:!0});var ut=ee(P);y=p(ut,"H3",{"data-svelte-h":!0}),H(y)!=="svelte-cu5sun"&&(y.innerHTML=$),Z=_(ut),K(R.$$.fragment,ut),ut.forEach(a),b=_(le),W=p(le,"DIV",{class:!0});var ft=ee(W);S=p(ft,"H3",{"data-svelte-h":!0}),H(S)!=="svelte-vgfwii"&&(S.innerHTML=g),J=_(ft),K(j.$$.fragment,ft),ft.forEach(a),I=_(le),q=p(le,"DIV",{class:!0});var ot=ee(q);O=p(ot,"H3",{"data-svelte-h":!0}),H(O)!=="svelte-1j1pnq"&&(O.innerHTML=A),F=_(ot),K(G.$$.fragment,ot),ot.forEach(a),C=_(le),N=p(le,"DIV",{class:!0});var ct=ee(N);e=p(ct,"H3",{"data-svelte-h":!0}),H(e)!=="svelte-nwcplk"&&(e.innerHTML=f),Re=_(ct),K(he.$$.fragment,ct),ct.forEach(a),Ve=_(le),ce=p(le,"DIV",{class:!0});var vt=ee(ce);me=p(vt,"H3",{"data-svelte-h":!0}),H(me)!=="svelte-1yhj4f5"&&(me.innerHTML=pe),de=_(vt),K(He.$$.fragment,vt),vt.forEach(a),Ke=_(le),_e=p(le,"DIV",{class:!0});var pt=ee(_e);ve=p(pt,"H3",{"data-svelte-h":!0}),H(ve)!=="svelte-136a7wx"&&(ve.innerHTML=Oe),et=_(pt),K(Ee.$$.fragment,pt),pt.forEach(a),tt=_(le),Te=p(le,"DIV",{class:!0});var mt=ee(Te);De=p(mt,"H3",{"data-svelte-h":!0}),H(De)!=="svelte-5ssl97"&&(De.innerHTML=it),k=_(mt),K(se.$$.fragment,mt),mt.forEach(a),lt=_(le),Le=p(le,"DIV",{class:!0});var Mt=ee(Le);$e=p(Mt,"H3",{"data-svelte-h":!0}),H($e)!=="svelte-b4p8fk"&&($e.innerHTML=nt),st=_(Mt),K(ge.$$.fragment,Mt),Mt.forEach(a),Et=_(le),be=p(le,"DIV",{class:!0});var ht=ee(be);je=p(ht,"H3",{"data-svelte-h":!0}),H(je)!=="svelte-1grli66"&&(je.innerHTML=Pt),gt=_(ht),K(Be.$$.fragment,ht),ht.forEach(a),Dt=_(le),Ce=p(le,"DIV",{class:!0});var _t=ee(Ce);We=p(_t,"H3",{"data-svelte-h":!0}),H(We)!=="svelte-10zrh6r"&&(We.innerHTML=Gt),$t=_(_t),K(ke.$$.fragment,_t),_t.forEach(a),bt=_(le),Ae=p(le,"DIV",{class:!0});var Tt=ee(Ae);ze=p(Tt,"H3",{"data-svelte-h":!0}),H(ze)!=="svelte-12cqxbx"&&(ze.innerHTML=Rt),Ct=_(Tt),K(we.$$.fragment,Tt),Tt.forEach(a),At=_(le),xe=p(le,"DIV",{class:!0});var Lt=ee(xe);Ue=p(Lt,"H3",{"data-svelte-h":!0}),H(Ue)!=="svelte-7lz09e"&&(Ue.innerHTML=Ot),xt=_(Lt),K(ye.$$.fragment,Lt),Lt.forEach(a),It=_(le),Ie=p(le,"DIV",{class:!0});var Vt=ee(Ie);Ne=p(Vt,"H3",{"data-svelte-h":!0}),H(Ne)!=="svelte-wgfx3t"&&(Ne.innerHTML=jt),Bt=_(Vt),K(Se.$$.fragment,Vt),Vt.forEach(a),le.forEach(a),this.h()},h(){M(n,"class","item"),M(D,"class","item"),M(P,"class","item"),M(W,"class","item"),M(q,"class","item"),M(N,"class","item"),M(ce,"class","item"),M(_e,"class","item"),M(Te,"class","item"),M(Le,"class","item"),M(be,"class","item"),M(Ce,"class","item"),M(Ae,"class","item"),M(xe,"class","item"),M(Ie,"class","item"),M(t,"class","demos")},m(te,le){u(te,t,le),w(t,r),w(t,i),w(t,n),w(n,s),w(n,o),Y(T,n,null),w(t,c),w(t,D),w(D,E),w(D,B),Y(x,D,null),w(t,V),w(t,P),w(P,y),w(P,Z),Y(R,P,null),w(t,b),w(t,W),w(W,S),w(W,J),Y(j,W,null),w(t,I),w(t,q),w(q,O),w(q,F),Y(G,q,null),w(t,C),w(t,N),w(N,e),w(N,Re),Y(he,N,null),w(t,Ve),w(t,ce),w(ce,me),w(ce,de),Y(He,ce,null),w(t,Ke),w(t,_e),w(_e,ve),w(_e,et),Y(Ee,_e,null),w(t,tt),w(t,Te),w(Te,De),w(Te,k),Y(se,Te,null),w(t,lt),w(t,Le),w(Le,$e),w(Le,st),Y(ge,Le,null),w(t,Et),w(t,be),w(be,je),w(be,gt),Y(Be,be,null),w(t,Dt),w(t,Ce),w(Ce,We),w(Ce,$t),Y(ke,Ce,null),w(t,bt),w(t,Ae),w(Ae,ze),w(Ae,Ct),Y(we,Ae,null),w(t,At),w(t,xe),w(xe,Ue),w(xe,xt),Y(ye,xe,null),w(t,It),w(t,Ie),w(Ie,Ne),w(Ie,Bt),Y(Se,Ie,null),rt=!0},p:ie,i(te){rt||(z(T.$$.fragment,te),z(x.$$.fragment,te),z(R.$$.fragment,te),z(j.$$.fragment,te),z(G.$$.fragment,te),z(he.$$.fragment,te),z(He.$$.fragment,te),z(Ee.$$.fragment,te),z(se.$$.fragment,te),z(ge.$$.fragment,te),z(Be.$$.fragment,te),z(ke.$$.fragment,te),z(we.$$.fragment,te),z(ye.$$.fragment,te),z(Se.$$.fragment,te),rt=!0)},o(te){U(T.$$.fragment,te),U(x.$$.fragment,te),U(R.$$.fragment,te),U(j.$$.fragment,te),U(G.$$.fragment,te),U(he.$$.fragment,te),U(He.$$.fragment,te),U(Ee.$$.fragment,te),U(se.$$.fragment,te),U(ge.$$.fragment,te),U(Be.$$.fragment,te),U(ke.$$.fragment,te),U(we.$$.fragment,te),U(ye.$$.fragment,te),U(Se.$$.fragment,te),rt=!1},d(te){te&&a(t),X(T),X(x),X(R),X(j),X(G),X(he),X(He),X(Ee),X(se),X(ge),X(Be),X(ke),X(we),X(ye),X(Se)}}}class ti extends re{constructor(t){super(),ae(this,t,null,ei,ne,{})}}const li="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAAAgCAMAAAC2GN9jAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABelBMVEUAAADLODfVX17ikI/hj47ikJDbeHfZcG/ikZDXaGfdf37ikpHxy8vMPj3subnnpaXORUT129rsubn12tr89PT89fT89fX99/f89vbwyMjWYmHVYWDXZmb01tboqanVX17VYWHVYF/adHThjIzkmprdf3/suLjLOzrxy8r9+fnYa2rdfX3UW1r78fHYbWzUXVz78vLjk5P23d3uwMDvwcHuwcHxycn129rdf37df3/02Nj019b12dnln57pra356enhj4712Nj019fz0tLZcG/SVVTxzMzNQ0LNQD/kmJjNQUDNQkHikZHLODfLODfLODfLODfLODfLODfLODfLODfLODfLODfLODfLODfKNjXKNDPKNTTKNzbLOjnMPT3////LNzb++/v+/Pz9+fn+/f3+/v79+Pj67Oz9+vr89PTJMjHJMzLQTUz45ubJMTDRT0/45+bRT07LOTjRUlH45+f99/fMPDvNQkHMPTzMPz7MPj3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UAMjAyMi0xMC0wNVQwODozNjowNSswMDowMKE1o64AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTMtMTAtMjhUMjE6NTU6MjQrMDA6MDDt+Ce9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==";function ii(m){let t,r,d=`

Svelte Glider

A +*/(function(m,t){(function(r){m.exports=r()})(function(){var r=typeof window<"u"?window:this,d=r.Glider=function(n,s){var l=this;if(n._glider)return n._glider;if(l.ele=n,l.ele.classList.add("glider"),l.ele._glider=l,l.opt=Object.assign({},{slidesToScroll:1,slidesToShow:1,resizeLock:!0,duration:.5,passiveListeners:!1,easing:function(o,T,c,D,g){return D*(T/=g)*T+c}},s),l.animate_id=l.page=l.slide=0,l.arrows={},l._opt=l.opt,l.opt.skipTrack)l.track=l.ele.children[0];else for(l.track=document.createElement("div"),l.ele.appendChild(l.track);l.ele.children.length!==1;)l.track.appendChild(l.ele.children[0]);l.track.classList.add("glider-track"),l.init(),l.resize=l.init.bind(l,!0),l.event(l.ele,"add",{scroll:l.updateControls.bind(l)},{passive:l.opt.passiveListeners}),l.event(r,"add",{resize:l.resize})},i=d.prototype;return i.init=function(n,s){var l=this,o=0,T=0;l.slides=l.track.children,[].forEach.call(l.slides,function(g,L){g.classList.add("glider-slide"),g.setAttribute("data-gslide",L)}),l.containerWidth=l.ele.clientWidth;var c=l.settingsBreakpoint();if(s||(s=c),l.opt.slidesToShow==="auto"||typeof l.opt._autoSlide<"u"){var D=l.containerWidth/l.opt.itemWidth;l.opt._autoSlide=l.opt.slidesToShow=l.opt.exactWidth?D:Math.max(1,Math.floor(D))}l.opt.slidesToScroll==="auto"&&(l.opt.slidesToScroll=Math.floor(l.opt.slidesToShow)),l.itemWidth=l.opt.exactWidth?l.opt.itemWidth:l.containerWidth/l.opt.slidesToShow,[].forEach.call(l.slides,function(g){g.style.height="auto",g.style.width=l.itemWidth+"px",o+=l.itemWidth,T=Math.max(g.offsetHeight,T)}),l.track.style.width=o+"px",l.trackWidth=o,l.isDrag=!1,l.preventClick=!1,l.move=!1,l.opt.resizeLock&&l.scrollTo(l.slide*l.itemWidth,0),(c||s)&&(l.bindArrows(),l.buildDots(),l.bindDrag()),l.updateControls(),l.emit(n?"refresh":"loaded")},i.bindDrag=function(){var n=this;n.mouse=n.mouse||n.handleMouse.bind(n);var s=function(){n.mouseDown=void 0,n.ele.classList.remove("drag"),n.isDrag&&(n.preventClick=!0),n.isDrag=!1};const l=function(){n.move=!0};var o={mouseup:s,mouseleave:s,mousedown:function(T){T.preventDefault(),T.stopPropagation(),n.mouseDown=T.clientX,n.ele.classList.add("drag"),n.move=!1,setTimeout(l,300)},touchstart:function(T){n.ele.classList.add("drag"),n.move=!1,setTimeout(l,300)},mousemove:n.mouse,click:function(T){n.preventClick&&n.move&&(T.preventDefault(),T.stopPropagation()),n.preventClick=!1,n.move=!1}};n.ele.classList.toggle("draggable",n.opt.draggable===!0),n.event(n.ele,"remove",o),n.opt.draggable&&n.event(n.ele,"add",o,{passive:n.opt.passiveListeners})},i.buildDots=function(){var n=this;if(!n.opt.dots){n.dots&&(n.dots.innerHTML="");return}if(typeof n.opt.dots=="string"?n.dots=document.querySelector(n.opt.dots):n.dots=n.opt.dots,!!n.dots){n.dots.innerHTML="",n.dots.setAttribute("role","tablist"),n.dots.classList.add("glider-dots");for(var s=0;s=s.trackWidth;s.opt.rewind||(s.arrows.prev&&(s.arrows.prev.classList.toggle("disabled",s.ele.scrollLeft<=0||l),s.arrows.prev.setAttribute("aria-disabled",s.arrows.prev.classList.contains("disabled"))),s.arrows.next&&(s.arrows.next.classList.toggle("disabled",Math.ceil(s.ele.scrollLeft+s.containerWidth)>=Math.floor(s.trackWidth)||l),s.arrows.next.setAttribute("aria-disabled",s.arrows.next.classList.contains("disabled")))),s.slide=Math.round(s.ele.scrollLeft/s.itemWidth),s.page=Math.round(s.ele.scrollLeft/s.containerWidth);var o=s.slide+Math.floor(Math.floor(s.opt.slidesToShow)/2),T=Math.floor(s.opt.slidesToShow)%2?0:o+1;Math.floor(s.opt.slidesToShow)===1&&(T=0),s.ele.scrollLeft+s.containerWidth>=Math.floor(s.trackWidth)&&(s.page=s.dots?s.dots.children.length-1:0),[].forEach.call(s.slides,function(c,D){var g=c.classList,L=g.contains("visible"),B=s.ele.scrollLeft,x=s.ele.scrollLeft+s.containerWidth,V=s.itemWidth*D,P=V+s.itemWidth;[].forEach.call(g,function($){/^left|right/.test($)&&g.remove($)}),g.toggle("active",s.slide===D),o===D||T&&T===D?g.add("center"):(g.remove("center"),g.add([D=Math.floor(B)&&Math.floor(P)<=Math.ceil(x);g.toggle("visible",y),y!==L&&s.emit("slide-"+(y?"visible":"hidden"),{slide:D})}),s.dots&&[].forEach.call(s.dots.children,function(c,D){c.classList.toggle("active",s.page===D)}),n&&s.opt.scrollLock&&(clearTimeout(s.scrollLock),s.scrollLock=setTimeout(function(){clearTimeout(s.scrollLock),Math.abs(s.ele.scrollLeft/s.itemWidth-s.slide)>.02&&(s.mouseDown||s.trackWidth>s.containerWidth+s.ele.scrollLeft&&s.scrollItem(s.getCurrentSlide()))},s.opt.scrollLockDelay||250))},i.getCurrentSlide=function(){var n=this;return n.round(n.ele.scrollLeft/n.itemWidth)},i.scrollItem=function(n,s,l){l&&l.preventDefault();var o=this,T=n;++o.animate_id;var c=o.slide,D;if(s===!0)n=Math.round(n*o.containerWidth/o.itemWidth),D=n*o.itemWidth;else{if(typeof n=="string"){var g=n==="prev";if(o.opt.slidesToScroll%1||o.opt.slidesToShow%1?n=o.getCurrentSlide():n=o.slide,g?n-=o.opt.slidesToScroll:n+=o.opt.slidesToScroll,o.opt.rewind){var L=o.ele.scrollLeft;n=g&&!L?o.slides.length:!g&&L+o.containerWidth>=Math.floor(o.trackWidth)?0:n}}n=Math.max(Math.min(n,o.slides.length),0),o.slide=n,D=o.itemWidth*n}return o.emit("scroll-item",{prevSlide:c,slide:n}),o.scrollTo(D,o.opt.duration*Math.abs(o.ele.scrollLeft-D),function(){o.updateControls(),o.emit("animated",{value:T,type:typeof T=="string"?"arrow":s?"dot":"slide"})}),!1},i.settingsBreakpoint=function(){var n=this,s=n._opt.responsive;if(s){s.sort(function(c,D){return D.breakpoint-c.breakpoint});for(var l=0;l=o.breakpoint)return n.breakpoint!==o.breakpoint?(n.opt=Object.assign({},n._opt,o.settings),n.breakpoint=o.breakpoint,!0):!1}}var T=n.breakpoint!==0;return n.opt=Object.assign({},n._opt),n.breakpoint=0,T},i.scrollTo=function(n,s,l){var o=this,T=new Date().getTime(),c=o.animate_id,D=function(){var g=new Date().getTime()-T;o.ele.scrollLeft=o.ele.scrollLeft+(n-o.ele.scrollLeft)*o.opt.easing(0,g,0,1,s),g{X(o,1)}),Fe()}i?(t=zt(i,n(s)),Q(t.$$.fragment),W(t.$$.fragment,1),Y(t,r.parentNode,r)):t=null}else if(i){const o={};l&8&&(o.$$scope={dirty:l,ctx:s}),t.$set(o)}},i(s){d||(t&&W(t.$$.fragment,s),d=!0)},o(s){t&&z(t.$$.fragment,s),d=!1},d(s){s&&a(r),t&&X(t,s)}}}function kt(m){let t,r;const d=m[2].default,i=Ze(d,m,m[3],null);return{c(){t=v(m[1]||"div"),i&&i.c(),this.h()},l(n){t=p(n,(m[1]||"div").toUpperCase(),{class:!0});var s=ee(t);i&&i.l(s),s.forEach(a),this.h()},h(){al(m[1]||"div")(t,{class:"glider-contain"})},m(n,s){u(n,t,s),i&&i.m(t,null),r=!0},p(n,s){i&&i.p&&(!r||s&8)&&Qe(i,d,n,n[3],r?Xe(d,n[3],s,null):Ye(n[3]),null)},i(n){r||(W(i,n),r=!0)},o(n){z(i,n),r=!1},d(n){n&&a(t),i&&i.d(n)}}}function Tl(m){let t;const r=m[2].default,d=Ze(r,m,m[3],null);return{c(){d&&d.c()},l(i){d&&d.l(i)},m(i,n){d&&d.m(i,n),t=!0},p(i,n){d&&d.p&&(!t||n&8)&&Qe(d,r,i,i[3],t?Xe(r,i[3],n,null):Ye(i[3]),null)},i(i){t||(W(d,i),t=!0)},o(i){z(d,i),t=!1},d(i){d&&d.d(i)}}}function Ll(m){let t,r,d,i;const n=[_l,hl],s=[];function l(o,T){return o[0]?0:1}return t=l(m),r=s[t]=n[t](m),{c(){r.c(),d=Me()},l(o){r.l(o),d=Me()},m(o,T){s[t].m(o,T),u(o,d,T),i=!0},p(o,[T]){let c=t;t=l(o),t===c?s[t].p(o,T):(Je(),z(s[c],1,1,()=>{s[c]=null}),Fe(),r=s[t],r?r.p(o,T):(r=s[t]=n[t](o),r.c()),W(r,1),r.m(d.parentNode,d))},i(o){i||(W(r),i=!0)},o(o){z(r),i=!1},d(o){o&&a(d),s[t].d(o)}}}function Vl(m,t,r){let{$$slots:d={},$$scope:i}=t,{containerComponent:n}=t,{containerElement:s}=t;return m.$$set=l=>{"containerComponent"in l&&r(0,n=l.containerComponent),"containerElement"in l&&r(1,s=l.containerElement),"$$scope"in l&&r(3,i=l.$$scope)},[n,s,d,i]}class Hl extends re{constructor(t){super(),ae(this,t,Vl,Ll,ne,{containerComponent:0,containerElement:1})}}const gl=m=>({}),Nt=m=>({}),El=m=>({}),Jt=m=>({});function Ft(m){let t,r;const d=m[38].iconLeft,i=Ze(d,m,m[43],Jt),n=i||Dl();return{c(){t=v("button"),n&&n.c(),this.h()},l(s){t=p(s,"BUTTON",{type:!0,class:!0,"aria-label":!0});var l=ee(t);n&&n.l(l),l.forEach(a),this.h()},h(){M(t,"type","button"),M(t,"class","glider-prev"),M(t,"aria-label","Previous")},m(s,l){u(s,t,l),n&&n.m(t,null),m[39](t),r=!0},p(s,l){i&&i.p&&(!r||l[1]&4096)&&Qe(i,d,s,s[43],r?Xe(d,s[43],l,El):Ye(s[43]),Jt)},i(s){r||(W(n,s),r=!0)},o(s){z(n,s),r=!1},d(s){s&&a(t),n&&n.d(s),m[39](null)}}}function Dl(m){let t;return{c(){t=Pe("«")},l(r){t=Ge(r,"«")},m(r,d){u(r,t,d)},d(r){r&&a(t)}}}function $l(m){let t,r;const d=m[38].default,i=Ze(d,m,m[43],null);return{c(){t=v("div"),i&&i.c()},l(n){t=p(n,"DIV",{});var s=ee(t);i&&i.l(s),s.forEach(a)},m(n,s){u(n,t,s),i&&i.m(t,null),r=!0},p(n,s){i&&i.p&&(!r||s[1]&4096)&&Qe(i,d,n,n[43],r?Xe(d,n[43],s,null):Ye(n[43]),null)},i(n){r||(W(i,n),r=!0)},o(n){z(i,n),r=!1},d(n){n&&a(t),i&&i.d(n)}}}function bl(m){let t;const r=m[38].default,d=Ze(r,m,m[43],null);return{c(){d&&d.c()},l(i){d&&d.l(i)},m(i,n){d&&d.m(i,n),t=!0},p(i,n){d&&d.p&&(!t||n[1]&4096)&&Qe(d,r,i,i[43],t?Xe(r,i[43],n,null):Ye(i[43]),null)},i(i){t||(W(d,i),t=!0)},o(i){z(d,i),t=!1},d(i){d&&d.d(i)}}}function Zt(m){let t;return{c(){t=v("div")},l(r){t=p(r,"DIV",{}),ee(t).forEach(a)},m(r,d){u(r,t,d),m[41](t)},p:ie,d(r){r&&a(t),m[41](null)}}}function Qt(m){let t,r;const d=m[38].iconRight,i=Ze(d,m,m[43],Nt),n=i||Cl();return{c(){t=v("button"),n&&n.c(),this.h()},l(s){t=p(s,"BUTTON",{type:!0,class:!0,"aria-label":!0});var l=ee(t);n&&n.l(l),l.forEach(a),this.h()},h(){M(t,"type","button"),M(t,"class","glider-next"),M(t,"aria-label","Next")},m(s,l){u(s,t,l),n&&n.m(t,null),m[42](t),r=!0},p(s,l){i&&i.p&&(!r||l[1]&4096)&&Qe(i,d,s,s[43],r?Xe(d,s[43],l,gl):Ye(s[43]),Nt)},i(s){r||(W(n,s),r=!0)},o(s){z(n,s),r=!1},d(s){s&&a(t),n&&n.d(s),m[42](null)}}}function Cl(m){let t;return{c(){t=Pe("»")},l(r){t=Ge(r,"»")},m(r,d){u(r,t,d)},d(r){r&&a(t)}}}function Al(m){let t,r,d,i,n,s,l,o,T,c=m[1]&&!m[4]&&Ft(m);const D=[bl,$l],g=[];function L(V,P){return V[5]?0:1}d=L(m),i=g[d]=D[d](m);let B=m[2]&&!m[3]&&Zt(m),x=m[1]&&!m[4]&&Qt(m);return{c(){c&&c.c(),t=h(),r=v("div"),i.c(),s=h(),B&&B.c(),l=h(),x&&x.c(),o=Me(),this.h()},l(V){c&&c.l(V),t=_(V),r=p(V,"DIV",{id:!0,class:!0});var P=ee(r);i.l(P),P.forEach(a),s=_(V),B&&B.l(V),l=_(V),x&&x.l(V),o=Me(),this.h()},h(){M(r,"id",m[0]),M(r,"class",n=m[12].class)},m(V,P){c&&c.m(V,P),u(V,t,P),u(V,r,P),g[d].m(r,null),m[40](r),u(V,s,P),B&&B.m(V,P),u(V,l,P),x&&x.m(V,P),u(V,o,P),T=!0},p(V,P){V[1]&&!V[4]?c?(c.p(V,P),P[0]&18&&W(c,1)):(c=Ft(V),c.c(),W(c,1),c.m(t.parentNode,t)):c&&(Je(),z(c,1,1,()=>{c=null}),Fe());let y=d;d=L(V),d===y?g[d].p(V,P):(Je(),z(g[y],1,1,()=>{g[y]=null}),Fe(),i=g[d],i?i.p(V,P):(i=g[d]=D[d](V),i.c()),W(i,1),i.m(r,null)),(!T||P[0]&1)&&M(r,"id",V[0]),(!T||P[0]&4096&&n!==(n=V[12].class))&&M(r,"class",n),V[2]&&!V[3]?B?B.p(V,P):(B=Zt(V),B.c(),B.m(l.parentNode,l)):B&&(B.d(1),B=null),V[1]&&!V[4]?x?(x.p(V,P),P[0]&18&&W(x,1)):(x=Qt(V),x.c(),W(x,1),x.m(o.parentNode,o)):x&&(Je(),z(x,1,1,()=>{x=null}),Fe())},i(V){T||(W(c),W(i),W(x),T=!0)},o(V){z(c),z(i),z(x),T=!1},d(V){V&&(a(t),a(r),a(s),a(l),a(o)),c&&c.d(V),g[d].d(),m[40](null),B&&B.d(V),x&&x.d(V)}}}function xl(m){let t,r;return t=new Hl({props:{containerComponent:m[6],containerElement:m[7],$$slots:{default:[Al]},$$scope:{ctx:m}}}),{c(){Q(t.$$.fragment)},l(d){K(t.$$.fragment,d)},m(d,i){Y(t,d,i),r=!0},p(d,i){const n={};i[0]&64&&(n.containerComponent=d[6]),i[0]&128&&(n.containerElement=d[7]),i[0]&7999|i[1]&4096&&(n.$$scope={dirty:i,ctx:d}),t.$set(n)},i(d){r||(W(t.$$.fragment,d),r=!0)},o(d){z(t.$$.fragment,d),r=!1},d(d){X(t,d)}}}function Il(m,t,r){let{$$slots:d={},$$scope:i}=t,{id:n}=t,{hasArrows:s}=t,{hasDots:l}=t,{scrollToSlide:o}=t,{scrollToPage:T}=t,{slidesToShow:c}=t,{slidesToScroll:D}=t,{itemWidth:g}=t,{exactWidth:L}=t,{resizeLock:B}=t,{rewind:x}=t,{duration:V}=t,{dots:P}=t,{arrows:y}=t,{draggable:$}=t,{dragVelocity:Z}=t,{scrollPropagate:R}=t,{scrollLock:b}=t,{skipTrack:q}=t,{scrollLockDelay:S}=t,{responsive:E}=t,{containerComponent:J}=t,{containerElement:j}=t,{easing:I}=t,{onLoad:N}=t,{onAnimated:O}=t,{onRemove:A}=t,{onSlideVisible:F}=t,{onRefresh:G}=t,{onAdd:C}=t,{onDestroy:U}=t,{onSlideHidden:e}=t;const f=()=>{const k={id:n,hasArrows:s,hasDots:l,scrollToSlide:o,scrollToPage:T,slidesToShow:c,slidesToScroll:D,itemWidth:g,exactWidth:L,resizeLock:B,rewind:x,duration:V,dots:P,arrows:y,draggable:$,dragVelocity:Z,scrollPropagate:R,scrollLock:b,skipTrack:q,scrollLockDelay:S,responsive:E,containerComponent:J,containerElement:j,easing:I,onLoad:N,onAnimated:O,onRemove:A,onSlideVisible:F,onRefresh:G,onAdd:C,onDestroy:U,onSlideHidden:e};for(let se in k)k[se]===void 0&&delete k[se];return k},Re=()=>{const k=f();for(let se of["id","containerComponent","containerElement","hasArrows","arrows","hasDots","dots","scrollToSlide","scrollToPage","skipTrack","onLoad","onSlideVisible","onAnimated","onRemove","onRefresh","onAdd","onDestroy","onSlideHidden"])delete k[se];return k},he=({arrows:k,hasArrows:se,dots:lt,hasDots:Le,nextButtonEl:$e,prevButtonEl:nt,dotsEl:st,...Ee})=>({...Ee,skipTrack:!0,arrows:se&&{next:k&&k.next||$e,prev:k&&k.prev||nt}||void 0,dots:Le&<||st||void 0});let Ve,ce,me,pe,de;const He=()=>de,Ke=(k,se)=>{pe&&typeof se=="function"&&pe.addEventListener(k,se)},_e=(k,se)=>{pe&&typeof se=="function"&&pe.removeEventListener(k,se)};let ve;const Oe=(k=!1)=>{if(ve)for(let se in ve)_e(se,ve[se]);if(k){ve=void 0;return}ve={"glider-slide-visible":F==null?void 0:F.bind(null),"glider-animated":O==null?void 0:O.bind(null),"glider-remove":A==null?void 0:A.bind(null),"glider-refresh":G==null?void 0:G.bind(null),"glider-add":C==null?void 0:C.bind(null),"glider-destroy":U==null?void 0:U.bind(null),"glider-slide-hidden":e==null?void 0:e.bind(null)};for(let se in ve)Ke(se,ve[se])};yt(()=>{if(pe&&!de){const k=Re();de=new Ml(pe,he({...k,arrows:y,hasArrows:s,dots:P,hasDots:l,nextButtonEl:ce,prevButtonEl:Ve,dotsEl:me})),N&&N.call(de,new CustomEvent("glider-loaded",{detail:{target:pe}})),o?de.scrollItem(o-1):T&&de.scrollItem(T-1,!0),Oe(!1)}});const et=()=>{if(de){const k=Re();de.setOption(he({...k,arrows:y,hasArrows:s,dots:P,hasDots:l,nextButtonEl:ce,prevButtonEl:Ve,dotsEl:me}),!0),de.refresh(!0)}},ge=Oe.bind(null,!1);nl(()=>{de==null||de.refresh(!0)}),ll(()=>{Oe(!0),de==null||de.destroy()});function tt(k){Ne[k?"unshift":"push"](()=>{Ve=k,r(8,Ve)})}function Te(k){Ne[k?"unshift":"push"](()=>{pe=k,r(11,pe)})}function De(k){Ne[k?"unshift":"push"](()=>{me=k,r(10,me)})}function it(k){Ne[k?"unshift":"push"](()=>{ce=k,r(9,ce)})}return m.$$set=k=>{r(12,t=qt(qt({},t),Wt(k))),"id"in k&&r(0,n=k.id),"hasArrows"in k&&r(1,s=k.hasArrows),"hasDots"in k&&r(2,l=k.hasDots),"scrollToSlide"in k&&r(13,o=k.scrollToSlide),"scrollToPage"in k&&r(14,T=k.scrollToPage),"slidesToShow"in k&&r(15,c=k.slidesToShow),"slidesToScroll"in k&&r(16,D=k.slidesToScroll),"itemWidth"in k&&r(17,g=k.itemWidth),"exactWidth"in k&&r(18,L=k.exactWidth),"resizeLock"in k&&r(19,B=k.resizeLock),"rewind"in k&&r(20,x=k.rewind),"duration"in k&&r(21,V=k.duration),"dots"in k&&r(3,P=k.dots),"arrows"in k&&r(4,y=k.arrows),"draggable"in k&&r(22,$=k.draggable),"dragVelocity"in k&&r(23,Z=k.dragVelocity),"scrollPropagate"in k&&r(24,R=k.scrollPropagate),"scrollLock"in k&&r(25,b=k.scrollLock),"skipTrack"in k&&r(5,q=k.skipTrack),"scrollLockDelay"in k&&r(26,S=k.scrollLockDelay),"responsive"in k&&r(27,E=k.responsive),"containerComponent"in k&&r(6,J=k.containerComponent),"containerElement"in k&&r(7,j=k.containerElement),"easing"in k&&r(28,I=k.easing),"onLoad"in k&&r(29,N=k.onLoad),"onAnimated"in k&&r(30,O=k.onAnimated),"onRemove"in k&&r(31,A=k.onRemove),"onSlideVisible"in k&&r(32,F=k.onSlideVisible),"onRefresh"in k&&r(33,G=k.onRefresh),"onAdd"in k&&r(34,C=k.onAdd),"onDestroy"in k&&r(35,U=k.onDestroy),"onSlideHidden"in k&&r(36,e=k.onSlideHidden),"$$scope"in k&&r(43,i=k.$$scope)},m.$$.update=()=>{m.$$.dirty[0]&536838174&&et(),m.$$.dirty[0]&1073741824|m.$$.dirty[1]&63&&ge(C,O,U,G,A,e,F)},t=Wt(t),[n,s,l,P,y,q,J,j,Ve,ce,me,pe,t,o,T,c,D,g,L,B,x,V,$,Z,R,b,S,E,I,N,O,A,F,G,C,U,e,He,d,tt,Te,De,it,i]}class fe extends re{constructor(t){super(),ae(this,t,Il,xl,ne,{id:0,hasArrows:1,hasDots:2,scrollToSlide:13,scrollToPage:14,slidesToShow:15,slidesToScroll:16,itemWidth:17,exactWidth:18,resizeLock:19,rewind:20,duration:21,dots:3,arrows:4,draggable:22,dragVelocity:23,scrollPropagate:24,scrollLock:25,skipTrack:5,scrollLockDelay:26,responsive:27,containerComponent:6,containerElement:7,easing:28,onLoad:29,onAnimated:30,onRemove:31,onSlideVisible:32,onRefresh:33,onAdd:34,onDestroy:35,onSlideHidden:36,getGliderJs:37},null,[-1,-1])}get getGliderJs(){return this.$$.ctx[37]}}const Bl=(m,t,r)=>{const d=m[t];return d?typeof d=="function"?d():Promise.resolve(d):new Promise((i,n)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==r?". Note that variables only represent file names one level deep.":""))))})};function Yt(m){let t,r,d="View Source Code",i,n,s,l;return{c(){t=v("details"),r=v("summary"),r.textContent=d,i=h(),n=v("pre"),s=v("code"),l=Pe(m[0])},l(o){t=p(o,"DETAILS",{});var T=ee(t);r=p(T,"SUMMARY",{"data-svelte-h":!0}),H(r)!=="svelte-vayu5d"&&(r.textContent=d),i=_(T),n=p(T,"PRE",{});var c=ee(n);s=p(c,"CODE",{});var D=ee(s);l=Ge(D,m[0]),D.forEach(a),c.forEach(a),T.forEach(a)},m(o,T){u(o,t,T),w(t,r),w(t,i),w(t,n),w(n,s),w(s,l)},p(o,T){T&1&&St(l,o[0])},d(o){o&&a(t)}}}function kl(m){let t,r=m[0]&&Yt(m);return{c(){r&&r.c(),t=Me()},l(d){r&&r.l(d),t=Me()},m(d,i){r&&r.m(d,i),u(d,t,i)},p(d,[i]){d[0]?r?r.p(d,i):(r=Yt(d),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},i:ie,o:ie,d(d){d&&a(t),r&&r.d(d)}}}function wl(m,t,r){let{example:d}=t,i;return(async()=>{r(0,i=(await Bl(Object.assign({"../AutoplayGlider.svelte":()=>ue(()=>import("../chunks/AutoplayGlider.gxSk7Yji.js"),[],import.meta.url),"../CustomElementArrowsGliderDomSelector.svelte":()=>ue(()=>import("../chunks/CustomElementArrowsGliderDomSelector.BfJKlfXV.js"),[],import.meta.url),"../CustomElementArrowsGliderSlots.svelte":()=>ue(()=>import("../chunks/CustomElementArrowsGliderSlots.D7bFAva1.js"),[],import.meta.url),"../CustomEventsGlider.svelte":()=>ue(()=>import("../chunks/CustomEventsGlider.Dp8E6u1f.js"),[],import.meta.url),"../DynamicDataGlider.svelte":()=>ue(()=>import("../chunks/DynamicDataGlider.Cd5UyDeT.js"),[],import.meta.url),"../FractionalSlidesGlider.svelte":()=>ue(()=>import("../chunks/FractionalSlidesGlider.BI2n-eao.js"),[],import.meta.url),"../GliderJsMethods.svelte":()=>ue(()=>import("../chunks/GliderJsMethods.QxLOxWzX.js"),[],import.meta.url),"../MultipleItemsGlider.svelte":()=>ue(()=>import("../chunks/MultipleItemsGlider.C1631XqC.js"),[],import.meta.url),"../PerspectiveViewGlider.svelte":()=>ue(()=>import("../chunks/PerspectiveViewGlider.Cnfi0g63.js"),[],import.meta.url),"../RemountingGlider.svelte":()=>ue(()=>import("../chunks/RemountingGlider.DCjiWw5I.js"),[],import.meta.url),"../ResponsiveGlider.svelte":()=>ue(()=>import("../chunks/ResponsiveGlider.F3L_-jXr.js"),[],import.meta.url),"../ScrollToGlider.svelte":()=>ue(()=>import("../chunks/ScrollToGlider.CioNY5-3.js"),[],import.meta.url),"../SingleItemGlider.svelte":()=>ue(()=>import("../chunks/SingleItemGlider.DaUgZU7h.js"),[],import.meta.url),"../SkipTrackGlider.svelte":()=>ue(()=>import("../chunks/SkipTrackGlider.Ds6ga1YL.js"),[],import.meta.url),"../UpdatingPropsGlider.svelte":()=>ue(()=>import("../chunks/UpdatingPropsGlider.y2tMw-c3.js"),[],import.meta.url)}),`../${d}.svelte`,2)).default),r(0,i=i.replaceAll("from '..'","from '@warren-bank/svelte-glider'"))})(),m.$$set=s=>{"example"in s&&r(1,d=s.example)},[i,d]}class oe extends re{constructor(t){super(),ae(this,t,wl,kl,ne,{example:1})}}function yl(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",g,L,B="5",x,V,P="6",y,$,Z="7",R,b,q="8",S,E,J="9",j,I,N="10",O,A,F="11",G,C,U="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,g=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=q,S=h(),E=v("div"),E.innerHTML=J,j=h(),I=v("div"),I.innerHTML=N,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=U,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),g=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=q),S=_(e),E=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(E)!=="svelte-kvy8xs"&&(E.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=N),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=U),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(E,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,g,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,E,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(g),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(E),a(j),a(I),a(O),a(A),a(G),a(C))}}}function Sl(m){let t,r,d,i,n;return r=new fe({props:{class:"glider-container",draggable:!0,hasArrows:!0,hasDots:!0,slidesToShow:3,$$slots:{default:[yl]},$$scope:{ctx:m}}}),i=new oe({props:{example:Pl}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(s){t=p(s,"DIV",{class:!0});var l=ee(t);K(r.$$.fragment,l),d=_(l),K(i.$$.fragment,l),l.forEach(a),this.h()},h(){M(t,"class","container")},m(s,l){u(s,t,l),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(s,[l]){const o={};l&1&&(o.$$scope={dirty:l,ctx:s}),r.$set(o)},i(s){n||(W(r.$$.fragment,s),W(i.$$.fragment,s),n=!0)},o(s){z(r.$$.fragment,s),z(i.$$.fragment,s),n=!1},d(s){s&&a(t),X(r),X(i)}}}const Pl="MultipleItemsGlider";class Gl extends re{constructor(t){super(),ae(this,t,null,Sl,ne,{})}}function Rl(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",g,L,B="5",x,V,P="6",y,$,Z="7",R,b,q="8",S,E,J="9",j,I,N="10",O,A,F="11",G,C,U="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,g=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=q,S=h(),E=v("div"),E.innerHTML=J,j=h(),I=v("div"),I.innerHTML=N,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=U,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),g=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=q),S=_(e),E=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(E)!=="svelte-kvy8xs"&&(E.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=N),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=U),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(E,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,g,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,E,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(g),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(E),a(j),a(I),a(O),a(A),a(G),a(C))}}}function Ol(m){let t,r,d,i,n;return r=new fe({props:{class:"glider-container",draggable:!0,hasDots:!0,slidesToShow:1,scrollLock:!0,$$slots:{default:[Rl]},$$scope:{ctx:m}}}),i=new oe({props:{example:jl}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(s){t=p(s,"DIV",{class:!0});var l=ee(t);K(r.$$.fragment,l),d=_(l),K(i.$$.fragment,l),l.forEach(a),this.h()},h(){M(t,"class","container")},m(s,l){u(s,t,l),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(s,[l]){const o={};l&1&&(o.$$scope={dirty:l,ctx:s}),r.$set(o)},i(s){n||(W(r.$$.fragment,s),W(i.$$.fragment,s),n=!0)},o(s){z(r.$$.fragment,s),z(i.$$.fragment,s),n=!1},d(s){s&&a(t),X(r),X(i)}}}const jl="SingleItemGlider";class ql extends re{constructor(t){super(),ae(this,t,null,Ol,ne,{})}}function Wl(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",g,L,B="5",x,V,P="6",y,$,Z="7",R,b,q="8",S,E,J="9",j,I,N="10",O,A,F="11",G,C,U="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,g=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=q,S=h(),E=v("div"),E.innerHTML=J,j=h(),I=v("div"),I.innerHTML=N,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=U,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),g=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=q),S=_(e),E=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(E)!=="svelte-kvy8xs"&&(E.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=N),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=U),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(E,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,g,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,E,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(g),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(E),a(j),a(I),a(O),a(A),a(G),a(C))}}}function zl(m){let t,r,d,i,n;return r=new fe({props:{class:"glider-container",hasArrows:!0,hasDots:!0,slidesToShow:1,slidesToScroll:1,responsive:[{breakpoint:775,settings:{slidesToShow:"auto",slidesToScroll:"auto",itemWidth:150,duration:.25}}],$$slots:{default:[Wl]},$$scope:{ctx:m}}}),i=new oe({props:{example:Ul}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(s){t=p(s,"DIV",{class:!0});var l=ee(t);K(r.$$.fragment,l),d=_(l),K(i.$$.fragment,l),l.forEach(a),this.h()},h(){M(t,"class","container")},m(s,l){u(s,t,l),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(s,[l]){const o={};l&1&&(o.$$scope={dirty:l,ctx:s}),r.$set(o)},i(s){n||(W(r.$$.fragment,s),W(i.$$.fragment,s),n=!0)},o(s){z(r.$$.fragment,s),z(i.$$.fragment,s),n=!1},d(s){s&&a(t),X(r),X(i)}}}const Ul="ResponsiveGlider";class Nl extends re{constructor(t){super(),ae(this,t,null,zl,ne,{})}}function Jl(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",g,L,B="5",x,V,P="6",y,$,Z="7",R,b,q="8",S,E,J="9",j,I,N="10",O,A,F="11",G,C,U="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,g=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=q,S=h(),E=v("div"),E.innerHTML=J,j=h(),I=v("div"),I.innerHTML=N,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=U,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),g=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=q),S=_(e),E=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(E)!=="svelte-kvy8xs"&&(E.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=N),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=U),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(E,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,g,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,E,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(g),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(E),a(j),a(I),a(O),a(A),a(G),a(C))}}}function Fl(m){let t,r,d,i,n,s={class:"glider-container",draggable:!0,hasDots:!0,slidesToShow:1,scrollLock:!0,$$slots:{default:[Jl]},$$scope:{ctx:m}};return r=new fe({props:s}),m[1](r),i=new oe({props:{example:Zl}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(l){t=p(l,"DIV",{class:!0});var o=ee(t);K(r.$$.fragment,o),d=_(o),K(i.$$.fragment,o),o.forEach(a),this.h()},h(){M(t,"class","container")},m(l,o){u(l,t,o),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(l,[o]){const T={};o&64&&(T.$$scope={dirty:o,ctx:l}),r.$set(T)},i(l){n||(W(r.$$.fragment,l),W(i.$$.fragment,l),n=!0)},o(l){z(r.$$.fragment,l),z(i.$$.fragment,l),n=!1},d(l){l&&a(t),m[1](null),X(r),X(i)}}}const Zl="AutoplayGlider",Ql=5e3,Yl=11;function Xl(m,t,r){let d=0,i,n;const s=()=>{d=setInterval(()=>{let T=n.page;T{d>0&&(clearInterval(d),d=-1)};yt(()=>{n=i==null?void 0:i.getGliderJs(),n&&!d&&s()}),ll(l);function o(T){Ne[T?"unshift":"push"](()=>{i=T,r(0,i)})}return[i,o]}class Kl extends re{constructor(t){super(),ae(this,t,Xl,Fl,ne,{})}}function es(m,t,r){const d=m.slice();return d[2]=t[r],d[4]=r,d}function ts(m){let t,r=m[4]+1+"",d;return{c(){t=v("option"),d=Pe(r),this.h()},l(i){t=p(i,"OPTION",{});var n=ee(t);d=Ge(n,r),n.forEach(a),this.h()},h(){t.__value=m[4]+1,ul(t,t.__value)},m(i,n){u(i,t,n),w(t,d)},p:ie,d(i){i&&a(t)}}}function ls(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",g,L,B="5",x,V,P="6",y,$,Z="7",R,b,q="8",S,E,J="9",j,I,N="10",O,A,F="11",G,C,U="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,g=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=q,S=h(),E=v("div"),E.innerHTML=J,j=h(),I=v("div"),I.innerHTML=N,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=U,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),g=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=q),S=_(e),E=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(E)!=="svelte-kvy8xs"&&(E.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=N),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=U),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(E,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,g,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,E,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(g),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(E),a(j),a(I),a(O),a(A),a(G),a(C))}}}function ss(m){let t,r,d,i,n,s,l,o,T,c,D=wt(Array(4)),g=[];for(let L=0;Lm[1].call(d)),M(t,"class","container")},m(L,B){u(L,t,B),w(t,r),w(t,d);for(let x=0;x{if(i){const l=Math.floor(Math.random()*12);i.scrollItem(l)}};yt(()=>{i=d==null?void 0:d.getGliderJs()});function s(l){Ne[l?"unshift":"push"](()=>{d=l,r(0,d)})}return[d,n,s]}class os extends re{constructor(t){super(),ae(this,t,fs,ds,ne,{})}}function cs(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",g,L,B="5",x,V,P="6",y,$,Z="7",R,b,q="8",S,E,J="9",j,I,N="10",O,A,F="11",G,C,U="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,g=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=q,S=h(),E=v("div"),E.innerHTML=J,j=h(),I=v("div"),I.innerHTML=N,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=U,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-bkzh6i"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-umu78x"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-gpp0i8"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1a3qmz3"&&(c.innerHTML=D),g=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-1qo5vbi"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-thqc2t"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-156l03o"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-14btzg3"&&(b.innerHTML=q),S=_(e),E=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(E)!=="svelte-1beya5u"&&(E.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-xw9fty"&&(I.innerHTML=N),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-zs7mfx"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-qkpbt4"&&(C.innerHTML=U),this.h()},h(){M(t,"class","slide-outer"),M(i,"class","slide-outer"),M(l,"class","slide-outer"),M(c,"class","slide-outer"),M(L,"class","slide-outer"),M(V,"class","slide-outer"),M($,"class","slide-outer"),M(b,"class","slide-outer"),M(E,"class","slide-outer"),M(I,"class","slide-outer"),M(A,"class","slide-outer"),M(C,"class","slide-outer")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,g,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,E,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(g),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(E),a(j),a(I),a(O),a(A),a(G),a(C))}}}function vs(m){let t,r,d,i,n;return r=new fe({props:{class:"glider-perspective",draggable:!0,hasDots:!0,slidesToShow:5,slidesToScroll:1,$$slots:{default:[cs]},$$scope:{ctx:m}}}),i=new oe({props:{example:ps}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(s){t=p(s,"DIV",{class:!0});var l=ee(t);K(r.$$.fragment,l),d=_(l),K(i.$$.fragment,l),l.forEach(a),this.h()},h(){M(t,"class","container")},m(s,l){u(s,t,l),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(s,[l]){const o={};l&1&&(o.$$scope={dirty:l,ctx:s}),r.$set(o)},i(s){n||(W(r.$$.fragment,s),W(i.$$.fragment,s),n=!0)},o(s){z(r.$$.fragment,s),z(i.$$.fragment,s),n=!1},d(s){s&&a(t),X(r),X(i)}}}const ps="PerspectiveViewGlider";class ms extends re{constructor(t){super(),ae(this,t,null,vs,ne,{})}}function Ms(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",g,L,B="5",x,V,P="6",y,$,Z="7",R,b,q="8",S,E,J="9",j,I,N="10",O,A,F="11",G,C,U="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,g=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=q,S=h(),E=v("div"),E.innerHTML=J,j=h(),I=v("div"),I.innerHTML=N,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=U,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),g=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=q),S=_(e),E=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(E)!=="svelte-kvy8xs"&&(E.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=N),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=U),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(E,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,g,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,E,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(g),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(E),a(j),a(I),a(O),a(A),a(G),a(C))}}}function hs(m){let t,r,d,i,n;return r=new fe({props:{class:"glider-container",draggable:!0,hasDots:!0,slidesToShow:3.5,slidesToScroll:1,scrollToSlide:5,$$slots:{default:[Ms]},$$scope:{ctx:m}}}),i=new oe({props:{example:_s}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(s){t=p(s,"DIV",{class:!0});var l=ee(t);K(r.$$.fragment,l),d=_(l),K(i.$$.fragment,l),l.forEach(a),this.h()},h(){M(t,"class","container")},m(s,l){u(s,t,l),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(s,[l]){const o={};l&1&&(o.$$scope={dirty:l,ctx:s}),r.$set(o)},i(s){n||(W(r.$$.fragment,s),W(i.$$.fragment,s),n=!0)},o(s){z(r.$$.fragment,s),z(i.$$.fragment,s),n=!1},d(s){s&&a(t),X(r),X(i)}}}const _s="ScrollToGlider";class Ts extends re{constructor(t){super(),ae(this,t,null,hs,ne,{})}}function Ls(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",g,L,B="5",x,V,P="6",y,$,Z="7",R,b,q="8",S,E,J="9",j,I,N="10",O,A,F="11",G,C,U="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,g=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=q,S=h(),E=v("div"),E.innerHTML=J,j=h(),I=v("div"),I.innerHTML=N,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=U,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),g=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=q),S=_(e),E=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(E)!=="svelte-kvy8xs"&&(E.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=N),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=U),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(E,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,g,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,E,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(g),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(E),a(j),a(I),a(O),a(A),a(G),a(C))}}}function Vs(m){let t,r,d,i,n;return r=new fe({props:{class:"glider-container",draggable:!0,hasArrows:!0,hasDots:!0,slidesToShow:5.5,slidesToScroll:1,$$slots:{default:[Ls]},$$scope:{ctx:m}}}),i=new oe({props:{example:Hs}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(s){t=p(s,"DIV",{class:!0});var l=ee(t);K(r.$$.fragment,l),d=_(l),K(i.$$.fragment,l),l.forEach(a),this.h()},h(){M(t,"class","container")},m(s,l){u(s,t,l),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(s,[l]){const o={};l&1&&(o.$$scope={dirty:l,ctx:s}),r.$set(o)},i(s){n||(W(r.$$.fragment,s),W(i.$$.fragment,s),n=!0)},o(s){z(r.$$.fragment,s),z(i.$$.fragment,s),n=!1},d(s){s&&a(t),X(r),X(i)}}}const Hs="FractionalSlidesGlider";class gs extends re{constructor(t){super(),ae(this,t,null,Vs,ne,{})}}function Xt(m){let t,r;return{c(){t=v("h5"),r=Pe(m[0]),this.h()},l(d){t=p(d,"H5",{class:!0});var i=ee(t);r=Ge(i,m[0]),i.forEach(a),this.h()},h(){M(t,"class","svelte-1vjpf7d")},m(d,i){u(d,t,i),w(t,r)},p(d,i){i&1&&St(r,d[0])},d(d){d&&a(t)}}}function Es(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",g,L,B="5",x,V,P="6",y,$,Z="7",R,b,q="8",S,E,J="9",j,I,N="10",O,A,F="11",G,C,U="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,g=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=q,S=h(),E=v("div"),E.innerHTML=J,j=h(),I=v("div"),I.innerHTML=N,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=U,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),g=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=q),S=_(e),E=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(E)!=="svelte-kvy8xs"&&(E.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=N),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=U),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(E,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,g,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,E,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(g),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(E),a(j),a(I),a(O),a(A),a(G),a(C))}}}function Ds(m){let t,r,d,i,n,s,l=m[0]&&Xt(m);return d=new fe({props:{class:"glider-container",draggable:!0,hasDots:!0,slidesToShow:3,onLoad:m[2],onSlideVisible:m[3],onSlideHidden:m[4],onRefresh:m[5],$$slots:{default:[Es]},$$scope:{ctx:m}}}),n=new oe({props:{example:$s}}),{c(){t=v("div"),l&&l.c(),r=h(),Q(d.$$.fragment),i=h(),Q(n.$$.fragment),this.h()},l(o){t=p(o,"DIV",{class:!0});var T=ee(t);l&&l.l(T),r=_(T),K(d.$$.fragment,T),i=_(T),K(n.$$.fragment,T),T.forEach(a),this.h()},h(){M(t,"class","container svelte-1vjpf7d")},m(o,T){u(o,t,T),l&&l.m(t,null),w(t,r),Y(d,t,null),w(t,i),Y(n,t,null),s=!0},p(o,[T]){o[0]?l?l.p(o,T):(l=Xt(o),l.c(),l.m(t,r)):l&&(l.d(1),l=null);const c={};T&128&&(c.$$scope={dirty:T,ctx:o}),d.$set(c)},i(o){s||(W(d.$$.fragment,o),W(n.$$.fragment,o),s=!0)},o(o){z(d.$$.fragment,o),z(n.$$.fragment,o),s=!1},d(o){o&&a(t),l&&l.d(),X(d),X(n)}}}const $s="CustomEventsGlider",bs=5e3;function Cs(m,t,r){let d=null,i=0;const n=(c,D)=>{i>0&&(clearTimeout(i),i=0),r(0,d=c+(D||D===0?`: ${JSON.stringify(D,null,2)}`:"")),i=setTimeout(()=>{r(0,d=null)},bs)};return[d,n,c=>{n("Loaded",[c.detail.target.tagName,...c.detail.target.classList].join("."))},c=>{n("Slide Visible",c.detail.slide)},c=>{n("Slide Hidden",c.detail.slide)},()=>{n("Refresh")}]}class As extends re{constructor(t){super(),ae(this,t,Cs,Ds,ne,{})}}function xs(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",g,L,B="5",x,V,P="6",y,$,Z="7",R,b,q="8",S,E,J="9",j,I,N="10",O,A,F="11",G,C,U="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,g=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=q,S=h(),E=v("div"),E.innerHTML=J,j=h(),I=v("div"),I.innerHTML=N,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=U,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),g=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=q),S=_(e),E=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(E)!=="svelte-kvy8xs"&&(E.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=N),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=U),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(E,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,g,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,E,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(g),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(E),a(j),a(I),a(O),a(A),a(G),a(C))}}}function Is(m){let t,r='';return{c(){t=v("button"),t.innerHTML=r,this.h()},l(d){t=p(d,"BUTTON",{slot:!0,type:!0,"aria-label":!0,class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ib087p"&&(t.innerHTML=r),this.h()},h(){M(t,"slot","iconLeft"),M(t,"type","button"),M(t,"aria-label","Previous"),M(t,"class","custom-arrow prev svelte-1teanvu")},m(d,i){u(d,t,i)},p:ie,d(d){d&&a(t)}}}function Bs(m){let t,r='';return{c(){t=v("button"),t.innerHTML=r,this.h()},l(d){t=p(d,"BUTTON",{slot:!0,type:!0,"aria-label":!0,class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ws2xgz"&&(t.innerHTML=r),this.h()},h(){M(t,"slot","iconRight"),M(t,"type","button"),M(t,"aria-label","Next"),M(t,"class","custom-arrow next svelte-1teanvu")},m(d,i){u(d,t,i)},p:ie,d(d){d&&a(t)}}}function ks(m){let t,r,d,i,n;return r=new fe({props:{class:"glider-container",draggable:!0,hasArrows:!0,hasDots:!0,slidesToShow:1,scrollLock:!0,$$slots:{iconRight:[Bs],iconLeft:[Is],default:[xs]},$$scope:{ctx:m}}}),i=new oe({props:{example:ws}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(s){t=p(s,"DIV",{class:!0});var l=ee(t);K(r.$$.fragment,l),d=_(l),K(i.$$.fragment,l),l.forEach(a),this.h()},h(){M(t,"class","container")},m(s,l){u(s,t,l),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(s,[l]){const o={};l&1&&(o.$$scope={dirty:l,ctx:s}),r.$set(o)},i(s){n||(W(r.$$.fragment,s),W(i.$$.fragment,s),n=!0)},o(s){z(r.$$.fragment,s),z(i.$$.fragment,s),n=!1},d(s){s&&a(t),X(r),X(i)}}}const ws="CustomElementArrowsGliderSlots";class ys extends re{constructor(t){super(),ae(this,t,null,ks,ne,{})}}function Ss(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",g,L,B="5",x,V,P="6",y,$,Z="7",R,b,q="8",S,E,J="9",j,I,N="10",O,A,F="11",G,C,U="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,g=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=q,S=h(),E=v("div"),E.innerHTML=J,j=h(),I=v("div"),I.innerHTML=N,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=U,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-ulh3d4"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1b4zum3"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-mm42qm"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-1c34nh5"&&(c.innerHTML=D),g=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-ulputg"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-10rngp3"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-xq3y6i"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-mkusid"&&(b.innerHTML=q),S=_(e),E=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(E)!=="svelte-kvy8xs"&&(E.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1sb7cxo"&&(I.innerHTML=N),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-e67ihr"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-1ssriie"&&(C.innerHTML=U),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(E,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,g,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,E,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(g),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(E),a(j),a(I),a(O),a(A),a(G),a(C))}}}function Ps(m){let t,r,d,i,n=' ',s,l,o;return r=new fe({props:{class:"glider-container",draggable:!0,hasArrows:!0,arrows:{prev:"div.container > div.custom-arrows > button.custom-arrow.prev",next:"div.container > div.custom-arrows > button.custom-arrow.next"},hasDots:!0,slidesToShow:1,scrollLock:!0,$$slots:{default:[Ss]},$$scope:{ctx:m}}}),l=new oe({props:{example:Gs}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),i=v("div"),i.innerHTML=n,s=h(),Q(l.$$.fragment),this.h()},l(T){t=p(T,"DIV",{class:!0});var c=ee(t);K(r.$$.fragment,c),d=_(c),i=p(c,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-1fd5g7j"&&(i.innerHTML=n),s=_(c),K(l.$$.fragment,c),c.forEach(a),this.h()},h(){M(i,"class","custom-arrows"),M(t,"class","container")},m(T,c){u(T,t,c),Y(r,t,null),w(t,d),w(t,i),w(t,s),Y(l,t,null),o=!0},p(T,[c]){const D={};c&1&&(D.$$scope={dirty:c,ctx:T}),r.$set(D)},i(T){o||(W(r.$$.fragment,T),W(l.$$.fragment,T),o=!0)},o(T){z(r.$$.fragment,T),z(l.$$.fragment,T),o=!1},d(T){T&&a(t),X(r),X(l)}}}const Gs="CustomElementArrowsGliderDomSelector";class Rs extends re{constructor(t){super(),ae(this,t,null,Ps,ne,{})}}function Kt(m){let t,r;return t=new fe({props:{class:"glider-container",draggable:!0,hasDots:!0,slidesToShow:1,scrollLock:!0,$$slots:{default:[Os]},$$scope:{ctx:m}}}),{c(){Q(t.$$.fragment)},l(d){K(t.$$.fragment,d)},m(d,i){Y(t,d,i),r=!0},i(d){r||(W(t.$$.fragment,d),r=!0)},o(d){z(t.$$.fragment,d),r=!1},d(d){X(t,d)}}}function Os(m){let t,r="1",d,i,n="2",s,l,o="3",T,c,D="4",g,L,B="5",x,V,P="6",y,$,Z="7",R,b,q="8",S,E,J="9",j,I,N="10",O,A,F="11",G,C,U="12";return{c(){t=v("div"),t.innerHTML=r,d=h(),i=v("div"),i.innerHTML=n,s=h(),l=v("div"),l.innerHTML=o,T=h(),c=v("div"),c.innerHTML=D,g=h(),L=v("div"),L.innerHTML=B,x=h(),V=v("div"),V.innerHTML=P,y=h(),$=v("div"),$.innerHTML=Z,R=h(),b=v("div"),b.innerHTML=q,S=h(),E=v("div"),E.innerHTML=J,j=h(),I=v("div"),I.innerHTML=N,O=h(),A=v("div"),A.innerHTML=F,G=h(),C=v("div"),C.innerHTML=U,this.h()},l(e){t=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-3p3avc"&&(t.innerHTML=r),d=_(e),i=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(i)!=="svelte-bowmkb"&&(i.innerHTML=n),s=_(e),l=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(l)!=="svelte-6g8kpq"&&(l.innerHTML=o),T=_(e),c=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(c)!=="svelte-mds4wp"&&(c.innerHTML=D),g=_(e),L=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(L)!=="svelte-1xgm5s4"&&(L.innerHTML=B),x=_(e),V=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(V)!=="svelte-1rvffev"&&(V.innerHTML=P),y=_(e),$=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H($)!=="svelte-caehmy"&&($.innerHTML=Z),R=_(e),b=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(b)!=="svelte-1wbew2d"&&(b.innerHTML=q),S=_(e),E=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(E)!=="svelte-1iy4kao"&&(E.innerHTML=J),j=_(e),I=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(I)!=="svelte-1kuldj0"&&(I.innerHTML=N),O=_(e),A=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(A)!=="svelte-1et7ye7"&&(A.innerHTML=F),G=_(e),C=p(e,"DIV",{class:!0,"data-svelte-h":!0}),H(C)!=="svelte-pn02nq"&&(C.innerHTML=U),this.h()},h(){M(t,"class","slide"),M(i,"class","slide"),M(l,"class","slide"),M(c,"class","slide"),M(L,"class","slide"),M(V,"class","slide"),M($,"class","slide"),M(b,"class","slide"),M(E,"class","slide"),M(I,"class","slide"),M(A,"class","slide"),M(C,"class","slide")},m(e,f){u(e,t,f),u(e,d,f),u(e,i,f),u(e,s,f),u(e,l,f),u(e,T,f),u(e,c,f),u(e,g,f),u(e,L,f),u(e,x,f),u(e,V,f),u(e,y,f),u(e,$,f),u(e,R,f),u(e,b,f),u(e,S,f),u(e,E,f),u(e,j,f),u(e,I,f),u(e,O,f),u(e,A,f),u(e,G,f),u(e,C,f)},p:ie,d(e){e&&(a(t),a(d),a(i),a(s),a(l),a(T),a(c),a(g),a(L),a(x),a(V),a(y),a($),a(R),a(b),a(S),a(E),a(j),a(I),a(O),a(A),a(G),a(C))}}}function js(m){let t,r,d="Toggle",i,n,s,l,o,T,c=m[0]&&Kt(m);return s=new oe({props:{example:qs}}),{c(){t=v("div"),r=v("button"),r.textContent=d,i=h(),c&&c.c(),n=h(),Q(s.$$.fragment),this.h()},l(D){t=p(D,"DIV",{class:!0});var g=ee(t);r=p(g,"BUTTON",{type:!0,"data-svelte-h":!0}),H(r)!=="svelte-hzt8qv"&&(r.textContent=d),i=_(g),c&&c.l(g),n=_(g),K(s.$$.fragment,g),g.forEach(a),this.h()},h(){M(r,"type","button"),M(t,"class","container")},m(D,g){u(D,t,g),w(t,r),w(t,i),c&&c.m(t,null),w(t,n),Y(s,t,null),l=!0,o||(T=Ht(r,"click",m[1]),o=!0)},p(D,[g]){D[0]?c?g&1&&W(c,1):(c=Kt(D),c.c(),W(c,1),c.m(t,n)):c&&(Je(),z(c,1,1,()=>{c=null}),Fe())},i(D){l||(W(c),W(s.$$.fragment,D),l=!0)},o(D){z(c),z(s.$$.fragment,D),l=!1},d(D){D&&a(t),c&&c.d(),X(s),o=!1,T()}}}const qs="RemountingGlider";function Ws(m,t,r){let d=!1;return[d,()=>{r(0,d=!d)}]}class zs extends re{constructor(t){super(),ae(this,t,Ws,js,ne,{})}}function Us(m){let t,r='

1
2
3
4
5
6
7
8
9
10
11
12
';return{c(){t=v("div"),t.innerHTML=r,this.h()},l(d){t=p(d,"DIV",{class:!0,"data-svelte-h":!0}),H(t)!=="svelte-sltgy5"&&(t.innerHTML=r),this.h()},h(){M(t,"class","custom-track")},m(d,i){u(d,t,i)},p:ie,d(d){d&&a(t)}}}function Ns(m){let t,r,d,i,n;return r=new fe({props:{class:"glider-container",draggable:!0,hasDots:!0,slidesToShow:3,skipTrack:!0,$$slots:{default:[Us]},$$scope:{ctx:m}}}),i=new oe({props:{example:Js}}),{c(){t=v("div"),Q(r.$$.fragment),d=h(),Q(i.$$.fragment),this.h()},l(s){t=p(s,"DIV",{class:!0});var l=ee(t);K(r.$$.fragment,l),d=_(l),K(i.$$.fragment,l),l.forEach(a),this.h()},h(){M(t,"class","container")},m(s,l){u(s,t,l),Y(r,t,null),w(t,d),Y(i,t,null),n=!0},p(s,[l]){const o={};l&1&&(o.$$scope={dirty:l,ctx:s}),r.$set(o)},i(s){n||(W(r.$$.fragment,s),W(i.$$.fragment,s),n=!0)},o(s){z(r.$$.fragment,s),z(i.$$.fragment,s),n=!1},d(s){s&&a(t),X(r),X(i)}}}const Js="SkipTrackGlider";class Fs extends re{constructor(t){super(),ae(this,t,null,Ns,ne,{})}}function el(m,t,r){const d=m.slice();return d[3]=t[r],d}function tl(m,t){let r,d,i=t[3]+"",n,s;return{key:m,first:null,c(){r=v("div"),d=v("span"),n=Pe(i),s=h(),this.h()},l(l){r=p(l,"DIV",{class:!0});var o=ee(r);d=p(o,"SPAN",{});var T=ee(d);n=Ge(T,i),T.forEach(a),s=_(o),o.forEach(a),this.h()},h(){M(r,"class","slide"),this.first=r},m(l,o){u(l,r,o),w(r,d),w(d,n),w(r,s)},p(l,o){t=l,o&1&&i!==(i=t[3]+"")&&St(n,i)},d(l){l&&a(r)}}}function Zs(m){let t=[],r=new Map,d,i=wt(m[0]);const n=s=>s[3];for(let s=0;s{const s=n(1,12),l=new Array(s).fill();r(0,d=l.map(()=>n(-100,100)))},n=(s,l)=>Math.floor(Math.random()*(l-s+1)+s);return i(),[d,i]}class Ks extends re{constructor(t){super(),ae(this,t,Xs,Qs,ne,{})}}function ei(m){let t,r,d="Demos",i,n,s,l='Multiple Items',o,T,c,D,g,L='Single Item with Scroll Lock',B,x,V,P,y,$='Responsive Glider',Z,R,b,q,S,E='Autoplay Glider',J,j,I,N,O,A='Updating Props',F,G,C,U,e,f='Glider.js instance methods',Re,he,Ve,ce,me,pe='Perspective View',de,He,Ke,_e,ve,Oe='Scroll to slide #5',et,ge,tt,Te,De,it='Fractional Slides',k,se,lt,Le,$e,nt='Custom Events',st,Ee,gt,be,je,Pt='Custom Element Arrows (w/ named slots)',Et,Be,Dt,Ce,qe,Gt='Custom Element Arrows (w/ DOM query selector)',$t,ke,bt,Ae,We,Rt='Unmounting / Remounting',Ct,we,At,xe,ze,Ot='Skip Track',xt,ye,It,Ie,Ue,jt='Dynamic Data',Bt,Se,rt;return T=new Gl({}),x=new ql({}),R=new Nl({}),j=new Kl({}),G=new rs({}),he=new os({}),He=new ms({}),ge=new Ts({}),se=new gs({}),Ee=new As({}),Be=new ys({}),ke=new Rs({}),we=new zs({}),ye=new Fs({}),Se=new Ks({}),{c(){t=v("div"),r=v("h2"),r.textContent=d,i=h(),n=v("div"),s=v("h3"),s.innerHTML=l,o=h(),Q(T.$$.fragment),c=h(),D=v("div"),g=v("h3"),g.innerHTML=L,B=h(),Q(x.$$.fragment),V=h(),P=v("div"),y=v("h3"),y.innerHTML=$,Z=h(),Q(R.$$.fragment),b=h(),q=v("div"),S=v("h3"),S.innerHTML=E,J=h(),Q(j.$$.fragment),I=h(),N=v("div"),O=v("h3"),O.innerHTML=A,F=h(),Q(G.$$.fragment),C=h(),U=v("div"),e=v("h3"),e.innerHTML=f,Re=h(),Q(he.$$.fragment),Ve=h(),ce=v("div"),me=v("h3"),me.innerHTML=pe,de=h(),Q(He.$$.fragment),Ke=h(),_e=v("div"),ve=v("h3"),ve.innerHTML=Oe,et=h(),Q(ge.$$.fragment),tt=h(),Te=v("div"),De=v("h3"),De.innerHTML=it,k=h(),Q(se.$$.fragment),lt=h(),Le=v("div"),$e=v("h3"),$e.innerHTML=nt,st=h(),Q(Ee.$$.fragment),gt=h(),be=v("div"),je=v("h3"),je.innerHTML=Pt,Et=h(),Q(Be.$$.fragment),Dt=h(),Ce=v("div"),qe=v("h3"),qe.innerHTML=Gt,$t=h(),Q(ke.$$.fragment),bt=h(),Ae=v("div"),We=v("h3"),We.innerHTML=Rt,Ct=h(),Q(we.$$.fragment),At=h(),xe=v("div"),ze=v("h3"),ze.innerHTML=Ot,xt=h(),Q(ye.$$.fragment),It=h(),Ie=v("div"),Ue=v("h3"),Ue.innerHTML=jt,Bt=h(),Q(Se.$$.fragment),this.h()},l(te){t=p(te,"DIV",{class:!0});var le=ee(t);r=p(le,"H2",{"data-svelte-h":!0}),H(r)!=="svelte-1vnreci"&&(r.textContent=d),i=_(le),n=p(le,"DIV",{class:!0});var at=ee(n);s=p(at,"H3",{"data-svelte-h":!0}),H(s)!=="svelte-18iblru"&&(s.innerHTML=l),o=_(at),K(T.$$.fragment,at),at.forEach(a),c=_(le),D=p(le,"DIV",{class:!0});var dt=ee(D);g=p(dt,"H3",{"data-svelte-h":!0}),H(g)!=="svelte-1yzuk39"&&(g.innerHTML=L),B=_(dt),K(x.$$.fragment,dt),dt.forEach(a),V=_(le),P=p(le,"DIV",{class:!0});var ut=ee(P);y=p(ut,"H3",{"data-svelte-h":!0}),H(y)!=="svelte-cu5sun"&&(y.innerHTML=$),Z=_(ut),K(R.$$.fragment,ut),ut.forEach(a),b=_(le),q=p(le,"DIV",{class:!0});var ft=ee(q);S=p(ft,"H3",{"data-svelte-h":!0}),H(S)!=="svelte-vgfwii"&&(S.innerHTML=E),J=_(ft),K(j.$$.fragment,ft),ft.forEach(a),I=_(le),N=p(le,"DIV",{class:!0});var ot=ee(N);O=p(ot,"H3",{"data-svelte-h":!0}),H(O)!=="svelte-1j1pnq"&&(O.innerHTML=A),F=_(ot),K(G.$$.fragment,ot),ot.forEach(a),C=_(le),U=p(le,"DIV",{class:!0});var ct=ee(U);e=p(ct,"H3",{"data-svelte-h":!0}),H(e)!=="svelte-nwcplk"&&(e.innerHTML=f),Re=_(ct),K(he.$$.fragment,ct),ct.forEach(a),Ve=_(le),ce=p(le,"DIV",{class:!0});var vt=ee(ce);me=p(vt,"H3",{"data-svelte-h":!0}),H(me)!=="svelte-1yhj4f5"&&(me.innerHTML=pe),de=_(vt),K(He.$$.fragment,vt),vt.forEach(a),Ke=_(le),_e=p(le,"DIV",{class:!0});var pt=ee(_e);ve=p(pt,"H3",{"data-svelte-h":!0}),H(ve)!=="svelte-136a7wx"&&(ve.innerHTML=Oe),et=_(pt),K(ge.$$.fragment,pt),pt.forEach(a),tt=_(le),Te=p(le,"DIV",{class:!0});var mt=ee(Te);De=p(mt,"H3",{"data-svelte-h":!0}),H(De)!=="svelte-5ssl97"&&(De.innerHTML=it),k=_(mt),K(se.$$.fragment,mt),mt.forEach(a),lt=_(le),Le=p(le,"DIV",{class:!0});var Mt=ee(Le);$e=p(Mt,"H3",{"data-svelte-h":!0}),H($e)!=="svelte-b4p8fk"&&($e.innerHTML=nt),st=_(Mt),K(Ee.$$.fragment,Mt),Mt.forEach(a),gt=_(le),be=p(le,"DIV",{class:!0});var ht=ee(be);je=p(ht,"H3",{"data-svelte-h":!0}),H(je)!=="svelte-1grli66"&&(je.innerHTML=Pt),Et=_(ht),K(Be.$$.fragment,ht),ht.forEach(a),Dt=_(le),Ce=p(le,"DIV",{class:!0});var _t=ee(Ce);qe=p(_t,"H3",{"data-svelte-h":!0}),H(qe)!=="svelte-10zrh6r"&&(qe.innerHTML=Gt),$t=_(_t),K(ke.$$.fragment,_t),_t.forEach(a),bt=_(le),Ae=p(le,"DIV",{class:!0});var Tt=ee(Ae);We=p(Tt,"H3",{"data-svelte-h":!0}),H(We)!=="svelte-12cqxbx"&&(We.innerHTML=Rt),Ct=_(Tt),K(we.$$.fragment,Tt),Tt.forEach(a),At=_(le),xe=p(le,"DIV",{class:!0});var Lt=ee(xe);ze=p(Lt,"H3",{"data-svelte-h":!0}),H(ze)!=="svelte-7lz09e"&&(ze.innerHTML=Ot),xt=_(Lt),K(ye.$$.fragment,Lt),Lt.forEach(a),It=_(le),Ie=p(le,"DIV",{class:!0});var Vt=ee(Ie);Ue=p(Vt,"H3",{"data-svelte-h":!0}),H(Ue)!=="svelte-wgfx3t"&&(Ue.innerHTML=jt),Bt=_(Vt),K(Se.$$.fragment,Vt),Vt.forEach(a),le.forEach(a),this.h()},h(){M(n,"class","item"),M(D,"class","item"),M(P,"class","item"),M(q,"class","item"),M(N,"class","item"),M(U,"class","item"),M(ce,"class","item"),M(_e,"class","item"),M(Te,"class","item"),M(Le,"class","item"),M(be,"class","item"),M(Ce,"class","item"),M(Ae,"class","item"),M(xe,"class","item"),M(Ie,"class","item"),M(t,"class","demos")},m(te,le){u(te,t,le),w(t,r),w(t,i),w(t,n),w(n,s),w(n,o),Y(T,n,null),w(t,c),w(t,D),w(D,g),w(D,B),Y(x,D,null),w(t,V),w(t,P),w(P,y),w(P,Z),Y(R,P,null),w(t,b),w(t,q),w(q,S),w(q,J),Y(j,q,null),w(t,I),w(t,N),w(N,O),w(N,F),Y(G,N,null),w(t,C),w(t,U),w(U,e),w(U,Re),Y(he,U,null),w(t,Ve),w(t,ce),w(ce,me),w(ce,de),Y(He,ce,null),w(t,Ke),w(t,_e),w(_e,ve),w(_e,et),Y(ge,_e,null),w(t,tt),w(t,Te),w(Te,De),w(Te,k),Y(se,Te,null),w(t,lt),w(t,Le),w(Le,$e),w(Le,st),Y(Ee,Le,null),w(t,gt),w(t,be),w(be,je),w(be,Et),Y(Be,be,null),w(t,Dt),w(t,Ce),w(Ce,qe),w(Ce,$t),Y(ke,Ce,null),w(t,bt),w(t,Ae),w(Ae,We),w(Ae,Ct),Y(we,Ae,null),w(t,At),w(t,xe),w(xe,ze),w(xe,xt),Y(ye,xe,null),w(t,It),w(t,Ie),w(Ie,Ue),w(Ie,Bt),Y(Se,Ie,null),rt=!0},p:ie,i(te){rt||(W(T.$$.fragment,te),W(x.$$.fragment,te),W(R.$$.fragment,te),W(j.$$.fragment,te),W(G.$$.fragment,te),W(he.$$.fragment,te),W(He.$$.fragment,te),W(ge.$$.fragment,te),W(se.$$.fragment,te),W(Ee.$$.fragment,te),W(Be.$$.fragment,te),W(ke.$$.fragment,te),W(we.$$.fragment,te),W(ye.$$.fragment,te),W(Se.$$.fragment,te),rt=!0)},o(te){z(T.$$.fragment,te),z(x.$$.fragment,te),z(R.$$.fragment,te),z(j.$$.fragment,te),z(G.$$.fragment,te),z(he.$$.fragment,te),z(He.$$.fragment,te),z(ge.$$.fragment,te),z(se.$$.fragment,te),z(Ee.$$.fragment,te),z(Be.$$.fragment,te),z(ke.$$.fragment,te),z(we.$$.fragment,te),z(ye.$$.fragment,te),z(Se.$$.fragment,te),rt=!1},d(te){te&&a(t),X(T),X(x),X(R),X(j),X(G),X(he),X(He),X(ge),X(se),X(Ee),X(Be),X(ke),X(we),X(ye),X(Se)}}}class ti extends re{constructor(t){super(),ae(this,t,null,ei,ne,{})}}const li="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAAAgCAMAAAC2GN9jAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABelBMVEUAAADLODfVX17ikI/hj47ikJDbeHfZcG/ikZDXaGfdf37ikpHxy8vMPj3subnnpaXORUT129rsubn12tr89PT89fT89fX99/f89vbwyMjWYmHVYWDXZmb01tboqanVX17VYWHVYF/adHThjIzkmprdf3/suLjLOzrxy8r9+fnYa2rdfX3UW1r78fHYbWzUXVz78vLjk5P23d3uwMDvwcHuwcHxycn129rdf37df3/02Nj019b12dnln57pra356enhj4712Nj019fz0tLZcG/SVVTxzMzNQ0LNQD/kmJjNQUDNQkHikZHLODfLODfLODfLODfLODfLODfLODfLODfLODfLODfLODfLODfKNjXKNDPKNTTKNzbLOjnMPT3////LNzb++/v+/Pz9+fn+/f3+/v79+Pj67Oz9+vr89PTJMjHJMzLQTUz45ubJMTDRT0/45+bRT07LOTjRUlH45+f99/fMPDvNQkHMPTzMPz7MPj3LOjrMOzvJNDMvlvuMAAAAWHRSTlMAAP7+/v79/f7+/f78/vz+/v39/v7+/v7+/P39/P39/f39/fv8/Pz+/P78/P7+/P7+/v38/Pz9/vz9/f39/Pv+/f39/Pz+/f7+/v7+/nBulvvugW9E+OEf4mrIgAAAAAFiS0dEX3PRUS0AAAAHdElNRQfmCgUKERuljNWGAAABpklEQVRIx+3W11LCQBQGYOyKgA0biqDYwN4VsGHDgr2czS6CBUWwF8T27i6ZgEk2tjEzlvG/OmXnu8ucaED1aH4PiTh5MAEgmBkjUBxL9jyJ0jMypcnK9hMCObnycR4Bsq2Vv04lIx0JJJcfkEenp6SBGRegICksCryafO4dsliZLPlucsdoNJbuMuQeHZfty8lQOR2Xh2hxQIuKkDJZaaqqqjYzZI3FWlt3KCfDNovVYgtTsp7uG46UyUaEcVMzQ2ZFcPT4RE7aHREccdgp2XKKo61tymQxEKLXMSR9ic7OGbKdA649QWo5wB2d/+S3kQRdqEt2Ef/l1bWqZHdPb1//japkKj+DNHyEHGDIQYbEQ04XH/cwJWMjbpd7JCYmR83CfoyS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hgW5c1LTzRHE0YGxLG4U/FsWi8W8FjfuBxBP2nLbycEE4p0IgMm7IwIHZ53sPdtk+zVTU6XT/DW4rvsAdSS1DygnN0POfQjAUn7mtTnrZJvk/+AGZhEfsc7mlZFz+x6THSFecXPziE+cUYGnDaQ9Pc9E8PwvbnRsLe6FCiJLXDjFOGK3a1K4iQuGkhNL9E6OeUkWL6hfVblyC2NDJAW1gcZBGyeYiG16TQacDy5BfvPWmQU7B+/Ig1L/PsXOVVpvxQfuZC669tzxyWucrXO5a6Sb9ZZVTDm7CJJVTtrIvdC5cxD40bpuvtDK6T9x8UHzJO12dYHRGHLbPi99+TpHgdqwPP0NyKdgprXvu9qUbTAmkQsNP1aWDUVA/cxbKk5eqV6cKef9Mq6IK34vtfUGMJ4fAlamYtw+7UDzTCx4LKSZdp5L4ylG5rloo9ZZ/QHOyrjhWDWaewAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0xMC0wNVQwODozNjowNSswMDowMKE1o64AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTMtMTAtMjhUMjE6NTU6MjQrMDA6MDDt+Ce9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==";function ii(m){let t,r,d=`

Svelte Glider

A Svelte wrapper for Glider.js

npm logo GitHub logo

`,i,n,s=`

Usage


 <script lang="ts">
   import Glider from '@warren-bank/svelte-glider'
+
   import 'glider-js/glider.min.css'
+  import '@warren-bank/svelte-glider/glider.defaults.css'
 </script>
 
 <Glider
+  class="gradient-outline hide-scrollbar"
   draggable
   hasArrows
   hasDots
   slidesToShow={2}
   slidesToScroll={1}
 >
-  <Pane>1</Pane>
-  <Pane>2</Pane>
-  <Pane>3</Pane>
-  <Pane>4</Pane>
-  <Pane>5</Pane>
+  <div class="slide"><h1>1</h1></div>
+  <div class="slide"><h1>2</h1></div>
+  <div class="slide"><h1>3</h1></div>
+  <div class="slide"><h1>4</h1></div>
+  <div class="slide"><h1>5</h1></div>
+  <div class="slide"><h1>6</h1></div>
+  <div class="slide"><h1>7</h1></div>
+  <div class="slide"><h1>8</h1></div>
+  <div class="slide"><h1>9</h1></div>
+  <div class="slide"><h1>10</h1></div>
+  <div class="slide"><h1>11</h1></div>
+  <div class="slide"><h1>12</h1></div>
 </Glider>
-
`,l,o,T,c,D,E=`
Released under the GPLv2 License
Copyright © 2024 - Warren Bank
`,L;return T=new ti({}),{c(){t=h(),r=v("div"),r.innerHTML=d,i=h(),n=v("div"),n.innerHTML=s,l=h(),o=v("div"),Q(T.$$.fragment),c=h(),D=v("footer"),D.innerHTML=E,this.h()},l(B){ol("svelte-gs3w3b",document.head).forEach(a),t=_(B),r=p(B,"DIV",{class:!0,"data-svelte-h":!0}),H(r)!=="svelte-143alx9"&&(r.innerHTML=d),i=_(B),n=p(B,"DIV",{class:!0,"data-svelte-h":!0}),H(n)!=="svelte-kt3dwc"&&(n.innerHTML=s),l=_(B),o=p(B,"DIV",{id:!0,class:!0});var V=ee(o);K(T.$$.fragment,V),V.forEach(a),c=_(B),D=p(B,"FOOTER",{"data-svelte-h":!0}),H(D)!=="svelte-190pagm"&&(D.innerHTML=E),this.h()},h(){document.title="svelte-glider - Svelte wrapper for Glider.js - A fast, lightweight carousel alternative.",M(r,"class","hero"),M(n,"class","content"),M(o,"id","app"),M(o,"class","app")},m(B,x){u(B,t,x),u(B,r,x),u(B,i,x),u(B,n,x),u(B,l,x),u(B,o,x),Y(T,o,null),u(B,c,x),u(B,D,x),L=!0},p:ie,i(B){L||(z(T.$$.fragment,B),L=!0)},o(B){U(T.$$.fragment,B),L=!1},d(B){B&&(a(t),a(r),a(i),a(n),a(l),a(o),a(c),a(D)),X(T)}}}class di extends re{constructor(t){super(),ae(this,t,null,ii,ne,{})}}export{di as component}; -//# sourceMappingURL=2.itH8zw3k.js.map +
`,l,o,T,c,D,g=`
Released under the GPLv2 License
Copyright © 2024 + Warren Bank
`,L;return T=new ti({}),{c(){t=h(),r=v("div"),r.innerHTML=d,i=h(),n=v("div"),n.innerHTML=s,l=h(),o=v("div"),Q(T.$$.fragment),c=h(),D=v("footer"),D.innerHTML=g,this.h()},l(B){ol("svelte-gs3w3b",document.head).forEach(a),t=_(B),r=p(B,"DIV",{class:!0,"data-svelte-h":!0}),H(r)!=="svelte-143alx9"&&(r.innerHTML=d),i=_(B),n=p(B,"DIV",{class:!0,"data-svelte-h":!0}),H(n)!=="svelte-psy62g"&&(n.innerHTML=s),l=_(B),o=p(B,"DIV",{id:!0,class:!0});var V=ee(o);K(T.$$.fragment,V),V.forEach(a),c=_(B),D=p(B,"FOOTER",{"data-svelte-h":!0}),H(D)!=="svelte-190pagm"&&(D.innerHTML=g),this.h()},h(){document.title="svelte-glider - Svelte wrapper for Glider.js - A fast, lightweight carousel alternative.",M(r,"class","hero"),M(n,"class","content"),M(o,"id","app"),M(o,"class","app")},m(B,x){u(B,t,x),u(B,r,x),u(B,i,x),u(B,n,x),u(B,l,x),u(B,o,x),Y(T,o,null),u(B,c,x),u(B,D,x),L=!0},p:ie,i(B){L||(W(T.$$.fragment,B),L=!0)},o(B){z(T.$$.fragment,B),L=!1},d(B){B&&(a(t),a(r),a(i),a(n),a(l),a(o),a(c),a(D)),X(T)}}}class di extends re{constructor(t){super(),ae(this,t,null,ii,ne,{})}}export{di as component}; +//# sourceMappingURL=2.lJgaJZ4e.js.map diff --git a/docs/build/_app/immutable/nodes/2.lJgaJZ4e.js.map b/docs/build/_app/immutable/nodes/2.lJgaJZ4e.js.map new file mode 100644 index 0000000..764fa92 --- /dev/null +++ b/docs/build/_app/immutable/nodes/2.lJgaJZ4e.js.map @@ -0,0 +1 @@ +{"version":3,"mappings":"ifAKO,SAASA,GAAkBC,EAAwB,CACzD,OAAOA,GAAA,YAAAA,EAAwB,UAAW,OACvCA,EACA,MAAM,KAAKA,CAAsB,CACrC,CAKO,SAASC,GAAcC,EAAOC,EAAQ,CAC5CD,EAAM,EAAE,CAAC,EACTC,EAAO,OAAOD,EAAM,GAAG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AA,uBACLF,EAMQC,EAAAoJ,EAAAnJ,CAAA","names":["ensure_array_like","array_like_or_iterator","destroy_block","block","lookup","update_keyed_each","old_blocks","dirty","get_key","dynamic","ctx","list","node","destroy","create_each_block","next","get_context","o","n","i","old_indexes","new_blocks","new_lookup","deltas","updates","child_ctx","key","will_move","did_move","insert","transition_in","new_block","old_block","new_key","old_key","run_all","factory","module","_window","Glider","element","settings","_","x","t","b","c","d","gliderPrototype","refresh","paging","width","height","breakpointChanged","slideCount","__","mouseup","move","events","e","dot","direction","arrow","event","disableArrows","middle","extraMiddle","slide","index","slideClasses","wasVisible","start","end","itemStart","itemEnd","className","isVisible","originalSlide","prevSlide","position","backwards","scrollLeft","resp","a","size","scrollTarget","scrollDuration","callback","animateIndex","animate","now","ele","double","step","inv","opt","global","v","replace","clear","name","arg","type","args","eventHandler","k","previous_tag","svelte_element","create_dynamic_element","safe_not_equal","claim_element","nodes","set_dynamic_element_data","insert_hydration","target","anchor","containerComponent","$$props","containerElement","button","div","if_block0","create_if_block_3","if_block2","create_if_block_1","if_block3","create_if_block","attr","div_class_value","current","id","hasArrows","hasDots","scrollToSlide","scrollToPage","slidesToShow","slidesToScroll","itemWidth","exactWidth","resizeLock","rewind","duration","dots","arrows","draggable","dragVelocity","scrollPropagate","scrollLock","skipTrack","scrollLockDelay","responsive","easing","onLoad","onAnimated","onRemove","onSlideVisible","onRefresh","onAdd","onDestroy","onSlideHidden","getGliderProps","gliderProps","getRestProps","restProps","makeGliderOptions","nextButtonEl","prevButtonEl","dotsEl","prevButtonRef","nextButtonRef","dotsRef","elementRef","gliderJs","getGliderJs","addEventListener","fn","removeEventListener","previousEventListeners","addEventListeners","removeOnly","onMount","GliderJs","onPropsUpdate","onEventListenerUpdate","afterUpdate","onUnmount","$$value","details","append_hydration","summary","pre","code_1","example","code","$$invalidate","__variableDynamicImportRuntimeHelper","__vitePreload","div0","div1","div2","div3","div4","div5","div6","div7","div8","div9","div10","div11","INTERVAL","MAX","timer","gliderRef","startTimer","stopTimer","t_value","option","each_value","add_render_callback","select","select_value","randomize","random","h5","MSG_TIMEOUT","message","updateMessage","subject","value","div12","span","set_data","t0","t0_value","randomValues","updateRandomValues","count","getRandomInt","array","min","max","div15","h2","h30","h31","h32","h33","h34","h35","h36","h37","h38","h39","h310","h311","h312","div13","h313","div14","h314","npm_logo","gh_logo","footer"],"ignoreList":[0,1],"sources":["../../../../../../node_modules/svelte/src/runtime/internal/each.js","../../../../../../../node_modules/glider-js/glider.js","../../../../../../../src/Container.svelte","../../../../../../../src/Glider.svelte","../../../../../../../examples/lib/Details.svelte","../../../../../../../examples/MultipleItemsGlider.svelte","../../../../../../../examples/SingleItemGlider.svelte","../../../../../../../examples/ResponsiveGlider.svelte","../../../../../../../examples/AutoplayGlider.svelte","../../../../../../../examples/UpdatingPropsGlider.svelte","../../../../../../../examples/GliderJsMethods.svelte","../../../../../../../examples/PerspectiveViewGlider.svelte","../../../../../../../examples/ScrollToGlider.svelte","../../../../../../../examples/FractionalSlidesGlider.svelte","../../../../../../../examples/CustomEventsGlider.svelte","../../../../../../../examples/CustomElementArrowsGliderSlots.svelte","../../../../../../../examples/CustomElementArrowsGliderDomSelector.svelte","../../../../../../../examples/RemountingGlider.svelte","../../../../../../../examples/SkipTrackGlider.svelte","../../../../../../../examples/DynamicDataGlider.svelte","../../../../../../src/lib/Examples.svelte","../../../../../../src/lib/assets/img/npm.png","../../../../../../src/lib/assets/img/github.png","../../../../../../src/routes/+page.svelte"],"sourcesContent":["import { transition_in, transition_out } from './transitions.js';\nimport { run_all } from './utils.js';\n\n// general each functions:\n\nexport function ensure_array_like(array_like_or_iterator) {\n\treturn array_like_or_iterator?.length !== undefined\n\t\t? array_like_or_iterator\n\t\t: Array.from(array_like_or_iterator);\n}\n\n// keyed each functions:\n\n/** @returns {void} */\nexport function destroy_block(block, lookup) {\n\tblock.d(1);\n\tlookup.delete(block.key);\n}\n\n/** @returns {void} */\nexport function outro_and_destroy_block(block, lookup) {\n\ttransition_out(block, 1, 1, () => {\n\t\tlookup.delete(block.key);\n\t});\n}\n\n/** @returns {void} */\nexport function fix_and_destroy_block(block, lookup) {\n\tblock.f();\n\tdestroy_block(block, lookup);\n}\n\n/** @returns {void} */\nexport function fix_and_outro_and_destroy_block(block, lookup) {\n\tblock.f();\n\toutro_and_destroy_block(block, lookup);\n}\n\n/** @returns {any[]} */\nexport function update_keyed_each(\n\told_blocks,\n\tdirty,\n\tget_key,\n\tdynamic,\n\tctx,\n\tlist,\n\tlookup,\n\tnode,\n\tdestroy,\n\tcreate_each_block,\n\tnext,\n\tget_context\n) {\n\tlet o = old_blocks.length;\n\tlet n = list.length;\n\tlet i = o;\n\tconst old_indexes = {};\n\twhile (i--) old_indexes[old_blocks[i].key] = i;\n\tconst new_blocks = [];\n\tconst new_lookup = new Map();\n\tconst deltas = new Map();\n\tconst updates = [];\n\ti = n;\n\twhile (i--) {\n\t\tconst child_ctx = get_context(ctx, list, i);\n\t\tconst key = get_key(child_ctx);\n\t\tlet block = lookup.get(key);\n\t\tif (!block) {\n\t\t\tblock = create_each_block(key, child_ctx);\n\t\t\tblock.c();\n\t\t} else if (dynamic) {\n\t\t\t// defer updates until all the DOM shuffling is done\n\t\t\tupdates.push(() => block.p(child_ctx, dirty));\n\t\t}\n\t\tnew_lookup.set(key, (new_blocks[i] = block));\n\t\tif (key in old_indexes) deltas.set(key, Math.abs(i - old_indexes[key]));\n\t}\n\tconst will_move = new Set();\n\tconst did_move = new Set();\n\t/** @returns {void} */\n\tfunction insert(block) {\n\t\ttransition_in(block, 1);\n\t\tblock.m(node, next);\n\t\tlookup.set(block.key, block);\n\t\tnext = block.first;\n\t\tn--;\n\t}\n\twhile (o && n) {\n\t\tconst new_block = new_blocks[n - 1];\n\t\tconst old_block = old_blocks[o - 1];\n\t\tconst new_key = new_block.key;\n\t\tconst old_key = old_block.key;\n\t\tif (new_block === old_block) {\n\t\t\t// do nothing\n\t\t\tnext = new_block.first;\n\t\t\to--;\n\t\t\tn--;\n\t\t} else if (!new_lookup.has(old_key)) {\n\t\t\t// remove old block\n\t\t\tdestroy(old_block, lookup);\n\t\t\to--;\n\t\t} else if (!lookup.has(new_key) || will_move.has(new_key)) {\n\t\t\tinsert(new_block);\n\t\t} else if (did_move.has(old_key)) {\n\t\t\to--;\n\t\t} else if (deltas.get(new_key) > deltas.get(old_key)) {\n\t\t\tdid_move.add(new_key);\n\t\t\tinsert(new_block);\n\t\t} else {\n\t\t\twill_move.add(old_key);\n\t\t\to--;\n\t\t}\n\t}\n\twhile (o--) {\n\t\tconst old_block = old_blocks[o];\n\t\tif (!new_lookup.has(old_block.key)) destroy(old_block, lookup);\n\t}\n\twhile (n) insert(new_blocks[n - 1]);\n\trun_all(updates);\n\treturn new_blocks;\n}\n\n/** @returns {void} */\nexport function validate_each_keys(ctx, list, get_context, get_key) {\n\tconst keys = new Map();\n\tfor (let i = 0; i < list.length; i++) {\n\t\tconst key = get_key(get_context(ctx, list, i));\n\t\tif (keys.has(key)) {\n\t\t\tlet value = '';\n\t\t\ttry {\n\t\t\t\tvalue = `with value '${String(key)}' `;\n\t\t\t} catch (e) {\n\t\t\t\t// can't stringify\n\t\t\t}\n\t\t\tthrow new Error(\n\t\t\t\t`Cannot have duplicate keys in a keyed each: Keys at index ${keys.get(\n\t\t\t\t\tkey\n\t\t\t\t)} and ${i} ${value}are duplicates`\n\t\t\t);\n\t\t}\n\t\tkeys.set(key, i);\n\t}\n}\n","/* @preserve\n _____ __ _ __ _\n / ___// /(_)___/ /___ ____ (_)___\n / (_ // // // _ // -_)/ __/_ / /(_-<\n \\___//_//_/ \\_,_/ \\__//_/ (_)__/ //___/\n |___/\n\n Version: 1.7.4\n Author: Nick Piscitelli (pickykneee)\n Website: https://nickpiscitelli.com\n Documentation: http://nickpiscitelli.github.io/Glider.js\n License: MIT License\n Release Date: October 25th, 2018\n\n*/\n\n/* global define */\n\n(function (factory) {\n typeof define === 'function' && define.amd\n ? define(factory)\n : typeof exports === 'object'\n ? (module.exports = factory())\n : factory()\n})(function () {\n ('use strict') // eslint-disable-line no-unused-expressions\n\n /* globals window:true */\n var _window = typeof window !== 'undefined' ? window : this\n\n var Glider = (_window.Glider = function (element, settings) {\n var _ = this\n\n if (element._glider) return element._glider\n\n _.ele = element\n _.ele.classList.add('glider')\n\n // expose glider object to its DOM element\n _.ele._glider = _\n\n // merge user setting with defaults\n _.opt = Object.assign(\n {},\n {\n slidesToScroll: 1,\n slidesToShow: 1,\n resizeLock: true,\n duration: 0.5,\n passiveListeners: false,\n // easeInQuad\n easing: function (x, t, b, c, d) {\n return c * (t /= d) * t + b\n }\n },\n settings\n )\n\n // set defaults\n _.animate_id = _.page = _.slide = 0\n _.arrows = {}\n\n // preserve original options to\n // extend breakpoint settings\n _._opt = _.opt\n\n if (_.opt.skipTrack) {\n // first and only child is the track\n _.track = _.ele.children[0]\n } else {\n // create track and wrap slides\n _.track = document.createElement('div')\n _.ele.appendChild(_.track)\n while (_.ele.children.length !== 1) {\n _.track.appendChild(_.ele.children[0])\n }\n }\n\n _.track.classList.add('glider-track')\n\n // start glider\n _.init()\n\n // set events\n _.resize = _.init.bind(_, true)\n _.event(\n _.ele,\n 'add',\n {\n scroll: _.updateControls.bind(_)\n },\n { passive: _.opt.passiveListeners }\n )\n _.event(_window, 'add', {\n resize: _.resize\n })\n })\n\n var gliderPrototype = Glider.prototype\n gliderPrototype.init = function (refresh, paging) {\n var _ = this\n\n var width = 0\n\n var height = 0\n\n _.slides = _.track.children;\n\n [].forEach.call(_.slides, function (_, i) {\n _.classList.add('glider-slide')\n _.setAttribute('data-gslide', i)\n })\n\n _.containerWidth = _.ele.clientWidth\n\n var breakpointChanged = _.settingsBreakpoint()\n if (!paging) paging = breakpointChanged\n\n if (\n _.opt.slidesToShow === 'auto' ||\n typeof _.opt._autoSlide !== 'undefined'\n ) {\n var slideCount = _.containerWidth / _.opt.itemWidth\n\n _.opt._autoSlide = _.opt.slidesToShow = _.opt.exactWidth\n ? slideCount\n : Math.max(1, Math.floor(slideCount))\n }\n if (_.opt.slidesToScroll === 'auto') {\n _.opt.slidesToScroll = Math.floor(_.opt.slidesToShow)\n }\n\n _.itemWidth = _.opt.exactWidth\n ? _.opt.itemWidth\n : _.containerWidth / _.opt.slidesToShow;\n\n // set slide dimensions\n [].forEach.call(_.slides, function (__) {\n __.style.height = 'auto'\n __.style.width = _.itemWidth + 'px'\n width += _.itemWidth\n height = Math.max(__.offsetHeight, height)\n })\n\n _.track.style.width = width + 'px'\n _.trackWidth = width\n _.isDrag = false\n _.preventClick = false\n _.move = false\n\n _.opt.resizeLock && _.scrollTo(_.slide * _.itemWidth, 0)\n\n if (breakpointChanged || paging) {\n _.bindArrows()\n _.buildDots()\n _.bindDrag()\n }\n\n _.updateControls()\n\n _.emit(refresh ? 'refresh' : 'loaded')\n }\n\n gliderPrototype.bindDrag = function () {\n var _ = this\n _.mouse = _.mouse || _.handleMouse.bind(_)\n\n var mouseup = function () {\n _.mouseDown = undefined\n _.ele.classList.remove('drag')\n if (_.isDrag) {\n _.preventClick = true\n }\n _.isDrag = false\n }\n\n const move = function () {\n _.move = true\n }\n\n var events = {\n mouseup: mouseup,\n mouseleave: mouseup,\n mousedown: function (e) {\n e.preventDefault()\n e.stopPropagation()\n _.mouseDown = e.clientX\n _.ele.classList.add('drag')\n _.move = false\n setTimeout(move, 300)\n },\n touchstart: function (e) {\n _.ele.classList.add('drag')\n _.move = false\n setTimeout(move, 300)\n },\n mousemove: _.mouse,\n click: function (e) {\n if (_.preventClick && _.move) {\n e.preventDefault()\n e.stopPropagation()\n }\n _.preventClick = false\n _.move = false\n }\n }\n\n _.ele.classList.toggle('draggable', _.opt.draggable === true)\n _.event(_.ele, 'remove', events)\n if (_.opt.draggable) {\n _.event(_.ele, 'add', events, {\n passive: _.opt.passiveListeners\n })\n }\n }\n\n gliderPrototype.buildDots = function () {\n var _ = this\n\n if (!_.opt.dots) {\n if (_.dots) _.dots.innerHTML = ''\n return\n }\n\n if (typeof _.opt.dots === 'string') {\n _.dots = document.querySelector(_.opt.dots)\n } else _.dots = _.opt.dots\n if (!_.dots) return\n\n _.dots.innerHTML = ''\n _.dots.setAttribute('role', 'tablist')\n _.dots.classList.add('glider-dots')\n\n for (var i = 0; i < Math.ceil(_.slides.length / _.opt.slidesToShow); ++i) {\n var dot = document.createElement('button')\n dot.dataset.index = i\n dot.setAttribute('aria-label', 'Page ' + (i + 1))\n dot.setAttribute('role', 'tab')\n dot.className = 'glider-dot ' + (i ? '' : 'active')\n _.event(dot, 'add', {\n click: _.scrollItem.bind(_, i, true)\n })\n _.dots.appendChild(dot)\n }\n }\n\n gliderPrototype.bindArrows = function () {\n var _ = this\n if (!_.opt.arrows) {\n Object.keys(_.arrows).forEach(function (direction) {\n var element = _.arrows[direction]\n _.event(element, 'remove', { click: element._func })\n })\n return\n }\n ['prev', 'next'].forEach(function (direction) {\n var arrow = _.opt.arrows[direction]\n if (arrow) {\n if (typeof arrow === 'string') arrow = document.querySelector(arrow)\n if (arrow) {\n arrow._func = arrow._func || _.scrollItem.bind(_, direction)\n _.event(arrow, 'remove', {\n click: arrow._func\n })\n _.event(arrow, 'add', {\n click: arrow._func\n })\n _.arrows[direction] = arrow\n }\n }\n })\n }\n\n gliderPrototype.updateControls = function (event) {\n var _ = this\n\n if (event && !_.opt.scrollPropagate) {\n event.stopPropagation()\n }\n\n var disableArrows = _.containerWidth >= _.trackWidth\n\n if (!_.opt.rewind) {\n if (_.arrows.prev) {\n _.arrows.prev.classList.toggle(\n 'disabled',\n _.ele.scrollLeft <= 0 || disableArrows\n )\n\n _.arrows.prev.setAttribute(\n 'aria-disabled',\n _.arrows.prev.classList.contains('disabled')\n )\n }\n if (_.arrows.next) {\n _.arrows.next.classList.toggle(\n 'disabled',\n Math.ceil(_.ele.scrollLeft + _.containerWidth) >=\n Math.floor(_.trackWidth) || disableArrows\n )\n\n _.arrows.next.setAttribute(\n 'aria-disabled',\n _.arrows.next.classList.contains('disabled')\n )\n }\n }\n\n _.slide = Math.round(_.ele.scrollLeft / _.itemWidth)\n _.page = Math.round(_.ele.scrollLeft / _.containerWidth)\n\n var middle = _.slide + Math.floor(Math.floor(_.opt.slidesToShow) / 2)\n\n var extraMiddle = Math.floor(_.opt.slidesToShow) % 2 ? 0 : middle + 1\n if (Math.floor(_.opt.slidesToShow) === 1) {\n extraMiddle = 0\n }\n\n // the last page may be less than one half of a normal page width so\n // the page is rounded down. when at the end, force the page to turn\n if (_.ele.scrollLeft + _.containerWidth >= Math.floor(_.trackWidth)) {\n _.page = _.dots ? _.dots.children.length - 1 : 0\n }\n\n [].forEach.call(_.slides, function (slide, index) {\n var slideClasses = slide.classList\n\n var wasVisible = slideClasses.contains('visible')\n\n var start = _.ele.scrollLeft\n\n var end = _.ele.scrollLeft + _.containerWidth\n\n var itemStart = _.itemWidth * index\n\n var itemEnd = itemStart + _.itemWidth;\n\n [].forEach.call(slideClasses, function (className) {\n /^left|right/.test(className) && slideClasses.remove(className)\n })\n slideClasses.toggle('active', _.slide === index)\n if (middle === index || (extraMiddle && extraMiddle === index)) {\n slideClasses.add('center')\n } else {\n slideClasses.remove('center')\n slideClasses.add(\n [\n index < middle ? 'left' : 'right',\n Math.abs(index - (index < middle ? middle : extraMiddle || middle))\n ].join('-')\n )\n }\n\n var isVisible =\n Math.ceil(itemStart) >= Math.floor(start) &&\n Math.floor(itemEnd) <= Math.ceil(end)\n slideClasses.toggle('visible', isVisible)\n if (isVisible !== wasVisible) {\n _.emit('slide-' + (isVisible ? 'visible' : 'hidden'), {\n slide: index\n })\n }\n })\n if (_.dots) {\n [].forEach.call(_.dots.children, function (dot, index) {\n dot.classList.toggle('active', _.page === index)\n })\n }\n\n if (event && _.opt.scrollLock) {\n clearTimeout(_.scrollLock)\n _.scrollLock = setTimeout(function () {\n clearTimeout(_.scrollLock)\n // dont attempt to scroll less than a pixel fraction - causes looping\n if (Math.abs(_.ele.scrollLeft / _.itemWidth - _.slide) > 0.02) {\n if (!_.mouseDown) {\n // Only scroll if not at the end (#94)\n if (_.trackWidth > _.containerWidth + _.ele.scrollLeft) {\n _.scrollItem(_.getCurrentSlide())\n }\n }\n }\n }, _.opt.scrollLockDelay || 250)\n }\n }\n\n gliderPrototype.getCurrentSlide = function () {\n var _ = this\n return _.round(_.ele.scrollLeft / _.itemWidth)\n }\n\n gliderPrototype.scrollItem = function (slide, dot, e) {\n if (e) e.preventDefault()\n\n var _ = this\n\n var originalSlide = slide\n ++_.animate_id\n\n var prevSlide = _.slide\n var position\n\n if (dot === true) {\n slide = Math.round((slide * _.containerWidth) / _.itemWidth)\n position = slide * _.itemWidth\n } else {\n if (typeof slide === 'string') {\n var backwards = slide === 'prev'\n\n // use precise location if fractional slides are on\n if (_.opt.slidesToScroll % 1 || _.opt.slidesToShow % 1) {\n slide = _.getCurrentSlide()\n } else {\n slide = _.slide\n }\n\n if (backwards) slide -= _.opt.slidesToScroll\n else slide += _.opt.slidesToScroll\n\n if (_.opt.rewind) {\n var scrollLeft = _.ele.scrollLeft\n slide =\n backwards && !scrollLeft\n ? _.slides.length\n : !backwards &&\n scrollLeft + _.containerWidth >= Math.floor(_.trackWidth)\n ? 0\n : slide\n }\n }\n\n slide = Math.max(Math.min(slide, _.slides.length), 0)\n\n _.slide = slide\n position = _.itemWidth * slide\n }\n\n _.emit('scroll-item', { prevSlide, slide })\n\n _.scrollTo(\n position,\n _.opt.duration * Math.abs(_.ele.scrollLeft - position),\n function () {\n _.updateControls()\n _.emit('animated', {\n value: originalSlide,\n type:\n typeof originalSlide === 'string' ? 'arrow' : dot ? 'dot' : 'slide'\n })\n }\n )\n\n return false\n }\n\n gliderPrototype.settingsBreakpoint = function () {\n var _ = this\n\n var resp = _._opt.responsive\n\n if (resp) {\n // Sort the breakpoints in mobile first order\n resp.sort(function (a, b) {\n return b.breakpoint - a.breakpoint\n })\n\n for (var i = 0; i < resp.length; ++i) {\n var size = resp[i]\n if (_window.innerWidth >= size.breakpoint) {\n if (_.breakpoint !== size.breakpoint) {\n _.opt = Object.assign({}, _._opt, size.settings)\n _.breakpoint = size.breakpoint\n return true\n }\n return false\n }\n }\n }\n // set back to defaults in case they were overriden\n var breakpointChanged = _.breakpoint !== 0\n _.opt = Object.assign({}, _._opt)\n _.breakpoint = 0\n return breakpointChanged\n }\n\n gliderPrototype.scrollTo = function (scrollTarget, scrollDuration, callback) {\n var _ = this\n\n var start = new Date().getTime()\n\n var animateIndex = _.animate_id\n\n var animate = function () {\n var now = new Date().getTime() - start\n _.ele.scrollLeft =\n _.ele.scrollLeft +\n (scrollTarget - _.ele.scrollLeft) *\n _.opt.easing(0, now, 0, 1, scrollDuration)\n if (now < scrollDuration && animateIndex === _.animate_id) {\n _window.requestAnimationFrame(animate)\n } else {\n _.ele.scrollLeft = scrollTarget\n callback && callback.call(_)\n }\n }\n\n _window.requestAnimationFrame(animate)\n }\n\n gliderPrototype.removeItem = function (index) {\n var _ = this\n\n if (_.slides.length) {\n _.track.removeChild(_.slides[index])\n _.refresh(true)\n _.emit('remove')\n }\n }\n\n gliderPrototype.addItem = function (ele) {\n var _ = this\n\n _.track.appendChild(ele)\n _.refresh(true)\n _.emit('add')\n }\n\n gliderPrototype.handleMouse = function (e) {\n var _ = this\n if (_.mouseDown) {\n _.isDrag = true\n _.ele.scrollLeft +=\n (_.mouseDown - e.clientX) * (_.opt.dragVelocity || 3.3)\n _.mouseDown = e.clientX\n }\n }\n\n // used to round to the nearest 0.XX fraction\n gliderPrototype.round = function (double) {\n var _ = this\n var step = _.opt.slidesToScroll % 1 || 1\n var inv = 1.0 / step\n return Math.round(double * inv) / inv\n }\n\n gliderPrototype.refresh = function (paging) {\n var _ = this\n _.init(true, paging)\n }\n\n gliderPrototype.setOption = function (opt, global) {\n var _ = this\n\n if (_.breakpoint && !global) {\n _._opt.responsive.forEach(function (v) {\n if (v.breakpoint === _.breakpoint) {\n v.settings = Object.assign({}, v.settings, opt)\n }\n })\n } else {\n _._opt = Object.assign({}, _._opt, opt)\n }\n\n _.breakpoint = 0\n _.settingsBreakpoint()\n }\n\n gliderPrototype.destroy = function () {\n var _ = this\n\n var replace = _.ele.cloneNode(true)\n\n var clear = function (ele) {\n ele.removeAttribute('style');\n [].forEach.call(ele.classList, function (className) {\n /^glider/.test(className) && ele.classList.remove(className)\n })\n }\n // remove track if it was created by glider\n if (!_.opt.skipTrack) {\n replace.children[0].outerHTML = replace.children[0].innerHTML\n }\n clear(replace);\n [].forEach.call(replace.getElementsByTagName('*'), clear)\n _.ele.parentNode.replaceChild(replace, _.ele)\n _.event(_window, 'remove', {\n resize: _.resize\n })\n _.emit('destroy')\n }\n\n gliderPrototype.emit = function (name, arg) {\n var _ = this\n\n var e = new _window.CustomEvent('glider-' + name, {\n bubbles: !_.opt.eventPropagate,\n detail: arg\n })\n _.ele.dispatchEvent(e)\n }\n\n gliderPrototype.event = function (ele, type, args) {\n var eventHandler = ele[type + 'EventListener'].bind(ele)\n Object.keys(args).forEach(function (k) {\n eventHandler(k, args[k])\n })\n }\n\n return Glider\n})\n","\n\n{#if containerComponent}\n \n \n \n{:else}\n \n \n \n{/if}\n","\n\n\n {#if hasArrows && !arrows}\n \n «\n \n {/if}\n\n
\n {#if skipTrack}\n \n {:else}\n
\n {/if}\n
\n\n {#if hasDots && !dots}\n
\n {/if}\n\n {#if hasArrows && !arrows}\n \n »\n \n {/if}\n\n","\n\n{#if code}\n
\n View Source Code\n
{code}
\n
\n{/if}\n","\n\n\n\n
\n \n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n
\n","\n\n\n\n
\n \n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n
\n","\n\n\n\n
\n \n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n
\n","\n\n\n\n
\n \n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n
\n","\n\n\n\n
\n Number of slides:\n \n \n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n
\n","\n\n\n\n
\n \n \n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n
\n","\n\n\n\n
\n \n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n
\n","\n\n\n\n
\n \n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n
\n","\n\n\n\n
\n \n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n
\n","\n\n\n\n\n\n
\n {#if message}\n
{message}
\n {/if}\n {updateMessage('Loaded', [e.detail.target.tagName, ...e.detail.target.classList].join('.'))}}\n onSlideVisible={(e) => {updateMessage('Slide Visible', e.detail.slide)}}\n onSlideHidden={ (e) => {updateMessage('Slide Hidden', e.detail.slide)}}\n onRefresh={ ( ) => {updateMessage('Refresh')}}\n >\n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n
\n","\n\n\n\n\n\n
\n \n\n \n \n \n \n \n \n\n \n \n \n \n \n \n\n \n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n
\n","\n\n\n\n
\n div.custom-arrows > button.custom-arrow.prev',\n next: 'div.container > div.custom-arrows > button.custom-arrow.next'\n }}\n hasDots\n slidesToShow={1}\n scrollLock\n >\n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n
\n \n \n \n \n \n \n\n \n \n \n \n \n \n
\n
\n
\n","\n\n\n\n
\n \n {#if isVisible}\n \n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n \n {/if}\n
\n
\n","\n\n\n\n
\n \n
\n
\n 1\n
\n
\n 2\n
\n
\n 3\n
\n
\n 4\n
\n
\n 5\n
\n
\n 6\n
\n
\n 7\n
\n
\n 8\n
\n
\n 9\n
\n
\n 10\n
\n
\n 11\n
\n
\n 12\n
\n
\n \n
\n
\n","\n\n\n\n
\n \n \n {#each randomValues as value (value)}\n
\n {value}\n
\n {/each}\n \n
\n
\n","\n\n
\n

Demos

\n
\n

\n \n Multiple Items\n \n

\n \n
\n
\n

\n \n Single Item with Scroll Lock\n \n

\n \n
\n
\n

\n \n Responsive Glider\n \n

\n \n
\n
\n

\n \n Autoplay Glider\n \n

\n \n
\n
\n

\n \n Updating Props\n \n

\n \n
\n
\n

\n \n Glider.js instance methods\n \n

\n \n
\n
\n

\n \n Perspective View\n \n

\n \n
\n \n
\n

\n \n Fractional Slides\n \n

\n \n
\n
\n

\n \n Custom Events\n \n

\n \n
\n
\n

\n \n Custom Element Arrows (w/ named slots)\n \n

\n \n
\n
\n

\n \n Custom Element Arrows (w/ DOM query selector)\n \n

\n \n
\n
\n

\n \n Unmounting / Remounting\n \n

\n \n
\n
\n

\n \n Skip Track\n \n

\n \n
\n
\n

\n \n Dynamic Data\n \n

\n \n
\n
\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAAAgCAMAAAC2GN9jAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABelBMVEUAAADLODfVX17ikI/hj47ikJDbeHfZcG/ikZDXaGfdf37ikpHxy8vMPj3subnnpaXORUT129rsubn12tr89PT89fT89fX99/f89vbwyMjWYmHVYWDXZmb01tboqanVX17VYWHVYF/adHThjIzkmprdf3/suLjLOzrxy8r9+fnYa2rdfX3UW1r78fHYbWzUXVz78vLjk5P23d3uwMDvwcHuwcHxycn129rdf37df3/02Nj019b12dnln57pra356enhj4712Nj019fz0tLZcG/SVVTxzMzNQ0LNQD/kmJjNQUDNQkHikZHLODfLODfLODfLODfLODfLODfLODfLODfLODfLODfLODfLODfKNjXKNDPKNTTKNzbLOjnMPT3////LNzb++/v+/Pz9+fn+/f3+/v79+Pj67Oz9+vr89PTJMjHJMzLQTUz45ubJMTDRT0/45+bRT07LOTjRUlH45+f99/fMPDvNQkHMPTzMPz7MPj3LOjrMOz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jAyMi0xMC0wNVQwODozNjowNSswMDowMKE1o64AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTMtMTAtMjhUMjE6NTU6MjQrMDA6MDDt+Ce9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==\"","\n svelte-glider - Svelte wrapper for Glider.js - A fast, lightweight carousel alternative.\n\n\n\n\n
\n

Svelte Glider

\n

\n A\n \n Svelte\n wrapper for\n \n Glider.js\n \n

\n

\n \n \n \n \n \n \n

\n
\n
\n
\n

Usage

\n
\n<script lang=\"ts\">\n  import Glider from '@warren-bank/svelte-glider'\n\n  import 'glider-js/glider.min.css'\n  import '@warren-bank/svelte-glider/glider.defaults.css'\n</script>\n\n<Glider\n  class=\"gradient-outline hide-scrollbar\"\n  draggable\n  hasArrows\n  hasDots\n  slidesToShow={2}\n  slidesToScroll={1}\n>\n  <div class=\"slide\"><h1>1</h1></div>\n  <div class=\"slide\"><h1>2</h1></div>\n  <div class=\"slide\"><h1>3</h1></div>\n  <div class=\"slide\"><h1>4</h1></div>\n  <div class=\"slide\"><h1>5</h1></div>\n  <div class=\"slide\"><h1>6</h1></div>\n  <div class=\"slide\"><h1>7</h1></div>\n  <div class=\"slide\"><h1>8</h1></div>\n  <div class=\"slide\"><h1>9</h1></div>\n  <div class=\"slide\"><h1>10</h1></div>\n  <div class=\"slide\"><h1>11</h1></div>\n  <div class=\"slide\"><h1>12</h1></div>\n</Glider>\n
\n
\n
\n
\n \n
\n
\n
Released under the GPLv2 License
\n
\n Copyright © 2024\n Warren Bank\n
\n
\n"],"file":"_app/immutable/nodes/2.lJgaJZ4e.js"} \ No newline at end of file diff --git a/docs/build/_app/version.json b/docs/build/_app/version.json index 615fbde..4c86d26 100644 --- a/docs/build/_app/version.json +++ b/docs/build/_app/version.json @@ -1 +1 @@ -{"version":"1717662409676"} \ No newline at end of file +{"version":"1717716051823"} \ No newline at end of file diff --git a/docs/build/index.html b/docs/build/index.html index fa67345..dbd8c1b 100644 --- a/docs/build/index.html +++ b/docs/build/index.html @@ -5,45 +5,55 @@ - - + + - + - svelte-glider - Svelte wrapper for Glider.js - A fast, lightweight carousel alternative. + svelte-glider - Svelte wrapper for Glider.js - A fast, lightweight carousel alternative.

Svelte Glider

A Svelte wrapper for - Glider.js

npm logo GitHub logo

Usage


+    Glider.js

npm logo GitHub logo

Usage


 <script lang="ts">
   import Glider from '@warren-bank/svelte-glider'
+
   import 'glider-js/glider.min.css'
+  import '@warren-bank/svelte-glider/glider.defaults.css'
 </script>
 
 <Glider
+  class="gradient-outline hide-scrollbar"
   draggable
   hasArrows
   hasDots
   slidesToShow={2}
   slidesToScroll={1}
 >
-  <Pane>1</Pane>
-  <Pane>2</Pane>
-  <Pane>3</Pane>
-  <Pane>4</Pane>
-  <Pane>5</Pane>
+  <div class="slide"><h1>1</h1></div>
+  <div class="slide"><h1>2</h1></div>
+  <div class="slide"><h1>3</h1></div>
+  <div class="slide"><h1>4</h1></div>
+  <div class="slide"><h1>5</h1></div>
+  <div class="slide"><h1>6</h1></div>
+  <div class="slide"><h1>7</h1></div>
+  <div class="slide"><h1>8</h1></div>
+  <div class="slide"><h1>9</h1></div>
+  <div class="slide"><h1>10</h1></div>
+  <div class="slide"><h1>11</h1></div>
+  <div class="slide"><h1>12</h1></div>
 </Glider>
 

Demos

Multiple Items

1
2
3
4
5
6
7
8
9
10
11
12

Single Item with Scroll Lock

1
2
3
4
5
6
7
8
9
10
11
12

Responsive Glider

1
2
3
4
5
6
7
8
9
10
11
12

Autoplay Glider

1
2
3
4
5
6
7
8
9
10
11
12

Updating Props

Number of slides: -
1
2
3
4
5
6
7
8
9
10
11
12

Glider.js instance methods

1
2
3
4
5
6
7
8
9
10
11
12

Perspective View

1
2
3
4
5
6
7
8
9
10
11
12

Scroll to slide #5

1
2
3
4
5
6
7
8
9
10
11
12

Fractional Slides

1
2
3
4
5
6
7
8
9
10
11
12

Custom Events

1
2
3
4
5
6
7
8
9
10
11
12

Custom Element Arrows (w/ named slots)

1
2
3
4
5
6
7
8
9
10
11
12

Skip Track

1
2
3
4
5
6
7
8
9
10
11
12

Dynamic Data

91
68
85
-19
-49
-8
-72
96
Released under the GPLv2 License
Copyright © 2024 +
1
2
3
4
5
6
7
8
9
10
11
12

Glider.js instance methods

1
2
3
4
5
6
7
8
9
10
11
12

Perspective View

1
2
3
4
5
6
7
8
9
10
11
12

Scroll to slide #5

1
2
3
4
5
6
7
8
9
10
11
12

Fractional Slides

1
2
3
4
5
6
7
8
9
10
11
12

Custom Events

1
2
3
4
5
6
7
8
9
10
11
12

Custom Element Arrows (w/ named slots)

1
2
3
4
5
6
7
8
9
10
11
12

Skip Track

1
2
3
4
5
6
7
8
9
10
11
12

Dynamic Data

84
37
54
47
92
Released under the GPLv2 License
Copyright © 2024 Warren Bank