PageSourceSearch

https://vezoo.ru/build/assets/profile-vhs6PDqx.js

js vezoo.ru collected 2026-10-02 18:58:32 UTC 2,965 bytes, 1 lines download raw bytes

1import{K as f,m as h,j as e,L as j,$ as v}from"./app-Dlalak61.js";import{H as g}from"./heading-small-w8KrUIZu.js";import{I as o}from"./input-error-CXvhjx-9.js";import{B as N}from"./app-logo-icon-BgKeBc8t.js";import{I as l}from"./input-DT96WUU6.js";import{L as m}from"./label-8afS88VP.js";import{A as b}from"./app-layout-QuLBHQeH.js";import{S as y}from"./layout-YGCrM0NS.js";import{z as S}from"./transition-BDvltUh-.js";/* empty css            */import"./index-Cpm8JRbh.js";import"./index-DWe0IOCb.js";import"./heading-DtZqUswG.js";const L=[{title:"Настройки профиля",href:"/settings/profile"}];function $({mustVerifyEmail:n,status:c}){const{auth:a}=f().props,{data:s,setData:r,patch:d,errors:i,processing:u,recentlySuccessful:p}=h({name:a.user.name,email:a.user.email}),x=t=>{t.preventDefault(),d(route("profile.update"),{preserveScroll:!0})};return e.jsxs(b,{breadcrumbs:L,children:[e.jsx(j,{title:"Настройки профиля"}),e.jsx(y,{children:e.jsxs("div",{className:"space-y-6",children:[e.jsx(g,{title:"Информация профиля",description:"Измените ваше имя и адрес почты"}),e.jsxs("form",{onSubmit:x,className:"space-y-6",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(m,{htmlFor:"name",children:"Имя"}),e.jsx(l,{id:"name",className:"mt-1 block w-full",value:s.name,onChange:t=>r("name",t.target.value),required:!0,autoComplete:"name",placeholder:"Имя"}),e.jsx(o,{className:"mt-2",message:i.name})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(m,{htmlFor:"email",children:"Почта"}),e.jsx(l,{id:"email",type:"email",className:"mt-1 block w-full",value:s.email,onChange:t=>r("email",t.target.value),required:!0,autoComplete:"username",placeholder:"[email protected]"}),e.jsx(o,{className:"mt-2",message:i.email})]}),n&&a.user.email_verified_at===null&&e.jsxs("div",{children:[e.jsxs("p",{className:"-mt-4 text-sm text-muted-foreground",children:["Ваш адрес почты не подтверждён."," ",e.jsx(v,{href:route("verification.send"),method:"post",as:"button",className:"text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500",children:"Нажмите здесь, чтобы повторно отправить письмо для подтверждения."})]}),c==="verification-link-sent"&&e.jsx("div",{className:"mt-2 text-sm font-medium text-green-600",children:"Новая ссылка для подтверждения была отправлена на вашу почту."})]}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(N,{disabled:u,children:"Сохранить"}),e.jsx(S,{show:p,enter:"transition ease-in-out",enterFrom:"opacity-0",leave:"transition ease-in-out",leaveTo:"opacity-0",children:e.jsx("p",{className:"text-sm text-neutral-600",children:"Saved"})})]})]})]})})]})}export{$ as default};

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.