PageSourceSearch

https://chistograd-pmk.ru/_next/static/chunks/9133-6ac0243560b0034a.js

js chistograd-pmk.ru collected 2026-10-07 18:15:42 UTC 13,826 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9133],{73303:function(e,t,n){n.d(t,{t:function(){return T}});var i=n(85893),a=n(67294),r=n(11163),o=n(91444);n(78088);var l=n(65582),s=n(86886),c=n(15861),u=n(51233),d=n(18972),m=n(67720),p=n(69417),g=n(98456),h=n(90948),f=n(41796),x=n(87536),v=n(47533),y=n(88426),b=n(83321),j=n(86335),w=n(96424),S=n(31566),P=n(65683),k=n(6236);let N=(0,h.ZP)("div")(e=>{let{theme:t}=e;return{marginTop:t.spacing(),[t.breakpoints.up("xs")]:{marginTop:t.spacing(5)},[t.breakpoints.up("sm")]:{marginTop:t.spacing(8)},[t.breakpoints.up("md")]:{marginTop:t.spacing(8)},[t.breakpoints.up("lg")]:{marginTop:t.spacing(10)},padding:t.spacing(10,0),...(0,k.v)({color:(0,f.Fq)(t.palette.background.default,.9),imgUrl:"/images/backgrounds/background_1.webp"}),borderRadius:3,overflow:"hidden",position:"relative"}}),z=[{value:"Менеджер",label:"Менеджер"},{value:"Инженер-проектировщик",label:"Инженер-проектировщик"}],A={fullName:"",phoneNumber:"",email:"",employeeSelection:"",leadType:"Органическая",utm_source:"",utm_medium:"",utm_campaign:"",utm_content:"",utm_term:"",yclid:"",personalDataConsent:!1};function T(e){let{sourcePage:t,feedbackSlot:n="",feedbackEntity:h=null}=e,f=(0,r.useRouter)(),k=(0,x.cI)({resolver:(0,v.X)((0,j.Z)({includeFullName:!0,includePhoneNumber:!0,includeEmail:!0,includePersonalDataConsent:!0})),mode:"onChange",defaultValues:A}),{errors:T,isValid:L}=(0,x.cl)({control:k.control}),{reset:Z,handleSubmit:_,clearErrors:C,setValue:R,register:O}=k,[U,I]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=(0,w.Uq)();Object.entries(e).forEach(e=>{let[t,n]=e;return O&&R(t,n)}),R("leadType",(0,w.bJ)()?"Рекламная":"Органическая")},[]);let B=async e=>{e.sourcePage=t,e.formType="mainFeedback",n&&(e.feedbackSlot=n),h&&(e.feedbackEntity=h);try{I(!0),await (0,S.i6)(e),Z(),R("phoneNumber",""),setTimeout(()=>C("phoneNumber"),100),await (0,P.yU)(f,{formType:"mainFeedback",fields:[{label:"Имя",value:e.fullName},{label:"Телефон",value:e.phoneNumber},{label:"E-mail",value:e.email},{label:"С кем нужна консультация",value:e.employeeSelection}]})}catch(e){console.error("Ошибка при отправке формы",e),o.Am.error("Ошибка при отправке формы")}finally{I(!1)}},E=(e,t)=>(0,i.jsxs)(i.Fragment,{children:[e,t&&(0,i.jsx)("span",{style:{color:"#FA541C"},children:" *"})]});return(0,i.jsxs)(N,{children:[(0,i.jsx)(o.Ix,{position:"bottom-left",autoClose:5e3,hideProgressBar:!1,newestOnTop:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0,theme:"colored",closeButton:!1,transition:o.Mi}),(0,i.jsx)(l.Z,{children:(0,i.jsxs)(s.ZP,{container:!0,alignItems:"center",children:[(0,i.jsxs)(s.ZP,{item:!0,xs:12,sm:12,md:5,lg:5,sx:{color:"common.white",textAlign:{xs:"center",md:"left"},mr:{xs:0,sm:0,md:10,lg:12}},children:[(0,i.jsx)(c.Z,{variant:"h2",children:"Начнем работать над вашим проектом? "}),(0,i.jsx)(c.Z,{sx:{mt:3,mb:5,opacity:.72,"@media (min-width: 320px)":{fontSize:"16px !important"},"@media (min-width: 375px)":{fontSize:"16px !important"},"@media (min-width: 425px)":{fontSize:"16px !important"},"@media (min-width: 600px)":{fontSize:"1rem !important"},"@media (min-width: 900px)":{fontSize:"1rem !important"},"@media (min-width: 1200px)":{fontSize:"1rem !important"},"@media (min-width: 1500px)":{fontSize:"1.1rem !important"}},children:"Запишитесь на бесплатную консультацию к инженеру-проектировщику или менеджеру."})]}),(0,i.jsx)(s.ZP,{item:!0,xs:12,md:6,lg:6,children:(0,i.jsxs)(y.ZP,{methods:k,onSubmit:_(B,e=>{console.log("Сообщение об ошибке",JSON.stringify(e,null,2))}),children:[(0,i.jsx)("input",{type:"hidden",...O("leadType")}),(0,i.jsx)("input",{type:"hidden",...O("utm_source")}),(0,i.jsx)("input",{type:"hidden",...O("utm_medium")}),(0,i.jsx)("input",{type:"hidden",...O("utm_campaign")}),(0,i.jsx)("input",{type:"hidden",...O("utm_content")}),(0,i.jsx)("input",{type:"hidden",...O("utm_term")}),(0,i.jsx)("input",{type:"hidden",...O("yclid")}),(0,i.jsxs)(u.Z,{spacing:3.5,children:[(0,i.jsxs)(u.Z,{spacing:2.5,className:"autofill-form-light",children:[(0,i.jsx)(y.au,{name:"fullName",label:E("Имя",!0)}),(0,i.jsxs)(u.Z,{direction:{xs:"column",md:"row"},spacing:{xs:2.5,md:2},children:[(0,i.jsx)(y.au,{name:"phoneNumber",isPhone:!0}),(0,i.jsx)(y.au,{name:"email",label:E("Почта",!0)})]}),(0,i.jsxs)(y.Cc,{name:"employeeSelection",label:"С кем нужна консультация?",children:[(0,i.jsx)(d.Z,{value:"Не имеет значения",style:{textTransform:"none"},children:"Не имеет значения"}),(0,i.jsx)(m.Z,{sx:{borderStyle:"dashed"}}),z.map(e=>(0,i.jsx)(d.Z,{value:e.label,children:e.label},e.value))]})]}),(0,i.jsxs)(u.Z,{spacing:1,children:[(0,i.jsx)(p.Z,{type:"submit",size:"large",variant:"contained",disabled:!L||U,startIcon:U?(0,i.jsx)(g.Z,{size:18,color:"inherit"}):null,sx:{marginBottom:{xs:"5px !important",sm:"5px !important",md:"0px !important",xl:"0px !important"}},children:"Записаться"}),(0,i.jsx)(b.Z,{textAlign:{xs:"center",sm:"center",md:"left",lg:"left"}})]})]})]})})]})})]})}},63405:function(e,t,n){n.d(t,{As:function(){return N},BG:function(){return b},BY:function(){return d},D$:function(){return z},Gs:function(){return w},KV:function(){return v},Kv:function(){return c},Pe:function(){return x},Qt:function(){return m},R9:function(){return s},Xc:function(){return S},aF:function(){return u},ck:function(){return f},dl:function(){return y},il:function(){return h},kK:function(){return p},pI:function(){return j},sE:function(){return k},sM:function(){return g},z1:function(){return P}});let i="https://chistograd-pmk.ru",a="Чистоград ПМК",r='ООО "Чистоград ПМК"',o="".concat(i,"/images/logo/logo_pmk_full.svg"),l="Калининградская область",s="".concat(i,"/images/ОООЧистоградПМК.jpg");function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/`{1,3}[^`]*`{1,3}/g,"").replace(/!\[[^\]]*\]\([^)]+\)/g,"").replace(/\[[^\]]*\]\([^)]+\)/g,e=>e.replace(/\[|\]|\([^)]+\)/g,"")).replace(/[*_~#>`-]{1,}/g,"").replace(/<[^>]*>/g,"").replace(/\r?\n+/g," ").replace(/\s{2,}/g," ").trim()}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:180;return e?e.length<=t?e:"".concat(e.slice(0,t).replace(/\s+\S*$/,""),"..."):""}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=String(e||"").trim();return t?/^https?:\/\//i.test(t)?t:t.startsWith("//")?"https:".concat(t):t.startsWith("/uploads/")?"".concat(i,"/content").concat(t):t.startsWith("/")?"".concat(i).c
1oncat(t):"".concat(i,"/").concat(t.replace(/^\/+/,"")):""}function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=String(e||"").trim();if(!t||"/"===t)return i;let n=t.startsWith("/")?t:"/".concat(t),a=n.split("#")[0].split("?")[0].replace(/\/{2,}/g,"/").replace(/\/+$/,"");return"".concat(i).concat(a||"/")}function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=m(t),a=String(e||"").trim();if(!a)return n;try{let e=new URL(i),t=/^https?:\/\//i.test(a)?new URL(a):new URL(a,i);if(t.origin!==e.origin)return n;return m(t.pathname||"/")}catch(e){return n}}function g(e){return JSON.stringify(e).replace(/</g,"\\u003c")}function h(){let{description:e=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"@context":"https://schema.org","@type":"Organization","@id":"".concat(i,"/#organization"),name:r,alternateName:a,url:i,logo:o,...e?{description:e}:{},address:{"@type":"PostalAddress",addressLocality:"Калининград",addressRegion:l,addressCountry:"RU"}}}function f(){return{"@context":"https://schema.org","@type":"WebSite","@id":"".concat(i,"/#website"),url:i,name:a,publisher:{"@id":"".concat(i,"/#organization")}}}function x(){let{name:e="",description:t="",path:n="/",image:a=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=m(n);return{"@context":"https://schema.org","@type":"WebPage","@id":"".concat(r,"#webpage"),url:r,name:e,...t?{description:t}:{},isPartOf:{"@id":"".concat(i,"/#website")},about:{"@id":"".concat(i,"/#organization")},...a?{primaryImageOfPage:d(a)}:{}}}function v(){let{name:e="",description:t="",path:n="/",image:a="",keywords:r=[]}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=m(n);return{"@context":"https://schema.org","@type":"CollectionPage","@id":"".concat(o,"#webpage"),url:o,name:e,...t?{description:t}:{},isPartOf:{"@id":"".concat(i,"/#website")},about:{"@id":"".concat(i,"/#organization")},...a?{primaryImageOfPage:d(a)}:{},...r.length?{keywords:r}:{}}}function y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.filter(e=>(null==e?void 0:e.name)&&((null==e?void 0:e.path)||(null==e?void 0:e.url))).map((e,t)=>({"@type":"ListItem",position:t+1,name:e.name,item:e.url?d(e.url):m(e.path)}));return t.length?{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:t}:null}function b(){let{path:e="/",items:t=[]}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.filter(e=>(null==e?void 0:e.name)&&((null==e?void 0:e.path)||(null==e?void 0:e.url))).map((e,t)=>({"@type":"ListItem",position:t+1,name:e.name,url:e.url?d(e.url):m(e.path)}));return n.length?{"@context":"https://schema.org","@type":"ItemList","@id":"".concat(m(e),"#itemlist"),itemListElement:n}:null}function j(){let{name:e="",description:t="",path:n="/",image:a="",category:r=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=m(n);return{"@context":"https://schema.org","@type":"Service","@id":"".concat(o,"#service"),name:e,serviceType:e,...t?{description:t}:{},url:o,provider:{"@id":"".concat(i,"/#organization")},areaServed:{"@type":"AdministrativeArea",name:l},...a?{image:[d(a)]}:{},...r?{category:r}:{}}}function w(){let{name:e="",description:t="",url:n="",image:a=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=/^https?:\/\//i.test(n)?n:m(n);return{"@context":"https://schema.org","@type":"CreativeWork","@id":"".concat(r,"#creativework"),name:e,headline:e,...t?{description:t}:{},url:r,creator:{"@id":"".concat(i,"/#organization")},...a?{image:[d(a)]}:{}}}function S(){let{headline:e="",description:t="",url:n="",image:a="",datePublished:r=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=/^https?:\/\//i.test(n)?n:m(n),l=r?new Date(r).toISOString():"";return{"@context":"https://schema.org","@type":"NewsArticle","@id":"".concat(o,"#article"),headline:e,...t?{description:t}:{},url:o,...l?{datePublished:l}:{},author:{"@id":"".concat(i,"/#organization")},publisher:{"@id":"".concat(i,"/#organization")},...a?{image:[d(a)]}:{}}}function P(){let{title:e="",description:t="",url:n="",datePosted:a="",employmentType:r="",salary:o="",placeOfWork:s="",workAddress:c=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=/^https?:\/\//i.test(n)?n:m(n),d=String(o||"").replace(/\s+/g,"").match(/\d[\d.]*/),p=d?Number(d[0].replace(/[^\d.]/g,"")):null,g=a?new Date(a):null,h=g&&!Number.isNaN(g.getTime())?g.toISOString().slice(0,10):"";return{"@context":"https://schema.org","@type":"JobPosting","@id":"".concat(u,"#job"),title:e,...t?{description:t}:{},url:u,...h?{datePosted:h}:{},...r?{employmentType:r}:{},hiringOrganization:{"@id":"".concat(i,"/#organization")},...s||c?{jobLocation:{"@type":"Place",address:{"@type":"PostalAddress",...c?{streetAddress:c}:{},addressLocality:s||"Калининград",addressRegion:l,addressCountry:"RU"}}}:{},...p?{baseSalary:{"@type":"MonetaryAmount",currency:"RUB",value:{"@type":"QuantitativeValue",value:p,unitText:"MONTH"}}}:{}}}function k(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.filter(e=>(null==e?void 0:e.question)&&(null==e?void 0:e.answer)).map(e=>
1({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}));return t.length?{"@context":"https://schema.org","@type":"FAQPage",mainEntity:t}:null}function N(){let{description:e="",telephone:t="",email:n=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"@context":"https://schema.org","@type":"LocalBusiness","@id":"".concat(i,"/#localbusiness"),name:r,alternateName:a,url:i,logo:o,image:s,...e?{description:e}:{},...t?{telephone:t}:{},...n?{email:n}:{},address:{"@type":"PostalAddress",streetAddress:"ул. Индустриальная, 4",addressLocality:"Калининград",addressRegion:l,postalCode:"236006",addressCountry:"RU"},department:[{"@type":"LocalBusiness",name:"".concat(a," — Производство"),address:{"@type":"PostalAddress",streetAddress:"ул. Хуторская, 5",addressLocality:"Константиновка",addressRegion:l,addressCountry:"RU"},email:"[email protected]"}],contactPoint:[{"@type":"ContactPoint",telephone:"+7 (909) 792-47-15",contactType:"sales",availableLanguage:"Russian"}],areaServed:{"@type":"AdministrativeArea",name:l}}}function z(){let{seo:e=null,titleFallback:t="",descriptionFallback:n="",canonicalPath:i="",imageCandidates:a=[]}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(null==e?void 0:e.metaTitle)||t,o=(null==e?void 0:e.metaDesc)||n,l=(null==e?void 0:e.ogTitle)||r,c=(null==e?void 0:e.ogDesc)||o,u=(null==e?void 0:e.ogImageUrl)||a.find(Boolean)||s,m=d(u)||s,g=p((null==e?void 0:e.canonicalUrl)||(null==e?void 0:e.canonical_url)||(null==e?void 0:e.seoURL)||(null==e?void 0:e.seoUrl)||"",i);return{title:r,description:o,ogTitle:l,ogDescription:c,ogImage:m,canonical:g}}}}]);

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.