PageSourceSearch

https://selfpub.ru/_next/static/chunks/pages/statistics/info-07a521b46f4703b4.js

js selfpub.ru collected 2026-09-25 20:11:44 UTC 30,988 bytes, 2 lines download raw bytes

1try{let 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]="171a99ac-e074-4313-a54c-05b1c060a666",e._sentryDebugIdIdentifier="sentry-dbid-171a99ac-e074-4313-a54c-05b1c060a666")}catch(e){}try{let 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]="171a99ac-e074-4313-a54c-05b1c060a666",e._sentryDebugIdIdentifier="sentry-dbid-171a99ac-e074-4313-a54c-05b1c060a666")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3246],{32385:function(e,t,n){"use strict";n.d(t,{k:function(){return d}});var r=n(59499),a=n(94184),i=n.n(a),s=n(67294),o=n(46445),l=n.n(o),c=n(69334),u=n(85893),d=function(e){var t,n,a=e.view,o=e.titleTooltip,d=e.infoTooltip,p=e.tooltipColor,f=e.className,m=e.size,_=e.dataTestId,x=(0,s.useState)(!1),y=x[0],h=x[1],b=(0,s.useState)(!1),v=b[0],g=b[1],j=(0,u.jsx)("span",{children:d});return(0,u.jsx)("div",{className:i()("g-col-12",f),children:(0,u.jsx)(c.u,{content:j,title:o,background:p,size:m,children:(0,u.jsx)("span",{onMouseEnter:function(){return h(!0)},onMouseLeave:function(){return h(!1)},onMouseDown:function(){return g(!0)},onMouseUp:function(){return g(!1)},"data-testid":null!=_?_:"element-hover",children:"accent"===(void 0===a?"accent":a)?(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18",width:"16",height:"16",className:l().svgIcon,children:(0,u.jsx)("path",{fill:"#FF4C00",fillRule:"evenodd",d:"M1 9c0-4.416 3.584-8 8-8s8 3.584 8 8-3.584 8-8 8-8-3.584-8-8Zm10.456-.6-.72.736c-.4.408-.688.776-.832 1.352a3.67 3.67 0 0 0-.104.912H8.2V11a3.198 3.198 0 0 1 .936-2.264l.992-1.008c.368-.352.544-.88.44-1.44a1.593 1.593 0 0 0-1.112-1.224A1.613 1.613 0 0 0 7.48 6.08c-.096.296-.344.52-.656.52h-.24a.693.693 0 0 1-.656-.896A3.206 3.206 0 0 1 8.512 3.44c1.216-.192 2.376.44 3.096 1.44.944 1.304.664 2.704-.152 3.52ZM9.8 13v1.6H8.2V13h1.6Z",clipRule:"evenodd",className:i()((t={},(0,r.Z)(t,l().accent,y),(0,r.Z)(t,l().isClickedAccent,v),t))})}):(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18",width:"16",height:"16",className:l().svgIcon,children:(0,u.jsx)("path",{fill:"#9D9C9F",fillRule:"evenodd",d:"M1 9c0-4.416 3.584-8 8-8s8 3.584 8 8-3.584 8-8 8-8-3.584-8-8Zm1.6 0c0 3.528 2.872 6.4 6.4 6.4 3.528 0 6.4-2.872 6.4-6.4 0-3.528-2.872-6.4-6.4-6.4A6.408 6.408 0 0 0 2.6 9Zm7.2 3.2v1.6H8.2v-1.6h1.6ZM5.944 6.464a3.202 3.202 0 0 1 3.544-2.232c1.392.208 2.488 1.384 2.68 2.776.183 1.29-.531 1.914-1.22 2.515-.127.
111-.253.22-.372.333a2.811 2.811 0 0 0-.264.272l-.012.016-.012.016c-.08.096-.16.2-.224.312-.008.012-.014.024-.02.036a1.7 1.7 0 0 0-.244.892H8.2c0-.4.064-.728.16-1 .004-.01.005-.02.007-.028.003-.01.005-.019.009-.028a.16.16 0 0 1 .016-.032.16.16 0 0 0 .016-.032 2.665 2.665 0 0 1 .224-.44c0-.004.002-.006.004-.008s.004-.004.004-.008c.272-.41.638-.691.98-.954.49-.378.933-.718.98-1.35.064-.776-.496-1.52-1.256-1.68a1.602 1.602 0 0 0-1.84 1.024c-.112.304-.376.536-.704.536h-.16a.725.725 0 0 1-.696-.936Z",clipRule:"evenodd",className:i()((n={},(0,r.Z)(n,l().default,y),(0,r.Z)(n,l().isClickedDefault,v),n))})})})})})}},66709:function(e,t,n){"use strict";n.d(t,{E:function(){return m}});var r=n(59499),a=n(94184),i=n.n(a),s=n(32385),o=n(61092),l=n.n(o),c=n(89637),u=n(85893);function d(e){var t,n,a=e.labelText,o=e.name,d=e.onChange,p=e.checked,f=e.value,m=e.className,_=e.sizeTooltip,x=e.titleTooltip,y=e.tooltipInfo,h=e.viewInfo,b=e.content,v=e.innerContent,g=e.isNotBlock,j=e.isLocked,T=e.isFlex,I=e.mode,w=e.isWrapper,N=e.dataTestId,R="radio_".concat(void 0===o?0:o);return(0,u.jsxs)("label",{htmlFor:R,className:i()(l().label,m,(t={},(0,r.Z)(t,l().notActive,!p),(0,r.Z)(t,l().isNotBlock,g),(0,r.Z)(t,l().group,"group"===I),(0,r.Z)(t,l().wrapper,w),(0,r.Z)(t,l().disableWrapper,w&&j),(0,r.Z)(t,l().activeWrapper,w&&p),(0,r.Z)(t,l().disableActiveWrapper,w&&p&&j),t)),children:[(0,u.jsxs)("div",{className:i()(l().itemRadio,(0,r.Z)({},l().itemRadioBlock,!(void 0===T||T))),"data-testid":N||R,children:[(0,u.jsx)("input",{className:i()("visually-hidden",l().input,(0,r.Z)({},l().activeDisableInput,j&&p)),type:"radio",id:R,onChange:function(){d(f)},checked:p,disabled:j}),(0,u.jsxs)("div",{className:i()(l().textWrapper,(n={},(0,r.Z)(n,l().disableInput,j),(0,r.Z)(n,l().isWrapper,w),n)),children:[w?(0,u.jsx)(c.mj,{className:i()((0,r.Z)({},l().disableText,j)),children:a}):a,v&&(0,u.jsx)(c.OE,{className:i()(l().innerContent,(0,r.Z)({},l().disableText,j)),children:v})]}),p&&b&&(0,u.jsx)("div",{className:l().content,children:b})]}),y&&(0,u.jsx)(s.k,{className:l().infoTooltip,titleTooltip:x,infoTooltip:y,view:h,size:_})]})}var p=n(23460),f=n.n(p);function m(e){var t=e.items,n=e.onChange,a=e.className,s=e.groupClassName,o=e.isNotBlock,l=e.value,c=e.isLocked,p=e.isFlexGroup,m=e.mode,_=e.isWrapper,x=t.map(function(e){var t=e.value,r=e.label,i=e.sizeTooltip,s=e.titleTooltip,p=e.tooltipInfo,f=e.viewInfo,x=e.content,y=e.innerContent,h=e.disabled,b=e.isFlex,v=e.dataTestId;return(0,u.jsx)(d,{name:t,labelText:r,checked:t===l,onChange:n,value:t,className:a,titleTooltip:s,tooltipInfo:p,viewInfo:f,innerContent:y,sizeTooltip:i,content:x,isNotBlock:o,isLocked:c||h,isFlex:b,mode:m,isWrapper:_,dataTestId:v},t)});return(0,u.jsx)("div",{className:i()(s,(0,r.Z)({},f().flex,p)),children:x})}},69334:function(e,t,n){"use strict";n.d(t,{u:function(){return m}});var r,a=n(59499),i=n(68067),s=n(50184),o={small:95,middle:210,full:248},l=((r={}).small="small",r.middle="middle",r.full="full",r),c=n(17490),u=n.n(c),d=n(85893);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach(function(t){(0,a.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var m=function(e){var t=e.content,n=e.title,r=e.direction,a=e.children,c=e.background,p=void 0===c?"dark":c,m=e.size,_=void 0===m?l.full:m,x=e.textLink,y=e.dataTestId,h=e.borderRadius,b=e.moveTooltipLeft,v=e.moveTooltipRight,g=e.moveArrowLeft,j=e.moveArrowRight,T=e.zIndex,I=(0,d.jsxs)("span",{children:[n&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:u().title,children:n}),(0,d.jsx)("br",{})]}),x?(0,d.jsx)(s.a,{className:u().link,href:x,target:"_blank",dataTestId:"tooltip__link",children:t}):t]});return(0,d.jsx)(i.Z,{title:I,placement:void 0===r?"top":r,arrow:!0,enterTouchDelay:0,leaveTouchDelay:5e4,PopperProps:{modifiers:[{name:"flip",enabled:!0,options:{boundary:"viewport",fallbackPlacements:["bottom","top"]}},{name:"preventOverflow",enabled:!0,options:{boundary:"viewport",rootBoundary:"viewport",padding:12,tether:!0}}],style:{zIndex:T}},slotProps:{tooltip:{"data-testid":void 0===y?"tooltip":y,sx:f(f(f({bgcolor:"dark"===p?"var(--palettes-gray-190)":"var(--text-secondary)",color:"dark"===p?"var(--text-secondary)":"var(--palettes-gray-190)",minWidth:"41px",maxWidth:{xs:"calc(100vw - 24px)",sm:o[_]},boxSizing:"border-box",overflowWrap:"anywhere",wordBreak:"break-word",minHeight:"34px",padding:"8px",fontSize:"14px",fontWeight:400,lineHeight:"18px",letterSpacing:"0.25px",marginBottom:"7px !important"},void 0!==h&&{borderRadius:"".concat(h,"px")}),void 0!==b&&{ml:"".concat(b,"px")}),void 0!==v&&{mr:"".concat(v,"px")})},arrow:{sx:f(f({color:"dark"===p?"var(--palettes-gray-190)":"var(--text-secondary)"},void 0!==g&&{ml:"".concat(g,"px")}),void 0!==j&&{mr:"".concat(j,"px")})}},children:(0,d.jsx)("span",{children:a})})}},66482:function(e,t,n){"use strict";n.d(t,{W:function(){return a}});var r,a=((r={}).completed="COMPLETED",r.pending="PENDING",r.failed="FAILED",r.new="NEW",r.rejected="REJECTED",r.approved="APPROVED",r.paid="PAID",r)},7519:function(e,t,n){"use strict";n.d(t,{DB:function(){return I},Kl:function(){return g},PH:function(){return _},UJ:function(){return f},bK:function(){return j},c_:function(){return y},mp:function(){return v},nd:function(){return T},qJ:function(){return m},x0:function(){return h},xS:function(){return x}});var r=n(3490),a=n(50184),i=n(38739),s=n(89637),o=n(17919),l=n(37756),c=n.n(l),u=n(85893),d=(0,u.jsx)("span",{children:(0,u.jsx)(s.T,{children:"Данные прошли проверку"})}),p=(0,u.jsxs)("span",{children:[(0,u.jsx)(s.T,{children:"Мы все еще проверяем ваши данные. Если у вас возникли вопросы, напишите на"})," ",(0,u.jsx)(a.a,{href:"mailto:[email protected]",dataTestId:"paymentTypeResidents__supportsLink",children:"[email protected]"})]}),f=(0,u.jsx)("span",{children:(0,u.jsx)(s.T,{children:"ИНН прошел проверку"})}),m=(0,u.jsxs)("span",{children:[(0,u.jsx)(s.T,{children:"Если у вас поменялись док
1ументы, напишите на"})," ",(0,u.jsx)(a.a,{href:"mailto:[email protected]",dataTestId:"paymentTypeResidents__supportsLink",children:"[email protected]"})]}),_=[{value:o.x.selfEmployed,label:"для самозанятых"},{value:o.x.individualEntrepreneur,label:"для индивидуальных предпринимателей"},{value:o.x.naturalPerson,label:"для физических лиц"}],x=[{value:o.j.claimForm,label:"по реквизитам"}],y=[{status:"naturalPersonIsAvailable",alertType:i.o.success,textInformation:d},{status:"naturalPersonIsPending",alertType:i.o.info,textInformation:p}],h=[{status:"naturalPersonIsAvailable",isDisabled:!1,buttonText:"Вывести средства",buttonHref:r.x.statistics.verification},{status:"naturalPersonIsPending",isDisabled:!0,buttonText:"Оформить выплату",buttonHref:void 0},{status:"unknownStatus",isDisabled:!1,buttonText:"Оформить выплату",buttonHref:r.x.statistics.naturalPerson}],b={unknownUser:{text:(0,u.jsx)("span",{children:"Чтобы вы могли выводить средства и каждый раз не формировать самостоятельно чеки, вам необходимо разово выдать разрешение ЮMoney."})},AwaitingConfirmation:{text:(0,u.jsx)("span",{children:"Чтобы вы могли выводить средства и каждый раз не формировать самостоятельно чеки, вам необходимо разово выдать разрешение ЮMoney:"}),detail:(0,u.jsxs)("ul",{children:[(0,u.jsx)("li",{className:c().alertYooTable,children:"Оформите разршение ЮMoney в форме Юkassa;"}),(0,u.jsxs)("li",{children:["В кабинете налогоплательщика сервиса \xabМой налог\xbb перейдите в \xabНастройки\xbb, далее — в \xabПартнеры\xbb. Затем выберите запрос от ЮMoney и нажмите \xabПодтвердить\xbb."," "]})]})}},v={null:" Что-то пошло не так",AwaitingConfirmation:"ДÐ
1»Ñ подтверждения заполните форму повторно",notResponding:"Произошла ошибка. Попробуйте еще раз",unregistered:(0,u.jsxs)("span",{children:["Произошла ошибка. Попробуйте еще раз или свяжитесь с нами"," ",(0,u.jsx)(a.a,{href:"mailto:[email protected]",dataTestId:"paymentTypeResidents__supportLink",children:"[email protected]"})," "]}),internalError:(0,u.jsxs)("span",{children:["Произошла ошибка. Попробуйте еще раз или свяжитесь с нами"," ",(0,u.jsx)(a.a,{href:"mailto:[email protected]",dataTestId:"paymentTypeResidents__supportLink",children:"[email protected]"})," "]})},g={null:{text:b.unknownUser.text},AwaitingConfirmation:{text:b.AwaitingConfirmation.text,detail:b.AwaitingConfirmation.detail},notResponding:{text:b.AwaitingConfirmation.text,detail:b.AwaitingConfirmation.detail},internalError:{text:b.AwaitingConfirmation.text,detail:b.AwaitingConfirmation.detail},unregistered:{text:b.AwaitingConfirmation.text,detail:b.AwaitingConfirmation.detail}},j=1149,T=1e3,I=5e3},17919:function(e,t,n){"use strict";n.d(t,{j:function(){return i},x:function(){return s}});var r,a,i=((r={}).paymentSystem="paymentSystem",r.claimForm="claimForm",r),s=((a={}).selfEmployed="selfEmployed",a.individualEntrepreneur="individualEntrepreneur",a.naturalPerson="naturalPerson",a)},66631:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return Q},default:function(){return $}});var r,a=n(59499),i=n(50029),s=n(64687),o=n.n(s),l=n(39424),c=((r={}).awaitingConfirmation="AwaitingConfirmation",r.confirmed="Confirmed",r.unregistered="unregistered",r.notResponding="notResponding",r.internalError="internalError",r.available="Available",r),u=n(17502),d=n(66482),p=n(42119),f=n(4920),m=n(35407),_=n(89637),x=n(74905),y=n.n(x),h=n(85893),b=function(){return(0,h.jsxs)("div",{className:y().wrapper,children:[(0,h.jsx)(_.H3,{children:"Регистрация чеков"}),(0,h.jsx)(_.K0,{children:"Чтобы вы могли выводить средства и каждый раз не формировать самостоятельно чеки, вам необходимо разово выдать разрешение нашему партнеру \xabБиржа Аутсорсинга\xbb. Вам было отправлено приглашение в приложение \xabМой налог\xbb. Как принять приглашение:"}),(0,h.jsxs)("ul",{children:[(0,h.jsx)("li",{children:"В кабинете налогоплательщика сервиса \xabМой налог\xbb перейдите в \xabНастройки\xbb, далее — в \xabПартнеры\xbb."}),(0,h.jsx)("li",{children:"Затем выберите запрос от \xabБиржи Аутсорсинга\xbb и нажмите \xabПодтвердить\xbb. Далее вы сможете получить роялти."})]}),(0,h.jsx)(m.z,{href:f.Z.nalogRuPersonalAccount,target:"_blank",dataTestId:"alertMandarin__button",children:"Перейти в Мой налог"})]})},v=n(7519),g=n(38739),j=n(11752),T=n.n(j),I=function(){var e=T()().publicRuntimeConfig.host;return e.endsWith("/")||(e="".concat(e,"/")),e.startsWith("http")||(e="https://".concat(e)),e},w=n(11256),N=n.n(w),R=function(e){var t=e.yooStatus,n=v.Kl[t||"null"],r=v.mp[t||"null"],a=I(),i="https://yookassa.ru/self-employed-boarding?agentId=205639&success_url=".concat(a,"statistics/info/&fail_url=").concat(a,"statistics/info/");return(0,h.jsxs)("div",{className:N().alertYookassaWrapper,children:[(0,h.jsx)(_.H3,{className:N().alertYooHeader,children:(0,h.jsx)(_.T,{children:"Регистрация чеков"})}),(0,h.jsx)(_.K0,{className:N().alertYooBodyText,children:n.text}),t&&(0,h.jsxs)(h.Fragment,{children:[n.detail,(0,h.jsx)(g.b,{className:N().alertYooAlert,type:g.o.error,textInformation:r})]}),(0,h.jsx)(m.z,{href:i,dataTestId:"alertYookassaValidate__fillButton",children:"Заполнить форму"})]})},k=n(17919),E=n(67294),P=n(14416),A=n(16310),D=n(3490),O=n(50184),C=n(62754),S=n(66709),W=n(84917),Z=n(34882),B=n(36613),L=n(78016),F=n(76447),M=n(42221),Y=n(5785),H=function(e){return new Intl.NumberFormat("ru-RU",{style:"currency",currency:"RUB"}).format(e)},U=n(37756),V=n.n(U);function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?z(Object(n),!0).forEach(function(t){(0,a.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var K="Должно быть 12 цифр",q=A.Ry().shape({INN:A.Z_().min(12,K).max(12,K).required("Введите ИНН")}),X=function(){var e,t,n,r=(0,P.v9)(W.e3),a=(0,P.v9)(B.eX),s=(0,P.v9)(Z.VG),f=a.user_status,x=a.status_check,y=a.inn,j=a.available_royalty,T=a.yookassa_status,I=a.mandarin_status,w=a.mandarin_error_message,N=a.resident_country,A=r.errors,U=null===(n=s[0])||void 0===n?void 0:n.status,z=(0,E.useState)(""),K=z[0],X=z[1],J=(0,E.useState)({}),Q=J[0],$=J[1],ee=(0,E.useState)(k.x.naturalPerson),et=ee[0],en=ee[1],er=(0,E.useState)(k.j.claimForm),ea=er[0],ei=er[1],es=(0,E.useState)("unknownStatus"),eo=es[0],el=es[1],ec=(0,E.useState)(""),eu=ec[0],ed=ec[1],ep=(0,E.useState)(A.length?A[0].messages[0]:""),ef=ep[0],em=ep[1],e_=(0,P.I0)(),ex="selfEmployed"===eo&&"Confirmed"!==T&&!I,ey="selfEmployed"===eo&&I&&I!==c.confirmed,eh=!("naturalPersonIsAvailable"===eo&&Number(j)>=v.nd)&&Number(j)<v.bK,eb=N!==u.l&&Number(j)<v.DB,ev=U===d.W.pending||eb,eg="individualEntrepreneur"===eo||"selfEmployed"===eo;function ej(){return(ej=(0,i.Z)(o().mark(function e(){var t,n,r,a,i,s,c;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return ed(""),t=new Date().toISOString().substring(0,10),e.prev=2,e.next=5,(0,Y.h)("https://statusnpd.nalog.ru/api/v1/tracker/taxpayer_status",{method:"POST",credentials:"include",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({inn:K,requestDate:t})}).then(function(e){return e.json()});case 5:return n=e.sent,r="checkUpdateInn",a=n.message==="".concat(K," является плательщиком налога на профессиональный доход"),e.next=10,(0,M.B)({apiPointName:r,body:{inn:K,is_self_employed:a}});case 10:if(s=(i=e.sent).result,c=i.errors,!(a||"INDIVIDUAL_ENTREPRENEUR"===s.tax_status)){e.next=18;break}return e.next=16,e_((0,F.i)());case 16:e.next=19;break;case 18:c.length>0&&(ed(c[0].messages),l.Tb(Error("Error from INN check"),{extra:{error:c[0]}}));case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(2),l.Tb(Error("Error from request to nalog.ru"),{extra:{error:e.t0}});case 24:case"end":return e.stop()}},e,null,[[2,21]])}))).apply(this,arguments)}(0,E.useEffect)(function(){var e="NATURAL_PERSON"===f&&("NEW"===x||"NOT_AVAILABLE"===x||"REQUESTED"===x||"UPDATED"===x)?"naturalPersonIsPending":"NATURAL_PERSON"===f&&"AVAILABLE"===x?"naturalPersonIsAvailable":"SELF_EMPLOYED"===f?"selfEmployed":"INDIVIDUAL_ENTREPRENEUR"===f?"individualEntrepreneur":"unknownStatus";el(e),"naturalPersonIsPending"===e||"naturalPersonIsAvailable"===e?en(k.x.naturalPerson):("individualEntrepreneur"===e||"selfEmployed"===e)&&(en("individualEntrepreneur"===e?k.x.individualEntrepreneur:k.x.selfEmployed),null!==y&&X(y))},[f,x,y]);var eT=(0,p.V)({INN:K},q),eI=eT.validationErrors,ew=eT.debouncedValidate,eN=G(G({},Q),eI),eR=(e=(0,i.Z)(o().mark(function e(){return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,e_((0,L.t)());case 2:A.length&&em(A[0].messages[0]);case 3:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)}),ek=(t=(0,i.Z)(o().mark(function e(){return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,e_((0,F.i)());case 2:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)});(0,E.useEffect)(function(){"selfEmployed"!==eo||I!==c.available||w||ef||eR()},[w,ef,I,eo]),(0,E.useEffect)(function(){if(I!==c.confirmed&&!w&&!ef){var e=setInterval(function(){ek()},5e3);return function(){clearInterval(e)}}},[I,ef,w]);var eE=!eg||ex||ey||ev,eP=eh||ev;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(_.H1,{className:V().h1,children:(0,h.jsx)(_.T,{children:"Вывод средств"})}),(0,h.jsx)("div",{className:V().radioGroup,children:(0,h.jsx)(S.E,{items:v.PH,onChange:function(e){"naturalPersonIsPending"===eo||"naturalPersonIsAvailable"===eo||eg||en(e)},value:et})}),et===k.x.naturalPerson&&(0,h.jsxs)("div",{className:V().block,children:[(0,h.jsxs)(_.K0,{className:V().explanatoryAlert,children:["ООО \xabЛитрес\xbb, как налоговый агент, обязан подавать по начисленному вознаграждению отчетность в ФНС и фонды РФ (в том числе в ПФР). Исчисление НДФЛ происходит после каждого начисления, а перечисление в бюджет РФ — на следующий день после вывода роялти.",(0,h.jsxs)(O.a,{href:"https://selfpub.ru/faq/statistics/#money",dataTestId:"paymentTypeResidents__statisticsLink",children:[" ","Подробнее"]})]}),v.c_.map(function(e){var t=e.alertType,n=e.status,r=e.textInformation;if(n===eo)return(0,h.jsx)(g.b,{type:t,textInformation:r,className:V().alert},n)}),(0,h.jsxs)("div",{className:V().amountWrapper,children:[(0,h.jsx)(_.H3,{className:V().h3,children:(0,h.jsx)(_.T,{children:"Доступно к выплате:\xa0"})}),(0,h.jsxs)(_.H2,{className:V().amount,children:[j,"\xa0₽"]})]}),(0,h.jsx)(_.iO,{className:V().subTitle,children:"naturalPersonIsAvailable"===eo?(0,h.jsx)(_.T,{children:"С учетом вычета 13% НДФЛ"}):(0,h.jsx)(_.T,{children:"Без вычета 13% НДФЛ"})}),v.x0.map(function(e){var t=e.status,n=e.buttonText,r=e.buttonHref,a=e.isDisabled;if(t===eo)return(0,h.jsx)(m.z,{className:V().button,disabled:eP||a,href:r,dataTestId:"paymentTypeResidents__button",children:n},t)}),eh&&!eb&&(0,h.jsx)(g.b,{className:V().alertError,type:g.o.error,textInformation:"ДÐ
1»Ñ оформления выплаты как физическому лицу минимальная доступная сумма до вычета НДФЛ должна быть не меньше ".concat(H(v.bK))}),eb&&(0,h.jsx)(g.b,{className:V().alertError,type:g.o.error,textInformation:"Для оформления выплаты как физическому лицу минимальная доступная сумма до вычета НДФЛ должна быть не меньше ".concat(H(v.DB))})]}),(et===k.x.selfEmployed||et===k.x.individualEntrepreneur)&&(0,h.jsxs)("div",{className:V().block,children:[eg?(0,h.jsx)(g.b,{type:g.o.info,textInformation:v.qJ,className:V().alert}):(0,h.jsx)("div",{}),(0,h.jsxs)(_.K0,{className:V().bodyText,children:[(0,h.jsx)(_.T,{children:"ИП самостоятельно платят налог в зависимости от выбранной системы налогообложения."}),(0,h.jsx)(O.a,{href:"https://www.nalog.gov.ru/rn77/service/mp/",target:"_blank",dataTestId:"paymentTypeResidents__nalogLink",children:"Подробнее"})]}),(0,h.jsxs)(_.K0,{className:V().bodyText,children:[(0,h.jsx)(_.T,{children:"Самозанятые самостоятельно платят налог на профессиональный доход 6%."}),(0,h.jsx)(O.a,{href:"https://npd.nalog.ru/",target:"_blank",dataTestId:"paymentTypeResidents__npdNalogLink",children:"Подробнее"})]}),(0,h.jsxs)("div",{className:V().blockInn,children:[(0,h.jsx)(_.H3,{className:V().h3,children:(0,h.jsx)(_.T,{children:"Ваш ИНН"})}),(0,h.jsxs)("div",{className:V().inn,children:[(0,h.jsx)(C.o,{className:V().inputInn,value:K,labelText:"Введите ИНН",type:"number",onChange:function(e){$({}),X(e=e.slice(0,12))},debouncedValidate:function(){ew("INN")},errorMessage:eN.INN,isDisabled:eg,dataTestId:"paymentTypeResidents__innInput"}),(0,h.jsx)(m.z,{look:"secondary",className:V().buttonInn,disabled:eg,onClick:function(){return ej.apply(this,arguments)},dataTestId:"paymentTypeResidents__checkButton",children:"Проверить"})]})]}),eg&&(0,h.jsx)(g.b,{type:g.o.success,textInformation:v.UJ,className:V().alert}),eu&&(0,h.jsx)(g.b,{type:g.o.error,textInformation:Array.isArray(eu)?eu.join(". "):eu,className:V().alert}),(w||ef)&&(0,h.jsx)(g.b,{type:g.o.error,textInformation:w||ef,className:V().registeredError}),ex&&(0,h.jsx)(R,{yooStatus:T}),ey&&!ef&&!w&&(0,h.jsx)(b,{}),(0,h.jsxs)("div",{className:V().amountWrapper,children:[(0,h.jsx)(_.H3,{className:V().h3,children:(0,h.jsx)(_.T,{children:"Доступно к выплате:\xa0"})}),(0,h.jsxs)(_.H2,{className:V().amount,children:[j,"\xa0₽"]})]}),"individualEntrepreneur"===eo&&(0,h.jsx)("div",{className:V().radioPaymentGroup,children:(0,h.jsx)(S.E,{items:v.xS,onChange:function(e){return ei(e)},value:ea})}),(0,h.jsx)(m.z,{className:V().button,href:"individualEntrepreneur"===eo?D.x.statistics.claimForm:D.x.statistics.verification,disabled:eE,dataTestId:"paymentTypeResidents__getButton",children:"Вывести средства"})]})]})},J=n(63690),Q=!0;function $(){return(0,h.jsx)(J.T,{breadCrumbs:{name:"Вернуться в \xabСтатистику\xbb",link:"/statistics"},children:(0,h.jsx)(X,{})})}},84917:function(e,t,n){"use strict";n.d(t,{TB:function(){return r},e3:function(){return a}});var r=function(e){return e.payments.encryptKey},a=function(e){return e.payments.mandarinRegisterUser}},34882:function(e,t,n){"use strict";n.d(t,{F2:function(){return o},Iw:function(){return x},Nn:function(){return u},QY:function(){return m},TJ:function(){return c},VG:function(){return f},Wq:function(){return l},XA:function(){return d},XO:function(){return p},dJ:function(){return a},i0:function(){return s},k6:function(){return _},kD:function(){return i},mL:function(){return r}});var r=function(e){return e.statistics.royaltyPayout},a=function(e){return e.statistics.isStatisticsForbidden},i=function(e){return e.statistics.royaltyInfo},s=function(e){return e.statistics.royaltyReports},o=function(e){return e.statistics.royaltyDrafts},l=function(e){return e.statistics.royaltyBanner},c=function(e){return e.statistics.readingStatistics},u=function(e){return e.statistics.readingStatisticsSums},d=function(e){return e.statistics.bookRoyaltyStatistics}
1,p=function(e){return e.statistics.audioRoyaltyStatistics},f=function(e){return e.statistics.royaltyPayout},m=function(e){return e.statistics.chartStatistics},_=function(e){return e.statistics.isFetching},x=function(e){return e.statistics.isFetchingSums}},70395:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/statistics/info",function(){return n(66631)}])},46445:function(e){e.exports={accent:"Info_accent__rmsFA",isClickedAccent:"Info_isClickedAccent__I4WtP",default:"Info_default__QuCiZ",isClickedDefault:"Info_isClickedDefault__PywR1",svgIcon:"Info_svgIcon__3AAfU"}},61092:function(e){e.exports={label:"Radio_label__hLyRp",notActive:"Radio_notActive__dK8XO",isNotBlock:"Radio_isNotBlock__r3SWI",itemRadio:"Radio_itemRadio__tMlgB",itemRadioBlock:"Radio_itemRadioBlock__vcvps",wrapper:"Radio_wrapper__NUr0t",textWrapper:"Radio_textWrapper__evuBA",group:"Radio_group___NXIr",isWrapper:"Radio_isWrapper__Nw93a",activeWrapper:"Radio_activeWrapper__FBlnG",disableWrapper:"Radio_disableWrapper__STt3W",disableActiveWrapper:"Radio_disableActiveWrapper__1rvcW",input:"Radio_input__Y3e1e",activeDisableInput:"Radio_activeDisableInput__xhQgu",disableText:"Radio_disableText__cE7hL",disableInput:"Radio_disableInput__5UYnI",infoTooltip:"Radio_infoTooltip__rAGzM",content:"Radio_content__XT2E3",innerContent:"Radio_innerContent__uCrGe"}},23460:function(e){e.exports={flex:"RadioGroup_flex__OPXL4"}},17490:function(e){e.exports={link:"Tooltip_link__rAkgS",title:"Tooltip_title__Z0ec_"}},37756:function(e){e.exports={h1:"PaymentTypeResidents_h1__MUB24",h3:"PaymentTypeResidents_h3__YHZZ8",subTitle:"PaymentTypeResidents_subTitle__hKyvK",radioGroup:"PaymentTypeResidents_radioGroup___VSSj",block:"PaymentTypeResidents_block__WWxqj",explanatoryAlert:"PaymentTypeResidents_explanatoryAlert__xb_Bd",bodyText:"PaymentTypeResidents_bodyText__I2wJP",amountWrapper:"PaymentTypeResidents_amountWrapper__V7Th6",alert:"PaymentTypeResidents_alert__3fIKv",amount:"PaymentTypeResidents_amount__E5avS",button:"PaymentTypeResidents_button__dU_eR",alertError:"PaymentTypeResidents_alertError__Un4B_",buttonInn:"PaymentTypeResidents_buttonInn__iXGkl",inn:"PaymentTypeResidents_inn__nq83q",inputInn:"PaymentTypeResidents_inputInn__Gq2wL",blockInn:"PaymentTypeResidents_blockInn__Z3VPe",alertYooTable:"PaymentTypeResidents_alertYooTable__9BMxw",registeredError:"PaymentTypeResidents_registeredError__T02Cf",radioPaymentGroup:"PaymentTypeResidents_radioPaymentGroup__tcWuO"}},74905:function(e){e.exports={wrapper:"AlertMandarin_wrapper__ncmdE",link:"AlertMandarin_link__rFgeb"}},11256:function(e){e.exports={alertYookassaWrapper:"AlertYookassaValidate_alertYookassaWrapper__IptF6",alertYooHeader:"AlertYookassaValidate_alertYooHeader__2IMwu",alertYooBodyText:"AlertYookassaValidate_alertYooBodyText__cvdic",alertYooAlert:"AlertYookassaValidate_alertYooAlert__hBsel"}},19302:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(67294);function a(e,t,n){var a=this,i=(0,r.useRef)(null),s=(0,r.useRef)(0),o=(0,r.useRef)(null),l=(0,r.useRef)([]),c=(0,r.useRef)(),u=(0,r.useRef)(),d=(0,r.useRef)(e),p=(0,r.useRef)(!0);d.current=e;var f=!t&&0!==t&&"undefined"!=typeof window;if("function"!=typeof e)throw TypeError("Expected a function");t=+t||0;var m=!!(n=n||{}).leading,_=!("trailing"in n)||!!n.trailing,x="maxWait"in n,y=x?Math.max(+n.maxWait||0,t):null;return(0,r.useEffect)(function(){return p.current=!0,function(){p.current=!1}},[]),(0,r.useMemo)(function(){var e=function(e){var t=l.current,n=c.current;return l.current=c.current=null,s.current=e,u.current=d.current.apply(n,t)},n=function(e,t){f&&cancelAnimationFrame(o.current),o.current=f?requestAnimationFrame(e):setTimeout(e,t)},r=function(e){if(!p.current)return!1;var n=e-i.current,r=e-s.current;return!i.current||n>=t||n<0||x&&r>=y},h=function(t){return(o.current=null,_&&l.current)?e(t):(l.current=c.current=null,u.current)},b=function(){var e=Date.now();if(r(e))return h(e);if(p.current){var a=e-i.current,o=e-s.current,l=t-a;n(b,x?Math.min(l,y-o):l)}},v=function(){for(var d=[],f=0;f<arguments.length;f++)d[f]=arguments[f];var _=Date.now(),y=r(_);
1if(l.current=d,c.current=a,i.current=_,y){if(!o.current&&p.current)return s.current=i.current,n(b,t),m?e(i.current):u.current;if(x)return n(b,t),e(i.current)}return o.current||n(b,t),u.current};return v.cancel=function(){o.current&&(f?cancelAnimationFrame(o.current):clearTimeout(o.current)),s.current=0,l.current=i.current=c.current=o.current=null},v.isPending=function(){return!!o.current},v.flush=function(){return o.current?h(Date.now()):u.current},v},[m,x,t,y,_,f])}}},function(e){e.O(0,[3246],function(){e.E(2052)},5),e.O(0,[5675,9593,2238,540,9081,2519,8410,1362,8067,3189,2675,7853,5579,5115,878,2888,9774,179],function(){return e(e.s=70395)}),_N_E=e.O()}]);
2//# sourceMappingURL=info-07a521b46f4703b4.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.