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]="153b59aa-18c5-4b56-99c4-707d7cb52e27",e._sentryDebugIdIdentifier="sentry-dbid-153b59aa-18c5-4b56-99c4-707d7cb52e27")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"2026-10-07-e42bdd47"},(self.webpackChunkfront=self.webpackChunkfront||[]).push([[1478],{58583:function(e,n,r){r.d(n,{X:function(){return o}});var a=r(29365),t=r(32319),s=(r(85152),"PageLayout-root-31219801"),i=r(43529),l=r(81403),c=["children","className"],o=function PageLayout(e){var n=e.children,r=e.className,o=(0,t.Z)(e,c);return(0,l.jsx)("div",(0,a.Z)((0,a.Z)({className:(0,i.m6)(s,"flex flex-col",r)},o),{},{children:n}))}},11478:function(e,n,r){r.r(n),r.d(n,{MarketplaceTariff:function(){return J}});var a,t,s=r(80656),i=(r(48108),r(3872)),l=r.n(i),c=r(85152),o=r(67393),d=r(2705),f=r(58583),u=r(63641),x=r(6054),h=r.n(x),p=r(12442),v=(r(55979),r(10762),"choose-tariff-card-main-f6515ebf"),m=r(2870),j=r(81403),g=function ChooseTariffCard(e){var n=e.title,r=e.description,a=e.price,t=e.icon,s=e.onChoose,i=e.disabled;return(0,j.jsx)(m.Zb,{className:v,padding:"xs",children:(0,j.jsxs)("div",{className:"flex flex-col gap-5",children:[t,(0,j.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,j.jsx)(m.ZT,{weight:"bold",children:n}),(0,j.jsx)(m.ZT,{children:r})]}),(0,j.jsx)(m.ZT,{variant:"h1",children:a}),(0,j.jsx)(m.zx,{variant:"primary",size:"lg",onClick:s,disabled:i,children:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c"})]})})},b=r(22050),k=r(64487),w=function(e){return e.SPLIT="split_tariff",e.FLEXIBLE="flexible_tariff",e}({});function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},_extends.apply(this,arguments)}var y;function percent_extends(){return percent_extends=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},percent_extends.apply(this,arguments)}var N,Z,_,T,E=["\u043e\u0442\u043a\u043b\u0438\u043a\u0438 \u0438 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u2014 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e","\u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0434\u043b\u044f 800 \u0442\u044b\u0441. \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u0435\u0439","\u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u043d\u0430 \u0432\u043d\u0435\u0448\u043d\u0435\u043c \u043c\u0430\u0440\u043a\u0435\u0442\u043f\u043b\u0435\u0439\u0441\u0435","\u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0438 \u0438 \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c-\u0431\u043e\u0442","\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043e\u0442\u043a\u043b\u0438\u043a\u043e\u0432 \u043f\u043e\u0434 \u0432\u0430\u0448\u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f","\u043e\u043d\u0431\u043e\u0440\u0434\u0438\u043d\u0433 \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u0435\u0439","\u0434\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u0435\u0439 \u0434\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0430"],L=(w.SPLIT,w.FLEXIBLE,N={},(0,k.Z)(N,w.SPLIT,"\u0421\u043f\u043b\u0438\u0442"),(0,k.Z)(N,w.FLEXIBLE,"\u0413\u0438\u0431\u043a\u0438\u0439"),N),C=(Z={},(0,k.Z)(Z,w.SPLIT,"5 000 \u20bd \u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0430 \u0438 5 000 \u20bd \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0432\u043e\u0439 \u0432\u044b\u043f\u043b\u0430\u0442\u044b \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044e"),(0,k.Z)(Z,w.FLEXIBLE,"5 000 \u20bd \u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0430 \u0438 2% \u043a\u043e\u043c\u0438\u0441\u0441\u0438\u0438 \u0441 \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u044b\u043f\u043b\u0430\u0442\u044b \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044e"),Z),I=(_={},(0,k.Z)(_,w.SPLIT,"10 000 \u20bd"),(0,k.Z)(_,w.FLEXIBLE,"5 000 \u20bd + 2%"),_),S=(T={},(0,k.Z)(T,w.SPLIT,function SvgFork(e){return c.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:68,height:68,fill:"none",viewBox:"0 0 68 68"},e),a||(a=c.createElement("path",{stroke:"#251D35",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.88,strokeWidth:2,d:"M51.031 5c-.49 5.788 4.87 10.713 11.969 11-7.1.287-12.459 5.212-11.969 11m0 14c-.49 5.788 4.87 10.713 11.969 11-7.1.287-12.459 5.212-11.969 11"})),t||(t=c.createElement("path",{stroke:"#251D35",strokeLinecap:"round",strokeOpacity:.88,strokeWidth:2,d:"M5 34h12.131m0 0a16 16 0 0 1 13.142 6.874l2.954 4.252A16 16 0 0 0 46.369 52H49M17.131 34a16 16 0 0 0 13.142-6.874l2.954-4.252A16 16 0 0 1 46.369 16H49"})))}),(0,k.Z)(T,w.FLEXIBLE,function SvgPercent(e){return c.createElement("svg",percent_extends({xmlns:"http://www.w3.org/2000/svg",width:68,height:68,fill:"none",viewBox:"0 0 68 68"},e),y||(y=c.createElement("path",{stroke:"#251D35",strokeLinecap:"round",strokeOpacity:.88,strokeWidth:2,d:"M32.315 17.13c0-5.895-5.89-10.
1675-13.157-10.675S6 11.235 6 17.13c0 5.896 5.89 10.676 13.158 10.676 4.87 0 9.122-2.147 11.397-5.338m5.13 26.034c0 5.896 5.89 10.676 13.157 10.676S62 54.398 62 48.502c0-5.895-5.89-10.675-13.158-10.675-4.87 0-9.122 2.147-11.397 5.338M59.22 10.604 6.62 57.395"})))}),T),P="choose-tariff-step-title-351662dd",O=r(61372),F=r(60442),M=function ChooseTariffStep(e){var n,r,a,t=e.tariffs,s=e.onChoose,i=(0,p.LM)(),l=(0,F.ft)(null===(n=i.company)||void 0===n||null===(r=n.data)||void 0===r?void 0:r.features),c=null===(a=i.company)||void 0===a?void 0:a.data.name,o=(0,b.f)().sendMessage,d=(0,O.Iu)().config.links.knowledgeBase.marketplaceTariffs;return(0,j.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,j.jsx)(m.ZT,{variant:"h2",children:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u0430\u0440\u0438\u0444"}),(0,j.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,j.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,j.jsx)(m.ZT,{weight:"bold",className:P,children:"\u041a\u0430\u043a\u0438\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u0443 \u0442\u0430\u0440\u0438\u0444\u043e\u0432:"}),(0,j.jsx)("div",{className:"flex flex-col gap-1",children:h()(E).call(E,function(e){return(0,j.jsxs)("div",{className:"flex gap-1",children:[(0,j.jsx)(m.JO,{icon:"DoneIcon"}),(0,j.jsx)(m.ZT,{children:e})]},e)})})]}),(0,j.jsx)("div",{className:"flex gap-3",children:h()(t).call(t,function(e){var n=e.kind,r=e.id,a=S[n];return(0,j.jsx)(g,{title:L[n],description:C[n],price:I[n],onChoose:function onChoose(){return s(r)},disabled:l,icon:(0,j.jsx)(a,{})},n)})}),(0,j.jsx)(m.ZT,{children:"\u0411\u0435\u0437 \u043d\u0435\u0433\u043e \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0443\u0432\u0438\u0434\u044f\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u0438 \u0432\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0438 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043e\u0442\u043a\u043b\u0438\u043a\u043e\u0432"}),(0,j.jsxs)("div",{className:"flex justify-between",children:[d&&(0,j.jsx)(m.zx,{variant:"link",onClick:function onClick(){return window.open(d,"_blank")},children:"\u041e \u0442\u0430\u0440\u0438\u0444\u0430\u0445"}),(0,j.jsx)(m.zx,{onClick:function onClick(){return o("\u0421\u0432\u044f\u0436\u0438\u0442\u0435\u0441\u044c \u0441\u043e \u043c\u043d\u043e\u0439 \u0434\u043b\u044f \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f \u0442\u0430\u0440\u0438\u0444\u043e\u0432 \u043f\u043e \u043c\u0430\u0440\u043a\u0435\u0442\u043f\u043b\u0435\u0439\u0441\u0443 \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 ".concat(c))},children:"\u0421\u0432\u044f\u0437\u0430\u0442\u044c\u0441\u044f \u0441\u043e \u043c\u043d\u043e\u0439"})]})]})]})},B="your-tariff-step-card-40523f63",D="your-tariff-step-steps-cc3eaf87",z="your-tariff-step-step-17fd2483",X="your-tariff-step-stepMarker-e61801be",A=function YourTariffStep(e){var n=e.tariff,r=(0,o.k6)(),a=S[n];return(0,j.jsxs)("div",{className:"flex flex-col gap-[14px]",children:[(0,j.jsx)(m.ZT,{variant:"h2",children:"\u0412\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u0442\u0430\u0440\u0438\u0444"}),(0,j.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,j.jsx)(m.Zb,{className:B,padding:"xs",children:(0,j.jsxs)("div",{className:"flex gap-2.5",children:[(0,j.jsx)(a,{width:40,height:40}),(0,j.jsxs)("div",{className:"flex flex-col",children:[(0,j.jsx)(m.ZT,{weight:"bold",children:L[n]}),(0,j.jsxs)(m.ZT,{children:["\u043e\u043f\u043b\u0430\u0442\u0430 ",I[n]]})]})]})}),(0,j.jsxs)("div",{className:D,children:[(0,j.jsxs)("div",{className:z,children:[(0,j.jsx)("div",{className:X}),(0,j.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,j.jsx)(m.ZT,{children:'\u041c\u044b \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0438 \u043f\u0440\u0438\u0448\u043b\u0451\u043c \u0432\u0430\u043c. \u0412\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435 \u0432\u0432\u0435\u0440\u0445\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 "\u0422\u0430\u0440\u0438\u0444\u044b".'}),(0,j.jsx)(m.bZ,{variant:"info",title:"\u041d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b \u043c\u043e\u0436\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a \u0441 \u043f\u0440\u0430\u0432\u043e\u043c \u043f\u043e\u0434\u043f\u0438\u0441\u0438"})]})]}),(0,j.jsxs)("div",{className:z,children:[(0,j.jsx)("div",{className:X}),(0,j.jsx)(m.ZT,{children:"\u041a\u043e\u0433\u0434\u0430 \u0432\u044b \u043f\u043e\u0434\u043f\u0438\u0448\u0435\u0442\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b, \u043c\u044b \u043d\u0430\u0447\u043d\u0451\u043c \u043f\u0440\u043e\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u0438 \u0432\u0441\u0435\u0445 \u0432\u0430\u0448\u0438\u0445 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0447\u0435\u0440\u0435\u0437 \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0438, \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c-\u0431\u043e\u0442\u0430 \u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u043c\u0430\u0440\u043a\u0435\u0442\u043f\u043b\u0435\u0439\u0441"})]})]}),(0,j.jsx)("div",{className:"flex justify-end",children:(0,j.jsx)(m.zx,{variant:"primary",onClick:function onClick(){r.push("/offers")},children:"\u041a \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c"})})]})]})},q=r(61249),H=r(45144),W=r(81680),R=r(12273),Y=(r(83229),r(2605)),$="marketplace-tariff-header-ec75d9a3",G="marketplace-tariff-main-04b986fe",J=(0,d.Pi)(function(){var e=(0,o.k6)(),n=(0,c.useState)(null),r=(0,s.Z)(n,2),a=r[0],t=r[1],i=function useTariffs(){var e=(0,W.a)({queryKey:["fetchTariffs"],queryFn:function(){var e=(0,H.Z)((0,q.Z)().mark(function _callee(){return(0,q.Z)().wrap(function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,R.z)({url:"bus/alpha/marketplace_tariffs",method:"GET",withPrefix:!1});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},_callee)}));return function queryFn(){return e.apply(this,arguments)}}()});return e}(),d=i.data,x=i.refetch,h=i.isError,v=i.error,g=function useMutationTariffSelection(e){var n,r,a=e.onSuccess,t=(0,p.LM)(),s=(0,F.ft)(null===(n=t.company)||void 0===n||null===(r=n.data)||void 0===r?void 0:r.features),i=(0,Y.D)({mutationFn:function(){var e=(0,H.Z)((0,q.Z)().mark(function _callee(e){return(0,q.Z)().wrap(function _callee$(n){for(;;)switch(n.prev=n.next){case 0:if(!s){n.next=2;break}throw new Error;case 2:return n.next=4,(0,R.z)({url:"bus/alpha/marketplace_tariffs/tariff_selection",method:"PATCH",withPrefix:!1,data:{tariff_id:e}});case 4:return n.abrupt("return",n.sent);case 5:case"end":return n.stop()}},_callee)}));return function mutationFn(n){return e.apply(this,arguments)}}(),onSuccess:a,onError:function onError(e){u.A.error(e)}});return i}({onSuccess:x}),b=g.mutate;return(0,c.useEffect)(function(){if(null!==d&&void 0!==d&&d.length){var e=l()(d).call(d,function(e){return e.chosen_by_company});e&&t(e.kind)}},[d]),h&&u.A.error(v.message),(0,j.jsxs)(f.X,{children:[(0,j.jsx)("div",{className:"flex justify-end items-center ".concat($),children:(0,j.jsx)(m.zx,{onClick:function onClick(){e.push("/offers")},variant:"text",icon:"CloseIcon"})}),(0,j.jsxs)("div",{className:"flex ".concat(G),children:[!d&&(0,j.jsxs)("div",{className:"flex w-full flex-col gap-3",children:[(0,j.jsx)("div",{className:"h-4 w-2/5 animate-pulse rounded bg-default-background"}),(0,j.jsx)("div",{className:"h-4 w-full animate-pulse rounded bg-default-background"}),(0,j.jsx)("div",{className:"h-4 w-full animate-pulse rounded bg-default-background"}),(0,j.jsx)("div",{className:"h-4 w-3/5 animate-pulse rounded bg-default-background"})]}),!a&&d&&(0,j.jsx)(M,{tariffs:d,onChoose:b}),a&&(0,j.jsx)(A,{tariff:a})]})]})})}}]);
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.