!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"fb5f0903e703b2ddb94431eacd9f88bace2e1245"};var s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="ef68ae4e-cd23-40e5-9eba-a36081bd44bf",e._sentryDebugIdIdentifier="sentry-dbid-ef68ae4e-cd23-40e5-9eba-a36081bd44bf")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4708],{46839:e=>{e.exports={page:"QuestionsDetail_page__GdeL9",breadcrumbs:"QuestionsDetail_breadcrumbs__Vw6p7",detailLayout:"QuestionsDetail_detailLayout__0lEKg",detailMain:"QuestionsDetail_detailMain__nmtVe",desktopSidebar:"QuestionsDetail_desktopSidebar__2NPAa",mobileSidebar:"QuestionsDetail_mobileSidebar__6WHjH",related:"QuestionsDetail_related__hP2VT",relatedList:"QuestionsDetail_relatedList__jXned"}},53017:(e,s,t)=>{Promise.resolve().then(t.bind(t,4558)),Promise.resolve().then(t.bind(t,12696)),Promise.resolve().then(t.t.bind(t,71715,23)),Promise.resolve().then(t.bind(t,17129)),Promise.resolve().then(t.bind(t,76559))},71715:e=>{e.exports={sidebar:"QuestionsSidebar_sidebar__j7Na5",title:"QuestionsSidebar_title__FM49d",sidebarHow:"QuestionsSidebar_sidebarHow__zhkGO",sidebarSteps:"QuestionsSidebar_sidebarSteps__F_Dfp",sidebarStep:"QuestionsSidebar_sidebarStep__qgBhn",sidebarStepIcon:"QuestionsSidebar_sidebarStepIcon__MlMkh"}},76559:(e,s,t)=>{"use strict";t.d(s,{QuestionsDetailClient:()=>I});var i=t(95155),a=t(12115),n=t(25069),r=t(42687),l=t(47812),d=t(52285),o=t(95323),c=t(40182),u=t(15310),m=t(49004),b=t(98350),_=t(35965),p=t.n(_);let x=({question:e,data:s})=>{let t=`${c.i0}/${e.url}`,a=(0,i.jsx)("h1",{className:p().questionTitle,children:e.title}),n=(0,u.PF)(e).map((a,n)=>(0,i.jsx)(m.t,{question:e,answer:a,data:s,compact:!1,questionHref:t},a.id??`${a.from}-${a.published||n}`));return(0,i.jsx)(b.x,{question:e,data:s,title:a,answers:n,full:!0,"data-sentry-element":"QuestionCardLayout","data-sentry-component":"FullQuestionCard","data-sentry-source-file":"FullQuestionCard.tsx"})};var h=t(93754),y=t(27290),f=t(18403),j=t(99211),S=t.n(j);let Q=({content:e})=>{let[s,t]=(0,a.useState)(!1),{title:n,paragraphs:r,expandedText:l,expandLabel:d,collapseLabel:o}=e;return(0,i.jsxs)("section",{className:S().disclaimerSection,"data-sentry-component":"QuestionsDisclaimer","data-sentry-source-file":"QuestionsDisclaimer.tsx",children:[(0,i.jsx)("h2",{className:S().disclaimerTitle,children:n}),(0,i.jsxs)("div",{className:S().disclaimer,children:[(0,i.jsxs)("div",{className:S().disclaimerText,children:[r.map(e=>(0,i.jsx)("p",{children:e},e)),s&&(0,i.jsx)("p",{children:l})]}),(0,i.jsxs)("button",{className:S().disclaimerButton,type:"button","aria-expanded":s,onClick:()=>{(0,f._)({eventCategory:c.EM,eventActionType:f.y.accordion,eventActionText:s?o:d}),t(e=>!e)},children:[s?o:d,s?(0,i.jsx)(y.FzM,{className:S().disclaimerButtonIcon,size:24}):(0,i.jsx)(y.c0w,{className:S().disclaimerButtonIcon,size:24})]})]})]})};var v=t(51926),D=t(71715),N=t.n(D);let g=({askContent:e,howToAnswerContent:s,icons:t,onAsk:a})=>(0,i.jsxs)("aside",{className:N().sidebar,"data-sentry-component":"QuestionsSidebar","data-sentry-source-file":"QuestionsSidebar.tsx",children:[(0,i.jsx)(v.b,{content:e,variant:"sidebar",onAsk:a,"data-sentry-element":"QuestionCta","data-sentry-source-file":"QuestionsSidebar.tsx"}),(0,i.jsxs)("section",{className:N().sidebarHow,children:[(0,i.jsx)("h2",{className:N().title,children:s.title}),(0,i.jsxs)("div",{className:N().sidebarSteps,children:[(0,i.jsxs)("div",{className:N().sidebarStep,children:[t.describeStep,(0,i.jsx)("p",{children:s.describeStep.text})]}),(0,i.jsxs)("div",{className:N().sidebarStep,children:[t.responseStep,(0,i.jsx)("p",{children:s.responseStep.text})]}),(0,i.jsxs)("div",{className:N().sidebarStep,children:[t.emailStep,(0,i.jsx)("p",{children:s.emailStep.text})]})]})]})]});var C=t(36920),w=t(72792),T=t(46839),k=t.n(T);let I=({content:e,data:s,question:t,relatedQuestions:m,widgets:b,howToAnswerIcons:_})=>{let[p,y]=(0,a.useState)(!1),[j,S]=(0,a.useState)({}),v=(0,a.useRef)(null),D=(0,a.useRef)(new Set),{detail:N,questionCta:T}=e,I=(0,l.px)(),E=I.NEXT_PUBLIC_BASE_URL?.replace(/\/+$/,""),L=/^https?:\/\//i.test(E||""),B=[{href:"/",label:"Главная"},{href:c.i0,label:c.eN},{label:t.title}],M=E&&L?(0,w.$K)([{name:"Главная",url:E},{name:c.eN,url:`${E}${c.i0}`},{name:t.title,url:`${E}${c.i0}/${t.url.replace(/^\/+/,"")}`}]):"",q=(0,i.jsx)(g,{askContent:T.value,howToAnswerContent:N.value.howToAnswer,icons:_,onAsk:()=>y(!0)});return(0,a.useEffect)(()=>{let e=v.current;if(!e||"u"<typeof IntersectionObserver)return;let s=new Set(m.filter(e=>!(0,u.tg)(e)?.answer).map(e=>e.url)),t=!1,i=new IntersectionObserver(e=>{e.forEach(e=>{if(!e.isIntersecting)return;i.unobserve(e.target);let a=e.target.dataset.questionUrl;!a||!s.has(a)||D.current.has(a)||(D.current.add(a),d.r.getDetail(a).then(e=>e?.question||null).catch(()=>null).then(e=>{t||S(s=>({...s,[a]:e}))}))})},{rootMargin:"600px 0px"});return e.querySelectorAll("[data-question-url]").forEach(e=>{let t=e.dataset.questionUrl;!t||!s.has(t)||D.current.has(t)||i.observe(e)}),()=>{t=!0,i.disconnect()}},[m]),(0,i.jsxs)("div",{className:k().page,"data-sentry-component":"QuestionsDetailClient","data-sentry-source-file":"QuestionsDetailClient.tsx",children:[(0,i.jsxs)(r.m,{"data-sentry-element":"Container","data-sentry-source-file":"QuestionsDetailClient.tsx",children:[(0,i.jsx)(n.B,{className:`${k().breadcrumbs}`,items:B,onClick:(e,s)=>{if(!s)return;let t=B.find(e=>e.href===s);t?.label&&(0,f._)({eventCategory:c.EM,eventActionType:f.y.link,eventActionText:t.label,eventLabel:s})},"data-sentry-element":"Breadcrumbs","data-sentry-source-file":"QuestionsDetailClient.tsx"}),M&&(0,i.jsx)("script",{id:"tags-json-ld",type:"application/ld+json",dangerouslySetInnerHTML:{__html:M}}),(0,i.jsxs)("div",{className:k().detailLayout,children:[(0,i.jsxs)("div",{className:k().detailMain,children:[(0,i.jsx)(x,{question:t,data:s,"data-sentry-element":"FullQuestionCard","data-sentry-source-file":"QuestionsDetailClient.tsx"}),(0,i.jsx)("div",{className:k().mobileSidebar,children:q}),!!m.length&&(0,i.jsxs)("section",{className:k().related,children:[(0,i.jsx)("h2",{dangerouslySetInnerHTML:{__html:N.value.relatedQuestionsTitle}}),(0,i.jsx)("div",{className:k().relatedList,ref:v,children:m.map(e=>(0,i.jsx)(o.C,{question:e,detailQuestion:j[e.url],data:s},(0,u.Rk)(e)))})]})]}),(0,i.jsx)("div",{className:k().desktopSidebar,children:q})]}),(0,i.jsx)(Q,{content:N.value.disclaimer,"data-sentry-element":"QuestionsDisclaimer","data-sentry-source-file":"QuestionsDetailClient.tsx"})]}),(0,i.jsx)(C.B,{data:b,"data-sentry-element":"QuestionsWidgets","data-sentry-source-file":"QuestionsDetailClient.tsx"}),(0,i.jsx)(h.g,{isOpen:p,data:s,onClose:()=>y(!1),"data-sentry-element":"QuestionFormModal","data-sentry-source-file":"QuestionsDetailClient.tsx"})]})}},99211:e=>{e.exports={disclaimerSection:"QuestionsDisclaimer_disclaimerSection__L8RIW",disclaimerTitle:"QuestionsDisclaimer_disclaimerTitle__0HHru",disclaimer:"QuestionsDisclaimer_disclaimer__o7BM9",disclaimerText:"QuestionsDisclaimer_disclaimerText__u9oko",disclaimerButton:"QuestionsDisclaimer_disclaimerButton__lJm_y",disclaimerButtonIcon:"QuestionsDisclaimer_disclaimerButtonIcon___8eOr"}}},e=>{e.O(0,[621,4332,4381,4583,4653,2545,3177,4341,6604,1629,9203,492,5174,3718,3993,9817,1683,5449,9793,8441,9423,7358],()=>e(e.s=53017)),_N_E=e.O()}]);
//# debugId=ef68ae4e-cd23-40e5-9eba-a36081bd44bf