1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1754],{97503:(e,t,_)=>{"use strict";_.d(t,{A:()=>h});var n=_(74848),a=_(74368),c=_(5556),i=_.n(c),s=_(87731),o=_(28693),l=_.n(o);let r=[{value:"ru",option:"РоÑÑиÑ",iconSrc:"/static/images/flags/ru-grad.svg"},{value:"en",option:"Other countries",iconSrc:"/static/images/flags/en-grad.svg"}],p=e=>{let t=r.find(e=>"ru"===e.value);return(0,n.jsxs)("div",{className:l().language,children:[(0,n.jsx)("div",{className:l().language__label,children:e.label}),(0,n.jsx)(s.A,{classNames:{select:l().language__select,selectOpened:l()["language__select--opened"],options:l()["language__select-options"],item:l()["language__select-item"],icon:l()["language__select-icon"]},hasOptionIcon:!0,hideSelected:!0,disallowEvents:!0,title:"legal_language_select",options:r,selectedValue:t.option,imageSrc:"/static/images/select/arrow.svg",onChange:t=>{e.onCountryChange&&e.onCountryChange(t)}})]})};p.propTypes={label:i().string,onCountryChange:i().func};let h=(0,a.Ng)(e=>({registration:e.registration,systemInformation:e.systemInformation,profile:e.profile}))(p)},51754:(e,t,_)=>{"use strict";_.d(t,{A:()=>T,Y:()=>b});var n=_(74848),a=_(86715),c=_.n(a),i=_(96540),s=_(74368),o=_(27116),l=_(98126),r=_(31083),p=_(25091),h=_(97503),u=_(24527),d=_.n(u),g=_(30291);let m={setSourceData:l.iF},b=e=>{if(e.target.matches('ol li a[href^="#"]')){e.preventDefault();let t=e.target.getAttribute("href").replace("#","");document.getElementById("".concat(t)).scrollIntoView({block:"center",behavior:"smooth"})}};class f extends i.Component{componentDidMount(){this.setState({countryCode:"ru"})}componentDidUpdate(e,t){let{countryCode:_,canFetch:n}=this.state,a=document.getElementById("cookie");a&&c().asPath.includes("#cookie")&&a.scrollIntoView(),t.countryCode!==_&&n&&(this.setState({canFetch:!1}),fetch("".concat(this.apiUrl,"/document/privacy_policy/").concat(_).concat(this.apiKey),{method:"GET",credentials:"include"}).then(e=>{e.ok&&e.text().then(e=>{this.setState({content:e})}).finally(()=>{this.setState({canFetch:!0})})}))}componentWillUnmount(){this.props.setSourceData({sourceId:"/privacy",sourceTitle:"ÐолиÑика пÑиваÑноÑÑи"})}render(){let{content:e,canFetch:t}=this.state,{locale:_}=this.props.systemInformation,a=[{title:"ÐаÑÑÑойки",name:"ЮÑидиÑеÑкие докÑменÑÑ",link:"/legal"},{title:"ÐолиÑика пÑиваÑноÑÑи",name:"ÐолиÑика пÑиваÑноÑÑи"}];return(0,n.jsxs)("div",{className:d().receiving_wrapper,children:[(0,n.jsx)(g.A,{title:"ru"===_?"ÐолиÑика пÑиваÑноÑÑи":"Privacy Policy",breadCrumbs:a}),(0,n.jsxs)("div",{className:"".concat(d().privacy_wrapper," ").concat(d().term_of_use_wrapper),children:[(0,n.jsx)(r.A,{breadcrumbs:a}),(0,n.jsx)(h.A,{label:"ÐÑбеÑиÑе ÑÑÑÐ°Ð½Ñ Ð¿Ð¾ÐºÑпки подпиÑки",onCountryChange:e=>this.setState({countryCode:e})}),!t&&(0,n.jsx)(p.A,{}),t&&e?(0,n.jsx)("div",{onClick:b,className:d().content,dangerouslySetInnerHTML:{__html:e}}):null]})]})}constructor(e){super(e),this.apiUrl=e.systemInformation.API_URL||o.H$,this.apiKey=e.systemInformation.API_KEY||o.Lq,this.state={countryCode:null,content:null,canFetch:!0}}}let T=(0,a.withRouter)((0,s.Ng)(e=>({systemInformation:e.systemInformation,registration:e.registration,profile:e.profile}),m)(f))},87731:(e,t,_)=>{"use strict";_.d(t,{A:()=>m});var n=_(74848),a=_(46942),c=_.n(a),i=_(5556),s=_.n(i),o=_(96540),l=_(74368),r=_(27116),p=_(98126),h=_(64375),u=_.n(h);let d={clickHouseShoot:p.Y3};class g extends o.Component{componentDidMount(){document.addEventListener("mousedown",this.handleClickOutside)}componentWillUnmount(){document.removeEventListener("mousedown",this.handleClickOutside)}render(){let{error:e,errorText:t,title:_,options:a,imageSrc:i,isDisable:s,testid:o,testidDisabled:l,placeholder:r,hasOptionIcon:p,classNames:h,hideSelected:d,blackColor:g}=this.props,{visibleOptions:m,selectedValue:b}=this.state,f=d?a.filter(e=>e.option!==b):a;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{"data-testid":o||null,className:c()(u()["start-select"],h&&h.select,h&&{[h.selectOpened]:h.selectOpened&&m,[u()["start-select__error"]]:e},{[u().black_input]:g,[u().opened]:m}),ref:e=>{this.popupWrapper=e},onClick:this.toggleVisibleOptions,children:(0,n.jsxs)("div",{className:u()["start-select__wrapper"],children:[(0,n.jsxs)("div",{className:u()["start-select-selected"],children:[(0,n.jsxs)("div",{className:"".concat(u()["start-select-selected__text"]," ").concat(p?u()["start-select-selected__text--icon"]:""),children:[p&&(b||this.props.selectedValue)?(0,n.jsx)("img",{src:this.getIcon(b||this.props.selectedValue),className:c()(u()["start-select__icon"],h.icon),alt:"icon"}):null,s&&a&&1===a.length?a[0].option:b||this.props.selectedValue||r]}),i?(0,n.jsx)("img",{"data-testid":s?l:null,src:"".concat(i),alt:"start select",className:"".concat(u()["start-select-selected__image"]," ").concat(m?u().rotate:"")}):null]}),m?(0,n.jsx)("div",{className:"".concat(u()["start-select-options"]).concat((null==h?void 0:h.options)?" ".concat(h.options):""),children:f.map(e=>(0,n.jsxs)("div",{"data-testid":"popup_info_select_".concat(_,"_").concat(e.value),className:"".concat(u()["start-select-options__item"]," ").concat(p?u()["start-select-selected__text--icon"]:"").concat((null==h?void 0:h.item)?" ".concat(h.item):""),onClick:()=>this.selectValue(e),children:[p?(0,n.jsx)("img",{src:e.iconSrc,className:c()(u()["start-select__icon"],h.icon),alt:"start select"}):null,e.option]},e.value))}):null]})}),e&&t&&(0,n.jsx)("div",{className:u()["start-input__error-text"],children:t})]})}constructor(...e){super(...e),this.state={inputValue:"",inputFocus:"",validate:!0,visibleOptions:!1,selectedValue:this.props.selectedValue},this.apiUrl=this.props.systemInformation.API_URL||r.H$,this.apiKey=this.props.systemInformation.API_KEY||r.Lq,this.selectedValueProp=null,this.handleShoot=e=>{let{blockInfo:t,title:_,label:n}=this.props,{clickHouseData:a}=this.props.systemInformation,c={...a,event_version:"1.0",action_id:"text_input_start",action_attributes_ab_tag:"manual",action_parameter:"manual",block_type:(null==t?void 0:t.block_type)||"",block_attributes_id:(null==t?void 0:t.block_attributes_id)||"",element_type:"input",element_attributes_id:"day"!==_&&"month"!==_&&"year"!==_?_:"birthday",element_attributes_text:"interface_language"===_?n:"",element_attributes_index:"interface_language"===_?"1":"",event_time:Date.now()};(null==t?void 0:t.screen_type)&&(c.screen_type=t.screen_type),(null==t?void 0:t.screen_attributes_id)&&(c.screen_attributes_id=t.screen_attributes_id),(null==t?void 0:t.block_attributes_index)&&(c.block_attributes_index=t.block_attributes_index),this.props.clickHouseShoot(this.apiUrl,this.apiKey,c),this.props.onChange&&this.props.onChange(e)},this.toggleVisibleOptions=()=>{let{isDisable:e,title:t,label:_}=this.props;if(e)return;let{visibleOptions:n,selectedValue:a}=this.state;this.setState({visibleOptions:!n},()=>{var e;let{blockInfo:n}=this.props,{clickHouseData:c}=this.props.systemInformation,{visibleOptions:i}=this.state;if(null===(e=this.props)||void 0===e||!e.disallowEvents){if(i)this.handleShoot();else{let e={...c,event_version:"1.0",action_id:"text_input",action_result:this.selectedValueProp||a,block_type:(null==n?void 0:n.block_type)||"",block_attributes_id:(null==n?void 0:n.block_attributes_id)||"",element_type:"input",element_attributes_id:"day"!==t&&"month"!==t&&"year"!==t?t:"birthday",element_attributes_text:"interface_language"===t?_:"",element_attributes_index:"interface_language"===t?"1":"",event_time:Date.now()};(null==n?void 0:n.screen_type)&&(e.screen_type=n.screen_type),(null==n?void 0:n.screen_attributes_id)&&(e.screen_attributes_id=n.screen_attributes_id),(null==n?void 0:n.block_attributes_index)&&(e.block_attributes_index=n.block_attributes_index),this.props.clickHouseShoot(this.apiUrl,this.apiKey,e)}}})},this.selectValue=e=>{this.selectedValueProp=e.option,this.setState({selectedValue:this.selectedValueProp}),this.props.onChange&&this.props.onChange(e.value)},this.getIcon=e=>{let t=this.props.options.find(t=>{let{option:_}=t;return _===e});return t?t.iconSrc:""},this.handleClickOutside=e=>{this.popupWrapper&&!this.popupWrapper.contains(e.target)&&this.setState({visibleOptions:!1})}}}g.defaultProps={hasOptionIcon:!1,disallowEvents:!1,hideSelected:!1}
1,g.propTypes={classNames:s().shape({select:s().string,selectOpened:s().string,options:s().string,item:s().string,icon:s().string}),hasOptionIcon:s().bool,options:s().arrayOf(s().shape({option:s().oneOfType([s().string,s().number]).isRequired,value:s().oneOfType([s().string,s().number]).isRequired,iconSrc:s().string})).isRequired,disallowEvents:s().bool,hideSelected:s().bool};let m=(0,l.Ng)(e=>({systemInformation:e.systemInformation}),d)(g)},25091:(e,t,_)=>{"use strict";_.d(t,{A:()=>s});var n=_(74848),a=_(96540),c=_(41919),i=_.n(c);class s extends a.Component{render(){let{red:e}=this.props;return(0,n.jsxs)("div",{className:i()["spinner-wrapper"],children:[e?(0,n.jsx)("svg",{className:"".concat(i()["spinner-forloading"]," ").concat(i()["spinner-big"]),width:"160",height:"160",viewBox:"0 0 160 160",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M133.332 79.9994C133.332 109.454 109.454 133.332 79.9993 133.332C50.5445 133.332 26.6667 109.454 26.6667 79.9994C26.6667 50.5446 50.5445 26.6667 79.9993 26.6667",stroke:"#FF0019",strokeWidth:"8",strokeLinecap:"round"})}):(0,n.jsx)("svg",{className:i()["spinner-forloading"],xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",children:(0,n.jsx)("path",{fill:"none",fillRule:"evenodd",stroke:"#F2F2F2",strokeLinecap:"round",strokeWidth:"2",d:"M25 13c0-6.627-5.373-12-12-12S1 6.373 1 13",opacity:".4"})}),e?null:(0,n.jsx)("svg",{className:i()["spinner-row"],xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",children:(0,n.jsx)("path",{fill:"none",fillRule:"evenodd",stroke:"#F2F2F2",strokeLinecap:"round",strokeWidth:"2",d:"M25 13c0-6.627-5.373-12-12-12"})})]})}}},28693:e=>{e.exports={"storybook-root":"LanguageSelect_storybook-root__lb7RR",language:"LanguageSelect_language__H54fX",language__label:"LanguageSelect_language__label__jAeec",language__select:"LanguageSelect_language__select__OaT3l","language__select--opened":"LanguageSelect_language__select--opened__GCiyA","language__select-options":"LanguageSelect_language__select-options__x43fL","language__select-item":"LanguageSelect_language__select-item__fQXcx","language__select-icon":"LanguageSelect_language__select-icon__rZxuK"}},24527:e=>{e.exports={"storybook-root":"Technical_storybook-root__fyueo",content:"Technical_content__vd338",contacts__wrapper:"Technical_contacts__wrapper__4C_Mj",child:"Technical_child__qVlJT",contacts__rights:"Technical_contacts__rights__TwSWF",contacts__items:"Technical_contacts__items__u1KbJ",contacts__support:"Technical_contacts__support__fpxKY","contacts__support-inner":"Technical_contacts__support-inner__hwQTJ",no__support:"Technical_no__support__h1fY0","contacts__emails-content-title":"Technical_contacts__emails-content-title__es4rc","contacts__support-content":"Technical_contacts__support-content__kQi2P","contacts__emails-content":"Technical_contacts__emails-content__Yk890","contacts__item-title":"Technical_contacts__item-title__5f7QM",contacts__links:"Technical_contacts__links__0TOzb",contacts__phone:"Technical_contacts__phone__ob0_1","contacts__legal-adress":"Technical_contacts__legal-adress__H7KAi","contacts__legal-adress-title":"Technical_contacts__legal-adress-title__fx5k_","contacts__legal-adress-item":"Technical_contacts__legal-adress-item__edbXO","contacts__mailing-adress-title":"Technical_contacts__mailing-adress-title__NCSPR","contacts__mailing-adress-item":"Technical_contacts__mailing-adress-item__p9i_R","contacts__email-content":"Technical_contacts__email-content__FH5Bb","contacts__emails-press-title":"Technical_contacts__emails-press-title__Hhw2H","contacts__email-press":"Technical_contacts__email-press__Yugy7",privacy_block:"Technical_privacy_block__uPq9c",term_of_use_block:"Technical_term_of_use_block__1ALAv",unsubscribe_wrapper:"Technical_unsubscribe_wrapper__jiWwO",unsubscribeForm:"Technical_unsubscribeForm__1Finj","form-check":"Technical_form-check__8_FrZ","form-check-label":"Technical_form-check-label__rGJj_","input-helper":"Technical_input-helper__Ol0gQ","from-input":"Technical_from-input__FObNa","unsubscribe-input__error-text":"Technical_unsubscribe-input__error-text__k_WTc",unsubscribeButton:"Technical_unsubscribeButton__w0dI7",term_of_use_wrapper:"Technical_term_of_use_wrapper__JafOn",term_of_use_ru:"Technical_term_of_use_ru__CJllc",person_data_wrapper:"Technical_person_data_wrapper__cVn9f",legal_block:"Technical_legal_block__EaP02",privacy_wrapper:"Technical_privacy_wrapper___nOYa",privacy_title:"Technical_privacy_title__bkLBO",person_data:"Technical_person_data__T_wvS",faq_content_wrapper:"Technical_faq_content_wrapper__O1064",promo:"Technical_promo__GJ8nj",title__main:"Technical_title__main__HGw8j",faq_content:"Technical_faq_content__Q7rcR",subtitle:"Technical_subtitle__IG5Ag","faq_content-item":"Technical_faq_content-item__PHcFk",text:"Technical_text__qscd9",text__more:"Technical_text__more__xOTBd",subscription__payment:"Technical_subscription__payment__GyEyJ",faq_content_item:"Technical_faq_content_item__k3cnp",faq_content_item_title:"Technical_faq_content_item_title__DgYzi",faq_content_item_title_text:"Technical_faq_content_item_title_text__jGudM",faq_content_item_title_text_ico:"Technical_faq_content_item_title_text_ico__HdrBv",faq_content_item_content:"Technical_faq_content_item_content__biT5G",faq_content_item_content_text:"Technical_faq_content_item_content_text__vpUTa",visible:"Technical_visible__baBUg",link:"Technical_link__jxw8k",about_company_wrapper:"Technical_about_company_wrapper__wVdLZ",about_company_link:"Technical_about_company_link__DNka6","about_company_wrapper-benefit":"Technical_about_company_wrapper-benefit__DXrDC","about_company_wrapper-title-list":"Technical_about_company_wrapper-title-list__e88Nw","about_company_wrapper-oval":"Technical_about_company_wrapper-oval__cUQaN",technical_page_wrapper:"Technical_technical_page_wrapper__iDnDE",technical_page_logo:"Technical_technical_page_logo__FE50_",technical_page_content_wrapper:"Technical_technical_page_content_wrapper__4iTsb",technical_page_content:"Technical_technical_page_content__WwxS1",technical_page_content_title:"Technical_technical_page_content_title__oarrk",technical_page_content_text:"Technical_technical_page_content_text__hCuFh",technical_page_content_button:"Technical_technical_page_content_button__MW5Hy",info_page_wrapper:"Technical_info_page_wrapper__fd7EQ",info_page_logo:"Technical_info_page_logo__sAGZy",info_page_content_wrapper:"Technical_info_page_content_wrapper__f3iT2",info_page_content:"Technical_info_page_content__6doF6",w_500:"Technical_w_500__QUCdk",info_popup_button_wrapper:"Technical_info_popup_button_wrapper__dyDkb",spinner:"Technical_spinner__4V7K5",info_popup_t
1itle:"Technical_info_popup_title__YguYg",info_popup_content:"Technical_info_popup_content__i3jGp",info_popup_input_wrapper:"Technical_info_popup_input_wrapper__S4HQ8",receiving_wrapper:"Technical_receiving_wrapper__w4gE9",cookie_declaration_wrapper:"Technical_cookie_declaration_wrapper__S7YeM",cookie_declaration_wrapper_hide:"Technical_cookie_declaration_wrapper_hide__fNbmb",info_block:"Technical_info_block__NFylM",docs_style:"Technical_docs_style__TOkK8",internal_server_global_wrapper:"Technical_internal_server_global_wrapper__bLgbp",internal_server_wrapper:"Technical_internal_server_wrapper__LQ4F_",internal_server_title:"Technical_internal_server_title__LxcPT",internal_server_message:"Technical_internal_server_message__UEHaW",internal_server_main:"Technical_internal_server_main__RrZDv",internal_server_message_list:"Technical_internal_server_message_list__esmV9",w_600:"Technical_w_600__QCphN","contacts__mailing-adress":"Technical_contacts__mailing-adress__p7KTO","form-input-label":"Technical_form-input-label__QiYA8",payment__right:"Technical_payment__right__F73eB",payment__header:"Technical_payment__header__3q06K",payment__footer:"Technical_payment__footer__xGvqZ",payment__left:"Technical_payment__left__tJeEU"}},41919:e=>{e.exports={"storybook-root":"Spinner_storybook-root__TZMVJ","spinner-forloading":"Spinner_spinner-forloading__wYOoL","spinner-big":"Spinner_spinner-big__ay9tu","spinner-row":"Spinner_spinner-row__xbdeD","spinner-wrapper":"Spinner_spinner-wrapper__Emkhb"}}}]);
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.