1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6011],{6965:(e,t,n)=>{n.d(t,{U:()=>l});var i=n(63696),r=n(55660),l=function(e){var t=e.children,n=document.getElementById("page-container").offsetHeight,l=document.getElementById("content-wrapper").offsetHeight;return i.createElement(r.HD,{height:n-l+56},t)}},12463:(e,t,n)=>{n.d(t,{DV:()=>m,MJ:()=>a,b1:()=>c,cF:()=>p,iF:()=>d,m7:()=>u,tg:()=>E});var i=n(9655),r=n(90673),l=n(91345),a=i.Ay.div.withConfig({componentId:"sc-1azapve-0"})(["display:flex;flex-direction:column;align-items:flex-start;width:400px;max-height:calc(100vh - 120px);border-radius:8px;background-color:",";border:1px solid ",";"],(0,r.hm)("white"),(0,r.hm)("gray",3)),o=i.Ay.div.withConfig({componentId:"sc-1azapve-1"})(["width:100%;"]),c=i.Ay.div.withConfig({componentId:"sc-1azapve-2"})(["overflow-y:auto;max-height:70vh;position:relative;width:100%;padding-top:0;&::after{content:'';position:-webkit-sticky;position:sticky;bottom:0;display:block;height:10px;margin-top:-10px;background:linear-gradient(rgba(0,0,0,0) 0%,rgba(0,0,0,0.09) 100%);}&::-webkit-scrollbar{width:1px;}&::-webkit-scrollbar-thumb{background-color:",";}&::-webkit-scrollbar-track{background-color:",";}"],(0,r.hm)("white"),(0,r.hm)("white")),d=i.Ay.div.withConfig({componentId:"sc-1azapve-3"})(["&:after{background:linear-gradient(rgba(255,255,255,0),white 70%) center bottom;content:'';background:white;display:block;position:sticky;height:10px;z-index:1;}"]),m=(0,i.Ay)(o).withConfig({componentId:"sc-1azapve-4"})(["padding:24px 24px 0 24px;margin-bottom:16px;"]),u=(0,i.Ay)(o).withConfig({componentId:"sc-1azapve-5"})(["margin-bottom:8px;"]),p=(0,i.Ay)(o).withConfig({componentId:"sc-1azapve-6"})(["padding:0 24px;"]),E=(0,i.Ay)(o).withConfig({componentId:"sc-1azapve-7"})(["padding:16px 24px 24px 24px;","{&:not(:nth-of-type(1)){margin-top:12px;}}"],l.$n)},55660:(e,t,n)=>{n.d(t,{HD:()=>a,ff:()=>l,nC:()=>r});var i=n(9655),r=i.Ay.div.withConfig({componentId:"sc-15veftn-0"})(["height:fit-content;display:flex;width:400px;margin-left:24px;@media (max-width:1024px){width:320px;margin-left:20px;}"]),l=i.Ay.div.withConfig({componentId:"sc-15veftn-1"})(["width:100%;display:flex;overflow:auto;justify-content:center;& > div:last-child{position:sticky;top:0;overflow:auto;}scrollbar-width:none;&::-webkit-scrollbar{display:none;}"]),a=i.Ay.div.withConfig({componentId:"sc-15veftn-2"})(["flex:1;width:0;max-width:1024px;& > div:last-child{height:",";}"],(function(e){var t=e.height;return"calc(100vh - ".concat(t,"px)")}))},76011:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Ie});var i,r=n(63696),l=n(25415),a=n(30790),o=n(6965),c=n(55660),d=n(95341),m=n(78642),u=n(9655),p=n(90673),E=u.Ay.div.withConfig({componentId:"sc-lgh1bq-0"})(["width:100%;display:flex;justify-content:space-between;align-items:inherit;flex-direction:",";gap:",";"],(function(e){var t=e.direction;return void 0===t?"column":t}),(function(e){var t=e.gap;return"".concat(void 0===t?0:t,"px")})),s=u.Ay.div.withConfig({componentId:"sc-lgh1bq-1"})(["font-size:",";color:",";"],(function(e){var t=e.size;return"".concat(void 0===t?12:t,"px")}),(function(e){var t=e.index,n=void 0===t?6:t;return(0,p.hm)("gray",n)})),h=(0,u.Ay)(c.ff).withConfig({componentId:"sc-lgh1bq-2"})(["height:100%;"]),f=n(23187),v=n(28892),g=n(83127),A=n(92628),_=(n(51908),n(25897)),L=n(93221),x=n(54068),w=u.Ay.div.withConfig({componentId:"sc-7a9b2y-0"})(["padding:8px 32px;display:flex;width:100%;cursor:",";"],(function(e){return e.isActive?"default":"pointer"})),I=u.Ay.div.withConfig({componentId:"sc-7a9b2y-1"})(["font-family:",";color:",";"],(0,p.Jz)("SBSansText"),(function(e){var t=e.isActive;return(0,p.hm)(t?"emerald":"gray",t?6:8)})),y=function(e){var t=e.name,n=e.icon,i=e.onClick,l=e.active,a=void 0!==l&&l;return r.createElement(w,{isActive:a,onClick:function(){return i(t)}},n&&r.createElement(_.T,{right:6},r.createElement(L.R,{type:x.aq.PASSIVE,size:x.J9.SMALL,name:n})),r.createElement(I,{isActive:a},f.E[t]))},b=n(12463),S=u.Ay.div.withConfig({componentId:"sc-1012005-0"})(["height:1px;width:100%;background-color:",";margin:8px 0;"],(0,p.hm)("gray",3)),N=(0,u.Ay)(b.MJ).withConfig({componentId:"sc-1012005-1"})(["border-radius:12px;"]),C={setSection:d.$.actions.setSection},T=function(){var e=(0,l.d4)(m.h.getSection),t=(0,v.j)(C).setSection,n=function(e){return t(e)};return r.createElement(N,null,r.createElement(y,{icon:"undo-outline",name:f.b.MAIN,active:e===f.b.MAIN,onClick:n}),r.createElement(S,null),r.createElement(y,{name:f.b.REQUISITES,active:e===f.b.REQUISITES,onClick:n}),r.createElement(y,{name:f.b.DOCUMENTS,active:e===f.b.DOCUMENTS,onClick:n}),r.createElement(y,{name:f.b.REQUESTS,active:e===f.b.REQUESTS,onClick:n}),r.createElement(y,{name:f.b.USERS,active:e===f.b.USERS,onClick:n}))},R=n(1331),O=n(83995),M=function(){return r.createElement("div",null,r.createElement(R.A,{withoutHeader:!0,withoutShadow:!0}
1,r.createElement(O.D,{type:"h5"},"ÐÐ»Ð°Ð²Ð½Ð°Ñ ÑекÑÐ¸Ñ (в ÑазÑабоÑке)")))},k=u.Ay.div.withConfig({componentId:"sc-8bw4yy-0"})(["display:flex;gap:20px;"]),D=n(79028),U=n(27254),P=n(42689),z=n.n(P),B=n(59603),F=(0,u.Ay)(R.A).withConfig({componentId:"sc-1l66m9c-0"})(["display:flex;flex-direction:column;gap:32px;border-radius:20px;"]),G=u.Ay.div.withConfig({componentId:"sc-1l66m9c-1"})(["display:flex;flex-direction:row;align-items:flex-start;gap:10px;width:100%;height:16px;background-color:",";border-radius:8px;"],(0,p.hm)("gray",3)),H=u.Ay.div.withConfig({componentId:"sc-1l66m9c-2"})(["height:inherit;width:",";background-color:",";border-radius:8px;"],(function(e){var t=e.percent;return"".concat(t,"%")}),(0,p.hm)("gold",5)),K=function(){var e,t,n,i=(0,l.d4)(m.h.getOne),a=null==i||null===(e=i.partner_contracts)||void 0===e?void 0:e[0],o=null!==(t=null==a?void 0:a.contract_limit_remainder)&&void 0!==t?t:0,c=Math.round(100*(o<0?0:o)/(null!==(n=null==a?void 0:a.contract_limit)&&void 0!==n?n:1));return r.createElement(F,{withoutHeader:!0,withoutShadow:!0},r.createElement(E,{gap:4},r.createElement(E,{direction:"row",gap:10},r.createElement(s,{size:16,index:8},null==a?void 0:a.contract_number),r.createElement(D.g,{type:x.aq.BLACK,title:"ÐокÑменÑÑ"})),r.createElement(s,{size:14},"ÐÐ¾Ð³Ð¾Ð²Ð¾Ñ Ð¾Ñ"," ",(null==a?void 0:a.contract_date)&&z()(null==a?void 0:a.contract_date).format(B.DX))),r.createElement(E,{gap:8},r.createElement(E,null,r.createElement(E,{direction:"row"},r.createElement(s,null,"ÐÑÑаÑок"),r.createElement(s,null,"ÐÐ¸Ð¼Ð¸Ñ Ð¿Ð¾ договоÑÑ")),r.createElement(E,{direction:"row"},r.createElement(s,{size:16},null==a?void 0:a.contract_limit_remainder),r.createElement(s,{size:16},null==a?void 0:a.contract_limit))),r.createElement(G,null,r.createElement(H,{percent:c}))),r.createElement("div",null,r.createElement(U.M,{title:"ÐеÑезаклÑÑиÑÑ Ð´Ð¾Ð³Ð¾Ð²Ð¾Ñ",type:x.aq.WARNING})),r.createElement(s,{size:12},"ÐÑ ÐµÐ¶ÐµÐ¼ÐµÑÑÑно обновлÑем оÑÑаÑок лимиÑа вознагÑаждений по ÑÑÑеннÑм Ñделкам"))},J=(n(24776),n(50792)),j=(0,u.Ay)(R.A).withConfig({componentId:"sc-1vdtybh-0"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:62px 40px;border-radius:20px;text-align:center;"]),q=u.Ay.div.withConfig({componentId:"sc-1vdtybh-1"})(["width:96px;height:96px;border-radius:40px;display:flex;img{width:inherit;height:inherit;border-radius:96px;}"]),$=(0,u.Ay)(L.R).withConfig({componentId:"sc-1vdtybh-2"})(["margin-left:-24px;border-radius:24px;background-color:",";"],(0,p.hm)("white")),Q=function(){var e,t=(0,l.d4)(m.h.getOne),n=null==t||null===(e=t.manager_avatar)||void 0===e?void 0:e.file;return r.createElement(j,{withoutHeader:!0,withoutShadow:!0},r.createElement(s,{index:5},"ÐÐ°Ñ Ð¼ÐµÐ½ÐµÐ´Ð¶ÐµÑ Ð² СбеÑбанке"),n&&r.createElement(q,null,r.createElement("img",{alt:"",src:"".concat((0,J.$_)(!0),"/").concat(n)}),r.createElement($,{name:"logo-sber",size:x.J9.BIG})),r.createElement(E,{gap:4},r.createElement(s,{size:14,index:8},null==t?void 0:t.manager_name)))},V=function(){return r.createElement(k,null,r.createElement(K,null),r.createElement(Q,null))},X=(n(86584),n(43617),n(93991),n(78557),n(90371)),Y=n(99808);function W(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Z=(W(i={},Y.L.VAT_NUMBER,"ÐÐÐ"),W(i,Y.L.INCORPORATION_FORM,"ÐÐФ"),W(i,Y.L.NAME_FULL,"Ðолное наименование"),W(i,Y.L.NAME,"ÐÑаÑкое наименование"),W(i,Y.L.COMMERCIAL_NAME,"ÐоммеÑÑеÑкое обознаÑение"),W(i,Y.L.BIN_NUMBER,"ÐÐÐ Ð"),W(i,Y.L.KPP,"ÐÐÐ"),W(i,Y.L.NALOG_REGISTRATION_DATE,"ÐаÑа поÑÑановки на ÑÑÑÑ"),W(i,Y.L.LEGAL_ADDRESS,"ЮÑидиÑеÑкий адÑеÑ"),W(i,Y.L.POSTAL_ADDRESS,"ÐоÑÑовÑй адÑеÑ"),W(i,Y.L.ACTUAL_ADDRESS,"ФакÑиÑеÑкий адÑеÑ"),W(i,Y.L.CEO_FULL_NAME,"ФÐÐ"),W(i,Y.L.PARTNER_BIRTHDATE,"ÐаÑа ÑождениÑ"),W(i,Y.L.SIGNER_FULL_NAME,"ФÐÐ"),W(i,Y.L.SIGNER_POSITION,"ÐолжноÑÑÑ ÑÑководиÑелÑ"),W(i,Y.L.WORK_BASIS,"ÐейÑÑвÑÐµÑ Ð½Ð° оÑновании"),W(i,Y.L.SIGNER_DESCRIPTION,"Ð Ð
1»Ð¸Ñе"),W(i,Y.L.CONTRACT_FULL_NAME,"ФÐÐ"),W(i,Y.L.PHONE,"ТелеÑон"),W(i,Y.L.PHONE_2,"ТелеÑон-2"),W(i,Y.L.EMAIL,"Email"),W(i,Y.L.EMAIL_2,"Email-2"),W(i,Y.L.TAXATION_FORM,"ФоÑма налогообложениÑ"),W(i,Y.L.BIK,"ÐÐÐ"),W(i,Y.L.CHECKING_ACCOUNT,"РаÑÑÑÑнÑй ÑÑÑÑ"),W(i,Y.L.KBK,"ÐÐÐ"),W(i,Y.L.OKTMO,"ÐÐТÐÐ"),W(i,Y.L.PAYMENT_ACCOUNT,"ÐиÑевой ÑÑеÑ"),W(i,Y.L.NAME_FOR_PAYMENT,"ÐолÑÑаÑÐµÐ»Ñ Ð¿Ð»Ð°Ñежа"),W(i,"pf29","ÐÑновной ÐÐÐÐÐ"),W(i,"pf30","ФакÑиÑеÑÐºÐ°Ñ Ð´ÐµÑÑелÑноÑÑÑ"),i),ee=[Y.L.VAT_NUMBER,Y.L.INCORPORATION_FORM,Y.L.NAME_FULL,Y.L.NAME,Y.L.COMMERCIAL_NAME,Y.L.BIN_NUMBER,Y.L.KPP,Y.L.NALOG_REGISTRATION_DATE,Y.L.LEGAL_ADDRESS,Y.L.POSTAL_ADDRESS,Y.L.ACTUAL_ADDRESS],te=[Y.L.CEO_FULL_NAME,Y.L.PARTNER_BIRTHDATE],ne=[Y.L.SIGNER_FULL_NAME,Y.L.SIGNER_POSITION,Y.L.WORK_BASIS,Y.L.SIGNER_DESCRIPTION],ie=[Y.L.CONTRACT_FULL_NAME,Y.L.PHONE,Y.L.EMAIL,Y.L.PHONE_2,Y.L.EMAIL_2],re=[Y.L.TAXATION_FORM,Y.L.BIK,Y.L.CHECKING_ACCOUNT,Y.L.KBK,Y.L.OKTMO,Y.L.PAYMENT_ACCOUNT,Y.L.NAME_FOR_PAYMENT],le=n(65678),ae=n(95964),oe=function(e){var t=e.label,n=e.value;return r.createElement(le.Y,{isString:!0,label:t},r.createElement(ae.Ly,null,n))},ce=(n(94),function(e,t,n){return"".concat(null!=e?e:""," ").concat(null!=t?t:""," ").concat(null!=n?n:"")}),de=(0,u.Ay)(R.A).withConfig({componentId:"sc-1i75so5-0"})(["display:flex;flex-direction:column;gap:40px;border-radius:12px;"]),me=function(){var e=(0,l.d4)(m.h.getOne);return r.createElement(de,{withoutHeader:!0,withoutShadow:!0},r.createElement(X.M,{id:"part_general",titleSize:x.J9.BIG,titleText:"ÐбÑие ÑведениÑ",noExpand:!0,buttonsBlock:r.createElement(U.M,{title:"ÐапÑÐ¾Ñ Ð½Ð° изменение",size:x.J9.SMALL,outline:!0})},r.createElement(_.T,{top:40},ee.map((function(t){var n,i=null==e?void 0:e[t];return t===Y.L.INCORPORATION_FORM&&(i=null==e||null===(n=e[t])||void 0===n?void 0:n.name),t===Y.L.NALOG_REGISTRATION_DATE&&(i=z()(i).format(B.DX)),r.createElement("div",{key:t},r.createElement(oe,{label:Z[t],value:i}))})))),r.createElement(X.M,{id:"part_general_manager",titleText:"Ð ÑководиÑÐµÐ»Ñ Ð¾ÑганизаÑии",noExpand:!0},r.createElement(_.T,{top:24},te.map((function(t){var n=null==e?void 0:e[t];return t===Y.L.PARTNER_BIRTHDATE&&(n=n&&z()(n).format(B.DX)),t===Y.L.CEO_FULL_NAME&&(n=ce(null==e?void 0:e.ceo_last_name,null==e?void 0:e.ceo_first_name,null==e?void 0:e.ceo_middle_name)),r.createElement("div",{key:t},r.createElement(oe,{label:Z[t],value:n}))})))),r.createElement(X.M,{id:"part_general_signer",description:"Ð¡Ð²ÐµÐ´ÐµÐ½Ð¸Ñ Ð¾ лиÑе, имеÑÑего полномоÑÐ¸Ñ Ð½Ð° подпиÑание докÑменÑов",titleText:"ÐодпиÑанÑ",noExpand:!0},r.createElement(_.T,{top:24},ne.map((function(t){var n=null==e?void 0:e[t];return t===Y.L.SIGNER_FULL_NAME&&(n=ce(null==e?void 0:e.signer_last_name,null==e?void 0:e.signer_first_name,null==e?void 0:e.signer_middle_name)),r.createElement("div",{key:t},r.createElement(oe,{label:Z[t],value:n}))})))),r.createElement(X.M,{id:"part_general_contact",description:"УÑÑÑÐ½Ð°Ñ Ð·Ð°Ð¿Ð¸ÑÑ Ð´Ð»Ñ ÑпÑÐ°Ð²Ð»ÐµÐ½Ð¸Ñ Ð»Ð¸ÑнÑм кабинеÑом полÑзоваÑÐµÐ»Ñ Ð¸ взаимодейÑÑÐ²Ð¸Ñ Ð¿Ð¾ договоÑÑ",titleText:"ÐонÑакÑное лиÑо",noExpand:!0},r.createElement(_.T,{top:24},ie.map((function(t){var n=null==e?void 0:e[t];return t===Y.L.CONTRACT_FULL_NAME&&(n=ce(null==e?void 0:e.contact_person_last_name,null==e?void 0:e.contact_person_first_name,null==e?void 0:e.contact_person_middle_name)),r.createElement("div",{key:t},r.createElement(oe,{label:Z[t],value:n}))})))))},ue=(0,u.Ay)(R.A).withConfig({componentId:"sc-xhtq34-0"})(["display:flex;flex-direction:column;border-radius:12px;"]),pe=function(){var e=(0,l.d4)(m.h.getOne);return r.createElement(ue,{withoutHeader:!0,withoutShadow:!0},r.createElement(X.M,{id:"part_bank",titleSize:x.J9.BIG,titleText:"ÐанковÑкие ÑеквизиÑÑ",noExpand:!0,buttonsBlock:r.createElement(U.M,{title:"ÐзмениÑÑ",size:x.J9.SMALL,outline:!0})},r.createElement(_.T,{top:40},re.map((function(t){return r.createElement("div",{key:t},r.createElement(oe,{label:Z[t],value:null==e?void 0:e[t]}))}
1)))))},Ee=u.Ay.div.withConfig({componentId:"sc-19l0r45-0"})(["display:flex;flex-direction:column;gap:20px;"]),se=function(){return r.createElement(Ee,null,r.createElement(V,null),r.createElement(me,null),r.createElement(pe,null))},he=(n(14382),n(81975),n(29305),n(32733),[{doc_type:"partner_documents/contract",translate:"ÐоговоÑ",archived:!1},{doc_type:"partner_documents/processed_offer_letter",translate:"СоглаÑие на пÑиÑÐ¾ÐµÐ´Ð¸Ð½ÐµÐ½Ð¸Ñ Ðº оÑÑеÑÑе",archived:!1,is_offer:!0},{doc_type:"partner_documents/additional_agreement",translate:"ÐополниÑелÑнÑе ÑоглаÑениÑ",archived:!1},{doc_type:"archive",translate:"ÐÑÑ Ð¸Ð²",archived:!0}]),fe=n(70537),ve=n(99699),ge=u.Ay.div.withConfig({componentId:"sc-1iuwvj6-0"})(["display:flex;flex-direction:column;gap:",";"],(function(e){var t=e.gap;return"".concat(void 0===t?40:t,"px")})),Ae={getDocuments:d.$.actions.getAllDocument,clearDocuments:d.$.actions.clearAllDocument},_e=function(){var e=(0,l.d4)(A.o.getUserPartnerIdSelector),t=(0,v.j)(Ae),n=t.getDocuments,i=t.clearDocuments;(0,g.S)((function(){return n(e),function(){return i()}}));var a=(0,l.d4)(m.h.getDocuments);return r.createElement("div",null,r.createElement(R.A,{withoutHeader:!0,withoutShadow:!0},r.createElement(ge,null,r.createElement(X.M,{id:"main_title",titleSize:x.J9.BIG,titleText:"ÐокÑменÑÑ",noExpand:!0},r.createElement("div",null,"ÐдеÑÑ Ð½Ð°Ñ Ð¾Ð´ÑÑÑÑ Ð²Ñе ваÑи докÑменÑÑ Ð¿Ð¾ взаимодейÑÑÐ²Ð¸Ñ Ð² ÐаÑÑнÑÑÑкой пÑогÑамме")),he.map((function(e){var t=a.filter((function(t){return e.archived?t.archived:t.doc_type===e.doc_type&&!t.archived}));return t.length>0?r.createElement(X.M,{id:e.doc_type,titleSize:x.J9.NORMAL,titleText:e.translate,noExpand:!0},r.createElement(_.T,{top:24},(null==e?void 0:e.is_offer)&&r.createElement(_.T,{bottom:24},r.createElement(U.M,{title:"ÐкÑÑÑÑÑ Ð°ÐºÑÑалÑнÑÑ Ð¾ÑÑеÑÑÑ",outline:!0,href:"https://partners.dasreda.ru/knowledge/conditions/public-offer",iconAction:"link-out"})),r.createElement(ge,{gap:8},t.map((function(e){return r.createElement("div",{key:e.name,id:e.name},r.createElement(fe._,{fieldName:e.name,initialValue:[e],hideDropzone:!0,renderFilePreview:function(e){return r.createElement(ve.Z,{file:e.file,status:e.status,description:e.description,showFilePreview:e.showFilePreview})}}))}))))):null})))))},Le=function(){return r.createElement("div",null,r.createElement(R.A,{withoutHeader:!0,withoutShadow:!0},r.createElement(O.D,{type:"h5"},"ÐапÑоÑÑ ÑекÑÐ¸Ñ (в ÑазÑабоÑке)")))},xe=function(){return r.createElement("div",null,r.createElement(R.A,{withoutHeader:!0,withoutShadow:!0},r.createElement(O.D,{type:"h5"},"ЮзеÑÑ ÑекÑÐ¸Ñ (в ÑазÑабоÑке)")))},we={getOne:d.$.actions.getOne,clearAll:d.$.actions.clearAll};const Ie=function(){var e=(0,v.j)(we),t=e.getOne,n=e.clearAll,i=(0,l.d4)(m.h.getSection),d=(0,l.d4)(A.o.getUserPartnerIdSelector);return(0,g.S)((function(){return t(d),function(){return n()}})),r.createElement("div",null,r.createElement(a.F,null),r.createElement(h,null,r.createElement(o.U,null,i===f.b.MAIN&&r.createElement(M,null),i===f.b.REQUISITES&&r.createElement(se,null),i===f.b.DOCUMENTS&&r.createElement(_e,null),i===f.b.REQUESTS&&r.createElement(Le,null),i===f.b.USERS&&r.createElement(xe,null)),r.createElement(c.nC,null,r.createElement(T,null))))}}}]); 2//# sourceMappingURL=chunk.8689620b48a52580346f.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.