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({data:e,formId:o,direction:s,service:c}){let{sent:l,submitting:u,error:d,submit:f,reset:p}=t({formId:o,direction:s,service:c});return(0,a.jsx)(`form`,{className:`calc-form`,onSubmit:f,children:l?(0,a.jsxs)(`div`,{className:`success`,role:`status`,"aria-live":`polite`,children:[(0,a.jsx)(`span`,{"aria-hidden":`true`,children:`â`}),(0,a.jsx)(`h3`,{children:e.successTitle}),(0,a.jsx)(`p`,{children:`ÐаÑвка пÑинÑÑа. ÐÐµÐ½ÐµÐ´Ð¶ÐµÑ ÑвÑжеÑÑÑ Ñ Ð²Ð°Ð¼Ð¸ по ÑÐºÐ°Ð·Ð°Ð½Ð½Ð¾Ð¼Ñ ÐºÐ¾Ð½ÑакÑÑ.`}),(0,a.jsx)(`button`,{type:`button`,onClick:p,children:e.editLabel})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r,{}),(0,a.jsxs)(`label`,{children:[e.formatLabel,(0,a.jsx)(`select`,{name:`format`,defaultValue:`A5`,children:e.formatOptions.map(e=>(0,a.jsx)(`option`,{value:e.value,children:e.label},e.value))})]}),(0,a.jsxs)(`label`,{children:[e.quantityLabel,(0,a.jsx)(`input`,{name:`quantity`,type:`number`,min:`1`,placeholder:e.quantityPlaceholder,required:!0})]}),(0,a.jsxs)(`label`,{children:[e.foldLabel,(0,a.jsx)(`select`,{name:`fold`,defaultValue:`none`,children:e.foldOptions.map(e=>(0,a.jsx)(`option`,{value:e.value,children:e.label},e.value))})]}),(0,a.jsxs)(`label`,{children:[e.contactLabel,(0,a.jsx)(`input`,{name:`contact`,className:`ym-disable-keys`,type:`text`,placeholder:e.contactPlaceholder,required:!0})]}),(0,a.jsxs)(`label`,{className:`comment`,children:[e.commentLabel,(0,a.jsx)(`textarea`,{name:`comment`,className:`ym-disable-keys`,rows:3,placeholder:e.commentPlaceholder})]}),d?(0,a.jsx)(n,{}):null,(0,a.jsx)(i,{}),(0,a.jsxs)(`button`,{className:`button button-accent`,type:`submit`,disabled:u,"aria-busy":u,children:[u?`ÐÑпÑавлÑемâ¦`:e.submitLabel,` `,(0,a.jsx)(`span`,{"aria-hidden":`true`,children:`â`})]})]})})}export{o as RequestForm};
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.