2023-04-20 14:36:42 +02:00
import { S as J , i as M , s as W , F as Y , c as H , m as N , t as y , a as q , d as T , C as j , E as A , g as _ , k as B , n as D , o as m , R as K , G as O , p as Q , q as E , e as b , w as R , b as P , f as p , r as G , h as w , u as S , v as U , y as F , x as V , z as h } from "./index-adcaa630.js" ; function X ( r ) { let e , l , s , n , t , o , c , a , i , u , v , k , g , C , d = r [ 4 ] && I ( r ) ; return o = new E ( { props : { class : "form-field required" , name : "password" , $$slots : { default : [ x , ( { uniqueId : f } ) => ( { 10 : f } ) , ( { uniqueId : f } ) => f ? 1024 : 0 ] } , $$scope : { ctx : r } } } ) , a = new E ( { props : { class : "form-field required" , name : "passwordConfirm" , $$slots : { default : [ ee , ( { uniqueId : f } ) => ( { 10 : f } ) , ( { uniqueId : f } ) => f ? 1024 : 0 ] } , $$scope : { ctx : r } } } ) , { c ( ) { e = b ( "form" ) , l = b ( "div" ) , s = b ( "h5" ) , n = R ( ` Reset your user password
2023-04-05 12:23:22 +02:00
` ),d&&d.c(),t=P(),H(o. $ $ .fragment),c=P(),H(a. $ $ .fragment),i=P(),u=b("button"),v=b("span"),v.textContent="Set new password",p(l,"class","content txt-center m-b-base"),p(v,"class","txt"),p(u,"type","submit"),p(u,"class","btn btn-lg btn-block"),u.disabled=r[2],G(u,"btn-loading",r[2])},m(f, $ ){_(f,e, $ ),w(e,l),w(l,s),w(s,n),d&&d.m(s,null),w(e,t),N(o,e,null),w(e,c),N(a,e,null),w(e,i),w(e,u),w(u,v),k=!0,g||(C=S(e,"submit",U(r[5])),g=!0)},p(f, $ ){f[4]?d?d.p(f, $ ):(d=I(f),d.c(),d.m(s,null)):d&&(d.d(1),d=null);const L={}; $ &3073&&(L. $ $ scope={dirty: $ ,ctx:f}),o. $ set(L);const z={}; $ &3074&&(z. $ $ scope={dirty: $ ,ctx:f}),a. $ set(z),(!k|| $ &4)&&(u.disabled=f[2]),(!k|| $ &4)&&G(u,"btn-loading",f[2])},i(f){k||(y(o. $ $ .fragment,f),y(a. $ $ .fragment,f),k=!0)},o(f){q(o. $ $ .fragment,f),q(a. $ $ .fragment,f),k=!1},d(f){f&&m(e),d&&d.d(),T(o),T(a),g=!1,C()}}}function Z(r){let e,l,s,n,t;return{c(){e=b("div"),e.innerHTML= ` < div class = "icon" > < i class = "ri-checkbox-circle-line" > < / i > < / d i v >
2023-04-05 12:23:22 +02:00
< p > You can now sign in with your new password . < / p > < / d i v > ` , l = P ( ) , s = b ( " b u t t o n " ) , s . t e x t C o n t e n t = " C l o s e " , p ( e , " c l a s s " , " a l e r t a l e r t - s u c c e s s " ) , p ( s , " t y p e " , " b u t t o n " ) , p ( s , " c l a s s " , " b t n b t n - t r a n s p a r e n t b t n - b l o c k " ) } , m ( o , c ) { _ ( o , e , c ) , _ ( o , l , c ) , _ ( o , s , c ) , n | | ( t = S ( s , " c l i c k " , r [ 7 ] ) , n = ! 0 ) } , p : F , i : F , o : F , d ( o ) { o & & m ( e ) , o & & m ( l ) , o & & m ( s ) , n = ! 1 , t ( ) } } } f u n c t i o n I ( r ) { l e t e , l , s ; r e t u r n { c ( ) { e = R ( " f o r " ) , l = b ( " s t r o n g " ) , s = R ( r [ 4 ] ) } , m ( n , t ) { _ ( n , e , t ) , _ ( n , l , t ) , w ( l , s ) } , p ( n , t ) { t & 1 6 & & V ( s , n [ 4 ] ) } , d ( n ) { n & & m ( e ) , n & & m ( l ) } } } f u n c t i o n x ( r ) { l e t e , l , s , n , t , o , c , a ; r e t u r n { c ( ) { e = b ( " l a b e l " ) , l = R ( " N e w p a s s w o r d " ) , n = P ( ) , t = b ( " i n p u t " ) , p ( e , " f o r " , s = r [ 1 0 ] ) , p ( t , " t y p e " , " p a s s w o r d " ) , p ( t , " i d " , o = r [ 1 0 ] ) , t . r e q u i r e d = ! 0 , t . a u t o f o c u s = ! 0 } , m ( i , u ) { _ ( i , e , u ) , w ( e , l ) , _ ( i , n , u ) , _ ( i , t , u ) , h ( t , r [ 0 ] ) , t . f o c u s ( ) , c | | ( a = S ( t , " i n p u t " , r [ 8 ] ) , c = ! 0 ) } , p ( i , u ) { u & 1 0 2 4 & & s ! = = ( s = i [ 1 0 ] ) & & p ( e , " f o r " , s ) , u & 1 0 2 4 & & o ! = = ( o = i [ 1 0 ] ) & & p ( t , " i d " , o ) , u & 1 & & t . v a l u e ! = = i [ 0 ] & & h ( t , i [ 0 ] ) } , d ( i ) { i & & m ( e ) , i & & m ( n ) , i & & m ( t ) , c = ! 1 , a ( ) } } } f u n c t i o n e e ( r ) { l e t e , l , s , n , t , o , c , a ; r e t u r n { c ( ) { e = b ( " l a b e l " ) , l = R ( " N e w p a s s w o r d c o n f i r m " ) , n = P ( ) , t = b ( " i n p u t " ) , p ( e , " f o r " , s = r [ 1 0 ] ) , p ( t , " t y p e " , " p a s s w o r d " ) , p ( t , " i d " , o = r [ 1 0 ] ) , t . r e q u i r e d = ! 0 } , m ( i , u ) { _ ( i , e , u ) , w ( e , l ) , _ ( i , n , u ) , _ ( i , t , u ) , h ( t , r [ 1 ] ) , c | | ( a = S ( t , " i n p u t " , r [ 9 ] ) , c = ! 0 ) } , p ( i , u ) { u & 1 0 2 4 & & s ! = = ( s = i [ 1 0 ] ) & & p ( e , " f o r " , s ) , u & 1 0 2 4 & & o ! = = ( o = i [ 1 0 ] ) & & p ( t , " i d " , o ) , u & 2 & & t . v a l u e ! = = i [ 1 ] & & h ( t , i [ 1 ] ) } , d ( i ) { i & & m ( e ) , i & & m ( n ) , i & & m ( t ) , c = ! 1 , a ( ) } } } f u n c t i o n t e ( r ) { l e t e , l , s , n ; c o n s t t = [ Z , X ] , o = [ ] ; f u n c t i o n c ( a , i ) { r e t u r n a [ 3 ] ? 0 : 1 } r e t u r n e = c ( r ) , l = o [ e ] = t [ e ] ( r ) , { c ( ) { l . c ( ) , s = A ( ) } , m ( a , i ) { o [ e ] . m ( a , i ) , _ ( a , s , i ) , n = ! 0 } , p ( a , i ) { l e t u = e ; e = c ( a ) , e = = = u ? o [ e ] . p ( a , i ) : ( B ( ) , q ( o [ u ] , 1 , 1 , ( ) = > { o [ u ] = n u l l } ) , D ( ) , l = o [ e ] , l ? l . p ( a , i ) : ( l = o [ e ] = t [ e ] ( a ) , l . c ( ) ) , y ( l , 1 ) , l . m ( s . p a r e n t N o d e , s ) ) } , i ( a ) { n | | ( y ( l ) , n = ! 0 ) } , o ( a ) { q ( l ) , n = ! 1 } , d ( a ) { o [ e ] . d ( a ) , a & & m ( s ) } } } f u n c t i o n s e ( r ) { l e t e , l ; r e t u r n e = n e w Y ( { p r o p s : { n o b r a n d i n g : ! 0 , $ $ s l o t s : { d e f a u l t : [ t e ] } , $ $ s c o p e : { c t x : r } } } ) , { c ( ) { H ( e . $ $ . f r a g m e n t ) } , m ( s , n ) { N ( e , s , n ) , l = ! 0 } , p ( s , [ n ] ) { c o n s t t = { } ; n & 2 0 7 9 & & ( t . $ $ s c o p e = { d i r t y : n , c t x : s } ) , e . $ s e t ( t ) } , i ( s ) { l | | ( y ( e . $ $ . f r a g m e n t , s ) , l = ! 0 ) } , o ( s ) { q ( e . $ $ . f r a g m e n t , s ) , l = ! 1 } , d ( s ) { T ( e , s ) } } } f u n c t i o n l e ( r , e , l ) { l e t s , { p a r a m s : n } = e , t = " " , o = " " , c = ! 1 , a = ! 1 ; a s y n c f u n c t i o n i ( ) { i f ( c ) r e t u r n ; l ( 2 , c = ! 0 ) ; c o n s t g = n e w K ( " . . / " ) ; t r y { c o n s t C = O ( n = = n u l l ? v o i d 0 : n . t o k e n ) ; a w a i t g . c o l l e c t i o n ( C . c o l l e c t i o n I d ) . c o n f i r m P a s s w o r d R e s e t ( n = = n u l l ? v o i d 0 : n . t o k e n , t , o ) , l ( 3 , a = ! 0 ) } c a t c h ( C ) { Q . e r r o r R e s p o n s e H a n d l e r ( C ) } l ( 2 , c = ! 1 ) } c o n s t u = ( ) = > w i n d o w . c l o s e ( ) ; f u n c t i o n v ( ) { t = t h i s . v a l u e , l ( 0 , t ) } f u n c t i o n k ( ) { o = t h i s . v a l u e , l ( 1 , o ) } r e t u r n r . $ $ s e t = g = > { " p a r a m s " i n g & & l ( 6 , n = g . p a r a m s ) } , r . $ $ . u p d a t e = ( ) = > { r . $ $ . d i r t y & 6 4 & & l ( 4 , s = j . g e t J W T P a y l o a d ( n = = n u l l ? v o i d 0 : n . t o k e n ) . e m a i l | | " " ) } , [ t , o , c , a , s , i , n , u , v , k ] } c l a s s o e e x t e n d s J { c o n s t r u c t o r ( e ) { s u p e r ( ) , M ( t h i s , e , l e , s e , W , { p a r a m s : 6 } ) } } e x p o r t { o e a s d e f a u l t } ;