diff --git a/_app/immutable/chunks/BJ41t_xM.js b/_app/immutable/chunks/B1J5vlOb.js similarity index 99% rename from _app/immutable/chunks/BJ41t_xM.js rename to _app/immutable/chunks/B1J5vlOb.js index ddeb3c9df..e0bff65c4 100644 --- a/_app/immutable/chunks/BJ41t_xM.js +++ b/_app/immutable/chunks/B1J5vlOb.js @@ -1,4 +1,4 @@ -import{a as $,t as L}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{p as F,n as g,g as v,o as H,s as c,c as i,t as M,r as C,a0 as O,a1 as K,a2 as I,f as z,aw as _}from"./C7ybvbG6.js";import{s as N}from"./Pm9v8Z5x.js";import{b as U}from"./qc0iZXgO.js";import{R as x}from"./C9KGm8gN.js";import{F as m,a as f,b as h,c as A,E as b,f as j,h as T,j as B}from"./RBm6SzXJ.js";import{i as w}from"./9wtrq6xj.js";import{L as d}from"./sm3p1Cgt.js";import{b as q}from"./CT42DmWV.js";import{p as V,s as J}from"./Cb01ZQJJ.js";function G(e,s){F(s,!1);const n="hello = Hello, world!",a=new m("en");a.addResource(new f(n)),h(()=>A([a])),w(),d(e,{id:"hello"}),g()}const Q=`
<script>
+import{a as $,t as L}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{p as F,n as g,g as v,o as H,s as c,c as i,t as M,r as C,a0 as O,a1 as K,a2 as I,f as z,aw as _}from"./C7ybvbG6.js";import{s as N}from"./Pm9v8Z5x.js";import{b as U}from"./D0WVFpiq.js";import{R as x}from"./DXIQJq6t.js";import{F as m,a as f,b as h,c as A,E as b,f as j,h as T,j as B}from"./RBm6SzXJ.js";import{i as w}from"./9wtrq6xj.js";import{L as d}from"./sm3p1Cgt.js";import{b as q}from"./CT42DmWV.js";import{p as V,s as J}from"./Cb01ZQJJ.js";function G(e,s){F(s,!1);const n="hello = Hello, world!",a=new m("en");a.addResource(new f(n)),h(()=>A([a])),w(),d(e,{id:"hello"}),g()}const Q=`<script>
import { FluentBundle, FluentResource } from '@fluent/bundle';
import { createSvelteFluent, initFluentContext, Localized } from '@nubolab-ffwd/svelte-fluent';
diff --git a/_app/immutable/chunks/pBxkpSOH.js b/_app/immutable/chunks/B1l9QTtp.js
similarity index 76%
rename from _app/immutable/chunks/pBxkpSOH.js
rename to _app/immutable/chunks/B1l9QTtp.js
index 5567fa9fd..33c5724aa 100644
--- a/_app/immutable/chunks/pBxkpSOH.js
+++ b/_app/immutable/chunks/B1l9QTtp.js
@@ -1 +1 @@
-import{m as i}from"./UNhKW_vC.js";import{m as l}from"./BKiJ3o1Z.js";import{b as o}from"./qc0iZXgO.js";const c=(s,e)=>s.startsWith(e)?s.slice(e.length):s,n=(s,e)=>s.endsWith(e)?s.slice(0,-e.length):s,r=Object.fromEntries(Object.entries(Object.assign({"./Localized/+page.svelte.md":i,"./Overlay/+page.svelte.md":l})).map(([s,e])=>[n(c(s,"./"),"/+page.svelte.md"),e])),t=Object.entries(r).map(([s,e])=>({text:(e==null?void 0:e.menuTitle)??(e==null?void 0:e.title),title:e==null?void 0:e.title,href:o+"/docs/legacy/"+s}));export{t as s};
+import{m as i}from"./Cla8vzo_.js";import{m as l}from"./CFnW3eWN.js";import{b as o}from"./D0WVFpiq.js";const c=(s,e)=>s.startsWith(e)?s.slice(e.length):s,n=(s,e)=>s.endsWith(e)?s.slice(0,-e.length):s,r=Object.fromEntries(Object.entries(Object.assign({"./Localized/+page.svelte.md":i,"./Overlay/+page.svelte.md":l})).map(([s,e])=>[n(c(s,"./"),"/+page.svelte.md"),e])),t=Object.entries(r).map(([s,e])=>({text:(e==null?void 0:e.menuTitle)??(e==null?void 0:e.title),title:e==null?void 0:e.title,href:o+"/docs/legacy/"+s}));export{t as s};
diff --git a/_app/immutable/chunks/CIxP2z4r.js b/_app/immutable/chunks/BDSGbctU.js
similarity index 99%
rename from _app/immutable/chunks/CIxP2z4r.js
rename to _app/immutable/chunks/BDSGbctU.js
index ae07cb96b..01a21c9de 100644
--- a/_app/immutable/chunks/CIxP2z4r.js
+++ b/_app/immutable/chunks/BDSGbctU.js
@@ -1,4 +1,4 @@
-import{n as u,a as i,t as D}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{p as l,n as t,f as R,s as a,c as y,aw as A,r as C}from"./C7ybvbG6.js";import{h as P}from"./Dc5pHhiR.js";import{R as r}from"./C9KGm8gN.js";import{a as h,d as m,F as f,b,c as x,E}from"./RBm6SzXJ.js";import{i as p}from"./9wtrq6xj.js";const q=`hello = Hello, world!
+import{n as u,a as i,t as D}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{p as l,n as t,f as R,s as a,c as y,aw as A,r as C}from"./C7ybvbG6.js";import{h as P}from"./Dc5pHhiR.js";import{R as r}from"./DXIQJq6t.js";import{a as h,d as m,F as f,b,c as x,E}from"./RBm6SzXJ.js";import{i as p}from"./9wtrq6xj.js";const q=`hello = Hello, world!
`,T=new h(q);var B=(n,s)=>window.alert(s("hello")),H=D("");function I(n,s){l(s,!1);const{localize:o}=m();p();var e=H();e.__click=[B,o],i(n,e),t()}u(["click"]);function L(n,s){l(s,!1);const o=new f("en");o.addResource(T),b(()=>x([o])),p(),I(n,{}),t()}const Y=`<script>
import { getFluentContext } from '@nubolab-ffwd/svelte-fluent';
const { localize } = getFluentContext();
diff --git a/_app/immutable/chunks/LcMkLfTL.js b/_app/immutable/chunks/BDfTt2xC.js
similarity index 93%
rename from _app/immutable/chunks/LcMkLfTL.js
rename to _app/immutable/chunks/BDfTt2xC.js
index 2cb36db4c..c549acfaa 100644
--- a/_app/immutable/chunks/LcMkLfTL.js
+++ b/_app/immutable/chunks/BDfTt2xC.js
@@ -1 +1 @@
-import{a as D,t as h}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{f as u,s as e,c as r,aw as l,r as p}from"./C7ybvbG6.js";import{h as v}from"./Dc5pHhiR.js";import{R as c}from"./C9KGm8gN.js";const f={title:"getFluentContext"},{title:x}=f;var C=h(' Retrieves the current objects from the svelte context.
Return value
The object.
',1);function k(i){var a=C(),n=u(a);n.textContent=x;var t=e(n,2),m=e(r(t));c(m,{name:"FluentContext"}),l(),p(t);var o=e(t,2);v(o,()=>'const { localize } = getFluentContext();
');var s=e(o,4),d=e(r(s));c(d,{name:"FluentContext"}),l(),p(s),D(i,a)}export{k as _,f as m};
+import{a as D,t as h}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{f as u,s as e,c as r,aw as l,r as p}from"./C7ybvbG6.js";import{h as v}from"./Dc5pHhiR.js";import{R as c}from"./DXIQJq6t.js";const f={title:"getFluentContext"},{title:x}=f;var C=h(' Retrieves the current objects from the svelte context.
Return value
The object.
',1);function k(i){var a=C(),n=u(a);n.textContent=x;var t=e(n,2),m=e(r(t));c(m,{name:"FluentContext"}),l(),p(t);var o=e(t,2);v(o,()=>'const { localize } = getFluentContext();
');var s=e(o,4),d=e(r(s));c(d,{name:"FluentContext"}),l(),p(s),D(i,a)}export{k as _,f as m};
diff --git a/_app/immutable/chunks/C9YSdwI3.js b/_app/immutable/chunks/BeqFGa4x.js
similarity index 73%
rename from _app/immutable/chunks/C9YSdwI3.js
rename to _app/immutable/chunks/BeqFGa4x.js
index 19bef9059..e3a1c300c 100644
--- a/_app/immutable/chunks/C9YSdwI3.js
+++ b/_app/immutable/chunks/BeqFGa4x.js
@@ -1 +1 @@
-import{m as s}from"./CIxP2z4r.js";import{m}from"./CQk4EaAR.js";import{m as o}from"./m7Zg_cw1.js";import{m as r}from"./Be-9h20U.js";import{m as i}from"./CssQdhbD.js";import{m as l}from"./6zcBDNlZ.js";import{m as n}from"./LcMkLfTL.js";import{m as p}from"./bcHiDdGq.js";import{b as c}from"./qc0iZXgO.js";const g=(t,e)=>t.startsWith(e)?t.slice(e.length):t,v=(t,e)=>t.endsWith(e)?t.slice(0,-e.length):t,f=Object.fromEntries(Object.entries(Object.assign({"./FluentContext/+page.svelte.md":s,"./FluentProvider/+page.svelte.md":m,"./Localized/+page.svelte.md":o,"./Overlay/+page.svelte.md":r,"./SvelteFluent/+page.svelte.md":i,"./createSvelteFluent/+page.svelte.md":l,"./getFluentContext/+page.svelte.md":n,"./initFluentContext/+page.svelte.md":p})).map(([t,e])=>[v(g(t,"./"),"/+page.svelte.md"),e])),j=Object.entries(f).map(([t,e])=>({text:(e==null?void 0:e.menuTitle)??(e==null?void 0:e.title),title:e==null?void 0:e.title,href:c+"/docs/reference/"+t}));export{j as s};
+import{m as s}from"./BDSGbctU.js";import{m}from"./CQk4EaAR.js";import{m as o}from"./m7Zg_cw1.js";import{m as r}from"./Be-9h20U.js";import{m as i}from"./FD3ZLI4D.js";import{m as l}from"./S-626CVF.js";import{m as n}from"./BDfTt2xC.js";import{m as p}from"./DjR93qC1.js";import{b as c}from"./D0WVFpiq.js";const g=(t,e)=>t.startsWith(e)?t.slice(e.length):t,v=(t,e)=>t.endsWith(e)?t.slice(0,-e.length):t,f=Object.fromEntries(Object.entries(Object.assign({"./FluentContext/+page.svelte.md":s,"./FluentProvider/+page.svelte.md":m,"./Localized/+page.svelte.md":o,"./Overlay/+page.svelte.md":r,"./SvelteFluent/+page.svelte.md":i,"./createSvelteFluent/+page.svelte.md":l,"./getFluentContext/+page.svelte.md":n,"./initFluentContext/+page.svelte.md":p})).map(([t,e])=>[v(g(t,"./"),"/+page.svelte.md"),e])),j=Object.entries(f).map(([t,e])=>({text:(e==null?void 0:e.menuTitle)??(e==null?void 0:e.title),title:e==null?void 0:e.title,href:c+"/docs/reference/"+t}));export{j as s};
diff --git a/_app/immutable/chunks/DHvtosUY.js b/_app/immutable/chunks/BqWRV_2Y.js
similarity index 98%
rename from _app/immutable/chunks/DHvtosUY.js
rename to _app/immutable/chunks/BqWRV_2Y.js
index d3d01c75d..5c9851467 100644
--- a/_app/immutable/chunks/DHvtosUY.js
+++ b/_app/immutable/chunks/BqWRV_2Y.js
@@ -1,4 +1,4 @@
-import{a as v,t as h}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{s,f as m,c as l,aw as d,r as o}from"./C7ybvbG6.js";import{h as a}from"./Dc5pHhiR.js";import{s as g}from"./Pm9v8Z5x.js";import{b as k}from"./qc0iZXgO.js";import{E}from"./CQxDgvJ-.js";import{R as b}from"./C9KGm8gN.js";const z=[{rank:1,text:"Getting started",id:"getting-started"},{rank:2,text:"What is svelte-fluent?",id:"what-is-svelte-fluent"},{rank:3,text:"Example",id:"example"},{rank:2,text:"Installation",id:"installation"},{rank:2,text:"Configure bundler",id:"configure-bundler"},{rank:3,text:"SvelteKit",id:"sveltekit"},{rank:3,text:"Vite",id:"vite"},{rank:3,text:"Rollup / Sapper",id:"rollup--sapper"}];var F=h(`Getting started
What is svelte-fluent?
svelte-fluent
is a svelte component library that aims to make it effortless to localize applications using
+import{a as v,t as h}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{s,f as m,c as l,aw as d,r as o}from"./C7ybvbG6.js";import{h as a}from"./Dc5pHhiR.js";import{s as g}from"./Pm9v8Z5x.js";import{b as k}from"./D0WVFpiq.js";import{E}from"./CQxDgvJ-.js";import{R as b}from"./DXIQJq6t.js";const z=[{rank:1,text:"Getting started",id:"getting-started"},{rank:2,text:"What is svelte-fluent?",id:"what-is-svelte-fluent"},{rank:3,text:"Example",id:"example"},{rank:2,text:"Installation",id:"installation"},{rank:2,text:"Configure bundler",id:"configure-bundler"},{rank:3,text:"SvelteKit",id:"sveltekit"},{rank:3,text:"Vite",id:"vite"},{rank:3,text:"Rollup / Sapper",id:"rollup--sapper"}];var F=h(`
Getting started
What is svelte-fluent?
svelte-fluent
is a svelte component library that aims to make it effortless to localize applications using
the Fluent localization system by Mozilla.
Example
Installation
Using SvelteKit? Check out the SvelteKit integration guide!
Install svelte-fluent
with your package manager of choice.
| Note: the jsdom
dependency is for the server-side rendering of the component. It will not increase your frontend bundle size.
Configure bundler
You need to add the svelte-fluent
plugin to your bundler configuration for all features to work.
Currently vite and rollup are supported.
The plugin serves 2 functions:
- It provides SSR support for the Overlay component.
- It allows you to import
.ftl
files via import resources from 'path/to/messages.ftl'
, directly providing you a FluentResource
instance instead of having to constructing your own from a string imported via Vite’s ?raw
syntax.
SvelteKit
vite.config.js
Vite
vite.config.js
Rollup / Sapper
rollup.config.js
`,1);function K(y){var p=F(),t=s(m(p),8);E(t);var e=s(t,4),r=l(e),u=s(l(r));g(u,"href",`${k??""}/docs/integration#sveltekit`),d(),o(r),o(e);var i=s(e,4);a(i,()=>`npm install --save-dev @nubolab-ffwd/svelte-fluent
npm install --save jsdom
`);var n=s(i,2),C=s(l(n),3);b(C,{name:"Overlay"}),d(),o(n);var c=s(n,14);a(c,()=>`import { sveltekit } from '@sveltejs/kit/vite';
diff --git a/_app/immutable/chunks/BA5z0fNS.js b/_app/immutable/chunks/C7Lh6-i1.js
similarity index 99%
rename from _app/immutable/chunks/BA5z0fNS.js
rename to _app/immutable/chunks/C7Lh6-i1.js
index 153bfd4e2..7c726031d 100644
--- a/_app/immutable/chunks/BA5z0fNS.js
+++ b/_app/immutable/chunks/C7Lh6-i1.js
@@ -1,4 +1,4 @@
-import{a as j,t as I}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{s,f as W,c as a,aw as e,r as o}from"./C7ybvbG6.js";import{h as n}from"./Dc5pHhiR.js";import{s as z}from"./Pm9v8Z5x.js";import{b as _}from"./qc0iZXgO.js";import{R as l}from"./C9KGm8gN.js";const N=[{rank:1,text:"Version 1",id:"version-1"},{rank:2,text:"What’s new?",id:"whats-new"},{rank:3,text:"Svelte 5 support",id:"svelte-5-support"},{rank:3,text:"Server-side localizations",id:"server-side-localizations"},{rank:3,text:"Loading .ftl files",id:"loading-ftl-files"},{rank:2,text:"Breaking changes",id:"breaking-changes"},{rank:2,text:"Migration Guide",id:"migration-guide"},{rank:3,text:"$localized store",id:"localized-store"},{rank:3,text:"FluentProvider deprecation",id:"fluentprovider-deprecation"},{rank:3,text:"Replace Localize/Overlay slots with snippets",id:"replace-localizeoverlay-slots-with-snippets"},{rank:3,text:"Continue using Localize/Overlay components with slots",id:"continue-using-localizeoverlay-components-with-slots"},{rank:3,text:"vite/rollup plugin import paths",id:"viterollup-plugin-import-paths"},{rank:3,text:"Ftl file loading",id:"ftl-file-loading"}];var G=I(`Version 1
What’s new?
Svelte 5 support
Svelte 5 is now fully supported by svelte-fluent
.
Server-side localizations
In previous versions, svelte-fluent
could only be used inside of components. With the introduction
+import{a as j,t as I}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{s,f as W,c as a,aw as e,r as o}from"./C7ybvbG6.js";import{h as n}from"./Dc5pHhiR.js";import{s as z}from"./Pm9v8Z5x.js";import{b as _}from"./D0WVFpiq.js";import{R as l}from"./DXIQJq6t.js";const N=[{rank:1,text:"Version 1",id:"version-1"},{rank:2,text:"What’s new?",id:"whats-new"},{rank:3,text:"Svelte 5 support",id:"svelte-5-support"},{rank:3,text:"Server-side localizations",id:"server-side-localizations"},{rank:3,text:"Loading .ftl files",id:"loading-ftl-files"},{rank:2,text:"Breaking changes",id:"breaking-changes"},{rank:2,text:"Migration Guide",id:"migration-guide"},{rank:3,text:"$localized store",id:"localized-store"},{rank:3,text:"FluentProvider deprecation",id:"fluentprovider-deprecation"},{rank:3,text:"Replace Localize/Overlay slots with snippets",id:"replace-localizeoverlay-slots-with-snippets"},{rank:3,text:"Continue using Localize/Overlay components with slots",id:"continue-using-localizeoverlay-components-with-slots"},{rank:3,text:"vite/rollup plugin import paths",id:"viterollup-plugin-import-paths"},{rank:3,text:"Ftl file loading",id:"ftl-file-loading"}];var G=I(`
Version 1
What’s new?
Svelte 5 support
Svelte 5 is now fully supported by svelte-fluent
.
Server-side localizations
In previous versions, svelte-fluent
could only be used inside of components. With the introduction
of the object in version 1, you can now use svelte-fluent
anywhere you want.
For an example how to integrate it with SvelteKit .server.js
files and form actions, check out the SvelteKit integration guide.
Loading .ftl files
The bundler plugin of svelte-fluent
now allows you to directly import your .ftl
files.
Previous versions relied on loading the .ftl
files as raw strings either via vite’s ?raw
import or
adding rollup-plugin-string
.
Breaking changes
- Svelte-fluent now requires svelte 5
- The
$localized
store was removed - The component is now considered deprecated and will be removed in a later release
- The and components now use svelte snippets.
diff --git a/_app/immutable/chunks/BKiJ3o1Z.js b/_app/immutable/chunks/CFnW3eWN.js
similarity index 96%
rename from _app/immutable/chunks/BKiJ3o1Z.js
rename to _app/immutable/chunks/CFnW3eWN.js
index 65fba1dfd..20d651ce0 100644
--- a/_app/immutable/chunks/BKiJ3o1Z.js
+++ b/_app/immutable/chunks/CFnW3eWN.js
@@ -1,2 +1,2 @@
-import{a as r,t as n}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{f as s,s as d,c as p,aw as l,r as f}from"./C7ybvbG6.js";import{R as c}from"./C9KGm8gN.js";const h={title:"Overlay (legacy)",menuTitle:"Overlay"},{title:g,menuTitle:w}=h;var m=n(`
The Overlay
component exported from @nubolab-ffwd/svelte-fluent/legacy
is a wrapper around the
+import{a as r,t as n}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{f as s,s as d,c as p,aw as l,r as f}from"./C7ybvbG6.js";import{R as c}from"./DXIQJq6t.js";const h={title:"Overlay (legacy)",menuTitle:"Overlay"},{title:g,menuTitle:w}=h;var m=n(`
The Overlay
component exported from @nubolab-ffwd/svelte-fluent/legacy
is a wrapper around the
regular component that allows you to use slots instead of snippets.
Props
Name Type Default Description id
string
undefined
Unique identifier for the translation args
Record<string, FluentVariable>
undefined
Arguments for interpolation
Slots
Slots are provided for backwards compatibility. New code should opt to use snippets.
Name Description default
Defines the markup the Overlay is applied upon
`,1);function O(o){var t=m(),e=s(t);e.textContent=g;var a=d(e,2),i=d(p(a),5);c(i,{name:"Overlay"}),l(),f(a),l(10),r(o,t)}export{O as _,h as m};
diff --git a/_app/immutable/chunks/DH6JfqMp.js b/_app/immutable/chunks/CjLeEysS.js
similarity index 99%
rename from _app/immutable/chunks/DH6JfqMp.js
rename to _app/immutable/chunks/CjLeEysS.js
index e25153f0e..73ff6c376 100644
--- a/_app/immutable/chunks/DH6JfqMp.js
+++ b/_app/immutable/chunks/CjLeEysS.js
@@ -1,4 +1,4 @@
-import{a as G,t as J}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{p as Q,s,f as V,n as Z,c as n,aw as o,r as l}from"./C7ybvbG6.js";import{h as a}from"./Dc5pHhiR.js";import{s as p}from"./Pm9v8Z5x.js";import{i as ss}from"./9wtrq6xj.js";import{R as e}from"./C9KGm8gN.js";const as=`<!-- src/routes/+layout.svelte -->
+import{a as G,t as J}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{p as Q,s,f as V,n as Z,c as n,aw as o,r as l}from"./C7ybvbG6.js";import{h as a}from"./Dc5pHhiR.js";import{s as p}from"./Pm9v8Z5x.js";import{i as ss}from"./9wtrq6xj.js";import{R as e}from"./DXIQJq6t.js";const as=`<!-- src/routes/+layout.svelte -->
<script lang="ts">
import { initFluentContext } from '@nubolab-ffwd/svelte-fluent';
diff --git a/_app/immutable/chunks/UNhKW_vC.js b/_app/immutable/chunks/Cla8vzo_.js
similarity index 99%
rename from _app/immutable/chunks/UNhKW_vC.js
rename to _app/immutable/chunks/Cla8vzo_.js
index 8d212fee3..7eddad801 100644
--- a/_app/immutable/chunks/UNhKW_vC.js
+++ b/_app/immutable/chunks/Cla8vzo_.js
@@ -1,4 +1,4 @@
-import{c as E,a as f,b as _,n as k,t as v}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{f as h,t as b,aR as F,s as c,c as r,r as i,g as m,aq as g,p as L,n as w,aw as z}from"./C7ybvbG6.js";import{h as R}from"./Dc5pHhiR.js";import{R as A}from"./C9KGm8gN.js";import{a as B,F as S,b as T,c as O,E as P}from"./RBm6SzXJ.js";import{i as q}from"./9wtrq6xj.js";import{s as C}from"./M5C_9bRV.js";import{s as N}from"./CXEmAjVH.js";import{L as K}from"./sm3p1Cgt.js";const U=`confirm = Please confirm the action.
+import{c as E,a as f,b as _,n as k,t as v}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{f as h,t as b,aR as F,s as c,c as r,r as i,g as m,aq as g,p as L,n as w,aw as z}from"./C7ybvbG6.js";import{h as R}from"./Dc5pHhiR.js";import{R as A}from"./DXIQJq6t.js";import{a as B,F as S,b as T,c as O,E as P}from"./RBm6SzXJ.js";import{i as q}from"./9wtrq6xj.js";import{s as C}from"./M5C_9bRV.js";import{s as N}from"./CXEmAjVH.js";import{L as K}from"./sm3p1Cgt.js";const U=`confirm = Please confirm the action.
.ok = Ok
.cancel = Cancel
`,V=new B(U);function j(n,s){K(n,{get id(){return s.id},get args(){return s.args},children:(l,t)=>{let e=()=>t==null?void 0:t().text,o=()=>t==null?void 0:t().attrs;var d=E(),y=h(d);N(y,s,"default",{get text(){return e()},get attrs(){return o()}},p=>{var D=_();b(()=>C(D,e())),f(p,D)}),f(l,d)},$$slots:{default:!0}})}var G=()=>alert("OK clicked"),H=()=>alert("Cancel clicked"),I=v(" ",1);function J(n){j(n,{id:"confirm",children:F,$$slots:{default:(s,a)=>{const l=g(()=>a.text),t=g(()=>a.attrs);var e=I(),o=h(e),d=r(o,!0);i(o);var y=c(o,2),p=r(y);p.__click=[G];var D=r(p,!0);i(p);var u=c(p,2);u.__click=[H];var x=r(u,!0);i(u),i(y),b(()=>{C(d,m(l)),C(D,m(t).ok),C(x,m(t).cancel)}),f(s,e)}}})}k(["click"]);function M(n,s){L(s,!1);const a=new S("en");a.addResource(V),T(()=>O([a])),q(),J(n),w()}const Q=`<script>
diff --git a/_app/immutable/chunks/CxFUlaIJ.js b/_app/immutable/chunks/D-eTWLjq.js
similarity index 99%
rename from _app/immutable/chunks/CxFUlaIJ.js
rename to _app/immutable/chunks/D-eTWLjq.js
index d60c81ed3..e1a79be98 100644
--- a/_app/immutable/chunks/CxFUlaIJ.js
+++ b/_app/immutable/chunks/D-eTWLjq.js
@@ -1,3 +1,3 @@
-var Yt=t=>{throw TypeError(t)};var Pe=(t,e,n)=>e.has(t)||Yt("Cannot "+n);var A=(t,e,n)=>(Pe(t,e,"read from private field"),n?n.call(t):e.get(t)),P=(t,e,n)=>e.has(t)?Yt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{az as C,g as O,a7 as N,ay as xe}from"./C7ybvbG6.js";import{w as Ct}from"./BT_Wadgd.js";import{a as Ce,b as x}from"./qc0iZXgO.js";import{H as vt,S as Ot,R as Nt}from"./CYgJF_JY.js";import{o as zt}from"./CcMvP563.js";new URL("sveltekit-internal://");function Oe(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function Ne(t){return t.split("%25").map(decodeURI).join("%25")}function je(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function Rt({href:t}){return t.split("#")[0]}function $e(t,e,n,r=!1){const a=new URL(t);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return f=>(n(f),i[o](f));e();const c=Reflect.get(i,o);return typeof c=="function"?c.bind(i):c}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];r&&s.push("hash");for(const i of s)Object.defineProperty(a,i,{get(){return e(),t[i]},enumerable:!0,configurable:!0});return a}function De(...t){let e=5381;for(const n of t)if(typeof n=="string"){let r=n.length;for(;r;)e=e*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)e=e*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}function Fe(t){const e=atob(t),n=new Uint8Array(e.length);for(let r=0;r((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&W.delete(jt(t)),Ve(t,e));const W=new Map;function Be(t,e){const n=jt(t,e),r=document.querySelector(n);if(r!=null&&r.textContent){let{body:a,...s}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&W.set(n,{body:a,init:s,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=Fe(a)),Promise.resolve(new Response(a,s))}return window.fetch(t,e)}function Ge(t,e,n){if(W.size>0){const r=jt(t,n),a=W.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return e.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return It(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return It(String.fromCharCode(...c.slice(2).split("-").map(d=>parseInt(d,16))));const u=Me.exec(c),[,p,y,l,m]=u;return e.push({name:l,matcher:m,optional:!!p,rest:!!y,chained:y?f===1&&i[0]==="":!1}),y?"(.*?)":p?"([^/]*)?":"([^/]+?)"}return It(c)}).join("")}).join("")}/?$`),params:e}}function He(t){return!/^\([^)]+\)$/.test(t)}function Ke(t){return t.slice(1).split("/").filter(He)}function We(t,e,n){const r={},a=t.slice(1),s=a.filter(o=>o!==void 0);let i=0;for(let o=0;ou).join("/"),i=0),f===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](f)){r[c.name]=f;const u=e[o+1],p=a[o+1];u&&!u.rest&&u.optional&&p&&c.chained&&(i=0),!u&&!p&&Object.keys(r).length===s.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function It(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ye({nodes:t,server_loads:e,dictionary:n,matchers:r}){const a=new Set(e);return Object.entries(n).map(([o,[c,f,u]])=>{const{pattern:p,params:y}=qe(o),l={id:o,exec:m=>{const d=p.exec(m);if(d)return We(d,y,r)},errors:[1,...u||[]].map(m=>t[m]),layouts:[0,...f||[]].map(i),leaf:s(c)};return l.errors.length=l.layouts.length=Math.max(l.errors.length,l.layouts.length),l});function s(o){const c=o<0;return c&&(o=~o),[c,t[o]]}function i(o){return o===void 0?o:[a.has(o),t[o]]}}function ce(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function Jt(t,e,n=JSON.stringify){const r=n(e);try{sessionStorage[t]=r}catch{}}const ze="1738665559596",le="sveltekit:snapshot",fe="sveltekit:scroll",ue="sveltekit:states",Je="sveltekit:pageurl",G="sveltekit:history",J="sveltekit:navigation",ut={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ft=location.origin;function he(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function $t(){return{x:pageXOffset,y:pageYOffset}}function B(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const Xt={...ut,"":ut.hover};function de(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function pe(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=de(t)}}function Tt(t,e,n){let r;try{if(r=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,s=!r||!!a||bt(r,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),i=(r==null?void 0:r.origin)===ft&&t.hasAttribute("download");return{url:r,external:s,target:a,download:i}}function ht(t){let e=null,n=null,r=null,a=null,s=null,i=null,o=t;for(;o&&o!==document.documentElement;)r===null&&(r=B(o,"preload-code")),a===null&&(a=B(o,"preload-data")),e===null&&(e=B(o,"keepfocus")),n===null&&(n=B(o,"noscroll")),s===null&&(s=B(o,"reload")),i===null&&(i=B(o,"replacestate")),o=de(o);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Xt[r??"off"],preload_data:Xt[a??"off"],keepfocus:c(e),noscroll:c(n),reload:c(s),replace_state:c(i)}}function Zt(t){const e=Ct(t);let n=!0;function r(){n=!0,e.update(i=>i)}function a(i){n=!1,e.set(i)}function s(i){let o;return e.subscribe(c=>{(o===void 0||n&&c!==o)&&i(o=c)})}return{notify:r,set:a,subscribe:s}}const ge={v:()=>{}};function Xe(){const{set:t,subscribe:e}=Ct(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Ce}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==ze;return i&&(t(!0),ge.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:e,check:r}}function bt(t,e,n){return t.origin!==ft||!t.pathname.startsWith(e)?!0:n?!(t.pathname===e+"/"||t.pathname===e+"/index.html"||t.protocol==="file:"&&t.pathname.replace(/\/[^/]+\.html?$/,"")===e):!1}function Qt(t){const e=Qe(t),n=new ArrayBuffer(e.length),r=new DataView(n);for(let a=0;a>16),e+=String.fromCharCode((n&65280)>>8),e+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,e+=String.fromCharCode(n)):r===18&&(n>>=2,e+=String.fromCharCode((n&65280)>>8),e+=String.fromCharCode(n&255)),e}const tn=-1,en=-2,nn=-3,rn=-4,an=-5,on=-6;function sn(t,e){if(typeof t=="number")return a(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const n=t,r=Array(n.length);function a(s,i=!1){if(s===tn)return;if(s===nn)return NaN;if(s===rn)return 1/0;if(s===an)return-1/0;if(s===on)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const o=n[s];if(!o||typeof o!="object")r[s]=o;else if(Array.isArray(o))if(typeof o[0]=="string"){const c=o[0],f=e==null?void 0:e[c];if(f)return r[s]=f(a(o[1]));switch(c){case"Date":r[s]=new Date(o[1]);break;case"Set":const u=new Set;r[s]=u;for(let l=1;le!=null)}const fn="x-sveltekit-invalidated",un="x-sveltekit-trailing-slash";function dt(t){return t instanceof vt||t instanceof Ot?t.status:500}function hn(t){return t instanceof Ot?t.text:"Internal Error"}let U,X,Ut;const dn=zt.toString().includes("$$")||/function \w+\(\) \{\}/.test(zt.toString());var tt,et,nt,rt,at,ot,st,it,oe,ct,se,lt,ie;dn?(U={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},X={current:null},Ut={current:!1}):(U=new(oe=class{constructor(){P(this,tt,C({}));P(this,et,C(null));P(this,nt,C(null));P(this,rt,C({}));P(this,at,C({id:null}));P(this,ot,C({}));P(this,st,C(-1));P(this,it,C(new URL("https://example.com")))}get data(){return O(A(this,tt))}set data(e){N(A(this,tt),e)}get form(){return O(A(this,et))}set form(e){N(A(this,et),e)}get error(){return O(A(this,nt))}set error(e){N(A(this,nt),e)}get params(){return O(A(this,rt))}set params(e){N(A(this,rt),e)}get route(){return O(A(this,at))}set route(e){N(A(this,at),e)}get state(){return O(A(this,ot))}set state(e){N(A(this,ot),e)}get status(){return O(A(this,st))}set status(e){N(A(this,st),e)}get url(){return O(A(this,it))}set url(e){N(A(this,it),e)}},tt=new WeakMap,et=new WeakMap,nt=new WeakMap,rt=new WeakMap,at=new WeakMap,ot=new WeakMap,st=new WeakMap,it=new WeakMap,oe),X=new(se=class{constructor(){P(this,ct,C(null))}get current(){return O(A(this,ct))}set current(e){N(A(this,ct),e)}},ct=new WeakMap,se),Ut=new(ie=class{constructor(){P(this,lt,C(!1))}get current(){return O(A(this,lt))}set current(e){N(A(this,lt),e)}},lt=new WeakMap,ie),ge.v=()=>Ut.current=!0);function pn(t){Object.assign(U,t)}const gn="/__data.json",mn=".html__data.json";function yn(t){return t.endsWith(".html")?t.replace(/\.html$/,mn):t.replace(/\/$/,"")+gn}const wn=new Set(["icon","shortcut icon","apple-touch-icon"]),V=ce(fe)??{},Z=ce(le)??{},$={url:Zt({}),page:Zt({}),navigating:Ct(null),updated:Xe()};function Dt(t){V[t]=$t()}function _n(t,e){let n=t+1;for(;V[n];)delete V[n],n+=1;for(n=e+1;Z[n];)delete Z[n],n+=1}function q(t){return location.href=t.href,new Promise(()=>{})}async function ye(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(x||"/");t&&await t.update()}}function te(){}let Ft,Pt,pt,j,xt,S;const gt=[],mt=[];let L=null;const we=new Set,vn=new Set,Y=new Set;let v={branch:[],error:null,url:null},Vt=!1,yt=!1,ee=!0,Q=!1,H=!1,_e=!1,Bt=!1,ve,R,T,F;const z=new Set;async function Gn(t,e,n){var a,s,i,o;document.URL!==location.href&&(location.href=location.href),S=t,await((s=(a=t.hooks).init)==null?void 0:s.call(a)),Ft=Ye(t),j=document.documentElement,xt=e,Pt=t.nodes[0],pt=t.nodes[1],Pt(),pt(),R=(i=history.state)==null?void 0:i[G],T=(o=history.state)==null?void 0:o[J],R||(R=T=Date.now(),history.replaceState({...history.state,[G]:R,[J]:T},""));const r=V[R];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),n?await Pn(xt,n):Un(S.hash?Te(new URL(location.href)):location.href,{replaceState:!0}),Tn()}function bn(){gt.length=0,Bt=!1}function be(t){mt.some(e=>e==null?void 0:e.snapshot)&&(Z[t]=mt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Ae(t){var e;(e=Z[t])==null||e.forEach((n,r)=>{var a,s;(s=(a=mt[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function ne(){Dt(R),Jt(fe,V),be(T),Jt(le,Z)}async function Gt(t,e,n,r){return K({type:"goto",url:he(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:r,accept:()=>{e.invalidateAll&&(Bt=!0),e.invalidate&&e.invalidate.forEach(Ln)}})}async function An(t){if(t.id!==(L==null?void 0:L.id)){const e={};z.add(e),L={id:t.id,token:e,promise:ke({...t,preload:e}).then(n=>(z.delete(e),n.type==="loaded"&&n.state.error&&(L=null),n))}}return L.promise}async function Lt(t){var n;const e=(n=await St(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].map(r=>r==null?void 0:r[1]()))}function Se(t,e,n){var s;v=t.state;const r=document.querySelector("style[data-sveltekit]");r&&r.remove(),Object.assign(U,t.props.page),ve=new S.root({target:e,props:{...t.props,stores:$,components:mt},hydrate:n,sync:!1}),Ae(T);const a={from:null,to:{params:v.params,route:{id:((s=v.route)==null?void 0:s.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};Y.forEach(i=>i(a)),yt=!0}function wt({url:t,params:e,branch:n,status:r,error:a,route:s,form:i}){let o="never";if(x&&(t.pathname===x||t.pathname===x+"/"))o="always";else for(const l of n)(l==null?void 0:l.slash)!==void 0&&(o=l.slash);t.pathname=Oe(t.pathname,o),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:a,route:s},props:{constructors:ln(n).map(l=>l.node.component),page:Ht(U)}};i!==void 0&&(c.props.form=i);let f={},u=!U,p=0;for(let l=0;l(o&&(c.route=!0),d[h])}),params:new Proxy(r,{get:(d,h)=>(o&&c.params.add(h),d[h])}),data:(s==null?void 0:s.data)??null,url:$e(n,()=>{o&&(c.url=!0)},d=>{o&&c.search_params.add(d)},S.hash),async fetch(d,h){let w;d instanceof Request?(w=d.url,h={body:d.method==="GET"||d.method==="HEAD"?void 0:await d.blob(),cache:d.cache,credentials:d.credentials,headers:[...d.headers].length?d.headers:void 0,integrity:d.integrity,keepalive:d.keepalive,method:d.method,mode:d.mode,redirect:d.redirect,referrer:d.referrer,referrerPolicy:d.referrerPolicy,signal:d.signal,...h}):w=d;const k=new URL(w,n);return o&&l(k.href),k.origin===n.origin&&(w=k.href.slice(n.origin.length)),yt?Ge(w,k.href,h):Be(w,h)},setHeaders:()=>{},depends:l,parent(){return o&&(c.parent=!0),e()},untrack(d){o=!1;try{return d()}finally{o=!0}}};i=await f.universal.load.call(null,m)??null}return{node:f,loader:t,server:s,universal:(p=f.universal)!=null&&p.load?{type:"data",data:i,uses:c}:null,data:i??(s==null?void 0:s.data)??null,slash:((y=f.universal)==null?void 0:y.trailingSlash)??(s==null?void 0:s.slash)}}function re(t,e,n,r,a,s){if(Bt)return!0;if(!a)return!1;if(a.parent&&t||a.route&&e||a.url&&n)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(s[i]!==v.params[i])return!0;for(const i of a.dependencies)if(gt.some(o=>o(new URL(i))))return!0;return!1}function qt(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function Sn(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const r of n){const a=t.searchParams.getAll(r),s=e.searchParams.getAll(r);a.every(i=>s.includes(i))&&s.every(i=>a.includes(i))&&n.delete(r)}return n}function ae({error:t,url:e,route:n,params:r}){return{type:"loaded",state:{error:t,url:e,route:n,params:r,branch:[]},props:{page:Ht(U),constructors:[]}}}async function ke({id:t,invalidating:e,url:n,params:r,route:a,preload:s}){if((L==null?void 0:L.id)===t)return z.delete(L.token),L.promise;const{errors:i,layouts:o,leaf:c}=a,f=[...o,c];i.forEach(g=>g==null?void 0:g().catch(()=>{})),f.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));let u=null;const p=v.url?t!==_t(v.url):!1,y=v.route?a.id!==v.route.id:!1,l=Sn(v.url,n);let m=!1;const d=f.map((g,_)=>{var D;const b=v.branch[_],E=!!(g!=null&&g[0])&&((b==null?void 0:b.loader)!==g[1]||re(m,y,p,l,(D=b.server)==null?void 0:D.uses,r));return E&&(m=!0),E});if(d.some(Boolean)){try{u=await Ie(n,d)}catch(g){const _=await M(g,{url:n,params:r,route:{id:t}});return z.has(s)?ae({error:_,url:n,params:r,route:a}):At({status:dt(g),error:_,url:n,route:a})}if(u.type==="redirect")return u}const h=u==null?void 0:u.nodes;let w=!1;const k=f.map(async(g,_)=>{var kt;if(!g)return;const b=v.branch[_],E=h==null?void 0:h[_];if((!E||E.type==="skip")&&g[1]===(b==null?void 0:b.loader)&&!re(w,y,p,l,(kt=b.universal)==null?void 0:kt.uses,r))return b;if(w=!0,(E==null?void 0:E.type)==="error")throw E;return Mt({loader:g[1],url:n,params:r,route:a,parent:async()=>{var Wt;const Kt={};for(let Et=0;Et<_;Et+=1)Object.assign(Kt,(Wt=await k[Et])==null?void 0:Wt.data);return Kt},server_data_node:qt(E===void 0&&g[0]?{type:"skip"}:E??null,g[0]?b==null?void 0:b.server:void 0)})});for(const g of k)g.catch(()=>{});const I=[];for(let g=0;gPromise.resolve({}),server_data_node:qt(s)}),c={node:await pt(),loader:pt,universal:null,server:null,data:null};return wt({url:n,params:a,branch:[o,c],status:t,error:e,route:null})}catch(o){if(o instanceof Nt)return Gt(new URL(o.location,location.href),{},0);throw o}}function En(t){let e;try{if(e=S.hooks.reroute({url:new URL(t)})??t,typeof e=="string"){const n=new URL(t);S.hash?n.hash=e:n.pathname=e,e=n}}catch{return}return e}async function St(t,e){if(t&&!bt(t,x,S.hash)){const n=En(t);if(!n)return;const r=Rn(n);for(const a of Ft){const s=a.exec(r);if(s)return{id:_t(t),invalidating:e,route:a,params:je(s),url:t}}}}function Rn(t){return Ne(S.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(x.length))||"/"}function _t(t){return(S.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Ee({url:t,type:e,intent:n,delta:r}){let a=!1;const s=Le(v,n,t,e);r!==void 0&&(s.navigation.delta=r);const i={...s.navigation,cancel:()=>{a=!0,s.reject(new Error("navigation cancelled"))}};return Q||we.forEach(o=>o(i)),a?null:s}async function K({type:t,url:e,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i={},redirect_count:o=0,nav_token:c={},accept:f=te,block:u=te}){const p=F;F=c;const y=await St(e,!1),l=Ee({url:e,type:t,delta:n==null?void 0:n.delta,intent:y});if(!l){u(),F===c&&(F=p);return}const m=R,d=T;f(),Q=!0,yt&&$.navigating.set(X.current=l.navigation);let h=y&&await ke(y);if(!h){if(bt(e,x,S.hash))return await q(e);h=await Re(e,{id:null},await M(new Ot(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(y==null?void 0:y.url)||e,F!==c)return l.reject(new Error("navigation aborted")),!1;if(h.type==="redirect")if(o>=20)h=await At({status:500,error:await M(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return Gt(new URL(h.location,e).href,{},o+1,c),!1;else h.props.page.status>=400&&await $.updated.check()&&(await ye(),await q(e));if(bn(),Dt(m),be(d),h.props.page.url.pathname!==e.pathname&&(e.pathname=h.props.page.url.pathname),i=n?n.state:i,!n){const g=s?0:1,_={[G]:R+=g,[J]:T+=g,[ue]:i};(s?history.replaceState:history.pushState).call(history,_,"",e),s||_n(R,T)}if(L=null,h.props.page.state=i,yt){v=h.state,h.props.page&&(h.props.page.url=e);const g=(await Promise.all(Array.from(vn,_=>_(l.navigation)))).filter(_=>typeof _=="function");if(g.length>0){let _=function(){g.forEach(b=>{Y.delete(b)})};g.push(_),g.forEach(b=>{Y.add(b)})}ve.$set(h.props),pn(h.props.page),_e=!0}else Se(h,xt,!1);const{activeElement:w}=document;await xe();const k=n?n.scroll:a?$t():null;if(ee){const g=e.hash&&document.getElementById(decodeURIComponent(S.hash?e.hash.split("#")[2]??"":e.hash.slice(1)));k?scrollTo(k.x,k.y):g?g.scrollIntoView():scrollTo(0,0)}const I=document.activeElement!==w&&document.activeElement!==document.body;!r&&!I&&xn(),ee=!0,h.props.page&&Object.assign(U,h.props.page),Q=!1,t==="popstate"&&Ae(T),l.fulfil(void 0),Y.forEach(g=>g(l.navigation)),$.navigating.set(X.current=null)}async function Re(t,e,n,r){return t.origin===ft&&t.pathname===location.pathname&&!Vt?await At({status:r,error:n,url:t,route:e}):await q(t)}function In(){let t,e;j.addEventListener("mousemove",i=>{const o=i.target;clearTimeout(t),t=setTimeout(()=>{a(o,2)},20)});function n(i){i.defaultPrevented||a(i.composedPath()[0],1)}j.addEventListener("mousedown",n),j.addEventListener("touchstart",n,{passive:!0});const r=new IntersectionObserver(i=>{for(const o of i)o.isIntersecting&&(Lt(new URL(o.target.href)),r.unobserve(o.target))},{threshold:0});async function a(i,o){const c=pe(i,j);if(!c||c===e)return;e=c;const{url:f,external:u,download:p}=Tt(c,x,S.hash);if(u||p)return;const y=ht(c),l=f&&_t(v.url)===_t(f);if(!y.reload&&!l)if(o<=y.preload_data){const m=await St(f,!1);m&&An(m)}else o<=y.preload_code&&Lt(f)}function s(){r.disconnect();for(const i of j.querySelectorAll("a")){const{url:o,external:c,download:f}=Tt(i,x,S.hash);if(c||f)continue;const u=ht(i);u.reload||(u.preload_code===ut.viewport&&r.observe(i),u.preload_code===ut.eager&&Lt(o))}}Y.add(s),s()}function M(t,e){if(t instanceof vt)return t.body;const n=dt(t),r=hn(t);return S.hooks.handleError({error:t,event:e,status:n,message:r})??{message:r}}function Un(t,e={}){return t=new URL(he(t)),t.origin!==ft?Promise.reject(new Error("goto: invalid URL")):Gt(t,e,0)}function Ln(t){if(typeof t=="function")gt.push(t);else{const{href:e}=new URL(t,location.href);gt.push(n=>n.href===e)}}function Tn(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(ne(),!Q){const a=Le(v,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};we.forEach(i=>i(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ne()}),(e=navigator.connection)!=null&&e.saveData||In(),j.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=pe(n.composedPath()[0],j);if(!r)return;const{url:a,external:s,target:i,download:o}=Tt(r,x,S.hash);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=ht(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||o)return;const[u,p]=(S.hash?a.hash.replace(/^#/,""):a.href).split("#"),y=u===Rt(location);if(s||c.reload&&(!y||!p)){Ee({url:a,type:"link"})?Q=!0:n.preventDefault();return}if(p!==void 0&&y){const[,l]=v.url.href.split("#");if(l===p){if(n.preventDefault(),p===""||p==="top"&&r.ownerDocument.getElementById("top")===null)window.scrollTo({top:0});else{const m=r.ownerDocument.getElementById(decodeURIComponent(p));m&&(m.scrollIntoView(),m.focus())}return}if(H=!0,Dt(R),t(a),!c.replace_state)return;H=!1}n.preventDefault(),await new Promise(l=>{requestAnimationFrame(()=>{setTimeout(l,0)}),setTimeout(l,100)}),K({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),j.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const o=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(bt(o,x,!1))return;const c=n.target,f=ht(c);if(f.reload)return;n.preventDefault(),n.stopPropagation();const u=new FormData(c),p=a==null?void 0:a.getAttribute("name");p&&u.append(p,(a==null?void 0:a.getAttribute("value"))??""),o.search=new URLSearchParams(u).toString(),K({type:"form",url:o,keepfocus:f.keepfocus,noscroll:f.noscroll,replace_state:f.replace_state??o.href===location.href})}),addEventListener("popstate",async n=>{var r;if((r=n.state)!=null&&r[G]){const a=n.state[G];if(F={},a===R)return;const s=V[a],i=n.state[ue]??{},o=new URL(n.state[Je]??location.href),c=n.state[J],f=v.url?Rt(location)===Rt(v.url):!1;if(c===T&&(_e||f)){i!==U.state&&(U.state=i),t(o),V[R]=$t(),s&&scrollTo(s.x,s.y),R=a;return}const p=a-R;await K({type:"popstate",url:o,popped:{state:i,scroll:s,delta:p},accept:()=>{R=a,T=c},block:()=>{history.go(-p)},nav_token:F})}else if(!H){const a=new URL(location.href);t(a)}}),addEventListener("hashchange",()=>{H?(H=!1,history.replaceState({...history.state,[G]:++R,[J]:T},"",location.href)):S.hash&&v.url.hash===location.hash&&K({type:"goto",url:Te(v.url)})});for(const n of document.querySelectorAll("link"))wn.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&$.navigating.set(X.current=null)});function t(n){v.url=U.url=n,$.page.set(Ht(U)),$.page.notify()}}async function Pn(t,{status:e=200,error:n,node_ids:r,params:a,route:s,server_route:i,data:o,form:c}){Vt=!0;const f=new URL(location.href);let u;({params:a={},route:s={id:null}}=await St(f,!1)||{}),u=Ft.find(({id:l})=>l===s.id);let p,y=!0;try{const l=r.map(async(d,h)=>{const w=o[h];return w!=null&&w.uses&&(w.uses=Ue(w.uses)),Mt({loader:S.nodes[d],url:f,params:a,route:s,parent:async()=>{const k={};for(let I=0;Ii?"1":"0").join(""));const r=window.fetch,a=await r(n.href,{});if(!a.ok){let i;throw(s=a.headers.get("content-type"))!=null&&s.includes("application/json")?i=await a.json():a.status===404?i="Not Found":a.status===500&&(i="Internal Error"),new vt(a.status,i)}return new Promise(async i=>{var y;const o=new Map,c=a.body.getReader(),f=new TextDecoder;function u(l){return sn(l,{...S.decoders,Promise:m=>new Promise((d,h)=>{o.set(m,{fulfil:d,reject:h})})})}let p="";for(;;){const{done:l,value:m}=await c.read();if(l&&!p)break;for(p+=!m&&p?`
+var Yt=t=>{throw TypeError(t)};var Pe=(t,e,n)=>e.has(t)||Yt("Cannot "+n);var A=(t,e,n)=>(Pe(t,e,"read from private field"),n?n.call(t):e.get(t)),P=(t,e,n)=>e.has(t)?Yt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{az as C,g as O,a7 as N,ay as xe}from"./C7ybvbG6.js";import{w as Ct}from"./BT_Wadgd.js";import{a as Ce,b as x}from"./D0WVFpiq.js";import{H as vt,S as Ot,R as Nt}from"./CYgJF_JY.js";import{o as zt}from"./CcMvP563.js";new URL("sveltekit-internal://");function Oe(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function Ne(t){return t.split("%25").map(decodeURI).join("%25")}function je(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function Rt({href:t}){return t.split("#")[0]}function $e(t,e,n,r=!1){const a=new URL(t);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return f=>(n(f),i[o](f));e();const c=Reflect.get(i,o);return typeof c=="function"?c.bind(i):c}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];r&&s.push("hash");for(const i of s)Object.defineProperty(a,i,{get(){return e(),t[i]},enumerable:!0,configurable:!0});return a}function De(...t){let e=5381;for(const n of t)if(typeof n=="string"){let r=n.length;for(;r;)e=e*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)e=e*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}function Fe(t){const e=atob(t),n=new Uint8Array(e.length);for(let r=0;r((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&W.delete(jt(t)),Ve(t,e));const W=new Map;function Be(t,e){const n=jt(t,e),r=document.querySelector(n);if(r!=null&&r.textContent){let{body:a,...s}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&W.set(n,{body:a,init:s,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=Fe(a)),Promise.resolve(new Response(a,s))}return window.fetch(t,e)}function Ge(t,e,n){if(W.size>0){const r=jt(t,n),a=W.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return e.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return It(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return It(String.fromCharCode(...c.slice(2).split("-").map(d=>parseInt(d,16))));const u=Me.exec(c),[,p,y,l,m]=u;return e.push({name:l,matcher:m,optional:!!p,rest:!!y,chained:y?f===1&&i[0]==="":!1}),y?"(.*?)":p?"([^/]*)?":"([^/]+?)"}return It(c)}).join("")}).join("")}/?$`),params:e}}function He(t){return!/^\([^)]+\)$/.test(t)}function Ke(t){return t.slice(1).split("/").filter(He)}function We(t,e,n){const r={},a=t.slice(1),s=a.filter(o=>o!==void 0);let i=0;for(let o=0;ou).join("/"),i=0),f===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](f)){r[c.name]=f;const u=e[o+1],p=a[o+1];u&&!u.rest&&u.optional&&p&&c.chained&&(i=0),!u&&!p&&Object.keys(r).length===s.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function It(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ye({nodes:t,server_loads:e,dictionary:n,matchers:r}){const a=new Set(e);return Object.entries(n).map(([o,[c,f,u]])=>{const{pattern:p,params:y}=qe(o),l={id:o,exec:m=>{const d=p.exec(m);if(d)return We(d,y,r)},errors:[1,...u||[]].map(m=>t[m]),layouts:[0,...f||[]].map(i),leaf:s(c)};return l.errors.length=l.layouts.length=Math.max(l.errors.length,l.layouts.length),l});function s(o){const c=o<0;return c&&(o=~o),[c,t[o]]}function i(o){return o===void 0?o:[a.has(o),t[o]]}}function ce(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function Jt(t,e,n=JSON.stringify){const r=n(e);try{sessionStorage[t]=r}catch{}}const ze="1738665660792",le="sveltekit:snapshot",fe="sveltekit:scroll",ue="sveltekit:states",Je="sveltekit:pageurl",G="sveltekit:history",J="sveltekit:navigation",ut={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ft=location.origin;function he(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function $t(){return{x:pageXOffset,y:pageYOffset}}function B(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const Xt={...ut,"":ut.hover};function de(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function pe(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=de(t)}}function Tt(t,e,n){let r;try{if(r=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,s=!r||!!a||bt(r,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),i=(r==null?void 0:r.origin)===ft&&t.hasAttribute("download");return{url:r,external:s,target:a,download:i}}function ht(t){let e=null,n=null,r=null,a=null,s=null,i=null,o=t;for(;o&&o!==document.documentElement;)r===null&&(r=B(o,"preload-code")),a===null&&(a=B(o,"preload-data")),e===null&&(e=B(o,"keepfocus")),n===null&&(n=B(o,"noscroll")),s===null&&(s=B(o,"reload")),i===null&&(i=B(o,"replacestate")),o=de(o);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Xt[r??"off"],preload_data:Xt[a??"off"],keepfocus:c(e),noscroll:c(n),reload:c(s),replace_state:c(i)}}function Zt(t){const e=Ct(t);let n=!0;function r(){n=!0,e.update(i=>i)}function a(i){n=!1,e.set(i)}function s(i){let o;return e.subscribe(c=>{(o===void 0||n&&c!==o)&&i(o=c)})}return{notify:r,set:a,subscribe:s}}const ge={v:()=>{}};function Xe(){const{set:t,subscribe:e}=Ct(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Ce}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==ze;return i&&(t(!0),ge.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:e,check:r}}function bt(t,e,n){return t.origin!==ft||!t.pathname.startsWith(e)?!0:n?!(t.pathname===e+"/"||t.pathname===e+"/index.html"||t.protocol==="file:"&&t.pathname.replace(/\/[^/]+\.html?$/,"")===e):!1}function Qt(t){const e=Qe(t),n=new ArrayBuffer(e.length),r=new DataView(n);for(let a=0;a>16),e+=String.fromCharCode((n&65280)>>8),e+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,e+=String.fromCharCode(n)):r===18&&(n>>=2,e+=String.fromCharCode((n&65280)>>8),e+=String.fromCharCode(n&255)),e}const tn=-1,en=-2,nn=-3,rn=-4,an=-5,on=-6;function sn(t,e){if(typeof t=="number")return a(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const n=t,r=Array(n.length);function a(s,i=!1){if(s===tn)return;if(s===nn)return NaN;if(s===rn)return 1/0;if(s===an)return-1/0;if(s===on)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const o=n[s];if(!o||typeof o!="object")r[s]=o;else if(Array.isArray(o))if(typeof o[0]=="string"){const c=o[0],f=e==null?void 0:e[c];if(f)return r[s]=f(a(o[1]));switch(c){case"Date":r[s]=new Date(o[1]);break;case"Set":const u=new Set;r[s]=u;for(let l=1;le!=null)}const fn="x-sveltekit-invalidated",un="x-sveltekit-trailing-slash";function dt(t){return t instanceof vt||t instanceof Ot?t.status:500}function hn(t){return t instanceof Ot?t.text:"Internal Error"}let U,X,Ut;const dn=zt.toString().includes("$$")||/function \w+\(\) \{\}/.test(zt.toString());var tt,et,nt,rt,at,ot,st,it,oe,ct,se,lt,ie;dn?(U={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},X={current:null},Ut={current:!1}):(U=new(oe=class{constructor(){P(this,tt,C({}));P(this,et,C(null));P(this,nt,C(null));P(this,rt,C({}));P(this,at,C({id:null}));P(this,ot,C({}));P(this,st,C(-1));P(this,it,C(new URL("https://example.com")))}get data(){return O(A(this,tt))}set data(e){N(A(this,tt),e)}get form(){return O(A(this,et))}set form(e){N(A(this,et),e)}get error(){return O(A(this,nt))}set error(e){N(A(this,nt),e)}get params(){return O(A(this,rt))}set params(e){N(A(this,rt),e)}get route(){return O(A(this,at))}set route(e){N(A(this,at),e)}get state(){return O(A(this,ot))}set state(e){N(A(this,ot),e)}get status(){return O(A(this,st))}set status(e){N(A(this,st),e)}get url(){return O(A(this,it))}set url(e){N(A(this,it),e)}},tt=new WeakMap,et=new WeakMap,nt=new WeakMap,rt=new WeakMap,at=new WeakMap,ot=new WeakMap,st=new WeakMap,it=new WeakMap,oe),X=new(se=class{constructor(){P(this,ct,C(null))}get current(){return O(A(this,ct))}set current(e){N(A(this,ct),e)}},ct=new WeakMap,se),Ut=new(ie=class{constructor(){P(this,lt,C(!1))}get current(){return O(A(this,lt))}set current(e){N(A(this,lt),e)}},lt=new WeakMap,ie),ge.v=()=>Ut.current=!0);function pn(t){Object.assign(U,t)}const gn="/__data.json",mn=".html__data.json";function yn(t){return t.endsWith(".html")?t.replace(/\.html$/,mn):t.replace(/\/$/,"")+gn}const wn=new Set(["icon","shortcut icon","apple-touch-icon"]),V=ce(fe)??{},Z=ce(le)??{},$={url:Zt({}),page:Zt({}),navigating:Ct(null),updated:Xe()};function Dt(t){V[t]=$t()}function _n(t,e){let n=t+1;for(;V[n];)delete V[n],n+=1;for(n=e+1;Z[n];)delete Z[n],n+=1}function q(t){return location.href=t.href,new Promise(()=>{})}async function ye(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(x||"/");t&&await t.update()}}function te(){}let Ft,Pt,pt,j,xt,S;const gt=[],mt=[];let L=null;const we=new Set,vn=new Set,Y=new Set;let v={branch:[],error:null,url:null},Vt=!1,yt=!1,ee=!0,Q=!1,H=!1,_e=!1,Bt=!1,ve,R,T,F;const z=new Set;async function Gn(t,e,n){var a,s,i,o;document.URL!==location.href&&(location.href=location.href),S=t,await((s=(a=t.hooks).init)==null?void 0:s.call(a)),Ft=Ye(t),j=document.documentElement,xt=e,Pt=t.nodes[0],pt=t.nodes[1],Pt(),pt(),R=(i=history.state)==null?void 0:i[G],T=(o=history.state)==null?void 0:o[J],R||(R=T=Date.now(),history.replaceState({...history.state,[G]:R,[J]:T},""));const r=V[R];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),n?await Pn(xt,n):Un(S.hash?Te(new URL(location.href)):location.href,{replaceState:!0}),Tn()}function bn(){gt.length=0,Bt=!1}function be(t){mt.some(e=>e==null?void 0:e.snapshot)&&(Z[t]=mt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Ae(t){var e;(e=Z[t])==null||e.forEach((n,r)=>{var a,s;(s=(a=mt[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function ne(){Dt(R),Jt(fe,V),be(T),Jt(le,Z)}async function Gt(t,e,n,r){return K({type:"goto",url:he(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:r,accept:()=>{e.invalidateAll&&(Bt=!0),e.invalidate&&e.invalidate.forEach(Ln)}})}async function An(t){if(t.id!==(L==null?void 0:L.id)){const e={};z.add(e),L={id:t.id,token:e,promise:ke({...t,preload:e}).then(n=>(z.delete(e),n.type==="loaded"&&n.state.error&&(L=null),n))}}return L.promise}async function Lt(t){var n;const e=(n=await St(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].map(r=>r==null?void 0:r[1]()))}function Se(t,e,n){var s;v=t.state;const r=document.querySelector("style[data-sveltekit]");r&&r.remove(),Object.assign(U,t.props.page),ve=new S.root({target:e,props:{...t.props,stores:$,components:mt},hydrate:n,sync:!1}),Ae(T);const a={from:null,to:{params:v.params,route:{id:((s=v.route)==null?void 0:s.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};Y.forEach(i=>i(a)),yt=!0}function wt({url:t,params:e,branch:n,status:r,error:a,route:s,form:i}){let o="never";if(x&&(t.pathname===x||t.pathname===x+"/"))o="always";else for(const l of n)(l==null?void 0:l.slash)!==void 0&&(o=l.slash);t.pathname=Oe(t.pathname,o),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:a,route:s},props:{constructors:ln(n).map(l=>l.node.component),page:Ht(U)}};i!==void 0&&(c.props.form=i);let f={},u=!U,p=0;for(let l=0;l(o&&(c.route=!0),d[h])}),params:new Proxy(r,{get:(d,h)=>(o&&c.params.add(h),d[h])}),data:(s==null?void 0:s.data)??null,url:$e(n,()=>{o&&(c.url=!0)},d=>{o&&c.search_params.add(d)},S.hash),async fetch(d,h){let w;d instanceof Request?(w=d.url,h={body:d.method==="GET"||d.method==="HEAD"?void 0:await d.blob(),cache:d.cache,credentials:d.credentials,headers:[...d.headers].length?d.headers:void 0,integrity:d.integrity,keepalive:d.keepalive,method:d.method,mode:d.mode,redirect:d.redirect,referrer:d.referrer,referrerPolicy:d.referrerPolicy,signal:d.signal,...h}):w=d;const k=new URL(w,n);return o&&l(k.href),k.origin===n.origin&&(w=k.href.slice(n.origin.length)),yt?Ge(w,k.href,h):Be(w,h)},setHeaders:()=>{},depends:l,parent(){return o&&(c.parent=!0),e()},untrack(d){o=!1;try{return d()}finally{o=!0}}};i=await f.universal.load.call(null,m)??null}return{node:f,loader:t,server:s,universal:(p=f.universal)!=null&&p.load?{type:"data",data:i,uses:c}:null,data:i??(s==null?void 0:s.data)??null,slash:((y=f.universal)==null?void 0:y.trailingSlash)??(s==null?void 0:s.slash)}}function re(t,e,n,r,a,s){if(Bt)return!0;if(!a)return!1;if(a.parent&&t||a.route&&e||a.url&&n)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(s[i]!==v.params[i])return!0;for(const i of a.dependencies)if(gt.some(o=>o(new URL(i))))return!0;return!1}function qt(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function Sn(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const r of n){const a=t.searchParams.getAll(r),s=e.searchParams.getAll(r);a.every(i=>s.includes(i))&&s.every(i=>a.includes(i))&&n.delete(r)}return n}function ae({error:t,url:e,route:n,params:r}){return{type:"loaded",state:{error:t,url:e,route:n,params:r,branch:[]},props:{page:Ht(U),constructors:[]}}}async function ke({id:t,invalidating:e,url:n,params:r,route:a,preload:s}){if((L==null?void 0:L.id)===t)return z.delete(L.token),L.promise;const{errors:i,layouts:o,leaf:c}=a,f=[...o,c];i.forEach(g=>g==null?void 0:g().catch(()=>{})),f.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));let u=null;const p=v.url?t!==_t(v.url):!1,y=v.route?a.id!==v.route.id:!1,l=Sn(v.url,n);let m=!1;const d=f.map((g,_)=>{var D;const b=v.branch[_],E=!!(g!=null&&g[0])&&((b==null?void 0:b.loader)!==g[1]||re(m,y,p,l,(D=b.server)==null?void 0:D.uses,r));return E&&(m=!0),E});if(d.some(Boolean)){try{u=await Ie(n,d)}catch(g){const _=await M(g,{url:n,params:r,route:{id:t}});return z.has(s)?ae({error:_,url:n,params:r,route:a}):At({status:dt(g),error:_,url:n,route:a})}if(u.type==="redirect")return u}const h=u==null?void 0:u.nodes;let w=!1;const k=f.map(async(g,_)=>{var kt;if(!g)return;const b=v.branch[_],E=h==null?void 0:h[_];if((!E||E.type==="skip")&&g[1]===(b==null?void 0:b.loader)&&!re(w,y,p,l,(kt=b.universal)==null?void 0:kt.uses,r))return b;if(w=!0,(E==null?void 0:E.type)==="error")throw E;return Mt({loader:g[1],url:n,params:r,route:a,parent:async()=>{var Wt;const Kt={};for(let Et=0;Et<_;Et+=1)Object.assign(Kt,(Wt=await k[Et])==null?void 0:Wt.data);return Kt},server_data_node:qt(E===void 0&&g[0]?{type:"skip"}:E??null,g[0]?b==null?void 0:b.server:void 0)})});for(const g of k)g.catch(()=>{});const I=[];for(let g=0;gPromise.resolve({}),server_data_node:qt(s)}),c={node:await pt(),loader:pt,universal:null,server:null,data:null};return wt({url:n,params:a,branch:[o,c],status:t,error:e,route:null})}catch(o){if(o instanceof Nt)return Gt(new URL(o.location,location.href),{},0);throw o}}function En(t){let e;try{if(e=S.hooks.reroute({url:new URL(t)})??t,typeof e=="string"){const n=new URL(t);S.hash?n.hash=e:n.pathname=e,e=n}}catch{return}return e}async function St(t,e){if(t&&!bt(t,x,S.hash)){const n=En(t);if(!n)return;const r=Rn(n);for(const a of Ft){const s=a.exec(r);if(s)return{id:_t(t),invalidating:e,route:a,params:je(s),url:t}}}}function Rn(t){return Ne(S.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(x.length))||"/"}function _t(t){return(S.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Ee({url:t,type:e,intent:n,delta:r}){let a=!1;const s=Le(v,n,t,e);r!==void 0&&(s.navigation.delta=r);const i={...s.navigation,cancel:()=>{a=!0,s.reject(new Error("navigation cancelled"))}};return Q||we.forEach(o=>o(i)),a?null:s}async function K({type:t,url:e,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i={},redirect_count:o=0,nav_token:c={},accept:f=te,block:u=te}){const p=F;F=c;const y=await St(e,!1),l=Ee({url:e,type:t,delta:n==null?void 0:n.delta,intent:y});if(!l){u(),F===c&&(F=p);return}const m=R,d=T;f(),Q=!0,yt&&$.navigating.set(X.current=l.navigation);let h=y&&await ke(y);if(!h){if(bt(e,x,S.hash))return await q(e);h=await Re(e,{id:null},await M(new Ot(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(y==null?void 0:y.url)||e,F!==c)return l.reject(new Error("navigation aborted")),!1;if(h.type==="redirect")if(o>=20)h=await At({status:500,error:await M(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return Gt(new URL(h.location,e).href,{},o+1,c),!1;else h.props.page.status>=400&&await $.updated.check()&&(await ye(),await q(e));if(bn(),Dt(m),be(d),h.props.page.url.pathname!==e.pathname&&(e.pathname=h.props.page.url.pathname),i=n?n.state:i,!n){const g=s?0:1,_={[G]:R+=g,[J]:T+=g,[ue]:i};(s?history.replaceState:history.pushState).call(history,_,"",e),s||_n(R,T)}if(L=null,h.props.page.state=i,yt){v=h.state,h.props.page&&(h.props.page.url=e);const g=(await Promise.all(Array.from(vn,_=>_(l.navigation)))).filter(_=>typeof _=="function");if(g.length>0){let _=function(){g.forEach(b=>{Y.delete(b)})};g.push(_),g.forEach(b=>{Y.add(b)})}ve.$set(h.props),pn(h.props.page),_e=!0}else Se(h,xt,!1);const{activeElement:w}=document;await xe();const k=n?n.scroll:a?$t():null;if(ee){const g=e.hash&&document.getElementById(decodeURIComponent(S.hash?e.hash.split("#")[2]??"":e.hash.slice(1)));k?scrollTo(k.x,k.y):g?g.scrollIntoView():scrollTo(0,0)}const I=document.activeElement!==w&&document.activeElement!==document.body;!r&&!I&&xn(),ee=!0,h.props.page&&Object.assign(U,h.props.page),Q=!1,t==="popstate"&&Ae(T),l.fulfil(void 0),Y.forEach(g=>g(l.navigation)),$.navigating.set(X.current=null)}async function Re(t,e,n,r){return t.origin===ft&&t.pathname===location.pathname&&!Vt?await At({status:r,error:n,url:t,route:e}):await q(t)}function In(){let t,e;j.addEventListener("mousemove",i=>{const o=i.target;clearTimeout(t),t=setTimeout(()=>{a(o,2)},20)});function n(i){i.defaultPrevented||a(i.composedPath()[0],1)}j.addEventListener("mousedown",n),j.addEventListener("touchstart",n,{passive:!0});const r=new IntersectionObserver(i=>{for(const o of i)o.isIntersecting&&(Lt(new URL(o.target.href)),r.unobserve(o.target))},{threshold:0});async function a(i,o){const c=pe(i,j);if(!c||c===e)return;e=c;const{url:f,external:u,download:p}=Tt(c,x,S.hash);if(u||p)return;const y=ht(c),l=f&&_t(v.url)===_t(f);if(!y.reload&&!l)if(o<=y.preload_data){const m=await St(f,!1);m&&An(m)}else o<=y.preload_code&&Lt(f)}function s(){r.disconnect();for(const i of j.querySelectorAll("a")){const{url:o,external:c,download:f}=Tt(i,x,S.hash);if(c||f)continue;const u=ht(i);u.reload||(u.preload_code===ut.viewport&&r.observe(i),u.preload_code===ut.eager&&Lt(o))}}Y.add(s),s()}function M(t,e){if(t instanceof vt)return t.body;const n=dt(t),r=hn(t);return S.hooks.handleError({error:t,event:e,status:n,message:r})??{message:r}}function Un(t,e={}){return t=new URL(he(t)),t.origin!==ft?Promise.reject(new Error("goto: invalid URL")):Gt(t,e,0)}function Ln(t){if(typeof t=="function")gt.push(t);else{const{href:e}=new URL(t,location.href);gt.push(n=>n.href===e)}}function Tn(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(ne(),!Q){const a=Le(v,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};we.forEach(i=>i(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ne()}),(e=navigator.connection)!=null&&e.saveData||In(),j.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=pe(n.composedPath()[0],j);if(!r)return;const{url:a,external:s,target:i,download:o}=Tt(r,x,S.hash);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=ht(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||o)return;const[u,p]=(S.hash?a.hash.replace(/^#/,""):a.href).split("#"),y=u===Rt(location);if(s||c.reload&&(!y||!p)){Ee({url:a,type:"link"})?Q=!0:n.preventDefault();return}if(p!==void 0&&y){const[,l]=v.url.href.split("#");if(l===p){if(n.preventDefault(),p===""||p==="top"&&r.ownerDocument.getElementById("top")===null)window.scrollTo({top:0});else{const m=r.ownerDocument.getElementById(decodeURIComponent(p));m&&(m.scrollIntoView(),m.focus())}return}if(H=!0,Dt(R),t(a),!c.replace_state)return;H=!1}n.preventDefault(),await new Promise(l=>{requestAnimationFrame(()=>{setTimeout(l,0)}),setTimeout(l,100)}),K({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),j.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const o=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(bt(o,x,!1))return;const c=n.target,f=ht(c);if(f.reload)return;n.preventDefault(),n.stopPropagation();const u=new FormData(c),p=a==null?void 0:a.getAttribute("name");p&&u.append(p,(a==null?void 0:a.getAttribute("value"))??""),o.search=new URLSearchParams(u).toString(),K({type:"form",url:o,keepfocus:f.keepfocus,noscroll:f.noscroll,replace_state:f.replace_state??o.href===location.href})}),addEventListener("popstate",async n=>{var r;if((r=n.state)!=null&&r[G]){const a=n.state[G];if(F={},a===R)return;const s=V[a],i=n.state[ue]??{},o=new URL(n.state[Je]??location.href),c=n.state[J],f=v.url?Rt(location)===Rt(v.url):!1;if(c===T&&(_e||f)){i!==U.state&&(U.state=i),t(o),V[R]=$t(),s&&scrollTo(s.x,s.y),R=a;return}const p=a-R;await K({type:"popstate",url:o,popped:{state:i,scroll:s,delta:p},accept:()=>{R=a,T=c},block:()=>{history.go(-p)},nav_token:F})}else if(!H){const a=new URL(location.href);t(a)}}),addEventListener("hashchange",()=>{H?(H=!1,history.replaceState({...history.state,[G]:++R,[J]:T},"",location.href)):S.hash&&v.url.hash===location.hash&&K({type:"goto",url:Te(v.url)})});for(const n of document.querySelectorAll("link"))wn.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&$.navigating.set(X.current=null)});function t(n){v.url=U.url=n,$.page.set(Ht(U)),$.page.notify()}}async function Pn(t,{status:e=200,error:n,node_ids:r,params:a,route:s,server_route:i,data:o,form:c}){Vt=!0;const f=new URL(location.href);let u;({params:a={},route:s={id:null}}=await St(f,!1)||{}),u=Ft.find(({id:l})=>l===s.id);let p,y=!0;try{const l=r.map(async(d,h)=>{const w=o[h];return w!=null&&w.uses&&(w.uses=Ue(w.uses)),Mt({loader:S.nodes[d],url:f,params:a,route:s,parent:async()=>{const k={};for(let I=0;Ii?"1":"0").join(""));const r=window.fetch,a=await r(n.href,{});if(!a.ok){let i;throw(s=a.headers.get("content-type"))!=null&&s.includes("application/json")?i=await a.json():a.status===404?i="Not Found":a.status===500&&(i="Internal Error"),new vt(a.status,i)}return new Promise(async i=>{var y;const o=new Map,c=a.body.getReader(),f=new TextDecoder;function u(l){return sn(l,{...S.decoders,Promise:m=>new Promise((d,h)=>{o.set(m,{fulfil:d,reject:h})})})}let p="";for(;;){const{done:l,value:m}=await c.read();if(l&&!p)break;for(p+=!m&&p?`
`:f.decode(m,{stream:!0});;){const d=p.indexOf(`
`);if(d===-1)break;const h=JSON.parse(p.slice(0,d));if(p=p.slice(d+1),h.type==="redirect")return i(h);if(h.type==="data")(y=h.nodes)==null||y.forEach(w=>{(w==null?void 0:w.type)==="data"&&(w.uses=Ue(w.uses),w.data=u(w.data))}),i(h);else if(h.type==="chunk"){const{id:w,data:k,error:I}=h,g=o.get(w);o.delete(w),I?g.reject(u(I)):g.fulfil(u(k))}}}})}function Ue(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 xn(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const e=document.body,n=e.getAttribute("tabindex");e.tabIndex=-1,e.focus({preventScroll:!0,focusVisible:!1}),n!==null?e.setAttribute("tabindex",n):e.removeAttribute("tabindex");const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let s=0;s{if(r.rangeCount===a.length){for(let s=0;s{a=u,s=p});return i.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((f=e==null?void 0:e.route)==null?void 0:f.id)??null},url:n},willUnload:!e,type:r,complete:i},fulfil:a,reject:s}}function Ht(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function Te(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}export{Gn as a,U as p,$ as s,Ut as u};
diff --git a/_app/immutable/chunks/D0WVFpiq.js b/_app/immutable/chunks/D0WVFpiq.js
new file mode 100644
index 000000000..24d8e3c4e
--- /dev/null
+++ b/_app/immutable/chunks/D0WVFpiq.js
@@ -0,0 +1 @@
+var s;const t=((s=globalThis.__sveltekit_1619yfl)==null?void 0:s.base)??"/svelte-fluent";var e;const l=((e=globalThis.__sveltekit_1619yfl)==null?void 0:e.assets)??t;export{l as a,t as b};
diff --git a/_app/immutable/chunks/C9KGm8gN.js b/_app/immutable/chunks/DXIQJq6t.js
similarity index 82%
rename from _app/immutable/chunks/C9KGm8gN.js
rename to _app/immutable/chunks/DXIQJq6t.js
index 779635dc3..383f11dde 100644
--- a/_app/immutable/chunks/C9KGm8gN.js
+++ b/_app/immutable/chunks/DXIQJq6t.js
@@ -1 +1 @@
-import{a as m,t as s}from"./BLmdulVr.js";import{t as o,c as f,r as c}from"./C7ybvbG6.js";import{s as i}from"./M5C_9bRV.js";import{s as n}from"./Pm9v8Z5x.js";import{b as p}from"./qc0iZXgO.js";var l=s(" ");function _(a,t){var e=l(),r=f(e,!0);c(e),o(()=>{n(e,"href",p+"/docs/"+(t.legacy?"legacy":"reference")+"/"+t.name),i(r,t.name)}),m(a,e)}export{_ as R};
+import{a as m,t as s}from"./BLmdulVr.js";import{t as o,c as f,r as c}from"./C7ybvbG6.js";import{s as i}from"./M5C_9bRV.js";import{s as n}from"./Pm9v8Z5x.js";import{b as p}from"./D0WVFpiq.js";var l=s(" ");function _(a,t){var e=l(),r=f(e,!0);c(e),o(()=>{n(e,"href",p+"/docs/"+(t.legacy?"legacy":"reference")+"/"+t.name),i(r,t.name)}),m(a,e)}export{_ as R};
diff --git a/_app/immutable/chunks/bcHiDdGq.js b/_app/immutable/chunks/DjR93qC1.js
similarity index 95%
rename from _app/immutable/chunks/bcHiDdGq.js
rename to _app/immutable/chunks/DjR93qC1.js
index 12b04d624..9cbf59464 100644
--- a/_app/immutable/chunks/bcHiDdGq.js
+++ b/_app/immutable/chunks/DjR93qC1.js
@@ -1,2 +1,2 @@
-import{a as y,t as C}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{f as x,s as t,c as e,aw as o,r as a}from"./C7ybvbG6.js";import{h as _}from"./Dc5pHhiR.js";import{R as n}from"./C9KGm8gN.js";const F={title:"initFluentContext"},{title:k}=F;var E=C(` Initializes a new with the given object
+import{a as y,t as C}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{f as x,s as t,c as e,aw as o,r as a}from"./C7ybvbG6.js";import{h as _}from"./Dc5pHhiR.js";import{R as n}from"./DXIQJq6t.js";const F={title:"initFluentContext"},{title:k}=F;var E=C(`
Initializes a new with the given object
and adds it to the svelte context.
Parameters
Name Type Description fn
() => SvelteFluent
Defines the object to be used
Return value
The object.
`,1);function T(u){var s=E(),i=x(s);i.textContent=k;var r=t(i,2),d=t(e(r));n(d,{name:"FluentContext"});var D=t(d,2);n(D,{name:"SvelteFluent"}),o(),a(r);var p=t(r,2);_(p,()=>'initFluentContext(() => fluent);
');var l=t(p,4),c=e(l),h=t(e(c)),v=e(h),m=t(e(v),2),b=t(e(m));n(b,{name:"SvelteFluent"}),o(),a(m),a(v),a(h),a(c),a(l);var f=t(l,4),g=t(e(f));n(g,{name:"FluentContext"}),o(),a(f),y(u,s)}export{T as _,F as m};
diff --git a/_app/immutable/chunks/CssQdhbD.js b/_app/immutable/chunks/FD3ZLI4D.js
similarity index 96%
rename from _app/immutable/chunks/CssQdhbD.js
rename to _app/immutable/chunks/FD3ZLI4D.js
index 12888cf1b..1baa9ded0 100644
--- a/_app/immutable/chunks/CssQdhbD.js
+++ b/_app/immutable/chunks/FD3ZLI4D.js
@@ -1 +1 @@
-import{a as i,t as d}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{f as c,s as t,c as p,aw as o,r as h}from"./C7ybvbG6.js";import{h as f}from"./Dc5pHhiR.js";import{R as m}from"./C9KGm8gN.js";const g={title:"SvelteFluent"},{title:u}=g;var v=d(' The SvelteFluent
object provides methods and properties for localization with svelte-fluent
.
You can create the SvelteFluent
object with the function.
SvelteFluent.localize
Localize a fluent message.
Parameters
Name Type Description id
string
Identifier of the fluent message args
Record<string, FluentVariable>
Interpolation arguments for the message
Return value
The localized message as a string
.
',1);function F(s){var a=v(),l=c(a);l.textContent=u;var e=t(l,4),n=t(p(e),3);m(n,{name:"createSvelteFluent"}),o(),h(e);var r=t(e,6);f(r,()=>`fluent.localize('example-message', { name: 'Example' });
`),o(8),i(s,a)}export{F as _,g as m};
+import{a as i,t as d}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{f as c,s as t,c as p,aw as o,r as h}from"./C7ybvbG6.js";import{h as f}from"./Dc5pHhiR.js";import{R as m}from"./DXIQJq6t.js";const g={title:"SvelteFluent"},{title:u}=g;var v=d(' The SvelteFluent
object provides methods and properties for localization with svelte-fluent
.
You can create the SvelteFluent
object with the function.
SvelteFluent.localize
Localize a fluent message.
Parameters
Name Type Description id
string
Identifier of the fluent message args
Record<string, FluentVariable>
Interpolation arguments for the message
Return value
The localized message as a string
.
',1);function F(s){var a=v(),l=c(a);l.textContent=u;var e=t(l,4),n=t(p(e),3);m(n,{name:"createSvelteFluent"}),o(),h(e);var r=t(e,6);f(r,()=>`fluent.localize('example-message', { name: 'Example' });
`),o(8),i(s,a)}export{F as _,g as m};
diff --git a/_app/immutable/chunks/6zcBDNlZ.js b/_app/immutable/chunks/S-626CVF.js
similarity index 96%
rename from _app/immutable/chunks/6zcBDNlZ.js
rename to _app/immutable/chunks/S-626CVF.js
index 9b62a41ad..28393d44e 100644
--- a/_app/immutable/chunks/6zcBDNlZ.js
+++ b/_app/immutable/chunks/S-626CVF.js
@@ -1 +1 @@
-import{a as h,t as u}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{f as m,s as e,c as o,aw as r,r as d}from"./C7ybvbG6.js";import{h as D}from"./Dc5pHhiR.js";import{R as p}from"./C9KGm8gN.js";const v={title:"createSvelteFluent"},{title:g}=v;var b=u(' Create a new object using the specified fluent bundles.
Parameters
Name Type Description bundles
FluentBundle[]
Defines the fluent bundles to be be used for localization options
{onError: (msg: string) => void}
Options
Return value
The object.
',1);function k(i){var a=b(),l=m(a);l.textContent=g;var t=e(l,2),c=e(o(t));p(c,{name:"SvelteFluent"}),r(),d(t);var n=e(t,2);D(n,()=>'const fluent = createSvelteFluent(bundles, options);
');var s=e(n,8),f=e(o(s));p(f,{name:"SvelteFluent"}),r(),d(s),h(i,a)}export{k as _,v as m};
+import{a as h,t as u}from"./BLmdulVr.js";import"./CrF5dDxS.js";import{f as m,s as e,c as o,aw as r,r as d}from"./C7ybvbG6.js";import{h as D}from"./Dc5pHhiR.js";import{R as p}from"./DXIQJq6t.js";const v={title:"createSvelteFluent"},{title:g}=v;var b=u(' Create a new object using the specified fluent bundles.
Parameters
Name Type Description bundles
FluentBundle[]
Defines the fluent bundles to be be used for localization options
{onError: (msg: string) => void}
Options
Return value
The object.
',1);function k(i){var a=b(),l=m(a);l.textContent=g;var t=e(l,2),c=e(o(t));p(c,{name:"SvelteFluent"}),r(),d(t);var n=e(t,2);D(n,()=>'const fluent = createSvelteFluent(bundles, options);
');var s=e(n,8),f=e(o(s));p(f,{name:"SvelteFluent"}),r(),d(s),h(i,a)}export{k as _,v as m};
diff --git a/_app/immutable/chunks/qc0iZXgO.js b/_app/immutable/chunks/qc0iZXgO.js
deleted file mode 100644
index 95f3fccee..000000000
--- a/_app/immutable/chunks/qc0iZXgO.js
+++ /dev/null
@@ -1 +0,0 @@
-var s;const t=((s=globalThis.__sveltekit_ie18ta)==null?void 0:s.base)??"/svelte-fluent";var e;const a=((e=globalThis.__sveltekit_ie18ta)==null?void 0:e.assets)??t;export{a,t as b};
diff --git a/_app/immutable/entry/app.CEppG4_h.js b/_app/immutable/entry/app.D6YhKeqV.js
similarity index 72%
rename from _app/immutable/entry/app.CEppG4_h.js
rename to _app/immutable/entry/app.D6YhKeqV.js
index 4892cb25b..0a01d121a 100644
--- a/_app/immutable/entry/app.CEppG4_h.js
+++ b/_app/immutable/entry/app.D6YhKeqV.js
@@ -1,2 +1,2 @@
-const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_app/immutable/nodes/0.BDMMLMNy.js","_app/immutable/chunks/BLmdulVr.js","_app/immutable/chunks/C7ybvbG6.js","_app/immutable/chunks/DobID0rT.js","_app/immutable/chunks/BXVM9lRb.js","_app/immutable/chunks/Pm9v8Z5x.js","_app/immutable/chunks/Cb01ZQJJ.js","_app/immutable/chunks/BT_Wadgd.js","_app/immutable/chunks/CrF5dDxS.js","_app/immutable/chunks/PwPRnE0L.js","_app/immutable/chunks/qc0iZXgO.js","_app/immutable/chunks/C4dTjVof.js","_app/immutable/chunks/Dc5pHhiR.js","_app/immutable/chunks/CxFUlaIJ.js","_app/immutable/chunks/CYgJF_JY.js","_app/immutable/chunks/CcMvP563.js","_app/immutable/assets/0.CZDQMnz0.css","_app/immutable/nodes/1.AnCNzgyU.js","_app/immutable/chunks/M5C_9bRV.js","_app/immutable/chunks/9wtrq6xj.js","_app/immutable/nodes/2.rcpgQSYW.js","_app/immutable/chunks/DHvtosUY.js","_app/immutable/chunks/CQxDgvJ-.js","_app/immutable/chunks/DvM7z2_Z.js","_app/immutable/chunks/CT42DmWV.js","_app/immutable/chunks/RBm6SzXJ.js","_app/immutable/assets/fluent.eVUBfUjq.css","_app/immutable/chunks/sm3p1Cgt.js","_app/immutable/chunks/C9KGm8gN.js","_app/immutable/chunks/BJ41t_xM.js","_app/immutable/assets/19.tVy5HVeD.css","_app/immutable/chunks/BA5z0fNS.js","_app/immutable/chunks/DH6JfqMp.js","_app/immutable/assets/6.DRmeVqd_.css","_app/immutable/chunks/C9YSdwI3.js","_app/immutable/chunks/CIxP2z4r.js","_app/immutable/chunks/CQk4EaAR.js","_app/immutable/chunks/CXEmAjVH.js","_app/immutable/chunks/m7Zg_cw1.js","_app/immutable/chunks/Be-9h20U.js","_app/immutable/chunks/BIHLNJ1n.js","_app/immutable/chunks/CssQdhbD.js","_app/immutable/chunks/6zcBDNlZ.js","_app/immutable/chunks/LcMkLfTL.js","_app/immutable/chunks/bcHiDdGq.js","_app/immutable/chunks/pBxkpSOH.js","_app/immutable/chunks/UNhKW_vC.js","_app/immutable/chunks/BKiJ3o1Z.js","_app/immutable/assets/2.4L7Bed0P.css","_app/immutable/nodes/3.Dc3a8gie.js","_app/immutable/assets/3.QyXMVIo7.css","_app/immutable/nodes/4.B8XR2G2M.js","_app/immutable/nodes/5.Df7b8XR5.js","_app/immutable/nodes/6.B_X4Hyqm.js","_app/immutable/nodes/7.Bh1WjCm4.js","_app/immutable/nodes/8.BrUmjhEJ.js","_app/immutable/nodes/9.BjKLjO6D.js","_app/immutable/nodes/10.DNG1wPnW.js","_app/immutable/nodes/11.BNg_TuZU.js","_app/immutable/nodes/12.DTDKTpS4.js","_app/immutable/nodes/13.BCYwE9-t.js","_app/immutable/nodes/14.CDT7hMEf.js","_app/immutable/nodes/15.BLnJ1JIG.js","_app/immutable/nodes/16.D2YBvdkl.js","_app/immutable/nodes/17.X5UMAdwn.js","_app/immutable/nodes/18.P-mScXZ5.js","_app/immutable/nodes/19.CPiQJ4pd.js","_app/immutable/nodes/20.CC0zyw27.js"])))=>i.map(i=>d[i]);
-var K=o=>{throw TypeError(o)};var Q=(o,e,t)=>e.has(o)||K("Cannot "+t);var _=(o,e,t)=>(Q(o,e,"read from private field"),t?t.call(o):e.get(o)),N=(o,e,t)=>e.has(o)?K("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(o):e.set(o,t),W=(o,e,t,i)=>(Q(o,e,"write to private field"),i?i.call(o,t):e.set(o,t),t);import{h as X,e as ce,v as ie,E as _e,w as de,z as ue,F as le,g as h,aj as fe,a7 as F,ax as me,ac as ve,ad as he,p as Ee,G as ge,u as Pe,ay as ye,f as R,s as Re,n as Oe,az as Y,c as Le,r as Ae,t as Te,o as V}from"../chunks/C7ybvbG6.js";import{h as be,m as De,u as Ie,s as Ve}from"../chunks/M5C_9bRV.js";import{a as g,t as M,c as T,b as xe}from"../chunks/BLmdulVr.js";import{i as k}from"../chunks/DobID0rT.js";import{p,a as we}from"../chunks/Cb01ZQJJ.js";import{b as x}from"../chunks/BIHLNJ1n.js";import{o as Ce}from"../chunks/CcMvP563.js";function w(o,e,t){X&&ce();var i=o,a,d;ie(()=>{a!==(a=e())&&(d&&(le(d),d=null),a&&(d=de(()=>t(i,a))))},_e),X&&(i=ue)}function Se(o){return class extends ke{constructor(e){super({component:o,...e})}}}var P,l;class ke{constructor(e){N(this,P);N(this,l);var d;var t=new Map,i=(r,s)=>{var c=he(s);return t.set(r,c),c};const a=new Proxy({...e.props||{},$$events:{}},{get(r,s){return h(t.get(s)??i(s,Reflect.get(r,s)))},has(r,s){return s===fe?!0:(h(t.get(s)??i(s,Reflect.get(r,s))),Reflect.has(r,s))},set(r,s,c){return F(t.get(s)??i(s,c),c),Reflect.set(r,s,c)}});W(this,l,(e.hydrate?be:De)(e.component,{target:e.target,anchor:e.anchor,props:a,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((d=e==null?void 0:e.props)!=null&&d.$$host)||e.sync===!1)&&me(),W(this,P,a.$$events);for(const r of Object.keys(_(this,l)))r==="$set"||r==="$destroy"||r==="$on"||ve(this,r,{get(){return _(this,l)[r]},set(s){_(this,l)[r]=s},enumerable:!0});_(this,l).$set=r=>{Object.assign(a,r)},_(this,l).$destroy=()=>{Ie(_(this,l))}}$set(e){_(this,l).$set(e)}$on(e,t){_(this,P)[e]=_(this,P)[e]||[];const i=(...a)=>t.call(this,...a);return _(this,P)[e].push(i),()=>{_(this,P)[e]=_(this,P)[e].filter(a=>a!==i)}}$destroy(){_(this,l).$destroy()}}P=new WeakMap,l=new WeakMap;const pe="modulepreload",Fe=function(o){return"/svelte-fluent/"+o},Z={},n=function(e,t,i){let a=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const r=document.querySelector("meta[property=csp-nonce]"),s=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));a=Promise.allSettled(t.map(c=>{if(c=Fe(c),c in Z)return;Z[c]=!0;const O=c.endsWith(".css"),C=O?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${C}`))return;const f=document.createElement("link");if(f.rel=O?"stylesheet":pe,O||(f.as="script"),f.crossOrigin="",f.href=c,s&&f.setAttribute("nonce",s),document.head.appendChild(f),O)return new Promise((j,z)=>{f.addEventListener("load",j),f.addEventListener("error",()=>z(new Error(`Unable to preload CSS for ${c}`)))})}))}function d(r){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=r,window.dispatchEvent(s),!s.defaultPrevented)throw r}return a.then(r=>{for(const s of r||[])s.status==="rejected"&&d(s.reason);return e().catch(d)})},Me={};var je=M(''),ze=M(" ",1);function Ue(o,e){Ee(e,!0);let t=p(e,"components",23,()=>[]),i=p(e,"data_0",3,null),a=p(e,"data_1",3,null),d=p(e,"data_2",3,null);ge(()=>e.stores.page.set(e.page)),Pe(()=>{e.stores,e.page,e.constructors,t(),e.form,i(),a(),d(),e.stores.page.notify()});let r=Y(!1),s=Y(!1),c=Y(null);Ce(()=>{const u=e.stores.page.subscribe(()=>{h(r)&&(F(s,!0),ye().then(()=>{F(c,we(document.title||"untitled page"))}))});return F(r,!0),u});const O=V(()=>e.constructors[2]);var C=ze(),f=R(C);{var j=u=>{var E=T();const b=V(()=>e.constructors[0]);var D=R(E);w(D,()=>h(b),(y,L)=>{x(L(y,{get data(){return i()},get form(){return e.form},children:(m,Be)=>{var H=T(),te=R(H);{var re=A=>{var I=T();const U=V(()=>e.constructors[1]);var q=R(I);w(q,()=>h(U),(G,B)=>{x(B(G,{get data(){return a()},get form(){return e.form},children:(v,Ne)=>{var J=T(),se=R(J);w(se,()=>h(O),(ne,ae)=>{x(ae(ne,{get data(){return d()},get form(){return e.form}}),S=>t()[2]=S,()=>{var S;return(S=t())==null?void 0:S[2]})}),g(v,J)},$$slots:{default:!0}}),v=>t()[1]=v,()=>{var v;return(v=t())==null?void 0:v[1]})}),g(A,I)},oe=A=>{var I=T();const U=V(()=>e.constructors[1]);var q=R(I);w(q,()=>h(U),(G,B)=>{x(B(G,{get data(){return a()},get form(){return e.form}}),v=>t()[1]=v,()=>{var v;return(v=t())==null?void 0:v[1]})}),g(A,I)};k(te,A=>{e.constructors[2]?A(re):A(oe,!1)})}g(m,H)},$$slots:{default:!0}}),m=>t()[0]=m,()=>{var m;return(m=t())==null?void 0:m[0]})}),g(u,E)},z=u=>{var E=T();const b=V(()=>e.constructors[0]);var D=R(E);w(D,()=>h(b),(y,L)=>{x(L(y,{get data(){return i()},get form(){return e.form}}),m=>t()[0]=m,()=>{var m;return(m=t())==null?void 0:m[0]})}),g(u,E)};k(f,u=>{e.constructors[1]?u(j):u(z,!1)})}var $=Re(f,2);{var ee=u=>{var E=je(),b=Le(E);{var D=y=>{var L=xe();Te(()=>Ve(L,h(c))),g(y,L)};k(b,y=>{h(s)&&y(D)})}Ae(E),g(u,E)};k($,u=>{h(r)&&u(ee)})}g(o,C),Oe()}const $e=Se(Ue),et=[()=>n(()=>import("../nodes/0.BDMMLMNy.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16])),()=>n(()=>import("../nodes/1.AnCNzgyU.js"),__vite__mapDeps([17,1,2,8,18,19,13,7,10,14,15])),()=>n(()=>import("../nodes/2.rcpgQSYW.js"),__vite__mapDeps([20,21,1,2,8,12,5,10,22,9,23,24,6,7,25,18,3,4,26,27,28,29,19,30,31,32,33,34,35,36,37,15,38,39,40,41,42,43,44,45,46,47,48])),()=>n(()=>import("../nodes/3.Dc3a8gie.js"),__vite__mapDeps([49,1,2,8,22,5,9,23,24,6,7,25,18,3,12,4,26,27,11,10,50])),()=>n(()=>import("../nodes/4.B8XR2G2M.js"),__vite__mapDeps([51,10,14])),()=>n(()=>import("../nodes/5.Df7b8XR5.js"),__vite__mapDeps([52,21,1,2,8,12,5,10,22,9,23,24,6,7,25,18,3,4,26,27,28])),()=>n(()=>import("../nodes/6.B_X4Hyqm.js"),__vite__mapDeps([53,32,1,2,8,12,5,19,28,18,10,33])),()=>n(()=>import("../nodes/7.Bh1WjCm4.js"),__vite__mapDeps([54,1,2,8,18,25,3,12,4,26,5,45,46,28,10,19,37,27,47])),()=>n(()=>import("../nodes/8.BrUmjhEJ.js"),__vite__mapDeps([55,46,1,2,8,12,28,18,5,10,25,3,4,26,19,37,27])),()=>n(()=>import("../nodes/9.BjKLjO6D.js"),__vite__mapDeps([56,47,1,2,8,28,18,5,10])),()=>n(()=>import("../nodes/10.DNG1wPnW.js"),__vite__mapDeps([57,1,2,8,18,25,3,12,4,26,5,34,35,28,10,19,36,37,15,27,38,23,6,7,39,9,40,41,42,43,44])),()=>n(()=>import("../nodes/11.BNg_TuZU.js"),__vite__mapDeps([58,35,1,2,8,12,28,18,5,10,25,3,4,26,19])),()=>n(()=>import("../nodes/12.DTDKTpS4.js"),__vite__mapDeps([59,36,1,2,8,25,18,3,12,4,26,19,37,15,27])),()=>n(()=>import("../nodes/13.BCYwE9-t.js"),__vite__mapDeps([60,38,1,2,8,19,25,18,3,12,4,26,27,5,23,6,7])),()=>n(()=>import("../nodes/14.CDT7hMEf.js"),__vite__mapDeps([61,39,1,2,8,25,18,3,12,4,26,19,9,40,5,23,6,7])),()=>n(()=>import("../nodes/15.BLnJ1JIG.js"),__vite__mapDeps([62,41,1,2,8,12,28,18,5,10])),()=>n(()=>import("../nodes/16.D2YBvdkl.js"),__vite__mapDeps([63,42,1,2,8,12,28,18,5,10])),()=>n(()=>import("../nodes/17.X5UMAdwn.js"),__vite__mapDeps([64,43,1,2,8,12,28,18,5,10])),()=>n(()=>import("../nodes/18.P-mScXZ5.js"),__vite__mapDeps([65,44,1,2,8,12,28,18,5,10])),()=>n(()=>import("../nodes/19.CPiQJ4pd.js"),__vite__mapDeps([66,29,1,2,8,5,10,28,18,25,3,12,4,26,19,27,24,6,7,30])),()=>n(()=>import("../nodes/20.CC0zyw27.js"),__vite__mapDeps([67,31,1,2,8,12,5,10,28,18]))],tt=[],rt={"/":[3],"/docs":[4,[2]],"/docs/getting-started":[5,[2]],"/docs/integration":[6,[2]],"/docs/legacy":[7,[2]],"/docs/legacy/Localized":[8,[2]],"/docs/legacy/Overlay":[9,[2]],"/docs/reference":[10,[2]],"/docs/reference/FluentContext":[11,[2]],"/docs/reference/FluentProvider":[12,[2]],"/docs/reference/Localized":[13,[2]],"/docs/reference/Overlay":[14,[2]],"/docs/reference/SvelteFluent":[15,[2]],"/docs/reference/createSvelteFluent":[16,[2]],"/docs/reference/getFluentContext":[17,[2]],"/docs/reference/initFluentContext":[18,[2]],"/docs/tutorial":[19,[2]],"/docs/version-1":[20,[2]]},qe={handleError:({error:o})=>{console.error(o)},reroute:()=>{},transport:{}},Ge=Object.fromEntries(Object.entries(qe.transport).map(([o,e])=>[o,e.decode])),ot=!1,st=(o,e)=>Ge[o](e);export{st as decode,Ge as decoders,rt as dictionary,ot as hash,qe as hooks,Me as matchers,et as nodes,$e as root,tt as server_loads};
+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_app/immutable/nodes/0.BnwRqxfF.js","_app/immutable/chunks/BLmdulVr.js","_app/immutable/chunks/C7ybvbG6.js","_app/immutable/chunks/DobID0rT.js","_app/immutable/chunks/BXVM9lRb.js","_app/immutable/chunks/Pm9v8Z5x.js","_app/immutable/chunks/Cb01ZQJJ.js","_app/immutable/chunks/BT_Wadgd.js","_app/immutable/chunks/CrF5dDxS.js","_app/immutable/chunks/PwPRnE0L.js","_app/immutable/chunks/D0WVFpiq.js","_app/immutable/chunks/C4dTjVof.js","_app/immutable/chunks/Dc5pHhiR.js","_app/immutable/chunks/D-eTWLjq.js","_app/immutable/chunks/CYgJF_JY.js","_app/immutable/chunks/CcMvP563.js","_app/immutable/assets/0.CZDQMnz0.css","_app/immutable/nodes/1.SuC6p7aY.js","_app/immutable/chunks/M5C_9bRV.js","_app/immutable/chunks/9wtrq6xj.js","_app/immutable/nodes/2.B8oLKeXJ.js","_app/immutable/chunks/BqWRV_2Y.js","_app/immutable/chunks/CQxDgvJ-.js","_app/immutable/chunks/DvM7z2_Z.js","_app/immutable/chunks/CT42DmWV.js","_app/immutable/chunks/RBm6SzXJ.js","_app/immutable/assets/fluent.eVUBfUjq.css","_app/immutable/chunks/sm3p1Cgt.js","_app/immutable/chunks/DXIQJq6t.js","_app/immutable/chunks/B1J5vlOb.js","_app/immutable/assets/19.tVy5HVeD.css","_app/immutable/chunks/C7Lh6-i1.js","_app/immutable/chunks/CjLeEysS.js","_app/immutable/assets/6.DRmeVqd_.css","_app/immutable/chunks/BeqFGa4x.js","_app/immutable/chunks/BDSGbctU.js","_app/immutable/chunks/CQk4EaAR.js","_app/immutable/chunks/CXEmAjVH.js","_app/immutable/chunks/m7Zg_cw1.js","_app/immutable/chunks/Be-9h20U.js","_app/immutable/chunks/BIHLNJ1n.js","_app/immutable/chunks/FD3ZLI4D.js","_app/immutable/chunks/S-626CVF.js","_app/immutable/chunks/BDfTt2xC.js","_app/immutable/chunks/DjR93qC1.js","_app/immutable/chunks/B1l9QTtp.js","_app/immutable/chunks/Cla8vzo_.js","_app/immutable/chunks/CFnW3eWN.js","_app/immutable/assets/2.4L7Bed0P.css","_app/immutable/nodes/3.B0ROuL_3.js","_app/immutable/assets/3.QyXMVIo7.css","_app/immutable/nodes/4.BnFNU2NW.js","_app/immutable/nodes/5.CJ5hl8i0.js","_app/immutable/nodes/6.CgFJbFw7.js","_app/immutable/nodes/7.B_KPz-kd.js","_app/immutable/nodes/8.C6T1Z0wG.js","_app/immutable/nodes/9.CcrQSlf6.js","_app/immutable/nodes/10.DsDejMGs.js","_app/immutable/nodes/11.BPpOKylX.js","_app/immutable/nodes/12.DTDKTpS4.js","_app/immutable/nodes/13.BCYwE9-t.js","_app/immutable/nodes/14.CDT7hMEf.js","_app/immutable/nodes/15.C49ZNr8i.js","_app/immutable/nodes/16.C1K7CzH7.js","_app/immutable/nodes/17.CC29mTXE.js","_app/immutable/nodes/18.CIMtyuVN.js","_app/immutable/nodes/19.iUQ9w274.js","_app/immutable/nodes/20.PnTBw9_f.js"])))=>i.map(i=>d[i]);
+var K=o=>{throw TypeError(o)};var Q=(o,e,t)=>e.has(o)||K("Cannot "+t);var _=(o,e,t)=>(Q(o,e,"read from private field"),t?t.call(o):e.get(o)),N=(o,e,t)=>e.has(o)?K("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(o):e.set(o,t),W=(o,e,t,i)=>(Q(o,e,"write to private field"),i?i.call(o,t):e.set(o,t),t);import{h as X,e as ce,v as ie,E as _e,w as de,z as ue,F as le,g as h,aj as fe,a7 as F,ax as me,ac as ve,ad as he,p as Ee,G as ge,u as Pe,ay as ye,f as R,s as Re,n as Oe,az as Y,c as Le,r as Ae,t as Te,o as V}from"../chunks/C7ybvbG6.js";import{h as be,m as De,u as Ie,s as Ve}from"../chunks/M5C_9bRV.js";import{a as g,t as M,c as T,b as xe}from"../chunks/BLmdulVr.js";import{i as k}from"../chunks/DobID0rT.js";import{p,a as we}from"../chunks/Cb01ZQJJ.js";import{b as x}from"../chunks/BIHLNJ1n.js";import{o as Ce}from"../chunks/CcMvP563.js";function w(o,e,t){X&&ce();var i=o,a,d;ie(()=>{a!==(a=e())&&(d&&(le(d),d=null),a&&(d=de(()=>t(i,a))))},_e),X&&(i=ue)}function Se(o){return class extends ke{constructor(e){super({component:o,...e})}}}var P,l;class ke{constructor(e){N(this,P);N(this,l);var d;var t=new Map,i=(r,s)=>{var c=he(s);return t.set(r,c),c};const a=new Proxy({...e.props||{},$$events:{}},{get(r,s){return h(t.get(s)??i(s,Reflect.get(r,s)))},has(r,s){return s===fe?!0:(h(t.get(s)??i(s,Reflect.get(r,s))),Reflect.has(r,s))},set(r,s,c){return F(t.get(s)??i(s,c),c),Reflect.set(r,s,c)}});W(this,l,(e.hydrate?be:De)(e.component,{target:e.target,anchor:e.anchor,props:a,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((d=e==null?void 0:e.props)!=null&&d.$$host)||e.sync===!1)&&me(),W(this,P,a.$$events);for(const r of Object.keys(_(this,l)))r==="$set"||r==="$destroy"||r==="$on"||ve(this,r,{get(){return _(this,l)[r]},set(s){_(this,l)[r]=s},enumerable:!0});_(this,l).$set=r=>{Object.assign(a,r)},_(this,l).$destroy=()=>{Ie(_(this,l))}}$set(e){_(this,l).$set(e)}$on(e,t){_(this,P)[e]=_(this,P)[e]||[];const i=(...a)=>t.call(this,...a);return _(this,P)[e].push(i),()=>{_(this,P)[e]=_(this,P)[e].filter(a=>a!==i)}}$destroy(){_(this,l).$destroy()}}P=new WeakMap,l=new WeakMap;const pe="modulepreload",Fe=function(o){return"/svelte-fluent/"+o},Z={},n=function(e,t,i){let a=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const r=document.querySelector("meta[property=csp-nonce]"),s=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));a=Promise.allSettled(t.map(c=>{if(c=Fe(c),c in Z)return;Z[c]=!0;const O=c.endsWith(".css"),C=O?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${C}`))return;const f=document.createElement("link");if(f.rel=O?"stylesheet":pe,O||(f.as="script"),f.crossOrigin="",f.href=c,s&&f.setAttribute("nonce",s),document.head.appendChild(f),O)return new Promise((j,z)=>{f.addEventListener("load",j),f.addEventListener("error",()=>z(new Error(`Unable to preload CSS for ${c}`)))})}))}function d(r){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=r,window.dispatchEvent(s),!s.defaultPrevented)throw r}return a.then(r=>{for(const s of r||[])s.status==="rejected"&&d(s.reason);return e().catch(d)})},Me={};var je=M(''),ze=M(" ",1);function Ue(o,e){Ee(e,!0);let t=p(e,"components",23,()=>[]),i=p(e,"data_0",3,null),a=p(e,"data_1",3,null),d=p(e,"data_2",3,null);ge(()=>e.stores.page.set(e.page)),Pe(()=>{e.stores,e.page,e.constructors,t(),e.form,i(),a(),d(),e.stores.page.notify()});let r=Y(!1),s=Y(!1),c=Y(null);Ce(()=>{const u=e.stores.page.subscribe(()=>{h(r)&&(F(s,!0),ye().then(()=>{F(c,we(document.title||"untitled page"))}))});return F(r,!0),u});const O=V(()=>e.constructors[2]);var C=ze(),f=R(C);{var j=u=>{var E=T();const b=V(()=>e.constructors[0]);var D=R(E);w(D,()=>h(b),(y,L)=>{x(L(y,{get data(){return i()},get form(){return e.form},children:(m,Be)=>{var H=T(),te=R(H);{var re=A=>{var I=T();const U=V(()=>e.constructors[1]);var q=R(I);w(q,()=>h(U),(G,B)=>{x(B(G,{get data(){return a()},get form(){return e.form},children:(v,Ne)=>{var J=T(),se=R(J);w(se,()=>h(O),(ne,ae)=>{x(ae(ne,{get data(){return d()},get form(){return e.form}}),S=>t()[2]=S,()=>{var S;return(S=t())==null?void 0:S[2]})}),g(v,J)},$$slots:{default:!0}}),v=>t()[1]=v,()=>{var v;return(v=t())==null?void 0:v[1]})}),g(A,I)},oe=A=>{var I=T();const U=V(()=>e.constructors[1]);var q=R(I);w(q,()=>h(U),(G,B)=>{x(B(G,{get data(){return a()},get form(){return e.form}}),v=>t()[1]=v,()=>{var v;return(v=t())==null?void 0:v[1]})}),g(A,I)};k(te,A=>{e.constructors[2]?A(re):A(oe,!1)})}g(m,H)},$$slots:{default:!0}}),m=>t()[0]=m,()=>{var m;return(m=t())==null?void 0:m[0]})}),g(u,E)},z=u=>{var E=T();const b=V(()=>e.constructors[0]);var D=R(E);w(D,()=>h(b),(y,L)=>{x(L(y,{get data(){return i()},get form(){return e.form}}),m=>t()[0]=m,()=>{var m;return(m=t())==null?void 0:m[0]})}),g(u,E)};k(f,u=>{e.constructors[1]?u(j):u(z,!1)})}var $=Re(f,2);{var ee=u=>{var E=je(),b=Le(E);{var D=y=>{var L=xe();Te(()=>Ve(L,h(c))),g(y,L)};k(b,y=>{h(s)&&y(D)})}Ae(E),g(u,E)};k($,u=>{h(r)&&u(ee)})}g(o,C),Oe()}const $e=Se(Ue),et=[()=>n(()=>import("../nodes/0.BnwRqxfF.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16])),()=>n(()=>import("../nodes/1.SuC6p7aY.js"),__vite__mapDeps([17,1,2,8,18,19,13,7,10,14,15])),()=>n(()=>import("../nodes/2.B8oLKeXJ.js"),__vite__mapDeps([20,21,1,2,8,12,5,10,22,9,23,24,6,7,25,18,3,4,26,27,28,29,19,30,31,32,33,34,35,36,37,15,38,39,40,41,42,43,44,45,46,47,48])),()=>n(()=>import("../nodes/3.B0ROuL_3.js"),__vite__mapDeps([49,1,2,8,22,5,9,23,24,6,7,25,18,3,12,4,26,27,11,10,50])),()=>n(()=>import("../nodes/4.BnFNU2NW.js"),__vite__mapDeps([51,10,14])),()=>n(()=>import("../nodes/5.CJ5hl8i0.js"),__vite__mapDeps([52,21,1,2,8,12,5,10,22,9,23,24,6,7,25,18,3,4,26,27,28])),()=>n(()=>import("../nodes/6.CgFJbFw7.js"),__vite__mapDeps([53,32,1,2,8,12,5,19,28,18,10,33])),()=>n(()=>import("../nodes/7.B_KPz-kd.js"),__vite__mapDeps([54,1,2,8,18,25,3,12,4,26,5,45,46,28,10,19,37,27,47])),()=>n(()=>import("../nodes/8.C6T1Z0wG.js"),__vite__mapDeps([55,46,1,2,8,12,28,18,5,10,25,3,4,26,19,37,27])),()=>n(()=>import("../nodes/9.CcrQSlf6.js"),__vite__mapDeps([56,47,1,2,8,28,18,5,10])),()=>n(()=>import("../nodes/10.DsDejMGs.js"),__vite__mapDeps([57,1,2,8,18,25,3,12,4,26,5,34,35,28,10,19,36,37,15,27,38,23,6,7,39,9,40,41,42,43,44])),()=>n(()=>import("../nodes/11.BPpOKylX.js"),__vite__mapDeps([58,35,1,2,8,12,28,18,5,10,25,3,4,26,19])),()=>n(()=>import("../nodes/12.DTDKTpS4.js"),__vite__mapDeps([59,36,1,2,8,25,18,3,12,4,26,19,37,15,27])),()=>n(()=>import("../nodes/13.BCYwE9-t.js"),__vite__mapDeps([60,38,1,2,8,19,25,18,3,12,4,26,27,5,23,6,7])),()=>n(()=>import("../nodes/14.CDT7hMEf.js"),__vite__mapDeps([61,39,1,2,8,25,18,3,12,4,26,19,9,40,5,23,6,7])),()=>n(()=>import("../nodes/15.C49ZNr8i.js"),__vite__mapDeps([62,41,1,2,8,12,28,18,5,10])),()=>n(()=>import("../nodes/16.C1K7CzH7.js"),__vite__mapDeps([63,42,1,2,8,12,28,18,5,10])),()=>n(()=>import("../nodes/17.CC29mTXE.js"),__vite__mapDeps([64,43,1,2,8,12,28,18,5,10])),()=>n(()=>import("../nodes/18.CIMtyuVN.js"),__vite__mapDeps([65,44,1,2,8,12,28,18,5,10])),()=>n(()=>import("../nodes/19.iUQ9w274.js"),__vite__mapDeps([66,29,1,2,8,5,10,28,18,25,3,12,4,26,19,27,24,6,7,30])),()=>n(()=>import("../nodes/20.PnTBw9_f.js"),__vite__mapDeps([67,31,1,2,8,12,5,10,28,18]))],tt=[],rt={"/":[3],"/docs":[4,[2]],"/docs/getting-started":[5,[2]],"/docs/integration":[6,[2]],"/docs/legacy":[7,[2]],"/docs/legacy/Localized":[8,[2]],"/docs/legacy/Overlay":[9,[2]],"/docs/reference":[10,[2]],"/docs/reference/FluentContext":[11,[2]],"/docs/reference/FluentProvider":[12,[2]],"/docs/reference/Localized":[13,[2]],"/docs/reference/Overlay":[14,[2]],"/docs/reference/SvelteFluent":[15,[2]],"/docs/reference/createSvelteFluent":[16,[2]],"/docs/reference/getFluentContext":[17,[2]],"/docs/reference/initFluentContext":[18,[2]],"/docs/tutorial":[19,[2]],"/docs/version-1":[20,[2]]},qe={handleError:({error:o})=>{console.error(o)},reroute:()=>{},transport:{}},Ge=Object.fromEntries(Object.entries(qe.transport).map(([o,e])=>[o,e.decode])),ot=!1,st=(o,e)=>Ge[o](e);export{st as decode,Ge as decoders,rt as dictionary,ot as hash,qe as hooks,Me as matchers,et as nodes,$e as root,tt as server_loads};
diff --git a/_app/immutable/entry/start.CYBYeF5f.js b/_app/immutable/entry/start.CYBYeF5f.js
deleted file mode 100644
index 5f0b939d4..000000000
--- a/_app/immutable/entry/start.CYBYeF5f.js
+++ /dev/null
@@ -1 +0,0 @@
-import{a as t}from"../chunks/CxFUlaIJ.js";export{t as start};
diff --git a/_app/immutable/entry/start.Cd3_sQF5.js b/_app/immutable/entry/start.Cd3_sQF5.js
new file mode 100644
index 000000000..987203b98
--- /dev/null
+++ b/_app/immutable/entry/start.Cd3_sQF5.js
@@ -0,0 +1 @@
+import{a as t}from"../chunks/D-eTWLjq.js";export{t as start};
diff --git a/_app/immutable/nodes/0.BDMMLMNy.js b/_app/immutable/nodes/0.BnwRqxfF.js
similarity index 95%
rename from _app/immutable/nodes/0.BDMMLMNy.js
rename to _app/immutable/nodes/0.BnwRqxfF.js
index ac06ad2d3..cd6cc2736 100644
--- a/_app/immutable/nodes/0.BDMMLMNy.js
+++ b/_app/immutable/nodes/0.BnwRqxfF.js
@@ -1 +1 @@
-import{a as d,s as A,t as h,u as T,c as k}from"../chunks/BLmdulVr.js";import{t as g,s as b,c as r,aw as B,r as o,p as C,f as y,n as G,g as f,aA as H,o as L}from"../chunks/C7ybvbG6.js";import{i as M}from"../chunks/DobID0rT.js";import{s as O}from"../chunks/BXVM9lRb.js";import{a as P,s as _}from"../chunks/Pm9v8Z5x.js";import{r as V,b as z,c as D}from"../chunks/Cb01ZQJJ.js";import"../chunks/CrF5dDxS.js";import{s as q}from"../chunks/PwPRnE0L.js";import{b as x}from"../chunks/qc0iZXgO.js";import{L as E}from"../chunks/C4dTjVof.js";import{s as F}from"../chunks/CxFUlaIJ.js";const I=!0,J="always",ve=Object.freeze(Object.defineProperty({__proto__:null,prerender:I,trailingSlash:J},Symbol.toStringTag,{value:"Module"}));var K=A('');function N(e,t){const i=V(t,["$$slots","$$events","$$legacy"]);var s=K();let a;g(()=>a=P(s,a,{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...i},void 0,!0)),d(e,s)}var Q=h(' ');function R(e){var t=Q(),i=r(t);q(i,"--justify","space-between");var s=r(i),a=r(s);_(a,"href",`${x??""}/`);var c=r(a);E(c),B(),o(a),o(s);var l=b(s,2),v=r(l);_(v,"href",`${x??""}/docs`);var p=b(v,2),u=r(p),n=r(u);N(n,{}),o(u),o(p),o(l),o(i),o(t),d(e,t)}const U=()=>{const e=F;return{page:{subscribe:e.page.subscribe},navigating:{subscribe:e.navigating.subscribe},updated:e.updated}},W={subscribe(e){return U().page.subscribe(e)}};"navigator"in globalThis||(globalThis.navigator={languages:[]});var X=h(''),Y=h(' ',1);function pe(e,t){C(t,!0);const[i,s]=z(),a=()=>D(W,"$page",i);let c=L(()=>{var n;return{...a().data.seo,title:[(n=a().data.seo)==null?void 0:n.title,"svelte-fluent"].filter(Boolean).join(" | ")}});var l=Y();T(n=>{var $=k(),j=y($);{var S=m=>{var w=X();g(()=>_(w,"content",f(c).description)),d(m,w)};M(j,m=>{f(c).description&&m(S)})}g(()=>H.title=f(c).title),d(n,$)});var v=y(l);R(v);var p=b(v,2),u=r(p);O(u,()=>t.children),o(p),d(e,l),G(),s()}export{pe as component,ve as universal};
+import{a as d,s as A,t as h,u as T,c as k}from"../chunks/BLmdulVr.js";import{t as g,s as b,c as r,aw as B,r as o,p as C,f as y,n as G,g as f,aA as H,o as L}from"../chunks/C7ybvbG6.js";import{i as M}from"../chunks/DobID0rT.js";import{s as O}from"../chunks/BXVM9lRb.js";import{a as P,s as _}from"../chunks/Pm9v8Z5x.js";import{r as V,b as z,c as D}from"../chunks/Cb01ZQJJ.js";import"../chunks/CrF5dDxS.js";import{s as q}from"../chunks/PwPRnE0L.js";import{b as x}from"../chunks/D0WVFpiq.js";import{L as E}from"../chunks/C4dTjVof.js";import{s as F}from"../chunks/D-eTWLjq.js";const I=!0,J="always",ve=Object.freeze(Object.defineProperty({__proto__:null,prerender:I,trailingSlash:J},Symbol.toStringTag,{value:"Module"}));var K=A('');function N(e,t){const i=V(t,["$$slots","$$events","$$legacy"]);var s=K();let a;g(()=>a=P(s,a,{viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",...i},void 0,!0)),d(e,s)}var Q=h(' ');function R(e){var t=Q(),i=r(t);q(i,"--justify","space-between");var s=r(i),a=r(s);_(a,"href",`${x??""}/`);var c=r(a);E(c),B(),o(a),o(s);var l=b(s,2),v=r(l);_(v,"href",`${x??""}/docs`);var p=b(v,2),u=r(p),n=r(u);N(n,{}),o(u),o(p),o(l),o(i),o(t),d(e,t)}const U=()=>{const e=F;return{page:{subscribe:e.page.subscribe},navigating:{subscribe:e.navigating.subscribe},updated:e.updated}},W={subscribe(e){return U().page.subscribe(e)}};"navigator"in globalThis||(globalThis.navigator={languages:[]});var X=h(''),Y=h(' ',1);function pe(e,t){C(t,!0);const[i,s]=z(),a=()=>D(W,"$page",i);let c=L(()=>{var n;return{...a().data.seo,title:[(n=a().data.seo)==null?void 0:n.title,"svelte-fluent"].filter(Boolean).join(" | ")}});var l=Y();T(n=>{var $=k(),j=y($);{var S=m=>{var w=X();g(()=>_(w,"content",f(c).description)),d(m,w)};M(j,m=>{f(c).description&&m(S)})}g(()=>H.title=f(c).title),d(n,$)});var v=y(l);R(v);var p=b(v,2),u=r(p);O(u,()=>t.children),o(p),d(e,l),G(),s()}export{pe as component,ve as universal};
diff --git a/_app/immutable/nodes/1.AnCNzgyU.js b/_app/immutable/nodes/1.SuC6p7aY.js
similarity index 91%
rename from _app/immutable/nodes/1.AnCNzgyU.js
rename to _app/immutable/nodes/1.SuC6p7aY.js
index 6afd57e86..49d277bd1 100644
--- a/_app/immutable/nodes/1.AnCNzgyU.js
+++ b/_app/immutable/nodes/1.SuC6p7aY.js
@@ -1 +1 @@
-import{a as f,t as d}from"../chunks/BLmdulVr.js";import"../chunks/CrF5dDxS.js";import{p as h,f as l,t as v,n as x,s as _,c as o,r as p}from"../chunks/C7ybvbG6.js";import{s as u}from"../chunks/M5C_9bRV.js";import{i as $}from"../chunks/9wtrq6xj.js";import{u as k,s as b,p as t}from"../chunks/CxFUlaIJ.js";const E={get data(){return t.data},get error(){return t.error},get form(){return t.form},get params(){return t.params},get route(){return t.route},get state(){return t.state},get status(){return t.status},get url(){return t.url}};b.updated.check;const n=E;var j=d("
",1);function C(m,g){h(g,!1),$();var e=j(),r=l(e),i=o(r,!0);p(r);var a=_(r,2),c=o(a,!0);p(a),v(()=>{var s;u(i,n.status),u(c,(s=n.error)==null?void 0:s.message)}),f(m,e),x()}export{C as component};
+import{a as f,t as d}from"../chunks/BLmdulVr.js";import"../chunks/CrF5dDxS.js";import{p as h,f as l,t as v,n as x,s as _,c as o,r as p}from"../chunks/C7ybvbG6.js";import{s as u}from"../chunks/M5C_9bRV.js";import{i as $}from"../chunks/9wtrq6xj.js";import{u as k,s as b,p as t}from"../chunks/D-eTWLjq.js";const E={get data(){return t.data},get error(){return t.error},get form(){return t.form},get params(){return t.params},get route(){return t.route},get state(){return t.state},get status(){return t.status},get url(){return t.url}};b.updated.check;const n=E;var j=d("
",1);function C(m,g){h(g,!1),$();var e=j(),r=l(e),i=o(r,!0);p(r);var a=_(r,2),c=o(a,!0);p(a),v(()=>{var s;u(i,n.status),u(c,(s=n.error)==null?void 0:s.message)}),f(m,e),x()}export{C as component};
diff --git a/_app/immutable/nodes/10.DNG1wPnW.js b/_app/immutable/nodes/10.DsDejMGs.js
similarity index 77%
rename from _app/immutable/nodes/10.DNG1wPnW.js
rename to _app/immutable/nodes/10.DsDejMGs.js
index 4f75eb281..17b71c70c 100644
--- a/_app/immutable/nodes/10.DNG1wPnW.js
+++ b/_app/immutable/nodes/10.DsDejMGs.js
@@ -1 +1 @@
-import{a as i,t as p}from"../chunks/BLmdulVr.js";import"../chunks/CrF5dDxS.js";import{s as u,f as h,r,c as m,t as v,g as f}from"../chunks/C7ybvbG6.js";import{s as _}from"../chunks/M5C_9bRV.js";import{e as g,i as x}from"../chunks/RBm6SzXJ.js";import{s as d}from"../chunks/Pm9v8Z5x.js";import{s as b}from"../chunks/C9YSdwI3.js";var R=p("-
"),j=p("Reference
",1);function C(l){var e=j(),s=u(h(e),2);g(s,5,()=>b,x,(n,o)=>{var t=R(),a=m(t),c=m(a,!0);r(a),r(t),v(()=>{d(a,"href",f(o).href),_(c,f(o).text)}),i(n,t)}),r(s),i(l,e)}export{C as component};
+import{a as i,t as p}from"../chunks/BLmdulVr.js";import"../chunks/CrF5dDxS.js";import{s as u,f as h,r,c as m,t as v,g as f}from"../chunks/C7ybvbG6.js";import{s as _}from"../chunks/M5C_9bRV.js";import{e as g,i as x}from"../chunks/RBm6SzXJ.js";import{s as d}from"../chunks/Pm9v8Z5x.js";import{s as b}from"../chunks/BeqFGa4x.js";var R=p("-
"),j=p("Reference
",1);function C(l){var e=j(),s=u(h(e),2);g(s,5,()=>b,x,(n,o)=>{var t=R(),a=m(t),c=m(a,!0);r(a),r(t),v(()=>{d(a,"href",f(o).href),_(c,f(o).text)}),i(n,t)}),r(s),i(l,e)}export{C as component};
diff --git a/_app/immutable/nodes/11.BNg_TuZU.js b/_app/immutable/nodes/11.BNg_TuZU.js
deleted file mode 100644
index 080cc7ca4..000000000
--- a/_app/immutable/nodes/11.BNg_TuZU.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as m}from"../chunks/CIxP2z4r.js";export{m as component};
diff --git a/_app/immutable/nodes/11.BPpOKylX.js b/_app/immutable/nodes/11.BPpOKylX.js
new file mode 100644
index 000000000..6850b2d18
--- /dev/null
+++ b/_app/immutable/nodes/11.BPpOKylX.js
@@ -0,0 +1 @@
+import{_ as m}from"../chunks/BDSGbctU.js";export{m as component};
diff --git a/_app/immutable/nodes/15.BLnJ1JIG.js b/_app/immutable/nodes/15.BLnJ1JIG.js
deleted file mode 100644
index 6b1bc8380..000000000
--- a/_app/immutable/nodes/15.BLnJ1JIG.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as m}from"../chunks/CssQdhbD.js";export{m as component};
diff --git a/_app/immutable/nodes/15.C49ZNr8i.js b/_app/immutable/nodes/15.C49ZNr8i.js
new file mode 100644
index 000000000..13cefdd46
--- /dev/null
+++ b/_app/immutable/nodes/15.C49ZNr8i.js
@@ -0,0 +1 @@
+import{_ as m}from"../chunks/FD3ZLI4D.js";export{m as component};
diff --git a/_app/immutable/nodes/16.C1K7CzH7.js b/_app/immutable/nodes/16.C1K7CzH7.js
new file mode 100644
index 000000000..65a283f81
--- /dev/null
+++ b/_app/immutable/nodes/16.C1K7CzH7.js
@@ -0,0 +1 @@
+import{_ as m}from"../chunks/S-626CVF.js";export{m as component};
diff --git a/_app/immutable/nodes/16.D2YBvdkl.js b/_app/immutable/nodes/16.D2YBvdkl.js
deleted file mode 100644
index 606b14447..000000000
--- a/_app/immutable/nodes/16.D2YBvdkl.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as m}from"../chunks/6zcBDNlZ.js";export{m as component};
diff --git a/_app/immutable/nodes/17.CC29mTXE.js b/_app/immutable/nodes/17.CC29mTXE.js
new file mode 100644
index 000000000..fcfce3460
--- /dev/null
+++ b/_app/immutable/nodes/17.CC29mTXE.js
@@ -0,0 +1 @@
+import{_ as m}from"../chunks/BDfTt2xC.js";export{m as component};
diff --git a/_app/immutable/nodes/17.X5UMAdwn.js b/_app/immutable/nodes/17.X5UMAdwn.js
deleted file mode 100644
index 96f1c54f9..000000000
--- a/_app/immutable/nodes/17.X5UMAdwn.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as m}from"../chunks/LcMkLfTL.js";export{m as component};
diff --git a/_app/immutable/nodes/18.CIMtyuVN.js b/_app/immutable/nodes/18.CIMtyuVN.js
new file mode 100644
index 000000000..0add04848
--- /dev/null
+++ b/_app/immutable/nodes/18.CIMtyuVN.js
@@ -0,0 +1 @@
+import{_ as m}from"../chunks/DjR93qC1.js";export{m as component};
diff --git a/_app/immutable/nodes/18.P-mScXZ5.js b/_app/immutable/nodes/18.P-mScXZ5.js
deleted file mode 100644
index f382f68d4..000000000
--- a/_app/immutable/nodes/18.P-mScXZ5.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as m}from"../chunks/bcHiDdGq.js";export{m as component};
diff --git a/_app/immutable/nodes/19.CPiQJ4pd.js b/_app/immutable/nodes/19.CPiQJ4pd.js
deleted file mode 100644
index 3733181c8..000000000
--- a/_app/immutable/nodes/19.CPiQJ4pd.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as m}from"../chunks/BJ41t_xM.js";export{m as component};
diff --git a/_app/immutable/nodes/19.iUQ9w274.js b/_app/immutable/nodes/19.iUQ9w274.js
new file mode 100644
index 000000000..9533ea96b
--- /dev/null
+++ b/_app/immutable/nodes/19.iUQ9w274.js
@@ -0,0 +1 @@
+import{_ as m}from"../chunks/B1J5vlOb.js";export{m as component};
diff --git a/_app/immutable/nodes/2.rcpgQSYW.js b/_app/immutable/nodes/2.B8oLKeXJ.js
similarity index 92%
rename from _app/immutable/nodes/2.rcpgQSYW.js
rename to _app/immutable/nodes/2.B8oLKeXJ.js
index 6560c3559..4b84f5c9a 100644
--- a/_app/immutable/nodes/2.rcpgQSYW.js
+++ b/_app/immutable/nodes/2.B8oLKeXJ.js
@@ -1 +1 @@
-import{h as F}from"../chunks/DHvtosUY.js";import{h as G}from"../chunks/BJ41t_xM.js";import{h as J}from"../chunks/BA5z0fNS.js";import{h as K}from"../chunks/DH6JfqMp.js";import{s as Q}from"../chunks/C9YSdwI3.js";import{s as R}from"../chunks/pBxkpSOH.js";import{b as I}from"../chunks/qc0iZXgO.js";import{a as x,t as g,b as U}from"../chunks/BLmdulVr.js";import{p as B,n as C,g as e,s as M,c as v,r as i,t as P,o as b}from"../chunks/C7ybvbG6.js";import{s as V}from"../chunks/BXVM9lRb.js";import{s as A}from"../chunks/PwPRnE0L.js";import{s as D}from"../chunks/M5C_9bRV.js";import{i as N}from"../chunks/DobID0rT.js";import{s as q}from"../chunks/Pm9v8Z5x.js";import{e as W,i as X,t as Y}from"../chunks/RBm6SzXJ.js";function w(l,s,a,t){const r=a.find(u=>u.rank===t),o=s;return{text:(r==null?void 0:r.text)??"",href:o,submenu:Z(s,a,t+1)}}function Z(l,s,a){return s.filter(t=>t.rank===a).map(t=>{const r=`${l}#${t.id}`;return{text:t.text,href:r,active:!1}})}const H=async l=>{const s=[w(l,I+"/docs/getting-started",F,1),w(l,I+"/docs/version-1",J,1),w(l,I+"/docs/tutorial",G,1),w(l,I+"/docs/integration",K,1),{text:"Reference",href:I+"/docs/reference",submenu:Q},{text:"Legacy",href:I+"/docs/legacy",submenu:R}];let a,t;for(const o of s){o.href===l.url.pathname&&(a=o);for(const u of o.submenu??[])u.href===l.url.pathname&&(a=o,t=u);if(a)break}const r=(t==null?void 0:t.title)??(t==null?void 0:t.text)??(a==null?void 0:a.title)??(a==null?void 0:a.text)??"Documentation";return{menu:s,activeMenuItem:a,activeSubmenuItem:t,seo:{title:r,description:r}}},Se=Object.freeze(Object.defineProperty({__proto__:null,load:H},Symbol.toStringTag,{value:"Module"}));var $=g('Previous page '),ee=g(''),te=g('Next page '),ae=g(''),se=g(' ');function re(l,s){B(s,!0);let a=b(()=>{var n;return s.activeSubmenuItem?((n=s.activeMenuItem)==null?void 0:n.submenu)??[]:s.menu}),t=b(()=>s.activeSubmenuItem&&s.menu),r=b(()=>s.activeSubmenuItem??s.activeMenuItem),o=b(()=>s.activeSubmenuItem&&s.activeMenuItem),u=b(()=>e(r)?e(a).indexOf(e(r)):0),d=b(()=>e(o)&&e(t)?e(t).indexOf(e(o)):0),f=b(()=>e(u)>0?e(a)[e(u)-1]:e(t)&&e(d)>0?e(t)[e(d)-1]:null),h=b(()=>e(a).length>e(u)+1?e(a)[e(u)+1]:e(t)&&e(t).length>e(d)+1?e(t)[e(d)+1]:null);var p=se(),y=v(p);{var S=n=>{var c=$(),j=M(v(c),2),T=v(j,!0);i(j),i(c),P(()=>{var k,O;q(c,"href",(k=e(f))==null?void 0:k.href),D(T,(O=e(f))==null?void 0:O.text)}),x(n,c)},z=n=>{var c=ee();x(n,c)};N(y,n=>{e(f)?n(S):n(z,!1)})}var L=M(y,2);{var m=n=>{var c=te(),j=M(v(c),2),T=v(j,!0);i(j),i(c),P(()=>{var k,O;q(c,"href",(k=e(h))==null?void 0:k.href),D(T,(O=e(h))==null?void 0:O.text)}),x(n,c)},_=n=>{var c=ae();x(n,c)};N(L,n=>{e(h)?n(m):n(_,!1)})}i(p),x(l,p),C()}var ne=g(' '),ie=g('-
'),ve=g('
');function E(l,s){var a=ve();W(a,21,()=>s.items,X,(t,r)=>{let o=()=>e(r).text,u=()=>e(r).href,d=()=>e(r).submenu;var f=ie(),h=v(f),p=v(h);{var y=m=>{var _=ne(),n=v(_,!0);i(_),P(()=>{q(_,"href",u()),D(n,o())}),x(m,_)},S=m=>{var _=U();P(()=>D(_,o())),x(m,_)};N(p,m=>{u()?m(y):m(S,!1)})}i(h);var z=M(h,2);{var L=m=>{E(m,{get items(){return d()}})};N(z,m=>{d()&&m(L)})}i(f),P(()=>Y(f,"has-submenu",!!d())),x(t,f)}),i(a),x(l,a)}var le=g('');function je(l,s){B(s,!0);var a=le(),t=v(a);A(t,"--gap","var(--s5) var(--space)"),A(t,"--content-min","66%");var r=v(t),o=v(r),u=v(o);E(u,{get items(){return s.data.menu}}),i(o),i(r);var d=M(r,2),f=v(d),h=v(f),p=v(h);V(p,()=>s.children),i(h);var y=M(h,4),S=v(y);re(S,{get menu(){return s.data.menu},get activeMenuItem(){return s.data.activeMenuItem},get activeSubmenuItem(){return s.data.activeSubmenuItem}}),i(y),i(f),i(d),i(t),i(a),x(l,a),C()}export{je as component,Se as universal};
+import{h as F}from"../chunks/BqWRV_2Y.js";import{h as G}from"../chunks/B1J5vlOb.js";import{h as J}from"../chunks/C7Lh6-i1.js";import{h as K}from"../chunks/CjLeEysS.js";import{s as Q}from"../chunks/BeqFGa4x.js";import{s as R}from"../chunks/B1l9QTtp.js";import{b as I}from"../chunks/D0WVFpiq.js";import{a as x,t as g,b as U}from"../chunks/BLmdulVr.js";import{p as B,n as C,g as e,s as M,c as v,r as i,t as P,o as b}from"../chunks/C7ybvbG6.js";import{s as V}from"../chunks/BXVM9lRb.js";import{s as A}from"../chunks/PwPRnE0L.js";import{s as D}from"../chunks/M5C_9bRV.js";import{i as N}from"../chunks/DobID0rT.js";import{s as q}from"../chunks/Pm9v8Z5x.js";import{e as W,i as X,t as Y}from"../chunks/RBm6SzXJ.js";function w(l,s,a,t){const r=a.find(u=>u.rank===t),o=s;return{text:(r==null?void 0:r.text)??"",href:o,submenu:Z(s,a,t+1)}}function Z(l,s,a){return s.filter(t=>t.rank===a).map(t=>{const r=`${l}#${t.id}`;return{text:t.text,href:r,active:!1}})}const H=async l=>{const s=[w(l,I+"/docs/getting-started",F,1),w(l,I+"/docs/version-1",J,1),w(l,I+"/docs/tutorial",G,1),w(l,I+"/docs/integration",K,1),{text:"Reference",href:I+"/docs/reference",submenu:Q},{text:"Legacy",href:I+"/docs/legacy",submenu:R}];let a,t;for(const o of s){o.href===l.url.pathname&&(a=o);for(const u of o.submenu??[])u.href===l.url.pathname&&(a=o,t=u);if(a)break}const r=(t==null?void 0:t.title)??(t==null?void 0:t.text)??(a==null?void 0:a.title)??(a==null?void 0:a.text)??"Documentation";return{menu:s,activeMenuItem:a,activeSubmenuItem:t,seo:{title:r,description:r}}},Se=Object.freeze(Object.defineProperty({__proto__:null,load:H},Symbol.toStringTag,{value:"Module"}));var $=g('Previous page '),ee=g(''),te=g('Next page '),ae=g(''),se=g(' ');function re(l,s){B(s,!0);let a=b(()=>{var n;return s.activeSubmenuItem?((n=s.activeMenuItem)==null?void 0:n.submenu)??[]:s.menu}),t=b(()=>s.activeSubmenuItem&&s.menu),r=b(()=>s.activeSubmenuItem??s.activeMenuItem),o=b(()=>s.activeSubmenuItem&&s.activeMenuItem),u=b(()=>e(r)?e(a).indexOf(e(r)):0),d=b(()=>e(o)&&e(t)?e(t).indexOf(e(o)):0),f=b(()=>e(u)>0?e(a)[e(u)-1]:e(t)&&e(d)>0?e(t)[e(d)-1]:null),h=b(()=>e(a).length>e(u)+1?e(a)[e(u)+1]:e(t)&&e(t).length>e(d)+1?e(t)[e(d)+1]:null);var p=se(),y=v(p);{var S=n=>{var c=$(),j=M(v(c),2),T=v(j,!0);i(j),i(c),P(()=>{var k,O;q(c,"href",(k=e(f))==null?void 0:k.href),D(T,(O=e(f))==null?void 0:O.text)}),x(n,c)},z=n=>{var c=ee();x(n,c)};N(y,n=>{e(f)?n(S):n(z,!1)})}var L=M(y,2);{var m=n=>{var c=te(),j=M(v(c),2),T=v(j,!0);i(j),i(c),P(()=>{var k,O;q(c,"href",(k=e(h))==null?void 0:k.href),D(T,(O=e(h))==null?void 0:O.text)}),x(n,c)},_=n=>{var c=ae();x(n,c)};N(L,n=>{e(h)?n(m):n(_,!1)})}i(p),x(l,p),C()}var ne=g(' '),ie=g('-
'),ve=g('
');function E(l,s){var a=ve();W(a,21,()=>s.items,X,(t,r)=>{let o=()=>e(r).text,u=()=>e(r).href,d=()=>e(r).submenu;var f=ie(),h=v(f),p=v(h);{var y=m=>{var _=ne(),n=v(_,!0);i(_),P(()=>{q(_,"href",u()),D(n,o())}),x(m,_)},S=m=>{var _=U();P(()=>D(_,o())),x(m,_)};N(p,m=>{u()?m(y):m(S,!1)})}i(h);var z=M(h,2);{var L=m=>{E(m,{get items(){return d()}})};N(z,m=>{d()&&m(L)})}i(f),P(()=>Y(f,"has-submenu",!!d())),x(t,f)}),i(a),x(l,a)}var le=g('');function je(l,s){B(s,!0);var a=le(),t=v(a);A(t,"--gap","var(--s5) var(--space)"),A(t,"--content-min","66%");var r=v(t),o=v(r),u=v(o);E(u,{get items(){return s.data.menu}}),i(o),i(r);var d=M(r,2),f=v(d),h=v(f),p=v(h);V(p,()=>s.children),i(h);var y=M(h,4),S=v(y);re(S,{get menu(){return s.data.menu},get activeMenuItem(){return s.data.activeMenuItem},get activeSubmenuItem(){return s.data.activeSubmenuItem}}),i(y),i(f),i(d),i(t),i(a),x(l,a),C()}export{je as component,Se as universal};
diff --git a/_app/immutable/nodes/20.CC0zyw27.js b/_app/immutable/nodes/20.CC0zyw27.js
deleted file mode 100644
index 4d1f38086..000000000
--- a/_app/immutable/nodes/20.CC0zyw27.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as m}from"../chunks/BA5z0fNS.js";export{m as component};
diff --git a/_app/immutable/nodes/20.PnTBw9_f.js b/_app/immutable/nodes/20.PnTBw9_f.js
new file mode 100644
index 000000000..0e547922a
--- /dev/null
+++ b/_app/immutable/nodes/20.PnTBw9_f.js
@@ -0,0 +1 @@
+import{_ as m}from"../chunks/C7Lh6-i1.js";export{m as component};
diff --git a/_app/immutable/nodes/3.Dc3a8gie.js b/_app/immutable/nodes/3.B0ROuL_3.js
similarity index 97%
rename from _app/immutable/nodes/3.Dc3a8gie.js
rename to _app/immutable/nodes/3.B0ROuL_3.js
index 73be85fe3..c03bd0678 100644
--- a/_app/immutable/nodes/3.Dc3a8gie.js
+++ b/_app/immutable/nodes/3.B0ROuL_3.js
@@ -1,4 +1,4 @@
-import{a as d,t as p}from"../chunks/BLmdulVr.js";import"../chunks/CrF5dDxS.js";import{s as n,c as a,aw as v,r as s}from"../chunks/C7ybvbG6.js";import{E as u}from"../chunks/CQxDgvJ-.js";import{s as m}from"../chunks/Pm9v8Z5x.js";import{s as f}from"../chunks/PwPRnE0L.js";import{L as h}from"../chunks/C4dTjVof.js";import{b as g}from"../chunks/qc0iZXgO.js";const b=async()=>({seo:{title:"The expressive Svelte localization library",description:"The expressive Svelte localization library"}}),L=Object.freeze(Object.defineProperty({__proto__:null,load:b},Symbol.toStringTag,{value:"Module"}));var y=p(` `);function z(r){var e=y();f(e,"--content-min","50%");var t=a(e),o=n(a(t),2),i=a(o);m(i,"href",`${g??""}/docs/getting-started`),v(2),s(o),s(t);var l=n(t,2),c=a(l);h(c),s(l),s(e),d(r,e)}var w=p(` With svelte-fluent, developers can focus on building the core functionality of their
+import{a as d,t as p}from"../chunks/BLmdulVr.js";import"../chunks/CrF5dDxS.js";import{s as n,c as a,aw as v,r as s}from"../chunks/C7ybvbG6.js";import{E as u}from"../chunks/CQxDgvJ-.js";import{s as m}from"../chunks/Pm9v8Z5x.js";import{s as f}from"../chunks/PwPRnE0L.js";import{L as h}from"../chunks/C4dTjVof.js";import{b as g}from"../chunks/D0WVFpiq.js";const b=async()=>({seo:{title:"The expressive Svelte localization library",description:"The expressive Svelte localization library"}}),L=Object.freeze(Object.defineProperty({__proto__:null,load:b},Symbol.toStringTag,{value:"Module"}));var y=p(`
`);function z(r){var e=y();f(e,"--content-min","50%");var t=a(e),o=n(a(t),2),i=a(o);m(i,"href",`${g??""}/docs/getting-started`),v(2),s(o),s(t);var l=n(t,2),c=a(l);h(c),s(l),s(e),d(r,e)}var w=p(` With svelte-fluent, developers can focus on building the core functionality of their
application while not standing in the way of translating it into multiple languages.
Fluent is a localization system developed by Mozilla to address the limitations of traditional localization systems. They designed it to make it easier
to create translations of software interfaces and content and to support more complex language
structures than traditional localization systems can handle.
The example below shows how you can use svelte-fluent and FTL, the format for describing
diff --git a/_app/immutable/nodes/4.B8XR2G2M.js b/_app/immutable/nodes/4.BnFNU2NW.js
similarity index 79%
rename from _app/immutable/nodes/4.B8XR2G2M.js
rename to _app/immutable/nodes/4.BnFNU2NW.js
index dce299193..30b796016 100644
--- a/_app/immutable/nodes/4.B8XR2G2M.js
+++ b/_app/immutable/nodes/4.BnFNU2NW.js
@@ -1 +1 @@
-import{b as o}from"../chunks/qc0iZXgO.js";import{R as r}from"../chunks/CYgJF_JY.js";function n(e,t){throw new r(e,t.toString())}new TextEncoder;const a=()=>{n(302,o+"/docs/getting-started")},s=Object.freeze(Object.defineProperty({__proto__:null,load:a},Symbol.toStringTag,{value:"Module"}));export{s as universal};
+import{b as o}from"../chunks/D0WVFpiq.js";import{R as r}from"../chunks/CYgJF_JY.js";function n(e,t){throw new r(e,t.toString())}new TextEncoder;const a=()=>{n(302,o+"/docs/getting-started")},s=Object.freeze(Object.defineProperty({__proto__:null,load:a},Symbol.toStringTag,{value:"Module"}));export{s as universal};
diff --git a/_app/immutable/nodes/5.CJ5hl8i0.js b/_app/immutable/nodes/5.CJ5hl8i0.js
new file mode 100644
index 000000000..766bf2814
--- /dev/null
+++ b/_app/immutable/nodes/5.CJ5hl8i0.js
@@ -0,0 +1 @@
+import{_ as m}from"../chunks/BqWRV_2Y.js";export{m as component};
diff --git a/_app/immutable/nodes/5.Df7b8XR5.js b/_app/immutable/nodes/5.Df7b8XR5.js
deleted file mode 100644
index e1670c66b..000000000
--- a/_app/immutable/nodes/5.Df7b8XR5.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as m}from"../chunks/DHvtosUY.js";export{m as component};
diff --git a/_app/immutable/nodes/6.B_X4Hyqm.js b/_app/immutable/nodes/6.B_X4Hyqm.js
deleted file mode 100644
index 2dc3a5970..000000000
--- a/_app/immutable/nodes/6.B_X4Hyqm.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as m}from"../chunks/DH6JfqMp.js";export{m as component};
diff --git a/_app/immutable/nodes/6.CgFJbFw7.js b/_app/immutable/nodes/6.CgFJbFw7.js
new file mode 100644
index 000000000..13030e37b
--- /dev/null
+++ b/_app/immutable/nodes/6.CgFJbFw7.js
@@ -0,0 +1 @@
+import{_ as m}from"../chunks/CjLeEysS.js";export{m as component};
diff --git a/_app/immutable/nodes/7.Bh1WjCm4.js b/_app/immutable/nodes/7.B_KPz-kd.js
similarity index 77%
rename from _app/immutable/nodes/7.Bh1WjCm4.js
rename to _app/immutable/nodes/7.B_KPz-kd.js
index 759266474..634877937 100644
--- a/_app/immutable/nodes/7.Bh1WjCm4.js
+++ b/_app/immutable/nodes/7.B_KPz-kd.js
@@ -1 +1 @@
-import{a as i,t as p}from"../chunks/BLmdulVr.js";import"../chunks/CrF5dDxS.js";import{s as u,f as h,r,c as m,t as v,g as f}from"../chunks/C7ybvbG6.js";import{s as g}from"../chunks/M5C_9bRV.js";import{e as _,i as x}from"../chunks/RBm6SzXJ.js";import{s as d}from"../chunks/Pm9v8Z5x.js";import{s as b}from"../chunks/pBxkpSOH.js";var y=p("
-
"),L=p("Legacy
",1);function C(l){var e=L(),s=u(h(e),2);_(s,5,()=>b,x,(n,o)=>{var t=y(),a=m(t),c=m(a,!0);r(a),r(t),v(()=>{d(a,"href",f(o).href),g(c,f(o).text)}),i(n,t)}),r(s),i(l,e)}export{C as component};
+import{a as i,t as p}from"../chunks/BLmdulVr.js";import"../chunks/CrF5dDxS.js";import{s as u,f as h,r,c as m,t as v,g as f}from"../chunks/C7ybvbG6.js";import{s as g}from"../chunks/M5C_9bRV.js";import{e as _,i as x}from"../chunks/RBm6SzXJ.js";import{s as d}from"../chunks/Pm9v8Z5x.js";import{s as b}from"../chunks/B1l9QTtp.js";var y=p("-
"),L=p("Legacy
",1);function C(l){var e=L(),s=u(h(e),2);_(s,5,()=>b,x,(n,o)=>{var t=y(),a=m(t),c=m(a,!0);r(a),r(t),v(()=>{d(a,"href",f(o).href),g(c,f(o).text)}),i(n,t)}),r(s),i(l,e)}export{C as component};
diff --git a/_app/immutable/nodes/8.BrUmjhEJ.js b/_app/immutable/nodes/8.BrUmjhEJ.js
deleted file mode 100644
index f8d817c16..000000000
--- a/_app/immutable/nodes/8.BrUmjhEJ.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as m}from"../chunks/UNhKW_vC.js";export{m as component};
diff --git a/_app/immutable/nodes/8.C6T1Z0wG.js b/_app/immutable/nodes/8.C6T1Z0wG.js
new file mode 100644
index 000000000..f620832e0
--- /dev/null
+++ b/_app/immutable/nodes/8.C6T1Z0wG.js
@@ -0,0 +1 @@
+import{_ as m}from"../chunks/Cla8vzo_.js";export{m as component};
diff --git a/_app/immutable/nodes/9.BjKLjO6D.js b/_app/immutable/nodes/9.BjKLjO6D.js
deleted file mode 100644
index 21d565868..000000000
--- a/_app/immutable/nodes/9.BjKLjO6D.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as m}from"../chunks/BKiJ3o1Z.js";export{m as component};
diff --git a/_app/immutable/nodes/9.CcrQSlf6.js b/_app/immutable/nodes/9.CcrQSlf6.js
new file mode 100644
index 000000000..dd0f9508d
--- /dev/null
+++ b/_app/immutable/nodes/9.CcrQSlf6.js
@@ -0,0 +1 @@
+import{_ as m}from"../chunks/CFnW3eWN.js";export{m as component};
diff --git a/_app/version.json b/_app/version.json
index f94f1f099..9c7e944e2 100644
--- a/_app/version.json
+++ b/_app/version.json
@@ -1 +1 @@
-{"version":"1738665559596"}
\ No newline at end of file
+{"version":"1738665660792"}
\ No newline at end of file
diff --git a/docs/getting-started/index.html b/docs/getting-started/index.html
index 42f78f2f5..a0dc318a8 100644
--- a/docs/getting-started/index.html
+++ b/docs/getting-started/index.html
@@ -10,52 +10,52 @@
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
- Documentation | svelte-fluent
+
+
+
+
+
+
+
+ Documentation | svelte-fluent