transcriptor-web/public/build/assets/Show-BA148_LA.js
2025-04-05 15:58:14 +02:00

2 lines
1.8 KiB
JavaScript

import{j as r}from"./app-43FwoUKv.js";import m from"./DeleteUserForm-PfxYNbC_.js";import i from"./LogoutOtherBrowserSessionsForm-BMipD7tw.js";import a from"./TwoFactorAuthenticationForm-DzHJ9Wxl.js";import p from"./UpdatePasswordForm-DVugAY5_.js";import n from"./UpdateProfileInformationForm-DZ00vhI3.js";import{u as l}from"./useTypedPage-_EZ6P4Xz.js";import{S as o}from"./SectionBorder-DsOSyNBH.js";import{A as d}from"./AppLayout-ZM0oZ-BJ.js";import"./index-C3aXnQRR.js";import"./Modal-Dl0HSC4q.js";import"./SectionTitle-CmR6E75W.js";import"./transition-aKza8ZE9.js";import"./DangerButton--OsE_WB2.js";import"./DialogModal-CM2pkQ7Q.js";import"./TextInput-CdoY_jBz.js";import"./SecondaryButton-CKdOzt0Y.js";import"./ActionMessage-BR0zIw5R.js";import"./PrimaryButton-Gixff4KF.js";import"./InputLabel-Cl3yDvOx.js";import"./FormSection-fM5DX8Wc.js";function b({sessions:s,confirmsTwoFactorAuthentication:e}){const t=l();return r.jsx(d,{title:"Profile",renderHeader:()=>r.jsx("h2",{className:"font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight",children:"Profile"}),children:r.jsx("div",{children:r.jsxs("div",{className:"max-w-7xl mx-auto py-10 sm:px-6 lg:px-8",children:[t.props.jetstream.canUpdateProfileInformation?r.jsxs("div",{children:[r.jsx(n,{user:t.props.auth.user}),r.jsx(o,{})]}):null,t.props.jetstream.canUpdatePassword?r.jsxs("div",{className:"mt-10 sm:mt-0",children:[r.jsx(p,{}),r.jsx(o,{})]}):null,t.props.jetstream.canManageTwoFactorAuthentication?r.jsxs("div",{className:"mt-10 sm:mt-0",children:[r.jsx(a,{requiresConfirmation:e}),r.jsx(o,{})]}):null,r.jsx("div",{className:"mt-10 sm:mt-0",children:r.jsx(i,{sessions:s})}),t.props.jetstream.hasAccountDeletionFeatures?r.jsxs(r.Fragment,{children:[r.jsx(o,{}),r.jsx("div",{className:"mt-10 sm:mt-0",children:r.jsx(m,{})})]}):null]})})})}export{b as default};