1import{f as e}from"./@inertiajs-jGn6M7s-.js";import{Ct as t,D as n,E as r,F as i,I as a,O as o,R as s,k as c,nn as l,ur as u}from"./@floating-ui-Z3WCSX3c.js";import{E as d}from"./@heroicons-CfD3-Ah8.js";import{r as f}from"./impersonate-CXBUCFWs.js";import{t as p}from"./@iconify-CdeCtEzX.js";var m={key:0,class:`fixed bottom-4 left-1/2 z-50 flex -translate-x-1/8 items-center gap-3 rounded-full border border-amber-300 bg-amber-100 px-4 py-2 text-sm text-amber-900 shadow-lg`},h={class:`whitespace-nowrap`},g=s({__name:`ImpersonationBanner`,setup(s){let g=()=>{e.visit(f())};return(e,s)=>{let f=p;return t(),n(d,{"enter-active-class":`transition ease-out duration-300`,"enter-from-class":`translate-y-full opacity-0`,"enter-to-class":`translate-y-0 opacity-100`,"leave-active-class":`transition ease-in duration-200`,"leave-from-class":`translate-y-0 opacity-100`,"leave-to-class":`translate-y-full opacity-0`},{default:l(()=>[e.$page.props.impersonator?(t(),c(`div`,m,[a(f,{icon:`fa:eye`,class:`h-4 w-4`}),r(`span`,h,[s[0]||=i(` Impersonating `,-1),r(`strong`,null,u(e.$page.props.auth?.user?.name),1)]),r(`button`,{onClick:g,class:`cursor-pointer text-sm font-semibold text-amber-800 underline decoration-amber-500 decoration-1 hover:text-amber-900`},` Stop `)])):o(``,!0)]),_:1})}}});
1export{g as t};
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.