import{_ as c}from"./AppLayout-BWrI3d7K.js";import l from"./DeleteUserForm-CSDTuyOf.js";import{J as s}from"./SectionBorder-DIuubO12.js";import f from"./LogoutOtherBrowserSessionsForm-DVDm5qTJ.js";import u from"./TwoFactorAuthenticationForm-DjS_h6d-.js";import d from"./UpdatePasswordForm-ChahY1kx.js";import _ from"./UpdateProfileInformationForm-CstOWUCK.js";import{c as h,w as p,o as e,a as i,e as r,b as t,f as a,F as g}from"./app-WJL2kJBE.js";import"./Modal-B9NNWAdE.js";import"./ActionSection-0k724LuI.js";import"./SectionTitle-DsJypKOL.js";import"./DialogModal-B87MAZJT.js";import"./DangerButton-BS8d3PUv.js";import"./Input-C4-VG2dv.js";import"./InputError-idDGfizs.js";import"./SecondaryButton-DT9RUAGX.js";import"./ActionMessage-CbAgcH97.js";import"./Button-B1uOz4tP.js";import"./Label-CBaaVbfI.js";import"./FormSection-VZbtMXdy.js";const $={class:"max-w-7xl mx-auto py-10 sm:px-6 lg:px-8"},w={key:0},k={key:1},y={key:2},z={__name:"Show",props:{confirmsTwoFactorAuthentication:Boolean,sessions:Array},setup(m){return(o,n)=>(e(),h(c,{title:"Profile"},{header:p(()=>n[0]||(n[0]=[i("h2",{class:"font-semibold text-xl text-gray-800 leading-tight"},"Profile",-1)])),default:p(()=>[i("div",null,[i("div",$,[o.$page.props.jetstream.canUpdateProfileInformation?(e(),r("div",w,[t(_,{user:o.$page.props.auth.user},null,8,["user"]),t(s)])):a("",!0),o.$page.props.jetstream.canUpdatePassword?(e(),r("div",k,[t(d,{class:"mt-10 sm:mt-0"}),t(s)])):a("",!0),o.$page.props.jetstream.canManageTwoFactorAuthentication?(e(),r("div",y,[t(u,{"requires-confirmation":m.confirmsTwoFactorAuthentication,class:"mt-10 sm:mt-0"},null,8,["requires-confirmation"]),t(s)])):a("",!0),t(f,{sessions:m.sessions,class:"mt-10 sm:mt-0"},null,8,["sessions"]),o.$page.props.jetstream.hasAccountDeletionFeatures?(e(),r(g,{key:3},[t(s),t(l,{class:"mt-10 sm:mt-0"})],64)):a("",!0)])])]),_:1}))}};export{z as default};
