import{ad as e,j as o,ae as s,F as a}from"./index-BX768Frx.js";import{E as n}from"./empty-list-CHaQSvfG.js";import{a as i}from"./use-api-CjnAIHV2.js";import{M as u}from"./main-B6XIaWoX.js";import"./useQuery-DHwdh6Ld.js";import"./useBaseQuery-DCSHiJ5h.js";function x(){const t=e.useLoaderData();if(!t.error)return o.jsx(p,{});const r=t.error instanceof s?t.error.responsePayload:t.error.toString();return o.jsx(u,{title:"Logout",description:"Logout from Plakar",children:o.jsx(n,{illustrationType:"sad",title:"Unable to logout your Plakar session",description:r})})}function p(){return i({status:"logged_out"}),o.jsx(a,{})}export{x as component};
