(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4794],{62756:function(e,n,t){"use strict";t.d(n,{Z:function(){return s.Z}});var s=t(36514)},70972:function(e,n,t){"use strict";t.d(n,{Z:function(){return B}});var s=t(59499),a=t(67294),i=t(25934),o=t(94184),l=t.n(o),r=t(76627),c=t.n(r),u=t(5152),d=t.n(u),h=t(57333);t(89242),t(5153);var f=t(43167),v=t.n(f),g=t(14595),m=t(53756),p=t(85893);function x(e){var n,t,s=e.className,a=e.width,i=void 0===a?null!==(n=e.size)&&void 0!==n?n:24:a,o=e.height,l=void 0===o?null!==(t=e.size)&&void 0!==t?t:18:o;return(0,p.jsx)("svg",{className:void 0===s?"":s,fill:"none",height:l,viewBox:"0 0 640 480",width:i,xmlns:"http://www.w3.org/2000/svg",children:(0,p.jsxs)("g",{fillRule:"evenodd",children:[(0,p.jsx)("path",{d:"M0 0h640v480H0z",fill:"#fff"}),(0,p.jsx)("path",{d:"M0 160h640v320H0z",fill:"#0039a6"}),(0,p.jsx)("path",{d:"M0 320h640v160H0z",fill:"#d52b1e"})]})})}var j=t(50613),w=t(34121),k=t.n(w),_=t(57347);function b(e){var n,t,s=e.className,a=e.width,i=void 0===a?null!==(n=e.size)&&void 0!==n?n:24:a,o=e.height,l=void 0===o?null!==(t=e.size)&&void 0!==t?t:18:o;return(0,p.jsxs)("svg",{className:void 0===s?"":s,fill:"none",height:l,viewBox:"0 0 640 480",width:i,xmlns:"http://www.w3.org/2000/svg",children:[(0,p.jsx)("path",{d:"M0 0h640v160H0z",fill:"#00732f"}),(0,p.jsx)("path",{d:"M0 160h640v160H0z",fill:"#fff"}),(0,p.jsx)("path",{d:"M0 320h640v160H0z"}),(0,p.jsx)("path",{d:"M0 0h220v480H0z",fill:"red"})]})}function C(e){var n,t,s=e.className,a=e.width,i=void 0===a?null!==(n=e.size)&&void 0!==n?n:24:a,o=e.height,l=void 0===o?null!==(t=e.size)&&void 0!==t?t:18:o;return(0,p.jsxs)("svg",{className:void 0===s?"":s,fill:"none",height:l,viewBox:"0 0 640 480",width:i,xmlns:"http://www.w3.org/2000/svg",children:[(0,p.jsx)("path",{d:"M0 0h640v480H0z",fill:"#00abc2"}),(0,p.jsxs)("g",{fill:"#ffec2d",children:[(0,p.jsxs)("g",{transform:"matrix(.48 0 0 .48 345.8 201.6)",children:[(0,p.jsx)("circle",{r:"134.6"}),(0,p.jsxs)("g",{id:"kz-c",children:[(0,p.jsxs)("g",{id:"kz-b",children:[(0,p.jsx)("path",{d:"M0-152.9c8-.1 11-5.1 11-11.1 0-8-11-46.1-11-46.1S-11-172-11-164c0 6 3 11.1 11 11.1z",id:"kz-a"}),(0,p.jsx)("use",{height:"100%",transform:"rotate(90)",width:"100%",xlinkHref:"#kz-a"}),(0,p.jsx)("use",{height:"100%",transform:"scale(-1)",width:"100%",xlinkHref:"#kz-a"}),(0,p.jsx)("use",{height:"100%",transform:"rotate(-90)",width:"100%",xlinkHref:"#kz-a"})]}),(0,p.jsx)("use",{height:"100%",transform:"rotate(22.5)",width:"100%",xlinkHref:"#kz-b"}),(0,p.jsx)("use",{height:"100%",transform:"rotate(45)",width:"100%",xlinkHref:"#kz-b"}),(0,p.jsx)("use",{height:"100%",transform:"rotate(67.5)",width:"100%",xlinkHref:"#kz-b"})]}),(0,p.jsx)("use",{height:"100%",transform:"rotate(11.3)",width:"100%",xlinkHref:"#kz-c"})]}),(0,p.jsxs)("g",{transform:"translate(-172.8) scale(.48)",children:[(0,p.jsx)("path",{d:"M1075.8 655c-3.5 6.3-5.6 13.6-10 19.3-13.6-12.3-33.2-12-50.4-12.7-14.2-.8-29.6-2.1-40.6-12.2-11.5-9.5-21-21.7-33.8-29.4a83.2 83.2 0 0 1-33.1-15.3c-20.2-16.5-31.8-41-51.6-58-3.7-3.6-8.2-6.5-12.4-9.6-4 1-2.2 9.6-7.1 5.2-2.7-2-9.4-2.1-10 .6 6 8 12.1 17 13 27.2-4.2.4-11.5-.9-13.5.6a84.3 84.3 0 0 0 20.4 21.3c-3.8.6-11.3.3-12.8 1.8a59 59 0 0 0 26.8 14.7c2 2.8-3.1 8.2 1.3 10.6 2.5 1 10.9 2.8 5.1 5.7-4 2.6-2.5 8.9 2.6 8.7 3.2 1.7 10.4 2 11 5-2.9 2.8-11.7 6.2-4.2 9a52 52 0 0 0 23.1 6.7c-4 3.4-9 5.3-13.1 8.5 18.5 10.9 39 18 59.4 25 8 2.6 16.3 5.1 24.7 6.7-24.4-1.4-48-8.6-70.2-18.5-11.5-5-23-9.9-34.8-14.2 5.1-2.7 11.1-3.4 16.5-5.7-11.2-2.2-23.3-3-33-9 1.4-2.8 7-2.9 10.2-4.3 6-1.4 9.6-3 1.3-3.6-8.4-2.3-18-1.3-25.5-6.3.5-3 8.3-2 11.4-3.3 4-.7 8.4-1.3 11.6-4-13-5.3-30-1.5-40.2-13-2.3-4.4 7.3-.9 10-1.6 7 0 14.5 2.2 21.2-.6-19-8.3-39.3-16-53.7-31.4-1.6-2.5-6.4-9.3-2.5-10.1 11.2 1.5 19.3 13.7 31.4 11.8 1.6-2.1-7-5.6-9.2-8.7a229.4 229.4 0 0 1-46.8-51c-.8-6.7 9.5-7.7 12.2-2.6 13.4 13 25.5 28 42.2 36.8 6 2.9-3.4-3.4-4.6-5.7a298.7 298.7 0 0 1-40.9-57.9c-2-3.8-5.1-10.7.7-12.7 5.7-2.9 11.5 1 14.4 6 11.3 14.3 19.7 31.3 33.8 43.2-12-23.3-24.9-48-25.2-74.8.3-5.2.6-13 7.7-12.9 6-.9 5 6.7 7 10.3 5.8 19.8 8.3 41.2 20 58.6-2.5-14.6-6.4-29.7-3.8-44.6.6-5 6-6.4 9.7-3.4 2.9 7 3.5 15.9 6.1 23.5a237 237 0 0 0 93 127.2 244.7 244.7 0 0 0 123.3 42.3c4 .4 8 .5 11.9.7m136.4 91.1c-7.2 4.4-12.8-3.4-18.8-5.7-4.4 2.4-4.8 10.2-8.8 14-4.8 5.5-10.8-1.6-10.3-7-5.8 4.9-8.7 16-18 14.4-4.5-3.6-7.8-11.2-11.2-2.5-2.7 4.2-10 10.2-13.9 3.8-1.2-5.6-4-12.2-7-3.3-2.2 6.4-9 11-15.4 8.2-3.6-2.9 2.8-13.7-1.7-13-6.8 4.6-10.8 15.7-20.3 14.8-3.7-4 2.3-11.1-1.8-15.7-4.7 6.1-10 15.1-18.3 15.7-4-3.2.2-12.5-2.4-13.8-8.4 5-17.4 14.1-28 11.3 4.1-16 21.5-21.5 36-22.7 25.1-3.1 51.5 2.6 75.7-6.5 3.9-2.4 13.3-5.7 10-11.2-3-4.4 7.7-2.7 8.7-7.8-.6-6.4 5-5.5 10.4-6 24.4-1.1 48.5 4 72.8 4.9 1.8 11.8-11.3 20.1-22 16.5-5 .8-12.5-11.6-11-2.6-1 4.8-.4 11-4.7 14.2m-207.4-24.2c5.6 5.1 9.6-1 14.9-3.3a197 197 0 0 0 48.3-27.3c9.2-7.6 17.2-17.5 29.6-20 24.2-7.3 49.9-6.4 74.1-13.2 18.5-25.2 49.8-34.3 76.1-48.8 5.9-1.8 8.2-6.7 10-12 10-15.9 23.7-29.9 39.9-39.5a37.2 37.2 0 0 1 25.4-4.6 42.4 42.4 0 0 1-13.7 26.5c5.9-.1 11-3.8 16.8-3.6 2 10.6-9.4 16.1-15.5 22.7 3.4.8 16.4 1.8 9.3 5.2-9 6.2-19.3 10.5-27.6 17.8 7.7 1.4 8.6 3 .8 5.8-4.3 2.8-12.4 3.8-13.2 9.4 5.8 3.6-2.6 7-5.9 8.2-6.2 1.5-12.8 4.2-4.5 9-3.1 4.7-9.9 5.7-15.4 5.2 1.7 5.4 4.1 11.4-2.8 13.8a107.7 107.7 0 0 1-53.6 22.4c24.5 1.8 49.8-2.7 70.7-16 2.8-3.3 17.3-6.9 9.2-9.6-3.8-1.6-12-3.4-12.6-6.3 11.4-7 25.7-4.5 37.9-8.6.3-4-9.3-2.9-12.9-3.8-8.5-.7-8-2.9.2-3.7 10.4-2.8 22.2-3.3 31-10-7.1-3.4-16.1-.5-23.7-3.2 12.9-5.6 28.1-6.2 39.7-14.7 5.3-5.9-6.8-4-10.3-3.9-7.1 1.3-10.4-2.2-2.3-5.1 13.9-10.3 31.4-16.9 41.2-31.7 2.3-3.3 5.4-13.3-2-9.8-9.6 3.3-18.1 14.1-29.2 10.8 21.8-16.9 42.4-36 57.3-59.3.8-6.8-9.8-7.5-12.5-2.2-14 13.4-26.6 29.3-44.5 37.8a280.6 280.6 0 0 0 43.6-56.4c2.7-6 9.8-13.3 6-20-6.3-5.2-14.1-.4-17.3 5.7-10.9 14.2-19.1 30.7-33 42.3 12.1-23.3 24.8-48.2 25-75 0-5.6-1-13.8-8.6-12.7-6 1-4.5 10-7 14.5-5.4 18.4-8 38.3-19 54.3 2.5-14.9 6.8-30.5 3.5-45.5-1.6-6.8-12.5-3.9-11 2.8-13 65.9-57.3 123.5-115 156.8-26.5 15-56 24.6-86.2 29-8 1.7-16.8.7-24.5 3.5-18.8 14.3-30.1 38.4-53.8 45.9-10.7 5.3-24.5 6.4-32.1 16.2a8.6 8.6 0 0 0-.8 4.2m51.7-10.3c-3.6.2-7.1.6-10.6 1.7-4.7.7-9.2 2.3-13.8 3l-1.9.4-3.1.3a10.9 10.9 0 0 1 0 5.1 6 6 0 0 1-1.4 2c-.6.8-1.3 1.4-2.2 1.8a7 7 0 0 1-2.6.7c-.9 0-1.8 0-2.7-.4-.9-.3-1.7-.8-2.5-1.5l-2.8.5h-2.6l-2.8-1a16.1 16.1 0 0 1-2.6-1.3c-3.4 2-7.2 3.9-9.3 7.4a11 11 0 0 0-1.6 5.3c-.2 2.4.4 4.8 1.4 7 .4.6.7-2.3 1.8-2.7 1.9-1.6 4.3-2.7 6.7-3.3 2-1 1.7 0 .9 1.6-.2.9-1.3 4 .2 2.4a65 65 0 0 1 21.6-4.1c10.6-1.1 21.2-1.4 31.8-1.5l30 .6c4.8.2 9.6 1.2 14.3.4 1.1-.3 2.9-.3 3.6-1-2.2-1.2-4.7-1.3-7-1.6h-19.1c-5.3-.5-10.8-.6-15.8-2.6-1.4-.5-2.6-1.8-3.9-.4a24 24 0 0 1-5.9 1.3c-3.5.2-7-.5-10.2-1.8 2.3-3.2 5.1-6 7.7-9l-6.2-1.3c3.7-2.5 7-5.4 10.6-8z"}),(0,p.jsx)("circle",{cx:"1020",cy:"720.9",r:"2.4"}),(0,p.jsx)("circle",{cx:"1019.8",cy:"720.5",r:"1",stroke:"#ffec2d",strokeWidth:".4"})]}),(0,p.jsxs)("g",{transform:"scale(.48)",children:[(0,p.jsxs)("g",{id:"kz-f",children:[(0,p.jsxs)("g",{id:"kz-e",children:[(0,p.jsx)("path",{d:"M120 73s-9.6-8.2-12.9-4.1c-5.2 6.5 16.2 39 16.2 50.4 0 18.8-12.6 23.9-28 26.5-10.4 1.8-27.3-.7-27.3-.7 3.2-4.3 5.3-5.6 10.6-5.9-6-3-12-9.8-12-20.3 0-16.1 6.6-22.8 6.6-41C73.2 68 65 55 65 55c14.6 1.5 21.8 15 17.7 25.8a7 7 0 0 0 6.3-1.9c1 3-.6 6.5-2.9 9.5 1.8 1 3.2.4 6-.2-.2 3-2 6.4-6.6 9.5 13.2-3.4 21.2 5.7 21.2 15.3 0 7.3-5 12.5-10 12.5-1.6 0-4-.7-5.3-1.7-1 2-.4 4.7.5 6.7-3.6-1-6-3.2-4.3-7.7-2.8-.2-5-1.2-6.5-3 1.5-2 3.8-3 6.5-3-2-4.2.3-6.5 3.6-8.4 0 0-2.1 8.4 3.2 8.4 2.4 0 4.6-.7 4.6-4.3 0-3.1-2.7-7.4-9-7.1-6.2.3-11.3 4.3-11.3 14.3 0 9.2 7.5 13.8 17.3 14 8.8.4 15.5-4.4 15.5-13.5C111.5 108 94 80.4 94 69.6c0-8.1 7.2-12.7 14.4-12.7 9.2 0 17 9.2 17 9.2l-5.4 6.8z"}),(0,p.jsx)("path",{d:"M122 292.1c0 20.3-18.2 30.7-32.5 30.7-19.2 0-29.5-11.5-29.5-26.6 0-8.5 1.6-13.9 5.5-22l44.2-91.7a27 27 0 0 0 2-12.2c0-8.2-8-14.9-16.3-15-7.6-.3-16 7-16 15.3 0 10.1 5.3 14.6 10.7 14.6 6.6 0 9.2-2.7 9.2-7.4 0-3.2-1.5-4.6-3.8-4.6-5.7 0-4 7.6-4 7.6a5.2 5.2 0 0 1-3.9-7 10.2 10.2 0 0 1-5.5-3.3c1.5-1.5 3.3-2.6 5.5-3-1.3-4.4.5-6.5 4.3-7.5a7.6 7.6 0 0 0-.5 4.8c6-1.8 15.3 1 15.3 11.4s-7.2 19.1-20.7 17c3.2 1.5 4.8 4.6 5.2 8.1-2.5-1-5.2-1-5.2-1 1.6 2.7 3.8 5 3.7 10.6-2.5-1.2-4.9-3.3-8-2 5 10-1.2 23.6-17 26.8 5.8-6.8 8.6-14 8.6-21.3 0-23.5-6.5-27.4-6.5-43.8a24 24 0 0 1 10.5-19.2v.3A14 14 0 0 1 68 145a62 62 0 0 1 34 .3 25 25 0 0 1 18 12 36 36 0 0 1 0 28.9c-6.3 13-35.7 75.6-44.9 95.2-2 4.2-3.1 8.6-3.1 13.4 0 12 11 16.2 17.2 16.2 7.5 0 15.2-5.7 15.2-12.8 0-4.5-2.5-7.3-6-7.3-8.5 0-8 7.2-6.3 11.8-5.3-2.4-8.3-6.6-7.5-11a14 14 0 0 1-8.4-4.8c2-2.6 4.6-4.6 8.4-4.7-1.7-6.9 3-9.8 7.5-11.4-1.4 5-2.4 10.9 6.3 10.9 6.3 0 11.2 1 14.1 5.2l.7-27c.4-8.1-10.8-8-18-5.5 2.7-9.3 8.2-14.4 21-13.1a10 10 0 0 1-6.4-9.8c0-7.6 6.2-16 10.2-18.5l2 79z",id:"kz-d"}),(0,p.jsx)("use",{height:"100%",transform:"matrix(1 0 0 -1 0 645)",width:"100%",xlinkHref:"#kz-d"})]}),(0,p.jsx)("use",{height:"100%",transform:"matrix(-1 0 0 1 240 0)",width:"100%",xlinkHref:"#kz-e"})]}),(0,p.jsx)("use",{height:"100%",transform:"matrix(1 0 0 -1 0 1000)",width:"100%",xlinkHref:"#kz-f"})]})]})]})}var N=function(e){var n=e.lang,t=e.setLang,s=_.t.isShowTranslate,i=_.t.availableLanguages,o=(0,a.useState)(!1),l=o[0],r=o[1],c={ru:(0,p.jsx)(x,{}),en:(0,p.jsx)(b,{}),kz:(0,p.jsx)(C,{})};return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)("div",{className:k().flag,onClick:function(e){return r(!l)},children:[n in c?c[n]:c.ru,s&&(0,p.jsx)(j.v,{})]}),l&&(0,p.jsx)("div",{className:k().list,onMouseLeave:function(e){return r(!1)},children:Object.entries(c).map(function(e){return i.includes(e[0])&&(0,p.jsx)("div",{className:k().listItem,onClick:function(){t(e[0]),r(!1)},children:e[1]},e[0])})})]})},y=t(77361),S=t(77907),M=t(94701),z=t(86172),L=t(96486),F=t(62756),T=t(22696),Z=d()(function(){return t.e(4607).then(t.bind(t,34607))},{ssr:!1,loadableGenerated:{webpack:function(){return[34607]}}}),H=d()(function(){return t.e(487).then(t.bind(t,70487))},{ssr:!1,loadableGenerated:{webpack:function(){return[70487]}}});function B(e){var n=e.autofocus,t=void 0!==n&&n,o=e.className,r=e.errorClassName,u=e.controls,d=void 0===u?[]:u,f=e.controlType,x=void 0===f?"input":f,j=e.dateValue,w=e.disabled,k=e.error,b=e.inputType,C=void 0===b?"text":b,B=e.autocomplete,I=void 0===B?"":B,D=e.label,E=e.maxLength,R=e.name,P=e.onBlur,A=void 0===P?function(){}:P,U=e.onChange,q=void 0===U?function(){}:U,G=e.placeholder,O=e.rows,Y=void 0===O?5:O,K=e.silentError,W=e.suggestionsSource,J=void 0===W?null:W,V=e.switchValue,Q=void 0===V?null:V,X=e.value,$=void 0===X?"":X,ee=e.mask,en=e.alwaysShowMask,et=e.maskChar,es=e.onSuggestionSelect,ea=void 0===es?function(){}:es,ei=e.onPaste,eo=void 0===ei?function(){}:ei,el=e.autosuggestNoMatchMessage,er=void 0===el?"":el,ec=e.numericSuffix,eu=void 0===ec?"":ec,ed=e.sliderControlClassName,eh=void 0===ed?"":ed,ef=e.ref,ev=e.onFocus,eg=e.suggestionListClassName,em=void 0===eg?"":eg,ep=e.autosuggestNoMatchContent,ex=e.externalFocusControl,ej=e.isLoading,ew=void 0!==ej&&ej,ek=e.changeFormType,e_=e.onSuggestionClear,eb=e.isNeedFallbackForAddress,eC=void 0!==eb&&eb,eN=(0,a.useRef)(null),ey=(0,m.$G)("common").t,eS=(0,a.useState)((0,i.Z)())[0],eM=(0,a.useState)(0),ez=eM[0],eL=eM[1],eF=(0,a.useState)(null),eT=eF[0],eZ=eF[1],eH=(0,a.useState)(!1),eB=eH[0],eI=eH[1],eD=(0,a.useState)((0,y._f)()||_.t.defaultLanguage),eE=eD[0],eR=eD[1],eP={ru:{phoneFieldRegionSign:"+7",mask:"(999) 999 9999"},en:{phoneFieldRegionSign:"+971",mask:($+"").replace(S.Wl,"").length<8?"99 999 999":"99 999 9999"},kz:{phoneFieldRegionSign:"+7",mask:"(999) 999 9999"}},eA=function(){eL(0),eI(!1)};(0,a.useEffect)(function(){void 0!==ex&&eI(ex)},[ex]);var eU=function(e){void 0===ex&&eI(!1);var n=new Event("fields.input",{bubbles:!0});setTimeout(function(){ea(e),eN.current&&(eN.current.dispatchEvent(n),"houseNumber"in e?eN.current.value="".concat(e.name).concat((0,z.c)(e.houseNumber)?" ":""):eN.current.value=e.name),n.target&&q(n)},500)},eq=function(){var e=document.querySelector(".".concat(v().suggestions)),n=document.querySelector(".".concat(v().activeSuggestion));if(e&&n&&e instanceof HTMLElement&&n instanceof HTMLElement){var t=n.offsetTop<e.scrollTop,s=n.offsetTop+n.clientHeight>e.scrollTop+e.clientHeight;t?e.scrollTop=n.offsetTop:s&&(e.scrollTop=n.offsetTop+n.clientHeight-e.clientHeight)}},eG=function(e){if((0,L.isNull)(J))return!1;if("Enter"===e.key&&J.length>0)eU(J[ez]),e.target instanceof HTMLInputElement&&e.target.blur();else if("ArrowUp"===e.key){if(e.preventDefault(),0===ez)return;eL(ez-1)}else if("ArrowDown"===e.key){if(e.preventDefault(),ez+1>=J.length)return;eL(ez+1)}};return(0,a.useEffect)(function(){"phone"===x&&t&&eT&&setTimeout(function(){eT.focus()})},[t,x,eT]),(0,a.useEffect)(function(){eq()},[ez]),(0,p.jsxs)("div",{className:l()(v().host,void 0===o?"":o,(0,s.Z)({},v().invalid,k)),children:[D&&(0,p.jsx)("label",{htmlFor:eS,children:D}),function(){var e,n,a,i;switch(x){case"input":return(0,p.jsx)("input",{autoComplete:I||"off",autoFocus:t,disabled:w,id:eS,maxLength:E,name:R,onBlur:A,onChange:q,onFocus:ev,onPaste:eo,placeholder:G,ref:ef,type:C,value:$});case"textarea":return(0,p.jsx)("textarea",{autoComplete:"off",autoFocus:t,disabled:w,id:eS,maxLength:E,name:R,onBlur:A,onChange:q,placeholder:G,rows:Y,value:$});case"autosuggest":return(0,p.jsxs)("div",{className:v().suggestionsControl,children:[(0,p.jsx)("input",{autoComplete:"off",autoFocus:t,className:l()((0,s.Z)({},v().suggestionsOpenedInput,(0,z.c)(J))),disabled:w,id:eS,maxLength:E,name:R,onBlur:function(e){e.currentTarget.name!==R&&setTimeout(function(){A(e),eA()},400)},onChange:function(e){q(e),eI(e.target.value.length>=3)},onFocus:function(e){eI(!0),ev&&ev(e);var n=eN.current;n&&setTimeout(function(){var e=n.value.length;n.setSelectionRange(e,e)},100)},onKeyDown:eG,placeholder:G,ref:eN,type:C,value:$}),!!(null!=eN&&null!==(e=eN.current)&&void 0!==e&&e.value.toString().length)&&ex&&!ew&&(0,p.jsx)("span",{className:v().clear,onClick:function(e){e.preventDefault(),null!=eN&&eN.current&&(eN.current.value="",e_&&e_(),setTimeout(function(){eN.current.value="",eN.current.focus()},250))},children:(0,p.jsx)("svg",{height:"10",viewBox:"0 0 10 10",width:"10",xmlns:"http://www.w3.org/2000/svg",children:(0,p.jsx)("path",{d:"M10 1.00714L8.99286 0L5 3.99286L1.00714 0L0 1.00714L3.99286 5L0 8.99286L1.00714 10L5 6.00714L8.99286 10L10 8.99286L6.00714 5L10 1.00714Z"})})}),(0,p.jsx)(F.Z,{className:v().loader,color:(0,T.y)("--primary-color"),radius:20,stroke:2,visible:ew}),!(0,L.isNull)(J)&&eB&&$.toString().length>=3&&(0,z.c)(J)?(0,z.c)(ep)&&(0,z.c)(er)||ew?null:(0,p.jsx)("div",{className:l()(v().autosuggestNoMatchMessage,v().suggestions,"animate__animated animate__fadeIn animate__faster",em),children:(0,p.jsx)("li",{className:v().suggestion,children:(0,z.c)(ep)?er:ep})}):!eB||(0,z.c)(J)?null:(0,p.jsxs)("ul",{className:l()(v().suggestions,"animate__animated animate__fadeIn animate__faster",em),children:[null==J?void 0:J.map(function(e,n){return(0,p.jsx)("li",{className:l()(v().suggestion,(0,s.Z)({},v().activeSuggestion,!!n&&n===ez)),onClick:function(n){var t;eU(e),(null===(t=eN.current)||void 0===t?void 0:t.name)==="address"&&(0,z.c)(null==e?void 0:e.houseNumber)&&eN.current.focus()},children:(0,M.Z)((0,z.c)(e.content)?e.name:e.content)},"".concat(n,"_").concat(e.id,"_").concat(e.name))}),eC&&(0,p.jsx)("li",{className:v().lastItem,onClick:function(e){ek&&ek()},style:{position:"sticky",bottom:0,left:0,width:"100%",padding:"15px 5px 15px 20px",backgroundColor:"var(--primary-bg-color)"},children:"Моего адреса нет в списке"})]})]});case"slider":return(0,p.jsx)(g.Z,{className:v().sliderField,controls:d,onChange:function(e){return q(e)},selected:Q,sliderClassName:eh});case"date":return(0,p.jsx)(Z,{autoFocus:t,calendarIcon:(0,p.jsx)(H,{className:v().calendarIcon}),className:v().dateField,clearIcon:null,dayPlaceholder:ey("fields.DD"),disableCalendar:w,disabled:w,format:"dd.MM.yyyy",locale:"ru-RU",maxDate:new Date,monthPlaceholder:ey("fields.MM"),onChange:q,openCalendarOnFocus:!1,showLeadingZeros:!0,value:j,yearPlaceholder:ey("fields.YYYY")});case"phone":return(0,p.jsxs)("div",{className:v().phoneField,children:[(0,p.jsx)(N,{lang:eE,setLang:eR}),(0,p.jsx)("div",{className:"phoneFieldRegionSign",children:null!==(n=null===(a=eP[eE])||void 0===a?void 0:a.phoneFieldRegionSign)&&void 0!==n?n:eP.ru.phoneFieldRegionSign}),(0,p.jsx)(c(),{alwaysShowMask:null!=en&&en,autoFocus:t,disabled:w,inputRef:function(e){return eZ(e)},mask:null===(i=eP[eE])||void 0===i?void 0:i.mask,maskChar:null!=et?et:null,name:R,onChange:q,onPaste:eo,placeholder:G,type:"tel",value:$})]});case"mask":return(0,p.jsx)(c(),{alwaysShowMask:null!=en&&en,autoFocus:t,disabled:w,inputRef:function(e){return eZ(e)},mask:null!=ee?ee:"",maskChar:null!=et?et:null,name:R,onChange:q,placeholder:G,type:null!=C?C:"text",value:$});case"numeric":return(0,p.jsx)(h.Z,{allowLeadingZeros:!0,disabled:w,displayType:"input",isAllowed:function(e){var n=e.floatValue;return(null!=n?n:0)<999999},name:R,onChange:q,placeholder:G,suffix:eu,thousandSeparator:" ",type:"tel",value:$});default:return null}}(),!K&&k&&(0,p.jsx)("span",{className:l()(v().error,void 0===r?"":r),children:k})]})}},44794:function(e,n,t){"use strict";t.d(n,{Z:function(){return s.Z}});var s=t(70972)},16421:function(e,n,t){"use strict";t.d(n,{Z:function(){return h}});var s=t(59499),a=t(67294),i=t(94184),o=t.n(i),l=t(25934),r=t(52257),c=t.n(r),u=t(75051),d=t(85893);function h(e){var n=e.controls,t=e.selected,i=e.onChange,r=e.className,h=e.sliderClassName,f=e.disabled,v=e.activeClassName,g=e.activeDeliveryTypeInner,m=void 0===g?"":g,p=(0,a.useContext)(u.F).isDesktop,x=(0,l.Z)(),j=(0,a.useState)(null),w=j[0],k=j[1],_="AppSlideControl_".concat(x,"_").concat(null==t?void 0:t.value),b=(0,a.useMemo)(function(){return n.findIndex(function(e){return e.value===(null==t?void 0:t.value)})},[n,null==t?void 0:t.value]),C=(0,a.useMemo)(function(){return 0===b?2:0},[2,b]),N=(0,a.useMemo)(function(){return b===n.length-1?2:0},[n.length,2,b]),y=(0,a.useMemo)(function(){return 100*b},[b]);(0,a.useEffect)(function(){var e=document.querySelector("#".concat(_));e instanceof HTMLButtonElement&&k(e)},[_]);var S=n.map(function(e){var n,a=t&&t.value===e.value;return(0,d.jsx)("button",{className:o()(c().button,(n={},(0,s.Z)(n,c().activeButton,a),(0,s.Z)(n,m,a),n)),disabled:f||(null==t?void 0:t.disabled),id:"AppSlideControl_".concat(x,"_").concat(e.value),onClick:function(n){k(n.currentTarget),i(e)},type:"button",children:(0,d.jsx)("label",{children:e.name})},e.value)});return(0,d.jsxs)("div",{className:o()(c().container,void 0===r?"":r,(0,s.Z)({},c().desktopContainer,p)),children:[(0,d.jsx)("div",{className:o()(c().host,void 0===h?"":h,(0,s.Z)({},c().desktopHost,p)),children:S}),t&&(0,d.jsx)("div",{className:o()(void 0===v?"":v,(0,s.Z)({},c().active,!!w)),style:{width:"".concat(100/n.length,"%"),transform:"translateX(calc(".concat(y,"% + ").concat(C,"px - ").concat(N,"px))")}})]})}},14595:function(e,n,t){"use strict";t.d(n,{Z:function(){return s.Z}});var s=t(16421)},38139:function(e,n,t){"use strict";t.r(n),t.d(n,{User:function(){return x}});var s=t(27812),a=t(30536),i=t(19554),o=t(23082),l=t.n(o),r=t(41664),c=t.n(r),u=t(53756),d=t(9473),h=t(38586),f=t(77780),v=t.n(f),g=t(86172),m=t(22284),p=t(85893),x=function(e){var n=e.dispatchOpenAuth,t=i.e8.isAuthenticated,o=(0,d.v9)(function(e){return e.acceptsBonusPayment.acceptsBonusPayment}),r=(0,d.v9)(function(e){return e.profile.user}),f=(0,u.$G)("common").t,x=f("profile.bonuses",{returnObjects:!0});return(0,p.jsx)(c(),{href:"/profile",legacyBehavior:!0,prefetch:!1,shallow:!0,children:(0,p.jsxs)(a.J,{onClick:function(e){t?i.yD.navigationToProfilePage():(e.preventDefault(),n(!0))},children:[(0,p.jsxs)("div",{className:l().profileUser,children:[(0,p.jsx)("svg",{height:"14",viewBox:"0 0 13 14",width:"13",xmlns:"http://www.w3.org/2000/svg",children:(0,p.jsx)("path",{d:"M6.5 7.262c1.919 0 3.48-1.99 3.48-3.863C9.98 1.525 8.42 0 6.5 0S3.02 1.525 3.02 3.399 4.58 7.262 6.5 7.262ZM9.113 7.297a4.059 4.059 0 0 1-2.43.801h-.366a4.06 4.06 0 0 1-2.43-.801C1.683 7.645 0 9.51 0 11.76 0 12.997 2.91 14 6.5 14s6.5-1.003 6.5-2.239c0-2.25-1.683-4.116-3.887-4.464Z",fill:"currentColor"})}),(0,p.jsx)("span",{children:(null==r?void 0:r.firstName)||f("profile.title")})]}),o&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("span",{className:l().profileButtonDivider})," ",(0,p.jsx)("span",{className:l().bonuses,children:(0,g.c)(r)||!r.balance||m.G?"-":"".concat((0,h.IZ)(r.balance)," ").concat((0,g.c)(x)?"":v().apply(void 0,[r.balance].concat((0,s.Z)(x))))})]})]})})};n.default=x},50613:function(e,n,t){"use strict";t.d(n,{v:function(){return a}});var s=t(85893);function a(e){var n=e.className,t=e.onClick;return(0,s.jsx)("svg",{className:void 0===n?"":n,fill:"none",height:"6",onClick:void 0===t?function(){}:t,viewBox:"0 0 7 6",width:"7",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M3.5 6L0.468911 0.75L6.53109 0.75L3.5 6Z",fill:"#226EE8"})})}t(38139)},94701:function(e,n,t){"use strict";var s=t(25935),a=t(96486),i={htmlparser2:{decodeEntities:!0}};n.Z=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return(0,a.isNull)(n)&&(n=i),n?(0,s.ZP)(e.replace(/\n/g,"<br/>"),n):e}},43167:function(e){e.exports={host:"_1TUpn6",phoneField:"_1pe0Ko",suggestionsControl:"_1PM57c",dateField:"_3csW8b",error:"deuMIr",invalid:"_8yCpN2",sliderField:"_3Kivbc",suggestions:"mlBKo6",suggestion:"_11g_-R",activeSuggestion:"_3Ko81o",calendarIcon:"_1ABb7x",autosuggestNoMatchMessage:"_1dd_Ih",clear:"_3HGsCT",loader:"_1gj-mr",suggestionsOpenedInput:"_3csObk",lastItem:"_1PT1z6"}},34121:function(e){e.exports={flag:"_3lFN8-",list:"_13q-Yd",listItem:"htUOyg"}},52257:function(e){e.exports={container:"_1c71pw",host:"_2ENqKe",button:"_2LW5w2",activeButton:"YoqH4T",active:"_13p-77",desktopContainer:"_3gqS9T"}},23082:function(e){e.exports={host:"Wgu-tc",topRow:"_2rqUFG",user:"_1ZU2g9",topRowLeftSection:"_1Zgy64",callBtn:"_2oJIPo",cityRow:"QwxQwA",city:"_2uWKfy",userIcon:"mfS9OJ",citiesArrowDown:"_19PskF",changeableCity:"_1nw5YN",burgerIcon:"_35YG0h",desktopHost:"_3OBrf8",inc:"_207ie8",phone:"_1Bdzce",profileButtonDivider:"SIT5F8",bonuses:"cAmdUd",desktopHostWrapper:"_4plaaY",alignCenter:"_3qDH4u",logo:"_2j8aIh",authedPhone:"_1smYhD",alignLeft:"_220_qp",headerLeftCol:"_2i88Tb",info:"_2vFx1e",infoCol:"_3T5SiF",alignCenterUser:"_2jGuxG",askCurrentCity:"_3XRDdT",alignCenterSelectDeliveryType:"VREoHL",profileUser:"_2Jte2b",userLink:"_3vgPDh"}}}]);