PageSourceSearch

https://laposte.net/assets/TempLoginAuthSelection-D0u-1vsc.js

js laposte.net collected 2026-10-01 09:20:19 UTC 2,848 bytes, 1 lines download raw bytes

1import{R as _}from"./RegistrationLayout-B1CDpX6R.js";import{aq as C,u as D,bj as b,a as k,r as n,g as c,e as i,w as r,i as T,b as d,o as m,f as I,d as e,x as f,k as l,t as g,h as L,M as y,F as v,a1 as q}from"./main-CquFTi0V.js";import{u as M,r as u}from"./unload-warning-DraGX8ui.js";import{r as S,p as R}from"./login-temp-service-zkk3PUhf.js";import{A as V}from"./AsyncLoadingComponent-C0mt-HFp.js";import{_ as U}from"./INRedirectionModal-COM96Bdh.js";import"/conf/env.js";import"./TheSpinner-C62YLq_b.js";const z={class:"info-block"},P={style:{"font-style":"italic"}},B={key:0},O={__name:"TempLoginAuthSelection",setup(E){const w=C();D({title:"Validation de compte temporaire – Laposte.net"});const s=b(),p=d(!1),o=d({prefix:null,validityDays:null}),h=async()=>{try{const{redirect_url:t}=await R();u(),s.$reset(),window.location.replace(t)}catch(t){return t instanceof y?await n.push("/maintenance"):t instanceof v?await n.push("/non-autorise"):await n.push("/erreur"),!1}},x=async()=>{try{const t=await S();return u(),s.$reset(),await window.location.replace(t.inUrl),!0}catch(t){return t instanceof y?await n.push("/maintenance"):t instanceof v?await n.push("/non-autorise"):await n.push("/erreur"),!1}};function N(){u(),p.value=!0,setTimeout(()=>{window.location.replace(q)},w.inRedirectionDelay)}const{loading:A}=k(async()=>{if(!s.token&&!s.hasAuthMGC){await n.push("/non-autorise");return}s.hasAuthMGC=!1,o.value.prefix=s.prefix,o.value.validityDays=s.validityDays});return M(),(t,a)=>(m(),c(T,null,[i(_,{"show-stepper":!1},{default:r(()=>[i(V,{loading:I(A)},{default:r(()=>[a[3]||(a[3]=e("h1",null,"Activez votre adresse laposte.net",-1)),a[4]||(a[4]=e("div",{class:"info-block"},[e("p",null," Si vous possédez une Identité Numérique La Poste, renseignez vos identifiants Identité Numérique pour activer votre adresse de messagerie laposte.net et la rendre pleinement opérationnelle. ")],-1)),i(f,{class:"btn-in","progress-id":"identite-numerique-activation-button","progress-submit":!1,"solo-position":"center","progress-text":"Utiliser L'Identité Numérique",onTriggerProgress:x},{prepend:r(()=>[...a[0]||(a[0]=[e("span",{class:"in-logo"},null,-1)])]),_:1}),e("div",{class:"info-block"},[e("p",{style:{"text-align":"center"}},[e("a",{onClick:N},"Créez votre Identité Numérique")])]),i(f,{"progress-text":"Je me connecte à ma messagerie temporaire",onTriggerProgress:h}),e("div",z,[e("p",null,[e("span",P,[a[1]||(a[1]=e("strong",null,"Attention",-1)),a[2]||(a[2]=l(", sans authentification à votre compte Identité Numérique dans les ",-1)),e("strong",null,[l(g(o.value.validityDays)+" jour",1),o.value.validityDays>1?(m(),c("span",B,"s")):L("",!0)]),l(", l'adresse "+g(o.value.prefix)+"@laposte.net sera supprimée. ",1)])])])]),_:1},8,["loading"])]),_:1}),i(U,{show:p.value},null,8,["show"])],64))}};export{O 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.