@axium/server 0.22.13 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/build/client/_app/immutable/chunks/{XdRahthI.js → B1E1cVbi.js} +1 -1
  2. package/build/client/_app/immutable/chunks/B1E1cVbi.js.br +0 -0
  3. package/build/client/_app/immutable/chunks/B1E1cVbi.js.gz +0 -0
  4. package/build/client/_app/immutable/chunks/{Dext3JFj.js → Ci6FLQWx.js} +1 -1
  5. package/build/client/_app/immutable/chunks/Ci6FLQWx.js.br +0 -0
  6. package/build/client/_app/immutable/chunks/Ci6FLQWx.js.gz +0 -0
  7. package/build/client/_app/immutable/chunks/DJeR1n-B.js +51 -0
  8. package/build/client/_app/immutable/chunks/DJeR1n-B.js.br +0 -0
  9. package/build/client/_app/immutable/chunks/DJeR1n-B.js.gz +0 -0
  10. package/build/client/_app/immutable/entry/{app.C5LuJT06.js → app.DajZ-3z_.js} +2 -2
  11. package/build/client/_app/immutable/entry/app.DajZ-3z_.js.br +0 -0
  12. package/build/client/_app/immutable/entry/app.DajZ-3z_.js.gz +0 -0
  13. package/build/client/_app/immutable/entry/start.CjB-0vPC.js +1 -0
  14. package/build/client/_app/immutable/entry/start.CjB-0vPC.js.br +2 -0
  15. package/build/client/_app/immutable/entry/start.CjB-0vPC.js.gz +0 -0
  16. package/build/client/_app/immutable/nodes/{1.BAsobPu4.js → 1.Bvl_5X3J.js} +1 -1
  17. package/build/client/_app/immutable/nodes/1.Bvl_5X3J.js.br +0 -0
  18. package/build/client/_app/immutable/nodes/1.Bvl_5X3J.js.gz +0 -0
  19. package/build/client/_app/immutable/nodes/3.CVudd8x2.js +7 -0
  20. package/build/client/_app/immutable/nodes/3.CVudd8x2.js.br +0 -0
  21. package/build/client/_app/immutable/nodes/3.CVudd8x2.js.gz +0 -0
  22. package/build/client/_app/immutable/nodes/{4.eINJOagY.js → 4.Dhj0R0r7.js} +1 -1
  23. package/build/client/_app/immutable/nodes/4.Dhj0R0r7.js.br +0 -0
  24. package/build/client/_app/immutable/nodes/4.Dhj0R0r7.js.gz +0 -0
  25. package/build/client/_app/immutable/nodes/5.CGoBaVII.js +1 -0
  26. package/build/client/_app/immutable/nodes/5.CGoBaVII.js.br +0 -0
  27. package/build/client/_app/immutable/nodes/5.CGoBaVII.js.gz +0 -0
  28. package/build/client/_app/immutable/nodes/{6.BbgUOuKV.js → 6.BtB2uWXy.js} +1 -1
  29. package/build/client/_app/immutable/nodes/6.BtB2uWXy.js.br +0 -0
  30. package/build/client/_app/immutable/nodes/6.BtB2uWXy.js.gz +0 -0
  31. package/build/client/_app/version.json +1 -1
  32. package/build/client/_app/version.json.br +0 -0
  33. package/build/client/_app/version.json.gz +0 -0
  34. package/build/server/chunks/{1-5bszWZCQ.js → 1-C1tGJX1L.js} +2 -2
  35. package/build/server/chunks/{1-5bszWZCQ.js.map → 1-C1tGJX1L.js.map} +1 -1
  36. package/build/server/chunks/{3-CGyRgNsB.js → 3-Ds69w-dU.js} +3 -3
  37. package/build/server/chunks/{3-CGyRgNsB.js.map → 3-Ds69w-dU.js.map} +1 -1
  38. package/build/server/chunks/{4-BuMxaapL.js → 4-BscEiwUk.js} +3 -3
  39. package/build/server/chunks/{4-BuMxaapL.js.map → 4-BscEiwUk.js.map} +1 -1
  40. package/build/server/chunks/{5-BhHQT7ic.js → 5-H0ePIJBE.js} +3 -3
  41. package/build/server/chunks/{5-BhHQT7ic.js.map → 5-H0ePIJBE.js.map} +1 -1
  42. package/build/server/chunks/{6-Do2XsDIk.js → 6-BrPpcagX.js} +3 -3
  43. package/build/server/chunks/{6-Do2XsDIk.js.map → 6-BrPpcagX.js.map} +1 -1
  44. package/build/server/chunks/{FormDialog-BemX_bll.js → FormDialog-CB-2YGWi.js} +29 -26
  45. package/build/server/chunks/{FormDialog-BemX_bll.js.map → FormDialog-CB-2YGWi.js.map} +1 -1
  46. package/build/server/chunks/{Logout-BhQS74v2.js → Logout-LKOt-AST.js} +2 -2
  47. package/build/server/chunks/{Logout-BhQS74v2.js.map → Logout-LKOt-AST.js.map} +1 -1
  48. package/build/server/chunks/_page.svelte-B1LK5J87.js +11 -0
  49. package/build/server/chunks/{_page.svelte-BdL0IPY2.js.map → _page.svelte-B1LK5J87.js.map} +1 -1
  50. package/build/server/chunks/{_page.svelte-Q_wBpED1.js → _page.svelte-CMtkwvbP.js} +3 -3
  51. package/build/server/chunks/{_page.svelte-Q_wBpED1.js.map → _page.svelte-CMtkwvbP.js.map} +1 -1
  52. package/build/server/chunks/{_page.svelte-Cw9An0SZ.js → _page.svelte-CbI2KxeA.js} +3 -3
  53. package/build/server/chunks/{_page.svelte-Cw9An0SZ.js.map → _page.svelte-CbI2KxeA.js.map} +1 -1
  54. package/build/server/chunks/{_page.svelte-D6BUZio7.js → _page.svelte-dZWfu9yR.js} +7 -4
  55. package/build/server/chunks/_page.svelte-dZWfu9yR.js.map +1 -0
  56. package/build/server/chunks/{hooks.server-B7iBt6uC.js → hooks.server-BBmyHiWm.js} +169 -152
  57. package/build/server/chunks/hooks.server-BBmyHiWm.js.map +1 -0
  58. package/build/server/chunks/{index-wXTeP1jh.js → index-CvHf_GW2.js} +257 -275
  59. package/build/server/chunks/index-CvHf_GW2.js.map +1 -0
  60. package/build/server/index.js +3 -3
  61. package/build/server/index.js.map +1 -1
  62. package/build/server/manifest.js +6 -6
  63. package/build/server/manifest.js.map +1 -1
  64. package/dist/api/metadata.js +3 -4
  65. package/dist/api/passkeys.js +1 -1
  66. package/dist/api/register.js +3 -3
  67. package/dist/api/users.js +5 -4
  68. package/dist/apps.d.ts +1 -4
  69. package/dist/apps.js +0 -5
  70. package/dist/auth.d.ts +1 -3
  71. package/dist/auth.js +1 -1
  72. package/dist/config.d.ts +6 -6
  73. package/dist/plugins.d.ts +12 -0
  74. package/dist/plugins.js +8 -0
  75. package/dist/requests.js +4 -2
  76. package/package.json +2 -2
  77. package/web/template.html +0 -3
  78. package/build/client/_app/immutable/chunks/CiUsfGrc.js +0 -43
  79. package/build/client/_app/immutable/chunks/CiUsfGrc.js.br +0 -0
  80. package/build/client/_app/immutable/chunks/CiUsfGrc.js.gz +0 -0
  81. package/build/client/_app/immutable/chunks/Dext3JFj.js.br +0 -0
  82. package/build/client/_app/immutable/chunks/Dext3JFj.js.gz +0 -0
  83. package/build/client/_app/immutable/chunks/XdRahthI.js.br +0 -0
  84. package/build/client/_app/immutable/chunks/XdRahthI.js.gz +0 -0
  85. package/build/client/_app/immutable/entry/app.C5LuJT06.js.br +0 -0
  86. package/build/client/_app/immutable/entry/app.C5LuJT06.js.gz +0 -0
  87. package/build/client/_app/immutable/entry/start.BQJupvGE.js +0 -1
  88. package/build/client/_app/immutable/entry/start.BQJupvGE.js.br +0 -2
  89. package/build/client/_app/immutable/entry/start.BQJupvGE.js.gz +0 -0
  90. package/build/client/_app/immutable/nodes/1.BAsobPu4.js.br +0 -0
  91. package/build/client/_app/immutable/nodes/1.BAsobPu4.js.gz +0 -0
  92. package/build/client/_app/immutable/nodes/3.C18mc0nK.js +0 -7
  93. package/build/client/_app/immutable/nodes/3.C18mc0nK.js.br +0 -0
  94. package/build/client/_app/immutable/nodes/3.C18mc0nK.js.gz +0 -0
  95. package/build/client/_app/immutable/nodes/4.eINJOagY.js.br +0 -0
  96. package/build/client/_app/immutable/nodes/4.eINJOagY.js.gz +0 -0
  97. package/build/client/_app/immutable/nodes/5.DITFCLgK.js +0 -1
  98. package/build/client/_app/immutable/nodes/5.DITFCLgK.js.br +0 -0
  99. package/build/client/_app/immutable/nodes/5.DITFCLgK.js.gz +0 -0
  100. package/build/client/_app/immutable/nodes/6.BbgUOuKV.js.br +0 -0
  101. package/build/client/_app/immutable/nodes/6.BbgUOuKV.js.gz +0 -0
  102. package/build/server/chunks/_page.svelte-BdL0IPY2.js +0 -11
  103. package/build/server/chunks/_page.svelte-D6BUZio7.js.map +0 -1
  104. package/build/server/chunks/hooks.server-B7iBt6uC.js.map +0 -1
  105. package/build/server/chunks/index-wXTeP1jh.js.map +0 -1
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.DlE8ZTIF.js","../chunks/DsnmJJEf.js","../chunks/D9TfJrfD.js","../chunks/D3hk2v8y.js","../nodes/1.BAsobPu4.js","../chunks/Dy1O3iBu.js","../chunks/Dext3JFj.js","../chunks/D4Bce_hb.js","../nodes/2.CvEpuMc7.js","../nodes/3.C18mc0nK.js","../chunks/CiUsfGrc.js","../chunks/pba7IodQ.js","../chunks/XdRahthI.js","../nodes/4.eINJOagY.js","../nodes/5.DITFCLgK.js","../nodes/6.BbgUOuKV.js"])))=>i.map(i=>d[i]);
2
- import{x as I,y as U,w as W,E as z,R as J,C as K,S as V,T as Y,G as H,W as Q,a5 as x,ad as X,a3 as m,j as Z,ag as $,aw as ee,q as te,ax as re,u as ae,ay as k,t as se,p as q,f as w,v as ne,a as p,r as oe,c as A,K as ie,L as ce,az as L,aA as le,J as ue}from"../chunks/D9TfJrfD.js";import{h as fe,m as de,u as me,s as _e}from"../chunks/Dy1O3iBu.js";import"../chunks/DsnmJJEf.js";import{o as he}from"../chunks/D4Bce_hb.js";import{p as O,i as T,b as S}from"../chunks/pba7IodQ.js";function C(l,e,s){I&&U();var i=l,n,r,t=null,a=null;function _(){r&&(Q(r),r=null),t&&(t.lastChild.remove(),i.before(t),t=null),r=a,a=null}W(()=>{if(n!==(n=e())){var h=Y();if(n){var c=i;h&&(t=document.createDocumentFragment(),t.append(c=J()),r&&V.skipped_effects.add(r)),a=K(()=>s(c,n))}h?V.add_callback(_):_()}},z),I&&(i=H)}function ve(l){return class extends ge{constructor(e){super({component:l,...e})}}}class ge{#t;#e;constructor(e){var s=new Map,i=(r,t)=>{var a=ee(t,!1,!1);return s.set(r,a),a};const n=new Proxy({...e.props||{},$$events:{}},{get(r,t){return m(s.get(t)??i(t,Reflect.get(r,t)))},has(r,t){return t===X?!0:(m(s.get(t)??i(t,Reflect.get(r,t))),Reflect.has(r,t))},set(r,t,a){return x(s.get(t)??i(t,a),a),Reflect.set(r,t,a)}});this.#e=(e.hydrate?fe:de)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&Z(),this.#t=n.$$events;for(const r of Object.keys(this.#e))r==="$set"||r==="$destroy"||r==="$on"||$(this,r,{get(){return this.#e[r]},set(t){this.#e[r]=t},enumerable:!0});this.#e.$set=r=>{Object.assign(n,r)},this.#e.$destroy=()=>{me(this.#e)}}$set(e){this.#e.$set(e)}$on(e,s){this.#t[e]=this.#t[e]||[];const i=(...n)=>s.call(this,...n);return this.#t[e].push(i),()=>{this.#t[e]=this.#t[e].filter(n=>n!==i)}}$destroy(){this.#e.$destroy()}}const ye="modulepreload",Ee=function(l,e){return new URL(l,e).href},N={},E=function(e,s,i){let n=Promise.resolve();if(s&&s.length>0){let h=function(c){return Promise.all(c.map(d=>Promise.resolve(d).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};const t=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),_=a?.nonce||a?.getAttribute("nonce");n=h(s.map(c=>{if(c=Ee(c,i),c in N)return;N[c]=!0;const d=c.endsWith(".css"),v=d?'[rel="stylesheet"]':"";if(!!i)for(let o=t.length-1;o>=0;o--){const u=t[o];if(u.href===c&&(!d||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${v}`))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":ye,d||(f.as="script"),f.crossOrigin="",f.href=c,_&&f.setAttribute("nonce",_),document.head.appendChild(f),d)return new Promise((o,u)=>{f.addEventListener("load",o),f.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${c}`)))})}))}function r(t){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=t,window.dispatchEvent(a),!a.defaultPrevented)throw t}return n.then(t=>{for(const a of t||[])a.status==="rejected"&&r(a.reason);return e().catch(r)})},Se={};var be=q('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),pe=q("<!> <!>",1);function Pe(l,e){te(e,!0);let s=O(e,"components",23,()=>[]),i=O(e,"data_0",3,null),n=O(e,"data_1",3,null);re(()=>e.stores.page.set(e.page)),ae(()=>{e.stores,e.page,e.constructors,s(),e.form,i(),n(),e.stores.page.notify()});let r=k(!1),t=k(!1),a=k(null);he(()=>{const o=e.stores.page.subscribe(()=>{m(r)&&(x(t,!0),se().then(()=>{x(a,document.title||"untitled page",!0)}))});return x(r,!0),o});const _=L(()=>e.constructors[1]);var h=pe(),c=w(h);{var d=o=>{const u=L(()=>e.constructors[0]);var g=A(),P=w(g);C(P,()=>m(u),(y,b)=>{S(b(y,{get data(){return i()},get form(){return e.form},get params(){return e.page.params},children:(R,xe)=>{var j=A(),B=w(j);C(B,()=>m(_),(F,M)=>{S(M(F,{get data(){return n()},get form(){return e.form},get params(){return e.page.params}}),G=>s()[1]=G,()=>s()?.[1])}),p(R,j)},$$slots:{default:!0}}),R=>s()[0]=R,()=>s()?.[0])}),p(o,g)},v=o=>{const u=L(()=>e.constructors[0]);var g=A(),P=w(g);C(P,()=>m(u),(y,b)=>{S(b(y,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),R=>s()[0]=R,()=>s()?.[0])}),p(o,g)};T(c,o=>{e.constructors[1]?o(d):o(v,!1)})}var D=ne(c,2);{var f=o=>{var u=be(),g=ie(u);{var P=y=>{var b=le();ue(()=>_e(b,m(a))),p(y,b)};T(g,y=>{m(t)&&y(P)})}ce(u),p(o,u)};T(D,o=>{m(r)&&o(f)})}p(l,h),oe()}const Ce=ve(Pe),De=[()=>E(()=>import("../nodes/0.DlE8ZTIF.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),()=>E(()=>import("../nodes/1.BAsobPu4.js"),__vite__mapDeps([4,1,2,5,6,7,3]),import.meta.url),()=>E(()=>import("../nodes/2.CvEpuMc7.js"),__vite__mapDeps([8,1,2]),import.meta.url),()=>E(()=>import("../nodes/3.C18mc0nK.js"),__vite__mapDeps([9,10,1,2,5,3,11,12]),import.meta.url),()=>E(()=>import("../nodes/4.eINJOagY.js"),__vite__mapDeps([13,1,2,5,11,10,3]),import.meta.url),()=>E(()=>import("../nodes/5.DITFCLgK.js"),__vite__mapDeps([14,1,12,2,5,11,10,3]),import.meta.url),()=>E(()=>import("../nodes/6.BbgUOuKV.js"),__vite__mapDeps([15,1,2,5,11,10,3]),import.meta.url)],je=[],Ie={"/_axium/default":[2],"/account":[3],"/login":[4],"/logout":[5],"/register":[6]},Re={handleError:(({error:l})=>{console.error(l)}),reroute:(()=>{}),transport:{}},we=Object.fromEntries(Object.entries(Re.transport).map(([l,e])=>[l,e.decode])),Ve=!1,Ne=(l,e)=>we[l](e);export{Ne as decode,we as decoders,Ie as dictionary,Ve as hash,Re as hooks,Se as matchers,De as nodes,Ce as root,je as server_loads};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.DlE8ZTIF.js","../chunks/DsnmJJEf.js","../chunks/D9TfJrfD.js","../chunks/D3hk2v8y.js","../nodes/1.Bvl_5X3J.js","../chunks/Dy1O3iBu.js","../chunks/Ci6FLQWx.js","../chunks/D4Bce_hb.js","../nodes/2.CvEpuMc7.js","../nodes/3.CVudd8x2.js","../chunks/DJeR1n-B.js","../chunks/pba7IodQ.js","../chunks/B1E1cVbi.js","../nodes/4.Dhj0R0r7.js","../nodes/5.CGoBaVII.js","../nodes/6.BtB2uWXy.js"])))=>i.map(i=>d[i]);
2
+ import{x as I,y as U,w as W,E as z,R as J,C as K,S as V,T as Y,G as H,W as Q,a5 as x,ad as X,a3 as m,j as Z,ag as $,aw as ee,q as te,ax as re,u as ae,ay as k,t as se,p as q,f as w,v as ne,a as p,r as oe,c as A,K as ie,L as ce,az as L,aA as le,J as ue}from"../chunks/D9TfJrfD.js";import{h as fe,m as de,u as me,s as _e}from"../chunks/Dy1O3iBu.js";import"../chunks/DsnmJJEf.js";import{o as he}from"../chunks/D4Bce_hb.js";import{p as O,i as T,b as S}from"../chunks/pba7IodQ.js";function C(l,e,s){I&&U();var i=l,n,r,t=null,a=null;function _(){r&&(Q(r),r=null),t&&(t.lastChild.remove(),i.before(t),t=null),r=a,a=null}W(()=>{if(n!==(n=e())){var h=Y();if(n){var c=i;h&&(t=document.createDocumentFragment(),t.append(c=J()),r&&V.skipped_effects.add(r)),a=K(()=>s(c,n))}h?V.add_callback(_):_()}},z),I&&(i=H)}function ve(l){return class extends ge{constructor(e){super({component:l,...e})}}}class ge{#t;#e;constructor(e){var s=new Map,i=(r,t)=>{var a=ee(t,!1,!1);return s.set(r,a),a};const n=new Proxy({...e.props||{},$$events:{}},{get(r,t){return m(s.get(t)??i(t,Reflect.get(r,t)))},has(r,t){return t===X?!0:(m(s.get(t)??i(t,Reflect.get(r,t))),Reflect.has(r,t))},set(r,t,a){return x(s.get(t)??i(t,a),a),Reflect.set(r,t,a)}});this.#e=(e.hydrate?fe:de)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&Z(),this.#t=n.$$events;for(const r of Object.keys(this.#e))r==="$set"||r==="$destroy"||r==="$on"||$(this,r,{get(){return this.#e[r]},set(t){this.#e[r]=t},enumerable:!0});this.#e.$set=r=>{Object.assign(n,r)},this.#e.$destroy=()=>{me(this.#e)}}$set(e){this.#e.$set(e)}$on(e,s){this.#t[e]=this.#t[e]||[];const i=(...n)=>s.call(this,...n);return this.#t[e].push(i),()=>{this.#t[e]=this.#t[e].filter(n=>n!==i)}}$destroy(){this.#e.$destroy()}}const ye="modulepreload",Ee=function(l,e){return new URL(l,e).href},N={},E=function(e,s,i){let n=Promise.resolve();if(s&&s.length>0){let h=function(c){return Promise.all(c.map(d=>Promise.resolve(d).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};const t=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),_=a?.nonce||a?.getAttribute("nonce");n=h(s.map(c=>{if(c=Ee(c,i),c in N)return;N[c]=!0;const d=c.endsWith(".css"),v=d?'[rel="stylesheet"]':"";if(!!i)for(let o=t.length-1;o>=0;o--){const u=t[o];if(u.href===c&&(!d||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${v}`))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":ye,d||(f.as="script"),f.crossOrigin="",f.href=c,_&&f.setAttribute("nonce",_),document.head.appendChild(f),d)return new Promise((o,u)=>{f.addEventListener("load",o),f.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${c}`)))})}))}function r(t){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=t,window.dispatchEvent(a),!a.defaultPrevented)throw t}return n.then(t=>{for(const a of t||[])a.status==="rejected"&&r(a.reason);return e().catch(r)})},Se={};var be=q('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),pe=q("<!> <!>",1);function Pe(l,e){te(e,!0);let s=O(e,"components",23,()=>[]),i=O(e,"data_0",3,null),n=O(e,"data_1",3,null);re(()=>e.stores.page.set(e.page)),ae(()=>{e.stores,e.page,e.constructors,s(),e.form,i(),n(),e.stores.page.notify()});let r=k(!1),t=k(!1),a=k(null);he(()=>{const o=e.stores.page.subscribe(()=>{m(r)&&(x(t,!0),se().then(()=>{x(a,document.title||"untitled page",!0)}))});return x(r,!0),o});const _=L(()=>e.constructors[1]);var h=pe(),c=w(h);{var d=o=>{const u=L(()=>e.constructors[0]);var g=A(),P=w(g);C(P,()=>m(u),(y,b)=>{S(b(y,{get data(){return i()},get form(){return e.form},get params(){return e.page.params},children:(R,xe)=>{var j=A(),B=w(j);C(B,()=>m(_),(F,M)=>{S(M(F,{get data(){return n()},get form(){return e.form},get params(){return e.page.params}}),G=>s()[1]=G,()=>s()?.[1])}),p(R,j)},$$slots:{default:!0}}),R=>s()[0]=R,()=>s()?.[0])}),p(o,g)},v=o=>{const u=L(()=>e.constructors[0]);var g=A(),P=w(g);C(P,()=>m(u),(y,b)=>{S(b(y,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),R=>s()[0]=R,()=>s()?.[0])}),p(o,g)};T(c,o=>{e.constructors[1]?o(d):o(v,!1)})}var D=ne(c,2);{var f=o=>{var u=be(),g=ie(u);{var P=y=>{var b=le();ue(()=>_e(b,m(a))),p(y,b)};T(g,y=>{m(t)&&y(P)})}ce(u),p(o,u)};T(D,o=>{m(r)&&o(f)})}p(l,h),oe()}const Ce=ve(Pe),De=[()=>E(()=>import("../nodes/0.DlE8ZTIF.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),()=>E(()=>import("../nodes/1.Bvl_5X3J.js"),__vite__mapDeps([4,1,2,5,6,7,3]),import.meta.url),()=>E(()=>import("../nodes/2.CvEpuMc7.js"),__vite__mapDeps([8,1,2]),import.meta.url),()=>E(()=>import("../nodes/3.CVudd8x2.js"),__vite__mapDeps([9,10,1,2,5,3,11,12]),import.meta.url),()=>E(()=>import("../nodes/4.Dhj0R0r7.js"),__vite__mapDeps([13,1,2,5,11,10,3]),import.meta.url),()=>E(()=>import("../nodes/5.CGoBaVII.js"),__vite__mapDeps([14,1,12,2,5,11,10,3]),import.meta.url),()=>E(()=>import("../nodes/6.BtB2uWXy.js"),__vite__mapDeps([15,1,2,5,11,10,3]),import.meta.url)],je=[],Ie={"/_axium/default":[2],"/account":[3],"/login":[4],"/logout":[5],"/register":[6]},Re={handleError:(({error:l})=>{console.error(l)}),reroute:(()=>{}),transport:{}},we=Object.fromEntries(Object.entries(Re.transport).map(([l,e])=>[l,e.decode])),Ve=!1,Ne=(l,e)=>we[l](e);export{Ne as decode,we as decoders,Ie as dictionary,Ve as hash,Re as hooks,Se as matchers,De as nodes,Ce as root,je as server_loads};
@@ -0,0 +1 @@
1
+ import{l as o,a as r}from"../chunks/Ci6FLQWx.js";export{o as load_css,r as start};
@@ -0,0 +1,2 @@
1
+ )�import{l as o,a as r}from"../chunks/Ci6FLQWx.js";export{o as load_css,r as start};
2
+ 
@@ -1 +1 @@
1
- import"../chunks/DsnmJJEf.js";import{q as i,p as h,f as g,J as v,a as d,r as l,K as s,L as a,v as _}from"../chunks/D9TfJrfD.js";import{s as o}from"../chunks/Dy1O3iBu.js";import{s as x,p}from"../chunks/Dext3JFj.js";const $={get error(){return p.error},get status(){return p.status}};x.updated.check;const m=$;var k=h("<h1> </h1> <p> </p>",1);function K(c,n){i(n,!0);var t=k(),r=g(t),u=s(r,!0);a(r);var e=_(r,2),f=s(e,!0);a(e),v(()=>{o(u,m.status),o(f,m.error?.message)}),d(c,t),l()}export{K as component};
1
+ import"../chunks/DsnmJJEf.js";import{q as i,p as h,f as g,J as v,a as d,r as l,K as s,L as a,v as _}from"../chunks/D9TfJrfD.js";import{s as o}from"../chunks/Dy1O3iBu.js";import{s as x,p}from"../chunks/Ci6FLQWx.js";const $={get error(){return p.error},get status(){return p.status}};x.updated.check;const m=$;var k=h("<h1> </h1> <p> </p>",1);function K(c,n){i(n,!0);var t=k(),r=g(t),u=s(r,!0);a(r);var e=_(r,2),f=s(e,!0);a(e),v(()=>{o(u,m.status),o(f,m.error?.message)}),d(c,t),l()}export{K as component};
@@ -0,0 +1,7 @@
1
+ import{g as sa,e as ia,c as la,d as oa,a as at,f as Rt,s as ie,h as et,p as At,i as ca,j as Lt,k as Pt,m as va,F as Be,n as Ot,o as ua,q as da,t as gt,u as fa,v as _a,w as ha,x as ma,y as pa,z as ga,A as ba}from"../chunks/DJeR1n-B.js";import"../chunks/DsnmJJEf.js";import{Y as Ut,x as Ae,P as ut,H as Bt,w as ya,y as wa,a3 as r,a9 as jt,M as ka,N as xa,O as Dt,Q as bt,G as $e,al as Ea,aq as Ta,C as xt,T as Ca,S as Ia,aB as Mt,R as Yt,aw as Sa,aC as Nt,au as Wt,i as Aa,aD as ft,V as Gt,W as La,aE as _t,aF as Pa,aG as yt,F as Jt,an as Oa,aH as Da,at as Ma,aI as Na,a6 as Kt,aJ as Qt,Z as Xt,aK as Va,E as za,aL as Fa,aM as qa,X as Ha,h as Zt,aN as Ra,aj as $t,ac as Ua,D as je,aO as Ba,q as rt,aP as ja,J as U,a as p,r as nt,K as y,L as _,az as re,aQ as Et,p as A,ay as tt,a5 as Oe,aR as ea,a4 as Ge,c as Y,f as H,v as k,$ as Ya,I as Wa,aS as Ga}from"../chunks/D9TfJrfD.js";import{b as Ja,d as Qe,s as Q,a as Ka}from"../chunks/Dy1O3iBu.js";import{r as Qa,p as dt,i as z,b as ct}from"../chunks/pba7IodQ.js";import{L as Xa}from"../chunks/B1E1cVbi.js";function Je(a,e){Ae&&ut(Bt(a)),Ut(()=>{var t=e();for(var i in t){var n=t[i];n?a.style.setProperty(i,n):a.style.removeProperty(i)}})}function Le(a,e){return e}function Za(a,e,t){for(var i=a.items,n=[],w=e.length,f=0;f<w;f++)Da(e[f].e,n,!0);var c=w>0&&n.length===0&&t!==null;if(c){var d=t.parentNode;Ma(d),d.append(t),i.clear(),he(a,e[0].prev,e[w-1].next)}Na(n,()=>{for(var l=0;l<w;l++){var o=e[l];c||(i.delete(o.k),he(a,o.prev,o.next)),Jt(o.e,!c)}})}function Pe(a,e,t,i,n,w=null){var f=a,c={flags:e,items:new Map,first:null},d=(e&Qt)!==0;if(d){var l=a;f=Ae?ut(Bt(l)):l.appendChild(Yt())}Ae&&wa();var o=null,h=!1,E=new Map,P=jt(()=>{var b=t();return Aa(b)?b:b==null?[]:Wt(b)}),v,u;function s(){$a(u,v,c,E,f,n,e,i,t),w!==null&&(v.length===0?o?Gt(o):o=xt(()=>w(f)):o!==null&&La(o,()=>{o=null}))}ya(()=>{u??=Kt,v=r(P);var b=v.length;if(h&&b===0)return;h=b===0;let T=!1;if(Ae){var x=ka(f)===xa;x!==(b===0)&&(f=Dt(),ut(f),bt(!1),T=!0)}if(Ae){for(var N=null,S,g=0;g<b;g++){if($e.nodeType===Ea&&$e.data===Ta){f=$e,T=!0,bt(!1);break}var C=v[g],O=i(C,g);S=Tt($e,c,N,null,C,O,g,n,e,t),c.items.set(O,S),N=S}b>0&&ut(Dt())}if(Ae)b===0&&w&&(o=xt(()=>w(f)));else if(Ca()){var F=new Set,ve=Ia;for(g=0;g<b;g+=1){C=v[g],O=i(C,g);var ue=c.items.get(O)??E.get(O);ue?(e&(_t|ft))!==0&&ta(ue,C,g,e):(S=Tt(null,c,null,null,C,O,g,n,e,t,!0),E.set(O,S)),F.add(O)}for(const[ee,pe]of c.items)F.has(ee)||ve.skipped_effects.add(pe.e);ve.add_callback(s)}else s();T&&bt(!0),r(P)}),Ae&&(f=$e)}function $a(a,e,t,i,n,w,f,c,d){var l=(f&Va)!==0,o=(f&(_t|ft))!==0,h=e.length,E=t.items,P=t.first,v=P,u,s=null,b,T=[],x=[],N,S,g,C;if(l)for(C=0;C<h;C+=1)N=e[C],S=c(N,C),g=E.get(S),g!==void 0&&(g.a?.measure(),(b??=new Set).add(g));for(C=0;C<h;C+=1){if(N=e[C],S=c(N,C),g=E.get(S),g===void 0){var O=i.get(S);if(O!==void 0){i.delete(S),E.set(S,O);var F=s?s.next:v;he(t,s,O),he(t,O,F),wt(O,F,n),s=O}else{var ve=v?v.e.nodes_start:n;s=Tt(ve,t,s,s===null?t.first:s.next,N,S,C,w,f,d)}E.set(S,s),T=[],x=[],v=s.next;continue}if(o&&ta(g,N,C,f),(g.e.f&yt)!==0&&(Gt(g.e),l&&(g.a?.unfix(),(b??=new Set).delete(g))),g!==v){if(u!==void 0&&u.has(g)){if(T.length<x.length){var ue=x[0],ee;s=ue.prev;var pe=T[0],te=T[T.length-1];for(ee=0;ee<T.length;ee+=1)wt(T[ee],ue,n);for(ee=0;ee<x.length;ee+=1)u.delete(x[ee]);he(t,pe.prev,te.next),he(t,s,pe),he(t,te,ue),v=ue,s=te,C-=1,T=[],x=[]}else u.delete(g),wt(g,v,n),he(t,g.prev,g.next),he(t,g,s===null?t.first:s.next),he(t,s,g),s=g;continue}for(T=[],x=[];v!==null&&v.k!==S;)(v.e.f&yt)===0&&(u??=new Set).add(v),x.push(v),v=v.next;if(v===null)continue;g=v}T.push(g),s=g,v=g.next}if(v!==null||u!==void 0){for(var X=u===void 0?[]:Wt(u);v!==null;)(v.e.f&yt)===0&&X.push(v),v=v.next;var W=X.length;if(W>0){var ge=(f&Qt)!==0&&h===0?n:null;if(l){for(C=0;C<W;C+=1)X[C].a?.measure();for(C=0;C<W;C+=1)X[C].a?.fix()}Za(t,X,ge)}}l&&Xt(()=>{if(b!==void 0)for(g of b)g.a?.apply()}),a.first=t.first&&t.first.e,a.last=s&&s.e;for(var be of i.values())Jt(be.e);i.clear()}function ta(a,e,t,i){(i&_t)!==0&&Mt(a.v,e),(i&ft)!==0?Mt(a.i,t):a.i=t}function Tt(a,e,t,i,n,w,f,c,d,l,o){var h=(d&_t)!==0,E=(d&Pa)===0,P=h?E?Sa(n,!1,!1):Nt(n):n,v=(d&ft)===0?f:Nt(f),u={i:v,v:P,k:w,a:null,e:null,prev:t,next:i};try{if(a===null){var s=document.createDocumentFragment();s.append(a=Yt())}return u.e=xt(()=>c(a,P,v,l),Ae),u.e.prev=t&&t.e,u.e.next=i&&i.e,t===null?o||(e.first=u):(t.next=u,t.e.next=u.e),i!==null&&(i.prev=u,i.e.prev=u.e),u}finally{}}function wt(a,e,t){for(var i=a.next?a.next.e.nodes_start:t,n=e?e.e.nodes_start:t,w=a.e.nodes_start;w!==null&&w!==i;){var f=Oa(w);n.before(w),w=f}}function he(a,e,t){e===null?a.first=t:(e.next=t,e.e.next=t&&t.e),t!==null&&(t.prev=e,t.e.prev=e&&e.e)}const er=()=>performance.now(),De={tick:a=>requestAnimationFrame(a),now:()=>er(),tasks:new Set};function aa(){const a=De.now();De.tasks.forEach(e=>{e.c(a)||(De.tasks.delete(e),e.f())}),De.tasks.size!==0&&De.tick(aa)}function tr(a){let e;return De.tasks.size===0&&De.tick(aa),{promise:new Promise(t=>{De.tasks.add(e={c:a,f:t})}),abort(){De.tasks.delete(e)}}}function vt(a,e){$t(()=>{a.dispatchEvent(new CustomEvent(e))})}function ar(a){if(a==="float")return"cssFloat";if(a==="offset")return"cssOffset";if(a.startsWith("--"))return a;const e=a.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(t=>t[0].toUpperCase()+t.slice(1)).join("")}function Vt(a){const e={},t=a.split(";");for(const i of t){const[n,w]=i.split(":");if(!n||w===void 0)break;const f=ar(n.trim());e[f]=w.trim()}return e}const rr=a=>a;function zt(a,e,t,i){var n=(a&Ra)!==0,w="both",f,c=e.inert,d=e.style.overflow,l,o;function h(){return $t(()=>f??=t()(e,i?.()??{},{direction:w}))}var E={is_global:n,in(){e.inert=c,vt(e,"introstart"),l=Ct(e,h(),o,1,()=>{vt(e,"introend"),l?.abort(),l=f=void 0,e.style.overflow=d})},out(s){e.inert=!0,vt(e,"outrostart"),o=Ct(e,h(),l,0,()=>{vt(e,"outroend"),s?.()})},stop:()=>{l?.abort(),o?.abort()}},P=Kt;if((P.transitions??=[]).push(E),Ja){var v=n;if(!v){for(var u=P.parent;u&&(u.f&za)!==0;)for(;(u=u.parent)&&(u.f&Fa)===0;);v=!u||(u.f&qa)!==0}v&&Ha(()=>{Zt(()=>E.in())})}}function Ct(a,e,t,i,n){var w=i===1;if(Ua(e)){var f,c=!1;return Xt(()=>{if(!c){var s=e({direction:w?"in":"out"});f=Ct(a,s,t,i,n)}}),{abort:()=>{c=!0,f?.abort()},deactivate:()=>f.deactivate(),reset:()=>f.reset(),t:()=>f.t()}}if(t?.deactivate(),!e?.duration)return n(),{abort:je,deactivate:je,reset:je,t:()=>i};const{delay:d=0,css:l,tick:o,easing:h=rr}=e;var E=[];if(w&&t===void 0&&(o&&o(0,1),l)){var P=Vt(l(0,1));E.push(P,P)}var v=()=>1-i,u=a.animate(E,{duration:d,fill:"forwards"});return u.onfinish=()=>{u.cancel();var s=t?.t()??1-i;t?.abort();var b=i-s,T=e.duration*Math.abs(b),x=[];if(T>0){var N=!1;if(l)for(var S=Math.ceil(T/16.666666666666668),g=0;g<=S;g+=1){var C=s+b*h(g/S),O=Vt(l(C,1-C));x.push(O),N||=O.overflow==="hidden"}N&&(a.style.overflow="hidden"),v=()=>{var F=u.currentTime;return s+b*h(F/T)},o&&tr(()=>{if(u.playState!=="running")return!1;var F=v();return o(F,1-F),!0})}u=a.animate(x,{duration:T,fill:"forwards"}),u.onfinish=()=>{v=()=>i,o?.(i,1-i),n()}},{abort:()=>{u&&(u.cancel(),u.effect=null,u.onfinish=je)},deactivate:()=>{n=je},reset:()=>{i===0&&o?.(1,0)},t:()=>v()}}function nr(a,e,t=e){Ba(a,"change",i=>{var n=i?a.defaultChecked:a.checked;t(n)}),(Ae&&a.defaultChecked!==a.checked||Zt(e)==null)&&t(a.checked),Ut(()=>{var i=e();a.checked=!!i})}function $(a,e){return a.def.type==e}const sr=!1;async function ir(){let a;try{a=await sa()}catch{throw window.location.href="/login?after=/account","Missing session, redirecting to login"}const e=a.user;return{currentSession:a,user:e,passkeys:await oa(e.id),sessions:await la(e.id),canVerify:await ia(e.id)}}const pn=Object.freeze(Object.defineProperty({__proto__:null,load:ir,ssr:sr},Symbol.toStringTag,{value:"Module"}));var lr=ja("<svg><use></use></svg>");const or={hash:"svelte-1l501sr",code:"svg.svelte-1l501sr {width:var(--size, 1em);height:var(--size, 1em);display:inline-block;fill:var(--fill, hsl(var(--hue) 0 var(--fg-light)));}"};function me(a,e){rt(e,!0),at(a,or);const t=Qa(e,["$$slots","$$events","$$legacy","i"]),i=re(()=>e.i.includes("/")?e.i.split("/"):["solid",e.i]),n=re(()=>Et(r(i),2)),w=re(()=>r(n)[0]),f=re(()=>r(n)[1]),c=re(()=>`/icons/${r(w)}.svg#${r(f)}`);var d=lr();Rt(d,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"1em",height:"1em",...t}),void 0,void 0,"svelte-1l501sr");var l=y(d);_(d),U(()=>ie(l,"href",r(c))),p(a,d),nt()}Qe(["click"]);const cr=a=>a;function Ft(a,{delay:e=0,duration:t=400,easing:i=cr}={}){const n=+getComputedStyle(a).opacity;return{delay:e,duration:t,easing:i,css:w=>`opacity: ${w*n}`}}var kt={exports:{}},qt;function vr(){return qt||(qt=1,(function(a){var e=Object.prototype.hasOwnProperty,t="~";function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(t=!1));function n(d,l,o){this.fn=d,this.context=l,this.once=o||!1}function w(d,l,o,h,E){if(typeof o!="function")throw new TypeError("The listener must be a function");var P=new n(o,h||d,E),v=t?t+l:l;return d._events[v]?d._events[v].fn?d._events[v]=[d._events[v],P]:d._events[v].push(P):(d._events[v]=P,d._eventsCount++),d}function f(d,l){--d._eventsCount===0?d._events=new i:delete d._events[l]}function c(){this._events=new i,this._eventsCount=0}c.prototype.eventNames=function(){var l=[],o,h;if(this._eventsCount===0)return l;for(h in o=this._events)e.call(o,h)&&l.push(t?h.slice(1):h);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(o)):l},c.prototype.listeners=function(l){var o=t?t+l:l,h=this._events[o];if(!h)return[];if(h.fn)return[h.fn];for(var E=0,P=h.length,v=new Array(P);E<P;E++)v[E]=h[E].fn;return v},c.prototype.listenerCount=function(l){var o=t?t+l:l,h=this._events[o];return h?h.fn?1:h.length:0},c.prototype.emit=function(l,o,h,E,P,v){var u=t?t+l:l;if(!this._events[u])return!1;var s=this._events[u],b=arguments.length,T,x;if(s.fn){switch(s.once&&this.removeListener(l,s.fn,void 0,!0),b){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,o),!0;case 3:return s.fn.call(s.context,o,h),!0;case 4:return s.fn.call(s.context,o,h,E),!0;case 5:return s.fn.call(s.context,o,h,E,P),!0;case 6:return s.fn.call(s.context,o,h,E,P,v),!0}for(x=1,T=new Array(b-1);x<b;x++)T[x-1]=arguments[x];s.fn.apply(s.context,T)}else{var N=s.length,S;for(x=0;x<N;x++)switch(s[x].once&&this.removeListener(l,s[x].fn,void 0,!0),b){case 1:s[x].fn.call(s[x].context);break;case 2:s[x].fn.call(s[x].context,o);break;case 3:s[x].fn.call(s[x].context,o,h);break;case 4:s[x].fn.call(s[x].context,o,h,E);break;default:if(!T)for(S=1,T=new Array(b-1);S<b;S++)T[S-1]=arguments[S];s[x].fn.apply(s[x].context,T)}}return!0},c.prototype.on=function(l,o,h){return w(this,l,o,h,!1)},c.prototype.once=function(l,o,h){return w(this,l,o,h,!0)},c.prototype.removeListener=function(l,o,h,E){var P=t?t+l:l;if(!this._events[P])return this;if(!o)return f(this,P),this;var v=this._events[P];if(v.fn)v.fn===o&&(!E||v.once)&&(!h||v.context===h)&&f(this,P);else{for(var u=0,s=[],b=v.length;u<b;u++)(v[u].fn!==o||E&&!v[u].once||h&&v[u].context!==h)&&s.push(v[u]);s.length?this._events[P]=s.length===1?s[0]:s:f(this,P)}return this},c.prototype.removeAllListeners=function(l){var o;return l?(o=t?t+l:l,this._events[o]&&f(this,o)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=t,c.EventEmitter=c,a.exports=c})(kt)),kt.exports}vr();function ur(a,...e){const t={};for(const i of e.flat())t[i]=a[i];return t}function We(a,e,t=/[.[\]'"]/){return e.split(t).filter(i=>i&&i!="__proto__").reduce((i,n)=>i?.[n],a)}function dr(a,e,t,i=/[.[\]'"]/){return e.split(i).filter(n=>n&&n!="__proto__").reduce((n,w,f)=>n[w]=e.split(i).filter(c=>c).length===++f?t:n[w]||{},a)}function fr(a){return new Promise(e=>setTimeout(e,a))}const Ht=Intl.NumberFormat("en",{notation:"compact"});Ht.format.bind(Ht);new TextEncoder;new TextDecoder;async function _r(a,...e){const t=new Blob(e,{type:a}),i=new ClipboardItem({[a]:t});await navigator.clipboard.write([i])}async function hr(a,e,t,i){await _r(e(),t.value),Oe(i,!0),await fr(3e3),Oe(i,!1)}var mr=A('<span class="svelte-g409dh"><!></span>'),pr=A('<span class="svelte-g409dh"><!></span>'),gr=A('<button class="svelte-g409dh"><!></button>');const br={hash:"svelte-g409dh",code:"button.svelte-g409dh {position:relative;display:inline-block;width:1em;height:1em;border:none;background:transparent;}span.svelte-g409dh {position:absolute;inset:0;}"};function yr(a,e){rt(e,!0),at(a,br);const t=dt(e,"type",3,"text/plain");let i=tt(!1);var n=gr();n.__click=[hr,t,e,i];var w=y(n);{var f=d=>{var l=mr(),o=y(l);me(o,{i:"check"}),_(l),zt(3,l,()=>Ft),p(d,l)},c=d=>{var l=pr(),o=y(l);me(o,{i:"copy"}),_(l),zt(3,l,()=>Ft),p(d,l)};z(w,d=>{r(i)?d(f):d(c,!1)})}_(n),p(a,n),nt()}Qe(["click"]);var wr=A("<input/>"),kr=A('<svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper>',1),xr=A('<input type="checkbox" class="svelte-23hpnn"/> <label class="checkbox svelte-23hpnn"><!></label>',1),Er=A("<option> </option>"),Tr=A("<select></select>"),Cr=A('<div class="pref-record-entry"><!></div>'),Ir=A('<div class="pref-sub"></div>'),Sr=A('<div class="pref-record-entry"><label> </label> <!></div>'),Ar=A('<div class="pref-sub"></div>'),Lr=A('<div class="pref-sub"><label> </label> <!></div>'),Pr=A('<div class="pref-sub"></div>'),Or=A("<option> </option>"),Dr=A("<select></select>"),Mr=A('<i class="error-text"> </i>');const Nr={hash:"svelte-23hpnn",code:"input[type='checkbox'].svelte-23hpnn {display:none;}label.checkbox.svelte-23hpnn {cursor:pointer;width:1.5em;height:1.5em;border:1px solid var(--border-accent);border-radius:0.5em;display:inline-flex;justify-content:center;align-items:center;}"};function Ke(a,e){const t=ea();rt(e,!0),at(a,Nr);const i=(u,s=je)=>{var b=wr();et(b),Rt(b,()=>({id:t,...s(),value:r(d),onchange:o,required:!w()}),void 0,void 0,"svelte-23hpnn"),ct(b,T=>Oe(f,T),()=>r(f)),p(u,b)};let n=dt(e,"preferences",15),w=dt(e,"optional",3,!1),f=tt(void 0),c=tt(Ge(e.schema.def.type=="boolean"&&We(n(),e.path)));const d=re(()=>We(n(),e.path)??We(At,e.path));function l(u,s){if(!u)return null;const b=F=>String(F).padStart(2,"0"),T=u.getFullYear(),x=b(u.getMonth()+1),N=b(u.getDate()),S=`${T}-${x}-${N}`,g=b(u.getHours()),C=b(u.getMinutes()),O=`${g}:${C}`;switch(s){case"date":return S;case"time":return O;case"time+sec":return`${O}:${b(u.getSeconds())}`;case"datetime":default:return`${S}T${O}`}}function o(u){const s=e.schema.parse(r(f)instanceof HTMLInputElement&&r(f).type==="checkbox"?r(f).checked:r(f).value);if(s!=We(n(),e.path)){if(We(At,e.path)==s){const b=e.path.split("."),T=b.pop();delete We(n(),b.join("."))[T]}else dr(n(),e.path,s);ca("PATCH","users/:id",{preferences:n()},e.userId)}}var h=Y(),E=H(h);{var P=u=>{{let s=re(()=>({type:e.schema.format=="email"?"email":"text",...ur(e.schema,"minLength","maxLength")}));i(u,()=>r(s))}},v=u=>{var s=Y(),b=H(s);{var T=N=>{{let S=re(()=>({type:"number",min:e.schema.minValue,max:e.schema.maxValue,step:e.schema.format?.includes("int")?1:.1}));i(N,()=>r(S))}},x=N=>{var S=Y(),g=H(S);{var C=F=>{{let ve=re(()=>({type:"number",min:Number(e.schema.minValue),max:Number(e.schema.maxValue),step:1}));i(F,()=>r(ve))}},O=F=>{var ve=Y(),ue=H(ve);{var ee=te=>{var X=xr(),W=H(X);et(W),W.__change=o,ct(W,G=>Oe(f,G),()=>r(f));var ge=k(W,2),be=y(ge);{var de=G=>{var Fe=kr(),Me=H(Fe);Je(Me,()=>({"--size":"1.3em"})),me(Me.lastChild,{i:"check"}),_(Me),p(G,Fe)};z(be,G=>{r(c)&&G(de)})}_(ge),U(()=>{ie(W,"id",t),W.required=!w(),ie(ge,"for",t)}),nr(W,()=>r(c),G=>Oe(c,G)),p(te,X)},pe=te=>{var X=Y(),W=H(X);{var ge=de=>{{let G=re(()=>({type:"date",min:l(e.schema.minDate,"date"),max:l(e.schema.maxDate,"date")}));i(de,()=>r(G))}},be=de=>{var G=Y(),Fe=H(G);{var Me=Ne=>{},Xe=Ne=>{var st=Y(),Ze=H(st);{var it=fe=>{var le=Tr();le.__change=o,Pe(le,21,()=>e.schema.values,Le,(ye,we)=>{var oe=Er(),ke=y(oe,!0);_(oe);var qe={};U(()=>{Lt(oe,r(d)===r(we)),Q(ke,r(we)),qe!==(qe=r(we))&&(oe.value=(oe.__value=r(we))??"")}),p(ye,oe)}),_(le),ct(le,ye=>Oe(f,ye),()=>r(f)),U(()=>{ie(le,"id",t),le.required=!w()}),p(fe,le)},lt=fe=>{var le=Y(),ye=H(le);{var we=ke=>{},oe=ke=>{var qe=Y(),ot=H(qe);{var ht=m=>{Ke(m,{get userId(){return e.userId},get path(){return e.path},get schema(){return e.schema.def.innerType},optional:!0,get preferences(){return n()},set preferences(M){n(M)}})},I=m=>{var M=Y(),R=H(M);{var B=Z=>{var ne=Ir();Pe(ne,21,()=>r(d),Le,(xe,He,Ee)=>{var ae=Cr(),J=y(ae);Ke(J,{get userId(){return e.userId},get path(){return`${e.path??""}.${Ee}`},get schema(){return e.schema.element},get preferences(){return n()},set preferences(Te){n(Te)}}),_(ae),p(xe,ae)}),_(ne),p(Z,ne)},j=Z=>{var ne=Y(),xe=H(ne);{var He=ae=>{var J=Ar();Pe(J,21,()=>Object.keys(r(d)),Le,(Te,Ce)=>{var Ie=Sr(),D=y(Ie),K=y(D,!0);_(D);var ce=k(D,2);Ke(ce,{get userId(){return e.userId},get path(){return`${e.path??""}.${r(Ce)??""}`},get schema(){return e.schema.valueType},get preferences(){return n()},set preferences(Se){n(Se)}}),_(Ie),U(()=>{ie(D,"for",t),Q(K,r(Ce))}),p(Te,Ie)}),_(J),p(ae,J)},Ee=ae=>{var J=Y(),Te=H(J);{var Ce=D=>{var K=Y(),ce=H(K);Pe(ce,17,()=>Object.entries(e.schema.shape),Le,(Se,L)=>{var q=re(()=>Et(r(L),2));let V=()=>r(q)[0],Ve=()=>r(q)[1];var Re=Lr(),ze=y(Re),_e=y(ze,!0);_(ze);var se=k(ze,2);Ke(se,{get userId(){return e.userId},get path(){return`${e.path??""}.${V()??""}`},get schema(){return Ve()},get preferences(){return n()},set preferences(Ue){n(Ue)}}),_(Re),U(()=>{ie(ze,"for",t),Q(_e,V())}),p(Se,Re)}),p(D,K)},Ie=D=>{var K=Y(),ce=H(K);{var Se=q=>{var V=Pr();Pe(V,21,()=>e.schema.def.items,Le,(Ve,Re,ze)=>{Ke(Ve,{get userId(){return e.userId},get path(){return`${e.path??""}.${ze}`},get schema(){return r(Re)},get preferences(){return n()},set preferences(_e){n(_e)}})}),_(V),U(()=>ie(V,"data-rest",e.schema.def.rest)),p(q,V)},L=q=>{var V=Y(),Ve=H(V);{var Re=_e=>{var se=Dr();se.__change=o,Pe(se,21,()=>Object.entries(e.schema.enum),Le,(Ue,mt)=>{var It=re(()=>Et(r(mt),2));let ra=()=>r(It)[0],pt=()=>r(It)[1];var Ye=Or(),na=y(Ye,!0);_(Ye);var St={};U(()=>{Lt(Ye,r(d)===pt()),Q(na,ra()),St!==(St=pt())&&(Ye.value=(Ye.__value=pt())??"")}),p(Ue,Ye)}),_(se),ct(se,Ue=>Oe(f,Ue),()=>r(f)),U(()=>{ie(se,"id",t),se.required=!w()}),p(_e,se)},ze=_e=>{var se=Mr(),Ue=y(se);_(se),U(mt=>Q(Ue,`Invalid preference type: ${mt??""}`),[()=>JSON.stringify(e.schema?.def?.type)]),p(_e,se)};z(Ve,_e=>{$(e.schema,"enum")?_e(Re):_e(ze,!1)},!0)}p(q,V)};z(ce,q=>{$(e.schema,"tuple")?q(Se):q(L,!1)},!0)}p(D,K)};z(Te,D=>{$(e.schema,"object")?D(Ce):D(Ie,!1)},!0)}p(ae,J)};z(xe,ae=>{$(e.schema,"record")?ae(He):ae(Ee,!1)},!0)}p(Z,ne)};z(R,Z=>{$(e.schema,"array")?Z(B):Z(j,!1)},!0)}p(m,M)};z(ot,m=>{$(e.schema,"nullable")||$(e.schema,"optional")?m(ht):m(I,!1)},!0)}p(ke,qe)};z(ye,ke=>{$(e.schema,"template_literal")?ke(we):ke(oe,!1)},!0)}p(fe,le)};z(Ze,fe=>{$(e.schema,"literal")?fe(it):fe(lt,!1)},!0)}p(Ne,st)};z(Fe,Ne=>{$(e.schema,"file")?Ne(Me):Ne(Xe,!1)},!0)}p(de,G)};z(W,de=>{$(e.schema,"date")?de(ge):de(be,!1)},!0)}p(te,X)};z(ue,te=>{$(e.schema,"boolean")?te(ee):te(pe,!1)},!0)}p(F,ve)};z(g,F=>{$(e.schema,"bigint")?F(C):F(O,!1)},!0)}p(N,S)};z(b,N=>{$(e.schema,"number")?N(T):N(x,!1)},!0)}p(u,s)};z(E,u=>{$(e.schema,"string")?u(P):u(v,!1)})}p(a,h),nt()}Qe(["change"]);var Vr=A('<div class="pref svelte-b9ddyh"><label> </label> <!></div>');const zr={hash:"svelte-b9ddyh",code:".pref.svelte-b9ddyh {display:grid;grid-template-columns:1fr 1fr;gap:1em;}"};function Fr(a,e){const t=ea();rt(e,!0),at(a,zr);let i=dt(e,"preferences",15);var n=Y(),w=H(n);Pe(w,17,()=>Object.keys(Pt),Le,(f,c)=>{var d=Vr(),l=y(d),o=y(l,!0);_(l);var h=k(l,2);Ke(h,{get userId(){return e.userId},get path(){return r(c)},get schema(){return Pt[r(c)]},get preferences(){return i()},set preferences(E){i(E)}}),_(d),U(()=>{ie(l,"for",t),Q(o,va[r(c)])}),p(f,d)}),p(a,n),nt()}Qe(["click"]);Qe(["click"]);var qr=(a,e,t)=>e[t()].showModal(),Hr=A('<button class="svelte-c74k6c"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></button>'),Rr=A('<div><label for="name">What do you want to be called?</label> <input name="name" type="text" required/></div>'),Ur=A("<dfn><!></dfn>"),Br=(a,e,t)=>ba(r(e).id).then(()=>Oe(t,!0)),jr=A("<button> </button>"),Yr=A('<div><label for="email">Email Address</label> <input name="email" type="email" required/></div>'),Wr=(a,e)=>e.logout.showModal(),Gr=(a,e)=>e.delete.showModal(),Jr=A("<p>Are you sure you want to delete your account?<br/>This action can't be undone.</p>"),Kr=A("<p> </p>"),Qr=A('<p class="subtle"><i>Unnamed</i></p>'),Xr=A('<dfn title="You must have at least one passkey" class="disabled svelte-c74k6c"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn>'),Zr=A('<div><label for="name">Passkey Name</label> <input name="name" type="text"/></div>'),$r=A("<p>Are you sure you want to delete this passkey?<br/>This action can't be undone.</p>"),en=A('<div class="item passkey svelte-c74k6c"><dfn class="svelte-c74k6c"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn> <dfn class="svelte-c74k6c"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn> <!> <p> </p> <!> <!></div> <!> <!>',1),tn=(a,e,t)=>ua(r(e).id).then(t.push.bind(t)),an=A('<span class="current svelte-c74k6c">Current</span>'),rn=A('<span class="elevated svelte-c74k6c">Elevated</span>'),nn=A("<p>Are you sure you want to log out this session?</p>"),sn=A('<div class="item session svelte-c74k6c"><p> <!> <!></p> <p> </p> <p> </p> <!></div> <!>',1),ln=(a,e)=>e.logout_all.showModal(),on=A("<p>Are you sure you want to log out all sessions?</p>"),cn=A(`<div class="Account flex-content"><div id="pfp-container" class="svelte-c74k6c"><img id="pfp" alt="User profile" width="100px" height="100px" class="svelte-c74k6c"/></div> <p class="greeting svelte-c74k6c"> </p> <div class="section main svelte-c74k6c"><h3>Personal Information</h3> <div class="item info svelte-c74k6c"><p class="subtle svelte-c74k6c">Name</p> <p class="svelte-c74k6c"> </p> <!></div> <!> <div class="item info svelte-c74k6c"><p class="subtle svelte-c74k6c">Email</p> <p class="svelte-c74k6c"> <!></p> <!></div> <!> <div class="item info svelte-c74k6c"><p class="subtle svelte-c74k6c">User ID <dfn title="This is your UUID. It can't be changed."><!></dfn></p> <p class="svelte-c74k6c"> </p> <svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></div> <span><button class="signout svelte-c74k6c">Sign Out</button> <button class="danger">Delete Account</button> <!> <!></span></div> <div class="section main svelte-c74k6c"><h3>Passkeys</h3> <!> <span><button class="icon-text"><!> Create</button></span></div> <div class="section main svelte-c74k6c"><h3>Sessions</h3> <!> <span><button class="danger">Logout All</button></span> <!></div> <div class="section main svelte-c74k6c"><h3>Preferences</h3> <!></div></div>`);const vn={hash:"svelte-c74k6c",code:`#pfp-container.svelte-c74k6c {width:100px;height:100px;margin-top:3em;.MenuToggle {float:right;position:relative;top:-24px;}}#pfp.svelte-c74k6c {width:100px;height:100px;border-radius:50%;border:1px solid #8888;}.greeting.svelte-c74k6c {font-size:2em;}.signout.svelte-c74k6c {margin-top:2em;}.section.svelte-c74k6c {width:50%;padding-top:4em;
2
+
3
+ /* This is causing duplicate separators when removing sessions/passkeys
4
+ > div:has(+ div) {
5
+ border-bottom: 1px solid #8888;
6
+ }
7
+ */}.section.svelte-c74k6c .item:where(.svelte-c74k6c) {display:grid;align-items:center;width:100%;gap:1em;text-wrap:nowrap;border-top:1px solid #8888;padding-bottom:1em;}.info.svelte-c74k6c {grid-template-columns:10em 1fr 2em;> :where(.svelte-c74k6c):first-child {margin-left:1em;}> :where(.svelte-c74k6c):nth-child(2) {text-overflow:ellipsis;overflow:hidden;}}.passkey.svelte-c74k6c {grid-template-columns:1em 1em 1fr 1fr 1em 1em;dfn:where(.svelte-c74k6c):not(.disabled) {cursor:help;}}.session.svelte-c74k6c {grid-template-columns:1fr 1fr 1fr 1em;.current:where(.svelte-c74k6c) {border-radius:2em;padding:0 0.5em;background-color:#337;}.elevated:where(.svelte-c74k6c) {border-radius:2em;padding:0 0.5em;background-color:#733;}}`};function gn(a,e){rt(e,!0),at(a,vn);const t=(I,m=je,M)=>{let R=jt(()=>Ga(M?.(),"pen"));var B=Hr();B.__click=[qr,n,m],Ot(B,"",{},{display:"contents"});var j=y(B);Je(j,()=>({"--size":"16px"})),me(j.lastChild,{get i(){return r(R)}}),_(j),_(B),p(I,B)},{canVerify:i}=e.data,n=Ge({});let w=tt(!1),f=Ge(e.data.currentSession),c=tt(Ge(e.data.user)),d=Ge(e.data.passkeys),l=Ge(e.data.sessions);async function o(I){const m=await ha(r(c).id,I);Oe(c,m,!0)}var h=cn();Ka(I=>{Ya.title="Account"});var E=y(h),P=y(E);_(E);var v=k(E,2),u=y(v);_(v);var s=k(v,2),b=k(y(s),2),T=k(y(b),2),x=y(T,!0);_(T);var N=k(T,2);t(N,()=>"edit_name"),_(b);var S=k(b,2);Be(S,{submit:o,submitText:"Change",get dialog(){return n.edit_name},set dialog(I){n.edit_name=I},children:(I,m)=>{var M=Rr(),R=k(y(M),2);et(R),_(M),U(()=>gt(R,r(c).name||"")),p(I,M)},$$slots:{default:!0}});var g=k(S,2),C=k(y(g),2),O=y(C),F=k(O);{var ve=I=>{var m=Ur(),M=y(m);me(M,{i:"regular/circle-check"}),_(m),U(R=>ie(m,"title",`Email verified on ${R??""}`),[()=>r(c).emailVerified.toLocaleDateString()]),p(I,m)},ue=I=>{var m=Y(),M=H(m);{var R=B=>{var j=jr();j.__click=[Br,c,w];var Z=y(j,!0);_(j),U(()=>Q(Z,r(w)?"Verification email sent":"Verify")),p(B,j)};z(M,B=>{i&&B(R)},!0)}p(I,m)};z(F,I=>{r(c).emailVerified?I(ve):I(ue,!1)})}_(C);var ee=k(C,2);t(ee,()=>"edit_email"),_(g);var pe=k(g,2);Be(pe,{submit:o,submitText:"Change",get dialog(){return n.edit_email},set dialog(I){n.edit_email=I},children:(I,m)=>{var M=Yr(),R=k(y(M),2);et(R),_(M),U(()=>gt(R,r(c).email||"")),p(I,M)},$$slots:{default:!0}});var te=k(pe,2),X=y(te),W=k(y(X)),ge=y(W);me(ge,{i:"regular/circle-info"}),_(W),_(X);var be=k(X,2),de=y(be,!0);_(be);var G=k(be,2);Je(G,()=>({"--size":"16px"})),yr(G.lastChild,{get value(){return r(c).id}}),_(G),_(te);var Fe=k(te,2),Me=y(Fe);Me.__click=[Wr,n];var Xe=k(Me,2);Xe.__click=[Gr,n],Ot(Xe,"",{},{cursor:"pointer"});var Ne=k(Xe,2);Xa(Ne,{get dialog(){return n.logout},set dialog(I){n.logout=I}});var st=k(Ne,2);Be(st,{submit:()=>fa(r(c).id).then(()=>window.location.href="/"),submitText:"Delete Account",submitDanger:!0,get dialog(){return n.delete},set dialog(I){n.delete=I},children:(I,m)=>{var M=Jr();p(I,M)},$$slots:{default:!0}}),_(Fe),_(s);var Ze=k(s,2),it=k(y(Ze),2);Pe(it,17,()=>d,Le,(I,m,M)=>{var R=en(),B=H(R),j=y(B),Z=y(j);{let L=re(()=>r(m).deviceType=="multiDevice"?"laptop-mobile":"mobile");Je(Z,()=>({"--size":"16px"})),me(Z.lastChild,{get i(){return r(L)}}),_(Z)}_(j);var ne=k(j,2),xe=y(ne);{let L=re(()=>r(m).backedUp?"circle-check":"circle-xmark");Je(xe,()=>({"--size":"16px"})),me(xe.lastChild,{get i(){return r(L)}}),_(xe)}_(ne);var He=k(ne,2);{var Ee=L=>{var q=Kr(),V=y(q,!0);_(q),U(()=>Q(V,r(m).name)),p(L,q)},ae=L=>{var q=Qr();p(L,q)};z(He,L=>{r(m).name?L(Ee):L(ae,!1)})}var J=k(He,2),Te=y(J);_(J);var Ce=k(J,2);t(Ce,()=>"edit_passkey#"+r(m).id);var Ie=k(Ce,2);{var D=L=>{t(L,()=>"delete_passkey#"+r(m).id,()=>"trash")},K=L=>{var q=Xr(),V=y(q);Je(V,()=>({"--fill":"#888","--size":"16px"})),me(V.lastChild,{i:"trash-slash"}),_(V),_(q),p(L,q)};z(Ie,L=>{d.length>1?L(D):L(K,!1)})}_(B);var ce=k(B,2);Be(ce,{submit:L=>{if(typeof L.name!="string")throw"Passkey name must be a string";return r(m).name=L.name,ma(r(m).id,L)},submitText:"Change",get dialog(){return n["edit_passkey#"+r(m).id]},set dialog(L){n["edit_passkey#"+r(m).id]=L},children:(L,q)=>{var V=Zr(),Ve=k(y(V),2);et(Ve),_(V),U(()=>gt(Ve,r(m).name||"")),p(L,V)},$$slots:{default:!0}});var Se=k(ce,2);Be(Se,{submit:()=>pa(r(m).id).then(()=>d.splice(d.indexOf(r(m)),1)),submitText:"Delete",submitDanger:!0,get dialog(){return n["delete_passkey#"+r(m).id]},set dialog(L){n["delete_passkey#"+r(m).id]=L},children:(L,q)=>{var V=$r();p(L,V)},$$slots:{default:!0}}),U(L=>{ie(j,"title",r(m).deviceType=="multiDevice"?"Multiple devices":"Single device"),ie(ne,"title",`This passkey is ${r(m).backedUp?"":"not "}backed up`),Q(Te,`Created ${L??""}`)},[()=>r(m).createdAt.toLocaleString()]),p(I,R)});var lt=k(it,2),fe=y(lt);fe.__click=[tn,c,d];var le=y(fe);me(le,{i:"plus"}),Wa(),_(fe),_(lt),_(Ze);var ye=k(Ze,2),we=k(y(ye),2);Pe(we,17,()=>l,Le,(I,m)=>{var M=sn(),R=H(M),B=y(R),j=y(B),Z=k(j);{var ne=D=>{var K=an();p(D,K)};z(Z,D=>{r(m).id==f.id&&D(ne)})}var xe=k(Z,2);{var He=D=>{var K=rn();p(D,K)};z(xe,D=>{r(m).elevated&&D(He)})}_(B);var Ee=k(B,2),ae=y(Ee);_(Ee);var J=k(Ee,2),Te=y(J);_(J);var Ce=k(J,2);t(Ce,()=>"logout#"+r(m).id,()=>"right-from-bracket"),_(R);var Ie=k(R,2);Be(Ie,{submit:async()=>{await ga(r(c).id,r(m).id),n["logout#"+r(m).id].remove(),l.splice(l.indexOf(r(m)),1),r(m).id==f.id&&(window.location.href="/")},submitText:"Logout",get dialog(){return n["logout#"+r(m).id]},set dialog(D){n["logout#"+r(m).id]=D},children:(D,K)=>{var ce=nn();p(D,ce)},$$slots:{default:!0}}),U((D,K,ce,Se)=>{Q(j,`${D??""}...${K??""} `),Q(ae,`Created ${ce??""}`),Q(Te,`Expires ${Se??""}`)},[()=>r(m).id.slice(0,4),()=>r(m).id.slice(-4),()=>r(m).created.toLocaleString(),()=>r(m).expires.toLocaleString()]),p(I,M)});var oe=k(we,2),ke=y(oe);ke.__click=[ln,n],_(oe);var qe=k(oe,2);Be(qe,{submit:()=>_a(r(c).id).then(()=>window.location.href="/"),submitText:"Logout All Sessions",submitDanger:!0,get dialog(){return n.logout_all},set dialog(I){n.logout_all=I},children:(I,m)=>{var M=on();p(I,M)},$$slots:{default:!0}}),_(ye);var ot=k(ye,2),ht=k(y(ot),2);Fr(ht,{get userId(){return r(c).id},get preferences(){return r(c).preferences},set preferences(I){r(c).preferences=I}}),_(ot),_(h),U(I=>{ie(P,"src",I),Q(u,`Welcome, ${r(c).name??""}`),Q(x,r(c).name),Q(O,`${r(c).email??""} `),Q(de,r(c).id)},[()=>da(r(c))]),p(a,h),nt()}Qe(["click"]);export{gn as component,pn as universal};
@@ -1 +1 @@
1
- import"../chunks/DsnmJJEf.js";import{q as c,r as v,p as d,a as s,c as h,f as _,$ as b}from"../chunks/D9TfJrfD.js";import{a as q}from"../chunks/Dy1O3iBu.js";import{p as f,i as w}from"../chunks/pba7IodQ.js";import{a as y,F as P,b as $}from"../chunks/CiUsfGrc.js";var x=d('<div class="footer svelte-16cw95q"><a href="/register">Register instead</a></div>'),L=d('<div><label for="email">Email</label> <input name="email" type="email" required/></div>');const k={hash:"svelte-16cw95q",code:".footer.svelte-16cw95q {margin-bottom:1em;text-align:center;background:none;}"};function E(o,a){c(a,!0),y(o,k);let n=f(a,"dialog",15),m=f(a,"fullPage",3,!1);function g(t){if(typeof t.email!="string")throw"Tried to upload a file for an email. Huh?!";return $(t.email)}P(o,{submitText:"Login",submit:g,get pageMode(){return m()},get dialog(){return n()},set dialog(e){n(e)},footer:e=>{var r=h(),i=_(r);{var u=l=>{var p=x();s(l,p)};w(i,l=>{m()&&l(u)})}s(e,r)},children:(e,r)=>{var i=L();s(e,i)},$$slots:{footer:!0,default:!0}}),v()}function M(o){q(a=>{b.title="Login"}),E(o,{fullPage:!0})}export{M as component};
1
+ import"../chunks/DsnmJJEf.js";import{q as c,r as v,p as d,a as s,c as h,f as _,$ as b}from"../chunks/D9TfJrfD.js";import{a as q}from"../chunks/Dy1O3iBu.js";import{p as f,i as w}from"../chunks/pba7IodQ.js";import{a as y,F as P,b as $}from"../chunks/DJeR1n-B.js";var x=d('<div class="footer svelte-16cw95q"><a href="/register">Register instead</a></div>'),L=d('<div><label for="email">Email</label> <input name="email" type="email" required/></div>');const k={hash:"svelte-16cw95q",code:".footer.svelte-16cw95q {margin-bottom:1em;text-align:center;background:none;}"};function E(o,a){c(a,!0),y(o,k);let n=f(a,"dialog",15),m=f(a,"fullPage",3,!1);function g(t){if(typeof t.email!="string")throw"Tried to upload a file for an email. Huh?!";return $(t.email)}P(o,{submitText:"Login",submit:g,get pageMode(){return m()},get dialog(){return n()},set dialog(e){n(e)},footer:e=>{var r=h(),i=_(r);{var u=l=>{var p=x();s(l,p)};w(i,l=>{m()&&l(u)})}s(e,r)},children:(e,r)=>{var i=L();s(e,i)},$$slots:{footer:!0,default:!0}}),v()}function M(o){q(a=>{b.title="Login"}),E(o,{fullPage:!0})}export{M as component};
@@ -0,0 +1 @@
1
+ import"../chunks/DsnmJJEf.js";import{L as t}from"../chunks/B1E1cVbi.js";function r(o){t(o,{fullPage:!0})}export{r as component};
@@ -1 +1 @@
1
- import"../chunks/DsnmJJEf.js";import{q as p,r as u,p as f,a as l,c,f as v,I as b,$ as _}from"../chunks/D9TfJrfD.js";import{a as h}from"../chunks/Dy1O3iBu.js";import{p as m,i as q}from"../chunks/pba7IodQ.js";import{a as x,F as y,r as P}from"../chunks/CiUsfGrc.js";var $=f('<div class="footer svelte-16cw95q"><a href="/login">Login instead</a></div>'),w=f('<div><label for="name">Display Name</label> <input name="name" type="text" required/></div> <div><label for="email">Email</label> <input name="email" type="email" required/></div>',1);const k={hash:"svelte-16cw95q",code:".footer.svelte-16cw95q {margin-bottom:1em;text-align:center;background:none;}"};function D(a,t){p(t,!0),x(a,k);let s=m(t,"dialog",15),n=m(t,"fullPage",3,!1);y(a,{submitText:"Register",get submit(){return P},get pageMode(){return n()},get dialog(){return s()},set dialog(e){s(e)},footer:e=>{var r=c(),o=v(r);{var d=i=>{var g=$();l(i,g)};q(o,i=>{n()&&i(d)})}l(e,r)},children:(e,r)=>{var o=w();b(2),l(e,o)},$$slots:{footer:!0,default:!0}}),u()}function N(a){h(t=>{_.title="Sign Up"}),D(a,{fullPage:!0})}export{N as component};
1
+ import"../chunks/DsnmJJEf.js";import{q as p,r as u,p as f,a as l,c,f as v,I as b,$ as _}from"../chunks/D9TfJrfD.js";import{a as h}from"../chunks/Dy1O3iBu.js";import{p as m,i as q}from"../chunks/pba7IodQ.js";import{a as x,F as y,r as P}from"../chunks/DJeR1n-B.js";var $=f('<div class="footer svelte-16cw95q"><a href="/login">Login instead</a></div>'),w=f('<div><label for="name">Display Name</label> <input name="name" type="text" required/></div> <div><label for="email">Email</label> <input name="email" type="email" required/></div>',1);const k={hash:"svelte-16cw95q",code:".footer.svelte-16cw95q {margin-bottom:1em;text-align:center;background:none;}"};function D(a,t){p(t,!0),x(a,k);let s=m(t,"dialog",15),n=m(t,"fullPage",3,!1);y(a,{submitText:"Register",get submit(){return P},get pageMode(){return n()},get dialog(){return s()},set dialog(e){s(e)},footer:e=>{var r=c(),o=v(r);{var d=i=>{var g=$();l(i,g)};q(o,i=>{n()&&i(d)})}l(e,r)},children:(e,r)=>{var o=w();b(2),l(e,o)},$$slots:{footer:!0,default:!0}}),u()}function N(a){h(t=>{_.title="Sign Up"}),D(a,{fullPage:!0})}export{N as component};
@@ -1 +1 @@
1
- {"version":"1755546545743"}
1
+ {"version":"1755636730598"}
Binary file
Binary file
@@ -1,9 +1,9 @@
1
1
  const index = 1;
2
2
  let component_cache;
3
3
  const component = async () => component_cache ??= (await import('./error.svelte-DNQXZmIO.js')).default;
4
- const imports = ["_app/immutable/nodes/1.BAsobPu4.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/D9TfJrfD.js","_app/immutable/chunks/Dy1O3iBu.js","_app/immutable/chunks/Dext3JFj.js","_app/immutable/chunks/D4Bce_hb.js","_app/immutable/chunks/D3hk2v8y.js"];
4
+ const imports = ["_app/immutable/nodes/1.Bvl_5X3J.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/D9TfJrfD.js","_app/immutable/chunks/Dy1O3iBu.js","_app/immutable/chunks/Ci6FLQWx.js","_app/immutable/chunks/D4Bce_hb.js","_app/immutable/chunks/D3hk2v8y.js"];
5
5
  const stylesheets = [];
6
6
  const fonts = [];
7
7
 
8
8
  export { component, fonts, imports, index, stylesheets };
9
- //# sourceMappingURL=1-5bszWZCQ.js.map
9
+ //# sourceMappingURL=1-C1tGJX1L.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"1-5bszWZCQ.js","sources":["../../../.svelte-kit/adapter-node/nodes/1.js"],"sourcesContent":["\n\nexport const index = 1;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.BAsobPu4.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/D9TfJrfD.js\",\"_app/immutable/chunks/Dy1O3iBu.js\",\"_app/immutable/chunks/Dext3JFj.js\",\"_app/immutable/chunks/D4Bce_hb.js\",\"_app/immutable/chunks/D3hk2v8y.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAsC,CAAC,EAAE;AACpG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACxQ,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
1
+ {"version":3,"file":"1-C1tGJX1L.js","sources":["../../../.svelte-kit/adapter-node/nodes/1.js"],"sourcesContent":["\n\nexport const index = 1;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.Bvl_5X3J.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/D9TfJrfD.js\",\"_app/immutable/chunks/Dy1O3iBu.js\",\"_app/immutable/chunks/Ci6FLQWx.js\",\"_app/immutable/chunks/D4Bce_hb.js\",\"_app/immutable/chunks/D3hk2v8y.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAsC,CAAC,EAAE;AACpG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACxQ,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
@@ -1,13 +1,13 @@
1
1
  const index = 3;
2
2
  let component_cache;
3
- const component = async () => component_cache ??= (await import('./_page.svelte-D6BUZio7.js')).default;
3
+ const component = async () => component_cache ??= (await import('./_page.svelte-dZWfu9yR.js')).default;
4
4
  const universal = {
5
5
  "ssr": false
6
6
  };
7
7
  const universal_id = "routes/account/+page.ts";
8
- const imports = ["_app/immutable/nodes/3.C18mc0nK.js","_app/immutable/chunks/CiUsfGrc.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/D9TfJrfD.js","_app/immutable/chunks/Dy1O3iBu.js","_app/immutable/chunks/D3hk2v8y.js","_app/immutable/chunks/pba7IodQ.js","_app/immutable/chunks/XdRahthI.js"];
8
+ const imports = ["_app/immutable/nodes/3.CVudd8x2.js","_app/immutable/chunks/DJeR1n-B.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/D9TfJrfD.js","_app/immutable/chunks/Dy1O3iBu.js","_app/immutable/chunks/D3hk2v8y.js","_app/immutable/chunks/pba7IodQ.js","_app/immutable/chunks/B1E1cVbi.js"];
9
9
  const stylesheets = [];
10
10
  const fonts = [];
11
11
 
12
12
  export { component, fonts, imports, index, stylesheets, universal, universal_id };
13
- //# sourceMappingURL=3-CGyRgNsB.js.map
13
+ //# sourceMappingURL=3-Ds69w-dU.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"3-CGyRgNsB.js","sources":["../../../.svelte-kit/adapter-node/nodes/3.js"],"sourcesContent":["\n\nexport const index = 3;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/account/_page.svelte.js')).default;\nexport const universal = {\n \"ssr\": false\n};\nexport const universal_id = \"routes/account/+page.ts\";\nexport const imports = [\"_app/immutable/nodes/3.C18mc0nK.js\",\"_app/immutable/chunks/CiUsfGrc.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/D9TfJrfD.js\",\"_app/immutable/chunks/Dy1O3iBu.js\",\"_app/immutable/chunks/D3hk2v8y.js\",\"_app/immutable/chunks/pba7IodQ.js\",\"_app/immutable/chunks/XdRahthI.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAA0C,CAAC,EAAE;AACxG,MAAC,SAAS,GAAG;AACzB,EAAE,KAAK,EAAE;AACT;AACY,MAAC,YAAY,GAAG;AAChB,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAC5S,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
1
+ {"version":3,"file":"3-Ds69w-dU.js","sources":["../../../.svelte-kit/adapter-node/nodes/3.js"],"sourcesContent":["\n\nexport const index = 3;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/account/_page.svelte.js')).default;\nexport const universal = {\n \"ssr\": false\n};\nexport const universal_id = \"routes/account/+page.ts\";\nexport const imports = [\"_app/immutable/nodes/3.CVudd8x2.js\",\"_app/immutable/chunks/DJeR1n-B.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/D9TfJrfD.js\",\"_app/immutable/chunks/Dy1O3iBu.js\",\"_app/immutable/chunks/D3hk2v8y.js\",\"_app/immutable/chunks/pba7IodQ.js\",\"_app/immutable/chunks/B1E1cVbi.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAA0C,CAAC,EAAE;AACxG,MAAC,SAAS,GAAG;AACzB,EAAE,KAAK,EAAE;AACT;AACY,MAAC,YAAY,GAAG;AAChB,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAC5S,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
@@ -1,9 +1,9 @@
1
1
  const index = 4;
2
2
  let component_cache;
3
- const component = async () => component_cache ??= (await import('./_page.svelte-Q_wBpED1.js')).default;
4
- const imports = ["_app/immutable/nodes/4.eINJOagY.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/D9TfJrfD.js","_app/immutable/chunks/Dy1O3iBu.js","_app/immutable/chunks/pba7IodQ.js","_app/immutable/chunks/CiUsfGrc.js","_app/immutable/chunks/D3hk2v8y.js"];
3
+ const component = async () => component_cache ??= (await import('./_page.svelte-CMtkwvbP.js')).default;
4
+ const imports = ["_app/immutable/nodes/4.Dhj0R0r7.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/D9TfJrfD.js","_app/immutable/chunks/Dy1O3iBu.js","_app/immutable/chunks/pba7IodQ.js","_app/immutable/chunks/DJeR1n-B.js","_app/immutable/chunks/D3hk2v8y.js"];
5
5
  const stylesheets = [];
6
6
  const fonts = [];
7
7
 
8
8
  export { component, fonts, imports, index, stylesheets };
9
- //# sourceMappingURL=4-BuMxaapL.js.map
9
+ //# sourceMappingURL=4-BscEiwUk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"4-BuMxaapL.js","sources":["../../../.svelte-kit/adapter-node/nodes/4.js"],"sourcesContent":["\n\nexport const index = 4;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/login/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/4.eINJOagY.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/D9TfJrfD.js\",\"_app/immutable/chunks/Dy1O3iBu.js\",\"_app/immutable/chunks/pba7IodQ.js\",\"_app/immutable/chunks/CiUsfGrc.js\",\"_app/immutable/chunks/D3hk2v8y.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAwC,CAAC,EAAE;AACtG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACxQ,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
1
+ {"version":3,"file":"4-BscEiwUk.js","sources":["../../../.svelte-kit/adapter-node/nodes/4.js"],"sourcesContent":["\n\nexport const index = 4;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/login/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/4.Dhj0R0r7.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/D9TfJrfD.js\",\"_app/immutable/chunks/Dy1O3iBu.js\",\"_app/immutable/chunks/pba7IodQ.js\",\"_app/immutable/chunks/DJeR1n-B.js\",\"_app/immutable/chunks/D3hk2v8y.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAwC,CAAC,EAAE;AACtG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACxQ,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
@@ -1,9 +1,9 @@
1
1
  const index = 5;
2
2
  let component_cache;
3
- const component = async () => component_cache ??= (await import('./_page.svelte-BdL0IPY2.js')).default;
4
- const imports = ["_app/immutable/nodes/5.DITFCLgK.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/XdRahthI.js","_app/immutable/chunks/D9TfJrfD.js","_app/immutable/chunks/Dy1O3iBu.js","_app/immutable/chunks/pba7IodQ.js","_app/immutable/chunks/CiUsfGrc.js","_app/immutable/chunks/D3hk2v8y.js"];
3
+ const component = async () => component_cache ??= (await import('./_page.svelte-B1LK5J87.js')).default;
4
+ const imports = ["_app/immutable/nodes/5.CGoBaVII.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/B1E1cVbi.js","_app/immutable/chunks/D9TfJrfD.js","_app/immutable/chunks/Dy1O3iBu.js","_app/immutable/chunks/pba7IodQ.js","_app/immutable/chunks/DJeR1n-B.js","_app/immutable/chunks/D3hk2v8y.js"];
5
5
  const stylesheets = [];
6
6
  const fonts = [];
7
7
 
8
8
  export { component, fonts, imports, index, stylesheets };
9
- //# sourceMappingURL=5-BhHQT7ic.js.map
9
+ //# sourceMappingURL=5-H0ePIJBE.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"5-BhHQT7ic.js","sources":["../../../.svelte-kit/adapter-node/nodes/5.js"],"sourcesContent":["\n\nexport const index = 5;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/logout/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/5.DITFCLgK.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/XdRahthI.js\",\"_app/immutable/chunks/D9TfJrfD.js\",\"_app/immutable/chunks/Dy1O3iBu.js\",\"_app/immutable/chunks/pba7IodQ.js\",\"_app/immutable/chunks/CiUsfGrc.js\",\"_app/immutable/chunks/D3hk2v8y.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAyC,CAAC,EAAE;AACvG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAC5S,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
1
+ {"version":3,"file":"5-H0ePIJBE.js","sources":["../../../.svelte-kit/adapter-node/nodes/5.js"],"sourcesContent":["\n\nexport const index = 5;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/logout/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/5.CGoBaVII.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/B1E1cVbi.js\",\"_app/immutable/chunks/D9TfJrfD.js\",\"_app/immutable/chunks/Dy1O3iBu.js\",\"_app/immutable/chunks/pba7IodQ.js\",\"_app/immutable/chunks/DJeR1n-B.js\",\"_app/immutable/chunks/D3hk2v8y.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAyC,CAAC,EAAE;AACvG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAC5S,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
@@ -1,9 +1,9 @@
1
1
  const index = 6;
2
2
  let component_cache;
3
- const component = async () => component_cache ??= (await import('./_page.svelte-Cw9An0SZ.js')).default;
4
- const imports = ["_app/immutable/nodes/6.BbgUOuKV.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/D9TfJrfD.js","_app/immutable/chunks/Dy1O3iBu.js","_app/immutable/chunks/pba7IodQ.js","_app/immutable/chunks/CiUsfGrc.js","_app/immutable/chunks/D3hk2v8y.js"];
3
+ const component = async () => component_cache ??= (await import('./_page.svelte-CbI2KxeA.js')).default;
4
+ const imports = ["_app/immutable/nodes/6.BtB2uWXy.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/D9TfJrfD.js","_app/immutable/chunks/Dy1O3iBu.js","_app/immutable/chunks/pba7IodQ.js","_app/immutable/chunks/DJeR1n-B.js","_app/immutable/chunks/D3hk2v8y.js"];
5
5
  const stylesheets = [];
6
6
  const fonts = [];
7
7
 
8
8
  export { component, fonts, imports, index, stylesheets };
9
- //# sourceMappingURL=6-Do2XsDIk.js.map
9
+ //# sourceMappingURL=6-BrPpcagX.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"6-Do2XsDIk.js","sources":["../../../.svelte-kit/adapter-node/nodes/6.js"],"sourcesContent":["\n\nexport const index = 6;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/register/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/6.BbgUOuKV.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/D9TfJrfD.js\",\"_app/immutable/chunks/Dy1O3iBu.js\",\"_app/immutable/chunks/pba7IodQ.js\",\"_app/immutable/chunks/CiUsfGrc.js\",\"_app/immutable/chunks/D3hk2v8y.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAA2C,CAAC,EAAE;AACzG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACxQ,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
1
+ {"version":3,"file":"6-BrPpcagX.js","sources":["../../../.svelte-kit/adapter-node/nodes/6.js"],"sourcesContent":["\n\nexport const index = 6;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/register/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/6.BtB2uWXy.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/D9TfJrfD.js\",\"_app/immutable/chunks/Dy1O3iBu.js\",\"_app/immutable/chunks/pba7IodQ.js\",\"_app/immutable/chunks/DJeR1n-B.js\",\"_app/immutable/chunks/D3hk2v8y.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAA2C,CAAC,EAAE;AACzG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACxQ,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
@@ -1,4 +1,4 @@
1
- import { j as boolean, o as object, i as email, s as string, l as literal, r as record, f as any, n as number, g as array, h as _enum, u as uuid, x as date, y as url, t as prettifyError, v as $ZodError } from './index-wXTeP1jh.js';
1
+ import { i as boolean, o as object, m as email, s as string, l as literal, r as record, f as any, n as number, g as array, h as _enum, k as date, u as url, q as uuid, w as prettifyError, x as $ZodError } from './index-CvHf_GW2.js';
2
2
  import { u as push, F as copy_payload, G as assign_payload, W as bind_props, w as pop, Y as spread_props, T as spread_attributes, Z as attr_class, y as escape_html, _ as clsx } from './index-RTKpMYZ1.js';
3
3
 
4
4
  /**
@@ -604,18 +604,12 @@ var Permission;
604
604
  [Permission.Edit]: "Editor",
605
605
  [Permission.Manage]: "Manager"
606
606
  });
607
- const preferenceSchemas = {
608
- debug: boolean()
609
- };
610
- const preferenceDefaults = {
611
- debug: false
612
- };
613
- const preferenceLabels = {
614
- debug: "Debug mode"
615
- };
616
- function zIs(schema, type) {
617
- return schema.def.type == type;
618
- }
607
+ object({
608
+ id: string(),
609
+ name: string().optional(),
610
+ image: string().optional(),
611
+ icon: string().optional()
612
+ });
619
613
  const transports = ["ble", "cable", "hybrid", "internal", "nfc", "smart-card", "usb"];
620
614
  const authenticatorAttachment = literal(["platform", "cross-platform"]).optional();
621
615
  const PasskeyRegistration = object({
@@ -646,18 +640,16 @@ object({
646
640
  clientExtensionResults: record(any(), any()),
647
641
  type: literal("public-key")
648
642
  });
649
- object({
650
- name: string().min(1).max(100),
651
- email: email(),
652
- userId: uuid(),
653
- response: PasskeyRegistration
654
- });
655
643
  object({ name: string() }).partial();
656
- object({ type: literal(["login", "action"]) });
657
- object({
658
- id: array(uuid()).optional(),
659
- confirm_all: boolean().optional()
660
- });
644
+ const preferenceSchemas = {
645
+ debug: boolean()
646
+ };
647
+ const preferenceDefaults = {
648
+ debug: false
649
+ };
650
+ const preferenceLabels = {
651
+ debug: "Debug mode"
652
+ };
661
653
  const User = object({
662
654
  id: uuid(),
663
655
  name: string().min(1, "Name is required").max(255, "Name is too long"),
@@ -690,6 +682,17 @@ function getUserImage(user) {
690
682
  <text x="23" y="28" style="font-family:sans-serif;font-weight:bold;" fill="white">${user.name.replaceAll(/\W/g, "")[0]}</text>
691
683
  </svg>`.replaceAll(/[\t\n]/g, "");
692
684
  }
685
+ object({
686
+ name: string().min(1).max(100),
687
+ email: email(),
688
+ userId: uuid(),
689
+ response: PasskeyRegistration
690
+ });
691
+ object({ type: literal(["login", "action"]) });
692
+ object({
693
+ id: array(uuid()).optional(),
694
+ confirm_all: boolean().optional()
695
+ });
693
696
  let prefix = "/api/";
694
697
  async function fetchAPI(method, endpoint, data, ...params) {
695
698
  const options = {
@@ -903,5 +906,5 @@ function FormDialog($$payload, $$props) {
903
906
  pop();
904
907
  }
905
908
 
906
- export { FormDialog as F, preferenceLabels as a, preferenceDefaults as b, deletePasskey as c, deleteUser as d, logoutAll as e, updateUser as f, getUserImage as g, loginByEmail as h, logoutCurrentSession as i, logout as l, preferenceSchemas as p, register as r, updatePasskey as u, zIs as z };
907
- //# sourceMappingURL=FormDialog-BemX_bll.js.map
909
+ export { FormDialog as F, preferenceLabels as a, preferenceDefaults as b, deletePasskey as c, deleteUser as d, logoutAll as e, updateUser as f, getUserImage as g, loginByEmail as h, logoutCurrentSession as i, logout as l, preferenceSchemas as p, register as r, updatePasskey as u };
910
+ //# sourceMappingURL=FormDialog-CB-2YGWi.js.map