mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-07 14:46:41 +00:00
2 lines
13 KiB
JavaScript
2 lines
13 KiB
JavaScript
import{s as z,a as F,e as u,c as G,i as E,d,b as H,o as J,f as K,g as M,h as Q,j as O,k as L,l as X,m as Y,n as Z,t as x,p as I,q as w}from"../chunks/scheduler.de195056.js";import{S as ee,i as te,t as m,c as v,a as p,g as R,b as g,d as D,m as b,e as k}from"../chunks/index.c6f2ad36.js";const ne="modulepreload",ie=function(f,e){return new URL(f,e).href},A={},$=function(e,n,s){if(!n||n.length===0)return e();const r=document.getElementsByTagName("link");return Promise.all(n.map(l=>{if(l=ie(l,s),l in A)return;A[l]=!0;const t=l.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(!!s)for(let _=r.length-1;_>=0;_--){const h=r[_];if(h.href===l&&(!t||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${o}`))return;const a=document.createElement("link");if(a.rel=t?"stylesheet":ne,t||(a.as="script",a.crossOrigin=""),a.href=l,document.head.appendChild(a),t)return new Promise((_,h)=>{a.addEventListener("load",_),a.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>e()).catch(l=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=l,window.dispatchEvent(t),!t.defaultPrevented)throw l})},we={};function re(f){let e,n,s;var r=f[1][0];function l(t,o){return{props:{data:t[3],form:t[2]}}}return r&&(e=w(r,l(f)),f[18](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,o){e&&b(e,t,o),E(t,n,o),s=!0},p(t,o){if(o&2&&r!==(r=t[1][0])){if(e){R();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),v()}r?(e=w(r,l(t)),t[18](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};o&8&&(i.data=t[3]),o&4&&(i.form=t[2]),e.$set(i)}},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){t&&d(n),f[18](null),e&&k(e,t)}}}function se(f){let e,n,s;var r=f[1][0];function l(t,o){return{props:{data:t[3],$$slots:{default:[ue]},$$scope:{ctx:t}}}}return r&&(e=w(r,l(f)),f[17](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,o){e&&b(e,t,o),E(t,n,o),s=!0},p(t,o){if(o&2&&r!==(r=t[1][0])){if(e){R();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),v()}r?(e=w(r,l(t)),t[17](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};o&8&&(i.data=t[3]),o&524407&&(i.$$scope={dirty:o,ctx:t}),e.$set(i)}},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){t&&d(n),f[17](null),e&&k(e,t)}}}function oe(f){let e,n,s;var r=f[1][1];function l(t,o){return{props:{data:t[4],form:t[2]}}}return r&&(e=w(r,l(f)),f[16](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,o){e&&b(e,t,o),E(t,n,o),s=!0},p(t,o){if(o&2&&r!==(r=t[1][1])){if(e){R();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),v()}r?(e=w(r,l(t)),t[16](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};o&16&&(i.data=t[4]),o&4&&(i.form=t[2]),e.$set(i)}},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){t&&d(n),f[16](null),e&&k(e,t)}}}function fe(f){let e,n,s;var r=f[1][1];function l(t,o){return{props:{data:t[4],$$slots:{default:[ce]},$$scope:{ctx:t}}}}return r&&(e=w(r,l(f)),f[15](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,o){e&&b(e,t,o),E(t,n,o),s=!0},p(t,o){if(o&2&&r!==(r=t[1][1])){if(e){R();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),v()}r?(e=w(r,l(t)),t[15](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};o&16&&(i.data=t[4]),o&524391&&(i.$$scope={dirty:o,ctx:t}),e.$set(i)}},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){t&&d(n),f[15](null),e&&k(e,t)}}}function le(f){let e,n,s;var r=f[1][2];function l(t,o){return{props:{data:t[5],form:t[2]}}}return r&&(e=w(r,l(f)),f[14](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,o){e&&b(e,t,o),E(t,n,o),s=!0},p(t,o){if(o&2&&r!==(r=t[1][2])){if(e){R();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),v()}r?(e=w(r,l(t)),t[14](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};o&32&&(i.data=t[5]),o&4&&(i.form=t[2]),e.$set(i)}},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){t&&d(n),f[14](null),e&&k(e,t)}}}function ae(f){let e,n,s;var r=f[1][2];function l(t,o){return{props:{data:t[5],$$slots:{default:[_e]},$$scope:{ctx:t}}}}return r&&(e=w(r,l(f)),f[13](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,o){e&&b(e,t,o),E(t,n,o),s=!0},p(t,o){if(o&2&&r!==(r=t[1][2])){if(e){R();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),v()}r?(e=w(r,l(t)),t[13](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};o&32&&(i.data=t[5]),o&524359&&(i.$$scope={dirty:o,ctx:t}),e.$set(i)}},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){t&&d(n),f[13](null),e&&k(e,t)}}}function _e(f){let e,n,s;var r=f[1][3];function l(t,o){return{props:{data:t[6],form:t[2]}}}return r&&(e=w(r,l(f)),f[12](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,o){e&&b(e,t,o),E(t,n,o),s=!0},p(t,o){if(o&2&&r!==(r=t[1][3])){if(e){R();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),v()}r?(e=w(r,l(t)),t[12](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};o&64&&(i.data=t[6]),o&4&&(i.form=t[2]),e.$set(i)}},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){t&&d(n),f[12](null),e&&k(e,t)}}}function ce(f){let e,n,s,r;const l=[ae,le],t=[];function o(i,a){return i[1][3]?0:1}return e=o(f),n=t[e]=l[e](f),{c(){n.c(),s=u()},l(i){n.l(i),s=u()},m(i,a){t[e].m(i,a),E(i,s,a),r=!0},p(i,a){let _=e;e=o(i),e===_?t[e].p(i,a):(R(),m(t[_],1,1,()=>{t[_]=null}),v(),n=t[e],n?n.p(i,a):(n=t[e]=l[e](i),n.c()),p(n,1),n.m(s.parentNode,s))},i(i){r||(p(n),r=!0)},o(i){m(n),r=!1},d(i){i&&d(s),t[e].d(i)}}}function ue(f){let e,n,s,r;const l=[fe,oe],t=[];function o(i,a){return i[1][2]?0:1}return e=o(f),n=t[e]=l[e](f),{c(){n.c(),s=u()},l(i){n.l(i),s=u()},m(i,a){t[e].m(i,a),E(i,s,a),r=!0},p(i,a){let _=e;e=o(i),e===_?t[e].p(i,a):(R(),m(t[_],1,1,()=>{t[_]=null}),v(),n=t[e],n?n.p(i,a):(n=t[e]=l[e](i),n.c()),p(n,1),n.m(s.parentNode,s))},i(i){r||(p(n),r=!0)},o(i){m(n),r=!1},d(i){i&&d(s),t[e].d(i)}}}function N(f){let e,n=f[8]&&y(f);return{c(){e=K("div"),n&&n.c(),this.h()},l(s){e=M(s,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var r=Q(e);n&&n.l(r),r.forEach(d),this.h()},h(){O(e,"id","svelte-announcer"),O(e,"aria-live","assertive"),O(e,"aria-atomic","true"),L(e,"position","absolute"),L(e,"left","0"),L(e,"top","0"),L(e,"clip","rect(0 0 0 0)"),L(e,"clip-path","inset(50%)"),L(e,"overflow","hidden"),L(e,"white-space","nowrap"),L(e,"width","1px"),L(e,"height","1px")},m(s,r){E(s,e,r),n&&n.m(e,null)},p(s,r){s[8]?n?n.p(s,r):(n=y(s),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(s){s&&d(e),n&&n.d()}}}function y(f){let e;return{c(){e=X(f[9])},l(n){e=Y(n,f[9])},m(n,s){E(n,e,s)},p(n,s){s&512&&Z(e,n[9])},d(n){n&&d(e)}}}function me(f){let e,n,s,r,l;const t=[se,re],o=[];function i(_,h){return _[1][1]?0:1}e=i(f),n=o[e]=t[e](f);let a=f[7]&&N(f);return{c(){n.c(),s=F(),a&&a.c(),r=u()},l(_){n.l(_),s=G(_),a&&a.l(_),r=u()},m(_,h){o[e].m(_,h),E(_,s,h),a&&a.m(_,h),E(_,r,h),l=!0},p(_,[h]){let P=e;e=i(_),e===P?o[e].p(_,h):(R(),m(o[P],1,1,()=>{o[P]=null}),v(),n=o[e],n?n.p(_,h):(n=o[e]=t[e](_),n.c()),p(n,1),n.m(s.parentNode,s)),_[7]?a?a.p(_,h):(a=N(_),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},i(_){l||(p(n),l=!0)},o(_){m(n),l=!1},d(_){_&&(d(s),d(r)),o[e].d(_),a&&a.d(_)}}}function pe(f,e,n){let{stores:s}=e,{page:r}=e,{constructors:l}=e,{components:t=[]}=e,{form:o}=e,{data_0:i=null}=e,{data_1:a=null}=e,{data_2:_=null}=e,{data_3:h=null}=e;H(s.page.notify);let P=!1,T=!1,V=null;J(()=>{const c=s.page.subscribe(()=>{P&&(n(8,T=!0),x().then(()=>{n(9,V=document.title||"untitled page")}))});return n(7,P=!0),c});function S(c){I[c?"unshift":"push"](()=>{t[3]=c,n(0,t)})}function C(c){I[c?"unshift":"push"](()=>{t[2]=c,n(0,t)})}function q(c){I[c?"unshift":"push"](()=>{t[2]=c,n(0,t)})}function B(c){I[c?"unshift":"push"](()=>{t[1]=c,n(0,t)})}function U(c){I[c?"unshift":"push"](()=>{t[1]=c,n(0,t)})}function j(c){I[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}function W(c){I[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}return f.$$set=c=>{"stores"in c&&n(10,s=c.stores),"page"in c&&n(11,r=c.page),"constructors"in c&&n(1,l=c.constructors),"components"in c&&n(0,t=c.components),"form"in c&&n(2,o=c.form),"data_0"in c&&n(3,i=c.data_0),"data_1"in c&&n(4,a=c.data_1),"data_2"in c&&n(5,_=c.data_2),"data_3"in c&&n(6,h=c.data_3)},f.$$.update=()=>{f.$$.dirty&3072&&s.page.set(r)},[t,l,o,i,a,_,h,P,T,V,s,r,S,C,q,B,U,j,W]}class ge extends ee{constructor(e){super(),te(this,e,pe,me,z,{stores:10,page:11,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5,data_3:6})}}const be=[()=>$(()=>import("../nodes/0.a326cf07.js"),["../nodes/0.a326cf07.js","../chunks/scheduler.de195056.js","../chunks/index.c6f2ad36.js","../chunks/Logo.3024a5fe.js","../chunks/each.e59479a4.js","../chunks/stores.6150b2da.js","../chunks/singletons.430f5ae5.js","../chunks/index.af5cccf7.js","../chunks/index.56f88796.js","../chunks/UserLoggedIn.488e1a77.js","../chunks/stores.a280ff67.js","../chunks/database.5ddaa35e.js","../assets/0.e358c155.css"],import.meta.url),()=>$(()=>import("../nodes/1.2c7849f2.js"),["../nodes/1.2c7849f2.js","../chunks/scheduler.de195056.js","../chunks/index.c6f2ad36.js","../chunks/stores.6150b2da.js","../chunks/singletons.430f5ae5.js","../chunks/index.af5cccf7.js","../assets/1.ec9328af.css"],import.meta.url),()=>$(()=>import("../nodes/2.4f51b3a2.js"),["../nodes/2.4f51b3a2.js","../chunks/scheduler.de195056.js","../chunks/index.c6f2ad36.js","../chunks/UserLoggedIn.488e1a77.js","../chunks/stores.a280ff67.js","../chunks/index.56f88796.js","../chunks/index.af5cccf7.js"],import.meta.url),()=>$(()=>import("../nodes/3.e906cbf9.js"),["../nodes/3.e906cbf9.js","../chunks/scheduler.de195056.js","../chunks/index.c6f2ad36.js","../chunks/stores.6150b2da.js","../chunks/singletons.430f5ae5.js","../chunks/index.af5cccf7.js","../chunks/index.56f88796.js","../chunks/stores.a280ff67.js","../chunks/store.cd6b22d2.js"],import.meta.url),()=>$(()=>import("../nodes/4.853f1bbb.js"),["../nodes/4.853f1bbb.js","../chunks/scheduler.de195056.js","../chunks/index.c6f2ad36.js","../chunks/Logo.3024a5fe.js","../chunks/UserLoggedIn.488e1a77.js","../chunks/stores.a280ff67.js","../chunks/index.56f88796.js","../chunks/index.af5cccf7.js","../chunks/index.3f7c9ec2.js","../chunks/database.5ddaa35e.js","../chunks/singletons.430f5ae5.js","../chunks/index.a7625b7a.js","../chunks/each.e59479a4.js","../chunks/CardHeader.7b4b88a9.js"],import.meta.url),()=>$(()=>import("../nodes/5.bc1788c1.js"),["../nodes/5.bc1788c1.js","../chunks/scheduler.de195056.js","../chunks/index.c6f2ad36.js","../chunks/stores.6150b2da.js","../chunks/singletons.430f5ae5.js","../chunks/index.af5cccf7.js","../chunks/index.56f88796.js","../chunks/index.3f7c9ec2.js","../chunks/CardHeader.7b4b88a9.js","../chunks/store.cd6b22d2.js","../chunks/each.e59479a4.js","../assets/5.01464190.css"],import.meta.url),()=>$(()=>import("../nodes/6.8e047268.js"),["../nodes/6.8e047268.js","../chunks/scheduler.de195056.js","../chunks/index.c6f2ad36.js","../chunks/CardHeader.7b4b88a9.js","../chunks/index.56f88796.js","../chunks/database.5ddaa35e.js","../chunks/singletons.430f5ae5.js","../chunks/index.af5cccf7.js","../chunks/index.a7625b7a.js","../chunks/index.3f7c9ec2.js"],import.meta.url),()=>$(()=>import("../nodes/7.d500efca.js"),["../nodes/7.d500efca.js","../chunks/scheduler.de195056.js","../chunks/index.c6f2ad36.js","../chunks/index.3f7c9ec2.js","../chunks/database.5ddaa35e.js","../chunks/singletons.430f5ae5.js","../chunks/index.af5cccf7.js","../chunks/index.56f88796.js"],import.meta.url),()=>$(()=>import("../nodes/8.776f6226.js"),["../nodes/8.776f6226.js","../chunks/scheduler.de195056.js","../chunks/index.c6f2ad36.js","../chunks/stores.6150b2da.js","../chunks/singletons.430f5ae5.js","../chunks/index.af5cccf7.js","../chunks/index.3f7c9ec2.js","../chunks/database.5ddaa35e.js","../chunks/index.56f88796.js"],import.meta.url),()=>$(()=>import("../nodes/9.9f442ce3.js"),["../nodes/9.9f442ce3.js","../chunks/scheduler.de195056.js","../chunks/index.c6f2ad36.js","../chunks/index.3f7c9ec2.js","../chunks/database.5ddaa35e.js","../chunks/singletons.430f5ae5.js","../chunks/index.af5cccf7.js","../chunks/index.56f88796.js"],import.meta.url),()=>$(()=>import("../nodes/10.b2b6e0cd.js"),["../nodes/10.b2b6e0cd.js","../chunks/scheduler.de195056.js","../chunks/index.c6f2ad36.js","../chunks/stores.6150b2da.js","../chunks/singletons.430f5ae5.js","../chunks/index.af5cccf7.js","../chunks/database.5ddaa35e.js","../chunks/index.56f88796.js","../chunks/index.3f7c9ec2.js"],import.meta.url),()=>$(()=>import("../nodes/11.19b1bb1f.js"),["../nodes/11.19b1bb1f.js","../chunks/scheduler.de195056.js","../chunks/index.c6f2ad36.js","../chunks/index.3f7c9ec2.js","../chunks/database.5ddaa35e.js","../chunks/singletons.430f5ae5.js","../chunks/index.af5cccf7.js","../chunks/index.56f88796.js"],import.meta.url)],ke=[],Ee={"/":[4],"/app/instances/[instanceId]":[5,[2,3]],"/app/new":[6,[2]],"/login":[7],"/login/confirm-account":[8],"/login/password-reset":[9],"/login/password-reset/confirm":[10],"/signup":[11]},$e={handleError:({error:f})=>{console.error(f)}};export{Ee as dictionary,$e as hooks,we as matchers,be as nodes,ge as root,ke as server_loads};
|