import{J as a,c as r,a as i,s as l,o as p,f as t,U as d,q as m,x as c}from"./app-DtilF0jd.js";const u={key:0,class:"fixed top-0 left-0 right-0 z-[100] bg-gradient-to-r from-purple-600 to-indigo-600 text-white py-2 px-4 shadow-lg"},f={__name:"ImpersonationBanner",setup(v){const o=a(),s=r(()=>o.props.impersonating),n=()=>{c.post(route("impersonate.stop"))};return(x,e)=>s.value?.active?(p(),i("div",u,[t("div",{class:"max-w-7xl mx-auto flex items-center justify-between"},[e[1]||(e[1]=d('<div class="flex items-center space-x-3"><div class="flex items-center justify-center w-8 h-8 bg-white/20 rounded-full"><svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 9v3m0 0v3m0-3h3m-3 0h-3m-2-5a4 4 0 11-8 0 4 4 0 018 0zM3 20a6 6 0 0112 0v1H3v-1z"></path></svg></div><div><span class="font-medium">Modo Suplantación</span><span class="hidden sm:inline ml-2 text-purple-200"> - Estás navegando como otro usuario </span></div></div>',1)),t("button",{onClick:n,class:"inline-flex items-center px-4 py-1.5 text-sm font-medium bg-white/20 hover:bg-white/30 rounded-lg transition-colors"},[...e[0]||(e[0]=[t("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"})],-1),m(" Volver a Admin ",-1)])])])])):l("",!0)}};export{f as _};
