PageSourceSearch

https://gut39.ru/assets/HomeRequestForm-BWSRHNiu.js

js gut39.ru collected 2026-10-09 22:41:33 UTC 3,286 bytes, 1 lines download raw bytes

1import{r as e}from"./framework-C-kvl5Nm.js";import{i as t,n,r,t as i}from"./PersonalDataConsent-BW1xfm7z.js";var a=e();function o(){let{sent:e,submitting:o,error:s,submit:c,reset:l}=t({formId:`home-calculation`,service:`Общий запрос`});return e?(0,a.jsxs)(`div`,{className:`home-form-success`,role:`status`,"aria-live":`polite`,children:[(0,a.jsx)(`b`,{children:`✓`}),(0,a.jsx)(`h3`,{children:`Заявка принята.`}),(0,a.jsx)(`p`,{children:`Менеджер свяжется с вами по указанному контакту.`}),(0,a.jsx)(`button`,{type:`button`,onClick:l,children:`Изменить данные`})]}):(0,a.jsxs)(`form`,{className:`home-request-form`,onSubmit:c,children:[(0,a.jsx)(r,{}),(0,a.jsxs)(`label`,{children:[`Направление`,(0,a.jsxs)(`select`,{name:`direction`,defaultValue:``,children:[(0,a.jsx)(`option`,{value:``,disabled:!0,children:`Выберите направление`}),(0,a.jsx)(`option`,{children:`Полиграфия`}),(0,a.jsx)(`option`,{children:`Наружная реклама`}),(0,a.jsx)(`option`,{children:`Широкоформатная печать`}),(0,a.jsx)(`option`,{children:`Сувениры`}),(0,a.jsx)(`option`,{children:`Текстиль`}),(0,a.jsx)(`option`,{children:`Оформление бизнеса`}),(0,a.jsx)(`option`,{children:`Не знаю — нужна консультация`})]})]}),(0,a.jsxs)(`label`,{children:[`Что нужно изготовить`,(0,a.jsx)(`input`,{name:`product`,required:!0,placeholder:`Например, меню и вывеску`})]}),(0,a.jsxs)(`label`,{children:[`Количество или тираж`,(0,a.jsx)(`input`,{name:`quantity`,placeholder:`Например, 500 шт.`})]}),(0,a.jsxs)(`label`,{children:[`Размер или формат`,(0,a.jsx)(`input`,{name:`size`,placeholder:`Если уже известен`})]}),(0,a.jsxs)(`label`,{children:[`Есть ли готовый макет`,(0,a.jsxs)(`select`,{name:`artwork`,defaultValue:`ready`,children:[(0,a.jsx)(`option`,{value:`ready`,children:`Да, макет готов`}),(0,a.jsx)(`option`,{value:`check`,children:`Нужна проверка или корректировка`}),(0,a.jsx)(`option`,{value:`design`,children:`Нужна разработка оформления`}),(0,a.jsx)(`option`,{value:`unknown`,children:`Пока не знаю`})]})]}),(0,a.jsxs)(`label`,{children:[`Желаемый срок`,(0,a.jsx)(`input`,{name:`deadline`,placeholder:`Например, к 20 августа`})]}),(0,a.jsxs)(`label`,{children:[`Телефон или email`,(0,a.jsx)(`input`,{name:`contact`,className:`ym-disable-keys`,required:!0,placeholder:`Как с вами связаться`})]}),(0,a.jsxs)(`label`,{className:`home-form-comment`,children:[`Комментарий`,(0,a.jsx)(`textarea`,{name:`comment`,className:`ym-disable-keys`,rows:4,placeholder:`Опишите задачу, идею или состав проекта`})]}),s?(0,a.jsx)(n,{}):null,(0,a.jsx)(i,{}),(0,a.jsxs)(`button`,{className:`button button-accent`,type:`submit`,disabled:o,"aria-busy":o,children:[o?`Отправляем…`:`Рассчитать стоимость`,` `,(0,a.jsx)(`span`,{"aria-hidden":`true`,children:`↗`})]})]})}export{o as HomeRequestForm};

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.