1import{a3 as v,c as f,V as F,n as c,l as n,t as s,f as a,J as _,u as g,B as m}from"./_virtual_mf___mfe_internal__portal__mf_owner__7439852795987__loadShare__vue__loadShare__.js-KUMFcvIH.js";import{_ as x,j as I,E as u,m as O,c as y,d as A,n as N}from"./index-B_YpKGal.js";import{d as $}from"./_virtual_mf___mfe_internal__portal__mf_owner__7439852795987__loadShare__vue_mf_2_router__loadShare__.js-CDVQtiMN.js";import l from"./GenericCoreFailureNew-DutVahY1.js";import C from"./MaintenanceFailure-D_sStEV8.js";import"../remoteEntry-BiX--A5C.js";import"./vite-preload-helper-ckwbz45p.js";import"./index-KlUvn4z8.js";import"./_virtual_mf___mfe_internal__portal__mf_owner__7439852795987__loadShare___mf_0_fsecure_mf_1_hades_mf_2_vue__loadShare__.js-dxIjHVMd.js";import"./_virtual_mf___mfe_internal__portal__mf_owner__7439852795987__loadShare__vue_mf_2_i18n__loadShare__.js-7QAJVgUk.js";const M={key:0},U={key:1},R={key:2},S={key:3},H={key:4},J={__name:"ErrorPage",setup(q){const d=v("$log"),p=$(),r=I();let i="",t="";const T=f(()=>t===u.TOKEN_FAILURE),b=f(()=>t===u.NOT_FOUND_FAILURE),h=f(()=>t===u.LOGIN_FAILURE),k=O();F(()=>{const o=y(p.query.access_denied);let e=y(p.query.xtr);try{e&&(e=JSON.parse(A.decode(e)),r.errorType=e.errorType,r.xTransaction=e.xtr)}catch(L){d.info("error parsing xtr param",L)}o==="true"&&(r.errorType=u.LOGIN_FAILURE),i=r.xTransaction,t=r.errorType,d.debug("error type: ",t),r.errorType=null,r.xTransaction=null});function P(){N(!1)}function E(){window.location="/"}return(o,e)=>c(k)?(n(),s("div",M,[a(C)])):T.value?(n(),s("div",U,[a(l,{"transaction-msg":c(i),"generic-error":"errorPage.genericError"},{buttons:_(()=>[g("button",{class:"hds-button",onClick:P},m(o.$t("errorPage.tryAgain")),1)]),_:1},8,["transaction-msg"])])):b.value?(n(),s("div",R,[a(l,{code:404,"generic-error":"errorPage.notFoundError"},{buttons:_(()=>[g("button",{class:"hds-button",onClick:E},m(o.$t("errorPage.goToHomePage")),1)]),_:1})])):h.value?(n(),s("div",S,[a(l,{"transaction-msg":c(i),"generic-msg":"errorPage.loginMsg","generic-error":"errorPage.loginError"},{buttons:_(()=>[g("button",{class:"hds-button",onClick:E},m(o.$t("errorPage.goToHomePage")),1)]),_:1},8,["transaction-msg"])])):(n(),s("div",H,[a(l,{"transaction-msg":c(i),icon:"screen-off","generic-error":"errorPage.genericError","generic-msg":"errorPage.genericMsg"},{buttons:_(()=>[g("button",{class:"hds-button",onClick:P},m(o.$t("errorPage.tryAgain")),1)]),_:1},8,["transaction-msg"])]))}},X=x(J,[["__scopeId","data-v-a81690bf"]]);export{X as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.