1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="74398199-171f-47b9-ab2c-31ccea0ebd7e",e._sentryDebugIdIdentifier="sentry-dbid-74398199-171f-47b9-ab2c-31ccea0ebd7e")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5346],{967:(e,t,s)=>{"use strict";s.d(t,{R:()=>_});var n=s(37876),a=s(54587),r=s.n(a),i=s(82742),o=s(98106),l=s(23738),c=s.n(l);let _=e=>{let{setIsPopup:t,setAgeConfirm:s,birthDate:a,type:l,isTrigger:_=!1}=e,d=e=>{e.target===e.currentTarget&&t(!1)};return(0,n.jsx)("div",{className:c().Overlay,onClick:d,children:(0,n.jsxs)("div",{className:c().Popup,children:[(0,n.jsx)("div",{className:c().PopupClose,children:(0,n.jsx)(r(),{src:"/static/new-images/closeicon.svg",width:16,height:16,onClick:d})}),(0,n.jsxs)("div",{className:c().PopupContent,children:[(0,n.jsx)("h4",{children:"ÐÑовеÑÑÑе даÑÑ ÑождениÑ"}),(0,n.jsx)("p",{children:_?(0,n.jsxs)("span",{children:["РваÑем пÑоÑиле Ñказана даÑа ÑÐ¾Ð¶Ð´ÐµÐ½Ð¸Ñ ",(e=>{let[t,s,n]=e.split("-");return t&&s&&n&&4===t.length&&2===s.length&&2===n.length?"".concat(n,".").concat(s,".").concat(t):""})(a),".",(0,n.jsx)("br",{}),(0,n.jsx)("br",{}),"ÐожалÑйÑÑа, ÑбедиÑеÑÑ, ÑÑо она введена веÑно."]}):(0,n.jsxs)("span",{children:["ÐоÑ
оже, Ð²Ñ Ñказали возÑаÑÑ ","young"===l?(0,n.jsx)("b",{children:"младÑе 14 леÑ"}):(0,n.jsx)("b",{children:"ÑÑаÑÑе 80 леÑ"}),".",(0,n.jsx)("br",{}),(0,n.jsx)("br",{}),"ÐожалÑйÑÑа, ÑбедиÑеÑÑ, ÑÑо даÑа ÑÐ¾Ð¶Ð´ÐµÐ½Ð¸Ñ Ð²Ð²ÐµÐ´ÐµÐ½Ð° веÑно"]})}),(0,n.jsxs)("div",{className:c().PopupContent_buttons,children:[(0,n.jsx)("button",{className:c().PopupContent_buttons__edit,onClick:()=>{_?(0,o.S)("/profile/settings/personal/"):s(!1),t(!1)},children:"ÐÑпÑавиÑÑ"}),(0,n.jsx)("button",{className:c().PopupContent_buttons__accept,onClick:()=>{!_&&s?s(!0):(0,i.TV)("ageConfirmation","dontShow"),t(!1)},children:"ÐÑÑ Ð²ÐµÑно"})]})]})]})})}},15849:e=>{e.exports={EntryBlock:"styles_EntryBlock__ARTTP",EntryBlock_info:"styles_EntryBlock_info__W_yw5",EntryBlock_info__thin:"styles_EntryBlock_info__thin__BhJ_v"}},23738:e=>{e.exports={CustomContainer:"styles_CustomContainer__RHnvt",GreenButton:"styles_GreenButton__xeUOt",RedButton:"styles_RedButton__N6Q6r",InverseRedButton:"styles_InverseRedButton__FFb13",BlackButton:"styles_BlackButton__1blJj",StaticDiv:"styles_StaticDiv__onxgI",StaticText:"styles_StaticText__Mx9hx",StaticBlock:"styles_StaticBlock__u2GxO",StaticLink:"styles_StaticLink__vWrUS",StaticList:"styles_StaticList__ByhOO",StaticListItem:"styles_StaticListItem__YII72",H1:"styles_H1__VXul3",H3:"styles_H3__mGce8",H4:"styles_H4__fo4F2",Overlay:"styles_Overlay__XjX3B",Popup:"styles_Popup__6EDYS",PopupClose:"styles_PopupClose__McWdE",PopupContent:"styles_PopupContent__Izc2B",PopupContent_buttons:"styles_PopupContent_buttons__071Ke",PopupContent_buttons__edit:"styles_PopupContent_buttons__edit__PZbS_",PopupContent_buttons__accept:"styles_PopupContent_buttons__accept__BSYj3",slowlyRotate:"styles_slowlyRotate__pskFU"}},24907:e=>{e.exports={Skameyka:"Skameyka_Skameyka__PV7Sv",QuestionsBlock:"Skameyka_QuestionsBlock__Cx12r",QuestionsBlock__more:"Skameyka_QuestionsBlock__more__wv4GI",Partner:"Skameyka_Partner__zxnWR"}},37399:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/skameyka",function(){return s(45676)}])},41435:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var n=s(37876);s(14232);var a=s(43070),r=s.n(a);let i=e=>{let{onClick:t}=e;return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:r().Eye,onClick:t,children:[(0,n.jsx)("path",{d:"M18.8574 11.9346L20.9959 15.6384",stroke:"#B5B7BA",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M14.4541 13.9932L15.121 17.7754",stroke:"#B5B7BA",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M9.53714 13.9917L8.87012 17.7746",stroke:"#B5B7BA",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M5.13799 11.9316L2.98926 15.6533",stroke:"#B5B7BA",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M3 9.83203C4.57617 11.783 7.4657 14.25 12.0001 14.25C16.5344 14.25 19.4239 11.783 21.0001 9.83205",stroke:"#B5B7BA",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}},43070:e=>{e.exports={Eye:"eye-icon_Eye__b113O"}},45676:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>V});var n=s(37876),a=s(77328),r=s.n(a),i=s(14232);let o=[{id:0,icon:"/static/images/skameyka/infographics/donation-save-lifes.svg",text:"1 донаÑÐ¸Ñ = до 3 ÑпаÑÑннÑÑ
жизней"},{id:1,icon:"/static/images/skameyka/infographics/improves-health.svg",text:"ÐолÑза Ð´Ð»Ñ Ð·Ð´Ð¾ÑовÑÑ"},{id:2,icon:"/static/images/skameyka/infographics/20-minutes.svg",text:"ÐÑего 20 минÑÑ Ð¿ÑоÑедÑÑÑ"},{id:3,icon:"/static/images/skameyka/infographics/safe.svg",text:"ÐÑÑÑ Ð´Ð¾Ð½Ð¾Ñом â ÑÑо Ñважение и плÑÑ Ð² каÑмÑ"}],l=[{id:0,text:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("b",{children:"ÐаÑегиÑÑÑиÑÑйÑÑ"})," â Ðаполни ÑоÑÐ¼Ñ Ð¸ пÑиÑоединиÑÑ Ðº ÑообÑеÑÑÐ²Ñ Ð±ÑдÑÑиÑ
доноÑов"]})},{id:1,text:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("b",{children:"ÐолÑÑай инÑоÑмаÑиÑ"})," â ÐзÑÑай полезнÑе маÑеÑÐ¸Ð°Ð»Ñ Ð¾ доноÑÑÑве и подгоÑовке к пÑоÑедÑÑе"]})},{id:2,text:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("b",{children:"ÐождиÑÑ 18 леÑ"})," â ÐÑ Ð½Ð°Ð¿Ð¾Ð¼Ð½Ð¸Ð¼ Ñебе, когда можно бÑÐ´ÐµÑ ÑÑаÑÑ Ð½Ð°ÑÑоÑÑим доноÑом"]})},{id:3,text:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("b",{children:"ÐÑиди на пеÑвÑÑ Ð´Ð¾Ð½Ð°ÑиÑ"})," â Сделай пеÑвÑй Ñаг к ÑпаÑÐµÐ½Ð¸Ñ Ð¶Ð¸Ð·Ð½ÐµÐ¹ в ближайÑем ÑенÑÑе кÑови"]})}],c=[{id:0,text:"â ÐолезнÑе пиÑÑма â инÑоÑмаÑÐ¸Ñ Ð¾ подгоÑовке к донаÑии."},{id:1,text:"â Ðапоминание в Ð´ÐµÐ½Ñ 18-леÑÐ¸Ñ \xabТепеÑÑ ÑÑ Ð¼Ð¾Ð¶ÐµÑÑ ÑÑаÑÑ Ð´Ð¾Ð½Ð¾Ñом\xbb."},{id:2,text:"â ÐаÑÑÑ Ð¿ÑнкÑов ÑдаÑи кÑови в Ñвоем гоÑоде."},{id:3,text:"â ÐкÑивное ÑообÑеÑÑво единомÑÑленников в ÑоÑÑеÑÑÑ
."},{id:4,text:"â ЧеÑкий план подгоÑовки к пеÑвой донаÑии Ñ Ñек-лиÑÑами."}],_=[{id:0,question:"Ðожно ли ÑдаваÑÑ ÐºÑÐ¾Ð²Ñ Ð´Ð¾ 18 леÑ?",answer:"ÐеÑ, в РоÑÑии доноÑом кÑови можно ÑÑаÑÑ ÑолÑко Ñ 18 леÑ. Ðо ÑÑого возÑаÑÑа оÑганизм еÑе ÑоÑмиÑÑеÑÑÑ, и донаÑÐ¸Ñ Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð½ÐµÐ±ÐµÐ·Ð¾Ð¿Ð°Ñной"},{id:1,question:"ÐолÑно ли ÑдаваÑÑ ÐºÑовÑ?",answer:"ÐÑоÑедÑÑа пÑакÑиÑеÑки безболезненна! ÐÑÑÑÐµÐ½Ð¸Ñ ÑÑÐ°Ð²Ð½Ð¸Ð¼Ñ Ñ Ð¾Ð±ÑÑнÑм забоÑом кÑови на анализ. ÐÑполÑзÑÑÑÑÑ Ñонкие одноÑазовÑе иглÑ."},{id:2,question:"Ðак ÑаÑÑо можно ÑдаваÑÑ ÐºÑовÑ?",answer:"ÐÑжÑÐ¸Ð½Ñ Ð¼Ð¾Ð³ÑÑ ÑдаваÑÑ ÐºÑÐ¾Ð²Ñ Ð½Ðµ ÑаÑе 5 Ñаз в год, женÑÐ¸Ð½Ñ â не ÑаÑе 4 Ñаз. ÐинималÑнÑй инÑеÑвал Ð¼ÐµÐ¶Ð´Ñ Ð´Ð¾Ð½Ð°ÑиÑми кÑови â 60 дней, Ð¿Ð»Ð°Ð·Ð¼Ñ - 14 дней."},{id:3,question:"ÐÑÑÑ Ð»Ð¸ пÑоÑивопоказаниÑ? ",answer:"Ðа, ÑÑÑеÑÑвÑÐµÑ ÑпиÑок вÑеменнÑÑ
и поÑÑоÑннÑÑ
пÑоÑивопоказаний. ÐеÑед каждой донаÑией пÑоводиÑÑÑ Ð¼ÐµÐ´Ð¾ÑмоÑÑ Ð¸ ÑкÑпÑеÑÑ-анализÑ."},{id:4,question:"ЧÑо бÑдеÑ, еÑли Ñ Ð¿ÐµÑедÑмаÑ?",answer:"Ð¢Ñ Ð¼Ð¾Ð¶ÐµÑÑ Ð¾ÑпиÑаÑÑÑÑ Ð¾Ñ ÑаÑÑÑлки в лÑбой моменÑ! ÐикакиÑ
обÑзаÑелÑÑÑв ÑегиÑÑÑаÑÐ¸Ñ Ð½Ðµ накладÑÐ²Ð°ÐµÑ â ÑÑо пÑоÑÑо подгоÑовка к бÑдÑÑемÑ."}];var d=s(93607),h=s(15849),u=s.n(h);let m=e=>{let{handleButtonClick:t}=e,{authStore:s}=(0,d.g)();return(0,n.jsx)("section",{className:"container",children:(0,n.jsxs)("div",{className:u().EntryBlock,
1children:[(0,n.jsxs)("div",{className:u().EntryBlock_info,children:[(0,n.jsxs)("h1",{children:["ХоÑеÑÑ ÑÑаÑÑ Ð´Ð¾Ð½Ð¾Ñом ",(0,n.jsx)("br",{}),(0,n.jsx)("span",{children:"Ñ 18 леÑ?"})]}),(0,n.jsx)("p",{className:u().EntryBlock_info__thin,children:"ÐÑиÑоединÑйÑÑ Ðº пÑоекÑÑ \xabСкамейка запаÑнÑÑ
\xbb â Ð¼Ñ Ð¿Ð¾Ð¼Ð¾Ð¶ÐµÐ¼ подгоÑовиÑÑÑÑ Ðº пеÑвой донаÑии. Ðапомним, когда можно ÑдаваÑÑ ÐºÑовÑ, а пока пÑиÑлÑм полезнÑе маÑеÑиалÑ, ÑовеÑÑ Ð¸ каÑÑÑ ÑенÑÑов кÑови, ÑÑÐ¾Ð±Ñ ÑÑ Ð±Ñл полноÑÑÑÑ Ð³Ð¾Ñов."}),!(null==s?void 0:s.user)&&(0,n.jsx)("button",{onClick:t,children:"ÐаÑегиÑÑÑиÑоваÑÑÑÑ"})]}),(0,n.jsx)("img",{src:"/static/images/skameyka/entry.jpg",alt:"доноÑ"})]})})};var x=s(77485),p=s.n(x);let j=()=>(0,n.jsx)("section",{className:p().Container,children:(0,n.jsxs)("div",{className:"container",children:[(0,n.jsx)("h2",{children:"Ðак ÑÑо ÑабоÑаеÑ?"}),(0,n.jsx)("div",{className:p().HowItWorkList,children:l.map(e=>(0,n.jsxs)("div",{className:p().HowItWorkList_item,children:[(0,n.jsx)("div",{className:p().HowItWorkList_item__number,children:"0".concat(e.id+1)}),(0,n.jsx)("p",{children:e.text})]}))})]})});var y=s(98974),g=s.n(y);let v=()=>(0,n.jsx)("section",{className:g().Container,children:(0,n.jsxs)("div",{className:"container",children:[(0,n.jsx)("h2",{children:"ЧÑо ÑÑ Ð¿Ð¾Ð»ÑÑиÑÑ Ð¿Ð¾Ñле ÑегиÑÑÑаÑии?"}),(0,n.jsx)("div",{className:g().InfoAfterRegistrationList,children:c.map(e=>(0,n.jsx)("p",{children:e.text},e.id))})]})});var k=s(95541),b=s.n(k);let N=()=>(0,n.jsx)("section",{className:"container",children:(0,n.jsx)("div",{className:b().Infographics,children:o.map(e=>(0,n.jsxs)("div",{className:b().Infographics_item,children:[(0,n.jsx)("div",{className:b().Infographics_item__icon,children:(0,n.jsx)("img",{src:e.icon,alt:""})}),(0,n.jsx)("p",{children:e.text})]},e.id))})});var f=s(967),C=s(82742),w=s(98106),B=s(58324),S=s(10841),I=s.n(S),R=s(5764),L=s(56171),F=s.n(L);let D=e=>{let{formData:t,errors:s,onFieldChange:a,isFieldError:r}=e,{citiesStore:o}=(0,d.g)(),[l,c]=(0,i.useState)([]),[_,h]=(0,i.useState)(!1);(0,i.useEffect)(()=>{o.filter({s:""}).then(e=>{c(e.map(e=>{let t=(0,B.wQ)(e.data);return{value:e.data.id,label:t}}))})},[]);let u=e=>{a("birthDate",e?I()(e).format("YYYY-MM-DD"):null)},m=e=>t=>{a(e,t.target.value)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:F().SeparateRow,children:[(0,n.jsxs)("div",{className:F().Input,children:[(0,n.jsx)("label",{htmlFor:"firstName",children:"ÐмÑ"}),(0,n.jsx)("input",{type:"text",placeholder:"ÐмÑ",value:t.firstName,onChange:m("firstName"),className:r("firstName")?F().InputError:"",onBlur:()=>a("firstName",t.firstName)})]}),(0,n.jsxs)("div",{className:F().Input,children:[(0,n.jsx)("label",{htmlFor:"lastName",children:"ФамилиÑ"}),(0,n.jsx)("input",{type:"text",placeholder:"ФамилиÑ",value:t.lastName,onChange:m("lastName"),className:r("lastName")?F().InputError:"",onBlur:()=>a("lastName",t.lastName)})]})]}),(0,n.jsx)("div",{className:F().Row,children:(0,n.jsxs)("div",{className:F().Input,children:[(0,n.jsx)("label",{htmlFor:"birthDate",children:"ÐаÑа ÑождениÑ"}),(0,n.jsx)(R.Wu,{placeholder:"дд.мм.гггг",value:t.birthDate?I()(t.birthDate).toDate():null,id:"birth_date",mobile:!1,maxDate:new Date,onChange:u}),(0,n.jsx)(R.Wu,{placeholder:"дд.мм.гггг",value:t.birthDate?I()(t.birthDate).toDate():null,id:"birth_date",mobile:!0,maxDate:new Date,onChange:u,mobileClassName:F().MobileSelectorButton}),r("birthDate")&&(0,n.jsx)("span",{className:F().ErrorText,children:s.birthDate})]})}),(0,n.jsx)("div",{className:F().Row,children:(0,n.jsxs)("div",{className:F().Input,children:[(0,n.jsx)("label",{htmlFor:"selectedCity",children:"ÐоÑод пÑоживаниÑ"}),(0,n.jsx)(R.MD,{placeholder:"ÐÑбеÑиÑе гоÑод",id:"city_id",options:l,onChange:e=>{h(!0),console.log(e),a("selectedCity",e)},onInputChange:e=>{(e||""===e)&&o.filter({s:e}).then(e=>{c(e.map(e=>{let t=(0,B.wQ)(e.data);return{value:e.data.id,label:t}}))})},value:t.selectedCity,disabled:!1,style:{width:"100%"},selectorStyle:{borderRadius:"2px",control:e=>({...e,border:"1px solid #9CB0C580"}),placeholder:e=>({...e,color:"#9FA7AF",fontSize:"16px"})}}),r("selectedCity")&&(0,n.jsx)("span",{className:F().ErrorText,children:s.selectedCity})]})})]})};
1var Q=s(48230),A=s.n(Q),E=s(41435);let P=e=>{let{formData:t,errors:s,onFieldChange:a,isFieldError:r,isAgree:o,setAgree:l}=e,[c,_]=(0,i.useState)(!1),d=e=>t=>{a(e,t.target.value)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:F().Row,children:(0,n.jsxs)("div",{className:F().Input,children:[(0,n.jsx)("label",{htmlFor:"",children:"ÐоÑÑа"}),(0,n.jsx)("input",{type:"text",placeholder:"ÐоÑÑа",value:t.email,onChange:d("email")}),r("email")&&(0,n.jsx)("span",{className:F().ErrorText,children:s.email})]})}),(0,n.jsx)("div",{className:F().Row,children:(0,n.jsxs)("div",{className:F().Input,children:[(0,n.jsx)("label",{htmlFor:"",children:"ÐаÑолÑ"}),(0,n.jsx)("input",{placeholder:"ÐаÑолÑ",type:c?"text":"password",value:t.password,onChange:d("password")}),(0,n.jsx)(E.A,{onClick:()=>_(!c)}),r("password")?(0,n.jsx)("span",{className:F().ErrorText,children:s.password}):(0,n.jsx)("div",{className:"mt-2",children:"ÐаÑÐ¾Ð»Ñ Ð´Ð¾Ð»Ð¶ÐµÐ½ ÑодеÑжаÑÑ Ð¼Ð¸Ð½Ð¸Ð¼Ñм 8 Ñимволов и ÑоÑÑоÑÑÑ Ð¸Ð· ÑиÑÑ Ð¸ бÑкв"})]})}),(0,n.jsx)("div",{className:F().checkbox_container,children:(0,n.jsxs)("div",{children:[(0,n.jsxs)("label",{className:F().custom_checkbox,children:[(0,n.jsx)("input",{type:"checkbox",checked:o,onChange:()=>l(!o),className:F().hidden_checkbox}),(0,n.jsx)("span",{className:F().checkmark})]}),"Я пÑÐ¸Ð½Ð¸Ð¼Ð°Ñ ÑÑловиÑ",(0,n.jsx)("br",{}),(0,n.jsx)(A(),{href:"/rules",children:"ÐолÑзоваÑелÑÑкого ÑоглаÑениÑ"})," ","и Ð´Ð°Ñ ÑÐ²Ð¾Ñ ÑоглаÑие DonorSearch на обÑабоÑÐºÑ Ð¼Ð¾ÐµÐ¹ пеÑÑоналÑной инÑоÑмаÑии и на полÑÑение ÑекламнÑÑ
ÑаÑÑÑлок на ÑÑловиÑÑ
, опÑеделеннÑÑ
"," ",(0,n.jsx)(A(),{href:"/confidential",children:"ÐолиÑикой конÑиденÑиалÑноÑÑи."})]})})]})},H=e=>{let{userId:t,counter:s,code:a,setCode:r,errors:o}=e,{authStore:l}=(0,d.g)(),[c,_]=(0,i.useState)(!1);return(0,n.jsxs)("div",{className:F().Row,children:[(0,n.jsx)("h3",{children:"ÐодÑвеÑждение"}),(0,n.jsx)("label",{htmlFor:"phone",children:"Email-код"}),(0,n.jsxs)("div",{className:F().Input,children:[(0,n.jsx)("input",{autoFocus:!0,placeholder:"",type:"text",name:"code",id:"code",autoComplete:"off",value:a,onChange:e=>{r(e.target.value)}}),!!o.code&&(0,n.jsx)("span",{className:F().ErrorText,children:o.code}),!c&&(0,n.jsx)(n.Fragment,{children:s>0?(0,n.jsxs)("span",{className:F().ResendAfter,children:["ÐÑÑлаÑÑ ÐºÐ¾Ð´ повÑоÑно ÑеÑез ",s," Ñек"]}):(0,n.jsx)("span",{className:F().Resend,onClick:e=>{e.preventDefault(),l.resend_code_email(t).then().catch(),_(!0)},children:"ÐÑÑлаÑÑ ÐºÐ¾Ð´ повÑоÑно"})})]})]})},W=e=>{if(!e.trim())return"ÐбÑзаÑелÑное поле"},O={firstName:"",lastName:"",birthDate:null,selectedCity:null,email:"",password:""},T={},M=e=>{let{RegistrationFormRef:t}=e,{authStore:s}=(0,d.g)(),[a,r]=(0,i.useState)(0),[o,l]=(0,i.useState)(O),[c,_]=(0,i.useState)(T),[h,u]=(0,i.useState)({}),[m,x]=(0,i.useState)(!1),[p,j]=(0,i.useState)(null),[y,g]=(0,i.useState)(0),[v,k]=(0,i.useState)(""),[b,N]=(0,i.useState)(!1),[S,I]=(0,i.useState)(!1),[R,L]=(0,i.useState)(!1),Q=(0,i.useRef)(null),A=()=>{let e={};return 0===a&&(e.firstName=W(o.firstName),e.lastName=W(o.lastName),e.selectedCity=(e=>{if(!e)return"ÐÑбеÑиÑе гоÑод"})(o.selectedCity),e.birthDate=(e=>{if(!e)return"УкажиÑе возÑаÑÑ"})(o.birthDate)),_(e),Object.values(e).every(e=>void 0===e)},E=()=>{Q.current&&(clearInterval(Q.current),Q.current=null)};(0,i.useEffect)(()=>y<=0?void E():(Q.current=setInterval(()=>{g(e=>e<=1?(E(),0):e-1)},1e3),()=>E()),[y]),(0,i.useEffect)(()=>{Object.keys(h).length>0&&A()},[o,h,a]);let M=(e,t)=>{l(s=>({...s,[e]:t})),u(t=>({...t,[e]:!0})),"birthDate"===e&&L(!1)},q=e=>!!h[e]&&!!c[e];return(null==s?void 0:s.user)?(0,n.jsx)(n.Fragment,{}):(0,n.jsxs)(n.Fragment,{children:[S&&!R&&(0,n.jsx)(f.R,{birthDate:o.birthDate,type:(0,B.i8)(o.birthDate),setIsPopup:I,setAgeConfirm:L}),(0,n.jsx)("section",{className:F().Container,ref:t,children:(0,n.jsx)("div",{className:"container",children:(0,n.jsxs)("div",{className:F().RegistrationForm,children:[(0,n.jsx)("h2",{children:"ÐаÑегиÑÑÑиÑÑйÑÑ ÑейÑÐ°Ñ â ÑпаÑай жизни поÑле 18!"}),(0,n.jsx)("div",{className:F().RegistrationForm__stages,children:(()=>{let e={formData:o,errors:c,onFieldChange:M,isFieldError:q};switch(a){case 0:default:return(0,n.jsx)(D,{...e});case 1:return(0,n.jsx)(P,{...e,isAgree:m,setAgree:x});case 2:return(0,n.jsx)(H,{userId:p,counter:y,code:v,setCode:k,errors:c})}})()}),0===a&&(0,n.jsxs)("a",{href:"".concat("https://t.me/DonorSearch_bot?start","=thebench"),target:"_blank",className:F().SocialAuthButton,children:[(0,n.jsx)("img",{src:"/static/images/social/telegram.svg",alt:"telegram"}),(0,n.jsx)("p",{children:"ÐаÑегиÑÑÑиÑоваÑÑÑÑ Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ Telegram"})]}),(0,n.jsxs)("div",{className:F().RegistrationForm_controller,children:[0!==a&&(0,n.jsxs)("div",{className:F().RegistrationForm_controller__back,onClick:()=>{r(e=>Math.max(0,e-1))},children:[(0,n.jsx)("img",{src:"/static/new-images/donation/arrow-back.svg",alt:"ÑÑÑелка назад"}),(0,n.jsx)("span",{children:"Ðазад"})]}),(0,n.jsx)("button",{className:F().RegistrationForm_controller__btn,onClick:()=>{A()?0===a?"correct"===(0,B.i8)(o.birthDate)||R?(L(!0),r(e=>e+1)):I(!0):1===a?(u(e=>({...e,email:!0,password:!0})),N(!0),s.registration(o.email,o.password,o.firstName,"TheBenchForm",void 0,o.lastName,o.selectedCity.value,o.birthDate).then(e=>
1{j(e.data.user_id),y<=0&&g(60),r(2)}).catch(e=>{var t,s,n,a;_({...c,email:(null==(t=(0,B.aC)(e.response.data.errors))?void 0:t.email)?null==(s=(0,B.aC)(e.response.data.errors))?void 0:s.email[0]:"",password:(null==(n=(0,B.aC)(e.response.data.errors))?void 0:n.password)?null==(a=(0,B.aC)(e.response.data.errors))?void 0:a.password[0]:""})}).finally(()=>{N(!1)})):s.confirm_email_reg(p,o.email,v).then(()=>{(0,C.TV)("ageConfirmation","dontShow"),(0,w.S)("/profile")}).catch(e=>{var t;_({...c,code:null==(t=(0,B.aC)(e.response.data.errors))?void 0:t.code[0]})}):u(Object.keys(o).reduce((e,t)=>({...e,[t]:!0}),{}))},type:"button",disabled:1===a&&!m||b,children:(()=>{switch(a){case 0:default:return"СÑаÑÑ Ð±ÑдÑÑим доноÑом";case 1:return"Ðалее";case 2:return"ÐодÑвеÑдиÑÑ"}})()})]})]})})})]})};var q=s(24907),G=s.n(q),X=s(97327);let Y=()=>{let e=(0,i.useRef)(null);return(0,n.jsxs)("section",{className:G().Skameyka,children:[(0,n.jsx)(m,{handleButtonClick:()=>(e=>{var t;null==(t=e.current)||t.scrollIntoView({behavior:"smooth",block:"center"})})(e)}),(0,n.jsx)(N,{}),(0,n.jsx)(j,{}),(0,n.jsx)(M,{RegistrationFormRef:e}),(0,n.jsx)(v,{}),(0,n.jsxs)("div",{className:"container",children:[(0,n.jsxs)("div",{className:G().QuestionsBlock,children:[(0,n.jsx)("h2",{children:"FAQ (ЧаÑÑÑе вопÑоÑÑ)"}),(0,n.jsx)(X.Q,{questions:_}),(0,n.jsxs)("p",{className:G().QuestionsBlock__more,children:["Ðе наÑел оÑвеÑа Ñвой вопÑоÑ?"," ",(0,n.jsx)("a",{href:"https://donorsearch.org/requirements/",children:"ÐолнÑй ÑпиÑок пÑоÑивопоказаний и ÑÑебований"})]})]}),(0,n.jsxs)("div",{className:G().Partner,children:[(0,n.jsx)("img",{src:"/static/images/skameyka/partner-logo.svg",alt:""}),(0,n.jsxs)("p",{children:["ÐÑÐ¾ÐµÐºÑ Ñеализован пÑи поддеÑжке гÑанÑа РаиÑа РеÑпÑблики ТаÑаÑÑÑан",(0,n.jsx)("br",{})," на ÑазвиÑие гÑажданÑкого обÑеÑÑва."]})]})]})]})},V=()=>{let e="ÐÑиÑоединÑйÑÑ Ðº пÑоекÑÑ \xabСкамейка запаÑнÑÑ \xbb â Ð¼Ñ Ð¿Ð¾Ð¼Ð¾Ð¶ÐµÐ¼ подгоÑовиÑÑÑÑ Ðº пеÑвой донаÑии. ХоÑеÑÑ ÑÑаÑÑ Ð´Ð¾Ð½Ð¾Ñом кÑови Ñ 18 леÑ?";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(r(),{children:[(0,n.jsx)("meta",{property:"og:title",content:"ÐÑÐ´Ñ Ð½Ð° Ñкамейке запаÑнÑÑ !"}),(0,n.jsx)("meta",{property:"og:description",content:e}),(0,n.jsx)("meta",{name:"description",content:e})]}),(0,n.jsx)(Y,{})]})}},56086:e=>{e.exports={Container:"Questions_Container__Zj1JS",ContainerWithoutPadding:"Questions_ContainerWithoutPadding__6cp2X",QuestionsBlock:"Questions_QuestionsBlock__I9Qon",QuestionItem:"Questions_QuestionItem__BH81e",Open:"Questions_Open__W50zu",QuestionHeader:"Questions_QuestionHeader__vg1Pj",PlusIcon:"Questions_PlusIcon__Rdyty",CloseIcon:"Questions_CloseIcon__EYGU0",Answer:"Questions_Answer__qlRKH"}},56171:e=>{e.exports={CustomContainer:"styles_CustomContainer__HLuVY",GreenButton:"styles_GreenButton__dOvFv",RedButton:"styles_RedButton__kU_uM",InverseRedButton:"styles_InverseRedButton__o3Zyv",BlackButton:"styles_BlackButton__Z08Pw",StaticDiv:"styles_StaticDiv__j4GGG",StaticText:"styles_StaticText__ilcgv",StaticBlock:"styles_StaticBlock__6iN7R",StaticLink:"styles_StaticLink__VpdBH",StaticList:"styles_StaticList__F5C70",StaticListItem:"styles_StaticListItem__6B3Lf",H1:"styles_H1__eFJYf",H3:"styles_H3__OK9Uo",H4:"styles_H4__cJDdr",Container:"styles_Container__wLcVW",RegistrationForm:"styles_RegistrationForm__Qi_Lx",RegistrationForm__stages:"styles_RegistrationForm__stages__ehaBn",RegistrationForm_controller:"styles_RegistrationForm_controller__IrR_o",RegistrationForm_controller__back:"styles_RegistrationForm_controller__back__Ftrm8",RegistrationForm_controller__btn:"styles_RegistrationForm_controller__btn__hy8kC",Row:"styles_Row__JQ7Nn",SeparateRow:"styles_SeparateRow__tZCoU",Input:"styles_Input__wjTjc",MobileSelectorButton:"styles_MobileSelectorButton__e3Qfe",InputError:"styles_InputError__gz3PD",checkbox_container:"styles_checkbox_container___9Z71",custom_checkbox:"styles_custom_checkbox__oNiCX",hidden_checkbox:"styles_hidden_checkbox__5G8Dp",checkmark:"styles_checkmark__dUcrf",ResendAfter:"styles_ResendAfter__vDAnC",Resend:"styles_Resend__qHXXZ",SocialAuthButton:"styles_SocialAuthButton__LVydR",slowlyRotate:"styles_slowlyRotate__XDqYT"}},74953:e=>{e.exports={Question:"QuestionsSecondary_Question__YEgIG",Arrow:"QuestionsSecondary_Arrow__zbyZa",ArrowOpen:"QuestionsSecondary_ArrowOpen__Xuo_M",Answer:"QuestionsSecondary_Answer__KfbPR",Open:"QuestionsSecondary_Open__IXEdx"}},77485:e=>{e.exports={Container:"style_Container__fl27h",HowItWorkList:"style_HowItWorkList__ez1rW",HowItWorkList_item:"style_HowItWorkList_item__LCfbu",HowItWorkList_item__number:"style_HowItWorkList_item__number__uB3H2"}},95541:e=>{e.exports={Infographics:"styles_Infographics__tyjSA",Infographics_item:"styles_Infographics_item__K4Ehr",Infographics_item__icon:"styles_Infographics_item__icon__2CkNv"}},97327:(e,t,s)=>{"use strict";s.d(t,{Q:()=>o,a:()=>_});var n=s(37876),a=s(14232),r=s(56086),i=s.n(r);let o=e=>{let{questions:t,withoutMargin:s}=e,[r,o]=(0,a.useState)(null);return(0,n.jsx)("section",{className:"".concat(i().Container,", ").concat(s&&i().ContainerWithoutPadding),children:(0,n.jsx)("div",{className:"container",children:(0,n.jsx)("div",{className:i().QuestionsBlock,children:t.map(e=>(0,n.jsxs)("div",{className:"".concat(i().QuestionItem," ").concat(r===e.id?i().Open:""),children:[(0,n.jsxs)("div",{className:i().QuestionHeader,onClick:()=>(e=>{o(r===e?null:e)})(e.id),children:[(0,n.jsx)("h4",{children:e.question}),(0,n.jsx)("img",{src:"/static/images/souvenir/questions-close.svg",className:"".concat(r!==e.id?i().PlusIcon:i().CloseIcon)})]}),(0,n.jsx)("div",{className:i().Answer,children:(0,n.jsx)("p",{children:e.answer})})]},e.id))})})})};var l=s(74953),c=s.n(l);let _=e=>{let{questionsList:t}=e,[s,r]=(0,a.useState)(null);return(0,n.jsx)("div",{children:t.map((e,t)=>(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"".concat(c().Question," ").concat(s===t?c().Open:""),onClick:()=>(e=>{r(s===e?null:e)})(t),children:[(0,n.jsx)("p",{children:e.question}),(0,n.jsx)("svg",{className:"".concat(c().Arrow," ").concat(s===t?c().ArrowOpen:""),xmlns:"http://www.w3.org/2000/svg",width:"25",height:"30",viewBox:"0 0 25 30",fill:"none",children:(0,n.jsx)("path",{d:"M16.4625 18.2925L12.5825 14.4125L8.7025 18.2925C8.3125 18.6825 7.6825 18.6825 7.2925 18.2925C6.9025 17.9025 6.9025 17.2725 7.2925 16.8825L11.8825 12.2925C12.2725 11.9025 12.9025 11.9025 13.2925 12.2925L17.8825 16.8825C18.2725 17.2725 18.2725 17.9025 17.8825 18.2925C17.4925 18.6725 16.8525 18.6825 16.4625 18.2925Z",fill:"#111111"})})]}),(0,n.jsx)("div",{className:"".concat(c().Answer," ").concat(s===t?c().Open:""),children:e.answer})]},t))})}},98974:e=>{e.exports={Container:"style_Container__Nsoys",InfoAfterRegistrationList:"style_InfoAfterRegistrationList__T_LwF"}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=37399)),_N_E=e.O()}]); 2//# sourceMappingURL=skameyka-bb2c37520583dc30.js.map
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.