PageSourceSearch

https://interneturok.ru/h/_next/static/chunks/7368-e82cbb5dd3637b00.js

js interneturok.ru collected 2026-10-02 04:28:14 UTC 26,021 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b5acd815-78c2-4e51-81f3-b03355c95216",e._sentryDebugIdIdentifier="sentry-dbid-b5acd815-78c2-4e51-81f3-b03355c95216")}catch(e){}}();"use strict";(self.webpackChunkhs_fe=self.webpackChunkhs_fe||[]).push([[7368],{46711:function(e,n,t){t.d(n,{s5:function(){return a},AB:function(){return s}}),t(23677);var i=t(19713),r=t(30419),o=t(49434);let a=e=>{var n,t,a,l,d,s,c,u,p,h,m,g,v,x,f,b,_,w,j,y,k,C,I;let{hash:M,orderId:E,onOrderExpired:z,onTransactionExpired:L,paymentMethod:S}=e,{data:A,isFetching:F,isFetched:N,failureCount:P}=(0,i.Gv)(E,S),{data:q,isFetching:B,isFetched:O,error:H,failureCount:T}=(0,i.BC)(M,S),G=null!==(m=null!==(h=null==A?void 0:null===(n=A.confirmation)||void 0===n?void 0:n.data)&&void 0!==h?h:null==q?void 0:null===(t=q.confirmation)||void 0===t?void 0:t.data)&&void 0!==m?m:"",R=null!==(v=null!==(g=null==A?void 0:A.hash_for_view)&&void 0!==g?g:null==q?void 0:q.hash_for_view)&&void 0!==v?v:"",D=null!==(f=null!==(x=null==A?void 0:null===(a=A.confirmation)||void 0===a?void 0:a.type)&&void 0!==x?x:null==q?void 0:null===(l=q.confirmation)||void 0===l?void 0:l.type)&&void 0!==f?f:"",Y=null!==(_=null!==(b=null==A?void 0:null===(d=A.confirmation)||void 0===d?void 0:d.data)&&void 0!==b?b:null==q?void 0:null===(s=q.confirmation)||void 0===s?void 0:s.data)&&void 0!==_?_:{},V=null!==(j=null!==(w=null==A?void 0:A.handler)&&void 0!==w?w:null==q?void 0:q.handler)&&void 0!==j?j:"",Z=null!==(k=null!==(y=null==A?void 0:A.order_id)&&void 0!==y?y:null==q?void 0:q.order_id)&&void 0!==k?k:0,Q=null!==(I=null!==(C=null==A?void 0:A.amount)&&void 0!==C?C:null==q?void 0:q.amount)&&void 0!==I?I:0,J=(0,r.Yl)(null==H?void 0:null===(p=H.response)||void 0===p?void 0:null===(u=p.data)||void 0===u?void 0:null===(c=u.data)||void 0===c?void 0:c.status)||T===i.$Q,W=P===i.$Q;return(0,o.useEffect)(()=>{J?L():W&&z()},[W,J,z,L]),{isLoading:B||F,paymentLink:G,isExpired:J||W,hashForView:R,paymentType:D,confirmationData:Y,handler:V,isFectched:N||O,transactionOrderId:Z,transactionAmount:Q}};var l=t(4060),d=t(78114);let s=()=>{let{push:e}=(0,d.useRouter)();return{handleOrderExpired:()=>e(l.JZ.configurator.expired.order),handleHashExpired:()=>e(l.JZ.configurator.expired.hash)}};t(66082),t(63350),t(60808)},7368:function(e,n,t){t.d(n,{mY:function(){return Q},xF:function(){return ev},fb:function(){return eX}});var i,r,o,a,l,d,s,c,u,p,h,m,g,v,x,f=t(25353),b=t(49434),_=t(47246),w=t(84461),j=t(74619),y=t(26871);let k=()=>(0,j.n)(["disable-autorenewal"],e=>y.Hn.getService("order").disableAutorenewal(e));var C=t(93596),I=t(47501),M=t(61207),E=t(29332);(i=o||(o={})).question="question",i.thanks="thanks",i.poll="poll",(r=a||(a={})).yes="yes",r.no="no";let z={[a.yes]:"Да, мне просто не подходит автоплатёж / формат обучения;",[a.no]:"Нет."};var L=t(24317),S=t(10764);let A=(0,S.default)(_.B).withConfig({componentId:"sc-2b1b942a-0"})(["margin:0 auto;"]),F=S.default.p.withConfig({componentId:"sc-2b1b942a-1"})(["letter-spacing:-0.001em;"]),N=(0,S.default)(L.R).withConfig({componentId:"sc-2b1b942a-2"})([".MuiFormControlLabel-label{","{font-size:16px;line-height:24px;}","{font-size:16px;line-height:24px;}","{color:var(--blue-800);}}"],e=>{let{theme:n}=e;return n.breakpoints.down("md")},e=>{let{theme:n}=e;return n.breakpoints.down("sm")},e=>{let{theme:n}=e;return n.dark}),P=(0,S.default)(M.M).withConfig({componentId:"sc-2b1b942a-3"})([".modal-content{overflow-y:hidden;}"]),q=e=>{let{open:n,handleClose:t,pollUrl:i}=e,[r,l]=(0,b.useState)(o.question),[d,s]=(0,b.useState)(a.yes),c=(0,b.useCallback)(()=>{C.CY.fireEvent({type:"click",label:"пройти_опрос",category:"payments_modal_change_autorenewal_survey"}),t()},[t]);return n?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(P,{opened:r===o.question,header:"Планируете ли вы продолжать учиться у нас?",primaryAction:(0,f.jsx)(_.B,{onClick:()=>d===a.yes?l(o.thanks):l(o.poll),children:"Ответить"}),handleClose:t,children:(0,f.jsx)(N,{value:d,options:z,onChange:e=>s(e.target.value)})}),(0,f.jsx)(M.M,{opened:r===o.thanks,header:"Спасибо за ответ!",primaryAction:(0,f.jsx)(_.B,{onClick:t,children:"Продолжить"}),handleClose:t}),(0,f.jsx)(M.M,{opened:r===o.poll,primaryAction:(0,f.jsx)(E.N_,{"data-event-label":"опрос_почему_не_собираюсь_продолжать_учиться",href:i,anchorProps:{target:"_blank",rel:"noopener noreferer"},passHref:!0,onClick:c,children:(0,f.jsx)(A,{size:"large",children:"Пройти опрос"})}),handleClose:t,children:(0,f.jsx)(F,{children:"Будем благодарны, если вы расскажете о мотивах своего решения, ответив на несколько наших вопросов. Это займёт не более 2\xa0минут."})})]}):null};var B=t(80667),O=t(15369),H=t(19713);let T=S.default.div.withConfig({componentId:"sc-e51d67cc-0"})(["letter-spacing:-0.001em;a{font-size:18px;}","{font-size:16px;padding:0 16px;line-height:24px;a{font-size:16px;}}","{a{font-size:16px;}}","{a{font-size:16px;}}"],e=>{let{theme:n}=e;return n.breakpoints.down("md")},e=>{let{theme:n}=e;return n.breakpoints.down("sm")},e=>{let{theme:n}=e;return n.breakpoints.down("xs")}),G=(0,S.default)(M.M).withConfig({componentId:"sc-e51d67cc-1"})([".modal-header__cross{padding:32px 24px 8px;}.modal-footer{padding:16px 40px 32px;}.submit{margin-right:32px !important;}","{.MuiPaper-rounded{width:588px;}.modal-header__cross{padding:24px 24px 8px;}.modal-header__content{padding-bottom:0;line-height:28px;}.modal-content{margin:16px 24px;}.modal-footer{padding-top:0;padding-bottom:24px;}.submit,.close{width:220px;height:48px;}.submit{margin-right:24px !important;}}","{.MuiPaper-rounded{width:100vw;}.modal-header__content{font-size:22px;line-height:24px;}.modal-footer{flex-direction:row;padding-bottom:32px;}
1.submit,.close{min-width:200px;width:200px;height:40px;}.submit{margin-bottom:unset !important;margin-right:16px !important;}}","{.MuiPaper-rounded{width:100vw;}.modal-header__cross{padding:16px 16px 8px;}.modal-header__content{font-size:20px;}.modal-content{margin:8px 16px 16px;}.submit,.close{min-width:136px;width:136px;height:40px;}}"],e=>{let{theme:n}=e;return n.breakpoints.down("md")},e=>{let{theme:n}=e;return n.breakpoints.down("sm")},e=>{let{theme:n}=e;return n.breakpoints.down("xs")});var R=t(4060);let D={type:"click",category:"payments_modal_change_autorenewal_disable",label:"выключить_автопродление"},Y={type:"click",category:"payments_modal_change_autorenewal_cancel",label:"оставить_автопродление"},V=(0,f.jsxs)(T,{children:["Обратите внимание, что в этом случае вы полностью контролируете сроки проведения оплаты. Не\xa0забудьте, что доступ к\xa0обучению по текущему заказу будет закрыт в указанную дату в\xa0",(0,f.jsx)("strong",{children:"23:59\xa0(мск)"}),".",(0,f.jsx)("br",{}),(0,f.jsx)("br",{}),"Повторное подключение автопродления будет возможно самостоятельно при оформлении нового заказа через"," ",(0,f.jsx)(E.N_,{href:R.JZ.configurator.index,children:"Каталог"})," или\xa0по\xa0запросу в\xa0нашем контакт-центре",(0,f.jsx)("br",{}),"(тел.:\xa0",(0,f.jsx)("strong",{children:"8\xa0(800)\xa0775-4121"}),", email:\xa0",(0,f.jsx)(E.N_,{href:"mailto:[email protected]",children:"[email protected]"}),")."]}),Z=(0,f.jsx)(T,{children:"Обратите внимание, что в случае неуспешной попытки автосписания последующие запросы не будут запущены. Если автосписание пройдет успешно, то в сформированной карточке будущего доступа автопродление следующего периода будет отключено."}),Q=e=>{var n,t,i,r;let{order:o,handleClose:a,refetchPaidGoods:l}=e,[d,s]=(0,b.useState)(!1),[c,u]=(0,b.useState)(!1),{data:p}=(0,O.iZ)(w.Zw),{data:h,isFetching:m}=(0,I.Z)({"filter[slug][]":B.DX},c),{mutate:g,isLoading:v}=k(),x=(0,b.useMemo)(()=>null==h?void 0:h.find(e=>e.slug===B.DX),[h]),j=(0,b.useMemo)(()=>v||m,[m,v]),y=(0,b.useMemo)(()=>{var e,n;return!!((null==o?void 0:null===(e=o.child_order)||void 0===e?void 0:e.id)&&(null==o?void 0:null===(n=o.child_order)||void 0===n?void 0:n.order_position_id))},[null==o?void 0:null===(n=o.child_order)||void 0===n?void 0:n.id,null==o?void 0:null===(t=o.child_order)||void 0===t?void 0:t.order_position_id]),M=(0,b.useMemo)(()=>{var e;return(null==o?void 0:null===(e=o.child_order)||void 0===e?void 0:e.status)===H.ex.paid},[null==o?void 0:null===(i=o.child_order)||void 0===i?void 0:i.status]),E=(0,b.useMemo)(()=>y?"Вы действительно хотите отменить последующее автосписание платежа?":"Вы действительно хотите отключить автопродление?",[y]),z=(0,b.useMemo)(()=>{switch(!0){case y&&M:return Z;case!y:return V;default:return" "}},[y,M]),L=(0,b.useCallback)(()=>{var e;let n={userId:p,orderPositionId:y?null==o?void 0:null===(e=o.child_order)||void 0===e?void 0:e.order_position_id:null==o?void 0:o.order_position_id};C.CY.fireEvent(D),g(n,{onSuccess:()=>{l(),a(),u(!0),C.CY.fireEvent({type:"click",label:"тоггл_автопродление",category:"payments_autorenewal_toggle_change",valueString:String(!(null==o?void 0:o.is_renewable))})}})},[a,y,g,null==o?void 0:null===(r=o.child_order)||void 0===r?void 0:r.order_position_id,null==o?void 0:o.is_renewable,null==o?void 0:o.order_position_id,l,p]),S=(0,b.useCallback)(()=>{a(),C.CY.fireEvent(Y)},[a]);return(0,b.useEffect)(()=>{x&&s(!0)},[x]),(0,f.jsxs)(f.Fragment,{children:[o&&(0,f.jsx)(G,{id:"payments__card__content-item__disable-toggle-modal",opened:!!o,handleClose:S,header:E,disableModalClose:j,primaryAction:(0,f.jsx)(_.B,{"data-testid":"payments__card__content-item__disable-toggle-modal__cancel",className:"submit",disabled:j,onClick:S,children:"Оставить"}),secondaryAction:(0,f.jsx)(_.B,{"data-testid":"payments__card__content-item__disable-toggle-modal__disable",className:"close",disabled:j,onClick:L,children:"Выключить"}),children:z}),x&&(0,f.jsx)(q,{open:d,pollUrl:x.value,handleClose:()=>s(!1)})]})};var J=t(79754),W=t(78114),$=t(52353),X=t(6827),U=t(65286),K=t(30419),ee=t
1(49178),en=t(39798),et=t(45548);let ei=S.default.div.withConfig({componentId:"sc-bcbfdfa5-0"})(["display:flex;justify-content:",";"],e=>{let{$onlyPagination:n}=e;return n?"flex-end":"space-between"});var er=t(42402),eo=t(61742);let ea=(0,S.css)(["","{background-color:var(--gray-120);}"],e=>{let{theme:n}=e;return n.dark}),el=S.default.div.withConfig({componentId:"sc-dadbecc1-0"})(["font:var(--Text_H4_700_20);line-height:28px;","{font:var(--Text_H5_700_18);}","{font:var(--Text_M_700_16);}","{color:var(--gray-500);}"],e=>{let{theme:n}=e;return n.breakpoints.down("md")},e=>{let{theme:n}=e;return n.breakpoints.down("sm")},e=>{let{theme:n}=e;return n.dark}),ed=S.default.div.withConfig({componentId:"sc-dadbecc1-1"})(["display:grid;grid-template-columns:repeat(auto-fill,minmax(445px,1fr));grid-gap:24px;margin-top:24px;","{grid-template-columns:repeat(auto-fill,minmax(373px,1fr));margin-top:16px;}","{grid-template-columns:repeat(auto-fill,minmax(284px,1fr));grid-row-gap:16px;}","{grid-template-columns:repeat(auto-fill,minmax(288px,1fr));}"],e=>{let{theme:n}=e;return n.breakpoints.down("md")},e=>{let{theme:n}=e;return n.breakpoints.down("sm")},e=>{let{theme:n}=e;return n.breakpoints.down("xs")}),es=(0,S.default)(e=>{let{LimitControlProps:n,PaginationProps:t,className:i}=e,r=(0,b.useMemo)(()=>!!t&&t.count>1&&!n,[n,t]);return(0,f.jsxs)(ei,{$onlyPagination:r,className:i,children:[n&&(null==t?void 0:t.count)>0&&(0,f.jsx)(et.A,{py:5,pl:"10px",className:"limit-container",children:(0,f.jsx)(ee.L,{...n})}),t&&t.count>0&&(0,f.jsx)(et.A,{py:5,className:"pagination-container",children:(0,f.jsx)(en.P,{color:"primary",...t})})]})}).withConfig({componentId:"sc-dadbecc1-2"})(["margin-top:24px;","{margin-top:16px;}","{flex-direction:column;gap:16px;.pagination-container{align-self:center;}}"],e=>{let{theme:n}=e;return n.breakpoints.down("md")},e=>{let{theme:n}=e;return n.breakpoints.down("sm")}),ec=(0,S.default)(er.M).withConfig({componentId:"sc-dadbecc1-3"})(["margin-top:16px;","{margin-top:8px;}> div > span{color:var(--blue-300);}"],e=>{let{theme:n}=e;return n.breakpoints.down("md")}),eu=(0,S.default)(eo.A).withConfig({componentId:"sc-dadbecc1-4"})(["width:250px;",""],ea),ep=(0,S.default)(eo.A).withConfig({componentId:"sc-dadbecc1-5"})(["height:514px;","{height:458px;}","{height:404px;}",""],e=>{let{theme:n}=e;return n.breakpoints.down("md")},e=>{let{theme:n}=e;return n.breakpoints.down("sm")},ea),eh=(0,S.default)(eo.A).withConfig({componentId:"sc-dadbecc1-6"})(["height:244px;","{height:240px;}","{height:204px;}",""],e=>{let{theme:n}=e;return n.breakpoints.down("md")},e=>{let{theme:n}=e;return n.breakpoints.down("sm")},ea);var em=t(5779);let eg=new Map([[em.Gq.unpaid,(0,f.jsxs)("div",{children:[(0,f.jsx)(eu,{variant:"rectangular"}),(0,f.jsxs)(ed,{children:[(0,f.jsx)(ep,{variant:"rectangular"}),(0,f.jsx)(ep,{variant:"rectangular"}),(0,f.jsx)(ep,{variant:"rectangular"})]})]},em.Gq.unpaid)],[em.Gq.paid,(0,f.jsxs)("div",{children:[(0,f.jsx)(eu,{variant:"rectangular"}),(0,f.jsxs)(ed,{children:[(0,f.jsx)(eh,{variant:"rectangular"}),(0,f.jsx)(eh,{variant:"rectangular"}),(0,f.jsx)(eh,{variant:"rectangular"})]})]},em.Gq.paid)],[em.Gq.archived,(0,f.jsxs)("div",{children:[(0,f.jsx)(eu,{variant:"rectangular"}),(0,f.jsxs)(ed,{children:[(0,f.jsx)(eh,{variant:"rectangular"}),(0,f.jsx)(eh,{variant:"rectangular"}),(0,f.jsx)(eh,{variant:"rectangular"})]})]},em.Gq.archived)]]),ev=(0,b.memo)(e=>{var n;let{orders:t,category:i,archivedMeta:r,archivedStudyYears:o,isStudyYearsLoading:a,isLoading:l}=e,{push:d,query:s}=(0,W.useRouter)(),{PaginationProps:c,LimitControlProps:u}=(0,X.W)({defaultLimit:U.W0[0],limits:U.W0,meta:r}),p=(0,K.W_)(o),h=s.year&&String(s.year)||U.ir,m={id:h,name:null===(n=p.find(e=>e.id===h))||void 0===n?void 0:n.name};return(0,f.jsx)($.OV,{loader:eg.get(i),isLoading:l,children:!!(null==t?void 0:t.length)&&(0,f.jsxs)("div",{children:[(0,f.jsx)(el,{children:H.ku[i]}),i===H.Gq.archived&&(0,f.jsx)(ec,{label:m.name,disabled:a,onSelectedChange:e=>{let[{id:n}]=e;d({query:(0,$.fe)({...s,year:String(n!==U.ir?n:"")})},void 0,{shallow:!0,scroll:!1})},options:p,optionAppearence:"radio",showOptionsList:!1,value:[m],className:"subjects-select",withoutSearch:!0,fitPopperHeight:!0}),(0,f.jsx)(ed,{children:t.map(e=>(0,b.createElement)(J.B,{...e,key:"card_".concat(i,"_").concat(e.id)}))}),i===H.Gq.archived&&(0,f.jsx)(es,{className:"archive-pagination",LimitControlProps:u,PaginationProps:c})]},i)})});var ex=t(57536),ef=t(40899);function eb(){return(eb=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)}function e_(e){return b.createElement("svg",eb({width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l||(l=b.createElement("path",{d:"M4.813 23.855h18.375c2.449 0 3.68-1.207 3.68-3.62V7.777c0-2.414-1.231-3.633-3.68-3.633H4.813c-2.45 0-3.68 1.219-3.68 3.633v12.457c0 2.413 1.23 3.62 3.68 3.62zM3.02 7.884c0-1.22.656-1.852 1.828-1.852h18.316c1.16 0 1.817.633 1.817 1.852v.984H3.02v-.984zm1.828 14.085c-1.172 0-1.828-.621-1.828-1.84v-8.602h21.96v8.602c0 1.218-.656 1.84-1.816 1.84H4.848zM6.195 18.5h2.872c.691 0 1.148-.457 1.148-1.
1125v-2.168c0-.656-.457-1.125-1.148-1.125H6.195c-.691 0-1.148.469-1.148 1.125v2.168c0 .668.457 1.125 1.148 1.125z",fill:"gray"})))}var ew=t(77403),ej=t(42469),ey=t(46711),ek=t(79278),eC=t(58308),eI=t(51981),eM=t(61906);let eE=(0,S.css)(["min-width:171px;max-width:171px;min-height:171px;max-height:171px;margin-right:16px;"]),ez=S.default.div.withConfig({componentId:"sc-50116815-0"})(["padding:16px;background-color:var(--gray-900);border-radius:16px;"]),eL=S.default.div.withConfig({componentId:"sc-50116815-1"})(["display:flex;justify-content:center;margin-bottom:16px;"]),eS=S.default.div.withConfig({componentId:"sc-50116815-2"})(["",""],eE),eA=S.default.div.withConfig({componentId:"sc-50116815-3"})([""," background:no-repeat url(",");"],eE,e=>{let{imageUrl:n}=e;return n}),eF=S.default.div.withConfig({componentId:"sc-50116815-4"})([".info{display:inline-block;margin-left:20px;color:var(--orange-300);font:var(--Text_S_700_14);line-height:20px;cursor:pointer;}"]),eN=S.default.ul.withConfig({componentId:"sc-50116815-5"})(["color:var(--gray-300);font:var(--Text_S_500_14);line-height:20px;margin-bottom:24px;li{position:relative;padding-left:18px;&::before{position:absolute;top:6px;left:0;width:4px;height:4px;background-color:var(--orange-300);border-radius:50%;content:'';}&:not(:last-child){margin-bottom:8px;}}"]),eP=(0,S.default)(eo.A).attrs({variant:"rectangular"}).withConfig({componentId:"sc-50116815-6"})([""," border-radius:8px;"],eE),eq=S.default.div.withConfig({componentId:"sc-50116815-7"})([""," background-image:url(data:image/png;base64,",");background-position:center;background-repeat:no-repeat;background-size:contain;"],eE,e=>{let{$qrImage:n}=e;return n}),eB=e=>{let{qrData:n,isLoading:t=!1,orderId:i,isLinkToImage:r,renewal:o}=e;return(0,f.jsxs)(ez,{children:[(0,f.jsxs)(eL,{children:[(0,f.jsxs)($.OV,{isLoading:t,loader:(0,f.jsx)(eP,{}),children:[(null==n?void 0:n.image)&&r&&(0,f.jsx)(eA,{imageUrl:n.image}),(null==n?void 0:n.image)&&!r&&(0,f.jsx)(eS,{dangerouslySetInnerHTML:{__html:n.image}}),(null==n?void 0:n.image_base64)&&(0,f.jsx)(eq,{$qrImage:n.image_base64})]}),(0,f.jsxs)(eF,{children:[(0,f.jsxs)(eN,{children:[(0,f.jsx)("li",{children:"Запустите приложение банка"}),(0,f.jsx)("li",{children:"Отсканируйте QR-код"}),(0,f.jsx)("li",{children:"Подтвердите платёж"})]}),(0,f.jsx)(eI.T,{arrow:!0,placement:"top",title:"QR-код может не читаться, если\xa0приложение вашего банка не\xa0поддерживает Систему быстрых платежей (СБП). Оплатите другим способом.",children:(0,f.jsx)("div",{className:"info",onMouseEnter:()=>{C.CY.fireEvent({type:"click",label:"qrкод_не_читается_тултип",category:"payment",valueInt:Number(i)})},children:"Не читается QR-код"})})]})]}),o&&(0,f.jsx)(eM.fS,{})]})};var eO=t(38579),eH=t.n(eO);function eT(){return(eT=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)}function eG(e){return b.createElement("svg",eT({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 57 24",height:24,width:57},e),d||(d=b.createElement("path",{fill:"#5B57A2",d:"M.334 5.225l2.912 5.195v3.168L.337 18.773.334 5.225z"})),s||(s=b.createElement("path",{fill:"#D90751",d:"M11.517 8.528l2.729-1.67 5.585-.004-8.314 5.082V8.528z"})),c||(c=b.createElement("path",{fill:"#FAB718",d:"M11.501 5.193l.016 6.878-2.92-1.79V0l2.905 5.193z"})),u||(u=b.createElement("path",{fill:"#ED6F26",d:"M19.83 6.854l-5.584.005L11.5 5.193 8.598 0 19.83 6.854z"})),p||(p=b.createElement("path",{fill:"#63B22F",d:"M11.517 18.8v-3.337l-2.92-1.756.002 10.292 2.918-5.199z"})),h||(h=b.createElement("path",{fill:"#1487C9",d:"M14.239 17.148L3.245 10.42.334 5.225 19.819 17.14l-5.58.007z"})),m||(m=b.createElement("path",{fill:"#017F36",d:"M8.599 24l2.917-5.199 2.722-1.654 5.58-.006L8.598 24z"})),g||(g=b.createElement("path",{fill:"#984995",d:"M.338 18.773L8.62 13.71l-2.784-1.705-2.59 1.584-2.91 5.185z"})),v||(v=b.createElement("path",{fill:"#000",d:"M32.657 8.569l-1.34 2.648a3.471 3.471 0 00-1.622-.665 2.899 2.899 0 00-1.4.125 2.26 2.26 0 00-.605.31c-.865.647-.875 1.834-.875 1.887.007.828.43 1.598 1.125 2.052.28.167.59.281.912.335.275.034.553.034.828 0a3.664 3.664 0 001.074-.208c.195-.07.382-.16.56-.266l1.344 2.215a5.477 5.477 0 01-1.79.836 8.578 8.578 0 01-1.798.16c-.831 0-2.43-.129-3.721-1.342-1.528-1.437-1.517-3.413-1.515-3.782a5.606 5.606 0 011.616-3.851c.991-.973 2.354-1.46 4.089-1.46a4.98 4.98 0 013.117 1.006zM37.173 10.182c.034.012.072-.048.136-.146.075-.117.185-.288.364-.455a2.426 2.426 0 011.375-.56 5.134 5.134 0 013.815.829 4.495 4.495 0 011.605 3.233 4.717 4.717 0 01-1.46 3.524c-1.436 1.403-3.244 1.395-3.75 1.393a5.25 5.25 0 01-2.662-.694 5.143 5.143 0 01-1.132-.906c-1.483-1.575-1.558-3.672-1.584-4.415a8.286 8.286 0 01.563-3.233 6.938 6.938 0 011.104-1.887 5.947 5.947 0 01.688-.663c.235-.21.49-.398.76-.56a4.281 4.281 0 011.2-.455A5.955 5.955 0 0139.549 5l4.774.02a60.345 60.345 0 00-1.18 2.37c-.049.103-.094.2-.137.288a37.798 37.798 0 00-2.915.017c-.91.045-1.316.111-1.75.352a2.317 2.317 0 00-.804.712c-.409.63-.476 1.382-.364 1.423zm2.189 5.284a1.739 1.739 0 001.385-.563c.343-.424.518-.959.49-1.502a2.144 2.144 0 00-.498-1.517 1.79 1.79 0 00-1.377-.536 1.968 1.968 0 00-1.464.565 1.945 1.945 0 00-.579 1.45c-.02.561.19 1.107.582 1.511.382.393.912.608 1.46.592zM55.87 17.516l-3.48-.021v-6.28h-2.856l.041 6.3-3.46.021.021-9.264 9.714.006.02 9.238z"})),x||(x=b.createElement("defs",null,b.createElement("clipPath",{id:"sbp-logo_svg__clip0_1688495712221"},b.createElement("path",{transform:"translate(.334)",fill:"#fff",d:"M0 0h19.5v24H0z"})))))}let eR=S.default.div.withConfig({componentId:"sc-7c79b6c-0"})(["padding:12px;background:var(--gray-900);border-radius:16px;width:100%;"]),eD=S.default.div.withConfig({componentId:"sc-7c79b6c-1"})(["margin-bottom:16px;font:var(--Text_S_700_14);line-height:20px;"]),eY=S.default.a.withConfig({componentId:"sc-7c79b6c-2"})(["display:flex;align-items:center;justify-content:center;width:100%;height:50px;padding:13px 24px;margin-bottom:16px;color:var(--gray-100);background-color:var(--gray-900);border:1px solid var(--gray-600);border-radius:8px;transition:background-color 0.3s;&:hover{background-color:#f6f7f8;}&:active{background-color:#eaecee;}"]),eV=(0,S.default)(eo.A).attrs({variant:"rectangular"}).withConfig({componentId:"sc-7c79b6c-3"})(["width:100%;height:50px;border-radius:8px;margin-bottom:16px;
1"]),eZ=e=>{let{deepLink:n="",isLoading:t=!1,orderId:i,renewal:r}=e;return(0,f.jsxs)(eR,{children:[(0,f.jsx)(eD,{children:"Быстрая оплата"}),(0,f.jsx)($.OV,{loader:(0,f.jsx)(eV,{}),isLoading:t,children:(0,f.jsx)(eH(),{passHref:!0,href:n,legacyBehavior:!0,onClick:()=>C.CY.fireEvent({type:"click",label:"оплатить_по_сбп",category:"payment",valueInt:Number(i)}),children:(0,f.jsx)(eY,{target:"_blank",rel:"noopener noreferrer",children:(0,f.jsx)(eG,{})})})}),r&&(0,f.jsx)(eM.fS,{})]})},eQ=e=>{let{hashForView:n="",dataForPayment:t,isLoadingPaymentInfo:i}=e,{query:r}=(0,W.useRouter)(),{isMobile:o}=(0,ek.a)(),a=o||eC.XF,{isFetching:l,data:d}=(0,H.v_)(n,a?H.N3.url:H.N3.image);return(0,b.useMemo)(()=>{var e,n,o,s;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(H.Pr,{price:null!==(n=null==t?void 0:t.amount)&&void 0!==n?n:0,orderId:null!==(o=null==t?void 0:t.order_id)&&void 0!==o?o:0,description:"Услуги образовательной платформы \xabИнтернетУрок\xbb",isLoading:i}),a?(0,f.jsx)(eZ,{isLoading:l,deepLink:null!==(s=null==d?void 0:d.url)&&void 0!==s?s:"",orderId:r.orderId,renewal:"true"===r.renewal}):(0,f.jsx)(eB,{isLoading:l,isLinkToImage:(null==t?void 0:t.handler)===ef.Gu.Raiffeisen,qrData:d,orderId:null==t?void 0:null===(e=t.order_id)||void 0===e?void 0:e.toString(),renewal:"true"===r.renewal})]})},[d,null==t?void 0:t.amount,null==t?void 0:t.handler,null==t?void 0:t.order_id,l,i,a,r.orderId,r.renewal])},eJ=(0,b.memo)(()=>{let{query:e}=(0,W.useRouter)(),n=Number(e.orderId)||0,t=e.hash,{handleHashExpired:i,handleOrderExpired:r}=(0,ey.AB)(),{hashForView:o,isLoading:a,isExpired:l}=(0,ey.s5)({orderId:n,hash:t,onOrderExpired:r,onTransactionExpired:i,paymentMethod:ef.t9.Sbp}),{data:d,isLoading:s}=(0,H.J5)(o,!!o);return(0,H.HA)({hashForView:o,internalTransactionStatus:null==d?void 0:d.internal_transaction_status,orderId:null==d?void 0:d.order_id,hash:t,amount:null==d?void 0:d.amount}),(0,f.jsx)($.OV,{isLoading:a,loader:(0,f.jsx)(H.AO,{id:"configurator__payment__loader"}),children:!l&&(0,f.jsx)(eQ,{hashForView:o,dataForPayment:d,isLoadingPaymentInfo:s})})}),eW=S.default.div.withConfig({componentId:"sc-861f62b4-0"})(["display:flex;flex-direction:column;gap:16px;background-color:var(--payment-gray-1);button:last-child{margin-top:8px;}","{width:100%;height:100%;}"],e=>{let{theme:n}=e;return n.breakpoints.down("xs")}),e$=S.default.div.withConfig({componentId:"sc-861f62b4-1"})(["position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100px;gap:16px;"]),eX=e=>{let{handleClick:n,paymentMethods:t=[]}=e,{query:i}=(0,W.useRouter)(),r=(0,b.useMemo)(()=>null==t?void 0:t.find(e=>e.name===ef.t9.BankCard),[t]),o=(0,b.useMemo)(()=>null==t?void 0:t.find(e=>e.name===ef.t9.Sbp),[t]);return(0,f.jsxs)(eW,{"data-testid":"payment-selection",children:[(0,f.jsx)(ew.hj,{children:(0,f.jsx)(ej.h,{})}),!!o&&(0,f.jsx)(e$,{id:"payment-by-sbp","data-testid":"payment-by-sbp",children:(0,f.jsx)(eJ,{})}),!!r&&(0,f.jsx)(ex.F4,{id:"payment-by-card",title:"Оплата банковской картой",icon:(0,f.jsx)(e_,{}),onClick:()=>{C.CY.fireEvent({type:"click",label:"оплатить_по_карте",category:"payment",valueInt:Number(i.orderId)}),n(r.name,!!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.