????

Your IP : 3.134.253.166


Current Path : C:/inetpub/vhost/dbadm.gdtsolutions.vn/web/js/
Upload File :
Current File : C:/inetpub/vhost/dbadm.gdtsolutions.vn/web/js/plugin-authentication-ad594adff363e93b41bb.js

/*! For license information please see ../license.txt */
"use strict";(self.webpackChunk_cloudbeaver_product_default=self.webpackChunk_cloudbeaver_product_default||[]).push([[46355],{89621:(e,i,t)=>{t.r(i),t.d(i,{AuthenticationLocaleService:()=>a});var o=t(1118),n=t(82103),r=t(5576),s=t(34227);let a=class AuthenticationLocaleService extends n.j{constructor(e){super(),this.localizationService=e}register(){this.localizationService.addProvider(this.provider.bind(this))}load(){}async provider(e){switch(e){case"ru":return(await Promise.all([t.e(92436),t.e(47030)]).then(t.bind(t,647))).default;case"it":return(await Promise.all([t.e(32756),t.e(79887)]).then(t.bind(t,23447))).default;case"zh":return(await Promise.all([t.e(52041),t.e(2268)]).then(t.bind(t,57132))).default;case"fr":return(await Promise.all([t.e(29671),t.e(35125)]).then(t.bind(t,74082))).default;default:return(await Promise.all([t.e(41114),t.e(57506)]).then(t.bind(t,64253))).default}}};a=(0,o.Cg)([(0,r._)(),(0,o.Sn)("design:paramtypes",[s.LocalizationService])],a)},76643:(e,i,t)=>{t.r(i),t.d(i,{AuthenticationService:()=>w});var o=t(1118),n=t(94866),r=t(21428),s=t(68164),a=t(56826),c=t(56078),d=t(11130),u=t(6332),l=t(82103),h=t(5576),g=t(14452),v=t(29606),f=t(86764),p=t(40813),S=t(30719),m=t(98076),_=t(40601),b=t(71086),P=t(45274),A=t(57385),x=t(35721),I=t(3453);let w=class AuthenticationService extends l.j{constructor(e,i,t,o,n,r,c,d,u,l,h,g,f){super(),this.screenService=e,this.appAuthService=i,this.authDialogService=t,this.userInfoResource=o,this.notificationService=n,this.administrationScreenService=r,this.authProviderService=c,this.authProvidersResource=d,this.sessionDataResource=u,this.serverConfigResource=l,this.windowsService=h,this.sessionActionService=g,this.navigationService=f,this.requestAuthProviderHandler=async(e,i)=>{if(await this.waitAuth(),e.providerId!==s.T){if(await this.authProvidersResource.load(),await this.userInfoResource.load(),this.authProvidersResource.has(e.providerId)&&(this.userInfoResource.hasToken(e.providerId)||await this.auth(!1,{providerId:e.providerId,configurationId:e.configurationId}),this.userInfoResource.hasToken(e.providerId))){i.getContext(a.AuthProviderContext).auth()}}else{i.getContext(a.AuthProviderContext).auth()}},this.onLogout=new v.Q,this.onLogin=new v.Q,this.onLogout.before(this.navigationService.navigationTask),this.authPromise=null,this.configureAuthProvider=null,this.configureIdentityProvider=null}setConfigureAuthProvider(e){this.configureAuthProvider=e}setConfigureIdentityProvider(e){this.configureIdentityProvider=e}async authUser(e=null,i){await this.auth(!1,{providerId:e,linkUser:i})}async logout(e,i){const t=await this.onLogout.execute("before");if(!f.a.isInterrupted(t))try{const t=await this.userInfoResource.logout(e,i);this.handleRedirectLinks(t.result),this.administrationScreenService.isConfigurationMode||e||this.screenService.navigateToRoot(),await this.onLogout.execute("after")}catch(e){this.notificationService.logException(e,"authentication_logout_error")}}handleRedirectLinks(e){const i=e.redirectLinks;if(i.length){const e=i[0],t=`okta-logout-id-${(0,x.u)()}`,o=this.windowsService.open(t,{url:e,target:t,width:600,height:700});o&&(o.blur(),window.focus())}}async auth(e,i){if(this.authPromise)return void await this.waitAuth();const t=await this.onLogin.execute("before");if(!f.a.isInterrupted(t)){if(i=(0,n.sH)(i),this.authPromise=this.authDialogService.showLoginForm(e,i).then((async e=>(await this.onLogin.execute("after"),e))).finally((()=>{this.authPromise=null})),this.serverConfigResource.redirectOnFederatedAuth){await this.authProvidersResource.load(p.fZ);const e=this.authProvidersResource.getEnabledProviders();if(1===e.length){const t=e.find((e=>e.configurable));if(1===t?.configurations?.length){const e=t.configurations[0];i.providerId=t.id,i.configurationId=e.id}}}await this.authPromise}}async requireAuthentication(){await this.waitAuth();await this.appAuthService.isAuthNeeded()&&await this.auth(!0,{accessRequest:!0,providerId:null,linkUser:!1})}register(){this.sessionActionService.onAction.addHandler(this.authSessionAction.bind(this)),this.sessionDataResource.onDataUpdate.addPostHandler((()=>{this.requireAuthentication()})),this.screenService.routeChange.addHandler((()=>this.requireAuthentication())),this.administrationScreenService.ensurePermissions.addHandler((async()=>{await this.waitAuth();await this.userInfoResource.load()||await this.auth(!1,{providerId:null,linkUser:!1,accessRequest:!0})})),this.authProviderService.requestAuthProvider.addHandler(this.requestAuthProviderHandler)}async authSessionAction(e,i){const t=i.getContext(S.sessionActionContext);if(function isAutoLoginSessionAction(e){return e&&"action"in e&&"auto-login"===e.action}(e)){await this.userInfoResource.finishFederatedAuthentication(e["auth-id"],!1)&&this.authDialogService.closeLoginForm(),t.process()}}async waitAuth(){try{await this.authPromise}catch{}}};w=(0,o.Cg)([(0,h._)(),(0,o.Sn)("design:paramtypes",[b.ScreenService,c.AppAuthService,I.AuthDialogService,d.UserInfoResource,g.NotificationService,r.AdministrationScreenService,a.AuthProviderService,u.AuthProvidersResource,m.SessionDataResource,_.ServerConfigResource,P.WindowsService,S.SessionActionService,A.NavigationService])],w)},3453:(e,i,t)=>{t.r(i),t.d(i,{AuthDialogService:()=>he});var o=t(1118),n=t(5576),r=t(71635),s=t(41773),a=t(7838),c=t(11130),d=t(64928),u=t(90447),l=t(17675),h=t(34685),g=t(14249),v=t(27863),f=t(51477),p=t(7167),S=t(62204),m=t(92659),_=t(84972),b=t(9428),P=t(76652),A=t(86162),x=t(20272),I=t(18699),w=t(22321),C=t(44451),y=t(43659),j=t(19259),k=t(76643);const L={wrapper:"wrapper___FDzKB",tabList:"tabList___I4cCw",tab:"tab___qgqRe",submittingForm:"submittingForm___Qf4NM",authProviderForm:"authProviderForm___zfpQ3",configurationsList:"configurationsList___wrLPy",errorMessage:"errorMessage___hcM0e theme-background-secondary theme-text-on-secondary",tooManySessionsCheckbox:"tooManySessionsCheckbox___T3Chu"};var R=t(89232);const T={footerContainer:"footerContainer___GuW0S",button:"button___SQiTo"},N=(0,a.PA)((function AuthDialogFooter({authAvailable:e,isAuthenticating:i,onLogin:t,children:o}){const n=(0,l.W)(),r=(0,d.d)(T);return(0,s.jsxs)("div",{className:(0,p.s)(r,{footerContainer:!0}),children:[o,e&&(0,s.jsx)(R.$,{className:(0,p.s)(r,{button:!0}),type:"button",mod:["unelevated"],loading:i,onClick:t,children:n("authentication_login")})]})}));var D=t(35025),M=t(16101),E=t(86795),H=t(39865);const F=(0,a.PA)((function AuthProviderForm({provider:e,configuration:i,credentials:t,authenticate:o}){const[n]=(0,D.i)({focusFirstChild:!0});const r=e.credentialProfiles[t.profile];return(0,s.jsxs)(M.Y,{ref:n,gap:!0,small:!0,center:!0,children:[e.credentialProfiles.length>1&&(0,s.jsx)(E.G,{name:"profile",state:t,items:e.credentialProfiles,keySelector:(e,i)=>i+"",valueSelector:e=>e.label,titleSelector:e=>e.description,defaultValue:"0",disabled:o,onSelect:function handleProfileSelect(){t.credentials={}}}),r.credentialParameters.map((n=>n.user&&(0,s.jsx)(H.F,{required:e.required,title:n.description,type:"none"===n.encryption?"text":"password",name:n.id,state:t.credentials,disabled:o,canShowPassword:!1,autoComplete:`section-authentication section-${e.id} ${i?.id??""} ${n.id}`,children:n.displayName},`${e.id}${i?.id??""}${n.id}`)))]})}));var U=t(15993),$=t(6332),q=t(57515),z=t(28443),W=t(69519),O=t(70500),B=t(408),G=t(90748),K=t(39755),Q=t(26037);const X={filter:"filter___WXaJb",cell:"cell___C7yuc theme-border-color-secondary",iconOrImage:"iconOrImage___wx_cU"},Z=(0,a.PA)((function ConfigurationsList({activeProvider:e,activeConfiguration:i,providers:t,authTask:o,login:n,onClose:r,className:a}){const c=(0,I.h)(Q.ServerConfigurationAdministrationNavService),u=(0,I.h)(k.AuthenticationService),f=(0,l.W)(),S=(0,d.d)(X),[m,_]=(0,U.useState)(""),b=(0,z.K)(o),A=(0,I.h)($.AuthProvidersResource),x=(0,h.u)((()=>t.map((e=>(e.configurations||[]).filter((e=>e.signInLink)).map((i=>({provider:e,configuration:i}))))).flat())),w=x.slice().sort(((e,i)=>(0,q.comparePublicAuthConfigurations)(e.configuration,i.configuration)));let C;const y=!1===A.isEnabled(e?.id||"");return m||(C=w),C=w.filter((({configuration:e})=>`${e.displayName}${e.description||""}`.toUpperCase().includes(m.toUpperCase()))),0===x.length?(0,s.jsxs)(g.x,{children:[f("authentication_configure"),u.configureIdentityProvider&&(0,s.jsx)(v.N,{onClick:function navToIdentityProvidersSettings(){r?.(),u.configureIdentityProvider?.()},children:f("ui_configure")})]}):e&&i?(0,s.jsx)(P.m,{className:a,center:!0,children:(0,s.jsx)(W.a,{state:b,message:"authentication_authorizing",hideException:!0,children:(0,s.jsx)(P.m,{keepSize:!0,center:!0,children:y?(0,s.jsxs)(g.x,{children:[f("plugin_authentication_authentication_method_disabled"),u.configureIdentityProvider&&(0,s.jsx)(v.N,{onClick:function navToSettings(){r?.(),c.navToSettings()},children:f("ui_configure")})]}):(0,s.jsx)(R.$,{type:"button",mod:["unelevated"],onClick:()=>n(!1,e,i),children:(0,s.jsx)(O.H,{token:"authentication_login"})})})})}):(0,s.jsxs)(P.m,{className:a,noWrap:!0,vertical:!0,children:[x.length>=10&&(0,s.jsx)(P.m,{keepSize:!0,children:(0,s.jsx)(B.d,{className:(0,p.s)(S,{filter:!0}),placeholder:f("authentication_identity_provider_search_placeholder"),value:m,onChange:_})}),(0,s.jsx)(P.m,{overflow:!0,children:C.map((({provider:e,configuration:i})=>{const t=i.iconURL||e.icon,o=`${i.displayName}\n${i.description||""}`;return(0,s.jsx)(v.N,{title:o,wrapper:!0,onClick:()=>n(!1,e,i),children:(0,s.jsx)(G.f,{className:(0,p.s)(S,{cell:!0}),before:t?(0,s.jsx)(K.O,{className:(0,p.s)(S,{iconOrImage:!0}),icon:t}):void 0,description:i.description,children:i.displayName})},i.id)}))}),(0,s.jsx)(W.a,{state:b,message:"authentication_authorizing",overlay:!0,hideException:!0})]})})),J="federated";var V=t(94866),Y=t(21428),ee=t(90781),ie=t(84383),te=t(28347),oe=t(26533),ne=t(14452),re=t(3203),se=t(40813),ae=t(1142),ce=t(65359),de=t(38387),ue=t(87518);function useAuthDialogState(e,i,t){const o=(0,ie.q)(useAuthDialogState,$.AuthProvidersResource,se.fZ),n=(0,I.h)(Y.AdministrationScreenService),s=(0,I.h)(ee.AuthInfoService),a=(0,I.h)(ne.NotificationService),c=(0,I.h)(r.CommonDialogService),d=n.isAdministrationPageActive,u=o.data.filter(notEmptyProvider).sort(compareProviders),l=u.filter((e=>{if(e.federated||e.trusted||e.private)return!1;if(e.configurable&&0===(e.configurations?.length??0))return!1;if(null!==i)return e.id===i;return!!o.resource.isAuthEnabled(e.id)})),h=u.filter((e=>e.federated&&e.configurable&&(e.configurations?.length||0)>0&&o.resource.isAuthEnabled(e.id))),g=l.map((e=>e.configurable?e.configurations?.map((i=>getAuthProviderTabId(e,i)))??[]:e.id)).flat();h.length>0&&g.push(J);const v=(0,te.G)((()=>({tabId:null,activeProvider:null,activeConfiguration:null,tabIds:g,credentials:{profile:"0",credentials:{}},isTooManySessions:!1,forceSessionsLogout:!1,switchAuthMode(e,i=!0){null!==e&&e===this.tabId||(g.includes(e)?this.tabId=e:this.tabId=g[0]??null,i&&this.resetErrorState())},resetErrorState(){this.isTooManySessions=!1,this.forceSessionsLogout=!1,f.exception=null},setActiveProvider(e,i){const t=this.activeProvider?.id!==e?.id,o=this.activeConfiguration?.id!==i?.id;this.activeProvider=e,this.activeConfiguration=i,(t||o)&&(this.credentials.profile="0",this.credentials.credentials={}),e?e.federated?this.switchAuthMode(J):this.switchAuthMode(getAuthProviderTabId(e,i)):this.switchAuthMode(null,!1)}})),{tabId:V.sH.ref,activeProvider:V.sH.ref,activeConfiguration:V.sH.ref,credentials:V.sH,isTooManySessions:V.sH.ref,forceSessionsLogout:V.sH.ref,switchAuthMode:V.XI.bound,setActiveProvider:V.XI.bound,resetErrorState:V.XI.bound},!1);(0,V.O8)((()=>{(0,de.x)(v.tabIds,g,void 0,!0)||(v.tabIds=g)}));const f=(0,te.G)((()=>({exception:null,authenticating:!1,authTask:null,destroyed:!1,get configure(){return!!v.activeProvider&&!o.resource.isAuthEnabled(v.activeProvider.id)},async login(e,i,t){if(i=(i||v.activeProvider)??void 0,t=(t||v.activeConfiguration)??void 0,i&&!this.authenticating){if(v.isTooManySessions&&v.forceSessionsLogout){if(await c.open(oe.K,{title:"authentication_auth_force_session_logout_popup_title",message:"authentication_auth_force_session_logout_popup_message"})===r.DialogueStateResult.Rejected)throw new re.t("Force session logout confirmation dialog rejected")}this.authenticating=!0,v.isTooManySessions=!1;try{this.state.setActiveProvider(i,t??null);const o=s.login(i.id,{configurationId:t?.id,credentials:{...v.credentials,credentials:{...v.credentials.credentials,user:v.credentials.credentials.user?.trim(),password:v.credentials.credentials.password?.trim()}},forceSessionsLogout:v.forceSessionsLogout,linkUser:e});this.authTask=o,await o}catch(e){const i=(0,ue.M)(e,ae.X);throw i?.errorCode===ce.G.tooManySessions&&(v.isTooManySessions=!0),this.destroyed?a.logException(e,"Login failed"):this.exception=e,e}finally{this.authTask=null,this.authenticating=!1,i.federated&&(this.state.setActiveProvider(null,null),this.state.switchAuthMode(J,!1))}}}})),{state:V.sH.ref,exception:V.sH.ref,authenticating:V.sH.ref,authTask:V.sH.ref,tabIds:V.sH.ref,configure:V.EW,adminPageActive:V.sH.ref},{state:v,adminPageActive:d,tabIds:g,providers:l,federatedProviders:h});if((0,U.useEffect)((()=>()=>{f.destroyed=!0,f.authTask?.executing&&f.authTask?.cancel()}),[]),g.length>0&&(null===v.tabId||!g.includes(v.tabId))){const e=u.find((e=>e.id===i))||l[0]||null,o=e?.configurations?.find((e=>e.id===t))||e?.configurations?.[0]||null;v.setActiveProvider(e,o)}return f}function notEmptyProvider(e){return!!e&&"object"==typeof e}function compareProviders(e,i){return e.defaultProvider===i.defaultProvider?e.label.localeCompare(i.label):e.defaultProvider?-1:1}function getAuthProviderTabId(e,i){return i?e.id+"_"+i.id:e.id}const le=(0,a.PA)((function AuthDialog({payload:{providerId:e,configurationId:i,linkUser:t=!1,accessRequest:o=!1},options:n,rejectDialog:a}){const R=(0,d.d)(L),T=useAuthDialogState(0,e,i),D=(0,u.s)(T.exception),M=(0,I.h)(k.AuthenticationService),E=(0,I.h)(c.UserInfoResource),H=(0,I.h)(r.CommonDialogService),U=(0,l.W)(),$=T.state,q=null!==E.data&&void 0!==$.activeProvider?.id&&!E.hasToken($.activeProvider.id),z=(0,h.u)((()=>T.tabIds.length>1)),W=(0,h.u)((()=>0===T.tabIds.length)),O=$.tabId===J;let B,G,K,Q=U("authentication_login_dialog_title");async function login(e,i,t){try{await T.login(e,i,t),a()}catch{}}function navToSettings(){H.rejectAll(),M.configureAuthProvider?.()}return $.activeProvider?(B=$.activeProvider.label,G=$.activeProvider.description,K=$.activeProvider.icon,$.activeConfiguration&&(B+=` | ${$.activeConfiguration.displayName}`,K=$.activeConfiguration.iconURL||K,$.activeConfiguration.description&&(G=$.activeConfiguration.description))):O&&(Q=`${U("authentication_auth_federated")} ${Q}`,B="authentication_identity_provider_dialog_subtitle"),q&&(Q=`${U("authentication_auth_additional")} ${Q}`),(0,s.jsx)(w._,{currentTabId:$.tabId,onChange:e=>{$.switchAuthMode(e.tabId)},children:(0,s.jsxs)(f.n,{className:(0,p.s)(R,{wrapper:!0}),size:"large","aria-label":U("authentication_login_dialog_title"),autofocus:!1,children:[(0,s.jsx)(S.D,{title:Q,tooltip:G,icon:K,subTitle:B,onReject:n?.persistent?void 0:a}),(0,s.jsxs)(m.a,{noOverflow:O,noBodyPadding:!0,children:[z&&(0,s.jsxs)(C.w,{className:(0,p.s)(R,{tabList:!0}),"aria-label":"Auth providers",underline:!0,big:!0,children:[T.providers.map((e=>e.configurable?e.configurations?.map((i=>{const t=getAuthProviderTabId(e,i);return(0,s.jsx)(y.o,{tabId:t,title:i.displayName,disabled:T.authenticating,className:(0,p.s)(R,{tab:!0}),onClick:()=>{$.setActiveProvider(e,i)},children:(0,s.jsx)(j.I,{children:i.displayName})},t)})):(0,s.jsx)(y.o,{tabId:e.id,title:e.description||e.label,disabled:T.authenticating,className:(0,p.s)(R,{tab:!0}),onClick:()=>{$.setActiveProvider(e,null)},children:(0,s.jsx)(j.I,{children:e.label})},e.id))).flat(),T.federatedProviders.length>0&&(0,s.jsx)(y.o,{tabId:J,title:U("authentication_auth_federated"),className:(0,p.s)(R,{tab:!0}),disabled:T.authenticating,onClick:()=>{$.setActiveProvider(null,null),$.switchAuthMode(J)},children:(0,s.jsx)(j.I,{children:U("authentication_auth_federated")})},J)]}),O?(0,s.jsx)(Z,{activeProvider:$.activeProvider,activeConfiguration:$.activeConfiguration,providers:T.federatedProviders,authTask:T.authTask,className:(0,p.s)(R,{configurationsList:!0}),login,onClose:a}):(0,s.jsx)(_.l,{className:(0,p.s)(R,{submittingForm:!0}),onSubmit:()=>login(t),children:function renderForm(e,i){return e?T.configure?(0,s.jsxs)(g.x,{children:[U("authentication_provider_disabled"),M.configureAuthProvider&&(0,s.jsx)(v.N,{onClick:()=>{navToSettings()},children:U("ui_configure")})]}):(0,s.jsx)(F,{provider:e,configuration:i,credentials:$.credentials,authenticate:T.authenticating}):W?(0,s.jsxs)(g.x,{children:[U("authentication_configure"),(0,s.jsx)(v.N,{onClick:()=>{navToSettings()},children:U("ui_configure")})]}):(0,s.jsx)(g.x,{children:U("authentication_select_provider")})}($.activeProvider,$.activeConfiguration)})]}),(0,s.jsx)(b.Z,{children:(0,s.jsxs)(P.m,{children:[$.isTooManySessions&&(0,s.jsx)(A.S,{title:U("authentication_auth_force_session_logout_checkbox_tooltip"),className:(0,p.s)(R,{tooManySessionsCheckbox:!0}),checked:$.forceSessionsLogout,name:"forceSessionLogout",label:U("authentication_auth_force_session_logout"),onClick:e=>{$.forceSessionsLogout=e.currentTarget.checked}}),(0,s.jsx)(N,{authAvailable:!T.configure&&!O,isAuthenticating:T.authenticating,onLogin:()=>login(t),children:D.name&&(0,s.jsx)(x.K,{className:(0,p.s)(R,{errorMessage:!0}),text:D.message||D.name,hasDetails:D.hasDetails,onShowDetails:D.open})})]})})]})})}));let he=class AuthDialogService{get isPersistent(){return this.persistent}constructor(e){this.commonDialogService=e,this.persistent=!1,this.dialog=null}showLoginForm(e=!1,i={providerId:null}){return this.dialog||(this.persistent=e,this.dialog=this.commonDialogService.open(le,i,{persistent:e}),this.dialog.finally((()=>{this.dialog=null,this.persistent=!1}))),this.dialog}closeLoginForm(){this.dialog&&this.commonDialogService.rejectDialog(this.dialog)}};he=(0,o.Cg)([(0,n._)(),(0,o.Sn)("design:paramtypes",[r.CommonDialogService])],he)},59107:(e,i,t)=>{t.r(i),t.d(i,{PluginBootstrap:()=>h});var o=t(1118),n=t(90781),r=t(82103),s=t(5576),a=t(40601),c=t(6767),d=t(72877),u=t(38307),l=t(76643);let h=class PluginBootstrap extends r.j{constructor(e,i,t,o){super(),this.serverConfigResource=e,this.authenticationService=i,this.authInfoService=t,this.menuService=o}register(){this.menuService.addCreator({menus:[u.u],getItems:(e,i)=>this.serverConfigResource.enabledAuthProviders.length>0&&!this.authInfoService.userInfo?[...i,new c.y({id:"login",label:"authentication_login",tooltip:"authentication_login"},{onSelect:()=>this.authenticationService.authUser(null,!1)})]:this.authInfoService.userInfo?[...i,new c.y({id:"logout",label:"authentication_logout",tooltip:"authentication_logout"},{onSelect:()=>this.authenticationService.logout()})]:i,orderItems:(e,i)=>{const t=i.findIndex((e=>"logout"===e.id||"login"===e.id));if(t>-1){const e=i.splice(t,1);i.push(e[0])}return i}})}};h=(0,o.Cg)([(0,s._)(),(0,o.Sn)("design:paramtypes",[a.ServerConfigResource,l.AuthenticationService,n.AuthInfoService,d.MenuService])],h)},88965:(e,i,t)=>{t.r(i),t.d(i,{UserLoadingErrorDialogBootstrap:()=>u});var o=t(1118),n=t(11130),r=t(26533),s=t(82103),a=t(5576),c=t(71635),d=t(14452);let u=class UserLoadingErrorDialogBootstrap extends s.j{constructor(e,i,t){super(),this.userInfoResource=e,this.commonDialogService=i,this.notificationService=t,e.onException.addHandler(this.handleException.bind(this))}register(){}load(){}async handleException(e){this.notificationService.logException(e,"plugin_authentication_user_loading_error");await this.commonDialogService.open(r.K,{title:"plugin_authentication_loading_error_dialog_title",message:"plugin_authentication_loading_error_dialog_message"})===c.DialogueStateResult.Resolved&&await this.userInfoResource.logout()}};u=(0,o.Cg)([(0,a._)(),(0,o.Sn)("design:paramtypes",[n.UserInfoResource,c.CommonDialogService,d.NotificationService])],u)}}]);