1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9370],{21106:function(e,t,n){"use strict";n.d(t,{h:function(){return a}});var a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.filter(function(e){return e.actualModel})}},5456:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return V},default:function(){return W}});var a=n(2962),r=n(9008),l=n.n(r),i=n(67294),s=n(72230),c=n(89967),o=n(56036),u=n(19967),d=n(38122),p=n(59752),x=n(8307),f=n(50029),h=n(64687),j=n.n(h),v=n(76627),_=n.n(v),m=n(16557),g=n(94764),N=n(16898),b=n(21106),C=n(52871),T=n(30719),y=n(90177),w=n(63645),O=n.n(w),S=n(85893);function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach(function(t){(0,x.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var E=function(e){!function(e){if(null==e)throw TypeError("Cannot destructure "+e)}(e);var t,n,a=(0,i.useState)(null),r=a[0],l=a[1],s=(0,i.useState)(""),c=s[0],o=s[1],u=(0,i.useState)(""),d=u[0],p=u[1],x=(0,i.useState)(null),h=x[0],v=x[1],w=(0,i.useState)(""),I=w[0],E=w[1],P=(0,i.useState)(""),k=P[0],M=P[1],B=(0,N.Z)(),D=function(e){l(m.t.find(function(t){return t.name===e.target.value})||null),o("")},V=function(e){o(e.target.value)},W=function(e){v(g.d.find(function(t){return t.id===e.target.value})||null),E("")},A=function(e){E(e.target.value)},F=(0,i.useState)(!1),L=F[0],U=F[1],X=(0,i.useState)(""),Y=X[0],q=X[1],z=(0,i.useState)(""),G=z[0],H=z[1],J=(0,i.useState)(!1),K=J[0],Q=J[1],R="ÐаÑвка на ÑÑейд-ин, ÐаÑка: ".concat(r,", ÐоделÑ: ").concat(c,", СоÑÑоÑние: ").concat(d,", РаÑÑмаÑÑиваеÑ: ").concat(h," ").concat(I,", ÐÑедиÑ: ").concat(k," | ÐаÑÐ²ÐºÑ Ð¾ÑÑавил: ").concat(Y," ").concat(G),$=(t=(0,f.Z)(j().mark(function e(t){var n;return j().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),!(G.replace(/\D/g,"").length<11)){e.next=4;break}return Q(!0),e.abrupt("return");case 4:return e.next=6,B();case 6:n={name:Y,phone:G,message:R,depType:"ÐÐÐÐ",company_id:e.sent},(0,C.Z)(n).then(function(e){"ok"in e&&e.ok&&(U(!0),l(null),o(""),p(""),v(null),E(""),M(""),q(""),H(""))}).catch(function(e){return console.error(e)});case 9:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)});return(0,S.jsxs)("div",{className:O().box,children:[(0,S.jsx)(T.Z,{title:"РаÑÑÑиÑайÑе ÑÑоимоÑÑÑ Ð²Ð°Ñего авÑÐ¾Ð¼Ð¾Ð±Ð¸Ð»Ñ Ð² ÑÑейд-ин за неÑколÑко минÑÑ",description:""}),(0,S.jsx)("div",{className:O().space}),(0,S.jsxs)("div",{className:O().wrapper,children:[(0,S.jsx)("div",{className:O().img,children:(0,S.jsx)("img",{alt:"РаÑÑÑиÑайÑе ÑÑÑйд-ин",src:"/img/pics/trade-in.jpg",title:"РаÑÑÑиÑайÑе ÑÑÑйд-ин"})}),(0,S.jsxs)("form",{className:O().calculator,onSubmit:$,children:[(0,S.jsxs)("div",{className:"".concat(O().inputWrap," ").concat(O().doble),children:[(0,S.jsxs)("div",{className:O().forinput,children:[(0,S.jsx)("span",{className:O().selectname,children:"ÐаÑка ваÑего авÑомобилÑ"}),(0,S.jsxs)("select",{className:O().selectModel,onChange:function(e){return D(e)},defaultValue:"",children:[(0,S.jsx)("option",{disabled:!0,value:"",children:"ÐаÑка"}),m.t.map(function(e,t){return(0,S.jsx)("option",{value:e.name,children:e.name},t)})]})]}),(0,S.jsxs)("div",{className:O().forinput,children:[(0,S.jsx)("span",{className:O().selectname,children:"ÐÐ¾Ð´ÐµÐ»Ñ Ð²Ð°Ñего авÑомобилÑ"}),(0,S.jsxs)("select",{className:O().selectModel,onChange:function(e){return V(e)},defaultValue:"",children:[(0,S.jsx)("option",{disabled:!0,value:"",children:"ÐоделÑ"}),null==r?void 0:r.models.map(function(e,t){return(0,S.jsx)("option",{value:e.name,children:e.name},t)})]})]})]}),(0,S.jsxs)("div",{className:O().forinput,children:[(0,S.jsx)("span",{className:O().selectname,children:"СоÑÑоÑние ваÑего авÑомобилÑ"}),(0,S.jsxs)("select",{className:O().selectModel,onChange:function(e){return p(e.target.value)},children:[(0,S.jsx)("option",{value:"ХоÑоÑее",children:"ХоÑоÑее"},7),(0,S.jsx)("option",{value:"ÐÑлиÑное",children:"ÐÑлиÑное"},8),(0,S.jsx)("option",{value:"ТÑебÑÐµÑ ÑемонÑа",children:"ТÑебÑÐµÑ ÑемонÑа"},9)]})]}),(0,S.jsxs)("div",{className:O().forinput,children:[(0,S.jsx)("span",{className:O().selectname,children:"Ðакой авÑÐ¾Ð¼Ð¾Ð±Ð¸Ð»Ñ Ð±ÐµÑÑÑе в ÑÑейд-ин"}),(0,S.jsxs)("div",{className:O().cartobuy,children:[(0,S.jsxs)("select",{className:O().selectModel,onChange:function(e){return W(e)},defaultValue:"",children:[(0,S.jsx)("option",{disabled:!0,value:"",children:"ÐоделÑ"}),(0,b.h)(g.d).map(function(e,t){return(0,S.jsx)("option",{value:e.id,children:e.name.toUpperCase()},t)})]}),(0,S.jsxs)("select",{className:O().selectModel,onChange:function(e){return A(e)},defaultValue:"",children:[(0,S.jsx)("option",{disabled:!0,value:"",children:"ÐомплекÑаÑиÑ"}),null==h||null===(n=h.complectations)||void 0===n?void 0:n.map(function(e,t){return(0,S.jsx)("option",{value:e.name,children:e.name},t)})]})]})]}),(0,S.jsxs)("div",{className:O().forinput,children:[(0,S.jsx)("span",{className:O().selectname,children:"ÐланиÑÑеÑе покÑÐ¿ÐºÑ Ð² кÑедиÑ?"}),(0,S.jsxs)("select",{className:O().selectModel,onChange:function(e){return M(e.target.value)},children:[(0,S.jsx)("option",{value:"Ðа",children:"Ðа"},"Ðа"),(0,S.jsx)("option",{value:"ÐеÑ",children:"ÐеÑ"},"ÐеÑ")]})]}),(0,S.jsxs)("div",{className:"".concat(O().inputWrap," ").concat(O().doble),children:[(0,S.jsxs)("div",{className:O().forinput,children:[(0,S.jsx)("span",{className:O().selectname,children:"ÐаÑе имÑ"}),(0,S.jsx)("input",{type:"text",value:Y,onChange:function(e){K&&Q(!1),q(e.target.value)},placeholder:"ÐмÑ"})]}),(0,S.jsxs)("div",{className:O().forinput,children:[(0,S.jsx)("span",{className:O().selectname,children:"ÐÐ°Ñ Ð½Ð¾Ð¼ÐµÑ ÑелеÑона"}),(0,S.jsx)(_(),{mask:"+7 (999) 999-99-99",value:G,onChange:function(e){K&&Q(!1),H(e.target.value)},children:function(e){return(0,S.jsx)("input",Z(Z({},e),{},{type:"tel",minLength:18,placeholder:"+7 (___) ___-__-__",className:"".concat(K?O().error:"")}))}})]})]}),(0,S.jsx)("div",{className:O().button,children:(0,S.jsx)(y.Z,{fullwidth:!0,type:"black",disabled:L,children:L?"СпаÑибо, заÑвка оÑпÑавлена!":"ÐолÑÑиÑÑ ÑоÑнÑй ÑаÑÑÑеÑ"})}),(0,S.jsx)("div",{className:O().disclaimer,children:(0,S.jsxs)("p",{children:["*ÐÐ°Ð¶Ð¸Ð¼Ð°Ñ Ð½Ð° ÐºÐ½Ð¾Ð¿ÐºÑ âÐолÑÑиÑÑ ÑоÑнÑй ÑаÑÑеÑâ Ð²Ñ ÑоглаÑаеÑеÑÑ Ñ"," ",(0,S.jsx)("a",{href:"/privacy-policy/",title:"ÐолиÑикой конÑиденÑиалÑноÑÑи",children:"ÐолиÑикой конÑиденÑиалÑноÑÑи"})," ","компании и"," ",(0,S.jsx)("a",{href:"/privacy-policy/",title:"ÐолиÑикой обÑабоÑки пеÑÑоналÑнÑÑ
даннÑÑ
",children:"ÐолиÑикой обÑабоÑки пеÑÑоналÑнÑÑ
даннÑÑ
"})]})})]})]})]})},P=n(4802),k=n(3255),M=n.n(k),B=n(25603),D=function(e){var t,n,a,r,l,i,x,f,h=e.filteredArticles,j=e.newCars,v=e.newCarsOptions,_=e.pageInfo;return(0,S.jsxs)("div",{className:M().wrapper,children:[(0,S.jsx)(s.Z,{page:_,depType:"ÐÐÐÐ"}),(0,S.jsxs)(P.Z,{noPaddingBottom:!0,noPaddingTop:!0,children:[(0,S.jsx)(o.Z,{breadcrumbs:[{title:"ТÑейд-ин"}],noPaddingBottom:!0}),(0,S.jsx)(d.Z,{title:String(null===(t=_.text_first)||void 0===t?void 0:t.t
1itle),text:String(null===(n=_.text_first)||void 0===n?void 0:n.text)}),(0,S.jsx)(c.Z,{page:_,type:"threecolumn"}),(0,S.jsx)(E,{}),(0,S.jsx)(d.Z,{title:String(null===(a=_.text_second)||void 0===a?void 0:a.title),text:String(null===(r=_.text_second)||void 0===r?void 0:r.text)}),(0,S.jsx)(d.Z,{title:String(null===(l=_.text_third)||void 0===l?void 0:l.title),text:String(null===(i=_.text_third)||void 0===i?void 0:i.text)}),(0,S.jsx)(d.Z,{title:String(null===(x=_.text_fourth)||void 0===x?void 0:x.title),text:String(null===(f=_.text_fourth)||void 0===f?void 0:f.text)})]}),(0,S.jsx)(p.default,{title:"ÐвÑо в налиÑии",description:"",type:"new",cars:j,options:v}),(0,S.jsx)(B.Z,{interval:48}),(0,S.jsx)(u.Z,{title:"ÐопÑлÑÑнÑе ÑÑаÑÑи",description:"",list:h,type:"articles",titleType:"h3"}),(0,S.jsx)(B.Z,{interval:48})]})},V=!0,W=function(e){var t=e.filteredArticles,n=e.newCars,r=e.newCarsOptions,i=e.pageInfo;return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(l(),{children:(0,S.jsx)("link",{rel:"shortcut icon",href:"/img/favicon.svg"})}),(0,S.jsx)(a.PB,{title:"TENET по ÑÑейд-ин в СанкÑ-ÐеÑеÑбÑÑге: ÐÑгоднÑй обмен ваÑего авÑо Ñ Ð¾ÑиÑиалÑного дилеÑа",description:"TENET Ð ÑÑейд ин вÑгоднÑе ÑÑÐ»Ð¾Ð²Ð¸Ñ Ð¾Ð±Ð¼ÐµÐ½Ð° ÑÑаÑого авÑÐ¾Ð¼Ð¾Ð±Ð¸Ð»Ñ Ð½Ð° новÑй ТÐÐÐТ Ð¾Ñ Ð¾ÑиÑиалÑного дилеÑа TENET ÐакÑимÑм",additionalLinkTags:[{rel:"icon",href:"/favicon.svg"}]}),(0,S.jsx)(D,{filteredArticles:t,newCars:n,newCarsOptions:r,pageInfo:i})]})}},44602:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/trade-in",function(){return n(5456)}])},63645:function(e){e.exports={forinput:"TradeInCalculator_forinput__EAIFj",img:"TradeInCalculator_img__B22h_",cartobuy:"TradeInCalculator_cartobuy__xUnii",selectname:"TradeInCalculator_selectname__JI2Cc",wrapper:"TradeInCalculator_wrapper__oUqcv",calculator:"TradeInCalculator_calculator__NonfR",selectModel:"TradeInCalculator_selectModel__6gPiM",inputWrap:"TradeInCalculator_inputWrap__IbZSx",doble:"TradeInCalculator_doble__3WOnF",disclaimer:"TradeInCalculator_disclaimer__OPB7C",button:"TradeInCalculator_button__0IsBY",title:"TradeInCalculator_title__BYuQL",box:"TradeInCalculator_box__zn3oT",text:"TradeInCalculator_text__VH0t9",space:"TradeInCalculator_space__dBZfg",error:"TradeInCalculator_error__KFZiE"}},3255:function(){}},function(e){e.O(0,[3247,6646,9512,542,7242,3783,4113,2888,9774,179],function(){return e(e.s=44602)}),_N_E=e.O()}]);
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.