diff --git a/ui/dist/assets/Elements.2869a546.js b/ui/dist/assets/Elements.fba5cef6.js similarity index 99% rename from ui/dist/assets/Elements.2869a546.js rename to ui/dist/assets/Elements.fba5cef6.js index a0ab9ed9..620399fa 100644 --- a/ui/dist/assets/Elements.2869a546.js +++ b/ui/dist/assets/Elements.fba5cef6.js @@ -1,4 +1,4 @@ -import{S as ln,i as tn,s as sn,O as We,a as en,b as nn,c as fn,e,d as n,f as Xt,g as f,h as i,j as u,m as Dt,k as bn,t as un,l as on,n as zt,o as Ft,p as s,q as Gt,r as pn,u as Ye}from"./index.79abec3a.js";function mn(v){let b;return{c(){b=e("p"),b.textContent="Lorem ipsum dolor sit amet..."},m(o,p){i(o,b,p)},p:Ye,d(o){o&&s(b)}}}function vn(v){let b;return{c(){b=e("h4"),b.textContent="My title",f(b,"slot","header")},m(o,p){i(o,b,p)},p:Ye,d(o){o&&s(b)}}}function dn(v){let b,o,p;return{c(){b=e("button"),b.textContent="Cancel",o=n(),p=e("button"),p.textContent="Save",f(b,"class","btn btn-secondary"),f(p,"class","btn btn-expanded")},m(m,d){i(m,b,d),i(m,o,d),i(m,p,d)},p:Ye,d(m){m&&s(b),m&&s(o),m&&s(p)}}}function xn(v){let b,o,p,m,d,Jt,Kt,_,_t,Ze,y,Qt,Ut,Vt,L,Lt,re,B,Wt,Yt,Zt,r,rt,c,ct,a,at,h,ht,g,gt,li,ti,Ht,ii,Ct,si,Mt,ei,Tt,ni,yt,fi,Bt,bi,wt,ui,kt,oi,$t,pi,Ot,mi,It,vi,Et,di,xi,_i,ll,Li,Nt,Hi,Pt,Ci,jt,Mi,At,Ti,yi,Bi,tl,wi,ki,$i,il,Oi,sl,Ii,el,Ei,nl,Ni,fl,Pi,bl,ji,Ai,Si,ul,qi,ol,Ri,pl,Xi,ml,Di,vl,zi,dl,Fi,Gi,Ji,xl,Ki,_l,Qi,Ll,Ui,Hl,Vi,Cl,Wi,Ml,Yi,Zi,ri,w,ci,k,ai,$,hi,O,gi,I,ls,E,ts,N,is,P,ss,j,es,A,ns,S,fs,q,bs,us,os,Tl,ps,yl,ms,Bl,vs,wl,ds,kl,xs,_s,Ls,$l,Hs,Ol,Cs,Il,Ms,El,Ts,Nl,ys,Bs,ws,Pl,ks,jl,$s,Al,Os,Sl,Is,ql,Es,Ns,Ps,Rl,js,Xl,As,Dl,Ss,zl,qs,Fl,Rs,Gl,Xs,Ds,zs,Jl,Fs,Kl,Gs,Ql,Js,Ul,Ks,Vl,Qs,Wl,Us,Vs,Ws,R,Ys,X,Zs,D,rs,z,cs,F,as,G,hs,gs,le,St,te,ie,se,J,H,K,Q,ee,ne,fe,Yl,be,ue,oe,Zl,pe,rl,me,C,qt,ce,U,M,V,W,ve,de,xe,cl,_e,al,Le,hl,gl,T,Y,Z,He,Ce,Me,lt,Te,tt,ye,it,Be,st,we,ke,$e,et,Oe,nt,Ie,ft,Ee,bt,Ne,Pe,je,ut,Ae,ot,Se,pt,qe,mt,Re,Xe,De,vt,ze,dt,Fe,Ge,Je,xt,Ke,x,Qe,Rt,Ue,ae;m=new We({props:{multiple:!0,searchable:!0,items:["test1","test2"]}}),y=new We({props:{searchable:!0,items:["test1","test2"]}}),B=new We({props:{disabled:!0,searchable:!0,items:["test1","test2"]}});function ge(l){v[1](l)}let he={popup:!1,$$slots:{footer:[dn],header:[vn],default:[mn]},$$scope:{ctx:v}};return v[0]!==void 0&&(he.active=v[0]),x=new en({props:he}),nn.push(()=>fn(x,"active",ge)),{c(){b=e("div"),o=e("label"),o.textContent="EXAMPLE",p=n(),Xt(m.$$.fragment),d=n(),Jt=e("hr"),Kt=n(),_=e("div"),_t=e("label"),_t.textContent="EXAMPLE",Ze=n(),Xt(y.$$.fragment),Qt=n(),Ut=e("hr"),Vt=n(),L=e("div"),Lt=e("label"),Lt.textContent="EXAMPLE",re=n(),Xt(B.$$.fragment),Wt=n(),Yt=e("hr"),Zt=n(),r=e("div"),r.innerHTML=`
Enter the email associated with your account and we\u2019ll send you a recovery link:
`,n=g(),A(l.$$.fragment),t=g(),o=_("button"),f=_("i"),m=g(),i=_("span"),i.textContent="Send recovery link",p(s,"class","content txt-center m-b-sm"),p(f,"class","ri-mail-send-line"),p(i,"class","txt"),p(o,"type","submit"),p(o,"class","btn btn-lg btn-block"),o.disabled=c[1],F(o,"btn-loading",c[1]),p(e,"class","m-b-base")},m(r,$){k(r,e,$),d(e,s),d(e,n),E(l,e,null),d(e,t),d(e,o),d(o,f),d(o,m),d(o,i),a=!0,b||(u=L(e,"submit",I(c[3])),b=!0)},p(r,$){const q={};$&97&&(q.$$scope={dirty:$,ctx:r}),l.$set(q),(!a||$&2)&&(o.disabled=r[1]),$&2&&F(o,"btn-loading",r[1])},i(r){a||(w(l.$$.fragment,r),a=!0)},o(r){y(l.$$.fragment,r),a=!1},d(r){r&&v(e),H(l),b=!1,u()}}}function O(c){let e,s,n,l,t,o,f,m,i;return{c(){e=_("div"),s=_("div"),s.innerHTML='',n=g(),l=_("div"),t=_("p"),o=h("Check "),f=_("strong"),m=h(c[0]),i=h(" for the recovery link."),p(s,"class","icon"),p(f,"class","txt-nowrap"),p(l,"class","content"),p(e,"class","alert alert-success")},m(a,b){k(a,e,b),d(e,s),d(e,n),d(e,l),d(l,t),d(t,o),d(t,f),d(f,m),d(t,i)},p(a,b){b&1&&J(m,a[0])},i:P,o:P,d(a){a&&v(e)}}}function Q(c){let e,s,n,l,t,o,f,m;return{c(){e=_("label"),s=h("Email"),l=g(),t=_("input"),p(e,"for",n=c[5]),p(t,"type","email"),p(t,"id",o=c[5]),t.required=!0,t.autofocus=!0},m(i,a){k(i,e,a),d(e,s),k(i,l,a),k(i,t,a),R(t,c[0]),t.focus(),f||(m=L(t,"input",c[4]),f=!0)},p(i,a){a&32&&n!==(n=i[5])&&p(e,"for",n),a&32&&o!==(o=i[5])&&p(t,"id",o),a&1&&t.value!==i[0]&&R(t,i[0])},d(i){i&&v(e),i&&v(l),i&&v(t),f=!1,m()}}}function U(c){let e,s,n,l,t,o,f,m;const i=[O,K],a=[];function b(u,r){return u[2]?0:1}return e=b(c),s=a[e]=i[e](c),{c(){s.c(),n=g(),l=_("div"),t=_("a"),t.textContent="Back to login",p(t,"href","/login"),p(t,"class","link-hint"),p(l,"class","content txt-center")},m(u,r){a[e].m(u,r),k(u,n,r),k(u,l,r),d(l,t),o=!0,f||(m=j(z.call(null,t)),f=!0)},p(u,r){let $=e;e=b(u),e===$?a[e].p(u,r):(D(),y(a[$],1,1,()=>{a[$]=null}),G(),s=a[e],s?s.p(u,r):(s=a[e]=i[e](u),s.c()),w(s,1),s.m(n.parentNode,n))},i(u){o||(w(s),o=!0)},o(u){y(s),o=!1},d(u){a[e].d(u),u&&v(n),u&&v(l),f=!1,m()}}}function V(c){let e,s;return e=new T({props:{$$slots:{default:[U]},$$scope:{ctx:c}}}),{c(){A(e.$$.fragment)},m(n,l){E(e,n,l),s=!0},p(n,[l]){const t={};l&71&&(t.$$scope={dirty:l,ctx:n}),e.$set(t)},i(n){s||(w(e.$$.fragment,n),s=!0)},o(n){y(e.$$.fragment,n),s=!1},d(n){H(e,n)}}}function W(c,e,s){let n="",l=!1,t=!1;async function o(){if(!l){s(1,l=!0);try{await C.Admins.requestPasswordReset(n),s(2,t=!0)}catch(m){C.errorResponseHandler(m)}s(1,l=!1)}}function f(){n=this.value,s(0,n)}return[n,l,t,o,f]}class Y extends S{constructor(e){super(),B(this,e,W,V,M,{})}}export{Y as default}; diff --git a/ui/dist/assets/PageUserConfirmEmailChange.9a3b7953.js b/ui/dist/assets/PageUserConfirmEmailChange.a2624070.js similarity index 98% rename from ui/dist/assets/PageUserConfirmEmailChange.9a3b7953.js rename to ui/dist/assets/PageUserConfirmEmailChange.a2624070.js index e0b151a7..88682453 100644 --- a/ui/dist/assets/PageUserConfirmEmailChange.9a3b7953.js +++ b/ui/dist/assets/PageUserConfirmEmailChange.a2624070.js @@ -1,4 +1,4 @@ -import{S as z,i as A,s as B,F as D,f as S,m as U,n as $,o as v,q as j,H as G,L as J,h as _,w as M,x as N,p as b,y as P,D as y,e as m,g as d,j as g,E as R,z as W,d as C,A as F,B as E,C as Y,u as h,G as L}from"./index.79abec3a.js";function I(r){let e,s,t,l,n,o,c,a,i,u,k,q,p=r[3]&&T(r);return o=new W({props:{class:"form-field required",name:"password",$$slots:{default:[O,({uniqueId:f})=>({8:f}),({uniqueId:f})=>f?256:0]},$$scope:{ctx:r}}}),{c(){e=m("form"),s=m("div"),t=m("h4"),l=y(`Type your password to confirm changing your email address +import{S as z,i as A,s as B,F as D,f as S,m as U,n as $,o as v,q as j,H as G,L as J,h as _,w as M,x as N,p as b,y as P,D as y,e as m,g as d,j as g,E as R,z as W,d as C,A as F,B as E,C as Y,u as h,G as L}from"./index.a658f3b6.js";function I(r){let e,s,t,l,n,o,c,a,i,u,k,q,p=r[3]&&T(r);return o=new W({props:{class:"form-field required",name:"password",$$slots:{default:[O,({uniqueId:f})=>({8:f}),({uniqueId:f})=>f?256:0]},$$scope:{ctx:r}}}),{c(){e=m("form"),s=m("div"),t=m("h4"),l=y(`Type your password to confirm changing your email address `),p&&p.c(),n=C(),S(o.$$.fragment),c=C(),a=m("button"),i=m("span"),i.textContent="Confirm new email",d(t,"class","m-b-xs"),d(s,"class","content txt-center m-b-sm"),d(i,"class","txt"),d(a,"type","submit"),d(a,"class","btn btn-lg btn-block"),a.disabled=r[1],F(a,"btn-loading",r[1])},m(f,w){_(f,e,w),g(e,s),g(s,t),g(t,l),p&&p.m(t,null),g(e,n),U(o,e,null),g(e,c),g(e,a),g(a,i),u=!0,k||(q=E(e,"submit",Y(r[4])),k=!0)},p(f,w){f[3]?p?p.p(f,w):(p=T(f),p.c(),p.m(t,null)):p&&(p.d(1),p=null);const H={};w&769&&(H.$$scope={dirty:w,ctx:f}),o.$set(H),(!u||w&2)&&(a.disabled=f[1]),w&2&&F(a,"btn-loading",f[1])},i(f){u||($(o.$$.fragment,f),u=!0)},o(f){v(o.$$.fragment,f),u=!1},d(f){f&&b(e),p&&p.d(),j(o),k=!1,q()}}}function K(r){let e,s,t,l,n;return{c(){e=m("div"),e.innerHTML=`Email address changed
You can now sign in with your new email address.
Password changed
You can now sign in with your new password.
Invalid or expired verification token.
Successfully verified email address.
@request.user.id!=null && created>"2022-01-01 00:00:00"
`,p(o,"class","m-b-0"),p(l,"class","inline-flex flex-gap-5"),p(b,"class","m-t-10 m-b-5"),p(_,"class","m-b-0"),p(S,"class","inline-flex flex-gap-5"),p(x,"class","m-t-10 m-b-5"),p(A,"class","m-b-0"),p(D,"class","inline-flex flex-gap-5"),p(P,"class","m-t-10 m-b-5"),p(i,"class","content"),p(t,"class","alert alert-warning m-0")},m(Y,W){w(Y,e,W),m(e,t),m(t,i),m(i,o),m(i,r),m(i,l),m(l,s),m(l,a),m(l,f),m(l,c),m(l,u),m(l,d);for(let te=0;teAdjust common token options.
",f=$(),u.c(),p(o,"class","page-header"),p(a,"class","content m-b-sm txt-xl"),p(s,"class","panel"),p(s,"autocomplete","off"),p(l,"class","wrapper"),p(i,"class","page-wrapper")},m(S,C){H(e,S,C),w(S,t,C),w(S,i,C),m(i,o),m(i,r),m(i,l),m(l,s),m(s,a),m(s,f),_[c].m(s,null),d=!0,h||(b=X(s,"submit",Gt(n[5])),h=!0)},p(S,[C]){let x=c;c=y(S),c===x?_[c].p(S,C):(Ae(),F(_[x],1,1,()=>{_[x]=null}),De(),u=_[c],u?u.p(S,C):(u=_[c]=v[c](S),u.c()),T(u,1),u.m(s,null))},i(S){d||(T(e.$$.fragment,S),T(u),d=!0)},o(S){F(e.$$.fragment,S),F(u),d=!1},d(S){q(e,S),S&&k(t),S&&k(i),_[c].d(),h=!1,b()}}}function CO(n,e,t){let i;const o=[{key:"userAuthToken",label:"Users auth token"},{key:"userVerificationToken",label:"Users email verification token"},{key:"userPasswordResetToken",label:"Users password reset token"},{key:"userEmailChangeToken",label:"Users email change token"},{key:"adminAuthToken",label:"Admins auth token"},{key:"adminPasswordResetToken",label:"Admins password reset token"}];let r={},l=!1,s=!1,a="";B.setDocumentTitle("Token options"),f();async function f(){t(1,l=!0);try{const v=await Se.Settings.getAll()||{};u(v)}catch(v){Se.errorResponseHandler(v)}t(1,l=!1)}async function c(){if(!(s||!i)){t(2,s=!0);try{const v=await Se.Settings.update(B.filterRedactedProps(r));u(v),hn("Successfully saved tokens options.")}catch(v){Se.errorResponseHandler(v)}t(2,s=!1)}}function u(v){var _;v=v||{},t(0,r={});for(const y of o)t(0,r[y.key]={duration:((_=v[y.key])==null?void 0:_.duration)||0},r);t(6,a=JSON.stringify(r))}function d(v){r[v.key].duration=At(this.value),t(0,r)}const h=v=>{r[v.key].secret?(delete r[v.key].secret,t(0,r)):t(0,r[v.key].secret=B.randomString(50),r)},b=()=>c();return n.$$.update=()=>{n.$$.dirty&65&&t(3,i=a!=JSON.stringify(r))},[r,l,s,i,o,c,a,d,h,b]}class xO extends Ie{constructor(e){super(),Le(this,e,CO,SO,Ee,{})}}const MO={"/_elements":Zt({asyncComponent:()=>_i(()=>import("./Elements.2869a546.js"),[])}),"/login":Zt({component:rD,conditions:[n=>!Se.AuthStore.isValid]}),"/request-password-reset":Zt({asyncComponent:()=>_i(()=>import("./PageAdminRequestPasswordReset.0a052199.js"),[]),conditions:[n=>!Se.AuthStore.isValid]}),"/confirm-password-reset/:token":Zt({asyncComponent:()=>_i(()=>import("./PageAdminConfirmPasswordReset.57d58c40.js"),[]),conditions:[n=>!Se.AuthStore.isValid]}),"/collections":Zt({component:oA,conditions:[n=>Se.AuthStore.isValid]}),"/logs":Zt({component:mC,conditions:[n=>Se.AuthStore.isValid]}),"/users":Zt({component:AA,conditions:[n=>Se.AuthStore.isValid]}),"/users/confirm-password-reset/:token":Zt({asyncComponent:()=>_i(()=>import("./PageUserConfirmPasswordReset.4958abe6.js"),[]),conditions:[()=>(Se.logout(!1),!0)]}),"/users/confirm-verification/:token":Zt({asyncComponent:()=>_i(()=>import("./PageUserConfirmVerification.0a7f1f6d.js"),[]),conditions:[()=>(Se.logout(!1),!0)]}),"/users/confirm-email-change/:token":Zt({asyncComponent:()=>_i(()=>import("./PageUserConfirmEmailChange.9a3b7953.js"),[]),conditions:[()=>(Se.logout(!1),!0)]}),"/settings":Zt({component:pD,conditions:[n=>Se.AuthStore.isValid]}),"/settings/admins":Zt({component:JA,conditions:[n=>Se.AuthStore.isValid]}),"/settings/mail":Zt({component:PD,conditions:[n=>Se.AuthStore.isValid]}),"/settings/storage":Zt({component:BD,conditions:[n=>Se.AuthStore.isValid]}),"/settings/auth-providers":Zt({component:vO,conditions:[n=>Se.AuthStore.isValid]}),"/settings/tokens":Zt({component:xO,conditions:[n=>Se.AuthStore.isValid]}),"*":Zt({asyncComponent:()=>_i(()=>import("./NotFoundPage.4f8805ef.js"),[])})};function $O(n,{from:e,to:t},i={}){const o=getComputedStyle(n),r=o.transform==="none"?"":o.transform,[l,s]=o.transformOrigin.split(" ").map(parseFloat),a=e.left+e.width*l/t.width-(t.left+l),f=e.top+e.height*s/t.height-(t.top+s),{delay:c=0,duration:u=h=>Math.sqrt(h)*120,easing:d=As}=i;return{delay:c,duration:Yn(u)?u(Math.sqrt(a*a+f*f)):u,easing:d,css:(h,b)=>{const v=b*a,_=b*f,y=h+b*e.width/t.width,S=h+b*e.height/t.height;return`transform: ${r} translate(${v}px, ${_}px) scale(${y}, ${S});`}}}function Pb(n,e,t){const i=n.slice();return i[2]=e[t],i}function AO(n){let e;return{c(){e=g("i"),p(e,"class","ri-alert-line")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function DO(n){let e;return{c(){e=g("i"),p(e,"class","ri-checkbox-circle-line")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function OO(n){let e;return{c(){e=g("i"),p(e,"class","ri-information-line")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function Fb(n,e){let t,i,o,r,l=e[2].message+"",s,a,f,c,u,d,h=le,b,v,_;function y(M,A){return M[2].type==="info"?OO:M[2].type==="success"?DO:AO}let S=y(e),C=S(e);function x(){return e[1](e[2])}return{key:n,first:null,c(){t=g("div"),i=g("div"),C.c(),o=$(),r=g("div"),s=j(l),a=$(),f=g("div"),f.innerHTML='',c=$(),p(i,"class","icon"),p(r,"class","content"),p(f,"class","close"),p(t,"class","alert txt-break"),ne(t,"alert-info",e[2].type=="info"),ne(t,"alert-success",e[2].type=="success"),ne(t,"alert-danger",e[2].type=="error"),ne(t,"alert-warning",e[2].type=="warning"),this.first=t},m(M,A){w(M,t,A),m(t,i),C.m(i,null),m(t,o),m(t,r),m(r,s),m(t,a),m(t,f),m(t,c),b=!0,v||(_=X(f,"click",Gt(x)),v=!0)},p(M,A){e=M,S!==(S=y(e))&&(C.d(1),C=S(e),C&&(C.c(),C.m(i,null))),(!b||A&1)&&l!==(l=e[2].message+"")&&ge(s,l),A&1&&ne(t,"alert-info",e[2].type=="info"),A&1&&ne(t,"alert-success",e[2].type=="success"),A&1&&ne(t,"alert-danger",e[2].type=="error"),A&1&&ne(t,"alert-warning",e[2].type=="warning")},r(){d=t.getBoundingClientRect()},f(){U1(t),h(),Ub(t,d)},a(){h(),h=B1(t,d,$O,{duration:150})},i(M){b||(Dt(()=>{u||(u=ct(t,rs,{duration:150},!0)),u.run(1)}),b=!0)},o(M){u||(u=ct(t,rs,{duration:150},!1)),u.run(0),b=!1},d(M){M&&k(t),C.d(),M&&u&&u.end(),v=!1,_()}}}function TO(n){let e,t=[],i=new Map,o,r=n[0];const l=s=>s[2].message;for(let s=0;sAdjust common token options.
",f=$(),u.c(),p(o,"class","page-header"),p(a,"class","content m-b-sm txt-xl"),p(s,"class","panel"),p(s,"autocomplete","off"),p(l,"class","wrapper"),p(i,"class","page-wrapper")},m(S,C){H(e,S,C),w(S,t,C),w(S,i,C),m(i,o),m(i,r),m(i,l),m(l,s),m(s,a),m(s,f),_[c].m(s,null),d=!0,h||(b=X(s,"submit",Gt(n[5])),h=!0)},p(S,[C]){let x=c;c=y(S),c===x?_[c].p(S,C):(Ae(),F(_[x],1,1,()=>{_[x]=null}),De(),u=_[c],u?u.p(S,C):(u=_[c]=v[c](S),u.c()),T(u,1),u.m(s,null))},i(S){d||(T(e.$$.fragment,S),T(u),d=!0)},o(S){F(e.$$.fragment,S),F(u),d=!1},d(S){q(e,S),S&&k(t),S&&k(i),_[c].d(),h=!1,b()}}}function CO(n,e,t){let i;const o=[{key:"userAuthToken",label:"Users auth token"},{key:"userVerificationToken",label:"Users email verification token"},{key:"userPasswordResetToken",label:"Users password reset token"},{key:"userEmailChangeToken",label:"Users email change token"},{key:"adminAuthToken",label:"Admins auth token"},{key:"adminPasswordResetToken",label:"Admins password reset token"}];let r={},l=!1,s=!1,a="";B.setDocumentTitle("Token options"),f();async function f(){t(1,l=!0);try{const v=await Se.Settings.getAll()||{};u(v)}catch(v){Se.errorResponseHandler(v)}t(1,l=!1)}async function c(){if(!(s||!i)){t(2,s=!0);try{const v=await Se.Settings.update(B.filterRedactedProps(r));u(v),hn("Successfully saved tokens options.")}catch(v){Se.errorResponseHandler(v)}t(2,s=!1)}}function u(v){var _;v=v||{},t(0,r={});for(const y of o)t(0,r[y.key]={duration:((_=v[y.key])==null?void 0:_.duration)||0},r);t(6,a=JSON.stringify(r))}function d(v){r[v.key].duration=At(this.value),t(0,r)}const h=v=>{r[v.key].secret?(delete r[v.key].secret,t(0,r)):t(0,r[v.key].secret=B.randomString(50),r)},b=()=>c();return n.$$.update=()=>{n.$$.dirty&65&&t(3,i=a!=JSON.stringify(r))},[r,l,s,i,o,c,a,d,h,b]}class xO extends Ie{constructor(e){super(),Le(this,e,CO,SO,Ee,{})}}const MO={"/_elements":Zt({asyncComponent:()=>_i(()=>import("./Elements.fba5cef6.js"),[])}),"/login":Zt({component:rD,conditions:[n=>!Se.AuthStore.isValid]}),"/request-password-reset":Zt({asyncComponent:()=>_i(()=>import("./PageAdminRequestPasswordReset.45866e03.js"),[]),conditions:[n=>!Se.AuthStore.isValid]}),"/confirm-password-reset/:token":Zt({asyncComponent:()=>_i(()=>import("./PageAdminConfirmPasswordReset.6f7f63d0.js"),[]),conditions:[n=>!Se.AuthStore.isValid]}),"/collections":Zt({component:oA,conditions:[n=>Se.AuthStore.isValid]}),"/logs":Zt({component:mC,conditions:[n=>Se.AuthStore.isValid]}),"/users":Zt({component:AA,conditions:[n=>Se.AuthStore.isValid]}),"/users/confirm-password-reset/:token":Zt({asyncComponent:()=>_i(()=>import("./PageUserConfirmPasswordReset.6d56895b.js"),[]),conditions:[()=>(Se.logout(!1),!0)]}),"/users/confirm-verification/:token":Zt({asyncComponent:()=>_i(()=>import("./PageUserConfirmVerification.8d023a32.js"),[]),conditions:[()=>(Se.logout(!1),!0)]}),"/users/confirm-email-change/:token":Zt({asyncComponent:()=>_i(()=>import("./PageUserConfirmEmailChange.a2624070.js"),[]),conditions:[()=>(Se.logout(!1),!0)]}),"/settings":Zt({component:pD,conditions:[n=>Se.AuthStore.isValid]}),"/settings/admins":Zt({component:JA,conditions:[n=>Se.AuthStore.isValid]}),"/settings/mail":Zt({component:PD,conditions:[n=>Se.AuthStore.isValid]}),"/settings/storage":Zt({component:BD,conditions:[n=>Se.AuthStore.isValid]}),"/settings/auth-providers":Zt({component:vO,conditions:[n=>Se.AuthStore.isValid]}),"/settings/tokens":Zt({component:xO,conditions:[n=>Se.AuthStore.isValid]}),"*":Zt({asyncComponent:()=>_i(()=>import("./NotFoundPage.899a1d8c.js"),[])})};function $O(n,{from:e,to:t},i={}){const o=getComputedStyle(n),r=o.transform==="none"?"":o.transform,[l,s]=o.transformOrigin.split(" ").map(parseFloat),a=e.left+e.width*l/t.width-(t.left+l),f=e.top+e.height*s/t.height-(t.top+s),{delay:c=0,duration:u=h=>Math.sqrt(h)*120,easing:d=As}=i;return{delay:c,duration:Yn(u)?u(Math.sqrt(a*a+f*f)):u,easing:d,css:(h,b)=>{const v=b*a,_=b*f,y=h+b*e.width/t.width,S=h+b*e.height/t.height;return`transform: ${r} translate(${v}px, ${_}px) scale(${y}, ${S});`}}}function Pb(n,e,t){const i=n.slice();return i[2]=e[t],i}function AO(n){let e;return{c(){e=g("i"),p(e,"class","ri-alert-line")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function DO(n){let e;return{c(){e=g("i"),p(e,"class","ri-checkbox-circle-line")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function OO(n){let e;return{c(){e=g("i"),p(e,"class","ri-information-line")},m(t,i){w(t,e,i)},d(t){t&&k(e)}}}function Fb(n,e){let t,i,o,r,l=e[2].message+"",s,a,f,c,u,d,h=le,b,v,_;function y(M,A){return M[2].type==="info"?OO:M[2].type==="success"?DO:AO}let S=y(e),C=S(e);function x(){return e[1](e[2])}return{key:n,first:null,c(){t=g("div"),i=g("div"),C.c(),o=$(),r=g("div"),s=j(l),a=$(),f=g("div"),f.innerHTML='',c=$(),p(i,"class","icon"),p(r,"class","content"),p(f,"class","close"),p(t,"class","alert txt-break"),ne(t,"alert-info",e[2].type=="info"),ne(t,"alert-success",e[2].type=="success"),ne(t,"alert-danger",e[2].type=="error"),ne(t,"alert-warning",e[2].type=="warning"),this.first=t},m(M,A){w(M,t,A),m(t,i),C.m(i,null),m(t,o),m(t,r),m(r,s),m(t,a),m(t,f),m(t,c),b=!0,v||(_=X(f,"click",Gt(x)),v=!0)},p(M,A){e=M,S!==(S=y(e))&&(C.d(1),C=S(e),C&&(C.c(),C.m(i,null))),(!b||A&1)&&l!==(l=e[2].message+"")&&ge(s,l),A&1&&ne(t,"alert-info",e[2].type=="info"),A&1&&ne(t,"alert-success",e[2].type=="success"),A&1&&ne(t,"alert-danger",e[2].type=="error"),A&1&&ne(t,"alert-warning",e[2].type=="warning")},r(){d=t.getBoundingClientRect()},f(){U1(t),h(),Ub(t,d)},a(){h(),h=B1(t,d,$O,{duration:150})},i(M){b||(Dt(()=>{u||(u=ct(t,rs,{duration:150},!0)),u.run(1)}),b=!0)},o(M){u||(u=ct(t,rs,{duration:150},!1)),u.run(0),b=!1},d(M){M&&k(t),C.d(),M&&u&&u.end(),v=!1,_()}}}function TO(n){let e,t=[],i=new Map,o,r=n[0];const l=s=>s[2].message;for(let s=0;s