1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2240,9918],{10604:()=>{},16458:(e,r,t)=>{"use strict";t.d(r,{f:()=>n});var s=t(55920),a=t(40348);t(10604);var o=t(78243);let n=(0,a.forwardRef)((e,r)=>{let{className:t,error:a=!1,fullWidth:n=!1,...l}=e,c=(0,o.cn)("text-area-root",t,{"text-area-root--error":a,"text-area-root--full-width":n});return(0,s.jsx)("div",{className:"text-area-root ".concat(c).concat(a?" text-area-root--error":""),children:(0,s.jsx)("textarea",{className:"text-area",...l,ref:r})})})},26630:(e,r,t)=>{"use strict";t.d(r,{z:()=>l,C:()=>n});var s=t(55920),a=t(69589);t(73296);var o=t(78243);function n(e){let{className:r,children:t,...n}=e;return(0,s.jsx)(a.q7,{className:(0,o.cn)("radio-group__item",r),...n,children:t})}function l(e){let{className:r,children:t,...n}=e;return(0,s.jsx)(a.bL,{className:(0,o.cn)("radio-group",r),...n,children:t})}},31980:(e,r,t)=>{"use strict";t.d(r,{t_:()=>c,lV:()=>d,Wt:()=>i,fh:()=>m,ti:()=>x});var s=t(55920),a=t(40348),o=t(78066),n=t.n(o),l=t(78243);let c={SUCCESS_MESSAGE_TIMEOUT_MS:1e4,ERROR_MESSAGE_TIMEOUT_MS:5e3};function m(e){let{className:r,children:t,...a}=e;return(0,s.jsx)("div",{className:(0,l.cn)(n().row,r),...a,children:t})}function i(e){let{className:r,children:t,...a}=e;return(0,s.jsx)("span",{className:(0,l.cn)(n().errorMessage,r),...a,children:t})}let d=(0,a.forwardRef)((e,r)=>{let{className:t,children:a,...o}=e;return(0,s.jsx)("form",{className:(0,l.cn)(n().root,t),ref:r,...o,children:a})});function x(e){let{className:r,children:t,show:a=!1,variant:o="dark"}=e;return(0,s.jsx)("div",{className:(0,l.cn)(n().successMessage,n()["successMessage--".concat(o)],{[n().successMessageShow]:a,[n().successMessageHide]:!a},r),children:t})}},42240:e=>{e.exports={vertical:"contact-form_vertical__BRIgs",contentWrapper:"contact-form_contentWrapper__Q6D7x",content:"contact-form_content__GHTei",titleWrapper:"contact-form_titleWrapper__cfeL7",title:"contact-form_title__KhYQM",subtitle:"contact-form_subtitle___qIyZ",horizontal:"contact-form_horizontal__MC2Rt",contentImgWrapper:"contact-form_contentImgWrapper__BpTyX",contentImg:"contact-form_contentImg__cPI4S",contentImgHide:"contact-form_contentImgHide__NAB73",contentImgPhone:"contact-form_contentImgPhone__BmuaO",contentImgTablet:"contact-form_contentImgTablet__5mx13",contentImgDesktop:"contact-form_contentImgDesktop__gQ9hD",txtImg:"contact-form_txtImg__3oSS7",showForm:"contact-form_showForm__Lg9Ti",fadeIn:"contact-form_fadeIn__HplR8",hideForm:"contact-form_hideForm__tmcw3",fadeOut:"contact-form_fadeOut__Rv5UY",contactTg:"contact-form_contactTg__rtdHm",telegramBtn:"contact-form_telegramBtn__6XF_4",mainTg:"contact-form_mainTg__ggURU"}},54715:(e,r,t)=>{"use strict";t.d(r,{p:()=>n});var s=t(55920),a=t(40348);t(93068);var o=t(78243);let n=(0,a.forwardRef)((e,r)=>{let{className:t,error:a=!1,fullWidth:n=!1,...l}=e,c=(0,o.cn)("input-root",t,{"input-root--error":a,"input-root--full-width":n});return(0,s.jsx)("span",{className:c,children:(0,s.jsx)("input",{className:"input",...l,ref:r})})})},55659:(e,r,t)=>{"use strict";t.d(r,{R:()=>l});var s=t(32348);let a={headers:{"Content-Type":"application/json",Accept:"application/json"}};async function o(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{headers:s,...o}=r,{addDefaultHeaders:n=!0}=t,l=new AbortController,c=setTimeout(()=>l.abort(),3e3);return fetch(e,{...o,headers:{...n&&a.headers,...s},signal:l.signal}).then(async e=>{if(!e.ok)throw Error(e.statusText||"ÐÑибка ÑеÑвеÑа");return e.json()}).catch(e=>{if("TimeoutError"===e.name)throw Error("Timeout: It took more than ".concat(3e3,"ms to get the result!"));if("AbortError"===e.name)throw Error("Fetch aborted by user action");if(e instanceof SyntaxError)throw Error("JSON parse error");throw e}).finally(()=>clearTimeout(c))}class n{async submitIssue(e){return o("".concat(this.baseUrl,"/issue/"),{method:"POST",body:JSON.stringify(e)})}async submitSpecialist(e){let r=new FormData;return Object.entries(e).forEach(e=>{let[t,s]=e;r.append(t,s)}),o("".concat(this.baseUrl,"/specialist/"),{method:"POST",body:r},{addDefaultHeaders:!1})}async submitPartner(e){let r=new FormData;
1return Object.entries(e).forEach(e=>{let[t,s]=e;r.append(t,s)}),o("".concat(this.baseUrl,"/partner/"),{method:"POST",body:r},{addDefaultHeaders:!1})}constructor(){this.baseUrl=s.J.apiBase("/bitrix")}}let l=new n},56355:(e,r,t)=>{"use strict";t.d(r,{Hl:()=>a,fp:()=>o,h1:()=>n});let s=Number("90139616");function a(e){s&&null!=window.ym&&window.ym(s,"reachGoal",e)}async function o(){return s&&null!=window.ym?new Promise(e=>{setTimeout(()=>{e(null)},1e3),window.ym(s,"getClientID",r=>{e(r)})}):Promise.resolve(null)}function n(e){return{utm_source:e.get("utm_source")||"",utm_medium:e.get("utm_medium")||"",utm_campaign:e.get("utm_campaign")||"",utm_content:e.get("utm_content")||"",utm_term:e.get("utm_term")||""}}},58943:(e,r,t)=>{"use strict";t.d(r,{A:()=>N,InternetMagazinContactForm:()=>I});var s=t(55920),a=t(88887),o=t(40550),n=t(40348),l=t(32124),c=t(55389),m=t(21758);t(73086);var i=t(42240),d=t.n(i),x=t(78243),u=t(32348),h=t(56355),_=t(55659),p=t(86765),f=t(82927),g=t(31980),j=t(54715),v=t(26630),b=t(16458);let E=(0,a.default)(()=>Promise.all([t.e(5798),t.e(3548)]).then(t.bind(t,83548)),{loadableGenerated:{webpack:()=>[83548]}}),w=(0,n.forwardRef)((e,r)=>(0,s.jsx)(E,{...e,forwardedRef:r})),y=(0,m.vt)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,m.t6)("name","ÐÑо поле должно бÑÑÑ Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¾",()=>{(0,m.FE)(e.name).isNotEmpty()}),(0,m.t6)("name","ÐинималÑÐ½Ð°Ñ Ð´Ð»Ð¸Ð½Ð° Ñавна 3",()=>{(0,m.FE)(e.name).longerThanOrEquals(3)}),(0,m.t6)("name","ÐакÑималÑÐ½Ð°Ñ Ð´Ð»Ð¸Ð½Ð° Ñавна 300",()=>{(0,m.FE)(e.name).shorterThanOrEquals(300)}),(0,m.t6)("company","ÐÑо поле должно бÑÑÑ Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¾",()=>{(0,m.FE)(e.company).isNotEmpty()}),(0,m.t6)("company","ÐинималÑÐ½Ð°Ñ Ð´Ð»Ð¸Ð½Ð° Ñавна 3",()=>{(0,m.FE)(e.company).longerThanOrEquals(3)}),(0,m.t6)("company","ÐакÑималÑÐ½Ð°Ñ Ð´Ð»Ð¸Ð½Ð° Ñавна 300",()=>{(0,m.FE)(e.company).shorterThanOrEquals(300)}),(0,m.t6)("phone","ÐÑо поле должно бÑÑÑ Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¾",()=>{(0,m.FE)(e.phone).isNotEmpty()}),(0,m.t6)("phone","ÐекоÑÑекÑнÑй Ð½Ð¾Ð¼ÐµÑ ÑелеÑона",()=>{(0,m.FE)(e.phone).longerThanOrEquals(11)}),(0,m.t6)("email","ÐÑо поле должно бÑÑÑ Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¾",()=>{(0,m.FE)(e.email).isNotEmpty()}),(0,m.t6)("email","ÐекоÑÑекÑнÑй адÑÐµÑ Ñл. поÑÑÑ",()=>{(0,m.FE)(e.email).isEmail()}),(0,m.t6)("budget","ÐÑо поле должно бÑÑÑ Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¾",()=>{(0,m.FE)(e.budget).isNotEmpty()}),(0,m.t6)("message","ÐакÑималÑÐ½Ð°Ñ Ð´Ð»Ð¸Ð½Ð° Ñавна 500",()=>{(0,m.FE)(e.message).shorterThanOrEquals(500)})});function I(e){let{variant:r}
1=e,t=(0,o.useSearchParams)(),[a,m]=(0,n.useState)("idle"),[i,E]=(0,n.useState)(null),I=(0,n.useId)(),{control:N,handleSubmit:S,reset:C,formState:{isLoading:T,isSubmitting:M}}=(0,l.mN)({mode:"onSubmit",resolver:(0,c.d)(y),defaultValues:{name:"",company:"",phone:"",email:"",budget:3e6,message:""}});(0,n.useEffect)(()=>{"idle"!==a&&setTimeout(()=>{m("idle")},"success"===a?g.t_.SUCCESS_MESSAGE_TIMEOUT_MS:g.t_.ERROR_MESSAGE_TIMEOUT_MS)},[a]);let F=async e=>{try{let r=await (0,h.fp)();await _.R.submitIssue({...e,client_id:r,...(0,h.h1)(t)}),(0,h.Hl)("zayvka"),m("success"),C()}catch(e){E("ÐÑибка. Ðе ÑдалоÑÑ Ð¾ÑпÑавиÑÑ ÑоÑмÑ"),m("error"),console.error(e)}};return(0,s.jsx)(g.lV,{id:I,className:"relative",onSubmit:S(F),"aria-label":"ÐÑпÑавиÑÑ Ð·Ð°ÑÐ²ÐºÑ Ð½Ð° конÑÑлÑÑаÑиÑ",noValidate:!0,children:"horizontal"===r?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:(0,x.cn)({[d().showForm]:"idle"===a,[d().hideForm]:"idle"!==a}),children:[(0,s.jsxs)(g.fh,{className:"max-md:mb-10 md:mb-12 md:max-2xl:grid-cols-2",children:[(0,s.jsx)(l.xI,{name:"name",control:N,render:e=>{let{field:r,fieldState:t}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)(j.p,{placeholder:"ÐмÑ",autoComplete:"off",error:!!t.error,...r}),t.error&&(0,s.jsx)(g.Wt,{children:t.error.message})]})}}),(0,s.jsx)(l.xI,{name:"company",control:N,render:e=>{let{field:r,fieldState:t}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)(j.p,{placeholder:"ÐомпаниÑ",autoComplete:"off",error:!!t.error,...r}),t.error&&(0,s.jsx)(g.Wt,{children:t.error.message})]})}}),(0,s.jsx)(l.xI,{name:"phone",control:N,render:e=>{let{field:{onChange:r,...t},fieldState:a}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)(w,{placeholder:"+7 ___-___-__-__",autoComplete:"off",error:!!a.error,onAccept:r,...t}),a.error&&(0,s.jsx)(g.Wt,{children:a.error.message})]})}}),(0,s.jsx)(l.xI,{name:"email",control:N,render:e=>{let{field:r,fieldState:t}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)(j.p,{type:"email",placeholder:"Ðл. поÑÑа",autoComplete:"email",error:!!t.error,...r}),t.error&&(0,s.jsx)(g.Wt,{children:t.error.message})]})}})]}),(0,s.jsxs)("div",{className:"md:grid md:grid-cols-12 md:max-xl:gap-10 xl:gap-[50px]",children:[(0,s.jsx)("div",{className:"max-md:mb-10 md:max-2xl:col-span-full 2xl:col-span-4 xl:mb-[30px]",children:(0,s.jsx)(l.xI,{name:"budget",control:N,render:e=>{let{field:r}=e;return(0,s.jsxs)(v.z,{value:r.value.toString(),onValueChange:r.onChange,children:[(0,s.jsx)(v.C,{value:"500000",children:"до 500 ÑÑÑ."}),(0,s.jsx)(v.C,{value:"1500000",children:"до 1,5 млн."}),(0,s.jsx)(v.C,{value:"3000000",defaultChecked:!0,children:"до 3 млн."}),(0,s.jsx)(v.C,{value:"3500000",children:"> 3 млн."})]})}})}),(0,s.jsxs)("div",{className:"max-2xl:col-span-full 2xl:col-span-8",children:[(0,s.jsx)(l.xI,{name:"message",control:N,render:e=>{let{field:r,fieldState:t}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)(b.f,{placeholder:"СообÑение",autoComplete:"off",rows:4,error:!!t.error,fullWidth:!0,...r}),t.error&&(0,s.jsx)(g.Wt,{children:t.error.message})]})}}),(0,s.jsxs)("div",{className:"flex max-md:flex-col max-md:items-start max-md:gap-5 md:items-center md:gap-7 max-xl:mt-10 xl:mt-12",children:[(0,s.jsx)(f.$,{type:"submit",variant:"solid",size:"lg",disabled:T||M,children:(0,s.jsx)("span",{className:"max-md:text-[1.25rem] md-xl:text-[1.5rem] xl:text-[2rem] normal-case",children:"ÐÑпÑавиÑÑ"})}),(0,s.jsxs)("p",{className:"form__policy max-md:text-[0.875rem] md:text-[1.25rem] leading-[1.35] text-[#667085]",children:["ÐÐ°Ð¶Ð¸Ð¼Ð°Ñ Ð½Ð° кнопкÑ, ÐÑ Ð²ÑÑажаеÑе ÑоглаÑие Ñ\xa0",(0,s.jsx)(p.N,{className:"underline",href:u.J.privacyPolicy(),target:"_blank",children:"ÐолиÑикой\xa0конÑиденÑиалÑноÑÑи"})]})]})]})]})]}),(0,s.jsxs)(g.ti,{show:"success"===a,children:[(0,s.jsx)("p",{children:"ÐÑ Ð¿Ð¾Ð»ÑÑили ваÑе обÑаÑение."}),(0,s.jsx)("p",{children:"ÐÐ°Ñ Ð¼ÐµÐ½ÐµÐ´Ð¶ÐµÑ ÑвÑжеÑÑÑ Ñ Ð²Ð°Ð¼Ð¸ в ближайÑее вÑемÑ."})]}),(0,s.jsx)(g.ti,{show:"error"===a,children:(0,s.jsx)("p",{children:i})})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:(0,x.cn)({[d().showForm]:"idle"===a,[d().hideForm]:"idle"!==a}),children:[(0,s.jsxs)(g.fh,{className:"max-md:mb-2 md:max-xl:mb-4 xl:mb-2.5",children:[(0,s.jsx)(l.xI,{name:"name",control:N,render:e=>{let{field:r,fieldState:t}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)(j.p,{placeholder:"ÐмÑ",autoComplete:"off",error:!!t.error,...r}),t.error&&(0,s.jsx)(g.Wt,{children:t.error.message})]})}}),(0,s.jsx)(l.xI,{name:"company",control:N,render:e=>{let{field:r,fieldState:t}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)(j.p,{placeholder:"ÐомпаниÑ",autoComplete:"off",error:!!t.error,...r}),t.error&&(0,s.jsx)(g.Wt,{children:t.error.message})]})}})]}),(0,s.jsxs)(g.fh,{className:"mb-10 xl:mb-[30px]",children:[(0,s.jsx)(l.xI,{name:"phone",control:N,render:e=>
1{let{field:{onChange:r,...t},fieldState:a}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)(w,{placeholder:"+7 ___-___-__-__",autoComplete:"off",error:!!a.error,onAccept:r,...t}),a.error&&(0,s.jsx)(g.Wt,{children:a.error.message})]})}}),(0,s.jsx)(l.xI,{name:"email",control:N,render:e=>{let{field:r,fieldState:t}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)(j.p,{type:"email",placeholder:"Ðл. поÑÑа",autoComplete:"email",error:!!t.error,...r}),t.error&&(0,s.jsx)(g.Wt,{children:t.error.message})]})}})]}),(0,s.jsx)("div",{className:"mb-10 xl:mb-[30px]",children:(0,s.jsx)(l.xI,{name:"budget",control:N,render:e=>{let{field:r}=e;return(0,s.jsxs)(v.z,{value:r.value.toString(),onValueChange:r.onChange,children:[(0,s.jsx)(v.C,{value:"500000",children:"до 500 ÑÑÑ."}),(0,s.jsx)(v.C,{value:"1500000",children:"до 1,5 млн."}),(0,s.jsx)(v.C,{value:"3000000",defaultChecked:!0,children:"до 3 млн."}),(0,s.jsx)(v.C,{value:"3500000",children:"> 3 млн."})]})}})}),(0,s.jsx)(l.xI,{name:"message",control:N,render:e=>{let{field:r,fieldState:t}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)(b.f,{placeholder:"СообÑение",autoComplete:"off",rows:4,error:!!t.error,fullWidth:!0,...r}),t.error&&(0,s.jsx)(g.Wt,{children:t.error.message})]})}}),(0,s.jsxs)("div",{className:"flex max-md:flex-col max-md:items-start md:items-center max-md:gap-5 md:gap-7 mt-10 xl:mt-6",children:[(0,s.jsx)(f.$,{type:"submit",variant:"solid",size:"lg",disabled:T||M,children:(0,s.jsx)("span",{className:"normal-case",children:"ÐÑпÑавиÑÑ"})}),(0,s.jsxs)("p",{className:"max-md:text-[14px] xl:text-[20px] leading-[1.35] text-[#667085]",children:["ÐÐ°Ð¶Ð¸Ð¼Ð°Ñ Ð½Ð° кнопкÑ, ÐÑ Ð²ÑÑажаеÑе ÑоглаÑие Ñ\xa0",(0,s.jsx)(p.N,{className:"underline",href:u.J.privacyPolicy(),target:"_blank",children:"ÐолиÑикой\xa0конÑиденÑиалÑноÑÑи"})]})]})]}),(0,s.jsxs)(g.ti,{show:"success"===a,children:[(0,s.jsx)("p",{children:"ÐÑ Ð¿Ð¾Ð»ÑÑили ваÑе обÑаÑение."}),(0,s.jsx)("p",{children:"ÐÐ°Ñ Ð¼ÐµÐ½ÐµÐ´Ð¶ÐµÑ ÑвÑжеÑÑÑ Ñ Ð²Ð°Ð¼Ð¸ в ближайÑее вÑемÑ."})]}),(0,s.jsx)(g.ti,{show:"error"===a,children:(0,s.jsx)("p",{children:i})})]})})}let N=I},64384:()=>{},73296:()=>{},78066:e=>{e.exports={row:"form_row__EUIRb",errorMessage:"form_errorMessage__jDg2z",successMessage:"form_successMessage__XGfOv","successMessage--light":"form_successMessage--light__UqqIl","successMessage--dark":"form_successMessage--dark__nAJ5e",successMessageShow:"form_successMessageShow__x4AgV",successMessageHide:"form_successMessageHide__SiAm1"}},93068:()=>{}}]);
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.