PageSourceSearch

https://cartes.gouv.fr/explorer-les-cartes/assets/Logout-CKAPXFne.js

js cartes.gouv.fr collected 2026-09-24 09:23:18 UTC 946 bytes, 1 lines download raw bytes

1import{k as i,r as f,D as g,W as h}from"./index-ZDNodjBE.js";const m={},d=Object.assign(m,{__name:"Logout",setup(p){const a=h(),s=g("services");return i(()=>{const o=location.search,t=new URLSearchParams(o);var n=t.get("session_state"),c=t.get("success"),u=t.get("from"),l=t.get("session_status")!==null;if(u==="sessionExpired"){s.getAccessLogoutSilent().then(e=>{location.href=e}).catch(e=>{console.error("Silent logout failed:",e),a.push({path:"/",query:{from:"logout",success:0}})});return}if(u==="authInvalid"){s.getAccessLogout().then(e=>{location.href=e}).catch(e=>{console.error("Logout after auth invalid failed:",e),a.push({path:"/",query:{from:"logout",success:0}})});return}if(!o){s.getAccessLogout().then(e=>{location.href=e});return}var r=0;s.mode==="local"&&(l||n!==null)?r=1:s.mode==="remote"&&c!==null?r=parseInt(c,10):r=0,a.push({path:"/",query:{from:"logout",success:r}})}),(o,t)=>f(o.$slots,"default")}});export{d 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.